@univerjs-pro/collaboration-client 0.12.4-experimental.20251210-d708bff → 0.12.4-experimental.20251210-29c379a

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x53ae8e=_0x74cc;(function(_0x35ddac,_0x1ec6ae){var _0x2e1324=_0x74cc,_0x47bac6=_0x35ddac();while(!![]){try{var _0x86dfad=parseInt(_0x2e1324(0x18f))/0x1*(parseInt(_0x2e1324(0x34d))/0x2)+parseInt(_0x2e1324(0x165))/0x3*(parseInt(_0x2e1324(0x190))/0x4)+-parseInt(_0x2e1324(0x313))/0x5+-parseInt(_0x2e1324(0x437))/0x6*(-parseInt(_0x2e1324(0x329))/0x7)+parseInt(_0x2e1324(0x368))/0x8+parseInt(_0x2e1324(0x21d))/0x9*(-parseInt(_0x2e1324(0x3a6))/0xa)+-parseInt(_0x2e1324(0x29a))/0xb*(parseInt(_0x2e1324(0x183))/0xc);if(_0x86dfad===_0x1ec6ae)break;else _0x47bac6['push'](_0x47bac6['shift']());}catch(_0x6d1ff1){_0x47bac6['push'](_0x47bac6['shift']());}}}(_0x32cd,0x56109));var bt=Object[_0x53ae8e(0x336)],Rt=(_0x1c2db9,_0x171729,_0x8dd272)=>_0x171729 in _0x1c2db9?bt(_0x1c2db9,_0x171729,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8dd272}):_0x1c2db9[_0x171729]=_0x8dd272,A=(_0x7cdcd5,_0x45fb9d,_0x1eb2b0)=>Rt(_0x7cdcd5,typeof _0x45fb9d!=_0x53ae8e(0x3db)?_0x45fb9d+'':_0x45fb9d,_0x1eb2b0);Object[_0x53ae8e(0x336)](exports,Symbol[_0x53ae8e(0x1d4)],{'value':_0x53ae8e(0x256)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x53ae8e(0x3d2),Ut='SNAPSHOT_URL_KEY',At=0x7d0,_t=_0x53ae8e(0x3af),Pt=_0x53ae8e(0x40a),ht=_0x53ae8e(0x1d6),Lt=0x7530,ke=_0x53ae8e(0x25f),lt=0x4e20,Mt=0x4e20,ut=_0x53ae8e(0x37f),wt=0x3,xt='LOCAL_CACHE_INTERVAL',kt=0x3e8,$t=_0x53ae8e(0x1cc),Ht=_0x53ae8e(0x12f),jt=_0x53ae8e(0x32a),Bt=_0x53ae8e(0x465);var vt=(_0x400999=>(_0x400999[_0x400999[_0x53ae8e(0x3a5)]=0x0]='UNDEFINED',_0x400999[_0x400999['OK']=0x1]='OK',_0x400999[_0x400999[_0x53ae8e(0x136)]=0x2]='INTERNAL_ERROR',_0x400999[_0x400999[_0x53ae8e(0x356)]=0x3]=_0x53ae8e(0x356),_0x400999[_0x400999[_0x53ae8e(0x23e)]=0x4]=_0x53ae8e(0x23e),_0x400999[_0x400999[_0x53ae8e(0x1f8)]=0x5]=_0x53ae8e(0x1f8),_0x400999[_0x400999[_0x53ae8e(0x232)]=0x6]='ALREADY_EXISTS',_0x400999[_0x400999[_0x53ae8e(0x13b)]=0x7]='INVALID_ARGUMENT',_0x400999[_0x400999[_0x53ae8e(0x386)]=0x8]=_0x53ae8e(0x386),_0x400999[_0x400999[_0x53ae8e(0x33a)]=0x9]=_0x53ae8e(0x33a),_0x400999[_0x400999['LOGIN_FAILED']=0xa]=_0x53ae8e(0x3e5),_0x400999[_0x400999[_0x53ae8e(0x3a2)]=0xb]=_0x53ae8e(0x3a2),_0x400999[_0x400999['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x53ae8e(0x3ed),_0x400999[_0x400999[_0x53ae8e(0x148)]=0xd]=_0x53ae8e(0x148),_0x400999[_0x400999[_0x53ae8e(0x27f)]=0xe]=_0x53ae8e(0x27f),_0x400999[_0x400999[_0x53ae8e(0x2b2)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x400999[_0x400999[_0x53ae8e(0x381)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x400999[_0x400999[_0x53ae8e(0x35c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x400999[_0x400999[_0x53ae8e(0x346)]=0x65]=_0x53ae8e(0x346),_0x400999[_0x400999[_0x53ae8e(0x1a3)]=0xc9]=_0x53ae8e(0x1a3),_0x400999[_0x400999[_0x53ae8e(0x209)]=0xca]=_0x53ae8e(0x209),_0x400999[_0x400999[_0x53ae8e(0x1ff)]=0x1389]=_0x53ae8e(0x1ff),_0x400999[_0x400999[_0x53ae8e(0x332)]=0x1771]=_0x53ae8e(0x332),_0x400999[_0x400999[_0x53ae8e(0x35a)]=0x1772]=_0x53ae8e(0x35a),_0x400999[_0x400999[_0x53ae8e(0x1e5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x400999[_0x400999[_0x53ae8e(0x1df)]=0x1b59]=_0x53ae8e(0x1df),_0x400999[_0x400999[_0x53ae8e(0x42b)]=0x1b5a]=_0x53ae8e(0x42b),_0x400999[_0x400999['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x53ae8e(0x40b),_0x400999[_0x400999[_0x53ae8e(0x3ac)]=0x1b5c]=_0x53ae8e(0x3ac),_0x400999[_0x400999[_0x53ae8e(0x231)]=0x1b5d]=_0x53ae8e(0x231),_0x400999[_0x400999[_0x53ae8e(0x2a0)]=0x1f41]=_0x53ae8e(0x2a0),_0x400999[_0x400999['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x400999[_0x400999[_0x53ae8e(0x274)]=0x232a]=_0x53ae8e(0x274),_0x400999[_0x400999['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x53ae8e(0x252),_0x400999[_0x400999[_0x53ae8e(0x425)]=0x232c]=_0x53ae8e(0x425),_0x400999[_0x400999[_0x53ae8e(0x2af)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x400999[_0x400999[_0x53ae8e(0x196)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x400999[_0x400999[_0x53ae8e(0x397)]=0x2712]=_0x53ae8e(0x397),_0x400999[_0x400999[_0x53ae8e(0x41b)]=0x2713]=_0x53ae8e(0x41b),_0x400999[_0x400999[_0x53ae8e(0x46b)]=0x2714]=_0x53ae8e(0x46b),_0x400999[_0x400999['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x53ae8e(0x164),_0x400999[_0x400999[_0x53ae8e(0x3f0)]=0x271b]=_0x53ae8e(0x3f0),_0x400999[_0x400999['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x400999[_0x400999[_0x53ae8e(0x33b)]=0x271d]=_0x53ae8e(0x33b),_0x400999[_0x400999[_0x53ae8e(0x494)]=0x271e]=_0x53ae8e(0x494),_0x400999[_0x400999['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x400999[_0x400999[_0x53ae8e(0x259)]=0x2720]=_0x53ae8e(0x259),_0x400999[_0x400999['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x53ae8e(0x32e),_0x400999[_0x400999[_0x53ae8e(0x42d)]=0x2ee1]=_0x53ae8e(0x42d),_0x400999[_0x400999[_0x53ae8e(0x1e1)]=0x2ee2]='INVALID_INVITE_CODE',_0x400999[_0x400999[_0x53ae8e(0x26c)]=0x2ee3]=_0x53ae8e(0x26c),_0x400999[_0x400999[_0x53ae8e(0x29e)]=0x2ee4]=_0x53ae8e(0x29e),_0x400999[_0x400999[_0x53ae8e(0x418)]=0x2ee5]=_0x53ae8e(0x418),_0x400999[_0x400999[_0x53ae8e(0x468)]=0x32c9]=_0x53ae8e(0x468),_0x400999[_0x400999[_0x53ae8e(0x254)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x400999[_0x400999['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x53ae8e(0x3c3),_0x400999[_0x400999['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x53ae8e(0x296),_0x400999[_0x400999[_0x53ae8e(0x2ad)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x400999[_0x400999[_0x53ae8e(0x407)]=0x36b3]=_0x53ae8e(0x407),_0x400999[_0x400999[_0x53ae8e(0x40d)]=0x36b4]=_0x53ae8e(0x40d),_0x400999[_0x400999[_0x53ae8e(0x314)]=0x36b5]=_0x53ae8e(0x314),_0x400999[_0x400999[_0x53ae8e(0x42f)]=0x36b6]=_0x53ae8e(0x42f),_0x400999[_0x400999[_0x53ae8e(0x41e)]=0x36b7]=_0x53ae8e(0x41e),_0x400999[_0x400999[_0x53ae8e(0x1de)]=0x36b8]=_0x53ae8e(0x1de),_0x400999[_0x400999[_0x53ae8e(0x451)]=0x3715]=_0x53ae8e(0x451),_0x400999[_0x400999[_0x53ae8e(0x398)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x400999[_0x400999[_0x53ae8e(0x490)]=0x3717]=_0x53ae8e(0x490),_0x400999[_0x400999[_0x53ae8e(0x188)]=0x37dd]=_0x53ae8e(0x188),_0x400999[_0x400999[_0x53ae8e(0x2ea)]=0x3a99]=_0x53ae8e(0x2ea),_0x400999[_0x400999[_0x53ae8e(0x23c)]=0x3a9a]=_0x53ae8e(0x23c),_0x400999[_0x400999[_0x53ae8e(0x2db)]=0x3a9b]=_0x53ae8e(0x2db),_0x400999[_0x400999[_0x53ae8e(0x448)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x400999[_0x400999[_0x53ae8e(0x3d5)]=0x3a9d]=_0x53ae8e(0x3d5),_0x400999[_0x400999['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x53ae8e(0x3e2),_0x400999[_0x400999[_0x53ae8e(0x31b)]=0x3a9f]=_0x53ae8e(0x31b),_0x400999[_0x400999[_0x53ae8e(0x354)]=0x3e81]=_0x53ae8e(0x354),_0x400999[_0x400999[_0x53ae8e(0x1c9)]=-0x1]='UNRECOGNIZED',_0x400999))(vt||{}),X=(_0x5993cf=>(_0x5993cf[_0x5993cf[_0x53ae8e(0x48f)]=0x0]=_0x53ae8e(0x48f),_0x5993cf[_0x5993cf[_0x53ae8e(0x401)]=0x1]=_0x53ae8e(0x401),_0x5993cf[_0x5993cf[_0x53ae8e(0x25b)]=0x2]='UNIVER_SHEET',_0x5993cf[_0x5993cf['UNIVER_SLIDE']=0x3]=_0x53ae8e(0x23f),_0x5993cf[_0x5993cf['UNIVER_PROJECT']=0x4]=_0x53ae8e(0x228),_0x5993cf[_0x5993cf[_0x53ae8e(0x1c9)]=-0x1]=_0x53ae8e(0x1c9),_0x5993cf))(X||{}),W=(_0x305b29=>(_0x305b29[_0x305b29[_0x53ae8e(0x342)]=0x0]=_0x53ae8e(0x342),_0x305b29[_0x305b29[_0x53ae8e(0x389)]=0x1]='HELLO',_0x305b29[_0x305b29[_0x53ae8e(0x268)]=0x2]=_0x53ae8e(0x268),_0x305b29[_0x305b29[_0x53ae8e(0x47c)]=0x3]=_0x53ae8e(0x47c),_0x305b29[_0x305b29[_0x53ae8e(0x27a)]=0x4]=_0x53ae8e(0x27a),_0x305b29[_0x305b29[_0x53ae8e(0x126)]=0x5]=_0x53ae8e(0x126),_0x305b29[_0x305b29['RECV']=0x6]='RECV',_0x305b29[_0x305b29[_0x53ae8e(0x1c9)]=-0x1]=_0x53ae8e(0x1c9),_0x305b29))(W||{}),re=(_0xa765f1=>(_0xa765f1[_0xa765f1[_0x53ae8e(0x34e)]=0x0]=_0x53ae8e(0x34e),_0xa765f1[_0xa765f1['OK']=0x1]='OK',_0xa765f1[_0xa765f1['FAIL']=0x2]=_0x53ae8e(0x3d7),_0xa765f1[_0xa765f1[_0x53ae8e(0x358)]=0x3e9]=_0x53ae8e(0x358),_0xa765f1[_0xa765f1[_0x53ae8e(0x32c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xa765f1[_0xa765f1['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x53ae8e(0x2a8),_0xa765f1[_0xa765f1[_0x53ae8e(0x20e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xa765f1[_0xa765f1['UNRECOGNIZED']=-0x1]=_0x53ae8e(0x1c9),_0xa765f1))(re||{}),dt=(_0x2213b1=>(_0x2213b1[_0x2213b1[_0x53ae8e(0x2fb)]=0x0]='Undefined',_0x2213b1[_0x2213b1[_0x53ae8e(0x38f)]=0x1]=_0x53ae8e(0x38f),_0x2213b1[_0x2213b1['HttpExport']=0x2]='HttpExport',_0x2213b1[_0x2213b1[_0x53ae8e(0x3fc)]=0x3]=_0x53ae8e(0x3fc),_0x2213b1[_0x2213b1['UnitSnapshot']=0x4]=_0x53ae8e(0x285),_0x2213b1[_0x2213b1['UserProfileImg']=0x5]=_0x53ae8e(0x3e1),_0x2213b1[_0x2213b1[_0x53ae8e(0x1f1)]=0x6]='ClipsheetFragments',_0x2213b1[_0x2213b1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2213b1))(dt||{});const Ft=_0x53ae8e(0x44e);function Vt(_0x2f419c){var _0x534721=_0x53ae8e;return JSON['stringify'](_0x2f419c)[_0x534721(0x461)];}var J=(_0x1010ed=>(_0x1010ed[_0x53ae8e(0x3c9)]=_0x53ae8e(0x3c9),_0x1010ed['PERMISSION_DENIED']=_0x53ae8e(0x356),_0x1010ed[_0x53ae8e(0x4ae)]=_0x53ae8e(0x4ae),_0x1010ed[_0x53ae8e(0x393)]='CLOSE_ROOM',_0x1010ed['JOIN_ROOM_FAILED']=_0x53ae8e(0x222),_0x1010ed[_0x53ae8e(0x293)]=_0x53ae8e(0x293),_0x1010ed[_0x53ae8e(0x36d)]='SOCKET_FAILED',_0x1010ed[_0x53ae8e(0x13e)]='SUBMIT_CHANGESET_TIMEOUT',_0x1010ed))(J||{});function _0x32cd(){var _0x52311e=['ENTITLE_INVALID_COUPON_CODE','\x20in\x20_schedule.','getValue','\x0aCurrent:\x20','touchDependencies','unitID','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','REDEMPTION_CODE_HAS_BEEN_CREATED','getMemberID','isTransformChangesetsSuccess','_retryCount','_config','loadSheet','_syncEditingCollabCursor','session.room-not-exists','kdf','duration','add','/universer-api/stream/file/upload','shareReplay','userID','1721013WUOtyl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborationSessionService','JOIN_ROOM_NOT_EXISTS','retryConnectingInterval','PY_RUNTIME_SCRIPT_ERROR','getCurrentSelections','_transformStateCache','PENDING','SNAPSHOT_INVALID_SNAPSHOT','_candidateSocket','padding','startTime','defineProperty','_createHmacHelper','_scheduleCompleteTimestamp','commentUpdate$','COMPLETION_FINISHED','YUUMI_ALL_TABLES_IS_INVALID','snapshotServerUrl','_httpService','reconnect','setWaitCount','IMentionIOService','getCurrentUser','UNKNOWN_CMD','_singleActiveUnitService','byteLength','[OfflineState]:\x20received\x20rejection.','ERROR_AGAIN','LIVESHARE_TERMINATE','find','JOINING','saveSnapshot','format','ceil','1046206FpMkYY','UNKNOWN_CODE','init','HMAC','getInterceptPoints','_getRedoStack','_HTTPService','DATA_SOURCE_TOO_LARGE','values','PERMISSION_DENIED','FetchingMissState','JOIN_ROOM_FULL','ILogService','SNAPSHOT_HAS_BEEN_REMOVED','batchAllowed','CURRENT_STATUS_CANNOT_OPERATE','error$','uploadFileServerUrl','session.join-failed','getCollabEntity$','_startTelemetryCollaborationNewChangeset','CollaborationSession','_rescheduleHeartbeat','onMutationExecutedForCollab','PasswordBasedCipher','&assign=','SheetTransformSelectionsService','4041288PzAXji','Cipher','deepClone','getLocalCacheKey','collabSubmitChangesetUrl','SOCKET_FAILED','downloadEndpointUrl','UniverNetworkPlugin','updateMember','loadDoc','updateCursorEvent','hasOwnProperty','pauseCollaboration','LIVESHARE_OPERATION','_transformRemoteChangesetByIMECache','updatePermissionPoint','_eventService','unit-cache-','createInstance','_hasher','readyForCollab','ciphertext','_onConnectionFailed','RETRY_CONNECTING_MAX_COUNT','_createInitialStateImpl','LOGIN_TOKEN_PROCESSING_FAILED','_doFinalize','localCacheService','SheetsSelectionsService','clear','TOO_MANY_REQUESTS','_state$','entityInit$','HELLO','responseType','registerHTTPInterceptor','now','_sendHeartbeat','liveShareOperation','HttpImport','socket$','disposeWithMe','LIVESHARE_FETCH_OPERATIONS','CLOSE_ROOM','AWAITING','_createInitialState','updateCollaborator','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_REPORT_LIMIT_EXCEED','OFFLINE','_schedule','[UniverCollaborationClientPlugin]','complete','sheets','getMember','_shouldReportTelemetry','textEncoder','serializeCombRequest','MOBILE_VERIFY_CODE_MISMATCH','routeKey','BlockCipherMode','UNDEFINED','10xVopkV','mixIn','_transformStack','code','_mode','_clearUndo','APPLY_PERMISSION_DENIED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getTypeOfUnitAdded$','ws://127.0.0.1:8000/universer-api/comb/connect','ConflictState','_status$','encodeURIComponent','send','SUCCUSS','default','_members','_clearTimeoutTimer','liveShareNewHost','NoPadding','_socket$','cfg','BehaviorSubject','deserializeToCombResponse','_incrementRevisionNumber','image/gif','INetworkConditionService','[CollaborationSession]','_oKey','EMAIL_HAS_BEEN_BOUND','_unitID','_awaitingChangeset','_append','_submitChangeset','_iKey','OTHER_CLIENT_EDITING','_queuedRemoteChangesets','FileId','univer-pro.collaboration-client-socket-service','_transformService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','listCollaborators','ImageUploadStatusType','_localeService','/universer-api/snapshot','LOCAL_CACHE_INTERVAL_KEY','sessionStatus','REDEMPTION_USER_NOT_ELIGIBLE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','FAIL','getOwnPropertyDescriptor','objectType','_roomMembers','symbol','hasher','actions','getResourcesRequest','_roomCreated$','_injector','UserProfileImg','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Disposable','save\x20fail\x20reason\x20is\x20','LOGIN_FAILED','_data','executeCommand','Quantity','name','_onOffline','create','/-/object/-/batch_allowed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SYNCED','_onConnectionOpen','YUUMI_ASYNCIO_CANCELLED','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onRemoteRetry','_socketReady','selections','onMissedChangesetFetched','_onRemoteChangeset','DependentOn','_initDependencies','_key','__creator','enableSingleActiveInstanceLock','UnitEmbedded','HTTPService','_entities','_onMessage','filter','UNIVER_DOC','interceptor','unitId\x20is\x20not\x20found','localeService','src','_remoteChangesetQueue','ENTITLE_DUP_SUBSCRIPTION','IPermissionService','COMMENT_UPDATE','/universer-api/user/session-ticket','APPLY_REVISION_CONFILICT','objectActions','PAYMENT_CHANNEL_NOT_SUPPORT','getImageSourceCache','onTransformRemoteChangesetByStateCache','/collaborator','_networkConditionService','_init','map','univer-pro.collaboration-client.network-condition.service','CollaborationEntity','NO_OTHER_CLIENTS_EDITING','_executeRemoteChangeset','INVITE_CODE_ALREADY_BOUND','[CollaborationUndoRedoService]','enc','YUUMI_RATE_OVER_LIMIT','error','ERROR_IMAGE','ENTITLE_COUPON_USED_UP','originalMeta','revision','_scheduleCollaborationTimeoutTimer','stringify','override','image/jpeg','LICENSE_EXPORT_SIZE_EXCEEDED','clamp','Inject','_telemetryService','call','status$','APPLY_NON_SEQUENTIAL_REVISION','permissionRejEvent','INVITE_CODE_HAS_BEEN_UES','_resendTimeout','ENTITLE_COUPON_EXPIRED','infoRsp','univer-pro.collaboration-client.single-active-unit-service','ICollaborationSocketService','editingUnit','_showConflictNotification','buffer','_createHelper','12bdJqrK','_transformIMECache','ImageSourceType','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CommandType','Decryptor','image/bmp','LIVESHARE_REQUEST_HOST','_waitForHeartbeatResponse','push','_toggleOnline','ISnapshotServerService','onStarting','&to=','avatar','DEFAULT_WS_SESSION_TICKET_URL','RevisionService','REDEMPTION_CODE_NOT_STARTED','_stopTelemetryCollaborationNewChangeset','encode','clone','HmacMD5','roomInfos','collaboration_new_changeset','_logService','key','ENTITLE_CHAT_LIMIT_EXCEED','Tools','Hex','_compressMutationService','charAt','status','_handler','_instanceService','MD5','_socket','UPDATE_CURSOR','_clearRetryConnectingTimer','_getCurrentRevision','getConfig','conflict','IContextService','length','__splitChunk__','telemetry\x20info\x20is\x20not\x20initialized','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/uniscript','USERS_LEAVE','fetching\x20missing\x20changesets\x20from\x20','WECHAT_HAS_BEEN_BOUND','_onJoinRoomEvent','CHANGESET_SHOULD_RETRY','YUUMI_SUBSCRIPTION_NOT_FOUND','processBlock','_transformSelections','sequenceExecute','_getCtorByUniverType','getUnitStatus$','copyFileMeta','DEFAULT_COLLAB_WEB_SOCKET_URL','focused$','\x20to\x20','AwaitingWithPendingState','delete','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','mutations','_onFetchMissResult','_memberService','closeSession','LEAVE','_minBufferSize','NEW_CHANGESETS','_listenToNetworkCondition','method','_telemetryInfo','includes','withCredentials','readInt32LE','close','DEFAULT_FILE_NAME','UNISCRIPT_RUN','_map','_commentUpdate$','_initCloseConn','?size=','_doProcessBlock','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','UNIVER_UNKNOWN','ENTITLE_INSUFFICIENT_QUOTA','onlyLocal','snapshot','addHandlerCallback','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getTime','getUnitOnRev','Latin1','/-/object/list','_doCreateSocket','CipherParams','IUniverInstanceService','_collaborationPaused','UniverInstanceType','function','_keySchedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','c1Prime','_doCryptBlock','_change$','MentionIoHttpService','[CollaborationSessionService]','_snapshotService','_onConflict','\x20-\x20','extend','collaboration-client.config','getUnitId','_replaceFileID','dispose','CONFLICT','_transformUndoredo','changesets','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.','uuidv4','getRoom','finalize','getUnitType','CollaborationUIEventService','HEARTBEAT','pipe','ILocalCacheService','CollaborationStatus','SnapshotService','getRandomValues','CHANGESET_ACK','MentionType','sigBytes','/universer-api/oidc/authpage','_changesetReqId','HEARTBEAT_INTERVAL_KEY','stopTime','$super','FETCH_MISSING','_imageSourceCache','INTERNAL_ERROR','_collaborationSessionService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unitInfo$','_joinRoom','INVALID_ARGUMENT','_undoStacks','_commentService','SUBMIT_CHANGESET_TIMEOUT','DataLoaderService','refreshPermission','commentUpdateEvent','replace','socketService','saveSheetBlock','_onUserLeave','_sheetTransformSelectionsService','RichTextEditingMutation','EMAIL_VERIFY_CODE_MISMATCH','Failed\x20to\x20update\x20permission\x20point','IUndoRedoService','_sessionStatus$','reset','encrypt','[FetchMissState]','_getLoginPath','Could\x20not\x20dynamically\x20require\x20\x22','InsertSheetMutation','ivSize','isTransformMutationsWithChangesetFailure','[SyncedState]:\x20received\x20rejection.','getCurrentRevOfUnit','parseChangesetToProtocol','fromCharCode','ThresholdInterceptorFactory','removeMember','_tryEnsureSocket','reject','createSocket','createIdentifier','list','_clearLocalCache','_removeRoom','/universer-api/snapshot/','pending','_collabSessionService','YUUMI_NO_CUBOID_FOR_QUESTION','1614543hRVewD','COMPRESS_MUTATION_APPLY','patch','_resendWithTimeout','_fetchMissChangesets','_replayCachedMutations','Error\x20on\x20receiving\x20event','waitForRoom$','SnapshotServerOverHTTPService','OfflineState','toDisposable','formatter','_state','repeat','PERMISSION_REJ','_updateState','x-univer-host','IConfigService','_event$','enableCollaboration','body','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','sendChangesetTimeout','_localCacheService','SyncedState','_getSendChangesetTimeout','debug','deleteCollaborator','joinEvent','120lruXBI','equals','setConfig','unknown','isPermissionRej','ENTITLE_NEED_BILLING_ADDRESS','toggleOnline','image/jpg','Base64','Encryptor','[CollaborationEntity]','take','1ZNGooN','4YpuDnG','objectID','keySize','fetchMiss','requireSession','MemberService','YUUMI_UNABLE_LOAD_URL','AwaitingState','{fileID}','onRemoteRetry','_onRemoteRejected','objects','concat','_clearScheduledTask','type','BufferedBlockAlgorithm','isTransformMutationsWithChangesetSuccess','_timeoutTimer','loadUnit','USER_NOT_FOUND','MergeInterceptorFactory','onRemoteChangeset','ONLINE','startsWith','onCommentUpdate','salt','mode','getCollabEntity','EmptyMutationInfo','emitEvent','sin','eventID','_sendingTimer','_collaborationUIEventService','has','fetchThroughInterceptors','_checkMissing','m2Prime','_tryReconnect','/universer-api/authz','awaiting_with_pending','Injector','CHANGESET_REJ','set','catch','Optional','CollaborationEvent','[PendingState]:\x20received\x20rejection.','_retryConnectingTimer','_socketService','createEncryptor','range','transformChangesets','submit\x20changeset\x20error!','_onLocalMutation','getImage','transformMutationsWithChangeset','UNRECOGNIZED','c2Prime','_unlockTransition','/universer-api/comb','_decreaseWaiting','StreamCipher','getSnapshotAPIPath','_redoStacks','toString','_toggleOffline','_applyRemoteChangeset','toStringTag','IDLE','HEARTBEAT_INTERVAL','_getAPIPrefix','blockSize','[OfflineState]:\x20received\x20changeset.','socket\x20open.','SessionStatus','UUID','state$','ENTITLE_USE_COUPON_NOT_1ST_TRADE','APPLY_REJECT','Rectangle','INVALID_INVITE_CODE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','ERROR_EXCEED_SIZE','ENSURE_SNAPSHOT_EXECUTION','decryptBlock','_revisionService','_onRemoteACK','SHA1','_pendingMutations','data','compose','awaitingChangeset','_transitionLocked','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','title','ClipsheetFragments','prototype','post','slice','resend','join','asObservable','UNAUTHENTICATED','then','entries','update','MSG_FOR_ERROR','DocCollaborationEntity','WordArray','CHANGESET_REVISION_CONFILICT','unitId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','fromCollab','CommentService','OpenSSL','LIVESHARE_NEW_HOST','algo','pad','_transformRemoteChangesetByStateCache','USER_IS_ANONYMOUS','_onCombEvent','resourceIDs','RxDisposable','_changesetSessionId','GLOBAL_ROOMS_CNT_EXCEEDS','_ENC_XFORM_MODE','CollaborationUIEventId','getSheetBlock','JSONX','ERROR_IMAGE_TYPE','connection\x20error','message$','sid','onMissingChangesets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','RECV','_waitCount','initWorkbookPermissionChange','randomBytes','2115765VKyNwr','EvpKDF','_commandService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','next','JOIN_ROOM_FAILED','requestParams','FETCH_MISS','collaMsg','_disableEditing','compute','UNIVER_PROJECT','getFocusedUnit','url','forEach','msCrypto','AuthzIoHttpService','transformSelections','loadUnitOfRevision','_entityInit$','APPLY_DUPLICATED','ALREADY_EXISTS','signUrlServerUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','UniverCollaborationClientPlugin','getGlobalObject','exports','[DataLoaderService]','newCsEvent','__Key__','REDEMPTION_CODE_INACTIVE','appendMutation','NOT_FOUND','UNIVER_SLIDE','lib','_sessions','_type','setCurrentUser','b64DecodeUnicode','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','floor','_initMergeInterceptor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','setShowComponents','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Subject','Utf8','decrypt','_nRounds','Univer','_initUnitPermissionChange','[SyncedState]:\x20received\x20acknowledgement.','LICENSE_IMPORT_SIZE_EXCEEDED','splice','MOBILE_HAS_BEEN_BOUND','awaiting','Module','_substituteRedoStack','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','session','UNIVER_SHEET','CompressMutationService','collabWebSocketUrl','_unitInfo$','HEARTBEAT_TIMEOUT','saveImage','/unit/','enableAuthServer','POST','textRanges','getDeserializedSheetBlock','CollaborationImageIoService','sessionStatus$','JOIN','COMPRESS_MUTATION_SEND','NOT_COLLAB','UserManagerService','INVITE_CODE_REQUIRED','reduce','UPDATE_PERMISSION_OBJ','fetch_missing','_substituteUndoStack','session.room-permission-denied','every','_lockTransition','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loginUrlKey','transformUndoRedo','_invKeySchedule','_prevBlock','iterations','INGEST','_getDownloadEndpointURL','collaborators','collaboratorID','PendingState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_iv','AES','_isPermissionRej','isInternalEditorID','socket\x20close','UnitSnapshot','crypto','reqId','SHOULD_CLOSE_CONN','getTypeOfUnitDisposed$','subject','_onUserJoin','onTransformRemoteChangesetByIMECache','_nDataBytes','SetSelectionsOperation','_permissionService','location','onTransformSelections','charCodeAt','SOCKET_FAILED_RETRY','updateOfflineData','offline','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_univerInstanceService','updateSnapshot','loadOfflineData','1372283GEnlxh','action','/allowed','_createSocket','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','CONNECTOR_DATA_TOO_LARGE','SheetCollaborationEntity','_reverseMap','onRemoteAck','cmd','delay','_emitMembers','event$','JOIN_ROOM_PERMISSION_DENIED','WorkbookEditablePermission','ICommandService','unsubscribe','LocaleService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','execute','LICENSE_DISTRO_REJECTED','_getUndoStack','subscribe','AUTHORIZE_CODE_ILLEGAL','_keyPriorReset','_createHandler','synced','SerializableCipher','[PendingState]:\x20received\x20acknowledgement.','toggleOffline','onSendChangeset','_throwTelemetryCollaborationNewChangeset','onSyncEditingCollabCursor','_sender','_hash','mapDocumentTypeToUniverType','_socketMessageSubscription','put','_sendHeartbeatTimer','/object/','image/png','SUBMIT_CHANGESET','_updateStatus','subUnitId','_userManagerService','_getAPIPrefixPath','string','BASE64','createDecryptor','params','BlockCipher','RETRY_CONNECTING_MAX_COUNT_KEY','takeUntil','PERSON','size','CollaborationController','parse','_getUploadFileURL','_registerDependencies','Base','_handlerCallback','People','target','getActiveSheet','REDEMPTION_CODE_FULLY_REDEEMED','incrementRevOfUnit','min','HmacSHA1','?url=','onRemoteRej','_maxTotalRetryTimeout','encryptBlock','merge','_acknowledgedAwaitingChangeset','words','max','concatMap','change$','abs','REDEMPTION_INVALID_CODE','ITransformService','reverse','onLocalMutation','_getSignURL','_startCollaboration','ISingleActiveUnitService','apply','_configService','members$','_resendTimer','_onRecvEvent','_snapshotServerService','href','editing\x20status\x20changed\x20to','authzUrl','CollaborationSocketService','Undefined','joinRsp','_initRequestHeader','dispose$','Malformed\x20UTF-8\x20data','MUTATION','resolve','_cipher','USERS_ENTER','createCollaborator','fetchMissingChangesets','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','readAsDataURL','CollaborativeUndoRedoService','_collaborationTimeoutTimer','get','onload','_members$','_updateLocalCache','CBC','Hasher','getWorkbookSelections','_process','_clearHeartbeatTimer','1115135AFjwxn'];_0x32cd=function(){return _0x52311e;};return _0x32cd();}class ee{constructor(){var _0xc603d9=_0x53ae8e;A(this,'_event$',new j[(_0xc603d9(0x24b))]()),A(this,'event$',this[_0xc603d9(0x177)][_0xc603d9(0x1f7)]());}['emitEvent'](_0x5f1769){var _0x5845fd=_0x53ae8e;this['_event$'][_0x5845fd(0x221)](_0x5f1769);}}class $e{constructor(){var _0x722b87=_0x53ae8e;A(this,_0x722b87(0x489),new j['Subject']()),A(this,_0x722b87(0x339),this[_0x722b87(0x489)][_0x722b87(0x1f7)]());}['onCommentUpdate'](_0x29b8d5){var _0x4ac7bd=_0x53ae8e;this['_commentUpdate$'][_0x4ac7bd(0x221)](_0x29b8d5);}}var Wt=Object[_0x53ae8e(0x3d8)],Gt=(_0x138aa7,_0x189c94,_0x48c769,_0x139b77)=>{var _0x56ff7a=_0x53ae8e;for(var _0x2b489d=_0x139b77>0x1?void 0x0:_0x139b77?Wt(_0x189c94,_0x48c769):_0x189c94,_0x5efce1=_0x138aa7[_0x56ff7a(0x461)]-0x1,_0x158c34;_0x5efce1>=0x0;_0x5efce1--)(_0x158c34=_0x138aa7[_0x5efce1])&&(_0x2b489d=_0x158c34(_0x2b489d)||_0x2b489d);return _0x2b489d;},Ve=(_0x53eca7,_0x714729)=>(_0x3adb24,_0x12b828)=>_0x714729(_0x3adb24,_0x12b828,_0x53eca7);exports[_0x53ae8e(0x195)]=class extends o['Disposable']{constructor(_0x32271a,_0x4f003b){var _0x4e38ff=_0x53ae8e;super(),A(this,_0x4e38ff(0x3da),new Map()),A(this,'_roomCreated$',new j[(_0x4e38ff(0x24b))]()),(this['_univerInstanceService']=_0x32271a,this[_0x4e38ff(0x2c7)]=_0x4f003b,this[_0x4e38ff(0x391)](j[_0x4e38ff(0x2e3)](this[_0x4e38ff(0x297)][_0x4e38ff(0x289)](o[_0x4e38ff(0x49d)]['UNIVER_SHEET'])[_0x4e38ff(0x127)](V[_0x4e38ff(0x413)](_0x5641fe=>_0x5641fe['getUnitId']())),this['_univerInstanceService'][_0x4e38ff(0x289)](o[_0x4e38ff(0x49d)][_0x4e38ff(0x401)])[_0x4e38ff(0x127)](V['map'](_0x2eec60=>_0x2eec60['getUnitId']())),this[_0x4e38ff(0x297)]['getTypeOfUnitDisposed$'](o[_0x4e38ff(0x49d)][_0x4e38ff(0x23f)])[_0x4e38ff(0x127)](V[_0x4e38ff(0x413)](_0x31267e=>_0x31267e[_0x4e38ff(0x4ab)]())))[_0x4e38ff(0x2b1)](_0x42711a=>this[_0x4e38ff(0x160)](_0x42711a))));}[_0x53ae8e(0x16c)](_0x2ef767){var _0x555e66=_0x53ae8e;return this[_0x555e66(0x3da)][_0x555e66(0x1b2)](_0x2ef767)?j['of'](this[_0x555e66(0x3da)][_0x555e66(0x30a)](_0x2ef767)):this[_0x555e66(0x3df)][_0x555e66(0x127)](V[_0x555e66(0x413)](_0x580ec9=>{var _0x113d90=_0x555e66;if(_0x580ec9===_0x2ef767)return this[_0x113d90(0x3da)][_0x113d90(0x30a)](_0x580ec9);}));}[_0x53ae8e(0x243)](_0x34d6cf){var _0x2ce447=_0x53ae8e;this['_userManagerService'][_0x2ce447(0x243)](_0x34d6cf);}['getCurrentUser'](){var _0x3e23cf=_0x53ae8e;return this[_0x3e23cf(0x2c7)][_0x3e23cf(0x341)]();}['updateMember'](_0x3bec2f,_0x3e06b2){var _0x2ee3e0=_0x53ae8e;let _0x4755b0=this[_0x2ee3e0(0x3da)][_0x2ee3e0(0x30a)](_0x3bec2f);_0x4755b0||(_0x4755b0=new Yt(),this[_0x2ee3e0(0x3da)]['set'](_0x3bec2f,_0x4755b0),this[_0x2ee3e0(0x3df)][_0x2ee3e0(0x221)](_0x3bec2f)),_0x4755b0[_0x2ee3e0(0x370)](_0x3e06b2);}[_0x53ae8e(0x159)](_0xcf9ea3,_0x442fcf){var _0x11f421=_0x53ae8e;const _0x15a9a7=this[_0x11f421(0x3da)]['get'](_0xcf9ea3);_0x15a9a7&&_0x15a9a7[_0x11f421(0x159)](_0x442fcf);}[_0x53ae8e(0x122)](_0x2ea70b){var _0x56b52b=_0x53ae8e;return this[_0x56b52b(0x3da)][_0x56b52b(0x30a)](_0x2ea70b);}[_0x53ae8e(0x39e)](_0x20c7b6,_0x397a2e){var _0x3ca5bb=_0x53ae8e;const _0x583898=this[_0x3ca5bb(0x3da)]['get'](_0x20c7b6);if(_0x583898)return _0x583898[_0x3ca5bb(0x39e)](_0x397a2e);}[_0x53ae8e(0x160)](_0x320e73){var _0x3d4b52=_0x53ae8e;const _0x98b423=this[_0x3d4b52(0x3da)][_0x3d4b52(0x30a)](_0x320e73);_0x98b423&&(_0x98b423[_0x3d4b52(0x4ad)](),this[_0x3d4b52(0x3da)][_0x3d4b52(0x476)](_0x320e73));}[_0x53ae8e(0x4ad)](){var _0x6d1cad=_0x53ae8e;this[_0x6d1cad(0x3da)][_0x6d1cad(0x22b)](_0x4fd457=>_0x4fd457[_0x6d1cad(0x4ad)]()),this[_0x6d1cad(0x3da)][_0x6d1cad(0x385)](),this[_0x6d1cad(0x3df)][_0x6d1cad(0x39c)]();}},exports['MemberService']=Gt([Ve(0x0,o[_0x53ae8e(0x49b)]),Ve(0x1,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x26b)]))],exports[_0x53ae8e(0x195)]);class Yt extends o['Disposable']{constructor(){var _0x5267a9=_0x53ae8e;super(...arguments),A(this,_0x5267a9(0x3b6),new Map()),A(this,_0x5267a9(0x30c),new j[(_0x5267a9(0x3bc))](this[_0x5267a9(0x3b6)])),A(this,_0x5267a9(0x2f3),this[_0x5267a9(0x30c)][_0x5267a9(0x1f7)]());}[_0x53ae8e(0x4ad)](){var _0x388b19=_0x53ae8e;this[_0x388b19(0x3b6)][_0x388b19(0x385)]();}[_0x53ae8e(0x370)](_0x2d5751){var _0x5a57e3=_0x53ae8e;this['_members'][_0x5a57e3(0x1bb)](_0x2d5751[_0x5a57e3(0x258)],_0x2d5751),this[_0x5a57e3(0x2a6)]();}['removeMember'](_0x3c58b1){var _0x46c527=_0x53ae8e;this[_0x46c527(0x3b6)][_0x46c527(0x476)](_0x3c58b1);}[_0x53ae8e(0x39e)](_0x3a5ffd){var _0x485ecc=_0x53ae8e;return this['_members'][_0x485ecc(0x30a)](_0x3a5ffd);}['getAllMembers'](){var _0x331898=_0x53ae8e;return Array['from'](this['_members'][_0x331898(0x355)]());}['_emitMembers'](){var _0x1a4b22=_0x53ae8e;this['_members$']['next'](this[_0x1a4b22(0x3b6)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0xfa8dae,_0x43acb7,_0x1fe98c,_0x3234a6)=>{var _0x4f8edf=_0x53ae8e;for(var _0x35aa59=_0x3234a6>0x1?void 0x0:_0x3234a6?Kt(_0x43acb7,_0x1fe98c):_0x43acb7,_0x8c6589=_0xfa8dae[_0x4f8edf(0x461)]-0x1,_0x40c751;_0x8c6589>=0x0;_0x8c6589--)(_0x40c751=_0xfa8dae[_0x8c6589])&&(_0x35aa59=_0x40c751(_0x35aa59)||_0x35aa59);return _0x35aa59;},ce=(_0x59ca7f,_0x26f92a)=>(_0x337d55,_0x4c63e1)=>_0x26f92a(_0x337d55,_0x4c63e1,_0x59ca7f),se=(_0x559264=>(_0x559264[_0x559264[_0x53ae8e(0x1d5)]=0x0]='IDLE',_0x559264[_0x559264[_0x53ae8e(0x349)]=0x1]='JOINING',_0x559264[_0x559264['OFFLINE']=0x2]=_0x53ae8e(0x399),_0x559264[_0x559264[_0x53ae8e(0x1a6)]=0x3]=_0x53ae8e(0x1a6),_0x559264))(se||{});const We={[re['FAIL']]:_0x53ae8e(0x35f),[re[_0x53ae8e(0x358)]]:'session.room-full',[re[_0x53ae8e(0x32c)]]:_0x53ae8e(0x322),[re[_0x53ae8e(0x2a8)]]:_0x53ae8e(0x271),[re[_0x53ae8e(0x20e)]]:'session.room-cnt-exceeds'};exports[_0x53ae8e(0x362)]=class extends o[_0x53ae8e(0x20c)]{constructor(_0x6e64af,_0x37b40d,_0x53b712,_0x429ea1,_0x140277,_0x2d847c,_0x4a9fbe,_0x2549c7){var _0x240093=_0x53ae8e;super(),A(this,_0x240093(0x14b),new j['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x240093(0x14b)][_0x240093(0x1f7)]()),A(this,'_event$',new j[(_0x240093(0x24b))]()),A(this,'event$',this[_0x240093(0x177)][_0x240093(0x1f7)]()),A(this,_0x240093(0x45a)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,_0x240093(0x39f),!0x1),A(this,'_telemetryInfo',null),(this[_0x240093(0x3c4)]=_0x6e64af,this[_0x240093(0x44f)]=_0x53b712,this[_0x240093(0x2f2)]=_0x429ea1,this[_0x240093(0x47a)]=_0x140277,this['_commentService']=_0x2d847c,this[_0x240093(0x1b1)]=_0x4a9fbe,this[_0x240093(0x428)]=_0x2549c7,this['_shouldReportTelemetry']=!!this[_0x240093(0x428)],_0x37b40d[_0x240093(0x127)](j['takeUntil'](this[_0x240093(0x2fe)]))[_0x240093(0x2b1)](_0x5afd52=>{var _0x2a335e=_0x240093,_0x34f53c;typeof _0x5afd52>'u'||(this[_0x2a335e(0x45a)]=_0x5afd52,_0x5afd52?(this[_0x2a335e(0x13a)](_0x5afd52),this[_0x2a335e(0x2bf)]=_0x5afd52[_0x2a335e(0x215)][_0x2a335e(0x2b1)](_0x181b14=>{var _0x583fba=_0x2a335e;_0x181b14[_0x583fba(0x3a3)]===this[_0x583fba(0x3c4)]&&this[_0x583fba(0x20a)](_0x181b14);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0x34f53c=this[_0x2a335e(0x2bf)])==null||_0x34f53c[_0x2a335e(0x2ab)](),this[_0x2a335e(0x2bf)]=null));}));}get[_0x53ae8e(0x3d4)](){var _0x6f34a5=_0x53ae8e;return this[_0x6f34a5(0x14b)][_0x6f34a5(0x316)]();}[_0x53ae8e(0x31c)](){var _0x5e9608=_0x53ae8e,_0x56618e,_0x308387;return(_0x308387=(_0x56618e=this[_0x5e9608(0x45a)])==null?void 0x0:_0x56618e[_0x5e9608(0x258)])!=null?_0x308387:null;}[_0x53ae8e(0x4ad)](){var _0x334c1e=_0x53ae8e;super[_0x334c1e(0x4ad)](),this['dispose$']['next'](),this[_0x334c1e(0x2fe)][_0x334c1e(0x39c)]();}[_0x53ae8e(0x485)](){var _0x3d29ac=_0x53ae8e,_0x39fa75,_0x2fbe9b;this[_0x3d29ac(0x2ba)](),(_0x39fa75=this['_socket'])==null||_0x39fa75['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3d29ac(0x3c4)]}}),(_0x2fbe9b=this[_0x3d29ac(0x45a)])==null||_0x2fbe9b[_0x3d29ac(0x485)](),this[_0x3d29ac(0x177)][_0x3d29ac(0x39c)](),this['_sessionStatus$'][_0x3d29ac(0x39c)](),this['dispose']();}[_0x53ae8e(0x20a)](_0x1fe8eb){var _0x59da93=_0x53ae8e;_0x1fe8eb[_0x59da93(0x2a4)]===W[_0x59da93(0x268)]?this[_0x59da93(0x469)](_0x1fe8eb):_0x1fe8eb[_0x59da93(0x2a4)]===W['RECV']&&this[_0x59da93(0x2f5)](_0x1fe8eb);}[_0x53ae8e(0x13a)](_0x5d45ed){var _0x387736=_0x53ae8e;this['_sessionStatus$'][_0x387736(0x221)](0x1),_0x5d45ed[_0x387736(0x3b3)]({'cmd':W['JOIN'],'routeKey':this[_0x387736(0x3c4)],'routeType':'','data':{'rooms':[{'roomID':this[_0x387736(0x3c4)]}]}});}[_0x53ae8e(0x469)](_0x1e158b){var _0x40c85f=_0x53ae8e,_0x541bbd;if(_0x1e158b[_0x40c85f(0x3a9)]in We){this['_collaborationUIEventService'][_0x40c85f(0x1ad)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x1e158b[_0x40c85f(0x3a9)]]}),this[_0x40c85f(0x14b)][_0x40c85f(0x221)](0x2);return;}this[_0x40c85f(0x14b)][_0x40c85f(0x221)](0x3);const _0x44b383=(_0x541bbd=_0x1e158b[_0x40c85f(0x1eb)][_0x40c85f(0x44d)][this[_0x40c85f(0x3c4)]])==null?void 0x0:_0x541bbd['members'];_0x44b383&&_0x44b383[_0x40c85f(0x22b)](_0x49ff55=>this[_0x40c85f(0x47a)]['updateMember'](this[_0x40c85f(0x3c4)],_0x49ff55));}[_0x53ae8e(0x2f5)](_0x40576d){var _0x59ad40=_0x53ae8e;try{const _0x270c30=_0x40576d[_0x59ad40(0x1eb)];switch(_0x270c30[_0x59ad40(0x1af)]){case E[_0x59ad40(0x1be)][_0x59ad40(0x303)]:this[_0x59ad40(0x28b)](_0x270c30),this[_0x59ad40(0x177)][_0x59ad40(0x221)](_0x270c30);break;case E['CollaborationEvent'][_0x59ad40(0x466)]:this[_0x59ad40(0x145)](_0x270c30),this[_0x59ad40(0x177)][_0x59ad40(0x221)](_0x270c30);break;case E['CollaborationEvent']['CHANGESET_ACK']:case E[_0x59ad40(0x1be)][_0x59ad40(0x46a)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x59ad40(0x221)](_0x270c30);break;case E[_0x59ad40(0x1be)][_0x59ad40(0x1fc)]:this['_logService'][_0x59ad40(0x41c)](_0x59ad40(0x3e4)+JSON[_0x59ad40(0x422)](_0x270c30)),this['_event$'][_0x59ad40(0x221)](_0x270c30);break;case E[_0x59ad40(0x1be)][_0x59ad40(0x409)]:this[_0x59ad40(0x13d)][_0x59ad40(0x1a8)](_0x270c30['data']),this[_0x59ad40(0x177)][_0x59ad40(0x221)](_0x270c30);break;default:this[_0x59ad40(0x177)][_0x59ad40(0x221)](_0x270c30);}}catch(_0x30a5ff){this['_logService']['error'](_0x30a5ff,_0x40576d);}}[_0x53ae8e(0x28b)](_0x3584d1){var _0x109bd2=_0x53ae8e;this[_0x109bd2(0x47a)]['updateMember'](this[_0x109bd2(0x3c4)],_0x3584d1[_0x109bd2(0x1eb)]);}[_0x53ae8e(0x145)](_0x33a9f5){var _0x7288eb=_0x53ae8e;this[_0x7288eb(0x47a)]['removeMember'](this[_0x7288eb(0x3c4)],_0x33a9f5[_0x7288eb(0x1eb)][_0x7288eb(0x258)]);}async[_0x53ae8e(0x3b3)](_0x3bdafd,_0x94c6d2){var _0x5a54ce=_0x53ae8e;if(this[_0x5a54ce(0x3d4)]!==0x3||!this[_0x5a54ce(0x45a)])throw new Error(_0x5a54ce(0x3ad));try{_0x3bdafd[_0x5a54ce(0x1af)]===E[_0x5a54ce(0x1be)][_0x5a54ce(0x2c4)]&&(this[_0x5a54ce(0x421)](),this[_0x5a54ce(0x361)](_0x3bdafd)),this[_0x5a54ce(0x45a)]['send']({'cmd':W['INGEST'],'routeKey':_0x94c6d2,'routeType':'','data':_0x3bdafd});}catch(_0x17e28a){this['_logService'][_0x5a54ce(0x41c)](_0x17e28a);}}[_0x53ae8e(0x421)](){var _0x4dca69=_0x53ae8e,_0x5574b1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x41dab0=_0x74cc;this[_0x41dab0(0x309)]=null,this[_0x41dab0(0x1b1)][_0x41dab0(0x1ad)]({'id':J[_0x41dab0(0x13e)]});},(_0x5574b1=this[_0x4dca69(0x2f2)][_0x4dca69(0x45e)](ke))!=null?_0x5574b1:lt);}['_clearCollaborationTimeoutTimer'](){var _0x6c9327=_0x53ae8e;this[_0x6c9327(0x309)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x6c9327(0x309)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x17dd9c){var _0x45ca5e=_0x53ae8e;if(!this[_0x45ca5e(0x39f)])return;const {data:_0x526df1}=_0x17dd9c,{unitID:_0x5abd17,changeset:_0x5d4f79}=_0x526df1,{mutations:_0x5129d0,type:_0x53288e}=_0x5d4f79;this[_0x45ca5e(0x481)]={'unitId':_0x5abd17,'type':_0x53288e,'startTime':performance[_0x45ca5e(0x38c)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5129d0)};}[_0x53ae8e(0x449)](){var _0x489b37=_0x53ae8e;if(this[_0x489b37(0x39f)]){if(!this[_0x489b37(0x481)]){this['_logService'][_0x489b37(0x41c)](_0x489b37(0x3c1),_0x489b37(0x463));return;}this[_0x489b37(0x481)][_0x489b37(0x132)]=performance['now'](),this['_telemetryInfo'][_0x489b37(0x324)]=this[_0x489b37(0x481)][_0x489b37(0x132)]-this[_0x489b37(0x481)][_0x489b37(0x335)],this[_0x489b37(0x428)]['capture'](Ft,this[_0x489b37(0x481)]),this[_0x489b37(0x481)]=null;}}[_0x53ae8e(0x2ba)](){var _0x4f4e4b=_0x53ae8e;this[_0x4f4e4b(0x481)]=null;}},exports[_0x53ae8e(0x362)]=qt([ce(0x2,o[_0x53ae8e(0x359)]),ce(0x3,o[_0x53ae8e(0x176)]),ce(0x4,o['Inject'](exports[_0x53ae8e(0x195)])),ce(0x5,o[_0x53ae8e(0x427)]($e)),ce(0x6,o[_0x53ae8e(0x427)](ee)),ce(0x7,o[_0x53ae8e(0x1bd)](Nt['ITelemetryService']))],exports[_0x53ae8e(0x362)]);const q=o[_0x53ae8e(0x15d)]('collaboration-client.local-cache-service');function zt(_0x3fb594){var _0x5852e1=_0x53ae8e;return _0x5852e1(0x379)+_0x3fb594;}var Xt=Object[_0x53ae8e(0x3d8)],Jt=(_0x52ae5d,_0x433ed1,_0x4294e5,_0x2ccd6f)=>{var _0x47681a=_0x53ae8e;for(var _0xe6f388=_0x2ccd6f>0x1?void 0x0:_0x2ccd6f?Xt(_0x433ed1,_0x4294e5):_0x433ed1,_0x3a0e3e=_0x52ae5d[_0x47681a(0x461)]-0x1,_0x37f474;_0x3a0e3e>=0x0;_0x3a0e3e--)(_0x37f474=_0x52ae5d[_0x3a0e3e])&&(_0xe6f388=_0x37f474(_0xe6f388)||_0xe6f388);return _0xe6f388;},Ue=(_0x2ad181,_0x2471ab)=>(_0x18ca67,_0x6f4cc5)=>_0x2471ab(_0x18ca67,_0x6f4cc5,_0x2ad181);function Zt(_0xa10853){var _0x216a16=_0x53ae8e;const {unitID:_0x1a85d9,mutations:_0x4bb2ef}=_0xa10853;return{'unitId':_0x1a85d9,'subUnitId':_0x4bb2ef[_0x216a16(0x461)]>0x0?_0x4bb2ef[0x0]['params'][_0x216a16(0x2c6)]:null};}exports[_0x53ae8e(0x367)]=class{constructor(_0x3ad08a,_0x36d891,_0xec7c09){var _0x42fdf0=_0x53ae8e;this['_injector']=_0x3ad08a,this[_0x42fdf0(0x3cd)]=_0x36d891,this[_0x42fdf0(0x458)]=_0xec7c09;}[_0x53ae8e(0x22e)](_0xe99752){var _0x5baa57=_0x53ae8e,_0x7d8114,_0x1b5c40,_0x3cefeb,_0x25b194;const _0x39b3f7=this[_0x5baa57(0x3e0)]['get'](Q[_0x5baa57(0x384)]),{unitId:_0xa25e57,subUnitId:_0xb02573}=Zt(_0xe99752),_0x46df3d=_0x39b3f7==null?void 0x0:_0x39b3f7[_0x5baa57(0x310)](_0xa25e57)[_0x5baa57(0x32f)](),_0x59051c=(_0x1b5c40=(_0x7d8114=this[_0x5baa57(0x458)]['getUnit'](_0xa25e57))==null?void 0x0:_0x7d8114[_0x5baa57(0x2da)]())==null?void 0x0:_0x1b5c40['getSheetId']();if(_0x46df3d['length']===0x0||!_0xa25e57||!_0xb02573)return;const _0x2ea0c9=[{'id':Q[_0x5baa57(0x28e)]['id'],'params':{'unitId':_0xa25e57,'subUnitId':_0x59051c,'selections':o[_0x5baa57(0x452)][_0x5baa57(0x36a)](_0x46df3d)}}],_0x505b41=this[_0x5baa57(0x3cd)]['transformMutationsWithChangeset'](_0xe99752,_0x2ea0c9);if(!E[_0x5baa57(0x1a0)](_0x505b41))throw _0x505b41['error'];const _0x2aedfc=(_0x25b194=(_0x3cefeb=_0x505b41['m2Prime'][0x0])==null?void 0x0:_0x3cefeb['params'])==null?void 0x0:_0x25b194[_0x5baa57(0x3f4)];if(Array['isArray'](_0x2aedfc)&&_0x2aedfc[_0x5baa57(0x461)]){if(_0x2aedfc[_0x5baa57(0x461)]===_0x2ea0c9[0x0][_0x5baa57(0x2cc)][_0x5baa57(0x3f4)]['length']&&_0x2aedfc[_0x5baa57(0x272)]((_0x22a436,_0x3d25ad)=>o[_0x5baa57(0x1e0)][_0x5baa57(0x184)](_0x22a436[_0x5baa57(0x1c3)],_0x2ea0c9[0x0]['params']['selections'][_0x3d25ad]['range'])))return;this[_0x5baa57(0x3e0)][_0x5baa57(0x30a)](o[_0x5baa57(0x2aa)])[_0x5baa57(0x3e7)](Q[_0x5baa57(0x28e)]['id'],{'unitId':_0xa25e57,'subUnitId':_0x59051c,'selections':_0x2aedfc});}}},exports[_0x53ae8e(0x367)]=Jt([Ue(0x0,o[_0x53ae8e(0x427)](o['Injector'])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x53ae8e(0x49b)])],exports['SheetTransformSelectionsService']);const ve=o[_0x53ae8e(0x15d)](_0x53ae8e(0x431));var He=(_0x5abab2=>(_0x5abab2[_0x5abab2[_0x53ae8e(0x416)]=0x0]=_0x53ae8e(0x416),_0x5abab2[_0x5abab2[_0x53ae8e(0x29f)]=0x1]=_0x53ae8e(0x29f),_0x5abab2))(He||{});const Y=_0x53ae8e(0x4aa),Qt={};function ei(_0x3d216b){var _0x34bfa0=_0x53ae8e,_0x3f6d43;return!!((_0x3f6d43=_0x3d216b[_0x34bfa0(0x2cc)])!=null&&_0x3f6d43[_0x34bfa0(0x462)]);}const ti=new Set([Q[_0x53ae8e(0x151)]['id']]);function Ge(_0xc98c49,_0xf2dd4c,_0x5e0a38,_0x4ba7d3,_0x15bb8e){var _0x4599f2=_0x53ae8e,_0x779203,_0x902c1e,_0x464a6e,_0x37836c;const _0x1ceb87=[];for(const _0x5f43e1 of _0xc98c49){if(ti[_0x4599f2(0x1b2)](_0x5f43e1['id'])){if(_0x1ceb87['length']>0x0)break;_0x1ceb87['push'](_0x5f43e1);break;}if(ei(_0x5f43e1)){if(_0x1ceb87[_0x4599f2(0x461)]>0x0)break;_0x1ceb87[_0x4599f2(0x440)](_0x5f43e1);break;}_0x1ceb87[_0x4599f2(0x440)](_0x5f43e1);}const _0x5d5c44=(_0x902c1e=(_0x779203=_0x15bb8e[_0x4599f2(0x341)]())==null?void 0x0:_0x779203[_0x4599f2(0x328)])!=null?_0x902c1e:_0x4599f2(0x186),_0x34368f=(_0x37836c=(_0x464a6e=_0x15bb8e['getCurrentUser']())==null?void 0x0:_0x464a6e[_0x4599f2(0x258)])!=null?_0x37836c:'unknown';return{'changeset':{'unitID':_0xf2dd4c,'type':E['mapDocumentTypeToUniverType'](_0x5e0a38[_0x4599f2(0x124)](_0xf2dd4c)),'baseRev':_0x4ba7d3[_0x4599f2(0x155)](_0xf2dd4c),'revision':0x0,'userID':_0x5d5c44,'memberID':_0x34368f,'mutations':_0x1ceb87},'pendingMutations':_0xc98c49['slice'](_0x1ceb87[_0x4599f2(0x461)])};}function ii(_0x547aff,_0x3ad0e8,_0x418a0f,_0x2b3822,_0x1268e4){var _0x1479c7=_0x53ae8e,_0x116a80,_0x1319cb,_0x463b1b,_0x3362c1;const _0x2ce3c4=[_0x547aff[_0x1479c7(0x26d)]((_0x4df817,_0x3a3c8b)=>{var _0x6140dc=_0x1479c7,_0x19f377;const {id:_0x513019}=_0x4df817,{id:_0x21fa15,type:_0x38d509}=_0x3a3c8b,_0x24e928=(_0x19f377=_0x4df817[_0x6140dc(0x2cc)])!=null?_0x19f377:{'actions':null},_0x6cc61f=_0x3a3c8b[_0x6140dc(0x2cc)];if(_0x513019&&_0x513019!==_0x21fa15)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x513019+_0x6140dc(0x4a8)+_0x21fa15+'.');return{..._0x4df817,'id':_0x21fa15,'type':_0x38d509,'params':{'unitId':_0x6cc61f[_0x6140dc(0x200)],'textRanges':_0x6cc61f[_0x6140dc(0x264)],'actions':o[_0x6140dc(0x212)][_0x6140dc(0x1ec)](_0x24e928[_0x6140dc(0x3dd)],_0x6cc61f['actions'])}};},{})],_0x13b612=(_0x1319cb=(_0x116a80=_0x1268e4[_0x1479c7(0x341)]())==null?void 0x0:_0x116a80[_0x1479c7(0x328)])!=null?_0x1319cb:_0x1479c7(0x186),_0x3130e1=(_0x3362c1=(_0x463b1b=_0x1268e4[_0x1479c7(0x341)]())==null?void 0x0:_0x463b1b[_0x1479c7(0x258)])!=null?_0x3362c1:_0x1479c7(0x186);return{'changeset':{'unitID':_0x3ad0e8,'type':E[_0x1479c7(0x2be)](_0x418a0f[_0x1479c7(0x124)](_0x3ad0e8)),'baseRev':_0x2b3822[_0x1479c7(0x155)](_0x3ad0e8),'revision':0x0,'userID':_0x13b612,'memberID':_0x3130e1,'mutations':_0x2ce3c4},'pendingMutations':[]};}function St(_0x39e896,_0x1490ad){var _0x5b3d00=_0x53ae8e;const _0x2fd447=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x2fd447[_0x5b3d00(0x221)](_0x1490ad),_0x39e896),_0x2fd447[_0x5b3d00(0x1f7)]()[_0x5b3d00(0x127)](j[_0x5b3d00(0x18e)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x22b1ed,_0x45d862,_0x31187e,_0x4ac1b2)=>{for(var _0x54c9cf=_0x4ac1b2>0x1?void 0x0:_0x4ac1b2?ni(_0x45d862,_0x31187e):_0x45d862,_0x309d64=_0x22b1ed['length']-0x1,_0x3eedd4;_0x309d64>=0x0;_0x309d64--)(_0x3eedd4=_0x22b1ed[_0x309d64])&&(_0x54c9cf=_0x3eedd4(_0x54c9cf)||_0x54c9cf);return _0x54c9cf;},L=(_0x2da7b4,_0x257baa)=>(_0x2a2be0,_0x49f8e8)=>_0x257baa(_0x2a2be0,_0x49f8e8,_0x2da7b4),je=(_0x43cc9a=>(_0x43cc9a[_0x53ae8e(0x26a)]='not_collab',_0x43cc9a[_0x53ae8e(0x3ee)]='synced',_0x43cc9a[_0x53ae8e(0x331)]=_0x53ae8e(0x162),_0x43cc9a[_0x53ae8e(0x394)]=_0x53ae8e(0x255),_0x43cc9a['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x43cc9a[_0x53ae8e(0x224)]='fetch_missing',_0x43cc9a[_0x53ae8e(0x4ae)]=_0x53ae8e(0x45f),_0x43cc9a[_0x53ae8e(0x399)]=_0x53ae8e(0x295),_0x43cc9a))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0xf2191c,_0x50a961,_0x1d85b4,_0x22aec2,_0x3af55a,_0x4f6fe0,_0x42dee0,_0x48913f,_0x56b065){var _0x1ee79b=_0x53ae8e;A(this,'_awaitingChangeset',null),A(this,_0x1ee79b(0x1ea),[]),(this['unitID']=_0xf2191c,this[_0x1ee79b(0x19e)]=_0x50a961,this[_0x1ee79b(0x457)]=_0x3af55a,this[_0x1ee79b(0x21f)]=_0x4f6fe0,this['_undoRedoService']=_0x42dee0,this[_0x1ee79b(0x1e7)]=_0x48913f,this[_0x1ee79b(0x17d)]=_0x56b065,this[_0x1ee79b(0x3c5)]=_0x1d85b4,this[_0x1ee79b(0x1ea)]=_0x22aec2);}[_0x53ae8e(0x1b4)](_0x3f10d6){var _0x4f6757=_0x53ae8e;const _0x14db63=this[_0x4f6757(0x1e7)][_0x4f6757(0x155)](this[_0x4f6757(0x319)]);return _0x3f10d6[_0x4f6757(0x420)]>_0x14db63+0x1?(this[_0x4f6757(0x457)]['onMissingChangesets']({'from':_0x14db63,'to':_0x3f10d6['revision']-0x1}),!0x0):!0x1;}[_0x53ae8e(0x4af)](_0xdf6c6){var _0x2d6b0f=_0x53ae8e;this['_undoRedoService'][_0x2d6b0f(0x276)](this['unitID'],_0xdf6c6);}['_transformSelections'](_0xb735f4){var _0x14f02c=_0x53ae8e,_0x2b1c16,_0x22758a;(_0x22758a=(_0x2b1c16=this['_handler'])[_0x14f02c(0x291)])==null||_0x22758a[_0x14f02c(0x429)](_0x2b1c16,_0xb735f4);}[_0x53ae8e(0x438)](_0x254c0f){var _0x1ba254=_0x53ae8e,_0x217d45,_0x11f27d;return(_0x11f27d=(_0x217d45=this[_0x1ba254(0x457)])['onTransformIME'])==null?void 0x0:_0x11f27d[_0x1ba254(0x429)](_0x217d45,_0x254c0f);}['_transformStateCache'](_0x22e0ea){var _0x1448f4=_0x53ae8e,_0x1e998,_0x265cfa;return(_0x265cfa=(_0x1e998=this['_handler'])[_0x1448f4(0x235)])==null?void 0x0:_0x265cfa[_0x1448f4(0x429)](_0x1e998,_0x22e0ea);}[_0x53ae8e(0x376)](_0x1df689){var _0x548738=_0x53ae8e,_0xd4211c,_0x197464,_0x2323f2;return(_0x2323f2=(_0x197464=(_0xd4211c=this[_0x548738(0x457)])[_0x548738(0x28c)])==null?void 0x0:_0x197464[_0x548738(0x429)](_0xd4211c,_0x1df689))!=null?_0x2323f2:_0x1df689;}['_transformRemoteChangesetByStateCache'](_0x380d91){var _0x3067fd=_0x53ae8e,_0x293146,_0x26a135,_0x1b7297;return(_0x1b7297=(_0x26a135=(_0x293146=this[_0x3067fd(0x457)])[_0x3067fd(0x40f)])==null?void 0x0:_0x26a135[_0x3067fd(0x429)](_0x293146,_0x380d91))!=null?_0x1b7297:_0x380d91;}['_syncEditingCollabCursor'](_0x53fb45){var _0x73c310=_0x53ae8e,_0x3a96a2,_0x129446;if(this[_0x73c310(0x19e)]===X[_0x73c310(0x401)]){const {unitID:_0x11836a,mutations:_0x217409,memberID:_0x33ecc7}=_0x53fb45,_0x25c4a2=_0x217409[_0x73c310(0x461)]>0x0?_0x217409[0x0][_0x73c310(0x2cc)]['textRanges']:[];Array['isArray'](_0x25c4a2)&&_0x25c4a2[_0x73c310(0x461)]>0x0&&((_0x129446=(_0x3a96a2=this[_0x73c310(0x457)])[_0x73c310(0x2bb)])==null||_0x129446['call'](_0x3a96a2,{'unitID':_0x11836a,'memberID':_0x33ecc7,'textRanges':_0x25c4a2}));}}[_0x53ae8e(0x30d)](){var _0x586549=_0x53ae8e,_0x5ebaa2;(_0x5ebaa2=this[_0x586549(0x17d)])==null||_0x5ebaa2['updateOfflineData'](this[_0x586549(0x319)],this[_0x586549(0x19e)],this[_0x586549(0x3c5)],this['_pendingMutations']);}[_0x53ae8e(0x45d)](){var _0x575f40=_0x53ae8e;return this[_0x575f40(0x1e7)]['getCurrentRevOfUnit'](this['unitID']);}[_0x53ae8e(0x3be)](){var _0x2cf268=_0x53ae8e;this[_0x2cf268(0x1e7)][_0x2cf268(0x2dc)](this[_0x2cf268(0x319)]);}[_0x53ae8e(0x417)](_0x4e7384){var _0x3bc32e=_0x53ae8e,_0x38554e;let _0x18200c=this[_0x3bc32e(0x376)](_0x4e7384);_0x18200c=this[_0x3bc32e(0x208)](_0x18200c);const _0x17c26b=o[_0x3bc32e(0x46e)](_0x18200c[_0x3bc32e(0x478)],this[_0x3bc32e(0x21f)],{'fromCollab':!0x0});if(!_0x17c26b['result'])throw _0x17c26b['error']instanceof Error?_0x17c26b[_0x3bc32e(0x41c)]:new Error((_0x38554e=_0x17c26b[_0x3bc32e(0x41c)])!=null?_0x38554e:'[CollaborationState]:\x20apply\x20error!');this[_0x3bc32e(0x438)](_0x18200c),this[_0x3bc32e(0x330)](_0x18200c),this[_0x3bc32e(0x4af)](_0x4e7384),this[_0x3bc32e(0x46d)](_0x18200c),this[_0x3bc32e(0x321)](_0x18200c),this[_0x3bc32e(0x3be)]();}}exports[_0x53ae8e(0x17e)]=class extends oe{constructor(_0x5b7445,_0x2de4a4,_0xd744e1,_0x294c28,_0xa35ce0,_0x3021b0,_0x3ff884,_0x33f805,_0x57570e,_0x3cdd37){var _0x42228a=_0x53ae8e;super(_0x5b7445,_0x2de4a4,null,[],_0xd744e1,_0x3ff884,_0x3021b0,_0x294c28,_0x3cdd37),A(this,_0x42228a(0x456),_0x42228a(0x2b5)),(this[_0x42228a(0x3e0)]=_0xa35ce0,this[_0x42228a(0x44f)]=_0x33f805,this[_0x42228a(0x3cd)]=_0x57570e,this[_0x42228a(0x383)]=_0x3cdd37);}['appendMutation'](_0x306245){var _0x153f66=_0x53ae8e;const _0x36436f=this['_injector'][_0x153f66(0x37a)](exports[_0x153f66(0x27e)],this[_0x153f66(0x319)],this['type'],[_0x306245],this['_handler']);return _0x36436f[_0x153f66(0x39a)](),_0x36436f[_0x153f66(0x30d)](),_0x36436f;}[_0x53ae8e(0x1a5)](_0x3a1556){var _0x10b78e=_0x53ae8e;if(this[_0x10b78e(0x1b4)](_0x3a1556))return this['_injector'][_0x10b78e(0x37a)](exports[_0x10b78e(0x357)],this['unitID'],this[_0x10b78e(0x19e)],null,[],null,[_0x3a1556],this['_handler']);try{const _0x3bdc42=this[_0x10b78e(0x3cd)]['transformMutationsWithChangeset'](_0x3a1556,[E[_0x10b78e(0x1ac)]]);if(E[_0x10b78e(0x1a0)](_0x3bdc42)){const {c1Prime:_0x47d28e}=_0x3bdc42;return this['_executeRemoteChangeset'](_0x47d28e),this;}throw _0x3bdc42['error'];}catch(_0x220b8e){return this['_logService'][_0x10b78e(0x41c)](_0x220b8e),this[_0x10b78e(0x4a7)](!0x1);}}[_0x53ae8e(0x4a7)](_0x2d7a2c){var _0x9707f5=_0x53ae8e;return this[_0x9707f5(0x3e0)][_0x9707f5(0x37a)](exports[_0x9707f5(0x3b0)],this[_0x9707f5(0x319)],this[_0x9707f5(0x19e)],null,[],this[_0x9707f5(0x457)],_0x2d7a2c);}[_0x53ae8e(0x2a3)](){var _0x2b98c1=_0x53ae8e;throw new Error(_0x2b98c1(0x251));}[_0x53ae8e(0x2e0)](){var _0x57ad30=_0x53ae8e;throw new Error(_0x57ad30(0x154));}['onRemoteRetry'](){return this;}[_0x53ae8e(0x2b8)](){var _0x583cdc=_0x53ae8e;return this[_0x583cdc(0x3e0)][_0x583cdc(0x37a)](exports[_0x583cdc(0x16e)],this[_0x583cdc(0x319)],this[_0x583cdc(0x19e)],null,[],this[_0x583cdc(0x457)]);}['toggleOnline'](){return this;}[_0x53ae8e(0x1f5)](){var _0x26a120=_0x53ae8e;throw new Error(_0x26a120(0x234));}[_0x53ae8e(0x193)](){var _0x28426e=_0x53ae8e;const _0xdca340=this[_0x28426e(0x1e7)][_0x28426e(0x155)](this[_0x28426e(0x319)]);return this[_0x28426e(0x457)][_0x28426e(0x217)]({'from':_0xdca340,'to':0x0}),this['_injector']['createInstance'](exports[_0x28426e(0x357)],this[_0x28426e(0x319)],this['type'],null,[],null,[],this[_0x28426e(0x457)]);}},exports[_0x53ae8e(0x17e)]=ae([L(0x3,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x447)])),L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x53ae8e(0x14a)]),L(0x6,o[_0x53ae8e(0x2aa)]),L(0x7,o[_0x53ae8e(0x359)]),L(0x8,E[_0x53ae8e(0x2eb)]),L(0x9,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x17e)]),exports[_0x53ae8e(0x27e)]=class extends oe{constructor(_0x17ff38,_0x9a393b,_0x38f816,_0x362849,_0x61305d,_0x2b3949,_0x1d0b67,_0x50aa0f,_0x32b068,_0x5d7117,_0x83c128,_0x932f1c,_0x2c2c89,_0x26b815){var _0x1ed5ee=_0x53ae8e;super(_0x17ff38,_0x9a393b,null,_0x38f816,_0x362849,_0x32b068,_0x2c2c89,_0x2b3949,_0x26b815),A(this,'status',_0x1ed5ee(0x162)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x1ed5ee(0x1b0),null),(this[_0x1ed5ee(0x3e0)]=_0x61305d,this[_0x1ed5ee(0x47a)]=_0x1d0b67,this[_0x1ed5ee(0x44f)]=_0x50aa0f,this[_0x1ed5ee(0x2f2)]=_0x5d7117,this[_0x1ed5ee(0x3cd)]=_0x83c128,this['_univerInstanceService']=_0x932f1c);}[_0x53ae8e(0x23d)](_0x58a241){var _0x237f9b=_0x53ae8e;return this[_0x237f9b(0x1ea)]['push'](_0x58a241),this[_0x237f9b(0x30d)](),this;}[_0x53ae8e(0x1a5)](_0x223b5d){var _0x9cc64b=_0x53ae8e;if(this['_checkMissing'](_0x223b5d))return this[_0x9cc64b(0x19d)](),this[_0x9cc64b(0x3e0)][_0x9cc64b(0x37a)](exports[_0x9cc64b(0x357)],this[_0x9cc64b(0x319)],this[_0x9cc64b(0x19e)],null,this[_0x9cc64b(0x1ea)],null,[_0x223b5d],this[_0x9cc64b(0x457)]);try{const _0x43197a=this[_0x9cc64b(0x3cd)][_0x9cc64b(0x1c8)](_0x223b5d,this[_0x9cc64b(0x1ea)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x43197a)){const {c1Prime:_0x23ed58,m2Prime:_0x651e7f}=_0x43197a;this[_0x9cc64b(0x417)](_0x23ed58);const _0x291f87=this[_0x9cc64b(0x3e0)][_0x9cc64b(0x37a)](exports[_0x9cc64b(0x27e)],this['unitID'],this['type'],_0x651e7f,this[_0x9cc64b(0x457)]);this['_clearScheduledTask']();const _0x161daf=new Date()[_0x9cc64b(0x495)](),_0x181b44=this[_0x9cc64b(0x338)]?Math[_0x9cc64b(0x2e6)](this[_0x9cc64b(0x338)]-_0x161daf,0x0):this[_0x9cc64b(0x17f)]();return _0x291f87[_0x9cc64b(0x39a)](_0x181b44),_0x291f87;}throw _0x43197a[_0x9cc64b(0x41c)];}catch(_0x5c7573){return this['_logService']['error'](_0x5c7573),this[_0x9cc64b(0x4a7)](!0x1);}}['onRemoteAck'](){var _0xc01dbf=_0x53ae8e;throw new Error(_0xc01dbf(0x2b7));}[_0x53ae8e(0x2e0)](){var _0x347e1e=_0x53ae8e;throw new Error(_0x347e1e(0x1bf));}[_0x53ae8e(0x199)](){return this;}[_0x53ae8e(0x2b8)](){var _0x457fd3=_0x53ae8e;return this[_0x457fd3(0x19d)](),this[_0x457fd3(0x3e0)]['createInstance'](exports[_0x457fd3(0x16e)],this[_0x457fd3(0x319)],this[_0x457fd3(0x19e)],null,this[_0x457fd3(0x1ea)],this['_handler']);}[_0x53ae8e(0x189)](){return this;}[_0x53ae8e(0x39a)](_0x1775af){var _0x2acd5a=_0x53ae8e;const _0x596e9d=_0x1775af!=null?_0x1775af:this[_0x2acd5a(0x17f)]();this[_0x2acd5a(0x338)]=new Date()['getTime']()+_0x596e9d,this['_sendingTimer']=setTimeout(()=>{var _0x20682c=_0x2acd5a;this[_0x20682c(0x19d)]();let _0x1c36ac=null;switch(this['type']){case X[_0x20682c(0x25b)]:{_0x1c36ac=Ge(this['_pendingMutations'],this['unitID'],this[_0x20682c(0x297)],this[_0x20682c(0x1e7)],this[_0x20682c(0x47a)]);break;}case X[_0x20682c(0x401)]:{this[_0x20682c(0x1ea)]['every'](_0x217eb9=>_0x217eb9['id']===ct['RichTextEditingMutation']['id'])?_0x1c36ac=ii(this['_pendingMutations'],this[_0x20682c(0x319)],this['_univerInstanceService'],this['_revisionService'],this[_0x20682c(0x47a)]):_0x1c36ac=Ge(this[_0x20682c(0x1ea)],this[_0x20682c(0x319)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x20682c(0x220)+this[_0x20682c(0x19e)]+_0x20682c(0x315));}const {changeset:_0xa221f2,pendingMutations:_0x2d49bf}=_0x1c36ac;this[_0x20682c(0x457)][_0x20682c(0x2b9)](_0xa221f2);const _0x190ba1=_0x2d49bf['length']?this[_0x20682c(0x3e0)]['createInstance'](exports[_0x20682c(0x475)],this[_0x20682c(0x319)],this[_0x20682c(0x19e)],_0xa221f2,_0x2d49bf,this[_0x20682c(0x457)],void 0x0):this[_0x20682c(0x3e0)][_0x20682c(0x37a)](exports[_0x20682c(0x197)],this['unitID'],this[_0x20682c(0x19e)],_0xa221f2,this[_0x20682c(0x457)]);_0x190ba1[_0x20682c(0x30d)](),this['_handler']['onStateChange'](this,_0x190ba1);},_0x596e9d);}[_0x53ae8e(0x17f)](){var _0x97dcb6=_0x53ae8e,_0x275740;const _0x2ccefc=this[_0x97dcb6(0x2f2)][_0x97dcb6(0x45e)](Y);return(_0x275740=_0x2ccefc==null?void 0x0:_0x2ccefc[_0x97dcb6(0x17c)])!=null?_0x275740:At;}[_0x53ae8e(0x1f5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x53ae8e(0x19d)](){var _0x303656=_0x53ae8e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x303656(0x1b0)]),this[_0x303656(0x1b0)]=null);}[_0x53ae8e(0x4a7)](_0x16bad7){var _0x590b1f=_0x53ae8e;return this[_0x590b1f(0x19d)](),this['_injector'][_0x590b1f(0x37a)](exports[_0x590b1f(0x3b0)],this[_0x590b1f(0x319)],this[_0x590b1f(0x19e)],null,this[_0x590b1f(0x1ea)],this[_0x590b1f(0x457)],_0x16bad7);}},exports[_0x53ae8e(0x27e)]=ae([L(0x4,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),L(0x5,o['Inject'](E[_0x53ae8e(0x447)])),L(0x6,o[_0x53ae8e(0x427)](exports[_0x53ae8e(0x195)])),L(0x7,o[_0x53ae8e(0x359)]),L(0x8,o[_0x53ae8e(0x2aa)]),L(0x9,o[_0x53ae8e(0x176)]),L(0xa,E[_0x53ae8e(0x2eb)]),L(0xb,o['IUniverInstanceService']),L(0xc,o['IUndoRedoService']),L(0xd,o['Optional'](q))],exports[_0x53ae8e(0x27e)]),exports[_0x53ae8e(0x197)]=class extends oe{constructor(_0x40acf9,_0x233f1f,_0xd315cb,_0x368ae6,_0x1b334a,_0x40b321,_0xda3113,_0x34df4a,_0x41a2d1,_0xb411d2,_0x53241a){var _0x3a44b4=_0x53ae8e;super(_0x40acf9,_0x233f1f,_0xd315cb,[],_0x368ae6,_0xda3113,_0xb411d2,_0x40b321,_0x53241a),A(this,'status',_0x3a44b4(0x255)),A(this,_0x3a44b4(0x42e),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0x3a44b4(0x2f4)),A(this,'_sender'),(this[_0x3a44b4(0x3e0)]=_0x1b334a,this[_0x3a44b4(0x44f)]=_0x34df4a,this[_0x3a44b4(0x3cd)]=_0x41a2d1);}[_0x53ae8e(0x23d)](_0x275acb){var _0x192039=_0x53ae8e;this[_0x192039(0x19d)]();const _0x52e6a7=this[_0x192039(0x3e0)][_0x192039(0x37a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x192039(0x19e)],this[_0x192039(0x3c5)],[_0x275acb],this[_0x192039(0x457)],this[_0x192039(0x2f4)]);return _0x52e6a7['_updateLocalCache'](),_0x52e6a7;}['onRemoteChangeset'](_0x1e3b78){var _0x2b11c7=_0x53ae8e;if(this[_0x2b11c7(0x1b4)](_0x1e3b78))return this[_0x2b11c7(0x19d)](),this[_0x2b11c7(0x3e0)][_0x2b11c7(0x37a)](exports[_0x2b11c7(0x357)],this[_0x2b11c7(0x319)],this[_0x2b11c7(0x19e)],this[_0x2b11c7(0x3c5)],[],null,[_0x1e3b78],this[_0x2b11c7(0x457)]);try{const _0x1d3465=this[_0x2b11c7(0x3cd)][_0x2b11c7(0x1c4)]([_0x1e3b78],[this['_awaitingChangeset']],!0x1);if(E['isTransformChangesetsSuccess'](_0x1d3465)){const {c1Prime:_0x45b93c,c2Prime:_0x3d1877}=_0x1d3465;this[_0x2b11c7(0x417)](_0x45b93c[0x0]),_0x3d1877[0x0][_0x2b11c7(0x4b1)]=this['_getCurrentRevision'](),this[_0x2b11c7(0x19d)]();const _0x59b210=this[_0x2b11c7(0x3e0)][_0x2b11c7(0x37a)](exports[_0x2b11c7(0x197)],this[_0x2b11c7(0x319)],this[_0x2b11c7(0x19e)],_0x3d1877[0x0],this['_handler']);return _0x59b210['_updateLocalCache'](),_0x59b210;}return this[_0x2b11c7(0x4a7)](!0x1);}catch(_0x1ed94d){return this[_0x2b11c7(0x44f)][_0x2b11c7(0x41c)](_0x1ed94d),this[_0x2b11c7(0x4a7)](!0x1);}}[_0x53ae8e(0x2a3)](_0xed61b7){var _0x5c021f=_0x53ae8e;this[_0x5c021f(0x19d)]();const _0x3c1d91=this[_0x5c021f(0x1e7)][_0x5c021f(0x155)](this['unitID']);if(_0xed61b7[_0x5c021f(0x420)]<_0x3c1d91-0x1)return this;if(this[_0x5c021f(0x1b4)](_0xed61b7))return this[_0x5c021f(0x3e0)][_0x5c021f(0x37a)](exports[_0x5c021f(0x357)],this[_0x5c021f(0x319)],this[_0x5c021f(0x19e)],null,[],this[_0x5c021f(0x3c5)],[],this['_handler']);this[_0x5c021f(0x3be)]();const _0x553ac1=this[_0x5c021f(0x3e0)][_0x5c021f(0x37a)](exports[_0x5c021f(0x17e)],this['unitID'],this['type'],this[_0x5c021f(0x457)]);return _0x553ac1['_updateLocalCache'](),_0x553ac1;}[_0x53ae8e(0x2e0)](_0x219c6b){var _0x2890e8=_0x53ae8e;return this[_0x2890e8(0x4a7)](!!(_0x219c6b!=null&&_0x219c6b['isPermissionRej']));}['onRemoteRetry'](_0x161594){var _0xc1196=_0x53ae8e;return this[_0xc1196(0x2e1)]>ft?this[_0xc1196(0x2b8)]():(this[_0xc1196(0x2f4)]=St(this['_resendTimeout'],{'timeout':this[_0xc1196(0x42e)],'reqId':_0x161594[_0xc1196(0x287)]}),this[_0xc1196(0x2bc)]=this[_0xc1196(0x2f4)][_0xc1196(0x2b1)](({reqId:_0x48bac8,timeout:_0x5e74f4})=>{var _0x339791=_0xc1196;this[_0x339791(0x168)](_0x48bac8,_0x5e74f4);}),this);}[_0x53ae8e(0x2b8)](){var _0x42b795=_0x53ae8e;return this[_0x42b795(0x19d)](),this[_0x42b795(0x3e0)][_0x42b795(0x37a)](exports[_0x42b795(0x16e)],this[_0x42b795(0x319)],this[_0x42b795(0x19e)],this[_0x42b795(0x3c5)],[],this[_0x42b795(0x457)]);}[_0x53ae8e(0x189)](){return this;}['resend'](){var _0x2f92b7=_0x53ae8e;this[_0x2f92b7(0x457)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x53ae8e(0x4a7)](_0x31c19e){var _0x3df833=_0x53ae8e;return this[_0x3df833(0x19d)](),this[_0x3df833(0x3e0)][_0x3df833(0x37a)](exports[_0x3df833(0x3b0)],this[_0x3df833(0x319)],this['type'],this[_0x3df833(0x3c5)],[],this[_0x3df833(0x457)],_0x31c19e);}[_0x53ae8e(0x168)](_0xa409b2,_0x4d9d77){var _0x171f39=_0x53ae8e,_0x5a1012;_0xa409b2===((_0x5a1012=this['_awaitingChangeset'])==null?void 0x0:_0x5a1012[_0x171f39(0x287)])&&(this[_0x171f39(0x1f5)](),this[_0x171f39(0x42e)]=_0x4d9d77===0x0?0x3e8:Math[_0x171f39(0x2dd)](_0x4d9d77*0x2,It),this[_0x171f39(0x2e1)]+=this[_0x171f39(0x42e)]);}[_0x53ae8e(0x19d)](){var _0x56b8bc=_0x53ae8e,_0x111540;(_0x111540=this[_0x56b8bc(0x2bc)])==null||_0x111540[_0x56b8bc(0x2ab)](),this[_0x56b8bc(0x42e)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x53ae8e(0x197)]=ae([L(0x4,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),L(0x5,o['Inject'](E[_0x53ae8e(0x447)])),L(0x6,o[_0x53ae8e(0x2aa)]),L(0x7,o[_0x53ae8e(0x359)]),L(0x8,E[_0x53ae8e(0x2eb)]),L(0x9,o['IUndoRedoService']),L(0xa,o[_0x53ae8e(0x1bd)](q))],exports['AwaitingState']),exports[_0x53ae8e(0x475)]=class extends oe{constructor(_0x447ad7,_0x3d30bd,_0x2b8108,_0x1f7868,_0xa8c867,_0x13a3bf,_0x4876aa,_0x145820,_0x21f459,_0x3fc4e4,_0x4d330c,_0x3effbc,_0x14a84c){var _0xc1e098=_0x53ae8e;super(_0x447ad7,_0x3d30bd,_0x2b8108,_0x1f7868,_0xa8c867,_0x21f459,_0x3effbc,_0x145820,_0x14a84c),A(this,_0xc1e098(0x456),_0xc1e098(0x1b8)),A(this,'_resendTimeout',0x0),A(this,_0xc1e098(0x2e1),0x0),A(this,_0xc1e098(0x2f4)),A(this,'_sender'),(this[_0xc1e098(0x3e0)]=_0x4876aa,this['_logService']=_0x3fc4e4,this[_0xc1e098(0x3cd)]=_0x4d330c,this[_0xc1e098(0x383)]=_0x14a84c,_0x13a3bf&&(this[_0xc1e098(0x2f4)]=_0x13a3bf,this['_sender']=this['_resendTimer'][_0xc1e098(0x2b1)](({reqId:_0xf224ec,timeout:_0x2fe1d2})=>{var _0x3b206f=_0xc1e098;this[_0x3b206f(0x168)](_0xf224ec,_0x2fe1d2);})));}[_0x53ae8e(0x23d)](_0x5f3c84){var _0x2f3cca=_0x53ae8e;return this[_0x2f3cca(0x1ea)]['push'](_0x5f3c84),this;}[_0x53ae8e(0x1a5)](_0x25203b){var _0x283f4c=_0x53ae8e;if(this[_0x283f4c(0x1b4)](_0x25203b))return this[_0x283f4c(0x19d)](),this[_0x283f4c(0x3e0)][_0x283f4c(0x37a)](exports[_0x283f4c(0x357)],this[_0x283f4c(0x319)],this[_0x283f4c(0x19e)],this[_0x283f4c(0x3c5)],this[_0x283f4c(0x1ea)],null,[_0x25203b],this[_0x283f4c(0x457)]);try{const _0x2c9e0a=this[_0x283f4c(0x3cd)][_0x283f4c(0x1c4)]([_0x25203b],[this[_0x283f4c(0x3c5)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x2c9e0a)){const {c1Prime:_0x35f363,c2Prime:_0x404c14}=_0x2c9e0a,_0x38dfce=this[_0x283f4c(0x3cd)][_0x283f4c(0x1c8)](_0x35f363[0x0],this[_0x283f4c(0x1ea)]);if(E[_0x283f4c(0x1a0)](_0x38dfce)){const {c1Prime:_0x1999c6,m2Prime:_0x1c01c7}=_0x38dfce;return this[_0x283f4c(0x417)](_0x1999c6),_0x404c14[0x0]['baseRev']=this[_0x283f4c(0x45d)](),this[_0x283f4c(0x19d)](),this[_0x283f4c(0x3e0)][_0x283f4c(0x37a)](exports[_0x283f4c(0x475)],this['unitID'],this[_0x283f4c(0x19e)],_0x404c14[0x0],_0x1c01c7,this[_0x283f4c(0x457)],void 0x0);}throw _0x38dfce['error'];}throw _0x2c9e0a[_0x283f4c(0x41c)];}catch(_0x1f2ca0){return this[_0x283f4c(0x44f)][_0x283f4c(0x41c)](_0x1f2ca0),this[_0x283f4c(0x4a7)](!0x1);}}[_0x53ae8e(0x2a3)](_0x30860a){var _0x14f99a=_0x53ae8e;if(this['_clearScheduledTask'](),this[_0x14f99a(0x1b4)](_0x30860a))return this[_0x14f99a(0x3e0)][_0x14f99a(0x37a)](exports[_0x14f99a(0x357)],this['unitID'],this[_0x14f99a(0x19e)],null,this[_0x14f99a(0x1ea)],this[_0x14f99a(0x3c5)],[],this[_0x14f99a(0x457)]);this['_incrementRevisionNumber']();const _0x2913fb=this['_injector']['createInstance'](exports[_0x14f99a(0x27e)],this[_0x14f99a(0x319)],this[_0x14f99a(0x19e)],this[_0x14f99a(0x1ea)],this[_0x14f99a(0x457)]);return _0x2913fb[_0x14f99a(0x39a)](),_0x2913fb[_0x14f99a(0x30d)](),_0x2913fb;}[_0x53ae8e(0x2e0)](_0x40164d){var _0x42831d=_0x53ae8e;return this[_0x42831d(0x4a7)](!!(_0x40164d!=null&&_0x40164d[_0x42831d(0x187)]));}['onRemoteRetry'](_0x2a33b3){var _0x269461=_0x53ae8e;return this[_0x269461(0x2e1)]>ft?this[_0x269461(0x2b8)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this[_0x269461(0x42e)],'reqId':_0x2a33b3[_0x269461(0x287)]}),this[_0x269461(0x2bc)]=this[_0x269461(0x2f4)][_0x269461(0x2b1)](({reqId:_0x48323b,timeout:_0x5039b7})=>{this['_resendWithTimeout'](_0x48323b,_0x5039b7);}),this);}[_0x53ae8e(0x2b8)](){var _0x2b08c2=_0x53ae8e;return this[_0x2b08c2(0x19d)](),this[_0x2b08c2(0x3e0)][_0x2b08c2(0x37a)](exports['OfflineState'],this[_0x2b08c2(0x319)],this[_0x2b08c2(0x19e)],this[_0x2b08c2(0x3c5)],this[_0x2b08c2(0x1ea)],this[_0x2b08c2(0x457)]);}[_0x53ae8e(0x189)](){return this;}['resend'](){var _0x114685=_0x53ae8e;this[_0x114685(0x457)]['onSendChangeset'](this[_0x114685(0x3c5)]);}[_0x53ae8e(0x4a7)](_0x3131af){var _0x3336c6=_0x53ae8e;return this[_0x3336c6(0x19d)](),this[_0x3336c6(0x3e0)]['createInstance'](exports[_0x3336c6(0x3b0)],this[_0x3336c6(0x319)],this[_0x3336c6(0x19e)],null,this[_0x3336c6(0x1ea)],this[_0x3336c6(0x457)],_0x3131af);}[_0x53ae8e(0x168)](_0x2ec8d4,_0x1e5550){var _0x4a3a7a=_0x53ae8e,_0xc39704;_0x2ec8d4===((_0xc39704=this[_0x4a3a7a(0x3c5)])==null?void 0x0:_0xc39704[_0x4a3a7a(0x287)])&&(this[_0x4a3a7a(0x1f5)](),this[_0x4a3a7a(0x42e)]=_0x1e5550===0x0?0x3e8:Math[_0x4a3a7a(0x2dd)](_0x1e5550*0x2,It),this[_0x4a3a7a(0x2e1)]+=this[_0x4a3a7a(0x42e)]);}[_0x53ae8e(0x19d)](){var _0xcd71ec=_0x53ae8e,_0x230e46;(_0x230e46=this[_0xcd71ec(0x2bc)])==null||_0x230e46['unsubscribe'](),this[_0xcd71ec(0x42e)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x53ae8e(0x475)]=ae([L(0x6,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),L(0x7,o['Inject'](E[_0x53ae8e(0x447)])),L(0x8,o['ICommandService']),L(0x9,o[_0x53ae8e(0x359)]),L(0xa,E[_0x53ae8e(0x2eb)]),L(0xb,o[_0x53ae8e(0x14a)]),L(0xc,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x475)]),exports[_0x53ae8e(0x3b0)]=class extends oe{constructor(_0x59aff5,_0x376c1c,_0x5045c1,_0x4bf084,_0x34ed86,_0x1d5a0b=!0x1,_0x3f4ce3,_0x5b7486,_0x51f042,_0x519042,_0x3651d5,_0x46a20b,_0x8350fb){var _0x5580ab=_0x53ae8e;super(_0x59aff5,_0x376c1c,_0x5045c1,_0x4bf084,_0x34ed86,_0x5b7486,_0x51f042,_0x519042,_0x8350fb),A(this,'status',_0x5580ab(0x45f)),(this['_isPermissionRej']=_0x1d5a0b,this['_permissionService']=_0x3f4ce3,this[_0x5580ab(0x3d1)]=_0x3651d5,this[_0x5580ab(0x1b1)]=_0x46a20b,this[_0x5580ab(0x383)]=_0x8350fb,this[_0x5580ab(0x434)](),this[_0x5580ab(0x15f)](),this[_0x5580ab(0x226)]());}[_0x53ae8e(0x23d)](){return this;}['onRemoteChangeset'](){return this;}[_0x53ae8e(0x2a3)](){return this;}[_0x53ae8e(0x2e0)](){return this;}[_0x53ae8e(0x199)](){return this;}[_0x53ae8e(0x2b8)](){return this;}[_0x53ae8e(0x189)](){return this;}['resend'](){var _0x8fe812=_0x53ae8e;throw new Error(_0x8fe812(0x464));}[_0x53ae8e(0x15f)](){var _0x2b441f=_0x53ae8e,_0x46ab04;(_0x46ab04=this[_0x2b441f(0x17d)])==null||_0x46ab04[_0x2b441f(0x294)](this[_0x2b441f(0x319)],this[_0x2b441f(0x19e)],null,[]);}[_0x53ae8e(0x434)](){var _0x5904c0=_0x53ae8e;this[_0x5904c0(0x282)]?this[_0x5904c0(0x1b1)][_0x5904c0(0x1ad)]({'id':J[_0x5904c0(0x356)]}):this[_0x5904c0(0x1b1)][_0x5904c0(0x1ad)]({'id':J[_0x5904c0(0x4ae)]});}[_0x53ae8e(0x226)](){var _0x5463c3=_0x53ae8e;this[_0x5463c3(0x28f)][_0x5463c3(0x377)](new Q[(_0x5463c3(0x2a9))](this[_0x5463c3(0x319)])['id'],!0x1);}},exports[_0x53ae8e(0x3b0)]=ae([L(0x6,o['Inject'](o[_0x53ae8e(0x408)])),L(0x7,o['ICommandService']),L(0x8,o[_0x53ae8e(0x14a)]),L(0x9,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x447)])),L(0xa,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x2ac)])),L(0xb,o[_0x53ae8e(0x427)](ee)),L(0xc,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x3b0)]),exports[_0x53ae8e(0x16e)]=class extends oe{constructor(_0x5740ef,_0x462e64,_0x53a4fd,_0x3d12ad,_0x26cfb2,_0xe6012a,_0x3b6be9,_0x3c51fb,_0x603de5,_0x1d9564){var _0x202592=_0x53ae8e;super(_0x5740ef,_0x462e64,_0x53a4fd,_0x3d12ad,_0x26cfb2,_0x3c51fb,_0x603de5,_0x3b6be9,_0x1d9564),A(this,_0x202592(0x456),_0x202592(0x295)),this[_0x202592(0x3e0)]=_0xe6012a;}[_0x53ae8e(0x23d)](_0x1559f8){var _0x3dcd6a=_0x53ae8e;return this[_0x3dcd6a(0x1ea)][_0x3dcd6a(0x440)](_0x1559f8),this['_updateLocalCache'](),this;}[_0x53ae8e(0x1a5)](_0x5ae676){var _0x2874ef=_0x53ae8e;throw new Error(_0x2874ef(0x1d9));}[_0x53ae8e(0x2a3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x53ae8e(0x2e0)](){var _0x118115=_0x53ae8e;throw new Error(_0x118115(0x345));}[_0x53ae8e(0x199)](){return this;}['toggleOffline'](){return this;}[_0x53ae8e(0x189)](){var _0x188a40=_0x53ae8e;const {_injector:_0x2dd455,_pendingMutations:_0x58ce8e,_awaitingChangeset:_0x4c0702,unitID:_0x508217,_handler:_0x21365f,type:_0x1a19fe}=this,_0x2d26e4=Et(_0x2dd455,_0x508217,_0x1a19fe,_0x4c0702,_0x58ce8e,_0x21365f);return _0x2d26e4 instanceof exports[_0x188a40(0x27e)]?_0x2d26e4[_0x188a40(0x39a)]():(_0x2d26e4 instanceof exports[_0x188a40(0x475)]||_0x2d26e4 instanceof exports[_0x188a40(0x197)])&&_0x2d26e4['resend'](),_0x2d26e4;}[_0x53ae8e(0x1f5)](){var _0x4121c3=_0x53ae8e;throw new Error(_0x4121c3(0x1e2));}},exports['OfflineState']=ae([L(0x5,o['Inject'](o[_0x53ae8e(0x1b9)])),L(0x6,o[_0x53ae8e(0x427)](E['RevisionService'])),L(0x7,o[_0x53ae8e(0x2aa)]),L(0x8,o[_0x53ae8e(0x14a)]),L(0x9,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x16e)]),exports['FetchingMissState']=class extends oe{constructor(_0x5f574d,_0x38129a,_0x524496,_0x38b6a2,_0x1220c9,_0xbaa829,_0x13105b,_0x23dc63,_0x5c14c4,_0x5e8c32,_0x289442,_0x6350c5,_0xe0b6bd,_0x57a3b9){var _0x1ef56d=_0x53ae8e;super(_0x5f574d,_0x38129a,_0x524496,_0x38b6a2,_0x13105b,_0x289442,_0x6350c5,_0x5c14c4,_0x57a3b9),A(this,_0x1ef56d(0x456),_0x1ef56d(0x26f)),(this[_0x1ef56d(0x2e4)]=_0x1220c9,this[_0x1ef56d(0x3ca)]=_0xbaa829,this['_injector']=_0x23dc63,this['_logService']=_0x5e8c32,this[_0x1ef56d(0x3cd)]=_0xe0b6bd,this[_0x1ef56d(0x383)]=_0x57a3b9);}[_0x53ae8e(0x3f5)](_0x1f94ca){var _0x28acc0=_0x53ae8e;try{const _0x579576=[..._0x1f94ca,...this[_0x28acc0(0x3ca)]],_0x2f942b=[this[_0x28acc0(0x3c5)]||this['_acknowledgedAwaitingChangeset']][_0x28acc0(0x400)](_0x408e64=>!!_0x408e64);let _0x283cc7,_0x10df41;if(_0x2f942b[_0x28acc0(0x461)]){const _0x32e25f=this['_transformService'][_0x28acc0(0x1c4)](_0x579576,_0x2f942b,!0x1);if(!E[_0x28acc0(0x31d)](_0x32e25f))throw _0x32e25f['error'];_0x283cc7=_0x32e25f[_0x28acc0(0x4a1)],_0x10df41=_0x32e25f[_0x28acc0(0x1ca)];}else _0x283cc7=_0x579576,_0x10df41=[];let _0xb719be=this[_0x28acc0(0x1ea)];_0x283cc7[_0x28acc0(0x22b)](_0x3ef32b=>{var _0x5dd7dd=_0x28acc0;let _0x186b9a;if(_0xb719be[_0x5dd7dd(0x461)]){const _0x4452c6=this[_0x5dd7dd(0x3cd)]['transformMutationsWithChangeset'](_0x3ef32b,_0xb719be);if(!E[_0x5dd7dd(0x1a0)](_0x4452c6))throw _0x4452c6[_0x5dd7dd(0x41c)];_0x186b9a=_0x4452c6[_0x5dd7dd(0x4a1)],_0xb719be=_0x4452c6[_0x5dd7dd(0x1b5)];}else _0x186b9a=_0x3ef32b;this[_0x5dd7dd(0x417)](_0x186b9a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x28acc0(0x3be)](),this[_0x28acc0(0x3c5)]&&_0x10df41[_0x28acc0(0x461)]&&(_0x10df41[0x0][_0x28acc0(0x4b1)]=this[_0x28acc0(0x45d)]());let _0x515bd8;if(this[_0x28acc0(0x3c5)]&&_0xb719be['length']!==0x0)_0x515bd8=this['_injector'][_0x28acc0(0x37a)](exports[_0x28acc0(0x475)],this[_0x28acc0(0x319)],this[_0x28acc0(0x19e)],_0x10df41[0x0],_0xb719be,this[_0x28acc0(0x457)],void 0x0);else{if(this[_0x28acc0(0x3c5)]&&_0xb719be[_0x28acc0(0x461)]===0x0)_0x10df41[0x0]['baseRev']=this[_0x28acc0(0x45d)](),_0x515bd8=this[_0x28acc0(0x3e0)][_0x28acc0(0x37a)](exports[_0x28acc0(0x197)],this[_0x28acc0(0x319)],this['type'],_0x10df41[0x0],this['_handler']);else{if(_0xb719be[_0x28acc0(0x461)]!==0x0){const _0x151cf8=this[_0x28acc0(0x3e0)][_0x28acc0(0x37a)](exports['PendingState'],this['unitID'],this[_0x28acc0(0x19e)],_0xb719be,this[_0x28acc0(0x457)]);_0x151cf8[_0x28acc0(0x39a)](),_0x515bd8=_0x151cf8;}else _0x515bd8=this['_injector']['createInstance'](exports[_0x28acc0(0x17e)],this[_0x28acc0(0x319)],this['type'],this[_0x28acc0(0x457)]);}}return _0x515bd8[_0x28acc0(0x30d)](),_0x515bd8;}catch(_0x52fc45){return this[_0x28acc0(0x44f)][_0x28acc0(0x41c)](_0x28acc0(0x14e),'failed\x20to\x20apply\x20missed\x20changesets!',_0x52fc45),this['_injector']['createInstance'](exports[_0x28acc0(0x3b0)],this[_0x28acc0(0x319)],this[_0x28acc0(0x19e)],this[_0x28acc0(0x3c5)],this['_pendingMutations'],this[_0x28acc0(0x457)],!0x1);}}[_0x53ae8e(0x1f5)](){var _0x30c5f7=_0x53ae8e;throw new Error(_0x30c5f7(0x48d));}[_0x53ae8e(0x23d)](_0xee70f){return this['_pendingMutations']['push'](_0xee70f),this;}[_0x53ae8e(0x1a5)](_0x56e7db){var _0x47b999=_0x53ae8e;return this[_0x47b999(0x3ca)][_0x47b999(0x440)](_0x56e7db),this;}[_0x53ae8e(0x2a3)](_0x4c0d44){var _0x1009ae=_0x53ae8e;if(this[_0x1009ae(0x3c5)])return this[_0x1009ae(0x2e4)]=this[_0x1009ae(0x3c5)],this[_0x1009ae(0x3c5)]=null,this;throw new Error(_0x1009ae(0x31a));}[_0x53ae8e(0x2e0)](_0x1008ff){var _0x28b948=_0x53ae8e;return this[_0x28b948(0x4a7)](!!(_0x1008ff!=null&&_0x1008ff[_0x28b948(0x187)]));}['onRemoteRetry'](){return this;}[_0x53ae8e(0x2b8)](){var _0x30f185=_0x53ae8e;return this['_injector'][_0x30f185(0x37a)](exports[_0x30f185(0x16e)],this[_0x30f185(0x319)],this[_0x30f185(0x19e)],this[_0x30f185(0x3c5)],this[_0x30f185(0x1ea)],this['_handler']);}[_0x53ae8e(0x189)](){return this;}[_0x53ae8e(0x4a7)](_0x2a3590){var _0x3b73fc=_0x53ae8e;return this[_0x3b73fc(0x3e0)][_0x3b73fc(0x37a)](exports[_0x3b73fc(0x3b0)],this['unitID'],this['type'],this[_0x3b73fc(0x3c5)],this[_0x3b73fc(0x1ea)],this[_0x3b73fc(0x457)],_0x2a3590);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o[_0x53ae8e(0x1b9)])),L(0x8,o[_0x53ae8e(0x427)](E['RevisionService'])),L(0x9,o[_0x53ae8e(0x359)]),L(0xa,o[_0x53ae8e(0x2aa)]),L(0xb,o[_0x53ae8e(0x14a)]),L(0xc,E['ITransformService']),L(0xd,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x357)]);function _0x74cc(_0x4274e3,_0x4df547){_0x4274e3=_0x4274e3-0x120;var _0x32cd24=_0x32cd();var _0x74ccd8=_0x32cd24[_0x4274e3];return _0x74ccd8;}function Et(_0x431a59,_0x392f54,_0x5829de,_0x208156,_0x172170,_0x2a651f){var _0xc84062=_0x53ae8e;return _0x208156&&_0x172170['length']?_0x431a59[_0xc84062(0x37a)](exports['AwaitingWithPendingState'],_0x392f54,_0x5829de,_0x208156,_0x172170,_0x2a651f,void 0x0):_0x208156?_0x431a59[_0xc84062(0x37a)](exports[_0xc84062(0x197)],_0x392f54,_0x5829de,_0x208156,_0x2a651f):_0x172170['length']?_0x431a59['createInstance'](exports[_0xc84062(0x27e)],_0x392f54,_0x5829de,_0x172170,_0x2a651f):_0x431a59[_0xc84062(0x37a)](exports[_0xc84062(0x17e)],_0x392f54,_0x5829de,_0x2a651f);}var si=Object['getOwnPropertyDescriptor'],Be=(_0x40ba49,_0x59a4d6,_0x40ee1e,_0x5363be)=>{for(var _0x5836b2=_0x5363be>0x1?void 0x0:_0x5363be?si(_0x59a4d6,_0x40ee1e):_0x59a4d6,_0x115d50=_0x40ba49['length']-0x1,_0x42e3fd;_0x115d50>=0x0;_0x115d50--)(_0x42e3fd=_0x40ba49[_0x115d50])&&(_0x5836b2=_0x42e3fd(_0x5836b2)||_0x5836b2);return _0x5836b2;},$=(_0x4f32d0,_0x3bf052)=>(_0x3ccac6,_0x85e667)=>_0x3bf052(_0x3ccac6,_0x85e667,_0x4f32d0);exports[_0x53ae8e(0x415)]=class extends o[_0x53ae8e(0x20c)]{constructor(_0x99359d,_0x1d9c07,_0x133029,_0x483ffa,_0x5e37f0,_0x54000c,_0x5f0276,_0x1d629e,_0x229537,_0x58af1e,_0x1d4924,_0x102894,_0x433a1c,_0x884f44){var _0xd01c4c=_0x53ae8e;super(),A(this,_0xd01c4c(0x387),new j[(_0xd01c4c(0x3bc))](null)),A(this,_0xd01c4c(0x1dd),this[_0xd01c4c(0x387)][_0xd01c4c(0x1f7)]()),A(this,_0xd01c4c(0x171)),A(this,_0xd01c4c(0x49c),!0x1),A(this,_0xd01c4c(0x20d),''),A(this,_0xd01c4c(0x130),0x0),A(this,_0xd01c4c(0x42a),this[_0xd01c4c(0x1dd)][_0xd01c4c(0x127)](j['map'](_0x42e7ba=>_0x42e7ba?_0x42e7ba[_0xd01c4c(0x456)]:je[_0xd01c4c(0x399)]),j[_0xd01c4c(0x327)](0x1))),A(this,_0xd01c4c(0x1ee),!0x1),A(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x99359d,this['session']=_0x1d9c07,this[_0xd01c4c(0x242)]=_0x133029,this['_injector']=_0x483ffa,this[_0xd01c4c(0x454)]=_0x5e37f0,this[_0xd01c4c(0x3d1)]=_0x54000c,this[_0xd01c4c(0x1e7)]=_0x5f0276,this[_0xd01c4c(0x378)]=_0x1d629e,this[_0xd01c4c(0x297)]=_0x229537,this[_0xd01c4c(0x44f)]=_0x58af1e,this[_0xd01c4c(0x21f)]=_0x1d4924,this['_permissionService']=_0x102894,this['_singleActiveUnitService']=_0x433a1c,this[_0xd01c4c(0x17d)]=_0x884f44);}get['state'](){var _0x168308=_0x53ae8e;return this[_0x168308(0x171)];}async[_0x53ae8e(0x34f)](){var _0x1fd980=_0x53ae8e;if(this['state'])throw new Error(_0x1fd980(0x24a));await this[_0x1fd980(0x412)]();}[_0x53ae8e(0x374)](){var _0x2c1276=_0x53ae8e;return this[_0x2c1276(0x49c)]=!0x0,o[_0x2c1276(0x16f)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x53ae8e(0x2ed)](_0x7ed2f4){var _0x4243de=_0x53ae8e;this[_0x4243de(0x1c6)](_0x7ed2f4);}[_0x53ae8e(0x174)](_0x30d27b){var _0x5ce71f=_0x53ae8e;this[_0x5ce71f(0x171)]=_0x30d27b,this[_0x5ce71f(0x387)][_0x5ce71f(0x221)](_0x30d27b);}async['_init'](){var _0x27bca3=_0x53ae8e,_0x32974d;this[_0x27bca3(0x174)](await this[_0x27bca3(0x395)]()),this[_0x27bca3(0x343)]&&((_0x32974d=this[_0x27bca3(0x343)])==null||_0x32974d[_0x27bca3(0x433)](this['unitID']),this[_0x27bca3(0x391)](this[_0x27bca3(0x343)][_0x27bca3(0x470)](this[_0x27bca3(0x319)])[_0x27bca3(0x2b1)](_0x25c1aa=>{var _0x5aa4be=_0x27bca3;this[_0x5aa4be(0x44f)][_0x5aa4be(0x180)](_0x5aa4be(0x18d),_0x5aa4be(0x2f8),_0x25c1aa),_0x25c1aa===He[_0x5aa4be(0x29f)]?(this[_0x5aa4be(0x378)][_0x5aa4be(0x1ad)]({'id':J[_0x5aa4be(0x3c9)]}),this[_0x5aa4be(0x28f)][_0x5aa4be(0x377)](new Q[(_0x5aa4be(0x2a9))](this[_0x5aa4be(0x319)])['id'],!0x1),this[_0x5aa4be(0x28f)][_0x5aa4be(0x249)](!0x1)):(this[_0x5aa4be(0x28f)]['updatePermissionPoint'](new Q[(_0x5aa4be(0x2a9))](this[_0x5aa4be(0x319)])['id'],!0x0),this[_0x5aa4be(0x28f)]['setShowComponents'](!0x0));})));let _0x52c9ce=!0x1;return this[_0x27bca3(0x391)](this[_0x27bca3(0x25a)][_0x27bca3(0x267)][_0x27bca3(0x2b1)](_0xd6e464=>{var _0x533dcd=_0x27bca3;_0xd6e464===se[_0x533dcd(0x1a6)]?this[_0x533dcd(0x441)](_0x52c9ce):_0xd6e464===se[_0x533dcd(0x399)]&&(_0x52c9ce=!0x0,this[_0x533dcd(0x1d2)]());})),this['disposeWithMe'](this[_0x27bca3(0x25a)][_0x27bca3(0x2a7)][_0x27bca3(0x2b1)](_0x1fe2a0=>{var _0x576bf9=_0x27bca3;try{switch(_0x1fe2a0['eventID']){case E['CollaborationEvent'][_0x576bf9(0x47e)]:{this[_0x576bf9(0x3f6)](E['parseProtocolChangeset'](_0x1fe2a0[_0x576bf9(0x1eb)]));break;}case E[_0x576bf9(0x1be)][_0x576bf9(0x12c)]:{this[_0x576bf9(0x1e8)](_0x1fe2a0[_0x576bf9(0x1eb)]);break;}case E[_0x576bf9(0x1be)][_0x576bf9(0x1ba)]:{this[_0x576bf9(0x19a)]();break;}case E[_0x576bf9(0x1be)][_0x576bf9(0x46a)]:{this[_0x576bf9(0x3f2)](_0x1fe2a0[_0x576bf9(0x1eb)]);break;}case E[_0x576bf9(0x1be)][_0x576bf9(0x1e3)]:{this['_onFetchMissResult'](_0x1fe2a0[_0x576bf9(0x1eb)][_0x576bf9(0x4b0)][_0x576bf9(0x413)](_0x7ac88a=>E['parseProtocolChangeset'](_0x7ac88a)));break;}case E['CollaborationEvent'][_0x576bf9(0x173)]:{this[_0x576bf9(0x19a)]({'isPermissionRej':!0x0});break;}case E[_0x576bf9(0x1be)]['UNISCRIPT_RUN']:break;}}catch(_0x45aea6){throw console[_0x576bf9(0x41c)](_0x576bf9(0x16b),_0x45aea6),_0x45aea6;}})),this['_state'];}['_unlockTransition'](){var _0x344423=_0x53ae8e;this[_0x344423(0x1ee)]=!0x1;}[_0x53ae8e(0x273)](){var _0x2e41b1=_0x53ae8e;if(this[_0x2e41b1(0x1ee)])throw new Error(_0x2e41b1(0x120));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x36ae15){var _0x1b424c=_0x53ae8e;this[_0x1b424c(0x273)](),this[_0x1b424c(0x174)](this[_0x1b424c(0x171)]['appendMutation'](_0x36ae15)),this[_0x1b424c(0x1cb)]();}[_0x53ae8e(0x3f6)](_0x3af0f2){var _0x278222=_0x53ae8e;if(!(_0x3af0f2['revision']<=this[_0x278222(0x1e7)][_0x278222(0x155)](this[_0x278222(0x319)]))){if(this[_0x278222(0x49c)]){this[_0x278222(0x406)][_0x278222(0x440)](_0x3af0f2);return;}this['_applyRemoteChangeset'](_0x3af0f2);}}['_exhaustRemoteChangesetQueue'](){var _0x4bc408=_0x53ae8e;this[_0x4bc408(0x406)][_0x4bc408(0x22b)](_0x2a08a3=>this[_0x4bc408(0x1d3)](_0x2a08a3)),this[_0x4bc408(0x406)]=[];}[_0x53ae8e(0x1d3)](_0x27a4e3){var _0x567277=_0x53ae8e;const _0x5577c1=this[_0x567277(0x454)]['interceptor']['fetchThroughInterceptors'](this[_0x567277(0x454)][_0x567277(0x402)][_0x567277(0x351)]()[_0x567277(0x166)])(_0x27a4e3[_0x567277(0x478)],null)||_0x27a4e3['mutations'],_0x143de4={..._0x27a4e3,'mutations':_0x5577c1};this[_0x567277(0x273)](),this[_0x567277(0x174)](this[_0x567277(0x171)][_0x567277(0x1a5)](_0x143de4)),this[_0x567277(0x1cb)]();}[_0x53ae8e(0x1e8)](_0x1934cf){var _0x131ff0=_0x53ae8e;this['_lockTransition'](),this[_0x131ff0(0x174)](this[_0x131ff0(0x171)][_0x131ff0(0x2a3)](_0x1934cf)),this['_unlockTransition']();}[_0x53ae8e(0x19a)](_0x341980){var _0x208d2a=_0x53ae8e;this[_0x208d2a(0x273)](),this[_0x208d2a(0x174)](this[_0x208d2a(0x171)][_0x208d2a(0x2e0)](_0x341980)),this[_0x208d2a(0x1cb)]();}[_0x53ae8e(0x3f2)](_0x18837d){var _0x36c4db=_0x53ae8e;this['_lockTransition'](),this[_0x36c4db(0x174)](this['_state'][_0x36c4db(0x199)](_0x18837d)),this['_unlockTransition']();}[_0x53ae8e(0x479)](_0x245436){var _0xf743a9=_0x53ae8e;if(!(this[_0xf743a9(0x171)]instanceof exports[_0xf743a9(0x357)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x171457=_0x245436[_0xf743a9(0x413)](_0x25f3e8=>{var _0x175873=_0xf743a9;const _0x2b15ff=this[_0x175873(0x454)][_0x175873(0x402)][_0x175873(0x1b3)](this['_compressMutationService'][_0x175873(0x402)][_0x175873(0x351)]()[_0x175873(0x166)])(_0x25f3e8['mutations'],null)||_0x25f3e8[_0x175873(0x478)];return{..._0x25f3e8,'mutations':_0x2b15ff};});this[_0xf743a9(0x273)](),this[_0xf743a9(0x174)](this[_0xf743a9(0x171)][_0xf743a9(0x3f5)](_0x171457)),this['_unlockTransition']();}[_0x53ae8e(0x1d2)](){var _0x2846d9=_0x53ae8e;this[_0x2846d9(0x273)](),this[_0x2846d9(0x174)](this[_0x2846d9(0x171)][_0x2846d9(0x2b8)]()),this[_0x2846d9(0x1cb)]();}['_toggleOnline'](_0x3fa1d4=!0x1){var _0x5b28b9=_0x53ae8e;this[_0x5b28b9(0x273)](),this[_0x5b28b9(0x174)](this[_0x5b28b9(0x171)][_0x5b28b9(0x189)]()),this[_0x5b28b9(0x1cb)]();const _0x54dafa=this['_state'];_0x3fa1d4&&_0x54dafa instanceof exports[_0x5b28b9(0x17e)]&&(this[_0x5b28b9(0x273)](),this[_0x5b28b9(0x174)](_0x54dafa[_0x5b28b9(0x193)]()),this[_0x5b28b9(0x1cb)]());}async['_createInitialState'](){return new Promise(_0x4520cc=>{var _0x721d8a=_0x74cc;this[_0x721d8a(0x25a)][_0x721d8a(0x267)][_0x721d8a(0x127)](j[_0x721d8a(0x18e)](0x1))[_0x721d8a(0x2b1)](async _0xf79661=>{var _0x381e0f=_0x721d8a;_0x4520cc(await this[_0x381e0f(0x380)](_0xf79661===se[_0x381e0f(0x1a6)]));});});}[_0x53ae8e(0x2b4)](){var _0x3bd75f=_0x53ae8e;const _0x2fa6e6=this[_0x3bd75f(0x319)];return{'onStateChange':(_0x2eb4ff,_0x4c4cd2)=>{var _0x1fe0e2=_0x3bd75f;if(_0x2eb4ff!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2eb4ff[_0x1fe0e2(0x456)]+'\x0aAfter:\x20'+_0x4c4cd2[_0x1fe0e2(0x456)]+_0x1fe0e2(0x317)+this['_state'][_0x1fe0e2(0x456)]);this[_0x1fe0e2(0x174)](_0x4c4cd2);},'onSendChangeset':_0x3375d9=>{var _0x334b8d=_0x3bd75f;_0x3375d9[_0x334b8d(0x216)]||(_0x3375d9[_0x334b8d(0x216)]=this[_0x334b8d(0x20d)],_0x3375d9[_0x334b8d(0x287)]=++this['_changesetReqId']);const _0x139998={'eventID':E[_0x334b8d(0x1be)][_0x334b8d(0x2c4)],'data':{'unitID':_0x3375d9[_0x334b8d(0x319)],'unitType':this[_0x334b8d(0x242)],'changeset':_0x3375d9,'memberID':this[_0x334b8d(0x25a)][_0x334b8d(0x31c)]()}};this[_0x334b8d(0x25a)][_0x334b8d(0x3b3)](_0x139998,this[_0x334b8d(0x319)]);},'onMissingChangesets':({from:_0xf84376,to:_0x2ab09d})=>{var _0x2c360c=_0x3bd75f;this[_0x2c360c(0x44f)][_0x2c360c(0x180)]('[CollaborationEntity]',_0x2c360c(0x467)+_0xf84376+_0x2c360c(0x474)+_0x2ab09d);const _0xd29880={'eventID':E[_0x2c360c(0x1be)]['FETCH_MISSING'],'data':{'unitID':_0x2fa6e6,'unitType':this[_0x2c360c(0x242)],'from':_0xf84376,'to':_0x2ab09d}};this[_0x2c360c(0x25a)]['send'](_0xd29880,this[_0x2c360c(0x319)]);}};}async['_createInitialStateImpl'](_0x56f138){var _0x83e60a=_0x53ae8e,_0x30b604,_0x56db3a,_0x2ed8f9;const _0x382f19=await((_0x30b604=this[_0x83e60a(0x17d)])==null?void 0x0:_0x30b604[_0x83e60a(0x299)](this[_0x83e60a(0x319)])),_0x11b363=(_0x56db3a=_0x382f19==null?void 0x0:_0x382f19[_0x83e60a(0x478)])!=null?_0x56db3a:[],_0x9b99f7=(_0x2ed8f9=_0x382f19==null?void 0x0:_0x382f19[_0x83e60a(0x1ed)])!=null?_0x2ed8f9:null,_0x41ebff=!!(_0x9b99f7!=null&&_0x9b99f7[_0x83e60a(0x216)])&&!!(_0x9b99f7!=null&&_0x9b99f7[_0x83e60a(0x287)]);this['_changesetSessionId']=_0x41ebff?_0x9b99f7[_0x83e60a(0x216)]:E[_0x83e60a(0x121)](),this[_0x83e60a(0x130)]=_0x41ebff?_0x9b99f7['reqId']:0x0;const _0x34bcf0=this[_0x83e60a(0x319)];try{this[_0x83e60a(0x16a)](_0x9b99f7,_0x11b363);}catch(_0x142efd){this[_0x83e60a(0x44f)][_0x83e60a(0x41c)](_0x142efd);}const _0x3473e9=this[_0x83e60a(0x2b4)]();if(_0x56f138){const _0x56d58e=Et(this[_0x83e60a(0x3e0)],_0x34bcf0,this[_0x83e60a(0x242)],_0x9b99f7,_0x11b363,_0x3473e9);return _0x56d58e instanceof exports[_0x83e60a(0x27e)]?_0x56d58e[_0x83e60a(0x39a)]():(_0x56d58e instanceof exports[_0x83e60a(0x475)]||_0x56d58e instanceof exports['AwaitingState'])&&_0x56d58e[_0x83e60a(0x1f5)](),_0x56d58e;}return this['_injector'][_0x83e60a(0x37a)](exports[_0x83e60a(0x16e)],_0x34bcf0,this[_0x83e60a(0x242)],_0x9b99f7,_0x11b363,_0x3473e9);}[_0x53ae8e(0x16a)](_0x112e8c,_0x2e6ec7){var _0x5b2cb2=_0x53ae8e,_0x1df508,_0x27e5ac;const _0x328cef=this[_0x5b2cb2(0x454)][_0x5b2cb2(0x402)][_0x5b2cb2(0x1b3)](this[_0x5b2cb2(0x454)][_0x5b2cb2(0x402)][_0x5b2cb2(0x351)]()[_0x5b2cb2(0x166)]);(_0x1df508=_0x328cef((_0x112e8c==null?void 0x0:_0x112e8c[_0x5b2cb2(0x478)])||[],null))==null||_0x1df508['forEach'](_0x448299=>this[_0x5b2cb2(0x21f)][_0x5b2cb2(0x3e7)](_0x448299['id'],_0x448299[_0x5b2cb2(0x2cc)])),(_0x27e5ac=_0x328cef(_0x2e6ec7||[],null))==null||_0x27e5ac[_0x5b2cb2(0x22b)](_0x575237=>this[_0x5b2cb2(0x21f)][_0x5b2cb2(0x3e7)](_0x575237['id'],_0x575237[_0x5b2cb2(0x2cc)]));}},exports[_0x53ae8e(0x415)]=Be([$(0x3,o['Inject'](o[_0x53ae8e(0x1b9)])),$(0x4,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x25c)])),$(0x5,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x2ac)])),$(0x6,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x447)])),$(0x7,o[_0x53ae8e(0x427)](ee)),$(0x8,o[_0x53ae8e(0x49b)]),$(0x9,o[_0x53ae8e(0x359)]),$(0xa,o[_0x53ae8e(0x2aa)]),$(0xb,o[_0x53ae8e(0x408)]),$(0xc,o[_0x53ae8e(0x1bd)](ve)),$(0xd,o[_0x53ae8e(0x1bd)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x53ae8e(0x415)]{constructor(_0x1df0d6,_0x754784,_0x52ddb2,_0x1a1cb1,_0x5c535c,_0x5d51df,_0x56161b,_0x456a5c,_0x15dd7b,_0x15aede,_0x26f210,_0x148fa8,_0x53fcd3,_0x57343c){var _0x3cb25a=_0x53ae8e;super(_0x1df0d6,_0x52ddb2,_0x754784,_0x1a1cb1,_0x5c535c,_0x5d51df,_0x56161b,_0x456a5c,_0x15dd7b,_0x15aede,_0x26f210,_0x148fa8,_0x53fcd3,_0x57343c),A(this,'_handlerCallback',null),(this[_0x3cb25a(0x319)]=_0x1df0d6,this[_0x3cb25a(0x19e)]=_0x754784);}[_0x53ae8e(0x493)](_0x556c2b){this['_handlerCallback']=_0x556c2b;}['dispose'](){var _0x350a0a=_0x53ae8e;this[_0x350a0a(0x2d7)]=null,super[_0x350a0a(0x4ad)]();}[_0x53ae8e(0x2b4)](){var _0x430fa8=_0x53ae8e;const _0x3adc8a=super[_0x430fa8(0x2b4)]();return _0x3adc8a['onTransformIME']=_0x11bcf1=>{var _0x17092b=_0x430fa8,_0x3b4c24,_0xe3fb06;return(_0xe3fb06=(_0x3b4c24=this[_0x17092b(0x2d7)])==null?void 0x0:_0x3b4c24['onTransformIME'])==null?void 0x0:_0xe3fb06['call'](_0x3b4c24,_0x11bcf1);},_0x3adc8a[_0x430fa8(0x235)]=_0x13a6c3=>{var _0xf8a55c=_0x430fa8,_0x3871ab,_0x11139f;return(_0x11139f=(_0x3871ab=this[_0xf8a55c(0x2d7)])==null?void 0x0:_0x3871ab[_0xf8a55c(0x235)])==null?void 0x0:_0x11139f[_0xf8a55c(0x429)](_0x3871ab,_0x13a6c3);},_0x3adc8a[_0x430fa8(0x291)]=_0x1017b6=>{var _0x13d572=_0x430fa8,_0x268c99,_0x1b1e01;return(_0x1b1e01=(_0x268c99=this[_0x13d572(0x2d7)])==null?void 0x0:_0x268c99[_0x13d572(0x291)])==null?void 0x0:_0x1b1e01[_0x13d572(0x429)](_0x268c99,_0x1017b6);},_0x3adc8a[_0x430fa8(0x2bb)]=_0x16bd8b=>{var _0x7014a4=_0x430fa8,_0x23925d,_0x2811be;return(_0x2811be=(_0x23925d=this[_0x7014a4(0x2d7)])==null?void 0x0:_0x23925d[_0x7014a4(0x2bb)])==null?void 0x0:_0x2811be[_0x7014a4(0x429)](_0x23925d,_0x16bd8b);},_0x3adc8a['onTransformRemoteChangesetByIMECache']=_0x2d9477=>{var _0x5c6444=_0x430fa8,_0x3b4709,_0x1b9fd7,_0x2f6ea8;if(!((_0x3b4709=this[_0x5c6444(0x2d7)])!=null&&_0x3b4709[_0x5c6444(0x28c)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f6ea8=(_0x1b9fd7=this[_0x5c6444(0x2d7)])==null?void 0x0:_0x1b9fd7[_0x5c6444(0x28c)])==null?void 0x0:_0x2f6ea8['call'](_0x1b9fd7,_0x2d9477);},_0x3adc8a['onTransformRemoteChangesetByStateCache']=_0x16e702=>{var _0x4b034c=_0x430fa8,_0x2d1ca8,_0x548569,_0x5c65a8;if(!((_0x2d1ca8=this['_handlerCallback'])!=null&&_0x2d1ca8[_0x4b034c(0x40f)]))throw new Error(_0x4b034c(0x201));return(_0x5c65a8=(_0x548569=this['_handlerCallback'])==null?void 0x0:_0x548569[_0x4b034c(0x40f)])==null?void 0x0:_0x5c65a8[_0x4b034c(0x429)](_0x548569,_0x16e702);},_0x3adc8a;}async['_init'](){var _0x4251e9=_0x53ae8e;const _0x377e3d=await super['_init']();return this['disposeWithMe'](this[_0x4251e9(0x21f)][_0x4251e9(0x364)]((_0xbb2f01,_0x161996)=>{var _0x39b54c=_0x4251e9;if(_0xbb2f01[_0x39b54c(0x19e)]!==o[_0x39b54c(0x43b)][_0x39b54c(0x300)]||_0x161996!=null&&_0x161996[_0x39b54c(0x202)]||_0x161996!=null&&_0x161996[_0x39b54c(0x491)]||_0xbb2f01['id']===ct[_0x39b54c(0x147)]['id'])return;const _0x5c49b1=_0xbb2f01['params'];if((_0x5c49b1==null?void 0x0:_0x5c49b1[_0x39b54c(0x200)])!==this[_0x39b54c(0x319)])return;const _0x9c5baa=_0xbb2f01,_0x2700c6=this[_0x39b54c(0x454)][_0x39b54c(0x402)][_0x39b54c(0x1b3)](this[_0x39b54c(0x454)]['interceptor'][_0x39b54c(0x351)]()[_0x39b54c(0x269)])([_0x9c5baa],this[_0x39b54c(0x297)])||[_0x9c5baa];this[_0x39b54c(0x1c6)](_0x2700c6[0x0]);})),_0x377e3d;}},exports[_0x53ae8e(0x1fd)]=Be([$(0x3,o[_0x53ae8e(0x427)](o['Injector'])),$(0x4,o['Inject'](E['CompressMutationService'])),$(0x5,o['Inject'](o['LocaleService'])),$(0x6,o['Inject'](E[_0x53ae8e(0x447)])),$(0x7,o[_0x53ae8e(0x427)](ee)),$(0x8,o[_0x53ae8e(0x49b)]),$(0x9,o['ILogService']),$(0xa,o[_0x53ae8e(0x2aa)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x53ae8e(0x1bd)](ve)),$(0xd,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x1fd)]),exports[_0x53ae8e(0x2a1)]=class extends exports['CollaborationEntity']{constructor(_0x564dc8,_0x4de0d2,_0x4d69b1,_0x56dc22,_0x2781ad,_0x6e48ee,_0x2e64af,_0x5c125a,_0x2d2238,_0x292c8b,_0xff6ff8,_0x35d6dc,_0x5e136f,_0x137991,_0x1138bb){var _0x1d605b=_0x53ae8e;super(_0x564dc8,_0x4d69b1,_0x4de0d2,_0x56dc22,_0x2781ad,_0x6e48ee,_0x2e64af,_0x2d2238,_0x292c8b,_0xff6ff8,_0x35d6dc,_0x5e136f,_0x137991,_0x1138bb),this[_0x1d605b(0x319)]=_0x564dc8,this[_0x1d605b(0x19e)]=_0x4de0d2,this['_sheetTransformSelectionsService']=_0x5c125a;}[_0x53ae8e(0x2b4)](){var _0x2ad606=_0x53ae8e;const _0x5df204=super['_createHandler']();return _0x5df204['onTransformSelections']=_0x15a92e=>this[_0x2ad606(0x146)][_0x2ad606(0x22e)](_0x15a92e),_0x5df204;}async['_init'](){var _0xe78ef6=_0x53ae8e;const _0x1a5341=await super[_0xe78ef6(0x412)]();return this[_0xe78ef6(0x391)](this['_commandService'][_0xe78ef6(0x364)]((_0xa84f06,_0x20cfa6)=>{var _0x4eba14=_0xe78ef6;if(_0xa84f06['type']!==o[_0x4eba14(0x43b)][_0x4eba14(0x300)]||_0x20cfa6!=null&&_0x20cfa6[_0x4eba14(0x202)]||_0x20cfa6!=null&&_0x20cfa6[_0x4eba14(0x491)])return;const _0x4ffd2c=_0xa84f06[_0x4eba14(0x2cc)];if((_0x4ffd2c==null?void 0x0:_0x4ffd2c[_0x4eba14(0x200)])!==this[_0x4eba14(0x319)])return;const _0x2d3d17=_0xa84f06,_0x5a7d4b=this[_0x4eba14(0x454)][_0x4eba14(0x402)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4eba14(0x402)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x2d3d17],this['_univerInstanceService'])||[_0x2d3d17];this[_0x4eba14(0x1c6)](_0x5a7d4b[0x0]);})),_0x1a5341;}},exports['SheetCollaborationEntity']=Be([$(0x3,o['Inject'](o[_0x53ae8e(0x1b9)])),$(0x4,o[_0x53ae8e(0x427)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x53ae8e(0x2ac)])),$(0x6,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x447)])),$(0x7,o[_0x53ae8e(0x427)](exports['SheetTransformSelectionsService'])),$(0x8,o[_0x53ae8e(0x427)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x53ae8e(0x359)]),$(0xb,o[_0x53ae8e(0x2aa)]),$(0xc,o['IPermissionService']),$(0xd,o[_0x53ae8e(0x1bd)](ve)),$(0xe,o[_0x53ae8e(0x1bd)](q))],exports['SheetCollaborationEntity']);const pt=o[_0x53ae8e(0x15d)](_0x53ae8e(0x414));function mt(_0x5ad542){var _0x2e026a=_0x53ae8e,_0x56c17f,_0x556340,_0x499574,_0x1cc45f,_0x39f3ee;const _0x4bc809=_0x5ad542['data'],_0x4295c4=JSON[_0x2e026a(0x2d3)](_0x4bc809);switch(_0x4295c4['cmd']){case W['HEARTBEAT']:case W[_0x2e026a(0x389)]:{const _0x3aa733=_0x4295c4[_0x2e026a(0x430)];return{..._0x4295c4,'data':_0x3aa733,'cmd':_0x4295c4[_0x2e026a(0x2a4)]};}case W[_0x2e026a(0x268)]:{const _0x7a75ac=_0x4295c4[_0x2e026a(0x2fc)];return{..._0x4295c4,'data':_0x7a75ac,'cmd':_0x4295c4[_0x2e026a(0x2a4)]};}case W[_0x2e026a(0x219)]:{const _0x80a2fd=_0x4295c4[_0x2e026a(0x225)];switch(_0x80a2fd[_0x2e026a(0x1af)]){case E[_0x2e026a(0x1be)][_0x2e026a(0x173)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':(_0x56c17f=_0x80a2fd[_0x2e026a(0x42c)])==null?void 0x0:_0x56c17f['cs']},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)]['CHANGESET_ACK']:return{..._0x4295c4,'data':{..._0x80a2fd,'data':(_0x556340=_0x80a2fd['csAckEvent'])==null?void 0x0:_0x556340['cs']},'cmd':_0x4295c4['cmd']};case E[_0x2e026a(0x1be)][_0x2e026a(0x47e)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':(_0x499574=_0x80a2fd[_0x2e026a(0x23a)])==null?void 0x0:_0x499574['cs']},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)][_0x2e026a(0x1ba)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':(_0x1cc45f=_0x80a2fd['csRejEvent'])==null?void 0x0:_0x1cc45f['cs']},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)][_0x2e026a(0x46a)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':(_0x39f3ee=_0x80a2fd['csShouldRetryEvent'])==null?void 0x0:_0x39f3ee['cs']},'cmd':_0x4295c4['cmd']};case E[_0x2e026a(0x1be)][_0x2e026a(0x45b)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x372)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)][_0x2e026a(0x303)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x182)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)][_0x2e026a(0x466)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd['leaveEvent']},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)]['LIVESHARE_NEW_HOST']:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x3b8)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)]['LIVESHARE_FETCH_OPERATIONS']:case E[_0x2e026a(0x1be)][_0x2e026a(0x375)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x38e)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x3b8)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)]['MSG_FOR_ERROR']:return{..._0x4295c4,'data':_0x80a2fd,'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd[_0x2e026a(0x141)]},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E['CollaborationEvent'][_0x2e026a(0x26e)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd['updatePermissionObjEvent']},'cmd':_0x4295c4[_0x2e026a(0x2a4)]};case E[_0x2e026a(0x1be)][_0x2e026a(0x288)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd['shouldCloseConn']},'cmd':_0x4295c4['cmd']};case E['CollaborationEvent'][_0x2e026a(0x487)]:return{..._0x4295c4,'data':{..._0x80a2fd,'data':_0x80a2fd['uniscriptRunEvent']},'cmd':_0x4295c4['cmd']};default:return _0x4295c4;}}default:return _0x4295c4;}}function gt(_0x495ad8){var _0x235fe8=_0x53ae8e;switch(_0x495ad8['cmd']){case W['HEARTBEAT']:case W[_0x235fe8(0x389)]:return JSON[_0x235fe8(0x422)]({'cmd':_0x495ad8[_0x235fe8(0x2a4)],'routeKey':_0x495ad8[_0x235fe8(0x3a3)]});case W['INGEST']:{let _0x23ba43;switch(_0x495ad8['data'][_0x235fe8(0x1af)]){case E[_0x235fe8(0x1be)]['UPDATE_CURSOR']:{_0x23ba43={'eventID':E[_0x235fe8(0x1be)][_0x235fe8(0x45b)],'updateCursorEvent':_0x495ad8[_0x235fe8(0x1eb)]['data']};break;}case E['CollaborationEvent'][_0x235fe8(0x466)]:{_0x23ba43={'eventID':E[_0x235fe8(0x1be)]['USERS_LEAVE'],'leaveEvent':_0x495ad8[_0x235fe8(0x1eb)]['data']};break;}case E[_0x235fe8(0x1be)][_0x235fe8(0x303)]:{_0x23ba43={'eventID':E[_0x235fe8(0x1be)]['USERS_ENTER'],'joinEvent':_0x495ad8[_0x235fe8(0x1eb)][_0x235fe8(0x1eb)]};break;}case E[_0x235fe8(0x1be)][_0x235fe8(0x205)]:{_0x23ba43={'eventID':E['CollaborationEvent'][_0x235fe8(0x205)],'liveShareNewHost':_0x495ad8[_0x235fe8(0x1eb)][_0x235fe8(0x1eb)]};break;}case E[_0x235fe8(0x1be)][_0x235fe8(0x375)]:{_0x23ba43={'eventID':E['CollaborationEvent'][_0x235fe8(0x375)],'liveShareOperation':_0x495ad8[_0x235fe8(0x1eb)][_0x235fe8(0x1eb)]};break;}case E[_0x235fe8(0x1be)][_0x235fe8(0x347)]:{_0x23ba43={'eventID':E[_0x235fe8(0x1be)][_0x235fe8(0x347)],'liveShareTerminate':_0x495ad8[_0x235fe8(0x1eb)]['data']};break;}case E[_0x235fe8(0x1be)][_0x235fe8(0x43e)]:{_0x23ba43={'eventID':E[_0x235fe8(0x1be)][_0x235fe8(0x43e)],'liveShareRequestHost':_0x495ad8[_0x235fe8(0x1eb)][_0x235fe8(0x1eb)]};break;}case E[_0x235fe8(0x1be)]['LIVESHARE_FETCH_OPERATIONS']:{_0x23ba43={'eventID':E['CollaborationEvent'][_0x235fe8(0x392)]};break;}default:_0x23ba43={'eventID':_0x495ad8[_0x235fe8(0x1eb)][_0x235fe8(0x1af)]};}return JSON['stringify']({'cmd':_0x495ad8[_0x235fe8(0x2a4)],'routeKey':_0x495ad8['routeKey'],'collaMsg':_0x23ba43});}case W[_0x235fe8(0x268)]:return JSON[_0x235fe8(0x422)]({'cmd':_0x495ad8[_0x235fe8(0x2a4)],'routeKey':_0x495ad8[_0x235fe8(0x3a3)],'joinReq':_0x495ad8[_0x235fe8(0x1eb)]});case W[_0x235fe8(0x47c)]:return JSON['stringify']({'cmd':_0x495ad8[_0x235fe8(0x2a4)],'routeKey':_0x495ad8['routeKey'],'leaveReq':_0x495ad8['data']});default:throw new Error(_0x235fe8(0x306));}}var ri=Object[_0x53ae8e(0x3d8)],ai=(_0x4a0db4,_0x35a596,_0x18bc60,_0x2119f9)=>{var _0x19efb6=_0x53ae8e;for(var _0x2b88c5=_0x2119f9>0x1?void 0x0:_0x2119f9?ri(_0x35a596,_0x18bc60):_0x35a596,_0x44dc04=_0x4a0db4[_0x19efb6(0x461)]-0x1,_0x9380a6;_0x44dc04>=0x0;_0x44dc04--)(_0x9380a6=_0x4a0db4[_0x44dc04])&&(_0x2b88c5=_0x9380a6(_0x2b88c5)||_0x2b88c5);return _0x2b88c5;},he=(_0x56db39,_0x2ba1e6)=>(_0x57a996,_0x163c86)=>_0x2ba1e6(_0x57a996,_0x163c86,_0x56db39);const Fe=o[_0x53ae8e(0x15d)](_0x53ae8e(0x3cc));function oi(_0x4d226d,_0x2556e1,_0x2509bb){var _0x1267c3=_0x53ae8e;return _0x4d226d+'/'+_0x2556e1+_0x1267c3(0x261)+_0x2509bb+'/new_changes';}exports[_0x53ae8e(0x2fa)]=class extends o[_0x53ae8e(0x3e3)]{constructor(_0x489f85,_0x344b72,_0x2ba797,_0x5eb8c4,_0x20d10b){var _0x30f577=_0x53ae8e;super(),this[_0x30f577(0x3e0)]=_0x489f85,this[_0x30f577(0x33d)]=_0x344b72,this[_0x30f577(0x2f2)]=_0x2ba797,this[_0x30f577(0x44f)]=_0x5eb8c4,this[_0x30f577(0x2f6)]=_0x20d10b;}[_0x53ae8e(0x499)](_0x2c14fd){var _0xfd5798=_0x53ae8e;const _0x17f759=this[_0xfd5798(0x3e0)][_0xfd5798(0x30a)](K['ISocketService']);if(!_0x17f759)throw new Error(_0xfd5798(0x1ef));const _0x5b27a0=_0x17f759[_0xfd5798(0x15c)](_0x2c14fd);if(!_0x5b27a0)throw new Error(_0xfd5798(0x17b));const _0x1e8260=new o['DisposableCollection'](),_0x172d83=new j[(_0xfd5798(0x24b))]();_0x1e8260[_0xfd5798(0x325)](_0x5b27a0['close$'][_0xfd5798(0x2b1)](_0x8d4700=>_0x172d83[_0xfd5798(0x221)](_0x8d4700))),_0x1e8260['add'](o[_0xfd5798(0x16f)](()=>_0x172d83[_0xfd5798(0x39c)]()));const _0x21c757=new j[(_0xfd5798(0x24b))]();_0x1e8260[_0xfd5798(0x325)](_0x5b27a0['error$'][_0xfd5798(0x2b1)](_0x54a6bc=>_0x21c757['next'](_0x54a6bc))),_0x1e8260[_0xfd5798(0x325)](o['toDisposable'](()=>_0x21c757[_0xfd5798(0x39c)]()));const _0x55aaf4=new j[(_0xfd5798(0x24b))]();_0x1e8260['add'](_0x5b27a0[_0xfd5798(0x215)][_0xfd5798(0x2b1)](_0x4c598d=>{var _0x158fca=_0xfd5798;const _0x16e19d=mt(_0x4c598d);_0x55aaf4[_0x158fca(0x221)](_0x16e19d);})),_0x1e8260['add'](o['toDisposable'](()=>_0x55aaf4[_0xfd5798(0x39c)]()));let _0x61fbd1;const _0x34a64b=()=>{var _0x2e21f0=_0xfd5798;_0x21c757[_0x2e21f0(0x221)](new Event(_0x2e21f0(0x214))),_0x172d83[_0x2e21f0(0x221)](new Event(_0x2e21f0(0x214))),_0x61fbd1['close']();};return _0x61fbd1={'memberID':'','close$':_0x172d83[_0xfd5798(0x1f7)](),'error$':_0x21c757['asObservable'](),'open$':_0x5b27a0['open$'],'message$':_0x55aaf4[_0xfd5798(0x1f7)](),'send':_0x488714=>{var _0x151984=_0xfd5798;if(_0x488714[_0x151984(0x2a4)]===W[_0x151984(0x27a)]){if(_0x488714[_0x151984(0x1eb)][_0x151984(0x1af)]===E['CollaborationEvent'][_0x151984(0x2c4)]){this[_0x151984(0x3c7)](_0x61fbd1,_0x488714[_0x151984(0x1eb)])[_0x151984(0x1bc)](_0x1898c5=>{var _0x43addd=_0x151984;this[_0x43addd(0x44f)][_0x43addd(0x41c)](_0x1898c5),_0x34a64b();});return;}if(_0x488714[_0x151984(0x1eb)][_0x151984(0x1af)]===E[_0x151984(0x1be)][_0x151984(0x134)]){const _0x5b50fd=_0x488714['data'];this['_fetchMissChangesets'](_0x5b50fd)[_0x151984(0x1f9)](_0x1fd829=>{var _0x2dc7c2=_0x151984;_0x55aaf4[_0x2dc7c2(0x221)]({'cmd':W[_0x2dc7c2(0x219)],'code':re['OK'],'routeKey':_0x5b50fd[_0x2dc7c2(0x1eb)]['unitID'],'routeType':'','data':{'eventID':E[_0x2dc7c2(0x1be)][_0x2dc7c2(0x1e3)],'data':{'changesets':_0x1fd829}}});})[_0x151984(0x1bc)](_0x1f9606=>{var _0x413c7b=_0x151984;this['_logService'][_0x413c7b(0x41c)](_0x1f9606),_0x34a64b();});return;}}_0x5b27a0['send'](gt(_0x488714));},'close':()=>{var _0x324249=_0xfd5798;_0x5b27a0[_0x324249(0x485)](),_0x1e8260['dispose']();}},_0x61fbd1;}async[_0x53ae8e(0x3c7)](_0x3ffa8b,_0x2dccf0){var _0x19d5e9=_0x53ae8e,_0xbb8aa4;const {unitType:_0x348d8e,unitID:_0x3947a7,changeset:_0x57cf36}=_0x2dccf0['data'],_0x4c7643={'unitID':_0x3947a7,'memberID':_0x3ffa8b[_0x19d5e9(0x258)],'type':_0x348d8e,'changeset':E[_0x19d5e9(0x156)](_0x57cf36)},_0x498183=this[_0x19d5e9(0x2f2)][_0x19d5e9(0x45e)](Y),_0x3a4d10=oi((_0xbb8aa4=_0x498183==null?void 0x0:_0x498183[_0x19d5e9(0x36c)])!=null?_0xbb8aa4:$t,_0x348d8e,_0x3947a7);try{await this[_0x19d5e9(0x33d)][_0x19d5e9(0x1f3)](_0x3a4d10,{'body':_0x4c7643});}catch(_0x50d681){throw this[_0x19d5e9(0x44f)]['error'](_0x19d5e9(0x3c1),_0x19d5e9(0x1c5)),_0x50d681;}}async[_0x53ae8e(0x169)](_0x28e6f8){var _0x5e7b2a=_0x53ae8e;const {unitID:_0x17a828,from:_0x31c0af,to:_0x331979,unitType:_0x1a6fd4}=_0x28e6f8['data'];return(await this[_0x5e7b2a(0x2f6)][_0x5e7b2a(0x305)]({'metadata':void 0x0},{'unitID':_0x17a828,'type':_0x1a6fd4,'from':_0x31c0af,'to':_0x331979}))[_0x5e7b2a(0x4b0)][_0x5e7b2a(0x413)](_0x374c41=>((_0x374c41[_0x5e7b2a(0x478)]===null||_0x374c41[_0x5e7b2a(0x478)]===void 0x0)&&(_0x374c41[_0x5e7b2a(0x478)]=[]),_0x374c41));}},exports[_0x53ae8e(0x2fa)]=ai([he(0x0,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),he(0x1,o['Inject'](K['HTTPService'])),he(0x2,o[_0x53ae8e(0x176)]),he(0x3,o[_0x53ae8e(0x359)]),he(0x4,E[_0x53ae8e(0x442)])],exports[_0x53ae8e(0x2fa)]);var ci=Object[_0x53ae8e(0x3d8)],_i=(_0x4b602c,_0x435d72,_0x353206,_0x146b86)=>{var _0x41d801=_0x53ae8e;for(var _0x5dae7c=_0x146b86>0x1?void 0x0:_0x146b86?ci(_0x435d72,_0x353206):_0x435d72,_0x871d90=_0x4b602c[_0x41d801(0x461)]-0x1,_0x4d684a;_0x871d90>=0x0;_0x871d90--)(_0x4d684a=_0x4b602c[_0x871d90])&&(_0x5dae7c=_0x4d684a(_0x5dae7c)||_0x5dae7c);return _0x5dae7c;},_e=(_0x5c323b,_0x2ed398)=>(_0x12229b,_0x513634)=>_0x2ed398(_0x12229b,_0x513634,_0x5c323b);exports[_0x53ae8e(0x32b)]=class extends o['Disposable']{constructor(_0x30d6fb,_0x236e17,_0x1f3fdb,_0x5ced3a,_0x8a7e61,_0x304f98){var _0x4a30cc=_0x53ae8e;super(),A(this,_0x4a30cc(0x3ba),new j['BehaviorSubject'](void 0x0)),A(this,_0x4a30cc(0x390),this[_0x4a30cc(0x3ba)]['asObservable']()),A(this,_0x4a30cc(0x333),null),A(this,'_sessions',new Map()),A(this,_0x4a30cc(0x3b1),new j[(_0x4a30cc(0x3bc))](se[_0x4a30cc(0x1d5)])),A(this,'status$',this[_0x4a30cc(0x3b1)][_0x4a30cc(0x1f7)]()),A(this,_0x4a30cc(0x3f3),!0x1),A(this,_0x4a30cc(0x1c0)),A(this,_0x4a30cc(0x31e),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x4a30cc(0x1a1)),(this[_0x4a30cc(0x3e0)]=_0x30d6fb,this['_logService']=_0x236e17,this['_configService']=_0x1f3fdb,this[_0x4a30cc(0x1c1)]=_0x5ced3a,this[_0x4a30cc(0x1b1)]=_0x8a7e61,this[_0x4a30cc(0x411)]=_0x304f98,this['_listenToNetworkCondition']());}get[_0x53ae8e(0x45a)](){var _0x2e1d84=_0x53ae8e;return this[_0x2e1d84(0x3ba)][_0x2e1d84(0x316)]();}[_0x53ae8e(0x47f)](){var _0x34dcef=_0x53ae8e;this[_0x34dcef(0x411)]&&this[_0x34dcef(0x391)](this[_0x34dcef(0x411)]['online$'][_0x34dcef(0x2b1)](_0x132b98=>{var _0x1c14d5=_0x34dcef;_0x132b98&&!this[_0x1c14d5(0x45a)]&&this[_0x1c14d5(0x33e)](),_0x132b98||this[_0x1c14d5(0x3ea)]();}));}['dispose'](){var _0x131742=_0x53ae8e;super[_0x131742(0x4ad)](),this[_0x131742(0x45c)](),this[_0x131742(0x3b7)](),this[_0x131742(0x312)](),this['_sessions'][_0x131742(0x22b)](_0x27df77=>_0x27df77[_0x131742(0x4ad)]()),this[_0x131742(0x241)][_0x131742(0x385)](),this[_0x131742(0x3b1)][_0x131742(0x39c)]();}async[_0x53ae8e(0x194)](_0x22807e){var _0x1aeff3=_0x53ae8e;if(this[_0x1aeff3(0x241)][_0x1aeff3(0x1b2)](_0x22807e))return this[_0x1aeff3(0x241)][_0x1aeff3(0x30a)](_0x22807e);this[_0x1aeff3(0x15a)]();const _0x3a5644=this['_injector'][_0x1aeff3(0x37a)](exports[_0x1aeff3(0x362)],_0x22807e,this[_0x1aeff3(0x3ba)][_0x1aeff3(0x1f7)]());return this[_0x1aeff3(0x241)][_0x1aeff3(0x1bb)](_0x22807e,_0x3a5644),_0x3a5644;}['closeSession'](_0x3b95f2){var _0x5978a9=_0x53ae8e,_0x601802;const _0x56446d=this[_0x5978a9(0x241)][_0x5978a9(0x30a)](_0x3b95f2);_0x56446d&&(this[_0x5978a9(0x241)]['delete'](_0x3b95f2),_0x56446d[_0x5978a9(0x485)]()),this['_sessions']['size']||(_0x601802=this[_0x5978a9(0x45a)])==null||_0x601802[_0x5978a9(0x485)]();}[_0x53ae8e(0x33e)](){var _0x2a9850=_0x53ae8e;this['_retryCount']=0x0,this[_0x2a9850(0x45c)](),this[_0x2a9850(0x1b6)]();}[_0x53ae8e(0x45c)](){var _0x2ba3c4=_0x53ae8e;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2ba3c4(0x1c0)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x405ff5=_0x53ae8e,_0x5a97db;const _0xd59661=this[_0x405ff5(0x2f2)][_0x405ff5(0x45e)](Y),_0x3eb77c=(_0x5a97db=_0xd59661==null?void 0x0:_0xd59661[_0x405ff5(0x25d)])!=null?_0x5a97db:_t,_0x12842d=await this['_socketService']['createSocket'](_0x3eb77c);return this['_candidateSocket']=_0x12842d,_0x12842d;}async['_tryEnsureSocket'](){var _0x4347d8=_0x53ae8e,_0x3842af,_0x336098;try{const _0x496ec4=(_0x336098=(_0x3842af=this['_socket'])!=null?_0x3842af:this[_0x4347d8(0x333)])!=null?_0x336098:await this[_0x4347d8(0x29d)]();if(_0x496ec4){const _0x28f94c=_0x496ec4['send'];_0x496ec4['send']=_0x1540bb=>(this['_rescheduleHeartbeat'](),_0x28f94c[_0x4347d8(0x2f1)](_0x496ec4,[_0x1540bb])),_0x496ec4[_0x4347d8(0x215)][_0x4347d8(0x2b1)](_0x5de06a=>this[_0x4347d8(0x3ff)](_0x496ec4,_0x5de06a)),_0x496ec4[_0x4347d8(0x35d)]['pipe'](V[_0x4347d8(0x18e)](0x1))[_0x4347d8(0x2b1)](_0x38ba01=>this[_0x4347d8(0x44f)][_0x4347d8(0x41c)]('[CollaborationSessionService]:\x20socket\x20error',_0x38ba01)),_0x496ec4['open$'][_0x4347d8(0x127)](V[_0x4347d8(0x18e)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x496ec4);}),_0x496ec4['close$'][_0x4347d8(0x127)](V[_0x4347d8(0x18e)](0x1))[_0x4347d8(0x2b1)](_0x3b6c50=>{var _0x15fa4b=_0x4347d8;this[_0x15fa4b(0x44f)]['debug'](_0x15fa4b(0x4a5),_0x15fa4b(0x284),_0x3b6c50),this['_onConnectionFailed']();});}}catch(_0x2b5687){this[_0x4347d8(0x44f)][_0x4347d8(0x41c)](_0x2b5687),this[_0x4347d8(0x37e)]();}}[_0x53ae8e(0x3ef)](_0x2305f0){var _0x24a6e3=_0x53ae8e;this[_0x24a6e3(0x44f)][_0x24a6e3(0x180)](_0x24a6e3(0x4a5),_0x24a6e3(0x1da)),_0x2305f0[_0x24a6e3(0x3b3)]({'cmd':W[_0x24a6e3(0x389)]}),this[_0x24a6e3(0x363)]();}[_0x53ae8e(0x3ea)](){var _0x3ad649=_0x53ae8e;this[_0x3ad649(0x3f3)]=!0x1,this[_0x3ad649(0x333)]=null,this[_0x3ad649(0x3b1)][_0x3ad649(0x221)](se[_0x3ad649(0x399)]),this['_socket$'][_0x3ad649(0x221)](null),this[_0x3ad649(0x3b7)](),this[_0x3ad649(0x312)]();}[_0x53ae8e(0x37e)](){var _0x3cec8a=_0x53ae8e,_0x2e402a;this['_onOffline'](),this['_retryCount']<((_0x2e402a=this[_0x3cec8a(0x2f2)][_0x3cec8a(0x45e)](ut))!=null?_0x2e402a:wt)?(this['_collaborationUIEventService']['emitEvent']({'id':J[_0x3cec8a(0x293)]}),this[_0x3cec8a(0x1b6)]()):this[_0x3cec8a(0x1b1)][_0x3cec8a(0x1ad)]({'id':J[_0x3cec8a(0x36d)]});}[_0x53ae8e(0x1b6)](){var _0x2e6ea4=_0x53ae8e,_0x266191;const _0x5e7b3a=this['_retryCount'],_0x3ab6da=this[_0x2e6ea4(0x2f2)][_0x2e6ea4(0x45e)](Y),_0x2f62d0=_0x5e7b3a===0x0?0x0:((_0x266191=_0x3ab6da==null?void 0x0:_0x3ab6da[_0x2e6ea4(0x32d)])!=null?_0x266191:Mt)*0x2**_0x5e7b3a;this[_0x2e6ea4(0x1c0)]=setTimeout(()=>{var _0x348ae7=_0x2e6ea4;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x348ae7(0x15a)]();},_0x2f62d0),this['_retryCount']+=0x1;}[_0x53ae8e(0x3ff)](_0x418154,_0x6a1858){var _0x4d8bee=_0x53ae8e;const {cmd:_0x24390c}=_0x6a1858;_0x24390c===W[_0x4d8bee(0x389)]&&!this[_0x4d8bee(0x3f3)]&&(_0x418154[_0x4d8bee(0x258)]=_0x6a1858[_0x4d8bee(0x1eb)][_0x4d8bee(0x258)],this[_0x4d8bee(0x3ba)][_0x4d8bee(0x221)](_0x418154),this[_0x4d8bee(0x3b1)]['next'](se[_0x4d8bee(0x1a6)]),this[_0x4d8bee(0x3f3)]=!0x0,this[_0x4d8bee(0x333)]=null),_0x24390c===W[_0x4d8bee(0x126)]&&this[_0x4d8bee(0x3b7)](),this['_rescheduleHeartbeat']();}[_0x53ae8e(0x363)](){var _0x464c35=_0x53ae8e,_0x5d9280;this[_0x464c35(0x312)](),this[_0x464c35(0x2c1)]=setTimeout(()=>this[_0x464c35(0x38d)](),(_0x5d9280=this[_0x464c35(0x2f2)][_0x464c35(0x45e)](ht))!=null?_0x5d9280:Lt);}[_0x53ae8e(0x38d)](){var _0x21d0bd=_0x53ae8e;this[_0x21d0bd(0x45a)]['send']({'cmd':W[_0x21d0bd(0x126)]}),this['_waitForHeartbeatResponse']();}[_0x53ae8e(0x43f)](){var _0x3d9e52=_0x53ae8e,_0x5d8bae;this['_timeoutTimer']=setTimeout(()=>this[_0x3d9e52(0x37e)](),(_0x5d8bae=this[_0x3d9e52(0x2f2)][_0x3d9e52(0x45e)](ke))!=null?_0x5d8bae:lt);}[_0x53ae8e(0x312)](){var _0x36a45c=_0x53ae8e;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x36a45c(0x2c1)]),this[_0x36a45c(0x2c1)]=null);}[_0x53ae8e(0x3b7)](){var _0x4e085d=_0x53ae8e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4e085d(0x1a1)]),this[_0x4e085d(0x1a1)]=null);}},exports[_0x53ae8e(0x32b)]=_i([_e(0x0,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),_e(0x1,o[_0x53ae8e(0x359)]),_e(0x2,o[_0x53ae8e(0x176)]),_e(0x3,Fe),_e(0x4,o[_0x53ae8e(0x427)](ee)),_e(0x5,o[_0x53ae8e(0x1bd)](pt))],exports[_0x53ae8e(0x32b)]);var hi=Object[_0x53ae8e(0x3d8)],li=(_0x5a9721,_0x48a540,_0x303f63,_0x597b68)=>{for(var _0x4b0f5f=_0x597b68>0x1?void 0x0:_0x597b68?hi(_0x48a540,_0x303f63):_0x48a540,_0x1f327d=_0x5a9721['length']-0x1,_0x4adb1c;_0x1f327d>=0x0;_0x1f327d--)(_0x4adb1c=_0x5a9721[_0x1f327d])&&(_0x4b0f5f=_0x4adb1c(_0x4b0f5f)||_0x4b0f5f);return _0x4b0f5f;},Se=(_0x4871ef,_0x26600a)=>(_0x182cc9,_0x15bf19)=>_0x26600a(_0x182cc9,_0x15bf19,_0x4871ef);exports['CollaborationController']=class extends o[_0x53ae8e(0x20c)]{constructor(_0x183a24,_0x3d8296,_0x39096d,_0x3b0268){var _0x39ac35=_0x53ae8e,_0x37771e;super(),A(this,_0x39ac35(0x3fe),new Map()),A(this,_0x39ac35(0x230),new j[(_0x39ac35(0x24b))]()),A(this,_0x39ac35(0x388),this[_0x39ac35(0x230)][_0x39ac35(0x1f7)]()),(this[_0x39ac35(0x3e0)]=_0x183a24,this[_0x39ac35(0x163)]=_0x3d8296,this['_configService']=_0x39096d,this['_univerInstanceService']=_0x3b0268,((_0x37771e=this[_0x39ac35(0x2f2)][_0x39ac35(0x45e)](Y))==null?void 0x0:_0x37771e[_0x39ac35(0x178)])!==!0x1&&this[_0x39ac35(0x412)]());}[_0x53ae8e(0x4ad)](){var _0x35177f=_0x53ae8e;super[_0x35177f(0x4ad)](),this[_0x35177f(0x3fe)]['forEach'](_0x3a8485=>_0x3a8485['dispose']()),this['_entities'][_0x35177f(0x385)]();}['getCollabEntity'](_0x4b4f11){var _0x2810b6=_0x53ae8e,_0x576d95;return(_0x576d95=this['_entities'][_0x2810b6(0x30a)](_0x4b4f11))!=null?_0x576d95:null;}[_0x53ae8e(0x360)](_0x4cb04b){var _0x4c04a2=_0x53ae8e;const _0x57f77b=this[_0x4c04a2(0x1ab)](_0x4cb04b);return _0x57f77b?j['of'](_0x57f77b):this[_0x4c04a2(0x230)][_0x4c04a2(0x127)](V[_0x4c04a2(0x400)](_0x3a6c58=>_0x3a6c58['unitID']===_0x4cb04b));}[_0x53ae8e(0x37c)](_0x2989cf){var _0x1979a2=_0x53ae8e;return j['firstValueFrom'](this[_0x1979a2(0x360)](_0x2989cf)[_0x1979a2(0x127)](V[_0x1979a2(0x413)](()=>{})));}[_0x53ae8e(0x412)](){var _0x1ab693=_0x53ae8e;this[_0x1ab693(0x297)][_0x1ab693(0x3ae)](o[_0x1ab693(0x49d)]['UNIVER_SHEET'])[_0x1ab693(0x127)](j[_0x1ab693(0x2cf)](this[_0x1ab693(0x2fe)]),V[_0x1ab693(0x2a5)](0x10))[_0x1ab693(0x2b1)](async _0x1242d8=>{var _0x2c73ce=_0x1ab693;const _0xe8510b=_0x1242d8['getUnitId'](),_0x5d7e1d=await this[_0x2c73ce(0x2ef)](_0xe8510b,X['UNIVER_SHEET']);this[_0x2c73ce(0x3fe)]['set'](_0xe8510b,_0x5d7e1d);}),this[_0x1ab693(0x297)][_0x1ab693(0x3ae)](o[_0x1ab693(0x49d)][_0x1ab693(0x401)])[_0x1ab693(0x127)](j[_0x1ab693(0x2cf)](this[_0x1ab693(0x2fe)]),V[_0x1ab693(0x2a5)](0x10))[_0x1ab693(0x127)](V[_0x1ab693(0x400)](_0x1e42ac=>!_0x1e42ac['getUnitId']()[_0x1ab693(0x1a7)]('__')))[_0x1ab693(0x2b1)](async _0x5d6241=>{var _0x487ee5=_0x1ab693;const _0x1c0b89=_0x5d6241[_0x487ee5(0x4ab)](),_0x159495=await this[_0x487ee5(0x2ef)](_0x1c0b89,X[_0x487ee5(0x401)]);this[_0x487ee5(0x3fe)][_0x487ee5(0x1bb)](_0x1c0b89,_0x159495);}),j[_0x1ab693(0x2e3)](this[_0x1ab693(0x297)][_0x1ab693(0x289)](o[_0x1ab693(0x49d)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x1ab693(0x289)](o[_0x1ab693(0x49d)][_0x1ab693(0x401)]))['pipe'](j[_0x1ab693(0x2cf)](this['dispose$']))[_0x1ab693(0x2b1)](_0x1fd51c=>{var _0x505628=_0x1ab693;const _0x59e3d6=_0x1fd51c[_0x505628(0x4ab)](),_0x167808=this['_entities'][_0x505628(0x30a)](_0x59e3d6);_0x167808&&(_0x167808[_0x505628(0x4ad)](),this[_0x505628(0x3fe)][_0x505628(0x476)](_0x59e3d6));});}async[_0x53ae8e(0x2ef)](_0x3f6cd5,_0xe5bd35){var _0x203a6a=_0x53ae8e;const _0x3162bd=await this[_0x203a6a(0x163)][_0x203a6a(0x194)](_0x3f6cd5),_0xee4267=this[_0x203a6a(0x3e0)][_0x203a6a(0x37a)](this['_getCtorByUniverType'](_0xe5bd35),_0x3f6cd5,_0xe5bd35,_0x3162bd);return await _0xee4267['init'](),this[_0x203a6a(0x230)][_0x203a6a(0x221)](_0xee4267),_0xee4267;}[_0x53ae8e(0x46f)](_0x5a89e7){var _0x396a45=_0x53ae8e;switch(_0x5a89e7){case X[_0x396a45(0x401)]:return exports[_0x396a45(0x1fd)];case X['UNIVER_SHEET']:return exports[_0x396a45(0x2a1)];default:throw new Error(_0x396a45(0x3d6)+_0x5a89e7);}}},exports['CollaborationController']=li([Se(0x0,o['Inject'](o[_0x53ae8e(0x1b9)])),Se(0x1,o[_0x53ae8e(0x427)](exports['CollaborationSessionService'])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x53ae8e(0x49b)])],exports[_0x53ae8e(0x2d2)]);var ui=Object[_0x53ae8e(0x3d8)],vi=(_0x3acd4b,_0x469607,_0x22b26c,_0x5a7c9a)=>{var _0x907097=_0x53ae8e;for(var _0x431e30=_0x5a7c9a>0x1?void 0x0:_0x5a7c9a?ui(_0x469607,_0x22b26c):_0x469607,_0x56a664=_0x3acd4b[_0x907097(0x461)]-0x1,_0x2d41a3;_0x56a664>=0x0;_0x56a664--)(_0x2d41a3=_0x3acd4b[_0x56a664])&&(_0x431e30=_0x2d41a3(_0x431e30)||_0x431e30);return _0x431e30;},Ye=(_0x27c39b,_0x2c30ce)=>(_0x2e8209,_0x53e9e6)=>_0x2c30ce(_0x2e8209,_0x53e9e6,_0x27c39b);const di=_0x53ae8e(0x486),Si=_0x53ae8e(0x24f);let xe=class extends o[_0x53ae8e(0x3e3)]{constructor(_0x509341,_0x39de9f){var _0x8aa9fd=_0x53ae8e;super(),this['_univerInstanceService']=_0x509341,this[_0x8aa9fd(0x2f2)]=_0x39de9f,this[_0x8aa9fd(0x412)]();}['_init'](){var _0x595c21=_0x53ae8e;this['disposeWithMe'](this[_0x595c21(0x297)][_0x595c21(0x473)][_0x595c21(0x2b1)](()=>{var _0x29d07e=_0x595c21,_0x1cb469;const _0x973838=this[_0x29d07e(0x297)]['getFocusedUnit']();let _0x5b15d0=(_0x1cb469=this[_0x29d07e(0x2f2)][_0x29d07e(0x45e)](di))!=null?_0x1cb469:Si;_0x973838 instanceof o['Workbook']&&(_0x5b15d0=_0x973838[_0x29d07e(0x3e9)]),document[_0x29d07e(0x1f0)]=_0x5b15d0;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x53ae8e(0x176)])],xe);var Ii=Object[_0x53ae8e(0x3d8)],fi=(_0x586ab5,_0x4797c9,_0x3da63c,_0x3a5bdf)=>{for(var _0x3345f4=_0x3a5bdf>0x1?void 0x0:_0x3a5bdf?Ii(_0x4797c9,_0x3da63c):_0x4797c9,_0x4b167d=_0x586ab5['length']-0x1,_0x5affc2;_0x4b167d>=0x0;_0x4b167d--)(_0x5affc2=_0x586ab5[_0x4b167d])&&(_0x3345f4=_0x5affc2(_0x3345f4)||_0x3345f4);return _0x3345f4;},Ae=(_0x332278,_0x1c8cfe)=>(_0x1a4045,_0x54ffe3)=>_0x1c8cfe(_0x1a4045,_0x54ffe3,_0x332278);let Ne=class{constructor(_0x2c1597,_0x27bf7e,_0x2db46e){var _0x27cb0b=_0x53ae8e;this[_0x27cb0b(0x2f2)]=_0x2c1597,this[_0x27cb0b(0x33d)]=_0x27bf7e,this[_0x27cb0b(0x404)]=_0x2db46e,this[_0x27cb0b(0x34f)]();}['init'](){var _0x406a1c=_0x53ae8e;this[_0x406a1c(0x33d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x22c212,_0x1311f5)=>_0x1311f5(_0x22c212)[_0x406a1c(0x127)](j[_0x406a1c(0x2e7)](async _0x36ddf8=>{var _0x192589=_0x406a1c;const _0x3a53a6=_0x36ddf8;if(_0x3a53a6[_0x192589(0x456)]===0x191){if(typeof window>'u')throw new Error(_0x192589(0x245));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x320b2b=window[_0x192589(0x3b2)](window['location'][_0x192589(0x2f7)]);window[_0x192589(0x290)]['href']=this[_0x192589(0x14f)]()+_0x192589(0x2df)+_0x320b2b;}}return _0x3a53a6;}))});}[_0x53ae8e(0x14f)](){var _0x36a1e9=_0x53ae8e,_0x2da5da;const _0x32a4be=this['_configService'][_0x36a1e9(0x45e)](Y);return(_0x2da5da=_0x32a4be==null?void 0x0:_0x32a4be[_0x36a1e9(0x275)])!=null?_0x2da5da:Ht;}};Ne=fi([Ae(0x0,o[_0x53ae8e(0x176)]),Ae(0x1,o[_0x53ae8e(0x427)](K[_0x53ae8e(0x3fd)])),Ae(0x2,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x2ac)]))],Ne);var Ei=Object['getOwnPropertyDescriptor'],pi=(_0x2eacec,_0x2ecaa3,_0x1ee0b0,_0x52f0cc)=>{var _0x52d32e=_0x53ae8e;for(var _0x22f83b=_0x52f0cc>0x1?void 0x0:_0x52f0cc?Ei(_0x2ecaa3,_0x1ee0b0):_0x2ecaa3,_0x3e3666=_0x2eacec[_0x52d32e(0x461)]-0x1,_0x1b3db0;_0x3e3666>=0x0;_0x3e3666--)(_0x1b3db0=_0x2eacec[_0x3e3666])&&(_0x22f83b=_0x1b3db0(_0x22f83b)||_0x22f83b);return _0x22f83b;},Ke=(_0x283031,_0x1226f9)=>(_0x5e4dbd,_0x17d963)=>_0x1226f9(_0x5e4dbd,_0x17d963,_0x283031);const mi=_0x53ae8e(0x1b7);exports['AuthzIoHttpService']=class extends o[_0x53ae8e(0x3e3)]{constructor(_0x378b7c,_0x210979){var _0xd22feb=_0x53ae8e;super(),this[_0xd22feb(0x353)]=_0x378b7c,this[_0xd22feb(0x2f2)]=_0x210979,this[_0xd22feb(0x247)]();}['_initMergeInterceptor'](){var _0x342d40=_0x53ae8e;const _0x4f939a=this;this[_0x342d40(0x391)](this[_0x342d40(0x353)][_0x342d40(0x38b)]({'priority':0x3e7,'interceptor':K[_0x342d40(0x1a4)]({'isMatch'(_0x776e7){var _0x5b7b01=_0x342d40,_0x15f8ed;if(_0x776e7[_0x5b7b01(0x480)]===_0x5b7b01(0x263)&&((_0x15f8ed=_0x776e7[_0x5b7b01(0x223)])!=null&&_0x15f8ed['body'])){const {objectID:_0x51f918,objectType:_0x4c17f7}=_0x776e7[_0x5b7b01(0x223)][_0x5b7b01(0x179)]||{};if(!_0x51f918||_0x4c17f7===void 0x0)return!0x1;const _0x17aa51=_0x4f939a['_getAPIPrefixPath']()+'/'+_0x4c17f7+_0x5b7b01(0x2c2)+_0x51f918+'/allowed';if(_0x776e7[_0x5b7b01(0x22a)]===_0x17aa51)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc91504){var _0x4cc7f7=_0x342d40,_0x36bbf5;return(_0x36bbf5=_0xc91504[_0x4cc7f7(0x223)])==null?void 0x0:_0x36bbf5[_0x4cc7f7(0x179)];},'mergeParamsToRequest'(_0x562800,_0x429e2c){var _0x235a03=_0x342d40;const _0x64cc73=_0x4f939a['_getAPIPrefixPath']()+_0x235a03(0x3ec),_0x19ad09=_0x562800[_0x235a03(0x26d)]((_0x9d2468,_0x1a948b)=>{var _0x596e82=_0x235a03;const {unitID:_0x2a974d,objectID:_0x593679,objectType:_0x28faf9,actions:_0x58971c}=_0x1a948b;return _0x9d2468[_0x2a974d]||(_0x9d2468[_0x2a974d]={}),_0x9d2468[_0x2a974d][_0x593679]||(_0x9d2468[_0x2a974d][_0x593679]={'objectID':_0x593679,'objectType':_0x28faf9,'actions':[]}),_0x9d2468[_0x2a974d][_0x593679][_0x596e82(0x3dd)][_0x596e82(0x440)](..._0x58971c),_0x9d2468;},{}),_0x1adbae=[];for(const _0x3e943f in _0x19ad09)for(const _0x2cd728 in _0x19ad09[_0x3e943f]){const {actions:_0x5d6706,objectType:_0x34eb1d}=_0x19ad09[_0x3e943f][_0x2cd728],_0x42a605=[...new Set(_0x5d6706)];_0x1adbae[_0x235a03(0x440)]({'unitID':_0x3e943f,'objectID':_0x2cd728,'objectType':_0x34eb1d,'actions':_0x42a605});}return new K['HTTPRequest'](_0x235a03(0x263),_0x64cc73,{'headers':_0x429e2c[_0x235a03(0x48e)],'withCredentials':_0x429e2c[_0x235a03(0x483)],'responseType':_0x429e2c[_0x235a03(0x38a)],'body':{'requests':_0x1adbae}});}},{'distributeResult'(_0x5955e8,_0x3d6be2){var _0x280d28=_0x342d40;const {objectActions:_0x4b231b}=_0x5955e8;return _0x3d6be2[_0x280d28(0x413)](_0x153c55=>{var _0x4ed5f3=_0x280d28;const {unitID:_0x1ce907,objectID:_0x5793a5,actions:_0x35dd66}=_0x153c55,_0x2963f0=_0x4b231b[_0x4ed5f3(0x348)](_0x54ff59=>_0x54ff59[_0x4ed5f3(0x319)]===_0x1ce907&&_0x54ff59[_0x4ed5f3(0x191)]===_0x5793a5),_0x4f9c74=_0x35dd66[_0x4ed5f3(0x413)](_0x5d2d4d=>_0x2963f0==null?void 0x0:_0x2963f0[_0x4ed5f3(0x3dd)]['find'](_0x61e921=>_0x61e921[_0x4ed5f3(0x29b)]===_0x5d2d4d))[_0x4ed5f3(0x400)](_0x50aa33=>!!_0x50aa33);return{'config':_0x153c55,'result':{'actions':_0x4f9c74,'error':_0x5955e8[_0x4ed5f3(0x41c)]}};});}})}));}[_0x53ae8e(0x2c8)](){var _0x20322e=_0x53ae8e,_0x2ed20a;const _0x19aa41=this[_0x20322e(0x2f2)]['getConfig'](Y);return(_0x2ed20a=_0x19aa41==null?void 0x0:_0x19aa41[_0x20322e(0x2f9)])!=null?_0x2ed20a:mi;}async[_0x53ae8e(0x3eb)](_0x718e71){var _0x417e97=_0x53ae8e;const _0x12eea9=this['_getAPIPrefixPath']()+'/'+_0x718e71['objectType']+'/object';return(await this['_HTTPService'][_0x417e97(0x1f3)](_0x12eea9,{'body':_0x718e71}))[_0x417e97(0x179)]['objectID']||'';}async[_0x53ae8e(0x15e)](_0x338546){var _0x1e8811=_0x53ae8e;const _0x91096f=this[_0x1e8811(0x2c8)]()+_0x1e8811(0x498);return(await this[_0x1e8811(0x353)]['post'](_0x91096f,{'body':_0x338546}))[_0x1e8811(0x179)][_0x1e8811(0x19b)];}async[_0x53ae8e(0x1fb)](_0x1430a7){var _0x4f9ff9=_0x53ae8e,_0x3c3db5,_0x4035ca;const _0x10c047=this['_getAPIPrefixPath']()+'/'+_0x1430a7[_0x4f9ff9(0x3d9)]+_0x4f9ff9(0x2c2)+_0x1430a7[_0x4f9ff9(0x191)],_0x93f101=await this[_0x4f9ff9(0x353)][_0x4f9ff9(0x2c0)](_0x10c047,{'body':_0x1430a7});if(((_0x4035ca=(_0x3c3db5=_0x93f101==null?void 0x0:_0x93f101[_0x4f9ff9(0x179)])==null?void 0x0:_0x3c3db5[_0x4f9ff9(0x41c)])==null?void 0x0:_0x4035ca[_0x4f9ff9(0x3a9)])!==0x1)throw new Error(_0x4f9ff9(0x149));}async['allowed'](_0x35c876){var _0x18b0f5=_0x53ae8e;const _0x1490e2=this['_getAPIPrefixPath']()+'/'+_0x35c876[_0x18b0f5(0x3d9)]+'/object/'+_0x35c876[_0x18b0f5(0x191)]+_0x18b0f5(0x29c);return(await this[_0x18b0f5(0x353)][_0x18b0f5(0x1f3)](_0x1490e2,{'body':_0x35c876}))[_0x18b0f5(0x179)]['actions'];}async[_0x53ae8e(0x35b)](_0x4f58c7){var _0x47c2b9=_0x53ae8e;const _0x49848a=this['_getAPIPrefixPath']()+_0x47c2b9(0x3ec);return(await this['_HTTPService'][_0x47c2b9(0x1f3)](_0x49848a,{'body':{'requests':_0x4f58c7}}))['body'][_0x47c2b9(0x40c)];}async['listRoles'](_0x57b59a){var _0x240cb9=_0x53ae8e;const _0x1ca39d=this[_0x240cb9(0x2c8)]()+'/'+_0x57b59a[_0x240cb9(0x3d9)]+'/role',_0x37bd7d=await this[_0x240cb9(0x353)][_0x240cb9(0x1f3)](_0x1ca39d,{'body':_0x57b59a});return{'roles':_0x37bd7d[_0x240cb9(0x179)]['roles'],'actions':_0x37bd7d[_0x240cb9(0x179)][_0x240cb9(0x3dd)]};}async[_0x53ae8e(0x181)](_0x411483){var _0x3784e2=_0x53ae8e;const _0x14d379=this[_0x3784e2(0x2c8)]()+_0x3784e2(0x410);await this['_HTTPService'][_0x3784e2(0x476)](_0x14d379,{'params':{'collaboratorID':_0x411483[_0x3784e2(0x27d)],'objectID':_0x411483['objectID'],'unitID':_0x411483['unitID']}});}async[_0x53ae8e(0x396)](_0x323ed4){var _0x1f5e99=_0x53ae8e;const _0x5c0360=this['_getAPIPrefixPath']()+_0x1f5e99(0x410);await this[_0x1f5e99(0x353)][_0x1f5e99(0x167)](_0x5c0360,{'body':_0x323ed4});}async[_0x53ae8e(0x304)](_0xf04dc2){var _0x20dedd=_0x53ae8e;const _0x206926=this['_getAPIPrefixPath']()+_0x20dedd(0x410);await this[_0x20dedd(0x353)][_0x20dedd(0x1f3)](_0x206926,{'body':_0xf04dc2});}async[_0x53ae8e(0x3cf)](_0x26e523){var _0x187833=_0x53ae8e;const _0x3fb76a=this['_getAPIPrefixPath']()+_0x187833(0x410);return(await this['_HTTPService'][_0x187833(0x30a)](_0x3fb76a,{'params':{'objectID':_0x26e523[_0x187833(0x191)],'unitID':_0x26e523[_0x187833(0x319)]}}))[_0x187833(0x179)][_0x187833(0x27c)];}async['putCollaborators'](_0x4be140){var _0x320b84=_0x53ae8e;const _0x4b9601=this[_0x320b84(0x2c8)]()+_0x320b84(0x410);await this[_0x320b84(0x353)][_0x320b84(0x2c0)](_0x4b9601,{'body':_0x4be140});}},exports[_0x53ae8e(0x22d)]=pi([Ke(0x0,o['Inject'](K[_0x53ae8e(0x3fd)])),Ke(0x1,o[_0x53ae8e(0x427)](o['IConfigService']))],exports[_0x53ae8e(0x22d)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x3a652c){var _0x353431=_0x53ae8e;return _0x3a652c&&_0x3a652c['__esModule']&&Object[_0x353431(0x1f2)][_0x353431(0x373)]['call'](_0x3a652c,_0x353431(0x3b5))?_0x3a652c[_0x353431(0x3b5)]:_0x3a652c;}var Ie={'exports':{}};function gi(_0x46a678){var _0x4b60ea=_0x53ae8e;throw new Error(_0x4b60ea(0x150)+_0x46a678+_0x4b60ea(0x4a0));}var fe={'exports':{}},Ti=fe['exports'],qe;function Z(){var _0x16d9b2=_0x53ae8e;return qe||(qe=0x1,function(_0x43cf2b,_0x4d163d){(function(_0x47fefb,_0xef926a){var _0x3e1501=_0x74cc;_0x43cf2b[_0x3e1501(0x238)]=_0xef926a();}(Ti,function(){var _0x213fe0=_0x213fe0||function(_0x34e405,_0x4f51ad){var _0x1beaa5=_0x74cc,_0xb140d4;if(typeof window<'u'&&window[_0x1beaa5(0x286)]&&(_0xb140d4=window[_0x1beaa5(0x286)]),typeof self<'u'&&self[_0x1beaa5(0x286)]&&(_0xb140d4=self[_0x1beaa5(0x286)]),typeof globalThis<'u'&&globalThis[_0x1beaa5(0x286)]&&(_0xb140d4=globalThis[_0x1beaa5(0x286)]),!_0xb140d4&&typeof window<'u'&&window[_0x1beaa5(0x22c)]&&(_0xb140d4=window[_0x1beaa5(0x22c)]),!_0xb140d4&&typeof Pe<'u'&&Pe[_0x1beaa5(0x286)]&&(_0xb140d4=Pe[_0x1beaa5(0x286)]),!_0xb140d4&&typeof gi==_0x1beaa5(0x49e))try{_0xb140d4=require('crypto');}catch{}var _0x27a5ff=function(){var _0x1333fa=_0x1beaa5;if(_0xb140d4){if(typeof _0xb140d4[_0x1333fa(0x12b)]=='function')try{return _0xb140d4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb140d4[_0x1333fa(0x21c)]==_0x1333fa(0x49e))try{return _0xb140d4['randomBytes'](0x4)[_0x1333fa(0x484)]();}catch{}}throw new Error(_0x1333fa(0x3ce));},_0x5bb409=Object[_0x1beaa5(0x3eb)]||(function(){function _0xb4f3a9(){}return function(_0x5aa799){var _0x516d19=_0x74cc,_0xb8647b;return _0xb4f3a9[_0x516d19(0x1f2)]=_0x5aa799,_0xb8647b=new _0xb4f3a9(),_0xb4f3a9[_0x516d19(0x1f2)]=null,_0xb8647b;};}()),_0x6870bc={},_0x2b045b=_0x6870bc[_0x1beaa5(0x240)]={},_0x2bfe1b=_0x2b045b[_0x1beaa5(0x2d6)]=(function(){return{'extend':function(_0x339136){var _0x4dd34c=_0x74cc,_0xe57ecc=_0x5bb409(this);return _0x339136&&_0xe57ecc[_0x4dd34c(0x3a7)](_0x339136),(!_0xe57ecc['hasOwnProperty'](_0x4dd34c(0x34f))||this[_0x4dd34c(0x34f)]===_0xe57ecc[_0x4dd34c(0x34f)])&&(_0xe57ecc[_0x4dd34c(0x34f)]=function(){var _0x5c528c=_0x4dd34c;_0xe57ecc[_0x5c528c(0x133)][_0x5c528c(0x34f)][_0x5c528c(0x2f1)](this,arguments);}),_0xe57ecc['init']['prototype']=_0xe57ecc,_0xe57ecc[_0x4dd34c(0x133)]=this,_0xe57ecc;},'create':function(){var _0x481d6f=_0x74cc,_0x5217f6=this[_0x481d6f(0x4a9)]();return _0x5217f6[_0x481d6f(0x34f)][_0x481d6f(0x2f1)](_0x5217f6,arguments),_0x5217f6;},'init':function(){},'mixIn':function(_0x45e787){var _0x53135f=_0x74cc;for(var _0x20eba6 in _0x45e787)_0x45e787[_0x53135f(0x373)](_0x20eba6)&&(this[_0x20eba6]=_0x45e787[_0x20eba6]);_0x45e787[_0x53135f(0x373)](_0x53135f(0x1d1))&&(this[_0x53135f(0x1d1)]=_0x45e787[_0x53135f(0x1d1)]);},'clone':function(){var _0x578476=_0x74cc;return this[_0x578476(0x34f)][_0x578476(0x1f2)][_0x578476(0x4a9)](this);}};}()),_0x312ad3=_0x2b045b[_0x1beaa5(0x1fe)]=_0x2bfe1b[_0x1beaa5(0x4a9)]({'init':function(_0x1b2b49,_0x507ec1){var _0x551f54=_0x1beaa5;_0x1b2b49=this[_0x551f54(0x2e5)]=_0x1b2b49||[],_0x507ec1!=_0x4f51ad?this['sigBytes']=_0x507ec1:this[_0x551f54(0x12e)]=_0x1b2b49['length']*0x4;},'toString':function(_0x53d47f){var _0x171815=_0x1beaa5;return(_0x53d47f||_0x3d4c1e)[_0x171815(0x422)](this);},'concat':function(_0x20f4fb){var _0x2972d6=_0x1beaa5,_0x3ea060=this[_0x2972d6(0x2e5)],_0x2ec628=_0x20f4fb[_0x2972d6(0x2e5)],_0x169e4e=this[_0x2972d6(0x12e)],_0x166bc0=_0x20f4fb['sigBytes'];if(this[_0x2972d6(0x426)](),_0x169e4e%0x4)for(var _0x3d3254=0x0;_0x3d3254<_0x166bc0;_0x3d3254++){var _0x462e1d=_0x2ec628[_0x3d3254>>>0x2]>>>0x18-_0x3d3254%0x4*0x8&0xff;_0x3ea060[_0x169e4e+_0x3d3254>>>0x2]|=_0x462e1d<<0x18-(_0x169e4e+_0x3d3254)%0x4*0x8;}else{for(var _0x1ee537=0x0;_0x1ee537<_0x166bc0;_0x1ee537+=0x4)_0x3ea060[_0x169e4e+_0x1ee537>>>0x2]=_0x2ec628[_0x1ee537>>>0x2];}return this[_0x2972d6(0x12e)]+=_0x166bc0,this;},'clamp':function(){var _0x857138=_0x1beaa5,_0x47b6f8=this[_0x857138(0x2e5)],_0x2fe50d=this['sigBytes'];_0x47b6f8[_0x2fe50d>>>0x2]&=0xffffffff<<0x20-_0x2fe50d%0x4*0x8,_0x47b6f8[_0x857138(0x461)]=_0x34e405[_0x857138(0x34c)](_0x2fe50d/0x4);},'clone':function(){var _0x5869ee=_0x1beaa5,_0x5b604d=_0x2bfe1b[_0x5869ee(0x44b)][_0x5869ee(0x429)](this);return _0x5b604d[_0x5869ee(0x2e5)]=this[_0x5869ee(0x2e5)][_0x5869ee(0x1f4)](0x0),_0x5b604d;},'random':function(_0x43e5c7){var _0x50ae9a=_0x1beaa5;for(var _0x36b36e=[],_0x5079fa=0x0;_0x5079fa<_0x43e5c7;_0x5079fa+=0x4)_0x36b36e[_0x50ae9a(0x440)](_0x27a5ff());return new _0x312ad3[(_0x50ae9a(0x34f))](_0x36b36e,_0x43e5c7);}}),_0x3dfb09=_0x6870bc['enc']={},_0x3d4c1e=_0x3dfb09[_0x1beaa5(0x453)]={'stringify':function(_0x35e0b7){var _0x4008d9=_0x1beaa5;for(var _0x17e3ec=_0x35e0b7[_0x4008d9(0x2e5)],_0x516420=_0x35e0b7[_0x4008d9(0x12e)],_0x156959=[],_0x3cf119=0x0;_0x3cf119<_0x516420;_0x3cf119++){var _0x4ecf62=_0x17e3ec[_0x3cf119>>>0x2]>>>0x18-_0x3cf119%0x4*0x8&0xff;_0x156959['push']((_0x4ecf62>>>0x4)[_0x4008d9(0x1d1)](0x10)),_0x156959[_0x4008d9(0x440)]((_0x4ecf62&0xf)['toString'](0x10));}return _0x156959['join']('');},'parse':function(_0x2f0b81){var _0x158af0=_0x1beaa5;for(var _0x3e0c2c=_0x2f0b81['length'],_0x318d81=[],_0x179e0e=0x0;_0x179e0e<_0x3e0c2c;_0x179e0e+=0x2)_0x318d81[_0x179e0e>>>0x3]|=parseInt(_0x2f0b81['substr'](_0x179e0e,0x2),0x10)<<0x18-_0x179e0e%0x8*0x4;return new _0x312ad3[(_0x158af0(0x34f))](_0x318d81,_0x3e0c2c/0x2);}},_0x5b8eb6=_0x3dfb09[_0x1beaa5(0x497)]={'stringify':function(_0x1937a2){var _0x4bb68c=_0x1beaa5;for(var _0x588e2d=_0x1937a2[_0x4bb68c(0x2e5)],_0x19916a=_0x1937a2[_0x4bb68c(0x12e)],_0x59c47b=[],_0xad84c7=0x0;_0xad84c7<_0x19916a;_0xad84c7++){var _0x5c40ca=_0x588e2d[_0xad84c7>>>0x2]>>>0x18-_0xad84c7%0x4*0x8&0xff;_0x59c47b[_0x4bb68c(0x440)](String[_0x4bb68c(0x157)](_0x5c40ca));}return _0x59c47b[_0x4bb68c(0x1f6)]('');},'parse':function(_0x227470){var _0x57796a=_0x1beaa5;for(var _0x37ca57=_0x227470[_0x57796a(0x461)],_0x1d2774=[],_0x5e27a7=0x0;_0x5e27a7<_0x37ca57;_0x5e27a7++)_0x1d2774[_0x5e27a7>>>0x2]|=(_0x227470[_0x57796a(0x292)](_0x5e27a7)&0xff)<<0x18-_0x5e27a7%0x4*0x8;return new _0x312ad3[(_0x57796a(0x34f))](_0x1d2774,_0x37ca57);}},_0x3a84df=_0x3dfb09[_0x1beaa5(0x24c)]={'stringify':function(_0x2666a6){var _0x394595=_0x1beaa5;try{return decodeURIComponent(escape(_0x5b8eb6[_0x394595(0x422)](_0x2666a6)));}catch{throw new Error(_0x394595(0x2ff));}},'parse':function(_0x5a3554){var _0x427501=_0x1beaa5;return _0x5b8eb6[_0x427501(0x2d3)](unescape(encodeURIComponent(_0x5a3554)));}},_0x28a3bf=_0x2b045b[_0x1beaa5(0x19f)]=_0x2bfe1b[_0x1beaa5(0x4a9)]({'reset':function(){var _0x2cbb06=_0x1beaa5;this[_0x2cbb06(0x3e6)]=new _0x312ad3['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x2844a2){var _0x469bf8=_0x1beaa5;typeof _0x2844a2==_0x469bf8(0x2c9)&&(_0x2844a2=_0x3a84df[_0x469bf8(0x2d3)](_0x2844a2)),this[_0x469bf8(0x3e6)][_0x469bf8(0x19c)](_0x2844a2),this[_0x469bf8(0x28d)]+=_0x2844a2[_0x469bf8(0x12e)];},'_process':function(_0x578451){var _0x3468fb=_0x1beaa5,_0x2b57b1,_0x5f24d2=this['_data'],_0x4b1165=_0x5f24d2[_0x3468fb(0x2e5)],_0x59d43b=_0x5f24d2['sigBytes'],_0x522b4c=this[_0x3468fb(0x1d8)],_0x310cd1=_0x522b4c*0x4,_0xf69ee1=_0x59d43b/_0x310cd1;_0x578451?_0xf69ee1=_0x34e405[_0x3468fb(0x34c)](_0xf69ee1):_0xf69ee1=_0x34e405[_0x3468fb(0x2e6)]((_0xf69ee1|0x0)-this[_0x3468fb(0x47d)],0x0);var _0x436601=_0xf69ee1*_0x522b4c,_0x40359f=_0x34e405[_0x3468fb(0x2dd)](_0x436601*0x4,_0x59d43b);if(_0x436601){for(var _0x1ec961=0x0;_0x1ec961<_0x436601;_0x1ec961+=_0x522b4c)this[_0x3468fb(0x48c)](_0x4b1165,_0x1ec961);_0x2b57b1=_0x4b1165['splice'](0x0,_0x436601),_0x5f24d2[_0x3468fb(0x12e)]-=_0x40359f;}return new _0x312ad3['init'](_0x2b57b1,_0x40359f);},'clone':function(){var _0x46b7ca=_0x1beaa5,_0x9bf95a=_0x2bfe1b[_0x46b7ca(0x44b)]['call'](this);return _0x9bf95a[_0x46b7ca(0x3e6)]=this[_0x46b7ca(0x3e6)][_0x46b7ca(0x44b)](),_0x9bf95a;},'_minBufferSize':0x0});_0x2b045b[_0x1beaa5(0x30f)]=_0x28a3bf[_0x1beaa5(0x4a9)]({'cfg':_0x2bfe1b[_0x1beaa5(0x4a9)](),'init':function(_0x4a3339){var _0x5c89d3=_0x1beaa5;this[_0x5c89d3(0x3bb)]=this[_0x5c89d3(0x3bb)][_0x5c89d3(0x4a9)](_0x4a3339),this[_0x5c89d3(0x14c)]();},'reset':function(){var _0x59c98d=_0x1beaa5;_0x28a3bf[_0x59c98d(0x14c)][_0x59c98d(0x429)](this),this['_doReset']();},'update':function(_0x907c68){return this['_append'](_0x907c68),this['_process'](),this;},'finalize':function(_0x259e3a){var _0x153074=_0x1beaa5;_0x259e3a&&this[_0x153074(0x3c6)](_0x259e3a);var _0x585d5a=this['_doFinalize']();return _0x585d5a;},'blockSize':0x10,'_createHelper':function(_0x23baff){return function(_0x4e3d7c,_0x57405c){var _0x5bb498=_0x74cc;return new _0x23baff['init'](_0x57405c)[_0x5bb498(0x123)](_0x4e3d7c);};},'_createHmacHelper':function(_0x564ef3){return function(_0x248912,_0x20efd9){var _0x48e189=_0x74cc;return new _0x53c6ca[(_0x48e189(0x350))][(_0x48e189(0x34f))](_0x564ef3,_0x20efd9)[_0x48e189(0x123)](_0x248912);};}});var _0x53c6ca=_0x6870bc[_0x1beaa5(0x206)]={};return _0x6870bc;}(Math);return _0x213fe0;}));}(fe)),fe[_0x16d9b2(0x238)];}var Ee={'exports':{}},Ci=Ee[_0x53ae8e(0x238)],ze;function Tt(){var _0x52a55c=_0x53ae8e;return ze||(ze=0x1,function(_0x251f42,_0x2f73af){(function(_0x1cee6a,_0x566a10){var _0x10889f=_0x74cc;_0x251f42[_0x10889f(0x238)]=_0x566a10(Z());}(Ci,function(_0x615d8b){var _0xe846af=_0x74cc;return(function(){var _0x1acc6f=_0x74cc,_0x43a095=_0x615d8b,_0x19a1b2=_0x43a095[_0x1acc6f(0x240)],_0x26fcb3=_0x19a1b2[_0x1acc6f(0x1fe)],_0x1653fa=_0x43a095[_0x1acc6f(0x41a)];_0x1653fa[_0x1acc6f(0x18b)]={'stringify':function(_0x59b70a){var _0x102dfb=_0x1acc6f,_0x1b9e6f=_0x59b70a['words'],_0x15aa17=_0x59b70a['sigBytes'],_0x16fbce=this['_map'];_0x59b70a['clamp']();for(var _0xf40fc8=[],_0x16ebfa=0x0;_0x16ebfa<_0x15aa17;_0x16ebfa+=0x3)for(var _0x153549=_0x1b9e6f[_0x16ebfa>>>0x2]>>>0x18-_0x16ebfa%0x4*0x8&0xff,_0x16be17=_0x1b9e6f[_0x16ebfa+0x1>>>0x2]>>>0x18-(_0x16ebfa+0x1)%0x4*0x8&0xff,_0x5f0b6a=_0x1b9e6f[_0x16ebfa+0x2>>>0x2]>>>0x18-(_0x16ebfa+0x2)%0x4*0x8&0xff,_0x3c5442=_0x153549<<0x10|_0x16be17<<0x8|_0x5f0b6a,_0x6380b=0x0;_0x6380b<0x4&&_0x16ebfa+_0x6380b*0.75<_0x15aa17;_0x6380b++)_0xf40fc8[_0x102dfb(0x440)](_0x16fbce[_0x102dfb(0x455)](_0x3c5442>>>0x6*(0x3-_0x6380b)&0x3f));var _0x68a746=_0x16fbce[_0x102dfb(0x455)](0x40);if(_0x68a746){for(;_0xf40fc8[_0x102dfb(0x461)]%0x4;)_0xf40fc8[_0x102dfb(0x440)](_0x68a746);}return _0xf40fc8[_0x102dfb(0x1f6)]('');},'parse':function(_0x69b5f9){var _0x35ab7e=_0x1acc6f,_0x195480=_0x69b5f9[_0x35ab7e(0x461)],_0xe67bf1=this[_0x35ab7e(0x488)],_0x954c09=this['_reverseMap'];if(!_0x954c09){_0x954c09=this[_0x35ab7e(0x2a2)]=[];for(var _0x3ca7d1=0x0;_0x3ca7d1<_0xe67bf1['length'];_0x3ca7d1++)_0x954c09[_0xe67bf1[_0x35ab7e(0x292)](_0x3ca7d1)]=_0x3ca7d1;}var _0x3642df=_0xe67bf1[_0x35ab7e(0x455)](0x40);if(_0x3642df){var _0x1506e7=_0x69b5f9['indexOf'](_0x3642df);_0x1506e7!==-0x1&&(_0x195480=_0x1506e7);}return _0x4617dd(_0x69b5f9,_0x195480,_0x954c09);},'_map':_0x1acc6f(0x218)};function _0x4617dd(_0x470421,_0x1cffde,_0x5b2e28){var _0x30bd3f=_0x1acc6f;for(var _0xbf5fd9=[],_0x99b72a=0x0,_0x544c62=0x0;_0x544c62<_0x1cffde;_0x544c62++)if(_0x544c62%0x4){var _0x263e5b=_0x5b2e28[_0x470421['charCodeAt'](_0x544c62-0x1)]<<_0x544c62%0x4*0x2,_0x3236c6=_0x5b2e28[_0x470421[_0x30bd3f(0x292)](_0x544c62)]>>>0x6-_0x544c62%0x4*0x2,_0x20e728=_0x263e5b|_0x3236c6;_0xbf5fd9[_0x99b72a>>>0x2]|=_0x20e728<<0x18-_0x99b72a%0x4*0x8,_0x99b72a++;}return _0x26fcb3['create'](_0xbf5fd9,_0x99b72a);}}()),_0x615d8b['enc'][_0xe846af(0x18b)];}));}(Ee)),Ee[_0x52a55c(0x238)];}var pe={'exports':{}},Oi=pe[_0x53ae8e(0x238)],Xe;function bi(){var _0x183849=_0x53ae8e;return Xe||(Xe=0x1,function(_0x56ab6b,_0x350be3){(function(_0x185999,_0x198187){var _0x2e7550=_0x74cc;_0x56ab6b[_0x2e7550(0x238)]=_0x198187(Z());}(Oi,function(_0x32f9e5){return function(_0x3f747f){var _0x1c78a4=_0x74cc,_0x5d0847=_0x32f9e5,_0x2f8de9=_0x5d0847['lib'],_0x274465=_0x2f8de9[_0x1c78a4(0x1fe)],_0x588047=_0x2f8de9[_0x1c78a4(0x30f)],_0x578aa7=_0x5d0847[_0x1c78a4(0x206)],_0x25448a=[];(function(){var _0x5d145f=_0x1c78a4;for(var _0x14c6d2=0x0;_0x14c6d2<0x40;_0x14c6d2++)_0x25448a[_0x14c6d2]=_0x3f747f[_0x5d145f(0x2e9)](_0x3f747f[_0x5d145f(0x1ae)](_0x14c6d2+0x1))*0x100000000|0x0;}());var _0x33ec82=_0x578aa7['MD5']=_0x588047[_0x1c78a4(0x4a9)]({'_doReset':function(){var _0x1b86d=_0x1c78a4;this[_0x1b86d(0x2bd)]=new _0x274465[(_0x1b86d(0x34f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x509e4b,_0x16a373){var _0x2249af=_0x1c78a4;for(var _0xe81052=0x0;_0xe81052<0x10;_0xe81052++){var _0x2aceaf=_0x16a373+_0xe81052,_0x3e125=_0x509e4b[_0x2aceaf];_0x509e4b[_0x2aceaf]=(_0x3e125<<0x8|_0x3e125>>>0x18)&0xff00ff|(_0x3e125<<0x18|_0x3e125>>>0x8)&0xff00ff00;}var _0x2a46b4=this[_0x2249af(0x2bd)][_0x2249af(0x2e5)],_0x544f12=_0x509e4b[_0x16a373+0x0],_0x1e6cb4=_0x509e4b[_0x16a373+0x1],_0x56ec60=_0x509e4b[_0x16a373+0x2],_0x795661=_0x509e4b[_0x16a373+0x3],_0x2b2977=_0x509e4b[_0x16a373+0x4],_0xb2f66c=_0x509e4b[_0x16a373+0x5],_0x31f2f4=_0x509e4b[_0x16a373+0x6],_0x2b88c2=_0x509e4b[_0x16a373+0x7],_0x33c7f6=_0x509e4b[_0x16a373+0x8],_0x533e42=_0x509e4b[_0x16a373+0x9],_0x4bb4b1=_0x509e4b[_0x16a373+0xa],_0x10a874=_0x509e4b[_0x16a373+0xb],_0xa3f4b9=_0x509e4b[_0x16a373+0xc],_0x36ee88=_0x509e4b[_0x16a373+0xd],_0xc7a147=_0x509e4b[_0x16a373+0xe],_0x57d075=_0x509e4b[_0x16a373+0xf],_0x5443f5=_0x2a46b4[0x0],_0x112e13=_0x2a46b4[0x1],_0x30e640=_0x2a46b4[0x2],_0x51cde8=_0x2a46b4[0x3];_0x5443f5=_0x19d946(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x544f12,0x7,_0x25448a[0x0]),_0x51cde8=_0x19d946(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x1e6cb4,0xc,_0x25448a[0x1]),_0x30e640=_0x19d946(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x56ec60,0x11,_0x25448a[0x2]),_0x112e13=_0x19d946(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x795661,0x16,_0x25448a[0x3]),_0x5443f5=_0x19d946(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x2b2977,0x7,_0x25448a[0x4]),_0x51cde8=_0x19d946(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0xb2f66c,0xc,_0x25448a[0x5]),_0x30e640=_0x19d946(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x31f2f4,0x11,_0x25448a[0x6]),_0x112e13=_0x19d946(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x2b88c2,0x16,_0x25448a[0x7]),_0x5443f5=_0x19d946(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x33c7f6,0x7,_0x25448a[0x8]),_0x51cde8=_0x19d946(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x533e42,0xc,_0x25448a[0x9]),_0x30e640=_0x19d946(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x4bb4b1,0x11,_0x25448a[0xa]),_0x112e13=_0x19d946(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x10a874,0x16,_0x25448a[0xb]),_0x5443f5=_0x19d946(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0xa3f4b9,0x7,_0x25448a[0xc]),_0x51cde8=_0x19d946(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x36ee88,0xc,_0x25448a[0xd]),_0x30e640=_0x19d946(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0xc7a147,0x11,_0x25448a[0xe]),_0x112e13=_0x19d946(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x57d075,0x16,_0x25448a[0xf]),_0x5443f5=_0x230ba9(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x1e6cb4,0x5,_0x25448a[0x10]),_0x51cde8=_0x230ba9(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x31f2f4,0x9,_0x25448a[0x11]),_0x30e640=_0x230ba9(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x10a874,0xe,_0x25448a[0x12]),_0x112e13=_0x230ba9(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x544f12,0x14,_0x25448a[0x13]),_0x5443f5=_0x230ba9(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0xb2f66c,0x5,_0x25448a[0x14]),_0x51cde8=_0x230ba9(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x4bb4b1,0x9,_0x25448a[0x15]),_0x30e640=_0x230ba9(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x57d075,0xe,_0x25448a[0x16]),_0x112e13=_0x230ba9(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x2b2977,0x14,_0x25448a[0x17]),_0x5443f5=_0x230ba9(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x533e42,0x5,_0x25448a[0x18]),_0x51cde8=_0x230ba9(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0xc7a147,0x9,_0x25448a[0x19]),_0x30e640=_0x230ba9(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x795661,0xe,_0x25448a[0x1a]),_0x112e13=_0x230ba9(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x33c7f6,0x14,_0x25448a[0x1b]),_0x5443f5=_0x230ba9(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x36ee88,0x5,_0x25448a[0x1c]),_0x51cde8=_0x230ba9(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x56ec60,0x9,_0x25448a[0x1d]),_0x30e640=_0x230ba9(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x2b88c2,0xe,_0x25448a[0x1e]),_0x112e13=_0x230ba9(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0xa3f4b9,0x14,_0x25448a[0x1f]),_0x5443f5=_0x228f9e(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0xb2f66c,0x4,_0x25448a[0x20]),_0x51cde8=_0x228f9e(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x33c7f6,0xb,_0x25448a[0x21]),_0x30e640=_0x228f9e(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x10a874,0x10,_0x25448a[0x22]),_0x112e13=_0x228f9e(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0xc7a147,0x17,_0x25448a[0x23]),_0x5443f5=_0x228f9e(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x1e6cb4,0x4,_0x25448a[0x24]),_0x51cde8=_0x228f9e(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x2b2977,0xb,_0x25448a[0x25]),_0x30e640=_0x228f9e(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x2b88c2,0x10,_0x25448a[0x26]),_0x112e13=_0x228f9e(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x4bb4b1,0x17,_0x25448a[0x27]),_0x5443f5=_0x228f9e(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x36ee88,0x4,_0x25448a[0x28]),_0x51cde8=_0x228f9e(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x544f12,0xb,_0x25448a[0x29]),_0x30e640=_0x228f9e(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x795661,0x10,_0x25448a[0x2a]),_0x112e13=_0x228f9e(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x31f2f4,0x17,_0x25448a[0x2b]),_0x5443f5=_0x228f9e(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x533e42,0x4,_0x25448a[0x2c]),_0x51cde8=_0x228f9e(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0xa3f4b9,0xb,_0x25448a[0x2d]),_0x30e640=_0x228f9e(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x57d075,0x10,_0x25448a[0x2e]),_0x112e13=_0x228f9e(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x56ec60,0x17,_0x25448a[0x2f]),_0x5443f5=_0x274cd4(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x544f12,0x6,_0x25448a[0x30]),_0x51cde8=_0x274cd4(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x2b88c2,0xa,_0x25448a[0x31]),_0x30e640=_0x274cd4(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0xc7a147,0xf,_0x25448a[0x32]),_0x112e13=_0x274cd4(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0xb2f66c,0x15,_0x25448a[0x33]),_0x5443f5=_0x274cd4(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0xa3f4b9,0x6,_0x25448a[0x34]),_0x51cde8=_0x274cd4(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x795661,0xa,_0x25448a[0x35]),_0x30e640=_0x274cd4(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x4bb4b1,0xf,_0x25448a[0x36]),_0x112e13=_0x274cd4(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x1e6cb4,0x15,_0x25448a[0x37]),_0x5443f5=_0x274cd4(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x33c7f6,0x6,_0x25448a[0x38]),_0x51cde8=_0x274cd4(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x57d075,0xa,_0x25448a[0x39]),_0x30e640=_0x274cd4(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x31f2f4,0xf,_0x25448a[0x3a]),_0x112e13=_0x274cd4(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x36ee88,0x15,_0x25448a[0x3b]),_0x5443f5=_0x274cd4(_0x5443f5,_0x112e13,_0x30e640,_0x51cde8,_0x2b2977,0x6,_0x25448a[0x3c]),_0x51cde8=_0x274cd4(_0x51cde8,_0x5443f5,_0x112e13,_0x30e640,_0x10a874,0xa,_0x25448a[0x3d]),_0x30e640=_0x274cd4(_0x30e640,_0x51cde8,_0x5443f5,_0x112e13,_0x56ec60,0xf,_0x25448a[0x3e]),_0x112e13=_0x274cd4(_0x112e13,_0x30e640,_0x51cde8,_0x5443f5,_0x533e42,0x15,_0x25448a[0x3f]),_0x2a46b4[0x0]=_0x2a46b4[0x0]+_0x5443f5|0x0,_0x2a46b4[0x1]=_0x2a46b4[0x1]+_0x112e13|0x0,_0x2a46b4[0x2]=_0x2a46b4[0x2]+_0x30e640|0x0,_0x2a46b4[0x3]=_0x2a46b4[0x3]+_0x51cde8|0x0;},'_doFinalize':function(){var _0x2fa94e=_0x1c78a4,_0x509980=this[_0x2fa94e(0x3e6)],_0x4fbb18=_0x509980['words'],_0x134abf=this[_0x2fa94e(0x28d)]*0x8,_0xeaa64d=_0x509980[_0x2fa94e(0x12e)]*0x8;_0x4fbb18[_0xeaa64d>>>0x5]|=0x80<<0x18-_0xeaa64d%0x20;var _0xa00abd=_0x3f747f[_0x2fa94e(0x246)](_0x134abf/0x100000000),_0x462006=_0x134abf;_0x4fbb18[(_0xeaa64d+0x40>>>0x9<<0x4)+0xf]=(_0xa00abd<<0x8|_0xa00abd>>>0x18)&0xff00ff|(_0xa00abd<<0x18|_0xa00abd>>>0x8)&0xff00ff00,_0x4fbb18[(_0xeaa64d+0x40>>>0x9<<0x4)+0xe]=(_0x462006<<0x8|_0x462006>>>0x18)&0xff00ff|(_0x462006<<0x18|_0x462006>>>0x8)&0xff00ff00,_0x509980[_0x2fa94e(0x12e)]=(_0x4fbb18[_0x2fa94e(0x461)]+0x1)*0x4,this[_0x2fa94e(0x311)]();for(var _0x417533=this[_0x2fa94e(0x2bd)],_0x552114=_0x417533['words'],_0xb44222=0x0;_0xb44222<0x4;_0xb44222++){var _0x4bd331=_0x552114[_0xb44222];_0x552114[_0xb44222]=(_0x4bd331<<0x8|_0x4bd331>>>0x18)&0xff00ff|(_0x4bd331<<0x18|_0x4bd331>>>0x8)&0xff00ff00;}return _0x417533;},'clone':function(){var _0x4e2778=_0x1c78a4,_0x2e59a1=_0x588047[_0x4e2778(0x44b)][_0x4e2778(0x429)](this);return _0x2e59a1[_0x4e2778(0x2bd)]=this[_0x4e2778(0x2bd)][_0x4e2778(0x44b)](),_0x2e59a1;}});function _0x19d946(_0x2626b0,_0x5a2b5d,_0x50c2e4,_0x1f2346,_0x58e91d,_0x2c494f,_0x3bdd57){var _0x571404=_0x2626b0+(_0x5a2b5d&_0x50c2e4|~_0x5a2b5d&_0x1f2346)+_0x58e91d+_0x3bdd57;return(_0x571404<<_0x2c494f|_0x571404>>>0x20-_0x2c494f)+_0x5a2b5d;}function _0x230ba9(_0x18ab4e,_0xc0f3b1,_0xf4ca8a,_0x33dc9f,_0x2c1ac3,_0x2fff3b,_0x1b859d){var _0x28bb74=_0x18ab4e+(_0xc0f3b1&_0x33dc9f|_0xf4ca8a&~_0x33dc9f)+_0x2c1ac3+_0x1b859d;return(_0x28bb74<<_0x2fff3b|_0x28bb74>>>0x20-_0x2fff3b)+_0xc0f3b1;}function _0x228f9e(_0x281962,_0x4e95c8,_0x444a24,_0x81477a,_0x2313f8,_0x36f05f,_0x3e4c62){var _0x1e247f=_0x281962+(_0x4e95c8^_0x444a24^_0x81477a)+_0x2313f8+_0x3e4c62;return(_0x1e247f<<_0x36f05f|_0x1e247f>>>0x20-_0x36f05f)+_0x4e95c8;}function _0x274cd4(_0x3a8146,_0x215780,_0x5b6a9b,_0xda37e4,_0x114244,_0x41b365,_0x498782){var _0x518298=_0x3a8146+(_0x5b6a9b^(_0x215780|~_0xda37e4))+_0x114244+_0x498782;return(_0x518298<<_0x41b365|_0x518298>>>0x20-_0x41b365)+_0x215780;}_0x5d0847[_0x1c78a4(0x459)]=_0x588047['_createHelper'](_0x33ec82),_0x5d0847[_0x1c78a4(0x44c)]=_0x588047[_0x1c78a4(0x337)](_0x33ec82);}(Math),_0x32f9e5['MD5'];}));}(pe)),pe[_0x183849(0x238)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x53ae8e(0x238)],Je;function Ni(){return Je||(Je=0x1,function(_0x397d93,_0x104ef1){(function(_0x113284,_0x262be4){_0x397d93['exports']=_0x262be4(Z());}(Ri,function(_0x4b13ff){return(function(){var _0x514d65=_0x74cc,_0x569abf=_0x4b13ff,_0x44537f=_0x569abf[_0x514d65(0x240)],_0x2fbb1e=_0x44537f[_0x514d65(0x1fe)],_0x952a48=_0x44537f[_0x514d65(0x30f)],_0x49908a=_0x569abf[_0x514d65(0x206)],_0x411176=[],_0x2414aa=_0x49908a[_0x514d65(0x1e9)]=_0x952a48['extend']({'_doReset':function(){var _0x3fa282=_0x514d65;this[_0x3fa282(0x2bd)]=new _0x2fbb1e[(_0x3fa282(0x34f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf4562e,_0x543a21){var _0x2b0764=_0x514d65;for(var _0x2213bd=this[_0x2b0764(0x2bd)][_0x2b0764(0x2e5)],_0x46485a=_0x2213bd[0x0],_0x1e6cba=_0x2213bd[0x1],_0x267d53=_0x2213bd[0x2],_0x5ad029=_0x2213bd[0x3],_0x566690=_0x2213bd[0x4],_0x1cb77d=0x0;_0x1cb77d<0x50;_0x1cb77d++){if(_0x1cb77d<0x10)_0x411176[_0x1cb77d]=_0xf4562e[_0x543a21+_0x1cb77d]|0x0;else{var _0x813363=_0x411176[_0x1cb77d-0x3]^_0x411176[_0x1cb77d-0x8]^_0x411176[_0x1cb77d-0xe]^_0x411176[_0x1cb77d-0x10];_0x411176[_0x1cb77d]=_0x813363<<0x1|_0x813363>>>0x1f;}var _0x2b0952=(_0x46485a<<0x5|_0x46485a>>>0x1b)+_0x566690+_0x411176[_0x1cb77d];_0x1cb77d<0x14?_0x2b0952+=(_0x1e6cba&_0x267d53|~_0x1e6cba&_0x5ad029)+0x5a827999:_0x1cb77d<0x28?_0x2b0952+=(_0x1e6cba^_0x267d53^_0x5ad029)+0x6ed9eba1:_0x1cb77d<0x3c?_0x2b0952+=(_0x1e6cba&_0x267d53|_0x1e6cba&_0x5ad029|_0x267d53&_0x5ad029)-0x70e44324:_0x2b0952+=(_0x1e6cba^_0x267d53^_0x5ad029)-0x359d3e2a,_0x566690=_0x5ad029,_0x5ad029=_0x267d53,_0x267d53=_0x1e6cba<<0x1e|_0x1e6cba>>>0x2,_0x1e6cba=_0x46485a,_0x46485a=_0x2b0952;}_0x2213bd[0x0]=_0x2213bd[0x0]+_0x46485a|0x0,_0x2213bd[0x1]=_0x2213bd[0x1]+_0x1e6cba|0x0,_0x2213bd[0x2]=_0x2213bd[0x2]+_0x267d53|0x0,_0x2213bd[0x3]=_0x2213bd[0x3]+_0x5ad029|0x0,_0x2213bd[0x4]=_0x2213bd[0x4]+_0x566690|0x0;},'_doFinalize':function(){var _0x127bf6=_0x514d65,_0x5a9625=this[_0x127bf6(0x3e6)],_0x2b8971=_0x5a9625[_0x127bf6(0x2e5)],_0x114a80=this['_nDataBytes']*0x8,_0x806dd4=_0x5a9625[_0x127bf6(0x12e)]*0x8;return _0x2b8971[_0x806dd4>>>0x5]|=0x80<<0x18-_0x806dd4%0x20,_0x2b8971[(_0x806dd4+0x40>>>0x9<<0x4)+0xe]=Math[_0x127bf6(0x246)](_0x114a80/0x100000000),_0x2b8971[(_0x806dd4+0x40>>>0x9<<0x4)+0xf]=_0x114a80,_0x5a9625['sigBytes']=_0x2b8971[_0x127bf6(0x461)]*0x4,this[_0x127bf6(0x311)](),this[_0x127bf6(0x2bd)];},'clone':function(){var _0x1f3635=_0x514d65,_0x36a4e0=_0x952a48[_0x1f3635(0x44b)][_0x1f3635(0x429)](this);return _0x36a4e0[_0x1f3635(0x2bd)]=this[_0x1f3635(0x2bd)][_0x1f3635(0x44b)](),_0x36a4e0;}});_0x569abf[_0x514d65(0x1e9)]=_0x952a48[_0x514d65(0x436)](_0x2414aa),_0x569abf[_0x514d65(0x2de)]=_0x952a48['_createHmacHelper'](_0x2414aa);}()),_0x4b13ff['SHA1'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x466d07=_0x53ae8e;return Ze||(Ze=0x1,function(_0x2c8947,_0x57146e){(function(_0xf26d0a,_0x1a0433){var _0x18138b=_0x74cc;_0x2c8947[_0x18138b(0x238)]=_0x1a0433(Z());}(Di,function(_0x14045c){(function(){var _0x164a9f=_0x74cc,_0x1a7c00=_0x14045c,_0x6a912=_0x1a7c00[_0x164a9f(0x240)],_0x45572e=_0x6a912[_0x164a9f(0x2d6)],_0x527d18=_0x1a7c00[_0x164a9f(0x41a)],_0x4ca2fb=_0x527d18[_0x164a9f(0x24c)],_0x201a3d=_0x1a7c00[_0x164a9f(0x206)];_0x201a3d[_0x164a9f(0x350)]=_0x45572e[_0x164a9f(0x4a9)]({'init':function(_0x4f13a0,_0x212320){var _0x16b522=_0x164a9f;_0x4f13a0=this[_0x16b522(0x37b)]=new _0x4f13a0['init'](),typeof _0x212320==_0x16b522(0x2c9)&&(_0x212320=_0x4ca2fb[_0x16b522(0x2d3)](_0x212320));var _0x1a2836=_0x4f13a0[_0x16b522(0x1d8)],_0xc9164d=_0x1a2836*0x4;_0x212320[_0x16b522(0x12e)]>_0xc9164d&&(_0x212320=_0x4f13a0[_0x16b522(0x123)](_0x212320)),_0x212320[_0x16b522(0x426)]();for(var _0x2fe3a3=this[_0x16b522(0x3c2)]=_0x212320[_0x16b522(0x44b)](),_0x576949=this[_0x16b522(0x3c8)]=_0x212320[_0x16b522(0x44b)](),_0xd103cd=_0x2fe3a3[_0x16b522(0x2e5)],_0xf605e9=_0x576949[_0x16b522(0x2e5)],_0x24cb70=0x0;_0x24cb70<_0x1a2836;_0x24cb70++)_0xd103cd[_0x24cb70]^=0x5c5c5c5c,_0xf605e9[_0x24cb70]^=0x36363636;_0x2fe3a3['sigBytes']=_0x576949[_0x16b522(0x12e)]=_0xc9164d,this[_0x16b522(0x14c)]();},'reset':function(){var _0x4ae333=_0x164a9f,_0x42542c=this[_0x4ae333(0x37b)];_0x42542c[_0x4ae333(0x14c)](),_0x42542c[_0x4ae333(0x1fb)](this[_0x4ae333(0x3c8)]);},'update':function(_0x2623d0){var _0x3ee88f=_0x164a9f;return this[_0x3ee88f(0x37b)][_0x3ee88f(0x1fb)](_0x2623d0),this;},'finalize':function(_0x194db2){var _0x529a7c=_0x164a9f,_0x9bc029=this[_0x529a7c(0x37b)],_0x2d3d24=_0x9bc029[_0x529a7c(0x123)](_0x194db2);_0x9bc029[_0x529a7c(0x14c)]();var _0x4b0922=_0x9bc029['finalize'](this[_0x529a7c(0x3c2)][_0x529a7c(0x44b)]()['concat'](_0x2d3d24));return _0x4b0922;}});}());}));}(Te)),Te[_0x466d07(0x238)];}var Ui=me[_0x53ae8e(0x238)],Qe;function Ct(){var _0x68a047=_0x53ae8e;return Qe||(Qe=0x1,function(_0x5d3f22,_0x28e940){(function(_0x524db0,_0x9eaf8e,_0x48cf09){var _0x2564ae=_0x74cc;_0x5d3f22[_0x2564ae(0x238)]=_0x9eaf8e(Z(),Ni(),yi());}(Ui,function(_0x437208){var _0xabb8d1=_0x74cc;return(function(){var _0x36f681=_0x74cc,_0x15c47f=_0x437208,_0x4e9ab1=_0x15c47f[_0x36f681(0x240)],_0x5511fb=_0x4e9ab1['Base'],_0x44c66b=_0x4e9ab1[_0x36f681(0x1fe)],_0x404e87=_0x15c47f['algo'],_0x2d16bf=_0x404e87[_0x36f681(0x459)],_0x4e7495=_0x404e87[_0x36f681(0x21e)]=_0x5511fb['extend']({'cfg':_0x5511fb[_0x36f681(0x4a9)]({'keySize':0x80/0x20,'hasher':_0x2d16bf,'iterations':0x1}),'init':function(_0x1bc3fb){var _0x45918d=_0x36f681;this[_0x45918d(0x3bb)]=this[_0x45918d(0x3bb)][_0x45918d(0x4a9)](_0x1bc3fb);},'compute':function(_0x49aff6,_0x1e9de9){var _0x553958=_0x36f681;for(var _0x3e76fa,_0x5150cc=this[_0x553958(0x3bb)],_0x1c6692=_0x5150cc[_0x553958(0x3dc)]['create'](),_0x2e1e57=_0x44c66b['create'](),_0x2906c9=_0x2e1e57['words'],_0x43d498=_0x5150cc[_0x553958(0x192)],_0x5d5d4b=_0x5150cc[_0x553958(0x279)];_0x2906c9[_0x553958(0x461)]<_0x43d498;){_0x3e76fa&&_0x1c6692['update'](_0x3e76fa),_0x3e76fa=_0x1c6692[_0x553958(0x1fb)](_0x49aff6)[_0x553958(0x123)](_0x1e9de9),_0x1c6692['reset']();for(var _0x2bcab1=0x1;_0x2bcab1<_0x5d5d4b;_0x2bcab1++)_0x3e76fa=_0x1c6692[_0x553958(0x123)](_0x3e76fa),_0x1c6692[_0x553958(0x14c)]();_0x2e1e57[_0x553958(0x19c)](_0x3e76fa);}return _0x2e1e57[_0x553958(0x12e)]=_0x43d498*0x4,_0x2e1e57;}});_0x15c47f[_0x36f681(0x21e)]=function(_0x420c70,_0x36eddf,_0x20e532){var _0x2117f4=_0x36f681;return _0x4e7495[_0x2117f4(0x3eb)](_0x20e532)[_0x2117f4(0x227)](_0x420c70,_0x36eddf);};}()),_0x437208[_0xabb8d1(0x21e)];}));}(me)),me[_0x68a047(0x238)];}var Ce={'exports':{}},Ai=Ce[_0x53ae8e(0x238)],et;function Ot(){var _0x2642ed=_0x53ae8e;return et||(et=0x1,function(_0x54c2a3,_0x35b5c6){(function(_0x43961a,_0x94975a,_0x30355d){var _0x37ba66=_0x74cc;_0x54c2a3[_0x37ba66(0x238)]=_0x94975a(Z(),Ct());}(Ai,function(_0x3257e2){var _0x57a0ea=_0x74cc;_0x3257e2[_0x57a0ea(0x240)][_0x57a0ea(0x369)]||function(_0x51d064){var _0x294b8f=_0x57a0ea,_0x4fff63=_0x3257e2,_0x24a396=_0x4fff63['lib'],_0x4058ff=_0x24a396[_0x294b8f(0x2d6)],_0x1ac46b=_0x24a396[_0x294b8f(0x1fe)],_0x20af9b=_0x24a396[_0x294b8f(0x19f)],_0x434628=_0x4fff63[_0x294b8f(0x41a)];_0x434628[_0x294b8f(0x24c)];var _0x5e39e6=_0x434628['Base64'],_0x3b1122=_0x4fff63[_0x294b8f(0x206)],_0x91fd0f=_0x3b1122[_0x294b8f(0x21e)],_0x55f3a8=_0x24a396['Cipher']=_0x20af9b[_0x294b8f(0x4a9)]({'cfg':_0x4058ff[_0x294b8f(0x4a9)](),'createEncryptor':function(_0x341d8f,_0x514906){var _0x10fba7=_0x294b8f;return this[_0x10fba7(0x3eb)](this[_0x10fba7(0x20f)],_0x341d8f,_0x514906);},'createDecryptor':function(_0x3cbb23,_0x47b3d4){var _0xdd8dda=_0x294b8f;return this[_0xdd8dda(0x3eb)](this['_DEC_XFORM_MODE'],_0x3cbb23,_0x47b3d4);},'init':function(_0x14c3a5,_0x587d7b,_0x2f539c){var _0xf8e2ff=_0x294b8f;this[_0xf8e2ff(0x3bb)]=this[_0xf8e2ff(0x3bb)][_0xf8e2ff(0x4a9)](_0x2f539c),this['_xformMode']=_0x14c3a5,this[_0xf8e2ff(0x3f9)]=_0x587d7b,this[_0xf8e2ff(0x14c)]();},'reset':function(){var _0x16b3a0=_0x294b8f;_0x20af9b[_0x16b3a0(0x14c)][_0x16b3a0(0x429)](this),this['_doReset']();},'process':function(_0x56d0cc){var _0x2bcf09=_0x294b8f;return this[_0x2bcf09(0x3c6)](_0x56d0cc),this[_0x2bcf09(0x311)]();},'finalize':function(_0x38a05e){var _0x49f29e=_0x294b8f;_0x38a05e&&this[_0x49f29e(0x3c6)](_0x38a05e);var _0xe7dea5=this[_0x49f29e(0x382)]();return _0xe7dea5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x176145(_0x30c966){var _0x2b39fb=_0x74cc;return typeof _0x30c966==_0x2b39fb(0x2c9)?_0x3fea09:_0x1ab677;}return function(_0x2eb8d9){return{'encrypt':function(_0x39a453,_0x228407,_0x1ab85e){var _0x115f3e=_0x74cc;return _0x176145(_0x228407)[_0x115f3e(0x14d)](_0x2eb8d9,_0x39a453,_0x228407,_0x1ab85e);},'decrypt':function(_0x30e979,_0x5e572a,_0x5e0aa9){var _0x46d821=_0x74cc;return _0x176145(_0x5e572a)[_0x46d821(0x24d)](_0x2eb8d9,_0x30e979,_0x5e572a,_0x5e0aa9);}};};}())});_0x24a396[_0x294b8f(0x1ce)]=_0x55f3a8[_0x294b8f(0x4a9)]({'_doFinalize':function(){var _0x239418=this['_process'](!0x0);return _0x239418;},'blockSize':0x1});var _0x25a0fa=_0x4fff63['mode']={},_0x377bd4=_0x24a396[_0x294b8f(0x3a4)]=_0x4058ff[_0x294b8f(0x4a9)]({'createEncryptor':function(_0x410d03,_0x4844ac){return this['Encryptor']['create'](_0x410d03,_0x4844ac);},'createDecryptor':function(_0x3994ac,_0x3efc12){var _0x2c63a7=_0x294b8f;return this[_0x2c63a7(0x43c)][_0x2c63a7(0x3eb)](_0x3994ac,_0x3efc12);},'init':function(_0x1c3d08,_0x528133){var _0x8ec935=_0x294b8f;this['_cipher']=_0x1c3d08,this[_0x8ec935(0x280)]=_0x528133;}}),_0x49cbf4=_0x25a0fa[_0x294b8f(0x30e)]=(function(){var _0x2a1fe4=_0x294b8f,_0x29e293=_0x377bd4[_0x2a1fe4(0x4a9)]();_0x29e293[_0x2a1fe4(0x18c)]=_0x29e293['extend']({'processBlock':function(_0x543645,_0x309b43){var _0x1b52d3=_0x2a1fe4,_0x59f2b1=this[_0x1b52d3(0x302)],_0xf250d0=_0x59f2b1['blockSize'];_0x4bb376[_0x1b52d3(0x429)](this,_0x543645,_0x309b43,_0xf250d0),_0x59f2b1[_0x1b52d3(0x2e2)](_0x543645,_0x309b43),this[_0x1b52d3(0x278)]=_0x543645[_0x1b52d3(0x1f4)](_0x309b43,_0x309b43+_0xf250d0);}}),_0x29e293[_0x2a1fe4(0x43c)]=_0x29e293['extend']({'processBlock':function(_0x1cdecb,_0x412539){var _0x29c006=_0x2a1fe4,_0x164423=this['_cipher'],_0x181958=_0x164423[_0x29c006(0x1d8)],_0x3a18ee=_0x1cdecb[_0x29c006(0x1f4)](_0x412539,_0x412539+_0x181958);_0x164423[_0x29c006(0x1e6)](_0x1cdecb,_0x412539),_0x4bb376[_0x29c006(0x429)](this,_0x1cdecb,_0x412539,_0x181958),this[_0x29c006(0x278)]=_0x3a18ee;}});function _0x4bb376(_0x146e01,_0x52dbb6,_0x4c4ca4){var _0x3c88e6=_0x2a1fe4,_0x15c7ad,_0x71c275=this['_iv'];_0x71c275?(_0x15c7ad=_0x71c275,this[_0x3c88e6(0x280)]=_0x51d064):_0x15c7ad=this[_0x3c88e6(0x278)];for(var _0x9230e2=0x0;_0x9230e2<_0x4c4ca4;_0x9230e2++)_0x146e01[_0x52dbb6+_0x9230e2]^=_0x15c7ad[_0x9230e2];}return _0x29e293;}()),_0x13f5ec=_0x4fff63[_0x294b8f(0x207)]={},_0x175079=_0x13f5ec['Pkcs7']={'pad':function(_0x420036,_0x44f997){var _0x392b89=_0x294b8f;for(var _0x2c705e=_0x44f997*0x4,_0x310f88=_0x2c705e-_0x420036['sigBytes']%_0x2c705e,_0x35027b=_0x310f88<<0x18|_0x310f88<<0x10|_0x310f88<<0x8|_0x310f88,_0x2ce1b8=[],_0x1a253b=0x0;_0x1a253b<_0x310f88;_0x1a253b+=0x4)_0x2ce1b8[_0x392b89(0x440)](_0x35027b);var _0x11149f=_0x1ac46b['create'](_0x2ce1b8,_0x310f88);_0x420036[_0x392b89(0x19c)](_0x11149f);},'unpad':function(_0x62ce7b){var _0x17c48f=_0x294b8f,_0x12a5b0=_0x62ce7b['words'][_0x62ce7b['sigBytes']-0x1>>>0x2]&0xff;_0x62ce7b[_0x17c48f(0x12e)]-=_0x12a5b0;}};_0x24a396['BlockCipher']=_0x55f3a8['extend']({'cfg':_0x55f3a8[_0x294b8f(0x3bb)][_0x294b8f(0x4a9)]({'mode':_0x49cbf4,'padding':_0x175079}),'reset':function(){var _0x5863d3=_0x294b8f,_0x229b00;_0x55f3a8['reset'][_0x5863d3(0x429)](this);var _0x14be17=this[_0x5863d3(0x3bb)],_0x57eb5d=_0x14be17['iv'],_0x2cdcdb=_0x14be17[_0x5863d3(0x1aa)];this['_xformMode']==this[_0x5863d3(0x20f)]?_0x229b00=_0x2cdcdb[_0x5863d3(0x1c2)]:(_0x229b00=_0x2cdcdb[_0x5863d3(0x2cb)],this[_0x5863d3(0x47d)]=0x1),this[_0x5863d3(0x3aa)]&&this[_0x5863d3(0x3aa)][_0x5863d3(0x3fa)]==_0x229b00?this['_mode'][_0x5863d3(0x34f)](this,_0x57eb5d&&_0x57eb5d[_0x5863d3(0x2e5)]):(this['_mode']=_0x229b00[_0x5863d3(0x429)](_0x2cdcdb,this,_0x57eb5d&&_0x57eb5d[_0x5863d3(0x2e5)]),this[_0x5863d3(0x3aa)][_0x5863d3(0x3fa)]=_0x229b00);},'_doProcessBlock':function(_0xb272dc,_0x55b6a4){var _0x5e7ca5=_0x294b8f;this[_0x5e7ca5(0x3aa)][_0x5e7ca5(0x46c)](_0xb272dc,_0x55b6a4);},'_doFinalize':function(){var _0x910efa=_0x294b8f,_0x48a3e5,_0x20d26d=this[_0x910efa(0x3bb)][_0x910efa(0x334)];return this['_xformMode']==this[_0x910efa(0x20f)]?(_0x20d26d[_0x910efa(0x207)](this[_0x910efa(0x3e6)],this[_0x910efa(0x1d8)]),_0x48a3e5=this[_0x910efa(0x311)](!0x0)):(_0x48a3e5=this[_0x910efa(0x311)](!0x0),_0x20d26d['unpad'](_0x48a3e5)),_0x48a3e5;},'blockSize':0x80/0x20});var _0x1b2299=_0x24a396[_0x294b8f(0x49a)]=_0x4058ff[_0x294b8f(0x4a9)]({'init':function(_0x12edf7){var _0x5f1d96=_0x294b8f;this[_0x5f1d96(0x3a7)](_0x12edf7);},'toString':function(_0x3168c9){var _0x10bdd2=_0x294b8f;return(_0x3168c9||this[_0x10bdd2(0x170)])['stringify'](this);}}),_0x411227=_0x4fff63['format']={},_0x3c07aa=_0x411227[_0x294b8f(0x204)]={'stringify':function(_0x487c3e){var _0x46afbe=_0x294b8f,_0x57658c,_0xeb8ea3=_0x487c3e[_0x46afbe(0x37d)],_0x52cffe=_0x487c3e['salt'];return _0x52cffe?_0x57658c=_0x1ac46b['create']([0x53616c74,0x65645f5f])[_0x46afbe(0x19c)](_0x52cffe)[_0x46afbe(0x19c)](_0xeb8ea3):_0x57658c=_0xeb8ea3,_0x57658c[_0x46afbe(0x1d1)](_0x5e39e6);},'parse':function(_0x213ace){var _0x39b850=_0x294b8f,_0x5d2f9d,_0x26013c=_0x5e39e6[_0x39b850(0x2d3)](_0x213ace),_0x2a86c7=_0x26013c[_0x39b850(0x2e5)];return _0x2a86c7[0x0]==0x53616c74&&_0x2a86c7[0x1]==0x65645f5f&&(_0x5d2f9d=_0x1ac46b[_0x39b850(0x3eb)](_0x2a86c7[_0x39b850(0x1f4)](0x2,0x4)),_0x2a86c7[_0x39b850(0x253)](0x0,0x4),_0x26013c[_0x39b850(0x12e)]-=0x10),_0x1b2299[_0x39b850(0x3eb)]({'ciphertext':_0x26013c,'salt':_0x5d2f9d});}},_0x1ab677=_0x24a396[_0x294b8f(0x2b6)]=_0x4058ff[_0x294b8f(0x4a9)]({'cfg':_0x4058ff[_0x294b8f(0x4a9)]({'format':_0x3c07aa}),'encrypt':function(_0x3adbb2,_0x1e7d16,_0x4be7e5,_0xdec18a){var _0x3f0777=_0x294b8f;_0xdec18a=this[_0x3f0777(0x3bb)][_0x3f0777(0x4a9)](_0xdec18a);var _0x252005=_0x3adbb2['createEncryptor'](_0x4be7e5,_0xdec18a),_0x3a195f=_0x252005['finalize'](_0x1e7d16),_0x4b0151=_0x252005[_0x3f0777(0x3bb)];return _0x1b2299[_0x3f0777(0x3eb)]({'ciphertext':_0x3a195f,'key':_0x4be7e5,'iv':_0x4b0151['iv'],'algorithm':_0x3adbb2,'mode':_0x4b0151['mode'],'padding':_0x4b0151[_0x3f0777(0x334)],'blockSize':_0x3adbb2['blockSize'],'formatter':_0xdec18a['format']});},'decrypt':function(_0x21e517,_0x14b258,_0x52ce6e,_0x1493fe){var _0x3b1c5c=_0x294b8f;_0x1493fe=this[_0x3b1c5c(0x3bb)][_0x3b1c5c(0x4a9)](_0x1493fe),_0x14b258=this['_parse'](_0x14b258,_0x1493fe[_0x3b1c5c(0x34b)]);var _0x1f119e=_0x21e517[_0x3b1c5c(0x2cb)](_0x52ce6e,_0x1493fe)['finalize'](_0x14b258[_0x3b1c5c(0x37d)]);return _0x1f119e;},'_parse':function(_0x43f3e0,_0x3da8cd){var _0x29c976=_0x294b8f;return typeof _0x43f3e0=='string'?_0x3da8cd[_0x29c976(0x2d3)](_0x43f3e0,this):_0x43f3e0;}}),_0x120b06=_0x4fff63[_0x294b8f(0x323)]={},_0x513bb4=_0x120b06[_0x294b8f(0x204)]={'execute':function(_0x3302d3,_0x15c41e,_0x44140a,_0x4e620a,_0x12b807){var _0x256739=_0x294b8f;if(_0x4e620a||(_0x4e620a=_0x1ac46b['random'](0x40/0x8)),_0x12b807)var _0x28190a=_0x91fd0f[_0x256739(0x3eb)]({'keySize':_0x15c41e+_0x44140a,'hasher':_0x12b807})[_0x256739(0x227)](_0x3302d3,_0x4e620a);else var _0x28190a=_0x91fd0f[_0x256739(0x3eb)]({'keySize':_0x15c41e+_0x44140a})[_0x256739(0x227)](_0x3302d3,_0x4e620a);var _0x9712d2=_0x1ac46b[_0x256739(0x3eb)](_0x28190a['words'][_0x256739(0x1f4)](_0x15c41e),_0x44140a*0x4);return _0x28190a['sigBytes']=_0x15c41e*0x4,_0x1b2299[_0x256739(0x3eb)]({'key':_0x28190a,'iv':_0x9712d2,'salt':_0x4e620a});}},_0x3fea09=_0x24a396[_0x294b8f(0x365)]=_0x1ab677[_0x294b8f(0x4a9)]({'cfg':_0x1ab677[_0x294b8f(0x3bb)]['extend']({'kdf':_0x513bb4}),'encrypt':function(_0x24694f,_0x20c9c3,_0x2a212e,_0xd56c15){var _0x49e0f3=_0x294b8f;_0xd56c15=this['cfg']['extend'](_0xd56c15);var _0x3a770f=_0xd56c15[_0x49e0f3(0x323)][_0x49e0f3(0x2ae)](_0x2a212e,_0x24694f[_0x49e0f3(0x192)],_0x24694f[_0x49e0f3(0x152)],_0xd56c15[_0x49e0f3(0x1a9)],_0xd56c15[_0x49e0f3(0x3dc)]);_0xd56c15['iv']=_0x3a770f['iv'];var _0x4bb2b3=_0x1ab677[_0x49e0f3(0x14d)][_0x49e0f3(0x429)](this,_0x24694f,_0x20c9c3,_0x3a770f[_0x49e0f3(0x450)],_0xd56c15);return _0x4bb2b3[_0x49e0f3(0x3a7)](_0x3a770f),_0x4bb2b3;},'decrypt':function(_0xf843ba,_0x4d3e2a,_0x15d54f,_0x3c3def){var _0x582d1f=_0x294b8f;_0x3c3def=this[_0x582d1f(0x3bb)]['extend'](_0x3c3def),_0x4d3e2a=this['_parse'](_0x4d3e2a,_0x3c3def[_0x582d1f(0x34b)]);var _0x1f173f=_0x3c3def['kdf'][_0x582d1f(0x2ae)](_0x15d54f,_0xf843ba[_0x582d1f(0x192)],_0xf843ba[_0x582d1f(0x152)],_0x4d3e2a[_0x582d1f(0x1a9)],_0x3c3def[_0x582d1f(0x3dc)]);_0x3c3def['iv']=_0x1f173f['iv'];var _0x22095f=_0x1ab677[_0x582d1f(0x24d)]['call'](this,_0xf843ba,_0x4d3e2a,_0x1f173f[_0x582d1f(0x450)],_0x3c3def);return _0x22095f;}});}();}));}(Ce)),Ce[_0x2642ed(0x238)];}var Pi=Ie[_0x53ae8e(0x238)],tt;function Li(){var _0x5dc6fd=_0x53ae8e;return tt||(tt=0x1,function(_0x13ec58,_0xa79129){(function(_0x174ddd,_0x28c50e,_0x5ef4d1){var _0xb8c7b5=_0x74cc;_0x13ec58[_0xb8c7b5(0x238)]=_0x28c50e(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x5b5f1a){var _0x3e2231=_0x74cc;return(function(){var _0x4bf147=_0x74cc,_0x2c6e5b=_0x5b5f1a,_0x419f56=_0x2c6e5b[_0x4bf147(0x240)],_0x219a64=_0x419f56[_0x4bf147(0x2cd)],_0x182fe5=_0x2c6e5b[_0x4bf147(0x206)],_0x542db6=[],_0x533b16=[],_0x46f4e8=[],_0x4740fc=[],_0x1d839c=[],_0x554ead=[],_0xa9f504=[],_0x44c7c0=[],_0x162fc9=[],_0x4f7fd4=[];(function(){for(var _0x5a2cfa=[],_0x4fbbbb=0x0;_0x4fbbbb<0x100;_0x4fbbbb++)_0x4fbbbb<0x80?_0x5a2cfa[_0x4fbbbb]=_0x4fbbbb<<0x1:_0x5a2cfa[_0x4fbbbb]=_0x4fbbbb<<0x1^0x11b;for(var _0x3ced02=0x0,_0x4178d7=0x0,_0x4fbbbb=0x0;_0x4fbbbb<0x100;_0x4fbbbb++){var _0x1debcc=_0x4178d7^_0x4178d7<<0x1^_0x4178d7<<0x2^_0x4178d7<<0x3^_0x4178d7<<0x4;_0x1debcc=_0x1debcc>>>0x8^_0x1debcc&0xff^0x63,_0x542db6[_0x3ced02]=_0x1debcc,_0x533b16[_0x1debcc]=_0x3ced02;var _0x446848=_0x5a2cfa[_0x3ced02],_0xf2de5f=_0x5a2cfa[_0x446848],_0x4954ce=_0x5a2cfa[_0xf2de5f],_0x50bfa2=_0x5a2cfa[_0x1debcc]*0x101^_0x1debcc*0x1010100;_0x46f4e8[_0x3ced02]=_0x50bfa2<<0x18|_0x50bfa2>>>0x8,_0x4740fc[_0x3ced02]=_0x50bfa2<<0x10|_0x50bfa2>>>0x10,_0x1d839c[_0x3ced02]=_0x50bfa2<<0x8|_0x50bfa2>>>0x18,_0x554ead[_0x3ced02]=_0x50bfa2;var _0x50bfa2=_0x4954ce*0x1010101^_0xf2de5f*0x10001^_0x446848*0x101^_0x3ced02*0x1010100;_0xa9f504[_0x1debcc]=_0x50bfa2<<0x18|_0x50bfa2>>>0x8,_0x44c7c0[_0x1debcc]=_0x50bfa2<<0x10|_0x50bfa2>>>0x10,_0x162fc9[_0x1debcc]=_0x50bfa2<<0x8|_0x50bfa2>>>0x18,_0x4f7fd4[_0x1debcc]=_0x50bfa2,_0x3ced02?(_0x3ced02=_0x446848^_0x5a2cfa[_0x5a2cfa[_0x5a2cfa[_0x4954ce^_0x446848]]],_0x4178d7^=_0x5a2cfa[_0x5a2cfa[_0x4178d7]]):_0x3ced02=_0x4178d7=0x1;}}());var _0x50af50=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x11f9e0=_0x182fe5[_0x4bf147(0x281)]=_0x219a64[_0x4bf147(0x4a9)]({'_doReset':function(){var _0x1337f6=_0x4bf147,_0x5c636b;if(!(this[_0x1337f6(0x24e)]&&this['_keyPriorReset']===this[_0x1337f6(0x3f9)])){for(var _0x31946e=this[_0x1337f6(0x2b3)]=this[_0x1337f6(0x3f9)],_0x5f0f12=_0x31946e[_0x1337f6(0x2e5)],_0xa6b3c8=_0x31946e[_0x1337f6(0x12e)]/0x4,_0x45ef82=this[_0x1337f6(0x24e)]=_0xa6b3c8+0x6,_0x53214c=(_0x45ef82+0x1)*0x4,_0x52fe5d=this[_0x1337f6(0x49f)]=[],_0x20d826=0x0;_0x20d826<_0x53214c;_0x20d826++)_0x20d826<_0xa6b3c8?_0x52fe5d[_0x20d826]=_0x5f0f12[_0x20d826]:(_0x5c636b=_0x52fe5d[_0x20d826-0x1],_0x20d826%_0xa6b3c8?_0xa6b3c8>0x6&&_0x20d826%_0xa6b3c8==0x4&&(_0x5c636b=_0x542db6[_0x5c636b>>>0x18]<<0x18|_0x542db6[_0x5c636b>>>0x10&0xff]<<0x10|_0x542db6[_0x5c636b>>>0x8&0xff]<<0x8|_0x542db6[_0x5c636b&0xff]):(_0x5c636b=_0x5c636b<<0x8|_0x5c636b>>>0x18,_0x5c636b=_0x542db6[_0x5c636b>>>0x18]<<0x18|_0x542db6[_0x5c636b>>>0x10&0xff]<<0x10|_0x542db6[_0x5c636b>>>0x8&0xff]<<0x8|_0x542db6[_0x5c636b&0xff],_0x5c636b^=_0x50af50[_0x20d826/_0xa6b3c8|0x0]<<0x18),_0x52fe5d[_0x20d826]=_0x52fe5d[_0x20d826-_0xa6b3c8]^_0x5c636b);for(var _0x1d305a=this['_invKeySchedule']=[],_0x43a5a4=0x0;_0x43a5a4<_0x53214c;_0x43a5a4++){var _0x20d826=_0x53214c-_0x43a5a4;if(_0x43a5a4%0x4)var _0x5c636b=_0x52fe5d[_0x20d826];else var _0x5c636b=_0x52fe5d[_0x20d826-0x4];_0x43a5a4<0x4||_0x20d826<=0x4?_0x1d305a[_0x43a5a4]=_0x5c636b:_0x1d305a[_0x43a5a4]=_0xa9f504[_0x542db6[_0x5c636b>>>0x18]]^_0x44c7c0[_0x542db6[_0x5c636b>>>0x10&0xff]]^_0x162fc9[_0x542db6[_0x5c636b>>>0x8&0xff]]^_0x4f7fd4[_0x542db6[_0x5c636b&0xff]];}}},'encryptBlock':function(_0x9c5d75,_0x4c6c0a){var _0x1db3e1=_0x4bf147;this[_0x1db3e1(0x4a2)](_0x9c5d75,_0x4c6c0a,this['_keySchedule'],_0x46f4e8,_0x4740fc,_0x1d839c,_0x554ead,_0x542db6);},'decryptBlock':function(_0x29a451,_0x1173bc){var _0x24c19f=_0x4bf147,_0x1388c5=_0x29a451[_0x1173bc+0x1];_0x29a451[_0x1173bc+0x1]=_0x29a451[_0x1173bc+0x3],_0x29a451[_0x1173bc+0x3]=_0x1388c5,this[_0x24c19f(0x4a2)](_0x29a451,_0x1173bc,this[_0x24c19f(0x277)],_0xa9f504,_0x44c7c0,_0x162fc9,_0x4f7fd4,_0x533b16);var _0x1388c5=_0x29a451[_0x1173bc+0x1];_0x29a451[_0x1173bc+0x1]=_0x29a451[_0x1173bc+0x3],_0x29a451[_0x1173bc+0x3]=_0x1388c5;},'_doCryptBlock':function(_0x4db6cb,_0x411ab0,_0x5c35e6,_0x4c79f1,_0x22dbe,_0x23808f,_0x40704a,_0x35a200){var _0x3c47f5=_0x4bf147;for(var _0x12d376=this[_0x3c47f5(0x24e)],_0x34dae6=_0x4db6cb[_0x411ab0]^_0x5c35e6[0x0],_0x31dfc6=_0x4db6cb[_0x411ab0+0x1]^_0x5c35e6[0x1],_0x1ae4e3=_0x4db6cb[_0x411ab0+0x2]^_0x5c35e6[0x2],_0x3e8f7a=_0x4db6cb[_0x411ab0+0x3]^_0x5c35e6[0x3],_0xcd8c1e=0x4,_0x1baf53=0x1;_0x1baf53<_0x12d376;_0x1baf53++){var _0x1711b3=_0x4c79f1[_0x34dae6>>>0x18]^_0x22dbe[_0x31dfc6>>>0x10&0xff]^_0x23808f[_0x1ae4e3>>>0x8&0xff]^_0x40704a[_0x3e8f7a&0xff]^_0x5c35e6[_0xcd8c1e++],_0x258d35=_0x4c79f1[_0x31dfc6>>>0x18]^_0x22dbe[_0x1ae4e3>>>0x10&0xff]^_0x23808f[_0x3e8f7a>>>0x8&0xff]^_0x40704a[_0x34dae6&0xff]^_0x5c35e6[_0xcd8c1e++],_0x3307c0=_0x4c79f1[_0x1ae4e3>>>0x18]^_0x22dbe[_0x3e8f7a>>>0x10&0xff]^_0x23808f[_0x34dae6>>>0x8&0xff]^_0x40704a[_0x31dfc6&0xff]^_0x5c35e6[_0xcd8c1e++],_0x54f0bc=_0x4c79f1[_0x3e8f7a>>>0x18]^_0x22dbe[_0x34dae6>>>0x10&0xff]^_0x23808f[_0x31dfc6>>>0x8&0xff]^_0x40704a[_0x1ae4e3&0xff]^_0x5c35e6[_0xcd8c1e++];_0x34dae6=_0x1711b3,_0x31dfc6=_0x258d35,_0x1ae4e3=_0x3307c0,_0x3e8f7a=_0x54f0bc;}var _0x1711b3=(_0x35a200[_0x34dae6>>>0x18]<<0x18|_0x35a200[_0x31dfc6>>>0x10&0xff]<<0x10|_0x35a200[_0x1ae4e3>>>0x8&0xff]<<0x8|_0x35a200[_0x3e8f7a&0xff])^_0x5c35e6[_0xcd8c1e++],_0x258d35=(_0x35a200[_0x31dfc6>>>0x18]<<0x18|_0x35a200[_0x1ae4e3>>>0x10&0xff]<<0x10|_0x35a200[_0x3e8f7a>>>0x8&0xff]<<0x8|_0x35a200[_0x34dae6&0xff])^_0x5c35e6[_0xcd8c1e++],_0x3307c0=(_0x35a200[_0x1ae4e3>>>0x18]<<0x18|_0x35a200[_0x3e8f7a>>>0x10&0xff]<<0x10|_0x35a200[_0x34dae6>>>0x8&0xff]<<0x8|_0x35a200[_0x31dfc6&0xff])^_0x5c35e6[_0xcd8c1e++],_0x54f0bc=(_0x35a200[_0x3e8f7a>>>0x18]<<0x18|_0x35a200[_0x34dae6>>>0x10&0xff]<<0x10|_0x35a200[_0x31dfc6>>>0x8&0xff]<<0x8|_0x35a200[_0x1ae4e3&0xff])^_0x5c35e6[_0xcd8c1e++];_0x4db6cb[_0x411ab0]=_0x1711b3,_0x4db6cb[_0x411ab0+0x1]=_0x258d35,_0x4db6cb[_0x411ab0+0x2]=_0x3307c0,_0x4db6cb[_0x411ab0+0x3]=_0x54f0bc;},'keySize':0x100/0x20});_0x2c6e5b[_0x4bf147(0x281)]=_0x219a64[_0x4bf147(0x436)](_0x11f9e0);}()),_0x5b5f1a[_0x3e2231(0x281)];}));}(Ie)),Ie[_0x5dc6fd(0x238)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x53ae8e(0x238)],nt;function $i(){var _0x2b086b=_0x53ae8e;return nt||(nt=0x1,function(_0x2849c5,_0x59330a){(function(_0x574337,_0x1d45e6){var _0x1d9f41=_0x74cc;_0x2849c5[_0x1d9f41(0x238)]=_0x1d45e6(Z());}(ki,function(_0x542f07){var _0x5bc549=_0x74cc;return _0x542f07[_0x5bc549(0x41a)][_0x5bc549(0x24c)];}));}(Oe)),Oe[_0x2b086b(0x238)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be['exports'],st;function Fi(){var _0x71eded=_0x53ae8e;return st||(st=0x1,function(_0x2bc107,_0x5b1234){(function(_0x435c8b,_0x29f310){var _0x6dcc42=_0x74cc;_0x2bc107[_0x6dcc42(0x238)]=_0x29f310(Z());}(Bi,function(_0x50cc9b){var _0x1c93b2=_0x74cc;return(function(){var _0x522b71=_0x74cc;if(typeof ArrayBuffer==_0x522b71(0x49e)){var _0xfacabb=_0x50cc9b,_0x3c91b0=_0xfacabb['lib'],_0x311b17=_0x3c91b0[_0x522b71(0x1fe)],_0x79a64b=_0x311b17['init'],_0x2e2ca9=_0x311b17[_0x522b71(0x34f)]=function(_0x22257c){var _0x543c40=_0x522b71;if(_0x22257c instanceof ArrayBuffer&&(_0x22257c=new Uint8Array(_0x22257c)),(_0x22257c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x22257c instanceof Uint8ClampedArray||_0x22257c instanceof Int16Array||_0x22257c instanceof Uint16Array||_0x22257c instanceof Int32Array||_0x22257c instanceof Uint32Array||_0x22257c instanceof Float32Array||_0x22257c instanceof Float64Array)&&(_0x22257c=new Uint8Array(_0x22257c[_0x543c40(0x435)],_0x22257c['byteOffset'],_0x22257c[_0x543c40(0x344)])),_0x22257c instanceof Uint8Array){for(var _0x489bc9=_0x22257c['byteLength'],_0x2dd854=[],_0x3afb58=0x0;_0x3afb58<_0x489bc9;_0x3afb58++)_0x2dd854[_0x3afb58>>>0x2]|=_0x22257c[_0x3afb58]<<0x18-_0x3afb58%0x4*0x8;_0x79a64b[_0x543c40(0x429)](this,_0x2dd854,_0x489bc9);}else _0x79a64b[_0x543c40(0x2f1)](this,arguments);};_0x2e2ca9['prototype']=_0x311b17;}}()),_0x50cc9b[_0x1c93b2(0x240)]['WordArray'];}));}(be)),be[_0x71eded(0x238)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x53ae8e(0x238)],rt;function Yi(){return rt||(rt=0x1,function(_0x54e94d,_0x12d777){(function(_0x3c9d22,_0x5cab2d,_0xe669f){var _0x282166=_0x74cc;_0x54e94d[_0x282166(0x238)]=_0x5cab2d(Z(),Ot());}(Gi,function(_0x4f996c){var _0x504d5a=_0x74cc;return _0x4f996c['pad'][_0x504d5a(0x3b9)]={'pad':function(){},'unpad':function(){}},_0x4f996c['pad'][_0x504d5a(0x3b9)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x41813c,_0x1b1aab){var _0x2dc125=_0x53ae8e;const _0x4aed77=_0x1b1aab-_0x41813c[_0x2dc125(0x461)]%_0x1b1aab,_0x4b0223=String[_0x2dc125(0x157)](_0x4aed77)[_0x2dc125(0x172)](_0x4aed77);return _0x41813c+_0x4b0223;}function Xi(_0x455fc5,_0x40407f){var _0x1ad231=_0x53ae8e;const _0x362904=Wi['random'](0x10),_0x4a04d1=zi(_0x455fc5,0x10),_0x34081b=wi[_0x1ad231(0x14d)](ji[_0x1ad231(0x2d3)](_0x4a04d1),it[_0x1ad231(0x2d3)](_0x40407f),{'iv':_0x362904,'padding':qi});return _0x362904['concat'](_0x34081b[_0x1ad231(0x37d)])[_0x1ad231(0x1d1)](it);}function Ji(){var _0x47f971=_0x53ae8e;const _0x19b485=Dt[_0x47f971(0x237)]()[_0x47f971(0x23b)];if(_0x19b485){const _0x2ae82b={'time':Math[_0x47f971(0x246)](Date[_0x47f971(0x38c)]()/0x3e8),'domain':location['hostname']};return Xi(JSON[_0x47f971(0x422)](_0x2ae82b),_0x19b485);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x59c0f6,_0x4664a7,_0x44a5b5,_0x3bb2df)=>{var _0x361f70=_0x53ae8e;for(var _0x2f137f=_0x3bb2df>0x1?void 0x0:_0x3bb2df?Zi(_0x4664a7,_0x44a5b5):_0x4664a7,_0x475d90=_0x59c0f6[_0x361f70(0x461)]-0x1,_0x355c3f;_0x475d90>=0x0;_0x475d90--)(_0x355c3f=_0x59c0f6[_0x475d90])&&(_0x2f137f=_0x355c3f(_0x2f137f)||_0x2f137f);return _0x2f137f;},en=(_0xd2e998,_0x2723f3)=>(_0x5710ef,_0x2bc173)=>_0x2723f3(_0x5710ef,_0x2bc173,_0xd2e998);let De=class{constructor(_0x2e940c){var _0x11779e=_0x53ae8e;this[_0x11779e(0x33d)]=_0x2e940c,this[_0x11779e(0x2fd)]();}[_0x53ae8e(0x2fd)](){var _0x430345=_0x53ae8e;this[_0x430345(0x33d)][_0x430345(0x38b)]({'interceptor':(_0x2ae788,_0x3fe74d)=>{var _0x376a74=_0x430345;const _0xced1c8=_0x2ae788['headers'],_0x3e6629=Ji();return _0x3e6629&&_0xced1c8[_0x376a74(0x1bb)](_0x376a74(0x175),_0x3e6629),_0x3fe74d(_0x2ae788);}});}};De=Qi([en(0x0,o[_0x53ae8e(0x427)](K[_0x53ae8e(0x3fd)]))],De);var tn=Object[_0x53ae8e(0x3d8)],nn=(_0x2e8115,_0x44468f,_0x4195fe,_0x1896e3)=>{for(var _0x253b66=_0x1896e3>0x1?void 0x0:_0x1896e3?tn(_0x44468f,_0x4195fe):_0x44468f,_0x17b3c8=_0x2e8115['length']-0x1,_0x8dd7a8;_0x17b3c8>=0x0;_0x17b3c8--)(_0x8dd7a8=_0x2e8115[_0x17b3c8])&&(_0x253b66=_0x8dd7a8(_0x253b66)||_0x253b66);return _0x253b66;},Le=(_0x421726,_0x5c6311)=>(_0x59cab6,_0x3af398)=>_0x5c6311(_0x59cab6,_0x3af398,_0x421726);exports['DataLoaderService']=class extends o['RxDisposable']{constructor(_0x2efb3c,_0x5db64c,_0x425f73){var _0x5a3030=_0x53ae8e;super(),A(this,_0x5a3030(0x25e),new j[(_0x5a3030(0x3bc))](null)),A(this,_0x5a3030(0x139),this[_0x5a3030(0x25e)][_0x5a3030(0x1f7)]()),(this[_0x5a3030(0x44f)]=_0x2efb3c,this[_0x5a3030(0x4a6)]=_0x5db64c,this[_0x5a3030(0x17d)]=_0x425f73);}async[_0x53ae8e(0x22f)](_0x1158b0,_0x536ae0,_0x3a3926){var _0x61088f=_0x53ae8e;this[_0x61088f(0x25e)][_0x61088f(0x221)]({'unitId':_0x1158b0,'type':_0x536ae0});let _0x260668=null;switch(_0x536ae0){case X[_0x61088f(0x25b)]:{_0x260668=await this['_snapshotService'][_0x61088f(0x320)](_0x1158b0,_0x3a3926);break;}case X[_0x61088f(0x401)]:{_0x260668=await this[_0x61088f(0x4a6)][_0x61088f(0x371)](_0x1158b0,_0x3a3926);break;}default:{this[_0x61088f(0x44f)][_0x61088f(0x41c)](_0x61088f(0x239),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x260668;}async[_0x53ae8e(0x1a2)](_0x2572c1,_0x42d2e2,_0x46f212){var _0x1c8c9d=_0x53ae8e,_0x27dca5;this[_0x1c8c9d(0x25e)][_0x1c8c9d(0x221)]({'unitId':_0x2572c1,'type':_0x42d2e2,'subUnitId':_0x46f212});let _0x3e36fb=0x0;const _0x2565b1=await((_0x27dca5=this[_0x1c8c9d(0x17d)])==null?void 0x0:_0x27dca5[_0x1c8c9d(0x299)](_0x2572c1));return _0x2565b1&&(_0x2565b1[_0x1c8c9d(0x1ed)]||_0x2565b1[_0x1c8c9d(0x478)]['length']!==0x0)&&(_0x3e36fb=_0x2565b1['rev']),_0x3e36fb===0x0&&this['_logService'][_0x1c8c9d(0x180)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1c8c9d(0x22f)](_0x2572c1,_0x42d2e2,_0x3e36fb);}},exports[_0x53ae8e(0x13f)]=nn([Le(0x0,o[_0x53ae8e(0x359)]),Le(0x1,o[_0x53ae8e(0x427)](E[_0x53ae8e(0x12a)])),Le(0x2,o[_0x53ae8e(0x1bd)](q))],exports[_0x53ae8e(0x13f)]);var sn=Object[_0x53ae8e(0x3d8)],rn=(_0x2b2ae0,_0x320b1f,_0x5a011f,_0x5ef0c6)=>{var _0x34df7d=_0x53ae8e;for(var _0x3be603=_0x5ef0c6>0x1?void 0x0:_0x5ef0c6?sn(_0x320b1f,_0x5a011f):_0x320b1f,_0x1a33ca=_0x2b2ae0[_0x34df7d(0x461)]-0x1,_0x1836e3;_0x1a33ca>=0x0;_0x1a33ca--)(_0x1836e3=_0x2b2ae0[_0x1a33ca])&&(_0x3be603=_0x1836e3(_0x3be603)||_0x3be603);return _0x3be603;},Me=(_0x53eafa,_0x2c0d6a)=>(_0x1bd635,_0x1d0e03)=>_0x2c0d6a(_0x1bd635,_0x1d0e03,_0x53eafa);const an=[_0x53ae8e(0x2c3),_0x53ae8e(0x424),_0x53ae8e(0x18a),_0x53ae8e(0x3bf),_0x53ae8e(0x43d)],on=0x5*0x400*0x400,cn=_0x53ae8e(0x326),_n='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x2615e1,_0x3d832c,_0x3f917f){var _0x19f15c=_0x53ae8e;A(this,'_waitCount',0x0),A(this,'_change$',new j['Subject']()),A(this,_0x19f15c(0x2e8),this[_0x19f15c(0x4a3)]),A(this,_0x19f15c(0x135),new Map()),(this['_httpService']=_0x2615e1,this[_0x19f15c(0x2f2)]=_0x3d832c,this[_0x19f15c(0x297)]=_0x3f917f);}[_0x53ae8e(0x33f)](_0x5c1a1d){var _0x283e6d=_0x53ae8e;this[_0x283e6d(0x21a)]=_0x5c1a1d,this[_0x283e6d(0x4a3)]['next'](_0x5c1a1d);}[_0x53ae8e(0x40e)](_0x4f1066,_0x58e850){var _0x48db33=_0x53ae8e;if(_0x58e850===z[_0x48db33(0x439)][_0x48db33(0x2ca)]){const _0x42981c=new Image();return _0x42981c[_0x48db33(0x405)]=_0x4f1066,_0x42981c;}return this[_0x48db33(0x135)][_0x48db33(0x30a)](_0x4f1066);}['addImageSourceCache'](_0x6c501f,_0x4506fb,_0x138d87){var _0x29c69d=_0x53ae8e;_0x4506fb===z['ImageSourceType']['BASE64']||_0x138d87==null||this[_0x29c69d(0x135)][_0x29c69d(0x1bb)](_0x6c501f,_0x138d87);}async[_0x53ae8e(0x1c7)](_0x4d6095){var _0x378420=_0x53ae8e;try{const _0x272338=this[_0x378420(0x4ac)](this[_0x378420(0x2ee)](),''+_0x4d6095),_0x1776a2=(await this[_0x378420(0x33d)][_0x378420(0x30a)](_0x272338))[_0x378420(0x179)];if(_0x1776a2[_0x378420(0x41c)]&&_0x1776a2[_0x378420(0x41c)]['code']===vt['OK']){const _0x3d73f9=new URL(_0x1776a2[_0x378420(0x22a)],this[_0x378420(0x27b)]())[_0x378420(0x1d1)]();return Promise[_0x378420(0x301)](_0x3d73f9);}return Promise[_0x378420(0x15b)](_0x1776a2['error']);}catch(_0x2c1bd4){return Promise[_0x378420(0x15b)](_0x2c1bd4);}}async[_0x53ae8e(0x260)](_0x108c3a){var _0x560652=_0x53ae8e;let _0x2749e7='';if(!an[_0x560652(0x482)](_0x108c3a[_0x560652(0x19e)]))return this[_0x560652(0x1cd)](),Promise[_0x560652(0x15b)](new Error(z[_0x560652(0x3d0)][_0x560652(0x213)]));if(_0x108c3a[_0x560652(0x2d1)]>on)return this[_0x560652(0x1cd)](),Promise[_0x560652(0x15b)](new Error(z[_0x560652(0x3d0)][_0x560652(0x1e4)]));try{const _0xa409be=new FormData();_0xa409be['append']('file',_0x108c3a);const _0x3d833c=this[_0x560652(0x297)][_0x560652(0x229)](),_0x43f743=_0x3d833c==null?void 0x0:_0x3d833c[_0x560652(0x4ab)]();if(!_0x43f743)throw new Error(_0x560652(0x403));const _0x5bcdc0=this[_0x560652(0x2d4)]()+_0x560652(0x48b)+_0x108c3a[_0x560652(0x2d1)][_0x560652(0x1d1)]()+'&source='+dt[_0x560652(0x3fc)]+_0x560652(0x366)+encodeURIComponent(_0x43f743),_0x4bf740={'body':_0xa409be},_0x347dbc=(await this[_0x560652(0x33d)]['post'](_0x5bcdc0,_0x4bf740))[_0x560652(0x179)];if(typeof _0x347dbc['FileId']!=_0x560652(0x2c9))return this[_0x560652(0x1cd)](),Promise[_0x560652(0x15b)](new Error(z[_0x560652(0x3d0)][_0x560652(0x41d)]));_0x2749e7=_0x347dbc[_0x560652(0x3cb)];}catch{return this[_0x560652(0x1cd)](),Promise[_0x560652(0x15b)](new Error(z[_0x560652(0x3d0)][_0x560652(0x41d)]));}return new Promise((_0x19debf,_0x20b29c)=>{var _0x1162f8=_0x560652;const _0x4d6447=new FileReader();_0x4d6447[_0x1162f8(0x307)](_0x108c3a),_0x4d6447[_0x1162f8(0x30b)]=_0x5c51a1=>{var _0x505ce5=_0x1162f8,_0x10dc52;const _0x56f7bf=(_0x10dc52=_0x5c51a1[_0x505ce5(0x2d9)])==null?void 0x0:_0x10dc52['result'];if(_0x56f7bf==null){this[_0x505ce5(0x1cd)](),_0x20b29c(new Error(z[_0x505ce5(0x3d0)][_0x505ce5(0x41d)]));return;}const _0x3c58e3=o['generateRandomId'](0x6);_0x19debf({'imageId':_0x3c58e3,'imageSourceType':z[_0x505ce5(0x439)][_0x505ce5(0x1dc)],'source':_0x2749e7,'base64Cache':_0x56f7bf,'status':z[_0x505ce5(0x3d0)][_0x505ce5(0x3b4)]}),this[_0x505ce5(0x1cd)]();};});}[_0x53ae8e(0x2d4)](){var _0x2bdd32=_0x53ae8e,_0x1b7ace;const _0x3fc891=this['_configService'][_0x2bdd32(0x45e)](Y);return(_0x1b7ace=_0x3fc891==null?void 0x0:_0x3fc891[_0x2bdd32(0x35e)])!=null?_0x1b7ace:cn;}[_0x53ae8e(0x2ee)](){var _0x151846=_0x53ae8e,_0xefb0d5;const _0x1657eb=this['_configService'][_0x151846(0x45e)](Y);return(_0xefb0d5=_0x1657eb==null?void 0x0:_0x1657eb[_0x151846(0x233)])!=null?_0xefb0d5:_n;}[_0x53ae8e(0x27b)](){var _0x4342f2=_0x53ae8e,_0x263e43;const _0x5ea372=this[_0x4342f2(0x2f2)][_0x4342f2(0x45e)](Y);return(_0x263e43=_0x5ea372==null?void 0x0:_0x5ea372[_0x4342f2(0x36e)])!=null?_0x263e43:location['origin'];}[_0x53ae8e(0x4ac)](_0x476a8d,_0x30c269){var _0x3e520e=_0x53ae8e;return _0x476a8d[_0x3e520e(0x142)](_0x3e520e(0x198),_0x30c269);}['_decreaseWaiting'](){var _0x767773=_0x53ae8e;this[_0x767773(0x21a)]-=0x1,this[_0x767773(0x4a3)]['next'](this[_0x767773(0x21a)]);}},exports[_0x53ae8e(0x266)]=rn([Me(0x0,o['Inject'](K['HTTPService'])),Me(0x1,o[_0x53ae8e(0x176)]),Me(0x2,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x49b)]))],exports[_0x53ae8e(0x266)]);var hn=Object[_0x53ae8e(0x3d8)],ln=(_0x542f08,_0x1f9954,_0x185ccc,_0x45d03d)=>{var _0x5bfd26=_0x53ae8e;for(var _0x2c536a=_0x45d03d>0x1?void 0x0:_0x45d03d?hn(_0x1f9954,_0x185ccc):_0x1f9954,_0x540208=_0x542f08[_0x5bfd26(0x461)]-0x1,_0x10746d;_0x540208>=0x0;_0x540208--)(_0x10746d=_0x542f08[_0x540208])&&(_0x2c536a=_0x10746d(_0x2c536a)||_0x2c536a);return _0x2c536a;},at=(_0xefe2d3,_0x57a05e)=>(_0x5d4f2c,_0x57e2ed)=>_0x57a05e(_0x5d4f2c,_0x57e2ed,_0xefe2d3);const un=_0x53ae8e(0x1b7);exports[_0x53ae8e(0x4a4)]=class{constructor(_0x1dd8d3,_0x57c206){var _0x13c124=_0x53ae8e;this['_configService']=_0x1dd8d3,this[_0x13c124(0x353)]=_0x57c206;}[_0x53ae8e(0x2c8)](){var _0x5adb73=_0x53ae8e,_0x127c7f;const _0x5e3d2f=this[_0x5adb73(0x2f2)]['getConfig'](Y);return(_0x127c7f=_0x5e3d2f==null?void 0x0:_0x5e3d2f['authzUrl'])!=null?_0x127c7f:un;}async[_0x53ae8e(0x15e)](_0x268f2f){var _0x4f4865=_0x53ae8e;const _0x55bc31=this[_0x4f4865(0x2c8)]()+_0x4f4865(0x410);return{'list':[{'title':_0x4f4865(0x2d8),'mentions':(await this[_0x4f4865(0x353)]['get'](_0x55bc31,{'params':{'objectID':_0x268f2f[_0x4f4865(0x200)],'unitID':_0x268f2f[_0x4f4865(0x200)]}}))[_0x4f4865(0x179)][_0x4f4865(0x27c)][_0x4f4865(0x413)](_0x1eadbf=>({'objectId':_0x1eadbf['id'],'name':_0x1eadbf['subject'][_0x4f4865(0x3e9)],'metadata':{'icon':_0x1eadbf[_0x4f4865(0x28a)][_0x4f4865(0x445)]},'label':_0x1eadbf[_0x4f4865(0x28a)][_0x4f4865(0x3e9)],'objectType':o[_0x4f4865(0x12d)][_0x4f4865(0x2d0)]})),'metadata':{},'type':o[_0x4f4865(0x12d)][_0x4f4865(0x2d0)]}]};}},exports[_0x53ae8e(0x4a4)]=ln([at(0x0,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x176)])),at(0x1,o[_0x53ae8e(0x427)](K[_0x53ae8e(0x3fd)]))],exports[_0x53ae8e(0x4a4)]);var vn=Object['getOwnPropertyDescriptor'],dn=(_0x2d2b6f,_0x564931,_0x47db1f,_0x447028)=>{var _0x2508d9=_0x53ae8e;for(var _0x28a181=_0x447028>0x1?void 0x0:_0x447028?vn(_0x564931,_0x47db1f):_0x564931,_0x589f07=_0x2d2b6f[_0x2508d9(0x461)]-0x1,_0x58cc67;_0x589f07>=0x0;_0x589f07--)(_0x58cc67=_0x2d2b6f[_0x589f07])&&(_0x28a181=_0x58cc67(_0x28a181)||_0x28a181);return _0x28a181;},le=(_0x44fab8,_0x4e9ea0)=>(_0x2be46a,_0x25ed23)=>_0x4e9ea0(_0x2be46a,_0x25ed23,_0x44fab8);let ye=class extends o[_0x53ae8e(0x20c)]{constructor(_0x121526,_0x5d89e5,_0xac06ff,_0x3d1e7b,_0x4fc4b1){var _0x248222=_0x53ae8e;super(),this['_injector']=_0x121526,this[_0x248222(0x297)]=_0x5d89e5,this[_0x248222(0x28f)]=_0xac06ff,this['_collaborationSessionService']=_0x3d1e7b,this[_0x248222(0x1b1)]=_0x4fc4b1,this[_0x248222(0x250)](),this[_0x248222(0x48a)]();}[_0x53ae8e(0x48a)](){var _0xa37064=_0x53ae8e;const _0x185edd=async _0x4956c9=>{var _0x5ba872=_0x74cc;(await this[_0x5ba872(0x137)]['requireSession'](_0x4956c9))[_0x5ba872(0x2a7)][_0x5ba872(0x127)](V[_0x5ba872(0x400)](_0x4633e9=>_0x4633e9[_0x5ba872(0x1af)]===E['CollaborationEvent'][_0x5ba872(0x288)]),V[_0x5ba872(0x2cf)](this[_0x5ba872(0x2fe)]))['subscribe'](_0x2dc5f8=>{var _0x153ce4=_0x5ba872;const _0x3059ce=_0x2dc5f8,{reason:_0x57bcdf}=_0x3059ce[_0x153ce4(0x1eb)];this[_0x153ce4(0x1b1)]['emitEvent']({'id':J[_0x153ce4(0x393)],'data':_0x57bcdf}),this[_0x153ce4(0x28f)]['updatePermissionPoint'](new Q[(_0x153ce4(0x2a9))](_0x4956c9)['id'],!0x1),this['_collaborationSessionService'][_0x153ce4(0x47b)](_0x4956c9);});};j['merge'](this[_0xa37064(0x297)][_0xa37064(0x3ae)](o[_0xa37064(0x49d)]['UNIVER_SHEET']),this[_0xa37064(0x297)][_0xa37064(0x3ae)](o[_0xa37064(0x49d)]['UNIVER_DOC']))[_0xa37064(0x127)](V[_0xa37064(0x413)](_0x4f263c=>_0x4f263c[_0xa37064(0x4ab)]()),V[_0xa37064(0x400)](_0x37c6e7=>!o[_0xa37064(0x283)](_0x37c6e7)),V[_0xa37064(0x2cf)](this['dispose$']))['subscribe'](_0x12489b=>{_0x185edd(_0x12489b);});}['_initUnitPermissionChange'](){var _0x41db2d=_0x53ae8e;const _0x116d27=async _0x2f969f=>{var _0x383c8a=_0x74cc;const _0x42050d=await this[_0x383c8a(0x137)][_0x383c8a(0x194)](_0x2f969f),_0x1c6012=this[_0x383c8a(0x3e0)]['get'](Q['SheetPermissionInitController']);_0x42050d[_0x383c8a(0x2a7)][_0x383c8a(0x127)](V[_0x383c8a(0x400)](_0x1e7dcc=>_0x1e7dcc[_0x383c8a(0x1af)]===E[_0x383c8a(0x1be)]['UPDATE_PERMISSION_OBJ']),V[_0x383c8a(0x2cf)](this[_0x383c8a(0x2fe)]))[_0x383c8a(0x2b1)](_0x1216e4=>{var _0x237ab5=_0x383c8a;const _0x47d584=_0x1216e4,{objectId:_0x27dc08}=_0x47d584[_0x237ab5(0x1eb)];_0x27dc08===_0x2f969f?_0x1c6012[_0x237ab5(0x21b)](_0x2f969f):_0x1c6012[_0x237ab5(0x140)](_0x2f969f,_0x27dc08);});};j[_0x41db2d(0x2e3)](this[_0x41db2d(0x297)][_0x41db2d(0x3ae)](o['UniverInstanceType']['UNIVER_SHEET']))[_0x41db2d(0x127)](V['map'](_0x7ba46e=>_0x7ba46e['getUnitId']()),V[_0x41db2d(0x400)](_0x4d8a4f=>!o[_0x41db2d(0x283)](_0x4d8a4f)),V[_0x41db2d(0x2cf)](this[_0x41db2d(0x2fe)]))[_0x41db2d(0x2b1)](_0x452908=>{_0x116d27(_0x452908);});}};ye=dn([le(0x0,o[_0x53ae8e(0x427)](o[_0x53ae8e(0x1b9)])),le(0x1,o[_0x53ae8e(0x49b)]),le(0x2,o[_0x53ae8e(0x408)]),le(0x3,o[_0x53ae8e(0x427)](exports[_0x53ae8e(0x32b)])),le(0x4,o['Inject'](ee))],ye);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x5c18e7,_0x5c324a,_0x144b01,_0x506596)=>{var _0x2b8310=_0x53ae8e;for(var _0x13391d=_0x506596>0x1?void 0x0:_0x506596?Sn(_0x5c324a,_0x144b01):_0x5c324a,_0x210151=_0x5c18e7[_0x2b8310(0x461)]-0x1,_0x9727b0;_0x210151>=0x0;_0x210151--)(_0x9727b0=_0x5c18e7[_0x210151])&&(_0x13391d=_0x9727b0(_0x13391d)||_0x13391d);return _0x13391d;},ot=(_0x1aee7d,_0x2329ce)=>(_0x4a15f6,_0x443a80)=>_0x2329ce(_0x4a15f6,_0x443a80,_0x1aee7d);exports[_0x53ae8e(0x16d)]=class{constructor(_0x2ecc76,_0x456ff2){var _0x21a064=_0x53ae8e;this[_0x21a064(0x2f2)]=_0x2ecc76,this['_httpService']=_0x456ff2;}async[_0x53ae8e(0x496)](_0x37e979,_0x58a797){var _0x43bc73=_0x53ae8e,_0x4c4345;const {unitID:_0x4eb8e4,type:_0x5128e1,revision:_0x503302=0x0}=_0x58a797,_0x3cde5c=this[_0x43bc73(0x1cf)]()+'/'+_0x5128e1+_0x43bc73(0x261)+_0x4eb8e4+'/rev/'+_0x503302,_0x3cb06a=(await this[_0x43bc73(0x33d)]['get'](_0x3cde5c))['body'],_0x3d2980=(_0x4c4345=_0x3cb06a[_0x43bc73(0x492)])==null?void 0x0:_0x4c4345['workbook'];if(_0x3d2980){const _0x3c8f9f=_0x3d2980==null?void 0x0:_0x3d2980[_0x43bc73(0x41f)],_0x34ea76=E[_0x43bc73(0x3a0)][_0x43bc73(0x44a)](E[_0x43bc73(0x244)](_0x3c8f9f));_0x3d2980[_0x43bc73(0x41f)]=_0x34ea76,Object[_0x43bc73(0x1fa)](_0x3d2980[_0x43bc73(0x39d)])[_0x43bc73(0x22b)](([,_0x55b8fa])=>{var _0x5134da=_0x43bc73;const _0x36fc07=_0x55b8fa[_0x5134da(0x41f)],_0x28d965=E[_0x5134da(0x3a0)][_0x5134da(0x44a)](E[_0x5134da(0x244)](_0x36fc07));_0x55b8fa['originalMeta']=_0x28d965;});}return _0x3cb06a;}async[_0x53ae8e(0x211)](_0x5c14d7,_0x2fbfe4){var _0x20c68a=_0x53ae8e;const {unitID:_0x39bea3,type:_0x197fd6,blockID:_0x37524c}=_0x2fbfe4,_0x2c2540=this[_0x20c68a(0x1d7)]()+'/'+_0x197fd6+'/unit/'+_0x39bea3+'/block/'+_0x37524c;return(await this[_0x20c68a(0x33d)][_0x20c68a(0x30a)](_0x2c2540))['body'];}async[_0x53ae8e(0x265)](_0x51e2a7,_0x3f2d1d){var _0x458153=_0x53ae8e;const {unitID:_0x33e9f2,type:_0x2c7fdd,blockID:_0x186119}=_0x3f2d1d,_0x5b9cac=this[_0x458153(0x1d7)]()+'/block/'+_0x2c7fdd+_0x458153(0x261)+_0x33e9f2+'/block/'+_0x186119;return(await this[_0x458153(0x33d)][_0x458153(0x30a)](_0x5b9cac))['body'];}async[_0x53ae8e(0x305)](_0x39b7ae,_0x369086){var _0x50ea11=_0x53ae8e;const {unitID:_0x12e655,type:_0x1c4d81,from:_0x184bbf,to:_0x59a52d}=_0x369086,_0x3976be=this[_0x50ea11(0x1d7)]()+'/'+_0x1c4d81+'/unit/'+_0x12e655+'/fetchmissing?from='+_0x184bbf+_0x50ea11(0x444)+_0x59a52d;return(await this['_httpService'][_0x50ea11(0x30a)](_0x3976be))[_0x50ea11(0x179)];}[_0x53ae8e(0x1cf)](){var _0x2eb98c=_0x53ae8e,_0x140b53;return(_0x140b53=this['_configService'][_0x2eb98c(0x45e)](Ut))!=null?_0x140b53:this[_0x2eb98c(0x1d7)]();}[_0x53ae8e(0x1d7)](){var _0x4e9730=_0x53ae8e,_0x3b83f3;const _0x3e11e4=this[_0x4e9730(0x2f2)][_0x4e9730(0x45e)](Y);return(_0x3b83f3=_0x3e11e4==null?void 0x0:_0x3e11e4[_0x4e9730(0x33c)])!=null?_0x3b83f3:yt;}async[_0x53ae8e(0x3de)](_0x2dbe7f,_0x5bd0b3){var _0x5e99d1=_0x53ae8e;const _0x4ec1ce=_0x5e99d1(0x161)+_0x5bd0b3[_0x5e99d1(0x19e)]+'/unit/'+_0x5bd0b3[_0x5e99d1(0x319)]+'/resources';return(await this[_0x5e99d1(0x33d)][_0x5e99d1(0x30a)](_0x4ec1ce,{'params':{'resourceId':JSON[_0x5e99d1(0x422)](_0x5bd0b3[_0x5e99d1(0x20b)])}}))['body'];}[_0x53ae8e(0x34a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x53ae8e(0x298)](){var _0x24ad5c=_0x53ae8e;throw new Error(_0x24ad5c(0x17a));}[_0x53ae8e(0x144)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x1ac006=_0x53ae8e;throw new Error(_0x1ac006(0x17a));}[_0x53ae8e(0x471)](){var _0x2f5c1b=_0x53ae8e;throw new Error(_0x2f5c1b(0x17a));}['getLatestCsReqIdBySid'](){var _0x19fb50=_0x53ae8e;throw new Error(_0x19fb50(0x17a));}},exports[_0x53ae8e(0x16d)]=In([ot(0x0,o[_0x53ae8e(0x176)]),ot(0x1,o[_0x53ae8e(0x427)](K[_0x53ae8e(0x3fd)]))],exports[_0x53ae8e(0x16d)]);var fn=Object[_0x53ae8e(0x3d8)],En=(_0xe5ef6c,_0x883bc8,_0x3162ef,_0x1c2d67)=>{var _0x11aa1b=_0x53ae8e;for(var _0x892ff6=_0x1c2d67>0x1?void 0x0:_0x1c2d67?fn(_0x883bc8,_0x3162ef):_0x883bc8,_0x3142bf=_0xe5ef6c[_0x11aa1b(0x461)]-0x1,_0x45b263;_0x3142bf>=0x0;_0x3142bf--)(_0x45b263=_0xe5ef6c[_0x3142bf])&&(_0x892ff6=_0x45b263(_0x892ff6)||_0x892ff6);return _0x892ff6;},ue=(_0x44f761,_0x4f5b45)=>(_0xd6a93b,_0x529a93)=>_0x4f5b45(_0xd6a93b,_0x529a93,_0x44f761);exports[_0x53ae8e(0x308)]=class extends o['LocalUndoRedoService']{constructor(_0x132bb5,_0xb0240a,_0x52a072,_0x104eb4,_0x30fab3){var _0x1a1b94=_0x53ae8e;super(_0x132bb5,_0xb0240a,_0x52a072),this[_0x1a1b94(0x3cd)]=_0x104eb4,this[_0x1a1b94(0x44f)]=_0x30fab3;}['transformUndoRedo'](_0x326cfb,_0x2631d1){var _0x553946=_0x53ae8e;const _0x44ed87=this['_getUndoStack'](_0x326cfb);if(_0x44ed87)try{const _0x2f5691=this['_transformStack'](_0x44ed87,_0x2631d1);this['_substituteUndoStack'](_0x326cfb,_0x2f5691);}catch(_0x1f37d0){this[_0x553946(0x44f)][_0x553946(0x41c)](_0x553946(0x419),_0x1f37d0),this['_clearUndo'](_0x326cfb);}const _0x363145=this[_0x553946(0x352)](_0x326cfb);if(_0x363145)try{const _0x5ef0a5=this[_0x553946(0x3a8)](_0x363145,_0x2631d1);this[_0x553946(0x257)](_0x326cfb,_0x5ef0a5);}catch(_0x45922e){this[_0x553946(0x44f)]['error'](_0x45922e),this['_clearRedo'](_0x326cfb);}}[_0x53ae8e(0x3ab)](_0x4eb1de){var _0x161fc3=_0x53ae8e;const _0x1bd631=this[_0x161fc3(0x2b0)](_0x4eb1de);_0x1bd631&&(_0x1bd631[_0x161fc3(0x461)]=0x0,this[_0x161fc3(0x2c5)]());}['_clearRedo'](_0x86d771){var _0x38b78c=_0x53ae8e;const _0x45e8c9=this[_0x38b78c(0x352)](_0x86d771);_0x45e8c9&&(_0x45e8c9['length']=0x0,this['_updateStatus']());}[_0x53ae8e(0x270)](_0x47a5d8,_0x4d4979){var _0x11ce41=_0x53ae8e;this[_0x11ce41(0x13c)][_0x11ce41(0x1bb)](_0x47a5d8,_0x4d4979),this[_0x11ce41(0x2c5)]();}[_0x53ae8e(0x257)](_0x41da5f,_0x1f98f6){var _0x42ef11=_0x53ae8e;this[_0x42ef11(0x1d0)][_0x42ef11(0x1bb)](_0x41da5f,_0x1f98f6),this['_updateStatus']();}[_0x53ae8e(0x3a8)](_0x338a90,_0x4c7b4b){var _0x2d4f99=_0x53ae8e;const _0x463cdf=[];let _0x33b605=_0x4c7b4b,_0x4bcc04=_0x4c7b4b;for(let _0x330aa8=_0x338a90[_0x2d4f99(0x461)]-0x1;_0x330aa8>=0x0;_0x330aa8--){const {unitID:_0x3a507d,undoMutations:_0x124d4d,redoMutations:_0x4973f3}=_0x338a90[_0x330aa8],_0x4c053a=this[_0x2d4f99(0x3cd)][_0x2d4f99(0x1c8)](_0x33b605,_0x124d4d),_0x501891=this[_0x2d4f99(0x3cd)][_0x2d4f99(0x1c8)](_0x4bcc04,_0x4973f3);if(E[_0x2d4f99(0x153)](_0x4c053a)||E[_0x2d4f99(0x153)](_0x501891)){this[_0x2d4f99(0x44f)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x4c053a,_0x501891);break;}_0x33b605=_0x4c053a[_0x2d4f99(0x4a1)],_0x4bcc04=_0x501891[_0x2d4f99(0x4a1)],_0x463cdf[_0x2d4f99(0x440)]({'unitID':_0x3a507d,'undoMutations':_0x4c053a['m2Prime'],'redoMutations':_0x501891['m2Prime']});}return _0x463cdf[_0x2d4f99(0x2ec)]();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o[_0x53ae8e(0x49b)]),ue(0x1,o['ICommandService']),ue(0x2,o[_0x53ae8e(0x460)]),ue(0x3,E[_0x53ae8e(0x2eb)]),ue(0x4,o[_0x53ae8e(0x359)])],exports[_0x53ae8e(0x308)]);var pn=Object[_0x53ae8e(0x336)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x45d20d,_0xb6214f,_0x17b500)=>_0xb6214f in _0x45d20d?pn(_0x45d20d,_0xb6214f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17b500}):_0x45d20d[_0xb6214f]=_0x17b500,Tn=(_0x344b42,_0x3b3960,_0x5f0c56,_0x249681)=>{for(var _0x2fe464=_0x249681>0x1?void 0x0:_0x249681?mn(_0x3b3960,_0x5f0c56):_0x3b3960,_0x4e6b23=_0x344b42['length']-0x1,_0x321374;_0x4e6b23>=0x0;_0x4e6b23--)(_0x321374=_0x344b42[_0x4e6b23])&&(_0x2fe464=_0x321374(_0x2fe464)||_0x2fe464);return _0x2fe464;},we=(_0x18caaa,_0x51bcd7)=>(_0x53e412,_0x47df15)=>_0x51bcd7(_0x53e412,_0x47df15,_0x18caaa),Cn=(_0x5b78c5,_0x5c2594,_0x233932)=>gn(_0x5b78c5,_0x5c2594+'',_0x233932);const On=_0x53ae8e(0x3f1);exports[_0x53ae8e(0x236)]=class extends o['Plugin']{constructor(_0x287893,_0x3f8185,_0x5ad06f,_0x124a05){var _0x457407=_0x53ae8e;super(),A(this,_0x457407(0x31f)),(this[_0x457407(0x44f)]=_0x3f8185,this[_0x457407(0x3e0)]=_0x5ad06f,this[_0x457407(0x2f2)]=_0x124a05);const {..._0x3f60be}=o[_0x457407(0x2e3)]({},Qt,_0x287893);if(!_0x3f60be['socketService'])throw new Error(_0x457407(0x248));this[_0x457407(0x31f)]=_0x3f60be,this[_0x457407(0x2f2)][_0x457407(0x185)](Y,_0x3f60be);}[_0x53ae8e(0x443)](){var _0x21ccbd=_0x53ae8e;this[_0x21ccbd(0x2d5)](),this[_0x21ccbd(0x3f8)]();}['_registerDependencies'](){var _0x5ae65f=_0x53ae8e,_0x4dc1c4,_0x117059;this[_0x5ae65f(0x3e0)][_0x5ae65f(0x1b2)](o[_0x5ae65f(0x14a)])&&this['_logService'][_0x5ae65f(0x41c)](_0x5ae65f(0x39b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4d96de=o['mergeOverrideWithDependencies']([[o['IUndoRedoService'],{'useClass':exports[_0x5ae65f(0x308)]}],[exports[_0x5ae65f(0x32b)]],[exports[_0x5ae65f(0x195)]],[exports[_0x5ae65f(0x367)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x5ae65f(0x13f)]],[Fe,{'useClass':this['_config'][_0x5ae65f(0x143)]}],[E[_0x5ae65f(0x442)],{'useClass':exports['SnapshotServerOverHTTPService']}],[o['IAuthzIoService'],{'useClass':exports[_0x5ae65f(0x22d)]}],[z['IImageIoService'],{'useClass':exports[_0x5ae65f(0x266)]}],[o[_0x5ae65f(0x340)],{'useClass':exports[_0x5ae65f(0x4a4)]}],[exports[_0x5ae65f(0x2d2)]],[xe]],(_0x4dc1c4=this[_0x5ae65f(0x31f)])==null?void 0x0:_0x4dc1c4[_0x5ae65f(0x423)]);if(!((_0x117059=this[_0x5ae65f(0x31f)])!=null&&_0x117059[_0x5ae65f(0x3fb)])){const _0x53a432=_0x4d96de['findIndex'](([_0x4673be])=>_0x4673be===ve);_0x53a432!==-0x1&&_0x4d96de[_0x5ae65f(0x253)](_0x53a432,0x1);}o['registerDependencies'](this['_injector'],_0x4d96de);}['_initDependencies'](){var _0x5f19b7=_0x53ae8e,_0x3aa7c8,_0x1e90b0,_0x14f04f;this['_injector'][_0x5f19b7(0x30a)](K[_0x5f19b7(0x3fd)])[_0x5f19b7(0x38b)]({'priority':0x14,'interceptor':K[_0x5f19b7(0x158)]({'maxParallel':0x6})}),(_0x3aa7c8=this[_0x5f19b7(0x31f)])!=null&&_0x3aa7c8['enableOfflineEditing']||(_0x1e90b0=this[_0x5f19b7(0x3e0)][_0x5f19b7(0x30a)](q,o[_0x5f19b7(0x3e8)]['OPTIONAL']))==null||_0x1e90b0['disableLocalCache'](),(_0x14f04f=this[_0x5f19b7(0x31f)])!=null&&_0x14f04f[_0x5f19b7(0x262)]&&o[_0x5f19b7(0x318)](this[_0x5f19b7(0x3e0)],[[Ne]]),o[_0x5f19b7(0x318)](this[_0x5f19b7(0x3e0)],[[De],[exports[_0x5f19b7(0x2d2)]],[ye]]);}},Cn(exports[_0x53ae8e(0x236)],'pluginName',On),exports[_0x53ae8e(0x236)]=Tn([o[_0x53ae8e(0x3f7)](E['UniverCollaborationPlugin'],K[_0x53ae8e(0x36f)]),we(0x1,o[_0x53ae8e(0x359)]),we(0x2,o['Inject'](o['Injector'])),we(0x3,o[_0x53ae8e(0x176)])],exports[_0x53ae8e(0x236)]),exports[_0x53ae8e(0x138)]=Y,exports[_0x53ae8e(0x129)]=je,exports[_0x53ae8e(0x210)]=J,exports[_0x53ae8e(0x125)]=ee,exports[_0x53ae8e(0x203)]=$e,exports[_0x53ae8e(0x472)]=_t,exports[_0x53ae8e(0x43a)]=Bt,exports[_0x53ae8e(0x446)]=Pt,exports[_0x53ae8e(0x131)]=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x53ae8e(0x432)]=Fe,exports[_0x53ae8e(0x128)]=q,exports[_0x53ae8e(0x3c0)]=pt,exports[_0x53ae8e(0x2f0)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x53ae8e(0x3d3)]=xt,exports[_0x53ae8e(0x477)]=jt,exports[_0x53ae8e(0x2ce)]=ut,exports[_0x53ae8e(0x1db)]=se,exports['UnitStatus']=He,exports[_0x53ae8e(0x3bd)]=mt,exports[_0x53ae8e(0x36b)]=zt,exports[_0x53ae8e(0x3a1)]=gt;
1
+ 'use strict';var _0x859cf8=_0x532c;(function(_0x2ddbda,_0x1117ef){var _0x18b2e6=_0x532c,_0x48636b=_0x2ddbda();while(!![]){try{var _0x28716d=parseInt(_0x18b2e6(0x454))/0x1+parseInt(_0x18b2e6(0x3e5))/0x2+parseInt(_0x18b2e6(0x222))/0x3*(-parseInt(_0x18b2e6(0x2cd))/0x4)+-parseInt(_0x18b2e6(0x1e3))/0x5+parseInt(_0x18b2e6(0xcf))/0x6*(-parseInt(_0x18b2e6(0x1bb))/0x7)+-parseInt(_0x18b2e6(0x1b0))/0x8+parseInt(_0x18b2e6(0x3ce))/0x9*(parseInt(_0x18b2e6(0x335))/0xa);if(_0x28716d===_0x1117ef)break;else _0x48636b['push'](_0x48636b['shift']());}catch(_0x2b850c){_0x48636b['push'](_0x48636b['shift']());}}}(_0x1d62,0x3db6b));var bt=Object[_0x859cf8(0x3f1)],Rt=(_0x65e774,_0x1b7ada,_0x3a994a)=>_0x1b7ada in _0x65e774?bt(_0x65e774,_0x1b7ada,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a994a}):_0x65e774[_0x1b7ada]=_0x3a994a,A=(_0x490083,_0x402c4e,_0x7842af)=>Rt(_0x490083,typeof _0x402c4e!='symbol'?_0x402c4e+'':_0x402c4e,_0x7842af);Object[_0x859cf8(0x3f1)](exports,Symbol[_0x859cf8(0x35e)],{'value':_0x859cf8(0x3af)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x859cf8(0x3ed),Ut=_0x859cf8(0x168),At=0x7d0,_t=_0x859cf8(0xfb),Pt=_0x859cf8(0x29e),ht=_0x859cf8(0x250),Lt=0x7530,ke=_0x859cf8(0x39f),lt=0x4e20,Mt=0x4e20,ut=_0x859cf8(0x12e),wt=0x3,xt=_0x859cf8(0x300),kt=0x3e8,$t='/universer-api/comb',Ht=_0x859cf8(0x23d),jt=_0x859cf8(0x263),Bt='/universer-api/uniscript';var vt=(_0x5a8f7b=>(_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2d1)]=0x0]='UNDEFINED',_0x5a8f7b[_0x5a8f7b['OK']=0x1]='OK',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x13f)]=0x2]=_0x859cf8(0x13f),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2fa)]=0x3]=_0x859cf8(0x2fa),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x297)]=0x4]=_0x859cf8(0x297),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x11a)]=0x5]=_0x859cf8(0x11a),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x219)]=0x6]=_0x859cf8(0x219),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x324)]=0x7]=_0x859cf8(0x324),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x272)]=0x8]=_0x859cf8(0x272),_0x5a8f7b[_0x5a8f7b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1ca)]=0xa]=_0x859cf8(0x1ca),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x368)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5a8f7b[_0x5a8f7b['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x859cf8(0x111),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x100)]=0xd]=_0x859cf8(0x100),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a6)]=0xe]=_0x859cf8(0x2a6),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x438)]=0xf]=_0x859cf8(0x438),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x281)]=0x10]=_0x859cf8(0x281),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3b5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1ea)]=0x65]=_0x859cf8(0x1ea),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x382)]=0xc9]=_0x859cf8(0x382),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x17c)]=0xca]=_0x859cf8(0x17c),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x247)]=0x1389]=_0x859cf8(0x247),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1e6)]=0x1772]=_0x859cf8(0x1e6),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x189)]=0x1773]=_0x859cf8(0x189),_0x5a8f7b[_0x5a8f7b['APPLY_REJECT']=0x1b59]=_0x859cf8(0x307),_0x5a8f7b[_0x5a8f7b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x183)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1f8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2e5)]=0x1b5d]=_0x859cf8(0x2e5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2c5)]=0x1f41]=_0x859cf8(0x2c5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x191)]=0x232a]=_0x859cf8(0x191),_0x5a8f7b[_0x5a8f7b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x859cf8(0x11d),_0x5a8f7b[_0x5a8f7b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x859cf8(0x36a),_0x5a8f7b[_0x5a8f7b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x859cf8(0x275),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x148)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5a8f7b[_0x5a8f7b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5a8f7b[_0x5a8f7b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x859cf8(0x3ad),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3e2)]=0x2714]=_0x859cf8(0x3e2),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3b3)]=0x271a]=_0x859cf8(0x3b3),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x397)]=0x271b]=_0x859cf8(0x397),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x248)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x443)]=0x271d]=_0x859cf8(0x443),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x336)]=0x271e]=_0x859cf8(0x336),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1db)]=0x271f]=_0x859cf8(0x1db),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1d7)]=0x2720]=_0x859cf8(0x1d7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x347)]=0x2af9]=_0x859cf8(0x347),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x17d)]=0x2ee1]=_0x859cf8(0x17d),_0x5a8f7b[_0x5a8f7b['INVALID_INVITE_CODE']=0x2ee2]=_0x859cf8(0x18c),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x16b)]=0x2ee3]=_0x859cf8(0x16b),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x169)]=0x2ee4]=_0x859cf8(0x169),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x371)]=0x2ee5]=_0x859cf8(0x371),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x24e)]=0x32c9]=_0x859cf8(0x24e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x15e)]=0x32ca]=_0x859cf8(0x15e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a5)]=0x32cb]=_0x859cf8(0x2a5),_0x5a8f7b[_0x5a8f7b['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x10e)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3f7)]=0x36b3]=_0x859cf8(0x3f7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1b5)]=0x36b4]=_0x859cf8(0x1b5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3fb)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x11e)]=0x36b6]=_0x859cf8(0x11e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x137)]=0x36b7]=_0x859cf8(0x137),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x387)]=0x36b8]=_0x859cf8(0x387),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x152)]=0x3715]=_0x859cf8(0x152),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x22e)]=0x3716]=_0x859cf8(0x22e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x245)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x217)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x240)]=0x3a99]=_0x859cf8(0x240),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3c0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2b8)]=0x3a9b]=_0x859cf8(0x2b8),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3a7)]=0x3a9c]=_0x859cf8(0x3a7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x354)]=0x3a9d]=_0x859cf8(0x354),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2aa)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x262)]=0x3a9f]=_0x859cf8(0x262),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x167)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3c1)]=-0x1]='UNRECOGNIZED',_0x5a8f7b))(vt||{}),X=(_0x2d5a46=>(_0x2d5a46[_0x2d5a46['UNIVER_UNKNOWN']=0x0]=_0x859cf8(0x31a),_0x2d5a46[_0x2d5a46[_0x859cf8(0x44b)]=0x1]=_0x859cf8(0x44b),_0x2d5a46[_0x2d5a46[_0x859cf8(0x358)]=0x2]=_0x859cf8(0x358),_0x2d5a46[_0x2d5a46['UNIVER_SLIDE']=0x3]=_0x859cf8(0x292),_0x2d5a46[_0x2d5a46['UNIVER_PROJECT']=0x4]=_0x859cf8(0x3de),_0x2d5a46[_0x2d5a46[_0x859cf8(0x3c1)]=-0x1]=_0x859cf8(0x3c1),_0x2d5a46))(X||{}),W=(_0x5ab2a1=>(_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x1c9)]=0x0]=_0x859cf8(0x1c9),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x206)]=0x1]=_0x859cf8(0x206),_0x5ab2a1[_0x5ab2a1['JOIN']=0x2]=_0x859cf8(0x1a9),_0x5ab2a1[_0x5ab2a1['LEAVE']=0x3]='LEAVE',_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x3a1)]=0x4]=_0x859cf8(0x3a1),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x419)]=0x5]=_0x859cf8(0x419),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x373)]=0x6]=_0x859cf8(0x373),_0x5ab2a1[_0x5ab2a1['UNRECOGNIZED']=-0x1]=_0x859cf8(0x3c1),_0x5ab2a1))(W||{}),re=(_0x40e050=>(_0x40e050[_0x40e050[_0x859cf8(0x37f)]=0x0]=_0x859cf8(0x37f),_0x40e050[_0x40e050['OK']=0x1]='OK',_0x40e050[_0x40e050[_0x859cf8(0x182)]=0x2]=_0x859cf8(0x182),_0x40e050[_0x40e050[_0x859cf8(0x26e)]=0x3e9]=_0x859cf8(0x26e),_0x40e050[_0x40e050[_0x859cf8(0x2f6)]=0x3ea]=_0x859cf8(0x2f6),_0x40e050[_0x40e050['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x859cf8(0x1f2),_0x40e050[_0x40e050[_0x859cf8(0x1b9)]=0x3ec]=_0x859cf8(0x1b9),_0x40e050[_0x40e050['UNRECOGNIZED']=-0x1]=_0x859cf8(0x3c1),_0x40e050))(re||{}),dt=(_0x4ad24d=>(_0x4ad24d[_0x4ad24d['Undefined']=0x0]='Undefined',_0x4ad24d[_0x4ad24d[_0x859cf8(0x346)]=0x1]='HttpImport',_0x4ad24d[_0x4ad24d[_0x859cf8(0x1fe)]=0x2]=_0x859cf8(0x1fe),_0x4ad24d[_0x4ad24d[_0x859cf8(0x36e)]=0x3]=_0x859cf8(0x36e),_0x4ad24d[_0x4ad24d[_0x859cf8(0x392)]=0x4]=_0x859cf8(0x392),_0x4ad24d[_0x4ad24d[_0x859cf8(0xf1)]=0x5]=_0x859cf8(0xf1),_0x4ad24d[_0x4ad24d[_0x859cf8(0xf6)]=0x6]='ClipsheetFragments',_0x4ad24d[_0x4ad24d[_0x859cf8(0x3c1)]=-0x1]=_0x859cf8(0x3c1),_0x4ad24d))(dt||{});function _0x1d62(){var _0x85c7cb=['image/bmp','getCollabEntity','deleteCollaborator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','ITransformService','APPLY_REJECT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_entityInit$','unitID','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','update','SheetTransformSelectionsService','getActiveSheet','LIVESHARE_OPERATION','/universer-api/snapshot/','_permissionService','_transformStack','min','cmd','_clearRedo','WordArray','reject','liveShareNewHost','UNIVER_UNKNOWN','_onLocalMutation','loadDoc','prototype','ivSize','target','BASE64','b64DecodeUnicode','_compressMutationService','Hasher','INVALID_ARGUMENT','CHANGESET_REJ','_instanceService','AwaitingState','unitId','__esModule','isTransformMutationsWithChangesetFailure','complete','CommentService','BlockCipherMode','_initDependencies','Cipher','Decryptor','telemetry\x20info\x20is\x20not\x20initialized','Utf8','loadUnitOfRevision','interceptor','2195330YCwTwy','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','splice','ITelemetryService','unitInfo$','getUnitId','hasher','_collabSessionService','_isPermissionRej','readyForCollab','stopTime','CollaborativeUndoRedoService','requestParams','_getSendChangesetTimeout','collabSubmitChangesetUrl','location','parseProtocolChangeset','HttpImport','PY_RUNTIME_SCRIPT_ERROR','Failed\x20to\x20update\x20permission\x20point','CollaborationImageIoService','initWorkbookPermissionChange','shouldCloseConn','ConflictState','JOIN_ROOM_FAILED','_config','unsubscribe','onTransformSelections','transformChangesets','addHandlerCallback','Malformed\x20UTF-8\x20data','REDEMPTION_USER_NOT_ELIGIBLE','_registerDependencies','Workbook','synced','UNIVER_SHEET','pending','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20changeset.','CLOSE_ROOM','mapDocumentTypeToUniverType','toStringTag','{fileID}','CompressMutationService','emitEvent','entries','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_retryCount','revision','updateCursorEvent','substr','MOBILE_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','LICENSE_EXPORT_SIZE_EXCEEDED','ImageSourceType','OTHER_CLIENTS_EDITING','disableLocalCache','UnitEmbedded','[SyncedState]:\x20received\x20acknowledgement.','getTime','INVITE_CODE_ALREADY_BOUND','DependentOn','RECV','close','onLocalMutation','onStarting','_DEC_XFORM_MODE','LIVESHARE_REQUEST_HOST','CHANGESET_SHOULD_RETRY','_sender','x-univer-host','stringify','words','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNKNOWN_CODE','loadOfflineData','max','USER_NOT_FOUND','_clearScheduledTask','resourceIDs','_onRemoteRejected','headers','ENTITLE_USE_COUPON_NOT_1ST_TRADE','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onCommentUpdate','reconnect','_updateStatus','COMMENT_UPDATE','ICollaborationSocketService','[CollaborationSessionService]','objectType','_shouldReportTelemetry','UnitSnapshot','_resendTimeout','conflict','_getAPIPrefix','_updateState','YUUMI_ASYNCIO_CANCELLED','getUnitType','IContextService','_socketReady','state$','includes','decrypt','/resources','HEARTBEAT_TIMEOUT','override','INGEST','randomBytes','focused$','createDecryptor','Could\x20not\x20dynamically\x20require\x20\x22','updatePermissionPoint','REDEMPTION_CODE_NOT_STARTED','_unlockTransition','OPTIONAL','_onConnectionOpen','OpenSSL','_xformMode','YUUMI_RATE_OVER_LIMIT','selections','Module','_change$','_scheduleCollaborationTimeoutTimer','enableAuthServer','YUUMI_NO_CUBOID_FOR_QUESTION','body','CURRENT_STATUS_CANNOT_OPERATE','Univer','__creator','People','LocalUndoRedoService','_iv','/object/','workbook','_startCollaboration','/object','msCrypto','REDEMPTION_CODE_INACTIVE','UNRECOGNIZED','_telemetryService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/rev/','subscribe','_doCreateSocket','dispose','/-/object/list','transformMutationsWithChangeset','getTypeOfUnitAdded$','asObservable','session','RETRY_CONNECTING_MAX_COUNT_KEY','27mXjoNL','infoRsp','_timeoutTimer','collaboratorID','addImageSourceCache','byteLength','members','range','&to=','_commandService','getInterceptPoints','not_collab','patch','SOCKET_FAILED_RETRY','RevisionService','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_PROJECT','toggleOffline','onTransformRemoteChangesetByIMECache','_doProcessBlock','YUUMI_SUBSCRIPTION_NOT_FOUND','compose','origin','466836XzsilO','USERS_LEAVE','StreamCipher','[FetchMissState]','encryptBlock','collabWebSocketUrl','IImageIoService','_invKeySchedule','/universer-api/snapshot','replace','[DataLoaderService]','IMentionIOService','defineProperty','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','append','push','transformSelections','delay','ENTITLE_DUP_SUBSCRIPTION','session.join-failed','onRemoteChangeset','_socketMessageSubscription','ENTITLE_INVALID_COUPON_CODE','subject','delete','format','parseChangesetToProtocol','putCollaborators','SUBMIT_CHANGESET','init','post','createIdentifier','editingUnit','loadUnit','SHA1','objectID','uuidv4','clamp','getConfig','processBlock','UniverNetworkPlugin','_schedule','_getLoginPath','?size=','PERSON','_members','repeat','_createHandler','csShouldRetryEvent','Inject','onStateChange','_toggleOnline','HEARTBEAT','_localeService','_snapshotService','_onFetchMissResult','CollaborationEvent','type','salt','_key','_waitCount','appendMutation','concat','getLocalCacheKey','DEFAULT_FILE_NAME','Base64','UserManagerService','FileId','padding','_getCurrentRevision','title','getCurrentSelections','_maxTotalRetryTimeout','confirm','reqId','_substituteRedoStack','_collaborationPaused','encrypt','_transformUndoredo','take','sigBytes','_sendHeartbeat','\x0aCurrent:\x20','AUTHORIZE_CODE_ILLEGAL','univer-pro.collaboration-client-socket-service','byteOffset','touchDependencies','allowed','liveShareOperation','getDeserializedSheetBlock','[CollaborationSession]','_onOffline','getGlobalObject','JOINING','YUUMI_ALL_TABLES_IS_INVALID','url','SessionStatus','_onRemoteChangeset','isTransformMutationsWithChangesetSuccess','image/jpg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','has','UNIVER_DOC','_onJoinRoomEvent','_init','[CollaborationEntity]','length','_clearRetryConnectingTimer','SUBMIT_CHANGESET_TIMEOUT','_replayCachedMutations','changesets','20223UCcbLa','_univerInstanceService','isInternalEditorID','NoPadding','_fetchMissChangesets','apply','_getAPIPrefixPath','306KAcxap','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','collaboration-client.local-cache-service','getSnapshotAPIPath','getResourcesRequest','waitForRoom$','onMissedChangesetFetched','message$','/unit/','registerHTTPInterceptor','createSocket','status$','put','_substituteUndoStack','Subject','list','connection\x20error','fromCollab','_waitForHeartbeatResponse','_sendHeartbeatTimer','MUTATION','getAllMembers','_tryEnsureSocket','RichTextEditingMutation','_scheduleCompleteTimestamp','updateOfflineData','uniscriptRunEvent','charAt','EvpKDF','saveImage','HTTPService','pad','CBC','collaborators','UserProfileImg','join','socketService','kdf','shareReplay','ClipsheetFragments','size','setWaitCount','LocaleService','refreshPermission','ws://127.0.0.1:8000/universer-api/comb/connect','fromCharCode','onTransformRemoteChangesetByStateCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','editing\x20status\x20changed\x20to','EMAIL_VERIFY_CODE_MISMATCH','_userManagerService','SnapshotServerOverHTTPService','ERROR_IMAGE','_disableEditing','[UniverCollaborationClientPlugin]','_acknowledgedAwaitingChangeset','_doCryptBlock','save\x20fail\x20reason\x20is\x20','_networkConditionService','Latin1','_oKey','compute','withCredentials','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createInstance','localeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SyncedState','_clearUndo','href','_doReset','retryConnectingInterval','mixIn','COMPRESS_MUTATION_APPLY','error','UNAUTHENTICATED','IAuthzIoService','textEncoder','LICENSE_IMPORT_SIZE_EXCEEDED','ENTITLE_COUPON_EXPIRED','equals','Injector','/new_changes','transformUndoRedo','decryptBlock','_undoStacks','&assign=','_initMergeInterceptor','setShowComponents','_tryReconnect','_getDownloadEndpointURL','_createHmacHelper','__splitChunk__','ILogService','firstValueFrom','RETRY_CONNECTING_MAX_COUNT','_awaitingChangeset','_handlerCallback','createCollaborator','DataLoaderService','from','blockSize','CHANGESET_ACK','_onCombEvent','ENTITLE_COUPON_USED_UP','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getRedoStack','UnitStatus','_getCtorByUniverType','[SyncedState]:\x20received\x20rejection.','newCsEvent','finalize','INTERNAL_ERROR','ReplaySubject','error$','_logService','next','getTypeOfUnitDisposed$','_changesetSessionId','downloadEndpointUrl','POST','YUUMI_UNABLE_LOAD_URL','MSG_FOR_ERROR','SheetCollaborationEntity','FETCH_MISS','_initRequestHeader','_joinRoom','_executeRemoteChangeset','set','onRemoteRetry','_createSocket','ENTITLE_CHAT_LIMIT_EXCEED','_sendingTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IDLE','_configService','commentUpdateEvent','isArray','MergeInterceptorFactory','getCurrentUser','userID','\x20to\x20','encodeURIComponent','MOBILE_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','IPermissionService','BehaviorSubject','$super','snapshotServerUrl','onload','c2Prime','onTransformState','DATA_SOURCE_TOO_LARGE','SNAPSHOT_URL_KEY','USER_NOT_INVITED_CODE','forEach','INVITE_CODE_REQUIRED','sessionStatus','code','DocCollaborationEntity','routeKey','mutations','disposeWithMe','getUnit','_doFinalize','_sessions','src','/universer-api/file/{fileID}/sign-url','toDisposable','enc','_removeRoom','setConfig','/block/','USER_IS_ANONYMOUS','INVITE_CODE_HAS_BEEN_UES','_onMessage','isTransformChangesetsSuccess','transformStack\x20failed!','_changesetReqId','FAIL','APPLY_REVISION_CONFILICT','_cipher','catch','auth.needGotoLoginAlert','_imageSourceCache','_clearCollaborationTimeoutTimer','ENSURE_SNAPSHOT_EXECUTION','HMAC','_localCacheService','INVALID_INVITE_CODE','[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','_mode','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getMemberID','SUCCUSS','_keyPriorReset','awaiting','_checkMissing','every','algo','_ENC_XFORM_MODE','fetching\x20missing\x20changesets\x20from\x20','_onConnectionFailed','enableCollaboration','actions','fetchMiss','getCollabEntity$','Encryptor','_roomCreated$','_hasher','onMissingChangesets','_memberService','_status$','listCollaborators','Plugin','state','JOIN','PendingState','_onRecvEvent','close$','UniverCollaborationClientPlugin','members$','_injector','361840mPRTlw','CollaborationSessionService','CollaborationSocketService','_initCloseConn','ICommandService','PAYMENT_CHANNEL_NOT_SUPPORT','updateMember','floor','session.room-cnt-exceeds','GLOBAL_ROOMS_CNT_EXCEEDS','removeMember','17591zOnOGH','IConfigService','_emitMembers','resolve','ciphertext','_collaborationTimeoutTimer','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','getUnitOnRev','[OfflineState]:\x20received\x20acknowledgement.','sheets','charCodeAt','_roomMembers','onSyncEditingCollabCursor','UNKNOWN_CMD','LOGIN_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','NEW_CHANGESETS','_applyRemoteChangeset','FetchingMissState','data','ISnapshotServerService','deserializeToCombResponse','_iKey','Pkcs7','_hash','pipe','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','BlockCipher','awaiting_with_pending','Tools','YUUMI_AI_RUN_FAILED','SheetsSelectionsService','CollaborationEntity','session.room-not-exists','getMember','getOwnPropertyDescriptor','deepClone','_retryConnectingTimer','224715flOnSC','getCurrentRevOfUnit','\x20in\x20_schedule.','SNAPSHOT_HAS_BEEN_REMOVED','MD5','UNISCRIPT_RUN','FETCH_MISSING','ERROR_AGAIN','values','now','CONFLICT','AwaitingWithPendingState','_reverseMap','objectActions','unknown','JOIN_ROOM_PERMISSION_DENIED','IUndoRedoService','create','updateCollaborator','getSheetBlock','Base','APPLY_PERMISSION_DENIED','_onConflict','offline','encode','LEAVE','_process','HttpExport','/-/object/-/batch_allowed','LIVESHARE_TERMINATE','image/gif','_transformRemoteChangesetByIMECache','SYNCED','_singleActiveUnitService','_transformIMECache','HELLO','\x0aAfter:\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','fetchThroughInterceptors','requireSession','MentionIoHttpService','commentUpdate$','toggleOnline','onlyLocal','result','DisposableCollection','_unitInfo$','OfflineState','ONLINE','_transformRemoteChangesetByStateCache','LIVESHARE_NEW_HOST','OFFLINE','ENTITLE_NEED_BILLING_ADDRESS','_onUserLeave','ALREADY_EXISTS','ThresholdInterceptorFactory','SheetPermissionInitController','_submitChangeset','event$','merge','SetSelectionsOperation','incrementRevOfUnit','onRemoteAck','264675owmQhn','NO_OTHER_CLIENTS_EDITING','SHOULD_CLOSE_CONN','debug','PasswordBasedCipher','CommandType','submit\x20changeset\x20error!','getValue','getWorkbookSelections','_sessionStatus$','_rescheduleHeartbeat','m2Prime','ENTITLE_REPORT_LIMIT_EXCEED','_transformService','sessionStatus$','/collaborator','joinEvent','_event$','image/png','resend','takeUntil','getUnitStatus$','loginUrlKey','_createInitialState','_prevBlock','UPDATE_PERMISSION_OBJ','_eventService','/universer-api/oidc/authpage','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','REDEMPTION_INVALID_CODE','_socketService','authzUrl','&source=','localCacheService','ENTITLE_INSUFFICIENT_QUOTA','ISingleActiveUnitService','CHANGESET_REVISION_CONFILICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','NOT_COLLAB','_stopTelemetryCollaborationNewChangeset','_minBufferSize','isPermissionRej','/fetchmissing?from=','WECHAT_HAS_BEEN_BOUND','_candidateSocket','HEARTBEAT_INTERVAL','filter','BufferedBlockAlgorithm','MemberService','signUrlServerUrl','_telemetryInfo','CollaborationUIEventId','_transformStateCache','c1Prime','map','originalMeta','_members$','_httpService','_remoteChangesetQueue','_lockTransition','execute','_append','UniverInstanceType','REDEMPTION_CODE_HAS_BEEN_CREATED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setCurrentUser','[CollaborationUndoRedoService]','toString','send','_getSignURL','_clearHeartbeatTimer','function','PSEUDO_FETCH_MISSING_RESULT','failed\x20to\x20apply\x20missed\x20changesets!','_collaborationSessionService','JOIN_ROOM_FULL','RxDisposable','default','get','TOO_MANY_REQUESTS','exports','_entities','LICENSE_DISTRO_REJECTED','EmptyMutationInfo','OTHER_CLIENT_EDITING','reduce','sid','_collaborationUIEventService','onRemoteRej','collaboration-client.config','sin','saveSnapshot','_clearTimeoutTimer','onTransformIME','LOGIN_TOKEN_PROCESSING_FAILED','pluginName','dispose$','clone','[OfflineState]:\x20received\x20rejection.','MentionType','_type','awaitingChangeset','enableSingleActiveInstanceLock','fetch_missing','updatePermissionObjEvent','_resendWithTimeout','_revisionService','then','__Key__','_HTTPService','textRanges','UNIVER_SLIDE','find','open$','_getUploadFileURL','_createHelper','NOT_FOUND','_resendTimer','_initUnitPermissionChange','iterations','saveChangeset','getFocusedUnit','_createInitialStateImpl','/universer-api/user/session-ticket','string','HmacMD5','ILocalCacheService','leaveEvent','_queuedRemoteChangesets','_snapshotServerService','EMAIL_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','csRejEvent','LICENSE_MAX_UNITS_EXCEEDED','parse','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IUniverInstanceService','_undoRedoService','call','getRandomValues','_updateLocalCache','_pendingMutations','SnapshotService','_commentUpdate$','avatar','[CollaborationState]:\x20apply\x20error!','extend','responseType','_throwTelemetryCollaborationNewChangeset','REDEMPTION_CODE_FULLY_REDEEMED','image/jpeg','slice','_handler','collaMsg','ImageUploadStatusType','fetchMissingChangesets','_commentService','_replaceFileID','name','status','_toggleOffline','LOCAL_CACHE_INTERVAL_KEY','CONNECTOR_DATA_TOO_LARGE','InsertSheetMutation','onSendChangeset','/allowed','Hex','WorkbookEditablePermission','getRoom','crypto','20edZosp','AuthzIoHttpService','_listenToNetworkCondition','baseRev','UNDEFINED','_nDataBytes','roomInfos','reset','add','_unitID','_state','_decreaseWaiting','params','_state$','_transitionLocked','CollaborationController','online$','_socket$','session.room-permission-denied','_onRemoteACK','cfg','HTTPRequest','_data','[PendingState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','unitId\x20is\x20not\x20found','mode','hasOwnProperty','_clearLocalCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_sheetTransformSelectionsService','findIndex','_parse','_nRounds','AWAITING_WITH_PENDING','batchAllowed','lib','closeSession','_socket','concatMap','Optional','JOIN_ROOM_NOT_EXISTS','collaboration_new_changeset','USERS_ENTER','key','PERMISSION_DENIED','executeCommand','_syncEditingCollabCursor','keySize','eventID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LOCAL_CACHE_INTERVAL'];_0x1d62=function(){return _0x85c7cb;};return _0x1d62();}const Ft=_0x859cf8(0x2f7);function Vt(_0x5dadb5){var _0x22a920=_0x859cf8;return JSON[_0x22a920(0x37c)](_0x5dadb5)[_0x22a920(0x44f)];}var J=(_0x8f2ab6=>(_0x8f2ab6[_0x859cf8(0x277)]='OTHER_CLIENT_EDITING',_0x8f2ab6['PERMISSION_DENIED']='PERMISSION_DENIED',_0x8f2ab6[_0x859cf8(0x1ed)]=_0x859cf8(0x1ed),_0x8f2ab6[_0x859cf8(0x35c)]=_0x859cf8(0x35c),_0x8f2ab6[_0x859cf8(0x34d)]=_0x859cf8(0x34d),_0x8f2ab6[_0x859cf8(0x3db)]=_0x859cf8(0x3db),_0x8f2ab6[_0x859cf8(0x30c)]=_0x859cf8(0x30c),_0x8f2ab6['SUBMIT_CHANGESET_TIMEOUT']=_0x859cf8(0x451),_0x8f2ab6))(J||{});class ee{constructor(){var _0x5f586c=_0x859cf8;A(this,_0x5f586c(0x233),new j['Subject']()),A(this,_0x5f586c(0x21d),this[_0x5f586c(0x233)][_0x5f586c(0x3cb)]());}[_0x859cf8(0x361)](_0x48f8ce){var _0xb381d3=_0x859cf8;this[_0xb381d3(0x233)][_0xb381d3(0x143)](_0x48f8ce);}}class $e{constructor(){var _0x5962f8=_0x859cf8;A(this,_0x5962f8(0x2b2),new j[(_0x5962f8(0xdd))]()),A(this,_0x5962f8(0x20c),this[_0x5962f8(0x2b2)][_0x5962f8(0x3cb)]());}[_0x859cf8(0x38a)](_0x6d2989){var _0x1607ed=_0x859cf8;this[_0x1607ed(0x2b2)][_0x1607ed(0x143)](_0x6d2989);}}var Wt=Object[_0x859cf8(0x1e0)],Gt=(_0x3e393f,_0x1c7340,_0x49d97c,_0x2c2ecd)=>{var _0x5efbaf=_0x859cf8;for(var _0x24f5bd=_0x2c2ecd>0x1?void 0x0:_0x2c2ecd?Wt(_0x1c7340,_0x49d97c):_0x1c7340,_0x300c0d=_0x3e393f[_0x5efbaf(0x44f)]-0x1,_0x27c62a;_0x300c0d>=0x0;_0x300c0d--)(_0x27c62a=_0x3e393f[_0x300c0d])&&(_0x24f5bd=_0x27c62a(_0x24f5bd)||_0x24f5bd);return _0x24f5bd;},Ve=(_0x3a11ef,_0x19867f)=>(_0x716664,_0x4d2e9b)=>_0x19867f(_0x716664,_0x4d2e9b,_0x3a11ef);exports[_0x859cf8(0x253)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x14d36b,_0x162eb1){var _0x4ca42e=_0x859cf8;super(),A(this,'_roomMembers',new Map()),A(this,_0x4ca42e(0x1a1),new j[(_0x4ca42e(0xdd))]()),(this[_0x4ca42e(0xc9)]=_0x14d36b,this[_0x4ca42e(0x101)]=_0x162eb1,this['disposeWithMe'](j[_0x4ca42e(0x21e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x4ca42e(0x261)]['UNIVER_SHEET'])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x5e96ca=>_0x5e96ca[_0x4ca42e(0x33a)]())),this[_0x4ca42e(0xc9)]['getTypeOfUnitDisposed$'](o['UniverInstanceType']['UNIVER_DOC'])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x10b8e0=>_0x10b8e0[_0x4ca42e(0x33a)]())),this[_0x4ca42e(0xc9)][_0x4ca42e(0x144)](o['UniverInstanceType'][_0x4ca42e(0x292)])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x40ec7c=>_0x40ec7c[_0x4ca42e(0x33a)]())))['subscribe'](_0x559fee=>this[_0x4ca42e(0x179)](_0x559fee))));}[_0x859cf8(0xd4)](_0x35972c){var _0xa3cb70=_0x859cf8;return this['_roomMembers']['has'](_0x35972c)?j['of'](this['_roomMembers'][_0xa3cb70(0x271)](_0x35972c)):this['_roomCreated$'][_0xa3cb70(0x1d5)](V[_0xa3cb70(0x259)](_0x17db08=>{var _0x21dd3b=_0xa3cb70;if(_0x17db08===_0x35972c)return this[_0x21dd3b(0x1c7)][_0x21dd3b(0x271)](_0x17db08);}));}[_0x859cf8(0x264)](_0x3fc873){var _0xd4a2a7=_0x859cf8;this[_0xd4a2a7(0x101)]['setCurrentUser'](_0x3fc873);}['getCurrentUser'](){var _0x22b710=_0x859cf8;return this['_userManagerService'][_0x22b710(0x15a)]();}[_0x859cf8(0x1b6)](_0x215c78,_0x29a1b2){var _0x166ac0=_0x859cf8;let _0xdc2296=this[_0x166ac0(0x1c7)][_0x166ac0(0x271)](_0x215c78);_0xdc2296||(_0xdc2296=new Yt(),this[_0x166ac0(0x1c7)][_0x166ac0(0x14f)](_0x215c78,_0xdc2296),this[_0x166ac0(0x1a1)]['next'](_0x215c78)),_0xdc2296[_0x166ac0(0x1b6)](_0x29a1b2);}[_0x859cf8(0x1ba)](_0x4209ec,_0x1371e9){var _0x42733a=_0x859cf8;const _0x556d48=this[_0x42733a(0x1c7)][_0x42733a(0x271)](_0x4209ec);_0x556d48&&_0x556d48[_0x42733a(0x1ba)](_0x1371e9);}[_0x859cf8(0x2cb)](_0x2b909){var _0x40a9f4=_0x859cf8;return this[_0x40a9f4(0x1c7)][_0x40a9f4(0x271)](_0x2b909);}[_0x859cf8(0x1df)](_0x1b83d5,_0x89c797){var _0x153137=_0x859cf8;const _0x1ca352=this[_0x153137(0x1c7)][_0x153137(0x271)](_0x1b83d5);if(_0x1ca352)return _0x1ca352['getMember'](_0x89c797);}['_removeRoom'](_0x4ea5fd){var _0x4e885b=_0x859cf8;const _0x15667b=this[_0x4e885b(0x1c7)][_0x4e885b(0x271)](_0x4ea5fd);_0x15667b&&(_0x15667b[_0x4e885b(0x3c7)](),this[_0x4e885b(0x1c7)]['delete'](_0x4ea5fd));}[_0x859cf8(0x3c7)](){var _0x438fac=_0x859cf8;this[_0x438fac(0x1c7)]['forEach'](_0x306cd8=>_0x306cd8[_0x438fac(0x3c7)]()),this[_0x438fac(0x1c7)]['clear'](),this[_0x438fac(0x1a1)][_0x438fac(0x32b)]();}},exports[_0x859cf8(0x253)]=Gt([Ve(0x0,o[_0x859cf8(0x2ab)]),Ve(0x1,o[_0x859cf8(0x416)](o[_0x859cf8(0x427)]))],exports[_0x859cf8(0x253)]);class Yt extends o[_0x859cf8(0x18e)]{constructor(){var _0x5444b0=_0x859cf8;super(...arguments),A(this,'_members',new Map()),A(this,_0x5444b0(0x25b),new j['BehaviorSubject'](this[_0x5444b0(0x412)])),A(this,_0x5444b0(0x1ae),this['_members$'][_0x5444b0(0x3cb)]());}[_0x859cf8(0x3c7)](){var _0x470ce4=_0x859cf8;this[_0x470ce4(0x412)]['clear']();}[_0x859cf8(0x1b6)](_0x2944af){var _0x363d78=_0x859cf8;this['_members']['set'](_0x2944af[_0x363d78(0x1d6)],_0x2944af),this['_emitMembers']();}[_0x859cf8(0x1ba)](_0x532b06){var _0x4b689a=_0x859cf8;this[_0x4b689a(0x412)][_0x4b689a(0x3fd)](_0x532b06);}[_0x859cf8(0x1df)](_0x2d4999){var _0x21da15=_0x859cf8;return this[_0x21da15(0x412)]['get'](_0x2d4999);}[_0x859cf8(0xe4)](){var _0x21b41d=_0x859cf8;return Array[_0x21b41d(0x133)](this[_0x21b41d(0x412)][_0x21b41d(0x1eb)]());}[_0x859cf8(0x1bd)](){var _0x1b9d79=_0x859cf8;this[_0x1b9d79(0x25b)][_0x1b9d79(0x143)](this[_0x1b9d79(0x412)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0xb836c5,_0x2efb0c,_0x2ebe4f,_0x949920)=>{var _0x2cdafd=_0x859cf8;for(var _0x2ded3b=_0x949920>0x1?void 0x0:_0x949920?Kt(_0x2efb0c,_0x2ebe4f):_0x2efb0c,_0x6b1281=_0xb836c5[_0x2cdafd(0x44f)]-0x1,_0x160e64;_0x6b1281>=0x0;_0x6b1281--)(_0x160e64=_0xb836c5[_0x6b1281])&&(_0x2ded3b=_0x160e64(_0x2ded3b)||_0x2ded3b);return _0x2ded3b;},ce=(_0x3c427f,_0x332abe)=>(_0x5963c4,_0x3c44e5)=>_0x332abe(_0x5963c4,_0x3c44e5,_0x3c427f),se=(_0x1433c8=>(_0x1433c8[_0x1433c8['IDLE']=0x0]='IDLE',_0x1433c8[_0x1433c8[_0x859cf8(0x442)]=0x1]=_0x859cf8(0x442),_0x1433c8[_0x1433c8[_0x859cf8(0x216)]=0x2]='OFFLINE',_0x1433c8[_0x1433c8[_0x859cf8(0x213)]=0x3]=_0x859cf8(0x213),_0x1433c8))(se||{});const We={[re[_0x859cf8(0x182)]]:_0x859cf8(0x3f8),[re[_0x859cf8(0x26e)]]:'session.room-full',[re[_0x859cf8(0x2f6)]]:_0x859cf8(0x1de),[re[_0x859cf8(0x1f2)]]:_0x859cf8(0x2df),[re[_0x859cf8(0x1b9)]]:_0x859cf8(0x1b8)};exports['CollaborationSession']=class extends o[_0x859cf8(0x26f)]{constructor(_0x1a557a,_0x542456,_0x5e6db6,_0x1452f7,_0x1cfb00,_0x427edc,_0x5f4ee7,_0x14fad7){var _0x6fc1c7=_0x859cf8;super(),A(this,_0x6fc1c7(0x22b),new j[(_0x6fc1c7(0x161))](0x0)),A(this,_0x6fc1c7(0x230),this['_sessionStatus$'][_0x6fc1c7(0x3cb)]()),A(this,_0x6fc1c7(0x233),new j[(_0x6fc1c7(0xdd))]()),A(this,_0x6fc1c7(0x21d),this[_0x6fc1c7(0x233)][_0x6fc1c7(0x3cb)]()),A(this,'_socket'),A(this,_0x6fc1c7(0x3fa)),A(this,_0x6fc1c7(0x1c0)),A(this,_0x6fc1c7(0x391),!0x1),A(this,'_telemetryInfo',null),(this[_0x6fc1c7(0x2d6)]=_0x1a557a,this['_logService']=_0x5e6db6,this[_0x6fc1c7(0x156)]=_0x1452f7,this[_0x6fc1c7(0x1a4)]=_0x1cfb00,this[_0x6fc1c7(0x2bf)]=_0x427edc,this[_0x6fc1c7(0x27a)]=_0x5f4ee7,this['_telemetryService']=_0x14fad7,this[_0x6fc1c7(0x391)]=!!this[_0x6fc1c7(0x3c2)],_0x542456[_0x6fc1c7(0x1d5)](j['takeUntil'](this[_0x6fc1c7(0x283)]))[_0x6fc1c7(0x3c5)](_0x5cc6fb=>{var _0x23a787=_0x6fc1c7,_0x5db3cd;typeof _0x5cc6fb>'u'||(this[_0x23a787(0x2f3)]=_0x5cc6fb,_0x5cc6fb?(this[_0x23a787(0x14d)](_0x5cc6fb),this[_0x23a787(0x3fa)]=_0x5cc6fb[_0x23a787(0xd6)]['subscribe'](_0x159314=>{var _0x435375=_0x23a787;_0x159314[_0x435375(0x16f)]===this[_0x435375(0x2d6)]&&this['_onCombEvent'](_0x159314);})):(this[_0x23a787(0x2b7)](),this['_sessionStatus$'][_0x23a787(0x143)](0x2),(_0x5db3cd=this[_0x23a787(0x3fa)])==null||_0x5db3cd[_0x23a787(0x34f)](),this[_0x23a787(0x3fa)]=null));}));}get[_0x859cf8(0x16c)](){var _0x1b239d=_0x859cf8;return this['_sessionStatus$'][_0x1b239d(0x229)]();}[_0x859cf8(0x192)](){var _0xbef196=_0x859cf8,_0x3ab679,_0x401270;return(_0x401270=(_0x3ab679=this['_socket'])==null?void 0x0:_0x3ab679[_0xbef196(0x1d6)])!=null?_0x401270:null;}[_0x859cf8(0x3c7)](){var _0x34499f=_0x859cf8;super[_0x34499f(0x3c7)](),this[_0x34499f(0x283)][_0x34499f(0x143)](),this[_0x34499f(0x283)][_0x34499f(0x32b)]();}['close'](){var _0x34bf9a=_0x859cf8,_0xccf95d,_0x2ed43a;this['_throwTelemetryCollaborationNewChangeset'](),(_0xccf95d=this[_0x34bf9a(0x2f3)])==null||_0xccf95d[_0x34bf9a(0x267)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2ed43a=this['_socket'])==null||_0x2ed43a[_0x34bf9a(0x374)](),this[_0x34bf9a(0x233)][_0x34bf9a(0x32b)](),this[_0x34bf9a(0x22b)]['complete'](),this['dispose']();}[_0x859cf8(0x136)](_0x54a778){var _0x5ac433=_0x859cf8;_0x54a778[_0x5ac433(0x315)]===W[_0x5ac433(0x1a9)]?this[_0x5ac433(0x44c)](_0x54a778):_0x54a778[_0x5ac433(0x315)]===W[_0x5ac433(0x373)]&&this[_0x5ac433(0x1ab)](_0x54a778);}[_0x859cf8(0x14d)](_0x1d1a33){var _0x3623a2=_0x859cf8;this[_0x3623a2(0x22b)][_0x3623a2(0x143)](0x1),_0x1d1a33[_0x3623a2(0x267)]({'cmd':W[_0x3623a2(0x1a9)],'routeKey':this[_0x3623a2(0x2d6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3623a2(0x2d6)]}]}});}[_0x859cf8(0x44c)](_0x421121){var _0x517480=_0x859cf8,_0x2dd0a3;if(_0x421121[_0x517480(0x16d)]in We){this[_0x517480(0x27a)][_0x517480(0x361)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x421121[_0x517480(0x16d)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x517480(0x22b)][_0x517480(0x143)](0x3);const _0x549fe6=(_0x2dd0a3=_0x421121[_0x517480(0x1cf)][_0x517480(0x2d3)][this[_0x517480(0x2d6)]])==null?void 0x0:_0x2dd0a3[_0x517480(0x3d4)];_0x549fe6&&_0x549fe6[_0x517480(0x16a)](_0x44d079=>this[_0x517480(0x1a4)][_0x517480(0x1b6)](this[_0x517480(0x2d6)],_0x44d079));}['_onRecvEvent'](_0x3be7d8){var _0x4b5f52=_0x859cf8;try{const _0x1e6697=_0x3be7d8['data'];switch(_0x1e6697[_0x4b5f52(0x2fe)]){case E[_0x4b5f52(0x41d)][_0x4b5f52(0x2f8)]:this['_onUserJoin'](_0x1e6697),this[_0x4b5f52(0x233)]['next'](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x3e6)]:this[_0x4b5f52(0x218)](_0x1e6697),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x135)]:case E[_0x4b5f52(0x41d)][_0x4b5f52(0x379)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4b5f52(0x188)](),this[_0x4b5f52(0x233)]['next'](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x149)]:this['_logService'][_0x4b5f52(0x119)](_0x4b5f52(0x108)+JSON[_0x4b5f52(0x37c)](_0x1e6697)),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;case E[_0x4b5f52(0x41d)][_0x4b5f52(0x38d)]:this[_0x4b5f52(0x2bf)][_0x4b5f52(0x38a)](_0x1e6697[_0x4b5f52(0x1cf)]),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;default:this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);}}catch(_0xc9122e){this[_0x4b5f52(0x142)][_0x4b5f52(0x119)](_0xc9122e,_0x3be7d8);}}['_onUserJoin'](_0x526591){var _0x23f582=_0x859cf8;this[_0x23f582(0x1a4)]['updateMember'](this[_0x23f582(0x2d6)],_0x526591[_0x23f582(0x1cf)]);}[_0x859cf8(0x218)](_0x59b551){var _0x5688d1=_0x859cf8;this['_memberService'][_0x5688d1(0x1ba)](this[_0x5688d1(0x2d6)],_0x59b551[_0x5688d1(0x1cf)][_0x5688d1(0x1d6)]);}async[_0x859cf8(0x267)](_0x16f54a,_0x3aac31){var _0x2b91ca=_0x859cf8;if(this[_0x2b91ca(0x16c)]!==0x3||!this[_0x2b91ca(0x2f3)])throw new Error(_0x2b91ca(0x389));try{_0x16f54a[_0x2b91ca(0x2fe)]===E[_0x2b91ca(0x41d)][_0x2b91ca(0x401)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x16f54a)),this[_0x2b91ca(0x2f3)]['send']({'cmd':W[_0x2b91ca(0x3a1)],'routeKey':_0x3aac31,'routeType':'','data':_0x16f54a});}catch(_0x4f60dd){this[_0x2b91ca(0x142)]['error'](_0x4f60dd);}}[_0x859cf8(0x3b1)](){var _0x4fd265=_0x859cf8,_0x502524;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xa7c19b=_0x532c;this[_0xa7c19b(0x1c0)]=null,this[_0xa7c19b(0x27a)]['emitEvent']({'id':J['SUBMIT_CHANGESET_TIMEOUT']});},(_0x502524=this[_0x4fd265(0x156)][_0x4fd265(0x40b)](ke))!=null?_0x502524:lt);}[_0x859cf8(0x188)](){var _0x19a6d0=_0x859cf8;this[_0x19a6d0(0x1c0)]&&(clearTimeout(this[_0x19a6d0(0x1c0)]),this[_0x19a6d0(0x1c0)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5356f8){var _0x530433=_0x859cf8;if(!this[_0x530433(0x391)])return;const {data:_0x1f2989}=_0x5356f8,{unitID:_0x4a854a,changeset:_0x5b85fc}=_0x1f2989,{mutations:_0x4317b6,type:_0x45ea42}=_0x5b85fc;this['_telemetryInfo']={'unitId':_0x4a854a,'type':_0x45ea42,'startTime':performance[_0x530433(0x1ec)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x4317b6)};}[_0x859cf8(0x24a)](){var _0xe9ab25=_0x859cf8;if(this[_0xe9ab25(0x391)]){if(!this['_telemetryInfo']){this[_0xe9ab25(0x142)][_0xe9ab25(0x119)](_0xe9ab25(0x43f),_0xe9ab25(0x331));return;}this[_0xe9ab25(0x255)]['stopTime']=performance[_0xe9ab25(0x1ec)](),this[_0xe9ab25(0x255)]['duration']=this['_telemetryInfo'][_0xe9ab25(0x33f)]-this[_0xe9ab25(0x255)][_0xe9ab25(0x388)],this['_telemetryService'][_0xe9ab25(0x305)](Ft,this[_0xe9ab25(0x255)]),this[_0xe9ab25(0x255)]=null;}}[_0x859cf8(0x2b7)](){var _0x1349af=_0x859cf8;this[_0x1349af(0x255)]=null;}},exports['CollaborationSession']=qt([ce(0x2,o[_0x859cf8(0x12c)]),ce(0x3,o['IConfigService']),ce(0x4,o[_0x859cf8(0x416)](exports['MemberService'])),ce(0x5,o[_0x859cf8(0x416)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x859cf8(0x2f5)](Nt[_0x859cf8(0x338)]))],exports['CollaborationSession']);const q=o[_0x859cf8(0x404)](_0x859cf8(0xd1));function zt(_0x5bd814){return'unit-cache-'+_0x5bd814;}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x546123,_0x54aa11,_0x4b5c40,_0x4f0afe)=>{var _0x5c802a=_0x859cf8;for(var _0x1370f2=_0x4f0afe>0x1?void 0x0:_0x4f0afe?Xt(_0x54aa11,_0x4b5c40):_0x54aa11,_0x544a8a=_0x546123[_0x5c802a(0x44f)]-0x1,_0x5e721b;_0x544a8a>=0x0;_0x544a8a--)(_0x5e721b=_0x546123[_0x544a8a])&&(_0x1370f2=_0x5e721b(_0x1370f2)||_0x1370f2);return _0x1370f2;},Ue=(_0x1b68f4,_0xe40363)=>(_0x42eead,_0x3ebfe1)=>_0xe40363(_0x42eead,_0x3ebfe1,_0x1b68f4);function Zt(_0x3cdce3){var _0x164a93=_0x859cf8;const {unitID:_0x531f9e,mutations:_0x2a2abc}=_0x3cdce3;return{'unitId':_0x531f9e,'subUnitId':_0x2a2abc[_0x164a93(0x44f)]>0x0?_0x2a2abc[0x0][_0x164a93(0x2d9)]['subUnitId']:null};}exports[_0x859cf8(0x30e)]=class{constructor(_0xdfe412,_0x4fee77,_0x16d292){var _0x32e06d=_0x859cf8;this[_0x32e06d(0x1af)]=_0xdfe412,this[_0x32e06d(0x22f)]=_0x4fee77,this[_0x32e06d(0x326)]=_0x16d292;}[_0x859cf8(0x3f5)](_0x2f996b){var _0x2524e6=_0x859cf8,_0xc36763,_0xbbbf45,_0x3fd2f5,_0x5e82bd;const _0x427910=this['_injector'][_0x2524e6(0x271)](Q[_0x2524e6(0x1dc)]),{unitId:_0x1c3f56,subUnitId:_0x5a2fdc}=Zt(_0x2f996b),_0x227737=_0x427910==null?void 0x0:_0x427910[_0x2524e6(0x22a)](_0x1c3f56)[_0x2524e6(0x42c)](),_0x5e81e2=(_0xbbbf45=(_0xc36763=this['_instanceService'][_0x2524e6(0x172)](_0x1c3f56))==null?void 0x0:_0xc36763[_0x2524e6(0x30f)]())==null?void 0x0:_0xbbbf45['getSheetId']();if(_0x227737[_0x2524e6(0x44f)]===0x0||!_0x1c3f56||!_0x5a2fdc)return;const _0x519443=[{'id':Q[_0x2524e6(0x21f)]['id'],'params':{'unitId':_0x1c3f56,'subUnitId':_0x5e81e2,'selections':o[_0x2524e6(0x1da)][_0x2524e6(0x1e1)](_0x227737)}}],_0x1a6256=this[_0x2524e6(0x22f)]['transformMutationsWithChangeset'](_0x2f996b,_0x519443);if(!E['isTransformMutationsWithChangesetSuccess'](_0x1a6256))throw _0x1a6256['error'];const _0x4b9a70=(_0x5e82bd=(_0x3fd2f5=_0x1a6256[_0x2524e6(0x22d)][0x0])==null?void 0x0:_0x3fd2f5[_0x2524e6(0x2d9)])==null?void 0x0:_0x5e82bd[_0x2524e6(0x3ae)];if(Array['isArray'](_0x4b9a70)&&_0x4b9a70[_0x2524e6(0x44f)]){if(_0x4b9a70[_0x2524e6(0x44f)]===_0x519443[0x0][_0x2524e6(0x2d9)]['selections'][_0x2524e6(0x44f)]&&_0x4b9a70[_0x2524e6(0x197)]((_0x494293,_0x4ff5dc)=>o['Rectangle'][_0x2524e6(0x11f)](_0x494293['range'],_0x519443[0x0][_0x2524e6(0x2d9)][_0x2524e6(0x3ae)][_0x4ff5dc][_0x2524e6(0x3d5)])))return;this[_0x2524e6(0x1af)][_0x2524e6(0x271)](o['ICommandService'])[_0x2524e6(0x2fb)](Q[_0x2524e6(0x21f)]['id'],{'unitId':_0x1c3f56,'subUnitId':_0x5e81e2,'selections':_0x4b9a70});}}},exports[_0x859cf8(0x30e)]=Jt([Ue(0x0,o['Inject'](o[_0x859cf8(0x120)])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x859cf8(0x2ab)])],exports[_0x859cf8(0x30e)]);const ve=o['createIdentifier'](_0x859cf8(0x1c2));var He=(_0x26e0b4=>(_0x26e0b4[_0x26e0b4['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x859cf8(0x223),_0x26e0b4[_0x26e0b4[_0x859cf8(0x36c)]=0x1]='OTHER_CLIENTS_EDITING',_0x26e0b4))(He||{});const Y=_0x859cf8(0x27c),Qt={};function ei(_0x5c4254){var _0xb9a6dc=_0x859cf8,_0x4c905d;return!!((_0x4c905d=_0x5c4254[_0xb9a6dc(0x2d9)])!=null&&_0x4c905d[_0xb9a6dc(0x12b)]);}const ti=new Set([Q[_0x859cf8(0x2c6)]['id']]);function Ge(_0x3daa61,_0x227b26,_0x3fa8b4,_0x2b1bc4,_0x34314d){var _0x28b579=_0x859cf8,_0x1fc43a,_0x1d10c4,_0x559962,_0x466d58;const _0x536cc9=[];for(const _0x4194f2 of _0x3daa61){if(ti[_0x28b579(0x44a)](_0x4194f2['id'])){if(_0x536cc9[_0x28b579(0x44f)]>0x0)break;_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);break;}if(ei(_0x4194f2)){if(_0x536cc9[_0x28b579(0x44f)]>0x0)break;_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);break;}_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);}const _0x56db2f=(_0x1d10c4=(_0x1fc43a=_0x34314d['getCurrentUser']())==null?void 0x0:_0x1fc43a[_0x28b579(0x15b)])!=null?_0x1d10c4:_0x28b579(0x1f1),_0x22d000=(_0x466d58=(_0x559962=_0x34314d[_0x28b579(0x15a)]())==null?void 0x0:_0x559962[_0x28b579(0x1d6)])!=null?_0x466d58:_0x28b579(0x1f1);return{'changeset':{'unitID':_0x227b26,'type':E[_0x28b579(0x35d)](_0x3fa8b4[_0x28b579(0x398)](_0x227b26)),'baseRev':_0x2b1bc4['getCurrentRevOfUnit'](_0x227b26),'revision':0x0,'userID':_0x56db2f,'memberID':_0x22d000,'mutations':_0x536cc9},'pendingMutations':_0x3daa61[_0x28b579(0x2ba)](_0x536cc9[_0x28b579(0x44f)])};}function ii(_0x45a484,_0x577294,_0x2101c7,_0x19eaea,_0x381d03){var _0x14215d=_0x859cf8,_0xb9ec5b,_0xadaf3b,_0x54a322,_0x2bd1aa;const _0x3c9655=[_0x45a484[_0x14215d(0x278)]((_0x3a2292,_0x5d9db5)=>{var _0x404fcf=_0x14215d,_0x5ce941;const {id:_0x10a26b}=_0x3a2292,{id:_0x355fbb,type:_0x51506f}=_0x5d9db5,_0x9f4c5c=(_0x5ce941=_0x3a2292['params'])!=null?_0x5ce941:{'actions':null},_0x5334a8=_0x5d9db5[_0x404fcf(0x2d9)];if(_0x10a26b&&_0x10a26b!==_0x355fbb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10a26b+'\x20-\x20'+_0x355fbb+'.');return{..._0x3a2292,'id':_0x355fbb,'type':_0x51506f,'params':{'unitId':_0x5334a8['unitId'],'textRanges':_0x5334a8[_0x404fcf(0x291)],'actions':o['JSONX'][_0x404fcf(0x3e3)](_0x9f4c5c[_0x404fcf(0x19d)],_0x5334a8[_0x404fcf(0x19d)])}};},{})],_0xf4ee1=(_0xadaf3b=(_0xb9ec5b=_0x381d03[_0x14215d(0x15a)]())==null?void 0x0:_0xb9ec5b[_0x14215d(0x15b)])!=null?_0xadaf3b:_0x14215d(0x1f1),_0x3725d3=(_0x2bd1aa=(_0x54a322=_0x381d03[_0x14215d(0x15a)]())==null?void 0x0:_0x54a322[_0x14215d(0x1d6)])!=null?_0x2bd1aa:_0x14215d(0x1f1);return{'changeset':{'unitID':_0x577294,'type':E[_0x14215d(0x35d)](_0x2101c7['getUnitType'](_0x577294)),'baseRev':_0x19eaea['getCurrentRevOfUnit'](_0x577294),'revision':0x0,'userID':_0xf4ee1,'memberID':_0x3725d3,'mutations':_0x3c9655},'pendingMutations':[]};}function St(_0x7126e7,_0x57336c){var _0x22936c=_0x859cf8;const _0x242820=new j[(_0x22936c(0x140))](0x1);return setTimeout(()=>_0x242820['next'](_0x57336c),_0x7126e7),_0x242820[_0x22936c(0x3cb)]()['pipe'](j[_0x22936c(0x434)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x126df3,_0x5a7737,_0x43eae5,_0x6f1c31)=>{var _0x568868=_0x859cf8;for(var _0x4f473d=_0x6f1c31>0x1?void 0x0:_0x6f1c31?ni(_0x5a7737,_0x43eae5):_0x5a7737,_0x2bd2ba=_0x126df3[_0x568868(0x44f)]-0x1,_0x194148;_0x2bd2ba>=0x0;_0x2bd2ba--)(_0x194148=_0x126df3[_0x2bd2ba])&&(_0x4f473d=_0x194148(_0x4f473d)||_0x4f473d);return _0x4f473d;},L=(_0x4353fb,_0x113753)=>(_0x47a658,_0x5fb7a4)=>_0x113753(_0x47a658,_0x5fb7a4,_0x4353fb),je=(_0x4391a3=>(_0x4391a3[_0x859cf8(0x249)]=_0x859cf8(0x3d9),_0x4391a3[_0x859cf8(0x203)]=_0x859cf8(0x357),_0x4391a3['PENDING']=_0x859cf8(0x359),_0x4391a3['AWAITING']=_0x859cf8(0x195),_0x4391a3[_0x859cf8(0x2ef)]=_0x859cf8(0x1d9),_0x4391a3[_0x859cf8(0x14b)]=_0x859cf8(0x28a),_0x4391a3[_0x859cf8(0x1ed)]=_0x859cf8(0x394),_0x4391a3[_0x859cf8(0x216)]=_0x859cf8(0x1fa),_0x4391a3))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x1acf17,_0x42c44b,_0x512d59,_0x5a4c12,_0x23d9ae,_0x5767e0,_0x440283,_0x36b05f,_0x5bb940){var _0x2d3aae=_0x859cf8;A(this,_0x2d3aae(0x12f),null),A(this,_0x2d3aae(0x2b0),[]),(this[_0x2d3aae(0x30a)]=_0x1acf17,this[_0x2d3aae(0x41e)]=_0x42c44b,this[_0x2d3aae(0x2bb)]=_0x23d9ae,this[_0x2d3aae(0x3d7)]=_0x5767e0,this[_0x2d3aae(0x2ac)]=_0x440283,this['_revisionService']=_0x36b05f,this[_0x2d3aae(0x18b)]=_0x5bb940,this[_0x2d3aae(0x12f)]=_0x512d59,this[_0x2d3aae(0x2b0)]=_0x5a4c12);}['_checkMissing'](_0x4b0fa8){var _0x58916a=_0x859cf8;const _0x736ac8=this[_0x58916a(0x28d)][_0x58916a(0x1e4)](this[_0x58916a(0x30a)]);return _0x4b0fa8[_0x58916a(0x365)]>_0x736ac8+0x1?(this[_0x58916a(0x2bb)][_0x58916a(0x1a3)]({'from':_0x736ac8,'to':_0x4b0fa8[_0x58916a(0x365)]-0x1}),!0x0):!0x1;}[_0x859cf8(0x433)](_0x532c36){var _0x286262=_0x859cf8;this[_0x286262(0x2ac)]['transformUndoRedo'](this['unitID'],_0x532c36);}['_transformSelections'](_0x24596a){var _0x15193c=_0x859cf8,_0x53ac2a,_0x2af76a;(_0x2af76a=(_0x53ac2a=this[_0x15193c(0x2bb)])[_0x15193c(0x350)])==null||_0x2af76a[_0x15193c(0x2ad)](_0x53ac2a,_0x24596a);}[_0x859cf8(0x205)](_0x1da6e7){var _0x5d7025=_0x859cf8,_0x4f23b5,_0x32b864;return(_0x32b864=(_0x4f23b5=this[_0x5d7025(0x2bb)])['onTransformIME'])==null?void 0x0:_0x32b864[_0x5d7025(0x2ad)](_0x4f23b5,_0x1da6e7);}['_transformStateCache'](_0x1097ab){var _0x13359d=_0x859cf8,_0x2ac485,_0x3dbb63;return(_0x3dbb63=(_0x2ac485=this['_handler'])[_0x13359d(0x166)])==null?void 0x0:_0x3dbb63[_0x13359d(0x2ad)](_0x2ac485,_0x1097ab);}[_0x859cf8(0x202)](_0x25201e){var _0x50fb55=_0x859cf8,_0x5ce515,_0x267f8a,_0x263699;return(_0x263699=(_0x267f8a=(_0x5ce515=this[_0x50fb55(0x2bb)])[_0x50fb55(0x3e0)])==null?void 0x0:_0x267f8a[_0x50fb55(0x2ad)](_0x5ce515,_0x25201e))!=null?_0x263699:_0x25201e;}[_0x859cf8(0x214)](_0x2bd499){var _0x2bd54d=_0x859cf8,_0xdd29f2,_0x1e6439,_0x4b3fd2;return(_0x4b3fd2=(_0x1e6439=(_0xdd29f2=this[_0x2bd54d(0x2bb)])[_0x2bd54d(0xfd)])==null?void 0x0:_0x1e6439['call'](_0xdd29f2,_0x2bd499))!=null?_0x4b3fd2:_0x2bd499;}['_syncEditingCollabCursor'](_0x12ae23){var _0x19d717=_0x859cf8,_0xc7982f,_0x48e432;if(this[_0x19d717(0x41e)]===X['UNIVER_DOC']){const {unitID:_0x1cd67b,mutations:_0xdb6c25,memberID:_0x56d31f}=_0x12ae23,_0x1d0903=_0xdb6c25[_0x19d717(0x44f)]>0x0?_0xdb6c25[0x0][_0x19d717(0x2d9)][_0x19d717(0x291)]:[];Array[_0x19d717(0x158)](_0x1d0903)&&_0x1d0903[_0x19d717(0x44f)]>0x0&&((_0x48e432=(_0xc7982f=this['_handler'])[_0x19d717(0x1c8)])==null||_0x48e432[_0x19d717(0x2ad)](_0xc7982f,{'unitID':_0x1cd67b,'memberID':_0x56d31f,'textRanges':_0x1d0903}));}}[_0x859cf8(0x2af)](){var _0x114235=_0x859cf8,_0x583680;(_0x583680=this[_0x114235(0x18b)])==null||_0x583680[_0x114235(0xe8)](this[_0x114235(0x30a)],this[_0x114235(0x41e)],this[_0x114235(0x12f)],this[_0x114235(0x2b0)]);}[_0x859cf8(0x42a)](){var _0xd80187=_0x859cf8;return this[_0xd80187(0x28d)]['getCurrentRevOfUnit'](this[_0xd80187(0x30a)]);}[_0x859cf8(0x23e)](){var _0x5967c0=_0x859cf8;this[_0x5967c0(0x28d)][_0x5967c0(0x220)](this[_0x5967c0(0x30a)]);}['_executeRemoteChangeset'](_0x2a1f0b){var _0x2342ba=_0x859cf8,_0x5b54c1;let _0x26c12b=this[_0x2342ba(0x202)](_0x2a1f0b);_0x26c12b=this[_0x2342ba(0x214)](_0x26c12b);const _0x4dfe8a=o['sequenceExecute'](_0x26c12b[_0x2342ba(0x170)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4dfe8a[_0x2342ba(0x20f)])throw _0x4dfe8a[_0x2342ba(0x119)]instanceof Error?_0x4dfe8a[_0x2342ba(0x119)]:new Error((_0x5b54c1=_0x4dfe8a['error'])!=null?_0x5b54c1:_0x2342ba(0x2b4));this['_transformIMECache'](_0x26c12b),this[_0x2342ba(0x257)](_0x26c12b),this[_0x2342ba(0x433)](_0x2a1f0b),this['_transformSelections'](_0x26c12b),this[_0x2342ba(0x2fc)](_0x26c12b),this[_0x2342ba(0x23e)]();}}function _0x532c(_0x1b35f5,_0x828974){_0x1b35f5=_0x1b35f5-0xc9;var _0x1d6273=_0x1d62();var _0x532cd2=_0x1d6273[_0x1b35f5];return _0x532cd2;}exports[_0x859cf8(0x112)]=class extends oe{constructor(_0x384afb,_0x125041,_0x1b495a,_0x3c68b2,_0x565a5a,_0x4f541f,_0x3ac036,_0x425f5f,_0x298075,_0x11f6dc){var _0x28e092=_0x859cf8;super(_0x384afb,_0x125041,null,[],_0x1b495a,_0x3ac036,_0x4f541f,_0x3c68b2,_0x11f6dc),A(this,'status','synced'),(this['_injector']=_0x565a5a,this[_0x28e092(0x142)]=_0x425f5f,this[_0x28e092(0x22f)]=_0x298075,this['localCacheService']=_0x11f6dc);}[_0x859cf8(0x422)](_0x314f72){var _0x4c68ed=_0x859cf8;const _0xcbac6e=this[_0x4c68ed(0x1af)][_0x4c68ed(0x10f)](exports['PendingState'],this[_0x4c68ed(0x30a)],this['type'],[_0x314f72],this[_0x4c68ed(0x2bb)]);return _0xcbac6e[_0x4c68ed(0x40e)](),_0xcbac6e['_updateLocalCache'](),_0xcbac6e;}[_0x859cf8(0x3f9)](_0x469fc1){var _0x3749a9=_0x859cf8;if(this['_checkMissing'](_0x469fc1))return this['_injector'][_0x3749a9(0x10f)](exports[_0x3749a9(0x1ce)],this[_0x3749a9(0x30a)],this[_0x3749a9(0x41e)],null,[],null,[_0x469fc1],this[_0x3749a9(0x2bb)]);try{const _0x57d4c0=this['_transformService'][_0x3749a9(0x3c9)](_0x469fc1,[E[_0x3749a9(0x276)]]);if(E[_0x3749a9(0x447)](_0x57d4c0)){const {c1Prime:_0x569b36}=_0x57d4c0;return this['_executeRemoteChangeset'](_0x569b36),this;}throw _0x57d4c0[_0x3749a9(0x119)];}catch(_0xb2df27){return this[_0x3749a9(0x142)]['error'](_0xb2df27),this['_onConflict'](!0x1);}}[_0x859cf8(0x1f9)](_0x4506e5){var _0x4cc122=_0x859cf8;return this[_0x4cc122(0x1af)][_0x4cc122(0x10f)](exports['ConflictState'],this[_0x4cc122(0x30a)],this[_0x4cc122(0x41e)],null,[],this[_0x4cc122(0x2bb)],_0x4506e5);}[_0x859cf8(0x221)](){var _0x1f2a52=_0x859cf8;throw new Error(_0x1f2a52(0x36f));}['onRemoteRej'](){var _0x15101d=_0x859cf8;throw new Error(_0x15101d(0x13c));}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){var _0x26f786=_0x859cf8;return this[_0x26f786(0x1af)][_0x26f786(0x10f)](exports[_0x26f786(0x212)],this[_0x26f786(0x30a)],this[_0x26f786(0x41e)],null,[],this[_0x26f786(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x859cf8(0x19e)](){var _0x418ef1=_0x859cf8;const _0x877ba7=this[_0x418ef1(0x28d)][_0x418ef1(0x1e4)](this[_0x418ef1(0x30a)]);return this[_0x418ef1(0x2bb)]['onMissingChangesets']({'from':_0x877ba7,'to':0x0}),this['_injector'][_0x418ef1(0x10f)](exports[_0x418ef1(0x1ce)],this[_0x418ef1(0x30a)],this[_0x418ef1(0x41e)],null,[],null,[],this[_0x418ef1(0x2bb)]);}},exports[_0x859cf8(0x112)]=ae([L(0x3,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x4,o[_0x859cf8(0x416)](o['Injector'])),L(0x5,o[_0x859cf8(0x1f3)]),L(0x6,o[_0x859cf8(0x1b4)]),L(0x7,o['ILogService']),L(0x8,E[_0x859cf8(0x306)]),L(0x9,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x112)]),exports[_0x859cf8(0x1aa)]=class extends oe{constructor(_0x30795c,_0x122e4f,_0x416dc4,_0x423ad6,_0x251fce,_0x438eba,_0x9d8aa4,_0x2bba4a,_0x3112f4,_0x3c14b4,_0x285536,_0x2f97e9,_0x599201,_0x40e220){var _0x39c926=_0x859cf8;super(_0x30795c,_0x122e4f,null,_0x416dc4,_0x423ad6,_0x3112f4,_0x599201,_0x438eba,_0x40e220),A(this,'status','pending'),A(this,_0x39c926(0xe7),null),A(this,'_sendingTimer',null),(this[_0x39c926(0x1af)]=_0x251fce,this['_memberService']=_0x9d8aa4,this[_0x39c926(0x142)]=_0x2bba4a,this['_configService']=_0x3c14b4,this[_0x39c926(0x22f)]=_0x285536,this['_univerInstanceService']=_0x2f97e9);}['appendMutation'](_0x5041c7){return this['_pendingMutations']['push'](_0x5041c7),this['_updateLocalCache'](),this;}[_0x859cf8(0x3f9)](_0x338d25){var _0x1ab6e3=_0x859cf8;if(this['_checkMissing'](_0x338d25))return this['_clearScheduledTask'](),this[_0x1ab6e3(0x1af)][_0x1ab6e3(0x10f)](exports[_0x1ab6e3(0x1ce)],this[_0x1ab6e3(0x30a)],this[_0x1ab6e3(0x41e)],null,this[_0x1ab6e3(0x2b0)],null,[_0x338d25],this['_handler']);try{const _0x1b4e4e=this[_0x1ab6e3(0x22f)][_0x1ab6e3(0x3c9)](_0x338d25,this['_pendingMutations']);if(E[_0x1ab6e3(0x447)](_0x1b4e4e)){const {c1Prime:_0x5c8055,m2Prime:_0x34e460}=_0x1b4e4e;this[_0x1ab6e3(0x14e)](_0x5c8055);const _0x4a1676=this[_0x1ab6e3(0x1af)]['createInstance'](exports[_0x1ab6e3(0x1aa)],this[_0x1ab6e3(0x30a)],this['type'],_0x34e460,this[_0x1ab6e3(0x2bb)]);this['_clearScheduledTask']();const _0x44ed78=new Date()['getTime'](),_0x18b2e0=this['_scheduleCompleteTimestamp']?Math[_0x1ab6e3(0x381)](this['_scheduleCompleteTimestamp']-_0x44ed78,0x0):this[_0x1ab6e3(0x342)]();return _0x4a1676[_0x1ab6e3(0x40e)](_0x18b2e0),_0x4a1676;}throw _0x1b4e4e['error'];}catch(_0x2db4a7){return this[_0x1ab6e3(0x142)][_0x1ab6e3(0x119)](_0x2db4a7),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0xa50860=_0x859cf8;throw new Error(_0xa50860(0x2e4));}[_0x859cf8(0x27b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){var _0x2120fc=_0x859cf8;return this[_0x2120fc(0x383)](),this['_injector'][_0x2120fc(0x10f)](exports['OfflineState'],this[_0x2120fc(0x30a)],this[_0x2120fc(0x41e)],null,this[_0x2120fc(0x2b0)],this[_0x2120fc(0x2bb)]);}['toggleOnline'](){return this;}['_schedule'](_0x31e9fd){var _0x40f6f1=_0x859cf8;const _0x3c3ec2=_0x31e9fd!=null?_0x31e9fd:this[_0x40f6f1(0x342)]();this[_0x40f6f1(0xe7)]=new Date()[_0x40f6f1(0x370)]()+_0x3c3ec2,this[_0x40f6f1(0x153)]=setTimeout(()=>{var _0xceabed=_0x40f6f1;this['_clearScheduledTask']();let _0x1afafe=null;switch(this['type']){case X[_0xceabed(0x358)]:{_0x1afafe=Ge(this['_pendingMutations'],this[_0xceabed(0x30a)],this['_univerInstanceService'],this[_0xceabed(0x28d)],this[_0xceabed(0x1a4)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0xceabed(0x197)](_0x1b354f=>_0x1b354f['id']===ct[_0xceabed(0xe6)]['id'])?_0x1afafe=ii(this[_0xceabed(0x2b0)],this[_0xceabed(0x30a)],this[_0xceabed(0xc9)],this[_0xceabed(0x28d)],this['_memberService']):_0x1afafe=Ge(this[_0xceabed(0x2b0)],this[_0xceabed(0x30a)],this[_0xceabed(0xc9)],this[_0xceabed(0x28d)],this[_0xceabed(0x1a4)]);break;}default:throw new Error(_0xceabed(0xfe)+this[_0xceabed(0x41e)]+_0xceabed(0x1e5));}const {changeset:_0x5578cc,pendingMutations:_0x8c31c9}=_0x1afafe;this[_0xceabed(0x2bb)][_0xceabed(0x2c7)](_0x5578cc);const _0x873bd8=_0x8c31c9[_0xceabed(0x44f)]?this[_0xceabed(0x1af)][_0xceabed(0x10f)](exports['AwaitingWithPendingState'],this[_0xceabed(0x30a)],this['type'],_0x5578cc,_0x8c31c9,this[_0xceabed(0x2bb)],void 0x0):this[_0xceabed(0x1af)][_0xceabed(0x10f)](exports[_0xceabed(0x327)],this[_0xceabed(0x30a)],this[_0xceabed(0x41e)],_0x5578cc,this[_0xceabed(0x2bb)]);_0x873bd8[_0xceabed(0x2af)](),this[_0xceabed(0x2bb)][_0xceabed(0x417)](this,_0x873bd8);},_0x3c3ec2);}[_0x859cf8(0x342)](){var _0x26fec8=_0x859cf8,_0x4b3bbe;const _0xa71ab6=this[_0x26fec8(0x156)]['getConfig'](Y);return(_0x4b3bbe=_0xa71ab6==null?void 0x0:_0xa71ab6['sendChangesetTimeout'])!=null?_0x4b3bbe:At;}[_0x859cf8(0x235)](){var _0x4d344b=_0x859cf8;throw new Error(_0x4d344b(0x154));}[_0x859cf8(0x383)](){var _0x5c4bc6=_0x859cf8;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5c4bc6(0x153)]),this[_0x5c4bc6(0x153)]=null);}[_0x859cf8(0x1f9)](_0x1aeff1){var _0x20be1f=_0x859cf8;return this[_0x20be1f(0x383)](),this['_injector'][_0x20be1f(0x10f)](exports[_0x20be1f(0x34c)],this[_0x20be1f(0x30a)],this[_0x20be1f(0x41e)],null,this['_pendingMutations'],this['_handler'],_0x1aeff1);}},exports[_0x859cf8(0x1aa)]=ae([L(0x4,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x5,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x6,o['Inject'](exports[_0x859cf8(0x253)])),L(0x7,o[_0x859cf8(0x12c)]),L(0x8,o[_0x859cf8(0x1b4)]),L(0x9,o['IConfigService']),L(0xa,E['ITransformService']),L(0xb,o[_0x859cf8(0x2ab)]),L(0xc,o[_0x859cf8(0x1f3)]),L(0xd,o[_0x859cf8(0x2f5)](q))],exports['PendingState']),exports[_0x859cf8(0x327)]=class extends oe{constructor(_0x5b51d6,_0x438d8d,_0x77c362,_0x33b8b7,_0x2ddabb,_0x341489,_0x7ff55,_0x1f72de,_0x2b43ad,_0x5c0e1f,_0x136c34){var _0x115035=_0x859cf8;super(_0x5b51d6,_0x438d8d,_0x77c362,[],_0x33b8b7,_0x7ff55,_0x5c0e1f,_0x341489,_0x136c34),A(this,_0x115035(0x2c2),_0x115035(0x195)),A(this,_0x115035(0x393),0x0),A(this,_0x115035(0x42d),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x115035(0x1af)]=_0x2ddabb,this[_0x115035(0x142)]=_0x1f72de,this[_0x115035(0x22f)]=_0x2b43ad);}['appendMutation'](_0x1a60af){var _0x49b722=_0x859cf8;this[_0x49b722(0x383)]();const _0x53e38a=this[_0x49b722(0x1af)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x49b722(0x30a)],this['type'],this['_awaitingChangeset'],[_0x1a60af],this[_0x49b722(0x2bb)],this[_0x49b722(0x298)]);return _0x53e38a[_0x49b722(0x2af)](),_0x53e38a;}[_0x859cf8(0x3f9)](_0x313f38){var _0x1dc4bc=_0x859cf8;if(this[_0x1dc4bc(0x196)](_0x313f38))return this[_0x1dc4bc(0x383)](),this[_0x1dc4bc(0x1af)][_0x1dc4bc(0x10f)](exports[_0x1dc4bc(0x1ce)],this[_0x1dc4bc(0x30a)],this[_0x1dc4bc(0x41e)],this[_0x1dc4bc(0x12f)],[],null,[_0x313f38],this[_0x1dc4bc(0x2bb)]);try{const _0x5cb6fa=this['_transformService'][_0x1dc4bc(0x351)]([_0x313f38],[this[_0x1dc4bc(0x12f)]],!0x1);if(E[_0x1dc4bc(0x17f)](_0x5cb6fa)){const {c1Prime:_0x40bc13,c2Prime:_0x1a66fb}=_0x5cb6fa;this[_0x1dc4bc(0x14e)](_0x40bc13[0x0]),_0x1a66fb[0x0][_0x1dc4bc(0x2d0)]=this[_0x1dc4bc(0x42a)](),this[_0x1dc4bc(0x383)]();const _0x417c90=this['_injector'][_0x1dc4bc(0x10f)](exports[_0x1dc4bc(0x327)],this['unitID'],this[_0x1dc4bc(0x41e)],_0x1a66fb[0x0],this[_0x1dc4bc(0x2bb)]);return _0x417c90[_0x1dc4bc(0x2af)](),_0x417c90;}return this[_0x1dc4bc(0x1f9)](!0x1);}catch(_0x276233){return this[_0x1dc4bc(0x142)][_0x1dc4bc(0x119)](_0x276233),this[_0x1dc4bc(0x1f9)](!0x1);}}[_0x859cf8(0x221)](_0x456a4b){var _0x33d9ca=_0x859cf8;this['_clearScheduledTask']();const _0x33b18e=this[_0x33d9ca(0x28d)][_0x33d9ca(0x1e4)](this[_0x33d9ca(0x30a)]);if(_0x456a4b[_0x33d9ca(0x365)]<_0x33b18e-0x1)return this;if(this[_0x33d9ca(0x196)](_0x456a4b))return this[_0x33d9ca(0x1af)][_0x33d9ca(0x10f)](exports[_0x33d9ca(0x1ce)],this[_0x33d9ca(0x30a)],this['type'],null,[],this[_0x33d9ca(0x12f)],[],this[_0x33d9ca(0x2bb)]);this[_0x33d9ca(0x23e)]();const _0x2d8c55=this[_0x33d9ca(0x1af)][_0x33d9ca(0x10f)](exports['SyncedState'],this[_0x33d9ca(0x30a)],this[_0x33d9ca(0x41e)],this[_0x33d9ca(0x2bb)]);return _0x2d8c55[_0x33d9ca(0x2af)](),_0x2d8c55;}[_0x859cf8(0x27b)](_0x3a30b0){var _0x5b2e37=_0x859cf8;return this[_0x5b2e37(0x1f9)](!!(_0x3a30b0!=null&&_0x3a30b0['isPermissionRej']));}[_0x859cf8(0x150)](_0x706c0b){var _0x2b9d10=_0x859cf8;return this[_0x2b9d10(0x42d)]>ft?this[_0x2b9d10(0x3df)]():(this[_0x2b9d10(0x298)]=St(this[_0x2b9d10(0x393)],{'timeout':this[_0x2b9d10(0x393)],'reqId':_0x706c0b[_0x2b9d10(0x42f)]}),this[_0x2b9d10(0x37a)]=this[_0x2b9d10(0x298)][_0x2b9d10(0x3c5)](({reqId:_0x3d5840,timeout:_0x138c3f})=>{var _0x208c40=_0x2b9d10;this[_0x208c40(0x28c)](_0x3d5840,_0x138c3f);}),this);}[_0x859cf8(0x3df)](){var _0x3aedd1=_0x859cf8;return this[_0x3aedd1(0x383)](),this[_0x3aedd1(0x1af)][_0x3aedd1(0x10f)](exports[_0x3aedd1(0x212)],this[_0x3aedd1(0x30a)],this[_0x3aedd1(0x41e)],this[_0x3aedd1(0x12f)],[],this[_0x3aedd1(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){var _0x17f4bf=_0x859cf8;this[_0x17f4bf(0x2bb)][_0x17f4bf(0x2c7)](this[_0x17f4bf(0x12f)]);}[_0x859cf8(0x1f9)](_0x5b7a42){var _0x537c4f=_0x859cf8;return this['_clearScheduledTask'](),this['_injector'][_0x537c4f(0x10f)](exports['ConflictState'],this[_0x537c4f(0x30a)],this[_0x537c4f(0x41e)],this[_0x537c4f(0x12f)],[],this[_0x537c4f(0x2bb)],_0x5b7a42);}[_0x859cf8(0x28c)](_0x4f22a7,_0x5487b3){var _0x4f1820=_0x859cf8,_0x3c58bc;_0x4f22a7===((_0x3c58bc=this[_0x4f1820(0x12f)])==null?void 0x0:_0x3c58bc['reqId'])&&(this[_0x4f1820(0x235)](),this[_0x4f1820(0x393)]=_0x5487b3===0x0?0x3e8:Math['min'](_0x5487b3*0x2,It),this[_0x4f1820(0x42d)]+=this[_0x4f1820(0x393)]);}[_0x859cf8(0x383)](){var _0xbf2c01=_0x859cf8,_0x31f396;(_0x31f396=this[_0xbf2c01(0x37a)])==null||_0x31f396[_0xbf2c01(0x34f)](),this[_0xbf2c01(0x393)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x859cf8(0x327)]=ae([L(0x4,o[_0x859cf8(0x416)](o['Injector'])),L(0x5,o[_0x859cf8(0x416)](E['RevisionService'])),L(0x6,o[_0x859cf8(0x1b4)]),L(0x7,o[_0x859cf8(0x12c)]),L(0x8,E[_0x859cf8(0x306)]),L(0x9,o[_0x859cf8(0x1f3)]),L(0xa,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x327)]),exports[_0x859cf8(0x1ee)]=class extends oe{constructor(_0x2e6255,_0x580107,_0x4c2607,_0x55a636,_0x22f969,_0x3a48c0,_0x4f408b,_0x397b07,_0x14a882,_0x217233,_0x314cf6,_0x3cb304,_0xe62743){var _0x20a6f2=_0x859cf8;super(_0x2e6255,_0x580107,_0x4c2607,_0x55a636,_0x22f969,_0x14a882,_0x3cb304,_0x397b07,_0xe62743),A(this,_0x20a6f2(0x2c2),_0x20a6f2(0x1d9)),A(this,_0x20a6f2(0x393),0x0),A(this,_0x20a6f2(0x42d),0x0),A(this,_0x20a6f2(0x298)),A(this,'_sender'),(this[_0x20a6f2(0x1af)]=_0x4f408b,this[_0x20a6f2(0x142)]=_0x217233,this['_transformService']=_0x314cf6,this[_0x20a6f2(0x244)]=_0xe62743,_0x3a48c0&&(this[_0x20a6f2(0x298)]=_0x3a48c0,this[_0x20a6f2(0x37a)]=this[_0x20a6f2(0x298)][_0x20a6f2(0x3c5)](({reqId:_0x5680ca,timeout:_0x2e16af})=>{var _0x47217f=_0x20a6f2;this[_0x47217f(0x28c)](_0x5680ca,_0x2e16af);})));}[_0x859cf8(0x422)](_0x335696){var _0x12c288=_0x859cf8;return this[_0x12c288(0x2b0)][_0x12c288(0x3f4)](_0x335696),this;}['onRemoteChangeset'](_0x415c7f){var _0x1fce34=_0x859cf8;if(this[_0x1fce34(0x196)](_0x415c7f))return this[_0x1fce34(0x383)](),this[_0x1fce34(0x1af)]['createInstance'](exports[_0x1fce34(0x1ce)],this[_0x1fce34(0x30a)],this[_0x1fce34(0x41e)],this['_awaitingChangeset'],this[_0x1fce34(0x2b0)],null,[_0x415c7f],this[_0x1fce34(0x2bb)]);try{const _0x4ff172=this[_0x1fce34(0x22f)][_0x1fce34(0x351)]([_0x415c7f],[this['_awaitingChangeset']],!0x1);if(E[_0x1fce34(0x17f)](_0x4ff172)){const {c1Prime:_0x555673,c2Prime:_0x30b671}=_0x4ff172,_0x3136d7=this[_0x1fce34(0x22f)][_0x1fce34(0x3c9)](_0x555673[0x0],this[_0x1fce34(0x2b0)]);if(E[_0x1fce34(0x447)](_0x3136d7)){const {c1Prime:_0x596dab,m2Prime:_0x1aa475}=_0x3136d7;return this['_executeRemoteChangeset'](_0x596dab),_0x30b671[0x0][_0x1fce34(0x2d0)]=this[_0x1fce34(0x42a)](),this[_0x1fce34(0x383)](),this[_0x1fce34(0x1af)][_0x1fce34(0x10f)](exports[_0x1fce34(0x1ee)],this['unitID'],this[_0x1fce34(0x41e)],_0x30b671[0x0],_0x1aa475,this[_0x1fce34(0x2bb)],void 0x0);}throw _0x3136d7['error'];}throw _0x4ff172[_0x1fce34(0x119)];}catch(_0x4efa52){return this[_0x1fce34(0x142)][_0x1fce34(0x119)](_0x4efa52),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x142e86){var _0x2477b9=_0x859cf8;if(this[_0x2477b9(0x383)](),this[_0x2477b9(0x196)](_0x142e86))return this[_0x2477b9(0x1af)][_0x2477b9(0x10f)](exports[_0x2477b9(0x1ce)],this[_0x2477b9(0x30a)],this[_0x2477b9(0x41e)],null,this[_0x2477b9(0x2b0)],this[_0x2477b9(0x12f)],[],this['_handler']);this[_0x2477b9(0x23e)]();const _0x4de87b=this['_injector']['createInstance'](exports[_0x2477b9(0x1aa)],this[_0x2477b9(0x30a)],this[_0x2477b9(0x41e)],this[_0x2477b9(0x2b0)],this[_0x2477b9(0x2bb)]);return _0x4de87b[_0x2477b9(0x40e)](),_0x4de87b[_0x2477b9(0x2af)](),_0x4de87b;}[_0x859cf8(0x27b)](_0x2a4549){var _0x19fa9b=_0x859cf8;return this[_0x19fa9b(0x1f9)](!!(_0x2a4549!=null&&_0x2a4549[_0x19fa9b(0x24c)]));}[_0x859cf8(0x150)](_0x13fa02){var _0x205a18=_0x859cf8;return this[_0x205a18(0x42d)]>ft?this[_0x205a18(0x3df)]():(this['_resendTimer']=St(this[_0x205a18(0x393)],{'timeout':this[_0x205a18(0x393)],'reqId':_0x13fa02[_0x205a18(0x42f)]}),this[_0x205a18(0x37a)]=this[_0x205a18(0x298)]['subscribe'](({reqId:_0x5559d7,timeout:_0x23d55d})=>{this['_resendWithTimeout'](_0x5559d7,_0x23d55d);}),this);}['toggleOffline'](){var _0x3cb64c=_0x859cf8;return this[_0x3cb64c(0x383)](),this[_0x3cb64c(0x1af)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x3cb64c(0x41e)],this[_0x3cb64c(0x12f)],this[_0x3cb64c(0x2b0)],this[_0x3cb64c(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x859cf8(0x1f9)](_0x5dbeed){var _0x1b48b0=_0x859cf8;return this[_0x1b48b0(0x383)](),this[_0x1b48b0(0x1af)][_0x1b48b0(0x10f)](exports[_0x1b48b0(0x34c)],this[_0x1b48b0(0x30a)],this[_0x1b48b0(0x41e)],null,this['_pendingMutations'],this['_handler'],_0x5dbeed);}[_0x859cf8(0x28c)](_0x302a68,_0x4c0c69){var _0x2ec4fe=_0x859cf8,_0x16cc82;_0x302a68===((_0x16cc82=this[_0x2ec4fe(0x12f)])==null?void 0x0:_0x16cc82[_0x2ec4fe(0x42f)])&&(this[_0x2ec4fe(0x235)](),this[_0x2ec4fe(0x393)]=_0x4c0c69===0x0?0x3e8:Math[_0x2ec4fe(0x314)](_0x4c0c69*0x2,It),this[_0x2ec4fe(0x42d)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x3a5d5c=_0x859cf8,_0x11d899;(_0x11d899=this['_sender'])==null||_0x11d899[_0x3a5d5c(0x34f)](),this[_0x3a5d5c(0x393)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x859cf8(0x1ee)]=ae([L(0x6,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x7,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x8,o['ICommandService']),L(0x9,o['ILogService']),L(0xa,E[_0x859cf8(0x306)]),L(0xb,o[_0x859cf8(0x1f3)]),L(0xc,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1ee)]),exports['ConflictState']=class extends oe{constructor(_0x38180d,_0x4d4597,_0x2555ba,_0x2187f1,_0x4bf31f,_0x4ff024=!0x1,_0x3a7768,_0x27b976,_0x369d2f,_0x18ce3c,_0x35c717,_0x28c292,_0x4ec69c){var _0x764d71=_0x859cf8;super(_0x38180d,_0x4d4597,_0x2555ba,_0x2187f1,_0x4bf31f,_0x27b976,_0x369d2f,_0x18ce3c,_0x4ec69c),A(this,_0x764d71(0x2c2),'conflict'),(this[_0x764d71(0x33d)]=_0x4ff024,this[_0x764d71(0x312)]=_0x3a7768,this[_0x764d71(0x41a)]=_0x35c717,this['_collaborationUIEventService']=_0x28c292,this[_0x764d71(0x244)]=_0x4ec69c,this['_showConflictNotification'](),this[_0x764d71(0x2e9)](),this['_disableEditing']());}[_0x859cf8(0x422)](){return this;}[_0x859cf8(0x3f9)](){return this;}[_0x859cf8(0x221)](){return this;}[_0x859cf8(0x27b)](){return this;}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){return this;}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){var _0x320256=_0x859cf8;throw new Error(_0x320256(0x308));}['_clearLocalCache'](){var _0x22fb18=_0x859cf8,_0x18e52f;(_0x18e52f=this['_localCacheService'])==null||_0x18e52f['updateOfflineData'](this[_0x22fb18(0x30a)],this[_0x22fb18(0x41e)],null,[]);}['_showConflictNotification'](){var _0x36becd=_0x859cf8;this['_isPermissionRej']?this[_0x36becd(0x27a)][_0x36becd(0x361)]({'id':J[_0x36becd(0x2fa)]}):this[_0x36becd(0x27a)]['emitEvent']({'id':J[_0x36becd(0x1ed)]});}[_0x859cf8(0x104)](){var _0x474247=_0x859cf8;this[_0x474247(0x312)]['updatePermissionPoint'](new Q[(_0x474247(0x2ca))](this[_0x474247(0x30a)])['id'],!0x1);}},exports[_0x859cf8(0x34c)]=ae([L(0x6,o[_0x859cf8(0x416)](o[_0x859cf8(0x160)])),L(0x7,o[_0x859cf8(0x1b4)]),L(0x8,o[_0x859cf8(0x1f3)]),L(0x9,o[_0x859cf8(0x416)](E['RevisionService'])),L(0xa,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x34c)]),exports['OfflineState']=class extends oe{constructor(_0x552ec5,_0x8fbcac,_0x1f52a8,_0x5e8e6a,_0x3b20dc,_0x14e7da,_0x1e29d0,_0xd6cd7f,_0x452364,_0x2f11bf){var _0x48f84a=_0x859cf8;super(_0x552ec5,_0x8fbcac,_0x1f52a8,_0x5e8e6a,_0x3b20dc,_0xd6cd7f,_0x452364,_0x1e29d0,_0x2f11bf),A(this,'status',_0x48f84a(0x1fa)),this[_0x48f84a(0x1af)]=_0x14e7da;}[_0x859cf8(0x422)](_0xceea9){var _0x514690=_0x859cf8;return this[_0x514690(0x2b0)][_0x514690(0x3f4)](_0xceea9),this[_0x514690(0x2af)](),this;}[_0x859cf8(0x3f9)](_0x267a7b){var _0x2280ce=_0x859cf8;throw new Error(_0x2280ce(0x35b));}['onRemoteAck'](){var _0xaa5238=_0x859cf8;throw new Error(_0xaa5238(0x1c4));}[_0x859cf8(0x27b)](){var _0x5f3b52=_0x859cf8;throw new Error(_0x5f3b52(0x285));}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){return this;}[_0x859cf8(0x20d)](){var _0x3dc949=_0x859cf8;const {_injector:_0x3ebfc3,_pendingMutations:_0x352392,_awaitingChangeset:_0x584d3e,unitID:_0x3c3b65,_handler:_0x478855,type:_0x308f0b}=this,_0x3953e1=Et(_0x3ebfc3,_0x3c3b65,_0x308f0b,_0x584d3e,_0x352392,_0x478855);return _0x3953e1 instanceof exports[_0x3dc949(0x1aa)]?_0x3953e1['_schedule']():(_0x3953e1 instanceof exports['AwaitingWithPendingState']||_0x3953e1 instanceof exports[_0x3dc949(0x327)])&&_0x3953e1[_0x3dc949(0x235)](),_0x3953e1;}['resend'](){var _0x3bad44=_0x859cf8;throw new Error(_0x3bad44(0x35a));}},exports[_0x859cf8(0x212)]=ae([L(0x5,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x6,o['Inject'](E[_0x859cf8(0x3dc)])),L(0x7,o[_0x859cf8(0x1b4)]),L(0x8,o[_0x859cf8(0x1f3)]),L(0x9,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x212)]),exports['FetchingMissState']=class extends oe{constructor(_0x4813ce,_0x1dd2db,_0x1c709e,_0x46aca9,_0x1a6e91,_0x28de21,_0x24e03e,_0x4f71de,_0x51940b,_0x533616,_0x2fb950,_0x4e8c56,_0x4512e1,_0x38edbc){var _0xb6b1fe=_0x859cf8;super(_0x4813ce,_0x1dd2db,_0x1c709e,_0x46aca9,_0x24e03e,_0x2fb950,_0x4e8c56,_0x51940b,_0x38edbc),A(this,_0xb6b1fe(0x2c2),_0xb6b1fe(0x28a)),(this[_0xb6b1fe(0x106)]=_0x1a6e91,this[_0xb6b1fe(0x2a3)]=_0x28de21,this[_0xb6b1fe(0x1af)]=_0x4f71de,this[_0xb6b1fe(0x142)]=_0x533616,this['_transformService']=_0x4512e1,this[_0xb6b1fe(0x244)]=_0x38edbc);}[_0x859cf8(0xd5)](_0x3e871e){var _0x411ca1=_0x859cf8;try{const _0x12139d=[..._0x3e871e,...this[_0x411ca1(0x2a3)]],_0x750759=[this[_0x411ca1(0x12f)]||this[_0x411ca1(0x106)]][_0x411ca1(0x251)](_0x4c8b5a=>!!_0x4c8b5a);let _0x551539,_0x525e2f;if(_0x750759['length']){const _0x588427=this[_0x411ca1(0x22f)][_0x411ca1(0x351)](_0x12139d,_0x750759,!0x1);if(!E[_0x411ca1(0x17f)](_0x588427))throw _0x588427[_0x411ca1(0x119)];_0x551539=_0x588427[_0x411ca1(0x258)],_0x525e2f=_0x588427[_0x411ca1(0x165)];}else _0x551539=_0x12139d,_0x525e2f=[];let _0x3ce385=this[_0x411ca1(0x2b0)];_0x551539['forEach'](_0x4c80b9=>{var _0xfd9205=_0x411ca1;let _0x917148;if(_0x3ce385['length']){const _0x23c69e=this[_0xfd9205(0x22f)][_0xfd9205(0x3c9)](_0x4c80b9,_0x3ce385);if(!E[_0xfd9205(0x447)](_0x23c69e))throw _0x23c69e[_0xfd9205(0x119)];_0x917148=_0x23c69e[_0xfd9205(0x258)],_0x3ce385=_0x23c69e[_0xfd9205(0x22d)];}else _0x917148=_0x4c80b9;this[_0xfd9205(0x14e)](_0x917148);}),this[_0x411ca1(0x106)]&&this[_0x411ca1(0x23e)](),this[_0x411ca1(0x12f)]&&_0x525e2f[_0x411ca1(0x44f)]&&(_0x525e2f[0x0]['baseRev']=this[_0x411ca1(0x42a)]());let _0x372f00;if(this['_awaitingChangeset']&&_0x3ce385[_0x411ca1(0x44f)]!==0x0)_0x372f00=this[_0x411ca1(0x1af)]['createInstance'](exports[_0x411ca1(0x1ee)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x525e2f[0x0],_0x3ce385,this[_0x411ca1(0x2bb)],void 0x0);else{if(this[_0x411ca1(0x12f)]&&_0x3ce385[_0x411ca1(0x44f)]===0x0)_0x525e2f[0x0][_0x411ca1(0x2d0)]=this[_0x411ca1(0x42a)](),_0x372f00=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports['AwaitingState'],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x525e2f[0x0],this['_handler']);else{if(_0x3ce385[_0x411ca1(0x44f)]!==0x0){const _0x2bd700=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports[_0x411ca1(0x1aa)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x3ce385,this[_0x411ca1(0x2bb)]);_0x2bd700[_0x411ca1(0x40e)](),_0x372f00=_0x2bd700;}else _0x372f00=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports[_0x411ca1(0x112)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],this['_handler']);}}return _0x372f00[_0x411ca1(0x2af)](),_0x372f00;}catch(_0x1c936b){return this[_0x411ca1(0x142)][_0x411ca1(0x119)](_0x411ca1(0x3e8),_0x411ca1(0x26c),_0x1c936b),this[_0x411ca1(0x1af)]['createInstance'](exports[_0x411ca1(0x34c)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],this[_0x411ca1(0x12f)],this[_0x411ca1(0x2b0)],this['_handler'],!0x1);}}[_0x859cf8(0x235)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x5690a5){var _0x27740e=_0x859cf8;return this[_0x27740e(0x2b0)]['push'](_0x5690a5),this;}['onRemoteChangeset'](_0x577ee1){var _0x345f4d=_0x859cf8;return this[_0x345f4d(0x2a3)][_0x345f4d(0x3f4)](_0x577ee1),this;}[_0x859cf8(0x221)](_0xc07a13){var _0x40924a=_0x859cf8;if(this[_0x40924a(0x12f)])return this[_0x40924a(0x106)]=this[_0x40924a(0x12f)],this[_0x40924a(0x12f)]=null,this;throw new Error(_0x40924a(0x190));}[_0x859cf8(0x27b)](_0x19dfaf){var _0x14aca=_0x859cf8;return this[_0x14aca(0x1f9)](!!(_0x19dfaf!=null&&_0x19dfaf[_0x14aca(0x24c)]));}['onRemoteRetry'](){return this;}[_0x859cf8(0x3df)](){var _0x4d0c61=_0x859cf8;return this['_injector']['createInstance'](exports[_0x4d0c61(0x212)],this[_0x4d0c61(0x30a)],this['type'],this[_0x4d0c61(0x12f)],this[_0x4d0c61(0x2b0)],this[_0x4d0c61(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}['_onConflict'](_0x3d03a1){var _0x12acbf=_0x859cf8;return this['_injector'][_0x12acbf(0x10f)](exports[_0x12acbf(0x34c)],this['unitID'],this[_0x12acbf(0x41e)],this[_0x12acbf(0x12f)],this['_pendingMutations'],this[_0x12acbf(0x2bb)],_0x3d03a1);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o['Injector'])),L(0x8,o['Inject'](E[_0x859cf8(0x3dc)])),L(0x9,o[_0x859cf8(0x12c)]),L(0xa,o[_0x859cf8(0x1b4)]),L(0xb,o[_0x859cf8(0x1f3)]),L(0xc,E[_0x859cf8(0x306)]),L(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1ce)]);function Et(_0x11410d,_0x2fb88f,_0x358268,_0x997eec,_0x4fd7f0,_0x24903f){var _0x2e1a8e=_0x859cf8;return _0x997eec&&_0x4fd7f0['length']?_0x11410d['createInstance'](exports[_0x2e1a8e(0x1ee)],_0x2fb88f,_0x358268,_0x997eec,_0x4fd7f0,_0x24903f,void 0x0):_0x997eec?_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x327)],_0x2fb88f,_0x358268,_0x997eec,_0x24903f):_0x4fd7f0[_0x2e1a8e(0x44f)]?_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x1aa)],_0x2fb88f,_0x358268,_0x4fd7f0,_0x24903f):_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x112)],_0x2fb88f,_0x358268,_0x24903f);}var si=Object[_0x859cf8(0x1e0)],Be=(_0x78a7b9,_0x43db94,_0x27e4da,_0xbf2ec2)=>{for(var _0x166b97=_0xbf2ec2>0x1?void 0x0:_0xbf2ec2?si(_0x43db94,_0x27e4da):_0x43db94,_0x18a8ae=_0x78a7b9['length']-0x1,_0x4679db;_0x18a8ae>=0x0;_0x18a8ae--)(_0x4679db=_0x78a7b9[_0x18a8ae])&&(_0x166b97=_0x4679db(_0x166b97)||_0x166b97);return _0x166b97;},$=(_0x3db19a,_0x5efa0e)=>(_0x7088c4,_0x1594e1)=>_0x5efa0e(_0x7088c4,_0x1594e1,_0x3db19a);exports[_0x859cf8(0x1dd)]=class extends o[_0x859cf8(0x26f)]{constructor(_0x5b05ce,_0x1d5df6,_0x34611a,_0x2b6523,_0x46771b,_0x844a81,_0x560376,_0x437004,_0x4dfbba,_0x199783,_0x17830d,_0x2f004a,_0x568d13,_0x5eb5d0){var _0x31d254=_0x859cf8;super(),A(this,_0x31d254(0x2da),new j[(_0x31d254(0x161))](null)),A(this,_0x31d254(0x39b),this[_0x31d254(0x2da)]['asObservable']()),A(this,'_state'),A(this,_0x31d254(0x431),!0x1),A(this,_0x31d254(0x145),''),A(this,_0x31d254(0x181),0x0),A(this,_0x31d254(0xda),this[_0x31d254(0x39b)][_0x31d254(0x1d5)](j[_0x31d254(0x259)](_0xfa780=>_0xfa780?_0xfa780[_0x31d254(0x2c2)]:je[_0x31d254(0x216)]),j[_0x31d254(0xf5)](0x1))),A(this,_0x31d254(0x2db),!0x1),A(this,_0x31d254(0x25d),[]),(this[_0x31d254(0x30a)]=_0x5b05ce,this[_0x31d254(0x3cc)]=_0x1d5df6,this[_0x31d254(0x287)]=_0x34611a,this[_0x31d254(0x1af)]=_0x2b6523,this[_0x31d254(0x322)]=_0x46771b,this[_0x31d254(0x41a)]=_0x844a81,this[_0x31d254(0x28d)]=_0x560376,this[_0x31d254(0x23c)]=_0x437004,this[_0x31d254(0xc9)]=_0x4dfbba,this[_0x31d254(0x142)]=_0x199783,this[_0x31d254(0x3d7)]=_0x17830d,this[_0x31d254(0x312)]=_0x2f004a,this[_0x31d254(0x204)]=_0x568d13,this[_0x31d254(0x18b)]=_0x5eb5d0);}get[_0x859cf8(0x1a8)](){var _0x39021c=_0x859cf8;return this[_0x39021c(0x2d7)];}async[_0x859cf8(0x402)](){var _0x474141=_0x859cf8;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x474141(0x44d)]();}['pauseCollaboration'](){var _0xe4cf28=_0x859cf8;return this[_0xe4cf28(0x431)]=!0x0,o[_0xe4cf28(0x177)](()=>{var _0xb59f1=_0xe4cf28;this[_0xb59f1(0x431)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x859cf8(0x375)](_0x18f21b){var _0xd22cf=_0x859cf8;this[_0xd22cf(0x31b)](_0x18f21b);}[_0x859cf8(0x396)](_0x4c6580){var _0x4989b3=_0x859cf8;this[_0x4989b3(0x2d7)]=_0x4c6580,this[_0x4989b3(0x2da)][_0x4989b3(0x143)](_0x4c6580);}async[_0x859cf8(0x44d)](){var _0x51b5fb=_0x859cf8,_0x489612;this[_0x51b5fb(0x396)](await this[_0x51b5fb(0x239)]()),this[_0x51b5fb(0x204)]&&((_0x489612=this[_0x51b5fb(0x204)])==null||_0x489612[_0x51b5fb(0x405)](this[_0x51b5fb(0x30a)]),this['disposeWithMe'](this[_0x51b5fb(0x204)][_0x51b5fb(0x237)](this[_0x51b5fb(0x30a)])['subscribe'](_0x3803d8=>{var _0x16f0f7=_0x51b5fb;this[_0x16f0f7(0x142)][_0x16f0f7(0x225)]('[CollaborationEntity]',_0x16f0f7(0xff),_0x3803d8),_0x3803d8===He[_0x16f0f7(0x36c)]?(this[_0x16f0f7(0x23c)][_0x16f0f7(0x361)]({'id':J[_0x16f0f7(0x277)]}),this[_0x16f0f7(0x312)]['updatePermissionPoint'](new Q[(_0x16f0f7(0x2ca))](this[_0x16f0f7(0x30a)])['id'],!0x1),this['_permissionService'][_0x16f0f7(0x127)](!0x1)):(this[_0x16f0f7(0x312)][_0x16f0f7(0x3a6)](new Q[(_0x16f0f7(0x2ca))](this[_0x16f0f7(0x30a)])['id'],!0x0),this['_permissionService'][_0x16f0f7(0x127)](!0x0));})));let _0x4d294b=!0x1;return this[_0x51b5fb(0x171)](this[_0x51b5fb(0x3cc)][_0x51b5fb(0x230)][_0x51b5fb(0x3c5)](_0x1b9a82=>{var _0x564f24=_0x51b5fb;_0x1b9a82===se[_0x564f24(0x213)]?this[_0x564f24(0x418)](_0x4d294b):_0x1b9a82===se[_0x564f24(0x216)]&&(_0x4d294b=!0x0,this[_0x564f24(0x2c3)]());})),this[_0x51b5fb(0x171)](this[_0x51b5fb(0x3cc)][_0x51b5fb(0x21d)]['subscribe'](_0x43ce77=>{var _0xd87b74=_0x51b5fb;try{switch(_0x43ce77[_0xd87b74(0x2fe)]){case E[_0xd87b74(0x41d)][_0xd87b74(0x1cc)]:{this[_0xd87b74(0x446)](E[_0xd87b74(0x345)](_0x43ce77[_0xd87b74(0x1cf)]));break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x135)]:{this[_0xd87b74(0x2e0)](_0x43ce77[_0xd87b74(0x1cf)]);break;}case E[_0xd87b74(0x41d)]['CHANGESET_REJ']:{this[_0xd87b74(0x385)]();break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x379)]:{this['_onRemoteRetry'](_0x43ce77['data']);break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x26b)]:{this[_0xd87b74(0x41c)](_0x43ce77[_0xd87b74(0x1cf)][_0xd87b74(0x453)]['map'](_0x5a22c3=>E[_0xd87b74(0x345)](_0x5a22c3)));break;}case E[_0xd87b74(0x41d)]['PERMISSION_REJ']:{this[_0xd87b74(0x385)]({'isPermissionRej':!0x0});break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x1e8)]:break;}}catch(_0x7ed61a){throw console[_0xd87b74(0x119)]('Error\x20on\x20receiving\x20event',_0x7ed61a),_0x7ed61a;}})),this[_0x51b5fb(0x2d7)];}[_0x859cf8(0x3a8)](){var _0x18957b=_0x859cf8;this[_0x18957b(0x2db)]=!0x1;}[_0x859cf8(0x25e)](){var _0x262f53=_0x859cf8;if(this[_0x262f53(0x2db)])throw new Error(_0x262f53(0x18d));this['_transitionLocked']=!0x0;}[_0x859cf8(0x31b)](_0x3ce0f2){var _0x1b5013=_0x859cf8;this[_0x1b5013(0x25e)](),this[_0x1b5013(0x396)](this[_0x1b5013(0x2d7)][_0x1b5013(0x422)](_0x3ce0f2)),this[_0x1b5013(0x3a8)]();}['_onRemoteChangeset'](_0x5827e1){var _0x43a155=_0x859cf8;if(!(_0x5827e1[_0x43a155(0x365)]<=this[_0x43a155(0x28d)][_0x43a155(0x1e4)](this[_0x43a155(0x30a)]))){if(this[_0x43a155(0x431)]){this[_0x43a155(0x25d)][_0x43a155(0x3f4)](_0x5827e1);return;}this[_0x43a155(0x1cd)](_0x5827e1);}}['_exhaustRemoteChangesetQueue'](){var _0xe115a0=_0x859cf8;this[_0xe115a0(0x25d)]['forEach'](_0x46dcf8=>this[_0xe115a0(0x1cd)](_0x46dcf8)),this[_0xe115a0(0x25d)]=[];}[_0x859cf8(0x1cd)](_0x282413){var _0x54121b=_0x859cf8;const _0x4cac96=this['_compressMutationService'][_0x54121b(0x334)]['fetchThroughInterceptors'](this[_0x54121b(0x322)][_0x54121b(0x334)][_0x54121b(0x3d8)]()['COMPRESS_MUTATION_APPLY'])(_0x282413[_0x54121b(0x170)],null)||_0x282413[_0x54121b(0x170)],_0x3bca32={..._0x282413,'mutations':_0x4cac96};this[_0x54121b(0x25e)](),this[_0x54121b(0x396)](this[_0x54121b(0x2d7)][_0x54121b(0x3f9)](_0x3bca32)),this[_0x54121b(0x3a8)]();}[_0x859cf8(0x2e0)](_0x5910c4){var _0x2b9e5e=_0x859cf8;this[_0x2b9e5e(0x25e)](),this[_0x2b9e5e(0x396)](this[_0x2b9e5e(0x2d7)][_0x2b9e5e(0x221)](_0x5910c4)),this[_0x2b9e5e(0x3a8)]();}['_onRemoteRejected'](_0x4fc8c1){var _0x452b64=_0x859cf8;this[_0x452b64(0x25e)](),this['_updateState'](this[_0x452b64(0x2d7)]['onRemoteRej'](_0x4fc8c1)),this[_0x452b64(0x3a8)]();}['_onRemoteRetry'](_0x11e6b4){var _0xe7573b=_0x859cf8;this['_lockTransition'](),this[_0xe7573b(0x396)](this[_0xe7573b(0x2d7)][_0xe7573b(0x150)](_0x11e6b4)),this[_0xe7573b(0x3a8)]();}[_0x859cf8(0x41c)](_0x2822de){var _0x537d68=_0x859cf8;if(!(this[_0x537d68(0x2d7)]instanceof exports[_0x537d68(0x1ce)]))throw new TypeError(_0x537d68(0x363));const _0x15dbac=_0x2822de['map'](_0x222116=>{var _0x458508=_0x537d68;const _0x58b6a5=this[_0x458508(0x322)][_0x458508(0x334)][_0x458508(0x209)](this[_0x458508(0x322)]['interceptor'][_0x458508(0x3d8)]()['COMPRESS_MUTATION_APPLY'])(_0x222116[_0x458508(0x170)],null)||_0x222116[_0x458508(0x170)];return{..._0x222116,'mutations':_0x58b6a5};});this[_0x537d68(0x25e)](),this[_0x537d68(0x396)](this[_0x537d68(0x2d7)][_0x537d68(0xd5)](_0x15dbac)),this[_0x537d68(0x3a8)]();}[_0x859cf8(0x2c3)](){var _0x107b4d=_0x859cf8;this[_0x107b4d(0x25e)](),this[_0x107b4d(0x396)](this['_state'][_0x107b4d(0x3df)]()),this['_unlockTransition']();}[_0x859cf8(0x418)](_0xbef067=!0x1){var _0x39a0ba=_0x859cf8;this['_lockTransition'](),this[_0x39a0ba(0x396)](this[_0x39a0ba(0x2d7)][_0x39a0ba(0x20d)]()),this[_0x39a0ba(0x3a8)]();const _0x13f320=this[_0x39a0ba(0x2d7)];_0xbef067&&_0x13f320 instanceof exports['SyncedState']&&(this['_lockTransition'](),this[_0x39a0ba(0x396)](_0x13f320[_0x39a0ba(0x19e)]()),this['_unlockTransition']());}async[_0x859cf8(0x239)](){return new Promise(_0x3892e7=>{var _0x40bab8=_0x532c;this['session'][_0x40bab8(0x230)]['pipe'](j[_0x40bab8(0x434)](0x1))['subscribe'](async _0xa3517d=>{var _0x529efc=_0x40bab8;_0x3892e7(await this[_0x529efc(0x29d)](_0xa3517d===se[_0x529efc(0x213)]));});});}['_createHandler'](){var _0xe9ed93=_0x859cf8;const _0x117436=this[_0xe9ed93(0x30a)];return{'onStateChange':(_0x16c7d0,_0xa5f205)=>{var _0x286ccc=_0xe9ed93;if(_0x16c7d0!==this[_0x286ccc(0x2d7)])throw new Error(_0x286ccc(0x37e)+_0x16c7d0[_0x286ccc(0x2c2)]+_0x286ccc(0x207)+_0xa5f205['status']+_0x286ccc(0x437)+this['_state'][_0x286ccc(0x2c2)]);this[_0x286ccc(0x396)](_0xa5f205);},'onSendChangeset':_0xf78641=>{var _0x3a81c9=_0xe9ed93;_0xf78641[_0x3a81c9(0x279)]||(_0xf78641[_0x3a81c9(0x279)]=this['_changesetSessionId'],_0xf78641['reqId']=++this['_changesetReqId']);const _0x5aa122={'eventID':E[_0x3a81c9(0x41d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xf78641[_0x3a81c9(0x30a)],'unitType':this['_type'],'changeset':_0xf78641,'memberID':this[_0x3a81c9(0x3cc)][_0x3a81c9(0x192)]()}};this[_0x3a81c9(0x3cc)][_0x3a81c9(0x267)](_0x5aa122,this[_0x3a81c9(0x30a)]);},'onMissingChangesets':({from:_0x3aa244,to:_0x299a2e})=>{var _0x339505=_0xe9ed93;this[_0x339505(0x142)][_0x339505(0x225)](_0x339505(0x44e),_0x339505(0x19a)+_0x3aa244+_0x339505(0x15c)+_0x299a2e);const _0x51bce4={'eventID':E[_0x339505(0x41d)][_0x339505(0x1e9)],'data':{'unitID':_0x117436,'unitType':this[_0x339505(0x287)],'from':_0x3aa244,'to':_0x299a2e}};this[_0x339505(0x3cc)][_0x339505(0x267)](_0x51bce4,this[_0x339505(0x30a)]);}};}async[_0x859cf8(0x29d)](_0x405b6e){var _0x49a712=_0x859cf8,_0x16aff6,_0x50bf96,_0x1de980;const _0xcbc2e4=await((_0x16aff6=this[_0x49a712(0x18b)])==null?void 0x0:_0x16aff6[_0x49a712(0x380)](this['unitID'])),_0x5ed472=(_0x50bf96=_0xcbc2e4==null?void 0x0:_0xcbc2e4[_0x49a712(0x170)])!=null?_0x50bf96:[],_0x2fae5f=(_0x1de980=_0xcbc2e4==null?void 0x0:_0xcbc2e4['awaitingChangeset'])!=null?_0x1de980:null,_0x27b76a=!!(_0x2fae5f!=null&&_0x2fae5f[_0x49a712(0x279)])&&!!(_0x2fae5f!=null&&_0x2fae5f[_0x49a712(0x42f)]);this['_changesetSessionId']=_0x27b76a?_0x2fae5f['sid']:E[_0x49a712(0x409)](),this['_changesetReqId']=_0x27b76a?_0x2fae5f[_0x49a712(0x42f)]:0x0;const _0x59153a=this['unitID'];try{this[_0x49a712(0x452)](_0x2fae5f,_0x5ed472);}catch(_0x15ad60){this[_0x49a712(0x142)][_0x49a712(0x119)](_0x15ad60);}const _0x2c4d03=this[_0x49a712(0x414)]();if(_0x405b6e){const _0x13a1fc=Et(this[_0x49a712(0x1af)],_0x59153a,this[_0x49a712(0x287)],_0x2fae5f,_0x5ed472,_0x2c4d03);return _0x13a1fc instanceof exports[_0x49a712(0x1aa)]?_0x13a1fc[_0x49a712(0x40e)]():(_0x13a1fc instanceof exports['AwaitingWithPendingState']||_0x13a1fc instanceof exports[_0x49a712(0x327)])&&_0x13a1fc[_0x49a712(0x235)](),_0x13a1fc;}return this[_0x49a712(0x1af)]['createInstance'](exports['OfflineState'],_0x59153a,this[_0x49a712(0x287)],_0x2fae5f,_0x5ed472,_0x2c4d03);}[_0x859cf8(0x452)](_0x1dc1b6,_0x53eec4){var _0x17c28b=_0x859cf8,_0x216ad5,_0x3ca7d7;const _0x12eeb6=this['_compressMutationService']['interceptor'][_0x17c28b(0x209)](this[_0x17c28b(0x322)][_0x17c28b(0x334)][_0x17c28b(0x3d8)]()[_0x17c28b(0x118)]);(_0x216ad5=_0x12eeb6((_0x1dc1b6==null?void 0x0:_0x1dc1b6[_0x17c28b(0x170)])||[],null))==null||_0x216ad5[_0x17c28b(0x16a)](_0xb0355b=>this[_0x17c28b(0x3d7)][_0x17c28b(0x2fb)](_0xb0355b['id'],_0xb0355b[_0x17c28b(0x2d9)])),(_0x3ca7d7=_0x12eeb6(_0x53eec4||[],null))==null||_0x3ca7d7[_0x17c28b(0x16a)](_0x34fc72=>this[_0x17c28b(0x3d7)][_0x17c28b(0x2fb)](_0x34fc72['id'],_0x34fc72[_0x17c28b(0x2d9)]));}},exports[_0x859cf8(0x1dd)]=Be([$(0x3,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),$(0x4,o[_0x859cf8(0x416)](E[_0x859cf8(0x360)])),$(0x5,o[_0x859cf8(0x416)](o['LocaleService'])),$(0x6,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),$(0x7,o['Inject'](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x859cf8(0x12c)]),$(0xa,o[_0x859cf8(0x1b4)]),$(0xb,o[_0x859cf8(0x160)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1dd)]),exports[_0x859cf8(0x16e)]=class extends exports['CollaborationEntity']{constructor(_0x5ec0f6,_0x2e1e82,_0x44242f,_0x133526,_0x3415d7,_0x2255af,_0x40aac4,_0x291409,_0x3e0ee9,_0x212c9c,_0x324478,_0x1066c8,_0x8069bc,_0x375a06){var _0x548dab=_0x859cf8;super(_0x5ec0f6,_0x44242f,_0x2e1e82,_0x133526,_0x3415d7,_0x2255af,_0x40aac4,_0x291409,_0x3e0ee9,_0x212c9c,_0x324478,_0x1066c8,_0x8069bc,_0x375a06),A(this,'_handlerCallback',null),(this[_0x548dab(0x30a)]=_0x5ec0f6,this[_0x548dab(0x41e)]=_0x2e1e82);}[_0x859cf8(0x352)](_0x1ac922){var _0x316a10=_0x859cf8;this[_0x316a10(0x130)]=_0x1ac922;}['dispose'](){var _0x3270eb=_0x859cf8;this[_0x3270eb(0x130)]=null,super['dispose']();}['_createHandler'](){var _0x2a6c04=_0x859cf8;const _0x71ebf2=super[_0x2a6c04(0x414)]();return _0x71ebf2[_0x2a6c04(0x280)]=_0x868a7=>{var _0xf0d7ac=_0x2a6c04,_0x333771,_0x14787c;return(_0x14787c=(_0x333771=this[_0xf0d7ac(0x130)])==null?void 0x0:_0x333771[_0xf0d7ac(0x280)])==null?void 0x0:_0x14787c['call'](_0x333771,_0x868a7);},_0x71ebf2['onTransformState']=_0x582d58=>{var _0x506df9=_0x2a6c04,_0x346346,_0x4a2d68;return(_0x4a2d68=(_0x346346=this[_0x506df9(0x130)])==null?void 0x0:_0x346346['onTransformState'])==null?void 0x0:_0x4a2d68[_0x506df9(0x2ad)](_0x346346,_0x582d58);},_0x71ebf2[_0x2a6c04(0x350)]=_0x1bb76f=>{var _0x28006a,_0x5a957c;return(_0x5a957c=(_0x28006a=this['_handlerCallback'])==null?void 0x0:_0x28006a['onTransformSelections'])==null?void 0x0:_0x5a957c['call'](_0x28006a,_0x1bb76f);},_0x71ebf2['onSyncEditingCollabCursor']=_0x2dac4f=>{var _0x35a1fd=_0x2a6c04,_0x567028,_0x20c16d;return(_0x20c16d=(_0x567028=this['_handlerCallback'])==null?void 0x0:_0x567028[_0x35a1fd(0x1c8)])==null?void 0x0:_0x20c16d['call'](_0x567028,_0x2dac4f);},_0x71ebf2['onTransformRemoteChangesetByIMECache']=_0x5c93d0=>{var _0x427bae=_0x2a6c04,_0x53170f,_0x2415af,_0x502a8b;if(!((_0x53170f=this['_handlerCallback'])!=null&&_0x53170f[_0x427bae(0x3e0)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x502a8b=(_0x2415af=this[_0x427bae(0x130)])==null?void 0x0:_0x2415af[_0x427bae(0x3e0)])==null?void 0x0:_0x502a8b[_0x427bae(0x2ad)](_0x2415af,_0x5c93d0);},_0x71ebf2['onTransformRemoteChangesetByStateCache']=_0x4813bc=>{var _0x294936=_0x2a6c04,_0x15b280,_0x51cdb4,_0x1eff12;if(!((_0x15b280=this[_0x294936(0x130)])!=null&&_0x15b280['onTransformRemoteChangesetByStateCache']))throw new Error(_0x294936(0x208));return(_0x1eff12=(_0x51cdb4=this['_handlerCallback'])==null?void 0x0:_0x51cdb4[_0x294936(0xfd)])==null?void 0x0:_0x1eff12['call'](_0x51cdb4,_0x4813bc);},_0x71ebf2;}async[_0x859cf8(0x44d)](){var _0x453d10=_0x859cf8;const _0x54a52d=await super[_0x453d10(0x44d)]();return this['disposeWithMe'](this[_0x453d10(0x3d7)]['onMutationExecutedForCollab']((_0x3b0b2,_0x347013)=>{var _0x1544ef=_0x453d10;if(_0x3b0b2[_0x1544ef(0x41e)]!==o[_0x1544ef(0x227)]['MUTATION']||_0x347013!=null&&_0x347013['fromCollab']||_0x347013!=null&&_0x347013['onlyLocal']||_0x3b0b2['id']===ct[_0x1544ef(0xe6)]['id'])return;const _0x276b56=_0x3b0b2[_0x1544ef(0x2d9)];if((_0x276b56==null?void 0x0:_0x276b56[_0x1544ef(0x328)])!==this['unitID'])return;const _0x670ce9=_0x3b0b2,_0x502861=this[_0x1544ef(0x322)][_0x1544ef(0x334)][_0x1544ef(0x209)](this[_0x1544ef(0x322)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x670ce9],this[_0x1544ef(0xc9)])||[_0x670ce9];this[_0x1544ef(0x31b)](_0x502861[0x0]);})),_0x54a52d;}},exports[_0x859cf8(0x16e)]=Be([$(0x3,o['Inject'](o['Injector'])),$(0x4,o[_0x859cf8(0x416)](E[_0x859cf8(0x360)])),$(0x5,o[_0x859cf8(0x416)](o['LocaleService'])),$(0x6,o['Inject'](E[_0x859cf8(0x3dc)])),$(0x7,o[_0x859cf8(0x416)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o['ICommandService']),$(0xb,o['IPermissionService']),$(0xc,o[_0x859cf8(0x2f5)](ve)),$(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x16e)]),exports[_0x859cf8(0x14a)]=class extends exports['CollaborationEntity']{constructor(_0x23ef70,_0x152934,_0x4c1ad0,_0x4d791d,_0x41a800,_0x410d66,_0x42d7d7,_0x1acdd2,_0x315ee6,_0x1e774d,_0x351be7,_0x583aa2,_0x4bd8d0,_0xa61bf4,_0x349458){var _0x2e2d33=_0x859cf8;super(_0x23ef70,_0x4c1ad0,_0x152934,_0x4d791d,_0x41a800,_0x410d66,_0x42d7d7,_0x315ee6,_0x1e774d,_0x351be7,_0x583aa2,_0x4bd8d0,_0xa61bf4,_0x349458),this[_0x2e2d33(0x30a)]=_0x23ef70,this[_0x2e2d33(0x41e)]=_0x152934,this[_0x2e2d33(0x2eb)]=_0x1acdd2;}[_0x859cf8(0x414)](){var _0x5bc761=_0x859cf8;const _0x36efc3=super[_0x5bc761(0x414)]();return _0x36efc3[_0x5bc761(0x350)]=_0x174406=>this[_0x5bc761(0x2eb)]['transformSelections'](_0x174406),_0x36efc3;}async[_0x859cf8(0x44d)](){var _0x449041=_0x859cf8;const _0x281fdf=await super[_0x449041(0x44d)]();return this[_0x449041(0x171)](this[_0x449041(0x3d7)]['onMutationExecutedForCollab']((_0x117050,_0x1124de)=>{var _0x560c94=_0x449041;if(_0x117050[_0x560c94(0x41e)]!==o[_0x560c94(0x227)][_0x560c94(0xe3)]||_0x1124de!=null&&_0x1124de[_0x560c94(0xe0)]||_0x1124de!=null&&_0x1124de[_0x560c94(0x20e)])return;const _0x54dc85=_0x117050['params'];if((_0x54dc85==null?void 0x0:_0x54dc85[_0x560c94(0x328)])!==this['unitID'])return;const _0x2c8547=_0x117050,_0x56f847=this['_compressMutationService'][_0x560c94(0x334)][_0x560c94(0x209)](this[_0x560c94(0x322)][_0x560c94(0x334)][_0x560c94(0x3d8)]()['COMPRESS_MUTATION_SEND'])([_0x2c8547],this[_0x560c94(0xc9)])||[_0x2c8547];this[_0x560c94(0x31b)](_0x56f847[0x0]);})),_0x281fdf;}},exports[_0x859cf8(0x14a)]=Be([$(0x3,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),$(0x4,o[_0x859cf8(0x416)](E['CompressMutationService'])),$(0x5,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)])),$(0x6,o[_0x859cf8(0x416)](E['RevisionService'])),$(0x7,o['Inject'](exports[_0x859cf8(0x30e)])),$(0x8,o['Inject'](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x859cf8(0x12c)]),$(0xb,o[_0x859cf8(0x1b4)]),$(0xc,o[_0x859cf8(0x160)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports['SheetCollaborationEntity']);const pt=o[_0x859cf8(0x404)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x2c3d5f){var _0xdba281=_0x859cf8,_0x7dfb13,_0xb367ad,_0x14d6b8,_0x49674b,_0x1aee1d;const _0x49a64e=_0x2c3d5f['data'],_0x1dc46c=JSON[_0xdba281(0x2a9)](_0x49a64e);switch(_0x1dc46c[_0xdba281(0x315)]){case W[_0xdba281(0x419)]:case W[_0xdba281(0x206)]:{const _0x7da2f2=_0x1dc46c[_0xdba281(0x3cf)];return{..._0x1dc46c,'data':_0x7da2f2,'cmd':_0x1dc46c[_0xdba281(0x315)]};}case W[_0xdba281(0x1a9)]:{const _0x4bf3fd=_0x1dc46c['joinRsp'];return{..._0x1dc46c,'data':_0x4bf3fd,'cmd':_0x1dc46c[_0xdba281(0x315)]};}case W['RECV']:{const _0x407f0f=_0x1dc46c[_0xdba281(0x2bc)];switch(_0x407f0f['eventID']){case E['CollaborationEvent']['PERMISSION_REJ']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x7dfb13=_0x407f0f['permissionRejEvent'])==null?void 0x0:_0x7dfb13['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x135)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0xb367ad=_0x407f0f['csAckEvent'])==null?void 0x0:_0xb367ad['cs']},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['NEW_CHANGESETS']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x14d6b8=_0x407f0f[_0xdba281(0x13d)])==null?void 0x0:_0x14d6b8['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x325)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x49674b=_0x407f0f[_0xdba281(0x2a7)])==null?void 0x0:_0x49674b['cs']},'cmd':_0x1dc46c['cmd']};case E['CollaborationEvent'][_0xdba281(0x379)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x1aee1d=_0x407f0f[_0xdba281(0x415)])==null?void 0x0:_0x1aee1d['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x369)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x366)]},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['USERS_ENTER']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x232)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x3e6)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x2a2)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x319)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x30b)]:case E[_0xdba281(0x41d)][_0xdba281(0x310)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x43d)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x200)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x319)]},'cmd':_0x1dc46c['cmd']};case E['CollaborationEvent'][_0xdba281(0x149)]:return{..._0x1dc46c,'data':_0x407f0f,'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x38d)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x157)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x23b)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x28b)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)]['SHOULD_CLOSE_CONN']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x34b)]},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['UNISCRIPT_RUN']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0xe9)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};default:return _0x1dc46c;}}default:return _0x1dc46c;}}function gt(_0x19b8f8){var _0x59ee0b=_0x859cf8;switch(_0x19b8f8[_0x59ee0b(0x315)]){case W['HEARTBEAT']:case W[_0x59ee0b(0x206)]:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8['routeKey']});case W[_0x59ee0b(0x3a1)]:{let _0x31f0ca;switch(_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x2fe)]){case E['CollaborationEvent']['UPDATE_CURSOR']:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x19b8f8['data'][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent']['USERS_LEAVE']:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x3e6)],'leaveEvent':_0x19b8f8['data'][_0x59ee0b(0x1cf)]};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x2f8)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x2f8)],'joinEvent':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent'][_0x59ee0b(0x215)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x19b8f8[_0x59ee0b(0x1cf)]['data']};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x310)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x310)],'liveShareOperation':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x200)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x19b8f8[_0x59ee0b(0x1cf)]['data']};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x378)]:{_0x31f0ca={'eventID':E['CollaborationEvent'][_0x59ee0b(0x378)],'liveShareRequestHost':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent'][_0x59ee0b(0x30b)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x30b)]};break;}default:_0x31f0ca={'eventID':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x2fe)]};}return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'collaMsg':_0x31f0ca});}case W['JOIN']:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'joinReq':_0x19b8f8[_0x59ee0b(0x1cf)]});case W[_0x59ee0b(0x1fc)]:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'leaveReq':_0x19b8f8[_0x59ee0b(0x1cf)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x4948db,_0x22a2aa,_0x3a3c75,_0x49d08b)=>{var _0x5305c4=_0x859cf8;for(var _0x5c8d81=_0x49d08b>0x1?void 0x0:_0x49d08b?ri(_0x22a2aa,_0x3a3c75):_0x22a2aa,_0x38c011=_0x4948db[_0x5305c4(0x44f)]-0x1,_0x47ddf3;_0x38c011>=0x0;_0x38c011--)(_0x47ddf3=_0x4948db[_0x38c011])&&(_0x5c8d81=_0x47ddf3(_0x5c8d81)||_0x5c8d81);return _0x5c8d81;},he=(_0x5b1411,_0x1eb57f)=>(_0x129ae3,_0x162433)=>_0x1eb57f(_0x129ae3,_0x162433,_0x5b1411);const Fe=o[_0x859cf8(0x404)](_0x859cf8(0x439));function oi(_0x5ca9e8,_0x10f837,_0x562b90){var _0x1b9ce1=_0x859cf8;return _0x5ca9e8+'/'+_0x10f837+'/unit/'+_0x562b90+_0x1b9ce1(0x121);}exports[_0x859cf8(0x1b2)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x139804,_0x1b0463,_0x26ff55,_0x18278f,_0xe2e1c6){var _0x151a7c=_0x859cf8;super(),this[_0x151a7c(0x1af)]=_0x139804,this[_0x151a7c(0x25c)]=_0x1b0463,this[_0x151a7c(0x156)]=_0x26ff55,this[_0x151a7c(0x142)]=_0x18278f,this[_0x151a7c(0x2a4)]=_0xe2e1c6;}[_0x859cf8(0x3c6)](_0x6e7229){var _0x1e2d7e=_0x859cf8;const _0x26d574=this[_0x1e2d7e(0x1af)][_0x1e2d7e(0x271)](K['ISocketService']);if(!_0x26d574)throw new Error(_0x1e2d7e(0x23f));const _0x57af84=_0x26d574['createSocket'](_0x6e7229);if(!_0x57af84)throw new Error(_0x1e2d7e(0x3c3));const _0x485060=new o[(_0x1e2d7e(0x210))](),_0xcebda6=new j['Subject']();_0x485060['add'](_0x57af84[_0x1e2d7e(0x1ac)][_0x1e2d7e(0x3c5)](_0x223f59=>_0xcebda6['next'](_0x223f59))),_0x485060['add'](o['toDisposable'](()=>_0xcebda6['complete']()));const _0x4736a9=new j[(_0x1e2d7e(0xdd))]();_0x485060[_0x1e2d7e(0x2d5)](_0x57af84[_0x1e2d7e(0x141)][_0x1e2d7e(0x3c5)](_0x585f97=>_0x4736a9[_0x1e2d7e(0x143)](_0x585f97))),_0x485060['add'](o['toDisposable'](()=>_0x4736a9[_0x1e2d7e(0x32b)]()));const _0x4cc437=new j[(_0x1e2d7e(0xdd))]();_0x485060['add'](_0x57af84['message$'][_0x1e2d7e(0x3c5)](_0x2cd63a=>{const _0x23cbe3=mt(_0x2cd63a);_0x4cc437['next'](_0x23cbe3);})),_0x485060[_0x1e2d7e(0x2d5)](o[_0x1e2d7e(0x177)](()=>_0x4cc437[_0x1e2d7e(0x32b)]()));let _0x1171df;const _0x580b9f=()=>{var _0x493a98=_0x1e2d7e;_0x4736a9['next'](new Event('connection\x20error')),_0xcebda6[_0x493a98(0x143)](new Event(_0x493a98(0xdf))),_0x1171df[_0x493a98(0x374)]();};return _0x1171df={'memberID':'','close$':_0xcebda6[_0x1e2d7e(0x3cb)](),'error$':_0x4736a9['asObservable'](),'open$':_0x57af84['open$'],'message$':_0x4cc437[_0x1e2d7e(0x3cb)](),'send':_0x18365d=>{var _0x21f294=_0x1e2d7e;if(_0x18365d[_0x21f294(0x315)]===W[_0x21f294(0x3a1)]){if(_0x18365d['data'][_0x21f294(0x2fe)]===E[_0x21f294(0x41d)]['SUBMIT_CHANGESET']){this[_0x21f294(0x21c)](_0x1171df,_0x18365d[_0x21f294(0x1cf)])[_0x21f294(0x185)](_0x56066a=>{var _0x18cd69=_0x21f294;this[_0x18cd69(0x142)]['error'](_0x56066a),_0x580b9f();});return;}if(_0x18365d['data']['eventID']===E[_0x21f294(0x41d)][_0x21f294(0x1e9)]){const _0x2da642=_0x18365d[_0x21f294(0x1cf)];this[_0x21f294(0xcc)](_0x2da642)[_0x21f294(0x28e)](_0x349d32=>{var _0x38a0e9=_0x21f294;_0x4cc437[_0x38a0e9(0x143)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x2da642[_0x38a0e9(0x1cf)][_0x38a0e9(0x30a)],'routeType':'','data':{'eventID':E[_0x38a0e9(0x41d)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x349d32}}});})['catch'](_0x3f37eb=>{var _0x200c13=_0x21f294;this[_0x200c13(0x142)][_0x200c13(0x119)](_0x3f37eb),_0x580b9f();});return;}}_0x57af84[_0x21f294(0x267)](gt(_0x18365d));},'close':()=>{var _0x48bd5d=_0x1e2d7e;_0x57af84[_0x48bd5d(0x374)](),_0x485060[_0x48bd5d(0x3c7)]();}},_0x1171df;}async[_0x859cf8(0x21c)](_0x2567b7,_0x4c357a){var _0x29bd77=_0x859cf8,_0x26cc7a;const {unitType:_0x2d1370,unitID:_0x31a770,changeset:_0x726967}=_0x4c357a[_0x29bd77(0x1cf)],_0x5b81bb={'unitID':_0x31a770,'memberID':_0x2567b7['memberID'],'type':_0x2d1370,'changeset':E[_0x29bd77(0x3ff)](_0x726967)},_0x510707=this[_0x29bd77(0x156)][_0x29bd77(0x40b)](Y),_0xc6d625=oi((_0x26cc7a=_0x510707==null?void 0x0:_0x510707[_0x29bd77(0x343)])!=null?_0x26cc7a:$t,_0x2d1370,_0x31a770);try{await this[_0x29bd77(0x25c)][_0x29bd77(0x403)](_0xc6d625,{'body':_0x5b81bb});}catch(_0xc8f48a){throw this['_logService'][_0x29bd77(0x119)](_0x29bd77(0x43f),_0x29bd77(0x228)),_0xc8f48a;}}async['_fetchMissChangesets'](_0x31a29b){var _0x2e2ac0=_0x859cf8;const {unitID:_0x56a7e9,from:_0xaada68,to:_0x3de8bd,unitType:_0x13dfce}=_0x31a29b[_0x2e2ac0(0x1cf)];return(await this[_0x2e2ac0(0x2a4)][_0x2e2ac0(0x2be)]({'metadata':void 0x0},{'unitID':_0x56a7e9,'type':_0x13dfce,'from':_0xaada68,'to':_0x3de8bd}))[_0x2e2ac0(0x453)][_0x2e2ac0(0x259)](_0x23d229=>((_0x23d229[_0x2e2ac0(0x170)]===null||_0x23d229[_0x2e2ac0(0x170)]===void 0x0)&&(_0x23d229[_0x2e2ac0(0x170)]=[]),_0x23d229));}},exports[_0x859cf8(0x1b2)]=ai([he(0x0,o['Inject'](o['Injector'])),he(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),he(0x2,o[_0x859cf8(0x1bc)]),he(0x3,o['ILogService']),he(0x4,E['ISnapshotServerService'])],exports[_0x859cf8(0x1b2)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x9eb995,_0x14d46e,_0x20253f,_0x416c93)=>{for(var _0x1501dd=_0x416c93>0x1?void 0x0:_0x416c93?ci(_0x14d46e,_0x20253f):_0x14d46e,_0x4ef8b7=_0x9eb995['length']-0x1,_0x480c17;_0x4ef8b7>=0x0;_0x4ef8b7--)(_0x480c17=_0x9eb995[_0x4ef8b7])&&(_0x1501dd=_0x480c17(_0x1501dd)||_0x1501dd);return _0x1501dd;},_e=(_0x33c766,_0x38327f)=>(_0x539c2a,_0x888526)=>_0x38327f(_0x539c2a,_0x888526,_0x33c766);exports[_0x859cf8(0x1b1)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x121e1e,_0x4fe66e,_0x2be23c,_0x467190,_0x4da51a,_0x13ad95){var _0x3530d2=_0x859cf8;super(),A(this,_0x3530d2(0x2de),new j[(_0x3530d2(0x161))](void 0x0)),A(this,'socket$',this[_0x3530d2(0x2de)][_0x3530d2(0x3cb)]()),A(this,'_candidateSocket',null),A(this,_0x3530d2(0x174),new Map()),A(this,_0x3530d2(0x1a5),new j[(_0x3530d2(0x161))](se[_0x3530d2(0x155)])),A(this,_0x3530d2(0xda),this[_0x3530d2(0x1a5)]['asObservable']()),A(this,_0x3530d2(0x39a),!0x1),A(this,_0x3530d2(0x1e2)),A(this,_0x3530d2(0x364),0x0),A(this,_0x3530d2(0xe2)),A(this,_0x3530d2(0x3d0)),(this[_0x3530d2(0x1af)]=_0x121e1e,this['_logService']=_0x4fe66e,this['_configService']=_0x2be23c,this['_socketService']=_0x467190,this[_0x3530d2(0x27a)]=_0x4da51a,this[_0x3530d2(0x109)]=_0x13ad95,this[_0x3530d2(0x2cf)]());}get[_0x859cf8(0x2f3)](){var _0x2d2247=_0x859cf8;return this[_0x2d2247(0x2de)]['getValue']();}[_0x859cf8(0x2cf)](){var _0x52f168=_0x859cf8;this[_0x52f168(0x109)]&&this[_0x52f168(0x171)](this[_0x52f168(0x109)][_0x52f168(0x2dd)][_0x52f168(0x3c5)](_0x1fe579=>{var _0x44dd80=_0x52f168;_0x1fe579&&!this[_0x44dd80(0x2f3)]&&this[_0x44dd80(0x38b)](),_0x1fe579||this['_onOffline']();}));}[_0x859cf8(0x3c7)](){var _0x48ba69=_0x859cf8;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x48ba69(0x27f)](),this[_0x48ba69(0x269)](),this[_0x48ba69(0x174)][_0x48ba69(0x16a)](_0x5811b5=>_0x5811b5['dispose']()),this[_0x48ba69(0x174)]['clear'](),this[_0x48ba69(0x1a5)][_0x48ba69(0x32b)]();}async[_0x859cf8(0x20a)](_0x3aeef6){var _0x593302=_0x859cf8;if(this[_0x593302(0x174)]['has'](_0x3aeef6))return this[_0x593302(0x174)]['get'](_0x3aeef6);this[_0x593302(0xe5)]();const _0xbb9f24=this[_0x593302(0x1af)][_0x593302(0x10f)](exports['CollaborationSession'],_0x3aeef6,this[_0x593302(0x2de)]['asObservable']());return this[_0x593302(0x174)][_0x593302(0x14f)](_0x3aeef6,_0xbb9f24),_0xbb9f24;}[_0x859cf8(0x2f2)](_0xc90e0f){var _0x462277=_0x859cf8,_0x7d605a;const _0x447c99=this[_0x462277(0x174)][_0x462277(0x271)](_0xc90e0f);_0x447c99&&(this[_0x462277(0x174)][_0x462277(0x3fd)](_0xc90e0f),_0x447c99[_0x462277(0x374)]()),this[_0x462277(0x174)][_0x462277(0xf7)]||(_0x7d605a=this[_0x462277(0x2f3)])==null||_0x7d605a[_0x462277(0x374)]();}[_0x859cf8(0x38b)](){var _0x3bf0be=_0x859cf8;this[_0x3bf0be(0x364)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3bf0be(0x128)]();}[_0x859cf8(0x450)](){var _0x450718=_0x859cf8;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x450718(0x1e2)]),this[_0x450718(0x1e2)]=null);}async[_0x859cf8(0x151)](){var _0x5523eb=_0x859cf8,_0x4569af;const _0x457462=this[_0x5523eb(0x156)][_0x5523eb(0x40b)](Y),_0x20175b=(_0x4569af=_0x457462==null?void 0x0:_0x457462[_0x5523eb(0x3ea)])!=null?_0x4569af:_t,_0x18288a=await this[_0x5523eb(0x241)][_0x5523eb(0xd9)](_0x20175b);return this[_0x5523eb(0x24f)]=_0x18288a,_0x18288a;}async[_0x859cf8(0xe5)](){var _0x2a1bc0=_0x859cf8,_0x2200f9,_0x1c352e;try{const _0x4585e8=(_0x1c352e=(_0x2200f9=this[_0x2a1bc0(0x2f3)])!=null?_0x2200f9:this['_candidateSocket'])!=null?_0x1c352e:await this[_0x2a1bc0(0x151)]();if(_0x4585e8){const _0x33ebc0=_0x4585e8[_0x2a1bc0(0x267)];_0x4585e8[_0x2a1bc0(0x267)]=_0x38af17=>(this[_0x2a1bc0(0x22c)](),_0x33ebc0[_0x2a1bc0(0xcd)](_0x4585e8,[_0x38af17])),_0x4585e8[_0x2a1bc0(0xd6)][_0x2a1bc0(0x3c5)](_0x4bc613=>this[_0x2a1bc0(0x17e)](_0x4585e8,_0x4bc613)),_0x4585e8['error$'][_0x2a1bc0(0x1d5)](V[_0x2a1bc0(0x434)](0x1))[_0x2a1bc0(0x3c5)](_0x5a0189=>this[_0x2a1bc0(0x142)][_0x2a1bc0(0x119)]('[CollaborationSessionService]:\x20socket\x20error',_0x5a0189)),_0x4585e8[_0x2a1bc0(0x294)]['pipe'](V['take'](0x1))[_0x2a1bc0(0x3c5)](()=>{var _0x46e2af=_0x2a1bc0;this[_0x46e2af(0x3aa)](_0x4585e8);}),_0x4585e8[_0x2a1bc0(0x1ac)][_0x2a1bc0(0x1d5)](V[_0x2a1bc0(0x434)](0x1))[_0x2a1bc0(0x3c5)](_0x4f9014=>{var _0x3c3f4f=_0x2a1bc0;this[_0x3c3f4f(0x142)]['debug'](_0x3c3f4f(0x38f),'socket\x20close',_0x4f9014),this[_0x3c3f4f(0x19b)]();});}}catch(_0x39536a){this[_0x2a1bc0(0x142)][_0x2a1bc0(0x119)](_0x39536a),this[_0x2a1bc0(0x19b)]();}}[_0x859cf8(0x3aa)](_0x4b0537){var _0x40b188=_0x859cf8;this[_0x40b188(0x142)][_0x40b188(0x225)](_0x40b188(0x38f),'socket\x20open.'),_0x4b0537[_0x40b188(0x267)]({'cmd':W[_0x40b188(0x206)]}),this[_0x40b188(0x22c)]();}['_onOffline'](){var _0xa97a59=_0x859cf8;this['_socketReady']=!0x1,this[_0xa97a59(0x24f)]=null,this[_0xa97a59(0x1a5)]['next'](se[_0xa97a59(0x216)]),this[_0xa97a59(0x2de)][_0xa97a59(0x143)](null),this[_0xa97a59(0x27f)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x1d7124=_0x859cf8,_0x33bf43;this[_0x1d7124(0x440)](),this['_retryCount']<((_0x33bf43=this['_configService'][_0x1d7124(0x40b)](ut))!=null?_0x33bf43:wt)?(this[_0x1d7124(0x27a)][_0x1d7124(0x361)]({'id':J[_0x1d7124(0x3db)]}),this[_0x1d7124(0x128)]()):this[_0x1d7124(0x27a)][_0x1d7124(0x361)]({'id':J[_0x1d7124(0x30c)]});}[_0x859cf8(0x128)](){var _0x518f34=_0x859cf8,_0x8cc9e3;const _0x1ce458=this['_retryCount'],_0x2197c4=this[_0x518f34(0x156)][_0x518f34(0x40b)](Y),_0x356449=_0x1ce458===0x0?0x0:((_0x8cc9e3=_0x2197c4==null?void 0x0:_0x2197c4[_0x518f34(0x116)])!=null?_0x8cc9e3:Mt)*0x2**_0x1ce458;this[_0x518f34(0x1e2)]=setTimeout(()=>{var _0x447743=_0x518f34;clearTimeout(this[_0x447743(0x1e2)]),this['_retryConnectingTimer']=null,this[_0x447743(0xe5)]();},_0x356449),this[_0x518f34(0x364)]+=0x1;}[_0x859cf8(0x17e)](_0x3bd698,_0xa25d62){var _0x56617a=_0x859cf8;const {cmd:_0x8b1646}=_0xa25d62;_0x8b1646===W[_0x56617a(0x206)]&&!this[_0x56617a(0x39a)]&&(_0x3bd698[_0x56617a(0x1d6)]=_0xa25d62['data'][_0x56617a(0x1d6)],this[_0x56617a(0x2de)][_0x56617a(0x143)](_0x3bd698),this[_0x56617a(0x1a5)]['next'](se[_0x56617a(0x213)]),this[_0x56617a(0x39a)]=!0x0,this[_0x56617a(0x24f)]=null),_0x8b1646===W[_0x56617a(0x419)]&&this[_0x56617a(0x27f)](),this['_rescheduleHeartbeat']();}[_0x859cf8(0x22c)](){var _0x89d152=_0x859cf8,_0x1378da;this[_0x89d152(0x269)](),this[_0x89d152(0xe2)]=setTimeout(()=>this[_0x89d152(0x436)](),(_0x1378da=this[_0x89d152(0x156)][_0x89d152(0x40b)](ht))!=null?_0x1378da:Lt);}[_0x859cf8(0x436)](){var _0x2ce9e9=_0x859cf8;this[_0x2ce9e9(0x2f3)][_0x2ce9e9(0x267)]({'cmd':W[_0x2ce9e9(0x419)]}),this[_0x2ce9e9(0xe1)]();}['_waitForHeartbeatResponse'](){var _0x1600b3=_0x859cf8,_0xdc8979;this[_0x1600b3(0x3d0)]=setTimeout(()=>this[_0x1600b3(0x19b)](),(_0xdc8979=this[_0x1600b3(0x156)][_0x1600b3(0x40b)](ke))!=null?_0xdc8979:lt);}['_clearHeartbeatTimer'](){var _0x40c1a0=_0x859cf8;this[_0x40c1a0(0xe2)]!=null&&(clearTimeout(this[_0x40c1a0(0xe2)]),this[_0x40c1a0(0xe2)]=null);}[_0x859cf8(0x27f)](){var _0x2c46e4=_0x859cf8;this[_0x2c46e4(0x3d0)]!=null&&(clearTimeout(this[_0x2c46e4(0x3d0)]),this[_0x2c46e4(0x3d0)]=null);}},exports[_0x859cf8(0x1b1)]=_i([_e(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),_e(0x1,o[_0x859cf8(0x12c)]),_e(0x2,o[_0x859cf8(0x1bc)]),_e(0x3,Fe),_e(0x4,o[_0x859cf8(0x416)](ee)),_e(0x5,o['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],li=(_0x4dc45e,_0x2cac2b,_0x47b596,_0x25275a)=>{for(var _0x1b078a=_0x25275a>0x1?void 0x0:_0x25275a?hi(_0x2cac2b,_0x47b596):_0x2cac2b,_0x3cdb66=_0x4dc45e['length']-0x1,_0x157a04;_0x3cdb66>=0x0;_0x3cdb66--)(_0x157a04=_0x4dc45e[_0x3cdb66])&&(_0x1b078a=_0x157a04(_0x1b078a)||_0x1b078a);return _0x1b078a;},Se=(_0x4e5281,_0x1ef7c8)=>(_0x38c4b7,_0x8d05b1)=>_0x1ef7c8(_0x38c4b7,_0x8d05b1,_0x4e5281);exports[_0x859cf8(0x2dc)]=class extends o['RxDisposable']{constructor(_0x12c08e,_0x43e5b5,_0x4489f3,_0x5f2099){var _0x49923f=_0x859cf8,_0x288bda;super(),A(this,'_entities',new Map()),A(this,_0x49923f(0x309),new j['Subject']()),A(this,'entityInit$',this['_entityInit$'][_0x49923f(0x3cb)]()),(this[_0x49923f(0x1af)]=_0x12c08e,this['_collabSessionService']=_0x43e5b5,this[_0x49923f(0x156)]=_0x4489f3,this[_0x49923f(0xc9)]=_0x5f2099,((_0x288bda=this['_configService']['getConfig'](Y))==null?void 0x0:_0x288bda[_0x49923f(0x19c)])!==!0x1&&this[_0x49923f(0x44d)]());}[_0x859cf8(0x3c7)](){var _0x11c286=_0x859cf8;super[_0x11c286(0x3c7)](),this[_0x11c286(0x274)][_0x11c286(0x16a)](_0x529bce=>_0x529bce[_0x11c286(0x3c7)]()),this[_0x11c286(0x274)]['clear']();}[_0x859cf8(0x302)](_0x96bdbd){var _0x33c855=_0x859cf8,_0x3865cb;return(_0x3865cb=this[_0x33c855(0x274)][_0x33c855(0x271)](_0x96bdbd))!=null?_0x3865cb:null;}[_0x859cf8(0x19f)](_0x31dff5){var _0x43d413=_0x859cf8;const _0x36f1f3=this[_0x43d413(0x302)](_0x31dff5);return _0x36f1f3?j['of'](_0x36f1f3):this[_0x43d413(0x309)][_0x43d413(0x1d5)](V[_0x43d413(0x251)](_0x274acd=>_0x274acd[_0x43d413(0x30a)]===_0x31dff5));}[_0x859cf8(0x33e)](_0x3abc04){var _0x4a09b1=_0x859cf8;return j[_0x4a09b1(0x12d)](this[_0x4a09b1(0x19f)](_0x3abc04)[_0x4a09b1(0x1d5)](V['map'](()=>{})));}[_0x859cf8(0x44d)](){var _0x516ac1=_0x859cf8;this['_univerInstanceService'][_0x516ac1(0x3ca)](o[_0x516ac1(0x261)]['UNIVER_SHEET'])[_0x516ac1(0x1d5)](j[_0x516ac1(0x236)](this['dispose$']),V[_0x516ac1(0x3f6)](0x10))['subscribe'](async _0x467273=>{var _0x38c4c9=_0x516ac1;const _0x2f6add=_0x467273[_0x38c4c9(0x33a)](),_0x1e8df4=await this['_startCollaboration'](_0x2f6add,X[_0x38c4c9(0x358)]);this[_0x38c4c9(0x274)][_0x38c4c9(0x14f)](_0x2f6add,_0x1e8df4);}),this[_0x516ac1(0xc9)][_0x516ac1(0x3ca)](o[_0x516ac1(0x261)][_0x516ac1(0x44b)])[_0x516ac1(0x1d5)](j['takeUntil'](this['dispose$']),V[_0x516ac1(0x3f6)](0x10))[_0x516ac1(0x1d5)](V[_0x516ac1(0x251)](_0x48a12f=>!_0x48a12f[_0x516ac1(0x33a)]()['startsWith']('__')))[_0x516ac1(0x3c5)](async _0x360a30=>{var _0xccb161=_0x516ac1;const _0x5c6dbd=_0x360a30[_0xccb161(0x33a)](),_0x1ee2a6=await this[_0xccb161(0x3bd)](_0x5c6dbd,X[_0xccb161(0x44b)]);this[_0xccb161(0x274)][_0xccb161(0x14f)](_0x5c6dbd,_0x1ee2a6);}),j[_0x516ac1(0x21e)](this['_univerInstanceService'][_0x516ac1(0x144)](o['UniverInstanceType'][_0x516ac1(0x358)]),this[_0x516ac1(0xc9)][_0x516ac1(0x144)](o[_0x516ac1(0x261)]['UNIVER_DOC']))[_0x516ac1(0x1d5)](j['takeUntil'](this[_0x516ac1(0x283)]))['subscribe'](_0x2f9325=>{var _0x5afa7a=_0x516ac1;const _0xe09c3d=_0x2f9325['getUnitId'](),_0x54ef05=this[_0x5afa7a(0x274)][_0x5afa7a(0x271)](_0xe09c3d);_0x54ef05&&(_0x54ef05[_0x5afa7a(0x3c7)](),this[_0x5afa7a(0x274)]['delete'](_0xe09c3d));});}async[_0x859cf8(0x3bd)](_0x372b36,_0x209ee5){var _0x46dfc4=_0x859cf8;const _0x5641de=await this[_0x46dfc4(0x33c)][_0x46dfc4(0x20a)](_0x372b36),_0x47b683=this[_0x46dfc4(0x1af)][_0x46dfc4(0x10f)](this[_0x46dfc4(0x13b)](_0x209ee5),_0x372b36,_0x209ee5,_0x5641de);return await _0x47b683['init'](),this[_0x46dfc4(0x309)][_0x46dfc4(0x143)](_0x47b683),_0x47b683;}[_0x859cf8(0x13b)](_0x35c4bd){var _0x4022cf=_0x859cf8;switch(_0x35c4bd){case X[_0x4022cf(0x44b)]:return exports['DocCollaborationEntity'];case X[_0x4022cf(0x358)]:return exports[_0x4022cf(0x14a)];default:throw new Error(_0x4022cf(0x449)+_0x35c4bd);}}},exports[_0x859cf8(0x2dc)]=li([Se(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),Se(0x1,o['Inject'](exports[_0x859cf8(0x1b1)])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x859cf8(0x2ab)])],exports[_0x859cf8(0x2dc)]);var ui=Object[_0x859cf8(0x1e0)],vi=(_0x2ca845,_0x5278ac,_0x35bc58,_0x4405ab)=>{var _0x411048=_0x859cf8;for(var _0x3556f3=_0x4405ab>0x1?void 0x0:_0x4405ab?ui(_0x5278ac,_0x35bc58):_0x5278ac,_0x3fb5bc=_0x2ca845[_0x411048(0x44f)]-0x1,_0x25672d;_0x3fb5bc>=0x0;_0x3fb5bc--)(_0x25672d=_0x2ca845[_0x3fb5bc])&&(_0x3556f3=_0x25672d(_0x3556f3)||_0x3556f3);return _0x3556f3;},Ye=(_0xa79b46,_0x24df45)=>(_0x53a1cc,_0x1c69dd)=>_0x24df45(_0x53a1cc,_0x1c69dd,_0xa79b46);const di=_0x859cf8(0x425),Si=_0x859cf8(0x3b6);let xe=class extends o[_0x859cf8(0x18e)]{constructor(_0x437ab7,_0x477f79){var _0x411da8=_0x859cf8;super(),this[_0x411da8(0xc9)]=_0x437ab7,this[_0x411da8(0x156)]=_0x477f79,this['_init']();}['_init'](){var _0x45a8ba=_0x859cf8;this[_0x45a8ba(0x171)](this['_univerInstanceService'][_0x45a8ba(0x3a3)][_0x45a8ba(0x3c5)](()=>{var _0x18130b=_0x45a8ba,_0x4e9786;const _0x3ac26b=this['_univerInstanceService'][_0x18130b(0x29c)]();let _0x2bc423=(_0x4e9786=this[_0x18130b(0x156)][_0x18130b(0x40b)](di))!=null?_0x4e9786:Si;_0x3ac26b instanceof o[_0x18130b(0x356)]&&(_0x2bc423=_0x3ac26b[_0x18130b(0x2c1)]),document[_0x18130b(0x42b)]=_0x2bc423;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x859cf8(0x1bc)])],xe);var Ii=Object[_0x859cf8(0x1e0)],fi=(_0x296951,_0x29ca9a,_0x453b6a,_0x3d60b0)=>{for(var _0x3c3bef=_0x3d60b0>0x1?void 0x0:_0x3d60b0?Ii(_0x29ca9a,_0x453b6a):_0x29ca9a,_0xfd3f9f=_0x296951['length']-0x1,_0x4f3a74;_0xfd3f9f>=0x0;_0xfd3f9f--)(_0x4f3a74=_0x296951[_0xfd3f9f])&&(_0x3c3bef=_0x4f3a74(_0x3c3bef)||_0x3c3bef);return _0x3c3bef;},Ae=(_0x4c30f3,_0x52e10b)=>(_0x2e7722,_0x274062)=>_0x52e10b(_0x2e7722,_0x274062,_0x4c30f3);let Ne=class{constructor(_0x108f09,_0x1b1ede,_0x59f9a4){var _0x24bb19=_0x859cf8;this[_0x24bb19(0x156)]=_0x108f09,this[_0x24bb19(0x25c)]=_0x1b1ede,this[_0x24bb19(0x110)]=_0x59f9a4,this[_0x24bb19(0x402)]();}[_0x859cf8(0x402)](){var _0x3451c1=_0x859cf8;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1283fe,_0x421cf4)=>_0x421cf4(_0x1283fe)['pipe'](j[_0x3451c1(0x2f4)](async _0x4814b3=>{var _0x5a65bb=_0x3451c1;const _0x3adcd5=_0x4814b3;if(_0x3adcd5[_0x5a65bb(0x2c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5a65bb(0x42e)](this['localeService']['t'](_0x5a65bb(0x186)))){const _0x508120=window[_0x5a65bb(0x15d)](window[_0x5a65bb(0x344)]['href']);window[_0x5a65bb(0x344)][_0x5a65bb(0x114)]=this[_0x5a65bb(0x40f)]()+'?url='+_0x508120;}}return _0x3adcd5;}))});}[_0x859cf8(0x40f)](){var _0xf18909=_0x859cf8,_0x368568;const _0x43ef0f=this[_0xf18909(0x156)][_0xf18909(0x40b)](Y);return(_0x368568=_0x43ef0f==null?void 0x0:_0x43ef0f[_0xf18909(0x238)])!=null?_0x368568:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Ae(0x2,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)]))],Ne);var Ei=Object['getOwnPropertyDescriptor'],pi=(_0xd96888,_0xab6d2b,_0x30e247,_0x420ade)=>{var _0x556897=_0x859cf8;for(var _0x2a48f6=_0x420ade>0x1?void 0x0:_0x420ade?Ei(_0xab6d2b,_0x30e247):_0xab6d2b,_0x440acb=_0xd96888[_0x556897(0x44f)]-0x1,_0x42c049;_0x440acb>=0x0;_0x440acb--)(_0x42c049=_0xd96888[_0x440acb])&&(_0x2a48f6=_0x42c049(_0x2a48f6)||_0x2a48f6);return _0x2a48f6;},Ke=(_0x40af37,_0xecacc6)=>(_0x190e4d,_0x22cb23)=>_0xecacc6(_0x190e4d,_0x22cb23,_0x40af37);const mi='/universer-api/authz';exports[_0x859cf8(0x2ce)]=class extends o['Disposable']{constructor(_0xbe1c21,_0x204d80){var _0x388fb3=_0x859cf8;super(),this['_HTTPService']=_0xbe1c21,this[_0x388fb3(0x156)]=_0x204d80,this[_0x388fb3(0x126)]();}['_initMergeInterceptor'](){var _0x7574c7=_0x859cf8;const _0x49c7fc=this;this[_0x7574c7(0x171)](this[_0x7574c7(0x290)][_0x7574c7(0xd8)]({'priority':0x3e7,'interceptor':K[_0x7574c7(0x159)]({'isMatch'(_0x49e334){var _0x2816e7=_0x7574c7,_0x5d0e35;if(_0x49e334['method']==='POST'&&((_0x5d0e35=_0x49e334['requestParams'])!=null&&_0x5d0e35[_0x2816e7(0x3b4)])){const {objectID:_0x1af0ad,objectType:_0x53b832}=_0x49e334[_0x2816e7(0x341)]['body']||{};if(!_0x1af0ad||_0x53b832===void 0x0)return!0x1;const _0x14552f=_0x49c7fc[_0x2816e7(0xce)]()+'/'+_0x53b832+_0x2816e7(0x3bb)+_0x1af0ad+_0x2816e7(0x2c8);if(_0x49e334[_0x2816e7(0x444)]===_0x14552f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b85d2){var _0x2622b9=_0x7574c7,_0x121f39;return(_0x121f39=_0x3b85d2['requestParams'])==null?void 0x0:_0x121f39[_0x2622b9(0x3b4)];},'mergeParamsToRequest'(_0x566e0f,_0x9ff87d){var _0x218893=_0x7574c7;const _0x21cdf9=_0x49c7fc[_0x218893(0xce)]()+_0x218893(0x1ff),_0x2f1652=_0x566e0f['reduce']((_0x3b6a77,_0x4e5aa9)=>{var _0x5c140d=_0x218893;const {unitID:_0xfb16f8,objectID:_0x4b617b,objectType:_0x32ec71,actions:_0x5bc67f}=_0x4e5aa9;return _0x3b6a77[_0xfb16f8]||(_0x3b6a77[_0xfb16f8]={}),_0x3b6a77[_0xfb16f8][_0x4b617b]||(_0x3b6a77[_0xfb16f8][_0x4b617b]={'objectID':_0x4b617b,'objectType':_0x32ec71,'actions':[]}),_0x3b6a77[_0xfb16f8][_0x4b617b][_0x5c140d(0x19d)][_0x5c140d(0x3f4)](..._0x5bc67f),_0x3b6a77;},{}),_0x5a30f8=[];for(const _0x243496 in _0x2f1652)for(const _0x22373f in _0x2f1652[_0x243496]){const {actions:_0x18248e,objectType:_0x3bf362}=_0x2f1652[_0x243496][_0x22373f],_0x3773c2=[...new Set(_0x18248e)];_0x5a30f8['push']({'unitID':_0x243496,'objectID':_0x22373f,'objectType':_0x3bf362,'actions':_0x3773c2});}return new K[(_0x218893(0x2e2))](_0x218893(0x147),_0x21cdf9,{'headers':_0x9ff87d[_0x218893(0x386)],'withCredentials':_0x9ff87d[_0x218893(0x10d)],'responseType':_0x9ff87d[_0x218893(0x2b6)],'body':{'requests':_0x5a30f8}});}},{'distributeResult'(_0x5033d1,_0x20f988){var _0x291eb1=_0x7574c7;const {objectActions:_0x4d6089}=_0x5033d1;return _0x20f988[_0x291eb1(0x259)](_0x531950=>{var _0x730f38=_0x291eb1;const {unitID:_0xf3d92d,objectID:_0x9ce88b,actions:_0x1f9f82}=_0x531950,_0x3091db=_0x4d6089[_0x730f38(0x293)](_0x3c040f=>_0x3c040f[_0x730f38(0x30a)]===_0xf3d92d&&_0x3c040f[_0x730f38(0x408)]===_0x9ce88b),_0xc32cc7=_0x1f9f82[_0x730f38(0x259)](_0x592721=>_0x3091db==null?void 0x0:_0x3091db[_0x730f38(0x19d)][_0x730f38(0x293)](_0x3ac88b=>_0x3ac88b['action']===_0x592721))[_0x730f38(0x251)](_0x4be172=>!!_0x4be172);return{'config':_0x531950,'result':{'actions':_0xc32cc7,'error':_0x5033d1[_0x730f38(0x119)]}};});}})}));}['_getAPIPrefixPath'](){var _0x10ccbf=_0x859cf8,_0x400c59;const _0x5e6125=this['_configService'][_0x10ccbf(0x40b)](Y);return(_0x400c59=_0x5e6125==null?void 0x0:_0x5e6125['authzUrl'])!=null?_0x400c59:mi;}async[_0x859cf8(0x1f4)](_0x3ca3c1){var _0x913054=_0x859cf8;const _0x27b3cc=this[_0x913054(0xce)]()+'/'+_0x3ca3c1[_0x913054(0x390)]+_0x913054(0x3be);return(await this[_0x913054(0x290)]['post'](_0x27b3cc,{'body':_0x3ca3c1}))[_0x913054(0x3b4)]['objectID']||'';}async[_0x859cf8(0xde)](_0x19f186){var _0x1614c2=_0x859cf8;const _0x111fae=this[_0x1614c2(0xce)]()+_0x1614c2(0x3c8);return(await this[_0x1614c2(0x290)]['post'](_0x111fae,{'body':_0x19f186}))['body']['objects'];}async[_0x859cf8(0x30d)](_0x355605){var _0x3f12cd=_0x859cf8,_0x53ed45,_0x1b8b11;const _0x1fdebd=this['_getAPIPrefixPath']()+'/'+_0x355605[_0x3f12cd(0x390)]+_0x3f12cd(0x3bb)+_0x355605[_0x3f12cd(0x408)],_0x172dff=await this['_HTTPService'][_0x3f12cd(0xdb)](_0x1fdebd,{'body':_0x355605});if(((_0x1b8b11=(_0x53ed45=_0x172dff==null?void 0x0:_0x172dff['body'])==null?void 0x0:_0x53ed45[_0x3f12cd(0x119)])==null?void 0x0:_0x1b8b11['code'])!==0x1)throw new Error(_0x3f12cd(0x348));}async[_0x859cf8(0x43c)](_0x14fcac){var _0x465883=_0x859cf8;const _0x17a3a8=this[_0x465883(0xce)]()+'/'+_0x14fcac[_0x465883(0x390)]+_0x465883(0x3bb)+_0x14fcac['objectID']+_0x465883(0x2c8);return(await this[_0x465883(0x290)][_0x465883(0x403)](_0x17a3a8,{'body':_0x14fcac}))['body'][_0x465883(0x19d)];}async[_0x859cf8(0x2f0)](_0xe6a36b){var _0x454b44=_0x859cf8;const _0x1acd84=this[_0x454b44(0xce)]()+_0x454b44(0x1ff);return(await this[_0x454b44(0x290)][_0x454b44(0x403)](_0x1acd84,{'body':{'requests':_0xe6a36b}}))[_0x454b44(0x3b4)][_0x454b44(0x1f0)];}async['listRoles'](_0x1fa2c6){var _0x12c9fe=_0x859cf8;const _0x5f3a7e=this[_0x12c9fe(0xce)]()+'/'+_0x1fa2c6[_0x12c9fe(0x390)]+'/role',_0x49e952=await this['_HTTPService'][_0x12c9fe(0x403)](_0x5f3a7e,{'body':_0x1fa2c6});return{'roles':_0x49e952[_0x12c9fe(0x3b4)]['roles'],'actions':_0x49e952[_0x12c9fe(0x3b4)][_0x12c9fe(0x19d)]};}async[_0x859cf8(0x303)](_0x250a0a){var _0x5d1d64=_0x859cf8;const _0x4c2acd=this[_0x5d1d64(0xce)]()+'/collaborator';await this[_0x5d1d64(0x290)][_0x5d1d64(0x3fd)](_0x4c2acd,{'params':{'collaboratorID':_0x250a0a[_0x5d1d64(0x3d1)],'objectID':_0x250a0a[_0x5d1d64(0x408)],'unitID':_0x250a0a[_0x5d1d64(0x30a)]}});}async[_0x859cf8(0x1f5)](_0xafb9b6){var _0x5084cc=_0x859cf8;const _0x2200af=this[_0x5084cc(0xce)]()+'/collaborator';await this['_HTTPService'][_0x5084cc(0x3da)](_0x2200af,{'body':_0xafb9b6});}async[_0x859cf8(0x131)](_0x4150dc){var _0x3ec3dd=_0x859cf8;const _0x2ab741=this['_getAPIPrefixPath']()+_0x3ec3dd(0x231);await this['_HTTPService'][_0x3ec3dd(0x403)](_0x2ab741,{'body':_0x4150dc});}async[_0x859cf8(0x1a6)](_0x1b1668){var _0x55a447=_0x859cf8;const _0x3ee4fd=this[_0x55a447(0xce)]()+_0x55a447(0x231);return(await this['_HTTPService'][_0x55a447(0x271)](_0x3ee4fd,{'params':{'objectID':_0x1b1668[_0x55a447(0x408)],'unitID':_0x1b1668['unitID']}}))[_0x55a447(0x3b4)][_0x55a447(0xf0)];}async[_0x859cf8(0x400)](_0x3ede59){var _0x363da1=_0x859cf8;const _0x5ee145=this[_0x363da1(0xce)]()+_0x363da1(0x231);await this['_HTTPService']['put'](_0x5ee145,{'body':_0x3ede59});}},exports[_0x859cf8(0x2ce)]=pi([Ke(0x0,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Ke(0x1,o[_0x859cf8(0x416)](o['IConfigService']))],exports[_0x859cf8(0x2ce)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x19c97a){var _0x46f738=_0x859cf8;return _0x19c97a&&_0x19c97a[_0x46f738(0x329)]&&Object[_0x46f738(0x31d)][_0x46f738(0x2e8)]['call'](_0x19c97a,_0x46f738(0x270))?_0x19c97a[_0x46f738(0x270)]:_0x19c97a;}var Ie={'exports':{}};function gi(_0x3e8852){var _0x2026d4=_0x859cf8;throw new Error(_0x2026d4(0x3a5)+_0x3e8852+_0x2026d4(0x304));}var fe={'exports':{}},Ti=fe[_0x859cf8(0x273)],qe;function Z(){var _0x1929ca=_0x859cf8;return qe||(qe=0x1,function(_0x2e1570,_0x92af23){(function(_0x57b5a2,_0x5504e4){_0x2e1570['exports']=_0x5504e4();}(Ti,function(){var _0x3abbc5=_0x3abbc5||function(_0x319d68,_0x1f212d){var _0x1fd1ec=_0x532c,_0x4ea65c;if(typeof window<'u'&&window['crypto']&&(_0x4ea65c=window['crypto']),typeof self<'u'&&self[_0x1fd1ec(0x2cc)]&&(_0x4ea65c=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4ea65c=globalThis[_0x1fd1ec(0x2cc)]),!_0x4ea65c&&typeof window<'u'&&window['msCrypto']&&(_0x4ea65c=window[_0x1fd1ec(0x3bf)]),!_0x4ea65c&&typeof Pe<'u'&&Pe[_0x1fd1ec(0x2cc)]&&(_0x4ea65c=Pe[_0x1fd1ec(0x2cc)]),!_0x4ea65c&&typeof gi==_0x1fd1ec(0x26a))try{_0x4ea65c=require('crypto');}catch{}var _0x1b5fd7=function(){var _0x21d5fe=_0x1fd1ec;if(_0x4ea65c){if(typeof _0x4ea65c[_0x21d5fe(0x2ae)]==_0x21d5fe(0x26a))try{return _0x4ea65c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ea65c['randomBytes']=='function')try{return _0x4ea65c[_0x21d5fe(0x3a2)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4f3197=Object[_0x1fd1ec(0x1f4)]||(function(){function _0x3e5ab3(){}return function(_0x5034c9){var _0x30d80a=_0x532c,_0x135c9c;return _0x3e5ab3[_0x30d80a(0x31d)]=_0x5034c9,_0x135c9c=new _0x3e5ab3(),_0x3e5ab3[_0x30d80a(0x31d)]=null,_0x135c9c;};}()),_0x5c10f3={},_0x574c7b=_0x5c10f3['lib']={},_0x209f64=_0x574c7b[_0x1fd1ec(0x1f7)]=(function(){return{'extend':function(_0xe916ca){var _0x3930a3=_0x532c,_0x3c8ab0=_0x4f3197(this);return _0xe916ca&&_0x3c8ab0[_0x3930a3(0x117)](_0xe916ca),(!_0x3c8ab0[_0x3930a3(0x2e8)](_0x3930a3(0x402))||this[_0x3930a3(0x402)]===_0x3c8ab0[_0x3930a3(0x402)])&&(_0x3c8ab0['init']=function(){var _0x40f5ee=_0x3930a3;_0x3c8ab0[_0x40f5ee(0x162)]['init'][_0x40f5ee(0xcd)](this,arguments);}),_0x3c8ab0['init'][_0x3930a3(0x31d)]=_0x3c8ab0,_0x3c8ab0[_0x3930a3(0x162)]=this,_0x3c8ab0;},'create':function(){var _0x3d1808=_0x532c,_0x2aa8a3=this[_0x3d1808(0x2b5)]();return _0x2aa8a3['init'][_0x3d1808(0xcd)](_0x2aa8a3,arguments),_0x2aa8a3;},'init':function(){},'mixIn':function(_0x4a73b1){var _0x3410b7=_0x532c;for(var _0x493bcc in _0x4a73b1)_0x4a73b1[_0x3410b7(0x2e8)](_0x493bcc)&&(this[_0x493bcc]=_0x4a73b1[_0x493bcc]);_0x4a73b1[_0x3410b7(0x2e8)](_0x3410b7(0x266))&&(this['toString']=_0x4a73b1[_0x3410b7(0x266)]);},'clone':function(){var _0x539441=_0x532c;return this[_0x539441(0x402)][_0x539441(0x31d)][_0x539441(0x2b5)](this);}};}()),_0x55e03e=_0x574c7b[_0x1fd1ec(0x317)]=_0x209f64[_0x1fd1ec(0x2b5)]({'init':function(_0x2e68e7,_0x69ce99){var _0x43fb25=_0x1fd1ec;_0x2e68e7=this['words']=_0x2e68e7||[],_0x69ce99!=_0x1f212d?this[_0x43fb25(0x435)]=_0x69ce99:this[_0x43fb25(0x435)]=_0x2e68e7['length']*0x4;},'toString':function(_0x1efb26){var _0x261d1a=_0x1fd1ec;return(_0x1efb26||_0x33cdf6)[_0x261d1a(0x37c)](this);},'concat':function(_0x2ca8bd){var _0x39d955=_0x1fd1ec,_0x150f50=this[_0x39d955(0x37d)],_0xd0f48b=_0x2ca8bd['words'],_0x22b338=this[_0x39d955(0x435)],_0x54e516=_0x2ca8bd['sigBytes'];if(this[_0x39d955(0x40a)](),_0x22b338%0x4)for(var _0x568ce9=0x0;_0x568ce9<_0x54e516;_0x568ce9++){var _0x338319=_0xd0f48b[_0x568ce9>>>0x2]>>>0x18-_0x568ce9%0x4*0x8&0xff;_0x150f50[_0x22b338+_0x568ce9>>>0x2]|=_0x338319<<0x18-(_0x22b338+_0x568ce9)%0x4*0x8;}else{for(var _0x170f1b=0x0;_0x170f1b<_0x54e516;_0x170f1b+=0x4)_0x150f50[_0x22b338+_0x170f1b>>>0x2]=_0xd0f48b[_0x170f1b>>>0x2];}return this[_0x39d955(0x435)]+=_0x54e516,this;},'clamp':function(){var _0x19a0ba=_0x1fd1ec,_0x5587c8=this['words'],_0x5e1588=this[_0x19a0ba(0x435)];_0x5587c8[_0x5e1588>>>0x2]&=0xffffffff<<0x20-_0x5e1588%0x4*0x8,_0x5587c8[_0x19a0ba(0x44f)]=_0x319d68['ceil'](_0x5e1588/0x4);},'clone':function(){var _0x1027b1=_0x1fd1ec,_0x12d147=_0x209f64[_0x1027b1(0x284)][_0x1027b1(0x2ad)](this);return _0x12d147[_0x1027b1(0x37d)]=this[_0x1027b1(0x37d)][_0x1027b1(0x2ba)](0x0),_0x12d147;},'random':function(_0x209ef7){var _0x1fb4a4=_0x1fd1ec;for(var _0x98a086=[],_0x272b1a=0x0;_0x272b1a<_0x209ef7;_0x272b1a+=0x4)_0x98a086['push'](_0x1b5fd7());return new _0x55e03e[(_0x1fb4a4(0x402))](_0x98a086,_0x209ef7);}}),_0x477ddf=_0x5c10f3[_0x1fd1ec(0x178)]={},_0x33cdf6=_0x477ddf[_0x1fd1ec(0x2c9)]={'stringify':function(_0x383c95){var _0x45dafe=_0x1fd1ec;for(var _0x57402d=_0x383c95[_0x45dafe(0x37d)],_0x43c99a=_0x383c95['sigBytes'],_0x1e3341=[],_0x1292f8=0x0;_0x1292f8<_0x43c99a;_0x1292f8++){var _0x58c4bf=_0x57402d[_0x1292f8>>>0x2]>>>0x18-_0x1292f8%0x4*0x8&0xff;_0x1e3341[_0x45dafe(0x3f4)]((_0x58c4bf>>>0x4)[_0x45dafe(0x266)](0x10)),_0x1e3341[_0x45dafe(0x3f4)]((_0x58c4bf&0xf)[_0x45dafe(0x266)](0x10));}return _0x1e3341[_0x45dafe(0xf2)]('');},'parse':function(_0x598174){var _0x5c9b9e=_0x1fd1ec;for(var _0x4e7fca=_0x598174[_0x5c9b9e(0x44f)],_0x36f979=[],_0x1dea1b=0x0;_0x1dea1b<_0x4e7fca;_0x1dea1b+=0x2)_0x36f979[_0x1dea1b>>>0x3]|=parseInt(_0x598174[_0x5c9b9e(0x367)](_0x1dea1b,0x2),0x10)<<0x18-_0x1dea1b%0x8*0x4;return new _0x55e03e[(_0x5c9b9e(0x402))](_0x36f979,_0x4e7fca/0x2);}},_0x122ea1=_0x477ddf[_0x1fd1ec(0x10a)]={'stringify':function(_0x27011f){var _0x5a68eb=_0x1fd1ec;for(var _0x59e65a=_0x27011f[_0x5a68eb(0x37d)],_0x585100=_0x27011f[_0x5a68eb(0x435)],_0x30e61c=[],_0x4e274a=0x0;_0x4e274a<_0x585100;_0x4e274a++){var _0x5c43f4=_0x59e65a[_0x4e274a>>>0x2]>>>0x18-_0x4e274a%0x4*0x8&0xff;_0x30e61c['push'](String[_0x5a68eb(0xfc)](_0x5c43f4));}return _0x30e61c['join']('');},'parse':function(_0x2cf2da){var _0x31fa5c=_0x1fd1ec;for(var _0x24448a=_0x2cf2da[_0x31fa5c(0x44f)],_0x1699b2=[],_0xcc1a4f=0x0;_0xcc1a4f<_0x24448a;_0xcc1a4f++)_0x1699b2[_0xcc1a4f>>>0x2]|=(_0x2cf2da['charCodeAt'](_0xcc1a4f)&0xff)<<0x18-_0xcc1a4f%0x4*0x8;return new _0x55e03e[(_0x31fa5c(0x402))](_0x1699b2,_0x24448a);}},_0x1e5f9a=_0x477ddf[_0x1fd1ec(0x332)]={'stringify':function(_0x19a5b5){var _0x4ffa9c=_0x1fd1ec;try{return decodeURIComponent(escape(_0x122ea1[_0x4ffa9c(0x37c)](_0x19a5b5)));}catch{throw new Error(_0x4ffa9c(0x353));}},'parse':function(_0x23b913){var _0x336de8=_0x1fd1ec;return _0x122ea1[_0x336de8(0x2a9)](unescape(encodeURIComponent(_0x23b913)));}},_0x1355ea=_0x574c7b[_0x1fd1ec(0x252)]=_0x209f64['extend']({'reset':function(){var _0x35a80e=_0x1fd1ec;this[_0x35a80e(0x2e3)]=new _0x55e03e[(_0x35a80e(0x402))](),this[_0x35a80e(0x2d2)]=0x0;},'_append':function(_0x5af163){var _0x2ecbb7=_0x1fd1ec;typeof _0x5af163=='string'&&(_0x5af163=_0x1e5f9a[_0x2ecbb7(0x2a9)](_0x5af163)),this[_0x2ecbb7(0x2e3)][_0x2ecbb7(0x423)](_0x5af163),this[_0x2ecbb7(0x2d2)]+=_0x5af163[_0x2ecbb7(0x435)];},'_process':function(_0x3cbd44){var _0x175186=_0x1fd1ec,_0x5148ab,_0x24cb83=this[_0x175186(0x2e3)],_0x362f92=_0x24cb83[_0x175186(0x37d)],_0xb3e276=_0x24cb83[_0x175186(0x435)],_0x48397b=this[_0x175186(0x134)],_0x43e5cb=_0x48397b*0x4,_0x4313b9=_0xb3e276/_0x43e5cb;_0x3cbd44?_0x4313b9=_0x319d68['ceil'](_0x4313b9):_0x4313b9=_0x319d68[_0x175186(0x381)]((_0x4313b9|0x0)-this[_0x175186(0x24b)],0x0);var _0x950df6=_0x4313b9*_0x48397b,_0x17966d=_0x319d68[_0x175186(0x314)](_0x950df6*0x4,_0xb3e276);if(_0x950df6){for(var _0x10464c=0x0;_0x10464c<_0x950df6;_0x10464c+=_0x48397b)this[_0x175186(0x3e1)](_0x362f92,_0x10464c);_0x5148ab=_0x362f92[_0x175186(0x337)](0x0,_0x950df6),_0x24cb83[_0x175186(0x435)]-=_0x17966d;}return new _0x55e03e[(_0x175186(0x402))](_0x5148ab,_0x17966d);},'clone':function(){var _0x401374=_0x1fd1ec,_0x5d7bb7=_0x209f64[_0x401374(0x284)][_0x401374(0x2ad)](this);return _0x5d7bb7[_0x401374(0x2e3)]=this[_0x401374(0x2e3)][_0x401374(0x284)](),_0x5d7bb7;},'_minBufferSize':0x0});_0x574c7b['Hasher']=_0x1355ea[_0x1fd1ec(0x2b5)]({'cfg':_0x209f64[_0x1fd1ec(0x2b5)](),'init':function(_0x11089e){var _0x30e648=_0x1fd1ec;this[_0x30e648(0x2e1)]=this['cfg'][_0x30e648(0x2b5)](_0x11089e),this[_0x30e648(0x2d4)]();},'reset':function(){var _0x379128=_0x1fd1ec;_0x1355ea[_0x379128(0x2d4)][_0x379128(0x2ad)](this),this[_0x379128(0x115)]();},'update':function(_0xcb1b72){var _0x3486a6=_0x1fd1ec;return this[_0x3486a6(0x260)](_0xcb1b72),this['_process'](),this;},'finalize':function(_0x667061){var _0x4cfdd2=_0x1fd1ec;_0x667061&&this[_0x4cfdd2(0x260)](_0x667061);var _0x1c26f5=this['_doFinalize']();return _0x1c26f5;},'blockSize':0x10,'_createHelper':function(_0x41e400){return function(_0xdcecfd,_0x47eae2){var _0x140877=_0x532c;return new _0x41e400[(_0x140877(0x402))](_0x47eae2)[_0x140877(0x13e)](_0xdcecfd);};},'_createHmacHelper':function(_0x441aad){return function(_0x2d4d98,_0x597a1f){var _0x41d5a6=_0x532c;return new _0x43e2f9[(_0x41d5a6(0x18a))][(_0x41d5a6(0x402))](_0x441aad,_0x597a1f)['finalize'](_0x2d4d98);};}});var _0x43e2f9=_0x5c10f3[_0x1fd1ec(0x198)]={};return _0x5c10f3;}(Math);return _0x3abbc5;}));}(fe)),fe[_0x1929ca(0x273)];}var Ee={'exports':{}},Ci=Ee[_0x859cf8(0x273)],ze;function Tt(){var _0x29ea3a=_0x859cf8;return ze||(ze=0x1,function(_0x466e41,_0x1369ad){(function(_0x147bab,_0x127832){_0x466e41['exports']=_0x127832(Z());}(Ci,function(_0x1257ef){var _0x1b39b4=_0x532c;return(function(){var _0x486b9d=_0x532c,_0x5f1ae3=_0x1257ef,_0x4495fc=_0x5f1ae3['lib'],_0x3c97ce=_0x4495fc[_0x486b9d(0x317)],_0xf3cbdc=_0x5f1ae3['enc'];_0xf3cbdc[_0x486b9d(0x426)]={'stringify':function(_0x4893fc){var _0x23bd96=_0x486b9d,_0x46ab77=_0x4893fc[_0x23bd96(0x37d)],_0x2afc19=_0x4893fc[_0x23bd96(0x435)],_0x5ca63f=this['_map'];_0x4893fc[_0x23bd96(0x40a)]();for(var _0x59a875=[],_0x1a9cae=0x0;_0x1a9cae<_0x2afc19;_0x1a9cae+=0x3)for(var _0x49e6ec=_0x46ab77[_0x1a9cae>>>0x2]>>>0x18-_0x1a9cae%0x4*0x8&0xff,_0x1494ea=_0x46ab77[_0x1a9cae+0x1>>>0x2]>>>0x18-(_0x1a9cae+0x1)%0x4*0x8&0xff,_0x23ad59=_0x46ab77[_0x1a9cae+0x2>>>0x2]>>>0x18-(_0x1a9cae+0x2)%0x4*0x8&0xff,_0x15eadb=_0x49e6ec<<0x10|_0x1494ea<<0x8|_0x23ad59,_0x1a6f07=0x0;_0x1a6f07<0x4&&_0x1a9cae+_0x1a6f07*0.75<_0x2afc19;_0x1a6f07++)_0x59a875['push'](_0x5ca63f[_0x23bd96(0xea)](_0x15eadb>>>0x6*(0x3-_0x1a6f07)&0x3f));var _0x3c8c14=_0x5ca63f[_0x23bd96(0xea)](0x40);if(_0x3c8c14){for(;_0x59a875['length']%0x4;)_0x59a875[_0x23bd96(0x3f4)](_0x3c8c14);}return _0x59a875[_0x23bd96(0xf2)]('');},'parse':function(_0x2f958e){var _0x477804=_0x486b9d,_0x4c6dc8=_0x2f958e['length'],_0x418c92=this['_map'],_0xe3ac29=this['_reverseMap'];if(!_0xe3ac29){_0xe3ac29=this[_0x477804(0x1ef)]=[];for(var _0x6cedf2=0x0;_0x6cedf2<_0x418c92[_0x477804(0x44f)];_0x6cedf2++)_0xe3ac29[_0x418c92['charCodeAt'](_0x6cedf2)]=_0x6cedf2;}var _0x239730=_0x418c92[_0x477804(0xea)](0x40);if(_0x239730){var _0x4659c2=_0x2f958e['indexOf'](_0x239730);_0x4659c2!==-0x1&&(_0x4c6dc8=_0x4659c2);}return _0x17aaa5(_0x2f958e,_0x4c6dc8,_0xe3ac29);},'_map':_0x486b9d(0x1cb)};function _0x17aaa5(_0x505cf0,_0x5220ee,_0x2af9fb){var _0x2e5a9e=_0x486b9d;for(var _0x596036=[],_0x40f403=0x0,_0x3f5078=0x0;_0x3f5078<_0x5220ee;_0x3f5078++)if(_0x3f5078%0x4){var _0x13f9e3=_0x2af9fb[_0x505cf0['charCodeAt'](_0x3f5078-0x1)]<<_0x3f5078%0x4*0x2,_0x206b4d=_0x2af9fb[_0x505cf0[_0x2e5a9e(0x1c6)](_0x3f5078)]>>>0x6-_0x3f5078%0x4*0x2,_0x3c12ae=_0x13f9e3|_0x206b4d;_0x596036[_0x40f403>>>0x2]|=_0x3c12ae<<0x18-_0x40f403%0x4*0x8,_0x40f403++;}return _0x3c97ce['create'](_0x596036,_0x40f403);}}()),_0x1257ef['enc'][_0x1b39b4(0x426)];}));}(Ee)),Ee[_0x29ea3a(0x273)];}var pe={'exports':{}},Oi=pe[_0x859cf8(0x273)],Xe;function bi(){var _0x2ec786=_0x859cf8;return Xe||(Xe=0x1,function(_0x4f732f,_0x1a2b9f){(function(_0x16a98b,_0x1e7500){_0x4f732f['exports']=_0x1e7500(Z());}(Oi,function(_0x10e9e5){var _0x2a43d3=_0x532c;return function(_0x3fb507){var _0x1d82d9=_0x532c,_0x528137=_0x10e9e5,_0x456227=_0x528137['lib'],_0x4f22e8=_0x456227['WordArray'],_0x427009=_0x456227[_0x1d82d9(0x323)],_0x48f5c0=_0x528137['algo'],_0x7b5343=[];(function(){var _0x188783=_0x1d82d9;for(var _0xe3245e=0x0;_0xe3245e<0x40;_0xe3245e++)_0x7b5343[_0xe3245e]=_0x3fb507['abs'](_0x3fb507[_0x188783(0x27d)](_0xe3245e+0x1))*0x100000000|0x0;}());var _0x127eed=_0x48f5c0[_0x1d82d9(0x1e7)]=_0x427009[_0x1d82d9(0x2b5)]({'_doReset':function(){var _0x42eb27=_0x1d82d9;this[_0x42eb27(0x1d4)]=new _0x4f22e8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc01e57,_0x336673){var _0x734c0a=_0x1d82d9;for(var _0x357cd8=0x0;_0x357cd8<0x10;_0x357cd8++){var _0x8fe1ce=_0x336673+_0x357cd8,_0x4220d5=_0xc01e57[_0x8fe1ce];_0xc01e57[_0x8fe1ce]=(_0x4220d5<<0x8|_0x4220d5>>>0x18)&0xff00ff|(_0x4220d5<<0x18|_0x4220d5>>>0x8)&0xff00ff00;}var _0x1cc6f0=this[_0x734c0a(0x1d4)][_0x734c0a(0x37d)],_0x5e1c4d=_0xc01e57[_0x336673+0x0],_0x574610=_0xc01e57[_0x336673+0x1],_0x90da22=_0xc01e57[_0x336673+0x2],_0x2f201d=_0xc01e57[_0x336673+0x3],_0x40d7d5=_0xc01e57[_0x336673+0x4],_0x141951=_0xc01e57[_0x336673+0x5],_0x278375=_0xc01e57[_0x336673+0x6],_0x15e438=_0xc01e57[_0x336673+0x7],_0x2fc50f=_0xc01e57[_0x336673+0x8],_0x5f1ce5=_0xc01e57[_0x336673+0x9],_0x1b34f3=_0xc01e57[_0x336673+0xa],_0x5f480a=_0xc01e57[_0x336673+0xb],_0x4baeeb=_0xc01e57[_0x336673+0xc],_0x32cd2d=_0xc01e57[_0x336673+0xd],_0xcb7e99=_0xc01e57[_0x336673+0xe],_0x4fe9b6=_0xc01e57[_0x336673+0xf],_0x5446da=_0x1cc6f0[0x0],_0x4fbfb8=_0x1cc6f0[0x1],_0xcd71fe=_0x1cc6f0[0x2],_0x32a598=_0x1cc6f0[0x3];_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5e1c4d,0x7,_0x7b5343[0x0]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x574610,0xc,_0x7b5343[0x1]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x90da22,0x11,_0x7b5343[0x2]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x2f201d,0x16,_0x7b5343[0x3]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x40d7d5,0x7,_0x7b5343[0x4]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x141951,0xc,_0x7b5343[0x5]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x278375,0x11,_0x7b5343[0x6]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x15e438,0x16,_0x7b5343[0x7]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x2fc50f,0x7,_0x7b5343[0x8]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5f1ce5,0xc,_0x7b5343[0x9]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x1b34f3,0x11,_0x7b5343[0xa]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5f480a,0x16,_0x7b5343[0xb]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x4baeeb,0x7,_0x7b5343[0xc]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32cd2d,0xc,_0x7b5343[0xd]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0xcb7e99,0x11,_0x7b5343[0xe]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x4fe9b6,0x16,_0x7b5343[0xf]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x574610,0x5,_0x7b5343[0x10]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x278375,0x9,_0x7b5343[0x11]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x5f480a,0xe,_0x7b5343[0x12]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5e1c4d,0x14,_0x7b5343[0x13]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x141951,0x5,_0x7b5343[0x14]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x1b34f3,0x9,_0x7b5343[0x15]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x4fe9b6,0xe,_0x7b5343[0x16]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x40d7d5,0x14,_0x7b5343[0x17]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5f1ce5,0x5,_0x7b5343[0x18]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0xcb7e99,0x9,_0x7b5343[0x19]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x2f201d,0xe,_0x7b5343[0x1a]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x2fc50f,0x14,_0x7b5343[0x1b]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x32cd2d,0x5,_0x7b5343[0x1c]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x90da22,0x9,_0x7b5343[0x1d]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x15e438,0xe,_0x7b5343[0x1e]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x4baeeb,0x14,_0x7b5343[0x1f]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x141951,0x4,_0x7b5343[0x20]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x2fc50f,0xb,_0x7b5343[0x21]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x5f480a,0x10,_0x7b5343[0x22]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0xcb7e99,0x17,_0x7b5343[0x23]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x574610,0x4,_0x7b5343[0x24]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x40d7d5,0xb,_0x7b5343[0x25]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x15e438,0x10,_0x7b5343[0x26]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x1b34f3,0x17,_0x7b5343[0x27]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x32cd2d,0x4,_0x7b5343[0x28]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5e1c4d,0xb,_0x7b5343[0x29]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x2f201d,0x10,_0x7b5343[0x2a]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x278375,0x17,_0x7b5343[0x2b]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5f1ce5,0x4,_0x7b5343[0x2c]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x4baeeb,0xb,_0x7b5343[0x2d]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x4fe9b6,0x10,_0x7b5343[0x2e]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x90da22,0x17,_0x7b5343[0x2f]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5e1c4d,0x6,_0x7b5343[0x30]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x15e438,0xa,_0x7b5343[0x31]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0xcb7e99,0xf,_0x7b5343[0x32]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x141951,0x15,_0x7b5343[0x33]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x4baeeb,0x6,_0x7b5343[0x34]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x2f201d,0xa,_0x7b5343[0x35]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x1b34f3,0xf,_0x7b5343[0x36]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x574610,0x15,_0x7b5343[0x37]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x2fc50f,0x6,_0x7b5343[0x38]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x4fe9b6,0xa,_0x7b5343[0x39]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x278375,0xf,_0x7b5343[0x3a]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x32cd2d,0x15,_0x7b5343[0x3b]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x40d7d5,0x6,_0x7b5343[0x3c]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5f480a,0xa,_0x7b5343[0x3d]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x90da22,0xf,_0x7b5343[0x3e]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5f1ce5,0x15,_0x7b5343[0x3f]),_0x1cc6f0[0x0]=_0x1cc6f0[0x0]+_0x5446da|0x0,_0x1cc6f0[0x1]=_0x1cc6f0[0x1]+_0x4fbfb8|0x0,_0x1cc6f0[0x2]=_0x1cc6f0[0x2]+_0xcd71fe|0x0,_0x1cc6f0[0x3]=_0x1cc6f0[0x3]+_0x32a598|0x0;},'_doFinalize':function(){var _0x467104=_0x1d82d9,_0x40d6fb=this[_0x467104(0x2e3)],_0x16a0a2=_0x40d6fb[_0x467104(0x37d)],_0x1b1af4=this[_0x467104(0x2d2)]*0x8,_0x1d239a=_0x40d6fb[_0x467104(0x435)]*0x8;_0x16a0a2[_0x1d239a>>>0x5]|=0x80<<0x18-_0x1d239a%0x20;var _0x2864bb=_0x3fb507[_0x467104(0x1b7)](_0x1b1af4/0x100000000),_0x3a3732=_0x1b1af4;_0x16a0a2[(_0x1d239a+0x40>>>0x9<<0x4)+0xf]=(_0x2864bb<<0x8|_0x2864bb>>>0x18)&0xff00ff|(_0x2864bb<<0x18|_0x2864bb>>>0x8)&0xff00ff00,_0x16a0a2[(_0x1d239a+0x40>>>0x9<<0x4)+0xe]=(_0x3a3732<<0x8|_0x3a3732>>>0x18)&0xff00ff|(_0x3a3732<<0x18|_0x3a3732>>>0x8)&0xff00ff00,_0x40d6fb['sigBytes']=(_0x16a0a2[_0x467104(0x44f)]+0x1)*0x4,this[_0x467104(0x1fd)]();for(var _0x25e589=this['_hash'],_0x548da8=_0x25e589[_0x467104(0x37d)],_0x23149e=0x0;_0x23149e<0x4;_0x23149e++){var _0x53f263=_0x548da8[_0x23149e];_0x548da8[_0x23149e]=(_0x53f263<<0x8|_0x53f263>>>0x18)&0xff00ff|(_0x53f263<<0x18|_0x53f263>>>0x8)&0xff00ff00;}return _0x25e589;},'clone':function(){var _0x496ec4=_0x1d82d9,_0x5a9775=_0x427009[_0x496ec4(0x284)][_0x496ec4(0x2ad)](this);return _0x5a9775[_0x496ec4(0x1d4)]=this[_0x496ec4(0x1d4)]['clone'](),_0x5a9775;}});function _0x49a943(_0x519bc7,_0xda4459,_0x1e7c5d,_0x3724fb,_0x2f4cdd,_0x21d1a1,_0x22dbea){var _0x3a2c09=_0x519bc7+(_0xda4459&_0x1e7c5d|~_0xda4459&_0x3724fb)+_0x2f4cdd+_0x22dbea;return(_0x3a2c09<<_0x21d1a1|_0x3a2c09>>>0x20-_0x21d1a1)+_0xda4459;}function _0x3ac7d7(_0xba752e,_0x3370e7,_0x5545e4,_0x3c9f2f,_0x4a41e9,_0x5a2a98,_0x31d6d3){var _0xb03e69=_0xba752e+(_0x3370e7&_0x3c9f2f|_0x5545e4&~_0x3c9f2f)+_0x4a41e9+_0x31d6d3;return(_0xb03e69<<_0x5a2a98|_0xb03e69>>>0x20-_0x5a2a98)+_0x3370e7;}function _0x2f7706(_0x5d33a8,_0x434dd2,_0xb728f7,_0x32267e,_0x4400ad,_0x43ac48,_0x2ac2a7){var _0x55b098=_0x5d33a8+(_0x434dd2^_0xb728f7^_0x32267e)+_0x4400ad+_0x2ac2a7;return(_0x55b098<<_0x43ac48|_0x55b098>>>0x20-_0x43ac48)+_0x434dd2;}function _0x280d2e(_0x4efd36,_0x5b603f,_0x14ba8e,_0x3cda20,_0x41d5de,_0x51e017,_0x2c5dc1){var _0x276be1=_0x4efd36+(_0x14ba8e^(_0x5b603f|~_0x3cda20))+_0x41d5de+_0x2c5dc1;return(_0x276be1<<_0x51e017|_0x276be1>>>0x20-_0x51e017)+_0x5b603f;}_0x528137[_0x1d82d9(0x1e7)]=_0x427009['_createHelper'](_0x127eed),_0x528137[_0x1d82d9(0x2a0)]=_0x427009[_0x1d82d9(0x12a)](_0x127eed);}(Math),_0x10e9e5[_0x2a43d3(0x1e7)];}));}(pe)),pe[_0x2ec786(0x273)];}var me={'exports':{}},ge={'exports':{}},Ri=ge['exports'],Je;function Ni(){var _0x25716a=_0x859cf8;return Je||(Je=0x1,function(_0x440131,_0x23d0c7){(function(_0x3bd6bc,_0x3e1e28){var _0x354fc6=_0x532c;_0x440131[_0x354fc6(0x273)]=_0x3e1e28(Z());}(Ri,function(_0x3abc35){var _0x2df431=_0x532c;return(function(){var _0xa8d5dd=_0x532c,_0x2f6241=_0x3abc35,_0x450297=_0x2f6241[_0xa8d5dd(0x2f1)],_0x2ea788=_0x450297[_0xa8d5dd(0x317)],_0x45e3b6=_0x450297[_0xa8d5dd(0x323)],_0x562c81=_0x2f6241[_0xa8d5dd(0x198)],_0xe4d07c=[],_0x864acd=_0x562c81[_0xa8d5dd(0x407)]=_0x45e3b6[_0xa8d5dd(0x2b5)]({'_doReset':function(){var _0x13430a=_0xa8d5dd;this[_0x13430a(0x1d4)]=new _0x2ea788['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4f7106,_0x19990c){var _0x28ee05=_0xa8d5dd;for(var _0x5e0420=this[_0x28ee05(0x1d4)][_0x28ee05(0x37d)],_0x370df3=_0x5e0420[0x0],_0x29e8f1=_0x5e0420[0x1],_0x5d941a=_0x5e0420[0x2],_0x19f130=_0x5e0420[0x3],_0xe15999=_0x5e0420[0x4],_0x5a0aaa=0x0;_0x5a0aaa<0x50;_0x5a0aaa++){if(_0x5a0aaa<0x10)_0xe4d07c[_0x5a0aaa]=_0x4f7106[_0x19990c+_0x5a0aaa]|0x0;else{var _0x4e68a0=_0xe4d07c[_0x5a0aaa-0x3]^_0xe4d07c[_0x5a0aaa-0x8]^_0xe4d07c[_0x5a0aaa-0xe]^_0xe4d07c[_0x5a0aaa-0x10];_0xe4d07c[_0x5a0aaa]=_0x4e68a0<<0x1|_0x4e68a0>>>0x1f;}var _0x571cbe=(_0x370df3<<0x5|_0x370df3>>>0x1b)+_0xe15999+_0xe4d07c[_0x5a0aaa];_0x5a0aaa<0x14?_0x571cbe+=(_0x29e8f1&_0x5d941a|~_0x29e8f1&_0x19f130)+0x5a827999:_0x5a0aaa<0x28?_0x571cbe+=(_0x29e8f1^_0x5d941a^_0x19f130)+0x6ed9eba1:_0x5a0aaa<0x3c?_0x571cbe+=(_0x29e8f1&_0x5d941a|_0x29e8f1&_0x19f130|_0x5d941a&_0x19f130)-0x70e44324:_0x571cbe+=(_0x29e8f1^_0x5d941a^_0x19f130)-0x359d3e2a,_0xe15999=_0x19f130,_0x19f130=_0x5d941a,_0x5d941a=_0x29e8f1<<0x1e|_0x29e8f1>>>0x2,_0x29e8f1=_0x370df3,_0x370df3=_0x571cbe;}_0x5e0420[0x0]=_0x5e0420[0x0]+_0x370df3|0x0,_0x5e0420[0x1]=_0x5e0420[0x1]+_0x29e8f1|0x0,_0x5e0420[0x2]=_0x5e0420[0x2]+_0x5d941a|0x0,_0x5e0420[0x3]=_0x5e0420[0x3]+_0x19f130|0x0,_0x5e0420[0x4]=_0x5e0420[0x4]+_0xe15999|0x0;},'_doFinalize':function(){var _0x265d3f=_0xa8d5dd,_0x191154=this[_0x265d3f(0x2e3)],_0x1ba409=_0x191154[_0x265d3f(0x37d)],_0x312187=this['_nDataBytes']*0x8,_0x5f3238=_0x191154['sigBytes']*0x8;return _0x1ba409[_0x5f3238>>>0x5]|=0x80<<0x18-_0x5f3238%0x20,_0x1ba409[(_0x5f3238+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x312187/0x100000000),_0x1ba409[(_0x5f3238+0x40>>>0x9<<0x4)+0xf]=_0x312187,_0x191154[_0x265d3f(0x435)]=_0x1ba409[_0x265d3f(0x44f)]*0x4,this[_0x265d3f(0x1fd)](),this[_0x265d3f(0x1d4)];},'clone':function(){var _0xa7bd06=_0xa8d5dd,_0x293157=_0x45e3b6['clone'][_0xa7bd06(0x2ad)](this);return _0x293157[_0xa7bd06(0x1d4)]=this[_0xa7bd06(0x1d4)][_0xa7bd06(0x284)](),_0x293157;}});_0x2f6241[_0xa8d5dd(0x407)]=_0x45e3b6[_0xa8d5dd(0x296)](_0x864acd),_0x2f6241['HmacSHA1']=_0x45e3b6[_0xa8d5dd(0x12a)](_0x864acd);}()),_0x3abc35[_0x2df431(0x407)];}));}(ge)),ge[_0x25716a(0x273)];}var Te={'exports':{}},Di=Te[_0x859cf8(0x273)],Ze;function yi(){var _0x58ec51=_0x859cf8;return Ze||(Ze=0x1,function(_0x34c8d7,_0x3cfda3){(function(_0x1ee332,_0x4a34a9){var _0x5711c4=_0x532c;_0x34c8d7[_0x5711c4(0x273)]=_0x4a34a9(Z());}(Di,function(_0x1bd3a1){(function(){var _0x4c8394=_0x532c,_0x3ae569=_0x1bd3a1,_0x39842c=_0x3ae569['lib'],_0x49fcc2=_0x39842c[_0x4c8394(0x1f7)],_0x48b830=_0x3ae569[_0x4c8394(0x178)],_0x7f89c8=_0x48b830['Utf8'],_0x1e0e3c=_0x3ae569[_0x4c8394(0x198)];_0x1e0e3c[_0x4c8394(0x18a)]=_0x49fcc2[_0x4c8394(0x2b5)]({'init':function(_0x5d11ae,_0x591a64){var _0x3117d4=_0x4c8394;_0x5d11ae=this[_0x3117d4(0x1a2)]=new _0x5d11ae[(_0x3117d4(0x402))](),typeof _0x591a64==_0x3117d4(0x29f)&&(_0x591a64=_0x7f89c8[_0x3117d4(0x2a9)](_0x591a64));var _0x122450=_0x5d11ae[_0x3117d4(0x134)],_0x3183bf=_0x122450*0x4;_0x591a64[_0x3117d4(0x435)]>_0x3183bf&&(_0x591a64=_0x5d11ae[_0x3117d4(0x13e)](_0x591a64)),_0x591a64['clamp']();for(var _0x4c67bf=this[_0x3117d4(0x10b)]=_0x591a64[_0x3117d4(0x284)](),_0x3a31be=this[_0x3117d4(0x1d2)]=_0x591a64['clone'](),_0xf38e89=_0x4c67bf[_0x3117d4(0x37d)],_0x295928=_0x3a31be[_0x3117d4(0x37d)],_0x28ac34=0x0;_0x28ac34<_0x122450;_0x28ac34++)_0xf38e89[_0x28ac34]^=0x5c5c5c5c,_0x295928[_0x28ac34]^=0x36363636;_0x4c67bf[_0x3117d4(0x435)]=_0x3a31be[_0x3117d4(0x435)]=_0x3183bf,this[_0x3117d4(0x2d4)]();},'reset':function(){var _0x26ac7e=_0x4c8394,_0x29819c=this[_0x26ac7e(0x1a2)];_0x29819c['reset'](),_0x29819c['update'](this['_iKey']);},'update':function(_0x16a49a){var _0x42fde4=_0x4c8394;return this[_0x42fde4(0x1a2)]['update'](_0x16a49a),this;},'finalize':function(_0x408b8d){var _0x2c6b23=_0x4c8394,_0x439278=this['_hasher'],_0x2fd572=_0x439278[_0x2c6b23(0x13e)](_0x408b8d);_0x439278[_0x2c6b23(0x2d4)]();var _0x46895f=_0x439278[_0x2c6b23(0x13e)](this[_0x2c6b23(0x10b)][_0x2c6b23(0x284)]()[_0x2c6b23(0x423)](_0x2fd572));return _0x46895f;}});}());}));}(Te)),Te[_0x58ec51(0x273)];}var Ui=me[_0x859cf8(0x273)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x9d1ab1,_0x33bfed){(function(_0x3d2bf7,_0x4a6a8a,_0x54ef8b){_0x9d1ab1['exports']=_0x4a6a8a(Z(),Ni(),yi());}(Ui,function(_0x12d15b){var _0xc1fe67=_0x532c;return(function(){var _0x31fa0f=_0x532c,_0x5bc9cd=_0x12d15b,_0x45ed4b=_0x5bc9cd[_0x31fa0f(0x2f1)],_0x3abd48=_0x45ed4b[_0x31fa0f(0x1f7)],_0x55ff60=_0x45ed4b['WordArray'],_0x32f54c=_0x5bc9cd['algo'],_0x595096=_0x32f54c[_0x31fa0f(0x1e7)],_0xdad900=_0x32f54c[_0x31fa0f(0xeb)]=_0x3abd48[_0x31fa0f(0x2b5)]({'cfg':_0x3abd48['extend']({'keySize':0x80/0x20,'hasher':_0x595096,'iterations':0x1}),'init':function(_0x1bc153){var _0x4d905b=_0x31fa0f;this[_0x4d905b(0x2e1)]=this[_0x4d905b(0x2e1)][_0x4d905b(0x2b5)](_0x1bc153);},'compute':function(_0x176cd5,_0x240790){var _0x1f8612=_0x31fa0f;for(var _0x63d2bd,_0x1e8ff1=this[_0x1f8612(0x2e1)],_0x474d46=_0x1e8ff1['hasher'][_0x1f8612(0x1f4)](),_0x59e3fb=_0x55ff60[_0x1f8612(0x1f4)](),_0x4b58b2=_0x59e3fb[_0x1f8612(0x37d)],_0x4b5bb9=_0x1e8ff1[_0x1f8612(0x2fd)],_0x3a227e=_0x1e8ff1[_0x1f8612(0x29a)];_0x4b58b2[_0x1f8612(0x44f)]<_0x4b5bb9;){_0x63d2bd&&_0x474d46[_0x1f8612(0x30d)](_0x63d2bd),_0x63d2bd=_0x474d46['update'](_0x176cd5)[_0x1f8612(0x13e)](_0x240790),_0x474d46[_0x1f8612(0x2d4)]();for(var _0x358769=0x1;_0x358769<_0x3a227e;_0x358769++)_0x63d2bd=_0x474d46[_0x1f8612(0x13e)](_0x63d2bd),_0x474d46['reset']();_0x59e3fb['concat'](_0x63d2bd);}return _0x59e3fb[_0x1f8612(0x435)]=_0x4b5bb9*0x4,_0x59e3fb;}});_0x5bc9cd['EvpKDF']=function(_0x4cc8b6,_0x29c5ee,_0x353b2e){var _0xc1dae7=_0x31fa0f;return _0xdad900[_0xc1dae7(0x1f4)](_0x353b2e)['compute'](_0x4cc8b6,_0x29c5ee);};}()),_0x12d15b[_0xc1fe67(0xeb)];}));}(me)),me['exports'];}var Ce={'exports':{}},Ai=Ce[_0x859cf8(0x273)],et;function Ot(){var _0xfbcdc4=_0x859cf8;return et||(et=0x1,function(_0x3ad272,_0x3d6efd){(function(_0x71fea8,_0x2b3f36,_0x3c4c50){var _0x415de0=_0x532c;_0x3ad272[_0x415de0(0x273)]=_0x2b3f36(Z(),Ct());}(Ai,function(_0x333396){var _0x29bdbe=_0x532c;_0x333396[_0x29bdbe(0x2f1)][_0x29bdbe(0x32f)]||function(_0x2f964d){var _0x15110d=_0x29bdbe,_0x840a64=_0x333396,_0x37a46a=_0x840a64['lib'],_0x210963=_0x37a46a[_0x15110d(0x1f7)],_0xd5847a=_0x37a46a[_0x15110d(0x317)],_0x5d6faa=_0x37a46a[_0x15110d(0x252)],_0x4dd26e=_0x840a64[_0x15110d(0x178)];_0x4dd26e['Utf8'];var _0x159a0a=_0x4dd26e[_0x15110d(0x426)],_0x4d8dc8=_0x840a64[_0x15110d(0x198)],_0x4745eb=_0x4d8dc8[_0x15110d(0xeb)],_0x2d28fe=_0x37a46a[_0x15110d(0x32f)]=_0x5d6faa[_0x15110d(0x2b5)]({'cfg':_0x210963[_0x15110d(0x2b5)](),'createEncryptor':function(_0x2276ad,_0x4abd19){var _0x45c02f=_0x15110d;return this['create'](this[_0x45c02f(0x199)],_0x2276ad,_0x4abd19);},'createDecryptor':function(_0xf10bfb,_0x3d28c7){var _0x40d4b0=_0x15110d;return this['create'](this[_0x40d4b0(0x377)],_0xf10bfb,_0x3d28c7);},'init':function(_0x4f36d4,_0x3216b8,_0x30d5d8){var _0x4194ce=_0x15110d;this[_0x4194ce(0x2e1)]=this['cfg'][_0x4194ce(0x2b5)](_0x30d5d8),this['_xformMode']=_0x4f36d4,this[_0x4194ce(0x420)]=_0x3216b8,this[_0x4194ce(0x2d4)]();},'reset':function(){var _0x368794=_0x15110d;_0x5d6faa[_0x368794(0x2d4)][_0x368794(0x2ad)](this),this[_0x368794(0x115)]();},'process':function(_0x9350a2){var _0x58ff90=_0x15110d;return this[_0x58ff90(0x260)](_0x9350a2),this['_process']();},'finalize':function(_0x34da37){var _0x53ad16=_0x15110d;_0x34da37&&this[_0x53ad16(0x260)](_0x34da37);var _0x32f454=this[_0x53ad16(0x173)]();return _0x32f454;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5e5572(_0x40353e){return typeof _0x40353e=='string'?_0x4c1913:_0x3f9661;}return function(_0x25ead6){return{'encrypt':function(_0x2dd670,_0x3ea763,_0x187930){var _0x4f192d=_0x532c;return _0x5e5572(_0x3ea763)[_0x4f192d(0x432)](_0x25ead6,_0x2dd670,_0x3ea763,_0x187930);},'decrypt':function(_0x55398f,_0x5c3165,_0x395b8a){var _0x54cabe=_0x532c;return _0x5e5572(_0x5c3165)[_0x54cabe(0x39d)](_0x25ead6,_0x55398f,_0x5c3165,_0x395b8a);}};};}())});_0x37a46a[_0x15110d(0x3e7)]=_0x2d28fe[_0x15110d(0x2b5)]({'_doFinalize':function(){var _0x254cd6=_0x15110d,_0xf8e407=this[_0x254cd6(0x1fd)](!0x0);return _0xf8e407;},'blockSize':0x1});var _0x4a8e7f=_0x840a64[_0x15110d(0x2e7)]={},_0x3cbe36=_0x37a46a[_0x15110d(0x32d)]=_0x210963[_0x15110d(0x2b5)]({'createEncryptor':function(_0x1db482,_0x5f4b9f){var _0x3b2b22=_0x15110d;return this[_0x3b2b22(0x1a0)][_0x3b2b22(0x1f4)](_0x1db482,_0x5f4b9f);},'createDecryptor':function(_0x232f34,_0x238aa7){var _0x521910=_0x15110d;return this[_0x521910(0x330)][_0x521910(0x1f4)](_0x232f34,_0x238aa7);},'init':function(_0x2a22e1,_0x2ab7e3){var _0x581566=_0x15110d;this[_0x581566(0x184)]=_0x2a22e1,this[_0x581566(0x3ba)]=_0x2ab7e3;}}),_0x396e78=_0x4a8e7f[_0x15110d(0xef)]=(function(){var _0x500ecd=_0x15110d,_0xaa6083=_0x3cbe36[_0x500ecd(0x2b5)]();_0xaa6083[_0x500ecd(0x1a0)]=_0xaa6083[_0x500ecd(0x2b5)]({'processBlock':function(_0x1c38a7,_0x2b66d8){var _0x3eccfc=_0x500ecd,_0xaab5ce=this[_0x3eccfc(0x184)],_0x307d20=_0xaab5ce['blockSize'];_0xe3a0db[_0x3eccfc(0x2ad)](this,_0x1c38a7,_0x2b66d8,_0x307d20),_0xaab5ce[_0x3eccfc(0x3e9)](_0x1c38a7,_0x2b66d8),this[_0x3eccfc(0x23a)]=_0x1c38a7[_0x3eccfc(0x2ba)](_0x2b66d8,_0x2b66d8+_0x307d20);}}),_0xaa6083[_0x500ecd(0x330)]=_0xaa6083[_0x500ecd(0x2b5)]({'processBlock':function(_0x69ac33,_0x262112){var _0x314219=_0x500ecd,_0x2537af=this['_cipher'],_0x238f9e=_0x2537af['blockSize'],_0x161c61=_0x69ac33[_0x314219(0x2ba)](_0x262112,_0x262112+_0x238f9e);_0x2537af[_0x314219(0x123)](_0x69ac33,_0x262112),_0xe3a0db[_0x314219(0x2ad)](this,_0x69ac33,_0x262112,_0x238f9e),this[_0x314219(0x23a)]=_0x161c61;}});function _0xe3a0db(_0x4054b4,_0x3ec3f5,_0x36e148){var _0x44db41=_0x500ecd,_0x178b37,_0x24c099=this['_iv'];_0x24c099?(_0x178b37=_0x24c099,this['_iv']=_0x2f964d):_0x178b37=this[_0x44db41(0x23a)];for(var _0x22fae2=0x0;_0x22fae2<_0x36e148;_0x22fae2++)_0x4054b4[_0x3ec3f5+_0x22fae2]^=_0x178b37[_0x22fae2];}return _0xaa6083;}()),_0x2d337b=_0x840a64['pad']={},_0x3acdf2=_0x2d337b[_0x15110d(0x1d3)]={'pad':function(_0x5dce97,_0x1326bf){var _0xd4089=_0x15110d;for(var _0x4a3ea6=_0x1326bf*0x4,_0x397aa5=_0x4a3ea6-_0x5dce97[_0xd4089(0x435)]%_0x4a3ea6,_0x4d5602=_0x397aa5<<0x18|_0x397aa5<<0x10|_0x397aa5<<0x8|_0x397aa5,_0x581943=[],_0x2429eb=0x0;_0x2429eb<_0x397aa5;_0x2429eb+=0x4)_0x581943[_0xd4089(0x3f4)](_0x4d5602);var _0xf1a0ab=_0xd5847a[_0xd4089(0x1f4)](_0x581943,_0x397aa5);_0x5dce97['concat'](_0xf1a0ab);},'unpad':function(_0x5cbbba){var _0x45bf5a=_0x15110d,_0x31393e=_0x5cbbba[_0x45bf5a(0x37d)][_0x5cbbba['sigBytes']-0x1>>>0x2]&0xff;_0x5cbbba['sigBytes']-=_0x31393e;}};_0x37a46a[_0x15110d(0x1d8)]=_0x2d28fe[_0x15110d(0x2b5)]({'cfg':_0x2d28fe[_0x15110d(0x2e1)][_0x15110d(0x2b5)]({'mode':_0x396e78,'padding':_0x3acdf2}),'reset':function(){var _0x54c3e5=_0x15110d,_0x3129a9;_0x2d28fe[_0x54c3e5(0x2d4)][_0x54c3e5(0x2ad)](this);var _0x335d21=this[_0x54c3e5(0x2e1)],_0x3ca374=_0x335d21['iv'],_0xa422a8=_0x335d21[_0x54c3e5(0x2e7)];this['_xformMode']==this[_0x54c3e5(0x199)]?_0x3129a9=_0xa422a8['createEncryptor']:(_0x3129a9=_0xa422a8[_0x54c3e5(0x3a4)],this[_0x54c3e5(0x24b)]=0x1),this[_0x54c3e5(0x18f)]&&this[_0x54c3e5(0x18f)][_0x54c3e5(0x3b7)]==_0x3129a9?this[_0x54c3e5(0x18f)][_0x54c3e5(0x402)](this,_0x3ca374&&_0x3ca374[_0x54c3e5(0x37d)]):(this['_mode']=_0x3129a9[_0x54c3e5(0x2ad)](_0xa422a8,this,_0x3ca374&&_0x3ca374[_0x54c3e5(0x37d)]),this[_0x54c3e5(0x18f)][_0x54c3e5(0x3b7)]=_0x3129a9);},'_doProcessBlock':function(_0x4f1ca2,_0x5c2f76){var _0x5e48d0=_0x15110d;this[_0x5e48d0(0x18f)][_0x5e48d0(0x40c)](_0x4f1ca2,_0x5c2f76);},'_doFinalize':function(){var _0x57ff81=_0x15110d,_0x3571c2,_0x5a3cc8=this[_0x57ff81(0x2e1)][_0x57ff81(0x429)];return this[_0x57ff81(0x3ac)]==this['_ENC_XFORM_MODE']?(_0x5a3cc8[_0x57ff81(0xee)](this['_data'],this[_0x57ff81(0x134)]),_0x3571c2=this[_0x57ff81(0x1fd)](!0x0)):(_0x3571c2=this[_0x57ff81(0x1fd)](!0x0),_0x5a3cc8['unpad'](_0x3571c2)),_0x3571c2;},'blockSize':0x80/0x20});var _0x5d1453=_0x37a46a['CipherParams']=_0x210963[_0x15110d(0x2b5)]({'init':function(_0x2817a4){var _0x54929f=_0x15110d;this[_0x54929f(0x117)](_0x2817a4);},'toString':function(_0x12bdc5){return(_0x12bdc5||this['formatter'])['stringify'](this);}}),_0x3c1cf2=_0x840a64[_0x15110d(0x3fe)]={},_0x1970c2=_0x3c1cf2['OpenSSL']={'stringify':function(_0xb60234){var _0x52ce52=_0x15110d,_0x5d3287,_0x14d59b=_0xb60234[_0x52ce52(0x1bf)],_0x311029=_0xb60234[_0x52ce52(0x41f)];return _0x311029?_0x5d3287=_0xd5847a[_0x52ce52(0x1f4)]([0x53616c74,0x65645f5f])[_0x52ce52(0x423)](_0x311029)[_0x52ce52(0x423)](_0x14d59b):_0x5d3287=_0x14d59b,_0x5d3287[_0x52ce52(0x266)](_0x159a0a);},'parse':function(_0x4a278a){var _0x52ec55=_0x15110d,_0x17d483,_0x2a0b4f=_0x159a0a['parse'](_0x4a278a),_0xcccd61=_0x2a0b4f[_0x52ec55(0x37d)];return _0xcccd61[0x0]==0x53616c74&&_0xcccd61[0x1]==0x65645f5f&&(_0x17d483=_0xd5847a[_0x52ec55(0x1f4)](_0xcccd61[_0x52ec55(0x2ba)](0x2,0x4)),_0xcccd61['splice'](0x0,0x4),_0x2a0b4f[_0x52ec55(0x435)]-=0x10),_0x5d1453['create']({'ciphertext':_0x2a0b4f,'salt':_0x17d483});}},_0x3f9661=_0x37a46a['SerializableCipher']=_0x210963[_0x15110d(0x2b5)]({'cfg':_0x210963[_0x15110d(0x2b5)]({'format':_0x1970c2}),'encrypt':function(_0x392906,_0x37f05b,_0x363f2b,_0x596ae0){var _0x4bdd2c=_0x15110d;_0x596ae0=this['cfg']['extend'](_0x596ae0);var _0x37f574=_0x392906['createEncryptor'](_0x363f2b,_0x596ae0),_0x1319bf=_0x37f574['finalize'](_0x37f05b),_0x584472=_0x37f574[_0x4bdd2c(0x2e1)];return _0x5d1453['create']({'ciphertext':_0x1319bf,'key':_0x363f2b,'iv':_0x584472['iv'],'algorithm':_0x392906,'mode':_0x584472[_0x4bdd2c(0x2e7)],'padding':_0x584472[_0x4bdd2c(0x429)],'blockSize':_0x392906[_0x4bdd2c(0x134)],'formatter':_0x596ae0[_0x4bdd2c(0x3fe)]});},'decrypt':function(_0x200d9f,_0x3b397a,_0x199725,_0x1055ce){var _0xffdd37=_0x15110d;_0x1055ce=this[_0xffdd37(0x2e1)][_0xffdd37(0x2b5)](_0x1055ce),_0x3b397a=this[_0xffdd37(0x2ed)](_0x3b397a,_0x1055ce[_0xffdd37(0x3fe)]);var _0x29a115=_0x200d9f[_0xffdd37(0x3a4)](_0x199725,_0x1055ce)[_0xffdd37(0x13e)](_0x3b397a[_0xffdd37(0x1bf)]);return _0x29a115;},'_parse':function(_0x58efe8,_0x5e064f){var _0x332e24=_0x15110d;return typeof _0x58efe8=='string'?_0x5e064f[_0x332e24(0x2a9)](_0x58efe8,this):_0x58efe8;}}),_0x2f26a6=_0x840a64['kdf']={},_0x5a270b=_0x2f26a6[_0x15110d(0x3ab)]={'execute':function(_0x321b69,_0x5a065e,_0x5603da,_0x1c5aab,_0x145650){var _0x56a77e=_0x15110d;if(_0x1c5aab||(_0x1c5aab=_0xd5847a['random'](0x40/0x8)),_0x145650)var _0x1a5e7f=_0x4745eb[_0x56a77e(0x1f4)]({'keySize':_0x5a065e+_0x5603da,'hasher':_0x145650})[_0x56a77e(0x10c)](_0x321b69,_0x1c5aab);else var _0x1a5e7f=_0x4745eb[_0x56a77e(0x1f4)]({'keySize':_0x5a065e+_0x5603da})['compute'](_0x321b69,_0x1c5aab);var _0xc20cf9=_0xd5847a['create'](_0x1a5e7f[_0x56a77e(0x37d)][_0x56a77e(0x2ba)](_0x5a065e),_0x5603da*0x4);return _0x1a5e7f['sigBytes']=_0x5a065e*0x4,_0x5d1453[_0x56a77e(0x1f4)]({'key':_0x1a5e7f,'iv':_0xc20cf9,'salt':_0x1c5aab});}},_0x4c1913=_0x37a46a[_0x15110d(0x226)]=_0x3f9661[_0x15110d(0x2b5)]({'cfg':_0x3f9661['cfg']['extend']({'kdf':_0x5a270b}),'encrypt':function(_0x529e43,_0x2363a7,_0x44ce5f,_0x400dc3){var _0x11ddba=_0x15110d;_0x400dc3=this[_0x11ddba(0x2e1)][_0x11ddba(0x2b5)](_0x400dc3);var _0x2c8b86=_0x400dc3[_0x11ddba(0xf4)]['execute'](_0x44ce5f,_0x529e43['keySize'],_0x529e43[_0x11ddba(0x31e)],_0x400dc3[_0x11ddba(0x41f)],_0x400dc3['hasher']);_0x400dc3['iv']=_0x2c8b86['iv'];var _0x580382=_0x3f9661[_0x11ddba(0x432)][_0x11ddba(0x2ad)](this,_0x529e43,_0x2363a7,_0x2c8b86[_0x11ddba(0x2f9)],_0x400dc3);return _0x580382['mixIn'](_0x2c8b86),_0x580382;},'decrypt':function(_0x4669b0,_0x194478,_0x6f7dd1,_0x499d4d){var _0x3a9ad1=_0x15110d;_0x499d4d=this['cfg'][_0x3a9ad1(0x2b5)](_0x499d4d),_0x194478=this[_0x3a9ad1(0x2ed)](_0x194478,_0x499d4d[_0x3a9ad1(0x3fe)]);var _0x59b3f0=_0x499d4d[_0x3a9ad1(0xf4)][_0x3a9ad1(0x25f)](_0x6f7dd1,_0x4669b0[_0x3a9ad1(0x2fd)],_0x4669b0[_0x3a9ad1(0x31e)],_0x194478[_0x3a9ad1(0x41f)],_0x499d4d[_0x3a9ad1(0x33b)]);_0x499d4d['iv']=_0x59b3f0['iv'];var _0x57f4b0=_0x3f9661[_0x3a9ad1(0x39d)][_0x3a9ad1(0x2ad)](this,_0x4669b0,_0x194478,_0x59b3f0[_0x3a9ad1(0x2f9)],_0x499d4d);return _0x57f4b0;}});}();}));}(Ce)),Ce[_0xfbcdc4(0x273)];}var Pi=Ie['exports'],tt;function Li(){var _0x136120=_0x859cf8;return tt||(tt=0x1,function(_0x58c465,_0x4626eb){(function(_0x59f8e6,_0x85f563,_0x215062){var _0x483742=_0x532c;_0x58c465[_0x483742(0x273)]=_0x85f563(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x4849d2){return(function(){var _0x58962a=_0x532c,_0x5a4425=_0x4849d2,_0x4a8264=_0x5a4425[_0x58962a(0x2f1)],_0x12219d=_0x4a8264[_0x58962a(0x1d8)],_0x579c67=_0x5a4425[_0x58962a(0x198)],_0x530893=[],_0x51ecd3=[],_0xba4112=[],_0x30d100=[],_0x25c5d6=[],_0x156d49=[],_0x457ec0=[],_0x4b9753=[],_0x1b4384=[],_0x4c9fd9=[];(function(){for(var _0x2b0fab=[],_0x1fc245=0x0;_0x1fc245<0x100;_0x1fc245++)_0x1fc245<0x80?_0x2b0fab[_0x1fc245]=_0x1fc245<<0x1:_0x2b0fab[_0x1fc245]=_0x1fc245<<0x1^0x11b;for(var _0xd96305=0x0,_0x27f963=0x0,_0x1fc245=0x0;_0x1fc245<0x100;_0x1fc245++){var _0x435bed=_0x27f963^_0x27f963<<0x1^_0x27f963<<0x2^_0x27f963<<0x3^_0x27f963<<0x4;_0x435bed=_0x435bed>>>0x8^_0x435bed&0xff^0x63,_0x530893[_0xd96305]=_0x435bed,_0x51ecd3[_0x435bed]=_0xd96305;var _0x506708=_0x2b0fab[_0xd96305],_0x2bd636=_0x2b0fab[_0x506708],_0x186474=_0x2b0fab[_0x2bd636],_0x3b316b=_0x2b0fab[_0x435bed]*0x101^_0x435bed*0x1010100;_0xba4112[_0xd96305]=_0x3b316b<<0x18|_0x3b316b>>>0x8,_0x30d100[_0xd96305]=_0x3b316b<<0x10|_0x3b316b>>>0x10,_0x25c5d6[_0xd96305]=_0x3b316b<<0x8|_0x3b316b>>>0x18,_0x156d49[_0xd96305]=_0x3b316b;var _0x3b316b=_0x186474*0x1010101^_0x2bd636*0x10001^_0x506708*0x101^_0xd96305*0x1010100;_0x457ec0[_0x435bed]=_0x3b316b<<0x18|_0x3b316b>>>0x8,_0x4b9753[_0x435bed]=_0x3b316b<<0x10|_0x3b316b>>>0x10,_0x1b4384[_0x435bed]=_0x3b316b<<0x8|_0x3b316b>>>0x18,_0x4c9fd9[_0x435bed]=_0x3b316b,_0xd96305?(_0xd96305=_0x506708^_0x2b0fab[_0x2b0fab[_0x2b0fab[_0x186474^_0x506708]]],_0x27f963^=_0x2b0fab[_0x2b0fab[_0x27f963]]):_0xd96305=_0x27f963=0x1;}}());var _0x3bd4de=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x34905a=_0x579c67['AES']=_0x12219d[_0x58962a(0x2b5)]({'_doReset':function(){var _0x4fc3ee=_0x58962a,_0x521f5a;if(!(this[_0x4fc3ee(0x2ee)]&&this['_keyPriorReset']===this[_0x4fc3ee(0x420)])){for(var _0x207df1=this[_0x4fc3ee(0x194)]=this[_0x4fc3ee(0x420)],_0x5bd90d=_0x207df1[_0x4fc3ee(0x37d)],_0x345c10=_0x207df1[_0x4fc3ee(0x435)]/0x4,_0x5ed5e9=this[_0x4fc3ee(0x2ee)]=_0x345c10+0x6,_0x27e89a=(_0x5ed5e9+0x1)*0x4,_0x29db41=this[_0x4fc3ee(0x1c1)]=[],_0x3acc83=0x0;_0x3acc83<_0x27e89a;_0x3acc83++)_0x3acc83<_0x345c10?_0x29db41[_0x3acc83]=_0x5bd90d[_0x3acc83]:(_0x521f5a=_0x29db41[_0x3acc83-0x1],_0x3acc83%_0x345c10?_0x345c10>0x6&&_0x3acc83%_0x345c10==0x4&&(_0x521f5a=_0x530893[_0x521f5a>>>0x18]<<0x18|_0x530893[_0x521f5a>>>0x10&0xff]<<0x10|_0x530893[_0x521f5a>>>0x8&0xff]<<0x8|_0x530893[_0x521f5a&0xff]):(_0x521f5a=_0x521f5a<<0x8|_0x521f5a>>>0x18,_0x521f5a=_0x530893[_0x521f5a>>>0x18]<<0x18|_0x530893[_0x521f5a>>>0x10&0xff]<<0x10|_0x530893[_0x521f5a>>>0x8&0xff]<<0x8|_0x530893[_0x521f5a&0xff],_0x521f5a^=_0x3bd4de[_0x3acc83/_0x345c10|0x0]<<0x18),_0x29db41[_0x3acc83]=_0x29db41[_0x3acc83-_0x345c10]^_0x521f5a);for(var _0x57655c=this['_invKeySchedule']=[],_0x27b0c5=0x0;_0x27b0c5<_0x27e89a;_0x27b0c5++){var _0x3acc83=_0x27e89a-_0x27b0c5;if(_0x27b0c5%0x4)var _0x521f5a=_0x29db41[_0x3acc83];else var _0x521f5a=_0x29db41[_0x3acc83-0x4];_0x27b0c5<0x4||_0x3acc83<=0x4?_0x57655c[_0x27b0c5]=_0x521f5a:_0x57655c[_0x27b0c5]=_0x457ec0[_0x530893[_0x521f5a>>>0x18]]^_0x4b9753[_0x530893[_0x521f5a>>>0x10&0xff]]^_0x1b4384[_0x530893[_0x521f5a>>>0x8&0xff]]^_0x4c9fd9[_0x530893[_0x521f5a&0xff]];}}},'encryptBlock':function(_0x4a28c3,_0x3dad9f){var _0x45f15e=_0x58962a;this[_0x45f15e(0x107)](_0x4a28c3,_0x3dad9f,this[_0x45f15e(0x1c1)],_0xba4112,_0x30d100,_0x25c5d6,_0x156d49,_0x530893);},'decryptBlock':function(_0x65f26c,_0x471f76){var _0x28ed27=_0x58962a,_0x25cebf=_0x65f26c[_0x471f76+0x1];_0x65f26c[_0x471f76+0x1]=_0x65f26c[_0x471f76+0x3],_0x65f26c[_0x471f76+0x3]=_0x25cebf,this[_0x28ed27(0x107)](_0x65f26c,_0x471f76,this[_0x28ed27(0x3ec)],_0x457ec0,_0x4b9753,_0x1b4384,_0x4c9fd9,_0x51ecd3);var _0x25cebf=_0x65f26c[_0x471f76+0x1];_0x65f26c[_0x471f76+0x1]=_0x65f26c[_0x471f76+0x3],_0x65f26c[_0x471f76+0x3]=_0x25cebf;},'_doCryptBlock':function(_0x1b88cc,_0x49ce6b,_0xde757f,_0x34510d,_0x205a08,_0x55ec14,_0x3095b0,_0x56c5ec){var _0x26ed07=_0x58962a;for(var _0xd22938=this[_0x26ed07(0x2ee)],_0x3eef81=_0x1b88cc[_0x49ce6b]^_0xde757f[0x0],_0x40370c=_0x1b88cc[_0x49ce6b+0x1]^_0xde757f[0x1],_0x56c83c=_0x1b88cc[_0x49ce6b+0x2]^_0xde757f[0x2],_0x4aff6f=_0x1b88cc[_0x49ce6b+0x3]^_0xde757f[0x3],_0x12ee53=0x4,_0x2e7aaf=0x1;_0x2e7aaf<_0xd22938;_0x2e7aaf++){var _0x32494f=_0x34510d[_0x3eef81>>>0x18]^_0x205a08[_0x40370c>>>0x10&0xff]^_0x55ec14[_0x56c83c>>>0x8&0xff]^_0x3095b0[_0x4aff6f&0xff]^_0xde757f[_0x12ee53++],_0x50edcd=_0x34510d[_0x40370c>>>0x18]^_0x205a08[_0x56c83c>>>0x10&0xff]^_0x55ec14[_0x4aff6f>>>0x8&0xff]^_0x3095b0[_0x3eef81&0xff]^_0xde757f[_0x12ee53++],_0x1d4ba8=_0x34510d[_0x56c83c>>>0x18]^_0x205a08[_0x4aff6f>>>0x10&0xff]^_0x55ec14[_0x3eef81>>>0x8&0xff]^_0x3095b0[_0x40370c&0xff]^_0xde757f[_0x12ee53++],_0x14e478=_0x34510d[_0x4aff6f>>>0x18]^_0x205a08[_0x3eef81>>>0x10&0xff]^_0x55ec14[_0x40370c>>>0x8&0xff]^_0x3095b0[_0x56c83c&0xff]^_0xde757f[_0x12ee53++];_0x3eef81=_0x32494f,_0x40370c=_0x50edcd,_0x56c83c=_0x1d4ba8,_0x4aff6f=_0x14e478;}var _0x32494f=(_0x56c5ec[_0x3eef81>>>0x18]<<0x18|_0x56c5ec[_0x40370c>>>0x10&0xff]<<0x10|_0x56c5ec[_0x56c83c>>>0x8&0xff]<<0x8|_0x56c5ec[_0x4aff6f&0xff])^_0xde757f[_0x12ee53++],_0x50edcd=(_0x56c5ec[_0x40370c>>>0x18]<<0x18|_0x56c5ec[_0x56c83c>>>0x10&0xff]<<0x10|_0x56c5ec[_0x4aff6f>>>0x8&0xff]<<0x8|_0x56c5ec[_0x3eef81&0xff])^_0xde757f[_0x12ee53++],_0x1d4ba8=(_0x56c5ec[_0x56c83c>>>0x18]<<0x18|_0x56c5ec[_0x4aff6f>>>0x10&0xff]<<0x10|_0x56c5ec[_0x3eef81>>>0x8&0xff]<<0x8|_0x56c5ec[_0x40370c&0xff])^_0xde757f[_0x12ee53++],_0x14e478=(_0x56c5ec[_0x4aff6f>>>0x18]<<0x18|_0x56c5ec[_0x3eef81>>>0x10&0xff]<<0x10|_0x56c5ec[_0x40370c>>>0x8&0xff]<<0x8|_0x56c5ec[_0x56c83c&0xff])^_0xde757f[_0x12ee53++];_0x1b88cc[_0x49ce6b]=_0x32494f,_0x1b88cc[_0x49ce6b+0x1]=_0x50edcd,_0x1b88cc[_0x49ce6b+0x2]=_0x1d4ba8,_0x1b88cc[_0x49ce6b+0x3]=_0x14e478;},'keySize':0x100/0x20});_0x5a4425['AES']=_0x12219d['_createHelper'](_0x34905a);}()),_0x4849d2['AES'];}));}(Ie)),Ie[_0x136120(0x273)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe['exports'],nt;function $i(){var _0x2d4e9f=_0x859cf8;return nt||(nt=0x1,function(_0x355296,_0x4e2ce1){(function(_0xad25a4,_0xe1cc79){var _0x58f629=_0x532c;_0x355296[_0x58f629(0x273)]=_0xe1cc79(Z());}(ki,function(_0x26eb24){var _0x5df3bd=_0x532c;return _0x26eb24[_0x5df3bd(0x178)]['Utf8'];}));}(Oe)),Oe[_0x2d4e9f(0x273)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x859cf8(0x273)],st;function Fi(){return st||(st=0x1,function(_0xb401b1,_0x5aefee){(function(_0x36376f,_0x256236){var _0x3f5707=_0x532c;_0xb401b1[_0x3f5707(0x273)]=_0x256236(Z());}(Bi,function(_0x15740e){var _0x8953ac=_0x532c;return(function(){var _0x1d30bd=_0x532c;if(typeof ArrayBuffer==_0x1d30bd(0x26a)){var _0x111a65=_0x15740e,_0x49cf59=_0x111a65['lib'],_0xda08c7=_0x49cf59[_0x1d30bd(0x317)],_0x4ec06d=_0xda08c7[_0x1d30bd(0x402)],_0x306ab1=_0xda08c7[_0x1d30bd(0x402)]=function(_0xdd30b){var _0xa38afc=_0x1d30bd;if(_0xdd30b instanceof ArrayBuffer&&(_0xdd30b=new Uint8Array(_0xdd30b)),(_0xdd30b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xdd30b instanceof Uint8ClampedArray||_0xdd30b instanceof Int16Array||_0xdd30b instanceof Uint16Array||_0xdd30b instanceof Int32Array||_0xdd30b instanceof Uint32Array||_0xdd30b instanceof Float32Array||_0xdd30b instanceof Float64Array)&&(_0xdd30b=new Uint8Array(_0xdd30b['buffer'],_0xdd30b[_0xa38afc(0x43a)],_0xdd30b[_0xa38afc(0x3d3)])),_0xdd30b instanceof Uint8Array){for(var _0x455bbc=_0xdd30b[_0xa38afc(0x3d3)],_0xb146f4=[],_0x2205ca=0x0;_0x2205ca<_0x455bbc;_0x2205ca++)_0xb146f4[_0x2205ca>>>0x2]|=_0xdd30b[_0x2205ca]<<0x18-_0x2205ca%0x4*0x8;_0x4ec06d[_0xa38afc(0x2ad)](this,_0xb146f4,_0x455bbc);}else _0x4ec06d[_0xa38afc(0xcd)](this,arguments);};_0x306ab1['prototype']=_0xda08c7;}}()),_0x15740e[_0x8953ac(0x2f1)][_0x8953ac(0x317)];}));}(be)),be['exports'];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x859cf8(0x273)],rt;function Yi(){var _0x1b4605=_0x859cf8;return rt||(rt=0x1,function(_0x65a54c,_0x4a878){(function(_0x32e86c,_0x3b9d56,_0x5ccad9){var _0x5675cf=_0x532c;_0x65a54c[_0x5675cf(0x273)]=_0x3b9d56(Z(),Ot());}(Gi,function(_0x243043){var _0xdf055=_0x532c;return _0x243043[_0xdf055(0xee)][_0xdf055(0xcb)]={'pad':function(){},'unpad':function(){}},_0x243043[_0xdf055(0xee)][_0xdf055(0xcb)];}));}(Re)),Re[_0x1b4605(0x273)];}var Ki=Yi();const qi=de(Ki);function zi(_0x4305a2,_0x4d03e8){var _0xa1fc48=_0x859cf8;const _0x28bf95=_0x4d03e8-_0x4305a2['length']%_0x4d03e8,_0x255fdd=String[_0xa1fc48(0xfc)](_0x28bf95)[_0xa1fc48(0x413)](_0x28bf95);return _0x4305a2+_0x255fdd;}function Xi(_0x41088a,_0x101792){var _0x5cf9b2=_0x859cf8;const _0x59a674=Wi['random'](0x10),_0x447589=zi(_0x41088a,0x10),_0x21f8b2=wi[_0x5cf9b2(0x432)](ji[_0x5cf9b2(0x2a9)](_0x447589),it[_0x5cf9b2(0x2a9)](_0x101792),{'iv':_0x59a674,'padding':qi});return _0x59a674[_0x5cf9b2(0x423)](_0x21f8b2[_0x5cf9b2(0x1bf)])['toString'](it);}function Ji(){var _0x219597=_0x859cf8;const _0x3c714d=Dt[_0x219597(0x441)]()[_0x219597(0x28f)];if(_0x3c714d){const _0x17367e={'time':Math[_0x219597(0x1b7)](Date[_0x219597(0x1ec)]()/0x3e8),'domain':location['hostname']};return Xi(JSON[_0x219597(0x37c)](_0x17367e),_0x3c714d);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x11c51a,_0x46ea67,_0x5ed4a6,_0x345b9c)=>{for(var _0x1c79e7=_0x345b9c>0x1?void 0x0:_0x345b9c?Zi(_0x46ea67,_0x5ed4a6):_0x46ea67,_0x1e3ddf=_0x11c51a['length']-0x1,_0x154339;_0x1e3ddf>=0x0;_0x1e3ddf--)(_0x154339=_0x11c51a[_0x1e3ddf])&&(_0x1c79e7=_0x154339(_0x1c79e7)||_0x1c79e7);return _0x1c79e7;},en=(_0x118430,_0xb757ab)=>(_0x474aac,_0xc87777)=>_0xb757ab(_0x474aac,_0xc87777,_0x118430);let De=class{constructor(_0x417cff){var _0x26fa5a=_0x859cf8;this[_0x26fa5a(0x25c)]=_0x417cff,this[_0x26fa5a(0x14c)]();}[_0x859cf8(0x14c)](){var _0xe37003=_0x859cf8;this[_0xe37003(0x25c)][_0xe37003(0xd8)]({'interceptor':(_0x5acc78,_0xe16677)=>{var _0x33bc2a=_0xe37003;const _0x90749f=_0x5acc78[_0x33bc2a(0x386)],_0x1c6ce6=Ji();return _0x1c6ce6&&_0x90749f['set'](_0x33bc2a(0x37b),_0x1c6ce6),_0xe16677(_0x5acc78);}});}};De=Qi([en(0x0,o[_0x859cf8(0x416)](K['HTTPService']))],De);var tn=Object[_0x859cf8(0x1e0)],nn=(_0x1afedd,_0x16c23d,_0x292993,_0x1ede3c)=>{var _0x2c1624=_0x859cf8;for(var _0x2319c9=_0x1ede3c>0x1?void 0x0:_0x1ede3c?tn(_0x16c23d,_0x292993):_0x16c23d,_0x353d88=_0x1afedd[_0x2c1624(0x44f)]-0x1,_0x505b56;_0x353d88>=0x0;_0x353d88--)(_0x505b56=_0x1afedd[_0x353d88])&&(_0x2319c9=_0x505b56(_0x2319c9)||_0x2319c9);return _0x2319c9;},Le=(_0x3e8fd2,_0x183796)=>(_0x298fc7,_0x576ac2)=>_0x183796(_0x298fc7,_0x576ac2,_0x3e8fd2);exports['DataLoaderService']=class extends o[_0x859cf8(0x26f)]{constructor(_0x761003,_0x464afb,_0x1a8dcc){var _0x2f7ebd=_0x859cf8;super(),A(this,_0x2f7ebd(0x211),new j[(_0x2f7ebd(0x161))](null)),A(this,_0x2f7ebd(0x339),this[_0x2f7ebd(0x211)][_0x2f7ebd(0x3cb)]()),(this[_0x2f7ebd(0x142)]=_0x761003,this[_0x2f7ebd(0x41b)]=_0x464afb,this[_0x2f7ebd(0x18b)]=_0x1a8dcc);}async[_0x859cf8(0x333)](_0xbe6fd0,_0x2f8611,_0x1cabf1){var _0x30652d=_0x859cf8;this[_0x30652d(0x211)][_0x30652d(0x143)]({'unitId':_0xbe6fd0,'type':_0x2f8611});let _0x1aa44e=null;switch(_0x2f8611){case X[_0x30652d(0x358)]:{_0x1aa44e=await this[_0x30652d(0x41b)]['loadSheet'](_0xbe6fd0,_0x1cabf1);break;}case X['UNIVER_DOC']:{_0x1aa44e=await this[_0x30652d(0x41b)][_0x30652d(0x31c)](_0xbe6fd0,_0x1cabf1);break;}default:{this[_0x30652d(0x142)]['error'](_0x30652d(0x3ef),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1aa44e;}async[_0x859cf8(0x406)](_0x4ddba8,_0x512aaf,_0x4a9fed){var _0x11b3f8=_0x859cf8,_0xf462ac;this[_0x11b3f8(0x211)][_0x11b3f8(0x143)]({'unitId':_0x4ddba8,'type':_0x512aaf,'subUnitId':_0x4a9fed});let _0x6cb091=0x0;const _0x407a2e=await((_0xf462ac=this[_0x11b3f8(0x18b)])==null?void 0x0:_0xf462ac[_0x11b3f8(0x380)](_0x4ddba8));return _0x407a2e&&(_0x407a2e[_0x11b3f8(0x288)]||_0x407a2e[_0x11b3f8(0x170)][_0x11b3f8(0x44f)]!==0x0)&&(_0x6cb091=_0x407a2e['rev']),_0x6cb091===0x0&&this[_0x11b3f8(0x142)][_0x11b3f8(0x225)](_0x11b3f8(0x3ef),_0x11b3f8(0x2ff)),this[_0x11b3f8(0x333)](_0x4ddba8,_0x512aaf,_0x6cb091);}},exports[_0x859cf8(0x132)]=nn([Le(0x0,o[_0x859cf8(0x12c)]),Le(0x1,o[_0x859cf8(0x416)](E[_0x859cf8(0x2b1)])),Le(0x2,o['Optional'](q))],exports['DataLoaderService']);var sn=Object[_0x859cf8(0x1e0)],rn=(_0x40e7d4,_0x2ef80a,_0x14d582,_0x16a7a5)=>{var _0x44e425=_0x859cf8;for(var _0x15492d=_0x16a7a5>0x1?void 0x0:_0x16a7a5?sn(_0x2ef80a,_0x14d582):_0x2ef80a,_0x176d4f=_0x40e7d4[_0x44e425(0x44f)]-0x1,_0x2875c5;_0x176d4f>=0x0;_0x176d4f--)(_0x2875c5=_0x40e7d4[_0x176d4f])&&(_0x15492d=_0x2875c5(_0x15492d)||_0x15492d);return _0x15492d;},Me=(_0x5c2503,_0x18e283)=>(_0x2ad42b,_0x3145b2)=>_0x18e283(_0x2ad42b,_0x3145b2,_0x5c2503);const an=[_0x859cf8(0x234),_0x859cf8(0x2b9),_0x859cf8(0x448),_0x859cf8(0x201),_0x859cf8(0x301)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n=_0x859cf8(0x176);exports['CollaborationImageIoService']=class{constructor(_0x235f80,_0x256329,_0x3a1e0e){var _0x1d7afb=_0x859cf8;A(this,_0x1d7afb(0x421),0x0),A(this,_0x1d7afb(0x3b0),new j[(_0x1d7afb(0xdd))]()),A(this,'change$',this[_0x1d7afb(0x3b0)]),A(this,_0x1d7afb(0x187),new Map()),(this[_0x1d7afb(0x25c)]=_0x235f80,this[_0x1d7afb(0x156)]=_0x256329,this[_0x1d7afb(0xc9)]=_0x3a1e0e);}[_0x859cf8(0xf8)](_0x483da0){var _0x5bd262=_0x859cf8;this[_0x5bd262(0x421)]=_0x483da0,this['_change$'][_0x5bd262(0x143)](_0x483da0);}['getImageSourceCache'](_0x5752d4,_0x34b06a){var _0x2c67a2=_0x859cf8;if(_0x34b06a===z['ImageSourceType'][_0x2c67a2(0x320)]){const _0x38f20=new Image();return _0x38f20[_0x2c67a2(0x175)]=_0x5752d4,_0x38f20;}return this[_0x2c67a2(0x187)][_0x2c67a2(0x271)](_0x5752d4);}[_0x859cf8(0x3d2)](_0x5e7995,_0x584dde,_0x28c0b9){var _0x5a4bb1=_0x859cf8;_0x584dde===z['ImageSourceType'][_0x5a4bb1(0x320)]||_0x28c0b9==null||this[_0x5a4bb1(0x187)][_0x5a4bb1(0x14f)](_0x5e7995,_0x28c0b9);}async['getImage'](_0xe8a918){var _0x10f7ec=_0x859cf8;try{const _0x6ac36c=this[_0x10f7ec(0x2c0)](this[_0x10f7ec(0x268)](),''+_0xe8a918),_0xde6f52=(await this[_0x10f7ec(0x25c)][_0x10f7ec(0x271)](_0x6ac36c))[_0x10f7ec(0x3b4)];if(_0xde6f52[_0x10f7ec(0x119)]&&_0xde6f52[_0x10f7ec(0x119)]['code']===vt['OK']){const _0x3d88a5=new URL(_0xde6f52['url'],this[_0x10f7ec(0x129)]())[_0x10f7ec(0x266)]();return Promise[_0x10f7ec(0x1be)](_0x3d88a5);}return Promise[_0x10f7ec(0x318)](_0xde6f52['error']);}catch(_0xe1e10a){return Promise[_0x10f7ec(0x318)](_0xe1e10a);}}async[_0x859cf8(0xec)](_0x230ff0){var _0x23ed0f=_0x859cf8;let _0x22e65b='';if(!an[_0x23ed0f(0x39c)](_0x230ff0['type']))return this[_0x23ed0f(0x2d8)](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_IMAGE_TYPE']));if(_0x230ff0['size']>on)return this['_decreaseWaiting'](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_EXCEED_SIZE']));try{const _0x3e61e1=new FormData();_0x3e61e1[_0x23ed0f(0x3f3)]('file',_0x230ff0);const _0x452df0=this[_0x23ed0f(0xc9)][_0x23ed0f(0x29c)](),_0x563183=_0x452df0==null?void 0x0:_0x452df0['getUnitId']();if(!_0x563183)throw new Error(_0x23ed0f(0x2e6));const _0x5b90ac=this[_0x23ed0f(0x295)]()+_0x23ed0f(0x410)+_0x230ff0['size'][_0x23ed0f(0x266)]()+_0x23ed0f(0x243)+dt[_0x23ed0f(0x36e)]+_0x23ed0f(0x125)+encodeURIComponent(_0x563183),_0x324463={'body':_0x3e61e1},_0xd9debe=(await this[_0x23ed0f(0x25c)]['post'](_0x5b90ac,_0x324463))[_0x23ed0f(0x3b4)];if(typeof _0xd9debe[_0x23ed0f(0x428)]!=_0x23ed0f(0x29f))return this[_0x23ed0f(0x2d8)](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_IMAGE']));_0x22e65b=_0xd9debe[_0x23ed0f(0x428)];}catch{return this[_0x23ed0f(0x2d8)](),Promise['reject'](new Error(z[_0x23ed0f(0x2bd)][_0x23ed0f(0x103)]));}return new Promise((_0x20596f,_0x537e8e)=>{var _0x3b67a8=_0x23ed0f;const _0x1f2906=new FileReader();_0x1f2906['readAsDataURL'](_0x230ff0),_0x1f2906[_0x3b67a8(0x164)]=_0x280882=>{var _0x52f882=_0x3b67a8,_0x2f7b85;const _0x29d21a=(_0x2f7b85=_0x280882[_0x52f882(0x31f)])==null?void 0x0:_0x2f7b85['result'];if(_0x29d21a==null){this['_decreaseWaiting'](),_0x537e8e(new Error(z[_0x52f882(0x2bd)][_0x52f882(0x103)]));return;}const _0x1dab99=o['generateRandomId'](0x6);_0x20596f({'imageId':_0x1dab99,'imageSourceType':z[_0x52f882(0x36b)]['UUID'],'source':_0x22e65b,'base64Cache':_0x29d21a,'status':z[_0x52f882(0x2bd)][_0x52f882(0x193)]}),this[_0x52f882(0x2d8)]();};});}['_getUploadFileURL'](){var _0x4d74a8=_0x859cf8,_0xb49725;const _0xa8a542=this[_0x4d74a8(0x156)][_0x4d74a8(0x40b)](Y);return(_0xb49725=_0xa8a542==null?void 0x0:_0xa8a542['uploadFileServerUrl'])!=null?_0xb49725:cn;}['_getSignURL'](){var _0x58b2bb=_0x859cf8,_0x28b109;const _0x303065=this['_configService'][_0x58b2bb(0x40b)](Y);return(_0x28b109=_0x303065==null?void 0x0:_0x303065[_0x58b2bb(0x254)])!=null?_0x28b109:_n;}[_0x859cf8(0x129)](){var _0x41a5be=_0x859cf8,_0x401697;const _0x2c33b3=this[_0x41a5be(0x156)][_0x41a5be(0x40b)](Y);return(_0x401697=_0x2c33b3==null?void 0x0:_0x2c33b3[_0x41a5be(0x146)])!=null?_0x401697:location[_0x41a5be(0x3e4)];}['_replaceFileID'](_0xd0c079,_0x4aed9b){var _0x51f9f5=_0x859cf8;return _0xd0c079[_0x51f9f5(0x3ee)](_0x51f9f5(0x35f),_0x4aed9b);}[_0x859cf8(0x2d8)](){var _0x9252f6=_0x859cf8;this[_0x9252f6(0x421)]-=0x1,this['_change$'][_0x9252f6(0x143)](this[_0x9252f6(0x421)]);}},exports[_0x859cf8(0x349)]=rn([Me(0x0,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x859cf8(0x416)](o['IUniverInstanceService']))],exports[_0x859cf8(0x349)]);var hn=Object[_0x859cf8(0x1e0)],ln=(_0x4a189a,_0xa61c6,_0x30267e,_0x8de9bb)=>{var _0x38b75d=_0x859cf8;for(var _0x1f76d0=_0x8de9bb>0x1?void 0x0:_0x8de9bb?hn(_0xa61c6,_0x30267e):_0xa61c6,_0x1c2a96=_0x4a189a[_0x38b75d(0x44f)]-0x1,_0xbb4b45;_0x1c2a96>=0x0;_0x1c2a96--)(_0xbb4b45=_0x4a189a[_0x1c2a96])&&(_0x1f76d0=_0xbb4b45(_0x1f76d0)||_0x1f76d0);return _0x1f76d0;},at=(_0x486d91,_0x53052f)=>(_0x410850,_0x4ca7ac)=>_0x53052f(_0x410850,_0x4ca7ac,_0x486d91);const un='/universer-api/authz';exports[_0x859cf8(0x20b)]=class{constructor(_0x2ff698,_0x3610d6){var _0x4b085e=_0x859cf8;this[_0x4b085e(0x156)]=_0x2ff698,this[_0x4b085e(0x290)]=_0x3610d6;}['_getAPIPrefixPath'](){var _0xd83a65=_0x859cf8,_0x468be7;const _0x3fb01a=this[_0xd83a65(0x156)][_0xd83a65(0x40b)](Y);return(_0x468be7=_0x3fb01a==null?void 0x0:_0x3fb01a[_0xd83a65(0x242)])!=null?_0x468be7:un;}async[_0x859cf8(0xde)](_0x1947fe){var _0x33fb4e=_0x859cf8;const _0xb886d1=this[_0x33fb4e(0xce)]()+_0x33fb4e(0x231);return{'list':[{'title':_0x33fb4e(0x3b8),'mentions':(await this['_HTTPService']['get'](_0xb886d1,{'params':{'objectID':_0x1947fe[_0x33fb4e(0x328)],'unitID':_0x1947fe[_0x33fb4e(0x328)]}}))[_0x33fb4e(0x3b4)][_0x33fb4e(0xf0)][_0x33fb4e(0x259)](_0x1fab10=>({'objectId':_0x1fab10['id'],'name':_0x1fab10['subject'][_0x33fb4e(0x2c1)],'metadata':{'icon':_0x1fab10['subject'][_0x33fb4e(0x2b3)]},'label':_0x1fab10[_0x33fb4e(0x3fc)][_0x33fb4e(0x2c1)],'objectType':o[_0x33fb4e(0x286)]['PERSON']})),'metadata':{},'type':o[_0x33fb4e(0x286)][_0x33fb4e(0x411)]}]};}},exports[_0x859cf8(0x20b)]=ln([at(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x1bc)])),at(0x1,o['Inject'](K[_0x859cf8(0xed)]))],exports['MentionIoHttpService']);var vn=Object[_0x859cf8(0x1e0)],dn=(_0x4559e4,_0x2b2ac8,_0x4c05de,_0x382607)=>{var _0x2d7b84=_0x859cf8;for(var _0xc3db4c=_0x382607>0x1?void 0x0:_0x382607?vn(_0x2b2ac8,_0x4c05de):_0x2b2ac8,_0x35a673=_0x4559e4[_0x2d7b84(0x44f)]-0x1,_0x5468e5;_0x35a673>=0x0;_0x35a673--)(_0x5468e5=_0x4559e4[_0x35a673])&&(_0xc3db4c=_0x5468e5(_0xc3db4c)||_0xc3db4c);return _0xc3db4c;},le=(_0x3434b8,_0x51c756)=>(_0x174a22,_0x383350)=>_0x51c756(_0x174a22,_0x383350,_0x3434b8);let ye=class extends o[_0x859cf8(0x26f)]{constructor(_0x1a6b5b,_0x162413,_0x65bd58,_0x55596d,_0x3c9a2c){var _0x1001e3=_0x859cf8;super(),this['_injector']=_0x1a6b5b,this[_0x1001e3(0xc9)]=_0x162413,this[_0x1001e3(0x312)]=_0x65bd58,this['_collaborationSessionService']=_0x55596d,this['_collaborationUIEventService']=_0x3c9a2c,this['_initUnitPermissionChange'](),this[_0x1001e3(0x1b3)]();}['_initCloseConn'](){var _0x188033=_0x859cf8;const _0x226853=async _0x5e5e9e=>{var _0x2196f8=_0x532c;(await this[_0x2196f8(0x26d)][_0x2196f8(0x20a)](_0x5e5e9e))['event$'][_0x2196f8(0x1d5)](V[_0x2196f8(0x251)](_0x2b10ce=>_0x2b10ce[_0x2196f8(0x2fe)]===E[_0x2196f8(0x41d)][_0x2196f8(0x224)]),V[_0x2196f8(0x236)](this[_0x2196f8(0x283)]))[_0x2196f8(0x3c5)](_0xd8870a=>{var _0x1aea89=_0x2196f8;const _0x294820=_0xd8870a,{reason:_0x217560}=_0x294820[_0x1aea89(0x1cf)];this[_0x1aea89(0x27a)][_0x1aea89(0x361)]({'id':J[_0x1aea89(0x35c)],'data':_0x217560}),this[_0x1aea89(0x312)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](_0x5e5e9e)['id'],!0x1),this['_collaborationSessionService'][_0x1aea89(0x2f2)](_0x5e5e9e);});};j[_0x188033(0x21e)](this['_univerInstanceService']['getTypeOfUnitAdded$'](o[_0x188033(0x261)][_0x188033(0x358)]),this['_univerInstanceService'][_0x188033(0x3ca)](o[_0x188033(0x261)][_0x188033(0x44b)]))[_0x188033(0x1d5)](V[_0x188033(0x259)](_0x2c9de0=>_0x2c9de0[_0x188033(0x33a)]()),V[_0x188033(0x251)](_0x3a9b4f=>!o['isInternalEditorID'](_0x3a9b4f)),V[_0x188033(0x236)](this['dispose$']))[_0x188033(0x3c5)](_0x2ce4a5=>{_0x226853(_0x2ce4a5);});}[_0x859cf8(0x299)](){var _0x11fb38=_0x859cf8;const _0x444b74=async _0x348525=>{var _0x513a28=_0x532c;const _0x2b8f92=await this[_0x513a28(0x26d)][_0x513a28(0x20a)](_0x348525),_0x10b5d2=this['_injector'][_0x513a28(0x271)](Q[_0x513a28(0x21b)]);_0x2b8f92[_0x513a28(0x21d)]['pipe'](V[_0x513a28(0x251)](_0x153914=>_0x153914[_0x513a28(0x2fe)]===E[_0x513a28(0x41d)]['UPDATE_PERMISSION_OBJ']),V[_0x513a28(0x236)](this[_0x513a28(0x283)]))['subscribe'](_0x3c1ead=>{var _0x1ee347=_0x513a28;const _0xa4cebc=_0x3c1ead,{objectId:_0x1318b3}=_0xa4cebc[_0x1ee347(0x1cf)];_0x1318b3===_0x348525?_0x10b5d2[_0x1ee347(0x34a)](_0x348525):_0x10b5d2[_0x1ee347(0xfa)](_0x348525,_0x1318b3);});};j[_0x11fb38(0x21e)](this['_univerInstanceService'][_0x11fb38(0x3ca)](o['UniverInstanceType'][_0x11fb38(0x358)]))[_0x11fb38(0x1d5)](V[_0x11fb38(0x259)](_0x2a6399=>_0x2a6399[_0x11fb38(0x33a)]()),V[_0x11fb38(0x251)](_0x2a6ef7=>!o[_0x11fb38(0xca)](_0x2a6ef7)),V['takeUntil'](this[_0x11fb38(0x283)]))[_0x11fb38(0x3c5)](_0x28b141=>{_0x444b74(_0x28b141);});}};ye=dn([le(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),le(0x1,o[_0x859cf8(0x2ab)]),le(0x2,o[_0x859cf8(0x160)]),le(0x3,o[_0x859cf8(0x416)](exports[_0x859cf8(0x1b1)])),le(0x4,o[_0x859cf8(0x416)](ee))],ye);var Sn=Object[_0x859cf8(0x1e0)],In=(_0x42367a,_0x53ebfb,_0x2b3e60,_0x5906b7)=>{for(var _0xd1c516=_0x5906b7>0x1?void 0x0:_0x5906b7?Sn(_0x53ebfb,_0x2b3e60):_0x53ebfb,_0x2263b3=_0x42367a['length']-0x1,_0x565407;_0x2263b3>=0x0;_0x2263b3--)(_0x565407=_0x42367a[_0x2263b3])&&(_0xd1c516=_0x565407(_0xd1c516)||_0xd1c516);return _0xd1c516;},ot=(_0x2f1dfd,_0x2ff65a)=>(_0x409dfe,_0x3edbc1)=>_0x2ff65a(_0x409dfe,_0x3edbc1,_0x2f1dfd);exports[_0x859cf8(0x102)]=class{constructor(_0x35f928,_0x3a69d5){var _0x26be85=_0x859cf8;this[_0x26be85(0x156)]=_0x35f928,this['_httpService']=_0x3a69d5;}async[_0x859cf8(0x1c3)](_0x1d163c,_0x13b46e){var _0x13131f=_0x859cf8,_0x1263f4;const {unitID:_0x277ecd,type:_0x48f31f,revision:_0x3bcd0c=0x0}=_0x13b46e,_0x16aac4=this[_0x13131f(0xd2)]()+'/'+_0x48f31f+_0x13131f(0xd7)+_0x277ecd+_0x13131f(0x3c4)+_0x3bcd0c,_0x53abd1=(await this[_0x13131f(0x25c)]['get'](_0x16aac4))[_0x13131f(0x3b4)],_0x570a29=(_0x1263f4=_0x53abd1['snapshot'])==null?void 0x0:_0x1263f4[_0x13131f(0x3bc)];if(_0x570a29){const _0xe9843f=_0x570a29==null?void 0x0:_0x570a29[_0x13131f(0x25a)],_0x443982=E['textEncoder'][_0x13131f(0x1fb)](E['b64DecodeUnicode'](_0xe9843f));_0x570a29[_0x13131f(0x25a)]=_0x443982,Object[_0x13131f(0x362)](_0x570a29[_0x13131f(0x1c5)])[_0x13131f(0x16a)](([,_0x3f64c1])=>{var _0x48cc3b=_0x13131f;const _0x2d220c=_0x3f64c1[_0x48cc3b(0x25a)],_0x1004e7=E[_0x48cc3b(0x11c)][_0x48cc3b(0x1fb)](E[_0x48cc3b(0x321)](_0x2d220c));_0x3f64c1['originalMeta']=_0x1004e7;});}return _0x53abd1;}async[_0x859cf8(0x1f6)](_0x119d16,_0x5d629a){var _0x28e193=_0x859cf8;const {unitID:_0x4b3037,type:_0x31d80e,blockID:_0x34cdd8}=_0x5d629a,_0x3c43bc=this[_0x28e193(0x395)]()+'/'+_0x31d80e+'/unit/'+_0x4b3037+_0x28e193(0x17b)+_0x34cdd8;return(await this[_0x28e193(0x25c)]['get'](_0x3c43bc))[_0x28e193(0x3b4)];}async[_0x859cf8(0x43e)](_0x320cf6,_0x426732){var _0x3a220f=_0x859cf8;const {unitID:_0x29b763,type:_0x971b12,blockID:_0x3e6fc1}=_0x426732,_0x4a2362=this['_getAPIPrefix']()+_0x3a220f(0x17b)+_0x971b12+'/unit/'+_0x29b763+_0x3a220f(0x17b)+_0x3e6fc1;return(await this[_0x3a220f(0x25c)][_0x3a220f(0x271)](_0x4a2362))[_0x3a220f(0x3b4)];}async[_0x859cf8(0x2be)](_0x10a73d,_0x4eed1a){var _0x394120=_0x859cf8;const {unitID:_0xeeea8c,type:_0x301fa6,from:_0x23bfe7,to:_0x8842d0}=_0x4eed1a,_0x21b16d=this['_getAPIPrefix']()+'/'+_0x301fa6+_0x394120(0xd7)+_0xeeea8c+_0x394120(0x24d)+_0x23bfe7+_0x394120(0x3d6)+_0x8842d0;return(await this[_0x394120(0x25c)][_0x394120(0x271)](_0x21b16d))[_0x394120(0x3b4)];}[_0x859cf8(0xd2)](){var _0x53a04e=_0x859cf8,_0x11e595;return(_0x11e595=this[_0x53a04e(0x156)][_0x53a04e(0x40b)](Ut))!=null?_0x11e595:this['_getAPIPrefix']();}[_0x859cf8(0x395)](){var _0x32e173=_0x859cf8,_0xbabba3;const _0x5ccf92=this[_0x32e173(0x156)][_0x32e173(0x40b)](Y);return(_0xbabba3=_0x5ccf92==null?void 0x0:_0x5ccf92[_0x32e173(0x163)])!=null?_0xbabba3:yt;}async[_0x859cf8(0xd3)](_0x3c5f41,_0x4e1294){var _0x13ea76=_0x859cf8;const _0x477988=_0x13ea76(0x311)+_0x4e1294[_0x13ea76(0x41e)]+_0x13ea76(0xd7)+_0x4e1294['unitID']+_0x13ea76(0x39e);return(await this[_0x13ea76(0x25c)][_0x13ea76(0x271)](_0x477988,{'params':{'resourceId':JSON[_0x13ea76(0x37c)](_0x4e1294[_0x13ea76(0x384)])}}))['body'];}[_0x859cf8(0x27e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x59ba3=_0x859cf8;throw new Error(_0x59ba3(0x15f));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x859cf8(0x29b)](){var _0x246d8e=_0x859cf8;throw new Error(_0x246d8e(0x15f));}['copyFileMeta'](){var _0xa75107=_0x859cf8;throw new Error(_0xa75107(0x15f));}['getLatestCsReqIdBySid'](){var _0x43989f=_0x859cf8;throw new Error(_0x43989f(0x15f));}},exports[_0x859cf8(0x102)]=In([ot(0x0,o[_0x859cf8(0x1bc)]),ot(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)]))],exports[_0x859cf8(0x102)]);var fn=Object[_0x859cf8(0x1e0)],En=(_0x5aec98,_0x1ad7a7,_0x237b28,_0x591f34)=>{for(var _0x41e08a=_0x591f34>0x1?void 0x0:_0x591f34?fn(_0x1ad7a7,_0x237b28):_0x1ad7a7,_0x3a0e93=_0x5aec98['length']-0x1,_0x1bffcc;_0x3a0e93>=0x0;_0x3a0e93--)(_0x1bffcc=_0x5aec98[_0x3a0e93])&&(_0x41e08a=_0x1bffcc(_0x41e08a)||_0x41e08a);return _0x41e08a;},ue=(_0x4c2530,_0x58c70e)=>(_0x7aab1e,_0x4bc844)=>_0x58c70e(_0x7aab1e,_0x4bc844,_0x4c2530);exports[_0x859cf8(0x340)]=class extends o[_0x859cf8(0x3b9)]{constructor(_0x4a5173,_0x51d312,_0x3c9903,_0x5bef6d,_0x124ac0){var _0x2d94a1=_0x859cf8;super(_0x4a5173,_0x51d312,_0x3c9903),this[_0x2d94a1(0x22f)]=_0x5bef6d,this['_logService']=_0x124ac0;}[_0x859cf8(0x122)](_0x58d957,_0x57be3b){var _0x1eed7a=_0x859cf8;const _0x39b52c=this['_getUndoStack'](_0x58d957);if(_0x39b52c)try{const _0x267f80=this[_0x1eed7a(0x313)](_0x39b52c,_0x57be3b);this[_0x1eed7a(0xdc)](_0x58d957,_0x267f80);}catch(_0x547f60){this[_0x1eed7a(0x142)][_0x1eed7a(0x119)](_0x1eed7a(0x265),_0x547f60),this[_0x1eed7a(0x113)](_0x58d957);}const _0x13cc81=this[_0x1eed7a(0x139)](_0x58d957);if(_0x13cc81)try{const _0x468342=this[_0x1eed7a(0x313)](_0x13cc81,_0x57be3b);this[_0x1eed7a(0x430)](_0x58d957,_0x468342);}catch(_0x568981){this[_0x1eed7a(0x142)][_0x1eed7a(0x119)](_0x568981),this[_0x1eed7a(0x316)](_0x58d957);}}[_0x859cf8(0x113)](_0x1eecf0){var _0x290544=_0x859cf8;const _0x450e1d=this['_getUndoStack'](_0x1eecf0);_0x450e1d&&(_0x450e1d[_0x290544(0x44f)]=0x0,this[_0x290544(0x38c)]());}[_0x859cf8(0x316)](_0x1ae881){var _0x1ec561=_0x859cf8;const _0x18bd0a=this['_getRedoStack'](_0x1ae881);_0x18bd0a&&(_0x18bd0a[_0x1ec561(0x44f)]=0x0,this[_0x1ec561(0x38c)]());}[_0x859cf8(0xdc)](_0x55a743,_0x53d6c7){var _0x59f9e3=_0x859cf8;this[_0x59f9e3(0x124)][_0x59f9e3(0x14f)](_0x55a743,_0x53d6c7),this[_0x59f9e3(0x38c)]();}[_0x859cf8(0x430)](_0x49a222,_0x4a92a0){var _0x3d3069=_0x859cf8;this['_redoStacks'][_0x3d3069(0x14f)](_0x49a222,_0x4a92a0),this[_0x3d3069(0x38c)]();}['_transformStack'](_0x356547,_0x4e43c8){var _0x18be95=_0x859cf8;const _0x59f9b1=[];let _0x13a343=_0x4e43c8,_0x1e5289=_0x4e43c8;for(let _0x5c083b=_0x356547[_0x18be95(0x44f)]-0x1;_0x5c083b>=0x0;_0x5c083b--){const {unitID:_0x1cfddf,undoMutations:_0x197040,redoMutations:_0x51b61e}=_0x356547[_0x5c083b],_0xe4f496=this[_0x18be95(0x22f)][_0x18be95(0x3c9)](_0x13a343,_0x197040),_0x50dd02=this['_transformService'][_0x18be95(0x3c9)](_0x1e5289,_0x51b61e);if(E['isTransformMutationsWithChangesetFailure'](_0xe4f496)||E[_0x18be95(0x32a)](_0x50dd02)){this[_0x18be95(0x142)][_0x18be95(0x119)](_0x18be95(0x265),_0x18be95(0x180),_0xe4f496,_0x50dd02);break;}_0x13a343=_0xe4f496[_0x18be95(0x258)],_0x1e5289=_0x50dd02[_0x18be95(0x258)],_0x59f9b1[_0x18be95(0x3f4)]({'unitID':_0x1cfddf,'undoMutations':_0xe4f496[_0x18be95(0x22d)],'redoMutations':_0x50dd02[_0x18be95(0x22d)]});}return _0x59f9b1['reverse']();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o['IUniverInstanceService']),ue(0x1,o['ICommandService']),ue(0x2,o[_0x859cf8(0x399)]),ue(0x3,E[_0x859cf8(0x306)]),ue(0x4,o[_0x859cf8(0x12c)])],exports['CollaborativeUndoRedoService']);var pn=Object['defineProperty'],mn=Object['getOwnPropertyDescriptor'],gn=(_0x50ccfd,_0x14c15b,_0x77a5e9)=>_0x14c15b in _0x50ccfd?pn(_0x50ccfd,_0x14c15b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77a5e9}):_0x50ccfd[_0x14c15b]=_0x77a5e9,Tn=(_0x413b28,_0x3d5b18,_0x2cb56c,_0x229983)=>{var _0x2957e1=_0x859cf8;for(var _0x75471f=_0x229983>0x1?void 0x0:_0x229983?mn(_0x3d5b18,_0x2cb56c):_0x3d5b18,_0x3d5fa6=_0x413b28[_0x2957e1(0x44f)]-0x1,_0x46776d;_0x3d5fa6>=0x0;_0x3d5fa6--)(_0x46776d=_0x413b28[_0x3d5fa6])&&(_0x75471f=_0x46776d(_0x75471f)||_0x75471f);return _0x75471f;},we=(_0x1aa7fd,_0x5dff6b)=>(_0x2562af,_0x348104)=>_0x5dff6b(_0x2562af,_0x348104,_0x1aa7fd),Cn=(_0x10a6c7,_0x5be866,_0x578981)=>gn(_0x10a6c7,_0x5be866+'',_0x578981);const On='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x859cf8(0x1ad)]=class extends o[_0x859cf8(0x1a7)]{constructor(_0x51a354,_0x2bc410,_0x5a0c76,_0x521e94){var _0x51381d=_0x859cf8;super(),A(this,_0x51381d(0x34e)),(this['_logService']=_0x2bc410,this['_injector']=_0x5a0c76,this[_0x51381d(0x156)]=_0x521e94);const {..._0x26747d}=o[_0x51381d(0x21e)]({},Qt,_0x51a354);if(!_0x26747d[_0x51381d(0xf3)])throw new Error(_0x51381d(0xd0));this[_0x51381d(0x34e)]=_0x26747d,this[_0x51381d(0x156)][_0x51381d(0x17a)](Y,_0x26747d);}[_0x859cf8(0x376)](){var _0x253379=_0x859cf8;this[_0x253379(0x355)](),this[_0x253379(0x32e)]();}[_0x859cf8(0x355)](){var _0x22e5a0=_0x859cf8,_0x3daee1,_0x39520f;this[_0x22e5a0(0x1af)][_0x22e5a0(0x44a)](o[_0x22e5a0(0x1f3)])&&this[_0x22e5a0(0x142)]['error'](_0x22e5a0(0x105),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x329e65=o['mergeOverrideWithDependencies']([[o[_0x22e5a0(0x1f3)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x22e5a0(0x1b1)]],[exports[_0x22e5a0(0x253)]],[exports[_0x22e5a0(0x30e)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x22e5a0(0x132)]],[Fe,{'useClass':this[_0x22e5a0(0x34e)][_0x22e5a0(0xf3)]}],[E[_0x22e5a0(0x1d0)],{'useClass':exports['SnapshotServerOverHTTPService']}],[o[_0x22e5a0(0x11b)],{'useClass':exports[_0x22e5a0(0x2ce)]}],[z[_0x22e5a0(0x3eb)],{'useClass':exports[_0x22e5a0(0x349)]}],[o[_0x22e5a0(0x3f0)],{'useClass':exports[_0x22e5a0(0x20b)]}],[exports[_0x22e5a0(0x2dc)]],[xe]],(_0x3daee1=this[_0x22e5a0(0x34e)])==null?void 0x0:_0x3daee1[_0x22e5a0(0x3a0)]);if(!((_0x39520f=this[_0x22e5a0(0x34e)])!=null&&_0x39520f[_0x22e5a0(0x289)])){const _0x136d29=_0x329e65[_0x22e5a0(0x2ec)](([_0x4bb0ef])=>_0x4bb0ef===ve);_0x136d29!==-0x1&&_0x329e65['splice'](_0x136d29,0x1);}o['registerDependencies'](this[_0x22e5a0(0x1af)],_0x329e65);}[_0x859cf8(0x32e)](){var _0x34c1e4=_0x859cf8,_0x4bb49c,_0x180d34,_0x3498cf;this[_0x34c1e4(0x1af)][_0x34c1e4(0x271)](K[_0x34c1e4(0xed)])[_0x34c1e4(0xd8)]({'priority':0x14,'interceptor':K[_0x34c1e4(0x21a)]({'maxParallel':0x6})}),(_0x4bb49c=this['_config'])!=null&&_0x4bb49c['enableOfflineEditing']||(_0x180d34=this['_injector'][_0x34c1e4(0x271)](q,o['Quantity'][_0x34c1e4(0x3a9)]))==null||_0x180d34[_0x34c1e4(0x36d)](),(_0x3498cf=this['_config'])!=null&&_0x3498cf[_0x34c1e4(0x3b2)]&&o[_0x34c1e4(0x43b)](this['_injector'],[[Ne]]),o[_0x34c1e4(0x43b)](this[_0x34c1e4(0x1af)],[[De],[exports[_0x34c1e4(0x2dc)]],[ye]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x859cf8(0x282),On),exports[_0x859cf8(0x1ad)]=Tn([o[_0x859cf8(0x372)](E['UniverCollaborationPlugin'],K[_0x859cf8(0x40d)]),we(0x1,o['ILogService']),we(0x2,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),we(0x3,o[_0x859cf8(0x1bc)])],exports[_0x859cf8(0x1ad)]),exports[_0x859cf8(0x2ea)]=Y,exports['CollaborationStatus']=je,exports[_0x859cf8(0x256)]=J,exports['CollaborationUIEventService']=ee,exports[_0x859cf8(0x32c)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x859cf8(0x3f2)]=Bt,exports['DEFAULT_WS_SESSION_TICKET_URL']=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x859cf8(0x38e)]=Fe,exports[_0x859cf8(0x2a1)]=q,exports['INetworkConditionService']=pt,exports[_0x859cf8(0x246)]=ve,exports[_0x859cf8(0x300)]=kt,exports[_0x859cf8(0x2c4)]=xt,exports[_0x859cf8(0x138)]=jt,exports[_0x859cf8(0x3cd)]=ut,exports[_0x859cf8(0x445)]=se,exports[_0x859cf8(0x13a)]=He,exports[_0x859cf8(0x1d1)]=mt,exports[_0x859cf8(0x424)]=zt,exports['serializeCombRequest']=gt;