@univerjs-pro/collaboration-client 0.12.2-nightly.202511290905 → 0.12.3-experimental.20251204-1549a8e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +15 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x51f573=_0xf568;(function(_0xf0db5e,_0x1431a7){var _0xda4697=_0xf568,_0x2bd83d=_0xf0db5e();while(!![]){try{var _0x132d1e=-parseInt(_0xda4697(0x1e5))/0x1+parseInt(_0xda4697(0x178))/0x2*(parseInt(_0xda4697(0x402))/0x3)+parseInt(_0xda4697(0x2c5))/0x4*(parseInt(_0xda4697(0x1e3))/0x5)+-parseInt(_0xda4697(0x19c))/0x6+-parseInt(_0xda4697(0x18f))/0x7*(-parseInt(_0xda4697(0x3a2))/0x8)+-parseInt(_0xda4697(0x232))/0x9*(parseInt(_0xda4697(0x3d3))/0xa)+parseInt(_0xda4697(0x307))/0xb*(parseInt(_0xda4697(0xb3))/0xc);if(_0x132d1e===_0x1431a7)break;else _0x2bd83d['push'](_0x2bd83d['shift']());}catch(_0x28309a){_0x2bd83d['push'](_0x2bd83d['shift']());}}}(_0x5d99,0x8b076));var bt=Object[_0x51f573(0x17f)],Ot=(_0x5d954d,_0x239d9e,_0x52815a)=>_0x239d9e in _0x5d954d?bt(_0x5d954d,_0x239d9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52815a}):_0x5d954d[_0x239d9e]=_0x52815a,A=(_0x356a35,_0x294121,_0x55c649)=>Ot(_0x356a35,typeof _0x294121!=_0x51f573(0x1fe)?_0x294121+'':_0x294121,_0x55c649);Object[_0x51f573(0x17f)](exports,Symbol[_0x51f573(0x332)],{'value':_0x51f573(0x1bc)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Nt=require('@univerjs-pro/license'),Dt=_0x51f573(0xdc),yt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x51f573(0x1b5),At='/universer-api/user/session-ticket',_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke=_0x51f573(0x1db),lt=0x4e20,Lt=0x4e20,ut=_0x51f573(0x382),Mt=0x3,wt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt='/universer-api/comb',$t=_0x51f573(0x37d),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt='/universer-api/uniscript';var vt=(_0x3a8bf0=>(_0x3a8bf0[_0x3a8bf0[_0x51f573(0x195)]=0x0]=_0x51f573(0x195),_0x3a8bf0[_0x3a8bf0['OK']=0x1]='OK',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x216)]=0x2]='INTERNAL_ERROR',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d6)]=0x3]=_0x51f573(0x2d6),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x422)]=0x4]=_0x51f573(0x422),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xc9)]=0x5]='UNAUTHENTICATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x27f)]=0x6]=_0x51f573(0x27f),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x273)]=0x7]=_0x51f573(0x273),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1c4)]=0x8]='TOO_MANY_REQUESTS',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3f2)]=0x9]='COMPLETION_FINISHED',_0x3a8bf0[_0x3a8bf0['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3d7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x164)]=0xc]=_0x51f573(0x164),_0x3a8bf0[_0x3a8bf0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x51f573(0x1d5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3c8)]=0xe]=_0x51f573(0x3c8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x212)]=0xf]=_0x51f573(0x212),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xd5)]=0x10]=_0x51f573(0xd5),_0x3a8bf0[_0x3a8bf0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3a8bf0[_0x3a8bf0['ERROR_AGAIN']=0x65]=_0x51f573(0xaa),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d5)]=0xc9]=_0x51f573(0x2d5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x30f)]=0xca]=_0x51f573(0x30f),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x192)]=0x1389]=_0x51f573(0x192),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2cc)]=0x1771]=_0x51f573(0x2cc),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x381)]=0x1772]=_0x51f573(0x381),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3fe)]=0x1773]=_0x51f573(0x3fe),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1fd)]=0x1b59]=_0x51f573(0x1fd),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1c1)]=0x1b5a]=_0x51f573(0x1c1),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xe8)]=0x1b5b]=_0x51f573(0xe8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3c2)]=0x1b5c]=_0x51f573(0x3c2),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x131)]=0x1b5d]='APPLY_DUPLICATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x20b)]=0x1f41]=_0x51f573(0x20b),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x420)]=0x2329]=_0x51f573(0x420),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1cb)]=0x232a]=_0x51f573(0x1cb),_0x3a8bf0[_0x3a8bf0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51f573(0x22c),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x371)]=0x232c]=_0x51f573(0x371),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2a4)]=0x232d]=_0x51f573(0x2a4),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2f5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3a8bf0[_0x3a8bf0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x51f573(0x410),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x193)]=0x2713]=_0x51f573(0x193),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x228)]=0x2714]=_0x51f573(0x228),_0x3a8bf0[_0x3a8bf0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x51f573(0x39a),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3e7)]=0x271b]=_0x51f573(0x3e7),_0x3a8bf0[_0x3a8bf0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x51f573(0x35f),_0x3a8bf0[_0x3a8bf0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x51f573(0x393),_0x3a8bf0[_0x3a8bf0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x51f573(0xb8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x144)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1b8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x200)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a8bf0[_0x3a8bf0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3dc)]=0x2ee2]='INVALID_INVITE_CODE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x30a)]=0x2ee3]=_0x51f573(0x30a),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3e4)]=0x2ee4]=_0x51f573(0x3e4),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1a5)]=0x2ee5]=_0x51f573(0x1a5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2c0)]=0x32c9]=_0x51f573(0x2c0),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2b3)]=0x32ca]=_0x51f573(0x2b3),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x124)]=0x32cb]=_0x51f573(0x124),_0x3a8bf0[_0x3a8bf0['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x51f573(0x1a8),_0x3a8bf0[_0x3a8bf0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x51f573(0x196),_0x3a8bf0[_0x3a8bf0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x51f573(0xf5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x145)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x415)]=0x3715]=_0x51f573(0x415),_0x3a8bf0[_0x3a8bf0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x51f573(0x2ab),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x342)]=0x3717]=_0x51f573(0x342),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x379)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x18b)]=0x3a99]=_0x51f573(0x18b),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d7)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x197)]=0x3a9b]=_0x51f573(0x197),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x158)]=0x3a9c]=_0x51f573(0x158),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3cc)]=0x3a9d]=_0x51f573(0x3cc),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1a1)]=0x3a9e]=_0x51f573(0x1a1),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3ac)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x394)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x3a8bf0))(vt||{}),X=(_0x25b2dc=>(_0x25b2dc[_0x25b2dc[_0x51f573(0x23e)]=0x0]=_0x51f573(0x23e),_0x25b2dc[_0x25b2dc[_0x51f573(0x187)]=0x1]=_0x51f573(0x187),_0x25b2dc[_0x25b2dc[_0x51f573(0x1bb)]=0x2]=_0x51f573(0x1bb),_0x25b2dc[_0x25b2dc[_0x51f573(0x21d)]=0x3]=_0x51f573(0x21d),_0x25b2dc[_0x25b2dc['UNIVER_PROJECT']=0x4]=_0x51f573(0xa2),_0x25b2dc[_0x25b2dc['UNRECOGNIZED']=-0x1]=_0x51f573(0xcf),_0x25b2dc))(X||{}),W=(_0x2d8187=>(_0x2d8187[_0x2d8187[_0x51f573(0xed)]=0x0]=_0x51f573(0xed),_0x2d8187[_0x2d8187[_0x51f573(0xb5)]=0x1]=_0x51f573(0xb5),_0x2d8187[_0x2d8187[_0x51f573(0x1dd)]=0x2]='JOIN',_0x2d8187[_0x2d8187[_0x51f573(0x3b3)]=0x3]=_0x51f573(0x3b3),_0x2d8187[_0x2d8187[_0x51f573(0x38d)]=0x4]='INGEST',_0x2d8187[_0x2d8187[_0x51f573(0x298)]=0x5]=_0x51f573(0x298),_0x2d8187[_0x2d8187[_0x51f573(0x3d2)]=0x6]=_0x51f573(0x3d2),_0x2d8187[_0x2d8187[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x2d8187))(W||{}),re=(_0x153b1d=>(_0x153b1d[_0x153b1d[_0x51f573(0x269)]=0x0]=_0x51f573(0x269),_0x153b1d[_0x153b1d['OK']=0x1]='OK',_0x153b1d[_0x153b1d['FAIL']=0x2]=_0x51f573(0x13c),_0x153b1d[_0x153b1d[_0x51f573(0x2d1)]=0x3e9]='JOIN_ROOM_FULL',_0x153b1d[_0x153b1d[_0x51f573(0x425)]=0x3ea]=_0x51f573(0x425),_0x153b1d[_0x153b1d[_0x51f573(0xbc)]=0x3eb]=_0x51f573(0xbc),_0x153b1d[_0x153b1d[_0x51f573(0x31d)]=0x3ec]=_0x51f573(0x31d),_0x153b1d[_0x153b1d[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x153b1d))(re||{}),dt=(_0x48c571=>(_0x48c571[_0x48c571[_0x51f573(0x414)]=0x0]='Undefined',_0x48c571[_0x48c571[_0x51f573(0x201)]=0x1]='HttpImport',_0x48c571[_0x48c571[_0x51f573(0xc2)]=0x2]=_0x51f573(0xc2),_0x48c571[_0x48c571[_0x51f573(0x311)]=0x3]=_0x51f573(0x311),_0x48c571[_0x48c571['UnitSnapshot']=0x4]=_0x51f573(0x283),_0x48c571[_0x48c571[_0x51f573(0x34d)]=0x5]=_0x51f573(0x34d),_0x48c571[_0x48c571[_0x51f573(0x148)]=0x6]='ClipsheetFragments',_0x48c571[_0x48c571[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x48c571))(dt||{});const Bt=_0x51f573(0x16e);function _0x5d99(){var _0xabb1a6=['$super','collaboration-client.config','roomInfos','418MMdYTO','_startTelemetryCollaborationNewChangeset','readAsDataURL','INVITE_CODE_REQUIRED','iterations','CipherParams','_handler','requestParams','USER_IS_ANONYMOUS','ICommandService','UnitEmbedded','serializeCombRequest','EvpKDF','commentUpdate$','telemetry\x20info\x20is\x20not\x20initialized','SheetTransformSelectionsService','UserManagerService','authzUrl','[CollaborationUndoRedoService]','words','_collaborationPaused','updatePermissionPoint','GLOBAL_ROOMS_CNT_EXCEEDS','startsWith','call','next','_event$','encrypt','onLocalMutation','image/gif','byteOffset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','{fileID}','touchDependencies','reset','_members','add','/new_changes','string','session','unitId','fetching\x20missing\x20changesets\x20from\x20','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toStringTag','LIVESHARE_REQUEST_HOST','Hasher','_key','_doCryptBlock','debug','session.room-not-exists','includes','SnapshotServerOverHTTPService','WordArray','type','get','crypto','onRemoteChangeset','_awaitingChangeset','toDisposable','ENTITLE_INSUFFICIENT_QUOTA','CLOSE_ROOM','ivSize','_submitChangeset','getCollabEntity','loginUrlKey','UniverNetworkPlugin','_onRemoteACK','cmd','_onOffline','UPDATE_CURSOR','UserProfileImg','getUnitId','session.join-failed','/allowed','univer-pro.collaboration-client-socket-service','AES','_onUserJoin','_disableEditing','onStarting','CommandType','algo','_decreaseWaiting','leaveEvent','[CollaborationSessionService]','_networkConditionService','_onCombEvent','_sheetTransformSelectionsService','headers','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOINING','encode','waitForRoom$','CHANGESET_SHOULD_RETRY','Injector','status$','Optional','function','IContextService','[OfflineState]:\x20received\x20acknowledgement.','loadUnit','_sender','_getLoginPath','_collaborationUIEventService','sendChangesetTimeout','IPermissionService','SnapshotService','LICENSE_EXPORT_SIZE_EXCEEDED','textRanges','_configService','loadOfflineData','create','shouldCloseConn','shareReplay','isTransformMutationsWithChangesetFailure','ENTITLE_NEED_BILLING_ADDRESS','_pendingMutations','_map','_lockTransition','/universer-api/oidc/authpage','roles','onRemoteAck','toggleOnline','SNAPSHOT_HAS_BEEN_REMOVED','RETRY_CONNECTING_MAX_COUNT','PERSON','JOIN_ROOM_FAILED','_onConnectionOpen','_collaborationTimeoutTimer','MUTATION','saveImage','exports','_toggleOffline','PendingState','\x20in\x20_schedule.','INGEST','capture','editing\x20status\x20changed\x20to','mixIn','WorkbookEditablePermission','onTransformRemoteChangesetByStateCache','YUUMI_ALL_TABLES_IS_INVALID','DATA_SOURCE_TOO_LARGE','getOwnPropertyDescriptor','_scheduleCollaborationTimeoutTimer','transformUndoRedo','randomBytes','[DataLoaderService]','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_FILE_NAME','uniscriptRunEvent','onTransformIME','join','_clearRedo','updateOfflineData','delete','712qbZqLz','_getDownloadEndpointURL','saveSnapshot','registerHTTPInterceptor','FetchingMissState','byteLength','unknown','mutations','pipe','listCollaborators','REDEMPTION_CODE_HAS_BEEN_CREATED','reject','executeCommand','ImageUploadStatusType','formatter','_shouldReportTelemetry','isTransformMutationsWithChangesetSuccess','LEAVE','prototype','_xformMode','_getCurrentRevision','_commentService','execute','_doCreateSocket','charCodeAt','_sendHeartbeatTimer','__Key__','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ISingleActiveUnitService','_onFetchMissResult','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','file','APPLY_PERMISSION_DENIED','incrementRevOfUnit','People','_injector','_parse','findIndex','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformChangesets','body','_substituteRedoStack','REDEMPTION_USER_NOT_ELIGIBLE','onTransformRemoteChangesetByIMECache','SyncedState','size','_socket','sequenceExecute','RECV','1349870pdPMbJ','_socketMessageSubscription','refreshPermission','unitID','MOBILE_VERIFY_CODE_MISMATCH','listRoles','FileId','userID','eventID','INVALID_INVITE_CODE','_keySchedule','createCollaborator','has','_permissionService','_clearCollaborationTimeoutTimer','lib','event$','USER_NOT_INVITED_CODE','floor','Workbook','YUUMI_ASYNCIO_CANCELLED','getValue','onSyncEditingCollabCursor','readyForCollab','LocaleService','IConfigService','update','revision','message$','_acknowledgedAwaitingChangeset','_instanceService','COMPLETION_FINISHED','Cipher','setWaitCount','&source=','getImage','_createHelper','selections','PENDING','AuthzIoHttpService','_onRemoteChangeset','_incrementRevisionNumber','_transformStack','ENSURE_SNAPSHOT_EXECUTION','session.room-permission-denied','AwaitingWithPendingState','toString','36QpvRVy','appendMutation','collaborators','USERS_ENTER','RichTextEditingMutation','createSocket','send','getRoom','\x0aCurrent:\x20','CollaborationSessionService','_socket$','RevisionService','ONLINE','_createInitialStateImpl','YUUMI_URL_COL_OUT_OF_RANGE','mapDocumentTypeToUniverType','complete','BehaviorSubject','Undefined','ENTITLE_CHAT_LIMIT_EXCEED','AWAITING','CollaborationUIEventId','hasher','_sendHeartbeat','[SyncedState]:\x20received\x20acknowledgement.','/-/object/-/batch_allowed','_transformRemoteChangesetByIMECache','_iKey','updateSnapshot','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','_initUnitPermissionChange','NOT_FOUND','_iv','SOCKET_FAILED','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','cfg','parseProtocolChangeset','sigBytes','take','indexOf','_retryCount','onTransformState','onlyLocal','Could\x20not\x20dynamically\x20require\x20\x22','_data','getFocusedUnit','onRemoteRej','avatar','_onJoinRoomEvent','Malformed\x20UTF-8\x20data','c1Prime','PERMISSION_REJ','CommentService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose$','UNIVER_PROJECT','_transformStateCache','parse','_invKeySchedule','collabWebSocketUrl','_rescheduleHeartbeat','socketService','reduce','ERROR_AGAIN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','UniverInstanceType','_toggleOnline','&to=','transformMutationsWithChangeset','_minBufferSize','_changesetReqId','16980smQtOr','_onRecvEvent','HELLO','_transformSelections','\x20-\x20','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_members$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initCloseConn','_clearScheduledTask','_state','clear','HttpExport','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRetryConnectingTimer','LOCAL_CACHE_INTERVAL_KEY','image/jpeg','Base64','csShouldRetryEvent','UNAUTHENTICATED','_onConflict','title','state','subscribe','_entityInit$','UNRECOGNIZED','_clearLocalCache','univer-pro.collaboration-client.single-active-unit-service','getDeserializedSheetBlock','getLatestCsReqIdBySid','HMAC','LOGIN_TOKEN_PROCESSING_FAILED','deleteCollaborator','_onUserLeave','permissionRejEvent','SUBMIT_CHANGESET_TIMEOUT','/universer-api/authz','requireSession','/universer-api/snapshot','_getRedoStack','_socketService','onMissingChangesets','BlockCipherMode','_unitInfo$','HmacMD5','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_localCacheService','CompressMutationService','_clearTimeoutTimer','charAt','APPLY_REVISION_CONFILICT','entityInit$','_hasher','onload','objectType','UNKNOWN_CMD','reqId','getLocalCacheKey','/resources','HEARTBEAT_INTERVAL_KEY','csRejEvent','LocalUndoRedoService','_replayCachedMutations','ENTITLE_DUP_SUBSCRIPTION','_updateState','RxDisposable','fromCollab','_undoRedoService','values','encryptBlock','takeUntil','/object/','Error\x20on\x20receiving\x20event','_config','?url=','forEach','IUndoRedoService','_getAPIPrefixPath','LIVESHARE_TERMINATE','DisposableCollection','keySize','onTransformSelections','getAllMembers','CHANGESET_REJ','_clearHeartbeatTimer','COMPRESS_MUTATION_APPLY','conflict','_roomMembers','ICollaborationSocketService','catch','SHOULD_CLOSE_CONN','_ENC_XFORM_MODE','[CollaborationSession]','ILocalCacheService','compute','_eventService','ERROR_IMAGE','[UniverCollaborationClientPlugin]','_DEC_XFORM_MODE','UUID','hasOwnProperty','ReplaySubject','uploadFileServerUrl','createDecryptor','getTypeOfUnitDisposed$','decrypt','getMemberID','_isPermissionRej','ISnapshotServerService','_collaborationSessionService','EMAIL_HAS_BEEN_BOUND','HTTPRequest','CollaborationEntity','auth.needGotoLoginAlert','_listenToNetworkCondition','_resendTimeout','ciphertext','unitId\x20is\x20not\x20found','SOCKET_FAILED_RETRY','_commentUpdate$','_onLocalMutation','DataLoaderService','_transitionLocked','APPLY_DUPLICATED','_initRequestHeader','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_state$','_doFinalize','DependentOn','_tryEnsureSocket','[SyncedState]:\x20received\x20rejection.','ITelemetryService','Encryptor','post','FAIL','abs','substr','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ITransformService','name','_getSendChangesetTimeout','_onConnectionFailed','YUUMI_AI_RUN_FAILED','PAYMENT_CHANNEL_NOT_SUPPORT','CollaborationImageIoService','_timeoutTimer','ClipsheetFragments','_telemetryService','loadDoc','compose','_memberService','_resendTimer','\x0aAfter:\x20','_transformService','CONFLICT','_throwTelemetryCollaborationNewChangeset','responseType','commentUpdateEvent','BlockCipher','_cipher','getInterceptPoints','enableCollaboration','REDEMPTION_CODE_NOT_STARTED','MSG_FOR_ERROR','concat','BASE64','change$','_retryConnectingTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','fetchMiss','transformSelections','stopTime','now','ILogService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','offline','sessionStatus$','OfflineState','IUniverInstanceService','fromCharCode','subject','_registerDependencies','liveShareOperation','?size=','collaboration_new_changeset','_executeRemoteChangeset','csAckEvent','_mode','_initMergeInterceptor','_nDataBytes','_roomCreated$','workbook','_prevBlock','univer-pro.collaboration-client.network-condition.service','116306gETlJB','splice','length','processBlock','SheetCollaborationEntity','result','_transformIMECache','defineProperty','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_changesetSessionId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationStatus','_undoStacks','reverse','_fetchMissChangesets','UNIVER_DOC','collaboratorID','merge','/role','REDEMPTION_INVALID_CODE','onRemoteRetry','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_PLUGIN','23527QtkWJe','_queuedRemoteChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','YUUMI_RATE_OVER_LIMIT','HTTPService','UNDEFINED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_FULLY_REDEEMED','objectID','patch','_change$','snapshot','835434eCUEst','/universer-api/stream/file/upload','_getSignURL','toggleOffline','close$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEARTBEAT_TIMEOUT_KEY','_revisionService','_collabSessionService','INVITE_CODE_ALREADY_BOUND','deserializeToCombResponse','addImageSourceCache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','slice','infoRsp','open$','_commandService','synced','liveShareNewHost','_doReset','getActiveSheet','_singleActiveUnitService','awaitingChangeset','initWorkbookPermissionChange','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','SUBMIT_CHANGESET','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','_userManagerService','save\x20fail\x20reason\x20is\x20','UNIVER_SHEET','Module','_candidateSocket','subUnitId','Pkcs7','_joinRoom','APPLY_NON_SEQUENTIAL_REVISION','_transformUndoredo','_localeService','TOO_MANY_REQUESTS','collaMsg','_emitMembers','createInstance','state$','getConfig','_onRemoteRetry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','CollaborationController','_createHandler','_remoteChangesetQueue','signUrlServerUrl','max','range','reconnect','MergeInterceptorFactory','EMAIL_VERIFY_CODE_MISMATCH','CBC','updatePermissionObjEvent','salt','_syncEditingCollabCursor','POST','HEARTBEAT_TIMEOUT','onCommandExecuted','JOIN','/rev/','_keyPriorReset','sessionStatus','then','LIVESHARE_NEW_HOST','19130NRkzCv','retryConnectingInterval','271012tzyLnC','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearUndo','msCrypto','sid','OTHER_CLIENTS_EDITING','editingUnit','href','CollaborationEvent','repeat','updateMember','encodeURIComponent','baseRev','[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.','Disposable','_updateLocalCache','IMentionIOService','__esModule','COMMENT_UPDATE','error','asObservable','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SUCCUSS','_getAPIPrefix','APPLY_REJECT','symbol','close','PY_RUNTIME_SCRIPT_ERROR','HttpImport','_replaceFileID','originalMeta','getResourcesRequest','/block/','onMissedChangesetFetched','OTHER_CLIENT_EDITING','MentionIoHttpService','push','random','CONNECTOR_DATA_TOO_LARGE','SetSelectionsOperation','_getCtorByUniverType','MD5','src','SheetPermissionInitController','IAuthzIoService','AUTHORIZE_CODE_ILLEGAL','sheets','joinRsp','data','INTERNAL_ERROR','unpad','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PSEUDO_FETCH_MISSING_RESULT','UnitStatus','NEW_CHANGESETS','ImageSourceType','UNIVER_SLIDE','[PendingState]:\x20received\x20acknowledgement.','USERS_LEAVE','OpenSSL','onStateChange','isPermissionRej','_startCollaboration','removeMember','/unit/','SessionStatus','_HTTPService','YUUMI_SUBSCRIPTION_NOT_FOUND','awaiting','kdf','/object','LICENSE_IMPORT_SIZE_EXCEEDED','_sessions','_logService','init','disposeWithMe','collaboration-client.local-cache-service','18XJVZUT','copyFileMeta','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','location','CollaborationSession','isArray','parseChangesetToProtocol','isInternalEditorID','createEncryptor','CollaborationSocketService','_socketReady','concatMap','UNIVER_UNKNOWN','apply','MentionType','_init','delay','Subject','resend','_append','key','\x20to\x20','_compressMutationService','interceptor','_waitCount','getMember','enableSingleActiveInstanceLock','_onRemoteRejected','unsubscribe','_oKey','socket$','AwaitingState','UNISCRIPT_RUN','FETCH_MISSING','_updateStatus','loadUnitOfRevision','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getCollabEntity$','_transformRemoteChangesetByStateCache','UPDATE_PERMISSION_OBJ','_hash','getTypeOfUnitAdded$','UniverCollaborationClientPlugin','from','c2Prime','onSendChangeset','_handlerCallback','finalize','x-univer-host','_onMessage','Quantity','[PendingState]:\x20received\x20rejection.','blockSize','CollaborativeUndoRedoService','clone','UNKNOWN_CODE','getTime','CHANGESET_ACK','session.room-cnt-exceeds','_httpService','pluginName','_substituteUndoStack','memberID','default','DEFAULT_COLLAB_WEB_SOCKET_URL','INVALID_ARGUMENT','actions','pending','emitEvent','every','enableOfflineEditing','getRandomValues','_checkMissing','Base','onCommentUpdate','getUnitStatus$','dispose','ALREADY_EXISTS','_createHmacHelper','ConflictState','not_collab','UnitSnapshot','_sessionStatus$','putCollaborators','_telemetryInfo','/fetchmissing?from=','resourceIDs','ERROR_EXCEED_SIZE','set','socket\x20close','enc','_getUndoStack','isTransformChangesetsSuccess','_status$','filter','addHandlerCallback','origin','_univerInstanceService','startTime','_resendWithTimeout','[CollaborationEntity]','localeService','HEARTBEAT','_applyRemoteChangeset','Plugin','closeSession','stringify','getCurrentSelections','_imageSourceCache','routeKey','newCsEvent','Decryptor','status','_scheduleCompleteTimestamp','LICENSE_DISTRO_REJECTED','map','OFFLINE','duration','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','format','textEncoder','ENTITLE_REPORT_LIMIT_EXCEED','LIVESHARE_OPERATION','unitInfo$','override','clamp','online$','CollaborationUIEventService','objects','MOBILE_HAS_BEEN_BOUND','focused$','resolve','_nRounds','_reverseMap','params','rev','Inject','createIdentifier','getCurrentRevOfUnit','/-/object/list','getUnitOnRev','find','WECHAT_HAS_BEEN_BOUND','b64DecodeUnicode','AWAITING_WITH_PENDING','COMPRESS_MUTATION_SEND','getWorkbookSelections','208LlwbkR','disableLocalCache','enableAuthServer','fetchMissingChangesets','min','_createSocket','SheetsSelectionsService','SNAPSHOT_INVALID_SNAPSHOT','allowed','_initDependencies','batchAllowed','m2Prime','JOIN_ROOM_FULL','code','localCacheService','ISocketService','USER_NOT_FOUND','PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','_exhaustRemoteChangesetQueue','list','session.room-full','_createInitialState','failed\x20to\x20apply\x20missed\x20changesets!','getUnitType','BufferedBlockAlgorithm','_process','transformStack\x20failed!','IDLE','_unitID','NOT_COLLAB','error$','fetchThroughInterceptors','fetch_missing','MemberService','setConfig','setCurrentUser','getCurrentUser','Rectangle','mergeOverrideWithDependencies','url','_unlockTransition','decryptBlock','target','_doProcessBlock','_type','_showConflictNotification','put','YUUMI_UNABLE_LOAD_URL','/universer-api/file/{fileID}/sign-url','Utf8','_tryReconnect','_entities','sin','/collaborator','_snapshotService','connection\x20error','pad','LIVESHARE_FETCH_OPERATIONS','updateCursorEvent','hostname','_schedule','OPTIONAL'];_0x5d99=function(){return _0xabb1a6;};return _0x5d99();}function Ft(_0x58c853){var _0xb33e1c=_0x51f573;return JSON[_0xb33e1c(0x29c)](_0x58c853)[_0xb33e1c(0x17a)];}var J=(_0x45095=>(_0x45095[_0x51f573(0x207)]=_0x51f573(0x207),_0x45095[_0x51f573(0x2d6)]=_0x51f573(0x2d6),_0x45095[_0x51f573(0x150)]=_0x51f573(0x150),_0x45095['CLOSE_ROOM']=_0x51f573(0x343),_0x45095[_0x51f573(0x384)]=_0x51f573(0x384),_0x45095[_0x51f573(0x12c)]='SOCKET_FAILED_RETRY',_0x45095['SOCKET_FAILED']=_0x51f573(0x424),_0x45095[_0x51f573(0xd9)]=_0x51f573(0xd9),_0x45095))(J||{});class ee{constructor(){var _0x3987f8=_0x51f573;A(this,_0x3987f8(0x321),new j[(_0x3987f8(0x243))]()),A(this,_0x3987f8(0x3e3),this[_0x3987f8(0x321)]['asObservable']());}[_0x51f573(0x276)](_0xf0e1bd){var _0x67ab00=_0x51f573;this[_0x67ab00(0x321)][_0x67ab00(0x320)](_0xf0e1bd);}}class $e{constructor(){var _0x21c9ed=_0x51f573;A(this,_0x21c9ed(0x12d),new j[(_0x21c9ed(0x243))]()),A(this,_0x21c9ed(0x314),this[_0x21c9ed(0x12d)][_0x21c9ed(0x1f9)]());}[_0x51f573(0x27c)](_0x263ebc){var _0x8fb274=_0x51f573;this[_0x8fb274(0x12d)]['next'](_0x263ebc);}}var Vt=Object[_0x51f573(0x395)],Wt=(_0x37657e,_0x3ad712,_0x53a487,_0x180ee4)=>{var _0x57be37=_0x51f573;for(var _0x2ee0e0=_0x180ee4>0x1?void 0x0:_0x180ee4?Vt(_0x3ad712,_0x53a487):_0x3ad712,_0x1f9bd1=_0x37657e[_0x57be37(0x17a)]-0x1,_0x316e5c;_0x1f9bd1>=0x0;_0x1f9bd1--)(_0x316e5c=_0x37657e[_0x1f9bd1])&&(_0x2ee0e0=_0x316e5c(_0x2ee0e0)||_0x2ee0e0);return _0x2ee0e0;},Ve=(_0x50b062,_0xd877b)=>(_0x503d95,_0x229f3a)=>_0xd877b(_0x503d95,_0x229f3a,_0x50b062);exports['MemberService']=class extends o[_0x51f573(0x1f3)]{constructor(_0xdd603d,_0x1958b2){var _0x3900cf=_0x51f573;super(),A(this,_0x3900cf(0x10d),new Map()),A(this,_0x3900cf(0x174),new j['Subject']()),(this[_0x3900cf(0x293)]=_0xdd603d,this[_0x3900cf(0x1b9)]=_0x1958b2,this['disposeWithMe'](j[_0x3900cf(0x189)](this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)][_0x3900cf(0x1bb)])[_0x3900cf(0x3aa)](V[_0x3900cf(0x2a5)](_0x154df1=>_0x154df1[_0x3900cf(0x34e)]())),this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)][_0x3900cf(0x187)])['pipe'](V[_0x3900cf(0x2a5)](_0x3be513=>_0x3be513['getUnitId']())),this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)]['UNIVER_SLIDE'])[_0x3900cf(0x3aa)](V[_0x3900cf(0x2a5)](_0x535e29=>_0x535e29[_0x3900cf(0x34e)]())))[_0x3900cf(0xcd)](_0x10a90d=>this['_removeRoom'](_0x10a90d))));}[_0x51f573(0x362)](_0x1664d9){var _0x49bdd8=_0x51f573;return this[_0x49bdd8(0x10d)][_0x49bdd8(0x3df)](_0x1664d9)?j['of'](this[_0x49bdd8(0x10d)][_0x49bdd8(0x33d)](_0x1664d9)):this[_0x49bdd8(0x174)][_0x49bdd8(0x3aa)](V[_0x49bdd8(0x2a5)](_0x16f74d=>{var _0x42a6ef=_0x49bdd8;if(_0x16f74d===_0x1664d9)return this[_0x42a6ef(0x10d)]['get'](_0x16f74d);}));}[_0x51f573(0x2e9)](_0x3248a5){var _0x232ad4=_0x51f573;this[_0x232ad4(0x1b9)][_0x232ad4(0x2e9)](_0x3248a5);}[_0x51f573(0x2ea)](){var _0x5bb0f1=_0x51f573;return this[_0x5bb0f1(0x1b9)][_0x5bb0f1(0x2ea)]();}[_0x51f573(0x1ef)](_0x57a43e,_0x210075){var _0x513dfb=_0x51f573;let _0x5c1e2e=this['_roomMembers'][_0x513dfb(0x33d)](_0x57a43e);_0x5c1e2e||(_0x5c1e2e=new Gt(),this['_roomMembers'][_0x513dfb(0x28a)](_0x57a43e,_0x5c1e2e),this[_0x513dfb(0x174)][_0x513dfb(0x320)](_0x57a43e)),_0x5c1e2e[_0x513dfb(0x1ef)](_0x210075);}[_0x51f573(0x224)](_0x35b744,_0x1f3c56){var _0x39a8a3=_0x51f573;const _0x1c244e=this['_roomMembers'][_0x39a8a3(0x33d)](_0x35b744);_0x1c244e&&_0x1c244e[_0x39a8a3(0x224)](_0x1f3c56);}[_0x51f573(0x409)](_0x3009ea){var _0x40b7bc=_0x51f573;return this['_roomMembers'][_0x40b7bc(0x33d)](_0x3009ea);}[_0x51f573(0x24b)](_0x3ff1f7,_0x523bc6){var _0x18c40c=_0x51f573;const _0x30ab2a=this[_0x18c40c(0x10d)][_0x18c40c(0x33d)](_0x3ff1f7);if(_0x30ab2a)return _0x30ab2a[_0x18c40c(0x24b)](_0x523bc6);}['_removeRoom'](_0x337888){var _0x566d2c=_0x51f573;const _0x5bc535=this[_0x566d2c(0x10d)][_0x566d2c(0x33d)](_0x337888);_0x5bc535&&(_0x5bc535[_0x566d2c(0x27e)](),this[_0x566d2c(0x10d)][_0x566d2c(0x3a1)](_0x337888));}[_0x51f573(0x27e)](){var _0x1997bf=_0x51f573;this['_roomMembers'][_0x1997bf(0x101)](_0x47ec9b=>_0x47ec9b[_0x1997bf(0x27e)]()),this[_0x1997bf(0x10d)]['clear'](),this[_0x1997bf(0x174)][_0x1997bf(0x412)]();}},exports[_0x51f573(0x2e7)]=Wt([Ve(0x0,o['IUniverInstanceService']),Ve(0x1,o[_0x51f573(0x2ba)](o[_0x51f573(0x317)]))],exports[_0x51f573(0x2e7)]);class Gt extends o[_0x51f573(0x1f3)]{constructor(){var _0xd8f987=_0x51f573;super(...arguments),A(this,_0xd8f987(0x32a),new Map()),A(this,_0xd8f987(0xb9),new j[(_0xd8f987(0x413))](this[_0xd8f987(0x32a)])),A(this,'members$',this[_0xd8f987(0xb9)][_0xd8f987(0x1f9)]());}[_0x51f573(0x27e)](){var _0x59e3be=_0x51f573;this['_members'][_0x59e3be(0xc1)]();}['updateMember'](_0x42f5cf){var _0x1c0d4e=_0x51f573;this[_0x1c0d4e(0x32a)][_0x1c0d4e(0x28a)](_0x42f5cf[_0x1c0d4e(0x270)],_0x42f5cf),this[_0x1c0d4e(0x1c6)]();}[_0x51f573(0x224)](_0x2a85a0){var _0x4e08dd=_0x51f573;this['_members'][_0x4e08dd(0x3a1)](_0x2a85a0);}[_0x51f573(0x24b)](_0x1203c2){var _0x418aa5=_0x51f573;return this[_0x418aa5(0x32a)][_0x418aa5(0x33d)](_0x1203c2);}[_0x51f573(0x108)](){var _0x51e45f=_0x51f573;return Array[_0x51e45f(0x25d)](this[_0x51e45f(0x32a)][_0x51e45f(0xfa)]());}[_0x51f573(0x1c6)](){var _0x45d0a2=_0x51f573;this['_members$'][_0x45d0a2(0x320)](this[_0x45d0a2(0x32a)]);}}var Yt=Object['getOwnPropertyDescriptor'],Kt=(_0x8d3dfc,_0x1e6926,_0x1d61df,_0x3e4085)=>{var _0x1d7a02=_0x51f573;for(var _0x17627c=_0x3e4085>0x1?void 0x0:_0x3e4085?Yt(_0x1e6926,_0x1d61df):_0x1e6926,_0x4a5a16=_0x8d3dfc[_0x1d7a02(0x17a)]-0x1,_0x3cd3b6;_0x4a5a16>=0x0;_0x4a5a16--)(_0x3cd3b6=_0x8d3dfc[_0x4a5a16])&&(_0x17627c=_0x3cd3b6(_0x17627c)||_0x17627c);return _0x17627c;},ce=(_0x52f77d,_0x2e14c6)=>(_0x1beaa5,_0x39e80a)=>_0x2e14c6(_0x1beaa5,_0x39e80a,_0x52f77d),se=(_0xbaee6c=>(_0xbaee6c[_0xbaee6c[_0x51f573(0x2e1)]=0x0]=_0x51f573(0x2e1),_0xbaee6c[_0xbaee6c[_0x51f573(0x360)]=0x1]=_0x51f573(0x360),_0xbaee6c[_0xbaee6c['OFFLINE']=0x2]='OFFLINE',_0xbaee6c[_0xbaee6c[_0x51f573(0x40e)]=0x3]=_0x51f573(0x40e),_0xbaee6c))(se||{});const We={[re[_0x51f573(0x13c)]]:_0x51f573(0x34f),[re[_0x51f573(0x2d1)]]:_0x51f573(0x2da),[re[_0x51f573(0x425)]]:_0x51f573(0x338),[re[_0x51f573(0xbc)]]:_0x51f573(0x3ff),[re[_0x51f573(0x31d)]]:_0x51f573(0x26c)};exports[_0x51f573(0x236)]=class extends o[_0x51f573(0xf7)]{constructor(_0x454b91,_0x29d460,_0x28593a,_0x4f86b9,_0x1306d2,_0x166660,_0x3d93cd,_0x2d41df){var _0x16b7f4=_0x51f573;super(),A(this,_0x16b7f4(0x284),new j[(_0x16b7f4(0x413))](0x0)),A(this,_0x16b7f4(0x166),this[_0x16b7f4(0x284)][_0x16b7f4(0x1f9)]()),A(this,'_event$',new j[(_0x16b7f4(0x243))]()),A(this,_0x16b7f4(0x3e3),this[_0x16b7f4(0x321)][_0x16b7f4(0x1f9)]()),A(this,_0x16b7f4(0x3d0)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,_0x16b7f4(0x3b1),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x454b91,this[_0x16b7f4(0x22e)]=_0x28593a,this[_0x16b7f4(0x373)]=_0x4f86b9,this[_0x16b7f4(0x14c)]=_0x1306d2,this[_0x16b7f4(0x3b7)]=_0x166660,this[_0x16b7f4(0x36d)]=_0x3d93cd,this[_0x16b7f4(0x149)]=_0x2d41df,this[_0x16b7f4(0x3b1)]=!!this['_telemetryService'],_0x29d460['pipe'](j[_0x16b7f4(0xfc)](this[_0x16b7f4(0xa1)]))[_0x16b7f4(0xcd)](_0x1bd647=>{var _0x1a27f8=_0x16b7f4,_0x3533f9;typeof _0x1bd647>'u'||(this['_socket']=_0x1bd647,_0x1bd647?(this[_0x1a27f8(0x1c0)](_0x1bd647),this[_0x1a27f8(0x3d4)]=_0x1bd647[_0x1a27f8(0x3ef)]['subscribe'](_0x3f0d67=>{var _0x4da811=_0x1a27f8;_0x3f0d67[_0x4da811(0x29f)]===this[_0x4da811(0x2e2)]&&this[_0x4da811(0x35c)](_0x3f0d67);})):(this[_0x1a27f8(0x151)](),this[_0x1a27f8(0x284)][_0x1a27f8(0x320)](0x2),(_0x3533f9=this[_0x1a27f8(0x3d4)])==null||_0x3533f9[_0x1a27f8(0x24e)](),this[_0x1a27f8(0x3d4)]=null));}));}get[_0x51f573(0x1e0)](){var _0x2213d6=_0x51f573;return this[_0x2213d6(0x284)]['getValue']();}[_0x51f573(0x120)](){var _0x54451b=_0x51f573,_0x55c174,_0x6097ec;return(_0x6097ec=(_0x55c174=this[_0x54451b(0x3d0)])==null?void 0x0:_0x55c174['memberID'])!=null?_0x6097ec:null;}[_0x51f573(0x27e)](){var _0x497ea0=_0x51f573;super[_0x497ea0(0x27e)](),this['dispose$'][_0x497ea0(0x320)](),this[_0x497ea0(0xa1)][_0x497ea0(0x412)]();}['close'](){var _0x34f98b=_0x51f573,_0x376d72,_0x13da1b;this[_0x34f98b(0x151)](),(_0x376d72=this[_0x34f98b(0x3d0)])==null||_0x376d72[_0x34f98b(0x408)]({'cmd':W[_0x34f98b(0x3b3)],'data':{'roomID':this[_0x34f98b(0x2e2)]}}),(_0x13da1b=this[_0x34f98b(0x3d0)])==null||_0x13da1b[_0x34f98b(0x1ff)](),this['_event$']['complete'](),this[_0x34f98b(0x284)][_0x34f98b(0x412)](),this['dispose']();}['_onCombEvent'](_0x2ce279){var _0x345b38=_0x51f573;_0x2ce279[_0x345b38(0x34a)]===W[_0x345b38(0x1dd)]?this[_0x345b38(0x9b)](_0x2ce279):_0x2ce279[_0x345b38(0x34a)]===W[_0x345b38(0x3d2)]&&this[_0x345b38(0xb4)](_0x2ce279);}[_0x51f573(0x1c0)](_0x3a4327){var _0x1da485=_0x51f573;this['_sessionStatus$']['next'](0x1),_0x3a4327['send']({'cmd':W['JOIN'],'routeKey':this[_0x1da485(0x2e2)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x360594){var _0xebd757=_0x51f573,_0x3d6ecf;if(_0x360594[_0xebd757(0x2d2)]in We){this[_0xebd757(0x36d)][_0xebd757(0x276)]({'id':J[_0xebd757(0x384)],'data':We[_0x360594[_0xebd757(0x2d2)]]}),this[_0xebd757(0x284)][_0xebd757(0x320)](0x2);return;}this['_sessionStatus$'][_0xebd757(0x320)](0x3);const _0x515688=(_0x3d6ecf=_0x360594[_0xebd757(0x215)][_0xebd757(0x306)][this['_unitID']])==null?void 0x0:_0x3d6ecf['members'];_0x515688&&_0x515688[_0xebd757(0x101)](_0x4c1fe0=>this[_0xebd757(0x14c)]['updateMember'](this[_0xebd757(0x2e2)],_0x4c1fe0));}[_0x51f573(0xb4)](_0x462018){var _0x5ecc13=_0x51f573;try{const _0x38d3fe=_0x462018[_0x5ecc13(0x215)];switch(_0x38d3fe[_0x5ecc13(0x3db)]){case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x405)]:this[_0x5ecc13(0x353)](_0x38d3fe),this[_0x5ecc13(0x321)]['next'](_0x38d3fe);break;case E['CollaborationEvent'][_0x5ecc13(0x21f)]:this[_0x5ecc13(0xd7)](_0x38d3fe),this['_event$'][_0x5ecc13(0x320)](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x26b)]:case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x363)]:this[_0x5ecc13(0xbb)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5ecc13(0x321)]['next'](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)]['MSG_FOR_ERROR']:this[_0x5ecc13(0x22e)][_0x5ecc13(0x1f8)](_0x5ecc13(0x1ba)+JSON['stringify'](_0x38d3fe)),this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x1f7)]:this[_0x5ecc13(0x3b7)][_0x5ecc13(0x27c)](_0x38d3fe['data']),this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);break;default:this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);}}catch(_0x2cf186){this[_0x5ecc13(0x22e)][_0x5ecc13(0x1f8)](_0x2cf186,_0x462018);}}[_0x51f573(0x353)](_0x2080f8){var _0x187ae3=_0x51f573;this['_memberService']['updateMember'](this[_0x187ae3(0x2e2)],_0x2080f8[_0x187ae3(0x215)]);}[_0x51f573(0xd7)](_0x376c92){var _0x6381e6=_0x51f573;this['_memberService']['removeMember'](this[_0x6381e6(0x2e2)],_0x376c92[_0x6381e6(0x215)][_0x6381e6(0x270)]);}async[_0x51f573(0x408)](_0x4c82b1,_0x25bd04){var _0x2098d8=_0x51f573;if(this[_0x2098d8(0x1e0)]!==0x3||!this[_0x2098d8(0x3d0)])throw new Error(_0x2098d8(0x3bd));try{_0x4c82b1['eventID']===E[_0x2098d8(0x1ed)][_0x2098d8(0x1b6)]&&(this[_0x2098d8(0x396)](),this[_0x2098d8(0x308)](_0x4c82b1)),this['_socket'][_0x2098d8(0x408)]({'cmd':W[_0x2098d8(0x38d)],'routeKey':_0x25bd04,'routeType':'','data':_0x4c82b1});}catch(_0xedf885){this[_0x2098d8(0x22e)][_0x2098d8(0x1f8)](_0xedf885);}}['_scheduleCollaborationTimeoutTimer'](){var _0x99eb08=_0x51f573,_0x1c1b64;this[_0x99eb08(0x386)]=setTimeout(()=>{var _0x27db25=_0x99eb08;this[_0x27db25(0x386)]=null,this[_0x27db25(0x36d)][_0x27db25(0x276)]({'id':J[_0x27db25(0xd9)]});},(_0x1c1b64=this[_0x99eb08(0x373)][_0x99eb08(0x1c9)](ke))!=null?_0x1c1b64:lt);}[_0x51f573(0x3e1)](){var _0x3ce495=_0x51f573;this[_0x3ce495(0x386)]&&(clearTimeout(this[_0x3ce495(0x386)]),this[_0x3ce495(0x386)]=null);}[_0x51f573(0x308)](_0x41eee5){var _0x452e03=_0x51f573;if(!this['_shouldReportTelemetry'])return;const {data:_0x1de11a}=_0x41eee5,{unitID:_0x2c311b,changeset:_0xa4789a}=_0x1de11a,{mutations:_0x41bc98,type:_0x368a42}=_0xa4789a;this[_0x452e03(0x286)]={'unitId':_0x2c311b,'type':_0x368a42,'startTime':performance[_0x452e03(0x162)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x41bc98)};}[_0x51f573(0xbb)](){var _0x2fa7b0=_0x51f573;if(this[_0x2fa7b0(0x3b1)]){if(!this['_telemetryInfo']){this[_0x2fa7b0(0x22e)][_0x2fa7b0(0x1f8)](_0x2fa7b0(0x112),_0x2fa7b0(0x315));return;}this[_0x2fa7b0(0x286)][_0x2fa7b0(0x161)]=performance[_0x2fa7b0(0x162)](),this['_telemetryInfo'][_0x2fa7b0(0x2a7)]=this[_0x2fa7b0(0x286)][_0x2fa7b0(0x161)]-this[_0x2fa7b0(0x286)][_0x2fa7b0(0x294)],this[_0x2fa7b0(0x149)][_0x2fa7b0(0x38e)](Bt,this[_0x2fa7b0(0x286)]),this[_0x2fa7b0(0x286)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xb6f492=_0x51f573;this[_0xb6f492(0x286)]=null;}},exports['CollaborationSession']=Kt([ce(0x2,o[_0x51f573(0x163)]),ce(0x3,o[_0x51f573(0x3ec)]),ce(0x4,o[_0x51f573(0x2ba)](exports[_0x51f573(0x2e7)])),ce(0x5,o[_0x51f573(0x2ba)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x51f573(0x366)](Rt[_0x51f573(0x139)]))],exports[_0x51f573(0x236)]);const q=o['createIdentifier'](_0x51f573(0x231));function qt(_0x3c2010){return'unit-cache-'+_0x3c2010;}var zt=Object['getOwnPropertyDescriptor'],Xt=(_0x4c1d73,_0xf34e8a,_0x55774a,_0x44bbba)=>{var _0x326ffc=_0x51f573;for(var _0x59a3d1=_0x44bbba>0x1?void 0x0:_0x44bbba?zt(_0xf34e8a,_0x55774a):_0xf34e8a,_0x33216d=_0x4c1d73[_0x326ffc(0x17a)]-0x1,_0x1c03fe;_0x33216d>=0x0;_0x33216d--)(_0x1c03fe=_0x4c1d73[_0x33216d])&&(_0x59a3d1=_0x1c03fe(_0x59a3d1)||_0x59a3d1);return _0x59a3d1;},Ue=(_0x476254,_0x29947a)=>(_0x3d5f59,_0x3ec5f5)=>_0x29947a(_0x3d5f59,_0x3ec5f5,_0x476254);function Jt(_0x189e98){var _0x3ef0dd=_0x51f573;const {unitID:_0x174901,mutations:_0x41caec}=_0x189e98;return{'unitId':_0x174901,'subUnitId':_0x41caec[_0x3ef0dd(0x17a)]>0x0?_0x41caec[0x0]['params'][_0x3ef0dd(0x1be)]:null};}exports[_0x51f573(0x316)]=class{constructor(_0x420b87,_0xd0170e,_0xf4abd){var _0x535e2f=_0x51f573;this[_0x535e2f(0x3c5)]=_0x420b87,this[_0x535e2f(0x14f)]=_0xd0170e,this[_0x535e2f(0x3f1)]=_0xf4abd;}[_0x51f573(0x160)](_0x4b3c8e){var _0x2f9979=_0x51f573,_0x5f5d87,_0x1f978f,_0x5c5f4b,_0x8687a2;const _0x2198db=this[_0x2f9979(0x3c5)]['get'](Q[_0x2f9979(0x2cb)]),{unitId:_0x1b4702,subUnitId:_0x537b1f}=Jt(_0x4b3c8e),_0x46a985=_0x2198db==null?void 0x0:_0x2198db[_0x2f9979(0x2c4)](_0x1b4702)[_0x2f9979(0x29d)](),_0x540505=(_0x1f978f=(_0x5f5d87=this['_instanceService']['getUnit'](_0x1b4702))==null?void 0x0:_0x5f5d87[_0x2f9979(0x1b0)]())==null?void 0x0:_0x1f978f['getSheetId']();if(_0x46a985[_0x2f9979(0x17a)]===0x0||!_0x1b4702||!_0x537b1f)return;const _0x18b98d=[{'id':Q[_0x2f9979(0x20c)]['id'],'params':{'unitId':_0x1b4702,'subUnitId':_0x540505,'selections':o['Tools']['deepClone'](_0x46a985)}}],_0x469776=this[_0x2f9979(0x14f)][_0x2f9979(0xb0)](_0x4b3c8e,_0x18b98d);if(!E[_0x2f9979(0x3b2)](_0x469776))throw _0x469776[_0x2f9979(0x1f8)];const _0x3b1c15=(_0x8687a2=(_0x5c5f4b=_0x469776['m2Prime'][0x0])==null?void 0x0:_0x5c5f4b['params'])==null?void 0x0:_0x8687a2[_0x2f9979(0x3f8)];if(Array[_0x2f9979(0x237)](_0x3b1c15)&&_0x3b1c15[_0x2f9979(0x17a)]){if(_0x3b1c15['length']===_0x18b98d[0x0]['params'][_0x2f9979(0x3f8)][_0x2f9979(0x17a)]&&_0x3b1c15[_0x2f9979(0x277)]((_0x44192e,_0x1dafa0)=>o[_0x2f9979(0x2eb)]['equals'](_0x44192e['range'],_0x18b98d[0x0][_0x2f9979(0x2b8)][_0x2f9979(0x3f8)][_0x1dafa0][_0x2f9979(0x1d2)])))return;this[_0x2f9979(0x3c5)][_0x2f9979(0x33d)](o[_0x2f9979(0x310)])[_0x2f9979(0x3ae)](Q[_0x2f9979(0x20c)]['id'],{'unitId':_0x1b4702,'subUnitId':_0x540505,'selections':_0x3b1c15});}}},exports[_0x51f573(0x316)]=Xt([Ue(0x0,o[_0x51f573(0x2ba)](o['Injector'])),Ue(0x1,E[_0x51f573(0x140)]),Ue(0x2,o[_0x51f573(0x168)])],exports[_0x51f573(0x316)]);const ve=o['createIdentifier'](_0x51f573(0xd1));var He=(_0x442fa4=>(_0x442fa4[_0x442fa4[_0x51f573(0x1b7)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x442fa4[_0x442fa4[_0x51f573(0x1ea)]=0x1]=_0x51f573(0x1ea),_0x442fa4))(He||{});const Y=_0x51f573(0x305),Zt={},Qt=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0x44b5b8,_0xb052aa,_0x1d12be,_0x50b1ed,_0x1e2aad){var _0x4ec7ec=_0x51f573,_0xc53c66,_0x20085d,_0x416108,_0xb01270;const _0x4b11cb=[];for(const _0x41f67f of _0x44b5b8)if(Qt[_0x4ec7ec(0x3df)](_0x41f67f['id'])){if(_0x4b11cb[_0x4ec7ec(0x17a)]>0x0)break;_0x4b11cb[_0x4ec7ec(0x209)](_0x41f67f);break;}else _0x4b11cb['push'](_0x41f67f);const _0x3184f3=(_0x20085d=(_0xc53c66=_0x1e2aad[_0x4ec7ec(0x2ea)]())==null?void 0x0:_0xc53c66[_0x4ec7ec(0x3da)])!=null?_0x20085d:_0x4ec7ec(0x3a8),_0x17592d=(_0xb01270=(_0x416108=_0x1e2aad[_0x4ec7ec(0x2ea)]())==null?void 0x0:_0x416108[_0x4ec7ec(0x270)])!=null?_0xb01270:_0x4ec7ec(0x3a8);return{'changeset':{'unitID':_0xb052aa,'type':E[_0x4ec7ec(0x411)](_0x1d12be[_0x4ec7ec(0x2dd)](_0xb052aa)),'baseRev':_0x50b1ed['getCurrentRevOfUnit'](_0xb052aa),'revision':0x0,'userID':_0x3184f3,'memberID':_0x17592d,'mutations':_0x4b11cb},'pendingMutations':_0x44b5b8[_0x4ec7ec(0x1a9)](_0x4b11cb[_0x4ec7ec(0x17a)])};}function ei(_0x3fef9c,_0x3cc8f4,_0x6fcaa3,_0x123fcd,_0x259b9a){var _0x3d4878=_0x51f573,_0x2db156,_0x7223fc,_0x2609b,_0x46f581;const _0x34ac63=[_0x3fef9c[_0x3d4878(0xa9)]((_0x24614e,_0x51ded5)=>{var _0x1fecf6=_0x3d4878,_0x1fdbc6;const {id:_0x22f665}=_0x24614e,{id:_0x149497,type:_0xcd7ca3}=_0x51ded5,_0x46ff40=(_0x1fdbc6=_0x24614e[_0x1fecf6(0x2b8)])!=null?_0x1fdbc6:{'actions':null},_0x56e596=_0x51ded5[_0x1fecf6(0x2b8)];if(_0x22f665&&_0x22f665!==_0x149497)throw new Error(_0x1fecf6(0x133)+_0x22f665+_0x1fecf6(0xb7)+_0x149497+'.');return{..._0x24614e,'id':_0x149497,'type':_0xcd7ca3,'params':{'unitId':_0x56e596[_0x1fecf6(0x32f)],'textRanges':_0x56e596[_0x1fecf6(0x372)],'actions':o['JSONX'][_0x1fecf6(0x14b)](_0x46ff40['actions'],_0x56e596['actions'])}};},{})],_0x5f40ea=(_0x7223fc=(_0x2db156=_0x259b9a[_0x3d4878(0x2ea)]())==null?void 0x0:_0x2db156['userID'])!=null?_0x7223fc:_0x3d4878(0x3a8),_0x244040=(_0x46f581=(_0x2609b=_0x259b9a[_0x3d4878(0x2ea)]())==null?void 0x0:_0x2609b[_0x3d4878(0x270)])!=null?_0x46f581:'unknown';return{'changeset':{'unitID':_0x3cc8f4,'type':E[_0x3d4878(0x411)](_0x6fcaa3[_0x3d4878(0x2dd)](_0x3cc8f4)),'baseRev':_0x123fcd['getCurrentRevOfUnit'](_0x3cc8f4),'revision':0x0,'userID':_0x5f40ea,'memberID':_0x244040,'mutations':_0x34ac63},'pendingMutations':[]};}function St(_0x1dce35,_0x37a297){var _0x4fa052=_0x51f573;const _0x488f88=new j[(_0x4fa052(0x11b))](0x1);return setTimeout(()=>_0x488f88['next'](_0x37a297),_0x1dce35),_0x488f88[_0x4fa052(0x1f9)]()[_0x4fa052(0x3aa)](j[_0x4fa052(0x42a)](0x1));}var ti=Object['getOwnPropertyDescriptor'],ae=(_0x2e5f37,_0x13837b,_0x303555,_0xeab928)=>{var _0x20d9f7=_0x51f573;for(var _0x297923=_0xeab928>0x1?void 0x0:_0xeab928?ti(_0x13837b,_0x303555):_0x13837b,_0x437c4b=_0x2e5f37[_0x20d9f7(0x17a)]-0x1,_0x2d6af6;_0x437c4b>=0x0;_0x437c4b--)(_0x2d6af6=_0x2e5f37[_0x437c4b])&&(_0x297923=_0x2d6af6(_0x297923)||_0x297923);return _0x297923;},L=(_0x786996,_0x20f037)=>(_0x10014a,_0x2257de)=>_0x20f037(_0x10014a,_0x2257de,_0x786996),je=(_0x256c8b=>(_0x256c8b[_0x51f573(0x2e3)]=_0x51f573(0x282),_0x256c8b['SYNCED']=_0x51f573(0x1ad),_0x256c8b[_0x51f573(0x3f9)]=_0x51f573(0x275),_0x256c8b[_0x51f573(0x416)]='awaiting',_0x256c8b[_0x51f573(0x2c2)]='awaiting_with_pending',_0x256c8b['FETCH_MISS']=_0x51f573(0x2e6),_0x256c8b[_0x51f573(0x150)]=_0x51f573(0x10c),_0x256c8b[_0x51f573(0x2a6)]=_0x51f573(0x165),_0x256c8b))(je||{});const It=0xea60;class oe{constructor(_0xbc87d9,_0x1b19e2,_0x553d6a,_0x642638,_0x5f1f39,_0xdd0b70,_0x524ae8,_0x37f237,_0x9b030d){var _0x30e47d=_0x51f573;A(this,_0x30e47d(0x340),null),A(this,_0x30e47d(0x37a),[]),(this[_0x30e47d(0x3d6)]=_0xbc87d9,this['type']=_0x1b19e2,this['_handler']=_0x5f1f39,this[_0x30e47d(0x1ac)]=_0xdd0b70,this[_0x30e47d(0xf9)]=_0x524ae8,this[_0x30e47d(0x1a3)]=_0x37f237,this[_0x30e47d(0xe4)]=_0x9b030d,this[_0x30e47d(0x340)]=_0x553d6a,this[_0x30e47d(0x37a)]=_0x642638);}[_0x51f573(0x27a)](_0x3b657b){var _0x11589f=_0x51f573;const _0xc0fd6=this[_0x11589f(0x1a3)][_0x11589f(0x2bc)](this['unitID']);return _0x3b657b['revision']>_0xc0fd6+0x1?(this[_0x11589f(0x30d)][_0x11589f(0xdf)]({'from':_0xc0fd6,'to':_0x3b657b[_0x11589f(0x3ee)]-0x1}),!0x0):!0x1;}[_0x51f573(0x1c2)](_0x6a355a){var _0x11b606=_0x51f573;this[_0x11b606(0xf9)][_0x11b606(0x397)](this[_0x11b606(0x3d6)],_0x6a355a);}[_0x51f573(0xb6)](_0x4a7529){var _0x25a62c=_0x51f573,_0x1d6bf6,_0x50e81a;(_0x50e81a=(_0x1d6bf6=this[_0x25a62c(0x30d)])['onTransformSelections'])==null||_0x50e81a['call'](_0x1d6bf6,_0x4a7529);}[_0x51f573(0x17e)](_0x3e07aa){var _0x3cb3c0=_0x51f573,_0x163c0f,_0x150aa1;return(_0x150aa1=(_0x163c0f=this[_0x3cb3c0(0x30d)])[_0x3cb3c0(0x39d)])==null?void 0x0:_0x150aa1['call'](_0x163c0f,_0x3e07aa);}[_0x51f573(0xa3)](_0x169dd6){var _0x4c6451=_0x51f573,_0x5451e6,_0x57190a;return(_0x57190a=(_0x5451e6=this[_0x4c6451(0x30d)])[_0x4c6451(0x94)])==null?void 0x0:_0x57190a['call'](_0x5451e6,_0x169dd6);}[_0x51f573(0x41c)](_0x1063ab){var _0xbb39a8=_0x51f573,_0x31d1dc,_0x3e1cfb,_0xf1509a;return(_0xf1509a=(_0x3e1cfb=(_0x31d1dc=this[_0xbb39a8(0x30d)])[_0xbb39a8(0x3cd)])==null?void 0x0:_0x3e1cfb[_0xbb39a8(0x31f)](_0x31d1dc,_0x1063ab))!=null?_0xf1509a:_0x1063ab;}[_0x51f573(0x258)](_0xf3e212){var _0x3f7843=_0x51f573,_0x21ebc1,_0x316c7a,_0x44f404;return(_0x44f404=(_0x316c7a=(_0x21ebc1=this[_0x3f7843(0x30d)])[_0x3f7843(0x392)])==null?void 0x0:_0x316c7a[_0x3f7843(0x31f)](_0x21ebc1,_0xf3e212))!=null?_0x44f404:_0xf3e212;}['_syncEditingCollabCursor'](_0x4d214a){var _0x4cd65e=_0x51f573,_0x32990b,_0x2e4619;if(this[_0x4cd65e(0x33c)]===X[_0x4cd65e(0x187)]){const {unitID:_0x222486,mutations:_0x10247f,memberID:_0x41ff79}=_0x4d214a,_0x34a62c=_0x10247f[_0x4cd65e(0x17a)]>0x0?_0x10247f[0x0][_0x4cd65e(0x2b8)][_0x4cd65e(0x372)]:[];Array[_0x4cd65e(0x237)](_0x34a62c)&&_0x34a62c[_0x4cd65e(0x17a)]>0x0&&((_0x2e4619=(_0x32990b=this['_handler'])[_0x4cd65e(0x3e9)])==null||_0x2e4619[_0x4cd65e(0x31f)](_0x32990b,{'unitID':_0x222486,'memberID':_0x41ff79,'textRanges':_0x34a62c}));}}['_updateLocalCache'](){var _0x13275f=_0x51f573,_0x558ab1;(_0x558ab1=this[_0x13275f(0xe4)])==null||_0x558ab1[_0x13275f(0x3a0)](this['unitID'],this[_0x13275f(0x33c)],this[_0x13275f(0x340)],this['_pendingMutations']);}[_0x51f573(0x3b6)](){var _0x1bfa7f=_0x51f573;return this[_0x1bfa7f(0x1a3)][_0x1bfa7f(0x2bc)](this[_0x1bfa7f(0x3d6)]);}[_0x51f573(0x3fc)](){var _0xf3f3a8=_0x51f573;this['_revisionService'][_0xf3f3a8(0x3c3)](this[_0xf3f3a8(0x3d6)]);}[_0x51f573(0x16f)](_0x14b1d0){var _0x4b3630=_0x51f573,_0x468356;let _0x18fb97=this[_0x4b3630(0x41c)](_0x14b1d0);_0x18fb97=this[_0x4b3630(0x258)](_0x18fb97);const _0x5c533d=o[_0x4b3630(0x3d1)](_0x18fb97[_0x4b3630(0x3a9)],this[_0x4b3630(0x1ac)],{'fromCollab':!0x0});if(!_0x5c533d[_0x4b3630(0x17d)])throw _0x5c533d[_0x4b3630(0x1f8)]instanceof Error?_0x5c533d['error']:new Error((_0x468356=_0x5c533d['error'])!=null?_0x468356:'[CollaborationState]:\x20apply\x20error!');this[_0x4b3630(0x17e)](_0x18fb97),this[_0x4b3630(0xa3)](_0x18fb97),this['_transformUndoredo'](_0x14b1d0),this['_transformSelections'](_0x18fb97),this[_0x4b3630(0x1d9)](_0x18fb97),this[_0x4b3630(0x3fc)]();}}exports[_0x51f573(0x3ce)]=class extends oe{constructor(_0x41855a,_0x15a61e,_0x331390,_0x5cc3c4,_0x183282,_0x30ca5a,_0x334bb5,_0x33f605,_0x4f050c,_0x2b59c0){var _0x4508b8=_0x51f573;super(_0x41855a,_0x15a61e,null,[],_0x331390,_0x334bb5,_0x30ca5a,_0x5cc3c4,_0x2b59c0),A(this,_0x4508b8(0x2a2),_0x4508b8(0x1ad)),(this['_injector']=_0x183282,this[_0x4508b8(0x22e)]=_0x33f605,this[_0x4508b8(0x14f)]=_0x4f050c,this[_0x4508b8(0x2d3)]=_0x2b59c0);}[_0x51f573(0x403)](_0x3e3e11){var _0x36ff32=_0x51f573;const _0x56da41=this[_0x36ff32(0x3c5)]['createInstance'](exports['PendingState'],this[_0x36ff32(0x3d6)],this[_0x36ff32(0x33c)],[_0x3e3e11],this['_handler']);return _0x56da41['_schedule'](),_0x56da41[_0x36ff32(0x1f4)](),_0x56da41;}['onRemoteChangeset'](_0x4349fd){var _0x4badf1=_0x51f573;if(this[_0x4badf1(0x27a)](_0x4349fd))return this['_injector'][_0x4badf1(0x1c7)](exports['FetchingMissState'],this[_0x4badf1(0x3d6)],this[_0x4badf1(0x33c)],null,[],null,[_0x4349fd],this[_0x4badf1(0x30d)]);try{const _0x130ae3=this[_0x4badf1(0x14f)][_0x4badf1(0xb0)](_0x4349fd,[E['EmptyMutationInfo']]);if(E[_0x4badf1(0x3b2)](_0x130ae3)){const {c1Prime:_0x2310ef}=_0x130ae3;return this[_0x4badf1(0x16f)](_0x2310ef),this;}throw _0x130ae3[_0x4badf1(0x1f8)];}catch(_0x578c4b){return this[_0x4badf1(0x22e)][_0x4badf1(0x1f8)](_0x578c4b),this[_0x4badf1(0xca)](!0x1);}}[_0x51f573(0xca)](_0x41e8a4){var _0x3d52a7=_0x51f573;return this[_0x3d52a7(0x3c5)]['createInstance'](exports[_0x3d52a7(0x281)],this[_0x3d52a7(0x3d6)],this[_0x3d52a7(0x33c)],null,[],this[_0x3d52a7(0x30d)],_0x41e8a4);}[_0x51f573(0x37f)](){var _0x45b6dc=_0x51f573;throw new Error(_0x45b6dc(0x41a));}[_0x51f573(0x99)](){var _0x34fd90=_0x51f573;throw new Error(_0x34fd90(0x138));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x417b49=_0x51f573;return this['_injector'][_0x417b49(0x1c7)](exports['OfflineState'],this['unitID'],this[_0x417b49(0x33c)],null,[],this[_0x417b49(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x244)](){var _0x39589e=_0x51f573;throw new Error(_0x39589e(0xa0));}[_0x51f573(0x15f)](){var _0x2e6de5=_0x51f573;const _0xa0eefa=this[_0x2e6de5(0x1a3)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x2e6de5(0xdf)]({'from':_0xa0eefa,'to':0x0}),this[_0x2e6de5(0x3c5)][_0x2e6de5(0x1c7)](exports[_0x2e6de5(0x3a6)],this[_0x2e6de5(0x3d6)],this[_0x2e6de5(0x33c)],null,[],null,[],this[_0x2e6de5(0x30d)]);}},exports[_0x51f573(0x3ce)]=ae([L(0x3,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x51f573(0x310)]),L(0x7,o[_0x51f573(0x163)]),L(0x8,E['ITransformService']),L(0x9,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x3ce)]),exports[_0x51f573(0x38b)]=class extends oe{constructor(_0x3d3fb8,_0x3ff779,_0x8458be,_0x57f5d3,_0x57ef7c,_0x56083a,_0x5c1174,_0x230eba,_0xd172a5,_0x20e486,_0x3f1b92,_0x36e776,_0x3d5238,_0x3b9205){var _0x583f7d=_0x51f573;super(_0x3d3fb8,_0x3ff779,null,_0x8458be,_0x57f5d3,_0xd172a5,_0x3d5238,_0x56083a,_0x3b9205),A(this,_0x583f7d(0x2a2),_0x583f7d(0x275)),A(this,_0x583f7d(0x2a3),null),A(this,'_sendingTimer',null),(this[_0x583f7d(0x3c5)]=_0x57ef7c,this['_memberService']=_0x5c1174,this[_0x583f7d(0x22e)]=_0x230eba,this[_0x583f7d(0x373)]=_0x20e486,this[_0x583f7d(0x14f)]=_0x3f1b92,this[_0x583f7d(0x293)]=_0x36e776);}[_0x51f573(0x403)](_0x5993ad){var _0xec925f=_0x51f573;return this[_0xec925f(0x37a)]['push'](_0x5993ad),this[_0xec925f(0x1f4)](),this;}[_0x51f573(0x33f)](_0x23a798){var _0x5181b6=_0x51f573;if(this[_0x5181b6(0x27a)](_0x23a798))return this[_0x5181b6(0xbf)](),this[_0x5181b6(0x3c5)][_0x5181b6(0x1c7)](exports[_0x5181b6(0x3a6)],this[_0x5181b6(0x3d6)],this[_0x5181b6(0x33c)],null,this[_0x5181b6(0x37a)],null,[_0x23a798],this['_handler']);try{const _0x569aad=this[_0x5181b6(0x14f)][_0x5181b6(0xb0)](_0x23a798,this['_pendingMutations']);if(E[_0x5181b6(0x3b2)](_0x569aad)){const {c1Prime:_0x6ef544,m2Prime:_0x37819f}=_0x569aad;this[_0x5181b6(0x16f)](_0x6ef544);const _0x51653e=this[_0x5181b6(0x3c5)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x5181b6(0x33c)],_0x37819f,this['_handler']);this[_0x5181b6(0xbf)]();const _0x37eebc=new Date()[_0x5181b6(0x26a)](),_0x588d8f=this[_0x5181b6(0x2a3)]?Math[_0x5181b6(0x1d1)](this['_scheduleCompleteTimestamp']-_0x37eebc,0x0):this[_0x5181b6(0x142)]();return _0x51653e['_schedule'](_0x588d8f),_0x51653e;}throw _0x569aad[_0x5181b6(0x1f8)];}catch(_0x3498cc){return this[_0x5181b6(0x22e)][_0x5181b6(0x1f8)](_0x3498cc),this[_0x5181b6(0xca)](!0x1);}}[_0x51f573(0x37f)](){var _0x1a9608=_0x51f573;throw new Error(_0x1a9608(0x21e));}[_0x51f573(0x99)](){var _0x2899bb=_0x51f573;throw new Error(_0x2899bb(0x265));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x5b5b2e=_0x51f573;return this['_clearScheduledTask'](),this[_0x5b5b2e(0x3c5)][_0x5b5b2e(0x1c7)](exports[_0x5b5b2e(0x167)],this['unitID'],this[_0x5b5b2e(0x33c)],null,this['_pendingMutations'],this[_0x5b5b2e(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x302)](_0x58eb6c){var _0x59de6c=_0x51f573;const _0xfd2de7=_0x58eb6c!=null?_0x58eb6c:this['_getSendChangesetTimeout']();this[_0x59de6c(0x2a3)]=new Date()['getTime']()+_0xfd2de7,this[_0x59de6c(0xac)]=setTimeout(()=>{var _0x1401fa=_0x59de6c;this[_0x1401fa(0xbf)]();let _0x383a04=null;switch(this[_0x1401fa(0x33c)]){case X[_0x1401fa(0x1bb)]:{_0x383a04=Ge(this[_0x1401fa(0x37a)],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this[_0x1401fa(0x14c)]);break;}case X[_0x1401fa(0x187)]:{this[_0x1401fa(0x37a)][_0x1401fa(0x277)](_0x212522=>_0x212522['id']===ct[_0x1401fa(0x406)]['id'])?_0x383a04=ei(this['_pendingMutations'],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this['_memberService']):_0x383a04=Ge(this['_pendingMutations'],this['unitID'],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this[_0x1401fa(0x14c)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1401fa(0x33c)]+_0x1401fa(0x38c));}const {changeset:_0x506511,pendingMutations:_0x2c9de9}=_0x383a04;this[_0x1401fa(0x30d)][_0x1401fa(0x25f)](_0x506511);const _0x50d277=_0x2c9de9[_0x1401fa(0x17a)]?this[_0x1401fa(0x3c5)][_0x1401fa(0x1c7)](exports[_0x1401fa(0x400)],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x33c)],_0x506511,_0x2c9de9,this[_0x1401fa(0x30d)],void 0x0):this[_0x1401fa(0x3c5)][_0x1401fa(0x1c7)](exports['AwaitingState'],this[_0x1401fa(0x3d6)],this['type'],_0x506511,this[_0x1401fa(0x30d)]);_0x50d277['_updateLocalCache'](),this[_0x1401fa(0x30d)][_0x1401fa(0x221)](this,_0x50d277);},_0xfd2de7);}[_0x51f573(0x142)](){var _0xfd6562=_0x51f573,_0xf9f0e4;const _0x29d5a2=this[_0xfd6562(0x373)][_0xfd6562(0x1c9)](Y);return(_0xf9f0e4=_0x29d5a2==null?void 0x0:_0x29d5a2[_0xfd6562(0x36e)])!=null?_0xf9f0e4:Ut;}[_0x51f573(0x244)](){var _0x16299c=_0x51f573;throw new Error(_0x16299c(0xab));}[_0x51f573(0xbf)](){var _0x42dc8a=_0x51f573;this[_0x42dc8a(0xac)]!=null&&(clearTimeout(this[_0x42dc8a(0xac)]),this[_0x42dc8a(0xac)]=null);}[_0x51f573(0xca)](_0x3d5480){var _0x15cdab=_0x51f573;return this[_0x15cdab(0xbf)](),this[_0x15cdab(0x3c5)][_0x15cdab(0x1c7)](exports['ConflictState'],this[_0x15cdab(0x3d6)],this['type'],null,this['_pendingMutations'],this[_0x15cdab(0x30d)],_0x3d5480);}},exports[_0x51f573(0x38b)]=ae([L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o['Inject'](E['RevisionService'])),L(0x6,o[_0x51f573(0x2ba)](exports[_0x51f573(0x2e7)])),L(0x7,o[_0x51f573(0x163)]),L(0x8,o[_0x51f573(0x310)]),L(0x9,o[_0x51f573(0x3ec)]),L(0xa,E[_0x51f573(0x140)]),L(0xb,o[_0x51f573(0x168)]),L(0xc,o[_0x51f573(0x102)]),L(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x38b)]),exports['AwaitingState']=class extends oe{constructor(_0x31a262,_0x3da02e,_0x674665,_0x2bcb69,_0x5b8843,_0x5a2848,_0x24c9ac,_0x581d8,_0x55188f,_0x470a4c,_0x2cc289){var _0x53670d=_0x51f573;super(_0x31a262,_0x3da02e,_0x674665,[],_0x2bcb69,_0x24c9ac,_0x470a4c,_0x5a2848,_0x2cc289),A(this,'status',_0x53670d(0x229)),A(this,'_resendTimeout',0x0),A(this,_0x53670d(0x14d)),A(this,_0x53670d(0x36b)),(this[_0x53670d(0x3c5)]=_0x5b8843,this[_0x53670d(0x22e)]=_0x581d8,this[_0x53670d(0x14f)]=_0x55188f);}['appendMutation'](_0x74e6a9){var _0x4262bc=_0x51f573;this[_0x4262bc(0xbf)]();const _0x3b673c=this[_0x4262bc(0x3c5)][_0x4262bc(0x1c7)](exports[_0x4262bc(0x400)],this[_0x4262bc(0x3d6)],this[_0x4262bc(0x33c)],this[_0x4262bc(0x340)],[_0x74e6a9],this['_handler'],this[_0x4262bc(0x14d)]);return _0x3b673c[_0x4262bc(0x1f4)](),_0x3b673c;}[_0x51f573(0x33f)](_0x3a3cac){var _0x3c2000=_0x51f573;if(this[_0x3c2000(0x27a)](_0x3a3cac))return this[_0x3c2000(0xbf)](),this[_0x3c2000(0x3c5)][_0x3c2000(0x1c7)](exports[_0x3c2000(0x3a6)],this[_0x3c2000(0x3d6)],this[_0x3c2000(0x33c)],this[_0x3c2000(0x340)],[],null,[_0x3a3cac],this['_handler']);try{const _0x39baca=this[_0x3c2000(0x14f)][_0x3c2000(0x3c9)]([_0x3a3cac],[this[_0x3c2000(0x340)]],!0x1);if(E[_0x3c2000(0x28e)](_0x39baca)){const {c1Prime:_0x3a1376,c2Prime:_0x346de7}=_0x39baca;this[_0x3c2000(0x16f)](_0x3a1376[0x0]),_0x346de7[0x0][_0x3c2000(0x1f1)]=this[_0x3c2000(0x3b6)](),this['_clearScheduledTask']();const _0x480d27=this['_injector'][_0x3c2000(0x1c7)](exports['AwaitingState'],this[_0x3c2000(0x3d6)],this['type'],_0x346de7[0x0],this[_0x3c2000(0x30d)]);return _0x480d27[_0x3c2000(0x1f4)](),_0x480d27;}return this[_0x3c2000(0xca)](!0x1);}catch(_0x35cc6b){return this[_0x3c2000(0x22e)][_0x3c2000(0x1f8)](_0x35cc6b),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x25ac34){var _0x16edd7=_0x51f573;this[_0x16edd7(0xbf)]();const _0x240808=this[_0x16edd7(0x1a3)][_0x16edd7(0x2bc)](this[_0x16edd7(0x3d6)]);if(_0x25ac34[_0x16edd7(0x3ee)]<_0x240808-0x1)return this;if(this['_checkMissing'](_0x25ac34))return this[_0x16edd7(0x3c5)][_0x16edd7(0x1c7)](exports[_0x16edd7(0x3a6)],this['unitID'],this['type'],null,[],this[_0x16edd7(0x340)],[],this[_0x16edd7(0x30d)]);this[_0x16edd7(0x3fc)]();const _0x21950b=this[_0x16edd7(0x3c5)][_0x16edd7(0x1c7)](exports[_0x16edd7(0x3ce)],this[_0x16edd7(0x3d6)],this[_0x16edd7(0x33c)],this['_handler']);return _0x21950b[_0x16edd7(0x1f4)](),_0x21950b;}[_0x51f573(0x99)](_0x162612){var _0x456acc=_0x51f573;return this[_0x456acc(0xca)](!!(_0x162612!=null&&_0x162612['isPermissionRej']));}[_0x51f573(0x18c)](_0x38af1f){var _0x4f56f5=_0x51f573;return this[_0x4f56f5(0x129)]>It?this[_0x4f56f5(0x19f)]():(this[_0x4f56f5(0x14d)]=St(this[_0x4f56f5(0x129)],{'timeout':this['_resendTimeout'],'reqId':_0x38af1f[_0x4f56f5(0xee)]}),this['_sender']=this[_0x4f56f5(0x14d)][_0x4f56f5(0xcd)](({reqId:_0x7cf5df,timeout:_0xbf47b3})=>{var _0x329f3a=_0x4f56f5;this[_0x329f3a(0x295)](_0x7cf5df,_0xbf47b3);}),this);}[_0x51f573(0x19f)](){var _0x466a07=_0x51f573;return this[_0x466a07(0xbf)](),this[_0x466a07(0x3c5)]['createInstance'](exports[_0x466a07(0x167)],this[_0x466a07(0x3d6)],this[_0x466a07(0x33c)],this[_0x466a07(0x340)],[],this[_0x466a07(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x244)](){var _0x1478ee=_0x51f573;this[_0x1478ee(0x30d)]['onSendChangeset'](this[_0x1478ee(0x340)]);}[_0x51f573(0xca)](_0x3576ae){var _0x73cfcb=_0x51f573;return this[_0x73cfcb(0xbf)](),this[_0x73cfcb(0x3c5)][_0x73cfcb(0x1c7)](exports['ConflictState'],this[_0x73cfcb(0x3d6)],this[_0x73cfcb(0x33c)],this[_0x73cfcb(0x340)],[],this[_0x73cfcb(0x30d)],_0x3576ae);}[_0x51f573(0x295)](_0x5362ef,_0x241811){var _0x56c654=_0x51f573,_0x403e89;_0x5362ef===((_0x403e89=this[_0x56c654(0x340)])==null?void 0x0:_0x403e89[_0x56c654(0xee)])&&(this[_0x56c654(0x244)](),this['_resendTimeout']=_0x241811===0x0?0x3e8:_0x241811*0x2);}[_0x51f573(0xbf)](){var _0x431d12=_0x51f573,_0x50e2f2;(_0x50e2f2=this[_0x431d12(0x36b)])==null||_0x50e2f2[_0x431d12(0x24e)](),this[_0x431d12(0x129)]=0x0;}},exports['AwaitingState']=ae([L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x6,o[_0x51f573(0x310)]),L(0x7,o[_0x51f573(0x163)]),L(0x8,E[_0x51f573(0x140)]),L(0x9,o['IUndoRedoService']),L(0xa,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x251)]),exports['AwaitingWithPendingState']=class extends oe{constructor(_0x45b4d0,_0x1875b6,_0x852c85,_0x417b70,_0x55f904,_0x542ea8,_0x41cdb1,_0x5d70ba,_0x537d6b,_0x563343,_0x152304,_0x4ec7d8,_0x3ba3f4){var _0x5e9a7a=_0x51f573;super(_0x45b4d0,_0x1875b6,_0x852c85,_0x417b70,_0x55f904,_0x537d6b,_0x4ec7d8,_0x5d70ba,_0x3ba3f4),A(this,'status','awaiting_with_pending'),A(this,_0x5e9a7a(0x129),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this['_injector']=_0x41cdb1,this[_0x5e9a7a(0x22e)]=_0x563343,this['_transformService']=_0x152304,this[_0x5e9a7a(0x2d3)]=_0x3ba3f4,_0x542ea8&&(this[_0x5e9a7a(0x14d)]=_0x542ea8,this[_0x5e9a7a(0x36b)]=this[_0x5e9a7a(0x14d)][_0x5e9a7a(0xcd)](({reqId:_0x3a7270,timeout:_0x1e32d2})=>{this['_resendWithTimeout'](_0x3a7270,_0x1e32d2);})));}[_0x51f573(0x403)](_0x32362b){return this['_pendingMutations']['push'](_0x32362b),this;}[_0x51f573(0x33f)](_0x33e089){var _0x417c00=_0x51f573;if(this[_0x417c00(0x27a)](_0x33e089))return this[_0x417c00(0xbf)](),this[_0x417c00(0x3c5)][_0x417c00(0x1c7)](exports[_0x417c00(0x3a6)],this[_0x417c00(0x3d6)],this[_0x417c00(0x33c)],this[_0x417c00(0x340)],this[_0x417c00(0x37a)],null,[_0x33e089],this[_0x417c00(0x30d)]);try{const _0x11c98b=this['_transformService']['transformChangesets']([_0x33e089],[this[_0x417c00(0x340)]],!0x1);if(E[_0x417c00(0x28e)](_0x11c98b)){const {c1Prime:_0x4bf169,c2Prime:_0x414cdf}=_0x11c98b,_0xa842a5=this[_0x417c00(0x14f)][_0x417c00(0xb0)](_0x4bf169[0x0],this[_0x417c00(0x37a)]);if(E[_0x417c00(0x3b2)](_0xa842a5)){const {c1Prime:_0x1a22d9,m2Prime:_0x7377f2}=_0xa842a5;return this[_0x417c00(0x16f)](_0x1a22d9),_0x414cdf[0x0][_0x417c00(0x1f1)]=this[_0x417c00(0x3b6)](),this[_0x417c00(0xbf)](),this[_0x417c00(0x3c5)][_0x417c00(0x1c7)](exports['AwaitingWithPendingState'],this[_0x417c00(0x3d6)],this[_0x417c00(0x33c)],_0x414cdf[0x0],_0x7377f2,this['_handler'],void 0x0);}throw _0xa842a5[_0x417c00(0x1f8)];}throw _0x11c98b['error'];}catch(_0xcca586){return this['_logService']['error'](_0xcca586),this[_0x417c00(0xca)](!0x1);}}[_0x51f573(0x37f)](_0x3e1d7b){var _0x5be908=_0x51f573;if(this[_0x5be908(0xbf)](),this[_0x5be908(0x27a)](_0x3e1d7b))return this[_0x5be908(0x3c5)][_0x5be908(0x1c7)](exports['FetchingMissState'],this['unitID'],this['type'],null,this[_0x5be908(0x37a)],this[_0x5be908(0x340)],[],this[_0x5be908(0x30d)]);this[_0x5be908(0x3fc)]();const _0x4dae4b=this[_0x5be908(0x3c5)][_0x5be908(0x1c7)](exports[_0x5be908(0x38b)],this[_0x5be908(0x3d6)],this[_0x5be908(0x33c)],this['_pendingMutations'],this['_handler']);return _0x4dae4b[_0x5be908(0x302)](),_0x4dae4b[_0x5be908(0x1f4)](),_0x4dae4b;}[_0x51f573(0x99)](_0x407738){var _0x1b9ff3=_0x51f573;return this[_0x1b9ff3(0xca)](!!(_0x407738!=null&&_0x407738[_0x1b9ff3(0x222)]));}['onRemoteRetry'](_0x41fa97){var _0x1a93be=_0x51f573;return this[_0x1a93be(0x129)]>It?this[_0x1a93be(0x19f)]():(this[_0x1a93be(0x14d)]=St(this[_0x1a93be(0x129)],{'timeout':this[_0x1a93be(0x129)],'reqId':_0x41fa97[_0x1a93be(0xee)]}),this[_0x1a93be(0x36b)]=this[_0x1a93be(0x14d)][_0x1a93be(0xcd)](({reqId:_0x16d32d,timeout:_0x144274})=>{var _0x4f0ac1=_0x1a93be;this[_0x4f0ac1(0x295)](_0x16d32d,_0x144274);}),this);}[_0x51f573(0x19f)](){var _0x3cf698=_0x51f573;return this[_0x3cf698(0xbf)](),this[_0x3cf698(0x3c5)]['createInstance'](exports[_0x3cf698(0x167)],this[_0x3cf698(0x3d6)],this[_0x3cf698(0x33c)],this[_0x3cf698(0x340)],this[_0x3cf698(0x37a)],this[_0x3cf698(0x30d)]);}['toggleOnline'](){return this;}[_0x51f573(0x244)](){var _0x4da899=_0x51f573;this[_0x4da899(0x30d)][_0x4da899(0x25f)](this['_awaitingChangeset']);}[_0x51f573(0xca)](_0x5d4b7d){var _0x349e3d=_0x51f573;return this[_0x349e3d(0xbf)](),this[_0x349e3d(0x3c5)][_0x349e3d(0x1c7)](exports[_0x349e3d(0x281)],this[_0x349e3d(0x3d6)],this['type'],null,this['_pendingMutations'],this[_0x349e3d(0x30d)],_0x5d4b7d);}['_resendWithTimeout'](_0x2cd639,_0x340aa0){var _0x3eb7e5=_0x51f573,_0x305e01;_0x2cd639===((_0x305e01=this[_0x3eb7e5(0x340)])==null?void 0x0:_0x305e01[_0x3eb7e5(0xee)])&&(this[_0x3eb7e5(0x244)](),this[_0x3eb7e5(0x129)]=_0x340aa0===0x0?0x3e8:_0x340aa0*0x2);}[_0x51f573(0xbf)](){var _0x2cbd94=_0x51f573,_0x2c3b54;(_0x2c3b54=this['_sender'])==null||_0x2c3b54['unsubscribe'](),this[_0x2cbd94(0x129)]=0x0;}},exports[_0x51f573(0x400)]=ae([L(0x6,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x7,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x8,o[_0x51f573(0x310)]),L(0x9,o[_0x51f573(0x163)]),L(0xa,E[_0x51f573(0x140)]),L(0xb,o[_0x51f573(0x102)]),L(0xc,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x400)]),exports[_0x51f573(0x281)]=class extends oe{constructor(_0x37e61f,_0x5eb56f,_0x5ea87a,_0x559d58,_0x443a50,_0x37c53c=!0x1,_0x210cd1,_0x581b56,_0x7b1cbb,_0x2df171,_0x2afd9f,_0x1b4ae2,_0xbb1069){var _0x5ed461=_0x51f573;super(_0x37e61f,_0x5eb56f,_0x5ea87a,_0x559d58,_0x443a50,_0x581b56,_0x7b1cbb,_0x2df171,_0xbb1069),A(this,_0x5ed461(0x2a2),'conflict'),(this[_0x5ed461(0x121)]=_0x37c53c,this[_0x5ed461(0x3e0)]=_0x210cd1,this[_0x5ed461(0x1c3)]=_0x2afd9f,this[_0x5ed461(0x36d)]=_0x1b4ae2,this[_0x5ed461(0x2d3)]=_0xbb1069,this[_0x5ed461(0x2f3)](),this[_0x5ed461(0xd0)](),this['_disableEditing']());}[_0x51f573(0x403)](){return this;}[_0x51f573(0x33f)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x51f573(0x19f)](){return this;}['toggleOnline'](){return this;}[_0x51f573(0x244)](){var _0x5bf20a=_0x51f573;throw new Error(_0x5bf20a(0x234));}[_0x51f573(0xd0)](){var _0x29d049=_0x51f573,_0x50222b;(_0x50222b=this[_0x29d049(0xe4)])==null||_0x50222b[_0x29d049(0x3a0)](this[_0x29d049(0x3d6)],this['type'],null,[]);}[_0x51f573(0x2f3)](){var _0x277569=_0x51f573;this[_0x277569(0x121)]?this[_0x277569(0x36d)][_0x277569(0x276)]({'id':J[_0x277569(0x2d6)]}):this[_0x277569(0x36d)][_0x277569(0x276)]({'id':J[_0x277569(0x150)]});}[_0x51f573(0x354)](){var _0x2c0353=_0x51f573;this[_0x2c0353(0x3e0)][_0x2c0353(0x31c)](new Q[(_0x2c0353(0x391))](this[_0x2c0353(0x3d6)])['id'],!0x1);}},exports[_0x51f573(0x281)]=ae([L(0x6,o[_0x51f573(0x2ba)](o[_0x51f573(0x36f)])),L(0x7,o['ICommandService']),L(0x8,o['IUndoRedoService']),L(0x9,o['Inject'](E[_0x51f573(0x40d)])),L(0xa,o[_0x51f573(0x2ba)](o['LocaleService'])),L(0xb,o[_0x51f573(0x2ba)](ee)),L(0xc,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x281)]),exports[_0x51f573(0x167)]=class extends oe{constructor(_0x350a10,_0x3fa61a,_0x33b6bb,_0x2b00a5,_0x11b83f,_0x2caa51,_0x102f63,_0x162818,_0x4d5bef,_0x287e12){var _0x26ec64=_0x51f573;super(_0x350a10,_0x3fa61a,_0x33b6bb,_0x2b00a5,_0x11b83f,_0x162818,_0x4d5bef,_0x102f63,_0x287e12),A(this,_0x26ec64(0x2a2),_0x26ec64(0x165)),this[_0x26ec64(0x3c5)]=_0x2caa51;}[_0x51f573(0x403)](_0x4442ba){var _0x452c8d=_0x51f573;return this[_0x452c8d(0x37a)]['push'](_0x4442ba),this['_updateLocalCache'](),this;}[_0x51f573(0x33f)](_0x3b832c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x149fd2=_0x51f573;throw new Error(_0x149fd2(0x369));}[_0x51f573(0x99)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x51f573(0x18c)](){return this;}['toggleOffline'](){return this;}[_0x51f573(0x380)](){var _0x434f25=_0x51f573;const {_injector:_0x3379e1,_pendingMutations:_0x2e2106,_awaitingChangeset:_0x5b0645,unitID:_0x370f12,_handler:_0x51742a,type:_0x33a625}=this,_0x4f4b26=ft(_0x3379e1,_0x370f12,_0x33a625,_0x5b0645,_0x2e2106,_0x51742a);return _0x4f4b26 instanceof exports[_0x434f25(0x38b)]?_0x4f4b26['_schedule']():(_0x4f4b26 instanceof exports[_0x434f25(0x400)]||_0x4f4b26 instanceof exports['AwaitingState'])&&_0x4f4b26[_0x434f25(0x244)](),_0x4f4b26;}[_0x51f573(0x244)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x51f573(0x167)]=ae([L(0x5,o[_0x51f573(0x2ba)](o['Injector'])),L(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x7,o[_0x51f573(0x310)]),L(0x8,o[_0x51f573(0x102)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x51f573(0x3a6)]=class extends oe{constructor(_0x521795,_0x23346d,_0x43e3eb,_0x5e3c25,_0x3dbfb2,_0x55fcff,_0x38a004,_0x172825,_0x205f95,_0x88b2ba,_0x47385f,_0x1e23c3,_0x4ce6a8,_0x327844){var _0x5c613c=_0x51f573;super(_0x521795,_0x23346d,_0x43e3eb,_0x5e3c25,_0x38a004,_0x47385f,_0x1e23c3,_0x205f95,_0x327844),A(this,'status',_0x5c613c(0x2e6)),(this[_0x5c613c(0x3f0)]=_0x3dbfb2,this[_0x5c613c(0x190)]=_0x55fcff,this[_0x5c613c(0x3c5)]=_0x172825,this[_0x5c613c(0x22e)]=_0x88b2ba,this[_0x5c613c(0x14f)]=_0x4ce6a8,this['localCacheService']=_0x327844);}[_0x51f573(0x206)](_0x3c7b4a){var _0x460bd8=_0x51f573;try{const _0x1deaac=[..._0x3c7b4a,...this[_0x460bd8(0x190)]],_0xbe284f=[this[_0x460bd8(0x340)]||this[_0x460bd8(0x3f0)]][_0x460bd8(0x290)](_0x45f5d7=>!!_0x45f5d7);let _0x1e4b49,_0x423e48;if(_0xbe284f[_0x460bd8(0x17a)]){const _0x4fc8cb=this[_0x460bd8(0x14f)][_0x460bd8(0x3c9)](_0x1deaac,_0xbe284f,!0x1);if(!E[_0x460bd8(0x28e)](_0x4fc8cb))throw _0x4fc8cb[_0x460bd8(0x1f8)];_0x1e4b49=_0x4fc8cb[_0x460bd8(0x9d)],_0x423e48=_0x4fc8cb[_0x460bd8(0x25e)];}else _0x1e4b49=_0x1deaac,_0x423e48=[];let _0x19d5c5=this[_0x460bd8(0x37a)];_0x1e4b49['forEach'](_0x18fff2=>{var _0x368d94=_0x460bd8;let _0x52f152;if(_0x19d5c5[_0x368d94(0x17a)]){const _0x570d07=this[_0x368d94(0x14f)]['transformMutationsWithChangeset'](_0x18fff2,_0x19d5c5);if(!E[_0x368d94(0x3b2)](_0x570d07))throw _0x570d07['error'];_0x52f152=_0x570d07[_0x368d94(0x9d)],_0x19d5c5=_0x570d07['m2Prime'];}else _0x52f152=_0x18fff2;this[_0x368d94(0x16f)](_0x52f152);}),this[_0x460bd8(0x3f0)]&&this[_0x460bd8(0x3fc)](),this[_0x460bd8(0x340)]&&_0x423e48[_0x460bd8(0x17a)]&&(_0x423e48[0x0][_0x460bd8(0x1f1)]=this[_0x460bd8(0x3b6)]());let _0x2dee80;if(this[_0x460bd8(0x340)]&&_0x19d5c5[_0x460bd8(0x17a)]!==0x0)_0x2dee80=this['_injector'][_0x460bd8(0x1c7)](exports['AwaitingWithPendingState'],this[_0x460bd8(0x3d6)],this[_0x460bd8(0x33c)],_0x423e48[0x0],_0x19d5c5,this[_0x460bd8(0x30d)],void 0x0);else{if(this[_0x460bd8(0x340)]&&_0x19d5c5['length']===0x0)_0x423e48[0x0][_0x460bd8(0x1f1)]=this[_0x460bd8(0x3b6)](),_0x2dee80=this[_0x460bd8(0x3c5)][_0x460bd8(0x1c7)](exports[_0x460bd8(0x251)],this[_0x460bd8(0x3d6)],this['type'],_0x423e48[0x0],this[_0x460bd8(0x30d)]);else{if(_0x19d5c5['length']!==0x0){const _0x580f3d=this['_injector'][_0x460bd8(0x1c7)](exports[_0x460bd8(0x38b)],this[_0x460bd8(0x3d6)],this[_0x460bd8(0x33c)],_0x19d5c5,this[_0x460bd8(0x30d)]);_0x580f3d[_0x460bd8(0x302)](),_0x2dee80=_0x580f3d;}else _0x2dee80=this[_0x460bd8(0x3c5)][_0x460bd8(0x1c7)](exports['SyncedState'],this['unitID'],this['type'],this[_0x460bd8(0x30d)]);}}return _0x2dee80[_0x460bd8(0x1f4)](),_0x2dee80;}catch(_0x3ba97c){return this[_0x460bd8(0x22e)][_0x460bd8(0x1f8)]('[FetchMissState]',_0x460bd8(0x2dc),_0x3ba97c),this[_0x460bd8(0x3c5)]['createInstance'](exports[_0x460bd8(0x281)],this['unitID'],this[_0x460bd8(0x33c)],this[_0x460bd8(0x340)],this[_0x460bd8(0x37a)],this[_0x460bd8(0x30d)],!0x1);}}['resend'](){var _0x352e49=_0x51f573;throw new Error(_0x352e49(0x191));}[_0x51f573(0x403)](_0x483e19){var _0x42b36f=_0x51f573;return this[_0x42b36f(0x37a)][_0x42b36f(0x209)](_0x483e19),this;}[_0x51f573(0x33f)](_0x25df8d){var _0x4c1f56=_0x51f573;return this[_0x4c1f56(0x190)][_0x4c1f56(0x209)](_0x25df8d),this;}[_0x51f573(0x37f)](_0x546c9f){var _0x44c845=_0x51f573;if(this[_0x44c845(0x340)])return this[_0x44c845(0x3f0)]=this[_0x44c845(0x340)],this['_awaitingChangeset']=null,this;throw new Error(_0x44c845(0x180));}[_0x51f573(0x99)](_0x272081){var _0x347533=_0x51f573;return this['_onConflict'](!!(_0x272081!=null&&_0x272081[_0x347533(0x222)]));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x53adc3=_0x51f573;return this[_0x53adc3(0x3c5)]['createInstance'](exports[_0x53adc3(0x167)],this[_0x53adc3(0x3d6)],this[_0x53adc3(0x33c)],this[_0x53adc3(0x340)],this[_0x53adc3(0x37a)],this[_0x53adc3(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0xca)](_0x25f1ff){var _0x5aa87b=_0x51f573;return this['_injector'][_0x5aa87b(0x1c7)](exports[_0x5aa87b(0x281)],this[_0x5aa87b(0x3d6)],this['type'],this[_0x5aa87b(0x340)],this[_0x5aa87b(0x37a)],this['_handler'],_0x25f1ff);}},exports[_0x51f573(0x3a6)]=ae([L(0x7,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x8,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x9,o[_0x51f573(0x163)]),L(0xa,o['ICommandService']),L(0xb,o[_0x51f573(0x102)]),L(0xc,E['ITransformService']),L(0xd,o['Optional'](q))],exports[_0x51f573(0x3a6)]);function ft(_0x83ebce,_0x883451,_0x198739,_0xeacc4,_0x51ebf2,_0x14458e){var _0x1e8eb0=_0x51f573;return _0xeacc4&&_0x51ebf2[_0x1e8eb0(0x17a)]?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x400)],_0x883451,_0x198739,_0xeacc4,_0x51ebf2,_0x14458e,void 0x0):_0xeacc4?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x251)],_0x883451,_0x198739,_0xeacc4,_0x14458e):_0x51ebf2[_0x1e8eb0(0x17a)]?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x38b)],_0x883451,_0x198739,_0x51ebf2,_0x14458e):_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x3ce)],_0x883451,_0x198739,_0x14458e);}var ii=Object['getOwnPropertyDescriptor'],Be=(_0x141a26,_0x4cc656,_0xe3d1c0,_0x2ea50a)=>{var _0x1f128d=_0x51f573;for(var _0x3a5c31=_0x2ea50a>0x1?void 0x0:_0x2ea50a?ii(_0x4cc656,_0xe3d1c0):_0x4cc656,_0x451538=_0x141a26[_0x1f128d(0x17a)]-0x1,_0xad9693;_0x451538>=0x0;_0x451538--)(_0xad9693=_0x141a26[_0x451538])&&(_0x3a5c31=_0xad9693(_0x3a5c31)||_0x3a5c31);return _0x3a5c31;},$=(_0x6a497e,_0x4189bf)=>(_0x10dc5c,_0x3566c5)=>_0x4189bf(_0x10dc5c,_0x3566c5,_0x6a497e);exports['CollaborationEntity']=class extends o[_0x51f573(0xf7)]{constructor(_0x3786fb,_0x2f0672,_0x2c4323,_0x11755a,_0x378e91,_0x7e4ff3,_0x5d175a,_0x46b02e,_0x16da6c,_0x3a449c,_0x943bf7,_0x336dcf,_0xc6563c,_0x29ca89){var _0x27f8ad=_0x51f573;super(),A(this,'_state$',new j['BehaviorSubject'](null)),A(this,_0x27f8ad(0x1c8),this[_0x27f8ad(0x134)][_0x27f8ad(0x1f9)]()),A(this,_0x27f8ad(0xc0)),A(this,'_collaborationPaused',!0x1),A(this,_0x27f8ad(0x181),''),A(this,_0x27f8ad(0xb2),0x0),A(this,_0x27f8ad(0x365),this[_0x27f8ad(0x1c8)]['pipe'](j[_0x27f8ad(0x2a5)](_0x5c409b=>_0x5c409b?_0x5c409b[_0x27f8ad(0x2a2)]:je[_0x27f8ad(0x2a6)]),j[_0x27f8ad(0x377)](0x1))),A(this,_0x27f8ad(0x130),!0x1),A(this,_0x27f8ad(0x1cf),[]),(this['unitID']=_0x3786fb,this[_0x27f8ad(0x32e)]=_0x2f0672,this['_type']=_0x2c4323,this['_injector']=_0x11755a,this[_0x27f8ad(0x248)]=_0x378e91,this[_0x27f8ad(0x1c3)]=_0x7e4ff3,this[_0x27f8ad(0x1a3)]=_0x5d175a,this['_eventService']=_0x46b02e,this[_0x27f8ad(0x293)]=_0x16da6c,this['_logService']=_0x3a449c,this[_0x27f8ad(0x1ac)]=_0x943bf7,this['_permissionService']=_0x336dcf,this['_singleActiveUnitService']=_0xc6563c,this[_0x27f8ad(0xe4)]=_0x29ca89);}get[_0x51f573(0xcc)](){var _0x52c0ee=_0x51f573;return this[_0x52c0ee(0xc0)];}async[_0x51f573(0x22f)](){var _0x17567a=_0x51f573;if(this[_0x17567a(0xcc)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x17567a(0x241)]();}['pauseCollaboration'](){var _0x1f20d6=_0x51f573;return this[_0x1f20d6(0x31b)]=!0x0,o[_0x1f20d6(0x341)](()=>{var _0x4806a5=_0x1f20d6;this[_0x4806a5(0x31b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x51f573(0x323)](_0x16ce64){var _0x8f8166=_0x51f573;this[_0x8f8166(0x12e)](_0x16ce64);}[_0x51f573(0xf6)](_0x5e3080){var _0x2ef9ba=_0x51f573;this[_0x2ef9ba(0xc0)]=_0x5e3080,this[_0x2ef9ba(0x134)][_0x2ef9ba(0x320)](_0x5e3080);}async[_0x51f573(0x241)](){var _0x5e14eb=_0x51f573,_0x496f58;this[_0x5e14eb(0xf6)](await this[_0x5e14eb(0x2db)]()),this[_0x5e14eb(0x1b1)]&&((_0x496f58=this['_singleActiveUnitService'])==null||_0x496f58[_0x5e14eb(0x1eb)](this[_0x5e14eb(0x3d6)]),this[_0x5e14eb(0x230)](this[_0x5e14eb(0x1b1)][_0x5e14eb(0x27d)](this[_0x5e14eb(0x3d6)])[_0x5e14eb(0xcd)](_0x2a7b03=>{var _0x8e8bba=_0x5e14eb;this['_logService'][_0x8e8bba(0x337)]('[CollaborationEntity]',_0x8e8bba(0x38f),_0x2a7b03),_0x2a7b03===He['OTHER_CLIENTS_EDITING']?(this[_0x8e8bba(0x115)]['emitEvent']({'id':J[_0x8e8bba(0x207)]}),this[_0x8e8bba(0x3e0)]['updatePermissionPoint'](new Q[(_0x8e8bba(0x391))](this[_0x8e8bba(0x3d6)])['id'],!0x1),this['_permissionService'][_0x8e8bba(0x41f)](!0x1)):(this['_permissionService'][_0x8e8bba(0x31c)](new Q[(_0x8e8bba(0x391))](this[_0x8e8bba(0x3d6)])['id'],!0x0),this[_0x8e8bba(0x3e0)][_0x8e8bba(0x41f)](!0x0));})));let _0x427be4=!0x1;return this[_0x5e14eb(0x230)](this['session'][_0x5e14eb(0x166)][_0x5e14eb(0xcd)](_0x3cf8b1=>{var _0x42502f=_0x5e14eb;_0x3cf8b1===se[_0x42502f(0x40e)]?this[_0x42502f(0xae)](_0x427be4):_0x3cf8b1===se[_0x42502f(0x2a6)]&&(_0x427be4=!0x0,this[_0x42502f(0x38a)]());})),this[_0x5e14eb(0x230)](this[_0x5e14eb(0x32e)]['event$']['subscribe'](_0x493276=>{var _0x152830=_0x5e14eb;try{switch(_0x493276[_0x152830(0x3db)]){case E[_0x152830(0x1ed)][_0x152830(0x21b)]:{this[_0x152830(0x3fb)](E[_0x152830(0x428)](_0x493276[_0x152830(0x215)]));break;}case E['CollaborationEvent'][_0x152830(0x26b)]:{this[_0x152830(0x349)](_0x493276[_0x152830(0x215)]);break;}case E[_0x152830(0x1ed)][_0x152830(0x109)]:{this[_0x152830(0x24d)]();break;}case E[_0x152830(0x1ed)][_0x152830(0x363)]:{this[_0x152830(0x1ca)](_0x493276[_0x152830(0x215)]);break;}case E[_0x152830(0x1ed)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x493276[_0x152830(0x215)][_0x152830(0x1b4)][_0x152830(0x2a5)](_0x48d531=>E['parseProtocolChangeset'](_0x48d531)));break;}case E[_0x152830(0x1ed)][_0x152830(0x9e)]:{this[_0x152830(0x24d)]({'isPermissionRej':!0x0});break;}case E[_0x152830(0x1ed)][_0x152830(0x252)]:break;}}catch(_0x40c176){throw console[_0x152830(0x1f8)](_0x152830(0xfe),_0x40c176),_0x40c176;}})),this['_state'];}[_0x51f573(0x2ee)](){var _0x4a1d70=_0x51f573;this[_0x4a1d70(0x130)]=!0x1;}[_0x51f573(0x37c)](){var _0x4bf402=_0x51f573;if(this[_0x4bf402(0x130)])throw new Error(_0x4bf402(0x1f2));this[_0x4bf402(0x130)]=!0x0;}[_0x51f573(0x12e)](_0x5baea1){var _0x5ac2a1=_0x51f573;this[_0x5ac2a1(0x37c)](),this['_updateState'](this[_0x5ac2a1(0xc0)]['appendMutation'](_0x5baea1)),this[_0x5ac2a1(0x2ee)]();}[_0x51f573(0x3fb)](_0xd4118){var _0x1a2e64=_0x51f573;if(!(_0xd4118[_0x1a2e64(0x3ee)]<=this[_0x1a2e64(0x1a3)][_0x1a2e64(0x2bc)](this[_0x1a2e64(0x3d6)]))){if(this[_0x1a2e64(0x31b)]){this['_remoteChangesetQueue'][_0x1a2e64(0x209)](_0xd4118);return;}this[_0x1a2e64(0x299)](_0xd4118);}}[_0x51f573(0x2d8)](){var _0x2ca11d=_0x51f573;this['_remoteChangesetQueue'][_0x2ca11d(0x101)](_0x25d5bc=>this[_0x2ca11d(0x299)](_0x25d5bc)),this[_0x2ca11d(0x1cf)]=[];}[_0x51f573(0x299)](_0x2059ee){var _0x5bf7d5=_0x51f573;const _0x503a4e=this[_0x5bf7d5(0x248)]['interceptor'][_0x5bf7d5(0x2e5)](this[_0x5bf7d5(0x248)][_0x5bf7d5(0x249)][_0x5bf7d5(0x156)]()['COMPRESS_MUTATION_APPLY'])(_0x2059ee['mutations'],null)||_0x2059ee['mutations'],_0x1a8432={..._0x2059ee,'mutations':_0x503a4e};this[_0x5bf7d5(0x37c)](),this[_0x5bf7d5(0xf6)](this[_0x5bf7d5(0xc0)][_0x5bf7d5(0x33f)](_0x1a8432)),this[_0x5bf7d5(0x2ee)]();}[_0x51f573(0x349)](_0x20b593){var _0x25dcd6=_0x51f573;this[_0x25dcd6(0x37c)](),this['_updateState'](this['_state'][_0x25dcd6(0x37f)](_0x20b593)),this[_0x25dcd6(0x2ee)]();}['_onRemoteRejected'](_0x676563){var _0x48204e=_0x51f573;this[_0x48204e(0x37c)](),this[_0x48204e(0xf6)](this[_0x48204e(0xc0)][_0x48204e(0x99)](_0x676563)),this[_0x48204e(0x2ee)]();}[_0x51f573(0x1ca)](_0x25b751){var _0x493666=_0x51f573;this[_0x493666(0x37c)](),this[_0x493666(0xf6)](this[_0x493666(0xc0)][_0x493666(0x18c)](_0x25b751)),this['_unlockTransition']();}[_0x51f573(0x3bf)](_0x169985){var _0x46ae06=_0x51f573;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x46ae06(0x426));const _0x103c95=_0x169985[_0x46ae06(0x2a5)](_0x197496=>{var _0x587245=_0x46ae06;const _0x5b4d0e=this[_0x587245(0x248)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x587245(0x249)][_0x587245(0x156)]()['COMPRESS_MUTATION_APPLY'])(_0x197496['mutations'],null)||_0x197496[_0x587245(0x3a9)];return{..._0x197496,'mutations':_0x5b4d0e};});this['_lockTransition'](),this[_0x46ae06(0xf6)](this[_0x46ae06(0xc0)][_0x46ae06(0x206)](_0x103c95)),this[_0x46ae06(0x2ee)]();}['_toggleOffline'](){var _0x204593=_0x51f573;this[_0x204593(0x37c)](),this[_0x204593(0xf6)](this[_0x204593(0xc0)][_0x204593(0x19f)]()),this[_0x204593(0x2ee)]();}[_0x51f573(0xae)](_0x23d5a1=!0x1){var _0x1bc3c9=_0x51f573;this[_0x1bc3c9(0x37c)](),this[_0x1bc3c9(0xf6)](this[_0x1bc3c9(0xc0)][_0x1bc3c9(0x380)]()),this[_0x1bc3c9(0x2ee)]();const _0x4055ec=this[_0x1bc3c9(0xc0)];_0x23d5a1&&_0x4055ec instanceof exports['SyncedState']&&(this[_0x1bc3c9(0x37c)](),this[_0x1bc3c9(0xf6)](_0x4055ec['fetchMiss']()),this['_unlockTransition']());}async[_0x51f573(0x2db)](){return new Promise(_0x994f48=>{var _0x251b5b=_0xf568;this[_0x251b5b(0x32e)][_0x251b5b(0x166)]['pipe'](j[_0x251b5b(0x42a)](0x1))[_0x251b5b(0xcd)](async _0x219c0f=>{var _0x367792=_0x251b5b;_0x994f48(await this['_createInitialStateImpl'](_0x219c0f===se[_0x367792(0x40e)]));});});}[_0x51f573(0x1ce)](){var _0x17749f=_0x51f573;const _0x33fc07=this[_0x17749f(0x3d6)];return{'onStateChange':(_0xebbc32,_0x5a4099)=>{var _0x404f35=_0x17749f;if(_0xebbc32!==this[_0x404f35(0xc0)])throw new Error(_0x404f35(0x1fa)+_0xebbc32[_0x404f35(0x2a2)]+_0x404f35(0x14e)+_0x5a4099[_0x404f35(0x2a2)]+_0x404f35(0x40a)+this['_state']['status']);this[_0x404f35(0xf6)](_0x5a4099);},'onSendChangeset':_0x8d0c58=>{var _0x86050=_0x17749f;_0x8d0c58['sid']||(_0x8d0c58[_0x86050(0x1e9)]=this[_0x86050(0x181)],_0x8d0c58[_0x86050(0xee)]=++this[_0x86050(0xb2)]);const _0x39d450={'eventID':E['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x8d0c58[_0x86050(0x3d6)],'unitType':this['_type'],'changeset':_0x8d0c58,'memberID':this[_0x86050(0x32e)]['getMemberID']()}};this[_0x86050(0x32e)][_0x86050(0x408)](_0x39d450,this[_0x86050(0x3d6)]);},'onMissingChangesets':({from:_0x7ddc0b,to:_0x33297d})=>{var _0x56f2b4=_0x17749f;this[_0x56f2b4(0x22e)][_0x56f2b4(0x337)](_0x56f2b4(0x296),_0x56f2b4(0x330)+_0x7ddc0b+_0x56f2b4(0x247)+_0x33297d);const _0x538f7f={'eventID':E[_0x56f2b4(0x1ed)]['FETCH_MISSING'],'data':{'unitID':_0x33fc07,'unitType':this[_0x56f2b4(0x2f2)],'from':_0x7ddc0b,'to':_0x33297d}};this[_0x56f2b4(0x32e)][_0x56f2b4(0x408)](_0x538f7f,this['unitID']);}};}async[_0x51f573(0x40f)](_0x3149f9){var _0x525d46=_0x51f573,_0xa7c3d2,_0x1b5800,_0x727786;const _0x2ecae4=await((_0xa7c3d2=this[_0x525d46(0xe4)])==null?void 0x0:_0xa7c3d2[_0x525d46(0x374)](this[_0x525d46(0x3d6)])),_0xa0727e=(_0x1b5800=_0x2ecae4==null?void 0x0:_0x2ecae4[_0x525d46(0x3a9)])!=null?_0x1b5800:[],_0x466f27=(_0x727786=_0x2ecae4==null?void 0x0:_0x2ecae4[_0x525d46(0x1b2)])!=null?_0x727786:null,_0x2fd104=!!(_0x466f27!=null&&_0x466f27[_0x525d46(0x1e9)])&&!!(_0x466f27!=null&&_0x466f27[_0x525d46(0xee)]);this[_0x525d46(0x181)]=_0x2fd104?_0x466f27['sid']:E['uuidv4'](),this[_0x525d46(0xb2)]=_0x2fd104?_0x466f27['reqId']:0x0;const _0x12ab07=this[_0x525d46(0x3d6)];try{this[_0x525d46(0xf4)](_0x466f27,_0xa0727e);}catch(_0x100ea8){this[_0x525d46(0x22e)][_0x525d46(0x1f8)](_0x100ea8);}const _0x41675f=this[_0x525d46(0x1ce)]();if(_0x3149f9){const _0x50a13b=ft(this[_0x525d46(0x3c5)],_0x12ab07,this['_type'],_0x466f27,_0xa0727e,_0x41675f);return _0x50a13b instanceof exports[_0x525d46(0x38b)]?_0x50a13b[_0x525d46(0x302)]():(_0x50a13b instanceof exports[_0x525d46(0x400)]||_0x50a13b instanceof exports['AwaitingState'])&&_0x50a13b['resend'](),_0x50a13b;}return this[_0x525d46(0x3c5)][_0x525d46(0x1c7)](exports[_0x525d46(0x167)],_0x12ab07,this[_0x525d46(0x2f2)],_0x466f27,_0xa0727e,_0x41675f);}[_0x51f573(0xf4)](_0x14e160,_0x16fdc6){var _0x4beebf=_0x51f573,_0x5acf7f,_0x3f8121;const _0x2a7cbb=this[_0x4beebf(0x248)][_0x4beebf(0x249)]['fetchThroughInterceptors'](this[_0x4beebf(0x248)][_0x4beebf(0x249)][_0x4beebf(0x156)]()[_0x4beebf(0x10b)]);(_0x5acf7f=_0x2a7cbb((_0x14e160==null?void 0x0:_0x14e160[_0x4beebf(0x3a9)])||[],null))==null||_0x5acf7f[_0x4beebf(0x101)](_0x2717c0=>this[_0x4beebf(0x1ac)][_0x4beebf(0x3ae)](_0x2717c0['id'],_0x2717c0['params'])),(_0x3f8121=_0x2a7cbb(_0x16fdc6||[],null))==null||_0x3f8121[_0x4beebf(0x101)](_0x36238d=>this['_commandService']['executeCommand'](_0x36238d['id'],_0x36238d['params']));}},exports[_0x51f573(0x126)]=Be([$(0x3,o[_0x51f573(0x2ba)](o['Injector'])),$(0x4,o[_0x51f573(0x2ba)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](ee)),$(0x8,o[_0x51f573(0x168)]),$(0x9,o[_0x51f573(0x163)]),$(0xa,o[_0x51f573(0x310)]),$(0xb,o[_0x51f573(0x36f)]),$(0xc,o[_0x51f573(0x366)](ve)),$(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x126)]),exports[_0x51f573(0x18d)]=class extends exports[_0x51f573(0x126)]{constructor(_0x3d3eeb,_0x524372,_0x2521a9,_0x431895,_0x24b4eb,_0x42d115,_0x5a9b8d,_0x5e36f9,_0x3110f5,_0x308923,_0x3bfaae,_0x413798,_0x10bd97,_0x4037d1){var _0x5ed224=_0x51f573;super(_0x3d3eeb,_0x2521a9,_0x524372,_0x431895,_0x24b4eb,_0x42d115,_0x5a9b8d,_0x5e36f9,_0x3110f5,_0x308923,_0x3bfaae,_0x413798,_0x10bd97,_0x4037d1),A(this,_0x5ed224(0x260),null),(this[_0x5ed224(0x3d6)]=_0x3d3eeb,this[_0x5ed224(0x33c)]=_0x524372);}[_0x51f573(0x291)](_0x574c3b){var _0x4233e1=_0x51f573;this[_0x4233e1(0x260)]=_0x574c3b;}[_0x51f573(0x27e)](){var _0x284f53=_0x51f573;this[_0x284f53(0x260)]=null,super[_0x284f53(0x27e)]();}['_createHandler'](){var _0x292124=_0x51f573;const _0xb08972=super[_0x292124(0x1ce)]();return _0xb08972[_0x292124(0x39d)]=_0x3d5b5e=>{var _0x4ccf92=_0x292124,_0x1dbc2d,_0x981531;return(_0x981531=(_0x1dbc2d=this[_0x4ccf92(0x260)])==null?void 0x0:_0x1dbc2d[_0x4ccf92(0x39d)])==null?void 0x0:_0x981531[_0x4ccf92(0x31f)](_0x1dbc2d,_0x3d5b5e);},_0xb08972[_0x292124(0x94)]=_0x5a180a=>{var _0x43c230=_0x292124,_0x3399b6,_0x5aa9d7;return(_0x5aa9d7=(_0x3399b6=this[_0x43c230(0x260)])==null?void 0x0:_0x3399b6[_0x43c230(0x94)])==null?void 0x0:_0x5aa9d7[_0x43c230(0x31f)](_0x3399b6,_0x5a180a);},_0xb08972[_0x292124(0x107)]=_0x1dcf21=>{var _0x335751=_0x292124,_0x2305df,_0xd4536b;return(_0xd4536b=(_0x2305df=this[_0x335751(0x260)])==null?void 0x0:_0x2305df[_0x335751(0x107)])==null?void 0x0:_0xd4536b[_0x335751(0x31f)](_0x2305df,_0x1dcf21);},_0xb08972[_0x292124(0x3e9)]=_0xd83953=>{var _0x9e81e8=_0x292124,_0xbaeb71,_0x45e0cd;return(_0x45e0cd=(_0xbaeb71=this[_0x9e81e8(0x260)])==null?void 0x0:_0xbaeb71[_0x9e81e8(0x3e9)])==null?void 0x0:_0x45e0cd[_0x9e81e8(0x31f)](_0xbaeb71,_0xd83953);},_0xb08972[_0x292124(0x3cd)]=_0x454b1e=>{var _0x375238=_0x292124,_0x3fa345,_0x50b5c,_0x431faf;if(!((_0x3fa345=this[_0x375238(0x260)])!=null&&_0x3fa345[_0x375238(0x3cd)]))throw new Error(_0x375238(0x218));return(_0x431faf=(_0x50b5c=this[_0x375238(0x260)])==null?void 0x0:_0x50b5c[_0x375238(0x3cd)])==null?void 0x0:_0x431faf[_0x375238(0x31f)](_0x50b5c,_0x454b1e);},_0xb08972['onTransformRemoteChangesetByStateCache']=_0x3c00af=>{var _0x5ca49c=_0x292124,_0x55f95f,_0x4e9b0f,_0x1634bb;if(!((_0x55f95f=this[_0x5ca49c(0x260)])!=null&&_0x55f95f[_0x5ca49c(0x392)]))throw new Error(_0x5ca49c(0x1e6));return(_0x1634bb=(_0x4e9b0f=this[_0x5ca49c(0x260)])==null?void 0x0:_0x4e9b0f[_0x5ca49c(0x392)])==null?void 0x0:_0x1634bb['call'](_0x4e9b0f,_0x3c00af);},_0xb08972;}async[_0x51f573(0x241)](){var _0x4228b1=_0x51f573;const _0x2b6825=await super['_init']();return this[_0x4228b1(0x230)](this['_commandService'][_0x4228b1(0x1dc)]((_0x23ee73,_0xf8a548)=>{var _0x30f4ae=_0x4228b1;if(_0x23ee73['type']!==o[_0x30f4ae(0x356)][_0x30f4ae(0x387)]||_0xf8a548!=null&&_0xf8a548[_0x30f4ae(0xf8)]||_0xf8a548!=null&&_0xf8a548[_0x30f4ae(0x95)]||_0x23ee73['id']===ct[_0x30f4ae(0x406)]['id'])return;const _0x3bfbc3=_0x23ee73[_0x30f4ae(0x2b8)];if((_0x3bfbc3==null?void 0x0:_0x3bfbc3[_0x30f4ae(0x32f)])!==this[_0x30f4ae(0x3d6)])return;const _0x502f92=_0x23ee73,_0x4f4645=this[_0x30f4ae(0x248)][_0x30f4ae(0x249)][_0x30f4ae(0x2e5)](this[_0x30f4ae(0x248)][_0x30f4ae(0x249)][_0x30f4ae(0x156)]()[_0x30f4ae(0x2c3)])([_0x502f92],this[_0x30f4ae(0x293)])||[_0x502f92];this[_0x30f4ae(0x12e)](_0x4f4645[0x0]);})),_0x2b6825;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),$(0x4,o['Inject'](E['CompressMutationService'])),$(0x5,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](ee)),$(0x8,o[_0x51f573(0x168)]),$(0x9,o[_0x51f573(0x163)]),$(0xa,o['ICommandService']),$(0xb,o[_0x51f573(0x36f)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x18d)]),exports['SheetCollaborationEntity']=class extends exports[_0x51f573(0x126)]{constructor(_0x55b5c1,_0x3c19cc,_0x17d8b5,_0x35601c,_0x3c6197,_0xcab8ea,_0x49e6f1,_0x5be873,_0x359658,_0x1a3ba6,_0x24d8ad,_0x4d14bf,_0x14eaff,_0x5e65d9,_0xff86b0){var _0x4c69db=_0x51f573;super(_0x55b5c1,_0x17d8b5,_0x3c19cc,_0x35601c,_0x3c6197,_0xcab8ea,_0x49e6f1,_0x359658,_0x1a3ba6,_0x24d8ad,_0x4d14bf,_0x14eaff,_0x5e65d9,_0xff86b0),this[_0x4c69db(0x3d6)]=_0x55b5c1,this['type']=_0x3c19cc,this[_0x4c69db(0x35d)]=_0x5be873;}[_0x51f573(0x1ce)](){var _0x145c89=_0x51f573;const _0xb14538=super[_0x145c89(0x1ce)]();return _0xb14538[_0x145c89(0x107)]=_0x5f3f76=>this[_0x145c89(0x35d)][_0x145c89(0x160)](_0x5f3f76),_0xb14538;}async['_init'](){var _0x5059a3=_0x51f573;const _0x37fd74=await super['_init']();return this[_0x5059a3(0x230)](this['_commandService'][_0x5059a3(0x1dc)]((_0x469ac,_0x232129)=>{var _0x39be98=_0x5059a3;if(_0x469ac[_0x39be98(0x33c)]!==o[_0x39be98(0x356)][_0x39be98(0x387)]||_0x232129!=null&&_0x232129[_0x39be98(0xf8)]||_0x232129!=null&&_0x232129[_0x39be98(0x95)])return;const _0x55c612=_0x469ac['params'];if((_0x55c612==null?void 0x0:_0x55c612['unitId'])!==this[_0x39be98(0x3d6)])return;const _0xfa9c1e=_0x469ac,_0x14e1c9=this[_0x39be98(0x248)][_0x39be98(0x249)][_0x39be98(0x2e5)](this['_compressMutationService'][_0x39be98(0x249)][_0x39be98(0x156)]()[_0x39be98(0x2c3)])([_0xfa9c1e],this[_0x39be98(0x293)])||[_0xfa9c1e];this[_0x39be98(0x12e)](_0x14e1c9[0x0]);})),_0x37fd74;}},exports[_0x51f573(0x17c)]=Be([$(0x3,o[_0x51f573(0x2ba)](o['Injector'])),$(0x4,o[_0x51f573(0x2ba)](E[_0x51f573(0xe5)])),$(0x5,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](exports[_0x51f573(0x316)])),$(0x8,o[_0x51f573(0x2ba)](ee)),$(0x9,o[_0x51f573(0x168)]),$(0xa,o[_0x51f573(0x163)]),$(0xb,o[_0x51f573(0x310)]),$(0xc,o[_0x51f573(0x36f)]),$(0xd,o['Optional'](ve)),$(0xe,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x17c)]);const Et=o[_0x51f573(0x2bb)](_0x51f573(0x177));function pt(_0x50fd4d){var _0x5800cc=_0x51f573,_0x542ffd,_0x3f3950,_0x2a7ddf,_0x1fcc26,_0x12ec62;const _0x5a6e85=_0x50fd4d['data'],_0x1d6e57=JSON[_0x5800cc(0xa4)](_0x5a6e85);switch(_0x1d6e57[_0x5800cc(0x34a)]){case W[_0x5800cc(0x298)]:case W[_0x5800cc(0xb5)]:{const _0x57481b=_0x1d6e57[_0x5800cc(0x1aa)];return{..._0x1d6e57,'data':_0x57481b,'cmd':_0x1d6e57['cmd']};}case W[_0x5800cc(0x1dd)]:{const _0x817e5=_0x1d6e57[_0x5800cc(0x214)];return{..._0x1d6e57,'data':_0x817e5,'cmd':_0x1d6e57[_0x5800cc(0x34a)]};}case W['RECV']:{const _0x57f2fb=_0x1d6e57[_0x5800cc(0x1c5)];switch(_0x57f2fb[_0x5800cc(0x3db)]){case E['CollaborationEvent'][_0x5800cc(0x9e)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x542ffd=_0x57f2fb[_0x5800cc(0xd8)])==null?void 0x0:_0x542ffd['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x26b)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x3f3950=_0x57f2fb[_0x5800cc(0x170)])==null?void 0x0:_0x3f3950['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x21b)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x2a7ddf=_0x57f2fb[_0x5800cc(0x2a0)])==null?void 0x0:_0x2a7ddf['cs']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)]['CHANGESET_REJ']:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x1fcc26=_0x57f2fb[_0x5800cc(0xf2)])==null?void 0x0:_0x1fcc26['cs']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x363)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x12ec62=_0x57f2fb[_0x5800cc(0xc8)])==null?void 0x0:_0x12ec62['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x34c)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x300)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x405)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb['joinEvent']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x21f)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x359)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x1e2)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1ae)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x2ff)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x16c)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x104)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1ae)]},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x159)]:return{..._0x1d6e57,'data':_0x57f2fb,'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x1f7)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x153)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E['CollaborationEvent'][_0x5800cc(0x259)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1d7)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x110)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x376)]},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x252)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x39c)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};default:return _0x1d6e57;}}default:return _0x1d6e57;}}function mt(_0x1e27a3){var _0x233548=_0x51f573;switch(_0x1e27a3[_0x233548(0x34a)]){case W[_0x233548(0x298)]:case W[_0x233548(0xb5)]:return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3['routeKey']});case W[_0x233548(0x38d)]:{let _0x13a9cb;switch(_0x1e27a3[_0x233548(0x215)][_0x233548(0x3db)]){case E[_0x233548(0x1ed)][_0x233548(0x34c)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x34c)],'updateCursorEvent':_0x1e27a3['data'][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x21f)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x21f)],'leaveEvent':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x405)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x405)],'joinEvent':_0x1e27a3['data'][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x1e2)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x1e2)],'liveShareNewHost':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x2ac)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x2ac)],'liveShareOperation':_0x1e27a3['data']['data']};break;}case E[_0x233548(0x1ed)][_0x233548(0x104)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x104)],'liveShareTerminate':_0x1e27a3[_0x233548(0x215)]['data']};break;}case E['CollaborationEvent'][_0x233548(0x333)]:{_0x13a9cb={'eventID':E['CollaborationEvent'][_0x233548(0x333)],'liveShareRequestHost':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)]['LIVESHARE_FETCH_OPERATIONS']:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x2ff)]};break;}default:_0x13a9cb={'eventID':_0x1e27a3['data']['eventID']};}return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'collaMsg':_0x13a9cb});}case W['JOIN']:return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'joinReq':_0x1e27a3[_0x233548(0x215)]});case W[_0x233548(0x3b3)]:return JSON['stringify']({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'leaveReq':_0x1e27a3[_0x233548(0x215)]});default:throw new Error(_0x233548(0x2a8));}}var ni=Object[_0x51f573(0x395)],si=(_0x51092d,_0x567fad,_0x44d983,_0x325bb2)=>{var _0x825fe1=_0x51f573;for(var _0x3afcdf=_0x325bb2>0x1?void 0x0:_0x325bb2?ni(_0x567fad,_0x44d983):_0x567fad,_0x2d20b7=_0x51092d[_0x825fe1(0x17a)]-0x1,_0xf5966;_0x2d20b7>=0x0;_0x2d20b7--)(_0xf5966=_0x51092d[_0x2d20b7])&&(_0x3afcdf=_0xf5966(_0x3afcdf)||_0x3afcdf);return _0x3afcdf;},_e=(_0x3b51cd,_0x91d355)=>(_0x29108a,_0xda28f9)=>_0x91d355(_0x29108a,_0xda28f9,_0x3b51cd);const Fe=o[_0x51f573(0x2bb)](_0x51f573(0x351));function ri(_0x17977b,_0x166059,_0x4c5e79){var _0x2fe851=_0x51f573;return _0x17977b+'/'+_0x166059+_0x2fe851(0x225)+_0x4c5e79+_0x2fe851(0x32c);}exports[_0x51f573(0x23b)]=class extends o[_0x51f573(0x1f3)]{constructor(_0x105890,_0x326109,_0x4935c3,_0x249fff,_0x49e9d2){var _0xa145ef=_0x51f573;super(),this[_0xa145ef(0x3c5)]=_0x105890,this['_httpService']=_0x326109,this[_0xa145ef(0x373)]=_0x4935c3,this[_0xa145ef(0x22e)]=_0x249fff,this['_snapshotServerService']=_0x49e9d2;}[_0x51f573(0x3b9)](_0x27f702){var _0x2e3b51=_0x51f573;const _0x4dd10b=this[_0x2e3b51(0x3c5)][_0x2e3b51(0x33d)](K[_0x2e3b51(0x2d4)]);if(!_0x4dd10b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2376e0=_0x4dd10b[_0x2e3b51(0x407)](_0x27f702);if(!_0x2376e0)throw new Error(_0x2e3b51(0xe3));const _0x41b42b=new o[(_0x2e3b51(0x105))](),_0x27ba6a=new j[(_0x2e3b51(0x243))]();_0x41b42b['add'](_0x2376e0[_0x2e3b51(0x1a0)]['subscribe'](_0x21d8d0=>_0x27ba6a['next'](_0x21d8d0))),_0x41b42b[_0x2e3b51(0x32b)](o[_0x2e3b51(0x341)](()=>_0x27ba6a[_0x2e3b51(0x412)]()));const _0x576c3e=new j['Subject']();_0x41b42b[_0x2e3b51(0x32b)](_0x2376e0[_0x2e3b51(0x2e4)][_0x2e3b51(0xcd)](_0x353d35=>_0x576c3e['next'](_0x353d35))),_0x41b42b[_0x2e3b51(0x32b)](o[_0x2e3b51(0x341)](()=>_0x576c3e['complete']()));const _0x416bc0=new j[(_0x2e3b51(0x243))]();_0x41b42b[_0x2e3b51(0x32b)](_0x2376e0[_0x2e3b51(0x3ef)][_0x2e3b51(0xcd)](_0x1b9f27=>{var _0x55863e=_0x2e3b51;const _0x1be65c=pt(_0x1b9f27);_0x416bc0[_0x55863e(0x320)](_0x1be65c);})),_0x41b42b['add'](o[_0x2e3b51(0x341)](()=>_0x416bc0[_0x2e3b51(0x412)]()));let _0x379663;const _0x31bb5f=()=>{var _0x390b4b=_0x2e3b51;_0x576c3e[_0x390b4b(0x320)](new Event(_0x390b4b(0x2fd))),_0x27ba6a[_0x390b4b(0x320)](new Event(_0x390b4b(0x2fd))),_0x379663['close']();};return _0x379663={'memberID':'','close$':_0x27ba6a[_0x2e3b51(0x1f9)](),'error$':_0x576c3e[_0x2e3b51(0x1f9)](),'open$':_0x2376e0[_0x2e3b51(0x1ab)],'message$':_0x416bc0[_0x2e3b51(0x1f9)](),'send':_0x4ad91a=>{var _0x95c6c6=_0x2e3b51;if(_0x4ad91a['cmd']===W[_0x95c6c6(0x38d)]){if(_0x4ad91a['data'][_0x95c6c6(0x3db)]===E[_0x95c6c6(0x1ed)][_0x95c6c6(0x1b6)]){this[_0x95c6c6(0x345)](_0x379663,_0x4ad91a[_0x95c6c6(0x215)])['catch'](_0x4918d1=>{var _0x33e80d=_0x95c6c6;this[_0x33e80d(0x22e)][_0x33e80d(0x1f8)](_0x4918d1),_0x31bb5f();});return;}if(_0x4ad91a[_0x95c6c6(0x215)][_0x95c6c6(0x3db)]===E[_0x95c6c6(0x1ed)][_0x95c6c6(0x253)]){const _0x433874=_0x4ad91a[_0x95c6c6(0x215)];this[_0x95c6c6(0x186)](_0x433874)[_0x95c6c6(0x1e1)](_0x38cb2f=>{var _0xd701c8=_0x95c6c6;_0x416bc0['next']({'cmd':W[_0xd701c8(0x3d2)],'code':re['OK'],'routeKey':_0x433874[_0xd701c8(0x215)][_0xd701c8(0x3d6)],'routeType':'','data':{'eventID':E[_0xd701c8(0x1ed)][_0xd701c8(0x219)],'data':{'changesets':_0x38cb2f}}});})[_0x95c6c6(0x10f)](_0x2c5554=>{var _0x183783=_0x95c6c6;this[_0x183783(0x22e)][_0x183783(0x1f8)](_0x2c5554),_0x31bb5f();});return;}}_0x2376e0[_0x95c6c6(0x408)](mt(_0x4ad91a));},'close':()=>{var _0x512790=_0x2e3b51;_0x2376e0[_0x512790(0x1ff)](),_0x41b42b['dispose']();}},_0x379663;}async[_0x51f573(0x345)](_0x16d2ec,_0x4852e3){var _0x46fdaf=_0x51f573,_0xe8a592;const {unitType:_0x8c2ee9,unitID:_0x2d8a36,changeset:_0x48381e}=_0x4852e3[_0x46fdaf(0x215)],_0x5339ea={'unitID':_0x2d8a36,'memberID':_0x16d2ec['memberID'],'type':_0x8c2ee9,'changeset':E[_0x46fdaf(0x238)](_0x48381e)},_0x49defe=this[_0x46fdaf(0x373)][_0x46fdaf(0x1c9)](Y),_0xd2c0d=ri((_0xe8a592=_0x49defe==null?void 0x0:_0x49defe['collabSubmitChangesetUrl'])!=null?_0xe8a592:kt,_0x8c2ee9,_0x2d8a36);try{await this['_httpService']['post'](_0xd2c0d,{'body':_0x5339ea});}catch(_0x279c94){throw this['_logService']['error'](_0x46fdaf(0x112),'submit\x20changeset\x20error!'),_0x279c94;}}async[_0x51f573(0x186)](_0x32f1fd){var _0x18eddc=_0x51f573;const {unitID:_0x216e08,from:_0x1b0bb4,to:_0x248691,unitType:_0x5c399c}=_0x32f1fd['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x216e08,'type':_0x5c399c,'from':_0x1b0bb4,'to':_0x248691}))['changesets'][_0x18eddc(0x2a5)](_0xd9737c=>((_0xd9737c['mutations']===null||_0xd9737c[_0x18eddc(0x3a9)]===void 0x0)&&(_0xd9737c[_0x18eddc(0x3a9)]=[]),_0xd9737c));}},exports[_0x51f573(0x23b)]=si([_e(0x0,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),_e(0x1,o['Inject'](K['HTTPService'])),_e(0x2,o['IConfigService']),_e(0x3,o[_0x51f573(0x163)]),_e(0x4,E[_0x51f573(0x122)])],exports[_0x51f573(0x23b)]);var ai=Object[_0x51f573(0x395)],oi=(_0x5be7aa,_0x46ff9f,_0x36cf09,_0x197832)=>{var _0x1fcc18=_0x51f573;for(var _0x7f6e47=_0x197832>0x1?void 0x0:_0x197832?ai(_0x46ff9f,_0x36cf09):_0x46ff9f,_0x4691a3=_0x5be7aa[_0x1fcc18(0x17a)]-0x1,_0xdad851;_0x4691a3>=0x0;_0x4691a3--)(_0xdad851=_0x5be7aa[_0x4691a3])&&(_0x7f6e47=_0xdad851(_0x7f6e47)||_0x7f6e47);return _0x7f6e47;},he=(_0x2ca4b4,_0x1a2e0f)=>(_0x4b8b62,_0x5d6b2d)=>_0x1a2e0f(_0x4b8b62,_0x5d6b2d,_0x2ca4b4);exports[_0x51f573(0x40b)]=class extends o[_0x51f573(0x1f3)]{constructor(_0x200a30,_0x32df24,_0x21e270,_0x242e62,_0x5dfbd1,_0x28094e){var _0x22d8c4=_0x51f573;super(),A(this,'_socket$',new j[(_0x22d8c4(0x413))](void 0x0)),A(this,_0x22d8c4(0x250),this[_0x22d8c4(0x40c)][_0x22d8c4(0x1f9)]()),A(this,'_candidateSocket',null),A(this,_0x22d8c4(0x22d),new Map()),A(this,_0x22d8c4(0x28f),new j[(_0x22d8c4(0x413))](se[_0x22d8c4(0x2e1)])),A(this,'status$',this['_status$']['asObservable']()),A(this,_0x22d8c4(0x23c),!0x1),A(this,_0x22d8c4(0x15d)),A(this,'_retryCount',0x0),A(this,_0x22d8c4(0x3bb)),A(this,'_timeoutTimer'),(this[_0x22d8c4(0x3c5)]=_0x200a30,this[_0x22d8c4(0x22e)]=_0x32df24,this[_0x22d8c4(0x373)]=_0x21e270,this[_0x22d8c4(0xde)]=_0x242e62,this[_0x22d8c4(0x36d)]=_0x5dfbd1,this[_0x22d8c4(0x35b)]=_0x28094e,this[_0x22d8c4(0x128)]());}get['_socket'](){var _0x4113d1=_0x51f573;return this[_0x4113d1(0x40c)][_0x4113d1(0x3e8)]();}[_0x51f573(0x128)](){var _0x4699d2=_0x51f573;this[_0x4699d2(0x35b)]&&this['disposeWithMe'](this[_0x4699d2(0x35b)][_0x4699d2(0x2b0)][_0x4699d2(0xcd)](_0x2f413c=>{var _0x57636c=_0x4699d2;_0x2f413c&&!this[_0x57636c(0x3d0)]&&this[_0x57636c(0x1d3)](),_0x2f413c||this[_0x57636c(0x34b)]();}));}[_0x51f573(0x27e)](){var _0x3cbc2c=_0x51f573;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x3cbc2c(0xe6)](),this[_0x3cbc2c(0x10a)](),this[_0x3cbc2c(0x22d)]['forEach'](_0x77a3ff=>_0x77a3ff[_0x3cbc2c(0x27e)]()),this[_0x3cbc2c(0x22d)]['clear'](),this[_0x3cbc2c(0x28f)]['complete']();}async['requireSession'](_0x18e230){var _0x50440c=_0x51f573;if(this[_0x50440c(0x22d)][_0x50440c(0x3df)](_0x18e230))return this['_sessions'][_0x50440c(0x33d)](_0x18e230);this[_0x50440c(0x137)]();const _0x23eb10=this[_0x50440c(0x3c5)][_0x50440c(0x1c7)](exports[_0x50440c(0x236)],_0x18e230,this['_socket$']['asObservable']());return this[_0x50440c(0x22d)][_0x50440c(0x28a)](_0x18e230,_0x23eb10),_0x23eb10;}['closeSession'](_0x3ae556){var _0x5bde36=_0x51f573,_0x37d0bc;const _0x5d926d=this['_sessions'][_0x5bde36(0x33d)](_0x3ae556);_0x5d926d&&(this[_0x5bde36(0x22d)][_0x5bde36(0x3a1)](_0x3ae556),_0x5d926d[_0x5bde36(0x1ff)]()),this[_0x5bde36(0x22d)]['size']||(_0x37d0bc=this[_0x5bde36(0x3d0)])==null||_0x37d0bc[_0x5bde36(0x1ff)]();}['reconnect'](){var _0x507049=_0x51f573;this['_retryCount']=0x0,this[_0x507049(0xc4)](),this[_0x507049(0x2f8)]();}[_0x51f573(0xc4)](){var _0x555970=_0x51f573;this[_0x555970(0x15d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x555970(0x15d)]=null);}async['_createSocket'](){var _0xd9a862=_0x51f573,_0x2a2e27;const _0x2a2d56=this[_0xd9a862(0x373)][_0xd9a862(0x1c9)](Y),_0x4cafc4=(_0x2a2e27=_0x2a2d56==null?void 0x0:_0x2a2d56[_0xd9a862(0xa6)])!=null?_0x2a2e27:ht,_0x3d4051=await this[_0xd9a862(0xde)][_0xd9a862(0x407)](_0x4cafc4);return this[_0xd9a862(0x1bd)]=_0x3d4051,_0x3d4051;}async[_0x51f573(0x137)](){var _0x2e9d60=_0x51f573,_0x39737d,_0x4fe832;try{const _0x7cf339=(_0x4fe832=(_0x39737d=this['_socket'])!=null?_0x39737d:this[_0x2e9d60(0x1bd)])!=null?_0x4fe832:await this[_0x2e9d60(0x2ca)]();if(_0x7cf339){const _0x5d3912=_0x7cf339['send'];_0x7cf339['send']=_0x43a5cf=>(this[_0x2e9d60(0xa7)](),_0x5d3912[_0x2e9d60(0x23f)](_0x7cf339,[_0x43a5cf])),_0x7cf339[_0x2e9d60(0x3ef)][_0x2e9d60(0xcd)](_0x1dd04f=>this[_0x2e9d60(0x263)](_0x7cf339,_0x1dd04f)),_0x7cf339[_0x2e9d60(0x2e4)][_0x2e9d60(0x3aa)](V[_0x2e9d60(0x42a)](0x1))[_0x2e9d60(0xcd)](_0x46cc7d=>this[_0x2e9d60(0x22e)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x46cc7d)),_0x7cf339[_0x2e9d60(0x1ab)][_0x2e9d60(0x3aa)](V[_0x2e9d60(0x42a)](0x1))[_0x2e9d60(0xcd)](()=>{this['_onConnectionOpen'](_0x7cf339);}),_0x7cf339[_0x2e9d60(0x1a0)][_0x2e9d60(0x3aa)](V['take'](0x1))[_0x2e9d60(0xcd)](_0x297207=>{var _0x4c5549=_0x2e9d60;this[_0x4c5549(0x22e)][_0x4c5549(0x337)]('[CollaborationSessionService]',_0x4c5549(0x28b),_0x297207),this[_0x4c5549(0x143)]();});}}catch(_0x28c913){this[_0x2e9d60(0x22e)][_0x2e9d60(0x1f8)](_0x28c913),this[_0x2e9d60(0x143)]();}}[_0x51f573(0x385)](_0x203b55){var _0x36f3d5=_0x51f573;this[_0x36f3d5(0x22e)][_0x36f3d5(0x337)](_0x36f3d5(0x35a),'socket\x20open.'),_0x203b55[_0x36f3d5(0x408)]({'cmd':W[_0x36f3d5(0xb5)]}),this[_0x36f3d5(0xa7)]();}[_0x51f573(0x34b)](){var _0x52757c=_0x51f573;this[_0x52757c(0x23c)]=!0x1,this[_0x52757c(0x1bd)]=null,this[_0x52757c(0x28f)][_0x52757c(0x320)](se[_0x52757c(0x2a6)]),this['_socket$'][_0x52757c(0x320)](null),this[_0x52757c(0xe6)](),this[_0x52757c(0x10a)]();}[_0x51f573(0x143)](){var _0x240e27=_0x51f573,_0x4df106;this[_0x240e27(0x34b)](),this[_0x240e27(0x93)]<((_0x4df106=this[_0x240e27(0x373)][_0x240e27(0x1c9)](ut))!=null?_0x4df106:Mt)?(this[_0x240e27(0x36d)][_0x240e27(0x276)]({'id':J[_0x240e27(0x12c)]}),this[_0x240e27(0x2f8)]()):this['_collaborationUIEventService'][_0x240e27(0x276)]({'id':J[_0x240e27(0x424)]});}[_0x51f573(0x2f8)](){var _0x57e96a=_0x51f573,_0x1a196e;const _0x1b9208=this[_0x57e96a(0x93)],_0x45bb48=this[_0x57e96a(0x373)]['getConfig'](Y),_0x3e30b0=_0x1b9208===0x0?0x0:((_0x1a196e=_0x45bb48==null?void 0x0:_0x45bb48[_0x57e96a(0x1e4)])!=null?_0x1a196e:Lt)*0x2**_0x1b9208;this['_retryConnectingTimer']=setTimeout(()=>{var _0x46a7f3=_0x57e96a;clearTimeout(this[_0x46a7f3(0x15d)]),this[_0x46a7f3(0x15d)]=null,this['_tryEnsureSocket']();},_0x3e30b0),this['_retryCount']+=0x1;}[_0x51f573(0x263)](_0x4078fb,_0x135e45){var _0x3cef22=_0x51f573;const {cmd:_0x17101d}=_0x135e45;_0x17101d===W[_0x3cef22(0xb5)]&&!this[_0x3cef22(0x23c)]&&(_0x4078fb[_0x3cef22(0x270)]=_0x135e45[_0x3cef22(0x215)][_0x3cef22(0x270)],this[_0x3cef22(0x40c)][_0x3cef22(0x320)](_0x4078fb),this['_status$'][_0x3cef22(0x320)](se['ONLINE']),this[_0x3cef22(0x23c)]=!0x0,this[_0x3cef22(0x1bd)]=null),_0x17101d===W['HEARTBEAT']&&this[_0x3cef22(0xe6)](),this[_0x3cef22(0xa7)]();}[_0x51f573(0xa7)](){var _0x2efa20=_0x51f573,_0x3163e1;this[_0x2efa20(0x10a)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2efa20(0x419)](),(_0x3163e1=this[_0x2efa20(0x373)][_0x2efa20(0x1c9)](_t))!=null?_0x3163e1:Pt);}[_0x51f573(0x419)](){var _0x267db2=_0x51f573;this[_0x267db2(0x3d0)][_0x267db2(0x408)]({'cmd':W[_0x267db2(0x298)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x49f350=_0x51f573,_0x4ff5c1;this[_0x49f350(0x147)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4ff5c1=this[_0x49f350(0x373)][_0x49f350(0x1c9)](ke))!=null?_0x4ff5c1:lt);}[_0x51f573(0x10a)](){var _0x46e5de=_0x51f573;this[_0x46e5de(0x3bb)]!=null&&(clearTimeout(this[_0x46e5de(0x3bb)]),this[_0x46e5de(0x3bb)]=null);}[_0x51f573(0xe6)](){var _0x56713e=_0x51f573;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x56713e(0x147)]=null);}},exports[_0x51f573(0x40b)]=oi([he(0x0,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),he(0x1,o[_0x51f573(0x163)]),he(0x2,o[_0x51f573(0x3ec)]),he(0x3,Fe),he(0x4,o[_0x51f573(0x2ba)](ee)),he(0x5,o[_0x51f573(0x366)](Et))],exports[_0x51f573(0x40b)]);var ci=Object[_0x51f573(0x395)],hi=(_0x29ef63,_0x9c0bd,_0x2e0ab1,_0x10c709)=>{var _0x84b1bb=_0x51f573;for(var _0x18fed3=_0x10c709>0x1?void 0x0:_0x10c709?ci(_0x9c0bd,_0x2e0ab1):_0x9c0bd,_0x456633=_0x29ef63[_0x84b1bb(0x17a)]-0x1,_0x5e2052;_0x456633>=0x0;_0x456633--)(_0x5e2052=_0x29ef63[_0x456633])&&(_0x18fed3=_0x5e2052(_0x18fed3)||_0x18fed3);return _0x18fed3;},Se=(_0x249afc,_0x18a9a3)=>(_0x34e66f,_0x40e210)=>_0x18a9a3(_0x34e66f,_0x40e210,_0x249afc);exports[_0x51f573(0x1cd)]=class extends o[_0x51f573(0xf7)]{constructor(_0x36d426,_0x3c3712,_0x2ef670,_0x479d6f){var _0x29c2d5=_0x51f573,_0x2275b9;super(),A(this,_0x29c2d5(0x2f9),new Map()),A(this,_0x29c2d5(0xce),new j[(_0x29c2d5(0x243))]()),A(this,_0x29c2d5(0xe9),this['_entityInit$'][_0x29c2d5(0x1f9)]()),(this[_0x29c2d5(0x3c5)]=_0x36d426,this[_0x29c2d5(0x1a4)]=_0x3c3712,this[_0x29c2d5(0x373)]=_0x2ef670,this[_0x29c2d5(0x293)]=_0x479d6f,((_0x2275b9=this['_configService']['getConfig'](Y))==null?void 0x0:_0x2275b9[_0x29c2d5(0x157)])!==!0x1&&this['_init']());}['dispose'](){var _0xc2ce67=_0x51f573;super[_0xc2ce67(0x27e)](),this[_0xc2ce67(0x2f9)][_0xc2ce67(0x101)](_0x53e978=>_0x53e978[_0xc2ce67(0x27e)]()),this[_0xc2ce67(0x2f9)]['clear']();}['getCollabEntity'](_0x5bb000){var _0x45c5b1=_0x51f573,_0x3a8c1f;return(_0x3a8c1f=this[_0x45c5b1(0x2f9)][_0x45c5b1(0x33d)](_0x5bb000))!=null?_0x3a8c1f:null;}[_0x51f573(0x257)](_0x3311f4){var _0x11c2bd=_0x51f573;const _0x5f013d=this[_0x11c2bd(0x346)](_0x3311f4);return _0x5f013d?j['of'](_0x5f013d):this[_0x11c2bd(0xce)][_0x11c2bd(0x3aa)](V[_0x11c2bd(0x290)](_0xbe4a37=>_0xbe4a37['unitID']===_0x3311f4));}[_0x51f573(0x3ea)](_0x578662){var _0x296f78=_0x51f573;return j['firstValueFrom'](this[_0x296f78(0x257)](_0x578662)[_0x296f78(0x3aa)](V[_0x296f78(0x2a5)](()=>{})));}[_0x51f573(0x241)](){var _0x6bf20e=_0x51f573;this[_0x6bf20e(0x293)][_0x6bf20e(0x25b)](o[_0x6bf20e(0xad)][_0x6bf20e(0x1bb)])['pipe'](j[_0x6bf20e(0xfc)](this[_0x6bf20e(0xa1)]),V[_0x6bf20e(0x242)](0x10))[_0x6bf20e(0xcd)](async _0x164722=>{var _0x4db031=_0x6bf20e;const _0x4ea260=_0x164722[_0x4db031(0x34e)](),_0x3eb525=await this[_0x4db031(0x223)](_0x4ea260,X[_0x4db031(0x1bb)]);this['_entities']['set'](_0x4ea260,_0x3eb525);}),this[_0x6bf20e(0x293)][_0x6bf20e(0x25b)](o[_0x6bf20e(0xad)]['UNIVER_DOC'])[_0x6bf20e(0x3aa)](j['takeUntil'](this[_0x6bf20e(0xa1)]),V['delay'](0x10))['pipe'](V['filter'](_0x2089f8=>!_0x2089f8[_0x6bf20e(0x34e)]()[_0x6bf20e(0x31e)]('__')))[_0x6bf20e(0xcd)](async _0x2d4242=>{var _0x5e339a=_0x6bf20e;const _0x433736=_0x2d4242[_0x5e339a(0x34e)](),_0x516e33=await this[_0x5e339a(0x223)](_0x433736,X[_0x5e339a(0x187)]);this['_entities'][_0x5e339a(0x28a)](_0x433736,_0x516e33);}),j[_0x6bf20e(0x189)](this[_0x6bf20e(0x293)][_0x6bf20e(0x11e)](o[_0x6bf20e(0xad)][_0x6bf20e(0x1bb)]),this['_univerInstanceService'][_0x6bf20e(0x11e)](o[_0x6bf20e(0xad)][_0x6bf20e(0x187)]))[_0x6bf20e(0x3aa)](j[_0x6bf20e(0xfc)](this[_0x6bf20e(0xa1)]))[_0x6bf20e(0xcd)](_0x36b2e5=>{var _0x1a7a25=_0x6bf20e;const _0x3f7aa8=_0x36b2e5[_0x1a7a25(0x34e)](),_0x8f8df0=this[_0x1a7a25(0x2f9)][_0x1a7a25(0x33d)](_0x3f7aa8);_0x8f8df0&&(_0x8f8df0[_0x1a7a25(0x27e)](),this[_0x1a7a25(0x2f9)][_0x1a7a25(0x3a1)](_0x3f7aa8));});}async[_0x51f573(0x223)](_0x59c779,_0x4da04d){var _0x3aaf88=_0x51f573;const _0x1713b6=await this[_0x3aaf88(0x1a4)][_0x3aaf88(0xdb)](_0x59c779),_0x26eb07=this[_0x3aaf88(0x3c5)]['createInstance'](this[_0x3aaf88(0x20d)](_0x4da04d),_0x59c779,_0x4da04d,_0x1713b6);return await _0x26eb07['init'](),this[_0x3aaf88(0xce)]['next'](_0x26eb07),_0x26eb07;}['_getCtorByUniverType'](_0x2002d7){var _0x3994f3=_0x51f573;switch(_0x2002d7){case X[_0x3994f3(0x187)]:return exports[_0x3994f3(0x18d)];case X[_0x3994f3(0x1bb)]:return exports[_0x3994f3(0x17c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2002d7);}}},exports[_0x51f573(0x1cd)]=hi([Se(0x0,o[_0x51f573(0x2ba)](o['Injector'])),Se(0x1,o[_0x51f573(0x2ba)](exports[_0x51f573(0x40b)])),Se(0x2,o['IConfigService']),Se(0x3,o['IUniverInstanceService'])],exports['CollaborationController']);var _i=Object[_0x51f573(0x395)],li=(_0x204103,_0x2b97f3,_0x8847d1,_0x1682ad)=>{var _0x580118=_0x51f573;for(var _0x512e33=_0x1682ad>0x1?void 0x0:_0x1682ad?_i(_0x2b97f3,_0x8847d1):_0x2b97f3,_0x624de1=_0x204103[_0x580118(0x17a)]-0x1,_0x2ce3d0;_0x624de1>=0x0;_0x624de1--)(_0x2ce3d0=_0x204103[_0x624de1])&&(_0x512e33=_0x2ce3d0(_0x512e33)||_0x512e33);return _0x512e33;},Ye=(_0x1b37e7,_0x1f2d52)=>(_0x44fb3b,_0x385740)=>_0x1f2d52(_0x44fb3b,_0x385740,_0x1b37e7);const ui=_0x51f573(0x39b),vi='Univer';let xe=class extends o[_0x51f573(0x1f3)]{constructor(_0x7116c5,_0xb7024){var _0x473544=_0x51f573;super(),this[_0x473544(0x293)]=_0x7116c5,this[_0x473544(0x373)]=_0xb7024,this[_0x473544(0x241)]();}[_0x51f573(0x241)](){var _0x23d6d2=_0x51f573;this[_0x23d6d2(0x230)](this[_0x23d6d2(0x293)][_0x23d6d2(0x2b4)][_0x23d6d2(0xcd)](()=>{var _0x18b542=_0x23d6d2,_0xde0713;const _0x1cbdb9=this['_univerInstanceService'][_0x18b542(0x98)]();let _0x9386f0=(_0xde0713=this[_0x18b542(0x373)]['getConfig'](ui))!=null?_0xde0713:vi;_0x1cbdb9 instanceof o[_0x18b542(0x3e6)]&&(_0x9386f0=_0x1cbdb9[_0x18b542(0x141)]),document[_0x18b542(0xcb)]=_0x9386f0;}));}};xe=li([Ye(0x0,o[_0x51f573(0x168)]),Ye(0x1,o[_0x51f573(0x3ec)])],xe);var di=Object[_0x51f573(0x395)],Si=(_0x1af722,_0x4fff91,_0x1c8ced,_0x313e34)=>{for(var _0xa16686=_0x313e34>0x1?void 0x0:_0x313e34?di(_0x4fff91,_0x1c8ced):_0x4fff91,_0x336a83=_0x1af722['length']-0x1,_0xebeb1c;_0x336a83>=0x0;_0x336a83--)(_0xebeb1c=_0x1af722[_0x336a83])&&(_0xa16686=_0xebeb1c(_0xa16686)||_0xa16686);return _0xa16686;},Ae=(_0xf900d,_0x2ba4cd)=>(_0x14206a,_0x53ddaf)=>_0x2ba4cd(_0x14206a,_0x53ddaf,_0xf900d);let Ne=class{constructor(_0x521f69,_0x6db07f,_0x5c4806){var _0xe71384=_0x51f573;this[_0xe71384(0x373)]=_0x521f69,this[_0xe71384(0x26d)]=_0x6db07f,this[_0xe71384(0x297)]=_0x5c4806,this[_0xe71384(0x22f)]();}[_0x51f573(0x22f)](){var _0x57b807=_0x51f573;this['_httpService'][_0x57b807(0x3a5)]({'priority':0x1,'interceptor':(_0x30c69c,_0x19fd21)=>_0x19fd21(_0x30c69c)['pipe'](j[_0x57b807(0x23d)](async _0xa1627e=>{var _0x37162c=_0x57b807;const _0x1c360a=_0xa1627e;if(_0x1c360a[_0x37162c(0x2a2)]===0x191){if(typeof window>'u')throw new Error(_0x37162c(0x3c0));if(window['confirm'](this[_0x37162c(0x297)]['t'](_0x37162c(0x127)))){const _0x5b45ee=window[_0x37162c(0x1f0)](window['location'][_0x37162c(0x1ec)]);window[_0x37162c(0x235)][_0x37162c(0x1ec)]=this[_0x37162c(0x36c)]()+_0x37162c(0x100)+_0x5b45ee;}}return _0x1c360a;}))});}[_0x51f573(0x36c)](){var _0x22bc22=_0x51f573,_0x119919;const _0x32c381=this[_0x22bc22(0x373)]['getConfig'](Y);return(_0x119919=_0x32c381==null?void 0x0:_0x32c381[_0x22bc22(0x347)])!=null?_0x119919:$t;}};Ne=Si([Ae(0x0,o[_0x51f573(0x3ec)]),Ae(0x1,o[_0x51f573(0x2ba)](K['HTTPService'])),Ae(0x2,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)]))],Ne);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x521dbd,_0xfddd90,_0x21f946,_0x431256)=>{var _0x5ace76=_0x51f573;for(var _0x5ab8ce=_0x431256>0x1?void 0x0:_0x431256?Ii(_0xfddd90,_0x21f946):_0xfddd90,_0x4db1f7=_0x521dbd[_0x5ace76(0x17a)]-0x1,_0x294882;_0x4db1f7>=0x0;_0x4db1f7--)(_0x294882=_0x521dbd[_0x4db1f7])&&(_0x5ab8ce=_0x294882(_0x5ab8ce)||_0x5ab8ce);return _0x5ab8ce;},Ke=(_0x463f7b,_0x45eea7)=>(_0x30da01,_0x2091aa)=>_0x45eea7(_0x30da01,_0x2091aa,_0x463f7b);const Ei=_0x51f573(0xda);exports['AuthzIoHttpService']=class extends o['Disposable']{constructor(_0x104a61,_0x42251c){var _0x25f72c=_0x51f573;super(),this[_0x25f72c(0x227)]=_0x104a61,this[_0x25f72c(0x373)]=_0x42251c,this[_0x25f72c(0x172)]();}['_initMergeInterceptor'](){var _0x5571f8=_0x51f573;const _0x9c72fc=this;this[_0x5571f8(0x230)](this[_0x5571f8(0x227)][_0x5571f8(0x3a5)]({'priority':0x3e7,'interceptor':K[_0x5571f8(0x1d4)]({'isMatch'(_0x53c7a4){var _0x3a3917=_0x5571f8,_0xa9d869;if(_0x53c7a4['method']==='POST'&&((_0xa9d869=_0x53c7a4[_0x3a3917(0x30e)])!=null&&_0xa9d869[_0x3a3917(0x3ca)])){const {objectID:_0x1bee2d,objectType:_0x1803ae}=_0x53c7a4[_0x3a3917(0x30e)][_0x3a3917(0x3ca)]||{};if(!_0x1bee2d||_0x1803ae===void 0x0)return!0x1;const _0x48feb7=_0x9c72fc[_0x3a3917(0x103)]()+'/'+_0x1803ae+_0x3a3917(0xfd)+_0x1bee2d+'/allowed';if(_0x53c7a4['url']===_0x48feb7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2922dd){var _0x52f784=_0x5571f8,_0xd4c504;return(_0xd4c504=_0x2922dd[_0x52f784(0x30e)])==null?void 0x0:_0xd4c504['body'];},'mergeParamsToRequest'(_0x41ec81,_0x4a4e7c){var _0x4243c9=_0x5571f8;const _0xffaa02=_0x9c72fc[_0x4243c9(0x103)]()+_0x4243c9(0x41b),_0x4d05d4=_0x41ec81[_0x4243c9(0xa9)]((_0x4edd7d,_0x5a140e)=>{var _0xfc61bf=_0x4243c9;const {unitID:_0x341792,objectID:_0x5f1983,objectType:_0x477e2a,actions:_0x414f7e}=_0x5a140e;return _0x4edd7d[_0x341792]||(_0x4edd7d[_0x341792]={}),_0x4edd7d[_0x341792][_0x5f1983]||(_0x4edd7d[_0x341792][_0x5f1983]={'objectID':_0x5f1983,'objectType':_0x477e2a,'actions':[]}),_0x4edd7d[_0x341792][_0x5f1983][_0xfc61bf(0x274)][_0xfc61bf(0x209)](..._0x414f7e),_0x4edd7d;},{}),_0x3b2d69=[];for(const _0x161d7b in _0x4d05d4)for(const _0x4e1aaa in _0x4d05d4[_0x161d7b]){const {actions:_0x7c638f,objectType:_0x2bfc77}=_0x4d05d4[_0x161d7b][_0x4e1aaa],_0x5e6827=[...new Set(_0x7c638f)];_0x3b2d69[_0x4243c9(0x209)]({'unitID':_0x161d7b,'objectID':_0x4e1aaa,'objectType':_0x2bfc77,'actions':_0x5e6827});}return new K[(_0x4243c9(0x125))](_0x4243c9(0x1da),_0xffaa02,{'headers':_0x4a4e7c[_0x4243c9(0x35e)],'withCredentials':_0x4a4e7c['withCredentials'],'responseType':_0x4a4e7c[_0x4243c9(0x152)],'body':{'requests':_0x3b2d69}});}},{'distributeResult'(_0x1ded0a,_0x52b144){var _0x436e58=_0x5571f8;const {objectActions:_0x4420f1}=_0x1ded0a;return _0x52b144[_0x436e58(0x2a5)](_0x3864ec=>{var _0x2ce332=_0x436e58;const {unitID:_0x5c8a50,objectID:_0x54b988,actions:_0xfadf68}=_0x3864ec,_0x188563=_0x4420f1[_0x2ce332(0x2bf)](_0x215a79=>_0x215a79['unitID']===_0x5c8a50&&_0x215a79['objectID']===_0x54b988),_0x72276c=_0xfadf68[_0x2ce332(0x2a5)](_0x19b1b9=>_0x188563==null?void 0x0:_0x188563[_0x2ce332(0x274)][_0x2ce332(0x2bf)](_0x1f16c3=>_0x1f16c3['action']===_0x19b1b9))[_0x2ce332(0x290)](_0x2ecba8=>!!_0x2ecba8);return{'config':_0x3864ec,'result':{'actions':_0x72276c,'error':_0x1ded0a[_0x2ce332(0x1f8)]}};});}})}));}[_0x51f573(0x103)](){var _0x364a6e=_0x51f573,_0x265cc2;const _0x59138d=this[_0x364a6e(0x373)][_0x364a6e(0x1c9)](Y);return(_0x265cc2=_0x59138d==null?void 0x0:_0x59138d['authzUrl'])!=null?_0x265cc2:Ei;}async[_0x51f573(0x375)](_0x5cd006){var _0x5cf358=_0x51f573;const _0x23995f=this[_0x5cf358(0x103)]()+'/'+_0x5cd006[_0x5cf358(0xec)]+_0x5cf358(0x22b);return(await this[_0x5cf358(0x227)][_0x5cf358(0x13b)](_0x23995f,{'body':_0x5cd006}))[_0x5cf358(0x3ca)]['objectID']||'';}async[_0x51f573(0x2d9)](_0x353370){var _0x5e9b9a=_0x51f573;const _0x7f9ff8=this[_0x5e9b9a(0x103)]()+_0x5e9b9a(0x2bd);return(await this[_0x5e9b9a(0x227)][_0x5e9b9a(0x13b)](_0x7f9ff8,{'body':_0x353370}))['body'][_0x5e9b9a(0x2b2)];}async['update'](_0x2f97bf){var _0x45ac86=_0x51f573,_0x104400,_0x297f33;const _0x3759cb=this[_0x45ac86(0x103)]()+'/'+_0x2f97bf[_0x45ac86(0xec)]+_0x45ac86(0xfd)+_0x2f97bf[_0x45ac86(0x198)],_0x53949e=await this[_0x45ac86(0x227)][_0x45ac86(0x2f4)](_0x3759cb,{'body':_0x2f97bf});if(((_0x297f33=(_0x104400=_0x53949e==null?void 0x0:_0x53949e[_0x45ac86(0x3ca)])==null?void 0x0:_0x104400[_0x45ac86(0x1f8)])==null?void 0x0:_0x297f33[_0x45ac86(0x2d2)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x51f573(0x2cd)](_0x15cc66){var _0x59c3fc=_0x51f573;const _0x5bb0d6=this[_0x59c3fc(0x103)]()+'/'+_0x15cc66[_0x59c3fc(0xec)]+_0x59c3fc(0xfd)+_0x15cc66[_0x59c3fc(0x198)]+_0x59c3fc(0x350);return(await this[_0x59c3fc(0x227)][_0x59c3fc(0x13b)](_0x5bb0d6,{'body':_0x15cc66}))['body'][_0x59c3fc(0x274)];}async[_0x51f573(0x2cf)](_0x229dd5){var _0x3f7996=_0x51f573;const _0x11caec=this[_0x3f7996(0x103)]()+_0x3f7996(0x41b);return(await this[_0x3f7996(0x227)][_0x3f7996(0x13b)](_0x11caec,{'body':{'requests':_0x229dd5}}))[_0x3f7996(0x3ca)]['objectActions'];}async[_0x51f573(0x3d8)](_0x37a83a){var _0x5d9fe8=_0x51f573;const _0x3f389e=this[_0x5d9fe8(0x103)]()+'/'+_0x37a83a[_0x5d9fe8(0xec)]+_0x5d9fe8(0x18a),_0x17f7c6=await this['_HTTPService'][_0x5d9fe8(0x13b)](_0x3f389e,{'body':_0x37a83a});return{'roles':_0x17f7c6[_0x5d9fe8(0x3ca)][_0x5d9fe8(0x37e)],'actions':_0x17f7c6['body'][_0x5d9fe8(0x274)]};}async[_0x51f573(0xd6)](_0x2bab4e){var _0x448bb6=_0x51f573;const _0x396c58=this[_0x448bb6(0x103)]()+_0x448bb6(0x2fb);await this[_0x448bb6(0x227)]['delete'](_0x396c58,{'params':{'collaboratorID':_0x2bab4e[_0x448bb6(0x188)],'objectID':_0x2bab4e[_0x448bb6(0x198)],'unitID':_0x2bab4e['unitID']}});}async['updateCollaborator'](_0x37c979){var _0x1cd333=_0x51f573;const _0xf69ef7=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x1cd333(0x199)](_0xf69ef7,{'body':_0x37c979});}async[_0x51f573(0x3de)](_0x3e799d){var _0x10e6e9=_0x51f573;const _0xf23ca0=this[_0x10e6e9(0x103)]()+_0x10e6e9(0x2fb);await this[_0x10e6e9(0x227)][_0x10e6e9(0x13b)](_0xf23ca0,{'body':_0x3e799d});}async[_0x51f573(0x3ab)](_0x599e67){var _0x3f0a1a=_0x51f573;const _0x5c9d3d=this[_0x3f0a1a(0x103)]()+_0x3f0a1a(0x2fb);return(await this[_0x3f0a1a(0x227)][_0x3f0a1a(0x33d)](_0x5c9d3d,{'params':{'objectID':_0x599e67[_0x3f0a1a(0x198)],'unitID':_0x599e67['unitID']}}))[_0x3f0a1a(0x3ca)]['collaborators'];}async[_0x51f573(0x285)](_0x22a514){var _0x347117=_0x51f573;const _0x50f2cb=this[_0x347117(0x103)]()+_0x347117(0x2fb);await this['_HTTPService'][_0x347117(0x2f4)](_0x50f2cb,{'body':_0x22a514});}},exports[_0x51f573(0x3fa)]=fi([Ke(0x0,o['Inject'](K['HTTPService'])),Ke(0x1,o[_0x51f573(0x2ba)](o[_0x51f573(0x3ec)]))],exports[_0x51f573(0x3fa)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x4f4da1){var _0xf9dd5a=_0x51f573;return _0x4f4da1&&_0x4f4da1[_0xf9dd5a(0x1f6)]&&Object[_0xf9dd5a(0x3b4)][_0xf9dd5a(0x11a)][_0xf9dd5a(0x31f)](_0x4f4da1,_0xf9dd5a(0x271))?_0x4f4da1['default']:_0x4f4da1;}var Ie={'exports':{}};function pi(_0x30f392){var _0x4bb994=_0x51f573;throw new Error(_0x4bb994(0x96)+_0x30f392+_0x4bb994(0xba));}var fe={'exports':{}},mi=fe[_0x51f573(0x389)],qe;function Z(){return qe||(qe=0x1,function(_0x1a4159,_0x212abb){(function(_0x596451,_0x330140){var _0x2f6d52=_0xf568;_0x1a4159[_0x2f6d52(0x389)]=_0x330140();}(mi,function(){var _0x833fca=_0x833fca||function(_0x1e5191,_0x48ded9){var _0x5bfc89=_0xf568,_0x295195;if(typeof window<'u'&&window['crypto']&&(_0x295195=window[_0x5bfc89(0x33e)]),typeof self<'u'&&self['crypto']&&(_0x295195=self[_0x5bfc89(0x33e)]),typeof globalThis<'u'&&globalThis[_0x5bfc89(0x33e)]&&(_0x295195=globalThis[_0x5bfc89(0x33e)]),!_0x295195&&typeof window<'u'&&window['msCrypto']&&(_0x295195=window[_0x5bfc89(0x1e8)]),!_0x295195&&typeof Pe<'u'&&Pe[_0x5bfc89(0x33e)]&&(_0x295195=Pe['crypto']),!_0x295195&&typeof pi==_0x5bfc89(0x367))try{_0x295195=require('crypto');}catch{}var _0x4e4364=function(){var _0x50321d=_0x5bfc89;if(_0x295195){if(typeof _0x295195[_0x50321d(0x279)]==_0x50321d(0x367))try{return _0x295195['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x295195['randomBytes']=='function')try{return _0x295195[_0x50321d(0x398)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x50321d(0x15e));},_0x30e363=Object['create']||(function(){function _0x246f01(){}return function(_0xa811be){var _0xdacb32=_0xf568,_0x510f24;return _0x246f01[_0xdacb32(0x3b4)]=_0xa811be,_0x510f24=new _0x246f01(),_0x246f01[_0xdacb32(0x3b4)]=null,_0x510f24;};}()),_0xdf70f2={},_0xb02faa=_0xdf70f2[_0x5bfc89(0x3e2)]={},_0x591bfe=_0xb02faa['Base']=(function(){return{'extend':function(_0x3402cc){var _0x1a1c8e=_0xf568,_0x28931b=_0x30e363(this);return _0x3402cc&&_0x28931b[_0x1a1c8e(0x390)](_0x3402cc),(!_0x28931b['hasOwnProperty'](_0x1a1c8e(0x22f))||this['init']===_0x28931b[_0x1a1c8e(0x22f)])&&(_0x28931b[_0x1a1c8e(0x22f)]=function(){var _0x59c0dc=_0x1a1c8e;_0x28931b[_0x59c0dc(0x304)][_0x59c0dc(0x22f)]['apply'](this,arguments);}),_0x28931b[_0x1a1c8e(0x22f)][_0x1a1c8e(0x3b4)]=_0x28931b,_0x28931b[_0x1a1c8e(0x304)]=this,_0x28931b;},'create':function(){var _0x253f16=_0xf568,_0x47a882=this[_0x253f16(0x1cc)]();return _0x47a882[_0x253f16(0x22f)][_0x253f16(0x23f)](_0x47a882,arguments),_0x47a882;},'init':function(){},'mixIn':function(_0x4c9f5f){var _0x476c46=_0xf568;for(var _0x364d18 in _0x4c9f5f)_0x4c9f5f[_0x476c46(0x11a)](_0x364d18)&&(this[_0x364d18]=_0x4c9f5f[_0x364d18]);_0x4c9f5f[_0x476c46(0x11a)](_0x476c46(0x401))&&(this['toString']=_0x4c9f5f['toString']);},'clone':function(){var _0x5be337=_0xf568;return this[_0x5be337(0x22f)]['prototype'][_0x5be337(0x1cc)](this);}};}()),_0x8f1235=_0xb02faa[_0x5bfc89(0x33b)]=_0x591bfe[_0x5bfc89(0x1cc)]({'init':function(_0x3e1214,_0x21daab){var _0x5c8ee1=_0x5bfc89;_0x3e1214=this['words']=_0x3e1214||[],_0x21daab!=_0x48ded9?this[_0x5c8ee1(0x429)]=_0x21daab:this[_0x5c8ee1(0x429)]=_0x3e1214['length']*0x4;},'toString':function(_0x14e32a){return(_0x14e32a||_0x1217a4)['stringify'](this);},'concat':function(_0x526594){var _0x1b2531=_0x5bfc89,_0x3c5878=this[_0x1b2531(0x31a)],_0x330e6=_0x526594[_0x1b2531(0x31a)],_0x94a471=this[_0x1b2531(0x429)],_0x4fb598=_0x526594[_0x1b2531(0x429)];if(this[_0x1b2531(0x2af)](),_0x94a471%0x4)for(var _0x2276ca=0x0;_0x2276ca<_0x4fb598;_0x2276ca++){var _0x490d12=_0x330e6[_0x2276ca>>>0x2]>>>0x18-_0x2276ca%0x4*0x8&0xff;_0x3c5878[_0x94a471+_0x2276ca>>>0x2]|=_0x490d12<<0x18-(_0x94a471+_0x2276ca)%0x4*0x8;}else{for(var _0x20c28c=0x0;_0x20c28c<_0x4fb598;_0x20c28c+=0x4)_0x3c5878[_0x94a471+_0x20c28c>>>0x2]=_0x330e6[_0x20c28c>>>0x2];}return this['sigBytes']+=_0x4fb598,this;},'clamp':function(){var _0x3b4e16=_0x5bfc89,_0x2215ce=this[_0x3b4e16(0x31a)],_0x521607=this[_0x3b4e16(0x429)];_0x2215ce[_0x521607>>>0x2]&=0xffffffff<<0x20-_0x521607%0x4*0x8,_0x2215ce[_0x3b4e16(0x17a)]=_0x1e5191['ceil'](_0x521607/0x4);},'clone':function(){var _0x410d62=_0x5bfc89,_0x248583=_0x591bfe['clone'][_0x410d62(0x31f)](this);return _0x248583['words']=this[_0x410d62(0x31a)][_0x410d62(0x1a9)](0x0),_0x248583;},'random':function(_0x4157fa){var _0x1be172=_0x5bfc89;for(var _0x10dcd8=[],_0x35417c=0x0;_0x35417c<_0x4157fa;_0x35417c+=0x4)_0x10dcd8[_0x1be172(0x209)](_0x4e4364());return new _0x8f1235[(_0x1be172(0x22f))](_0x10dcd8,_0x4157fa);}}),_0x45f62e=_0xdf70f2[_0x5bfc89(0x28c)]={},_0x1217a4=_0x45f62e['Hex']={'stringify':function(_0x5b4bcd){var _0x44cd40=_0x5bfc89;for(var _0x29a921=_0x5b4bcd['words'],_0x5c41f2=_0x5b4bcd[_0x44cd40(0x429)],_0x27c38a=[],_0x2b6ae0=0x0;_0x2b6ae0<_0x5c41f2;_0x2b6ae0++){var _0x5e255f=_0x29a921[_0x2b6ae0>>>0x2]>>>0x18-_0x2b6ae0%0x4*0x8&0xff;_0x27c38a[_0x44cd40(0x209)]((_0x5e255f>>>0x4)[_0x44cd40(0x401)](0x10)),_0x27c38a[_0x44cd40(0x209)]((_0x5e255f&0xf)[_0x44cd40(0x401)](0x10));}return _0x27c38a[_0x44cd40(0x39e)]('');},'parse':function(_0x6140ad){var _0x48be1c=_0x5bfc89;for(var _0x23babc=_0x6140ad['length'],_0x19f70b=[],_0x5d1fab=0x0;_0x5d1fab<_0x23babc;_0x5d1fab+=0x2)_0x19f70b[_0x5d1fab>>>0x3]|=parseInt(_0x6140ad[_0x48be1c(0x13e)](_0x5d1fab,0x2),0x10)<<0x18-_0x5d1fab%0x8*0x4;return new _0x8f1235[(_0x48be1c(0x22f))](_0x19f70b,_0x23babc/0x2);}},_0x40553b=_0x45f62e['Latin1']={'stringify':function(_0x4c19c7){var _0x621136=_0x5bfc89;for(var _0x1c5659=_0x4c19c7[_0x621136(0x31a)],_0x2adb5b=_0x4c19c7['sigBytes'],_0x2ea6f3=[],_0x32b99f=0x0;_0x32b99f<_0x2adb5b;_0x32b99f++){var _0x41c357=_0x1c5659[_0x32b99f>>>0x2]>>>0x18-_0x32b99f%0x4*0x8&0xff;_0x2ea6f3[_0x621136(0x209)](String[_0x621136(0x169)](_0x41c357));}return _0x2ea6f3[_0x621136(0x39e)]('');},'parse':function(_0x2e2262){var _0x2e239f=_0x5bfc89;for(var _0x4cc0b9=_0x2e2262[_0x2e239f(0x17a)],_0x248ef0=[],_0x43e5db=0x0;_0x43e5db<_0x4cc0b9;_0x43e5db++)_0x248ef0[_0x43e5db>>>0x2]|=(_0x2e2262[_0x2e239f(0x3ba)](_0x43e5db)&0xff)<<0x18-_0x43e5db%0x4*0x8;return new _0x8f1235['init'](_0x248ef0,_0x4cc0b9);}},_0x4f694f=_0x45f62e[_0x5bfc89(0x2f7)]={'stringify':function(_0xe61e03){var _0x47fefe=_0x5bfc89;try{return decodeURIComponent(escape(_0x40553b['stringify'](_0xe61e03)));}catch{throw new Error(_0x47fefe(0x9c));}},'parse':function(_0x35ef2c){var _0x11483f=_0x5bfc89;return _0x40553b[_0x11483f(0xa4)](unescape(encodeURIComponent(_0x35ef2c)));}},_0x18b8c8=_0xb02faa[_0x5bfc89(0x2de)]=_0x591bfe['extend']({'reset':function(){var _0x3fa4f8=_0x5bfc89;this[_0x3fa4f8(0x97)]=new _0x8f1235[(_0x3fa4f8(0x22f))](),this['_nDataBytes']=0x0;},'_append':function(_0x3ef322){var _0x5a67f5=_0x5bfc89;typeof _0x3ef322==_0x5a67f5(0x32d)&&(_0x3ef322=_0x4f694f[_0x5a67f5(0xa4)](_0x3ef322)),this[_0x5a67f5(0x97)][_0x5a67f5(0x15a)](_0x3ef322),this[_0x5a67f5(0x173)]+=_0x3ef322[_0x5a67f5(0x429)];},'_process':function(_0x50b4d4){var _0x34f4d3=_0x5bfc89,_0x437c14,_0x467a1e=this[_0x34f4d3(0x97)],_0x113dd1=_0x467a1e[_0x34f4d3(0x31a)],_0x3424ae=_0x467a1e[_0x34f4d3(0x429)],_0x2bb624=this[_0x34f4d3(0x266)],_0x3f716b=_0x2bb624*0x4,_0x4abadd=_0x3424ae/_0x3f716b;_0x50b4d4?_0x4abadd=_0x1e5191['ceil'](_0x4abadd):_0x4abadd=_0x1e5191[_0x34f4d3(0x1d1)]((_0x4abadd|0x0)-this[_0x34f4d3(0xb1)],0x0);var _0x181715=_0x4abadd*_0x2bb624,_0x4868e9=_0x1e5191[_0x34f4d3(0x2c9)](_0x181715*0x4,_0x3424ae);if(_0x181715){for(var _0x3fc4b6=0x0;_0x3fc4b6<_0x181715;_0x3fc4b6+=_0x2bb624)this[_0x34f4d3(0x2f1)](_0x113dd1,_0x3fc4b6);_0x437c14=_0x113dd1['splice'](0x0,_0x181715),_0x467a1e[_0x34f4d3(0x429)]-=_0x4868e9;}return new _0x8f1235['init'](_0x437c14,_0x4868e9);},'clone':function(){var _0x2e8e25=_0x5bfc89,_0xd65d38=_0x591bfe['clone'][_0x2e8e25(0x31f)](this);return _0xd65d38[_0x2e8e25(0x97)]=this[_0x2e8e25(0x97)][_0x2e8e25(0x268)](),_0xd65d38;},'_minBufferSize':0x0});_0xb02faa[_0x5bfc89(0x334)]=_0x18b8c8[_0x5bfc89(0x1cc)]({'cfg':_0x591bfe[_0x5bfc89(0x1cc)](),'init':function(_0x3ed5d0){var _0x228f97=_0x5bfc89;this[_0x228f97(0x427)]=this['cfg'][_0x228f97(0x1cc)](_0x3ed5d0),this[_0x228f97(0x329)]();},'reset':function(){var _0x54f5f7=_0x5bfc89;_0x18b8c8[_0x54f5f7(0x329)][_0x54f5f7(0x31f)](this),this[_0x54f5f7(0x1af)]();},'update':function(_0x57c187){var _0x215589=_0x5bfc89;return this[_0x215589(0x245)](_0x57c187),this[_0x215589(0x2df)](),this;},'finalize':function(_0x52fefc){var _0x340658=_0x5bfc89;_0x52fefc&&this['_append'](_0x52fefc);var _0x13cd77=this[_0x340658(0x135)]();return _0x13cd77;},'blockSize':0x10,'_createHelper':function(_0xdb641){return function(_0xbbe97d,_0x1cdc08){var _0xe0364d=_0xf568;return new _0xdb641[(_0xe0364d(0x22f))](_0x1cdc08)[_0xe0364d(0x261)](_0xbbe97d);};},'_createHmacHelper':function(_0x2804ed){return function(_0x14cbea,_0xa1f44d){var _0x2d5c53=_0xf568;return new _0x2e1865[(_0x2d5c53(0xd4))][(_0x2d5c53(0x22f))](_0x2804ed,_0xa1f44d)[_0x2d5c53(0x261)](_0x14cbea);};}});var _0x2e1865=_0xdf70f2[_0x5bfc89(0x357)]={};return _0xdf70f2;}(Math);return _0x833fca;}));}(fe)),fe['exports'];}var Ee={'exports':{}},gi=Ee[_0x51f573(0x389)],ze;function gt(){var _0x13b2e9=_0x51f573;return ze||(ze=0x1,function(_0x5915e0,_0x32d157){(function(_0x2add4c,_0x5d2794){var _0x23a187=_0xf568;_0x5915e0[_0x23a187(0x389)]=_0x5d2794(Z());}(gi,function(_0x244553){var _0x1e8704=_0xf568;return(function(){var _0x2eae67=_0xf568,_0x3c1596=_0x244553,_0x5a3228=_0x3c1596[_0x2eae67(0x3e2)],_0x72c153=_0x5a3228[_0x2eae67(0x33b)],_0x2deaa3=_0x3c1596['enc'];_0x2deaa3[_0x2eae67(0xc7)]={'stringify':function(_0x462a9e){var _0x3f48cb=_0x2eae67,_0x188f35=_0x462a9e[_0x3f48cb(0x31a)],_0x285f3b=_0x462a9e['sigBytes'],_0x3470d4=this[_0x3f48cb(0x37b)];_0x462a9e[_0x3f48cb(0x2af)]();for(var _0x2ae38e=[],_0x4045c5=0x0;_0x4045c5<_0x285f3b;_0x4045c5+=0x3)for(var _0x2889d6=_0x188f35[_0x4045c5>>>0x2]>>>0x18-_0x4045c5%0x4*0x8&0xff,_0x4eacc1=_0x188f35[_0x4045c5+0x1>>>0x2]>>>0x18-(_0x4045c5+0x1)%0x4*0x8&0xff,_0xd5f21b=_0x188f35[_0x4045c5+0x2>>>0x2]>>>0x18-(_0x4045c5+0x2)%0x4*0x8&0xff,_0x5a9fac=_0x2889d6<<0x10|_0x4eacc1<<0x8|_0xd5f21b,_0x2c9c77=0x0;_0x2c9c77<0x4&&_0x4045c5+_0x2c9c77*0.75<_0x285f3b;_0x2c9c77++)_0x2ae38e[_0x3f48cb(0x209)](_0x3470d4[_0x3f48cb(0xe7)](_0x5a9fac>>>0x6*(0x3-_0x2c9c77)&0x3f));var _0x20f3ac=_0x3470d4[_0x3f48cb(0xe7)](0x40);if(_0x20f3ac){for(;_0x2ae38e[_0x3f48cb(0x17a)]%0x4;)_0x2ae38e[_0x3f48cb(0x209)](_0x20f3ac);}return _0x2ae38e[_0x3f48cb(0x39e)]('');},'parse':function(_0x5732a5){var _0x35e4d3=_0x2eae67,_0x4980ad=_0x5732a5[_0x35e4d3(0x17a)],_0xad31d3=this[_0x35e4d3(0x37b)],_0x4e106d=this[_0x35e4d3(0x2b7)];if(!_0x4e106d){_0x4e106d=this[_0x35e4d3(0x2b7)]=[];for(var _0x215e66=0x0;_0x215e66<_0xad31d3[_0x35e4d3(0x17a)];_0x215e66++)_0x4e106d[_0xad31d3[_0x35e4d3(0x3ba)](_0x215e66)]=_0x215e66;}var _0x4e1042=_0xad31d3['charAt'](0x40);if(_0x4e1042){var _0x4e47ac=_0x5732a5[_0x35e4d3(0x92)](_0x4e1042);_0x4e47ac!==-0x1&&(_0x4980ad=_0x4e47ac);}return _0xa468bc(_0x5732a5,_0x4980ad,_0x4e106d);},'_map':_0x2eae67(0x326)};function _0xa468bc(_0x20d6d9,_0x227fe2,_0x1068fe){var _0x5d6329=_0x2eae67;for(var _0x2808db=[],_0x29c4f8=0x0,_0x1fec28=0x0;_0x1fec28<_0x227fe2;_0x1fec28++)if(_0x1fec28%0x4){var _0xfbda3b=_0x1068fe[_0x20d6d9[_0x5d6329(0x3ba)](_0x1fec28-0x1)]<<_0x1fec28%0x4*0x2,_0x45c26a=_0x1068fe[_0x20d6d9[_0x5d6329(0x3ba)](_0x1fec28)]>>>0x6-_0x1fec28%0x4*0x2,_0x4ffd69=_0xfbda3b|_0x45c26a;_0x2808db[_0x29c4f8>>>0x2]|=_0x4ffd69<<0x18-_0x29c4f8%0x4*0x8,_0x29c4f8++;}return _0x72c153[_0x5d6329(0x375)](_0x2808db,_0x29c4f8);}}()),_0x244553['enc'][_0x1e8704(0xc7)];}));}(Ee)),Ee[_0x13b2e9(0x389)];}var pe={'exports':{}},Ti=pe['exports'],Xe;function Ci(){var _0x462a8c=_0x51f573;return Xe||(Xe=0x1,function(_0x5c6b5e,_0x395f77){(function(_0x1732ff,_0x5e1865){_0x5c6b5e['exports']=_0x5e1865(Z());}(Ti,function(_0x3a4c42){var _0x16a677=_0xf568;return function(_0x5f366d){var _0xda0a85=_0xf568,_0x38392f=_0x3a4c42,_0x26af3e=_0x38392f[_0xda0a85(0x3e2)],_0x13a353=_0x26af3e[_0xda0a85(0x33b)],_0x15ceb4=_0x26af3e[_0xda0a85(0x334)],_0x4577f5=_0x38392f['algo'],_0x54eeac=[];(function(){var _0x3b32ed=_0xda0a85;for(var _0x30b732=0x0;_0x30b732<0x40;_0x30b732++)_0x54eeac[_0x30b732]=_0x5f366d[_0x3b32ed(0x13d)](_0x5f366d[_0x3b32ed(0x2fa)](_0x30b732+0x1))*0x100000000|0x0;}());var _0x4a6758=_0x4577f5['MD5']=_0x15ceb4[_0xda0a85(0x1cc)]({'_doReset':function(){var _0x1b4024=_0xda0a85;this[_0x1b4024(0x25a)]=new _0x13a353['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x460c3e,_0x51c8ea){var _0x3e4340=_0xda0a85;for(var _0x31fe96=0x0;_0x31fe96<0x10;_0x31fe96++){var _0x7ef219=_0x51c8ea+_0x31fe96,_0x25429d=_0x460c3e[_0x7ef219];_0x460c3e[_0x7ef219]=(_0x25429d<<0x8|_0x25429d>>>0x18)&0xff00ff|(_0x25429d<<0x18|_0x25429d>>>0x8)&0xff00ff00;}var _0x378967=this[_0x3e4340(0x25a)][_0x3e4340(0x31a)],_0x8efb3a=_0x460c3e[_0x51c8ea+0x0],_0x2f9ba2=_0x460c3e[_0x51c8ea+0x1],_0x480872=_0x460c3e[_0x51c8ea+0x2],_0x49394d=_0x460c3e[_0x51c8ea+0x3],_0x1c8e6e=_0x460c3e[_0x51c8ea+0x4],_0x38e85e=_0x460c3e[_0x51c8ea+0x5],_0x4dc429=_0x460c3e[_0x51c8ea+0x6],_0x17e278=_0x460c3e[_0x51c8ea+0x7],_0x325dab=_0x460c3e[_0x51c8ea+0x8],_0x4d0e3f=_0x460c3e[_0x51c8ea+0x9],_0x2c8bd0=_0x460c3e[_0x51c8ea+0xa],_0x491f92=_0x460c3e[_0x51c8ea+0xb],_0x4a96e0=_0x460c3e[_0x51c8ea+0xc],_0x255d7d=_0x460c3e[_0x51c8ea+0xd],_0x4e2b58=_0x460c3e[_0x51c8ea+0xe],_0x4733c2=_0x460c3e[_0x51c8ea+0xf],_0x15c41d=_0x378967[0x0],_0x454ef4=_0x378967[0x1],_0xe4dfa7=_0x378967[0x2],_0x74dd02=_0x378967[0x3];_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x8efb3a,0x7,_0x54eeac[0x0]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x2f9ba2,0xc,_0x54eeac[0x1]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x480872,0x11,_0x54eeac[0x2]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x49394d,0x16,_0x54eeac[0x3]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x1c8e6e,0x7,_0x54eeac[0x4]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x38e85e,0xc,_0x54eeac[0x5]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4dc429,0x11,_0x54eeac[0x6]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x17e278,0x16,_0x54eeac[0x7]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x325dab,0x7,_0x54eeac[0x8]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4d0e3f,0xc,_0x54eeac[0x9]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x2c8bd0,0x11,_0x54eeac[0xa]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x491f92,0x16,_0x54eeac[0xb]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4a96e0,0x7,_0x54eeac[0xc]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x255d7d,0xc,_0x54eeac[0xd]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4e2b58,0x11,_0x54eeac[0xe]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4733c2,0x16,_0x54eeac[0xf]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x2f9ba2,0x5,_0x54eeac[0x10]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4dc429,0x9,_0x54eeac[0x11]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x491f92,0xe,_0x54eeac[0x12]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x8efb3a,0x14,_0x54eeac[0x13]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x38e85e,0x5,_0x54eeac[0x14]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x2c8bd0,0x9,_0x54eeac[0x15]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4733c2,0xe,_0x54eeac[0x16]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x1c8e6e,0x14,_0x54eeac[0x17]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4d0e3f,0x5,_0x54eeac[0x18]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4e2b58,0x9,_0x54eeac[0x19]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x49394d,0xe,_0x54eeac[0x1a]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x325dab,0x14,_0x54eeac[0x1b]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x255d7d,0x5,_0x54eeac[0x1c]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x480872,0x9,_0x54eeac[0x1d]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x17e278,0xe,_0x54eeac[0x1e]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4a96e0,0x14,_0x54eeac[0x1f]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x38e85e,0x4,_0x54eeac[0x20]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x325dab,0xb,_0x54eeac[0x21]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x491f92,0x10,_0x54eeac[0x22]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4e2b58,0x17,_0x54eeac[0x23]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x2f9ba2,0x4,_0x54eeac[0x24]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x1c8e6e,0xb,_0x54eeac[0x25]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x17e278,0x10,_0x54eeac[0x26]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x2c8bd0,0x17,_0x54eeac[0x27]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x255d7d,0x4,_0x54eeac[0x28]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x8efb3a,0xb,_0x54eeac[0x29]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x49394d,0x10,_0x54eeac[0x2a]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4dc429,0x17,_0x54eeac[0x2b]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4d0e3f,0x4,_0x54eeac[0x2c]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4a96e0,0xb,_0x54eeac[0x2d]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4733c2,0x10,_0x54eeac[0x2e]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x480872,0x17,_0x54eeac[0x2f]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x8efb3a,0x6,_0x54eeac[0x30]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x17e278,0xa,_0x54eeac[0x31]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4e2b58,0xf,_0x54eeac[0x32]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x38e85e,0x15,_0x54eeac[0x33]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4a96e0,0x6,_0x54eeac[0x34]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x49394d,0xa,_0x54eeac[0x35]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x2c8bd0,0xf,_0x54eeac[0x36]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x2f9ba2,0x15,_0x54eeac[0x37]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x325dab,0x6,_0x54eeac[0x38]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4733c2,0xa,_0x54eeac[0x39]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4dc429,0xf,_0x54eeac[0x3a]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x255d7d,0x15,_0x54eeac[0x3b]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x1c8e6e,0x6,_0x54eeac[0x3c]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x491f92,0xa,_0x54eeac[0x3d]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x480872,0xf,_0x54eeac[0x3e]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4d0e3f,0x15,_0x54eeac[0x3f]),_0x378967[0x0]=_0x378967[0x0]+_0x15c41d|0x0,_0x378967[0x1]=_0x378967[0x1]+_0x454ef4|0x0,_0x378967[0x2]=_0x378967[0x2]+_0xe4dfa7|0x0,_0x378967[0x3]=_0x378967[0x3]+_0x74dd02|0x0;},'_doFinalize':function(){var _0x55a4a9=_0xda0a85,_0x8fa853=this['_data'],_0x52763d=_0x8fa853[_0x55a4a9(0x31a)],_0x5842ac=this[_0x55a4a9(0x173)]*0x8,_0x1a5b1d=_0x8fa853[_0x55a4a9(0x429)]*0x8;_0x52763d[_0x1a5b1d>>>0x5]|=0x80<<0x18-_0x1a5b1d%0x20;var _0x27572b=_0x5f366d[_0x55a4a9(0x3e5)](_0x5842ac/0x100000000),_0x3fa94d=_0x5842ac;_0x52763d[(_0x1a5b1d+0x40>>>0x9<<0x4)+0xf]=(_0x27572b<<0x8|_0x27572b>>>0x18)&0xff00ff|(_0x27572b<<0x18|_0x27572b>>>0x8)&0xff00ff00,_0x52763d[(_0x1a5b1d+0x40>>>0x9<<0x4)+0xe]=(_0x3fa94d<<0x8|_0x3fa94d>>>0x18)&0xff00ff|(_0x3fa94d<<0x18|_0x3fa94d>>>0x8)&0xff00ff00,_0x8fa853[_0x55a4a9(0x429)]=(_0x52763d['length']+0x1)*0x4,this[_0x55a4a9(0x2df)]();for(var _0x40f1f9=this['_hash'],_0x20c4d9=_0x40f1f9['words'],_0x8fa4c9=0x0;_0x8fa4c9<0x4;_0x8fa4c9++){var _0x2e3077=_0x20c4d9[_0x8fa4c9];_0x20c4d9[_0x8fa4c9]=(_0x2e3077<<0x8|_0x2e3077>>>0x18)&0xff00ff|(_0x2e3077<<0x18|_0x2e3077>>>0x8)&0xff00ff00;}return _0x40f1f9;},'clone':function(){var _0x3d5c71=_0xda0a85,_0x1dd304=_0x15ceb4[_0x3d5c71(0x268)]['call'](this);return _0x1dd304[_0x3d5c71(0x25a)]=this[_0x3d5c71(0x25a)][_0x3d5c71(0x268)](),_0x1dd304;}});function _0x1cbd12(_0x2adac3,_0xca773f,_0x174102,_0x39de7d,_0x17e72d,_0x54cf2c,_0x4410d4){var _0x377bc6=_0x2adac3+(_0xca773f&_0x174102|~_0xca773f&_0x39de7d)+_0x17e72d+_0x4410d4;return(_0x377bc6<<_0x54cf2c|_0x377bc6>>>0x20-_0x54cf2c)+_0xca773f;}function _0x174e9e(_0x14f278,_0x51d0bc,_0x5b55e4,_0x374c00,_0x5d95b5,_0xa3207f,_0x4a8cd2){var _0x48f683=_0x14f278+(_0x51d0bc&_0x374c00|_0x5b55e4&~_0x374c00)+_0x5d95b5+_0x4a8cd2;return(_0x48f683<<_0xa3207f|_0x48f683>>>0x20-_0xa3207f)+_0x51d0bc;}function _0x414515(_0x399486,_0x4cb54b,_0x5094ee,_0x5ef8c5,_0x5372d2,_0x3ba90d,_0x15c6de){var _0x5d8007=_0x399486+(_0x4cb54b^_0x5094ee^_0x5ef8c5)+_0x5372d2+_0x15c6de;return(_0x5d8007<<_0x3ba90d|_0x5d8007>>>0x20-_0x3ba90d)+_0x4cb54b;}function _0x5950b0(_0x2e75b9,_0x422a74,_0x8b940f,_0x11eca1,_0x4658b7,_0x3cf9a4,_0x225bd1){var _0x3967c6=_0x2e75b9+(_0x8b940f^(_0x422a74|~_0x11eca1))+_0x4658b7+_0x225bd1;return(_0x3967c6<<_0x3cf9a4|_0x3967c6>>>0x20-_0x3cf9a4)+_0x422a74;}_0x38392f[_0xda0a85(0x20e)]=_0x15ceb4['_createHelper'](_0x4a6758),_0x38392f[_0xda0a85(0xe2)]=_0x15ceb4[_0xda0a85(0x280)](_0x4a6758);}(Math),_0x3a4c42[_0x16a677(0x20e)];}));}(pe)),pe[_0x462a8c(0x389)];}var me={'exports':{}},ge={'exports':{}},bi=ge['exports'],Je;function Oi(){var _0x269b60=_0x51f573;return Je||(Je=0x1,function(_0x46f670,_0x2104a3){(function(_0x25db4f,_0x2ea372){_0x46f670['exports']=_0x2ea372(Z());}(bi,function(_0x21ba94){return(function(){var _0x1258fa=_0xf568,_0x14f643=_0x21ba94,_0x593304=_0x14f643[_0x1258fa(0x3e2)],_0xb40a3=_0x593304[_0x1258fa(0x33b)],_0x1eb725=_0x593304['Hasher'],_0x3f2642=_0x14f643[_0x1258fa(0x357)],_0x325d72=[],_0x41e7ba=_0x3f2642['SHA1']=_0x1eb725['extend']({'_doReset':function(){var _0x3277b8=_0x1258fa;this['_hash']=new _0xb40a3[(_0x3277b8(0x22f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b3b0a,_0x4d20b5){var _0x4947bf=_0x1258fa;for(var _0x985bcd=this['_hash'][_0x4947bf(0x31a)],_0x4a1001=_0x985bcd[0x0],_0x2e03f1=_0x985bcd[0x1],_0x165ff1=_0x985bcd[0x2],_0x5d4412=_0x985bcd[0x3],_0x26dd43=_0x985bcd[0x4],_0x937618=0x0;_0x937618<0x50;_0x937618++){if(_0x937618<0x10)_0x325d72[_0x937618]=_0x5b3b0a[_0x4d20b5+_0x937618]|0x0;else{var _0x1fa084=_0x325d72[_0x937618-0x3]^_0x325d72[_0x937618-0x8]^_0x325d72[_0x937618-0xe]^_0x325d72[_0x937618-0x10];_0x325d72[_0x937618]=_0x1fa084<<0x1|_0x1fa084>>>0x1f;}var _0x16d2aa=(_0x4a1001<<0x5|_0x4a1001>>>0x1b)+_0x26dd43+_0x325d72[_0x937618];_0x937618<0x14?_0x16d2aa+=(_0x2e03f1&_0x165ff1|~_0x2e03f1&_0x5d4412)+0x5a827999:_0x937618<0x28?_0x16d2aa+=(_0x2e03f1^_0x165ff1^_0x5d4412)+0x6ed9eba1:_0x937618<0x3c?_0x16d2aa+=(_0x2e03f1&_0x165ff1|_0x2e03f1&_0x5d4412|_0x165ff1&_0x5d4412)-0x70e44324:_0x16d2aa+=(_0x2e03f1^_0x165ff1^_0x5d4412)-0x359d3e2a,_0x26dd43=_0x5d4412,_0x5d4412=_0x165ff1,_0x165ff1=_0x2e03f1<<0x1e|_0x2e03f1>>>0x2,_0x2e03f1=_0x4a1001,_0x4a1001=_0x16d2aa;}_0x985bcd[0x0]=_0x985bcd[0x0]+_0x4a1001|0x0,_0x985bcd[0x1]=_0x985bcd[0x1]+_0x2e03f1|0x0,_0x985bcd[0x2]=_0x985bcd[0x2]+_0x165ff1|0x0,_0x985bcd[0x3]=_0x985bcd[0x3]+_0x5d4412|0x0,_0x985bcd[0x4]=_0x985bcd[0x4]+_0x26dd43|0x0;},'_doFinalize':function(){var _0x2d9e76=_0x1258fa,_0x1ac7c7=this['_data'],_0x31bb38=_0x1ac7c7['words'],_0x3c426c=this['_nDataBytes']*0x8,_0x584a11=_0x1ac7c7[_0x2d9e76(0x429)]*0x8;return _0x31bb38[_0x584a11>>>0x5]|=0x80<<0x18-_0x584a11%0x20,_0x31bb38[(_0x584a11+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d9e76(0x3e5)](_0x3c426c/0x100000000),_0x31bb38[(_0x584a11+0x40>>>0x9<<0x4)+0xf]=_0x3c426c,_0x1ac7c7['sigBytes']=_0x31bb38[_0x2d9e76(0x17a)]*0x4,this['_process'](),this[_0x2d9e76(0x25a)];},'clone':function(){var _0x2e11ed=_0x1258fa,_0x49740c=_0x1eb725['clone'][_0x2e11ed(0x31f)](this);return _0x49740c[_0x2e11ed(0x25a)]=this[_0x2e11ed(0x25a)][_0x2e11ed(0x268)](),_0x49740c;}});_0x14f643['SHA1']=_0x1eb725['_createHelper'](_0x41e7ba),_0x14f643['HmacSHA1']=_0x1eb725['_createHmacHelper'](_0x41e7ba);}()),_0x21ba94['SHA1'];}));}(ge)),ge[_0x269b60(0x389)];}var Te={'exports':{}},Ri=Te[_0x51f573(0x389)],Ze;function Ni(){var _0x8f96d2=_0x51f573;return Ze||(Ze=0x1,function(_0x22071a,_0x2d7028){(function(_0x11a563,_0x3e569a){var _0x1b7128=_0xf568;_0x22071a[_0x1b7128(0x389)]=_0x3e569a(Z());}(Ri,function(_0x25a097){(function(){var _0x4eaa96=_0xf568,_0x246c40=_0x25a097,_0x214072=_0x246c40['lib'],_0x53b044=_0x214072[_0x4eaa96(0x27b)],_0x32bbbe=_0x246c40[_0x4eaa96(0x28c)],_0x1da1c9=_0x32bbbe[_0x4eaa96(0x2f7)],_0x4ee932=_0x246c40['algo'];_0x4ee932[_0x4eaa96(0xd4)]=_0x53b044[_0x4eaa96(0x1cc)]({'init':function(_0x3a91f0,_0x175563){var _0x190977=_0x4eaa96;_0x3a91f0=this[_0x190977(0xea)]=new _0x3a91f0[(_0x190977(0x22f))](),typeof _0x175563==_0x190977(0x32d)&&(_0x175563=_0x1da1c9[_0x190977(0xa4)](_0x175563));var _0x58678c=_0x3a91f0[_0x190977(0x266)],_0x16864c=_0x58678c*0x4;_0x175563[_0x190977(0x429)]>_0x16864c&&(_0x175563=_0x3a91f0[_0x190977(0x261)](_0x175563)),_0x175563[_0x190977(0x2af)]();for(var _0x153485=this['_oKey']=_0x175563[_0x190977(0x268)](),_0xe9b55b=this['_iKey']=_0x175563[_0x190977(0x268)](),_0xcb2a4f=_0x153485[_0x190977(0x31a)],_0x15b6c4=_0xe9b55b[_0x190977(0x31a)],_0x26f7f1=0x0;_0x26f7f1<_0x58678c;_0x26f7f1++)_0xcb2a4f[_0x26f7f1]^=0x5c5c5c5c,_0x15b6c4[_0x26f7f1]^=0x36363636;_0x153485[_0x190977(0x429)]=_0xe9b55b[_0x190977(0x429)]=_0x16864c,this[_0x190977(0x329)]();},'reset':function(){var _0x283bcf=_0x4eaa96,_0x37c304=this['_hasher'];_0x37c304['reset'](),_0x37c304[_0x283bcf(0x3ed)](this[_0x283bcf(0x41d)]);},'update':function(_0x3f5440){var _0x5a4d80=_0x4eaa96;return this[_0x5a4d80(0xea)][_0x5a4d80(0x3ed)](_0x3f5440),this;},'finalize':function(_0x2ce1da){var _0x28f0bb=_0x4eaa96,_0xa9d87e=this[_0x28f0bb(0xea)],_0xcb1b1a=_0xa9d87e[_0x28f0bb(0x261)](_0x2ce1da);_0xa9d87e['reset']();var _0x49d2d9=_0xa9d87e[_0x28f0bb(0x261)](this[_0x28f0bb(0x24f)][_0x28f0bb(0x268)]()[_0x28f0bb(0x15a)](_0xcb1b1a));return _0x49d2d9;}});}());}));}(Te)),Te[_0x8f96d2(0x389)];}var Di=me[_0x51f573(0x389)],Qe;function Tt(){var _0x3cfbc9=_0x51f573;return Qe||(Qe=0x1,function(_0x323e94,_0x17498a){(function(_0x4c62d9,_0x2c9869,_0x442063){var _0x31a54a=_0xf568;_0x323e94[_0x31a54a(0x389)]=_0x2c9869(Z(),Oi(),Ni());}(Di,function(_0x121437){var _0x3b62d6=_0xf568;return(function(){var _0x1813c0=_0xf568,_0x559ced=_0x121437,_0x19c9cc=_0x559ced['lib'],_0x2442e2=_0x19c9cc[_0x1813c0(0x27b)],_0x42dff9=_0x19c9cc[_0x1813c0(0x33b)],_0x47ad91=_0x559ced[_0x1813c0(0x357)],_0x5a562c=_0x47ad91[_0x1813c0(0x20e)],_0x65a3d7=_0x47ad91[_0x1813c0(0x313)]=_0x2442e2[_0x1813c0(0x1cc)]({'cfg':_0x2442e2['extend']({'keySize':0x80/0x20,'hasher':_0x5a562c,'iterations':0x1}),'init':function(_0x1b2a62){var _0x43cb5e=_0x1813c0;this[_0x43cb5e(0x427)]=this[_0x43cb5e(0x427)][_0x43cb5e(0x1cc)](_0x1b2a62);},'compute':function(_0x43b600,_0x220022){var _0x18ab05=_0x1813c0;for(var _0x237410,_0x377eed=this['cfg'],_0x326b24=_0x377eed[_0x18ab05(0x418)][_0x18ab05(0x375)](),_0x325ddf=_0x42dff9[_0x18ab05(0x375)](),_0xee6bbc=_0x325ddf[_0x18ab05(0x31a)],_0x58ba8f=_0x377eed[_0x18ab05(0x106)],_0x27d7cc=_0x377eed[_0x18ab05(0x30b)];_0xee6bbc['length']<_0x58ba8f;){_0x237410&&_0x326b24[_0x18ab05(0x3ed)](_0x237410),_0x237410=_0x326b24[_0x18ab05(0x3ed)](_0x43b600)['finalize'](_0x220022),_0x326b24[_0x18ab05(0x329)]();for(var _0x771e86=0x1;_0x771e86<_0x27d7cc;_0x771e86++)_0x237410=_0x326b24[_0x18ab05(0x261)](_0x237410),_0x326b24[_0x18ab05(0x329)]();_0x325ddf['concat'](_0x237410);}return _0x325ddf[_0x18ab05(0x429)]=_0x58ba8f*0x4,_0x325ddf;}});_0x559ced[_0x1813c0(0x313)]=function(_0x25e374,_0x1d8332,_0x383cbd){var _0x5c8d14=_0x1813c0;return _0x65a3d7[_0x5c8d14(0x375)](_0x383cbd)['compute'](_0x25e374,_0x1d8332);};}()),_0x121437[_0x3b62d6(0x313)];}));}(me)),me[_0x3cfbc9(0x389)];}var Ce={'exports':{}},yi=Ce[_0x51f573(0x389)],et;function Ct(){return et||(et=0x1,function(_0x2b4961,_0x34a171){(function(_0x4d8999,_0x5e08c3,_0x38b54d){var _0x15df6f=_0xf568;_0x2b4961[_0x15df6f(0x389)]=_0x5e08c3(Z(),Tt());}(yi,function(_0x230d34){var _0x35cfcc=_0xf568;_0x230d34[_0x35cfcc(0x3e2)]['Cipher']||function(_0x2dc244){var _0x529614=_0x35cfcc,_0x183281=_0x230d34,_0x483c3e=_0x183281['lib'],_0x5e8aa7=_0x483c3e[_0x529614(0x27b)],_0x9c78=_0x483c3e[_0x529614(0x33b)],_0x1e1ae7=_0x483c3e[_0x529614(0x2de)],_0x371f65=_0x183281[_0x529614(0x28c)];_0x371f65[_0x529614(0x2f7)];var _0x45a9de=_0x371f65[_0x529614(0xc7)],_0x1ae955=_0x183281[_0x529614(0x357)],_0x260bd8=_0x1ae955['EvpKDF'],_0x41041c=_0x483c3e[_0x529614(0x3f3)]=_0x1e1ae7[_0x529614(0x1cc)]({'cfg':_0x5e8aa7[_0x529614(0x1cc)](),'createEncryptor':function(_0x162c6b,_0x3a0989){var _0x5879a1=_0x529614;return this[_0x5879a1(0x375)](this[_0x5879a1(0x111)],_0x162c6b,_0x3a0989);},'createDecryptor':function(_0x3fdcef,_0xfe4982){var _0x487b48=_0x529614;return this[_0x487b48(0x375)](this[_0x487b48(0x118)],_0x3fdcef,_0xfe4982);},'init':function(_0xcee57a,_0xa60e53,_0x2c9337){var _0x598fd0=_0x529614;this['cfg']=this[_0x598fd0(0x427)]['extend'](_0x2c9337),this['_xformMode']=_0xcee57a,this[_0x598fd0(0x335)]=_0xa60e53,this[_0x598fd0(0x329)]();},'reset':function(){var _0x29ac3e=_0x529614;_0x1e1ae7['reset'][_0x29ac3e(0x31f)](this),this[_0x29ac3e(0x1af)]();},'process':function(_0x1c25ee){var _0x375207=_0x529614;return this[_0x375207(0x245)](_0x1c25ee),this[_0x375207(0x2df)]();},'finalize':function(_0x4ef661){var _0x39f6fa=_0x529614;_0x4ef661&&this[_0x39f6fa(0x245)](_0x4ef661);var _0x3a9178=this[_0x39f6fa(0x135)]();return _0x3a9178;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5ac994(_0x3b599d){return typeof _0x3b599d=='string'?_0x135655:_0x470a00;}return function(_0x404276){return{'encrypt':function(_0x50343f,_0x106ca9,_0x509ff6){var _0xab5af1=_0xf568;return _0x5ac994(_0x106ca9)[_0xab5af1(0x322)](_0x404276,_0x50343f,_0x106ca9,_0x509ff6);},'decrypt':function(_0x56851f,_0x5a9ff2,_0x399917){var _0x5bc891=_0xf568;return _0x5ac994(_0x5a9ff2)[_0x5bc891(0x11f)](_0x404276,_0x56851f,_0x5a9ff2,_0x399917);}};};}())});_0x483c3e['StreamCipher']=_0x41041c[_0x529614(0x1cc)]({'_doFinalize':function(){var _0x149dc7=this['_process'](!0x0);return _0x149dc7;},'blockSize':0x1});var _0x373710=_0x183281['mode']={},_0x57ab77=_0x483c3e[_0x529614(0xe0)]=_0x5e8aa7[_0x529614(0x1cc)]({'createEncryptor':function(_0x1767cc,_0x4f6de5){var _0x5a32f5=_0x529614;return this['Encryptor'][_0x5a32f5(0x375)](_0x1767cc,_0x4f6de5);},'createDecryptor':function(_0x464365,_0x3e62ce){var _0x34ca3b=_0x529614;return this[_0x34ca3b(0x2a1)][_0x34ca3b(0x375)](_0x464365,_0x3e62ce);},'init':function(_0x32ad1b,_0xb03885){var _0x27000c=_0x529614;this[_0x27000c(0x155)]=_0x32ad1b,this[_0x27000c(0x423)]=_0xb03885;}}),_0x3e839b=_0x373710[_0x529614(0x1d6)]=(function(){var _0x46e7d6=_0x529614,_0x162228=_0x57ab77[_0x46e7d6(0x1cc)]();_0x162228[_0x46e7d6(0x13a)]=_0x162228[_0x46e7d6(0x1cc)]({'processBlock':function(_0x4ae0a2,_0x2f1864){var _0x5dd003=_0x46e7d6,_0xec76ce=this['_cipher'],_0x505c91=_0xec76ce[_0x5dd003(0x266)];_0xa671d3['call'](this,_0x4ae0a2,_0x2f1864,_0x505c91),_0xec76ce[_0x5dd003(0xfb)](_0x4ae0a2,_0x2f1864),this[_0x5dd003(0x176)]=_0x4ae0a2['slice'](_0x2f1864,_0x2f1864+_0x505c91);}}),_0x162228[_0x46e7d6(0x2a1)]=_0x162228[_0x46e7d6(0x1cc)]({'processBlock':function(_0x5d07aa,_0xd3af5b){var _0x56d50f=_0x46e7d6,_0x3c7702=this[_0x56d50f(0x155)],_0x9a09c6=_0x3c7702[_0x56d50f(0x266)],_0xc56a2c=_0x5d07aa[_0x56d50f(0x1a9)](_0xd3af5b,_0xd3af5b+_0x9a09c6);_0x3c7702[_0x56d50f(0x2ef)](_0x5d07aa,_0xd3af5b),_0xa671d3[_0x56d50f(0x31f)](this,_0x5d07aa,_0xd3af5b,_0x9a09c6),this['_prevBlock']=_0xc56a2c;}});function _0xa671d3(_0x1cbd84,_0x2604cb,_0x259bbc){var _0x2c063c=_0x46e7d6,_0x209f17,_0x14c30e=this['_iv'];_0x14c30e?(_0x209f17=_0x14c30e,this[_0x2c063c(0x423)]=_0x2dc244):_0x209f17=this['_prevBlock'];for(var _0x2c520f=0x0;_0x2c520f<_0x259bbc;_0x2c520f++)_0x1cbd84[_0x2604cb+_0x2c520f]^=_0x209f17[_0x2c520f];}return _0x162228;}()),_0x483859=_0x183281[_0x529614(0x2fe)]={},_0x357f64=_0x483859[_0x529614(0x1bf)]={'pad':function(_0xf0761a,_0x434e6a){var _0x635e98=_0x529614;for(var _0x11b6d8=_0x434e6a*0x4,_0x50254a=_0x11b6d8-_0xf0761a[_0x635e98(0x429)]%_0x11b6d8,_0x4a1595=_0x50254a<<0x18|_0x50254a<<0x10|_0x50254a<<0x8|_0x50254a,_0xf800a1=[],_0x521a61=0x0;_0x521a61<_0x50254a;_0x521a61+=0x4)_0xf800a1['push'](_0x4a1595);var _0x4aabb3=_0x9c78[_0x635e98(0x375)](_0xf800a1,_0x50254a);_0xf0761a['concat'](_0x4aabb3);},'unpad':function(_0x247b97){var _0x49d1d4=_0x247b97['words'][_0x247b97['sigBytes']-0x1>>>0x2]&0xff;_0x247b97['sigBytes']-=_0x49d1d4;}};_0x483c3e[_0x529614(0x154)]=_0x41041c[_0x529614(0x1cc)]({'cfg':_0x41041c[_0x529614(0x427)][_0x529614(0x1cc)]({'mode':_0x3e839b,'padding':_0x357f64}),'reset':function(){var _0x32a223=_0x529614,_0x57237a;_0x41041c[_0x32a223(0x329)][_0x32a223(0x31f)](this);var _0x11ad7e=this[_0x32a223(0x427)],_0x350372=_0x11ad7e['iv'],_0x8a5498=_0x11ad7e['mode'];this[_0x32a223(0x3b5)]==this[_0x32a223(0x111)]?_0x57237a=_0x8a5498[_0x32a223(0x23a)]:(_0x57237a=_0x8a5498['createDecryptor'],this[_0x32a223(0xb1)]=0x1),this[_0x32a223(0x171)]&&this[_0x32a223(0x171)]['__creator']==_0x57237a?this['_mode'][_0x32a223(0x22f)](this,_0x350372&&_0x350372[_0x32a223(0x31a)]):(this[_0x32a223(0x171)]=_0x57237a['call'](_0x8a5498,this,_0x350372&&_0x350372[_0x32a223(0x31a)]),this[_0x32a223(0x171)]['__creator']=_0x57237a);},'_doProcessBlock':function(_0x27dab3,_0x2ac42d){var _0x3e3807=_0x529614;this['_mode'][_0x3e3807(0x17b)](_0x27dab3,_0x2ac42d);},'_doFinalize':function(){var _0xbc4aae=_0x529614,_0x300b52,_0x3a72eb=this[_0xbc4aae(0x427)]['padding'];return this[_0xbc4aae(0x3b5)]==this[_0xbc4aae(0x111)]?(_0x3a72eb['pad'](this[_0xbc4aae(0x97)],this[_0xbc4aae(0x266)]),_0x300b52=this[_0xbc4aae(0x2df)](!0x0)):(_0x300b52=this[_0xbc4aae(0x2df)](!0x0),_0x3a72eb[_0xbc4aae(0x217)](_0x300b52)),_0x300b52;},'blockSize':0x80/0x20});var _0x567bba=_0x483c3e[_0x529614(0x30c)]=_0x5e8aa7[_0x529614(0x1cc)]({'init':function(_0x3ce6af){var _0x306230=_0x529614;this[_0x306230(0x390)](_0x3ce6af);},'toString':function(_0x3ffd75){var _0x3cffb2=_0x529614;return(_0x3ffd75||this[_0x3cffb2(0x3b0)])['stringify'](this);}}),_0x46d464=_0x183281[_0x529614(0x2a9)]={},_0x1c351d=_0x46d464[_0x529614(0x220)]={'stringify':function(_0x548871){var _0x12da41=_0x529614,_0x5b8e7d,_0x5d9f67=_0x548871['ciphertext'],_0x593d97=_0x548871[_0x12da41(0x1d8)];return _0x593d97?_0x5b8e7d=_0x9c78[_0x12da41(0x375)]([0x53616c74,0x65645f5f])[_0x12da41(0x15a)](_0x593d97)[_0x12da41(0x15a)](_0x5d9f67):_0x5b8e7d=_0x5d9f67,_0x5b8e7d[_0x12da41(0x401)](_0x45a9de);},'parse':function(_0x2d1902){var _0x5dfa30=_0x529614,_0x2dfdb0,_0x440574=_0x45a9de[_0x5dfa30(0xa4)](_0x2d1902),_0x3c9173=_0x440574[_0x5dfa30(0x31a)];return _0x3c9173[0x0]==0x53616c74&&_0x3c9173[0x1]==0x65645f5f&&(_0x2dfdb0=_0x9c78['create'](_0x3c9173['slice'](0x2,0x4)),_0x3c9173[_0x5dfa30(0x179)](0x0,0x4),_0x440574['sigBytes']-=0x10),_0x567bba[_0x5dfa30(0x375)]({'ciphertext':_0x440574,'salt':_0x2dfdb0});}},_0x470a00=_0x483c3e['SerializableCipher']=_0x5e8aa7[_0x529614(0x1cc)]({'cfg':_0x5e8aa7[_0x529614(0x1cc)]({'format':_0x1c351d}),'encrypt':function(_0x4aac2e,_0x22a6c5,_0x3cca89,_0x2c6191){var _0x5f5433=_0x529614;_0x2c6191=this['cfg'][_0x5f5433(0x1cc)](_0x2c6191);var _0x57d5db=_0x4aac2e[_0x5f5433(0x23a)](_0x3cca89,_0x2c6191),_0x4ddf38=_0x57d5db[_0x5f5433(0x261)](_0x22a6c5),_0x1fec5b=_0x57d5db[_0x5f5433(0x427)];return _0x567bba[_0x5f5433(0x375)]({'ciphertext':_0x4ddf38,'key':_0x3cca89,'iv':_0x1fec5b['iv'],'algorithm':_0x4aac2e,'mode':_0x1fec5b['mode'],'padding':_0x1fec5b['padding'],'blockSize':_0x4aac2e[_0x5f5433(0x266)],'formatter':_0x2c6191[_0x5f5433(0x2a9)]});},'decrypt':function(_0x50396f,_0x24d93a,_0x43b254,_0x2f4ec3){var _0x2ef51d=_0x529614;_0x2f4ec3=this[_0x2ef51d(0x427)]['extend'](_0x2f4ec3),_0x24d93a=this[_0x2ef51d(0x3c6)](_0x24d93a,_0x2f4ec3[_0x2ef51d(0x2a9)]);var _0x175c3a=_0x50396f[_0x2ef51d(0x11d)](_0x43b254,_0x2f4ec3)['finalize'](_0x24d93a[_0x2ef51d(0x12a)]);return _0x175c3a;},'_parse':function(_0x204531,_0x51365e){var _0x2242a4=_0x529614;return typeof _0x204531==_0x2242a4(0x32d)?_0x51365e['parse'](_0x204531,this):_0x204531;}}),_0x4408c8=_0x183281['kdf']={},_0x63c51b=_0x4408c8['OpenSSL']={'execute':function(_0x54fdf6,_0x2b8a35,_0x19ff19,_0x2e09c9,_0x137940){var _0x49b933=_0x529614;if(_0x2e09c9||(_0x2e09c9=_0x9c78[_0x49b933(0x20a)](0x40/0x8)),_0x137940)var _0x4ec375=_0x260bd8[_0x49b933(0x375)]({'keySize':_0x2b8a35+_0x19ff19,'hasher':_0x137940})[_0x49b933(0x114)](_0x54fdf6,_0x2e09c9);else var _0x4ec375=_0x260bd8[_0x49b933(0x375)]({'keySize':_0x2b8a35+_0x19ff19})[_0x49b933(0x114)](_0x54fdf6,_0x2e09c9);var _0x5aa9e1=_0x9c78[_0x49b933(0x375)](_0x4ec375[_0x49b933(0x31a)][_0x49b933(0x1a9)](_0x2b8a35),_0x19ff19*0x4);return _0x4ec375['sigBytes']=_0x2b8a35*0x4,_0x567bba[_0x49b933(0x375)]({'key':_0x4ec375,'iv':_0x5aa9e1,'salt':_0x2e09c9});}},_0x135655=_0x483c3e['PasswordBasedCipher']=_0x470a00['extend']({'cfg':_0x470a00[_0x529614(0x427)][_0x529614(0x1cc)]({'kdf':_0x63c51b}),'encrypt':function(_0x52a461,_0x1c84e0,_0xacdefb,_0x1678a8){var _0x59beae=_0x529614;_0x1678a8=this[_0x59beae(0x427)]['extend'](_0x1678a8);var _0x35c75e=_0x1678a8['kdf'][_0x59beae(0x3b8)](_0xacdefb,_0x52a461[_0x59beae(0x106)],_0x52a461[_0x59beae(0x344)],_0x1678a8[_0x59beae(0x1d8)],_0x1678a8['hasher']);_0x1678a8['iv']=_0x35c75e['iv'];var _0x1fd5cb=_0x470a00[_0x59beae(0x322)]['call'](this,_0x52a461,_0x1c84e0,_0x35c75e[_0x59beae(0x246)],_0x1678a8);return _0x1fd5cb['mixIn'](_0x35c75e),_0x1fd5cb;},'decrypt':function(_0x564ef1,_0x2b4b4b,_0x5c41e0,_0x47ec45){var _0x3a7b61=_0x529614;_0x47ec45=this[_0x3a7b61(0x427)][_0x3a7b61(0x1cc)](_0x47ec45),_0x2b4b4b=this[_0x3a7b61(0x3c6)](_0x2b4b4b,_0x47ec45[_0x3a7b61(0x2a9)]);var _0x850ca0=_0x47ec45[_0x3a7b61(0x22a)][_0x3a7b61(0x3b8)](_0x5c41e0,_0x564ef1[_0x3a7b61(0x106)],_0x564ef1['ivSize'],_0x2b4b4b[_0x3a7b61(0x1d8)],_0x47ec45[_0x3a7b61(0x418)]);_0x47ec45['iv']=_0x850ca0['iv'];var _0x1c6205=_0x470a00[_0x3a7b61(0x11f)][_0x3a7b61(0x31f)](this,_0x564ef1,_0x2b4b4b,_0x850ca0[_0x3a7b61(0x246)],_0x47ec45);return _0x1c6205;}});}();}));}(Ce)),Ce['exports'];}var Ui=Ie[_0x51f573(0x389)],tt;function Ai(){var _0x581ced=_0x51f573;return tt||(tt=0x1,function(_0x6524cc,_0x5b9748){(function(_0x1cba98,_0x2c903a,_0x21cc02){var _0xfa13ba=_0xf568;_0x6524cc[_0xfa13ba(0x389)]=_0x2c903a(Z(),gt(),Ci(),Tt(),Ct());}(Ui,function(_0xeda5ab){var _0xf2b093=_0xf568;return(function(){var _0x15c7e2=_0xf568,_0x251e77=_0xeda5ab,_0x20b98b=_0x251e77['lib'],_0x396154=_0x20b98b[_0x15c7e2(0x154)],_0x4cf56e=_0x251e77[_0x15c7e2(0x357)],_0x5b083b=[],_0x29927c=[],_0x23ab29=[],_0x36ff2a=[],_0x11ce3c=[],_0x5a3120=[],_0x56d835=[],_0x1b5149=[],_0x2a36b3=[],_0x4ecdf9=[];(function(){for(var _0x5f44c9=[],_0x581bca=0x0;_0x581bca<0x100;_0x581bca++)_0x581bca<0x80?_0x5f44c9[_0x581bca]=_0x581bca<<0x1:_0x5f44c9[_0x581bca]=_0x581bca<<0x1^0x11b;for(var _0x493387=0x0,_0x3db874=0x0,_0x581bca=0x0;_0x581bca<0x100;_0x581bca++){var _0x1a4668=_0x3db874^_0x3db874<<0x1^_0x3db874<<0x2^_0x3db874<<0x3^_0x3db874<<0x4;_0x1a4668=_0x1a4668>>>0x8^_0x1a4668&0xff^0x63,_0x5b083b[_0x493387]=_0x1a4668,_0x29927c[_0x1a4668]=_0x493387;var _0x466453=_0x5f44c9[_0x493387],_0x39e058=_0x5f44c9[_0x466453],_0x1ea026=_0x5f44c9[_0x39e058],_0x2551ae=_0x5f44c9[_0x1a4668]*0x101^_0x1a4668*0x1010100;_0x23ab29[_0x493387]=_0x2551ae<<0x18|_0x2551ae>>>0x8,_0x36ff2a[_0x493387]=_0x2551ae<<0x10|_0x2551ae>>>0x10,_0x11ce3c[_0x493387]=_0x2551ae<<0x8|_0x2551ae>>>0x18,_0x5a3120[_0x493387]=_0x2551ae;var _0x2551ae=_0x1ea026*0x1010101^_0x39e058*0x10001^_0x466453*0x101^_0x493387*0x1010100;_0x56d835[_0x1a4668]=_0x2551ae<<0x18|_0x2551ae>>>0x8,_0x1b5149[_0x1a4668]=_0x2551ae<<0x10|_0x2551ae>>>0x10,_0x2a36b3[_0x1a4668]=_0x2551ae<<0x8|_0x2551ae>>>0x18,_0x4ecdf9[_0x1a4668]=_0x2551ae,_0x493387?(_0x493387=_0x466453^_0x5f44c9[_0x5f44c9[_0x5f44c9[_0x1ea026^_0x466453]]],_0x3db874^=_0x5f44c9[_0x5f44c9[_0x3db874]]):_0x493387=_0x3db874=0x1;}}());var _0x428f82=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29e6c4=_0x4cf56e[_0x15c7e2(0x352)]=_0x396154['extend']({'_doReset':function(){var _0x356fe4=_0x15c7e2,_0x17ce2d;if(!(this['_nRounds']&&this[_0x356fe4(0x1df)]===this[_0x356fe4(0x335)])){for(var _0x4d4208=this[_0x356fe4(0x1df)]=this['_key'],_0x4904b8=_0x4d4208[_0x356fe4(0x31a)],_0x281f0e=_0x4d4208[_0x356fe4(0x429)]/0x4,_0xb383ee=this[_0x356fe4(0x2b6)]=_0x281f0e+0x6,_0x2623be=(_0xb383ee+0x1)*0x4,_0x112cbd=this['_keySchedule']=[],_0x30d689=0x0;_0x30d689<_0x2623be;_0x30d689++)_0x30d689<_0x281f0e?_0x112cbd[_0x30d689]=_0x4904b8[_0x30d689]:(_0x17ce2d=_0x112cbd[_0x30d689-0x1],_0x30d689%_0x281f0e?_0x281f0e>0x6&&_0x30d689%_0x281f0e==0x4&&(_0x17ce2d=_0x5b083b[_0x17ce2d>>>0x18]<<0x18|_0x5b083b[_0x17ce2d>>>0x10&0xff]<<0x10|_0x5b083b[_0x17ce2d>>>0x8&0xff]<<0x8|_0x5b083b[_0x17ce2d&0xff]):(_0x17ce2d=_0x17ce2d<<0x8|_0x17ce2d>>>0x18,_0x17ce2d=_0x5b083b[_0x17ce2d>>>0x18]<<0x18|_0x5b083b[_0x17ce2d>>>0x10&0xff]<<0x10|_0x5b083b[_0x17ce2d>>>0x8&0xff]<<0x8|_0x5b083b[_0x17ce2d&0xff],_0x17ce2d^=_0x428f82[_0x30d689/_0x281f0e|0x0]<<0x18),_0x112cbd[_0x30d689]=_0x112cbd[_0x30d689-_0x281f0e]^_0x17ce2d);for(var _0x2a1f3a=this['_invKeySchedule']=[],_0x19c2b2=0x0;_0x19c2b2<_0x2623be;_0x19c2b2++){var _0x30d689=_0x2623be-_0x19c2b2;if(_0x19c2b2%0x4)var _0x17ce2d=_0x112cbd[_0x30d689];else var _0x17ce2d=_0x112cbd[_0x30d689-0x4];_0x19c2b2<0x4||_0x30d689<=0x4?_0x2a1f3a[_0x19c2b2]=_0x17ce2d:_0x2a1f3a[_0x19c2b2]=_0x56d835[_0x5b083b[_0x17ce2d>>>0x18]]^_0x1b5149[_0x5b083b[_0x17ce2d>>>0x10&0xff]]^_0x2a36b3[_0x5b083b[_0x17ce2d>>>0x8&0xff]]^_0x4ecdf9[_0x5b083b[_0x17ce2d&0xff]];}}},'encryptBlock':function(_0x33c5de,_0x3f3523){var _0x313e29=_0x15c7e2;this[_0x313e29(0x336)](_0x33c5de,_0x3f3523,this[_0x313e29(0x3dd)],_0x23ab29,_0x36ff2a,_0x11ce3c,_0x5a3120,_0x5b083b);},'decryptBlock':function(_0x4fe154,_0x3ac23d){var _0x342571=_0x15c7e2,_0xf438dd=_0x4fe154[_0x3ac23d+0x1];_0x4fe154[_0x3ac23d+0x1]=_0x4fe154[_0x3ac23d+0x3],_0x4fe154[_0x3ac23d+0x3]=_0xf438dd,this[_0x342571(0x336)](_0x4fe154,_0x3ac23d,this[_0x342571(0xa5)],_0x56d835,_0x1b5149,_0x2a36b3,_0x4ecdf9,_0x29927c);var _0xf438dd=_0x4fe154[_0x3ac23d+0x1];_0x4fe154[_0x3ac23d+0x1]=_0x4fe154[_0x3ac23d+0x3],_0x4fe154[_0x3ac23d+0x3]=_0xf438dd;},'_doCryptBlock':function(_0x8cad5d,_0x123df7,_0x2ed05f,_0x4f6657,_0x472a69,_0x285adf,_0x5a699e,_0x5aa7aa){var _0x36f169=_0x15c7e2;for(var _0x10e58b=this[_0x36f169(0x2b6)],_0x131f96=_0x8cad5d[_0x123df7]^_0x2ed05f[0x0],_0x5ce58e=_0x8cad5d[_0x123df7+0x1]^_0x2ed05f[0x1],_0x2c137f=_0x8cad5d[_0x123df7+0x2]^_0x2ed05f[0x2],_0x9bb2d=_0x8cad5d[_0x123df7+0x3]^_0x2ed05f[0x3],_0x1de261=0x4,_0x22c9da=0x1;_0x22c9da<_0x10e58b;_0x22c9da++){var _0x30e2e4=_0x4f6657[_0x131f96>>>0x18]^_0x472a69[_0x5ce58e>>>0x10&0xff]^_0x285adf[_0x2c137f>>>0x8&0xff]^_0x5a699e[_0x9bb2d&0xff]^_0x2ed05f[_0x1de261++],_0x1b8db5=_0x4f6657[_0x5ce58e>>>0x18]^_0x472a69[_0x2c137f>>>0x10&0xff]^_0x285adf[_0x9bb2d>>>0x8&0xff]^_0x5a699e[_0x131f96&0xff]^_0x2ed05f[_0x1de261++],_0x445877=_0x4f6657[_0x2c137f>>>0x18]^_0x472a69[_0x9bb2d>>>0x10&0xff]^_0x285adf[_0x131f96>>>0x8&0xff]^_0x5a699e[_0x5ce58e&0xff]^_0x2ed05f[_0x1de261++],_0x33cf52=_0x4f6657[_0x9bb2d>>>0x18]^_0x472a69[_0x131f96>>>0x10&0xff]^_0x285adf[_0x5ce58e>>>0x8&0xff]^_0x5a699e[_0x2c137f&0xff]^_0x2ed05f[_0x1de261++];_0x131f96=_0x30e2e4,_0x5ce58e=_0x1b8db5,_0x2c137f=_0x445877,_0x9bb2d=_0x33cf52;}var _0x30e2e4=(_0x5aa7aa[_0x131f96>>>0x18]<<0x18|_0x5aa7aa[_0x5ce58e>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x2c137f>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x9bb2d&0xff])^_0x2ed05f[_0x1de261++],_0x1b8db5=(_0x5aa7aa[_0x5ce58e>>>0x18]<<0x18|_0x5aa7aa[_0x2c137f>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x9bb2d>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x131f96&0xff])^_0x2ed05f[_0x1de261++],_0x445877=(_0x5aa7aa[_0x2c137f>>>0x18]<<0x18|_0x5aa7aa[_0x9bb2d>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x131f96>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x5ce58e&0xff])^_0x2ed05f[_0x1de261++],_0x33cf52=(_0x5aa7aa[_0x9bb2d>>>0x18]<<0x18|_0x5aa7aa[_0x131f96>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x5ce58e>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x2c137f&0xff])^_0x2ed05f[_0x1de261++];_0x8cad5d[_0x123df7]=_0x30e2e4,_0x8cad5d[_0x123df7+0x1]=_0x1b8db5,_0x8cad5d[_0x123df7+0x2]=_0x445877,_0x8cad5d[_0x123df7+0x3]=_0x33cf52;},'keySize':0x100/0x20});_0x251e77[_0x15c7e2(0x352)]=_0x396154[_0x15c7e2(0x3f7)](_0x29e6c4);}()),_0xeda5ab[_0xf2b093(0x352)];}));}(Ie)),Ie[_0x581ced(0x389)];}var Pi=Ai();const Li=de(Pi);var Mi=gt();const it=de(Mi);var be={'exports':{}},wi=be[_0x51f573(0x389)],nt;function _0xf568(_0x17d990,_0x138031){var _0x5d99c1=_0x5d99();return _0xf568=function(_0xf56858,_0x455c41){_0xf56858=_0xf56858-0x92;var _0x390d3f=_0x5d99c1[_0xf56858];return _0x390d3f;},_0xf568(_0x17d990,_0x138031);}function xi(){var _0x3f0d2d=_0x51f573;return nt||(nt=0x1,function(_0x4a8bbd,_0x23bc9c){(function(_0x8fa2f7,_0x432ead){_0x4a8bbd['exports']=_0x432ead(Z());}(wi,function(_0x3204fc){var _0x4ebd63=_0xf568;return _0x3204fc[_0x4ebd63(0x28c)][_0x4ebd63(0x2f7)];}));}(be)),be[_0x3f0d2d(0x389)];}var ki=xi();const $i=de(ki);var Oe={'exports':{}},Hi=Oe['exports'],st;function ji(){return st||(st=0x1,function(_0x23c2ac,_0x4cbf3d){(function(_0x5aa29e,_0x554525){_0x23c2ac['exports']=_0x554525(Z());}(Hi,function(_0x52d84f){var _0x3b7bc6=_0xf568;return(function(){var _0x897c5b=_0xf568;if(typeof ArrayBuffer==_0x897c5b(0x367)){var _0x1387da=_0x52d84f,_0x419fa5=_0x1387da['lib'],_0x2603fe=_0x419fa5['WordArray'],_0x505724=_0x2603fe[_0x897c5b(0x22f)],_0x2e1bf3=_0x2603fe[_0x897c5b(0x22f)]=function(_0x2caf76){var _0x1ef10d=_0x897c5b;if(_0x2caf76 instanceof ArrayBuffer&&(_0x2caf76=new Uint8Array(_0x2caf76)),(_0x2caf76 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2caf76 instanceof Uint8ClampedArray||_0x2caf76 instanceof Int16Array||_0x2caf76 instanceof Uint16Array||_0x2caf76 instanceof Int32Array||_0x2caf76 instanceof Uint32Array||_0x2caf76 instanceof Float32Array||_0x2caf76 instanceof Float64Array)&&(_0x2caf76=new Uint8Array(_0x2caf76['buffer'],_0x2caf76[_0x1ef10d(0x325)],_0x2caf76[_0x1ef10d(0x3a7)])),_0x2caf76 instanceof Uint8Array){for(var _0x2341d6=_0x2caf76[_0x1ef10d(0x3a7)],_0x731c8d=[],_0x56503c=0x0;_0x56503c<_0x2341d6;_0x56503c++)_0x731c8d[_0x56503c>>>0x2]|=_0x2caf76[_0x56503c]<<0x18-_0x56503c%0x4*0x8;_0x505724['call'](this,_0x731c8d,_0x2341d6);}else _0x505724['apply'](this,arguments);};_0x2e1bf3[_0x897c5b(0x3b4)]=_0x2603fe;}}()),_0x52d84f[_0x3b7bc6(0x3e2)]['WordArray'];}));}(Oe)),Oe['exports'];}var Bi=ji();const Fi=de(Bi);var Re={'exports':{}},Vi=Re[_0x51f573(0x389)],rt;function Wi(){return rt||(rt=0x1,function(_0x3b8bc0,_0x38ecda){(function(_0x179d2b,_0x1948fb,_0x429b4c){var _0x3629ab=_0xf568;_0x3b8bc0[_0x3629ab(0x389)]=_0x1948fb(Z(),Ct());}(Vi,function(_0x895ed3){var _0x791bd5=_0xf568;return _0x895ed3[_0x791bd5(0x2fe)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x895ed3['pad']['NoPadding'];}));}(Re)),Re['exports'];}var Gi=Wi();const Yi=de(Gi);function Ki(_0x32c213,_0x1627ce){var _0x392629=_0x51f573;const _0x87ae59=_0x1627ce-_0x32c213[_0x392629(0x17a)]%_0x1627ce,_0x59c598=String[_0x392629(0x169)](_0x87ae59)[_0x392629(0x1ee)](_0x87ae59);return _0x32c213+_0x59c598;}function qi(_0x2ed8d4,_0x50baf4){var _0x2a3834=_0x51f573;const _0xbed06d=Fi[_0x2a3834(0x20a)](0x10),_0x599602=Ki(_0x2ed8d4,0x10),_0x33278b=Li[_0x2a3834(0x322)]($i[_0x2a3834(0xa4)](_0x599602),it[_0x2a3834(0xa4)](_0x50baf4),{'iv':_0xbed06d,'padding':Yi});return _0xbed06d['concat'](_0x33278b[_0x2a3834(0x12a)])[_0x2a3834(0x401)](it);}function zi(){var _0x28bdcb=_0x51f573;const _0x46563e=Nt['getGlobalObject']()[_0x28bdcb(0x3bc)];if(_0x46563e){const _0x4eb0db={'time':Math[_0x28bdcb(0x3e5)](Date[_0x28bdcb(0x162)]()/0x3e8),'domain':location[_0x28bdcb(0x301)]};return qi(JSON[_0x28bdcb(0x29c)](_0x4eb0db),_0x46563e);}}var Xi=Object[_0x51f573(0x395)],Ji=(_0x50c103,_0x42903f,_0x3638bb,_0x530989)=>{var _0x186370=_0x51f573;for(var _0x5daf07=_0x530989>0x1?void 0x0:_0x530989?Xi(_0x42903f,_0x3638bb):_0x42903f,_0x56aa6f=_0x50c103[_0x186370(0x17a)]-0x1,_0xacae40;_0x56aa6f>=0x0;_0x56aa6f--)(_0xacae40=_0x50c103[_0x56aa6f])&&(_0x5daf07=_0xacae40(_0x5daf07)||_0x5daf07);return _0x5daf07;},Zi=(_0x389497,_0x488227)=>(_0x99aa18,_0xeb37a9)=>_0x488227(_0x99aa18,_0xeb37a9,_0x389497);let De=class{constructor(_0x2708a9){var _0x39e926=_0x51f573;this[_0x39e926(0x26d)]=_0x2708a9,this[_0x39e926(0x132)]();}[_0x51f573(0x132)](){var _0x540462=_0x51f573;this[_0x540462(0x26d)]['registerHTTPInterceptor']({'interceptor':(_0x25fdca,_0xaaf3de)=>{var _0x49e01f=_0x540462;const _0xffb3d7=_0x25fdca[_0x49e01f(0x35e)],_0x16262a=zi();return _0x16262a&&_0xffb3d7[_0x49e01f(0x28a)](_0x49e01f(0x262),_0x16262a),_0xaaf3de(_0x25fdca);}});}};De=Ji([Zi(0x0,o[_0x51f573(0x2ba)](K[_0x51f573(0x194)]))],De);var Qi=Object[_0x51f573(0x395)],en=(_0x414cb7,_0x1f728f,_0x4cd021,_0x2f5976)=>{for(var _0x4a5b0c=_0x2f5976>0x1?void 0x0:_0x2f5976?Qi(_0x1f728f,_0x4cd021):_0x1f728f,_0x371e7b=_0x414cb7['length']-0x1,_0x1d2001;_0x371e7b>=0x0;_0x371e7b--)(_0x1d2001=_0x414cb7[_0x371e7b])&&(_0x4a5b0c=_0x1d2001(_0x4a5b0c)||_0x4a5b0c);return _0x4a5b0c;},Le=(_0x5421ea,_0x1bd29e)=>(_0x546c02,_0x51b535)=>_0x1bd29e(_0x546c02,_0x51b535,_0x5421ea);exports[_0x51f573(0x12f)]=class extends o[_0x51f573(0xf7)]{constructor(_0x54377e,_0x9f01e9,_0x11b85b){var _0x16a0bd=_0x51f573;super(),A(this,_0x16a0bd(0xe1),new j[(_0x16a0bd(0x413))](null)),A(this,_0x16a0bd(0x2ad),this[_0x16a0bd(0xe1)][_0x16a0bd(0x1f9)]()),(this[_0x16a0bd(0x22e)]=_0x54377e,this['_snapshotService']=_0x9f01e9,this[_0x16a0bd(0xe4)]=_0x11b85b);}async['loadUnitOfRevision'](_0x150a77,_0x12f6b2,_0x451bd7){var _0x5e4bcf=_0x51f573;this[_0x5e4bcf(0xe1)][_0x5e4bcf(0x320)]({'unitId':_0x150a77,'type':_0x12f6b2});let _0x1d6a78=null;switch(_0x12f6b2){case X[_0x5e4bcf(0x1bb)]:{_0x1d6a78=await this[_0x5e4bcf(0x2fc)]['loadSheet'](_0x150a77,_0x451bd7);break;}case X['UNIVER_DOC']:{_0x1d6a78=await this[_0x5e4bcf(0x2fc)][_0x5e4bcf(0x14a)](_0x150a77,_0x451bd7);break;}default:{this[_0x5e4bcf(0x22e)][_0x5e4bcf(0x1f8)](_0x5e4bcf(0x399),_0x5e4bcf(0xc3));break;}}return _0x1d6a78;}async[_0x51f573(0x36a)](_0x47636a,_0x48b565,_0x3b408d){var _0x55842a=_0x51f573,_0x296885;this[_0x55842a(0xe1)]['next']({'unitId':_0x47636a,'type':_0x48b565,'subUnitId':_0x3b408d});let _0x48485c=0x0;const _0x55253a=await((_0x296885=this[_0x55842a(0xe4)])==null?void 0x0:_0x296885[_0x55842a(0x374)](_0x47636a));return _0x55253a&&(_0x55253a['awaitingChangeset']||_0x55253a['mutations'][_0x55842a(0x17a)]!==0x0)&&(_0x48485c=_0x55253a[_0x55842a(0x2b9)]),_0x48485c===0x0&&this['_logService']['debug'](_0x55842a(0x399),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x55842a(0x255)](_0x47636a,_0x48b565,_0x48485c);}},exports['DataLoaderService']=en([Le(0x0,o[_0x51f573(0x163)]),Le(0x1,o[_0x51f573(0x2ba)](E[_0x51f573(0x370)])),Le(0x2,o['Optional'](q))],exports[_0x51f573(0x12f)]);var tn=Object[_0x51f573(0x395)],nn=(_0xd15f78,_0x1ca607,_0x333eef,_0x5a2aba)=>{var _0x3ea00e=_0x51f573;for(var _0x5766e1=_0x5a2aba>0x1?void 0x0:_0x5a2aba?tn(_0x1ca607,_0x333eef):_0x1ca607,_0x376553=_0xd15f78[_0x3ea00e(0x17a)]-0x1,_0x1f3b5d;_0x376553>=0x0;_0x376553--)(_0x1f3b5d=_0xd15f78[_0x376553])&&(_0x5766e1=_0x1f3b5d(_0x5766e1)||_0x5766e1);return _0x5766e1;},Me=(_0x57af57,_0x345a79)=>(_0xfe31e1,_0x5d0960)=>_0x345a79(_0xfe31e1,_0x5d0960,_0x57af57);const sn=['image/png',_0x51f573(0xc6),'image/jpg',_0x51f573(0x324),'image/bmp'],rn=0x5*0x400*0x400,an=_0x51f573(0x19d),on=_0x51f573(0x2f6);exports[_0x51f573(0x146)]=class{constructor(_0x303d40,_0x504a7f,_0x5a7ad6){var _0x5211a8=_0x51f573;A(this,_0x5211a8(0x24a),0x0),A(this,_0x5211a8(0x19a),new j[(_0x5211a8(0x243))]()),A(this,_0x5211a8(0x15c),this[_0x5211a8(0x19a)]),A(this,_0x5211a8(0x29e),new Map()),(this[_0x5211a8(0x26d)]=_0x303d40,this[_0x5211a8(0x373)]=_0x504a7f,this[_0x5211a8(0x293)]=_0x5a7ad6);}[_0x51f573(0x3f4)](_0x1fd4a7){var _0x4abf5f=_0x51f573;this[_0x4abf5f(0x24a)]=_0x1fd4a7,this[_0x4abf5f(0x19a)][_0x4abf5f(0x320)](_0x1fd4a7);}['getImageSourceCache'](_0x26216d,_0x51450f){var _0x55a202=_0x51f573;if(_0x51450f===z[_0x55a202(0x21c)]['BASE64']){const _0x1cf99a=new Image();return _0x1cf99a[_0x55a202(0x20f)]=_0x26216d,_0x1cf99a;}return this[_0x55a202(0x29e)][_0x55a202(0x33d)](_0x26216d);}[_0x51f573(0x1a7)](_0xa18723,_0x59959e,_0xb78209){var _0x562579=_0x51f573;_0x59959e===z[_0x562579(0x21c)][_0x562579(0x15b)]||_0xb78209==null||this[_0x562579(0x29e)]['set'](_0xa18723,_0xb78209);}async[_0x51f573(0x3f6)](_0x301e28){var _0x34ef30=_0x51f573;try{const _0x1a6d46=this['_replaceFileID'](this[_0x34ef30(0x19e)](),''+_0x301e28),_0xb79a6a=(await this[_0x34ef30(0x26d)][_0x34ef30(0x33d)](_0x1a6d46))['body'];if(_0xb79a6a[_0x34ef30(0x1f8)]&&_0xb79a6a[_0x34ef30(0x1f8)][_0x34ef30(0x2d2)]===vt['OK']){const _0x1c4e9e=new URL(_0xb79a6a[_0x34ef30(0x2ed)],this[_0x34ef30(0x3a3)]())[_0x34ef30(0x401)]();return Promise[_0x34ef30(0x2b5)](_0x1c4e9e);}return Promise[_0x34ef30(0x3ad)](_0xb79a6a[_0x34ef30(0x1f8)]);}catch(_0x1c14d4){return Promise[_0x34ef30(0x3ad)](_0x1c14d4);}}async[_0x51f573(0x388)](_0x435976){var _0x3ce0a0=_0x51f573;let _0x146d84='';if(!sn[_0x3ce0a0(0x339)](_0x435976[_0x3ce0a0(0x33c)]))return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x435976[_0x3ce0a0(0x3cf)]>rn)return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z['ImageUploadStatusType'][_0x3ce0a0(0x289)]));try{const _0x256cd4=new FormData();_0x256cd4['append'](_0x3ce0a0(0x3c1),_0x435976);const _0x253ada=this['_univerInstanceService'][_0x3ce0a0(0x98)](),_0x18a77e=_0x253ada==null?void 0x0:_0x253ada['getUnitId']();if(!_0x18a77e)throw new Error(_0x3ce0a0(0x12b));const _0x40bdb9=this['_getUploadFileURL']()+_0x3ce0a0(0x16d)+_0x435976[_0x3ce0a0(0x3cf)][_0x3ce0a0(0x401)]()+_0x3ce0a0(0x3f5)+dt[_0x3ce0a0(0x311)]+'&assign='+encodeURIComponent(_0x18a77e),_0x36eb28={'body':_0x256cd4},_0x1f50ac=(await this[_0x3ce0a0(0x26d)]['post'](_0x40bdb9,_0x36eb28))[_0x3ce0a0(0x3ca)];if(typeof _0x1f50ac[_0x3ce0a0(0x3d9)]!=_0x3ce0a0(0x32d))return this['_decreaseWaiting'](),Promise[_0x3ce0a0(0x3ad)](new Error(z[_0x3ce0a0(0x3af)][_0x3ce0a0(0x116)]));_0x146d84=_0x1f50ac['FileId'];}catch{return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z[_0x3ce0a0(0x3af)][_0x3ce0a0(0x116)]));}return new Promise((_0x183eb9,_0x107afe)=>{var _0x55b005=_0x3ce0a0;const _0x177fde=new FileReader();_0x177fde[_0x55b005(0x309)](_0x435976),_0x177fde[_0x55b005(0xeb)]=_0x14f48c=>{var _0x1413cd=_0x55b005,_0x4dc7c3;const _0x24f0fe=(_0x4dc7c3=_0x14f48c[_0x1413cd(0x2f0)])==null?void 0x0:_0x4dc7c3[_0x1413cd(0x17d)];if(_0x24f0fe==null){this[_0x1413cd(0x358)](),_0x107afe(new Error(z[_0x1413cd(0x3af)][_0x1413cd(0x116)]));return;}const _0x2c77fe=o['generateRandomId'](0x6);_0x183eb9({'imageId':_0x2c77fe,'imageSourceType':z[_0x1413cd(0x21c)][_0x1413cd(0x119)],'source':_0x146d84,'base64Cache':_0x24f0fe,'status':z[_0x1413cd(0x3af)][_0x1413cd(0x1fb)]}),this[_0x1413cd(0x358)]();};});}['_getUploadFileURL'](){var _0x38a77b=_0x51f573,_0x22c46e;const _0x1b40b0=this[_0x38a77b(0x373)]['getConfig'](Y);return(_0x22c46e=_0x1b40b0==null?void 0x0:_0x1b40b0[_0x38a77b(0x11c)])!=null?_0x22c46e:an;}['_getSignURL'](){var _0x32262b=_0x51f573,_0x48a1ee;const _0x50abaf=this['_configService'][_0x32262b(0x1c9)](Y);return(_0x48a1ee=_0x50abaf==null?void 0x0:_0x50abaf[_0x32262b(0x1d0)])!=null?_0x48a1ee:on;}[_0x51f573(0x3a3)](){var _0x18abea=_0x51f573,_0x3343d5;const _0x1faac7=this[_0x18abea(0x373)]['getConfig'](Y);return(_0x3343d5=_0x1faac7==null?void 0x0:_0x1faac7['downloadEndpointUrl'])!=null?_0x3343d5:location[_0x18abea(0x292)];}[_0x51f573(0x202)](_0x2a23a5,_0x390447){var _0x4a910d=_0x51f573;return _0x2a23a5['replace'](_0x4a910d(0x327),_0x390447);}[_0x51f573(0x358)](){var _0x3fde6c=_0x51f573;this[_0x3fde6c(0x24a)]-=0x1,this[_0x3fde6c(0x19a)][_0x3fde6c(0x320)](this['_waitCount']);}},exports['CollaborationImageIoService']=nn([Me(0x0,o[_0x51f573(0x2ba)](K[_0x51f573(0x194)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x51f573(0x2ba)](o[_0x51f573(0x168)]))],exports['CollaborationImageIoService']);var cn=Object[_0x51f573(0x395)],hn=(_0x5cdbfb,_0x2e557b,_0x5678dd,_0x2301af)=>{var _0x1ec8a8=_0x51f573;for(var _0x3cbef7=_0x2301af>0x1?void 0x0:_0x2301af?cn(_0x2e557b,_0x5678dd):_0x2e557b,_0x17135d=_0x5cdbfb[_0x1ec8a8(0x17a)]-0x1,_0x47b32a;_0x17135d>=0x0;_0x17135d--)(_0x47b32a=_0x5cdbfb[_0x17135d])&&(_0x3cbef7=_0x47b32a(_0x3cbef7)||_0x3cbef7);return _0x3cbef7;},at=(_0x221a59,_0x2c5c2d)=>(_0x2b683c,_0x244724)=>_0x2c5c2d(_0x2b683c,_0x244724,_0x221a59);const _n='/universer-api/authz';exports[_0x51f573(0x208)]=class{constructor(_0x16140c,_0x475e0a){var _0x223d07=_0x51f573;this[_0x223d07(0x373)]=_0x16140c,this[_0x223d07(0x227)]=_0x475e0a;}['_getAPIPrefixPath'](){var _0xacefb5=_0x51f573,_0x32bdb5;const _0x4127a4=this[_0xacefb5(0x373)][_0xacefb5(0x1c9)](Y);return(_0x32bdb5=_0x4127a4==null?void 0x0:_0x4127a4[_0xacefb5(0x318)])!=null?_0x32bdb5:_n;}async['list'](_0x15b9c1){var _0x455fc3=_0x51f573;const _0x387df4=this[_0x455fc3(0x103)]()+_0x455fc3(0x2fb);return{'list':[{'title':_0x455fc3(0x3c4),'mentions':(await this['_HTTPService'][_0x455fc3(0x33d)](_0x387df4,{'params':{'objectID':_0x15b9c1[_0x455fc3(0x32f)],'unitID':_0x15b9c1['unitId']}}))[_0x455fc3(0x3ca)][_0x455fc3(0x404)]['map'](_0x4e21b9=>({'objectId':_0x4e21b9['id'],'name':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x141)],'metadata':{'icon':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x9a)]},'label':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x141)],'objectType':o[_0x455fc3(0x240)][_0x455fc3(0x383)]})),'metadata':{},'type':o[_0x455fc3(0x240)][_0x455fc3(0x383)]}]};}},exports['MentionIoHttpService']=hn([at(0x0,o[_0x51f573(0x2ba)](o['IConfigService'])),at(0x1,o['Inject'](K[_0x51f573(0x194)]))],exports[_0x51f573(0x208)]);var ln=Object['getOwnPropertyDescriptor'],un=(_0x2c1922,_0x41eec7,_0x3d25de,_0x4bd4d2)=>{for(var _0x40b326=_0x4bd4d2>0x1?void 0x0:_0x4bd4d2?ln(_0x41eec7,_0x3d25de):_0x41eec7,_0x401fbf=_0x2c1922['length']-0x1,_0x205ed7;_0x401fbf>=0x0;_0x401fbf--)(_0x205ed7=_0x2c1922[_0x401fbf])&&(_0x40b326=_0x205ed7(_0x40b326)||_0x40b326);return _0x40b326;},le=(_0x28cdc6,_0x2c6968)=>(_0x1ab10e,_0x3231a0)=>_0x2c6968(_0x1ab10e,_0x3231a0,_0x28cdc6);let ye=class extends o[_0x51f573(0xf7)]{constructor(_0x5abcba,_0x3ffa55,_0x3a7073,_0x508df2,_0x59e958){var _0x230d3a=_0x51f573;super(),this[_0x230d3a(0x3c5)]=_0x5abcba,this[_0x230d3a(0x293)]=_0x3ffa55,this[_0x230d3a(0x3e0)]=_0x3a7073,this['_collaborationSessionService']=_0x508df2,this['_collaborationUIEventService']=_0x59e958,this['_initUnitPermissionChange'](),this[_0x230d3a(0xbe)]();}[_0x51f573(0xbe)](){var _0x1b6591=_0x51f573;const _0x2dfff6=async _0x68d153=>{var _0x57c5ba=_0xf568;(await this[_0x57c5ba(0x123)][_0x57c5ba(0xdb)](_0x68d153))[_0x57c5ba(0x3e3)]['pipe'](V[_0x57c5ba(0x290)](_0x13adf5=>_0x13adf5[_0x57c5ba(0x3db)]===E[_0x57c5ba(0x1ed)][_0x57c5ba(0x110)]),V['takeUntil'](this[_0x57c5ba(0xa1)]))[_0x57c5ba(0xcd)](_0x1888ca=>{var _0x4d26fc=_0x57c5ba;const _0x10f53c=_0x1888ca,{reason:_0x3185b6}=_0x10f53c[_0x4d26fc(0x215)];this['_collaborationUIEventService'][_0x4d26fc(0x276)]({'id':J[_0x4d26fc(0x343)],'data':_0x3185b6}),this['_permissionService'][_0x4d26fc(0x31c)](new Q[(_0x4d26fc(0x391))](_0x68d153)['id'],!0x1),this[_0x4d26fc(0x123)][_0x4d26fc(0x29b)](_0x68d153);});};j[_0x1b6591(0x189)](this[_0x1b6591(0x293)][_0x1b6591(0x25b)](o[_0x1b6591(0xad)][_0x1b6591(0x1bb)]),this[_0x1b6591(0x293)][_0x1b6591(0x25b)](o[_0x1b6591(0xad)]['UNIVER_DOC']))[_0x1b6591(0x3aa)](V[_0x1b6591(0x2a5)](_0x4ecdac=>_0x4ecdac[_0x1b6591(0x34e)]()),V[_0x1b6591(0x290)](_0x2b599a=>!o[_0x1b6591(0x239)](_0x2b599a)),V['takeUntil'](this['dispose$']))['subscribe'](_0x374a4e=>{_0x2dfff6(_0x374a4e);});}[_0x51f573(0x421)](){var _0x193cd8=_0x51f573;const _0x2a79b6=async _0x342a69=>{var _0x5b8549=_0xf568;const _0x2abb82=await this['_collaborationSessionService'][_0x5b8549(0xdb)](_0x342a69),_0x878307=this['_injector'][_0x5b8549(0x33d)](Q[_0x5b8549(0x210)]);_0x2abb82['event$'][_0x5b8549(0x3aa)](V[_0x5b8549(0x290)](_0x16548f=>_0x16548f[_0x5b8549(0x3db)]===E[_0x5b8549(0x1ed)][_0x5b8549(0x259)]),V[_0x5b8549(0xfc)](this[_0x5b8549(0xa1)]))[_0x5b8549(0xcd)](_0x2e6469=>{var _0x2816c4=_0x5b8549;const _0x530959=_0x2e6469,{objectId:_0x22070d}=_0x530959[_0x2816c4(0x215)];_0x22070d===_0x342a69?_0x878307[_0x2816c4(0x1b3)](_0x342a69):_0x878307[_0x2816c4(0x3d5)](_0x342a69,_0x22070d);});};j[_0x193cd8(0x189)](this[_0x193cd8(0x293)][_0x193cd8(0x25b)](o[_0x193cd8(0xad)][_0x193cd8(0x1bb)]))['pipe'](V[_0x193cd8(0x2a5)](_0x3299f7=>_0x3299f7[_0x193cd8(0x34e)]()),V['filter'](_0x16763c=>!o['isInternalEditorID'](_0x16763c)),V[_0x193cd8(0xfc)](this[_0x193cd8(0xa1)]))['subscribe'](_0x199856=>{_0x2a79b6(_0x199856);});}};ye=un([le(0x0,o['Inject'](o[_0x51f573(0x364)])),le(0x1,o[_0x51f573(0x168)]),le(0x2,o[_0x51f573(0x36f)]),le(0x3,o[_0x51f573(0x2ba)](exports['CollaborationSessionService'])),le(0x4,o[_0x51f573(0x2ba)](ee))],ye);var vn=Object[_0x51f573(0x395)],dn=(_0xc55ace,_0x235114,_0x52b16f,_0xba1f5)=>{var _0x4e30cc=_0x51f573;for(var _0x4e4938=_0xba1f5>0x1?void 0x0:_0xba1f5?vn(_0x235114,_0x52b16f):_0x235114,_0x5ca614=_0xc55ace[_0x4e30cc(0x17a)]-0x1,_0x303399;_0x5ca614>=0x0;_0x5ca614--)(_0x303399=_0xc55ace[_0x5ca614])&&(_0x4e4938=_0x303399(_0x4e4938)||_0x4e4938);return _0x4e4938;},ot=(_0x11b1f9,_0x51418c)=>(_0xabdc84,_0x5a0356)=>_0x51418c(_0xabdc84,_0x5a0356,_0x11b1f9);exports[_0x51f573(0x33a)]=class{constructor(_0x17013c,_0x34b439){var _0x581a6c=_0x51f573;this[_0x581a6c(0x373)]=_0x17013c,this[_0x581a6c(0x26d)]=_0x34b439;}async[_0x51f573(0x2be)](_0x1c70b8,_0x1dcc10){var _0x301d3f=_0x51f573,_0x27001a;const {unitID:_0x420fdf,type:_0x118d14,revision:_0x243deb=0x0}=_0x1dcc10,_0x3a4189=this['getSnapshotAPIPath']()+'/'+_0x118d14+_0x301d3f(0x225)+_0x420fdf+_0x301d3f(0x1de)+_0x243deb,_0x4a496d=(await this[_0x301d3f(0x26d)]['get'](_0x3a4189))[_0x301d3f(0x3ca)],_0x2d3506=(_0x27001a=_0x4a496d[_0x301d3f(0x19b)])==null?void 0x0:_0x27001a[_0x301d3f(0x175)];if(_0x2d3506){const _0x18a537=_0x2d3506==null?void 0x0:_0x2d3506[_0x301d3f(0x203)],_0x13b32c=E[_0x301d3f(0x2aa)]['encode'](E['b64DecodeUnicode'](_0x18a537));_0x2d3506[_0x301d3f(0x203)]=_0x13b32c,Object['entries'](_0x2d3506[_0x301d3f(0x213)])[_0x301d3f(0x101)](([,_0x48cd15])=>{var _0x16c2a5=_0x301d3f;const _0x250ca3=_0x48cd15[_0x16c2a5(0x203)],_0x525998=E[_0x16c2a5(0x2aa)][_0x16c2a5(0x361)](E[_0x16c2a5(0x2c1)](_0x250ca3));_0x48cd15[_0x16c2a5(0x203)]=_0x525998;});}return _0x4a496d;}async['getSheetBlock'](_0x419e7e,_0x4bb5f5){var _0x5f2367=_0x51f573;const {unitID:_0x1f00c1,type:_0x12b47f,blockID:_0x309a14}=_0x4bb5f5,_0x180ba8=this[_0x5f2367(0x1fc)]()+'/'+_0x12b47f+_0x5f2367(0x225)+_0x1f00c1+_0x5f2367(0x205)+_0x309a14;return(await this[_0x5f2367(0x26d)][_0x5f2367(0x33d)](_0x180ba8))[_0x5f2367(0x3ca)];}async[_0x51f573(0xd2)](_0x4e2bc2,_0x53f2da){var _0x484ff9=_0x51f573;const {unitID:_0x178ffc,type:_0x81c816,blockID:_0x578bcd}=_0x53f2da,_0x5ed5f8=this[_0x484ff9(0x1fc)]()+_0x484ff9(0x205)+_0x81c816+_0x484ff9(0x225)+_0x178ffc+'/block/'+_0x578bcd;return(await this['_httpService'][_0x484ff9(0x33d)](_0x5ed5f8))[_0x484ff9(0x3ca)];}async[_0x51f573(0x2c8)](_0x14e2e5,_0x228634){var _0x4ff5b0=_0x51f573;const {unitID:_0x36bd3d,type:_0x46e8de,from:_0x41e5ee,to:_0x2e3752}=_0x228634,_0x40ea6c=this[_0x4ff5b0(0x1fc)]()+'/'+_0x46e8de+'/unit/'+_0x36bd3d+_0x4ff5b0(0x287)+_0x41e5ee+_0x4ff5b0(0xaf)+_0x2e3752;return(await this['_httpService']['get'](_0x40ea6c))['body'];}['getSnapshotAPIPath'](){var _0x26d854=_0x51f573,_0x16b9b9;return(_0x16b9b9=this[_0x26d854(0x373)]['getConfig'](yt))!=null?_0x16b9b9:this[_0x26d854(0x1fc)]();}[_0x51f573(0x1fc)](){var _0x219921=_0x51f573,_0x4c27c1;const _0x48cc1a=this[_0x219921(0x373)][_0x219921(0x1c9)](Y);return(_0x4c27c1=_0x48cc1a==null?void 0x0:_0x48cc1a['snapshotServerUrl'])!=null?_0x4c27c1:Dt;}async[_0x51f573(0x204)](_0x23de48,_0x212569){var _0x39c3aa=_0x51f573;const _0x3f9444='/universer-api/snapshot/'+_0x212569[_0x39c3aa(0x33c)]+'/unit/'+_0x212569['unitID']+_0x39c3aa(0xf0);return(await this[_0x39c3aa(0x26d)][_0x39c3aa(0x33d)](_0x3f9444,{'params':{'resourceId':JSON[_0x39c3aa(0x29c)](_0x212569[_0x39c3aa(0x288)])}}))['body'];}[_0x51f573(0x3a4)](){var _0x381c2f=_0x51f573;throw new Error(_0x381c2f(0x13f));}[_0x51f573(0x41e)](){var _0x5eebb8=_0x51f573;throw new Error(_0x5eebb8(0x13f));}['saveSheetBlock'](){var _0x4bf6a9=_0x51f573;throw new Error(_0x4bf6a9(0x13f));}['saveChangeset'](){var _0x13c8ed=_0x51f573;throw new Error(_0x13c8ed(0x13f));}[_0x51f573(0x233)](){var _0x418867=_0x51f573;throw new Error(_0x418867(0x13f));}[_0x51f573(0xd3)](){var _0x4daa73=_0x51f573;throw new Error(_0x4daa73(0x13f));}},exports['SnapshotServerOverHTTPService']=dn([ot(0x0,o[_0x51f573(0x3ec)]),ot(0x1,o[_0x51f573(0x2ba)](K['HTTPService']))],exports[_0x51f573(0x33a)]);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x292068,_0x52a782,_0x4d83d6,_0xe95ca0)=>{var _0x39458c=_0x51f573;for(var _0x441667=_0xe95ca0>0x1?void 0x0:_0xe95ca0?Sn(_0x52a782,_0x4d83d6):_0x52a782,_0x37eef5=_0x292068[_0x39458c(0x17a)]-0x1,_0x55aeca;_0x37eef5>=0x0;_0x37eef5--)(_0x55aeca=_0x292068[_0x37eef5])&&(_0x441667=_0x55aeca(_0x441667)||_0x441667);return _0x441667;},ue=(_0x48d238,_0x502aba)=>(_0x472f8b,_0x238d30)=>_0x502aba(_0x472f8b,_0x238d30,_0x48d238);exports[_0x51f573(0x267)]=class extends o[_0x51f573(0xf3)]{constructor(_0x555250,_0xa9a33a,_0x5cb2e2,_0x32260f,_0x3cd159){var _0x40bcad=_0x51f573;super(_0x555250,_0xa9a33a,_0x5cb2e2),this[_0x40bcad(0x14f)]=_0x32260f,this[_0x40bcad(0x22e)]=_0x3cd159;}['transformUndoRedo'](_0x5075a6,_0xeb90ed){var _0x565e38=_0x51f573;const _0x1e2632=this[_0x565e38(0x28d)](_0x5075a6);if(_0x1e2632)try{const _0x521c20=this['_transformStack'](_0x1e2632,_0xeb90ed);this[_0x565e38(0x26f)](_0x5075a6,_0x521c20);}catch(_0x1ad04a){this[_0x565e38(0x22e)][_0x565e38(0x1f8)](_0x565e38(0x319),_0x1ad04a),this[_0x565e38(0x1e7)](_0x5075a6);}const _0x10b267=this['_getRedoStack'](_0x5075a6);if(_0x10b267)try{const _0x2c09e0=this[_0x565e38(0x3fd)](_0x10b267,_0xeb90ed);this[_0x565e38(0x3cb)](_0x5075a6,_0x2c09e0);}catch(_0x520b6d){this[_0x565e38(0x22e)]['error'](_0x520b6d),this[_0x565e38(0x39f)](_0x5075a6);}}[_0x51f573(0x1e7)](_0x41a007){var _0x580c03=_0x51f573;const _0x224ba1=this[_0x580c03(0x28d)](_0x41a007);_0x224ba1&&(_0x224ba1[_0x580c03(0x17a)]=0x0,this[_0x580c03(0x254)]());}[_0x51f573(0x39f)](_0x1d51e4){var _0x479b4e=_0x51f573;const _0x1ba21c=this[_0x479b4e(0xdd)](_0x1d51e4);_0x1ba21c&&(_0x1ba21c['length']=0x0,this[_0x479b4e(0x254)]());}[_0x51f573(0x26f)](_0xabe9d1,_0x308dbe){var _0x3f2f86=_0x51f573;this[_0x3f2f86(0x184)][_0x3f2f86(0x28a)](_0xabe9d1,_0x308dbe),this[_0x3f2f86(0x254)]();}[_0x51f573(0x3cb)](_0x3253d0,_0x4fe371){var _0x2665a2=_0x51f573;this['_redoStacks'][_0x2665a2(0x28a)](_0x3253d0,_0x4fe371),this[_0x2665a2(0x254)]();}[_0x51f573(0x3fd)](_0x36a728,_0x29ec4f){var _0x2c698c=_0x51f573;const _0x57f849=[];let _0x13283b=_0x29ec4f,_0x270321=_0x29ec4f;for(let _0x4e196a=_0x36a728[_0x2c698c(0x17a)]-0x1;_0x4e196a>=0x0;_0x4e196a--){const {unitID:_0x29c1ee,undoMutations:_0x32c7e9,redoMutations:_0x406226}=_0x36a728[_0x4e196a],_0x11047c=this[_0x2c698c(0x14f)]['transformMutationsWithChangeset'](_0x13283b,_0x32c7e9),_0xcb3136=this['_transformService'][_0x2c698c(0xb0)](_0x270321,_0x406226);if(E[_0x2c698c(0x378)](_0x11047c)||E['isTransformMutationsWithChangesetFailure'](_0xcb3136)){this[_0x2c698c(0x22e)][_0x2c698c(0x1f8)](_0x2c698c(0x319),_0x2c698c(0x2e0),_0x11047c,_0xcb3136);break;}_0x13283b=_0x11047c[_0x2c698c(0x9d)],_0x270321=_0xcb3136['c1Prime'],_0x57f849[_0x2c698c(0x209)]({'unitID':_0x29c1ee,'undoMutations':_0x11047c['m2Prime'],'redoMutations':_0xcb3136[_0x2c698c(0x2d0)]});}return _0x57f849[_0x2c698c(0x185)]();}},exports['CollaborativeUndoRedoService']=In([ue(0x0,o[_0x51f573(0x168)]),ue(0x1,o[_0x51f573(0x310)]),ue(0x2,o[_0x51f573(0x368)]),ue(0x3,E['ITransformService']),ue(0x4,o['ILogService'])],exports[_0x51f573(0x267)]);var fn=Object['defineProperty'],En=Object['getOwnPropertyDescriptor'],pn=(_0x430adb,_0x5d949c,_0x433ad6)=>_0x5d949c in _0x430adb?fn(_0x430adb,_0x5d949c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x433ad6}):_0x430adb[_0x5d949c]=_0x433ad6,mn=(_0x104717,_0x110e33,_0x649f5b,_0x1ee610)=>{var _0xc6afd0=_0x51f573;for(var _0x583c81=_0x1ee610>0x1?void 0x0:_0x1ee610?En(_0x110e33,_0x649f5b):_0x110e33,_0x35a54e=_0x104717[_0xc6afd0(0x17a)]-0x1,_0x5ae22c;_0x35a54e>=0x0;_0x35a54e--)(_0x5ae22c=_0x104717[_0x35a54e])&&(_0x583c81=_0x5ae22c(_0x583c81)||_0x583c81);return _0x583c81;},we=(_0x23ceb7,_0x2f3ff4)=>(_0x3162de,_0x4e0b38)=>_0x2f3ff4(_0x3162de,_0x4e0b38,_0x23ceb7),gn=(_0x1f739d,_0x330d0f,_0x5039ac)=>pn(_0x1f739d,_0x330d0f+'',_0x5039ac);const Tn=_0x51f573(0x18e);exports[_0x51f573(0x25c)]=class extends o[_0x51f573(0x29a)]{constructor(_0xf60796,_0x227021,_0x8ca19c,_0x56170e){var _0x344c03=_0x51f573;super(),A(this,'_config'),(this[_0x344c03(0x22e)]=_0x227021,this[_0x344c03(0x3c5)]=_0x8ca19c,this[_0x344c03(0x373)]=_0x56170e);const {..._0x17b21d}=o[_0x344c03(0x189)]({},Zt,_0xf60796);if(!_0x17b21d[_0x344c03(0xa8)])throw new Error(_0x344c03(0x256));this[_0x344c03(0xff)]=_0x17b21d,this[_0x344c03(0x373)][_0x344c03(0x2e8)](Y,_0x17b21d);}[_0x51f573(0x355)](){var _0xa90f31=_0x51f573;this[_0xa90f31(0x16b)](),this[_0xa90f31(0x2ce)]();}[_0x51f573(0x16b)](){var _0x1dae94=_0x51f573,_0x13ef4d,_0x3adad5;this['_injector'][_0x1dae94(0x3df)](o[_0x1dae94(0x102)])&&this[_0x1dae94(0x22e)][_0x1dae94(0x1f8)](_0x1dae94(0x117),_0x1dae94(0x331));const _0x473f40=o[_0x1dae94(0x2ec)]([[o[_0x1dae94(0x102)],{'useClass':exports[_0x1dae94(0x267)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x1dae94(0x316)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x1dae94(0x12f)]],[Fe,{'useClass':this[_0x1dae94(0xff)][_0x1dae94(0xa8)]}],[E[_0x1dae94(0x122)],{'useClass':exports[_0x1dae94(0x33a)]}],[o[_0x1dae94(0x211)],{'useClass':exports['AuthzIoHttpService']}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[o[_0x1dae94(0x1f5)],{'useClass':exports[_0x1dae94(0x208)]}],[exports[_0x1dae94(0x1cd)]],[xe]],(_0x13ef4d=this[_0x1dae94(0xff)])==null?void 0x0:_0x13ef4d[_0x1dae94(0x2ae)]);if(!((_0x3adad5=this[_0x1dae94(0xff)])!=null&&_0x3adad5[_0x1dae94(0x24c)])){const _0x97e0a0=_0x473f40[_0x1dae94(0x3c7)](([_0x5e6fd0])=>_0x5e6fd0===ve);_0x97e0a0!==-0x1&&_0x473f40['splice'](_0x97e0a0,0x1);}o['registerDependencies'](this[_0x1dae94(0x3c5)],_0x473f40);}[_0x51f573(0x2ce)](){var _0x141ca2=_0x51f573,_0x52e9f4,_0x50729e,_0x26ccb0;this[_0x141ca2(0x3c5)]['get'](K['HTTPService'])[_0x141ca2(0x3a5)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x52e9f4=this[_0x141ca2(0xff)])!=null&&_0x52e9f4[_0x141ca2(0x278)]||(_0x50729e=this[_0x141ca2(0x3c5)][_0x141ca2(0x33d)](q,o[_0x141ca2(0x264)][_0x141ca2(0x303)]))==null||_0x50729e[_0x141ca2(0x2c6)](),(_0x26ccb0=this['_config'])!=null&&_0x26ccb0[_0x141ca2(0x2c7)]&&o[_0x141ca2(0x328)](this[_0x141ca2(0x3c5)],[[Ne]]),o[_0x141ca2(0x328)](this[_0x141ca2(0x3c5)],[[De],[exports[_0x141ca2(0x1cd)]],[ye]]);}},gn(exports[_0x51f573(0x25c)],_0x51f573(0x26e),Tn),exports[_0x51f573(0x25c)]=mn([o[_0x51f573(0x136)](E['UniverCollaborationPlugin'],K[_0x51f573(0x348)]),we(0x1,o[_0x51f573(0x163)]),we(0x2,o[_0x51f573(0x2ba)](o['Injector'])),we(0x3,o['IConfigService'])],exports[_0x51f573(0x25c)]),exports[_0x51f573(0xbd)]=Y,exports[_0x51f573(0x183)]=je,exports[_0x51f573(0x417)]=J,exports[_0x51f573(0x2b1)]=ee,exports[_0x51f573(0x9f)]=$e,exports[_0x51f573(0x272)]=ht,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports[_0x51f573(0xf1)]=_t,exports[_0x51f573(0x1a2)]=ke,exports[_0x51f573(0x10e)]=Fe,exports[_0x51f573(0x113)]=q,exports['INetworkConditionService']=Et,exports[_0x51f573(0x3be)]=ve,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x51f573(0xc5)]=wt,exports[_0x51f573(0x182)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x51f573(0x226)]=se,exports[_0x51f573(0x21a)]=He,exports[_0x51f573(0x1a6)]=pt,exports[_0x51f573(0xef)]=qt,exports[_0x51f573(0x312)]=mt;
|
|
1
|
+
'use strict';var _0x4abd4f=_0x5915;(function(_0x2333fa,_0x147476){var _0x41da0f=_0x5915,_0xea997=_0x2333fa();while(!![]){try{var _0x33805a=parseInt(_0x41da0f(0x2bf))/0x1*(-parseInt(_0x41da0f(0x309))/0x2)+parseInt(_0x41da0f(0x40c))/0x3+-parseInt(_0x41da0f(0x463))/0x4+-parseInt(_0x41da0f(0x1a9))/0x5+parseInt(_0x41da0f(0x279))/0x6*(-parseInt(_0x41da0f(0x310))/0x7)+-parseInt(_0x41da0f(0x362))/0x8+parseInt(_0x41da0f(0x2a1))/0x9;if(_0x33805a===_0x147476)break;else _0xea997['push'](_0xea997['shift']());}catch(_0x49061b){_0xea997['push'](_0xea997['shift']());}}}(_0x39f3,0xcdd2f));var Ot=Object['defineProperty'],bt=(_0x4db9c3,_0x869124,_0x4b29bb)=>_0x869124 in _0x4db9c3?Ot(_0x4db9c3,_0x869124,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b29bb}):_0x4db9c3[_0x869124]=_0x4b29bb,A=(_0x32f7cc,_0x18f592,_0x583caa)=>bt(_0x32f7cc,typeof _0x18f592!=_0x4abd4f(0x419)?_0x18f592+'':_0x18f592,_0x583caa);Object[_0x4abd4f(0x440)](exports,Symbol[_0x4abd4f(0x2c5)],{'value':_0x4abd4f(0x2c7)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Nt=require('@univerjs-pro/license'),Dt=_0x4abd4f(0x1be),yt='SNAPSHOT_URL_KEY',Ut=0x7d0,_t=_0x4abd4f(0x2d7),At=_0x4abd4f(0x1b6),ht=_0x4abd4f(0x484),Pt=0x7530,ke=_0x4abd4f(0x180),lt=0x4e20,Lt=0x4e20,ut=_0x4abd4f(0x47f),Mt=0x3,wt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt=_0x4abd4f(0x315),$t=_0x4abd4f(0x311),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt='/universer-api/uniscript';var vt=(_0x55f1c1=>(_0x55f1c1[_0x55f1c1[_0x4abd4f(0x4a8)]=0x0]=_0x4abd4f(0x4a8),_0x55f1c1[_0x55f1c1['OK']=0x1]='OK',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x4ba)]=0x2]=_0x4abd4f(0x4ba),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x2fc)]=0x3]=_0x4abd4f(0x2fc),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x378)]=0x4]=_0x4abd4f(0x378),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x280)]=0x5]=_0x4abd4f(0x280),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x3cd)]=0x6]=_0x4abd4f(0x3cd),_0x55f1c1[_0x55f1c1['INVALID_ARGUMENT']=0x7]=_0x4abd4f(0x2be),_0x55f1c1[_0x55f1c1['TOO_MANY_REQUESTS']=0x8]=_0x4abd4f(0x1dc),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x3c6)]=0x9]=_0x4abd4f(0x3c6),_0x55f1c1[_0x55f1c1['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x296)]=0xb]=_0x4abd4f(0x296),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x3e8)]=0xc]=_0x4abd4f(0x3e8),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x25f)]=0xd]=_0x4abd4f(0x25f),_0x55f1c1[_0x55f1c1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4abd4f(0x357),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x491)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x55f1c1[_0x55f1c1['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x314)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x489)]=0x65]=_0x4abd4f(0x489),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x4b0)]=0xc9]='USER_NOT_FOUND',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x2b1)]=0xca]='USER_IS_ANONYMOUS',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x427)]=0x1389]=_0x4abd4f(0x427),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x1cd)]=0x1771]=_0x4abd4f(0x1cd),_0x55f1c1[_0x55f1c1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4abd4f(0x44a),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x2dc)]=0x1773]=_0x4abd4f(0x2dc),_0x55f1c1[_0x55f1c1['APPLY_REJECT']=0x1b59]=_0x4abd4f(0x36e),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x35c)]=0x1b5a]=_0x4abd4f(0x35c),_0x55f1c1[_0x55f1c1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4abd4f(0x4a1),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x3ad)]=0x1b5c]=_0x4abd4f(0x3ad),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x4a6)]=0x1b5d]='APPLY_DUPLICATED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x443)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x3d8)]=0x2329]=_0x4abd4f(0x3d8),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x373)]=0x232a]=_0x4abd4f(0x373),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x39e)]=0x232b]=_0x4abd4f(0x39e),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x30c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x44b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x55f1c1[_0x55f1c1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4abd4f(0x23e),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x420)]=0x2712]=_0x4abd4f(0x420),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x46f)]=0x2713]=_0x4abd4f(0x46f),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x449)]=0x2714]=_0x4abd4f(0x449),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x426)]=0x271a]=_0x4abd4f(0x426),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x22d)]=0x271b]=_0x4abd4f(0x22d),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x464)]=0x271c]=_0x4abd4f(0x464),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x34f)]=0x271d]=_0x4abd4f(0x34f),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x414)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x18d)]=0x271f]=_0x4abd4f(0x18d),_0x55f1c1[_0x55f1c1['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4abd4f(0x2cf),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x379)]=0x2af9]=_0x4abd4f(0x379),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x380)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x474)]=0x2ee2]=_0x4abd4f(0x474),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x1a4)]=0x2ee3]=_0x4abd4f(0x1a4),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x34a)]=0x2ee4]=_0x4abd4f(0x34a),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x289)]=0x2ee5]=_0x4abd4f(0x289),_0x55f1c1[_0x55f1c1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4abd4f(0x201),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x29b)]=0x32ca]=_0x4abd4f(0x29b),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x29c)]=0x32cb]=_0x4abd4f(0x29c),_0x55f1c1[_0x55f1c1['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4abd4f(0x216),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x45b)]=0x36b2]=_0x4abd4f(0x45b),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x36c)]=0x36b3]=_0x4abd4f(0x36c),_0x55f1c1[_0x55f1c1['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x55f1c1[_0x55f1c1['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x183)]=0x36b6]=_0x4abd4f(0x183),_0x55f1c1[_0x55f1c1['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x1cf)]=0x36b8]=_0x4abd4f(0x1cf),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x31c)]=0x3715]=_0x4abd4f(0x31c),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x1ea)]=0x3716]=_0x4abd4f(0x1ea),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x2d2)]=0x3717]=_0x4abd4f(0x2d2),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x39d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x2d0)]=0x3a99]=_0x4abd4f(0x2d0),_0x55f1c1[_0x55f1c1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x55f1c1[_0x55f1c1['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4abd4f(0x1d0),_0x55f1c1[_0x55f1c1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4abd4f(0x4b3),_0x55f1c1[_0x55f1c1['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4abd4f(0x4f1),_0x55f1c1[_0x55f1c1['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4abd4f(0x38c),_0x55f1c1[_0x55f1c1['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x55f1c1[_0x55f1c1[_0x4abd4f(0x41b)]=0x3e81]=_0x4abd4f(0x41b),_0x55f1c1[_0x55f1c1[_0x4abd4f(0x26d)]=-0x1]=_0x4abd4f(0x26d),_0x55f1c1))(vt||{}),X=(_0x38a7d5=>(_0x38a7d5[_0x38a7d5['UNIVER_UNKNOWN']=0x0]=_0x4abd4f(0x286),_0x38a7d5[_0x38a7d5['UNIVER_DOC']=0x1]=_0x4abd4f(0x1c8),_0x38a7d5[_0x38a7d5[_0x4abd4f(0x297)]=0x2]=_0x4abd4f(0x297),_0x38a7d5[_0x38a7d5[_0x4abd4f(0x48a)]=0x3]=_0x4abd4f(0x48a),_0x38a7d5[_0x38a7d5[_0x4abd4f(0x3a8)]=0x4]=_0x4abd4f(0x3a8),_0x38a7d5[_0x38a7d5[_0x4abd4f(0x26d)]=-0x1]=_0x4abd4f(0x26d),_0x38a7d5))(X||{}),W=(_0x55891d=>(_0x55891d[_0x55891d[_0x4abd4f(0x2e9)]=0x0]=_0x4abd4f(0x2e9),_0x55891d[_0x55891d['HELLO']=0x1]='HELLO',_0x55891d[_0x55891d[_0x4abd4f(0x501)]=0x2]=_0x4abd4f(0x501),_0x55891d[_0x55891d[_0x4abd4f(0x393)]=0x3]=_0x4abd4f(0x393),_0x55891d[_0x55891d['INGEST']=0x4]=_0x4abd4f(0x338),_0x55891d[_0x55891d[_0x4abd4f(0x1ee)]=0x5]='HEARTBEAT',_0x55891d[_0x55891d[_0x4abd4f(0x1e6)]=0x6]=_0x4abd4f(0x1e6),_0x55891d[_0x55891d[_0x4abd4f(0x26d)]=-0x1]=_0x4abd4f(0x26d),_0x55891d))(W||{}),re=(_0x262bbf=>(_0x262bbf[_0x262bbf['UNKNOWN_CODE']=0x0]=_0x4abd4f(0x217),_0x262bbf[_0x262bbf['OK']=0x1]='OK',_0x262bbf[_0x262bbf['FAIL']=0x2]='FAIL',_0x262bbf[_0x262bbf[_0x4abd4f(0x20a)]=0x3e9]='JOIN_ROOM_FULL',_0x262bbf[_0x262bbf[_0x4abd4f(0x248)]=0x3ea]=_0x4abd4f(0x248),_0x262bbf[_0x262bbf['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4abd4f(0x273),_0x262bbf[_0x262bbf['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4abd4f(0x425),_0x262bbf[_0x262bbf['UNRECOGNIZED']=-0x1]=_0x4abd4f(0x26d),_0x262bbf))(re||{}),dt=(_0xc96664=>(_0xc96664[_0xc96664[_0x4abd4f(0x2ab)]=0x0]=_0x4abd4f(0x2ab),_0xc96664[_0xc96664['HttpImport']=0x1]=_0x4abd4f(0x27c),_0xc96664[_0xc96664[_0x4abd4f(0x193)]=0x2]=_0x4abd4f(0x193),_0xc96664[_0xc96664['UnitEmbedded']=0x3]=_0x4abd4f(0x4d0),_0xc96664[_0xc96664[_0x4abd4f(0x320)]=0x4]='UnitSnapshot',_0xc96664[_0xc96664[_0x4abd4f(0x4e8)]=0x5]=_0x4abd4f(0x4e8),_0xc96664[_0xc96664[_0x4abd4f(0x3dd)]=0x6]=_0x4abd4f(0x3dd),_0xc96664[_0xc96664['UNRECOGNIZED']=-0x1]=_0x4abd4f(0x26d),_0xc96664))(dt||{});const Bt=_0x4abd4f(0x2c2);function Ft(_0x349f6c){var _0xce891b=_0x4abd4f;return JSON['stringify'](_0x349f6c)[_0xce891b(0x354)];}var J=(_0x1f5567=>(_0x1f5567[_0x4abd4f(0x326)]='OTHER_CLIENT_EDITING',_0x1f5567['PERMISSION_DENIED']=_0x4abd4f(0x2fc),_0x1f5567['CONFLICT']=_0x4abd4f(0x507),_0x1f5567[_0x4abd4f(0x18f)]='CLOSE_ROOM',_0x1f5567[_0x4abd4f(0x424)]=_0x4abd4f(0x424),_0x1f5567[_0x4abd4f(0x290)]=_0x4abd4f(0x290),_0x1f5567[_0x4abd4f(0x336)]='SOCKET_FAILED',_0x1f5567['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x1f5567))(J||{});class ee{constructor(){var _0x410367=_0x4abd4f;A(this,'_event$',new j[(_0x410367(0x401))]()),A(this,'event$',this[_0x410367(0x330)][_0x410367(0x2b3)]());}[_0x4abd4f(0x4ea)](_0x21dfbf){var _0xe9057d=_0x4abd4f;this[_0xe9057d(0x330)]['next'](_0x21dfbf);}}class $e{constructor(){var _0x28e9ff=_0x4abd4f;A(this,_0x28e9ff(0x4ac),new j[(_0x28e9ff(0x401))]()),A(this,_0x28e9ff(0x267),this[_0x28e9ff(0x4ac)][_0x28e9ff(0x2b3)]());}[_0x4abd4f(0x1b5)](_0x321409){var _0x2e185a=_0x4abd4f;this['_commentUpdate$'][_0x2e185a(0x207)](_0x321409);}}var Vt=Object[_0x4abd4f(0x3ed)],Wt=(_0x3868fd,_0x247604,_0xf6870f,_0x17529c)=>{var _0x4dc449=_0x4abd4f;for(var _0x337f67=_0x17529c>0x1?void 0x0:_0x17529c?Vt(_0x247604,_0xf6870f):_0x247604,_0x5a53da=_0x3868fd[_0x4dc449(0x354)]-0x1,_0x27336e;_0x5a53da>=0x0;_0x5a53da--)(_0x27336e=_0x3868fd[_0x5a53da])&&(_0x337f67=_0x27336e(_0x337f67)||_0x337f67);return _0x337f67;},Ve=(_0x524118,_0x518a6f)=>(_0x44fd57,_0x57c328)=>_0x518a6f(_0x44fd57,_0x57c328,_0x524118);exports[_0x4abd4f(0x435)]=class extends o[_0x4abd4f(0x481)]{constructor(_0x3206dd,_0x311785){var _0x467c22=_0x4abd4f;super(),A(this,_0x467c22(0x18a),new Map()),A(this,_0x467c22(0x3ab),new j[(_0x467c22(0x401))]()),(this[_0x467c22(0x4dd)]=_0x3206dd,this[_0x467c22(0x3b3)]=_0x311785,this[_0x467c22(0x3c7)](j['merge'](this[_0x467c22(0x4dd)][_0x467c22(0x3be)](o[_0x467c22(0x247)]['UNIVER_SHEET'])['pipe'](V[_0x467c22(0x343)](_0x389ad3=>_0x389ad3[_0x467c22(0x29d)]())),this[_0x467c22(0x4dd)][_0x467c22(0x3be)](o['UniverInstanceType'][_0x467c22(0x1c8)])[_0x467c22(0x283)](V[_0x467c22(0x343)](_0x543b43=>_0x543b43[_0x467c22(0x29d)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x467c22(0x247)]['UNIVER_SLIDE'])['pipe'](V[_0x467c22(0x343)](_0x1a7627=>_0x1a7627['getUnitId']())))[_0x467c22(0x3f2)](_0x3053b2=>this[_0x467c22(0x318)](_0x3053b2))));}[_0x4abd4f(0x218)](_0x4ffa24){var _0x3e25b4=_0x4abd4f;return this['_roomMembers'][_0x3e25b4(0x257)](_0x4ffa24)?j['of'](this['_roomMembers'][_0x3e25b4(0x442)](_0x4ffa24)):this[_0x3e25b4(0x3ab)][_0x3e25b4(0x283)](V[_0x3e25b4(0x343)](_0x4b76d3=>{var _0x339601=_0x3e25b4;if(_0x4b76d3===_0x4ffa24)return this[_0x339601(0x18a)]['get'](_0x4b76d3);}));}['setCurrentUser'](_0x13302b){var _0x410ff2=_0x4abd4f;this[_0x410ff2(0x3b3)][_0x410ff2(0x18e)](_0x13302b);}[_0x4abd4f(0x1e3)](){return this['_userManagerService']['getCurrentUser']();}[_0x4abd4f(0x4e4)](_0x3a859b,_0x1c235d){var _0x4fb4ac=_0x4abd4f;let _0x2b7b96=this[_0x4fb4ac(0x18a)][_0x4fb4ac(0x442)](_0x3a859b);_0x2b7b96||(_0x2b7b96=new Gt(),this[_0x4fb4ac(0x18a)]['set'](_0x3a859b,_0x2b7b96),this[_0x4fb4ac(0x3ab)]['next'](_0x3a859b)),_0x2b7b96[_0x4fb4ac(0x4e4)](_0x1c235d);}[_0x4abd4f(0x2c9)](_0x4ac392,_0x238960){var _0x551235=_0x4abd4f;const _0x22f3d9=this[_0x551235(0x18a)][_0x551235(0x442)](_0x4ac392);_0x22f3d9&&_0x22f3d9[_0x551235(0x2c9)](_0x238960);}[_0x4abd4f(0x18c)](_0x4a6064){return this['_roomMembers']['get'](_0x4a6064);}[_0x4abd4f(0x1c2)](_0x4febf9,_0x1db2ae){var _0x13629c=_0x4abd4f;const _0x216bae=this['_roomMembers'][_0x13629c(0x442)](_0x4febf9);if(_0x216bae)return _0x216bae['getMember'](_0x1db2ae);}[_0x4abd4f(0x318)](_0x39c8a3){var _0x965b13=_0x4abd4f;const _0x5dd923=this[_0x965b13(0x18a)][_0x965b13(0x442)](_0x39c8a3);_0x5dd923&&(_0x5dd923[_0x965b13(0x4c3)](),this['_roomMembers'][_0x965b13(0x495)](_0x39c8a3));}[_0x4abd4f(0x4c3)](){var _0x5e95ac=_0x4abd4f;this[_0x5e95ac(0x18a)][_0x5e95ac(0x294)](_0x4494fd=>_0x4494fd['dispose']()),this[_0x5e95ac(0x18a)]['clear'](),this['_roomCreated$'][_0x5e95ac(0x3a3)]();}},exports[_0x4abd4f(0x435)]=Wt([Ve(0x0,o[_0x4abd4f(0x270)]),Ve(0x1,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x4eb)]))],exports[_0x4abd4f(0x435)]);class Gt extends o['Disposable']{constructor(){var _0xb8026e=_0x4abd4f;super(...arguments),A(this,_0xb8026e(0x291),new Map()),A(this,_0xb8026e(0x317),new j[(_0xb8026e(0x3a5))](this[_0xb8026e(0x291)])),A(this,'members$',this['_members$'][_0xb8026e(0x2b3)]());}['dispose'](){var _0x2d7e77=_0x4abd4f;this[_0x2d7e77(0x291)][_0x2d7e77(0x19c)]();}[_0x4abd4f(0x4e4)](_0x2c03e4){var _0xcda344=_0x4abd4f;this['_members'][_0xcda344(0x28f)](_0x2c03e4[_0xcda344(0x42e)],_0x2c03e4),this[_0xcda344(0x3fc)]();}['removeMember'](_0x3bbbd4){var _0x5bf498=_0x4abd4f;this[_0x5bf498(0x291)]['delete'](_0x3bbbd4);}[_0x4abd4f(0x1c2)](_0x4b088e){return this['_members']['get'](_0x4b088e);}[_0x4abd4f(0x2b2)](){var _0x3e631a=_0x4abd4f;return Array[_0x3e631a(0x188)](this[_0x3e631a(0x291)][_0x3e631a(0x220)]());}[_0x4abd4f(0x3fc)](){var _0x1ff6af=_0x4abd4f;this[_0x1ff6af(0x317)][_0x1ff6af(0x207)](this[_0x1ff6af(0x291)]);}}var Yt=Object['getOwnPropertyDescriptor'],Kt=(_0x33c91f,_0x42fbab,_0x4b2057,_0x3bef3a)=>{var _0x3c58e9=_0x4abd4f;for(var _0x1f60ac=_0x3bef3a>0x1?void 0x0:_0x3bef3a?Yt(_0x42fbab,_0x4b2057):_0x42fbab,_0x353de6=_0x33c91f[_0x3c58e9(0x354)]-0x1,_0x2a46a2;_0x353de6>=0x0;_0x353de6--)(_0x2a46a2=_0x33c91f[_0x353de6])&&(_0x1f60ac=_0x2a46a2(_0x1f60ac)||_0x1f60ac);return _0x1f60ac;},ce=(_0x3f5de7,_0x2f92ac)=>(_0x3b673f,_0x833229)=>_0x2f92ac(_0x3b673f,_0x833229,_0x3f5de7),se=(_0x306ab6=>(_0x306ab6[_0x306ab6['IDLE']=0x0]='IDLE',_0x306ab6[_0x306ab6['JOINING']=0x1]=_0x4abd4f(0x4c0),_0x306ab6[_0x306ab6['OFFLINE']=0x2]=_0x4abd4f(0x36f),_0x306ab6[_0x306ab6['ONLINE']=0x3]=_0x4abd4f(0x1c6),_0x306ab6))(se||{});const We={[re[_0x4abd4f(0x3f3)]]:_0x4abd4f(0x21f),[re[_0x4abd4f(0x20a)]]:_0x4abd4f(0x1ab),[re['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[re['JOIN_ROOM_PERMISSION_DENIED']]:_0x4abd4f(0x4bb),[re[_0x4abd4f(0x425)]]:_0x4abd4f(0x1e2)};exports[_0x4abd4f(0x39f)]=class extends o[_0x4abd4f(0x233)]{constructor(_0x84eedf,_0x2bedaf,_0x3b3031,_0x2ff55d,_0x272ae7,_0x2950d4,_0x1a8694,_0x139e89){var _0x9e1653=_0x4abd4f;super(),A(this,'_sessionStatus$',new j[(_0x9e1653(0x3a5))](0x0)),A(this,_0x9e1653(0x332),this[_0x9e1653(0x2a7)][_0x9e1653(0x2b3)]()),A(this,_0x9e1653(0x330),new j[(_0x9e1653(0x401))]()),A(this,'event$',this[_0x9e1653(0x330)][_0x9e1653(0x2b3)]()),A(this,_0x9e1653(0x4cb)),A(this,_0x9e1653(0x223)),A(this,'_collaborationTimeoutTimer'),A(this,_0x9e1653(0x3d0),!0x1),A(this,_0x9e1653(0x2ee),null),(this[_0x9e1653(0x4f9)]=_0x84eedf,this[_0x9e1653(0x4f8)]=_0x3b3031,this['_configService']=_0x2ff55d,this[_0x9e1653(0x4b1)]=_0x272ae7,this['_commentService']=_0x2950d4,this[_0x9e1653(0x31f)]=_0x1a8694,this['_telemetryService']=_0x139e89,this[_0x9e1653(0x3d0)]=!!this[_0x9e1653(0x2fe)],_0x2bedaf[_0x9e1653(0x283)](j[_0x9e1653(0x2f2)](this['dispose$']))['subscribe'](_0x141e6d=>{var _0x537264=_0x9e1653,_0x799d2;typeof _0x141e6d>'u'||(this[_0x537264(0x4cb)]=_0x141e6d,_0x141e6d?(this[_0x537264(0x47d)](_0x141e6d),this[_0x537264(0x223)]=_0x141e6d[_0x537264(0x382)][_0x537264(0x3f2)](_0x50e63f=>{var _0x363070=_0x537264;_0x50e63f[_0x363070(0x353)]===this['_unitID']&&this['_onCombEvent'](_0x50e63f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x537264(0x2a7)]['next'](0x2),(_0x799d2=this[_0x537264(0x223)])==null||_0x799d2[_0x537264(0x1a1)](),this[_0x537264(0x223)]=null));}));}get[_0x4abd4f(0x2df)](){return this['_sessionStatus$']['getValue']();}[_0x4abd4f(0x1a3)](){var _0x182fa1=_0x4abd4f,_0x5f5032,_0x5d7e2a;return(_0x5d7e2a=(_0x5f5032=this[_0x182fa1(0x4cb)])==null?void 0x0:_0x5f5032[_0x182fa1(0x42e)])!=null?_0x5d7e2a:null;}[_0x4abd4f(0x4c3)](){var _0x2cbd44=_0x4abd4f;super[_0x2cbd44(0x4c3)](),this[_0x2cbd44(0x32d)][_0x2cbd44(0x207)](),this[_0x2cbd44(0x32d)][_0x2cbd44(0x3a3)]();}[_0x4abd4f(0x383)](){var _0x249a03=_0x4abd4f,_0x3582ed,_0x44eed9;this[_0x249a03(0x4f4)](),(_0x3582ed=this[_0x249a03(0x4cb)])==null||_0x3582ed['send']({'cmd':W[_0x249a03(0x393)],'data':{'roomID':this[_0x249a03(0x4f9)]}}),(_0x44eed9=this[_0x249a03(0x4cb)])==null||_0x44eed9[_0x249a03(0x383)](),this['_event$'][_0x249a03(0x3a3)](),this[_0x249a03(0x2a7)][_0x249a03(0x3a3)](),this[_0x249a03(0x4c3)]();}[_0x4abd4f(0x1df)](_0x475c98){var _0xcb6b38=_0x4abd4f;_0x475c98[_0xcb6b38(0x1ec)]===W[_0xcb6b38(0x501)]?this[_0xcb6b38(0x1a5)](_0x475c98):_0x475c98[_0xcb6b38(0x1ec)]===W[_0xcb6b38(0x1e6)]&&this[_0xcb6b38(0x1f3)](_0x475c98);}[_0x4abd4f(0x47d)](_0x44a777){var _0xac3fdc=_0x4abd4f;this[_0xac3fdc(0x2a7)]['next'](0x1),_0x44a777[_0xac3fdc(0x1e8)]({'cmd':W[_0xac3fdc(0x501)],'routeKey':this[_0xac3fdc(0x4f9)],'routeType':'','data':{'rooms':[{'roomID':this[_0xac3fdc(0x4f9)]}]}});}[_0x4abd4f(0x1a5)](_0x188a2a){var _0x16cbb5=_0x4abd4f,_0x206986;if(_0x188a2a[_0x16cbb5(0x2a5)]in We){this[_0x16cbb5(0x31f)][_0x16cbb5(0x4ea)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x188a2a[_0x16cbb5(0x2a5)]]}),this[_0x16cbb5(0x2a7)][_0x16cbb5(0x207)](0x2);return;}this['_sessionStatus$'][_0x16cbb5(0x207)](0x3);const _0x24450c=(_0x206986=_0x188a2a[_0x16cbb5(0x456)][_0x16cbb5(0x284)][this[_0x16cbb5(0x4f9)]])==null?void 0x0:_0x206986[_0x16cbb5(0x478)];_0x24450c&&_0x24450c[_0x16cbb5(0x294)](_0x1fe454=>this[_0x16cbb5(0x4b1)][_0x16cbb5(0x4e4)](this[_0x16cbb5(0x4f9)],_0x1fe454));}[_0x4abd4f(0x1f3)](_0x2d49e7){var _0x4ee41a=_0x4abd4f;try{const _0x11afef=_0x2d49e7[_0x4ee41a(0x456)];switch(_0x11afef['eventID']){case E[_0x4ee41a(0x4b6)]['USERS_ENTER']:this[_0x4ee41a(0x4da)](_0x11afef),this[_0x4ee41a(0x330)][_0x4ee41a(0x207)](_0x11afef);break;case E['CollaborationEvent'][_0x4ee41a(0x28e)]:this[_0x4ee41a(0x49e)](_0x11afef),this[_0x4ee41a(0x330)][_0x4ee41a(0x207)](_0x11afef);break;case E[_0x4ee41a(0x4b6)][_0x4ee41a(0x274)]:case E['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x4ee41a(0x31a)](),this[_0x4ee41a(0x35e)](),this['_event$'][_0x4ee41a(0x207)](_0x11afef);break;case E[_0x4ee41a(0x4b6)][_0x4ee41a(0x3c0)]:this[_0x4ee41a(0x4f8)][_0x4ee41a(0x229)](_0x4ee41a(0x4b5)+JSON[_0x4ee41a(0x251)](_0x11afef)),this[_0x4ee41a(0x330)][_0x4ee41a(0x207)](_0x11afef);break;case E['CollaborationEvent'][_0x4ee41a(0x24a)]:this[_0x4ee41a(0x472)][_0x4ee41a(0x1b5)](_0x11afef[_0x4ee41a(0x456)]),this[_0x4ee41a(0x330)][_0x4ee41a(0x207)](_0x11afef);break;default:this[_0x4ee41a(0x330)]['next'](_0x11afef);}}catch(_0x2c3fdd){this[_0x4ee41a(0x4f8)][_0x4ee41a(0x229)](_0x2c3fdd,_0x2d49e7);}}[_0x4abd4f(0x4da)](_0xd6900b){var _0x2d810c=_0x4abd4f;this[_0x2d810c(0x4b1)][_0x2d810c(0x4e4)](this[_0x2d810c(0x4f9)],_0xd6900b[_0x2d810c(0x456)]);}[_0x4abd4f(0x49e)](_0x41d910){var _0x1494fd=_0x4abd4f;this[_0x1494fd(0x4b1)]['removeMember'](this['_unitID'],_0x41d910[_0x1494fd(0x456)][_0x1494fd(0x42e)]);}async[_0x4abd4f(0x1e8)](_0x1072a7,_0x2a2bdb){var _0x44fb32=_0x4abd4f;if(this[_0x44fb32(0x2df)]!==0x3||!this[_0x44fb32(0x4cb)])throw new Error(_0x44fb32(0x1b1));try{_0x1072a7['eventID']===E['CollaborationEvent'][_0x44fb32(0x447)]&&(this[_0x44fb32(0x24b)](),this[_0x44fb32(0x208)](_0x1072a7)),this['_socket'][_0x44fb32(0x1e8)]({'cmd':W[_0x44fb32(0x338)],'routeKey':_0x2a2bdb,'routeType':'','data':_0x1072a7});}catch(_0x4b51a4){this['_logService'][_0x44fb32(0x229)](_0x4b51a4);}}['_scheduleCollaborationTimeoutTimer'](){var _0xe88103=_0x4abd4f,_0x152220;this[_0xe88103(0x1a2)]=setTimeout(()=>{var _0x44eea0=_0xe88103;this[_0x44eea0(0x1a2)]=null,this[_0x44eea0(0x31f)][_0x44eea0(0x4ea)]({'id':J[_0x44eea0(0x41d)]});},(_0x152220=this[_0xe88103(0x451)]['getConfig'](ke))!=null?_0x152220:lt);}['_clearCollaborationTimeoutTimer'](){var _0x26696a=_0x4abd4f;this[_0x26696a(0x1a2)]&&(clearTimeout(this[_0x26696a(0x1a2)]),this[_0x26696a(0x1a2)]=null);}[_0x4abd4f(0x208)](_0x1cab2e){var _0x24ef90=_0x4abd4f;if(!this['_shouldReportTelemetry'])return;const {data:_0x10d7a4}=_0x1cab2e,{unitID:_0x3e2a32,changeset:_0x368bac}=_0x10d7a4,{mutations:_0x1229eb,type:_0x269f6b}=_0x368bac;this[_0x24ef90(0x2ee)]={'unitId':_0x3e2a32,'type':_0x269f6b,'startTime':performance[_0x24ef90(0x483)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x1229eb)};}[_0x4abd4f(0x31a)](){var _0x4ae53d=_0x4abd4f;if(this[_0x4ae53d(0x3d0)]){if(!this[_0x4ae53d(0x2ee)]){this[_0x4ae53d(0x4f8)][_0x4ae53d(0x229)](_0x4ae53d(0x271),_0x4ae53d(0x341));return;}this[_0x4ae53d(0x2ee)]['stopTime']=performance['now'](),this[_0x4ae53d(0x2ee)]['duration']=this['_telemetryInfo'][_0x4ae53d(0x4aa)]-this[_0x4ae53d(0x2ee)][_0x4ae53d(0x2de)],this[_0x4ae53d(0x2fe)][_0x4ae53d(0x300)](Bt,this['_telemetryInfo']),this[_0x4ae53d(0x2ee)]=null;}}[_0x4abd4f(0x4f4)](){var _0x21bafa=_0x4abd4f;this[_0x21bafa(0x2ee)]=null;}},exports[_0x4abd4f(0x39f)]=Kt([ce(0x2,o['ILogService']),ce(0x3,o[_0x4abd4f(0x3d9)]),ce(0x4,o[_0x4abd4f(0x3eb)](exports['MemberService'])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x4abd4f(0x3eb)](ee)),ce(0x7,o[_0x4abd4f(0x38f)](Rt[_0x4abd4f(0x4e5)]))],exports[_0x4abd4f(0x39f)]);const q=o[_0x4abd4f(0x1bc)](_0x4abd4f(0x20b));function qt(_0x49b938){var _0x4bb274=_0x4abd4f;return _0x4bb274(0x32b)+_0x49b938;}var zt=Object[_0x4abd4f(0x3ed)],Xt=(_0x1f9571,_0x198485,_0x20407e,_0xa5d729)=>{var _0x32b7e5=_0x4abd4f;for(var _0x2a0edf=_0xa5d729>0x1?void 0x0:_0xa5d729?zt(_0x198485,_0x20407e):_0x198485,_0x311ae9=_0x1f9571[_0x32b7e5(0x354)]-0x1,_0x5bcac5;_0x311ae9>=0x0;_0x311ae9--)(_0x5bcac5=_0x1f9571[_0x311ae9])&&(_0x2a0edf=_0x5bcac5(_0x2a0edf)||_0x2a0edf);return _0x2a0edf;},Ue=(_0x294fba,_0x62d003)=>(_0x444d91,_0x2f7b69)=>_0x62d003(_0x444d91,_0x2f7b69,_0x294fba);function Jt(_0x13c005){var _0x553539=_0x4abd4f;const {unitID:_0x13250b,mutations:_0x314075}=_0x13c005;return{'unitId':_0x13250b,'subUnitId':_0x314075['length']>0x0?_0x314075[0x0][_0x553539(0x4ee)]['subUnitId']:null};}exports[_0x4abd4f(0x3ef)]=class{constructor(_0x3114c2,_0x2a8895,_0x249b0a){var _0x325c81=_0x4abd4f;this[_0x325c81(0x312)]=_0x3114c2,this[_0x325c81(0x422)]=_0x2a8895,this[_0x325c81(0x307)]=_0x249b0a;}[_0x4abd4f(0x4f5)](_0x112c17){var _0x22e850=_0x4abd4f,_0xc2ccb3,_0x22b223,_0x11ef1f,_0x4d6a81;const _0x5a7cc0=this[_0x22e850(0x312)][_0x22e850(0x442)](Q[_0x22e850(0x4ad)]),{unitId:_0x2660be,subUnitId:_0x235a24}=Jt(_0x112c17),_0x118f73=_0x5a7cc0==null?void 0x0:_0x5a7cc0[_0x22e850(0x18b)](_0x2660be)[_0x22e850(0x27b)](),_0x59d772=(_0x22b223=(_0xc2ccb3=this[_0x22e850(0x307)]['getUnit'](_0x2660be))==null?void 0x0:_0xc2ccb3[_0x22e850(0x1fd)]())==null?void 0x0:_0x22b223[_0x22e850(0x473)]();if(_0x118f73[_0x22e850(0x354)]===0x0||!_0x2660be||!_0x235a24)return;const _0x3daacb=[{'id':Q[_0x22e850(0x41f)]['id'],'params':{'unitId':_0x2660be,'subUnitId':_0x59d772,'selections':o[_0x22e850(0x20f)][_0x22e850(0x26e)](_0x118f73)}}],_0x5ac9ec=this['_transformService'][_0x22e850(0x499)](_0x112c17,_0x3daacb);if(!E[_0x22e850(0x1d8)](_0x5ac9ec))throw _0x5ac9ec[_0x22e850(0x229)];const _0x270e29=(_0x4d6a81=(_0x11ef1f=_0x5ac9ec[_0x22e850(0x258)][0x0])==null?void 0x0:_0x11ef1f[_0x22e850(0x4ee)])==null?void 0x0:_0x4d6a81[_0x22e850(0x3cc)];if(Array[_0x22e850(0x265)](_0x270e29)&&_0x270e29[_0x22e850(0x354)]){if(_0x270e29['length']===_0x3daacb[0x0][_0x22e850(0x4ee)][_0x22e850(0x3cc)][_0x22e850(0x354)]&&_0x270e29[_0x22e850(0x44f)]((_0x15d602,_0x5ce888)=>o['Rectangle']['equals'](_0x15d602['range'],_0x3daacb[0x0][_0x22e850(0x4ee)][_0x22e850(0x3cc)][_0x5ce888][_0x22e850(0x1e0)])))return;this[_0x22e850(0x312)][_0x22e850(0x442)](o['ICommandService'])[_0x22e850(0x41e)](Q[_0x22e850(0x41f)]['id'],{'unitId':_0x2660be,'subUnitId':_0x59d772,'selections':_0x270e29});}}},exports['SheetTransformSelectionsService']=Xt([Ue(0x0,o[_0x4abd4f(0x3eb)](o['Injector'])),Ue(0x1,E[_0x4abd4f(0x3aa)]),Ue(0x2,o[_0x4abd4f(0x270)])],exports['SheetTransformSelectionsService']);const ve=o[_0x4abd4f(0x1bc)](_0x4abd4f(0x371));function _0x5915(_0x5506a7,_0x6d0559){_0x5506a7=_0x5506a7-0x17d;var _0x39f33f=_0x39f3();var _0x59153a=_0x39f33f[_0x5506a7];return _0x59153a;}var He=(_0x4ae55d=>(_0x4ae55d[_0x4ae55d[_0x4abd4f(0x346)]=0x0]=_0x4abd4f(0x346),_0x4ae55d[_0x4ae55d[_0x4abd4f(0x17d)]=0x1]=_0x4abd4f(0x17d),_0x4ae55d))(He||{});const Y=_0x4abd4f(0x45a),Zt={};function Qt(_0x5caf87){var _0x3e6304=_0x4abd4f,_0x5c997c;return!!((_0x5c997c=_0x5caf87[_0x3e6304(0x4ee)])!=null&&_0x5c997c[_0x3e6304(0x20c)]);}const ei=new Set([Q[_0x4abd4f(0x298)]['id']]);function Ge(_0x37affb,_0x2d0204,_0x3f7abc,_0x41833f,_0x5f182d){var _0x5004d6=_0x4abd4f,_0x87364a,_0x5e3ab9,_0x25d1df,_0x2a197f;const _0x1aadb1=[];for(const _0x1a6ff0 of _0x37affb){if(ei['has'](_0x1a6ff0['id'])){if(_0x1aadb1[_0x5004d6(0x354)]>0x0)break;_0x1aadb1[_0x5004d6(0x4e6)](_0x1a6ff0);break;}if(Qt(_0x1a6ff0)){if(_0x1aadb1[_0x5004d6(0x354)]>0x0)break;_0x1aadb1['push'](_0x1a6ff0);break;}_0x1aadb1[_0x5004d6(0x4e6)](_0x1a6ff0);}const _0x3ffc6c=(_0x5e3ab9=(_0x87364a=_0x5f182d[_0x5004d6(0x1e3)]())==null?void 0x0:_0x87364a['userID'])!=null?_0x5e3ab9:_0x5004d6(0x333),_0x22832b=(_0x2a197f=(_0x25d1df=_0x5f182d[_0x5004d6(0x1e3)]())==null?void 0x0:_0x25d1df[_0x5004d6(0x42e)])!=null?_0x2a197f:_0x5004d6(0x333);return{'changeset':{'unitID':_0x2d0204,'type':E['mapDocumentTypeToUniverType'](_0x3f7abc['getUnitType'](_0x2d0204)),'baseRev':_0x41833f[_0x5004d6(0x1d2)](_0x2d0204),'revision':0x0,'userID':_0x3ffc6c,'memberID':_0x22832b,'mutations':_0x1aadb1},'pendingMutations':_0x37affb['slice'](_0x1aadb1[_0x5004d6(0x354)])};}function ti(_0x4e42e0,_0x496b7b,_0x4be811,_0x2656c6,_0x206bcd){var _0x3020d8=_0x4abd4f,_0x1d8b10,_0x101c8c,_0x38b2d4,_0x177b5e;const _0x2ee5a8=[_0x4e42e0[_0x3020d8(0x347)]((_0x2af07d,_0x5ad83b)=>{var _0x22a72f=_0x3020d8,_0x2c55a1;const {id:_0x24f27f}=_0x2af07d,{id:_0xa97619,type:_0x5730ed}=_0x5ad83b,_0x4a7581=(_0x2c55a1=_0x2af07d['params'])!=null?_0x2c55a1:{'actions':null},_0x2259bf=_0x5ad83b[_0x22a72f(0x4ee)];if(_0x24f27f&&_0x24f27f!==_0xa97619)throw new Error(_0x22a72f(0x2d9)+_0x24f27f+_0x22a72f(0x3f0)+_0xa97619+'.');return{..._0x2af07d,'id':_0xa97619,'type':_0x5730ed,'params':{'unitId':_0x2259bf['unitId'],'textRanges':_0x2259bf[_0x22a72f(0x328)],'actions':o[_0x22a72f(0x402)][_0x22a72f(0x4d2)](_0x4a7581[_0x22a72f(0x305)],_0x2259bf['actions'])}};},{})],_0x57513e=(_0x101c8c=(_0x1d8b10=_0x206bcd[_0x3020d8(0x1e3)]())==null?void 0x0:_0x1d8b10[_0x3020d8(0x4e9)])!=null?_0x101c8c:_0x3020d8(0x333),_0x12b864=(_0x177b5e=(_0x38b2d4=_0x206bcd[_0x3020d8(0x1e3)]())==null?void 0x0:_0x38b2d4['memberID'])!=null?_0x177b5e:_0x3020d8(0x333);return{'changeset':{'unitID':_0x496b7b,'type':E[_0x3020d8(0x1fe)](_0x4be811[_0x3020d8(0x198)](_0x496b7b)),'baseRev':_0x2656c6['getCurrentRevOfUnit'](_0x496b7b),'revision':0x0,'userID':_0x57513e,'memberID':_0x12b864,'mutations':_0x2ee5a8},'pendingMutations':[]};}function St(_0x238b4f,_0x21d551){var _0x50052f=_0x4abd4f;const _0x56352c=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x56352c[_0x50052f(0x207)](_0x21d551),_0x238b4f),_0x56352c[_0x50052f(0x2b3)]()[_0x50052f(0x283)](j[_0x50052f(0x1f5)](0x1));}var ii=Object[_0x4abd4f(0x3ed)],ae=(_0x36ac6b,_0x557d49,_0x1e2e41,_0x59e6a9)=>{var _0x36e4d7=_0x4abd4f;for(var _0x4de676=_0x59e6a9>0x1?void 0x0:_0x59e6a9?ii(_0x557d49,_0x1e2e41):_0x557d49,_0x4d0af3=_0x36ac6b[_0x36e4d7(0x354)]-0x1,_0x2f6321;_0x4d0af3>=0x0;_0x4d0af3--)(_0x2f6321=_0x36ac6b[_0x4d0af3])&&(_0x4de676=_0x2f6321(_0x4de676)||_0x4de676);return _0x4de676;},L=(_0x1faef0,_0x4bcb1e)=>(_0x14a736,_0x250db5)=>_0x4bcb1e(_0x14a736,_0x250db5,_0x1faef0),je=(_0x1e9fe5=>(_0x1e9fe5[_0x4abd4f(0x49f)]=_0x4abd4f(0x3c5),_0x1e9fe5[_0x4abd4f(0x416)]=_0x4abd4f(0x37e),_0x1e9fe5[_0x4abd4f(0x4ca)]=_0x4abd4f(0x2e8),_0x1e9fe5[_0x4abd4f(0x4d1)]='awaiting',_0x1e9fe5[_0x4abd4f(0x3f9)]=_0x4abd4f(0x1b9),_0x1e9fe5[_0x4abd4f(0x395)]=_0x4abd4f(0x3af),_0x1e9fe5[_0x4abd4f(0x507)]='conflict',_0x1e9fe5[_0x4abd4f(0x36f)]='offline',_0x1e9fe5))(je||{});const It=0xea60;class oe{constructor(_0x52f437,_0x3633c2,_0x171d21,_0x41c050,_0x58ea39,_0x1e0401,_0x23f764,_0x7137c8,_0x5f553b){var _0x6c6900=_0x4abd4f;A(this,'_awaitingChangeset',null),A(this,_0x6c6900(0x245),[]),(this[_0x6c6900(0x43d)]=_0x52f437,this[_0x6c6900(0x32e)]=_0x3633c2,this[_0x6c6900(0x47c)]=_0x58ea39,this[_0x6c6900(0x45c)]=_0x1e0401,this['_undoRedoService']=_0x23f764,this[_0x6c6900(0x1d5)]=_0x7137c8,this[_0x6c6900(0x1af)]=_0x5f553b,this[_0x6c6900(0x390)]=_0x171d21,this[_0x6c6900(0x245)]=_0x41c050);}['_checkMissing'](_0x4f2d3d){var _0x1d62a8=_0x4abd4f;const _0x4ea223=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x4f2d3d[_0x1d62a8(0x1b3)]>_0x4ea223+0x1?(this[_0x1d62a8(0x47c)]['onMissingChangesets']({'from':_0x4ea223,'to':_0x4f2d3d['revision']-0x1}),!0x0):!0x1;}[_0x4abd4f(0x454)](_0x47c291){var _0x12613a=_0x4abd4f;this[_0x12613a(0x40e)][_0x12613a(0x2f4)](this[_0x12613a(0x43d)],_0x47c291);}[_0x4abd4f(0x39c)](_0x1eac24){var _0x2cf388=_0x4abd4f,_0x277c20,_0x491655;(_0x491655=(_0x277c20=this['_handler'])[_0x2cf388(0x3d2)])==null||_0x491655[_0x2cf388(0x1ed)](_0x277c20,_0x1eac24);}[_0x4abd4f(0x2e5)](_0x45d958){var _0x270d81=_0x4abd4f,_0x4cddee,_0x36900b;return(_0x36900b=(_0x4cddee=this[_0x270d81(0x47c)])[_0x270d81(0x48f)])==null?void 0x0:_0x36900b[_0x270d81(0x1ed)](_0x4cddee,_0x45d958);}[_0x4abd4f(0x352)](_0x6a8ad6){var _0x3873a7=_0x4abd4f,_0xcdef3d,_0x780c29;return(_0x780c29=(_0xcdef3d=this[_0x3873a7(0x47c)])[_0x3873a7(0x2c6)])==null?void 0x0:_0x780c29['call'](_0xcdef3d,_0x6a8ad6);}[_0x4abd4f(0x3ac)](_0x1900b0){var _0x11c277=_0x4abd4f,_0x21631b,_0x300878,_0x5c7c46;return(_0x5c7c46=(_0x300878=(_0x21631b=this[_0x11c277(0x47c)])[_0x11c277(0x3fd)])==null?void 0x0:_0x300878[_0x11c277(0x1ed)](_0x21631b,_0x1900b0))!=null?_0x5c7c46:_0x1900b0;}['_transformRemoteChangesetByStateCache'](_0x2e1be8){var _0x43c928=_0x4abd4f,_0x32a550,_0x46a74e,_0x4d4d00;return(_0x4d4d00=(_0x46a74e=(_0x32a550=this[_0x43c928(0x47c)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x46a74e[_0x43c928(0x1ed)](_0x32a550,_0x2e1be8))!=null?_0x4d4d00:_0x2e1be8;}[_0x4abd4f(0x25c)](_0xe5e3d9){var _0x53fb8a=_0x4abd4f,_0x129f90,_0x2b82b5;if(this['type']===X[_0x53fb8a(0x1c8)]){const {unitID:_0x4ff687,mutations:_0x1f2fff,memberID:_0x32bb}=_0xe5e3d9,_0x5f0e8d=_0x1f2fff[_0x53fb8a(0x354)]>0x0?_0x1f2fff[0x0][_0x53fb8a(0x4ee)][_0x53fb8a(0x328)]:[];Array['isArray'](_0x5f0e8d)&&_0x5f0e8d[_0x53fb8a(0x354)]>0x0&&((_0x2b82b5=(_0x129f90=this[_0x53fb8a(0x47c)])['onSyncEditingCollabCursor'])==null||_0x2b82b5[_0x53fb8a(0x1ed)](_0x129f90,{'unitID':_0x4ff687,'memberID':_0x32bb,'textRanges':_0x5f0e8d}));}}[_0x4abd4f(0x4f7)](){var _0x55503c=_0x4abd4f,_0x40da25;(_0x40da25=this['_localCacheService'])==null||_0x40da25['updateOfflineData'](this[_0x55503c(0x43d)],this[_0x55503c(0x32e)],this[_0x55503c(0x390)],this[_0x55503c(0x245)]);}['_getCurrentRevision'](){var _0x561735=_0x4abd4f;return this['_revisionService'][_0x561735(0x1d2)](this[_0x561735(0x43d)]);}[_0x4abd4f(0x370)](){var _0x4fdfb0=_0x4abd4f;this['_revisionService']['incrementRevOfUnit'](this[_0x4fdfb0(0x43d)]);}[_0x4abd4f(0x26f)](_0x2ea487){var _0x3f3d14=_0x4abd4f,_0x46ecee;let _0x18b340=this[_0x3f3d14(0x3ac)](_0x2ea487);_0x18b340=this[_0x3f3d14(0x33a)](_0x18b340);const _0x2dbf12=o[_0x3f3d14(0x1fa)](_0x18b340[_0x3f3d14(0x482)],this[_0x3f3d14(0x45c)],{'fromCollab':!0x0});if(!_0x2dbf12[_0x3f3d14(0x1fb)])throw _0x2dbf12[_0x3f3d14(0x229)]instanceof Error?_0x2dbf12[_0x3f3d14(0x229)]:new Error((_0x46ecee=_0x2dbf12[_0x3f3d14(0x229)])!=null?_0x46ecee:_0x3f3d14(0x190));this[_0x3f3d14(0x2e5)](_0x18b340),this[_0x3f3d14(0x352)](_0x18b340),this[_0x3f3d14(0x454)](_0x2ea487),this['_transformSelections'](_0x18b340),this[_0x3f3d14(0x25c)](_0x18b340),this[_0x3f3d14(0x370)]();}}exports[_0x4abd4f(0x356)]=class extends oe{constructor(_0xd637b9,_0x4b43c4,_0x1517dc,_0xbfdef2,_0x559363,_0x55e039,_0x2395c9,_0x11cc4a,_0x2f3975,_0x1d471c){var _0x53cbaa=_0x4abd4f;super(_0xd637b9,_0x4b43c4,null,[],_0x1517dc,_0x2395c9,_0x55e039,_0xbfdef2,_0x1d471c),A(this,'status',_0x53cbaa(0x37e)),(this[_0x53cbaa(0x312)]=_0x559363,this[_0x53cbaa(0x4f8)]=_0x11cc4a,this['_transformService']=_0x2f3975,this[_0x53cbaa(0x228)]=_0x1d471c);}['appendMutation'](_0x46d066){var _0xc2f188=_0x4abd4f;const _0x5ad93c=this[_0xc2f188(0x312)][_0xc2f188(0x26b)](exports[_0xc2f188(0x322)],this['unitID'],this[_0xc2f188(0x32e)],[_0x46d066],this['_handler']);return _0x5ad93c['_schedule'](),_0x5ad93c[_0xc2f188(0x4f7)](),_0x5ad93c;}[_0x4abd4f(0x3a0)](_0x1ab46d){var _0x35506a=_0x4abd4f;if(this['_checkMissing'](_0x1ab46d))return this['_injector'][_0x35506a(0x26b)](exports[_0x35506a(0x42b)],this['unitID'],this['type'],null,[],null,[_0x1ab46d],this[_0x35506a(0x47c)]);try{const _0x226255=this[_0x35506a(0x422)][_0x35506a(0x499)](_0x1ab46d,[E[_0x35506a(0x430)]]);if(E[_0x35506a(0x1d8)](_0x226255)){const {c1Prime:_0x182411}=_0x226255;return this[_0x35506a(0x26f)](_0x182411),this;}throw _0x226255[_0x35506a(0x229)];}catch(_0x30725a){return this[_0x35506a(0x4f8)]['error'](_0x30725a),this[_0x35506a(0x4bd)](!0x1);}}[_0x4abd4f(0x4bd)](_0x2a3f31){var _0x97cc8f=_0x4abd4f;return this['_injector']['createInstance'](exports['ConflictState'],this[_0x97cc8f(0x43d)],this[_0x97cc8f(0x32e)],null,[],this[_0x97cc8f(0x47c)],_0x2a3f31);}[_0x4abd4f(0x3ec)](){var _0x2a9bc2=_0x4abd4f;throw new Error(_0x2a9bc2(0x33e));}[_0x4abd4f(0x238)](){var _0xa301d9=_0x4abd4f;throw new Error(_0xa301d9(0x1ac));}['onRemoteRetry'](){return this;}[_0x4abd4f(0x508)](){var _0x4d9989=_0x4abd4f;return this[_0x4d9989(0x312)][_0x4d9989(0x26b)](exports['OfflineState'],this[_0x4d9989(0x43d)],this[_0x4d9989(0x32e)],null,[],this[_0x4d9989(0x47c)]);}[_0x4abd4f(0x344)](){return this;}[_0x4abd4f(0x1e4)](){var _0x2a0a40=_0x4abd4f;throw new Error(_0x2a0a40(0x42a));}['fetchMiss'](){var _0x38d817=_0x4abd4f;const _0x277c18=this[_0x38d817(0x1d5)][_0x38d817(0x1d2)](this['unitID']);return this[_0x38d817(0x47c)]['onMissingChangesets']({'from':_0x277c18,'to':0x0}),this['_injector'][_0x38d817(0x26b)](exports['FetchingMissState'],this[_0x38d817(0x43d)],this[_0x38d817(0x32e)],null,[],null,[],this[_0x38d817(0x47c)]);}},exports['SyncedState']=ae([L(0x3,o[_0x4abd4f(0x3eb)](E['RevisionService'])),L(0x4,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x2d3)])),L(0x5,o[_0x4abd4f(0x470)]),L(0x6,o[_0x4abd4f(0x345)]),L(0x7,o[_0x4abd4f(0x4a5)]),L(0x8,E['ITransformService']),L(0x9,o['Optional'](q))],exports['SyncedState']),exports[_0x4abd4f(0x322)]=class extends oe{constructor(_0xeb1bc0,_0x50147c,_0x4fb69c,_0xa78ba2,_0x4d5781,_0x372139,_0xcf6092,_0xeacc70,_0x44c923,_0x56edc5,_0x333a30,_0x3c4d4a,_0x4ecc86,_0x4680cf){var _0x2536b9=_0x4abd4f;super(_0xeb1bc0,_0x50147c,null,_0x4fb69c,_0xa78ba2,_0x44c923,_0x4ecc86,_0x372139,_0x4680cf),A(this,_0x2536b9(0x27a),_0x2536b9(0x2e8)),A(this,_0x2536b9(0x4b9),null),A(this,'_sendingTimer',null),(this[_0x2536b9(0x312)]=_0x4d5781,this[_0x2536b9(0x4b1)]=_0xcf6092,this['_logService']=_0xeacc70,this[_0x2536b9(0x451)]=_0x56edc5,this[_0x2536b9(0x422)]=_0x333a30,this['_univerInstanceService']=_0x3c4d4a);}[_0x4abd4f(0x372)](_0x4f4d38){var _0x2d9839=_0x4abd4f;return this['_pendingMutations']['push'](_0x4f4d38),this[_0x2d9839(0x4f7)](),this;}[_0x4abd4f(0x3a0)](_0x2b099f){var _0x31e54d=_0x4abd4f;if(this[_0x31e54d(0x1ca)](_0x2b099f))return this[_0x31e54d(0x268)](),this[_0x31e54d(0x312)][_0x31e54d(0x26b)](exports[_0x31e54d(0x42b)],this[_0x31e54d(0x43d)],this[_0x31e54d(0x32e)],null,this[_0x31e54d(0x245)],null,[_0x2b099f],this[_0x31e54d(0x47c)]);try{const _0x1dc7f9=this['_transformService'][_0x31e54d(0x499)](_0x2b099f,this[_0x31e54d(0x245)]);if(E[_0x31e54d(0x1d8)](_0x1dc7f9)){const {c1Prime:_0x419500,m2Prime:_0xf52962}=_0x1dc7f9;this['_executeRemoteChangeset'](_0x419500);const _0x259595=this[_0x31e54d(0x312)][_0x31e54d(0x26b)](exports['PendingState'],this[_0x31e54d(0x43d)],this[_0x31e54d(0x32e)],_0xf52962,this[_0x31e54d(0x47c)]);this['_clearScheduledTask']();const _0x4f74b2=new Date()['getTime'](),_0x4d30f4=this[_0x31e54d(0x4b9)]?Math['max'](this[_0x31e54d(0x4b9)]-_0x4f74b2,0x0):this[_0x31e54d(0x2a4)]();return _0x259595[_0x31e54d(0x385)](_0x4d30f4),_0x259595;}throw _0x1dc7f9[_0x31e54d(0x229)];}catch(_0x294f92){return this[_0x31e54d(0x4f8)]['error'](_0x294f92),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x10082e=_0x4abd4f;throw new Error(_0x10082e(0x340));}[_0x4abd4f(0x238)](){var _0x7d127e=_0x4abd4f;throw new Error(_0x7d127e(0x3c8));}['onRemoteRetry'](){return this;}[_0x4abd4f(0x508)](){var _0x31bf9c=_0x4abd4f;return this[_0x31bf9c(0x268)](),this['_injector'][_0x31bf9c(0x26b)](exports['OfflineState'],this[_0x31bf9c(0x43d)],this[_0x31bf9c(0x32e)],null,this[_0x31bf9c(0x245)],this[_0x31bf9c(0x47c)]);}[_0x4abd4f(0x344)](){return this;}[_0x4abd4f(0x385)](_0x263c8b){var _0x5503bf=_0x4abd4f;const _0x4bf98f=_0x263c8b!=null?_0x263c8b:this[_0x5503bf(0x2a4)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5503bf(0x3c1)]()+_0x4bf98f,this[_0x5503bf(0x376)]=setTimeout(()=>{var _0x1a79e0=_0x5503bf;this[_0x1a79e0(0x268)]();let _0x356aa7=null;switch(this[_0x1a79e0(0x32e)]){case X[_0x1a79e0(0x297)]:{_0x356aa7=Ge(this['_pendingMutations'],this[_0x1a79e0(0x43d)],this['_univerInstanceService'],this['_revisionService'],this[_0x1a79e0(0x4b1)]);break;}case X[_0x1a79e0(0x1c8)]:{this['_pendingMutations'][_0x1a79e0(0x44f)](_0x4bdd6f=>_0x4bdd6f['id']===ct['RichTextEditingMutation']['id'])?_0x356aa7=ti(this['_pendingMutations'],this[_0x1a79e0(0x43d)],this[_0x1a79e0(0x4dd)],this['_revisionService'],this['_memberService']):_0x356aa7=Ge(this[_0x1a79e0(0x245)],this[_0x1a79e0(0x43d)],this[_0x1a79e0(0x4dd)],this[_0x1a79e0(0x1d5)],this[_0x1a79e0(0x4b1)]);break;}default:throw new Error(_0x1a79e0(0x335)+this[_0x1a79e0(0x32e)]+_0x1a79e0(0x4d5));}const {changeset:_0x569937,pendingMutations:_0x403d83}=_0x356aa7;this[_0x1a79e0(0x47c)]['onSendChangeset'](_0x569937);const _0x2f1f3e=_0x403d83[_0x1a79e0(0x354)]?this['_injector'][_0x1a79e0(0x26b)](exports[_0x1a79e0(0x4fd)],this[_0x1a79e0(0x43d)],this['type'],_0x569937,_0x403d83,this[_0x1a79e0(0x47c)],void 0x0):this[_0x1a79e0(0x312)][_0x1a79e0(0x26b)](exports[_0x1a79e0(0x304)],this[_0x1a79e0(0x43d)],this[_0x1a79e0(0x32e)],_0x569937,this[_0x1a79e0(0x47c)]);_0x2f1f3e[_0x1a79e0(0x4f7)](),this[_0x1a79e0(0x47c)][_0x1a79e0(0x2d8)](this,_0x2f1f3e);},_0x4bf98f);}['_getSendChangesetTimeout'](){var _0x2b3adc=_0x4abd4f,_0x464a4b;const _0x1a06df=this[_0x2b3adc(0x451)][_0x2b3adc(0x509)](Y);return(_0x464a4b=_0x1a06df==null?void 0x0:_0x1a06df[_0x2b3adc(0x4cc)])!=null?_0x464a4b:Ut;}[_0x4abd4f(0x1e4)](){var _0x543cd2=_0x4abd4f;throw new Error(_0x543cd2(0x4d7));}[_0x4abd4f(0x268)](){var _0x39d11c=_0x4abd4f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x39d11c(0x376)]),this[_0x39d11c(0x376)]=null);}[_0x4abd4f(0x4bd)](_0xefb5db){var _0x4ffbe5=_0x4abd4f;return this['_clearScheduledTask'](),this[_0x4ffbe5(0x312)][_0x4ffbe5(0x26b)](exports[_0x4ffbe5(0x2cc)],this['unitID'],this[_0x4ffbe5(0x32e)],null,this[_0x4ffbe5(0x245)],this[_0x4ffbe5(0x47c)],_0xefb5db);}},exports[_0x4abd4f(0x322)]=ae([L(0x4,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x2d3)])),L(0x5,o['Inject'](E[_0x4abd4f(0x327)])),L(0x6,o[_0x4abd4f(0x3eb)](exports[_0x4abd4f(0x435)])),L(0x7,o[_0x4abd4f(0x4a5)]),L(0x8,o[_0x4abd4f(0x345)]),L(0x9,o[_0x4abd4f(0x3d9)]),L(0xa,E[_0x4abd4f(0x3aa)]),L(0xb,o[_0x4abd4f(0x270)]),L(0xc,o[_0x4abd4f(0x470)]),L(0xd,o[_0x4abd4f(0x38f)](q))],exports['PendingState']),exports[_0x4abd4f(0x304)]=class extends oe{constructor(_0x4d5217,_0x2933ac,_0x549799,_0x199c2b,_0x568765,_0x42b3d6,_0x1d932f,_0x50988f,_0x14cfd7,_0x5bd6b5,_0x13abc7){var _0x18e1fa=_0x4abd4f;super(_0x4d5217,_0x2933ac,_0x549799,[],_0x199c2b,_0x1d932f,_0x5bd6b5,_0x42b3d6,_0x13abc7),A(this,_0x18e1fa(0x27a),'awaiting'),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x18e1fa(0x365)),(this[_0x18e1fa(0x312)]=_0x568765,this['_logService']=_0x50988f,this[_0x18e1fa(0x422)]=_0x14cfd7);}[_0x4abd4f(0x372)](_0xb320a2){var _0x47306f=_0x4abd4f;this[_0x47306f(0x268)]();const _0x159629=this['_injector'][_0x47306f(0x26b)](exports[_0x47306f(0x4fd)],this[_0x47306f(0x43d)],this['type'],this['_awaitingChangeset'],[_0xb320a2],this['_handler'],this[_0x47306f(0x389)]);return _0x159629[_0x47306f(0x4f7)](),_0x159629;}[_0x4abd4f(0x3a0)](_0x57488f){var _0x5e66bc=_0x4abd4f;if(this[_0x5e66bc(0x1ca)](_0x57488f))return this[_0x5e66bc(0x268)](),this['_injector'][_0x5e66bc(0x26b)](exports[_0x5e66bc(0x42b)],this[_0x5e66bc(0x43d)],this[_0x5e66bc(0x32e)],this[_0x5e66bc(0x390)],[],null,[_0x57488f],this[_0x5e66bc(0x47c)]);try{const _0x53a97b=this['_transformService'][_0x5e66bc(0x202)]([_0x57488f],[this[_0x5e66bc(0x390)]],!0x1);if(E[_0x5e66bc(0x3ea)](_0x53a97b)){const {c1Prime:_0x526694,c2Prime:_0x3f8233}=_0x53a97b;this[_0x5e66bc(0x26f)](_0x526694[0x0]),_0x3f8233[0x0][_0x5e66bc(0x32c)]=this[_0x5e66bc(0x4a4)](),this[_0x5e66bc(0x268)]();const _0x4ec3d0=this[_0x5e66bc(0x312)][_0x5e66bc(0x26b)](exports['AwaitingState'],this['unitID'],this[_0x5e66bc(0x32e)],_0x3f8233[0x0],this[_0x5e66bc(0x47c)]);return _0x4ec3d0[_0x5e66bc(0x4f7)](),_0x4ec3d0;}return this['_onConflict'](!0x1);}catch(_0xc5b329){return this[_0x5e66bc(0x4f8)][_0x5e66bc(0x229)](_0xc5b329),this['_onConflict'](!0x1);}}[_0x4abd4f(0x3ec)](_0x4dcae7){var _0x3f5577=_0x4abd4f;this[_0x3f5577(0x268)]();const _0x1b3aa5=this[_0x3f5577(0x1d5)][_0x3f5577(0x1d2)](this[_0x3f5577(0x43d)]);if(_0x4dcae7[_0x3f5577(0x1b3)]<_0x1b3aa5-0x1)return this;if(this[_0x3f5577(0x1ca)](_0x4dcae7))return this[_0x3f5577(0x312)][_0x3f5577(0x26b)](exports['FetchingMissState'],this[_0x3f5577(0x43d)],this[_0x3f5577(0x32e)],null,[],this[_0x3f5577(0x390)],[],this[_0x3f5577(0x47c)]);this[_0x3f5577(0x370)]();const _0x33e86d=this['_injector'][_0x3f5577(0x26b)](exports['SyncedState'],this[_0x3f5577(0x43d)],this['type'],this['_handler']);return _0x33e86d[_0x3f5577(0x4f7)](),_0x33e86d;}[_0x4abd4f(0x238)](_0x20c4be){var _0x4570f5=_0x4abd4f;return this[_0x4570f5(0x4bd)](!!(_0x20c4be!=null&&_0x20c4be[_0x4570f5(0x480)]));}[_0x4abd4f(0x4e3)](_0x4fe98c){var _0x28eb97=_0x4abd4f;return this[_0x28eb97(0x4a0)]>It?this[_0x28eb97(0x508)]():(this['_resendTimer']=St(this[_0x28eb97(0x4a0)],{'timeout':this[_0x28eb97(0x4a0)],'reqId':_0x4fe98c[_0x28eb97(0x3fa)]}),this['_sender']=this[_0x28eb97(0x389)][_0x28eb97(0x3f2)](({reqId:_0x583344,timeout:_0x3f6823})=>{var _0x2a8c2a=_0x28eb97;this[_0x2a8c2a(0x355)](_0x583344,_0x3f6823);}),this);}[_0x4abd4f(0x508)](){var _0x4f197f=_0x4abd4f;return this[_0x4f197f(0x268)](),this[_0x4f197f(0x312)][_0x4f197f(0x26b)](exports['OfflineState'],this[_0x4f197f(0x43d)],this[_0x4f197f(0x32e)],this[_0x4f197f(0x390)],[],this[_0x4f197f(0x47c)]);}['toggleOnline'](){return this;}['resend'](){var _0x1fdfc7=_0x4abd4f;this[_0x1fdfc7(0x47c)][_0x1fdfc7(0x3ca)](this[_0x1fdfc7(0x390)]);}[_0x4abd4f(0x4bd)](_0x2a6c12){var _0x4be93b=_0x4abd4f;return this[_0x4be93b(0x268)](),this[_0x4be93b(0x312)][_0x4be93b(0x26b)](exports[_0x4be93b(0x2cc)],this['unitID'],this[_0x4be93b(0x32e)],this[_0x4be93b(0x390)],[],this[_0x4be93b(0x47c)],_0x2a6c12);}['_resendWithTimeout'](_0x4998cf,_0x53aa59){var _0x2bcd03=_0x4abd4f,_0xd7ee97;_0x4998cf===((_0xd7ee97=this[_0x2bcd03(0x390)])==null?void 0x0:_0xd7ee97[_0x2bcd03(0x3fa)])&&(this[_0x2bcd03(0x1e4)](),this[_0x2bcd03(0x4a0)]=_0x53aa59===0x0?0x3e8:_0x53aa59*0x2);}[_0x4abd4f(0x268)](){var _0x4ea9d8=_0x4abd4f,_0x170165;(_0x170165=this[_0x4ea9d8(0x365)])==null||_0x170165[_0x4ea9d8(0x1a1)](),this[_0x4ea9d8(0x4a0)]=0x0;}},exports[_0x4abd4f(0x304)]=ae([L(0x4,o[_0x4abd4f(0x3eb)](o['Injector'])),L(0x5,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x327)])),L(0x6,o[_0x4abd4f(0x345)]),L(0x7,o[_0x4abd4f(0x4a5)]),L(0x8,E[_0x4abd4f(0x3aa)]),L(0x9,o[_0x4abd4f(0x470)]),L(0xa,o[_0x4abd4f(0x38f)](q))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends oe{constructor(_0x4023cd,_0x39474d,_0x6a236f,_0xd869f3,_0x495cab,_0x5a8584,_0x481db0,_0x84677d,_0x12e19c,_0x289d7d,_0x3a4732,_0x49fd08,_0x2be087){var _0x5e236f=_0x4abd4f;super(_0x4023cd,_0x39474d,_0x6a236f,_0xd869f3,_0x495cab,_0x12e19c,_0x49fd08,_0x84677d,_0x2be087),A(this,_0x5e236f(0x27a),_0x5e236f(0x1b9)),A(this,_0x5e236f(0x4a0),0x0),A(this,_0x5e236f(0x389)),A(this,_0x5e236f(0x365)),(this['_injector']=_0x481db0,this[_0x5e236f(0x4f8)]=_0x289d7d,this[_0x5e236f(0x422)]=_0x3a4732,this[_0x5e236f(0x228)]=_0x2be087,_0x5a8584&&(this[_0x5e236f(0x389)]=_0x5a8584,this['_sender']=this['_resendTimer'][_0x5e236f(0x3f2)](({reqId:_0x5c247c,timeout:_0x420809})=>{var _0x25d4de=_0x5e236f;this[_0x25d4de(0x355)](_0x5c247c,_0x420809);})));}[_0x4abd4f(0x372)](_0x21b3d7){var _0x3ce15d=_0x4abd4f;return this[_0x3ce15d(0x245)]['push'](_0x21b3d7),this;}['onRemoteChangeset'](_0x3b50cc){var _0x858829=_0x4abd4f;if(this[_0x858829(0x1ca)](_0x3b50cc))return this[_0x858829(0x268)](),this[_0x858829(0x312)][_0x858829(0x26b)](exports[_0x858829(0x42b)],this['unitID'],this[_0x858829(0x32e)],this[_0x858829(0x390)],this[_0x858829(0x245)],null,[_0x3b50cc],this[_0x858829(0x47c)]);try{const _0x3c42d5=this['_transformService'][_0x858829(0x202)]([_0x3b50cc],[this[_0x858829(0x390)]],!0x1);if(E[_0x858829(0x3ea)](_0x3c42d5)){const {c1Prime:_0x5d7392,c2Prime:_0x507594}=_0x3c42d5,_0x478cd0=this['_transformService']['transformMutationsWithChangeset'](_0x5d7392[0x0],this[_0x858829(0x245)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x478cd0)){const {c1Prime:_0x1fcacc,m2Prime:_0x12c6f6}=_0x478cd0;return this[_0x858829(0x26f)](_0x1fcacc),_0x507594[0x0]['baseRev']=this[_0x858829(0x4a4)](),this[_0x858829(0x268)](),this[_0x858829(0x312)][_0x858829(0x26b)](exports[_0x858829(0x4fd)],this[_0x858829(0x43d)],this[_0x858829(0x32e)],_0x507594[0x0],_0x12c6f6,this[_0x858829(0x47c)],void 0x0);}throw _0x478cd0['error'];}throw _0x3c42d5[_0x858829(0x229)];}catch(_0x3a1d2e){return this[_0x858829(0x4f8)][_0x858829(0x229)](_0x3a1d2e),this[_0x858829(0x4bd)](!0x1);}}['onRemoteAck'](_0x455a51){var _0x1da159=_0x4abd4f;if(this[_0x1da159(0x268)](),this[_0x1da159(0x1ca)](_0x455a51))return this[_0x1da159(0x312)][_0x1da159(0x26b)](exports['FetchingMissState'],this[_0x1da159(0x43d)],this[_0x1da159(0x32e)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x1da159(0x47c)]);this[_0x1da159(0x370)]();const _0x4266de=this[_0x1da159(0x312)]['createInstance'](exports[_0x1da159(0x322)],this[_0x1da159(0x43d)],this[_0x1da159(0x32e)],this[_0x1da159(0x245)],this['_handler']);return _0x4266de[_0x1da159(0x385)](),_0x4266de['_updateLocalCache'](),_0x4266de;}[_0x4abd4f(0x238)](_0x13a8c1){var _0x574619=_0x4abd4f;return this[_0x574619(0x4bd)](!!(_0x13a8c1!=null&&_0x13a8c1[_0x574619(0x480)]));}[_0x4abd4f(0x4e3)](_0x5cf437){var _0x700a62=_0x4abd4f;return this[_0x700a62(0x4a0)]>It?this[_0x700a62(0x508)]():(this['_resendTimer']=St(this[_0x700a62(0x4a0)],{'timeout':this[_0x700a62(0x4a0)],'reqId':_0x5cf437[_0x700a62(0x3fa)]}),this[_0x700a62(0x365)]=this[_0x700a62(0x389)][_0x700a62(0x3f2)](({reqId:_0xb2ce34,timeout:_0x4f0c53})=>{this['_resendWithTimeout'](_0xb2ce34,_0x4f0c53);}),this);}[_0x4abd4f(0x508)](){var _0x84d268=_0x4abd4f;return this[_0x84d268(0x268)](),this[_0x84d268(0x312)][_0x84d268(0x26b)](exports[_0x84d268(0x4bc)],this[_0x84d268(0x43d)],this[_0x84d268(0x32e)],this[_0x84d268(0x390)],this[_0x84d268(0x245)],this[_0x84d268(0x47c)]);}[_0x4abd4f(0x344)](){return this;}['resend'](){var _0x4a3cae=_0x4abd4f;this[_0x4a3cae(0x47c)]['onSendChangeset'](this[_0x4a3cae(0x390)]);}[_0x4abd4f(0x4bd)](_0x501167){var _0x120ea6=_0x4abd4f;return this[_0x120ea6(0x268)](),this[_0x120ea6(0x312)][_0x120ea6(0x26b)](exports[_0x120ea6(0x2cc)],this[_0x120ea6(0x43d)],this[_0x120ea6(0x32e)],null,this[_0x120ea6(0x245)],this[_0x120ea6(0x47c)],_0x501167);}[_0x4abd4f(0x355)](_0x115246,_0x52abaf){var _0x568ea9=_0x4abd4f,_0x4adce4;_0x115246===((_0x4adce4=this[_0x568ea9(0x390)])==null?void 0x0:_0x4adce4[_0x568ea9(0x3fa)])&&(this[_0x568ea9(0x1e4)](),this['_resendTimeout']=_0x52abaf===0x0?0x3e8:_0x52abaf*0x2);}[_0x4abd4f(0x268)](){var _0x6f4fd4=_0x4abd4f,_0xfe019b;(_0xfe019b=this[_0x6f4fd4(0x365)])==null||_0xfe019b[_0x6f4fd4(0x1a1)](),this['_resendTimeout']=0x0;}},exports[_0x4abd4f(0x4fd)]=ae([L(0x6,o[_0x4abd4f(0x3eb)](o['Injector'])),L(0x7,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x327)])),L(0x8,o[_0x4abd4f(0x345)]),L(0x9,o['ILogService']),L(0xa,E[_0x4abd4f(0x3aa)]),L(0xb,o[_0x4abd4f(0x470)]),L(0xc,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x4fd)]),exports['ConflictState']=class extends oe{constructor(_0x3843fc,_0x1cb6b1,_0x33f3c5,_0x60b25a,_0x485eaa,_0xfc9aaa=!0x1,_0x75c92f,_0x4d0ba0,_0x32d852,_0x5b72cb,_0x3a33a5,_0xf205ec,_0x5b4d13){var _0x37e60c=_0x4abd4f;super(_0x3843fc,_0x1cb6b1,_0x33f3c5,_0x60b25a,_0x485eaa,_0x4d0ba0,_0x32d852,_0x5b72cb,_0x5b4d13),A(this,'status',_0x37e60c(0x432)),(this['_isPermissionRej']=_0xfc9aaa,this['_permissionService']=_0x75c92f,this[_0x37e60c(0x275)]=_0x3a33a5,this[_0x37e60c(0x31f)]=_0xf205ec,this['localCacheService']=_0x5b4d13,this[_0x37e60c(0x3fb)](),this[_0x37e60c(0x497)](),this[_0x37e60c(0x32a)]());}[_0x4abd4f(0x372)](){return this;}[_0x4abd4f(0x3a0)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x4abd4f(0x4e3)](){return this;}[_0x4abd4f(0x508)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x2b9066=_0x4abd4f;throw new Error(_0x2b9066(0x21a));}[_0x4abd4f(0x497)](){var _0x43f085=_0x4abd4f,_0x1e17cb;(_0x1e17cb=this['_localCacheService'])==null||_0x1e17cb[_0x43f085(0x47b)](this[_0x43f085(0x43d)],this[_0x43f085(0x32e)],null,[]);}['_showConflictNotification'](){var _0x42a816=_0x4abd4f;this[_0x42a816(0x2cb)]?this['_collaborationUIEventService']['emitEvent']({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x42a816(0x4ea)]({'id':J[_0x42a816(0x507)]});}[_0x4abd4f(0x32a)](){var _0x16cff0=_0x4abd4f;this[_0x16cff0(0x242)][_0x16cff0(0x4e7)](new Q[(_0x16cff0(0x36a))](this['unitID'])['id'],!0x1);}},exports[_0x4abd4f(0x2cc)]=ae([L(0x6,o[_0x4abd4f(0x3eb)](o['IPermissionService'])),L(0x7,o['ICommandService']),L(0x8,o[_0x4abd4f(0x470)]),L(0x9,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x327)])),L(0xa,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x4ce)])),L(0xb,o[_0x4abd4f(0x3eb)](ee)),L(0xc,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x2cc)]),exports['OfflineState']=class extends oe{constructor(_0x5b6c75,_0x8a52dd,_0x5548b4,_0x4dd73c,_0x12c131,_0x49d039,_0x1a968c,_0x1dba5e,_0x25714f,_0x282908){var _0x29f79f=_0x4abd4f;super(_0x5b6c75,_0x8a52dd,_0x5548b4,_0x4dd73c,_0x12c131,_0x1dba5e,_0x25714f,_0x1a968c,_0x282908),A(this,_0x29f79f(0x27a),_0x29f79f(0x3c2)),this[_0x29f79f(0x312)]=_0x49d039;}[_0x4abd4f(0x372)](_0x885d30){var _0x13d59a=_0x4abd4f;return this[_0x13d59a(0x245)][_0x13d59a(0x4e6)](_0x885d30),this[_0x13d59a(0x4f7)](),this;}[_0x4abd4f(0x3a0)](_0x3de030){var _0x127385=_0x4abd4f;throw new Error(_0x127385(0x24f));}[_0x4abd4f(0x3ec)](){var _0x198973=_0x4abd4f;throw new Error(_0x198973(0x224));}[_0x4abd4f(0x238)](){var _0x631a70=_0x4abd4f;throw new Error(_0x631a70(0x22a));}[_0x4abd4f(0x4e3)](){return this;}[_0x4abd4f(0x508)](){return this;}[_0x4abd4f(0x344)](){var _0x5df558=_0x4abd4f;const {_injector:_0x936ce2,_pendingMutations:_0x412689,_awaitingChangeset:_0x163d2a,unitID:_0x2ec2c3,_handler:_0x3190e8,type:_0x28ac87}=this,_0x2a4ac8=ft(_0x936ce2,_0x2ec2c3,_0x28ac87,_0x163d2a,_0x412689,_0x3190e8);return _0x2a4ac8 instanceof exports[_0x5df558(0x322)]?_0x2a4ac8['_schedule']():(_0x2a4ac8 instanceof exports[_0x5df558(0x4fd)]||_0x2a4ac8 instanceof exports[_0x5df558(0x304)])&&_0x2a4ac8[_0x5df558(0x1e4)](),_0x2a4ac8;}[_0x4abd4f(0x1e4)](){var _0x33a6a0=_0x4abd4f;throw new Error(_0x33a6a0(0x4ae));}},exports[_0x4abd4f(0x4bc)]=ae([L(0x5,o[_0x4abd4f(0x3eb)](o['Injector'])),L(0x6,o['Inject'](E[_0x4abd4f(0x327)])),L(0x7,o[_0x4abd4f(0x345)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x4bc)]),exports[_0x4abd4f(0x42b)]=class extends oe{constructor(_0x13e69b,_0x19379d,_0x2c42b2,_0x3d629e,_0x5b4850,_0x4c9bf8,_0x4344cb,_0x2da232,_0x475d63,_0x33fee2,_0x4e52f1,_0x3608bb,_0x3a4c70,_0x40ec81){var _0x5d257c=_0x4abd4f;super(_0x13e69b,_0x19379d,_0x2c42b2,_0x3d629e,_0x4344cb,_0x4e52f1,_0x3608bb,_0x475d63,_0x40ec81),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5b4850,this[_0x5d257c(0x4ef)]=_0x4c9bf8,this[_0x5d257c(0x312)]=_0x2da232,this[_0x5d257c(0x4f8)]=_0x33fee2,this['_transformService']=_0x3a4c70,this[_0x5d257c(0x228)]=_0x40ec81);}['onMissedChangesetFetched'](_0x3b2fb3){var _0x5b2f73=_0x4abd4f;try{const _0x5f34da=[..._0x3b2fb3,...this[_0x5b2f73(0x4ef)]],_0x4c98b5=[this['_awaitingChangeset']||this[_0x5b2f73(0x500)]]['filter'](_0x309a57=>!!_0x309a57);let _0x2cac2c,_0x1ef95c;if(_0x4c98b5[_0x5b2f73(0x354)]){const _0x1d9064=this[_0x5b2f73(0x422)][_0x5b2f73(0x202)](_0x5f34da,_0x4c98b5,!0x1);if(!E['isTransformChangesetsSuccess'](_0x1d9064))throw _0x1d9064[_0x5b2f73(0x229)];_0x2cac2c=_0x1d9064[_0x5b2f73(0x3ba)],_0x1ef95c=_0x1d9064[_0x5b2f73(0x197)];}else _0x2cac2c=_0x5f34da,_0x1ef95c=[];let _0x8f1663=this[_0x5b2f73(0x245)];_0x2cac2c[_0x5b2f73(0x294)](_0x1b060e=>{var _0x1cfc29=_0x5b2f73;let _0x175b8c;if(_0x8f1663[_0x1cfc29(0x354)]){const _0x153806=this[_0x1cfc29(0x422)]['transformMutationsWithChangeset'](_0x1b060e,_0x8f1663);if(!E[_0x1cfc29(0x1d8)](_0x153806))throw _0x153806[_0x1cfc29(0x229)];_0x175b8c=_0x153806[_0x1cfc29(0x3ba)],_0x8f1663=_0x153806['m2Prime'];}else _0x175b8c=_0x1b060e;this['_executeRemoteChangeset'](_0x175b8c);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5b2f73(0x370)](),this[_0x5b2f73(0x390)]&&_0x1ef95c[_0x5b2f73(0x354)]&&(_0x1ef95c[0x0][_0x5b2f73(0x32c)]=this[_0x5b2f73(0x4a4)]());let _0x4c9c7a;if(this[_0x5b2f73(0x390)]&&_0x8f1663[_0x5b2f73(0x354)]!==0x0)_0x4c9c7a=this[_0x5b2f73(0x312)][_0x5b2f73(0x26b)](exports['AwaitingWithPendingState'],this[_0x5b2f73(0x43d)],this[_0x5b2f73(0x32e)],_0x1ef95c[0x0],_0x8f1663,this[_0x5b2f73(0x47c)],void 0x0);else{if(this[_0x5b2f73(0x390)]&&_0x8f1663[_0x5b2f73(0x354)]===0x0)_0x1ef95c[0x0]['baseRev']=this['_getCurrentRevision'](),_0x4c9c7a=this[_0x5b2f73(0x312)][_0x5b2f73(0x26b)](exports[_0x5b2f73(0x304)],this['unitID'],this['type'],_0x1ef95c[0x0],this[_0x5b2f73(0x47c)]);else{if(_0x8f1663[_0x5b2f73(0x354)]!==0x0){const _0xfe2966=this[_0x5b2f73(0x312)][_0x5b2f73(0x26b)](exports[_0x5b2f73(0x322)],this[_0x5b2f73(0x43d)],this[_0x5b2f73(0x32e)],_0x8f1663,this['_handler']);_0xfe2966['_schedule'](),_0x4c9c7a=_0xfe2966;}else _0x4c9c7a=this['_injector'][_0x5b2f73(0x26b)](exports[_0x5b2f73(0x356)],this['unitID'],this[_0x5b2f73(0x32e)],this[_0x5b2f73(0x47c)]);}}return _0x4c9c7a[_0x5b2f73(0x4f7)](),_0x4c9c7a;}catch(_0x151fa6){return this['_logService'][_0x5b2f73(0x229)](_0x5b2f73(0x195),_0x5b2f73(0x24c),_0x151fa6),this['_injector']['createInstance'](exports[_0x5b2f73(0x2cc)],this['unitID'],this[_0x5b2f73(0x32e)],this[_0x5b2f73(0x390)],this['_pendingMutations'],this[_0x5b2f73(0x47c)],!0x1);}}[_0x4abd4f(0x1e4)](){var _0x267c44=_0x4abd4f;throw new Error(_0x267c44(0x1c7));}[_0x4abd4f(0x372)](_0x1a95cd){var _0x10c60a=_0x4abd4f;return this[_0x10c60a(0x245)][_0x10c60a(0x4e6)](_0x1a95cd),this;}['onRemoteChangeset'](_0x17afc9){var _0x1dd0fb=_0x4abd4f;return this['_queuedRemoteChangesets'][_0x1dd0fb(0x4e6)](_0x17afc9),this;}[_0x4abd4f(0x3ec)](_0x293e9f){var _0x20ca6a=_0x4abd4f;if(this[_0x20ca6a(0x390)])return this[_0x20ca6a(0x500)]=this['_awaitingChangeset'],this[_0x20ca6a(0x390)]=null,this;throw new Error(_0x20ca6a(0x348));}[_0x4abd4f(0x238)](_0x5af7e4){var _0x5c78ac=_0x4abd4f;return this[_0x5c78ac(0x4bd)](!!(_0x5af7e4!=null&&_0x5af7e4['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x4abd4f(0x508)](){var _0x225dde=_0x4abd4f;return this['_injector'][_0x225dde(0x26b)](exports[_0x225dde(0x4bc)],this[_0x225dde(0x43d)],this['type'],this[_0x225dde(0x390)],this[_0x225dde(0x245)],this[_0x225dde(0x47c)]);}[_0x4abd4f(0x344)](){return this;}[_0x4abd4f(0x4bd)](_0x28411a){var _0x123359=_0x4abd4f;return this[_0x123359(0x312)][_0x123359(0x26b)](exports[_0x123359(0x2cc)],this[_0x123359(0x43d)],this['type'],this[_0x123359(0x390)],this[_0x123359(0x245)],this[_0x123359(0x47c)],_0x28411a);}},exports[_0x4abd4f(0x42b)]=ae([L(0x7,o['Inject'](o[_0x4abd4f(0x2d3)])),L(0x8,o['Inject'](E[_0x4abd4f(0x327)])),L(0x9,o[_0x4abd4f(0x4a5)]),L(0xa,o[_0x4abd4f(0x345)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x4abd4f(0x3aa)]),L(0xd,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x42b)]);function ft(_0x1f40a4,_0x5c4634,_0x266a06,_0x394b9a,_0x54e7f3,_0x402e79){var _0xb07363=_0x4abd4f;return _0x394b9a&&_0x54e7f3[_0xb07363(0x354)]?_0x1f40a4[_0xb07363(0x26b)](exports[_0xb07363(0x4fd)],_0x5c4634,_0x266a06,_0x394b9a,_0x54e7f3,_0x402e79,void 0x0):_0x394b9a?_0x1f40a4[_0xb07363(0x26b)](exports[_0xb07363(0x304)],_0x5c4634,_0x266a06,_0x394b9a,_0x402e79):_0x54e7f3['length']?_0x1f40a4['createInstance'](exports[_0xb07363(0x322)],_0x5c4634,_0x266a06,_0x54e7f3,_0x402e79):_0x1f40a4[_0xb07363(0x26b)](exports[_0xb07363(0x356)],_0x5c4634,_0x266a06,_0x402e79);}var ni=Object['getOwnPropertyDescriptor'],Be=(_0x5216c5,_0x2f0a88,_0x5aca8e,_0x32db9d)=>{var _0x536365=_0x4abd4f;for(var _0x203326=_0x32db9d>0x1?void 0x0:_0x32db9d?ni(_0x2f0a88,_0x5aca8e):_0x2f0a88,_0x224670=_0x5216c5[_0x536365(0x354)]-0x1,_0x30a52a;_0x224670>=0x0;_0x224670--)(_0x30a52a=_0x5216c5[_0x224670])&&(_0x203326=_0x30a52a(_0x203326)||_0x203326);return _0x203326;},$=(_0x47c6fb,_0x19a112)=>(_0x5745be,_0x2a347c)=>_0x19a112(_0x5745be,_0x2a347c,_0x47c6fb);exports[_0x4abd4f(0x255)]=class extends o['RxDisposable']{constructor(_0x55ff82,_0x4db2f0,_0x2db4f2,_0x192155,_0x4357b1,_0x47fcf7,_0x2ffebe,_0x590f09,_0x4ee0d4,_0x398eeb,_0x15e09f,_0x333d1b,_0x5544f6,_0x1f4070){var _0xeeccb=_0x4abd4f;super(),A(this,'_state$',new j[(_0xeeccb(0x3a5))](null)),A(this,_0xeeccb(0x4b2),this[_0xeeccb(0x2d6)][_0xeeccb(0x2b3)]()),A(this,_0xeeccb(0x37a)),A(this,'_collaborationPaused',!0x1),A(this,_0xeeccb(0x2ea),''),A(this,_0xeeccb(0x503),0x0),A(this,_0xeeccb(0x45e),this['state$'][_0xeeccb(0x283)](j['map'](_0x80e045=>_0x80e045?_0x80e045[_0xeeccb(0x27a)]:je['OFFLINE']),j[_0xeeccb(0x4c9)](0x1))),A(this,_0xeeccb(0x3a4),!0x1),A(this,_0xeeccb(0x200),[]),(this[_0xeeccb(0x43d)]=_0x55ff82,this[_0xeeccb(0x438)]=_0x4db2f0,this[_0xeeccb(0x302)]=_0x2db4f2,this[_0xeeccb(0x312)]=_0x192155,this[_0xeeccb(0x4a7)]=_0x4357b1,this[_0xeeccb(0x275)]=_0x47fcf7,this[_0xeeccb(0x1d5)]=_0x2ffebe,this[_0xeeccb(0x37b)]=_0x590f09,this['_univerInstanceService']=_0x4ee0d4,this[_0xeeccb(0x4f8)]=_0x398eeb,this[_0xeeccb(0x45c)]=_0x15e09f,this['_permissionService']=_0x333d1b,this['_singleActiveUnitService']=_0x5544f6,this[_0xeeccb(0x1af)]=_0x1f4070);}get[_0x4abd4f(0x21d)](){var _0x516dc3=_0x4abd4f;return this[_0x516dc3(0x37a)];}async['init'](){var _0x1a2b0e=_0x4abd4f;if(this['state'])throw new Error(_0x1a2b0e(0x1cb));await this[_0x1a2b0e(0x1ae)]();}[_0x4abd4f(0x2ce)](){var _0x322a4c=_0x4abd4f;return this[_0x322a4c(0x2a2)]=!0x0,o['toDisposable'](()=>{var _0x1ff200=_0x322a4c;this['_collaborationPaused']=!0x1,this[_0x1ff200(0x25b)]();});}[_0x4abd4f(0x1bd)](_0x374a9b){var _0x2a6fd7=_0x4abd4f;this[_0x2a6fd7(0x458)](_0x374a9b);}[_0x4abd4f(0x461)](_0x36b46d){var _0xca697b=_0x4abd4f;this[_0xca697b(0x37a)]=_0x36b46d,this[_0xca697b(0x2d6)]['next'](_0x36b46d);}async['_init'](){var _0x3f3388=_0x4abd4f,_0x5a5acf;this[_0x3f3388(0x461)](await this['_createInitialState']()),this[_0x3f3388(0x2c0)]&&((_0x5a5acf=this['_singleActiveUnitService'])==null||_0x5a5acf[_0x3f3388(0x3bc)](this['unitID']),this[_0x3f3388(0x3c7)](this[_0x3f3388(0x2c0)][_0x3f3388(0x2b5)](this[_0x3f3388(0x43d)])[_0x3f3388(0x3f2)](_0x2ee9ff=>{var _0xf66be8=_0x3f3388;this[_0xf66be8(0x4f8)][_0xf66be8(0x351)](_0xf66be8(0x33b),_0xf66be8(0x203),_0x2ee9ff),_0x2ee9ff===He[_0xf66be8(0x17d)]?(this['_eventService']['emitEvent']({'id':J[_0xf66be8(0x326)]}),this[_0xf66be8(0x242)][_0xf66be8(0x4e7)](new Q[(_0xf66be8(0x36a))](this[_0xf66be8(0x43d)])['id'],!0x1),this['_permissionService'][_0xf66be8(0x467)](!0x1)):(this[_0xf66be8(0x242)][_0xf66be8(0x4e7)](new Q[(_0xf66be8(0x36a))](this[_0xf66be8(0x43d)])['id'],!0x0),this[_0xf66be8(0x242)][_0xf66be8(0x467)](!0x0));})));let _0x5007be=!0x1;return this['disposeWithMe'](this[_0x3f3388(0x438)]['sessionStatus$'][_0x3f3388(0x3f2)](_0x4f019b=>{var _0x1bab35=_0x3f3388;_0x4f019b===se[_0x1bab35(0x1c6)]?this[_0x1bab35(0x4cd)](_0x5007be):_0x4f019b===se[_0x1bab35(0x36f)]&&(_0x5007be=!0x0,this['_toggleOffline']());})),this[_0x3f3388(0x3c7)](this[_0x3f3388(0x438)][_0x3f3388(0x477)][_0x3f3388(0x3f2)](_0x36ede4=>{var _0x5e1fa5=_0x3f3388;try{switch(_0x36ede4[_0x5e1fa5(0x323)]){case E[_0x5e1fa5(0x4b6)]['NEW_CHANGESETS']:{this[_0x5e1fa5(0x3de)](E['parseProtocolChangeset'](_0x36ede4[_0x5e1fa5(0x456)]));break;}case E[_0x5e1fa5(0x4b6)][_0x5e1fa5(0x274)]:{this[_0x5e1fa5(0x4a2)](_0x36ede4[_0x5e1fa5(0x456)]);break;}case E[_0x5e1fa5(0x4b6)][_0x5e1fa5(0x4c6)]:{this[_0x5e1fa5(0x214)]();break;}case E[_0x5e1fa5(0x4b6)][_0x5e1fa5(0x488)]:{this[_0x5e1fa5(0x2da)](_0x36ede4[_0x5e1fa5(0x456)]);break;}case E['CollaborationEvent'][_0x5e1fa5(0x38d)]:{this['_onFetchMissResult'](_0x36ede4[_0x5e1fa5(0x456)][_0x5e1fa5(0x2fb)]['map'](_0x5e84ac=>E[_0x5e1fa5(0x2c8)](_0x5e84ac)));break;}case E['CollaborationEvent']['PERMISSION_REJ']:{this[_0x5e1fa5(0x214)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x5e1fa5(0x450)]:break;}}catch(_0x281638){throw console[_0x5e1fa5(0x229)](_0x5e1fa5(0x369),_0x281638),_0x281638;}})),this['_state'];}[_0x4abd4f(0x396)](){var _0x157d26=_0x4abd4f;this[_0x157d26(0x3a4)]=!0x1;}['_lockTransition'](){var _0xce6855=_0x4abd4f;if(this[_0xce6855(0x3a4)])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[_0xce6855(0x3a4)]=!0x0;}['_onLocalMutation'](_0x172e7e){var _0x2ec8d1=_0x4abd4f;this[_0x2ec8d1(0x287)](),this[_0x2ec8d1(0x461)](this[_0x2ec8d1(0x37a)][_0x2ec8d1(0x372)](_0x172e7e)),this[_0x2ec8d1(0x396)]();}['_onRemoteChangeset'](_0x255dc1){var _0xc8c821=_0x4abd4f;if(!(_0x255dc1[_0xc8c821(0x1b3)]<=this[_0xc8c821(0x1d5)][_0xc8c821(0x1d2)](this[_0xc8c821(0x43d)]))){if(this['_collaborationPaused']){this[_0xc8c821(0x200)][_0xc8c821(0x4e6)](_0x255dc1);return;}this['_applyRemoteChangeset'](_0x255dc1);}}[_0x4abd4f(0x25b)](){var _0x534959=_0x4abd4f;this[_0x534959(0x200)]['forEach'](_0x3821c2=>this[_0x534959(0x324)](_0x3821c2)),this['_remoteChangesetQueue']=[];}[_0x4abd4f(0x324)](_0x4e6a9d){var _0x5beb57=_0x4abd4f;const _0x260b22=this[_0x5beb57(0x4a7)][_0x5beb57(0x4be)][_0x5beb57(0x192)](this[_0x5beb57(0x4a7)][_0x5beb57(0x4be)]['getInterceptPoints']()[_0x5beb57(0x42f)])(_0x4e6a9d[_0x5beb57(0x482)],null)||_0x4e6a9d[_0x5beb57(0x482)],_0x3dd2fe={..._0x4e6a9d,'mutations':_0x260b22};this['_lockTransition'](),this['_updateState'](this[_0x5beb57(0x37a)][_0x5beb57(0x3a0)](_0x3dd2fe)),this[_0x5beb57(0x396)]();}['_onRemoteACK'](_0x2603d2){var _0x3db05b=_0x4abd4f;this[_0x3db05b(0x287)](),this[_0x3db05b(0x461)](this['_state'][_0x3db05b(0x3ec)](_0x2603d2)),this['_unlockTransition']();}['_onRemoteRejected'](_0x2da9cd){var _0x5763ce=_0x4abd4f;this[_0x5763ce(0x287)](),this[_0x5763ce(0x461)](this[_0x5763ce(0x37a)]['onRemoteRej'](_0x2da9cd)),this['_unlockTransition']();}[_0x4abd4f(0x2da)](_0x4ab06a){var _0x3ee905=_0x4abd4f;this[_0x3ee905(0x287)](),this[_0x3ee905(0x461)](this[_0x3ee905(0x37a)]['onRemoteRetry'](_0x4ab06a)),this['_unlockTransition']();}['_onFetchMissResult'](_0x5cbc10){var _0x1892e8=_0x4abd4f;if(!(this[_0x1892e8(0x37a)]instanceof exports[_0x1892e8(0x42b)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x42858e=_0x5cbc10[_0x1892e8(0x343)](_0x35b4ad=>{var _0x5b4fa1=_0x1892e8;const _0x39e068=this[_0x5b4fa1(0x4a7)][_0x5b4fa1(0x4be)]['fetchThroughInterceptors'](this[_0x5b4fa1(0x4a7)][_0x5b4fa1(0x4be)]['getInterceptPoints']()[_0x5b4fa1(0x42f)])(_0x35b4ad[_0x5b4fa1(0x482)],null)||_0x35b4ad[_0x5b4fa1(0x482)];return{..._0x35b4ad,'mutations':_0x39e068};});this[_0x1892e8(0x287)](),this[_0x1892e8(0x461)](this['_state'][_0x1892e8(0x3b9)](_0x42858e)),this[_0x1892e8(0x396)]();}[_0x4abd4f(0x342)](){var _0x2f4ae1=_0x4abd4f;this['_lockTransition'](),this[_0x2f4ae1(0x461)](this[_0x2f4ae1(0x37a)][_0x2f4ae1(0x508)]()),this[_0x2f4ae1(0x396)]();}[_0x4abd4f(0x4cd)](_0x2a9ccd=!0x1){var _0x1f9704=_0x4abd4f;this[_0x1f9704(0x287)](),this[_0x1f9704(0x461)](this[_0x1f9704(0x37a)][_0x1f9704(0x344)]()),this[_0x1f9704(0x396)]();const _0x281966=this['_state'];_0x2a9ccd&&_0x281966 instanceof exports[_0x1f9704(0x356)]&&(this['_lockTransition'](),this['_updateState'](_0x281966[_0x1f9704(0x19f)]()),this[_0x1f9704(0x396)]());}async[_0x4abd4f(0x1f1)](){return new Promise(_0x351f3d=>{var _0x4bb602=_0x5915;this[_0x4bb602(0x438)][_0x4bb602(0x332)]['pipe'](j['take'](0x1))[_0x4bb602(0x3f2)](async _0xbebcab=>{var _0xeaf2cc=_0x4bb602;_0x351f3d(await this[_0xeaf2cc(0x39a)](_0xbebcab===se[_0xeaf2cc(0x1c6)]));});});}['_createHandler'](){var _0x27f8b3=_0x4abd4f;const _0x4a7f5c=this[_0x27f8b3(0x43d)];return{'onStateChange':(_0x100076,_0x583e97)=>{var _0x1f7a87=_0x27f8b3;if(_0x100076!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x100076['status']+_0x1f7a87(0x1e7)+_0x583e97[_0x1f7a87(0x27a)]+_0x1f7a87(0x429)+this[_0x1f7a87(0x37a)]['status']);this[_0x1f7a87(0x461)](_0x583e97);},'onSendChangeset':_0x138300=>{var _0x5e8ca4=_0x27f8b3;_0x138300[_0x5e8ca4(0x460)]||(_0x138300[_0x5e8ca4(0x460)]=this[_0x5e8ca4(0x2ea)],_0x138300[_0x5e8ca4(0x3fa)]=++this[_0x5e8ca4(0x503)]);const _0x4b848f={'eventID':E[_0x5e8ca4(0x4b6)][_0x5e8ca4(0x447)],'data':{'unitID':_0x138300[_0x5e8ca4(0x43d)],'unitType':this[_0x5e8ca4(0x302)],'changeset':_0x138300,'memberID':this[_0x5e8ca4(0x438)][_0x5e8ca4(0x1a3)]()}};this['session'][_0x5e8ca4(0x1e8)](_0x4b848f,this['unitID']);},'onMissingChangesets':({from:_0x44047d,to:_0x42a3f7})=>{var _0x4a9817=_0x27f8b3;this['_logService'][_0x4a9817(0x351)](_0x4a9817(0x33b),_0x4a9817(0x448)+_0x44047d+'\x20to\x20'+_0x42a3f7);const _0x1b078f={'eventID':E[_0x4a9817(0x4b6)][_0x4a9817(0x412)],'data':{'unitID':_0x4a7f5c,'unitType':this['_type'],'from':_0x44047d,'to':_0x42a3f7}};this[_0x4a9817(0x438)][_0x4a9817(0x1e8)](_0x1b078f,this['unitID']);}};}async[_0x4abd4f(0x39a)](_0x2eff21){var _0x20949c=_0x4abd4f,_0x2231dc,_0x559807,_0xcee6f8;const _0x4c202a=await((_0x2231dc=this[_0x20949c(0x1af)])==null?void 0x0:_0x2231dc[_0x20949c(0x3f5)](this[_0x20949c(0x43d)])),_0x11ed62=(_0x559807=_0x4c202a==null?void 0x0:_0x4c202a[_0x20949c(0x482)])!=null?_0x559807:[],_0x26bdf4=(_0xcee6f8=_0x4c202a==null?void 0x0:_0x4c202a[_0x20949c(0x437)])!=null?_0xcee6f8:null,_0x126d6e=!!(_0x26bdf4!=null&&_0x26bdf4['sid'])&&!!(_0x26bdf4!=null&&_0x26bdf4['reqId']);this[_0x20949c(0x2ea)]=_0x126d6e?_0x26bdf4[_0x20949c(0x460)]:E[_0x20949c(0x1a7)](),this[_0x20949c(0x503)]=_0x126d6e?_0x26bdf4[_0x20949c(0x3fa)]:0x0;const _0x8ba436=this[_0x20949c(0x43d)];try{this[_0x20949c(0x1f6)](_0x26bdf4,_0x11ed62);}catch(_0x5f3573){this[_0x20949c(0x4f8)][_0x20949c(0x229)](_0x5f3573);}const _0x2a1eb5=this['_createHandler']();if(_0x2eff21){const _0x33616b=ft(this[_0x20949c(0x312)],_0x8ba436,this['_type'],_0x26bdf4,_0x11ed62,_0x2a1eb5);return _0x33616b instanceof exports[_0x20949c(0x322)]?_0x33616b[_0x20949c(0x385)]():(_0x33616b instanceof exports['AwaitingWithPendingState']||_0x33616b instanceof exports[_0x20949c(0x304)])&&_0x33616b['resend'](),_0x33616b;}return this[_0x20949c(0x312)][_0x20949c(0x26b)](exports['OfflineState'],_0x8ba436,this[_0x20949c(0x302)],_0x26bdf4,_0x11ed62,_0x2a1eb5);}[_0x4abd4f(0x1f6)](_0x4bf893,_0x551661){var _0x23b36e=_0x4abd4f,_0x4e853e,_0x2703f8;const _0x347ebe=this[_0x23b36e(0x4a7)]['interceptor'][_0x23b36e(0x192)](this['_compressMutationService'][_0x23b36e(0x4be)]['getInterceptPoints']()[_0x23b36e(0x42f)]);(_0x4e853e=_0x347ebe((_0x4bf893==null?void 0x0:_0x4bf893[_0x23b36e(0x482)])||[],null))==null||_0x4e853e['forEach'](_0x18f00e=>this[_0x23b36e(0x45c)][_0x23b36e(0x41e)](_0x18f00e['id'],_0x18f00e[_0x23b36e(0x4ee)])),(_0x2703f8=_0x347ebe(_0x551661||[],null))==null||_0x2703f8[_0x23b36e(0x294)](_0x5c09a4=>this['_commandService'][_0x23b36e(0x41e)](_0x5c09a4['id'],_0x5c09a4['params']));}},exports[_0x4abd4f(0x255)]=Be([$(0x3,o['Inject'](o[_0x4abd4f(0x2d3)])),$(0x4,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x3d6)])),$(0x5,o[_0x4abd4f(0x3eb)](o['LocaleService'])),$(0x6,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x327)])),$(0x7,o[_0x4abd4f(0x3eb)](ee)),$(0x8,o[_0x4abd4f(0x270)]),$(0x9,o[_0x4abd4f(0x4a5)]),$(0xa,o[_0x4abd4f(0x345)]),$(0xb,o[_0x4abd4f(0x29e)]),$(0xc,o[_0x4abd4f(0x38f)](ve)),$(0xd,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x255)]),exports['DocCollaborationEntity']=class extends exports[_0x4abd4f(0x255)]{constructor(_0x29aa67,_0x3cdd95,_0x4a21ef,_0x5a20dd,_0x5a3b62,_0x3f5432,_0x2864c9,_0x224c32,_0x1140da,_0x14c13c,_0x15645e,_0x78595e,_0x1c3d1f,_0x505aff){var _0x5b7f90=_0x4abd4f;super(_0x29aa67,_0x4a21ef,_0x3cdd95,_0x5a20dd,_0x5a3b62,_0x3f5432,_0x2864c9,_0x224c32,_0x1140da,_0x14c13c,_0x15645e,_0x78595e,_0x1c3d1f,_0x505aff),A(this,'_handlerCallback',null),(this[_0x5b7f90(0x43d)]=_0x29aa67,this[_0x5b7f90(0x32e)]=_0x3cdd95);}[_0x4abd4f(0x27d)](_0x36660e){var _0x2f355d=_0x4abd4f;this[_0x2f355d(0x2aa)]=_0x36660e;}[_0x4abd4f(0x4c3)](){var _0x28187f=_0x4abd4f;this[_0x28187f(0x2aa)]=null,super[_0x28187f(0x4c3)]();}[_0x4abd4f(0x421)](){var _0x4268ba=_0x4abd4f;const _0x5d9e60=super[_0x4268ba(0x421)]();return _0x5d9e60['onTransformIME']=_0x3ff401=>{var _0xfd6860=_0x4268ba,_0x3093f3,_0x648b7c;return(_0x648b7c=(_0x3093f3=this['_handlerCallback'])==null?void 0x0:_0x3093f3[_0xfd6860(0x48f)])==null?void 0x0:_0x648b7c[_0xfd6860(0x1ed)](_0x3093f3,_0x3ff401);},_0x5d9e60['onTransformState']=_0x3caaed=>{var _0x5047a8=_0x4268ba,_0x3b1b30,_0x2e961c;return(_0x2e961c=(_0x3b1b30=this[_0x5047a8(0x2aa)])==null?void 0x0:_0x3b1b30['onTransformState'])==null?void 0x0:_0x2e961c[_0x5047a8(0x1ed)](_0x3b1b30,_0x3caaed);},_0x5d9e60[_0x4268ba(0x3d2)]=_0xa9703e=>{var _0x14c97a=_0x4268ba,_0x16129a,_0x4e5a1e;return(_0x4e5a1e=(_0x16129a=this[_0x14c97a(0x2aa)])==null?void 0x0:_0x16129a['onTransformSelections'])==null?void 0x0:_0x4e5a1e[_0x14c97a(0x1ed)](_0x16129a,_0xa9703e);},_0x5d9e60[_0x4268ba(0x38b)]=_0x164ae3=>{var _0x24dc2a=_0x4268ba,_0x2771fe,_0x1b79a9;return(_0x1b79a9=(_0x2771fe=this['_handlerCallback'])==null?void 0x0:_0x2771fe[_0x24dc2a(0x38b)])==null?void 0x0:_0x1b79a9[_0x24dc2a(0x1ed)](_0x2771fe,_0x164ae3);},_0x5d9e60[_0x4268ba(0x3fd)]=_0x4044e9=>{var _0x324dbd=_0x4268ba,_0x420275,_0x2cf275,_0x5b3f81;if(!((_0x420275=this['_handlerCallback'])!=null&&_0x420275['onTransformRemoteChangesetByIMECache']))throw new Error(_0x324dbd(0x4d6));return(_0x5b3f81=(_0x2cf275=this[_0x324dbd(0x2aa)])==null?void 0x0:_0x2cf275[_0x324dbd(0x3fd)])==null?void 0x0:_0x5b3f81[_0x324dbd(0x1ed)](_0x2cf275,_0x4044e9);},_0x5d9e60[_0x4268ba(0x494)]=_0x31e418=>{var _0x1828e5=_0x4268ba,_0x127145,_0x545894,_0x34f8ed;if(!((_0x127145=this[_0x1828e5(0x2aa)])!=null&&_0x127145[_0x1828e5(0x494)]))throw new Error(_0x1828e5(0x234));return(_0x34f8ed=(_0x545894=this[_0x1828e5(0x2aa)])==null?void 0x0:_0x545894['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x34f8ed[_0x1828e5(0x1ed)](_0x545894,_0x31e418);},_0x5d9e60;}async[_0x4abd4f(0x1ae)](){var _0x4437fd=_0x4abd4f;const _0x56981d=await super[_0x4437fd(0x1ae)]();return this[_0x4437fd(0x3c7)](this['_commandService'][_0x4437fd(0x1c0)]((_0x48b4aa,_0x43e576)=>{var _0x5a106b=_0x4437fd;if(_0x48b4aa[_0x5a106b(0x32e)]!==o[_0x5a106b(0x252)][_0x5a106b(0x405)]||_0x43e576!=null&&_0x43e576['fromCollab']||_0x43e576!=null&&_0x43e576[_0x5a106b(0x453)]||_0x48b4aa['id']===ct['RichTextEditingMutation']['id'])return;const _0x5a7661=_0x48b4aa[_0x5a106b(0x4ee)];if((_0x5a7661==null?void 0x0:_0x5a7661[_0x5a106b(0x2d1)])!==this['unitID'])return;const _0x2eaf23=_0x48b4aa,_0x2c27d0=this[_0x5a106b(0x4a7)][_0x5a106b(0x4be)][_0x5a106b(0x192)](this[_0x5a106b(0x4a7)][_0x5a106b(0x4be)][_0x5a106b(0x3bb)]()[_0x5a106b(0x301)])([_0x2eaf23],this[_0x5a106b(0x4dd)])||[_0x2eaf23];this[_0x5a106b(0x458)](_0x2c27d0[0x0]);})),_0x56981d;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x2d3)])),$(0x4,o['Inject'](E[_0x4abd4f(0x3d6)])),$(0x5,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x4ce)])),$(0x6,o['Inject'](E[_0x4abd4f(0x327)])),$(0x7,o[_0x4abd4f(0x3eb)](ee)),$(0x8,o[_0x4abd4f(0x270)]),$(0x9,o[_0x4abd4f(0x4a5)]),$(0xa,o[_0x4abd4f(0x345)]),$(0xb,o[_0x4abd4f(0x29e)]),$(0xc,o[_0x4abd4f(0x38f)](ve)),$(0xd,o['Optional'](q))],exports[_0x4abd4f(0x350)]),exports[_0x4abd4f(0x2dd)]=class extends exports[_0x4abd4f(0x255)]{constructor(_0x4b7c71,_0x3bb1be,_0xc98d87,_0x4b530a,_0x424212,_0x2400bf,_0x36466c,_0x227693,_0x45f34b,_0x260fb9,_0x557c5a,_0x3ef626,_0x2ade9c,_0x1e5d43,_0x1af1b8){var _0x4af365=_0x4abd4f;super(_0x4b7c71,_0xc98d87,_0x3bb1be,_0x4b530a,_0x424212,_0x2400bf,_0x36466c,_0x45f34b,_0x260fb9,_0x557c5a,_0x3ef626,_0x2ade9c,_0x1e5d43,_0x1af1b8),this[_0x4af365(0x43d)]=_0x4b7c71,this['type']=_0x3bb1be,this[_0x4af365(0x249)]=_0x227693;}[_0x4abd4f(0x421)](){var _0x5ef4d2=_0x4abd4f;const _0x535180=super[_0x5ef4d2(0x421)]();return _0x535180[_0x5ef4d2(0x3d2)]=_0x3a64c3=>this[_0x5ef4d2(0x249)][_0x5ef4d2(0x4f5)](_0x3a64c3),_0x535180;}async['_init'](){var _0x18b28b=_0x4abd4f;const _0x553c22=await super[_0x18b28b(0x1ae)]();return this[_0x18b28b(0x3c7)](this['_commandService']['onMutationExecutedForCollab']((_0x41d628,_0x37d098)=>{var _0x19d27b=_0x18b28b;if(_0x41d628[_0x19d27b(0x32e)]!==o[_0x19d27b(0x252)][_0x19d27b(0x405)]||_0x37d098!=null&&_0x37d098[_0x19d27b(0x2e2)]||_0x37d098!=null&&_0x37d098[_0x19d27b(0x453)])return;const _0x48f34b=_0x41d628[_0x19d27b(0x4ee)];if((_0x48f34b==null?void 0x0:_0x48f34b['unitId'])!==this[_0x19d27b(0x43d)])return;const _0x3a7ed1=_0x41d628,_0x193099=this['_compressMutationService']['interceptor'][_0x19d27b(0x192)](this['_compressMutationService'][_0x19d27b(0x4be)][_0x19d27b(0x3bb)]()[_0x19d27b(0x301)])([_0x3a7ed1],this[_0x19d27b(0x4dd)])||[_0x3a7ed1];this['_onLocalMutation'](_0x193099[0x0]);})),_0x553c22;}},exports[_0x4abd4f(0x2dd)]=Be([$(0x3,o['Inject'](o['Injector'])),$(0x4,o['Inject'](E['CompressMutationService'])),$(0x5,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x4ce)])),$(0x6,o[_0x4abd4f(0x3eb)](E[_0x4abd4f(0x327)])),$(0x7,o[_0x4abd4f(0x3eb)](exports['SheetTransformSelectionsService'])),$(0x8,o['Inject'](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o['ILogService']),$(0xb,o['ICommandService']),$(0xc,o[_0x4abd4f(0x29e)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports['SheetCollaborationEntity']);const Et=o[_0x4abd4f(0x1bc)](_0x4abd4f(0x3d3));function pt(_0x53a007){var _0x188e0f=_0x4abd4f,_0x5796f1,_0x570f0b,_0x3cdb6a,_0x399243,_0x4d9bf0;const _0x41fb3e=_0x53a007[_0x188e0f(0x456)],_0x4c821d=JSON[_0x188e0f(0x4d8)](_0x41fb3e);switch(_0x4c821d[_0x188e0f(0x1ec)]){case W[_0x188e0f(0x1ee)]:case W[_0x188e0f(0x1b4)]:{const _0x207d4a=_0x4c821d[_0x188e0f(0x1db)];return{..._0x4c821d,'data':_0x207d4a,'cmd':_0x4c821d[_0x188e0f(0x1ec)]};}case W[_0x188e0f(0x501)]:{const _0x2cb813=_0x4c821d[_0x188e0f(0x2c1)];return{..._0x4c821d,'data':_0x2cb813,'cmd':_0x4c821d[_0x188e0f(0x1ec)]};}case W[_0x188e0f(0x1e6)]:{const _0x19d560=_0x4c821d['collaMsg'];switch(_0x19d560[_0x188e0f(0x323)]){case E[_0x188e0f(0x4b6)]['PERMISSION_REJ']:return{..._0x4c821d,'data':{..._0x19d560,'data':(_0x5796f1=_0x19d560[_0x188e0f(0x375)])==null?void 0x0:_0x5796f1['cs']},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E['CollaborationEvent'][_0x188e0f(0x274)]:return{..._0x4c821d,'data':{..._0x19d560,'data':(_0x570f0b=_0x19d560[_0x188e0f(0x4ff)])==null?void 0x0:_0x570f0b['cs']},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)][_0x188e0f(0x386)]:return{..._0x4c821d,'data':{..._0x19d560,'data':(_0x3cdb6a=_0x19d560['newCsEvent'])==null?void 0x0:_0x3cdb6a['cs']},'cmd':_0x4c821d['cmd']};case E[_0x188e0f(0x4b6)][_0x188e0f(0x4c6)]:return{..._0x4c821d,'data':{..._0x19d560,'data':(_0x399243=_0x19d560[_0x188e0f(0x235)])==null?void 0x0:_0x399243['cs']},'cmd':_0x4c821d['cmd']};case E[_0x188e0f(0x4b6)][_0x188e0f(0x488)]:return{..._0x4c821d,'data':{..._0x19d560,'data':(_0x4d9bf0=_0x19d560['csShouldRetryEvent'])==null?void 0x0:_0x4d9bf0['cs']},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)][_0x188e0f(0x3e4)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x3e9)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)][_0x188e0f(0x411)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x363)]},'cmd':_0x4c821d['cmd']};case E['CollaborationEvent']['USERS_LEAVE']:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560['leaveEvent']},'cmd':_0x4c821d['cmd']};case E[_0x188e0f(0x4b6)][_0x188e0f(0x4c5)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x4c7)]},'cmd':_0x4c821d['cmd']};case E[_0x188e0f(0x4b6)][_0x188e0f(0x498)]:case E[_0x188e0f(0x4b6)][_0x188e0f(0x45d)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x4cf)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E['CollaborationEvent'][_0x188e0f(0x37c)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x4c7)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E['CollaborationEvent'][_0x188e0f(0x3c0)]:return{..._0x4c821d,'data':_0x19d560,'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)][_0x188e0f(0x24a)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x40f)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)]['UPDATE_PERMISSION_OBJ']:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x253)]},'cmd':_0x4c821d['cmd']};case E[_0x188e0f(0x4b6)][_0x188e0f(0x21b)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x4db)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};case E[_0x188e0f(0x4b6)][_0x188e0f(0x450)]:return{..._0x4c821d,'data':{..._0x19d560,'data':_0x19d560[_0x188e0f(0x2c4)]},'cmd':_0x4c821d[_0x188e0f(0x1ec)]};default:return _0x4c821d;}}default:return _0x4c821d;}}function mt(_0x2994ff){var _0xbcf46c=_0x4abd4f;switch(_0x2994ff['cmd']){case W['HEARTBEAT']:case W['HELLO']:return JSON['stringify']({'cmd':_0x2994ff[_0xbcf46c(0x1ec)],'routeKey':_0x2994ff[_0xbcf46c(0x353)]});case W[_0xbcf46c(0x338)]:{let _0xf88a7a;switch(_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x323)]){case E['CollaborationEvent']['UPDATE_CURSOR']:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)][_0xbcf46c(0x3e4)],'updateCursorEvent':_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x456)]};break;}case E['CollaborationEvent'][_0xbcf46c(0x28e)]:{_0xf88a7a={'eventID':E['CollaborationEvent'][_0xbcf46c(0x28e)],'leaveEvent':_0x2994ff[_0xbcf46c(0x456)]['data']};break;}case E['CollaborationEvent'][_0xbcf46c(0x411)]:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)]['USERS_ENTER'],'joinEvent':_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x456)]};break;}case E['CollaborationEvent'][_0xbcf46c(0x4c5)]:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)][_0xbcf46c(0x4c5)],'liveShareNewHost':_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x456)]};break;}case E[_0xbcf46c(0x4b6)][_0xbcf46c(0x45d)]:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)][_0xbcf46c(0x45d)],'liveShareOperation':_0x2994ff['data']['data']};break;}case E['CollaborationEvent'][_0xbcf46c(0x37c)]:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)][_0xbcf46c(0x37c)],'liveShareTerminate':_0x2994ff['data'][_0xbcf46c(0x456)]};break;}case E[_0xbcf46c(0x4b6)][_0xbcf46c(0x361)]:{_0xf88a7a={'eventID':E['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x456)]};break;}case E[_0xbcf46c(0x4b6)][_0xbcf46c(0x498)]:{_0xf88a7a={'eventID':E[_0xbcf46c(0x4b6)][_0xbcf46c(0x498)]};break;}default:_0xf88a7a={'eventID':_0x2994ff[_0xbcf46c(0x456)][_0xbcf46c(0x323)]};}return JSON[_0xbcf46c(0x251)]({'cmd':_0x2994ff[_0xbcf46c(0x1ec)],'routeKey':_0x2994ff['routeKey'],'collaMsg':_0xf88a7a});}case W[_0xbcf46c(0x501)]:return JSON[_0xbcf46c(0x251)]({'cmd':_0x2994ff['cmd'],'routeKey':_0x2994ff[_0xbcf46c(0x353)],'joinReq':_0x2994ff['data']});case W[_0xbcf46c(0x393)]:return JSON[_0xbcf46c(0x251)]({'cmd':_0x2994ff[_0xbcf46c(0x1ec)],'routeKey':_0x2994ff['routeKey'],'leaveReq':_0x2994ff[_0xbcf46c(0x456)]});default:throw new Error(_0xbcf46c(0x36d));}}var si=Object['getOwnPropertyDescriptor'],ri=(_0x190f40,_0x1a6a6e,_0x5ee485,_0x54dce5)=>{var _0x22b72d=_0x4abd4f;for(var _0x77fc45=_0x54dce5>0x1?void 0x0:_0x54dce5?si(_0x1a6a6e,_0x5ee485):_0x1a6a6e,_0x20dac9=_0x190f40[_0x22b72d(0x354)]-0x1,_0x40edd3;_0x20dac9>=0x0;_0x20dac9--)(_0x40edd3=_0x190f40[_0x20dac9])&&(_0x77fc45=_0x40edd3(_0x77fc45)||_0x77fc45);return _0x77fc45;},he=(_0x387cf7,_0x417286)=>(_0x2a9204,_0x563a50)=>_0x417286(_0x2a9204,_0x563a50,_0x387cf7);const Fe=o[_0x4abd4f(0x1bc)](_0x4abd4f(0x381));function ai(_0x4b8127,_0xbcb764,_0x416619){var _0x154de6=_0x4abd4f;return _0x4b8127+'/'+_0xbcb764+_0x154de6(0x398)+_0x416619+_0x154de6(0x418);}function _0x39f3(){var _0xb1307a=['Failed\x20to\x20update\x20permission\x20point','localeService','4443465DSSUzl','CollaborativeUndoRedoService','_undoRedoService','commentUpdateEvent','PERSON','USERS_ENTER','FETCH_MISSING','put','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/block/','SYNCED','action','/new_changes','symbol','includes','DATA_SOURCE_TOO_LARGE','INetworkConditionService','SUBMIT_CHANGESET_TIMEOUT','executeCommand','SetSelectionsOperation','YUUMI_URL_COL_OUT_OF_RANGE','_createHandler','_transformService','&assign=','JOIN_ROOM_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','YUUMI_NO_CUBOID_FOR_QUESTION','CHANGESET_REVISION_CONFILICT','resolve','\x0aCurrent:\x20','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','FetchingMissState','_onConnectionFailed','downloadEndpointUrl','memberID','COMPRESS_MUTATION_APPLY','EmptyMutationInfo','objectActions','conflict','readInt32LE','CollaborationSocketService','MemberService','setWaitCount','awaitingChangeset','session','slice','POST','saveSnapshot','random','unitID','_initDependencies','UniverNetworkPlugin','defineProperty','_listenToNetworkCondition','get','CONNECTOR_DATA_TOO_LARGE','_nRounds','FileId','objectID','SUBMIT_CHANGESET','fetching\x20missing\x20changesets\x20from\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_DISTRO_REJECTED','listCollaborators','socket$','originalMeta','every','UNISCRIPT_RUN','_configService','add','onlyLocal','_transformUndoredo','_substituteUndoStack','data','connection\x20error','_onLocalMutation','_iv','collaboration-client.config','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_commandService','LIVESHARE_OPERATION','status$','Cipher','sid','_updateState','getCollabEntity$','1299856pnTMRe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','saveImage','iterations','setShowComponents','hasher','OpenSSL','UniverCollaborationClientPlugin','_socketReady','msCrypto','withCredentials','_getCtorByUniverType','YUUMI_RATE_OVER_LIMIT','IUndoRedoService','_waitForHeartbeatResponse','_commentService','getSheetId','INVALID_INVITE_CODE','then','/object','event$','members','_clearUndo','key','updateOfflineData','_handler','_joinRoom','Decryptor','RETRY_CONNECTING_MAX_COUNT','isPermissionRej','Disposable','mutations','now','HEARTBEAT_INTERVAL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','ICollaborationSocketService','_initRequestHeader','CHANGESET_SHOULD_RETRY','ERROR_AGAIN','UNIVER_SLIDE','/-/object/list','hasOwnProperty','transformStack\x20failed!','touchDependencies','onTransformIME','name','AUTHORIZE_CODE_ILLEGAL','generateRandomId','Encryptor','onTransformRemoteChangesetByStateCache','delete','_doReset','_clearLocalCache','LIVESHARE_FETCH_OPERATIONS','transformMutationsWithChangeset','_ENC_XFORM_MODE','/role','allowed','encode','_onUserLeave','NOT_COLLAB','_resendTimeout','APPLY_REVISION_CONFILICT','_onRemoteACK','[DataLoaderService]','_getCurrentRevision','ILogService','APPLY_DUPLICATED','_compressMutationService','UNDEFINED','isInternalEditorID','stopTime','getCollabEntity','_commentUpdate$','SheetsSelectionsService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','MentionIoHttpService','USER_NOT_FOUND','_memberService','state$','REDEMPTION_CODE_NOT_STARTED','words','save\x20fail\x20reason\x20is\x20','CollaborationEvent','compute','refreshPermission','_scheduleCompleteTimestamp','INTERNAL_ERROR','session.room-permission-denied','OfflineState','_onConflict','interceptor','entityInit$','JOINING','unitId\x20is\x20not\x20found','getTypeOfUnitAdded$','dispose','_rescheduleHeartbeat','LIVESHARE_NEW_HOST','CHANGESET_REJ','liveShareNewHost','_xformMode','shareReplay','PENDING','_socket','sendChangesetTimeout','_toggleOnline','LocaleService','liveShareOperation','UnitEmbedded','AWAITING','compose','url','snapshot','\x20in\x20_schedule.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','parse','_onConnectionOpen','_onUserJoin','shouldCloseConn','_oKey','_univerInstanceService','byteLength','src','setConfig','signUrlServerUrl','_entities','onRemoteRetry','updateMember','ITelemetryService','push','updatePermissionPoint','UserProfileImg','userID','emitEvent','UserManagerService','_timeoutTimer','_unitInfo$','params','_queuedRemoteChangesets','UUID','REDEMPTION_USER_NOT_ELIGIBLE','_createHmacHelper','deleteCollaborator','_throwTelemetryCollaborationNewChangeset','transformSelections','_clearRetryConnectingTimer','_updateLocalCache','_logService','_unitID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getLoginPath','_hasher','AwaitingWithPendingState','/-/object/-/batch_allowed','csAckEvent','_acknowledgedAwaitingChangeset','JOIN','DataLoaderService','_changesetReqId','rev','findIndex','prototype','CONFLICT','toggleOffline','getConfig','CollaborationSessionService','OTHER_CLIENTS_EDITING','_getSignURL','SerializableCipher','HEARTBEAT_TIMEOUT','parseChangesetToProtocol','charAt','ENTITLE_COUPON_EXPIRED','loadDoc','_createHelper','Hex','init','from','createCollaborator','_roomMembers','getWorkbookSelections','getRoom','YUUMI_AI_RUN_FAILED','setCurrentUser','CLOSE_ROOM','[CollaborationState]:\x20apply\x20error!','_sessions','fetchThroughInterceptors','HttpExport','loadUnitOfRevision','[FetchMissState]','_key','c2Prime','getUnitType','__Key__','change$','_invKeySchedule','clear','processBlock','LOCAL_CACHE_INTERVAL','fetchMiss','_getRedoStack','unsubscribe','_collaborationTimeoutTimer','getMemberID','INVITE_CODE_REQUIRED','_onJoinRoomEvent','snapshotServerUrl','uuidv4','sigBytes','560445Flphoo','CommentService','session.room-full','[SyncedState]:\x20received\x20rejection.','_collabSessionService','_init','_localCacheService','find','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_nDataBytes','revision','HELLO','onCommentUpdate','/universer-api/user/session-ticket','image/bmp','loginUrlKey','awaiting_with_pending','onload','closeSession','createIdentifier','onLocalMutation','/universer-api/snapshot','HTTPRequest','onMutationExecutedForCollab','indexOf','getMember','_getUndoStack','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SnapshotService','ONLINE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','Malformed\x20UTF-8\x20data','_checkMissing','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','retryConnectingInterval','SNAPSHOT_INVALID_SNAPSHOT','addImageSourceCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','REDEMPTION_CODE_FULLY_REDEEMED','byteOffset','getCurrentRevOfUnit','NoPadding','_getDownloadEndpointURL','_revisionService','getLocalCacheKey','x-univer-host','isTransformMutationsWithChangesetSuccess','abs','sheets','infoRsp','TOO_MANY_REQUESTS','image/png','/collaborator','_onCombEvent','range','_transformStack','session.room-cnt-exceeds','getCurrentUser','resend','[CollaborationUndoRedoService]','RECV','\x0aAfter:\x20','send','/universer-api/file/{fileID}/sign-url','ENTITLE_REPORT_LIMIT_EXCEED','error$','cmd','call','HEARTBEAT','putCollaborators','_entityInit$','_createInitialState','href','_onRecvEvent','getFocusedUnit','take','_replayCachedMutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HMAC','_imageSourceCache','sequenceExecute','result','_undoStacks','getActiveSheet','mapDocumentTypeToUniverType','method','_remoteChangesetQueue','WECHAT_HAS_BEEN_BOUND','transformChangesets','editing\x20status\x20changed\x20to','enableCollaboration','DisposableCollection','clone','next','_startTelemetryCollaborationNewChangeset','_candidateSocket','JOIN_ROOM_FULL','collaboration-client.local-cache-service','__splitChunk__','decrypt','delay','Tools','SnapshotServerOverHTTPService','clamp','subject','ILocalCacheService','_onRemoteRejected','list','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNKNOWN_CODE','waitForRoom$','BlockCipher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','/universer-api/stream/file/upload','state','catch','session.join-failed','values','submit\x20changeset\x20error!','HmacSHA1','_socketMessageSubscription','[OfflineState]:\x20received\x20acknowledgement.','close$','_tryEnsureSocket','lib','localCacheService','error','[OfflineState]:\x20received\x20rejection.','_keySchedule','origin','YUUMI_ASYNCIO_CANCELLED','_data','_clearRedo','collaborators','buffer','mixIn','RxDisposable','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','csRejEvent','_substituteRedoStack','_config','onRemoteRej','requireSession','copyFileMeta','ISocketService','updateSnapshot','_append','YUUMI_UNABLE_LOAD_URL','padding','workbook','IAuthzIoService','_permissionService','BufferedBlockAlgorithm','onStarting','_pendingMutations','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverInstanceType','JOIN_ROOM_NOT_EXISTS','_sheetTransformSelectionsService','COMMENT_UPDATE','_scheduleCollaborationTimeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','UPDATE_PERMISSION_OBJ','loadSheet','[OfflineState]:\x20received\x20changeset.','_sendHeartbeat','stringify','CommandType','updatePermissionObjEvent','randomBytes','CollaborationEntity','charCodeAt','has','m2Prime','_decreaseWaiting','unpad','_exhaustRemoteChangesetQueue','_syncEditingCollabCursor','&source=','apply','EMAIL_VERIFY_CODE_MISMATCH','salt','ERROR_IMAGE','reject','updateCollaborator','_clearTimeoutTimer','isArray','ImageUploadStatusType','commentUpdate$','_clearScheduledTask','encryptBlock','keySize','createInstance','Pkcs7','UNRECOGNIZED','deepClone','_executeRemoteChangeset','IUniverInstanceService','[CollaborationSession]','getGlobalObject','JOIN_ROOM_PERMISSION_DENIED','CHANGESET_ACK','_localeService','finalize','_submitChangeset','MergeInterceptorFactory','1426038BJuVth','status','getCurrentSelections','HttpImport','addHandlerCallback','requestParams','execute','UNAUTHENTICATED','MentionType','disableLocalCache','pipe','roomInfos','UniverCollaborationPlugin','UNIVER_UNKNOWN','_lockTransition','deserializeToCombResponse','INVITE_CODE_ALREADY_BOUND','image/jpg','ERROR_EXCEED_SIZE','_minBufferSize','join','USERS_LEAVE','set','SOCKET_FAILED_RETRY','_members','LocalUndoRedoService','MD5','forEach','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MOBILE_VERIFY_CODE_MISMATCH','UNIVER_SHEET','InsertSheetMutation','_initMergeInterceptor','/rev/','MOBILE_HAS_BEEN_BOUND','EMAIL_HAS_BEEN_BOUND','getUnitId','IPermissionService','kdf','ceil','22016736qCWByL','_collaborationPaused','People','_getSendChangesetTimeout','code','open$','_sessionStatus$','_networkConditionService','serializeCombRequest','_handlerCallback','Undefined','{fileID}','_DEC_XFORM_MODE','function','CollaborationImageIoService','mode','USER_IS_ANONYMOUS','getAllMembers','asObservable','_createSocket','getUnitStatus$','_getUploadFileURL','__creator','IDLE','CollaborationStatus','socketService','replace','EvpKDF','format','INVALID_ARGUMENT','4849aGvzVm','_singleActiveUnitService','joinRsp','collaboration_new_changeset','/universer-api/snapshot/','uniscriptRunEvent','toStringTag','onTransformState','Module','parseProtocolChangeset','removeMember','_httpService','_isPermissionRej','ConflictState','reverse','pauseCollaboration','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_INVALID_CODE','unitId','ENTITLE_INSUFFICIENT_QUOTA','Injector','string','SheetPermissionInitController','_state$','ws://127.0.0.1:8000/universer-api/comb/connect','onStateChange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onRemoteRetry','location','ENSURE_SNAPSHOT_EXECUTION','SheetCollaborationEntity','startTime','sessionStatus','concat','CBC','fromCollab','createDecryptor','initWorkbookPermissionChange','_transformIMECache','create','merge','pending','UNKNOWN_CMD','_changesetSessionId','getResourcesRequest','_cipher','_reverseMap','_telemetryInfo','file','_snapshotService','SHA1','takeUntil','algo','transformUndoRedo','WordArray','resourceIDs','_hash','_getAPIPrefixPath','min','Hasher','changesets','PERMISSION_DENIED','listRoles','_telemetryService','CollaborationUIEventId','capture','COMPRESS_MUTATION_SEND','_type','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','AwaitingState','actions','_parse','_instanceService','_clearHeartbeatTimer','554aQFwbX','fetchMissingChangesets','toString','LICENSE_EXPORT_SIZE_EXCEEDED','collabWebSocketUrl','_prevBlock','DEFAULT_WS_SESSION_TICKET_URL','7AbsSdF','/universer-api/oidc/authpage','_injector','getDeserializedSheetBlock','CURRENT_STATUS_CANNOT_OPERATE','/universer-api/comb','update','_members$','_removeRoom','_collaborationSessionService','_stopTelemetryCollaborationNewChangeset','filter','ENTITLE_CHAT_LIMIT_EXCEED','_doCreateSocket','saveChangeset','_collaborationUIEventService','UnitSnapshot','textEncoder','PendingState','eventID','_applyRemoteChangeset','substr','OTHER_CLIENT_EDITING','RevisionService','textRanges','roles','_disableEditing','unit-cache-','baseRev','dispose$','type','enableAuthServer','_event$','body','sessionStatus$','unknown','crypto','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SOCKET_FAILED','_socketService','INGEST','readAsDataURL','_transformRemoteChangesetByStateCache','[CollaborationEntity]','uploadFileServerUrl','CollaborationController','[SyncedState]:\x20received\x20acknowledgement.','extend','[PendingState]:\x20received\x20acknowledgement.','telemetry\x20info\x20is\x20not\x20initialized','_toggleOffline','map','toggleOnline','ICommandService','NO_OTHER_CLIENTS_EDITING','reduce','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','exports','USER_NOT_INVITED_CODE','_HTTPService','headers','HEARTBEAT_TIMEOUT_KEY','confirm','YUUMI_ALL_TABLES_IS_INVALID','DocCollaborationEntity','debug','_transformStateCache','routeKey','length','_resendWithTimeout','SyncedState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','encrypt','toDisposable','ERROR_IMAGE_TYPE','/object/','APPLY_NON_SEQUENTIAL_REVISION','_sendHeartbeatTimer','_clearCollaborationTimeoutTimer','reset','ImageSourceType','LIVESHARE_REQUEST_HOST','8532040haFDeP','joinEvent','_updateStatus','_sender','_getAPIPrefix','_doFinalize','/universer-api/authz','Error\x20on\x20receiving\x20event','WorkbookEditablePermission','splice','ENTITLE_DUP_SUBSCRIPTION','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','APPLY_REJECT','OFFLINE','_incrementRevisionNumber','univer-pro.collaboration-client.single-active-unit-service','appendMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','size','permissionRejEvent','_sendingTimer','avatar','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','_state','_eventService','LIVESHARE_TERMINATE','_waitCount','synced','_onMessage','INVITE_CODE_HAS_BEEN_UES','univer-pro.collaboration-client-socket-service','message$','close','_initUnitPermissionChange','_schedule','NEW_CHANGESETS','&to=','_socket$','_resendTimer','startsWith','onSyncEditingCollabCursor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','PSEUDO_FETCH_MISSING_RESULT','pluginName','Optional','_awaitingChangeset','objectType','AES','LEAVE','getLatestCsReqIdBySid','FETCH_MISS','_unlockTransition','getRandomValues','/unit/','floor','_createInitialStateImpl','enc','_transformSelections','ENTITLE_NEED_BILLING_ADDRESS','LICENSE_IMPORT_SIZE_EXCEEDED','CollaborationSession','onRemoteChangeset','_retryConnectingTimer','fromCharCode','complete','_transitionLocked','BehaviorSubject','_doCryptBlock','createSocket','UNIVER_PROJECT','_process','ITransformService','_roomCreated$','_transformRemoteChangesetByIMECache','APPLY_PERMISSION_DENIED','DependentOn','fetch_missing','blockSize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','readyForCollab','_userManagerService','cfg','Base','_startCollaboration','_mode','_tryReconnect','onMissedChangesetFetched','c1Prime','getInterceptPoints','editingUnit','_registerDependencies','getTypeOfUnitDisposed$','registerHTTPInterceptor','MSG_FOR_ERROR','getTime','offline','auth.needGotoLoginAlert','/fetchmissing?from=','not_collab','COMPLETION_FINISHED','disposeWithMe','[PendingState]:\x20received\x20rejection.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onSendChangeset','pad','selections','ALREADY_EXISTS','_map','SessionStatus','_shouldReportTelemetry','reconnect','onTransformSelections','univer-pro.collaboration-client.network-condition.service','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sin','CompressMutationService','ISnapshotServerService','LICENSE_MAX_UNITS_EXCEEDED','IConfigService','default','AuthzIoHttpService','getSheetBlock','ClipsheetFragments','_onRemoteChangeset','Utf8','_retryCount','BlockCipherMode','_snapshotServerService','_iKey','UPDATE_CURSOR','_initCloseConn','append','$super','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','updateCursorEvent','isTransformChangesetsSuccess','Inject','onRemoteAck','getOwnPropertyDescriptor','Could\x20not\x20dynamically\x20require\x20\x22','SheetTransformSelectionsService','\x20-\x20','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','subscribe','FAIL','_change$','loadOfflineData','__esModule','collaboratorID','b64DecodeUnicode','AWAITING_WITH_PENDING','reqId','_showConflictNotification','_emitMembers','onTransformRemoteChangesetByIMECache','Base64','isTransformMutationsWithChangesetFailure','/allowed','Subject','JSONX','RETRY_CONNECTING_MAX_COUNT_KEY','HTTPService','MUTATION','ivSize','_status$','_onOffline','post'];_0x39f3=function(){return _0xb1307a;};return _0x39f3();}exports['CollaborationSocketService']=class extends o[_0x4abd4f(0x481)]{constructor(_0x51e093,_0x3020d9,_0x216899,_0x12417e,_0x5f271d){var _0x1e5fe5=_0x4abd4f;super(),this[_0x1e5fe5(0x312)]=_0x51e093,this[_0x1e5fe5(0x2ca)]=_0x3020d9,this[_0x1e5fe5(0x451)]=_0x216899,this['_logService']=_0x12417e,this[_0x1e5fe5(0x3e2)]=_0x5f271d;}[_0x4abd4f(0x31d)](_0x4c56de){var _0x4fb12d=_0x4abd4f;const _0xcda6ad=this[_0x4fb12d(0x312)][_0x4fb12d(0x442)](K[_0x4fb12d(0x23b)]);if(!_0xcda6ad)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x42553a=_0xcda6ad[_0x4fb12d(0x3a7)](_0x4c56de);if(!_0x42553a)throw new Error(_0x4fb12d(0x485));const _0x123071=new o[(_0x4fb12d(0x205))](),_0x2f47fa=new j['Subject']();_0x123071['add'](_0x42553a[_0x4fb12d(0x225)][_0x4fb12d(0x3f2)](_0x29b404=>_0x2f47fa['next'](_0x29b404))),_0x123071['add'](o['toDisposable'](()=>_0x2f47fa['complete']()));const _0x9e3168=new j[(_0x4fb12d(0x401))]();_0x123071[_0x4fb12d(0x452)](_0x42553a[_0x4fb12d(0x1eb)]['subscribe'](_0x3c6b06=>_0x9e3168[_0x4fb12d(0x207)](_0x3c6b06))),_0x123071[_0x4fb12d(0x452)](o[_0x4fb12d(0x359)](()=>_0x9e3168[_0x4fb12d(0x3a3)]()));const _0x39540c=new j['Subject']();_0x123071[_0x4fb12d(0x452)](_0x42553a[_0x4fb12d(0x382)][_0x4fb12d(0x3f2)](_0x5a2f69=>{var _0x70dfe1=_0x4fb12d;const _0x536d02=pt(_0x5a2f69);_0x39540c[_0x70dfe1(0x207)](_0x536d02);})),_0x123071[_0x4fb12d(0x452)](o[_0x4fb12d(0x359)](()=>_0x39540c[_0x4fb12d(0x3a3)]()));let _0x10b55a;const _0x313354=()=>{var _0x279e6b=_0x4fb12d;_0x9e3168['next'](new Event('connection\x20error')),_0x2f47fa[_0x279e6b(0x207)](new Event(_0x279e6b(0x457))),_0x10b55a[_0x279e6b(0x383)]();};return _0x10b55a={'memberID':'','close$':_0x2f47fa[_0x4fb12d(0x2b3)](),'error$':_0x9e3168['asObservable'](),'open$':_0x42553a['open$'],'message$':_0x39540c[_0x4fb12d(0x2b3)](),'send':_0xa9f6d=>{var _0x38ed98=_0x4fb12d;if(_0xa9f6d[_0x38ed98(0x1ec)]===W[_0x38ed98(0x338)]){if(_0xa9f6d[_0x38ed98(0x456)]['eventID']===E[_0x38ed98(0x4b6)][_0x38ed98(0x447)]){this[_0x38ed98(0x277)](_0x10b55a,_0xa9f6d['data'])[_0x38ed98(0x21e)](_0xbe3c16=>{this['_logService']['error'](_0xbe3c16),_0x313354();});return;}if(_0xa9f6d[_0x38ed98(0x456)][_0x38ed98(0x323)]===E['CollaborationEvent']['FETCH_MISSING']){const _0x477de0=_0xa9f6d[_0x38ed98(0x456)];this['_fetchMissChangesets'](_0x477de0)[_0x38ed98(0x475)](_0x59f262=>{var _0x35cea3=_0x38ed98;_0x39540c[_0x35cea3(0x207)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x477de0[_0x35cea3(0x456)][_0x35cea3(0x43d)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x35cea3(0x38d)],'data':{'changesets':_0x59f262}}});})[_0x38ed98(0x21e)](_0x26542c=>{var _0x27d02b=_0x38ed98;this[_0x27d02b(0x4f8)][_0x27d02b(0x229)](_0x26542c),_0x313354();});return;}}_0x42553a['send'](mt(_0xa9f6d));},'close':()=>{var _0x23228d=_0x4fb12d;_0x42553a[_0x23228d(0x383)](),_0x123071['dispose']();}},_0x10b55a;}async[_0x4abd4f(0x277)](_0x23f485,_0x246b9a){var _0x436d6c=_0x4abd4f,_0x345399;const {unitType:_0x5948b4,unitID:_0x4580a2,changeset:_0x3e678a}=_0x246b9a[_0x436d6c(0x456)],_0x22aa93={'unitID':_0x4580a2,'memberID':_0x23f485[_0x436d6c(0x42e)],'type':_0x5948b4,'changeset':E[_0x436d6c(0x181)](_0x3e678a)},_0x28de4b=this[_0x436d6c(0x451)]['getConfig'](Y),_0x1e5e4c=ai((_0x345399=_0x28de4b==null?void 0x0:_0x28de4b['collabSubmitChangesetUrl'])!=null?_0x345399:kt,_0x5948b4,_0x4580a2);try{await this['_httpService']['post'](_0x1e5e4c,{'body':_0x22aa93});}catch(_0x2b3417){throw this[_0x436d6c(0x4f8)][_0x436d6c(0x229)](_0x436d6c(0x271),_0x436d6c(0x221)),_0x2b3417;}}async['_fetchMissChangesets'](_0xb6fbdf){var _0x128bad=_0x4abd4f;const {unitID:_0x27c125,from:_0x158f16,to:_0x47accd,unitType:_0x5d12aa}=_0xb6fbdf[_0x128bad(0x456)];return(await this['_snapshotServerService'][_0x128bad(0x30a)]({'metadata':void 0x0},{'unitID':_0x27c125,'type':_0x5d12aa,'from':_0x158f16,'to':_0x47accd}))[_0x128bad(0x2fb)][_0x128bad(0x343)](_0x20dc27=>((_0x20dc27[_0x128bad(0x482)]===null||_0x20dc27[_0x128bad(0x482)]===void 0x0)&&(_0x20dc27['mutations']=[]),_0x20dc27));}},exports[_0x4abd4f(0x434)]=ri([he(0x0,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x2d3)])),he(0x1,o[_0x4abd4f(0x3eb)](K[_0x4abd4f(0x404)])),he(0x2,o['IConfigService']),he(0x3,o[_0x4abd4f(0x4a5)]),he(0x4,E[_0x4abd4f(0x3d7)])],exports['CollaborationSocketService']);var oi=Object[_0x4abd4f(0x3ed)],ci=(_0x3d33a2,_0x351085,_0x37bebb,_0x2eff77)=>{var _0x176b7f=_0x4abd4f;for(var _0x5201f2=_0x2eff77>0x1?void 0x0:_0x2eff77?oi(_0x351085,_0x37bebb):_0x351085,_0x423ee3=_0x3d33a2[_0x176b7f(0x354)]-0x1,_0x26263a;_0x423ee3>=0x0;_0x423ee3--)(_0x26263a=_0x3d33a2[_0x423ee3])&&(_0x5201f2=_0x26263a(_0x5201f2)||_0x5201f2);return _0x5201f2;},_e=(_0xfe090f,_0x1570b4)=>(_0x456534,_0x4f9e0b)=>_0x1570b4(_0x456534,_0x4f9e0b,_0xfe090f);exports[_0x4abd4f(0x50a)]=class extends o[_0x4abd4f(0x481)]{constructor(_0x16c952,_0x160c66,_0x16e092,_0x1c157e,_0x41ee91,_0x22d21f){var _0x5524bc=_0x4abd4f;super(),A(this,_0x5524bc(0x388),new j[(_0x5524bc(0x3a5))](void 0x0)),A(this,_0x5524bc(0x44d),this['_socket$'][_0x5524bc(0x2b3)]()),A(this,_0x5524bc(0x209),null),A(this,'_sessions',new Map()),A(this,_0x5524bc(0x407),new j[(_0x5524bc(0x3a5))](se[_0x5524bc(0x2b8)])),A(this,_0x5524bc(0x45e),this[_0x5524bc(0x407)][_0x5524bc(0x2b3)]()),A(this,_0x5524bc(0x46b),!0x1),A(this,_0x5524bc(0x3a1)),A(this,_0x5524bc(0x3e0),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x5524bc(0x4ec)),(this['_injector']=_0x16c952,this[_0x5524bc(0x4f8)]=_0x160c66,this['_configService']=_0x16e092,this[_0x5524bc(0x337)]=_0x1c157e,this['_collaborationUIEventService']=_0x41ee91,this[_0x5524bc(0x2a8)]=_0x22d21f,this[_0x5524bc(0x441)]());}get[_0x4abd4f(0x4cb)](){var _0x581ff1=_0x4abd4f;return this[_0x581ff1(0x388)]['getValue']();}[_0x4abd4f(0x441)](){var _0x3e395f=_0x4abd4f;this[_0x3e395f(0x2a8)]&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x3e55fd=>{var _0x3495e2=_0x3e395f;_0x3e55fd&&!this[_0x3495e2(0x4cb)]&&this[_0x3495e2(0x3d1)](),_0x3e55fd||this[_0x3495e2(0x408)]();}));}[_0x4abd4f(0x4c3)](){var _0x2e2eda=_0x4abd4f;super['dispose'](),this[_0x2e2eda(0x4f6)](),this[_0x2e2eda(0x264)](),this[_0x2e2eda(0x308)](),this[_0x2e2eda(0x191)][_0x2e2eda(0x294)](_0x5fc3d6=>_0x5fc3d6['dispose']()),this['_sessions'][_0x2e2eda(0x19c)](),this[_0x2e2eda(0x407)][_0x2e2eda(0x3a3)]();}async[_0x4abd4f(0x239)](_0x505772){var _0x19d1f0=_0x4abd4f;if(this[_0x19d1f0(0x191)][_0x19d1f0(0x257)](_0x505772))return this[_0x19d1f0(0x191)][_0x19d1f0(0x442)](_0x505772);this[_0x19d1f0(0x226)]();const _0x5c01ba=this[_0x19d1f0(0x312)][_0x19d1f0(0x26b)](exports[_0x19d1f0(0x39f)],_0x505772,this['_socket$']['asObservable']());return this[_0x19d1f0(0x191)][_0x19d1f0(0x28f)](_0x505772,_0x5c01ba),_0x5c01ba;}[_0x4abd4f(0x1bb)](_0x5a0f8c){var _0x3dfe2b=_0x4abd4f,_0x2c83a0;const _0x443a02=this['_sessions'][_0x3dfe2b(0x442)](_0x5a0f8c);_0x443a02&&(this[_0x3dfe2b(0x191)][_0x3dfe2b(0x495)](_0x5a0f8c),_0x443a02[_0x3dfe2b(0x383)]()),this[_0x3dfe2b(0x191)][_0x3dfe2b(0x374)]||(_0x2c83a0=this[_0x3dfe2b(0x4cb)])==null||_0x2c83a0[_0x3dfe2b(0x383)]();}[_0x4abd4f(0x3d1)](){var _0x198358=_0x4abd4f;this[_0x198358(0x3e0)]=0x0,this[_0x198358(0x4f6)](),this['_tryReconnect']();}[_0x4abd4f(0x4f6)](){var _0xcf7659=_0x4abd4f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xcf7659(0x3a1)]),this[_0xcf7659(0x3a1)]=null);}async[_0x4abd4f(0x2b4)](){var _0x3f186a=_0x4abd4f,_0x2ca03f;const _0x2b9d1b=this[_0x3f186a(0x451)][_0x3f186a(0x509)](Y),_0x20b1be=(_0x2ca03f=_0x2b9d1b==null?void 0x0:_0x2b9d1b[_0x3f186a(0x30d)])!=null?_0x2ca03f:_t,_0x421284=await this[_0x3f186a(0x337)][_0x3f186a(0x3a7)](_0x20b1be);return this[_0x3f186a(0x209)]=_0x421284,_0x421284;}async[_0x4abd4f(0x226)](){var _0x357ffe=_0x4abd4f,_0x25b69e,_0x3f357f;try{const _0x1d7eeb=(_0x3f357f=(_0x25b69e=this[_0x357ffe(0x4cb)])!=null?_0x25b69e:this[_0x357ffe(0x209)])!=null?_0x3f357f:await this['_createSocket']();if(_0x1d7eeb){const _0x39de69=_0x1d7eeb[_0x357ffe(0x1e8)];_0x1d7eeb['send']=_0x5dc3c1=>(this[_0x357ffe(0x4c4)](),_0x39de69['apply'](_0x1d7eeb,[_0x5dc3c1])),_0x1d7eeb[_0x357ffe(0x382)][_0x357ffe(0x3f2)](_0x5ca530=>this[_0x357ffe(0x37f)](_0x1d7eeb,_0x5ca530)),_0x1d7eeb[_0x357ffe(0x1eb)][_0x357ffe(0x283)](V[_0x357ffe(0x1f5)](0x1))[_0x357ffe(0x3f2)](_0x3d235d=>this[_0x357ffe(0x4f8)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3d235d)),_0x1d7eeb[_0x357ffe(0x2a6)]['pipe'](V[_0x357ffe(0x1f5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x1d7eeb);}),_0x1d7eeb[_0x357ffe(0x225)][_0x357ffe(0x283)](V['take'](0x1))['subscribe'](_0x506e55=>{var _0x5a3b9d=_0x357ffe;this['_logService']['debug']('[CollaborationSessionService]','socket\x20close',_0x506e55),this[_0x5a3b9d(0x42c)]();});}}catch(_0x20224d){this[_0x357ffe(0x4f8)][_0x357ffe(0x229)](_0x20224d),this[_0x357ffe(0x42c)]();}}[_0x4abd4f(0x4d9)](_0x26558f){var _0x794426=_0x4abd4f;this[_0x794426(0x4f8)][_0x794426(0x351)]('[CollaborationSessionService]','socket\x20open.'),_0x26558f[_0x794426(0x1e8)]({'cmd':W[_0x794426(0x1b4)]}),this[_0x794426(0x4c4)]();}['_onOffline'](){var _0x5b9699=_0x4abd4f;this['_socketReady']=!0x1,this[_0x5b9699(0x209)]=null,this['_status$'][_0x5b9699(0x207)](se['OFFLINE']),this[_0x5b9699(0x388)][_0x5b9699(0x207)](null),this['_clearTimeoutTimer'](),this[_0x5b9699(0x308)]();}['_onConnectionFailed'](){var _0xc2d25=_0x4abd4f,_0x1cd7fe;this[_0xc2d25(0x408)](),this['_retryCount']<((_0x1cd7fe=this['_configService'][_0xc2d25(0x509)](ut))!=null?_0x1cd7fe:Mt)?(this[_0xc2d25(0x31f)]['emitEvent']({'id':J[_0xc2d25(0x290)]}),this[_0xc2d25(0x3b8)]()):this[_0xc2d25(0x31f)][_0xc2d25(0x4ea)]({'id':J['SOCKET_FAILED']});}[_0x4abd4f(0x3b8)](){var _0x1c7bfe=_0x4abd4f,_0x20586e;const _0x6e463b=this[_0x1c7bfe(0x3e0)],_0x232b3b=this[_0x1c7bfe(0x451)][_0x1c7bfe(0x509)](Y),_0x4a88fc=_0x6e463b===0x0?0x0:((_0x20586e=_0x232b3b==null?void 0x0:_0x232b3b[_0x1c7bfe(0x1cc)])!=null?_0x20586e:Lt)*0x2**_0x6e463b;this[_0x1c7bfe(0x3a1)]=setTimeout(()=>{var _0x2503c4=_0x1c7bfe;clearTimeout(this[_0x2503c4(0x3a1)]),this['_retryConnectingTimer']=null,this[_0x2503c4(0x226)]();},_0x4a88fc),this[_0x1c7bfe(0x3e0)]+=0x1;}['_onMessage'](_0x354427,_0x25496b){var _0x2fc2d5=_0x4abd4f;const {cmd:_0x290101}=_0x25496b;_0x290101===W[_0x2fc2d5(0x1b4)]&&!this['_socketReady']&&(_0x354427['memberID']=_0x25496b[_0x2fc2d5(0x456)][_0x2fc2d5(0x42e)],this[_0x2fc2d5(0x388)]['next'](_0x354427),this[_0x2fc2d5(0x407)][_0x2fc2d5(0x207)](se['ONLINE']),this[_0x2fc2d5(0x46b)]=!0x0,this[_0x2fc2d5(0x209)]=null),_0x290101===W[_0x2fc2d5(0x1ee)]&&this[_0x2fc2d5(0x264)](),this['_rescheduleHeartbeat']();}[_0x4abd4f(0x4c4)](){var _0x2d03a2=_0x4abd4f,_0x1f72e1;this[_0x2d03a2(0x308)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2d03a2(0x250)](),(_0x1f72e1=this['_configService'][_0x2d03a2(0x509)](ht))!=null?_0x1f72e1:Pt);}['_sendHeartbeat'](){var _0x94bb8=_0x4abd4f;this[_0x94bb8(0x4cb)][_0x94bb8(0x1e8)]({'cmd':W['HEARTBEAT']}),this[_0x94bb8(0x471)]();}[_0x4abd4f(0x471)](){var _0x17f75a=_0x4abd4f,_0x5e6b6c;this[_0x17f75a(0x4ec)]=setTimeout(()=>this[_0x17f75a(0x42c)](),(_0x5e6b6c=this[_0x17f75a(0x451)][_0x17f75a(0x509)](ke))!=null?_0x5e6b6c:lt);}[_0x4abd4f(0x308)](){var _0x5d7d76=_0x4abd4f;this[_0x5d7d76(0x35d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5d7d76(0x35d)]=null);}[_0x4abd4f(0x264)](){var _0x5c0c16=_0x4abd4f;this[_0x5c0c16(0x4ec)]!=null&&(clearTimeout(this[_0x5c0c16(0x4ec)]),this[_0x5c0c16(0x4ec)]=null);}},exports[_0x4abd4f(0x50a)]=ci([_e(0x0,o[_0x4abd4f(0x3eb)](o['Injector'])),_e(0x1,o[_0x4abd4f(0x4a5)]),_e(0x2,o[_0x4abd4f(0x3d9)]),_e(0x3,Fe),_e(0x4,o[_0x4abd4f(0x3eb)](ee)),_e(0x5,o['Optional'](Et))],exports[_0x4abd4f(0x50a)]);var _i=Object[_0x4abd4f(0x3ed)],hi=(_0x3a2c58,_0x50aae4,_0x24c02c,_0x4aad70)=>{for(var _0x4b4e77=_0x4aad70>0x1?void 0x0:_0x4aad70?_i(_0x50aae4,_0x24c02c):_0x50aae4,_0x1a902f=_0x3a2c58['length']-0x1,_0x35bee1;_0x1a902f>=0x0;_0x1a902f--)(_0x35bee1=_0x3a2c58[_0x1a902f])&&(_0x4b4e77=_0x35bee1(_0x4b4e77)||_0x4b4e77);return _0x4b4e77;},Se=(_0x854de0,_0x219834)=>(_0x4a40c8,_0x65ebaa)=>_0x219834(_0x4a40c8,_0x65ebaa,_0x854de0);exports[_0x4abd4f(0x33d)]=class extends o[_0x4abd4f(0x233)]{constructor(_0x8add6f,_0x5a4337,_0x2db4ca,_0x468dff){var _0x14afd9=_0x4abd4f,_0x3e2708;super(),A(this,'_entities',new Map()),A(this,_0x14afd9(0x1f0),new j[(_0x14afd9(0x401))]()),A(this,_0x14afd9(0x4bf),this[_0x14afd9(0x1f0)][_0x14afd9(0x2b3)]()),(this['_injector']=_0x8add6f,this[_0x14afd9(0x1ad)]=_0x5a4337,this['_configService']=_0x2db4ca,this['_univerInstanceService']=_0x468dff,((_0x3e2708=this['_configService'][_0x14afd9(0x509)](Y))==null?void 0x0:_0x3e2708[_0x14afd9(0x204)])!==!0x1&&this[_0x14afd9(0x1ae)]());}[_0x4abd4f(0x4c3)](){var _0x5476cf=_0x4abd4f;super[_0x5476cf(0x4c3)](),this[_0x5476cf(0x4e2)][_0x5476cf(0x294)](_0x92f952=>_0x92f952[_0x5476cf(0x4c3)]()),this[_0x5476cf(0x4e2)][_0x5476cf(0x19c)]();}[_0x4abd4f(0x4ab)](_0x5351b5){var _0x27377a=_0x4abd4f,_0x123514;return(_0x123514=this[_0x27377a(0x4e2)][_0x27377a(0x442)](_0x5351b5))!=null?_0x123514:null;}[_0x4abd4f(0x462)](_0x5cd763){var _0x34dd30=_0x4abd4f;const _0x4aa919=this['getCollabEntity'](_0x5cd763);return _0x4aa919?j['of'](_0x4aa919):this[_0x34dd30(0x1f0)][_0x34dd30(0x283)](V['filter'](_0x24d423=>_0x24d423['unitID']===_0x5cd763));}[_0x4abd4f(0x3b2)](_0x537eb7){var _0x53faca=_0x4abd4f;return j['firstValueFrom'](this['getCollabEntity$'](_0x537eb7)['pipe'](V[_0x53faca(0x343)](()=>{})));}[_0x4abd4f(0x1ae)](){var _0x141d81=_0x4abd4f;this[_0x141d81(0x4dd)][_0x141d81(0x4c2)](o[_0x141d81(0x247)][_0x141d81(0x297)])[_0x141d81(0x283)](j[_0x141d81(0x2f2)](this[_0x141d81(0x32d)]),V['delay'](0x10))[_0x141d81(0x3f2)](async _0x26fc50=>{var _0x245e4c=_0x141d81;const _0x181ee3=_0x26fc50[_0x245e4c(0x29d)](),_0x213d65=await this[_0x245e4c(0x3b6)](_0x181ee3,X['UNIVER_SHEET']);this[_0x245e4c(0x4e2)][_0x245e4c(0x28f)](_0x181ee3,_0x213d65);}),this[_0x141d81(0x4dd)]['getTypeOfUnitAdded$'](o[_0x141d81(0x247)][_0x141d81(0x1c8)])[_0x141d81(0x283)](j[_0x141d81(0x2f2)](this['dispose$']),V[_0x141d81(0x20e)](0x10))['pipe'](V[_0x141d81(0x31b)](_0x1f3947=>!_0x1f3947[_0x141d81(0x29d)]()[_0x141d81(0x38a)]('__')))[_0x141d81(0x3f2)](async _0x168e7b=>{var _0x3c8474=_0x141d81;const _0x589a65=_0x168e7b['getUnitId'](),_0x4f5e62=await this[_0x3c8474(0x3b6)](_0x589a65,X['UNIVER_DOC']);this[_0x3c8474(0x4e2)][_0x3c8474(0x28f)](_0x589a65,_0x4f5e62);}),j[_0x141d81(0x2e7)](this[_0x141d81(0x4dd)][_0x141d81(0x3be)](o[_0x141d81(0x247)]['UNIVER_SHEET']),this[_0x141d81(0x4dd)][_0x141d81(0x3be)](o[_0x141d81(0x247)][_0x141d81(0x1c8)]))['pipe'](j['takeUntil'](this[_0x141d81(0x32d)]))[_0x141d81(0x3f2)](_0x2f2ac9=>{var _0x2bb45d=_0x141d81;const _0x4fadd1=_0x2f2ac9[_0x2bb45d(0x29d)](),_0x3872e4=this[_0x2bb45d(0x4e2)][_0x2bb45d(0x442)](_0x4fadd1);_0x3872e4&&(_0x3872e4[_0x2bb45d(0x4c3)](),this[_0x2bb45d(0x4e2)][_0x2bb45d(0x495)](_0x4fadd1));});}async['_startCollaboration'](_0x29597c,_0x34d598){var _0x8df7ef=_0x4abd4f;const _0x19b424=await this['_collabSessionService'][_0x8df7ef(0x239)](_0x29597c),_0x384fe6=this[_0x8df7ef(0x312)][_0x8df7ef(0x26b)](this['_getCtorByUniverType'](_0x34d598),_0x29597c,_0x34d598,_0x19b424);return await _0x384fe6[_0x8df7ef(0x187)](),this[_0x8df7ef(0x1f0)][_0x8df7ef(0x207)](_0x384fe6),_0x384fe6;}[_0x4abd4f(0x46e)](_0x12807b){var _0xaabc54=_0x4abd4f;switch(_0x12807b){case X[_0xaabc54(0x1c8)]:return exports[_0xaabc54(0x350)];case X[_0xaabc54(0x297)]:return exports[_0xaabc54(0x2dd)];default:throw new Error(_0xaabc54(0x4fa)+_0x12807b);}}},exports['CollaborationController']=hi([Se(0x0,o['Inject'](o[_0x4abd4f(0x2d3)])),Se(0x1,o[_0x4abd4f(0x3eb)](exports['CollaborationSessionService'])),Se(0x2,o[_0x4abd4f(0x3d9)]),Se(0x3,o[_0x4abd4f(0x270)])],exports[_0x4abd4f(0x33d)]);var li=Object['getOwnPropertyDescriptor'],ui=(_0x2a5939,_0x48d904,_0x271bd1,_0x3e1a0a)=>{var _0x46aa31=_0x4abd4f;for(var _0x4e3bf7=_0x3e1a0a>0x1?void 0x0:_0x3e1a0a?li(_0x48d904,_0x271bd1):_0x48d904,_0x18d026=_0x2a5939[_0x46aa31(0x354)]-0x1,_0x3a27c9;_0x18d026>=0x0;_0x18d026--)(_0x3a27c9=_0x2a5939[_0x18d026])&&(_0x4e3bf7=_0x3a27c9(_0x4e3bf7)||_0x4e3bf7);return _0x4e3bf7;},Ye=(_0x754075,_0x13e855)=>(_0x350a4e,_0x18c378)=>_0x13e855(_0x350a4e,_0x18c378,_0x754075);const vi='DEFAULT_FILE_NAME',di='Univer';let xe=class extends o[_0x4abd4f(0x481)]{constructor(_0x1824af,_0x4abf5e){super(),this['_univerInstanceService']=_0x1824af,this['_configService']=_0x4abf5e,this['_init']();}[_0x4abd4f(0x1ae)](){var _0x1ebcb5=_0x4abd4f;this[_0x1ebcb5(0x3c7)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x2419a3=_0x1ebcb5,_0x4411c9;const _0x8f43dc=this[_0x2419a3(0x4dd)][_0x2419a3(0x1f4)]();let _0x20fa08=(_0x4411c9=this[_0x2419a3(0x451)][_0x2419a3(0x509)](vi))!=null?_0x4411c9:di;_0x8f43dc instanceof o['Workbook']&&(_0x20fa08=_0x8f43dc[_0x2419a3(0x490)]),document['title']=_0x20fa08;}));}};xe=ui([Ye(0x0,o[_0x4abd4f(0x270)]),Ye(0x1,o[_0x4abd4f(0x3d9)])],xe);var Si=Object[_0x4abd4f(0x3ed)],Ii=(_0x2cea9f,_0x298ba1,_0x404acf,_0x33e801)=>{var _0x53f2e1=_0x4abd4f;for(var _0x147263=_0x33e801>0x1?void 0x0:_0x33e801?Si(_0x298ba1,_0x404acf):_0x298ba1,_0x39ba21=_0x2cea9f[_0x53f2e1(0x354)]-0x1,_0x4b159c;_0x39ba21>=0x0;_0x39ba21--)(_0x4b159c=_0x2cea9f[_0x39ba21])&&(_0x147263=_0x4b159c(_0x147263)||_0x147263);return _0x147263;},Ae=(_0x8be12c,_0x5b9e3f)=>(_0x58c288,_0x3ee068)=>_0x5b9e3f(_0x58c288,_0x3ee068,_0x8be12c);let Ne=class{constructor(_0x656b7e,_0x51bf32,_0x1fb00a){var _0x209ccb=_0x4abd4f;this['_configService']=_0x656b7e,this[_0x209ccb(0x2ca)]=_0x51bf32,this['localeService']=_0x1fb00a,this[_0x209ccb(0x187)]();}[_0x4abd4f(0x187)](){var _0x18705f=_0x4abd4f;this['_httpService'][_0x18705f(0x3bf)]({'priority':0x1,'interceptor':(_0x4d19ea,_0x42ed42)=>_0x42ed42(_0x4d19ea)[_0x18705f(0x283)](j['concatMap'](async _0x2d3476=>{var _0x367fea=_0x18705f;const _0x4e210b=_0x2d3476;if(_0x4e210b[_0x367fea(0x27a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x367fea(0x34e)](this[_0x367fea(0x40b)]['t'](_0x367fea(0x3c3)))){const _0x4a98c2=window['encodeURIComponent'](window[_0x367fea(0x2db)][_0x367fea(0x1f2)]);window[_0x367fea(0x2db)][_0x367fea(0x1f2)]=this['_getLoginPath']()+'?url='+_0x4a98c2;}}return _0x4e210b;}))});}[_0x4abd4f(0x4fb)](){var _0x287ee0=_0x4abd4f,_0x10f844;const _0x285b20=this['_configService'][_0x287ee0(0x509)](Y);return(_0x10f844=_0x285b20==null?void 0x0:_0x285b20[_0x287ee0(0x1b8)])!=null?_0x10f844:$t;}};Ne=Ii([Ae(0x0,o['IConfigService']),Ae(0x1,o['Inject'](K[_0x4abd4f(0x404)])),Ae(0x2,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x4ce)]))],Ne);var fi=Object['getOwnPropertyDescriptor'],Ei=(_0x2de930,_0x225f9e,_0x5be0bd,_0x272371)=>{var _0x3f1e00=_0x4abd4f;for(var _0xa36d84=_0x272371>0x1?void 0x0:_0x272371?fi(_0x225f9e,_0x5be0bd):_0x225f9e,_0x315c19=_0x2de930[_0x3f1e00(0x354)]-0x1,_0x41a2fa;_0x315c19>=0x0;_0x315c19--)(_0x41a2fa=_0x2de930[_0x315c19])&&(_0xa36d84=_0x41a2fa(_0xa36d84)||_0xa36d84);return _0xa36d84;},Ke=(_0x30de09,_0x144fb8)=>(_0x279b81,_0x40f718)=>_0x144fb8(_0x279b81,_0x40f718,_0x30de09);const pi='/universer-api/authz';exports['AuthzIoHttpService']=class extends o['Disposable']{constructor(_0x548267,_0x4d276d){var _0x4f316d=_0x4abd4f;super(),this[_0x4f316d(0x34b)]=_0x548267,this['_configService']=_0x4d276d,this[_0x4f316d(0x299)]();}[_0x4abd4f(0x299)](){var _0x53da37=_0x4abd4f;const _0x5d277c=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x53da37(0x278)]({'isMatch'(_0x2c7c17){var _0x464eb=_0x53da37,_0xa10fba;if(_0x2c7c17[_0x464eb(0x1ff)]===_0x464eb(0x43a)&&((_0xa10fba=_0x2c7c17[_0x464eb(0x27e)])!=null&&_0xa10fba[_0x464eb(0x331)])){const {objectID:_0x3f17a4,objectType:_0x1752af}=_0x2c7c17[_0x464eb(0x27e)]['body']||{};if(!_0x3f17a4||_0x1752af===void 0x0)return!0x1;const _0x2aa19a=_0x5d277c[_0x464eb(0x2f8)]()+'/'+_0x1752af+_0x464eb(0x35b)+_0x3f17a4+_0x464eb(0x400);if(_0x2c7c17[_0x464eb(0x4d3)]===_0x2aa19a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4db758){var _0x4cb761=_0x53da37,_0x1471e8;return(_0x1471e8=_0x4db758[_0x4cb761(0x27e)])==null?void 0x0:_0x1471e8['body'];},'mergeParamsToRequest'(_0x9bfcf5,_0xa91785){var _0x55f1a6=_0x53da37;const _0x11cfa6=_0x5d277c[_0x55f1a6(0x2f8)]()+_0x55f1a6(0x4fe),_0x3aef92=_0x9bfcf5['reduce']((_0x13db86,_0x53d3cc)=>{var _0x53be9a=_0x55f1a6;const {unitID:_0x59c4f3,objectID:_0x2ce1ce,objectType:_0xb9340a,actions:_0x5bb230}=_0x53d3cc;return _0x13db86[_0x59c4f3]||(_0x13db86[_0x59c4f3]={}),_0x13db86[_0x59c4f3][_0x2ce1ce]||(_0x13db86[_0x59c4f3][_0x2ce1ce]={'objectID':_0x2ce1ce,'objectType':_0xb9340a,'actions':[]}),_0x13db86[_0x59c4f3][_0x2ce1ce][_0x53be9a(0x305)][_0x53be9a(0x4e6)](..._0x5bb230),_0x13db86;},{}),_0x47ea4d=[];for(const _0x19a553 in _0x3aef92)for(const _0x2c75fe in _0x3aef92[_0x19a553]){const {actions:_0x133310,objectType:_0x310519}=_0x3aef92[_0x19a553][_0x2c75fe],_0x4ccb7d=[...new Set(_0x133310)];_0x47ea4d['push']({'unitID':_0x19a553,'objectID':_0x2c75fe,'objectType':_0x310519,'actions':_0x4ccb7d});}return new K[(_0x55f1a6(0x1bf))]('POST',_0x11cfa6,{'headers':_0xa91785[_0x55f1a6(0x34c)],'withCredentials':_0xa91785[_0x55f1a6(0x46d)],'responseType':_0xa91785['responseType'],'body':{'requests':_0x47ea4d}});}},{'distributeResult'(_0x198863,_0x537f05){const {objectActions:_0x5ceaae}=_0x198863;return _0x537f05['map'](_0xdbbb9a=>{var _0x14e5b5=_0x5915;const {unitID:_0x1bd0a2,objectID:_0x5ac2ce,actions:_0x4cd937}=_0xdbbb9a,_0x2507cb=_0x5ceaae[_0x14e5b5(0x1b0)](_0x140ab1=>_0x140ab1[_0x14e5b5(0x43d)]===_0x1bd0a2&&_0x140ab1[_0x14e5b5(0x446)]===_0x5ac2ce),_0xcf3fba=_0x4cd937[_0x14e5b5(0x343)](_0x1795d5=>_0x2507cb==null?void 0x0:_0x2507cb[_0x14e5b5(0x305)]['find'](_0x384486=>_0x384486[_0x14e5b5(0x417)]===_0x1795d5))[_0x14e5b5(0x31b)](_0x1150d3=>!!_0x1150d3);return{'config':_0xdbbb9a,'result':{'actions':_0xcf3fba,'error':_0x198863[_0x14e5b5(0x229)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4ebbbc=_0x4abd4f,_0x5e36e8;const _0x2ce867=this['_configService'][_0x4ebbbc(0x509)](Y);return(_0x5e36e8=_0x2ce867==null?void 0x0:_0x2ce867['authzUrl'])!=null?_0x5e36e8:pi;}async['create'](_0x55a199){var _0x425e9e=_0x4abd4f;const _0x4d2c05=this[_0x425e9e(0x2f8)]()+'/'+_0x55a199[_0x425e9e(0x391)]+_0x425e9e(0x476);return(await this[_0x425e9e(0x34b)][_0x425e9e(0x409)](_0x4d2c05,{'body':_0x55a199}))['body'][_0x425e9e(0x446)]||'';}async[_0x4abd4f(0x215)](_0x4a11e6){var _0x3cb9a4=_0x4abd4f;const _0x54b2cf=this[_0x3cb9a4(0x2f8)]()+_0x3cb9a4(0x48b);return(await this['_HTTPService'][_0x3cb9a4(0x409)](_0x54b2cf,{'body':_0x4a11e6}))[_0x3cb9a4(0x331)]['objects'];}async[_0x4abd4f(0x316)](_0x22524b){var _0xfca6e6=_0x4abd4f,_0xabd58d,_0x2a258a;const _0x3dfc8b=this[_0xfca6e6(0x2f8)]()+'/'+_0x22524b['objectType']+_0xfca6e6(0x35b)+_0x22524b[_0xfca6e6(0x446)],_0x9b75d5=await this[_0xfca6e6(0x34b)][_0xfca6e6(0x413)](_0x3dfc8b,{'body':_0x22524b});if(((_0x2a258a=(_0xabd58d=_0x9b75d5==null?void 0x0:_0x9b75d5[_0xfca6e6(0x331)])==null?void 0x0:_0xabd58d[_0xfca6e6(0x229)])==null?void 0x0:_0x2a258a[_0xfca6e6(0x2a5)])!==0x1)throw new Error(_0xfca6e6(0x40a));}async[_0x4abd4f(0x49c)](_0x73b80c){var _0x14cd99=_0x4abd4f;const _0x14874a=this[_0x14cd99(0x2f8)]()+'/'+_0x73b80c[_0x14cd99(0x391)]+_0x14cd99(0x35b)+_0x73b80c[_0x14cd99(0x446)]+_0x14cd99(0x400);return(await this[_0x14cd99(0x34b)][_0x14cd99(0x409)](_0x14874a,{'body':_0x73b80c}))[_0x14cd99(0x331)]['actions'];}async['batchAllowed'](_0xaec11c){var _0x26575c=_0x4abd4f;const _0x32a534=this['_getAPIPrefixPath']()+_0x26575c(0x4fe);return(await this[_0x26575c(0x34b)][_0x26575c(0x409)](_0x32a534,{'body':{'requests':_0xaec11c}}))[_0x26575c(0x331)][_0x26575c(0x431)];}async[_0x4abd4f(0x2fd)](_0x4f42c9){var _0x28281a=_0x4abd4f;const _0x3d6047=this[_0x28281a(0x2f8)]()+'/'+_0x4f42c9[_0x28281a(0x391)]+_0x28281a(0x49b),_0x16e22f=await this['_HTTPService'][_0x28281a(0x409)](_0x3d6047,{'body':_0x4f42c9});return{'roles':_0x16e22f['body'][_0x28281a(0x329)],'actions':_0x16e22f['body'][_0x28281a(0x305)]};}async[_0x4abd4f(0x4f3)](_0xfa47f2){var _0x296d50=_0x4abd4f;const _0x56a19f=this[_0x296d50(0x2f8)]()+_0x296d50(0x1de);await this[_0x296d50(0x34b)]['delete'](_0x56a19f,{'params':{'collaboratorID':_0xfa47f2[_0x296d50(0x3f7)],'objectID':_0xfa47f2[_0x296d50(0x446)],'unitID':_0xfa47f2['unitID']}});}async[_0x4abd4f(0x263)](_0x46eee2){var _0x1ecec2=_0x4abd4f;const _0x1f73bf=this[_0x1ecec2(0x2f8)]()+_0x1ecec2(0x1de);await this['_HTTPService']['patch'](_0x1f73bf,{'body':_0x46eee2});}async[_0x4abd4f(0x189)](_0x48f099){var _0x3d9c49=_0x4abd4f;const _0x2e35bd=this[_0x3d9c49(0x2f8)]()+'/collaborator';await this['_HTTPService']['post'](_0x2e35bd,{'body':_0x48f099});}async[_0x4abd4f(0x44c)](_0x39b854){var _0x356995=_0x4abd4f;const _0xd7a546=this[_0x356995(0x2f8)]()+_0x356995(0x1de);return(await this[_0x356995(0x34b)][_0x356995(0x442)](_0xd7a546,{'params':{'objectID':_0x39b854[_0x356995(0x446)],'unitID':_0x39b854['unitID']}}))[_0x356995(0x331)][_0x356995(0x230)];}async[_0x4abd4f(0x1ef)](_0x38cb2d){var _0x44ad46=_0x4abd4f;const _0x1d37f9=this['_getAPIPrefixPath']()+_0x44ad46(0x1de);await this[_0x44ad46(0x34b)][_0x44ad46(0x413)](_0x1d37f9,{'body':_0x38cb2d});}},exports['AuthzIoHttpService']=Ei([Ke(0x0,o[_0x4abd4f(0x3eb)](K[_0x4abd4f(0x404)])),Ke(0x1,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x3d9)]))],exports[_0x4abd4f(0x3db)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x38f421){var _0x1dfc77=_0x4abd4f;return _0x38f421&&_0x38f421[_0x1dfc77(0x3f6)]&&Object[_0x1dfc77(0x506)]['hasOwnProperty'][_0x1dfc77(0x1ed)](_0x38f421,_0x1dfc77(0x3da))?_0x38f421[_0x1dfc77(0x3da)]:_0x38f421;}var Ie={'exports':{}};function mi(_0x592b3c){var _0x3651c4=_0x4abd4f;throw new Error(_0x3651c4(0x3ee)+_0x592b3c+_0x3651c4(0x3d4));}var fe={'exports':{}},gi=fe['exports'],qe;function Z(){var _0x51d23f=_0x4abd4f;return qe||(qe=0x1,function(_0x224172,_0x21cd5b){(function(_0x33b5b0,_0x457768){_0x224172['exports']=_0x457768();}(gi,function(){var _0x151c42=_0x151c42||function(_0x3bd12b,_0x37daaa){var _0x48302c=_0x5915,_0x3f5913;if(typeof window<'u'&&window[_0x48302c(0x334)]&&(_0x3f5913=window[_0x48302c(0x334)]),typeof self<'u'&&self[_0x48302c(0x334)]&&(_0x3f5913=self[_0x48302c(0x334)]),typeof globalThis<'u'&&globalThis[_0x48302c(0x334)]&&(_0x3f5913=globalThis[_0x48302c(0x334)]),!_0x3f5913&&typeof window<'u'&&window[_0x48302c(0x46c)]&&(_0x3f5913=window[_0x48302c(0x46c)]),!_0x3f5913&&typeof Pe<'u'&&Pe['crypto']&&(_0x3f5913=Pe['crypto']),!_0x3f5913&&typeof mi=='function')try{_0x3f5913=require('crypto');}catch{}var _0x3de1ca=function(){var _0x9de3d=_0x48302c;if(_0x3f5913){if(typeof _0x3f5913[_0x9de3d(0x397)]==_0x9de3d(0x2ae))try{return _0x3f5913[_0x9de3d(0x397)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f5913[_0x9de3d(0x254)]=='function')try{return _0x3f5913[_0x9de3d(0x254)](0x4)[_0x9de3d(0x433)]();}catch{}}throw new Error(_0x9de3d(0x3c9));},_0x2d9344=Object[_0x48302c(0x2e6)]||(function(){function _0x489364(){}return function(_0x258e0e){var _0x351627=_0x5915,_0x6a5b33;return _0x489364[_0x351627(0x506)]=_0x258e0e,_0x6a5b33=new _0x489364(),_0x489364[_0x351627(0x506)]=null,_0x6a5b33;};}()),_0x2708d9={},_0x6c5d64=_0x2708d9[_0x48302c(0x227)]={},_0x294602=_0x6c5d64[_0x48302c(0x3b5)]=(function(){return{'extend':function(_0x348903){var _0x203d61=_0x5915,_0x1f7309=_0x2d9344(this);return _0x348903&&_0x1f7309['mixIn'](_0x348903),(!_0x1f7309[_0x203d61(0x48c)](_0x203d61(0x187))||this[_0x203d61(0x187)]===_0x1f7309[_0x203d61(0x187)])&&(_0x1f7309[_0x203d61(0x187)]=function(){var _0x2d5daa=_0x203d61;_0x1f7309['$super'][_0x2d5daa(0x187)][_0x2d5daa(0x25e)](this,arguments);}),_0x1f7309[_0x203d61(0x187)][_0x203d61(0x506)]=_0x1f7309,_0x1f7309[_0x203d61(0x3e7)]=this,_0x1f7309;},'create':function(){var _0x512915=_0x5915,_0xd51b71=this[_0x512915(0x33f)]();return _0xd51b71[_0x512915(0x187)][_0x512915(0x25e)](_0xd51b71,arguments),_0xd51b71;},'init':function(){},'mixIn':function(_0x50253c){var _0x3ae9f2=_0x5915;for(var _0x596abe in _0x50253c)_0x50253c[_0x3ae9f2(0x48c)](_0x596abe)&&(this[_0x596abe]=_0x50253c[_0x596abe]);_0x50253c[_0x3ae9f2(0x48c)](_0x3ae9f2(0x30b))&&(this[_0x3ae9f2(0x30b)]=_0x50253c[_0x3ae9f2(0x30b)]);},'clone':function(){var _0x47652d=_0x5915;return this[_0x47652d(0x187)]['prototype'][_0x47652d(0x33f)](this);}};}()),_0x568346=_0x6c5d64[_0x48302c(0x2f5)]=_0x294602[_0x48302c(0x33f)]({'init':function(_0x38a463,_0x49d6a7){var _0x268973=_0x48302c;_0x38a463=this['words']=_0x38a463||[],_0x49d6a7!=_0x37daaa?this[_0x268973(0x1a8)]=_0x49d6a7:this[_0x268973(0x1a8)]=_0x38a463[_0x268973(0x354)]*0x4;},'toString':function(_0x17d543){var _0x5447aa=_0x48302c;return(_0x17d543||_0x29861d)[_0x5447aa(0x251)](this);},'concat':function(_0x143f4d){var _0x346608=_0x48302c,_0x2cb6ea=this[_0x346608(0x4b4)],_0x3c7488=_0x143f4d['words'],_0x4e6af6=this['sigBytes'],_0x3d5a31=_0x143f4d[_0x346608(0x1a8)];if(this[_0x346608(0x211)](),_0x4e6af6%0x4)for(var _0x4f666c=0x0;_0x4f666c<_0x3d5a31;_0x4f666c++){var _0x27d9e9=_0x3c7488[_0x4f666c>>>0x2]>>>0x18-_0x4f666c%0x4*0x8&0xff;_0x2cb6ea[_0x4e6af6+_0x4f666c>>>0x2]|=_0x27d9e9<<0x18-(_0x4e6af6+_0x4f666c)%0x4*0x8;}else{for(var _0x47f4b1=0x0;_0x47f4b1<_0x3d5a31;_0x47f4b1+=0x4)_0x2cb6ea[_0x4e6af6+_0x47f4b1>>>0x2]=_0x3c7488[_0x47f4b1>>>0x2];}return this[_0x346608(0x1a8)]+=_0x3d5a31,this;},'clamp':function(){var _0x352dc6=_0x48302c,_0x3dfb44=this[_0x352dc6(0x4b4)],_0x4d8670=this['sigBytes'];_0x3dfb44[_0x4d8670>>>0x2]&=0xffffffff<<0x20-_0x4d8670%0x4*0x8,_0x3dfb44[_0x352dc6(0x354)]=_0x3bd12b[_0x352dc6(0x2a0)](_0x4d8670/0x4);},'clone':function(){var _0x461066=_0x48302c,_0x49fca0=_0x294602[_0x461066(0x206)]['call'](this);return _0x49fca0[_0x461066(0x4b4)]=this['words']['slice'](0x0),_0x49fca0;},'random':function(_0x213915){var _0x2c3885=_0x48302c;for(var _0x2bf92d=[],_0x5d0a6b=0x0;_0x5d0a6b<_0x213915;_0x5d0a6b+=0x4)_0x2bf92d[_0x2c3885(0x4e6)](_0x3de1ca());return new _0x568346['init'](_0x2bf92d,_0x213915);}}),_0x1c9f76=_0x2708d9[_0x48302c(0x39b)]={},_0x29861d=_0x1c9f76[_0x48302c(0x186)]={'stringify':function(_0x1e0bb3){var _0x4f90c2=_0x48302c;for(var _0x3b9b38=_0x1e0bb3[_0x4f90c2(0x4b4)],_0xd0a45=_0x1e0bb3['sigBytes'],_0x27b55e=[],_0x33de1b=0x0;_0x33de1b<_0xd0a45;_0x33de1b++){var _0x5c9995=_0x3b9b38[_0x33de1b>>>0x2]>>>0x18-_0x33de1b%0x4*0x8&0xff;_0x27b55e[_0x4f90c2(0x4e6)]((_0x5c9995>>>0x4)[_0x4f90c2(0x30b)](0x10)),_0x27b55e[_0x4f90c2(0x4e6)]((_0x5c9995&0xf)[_0x4f90c2(0x30b)](0x10));}return _0x27b55e['join']('');},'parse':function(_0x351d76){var _0x1e05bb=_0x48302c;for(var _0x3fda30=_0x351d76[_0x1e05bb(0x354)],_0x572de2=[],_0x24e134=0x0;_0x24e134<_0x3fda30;_0x24e134+=0x2)_0x572de2[_0x24e134>>>0x3]|=parseInt(_0x351d76[_0x1e05bb(0x325)](_0x24e134,0x2),0x10)<<0x18-_0x24e134%0x8*0x4;return new _0x568346[(_0x1e05bb(0x187))](_0x572de2,_0x3fda30/0x2);}},_0x2cb2af=_0x1c9f76['Latin1']={'stringify':function(_0x24bb9f){var _0x15806f=_0x48302c;for(var _0x5c222a=_0x24bb9f['words'],_0x3a759a=_0x24bb9f[_0x15806f(0x1a8)],_0x43d2d1=[],_0x1272ab=0x0;_0x1272ab<_0x3a759a;_0x1272ab++){var _0x3e0044=_0x5c222a[_0x1272ab>>>0x2]>>>0x18-_0x1272ab%0x4*0x8&0xff;_0x43d2d1[_0x15806f(0x4e6)](String['fromCharCode'](_0x3e0044));}return _0x43d2d1[_0x15806f(0x28d)]('');},'parse':function(_0x5cc487){var _0x9ed034=_0x48302c;for(var _0xb3f5ca=_0x5cc487[_0x9ed034(0x354)],_0x161364=[],_0x1ca947=0x0;_0x1ca947<_0xb3f5ca;_0x1ca947++)_0x161364[_0x1ca947>>>0x2]|=(_0x5cc487['charCodeAt'](_0x1ca947)&0xff)<<0x18-_0x1ca947%0x4*0x8;return new _0x568346[(_0x9ed034(0x187))](_0x161364,_0xb3f5ca);}},_0x1292de=_0x1c9f76['Utf8']={'stringify':function(_0x29d310){var _0x1fb21d=_0x48302c;try{return decodeURIComponent(escape(_0x2cb2af[_0x1fb21d(0x251)](_0x29d310)));}catch{throw new Error(_0x1fb21d(0x1c9));}},'parse':function(_0x205ee0){var _0x3db5e2=_0x48302c;return _0x2cb2af[_0x3db5e2(0x4d8)](unescape(encodeURIComponent(_0x205ee0)));}},_0x655cdc=_0x6c5d64[_0x48302c(0x243)]=_0x294602[_0x48302c(0x33f)]({'reset':function(){var _0x3b2095=_0x48302c;this[_0x3b2095(0x22e)]=new _0x568346['init'](),this[_0x3b2095(0x1b2)]=0x0;},'_append':function(_0x1ffbdc){var _0x3f2f1a=_0x48302c;typeof _0x1ffbdc==_0x3f2f1a(0x2d4)&&(_0x1ffbdc=_0x1292de[_0x3f2f1a(0x4d8)](_0x1ffbdc)),this['_data'][_0x3f2f1a(0x2e0)](_0x1ffbdc),this['_nDataBytes']+=_0x1ffbdc[_0x3f2f1a(0x1a8)];},'_process':function(_0x106415){var _0x13055b=_0x48302c,_0x1ef143,_0x4b1b3f=this[_0x13055b(0x22e)],_0x180ae8=_0x4b1b3f['words'],_0x1e4d71=_0x4b1b3f[_0x13055b(0x1a8)],_0x10e57b=this[_0x13055b(0x3b0)],_0x326ebb=_0x10e57b*0x4,_0x4a974a=_0x1e4d71/_0x326ebb;_0x106415?_0x4a974a=_0x3bd12b['ceil'](_0x4a974a):_0x4a974a=_0x3bd12b['max']((_0x4a974a|0x0)-this[_0x13055b(0x28c)],0x0);var _0x28b10d=_0x4a974a*_0x10e57b,_0x30b868=_0x3bd12b[_0x13055b(0x2f9)](_0x28b10d*0x4,_0x1e4d71);if(_0x28b10d){for(var _0x4c95f2=0x0;_0x4c95f2<_0x28b10d;_0x4c95f2+=_0x10e57b)this['_doProcessBlock'](_0x180ae8,_0x4c95f2);_0x1ef143=_0x180ae8['splice'](0x0,_0x28b10d),_0x4b1b3f[_0x13055b(0x1a8)]-=_0x30b868;}return new _0x568346['init'](_0x1ef143,_0x30b868);},'clone':function(){var _0x568eb1=_0x48302c,_0x3a0c65=_0x294602[_0x568eb1(0x206)][_0x568eb1(0x1ed)](this);return _0x3a0c65[_0x568eb1(0x22e)]=this[_0x568eb1(0x22e)][_0x568eb1(0x206)](),_0x3a0c65;},'_minBufferSize':0x0});_0x6c5d64[_0x48302c(0x2fa)]=_0x655cdc[_0x48302c(0x33f)]({'cfg':_0x294602[_0x48302c(0x33f)](),'init':function(_0xf04614){var _0x4a1e29=_0x48302c;this['cfg']=this['cfg'][_0x4a1e29(0x33f)](_0xf04614),this[_0x4a1e29(0x35f)]();},'reset':function(){var _0x63be3d=_0x48302c;_0x655cdc['reset'][_0x63be3d(0x1ed)](this),this[_0x63be3d(0x496)]();},'update':function(_0x4bf44e){var _0x37eef3=_0x48302c;return this[_0x37eef3(0x23d)](_0x4bf44e),this[_0x37eef3(0x3a9)](),this;},'finalize':function(_0x1b5bcc){var _0x24af8c=_0x48302c;_0x1b5bcc&&this[_0x24af8c(0x23d)](_0x1b5bcc);var _0x3cee42=this[_0x24af8c(0x367)]();return _0x3cee42;},'blockSize':0x10,'_createHelper':function(_0x5bfa3f){return function(_0x2f62e1,_0x4da3d3){var _0x2671f4=_0x5915;return new _0x5bfa3f[(_0x2671f4(0x187))](_0x4da3d3)[_0x2671f4(0x276)](_0x2f62e1);};},'_createHmacHelper':function(_0x1f0857){return function(_0x282ee8,_0x6837ba){var _0x19dea2=_0x5915;return new _0x1bcf16['HMAC'][(_0x19dea2(0x187))](_0x1f0857,_0x6837ba)[_0x19dea2(0x276)](_0x282ee8);};}});var _0x1bcf16=_0x2708d9[_0x48302c(0x2f3)]={};return _0x2708d9;}(Math);return _0x151c42;}));}(fe)),fe[_0x51d23f(0x349)];}var Ee={'exports':{}},Ti=Ee[_0x4abd4f(0x349)],ze;function gt(){return ze||(ze=0x1,function(_0x202abd,_0x41a81e){(function(_0xd36f6d,_0x370500){var _0x13c168=_0x5915;_0x202abd[_0x13c168(0x349)]=_0x370500(Z());}(Ti,function(_0x509f11){var _0x543841=_0x5915;return(function(){var _0x59b634=_0x5915,_0x1f856e=_0x509f11,_0x5eb9fd=_0x1f856e[_0x59b634(0x227)],_0x7ab130=_0x5eb9fd[_0x59b634(0x2f5)],_0x4c285d=_0x1f856e['enc'];_0x4c285d['Base64']={'stringify':function(_0x46d339){var _0x10d8e6=_0x59b634,_0x849fb1=_0x46d339[_0x10d8e6(0x4b4)],_0x2c50e2=_0x46d339[_0x10d8e6(0x1a8)],_0x2eeb89=this['_map'];_0x46d339[_0x10d8e6(0x211)]();for(var _0x524570=[],_0xc41a75=0x0;_0xc41a75<_0x2c50e2;_0xc41a75+=0x3)for(var _0x1ff777=_0x849fb1[_0xc41a75>>>0x2]>>>0x18-_0xc41a75%0x4*0x8&0xff,_0x364e9d=_0x849fb1[_0xc41a75+0x1>>>0x2]>>>0x18-(_0xc41a75+0x1)%0x4*0x8&0xff,_0x6d7cac=_0x849fb1[_0xc41a75+0x2>>>0x2]>>>0x18-(_0xc41a75+0x2)%0x4*0x8&0xff,_0x47eb43=_0x1ff777<<0x10|_0x364e9d<<0x8|_0x6d7cac,_0x4cad0b=0x0;_0x4cad0b<0x4&&_0xc41a75+_0x4cad0b*0.75<_0x2c50e2;_0x4cad0b++)_0x524570[_0x10d8e6(0x4e6)](_0x2eeb89[_0x10d8e6(0x182)](_0x47eb43>>>0x6*(0x3-_0x4cad0b)&0x3f));var _0x4d4060=_0x2eeb89[_0x10d8e6(0x182)](0x40);if(_0x4d4060){for(;_0x524570[_0x10d8e6(0x354)]%0x4;)_0x524570[_0x10d8e6(0x4e6)](_0x4d4060);}return _0x524570[_0x10d8e6(0x28d)]('');},'parse':function(_0x234022){var _0x840463=_0x59b634,_0x10a0be=_0x234022[_0x840463(0x354)],_0x39f596=this[_0x840463(0x3ce)],_0x212598=this['_reverseMap'];if(!_0x212598){_0x212598=this[_0x840463(0x2ed)]=[];for(var _0x39207e=0x0;_0x39207e<_0x39f596[_0x840463(0x354)];_0x39207e++)_0x212598[_0x39f596['charCodeAt'](_0x39207e)]=_0x39207e;}var _0x340ecf=_0x39f596[_0x840463(0x182)](0x40);if(_0x340ecf){var _0x4868e6=_0x234022[_0x840463(0x1c1)](_0x340ecf);_0x4868e6!==-0x1&&(_0x10a0be=_0x4868e6);}return _0x1b5373(_0x234022,_0x10a0be,_0x212598);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1b5373(_0x17fef7,_0xba8ed5,_0x32d8c8){var _0x38f5e3=_0x59b634;for(var _0x1ba015=[],_0x1a8902=0x0,_0x3113fb=0x0;_0x3113fb<_0xba8ed5;_0x3113fb++)if(_0x3113fb%0x4){var _0x4649fa=_0x32d8c8[_0x17fef7[_0x38f5e3(0x256)](_0x3113fb-0x1)]<<_0x3113fb%0x4*0x2,_0x3eceec=_0x32d8c8[_0x17fef7['charCodeAt'](_0x3113fb)]>>>0x6-_0x3113fb%0x4*0x2,_0x39ab7b=_0x4649fa|_0x3eceec;_0x1ba015[_0x1a8902>>>0x2]|=_0x39ab7b<<0x18-_0x1a8902%0x4*0x8,_0x1a8902++;}return _0x7ab130[_0x38f5e3(0x2e6)](_0x1ba015,_0x1a8902);}}()),_0x509f11[_0x543841(0x39b)][_0x543841(0x3fe)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Ci=pe[_0x4abd4f(0x349)],Xe;function Oi(){return Xe||(Xe=0x1,function(_0x1a63db,_0x5d1ea2){(function(_0x4e8258,_0x1a6feb){var _0x2649ac=_0x5915;_0x1a63db[_0x2649ac(0x349)]=_0x1a6feb(Z());}(Ci,function(_0x29e4b1){var _0x2e9fd1=_0x5915;return function(_0x58d087){var _0x2230ac=_0x5915,_0x5052f5=_0x29e4b1,_0xf3f52d=_0x5052f5[_0x2230ac(0x227)],_0x41390c=_0xf3f52d[_0x2230ac(0x2f5)],_0xa27eb=_0xf3f52d[_0x2230ac(0x2fa)],_0xd33bad=_0x5052f5['algo'],_0x5c16f7=[];(function(){var _0x1c0d23=_0x2230ac;for(var _0x3e9023=0x0;_0x3e9023<0x40;_0x3e9023++)_0x5c16f7[_0x3e9023]=_0x58d087[_0x1c0d23(0x1d9)](_0x58d087[_0x1c0d23(0x3d5)](_0x3e9023+0x1))*0x100000000|0x0;}());var _0x3c2a8d=_0xd33bad[_0x2230ac(0x293)]=_0xa27eb['extend']({'_doReset':function(){var _0x4043e3=_0x2230ac;this[_0x4043e3(0x2f7)]=new _0x41390c[(_0x4043e3(0x187))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe946cb,_0x56bb17){var _0x1e0bda=_0x2230ac;for(var _0x3279cb=0x0;_0x3279cb<0x10;_0x3279cb++){var _0x3440e5=_0x56bb17+_0x3279cb,_0x3d04b2=_0xe946cb[_0x3440e5];_0xe946cb[_0x3440e5]=(_0x3d04b2<<0x8|_0x3d04b2>>>0x18)&0xff00ff|(_0x3d04b2<<0x18|_0x3d04b2>>>0x8)&0xff00ff00;}var _0x39cedf=this[_0x1e0bda(0x2f7)][_0x1e0bda(0x4b4)],_0x5cb94f=_0xe946cb[_0x56bb17+0x0],_0x43c108=_0xe946cb[_0x56bb17+0x1],_0x142734=_0xe946cb[_0x56bb17+0x2],_0x46ece4=_0xe946cb[_0x56bb17+0x3],_0xfe312a=_0xe946cb[_0x56bb17+0x4],_0x456f77=_0xe946cb[_0x56bb17+0x5],_0x3cee1c=_0xe946cb[_0x56bb17+0x6],_0x1eaf18=_0xe946cb[_0x56bb17+0x7],_0x427727=_0xe946cb[_0x56bb17+0x8],_0x454bc0=_0xe946cb[_0x56bb17+0x9],_0x2c2474=_0xe946cb[_0x56bb17+0xa],_0x56179c=_0xe946cb[_0x56bb17+0xb],_0x1d02c7=_0xe946cb[_0x56bb17+0xc],_0x2b4345=_0xe946cb[_0x56bb17+0xd],_0x261ee4=_0xe946cb[_0x56bb17+0xe],_0x5ac714=_0xe946cb[_0x56bb17+0xf],_0x5f5c24=_0x39cedf[0x0],_0x455225=_0x39cedf[0x1],_0x249549=_0x39cedf[0x2],_0xbe179d=_0x39cedf[0x3];_0x5f5c24=_0x9cc16b(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x5cb94f,0x7,_0x5c16f7[0x0]),_0xbe179d=_0x9cc16b(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x43c108,0xc,_0x5c16f7[0x1]),_0x249549=_0x9cc16b(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x142734,0x11,_0x5c16f7[0x2]),_0x455225=_0x9cc16b(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x46ece4,0x16,_0x5c16f7[0x3]),_0x5f5c24=_0x9cc16b(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0xfe312a,0x7,_0x5c16f7[0x4]),_0xbe179d=_0x9cc16b(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x456f77,0xc,_0x5c16f7[0x5]),_0x249549=_0x9cc16b(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x3cee1c,0x11,_0x5c16f7[0x6]),_0x455225=_0x9cc16b(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x1eaf18,0x16,_0x5c16f7[0x7]),_0x5f5c24=_0x9cc16b(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x427727,0x7,_0x5c16f7[0x8]),_0xbe179d=_0x9cc16b(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x454bc0,0xc,_0x5c16f7[0x9]),_0x249549=_0x9cc16b(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x2c2474,0x11,_0x5c16f7[0xa]),_0x455225=_0x9cc16b(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x56179c,0x16,_0x5c16f7[0xb]),_0x5f5c24=_0x9cc16b(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x1d02c7,0x7,_0x5c16f7[0xc]),_0xbe179d=_0x9cc16b(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x2b4345,0xc,_0x5c16f7[0xd]),_0x249549=_0x9cc16b(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x261ee4,0x11,_0x5c16f7[0xe]),_0x455225=_0x9cc16b(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x5ac714,0x16,_0x5c16f7[0xf]),_0x5f5c24=_0x48378e(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x43c108,0x5,_0x5c16f7[0x10]),_0xbe179d=_0x48378e(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x3cee1c,0x9,_0x5c16f7[0x11]),_0x249549=_0x48378e(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x56179c,0xe,_0x5c16f7[0x12]),_0x455225=_0x48378e(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x5cb94f,0x14,_0x5c16f7[0x13]),_0x5f5c24=_0x48378e(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x456f77,0x5,_0x5c16f7[0x14]),_0xbe179d=_0x48378e(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x2c2474,0x9,_0x5c16f7[0x15]),_0x249549=_0x48378e(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x5ac714,0xe,_0x5c16f7[0x16]),_0x455225=_0x48378e(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0xfe312a,0x14,_0x5c16f7[0x17]),_0x5f5c24=_0x48378e(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x454bc0,0x5,_0x5c16f7[0x18]),_0xbe179d=_0x48378e(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x261ee4,0x9,_0x5c16f7[0x19]),_0x249549=_0x48378e(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x46ece4,0xe,_0x5c16f7[0x1a]),_0x455225=_0x48378e(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x427727,0x14,_0x5c16f7[0x1b]),_0x5f5c24=_0x48378e(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x2b4345,0x5,_0x5c16f7[0x1c]),_0xbe179d=_0x48378e(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x142734,0x9,_0x5c16f7[0x1d]),_0x249549=_0x48378e(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x1eaf18,0xe,_0x5c16f7[0x1e]),_0x455225=_0x48378e(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x1d02c7,0x14,_0x5c16f7[0x1f]),_0x5f5c24=_0x133146(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x456f77,0x4,_0x5c16f7[0x20]),_0xbe179d=_0x133146(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x427727,0xb,_0x5c16f7[0x21]),_0x249549=_0x133146(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x56179c,0x10,_0x5c16f7[0x22]),_0x455225=_0x133146(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x261ee4,0x17,_0x5c16f7[0x23]),_0x5f5c24=_0x133146(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x43c108,0x4,_0x5c16f7[0x24]),_0xbe179d=_0x133146(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0xfe312a,0xb,_0x5c16f7[0x25]),_0x249549=_0x133146(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x1eaf18,0x10,_0x5c16f7[0x26]),_0x455225=_0x133146(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x2c2474,0x17,_0x5c16f7[0x27]),_0x5f5c24=_0x133146(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x2b4345,0x4,_0x5c16f7[0x28]),_0xbe179d=_0x133146(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x5cb94f,0xb,_0x5c16f7[0x29]),_0x249549=_0x133146(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x46ece4,0x10,_0x5c16f7[0x2a]),_0x455225=_0x133146(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x3cee1c,0x17,_0x5c16f7[0x2b]),_0x5f5c24=_0x133146(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x454bc0,0x4,_0x5c16f7[0x2c]),_0xbe179d=_0x133146(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x1d02c7,0xb,_0x5c16f7[0x2d]),_0x249549=_0x133146(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x5ac714,0x10,_0x5c16f7[0x2e]),_0x455225=_0x133146(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x142734,0x17,_0x5c16f7[0x2f]),_0x5f5c24=_0x433ace(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x5cb94f,0x6,_0x5c16f7[0x30]),_0xbe179d=_0x433ace(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x1eaf18,0xa,_0x5c16f7[0x31]),_0x249549=_0x433ace(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x261ee4,0xf,_0x5c16f7[0x32]),_0x455225=_0x433ace(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x456f77,0x15,_0x5c16f7[0x33]),_0x5f5c24=_0x433ace(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x1d02c7,0x6,_0x5c16f7[0x34]),_0xbe179d=_0x433ace(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x46ece4,0xa,_0x5c16f7[0x35]),_0x249549=_0x433ace(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x2c2474,0xf,_0x5c16f7[0x36]),_0x455225=_0x433ace(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x43c108,0x15,_0x5c16f7[0x37]),_0x5f5c24=_0x433ace(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0x427727,0x6,_0x5c16f7[0x38]),_0xbe179d=_0x433ace(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x5ac714,0xa,_0x5c16f7[0x39]),_0x249549=_0x433ace(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x3cee1c,0xf,_0x5c16f7[0x3a]),_0x455225=_0x433ace(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x2b4345,0x15,_0x5c16f7[0x3b]),_0x5f5c24=_0x433ace(_0x5f5c24,_0x455225,_0x249549,_0xbe179d,_0xfe312a,0x6,_0x5c16f7[0x3c]),_0xbe179d=_0x433ace(_0xbe179d,_0x5f5c24,_0x455225,_0x249549,_0x56179c,0xa,_0x5c16f7[0x3d]),_0x249549=_0x433ace(_0x249549,_0xbe179d,_0x5f5c24,_0x455225,_0x142734,0xf,_0x5c16f7[0x3e]),_0x455225=_0x433ace(_0x455225,_0x249549,_0xbe179d,_0x5f5c24,_0x454bc0,0x15,_0x5c16f7[0x3f]),_0x39cedf[0x0]=_0x39cedf[0x0]+_0x5f5c24|0x0,_0x39cedf[0x1]=_0x39cedf[0x1]+_0x455225|0x0,_0x39cedf[0x2]=_0x39cedf[0x2]+_0x249549|0x0,_0x39cedf[0x3]=_0x39cedf[0x3]+_0xbe179d|0x0;},'_doFinalize':function(){var _0x273da1=_0x2230ac,_0x594295=this[_0x273da1(0x22e)],_0x1186ae=_0x594295[_0x273da1(0x4b4)],_0x4f3b84=this[_0x273da1(0x1b2)]*0x8,_0x4e861d=_0x594295[_0x273da1(0x1a8)]*0x8;_0x1186ae[_0x4e861d>>>0x5]|=0x80<<0x18-_0x4e861d%0x20;var _0x246f07=_0x58d087[_0x273da1(0x399)](_0x4f3b84/0x100000000),_0x12b133=_0x4f3b84;_0x1186ae[(_0x4e861d+0x40>>>0x9<<0x4)+0xf]=(_0x246f07<<0x8|_0x246f07>>>0x18)&0xff00ff|(_0x246f07<<0x18|_0x246f07>>>0x8)&0xff00ff00,_0x1186ae[(_0x4e861d+0x40>>>0x9<<0x4)+0xe]=(_0x12b133<<0x8|_0x12b133>>>0x18)&0xff00ff|(_0x12b133<<0x18|_0x12b133>>>0x8)&0xff00ff00,_0x594295[_0x273da1(0x1a8)]=(_0x1186ae[_0x273da1(0x354)]+0x1)*0x4,this[_0x273da1(0x3a9)]();for(var _0x36a86a=this['_hash'],_0x58696c=_0x36a86a[_0x273da1(0x4b4)],_0x4ce8b3=0x0;_0x4ce8b3<0x4;_0x4ce8b3++){var _0x1967b8=_0x58696c[_0x4ce8b3];_0x58696c[_0x4ce8b3]=(_0x1967b8<<0x8|_0x1967b8>>>0x18)&0xff00ff|(_0x1967b8<<0x18|_0x1967b8>>>0x8)&0xff00ff00;}return _0x36a86a;},'clone':function(){var _0xce0df8=_0x2230ac,_0x593ee4=_0xa27eb[_0xce0df8(0x206)][_0xce0df8(0x1ed)](this);return _0x593ee4['_hash']=this[_0xce0df8(0x2f7)]['clone'](),_0x593ee4;}});function _0x9cc16b(_0x2be8c9,_0x25245a,_0x3a55be,_0x5aff7e,_0x55da39,_0x3da343,_0x48a168){var _0x642b61=_0x2be8c9+(_0x25245a&_0x3a55be|~_0x25245a&_0x5aff7e)+_0x55da39+_0x48a168;return(_0x642b61<<_0x3da343|_0x642b61>>>0x20-_0x3da343)+_0x25245a;}function _0x48378e(_0x28cbf5,_0x50e238,_0x3c9298,_0x4f97ee,_0x4ccfb5,_0x4215b4,_0x101a1c){var _0x41c3cb=_0x28cbf5+(_0x50e238&_0x4f97ee|_0x3c9298&~_0x4f97ee)+_0x4ccfb5+_0x101a1c;return(_0x41c3cb<<_0x4215b4|_0x41c3cb>>>0x20-_0x4215b4)+_0x50e238;}function _0x133146(_0x21bc29,_0x5bf15a,_0x497a24,_0x37d0e6,_0xf079c7,_0x347a29,_0x22f48e){var _0x4fe491=_0x21bc29+(_0x5bf15a^_0x497a24^_0x37d0e6)+_0xf079c7+_0x22f48e;return(_0x4fe491<<_0x347a29|_0x4fe491>>>0x20-_0x347a29)+_0x5bf15a;}function _0x433ace(_0x5a4a86,_0x4558e9,_0x274a8d,_0x1cbfc9,_0x4832ee,_0x556211,_0x30e98d){var _0x1eae9f=_0x5a4a86+(_0x274a8d^(_0x4558e9|~_0x1cbfc9))+_0x4832ee+_0x30e98d;return(_0x1eae9f<<_0x556211|_0x1eae9f>>>0x20-_0x556211)+_0x4558e9;}_0x5052f5[_0x2230ac(0x293)]=_0xa27eb[_0x2230ac(0x185)](_0x3c2a8d),_0x5052f5['HmacMD5']=_0xa27eb[_0x2230ac(0x4f2)](_0x3c2a8d);}(Math),_0x29e4b1[_0x2e9fd1(0x293)];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},bi=ge['exports'],Je;function Ri(){return Je||(Je=0x1,function(_0x4a1554,_0x1765cf){(function(_0x4f4c9f,_0x585b0b){var _0x49c319=_0x5915;_0x4a1554[_0x49c319(0x349)]=_0x585b0b(Z());}(bi,function(_0x37ece0){var _0x463e18=_0x5915;return(function(){var _0x433525=_0x5915,_0x40adcb=_0x37ece0,_0x30dd36=_0x40adcb['lib'],_0x4f6cba=_0x30dd36[_0x433525(0x2f5)],_0x548bc5=_0x30dd36[_0x433525(0x2fa)],_0xc35169=_0x40adcb[_0x433525(0x2f3)],_0x19179c=[],_0x291218=_0xc35169[_0x433525(0x2f1)]=_0x548bc5['extend']({'_doReset':function(){var _0x2b2618=_0x433525;this[_0x2b2618(0x2f7)]=new _0x4f6cba[(_0x2b2618(0x187))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d3287,_0x5daf89){var _0x49f813=_0x433525;for(var _0x2df541=this['_hash'][_0x49f813(0x4b4)],_0xd18e26=_0x2df541[0x0],_0x190eb2=_0x2df541[0x1],_0x4a6287=_0x2df541[0x2],_0xe61ca3=_0x2df541[0x3],_0x23dfa3=_0x2df541[0x4],_0x22f551=0x0;_0x22f551<0x50;_0x22f551++){if(_0x22f551<0x10)_0x19179c[_0x22f551]=_0x2d3287[_0x5daf89+_0x22f551]|0x0;else{var _0x351793=_0x19179c[_0x22f551-0x3]^_0x19179c[_0x22f551-0x8]^_0x19179c[_0x22f551-0xe]^_0x19179c[_0x22f551-0x10];_0x19179c[_0x22f551]=_0x351793<<0x1|_0x351793>>>0x1f;}var _0x26c230=(_0xd18e26<<0x5|_0xd18e26>>>0x1b)+_0x23dfa3+_0x19179c[_0x22f551];_0x22f551<0x14?_0x26c230+=(_0x190eb2&_0x4a6287|~_0x190eb2&_0xe61ca3)+0x5a827999:_0x22f551<0x28?_0x26c230+=(_0x190eb2^_0x4a6287^_0xe61ca3)+0x6ed9eba1:_0x22f551<0x3c?_0x26c230+=(_0x190eb2&_0x4a6287|_0x190eb2&_0xe61ca3|_0x4a6287&_0xe61ca3)-0x70e44324:_0x26c230+=(_0x190eb2^_0x4a6287^_0xe61ca3)-0x359d3e2a,_0x23dfa3=_0xe61ca3,_0xe61ca3=_0x4a6287,_0x4a6287=_0x190eb2<<0x1e|_0x190eb2>>>0x2,_0x190eb2=_0xd18e26,_0xd18e26=_0x26c230;}_0x2df541[0x0]=_0x2df541[0x0]+_0xd18e26|0x0,_0x2df541[0x1]=_0x2df541[0x1]+_0x190eb2|0x0,_0x2df541[0x2]=_0x2df541[0x2]+_0x4a6287|0x0,_0x2df541[0x3]=_0x2df541[0x3]+_0xe61ca3|0x0,_0x2df541[0x4]=_0x2df541[0x4]+_0x23dfa3|0x0;},'_doFinalize':function(){var _0x287147=_0x433525,_0x5a71cf=this[_0x287147(0x22e)],_0x4c88e4=_0x5a71cf[_0x287147(0x4b4)],_0x4431fe=this[_0x287147(0x1b2)]*0x8,_0x30e739=_0x5a71cf['sigBytes']*0x8;return _0x4c88e4[_0x30e739>>>0x5]|=0x80<<0x18-_0x30e739%0x20,_0x4c88e4[(_0x30e739+0x40>>>0x9<<0x4)+0xe]=Math[_0x287147(0x399)](_0x4431fe/0x100000000),_0x4c88e4[(_0x30e739+0x40>>>0x9<<0x4)+0xf]=_0x4431fe,_0x5a71cf['sigBytes']=_0x4c88e4[_0x287147(0x354)]*0x4,this[_0x287147(0x3a9)](),this[_0x287147(0x2f7)];},'clone':function(){var _0x452236=_0x433525,_0x2f4856=_0x548bc5[_0x452236(0x206)]['call'](this);return _0x2f4856['_hash']=this[_0x452236(0x2f7)][_0x452236(0x206)](),_0x2f4856;}});_0x40adcb['SHA1']=_0x548bc5[_0x433525(0x185)](_0x291218),_0x40adcb[_0x433525(0x222)]=_0x548bc5[_0x433525(0x4f2)](_0x291218);}()),_0x37ece0[_0x463e18(0x2f1)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ni=Te[_0x4abd4f(0x349)],Ze;function Di(){var _0x1dea70=_0x4abd4f;return Ze||(Ze=0x1,function(_0x17085d,_0x1c52eb){(function(_0xceecc,_0x18a1dd){var _0x14bf15=_0x5915;_0x17085d[_0x14bf15(0x349)]=_0x18a1dd(Z());}(Ni,function(_0x4e157d){(function(){var _0x22b097=_0x5915,_0x58e3ab=_0x4e157d,_0x34709a=_0x58e3ab[_0x22b097(0x227)],_0x1d9926=_0x34709a[_0x22b097(0x3b5)],_0x44308e=_0x58e3ab[_0x22b097(0x39b)],_0x1aa225=_0x44308e['Utf8'],_0x3c8c36=_0x58e3ab[_0x22b097(0x2f3)];_0x3c8c36[_0x22b097(0x1f8)]=_0x1d9926[_0x22b097(0x33f)]({'init':function(_0x530883,_0x267a68){var _0x2ca299=_0x22b097;_0x530883=this['_hasher']=new _0x530883[(_0x2ca299(0x187))](),typeof _0x267a68==_0x2ca299(0x2d4)&&(_0x267a68=_0x1aa225[_0x2ca299(0x4d8)](_0x267a68));var _0x19c1e8=_0x530883[_0x2ca299(0x3b0)],_0x52f485=_0x19c1e8*0x4;_0x267a68[_0x2ca299(0x1a8)]>_0x52f485&&(_0x267a68=_0x530883['finalize'](_0x267a68)),_0x267a68[_0x2ca299(0x211)]();for(var _0x2984c9=this[_0x2ca299(0x4dc)]=_0x267a68['clone'](),_0x4208ad=this['_iKey']=_0x267a68[_0x2ca299(0x206)](),_0x4f7d4d=_0x2984c9[_0x2ca299(0x4b4)],_0x2f183e=_0x4208ad[_0x2ca299(0x4b4)],_0x534629=0x0;_0x534629<_0x19c1e8;_0x534629++)_0x4f7d4d[_0x534629]^=0x5c5c5c5c,_0x2f183e[_0x534629]^=0x36363636;_0x2984c9[_0x2ca299(0x1a8)]=_0x4208ad['sigBytes']=_0x52f485,this['reset']();},'reset':function(){var _0x4b1b7e=_0x22b097,_0x51e6fa=this['_hasher'];_0x51e6fa[_0x4b1b7e(0x35f)](),_0x51e6fa[_0x4b1b7e(0x316)](this[_0x4b1b7e(0x3e3)]);},'update':function(_0x7ad401){var _0x42fd4d=_0x22b097;return this[_0x42fd4d(0x4fc)]['update'](_0x7ad401),this;},'finalize':function(_0x2eaf64){var _0x2f40af=_0x22b097,_0x1d4f8b=this['_hasher'],_0x32bf25=_0x1d4f8b[_0x2f40af(0x276)](_0x2eaf64);_0x1d4f8b[_0x2f40af(0x35f)]();var _0x3aca8f=_0x1d4f8b[_0x2f40af(0x276)](this[_0x2f40af(0x4dc)][_0x2f40af(0x206)]()[_0x2f40af(0x2e0)](_0x32bf25));return _0x3aca8f;}});}());}));}(Te)),Te[_0x1dea70(0x349)];}var yi=me[_0x4abd4f(0x349)],Qe;function Tt(){var _0x44d1ee=_0x4abd4f;return Qe||(Qe=0x1,function(_0x50c076,_0x2ef271){(function(_0x1e33a8,_0x496cf7,_0x3c333c){var _0x5134bc=_0x5915;_0x50c076[_0x5134bc(0x349)]=_0x496cf7(Z(),Ri(),Di());}(yi,function(_0x440d96){return(function(){var _0x138daa=_0x5915,_0x5ca4b3=_0x440d96,_0xff36b0=_0x5ca4b3[_0x138daa(0x227)],_0x1a887f=_0xff36b0[_0x138daa(0x3b5)],_0x52eec3=_0xff36b0[_0x138daa(0x2f5)],_0x1f73f9=_0x5ca4b3[_0x138daa(0x2f3)],_0x5c734c=_0x1f73f9[_0x138daa(0x293)],_0x376876=_0x1f73f9[_0x138daa(0x2bc)]=_0x1a887f['extend']({'cfg':_0x1a887f['extend']({'keySize':0x80/0x20,'hasher':_0x5c734c,'iterations':0x1}),'init':function(_0x15c7e2){var _0x185997=_0x138daa;this[_0x185997(0x3b4)]=this[_0x185997(0x3b4)][_0x185997(0x33f)](_0x15c7e2);},'compute':function(_0x5572e0,_0x4cc7aa){var _0xb50236=_0x138daa;for(var _0x50b06a,_0x32d975=this['cfg'],_0x1433a2=_0x32d975[_0xb50236(0x468)][_0xb50236(0x2e6)](),_0x2cc04d=_0x52eec3[_0xb50236(0x2e6)](),_0x34afb0=_0x2cc04d[_0xb50236(0x4b4)],_0x187845=_0x32d975['keySize'],_0x1ad7ff=_0x32d975[_0xb50236(0x466)];_0x34afb0[_0xb50236(0x354)]<_0x187845;){_0x50b06a&&_0x1433a2['update'](_0x50b06a),_0x50b06a=_0x1433a2[_0xb50236(0x316)](_0x5572e0)[_0xb50236(0x276)](_0x4cc7aa),_0x1433a2[_0xb50236(0x35f)]();for(var _0x25912e=0x1;_0x25912e<_0x1ad7ff;_0x25912e++)_0x50b06a=_0x1433a2[_0xb50236(0x276)](_0x50b06a),_0x1433a2[_0xb50236(0x35f)]();_0x2cc04d['concat'](_0x50b06a);}return _0x2cc04d[_0xb50236(0x1a8)]=_0x187845*0x4,_0x2cc04d;}});_0x5ca4b3[_0x138daa(0x2bc)]=function(_0x2eb5d2,_0x46da4b,_0x5e40db){var _0x49d8f9=_0x138daa;return _0x376876[_0x49d8f9(0x2e6)](_0x5e40db)[_0x49d8f9(0x4b7)](_0x2eb5d2,_0x46da4b);};}()),_0x440d96['EvpKDF'];}));}(me)),me[_0x44d1ee(0x349)];}var Ce={'exports':{}},Ui=Ce[_0x4abd4f(0x349)],et;function Ct(){return et||(et=0x1,function(_0x24e9ca,_0x1ead86){(function(_0x121365,_0x3d667c,_0x4fefef){var _0x229fcd=_0x5915;_0x24e9ca[_0x229fcd(0x349)]=_0x3d667c(Z(),Tt());}(Ui,function(_0x18d6d7){var _0x393911=_0x5915;_0x18d6d7[_0x393911(0x227)][_0x393911(0x45f)]||function(_0x3e1b1e){var _0x2700b0=_0x393911,_0x2fa1a8=_0x18d6d7,_0x1ee8c4=_0x2fa1a8[_0x2700b0(0x227)],_0x577013=_0x1ee8c4[_0x2700b0(0x3b5)],_0x816766=_0x1ee8c4[_0x2700b0(0x2f5)],_0x16a227=_0x1ee8c4[_0x2700b0(0x243)],_0x29f737=_0x2fa1a8['enc'];_0x29f737[_0x2700b0(0x3df)];var _0x3234ef=_0x29f737['Base64'],_0x3ffa87=_0x2fa1a8[_0x2700b0(0x2f3)],_0x255d06=_0x3ffa87[_0x2700b0(0x2bc)],_0x3c378d=_0x1ee8c4[_0x2700b0(0x45f)]=_0x16a227[_0x2700b0(0x33f)]({'cfg':_0x577013['extend'](),'createEncryptor':function(_0x37b7c8,_0x189f58){var _0x2f7d97=_0x2700b0;return this[_0x2f7d97(0x2e6)](this[_0x2f7d97(0x49a)],_0x37b7c8,_0x189f58);},'createDecryptor':function(_0xe90dd,_0x32a06d){var _0x6aaa51=_0x2700b0;return this[_0x6aaa51(0x2e6)](this[_0x6aaa51(0x2ad)],_0xe90dd,_0x32a06d);},'init':function(_0x16c395,_0x779f51,_0x3dd4ce){var _0x18f9a6=_0x2700b0;this[_0x18f9a6(0x3b4)]=this[_0x18f9a6(0x3b4)][_0x18f9a6(0x33f)](_0x3dd4ce),this[_0x18f9a6(0x4c8)]=_0x16c395,this[_0x18f9a6(0x196)]=_0x779f51,this['reset']();},'reset':function(){var _0x48583a=_0x2700b0;_0x16a227[_0x48583a(0x35f)][_0x48583a(0x1ed)](this),this['_doReset']();},'process':function(_0x249ac5){var _0x4a5814=_0x2700b0;return this[_0x4a5814(0x23d)](_0x249ac5),this['_process']();},'finalize':function(_0x2822ac){var _0x254b25=_0x2700b0;_0x2822ac&&this[_0x254b25(0x23d)](_0x2822ac);var _0x47e437=this[_0x254b25(0x367)]();return _0x47e437;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x836276(_0x30b46a){var _0x36e648=_0x5915;return typeof _0x30b46a==_0x36e648(0x2d4)?_0x3e7af1:_0x3f3d76;}return function(_0x5828a8){return{'encrypt':function(_0x4c35e4,_0x24e117,_0xfbbc9b){var _0x449333=_0x5915;return _0x836276(_0x24e117)[_0x449333(0x358)](_0x5828a8,_0x4c35e4,_0x24e117,_0xfbbc9b);},'decrypt':function(_0x233d93,_0x32db17,_0x3fadcb){var _0x124ff8=_0x5915;return _0x836276(_0x32db17)[_0x124ff8(0x20d)](_0x5828a8,_0x233d93,_0x32db17,_0x3fadcb);}};};}())});_0x1ee8c4['StreamCipher']=_0x3c378d[_0x2700b0(0x33f)]({'_doFinalize':function(){var _0x1cc4dd=this['_process'](!0x0);return _0x1cc4dd;},'blockSize':0x1});var _0x2784e5=_0x2fa1a8[_0x2700b0(0x2b0)]={},_0x1c72b6=_0x1ee8c4[_0x2700b0(0x3e1)]=_0x577013[_0x2700b0(0x33f)]({'createEncryptor':function(_0x2c6955,_0x2c124b){var _0x1b51b4=_0x2700b0;return this['Encryptor'][_0x1b51b4(0x2e6)](_0x2c6955,_0x2c124b);},'createDecryptor':function(_0x46854b,_0x5f3bc3){var _0x22a643=_0x2700b0;return this[_0x22a643(0x47e)][_0x22a643(0x2e6)](_0x46854b,_0x5f3bc3);},'init':function(_0x55cc6e,_0x390d24){var _0x2eb1ff=_0x2700b0;this['_cipher']=_0x55cc6e,this[_0x2eb1ff(0x459)]=_0x390d24;}}),_0x4ee1a0=_0x2784e5[_0x2700b0(0x2e1)]=(function(){var _0x53a5e6=_0x2700b0,_0x378bc9=_0x1c72b6[_0x53a5e6(0x33f)]();_0x378bc9[_0x53a5e6(0x493)]=_0x378bc9[_0x53a5e6(0x33f)]({'processBlock':function(_0x88ef86,_0x45469c){var _0x4cbd77=_0x53a5e6,_0x3dc427=this[_0x4cbd77(0x2ec)],_0x47d6d5=_0x3dc427['blockSize'];_0x1e951b[_0x4cbd77(0x1ed)](this,_0x88ef86,_0x45469c,_0x47d6d5),_0x3dc427[_0x4cbd77(0x269)](_0x88ef86,_0x45469c),this[_0x4cbd77(0x30e)]=_0x88ef86[_0x4cbd77(0x439)](_0x45469c,_0x45469c+_0x47d6d5);}}),_0x378bc9[_0x53a5e6(0x47e)]=_0x378bc9[_0x53a5e6(0x33f)]({'processBlock':function(_0x104dd1,_0x3db6b0){var _0x5c9bb6=_0x53a5e6,_0x11b089=this[_0x5c9bb6(0x2ec)],_0x382d02=_0x11b089[_0x5c9bb6(0x3b0)],_0x2460e9=_0x104dd1[_0x5c9bb6(0x439)](_0x3db6b0,_0x3db6b0+_0x382d02);_0x11b089['decryptBlock'](_0x104dd1,_0x3db6b0),_0x1e951b[_0x5c9bb6(0x1ed)](this,_0x104dd1,_0x3db6b0,_0x382d02),this[_0x5c9bb6(0x30e)]=_0x2460e9;}});function _0x1e951b(_0x3a2a70,_0x64ade8,_0x226128){var _0x567500=_0x53a5e6,_0x22c32c,_0x408354=this[_0x567500(0x459)];_0x408354?(_0x22c32c=_0x408354,this[_0x567500(0x459)]=_0x3e1b1e):_0x22c32c=this[_0x567500(0x30e)];for(var _0x4e3f4e=0x0;_0x4e3f4e<_0x226128;_0x4e3f4e++)_0x3a2a70[_0x64ade8+_0x4e3f4e]^=_0x22c32c[_0x4e3f4e];}return _0x378bc9;}()),_0x275327=_0x2fa1a8[_0x2700b0(0x3cb)]={},_0x24ce48=_0x275327[_0x2700b0(0x26c)]={'pad':function(_0x5e5e1a,_0x236959){var _0x64f558=_0x2700b0;for(var _0x4cc5cf=_0x236959*0x4,_0x24300=_0x4cc5cf-_0x5e5e1a[_0x64f558(0x1a8)]%_0x4cc5cf,_0x279e21=_0x24300<<0x18|_0x24300<<0x10|_0x24300<<0x8|_0x24300,_0x28f1a4=[],_0x14e7c4=0x0;_0x14e7c4<_0x24300;_0x14e7c4+=0x4)_0x28f1a4[_0x64f558(0x4e6)](_0x279e21);var _0x84e552=_0x816766[_0x64f558(0x2e6)](_0x28f1a4,_0x24300);_0x5e5e1a[_0x64f558(0x2e0)](_0x84e552);},'unpad':function(_0x553855){var _0x39ed6a=_0x2700b0,_0x20ef79=_0x553855[_0x39ed6a(0x4b4)][_0x553855[_0x39ed6a(0x1a8)]-0x1>>>0x2]&0xff;_0x553855['sigBytes']-=_0x20ef79;}};_0x1ee8c4[_0x2700b0(0x219)]=_0x3c378d[_0x2700b0(0x33f)]({'cfg':_0x3c378d[_0x2700b0(0x3b4)][_0x2700b0(0x33f)]({'mode':_0x4ee1a0,'padding':_0x24ce48}),'reset':function(){var _0x31b656=_0x2700b0,_0x348649;_0x3c378d['reset'][_0x31b656(0x1ed)](this);var _0x4ec82b=this['cfg'],_0x44a444=_0x4ec82b['iv'],_0xed1727=_0x4ec82b['mode'];this[_0x31b656(0x4c8)]==this[_0x31b656(0x49a)]?_0x348649=_0xed1727['createEncryptor']:(_0x348649=_0xed1727[_0x31b656(0x2e3)],this[_0x31b656(0x28c)]=0x1),this[_0x31b656(0x3b7)]&&this[_0x31b656(0x3b7)][_0x31b656(0x2b7)]==_0x348649?this[_0x31b656(0x3b7)]['init'](this,_0x44a444&&_0x44a444[_0x31b656(0x4b4)]):(this[_0x31b656(0x3b7)]=_0x348649[_0x31b656(0x1ed)](_0xed1727,this,_0x44a444&&_0x44a444[_0x31b656(0x4b4)]),this[_0x31b656(0x3b7)][_0x31b656(0x2b7)]=_0x348649);},'_doProcessBlock':function(_0x29b413,_0x1e3917){var _0x564354=_0x2700b0;this[_0x564354(0x3b7)][_0x564354(0x19d)](_0x29b413,_0x1e3917);},'_doFinalize':function(){var _0x382742=_0x2700b0,_0x419027,_0x17705c=this[_0x382742(0x3b4)][_0x382742(0x23f)];return this['_xformMode']==this[_0x382742(0x49a)]?(_0x17705c[_0x382742(0x3cb)](this[_0x382742(0x22e)],this[_0x382742(0x3b0)]),_0x419027=this['_process'](!0x0)):(_0x419027=this[_0x382742(0x3a9)](!0x0),_0x17705c[_0x382742(0x25a)](_0x419027)),_0x419027;},'blockSize':0x80/0x20});var _0x5b005f=_0x1ee8c4['CipherParams']=_0x577013[_0x2700b0(0x33f)]({'init':function(_0x316fe1){var _0x26a9f6=_0x2700b0;this[_0x26a9f6(0x232)](_0x316fe1);},'toString':function(_0x1b0b48){var _0x5cae06=_0x2700b0;return(_0x1b0b48||this['formatter'])[_0x5cae06(0x251)](this);}}),_0x15909c=_0x2fa1a8['format']={},_0xc66774=_0x15909c[_0x2700b0(0x469)]={'stringify':function(_0x1c024b){var _0x2b45fb=_0x2700b0,_0x3e5a31,_0x221c6e=_0x1c024b['ciphertext'],_0x2f2667=_0x1c024b[_0x2b45fb(0x260)];return _0x2f2667?_0x3e5a31=_0x816766[_0x2b45fb(0x2e6)]([0x53616c74,0x65645f5f])[_0x2b45fb(0x2e0)](_0x2f2667)[_0x2b45fb(0x2e0)](_0x221c6e):_0x3e5a31=_0x221c6e,_0x3e5a31[_0x2b45fb(0x30b)](_0x3234ef);},'parse':function(_0x13fa5d){var _0x336f28=_0x2700b0,_0x9dd172,_0x4d8577=_0x3234ef[_0x336f28(0x4d8)](_0x13fa5d),_0x166740=_0x4d8577[_0x336f28(0x4b4)];return _0x166740[0x0]==0x53616c74&&_0x166740[0x1]==0x65645f5f&&(_0x9dd172=_0x816766[_0x336f28(0x2e6)](_0x166740['slice'](0x2,0x4)),_0x166740[_0x336f28(0x36b)](0x0,0x4),_0x4d8577[_0x336f28(0x1a8)]-=0x10),_0x5b005f[_0x336f28(0x2e6)]({'ciphertext':_0x4d8577,'salt':_0x9dd172});}},_0x3f3d76=_0x1ee8c4[_0x2700b0(0x17f)]=_0x577013[_0x2700b0(0x33f)]({'cfg':_0x577013[_0x2700b0(0x33f)]({'format':_0xc66774}),'encrypt':function(_0x455715,_0x5d787a,_0x59cfae,_0xc11eb4){var _0x53a999=_0x2700b0;_0xc11eb4=this['cfg'][_0x53a999(0x33f)](_0xc11eb4);var _0x49bee1=_0x455715['createEncryptor'](_0x59cfae,_0xc11eb4),_0x1c2f60=_0x49bee1[_0x53a999(0x276)](_0x5d787a),_0x599039=_0x49bee1[_0x53a999(0x3b4)];return _0x5b005f['create']({'ciphertext':_0x1c2f60,'key':_0x59cfae,'iv':_0x599039['iv'],'algorithm':_0x455715,'mode':_0x599039[_0x53a999(0x2b0)],'padding':_0x599039[_0x53a999(0x23f)],'blockSize':_0x455715['blockSize'],'formatter':_0xc11eb4['format']});},'decrypt':function(_0x2146ae,_0x52eee7,_0xf4789e,_0x28009d){var _0x2ca918=_0x2700b0;_0x28009d=this[_0x2ca918(0x3b4)][_0x2ca918(0x33f)](_0x28009d),_0x52eee7=this['_parse'](_0x52eee7,_0x28009d['format']);var _0x4eeef9=_0x2146ae[_0x2ca918(0x2e3)](_0xf4789e,_0x28009d)['finalize'](_0x52eee7['ciphertext']);return _0x4eeef9;},'_parse':function(_0x2b7e4f,_0x45c2b2){var _0x115e66=_0x2700b0;return typeof _0x2b7e4f==_0x115e66(0x2d4)?_0x45c2b2['parse'](_0x2b7e4f,this):_0x2b7e4f;}}),_0x3d9f63=_0x2fa1a8[_0x2700b0(0x29f)]={},_0x548e06=_0x3d9f63[_0x2700b0(0x469)]={'execute':function(_0x5d71bf,_0x5c17db,_0x334dc8,_0x496ca0,_0x5a8b1c){var _0x1f06b9=_0x2700b0;if(_0x496ca0||(_0x496ca0=_0x816766['random'](0x40/0x8)),_0x5a8b1c)var _0x12602b=_0x255d06[_0x1f06b9(0x2e6)]({'keySize':_0x5c17db+_0x334dc8,'hasher':_0x5a8b1c})[_0x1f06b9(0x4b7)](_0x5d71bf,_0x496ca0);else var _0x12602b=_0x255d06[_0x1f06b9(0x2e6)]({'keySize':_0x5c17db+_0x334dc8})[_0x1f06b9(0x4b7)](_0x5d71bf,_0x496ca0);var _0x3183b0=_0x816766[_0x1f06b9(0x2e6)](_0x12602b[_0x1f06b9(0x4b4)]['slice'](_0x5c17db),_0x334dc8*0x4);return _0x12602b[_0x1f06b9(0x1a8)]=_0x5c17db*0x4,_0x5b005f[_0x1f06b9(0x2e6)]({'key':_0x12602b,'iv':_0x3183b0,'salt':_0x496ca0});}},_0x3e7af1=_0x1ee8c4['PasswordBasedCipher']=_0x3f3d76[_0x2700b0(0x33f)]({'cfg':_0x3f3d76['cfg'][_0x2700b0(0x33f)]({'kdf':_0x548e06}),'encrypt':function(_0x2ebaf6,_0x29a48e,_0x939a69,_0x33cf4d){var _0x37e47b=_0x2700b0;_0x33cf4d=this['cfg'][_0x37e47b(0x33f)](_0x33cf4d);var _0x1c9534=_0x33cf4d['kdf'][_0x37e47b(0x27f)](_0x939a69,_0x2ebaf6[_0x37e47b(0x26a)],_0x2ebaf6['ivSize'],_0x33cf4d['salt'],_0x33cf4d[_0x37e47b(0x468)]);_0x33cf4d['iv']=_0x1c9534['iv'];var _0x101140=_0x3f3d76[_0x37e47b(0x358)][_0x37e47b(0x1ed)](this,_0x2ebaf6,_0x29a48e,_0x1c9534[_0x37e47b(0x47a)],_0x33cf4d);return _0x101140['mixIn'](_0x1c9534),_0x101140;},'decrypt':function(_0x5b9932,_0x5e82cd,_0x5b073a,_0x55a4a1){var _0x303639=_0x2700b0;_0x55a4a1=this[_0x303639(0x3b4)][_0x303639(0x33f)](_0x55a4a1),_0x5e82cd=this[_0x303639(0x306)](_0x5e82cd,_0x55a4a1[_0x303639(0x2bd)]);var _0x5105d8=_0x55a4a1[_0x303639(0x29f)][_0x303639(0x27f)](_0x5b073a,_0x5b9932['keySize'],_0x5b9932[_0x303639(0x406)],_0x5e82cd[_0x303639(0x260)],_0x55a4a1[_0x303639(0x468)]);_0x55a4a1['iv']=_0x5105d8['iv'];var _0x3764b9=_0x3f3d76[_0x303639(0x20d)][_0x303639(0x1ed)](this,_0x5b9932,_0x5e82cd,_0x5105d8[_0x303639(0x47a)],_0x55a4a1);return _0x3764b9;}});}();}));}(Ce)),Ce['exports'];}var Ai=Ie['exports'],tt;function Pi(){var _0x49f7d=_0x4abd4f;return tt||(tt=0x1,function(_0x511c47,_0x260c52){(function(_0x32e74c,_0x243fcd,_0x28f0d8){var _0x218a2e=_0x5915;_0x511c47[_0x218a2e(0x349)]=_0x243fcd(Z(),gt(),Oi(),Tt(),Ct());}(Ai,function(_0x4f5857){var _0xbf2eab=_0x5915;return(function(){var _0x2fd14f=_0x5915,_0x577edb=_0x4f5857,_0x113b14=_0x577edb['lib'],_0x34dbaa=_0x113b14[_0x2fd14f(0x219)],_0x1f305c=_0x577edb['algo'],_0x2b8883=[],_0x19991e=[],_0x57b90a=[],_0x5626cf=[],_0x420f37=[],_0x163351=[],_0x4ddd4a=[],_0xbe4ab3=[],_0x7e36ca=[],_0x16b871=[];(function(){for(var _0x5868c2=[],_0x5b4364=0x0;_0x5b4364<0x100;_0x5b4364++)_0x5b4364<0x80?_0x5868c2[_0x5b4364]=_0x5b4364<<0x1:_0x5868c2[_0x5b4364]=_0x5b4364<<0x1^0x11b;for(var _0x7acc13=0x0,_0x15d4d2=0x0,_0x5b4364=0x0;_0x5b4364<0x100;_0x5b4364++){var _0x50a75a=_0x15d4d2^_0x15d4d2<<0x1^_0x15d4d2<<0x2^_0x15d4d2<<0x3^_0x15d4d2<<0x4;_0x50a75a=_0x50a75a>>>0x8^_0x50a75a&0xff^0x63,_0x2b8883[_0x7acc13]=_0x50a75a,_0x19991e[_0x50a75a]=_0x7acc13;var _0x9d1a67=_0x5868c2[_0x7acc13],_0x37e8fc=_0x5868c2[_0x9d1a67],_0x2a3655=_0x5868c2[_0x37e8fc],_0x1056c7=_0x5868c2[_0x50a75a]*0x101^_0x50a75a*0x1010100;_0x57b90a[_0x7acc13]=_0x1056c7<<0x18|_0x1056c7>>>0x8,_0x5626cf[_0x7acc13]=_0x1056c7<<0x10|_0x1056c7>>>0x10,_0x420f37[_0x7acc13]=_0x1056c7<<0x8|_0x1056c7>>>0x18,_0x163351[_0x7acc13]=_0x1056c7;var _0x1056c7=_0x2a3655*0x1010101^_0x37e8fc*0x10001^_0x9d1a67*0x101^_0x7acc13*0x1010100;_0x4ddd4a[_0x50a75a]=_0x1056c7<<0x18|_0x1056c7>>>0x8,_0xbe4ab3[_0x50a75a]=_0x1056c7<<0x10|_0x1056c7>>>0x10,_0x7e36ca[_0x50a75a]=_0x1056c7<<0x8|_0x1056c7>>>0x18,_0x16b871[_0x50a75a]=_0x1056c7,_0x7acc13?(_0x7acc13=_0x9d1a67^_0x5868c2[_0x5868c2[_0x5868c2[_0x2a3655^_0x9d1a67]]],_0x15d4d2^=_0x5868c2[_0x5868c2[_0x15d4d2]]):_0x7acc13=_0x15d4d2=0x1;}}());var _0x56a6f8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16899b=_0x1f305c[_0x2fd14f(0x392)]=_0x34dbaa[_0x2fd14f(0x33f)]({'_doReset':function(){var _0x16dd75=_0x2fd14f,_0x13b24e;if(!(this[_0x16dd75(0x444)]&&this['_keyPriorReset']===this[_0x16dd75(0x196)])){for(var _0x95f61f=this['_keyPriorReset']=this[_0x16dd75(0x196)],_0x16c508=_0x95f61f['words'],_0x1a94ad=_0x95f61f['sigBytes']/0x4,_0x4b0a69=this[_0x16dd75(0x444)]=_0x1a94ad+0x6,_0x5030f9=(_0x4b0a69+0x1)*0x4,_0x205b48=this[_0x16dd75(0x22b)]=[],_0x34bb27=0x0;_0x34bb27<_0x5030f9;_0x34bb27++)_0x34bb27<_0x1a94ad?_0x205b48[_0x34bb27]=_0x16c508[_0x34bb27]:(_0x13b24e=_0x205b48[_0x34bb27-0x1],_0x34bb27%_0x1a94ad?_0x1a94ad>0x6&&_0x34bb27%_0x1a94ad==0x4&&(_0x13b24e=_0x2b8883[_0x13b24e>>>0x18]<<0x18|_0x2b8883[_0x13b24e>>>0x10&0xff]<<0x10|_0x2b8883[_0x13b24e>>>0x8&0xff]<<0x8|_0x2b8883[_0x13b24e&0xff]):(_0x13b24e=_0x13b24e<<0x8|_0x13b24e>>>0x18,_0x13b24e=_0x2b8883[_0x13b24e>>>0x18]<<0x18|_0x2b8883[_0x13b24e>>>0x10&0xff]<<0x10|_0x2b8883[_0x13b24e>>>0x8&0xff]<<0x8|_0x2b8883[_0x13b24e&0xff],_0x13b24e^=_0x56a6f8[_0x34bb27/_0x1a94ad|0x0]<<0x18),_0x205b48[_0x34bb27]=_0x205b48[_0x34bb27-_0x1a94ad]^_0x13b24e);for(var _0x240f3c=this[_0x16dd75(0x19b)]=[],_0x993836=0x0;_0x993836<_0x5030f9;_0x993836++){var _0x34bb27=_0x5030f9-_0x993836;if(_0x993836%0x4)var _0x13b24e=_0x205b48[_0x34bb27];else var _0x13b24e=_0x205b48[_0x34bb27-0x4];_0x993836<0x4||_0x34bb27<=0x4?_0x240f3c[_0x993836]=_0x13b24e:_0x240f3c[_0x993836]=_0x4ddd4a[_0x2b8883[_0x13b24e>>>0x18]]^_0xbe4ab3[_0x2b8883[_0x13b24e>>>0x10&0xff]]^_0x7e36ca[_0x2b8883[_0x13b24e>>>0x8&0xff]]^_0x16b871[_0x2b8883[_0x13b24e&0xff]];}}},'encryptBlock':function(_0x4fd500,_0x2b6759){var _0x3d3bc0=_0x2fd14f;this[_0x3d3bc0(0x3a6)](_0x4fd500,_0x2b6759,this[_0x3d3bc0(0x22b)],_0x57b90a,_0x5626cf,_0x420f37,_0x163351,_0x2b8883);},'decryptBlock':function(_0x35bed5,_0xac5d9a){var _0x459564=_0x2fd14f,_0x3b8cff=_0x35bed5[_0xac5d9a+0x1];_0x35bed5[_0xac5d9a+0x1]=_0x35bed5[_0xac5d9a+0x3],_0x35bed5[_0xac5d9a+0x3]=_0x3b8cff,this[_0x459564(0x3a6)](_0x35bed5,_0xac5d9a,this[_0x459564(0x19b)],_0x4ddd4a,_0xbe4ab3,_0x7e36ca,_0x16b871,_0x19991e);var _0x3b8cff=_0x35bed5[_0xac5d9a+0x1];_0x35bed5[_0xac5d9a+0x1]=_0x35bed5[_0xac5d9a+0x3],_0x35bed5[_0xac5d9a+0x3]=_0x3b8cff;},'_doCryptBlock':function(_0x1be5a0,_0x39ad63,_0x19d6c3,_0x583bff,_0x50c9ce,_0x373ddb,_0x52274e,_0x9e02e){var _0x208ef0=_0x2fd14f;for(var _0xef155a=this[_0x208ef0(0x444)],_0x4ac0b0=_0x1be5a0[_0x39ad63]^_0x19d6c3[0x0],_0x3cae85=_0x1be5a0[_0x39ad63+0x1]^_0x19d6c3[0x1],_0x5df1fe=_0x1be5a0[_0x39ad63+0x2]^_0x19d6c3[0x2],_0x538821=_0x1be5a0[_0x39ad63+0x3]^_0x19d6c3[0x3],_0x2b4e84=0x4,_0x592573=0x1;_0x592573<_0xef155a;_0x592573++){var _0x374b0b=_0x583bff[_0x4ac0b0>>>0x18]^_0x50c9ce[_0x3cae85>>>0x10&0xff]^_0x373ddb[_0x5df1fe>>>0x8&0xff]^_0x52274e[_0x538821&0xff]^_0x19d6c3[_0x2b4e84++],_0x4fa24e=_0x583bff[_0x3cae85>>>0x18]^_0x50c9ce[_0x5df1fe>>>0x10&0xff]^_0x373ddb[_0x538821>>>0x8&0xff]^_0x52274e[_0x4ac0b0&0xff]^_0x19d6c3[_0x2b4e84++],_0x51d72e=_0x583bff[_0x5df1fe>>>0x18]^_0x50c9ce[_0x538821>>>0x10&0xff]^_0x373ddb[_0x4ac0b0>>>0x8&0xff]^_0x52274e[_0x3cae85&0xff]^_0x19d6c3[_0x2b4e84++],_0x24fc15=_0x583bff[_0x538821>>>0x18]^_0x50c9ce[_0x4ac0b0>>>0x10&0xff]^_0x373ddb[_0x3cae85>>>0x8&0xff]^_0x52274e[_0x5df1fe&0xff]^_0x19d6c3[_0x2b4e84++];_0x4ac0b0=_0x374b0b,_0x3cae85=_0x4fa24e,_0x5df1fe=_0x51d72e,_0x538821=_0x24fc15;}var _0x374b0b=(_0x9e02e[_0x4ac0b0>>>0x18]<<0x18|_0x9e02e[_0x3cae85>>>0x10&0xff]<<0x10|_0x9e02e[_0x5df1fe>>>0x8&0xff]<<0x8|_0x9e02e[_0x538821&0xff])^_0x19d6c3[_0x2b4e84++],_0x4fa24e=(_0x9e02e[_0x3cae85>>>0x18]<<0x18|_0x9e02e[_0x5df1fe>>>0x10&0xff]<<0x10|_0x9e02e[_0x538821>>>0x8&0xff]<<0x8|_0x9e02e[_0x4ac0b0&0xff])^_0x19d6c3[_0x2b4e84++],_0x51d72e=(_0x9e02e[_0x5df1fe>>>0x18]<<0x18|_0x9e02e[_0x538821>>>0x10&0xff]<<0x10|_0x9e02e[_0x4ac0b0>>>0x8&0xff]<<0x8|_0x9e02e[_0x3cae85&0xff])^_0x19d6c3[_0x2b4e84++],_0x24fc15=(_0x9e02e[_0x538821>>>0x18]<<0x18|_0x9e02e[_0x4ac0b0>>>0x10&0xff]<<0x10|_0x9e02e[_0x3cae85>>>0x8&0xff]<<0x8|_0x9e02e[_0x5df1fe&0xff])^_0x19d6c3[_0x2b4e84++];_0x1be5a0[_0x39ad63]=_0x374b0b,_0x1be5a0[_0x39ad63+0x1]=_0x4fa24e,_0x1be5a0[_0x39ad63+0x2]=_0x51d72e,_0x1be5a0[_0x39ad63+0x3]=_0x24fc15;},'keySize':0x100/0x20});_0x577edb[_0x2fd14f(0x392)]=_0x34dbaa['_createHelper'](_0x16899b);}()),_0x4f5857[_0xbf2eab(0x392)];}));}(Ie)),Ie[_0x49f7d(0x349)];}var Li=Pi();const Mi=de(Li);var wi=gt();const it=de(wi);var Oe={'exports':{}},xi=Oe[_0x4abd4f(0x349)],nt;function ki(){return nt||(nt=0x1,function(_0x501572,_0x260d6c){(function(_0x113ce1,_0x410b13){var _0x31248f=_0x5915;_0x501572[_0x31248f(0x349)]=_0x410b13(Z());}(xi,function(_0x354e7d){var _0x4ae415=_0x5915;return _0x354e7d[_0x4ae415(0x39b)][_0x4ae415(0x3df)];}));}(Oe)),Oe['exports'];}var $i=ki();const Hi=de($i);var be={'exports':{}},ji=be[_0x4abd4f(0x349)],st;function Bi(){return st||(st=0x1,function(_0x528b77,_0x5db2b2){(function(_0x4671ba,_0x64a8c3){var _0x58d852=_0x5915;_0x528b77[_0x58d852(0x349)]=_0x64a8c3(Z());}(ji,function(_0x31d1df){var _0x406e06=_0x5915;return(function(){var _0x6bf738=_0x5915;if(typeof ArrayBuffer==_0x6bf738(0x2ae)){var _0x3414ce=_0x31d1df,_0x5e7657=_0x3414ce[_0x6bf738(0x227)],_0x4ad7f1=_0x5e7657[_0x6bf738(0x2f5)],_0x1a9d76=_0x4ad7f1[_0x6bf738(0x187)],_0x4b1622=_0x4ad7f1[_0x6bf738(0x187)]=function(_0x2e087a){var _0x376f2a=_0x6bf738;if(_0x2e087a instanceof ArrayBuffer&&(_0x2e087a=new Uint8Array(_0x2e087a)),(_0x2e087a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2e087a instanceof Uint8ClampedArray||_0x2e087a instanceof Int16Array||_0x2e087a instanceof Uint16Array||_0x2e087a instanceof Int32Array||_0x2e087a instanceof Uint32Array||_0x2e087a instanceof Float32Array||_0x2e087a instanceof Float64Array)&&(_0x2e087a=new Uint8Array(_0x2e087a[_0x376f2a(0x231)],_0x2e087a[_0x376f2a(0x1d1)],_0x2e087a[_0x376f2a(0x4de)])),_0x2e087a instanceof Uint8Array){for(var _0x46210a=_0x2e087a[_0x376f2a(0x4de)],_0xed18c5=[],_0x372bed=0x0;_0x372bed<_0x46210a;_0x372bed++)_0xed18c5[_0x372bed>>>0x2]|=_0x2e087a[_0x372bed]<<0x18-_0x372bed%0x4*0x8;_0x1a9d76[_0x376f2a(0x1ed)](this,_0xed18c5,_0x46210a);}else _0x1a9d76[_0x376f2a(0x25e)](this,arguments);};_0x4b1622[_0x6bf738(0x506)]=_0x4ad7f1;}}()),_0x31d1df[_0x406e06(0x227)][_0x406e06(0x2f5)];}));}(be)),be['exports'];}var Fi=Bi();const Vi=de(Fi);var Re={'exports':{}},Wi=Re['exports'],rt;function Gi(){return rt||(rt=0x1,function(_0x1fd7cc,_0x57f72f){(function(_0x1a9135,_0x1732f5,_0x542492){var _0x1ee67c=_0x5915;_0x1fd7cc[_0x1ee67c(0x349)]=_0x1732f5(Z(),Ct());}(Wi,function(_0x2140cd){var _0x371c1d=_0x5915;return _0x2140cd[_0x371c1d(0x3cb)][_0x371c1d(0x1d3)]={'pad':function(){},'unpad':function(){}},_0x2140cd['pad'][_0x371c1d(0x1d3)];}));}(Re)),Re['exports'];}var Yi=Gi();const Ki=de(Yi);function qi(_0x5604b7,_0x22aa14){var _0x1404b7=_0x4abd4f;const _0x4d02e8=_0x22aa14-_0x5604b7[_0x1404b7(0x354)]%_0x22aa14,_0x36f774=String[_0x1404b7(0x3a2)](_0x4d02e8)['repeat'](_0x4d02e8);return _0x5604b7+_0x36f774;}function zi(_0xdee02,_0x308d9f){var _0x18e80e=_0x4abd4f;const _0x1aa5f1=Vi[_0x18e80e(0x43c)](0x10),_0x485447=qi(_0xdee02,0x10),_0x54a24b=Mi[_0x18e80e(0x358)](Hi[_0x18e80e(0x4d8)](_0x485447),it[_0x18e80e(0x4d8)](_0x308d9f),{'iv':_0x1aa5f1,'padding':Ki});return _0x1aa5f1['concat'](_0x54a24b['ciphertext'])[_0x18e80e(0x30b)](it);}function Xi(){var _0x34bd6a=_0x4abd4f;const _0x447c3a=Nt[_0x34bd6a(0x272)]()[_0x34bd6a(0x199)];if(_0x447c3a){const _0x326dda={'time':Math[_0x34bd6a(0x399)](Date[_0x34bd6a(0x483)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x34bd6a(0x251)](_0x326dda),_0x447c3a);}}var Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x2e52ce,_0x4483a5,_0x11f3ab,_0x145d04)=>{var _0x455cef=_0x4abd4f;for(var _0x14bd7f=_0x145d04>0x1?void 0x0:_0x145d04?Ji(_0x4483a5,_0x11f3ab):_0x4483a5,_0x3273f8=_0x2e52ce[_0x455cef(0x354)]-0x1,_0x2247e1;_0x3273f8>=0x0;_0x3273f8--)(_0x2247e1=_0x2e52ce[_0x3273f8])&&(_0x14bd7f=_0x2247e1(_0x14bd7f)||_0x14bd7f);return _0x14bd7f;},Qi=(_0x5e7ac1,_0xdc62db)=>(_0x589bb8,_0x47a8ea)=>_0xdc62db(_0x589bb8,_0x47a8ea,_0x5e7ac1);let De=class{constructor(_0x25e4b6){this['_httpService']=_0x25e4b6,this['_initRequestHeader']();}[_0x4abd4f(0x487)](){var _0x16580c=_0x4abd4f;this[_0x16580c(0x2ca)][_0x16580c(0x3bf)]({'interceptor':(_0x165ef4,_0x13073f)=>{var _0x18dd3a=_0x16580c;const _0x354ced=_0x165ef4[_0x18dd3a(0x34c)],_0x5c77a3=Xi();return _0x5c77a3&&_0x354ced['set'](_0x18dd3a(0x1d7),_0x5c77a3),_0x13073f(_0x165ef4);}});}};De=Zi([Qi(0x0,o[_0x4abd4f(0x3eb)](K[_0x4abd4f(0x404)]))],De);var en=Object[_0x4abd4f(0x3ed)],tn=(_0xa7fb18,_0x46af41,_0x4d4d1f,_0x500fb9)=>{var _0x148ebc=_0x4abd4f;for(var _0x2e6919=_0x500fb9>0x1?void 0x0:_0x500fb9?en(_0x46af41,_0x4d4d1f):_0x46af41,_0x29f14a=_0xa7fb18[_0x148ebc(0x354)]-0x1,_0x14103c;_0x29f14a>=0x0;_0x29f14a--)(_0x14103c=_0xa7fb18[_0x29f14a])&&(_0x2e6919=_0x14103c(_0x2e6919)||_0x2e6919);return _0x2e6919;},Le=(_0x3228a3,_0x373323)=>(_0x552d5d,_0x57898d)=>_0x373323(_0x552d5d,_0x57898d,_0x3228a3);exports[_0x4abd4f(0x502)]=class extends o[_0x4abd4f(0x233)]{constructor(_0x3c8640,_0x449efb,_0x105bdd){var _0x4c1691=_0x4abd4f;super(),A(this,_0x4c1691(0x4ed),new j[(_0x4c1691(0x3a5))](null)),A(this,'unitInfo$',this[_0x4c1691(0x4ed)][_0x4c1691(0x2b3)]()),(this[_0x4c1691(0x4f8)]=_0x3c8640,this[_0x4c1691(0x2f0)]=_0x449efb,this[_0x4c1691(0x1af)]=_0x105bdd);}async[_0x4abd4f(0x194)](_0x33e141,_0x5b0e00,_0x101f0){var _0x27555d=_0x4abd4f;this[_0x27555d(0x4ed)][_0x27555d(0x207)]({'unitId':_0x33e141,'type':_0x5b0e00});let _0x1e594f=null;switch(_0x5b0e00){case X[_0x27555d(0x297)]:{_0x1e594f=await this[_0x27555d(0x2f0)][_0x27555d(0x24e)](_0x33e141,_0x101f0);break;}case X[_0x27555d(0x1c8)]:{_0x1e594f=await this[_0x27555d(0x2f0)][_0x27555d(0x184)](_0x33e141,_0x101f0);break;}default:{this['_logService']['error'](_0x27555d(0x4a3),_0x27555d(0x3f1));break;}}return _0x1e594f;}async['loadUnit'](_0x149880,_0x3dc1fa,_0x53252c){var _0x570317=_0x4abd4f,_0x41ab71;this['_unitInfo$']['next']({'unitId':_0x149880,'type':_0x3dc1fa,'subUnitId':_0x53252c});let _0x4701f8=0x0;const _0x4dfc9c=await((_0x41ab71=this[_0x570317(0x1af)])==null?void 0x0:_0x41ab71[_0x570317(0x3f5)](_0x149880));return _0x4dfc9c&&(_0x4dfc9c[_0x570317(0x437)]||_0x4dfc9c['mutations'][_0x570317(0x354)]!==0x0)&&(_0x4701f8=_0x4dfc9c[_0x570317(0x504)]),_0x4701f8===0x0&&this[_0x570317(0x4f8)]['debug'](_0x570317(0x4a3),_0x570317(0x3b1)),this[_0x570317(0x194)](_0x149880,_0x3dc1fa,_0x4701f8);}},exports[_0x4abd4f(0x502)]=tn([Le(0x0,o[_0x4abd4f(0x4a5)]),Le(0x1,o['Inject'](E[_0x4abd4f(0x1c5)])),Le(0x2,o[_0x4abd4f(0x38f)](q))],exports[_0x4abd4f(0x502)]);var nn=Object[_0x4abd4f(0x3ed)],sn=(_0x4234cf,_0x204fa9,_0x4fb331,_0x39cce0)=>{var _0x4c7ef4=_0x4abd4f;for(var _0x41a59c=_0x39cce0>0x1?void 0x0:_0x39cce0?nn(_0x204fa9,_0x4fb331):_0x204fa9,_0x249464=_0x4234cf[_0x4c7ef4(0x354)]-0x1,_0x163b70;_0x249464>=0x0;_0x249464--)(_0x163b70=_0x4234cf[_0x249464])&&(_0x41a59c=_0x163b70(_0x41a59c)||_0x41a59c);return _0x41a59c;},Me=(_0xc1e176,_0x1089b1)=>(_0x436c42,_0x5bbd40)=>_0x1089b1(_0x436c42,_0x5bbd40,_0xc1e176);const rn=[_0x4abd4f(0x1dd),'image/jpeg',_0x4abd4f(0x28a),'image/gif',_0x4abd4f(0x1b7)],an=0x5*0x400*0x400,on=_0x4abd4f(0x21c),cn=_0x4abd4f(0x1e9);exports[_0x4abd4f(0x2af)]=class{constructor(_0x1d5e35,_0x26ec4f,_0x330914){var _0x2f4cbc=_0x4abd4f;A(this,_0x2f4cbc(0x37d),0x0),A(this,'_change$',new j[(_0x2f4cbc(0x401))]()),A(this,_0x2f4cbc(0x19a),this[_0x2f4cbc(0x3f4)]),A(this,_0x2f4cbc(0x1f9),new Map()),(this['_httpService']=_0x1d5e35,this[_0x2f4cbc(0x451)]=_0x26ec4f,this['_univerInstanceService']=_0x330914);}[_0x4abd4f(0x436)](_0x201549){var _0xf286b0=_0x4abd4f;this[_0xf286b0(0x37d)]=_0x201549,this[_0xf286b0(0x3f4)][_0xf286b0(0x207)](_0x201549);}['getImageSourceCache'](_0x4bafc7,_0x5a51ea){var _0x19f72d=_0x4abd4f;if(_0x5a51ea===z[_0x19f72d(0x360)]['BASE64']){const _0x1f6b67=new Image();return _0x1f6b67[_0x19f72d(0x4df)]=_0x4bafc7,_0x1f6b67;}return this[_0x19f72d(0x1f9)][_0x19f72d(0x442)](_0x4bafc7);}[_0x4abd4f(0x1ce)](_0xba642,_0x420b16,_0x414171){var _0x4eec43=_0x4abd4f;_0x420b16===z[_0x4eec43(0x360)]['BASE64']||_0x414171==null||this[_0x4eec43(0x1f9)]['set'](_0xba642,_0x414171);}async['getImage'](_0x2e20f9){var _0x543247=_0x4abd4f;try{const _0x510199=this['_replaceFileID'](this[_0x543247(0x17e)](),''+_0x2e20f9),_0x297822=(await this[_0x543247(0x2ca)][_0x543247(0x442)](_0x510199))[_0x543247(0x331)];if(_0x297822[_0x543247(0x229)]&&_0x297822[_0x543247(0x229)][_0x543247(0x2a5)]===vt['OK']){const _0x554f3f=new URL(_0x297822[_0x543247(0x4d3)],this[_0x543247(0x1d4)]())[_0x543247(0x30b)]();return Promise[_0x543247(0x428)](_0x554f3f);}return Promise['reject'](_0x297822[_0x543247(0x229)]);}catch(_0x49b11c){return Promise['reject'](_0x49b11c);}}async[_0x4abd4f(0x465)](_0x2c2561){var _0xef215c=_0x4abd4f;let _0x2279e8='';if(!rn[_0xef215c(0x41a)](_0x2c2561[_0xef215c(0x32e)]))return this[_0xef215c(0x259)](),Promise[_0xef215c(0x262)](new Error(z[_0xef215c(0x266)][_0xef215c(0x35a)]));if(_0x2c2561['size']>an)return this['_decreaseWaiting'](),Promise[_0xef215c(0x262)](new Error(z['ImageUploadStatusType'][_0xef215c(0x28b)]));try{const _0x2decdc=new FormData();_0x2decdc[_0xef215c(0x3e6)](_0xef215c(0x2ef),_0x2c2561);const _0x1267b8=this[_0xef215c(0x4dd)][_0xef215c(0x1f4)](),_0xf0a47b=_0x1267b8==null?void 0x0:_0x1267b8[_0xef215c(0x29d)]();if(!_0xf0a47b)throw new Error(_0xef215c(0x4c1));const _0x3a2d55=this[_0xef215c(0x2b6)]()+'?size='+_0x2c2561[_0xef215c(0x374)][_0xef215c(0x30b)]()+_0xef215c(0x25d)+dt['UnitEmbedded']+_0xef215c(0x423)+encodeURIComponent(_0xf0a47b),_0x56c395={'body':_0x2decdc},_0x2b62d7=(await this['_httpService'][_0xef215c(0x409)](_0x3a2d55,_0x56c395))[_0xef215c(0x331)];if(typeof _0x2b62d7[_0xef215c(0x445)]!=_0xef215c(0x2d4))return this['_decreaseWaiting'](),Promise[_0xef215c(0x262)](new Error(z[_0xef215c(0x266)]['ERROR_IMAGE']));_0x2279e8=_0x2b62d7['FileId'];}catch{return this[_0xef215c(0x259)](),Promise[_0xef215c(0x262)](new Error(z[_0xef215c(0x266)]['ERROR_IMAGE']));}return new Promise((_0x5d50d7,_0x471899)=>{var _0x584d74=_0xef215c;const _0x4e7ebf=new FileReader();_0x4e7ebf[_0x584d74(0x339)](_0x2c2561),_0x4e7ebf[_0x584d74(0x1ba)]=_0x249314=>{var _0x3a69d6=_0x584d74,_0x3fd999;const _0x72fdc9=(_0x3fd999=_0x249314['target'])==null?void 0x0:_0x3fd999[_0x3a69d6(0x1fb)];if(_0x72fdc9==null){this[_0x3a69d6(0x259)](),_0x471899(new Error(z['ImageUploadStatusType'][_0x3a69d6(0x261)]));return;}const _0x56f28b=o[_0x3a69d6(0x492)](0x6);_0x5d50d7({'imageId':_0x56f28b,'imageSourceType':z[_0x3a69d6(0x360)][_0x3a69d6(0x4f0)],'source':_0x2279e8,'base64Cache':_0x72fdc9,'status':z[_0x3a69d6(0x266)]['SUCCUSS']}),this[_0x3a69d6(0x259)]();};});}[_0x4abd4f(0x2b6)](){var _0x2f6c64=_0x4abd4f,_0x5658fb;const _0x1f556f=this[_0x2f6c64(0x451)][_0x2f6c64(0x509)](Y);return(_0x5658fb=_0x1f556f==null?void 0x0:_0x1f556f[_0x2f6c64(0x33c)])!=null?_0x5658fb:on;}[_0x4abd4f(0x17e)](){var _0x32d3a0=_0x4abd4f,_0x3ae64c;const _0x4cc8a3=this[_0x32d3a0(0x451)][_0x32d3a0(0x509)](Y);return(_0x3ae64c=_0x4cc8a3==null?void 0x0:_0x4cc8a3[_0x32d3a0(0x4e1)])!=null?_0x3ae64c:cn;}[_0x4abd4f(0x1d4)](){var _0x4ea213=_0x4abd4f,_0x565cb5;const _0x2be454=this[_0x4ea213(0x451)][_0x4ea213(0x509)](Y);return(_0x565cb5=_0x2be454==null?void 0x0:_0x2be454[_0x4ea213(0x42d)])!=null?_0x565cb5:location[_0x4ea213(0x22c)];}['_replaceFileID'](_0x4754a5,_0x3e131e){var _0x377210=_0x4abd4f;return _0x4754a5[_0x377210(0x2bb)](_0x377210(0x2ac),_0x3e131e);}[_0x4abd4f(0x259)](){var _0x3b97bd=_0x4abd4f;this[_0x3b97bd(0x37d)]-=0x1,this['_change$'][_0x3b97bd(0x207)](this[_0x3b97bd(0x37d)]);}},exports[_0x4abd4f(0x2af)]=sn([Me(0x0,o[_0x4abd4f(0x3eb)](K[_0x4abd4f(0x404)])),Me(0x1,o[_0x4abd4f(0x3d9)]),Me(0x2,o['Inject'](o[_0x4abd4f(0x270)]))],exports['CollaborationImageIoService']);var _n=Object[_0x4abd4f(0x3ed)],hn=(_0xd80b0e,_0x1fbeeb,_0x169681,_0x1e1b98)=>{var _0x84289f=_0x4abd4f;for(var _0xd927d0=_0x1e1b98>0x1?void 0x0:_0x1e1b98?_n(_0x1fbeeb,_0x169681):_0x1fbeeb,_0x1761d2=_0xd80b0e[_0x84289f(0x354)]-0x1,_0x523464;_0x1761d2>=0x0;_0x1761d2--)(_0x523464=_0xd80b0e[_0x1761d2])&&(_0xd927d0=_0x523464(_0xd927d0)||_0xd927d0);return _0xd927d0;},at=(_0x499fc6,_0x3c44a4)=>(_0x28f43f,_0x2b8346)=>_0x3c44a4(_0x28f43f,_0x2b8346,_0x499fc6);const ln=_0x4abd4f(0x368);exports['MentionIoHttpService']=class{constructor(_0x5d55fa,_0x2881b7){var _0x433414=_0x4abd4f;this['_configService']=_0x5d55fa,this[_0x433414(0x34b)]=_0x2881b7;}[_0x4abd4f(0x2f8)](){var _0x1c312e;const _0xe070e2=this['_configService']['getConfig'](Y);return(_0x1c312e=_0xe070e2==null?void 0x0:_0xe070e2['authzUrl'])!=null?_0x1c312e:ln;}async[_0x4abd4f(0x215)](_0x426b00){var _0x4d7c00=_0x4abd4f;const _0x4f7dfe=this[_0x4d7c00(0x2f8)]()+_0x4d7c00(0x1de);return{'list':[{'title':_0x4d7c00(0x2a3),'mentions':(await this[_0x4d7c00(0x34b)]['get'](_0x4f7dfe,{'params':{'objectID':_0x426b00[_0x4d7c00(0x2d1)],'unitID':_0x426b00[_0x4d7c00(0x2d1)]}}))[_0x4d7c00(0x331)][_0x4d7c00(0x230)][_0x4d7c00(0x343)](_0x58600c=>({'objectId':_0x58600c['id'],'name':_0x58600c[_0x4d7c00(0x212)]['name'],'metadata':{'icon':_0x58600c[_0x4d7c00(0x212)][_0x4d7c00(0x377)]},'label':_0x58600c['subject'][_0x4d7c00(0x490)],'objectType':o['MentionType'][_0x4d7c00(0x410)]})),'metadata':{},'type':o[_0x4d7c00(0x281)][_0x4d7c00(0x410)]}]};}},exports[_0x4abd4f(0x4af)]=hn([at(0x0,o['Inject'](o[_0x4abd4f(0x3d9)])),at(0x1,o[_0x4abd4f(0x3eb)](K['HTTPService']))],exports[_0x4abd4f(0x4af)]);var un=Object[_0x4abd4f(0x3ed)],vn=(_0x2c1bf0,_0x4a5041,_0x4360cb,_0x21d31c)=>{var _0x39d93f=_0x4abd4f;for(var _0x1003b7=_0x21d31c>0x1?void 0x0:_0x21d31c?un(_0x4a5041,_0x4360cb):_0x4a5041,_0x20aa9b=_0x2c1bf0[_0x39d93f(0x354)]-0x1,_0x553be7;_0x20aa9b>=0x0;_0x20aa9b--)(_0x553be7=_0x2c1bf0[_0x20aa9b])&&(_0x1003b7=_0x553be7(_0x1003b7)||_0x1003b7);return _0x1003b7;},le=(_0x43c89b,_0x10774c)=>(_0x3e5c2a,_0x29a560)=>_0x10774c(_0x3e5c2a,_0x29a560,_0x43c89b);let ye=class extends o[_0x4abd4f(0x233)]{constructor(_0x51afc7,_0x1eea24,_0x93d8bf,_0x2de5ae,_0x23055f){var _0x16ce9d=_0x4abd4f;super(),this[_0x16ce9d(0x312)]=_0x51afc7,this[_0x16ce9d(0x4dd)]=_0x1eea24,this[_0x16ce9d(0x242)]=_0x93d8bf,this[_0x16ce9d(0x319)]=_0x2de5ae,this[_0x16ce9d(0x31f)]=_0x23055f,this[_0x16ce9d(0x384)](),this[_0x16ce9d(0x3e5)]();}[_0x4abd4f(0x3e5)](){var _0x9b97f9=_0x4abd4f;const _0x25ceee=async _0x24b2f5=>{var _0x5df303=_0x5915;(await this[_0x5df303(0x319)][_0x5df303(0x239)](_0x24b2f5))[_0x5df303(0x477)][_0x5df303(0x283)](V[_0x5df303(0x31b)](_0x2b3655=>_0x2b3655['eventID']===E[_0x5df303(0x4b6)][_0x5df303(0x21b)]),V[_0x5df303(0x2f2)](this[_0x5df303(0x32d)]))[_0x5df303(0x3f2)](_0x297ba1=>{var _0x52a274=_0x5df303;const _0x46abab=_0x297ba1,{reason:_0x4d1da6}=_0x46abab[_0x52a274(0x456)];this[_0x52a274(0x31f)][_0x52a274(0x4ea)]({'id':J[_0x52a274(0x18f)],'data':_0x4d1da6}),this[_0x52a274(0x242)]['updatePermissionPoint'](new Q[(_0x52a274(0x36a))](_0x24b2f5)['id'],!0x1),this[_0x52a274(0x319)][_0x52a274(0x1bb)](_0x24b2f5);});};j['merge'](this[_0x9b97f9(0x4dd)]['getTypeOfUnitAdded$'](o[_0x9b97f9(0x247)][_0x9b97f9(0x297)]),this['_univerInstanceService'][_0x9b97f9(0x4c2)](o[_0x9b97f9(0x247)][_0x9b97f9(0x1c8)]))['pipe'](V[_0x9b97f9(0x343)](_0x1f35f2=>_0x1f35f2[_0x9b97f9(0x29d)]()),V[_0x9b97f9(0x31b)](_0xaa7d23=>!o[_0x9b97f9(0x4a9)](_0xaa7d23)),V[_0x9b97f9(0x2f2)](this[_0x9b97f9(0x32d)]))[_0x9b97f9(0x3f2)](_0x552d9e=>{_0x25ceee(_0x552d9e);});}[_0x4abd4f(0x384)](){var _0x27905d=_0x4abd4f;const _0xfc1796=async _0x1a46f6=>{var _0x249ff9=_0x5915;const _0x4ca874=await this[_0x249ff9(0x319)][_0x249ff9(0x239)](_0x1a46f6),_0x17c925=this[_0x249ff9(0x312)][_0x249ff9(0x442)](Q[_0x249ff9(0x2d5)]);_0x4ca874[_0x249ff9(0x477)][_0x249ff9(0x283)](V[_0x249ff9(0x31b)](_0x594eee=>_0x594eee['eventID']===E['CollaborationEvent'][_0x249ff9(0x24d)]),V[_0x249ff9(0x2f2)](this[_0x249ff9(0x32d)]))['subscribe'](_0x5accc4=>{var _0x1c3ad6=_0x249ff9;const _0x5cec64=_0x5accc4,{objectId:_0x1da9f6}=_0x5cec64[_0x1c3ad6(0x456)];_0x1da9f6===_0x1a46f6?_0x17c925[_0x1c3ad6(0x2e4)](_0x1a46f6):_0x17c925[_0x1c3ad6(0x4b8)](_0x1a46f6,_0x1da9f6);});};j[_0x27905d(0x2e7)](this[_0x27905d(0x4dd)][_0x27905d(0x4c2)](o[_0x27905d(0x247)][_0x27905d(0x297)]))[_0x27905d(0x283)](V[_0x27905d(0x343)](_0x22b357=>_0x22b357[_0x27905d(0x29d)]()),V[_0x27905d(0x31b)](_0x3be373=>!o[_0x27905d(0x4a9)](_0x3be373)),V[_0x27905d(0x2f2)](this['dispose$']))[_0x27905d(0x3f2)](_0x36e303=>{_0xfc1796(_0x36e303);});}};ye=vn([le(0x0,o[_0x4abd4f(0x3eb)](o[_0x4abd4f(0x2d3)])),le(0x1,o[_0x4abd4f(0x270)]),le(0x2,o['IPermissionService']),le(0x3,o['Inject'](exports[_0x4abd4f(0x50a)])),le(0x4,o[_0x4abd4f(0x3eb)](ee))],ye);var dn=Object[_0x4abd4f(0x3ed)],Sn=(_0xe2e87f,_0x106d0b,_0x3180c8,_0x1d71d7)=>{for(var _0x4581d3=_0x1d71d7>0x1?void 0x0:_0x1d71d7?dn(_0x106d0b,_0x3180c8):_0x106d0b,_0xbd4bf2=_0xe2e87f['length']-0x1,_0x3c2b7b;_0xbd4bf2>=0x0;_0xbd4bf2--)(_0x3c2b7b=_0xe2e87f[_0xbd4bf2])&&(_0x4581d3=_0x3c2b7b(_0x4581d3)||_0x4581d3);return _0x4581d3;},ot=(_0x10784d,_0x37be35)=>(_0x284186,_0x4efb4f)=>_0x37be35(_0x284186,_0x4efb4f,_0x10784d);exports[_0x4abd4f(0x210)]=class{constructor(_0x5d0514,_0x2dc001){this['_configService']=_0x5d0514,this['_httpService']=_0x2dc001;}async['getUnitOnRev'](_0x3b9009,_0x41ab8a){var _0x46356d=_0x4abd4f,_0x211de7;const {unitID:_0x4d9a4b,type:_0x205547,revision:_0xeb65e1=0x0}=_0x41ab8a,_0x39e771=this['getSnapshotAPIPath']()+'/'+_0x205547+_0x46356d(0x398)+_0x4d9a4b+_0x46356d(0x29a)+_0xeb65e1,_0x5666f2=(await this[_0x46356d(0x2ca)][_0x46356d(0x442)](_0x39e771))['body'],_0x160e44=(_0x211de7=_0x5666f2[_0x46356d(0x4d4)])==null?void 0x0:_0x211de7[_0x46356d(0x240)];if(_0x160e44){const _0x7aca76=_0x160e44==null?void 0x0:_0x160e44['originalMeta'],_0x413719=E['textEncoder'][_0x46356d(0x49d)](E[_0x46356d(0x3f8)](_0x7aca76));_0x160e44[_0x46356d(0x44e)]=_0x413719,Object['entries'](_0x160e44[_0x46356d(0x1da)])[_0x46356d(0x294)](([,_0x431275])=>{var _0x332004=_0x46356d;const _0x3efe1b=_0x431275[_0x332004(0x44e)],_0x1f1563=E[_0x332004(0x321)][_0x332004(0x49d)](E[_0x332004(0x3f8)](_0x3efe1b));_0x431275[_0x332004(0x44e)]=_0x1f1563;});}return _0x5666f2;}async[_0x4abd4f(0x3dc)](_0x4abe54,_0x2c350d){var _0x3bff65=_0x4abd4f;const {unitID:_0x2d6cf0,type:_0x100610,blockID:_0x3849d6}=_0x2c350d,_0x2e89e8=this[_0x3bff65(0x366)]()+'/'+_0x100610+_0x3bff65(0x398)+_0x2d6cf0+_0x3bff65(0x415)+_0x3849d6;return(await this[_0x3bff65(0x2ca)][_0x3bff65(0x442)](_0x2e89e8))[_0x3bff65(0x331)];}async[_0x4abd4f(0x313)](_0x457a75,_0x392706){var _0x4bb411=_0x4abd4f;const {unitID:_0x25d0a9,type:_0x2c98f3,blockID:_0x2b4ce0}=_0x392706,_0x4fee57=this['_getAPIPrefix']()+_0x4bb411(0x415)+_0x2c98f3+'/unit/'+_0x25d0a9+_0x4bb411(0x415)+_0x2b4ce0;return(await this[_0x4bb411(0x2ca)]['get'](_0x4fee57))[_0x4bb411(0x331)];}async['fetchMissingChangesets'](_0x50ce64,_0x2cad60){var _0x1e1acf=_0x4abd4f;const {unitID:_0x391b67,type:_0x4107a1,from:_0x23065a,to:_0x3654a9}=_0x2cad60,_0x46c4f3=this['_getAPIPrefix']()+'/'+_0x4107a1+_0x1e1acf(0x398)+_0x391b67+_0x1e1acf(0x3c4)+_0x23065a+_0x1e1acf(0x387)+_0x3654a9;return(await this['_httpService']['get'](_0x46c4f3))[_0x1e1acf(0x331)];}['getSnapshotAPIPath'](){var _0x43ca09=_0x4abd4f,_0x4b459b;return(_0x4b459b=this[_0x43ca09(0x451)][_0x43ca09(0x509)](yt))!=null?_0x4b459b:this['_getAPIPrefix']();}[_0x4abd4f(0x366)](){var _0x4822b1=_0x4abd4f,_0x4345e4;const _0x5b29b9=this[_0x4822b1(0x451)][_0x4822b1(0x509)](Y);return(_0x4345e4=_0x5b29b9==null?void 0x0:_0x5b29b9[_0x4822b1(0x1a6)])!=null?_0x4345e4:Dt;}async[_0x4abd4f(0x2eb)](_0x2545e4,_0x266c82){var _0x7eb029=_0x4abd4f;const _0x1b2266=_0x7eb029(0x2c3)+_0x266c82['type']+'/unit/'+_0x266c82[_0x7eb029(0x43d)]+'/resources';return(await this[_0x7eb029(0x2ca)][_0x7eb029(0x442)](_0x1b2266,{'params':{'resourceId':JSON[_0x7eb029(0x251)](_0x266c82[_0x7eb029(0x2f6)])}}))[_0x7eb029(0x331)];}[_0x4abd4f(0x43b)](){var _0x120067=_0x4abd4f;throw new Error(_0x120067(0x295));}[_0x4abd4f(0x23c)](){var _0x492d01=_0x4abd4f;throw new Error(_0x492d01(0x295));}['saveSheetBlock'](){var _0x5ecfb3=_0x4abd4f;throw new Error(_0x5ecfb3(0x295));}[_0x4abd4f(0x31e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4abd4f(0x23a)](){var _0x59749c=_0x4abd4f;throw new Error(_0x59749c(0x295));}[_0x4abd4f(0x394)](){var _0xd60eb8=_0x4abd4f;throw new Error(_0xd60eb8(0x295));}},exports[_0x4abd4f(0x210)]=Sn([ot(0x0,o['IConfigService']),ot(0x1,o[_0x4abd4f(0x3eb)](K[_0x4abd4f(0x404)]))],exports[_0x4abd4f(0x210)]);var In=Object[_0x4abd4f(0x3ed)],fn=(_0xf9af53,_0x449dc0,_0x5079da,_0x3a17ea)=>{var _0x5c6e3b=_0x4abd4f;for(var _0x52833b=_0x3a17ea>0x1?void 0x0:_0x3a17ea?In(_0x449dc0,_0x5079da):_0x449dc0,_0x47294a=_0xf9af53[_0x5c6e3b(0x354)]-0x1,_0x598706;_0x47294a>=0x0;_0x47294a--)(_0x598706=_0xf9af53[_0x47294a])&&(_0x52833b=_0x598706(_0x52833b)||_0x52833b);return _0x52833b;},ue=(_0x59a3d4,_0x6eef54)=>(_0x24690d,_0x3290af)=>_0x6eef54(_0x24690d,_0x3290af,_0x59a3d4);exports['CollaborativeUndoRedoService']=class extends o[_0x4abd4f(0x292)]{constructor(_0x548e7b,_0x2d7df9,_0xbf4027,_0x66fa03,_0x34e07f){var _0x4719af=_0x4abd4f;super(_0x548e7b,_0x2d7df9,_0xbf4027),this[_0x4719af(0x422)]=_0x66fa03,this[_0x4719af(0x4f8)]=_0x34e07f;}[_0x4abd4f(0x2f4)](_0x5980d6,_0x565107){var _0x46e29b=_0x4abd4f;const _0x4a37cd=this[_0x46e29b(0x1c3)](_0x5980d6);if(_0x4a37cd)try{const _0x1e460c=this['_transformStack'](_0x4a37cd,_0x565107);this['_substituteUndoStack'](_0x5980d6,_0x1e460c);}catch(_0x204327){this[_0x46e29b(0x4f8)][_0x46e29b(0x229)](_0x46e29b(0x1e5),_0x204327),this['_clearUndo'](_0x5980d6);}const _0x1658d0=this[_0x46e29b(0x1a0)](_0x5980d6);if(_0x1658d0)try{const _0x204313=this[_0x46e29b(0x1e1)](_0x1658d0,_0x565107);this[_0x46e29b(0x236)](_0x5980d6,_0x204313);}catch(_0x362273){this[_0x46e29b(0x4f8)][_0x46e29b(0x229)](_0x362273),this['_clearRedo'](_0x5980d6);}}[_0x4abd4f(0x479)](_0x3e24e1){var _0x5928e1=_0x4abd4f;const _0x3389f1=this[_0x5928e1(0x1c3)](_0x3e24e1);_0x3389f1&&(_0x3389f1[_0x5928e1(0x354)]=0x0,this[_0x5928e1(0x364)]());}[_0x4abd4f(0x22f)](_0x420b8a){var _0xb42f27=_0x4abd4f;const _0x1bc172=this[_0xb42f27(0x1a0)](_0x420b8a);_0x1bc172&&(_0x1bc172[_0xb42f27(0x354)]=0x0,this['_updateStatus']());}[_0x4abd4f(0x455)](_0x2a96eb,_0x37d300){var _0x1c4429=_0x4abd4f;this[_0x1c4429(0x1fc)][_0x1c4429(0x28f)](_0x2a96eb,_0x37d300),this[_0x1c4429(0x364)]();}['_substituteRedoStack'](_0x300c3c,_0x530b3b){var _0x2ecdf4=_0x4abd4f;this['_redoStacks'][_0x2ecdf4(0x28f)](_0x300c3c,_0x530b3b),this[_0x2ecdf4(0x364)]();}[_0x4abd4f(0x1e1)](_0x3981a4,_0x182433){var _0x242144=_0x4abd4f;const _0x73e818=[];let _0x49f683=_0x182433,_0xc36bbc=_0x182433;for(let _0x15bfd7=_0x3981a4[_0x242144(0x354)]-0x1;_0x15bfd7>=0x0;_0x15bfd7--){const {unitID:_0x3a24cb,undoMutations:_0x45af8b,redoMutations:_0x15edad}=_0x3981a4[_0x15bfd7],_0x5b53f3=this['_transformService'][_0x242144(0x499)](_0x49f683,_0x45af8b),_0x5df2b8=this['_transformService'][_0x242144(0x499)](_0xc36bbc,_0x15edad);if(E[_0x242144(0x3ff)](_0x5b53f3)||E[_0x242144(0x3ff)](_0x5df2b8)){this[_0x242144(0x4f8)][_0x242144(0x229)]('[CollaborationUndoRedoService]',_0x242144(0x48d),_0x5b53f3,_0x5df2b8);break;}_0x49f683=_0x5b53f3['c1Prime'],_0xc36bbc=_0x5df2b8['c1Prime'],_0x73e818[_0x242144(0x4e6)]({'unitID':_0x3a24cb,'undoMutations':_0x5b53f3[_0x242144(0x258)],'redoMutations':_0x5df2b8[_0x242144(0x258)]});}return _0x73e818[_0x242144(0x2cd)]();}},exports[_0x4abd4f(0x40d)]=fn([ue(0x0,o[_0x4abd4f(0x270)]),ue(0x1,o[_0x4abd4f(0x345)]),ue(0x2,o['IContextService']),ue(0x3,E['ITransformService']),ue(0x4,o[_0x4abd4f(0x4a5)])],exports['CollaborativeUndoRedoService']);var En=Object[_0x4abd4f(0x440)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x53fe3e,_0x65fc18,_0x48a7e0)=>_0x65fc18 in _0x53fe3e?En(_0x53fe3e,_0x65fc18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48a7e0}):_0x53fe3e[_0x65fc18]=_0x48a7e0,gn=(_0x35583d,_0x9dde8c,_0x761ebf,_0x17168f)=>{var _0x8426a4=_0x4abd4f;for(var _0x563f4b=_0x17168f>0x1?void 0x0:_0x17168f?pn(_0x9dde8c,_0x761ebf):_0x9dde8c,_0x1aa4dd=_0x35583d[_0x8426a4(0x354)]-0x1,_0x31f94d;_0x1aa4dd>=0x0;_0x1aa4dd--)(_0x31f94d=_0x35583d[_0x1aa4dd])&&(_0x563f4b=_0x31f94d(_0x563f4b)||_0x563f4b);return _0x563f4b;},we=(_0x89f2c6,_0x5acdef)=>(_0x216664,_0x49fe56)=>_0x5acdef(_0x216664,_0x49fe56,_0x89f2c6),Tn=(_0x45c15a,_0x7cb5c5,_0x1fa8d8)=>mn(_0x45c15a,_0x7cb5c5+'',_0x1fa8d8);const Cn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends o['Plugin']{constructor(_0x28ad58,_0x5a3f5f,_0x56926d,_0x3b12d1){var _0x5c4b71=_0x4abd4f;super(),A(this,'_config'),(this[_0x5c4b71(0x4f8)]=_0x5a3f5f,this['_injector']=_0x56926d,this[_0x5c4b71(0x451)]=_0x3b12d1);const {..._0x15d71c}=o[_0x5c4b71(0x2e7)]({},Zt,_0x28ad58);if(!_0x15d71c[_0x5c4b71(0x2ba)])throw new Error(_0x5c4b71(0x303));this[_0x5c4b71(0x237)]=_0x15d71c,this[_0x5c4b71(0x451)][_0x5c4b71(0x4e0)](Y,_0x15d71c);}[_0x4abd4f(0x244)](){var _0x18a504=_0x4abd4f;this[_0x18a504(0x3bd)](),this[_0x18a504(0x43e)]();}[_0x4abd4f(0x3bd)](){var _0x29d1df=_0x4abd4f,_0x130470,_0x4914ba;this['_injector'][_0x29d1df(0x257)](o[_0x29d1df(0x470)])&&this[_0x29d1df(0x4f8)][_0x29d1df(0x229)]('[UniverCollaborationClientPlugin]',_0x29d1df(0x1c4));const _0x5ed4b8=o['mergeOverrideWithDependencies']([[o[_0x29d1df(0x470)],{'useClass':exports[_0x29d1df(0x40d)]}],[exports[_0x29d1df(0x50a)]],[exports[_0x29d1df(0x435)]],[exports[_0x29d1df(0x3ef)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x29d1df(0x502)]],[Fe,{'useClass':this['_config']['socketService']}],[E[_0x29d1df(0x3d7)],{'useClass':exports[_0x29d1df(0x210)]}],[o[_0x29d1df(0x241)],{'useClass':exports[_0x29d1df(0x3db)]}],[z['IImageIoService'],{'useClass':exports[_0x29d1df(0x2af)]}],[o['IMentionIOService'],{'useClass':exports[_0x29d1df(0x4af)]}],[exports[_0x29d1df(0x33d)]],[xe]],(_0x130470=this[_0x29d1df(0x237)])==null?void 0x0:_0x130470['override']);if(!((_0x4914ba=this['_config'])!=null&&_0x4914ba['enableSingleActiveInstanceLock'])){const _0x2fde8a=_0x5ed4b8[_0x29d1df(0x505)](([_0x142845])=>_0x142845===ve);_0x2fde8a!==-0x1&&_0x5ed4b8[_0x29d1df(0x36b)](_0x2fde8a,0x1);}o['registerDependencies'](this['_injector'],_0x5ed4b8);}[_0x4abd4f(0x43e)](){var _0x3bf6b5=_0x4abd4f,_0x1f21c1,_0x30b4a4,_0x5b7f8a;this[_0x3bf6b5(0x312)][_0x3bf6b5(0x442)](K[_0x3bf6b5(0x404)])[_0x3bf6b5(0x3bf)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1f21c1=this[_0x3bf6b5(0x237)])!=null&&_0x1f21c1['enableOfflineEditing']||(_0x30b4a4=this[_0x3bf6b5(0x312)][_0x3bf6b5(0x442)](q,o['Quantity']['OPTIONAL']))==null||_0x30b4a4[_0x3bf6b5(0x282)](),(_0x5b7f8a=this[_0x3bf6b5(0x237)])!=null&&_0x5b7f8a[_0x3bf6b5(0x32f)]&&o[_0x3bf6b5(0x48e)](this[_0x3bf6b5(0x312)],[[Ne]]),o[_0x3bf6b5(0x48e)](this[_0x3bf6b5(0x312)],[[De],[exports[_0x3bf6b5(0x33d)]],[ye]]);}},Tn(exports[_0x4abd4f(0x46a)],_0x4abd4f(0x38e),Cn),exports[_0x4abd4f(0x46a)]=gn([o[_0x4abd4f(0x3ae)](E[_0x4abd4f(0x285)],K[_0x4abd4f(0x43f)]),we(0x1,o['ILogService']),we(0x2,o[_0x4abd4f(0x3eb)](o['Injector'])),we(0x3,o[_0x4abd4f(0x3d9)])],exports[_0x4abd4f(0x46a)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x4abd4f(0x2b9)]=je,exports[_0x4abd4f(0x2ff)]=J,exports['CollaborationUIEventService']=ee,exports[_0x4abd4f(0x1aa)]=$e,exports[_0x4abd4f(0x246)]=_t,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=jt,exports[_0x4abd4f(0x30f)]=At,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports[_0x4abd4f(0x34d)]=ke,exports[_0x4abd4f(0x486)]=Fe,exports[_0x4abd4f(0x213)]=q,exports[_0x4abd4f(0x41c)]=Et,exports['ISingleActiveUnitService']=ve,exports[_0x4abd4f(0x19e)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=wt,exports[_0x4abd4f(0x1f7)]=Ht,exports[_0x4abd4f(0x403)]=ut,exports[_0x4abd4f(0x3cf)]=se,exports['UnitStatus']=He,exports[_0x4abd4f(0x288)]=pt,exports[_0x4abd4f(0x1d6)]=qt,exports[_0x4abd4f(0x2a9)]=mt;
|