@univerjs-pro/collaboration-client 0.12.4-experimental.20251210-29c379a → 0.12.4-insiders.20251211-c28f914

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 _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;
1
+ 'use strict';var _0x346389=_0x2174;(function(_0x1bc459,_0x332700){var _0x3e37f1=_0x2174,_0x4635e2=_0x1bc459();while(!![]){try{var _0x25a8c6=parseInt(_0x3e37f1(0x3f4))/0x1+-parseInt(_0x3e37f1(0x3a9))/0x2+parseInt(_0x3e37f1(0x3d8))/0x3*(parseInt(_0x3e37f1(0x1a9))/0x4)+-parseInt(_0x3e37f1(0x161))/0x5+parseInt(_0x3e37f1(0xff))/0x6+-parseInt(_0x3e37f1(0x218))/0x7*(-parseInt(_0x3e37f1(0xc2))/0x8)+-parseInt(_0x3e37f1(0xf9))/0x9;if(_0x25a8c6===_0x332700)break;else _0x4635e2['push'](_0x4635e2['shift']());}catch(_0x39fc22){_0x4635e2['push'](_0x4635e2['shift']());}}}(_0x3788,0x5d98d));var bt=Object[_0x346389(0x2a2)],Rt=(_0x4393b5,_0x320ccc,_0xd34cf)=>_0x320ccc in _0x4393b5?bt(_0x4393b5,_0x320ccc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd34cf}):_0x4393b5[_0x320ccc]=_0xd34cf,A=(_0x5a0742,_0x517601,_0x51e102)=>Rt(_0x5a0742,typeof _0x517601!=_0x346389(0x2a4)?_0x517601+'':_0x517601,_0x51e102);Object[_0x346389(0x2a2)](exports,Symbol['toStringTag'],{'value':_0x346389(0x232)});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=_0x346389(0x24f),Ut='SNAPSHOT_URL_KEY',At=0x7d0,_t='ws://127.0.0.1:8000/universer-api/comb/connect',Pt=_0x346389(0x369),ht=_0x346389(0x1c3),Lt=0x7530,ke=_0x346389(0x417),lt=0x4e20,Mt=0x4e20,ut=_0x346389(0x1e0),wt=0x3,xt=_0x346389(0x27b),kt=0x3e8,$t=_0x346389(0x255),Ht=_0x346389(0x114),jt=_0x346389(0x16b),Bt='/universer-api/uniscript';var vt=(_0x12aa15=>(_0x12aa15[_0x12aa15['UNDEFINED']=0x0]='UNDEFINED',_0x12aa15[_0x12aa15['OK']=0x1]='OK',_0x12aa15[_0x12aa15[_0x346389(0x204)]=0x2]='INTERNAL_ERROR',_0x12aa15[_0x12aa15['PERMISSION_DENIED']=0x3]=_0x346389(0x2bc),_0x12aa15[_0x12aa15[_0x346389(0xe2)]=0x4]='NOT_FOUND',_0x12aa15[_0x12aa15[_0x346389(0x1f6)]=0x5]='UNAUTHENTICATED',_0x12aa15[_0x12aa15['ALREADY_EXISTS']=0x6]=_0x346389(0x2a0),_0x12aa15[_0x12aa15[_0x346389(0x35d)]=0x7]=_0x346389(0x35d),_0x12aa15[_0x12aa15['TOO_MANY_REQUESTS']=0x8]=_0x346389(0x1c4),_0x12aa15[_0x12aa15[_0x346389(0x2e7)]=0x9]=_0x346389(0x2e7),_0x12aa15[_0x12aa15[_0x346389(0x398)]=0xa]=_0x346389(0x398),_0x12aa15[_0x12aa15['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x346389(0x3b6),_0x12aa15[_0x12aa15[_0x346389(0x1f1)]=0xc]=_0x346389(0x1f1),_0x12aa15[_0x12aa15[_0x346389(0x250)]=0xd]=_0x346389(0x250),_0x12aa15[_0x12aa15['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x346389(0x130),_0x12aa15[_0x12aa15[_0x346389(0x3b2)]=0xf]=_0x346389(0x3b2),_0x12aa15[_0x12aa15[_0x346389(0x1a7)]=0x10]=_0x346389(0x1a7),_0x12aa15[_0x12aa15[_0x346389(0x18a)]=0x64]=_0x346389(0x18a),_0x12aa15[_0x12aa15[_0x346389(0x349)]=0x65]=_0x346389(0x349),_0x12aa15[_0x12aa15[_0x346389(0xca)]=0xc9]=_0x346389(0xca),_0x12aa15[_0x12aa15[_0x346389(0x1f0)]=0xca]=_0x346389(0x1f0),_0x12aa15[_0x12aa15[_0x346389(0x156)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x12aa15[_0x12aa15[_0x346389(0x2f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x12aa15[_0x12aa15[_0x346389(0x391)]=0x1772]=_0x346389(0x391),_0x12aa15[_0x12aa15[_0x346389(0x21b)]=0x1773]=_0x346389(0x21b),_0x12aa15[_0x12aa15['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x12aa15[_0x12aa15[_0x346389(0x29f)]=0x1b5a]=_0x346389(0x29f),_0x12aa15[_0x12aa15[_0x346389(0x36a)]=0x1b5b]=_0x346389(0x36a),_0x12aa15[_0x12aa15[_0x346389(0xd3)]=0x1b5c]=_0x346389(0xd3),_0x12aa15[_0x12aa15[_0x346389(0x390)]=0x1b5d]='APPLY_DUPLICATED',_0x12aa15[_0x12aa15['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x346389(0x284),_0x12aa15[_0x12aa15[_0x346389(0xc3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x15c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x24e)]=0x232b]=_0x346389(0x24e),_0x12aa15[_0x12aa15[_0x346389(0x3fd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x2de)]=0x232d]=_0x346389(0x2de),_0x12aa15[_0x12aa15['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x346389(0x2fa),_0x12aa15[_0x12aa15[_0x346389(0x418)]=0x2712]=_0x346389(0x418),_0x12aa15[_0x12aa15[_0x346389(0x365)]=0x2713]=_0x346389(0x365),_0x12aa15[_0x12aa15[_0x346389(0x10f)]=0x2714]=_0x346389(0x10f),_0x12aa15[_0x12aa15[_0x346389(0xcc)]=0x271a]=_0x346389(0xcc),_0x12aa15[_0x12aa15[_0x346389(0x11c)]=0x271b]=_0x346389(0x11c),_0x12aa15[_0x12aa15['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x346389(0x2e0),_0x12aa15[_0x12aa15['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x346389(0x23c),_0x12aa15[_0x12aa15[_0x346389(0x335)]=0x271e]=_0x346389(0x335),_0x12aa15[_0x12aa15[_0x346389(0x410)]=0x271f]=_0x346389(0x410),_0x12aa15[_0x12aa15[_0x346389(0xc0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x12aa15[_0x12aa15['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x346389(0x259),_0x12aa15[_0x12aa15['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x346389(0xe4),_0x12aa15[_0x12aa15['INVALID_INVITE_CODE']=0x2ee2]=_0x346389(0x413),_0x12aa15[_0x12aa15[_0x346389(0x28b)]=0x2ee3]=_0x346389(0x28b),_0x12aa15[_0x12aa15[_0x346389(0x31b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x12aa15[_0x12aa15[_0x346389(0x2e5)]=0x2ee5]=_0x346389(0x2e5),_0x12aa15[_0x12aa15[_0x346389(0x154)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0xea)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0x1fe)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0x394)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x12aa15[_0x12aa15[_0x346389(0x423)]=0x36b2]=_0x346389(0x423),_0x12aa15[_0x12aa15['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x346389(0x32d),_0x12aa15[_0x12aa15[_0x346389(0x188)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x12aa15[_0x12aa15['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x346389(0x3ad),_0x12aa15[_0x12aa15[_0x346389(0x2d6)]=0x36b6]=_0x346389(0x2d6),_0x12aa15[_0x12aa15[_0x346389(0x111)]=0x36b7]=_0x346389(0x111),_0x12aa15[_0x12aa15[_0x346389(0x1f8)]=0x36b8]=_0x346389(0x1f8),_0x12aa15[_0x12aa15[_0x346389(0x116)]=0x3715]=_0x346389(0x116),_0x12aa15[_0x12aa15[_0x346389(0x11d)]=0x3716]=_0x346389(0x11d),_0x12aa15[_0x12aa15[_0x346389(0x374)]=0x3717]=_0x346389(0x374),_0x12aa15[_0x12aa15['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x346389(0x20b),_0x12aa15[_0x12aa15[_0x346389(0x2b1)]=0x3a99]=_0x346389(0x2b1),_0x12aa15[_0x12aa15['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x346389(0x208),_0x12aa15[_0x12aa15[_0x346389(0x3a6)]=0x3a9b]=_0x346389(0x3a6),_0x12aa15[_0x12aa15[_0x346389(0x333)]=0x3a9c]=_0x346389(0x333),_0x12aa15[_0x12aa15[_0x346389(0x185)]=0x3a9d]=_0x346389(0x185),_0x12aa15[_0x12aa15[_0x346389(0x285)]=0x3a9e]=_0x346389(0x285),_0x12aa15[_0x12aa15[_0x346389(0x378)]=0x3a9f]=_0x346389(0x378),_0x12aa15[_0x12aa15[_0x346389(0x1e1)]=0x3e81]=_0x346389(0x1e1),_0x12aa15[_0x12aa15[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x12aa15))(vt||{}),X=(_0x1526ad=>(_0x1526ad[_0x1526ad['UNIVER_UNKNOWN']=0x0]=_0x346389(0x18b),_0x1526ad[_0x1526ad[_0x346389(0xf3)]=0x1]='UNIVER_DOC',_0x1526ad[_0x1526ad['UNIVER_SHEET']=0x2]=_0x346389(0x30c),_0x1526ad[_0x1526ad['UNIVER_SLIDE']=0x3]=_0x346389(0x36b),_0x1526ad[_0x1526ad[_0x346389(0x351)]=0x4]='UNIVER_PROJECT',_0x1526ad[_0x1526ad[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x1526ad))(X||{}),W=(_0x49f179=>(_0x49f179[_0x49f179[_0x346389(0x182)]=0x0]=_0x346389(0x182),_0x49f179[_0x49f179[_0x346389(0x429)]=0x1]='HELLO',_0x49f179[_0x49f179[_0x346389(0x2d2)]=0x2]=_0x346389(0x2d2),_0x49f179[_0x49f179['LEAVE']=0x3]='LEAVE',_0x49f179[_0x49f179[_0x346389(0x209)]=0x4]='INGEST',_0x49f179[_0x49f179[_0x346389(0x16a)]=0x5]=_0x346389(0x16a),_0x49f179[_0x49f179[_0x346389(0x31e)]=0x6]=_0x346389(0x31e),_0x49f179[_0x49f179[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x49f179))(W||{}),re=(_0x34db12=>(_0x34db12[_0x34db12[_0x346389(0x32b)]=0x0]=_0x346389(0x32b),_0x34db12[_0x34db12['OK']=0x1]='OK',_0x34db12[_0x34db12[_0x346389(0x2f4)]=0x2]=_0x346389(0x2f4),_0x34db12[_0x34db12[_0x346389(0x3de)]=0x3e9]='JOIN_ROOM_FULL',_0x34db12[_0x34db12[_0x346389(0xef)]=0x3ea]=_0x346389(0xef),_0x34db12[_0x34db12[_0x346389(0x150)]=0x3eb]=_0x346389(0x150),_0x34db12[_0x34db12[_0x346389(0x173)]=0x3ec]=_0x346389(0x173),_0x34db12[_0x34db12[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x34db12))(re||{}),dt=(_0x4c1f29=>(_0x4c1f29[_0x4c1f29['Undefined']=0x0]=_0x346389(0x3f1),_0x4c1f29[_0x4c1f29[_0x346389(0x1d3)]=0x1]=_0x346389(0x1d3),_0x4c1f29[_0x4c1f29['HttpExport']=0x2]=_0x346389(0x323),_0x4c1f29[_0x4c1f29[_0x346389(0x43e)]=0x3]=_0x346389(0x43e),_0x4c1f29[_0x4c1f29[_0x346389(0x385)]=0x4]=_0x346389(0x385),_0x4c1f29[_0x4c1f29['UserProfileImg']=0x5]='UserProfileImg',_0x4c1f29[_0x4c1f29[_0x346389(0x1d5)]=0x6]=_0x346389(0x1d5),_0x4c1f29[_0x4c1f29[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x4c1f29))(dt||{});const Ft=_0x346389(0x1c8);function Vt(_0x1121f9){var _0x2e792d=_0x346389;return JSON[_0x2e792d(0x3cf)](_0x1121f9)[_0x2e792d(0x260)];}var J=(_0x53b08d=>(_0x53b08d[_0x346389(0x3a8)]='OTHER_CLIENT_EDITING',_0x53b08d['PERMISSION_DENIED']=_0x346389(0x2bc),_0x53b08d[_0x346389(0x3e2)]=_0x346389(0x3e2),_0x53b08d[_0x346389(0x422)]=_0x346389(0x422),_0x53b08d[_0x346389(0x10d)]=_0x346389(0x10d),_0x53b08d[_0x346389(0x1dc)]=_0x346389(0x1dc),_0x53b08d['SOCKET_FAILED']='SOCKET_FAILED',_0x53b08d[_0x346389(0xd0)]=_0x346389(0xd0),_0x53b08d))(J||{});class ee{constructor(){var _0x267bf4=_0x346389;A(this,_0x267bf4(0x1e9),new j[(_0x267bf4(0x1b5))]()),A(this,'event$',this[_0x267bf4(0x1e9)]['asObservable']());}[_0x346389(0xc5)](_0x383bb2){var _0x327462=_0x346389;this['_event$'][_0x327462(0x408)](_0x383bb2);}}class $e{constructor(){var _0x3242af=_0x346389;A(this,'_commentUpdate$',new j[(_0x3242af(0x1b5))]()),A(this,_0x3242af(0x414),this['_commentUpdate$'][_0x3242af(0x33e)]());}[_0x346389(0x12c)](_0x338d05){var _0x3d0f07=_0x346389;this['_commentUpdate$'][_0x3d0f07(0x408)](_0x338d05);}}var Wt=Object[_0x346389(0x21c)],Gt=(_0x3ce2c3,_0x3179ab,_0x49737d,_0x2a3d11)=>{for(var _0x4c5b71=_0x2a3d11>0x1?void 0x0:_0x2a3d11?Wt(_0x3179ab,_0x49737d):_0x3179ab,_0x4abdb6=_0x3ce2c3['length']-0x1,_0x5f09ea;_0x4abdb6>=0x0;_0x4abdb6--)(_0x5f09ea=_0x3ce2c3[_0x4abdb6])&&(_0x4c5b71=_0x5f09ea(_0x4c5b71)||_0x4c5b71);return _0x4c5b71;},Ve=(_0x4732eb,_0x4601d5)=>(_0x138ec9,_0x363bf7)=>_0x4601d5(_0x138ec9,_0x363bf7,_0x4732eb);exports[_0x346389(0x129)]=class extends o['Disposable']{constructor(_0x4c5565,_0x216a57){var _0x3d0ddb=_0x346389;super(),A(this,_0x3d0ddb(0x1c0),new Map()),A(this,'_roomCreated$',new j[(_0x3d0ddb(0x1b5))]()),(this[_0x3d0ddb(0x334)]=_0x4c5565,this[_0x3d0ddb(0x264)]=_0x216a57,this[_0x3d0ddb(0x34e)](j[_0x3d0ddb(0x39d)](this['_univerInstanceService'][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0x30c)])[_0x3d0ddb(0x442)](V[_0x3d0ddb(0x41e)](_0xeba175=>_0xeba175['getUnitId']())),this[_0x3d0ddb(0x334)][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0xf3)])['pipe'](V['map'](_0x448e83=>_0x448e83[_0x3d0ddb(0x20c)]())),this[_0x3d0ddb(0x334)][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0x36b)])[_0x3d0ddb(0x442)](V[_0x3d0ddb(0x41e)](_0x52ad35=>_0x52ad35['getUnitId']())))[_0x3d0ddb(0x1f7)](_0x3372ef=>this[_0x3d0ddb(0x1c7)](_0x3372ef))));}['waitForRoom$'](_0x2ad565){var _0x5b6bf8=_0x346389;return this['_roomMembers'][_0x5b6bf8(0x266)](_0x2ad565)?j['of'](this[_0x5b6bf8(0x1c0)][_0x5b6bf8(0x16e)](_0x2ad565)):this[_0x5b6bf8(0xd9)][_0x5b6bf8(0x442)](V[_0x5b6bf8(0x41e)](_0x48b48c=>{var _0x1b4e1b=_0x5b6bf8;if(_0x48b48c===_0x2ad565)return this[_0x1b4e1b(0x1c0)][_0x1b4e1b(0x16e)](_0x48b48c);}));}[_0x346389(0x17f)](_0x999a9){var _0x50c520=_0x346389;this[_0x50c520(0x264)][_0x50c520(0x17f)](_0x999a9);}[_0x346389(0x2b9)](){var _0x11698e=_0x346389;return this[_0x11698e(0x264)][_0x11698e(0x2b9)]();}['updateMember'](_0x499f89,_0x3171b3){var _0x13049d=_0x346389;let _0x23ce37=this['_roomMembers'][_0x13049d(0x16e)](_0x499f89);_0x23ce37||(_0x23ce37=new Yt(),this[_0x13049d(0x1c0)]['set'](_0x499f89,_0x23ce37),this[_0x13049d(0xd9)][_0x13049d(0x408)](_0x499f89)),_0x23ce37[_0x13049d(0x427)](_0x3171b3);}[_0x346389(0x361)](_0x5da041,_0x529823){var _0x369b0e=_0x346389;const _0x205202=this[_0x369b0e(0x1c0)][_0x369b0e(0x16e)](_0x5da041);_0x205202&&_0x205202['removeMember'](_0x529823);}[_0x346389(0x389)](_0x3e37b0){var _0x2fb099=_0x346389;return this['_roomMembers'][_0x2fb099(0x16e)](_0x3e37b0);}[_0x346389(0x225)](_0x27b458,_0x207097){var _0x471f1f=_0x346389;const _0x5a8a58=this[_0x471f1f(0x1c0)][_0x471f1f(0x16e)](_0x27b458);if(_0x5a8a58)return _0x5a8a58[_0x471f1f(0x225)](_0x207097);}[_0x346389(0x1c7)](_0x109863){var _0x4624ce=_0x346389;const _0x4b7c5b=this[_0x4624ce(0x1c0)][_0x4624ce(0x16e)](_0x109863);_0x4b7c5b&&(_0x4b7c5b[_0x4624ce(0x246)](),this[_0x4624ce(0x1c0)]['delete'](_0x109863));}[_0x346389(0x246)](){var _0x3d8173=_0x346389;this[_0x3d8173(0x1c0)][_0x3d8173(0x2b3)](_0x91c906=>_0x91c906['dispose']()),this[_0x3d8173(0x1c0)][_0x3d8173(0x201)](),this[_0x3d8173(0xd9)][_0x3d8173(0x339)]();}},exports['MemberService']=Gt([Ve(0x0,o[_0x346389(0x1c6)]),Ve(0x1,o[_0x346389(0x33c)](o[_0x346389(0x43f)]))],exports[_0x346389(0x129)]);class Yt extends o[_0x346389(0x18e)]{constructor(){var _0x1ddbf8=_0x346389;super(...arguments),A(this,_0x1ddbf8(0x400),new Map()),A(this,_0x1ddbf8(0x235),new j[(_0x1ddbf8(0xfb))](this['_members'])),A(this,_0x1ddbf8(0x331),this['_members$']['asObservable']());}[_0x346389(0x246)](){var _0x3754eb=_0x346389;this[_0x3754eb(0x400)][_0x3754eb(0x201)]();}[_0x346389(0x427)](_0x13cefc){var _0x378b8d=_0x346389;this['_members'][_0x378b8d(0xfc)](_0x13cefc[_0x378b8d(0x34c)],_0x13cefc),this['_emitMembers']();}[_0x346389(0x361)](_0x385ac5){var _0x5c27df=_0x346389;this[_0x5c27df(0x400)]['delete'](_0x385ac5);}[_0x346389(0x225)](_0x3b3442){var _0x1fdcdc=_0x346389;return this[_0x1fdcdc(0x400)][_0x1fdcdc(0x16e)](_0x3b3442);}['getAllMembers'](){var _0x4a0533=_0x346389;return Array[_0x4a0533(0x26e)](this['_members'][_0x4a0533(0x1b1)]());}[_0x346389(0x387)](){var _0x445032=_0x346389;this[_0x445032(0x235)][_0x445032(0x408)](this[_0x445032(0x400)]);}}var Kt=Object[_0x346389(0x21c)],qt=(_0x2dde55,_0x41249c,_0x512afe,_0x435f91)=>{var _0xc0a1a2=_0x346389;for(var _0x3fcb71=_0x435f91>0x1?void 0x0:_0x435f91?Kt(_0x41249c,_0x512afe):_0x41249c,_0x4b3bd8=_0x2dde55[_0xc0a1a2(0x260)]-0x1,_0x203120;_0x4b3bd8>=0x0;_0x4b3bd8--)(_0x203120=_0x2dde55[_0x4b3bd8])&&(_0x3fcb71=_0x203120(_0x3fcb71)||_0x3fcb71);return _0x3fcb71;},ce=(_0x7cda97,_0x3fcaf5)=>(_0x39ae84,_0x5a8531)=>_0x3fcaf5(_0x39ae84,_0x5a8531,_0x7cda97),se=(_0x255302=>(_0x255302[_0x255302[_0x346389(0x298)]=0x0]='IDLE',_0x255302[_0x255302['JOINING']=0x1]=_0x346389(0x355),_0x255302[_0x255302['OFFLINE']=0x2]=_0x346389(0x38b),_0x255302[_0x255302[_0x346389(0x143)]=0x3]=_0x346389(0x143),_0x255302))(se||{});const We={[re[_0x346389(0x2f4)]]:_0x346389(0x2c3),[re[_0x346389(0x3de)]]:'session.room-full',[re[_0x346389(0xef)]]:_0x346389(0xc1),[re[_0x346389(0x150)]]:_0x346389(0x174),[re[_0x346389(0x173)]]:_0x346389(0x1f5)};exports['CollaborationSession']=class extends o[_0x346389(0x29a)]{constructor(_0x5466c1,_0x22d925,_0x1e5340,_0x45cd1a,_0x72d8c5,_0x1e25af,_0x23d8a4,_0x16d2e4){var _0x171ca3=_0x346389;super(),A(this,_0x171ca3(0x3f6),new j['BehaviorSubject'](0x0)),A(this,_0x171ca3(0x137),this[_0x171ca3(0x3f6)][_0x171ca3(0x33e)]()),A(this,_0x171ca3(0x1e9),new j[(_0x171ca3(0x1b5))]()),A(this,'event$',this[_0x171ca3(0x1e9)][_0x171ca3(0x33e)]()),A(this,_0x171ca3(0x337)),A(this,_0x171ca3(0x2d4)),A(this,_0x171ca3(0x28a)),A(this,_0x171ca3(0x3f3),!0x1),A(this,_0x171ca3(0x164),null),(this[_0x171ca3(0x219)]=_0x5466c1,this[_0x171ca3(0x306)]=_0x1e5340,this[_0x171ca3(0x13b)]=_0x45cd1a,this[_0x171ca3(0x134)]=_0x72d8c5,this[_0x171ca3(0x265)]=_0x1e25af,this[_0x171ca3(0xcd)]=_0x23d8a4,this[_0x171ca3(0x37b)]=_0x16d2e4,this[_0x171ca3(0x3f3)]=!!this[_0x171ca3(0x37b)],_0x22d925[_0x171ca3(0x442)](j[_0x171ca3(0x3bf)](this[_0x171ca3(0x2bb)]))[_0x171ca3(0x1f7)](_0x46993a=>{var _0x3fedbe=_0x171ca3,_0x153be6;typeof _0x46993a>'u'||(this['_socket']=_0x46993a,_0x46993a?(this[_0x3fedbe(0x126)](_0x46993a),this[_0x3fedbe(0x2d4)]=_0x46993a[_0x3fedbe(0x34a)][_0x3fedbe(0x1f7)](_0x21e045=>{var _0x520414=_0x3fedbe;_0x21e045[_0x520414(0x2ea)]===this[_0x520414(0x219)]&&this[_0x520414(0x3c1)](_0x21e045);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3fedbe(0x3f6)]['next'](0x2),(_0x153be6=this[_0x3fedbe(0x2d4)])==null||_0x153be6[_0x3fedbe(0x3f5)](),this[_0x3fedbe(0x2d4)]=null));}));}get[_0x346389(0x397)](){var _0x7f6339=_0x346389;return this[_0x7f6339(0x3f6)][_0x7f6339(0x336)]();}[_0x346389(0x2d7)](){var _0x36ede7=_0x346389,_0x3829bd,_0xee8f11;return(_0xee8f11=(_0x3829bd=this[_0x36ede7(0x337)])==null?void 0x0:_0x3829bd[_0x36ede7(0x34c)])!=null?_0xee8f11:null;}[_0x346389(0x246)](){var _0x402c94=_0x346389;super['dispose'](),this[_0x402c94(0x2bb)]['next'](),this[_0x402c94(0x2bb)][_0x402c94(0x339)]();}[_0x346389(0x197)](){var _0x2a8100=_0x346389,_0x5416bd,_0x2f898c;this[_0x2a8100(0x181)](),(_0x5416bd=this[_0x2a8100(0x337)])==null||_0x5416bd[_0x2a8100(0x36d)]({'cmd':W[_0x2a8100(0x34b)],'data':{'roomID':this[_0x2a8100(0x219)]}}),(_0x2f898c=this[_0x2a8100(0x337)])==null||_0x2f898c[_0x2a8100(0x197)](),this[_0x2a8100(0x1e9)][_0x2a8100(0x339)](),this['_sessionStatus$'][_0x2a8100(0x339)](),this[_0x2a8100(0x246)]();}[_0x346389(0x3c1)](_0x4da30b){var _0x5eedcd=_0x346389;_0x4da30b[_0x5eedcd(0x289)]===W[_0x5eedcd(0x2d2)]?this[_0x5eedcd(0x1ce)](_0x4da30b):_0x4da30b[_0x5eedcd(0x289)]===W['RECV']&&this['_onRecvEvent'](_0x4da30b);}[_0x346389(0x126)](_0xe9a0c6){var _0x3e5c3b=_0x346389;this[_0x3e5c3b(0x3f6)][_0x3e5c3b(0x408)](0x1),_0xe9a0c6[_0x3e5c3b(0x36d)]({'cmd':W[_0x3e5c3b(0x2d2)],'routeKey':this[_0x3e5c3b(0x219)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e5c3b(0x219)]}]}});}['_onJoinRoomEvent'](_0x16fa1a){var _0x1a8bf2=_0x346389,_0x4469bb;if(_0x16fa1a[_0x1a8bf2(0x3df)]in We){this[_0x1a8bf2(0xcd)][_0x1a8bf2(0xc5)]({'id':J[_0x1a8bf2(0x10d)],'data':We[_0x16fa1a[_0x1a8bf2(0x3df)]]}),this['_sessionStatus$'][_0x1a8bf2(0x408)](0x2);return;}this[_0x1a8bf2(0x3f6)]['next'](0x3);const _0x4a2820=(_0x4469bb=_0x16fa1a[_0x1a8bf2(0x2f9)]['roomInfos'][this[_0x1a8bf2(0x219)]])==null?void 0x0:_0x4469bb[_0x1a8bf2(0x332)];_0x4a2820&&_0x4a2820[_0x1a8bf2(0x2b3)](_0x1880a8=>this[_0x1a8bf2(0x134)][_0x1a8bf2(0x427)](this[_0x1a8bf2(0x219)],_0x1880a8));}[_0x346389(0x318)](_0x3a1b24){var _0x550b25=_0x346389;try{const _0x656135=_0x3a1b24[_0x550b25(0x2f9)];switch(_0x656135['eventID']){case E['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x656135),this[_0x550b25(0x1e9)]['next'](_0x656135);break;case E['CollaborationEvent'][_0x550b25(0x22e)]:this['_onUserLeave'](_0x656135),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E['CollaborationEvent']['CHANGESET_ACK']:case E[_0x550b25(0x3e4)][_0x550b25(0x3c0)]:this[_0x550b25(0x36f)](),this[_0x550b25(0x153)](),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E[_0x550b25(0x3e4)][_0x550b25(0xf8)]:this[_0x550b25(0x306)][_0x550b25(0x286)](_0x550b25(0x26f)+JSON[_0x550b25(0x3cf)](_0x656135)),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E[_0x550b25(0x3e4)][_0x550b25(0x30d)]:this['_commentService'][_0x550b25(0x12c)](_0x656135['data']),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;default:this['_event$'][_0x550b25(0x408)](_0x656135);}}catch(_0x180f10){this[_0x550b25(0x306)]['error'](_0x180f10,_0x3a1b24);}}[_0x346389(0x30f)](_0x27973f){var _0x3f16cb=_0x346389;this[_0x3f16cb(0x134)][_0x3f16cb(0x427)](this[_0x3f16cb(0x219)],_0x27973f[_0x3f16cb(0x2f9)]);}[_0x346389(0x35f)](_0x1e85ce){var _0x34e9ec=_0x346389;this[_0x34e9ec(0x134)][_0x34e9ec(0x361)](this[_0x34e9ec(0x219)],_0x1e85ce[_0x34e9ec(0x2f9)][_0x34e9ec(0x34c)]);}async['send'](_0x42d4ea,_0x3e1d42){var _0x3b499a=_0x346389;if(this[_0x3b499a(0x397)]!==0x3||!this[_0x3b499a(0x337)])throw new Error(_0x3b499a(0x30a));try{_0x42d4ea[_0x3b499a(0x107)]===E[_0x3b499a(0x3e4)][_0x3b499a(0x3ba)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x42d4ea)),this[_0x3b499a(0x337)]['send']({'cmd':W['INGEST'],'routeKey':_0x3e1d42,'routeType':'','data':_0x42d4ea});}catch(_0x1653b3){this['_logService']['error'](_0x1653b3);}}[_0x346389(0x1e4)](){var _0x202af0=_0x346389,_0x1ee7ff;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1ed196=_0x2174;this[_0x1ed196(0x28a)]=null,this[_0x1ed196(0xcd)][_0x1ed196(0xc5)]({'id':J[_0x1ed196(0xd0)]});},(_0x1ee7ff=this['_configService'][_0x202af0(0x31c)](ke))!=null?_0x1ee7ff:lt);}[_0x346389(0x153)](){var _0x447c0d=_0x346389;this[_0x447c0d(0x28a)]&&(clearTimeout(this[_0x447c0d(0x28a)]),this[_0x447c0d(0x28a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x37be67){var _0x24c50c=_0x346389;if(!this['_shouldReportTelemetry'])return;const {data:_0x40cef7}=_0x37be67,{unitID:_0x45ab81,changeset:_0x228393}=_0x40cef7,{mutations:_0x56f242,type:_0x498773}=_0x228393;this[_0x24c50c(0x164)]={'unitId':_0x45ab81,'type':_0x498773,'startTime':performance[_0x24c50c(0xbd)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x56f242)};}[_0x346389(0x36f)](){var _0x40f63b=_0x346389;if(this[_0x40f63b(0x3f3)]){if(!this[_0x40f63b(0x164)]){this[_0x40f63b(0x306)][_0x40f63b(0x286)](_0x40f63b(0x2fb),_0x40f63b(0x420));return;}this[_0x40f63b(0x164)][_0x40f63b(0x392)]=performance[_0x40f63b(0xbd)](),this[_0x40f63b(0x164)]['duration']=this[_0x40f63b(0x164)][_0x40f63b(0x392)]-this[_0x40f63b(0x164)][_0x40f63b(0x12f)],this['_telemetryService'][_0x40f63b(0x2f0)](Ft,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x135d18=_0x346389;this[_0x135d18(0x164)]=null;}},exports[_0x346389(0x141)]=qt([ce(0x2,o[_0x346389(0x245)]),ce(0x3,o['IConfigService']),ce(0x4,o[_0x346389(0x33c)](exports['MemberService'])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x346389(0x33c)](ee)),ce(0x7,o['Optional'](Nt['ITelemetryService']))],exports[_0x346389(0x141)]);const q=o['createIdentifier'](_0x346389(0x2c5));function zt(_0x2544a6){var _0x55ba5f=_0x346389;return _0x55ba5f(0x176)+_0x2544a6;}function _0x3788(){var _0x2da70e=['downloadEndpointUrl','UNKNOWN_CODE','reject','ENTITLE_DUP_SUBSCRIPTION','pauseCollaboration','Optional','LIVESHARE_REQUEST_HOST','members$','members','REDEMPTION_CODE_NOT_STARTED','_univerInstanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getValue','_socket','roles','complete','DocCollaborationEntity','_cipher','Inject','image/png','asObservable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','EmptyMutationInfo','_xformMode','_handlerCallback','WorkbookEditablePermission','error$','[DataLoaderService]','find','fetchMissingChangesets','ERROR_AGAIN','message$','LEAVE','memberID','confirm','disposeWithMe','COMPRESS_MUTATION_APPLY','subUnitId','UNIVER_PROJECT','hasOwnProperty','uuidv4','pluginName','JOINING','UNISCRIPT_RUN','getGlobalObject','_transformService','pad','not_collab','take','_iKey','INVALID_ARGUMENT','univer-pro.collaboration-client.network-condition.service','_onUserLeave','SessionStatus','removeMember','_checkMissing','/universer-api/authz','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_RATE_OVER_LIMIT','touchDependencies','_type','StreamCipher','/universer-api/user/session-ticket','APPLY_REVISION_CONFILICT','UNIVER_SLIDE','default','send','Latin1','_stopTelemetryCollaborationNewChangeset','_changesetSessionId','onTransformState','_collaborationPaused','size','ENTITLE_INSUFFICIENT_QUOTA','commentUpdateEvent','substr','_updateState','REDEMPTION_CODE_HAS_BEEN_CREATED','OfflineState','?url=','_telemetryService','Failed\x20to\x20update\x20permission\x20point','UnitStatus','DEFAULT_FILE_NAME','_decreaseWaiting','infoRsp','hasher','requestParams','resolve','?size=','UnitSnapshot','changesets','_emitMembers','AwaitingState','getRoom','putCollaborators','OFFLINE','createCollaborator','isPermissionRej','_clearRetryConnectingTimer','Injector','APPLY_DUPLICATED','SNAPSHOT_HAS_BEEN_REMOVED','stopTime','_getSendChangesetTimeout','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/allowed','actions','sessionStatus','LOGIN_FAILED','onStateChange','_socketReady','_oKey','createSocket','merge','range','DataLoaderService','CollaborationStatus','_getCurrentRevision','_revisionService','_snapshotService','$super','getTime','REDEMPTION_CODE_FULLY_REDEEMED','OPTIONAL','OTHER_CLIENT_EDITING','9718upeSaq','_replayCachedMutations','/object','IConfigService','ENTITLE_INVALID_COUPON_CODE','onlyLocal','Workbook','_sheetTransformSelectionsService','ImageUploadStatusType','AUTHORIZE_CODE_ILLEGAL','createInstance','_socketService','_changesetReqId','MOBILE_VERIFY_CODE_MISMATCH','uploadFileServerUrl','decryptBlock','_onConnectionOpen','SUBMIT_CHANGESET','fetchThroughInterceptors','_transformSelections','_maxTotalRetryTimeout','POST','takeUntil','CHANGESET_SHOULD_RETRY','_onCombEvent','reconnect','toString','conflict','IMentionIOService','method','collaborators','_onRemoteACK','PERMISSION_REJ','delay','_onRemoteRetry','univer-pro.collaboration-client-socket-service','IContextService','onLocalMutation','stringify','textEncoder','PERSON','getWorkbookSelections','_doCryptBlock','/collaborator','_clearTimeoutTimer','saveSheetBlock','HTTPService','15DrEBkB','Base64','_tryReconnect','x-univer-host','LocaleService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_FULL','code','retryConnectingInterval','_append','CONFLICT','IImageIoService','CollaborationEvent','_updateStatus','function','_lockTransition','awaiting','Rectangle','CollaborationUIEventId','transformUndoRedo','setWaitCount','getCurrentRevOfUnit','entityInit$','_retryCount','[PendingState]:\x20received\x20acknowledgement.','Undefined','_transformStateCache','_shouldReportTelemetry','253305AEQAjW','unsubscribe','_sessionStatus$','_createInitialState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','registerDependencies','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','words','LICENSE_EXPORT_SIZE_EXCEEDED','clamp','_listenToNetworkCondition','_members','src','onTransformIME','selections','_initDependencies','_tryEnsureSocket','parseProtocolChangeset','localCacheService','next','then','SyncedState','closeSession','fetch_missing','compute','processBlock','FETCH_MISSING','YUUMI_AI_RUN_FAILED','state$','_keySchedule','INVALID_INVITE_CODE','commentUpdate$','_iv','fromCharCode','HEARTBEAT_TIMEOUT','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','_substituteUndoStack','initWorkbookPermissionChange','&to=','DisposableCollection','map','LIVESHARE_NEW_HOST','telemetry\x20info\x20is\x20not\x20initialized','signUrlServerUrl','CLOSE_ROOM','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','type','_updateLocalCache','_entityInit$','updateMember','_onMessage','HELLO','addImageSourceCache','[SyncedState]:\x20received\x20acknowledgement.','_change$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','toDisposable','clone','_doFinalize','updateOfflineData','originalMeta','SnapshotService','SheetPermissionInitController','appendMutation','ivSize','image/bmp','CollaborationImageIoService','action','reduce','\x0aCurrent:\x20','BASE64','allowed','UnitEmbedded','UserManagerService','unitId','_waitForHeartbeatResponse','pipe','now','sheets','CipherParams','YUUMI_CONNECTOR_URL_NOT_FOUND','session.room-not-exists','10176wHAAuY','LICENSE_MAX_UNITS_EXCEEDED','createDecryptor','emitEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','onRemoteRej','addHandlerCallback','NEW_CHANGESETS','USER_NOT_FOUND','reqId','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','MentionType','state','SUBMIT_CHANGESET_TIMEOUT','csRejEvent','_sendHeartbeatTimer','APPLY_PERMISSION_DENIED','objectType','__esModule','deserializeToCombResponse','INetworkConditionService','origin','_roomCreated$','_startCollaboration','MD5','revision','_minBufferSize','newCsEvent','LIVESHARE_OPERATION','sid','connection\x20error','NOT_FOUND','extend','INVITE_CODE_HAS_BEEN_UES','UniverCollaborationPlugin','charCodeAt','transformSelections','ERROR_IMAGE','transformChangesets','MOBILE_HAS_BEEN_BOUND','_undoStacks','buffer','parse','every','JOIN_ROOM_NOT_EXISTS','unitId\x20is\x20not\x20found','_applyRemoteChangeset','enableAuthServer','UNIVER_DOC','_transitionLocked','/unit/','MentionIoHttpService','onload','MSG_FOR_ERROR','9233226IQxXAV','baseRev','BehaviorSubject','set','formatter','_clearHeartbeatTimer','4407318fTLZlM','put','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getRedoStack','onSyncEditingCollabCursor','_state','_unlockTransition','requireSession','eventID','__creator','AwaitingWithPendingState','CollaborationController','_getUndoStack','_sendingTimer','JOIN_ROOM_FAILED','SUCCUSS','YUUMI_SUBSCRIPTION_NOT_FOUND','_handler','ENTITLE_COUPON_USED_UP','_key','charAt','/universer-api/oidc/authpage','c2Prime','ENTITLE_CHAT_LIMIT_EXCEED','onRemoteRetry','subject','status','result','_process','YUUMI_ASYNCIO_CANCELLED','ENTITLE_REPORT_LIMIT_EXCEED','PasswordBasedCipher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','editing\x20status\x20changed\x20to','_nDataBytes','setConfig','executeCommand','crypto','ICollaborationSocketService','_joinRoom','min','Cipher','MemberService','_transformRemoteChangesetByIMECache','params','onCommentUpdate','USERS_ENTER','_parse','startTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','image/gif','image/jpeg','MergeInterceptorFactory','_memberService','ciphertext','generateRandomId','sessionStatus$','ceil','InsertSheetMutation','_createSocket','_configService','ReplaySubject','_commandService','SOCKET_FAILED','/resources','apply','CollaborationSession','/block/','ONLINE','body','isArray','Univer','file','Plugin','leaveEvent','_undoRedoService','onTransformSelections','interceptor','catch','getLatestCsReqIdBySid','awaitingChangeset','JOIN_ROOM_PERMISSION_DENIED','objectID','fromCollab','_clearCollaborationTimeoutTimer','WECHAT_HAS_BEEN_BOUND','_singleActiveUnitService','CHANGESET_REVISION_CONFILICT','blockSize','_unitInfo$','collaboration-client.config','call','toggleOnline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reset','_transformUndoredo','disableLocalCache','sendChangesetTimeout','998060BQrqEs','ISnapshotServerService','permissionRejEvent','_telemetryInfo','__splitChunk__','CompressMutationService','SYNCED','_clearUndo','joinRsp','HEARTBEAT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/universer-api/stream/file/upload','NO_OTHER_CLIENTS_EDITING','get','_submitChangeset','_onFetchMissResult','string','getUnitType','GLOBAL_ROOMS_CNT_EXCEEDS','session.room-permission-denied','SHOULD_CLOSE_CONN','unit-cache-','_imageSourceCache','_awaitingChangeset','push','_getLoginPath','FileId','unknown','exports','__Key__','setCurrentUser','encode','_throwTelemetryCollaborationNewChangeset','UNKNOWN_CMD','getSheetBlock','IAuthzIoService','REDEMPTION_USER_NOT_ELIGIBLE','shareReplay','UniverInstanceType','PAYMENT_CHANNEL_NOT_SUPPORT','collaMsg','CURRENT_STATUS_CANNOT_OPERATE','UNIVER_UNKNOWN','c1Prime','enableCollaboration','Disposable','execute','_resendTimeout','_getCtorByUniverType','localeService','socket\x20open.','floor','socket\x20close','ISingleActiveUnitService','close','/universer-api/file/{fileID}/sign-url','event$','_retryConnectingTimer','_map','_schedule','loadSheet','UPDATE_CURSOR','collabWebSocketUrl','submit\x20changeset\x20error!','_sendHeartbeat','_executeRemoteChangeset','_resendWithTimeout','decrypt','_networkConditionService','_toggleOffline','LOGIN_TOKEN_PROCESSING_FAILED','SHA1','434576VyFejD','getSnapshotAPIPath','WordArray','ICommandService','sigBytes','_getUploadFileURL','saveImage','url','values','AuthzIoHttpService','image/jpg','UPDATE_PERMISSION_OBJ','Subject','saveSnapshot','delete','toggleOffline','Base','updateCollaborator','HmacMD5','CollaborativeUndoRedoService','HMAC','SetSelectionsOperation','onRemoteAck','_roomMembers','CHANGESET_ACK','LIVESHARE_FETCH_OPERATIONS','HEARTBEAT_INTERVAL','TOO_MANY_REQUESTS','ImageSourceType','IUniverInstanceService','_removeRoom','collaboration_new_changeset','onMutationExecutedForCollab','userID','enableOfflineEditing','_toggleOnline','socket$','_onJoinRoomEvent','_onOffline','_showConflictNotification','\x20-\x20','ConflictState','HttpImport','PendingState','ClipsheetFragments','onSendChangeset','transformMutationsWithChangeset','ITransformService','_status$','getDeserializedSheetBlock','withCredentials','SOCKET_FAILED_RETRY','setShowComponents','authzUrl','includes','RETRY_CONNECTING_MAX_COUNT','DATA_SOURCE_TOO_LARGE','collaboratorID','init','_scheduleCollaborationTimeoutTimer','_sessions','_socket$','_isPermissionRej','[SyncedState]:\x20received\x20rejection.','_event$','CollaborationEntity','_hasher','UNIVER_COLLABORATION_CLIENT_PLUGIN','MUTATION','csAckEvent','readInt32LE','USER_IS_ANONYMOUS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','resourceIDs','concat','session.room-cnt-exceeds','UNAUTHENTICATED','subscribe','ENTITLE_USE_COUPON_NOT_1ST_TRADE','keySize','responseType','_onConflict','_acknowledgedAwaitingChangeset','fetching\x20missing\x20changesets\x20from\x20','EMAIL_HAS_BEEN_BOUND','UUID','_doProcessBlock','clear','OTHER_CLIENTS_EDITING','add','INTERNAL_ERROR','registerHTTPInterceptor','_init','CommandType','REDEMPTION_CODE_INACTIVE','INGEST','_keyPriorReset','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','IUndoRedoService','_invKeySchedule','debug','/object/','deepClone','unitID','_prevBlock','AES','_compressMutationService','getImageSourceCache','_createHelper','455ZPDilY','_unitID','_DEC_XFORM_MODE','ENSURE_SNAPSHOT_EXECUTION','getOwnPropertyDescriptor','_createHandler','UniverNetworkPlugin','_createHmacHelper','msCrypto','loadUnit','editingUnit','[CollaborationUndoRedoService]','batchAllowed','getMember','socketService','_collaborationSessionService','_onConnectionFailed','isTransformMutationsWithChangesetSuccess','objectActions','_localeService','People','onRemoteChangeset','USERS_LEAVE','_hash','&assign=','enc','Module','getUnit','kdf','_members$','replace','loadUnitOfRevision','_getSignURL','href','resend','workbook','YUUMI_ALL_TABLES_IS_INVALID','ILocalCacheService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HEARTBEAT_TIMEOUT_KEY','Pkcs7','avatar','_disableEditing','DependentOn','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ILogService','dispose','update','Hasher','_localCacheService','_collabSessionService','_clearScheduledTask','_onRemoteChangeset','Encryptor','LICENSE_IMPORT_SIZE_EXCEEDED','/universer-api/snapshot','EMAIL_VERIFY_CODE_MISMATCH','awaiting_with_pending','_substituteRedoStack','_ENC_XFORM_MODE','_data','/universer-api/comb','fetchMiss','Hex','_injector','PY_RUNTIME_SCRIPT_ERROR','[UniverCollaborationClientPlugin]','refreshPermission','BufferedBlockAlgorithm','_onLocalMutation','SheetTransformSelectionsService','slice','length','IPermissionService','_scheduleCompleteTimestamp','mapDocumentTypeToUniverType','_userManagerService','_commentService','has','rev','Tools','salt','createEncryptor','_config','LIVESHARE_TERMINATE','onMissingChangesets','from','save\x20fail\x20reason\x20is\x20','_pendingMutations','_rescheduleHeartbeat','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client.single-active-unit-service','onTransformRemoteChangesetByIMECache','saveChangeset','b64DecodeUnicode','SheetsSelectionsService','startsWith','status$','post','LOCAL_CACHE_INTERVAL','session','transformStack\x20failed!','_state$','mode','/universer-api/snapshot/','SheetCollaborationEntity','open$','AWAITING_WITH_PENDING','CONNECTOR_DATA_TOO_LARGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','error','PSEUDO_FETCH_MISSING_RESULT','OpenSSL','cmd','_collaborationTimeoutTimer','INVITE_CODE_REQUIRED','createIdentifier','_httpService','updateSnapshot','_queuedRemoteChangesets','updatePermissionPoint','_sender','LOCAL_CACHE_INTERVAL_KEY','isTransformMutationsWithChangesetFailure','getUnitStatus$','onTransformRemoteChangesetByStateCache','_entities','_exhaustRemoteChangesetQueue','IDLE','updatePermissionObjEvent','RxDisposable','lib','create','format','COMPRESS_MUTATION_SEND','APPLY_NON_SEQUENTIAL_REVISION','ALREADY_EXISTS','NoPadding','defineProperty','loadDoc','symbol','objects','[FetchMissState]','getFocusedUnit','_initUnitPermissionChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','mutations','CommentService','splice','_resendTimer','algo','_replaceFileID','/fetchmissing?from=','REDEMPTION_INVALID_CODE','equals','forEach','prototype','_getAPIPrefix','random','finalize','key','getCurrentUser','_getDownloadEndpointURL','dispose$','PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SerializableCipher','CollaborationSessionService','name','_clearLocalCache','_reverseMap','session.join-failed','FETCH_MISS','collaboration-client.local-cache-service','_fetchMissChangesets','unitInfo$','ERROR_EXCEED_SIZE','getCollabEntity','filter','ISocketService','patch','Utf8','_incrementRevisionNumber','_syncEditingCollabCursor','loadOfflineData','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','collabSubmitChangesetUrl','_socketMessageSubscription','FetchingMissState','ENTITLE_COUPON_EXPIRED','getMemberID','failed\x20to\x20apply\x20missed\x20changesets!','_candidateSocket','\x20to\x20','/rev/','_createInitialStateImpl','_mode','LICENSE_DISTRO_REJECTED','isInternalEditorID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformIMECache','list','_HTTPService','getTypeOfUnitAdded$','INVITE_CODE_ALREADY_BOUND','mixIn','COMPLETION_FINISHED','_redoStacks','liveShareNewHost','routeKey','UNRECOGNIZED','getTypeOfUnitDisposed$','onMissedChangesetFetched','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hostname','capture','pending','SNAPSHOT_INVALID_SNAPSHOT','_onRemoteRejected','FAIL','CHANGESET_REJ','BlockCipher','_doReset','_initRequestHeader','data','YUUMI_UNABLE_LOAD_URL','[CollaborationSession]','repeat','randomBytes','_eventService','UniverCollaborationClientPlugin','RevisionService','sequenceExecute','encryptBlock','/-/object/-/batch_allowed','_instanceService','_timeoutTimer','_logService','_remoteChangesetQueue','listCollaborators','synced','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/role','UNIVER_SHEET','COMMENT_UPDATE','cfg','_onUserJoin','_transformStack','LocalUndoRedoService','_snapshotServerService','offline','padding','getRandomValues','_permissionService','_initMergeInterceptor','_onRecvEvent','byteOffset','EvpKDF','USER_NOT_INVITED_CODE','getConfig','byteLength','RECV','CollaborationUIEventService','compose','iterations','shouldCloseConn','HttpExport','_getAPIPrefixPath','isTransformChangesetsSuccess','_waitCount','join','getInterceptPoints','SnapshotServerOverHTTPService'];_0x3788=function(){return _0x2da70e;};return _0x3788();}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x1f53e7,_0x46dddc,_0x41b0d3,_0x415de0)=>{var _0x1a4ee0=_0x346389;for(var _0x35dd0e=_0x415de0>0x1?void 0x0:_0x415de0?Xt(_0x46dddc,_0x41b0d3):_0x46dddc,_0x46d48d=_0x1f53e7[_0x1a4ee0(0x260)]-0x1,_0x539a2e;_0x46d48d>=0x0;_0x46d48d--)(_0x539a2e=_0x1f53e7[_0x46d48d])&&(_0x35dd0e=_0x539a2e(_0x35dd0e)||_0x35dd0e);return _0x35dd0e;},Ue=(_0x21629f,_0xacc17c)=>(_0x10a9c6,_0x32f6df)=>_0xacc17c(_0x10a9c6,_0x32f6df,_0x21629f);function Zt(_0x36cea0){var _0x5703ae=_0x346389;const {unitID:_0x39bf0b,mutations:_0x130588}=_0x36cea0;return{'unitId':_0x39bf0b,'subUnitId':_0x130588[_0x5703ae(0x260)]>0x0?_0x130588[0x0][_0x5703ae(0x12b)][_0x5703ae(0x350)]:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x396968,_0x53375a,_0x3b85a4){var _0x13efab=_0x346389;this[_0x13efab(0x258)]=_0x396968,this[_0x13efab(0x358)]=_0x53375a,this[_0x13efab(0x304)]=_0x3b85a4;}[_0x346389(0xe7)](_0x23dcb7){var _0x48ce6e=_0x346389,_0x19a746,_0x1fb9f1,_0x31e749,_0x4250d8;const _0x39dd91=this[_0x48ce6e(0x258)][_0x48ce6e(0x16e)](Q[_0x48ce6e(0x277)]),{unitId:_0x4a075c,subUnitId:_0x3a2377}=Zt(_0x23dcb7),_0x368efb=_0x39dd91==null?void 0x0:_0x39dd91[_0x48ce6e(0x3d2)](_0x4a075c)['getCurrentSelections'](),_0x4fe3fa=(_0x1fb9f1=(_0x19a746=this[_0x48ce6e(0x304)][_0x48ce6e(0x233)](_0x4a075c))==null?void 0x0:_0x19a746['getActiveSheet']())==null?void 0x0:_0x1fb9f1['getSheetId']();if(_0x368efb[_0x48ce6e(0x260)]===0x0||!_0x4a075c||!_0x3a2377)return;const _0x326c0e=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x4a075c,'subUnitId':_0x4fe3fa,'selections':o[_0x48ce6e(0x268)][_0x48ce6e(0x211)](_0x368efb)}}],_0x30649c=this['_transformService'][_0x48ce6e(0x1d7)](_0x23dcb7,_0x326c0e);if(!E[_0x48ce6e(0x229)](_0x30649c))throw _0x30649c[_0x48ce6e(0x286)];const _0x1b801c=(_0x4250d8=(_0x31e749=_0x30649c['m2Prime'][0x0])==null?void 0x0:_0x31e749['params'])==null?void 0x0:_0x4250d8[_0x48ce6e(0x403)];if(Array[_0x48ce6e(0x145)](_0x1b801c)&&_0x1b801c[_0x48ce6e(0x260)]){if(_0x1b801c['length']===_0x326c0e[0x0][_0x48ce6e(0x12b)]['selections'][_0x48ce6e(0x260)]&&_0x1b801c[_0x48ce6e(0xee)]((_0x403ded,_0x357881)=>o[_0x48ce6e(0x3e9)][_0x48ce6e(0x2b2)](_0x403ded[_0x48ce6e(0x39e)],_0x326c0e[0x0]['params'][_0x48ce6e(0x403)][_0x357881][_0x48ce6e(0x39e)])))return;this[_0x48ce6e(0x258)]['get'](o['ICommandService'])['executeCommand'](Q[_0x48ce6e(0x1be)]['id'],{'unitId':_0x4a075c,'subUnitId':_0x4fe3fa,'selections':_0x1b801c});}}},exports[_0x346389(0x25e)]=Jt([Ue(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),Ue(0x1,E['ITransformService']),Ue(0x2,o['IUniverInstanceService'])],exports[_0x346389(0x25e)]);const ve=o[_0x346389(0x28c)](_0x346389(0x273));var He=(_0x459acf=>(_0x459acf[_0x459acf[_0x346389(0x16d)]=0x0]=_0x346389(0x16d),_0x459acf[_0x459acf[_0x346389(0x202)]=0x1]=_0x346389(0x202),_0x459acf))(He||{});const Y=_0x346389(0x159),Qt={};function ei(_0x12cbd4){var _0x402511=_0x346389,_0x3b2b18;return!!((_0x3b2b18=_0x12cbd4[_0x402511(0x12b)])!=null&&_0x3b2b18[_0x402511(0x165)]);}const ti=new Set([Q[_0x346389(0x139)]['id']]);function Ge(_0x4a438d,_0x4bae01,_0x3b2a1c,_0x1a91d6,_0x3e5db3){var _0x40338e=_0x346389,_0x49540a,_0x2f4f6c,_0x450e28,_0xb6a727;const _0x387c91=[];for(const _0x527f23 of _0x4a438d){if(ti['has'](_0x527f23['id'])){if(_0x387c91[_0x40338e(0x260)]>0x0)break;_0x387c91[_0x40338e(0x179)](_0x527f23);break;}if(ei(_0x527f23)){if(_0x387c91[_0x40338e(0x260)]>0x0)break;_0x387c91[_0x40338e(0x179)](_0x527f23);break;}_0x387c91['push'](_0x527f23);}const _0x504e5c=(_0x2f4f6c=(_0x49540a=_0x3e5db3[_0x40338e(0x2b9)]())==null?void 0x0:_0x49540a['userID'])!=null?_0x2f4f6c:_0x40338e(0x17c),_0x5b717d=(_0xb6a727=(_0x450e28=_0x3e5db3[_0x40338e(0x2b9)]())==null?void 0x0:_0x450e28['memberID'])!=null?_0xb6a727:_0x40338e(0x17c);return{'changeset':{'unitID':_0x4bae01,'type':E[_0x40338e(0x263)](_0x3b2a1c[_0x40338e(0x172)](_0x4bae01)),'baseRev':_0x1a91d6['getCurrentRevOfUnit'](_0x4bae01),'revision':0x0,'userID':_0x504e5c,'memberID':_0x5b717d,'mutations':_0x387c91},'pendingMutations':_0x4a438d['slice'](_0x387c91[_0x40338e(0x260)])};}function ii(_0x3bc9a2,_0x310849,_0x51136e,_0x473c1c,_0x38068b){var _0x521677=_0x346389,_0x40b58c,_0x1bf81d,_0x14c82a,_0x5b940d;const _0x2a3009=[_0x3bc9a2[_0x521677(0x43a)]((_0x1aeefd,_0x3d2efc)=>{var _0x6c2919=_0x521677,_0x38d51b;const {id:_0x410962}=_0x1aeefd,{id:_0x2328b1,type:_0x3cf437}=_0x3d2efc,_0x2c8211=(_0x38d51b=_0x1aeefd[_0x6c2919(0x12b)])!=null?_0x38d51b:{'actions':null},_0x4b2b5e=_0x3d2efc[_0x6c2919(0x12b)];if(_0x410962&&_0x410962!==_0x2328b1)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x410962+_0x6c2919(0x1d1)+_0x2328b1+'.');return{..._0x1aeefd,'id':_0x2328b1,'type':_0x3cf437,'params':{'unitId':_0x4b2b5e[_0x6c2919(0x440)],'textRanges':_0x4b2b5e['textRanges'],'actions':o['JSONX'][_0x6c2919(0x320)](_0x2c8211[_0x6c2919(0x396)],_0x4b2b5e[_0x6c2919(0x396)])}};},{})],_0x1e8366=(_0x1bf81d=(_0x40b58c=_0x38068b[_0x521677(0x2b9)]())==null?void 0x0:_0x40b58c[_0x521677(0x1ca)])!=null?_0x1bf81d:_0x521677(0x17c),_0x99e724=(_0x5b940d=(_0x14c82a=_0x38068b[_0x521677(0x2b9)]())==null?void 0x0:_0x14c82a['memberID'])!=null?_0x5b940d:'unknown';return{'changeset':{'unitID':_0x310849,'type':E[_0x521677(0x263)](_0x51136e[_0x521677(0x172)](_0x310849)),'baseRev':_0x473c1c[_0x521677(0x3ed)](_0x310849),'revision':0x0,'userID':_0x1e8366,'memberID':_0x99e724,'mutations':_0x2a3009},'pendingMutations':[]};}function St(_0x4fdb04,_0xef78d4){var _0x1e62b0=_0x346389;const _0x2df952=new j[(_0x1e62b0(0x13c))](0x1);return setTimeout(()=>_0x2df952[_0x1e62b0(0x408)](_0xef78d4),_0x4fdb04),_0x2df952[_0x1e62b0(0x33e)]()['pipe'](j[_0x1e62b0(0x35b)](0x1));}var ni=Object[_0x346389(0x21c)],ae=(_0x2c6b41,_0x26c893,_0x2d5164,_0x53f138)=>{var _0x7a3486=_0x346389;for(var _0x3d639a=_0x53f138>0x1?void 0x0:_0x53f138?ni(_0x26c893,_0x2d5164):_0x26c893,_0x4796c5=_0x2c6b41[_0x7a3486(0x260)]-0x1,_0x3d1644;_0x4796c5>=0x0;_0x4796c5--)(_0x3d1644=_0x2c6b41[_0x4796c5])&&(_0x3d639a=_0x3d1644(_0x3d639a)||_0x3d639a);return _0x3d639a;},L=(_0x56d2e8,_0x507500)=>(_0x924aa4,_0x343e7f)=>_0x507500(_0x924aa4,_0x343e7f,_0x56d2e8),je=(_0x379b2e=>(_0x379b2e['NOT_COLLAB']=_0x346389(0x35a),_0x379b2e[_0x346389(0x167)]='synced',_0x379b2e['PENDING']=_0x346389(0x2f1),_0x379b2e['AWAITING']=_0x346389(0x3e8),_0x379b2e[_0x346389(0x283)]=_0x346389(0x251),_0x379b2e[_0x346389(0x2c4)]=_0x346389(0x40c),_0x379b2e[_0x346389(0x3e2)]='conflict',_0x379b2e[_0x346389(0x38b)]=_0x346389(0x313),_0x379b2e))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x54c03f,_0x544f38,_0x12d2f3,_0x3647d0,_0x4e9ccc,_0x410ce0,_0x17c40a,_0x2783e9,_0x3aef6f){var _0x5e8aa6=_0x346389;A(this,'_awaitingChangeset',null),A(this,_0x5e8aa6(0x270),[]),(this[_0x5e8aa6(0x212)]=_0x54c03f,this[_0x5e8aa6(0x424)]=_0x544f38,this['_handler']=_0x4e9ccc,this[_0x5e8aa6(0x13d)]=_0x410ce0,this[_0x5e8aa6(0x14a)]=_0x17c40a,this[_0x5e8aa6(0x3a2)]=_0x2783e9,this[_0x5e8aa6(0x249)]=_0x3aef6f,this[_0x5e8aa6(0x178)]=_0x12d2f3,this[_0x5e8aa6(0x270)]=_0x3647d0);}['_checkMissing'](_0x2e9897){var _0x34dcad=_0x346389;const _0xca236a=this[_0x34dcad(0x3a2)][_0x34dcad(0x3ed)](this[_0x34dcad(0x212)]);return _0x2e9897[_0x34dcad(0xdc)]>_0xca236a+0x1?(this['_handler']['onMissingChangesets']({'from':_0xca236a,'to':_0x2e9897[_0x34dcad(0xdc)]-0x1}),!0x0):!0x1;}[_0x346389(0x15e)](_0x22f52b){var _0x4e29ad=_0x346389;this[_0x4e29ad(0x14a)][_0x4e29ad(0x3eb)](this[_0x4e29ad(0x212)],_0x22f52b);}['_transformSelections'](_0x12c14a){var _0x34f5f6=_0x346389,_0x2f0820,_0x56bab3;(_0x56bab3=(_0x2f0820=this[_0x34f5f6(0x110)])[_0x34f5f6(0x14b)])==null||_0x56bab3[_0x34f5f6(0x15a)](_0x2f0820,_0x12c14a);}[_0x346389(0x2e1)](_0x199639){var _0x12d0e1=_0x346389,_0x284dd6,_0x3b32f2;return(_0x3b32f2=(_0x284dd6=this[_0x12d0e1(0x110)])['onTransformIME'])==null?void 0x0:_0x3b32f2[_0x12d0e1(0x15a)](_0x284dd6,_0x199639);}[_0x346389(0x3f2)](_0x42a19f){var _0xfa5463=_0x346389,_0x346989,_0x8dd47a;return(_0x8dd47a=(_0x346989=this[_0xfa5463(0x110)])[_0xfa5463(0x371)])==null?void 0x0:_0x8dd47a['call'](_0x346989,_0x42a19f);}[_0x346389(0x12a)](_0x44f197){var _0x2bfbea=_0x346389,_0x260322,_0x3f4b3d,_0x20c479;return(_0x20c479=(_0x3f4b3d=(_0x260322=this[_0x2bfbea(0x110)])[_0x2bfbea(0x274)])==null?void 0x0:_0x3f4b3d[_0x2bfbea(0x15a)](_0x260322,_0x44f197))!=null?_0x20c479:_0x44f197;}['_transformRemoteChangesetByStateCache'](_0x3fdbe9){var _0x351f65=_0x346389,_0x2e185a,_0x16a2bb,_0x95e200;return(_0x95e200=(_0x16a2bb=(_0x2e185a=this['_handler'])[_0x351f65(0x295)])==null?void 0x0:_0x16a2bb[_0x351f65(0x15a)](_0x2e185a,_0x3fdbe9))!=null?_0x95e200:_0x3fdbe9;}[_0x346389(0x2cf)](_0x2ea7b0){var _0x278f61=_0x346389,_0x145f29,_0x15bc89;if(this[_0x278f61(0x424)]===X[_0x278f61(0xf3)]){const {unitID:_0x12c290,mutations:_0x5af2d7,memberID:_0x427765}=_0x2ea7b0,_0x30a6cc=_0x5af2d7[_0x278f61(0x260)]>0x0?_0x5af2d7[0x0][_0x278f61(0x12b)]['textRanges']:[];Array[_0x278f61(0x145)](_0x30a6cc)&&_0x30a6cc[_0x278f61(0x260)]>0x0&&((_0x15bc89=(_0x145f29=this[_0x278f61(0x110)])[_0x278f61(0x103)])==null||_0x15bc89['call'](_0x145f29,{'unitID':_0x12c290,'memberID':_0x427765,'textRanges':_0x30a6cc}));}}[_0x346389(0x425)](){var _0x13dc14=_0x346389,_0x4a34f1;(_0x4a34f1=this['_localCacheService'])==null||_0x4a34f1[_0x13dc14(0x431)](this[_0x13dc14(0x212)],this['type'],this[_0x13dc14(0x178)],this[_0x13dc14(0x270)]);}['_getCurrentRevision'](){var _0x37a059=_0x346389;return this[_0x37a059(0x3a2)]['getCurrentRevOfUnit'](this['unitID']);}[_0x346389(0x2ce)](){var _0x5dd1fa=_0x346389;this[_0x5dd1fa(0x3a2)]['incrementRevOfUnit'](this[_0x5dd1fa(0x212)]);}[_0x346389(0x1a2)](_0x14d319){var _0x22f530=_0x346389,_0x1cf385;let _0x33d27e=this[_0x22f530(0x12a)](_0x14d319);_0x33d27e=this['_transformRemoteChangesetByStateCache'](_0x33d27e);const _0x3ee24d=o[_0x22f530(0x301)](_0x33d27e[_0x22f530(0x2aa)],this[_0x22f530(0x13d)],{'fromCollab':!0x0});if(!_0x3ee24d[_0x22f530(0x11a)])throw _0x3ee24d['error']instanceof Error?_0x3ee24d['error']:new Error((_0x1cf385=_0x3ee24d[_0x22f530(0x286)])!=null?_0x1cf385:'[CollaborationState]:\x20apply\x20error!');this[_0x22f530(0x2e1)](_0x33d27e),this[_0x22f530(0x3f2)](_0x33d27e),this[_0x22f530(0x15e)](_0x14d319),this[_0x22f530(0x3bc)](_0x33d27e),this[_0x22f530(0x2cf)](_0x33d27e),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends oe{constructor(_0x2dd078,_0x250c5f,_0xfb7c7d,_0x21c82f,_0x54695c,_0xddb6fa,_0x5cdb92,_0x2bde5a,_0x3d42b0,_0x6e769f){var _0x58caf4=_0x346389;super(_0x2dd078,_0x250c5f,null,[],_0xfb7c7d,_0x5cdb92,_0xddb6fa,_0x21c82f,_0x6e769f),A(this,'status',_0x58caf4(0x309)),(this['_injector']=_0x54695c,this['_logService']=_0x2bde5a,this[_0x58caf4(0x358)]=_0x3d42b0,this[_0x58caf4(0x407)]=_0x6e769f);}[_0x346389(0x435)](_0x2bdcf4){var _0x119cde=_0x346389;const _0x21b985=this['_injector'][_0x119cde(0x3b3)](exports[_0x119cde(0x1d4)],this[_0x119cde(0x212)],this['type'],[_0x2bdcf4],this['_handler']);return _0x21b985[_0x119cde(0x19c)](),_0x21b985[_0x119cde(0x425)](),_0x21b985;}['onRemoteChangeset'](_0x49a902){var _0x176fb7=_0x346389;if(this[_0x176fb7(0x362)](_0x49a902))return this[_0x176fb7(0x258)]['createInstance'](exports[_0x176fb7(0x2d5)],this[_0x176fb7(0x212)],this[_0x176fb7(0x424)],null,[],null,[_0x49a902],this[_0x176fb7(0x110)]);try{const _0x93e790=this[_0x176fb7(0x358)][_0x176fb7(0x1d7)](_0x49a902,[E[_0x176fb7(0x341)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x93e790)){const {c1Prime:_0x21729b}=_0x93e790;return this[_0x176fb7(0x1a2)](_0x21729b),this;}throw _0x93e790[_0x176fb7(0x286)];}catch(_0x1c0e3c){return this[_0x176fb7(0x306)]['error'](_0x1c0e3c),this[_0x176fb7(0x1fb)](!0x1);}}[_0x346389(0x1fb)](_0x56b821){var _0x410c70=_0x346389;return this[_0x410c70(0x258)][_0x410c70(0x3b3)](exports[_0x410c70(0x1d2)],this[_0x410c70(0x212)],this[_0x410c70(0x424)],null,[],this[_0x410c70(0x110)],_0x56b821);}[_0x346389(0x1bf)](){var _0x5e2488=_0x346389;throw new Error(_0x5e2488(0x42b));}[_0x346389(0xc7)](){var _0x29027a=_0x346389;throw new Error(_0x29027a(0x1e8));}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){var _0x488fc7=_0x346389;return this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x488fc7(0x424)],null,[],this['_handler']);}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x256)](){var _0x2616b0=_0x346389;const _0x22d44e=this[_0x2616b0(0x3a2)][_0x2616b0(0x3ed)](this['unitID']);return this[_0x2616b0(0x110)][_0x2616b0(0x26d)]({'from':_0x22d44e,'to':0x0}),this[_0x2616b0(0x258)][_0x2616b0(0x3b3)](exports[_0x2616b0(0x2d5)],this[_0x2616b0(0x212)],this[_0x2616b0(0x424)],null,[],null,[],this[_0x2616b0(0x110)]);}},exports[_0x346389(0x40a)]=ae([L(0x3,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x4,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x5,o[_0x346389(0x20d)]),L(0x6,o[_0x346389(0x1ac)]),L(0x7,o[_0x346389(0x245)]),L(0x8,E[_0x346389(0x1d8)]),L(0x9,o[_0x346389(0x32f)](q))],exports[_0x346389(0x40a)]),exports[_0x346389(0x1d4)]=class extends oe{constructor(_0x564736,_0x731e9a,_0x361f08,_0x1ec1a4,_0x5db45c,_0xd16730,_0x13acba,_0x31de03,_0x30e030,_0x4dcb43,_0x340a76,_0x3b4ca6,_0x37584f,_0x1956a7){var _0xaf8cc4=_0x346389;super(_0x564736,_0x731e9a,null,_0x361f08,_0x1ec1a4,_0x30e030,_0x37584f,_0xd16730,_0x1956a7),A(this,_0xaf8cc4(0x119),'pending'),A(this,_0xaf8cc4(0x262),null),A(this,'_sendingTimer',null),(this[_0xaf8cc4(0x258)]=_0x5db45c,this[_0xaf8cc4(0x134)]=_0x13acba,this[_0xaf8cc4(0x306)]=_0x31de03,this['_configService']=_0x4dcb43,this[_0xaf8cc4(0x358)]=_0x340a76,this[_0xaf8cc4(0x334)]=_0x3b4ca6);}['appendMutation'](_0x767fe2){var _0x3fb6f0=_0x346389;return this[_0x3fb6f0(0x270)][_0x3fb6f0(0x179)](_0x767fe2),this[_0x3fb6f0(0x425)](),this;}[_0x346389(0x22d)](_0x277fde){var _0x164bf3=_0x346389;if(this[_0x164bf3(0x362)](_0x277fde))return this['_clearScheduledTask'](),this['_injector'][_0x164bf3(0x3b3)](exports[_0x164bf3(0x2d5)],this[_0x164bf3(0x212)],this[_0x164bf3(0x424)],null,this['_pendingMutations'],null,[_0x277fde],this[_0x164bf3(0x110)]);try{const _0x3e4960=this[_0x164bf3(0x358)][_0x164bf3(0x1d7)](_0x277fde,this[_0x164bf3(0x270)]);if(E[_0x164bf3(0x229)](_0x3e4960)){const {c1Prime:_0x410443,m2Prime:_0x1f55bc}=_0x3e4960;this['_executeRemoteChangeset'](_0x410443);const _0x2ab652=this[_0x164bf3(0x258)][_0x164bf3(0x3b3)](exports[_0x164bf3(0x1d4)],this[_0x164bf3(0x212)],this[_0x164bf3(0x424)],_0x1f55bc,this[_0x164bf3(0x110)]);this[_0x164bf3(0x24b)]();const _0x1861af=new Date()['getTime'](),_0x3c4f46=this[_0x164bf3(0x262)]?Math['max'](this[_0x164bf3(0x262)]-_0x1861af,0x0):this[_0x164bf3(0x393)]();return _0x2ab652[_0x164bf3(0x19c)](_0x3c4f46),_0x2ab652;}throw _0x3e4960[_0x164bf3(0x286)];}catch(_0x41402e){return this[_0x164bf3(0x306)]['error'](_0x41402e),this[_0x164bf3(0x1fb)](!0x1);}}[_0x346389(0x1bf)](){var _0x5549ab=_0x346389;throw new Error(_0x5549ab(0x3f0));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x346389(0x117)](){return this;}['toggleOffline'](){var _0x2b3a96=_0x346389;return this[_0x2b3a96(0x24b)](),this[_0x2b3a96(0x258)]['createInstance'](exports[_0x2b3a96(0x379)],this[_0x2b3a96(0x212)],this[_0x2b3a96(0x424)],null,this[_0x2b3a96(0x270)],this[_0x2b3a96(0x110)]);}[_0x346389(0x15b)](){return this;}[_0x346389(0x19c)](_0x172ed1){var _0x2589d0=_0x346389;const _0x124d11=_0x172ed1!=null?_0x172ed1:this[_0x2589d0(0x393)]();this[_0x2589d0(0x262)]=new Date()[_0x2589d0(0x3a5)]()+_0x124d11,this['_sendingTimer']=setTimeout(()=>{var _0x59640f=_0x2589d0;this[_0x59640f(0x24b)]();let _0x3f9b24=null;switch(this[_0x59640f(0x424)]){case X['UNIVER_SHEET']:{_0x3f9b24=Ge(this['_pendingMutations'],this[_0x59640f(0x212)],this['_univerInstanceService'],this[_0x59640f(0x3a2)],this[_0x59640f(0x134)]);break;}case X[_0x59640f(0xf3)]:{this[_0x59640f(0x270)][_0x59640f(0xee)](_0x31e232=>_0x31e232['id']===ct['RichTextEditingMutation']['id'])?_0x3f9b24=ii(this[_0x59640f(0x270)],this['unitID'],this[_0x59640f(0x334)],this['_revisionService'],this[_0x59640f(0x134)]):_0x3f9b24=Ge(this[_0x59640f(0x270)],this[_0x59640f(0x212)],this[_0x59640f(0x334)],this[_0x59640f(0x3a2)],this[_0x59640f(0x134)]);break;}default:throw new Error(_0x59640f(0x272)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x40264f,pendingMutations:_0x4931f1}=_0x3f9b24;this[_0x59640f(0x110)][_0x59640f(0x1d6)](_0x40264f);const _0x45abe7=_0x4931f1[_0x59640f(0x260)]?this[_0x59640f(0x258)][_0x59640f(0x3b3)](exports[_0x59640f(0x109)],this[_0x59640f(0x212)],this[_0x59640f(0x424)],_0x40264f,_0x4931f1,this['_handler'],void 0x0):this['_injector']['createInstance'](exports[_0x59640f(0x388)],this['unitID'],this[_0x59640f(0x424)],_0x40264f,this[_0x59640f(0x110)]);_0x45abe7[_0x59640f(0x425)](),this[_0x59640f(0x110)][_0x59640f(0x399)](this,_0x45abe7);},_0x124d11);}[_0x346389(0x393)](){var _0x5aaf2b=_0x346389,_0x4a418f;const _0x30b797=this[_0x5aaf2b(0x13b)][_0x5aaf2b(0x31c)](Y);return(_0x4a418f=_0x30b797==null?void 0x0:_0x30b797[_0x5aaf2b(0x160)])!=null?_0x4a418f:At;}[_0x346389(0x23a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x24b)](){var _0x2f7626=_0x346389;this[_0x2f7626(0x10c)]!=null&&(clearTimeout(this[_0x2f7626(0x10c)]),this['_sendingTimer']=null);}['_onConflict'](_0x3bd7d1){var _0x4b06d1=_0x346389;return this[_0x4b06d1(0x24b)](),this[_0x4b06d1(0x258)][_0x4b06d1(0x3b3)](exports['ConflictState'],this[_0x4b06d1(0x212)],this['type'],null,this[_0x4b06d1(0x270)],this[_0x4b06d1(0x110)],_0x3bd7d1);}},exports['PendingState']=ae([L(0x4,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x5,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x6,o[_0x346389(0x33c)](exports[_0x346389(0x129)])),L(0x7,o[_0x346389(0x245)]),L(0x8,o[_0x346389(0x1ac)]),L(0x9,o[_0x346389(0x3ac)]),L(0xa,E[_0x346389(0x1d8)]),L(0xb,o[_0x346389(0x1c6)]),L(0xc,o[_0x346389(0x20d)]),L(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1d4)]),exports['AwaitingState']=class extends oe{constructor(_0xc4b8be,_0x571f8c,_0x476ac7,_0x222516,_0x4a1aeb,_0xafb7f4,_0x1758a5,_0x1291c4,_0x3eb6a3,_0x25e197,_0x599191){var _0x4ad8a7=_0x346389;super(_0xc4b8be,_0x571f8c,_0x476ac7,[],_0x222516,_0x1758a5,_0x25e197,_0xafb7f4,_0x599191),A(this,_0x4ad8a7(0x119),'awaiting'),A(this,_0x4ad8a7(0x190),0x0),A(this,_0x4ad8a7(0x3bd),0x0),A(this,_0x4ad8a7(0x2ad)),A(this,_0x4ad8a7(0x291)),(this[_0x4ad8a7(0x258)]=_0x4a1aeb,this[_0x4ad8a7(0x306)]=_0x1291c4,this[_0x4ad8a7(0x358)]=_0x3eb6a3);}[_0x346389(0x435)](_0x3b87a2){var _0x59104a=_0x346389;this['_clearScheduledTask']();const _0x25c500=this[_0x59104a(0x258)][_0x59104a(0x3b3)](exports[_0x59104a(0x109)],this[_0x59104a(0x212)],this[_0x59104a(0x424)],this[_0x59104a(0x178)],[_0x3b87a2],this[_0x59104a(0x110)],this[_0x59104a(0x2ad)]);return _0x25c500[_0x59104a(0x425)](),_0x25c500;}[_0x346389(0x22d)](_0x379f45){var _0x1e1029=_0x346389;if(this[_0x1e1029(0x362)](_0x379f45))return this[_0x1e1029(0x24b)](),this[_0x1e1029(0x258)]['createInstance'](exports[_0x1e1029(0x2d5)],this['unitID'],this[_0x1e1029(0x424)],this[_0x1e1029(0x178)],[],null,[_0x379f45],this[_0x1e1029(0x110)]);try{const _0x50e3c1=this[_0x1e1029(0x358)]['transformChangesets']([_0x379f45],[this[_0x1e1029(0x178)]],!0x1);if(E[_0x1e1029(0x325)](_0x50e3c1)){const {c1Prime:_0x32cf62,c2Prime:_0x25740f}=_0x50e3c1;this['_executeRemoteChangeset'](_0x32cf62[0x0]),_0x25740f[0x0][_0x1e1029(0xfa)]=this[_0x1e1029(0x3a1)](),this[_0x1e1029(0x24b)]();const _0x21a4d0=this[_0x1e1029(0x258)]['createInstance'](exports[_0x1e1029(0x388)],this[_0x1e1029(0x212)],this['type'],_0x25740f[0x0],this['_handler']);return _0x21a4d0[_0x1e1029(0x425)](),_0x21a4d0;}return this['_onConflict'](!0x1);}catch(_0x24875c){return this[_0x1e1029(0x306)][_0x1e1029(0x286)](_0x24875c),this[_0x1e1029(0x1fb)](!0x1);}}[_0x346389(0x1bf)](_0xc80aa5){var _0x80f063=_0x346389;this[_0x80f063(0x24b)]();const _0x27f87c=this[_0x80f063(0x3a2)][_0x80f063(0x3ed)](this[_0x80f063(0x212)]);if(_0xc80aa5[_0x80f063(0xdc)]<_0x27f87c-0x1)return this;if(this[_0x80f063(0x362)](_0xc80aa5))return this['_injector']['createInstance'](exports[_0x80f063(0x2d5)],this[_0x80f063(0x212)],this[_0x80f063(0x424)],null,[],this['_awaitingChangeset'],[],this[_0x80f063(0x110)]);this['_incrementRevisionNumber']();const _0x4c0f8b=this[_0x80f063(0x258)][_0x80f063(0x3b3)](exports['SyncedState'],this[_0x80f063(0x212)],this[_0x80f063(0x424)],this[_0x80f063(0x110)]);return _0x4c0f8b[_0x80f063(0x425)](),_0x4c0f8b;}['onRemoteRej'](_0x58618b){var _0x483517=_0x346389;return this['_onConflict'](!!(_0x58618b!=null&&_0x58618b[_0x483517(0x38d)]));}[_0x346389(0x117)](_0x1958e5){var _0x47ea3f=_0x346389;return this[_0x47ea3f(0x3bd)]>ft?this[_0x47ea3f(0x1b8)]():(this['_resendTimer']=St(this[_0x47ea3f(0x190)],{'timeout':this[_0x47ea3f(0x190)],'reqId':_0x1958e5[_0x47ea3f(0xcb)]}),this[_0x47ea3f(0x291)]=this[_0x47ea3f(0x2ad)]['subscribe'](({reqId:_0x1195b1,timeout:_0xa76cc8})=>{this['_resendWithTimeout'](_0x1195b1,_0xa76cc8);}),this);}['toggleOffline'](){var _0x3d3146=_0x346389;return this[_0x3d3146(0x24b)](),this[_0x3d3146(0x258)][_0x3d3146(0x3b3)](exports[_0x3d3146(0x379)],this[_0x3d3146(0x212)],this[_0x3d3146(0x424)],this[_0x3d3146(0x178)],[],this[_0x3d3146(0x110)]);}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){var _0x426e5=_0x346389;this['_handler'][_0x426e5(0x1d6)](this[_0x426e5(0x178)]);}[_0x346389(0x1fb)](_0x3f9b79){var _0x5386f2=_0x346389;return this[_0x5386f2(0x24b)](),this[_0x5386f2(0x258)][_0x5386f2(0x3b3)](exports[_0x5386f2(0x1d2)],this[_0x5386f2(0x212)],this[_0x5386f2(0x424)],this[_0x5386f2(0x178)],[],this[_0x5386f2(0x110)],_0x3f9b79);}[_0x346389(0x1a3)](_0x431fb5,_0x1ab788){var _0xbc6fd6=_0x346389,_0x2262b4;_0x431fb5===((_0x2262b4=this[_0xbc6fd6(0x178)])==null?void 0x0:_0x2262b4[_0xbc6fd6(0xcb)])&&(this[_0xbc6fd6(0x23a)](),this[_0xbc6fd6(0x190)]=_0x1ab788===0x0?0x3e8:Math[_0xbc6fd6(0x127)](_0x1ab788*0x2,It),this[_0xbc6fd6(0x3bd)]+=this[_0xbc6fd6(0x190)]);}[_0x346389(0x24b)](){var _0x4dda65=_0x346389,_0x11484a;(_0x11484a=this[_0x4dda65(0x291)])==null||_0x11484a[_0x4dda65(0x3f5)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x346389(0x388)]=ae([L(0x4,o[_0x346389(0x33c)](o['Injector'])),L(0x5,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x6,o[_0x346389(0x1ac)]),L(0x7,o['ILogService']),L(0x8,E[_0x346389(0x1d8)]),L(0x9,o[_0x346389(0x20d)]),L(0xa,o[_0x346389(0x32f)](q))],exports[_0x346389(0x388)]),exports[_0x346389(0x109)]=class extends oe{constructor(_0x2bc0d9,_0x28513f,_0x19a665,_0x2d7cbf,_0x1ea013,_0x34e103,_0x32a3fe,_0x5ef97f,_0x20cba3,_0x216861,_0x3440f9,_0x5b5bb5,_0xae4e09){var _0x5118b0=_0x346389;super(_0x2bc0d9,_0x28513f,_0x19a665,_0x2d7cbf,_0x1ea013,_0x20cba3,_0x5b5bb5,_0x5ef97f,_0xae4e09),A(this,_0x5118b0(0x119),'awaiting_with_pending'),A(this,_0x5118b0(0x190),0x0),A(this,_0x5118b0(0x3bd),0x0),A(this,_0x5118b0(0x2ad)),A(this,'_sender'),(this[_0x5118b0(0x258)]=_0x32a3fe,this[_0x5118b0(0x306)]=_0x216861,this[_0x5118b0(0x358)]=_0x3440f9,this[_0x5118b0(0x407)]=_0xae4e09,_0x34e103&&(this[_0x5118b0(0x2ad)]=_0x34e103,this[_0x5118b0(0x291)]=this[_0x5118b0(0x2ad)][_0x5118b0(0x1f7)](({reqId:_0xbabfeb,timeout:_0x3d2459})=>{this['_resendWithTimeout'](_0xbabfeb,_0x3d2459);})));}[_0x346389(0x435)](_0x42fb81){return this['_pendingMutations']['push'](_0x42fb81),this;}['onRemoteChangeset'](_0x55a01f){var _0x17ee08=_0x346389;if(this[_0x17ee08(0x362)](_0x55a01f))return this[_0x17ee08(0x24b)](),this[_0x17ee08(0x258)]['createInstance'](exports[_0x17ee08(0x2d5)],this['unitID'],this[_0x17ee08(0x424)],this[_0x17ee08(0x178)],this['_pendingMutations'],null,[_0x55a01f],this[_0x17ee08(0x110)]);try{const _0x17c36e=this[_0x17ee08(0x358)]['transformChangesets']([_0x55a01f],[this[_0x17ee08(0x178)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x17c36e)){const {c1Prime:_0x249308,c2Prime:_0x5d823f}=_0x17c36e,_0x4d518b=this['_transformService'][_0x17ee08(0x1d7)](_0x249308[0x0],this[_0x17ee08(0x270)]);if(E[_0x17ee08(0x229)](_0x4d518b)){const {c1Prime:_0x2cdca7,m2Prime:_0x44a49f}=_0x4d518b;return this['_executeRemoteChangeset'](_0x2cdca7),_0x5d823f[0x0][_0x17ee08(0xfa)]=this['_getCurrentRevision'](),this[_0x17ee08(0x24b)](),this[_0x17ee08(0x258)][_0x17ee08(0x3b3)](exports[_0x17ee08(0x109)],this['unitID'],this[_0x17ee08(0x424)],_0x5d823f[0x0],_0x44a49f,this['_handler'],void 0x0);}throw _0x4d518b[_0x17ee08(0x286)];}throw _0x17c36e[_0x17ee08(0x286)];}catch(_0x3e9c4a){return this[_0x17ee08(0x306)][_0x17ee08(0x286)](_0x3e9c4a),this['_onConflict'](!0x1);}}[_0x346389(0x1bf)](_0x173fd9){var _0x193f40=_0x346389;if(this[_0x193f40(0x24b)](),this['_checkMissing'](_0x173fd9))return this[_0x193f40(0x258)][_0x193f40(0x3b3)](exports['FetchingMissState'],this[_0x193f40(0x212)],this[_0x193f40(0x424)],null,this[_0x193f40(0x270)],this['_awaitingChangeset'],[],this[_0x193f40(0x110)]);this[_0x193f40(0x2ce)]();const _0x2e0a2a=this[_0x193f40(0x258)]['createInstance'](exports[_0x193f40(0x1d4)],this[_0x193f40(0x212)],this[_0x193f40(0x424)],this[_0x193f40(0x270)],this[_0x193f40(0x110)]);return _0x2e0a2a[_0x193f40(0x19c)](),_0x2e0a2a[_0x193f40(0x425)](),_0x2e0a2a;}[_0x346389(0xc7)](_0xee8c0a){var _0x4dfc79=_0x346389;return this[_0x4dfc79(0x1fb)](!!(_0xee8c0a!=null&&_0xee8c0a[_0x4dfc79(0x38d)]));}[_0x346389(0x117)](_0x3b0fff){var _0x2b3818=_0x346389;return this['_maxTotalRetryTimeout']>ft?this[_0x2b3818(0x1b8)]():(this[_0x2b3818(0x2ad)]=St(this['_resendTimeout'],{'timeout':this[_0x2b3818(0x190)],'reqId':_0x3b0fff[_0x2b3818(0xcb)]}),this[_0x2b3818(0x291)]=this[_0x2b3818(0x2ad)][_0x2b3818(0x1f7)](({reqId:_0x1b95c1,timeout:_0x7ec07b})=>{var _0x454855=_0x2b3818;this[_0x454855(0x1a3)](_0x1b95c1,_0x7ec07b);}),this);}[_0x346389(0x1b8)](){var _0x1152ef=_0x346389;return this['_clearScheduledTask'](),this['_injector'][_0x1152ef(0x3b3)](exports[_0x1152ef(0x379)],this['unitID'],this[_0x1152ef(0x424)],this[_0x1152ef(0x178)],this['_pendingMutations'],this[_0x1152ef(0x110)]);}['toggleOnline'](){return this;}[_0x346389(0x23a)](){var _0x1d3d29=_0x346389;this[_0x1d3d29(0x110)][_0x1d3d29(0x1d6)](this[_0x1d3d29(0x178)]);}[_0x346389(0x1fb)](_0x2d6a27){var _0x34fc0d=_0x346389;return this[_0x34fc0d(0x24b)](),this[_0x34fc0d(0x258)][_0x34fc0d(0x3b3)](exports[_0x34fc0d(0x1d2)],this['unitID'],this[_0x34fc0d(0x424)],null,this['_pendingMutations'],this[_0x34fc0d(0x110)],_0x2d6a27);}[_0x346389(0x1a3)](_0x19020b,_0x2fd357){var _0x4028ea=_0x346389,_0x2e0174;_0x19020b===((_0x2e0174=this[_0x4028ea(0x178)])==null?void 0x0:_0x2e0174['reqId'])&&(this[_0x4028ea(0x23a)](),this[_0x4028ea(0x190)]=_0x2fd357===0x0?0x3e8:Math['min'](_0x2fd357*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x4028ea(0x190)]);}['_clearScheduledTask'](){var _0x276662=_0x346389,_0x5c6009;(_0x5c6009=this['_sender'])==null||_0x5c6009[_0x276662(0x3f5)](),this[_0x276662(0x190)]=0x0,this[_0x276662(0x3bd)]=0x0;}},exports[_0x346389(0x109)]=ae([L(0x6,o['Inject'](o['Injector'])),L(0x7,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x8,o[_0x346389(0x1ac)]),L(0x9,o[_0x346389(0x245)]),L(0xa,E[_0x346389(0x1d8)]),L(0xb,o[_0x346389(0x20d)]),L(0xc,o[_0x346389(0x32f)](q))],exports['AwaitingWithPendingState']),exports[_0x346389(0x1d2)]=class extends oe{constructor(_0x1d74bf,_0x370658,_0x3e4086,_0x583ae7,_0x559184,_0xab9bfc=!0x1,_0x53814a,_0x413dfc,_0x200e79,_0x4e97a8,_0x531ff0,_0x4e88e3,_0x481e83){var _0x499dda=_0x346389;super(_0x1d74bf,_0x370658,_0x3e4086,_0x583ae7,_0x559184,_0x413dfc,_0x200e79,_0x4e97a8,_0x481e83),A(this,_0x499dda(0x119),_0x499dda(0x3c4)),(this[_0x499dda(0x1e7)]=_0xab9bfc,this['_permissionService']=_0x53814a,this[_0x499dda(0x22b)]=_0x531ff0,this['_collaborationUIEventService']=_0x4e88e3,this['localCacheService']=_0x481e83,this[_0x499dda(0x1d0)](),this[_0x499dda(0x2c1)](),this[_0x499dda(0x242)]());}[_0x346389(0x435)](){return this;}[_0x346389(0x22d)](){return this;}[_0x346389(0x1bf)](){return this;}[_0x346389(0xc7)](){return this;}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){return this;}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){var _0x123ce1=_0x346389;throw new Error(_0x123ce1(0x3f8));}[_0x346389(0x2c1)](){var _0x47a691=_0x346389,_0x4592b8;(_0x4592b8=this[_0x47a691(0x249)])==null||_0x4592b8[_0x47a691(0x431)](this[_0x47a691(0x212)],this['type'],null,[]);}[_0x346389(0x1d0)](){var _0x5153a4=_0x346389;this[_0x5153a4(0x1e7)]?this[_0x5153a4(0xcd)][_0x5153a4(0xc5)]({'id':J[_0x5153a4(0x2bc)]}):this[_0x5153a4(0xcd)][_0x5153a4(0xc5)]({'id':J['CONFLICT']});}[_0x346389(0x242)](){var _0x50dc72=_0x346389;this[_0x50dc72(0x316)]['updatePermissionPoint'](new Q[(_0x50dc72(0x344))](this[_0x50dc72(0x212)])['id'],!0x1);}},exports[_0x346389(0x1d2)]=ae([L(0x6,o[_0x346389(0x33c)](o[_0x346389(0x261)])),L(0x7,o[_0x346389(0x1ac)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0xa,o[_0x346389(0x33c)](o['LocaleService'])),L(0xb,o[_0x346389(0x33c)](ee)),L(0xc,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1d2)]),exports['OfflineState']=class extends oe{constructor(_0x7ebb5a,_0x151695,_0x3d168b,_0x5ae5d4,_0x29c0ea,_0x39dbcb,_0x2f6e6f,_0x2e4cf4,_0x3be8cf,_0x56c16e){var _0x1eaacb=_0x346389;super(_0x7ebb5a,_0x151695,_0x3d168b,_0x5ae5d4,_0x29c0ea,_0x2e4cf4,_0x3be8cf,_0x2f6e6f,_0x56c16e),A(this,_0x1eaacb(0x119),_0x1eaacb(0x313)),this['_injector']=_0x39dbcb;}[_0x346389(0x435)](_0x40e0dd){var _0x440261=_0x346389;return this[_0x440261(0x270)][_0x440261(0x179)](_0x40e0dd),this[_0x440261(0x425)](),this;}['onRemoteChangeset'](_0x44b08d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x346389(0x1bf)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x346389(0xc7)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){return this;}[_0x346389(0x15b)](){var _0x28d399=_0x346389;const {_injector:_0x62d562,_pendingMutations:_0xf819a,_awaitingChangeset:_0x29dd76,unitID:_0x449d7b,_handler:_0x23be2b,type:_0x51dc27}=this,_0x50799d=Et(_0x62d562,_0x449d7b,_0x51dc27,_0x29dd76,_0xf819a,_0x23be2b);return _0x50799d instanceof exports[_0x28d399(0x1d4)]?_0x50799d[_0x28d399(0x19c)]():(_0x50799d instanceof exports[_0x28d399(0x109)]||_0x50799d instanceof exports['AwaitingState'])&&_0x50799d['resend'](),_0x50799d;}[_0x346389(0x23a)](){var _0x39de6c=_0x346389;throw new Error(_0x39de6c(0x3fa));}},exports[_0x346389(0x379)]=ae([L(0x5,o['Inject'](o[_0x346389(0x38f)])),L(0x6,o[_0x346389(0x33c)](E['RevisionService'])),L(0x7,o[_0x346389(0x1ac)]),L(0x8,o[_0x346389(0x20d)]),L(0x9,o[_0x346389(0x32f)](q))],exports['OfflineState']),exports['FetchingMissState']=class extends oe{constructor(_0x3f439f,_0x41d7b,_0x9ac359,_0x1fbc5f,_0x19cd20,_0x2a83a7,_0x111df9,_0x3e5c21,_0x4d1d63,_0x1c06a6,_0x4cd249,_0x4cd5c0,_0x1f3506,_0x2458a4){var _0x24d27e=_0x346389;super(_0x3f439f,_0x41d7b,_0x9ac359,_0x1fbc5f,_0x111df9,_0x4cd249,_0x4cd5c0,_0x4d1d63,_0x2458a4),A(this,_0x24d27e(0x119),_0x24d27e(0x40c)),(this[_0x24d27e(0x1fc)]=_0x19cd20,this[_0x24d27e(0x28f)]=_0x2a83a7,this['_injector']=_0x3e5c21,this[_0x24d27e(0x306)]=_0x1c06a6,this[_0x24d27e(0x358)]=_0x1f3506,this[_0x24d27e(0x407)]=_0x2458a4);}[_0x346389(0x2ed)](_0x3a899b){var _0x1561fa=_0x346389;try{const _0x173427=[..._0x3a899b,...this[_0x1561fa(0x28f)]],_0x497441=[this[_0x1561fa(0x178)]||this[_0x1561fa(0x1fc)]][_0x1561fa(0x2ca)](_0x31bcfb=>!!_0x31bcfb);let _0x19461e,_0x1ecaf1;if(_0x497441[_0x1561fa(0x260)]){const _0x7b323f=this['_transformService'][_0x1561fa(0xe9)](_0x173427,_0x497441,!0x1);if(!E[_0x1561fa(0x325)](_0x7b323f))throw _0x7b323f[_0x1561fa(0x286)];_0x19461e=_0x7b323f['c1Prime'],_0x1ecaf1=_0x7b323f[_0x1561fa(0x115)];}else _0x19461e=_0x173427,_0x1ecaf1=[];let _0x5523b0=this['_pendingMutations'];_0x19461e[_0x1561fa(0x2b3)](_0x3d3d94=>{var _0x48a11d=_0x1561fa;let _0x603f3f;if(_0x5523b0[_0x48a11d(0x260)]){const _0xc2500d=this[_0x48a11d(0x358)]['transformMutationsWithChangeset'](_0x3d3d94,_0x5523b0);if(!E['isTransformMutationsWithChangesetSuccess'](_0xc2500d))throw _0xc2500d[_0x48a11d(0x286)];_0x603f3f=_0xc2500d[_0x48a11d(0x18c)],_0x5523b0=_0xc2500d[_0x48a11d(0x1f2)];}else _0x603f3f=_0x3d3d94;this[_0x48a11d(0x1a2)](_0x603f3f);}),this[_0x1561fa(0x1fc)]&&this[_0x1561fa(0x2ce)](),this[_0x1561fa(0x178)]&&_0x1ecaf1['length']&&(_0x1ecaf1[0x0][_0x1561fa(0xfa)]=this['_getCurrentRevision']());let _0x474e26;if(this[_0x1561fa(0x178)]&&_0x5523b0[_0x1561fa(0x260)]!==0x0)_0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x109)],this['unitID'],this[_0x1561fa(0x424)],_0x1ecaf1[0x0],_0x5523b0,this[_0x1561fa(0x110)],void 0x0);else{if(this[_0x1561fa(0x178)]&&_0x5523b0[_0x1561fa(0x260)]===0x0)_0x1ecaf1[0x0][_0x1561fa(0xfa)]=this[_0x1561fa(0x3a1)](),_0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x388)],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],_0x1ecaf1[0x0],this['_handler']);else{if(_0x5523b0[_0x1561fa(0x260)]!==0x0){const _0x47c95f=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x1d4)],this['unitID'],this[_0x1561fa(0x424)],_0x5523b0,this['_handler']);_0x47c95f[_0x1561fa(0x19c)](),_0x474e26=_0x47c95f;}else _0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports['SyncedState'],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],this[_0x1561fa(0x110)]);}}return _0x474e26[_0x1561fa(0x425)](),_0x474e26;}catch(_0x17664c){return this[_0x1561fa(0x306)][_0x1561fa(0x286)](_0x1561fa(0x2a6),_0x1561fa(0x2d8),_0x17664c),this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x1d2)],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],this[_0x1561fa(0x178)],this[_0x1561fa(0x270)],this[_0x1561fa(0x110)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x435)](_0x41b876){var _0x278ffe=_0x346389;return this[_0x278ffe(0x270)][_0x278ffe(0x179)](_0x41b876),this;}[_0x346389(0x22d)](_0x4dc33a){var _0x477684=_0x346389;return this[_0x477684(0x28f)][_0x477684(0x179)](_0x4dc33a),this;}['onRemoteAck'](_0x1696ab){var _0x51bb8a=_0x346389;if(this[_0x51bb8a(0x178)])return this['_acknowledgedAwaitingChangeset']=this[_0x51bb8a(0x178)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x346389(0xc7)](_0x1ba044){var _0x287d07=_0x346389;return this['_onConflict'](!!(_0x1ba044!=null&&_0x1ba044[_0x287d07(0x38d)]));}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){var _0x4de7b2=_0x346389;return this[_0x4de7b2(0x258)][_0x4de7b2(0x3b3)](exports[_0x4de7b2(0x379)],this[_0x4de7b2(0x212)],this[_0x4de7b2(0x424)],this[_0x4de7b2(0x178)],this[_0x4de7b2(0x270)],this['_handler']);}['toggleOnline'](){return this;}[_0x346389(0x1fb)](_0xc18986){var _0x5e6ed3=_0x346389;return this[_0x5e6ed3(0x258)][_0x5e6ed3(0x3b3)](exports[_0x5e6ed3(0x1d2)],this[_0x5e6ed3(0x212)],this[_0x5e6ed3(0x424)],this['_awaitingChangeset'],this[_0x5e6ed3(0x270)],this[_0x5e6ed3(0x110)],_0xc18986);}},exports[_0x346389(0x2d5)]=ae([L(0x7,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x8,o['Inject'](E[_0x346389(0x300)])),L(0x9,o[_0x346389(0x245)]),L(0xa,o[_0x346389(0x1ac)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x346389(0x1d8)]),L(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x2d5)]);function Et(_0x42b819,_0x342e52,_0xed5822,_0x2ca5f0,_0xce33c5,_0x29307d){var _0x57a059=_0x346389;return _0x2ca5f0&&_0xce33c5[_0x57a059(0x260)]?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x109)],_0x342e52,_0xed5822,_0x2ca5f0,_0xce33c5,_0x29307d,void 0x0):_0x2ca5f0?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x388)],_0x342e52,_0xed5822,_0x2ca5f0,_0x29307d):_0xce33c5['length']?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x1d4)],_0x342e52,_0xed5822,_0xce33c5,_0x29307d):_0x42b819['createInstance'](exports['SyncedState'],_0x342e52,_0xed5822,_0x29307d);}var si=Object[_0x346389(0x21c)],Be=(_0x10b7a8,_0x4e13dd,_0x4afaef,_0x4edb21)=>{for(var _0x20a5ad=_0x4edb21>0x1?void 0x0:_0x4edb21?si(_0x4e13dd,_0x4afaef):_0x4e13dd,_0x290a50=_0x10b7a8['length']-0x1,_0x416e1c;_0x290a50>=0x0;_0x290a50--)(_0x416e1c=_0x10b7a8[_0x290a50])&&(_0x20a5ad=_0x416e1c(_0x20a5ad)||_0x20a5ad);return _0x20a5ad;},$=(_0x1128f2,_0x5582d9)=>(_0x22fd2c,_0x1b9f85)=>_0x5582d9(_0x22fd2c,_0x1b9f85,_0x1128f2);exports['CollaborationEntity']=class extends o[_0x346389(0x29a)]{constructor(_0xa44e28,_0x2abeb4,_0x5ec913,_0x4016d3,_0x20e7d6,_0x266aed,_0x510a9c,_0x53817d,_0x4af93e,_0x5bdab9,_0x2be191,_0x496785,_0x1cec0d,_0x1e9e67){var _0x256fbb=_0x346389;super(),A(this,_0x256fbb(0x27e),new j['BehaviorSubject'](null)),A(this,_0x256fbb(0x411),this[_0x256fbb(0x27e)]['asObservable']()),A(this,_0x256fbb(0x104)),A(this,'_collaborationPaused',!0x1),A(this,_0x256fbb(0x370),''),A(this,_0x256fbb(0x3b5),0x0),A(this,_0x256fbb(0x279),this['state$'][_0x256fbb(0x442)](j[_0x256fbb(0x41e)](_0xafb94=>_0xafb94?_0xafb94[_0x256fbb(0x119)]:je['OFFLINE']),j[_0x256fbb(0x186)](0x1))),A(this,_0x256fbb(0xf4),!0x1),A(this,_0x256fbb(0x307),[]),(this[_0x256fbb(0x212)]=_0xa44e28,this[_0x256fbb(0x27c)]=_0x2abeb4,this[_0x256fbb(0x367)]=_0x5ec913,this[_0x256fbb(0x258)]=_0x4016d3,this[_0x256fbb(0x215)]=_0x20e7d6,this[_0x256fbb(0x22b)]=_0x266aed,this['_revisionService']=_0x510a9c,this['_eventService']=_0x53817d,this[_0x256fbb(0x334)]=_0x4af93e,this['_logService']=_0x5bdab9,this[_0x256fbb(0x13d)]=_0x2be191,this[_0x256fbb(0x316)]=_0x496785,this['_singleActiveUnitService']=_0x1cec0d,this[_0x256fbb(0x249)]=_0x1e9e67);}get['state'](){var _0x1c7ac2=_0x346389;return this[_0x1c7ac2(0x104)];}async[_0x346389(0x1e3)](){var _0x1b3de6=_0x346389;if(this[_0x1b3de6(0xcf)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1b3de6(0x206)]();}[_0x346389(0x32e)](){var _0xc736ab=_0x346389;return this[_0xc736ab(0x372)]=!0x0,o['toDisposable'](()=>{var _0x39a7ba=_0xc736ab;this['_collaborationPaused']=!0x1,this[_0x39a7ba(0x297)]();});}[_0x346389(0x3ce)](_0x1bc7b9){var _0x2677a3=_0x346389;this[_0x2677a3(0x25d)](_0x1bc7b9);}[_0x346389(0x377)](_0x21628a){var _0x4bb6c6=_0x346389;this[_0x4bb6c6(0x104)]=_0x21628a,this[_0x4bb6c6(0x27e)][_0x4bb6c6(0x408)](_0x21628a);}async[_0x346389(0x206)](){var _0x2c977a=_0x346389,_0x29059f;this['_updateState'](await this[_0x2c977a(0x3f7)]()),this[_0x2c977a(0x155)]&&((_0x29059f=this[_0x2c977a(0x155)])==null||_0x29059f[_0x2c977a(0x222)](this[_0x2c977a(0x212)]),this[_0x2c977a(0x34e)](this[_0x2c977a(0x155)][_0x2c977a(0x294)](this[_0x2c977a(0x212)])[_0x2c977a(0x1f7)](_0x55e9f2=>{var _0x3912de=_0x2c977a;this['_logService'][_0x3912de(0x20f)]('[CollaborationEntity]',_0x3912de(0x120),_0x55e9f2),_0x55e9f2===He['OTHER_CLIENTS_EDITING']?(this[_0x3912de(0x2fe)][_0x3912de(0xc5)]({'id':J[_0x3912de(0x3a8)]}),this['_permissionService'][_0x3912de(0x290)](new Q['WorkbookEditablePermission'](this[_0x3912de(0x212)])['id'],!0x1),this[_0x3912de(0x316)][_0x3912de(0x1dd)](!0x1)):(this['_permissionService'][_0x3912de(0x290)](new Q[(_0x3912de(0x344))](this[_0x3912de(0x212)])['id'],!0x0),this[_0x3912de(0x316)][_0x3912de(0x1dd)](!0x0));})));let _0x24e4f1=!0x1;return this[_0x2c977a(0x34e)](this['session'][_0x2c977a(0x137)][_0x2c977a(0x1f7)](_0x5af9bb=>{var _0x517d40=_0x2c977a;_0x5af9bb===se[_0x517d40(0x143)]?this[_0x517d40(0x1cc)](_0x24e4f1):_0x5af9bb===se[_0x517d40(0x38b)]&&(_0x24e4f1=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x2c977a(0x27c)]['event$']['subscribe'](_0x5ae267=>{var _0x40a320=_0x2c977a;try{switch(_0x5ae267['eventID']){case E[_0x40a320(0x3e4)][_0x40a320(0xc9)]:{this[_0x40a320(0x24c)](E[_0x40a320(0x406)](_0x5ae267[_0x40a320(0x2f9)]));break;}case E[_0x40a320(0x3e4)][_0x40a320(0x1c1)]:{this[_0x40a320(0x3c8)](_0x5ae267['data']);break;}case E[_0x40a320(0x3e4)]['CHANGESET_REJ']:{this[_0x40a320(0x2f3)]();break;}case E[_0x40a320(0x3e4)][_0x40a320(0x3c0)]:{this[_0x40a320(0x3cb)](_0x5ae267['data']);break;}case E[_0x40a320(0x3e4)][_0x40a320(0x287)]:{this[_0x40a320(0x170)](_0x5ae267[_0x40a320(0x2f9)][_0x40a320(0x386)]['map'](_0xb8e8cd=>E[_0x40a320(0x406)](_0xb8e8cd)));break;}case E[_0x40a320(0x3e4)][_0x40a320(0x3c9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case E[_0x40a320(0x3e4)]['UNISCRIPT_RUN']:break;}}catch(_0x1c5b34){throw console[_0x40a320(0x286)]('Error\x20on\x20receiving\x20event',_0x1c5b34),_0x1c5b34;}})),this[_0x2c977a(0x104)];}[_0x346389(0x105)](){var _0x58c692=_0x346389;this[_0x58c692(0xf4)]=!0x1;}[_0x346389(0x3e7)](){var _0x3e823a=_0x346389;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3e823a(0xf4)]=!0x0;}[_0x346389(0x25d)](_0x3d2a9a){var _0x5c3fc0=_0x346389;this['_lockTransition'](),this[_0x5c3fc0(0x377)](this[_0x5c3fc0(0x104)][_0x5c3fc0(0x435)](_0x3d2a9a)),this[_0x5c3fc0(0x105)]();}[_0x346389(0x24c)](_0x5ab41e){var _0x5ea394=_0x346389;if(!(_0x5ab41e[_0x5ea394(0xdc)]<=this[_0x5ea394(0x3a2)][_0x5ea394(0x3ed)](this['unitID']))){if(this[_0x5ea394(0x372)]){this['_remoteChangesetQueue']['push'](_0x5ab41e);return;}this[_0x5ea394(0xf1)](_0x5ab41e);}}['_exhaustRemoteChangesetQueue'](){var _0x66a40=_0x346389;this['_remoteChangesetQueue'][_0x66a40(0x2b3)](_0x7818ba=>this[_0x66a40(0xf1)](_0x7818ba)),this[_0x66a40(0x307)]=[];}[_0x346389(0xf1)](_0xf62eb8){var _0x7aba9b=_0x346389;const _0x2e87a9=this['_compressMutationService']['interceptor'][_0x7aba9b(0x3bb)](this[_0x7aba9b(0x215)][_0x7aba9b(0x14c)][_0x7aba9b(0x328)]()[_0x7aba9b(0x34f)])(_0xf62eb8[_0x7aba9b(0x2aa)],null)||_0xf62eb8[_0x7aba9b(0x2aa)],_0x450466={..._0xf62eb8,'mutations':_0x2e87a9};this[_0x7aba9b(0x3e7)](),this[_0x7aba9b(0x377)](this[_0x7aba9b(0x104)]['onRemoteChangeset'](_0x450466)),this['_unlockTransition']();}[_0x346389(0x3c8)](_0x9705fa){var _0xd090b4=_0x346389;this[_0xd090b4(0x3e7)](),this[_0xd090b4(0x377)](this[_0xd090b4(0x104)]['onRemoteAck'](_0x9705fa)),this['_unlockTransition']();}[_0x346389(0x2f3)](_0xb1d95b){var _0x23ba3e=_0x346389;this[_0x23ba3e(0x3e7)](),this['_updateState'](this[_0x23ba3e(0x104)][_0x23ba3e(0xc7)](_0xb1d95b)),this['_unlockTransition']();}[_0x346389(0x3cb)](_0x21dd3f){var _0x12b08d=_0x346389;this['_lockTransition'](),this[_0x12b08d(0x377)](this['_state'][_0x12b08d(0x117)](_0x21dd3f)),this[_0x12b08d(0x105)]();}[_0x346389(0x170)](_0x5826d2){var _0x3bc115=_0x346389;if(!(this['_state']instanceof exports[_0x3bc115(0x2d5)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x27480d=_0x5826d2[_0x3bc115(0x41e)](_0x4aad3b=>{var _0x15de95=_0x3bc115;const _0x2b1eef=this[_0x15de95(0x215)][_0x15de95(0x14c)]['fetchThroughInterceptors'](this[_0x15de95(0x215)][_0x15de95(0x14c)][_0x15de95(0x328)]()['COMPRESS_MUTATION_APPLY'])(_0x4aad3b[_0x15de95(0x2aa)],null)||_0x4aad3b[_0x15de95(0x2aa)];return{..._0x4aad3b,'mutations':_0x2b1eef};});this[_0x3bc115(0x3e7)](),this[_0x3bc115(0x377)](this['_state'][_0x3bc115(0x2ed)](_0x27480d)),this[_0x3bc115(0x105)]();}[_0x346389(0x1a6)](){var _0x4549b5=_0x346389;this['_lockTransition'](),this[_0x4549b5(0x377)](this[_0x4549b5(0x104)][_0x4549b5(0x1b8)]()),this[_0x4549b5(0x105)]();}[_0x346389(0x1cc)](_0x2b65f9=!0x1){var _0x569852=_0x346389;this[_0x569852(0x3e7)](),this[_0x569852(0x377)](this[_0x569852(0x104)]['toggleOnline']()),this[_0x569852(0x105)]();const _0x111144=this['_state'];_0x2b65f9&&_0x111144 instanceof exports[_0x569852(0x40a)]&&(this[_0x569852(0x3e7)](),this[_0x569852(0x377)](_0x111144[_0x569852(0x256)]()),this['_unlockTransition']());}async[_0x346389(0x3f7)](){return new Promise(_0x1e0841=>{var _0x5b9d7a=_0x2174;this[_0x5b9d7a(0x27c)][_0x5b9d7a(0x137)][_0x5b9d7a(0x442)](j['take'](0x1))['subscribe'](async _0x544c94=>{var _0x50057e=_0x5b9d7a;_0x1e0841(await this['_createInitialStateImpl'](_0x544c94===se[_0x50057e(0x143)]));});});}[_0x346389(0x21d)](){const _0x266408=this['unitID'];return{'onStateChange':(_0x4a4a54,_0x4b849f)=>{var _0x3f0f19=_0x2174;if(_0x4a4a54!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4a4a54[_0x3f0f19(0x119)]+'\x0aAfter:\x20'+_0x4b849f[_0x3f0f19(0x119)]+_0x3f0f19(0x43b)+this[_0x3f0f19(0x104)]['status']);this[_0x3f0f19(0x377)](_0x4b849f);},'onSendChangeset':_0x1b072a=>{var _0x237ff6=_0x2174;_0x1b072a[_0x237ff6(0xe0)]||(_0x1b072a[_0x237ff6(0xe0)]=this[_0x237ff6(0x370)],_0x1b072a['reqId']=++this[_0x237ff6(0x3b5)]);const _0xd5903b={'eventID':E[_0x237ff6(0x3e4)][_0x237ff6(0x3ba)],'data':{'unitID':_0x1b072a[_0x237ff6(0x212)],'unitType':this[_0x237ff6(0x367)],'changeset':_0x1b072a,'memberID':this[_0x237ff6(0x27c)][_0x237ff6(0x2d7)]()}};this['session']['send'](_0xd5903b,this[_0x237ff6(0x212)]);},'onMissingChangesets':({from:_0x11c2de,to:_0x501738})=>{var _0x3fd84f=_0x2174;this[_0x3fd84f(0x306)][_0x3fd84f(0x20f)]('[CollaborationEntity]',_0x3fd84f(0x1fd)+_0x11c2de+_0x3fd84f(0x2da)+_0x501738);const _0x507a00={'eventID':E[_0x3fd84f(0x3e4)][_0x3fd84f(0x40f)],'data':{'unitID':_0x266408,'unitType':this[_0x3fd84f(0x367)],'from':_0x11c2de,'to':_0x501738}};this[_0x3fd84f(0x27c)]['send'](_0x507a00,this[_0x3fd84f(0x212)]);}};}async[_0x346389(0x2dc)](_0x609b7d){var _0x3b2c90=_0x346389,_0x2acc82,_0x3b77ac,_0x11219f;const _0x5923b4=await((_0x2acc82=this[_0x3b2c90(0x249)])==null?void 0x0:_0x2acc82[_0x3b2c90(0x2d0)](this[_0x3b2c90(0x212)])),_0x3af05b=(_0x3b77ac=_0x5923b4==null?void 0x0:_0x5923b4[_0x3b2c90(0x2aa)])!=null?_0x3b77ac:[],_0x2082a6=(_0x11219f=_0x5923b4==null?void 0x0:_0x5923b4[_0x3b2c90(0x14f)])!=null?_0x11219f:null,_0x24aa0b=!!(_0x2082a6!=null&&_0x2082a6['sid'])&&!!(_0x2082a6!=null&&_0x2082a6[_0x3b2c90(0xcb)]);this[_0x3b2c90(0x370)]=_0x24aa0b?_0x2082a6[_0x3b2c90(0xe0)]:E[_0x3b2c90(0x353)](),this[_0x3b2c90(0x3b5)]=_0x24aa0b?_0x2082a6[_0x3b2c90(0xcb)]:0x0;const _0x3eaf5e=this[_0x3b2c90(0x212)];try{this[_0x3b2c90(0x3aa)](_0x2082a6,_0x3af05b);}catch(_0xfae291){this[_0x3b2c90(0x306)][_0x3b2c90(0x286)](_0xfae291);}const _0x2b08b2=this[_0x3b2c90(0x21d)]();if(_0x609b7d){const _0x3377f6=Et(this['_injector'],_0x3eaf5e,this['_type'],_0x2082a6,_0x3af05b,_0x2b08b2);return _0x3377f6 instanceof exports[_0x3b2c90(0x1d4)]?_0x3377f6[_0x3b2c90(0x19c)]():(_0x3377f6 instanceof exports['AwaitingWithPendingState']||_0x3377f6 instanceof exports[_0x3b2c90(0x388)])&&_0x3377f6['resend'](),_0x3377f6;}return this[_0x3b2c90(0x258)]['createInstance'](exports[_0x3b2c90(0x379)],_0x3eaf5e,this[_0x3b2c90(0x367)],_0x2082a6,_0x3af05b,_0x2b08b2);}[_0x346389(0x3aa)](_0x432cf7,_0x4a49b0){var _0x17f776=_0x346389,_0x303ca6,_0x58e8ea;const _0xb76bea=this[_0x17f776(0x215)][_0x17f776(0x14c)][_0x17f776(0x3bb)](this[_0x17f776(0x215)][_0x17f776(0x14c)][_0x17f776(0x328)]()[_0x17f776(0x34f)]);(_0x303ca6=_0xb76bea((_0x432cf7==null?void 0x0:_0x432cf7[_0x17f776(0x2aa)])||[],null))==null||_0x303ca6['forEach'](_0x11f843=>this[_0x17f776(0x13d)][_0x17f776(0x123)](_0x11f843['id'],_0x11f843[_0x17f776(0x12b)])),(_0x58e8ea=_0xb76bea(_0x4a49b0||[],null))==null||_0x58e8ea['forEach'](_0x1fe750=>this['_commandService']['executeCommand'](_0x1fe750['id'],_0x1fe750[_0x17f776(0x12b)]));}},exports[_0x346389(0x1ea)]=Be([$(0x3,o[_0x346389(0x33c)](o['Injector'])),$(0x4,o[_0x346389(0x33c)](E['CompressMutationService'])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o[_0x346389(0x33c)](E[_0x346389(0x300)])),$(0x7,o[_0x346389(0x33c)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o[_0x346389(0x1ac)]),$(0xb,o[_0x346389(0x261)]),$(0xc,o[_0x346389(0x32f)](ve)),$(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1ea)]),exports[_0x346389(0x33a)]=class extends exports[_0x346389(0x1ea)]{constructor(_0x73b07f,_0x40bcfa,_0x5bb185,_0x4aac64,_0x3bf66c,_0x49f432,_0x32c22e,_0x1f2e12,_0x5e562b,_0x278770,_0x5618f2,_0x530b83,_0x5af76b,_0x37de54){var _0x25dce2=_0x346389;super(_0x73b07f,_0x5bb185,_0x40bcfa,_0x4aac64,_0x3bf66c,_0x49f432,_0x32c22e,_0x1f2e12,_0x5e562b,_0x278770,_0x5618f2,_0x530b83,_0x5af76b,_0x37de54),A(this,_0x25dce2(0x343),null),(this[_0x25dce2(0x212)]=_0x73b07f,this[_0x25dce2(0x424)]=_0x40bcfa);}[_0x346389(0xc8)](_0x188ae7){var _0x2af8c0=_0x346389;this[_0x2af8c0(0x343)]=_0x188ae7;}[_0x346389(0x246)](){var _0x4b075d=_0x346389;this[_0x4b075d(0x343)]=null,super[_0x4b075d(0x246)]();}[_0x346389(0x21d)](){var _0x1c8c67=_0x346389;const _0x7a7b42=super[_0x1c8c67(0x21d)]();return _0x7a7b42[_0x1c8c67(0x402)]=_0x8e6777=>{var _0x177c92=_0x1c8c67,_0x245eba,_0x2196da;return(_0x2196da=(_0x245eba=this[_0x177c92(0x343)])==null?void 0x0:_0x245eba['onTransformIME'])==null?void 0x0:_0x2196da[_0x177c92(0x15a)](_0x245eba,_0x8e6777);},_0x7a7b42[_0x1c8c67(0x371)]=_0x80df95=>{var _0x4c7eed=_0x1c8c67,_0x2e5f86,_0x196dda;return(_0x196dda=(_0x2e5f86=this['_handlerCallback'])==null?void 0x0:_0x2e5f86[_0x4c7eed(0x371)])==null?void 0x0:_0x196dda[_0x4c7eed(0x15a)](_0x2e5f86,_0x80df95);},_0x7a7b42[_0x1c8c67(0x14b)]=_0x1f7ddc=>{var _0x29f534=_0x1c8c67,_0x4b02a5,_0x22d3d0;return(_0x22d3d0=(_0x4b02a5=this['_handlerCallback'])==null?void 0x0:_0x4b02a5[_0x29f534(0x14b)])==null?void 0x0:_0x22d3d0[_0x29f534(0x15a)](_0x4b02a5,_0x1f7ddc);},_0x7a7b42['onSyncEditingCollabCursor']=_0x252081=>{var _0x1a5927=_0x1c8c67,_0x4266e2,_0x473eab;return(_0x473eab=(_0x4266e2=this[_0x1a5927(0x343)])==null?void 0x0:_0x4266e2['onSyncEditingCollabCursor'])==null?void 0x0:_0x473eab['call'](_0x4266e2,_0x252081);},_0x7a7b42[_0x1c8c67(0x274)]=_0x372f48=>{var _0x40f7d1=_0x1c8c67,_0x1c2d7d,_0x1b3197,_0x2246c0;if(!((_0x1c2d7d=this[_0x40f7d1(0x343)])!=null&&_0x1c2d7d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x40f7d1(0x2d1));return(_0x2246c0=(_0x1b3197=this[_0x40f7d1(0x343)])==null?void 0x0:_0x1b3197[_0x40f7d1(0x274)])==null?void 0x0:_0x2246c0[_0x40f7d1(0x15a)](_0x1b3197,_0x372f48);},_0x7a7b42[_0x1c8c67(0x295)]=_0x391f6b=>{var _0x104cf7=_0x1c8c67,_0xb0e4dd,_0x376eb8,_0x5f0095;if(!((_0xb0e4dd=this[_0x104cf7(0x343)])!=null&&_0xb0e4dd['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5f0095=(_0x376eb8=this['_handlerCallback'])==null?void 0x0:_0x376eb8[_0x104cf7(0x295)])==null?void 0x0:_0x5f0095['call'](_0x376eb8,_0x391f6b);},_0x7a7b42;}async['_init'](){var _0x348fe8=_0x346389;const _0x3099c4=await super[_0x348fe8(0x206)]();return this[_0x348fe8(0x34e)](this[_0x348fe8(0x13d)][_0x348fe8(0x1c9)]((_0x607684,_0x30294d)=>{var _0x3bdae2=_0x348fe8;if(_0x607684[_0x3bdae2(0x424)]!==o[_0x3bdae2(0x207)][_0x3bdae2(0x1ed)]||_0x30294d!=null&&_0x30294d[_0x3bdae2(0x152)]||_0x30294d!=null&&_0x30294d['onlyLocal']||_0x607684['id']===ct['RichTextEditingMutation']['id'])return;const _0x281862=_0x607684[_0x3bdae2(0x12b)];if((_0x281862==null?void 0x0:_0x281862[_0x3bdae2(0x440)])!==this[_0x3bdae2(0x212)])return;const _0x3fcbbc=_0x607684,_0x4030a8=this[_0x3bdae2(0x215)][_0x3bdae2(0x14c)][_0x3bdae2(0x3bb)](this['_compressMutationService'][_0x3bdae2(0x14c)]['getInterceptPoints']()[_0x3bdae2(0x29e)])([_0x3fcbbc],this[_0x3bdae2(0x334)])||[_0x3fcbbc];this[_0x3bdae2(0x25d)](_0x4030a8[0x0]);})),_0x3099c4;}},exports[_0x346389(0x33a)]=Be([$(0x3,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),$(0x4,o[_0x346389(0x33c)](E[_0x346389(0x166)])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o['Inject'](E[_0x346389(0x300)])),$(0x7,o[_0x346389(0x33c)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x346389(0x245)]),$(0xa,o[_0x346389(0x1ac)]),$(0xb,o[_0x346389(0x261)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x33a)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x239b0d,_0x769583,_0x59046e,_0x5cd748,_0x1b8562,_0x1c327b,_0x253673,_0x40c4a4,_0x549cdc,_0x2cf485,_0x10a03c,_0x4cc1fd,_0x35656a,_0x2014ad,_0x2f70c5){var _0x43a07b=_0x346389;super(_0x239b0d,_0x59046e,_0x769583,_0x5cd748,_0x1b8562,_0x1c327b,_0x253673,_0x549cdc,_0x2cf485,_0x10a03c,_0x4cc1fd,_0x35656a,_0x2014ad,_0x2f70c5),this[_0x43a07b(0x212)]=_0x239b0d,this['type']=_0x769583,this[_0x43a07b(0x3b0)]=_0x40c4a4;}[_0x346389(0x21d)](){var _0x72a566=_0x346389;const _0x2ff55c=super['_createHandler']();return _0x2ff55c[_0x72a566(0x14b)]=_0x40f601=>this[_0x72a566(0x3b0)]['transformSelections'](_0x40f601),_0x2ff55c;}async[_0x346389(0x206)](){var _0x349ad9=_0x346389;const _0x39adc0=await super[_0x349ad9(0x206)]();return this['disposeWithMe'](this[_0x349ad9(0x13d)]['onMutationExecutedForCollab']((_0x4b484c,_0x158375)=>{var _0x1a2fc7=_0x349ad9;if(_0x4b484c['type']!==o[_0x1a2fc7(0x207)][_0x1a2fc7(0x1ed)]||_0x158375!=null&&_0x158375['fromCollab']||_0x158375!=null&&_0x158375[_0x1a2fc7(0x3ae)])return;const _0x2b1e1f=_0x4b484c[_0x1a2fc7(0x12b)];if((_0x2b1e1f==null?void 0x0:_0x2b1e1f[_0x1a2fc7(0x440)])!==this['unitID'])return;const _0x5d0ae8=_0x4b484c,_0x566d5e=this[_0x1a2fc7(0x215)]['interceptor'][_0x1a2fc7(0x3bb)](this[_0x1a2fc7(0x215)][_0x1a2fc7(0x14c)]['getInterceptPoints']()[_0x1a2fc7(0x29e)])([_0x5d0ae8],this[_0x1a2fc7(0x334)])||[_0x5d0ae8];this[_0x1a2fc7(0x25d)](_0x566d5e[0x0]);})),_0x39adc0;}},exports[_0x346389(0x281)]=Be([$(0x3,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),$(0x4,o[_0x346389(0x33c)](E[_0x346389(0x166)])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o[_0x346389(0x33c)](E['RevisionService'])),$(0x7,o[_0x346389(0x33c)](exports['SheetTransformSelectionsService'])),$(0x8,o['Inject'](ee)),$(0x9,o[_0x346389(0x1c6)]),$(0xa,o['ILogService']),$(0xb,o[_0x346389(0x1ac)]),$(0xc,o[_0x346389(0x261)]),$(0xd,o[_0x346389(0x32f)](ve)),$(0xe,o['Optional'](q))],exports[_0x346389(0x281)]);const pt=o['createIdentifier'](_0x346389(0x35e));function mt(_0x35c962){var _0x29c085=_0x346389,_0x1c48d1,_0xd7d89f,_0x19febf,_0x4340a1,_0x3da6b6;const _0x369fa3=_0x35c962[_0x29c085(0x2f9)],_0x3599a=JSON[_0x29c085(0xed)](_0x369fa3);switch(_0x3599a[_0x29c085(0x289)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x3fe452=_0x3599a[_0x29c085(0x380)];return{..._0x3599a,'data':_0x3fe452,'cmd':_0x3599a[_0x29c085(0x289)]};}case W[_0x29c085(0x2d2)]:{const _0x53e323=_0x3599a[_0x29c085(0x169)];return{..._0x3599a,'data':_0x53e323,'cmd':_0x3599a[_0x29c085(0x289)]};}case W[_0x29c085(0x31e)]:{const _0x1f5c46=_0x3599a[_0x29c085(0x189)];switch(_0x1f5c46['eventID']){case E[_0x29c085(0x3e4)]['PERMISSION_REJ']:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x1c48d1=_0x1f5c46[_0x29c085(0x163)])==null?void 0x0:_0x1c48d1['cs']},'cmd':_0x3599a['cmd']};case E[_0x29c085(0x3e4)][_0x29c085(0x1c1)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0xd7d89f=_0x1f5c46[_0x29c085(0x1ee)])==null?void 0x0:_0xd7d89f['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)]['NEW_CHANGESETS']:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x19febf=_0x1f5c46[_0x29c085(0xde)])==null?void 0x0:_0x19febf['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0x2f5)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x4340a1=_0x1f5c46[_0x29c085(0xd1)])==null?void 0x0:_0x4340a1['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x3c0)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x3da6b6=_0x1f5c46['csShouldRetryEvent'])==null?void 0x0:_0x3da6b6['cs']},'cmd':_0x3599a['cmd']};case E['CollaborationEvent'][_0x29c085(0x19e)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['updateCursorEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent']['USERS_ENTER']:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['joinEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x22e)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x149)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x41f)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['liveShareNewHost']},'cmd':_0x3599a['cmd']};case E['CollaborationEvent'][_0x29c085(0x1c2)]:case E[_0x29c085(0x3e4)][_0x29c085(0xdf)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['liveShareOperation']},'cmd':_0x3599a['cmd']};case E[_0x29c085(0x3e4)][_0x29c085(0x26c)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x2e9)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0xf8)]:return{..._0x3599a,'data':_0x1f5c46,'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x30d)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x375)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)]['UPDATE_PERMISSION_OBJ']:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x299)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0x175)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x322)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x356)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['uniscriptRunEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};default:return _0x3599a;}}default:return _0x3599a;}}function gt(_0x1f71db){var _0x21c6a6=_0x346389;switch(_0x1f71db[_0x21c6a6(0x289)]){case W[_0x21c6a6(0x16a)]:case W[_0x21c6a6(0x429)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db['cmd'],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)]});case W['INGEST']:{let _0x3154cd;switch(_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x107)]){case E['CollaborationEvent'][_0x21c6a6(0x19e)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x19e)],'updateCursorEvent':_0x1f71db[_0x21c6a6(0x2f9)]['data']};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x22e)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x22e)],'leaveEvent':_0x1f71db['data'][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x12d)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x12d)],'joinEvent':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E['CollaborationEvent'][_0x21c6a6(0x41f)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x41f)],'liveShareNewHost':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0xdf)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0xdf)],'liveShareOperation':_0x1f71db['data'][_0x21c6a6(0x2f9)]};break;}case E['CollaborationEvent'][_0x21c6a6(0x26c)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x330)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x330)],'liveShareRequestHost':_0x1f71db[_0x21c6a6(0x2f9)]['data']};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x1c2)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3154cd={'eventID':_0x1f71db[_0x21c6a6(0x2f9)]['eventID']};}return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)],'collaMsg':_0x3154cd});}case W[_0x21c6a6(0x2d2)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db['routeKey'],'joinReq':_0x1f71db['data']});case W[_0x21c6a6(0x34b)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)],'leaveReq':_0x1f71db[_0x21c6a6(0x2f9)]});default:throw new Error(_0x21c6a6(0x2bd));}}var ri=Object[_0x346389(0x21c)],ai=(_0xf3788d,_0x333c62,_0x7df0ab,_0x1fc3c3)=>{var _0x28890f=_0x346389;for(var _0x168878=_0x1fc3c3>0x1?void 0x0:_0x1fc3c3?ri(_0x333c62,_0x7df0ab):_0x333c62,_0x4c4f06=_0xf3788d[_0x28890f(0x260)]-0x1,_0x356295;_0x4c4f06>=0x0;_0x4c4f06--)(_0x356295=_0xf3788d[_0x4c4f06])&&(_0x168878=_0x356295(_0x168878)||_0x168878);return _0x168878;},he=(_0xe9d09a,_0x371366)=>(_0x171219,_0x1e1168)=>_0x371366(_0x171219,_0x1e1168,_0xe9d09a);const Fe=o[_0x346389(0x28c)](_0x346389(0x3cc));function oi(_0x23b111,_0x1e4539,_0x47a2ec){var _0x5c309a=_0x346389;return _0x23b111+'/'+_0x1e4539+_0x5c309a(0xf5)+_0x47a2ec+'/new_changes';}exports[_0x346389(0x419)]=class extends o[_0x346389(0x18e)]{constructor(_0x52243c,_0x34dea2,_0x15e644,_0xfdef82,_0x2d058c){var _0x564554=_0x346389;super(),this[_0x564554(0x258)]=_0x52243c,this[_0x564554(0x28d)]=_0x34dea2,this[_0x564554(0x13b)]=_0x15e644,this[_0x564554(0x306)]=_0xfdef82,this[_0x564554(0x312)]=_0x2d058c;}['_doCreateSocket'](_0x1bf60c){var _0x2c2686=_0x346389;const _0x3e8e56=this['_injector'][_0x2c2686(0x16e)](K[_0x2c2686(0x2cb)]);if(!_0x3e8e56)throw new Error(_0x2c2686(0x33f));const _0x138f64=_0x3e8e56['createSocket'](_0x1bf60c);if(!_0x138f64)throw new Error(_0x2c2686(0x42d));const _0x34a13b=new o[(_0x2c2686(0x41d))](),_0x304646=new j[(_0x2c2686(0x1b5))]();_0x34a13b['add'](_0x138f64['close$']['subscribe'](_0x1042ca=>_0x304646[_0x2c2686(0x408)](_0x1042ca))),_0x34a13b[_0x2c2686(0x203)](o['toDisposable'](()=>_0x304646[_0x2c2686(0x339)]()));const _0x35a2f2=new j[(_0x2c2686(0x1b5))]();_0x34a13b[_0x2c2686(0x203)](_0x138f64[_0x2c2686(0x345)][_0x2c2686(0x1f7)](_0x525a0e=>_0x35a2f2[_0x2c2686(0x408)](_0x525a0e))),_0x34a13b['add'](o[_0x2c2686(0x42e)](()=>_0x35a2f2[_0x2c2686(0x339)]()));const _0x157df2=new j[(_0x2c2686(0x1b5))]();_0x34a13b[_0x2c2686(0x203)](_0x138f64[_0x2c2686(0x34a)][_0x2c2686(0x1f7)](_0x2c6d9e=>{var _0x533f49=_0x2c2686;const _0x5be376=mt(_0x2c6d9e);_0x157df2[_0x533f49(0x408)](_0x5be376);})),_0x34a13b[_0x2c2686(0x203)](o[_0x2c2686(0x42e)](()=>_0x157df2[_0x2c2686(0x339)]()));let _0x45991b;const _0x436447=()=>{var _0x24c1e1=_0x2c2686;_0x35a2f2[_0x24c1e1(0x408)](new Event('connection\x20error')),_0x304646[_0x24c1e1(0x408)](new Event(_0x24c1e1(0xe1))),_0x45991b['close']();};return _0x45991b={'memberID':'','close$':_0x304646[_0x2c2686(0x33e)](),'error$':_0x35a2f2['asObservable'](),'open$':_0x138f64[_0x2c2686(0x282)],'message$':_0x157df2[_0x2c2686(0x33e)](),'send':_0x32f663=>{var _0x1dfaf2=_0x2c2686;if(_0x32f663[_0x1dfaf2(0x289)]===W[_0x1dfaf2(0x209)]){if(_0x32f663['data']['eventID']===E['CollaborationEvent'][_0x1dfaf2(0x3ba)]){this[_0x1dfaf2(0x16f)](_0x45991b,_0x32f663[_0x1dfaf2(0x2f9)])[_0x1dfaf2(0x14d)](_0x194b32=>{var _0x1e84e2=_0x1dfaf2;this[_0x1e84e2(0x306)][_0x1e84e2(0x286)](_0x194b32),_0x436447();});return;}if(_0x32f663['data'][_0x1dfaf2(0x107)]===E[_0x1dfaf2(0x3e4)][_0x1dfaf2(0x40f)]){const _0xa76c2d=_0x32f663['data'];this[_0x1dfaf2(0x2c6)](_0xa76c2d)[_0x1dfaf2(0x409)](_0x19a90d=>{var _0x55fd17=_0x1dfaf2;_0x157df2[_0x55fd17(0x408)]({'cmd':W[_0x55fd17(0x31e)],'code':re['OK'],'routeKey':_0xa76c2d[_0x55fd17(0x2f9)][_0x55fd17(0x212)],'routeType':'','data':{'eventID':E[_0x55fd17(0x3e4)][_0x55fd17(0x287)],'data':{'changesets':_0x19a90d}}});})[_0x1dfaf2(0x14d)](_0x7dfdd8=>{var _0x2ac605=_0x1dfaf2;this[_0x2ac605(0x306)][_0x2ac605(0x286)](_0x7dfdd8),_0x436447();});return;}}_0x138f64[_0x1dfaf2(0x36d)](gt(_0x32f663));},'close':()=>{var _0x467632=_0x2c2686;_0x138f64[_0x467632(0x197)](),_0x34a13b['dispose']();}},_0x45991b;}async['_submitChangeset'](_0x3f70e6,_0x12608d){var _0xb6ba2e=_0x346389,_0x4d1993;const {unitType:_0x12121d,unitID:_0x469b5d,changeset:_0x265fb0}=_0x12608d['data'],_0x346945={'unitID':_0x469b5d,'memberID':_0x3f70e6['memberID'],'type':_0x12121d,'changeset':E['parseChangesetToProtocol'](_0x265fb0)},_0x44fcc6=this[_0xb6ba2e(0x13b)][_0xb6ba2e(0x31c)](Y),_0x4db655=oi((_0x4d1993=_0x44fcc6==null?void 0x0:_0x44fcc6[_0xb6ba2e(0x2d3)])!=null?_0x4d1993:$t,_0x12121d,_0x469b5d);try{await this[_0xb6ba2e(0x28d)][_0xb6ba2e(0x27a)](_0x4db655,{'body':_0x346945});}catch(_0x3082f5){throw this[_0xb6ba2e(0x306)]['error'](_0xb6ba2e(0x2fb),_0xb6ba2e(0x1a0)),_0x3082f5;}}async['_fetchMissChangesets'](_0x434bbe){var _0x159dfe=_0x346389;const {unitID:_0x399ba8,from:_0x1355e2,to:_0x5458cc,unitType:_0x4c68c7}=_0x434bbe[_0x159dfe(0x2f9)];return(await this['_snapshotServerService'][_0x159dfe(0x348)]({'metadata':void 0x0},{'unitID':_0x399ba8,'type':_0x4c68c7,'from':_0x1355e2,'to':_0x5458cc}))['changesets'][_0x159dfe(0x41e)](_0x6d9a14=>((_0x6d9a14['mutations']===null||_0x6d9a14['mutations']===void 0x0)&&(_0x6d9a14['mutations']=[]),_0x6d9a14));}},exports[_0x346389(0x419)]=ai([he(0x0,o['Inject'](o['Injector'])),he(0x1,o[_0x346389(0x33c)](K['HTTPService'])),he(0x2,o[_0x346389(0x3ac)]),he(0x3,o['ILogService']),he(0x4,E[_0x346389(0x162)])],exports[_0x346389(0x419)]);var ci=Object[_0x346389(0x21c)],_i=(_0x1ebc84,_0x35f3d0,_0xb1ad44,_0x507fe6)=>{var _0x20a812=_0x346389;for(var _0x5f55e2=_0x507fe6>0x1?void 0x0:_0x507fe6?ci(_0x35f3d0,_0xb1ad44):_0x35f3d0,_0x1c68a7=_0x1ebc84[_0x20a812(0x260)]-0x1,_0x20766a;_0x1c68a7>=0x0;_0x1c68a7--)(_0x20766a=_0x1ebc84[_0x1c68a7])&&(_0x5f55e2=_0x20766a(_0x5f55e2)||_0x5f55e2);return _0x5f55e2;},_e=(_0x4ba113,_0x1e926d)=>(_0xa435a8,_0x437039)=>_0x1e926d(_0xa435a8,_0x437039,_0x4ba113);exports[_0x346389(0x2bf)]=class extends o['Disposable']{constructor(_0x2494db,_0x3addd3,_0x522f59,_0x35434b,_0x35dd5a,_0x276223){var _0x5a0186=_0x346389;super(),A(this,'_socket$',new j[(_0x5a0186(0xfb))](void 0x0)),A(this,_0x5a0186(0x1cd),this[_0x5a0186(0x1e6)][_0x5a0186(0x33e)]()),A(this,_0x5a0186(0x2d9),null),A(this,'_sessions',new Map()),A(this,'_status$',new j[(_0x5a0186(0xfb))](se[_0x5a0186(0x298)])),A(this,'status$',this[_0x5a0186(0x1d9)]['asObservable']()),A(this,_0x5a0186(0x39a),!0x1),A(this,_0x5a0186(0x19a)),A(this,_0x5a0186(0x3ef),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x5a0186(0x305)),(this['_injector']=_0x2494db,this[_0x5a0186(0x306)]=_0x3addd3,this[_0x5a0186(0x13b)]=_0x522f59,this['_socketService']=_0x35434b,this[_0x5a0186(0xcd)]=_0x35dd5a,this[_0x5a0186(0x1a5)]=_0x276223,this['_listenToNetworkCondition']());}get[_0x346389(0x337)](){var _0x172a7e=_0x346389;return this[_0x172a7e(0x1e6)]['getValue']();}[_0x346389(0x3ff)](){var _0x1c4a82=_0x346389;this[_0x1c4a82(0x1a5)]&&this[_0x1c4a82(0x34e)](this[_0x1c4a82(0x1a5)]['online$'][_0x1c4a82(0x1f7)](_0x4e2e82=>{var _0x48645a=_0x1c4a82;_0x4e2e82&&!this['_socket']&&this[_0x48645a(0x3c2)](),_0x4e2e82||this[_0x48645a(0x1cf)]();}));}[_0x346389(0x246)](){var _0x4c4732=_0x346389;super[_0x4c4732(0x246)](),this[_0x4c4732(0x38e)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x4c4732(0x1e5)]['forEach'](_0x307347=>_0x307347[_0x4c4732(0x246)]()),this['_sessions'][_0x4c4732(0x201)](),this[_0x4c4732(0x1d9)]['complete']();}async[_0x346389(0x106)](_0x52bd46){var _0x56defb=_0x346389;if(this[_0x56defb(0x1e5)][_0x56defb(0x266)](_0x52bd46))return this[_0x56defb(0x1e5)][_0x56defb(0x16e)](_0x52bd46);this[_0x56defb(0x405)]();const _0x5e4cf8=this[_0x56defb(0x258)]['createInstance'](exports[_0x56defb(0x141)],_0x52bd46,this[_0x56defb(0x1e6)]['asObservable']());return this['_sessions'][_0x56defb(0xfc)](_0x52bd46,_0x5e4cf8),_0x5e4cf8;}[_0x346389(0x40b)](_0x4a38d2){var _0x1e9f18=_0x346389,_0x4ddb46;const _0x44caa2=this[_0x1e9f18(0x1e5)]['get'](_0x4a38d2);_0x44caa2&&(this['_sessions']['delete'](_0x4a38d2),_0x44caa2[_0x1e9f18(0x197)]()),this['_sessions'][_0x1e9f18(0x373)]||(_0x4ddb46=this[_0x1e9f18(0x337)])==null||_0x4ddb46[_0x1e9f18(0x197)]();}[_0x346389(0x3c2)](){var _0x5f13b4=_0x346389;this[_0x5f13b4(0x3ef)]=0x0,this[_0x5f13b4(0x38e)](),this['_tryReconnect']();}[_0x346389(0x38e)](){var _0x7df9d5=_0x346389;this[_0x7df9d5(0x19a)]!=null&&(clearTimeout(this[_0x7df9d5(0x19a)]),this[_0x7df9d5(0x19a)]=null);}async['_createSocket'](){var _0x3a2cae=_0x346389,_0x5b1a79;const _0xa9ca1d=this['_configService']['getConfig'](Y),_0x99ef3=(_0x5b1a79=_0xa9ca1d==null?void 0x0:_0xa9ca1d[_0x3a2cae(0x19f)])!=null?_0x5b1a79:_t,_0x21d64f=await this[_0x3a2cae(0x3b4)][_0x3a2cae(0x39c)](_0x99ef3);return this[_0x3a2cae(0x2d9)]=_0x21d64f,_0x21d64f;}async[_0x346389(0x405)](){var _0x11f5bf=_0x346389,_0x156fc3,_0x1d2fc7;try{const _0x20558a=(_0x1d2fc7=(_0x156fc3=this[_0x11f5bf(0x337)])!=null?_0x156fc3:this[_0x11f5bf(0x2d9)])!=null?_0x1d2fc7:await this[_0x11f5bf(0x13a)]();if(_0x20558a){const _0x2931e0=_0x20558a[_0x11f5bf(0x36d)];_0x20558a[_0x11f5bf(0x36d)]=_0x3ddf01=>(this[_0x11f5bf(0x271)](),_0x2931e0[_0x11f5bf(0x140)](_0x20558a,[_0x3ddf01])),_0x20558a[_0x11f5bf(0x34a)]['subscribe'](_0x393d58=>this[_0x11f5bf(0x428)](_0x20558a,_0x393d58)),_0x20558a[_0x11f5bf(0x345)][_0x11f5bf(0x442)](V['take'](0x1))[_0x11f5bf(0x1f7)](_0x43c9f2=>this[_0x11f5bf(0x306)][_0x11f5bf(0x286)]('[CollaborationSessionService]:\x20socket\x20error',_0x43c9f2)),_0x20558a[_0x11f5bf(0x282)][_0x11f5bf(0x442)](V[_0x11f5bf(0x35b)](0x1))[_0x11f5bf(0x1f7)](()=>{this['_onConnectionOpen'](_0x20558a);}),_0x20558a['close$'][_0x11f5bf(0x442)](V[_0x11f5bf(0x35b)](0x1))[_0x11f5bf(0x1f7)](_0x3a474c=>{var _0x246101=_0x11f5bf;this[_0x246101(0x306)][_0x246101(0x20f)]('[CollaborationSessionService]',_0x246101(0x195),_0x3a474c),this[_0x246101(0x228)]();});}}catch(_0x57e08b){this[_0x11f5bf(0x306)][_0x11f5bf(0x286)](_0x57e08b),this['_onConnectionFailed']();}}[_0x346389(0x3b9)](_0x24e3fc){var _0x304807=_0x346389;this[_0x304807(0x306)][_0x304807(0x20f)]('[CollaborationSessionService]',_0x304807(0x193)),_0x24e3fc[_0x304807(0x36d)]({'cmd':W[_0x304807(0x429)]}),this[_0x304807(0x271)]();}['_onOffline'](){var _0x12a232=_0x346389;this[_0x12a232(0x39a)]=!0x1,this['_candidateSocket']=null,this[_0x12a232(0x1d9)][_0x12a232(0x408)](se[_0x12a232(0x38b)]),this[_0x12a232(0x1e6)]['next'](null),this[_0x12a232(0x3d5)](),this[_0x12a232(0xfe)]();}[_0x346389(0x228)](){var _0x26bce0=_0x346389,_0x5be8d6;this['_onOffline'](),this[_0x26bce0(0x3ef)]<((_0x5be8d6=this[_0x26bce0(0x13b)][_0x26bce0(0x31c)](ut))!=null?_0x5be8d6:wt)?(this[_0x26bce0(0xcd)][_0x26bce0(0xc5)]({'id':J[_0x26bce0(0x1dc)]}),this[_0x26bce0(0x3da)]()):this[_0x26bce0(0xcd)][_0x26bce0(0xc5)]({'id':J[_0x26bce0(0x13e)]});}[_0x346389(0x3da)](){var _0x4dbcb9=_0x346389,_0x44051f;const _0x202309=this[_0x4dbcb9(0x3ef)],_0x3c2a55=this['_configService'][_0x4dbcb9(0x31c)](Y),_0x4227ad=_0x202309===0x0?0x0:((_0x44051f=_0x3c2a55==null?void 0x0:_0x3c2a55[_0x4dbcb9(0x3e0)])!=null?_0x44051f:Mt)*0x2**_0x202309;this[_0x4dbcb9(0x19a)]=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x4227ad),this[_0x4dbcb9(0x3ef)]+=0x1;}['_onMessage'](_0x7a79e6,_0x5e561f){var _0x3228a7=_0x346389;const {cmd:_0x49abdb}=_0x5e561f;_0x49abdb===W[_0x3228a7(0x429)]&&!this[_0x3228a7(0x39a)]&&(_0x7a79e6[_0x3228a7(0x34c)]=_0x5e561f[_0x3228a7(0x2f9)][_0x3228a7(0x34c)],this[_0x3228a7(0x1e6)][_0x3228a7(0x408)](_0x7a79e6),this[_0x3228a7(0x1d9)][_0x3228a7(0x408)](se[_0x3228a7(0x143)]),this['_socketReady']=!0x0,this[_0x3228a7(0x2d9)]=null),_0x49abdb===W[_0x3228a7(0x16a)]&&this[_0x3228a7(0x3d5)](),this['_rescheduleHeartbeat']();}[_0x346389(0x271)](){var _0x21a5fb=_0x346389,_0x572a75;this[_0x21a5fb(0xfe)](),this[_0x21a5fb(0xd2)]=setTimeout(()=>this[_0x21a5fb(0x1a1)](),(_0x572a75=this[_0x21a5fb(0x13b)][_0x21a5fb(0x31c)](ht))!=null?_0x572a75:Lt);}[_0x346389(0x1a1)](){var _0x5bd1fe=_0x346389;this['_socket'][_0x5bd1fe(0x36d)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x346389(0x441)](){var _0x646903=_0x346389,_0x556a3;this[_0x646903(0x305)]=setTimeout(()=>this[_0x646903(0x228)](),(_0x556a3=this[_0x646903(0x13b)][_0x646903(0x31c)](ke))!=null?_0x556a3:lt);}['_clearHeartbeatTimer'](){var _0x43c557=_0x346389;this[_0x43c557(0xd2)]!=null&&(clearTimeout(this[_0x43c557(0xd2)]),this[_0x43c557(0xd2)]=null);}[_0x346389(0x3d5)](){var _0x3a57ae=_0x346389;this[_0x3a57ae(0x305)]!=null&&(clearTimeout(this[_0x3a57ae(0x305)]),this[_0x3a57ae(0x305)]=null);}},exports[_0x346389(0x2bf)]=_i([_e(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),_e(0x1,o[_0x346389(0x245)]),_e(0x2,o[_0x346389(0x3ac)]),_e(0x3,Fe),_e(0x4,o[_0x346389(0x33c)](ee)),_e(0x5,o[_0x346389(0x32f)](pt))],exports[_0x346389(0x2bf)]);var hi=Object[_0x346389(0x21c)],li=(_0x4f3115,_0x4ef580,_0x33b6f9,_0x318b4f)=>{var _0x2c868f=_0x346389;for(var _0x43f7ed=_0x318b4f>0x1?void 0x0:_0x318b4f?hi(_0x4ef580,_0x33b6f9):_0x4ef580,_0x143d99=_0x4f3115[_0x2c868f(0x260)]-0x1,_0x9ea4ff;_0x143d99>=0x0;_0x143d99--)(_0x9ea4ff=_0x4f3115[_0x143d99])&&(_0x43f7ed=_0x9ea4ff(_0x43f7ed)||_0x43f7ed);return _0x43f7ed;},Se=(_0x4e856c,_0x1cfcb3)=>(_0x40416a,_0x1d0bdd)=>_0x1cfcb3(_0x40416a,_0x1d0bdd,_0x4e856c);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x5ce176,_0x2d7795,_0x4da3a6,_0x3e1c2e){var _0x3e0054=_0x346389,_0x6a076a;super(),A(this,'_entities',new Map()),A(this,_0x3e0054(0x426),new j[(_0x3e0054(0x1b5))]()),A(this,_0x3e0054(0x3ee),this[_0x3e0054(0x426)][_0x3e0054(0x33e)]()),(this[_0x3e0054(0x258)]=_0x5ce176,this[_0x3e0054(0x24a)]=_0x2d7795,this[_0x3e0054(0x13b)]=_0x4da3a6,this[_0x3e0054(0x334)]=_0x3e1c2e,((_0x6a076a=this['_configService'][_0x3e0054(0x31c)](Y))==null?void 0x0:_0x6a076a[_0x3e0054(0x18d)])!==!0x1&&this[_0x3e0054(0x206)]());}[_0x346389(0x246)](){var _0x396204=_0x346389;super[_0x396204(0x246)](),this['_entities'][_0x396204(0x2b3)](_0x8e2c43=>_0x8e2c43['dispose']()),this[_0x396204(0x296)]['clear']();}['getCollabEntity'](_0x112b1f){var _0x2db551=_0x346389,_0x5616a1;return(_0x5616a1=this[_0x2db551(0x296)]['get'](_0x112b1f))!=null?_0x5616a1:null;}['getCollabEntity$'](_0x491222){var _0x37964b=_0x346389;const _0xe98a7=this[_0x37964b(0x2c9)](_0x491222);return _0xe98a7?j['of'](_0xe98a7):this[_0x37964b(0x426)][_0x37964b(0x442)](V[_0x37964b(0x2ca)](_0x28d412=>_0x28d412['unitID']===_0x491222));}['readyForCollab'](_0x3f2b42){var _0x4ffe8c=_0x346389;return j['firstValueFrom'](this['getCollabEntity$'](_0x3f2b42)[_0x4ffe8c(0x442)](V[_0x4ffe8c(0x41e)](()=>{})));}[_0x346389(0x206)](){var _0xae5c66=_0x346389;this[_0xae5c66(0x334)][_0xae5c66(0x2e4)](o['UniverInstanceType'][_0xae5c66(0x30c)])[_0xae5c66(0x442)](j[_0xae5c66(0x3bf)](this[_0xae5c66(0x2bb)]),V[_0xae5c66(0x3ca)](0x10))[_0xae5c66(0x1f7)](async _0x41cba2=>{var _0x3a9207=_0xae5c66;const _0x58bed8=_0x41cba2['getUnitId'](),_0x5ed64f=await this[_0x3a9207(0xda)](_0x58bed8,X[_0x3a9207(0x30c)]);this[_0x3a9207(0x296)][_0x3a9207(0xfc)](_0x58bed8,_0x5ed64f);}),this[_0xae5c66(0x334)][_0xae5c66(0x2e4)](o[_0xae5c66(0x187)][_0xae5c66(0xf3)])[_0xae5c66(0x442)](j[_0xae5c66(0x3bf)](this[_0xae5c66(0x2bb)]),V[_0xae5c66(0x3ca)](0x10))[_0xae5c66(0x442)](V['filter'](_0x108c6e=>!_0x108c6e[_0xae5c66(0x20c)]()[_0xae5c66(0x278)]('__')))[_0xae5c66(0x1f7)](async _0x5c80a5=>{var _0x2170f3=_0xae5c66;const _0x726815=_0x5c80a5[_0x2170f3(0x20c)](),_0x4cd649=await this[_0x2170f3(0xda)](_0x726815,X[_0x2170f3(0xf3)]);this[_0x2170f3(0x296)]['set'](_0x726815,_0x4cd649);}),j[_0xae5c66(0x39d)](this[_0xae5c66(0x334)][_0xae5c66(0x2ec)](o['UniverInstanceType'][_0xae5c66(0x30c)]),this[_0xae5c66(0x334)][_0xae5c66(0x2ec)](o['UniverInstanceType']['UNIVER_DOC']))['pipe'](j[_0xae5c66(0x3bf)](this['dispose$']))[_0xae5c66(0x1f7)](_0x22b2d4=>{var _0x37aec1=_0xae5c66;const _0x5aec9e=_0x22b2d4[_0x37aec1(0x20c)](),_0x19173f=this['_entities']['get'](_0x5aec9e);_0x19173f&&(_0x19173f[_0x37aec1(0x246)](),this[_0x37aec1(0x296)][_0x37aec1(0x1b7)](_0x5aec9e));});}async['_startCollaboration'](_0x134017,_0xac7e04){var _0x39e044=_0x346389;const _0x47e8b2=await this[_0x39e044(0x24a)][_0x39e044(0x106)](_0x134017),_0x2ccd19=this['_injector'][_0x39e044(0x3b3)](this[_0x39e044(0x191)](_0xac7e04),_0x134017,_0xac7e04,_0x47e8b2);return await _0x2ccd19[_0x39e044(0x1e3)](),this[_0x39e044(0x426)]['next'](_0x2ccd19),_0x2ccd19;}[_0x346389(0x191)](_0x548b29){var _0x4cb5ef=_0x346389;switch(_0x548b29){case X['UNIVER_DOC']:return exports[_0x4cb5ef(0x33a)];case X[_0x4cb5ef(0x30c)]:return exports[_0x4cb5ef(0x281)];default:throw new Error(_0x4cb5ef(0x2ee)+_0x548b29);}}},exports[_0x346389(0x10a)]=li([Se(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),Se(0x1,o[_0x346389(0x33c)](exports[_0x346389(0x2bf)])),Se(0x2,o[_0x346389(0x3ac)]),Se(0x3,o[_0x346389(0x1c6)])],exports[_0x346389(0x10a)]);var ui=Object[_0x346389(0x21c)],vi=(_0x5c7500,_0x526371,_0x4129ee,_0x4cc7db)=>{var _0x1c871d=_0x346389;for(var _0x2bac8f=_0x4cc7db>0x1?void 0x0:_0x4cc7db?ui(_0x526371,_0x4129ee):_0x526371,_0x1779c2=_0x5c7500[_0x1c871d(0x260)]-0x1,_0x5bab71;_0x1779c2>=0x0;_0x1779c2--)(_0x5bab71=_0x5c7500[_0x1779c2])&&(_0x2bac8f=_0x5bab71(_0x2bac8f)||_0x2bac8f);return _0x2bac8f;},Ye=(_0x56db22,_0x32af61)=>(_0x4977e5,_0x5ccad2)=>_0x32af61(_0x4977e5,_0x5ccad2,_0x56db22);const di=_0x346389(0x37e),Si=_0x346389(0x146);let xe=class extends o[_0x346389(0x18e)]{constructor(_0x520cea,_0x2cd5a2){var _0x41a294=_0x346389;super(),this[_0x41a294(0x334)]=_0x520cea,this['_configService']=_0x2cd5a2,this[_0x41a294(0x206)]();}[_0x346389(0x206)](){var _0x3d9350=_0x346389;this[_0x3d9350(0x34e)](this[_0x3d9350(0x334)]['focused$'][_0x3d9350(0x1f7)](()=>{var _0x50f8b5=_0x3d9350,_0x4c2e7b;const _0x1205fb=this['_univerInstanceService'][_0x50f8b5(0x2a7)]();let _0x2630ee=(_0x4c2e7b=this[_0x50f8b5(0x13b)][_0x50f8b5(0x31c)](di))!=null?_0x4c2e7b:Si;_0x1205fb instanceof o[_0x50f8b5(0x3af)]&&(_0x2630ee=_0x1205fb[_0x50f8b5(0x2c0)]),document['title']=_0x2630ee;}));}};xe=vi([Ye(0x0,o[_0x346389(0x1c6)]),Ye(0x1,o[_0x346389(0x3ac)])],xe);var Ii=Object[_0x346389(0x21c)],fi=(_0x4c2bc0,_0x1e801e,_0x51d7cc,_0x435f90)=>{var _0x15cc77=_0x346389;for(var _0x57c117=_0x435f90>0x1?void 0x0:_0x435f90?Ii(_0x1e801e,_0x51d7cc):_0x1e801e,_0x4a4348=_0x4c2bc0[_0x15cc77(0x260)]-0x1,_0x35e8ee;_0x4a4348>=0x0;_0x4a4348--)(_0x35e8ee=_0x4c2bc0[_0x4a4348])&&(_0x57c117=_0x35e8ee(_0x57c117)||_0x57c117);return _0x57c117;},Ae=(_0x4dfa05,_0x589ab3)=>(_0x1e43e9,_0x5d508f)=>_0x589ab3(_0x1e43e9,_0x5d508f,_0x4dfa05);let Ne=class{constructor(_0x487791,_0x1a3381,_0x4e8067){var _0xce589b=_0x346389;this['_configService']=_0x487791,this['_httpService']=_0x1a3381,this[_0xce589b(0x192)]=_0x4e8067,this[_0xce589b(0x1e3)]();}[_0x346389(0x1e3)](){var _0x4f55e5=_0x346389;this[_0x4f55e5(0x28d)][_0x4f55e5(0x205)]({'priority':0x1,'interceptor':(_0x1e2b18,_0x281a77)=>_0x281a77(_0x1e2b18)[_0x4f55e5(0x442)](j['concatMap'](async _0xd92be=>{var _0x4be202=_0x4f55e5;const _0x42b3a9=_0xd92be;if(_0x42b3a9[_0x4be202(0x119)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4be202(0x34d)](this[_0x4be202(0x192)]['t']('auth.needGotoLoginAlert'))){const _0x443a17=window['encodeURIComponent'](window['location'][_0x4be202(0x239)]);window['location'][_0x4be202(0x239)]=this[_0x4be202(0x17a)]()+_0x4be202(0x37a)+_0x443a17;}}return _0x42b3a9;}))});}['_getLoginPath'](){var _0x1b24c0=_0x346389,_0x2811c9;const _0x845201=this[_0x1b24c0(0x13b)][_0x1b24c0(0x31c)](Y);return(_0x2811c9=_0x845201==null?void 0x0:_0x845201['loginUrlKey'])!=null?_0x2811c9:Ht;}};Ne=fi([Ae(0x0,o[_0x346389(0x3ac)]),Ae(0x1,o[_0x346389(0x33c)](K[_0x346389(0x3d7)])),Ae(0x2,o[_0x346389(0x33c)](o[_0x346389(0x3dc)]))],Ne);var Ei=Object[_0x346389(0x21c)],pi=(_0x270935,_0x39b3f5,_0x4b3e8e,_0x4a3015)=>{for(var _0x1d63e1=_0x4a3015>0x1?void 0x0:_0x4a3015?Ei(_0x39b3f5,_0x4b3e8e):_0x39b3f5,_0x3054db=_0x270935['length']-0x1,_0x41b4df;_0x3054db>=0x0;_0x3054db--)(_0x41b4df=_0x270935[_0x3054db])&&(_0x1d63e1=_0x41b4df(_0x1d63e1)||_0x1d63e1);return _0x1d63e1;},Ke=(_0x3b9f4d,_0x29393a)=>(_0x45ab2c,_0xbfcb0a)=>_0x29393a(_0x45ab2c,_0xbfcb0a,_0x3b9f4d);const mi=_0x346389(0x363);exports['AuthzIoHttpService']=class extends o[_0x346389(0x18e)]{constructor(_0x129dc6,_0x5d1697){var _0x3cd24c=_0x346389;super(),this[_0x3cd24c(0x2e3)]=_0x129dc6,this[_0x3cd24c(0x13b)]=_0x5d1697,this[_0x3cd24c(0x317)]();}[_0x346389(0x317)](){var _0x20a3fe=_0x346389;const _0xe3a8e8=this;this['disposeWithMe'](this[_0x20a3fe(0x2e3)][_0x20a3fe(0x205)]({'priority':0x3e7,'interceptor':K[_0x20a3fe(0x133)]({'isMatch'(_0x20ce4d){var _0x372798=_0x20a3fe,_0x48b4ed;if(_0x20ce4d[_0x372798(0x3c6)]===_0x372798(0x3be)&&((_0x48b4ed=_0x20ce4d[_0x372798(0x382)])!=null&&_0x48b4ed[_0x372798(0x144)])){const {objectID:_0x13736f,objectType:_0x2433b5}=_0x20ce4d[_0x372798(0x382)]['body']||{};if(!_0x13736f||_0x2433b5===void 0x0)return!0x1;const _0x30f841=_0xe3a8e8['_getAPIPrefixPath']()+'/'+_0x2433b5+_0x372798(0x210)+_0x13736f+_0x372798(0x395);if(_0x20ce4d[_0x372798(0x1b0)]===_0x30f841)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c5dca){var _0x2d4aaf=_0x20a3fe,_0x3a3c60;return(_0x3a3c60=_0x4c5dca[_0x2d4aaf(0x382)])==null?void 0x0:_0x3a3c60[_0x2d4aaf(0x144)];},'mergeParamsToRequest'(_0x4a8d60,_0x1ff527){var _0x2e6442=_0x20a3fe;const _0x2f3ad9=_0xe3a8e8[_0x2e6442(0x324)]()+_0x2e6442(0x303),_0x5ab6eb=_0x4a8d60[_0x2e6442(0x43a)]((_0x13bfd3,_0x34c32b)=>{var _0x4884a7=_0x2e6442;const {unitID:_0x57a26c,objectID:_0x2dcb98,objectType:_0x54b06c,actions:_0x2b1765}=_0x34c32b;return _0x13bfd3[_0x57a26c]||(_0x13bfd3[_0x57a26c]={}),_0x13bfd3[_0x57a26c][_0x2dcb98]||(_0x13bfd3[_0x57a26c][_0x2dcb98]={'objectID':_0x2dcb98,'objectType':_0x54b06c,'actions':[]}),_0x13bfd3[_0x57a26c][_0x2dcb98][_0x4884a7(0x396)][_0x4884a7(0x179)](..._0x2b1765),_0x13bfd3;},{}),_0x36eef9=[];for(const _0x54f428 in _0x5ab6eb)for(const _0x11ff68 in _0x5ab6eb[_0x54f428]){const {actions:_0x2a1693,objectType:_0x51ca05}=_0x5ab6eb[_0x54f428][_0x11ff68],_0x5f9611=[...new Set(_0x2a1693)];_0x36eef9['push']({'unitID':_0x54f428,'objectID':_0x11ff68,'objectType':_0x51ca05,'actions':_0x5f9611});}return new K['HTTPRequest']('POST',_0x2f3ad9,{'headers':_0x1ff527['headers'],'withCredentials':_0x1ff527[_0x2e6442(0x1db)],'responseType':_0x1ff527[_0x2e6442(0x1fa)],'body':{'requests':_0x36eef9}});}},{'distributeResult'(_0x566d2c,_0x172841){var _0x2228ee=_0x20a3fe;const {objectActions:_0x4df6fe}=_0x566d2c;return _0x172841[_0x2228ee(0x41e)](_0x2e02ba=>{var _0x26858b=_0x2228ee;const {unitID:_0x3a292b,objectID:_0xec63f7,actions:_0x1dcb39}=_0x2e02ba,_0x1733e1=_0x4df6fe[_0x26858b(0x347)](_0x3bf354=>_0x3bf354[_0x26858b(0x212)]===_0x3a292b&&_0x3bf354['objectID']===_0xec63f7),_0x3ac889=_0x1dcb39[_0x26858b(0x41e)](_0x13d54c=>_0x1733e1==null?void 0x0:_0x1733e1[_0x26858b(0x396)][_0x26858b(0x347)](_0x32c3ac=>_0x32c3ac[_0x26858b(0x439)]===_0x13d54c))[_0x26858b(0x2ca)](_0x4e2f3b=>!!_0x4e2f3b);return{'config':_0x2e02ba,'result':{'actions':_0x3ac889,'error':_0x566d2c[_0x26858b(0x286)]}};});}})}));}[_0x346389(0x324)](){var _0x431874=_0x346389,_0x2f23d1;const _0x47a31e=this[_0x431874(0x13b)][_0x431874(0x31c)](Y);return(_0x2f23d1=_0x47a31e==null?void 0x0:_0x47a31e[_0x431874(0x1de)])!=null?_0x2f23d1:mi;}async[_0x346389(0x29c)](_0x454dc8){var _0x413980=_0x346389;const _0x1fa23e=this[_0x413980(0x324)]()+'/'+_0x454dc8[_0x413980(0xd4)]+_0x413980(0x3ab);return(await this['_HTTPService']['post'](_0x1fa23e,{'body':_0x454dc8}))['body'][_0x413980(0x151)]||'';}async[_0x346389(0x2e2)](_0x12ac9a){var _0x3e3eb7=_0x346389;const _0x38a2c8=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3e3eb7(0x2e3)][_0x3e3eb7(0x27a)](_0x38a2c8,{'body':_0x12ac9a}))[_0x3e3eb7(0x144)][_0x3e3eb7(0x2a5)];}async[_0x346389(0x247)](_0x16b18d){var _0x3631e6=_0x346389,_0x2babba,_0x59ee93;const _0x3d17b9=this[_0x3631e6(0x324)]()+'/'+_0x16b18d[_0x3631e6(0xd4)]+_0x3631e6(0x210)+_0x16b18d[_0x3631e6(0x151)],_0x5e86a1=await this[_0x3631e6(0x2e3)][_0x3631e6(0x100)](_0x3d17b9,{'body':_0x16b18d});if(((_0x59ee93=(_0x2babba=_0x5e86a1==null?void 0x0:_0x5e86a1[_0x3631e6(0x144)])==null?void 0x0:_0x2babba[_0x3631e6(0x286)])==null?void 0x0:_0x59ee93['code'])!==0x1)throw new Error(_0x3631e6(0x37c));}async[_0x346389(0x43d)](_0x2dee1d){var _0x4d1b20=_0x346389;const _0x21b419=this[_0x4d1b20(0x324)]()+'/'+_0x2dee1d[_0x4d1b20(0xd4)]+'/object/'+_0x2dee1d['objectID']+_0x4d1b20(0x395);return(await this[_0x4d1b20(0x2e3)][_0x4d1b20(0x27a)](_0x21b419,{'body':_0x2dee1d}))[_0x4d1b20(0x144)]['actions'];}async[_0x346389(0x224)](_0x3e1187){var _0x4ef410=_0x346389;const _0x2a2122=this[_0x4ef410(0x324)]()+_0x4ef410(0x303);return(await this[_0x4ef410(0x2e3)][_0x4ef410(0x27a)](_0x2a2122,{'body':{'requests':_0x3e1187}}))[_0x4ef410(0x144)][_0x4ef410(0x22a)];}async['listRoles'](_0x4b4f0e){var _0x124e98=_0x346389;const _0x1ded5d=this[_0x124e98(0x324)]()+'/'+_0x4b4f0e[_0x124e98(0xd4)]+_0x124e98(0x30b),_0x48ea12=await this[_0x124e98(0x2e3)]['post'](_0x1ded5d,{'body':_0x4b4f0e});return{'roles':_0x48ea12['body'][_0x124e98(0x338)],'actions':_0x48ea12['body'][_0x124e98(0x396)]};}async['deleteCollaborator'](_0x116566){var _0xba0468=_0x346389;const _0x1e1c41=this[_0xba0468(0x324)]()+'/collaborator';await this[_0xba0468(0x2e3)]['delete'](_0x1e1c41,{'params':{'collaboratorID':_0x116566[_0xba0468(0x1e2)],'objectID':_0x116566[_0xba0468(0x151)],'unitID':_0x116566[_0xba0468(0x212)]}});}async[_0x346389(0x1ba)](_0x3a54b6){var _0x37d776=_0x346389;const _0x11a735=this[_0x37d776(0x324)]()+_0x37d776(0x3d4);await this['_HTTPService'][_0x37d776(0x2cc)](_0x11a735,{'body':_0x3a54b6});}async[_0x346389(0x38c)](_0x31cdc0){var _0x2fe37e=_0x346389;const _0x3ef6e0=this[_0x2fe37e(0x324)]()+_0x2fe37e(0x3d4);await this[_0x2fe37e(0x2e3)][_0x2fe37e(0x27a)](_0x3ef6e0,{'body':_0x31cdc0});}async[_0x346389(0x308)](_0x20c3f0){var _0x44831b=_0x346389;const _0x193d85=this[_0x44831b(0x324)]()+'/collaborator';return(await this[_0x44831b(0x2e3)][_0x44831b(0x16e)](_0x193d85,{'params':{'objectID':_0x20c3f0['objectID'],'unitID':_0x20c3f0['unitID']}}))[_0x44831b(0x144)][_0x44831b(0x3c7)];}async[_0x346389(0x38a)](_0x3b53be){var _0x499998=_0x346389;const _0x547d71=this[_0x499998(0x324)]()+_0x499998(0x3d4);await this['_HTTPService'][_0x499998(0x100)](_0x547d71,{'body':_0x3b53be});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o['Inject'](K[_0x346389(0x3d7)])),Ke(0x1,o[_0x346389(0x33c)](o['IConfigService']))],exports[_0x346389(0x1b2)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x548c0a){var _0x22d33f=_0x346389;return _0x548c0a&&_0x548c0a[_0x22d33f(0xd5)]&&Object[_0x22d33f(0x2b4)][_0x22d33f(0x352)][_0x22d33f(0x15a)](_0x548c0a,_0x22d33f(0x36c))?_0x548c0a[_0x22d33f(0x36c)]:_0x548c0a;}function _0x2174(_0x41bdd3,_0x2a9c38){_0x41bdd3=_0x41bdd3-0xbd;var _0x37886b=_0x3788();var _0x217447=_0x37886b[_0x41bdd3];return _0x217447;}var Ie={'exports':{}};function gi(_0x5498cf){var _0x417ab6=_0x346389;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5498cf+_0x417ab6(0x244));}var fe={'exports':{}},Ti=fe[_0x346389(0x17d)],qe;function Z(){var _0x3027cb=_0x346389;return qe||(qe=0x1,function(_0x4ef3a5,_0x479a7e){(function(_0x11659a,_0x54e1af){var _0x13cc8e=_0x2174;_0x4ef3a5[_0x13cc8e(0x17d)]=_0x54e1af();}(Ti,function(){var _0xd51ea8=_0xd51ea8||function(_0x2bbc03,_0x3bad69){var _0x3bba86=_0x2174,_0x24106b;if(typeof window<'u'&&window[_0x3bba86(0x124)]&&(_0x24106b=window[_0x3bba86(0x124)]),typeof self<'u'&&self['crypto']&&(_0x24106b=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3bba86(0x124)]&&(_0x24106b=globalThis[_0x3bba86(0x124)]),!_0x24106b&&typeof window<'u'&&window[_0x3bba86(0x220)]&&(_0x24106b=window[_0x3bba86(0x220)]),!_0x24106b&&typeof Pe<'u'&&Pe[_0x3bba86(0x124)]&&(_0x24106b=Pe[_0x3bba86(0x124)]),!_0x24106b&&typeof gi==_0x3bba86(0x3e6))try{_0x24106b=require('crypto');}catch{}var _0x284ac8=function(){var _0x3baa9f=_0x3bba86;if(_0x24106b){if(typeof _0x24106b[_0x3baa9f(0x315)]==_0x3baa9f(0x3e6))try{return _0x24106b[_0x3baa9f(0x315)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24106b[_0x3baa9f(0x2fd)]==_0x3baa9f(0x3e6))try{return _0x24106b[_0x3baa9f(0x2fd)](0x4)[_0x3baa9f(0x1ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x51cdeb=Object[_0x3bba86(0x29c)]||(function(){function _0x1b2ff4(){}return function(_0x2617a2){var _0x37068d=_0x2174,_0x160a24;return _0x1b2ff4[_0x37068d(0x2b4)]=_0x2617a2,_0x160a24=new _0x1b2ff4(),_0x1b2ff4[_0x37068d(0x2b4)]=null,_0x160a24;};}()),_0x391414={},_0x10f409=_0x391414['lib']={},_0x2f2d39=_0x10f409[_0x3bba86(0x1b9)]=(function(){return{'extend':function(_0x3317e9){var _0xaa4426=_0x2174,_0x6a8dad=_0x51cdeb(this);return _0x3317e9&&_0x6a8dad[_0xaa4426(0x2e6)](_0x3317e9),(!_0x6a8dad[_0xaa4426(0x352)](_0xaa4426(0x1e3))||this['init']===_0x6a8dad['init'])&&(_0x6a8dad[_0xaa4426(0x1e3)]=function(){var _0x1cfa5e=_0xaa4426;_0x6a8dad[_0x1cfa5e(0x3a4)]['init'][_0x1cfa5e(0x140)](this,arguments);}),_0x6a8dad[_0xaa4426(0x1e3)]['prototype']=_0x6a8dad,_0x6a8dad[_0xaa4426(0x3a4)]=this,_0x6a8dad;},'create':function(){var _0x2389c2=_0x2174,_0x5ac1df=this['extend']();return _0x5ac1df[_0x2389c2(0x1e3)][_0x2389c2(0x140)](_0x5ac1df,arguments),_0x5ac1df;},'init':function(){},'mixIn':function(_0x28f209){var _0x3be6ad=_0x2174;for(var _0x35ae99 in _0x28f209)_0x28f209[_0x3be6ad(0x352)](_0x35ae99)&&(this[_0x35ae99]=_0x28f209[_0x35ae99]);_0x28f209['hasOwnProperty'](_0x3be6ad(0x3c3))&&(this['toString']=_0x28f209['toString']);},'clone':function(){var _0x23e24c=_0x2174;return this[_0x23e24c(0x1e3)][_0x23e24c(0x2b4)]['extend'](this);}};}()),_0x1588c3=_0x10f409['WordArray']=_0x2f2d39[_0x3bba86(0xe3)]({'init':function(_0x5ab5e7,_0x25cba1){var _0x69e549=_0x3bba86;_0x5ab5e7=this[_0x69e549(0x3fc)]=_0x5ab5e7||[],_0x25cba1!=_0x3bad69?this['sigBytes']=_0x25cba1:this['sigBytes']=_0x5ab5e7[_0x69e549(0x260)]*0x4;},'toString':function(_0x175cc8){var _0x135062=_0x3bba86;return(_0x175cc8||_0x54380f)[_0x135062(0x3cf)](this);},'concat':function(_0x21f1ed){var _0x54db88=_0x3bba86,_0x4d2e65=this[_0x54db88(0x3fc)],_0x559563=_0x21f1ed[_0x54db88(0x3fc)],_0x18f7ee=this[_0x54db88(0x1ad)],_0x1f97af=_0x21f1ed[_0x54db88(0x1ad)];if(this[_0x54db88(0x3fe)](),_0x18f7ee%0x4)for(var _0x2cb61d=0x0;_0x2cb61d<_0x1f97af;_0x2cb61d++){var _0x5772a8=_0x559563[_0x2cb61d>>>0x2]>>>0x18-_0x2cb61d%0x4*0x8&0xff;_0x4d2e65[_0x18f7ee+_0x2cb61d>>>0x2]|=_0x5772a8<<0x18-(_0x18f7ee+_0x2cb61d)%0x4*0x8;}else{for(var _0x103ac7=0x0;_0x103ac7<_0x1f97af;_0x103ac7+=0x4)_0x4d2e65[_0x18f7ee+_0x103ac7>>>0x2]=_0x559563[_0x103ac7>>>0x2];}return this[_0x54db88(0x1ad)]+=_0x1f97af,this;},'clamp':function(){var _0x1db0a0=_0x3bba86,_0x444824=this['words'],_0x1e0e83=this[_0x1db0a0(0x1ad)];_0x444824[_0x1e0e83>>>0x2]&=0xffffffff<<0x20-_0x1e0e83%0x4*0x8,_0x444824[_0x1db0a0(0x260)]=_0x2bbc03['ceil'](_0x1e0e83/0x4);},'clone':function(){var _0x2178db=_0x3bba86,_0x51ed65=_0x2f2d39[_0x2178db(0x42f)][_0x2178db(0x15a)](this);return _0x51ed65[_0x2178db(0x3fc)]=this['words'][_0x2178db(0x25f)](0x0),_0x51ed65;},'random':function(_0x26d09f){var _0x5886be=_0x3bba86;for(var _0x51f6d0=[],_0x33acc1=0x0;_0x33acc1<_0x26d09f;_0x33acc1+=0x4)_0x51f6d0[_0x5886be(0x179)](_0x284ac8());return new _0x1588c3['init'](_0x51f6d0,_0x26d09f);}}),_0x542ce5=_0x391414[_0x3bba86(0x231)]={},_0x54380f=_0x542ce5[_0x3bba86(0x257)]={'stringify':function(_0x2cf559){var _0x12a1ac=_0x3bba86;for(var _0x241610=_0x2cf559['words'],_0xa4fff3=_0x2cf559[_0x12a1ac(0x1ad)],_0x44c26f=[],_0x1bb305=0x0;_0x1bb305<_0xa4fff3;_0x1bb305++){var _0x20c4db=_0x241610[_0x1bb305>>>0x2]>>>0x18-_0x1bb305%0x4*0x8&0xff;_0x44c26f[_0x12a1ac(0x179)]((_0x20c4db>>>0x4)[_0x12a1ac(0x3c3)](0x10)),_0x44c26f[_0x12a1ac(0x179)]((_0x20c4db&0xf)[_0x12a1ac(0x3c3)](0x10));}return _0x44c26f['join']('');},'parse':function(_0x327831){var _0x17afbd=_0x3bba86;for(var _0x54c8cd=_0x327831[_0x17afbd(0x260)],_0x2a587d=[],_0x22c624=0x0;_0x22c624<_0x54c8cd;_0x22c624+=0x2)_0x2a587d[_0x22c624>>>0x3]|=parseInt(_0x327831[_0x17afbd(0x376)](_0x22c624,0x2),0x10)<<0x18-_0x22c624%0x8*0x4;return new _0x1588c3[(_0x17afbd(0x1e3))](_0x2a587d,_0x54c8cd/0x2);}},_0xaebb27=_0x542ce5[_0x3bba86(0x36e)]={'stringify':function(_0x2f4a19){var _0x221394=_0x3bba86;for(var _0x464c75=_0x2f4a19[_0x221394(0x3fc)],_0x434d37=_0x2f4a19['sigBytes'],_0x3a9c6a=[],_0x339f18=0x0;_0x339f18<_0x434d37;_0x339f18++){var _0x4d84fc=_0x464c75[_0x339f18>>>0x2]>>>0x18-_0x339f18%0x4*0x8&0xff;_0x3a9c6a[_0x221394(0x179)](String[_0x221394(0x416)](_0x4d84fc));}return _0x3a9c6a[_0x221394(0x327)]('');},'parse':function(_0x520401){var _0x5e254d=_0x3bba86;for(var _0x14e9df=_0x520401[_0x5e254d(0x260)],_0x96a657=[],_0xef4f52=0x0;_0xef4f52<_0x14e9df;_0xef4f52++)_0x96a657[_0xef4f52>>>0x2]|=(_0x520401['charCodeAt'](_0xef4f52)&0xff)<<0x18-_0xef4f52%0x4*0x8;return new _0x1588c3[(_0x5e254d(0x1e3))](_0x96a657,_0x14e9df);}},_0x24ddcc=_0x542ce5[_0x3bba86(0x2cd)]={'stringify':function(_0x568eba){var _0x58fbae=_0x3bba86;try{return decodeURIComponent(escape(_0xaebb27[_0x58fbae(0x3cf)](_0x568eba)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2916c2){return _0xaebb27['parse'](unescape(encodeURIComponent(_0x2916c2)));}},_0x13d77e=_0x10f409[_0x3bba86(0x25c)]=_0x2f2d39[_0x3bba86(0xe3)]({'reset':function(){var _0x2b201b=_0x3bba86;this[_0x2b201b(0x254)]=new _0x1588c3['init'](),this[_0x2b201b(0x121)]=0x0;},'_append':function(_0x5ef1f1){var _0xec4da9=_0x3bba86;typeof _0x5ef1f1==_0xec4da9(0x171)&&(_0x5ef1f1=_0x24ddcc[_0xec4da9(0xed)](_0x5ef1f1)),this[_0xec4da9(0x254)][_0xec4da9(0x1f4)](_0x5ef1f1),this['_nDataBytes']+=_0x5ef1f1['sigBytes'];},'_process':function(_0x28570b){var _0x2af4dd=_0x3bba86,_0x2baaef,_0x1fb435=this[_0x2af4dd(0x254)],_0x238157=_0x1fb435[_0x2af4dd(0x3fc)],_0x352f34=_0x1fb435[_0x2af4dd(0x1ad)],_0x4d3225=this[_0x2af4dd(0x157)],_0x34ab72=_0x4d3225*0x4,_0x1e5e78=_0x352f34/_0x34ab72;_0x28570b?_0x1e5e78=_0x2bbc03[_0x2af4dd(0x138)](_0x1e5e78):_0x1e5e78=_0x2bbc03['max']((_0x1e5e78|0x0)-this[_0x2af4dd(0xdd)],0x0);var _0x45d407=_0x1e5e78*_0x4d3225,_0x157c46=_0x2bbc03[_0x2af4dd(0x127)](_0x45d407*0x4,_0x352f34);if(_0x45d407){for(var _0x1ed034=0x0;_0x1ed034<_0x45d407;_0x1ed034+=_0x4d3225)this[_0x2af4dd(0x200)](_0x238157,_0x1ed034);_0x2baaef=_0x238157[_0x2af4dd(0x2ac)](0x0,_0x45d407),_0x1fb435['sigBytes']-=_0x157c46;}return new _0x1588c3['init'](_0x2baaef,_0x157c46);},'clone':function(){var _0x11c5ca=_0x3bba86,_0x54e45d=_0x2f2d39[_0x11c5ca(0x42f)][_0x11c5ca(0x15a)](this);return _0x54e45d[_0x11c5ca(0x254)]=this['_data'][_0x11c5ca(0x42f)](),_0x54e45d;},'_minBufferSize':0x0});_0x10f409[_0x3bba86(0x248)]=_0x13d77e['extend']({'cfg':_0x2f2d39[_0x3bba86(0xe3)](),'init':function(_0x4a3914){var _0x4bcd44=_0x3bba86;this[_0x4bcd44(0x30e)]=this[_0x4bcd44(0x30e)][_0x4bcd44(0xe3)](_0x4a3914),this[_0x4bcd44(0x15d)]();},'reset':function(){var _0x1a41c0=_0x3bba86;_0x13d77e[_0x1a41c0(0x15d)][_0x1a41c0(0x15a)](this),this['_doReset']();},'update':function(_0x2138f9){var _0x100ce3=_0x3bba86;return this[_0x100ce3(0x3e1)](_0x2138f9),this['_process'](),this;},'finalize':function(_0x4527b6){var _0x1aeecf=_0x3bba86;_0x4527b6&&this[_0x1aeecf(0x3e1)](_0x4527b6);var _0x53b64=this[_0x1aeecf(0x430)]();return _0x53b64;},'blockSize':0x10,'_createHelper':function(_0x13708a){return function(_0xdc5deb,_0x1fa5e9){var _0x65eed6=_0x2174;return new _0x13708a[(_0x65eed6(0x1e3))](_0x1fa5e9)[_0x65eed6(0x2b7)](_0xdc5deb);};},'_createHmacHelper':function(_0x3bcd42){return function(_0x4999ec,_0x260041){var _0x27a8df=_0x2174;return new _0x3757d0[(_0x27a8df(0x1bd))]['init'](_0x3bcd42,_0x260041)[_0x27a8df(0x2b7)](_0x4999ec);};}});var _0x3757d0=_0x391414[_0x3bba86(0x2ae)]={};return _0x391414;}(Math);return _0xd51ea8;}));}(fe)),fe[_0x3027cb(0x17d)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){var _0x59c785=_0x346389;return ze||(ze=0x1,function(_0x57b790,_0x5b97a9){(function(_0x29ac12,_0x2a2cb2){var _0x4d7916=_0x2174;_0x57b790[_0x4d7916(0x17d)]=_0x2a2cb2(Z());}(Ci,function(_0xdffa76){var _0x3e3dbf=_0x2174;return(function(){var _0x4489b5=_0x2174,_0xad3a11=_0xdffa76,_0x5e90e8=_0xad3a11[_0x4489b5(0x29b)],_0x4ca13b=_0x5e90e8['WordArray'],_0x1ac747=_0xad3a11['enc'];_0x1ac747[_0x4489b5(0x3d9)]={'stringify':function(_0x2bffe4){var _0x27d61b=_0x4489b5,_0x18e4fb=_0x2bffe4[_0x27d61b(0x3fc)],_0x79df85=_0x2bffe4['sigBytes'],_0x5d3b33=this[_0x27d61b(0x19b)];_0x2bffe4[_0x27d61b(0x3fe)]();for(var _0x28b78e=[],_0x56d1dd=0x0;_0x56d1dd<_0x79df85;_0x56d1dd+=0x3)for(var _0x376f20=_0x18e4fb[_0x56d1dd>>>0x2]>>>0x18-_0x56d1dd%0x4*0x8&0xff,_0x18760b=_0x18e4fb[_0x56d1dd+0x1>>>0x2]>>>0x18-(_0x56d1dd+0x1)%0x4*0x8&0xff,_0x414f1d=_0x18e4fb[_0x56d1dd+0x2>>>0x2]>>>0x18-(_0x56d1dd+0x2)%0x4*0x8&0xff,_0xbe594d=_0x376f20<<0x10|_0x18760b<<0x8|_0x414f1d,_0x504778=0x0;_0x504778<0x4&&_0x56d1dd+_0x504778*0.75<_0x79df85;_0x504778++)_0x28b78e[_0x27d61b(0x179)](_0x5d3b33['charAt'](_0xbe594d>>>0x6*(0x3-_0x504778)&0x3f));var _0x7ed9ef=_0x5d3b33[_0x27d61b(0x113)](0x40);if(_0x7ed9ef){for(;_0x28b78e[_0x27d61b(0x260)]%0x4;)_0x28b78e[_0x27d61b(0x179)](_0x7ed9ef);}return _0x28b78e[_0x27d61b(0x327)]('');},'parse':function(_0x103e45){var _0x4d819b=_0x4489b5,_0x51fabb=_0x103e45['length'],_0xf11a22=this['_map'],_0x4f393e=this[_0x4d819b(0x2c2)];if(!_0x4f393e){_0x4f393e=this[_0x4d819b(0x2c2)]=[];for(var _0x56dc1f=0x0;_0x56dc1f<_0xf11a22[_0x4d819b(0x260)];_0x56dc1f++)_0x4f393e[_0xf11a22[_0x4d819b(0xe6)](_0x56dc1f)]=_0x56dc1f;}var _0x49ab8d=_0xf11a22[_0x4d819b(0x113)](0x40);if(_0x49ab8d){var _0x37745c=_0x103e45['indexOf'](_0x49ab8d);_0x37745c!==-0x1&&(_0x51fabb=_0x37745c);}return _0x85ec69(_0x103e45,_0x51fabb,_0x4f393e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x85ec69(_0x5f2b96,_0x57d4c0,_0x1dc840){var _0x18da07=_0x4489b5;for(var _0x333844=[],_0x34c9a1=0x0,_0x23d46c=0x0;_0x23d46c<_0x57d4c0;_0x23d46c++)if(_0x23d46c%0x4){var _0x4ab6a2=_0x1dc840[_0x5f2b96[_0x18da07(0xe6)](_0x23d46c-0x1)]<<_0x23d46c%0x4*0x2,_0x1b2ac6=_0x1dc840[_0x5f2b96[_0x18da07(0xe6)](_0x23d46c)]>>>0x6-_0x23d46c%0x4*0x2,_0x341d08=_0x4ab6a2|_0x1b2ac6;_0x333844[_0x34c9a1>>>0x2]|=_0x341d08<<0x18-_0x34c9a1%0x4*0x8,_0x34c9a1++;}return _0x4ca13b['create'](_0x333844,_0x34c9a1);}}()),_0xdffa76[_0x3e3dbf(0x231)][_0x3e3dbf(0x3d9)];}));}(Ee)),Ee[_0x59c785(0x17d)];}var pe={'exports':{}},Oi=pe[_0x346389(0x17d)],Xe;function bi(){var _0x479ba4=_0x346389;return Xe||(Xe=0x1,function(_0x19d1f5,_0x357723){(function(_0x1602a5,_0x332407){var _0x561363=_0x2174;_0x19d1f5[_0x561363(0x17d)]=_0x332407(Z());}(Oi,function(_0x2e69c7){return function(_0x309236){var _0x5d8e07=_0x2174,_0x43d445=_0x2e69c7,_0x280e7a=_0x43d445[_0x5d8e07(0x29b)],_0xbf2a53=_0x280e7a['WordArray'],_0x1ef87c=_0x280e7a[_0x5d8e07(0x248)],_0x21618f=_0x43d445[_0x5d8e07(0x2ae)],_0x584c95=[];(function(){for(var _0x33ecc4=0x0;_0x33ecc4<0x40;_0x33ecc4++)_0x584c95[_0x33ecc4]=_0x309236['abs'](_0x309236['sin'](_0x33ecc4+0x1))*0x100000000|0x0;}());var _0x1fad96=_0x21618f[_0x5d8e07(0xdb)]=_0x1ef87c[_0x5d8e07(0xe3)]({'_doReset':function(){var _0x13abcb=_0x5d8e07;this[_0x13abcb(0x22f)]=new _0xbf2a53['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5074f6,_0x75f660){var _0x32c3e4=_0x5d8e07;for(var _0xd582d7=0x0;_0xd582d7<0x10;_0xd582d7++){var _0x570d58=_0x75f660+_0xd582d7,_0x5a3a1c=_0x5074f6[_0x570d58];_0x5074f6[_0x570d58]=(_0x5a3a1c<<0x8|_0x5a3a1c>>>0x18)&0xff00ff|(_0x5a3a1c<<0x18|_0x5a3a1c>>>0x8)&0xff00ff00;}var _0x47dff0=this[_0x32c3e4(0x22f)]['words'],_0x9353b=_0x5074f6[_0x75f660+0x0],_0x1b3f03=_0x5074f6[_0x75f660+0x1],_0x4477cf=_0x5074f6[_0x75f660+0x2],_0x1dd4c5=_0x5074f6[_0x75f660+0x3],_0x3427e4=_0x5074f6[_0x75f660+0x4],_0x13ba8c=_0x5074f6[_0x75f660+0x5],_0x3981c0=_0x5074f6[_0x75f660+0x6],_0x1d035d=_0x5074f6[_0x75f660+0x7],_0x8ac3c7=_0x5074f6[_0x75f660+0x8],_0x546f93=_0x5074f6[_0x75f660+0x9],_0x50aacc=_0x5074f6[_0x75f660+0xa],_0x27dcba=_0x5074f6[_0x75f660+0xb],_0x47fda0=_0x5074f6[_0x75f660+0xc],_0x23a72b=_0x5074f6[_0x75f660+0xd],_0x2d7220=_0x5074f6[_0x75f660+0xe],_0x1d845d=_0x5074f6[_0x75f660+0xf],_0x5103d2=_0x47dff0[0x0],_0x25d2cb=_0x47dff0[0x1],_0x13850d=_0x47dff0[0x2],_0x45a2de=_0x47dff0[0x3];_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x9353b,0x7,_0x584c95[0x0]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1b3f03,0xc,_0x584c95[0x1]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x4477cf,0x11,_0x584c95[0x2]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1dd4c5,0x16,_0x584c95[0x3]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x3427e4,0x7,_0x584c95[0x4]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x13ba8c,0xc,_0x584c95[0x5]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x3981c0,0x11,_0x584c95[0x6]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1d035d,0x16,_0x584c95[0x7]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x8ac3c7,0x7,_0x584c95[0x8]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x546f93,0xc,_0x584c95[0x9]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x50aacc,0x11,_0x584c95[0xa]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x27dcba,0x16,_0x584c95[0xb]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x47fda0,0x7,_0x584c95[0xc]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x23a72b,0xc,_0x584c95[0xd]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x2d7220,0x11,_0x584c95[0xe]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1d845d,0x16,_0x584c95[0xf]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x1b3f03,0x5,_0x584c95[0x10]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x3981c0,0x9,_0x584c95[0x11]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x27dcba,0xe,_0x584c95[0x12]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x9353b,0x14,_0x584c95[0x13]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x13ba8c,0x5,_0x584c95[0x14]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x50aacc,0x9,_0x584c95[0x15]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d845d,0xe,_0x584c95[0x16]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x3427e4,0x14,_0x584c95[0x17]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x546f93,0x5,_0x584c95[0x18]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x2d7220,0x9,_0x584c95[0x19]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1dd4c5,0xe,_0x584c95[0x1a]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x8ac3c7,0x14,_0x584c95[0x1b]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x23a72b,0x5,_0x584c95[0x1c]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x4477cf,0x9,_0x584c95[0x1d]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d035d,0xe,_0x584c95[0x1e]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x47fda0,0x14,_0x584c95[0x1f]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x13ba8c,0x4,_0x584c95[0x20]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x8ac3c7,0xb,_0x584c95[0x21]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x27dcba,0x10,_0x584c95[0x22]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x2d7220,0x17,_0x584c95[0x23]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x1b3f03,0x4,_0x584c95[0x24]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x3427e4,0xb,_0x584c95[0x25]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d035d,0x10,_0x584c95[0x26]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x50aacc,0x17,_0x584c95[0x27]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x23a72b,0x4,_0x584c95[0x28]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x9353b,0xb,_0x584c95[0x29]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1dd4c5,0x10,_0x584c95[0x2a]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x3981c0,0x17,_0x584c95[0x2b]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x546f93,0x4,_0x584c95[0x2c]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x47fda0,0xb,_0x584c95[0x2d]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d845d,0x10,_0x584c95[0x2e]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x4477cf,0x17,_0x584c95[0x2f]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x9353b,0x6,_0x584c95[0x30]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1d035d,0xa,_0x584c95[0x31]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x2d7220,0xf,_0x584c95[0x32]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x13ba8c,0x15,_0x584c95[0x33]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x47fda0,0x6,_0x584c95[0x34]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1dd4c5,0xa,_0x584c95[0x35]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x50aacc,0xf,_0x584c95[0x36]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1b3f03,0x15,_0x584c95[0x37]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x8ac3c7,0x6,_0x584c95[0x38]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1d845d,0xa,_0x584c95[0x39]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x3981c0,0xf,_0x584c95[0x3a]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x23a72b,0x15,_0x584c95[0x3b]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x3427e4,0x6,_0x584c95[0x3c]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x27dcba,0xa,_0x584c95[0x3d]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x4477cf,0xf,_0x584c95[0x3e]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x546f93,0x15,_0x584c95[0x3f]),_0x47dff0[0x0]=_0x47dff0[0x0]+_0x5103d2|0x0,_0x47dff0[0x1]=_0x47dff0[0x1]+_0x25d2cb|0x0,_0x47dff0[0x2]=_0x47dff0[0x2]+_0x13850d|0x0,_0x47dff0[0x3]=_0x47dff0[0x3]+_0x45a2de|0x0;},'_doFinalize':function(){var _0x5d774b=_0x5d8e07,_0x30e525=this['_data'],_0x530461=_0x30e525[_0x5d774b(0x3fc)],_0x4f036a=this[_0x5d774b(0x121)]*0x8,_0x398309=_0x30e525['sigBytes']*0x8;_0x530461[_0x398309>>>0x5]|=0x80<<0x18-_0x398309%0x20;var _0x991e74=_0x309236['floor'](_0x4f036a/0x100000000),_0x3198fb=_0x4f036a;_0x530461[(_0x398309+0x40>>>0x9<<0x4)+0xf]=(_0x991e74<<0x8|_0x991e74>>>0x18)&0xff00ff|(_0x991e74<<0x18|_0x991e74>>>0x8)&0xff00ff00,_0x530461[(_0x398309+0x40>>>0x9<<0x4)+0xe]=(_0x3198fb<<0x8|_0x3198fb>>>0x18)&0xff00ff|(_0x3198fb<<0x18|_0x3198fb>>>0x8)&0xff00ff00,_0x30e525['sigBytes']=(_0x530461[_0x5d774b(0x260)]+0x1)*0x4,this[_0x5d774b(0x11b)]();for(var _0x3a8e04=this['_hash'],_0x4bbd49=_0x3a8e04[_0x5d774b(0x3fc)],_0x50408b=0x0;_0x50408b<0x4;_0x50408b++){var _0x114158=_0x4bbd49[_0x50408b];_0x4bbd49[_0x50408b]=(_0x114158<<0x8|_0x114158>>>0x18)&0xff00ff|(_0x114158<<0x18|_0x114158>>>0x8)&0xff00ff00;}return _0x3a8e04;},'clone':function(){var _0x3eb7ed=_0x5d8e07,_0x47380b=_0x1ef87c[_0x3eb7ed(0x42f)][_0x3eb7ed(0x15a)](this);return _0x47380b[_0x3eb7ed(0x22f)]=this[_0x3eb7ed(0x22f)][_0x3eb7ed(0x42f)](),_0x47380b;}});function _0x5c8b86(_0x4ba243,_0x55364b,_0xb29821,_0x4248de,_0x5df002,_0x165d26,_0x492e55){var _0x5cc57f=_0x4ba243+(_0x55364b&_0xb29821|~_0x55364b&_0x4248de)+_0x5df002+_0x492e55;return(_0x5cc57f<<_0x165d26|_0x5cc57f>>>0x20-_0x165d26)+_0x55364b;}function _0xd78d19(_0x606aa1,_0x2173b8,_0x342fb7,_0x53acdc,_0x65665,_0x127a0d,_0x4da42f){var _0x546f13=_0x606aa1+(_0x2173b8&_0x53acdc|_0x342fb7&~_0x53acdc)+_0x65665+_0x4da42f;return(_0x546f13<<_0x127a0d|_0x546f13>>>0x20-_0x127a0d)+_0x2173b8;}function _0x1fdbc8(_0x3dd517,_0x69ebdb,_0x30b48d,_0x5bd8f1,_0x3ed9ac,_0x32212d,_0x36aecd){var _0x4ef2d6=_0x3dd517+(_0x69ebdb^_0x30b48d^_0x5bd8f1)+_0x3ed9ac+_0x36aecd;return(_0x4ef2d6<<_0x32212d|_0x4ef2d6>>>0x20-_0x32212d)+_0x69ebdb;}function _0x4f44c4(_0x3572b0,_0x5eed1c,_0x34e88c,_0x480975,_0x3adfb4,_0x5c7e3f,_0x329edb){var _0x20e607=_0x3572b0+(_0x34e88c^(_0x5eed1c|~_0x480975))+_0x3adfb4+_0x329edb;return(_0x20e607<<_0x5c7e3f|_0x20e607>>>0x20-_0x5c7e3f)+_0x5eed1c;}_0x43d445['MD5']=_0x1ef87c[_0x5d8e07(0x217)](_0x1fad96),_0x43d445[_0x5d8e07(0x1bb)]=_0x1ef87c['_createHmacHelper'](_0x1fad96);}(Math),_0x2e69c7['MD5'];}));}(pe)),pe[_0x479ba4(0x17d)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x346389(0x17d)],Je;function Ni(){var _0x509dd9=_0x346389;return Je||(Je=0x1,function(_0x3e7600,_0x11a389){(function(_0x121504,_0x3040ee){var _0x3d01c7=_0x2174;_0x3e7600[_0x3d01c7(0x17d)]=_0x3040ee(Z());}(Ri,function(_0x203544){var _0x54f87f=_0x2174;return(function(){var _0x3f98ee=_0x2174,_0x1835a7=_0x203544,_0x4e3387=_0x1835a7['lib'],_0x4025f0=_0x4e3387[_0x3f98ee(0x1ab)],_0x5ca4e2=_0x4e3387[_0x3f98ee(0x248)],_0x381d75=_0x1835a7[_0x3f98ee(0x2ae)],_0x53c5ff=[],_0x42cb89=_0x381d75['SHA1']=_0x5ca4e2[_0x3f98ee(0xe3)]({'_doReset':function(){var _0x355fe7=_0x3f98ee;this[_0x355fe7(0x22f)]=new _0x4025f0[(_0x355fe7(0x1e3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x599ec9,_0x4ccc45){var _0x3440c7=_0x3f98ee;for(var _0xd80d82=this[_0x3440c7(0x22f)][_0x3440c7(0x3fc)],_0x3c0dd0=_0xd80d82[0x0],_0x5b7fa8=_0xd80d82[0x1],_0xd0613f=_0xd80d82[0x2],_0x44dbaa=_0xd80d82[0x3],_0x1276ce=_0xd80d82[0x4],_0x2896a6=0x0;_0x2896a6<0x50;_0x2896a6++){if(_0x2896a6<0x10)_0x53c5ff[_0x2896a6]=_0x599ec9[_0x4ccc45+_0x2896a6]|0x0;else{var _0x38ba5b=_0x53c5ff[_0x2896a6-0x3]^_0x53c5ff[_0x2896a6-0x8]^_0x53c5ff[_0x2896a6-0xe]^_0x53c5ff[_0x2896a6-0x10];_0x53c5ff[_0x2896a6]=_0x38ba5b<<0x1|_0x38ba5b>>>0x1f;}var _0x114554=(_0x3c0dd0<<0x5|_0x3c0dd0>>>0x1b)+_0x1276ce+_0x53c5ff[_0x2896a6];_0x2896a6<0x14?_0x114554+=(_0x5b7fa8&_0xd0613f|~_0x5b7fa8&_0x44dbaa)+0x5a827999:_0x2896a6<0x28?_0x114554+=(_0x5b7fa8^_0xd0613f^_0x44dbaa)+0x6ed9eba1:_0x2896a6<0x3c?_0x114554+=(_0x5b7fa8&_0xd0613f|_0x5b7fa8&_0x44dbaa|_0xd0613f&_0x44dbaa)-0x70e44324:_0x114554+=(_0x5b7fa8^_0xd0613f^_0x44dbaa)-0x359d3e2a,_0x1276ce=_0x44dbaa,_0x44dbaa=_0xd0613f,_0xd0613f=_0x5b7fa8<<0x1e|_0x5b7fa8>>>0x2,_0x5b7fa8=_0x3c0dd0,_0x3c0dd0=_0x114554;}_0xd80d82[0x0]=_0xd80d82[0x0]+_0x3c0dd0|0x0,_0xd80d82[0x1]=_0xd80d82[0x1]+_0x5b7fa8|0x0,_0xd80d82[0x2]=_0xd80d82[0x2]+_0xd0613f|0x0,_0xd80d82[0x3]=_0xd80d82[0x3]+_0x44dbaa|0x0,_0xd80d82[0x4]=_0xd80d82[0x4]+_0x1276ce|0x0;},'_doFinalize':function(){var _0x4414c8=_0x3f98ee,_0x47e8ec=this[_0x4414c8(0x254)],_0x3926d9=_0x47e8ec['words'],_0x56ab90=this[_0x4414c8(0x121)]*0x8,_0x5d7568=_0x47e8ec[_0x4414c8(0x1ad)]*0x8;return _0x3926d9[_0x5d7568>>>0x5]|=0x80<<0x18-_0x5d7568%0x20,_0x3926d9[(_0x5d7568+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x56ab90/0x100000000),_0x3926d9[(_0x5d7568+0x40>>>0x9<<0x4)+0xf]=_0x56ab90,_0x47e8ec[_0x4414c8(0x1ad)]=_0x3926d9[_0x4414c8(0x260)]*0x4,this[_0x4414c8(0x11b)](),this['_hash'];},'clone':function(){var _0x44fdd4=_0x3f98ee,_0x32407f=_0x5ca4e2['clone'][_0x44fdd4(0x15a)](this);return _0x32407f[_0x44fdd4(0x22f)]=this['_hash'][_0x44fdd4(0x42f)](),_0x32407f;}});_0x1835a7[_0x3f98ee(0x1a8)]=_0x5ca4e2[_0x3f98ee(0x217)](_0x42cb89),_0x1835a7['HmacSHA1']=_0x5ca4e2[_0x3f98ee(0x21f)](_0x42cb89);}()),_0x203544[_0x54f87f(0x1a8)];}));}(ge)),ge[_0x509dd9(0x17d)];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x373575=_0x346389;return Ze||(Ze=0x1,function(_0x524653,_0x5a8e01){(function(_0x296dc0,_0xb1ec80){var _0x38d63f=_0x2174;_0x524653[_0x38d63f(0x17d)]=_0xb1ec80(Z());}(Di,function(_0x27751b){(function(){var _0x1b761b=_0x2174,_0x431adf=_0x27751b,_0x45a7f0=_0x431adf[_0x1b761b(0x29b)],_0x245037=_0x45a7f0[_0x1b761b(0x1b9)],_0x2a40b5=_0x431adf['enc'],_0x20b644=_0x2a40b5[_0x1b761b(0x2cd)],_0x10fec8=_0x431adf[_0x1b761b(0x2ae)];_0x10fec8['HMAC']=_0x245037[_0x1b761b(0xe3)]({'init':function(_0x44ce9c,_0x1e390d){var _0x4db6d0=_0x1b761b;_0x44ce9c=this[_0x4db6d0(0x1eb)]=new _0x44ce9c[(_0x4db6d0(0x1e3))](),typeof _0x1e390d==_0x4db6d0(0x171)&&(_0x1e390d=_0x20b644[_0x4db6d0(0xed)](_0x1e390d));var _0xd420d=_0x44ce9c[_0x4db6d0(0x157)],_0xa50f5a=_0xd420d*0x4;_0x1e390d[_0x4db6d0(0x1ad)]>_0xa50f5a&&(_0x1e390d=_0x44ce9c[_0x4db6d0(0x2b7)](_0x1e390d)),_0x1e390d[_0x4db6d0(0x3fe)]();for(var _0x55f2b5=this['_oKey']=_0x1e390d[_0x4db6d0(0x42f)](),_0x10470b=this[_0x4db6d0(0x35c)]=_0x1e390d[_0x4db6d0(0x42f)](),_0x593f83=_0x55f2b5['words'],_0x5b7da8=_0x10470b[_0x4db6d0(0x3fc)],_0x13ab8e=0x0;_0x13ab8e<_0xd420d;_0x13ab8e++)_0x593f83[_0x13ab8e]^=0x5c5c5c5c,_0x5b7da8[_0x13ab8e]^=0x36363636;_0x55f2b5[_0x4db6d0(0x1ad)]=_0x10470b['sigBytes']=_0xa50f5a,this['reset']();},'reset':function(){var _0x30eee0=_0x1b761b,_0x4e23db=this[_0x30eee0(0x1eb)];_0x4e23db[_0x30eee0(0x15d)](),_0x4e23db[_0x30eee0(0x247)](this[_0x30eee0(0x35c)]);},'update':function(_0x19ee3c){var _0x387db3=_0x1b761b;return this[_0x387db3(0x1eb)][_0x387db3(0x247)](_0x19ee3c),this;},'finalize':function(_0x264902){var _0x43e2e0=_0x1b761b,_0x3810c0=this['_hasher'],_0x2dee5c=_0x3810c0[_0x43e2e0(0x2b7)](_0x264902);_0x3810c0[_0x43e2e0(0x15d)]();var _0x7d88df=_0x3810c0[_0x43e2e0(0x2b7)](this[_0x43e2e0(0x39b)][_0x43e2e0(0x42f)]()['concat'](_0x2dee5c));return _0x7d88df;}});}());}));}(Te)),Te[_0x373575(0x17d)];}var Ui=me[_0x346389(0x17d)],Qe;function Ct(){var _0x1a1738=_0x346389;return Qe||(Qe=0x1,function(_0x536271,_0x1fbbfd){(function(_0x15ba0e,_0x24c994,_0x560385){var _0x4be8fb=_0x2174;_0x536271[_0x4be8fb(0x17d)]=_0x24c994(Z(),Ni(),yi());}(Ui,function(_0x2e76a9){var _0x2843dc=_0x2174;return(function(){var _0x54edea=_0x2174,_0x4b2297=_0x2e76a9,_0x4f8f52=_0x4b2297['lib'],_0xc456c=_0x4f8f52[_0x54edea(0x1b9)],_0x41df02=_0x4f8f52['WordArray'],_0x357e55=_0x4b2297[_0x54edea(0x2ae)],_0x62071a=_0x357e55[_0x54edea(0xdb)],_0x5101b4=_0x357e55[_0x54edea(0x31a)]=_0xc456c[_0x54edea(0xe3)]({'cfg':_0xc456c[_0x54edea(0xe3)]({'keySize':0x80/0x20,'hasher':_0x62071a,'iterations':0x1}),'init':function(_0x36b517){var _0x4ee86f=_0x54edea;this['cfg']=this[_0x4ee86f(0x30e)]['extend'](_0x36b517);},'compute':function(_0x32ca77,_0x30c557){var _0x19889f=_0x54edea;for(var _0x4f6f4a,_0x4ab8b5=this[_0x19889f(0x30e)],_0x4e2c1e=_0x4ab8b5['hasher'][_0x19889f(0x29c)](),_0x88ff1d=_0x41df02[_0x19889f(0x29c)](),_0xd1c4c2=_0x88ff1d[_0x19889f(0x3fc)],_0x126974=_0x4ab8b5[_0x19889f(0x1f9)],_0xa45d07=_0x4ab8b5[_0x19889f(0x321)];_0xd1c4c2[_0x19889f(0x260)]<_0x126974;){_0x4f6f4a&&_0x4e2c1e['update'](_0x4f6f4a),_0x4f6f4a=_0x4e2c1e['update'](_0x32ca77)[_0x19889f(0x2b7)](_0x30c557),_0x4e2c1e[_0x19889f(0x15d)]();for(var _0x2231c8=0x1;_0x2231c8<_0xa45d07;_0x2231c8++)_0x4f6f4a=_0x4e2c1e['finalize'](_0x4f6f4a),_0x4e2c1e[_0x19889f(0x15d)]();_0x88ff1d[_0x19889f(0x1f4)](_0x4f6f4a);}return _0x88ff1d['sigBytes']=_0x126974*0x4,_0x88ff1d;}});_0x4b2297[_0x54edea(0x31a)]=function(_0x4bd072,_0x217227,_0x49047d){var _0x28e60f=_0x54edea;return _0x5101b4[_0x28e60f(0x29c)](_0x49047d)[_0x28e60f(0x40d)](_0x4bd072,_0x217227);};}()),_0x2e76a9[_0x2843dc(0x31a)];}));}(me)),me[_0x1a1738(0x17d)];}var Ce={'exports':{}},Ai=Ce[_0x346389(0x17d)],et;function Ot(){var _0x5d0e60=_0x346389;return et||(et=0x1,function(_0x6e1cff,_0x3c0ae7){(function(_0x51d416,_0x505ee3,_0x5f4062){_0x6e1cff['exports']=_0x505ee3(Z(),Ct());}(Ai,function(_0x5aee4f){var _0x10255f=_0x2174;_0x5aee4f[_0x10255f(0x29b)][_0x10255f(0x128)]||function(_0x51ec14){var _0x5bb2a2=_0x10255f,_0x3ab141=_0x5aee4f,_0x3809bc=_0x3ab141[_0x5bb2a2(0x29b)],_0x4502fa=_0x3809bc[_0x5bb2a2(0x1b9)],_0x112741=_0x3809bc[_0x5bb2a2(0x1ab)],_0x22e0fb=_0x3809bc[_0x5bb2a2(0x25c)],_0x3a9ffa=_0x3ab141[_0x5bb2a2(0x231)];_0x3a9ffa['Utf8'];var _0x58f0f0=_0x3a9ffa[_0x5bb2a2(0x3d9)],_0xbe8896=_0x3ab141['algo'],_0x2cac87=_0xbe8896[_0x5bb2a2(0x31a)],_0x417537=_0x3809bc[_0x5bb2a2(0x128)]=_0x22e0fb[_0x5bb2a2(0xe3)]({'cfg':_0x4502fa[_0x5bb2a2(0xe3)](),'createEncryptor':function(_0x2859e7,_0x52f105){var _0x4572cf=_0x5bb2a2;return this['create'](this[_0x4572cf(0x253)],_0x2859e7,_0x52f105);},'createDecryptor':function(_0x2d16f2,_0x19ba55){var _0x5ddf86=_0x5bb2a2;return this[_0x5ddf86(0x29c)](this[_0x5ddf86(0x21a)],_0x2d16f2,_0x19ba55);},'init':function(_0x21e9fb,_0x39395e,_0x497d56){var _0xa58fda=_0x5bb2a2;this[_0xa58fda(0x30e)]=this[_0xa58fda(0x30e)][_0xa58fda(0xe3)](_0x497d56),this['_xformMode']=_0x21e9fb,this[_0xa58fda(0x112)]=_0x39395e,this['reset']();},'reset':function(){var _0x2908b6=_0x5bb2a2;_0x22e0fb[_0x2908b6(0x15d)]['call'](this),this[_0x2908b6(0x2f7)]();},'process':function(_0x2076a8){var _0x4669a1=_0x5bb2a2;return this[_0x4669a1(0x3e1)](_0x2076a8),this[_0x4669a1(0x11b)]();},'finalize':function(_0x27898a){var _0x4bd307=_0x5bb2a2;_0x27898a&&this[_0x4bd307(0x3e1)](_0x27898a);var _0x1ddd80=this[_0x4bd307(0x430)]();return _0x1ddd80;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x527a13(_0x1f55c7){var _0x44345d=_0x2174;return typeof _0x1f55c7==_0x44345d(0x171)?_0x50b2a6:_0xc39d9b;}return function(_0x4c12b5){return{'encrypt':function(_0x2c0c62,_0x1718c2,_0x5a8e52){var _0x46fbda=_0x2174;return _0x527a13(_0x1718c2)[_0x46fbda(0x3fb)](_0x4c12b5,_0x2c0c62,_0x1718c2,_0x5a8e52);},'decrypt':function(_0x21a3a8,_0x8f9a32,_0x2e1b48){var _0x7f01c=_0x2174;return _0x527a13(_0x8f9a32)[_0x7f01c(0x1a4)](_0x4c12b5,_0x21a3a8,_0x8f9a32,_0x2e1b48);}};};}())});_0x3809bc[_0x5bb2a2(0x368)]=_0x417537[_0x5bb2a2(0xe3)]({'_doFinalize':function(){var _0x6ad757=_0x5bb2a2,_0x265c16=this[_0x6ad757(0x11b)](!0x0);return _0x265c16;},'blockSize':0x1});var _0x4fa2cc=_0x3ab141['mode']={},_0x16d07d=_0x3809bc['BlockCipherMode']=_0x4502fa[_0x5bb2a2(0xe3)]({'createEncryptor':function(_0x52b04f,_0x28cc09){var _0x4688fe=_0x5bb2a2;return this[_0x4688fe(0x24d)]['create'](_0x52b04f,_0x28cc09);},'createDecryptor':function(_0x570ff9,_0x2b070f){return this['Decryptor']['create'](_0x570ff9,_0x2b070f);},'init':function(_0x1c35b7,_0xb6bea7){var _0x30b3d7=_0x5bb2a2;this[_0x30b3d7(0x33b)]=_0x1c35b7,this['_iv']=_0xb6bea7;}}),_0x783b7e=_0x4fa2cc['CBC']=(function(){var _0x40d0e2=_0x5bb2a2,_0x4247b4=_0x16d07d[_0x40d0e2(0xe3)]();_0x4247b4[_0x40d0e2(0x24d)]=_0x4247b4[_0x40d0e2(0xe3)]({'processBlock':function(_0x5b7fec,_0x46616b){var _0x218165=_0x40d0e2,_0x3cfc47=this[_0x218165(0x33b)],_0x2bc506=_0x3cfc47[_0x218165(0x157)];_0x1745af[_0x218165(0x15a)](this,_0x5b7fec,_0x46616b,_0x2bc506),_0x3cfc47[_0x218165(0x302)](_0x5b7fec,_0x46616b),this[_0x218165(0x213)]=_0x5b7fec[_0x218165(0x25f)](_0x46616b,_0x46616b+_0x2bc506);}}),_0x4247b4['Decryptor']=_0x4247b4[_0x40d0e2(0xe3)]({'processBlock':function(_0x54a31c,_0x57482b){var _0x409c59=_0x40d0e2,_0x398d17=this[_0x409c59(0x33b)],_0x636308=_0x398d17[_0x409c59(0x157)],_0x405229=_0x54a31c['slice'](_0x57482b,_0x57482b+_0x636308);_0x398d17[_0x409c59(0x3b8)](_0x54a31c,_0x57482b),_0x1745af[_0x409c59(0x15a)](this,_0x54a31c,_0x57482b,_0x636308),this['_prevBlock']=_0x405229;}});function _0x1745af(_0x196dbc,_0x355cf6,_0xb2cf52){var _0x6df43b=_0x40d0e2,_0x370b54,_0x917de3=this[_0x6df43b(0x415)];_0x917de3?(_0x370b54=_0x917de3,this[_0x6df43b(0x415)]=_0x51ec14):_0x370b54=this[_0x6df43b(0x213)];for(var _0x1fdd73=0x0;_0x1fdd73<_0xb2cf52;_0x1fdd73++)_0x196dbc[_0x355cf6+_0x1fdd73]^=_0x370b54[_0x1fdd73];}return _0x4247b4;}()),_0x3161fa=_0x3ab141[_0x5bb2a2(0x359)]={},_0x2e618e=_0x3161fa[_0x5bb2a2(0x240)]={'pad':function(_0x288b6,_0x1ef257){var _0x1f1ec4=_0x5bb2a2;for(var _0xdb7b2b=_0x1ef257*0x4,_0x4744a0=_0xdb7b2b-_0x288b6[_0x1f1ec4(0x1ad)]%_0xdb7b2b,_0x8b15ec=_0x4744a0<<0x18|_0x4744a0<<0x10|_0x4744a0<<0x8|_0x4744a0,_0x4e3315=[],_0x4f9b81=0x0;_0x4f9b81<_0x4744a0;_0x4f9b81+=0x4)_0x4e3315['push'](_0x8b15ec);var _0x35a4d7=_0x112741[_0x1f1ec4(0x29c)](_0x4e3315,_0x4744a0);_0x288b6['concat'](_0x35a4d7);},'unpad':function(_0x4b1ddf){var _0x4100eb=_0x5bb2a2,_0x2188e2=_0x4b1ddf[_0x4100eb(0x3fc)][_0x4b1ddf[_0x4100eb(0x1ad)]-0x1>>>0x2]&0xff;_0x4b1ddf['sigBytes']-=_0x2188e2;}};_0x3809bc[_0x5bb2a2(0x2f6)]=_0x417537[_0x5bb2a2(0xe3)]({'cfg':_0x417537['cfg'][_0x5bb2a2(0xe3)]({'mode':_0x783b7e,'padding':_0x2e618e}),'reset':function(){var _0x1acd6f=_0x5bb2a2,_0xbd9a3d;_0x417537[_0x1acd6f(0x15d)][_0x1acd6f(0x15a)](this);var _0x2af03c=this[_0x1acd6f(0x30e)],_0x3368e9=_0x2af03c['iv'],_0x438158=_0x2af03c[_0x1acd6f(0x27f)];this['_xformMode']==this[_0x1acd6f(0x253)]?_0xbd9a3d=_0x438158[_0x1acd6f(0x26a)]:(_0xbd9a3d=_0x438158['createDecryptor'],this[_0x1acd6f(0xdd)]=0x1),this['_mode']&&this['_mode'][_0x1acd6f(0x108)]==_0xbd9a3d?this['_mode'][_0x1acd6f(0x1e3)](this,_0x3368e9&&_0x3368e9['words']):(this[_0x1acd6f(0x2dd)]=_0xbd9a3d[_0x1acd6f(0x15a)](_0x438158,this,_0x3368e9&&_0x3368e9[_0x1acd6f(0x3fc)]),this[_0x1acd6f(0x2dd)]['__creator']=_0xbd9a3d);},'_doProcessBlock':function(_0x1c3b2e,_0x48d4e9){var _0x21d723=_0x5bb2a2;this[_0x21d723(0x2dd)][_0x21d723(0x40e)](_0x1c3b2e,_0x48d4e9);},'_doFinalize':function(){var _0x4be337=_0x5bb2a2,_0x2dbc6e,_0x46c35b=this[_0x4be337(0x30e)][_0x4be337(0x314)];return this[_0x4be337(0x342)]==this[_0x4be337(0x253)]?(_0x46c35b[_0x4be337(0x359)](this['_data'],this['blockSize']),_0x2dbc6e=this[_0x4be337(0x11b)](!0x0)):(_0x2dbc6e=this[_0x4be337(0x11b)](!0x0),_0x46c35b['unpad'](_0x2dbc6e)),_0x2dbc6e;},'blockSize':0x80/0x20});var _0x15d130=_0x3809bc[_0x5bb2a2(0xbf)]=_0x4502fa[_0x5bb2a2(0xe3)]({'init':function(_0x396459){var _0x43fb34=_0x5bb2a2;this[_0x43fb34(0x2e6)](_0x396459);},'toString':function(_0x42b151){var _0x23865a=_0x5bb2a2;return(_0x42b151||this[_0x23865a(0xfd)])['stringify'](this);}}),_0x3cb406=_0x3ab141['format']={},_0x25944f=_0x3cb406['OpenSSL']={'stringify':function(_0x3210a3){var _0x340f8b=_0x5bb2a2,_0x352e63,_0x328be6=_0x3210a3['ciphertext'],_0x2008c5=_0x3210a3[_0x340f8b(0x269)];return _0x2008c5?_0x352e63=_0x112741[_0x340f8b(0x29c)]([0x53616c74,0x65645f5f])[_0x340f8b(0x1f4)](_0x2008c5)['concat'](_0x328be6):_0x352e63=_0x328be6,_0x352e63[_0x340f8b(0x3c3)](_0x58f0f0);},'parse':function(_0x4ce740){var _0x4aa54c=_0x5bb2a2,_0x130503,_0x3036a6=_0x58f0f0[_0x4aa54c(0xed)](_0x4ce740),_0xb3ec2e=_0x3036a6['words'];return _0xb3ec2e[0x0]==0x53616c74&&_0xb3ec2e[0x1]==0x65645f5f&&(_0x130503=_0x112741['create'](_0xb3ec2e['slice'](0x2,0x4)),_0xb3ec2e[_0x4aa54c(0x2ac)](0x0,0x4),_0x3036a6['sigBytes']-=0x10),_0x15d130[_0x4aa54c(0x29c)]({'ciphertext':_0x3036a6,'salt':_0x130503});}},_0xc39d9b=_0x3809bc[_0x5bb2a2(0x2be)]=_0x4502fa[_0x5bb2a2(0xe3)]({'cfg':_0x4502fa[_0x5bb2a2(0xe3)]({'format':_0x25944f}),'encrypt':function(_0x28098b,_0x127e23,_0x6c8be1,_0x5a79b8){var _0x2a50ee=_0x5bb2a2;_0x5a79b8=this[_0x2a50ee(0x30e)][_0x2a50ee(0xe3)](_0x5a79b8);var _0x26ed3a=_0x28098b['createEncryptor'](_0x6c8be1,_0x5a79b8),_0x1501a0=_0x26ed3a[_0x2a50ee(0x2b7)](_0x127e23),_0x50e61=_0x26ed3a[_0x2a50ee(0x30e)];return _0x15d130[_0x2a50ee(0x29c)]({'ciphertext':_0x1501a0,'key':_0x6c8be1,'iv':_0x50e61['iv'],'algorithm':_0x28098b,'mode':_0x50e61['mode'],'padding':_0x50e61[_0x2a50ee(0x314)],'blockSize':_0x28098b['blockSize'],'formatter':_0x5a79b8[_0x2a50ee(0x29d)]});},'decrypt':function(_0x5de184,_0x147892,_0x1a12cf,_0x13309b){var _0x3a6b26=_0x5bb2a2;_0x13309b=this['cfg'][_0x3a6b26(0xe3)](_0x13309b),_0x147892=this[_0x3a6b26(0x12e)](_0x147892,_0x13309b['format']);var _0xb6fb16=_0x5de184[_0x3a6b26(0xc4)](_0x1a12cf,_0x13309b)[_0x3a6b26(0x2b7)](_0x147892['ciphertext']);return _0xb6fb16;},'_parse':function(_0x2a9c4f,_0x331d2d){var _0x4305ed=_0x5bb2a2;return typeof _0x2a9c4f==_0x4305ed(0x171)?_0x331d2d[_0x4305ed(0xed)](_0x2a9c4f,this):_0x2a9c4f;}}),_0xea6af4=_0x3ab141[_0x5bb2a2(0x234)]={},_0x4c2ee7=_0xea6af4[_0x5bb2a2(0x288)]={'execute':function(_0x5e64a9,_0x37ef94,_0x38ebca,_0x377016,_0x1d3bfb){var _0x2e8676=_0x5bb2a2;if(_0x377016||(_0x377016=_0x112741[_0x2e8676(0x2b6)](0x40/0x8)),_0x1d3bfb)var _0xbe3b12=_0x2cac87[_0x2e8676(0x29c)]({'keySize':_0x37ef94+_0x38ebca,'hasher':_0x1d3bfb})[_0x2e8676(0x40d)](_0x5e64a9,_0x377016);else var _0xbe3b12=_0x2cac87[_0x2e8676(0x29c)]({'keySize':_0x37ef94+_0x38ebca})['compute'](_0x5e64a9,_0x377016);var _0x10fd1c=_0x112741[_0x2e8676(0x29c)](_0xbe3b12[_0x2e8676(0x3fc)][_0x2e8676(0x25f)](_0x37ef94),_0x38ebca*0x4);return _0xbe3b12[_0x2e8676(0x1ad)]=_0x37ef94*0x4,_0x15d130[_0x2e8676(0x29c)]({'key':_0xbe3b12,'iv':_0x10fd1c,'salt':_0x377016});}},_0x50b2a6=_0x3809bc[_0x5bb2a2(0x11e)]=_0xc39d9b[_0x5bb2a2(0xe3)]({'cfg':_0xc39d9b[_0x5bb2a2(0x30e)][_0x5bb2a2(0xe3)]({'kdf':_0x4c2ee7}),'encrypt':function(_0x5a4b4d,_0x13971c,_0x15a3b7,_0x31d8c9){var _0x2cd3ed=_0x5bb2a2;_0x31d8c9=this[_0x2cd3ed(0x30e)][_0x2cd3ed(0xe3)](_0x31d8c9);var _0x202d7b=_0x31d8c9[_0x2cd3ed(0x234)]['execute'](_0x15a3b7,_0x5a4b4d[_0x2cd3ed(0x1f9)],_0x5a4b4d[_0x2cd3ed(0x436)],_0x31d8c9[_0x2cd3ed(0x269)],_0x31d8c9['hasher']);_0x31d8c9['iv']=_0x202d7b['iv'];var _0x326cc2=_0xc39d9b[_0x2cd3ed(0x3fb)]['call'](this,_0x5a4b4d,_0x13971c,_0x202d7b[_0x2cd3ed(0x2b8)],_0x31d8c9);return _0x326cc2['mixIn'](_0x202d7b),_0x326cc2;},'decrypt':function(_0x264003,_0x3b84d8,_0x4a8adc,_0x4f7f9d){var _0x244f92=_0x5bb2a2;_0x4f7f9d=this['cfg'][_0x244f92(0xe3)](_0x4f7f9d),_0x3b84d8=this['_parse'](_0x3b84d8,_0x4f7f9d[_0x244f92(0x29d)]);var _0x40c785=_0x4f7f9d[_0x244f92(0x234)][_0x244f92(0x18f)](_0x4a8adc,_0x264003[_0x244f92(0x1f9)],_0x264003[_0x244f92(0x436)],_0x3b84d8[_0x244f92(0x269)],_0x4f7f9d[_0x244f92(0x381)]);_0x4f7f9d['iv']=_0x40c785['iv'];var _0x56f177=_0xc39d9b[_0x244f92(0x1a4)][_0x244f92(0x15a)](this,_0x264003,_0x3b84d8,_0x40c785[_0x244f92(0x2b8)],_0x4f7f9d);return _0x56f177;}});}();}));}(Ce)),Ce[_0x5d0e60(0x17d)];}var Pi=Ie[_0x346389(0x17d)],tt;function Li(){var _0x1c24fd=_0x346389;return tt||(tt=0x1,function(_0x5b7da0,_0x1228f4){(function(_0x4d27d3,_0x323295,_0x23f19e){var _0x3cbe74=_0x2174;_0x5b7da0[_0x3cbe74(0x17d)]=_0x323295(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x4bc199){var _0x1682d8=_0x2174;return(function(){var _0x2944df=_0x2174,_0x4c25f3=_0x4bc199,_0x3f9880=_0x4c25f3[_0x2944df(0x29b)],_0x3fc155=_0x3f9880[_0x2944df(0x2f6)],_0x43c2b5=_0x4c25f3[_0x2944df(0x2ae)],_0xf0d0fe=[],_0x3d1413=[],_0x305659=[],_0x337d76=[],_0x1ecfbc=[],_0x14114d=[],_0x5ba850=[],_0x2ae89c=[],_0x3adfac=[],_0x4a7cf7=[];(function(){for(var _0x14387e=[],_0x57f2d6=0x0;_0x57f2d6<0x100;_0x57f2d6++)_0x57f2d6<0x80?_0x14387e[_0x57f2d6]=_0x57f2d6<<0x1:_0x14387e[_0x57f2d6]=_0x57f2d6<<0x1^0x11b;for(var _0x53cdf7=0x0,_0x54432f=0x0,_0x57f2d6=0x0;_0x57f2d6<0x100;_0x57f2d6++){var _0x452cc1=_0x54432f^_0x54432f<<0x1^_0x54432f<<0x2^_0x54432f<<0x3^_0x54432f<<0x4;_0x452cc1=_0x452cc1>>>0x8^_0x452cc1&0xff^0x63,_0xf0d0fe[_0x53cdf7]=_0x452cc1,_0x3d1413[_0x452cc1]=_0x53cdf7;var _0x5e2151=_0x14387e[_0x53cdf7],_0x55b2a4=_0x14387e[_0x5e2151],_0xb2b946=_0x14387e[_0x55b2a4],_0x355d27=_0x14387e[_0x452cc1]*0x101^_0x452cc1*0x1010100;_0x305659[_0x53cdf7]=_0x355d27<<0x18|_0x355d27>>>0x8,_0x337d76[_0x53cdf7]=_0x355d27<<0x10|_0x355d27>>>0x10,_0x1ecfbc[_0x53cdf7]=_0x355d27<<0x8|_0x355d27>>>0x18,_0x14114d[_0x53cdf7]=_0x355d27;var _0x355d27=_0xb2b946*0x1010101^_0x55b2a4*0x10001^_0x5e2151*0x101^_0x53cdf7*0x1010100;_0x5ba850[_0x452cc1]=_0x355d27<<0x18|_0x355d27>>>0x8,_0x2ae89c[_0x452cc1]=_0x355d27<<0x10|_0x355d27>>>0x10,_0x3adfac[_0x452cc1]=_0x355d27<<0x8|_0x355d27>>>0x18,_0x4a7cf7[_0x452cc1]=_0x355d27,_0x53cdf7?(_0x53cdf7=_0x5e2151^_0x14387e[_0x14387e[_0x14387e[_0xb2b946^_0x5e2151]]],_0x54432f^=_0x14387e[_0x14387e[_0x54432f]]):_0x53cdf7=_0x54432f=0x1;}}());var _0xcedbb0=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fe348=_0x43c2b5[_0x2944df(0x214)]=_0x3fc155[_0x2944df(0xe3)]({'_doReset':function(){var _0x45e809=_0x2944df,_0x2fd5ce;if(!(this['_nRounds']&&this[_0x45e809(0x20a)]===this[_0x45e809(0x112)])){for(var _0x1ce46d=this[_0x45e809(0x20a)]=this[_0x45e809(0x112)],_0x484b17=_0x1ce46d[_0x45e809(0x3fc)],_0x5be0c2=_0x1ce46d[_0x45e809(0x1ad)]/0x4,_0x19b392=this['_nRounds']=_0x5be0c2+0x6,_0x4f6c82=(_0x19b392+0x1)*0x4,_0x7e9262=this[_0x45e809(0x412)]=[],_0x167768=0x0;_0x167768<_0x4f6c82;_0x167768++)_0x167768<_0x5be0c2?_0x7e9262[_0x167768]=_0x484b17[_0x167768]:(_0x2fd5ce=_0x7e9262[_0x167768-0x1],_0x167768%_0x5be0c2?_0x5be0c2>0x6&&_0x167768%_0x5be0c2==0x4&&(_0x2fd5ce=_0xf0d0fe[_0x2fd5ce>>>0x18]<<0x18|_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]<<0x10|_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]<<0x8|_0xf0d0fe[_0x2fd5ce&0xff]):(_0x2fd5ce=_0x2fd5ce<<0x8|_0x2fd5ce>>>0x18,_0x2fd5ce=_0xf0d0fe[_0x2fd5ce>>>0x18]<<0x18|_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]<<0x10|_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]<<0x8|_0xf0d0fe[_0x2fd5ce&0xff],_0x2fd5ce^=_0xcedbb0[_0x167768/_0x5be0c2|0x0]<<0x18),_0x7e9262[_0x167768]=_0x7e9262[_0x167768-_0x5be0c2]^_0x2fd5ce);for(var _0x4ba763=this[_0x45e809(0x20e)]=[],_0x400b38=0x0;_0x400b38<_0x4f6c82;_0x400b38++){var _0x167768=_0x4f6c82-_0x400b38;if(_0x400b38%0x4)var _0x2fd5ce=_0x7e9262[_0x167768];else var _0x2fd5ce=_0x7e9262[_0x167768-0x4];_0x400b38<0x4||_0x167768<=0x4?_0x4ba763[_0x400b38]=_0x2fd5ce:_0x4ba763[_0x400b38]=_0x5ba850[_0xf0d0fe[_0x2fd5ce>>>0x18]]^_0x2ae89c[_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]]^_0x3adfac[_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]]^_0x4a7cf7[_0xf0d0fe[_0x2fd5ce&0xff]];}}},'encryptBlock':function(_0x2b7dce,_0x190600){var _0x544fa4=_0x2944df;this[_0x544fa4(0x3d3)](_0x2b7dce,_0x190600,this[_0x544fa4(0x412)],_0x305659,_0x337d76,_0x1ecfbc,_0x14114d,_0xf0d0fe);},'decryptBlock':function(_0x58e502,_0x2e16c8){var _0x4d5683=_0x2944df,_0x56fe1b=_0x58e502[_0x2e16c8+0x1];_0x58e502[_0x2e16c8+0x1]=_0x58e502[_0x2e16c8+0x3],_0x58e502[_0x2e16c8+0x3]=_0x56fe1b,this[_0x4d5683(0x3d3)](_0x58e502,_0x2e16c8,this[_0x4d5683(0x20e)],_0x5ba850,_0x2ae89c,_0x3adfac,_0x4a7cf7,_0x3d1413);var _0x56fe1b=_0x58e502[_0x2e16c8+0x1];_0x58e502[_0x2e16c8+0x1]=_0x58e502[_0x2e16c8+0x3],_0x58e502[_0x2e16c8+0x3]=_0x56fe1b;},'_doCryptBlock':function(_0x51dc99,_0x20b02d,_0x5e0863,_0x2e05a9,_0x50c83d,_0x71de1f,_0x7f5f9b,_0x4d64b2){for(var _0x2a1cfa=this['_nRounds'],_0x365a3d=_0x51dc99[_0x20b02d]^_0x5e0863[0x0],_0x4deb19=_0x51dc99[_0x20b02d+0x1]^_0x5e0863[0x1],_0x9d441d=_0x51dc99[_0x20b02d+0x2]^_0x5e0863[0x2],_0x22b2f9=_0x51dc99[_0x20b02d+0x3]^_0x5e0863[0x3],_0x577f3e=0x4,_0x272cb6=0x1;_0x272cb6<_0x2a1cfa;_0x272cb6++){var _0x30ff70=_0x2e05a9[_0x365a3d>>>0x18]^_0x50c83d[_0x4deb19>>>0x10&0xff]^_0x71de1f[_0x9d441d>>>0x8&0xff]^_0x7f5f9b[_0x22b2f9&0xff]^_0x5e0863[_0x577f3e++],_0x26af2f=_0x2e05a9[_0x4deb19>>>0x18]^_0x50c83d[_0x9d441d>>>0x10&0xff]^_0x71de1f[_0x22b2f9>>>0x8&0xff]^_0x7f5f9b[_0x365a3d&0xff]^_0x5e0863[_0x577f3e++],_0x2aade1=_0x2e05a9[_0x9d441d>>>0x18]^_0x50c83d[_0x22b2f9>>>0x10&0xff]^_0x71de1f[_0x365a3d>>>0x8&0xff]^_0x7f5f9b[_0x4deb19&0xff]^_0x5e0863[_0x577f3e++],_0x101b79=_0x2e05a9[_0x22b2f9>>>0x18]^_0x50c83d[_0x365a3d>>>0x10&0xff]^_0x71de1f[_0x4deb19>>>0x8&0xff]^_0x7f5f9b[_0x9d441d&0xff]^_0x5e0863[_0x577f3e++];_0x365a3d=_0x30ff70,_0x4deb19=_0x26af2f,_0x9d441d=_0x2aade1,_0x22b2f9=_0x101b79;}var _0x30ff70=(_0x4d64b2[_0x365a3d>>>0x18]<<0x18|_0x4d64b2[_0x4deb19>>>0x10&0xff]<<0x10|_0x4d64b2[_0x9d441d>>>0x8&0xff]<<0x8|_0x4d64b2[_0x22b2f9&0xff])^_0x5e0863[_0x577f3e++],_0x26af2f=(_0x4d64b2[_0x4deb19>>>0x18]<<0x18|_0x4d64b2[_0x9d441d>>>0x10&0xff]<<0x10|_0x4d64b2[_0x22b2f9>>>0x8&0xff]<<0x8|_0x4d64b2[_0x365a3d&0xff])^_0x5e0863[_0x577f3e++],_0x2aade1=(_0x4d64b2[_0x9d441d>>>0x18]<<0x18|_0x4d64b2[_0x22b2f9>>>0x10&0xff]<<0x10|_0x4d64b2[_0x365a3d>>>0x8&0xff]<<0x8|_0x4d64b2[_0x4deb19&0xff])^_0x5e0863[_0x577f3e++],_0x101b79=(_0x4d64b2[_0x22b2f9>>>0x18]<<0x18|_0x4d64b2[_0x365a3d>>>0x10&0xff]<<0x10|_0x4d64b2[_0x4deb19>>>0x8&0xff]<<0x8|_0x4d64b2[_0x9d441d&0xff])^_0x5e0863[_0x577f3e++];_0x51dc99[_0x20b02d]=_0x30ff70,_0x51dc99[_0x20b02d+0x1]=_0x26af2f,_0x51dc99[_0x20b02d+0x2]=_0x2aade1,_0x51dc99[_0x20b02d+0x3]=_0x101b79;},'keySize':0x100/0x20});_0x4c25f3[_0x2944df(0x214)]=_0x3fc155['_createHelper'](_0x2fe348);}()),_0x4bc199[_0x1682d8(0x214)];}));}(Ie)),Ie[_0x1c24fd(0x17d)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x346389(0x17d)],nt;function $i(){var _0x4cbb31=_0x346389;return nt||(nt=0x1,function(_0x433fd4,_0x5cc8bc){(function(_0x32c04b,_0x30d29b){var _0x41d42a=_0x2174;_0x433fd4[_0x41d42a(0x17d)]=_0x30d29b(Z());}(ki,function(_0x4c89eb){var _0x3e6f21=_0x2174;return _0x4c89eb[_0x3e6f21(0x231)][_0x3e6f21(0x2cd)];}));}(Oe)),Oe[_0x4cbb31(0x17d)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x346389(0x17d)],st;function Fi(){var _0x15f757=_0x346389;return st||(st=0x1,function(_0xad8638,_0x1d1548){(function(_0x4722e9,_0x478d28){var _0x42b44f=_0x2174;_0xad8638[_0x42b44f(0x17d)]=_0x478d28(Z());}(Bi,function(_0x1c1fa1){var _0x1a22fd=_0x2174;return(function(){var _0x15d788=_0x2174;if(typeof ArrayBuffer==_0x15d788(0x3e6)){var _0x39fc60=_0x1c1fa1,_0x83e85c=_0x39fc60[_0x15d788(0x29b)],_0x2c0254=_0x83e85c[_0x15d788(0x1ab)],_0x6b1166=_0x2c0254[_0x15d788(0x1e3)],_0x5b9ab9=_0x2c0254[_0x15d788(0x1e3)]=function(_0x56a7c4){var _0x1011e9=_0x15d788;if(_0x56a7c4 instanceof ArrayBuffer&&(_0x56a7c4=new Uint8Array(_0x56a7c4)),(_0x56a7c4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x56a7c4 instanceof Uint8ClampedArray||_0x56a7c4 instanceof Int16Array||_0x56a7c4 instanceof Uint16Array||_0x56a7c4 instanceof Int32Array||_0x56a7c4 instanceof Uint32Array||_0x56a7c4 instanceof Float32Array||_0x56a7c4 instanceof Float64Array)&&(_0x56a7c4=new Uint8Array(_0x56a7c4[_0x1011e9(0xec)],_0x56a7c4[_0x1011e9(0x319)],_0x56a7c4[_0x1011e9(0x31d)])),_0x56a7c4 instanceof Uint8Array){for(var _0x3635bb=_0x56a7c4[_0x1011e9(0x31d)],_0x2249c6=[],_0x154895=0x0;_0x154895<_0x3635bb;_0x154895++)_0x2249c6[_0x154895>>>0x2]|=_0x56a7c4[_0x154895]<<0x18-_0x154895%0x4*0x8;_0x6b1166[_0x1011e9(0x15a)](this,_0x2249c6,_0x3635bb);}else _0x6b1166['apply'](this,arguments);};_0x5b9ab9['prototype']=_0x2c0254;}}()),_0x1c1fa1['lib'][_0x1a22fd(0x1ab)];}));}(be)),be[_0x15f757(0x17d)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x346389(0x17d)],rt;function Yi(){var _0x218aef=_0x346389;return rt||(rt=0x1,function(_0x225f3c,_0xe8253d){(function(_0x3fa70c,_0x1d1bde,_0x1fdf81){var _0x21eae4=_0x2174;_0x225f3c[_0x21eae4(0x17d)]=_0x1d1bde(Z(),Ot());}(Gi,function(_0x46e283){var _0x5e9957=_0x2174;return _0x46e283[_0x5e9957(0x359)][_0x5e9957(0x2a1)]={'pad':function(){},'unpad':function(){}},_0x46e283[_0x5e9957(0x359)][_0x5e9957(0x2a1)];}));}(Re)),Re[_0x218aef(0x17d)];}var Ki=Yi();const qi=de(Ki);function zi(_0x39f778,_0x3c60c6){var _0x315053=_0x346389;const _0xb2ffd5=_0x3c60c6-_0x39f778['length']%_0x3c60c6,_0x508024=String['fromCharCode'](_0xb2ffd5)[_0x315053(0x2fc)](_0xb2ffd5);return _0x39f778+_0x508024;}function Xi(_0x5c0716,_0x2996e5){var _0x4726bb=_0x346389;const _0x3ca3e4=Wi['random'](0x10),_0x21a811=zi(_0x5c0716,0x10),_0x342b8b=wi[_0x4726bb(0x3fb)](ji['parse'](_0x21a811),it[_0x4726bb(0xed)](_0x2996e5),{'iv':_0x3ca3e4,'padding':qi});return _0x3ca3e4[_0x4726bb(0x1f4)](_0x342b8b[_0x4726bb(0x135)])[_0x4726bb(0x3c3)](it);}function Ji(){var _0x5c68d4=_0x346389;const _0x340074=Dt[_0x5c68d4(0x357)]()[_0x5c68d4(0x17e)];if(_0x340074){const _0x4ceddd={'time':Math[_0x5c68d4(0x194)](Date[_0x5c68d4(0xbd)]()/0x3e8),'domain':location[_0x5c68d4(0x2ef)]};return Xi(JSON[_0x5c68d4(0x3cf)](_0x4ceddd),_0x340074);}}var Zi=Object[_0x346389(0x21c)],Qi=(_0x2a816b,_0x4c6df2,_0x20118f,_0x52b500)=>{for(var _0x5dc168=_0x52b500>0x1?void 0x0:_0x52b500?Zi(_0x4c6df2,_0x20118f):_0x4c6df2,_0xd7472b=_0x2a816b['length']-0x1,_0x216866;_0xd7472b>=0x0;_0xd7472b--)(_0x216866=_0x2a816b[_0xd7472b])&&(_0x5dc168=_0x216866(_0x5dc168)||_0x5dc168);return _0x5dc168;},en=(_0x523a4a,_0x110843)=>(_0xd4251b,_0x38b9fa)=>_0x110843(_0xd4251b,_0x38b9fa,_0x523a4a);let De=class{constructor(_0x48e82b){var _0x520356=_0x346389;this[_0x520356(0x28d)]=_0x48e82b,this['_initRequestHeader']();}[_0x346389(0x2f8)](){var _0x48c958=_0x346389;this[_0x48c958(0x28d)][_0x48c958(0x205)]({'interceptor':(_0x1a1ef3,_0xc3d931)=>{var _0xcbaffe=_0x48c958;const _0x5677b7=_0x1a1ef3['headers'],_0x5e07e7=Ji();return _0x5e07e7&&_0x5677b7['set'](_0xcbaffe(0x3db),_0x5e07e7),_0xc3d931(_0x1a1ef3);}});}};De=Qi([en(0x0,o[_0x346389(0x33c)](K[_0x346389(0x3d7)]))],De);var tn=Object['getOwnPropertyDescriptor'],nn=(_0x1bacbc,_0x4bc425,_0x54e4b6,_0x1c6cc9)=>{var _0x9e58ef=_0x346389;for(var _0x5be68b=_0x1c6cc9>0x1?void 0x0:_0x1c6cc9?tn(_0x4bc425,_0x54e4b6):_0x4bc425,_0x434eb6=_0x1bacbc[_0x9e58ef(0x260)]-0x1,_0x5aa167;_0x434eb6>=0x0;_0x434eb6--)(_0x5aa167=_0x1bacbc[_0x434eb6])&&(_0x5be68b=_0x5aa167(_0x5be68b)||_0x5be68b);return _0x5be68b;},Le=(_0x458cf9,_0x2d2170)=>(_0x4a309c,_0x38e66f)=>_0x2d2170(_0x4a309c,_0x38e66f,_0x458cf9);exports[_0x346389(0x39f)]=class extends o[_0x346389(0x29a)]{constructor(_0x1cf015,_0x3e8799,_0x134bde){var _0x522f92=_0x346389;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x522f92(0x2c7),this[_0x522f92(0x158)][_0x522f92(0x33e)]()),(this[_0x522f92(0x306)]=_0x1cf015,this[_0x522f92(0x3a3)]=_0x3e8799,this[_0x522f92(0x249)]=_0x134bde);}async[_0x346389(0x237)](_0x1bbc1f,_0x26d96a,_0x5200bc){var _0x54c2c1=_0x346389;this[_0x54c2c1(0x158)][_0x54c2c1(0x408)]({'unitId':_0x1bbc1f,'type':_0x26d96a});let _0x262ce2=null;switch(_0x26d96a){case X[_0x54c2c1(0x30c)]:{_0x262ce2=await this[_0x54c2c1(0x3a3)][_0x54c2c1(0x19d)](_0x1bbc1f,_0x5200bc);break;}case X[_0x54c2c1(0xf3)]:{_0x262ce2=await this[_0x54c2c1(0x3a3)][_0x54c2c1(0x2a3)](_0x1bbc1f,_0x5200bc);break;}default:{this['_logService'][_0x54c2c1(0x286)](_0x54c2c1(0x346),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x262ce2;}async[_0x346389(0x221)](_0x49d54b,_0x5357da,_0x5b0a00){var _0x17e176=_0x346389,_0x417269;this[_0x17e176(0x158)][_0x17e176(0x408)]({'unitId':_0x49d54b,'type':_0x5357da,'subUnitId':_0x5b0a00});let _0x11d391=0x0;const _0x5a7416=await((_0x417269=this[_0x17e176(0x249)])==null?void 0x0:_0x417269[_0x17e176(0x2d0)](_0x49d54b));return _0x5a7416&&(_0x5a7416['awaitingChangeset']||_0x5a7416[_0x17e176(0x2aa)][_0x17e176(0x260)]!==0x0)&&(_0x11d391=_0x5a7416[_0x17e176(0x267)]),_0x11d391===0x0&&this['_logService'][_0x17e176(0x20f)](_0x17e176(0x346),_0x17e176(0x11f)),this[_0x17e176(0x237)](_0x49d54b,_0x5357da,_0x11d391);}},exports[_0x346389(0x39f)]=nn([Le(0x0,o[_0x346389(0x245)]),Le(0x1,o[_0x346389(0x33c)](E[_0x346389(0x433)])),Le(0x2,o[_0x346389(0x32f)](q))],exports[_0x346389(0x39f)]);var sn=Object[_0x346389(0x21c)],rn=(_0x4851af,_0x75ce82,_0x5b29ce,_0xb89bdc)=>{var _0x1313e6=_0x346389;for(var _0x2c5fcf=_0xb89bdc>0x1?void 0x0:_0xb89bdc?sn(_0x75ce82,_0x5b29ce):_0x75ce82,_0x5c3e13=_0x4851af[_0x1313e6(0x260)]-0x1,_0x2e1191;_0x5c3e13>=0x0;_0x5c3e13--)(_0x2e1191=_0x4851af[_0x5c3e13])&&(_0x2c5fcf=_0x2e1191(_0x2c5fcf)||_0x2c5fcf);return _0x2c5fcf;},Me=(_0x394131,_0xd24fd3)=>(_0x1d7184,_0x4508f7)=>_0xd24fd3(_0x1d7184,_0x4508f7,_0x394131);const an=[_0x346389(0x33d),_0x346389(0x132),_0x346389(0x1b3),_0x346389(0x131),_0x346389(0x437)],on=0x5*0x400*0x400,cn=_0x346389(0x16c),_n=_0x346389(0x198);exports[_0x346389(0x438)]=class{constructor(_0x1e3335,_0x57cf01,_0x43d48f){var _0x229d86=_0x346389;A(this,'_waitCount',0x0),A(this,'_change$',new j[(_0x229d86(0x1b5))]()),A(this,'change$',this[_0x229d86(0x42c)]),A(this,_0x229d86(0x177),new Map()),(this[_0x229d86(0x28d)]=_0x1e3335,this[_0x229d86(0x13b)]=_0x57cf01,this[_0x229d86(0x334)]=_0x43d48f);}[_0x346389(0x3ec)](_0x85c6fa){var _0x2bf213=_0x346389;this[_0x2bf213(0x326)]=_0x85c6fa,this[_0x2bf213(0x42c)][_0x2bf213(0x408)](_0x85c6fa);}[_0x346389(0x216)](_0x2c67be,_0x4ed35e){var _0x1fc2a2=_0x346389;if(_0x4ed35e===z[_0x1fc2a2(0x1c5)][_0x1fc2a2(0x43c)]){const _0x34acec=new Image();return _0x34acec[_0x1fc2a2(0x401)]=_0x2c67be,_0x34acec;}return this[_0x1fc2a2(0x177)][_0x1fc2a2(0x16e)](_0x2c67be);}[_0x346389(0x42a)](_0x454e89,_0x5c3505,_0xd5b32f){var _0x59f77f=_0x346389;_0x5c3505===z['ImageSourceType'][_0x59f77f(0x43c)]||_0xd5b32f==null||this[_0x59f77f(0x177)][_0x59f77f(0xfc)](_0x454e89,_0xd5b32f);}async['getImage'](_0xd1c05c){var _0x42eed2=_0x346389;try{const _0x2f547f=this['_replaceFileID'](this[_0x42eed2(0x238)](),''+_0xd1c05c),_0x5df63e=(await this[_0x42eed2(0x28d)][_0x42eed2(0x16e)](_0x2f547f))[_0x42eed2(0x144)];if(_0x5df63e['error']&&_0x5df63e[_0x42eed2(0x286)]['code']===vt['OK']){const _0xd3abda=new URL(_0x5df63e['url'],this[_0x42eed2(0x2ba)]())[_0x42eed2(0x3c3)]();return Promise[_0x42eed2(0x383)](_0xd3abda);}return Promise[_0x42eed2(0x32c)](_0x5df63e[_0x42eed2(0x286)]);}catch(_0x1f35b5){return Promise[_0x42eed2(0x32c)](_0x1f35b5);}}async[_0x346389(0x1af)](_0x9e1123){var _0x6dd32e=_0x346389;let _0x2efe5d='';if(!an[_0x6dd32e(0x1df)](_0x9e1123[_0x6dd32e(0x424)]))return this['_decreaseWaiting'](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)]['ERROR_IMAGE_TYPE']));if(_0x9e1123['size']>on)return this[_0x6dd32e(0x37f)](),Promise[_0x6dd32e(0x32c)](new Error(z['ImageUploadStatusType'][_0x6dd32e(0x2c8)]));try{const _0x5760cd=new FormData();_0x5760cd['append'](_0x6dd32e(0x147),_0x9e1123);const _0x385147=this[_0x6dd32e(0x334)][_0x6dd32e(0x2a7)](),_0x20fa6b=_0x385147==null?void 0x0:_0x385147['getUnitId']();if(!_0x20fa6b)throw new Error(_0x6dd32e(0xf0));const _0x39b209=this[_0x6dd32e(0x1ae)]()+_0x6dd32e(0x384)+_0x9e1123[_0x6dd32e(0x373)][_0x6dd32e(0x3c3)]()+'&source='+dt['UnitEmbedded']+_0x6dd32e(0x230)+encodeURIComponent(_0x20fa6b),_0x1469f6={'body':_0x5760cd},_0x186265=(await this['_httpService'][_0x6dd32e(0x27a)](_0x39b209,_0x1469f6))['body'];if(typeof _0x186265[_0x6dd32e(0x17b)]!=_0x6dd32e(0x171))return this['_decreaseWaiting'](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)]['ERROR_IMAGE']));_0x2efe5d=_0x186265['FileId'];}catch{return this[_0x6dd32e(0x37f)](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)][_0x6dd32e(0xe8)]));}return new Promise((_0x2808b4,_0x1474fb)=>{var _0x321adc=_0x6dd32e;const _0x54f21f=new FileReader();_0x54f21f['readAsDataURL'](_0x9e1123),_0x54f21f[_0x321adc(0xf7)]=_0x5a0922=>{var _0x495071=_0x321adc,_0x13eb83;const _0x39a237=(_0x13eb83=_0x5a0922['target'])==null?void 0x0:_0x13eb83[_0x495071(0x11a)];if(_0x39a237==null){this['_decreaseWaiting'](),_0x1474fb(new Error(z[_0x495071(0x3b1)][_0x495071(0xe8)]));return;}const _0x1fd83d=o[_0x495071(0x136)](0x6);_0x2808b4({'imageId':_0x1fd83d,'imageSourceType':z[_0x495071(0x1c5)][_0x495071(0x1ff)],'source':_0x2efe5d,'base64Cache':_0x39a237,'status':z['ImageUploadStatusType'][_0x495071(0x10e)]}),this['_decreaseWaiting']();};});}[_0x346389(0x1ae)](){var _0x1b4cf6=_0x346389,_0x236713;const _0x28ddb7=this[_0x1b4cf6(0x13b)][_0x1b4cf6(0x31c)](Y);return(_0x236713=_0x28ddb7==null?void 0x0:_0x28ddb7[_0x1b4cf6(0x3b7)])!=null?_0x236713:cn;}[_0x346389(0x238)](){var _0x386d76=_0x346389,_0x299be1;const _0x16c236=this[_0x386d76(0x13b)][_0x386d76(0x31c)](Y);return(_0x299be1=_0x16c236==null?void 0x0:_0x16c236[_0x386d76(0x421)])!=null?_0x299be1:_n;}[_0x346389(0x2ba)](){var _0x2bbc41=_0x346389,_0x7cc39c;const _0x94177d=this['_configService'][_0x2bbc41(0x31c)](Y);return(_0x7cc39c=_0x94177d==null?void 0x0:_0x94177d[_0x2bbc41(0x32a)])!=null?_0x7cc39c:location[_0x2bbc41(0xd8)];}[_0x346389(0x2af)](_0x5dfc5c,_0x2f7593){var _0x40f371=_0x346389;return _0x5dfc5c[_0x40f371(0x236)]('{fileID}',_0x2f7593);}[_0x346389(0x37f)](){var _0x26baab=_0x346389;this['_waitCount']-=0x1,this[_0x26baab(0x42c)][_0x26baab(0x408)](this[_0x26baab(0x326)]);}},exports[_0x346389(0x438)]=rn([Me(0x0,o[_0x346389(0x33c)](K[_0x346389(0x3d7)])),Me(0x1,o[_0x346389(0x3ac)]),Me(0x2,o[_0x346389(0x33c)](o[_0x346389(0x1c6)]))],exports['CollaborationImageIoService']);var hn=Object[_0x346389(0x21c)],ln=(_0x10d1f2,_0x564257,_0x469c2f,_0x1a1b12)=>{var _0x345609=_0x346389;for(var _0x173b08=_0x1a1b12>0x1?void 0x0:_0x1a1b12?hn(_0x564257,_0x469c2f):_0x564257,_0x1c5f17=_0x10d1f2[_0x345609(0x260)]-0x1,_0x599057;_0x1c5f17>=0x0;_0x1c5f17--)(_0x599057=_0x10d1f2[_0x1c5f17])&&(_0x173b08=_0x599057(_0x173b08)||_0x173b08);return _0x173b08;},at=(_0x4c86cb,_0x3f14aa)=>(_0x36df52,_0x50fe50)=>_0x3f14aa(_0x36df52,_0x50fe50,_0x4c86cb);const un=_0x346389(0x363);exports[_0x346389(0xf6)]=class{constructor(_0x376133,_0x59277a){var _0x38c9bd=_0x346389;this['_configService']=_0x376133,this[_0x38c9bd(0x2e3)]=_0x59277a;}[_0x346389(0x324)](){var _0x21e988=_0x346389,_0xd3be64;const _0x4d4eb1=this[_0x21e988(0x13b)][_0x21e988(0x31c)](Y);return(_0xd3be64=_0x4d4eb1==null?void 0x0:_0x4d4eb1[_0x21e988(0x1de)])!=null?_0xd3be64:un;}async['list'](_0x23bd50){var _0x3bb091=_0x346389;const _0xc6ad28=this[_0x3bb091(0x324)]()+_0x3bb091(0x3d4);return{'list':[{'title':_0x3bb091(0x22c),'mentions':(await this['_HTTPService']['get'](_0xc6ad28,{'params':{'objectID':_0x23bd50[_0x3bb091(0x440)],'unitID':_0x23bd50[_0x3bb091(0x440)]}}))[_0x3bb091(0x144)][_0x3bb091(0x3c7)][_0x3bb091(0x41e)](_0x33f87f=>({'objectId':_0x33f87f['id'],'name':_0x33f87f[_0x3bb091(0x118)][_0x3bb091(0x2c0)],'metadata':{'icon':_0x33f87f['subject'][_0x3bb091(0x241)]},'label':_0x33f87f[_0x3bb091(0x118)][_0x3bb091(0x2c0)],'objectType':o[_0x3bb091(0xce)]['PERSON']})),'metadata':{},'type':o[_0x3bb091(0xce)][_0x3bb091(0x3d1)]}]};}},exports['MentionIoHttpService']=ln([at(0x0,o['Inject'](o[_0x346389(0x3ac)])),at(0x1,o[_0x346389(0x33c)](K[_0x346389(0x3d7)]))],exports[_0x346389(0xf6)]);var vn=Object[_0x346389(0x21c)],dn=(_0x2c401a,_0x32a90b,_0x552f0b,_0x2d2e04)=>{var _0x4dcefc=_0x346389;for(var _0x39b35d=_0x2d2e04>0x1?void 0x0:_0x2d2e04?vn(_0x32a90b,_0x552f0b):_0x32a90b,_0x2dfe06=_0x2c401a[_0x4dcefc(0x260)]-0x1,_0x32d840;_0x2dfe06>=0x0;_0x2dfe06--)(_0x32d840=_0x2c401a[_0x2dfe06])&&(_0x39b35d=_0x32d840(_0x39b35d)||_0x39b35d);return _0x39b35d;},le=(_0x42a55a,_0x182904)=>(_0x6c7712,_0x1e1783)=>_0x182904(_0x6c7712,_0x1e1783,_0x42a55a);let ye=class extends o[_0x346389(0x29a)]{constructor(_0x520ded,_0x29cde5,_0x140b06,_0x5069a9,_0x42fc96){var _0x38522c=_0x346389;super(),this[_0x38522c(0x258)]=_0x520ded,this[_0x38522c(0x334)]=_0x29cde5,this[_0x38522c(0x316)]=_0x140b06,this[_0x38522c(0x227)]=_0x5069a9,this['_collaborationUIEventService']=_0x42fc96,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x36c636=_0x346389;const _0x3eed46=async _0x2beb09=>{var _0x2be80f=_0x2174;(await this[_0x2be80f(0x227)][_0x2be80f(0x106)](_0x2beb09))[_0x2be80f(0x199)][_0x2be80f(0x442)](V['filter'](_0xcb3665=>_0xcb3665[_0x2be80f(0x107)]===E[_0x2be80f(0x3e4)][_0x2be80f(0x175)]),V[_0x2be80f(0x3bf)](this['dispose$']))[_0x2be80f(0x1f7)](_0x4e9d7b=>{var _0x28b176=_0x2be80f;const _0x2794e2=_0x4e9d7b,{reason:_0x1c341d}=_0x2794e2[_0x28b176(0x2f9)];this[_0x28b176(0xcd)][_0x28b176(0xc5)]({'id':J[_0x28b176(0x422)],'data':_0x1c341d}),this[_0x28b176(0x316)][_0x28b176(0x290)](new Q[(_0x28b176(0x344))](_0x2beb09)['id'],!0x1),this[_0x28b176(0x227)]['closeSession'](_0x2beb09);});};j[_0x36c636(0x39d)](this[_0x36c636(0x334)][_0x36c636(0x2e4)](o[_0x36c636(0x187)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x36c636(0x2e4)](o[_0x36c636(0x187)][_0x36c636(0xf3)]))[_0x36c636(0x442)](V['map'](_0x17d454=>_0x17d454['getUnitId']()),V[_0x36c636(0x2ca)](_0x1d15de=>!o['isInternalEditorID'](_0x1d15de)),V['takeUntil'](this[_0x36c636(0x2bb)]))['subscribe'](_0x1cf5e6=>{_0x3eed46(_0x1cf5e6);});}[_0x346389(0x2a8)](){var _0x2535f5=_0x346389;const _0x676f59=async _0x15c218=>{var _0x2c28d9=_0x2174;const _0x317ef6=await this[_0x2c28d9(0x227)][_0x2c28d9(0x106)](_0x15c218),_0x18d29b=this[_0x2c28d9(0x258)][_0x2c28d9(0x16e)](Q[_0x2c28d9(0x434)]);_0x317ef6[_0x2c28d9(0x199)][_0x2c28d9(0x442)](V[_0x2c28d9(0x2ca)](_0x10c1af=>_0x10c1af[_0x2c28d9(0x107)]===E[_0x2c28d9(0x3e4)][_0x2c28d9(0x1b4)]),V[_0x2c28d9(0x3bf)](this['dispose$']))[_0x2c28d9(0x1f7)](_0x168643=>{var _0x298e30=_0x2c28d9;const _0x1153ce=_0x168643,{objectId:_0x3c8ec6}=_0x1153ce[_0x298e30(0x2f9)];_0x3c8ec6===_0x15c218?_0x18d29b[_0x298e30(0x41b)](_0x15c218):_0x18d29b[_0x298e30(0x25b)](_0x15c218,_0x3c8ec6);});};j[_0x2535f5(0x39d)](this['_univerInstanceService'][_0x2535f5(0x2e4)](o[_0x2535f5(0x187)][_0x2535f5(0x30c)]))['pipe'](V[_0x2535f5(0x41e)](_0x22f6bb=>_0x22f6bb[_0x2535f5(0x20c)]()),V[_0x2535f5(0x2ca)](_0x445d3e=>!o[_0x2535f5(0x2df)](_0x445d3e)),V[_0x2535f5(0x3bf)](this[_0x2535f5(0x2bb)]))[_0x2535f5(0x1f7)](_0x1a987=>{_0x676f59(_0x1a987);});}};ye=dn([le(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),le(0x1,o['IUniverInstanceService']),le(0x2,o[_0x346389(0x261)]),le(0x3,o[_0x346389(0x33c)](exports['CollaborationSessionService'])),le(0x4,o['Inject'](ee))],ye);var Sn=Object[_0x346389(0x21c)],In=(_0x83977f,_0x451cff,_0x52ea14,_0x87d0ba)=>{var _0x480e1e=_0x346389;for(var _0x2652c7=_0x87d0ba>0x1?void 0x0:_0x87d0ba?Sn(_0x451cff,_0x52ea14):_0x451cff,_0xde6ef=_0x83977f[_0x480e1e(0x260)]-0x1,_0x409c41;_0xde6ef>=0x0;_0xde6ef--)(_0x409c41=_0x83977f[_0xde6ef])&&(_0x2652c7=_0x409c41(_0x2652c7)||_0x2652c7);return _0x2652c7;},ot=(_0x564093,_0x896ebb)=>(_0x58c6e4,_0x34fafa)=>_0x896ebb(_0x58c6e4,_0x34fafa,_0x564093);exports['SnapshotServerOverHTTPService']=class{constructor(_0xa54032,_0x2a06d0){var _0x323377=_0x346389;this[_0x323377(0x13b)]=_0xa54032,this['_httpService']=_0x2a06d0;}async['getUnitOnRev'](_0x1c7df3,_0x55f1f4){var _0x4cd90e=_0x346389,_0x43caca;const {unitID:_0xceb68e,type:_0x1c7efb,revision:_0x2fecca=0x0}=_0x55f1f4,_0x49f628=this[_0x4cd90e(0x1aa)]()+'/'+_0x1c7efb+_0x4cd90e(0xf5)+_0xceb68e+_0x4cd90e(0x2db)+_0x2fecca,_0x878054=(await this[_0x4cd90e(0x28d)][_0x4cd90e(0x16e)](_0x49f628))[_0x4cd90e(0x144)],_0x18494e=(_0x43caca=_0x878054['snapshot'])==null?void 0x0:_0x43caca[_0x4cd90e(0x23b)];if(_0x18494e){const _0x67defe=_0x18494e==null?void 0x0:_0x18494e[_0x4cd90e(0x432)],_0xc04c8e=E[_0x4cd90e(0x3d0)][_0x4cd90e(0x180)](E[_0x4cd90e(0x276)](_0x67defe));_0x18494e[_0x4cd90e(0x432)]=_0xc04c8e,Object['entries'](_0x18494e[_0x4cd90e(0xbe)])['forEach'](([,_0x289e27])=>{var _0x1520f0=_0x4cd90e;const _0x331054=_0x289e27[_0x1520f0(0x432)],_0x2c62c8=E[_0x1520f0(0x3d0)]['encode'](E[_0x1520f0(0x276)](_0x331054));_0x289e27['originalMeta']=_0x2c62c8;});}return _0x878054;}async[_0x346389(0x183)](_0x37d875,_0x3fede1){var _0x3c4647=_0x346389;const {unitID:_0x1d8c71,type:_0xa65bb,blockID:_0x421832}=_0x3fede1,_0x9d809b=this['_getAPIPrefix']()+'/'+_0xa65bb+_0x3c4647(0xf5)+_0x1d8c71+_0x3c4647(0x142)+_0x421832;return(await this[_0x3c4647(0x28d)][_0x3c4647(0x16e)](_0x9d809b))[_0x3c4647(0x144)];}async[_0x346389(0x1da)](_0x5acba8,_0x13e087){var _0x4f7263=_0x346389;const {unitID:_0x29bad4,type:_0x29ccaa,blockID:_0x11c182}=_0x13e087,_0x25a645=this['_getAPIPrefix']()+_0x4f7263(0x142)+_0x29ccaa+_0x4f7263(0xf5)+_0x29bad4+_0x4f7263(0x142)+_0x11c182;return(await this['_httpService'][_0x4f7263(0x16e)](_0x25a645))['body'];}async['fetchMissingChangesets'](_0x59aa00,_0x9ec016){var _0x1538bb=_0x346389;const {unitID:_0x513c0b,type:_0x40adcf,from:_0x72136,to:_0x542c59}=_0x9ec016,_0x2d50ac=this[_0x1538bb(0x2b5)]()+'/'+_0x40adcf+_0x1538bb(0xf5)+_0x513c0b+_0x1538bb(0x2b0)+_0x72136+_0x1538bb(0x41c)+_0x542c59;return(await this[_0x1538bb(0x28d)][_0x1538bb(0x16e)](_0x2d50ac))[_0x1538bb(0x144)];}[_0x346389(0x1aa)](){var _0x440c6d=_0x346389,_0x88485e;return(_0x88485e=this[_0x440c6d(0x13b)][_0x440c6d(0x31c)](Ut))!=null?_0x88485e:this['_getAPIPrefix']();}[_0x346389(0x2b5)](){var _0x496795=_0x346389,_0x1e4188;const _0x3c4ec3=this[_0x496795(0x13b)][_0x496795(0x31c)](Y);return(_0x1e4188=_0x3c4ec3==null?void 0x0:_0x3c4ec3['snapshotServerUrl'])!=null?_0x1e4188:yt;}async['getResourcesRequest'](_0x493f4a,_0x39748b){var _0x4e0b3f=_0x346389;const _0x14f623=_0x4e0b3f(0x280)+_0x39748b[_0x4e0b3f(0x424)]+_0x4e0b3f(0xf5)+_0x39748b[_0x4e0b3f(0x212)]+_0x4e0b3f(0x13f);return(await this[_0x4e0b3f(0x28d)][_0x4e0b3f(0x16e)](_0x14f623,{'params':{'resourceId':JSON['stringify'](_0x39748b[_0x4e0b3f(0x1f3)])}}))[_0x4e0b3f(0x144)];}[_0x346389(0x1b6)](){var _0x389b5a=_0x346389;throw new Error(_0x389b5a(0x2a9));}[_0x346389(0x28e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x346389(0x3d6)](){var _0x26b4e2=_0x346389;throw new Error(_0x26b4e2(0x2a9));}[_0x346389(0x275)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0xc11fad=_0x346389;throw new Error(_0xc11fad(0x2a9));}[_0x346389(0x14e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x346389(0x329)]=In([ot(0x0,o[_0x346389(0x3ac)]),ot(0x1,o[_0x346389(0x33c)](K['HTTPService']))],exports[_0x346389(0x329)]);var fn=Object[_0x346389(0x21c)],En=(_0x1f7a3b,_0x5a65f2,_0x597f58,_0x2a4e51)=>{var _0x35d68b=_0x346389;for(var _0x321621=_0x2a4e51>0x1?void 0x0:_0x2a4e51?fn(_0x5a65f2,_0x597f58):_0x5a65f2,_0x3625c8=_0x1f7a3b[_0x35d68b(0x260)]-0x1,_0x266f11;_0x3625c8>=0x0;_0x3625c8--)(_0x266f11=_0x1f7a3b[_0x3625c8])&&(_0x321621=_0x266f11(_0x321621)||_0x321621);return _0x321621;},ue=(_0x38a4fe,_0x584126)=>(_0x24cb13,_0xd6f8c9)=>_0x584126(_0x24cb13,_0xd6f8c9,_0x38a4fe);exports[_0x346389(0x1bc)]=class extends o[_0x346389(0x311)]{constructor(_0x144c91,_0x340a0a,_0x25eb3c,_0x5effa4,_0x5320fa){var _0x2bf3cd=_0x346389;super(_0x144c91,_0x340a0a,_0x25eb3c),this[_0x2bf3cd(0x358)]=_0x5effa4,this[_0x2bf3cd(0x306)]=_0x5320fa;}['transformUndoRedo'](_0x8703c4,_0x4fa2c3){var _0x4286e2=_0x346389;const _0x309ab1=this[_0x4286e2(0x10b)](_0x8703c4);if(_0x309ab1)try{const _0x40a6bd=this[_0x4286e2(0x310)](_0x309ab1,_0x4fa2c3);this[_0x4286e2(0x41a)](_0x8703c4,_0x40a6bd);}catch(_0x47cab3){this['_logService'][_0x4286e2(0x286)](_0x4286e2(0x223),_0x47cab3),this[_0x4286e2(0x168)](_0x8703c4);}const _0x27d648=this[_0x4286e2(0x102)](_0x8703c4);if(_0x27d648)try{const _0x730a9c=this[_0x4286e2(0x310)](_0x27d648,_0x4fa2c3);this['_substituteRedoStack'](_0x8703c4,_0x730a9c);}catch(_0x51fc3e){this[_0x4286e2(0x306)][_0x4286e2(0x286)](_0x51fc3e),this['_clearRedo'](_0x8703c4);}}['_clearUndo'](_0x134db4){var _0x58d4e4=_0x346389;const _0x453ecb=this[_0x58d4e4(0x10b)](_0x134db4);_0x453ecb&&(_0x453ecb[_0x58d4e4(0x260)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4a3763){var _0x3d4f2e=_0x346389;const _0x3f4606=this[_0x3d4f2e(0x102)](_0x4a3763);_0x3f4606&&(_0x3f4606[_0x3d4f2e(0x260)]=0x0,this['_updateStatus']());}[_0x346389(0x41a)](_0x32c8e7,_0x4e058b){var _0x35351c=_0x346389;this[_0x35351c(0xeb)][_0x35351c(0xfc)](_0x32c8e7,_0x4e058b),this['_updateStatus']();}[_0x346389(0x252)](_0x308ef0,_0x2a33a9){var _0x541406=_0x346389;this[_0x541406(0x2e8)][_0x541406(0xfc)](_0x308ef0,_0x2a33a9),this[_0x541406(0x3e5)]();}[_0x346389(0x310)](_0x195298,_0x1ec5af){var _0x2e5156=_0x346389;const _0x323084=[];let _0x2ea7c1=_0x1ec5af,_0xa778ca=_0x1ec5af;for(let _0x23d77a=_0x195298[_0x2e5156(0x260)]-0x1;_0x23d77a>=0x0;_0x23d77a--){const {unitID:_0x3ec9da,undoMutations:_0x4f1a73,redoMutations:_0x2d50b8}=_0x195298[_0x23d77a],_0x53111b=this[_0x2e5156(0x358)][_0x2e5156(0x1d7)](_0x2ea7c1,_0x4f1a73),_0x59fea8=this[_0x2e5156(0x358)][_0x2e5156(0x1d7)](_0xa778ca,_0x2d50b8);if(E[_0x2e5156(0x293)](_0x53111b)||E[_0x2e5156(0x293)](_0x59fea8)){this[_0x2e5156(0x306)]['error'](_0x2e5156(0x223),_0x2e5156(0x27d),_0x53111b,_0x59fea8);break;}_0x2ea7c1=_0x53111b['c1Prime'],_0xa778ca=_0x59fea8[_0x2e5156(0x18c)],_0x323084[_0x2e5156(0x179)]({'unitID':_0x3ec9da,'undoMutations':_0x53111b[_0x2e5156(0x1f2)],'redoMutations':_0x59fea8[_0x2e5156(0x1f2)]});}return _0x323084['reverse']();}},exports[_0x346389(0x1bc)]=En([ue(0x0,o[_0x346389(0x1c6)]),ue(0x1,o['ICommandService']),ue(0x2,o[_0x346389(0x3cd)]),ue(0x3,E[_0x346389(0x1d8)]),ue(0x4,o[_0x346389(0x245)])],exports[_0x346389(0x1bc)]);var pn=Object[_0x346389(0x2a2)],mn=Object[_0x346389(0x21c)],gn=(_0x108f64,_0x159094,_0x1b24b6)=>_0x159094 in _0x108f64?pn(_0x108f64,_0x159094,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b24b6}):_0x108f64[_0x159094]=_0x1b24b6,Tn=(_0xd2b9f,_0x58c71d,_0x2f6cb9,_0x1a9cca)=>{for(var _0x536ca9=_0x1a9cca>0x1?void 0x0:_0x1a9cca?mn(_0x58c71d,_0x2f6cb9):_0x58c71d,_0xebfd56=_0xd2b9f['length']-0x1,_0x38867a;_0xebfd56>=0x0;_0xebfd56--)(_0x38867a=_0xd2b9f[_0xebfd56])&&(_0x536ca9=_0x38867a(_0x536ca9)||_0x536ca9);return _0x536ca9;},we=(_0x3a9b67,_0x33f2fc)=>(_0x42d0e1,_0x536e58)=>_0x33f2fc(_0x42d0e1,_0x536e58,_0x3a9b67),Cn=(_0xd12091,_0x332d7f,_0x59c640)=>gn(_0xd12091,_0x332d7f+'',_0x59c640);const On=_0x346389(0x1ec);exports['UniverCollaborationClientPlugin']=class extends o[_0x346389(0x148)]{constructor(_0x11942f,_0x4ff063,_0x2649f5,_0x24037a){var _0x38f7dd=_0x346389;super(),A(this,_0x38f7dd(0x26b)),(this[_0x38f7dd(0x306)]=_0x4ff063,this[_0x38f7dd(0x258)]=_0x2649f5,this['_configService']=_0x24037a);const {..._0x49949b}=o[_0x38f7dd(0x39d)]({},Qt,_0x11942f);if(!_0x49949b[_0x38f7dd(0x226)])throw new Error(_0x38f7dd(0x101));this[_0x38f7dd(0x26b)]=_0x49949b,this[_0x38f7dd(0x13b)][_0x38f7dd(0x122)](Y,_0x49949b);}['onStarting'](){var _0xc658cd=_0x346389;this['_registerDependencies'](),this[_0xc658cd(0x404)]();}['_registerDependencies'](){var _0x18df23=_0x346389,_0x5e3028,_0x42d3f8;this['_injector']['has'](o[_0x18df23(0x20d)])&&this['_logService'][_0x18df23(0x286)](_0x18df23(0x25a),_0x18df23(0x340));const _0xb177c=o['mergeOverrideWithDependencies']([[o['IUndoRedoService'],{'useClass':exports[_0x18df23(0x1bc)]}],[exports[_0x18df23(0x2bf)]],[exports[_0x18df23(0x129)]],[exports[_0x18df23(0x25e)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this['_config'][_0x18df23(0x226)]}],[E[_0x18df23(0x162)],{'useClass':exports[_0x18df23(0x329)]}],[o[_0x18df23(0x184)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x18df23(0x3e3)],{'useClass':exports[_0x18df23(0x438)]}],[o[_0x18df23(0x3c5)],{'useClass':exports[_0x18df23(0xf6)]}],[exports[_0x18df23(0x10a)]],[xe]],(_0x5e3028=this['_config'])==null?void 0x0:_0x5e3028['override']);if(!((_0x42d3f8=this[_0x18df23(0x26b)])!=null&&_0x42d3f8['enableSingleActiveInstanceLock'])){const _0xa9b172=_0xb177c['findIndex'](([_0x1b3b0f])=>_0x1b3b0f===ve);_0xa9b172!==-0x1&&_0xb177c[_0x18df23(0x2ac)](_0xa9b172,0x1);}o[_0x18df23(0x3f9)](this[_0x18df23(0x258)],_0xb177c);}[_0x346389(0x404)](){var _0x44952f=_0x346389,_0x19b51f,_0xa3cdd1,_0xd96c32;this[_0x44952f(0x258)]['get'](K['HTTPService'])[_0x44952f(0x205)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x19b51f=this['_config'])!=null&&_0x19b51f[_0x44952f(0x1cb)]||(_0xa3cdd1=this[_0x44952f(0x258)][_0x44952f(0x16e)](q,o['Quantity'][_0x44952f(0x3a7)]))==null||_0xa3cdd1[_0x44952f(0x15f)](),(_0xd96c32=this[_0x44952f(0x26b)])!=null&&_0xd96c32[_0x44952f(0xf2)]&&o[_0x44952f(0x366)](this[_0x44952f(0x258)],[[Ne]]),o['touchDependencies'](this[_0x44952f(0x258)],[[De],[exports[_0x44952f(0x10a)]],[ye]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x346389(0x354),On),exports[_0x346389(0x2ff)]=Tn([o[_0x346389(0x243)](E[_0x346389(0xe5)],K[_0x346389(0x21e)]),we(0x1,o[_0x346389(0x245)]),we(0x2,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),we(0x3,o[_0x346389(0x3ac)])],exports[_0x346389(0x2ff)]),exports[_0x346389(0x364)]=Y,exports[_0x346389(0x3a0)]=je,exports[_0x346389(0x3ea)]=J,exports[_0x346389(0x31f)]=ee,exports[_0x346389(0x2ab)]=$e,exports[_0x346389(0xc6)]=_t,exports[_0x346389(0x3dd)]=Bt,exports['DEFAULT_WS_SESSION_TICKET_URL']=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports[_0x346389(0x23f)]=ke,exports[_0x346389(0x125)]=Fe,exports[_0x346389(0x23d)]=q,exports[_0x346389(0xd7)]=pt,exports[_0x346389(0x196)]=ve,exports[_0x346389(0x27b)]=kt,exports[_0x346389(0x292)]=xt,exports[_0x346389(0x23e)]=jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x346389(0x360)]=se,exports[_0x346389(0x37d)]=He,exports[_0x346389(0xd6)]=mt,exports['getLocalCacheKey']=zt,exports['serializeCombRequest']=gt;