@univerjs-pro/collaboration-client 0.5.1-nightly.202412071605 → 0.5.1-nightly.202412090546

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 (37) hide show
  1. package/lib/cjs/facade.js +1 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -0
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
  20. package/lib/types/facade/f-collaboration.d.ts +13 -0
  21. package/lib/types/facade/f-univer.d.ts +12 -0
  22. package/lib/types/facade/index.d.ts +2 -0
  23. package/lib/types/index.d.ts +1 -0
  24. package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -2
  25. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +6 -7
  26. package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
  27. package/lib/types/services/socket/collaboration-socket.service.d.ts +4 -4
  28. package/lib/umd/facade.js +1 -0
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -1
  31. package/lib/umd/locale/fa-IR.js +1 -1
  32. package/lib/umd/locale/fr-FR.js +1 -1
  33. package/lib/umd/locale/ru-RU.js +1 -1
  34. package/lib/umd/locale/vi-VN.js +1 -1
  35. package/lib/umd/locale/zh-CN.js +1 -1
  36. package/lib/umd/locale/zh-TW.js +1 -1
  37. package/package.json +19 -8
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1d7936=_0x4a6f;(function(_0x5ddbee,_0x29685c){var _0x5124b0=_0x4a6f,_0x296780=_0x5ddbee();while(!![]){try{var _0x20ceb2=parseInt(_0x5124b0(0x2e6))/0x1*(parseInt(_0x5124b0(0x2a5))/0x2)+parseInt(_0x5124b0(0x46a))/0x3*(-parseInt(_0x5124b0(0x2e3))/0x4)+parseInt(_0x5124b0(0x1d1))/0x5*(parseInt(_0x5124b0(0x33c))/0x6)+parseInt(_0x5124b0(0x205))/0x7+-parseInt(_0x5124b0(0x3eb))/0x8+parseInt(_0x5124b0(0x391))/0x9*(-parseInt(_0x5124b0(0x260))/0xa)+parseInt(_0x5124b0(0x470))/0xb;if(_0x20ceb2===_0x29685c)break;else _0x296780['push'](_0x296780['shift']());}catch(_0x56da0a){_0x296780['push'](_0x296780['shift']());}}}(_0x2c0c,0xb2834));var Mi=Object[_0x1d7936(0x379)],$i=(_0x2ff47e,_0x232bc4,_0x49554b)=>_0x232bc4 in _0x2ff47e?Mi(_0x2ff47e,_0x232bc4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49554b}):_0x2ff47e[_0x232bc4]=_0x49554b,N=(_0x2dbb52,_0x37dc45,_0x390edc)=>$i(_0x2dbb52,typeof _0x37dc45!=_0x1d7936(0x355)?_0x37dc45+'':_0x37dc45,_0x390edc);import{createIdentifier as _0x5d7524,Inject as _0x3b3175,Disposable as _0x1bb7ef,DisposableCollection as _0x57f39d,toDisposable as _0x5bcd52,IConfigService as _0x109050,ILogService as _0x49c65f,UserManagerService as _0x1277b0,UniverInstanceType as _0x2afb19,IUniverInstanceService as _0x5d8dca,LocaleService as _0x41029b,Optional as _0x2f40a0,RxDisposable as _0x38bb5f,Injector as _0x10c67c,Tools as _0xeb6d43,Rectangle as _0x4b1375,ICommandService as _0x4b91fc,JSONX as _0x5a29c3,CommandType as _0x30d8e0,IPermissionService as _0x5cec21,IUndoRedoService as _0x2c00ef,sequenceExecute as _0x235841,Workbook as _0x28a636,MentionType as _0x3d801f,IAuthzIoService as _0xace9b4,isInternalEditorID as _0x3ed59c,LocalUndoRedoService as _0x1c30e1,IContextService as _0x17a4e5,DependentOn as _0x45a5c5,Plugin as _0xe235af,mergeOverrideWithDependencies as _0x13bfbc,IMentionIOService as _0x462c52,registerDependencies as _0x4630e1,touchDependencies as _0x1680f1}from'@univerjs/core';import{Subject as _0x32457f,merge as _0x5d5b30,takeUntil as _0x4939f6,BehaviorSubject as _0xd9c82f,ReplaySubject as _0x37648e,take as _0x3c0f99,map as _0x580dad,shareReplay as _0x21d660,of as _0x56fbf4,concatMap as _0x8483bb}from'rxjs';import{map as _0x45eaca,take as _0x4dbb4a,filter as _0x17dc13,delay as _0x56e7ac,takeUntil as _0xe140bc}from'rxjs/operators';import{HTTPService as _0x3062fa,WebSocketService as _0x33ca30,MergeInterceptorFactory as _0x1f274d,HTTPRequest as _0x3c6190,UniverNetworkPlugin as _0x2e0356,ThresholdInterceptorFactory as _0x8fa5cc}from'@univerjs/network';import{CollaborationEvent as _0x486605,parseChangesetToProtocol as _0x47aec8,ISnapshotServerService as _0xd353c1,isTransformMutationsWithChangesetSuccess as _0x4212c7,ITransformService as _0x15468b,mapDocumentTypeToUniverType as _0x4022a3,RevisionService as _0xf3566e,isTransformChangesetsSuccess as _0x27977b,CompressMutationService as _0xd6da1e,parseProtocolChangeset as _0x5ccce1,SnapshotService as _0x503d1f,textEncoder as _0x10c250,b64DecodeUnicode as _0x5d5055,isTransformMutationsWithChangesetFailure as _0x4d2a66,UniverCollaborationPlugin as _0x683277}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x47173d}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x47b706}from'@univerjs/docs';import{SheetsSelectionsService as _0x25f1c4,SetSelectionsOperation as _0x1396e1,InsertSheetMutation as _0x5099a3,EmptyMutation as _0x3b1a31,WorkbookEditablePermission as _0x4207f1,UnitObject as _0x426f6f,defaultWorkbookPermissionPoints as _0x4dba5c,getAllWorkbookPermissionPoint as _0xfa82e6,WorksheetProtectionRuleModel as _0x3882b7,baseProtectionActions as _0x18ffc7,getAllWorksheetPermissionPoint as _0x28a117,WorksheetProtectionPointModel as _0x3bc5e6,defaultWorksheetPermissionPoint as _0xcac288,getAllWorksheetPermissionPointByPointPanel as _0x1c7fb4,RangeProtectionRuleModel as _0x13916d,getAllRangePermissionPoint as _0xad7df4,UniverSheetsPlugin as _0x4c21a2}from'@univerjs/sheets';import{ImageSourceType as _0x366278,ImageUploadStatusType as _0x42f0ac,IImageIoService as _0x167cee}from'@univerjs/drawing';const Rn=_0x1d7936(0x48d),yn='/universer-api/snapshot',On=_0x1d7936(0x2b4),so=_0x1d7936(0x263),Pn=0x7d0,Dn=_0x1d7936(0x1eb),Nn=_0x1d7936(0x259),wn=_0x1d7936(0x22a),Un=_0x1d7936(0x3e0),An=0x7530,Ei=_0x1d7936(0x3fb),Ii=0x4e20,xn=0x4e20,Ln=_0x1d7936(0x1c7),Mn=0x3,ro=_0x1d7936(0x258),oo=0x3e8,$n='COLLAB_SUBMIT_CHANGESET_URL',Hn=_0x1d7936(0x2ec),kn='LOGIN_URL_KEY',jn=_0x1d7936(0x441);var Ti=(_0x17eb17=>(_0x17eb17[_0x17eb17[_0x1d7936(0x215)]=0x0]=_0x1d7936(0x215),_0x17eb17[_0x17eb17['OK']=0x1]='OK',_0x17eb17[_0x17eb17[_0x1d7936(0x3bc)]=0x2]=_0x1d7936(0x3bc),_0x17eb17[_0x17eb17[_0x1d7936(0x25a)]=0x3]=_0x1d7936(0x25a),_0x17eb17[_0x17eb17['NOT_FOUND']=0x4]=_0x1d7936(0x3a4),_0x17eb17[_0x17eb17['UNAUTHENTICATED']=0x5]=_0x1d7936(0x250),_0x17eb17[_0x17eb17[_0x1d7936(0x358)]=0x6]='ALREADY_EXISTS',_0x17eb17[_0x17eb17[_0x1d7936(0x3a7)]=0x7]='INVALID_ARGUMENT',_0x17eb17[_0x17eb17[_0x1d7936(0x3c3)]=0x8]=_0x1d7936(0x3c3),_0x17eb17[_0x17eb17[_0x1d7936(0x1b4)]=0x9]='COMPLETION_FINISHED',_0x17eb17[_0x17eb17[_0x1d7936(0x320)]=0x1389]=_0x1d7936(0x320),_0x17eb17[_0x17eb17[_0x1d7936(0x3a2)]=0x1771]=_0x1d7936(0x3a2),_0x17eb17[_0x17eb17[_0x1d7936(0x297)]=0x1772]=_0x1d7936(0x297),_0x17eb17[_0x17eb17[_0x1d7936(0x473)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x17eb17[_0x17eb17[_0x1d7936(0x208)]=0x1b59]=_0x1d7936(0x208),_0x17eb17[_0x17eb17[_0x1d7936(0x29d)]=0x1b5a]=_0x1d7936(0x29d),_0x17eb17[_0x17eb17['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x17eb17[_0x17eb17[_0x1d7936(0x437)]=0x1b5c]=_0x1d7936(0x437),_0x17eb17[_0x17eb17[_0x1d7936(0x425)]=0x1b5d]=_0x1d7936(0x425),_0x17eb17[_0x17eb17[_0x1d7936(0x229)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17eb17[_0x17eb17['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1d7936(0x21c),_0x17eb17[_0x17eb17[_0x1d7936(0x206)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x17eb17[_0x17eb17[_0x1d7936(0x261)]=0x232b]=_0x1d7936(0x261),_0x17eb17[_0x17eb17['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d7936(0x1c1),_0x17eb17[_0x17eb17[_0x1d7936(0x409)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x17eb17[_0x17eb17['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1d7936(0x248),_0x17eb17[_0x17eb17[_0x1d7936(0x3c8)]=0x2712]=_0x1d7936(0x3c8),_0x17eb17[_0x17eb17[_0x1d7936(0x384)]=0x2713]=_0x1d7936(0x384),_0x17eb17[_0x17eb17['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d7936(0x300),_0x17eb17[_0x17eb17[_0x1d7936(0x33b)]=-0x1]=_0x1d7936(0x33b),_0x17eb17))(Ti||{}),Q=(_0x202285=>(_0x202285[_0x202285[_0x1d7936(0x23d)]=0x0]=_0x1d7936(0x23d),_0x202285[_0x202285['UNIVER_DOC']=0x1]=_0x1d7936(0x45b),_0x202285[_0x202285['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x202285[_0x202285[_0x1d7936(0x1c0)]=0x3]=_0x1d7936(0x1c0),_0x202285[_0x202285[_0x1d7936(0x450)]=0x4]=_0x1d7936(0x450),_0x202285[_0x202285['UNRECOGNIZED']=-0x1]=_0x1d7936(0x33b),_0x202285))(Q||{}),F=(_0x372f5f=>(_0x372f5f[_0x372f5f['UNKNOWN_CMD']=0x0]=_0x1d7936(0x46c),_0x372f5f[_0x372f5f['HELLO']=0x1]=_0x1d7936(0x3f8),_0x372f5f[_0x372f5f['JOIN']=0x2]=_0x1d7936(0x3b5),_0x372f5f[_0x372f5f[_0x1d7936(0x305)]=0x3]=_0x1d7936(0x305),_0x372f5f[_0x372f5f['INGEST']=0x4]='INGEST',_0x372f5f[_0x372f5f[_0x1d7936(0x1ff)]=0x5]=_0x1d7936(0x1ff),_0x372f5f[_0x372f5f[_0x1d7936(0x2bd)]=0x6]='RECV',_0x372f5f[_0x372f5f['UNRECOGNIZED']=-0x1]=_0x1d7936(0x33b),_0x372f5f))(F||{}),Ee=(_0x3f8a5a=>(_0x3f8a5a[_0x3f8a5a[_0x1d7936(0x1ac)]=0x0]=_0x1d7936(0x1ac),_0x3f8a5a[_0x3f8a5a['OK']=0x1]='OK',_0x3f8a5a[_0x3f8a5a[_0x1d7936(0x28a)]=0x2]=_0x1d7936(0x28a),_0x3f8a5a[_0x3f8a5a['JOIN_ROOM_FULL']=0x3e9]=_0x1d7936(0x404),_0x3f8a5a[_0x3f8a5a[_0x1d7936(0x361)]=0x3ea]=_0x1d7936(0x361),_0x3f8a5a[_0x3f8a5a['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3f8a5a[_0x3f8a5a[_0x1d7936(0x35d)]=0x3ec]=_0x1d7936(0x35d),_0x3f8a5a[_0x3f8a5a[_0x1d7936(0x33b)]=-0x1]=_0x1d7936(0x33b),_0x3f8a5a))(Ee||{}),Ci=(_0x3e7cb3=>(_0x3e7cb3[_0x3e7cb3['Undefined']=0x0]='Undefined',_0x3e7cb3[_0x3e7cb3[_0x1d7936(0x2ac)]=0x1]=_0x1d7936(0x2ac),_0x3e7cb3[_0x3e7cb3['HttpExport']=0x2]=_0x1d7936(0x341),_0x3e7cb3[_0x3e7cb3[_0x1d7936(0x383)]=0x3]=_0x1d7936(0x383),_0x3e7cb3[_0x3e7cb3['UnitSnapshot']=0x4]=_0x1d7936(0x400),_0x3e7cb3[_0x3e7cb3[_0x1d7936(0x33b)]=-0x1]='UNRECOGNIZED',_0x3e7cb3))(Ci||{});const Y=_0x1d7936(0x2ed),Bn={};function Fn(_0x9a15c2){var _0x4d3eac=_0x1d7936,_0x133c69,_0x3ebfae,_0x3c2101,_0x42fd2d,_0x702bc6;const _0x2cebc6=_0x9a15c2['data'],_0x5e92ba=JSON[_0x4d3eac(0x31f)](_0x2cebc6);switch(_0x5e92ba[_0x4d3eac(0x453)]){case F[_0x4d3eac(0x1ff)]:case F['HELLO']:{const _0x19ea3d=_0x5e92ba['infoRsp'];return{..._0x5e92ba,'data':_0x19ea3d,'cmd':_0x5e92ba[_0x4d3eac(0x453)]};}case F[_0x4d3eac(0x3b5)]:{const _0x38a193=_0x5e92ba[_0x4d3eac(0x2da)];return{..._0x5e92ba,'data':_0x38a193,'cmd':_0x5e92ba[_0x4d3eac(0x453)]};}case F[_0x4d3eac(0x2bd)]:{const _0x3e3707=_0x5e92ba[_0x4d3eac(0x3ba)];switch(_0x3e3707['eventID']){case _0x486605[_0x4d3eac(0x3d3)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':(_0x133c69=_0x3e3707[_0x4d3eac(0x1f0)])==null?void 0x0:_0x133c69['cs']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605['CHANGESET_ACK']:return{..._0x5e92ba,'data':{..._0x3e3707,'data':(_0x3ebfae=_0x3e3707[_0x4d3eac(0x377)])==null?void 0x0:_0x3ebfae['cs']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605['NEW_CHANGESETS']:return{..._0x5e92ba,'data':{..._0x3e3707,'data':(_0x3c2101=_0x3e3707[_0x4d3eac(0x1d3)])==null?void 0x0:_0x3c2101['cs']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x2fa)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':(_0x42fd2d=_0x3e3707[_0x4d3eac(0x422)])==null?void 0x0:_0x42fd2d['cs']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x438)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':(_0x702bc6=_0x3e3707[_0x4d3eac(0x2f6)])==null?void 0x0:_0x702bc6['cs']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x3db)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707['updateCursorEvent']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x3a1)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707['joinEvent']},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x231)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x2c2)]},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x1c3)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x330)]},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x456)]:case _0x486605[_0x4d3eac(0x2dc)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x1d4)]},'cmd':_0x5e92ba['cmd']};case _0x486605[_0x4d3eac(0x1e2)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x330)]},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x406)]:return{..._0x5e92ba,'data':_0x3e3707,'cmd':_0x5e92ba[_0x4d3eac(0x453)]};case _0x486605[_0x4d3eac(0x1e7)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x342)]},'cmd':_0x5e92ba['cmd']};case _0x486605[_0x4d3eac(0x287)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x475)]},'cmd':_0x5e92ba['cmd']};case _0x486605[_0x4d3eac(0x380)]:return{..._0x5e92ba,'data':{..._0x3e3707,'data':_0x3e3707[_0x4d3eac(0x1c2)]},'cmd':_0x5e92ba[_0x4d3eac(0x453)]};default:return _0x5e92ba;}}default:return _0x5e92ba;}}function Vn(_0x41d456){var _0x4fa0c5=_0x1d7936;switch(_0x41d456['cmd']){case F[_0x4fa0c5(0x1ff)]:case F[_0x4fa0c5(0x3f8)]:return JSON['stringify']({'cmd':_0x41d456[_0x4fa0c5(0x453)],'routeKey':_0x41d456[_0x4fa0c5(0x2aa)]});case F[_0x4fa0c5(0x403)]:{let _0x339d3e;switch(_0x41d456['data'][_0x4fa0c5(0x40a)]){case _0x486605[_0x4fa0c5(0x3db)]:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x3db)],'updateCursorEvent':_0x41d456['data'][_0x4fa0c5(0x42d)]};break;}case _0x486605[_0x4fa0c5(0x231)]:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x231)],'leaveEvent':_0x41d456[_0x4fa0c5(0x42d)][_0x4fa0c5(0x42d)]};break;}case _0x486605[_0x4fa0c5(0x3a1)]:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x3a1)],'joinEvent':_0x41d456[_0x4fa0c5(0x42d)]['data']};break;}case _0x486605[_0x4fa0c5(0x1c3)]:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x1c3)],'liveShareNewHost':_0x41d456[_0x4fa0c5(0x42d)]['data']};break;}case _0x486605['LIVESHARE_OPERATION']:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x2dc)],'liveShareOperation':_0x41d456['data']['data']};break;}case _0x486605[_0x4fa0c5(0x1e2)]:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x1e2)],'liveShareTerminate':_0x41d456[_0x4fa0c5(0x42d)][_0x4fa0c5(0x42d)]};break;}case _0x486605[_0x4fa0c5(0x45c)]:{_0x339d3e={'eventID':_0x486605['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x41d456['data'][_0x4fa0c5(0x42d)]};break;}case _0x486605['LIVESHARE_FETCH_OPERATIONS']:{_0x339d3e={'eventID':_0x486605[_0x4fa0c5(0x456)]};break;}default:_0x339d3e={'eventID':_0x41d456['data'][_0x4fa0c5(0x40a)]};}return JSON[_0x4fa0c5(0x311)]({'cmd':_0x41d456[_0x4fa0c5(0x453)],'routeKey':_0x41d456[_0x4fa0c5(0x2aa)],'collaMsg':_0x339d3e});}case F[_0x4fa0c5(0x3b5)]:return JSON['stringify']({'cmd':_0x41d456[_0x4fa0c5(0x453)],'routeKey':_0x41d456[_0x4fa0c5(0x2aa)],'joinReq':_0x41d456[_0x4fa0c5(0x42d)]});case F['LEAVE']:return JSON[_0x4fa0c5(0x311)]({'cmd':_0x41d456['cmd'],'routeKey':_0x41d456['routeKey'],'leaveReq':_0x41d456[_0x4fa0c5(0x42d)]});default:throw new Error(_0x4fa0c5(0x2ff));}}var Wn=Object[_0x1d7936(0x379)],Gn=Object['getOwnPropertyDescriptor'],Kn=(_0x15bd51,_0x5e6ca7,_0xfc2240,_0x3056e7)=>{var _0x2a58c6=_0x1d7936;for(var _0x31932d=_0x3056e7>0x1?void 0x0:_0x3056e7?Gn(_0x5e6ca7,_0xfc2240):_0x5e6ca7,_0x1782f5=_0x15bd51[_0x2a58c6(0x1f1)]-0x1,_0x5569f3;_0x1782f5>=0x0;_0x1782f5--)(_0x5569f3=_0x15bd51[_0x1782f5])&&(_0x31932d=(_0x3056e7?_0x5569f3(_0x5e6ca7,_0xfc2240,_0x31932d):_0x5569f3(_0x31932d))||_0x31932d);return _0x3056e7&&_0x31932d&&Wn(_0x5e6ca7,_0xfc2240,_0x31932d),_0x31932d;},Ne=(_0x4bb77d,_0x400145)=>(_0x200ea0,_0x4c58a2)=>_0x400145(_0x200ea0,_0x4c58a2,_0x4bb77d);const bi=_0x5d7524(_0x1d7936(0x256));function zn(_0x31c65c,_0x58050a,_0x420110){var _0x1b8797=_0x1d7936;return _0x31c65c+'/'+_0x58050a+_0x1b8797(0x22f)+_0x420110+'/new_changes';}let Et=class extends _0x1bb7ef{constructor(_0xe97072,_0x3f4364,_0x309ea0,_0x4c779c,_0x6bea29){var _0x30a818=_0x1d7936;super(),this['_http']=_0xe97072,this['_ws']=_0x3f4364,this[_0x30a818(0x254)]=_0x309ea0,this[_0x30a818(0x41a)]=_0x4c779c,this['_snapshotServerService']=_0x6bea29;}['createSocket'](_0x46722a){var _0x1c9385=_0x1d7936;const _0x2c1de3=this[_0x1c9385(0x457)][_0x1c9385(0x21e)](_0x46722a);if(!_0x2c1de3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x28c14e=new _0x57f39d(),_0x21c805=new _0x32457f();_0x28c14e['add'](_0x2c1de3[_0x1c9385(0x4af)][_0x1c9385(0x3b4)](_0xb047c4=>_0x21c805[_0x1c9385(0x4aa)](_0xb047c4))),_0x28c14e['add'](_0x5bcd52(()=>_0x21c805['complete']()));const _0x59bd76=new _0x32457f();_0x28c14e[_0x1c9385(0x466)](_0x2c1de3[_0x1c9385(0x395)][_0x1c9385(0x3b4)](_0x112dea=>_0x59bd76['next'](_0x112dea))),_0x28c14e['add'](_0x5bcd52(()=>_0x59bd76[_0x1c9385(0x2c1)]()));const _0x2451a3=new _0x32457f();_0x28c14e['add'](_0x2c1de3[_0x1c9385(0x315)][_0x1c9385(0x3b4)](_0x4331ce=>{var _0x4a05a6=_0x1c9385;const _0x4b0306=Fn(_0x4331ce);_0x2451a3[_0x4a05a6(0x4aa)](_0x4b0306);})),_0x28c14e[_0x1c9385(0x466)](_0x5bcd52(()=>_0x2451a3[_0x1c9385(0x2c1)]()));let _0x14f119;const _0x174062=()=>{var _0x275db6=_0x1c9385;_0x59bd76['next'](new Event(_0x275db6(0x22c))),_0x21c805[_0x275db6(0x4aa)](new CloseEvent(_0x275db6(0x22c))),_0x14f119[_0x275db6(0x461)]();};return _0x14f119={'memberID':'','close$':_0x21c805[_0x1c9385(0x1f5)](),'error$':_0x59bd76['asObservable'](),'open$':_0x2c1de3[_0x1c9385(0x31c)],'message$':_0x2451a3[_0x1c9385(0x1f5)](),'send':_0xfebd14=>{var _0x5281fb=_0x1c9385;if(_0xfebd14[_0x5281fb(0x453)]===F['INGEST']){if(_0xfebd14[_0x5281fb(0x42d)][_0x5281fb(0x40a)]===_0x486605[_0x5281fb(0x334)]){this[_0x5281fb(0x433)](_0x14f119,_0xfebd14[_0x5281fb(0x42d)])[_0x5281fb(0x3b6)](_0x49b248=>{var _0x1b47c3=_0x5281fb;this[_0x1b47c3(0x41a)][_0x1b47c3(0x36c)](_0x49b248),_0x174062();});return;}if(_0xfebd14[_0x5281fb(0x42d)][_0x5281fb(0x40a)]===_0x486605[_0x5281fb(0x220)]){const _0x151bfb=_0xfebd14[_0x5281fb(0x42d)];this[_0x5281fb(0x499)](_0x151bfb)['then'](_0x4f2d1f=>{var _0x27fe1c=_0x5281fb;_0x2451a3[_0x27fe1c(0x4aa)]({'cmd':F[_0x27fe1c(0x2bd)],'code':Ee['OK'],'routeKey':_0x151bfb[_0x27fe1c(0x42d)][_0x27fe1c(0x328)],'routeType':'','data':{'eventID':_0x486605[_0x27fe1c(0x465)],'data':{'changesets':_0x4f2d1f}}});})[_0x5281fb(0x3b6)](_0x8369e5=>{var _0xf1f801=_0x5281fb;this[_0xf1f801(0x41a)][_0xf1f801(0x36c)](_0x8369e5),_0x174062();});return;}}_0x2c1de3[_0x5281fb(0x36f)](Vn(_0xfebd14));},'close':()=>{var _0x439497=_0x1c9385;_0x2c1de3[_0x439497(0x461)](),_0x28c14e[_0x439497(0x2dd)]();}},_0x14f119;}async[_0x1d7936(0x433)](_0xa7e4e9,_0x51cd54){var _0x1ffd1c=_0x1d7936,_0x369cc2,_0x111c51;const {unitType:_0x1af2ae,unitID:_0x456bd2,changeset:_0x167359}=_0x51cd54[_0x1ffd1c(0x42d)],_0x2d305c={'unitID':_0x456bd2,'memberID':_0xa7e4e9[_0x1ffd1c(0x31b)],'type':_0x1af2ae,'changeset':_0x47aec8(_0x167359)},_0x2d46d7=this['_configService']['getConfig']($n),_0x5b223c=this[_0x1ffd1c(0x254)][_0x1ffd1c(0x29e)](Y),_0xd1e2cc=zn((_0x111c51=(_0x369cc2=_0x5b223c==null?void 0x0:_0x5b223c['collabSubmitChangesetUrl'])!=null?_0x369cc2:_0x2d46d7)!=null?_0x111c51:Hn,_0x1af2ae,_0x456bd2);try{await this[_0x1ffd1c(0x1d5)][_0x1ffd1c(0x373)](_0xd1e2cc,{'body':_0x2d305c});}catch(_0x4d56e9){throw this[_0x1ffd1c(0x41a)][_0x1ffd1c(0x36c)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x4d56e9;}}async[_0x1d7936(0x499)](_0x2bfa10){var _0x154d2e=_0x1d7936;const {unitID:_0x49d597,from:_0x5d308f,to:_0x1340bc,unitType:_0x3f2729}=_0x2bfa10[_0x154d2e(0x42d)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x49d597,'type':_0x3f2729,'from':_0x5d308f,'to':_0x1340bc}))[_0x154d2e(0x2d9)];}};Et=Kn([Ne(0x0,_0x3b3175(_0x3062fa)),Ne(0x1,_0x3b3175(_0x33ca30)),Ne(0x2,_0x109050),Ne(0x3,_0x49c65f),Ne(0x4,_0xd353c1)],Et);const Yn=_0x1d7936(0x2d8);function qn(_0x37ac25){var _0x4fb4f4=_0x1d7936;return JSON[_0x4fb4f4(0x311)](_0x37ac25)[_0x4fb4f4(0x1f1)];}class Ri{constructor(){var _0x3ebcb4=_0x1d7936;N(this,'_commentUpdate$',new _0x32457f()),N(this,_0x3ebcb4(0x3fc),this[_0x3ebcb4(0x201)]['asObservable']());}[_0x1d7936(0x2a2)](_0x444a69){var _0x381e9c=_0x1d7936;this[_0x381e9c(0x201)][_0x381e9c(0x4aa)](_0x444a69);}}var Jn=Object[_0x1d7936(0x379)],Xn=Object[_0x1d7936(0x2e4)],Zn=(_0x35e05a,_0x227180,_0x1fee39,_0x44870e)=>{var _0xca9ceb=_0x1d7936;for(var _0x2829d6=_0x44870e>0x1?void 0x0:_0x44870e?Xn(_0x227180,_0x1fee39):_0x227180,_0x244e49=_0x35e05a[_0xca9ceb(0x1f1)]-0x1,_0xbb3d1;_0x244e49>=0x0;_0x244e49--)(_0xbb3d1=_0x35e05a[_0x244e49])&&(_0x2829d6=(_0x44870e?_0xbb3d1(_0x227180,_0x1fee39,_0x2829d6):_0xbb3d1(_0x2829d6))||_0x2829d6);return _0x44870e&&_0x2829d6&&Jn(_0x227180,_0x1fee39,_0x2829d6),_0x2829d6;},zt=(_0x4423e9,_0x10edd3)=>(_0x345446,_0x4e88b3)=>_0x10edd3(_0x345446,_0x4e88b3,_0x4423e9);let Le=class extends _0x1bb7ef{constructor(_0x3eae54,_0x4e2a0b){var _0x49de37=_0x1d7936;super(),N(this,_0x49de37(0x2bc),new Map()),(this[_0x49de37(0x329)]=_0x3eae54,this['_userManagerService']=_0x4e2a0b,this[_0x49de37(0x1ca)](_0x5bcd52(_0x5d5b30(this['_univerInstanceService'][_0x49de37(0x207)](_0x2afb19[_0x49de37(0x2ca)])[_0x49de37(0x49d)](_0x45eaca(_0x5149e1=>_0x5149e1[_0x49de37(0x3bf)]())),this[_0x49de37(0x329)][_0x49de37(0x207)](_0x2afb19['UNIVER_DOC'])[_0x49de37(0x49d)](_0x45eaca(_0x2152ff=>_0x2152ff[_0x49de37(0x3bf)]())),this[_0x49de37(0x329)][_0x49de37(0x207)](_0x2afb19[_0x49de37(0x1c0)])[_0x49de37(0x49d)](_0x45eaca(_0x26ce73=>_0x26ce73[_0x49de37(0x3bf)]())))[_0x49de37(0x3b4)](_0x1a8831=>this[_0x49de37(0x48e)](_0x1a8831)))));}[_0x1d7936(0x296)](_0x4bda87){var _0x54918b=_0x1d7936;this[_0x54918b(0x360)][_0x54918b(0x296)](_0x4bda87);}[_0x1d7936(0x284)](){var _0x2d683c=_0x1d7936;return this[_0x2d683c(0x360)][_0x2d683c(0x284)]();}[_0x1d7936(0x244)](_0x3bda5f,_0x2efceb){var _0x37db5b=_0x1d7936;let _0x1bd58f=this[_0x37db5b(0x2bc)][_0x37db5b(0x1bf)](_0x3bda5f);_0x1bd58f||(_0x1bd58f=new Qn(),this[_0x37db5b(0x2bc)][_0x37db5b(0x274)](_0x3bda5f,_0x1bd58f)),_0x1bd58f[_0x37db5b(0x244)](_0x2efceb);}[_0x1d7936(0x298)](_0x215af1,_0x5783ac){var _0x3acd6b=_0x1d7936;const _0x13ea93=this[_0x3acd6b(0x2bc)]['get'](_0x215af1);_0x13ea93&&_0x13ea93[_0x3acd6b(0x298)](_0x5783ac);}['getRoom'](_0x42240c){var _0x50973a=_0x1d7936;return this[_0x50973a(0x2bc)][_0x50973a(0x1bf)](_0x42240c);}[_0x1d7936(0x25c)](_0x1ca712,_0xb22b2e){var _0x36022d=_0x1d7936;const _0xd52712=this[_0x36022d(0x2bc)][_0x36022d(0x1bf)](_0x1ca712);if(_0xd52712)return _0xd52712[_0x36022d(0x25c)](_0xb22b2e);}['_removeRoom'](_0x1823c4){var _0x47f6f8=_0x1d7936;const _0x4040fd=this[_0x47f6f8(0x2bc)]['get'](_0x1823c4);_0x4040fd&&(_0x4040fd[_0x47f6f8(0x2dd)](),this[_0x47f6f8(0x2bc)][_0x47f6f8(0x354)](_0x1823c4));}[_0x1d7936(0x2dd)](){var _0x222d2c=_0x1d7936;this['_roomMembers'][_0x222d2c(0x2b9)](_0x57bddf=>_0x57bddf[_0x222d2c(0x2dd)]()),this[_0x222d2c(0x2bc)][_0x222d2c(0x270)]();}};Le=Zn([zt(0x0,_0x5d8dca),zt(0x1,_0x3b3175(_0x1277b0))],Le);class Qn extends _0x1bb7ef{constructor(){super(...arguments),N(this,'_members',new Map());}[_0x1d7936(0x2dd)](){var _0x1b6e1d=_0x1d7936;this[_0x1b6e1d(0x2be)][_0x1b6e1d(0x270)]();}['updateMember'](_0x443cf3){var _0x53d73c=_0x1d7936;this[_0x53d73c(0x2be)][_0x53d73c(0x274)](_0x443cf3['memberID'],_0x443cf3);}[_0x1d7936(0x298)](_0x3dc68b){var _0x286563=_0x1d7936;this[_0x286563(0x2be)][_0x286563(0x354)](_0x3dc68b);}['getMember'](_0x111966){var _0x39cf42=_0x1d7936;return this[_0x39cf42(0x2be)]['get'](_0x111966);}[_0x1d7936(0x34a)](){var _0x5d4115=_0x1d7936;return Array[_0x5d4115(0x44e)](this[_0x5d4115(0x2be)]['values']());}}var se=(_0x3fdd17=>(_0x3fdd17[_0x1d7936(0x3cb)]=_0x1d7936(0x3cb),_0x3fdd17[_0x1d7936(0x25a)]=_0x1d7936(0x25a),_0x3fdd17[_0x1d7936(0x1bc)]=_0x1d7936(0x1bc),_0x3fdd17[_0x1d7936(0x2cd)]=_0x1d7936(0x2cd),_0x3fdd17[_0x1d7936(0x359)]=_0x1d7936(0x359),_0x3fdd17[_0x1d7936(0x26c)]=_0x1d7936(0x26c),_0x3fdd17[_0x1d7936(0x1b7)]=_0x1d7936(0x1b7),_0x3fdd17['SUBMIT_CHANGESET_TIMEOUT']=_0x1d7936(0x26d),_0x3fdd17))(se||{});class pe{constructor(){var _0x33ff6f=_0x1d7936;N(this,_0x33ff6f(0x3e6),new _0x32457f()),N(this,_0x33ff6f(0x26e),this['_event$'][_0x33ff6f(0x1f5)]());}[_0x1d7936(0x21a)](_0x406636){var _0x1823f2=_0x1d7936;this[_0x1823f2(0x3e6)][_0x1823f2(0x4aa)](_0x406636);}}var es=Object[_0x1d7936(0x379)],ts=Object[_0x1d7936(0x2e4)],is=(_0x21f381,_0x2d1745,_0x1f8d62,_0x3dc8c0)=>{var _0x11d00f=_0x1d7936;for(var _0x252925=_0x3dc8c0>0x1?void 0x0:_0x3dc8c0?ts(_0x2d1745,_0x1f8d62):_0x2d1745,_0x38a67a=_0x21f381[_0x11d00f(0x1f1)]-0x1,_0x5b3d28;_0x38a67a>=0x0;_0x38a67a--)(_0x5b3d28=_0x21f381[_0x38a67a])&&(_0x252925=(_0x3dc8c0?_0x5b3d28(_0x2d1745,_0x1f8d62,_0x252925):_0x5b3d28(_0x252925))||_0x252925);return _0x3dc8c0&&_0x252925&&es(_0x2d1745,_0x1f8d62,_0x252925),_0x252925;},me=(_0x57f219,_0x3ddfb1)=>(_0xf2067d,_0x5afa3a)=>_0x3ddfb1(_0xf2067d,_0x5afa3a,_0x57f219),Ie=(_0x2843d6=>(_0x2843d6[_0x2843d6[_0x1d7936(0x39e)]=0x0]=_0x1d7936(0x39e),_0x2843d6[_0x2843d6[_0x1d7936(0x1ad)]=0x1]=_0x1d7936(0x1ad),_0x2843d6[_0x2843d6[_0x1d7936(0x255)]=0x2]=_0x1d7936(0x255),_0x2843d6[_0x2843d6['ONLINE']=0x3]=_0x1d7936(0x28b),_0x2843d6))(Ie||{});const Yt={[Ee[_0x1d7936(0x28a)]]:_0x1d7936(0x48b),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x1d7936(0x3d1),[Ee[_0x1d7936(0x301)]]:_0x1d7936(0x1b2),[Ee[_0x1d7936(0x35d)]]:'session.room-cnt-exceeds'};let It=class extends _0x38bb5f{constructor(_0x1dfdec,_0x4607e1,_0x398e58,_0x41583c,_0xe8271d,_0x4ecff8,_0x466dde,_0x11622f,_0x4a4ed9){var _0xc7fbd5=_0x1d7936;super(),N(this,_0xc7fbd5(0x47b),new _0xd9c82f(0x0)),N(this,_0xc7fbd5(0x1db),this[_0xc7fbd5(0x47b)]['asObservable']()),N(this,_0xc7fbd5(0x3e6),new _0x32457f()),N(this,'event$',this[_0xc7fbd5(0x3e6)]['asObservable']()),N(this,_0xc7fbd5(0x319)),N(this,_0xc7fbd5(0x2af)),N(this,'_collaborationTimeoutTimer'),N(this,_0xc7fbd5(0x2ef),!0x1),N(this,_0xc7fbd5(0x467),null),(this[_0xc7fbd5(0x2a7)]=_0x1dfdec,this[_0xc7fbd5(0x41a)]=_0x398e58,this[_0xc7fbd5(0x254)]=_0x41583c,this['_localeService']=_0xe8271d,this['_memberService']=_0x4ecff8,this[_0xc7fbd5(0x364)]=_0x466dde,this[_0xc7fbd5(0x40b)]=_0x11622f,this[_0xc7fbd5(0x3af)]=_0x4a4ed9,this[_0xc7fbd5(0x2ef)]=!!this[_0xc7fbd5(0x3af)],_0x4607e1['pipe'](_0x4939f6(this[_0xc7fbd5(0x3ae)]))[_0xc7fbd5(0x3b4)](_0x5b39af=>{var _0x118d22=_0xc7fbd5,_0x309c0a;typeof _0x5b39af>'u'||(this[_0x118d22(0x319)]=_0x5b39af,_0x5b39af?(this[_0x118d22(0x30d)](_0x5b39af),this['_socketMessageSubscription']=_0x5b39af[_0x118d22(0x315)][_0x118d22(0x3b4)](_0x1ccd79=>{var _0x4b033f=_0x118d22;_0x1ccd79['routeKey']===this['_unitID']&&this[_0x4b033f(0x28d)](_0x1ccd79);})):(this[_0x118d22(0x240)](),this[_0x118d22(0x47b)][_0x118d22(0x4aa)](0x2),(_0x309c0a=this[_0x118d22(0x2af)])==null||_0x309c0a[_0x118d22(0x230)](),this[_0x118d22(0x2af)]=null));}));}get[_0x1d7936(0x392)](){var _0x39e95c=_0x1d7936;return this[_0x39e95c(0x47b)][_0x39e95c(0x1b1)]();}[_0x1d7936(0x1b8)](){var _0xaf4c01=_0x1d7936,_0x486df2,_0x1d05a8;return(_0x1d05a8=(_0x486df2=this[_0xaf4c01(0x319)])==null?void 0x0:_0x486df2['memberID'])!=null?_0x1d05a8:null;}[_0x1d7936(0x2dd)](){var _0x37e72b=_0x1d7936;super[_0x37e72b(0x2dd)](),this[_0x37e72b(0x3ae)][_0x37e72b(0x4aa)](),this[_0x37e72b(0x3ae)]['complete']();}[_0x1d7936(0x461)](){var _0x51d9a1=_0x1d7936,_0xd63aff,_0x441ac1;this[_0x51d9a1(0x240)](),(_0xd63aff=this['_socket'])==null||_0xd63aff[_0x51d9a1(0x36f)]({'cmd':F[_0x51d9a1(0x305)],'data':{'roomID':this[_0x51d9a1(0x2a7)]}}),(_0x441ac1=this[_0x51d9a1(0x319)])==null||_0x441ac1[_0x51d9a1(0x461)](),this[_0x51d9a1(0x3e6)][_0x51d9a1(0x2c1)](),this['_sessionStatus$']['complete'](),this[_0x51d9a1(0x2dd)]();}['_onCombEvent'](_0x5a1472){var _0xce04b6=_0x1d7936;_0x5a1472['cmd']===F['JOIN']?this[_0xce04b6(0x3b7)](_0x5a1472):_0x5a1472[_0xce04b6(0x453)]===F['RECV']&&this[_0xce04b6(0x3a5)](_0x5a1472);}[_0x1d7936(0x30d)](_0x33e0f6){var _0x547a03=_0x1d7936;this['_sessionStatus$'][_0x547a03(0x4aa)](0x1),_0x33e0f6[_0x547a03(0x36f)]({'cmd':F[_0x547a03(0x3b5)],'routeKey':this[_0x547a03(0x2a7)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1d7936(0x3b7)](_0x3e0c3e){var _0x4446a5=_0x1d7936,_0x5a7346;if(_0x3e0c3e[_0x4446a5(0x488)]in Yt){this[_0x4446a5(0x40b)][_0x4446a5(0x21a)]({'id':se[_0x4446a5(0x359)],'data':Yt[_0x3e0c3e[_0x4446a5(0x488)]]}),this[_0x4446a5(0x47b)]['next'](0x2);return;}this[_0x4446a5(0x47b)]['next'](0x3);const _0x2288cd=(_0x5a7346=_0x3e0c3e['data']['roomInfos'][this[_0x4446a5(0x2a7)]])==null?void 0x0:_0x5a7346[_0x4446a5(0x20f)];_0x2288cd&&_0x2288cd[_0x4446a5(0x2b9)](_0x7c7eec=>this[_0x4446a5(0x3aa)]['updateMember'](this[_0x4446a5(0x2a7)],_0x7c7eec));}[_0x1d7936(0x3a5)](_0x13dbf0){var _0x20f597=_0x1d7936;try{const _0x2ad3d0=_0x13dbf0[_0x20f597(0x42d)];switch(_0x2ad3d0[_0x20f597(0x40a)]){case _0x486605['USERS_ENTER']:this[_0x20f597(0x1bb)](_0x2ad3d0),this[_0x20f597(0x3e6)][_0x20f597(0x4aa)](_0x2ad3d0);break;case _0x486605[_0x20f597(0x231)]:this[_0x20f597(0x1fb)](_0x2ad3d0),this[_0x20f597(0x3e6)]['next'](_0x2ad3d0);break;case _0x486605['CHANGESET_ACK']:case _0x486605[_0x20f597(0x438)]:this[_0x20f597(0x2c4)](),this['_clearCollaborationTimeoutTimer'](),this[_0x20f597(0x3e6)][_0x20f597(0x4aa)](_0x2ad3d0);break;case _0x486605[_0x20f597(0x406)]:this[_0x20f597(0x41a)]['error'](_0x20f597(0x39b)+JSON[_0x20f597(0x311)](_0x2ad3d0)),this[_0x20f597(0x3e6)]['next'](_0x2ad3d0);break;case _0x486605[_0x20f597(0x1e7)]:this[_0x20f597(0x364)][_0x20f597(0x2a2)](_0x2ad3d0[_0x20f597(0x42d)]),this[_0x20f597(0x3e6)][_0x20f597(0x4aa)](_0x2ad3d0);break;default:this[_0x20f597(0x3e6)][_0x20f597(0x4aa)](_0x2ad3d0);}}catch(_0x5a8c02){this['_logService']['error'](_0x5a8c02,_0x13dbf0);}}[_0x1d7936(0x1bb)](_0x560fcb){var _0x51a816=_0x1d7936;this[_0x51a816(0x3aa)][_0x51a816(0x244)](this[_0x51a816(0x2a7)],_0x560fcb['data']);}[_0x1d7936(0x1fb)](_0x5f50b6){var _0x42d289=_0x1d7936;this['_memberService'][_0x42d289(0x298)](this['_unitID'],_0x5f50b6['data'][_0x42d289(0x31b)]);}async['send'](_0x306725,_0x382363){var _0x49329e=_0x1d7936;if(this[_0x49329e(0x392)]!==0x3||!this[_0x49329e(0x319)])throw new Error(_0x49329e(0x1bd));try{_0x306725[_0x49329e(0x40a)]===_0x486605[_0x49329e(0x334)]&&(this[_0x49329e(0x462)](),this['_startTelemetryCollaborationNewChangeset'](_0x306725)),this['_socket']['send']({'cmd':F[_0x49329e(0x403)],'routeKey':_0x382363,'routeType':'','data':_0x306725});}catch(_0x4807b8){this['_logService']['error'](_0x4807b8);}}[_0x1d7936(0x462)](){var _0x250ec2=_0x1d7936,_0x44a702;this[_0x250ec2(0x23a)]=window[_0x250ec2(0x34f)](()=>{var _0x3514c7=_0x250ec2;this['_collaborationTimeoutTimer']=null,this[_0x3514c7(0x40b)][_0x3514c7(0x21a)]({'id':se[_0x3514c7(0x26d)]});},(_0x44a702=this['_configService'][_0x250ec2(0x29e)](Ei))!=null?_0x44a702:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x4c58df=_0x1d7936;this[_0x4c58df(0x23a)]&&(clearTimeout(this[_0x4c58df(0x23a)]),this[_0x4c58df(0x23a)]=null);}[_0x1d7936(0x294)](_0x4b9a37){var _0xd21d15=_0x1d7936;if(!this[_0xd21d15(0x2ef)])return;const {data:_0x2c9e9a}=_0x4b9a37,{unitID:_0x25342c,changeset:_0x2b23f2}=_0x2c9e9a,{mutations:_0x48568b,type:_0x10a4ec}=_0x2b23f2;this[_0xd21d15(0x467)]={'unitId':_0x25342c,'type':_0x10a4ec,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':qn(_0x48568b)};}[_0x1d7936(0x2c4)](){var _0x49ce5d=_0x1d7936;if(this['_shouldReportTelemetry']){if(!this[_0x49ce5d(0x467)]){this[_0x49ce5d(0x41a)][_0x49ce5d(0x36c)]('[CollaborationSession]',_0x49ce5d(0x44f));return;}this[_0x49ce5d(0x467)]['stopTime']=performance[_0x49ce5d(0x1b0)](),this[_0x49ce5d(0x467)][_0x49ce5d(0x203)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x49ce5d(0x494)],this[_0x49ce5d(0x3af)][_0x49ce5d(0x498)](Yn,this[_0x49ce5d(0x467)]),this['_telemetryInfo']=null;}}[_0x1d7936(0x240)](){var _0x29a350=_0x1d7936;this[_0x29a350(0x467)]=null;}};It=is([me(0x2,_0x49c65f),me(0x3,_0x109050),me(0x4,_0x3b3175(_0x41029b)),me(0x5,_0x3b3175(Le)),me(0x6,_0x3b3175(Ri)),me(0x7,_0x3b3175(pe)),me(0x8,_0x2f40a0(_0x47173d))],It);var ns=Object[_0x1d7936(0x379)],ss=Object['getOwnPropertyDescriptor'],rs=(_0x36deaf,_0x1a29de,_0x6b2b4d,_0x3ae59b)=>{var _0x3c02ad=_0x1d7936;for(var _0x2ba4fb=_0x3ae59b>0x1?void 0x0:_0x3ae59b?ss(_0x1a29de,_0x6b2b4d):_0x1a29de,_0x2556a9=_0x36deaf[_0x3c02ad(0x1f1)]-0x1,_0x312c4e;_0x2556a9>=0x0;_0x2556a9--)(_0x312c4e=_0x36deaf[_0x2556a9])&&(_0x2ba4fb=(_0x3ae59b?_0x312c4e(_0x1a29de,_0x6b2b4d,_0x2ba4fb):_0x312c4e(_0x2ba4fb))||_0x2ba4fb);return _0x3ae59b&&_0x2ba4fb&&ns(_0x1a29de,_0x6b2b4d,_0x2ba4fb),_0x2ba4fb;},ge=(_0x163792,_0x11d20a)=>(_0x755ff8,_0x44e9ae)=>_0x11d20a(_0x755ff8,_0x44e9ae,_0x163792);let Me=class extends _0x1bb7ef{constructor(_0x53f17f,_0x45c9f5,_0xe68826,_0xccc2da,_0x5e38c1,_0xc8cb9c,_0x167379){var _0x51a35f=_0x1d7936;super(),N(this,_0x51a35f(0x389),new _0xd9c82f(void 0x0)),N(this,_0x51a35f(0x237),this['_socket$']['asObservable']()),N(this,_0x51a35f(0x2e5),null),N(this,_0x51a35f(0x1d0),new Map()),N(this,_0x51a35f(0x3b3),new _0xd9c82f(Ie[_0x51a35f(0x39e)])),N(this,'status$',this['_status$'][_0x51a35f(0x1f5)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x51a35f(0x1fd)),N(this,_0x51a35f(0x427)),(this['_injector']=_0x53f17f,this['_localeService']=_0x45c9f5,this[_0x51a35f(0x41a)]=_0xe68826,this[_0x51a35f(0x254)]=_0xccc2da,this[_0x51a35f(0x418)]=_0x5e38c1,this['_httpService']=_0xc8cb9c,this['_collaborationUIEventService']=_0x167379,this[_0x51a35f(0x493)]());}get[_0x1d7936(0x319)](){var _0x1f71e2=_0x1d7936;return this['_socket$'][_0x1f71e2(0x1b1)]();}['_initEventListeners'](){var _0xd007a9=_0x1d7936;this[_0xd007a9(0x2b6)](),this[_0xd007a9(0x429)]();}['dispose'](){var _0x22ab1a=_0x1d7936;super[_0x22ab1a(0x2dd)](),this[_0x22ab1a(0x1d0)][_0x22ab1a(0x2b9)](_0x55f4ac=>_0x55f4ac['dispose']()),this[_0x22ab1a(0x1d0)][_0x22ab1a(0x270)](),this[_0x22ab1a(0x3b3)][_0x22ab1a(0x2c1)]();}async[_0x1d7936(0x2c7)](_0x40055d){var _0x3b7cf7=_0x1d7936;if(this[_0x3b7cf7(0x1d0)][_0x3b7cf7(0x2a6)](_0x40055d))return this[_0x3b7cf7(0x1d0)][_0x3b7cf7(0x1bf)](_0x40055d);this[_0x3b7cf7(0x1ae)]();const _0x3fb385=this[_0x3b7cf7(0x251)][_0x3b7cf7(0x233)](It,_0x40055d,this[_0x3b7cf7(0x389)][_0x3b7cf7(0x1f5)]());return this[_0x3b7cf7(0x1d0)][_0x3b7cf7(0x274)](_0x40055d,_0x3fb385),_0x3fb385;}[_0x1d7936(0x3c4)](_0x143230){var _0x1c9fa9=_0x1d7936,_0x322bb7;const _0x2a2709=this[_0x1c9fa9(0x1d0)][_0x1c9fa9(0x1bf)](_0x143230);_0x2a2709&&(this[_0x1c9fa9(0x1d0)][_0x1c9fa9(0x354)](_0x143230),_0x2a2709[_0x1c9fa9(0x461)]()),this['_sessions'][_0x1c9fa9(0x43b)]||(_0x322bb7=this[_0x1c9fa9(0x319)])==null||_0x322bb7['close']();}[_0x1d7936(0x440)](){var _0x4f08db=_0x1d7936;this[_0x4f08db(0x2eb)]=0x0,this[_0x4f08db(0x235)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4f08db(0x235)]=null),this['_tryReconnect']();}async[_0x1d7936(0x34d)](){var _0xfc575d=_0x1d7936,_0x21ad04,_0x162332,_0x10df50;const _0x25628f=this['_configService'][_0xfc575d(0x29e)](Y),_0xd39b4a=(_0x21ad04=_0x25628f==null?void 0x0:_0x25628f['wsSessionTicketUrl'])!=null?_0x21ad04:wn;return(_0x10df50=(_0x162332=(await this['_httpService'][_0xfc575d(0x1bf)](_0xd39b4a,{'headers':{'Content-Type':_0xfc575d(0x1be)}}))[_0xfc575d(0x407)])==null?void 0x0:_0x162332[_0xfc575d(0x1f4)])!=null?_0x10df50:'';}[_0x1d7936(0x43e)](_0x46c02f){var _0x2f578d=_0x1d7936,_0x875f71,_0x88347b;const _0x5aa1cf=this[_0x2f578d(0x254)]['getConfig'](Dn),_0xa0045a=this[_0x2f578d(0x254)][_0x2f578d(0x29e)](Y),_0x5e76d2=(_0x88347b=(_0x875f71=_0xa0045a==null?void 0x0:_0xa0045a[_0x2f578d(0x430)])!=null?_0x875f71:_0x5aa1cf)!=null?_0x88347b:Nn,_0x1eae5a=new URL(_0x5e76d2,window[_0x2f578d(0x2a3)][_0x2f578d(0x309)]);return _0x1eae5a[_0x2f578d(0x204)][_0x2f578d(0x274)](_0x2f578d(0x2c0),_0x46c02f),_0x1eae5a[_0x2f578d(0x3ea)]();}async['_createSocket'](){var _0x435e4c=_0x1d7936;const _0x41332e=await this[_0x435e4c(0x34d)](),_0x2a3456=this['_createSocketURL'](_0x41332e),_0x313630=this['_socketService'][_0x435e4c(0x21e)](_0x2a3456);return this[_0x435e4c(0x2e5)]=_0x313630,_0x313630;}async['_tryEnsureSocket'](){var _0x34cbb6=_0x1d7936,_0x58b346,_0x307baf;try{const _0x493040=(_0x307baf=(_0x58b346=this[_0x34cbb6(0x319)])!=null?_0x58b346:this[_0x34cbb6(0x2e5)])!=null?_0x307baf:await this[_0x34cbb6(0x30a)]();if(_0x493040){const _0x3fbe30=_0x493040[_0x34cbb6(0x36f)];_0x493040[_0x34cbb6(0x36f)]=_0x33317e=>(this['_rescheduleHeartbeat'](),_0x3fbe30[_0x34cbb6(0x23f)](_0x493040,[_0x33317e])),_0x493040[_0x34cbb6(0x315)][_0x34cbb6(0x3b4)](_0x18cc7f=>this[_0x34cbb6(0x38b)](_0x493040,_0x18cc7f)),_0x493040[_0x34cbb6(0x395)][_0x34cbb6(0x49d)](_0x4dbb4a(0x1))[_0x34cbb6(0x3b4)](_0x3cc454=>this[_0x34cbb6(0x41a)][_0x34cbb6(0x36c)]('[CollaborationSessionService]:\x20socket\x20error',_0x3cc454)),_0x493040[_0x34cbb6(0x31c)][_0x34cbb6(0x49d)](_0x4dbb4a(0x1))['subscribe'](()=>{var _0x4fb5a3=_0x34cbb6;this[_0x4fb5a3(0x2b1)](_0x493040);}),_0x493040[_0x34cbb6(0x4af)][_0x34cbb6(0x49d)](_0x4dbb4a(0x1))['subscribe'](_0x340708=>{var _0x5231e4=_0x34cbb6;this[_0x5231e4(0x41a)]['debug']('[CollaborationSessionService]',_0x5231e4(0x227),_0x340708),this[_0x5231e4(0x27c)]();});}}catch(_0x5ac315){this['_logService']['error'](_0x5ac315),this[_0x34cbb6(0x27c)]();}}[_0x1d7936(0x2b1)](_0x4b408c){var _0x4501f0=_0x1d7936;this[_0x4501f0(0x41a)][_0x4501f0(0x1cf)](_0x4501f0(0x3ed),_0x4501f0(0x335)),_0x4b408c[_0x4501f0(0x36f)]({'cmd':F[_0x4501f0(0x3f8)]}),this[_0x4501f0(0x424)]();}[_0x1d7936(0x2b6)](){var _0x4dbe94=_0x1d7936;window[_0x4dbe94(0x27a)](_0x4dbe94(0x3c7),()=>this['_onOffline']());}['_onOffline'](){var _0x368e71=_0x1d7936;this[_0x368e71(0x393)]=!0x1,this['_candidateSocket']=null,this[_0x368e71(0x3b3)][_0x368e71(0x4aa)](Ie[_0x368e71(0x255)]),this[_0x368e71(0x389)][_0x368e71(0x4aa)](null),this['_clearTimeoutTimer'](),this[_0x368e71(0x3e1)]();}[_0x1d7936(0x27c)](){var _0x1065fb=_0x1d7936,_0xa612dc;this[_0x1065fb(0x42e)](),this['_retryCount']<((_0xa612dc=this[_0x1065fb(0x254)][_0x1065fb(0x29e)](Ln))!=null?_0xa612dc:Mn)?(this[_0x1065fb(0x40b)]['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x1065fb(0x3f3)]()):this[_0x1065fb(0x40b)][_0x1065fb(0x21a)]({'id':se[_0x1065fb(0x1b7)]});}[_0x1d7936(0x429)](){var _0x56b8ab=_0x1d7936;const _0xb02802=()=>{var _0x509a6b=_0x4a6f;this[_0x509a6b(0x319)]||this['reconnect']();},_0xc7a8c7=()=>{var _0x41d9b6=_0x4a6f;this[_0x41d9b6(0x319)]||document[_0x41d9b6(0x468)]===_0x41d9b6(0x491)||this[_0x41d9b6(0x440)]();};window[_0x56b8ab(0x27a)](_0x56b8ab(0x32a),_0xb02802),document[_0x56b8ab(0x27a)](_0x56b8ab(0x483),_0xc7a8c7);}[_0x1d7936(0x3f3)](){var _0x3b374e=_0x1d7936,_0x36c25c;const _0xa41a65=this[_0x3b374e(0x2eb)],_0x5e8cf9=this[_0x3b374e(0x254)][_0x3b374e(0x29e)](Y),_0xc235e8=_0xa41a65===0x0?0x0:((_0x36c25c=_0x5e8cf9==null?void 0x0:_0x5e8cf9['retryConnectingInterval'])!=null?_0x36c25c:xn)*0x2**_0xa41a65;this['_retryConnectingTimer']=window[_0x3b374e(0x34f)](()=>{var _0x27994b=_0x3b374e;clearTimeout(this[_0x27994b(0x235)]),this['_retryConnectingTimer']=null,this[_0x27994b(0x1ae)]();},_0xc235e8),this[_0x3b374e(0x2eb)]+=0x1;}[_0x1d7936(0x38b)](_0x2d1dfc,_0x3ec5e9){var _0x2485b4=_0x1d7936;const {cmd:_0x4d5197}=_0x3ec5e9;_0x4d5197===F[_0x2485b4(0x3f8)]&&!this['_socketReady']&&(_0x2d1dfc[_0x2485b4(0x31b)]=_0x3ec5e9[_0x2485b4(0x42d)][_0x2485b4(0x31b)],this[_0x2485b4(0x389)]['next'](_0x2d1dfc),this['_status$'][_0x2485b4(0x4aa)](Ie['ONLINE']),this[_0x2485b4(0x393)]=!0x0,this[_0x2485b4(0x2e5)]=null),_0x4d5197===F[_0x2485b4(0x1ff)]&&this[_0x2485b4(0x326)](),this[_0x2485b4(0x424)]();}[_0x1d7936(0x424)](){var _0x2fcf8d=_0x1d7936,_0x630345;this[_0x2fcf8d(0x3e1)](),this[_0x2fcf8d(0x1fd)]=window[_0x2fcf8d(0x34f)](()=>this['_sendHeartbeat'](),(_0x630345=this[_0x2fcf8d(0x254)][_0x2fcf8d(0x29e)](Un))!=null?_0x630345:An);}[_0x1d7936(0x241)](){var _0x11f1d0=_0x1d7936;this[_0x11f1d0(0x319)]['send']({'cmd':F['HEARTBEAT']}),this[_0x11f1d0(0x386)]();}[_0x1d7936(0x386)](){var _0x176315=_0x1d7936,_0x32d9fd;this[_0x176315(0x427)]=window['setTimeout'](()=>this[_0x176315(0x27c)](),(_0x32d9fd=this[_0x176315(0x254)][_0x176315(0x29e)](Ei))!=null?_0x32d9fd:Ii);}[_0x1d7936(0x3e1)](){var _0x1ea9d9=_0x1d7936;this[_0x1ea9d9(0x1fd)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x1d7936(0x326)](){var _0x340247=_0x1d7936;this[_0x340247(0x427)]!=null&&(clearTimeout(this[_0x340247(0x427)]),this[_0x340247(0x427)]=null);}};Me=rs([ge(0x0,_0x3b3175(_0x10c67c)),ge(0x1,_0x3b3175(_0x41029b)),ge(0x2,_0x49c65f),ge(0x3,_0x109050),ge(0x4,bi),ge(0x5,_0x3b3175(_0x3062fa)),ge(0x6,_0x3b3175(pe))],Me);function _0x2c0c(){var _0x28eff5=['range','fetch_missing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_remoteChangesetQueue','HEARTBEAT_INTERVAL','_clearHeartbeatTimer','bind','_undoRedoService','Base64','includes','_event$','_unitInfo$','/object','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','toString','9888272oeBXle','onTransformIME','[CollaborationSessionService]','default','_handler','_transitionLocked','enc','_entityInit$','_tryReconnect','onTransformState','_prevBlock','_data','onload','HELLO','subject','createDecryptor','HEARTBEAT_TIMEOUT','commentUpdate$','onRemoteAck','_registerDependencies','getTime','UnitSnapshot','blockSize','_updateLocalCache','INGEST','JOIN_ROOM_FULL','Cipher','MSG_FOR_ERROR','body','readAsDataURL','LICENSE_DISTRO_REJECTED','eventID','_collaborationUIEventService','_undoStacks','fetchMissingChangesets','_getAPIPrefix','MUTATION','_initMergeInterceptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','listRoles','/block/','[OfflineState]:\x20received\x20changeset.','_lockTransition','byteOffset','_socketService','iterations','_logService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','status','&assign=','_schedule','_nDataBytes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','unit-cache-','csRejEvent','HMAC','_rescheduleHeartbeat','APPLY_DUPLICATED','loadSheet','_timeoutTimer','/object/','_listenToOnlineEvent','entries','_clearScheduledTask','title','data','_onOffline','_onFetchMissResult','collabWebSocketUrl','_decreaseWaiting','substr','_submitChangeset','transformSelections','_applyRemoteChangeset','awaiting','APPLY_PERMISSION_DENIED','CHANGESET_SHOULD_RETRY','BlockCipher','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','size','onRemoteChangeset','synced','_createSocketURL','SUCCUSS','reconnect','/universer-api/oidc/authpage','string','_imageSourceCache','_config','_transformStateCache','SHA1','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','workbook','onStarting','onStateChange','concat','userID','_getCurrentRevision','from','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_PROJECT','_loadDoc','textRanges','cmd','objects','HmacMD5','LIVESHARE_FETCH_OPERATIONS','_ws','clamp','/role','_getLoginPath','UNIVER_DOC','LIVESHARE_REQUEST_HOST','ruleRefresh','indexOf','/fetchmissing?from=','mutations','close','_scheduleCollaborationTimeoutTimer','_localCacheService','updateOfflineData','PSEUDO_FETCH_MISSING_RESULT','add','_telemetryInfo','visibilityState','PasswordBasedCipher','471dQLRyX','kdf','UNKNOWN_CMD','authzUrl','\x0aAfter:\x20','_transformStack','9424888qKNsxa','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_checkMissing','ENSURE_SNAPSHOT_EXECUTION','reject','updatePermissionObjEvent','[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.','_type','saveChangeset','awaiting_with_pending','COMPRESS_MUTATION_SEND','_sessionStatus$','enableOfflineEditing','getLatestCsReqIdBySid','getFocusedUnit','extend','addHandlerCallback','isPermissionRej','_initDependencies','visibilitychange','onMissedChangesetFetched','_HTTPService','getCurrentRevOfUnit','createEncryptor','code','_hasher','exports','session.join-failed','getWorkbookSelections','SNAPSHOT_SERVER_URL_KEY','_removeRoom','_onLocalMutation','_singleActiveUnitService','hidden','getDeserializedSheetBlock','_initEventListeners','startTime','focused$','execute','subType','capture','_fetchMissChangesets','_scheduleTimestamp','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_xformMode','pipe','create','floor','_compressMutationService','_eventService','confirm','onMissingChangesets','_doReset','deepClone','rev','baseRev','fetchThroughInterceptors','PENDING','next','NO_OTHER_CLIENTS_EDITING','_keySchedule','_key','BufferedBlockAlgorithm','close$','type','ceil','UNKNOWN_CODE','JOINING','_tryEnsureSocket','padding','now','getValue','session.room-permission-denied','reduce','COMPLETION_FINISHED','deleteCollaborator','ivSize','SOCKET_FAILED','getMemberID','selections','hasOwnProperty','_onUserJoin','CONFLICT','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','application/json','get','UNIVER_SLIDE','LICENSE_EXPORT_SIZE_EXCEEDED','shouldCloseConn','LIVESHARE_NEW_HOST','setShowComponents','words','_createHelper','RETRY_CONNECTING_MAX_COUNT','formatter','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','disposeWithMe','_mode','_httpService','Pkcs7','pad','debug','_sessions','10075EEmpqW','getRandomValues','newCsEvent','liveShareOperation','_http','session','getPermissionPoint','_onConflict','onLocalMutation','abs','sessionStatus$','isArray','getUnitOnRev','_doFinalize','sendChangesetTimeout','_sender','encrypt','LIVESHARE_TERMINATE','image/png','_queuedRemoteChangesets','registerHTTPInterceptor','_iv','COMMENT_UPDATE','reset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_localeService','COLLAB_WEB_SOCKET_URL','_change$','salt','randomBytes','/rev/','permissionRejEvent','length','AWAITING','compute','ticket','asObservable','fetching\x20missing\x20changesets\x20from\x20','startsWith','subUnitId','_createInitialStateImpl','sigBytes','_onUserLeave','encode','_sendHeartbeatTimer','call','HEARTBEAT','loadOfflineData','_commentUpdate$','getImage','duration','searchParams','4320631yFttpG','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTypeOfUnitDisposed$','APPLY_REJECT','_transformUndoredo','executeCommand','_changesetSessionId','\x20to\x20','onTransformSelections','_instanceService','members','UNIVER_COLLABORATION_CLIENT_PLUGIN','setConfig','Hasher','action','equals','UNDEFINED','target','Univer','_revisionService','pluginName','emitEvent','collaborators','LICENSE_MAX_UNITS_EXCEEDED','onSyncEditingCollabCursor','createSocket','algo','FETCH_MISSING','__Key__','find','_append','method','_iKey','&source=','socket\x20close','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','/universer-api/user/session-ticket','_DEC_XFORM_MODE','connection\x20error','crypto','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/unit/','unsubscribe','USERS_LEAVE','toggleOffline','createInstance','downloadEndpointUrl','_retryConnectingTimer','_startCollaboration','socket$','DEFAULT_FILE_NAME','getTypeOfUnitAdded$','_collaborationTimeoutTimer','/universer-api/file/{fileID}/sign-url','\x0aCurrent:\x20','UNIVER_UNKNOWN','cfg','apply','_throwTelemetryCollaborationNewChangeset','_sendHeartbeat','Base','_onRemoteRejected','updateMember','onRemoteRej','Error\x20on\x20receiving\x20event','Hex','YUUMI_UNABLE_LOAD_URL','_loadSheet','_substituteRedoStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reqId','saveImage','[CollaborationEntity]','charCodeAt','UNAUTHENTICATED','_injector','_initRequestHeader','_transformRemoteChangesetByStateCache','_configService','OFFLINE','univer-pro.collaboration-client-socket-service','change$','LOCAL_CACHE_INTERVAL','ws://127.0.0.1:8000/universer-api/comb/connect','PERMISSION_DENIED','UUID','getMember','key','_updateState','incrementRevOfUnit','10CubPhn','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity','SEND_CHANGESET_TIMEOUT','map','name','hostname','Encryptor','_resendTimeout','_collaborationPaused','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','localeService','SOCKET_FAILED_RETRY','SUBMIT_CHANGESET_TIMEOUT','event$','_doProcessBlock','clear','override','__esModule','sin','set','_oKey','toggleOnline','_executeRemoteChangeset','lib','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','addEventListener','resend','_onConnectionFailed','initWorkbookPermissionChange','max','enableSingleActiveInstanceLock','onRemoteRetry','editingUnit','localCacheService','fromCharCode','getCurrentUser','finalize','_clearUndo','UPDATE_PERMISSION_OBJ','min','byteLength','FAIL','ONLINE','_commandService','_onCombEvent','clearUndoRedo','fromCollab','_createInitialState','StreamCipher','addImageSourceCache','NOT_COLLAB','_startTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','setCurrentUser','SNAPSHOT_HAS_BEEN_REMOVED','removeMember','_getSendChangesetTimeout','unpad','HmacSHA1','_entities','APPLY_NON_SEQUENTIAL_REVISION','getConfig','_state','unknown','conflict','onCommentUpdate','location','MD5','1202UnGfcS','has','_unitID','ciphertext','_map','routeKey','pauseCollaboration','HttpImport','params','[OfflineState]:\x20received\x20acknowledgement.','_socketMessageSubscription','_getRedoStack','_onConnectionOpen','_waitCount','refreshPermission','SNAPSHOT_URL_KEY','pending','_listenToOfflineEvent','_updateStatus','_onRemoteACK','forEach','Worksheet','FileId','_roomMembers','RECV','_members','appendMutation','sessionTicket','complete','leaveEvent','_sheetTransformSelectionsService','_stopTelemetryCollaborationNewChangeset','transformUndoRedo','_doCryptBlock','requireSession','onTransformRemoteChangesetByStateCache','c1Prime','UNIVER_SHEET','collaboratorID','_replayCachedMutations','CLOSE_ROOM','_showConflictNotification','awaitingChangeset','getCurrentSelections','$super','_getCtorByUniverType','_unlockTransition','update','interceptor','signUrlServerUrl','enableAuthServer','collaboration_new_changeset','changesets','joinRsp','[OfflineState]:\x20received\x20rejection.','LIVESHARE_OPERATION','dispose','roles','getSheetId','getImageSourceCache','_nRounds','decrypt','14248FaYjun','getOwnPropertyDescriptor','_candidateSocket','2206yZftlb','COMPRESS_MUTATION_APPLY','AUTHZ_URL_KEY','value','function','_retryCount','/universer-api/comb','collaboration-client.config','push','_shouldReportTelemetry','/resources','compose','_process','/universer-api/snapshot/','updatePermissionPoint','setWaitCount','csShouldRetryEvent','headers','result','[DataLoaderService]','CHANGESET_REJ','_invKeySchedule','WordArray','url','_getSignURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_SUBSCRIPTION_NOT_FOUND','JOIN_ROOM_PERMISSION_DENIED','unitId\x20is\x20not\x20found','loginUrlKey','_acknowledgedAwaitingChangeset','LEAVE','_getUndoStack','_toggleOffline','_pendingMutations','origin','_createSocket','/universer-api/authz','getUnitStatus$','_joinRoom','_init','generateRandomId','list','stringify','every','_transformIMECache','NoPadding','message$','loadDoc','SYNCED','mixIn','_socket','sid','memberID','open$','resolve','_authzIoService','parse','CHANGESET_REVISION_CONFILICT','m2Prime','saveSnapshot','OpenSSL','EvpKDF','x-univer-host','_clearTimeoutTimer','slice','unitID','_univerInstanceService','online','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','uploadFileServerUrl','createCollaborator','_transformRemoteChangesetByIMECache','_changesetReqId','liveShareNewHost','_transformSelections','_handlerCallback','_minBufferSize','SUBMIT_CHANGESET','socket\x20open.','getInterceptPoints','href','getSnapshotAPIPath','_clearRedo','encryptBlock','UNRECOGNIZED','3324QwfjZJ','putCollaborators','\x20in\x20_schedule.','Decryptor','json','HttpExport','commentUpdateEvent','state','clone','\x20-\x20','updateCollaborator','_keyPriorReset','msCrypto','originalMeta','getAllMembers','fetchMiss','resourceIDs','_getSessionTicket','_resendWithTimeout','setTimeout','charAt','disableLocalCache','_ENC_XFORM_MODE','_transformService','delete','symbol','_awaitingChangeset','_toggleOnline','ALREADY_EXISTS','JOIN_ROOM_FAILED','CipherParams','randomUUID','init','GLOBAL_ROOMS_CNT_EXCEEDS','objectActions','filter','_userManagerService','JOIN_ROOM_NOT_EXISTS','file','image/jpg','_commentService','_parse','splice','Workbook','transformStack\x20failed!','prototype','_disableEditing','_syncEditingCollabCursor','error','_hash','{fileID}','send','POST','_resendTimer','responseType','post','getUnitType','_onRemoteRetry','_createHandler','csAckEvent','getActiveSheet','defineProperty','AES','_onRemoteChangeset','_createHmacHelper','objectType','?url=','_getDownloadEndpointURL','SHOULD_CLOSE_CONN','SerializableCipher','reverse','UnitEmbedded','YUUMI_RATE_OVER_LIMIT','_snapshotService','_waitForHeartbeatResponse','entityInit$','actions','_socket$','revision','_onMessage','mode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','put','transformChangesets','_clearLocalCache','12507309DgsBZW','sessionStatus','_socketReady','editing\x20status\x20changed\x20to','error$','_exhaustRemoteChangesetQueue','[UniverCollaborationClientPlugin]','hasher','objectID','snapshotServerUrl','save\x20fail\x20reason\x20is\x20','readInt32LE','socketService','IDLE','_incrementRevisionNumber','onCommandExecuted','USERS_ENTER','SNAPSHOT_INVALID_SNAPSHOT','random','NOT_FOUND','_onRecvEvent','patch','INVALID_ARGUMENT','/collaborator','unitId','_memberService','[CollaborationState]:\x20apply\x20error!','requestParams','_sendingTimer','dispose$','_telemetryService','transformMutationsWithChangeset','_cipher','_getUploadFileURL','_status$','subscribe','JOIN','catch','_onJoinRoomEvent','Malformed\x20UTF-8\x20data','onSendChangeset','collaMsg','onlyLocal','INTERNAL_ERROR','_getAPIPrefixPath','_permissionService','getUnitId','getTargetByPermissionId','allowed','format','TOO_MANY_REQUESTS','closeSession','then','c2Prime','offline','YUUMI_URL_COL_OUT_OF_RANGE','keySize','CHANGESET_ACK','OTHER_CLIENT_EDITING','BASE64','listCollaborators','_collaborationSessionService','_state$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-not-exists','_collabSessionService','PERMISSION_REJ','/allowed','join','avatar','ERROR_IMAGE','Utf8','_replaceFileID','PERSON','UPDATE_CURSOR'];_0x2c0c=function(){return _0x28eff5;};return _0x2c0c();}const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x1d7936(0x3ea)](0x10)[_0x1d7936(0x327)](0x1));function os(_0x289d0f,_0x30ef00=0x0){return(V[_0x289d0f[_0x30ef00+0x0]]+V[_0x289d0f[_0x30ef00+0x1]]+V[_0x289d0f[_0x30ef00+0x2]]+V[_0x289d0f[_0x30ef00+0x3]]+'-'+V[_0x289d0f[_0x30ef00+0x4]]+V[_0x289d0f[_0x30ef00+0x5]]+'-'+V[_0x289d0f[_0x30ef00+0x6]]+V[_0x289d0f[_0x30ef00+0x7]]+'-'+V[_0x289d0f[_0x30ef00+0x8]]+V[_0x289d0f[_0x30ef00+0x9]]+'-'+V[_0x289d0f[_0x30ef00+0xa]]+V[_0x289d0f[_0x30ef00+0xb]]+V[_0x289d0f[_0x30ef00+0xc]]+V[_0x289d0f[_0x30ef00+0xd]]+V[_0x289d0f[_0x30ef00+0xe]]+V[_0x289d0f[_0x30ef00+0xf]])['toLowerCase']();}let ut;const as=new Uint8Array(0x10);function cs(){var _0x29ef66=_0x1d7936;if(!ut){if(typeof crypto>'u'||!crypto[_0x29ef66(0x1d2)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x29ef66(0x1d2)]['bind'](crypto);}return ut(as);}const hs=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x1d7936(0x35b)][_0x1d7936(0x3e2)](crypto),qt={'randomUUID':hs};function _s(_0xc28938,_0x1e8c0a,_0x53f4af){var _0x2cbec2=_0x1d7936;if(qt[_0x2cbec2(0x35b)]&&!_0x1e8c0a&&!_0xc28938)return qt[_0x2cbec2(0x35b)]();_0xc28938=_0xc28938||{};const _0x4471af=_0xc28938['random']||(_0xc28938['rng']||cs)();return _0x4471af[0x6]=_0x4471af[0x6]&0xf|0x40,_0x4471af[0x8]=_0x4471af[0x8]&0x3f|0x80,os(_0x4471af);}const X=_0x5d7524('collaboration-client.local-cache-service');function ao(_0x7e2196){var _0x593aba=_0x1d7936;return _0x593aba(0x421)+_0x7e2196;}var ls=Object['defineProperty'],us=Object[_0x1d7936(0x2e4)],ds=(_0xb3b0c8,_0x411946,_0x31e916,_0x5f18ad)=>{var _0x5e51e8=_0x1d7936;for(var _0x3fa76a=_0x5f18ad>0x1?void 0x0:_0x5f18ad?us(_0x411946,_0x31e916):_0x411946,_0x1525d4=_0xb3b0c8[_0x5e51e8(0x1f1)]-0x1,_0x501c92;_0x1525d4>=0x0;_0x1525d4--)(_0x501c92=_0xb3b0c8[_0x1525d4])&&(_0x3fa76a=(_0x5f18ad?_0x501c92(_0x411946,_0x31e916,_0x3fa76a):_0x501c92(_0x3fa76a))||_0x3fa76a);return _0x5f18ad&&_0x3fa76a&&ls(_0x411946,_0x31e916,_0x3fa76a),_0x3fa76a;},dt=(_0x14d8f2,_0x52fa8c)=>(_0x489cd8,_0xbdb766)=>_0x52fa8c(_0x489cd8,_0xbdb766,_0x14d8f2);function _0x4a6f(_0x5e85c5,_0x758aa1){var _0x2c0c08=_0x2c0c();return _0x4a6f=function(_0x4a6f82,_0x25dfff){_0x4a6f82=_0x4a6f82-0x1ac;var _0x32eeb2=_0x2c0c08[_0x4a6f82];return _0x32eeb2;},_0x4a6f(_0x5e85c5,_0x758aa1);}function fs(_0x3cfaca){var _0x30ada2=_0x1d7936;const {unitID:_0x4574fa,mutations:_0x3ce730}=_0x3cfaca;return{'unitId':_0x4574fa,'subUnitId':_0x3ce730[0x0][_0x30ada2(0x2ad)][_0x30ada2(0x1f8)]};}let nt=class{constructor(_0x441ac6,_0x1f3336,_0x1294c5){var _0x50db3d=_0x1d7936;this['_injector']=_0x441ac6,this[_0x50db3d(0x353)]=_0x1f3336,this[_0x50db3d(0x20e)]=_0x1294c5;}[_0x1d7936(0x434)](_0x591d2c){var _0x50c802=_0x1d7936,_0x2ab3da,_0x3872e9,_0x583dad,_0x4e1c31;const _0x4cc1d5=this[_0x50c802(0x251)]['get'](_0x25f1c4),{unitId:_0x5a8932,subUnitId:_0x2b1898}=fs(_0x591d2c),_0x209404=_0x4cc1d5==null?void 0x0:_0x4cc1d5[_0x50c802(0x48c)](_0x5a8932)[_0x50c802(0x2d0)](),_0x489bee=(_0x3872e9=(_0x2ab3da=this['_instanceService']['getUnit'](_0x5a8932))==null?void 0x0:_0x2ab3da[_0x50c802(0x378)]())==null?void 0x0:_0x3872e9[_0x50c802(0x2df)]();if(_0x209404[_0x50c802(0x1f1)]===0x0||!_0x5a8932||!_0x2b1898)return;const _0x50ef58=[{'id':_0x1396e1['id'],'params':{'unitId':_0x5a8932,'subUnitId':_0x489bee,'selections':_0xeb6d43[_0x50c802(0x4a5)](_0x209404)}}],_0x5b89a5=this[_0x50c802(0x353)][_0x50c802(0x3b0)](_0x591d2c,_0x50ef58);if(!_0x4212c7(_0x5b89a5))throw _0x5b89a5[_0x50c802(0x36c)];const _0xb206cf=(_0x4e1c31=(_0x583dad=_0x5b89a5[_0x50c802(0x321)][0x0])==null?void 0x0:_0x583dad[_0x50c802(0x2ad)])==null?void 0x0:_0x4e1c31['selections'];if(Array['isArray'](_0xb206cf)&&_0xb206cf[_0x50c802(0x1f1)]){if(_0xb206cf['length']===_0x50ef58[0x0][_0x50c802(0x2ad)][_0x50c802(0x1b9)][_0x50c802(0x1f1)]&&_0xb206cf[_0x50c802(0x312)]((_0x183e8f,_0x280bed)=>_0x4b1375[_0x50c802(0x214)](_0x183e8f[_0x50c802(0x3dc)],_0x50ef58[0x0]['params'][_0x50c802(0x1b9)][_0x280bed][_0x50c802(0x3dc)])))return;this['_injector'][_0x50c802(0x1bf)](_0x4b91fc)[_0x50c802(0x20a)](_0x1396e1['id'],{'unitId':_0x5a8932,'subUnitId':_0x489bee,'selections':_0xb206cf});}}};nt=ds([dt(0x0,_0x3b3175(_0x10c67c)),dt(0x1,_0x15468b),dt(0x2,_0x5d8dca)],nt);const ht=_0x5d7524('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x5ac90c=>(_0x5ac90c[_0x5ac90c[_0x1d7936(0x4ab)]=0x0]=_0x1d7936(0x4ab),_0x5ac90c[_0x5ac90c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5ac90c))(yi||{});const vs=new Set([_0x5099a3['id']]);function Jt(_0xe83238,_0x92f972,_0x851aef,_0x411732,_0x24fcc2){var _0x26f38f=_0x1d7936,_0x3dbe02,_0x43033e,_0x1532a8,_0x7d2002;const _0x9447c4=[];for(const _0x123f3a of _0xe83238)if(vs[_0x26f38f(0x2a6)](_0x123f3a['id'])){if(_0x9447c4[_0x26f38f(0x1f1)]>0x0)break;_0x9447c4[_0x26f38f(0x2ee)](_0x123f3a);break;}else _0x9447c4['push'](_0x123f3a);const _0x2aa4dd=(_0x43033e=(_0x3dbe02=_0x24fcc2[_0x26f38f(0x284)]())==null?void 0x0:_0x3dbe02['userID'])!=null?_0x43033e:'unknown',_0x3adbc1=(_0x7d2002=(_0x1532a8=_0x24fcc2[_0x26f38f(0x284)]())==null?void 0x0:_0x1532a8[_0x26f38f(0x31b)])!=null?_0x7d2002:_0x26f38f(0x2a0);return{'changeset':{'unitID':_0x92f972,'type':_0x4022a3(_0x851aef[_0x26f38f(0x374)](_0x92f972)),'baseRev':_0x411732['getCurrentRevOfUnit'](_0x92f972),'revision':0x0,'userID':_0x2aa4dd,'memberID':_0x3adbc1,'mutations':_0x9447c4},'pendingMutations':_0xe83238[_0x26f38f(0x327)](_0x9447c4['length'])};}function ps(_0x2b7715,_0xefd8ce,_0x20b182,_0x537dee,_0x1c0b5c){var _0x26ad4f=_0x1d7936,_0x493253,_0x2412a9,_0x2845e3,_0x4315c3;const _0xc90eb3=[_0x2b7715[_0x26ad4f(0x1b3)]((_0x222a7b,_0x468cb5)=>{var _0x431f42=_0x26ad4f,_0x1bb557;const {id:_0x5ccb6c}=_0x222a7b,{id:_0x4fdcdd,type:_0x4f4193}=_0x468cb5,_0x24b76b=(_0x1bb557=_0x222a7b[_0x431f42(0x2ad)])!=null?_0x1bb557:{'actions':null},_0x124276=_0x468cb5[_0x431f42(0x2ad)];if(_0x5ccb6c&&_0x5ccb6c!==_0x4fdcdd)throw new Error(_0x431f42(0x43a)+_0x5ccb6c+_0x431f42(0x345)+_0x4fdcdd+'.');return{..._0x222a7b,'id':_0x4fdcdd,'type':_0x4f4193,'params':{'unitId':_0x124276[_0x431f42(0x3a9)],'textRanges':_0x124276[_0x431f42(0x452)],'actions':_0x5a29c3[_0x431f42(0x2f1)](_0x24b76b[_0x431f42(0x388)],_0x124276['actions'])}};},{})],_0x57f72a=(_0x2412a9=(_0x493253=_0x1c0b5c[_0x26ad4f(0x284)]())==null?void 0x0:_0x493253[_0x26ad4f(0x44c)])!=null?_0x2412a9:'unknown',_0x414ca6=(_0x4315c3=(_0x2845e3=_0x1c0b5c[_0x26ad4f(0x284)]())==null?void 0x0:_0x2845e3[_0x26ad4f(0x31b)])!=null?_0x4315c3:_0x26ad4f(0x2a0);return{'changeset':{'unitID':_0xefd8ce,'type':_0x4022a3(_0x20b182[_0x26ad4f(0x374)](_0xefd8ce)),'baseRev':_0x537dee['getCurrentRevOfUnit'](_0xefd8ce),'revision':0x0,'userID':_0x57f72a,'memberID':_0x414ca6,'mutations':_0xc90eb3},'pendingMutations':[]};}function Oi(_0x28f9cb,_0x4b44fb){var _0x434df9=_0x1d7936;const _0x53696d=new _0x37648e(0x1);return setTimeout(()=>_0x53696d['next'](_0x4b44fb),_0x28f9cb),_0x53696d[_0x434df9(0x1f5)]()[_0x434df9(0x49d)](_0x3c0f99(0x1));}const ms={'id':_0x3b1a31['id'],'type':_0x30d8e0[_0x1d7936(0x40f)],'params':{}};var gs=Object[_0x1d7936(0x379)],Ss=Object[_0x1d7936(0x2e4)],be=(_0x3d85e5,_0x250d36,_0x19f33f,_0x34acb9)=>{for(var _0x3c0ef7=_0x34acb9>0x1?void 0x0:_0x34acb9?Ss(_0x250d36,_0x19f33f):_0x250d36,_0x3b0f30=_0x3d85e5['length']-0x1,_0x3f5579;_0x3b0f30>=0x0;_0x3b0f30--)(_0x3f5579=_0x3d85e5[_0x3b0f30])&&(_0x3c0ef7=(_0x34acb9?_0x3f5579(_0x250d36,_0x19f33f,_0x3c0ef7):_0x3f5579(_0x3c0ef7))||_0x3c0ef7);return _0x34acb9&&_0x3c0ef7&&gs(_0x250d36,_0x19f33f,_0x3c0ef7),_0x3c0ef7;},A=(_0x4db8d5,_0x21edd9)=>(_0x308e60,_0x1a16ba)=>_0x21edd9(_0x308e60,_0x1a16ba,_0x4db8d5),Pi=(_0x54aca2=>(_0x54aca2[_0x1d7936(0x293)]='not_collab',_0x54aca2[_0x1d7936(0x317)]=_0x1d7936(0x43d),_0x54aca2[_0x1d7936(0x4a9)]=_0x1d7936(0x2b5),_0x54aca2[_0x1d7936(0x1f2)]='awaiting',_0x54aca2['AWAITING_WITH_PENDING']=_0x1d7936(0x479),_0x54aca2['FETCH_MISS']=_0x1d7936(0x3dd),_0x54aca2[_0x1d7936(0x1bc)]=_0x1d7936(0x2a1),_0x54aca2[_0x1d7936(0x255)]=_0x1d7936(0x3c7),_0x54aca2))(Pi||{});const Di=0xea60;class Re{constructor(_0x26c434,_0x3827ac,_0x416fcd,_0x2f10ee,_0x27c5a6,_0x193f79,_0x5eb882,_0x538679,_0x2bac23){var _0x3c26f1=_0x1d7936;N(this,_0x3c26f1(0x356),null),N(this,_0x3c26f1(0x308),[]),(this[_0x3c26f1(0x328)]=_0x26c434,this['type']=_0x3827ac,this[_0x3c26f1(0x3ef)]=_0x27c5a6,this[_0x3c26f1(0x28c)]=_0x193f79,this[_0x3c26f1(0x3e3)]=_0x5eb882,this[_0x3c26f1(0x218)]=_0x538679,this[_0x3c26f1(0x463)]=_0x2bac23,this[_0x3c26f1(0x356)]=_0x416fcd,this['_pendingMutations']=_0x2f10ee);}[_0x1d7936(0x472)](_0x321cd8){var _0x22666b=_0x1d7936;const _0x2bd6d9=this[_0x22666b(0x218)][_0x22666b(0x486)](this[_0x22666b(0x328)]);return _0x321cd8[_0x22666b(0x38a)]>_0x2bd6d9+0x1?(this['_handler'][_0x22666b(0x4a3)]({'from':_0x2bd6d9,'to':_0x321cd8[_0x22666b(0x38a)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x126099){var _0x5623c0=_0x1d7936;this[_0x5623c0(0x3e3)][_0x5623c0(0x2c5)](this[_0x5623c0(0x328)],_0x126099);}[_0x1d7936(0x331)](_0x20e9b5){var _0x4ac03c=_0x1d7936,_0x18b323,_0x50adff;(_0x50adff=(_0x18b323=this[_0x4ac03c(0x3ef)])[_0x4ac03c(0x20d)])==null||_0x50adff[_0x4ac03c(0x1fe)](_0x18b323,_0x20e9b5);}[_0x1d7936(0x313)](_0x4659a9){var _0x31e14b=_0x1d7936,_0x238632,_0x5e6e34;return(_0x5e6e34=(_0x238632=this[_0x31e14b(0x3ef)])['onTransformIME'])==null?void 0x0:_0x5e6e34[_0x31e14b(0x1fe)](_0x238632,_0x4659a9);}[_0x1d7936(0x445)](_0x1822c8){var _0x411110=_0x1d7936,_0x33f306,_0x20e421;return(_0x20e421=(_0x33f306=this[_0x411110(0x3ef)])[_0x411110(0x3f4)])==null?void 0x0:_0x20e421[_0x411110(0x1fe)](_0x33f306,_0x1822c8);}[_0x1d7936(0x32e)](_0x58d325){var _0xee934a=_0x1d7936,_0x1c6a2b,_0x18c1a0,_0x1a13ef;return(_0x1a13ef=(_0x18c1a0=(_0x1c6a2b=this['_handler'])[_0xee934a(0x412)])==null?void 0x0:_0x18c1a0[_0xee934a(0x1fe)](_0x1c6a2b,_0x58d325))!=null?_0x1a13ef:_0x58d325;}[_0x1d7936(0x253)](_0x208327){var _0x2bf80e=_0x1d7936,_0x43b3b5,_0x30104b,_0x139c54;return(_0x139c54=(_0x30104b=(_0x43b3b5=this['_handler'])[_0x2bf80e(0x2c8)])==null?void 0x0:_0x30104b[_0x2bf80e(0x1fe)](_0x43b3b5,_0x208327))!=null?_0x139c54:_0x208327;}[_0x1d7936(0x36b)](_0x9b96b1){var _0x106b08=_0x1d7936,_0x31ed68,_0xaba42a;if(this[_0x106b08(0x4b0)]===Q[_0x106b08(0x45b)]){const {unitID:_0x39ac54,mutations:_0x35d420,memberID:_0x13cc65}=_0x9b96b1,_0x12e29a=_0x35d420[0x0][_0x106b08(0x2ad)][_0x106b08(0x452)];Array[_0x106b08(0x1dc)](_0x12e29a)&&_0x12e29a['length']>0x0&&((_0xaba42a=(_0x31ed68=this['_handler'])[_0x106b08(0x21d)])==null||_0xaba42a[_0x106b08(0x1fe)](_0x31ed68,{'unitID':_0x39ac54,'memberID':_0x13cc65,'textRanges':_0x12e29a}));}}[_0x1d7936(0x402)](){var _0x3f0dc9=_0x1d7936,_0x5b507e;(_0x5b507e=this[_0x3f0dc9(0x463)])==null||_0x5b507e[_0x3f0dc9(0x464)](this[_0x3f0dc9(0x328)],this['type'],this[_0x3f0dc9(0x356)],this[_0x3f0dc9(0x308)]);}[_0x1d7936(0x44d)](){var _0x297306=_0x1d7936;return this[_0x297306(0x218)][_0x297306(0x486)](this[_0x297306(0x328)]);}['_incrementRevisionNumber'](){var _0x335999=_0x1d7936;this['_revisionService'][_0x335999(0x25f)](this[_0x335999(0x328)]);}[_0x1d7936(0x277)](_0x11af42){var _0x340fde=_0x1d7936,_0x4c9965;let _0x5c6906=this['_transformRemoteChangesetByIMECache'](_0x11af42);_0x5c6906=this[_0x340fde(0x253)](_0x5c6906);const _0x51370f=_0x235841(_0x5c6906[_0x340fde(0x460)],this[_0x340fde(0x28c)],{'fromCollab':!0x0});if(!_0x51370f[_0x340fde(0x2f8)])throw _0x51370f[_0x340fde(0x36c)]instanceof Error?_0x51370f['error']:new Error((_0x4c9965=_0x51370f[_0x340fde(0x36c)])!=null?_0x4c9965:_0x340fde(0x3ab));this[_0x340fde(0x313)](_0x5c6906),this[_0x340fde(0x445)](_0x5c6906),this[_0x340fde(0x209)](_0x11af42),this['_transformSelections'](_0x5c6906),this['_syncEditingCollabCursor'](_0x5c6906),this[_0x340fde(0x39f)]();}}let Pe=class extends Re{constructor(_0x33f59c,_0x4a72ed,_0x35eeee,_0x454862,_0xc7c2b4,_0x210bef,_0x157c32,_0x48f6be,_0x5f1b35,_0x5bc3d0){var _0x289acf=_0x1d7936;super(_0x33f59c,_0x4a72ed,null,[],_0x35eeee,_0x157c32,_0x210bef,_0x454862,_0x5bc3d0),N(this,_0x289acf(0x41c),'synced'),(this['_injector']=_0xc7c2b4,this['_logService']=_0x48f6be,this['_transformService']=_0x5f1b35,this[_0x289acf(0x282)]=_0x5bc3d0);}[_0x1d7936(0x2bf)](_0x2e49e2){var _0x5175b4=_0x1d7936;const _0x1741f6=this['_injector'][_0x5175b4(0x233)](re,this['unitID'],this[_0x5175b4(0x4b0)],[_0x2e49e2],this['_handler']);return _0x1741f6[_0x5175b4(0x41e)](),_0x1741f6[_0x5175b4(0x402)](),_0x1741f6;}[_0x1d7936(0x43c)](_0x23b064){var _0x2c5b5d=_0x1d7936;if(this[_0x2c5b5d(0x472)](_0x23b064))return this['_injector']['createInstance'](te,this[_0x2c5b5d(0x328)],this[_0x2c5b5d(0x4b0)],null,[],null,[_0x23b064],this[_0x2c5b5d(0x3ef)]);try{const _0x3c6983=this['_transformService']['transformMutationsWithChangeset'](_0x23b064,[ms]);if(_0x4212c7(_0x3c6983)){const {c1Prime:_0x5cb9d1}=_0x3c6983;return this[_0x2c5b5d(0x277)](_0x5cb9d1),this;}throw _0x3c6983['error'];}catch(_0x505b18){return this[_0x2c5b5d(0x41a)]['error'](_0x505b18),this[_0x2c5b5d(0x1d8)](!0x1);}}['_onConflict'](_0xf945db){var _0xf7bb9c=_0x1d7936;return this[_0xf7bb9c(0x251)][_0xf7bb9c(0x233)](de,this['unitID'],this[_0xf7bb9c(0x4b0)],null,[],this[_0xf7bb9c(0x3ef)],_0xf945db);}[_0x1d7936(0x3fd)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1d7936(0x245)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1d7936(0x232)](){var _0x26deb3=_0x1d7936;return this[_0x26deb3(0x251)][_0x26deb3(0x233)](fe,this[_0x26deb3(0x328)],this[_0x26deb3(0x4b0)],null,[],this[_0x26deb3(0x3ef)]);}['toggleOnline'](){return this;}[_0x1d7936(0x27b)](){var _0x1e1ba4=_0x1d7936;throw new Error(_0x1e1ba4(0x3d0));}[_0x1d7936(0x34b)](){var _0x447a36=_0x1d7936;const _0x55fe8d=this[_0x447a36(0x218)][_0x447a36(0x486)](this[_0x447a36(0x328)]);return this[_0x447a36(0x3ef)]['onMissingChangesets']({'from':_0x55fe8d,'to':0x0}),this[_0x447a36(0x251)][_0x447a36(0x233)](te,this['unitID'],this[_0x447a36(0x4b0)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x3b3175(_0xf3566e)),A(0x4,_0x3b3175(_0x10c67c)),A(0x5,_0x2c00ef),A(0x6,_0x4b91fc),A(0x7,_0x49c65f),A(0x8,_0x15468b),A(0x9,_0x2f40a0(X))],Pe);let re=class extends Re{constructor(_0x1e9d19,_0x26198b,_0x212b2e,_0x4d5fe6,_0x415966,_0x43cc65,_0x4b483a,_0x3fcc05,_0x4f5b9f,_0x3ab408,_0x3065f6,_0x18b1e9,_0x106e97,_0x4b75ba){var _0x68e19d=_0x1d7936;super(_0x1e9d19,_0x26198b,null,_0x212b2e,_0x4d5fe6,_0x4f5b9f,_0x106e97,_0x43cc65,_0x4b75ba),N(this,'status','pending'),N(this,'_scheduleTimestamp',null),N(this,_0x68e19d(0x3ad),null),(this[_0x68e19d(0x251)]=_0x415966,this['_memberService']=_0x4b483a,this[_0x68e19d(0x41a)]=_0x3fcc05,this[_0x68e19d(0x254)]=_0x3ab408,this[_0x68e19d(0x353)]=_0x3065f6,this[_0x68e19d(0x329)]=_0x18b1e9);}[_0x1d7936(0x2bf)](_0x349cc3){var _0x56bec5=_0x1d7936;return this[_0x56bec5(0x308)][_0x56bec5(0x2ee)](_0x349cc3),this[_0x56bec5(0x402)](),this;}['onRemoteChangeset'](_0x50a046){var _0x531267=_0x1d7936;if(this[_0x531267(0x472)](_0x50a046))return this[_0x531267(0x42b)](),this[_0x531267(0x251)]['createInstance'](te,this[_0x531267(0x328)],this['type'],null,this[_0x531267(0x308)],null,[_0x50a046],this['_handler']);try{const _0x518a7d=this['_transformService'][_0x531267(0x3b0)](_0x50a046,this[_0x531267(0x308)]);if(_0x4212c7(_0x518a7d)){const {c1Prime:_0xf37bfa,m2Prime:_0x3ccea9}=_0x518a7d;this[_0x531267(0x277)](_0xf37bfa);const _0x236b34=this['_injector'][_0x531267(0x233)](re,this[_0x531267(0x328)],this[_0x531267(0x4b0)],_0x3ccea9,this[_0x531267(0x3ef)]);return this[_0x531267(0x42b)](),_0x236b34[_0x531267(0x41e)](this[_0x531267(0x49a)]?Math[_0x531267(0x27e)](0x0,new Date()[_0x531267(0x3ff)]()-this[_0x531267(0x49a)]):this[_0x531267(0x299)]()),_0x236b34;}throw _0x518a7d['error'];}catch(_0x5008f9){return this[_0x531267(0x41a)]['error'](_0x5008f9),this[_0x531267(0x1d8)](!0x1);}}[_0x1d7936(0x3fd)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1d7936(0x245)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1d7936(0x280)](){return this;}[_0x1d7936(0x232)](){var _0x112f1a=_0x1d7936;return this[_0x112f1a(0x42b)](),this[_0x112f1a(0x251)][_0x112f1a(0x233)](fe,this['unitID'],this[_0x112f1a(0x4b0)],null,this[_0x112f1a(0x308)],this[_0x112f1a(0x3ef)]);}[_0x1d7936(0x276)](){return this;}[_0x1d7936(0x41e)](_0x3d00d7){var _0x22f545=_0x1d7936;const _0x45a0d6=_0x3d00d7!=null?_0x3d00d7:this[_0x22f545(0x299)]();this[_0x22f545(0x49a)]=new Date()[_0x22f545(0x3ff)](),this[_0x22f545(0x3ad)]=window['setTimeout'](()=>{var _0x59b28b=_0x22f545;this[_0x59b28b(0x42b)]();let _0x4f6a12=null;switch(this[_0x59b28b(0x4b0)]){case Q[_0x59b28b(0x2ca)]:{_0x4f6a12=Jt(this['_pendingMutations'],this[_0x59b28b(0x328)],this['_univerInstanceService'],this[_0x59b28b(0x218)],this[_0x59b28b(0x3aa)]);break;}case Q[_0x59b28b(0x45b)]:{this['_pendingMutations'][_0x59b28b(0x312)](_0x16483d=>_0x16483d['id']===_0x47b706['id'])?_0x4f6a12=ps(this[_0x59b28b(0x308)],this[_0x59b28b(0x328)],this[_0x59b28b(0x329)],this[_0x59b28b(0x218)],this['_memberService']):_0x4f6a12=Jt(this['_pendingMutations'],this[_0x59b28b(0x328)],this[_0x59b28b(0x329)],this[_0x59b28b(0x218)],this[_0x59b28b(0x3aa)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x59b28b(0x4b0)]+_0x59b28b(0x33e));}const {changeset:_0x5186f2,pendingMutations:_0x41c420}=_0x4f6a12;this['_handler']['onSendChangeset'](_0x5186f2);const _0x1aa121=_0x41c420[_0x59b28b(0x1f1)]?this[_0x59b28b(0x251)][_0x59b28b(0x233)](oe,this['unitID'],this[_0x59b28b(0x4b0)],_0x5186f2,_0x41c420,this[_0x59b28b(0x3ef)],void 0x0):this['_injector']['createInstance'](ue,this[_0x59b28b(0x328)],this[_0x59b28b(0x4b0)],_0x5186f2,this[_0x59b28b(0x3ef)]);_0x1aa121[_0x59b28b(0x402)](),this['_handler'][_0x59b28b(0x44a)](this,_0x1aa121);},_0x45a0d6);}[_0x1d7936(0x299)](){var _0x16a72c=_0x1d7936,_0x3a894e;const _0x40c319=this[_0x16a72c(0x254)][_0x16a72c(0x29e)](Y);return(_0x3a894e=_0x40c319==null?void 0x0:_0x40c319[_0x16a72c(0x1df)])!=null?_0x3a894e:Pn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1d7936(0x42b)](){var _0x9889e3=_0x1d7936;this['_sendingTimer']!=null&&(clearTimeout(this[_0x9889e3(0x3ad)]),this['_sendingTimer']=null);}[_0x1d7936(0x1d8)](_0x372c25){var _0x3f6a9b=_0x1d7936;return this[_0x3f6a9b(0x42b)](),this['_injector']['createInstance'](de,this[_0x3f6a9b(0x328)],this[_0x3f6a9b(0x4b0)],null,this[_0x3f6a9b(0x308)],this[_0x3f6a9b(0x3ef)],_0x372c25);}};re=be([A(0x4,_0x3b3175(_0x10c67c)),A(0x5,_0x3b3175(_0xf3566e)),A(0x6,_0x3b3175(Le)),A(0x7,_0x49c65f),A(0x8,_0x4b91fc),A(0x9,_0x109050),A(0xa,_0x15468b),A(0xb,_0x5d8dca),A(0xc,_0x2c00ef),A(0xd,_0x2f40a0(X))],re);let ue=class extends Re{constructor(_0x37028b,_0x34349a,_0x5bcb51,_0x578688,_0x2d153e,_0x4afd5d,_0x2fd65d,_0x257746,_0x27db6a,_0x2678d3,_0xb75e77){var _0x587218=_0x1d7936;super(_0x37028b,_0x34349a,_0x5bcb51,[],_0x578688,_0x2fd65d,_0x2678d3,_0x4afd5d,_0xb75e77),N(this,_0x587218(0x41c),_0x587218(0x436)),N(this,_0x587218(0x268),0x0),N(this,_0x587218(0x371)),N(this,_0x587218(0x1e0)),(this['_injector']=_0x2d153e,this[_0x587218(0x41a)]=_0x257746,this[_0x587218(0x353)]=_0x27db6a);}[_0x1d7936(0x2bf)](_0x551f28){var _0x86fa24=_0x1d7936;this[_0x86fa24(0x42b)]();const _0x3046bc=this[_0x86fa24(0x251)][_0x86fa24(0x233)](oe,this[_0x86fa24(0x328)],this[_0x86fa24(0x4b0)],this[_0x86fa24(0x356)],[_0x551f28],this[_0x86fa24(0x3ef)],this['_resendTimer']);return _0x3046bc[_0x86fa24(0x402)](),_0x3046bc;}[_0x1d7936(0x43c)](_0x5a55fb){var _0x49b08f=_0x1d7936;if(this[_0x49b08f(0x472)](_0x5a55fb))return this[_0x49b08f(0x42b)](),this[_0x49b08f(0x251)]['createInstance'](te,this[_0x49b08f(0x328)],this[_0x49b08f(0x4b0)],this[_0x49b08f(0x356)],[],null,[_0x5a55fb],this[_0x49b08f(0x3ef)]);try{const _0x398a8e=this[_0x49b08f(0x353)][_0x49b08f(0x38f)]([_0x5a55fb],[this[_0x49b08f(0x356)]],!0x1);if(_0x27977b(_0x398a8e)){const {c1Prime:_0x17d86b,c2Prime:_0x1bcafe}=_0x398a8e;this[_0x49b08f(0x277)](_0x17d86b[0x0]),_0x1bcafe[0x0][_0x49b08f(0x4a7)]=this[_0x49b08f(0x44d)](),this['_clearScheduledTask']();const _0x25c272=this[_0x49b08f(0x251)][_0x49b08f(0x233)](ue,this['unitID'],this[_0x49b08f(0x4b0)],_0x1bcafe[0x0],this['_handler']);return _0x25c272['_updateLocalCache'](),_0x25c272;}return this[_0x49b08f(0x1d8)](!0x1);}catch(_0x4d8955){return this[_0x49b08f(0x41a)][_0x49b08f(0x36c)](_0x4d8955),this[_0x49b08f(0x1d8)](!0x1);}}['onRemoteAck'](_0x31c8f8){var _0x18daef=_0x1d7936;this['_clearScheduledTask']();const _0x2d0d60=this[_0x18daef(0x218)][_0x18daef(0x486)](this[_0x18daef(0x328)]);if(_0x31c8f8[_0x18daef(0x38a)]<_0x2d0d60-0x1)return this;if(this[_0x18daef(0x472)](_0x31c8f8))return this[_0x18daef(0x251)][_0x18daef(0x233)](te,this[_0x18daef(0x328)],this[_0x18daef(0x4b0)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x18daef(0x39f)]();const _0x4a9952=this[_0x18daef(0x251)][_0x18daef(0x233)](Pe,this[_0x18daef(0x328)],this[_0x18daef(0x4b0)],this['_handler']);return _0x4a9952[_0x18daef(0x402)](),_0x4a9952;}[_0x1d7936(0x245)](_0x105924){var _0x96be56=_0x1d7936;return this[_0x96be56(0x1d8)](!!(_0x105924!=null&&_0x105924[_0x96be56(0x481)]));}['onRemoteRetry'](_0x10e678){var _0x22e045=_0x1d7936;return this[_0x22e045(0x268)]>Di?this[_0x22e045(0x232)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x10e678[_0x22e045(0x24c)]}),this[_0x22e045(0x1e0)]=this[_0x22e045(0x371)][_0x22e045(0x3b4)](({reqId:_0x2b8f20,timeout:_0x7264dd})=>{var _0x32a2ab=_0x22e045;this[_0x32a2ab(0x34e)](_0x2b8f20,_0x7264dd);}),this);}[_0x1d7936(0x232)](){var _0x1ab84a=_0x1d7936;return this[_0x1ab84a(0x42b)](),this[_0x1ab84a(0x251)][_0x1ab84a(0x233)](fe,this[_0x1ab84a(0x328)],this[_0x1ab84a(0x4b0)],this[_0x1ab84a(0x356)],[],this[_0x1ab84a(0x3ef)]);}['toggleOnline'](){return this;}[_0x1d7936(0x27b)](){var _0x388290=_0x1d7936;this['_handler'][_0x388290(0x3b9)](this[_0x388290(0x356)]);}[_0x1d7936(0x1d8)](_0x395295){var _0x3c842f=_0x1d7936;return this[_0x3c842f(0x42b)](),this[_0x3c842f(0x251)][_0x3c842f(0x233)](de,this[_0x3c842f(0x328)],this['type'],this[_0x3c842f(0x356)],[],this[_0x3c842f(0x3ef)],_0x395295);}[_0x1d7936(0x34e)](_0x5dfdaa,_0x3e6104){var _0x5dfb0b=_0x1d7936,_0x4cbc53;_0x5dfdaa===((_0x4cbc53=this['_awaitingChangeset'])==null?void 0x0:_0x4cbc53[_0x5dfb0b(0x24c)])&&(this[_0x5dfb0b(0x27b)](),this['_resendTimeout']=_0x3e6104===0x0?0x3e8:_0x3e6104*0x2);}[_0x1d7936(0x42b)](){var _0x18f9b1=_0x1d7936,_0x55942e;(_0x55942e=this[_0x18f9b1(0x1e0)])==null||_0x55942e[_0x18f9b1(0x230)](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x3b3175(_0x10c67c)),A(0x5,_0x3b3175(_0xf3566e)),A(0x6,_0x4b91fc),A(0x7,_0x49c65f),A(0x8,_0x15468b),A(0x9,_0x2c00ef),A(0xa,_0x2f40a0(X))],ue);let oe=class extends Re{constructor(_0xf278a7,_0x1801a5,_0xeb195c,_0x1d6dff,_0x5dbc21,_0x1b7525,_0x4c7578,_0x4f7730,_0x3ce4c6,_0x5cd951,_0x438e3f,_0x1f475d,_0x21e8c0){var _0x467aa4=_0x1d7936;super(_0xf278a7,_0x1801a5,_0xeb195c,_0x1d6dff,_0x5dbc21,_0x3ce4c6,_0x1f475d,_0x4f7730,_0x21e8c0),N(this,_0x467aa4(0x41c),_0x467aa4(0x479)),N(this,'_resendTimeout',0x0),N(this,_0x467aa4(0x371)),N(this,_0x467aa4(0x1e0)),(this[_0x467aa4(0x251)]=_0x4c7578,this['_logService']=_0x5cd951,this['_transformService']=_0x438e3f,this[_0x467aa4(0x282)]=_0x21e8c0,_0x1b7525&&(this[_0x467aa4(0x371)]=_0x1b7525,this[_0x467aa4(0x1e0)]=this[_0x467aa4(0x371)]['subscribe'](({reqId:_0x3c63e6,timeout:_0x26717d})=>{var _0x3aa85=_0x467aa4;this[_0x3aa85(0x34e)](_0x3c63e6,_0x26717d);})));}[_0x1d7936(0x2bf)](_0xe2056b){var _0x53ad8a=_0x1d7936;return this['_pendingMutations'][_0x53ad8a(0x2ee)](_0xe2056b),this;}[_0x1d7936(0x43c)](_0x1af0c3){var _0x51d0a5=_0x1d7936;if(this[_0x51d0a5(0x472)](_0x1af0c3))return this[_0x51d0a5(0x42b)](),this[_0x51d0a5(0x251)][_0x51d0a5(0x233)](te,this[_0x51d0a5(0x328)],this['type'],this[_0x51d0a5(0x356)],this[_0x51d0a5(0x308)],null,[_0x1af0c3],this[_0x51d0a5(0x3ef)]);try{const _0x10a4a0=this[_0x51d0a5(0x353)][_0x51d0a5(0x38f)]([_0x1af0c3],[this[_0x51d0a5(0x356)]],!0x1);if(_0x27977b(_0x10a4a0)){const {c1Prime:_0x5aebe7,c2Prime:_0x32ce9d}=_0x10a4a0,_0x4d0a10=this['_transformService'][_0x51d0a5(0x3b0)](_0x5aebe7[0x0],this[_0x51d0a5(0x308)]);if(_0x4212c7(_0x4d0a10)){const {c1Prime:_0x207c55,m2Prime:_0x5aa938}=_0x4d0a10;return this[_0x51d0a5(0x277)](_0x207c55),_0x32ce9d[0x0][_0x51d0a5(0x4a7)]=this['_getCurrentRevision'](),this[_0x51d0a5(0x42b)](),this[_0x51d0a5(0x251)][_0x51d0a5(0x233)](oe,this['unitID'],this[_0x51d0a5(0x4b0)],_0x32ce9d[0x0],_0x5aa938,this['_handler'],void 0x0);}throw _0x4d0a10[_0x51d0a5(0x36c)];}throw _0x10a4a0['error'];}catch(_0x2e1f21){return this[_0x51d0a5(0x41a)][_0x51d0a5(0x36c)](_0x2e1f21),this[_0x51d0a5(0x1d8)](!0x1);}}['onRemoteAck'](_0x19eb94){var _0x2d3ce6=_0x1d7936;if(this[_0x2d3ce6(0x42b)](),this['_checkMissing'](_0x19eb94))return this['_injector'][_0x2d3ce6(0x233)](te,this[_0x2d3ce6(0x328)],this['type'],null,this[_0x2d3ce6(0x308)],this['_awaitingChangeset'],[],this[_0x2d3ce6(0x3ef)]);this[_0x2d3ce6(0x39f)]();const _0x1fecce=this['_injector'][_0x2d3ce6(0x233)](re,this[_0x2d3ce6(0x328)],this[_0x2d3ce6(0x4b0)],this[_0x2d3ce6(0x308)],this[_0x2d3ce6(0x3ef)]);return _0x1fecce[_0x2d3ce6(0x41e)](),_0x1fecce['_updateLocalCache'](),_0x1fecce;}[_0x1d7936(0x245)](_0x3f6288){var _0x451827=_0x1d7936;return this[_0x451827(0x1d8)](!!(_0x3f6288!=null&&_0x3f6288['isPermissionRej']));}[_0x1d7936(0x280)](_0x232ae9){var _0x1a8703=_0x1d7936;return this[_0x1a8703(0x268)]>Di?this[_0x1a8703(0x232)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x232ae9[_0x1a8703(0x24c)]}),this[_0x1a8703(0x1e0)]=this[_0x1a8703(0x371)][_0x1a8703(0x3b4)](({reqId:_0x494003,timeout:_0x203fea})=>{var _0x3114d7=_0x1a8703;this[_0x3114d7(0x34e)](_0x494003,_0x203fea);}),this);}[_0x1d7936(0x232)](){var _0x5a222e=_0x1d7936;return this[_0x5a222e(0x42b)](),this['_injector'][_0x5a222e(0x233)](fe,this[_0x5a222e(0x328)],this['type'],this['_awaitingChangeset'],this[_0x5a222e(0x308)],this[_0x5a222e(0x3ef)]);}[_0x1d7936(0x276)](){return this;}[_0x1d7936(0x27b)](){var _0x47b15c=_0x1d7936;this[_0x47b15c(0x3ef)]['onSendChangeset'](this[_0x47b15c(0x356)]);}['_onConflict'](_0x47fdf6){var _0x59dfb6=_0x1d7936;return this['_clearScheduledTask'](),this[_0x59dfb6(0x251)][_0x59dfb6(0x233)](de,this[_0x59dfb6(0x328)],this['type'],null,this[_0x59dfb6(0x308)],this[_0x59dfb6(0x3ef)],_0x47fdf6);}[_0x1d7936(0x34e)](_0x61fa0c,_0xff2318){var _0x88fcbd=_0x1d7936,_0x41cc6c;_0x61fa0c===((_0x41cc6c=this[_0x88fcbd(0x356)])==null?void 0x0:_0x41cc6c['reqId'])&&(this['resend'](),this[_0x88fcbd(0x268)]=_0xff2318===0x0?0x3e8:_0xff2318*0x2);}[_0x1d7936(0x42b)](){var _0x3e5274=_0x1d7936,_0x530a56;(_0x530a56=this['_sender'])==null||_0x530a56['unsubscribe'](),this[_0x3e5274(0x268)]=0x0;}};oe=be([A(0x6,_0x3b3175(_0x10c67c)),A(0x7,_0x3b3175(_0xf3566e)),A(0x8,_0x4b91fc),A(0x9,_0x49c65f),A(0xa,_0x15468b),A(0xb,_0x2c00ef),A(0xc,_0x2f40a0(X))],oe);let de=class extends Re{constructor(_0x3fe8b7,_0x46d679,_0x10dc78,_0x2e9837,_0x3ed18f,_0xbc8e84=!0x1,_0x3c97db,_0x5b4dbf,_0x2afd7d,_0x3114c4,_0x369024,_0x4fb089,_0x4986d8){var _0x9993d4=_0x1d7936;super(_0x3fe8b7,_0x46d679,_0x10dc78,_0x2e9837,_0x3ed18f,_0x5b4dbf,_0x2afd7d,_0x3114c4,_0x4986d8),N(this,_0x9993d4(0x41c),_0x9993d4(0x2a1)),(this['_isPermissionRej']=_0xbc8e84,this[_0x9993d4(0x3be)]=_0x3c97db,this[_0x9993d4(0x1ea)]=_0x369024,this['_collaborationUIEventService']=_0x4fb089,this['localCacheService']=_0x4986d8,this[_0x9993d4(0x2ce)](),this[_0x9993d4(0x390)](),this[_0x9993d4(0x36a)]());}['appendMutation'](){return this;}[_0x1d7936(0x43c)](){return this;}[_0x1d7936(0x3fd)](){return this;}[_0x1d7936(0x245)](){return this;}[_0x1d7936(0x280)](){return this;}[_0x1d7936(0x232)](){return this;}[_0x1d7936(0x276)](){return this;}['resend'](){var _0x4414a4=_0x1d7936;throw new Error(_0x4414a4(0x32b));}[_0x1d7936(0x390)](){var _0x530265=_0x1d7936,_0x4b9c7b;(_0x4b9c7b=this[_0x530265(0x463)])==null||_0x4b9c7b[_0x530265(0x464)](this[_0x530265(0x328)],this[_0x530265(0x4b0)],null,[]);}[_0x1d7936(0x2ce)](){var _0x21b0d2=_0x1d7936;this['_isPermissionRej']?this[_0x21b0d2(0x40b)][_0x21b0d2(0x21a)]({'id':se[_0x21b0d2(0x25a)]}):this[_0x21b0d2(0x40b)][_0x21b0d2(0x21a)]({'id':se[_0x21b0d2(0x1bc)]});}['_disableEditing'](){var _0x12aabf=_0x1d7936;this[_0x12aabf(0x3be)]['updatePermissionPoint'](new _0x4207f1(this[_0x12aabf(0x328)])['id'],!0x1);}};de=be([A(0x6,_0x3b3175(_0x5cec21)),A(0x7,_0x4b91fc),A(0x8,_0x2c00ef),A(0x9,_0x3b3175(_0xf3566e)),A(0xa,_0x3b3175(_0x41029b)),A(0xb,_0x3b3175(pe)),A(0xc,_0x2f40a0(X))],de);let fe=class extends Re{constructor(_0x47eeb1,_0x3d6150,_0x26913d,_0x4bb991,_0x2ed1c9,_0x34e9ac,_0x4e1339,_0x303f58,_0x5e62cf,_0x4033ea){var _0x234d18=_0x1d7936;super(_0x47eeb1,_0x3d6150,_0x26913d,_0x4bb991,_0x2ed1c9,_0x303f58,_0x5e62cf,_0x4e1339,_0x4033ea),N(this,_0x234d18(0x41c),_0x234d18(0x3c7)),this['_injector']=_0x34e9ac;}['appendMutation'](_0x15cbe8){var _0x3cb4f6=_0x1d7936;return this[_0x3cb4f6(0x308)][_0x3cb4f6(0x2ee)](_0x15cbe8),this[_0x3cb4f6(0x402)](),this;}['onRemoteChangeset'](_0x15fcab){var _0x4a4929=_0x1d7936;throw new Error(_0x4a4929(0x415));}[_0x1d7936(0x3fd)](){var _0x8fabf0=_0x1d7936;throw new Error(_0x8fabf0(0x2ae));}[_0x1d7936(0x245)](){var _0x4156b2=_0x1d7936;throw new Error(_0x4156b2(0x2db));}[_0x1d7936(0x280)](){return this;}[_0x1d7936(0x232)](){return this;}[_0x1d7936(0x276)](){var _0x93443f=_0x1d7936;const {_injector:_0x3c4e6f,_pendingMutations:_0x21ea1f,_awaitingChangeset:_0x4e04ba,unitID:_0x22b8ac,_handler:_0x57a821,type:_0x5daf15}=this,_0x3c183b=Ni(_0x3c4e6f,_0x22b8ac,_0x5daf15,_0x4e04ba,_0x21ea1f,_0x57a821);return _0x3c183b instanceof re?_0x3c183b[_0x93443f(0x41e)]():(_0x3c183b instanceof oe||_0x3c183b instanceof ue)&&_0x3c183b[_0x93443f(0x27b)](),_0x3c183b;}[_0x1d7936(0x27b)](){var _0x33ef0f=_0x1d7936;throw new Error(_0x33ef0f(0x26a));}};fe=be([A(0x5,_0x3b3175(_0x10c67c)),A(0x6,_0x3b3175(_0xf3566e)),A(0x7,_0x4b91fc),A(0x8,_0x2c00ef),A(0x9,_0x2f40a0(X))],fe);let te=class extends Re{constructor(_0x39b179,_0x457b07,_0x2b2868,_0x3e94a6,_0x51011e,_0x3827c0,_0x3e3586,_0x29ce0a,_0x3c402b,_0x11a23f,_0xca61a1,_0x48fb76,_0x5943ce,_0xe4e6c9){var _0x39cc8a=_0x1d7936;super(_0x39b179,_0x457b07,_0x2b2868,_0x3e94a6,_0x3e3586,_0xca61a1,_0x48fb76,_0x3c402b,_0xe4e6c9),N(this,_0x39cc8a(0x41c),'fetch_missing'),(this[_0x39cc8a(0x304)]=_0x51011e,this['_queuedRemoteChangesets']=_0x3827c0,this[_0x39cc8a(0x251)]=_0x29ce0a,this[_0x39cc8a(0x41a)]=_0x11a23f,this[_0x39cc8a(0x353)]=_0x5943ce,this[_0x39cc8a(0x282)]=_0xe4e6c9);}[_0x1d7936(0x484)](_0x57bfc2){var _0x3493b6=_0x1d7936;try{const _0x2f9bd9=[..._0x57bfc2,...this[_0x3493b6(0x1e4)]],_0x69bc9c=[this[_0x3493b6(0x356)]||this[_0x3493b6(0x304)]]['filter'](_0x2664e1=>!!_0x2664e1);let _0x4bf5de,_0xec7468;if(_0x69bc9c['length']){const _0x16c82d=this[_0x3493b6(0x353)][_0x3493b6(0x38f)](_0x2f9bd9,_0x69bc9c,!0x1);if(!_0x27977b(_0x16c82d))throw _0x16c82d[_0x3493b6(0x36c)];_0x4bf5de=_0x16c82d['c1Prime'],_0xec7468=_0x16c82d[_0x3493b6(0x3c6)];}else _0x4bf5de=_0x2f9bd9,_0xec7468=[];let _0x27e6f1=this[_0x3493b6(0x308)];_0x4bf5de[_0x3493b6(0x2b9)](_0x51781f=>{var _0x14b943=_0x3493b6;let _0x35a5e5;if(_0x27e6f1[_0x14b943(0x1f1)]){const _0x5eb3b0=this[_0x14b943(0x353)]['transformMutationsWithChangeset'](_0x51781f,_0x27e6f1);if(!_0x4212c7(_0x5eb3b0))throw _0x5eb3b0[_0x14b943(0x36c)];_0x35a5e5=_0x5eb3b0[_0x14b943(0x2c9)],_0x27e6f1=_0x5eb3b0[_0x14b943(0x321)];}else _0x35a5e5=_0x51781f;this['_executeRemoteChangeset'](_0x35a5e5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3493b6(0x39f)](),this[_0x3493b6(0x356)]&&_0xec7468['length']&&(_0xec7468[0x0][_0x3493b6(0x4a7)]=this[_0x3493b6(0x44d)]());let _0x471cd0;if(this[_0x3493b6(0x356)]&&_0x27e6f1[_0x3493b6(0x1f1)]!==0x0)_0x471cd0=this[_0x3493b6(0x251)][_0x3493b6(0x233)](oe,this[_0x3493b6(0x328)],this[_0x3493b6(0x4b0)],_0xec7468[0x0],_0x27e6f1,this[_0x3493b6(0x3ef)],void 0x0);else{if(this['_awaitingChangeset']&&_0x27e6f1[_0x3493b6(0x1f1)]===0x0)_0xec7468[0x0][_0x3493b6(0x4a7)]=this['_getCurrentRevision'](),_0x471cd0=this[_0x3493b6(0x251)]['createInstance'](ue,this[_0x3493b6(0x328)],this[_0x3493b6(0x4b0)],_0xec7468[0x0],this[_0x3493b6(0x3ef)]);else{if(_0x27e6f1['length']!==0x0){const _0x1f8ce6=this[_0x3493b6(0x251)][_0x3493b6(0x233)](re,this[_0x3493b6(0x328)],this['type'],_0x27e6f1,this[_0x3493b6(0x3ef)]);_0x1f8ce6[_0x3493b6(0x41e)](),_0x471cd0=_0x1f8ce6;}else _0x471cd0=this[_0x3493b6(0x251)][_0x3493b6(0x233)](Pe,this[_0x3493b6(0x328)],this[_0x3493b6(0x4b0)],this[_0x3493b6(0x3ef)]);}}return _0x471cd0['_updateLocalCache'](),_0x471cd0;}catch(_0x5e656a){return this[_0x3493b6(0x41a)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5e656a),this['_injector'][_0x3493b6(0x233)](de,this[_0x3493b6(0x328)],this[_0x3493b6(0x4b0)],this[_0x3493b6(0x356)],this['_pendingMutations'],this[_0x3493b6(0x3ef)],!0x1);}}[_0x1d7936(0x27b)](){var _0x5607f3=_0x1d7936;throw new Error(_0x5607f3(0x411));}[_0x1d7936(0x2bf)](_0x26bde8){var _0x3558b7=_0x1d7936;return this[_0x3558b7(0x308)]['push'](_0x26bde8),this;}[_0x1d7936(0x43c)](_0x62cd22){var _0x1a8591=_0x1d7936;return this[_0x1a8591(0x1e4)]['push'](_0x62cd22),this;}['onRemoteAck'](_0xbc10f5){var _0x1594c5=_0x1d7936;if(this[_0x1594c5(0x356)])return this['_acknowledgedAwaitingChangeset']=this[_0x1594c5(0x356)],this[_0x1594c5(0x356)]=null,this;throw new Error(_0x1594c5(0x41b));}[_0x1d7936(0x245)](_0x47f0f5){var _0x4dc400=_0x1d7936;return this[_0x4dc400(0x1d8)](!!(_0x47f0f5!=null&&_0x47f0f5[_0x4dc400(0x481)]));}[_0x1d7936(0x280)](){return this;}['toggleOffline'](){var _0x52bb75=_0x1d7936;return this[_0x52bb75(0x251)]['createInstance'](fe,this['unitID'],this[_0x52bb75(0x4b0)],this[_0x52bb75(0x356)],this[_0x52bb75(0x308)],this[_0x52bb75(0x3ef)]);}[_0x1d7936(0x276)](){return this;}[_0x1d7936(0x1d8)](_0x4a7049){var _0x46b695=_0x1d7936;return this[_0x46b695(0x251)]['createInstance'](de,this['unitID'],this[_0x46b695(0x4b0)],this[_0x46b695(0x356)],this['_pendingMutations'],this['_handler'],_0x4a7049);}};te=be([A(0x7,_0x3b3175(_0x10c67c)),A(0x8,_0x3b3175(_0xf3566e)),A(0x9,_0x49c65f),A(0xa,_0x4b91fc),A(0xb,_0x2c00ef),A(0xc,_0x15468b),A(0xd,_0x2f40a0(X))],te);function Ni(_0x4773ae,_0x24e82f,_0x514159,_0x4f7b83,_0x3f2c2a,_0x4e9f35){var _0x188b2e=_0x1d7936;return _0x4f7b83&&_0x3f2c2a[_0x188b2e(0x1f1)]?_0x4773ae[_0x188b2e(0x233)](oe,_0x24e82f,_0x514159,_0x4f7b83,_0x3f2c2a,_0x4e9f35,void 0x0):_0x4f7b83?_0x4773ae['createInstance'](ue,_0x24e82f,_0x514159,_0x4f7b83,_0x4e9f35):_0x3f2c2a[_0x188b2e(0x1f1)]?_0x4773ae[_0x188b2e(0x233)](re,_0x24e82f,_0x514159,_0x3f2c2a,_0x4e9f35):_0x4773ae[_0x188b2e(0x233)](Pe,_0x24e82f,_0x514159,_0x4e9f35);}var Es=Object[_0x1d7936(0x379)],Is=Object[_0x1d7936(0x2e4)],Mt=(_0x19b3c7,_0x863b2a,_0x239846,_0xc160f7)=>{for(var _0x2104d6=_0xc160f7>0x1?void 0x0:_0xc160f7?Is(_0x863b2a,_0x239846):_0x863b2a,_0x3de98f=_0x19b3c7['length']-0x1,_0x1d5eba;_0x3de98f>=0x0;_0x3de98f--)(_0x1d5eba=_0x19b3c7[_0x3de98f])&&(_0x2104d6=(_0xc160f7?_0x1d5eba(_0x863b2a,_0x239846,_0x2104d6):_0x1d5eba(_0x2104d6))||_0x2104d6);return _0xc160f7&&_0x2104d6&&Es(_0x863b2a,_0x239846,_0x2104d6),_0x2104d6;},k=(_0x1827d4,_0x37d9b1)=>(_0x3cd8cd,_0x18968b)=>_0x37d9b1(_0x3cd8cd,_0x18968b,_0x1827d4);let st=class extends _0x38bb5f{constructor(_0x2fa23a,_0x5982ba,_0x5b2268,_0x341ed2,_0x509a3d,_0x4cfd5d,_0x38589d,_0x3873c1,_0x2a58a1,_0x2d93bc,_0x15e85d,_0xeb0e3e,_0x15057c){var _0x4f3653=_0x1d7936;super(),N(this,_0x4f3653(0x3cf),new _0xd9c82f(null)),N(this,'state$',this[_0x4f3653(0x3cf)][_0x4f3653(0x1f5)]()),N(this,'_state'),N(this,_0x4f3653(0x269),!0x1),N(this,_0x4f3653(0x20b),''),N(this,_0x4f3653(0x32f),0x0),N(this,'status$',this['state$'][_0x4f3653(0x49d)](_0x580dad(_0x5bf1f8=>_0x5bf1f8?_0x5bf1f8[_0x4f3653(0x41c)]:Pi[_0x4f3653(0x255)]),_0x21d660(0x1))),N(this,_0x4f3653(0x3f0),!0x1),N(this,_0x4f3653(0x3df),[]),(this[_0x4f3653(0x328)]=_0x2fa23a,this[_0x4f3653(0x1d6)]=_0x5982ba,this[_0x4f3653(0x477)]=_0x5b2268,this['_injector']=_0x341ed2,this[_0x4f3653(0x4a0)]=_0x509a3d,this['_localeService']=_0x4cfd5d,this[_0x4f3653(0x218)]=_0x38589d,this['_eventService']=_0x3873c1,this['_logService']=_0x2a58a1,this['_commandService']=_0x2d93bc,this[_0x4f3653(0x3be)]=_0x15e85d,this[_0x4f3653(0x490)]=_0xeb0e3e,this[_0x4f3653(0x463)]=_0x15057c);}get[_0x1d7936(0x343)](){var _0x50c0c6=_0x1d7936;return this[_0x50c0c6(0x29f)];}async[_0x1d7936(0x35c)](){var _0x4e2600=_0x1d7936;if(this[_0x4e2600(0x343)])throw new Error(_0x4e2600(0x49b));await this[_0x4e2600(0x30e)]();}[_0x1d7936(0x2ab)](){var _0x3e49e9=_0x1d7936;return this[_0x3e49e9(0x269)]=!0x0,_0x5bcd52(()=>{var _0x30da06=_0x3e49e9;this[_0x30da06(0x269)]=!0x1,this[_0x30da06(0x396)]();});}[_0x1d7936(0x1d9)](_0x19d066){var _0x5d6731=_0x1d7936;this[_0x5d6731(0x48f)](_0x19d066);}[_0x1d7936(0x25e)](_0x1c0a0c){var _0xe369ef=_0x1d7936;this['_state']=_0x1c0a0c,this[_0xe369ef(0x3cf)][_0xe369ef(0x4aa)](_0x1c0a0c);}async[_0x1d7936(0x30e)](){var _0x5dde3c=_0x1d7936,_0x3230df;this[_0x5dde3c(0x25e)](await this[_0x5dde3c(0x290)]()),this[_0x5dde3c(0x490)]&&((_0x3230df=this[_0x5dde3c(0x490)])==null||_0x3230df[_0x5dde3c(0x281)](this[_0x5dde3c(0x328)]),this[_0x5dde3c(0x1ca)](this[_0x5dde3c(0x490)][_0x5dde3c(0x30c)](this['unitID'])[_0x5dde3c(0x3b4)](_0x3063c2=>{var _0x22c7e4=_0x5dde3c;this['_logService'][_0x22c7e4(0x1cf)](_0x22c7e4(0x24e),_0x22c7e4(0x394),_0x3063c2),_0x3063c2===yi['OTHER_CLIENTS_EDITING']?(this[_0x22c7e4(0x4a1)]['emitEvent']({'id':se[_0x22c7e4(0x3cb)]}),this['_permissionService']['updatePermissionPoint'](new _0x4207f1(this[_0x22c7e4(0x328)])['id'],!0x1),this[_0x22c7e4(0x3be)][_0x22c7e4(0x1c4)](!0x1)):(this[_0x22c7e4(0x3be)][_0x22c7e4(0x2f4)](new _0x4207f1(this[_0x22c7e4(0x328)])['id'],!0x0),this[_0x22c7e4(0x3be)][_0x22c7e4(0x1c4)](!0x0));})));let _0x5ae69c=!0x1;return this[_0x5dde3c(0x1ca)](this[_0x5dde3c(0x1d6)]['sessionStatus$'][_0x5dde3c(0x3b4)](_0x49f5f8=>{var _0x5e6a3a=_0x5dde3c;_0x49f5f8===Ie[_0x5e6a3a(0x28b)]?this['_toggleOnline'](_0x5ae69c):_0x49f5f8===Ie['OFFLINE']&&(_0x5ae69c=!0x0,this[_0x5e6a3a(0x307)]());})),this['disposeWithMe'](this[_0x5dde3c(0x1d6)][_0x5dde3c(0x26e)][_0x5dde3c(0x3b4)](_0x550946=>{var _0x1816ef=_0x5dde3c;try{switch(_0x550946['eventID']){case _0x486605['NEW_CHANGESETS']:{this[_0x1816ef(0x37b)](_0x5ccce1(_0x550946['data']));break;}case _0x486605[_0x1816ef(0x3ca)]:{this[_0x1816ef(0x2b8)](_0x550946['data']);break;}case _0x486605[_0x1816ef(0x2fa)]:{this[_0x1816ef(0x243)]();break;}case _0x486605[_0x1816ef(0x438)]:{this[_0x1816ef(0x375)](_0x550946[_0x1816ef(0x42d)]);break;}case _0x486605['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x550946['data'][_0x1816ef(0x2d9)][_0x1816ef(0x264)](_0x3ab004=>_0x5ccce1(_0x3ab004)));break;}case _0x486605['PERMISSION_REJ']:this[_0x1816ef(0x243)]({'isPermissionRej':!0x0});}}catch(_0x493e54){throw console['error'](_0x1816ef(0x246),_0x493e54),_0x493e54;}})),this[_0x5dde3c(0x29f)];}[_0x1d7936(0x2d3)](){var _0x16a4f3=_0x1d7936;this[_0x16a4f3(0x3f0)]=!0x1;}['_lockTransition'](){var _0x39f076=_0x1d7936;if(this[_0x39f076(0x3f0)])throw new Error(_0x39f076(0x476));this[_0x39f076(0x3f0)]=!0x0;}[_0x1d7936(0x48f)](_0x55c5b6){var _0x28934b=_0x1d7936;this['_lockTransition'](),this[_0x28934b(0x25e)](this[_0x28934b(0x29f)][_0x28934b(0x2bf)](_0x55c5b6)),this[_0x28934b(0x2d3)]();}[_0x1d7936(0x37b)](_0xcdfde5){var _0x182d04=_0x1d7936;if(!(_0xcdfde5[_0x182d04(0x38a)]<=this['_revisionService'][_0x182d04(0x486)](this[_0x182d04(0x328)]))){if(this['_collaborationPaused']){this[_0x182d04(0x3df)]['push'](_0xcdfde5);return;}this['_applyRemoteChangeset'](_0xcdfde5);}}[_0x1d7936(0x396)](){var _0x41a035=_0x1d7936;this['_remoteChangesetQueue']['forEach'](_0x17fd80=>this[_0x41a035(0x435)](_0x17fd80)),this['_remoteChangesetQueue']=[];}[_0x1d7936(0x435)](_0x3980c9){var _0x49fd54=_0x1d7936;const _0x226319=this['_compressMutationService'][_0x49fd54(0x2d5)][_0x49fd54(0x4a8)](this[_0x49fd54(0x4a0)][_0x49fd54(0x2d5)]['getInterceptPoints']()[_0x49fd54(0x2e7)])(_0x3980c9[_0x49fd54(0x460)],null)||_0x3980c9['mutations'],_0x1b10d0={..._0x3980c9,'mutations':_0x226319};this[_0x49fd54(0x416)](),this[_0x49fd54(0x25e)](this[_0x49fd54(0x29f)][_0x49fd54(0x43c)](_0x1b10d0)),this[_0x49fd54(0x2d3)]();}[_0x1d7936(0x2b8)](_0x1d1659){var _0x3057af=_0x1d7936;this[_0x3057af(0x416)](),this[_0x3057af(0x25e)](this[_0x3057af(0x29f)][_0x3057af(0x3fd)](_0x1d1659)),this[_0x3057af(0x2d3)]();}['_onRemoteRejected'](_0x35280b){var _0x39c74b=_0x1d7936;this[_0x39c74b(0x416)](),this['_updateState'](this[_0x39c74b(0x29f)][_0x39c74b(0x245)](_0x35280b)),this[_0x39c74b(0x2d3)]();}[_0x1d7936(0x375)](_0x4a7687){var _0xddd4e=_0x1d7936;this['_lockTransition'](),this[_0xddd4e(0x25e)](this[_0xddd4e(0x29f)][_0xddd4e(0x280)](_0x4a7687)),this['_unlockTransition']();}[_0x1d7936(0x42f)](_0x43c276){var _0x37ddab=_0x1d7936;if(!(this[_0x37ddab(0x29f)]instanceof te))throw new TypeError(_0x37ddab(0x279));const _0x575477=_0x43c276['map'](_0x169e0e=>{var _0x1b0518=_0x37ddab;const _0x514808=this['_compressMutationService'][_0x1b0518(0x2d5)][_0x1b0518(0x4a8)](this[_0x1b0518(0x4a0)][_0x1b0518(0x2d5)][_0x1b0518(0x336)]()['COMPRESS_MUTATION_APPLY'])(_0x169e0e['mutations'],null)||_0x169e0e[_0x1b0518(0x460)];return{..._0x169e0e,'mutations':_0x514808};});this[_0x37ddab(0x416)](),this[_0x37ddab(0x25e)](this[_0x37ddab(0x29f)][_0x37ddab(0x484)](_0x575477)),this[_0x37ddab(0x2d3)]();}[_0x1d7936(0x307)](){var _0x4af8d4=_0x1d7936;this['_lockTransition'](),this[_0x4af8d4(0x25e)](this[_0x4af8d4(0x29f)][_0x4af8d4(0x232)]()),this[_0x4af8d4(0x2d3)]();}[_0x1d7936(0x357)](_0x57ff7a=!0x1){var _0x4537bb=_0x1d7936;this[_0x4537bb(0x416)](),this[_0x4537bb(0x25e)](this[_0x4537bb(0x29f)][_0x4537bb(0x276)]()),this[_0x4537bb(0x2d3)]();const _0x4a556e=this[_0x4537bb(0x29f)];_0x57ff7a&&_0x4a556e instanceof Pe&&(this[_0x4537bb(0x416)](),this['_updateState'](_0x4a556e['fetchMiss']()),this[_0x4537bb(0x2d3)]());}async['_createInitialState'](){return new Promise(_0xb2b7d4=>{var _0x28b9e5=_0x4a6f;this[_0x28b9e5(0x1d6)]['sessionStatus$']['pipe'](_0x3c0f99(0x1))[_0x28b9e5(0x3b4)](async _0x43b0da=>{var _0xc518df=_0x28b9e5;_0xb2b7d4(await this[_0xc518df(0x1f9)](_0x43b0da===Ie[_0xc518df(0x28b)]));});});}[_0x1d7936(0x376)](){var _0x339dc0=_0x1d7936;const _0x5563c1=this[_0x339dc0(0x328)];return{'onStateChange':(_0x5b0762,_0x34c2e9)=>{var _0x3455e6=_0x339dc0;if(_0x5b0762!==this[_0x3455e6(0x29f)])throw new Error(_0x3455e6(0x1c9)+_0x5b0762['status']+_0x3455e6(0x46e)+_0x34c2e9[_0x3455e6(0x41c)]+_0x3455e6(0x23c)+this['_state'][_0x3455e6(0x41c)]);this[_0x3455e6(0x25e)](_0x34c2e9);},'onSendChangeset':_0x32fe90=>{var _0x1b7686=_0x339dc0;_0x32fe90[_0x1b7686(0x31a)]||(_0x32fe90[_0x1b7686(0x31a)]=this['_changesetSessionId'],_0x32fe90['reqId']=++this[_0x1b7686(0x32f)]);const _0x5a4cc0={'eventID':_0x486605['SUBMIT_CHANGESET'],'data':{'unitID':_0x32fe90[_0x1b7686(0x328)],'unitType':this['_type'],'changeset':_0x32fe90,'memberID':this['session']['getMemberID']()}};this[_0x1b7686(0x1d6)]['send'](_0x5a4cc0,this['unitID']);},'onMissingChangesets':({from:_0x1fa907,to:_0x2dd012})=>{var _0x11b1f7=_0x339dc0;this[_0x11b1f7(0x41a)][_0x11b1f7(0x1cf)]('[CollaborationEntity]',_0x11b1f7(0x1f6)+_0x1fa907+_0x11b1f7(0x20c)+_0x2dd012);const _0x4a434b={'eventID':_0x486605[_0x11b1f7(0x220)],'data':{'unitID':_0x5563c1,'unitType':this[_0x11b1f7(0x477)],'from':_0x1fa907,'to':_0x2dd012}};this[_0x11b1f7(0x1d6)][_0x11b1f7(0x36f)](_0x4a434b,this[_0x11b1f7(0x328)]);}};}async[_0x1d7936(0x1f9)](_0x1632d6){var _0x3e4dd2=_0x1d7936,_0x5c033d,_0x25ce69,_0x3213db;const _0x2bafe3=await((_0x5c033d=this[_0x3e4dd2(0x463)])==null?void 0x0:_0x5c033d['loadOfflineData'](this[_0x3e4dd2(0x328)])),_0x255968=(_0x25ce69=_0x2bafe3==null?void 0x0:_0x2bafe3['mutations'])!=null?_0x25ce69:[],_0x5dba33=(_0x3213db=_0x2bafe3==null?void 0x0:_0x2bafe3[_0x3e4dd2(0x2cf)])!=null?_0x3213db:null,_0x4a6a1a=!!(_0x5dba33!=null&&_0x5dba33['sid'])&&!!(_0x5dba33!=null&&_0x5dba33[_0x3e4dd2(0x24c)]);this['_changesetSessionId']=_0x4a6a1a?_0x5dba33[_0x3e4dd2(0x31a)]:_s(),this[_0x3e4dd2(0x32f)]=_0x4a6a1a?_0x5dba33[_0x3e4dd2(0x24c)]:0x0;const _0x2e7b8c=this[_0x3e4dd2(0x328)];try{this['_replayCachedMutations'](_0x5dba33,_0x255968);}catch(_0x382ff2){this[_0x3e4dd2(0x41a)][_0x3e4dd2(0x36c)](_0x382ff2);}const _0x16afd5=this[_0x3e4dd2(0x376)]();if(_0x1632d6){const _0x2dffc3=Ni(this['_injector'],_0x2e7b8c,this[_0x3e4dd2(0x477)],_0x5dba33,_0x255968,_0x16afd5);return _0x2dffc3 instanceof re?_0x2dffc3[_0x3e4dd2(0x41e)]():(_0x2dffc3 instanceof oe||_0x2dffc3 instanceof ue)&&_0x2dffc3[_0x3e4dd2(0x27b)](),_0x2dffc3;}return this[_0x3e4dd2(0x251)][_0x3e4dd2(0x233)](fe,_0x2e7b8c,this[_0x3e4dd2(0x477)],_0x5dba33,_0x255968,_0x16afd5);}[_0x1d7936(0x2cc)](_0x55d127,_0x33ea1a){var _0xb3fc77=_0x1d7936,_0x2a6cd5,_0x292087;const _0x2389c5=this[_0xb3fc77(0x4a0)]['interceptor'][_0xb3fc77(0x4a8)](this[_0xb3fc77(0x4a0)][_0xb3fc77(0x2d5)]['getInterceptPoints']()[_0xb3fc77(0x2e7)]);(_0x2a6cd5=_0x2389c5((_0x55d127==null?void 0x0:_0x55d127[_0xb3fc77(0x460)])||[],null))==null||_0x2a6cd5[_0xb3fc77(0x2b9)](_0x136c00=>this[_0xb3fc77(0x28c)][_0xb3fc77(0x20a)](_0x136c00['id'],_0x136c00[_0xb3fc77(0x2ad)])),(_0x292087=_0x2389c5(_0x33ea1a||[],null))==null||_0x292087['forEach'](_0x23a90c=>this[_0xb3fc77(0x28c)]['executeCommand'](_0x23a90c['id'],_0x23a90c[_0xb3fc77(0x2ad)]));}};st=Mt([k(0x3,_0x3b3175(_0x10c67c)),k(0x4,_0x3b3175(_0xd6da1e)),k(0x5,_0x3b3175(_0x41029b)),k(0x6,_0x3b3175(_0xf3566e)),k(0x7,_0x3b3175(pe)),k(0x8,_0x49c65f),k(0x9,_0x4b91fc),k(0xa,_0x5cec21),k(0xb,_0x2f40a0(ht)),k(0xc,_0x2f40a0(X))],st);let Tt=class extends st{constructor(_0x28e407,_0x4d2427,_0x5d2ef4,_0x2a1f71,_0x156d47,_0x488d25,_0x5b77e9,_0x331ede,_0x1e6110,_0x3c2b00,_0x3ebccf,_0x323736,_0x58d404){var _0x44a739=_0x1d7936;super(_0x28e407,_0x5d2ef4,_0x4d2427,_0x2a1f71,_0x156d47,_0x488d25,_0x5b77e9,_0x331ede,_0x1e6110,_0x3c2b00,_0x3ebccf,_0x323736,_0x58d404),N(this,_0x44a739(0x332),null),(this['unitID']=_0x28e407,this[_0x44a739(0x4b0)]=_0x4d2427);}[_0x1d7936(0x480)](_0xfc4498){var _0x5d0ab0=_0x1d7936;this[_0x5d0ab0(0x332)]=_0xfc4498;}[_0x1d7936(0x2dd)](){var _0xeb9ea9=_0x1d7936;this['_handlerCallback']=null,super[_0xeb9ea9(0x2dd)]();}[_0x1d7936(0x376)](){var _0x4baadb=_0x1d7936;const _0x20977e=super[_0x4baadb(0x376)]();return _0x20977e['onTransformIME']=_0x23fcea=>{var _0x53910c=_0x4baadb,_0x1278b1,_0x1115df;return(_0x1115df=(_0x1278b1=this[_0x53910c(0x332)])==null?void 0x0:_0x1278b1[_0x53910c(0x3ec)])==null?void 0x0:_0x1115df['call'](_0x1278b1,_0x23fcea);},_0x20977e[_0x4baadb(0x3f4)]=_0x5356cb=>{var _0x208575=_0x4baadb,_0x429da8,_0x2a1c75;return(_0x2a1c75=(_0x429da8=this['_handlerCallback'])==null?void 0x0:_0x429da8['onTransformState'])==null?void 0x0:_0x2a1c75[_0x208575(0x1fe)](_0x429da8,_0x5356cb);},_0x20977e['onTransformSelections']=_0x14a64f=>{var _0x312aaf=_0x4baadb,_0x5a8a01,_0x1e3d78;return(_0x1e3d78=(_0x5a8a01=this['_handlerCallback'])==null?void 0x0:_0x5a8a01['onTransformSelections'])==null?void 0x0:_0x1e3d78[_0x312aaf(0x1fe)](_0x5a8a01,_0x14a64f);},_0x20977e[_0x4baadb(0x21d)]=_0xeba245=>{var _0x3e2711=_0x4baadb,_0x181657,_0xabe042;return(_0xabe042=(_0x181657=this['_handlerCallback'])==null?void 0x0:_0x181657[_0x3e2711(0x21d)])==null?void 0x0:_0xabe042[_0x3e2711(0x1fe)](_0x181657,_0xeba245);},_0x20977e[_0x4baadb(0x412)]=_0x3050f6=>{var _0x10f9d5=_0x4baadb,_0x8d8bea,_0x4f212f,_0xd1814d;if(!((_0x8d8bea=this['_handlerCallback'])!=null&&_0x8d8bea[_0x10f9d5(0x412)]))throw new Error(_0x10f9d5(0x447));return(_0xd1814d=(_0x4f212f=this[_0x10f9d5(0x332)])==null?void 0x0:_0x4f212f[_0x10f9d5(0x412)])==null?void 0x0:_0xd1814d[_0x10f9d5(0x1fe)](_0x4f212f,_0x3050f6);},_0x20977e[_0x4baadb(0x2c8)]=_0x43d035=>{var _0x24ea60=_0x4baadb,_0x567d3c,_0xe982a5,_0x2402ee;if(!((_0x567d3c=this[_0x24ea60(0x332)])!=null&&_0x567d3c['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2402ee=(_0xe982a5=this[_0x24ea60(0x332)])==null?void 0x0:_0xe982a5[_0x24ea60(0x2c8)])==null?void 0x0:_0x2402ee['call'](_0xe982a5,_0x43d035);},_0x20977e;}async[_0x1d7936(0x30e)](){var _0x1f4fa9=_0x1d7936;const _0x769590=await super['_init']();return this['disposeWithMe'](this[_0x1f4fa9(0x28c)][_0x1f4fa9(0x3a0)]((_0x5d0ef0,_0x107534)=>{var _0xe265df=_0x1f4fa9;if(_0x5d0ef0[_0xe265df(0x4b0)]!==_0x30d8e0['MUTATION']||_0x107534!=null&&_0x107534[_0xe265df(0x28f)]||_0x107534!=null&&_0x107534[_0xe265df(0x3bb)]||_0x5d0ef0['id']===_0x47b706['id'])return;const _0x1c737d=_0x5d0ef0['params'];if((_0x1c737d==null?void 0x0:_0x1c737d[_0xe265df(0x3a9)])!==this[_0xe265df(0x328)])return;const _0x44499c=_0x5d0ef0,_0x9b982d=this[_0xe265df(0x4a0)][_0xe265df(0x2d5)]['fetchThroughInterceptors'](this[_0xe265df(0x4a0)][_0xe265df(0x2d5)][_0xe265df(0x336)]()[_0xe265df(0x47a)])([_0x44499c],null)||[_0x44499c];this[_0xe265df(0x48f)](_0x9b982d[0x0]);})),_0x769590;}};Tt=Mt([k(0x3,_0x3b3175(_0x10c67c)),k(0x4,_0x3b3175(_0xd6da1e)),k(0x5,_0x3b3175(_0x41029b)),k(0x6,_0x3b3175(_0xf3566e)),k(0x7,_0x3b3175(pe)),k(0x8,_0x49c65f),k(0x9,_0x4b91fc),k(0xa,_0x5cec21),k(0xb,_0x2f40a0(ht)),k(0xc,_0x2f40a0(X))],Tt);let Ct=class extends st{constructor(_0x54e389,_0x7c9d0e,_0x2ec0c5,_0x5b71d0,_0x2095fd,_0x3721a0,_0x3630ba,_0x56512e,_0x3124e0,_0x395f0d,_0x370092,_0x534b77,_0x1ce271,_0x5e3cb4){var _0x3a242e=_0x1d7936;super(_0x54e389,_0x2ec0c5,_0x7c9d0e,_0x5b71d0,_0x2095fd,_0x3721a0,_0x3630ba,_0x3124e0,_0x395f0d,_0x370092,_0x534b77,_0x1ce271,_0x5e3cb4),this[_0x3a242e(0x328)]=_0x54e389,this[_0x3a242e(0x4b0)]=_0x7c9d0e,this[_0x3a242e(0x2c3)]=_0x56512e;}['_createHandler'](){var _0x537d5a=_0x1d7936;const _0x36075a=super['_createHandler']();return _0x36075a[_0x537d5a(0x20d)]=_0x4ae851=>this[_0x537d5a(0x2c3)][_0x537d5a(0x434)](_0x4ae851),_0x36075a;}async[_0x1d7936(0x30e)](){var _0x32e2d4=_0x1d7936;const _0x3ca702=await super[_0x32e2d4(0x30e)]();return this[_0x32e2d4(0x1ca)](this['_commandService'][_0x32e2d4(0x3a0)]((_0x1a5e2d,_0xc833d1)=>{var _0x261385=_0x32e2d4;if(_0x1a5e2d[_0x261385(0x4b0)]!==_0x30d8e0[_0x261385(0x40f)]||_0xc833d1!=null&&_0xc833d1[_0x261385(0x28f)]||_0xc833d1!=null&&_0xc833d1[_0x261385(0x3bb)])return;const _0x325022=_0x1a5e2d[_0x261385(0x2ad)];if((_0x325022==null?void 0x0:_0x325022['unitId'])!==this[_0x261385(0x328)])return;const _0x3a12f0=_0x1a5e2d,_0xb3af7b=this[_0x261385(0x4a0)][_0x261385(0x2d5)][_0x261385(0x4a8)](this[_0x261385(0x4a0)][_0x261385(0x2d5)][_0x261385(0x336)]()['COMPRESS_MUTATION_SEND'])([_0x3a12f0],null)||[_0x3a12f0];this['_onLocalMutation'](_0xb3af7b[0x0]);})),_0x3ca702;}};Ct=Mt([k(0x3,_0x3b3175(_0x10c67c)),k(0x4,_0x3b3175(_0xd6da1e)),k(0x5,_0x3b3175(_0x41029b)),k(0x6,_0x3b3175(_0xf3566e)),k(0x7,_0x3b3175(nt)),k(0x8,_0x3b3175(pe)),k(0x9,_0x49c65f),k(0xa,_0x4b91fc),k(0xb,_0x5cec21),k(0xc,_0x2f40a0(ht)),k(0xd,_0x2f40a0(X))],Ct);var Ts=Object['defineProperty'],Cs=Object['getOwnPropertyDescriptor'],bs=(_0x1007b3,_0x3dbb0f,_0x2339b6,_0x1da4db)=>{for(var _0x30be37=_0x1da4db>0x1?void 0x0:_0x1da4db?Cs(_0x3dbb0f,_0x2339b6):_0x3dbb0f,_0x4634cf=_0x1007b3['length']-0x1,_0xf642de;_0x4634cf>=0x0;_0x4634cf--)(_0xf642de=_0x1007b3[_0x4634cf])&&(_0x30be37=(_0x1da4db?_0xf642de(_0x3dbb0f,_0x2339b6,_0x30be37):_0xf642de(_0x30be37))||_0x30be37);return _0x1da4db&&_0x30be37&&Ts(_0x3dbb0f,_0x2339b6,_0x30be37),_0x30be37;},ft=(_0x4288f5,_0x861a60)=>(_0x478ae1,_0x3cb53c)=>_0x861a60(_0x478ae1,_0x3cb53c,_0x4288f5);let rt=class extends _0x38bb5f{constructor(_0xdf77cf,_0x59e57f,_0x586797){var _0x27d283=_0x1d7936;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x32457f()),N(this,_0x27d283(0x387),this[_0x27d283(0x3f2)]['asObservable']()),(this[_0x27d283(0x251)]=_0xdf77cf,this[_0x27d283(0x3d2)]=_0x59e57f,this[_0x27d283(0x329)]=_0x586797,this[_0x27d283(0x30e)]());}['dispose'](){var _0x7e6ba=_0x1d7936;super[_0x7e6ba(0x2dd)](),this['_entities'][_0x7e6ba(0x2b9)](_0x3f52ef=>_0x3f52ef['dispose']()),this[_0x7e6ba(0x29c)][_0x7e6ba(0x270)]();}[_0x1d7936(0x262)](_0x90a486){var _0x102065=_0x1d7936,_0x1b489c;return(_0x1b489c=this[_0x102065(0x29c)][_0x102065(0x1bf)](_0x90a486))!=null?_0x1b489c:null;}['getCollabEntity$'](_0xfd3a65){var _0x4f4a97=_0x1d7936;const _0x387991=this[_0x4f4a97(0x262)](_0xfd3a65);return _0x387991?_0x56fbf4(_0x387991):this[_0x4f4a97(0x3f2)][_0x4f4a97(0x49d)](_0x17dc13(_0x22f510=>_0x22f510['unitID']===_0xfd3a65));}[_0x1d7936(0x30e)](){var _0x3cada3=_0x1d7936;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2afb19[_0x3cada3(0x2ca)])[_0x3cada3(0x49d)](_0x4939f6(this[_0x3cada3(0x3ae)]),_0x56e7ac(0x10))[_0x3cada3(0x3b4)](async _0x582d49=>{var _0x1e59d1=_0x3cada3;const _0x3a3f18=_0x582d49['getUnitId'](),_0x75fdb3=await this[_0x1e59d1(0x236)](_0x3a3f18,Q[_0x1e59d1(0x2ca)]);this['_entities'][_0x1e59d1(0x274)](_0x3a3f18,_0x75fdb3);}),this[_0x3cada3(0x329)][_0x3cada3(0x239)](_0x2afb19[_0x3cada3(0x45b)])[_0x3cada3(0x49d)](_0x4939f6(this[_0x3cada3(0x3ae)]),_0x56e7ac(0x10))[_0x3cada3(0x49d)](_0x17dc13(_0x9c370=>!_0x9c370[_0x3cada3(0x3bf)]()[_0x3cada3(0x1f7)]('__')))[_0x3cada3(0x3b4)](async _0x57abd4=>{var _0x220723=_0x3cada3;const _0x185c21=_0x57abd4[_0x220723(0x3bf)](),_0x262456=await this[_0x220723(0x236)](_0x185c21,Q['UNIVER_DOC']);this[_0x220723(0x29c)][_0x220723(0x274)](_0x185c21,_0x262456);}),_0x5d5b30(this[_0x3cada3(0x329)]['getTypeOfUnitDisposed$'](_0x2afb19[_0x3cada3(0x2ca)]),this[_0x3cada3(0x329)][_0x3cada3(0x207)](_0x2afb19[_0x3cada3(0x45b)]))[_0x3cada3(0x49d)](_0x4939f6(this[_0x3cada3(0x3ae)]))[_0x3cada3(0x3b4)](_0x7e0b2c=>{var _0x320ed9=_0x3cada3;const _0x29f9be=_0x7e0b2c['getUnitId'](),_0x199afe=this[_0x320ed9(0x29c)][_0x320ed9(0x1bf)](_0x29f9be);_0x199afe&&(_0x199afe[_0x320ed9(0x2dd)](),this[_0x320ed9(0x29c)][_0x320ed9(0x354)](_0x29f9be));});}async[_0x1d7936(0x236)](_0x3f6644,_0x44871c){var _0x4b4451=_0x1d7936;const _0x6fd3a3=await this[_0x4b4451(0x3d2)]['requireSession'](_0x3f6644),_0x5d3412=this[_0x4b4451(0x251)][_0x4b4451(0x233)](this[_0x4b4451(0x2d2)](_0x44871c),_0x3f6644,_0x44871c,_0x6fd3a3);return await _0x5d3412[_0x4b4451(0x35c)](),this[_0x4b4451(0x3f2)][_0x4b4451(0x4aa)](_0x5d3412),_0x5d3412;}[_0x1d7936(0x2d2)](_0x4663ce){var _0x4bd62d=_0x1d7936;switch(_0x4663ce){case Q[_0x4bd62d(0x45b)]:return Tt;case Q[_0x4bd62d(0x2ca)]:return Ct;default:throw new Error(_0x4bd62d(0x22e)+_0x4663ce);}}};rt=bs([ft(0x0,_0x3b3175(_0x10c67c)),ft(0x1,_0x3b3175(Me)),ft(0x2,_0x5d8dca)],rt);var Rs=Object['defineProperty'],ys=Object[_0x1d7936(0x2e4)],Os=(_0x589ab2,_0x27c18c,_0x4704cc,_0x5942cf)=>{var _0x8bb760=_0x1d7936;for(var _0x2dcf86=_0x5942cf>0x1?void 0x0:_0x5942cf?ys(_0x27c18c,_0x4704cc):_0x27c18c,_0x2f36a4=_0x589ab2[_0x8bb760(0x1f1)]-0x1,_0x8189ed;_0x2f36a4>=0x0;_0x2f36a4--)(_0x8189ed=_0x589ab2[_0x2f36a4])&&(_0x2dcf86=(_0x5942cf?_0x8189ed(_0x27c18c,_0x4704cc,_0x2dcf86):_0x8189ed(_0x2dcf86))||_0x2dcf86);return _0x5942cf&&_0x2dcf86&&Rs(_0x27c18c,_0x4704cc,_0x2dcf86),_0x2dcf86;},Xt=(_0x47632f,_0x2b9f87)=>(_0x5eba4c,_0x1a61e3)=>_0x2b9f87(_0x5eba4c,_0x1a61e3,_0x47632f);const Ps=_0x1d7936(0x238),Ds=_0x1d7936(0x217);let bt=class extends _0x1bb7ef{constructor(_0x4eaa3d,_0x51ecfa){var _0x5e4f87=_0x1d7936;super(),this[_0x5e4f87(0x329)]=_0x4eaa3d,this[_0x5e4f87(0x254)]=_0x51ecfa,this[_0x5e4f87(0x30e)]();}['_init'](){var _0x59cc5e=_0x1d7936;this[_0x59cc5e(0x1ca)](this[_0x59cc5e(0x329)][_0x59cc5e(0x495)][_0x59cc5e(0x3b4)](()=>{var _0x41678f=_0x59cc5e,_0x1b833b;const _0x1256fc=this['_univerInstanceService'][_0x41678f(0x47e)]();let _0x2491bd=(_0x1b833b=this['_configService'][_0x41678f(0x29e)](Ps))!=null?_0x1b833b:Ds;_0x1256fc instanceof _0x28a636&&(_0x2491bd=_0x1256fc[_0x41678f(0x265)]),document[_0x41678f(0x42c)]=_0x2491bd;}));}};bt=Os([Xt(0x0,_0x5d8dca),Xt(0x1,_0x109050)],bt);var Ns=Object[_0x1d7936(0x379)],ws=Object['getOwnPropertyDescriptor'],Us=(_0x5c411c,_0x54230f,_0x157ca9,_0x26c793)=>{var _0x3c8ded=_0x1d7936;for(var _0x1e7eae=_0x26c793>0x1?void 0x0:_0x26c793?ws(_0x54230f,_0x157ca9):_0x54230f,_0xf81c34=_0x5c411c[_0x3c8ded(0x1f1)]-0x1,_0x339362;_0xf81c34>=0x0;_0xf81c34--)(_0x339362=_0x5c411c[_0xf81c34])&&(_0x1e7eae=(_0x26c793?_0x339362(_0x54230f,_0x157ca9,_0x1e7eae):_0x339362(_0x1e7eae))||_0x1e7eae);return _0x26c793&&_0x1e7eae&&Ns(_0x54230f,_0x157ca9,_0x1e7eae),_0x1e7eae;},vt=(_0x2897dd,_0x4fc8f1)=>(_0x2e7fa2,_0x2f228e)=>_0x4fc8f1(_0x2e7fa2,_0x2f228e,_0x2897dd);let ot=class{constructor(_0x29bd76,_0x55ac0b,_0x54e574){var _0xef2242=_0x1d7936;this[_0xef2242(0x254)]=_0x29bd76,this[_0xef2242(0x1cc)]=_0x55ac0b,this[_0xef2242(0x26b)]=_0x54e574,this['init']();}['init'](){var _0x328707=_0x1d7936;this[_0x328707(0x1cc)][_0x328707(0x1e5)]({'priority':0x1,'interceptor':(_0x2618de,_0x2ee006)=>_0x2ee006(_0x2618de)[_0x328707(0x49d)](_0x8483bb(async _0x5bea8d=>{var _0xfe357e=_0x328707;const _0x5b3bfa=_0x5bea8d;if(_0x5b3bfa[_0xfe357e(0x41c)]===0x191&&window[_0xfe357e(0x4a2)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x5943cb=window['encodeURIComponent'](window[_0xfe357e(0x2a3)]['href']);window[_0xfe357e(0x2a3)][_0xfe357e(0x337)]=this[_0xfe357e(0x45a)]()+_0xfe357e(0x37e)+_0x5943cb;}return _0x5b3bfa;}))});}['_getLoginPath'](){var _0x2e9c51=_0x1d7936,_0x3e4be6,_0x3aac7d;const _0x4a45ed=this[_0x2e9c51(0x254)][_0x2e9c51(0x29e)](kn),_0x2cd794=this['_configService'][_0x2e9c51(0x29e)](Y);return(_0x3aac7d=(_0x3e4be6=_0x2cd794==null?void 0x0:_0x2cd794[_0x2e9c51(0x303)])!=null?_0x3e4be6:_0x4a45ed)!=null?_0x3aac7d:jn;}};ot=Us([vt(0x0,_0x109050),vt(0x1,_0x3b3175(_0x3062fa)),vt(0x2,_0x3b3175(_0x41029b))],ot);var As=Object[_0x1d7936(0x379)],xs=Object[_0x1d7936(0x2e4)],Ls=(_0x1a53fb,_0x38ff19,_0x156cf3,_0x22b5e2)=>{for(var _0x271d3b=_0x22b5e2>0x1?void 0x0:_0x22b5e2?xs(_0x38ff19,_0x156cf3):_0x38ff19,_0x3942a9=_0x1a53fb['length']-0x1,_0x102cb7;_0x3942a9>=0x0;_0x3942a9--)(_0x102cb7=_0x1a53fb[_0x3942a9])&&(_0x271d3b=(_0x22b5e2?_0x102cb7(_0x38ff19,_0x156cf3,_0x271d3b):_0x102cb7(_0x271d3b))||_0x271d3b);return _0x22b5e2&&_0x271d3b&&As(_0x38ff19,_0x156cf3,_0x271d3b),_0x271d3b;},Zt=(_0x1270bb,_0x85760b)=>(_0x33cc66,_0x308583)=>_0x85760b(_0x33cc66,_0x308583,_0x1270bb);const wi=_0x1d7936(0x2e8),Ms='/universer-api/authz';let Rt=class extends _0x1bb7ef{constructor(_0x1db89c,_0x102df2){var _0x22eeb5=_0x1d7936;super(),this[_0x22eeb5(0x485)]=_0x1db89c,this[_0x22eeb5(0x254)]=_0x102df2,this[_0x22eeb5(0x410)]();}['_initMergeInterceptor'](){var _0x56bf90=_0x1d7936;const _0xb0967e=this;this['disposeWithMe'](this['_HTTPService'][_0x56bf90(0x1e5)]({'priority':0x3e7,'interceptor':_0x1f274d({'isMatch'(_0x1ccd07){var _0x5825ae=_0x56bf90,_0x4bb489;if(_0x1ccd07[_0x5825ae(0x224)]===_0x5825ae(0x370)&&((_0x4bb489=_0x1ccd07['requestParams'])!=null&&_0x4bb489[_0x5825ae(0x407)])){const {objectID:_0x284880,objectType:_0x4379ef}=_0x1ccd07['requestParams']['body']||{};if(!_0x284880||_0x4379ef===void 0x0)return!0x1;const _0x562846=_0xb0967e[_0x5825ae(0x3bd)]()+'/'+_0x4379ef+_0x5825ae(0x428)+_0x284880+'/allowed';if(_0x1ccd07[_0x5825ae(0x2fd)]===_0x562846)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39c11f){var _0x13c9c7=_0x56bf90,_0x4156f8;return(_0x4156f8=_0x39c11f[_0x13c9c7(0x3ac)])==null?void 0x0:_0x4156f8[_0x13c9c7(0x407)];},'mergeParamsToRequest'(_0xe53850,_0x20cdb4){var _0x1c3d1d=_0x56bf90;const _0x25f0a5=_0xb0967e[_0x1c3d1d(0x3bd)]()+_0x1c3d1d(0x295),_0x21df97=_0xe53850[_0x1c3d1d(0x1b3)]((_0x33e70e,_0xe13bf7)=>{var _0x1317ed=_0x1c3d1d;const {unitID:_0x400922,objectID:_0x1e42ef,objectType:_0x29c4e6,actions:_0x1137b1}=_0xe13bf7;return _0x33e70e[_0x400922]||(_0x33e70e[_0x400922]={}),_0x33e70e[_0x400922][_0x1e42ef]||(_0x33e70e[_0x400922][_0x1e42ef]={'objectID':_0x1e42ef,'objectType':_0x29c4e6,'actions':[]}),_0x33e70e[_0x400922][_0x1e42ef][_0x1317ed(0x388)]['push'](..._0x1137b1),_0x33e70e;},{}),_0x4767e2=[];for(const _0x522b2a in _0x21df97)for(const _0x378390 in _0x21df97[_0x522b2a]){const {actions:_0x42d685,objectType:_0xb793c6}=_0x21df97[_0x522b2a][_0x378390],_0x31cfa6=[...new Set(_0x42d685)];_0x4767e2[_0x1c3d1d(0x2ee)]({'unitID':_0x522b2a,'objectID':_0x378390,'objectType':_0xb793c6,'actions':_0x31cfa6});}return new _0x3c6190(_0x1c3d1d(0x370),_0x25f0a5,{'headers':_0x20cdb4[_0x1c3d1d(0x2f7)],'withCredentials':_0x20cdb4['withCredentials'],'responseType':_0x20cdb4[_0x1c3d1d(0x372)],'body':{'requests':_0x4767e2}});}},{'distributeResult'(_0x18b67e,_0x5b8945){var _0x24c6eb=_0x56bf90;const {objectActions:_0x26b9bb}=_0x18b67e;return _0x5b8945[_0x24c6eb(0x264)](_0x92939c=>{var _0x250c1e=_0x24c6eb;const {unitID:_0x571815,objectID:_0x1f08e1,actions:_0x424513}=_0x92939c,_0x7d8e86=_0x26b9bb[_0x250c1e(0x222)](_0x16fa45=>_0x16fa45[_0x250c1e(0x328)]===_0x571815&&_0x16fa45[_0x250c1e(0x399)]===_0x1f08e1),_0x564086=_0x424513[_0x250c1e(0x264)](_0x398e49=>_0x7d8e86==null?void 0x0:_0x7d8e86[_0x250c1e(0x388)][_0x250c1e(0x222)](_0x5a4f72=>_0x5a4f72[_0x250c1e(0x213)]===_0x398e49))[_0x250c1e(0x35f)](_0xc7710f=>!!_0xc7710f);return{'config':_0x92939c,'result':{'actions':_0x564086,'error':_0x18b67e[_0x250c1e(0x36c)]}};});}})}));}[_0x1d7936(0x3bd)](){var _0xf8a86d=_0x1d7936,_0x4f3449,_0x1e44a1;const _0x38ebcf=this[_0xf8a86d(0x254)][_0xf8a86d(0x29e)](wi),_0x5abe73=this[_0xf8a86d(0x254)][_0xf8a86d(0x29e)](Y);return(_0x1e44a1=(_0x4f3449=_0x5abe73==null?void 0x0:_0x5abe73[_0xf8a86d(0x46d)])!=null?_0x4f3449:_0x38ebcf)!=null?_0x1e44a1:Ms;}async[_0x1d7936(0x49e)](_0x5a6356){var _0x388bfc=_0x1d7936;const _0x5491e5=this[_0x388bfc(0x3bd)]()+'/'+_0x5a6356['objectType']+_0x388bfc(0x3e8);return(await this[_0x388bfc(0x485)][_0x388bfc(0x373)](_0x5491e5,{'body':_0x5a6356}))[_0x388bfc(0x407)][_0x388bfc(0x399)]||'';}async['list'](_0xf23df1){var _0x3a0296=_0x1d7936;const _0x29c645=this[_0x3a0296(0x3bd)]()+'/-/object/list';return(await this[_0x3a0296(0x485)][_0x3a0296(0x373)](_0x29c645,{'body':_0xf23df1}))[_0x3a0296(0x407)][_0x3a0296(0x454)];}async[_0x1d7936(0x2d4)](_0x29aabf){var _0x2fd83b=_0x1d7936;const _0x186e9b=this[_0x2fd83b(0x3bd)]()+'/'+_0x29aabf[_0x2fd83b(0x37d)]+_0x2fd83b(0x428)+_0x29aabf[_0x2fd83b(0x399)];await this[_0x2fd83b(0x485)][_0x2fd83b(0x38e)](_0x186e9b,{'body':_0x29aabf});}async[_0x1d7936(0x3c1)](_0x361dd8){var _0x521d27=_0x1d7936;const _0x293a0a=this['_getAPIPrefixPath']()+'/'+_0x361dd8[_0x521d27(0x37d)]+_0x521d27(0x428)+_0x361dd8[_0x521d27(0x399)]+_0x521d27(0x3d4);return(await this[_0x521d27(0x485)][_0x521d27(0x373)](_0x293a0a,{'body':_0x361dd8}))[_0x521d27(0x407)][_0x521d27(0x388)];}async['batchAllowed'](_0x5ed788){var _0x3a5169=_0x1d7936;const _0x4d59b4=this[_0x3a5169(0x3bd)]()+_0x3a5169(0x295);return(await this[_0x3a5169(0x485)][_0x3a5169(0x373)](_0x4d59b4,{'body':{'requests':_0x5ed788}}))[_0x3a5169(0x407)][_0x3a5169(0x35e)];}async[_0x1d7936(0x413)](_0x73f0f6){var _0x1cabf9=_0x1d7936;const _0x1bb988=this[_0x1cabf9(0x3bd)]()+'/'+_0x73f0f6[_0x1cabf9(0x37d)]+_0x1cabf9(0x459),_0x182868=await this[_0x1cabf9(0x485)][_0x1cabf9(0x373)](_0x1bb988,{'body':_0x73f0f6});return{'roles':_0x182868[_0x1cabf9(0x407)][_0x1cabf9(0x2de)],'actions':_0x182868[_0x1cabf9(0x407)]['actions']};}async[_0x1d7936(0x1b5)](_0x5091b4){var _0x41d5cc=_0x1d7936;const _0x4451a0=this[_0x41d5cc(0x3bd)]()+_0x41d5cc(0x3a8);await this[_0x41d5cc(0x485)][_0x41d5cc(0x354)](_0x4451a0,{'params':{'collaboratorID':_0x5091b4[_0x41d5cc(0x2cb)],'objectID':_0x5091b4[_0x41d5cc(0x399)],'unitID':_0x5091b4[_0x41d5cc(0x328)]}});}async[_0x1d7936(0x346)](_0x1d2bcb){var _0x16e4c2=_0x1d7936;const _0x1918ec=this['_getAPIPrefixPath']()+_0x16e4c2(0x3a8);await this[_0x16e4c2(0x485)][_0x16e4c2(0x3a6)](_0x1918ec,{'body':_0x1d2bcb});}async[_0x1d7936(0x32d)](_0x3aa563){var _0x56cba4=_0x1d7936;const _0x3ae990=this[_0x56cba4(0x3bd)]()+'/collaborator';await this['_HTTPService'][_0x56cba4(0x373)](_0x3ae990,{'body':_0x3aa563});}async[_0x1d7936(0x3cd)](_0x34a12d){var _0x27b85c=_0x1d7936;const _0x56bb85=this['_getAPIPrefixPath']()+_0x27b85c(0x3a8);return(await this['_HTTPService'][_0x27b85c(0x1bf)](_0x56bb85,{'params':{'objectID':_0x34a12d[_0x27b85c(0x399)],'unitID':_0x34a12d[_0x27b85c(0x328)]}}))[_0x27b85c(0x407)][_0x27b85c(0x21b)];}async[_0x1d7936(0x33d)](_0x5b191c){var _0x3e2156=_0x1d7936;const _0x4f99bc=this[_0x3e2156(0x3bd)]()+_0x3e2156(0x3a8);await this[_0x3e2156(0x485)][_0x3e2156(0x38e)](_0x4f99bc,{'body':_0x5b191c});}};Rt=Ls([Zt(0x0,_0x3b3175(_0x3062fa)),Zt(0x1,_0x3b3175(_0x109050))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x47d182){var _0x58d82f=_0x1d7936;return _0x47d182&&_0x47d182[_0x58d82f(0x272)]&&Object[_0x58d82f(0x369)][_0x58d82f(0x1ba)][_0x58d82f(0x1fe)](_0x47d182,_0x58d82f(0x3ee))?_0x47d182[_0x58d82f(0x3ee)]:_0x47d182;}var We={'exports':{}};function $s(_0x166710){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x166710+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Hs=Ge[_0x1d7936(0x48a)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x559631,_0x4cc7dc){(function(_0x169ee8,_0x4883){_0x559631['exports']=_0x4883();}(Hs,function(){var _0x430876=_0x430876||function(_0x7873a4,_0x594136){var _0x387d61=_0x4a6f,_0x1e50d5;if(typeof window<'u'&&window['crypto']&&(_0x1e50d5=window[_0x387d61(0x22d)]),typeof self<'u'&&self['crypto']&&(_0x1e50d5=self[_0x387d61(0x22d)]),typeof globalThis<'u'&&globalThis[_0x387d61(0x22d)]&&(_0x1e50d5=globalThis[_0x387d61(0x22d)]),!_0x1e50d5&&typeof window<'u'&&window[_0x387d61(0x348)]&&(_0x1e50d5=window[_0x387d61(0x348)]),!_0x1e50d5&&typeof pt<'u'&&pt[_0x387d61(0x22d)]&&(_0x1e50d5=pt[_0x387d61(0x22d)]),!_0x1e50d5&&typeof $s==_0x387d61(0x2ea))try{_0x1e50d5=require(_0x387d61(0x22d));}catch{}var _0x437ef4=function(){var _0x8393d5=_0x387d61;if(_0x1e50d5){if(typeof _0x1e50d5[_0x8393d5(0x1d2)]==_0x8393d5(0x2ea))try{return _0x1e50d5[_0x8393d5(0x1d2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1e50d5[_0x8393d5(0x1ee)]=='function')try{return _0x1e50d5[_0x8393d5(0x1ee)](0x4)[_0x8393d5(0x39c)]();}catch{}}throw new Error(_0x8393d5(0x1e9));},_0x2026a1=Object[_0x387d61(0x49e)]||(function(){function _0x592d00(){}return function(_0xfdedaa){var _0x2116a7=_0x4a6f,_0x133ea2;return _0x592d00[_0x2116a7(0x369)]=_0xfdedaa,_0x133ea2=new _0x592d00(),_0x592d00[_0x2116a7(0x369)]=null,_0x133ea2;};}()),_0x1c8b74={},_0x5b06b8=_0x1c8b74[_0x387d61(0x278)]={},_0x5113fa=_0x5b06b8[_0x387d61(0x242)]=(function(){return{'extend':function(_0x2026b6){var _0x24d799=_0x4a6f,_0x59ae3f=_0x2026a1(this);return _0x2026b6&&_0x59ae3f[_0x24d799(0x318)](_0x2026b6),(!_0x59ae3f[_0x24d799(0x1ba)]('init')||this[_0x24d799(0x35c)]===_0x59ae3f['init'])&&(_0x59ae3f[_0x24d799(0x35c)]=function(){var _0x836c22=_0x24d799;_0x59ae3f[_0x836c22(0x2d1)][_0x836c22(0x35c)]['apply'](this,arguments);}),_0x59ae3f['init']['prototype']=_0x59ae3f,_0x59ae3f[_0x24d799(0x2d1)]=this,_0x59ae3f;},'create':function(){var _0x46f24f=_0x4a6f,_0x42984e=this['extend']();return _0x42984e[_0x46f24f(0x35c)][_0x46f24f(0x23f)](_0x42984e,arguments),_0x42984e;},'init':function(){},'mixIn':function(_0x51d75a){var _0x32d5b4=_0x4a6f;for(var _0x51a117 in _0x51d75a)_0x51d75a[_0x32d5b4(0x1ba)](_0x51a117)&&(this[_0x51a117]=_0x51d75a[_0x51a117]);_0x51d75a['hasOwnProperty'](_0x32d5b4(0x3ea))&&(this['toString']=_0x51d75a[_0x32d5b4(0x3ea)]);},'clone':function(){var _0x5c5e16=_0x4a6f;return this[_0x5c5e16(0x35c)][_0x5c5e16(0x369)][_0x5c5e16(0x47f)](this);}};}()),_0x5d1628=_0x5b06b8['WordArray']=_0x5113fa[_0x387d61(0x47f)]({'init':function(_0x55f588,_0x11c418){var _0x1b6392=_0x387d61;_0x55f588=this[_0x1b6392(0x1c5)]=_0x55f588||[],_0x11c418!=_0x594136?this[_0x1b6392(0x1fa)]=_0x11c418:this['sigBytes']=_0x55f588[_0x1b6392(0x1f1)]*0x4;},'toString':function(_0x1d71dd){var _0x5502f5=_0x387d61;return(_0x1d71dd||_0x3396cf)[_0x5502f5(0x311)](this);},'concat':function(_0x5755c7){var _0x2af668=_0x387d61,_0x38560b=this['words'],_0x4c2df7=_0x5755c7['words'],_0x505472=this[_0x2af668(0x1fa)],_0x2b7691=_0x5755c7[_0x2af668(0x1fa)];if(this[_0x2af668(0x458)](),_0x505472%0x4)for(var _0x47befa=0x0;_0x47befa<_0x2b7691;_0x47befa++){var _0x100cc9=_0x4c2df7[_0x47befa>>>0x2]>>>0x18-_0x47befa%0x4*0x8&0xff;_0x38560b[_0x505472+_0x47befa>>>0x2]|=_0x100cc9<<0x18-(_0x505472+_0x47befa)%0x4*0x8;}else{for(var _0x3fcfb7=0x0;_0x3fcfb7<_0x2b7691;_0x3fcfb7+=0x4)_0x38560b[_0x505472+_0x3fcfb7>>>0x2]=_0x4c2df7[_0x3fcfb7>>>0x2];}return this[_0x2af668(0x1fa)]+=_0x2b7691,this;},'clamp':function(){var _0x2c6764=_0x387d61,_0x5e0067=this[_0x2c6764(0x1c5)],_0x3c4716=this[_0x2c6764(0x1fa)];_0x5e0067[_0x3c4716>>>0x2]&=0xffffffff<<0x20-_0x3c4716%0x4*0x8,_0x5e0067[_0x2c6764(0x1f1)]=_0x7873a4[_0x2c6764(0x4b1)](_0x3c4716/0x4);},'clone':function(){var _0x2a6583=_0x387d61,_0x1340bf=_0x5113fa['clone'][_0x2a6583(0x1fe)](this);return _0x1340bf[_0x2a6583(0x1c5)]=this[_0x2a6583(0x1c5)][_0x2a6583(0x327)](0x0),_0x1340bf;},'random':function(_0x5baca8){var _0x56cac6=_0x387d61;for(var _0x594688=[],_0x4b17a6=0x0;_0x4b17a6<_0x5baca8;_0x4b17a6+=0x4)_0x594688[_0x56cac6(0x2ee)](_0x437ef4());return new _0x5d1628['init'](_0x594688,_0x5baca8);}}),_0x9a6dfa=_0x1c8b74['enc']={},_0x3396cf=_0x9a6dfa[_0x387d61(0x247)]={'stringify':function(_0x3398eb){var _0x174415=_0x387d61;for(var _0x1cada7=_0x3398eb[_0x174415(0x1c5)],_0x3d30af=_0x3398eb[_0x174415(0x1fa)],_0x3de682=[],_0x3e0ad0=0x0;_0x3e0ad0<_0x3d30af;_0x3e0ad0++){var _0x581742=_0x1cada7[_0x3e0ad0>>>0x2]>>>0x18-_0x3e0ad0%0x4*0x8&0xff;_0x3de682[_0x174415(0x2ee)]((_0x581742>>>0x4)['toString'](0x10)),_0x3de682[_0x174415(0x2ee)]((_0x581742&0xf)[_0x174415(0x3ea)](0x10));}return _0x3de682[_0x174415(0x3d5)]('');},'parse':function(_0x53c909){var _0x37587e=_0x387d61;for(var _0x142549=_0x53c909['length'],_0x418022=[],_0x15f77a=0x0;_0x15f77a<_0x142549;_0x15f77a+=0x2)_0x418022[_0x15f77a>>>0x3]|=parseInt(_0x53c909[_0x37587e(0x432)](_0x15f77a,0x2),0x10)<<0x18-_0x15f77a%0x8*0x4;return new _0x5d1628['init'](_0x418022,_0x142549/0x2);}},_0x1ca99a=_0x9a6dfa['Latin1']={'stringify':function(_0xe86d6c){var _0x3f21d3=_0x387d61;for(var _0x294e87=_0xe86d6c[_0x3f21d3(0x1c5)],_0x31b596=_0xe86d6c[_0x3f21d3(0x1fa)],_0x5d6b75=[],_0x2a3415=0x0;_0x2a3415<_0x31b596;_0x2a3415++){var _0x48a1a2=_0x294e87[_0x2a3415>>>0x2]>>>0x18-_0x2a3415%0x4*0x8&0xff;_0x5d6b75[_0x3f21d3(0x2ee)](String[_0x3f21d3(0x283)](_0x48a1a2));}return _0x5d6b75[_0x3f21d3(0x3d5)]('');},'parse':function(_0x2072b9){var _0x38a9a1=_0x387d61;for(var _0x2f7bfb=_0x2072b9[_0x38a9a1(0x1f1)],_0x3fbb42=[],_0x4c061f=0x0;_0x4c061f<_0x2f7bfb;_0x4c061f++)_0x3fbb42[_0x4c061f>>>0x2]|=(_0x2072b9['charCodeAt'](_0x4c061f)&0xff)<<0x18-_0x4c061f%0x4*0x8;return new _0x5d1628[(_0x38a9a1(0x35c))](_0x3fbb42,_0x2f7bfb);}},_0x21b35b=_0x9a6dfa[_0x387d61(0x3d8)]={'stringify':function(_0x2570e5){var _0x573c05=_0x387d61;try{return decodeURIComponent(escape(_0x1ca99a[_0x573c05(0x311)](_0x2570e5)));}catch{throw new Error(_0x573c05(0x3b8));}},'parse':function(_0x222cc0){var _0x830e7=_0x387d61;return _0x1ca99a[_0x830e7(0x31f)](unescape(encodeURIComponent(_0x222cc0)));}},_0x5ec7f6=_0x5b06b8[_0x387d61(0x4ae)]=_0x5113fa[_0x387d61(0x47f)]({'reset':function(){var _0x16a574=_0x387d61;this['_data']=new _0x5d1628['init'](),this[_0x16a574(0x41f)]=0x0;},'_append':function(_0x2f0ecd){var _0x7d62d9=_0x387d61;typeof _0x2f0ecd==_0x7d62d9(0x442)&&(_0x2f0ecd=_0x21b35b[_0x7d62d9(0x31f)](_0x2f0ecd)),this['_data'][_0x7d62d9(0x44b)](_0x2f0ecd),this[_0x7d62d9(0x41f)]+=_0x2f0ecd[_0x7d62d9(0x1fa)];},'_process':function(_0x3e2c34){var _0x125cd3=_0x387d61,_0x126b43,_0x4a7df6=this['_data'],_0x42f333=_0x4a7df6[_0x125cd3(0x1c5)],_0x34c89d=_0x4a7df6['sigBytes'],_0x4f0fba=this[_0x125cd3(0x401)],_0x3b438e=_0x4f0fba*0x4,_0x15e19e=_0x34c89d/_0x3b438e;_0x3e2c34?_0x15e19e=_0x7873a4['ceil'](_0x15e19e):_0x15e19e=_0x7873a4[_0x125cd3(0x27e)]((_0x15e19e|0x0)-this['_minBufferSize'],0x0);var _0x45f681=_0x15e19e*_0x4f0fba,_0xf88022=_0x7873a4[_0x125cd3(0x288)](_0x45f681*0x4,_0x34c89d);if(_0x45f681){for(var _0x4932a9=0x0;_0x4932a9<_0x45f681;_0x4932a9+=_0x4f0fba)this[_0x125cd3(0x26f)](_0x42f333,_0x4932a9);_0x126b43=_0x42f333[_0x125cd3(0x366)](0x0,_0x45f681),_0x4a7df6[_0x125cd3(0x1fa)]-=_0xf88022;}return new _0x5d1628['init'](_0x126b43,_0xf88022);},'clone':function(){var _0x50a9f0=_0x387d61,_0x47916a=_0x5113fa['clone']['call'](this);return _0x47916a[_0x50a9f0(0x3f6)]=this[_0x50a9f0(0x3f6)][_0x50a9f0(0x344)](),_0x47916a;},'_minBufferSize':0x0});_0x5b06b8[_0x387d61(0x212)]=_0x5ec7f6[_0x387d61(0x47f)]({'cfg':_0x5113fa[_0x387d61(0x47f)](),'init':function(_0x17d914){var _0x2457ab=_0x387d61;this['cfg']=this[_0x2457ab(0x23e)][_0x2457ab(0x47f)](_0x17d914),this['reset']();},'reset':function(){var _0x5299fa=_0x387d61;_0x5ec7f6[_0x5299fa(0x1e8)][_0x5299fa(0x1fe)](this),this[_0x5299fa(0x4a4)]();},'update':function(_0x534128){var _0x9ea0aa=_0x387d61;return this['_append'](_0x534128),this[_0x9ea0aa(0x2f2)](),this;},'finalize':function(_0x29ce29){var _0x40ea5a=_0x387d61;_0x29ce29&&this[_0x40ea5a(0x223)](_0x29ce29);var _0x31c8a1=this[_0x40ea5a(0x1de)]();return _0x31c8a1;},'blockSize':0x10,'_createHelper':function(_0x45b0f4){return function(_0x24b1de,_0x5ebb0c){var _0x12b8a5=_0x4a6f;return new _0x45b0f4[(_0x12b8a5(0x35c))](_0x5ebb0c)['finalize'](_0x24b1de);};},'_createHmacHelper':function(_0xe237de){return function(_0x303aaf,_0x31e019){var _0xdb8db=_0x4a6f;return new _0x5c1fe9[(_0xdb8db(0x423))]['init'](_0xe237de,_0x31e019)[_0xdb8db(0x285)](_0x303aaf);};}});var _0x5c1fe9=_0x1c8b74[_0x387d61(0x21f)]={};return _0x1c8b74;}(Math);return _0x430876;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},ks=Ke['exports'],ei;function Ui(){var _0x1c60ed=_0x1d7936;return ei||(ei=0x1,function(_0xece6d7,_0x40673f){(function(_0x34b506,_0x57a3b9){var _0x5ce4b3=_0x4a6f;_0xece6d7[_0x5ce4b3(0x48a)]=_0x57a3b9(ne());}(ks,function(_0x2f5e6c){var _0x322e7f=_0x4a6f;return(function(){var _0x37adbf=_0x4a6f,_0x41447b=_0x2f5e6c,_0x995742=_0x41447b[_0x37adbf(0x278)],_0x47ec96=_0x995742[_0x37adbf(0x2fc)],_0x5eeb12=_0x41447b['enc'];_0x5eeb12[_0x37adbf(0x3e4)]={'stringify':function(_0x5c1cbe){var _0x1933eb=_0x37adbf,_0x1378fa=_0x5c1cbe[_0x1933eb(0x1c5)],_0x30cd74=_0x5c1cbe[_0x1933eb(0x1fa)],_0x2cca11=this['_map'];_0x5c1cbe[_0x1933eb(0x458)]();for(var _0xbf313a=[],_0x431235=0x0;_0x431235<_0x30cd74;_0x431235+=0x3)for(var _0xbb5d51=_0x1378fa[_0x431235>>>0x2]>>>0x18-_0x431235%0x4*0x8&0xff,_0x3d7d24=_0x1378fa[_0x431235+0x1>>>0x2]>>>0x18-(_0x431235+0x1)%0x4*0x8&0xff,_0x435d44=_0x1378fa[_0x431235+0x2>>>0x2]>>>0x18-(_0x431235+0x2)%0x4*0x8&0xff,_0x8a44df=_0xbb5d51<<0x10|_0x3d7d24<<0x8|_0x435d44,_0x227327=0x0;_0x227327<0x4&&_0x431235+_0x227327*0.75<_0x30cd74;_0x227327++)_0xbf313a[_0x1933eb(0x2ee)](_0x2cca11[_0x1933eb(0x350)](_0x8a44df>>>0x6*(0x3-_0x227327)&0x3f));var _0x3ca475=_0x2cca11[_0x1933eb(0x350)](0x40);if(_0x3ca475){for(;_0xbf313a[_0x1933eb(0x1f1)]%0x4;)_0xbf313a[_0x1933eb(0x2ee)](_0x3ca475);}return _0xbf313a['join']('');},'parse':function(_0x38aebc){var _0x448c55=_0x37adbf,_0x18c8e8=_0x38aebc[_0x448c55(0x1f1)],_0xf50ed2=this[_0x448c55(0x2a9)],_0x5a3452=this['_reverseMap'];if(!_0x5a3452){_0x5a3452=this['_reverseMap']=[];for(var _0x477a7a=0x0;_0x477a7a<_0xf50ed2[_0x448c55(0x1f1)];_0x477a7a++)_0x5a3452[_0xf50ed2[_0x448c55(0x24f)](_0x477a7a)]=_0x477a7a;}var _0x3ad4dd=_0xf50ed2[_0x448c55(0x350)](0x40);if(_0x3ad4dd){var _0x3f6cfc=_0x38aebc[_0x448c55(0x45e)](_0x3ad4dd);_0x3f6cfc!==-0x1&&(_0x18c8e8=_0x3f6cfc);}return _0x5953e8(_0x38aebc,_0x18c8e8,_0x5a3452);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5953e8(_0xc77143,_0x5a5780,_0x297a38){var _0x207b69=_0x37adbf;for(var _0x40a844=[],_0x5c2dc3=0x0,_0x410327=0x0;_0x410327<_0x5a5780;_0x410327++)if(_0x410327%0x4){var _0x1a1167=_0x297a38[_0xc77143['charCodeAt'](_0x410327-0x1)]<<_0x410327%0x4*0x2,_0x26cdfd=_0x297a38[_0xc77143[_0x207b69(0x24f)](_0x410327)]>>>0x6-_0x410327%0x4*0x2,_0x335170=_0x1a1167|_0x26cdfd;_0x40a844[_0x5c2dc3>>>0x2]|=_0x335170<<0x18-_0x5c2dc3%0x4*0x8,_0x5c2dc3++;}return _0x47ec96[_0x207b69(0x49e)](_0x40a844,_0x5c2dc3);}}()),_0x2f5e6c[_0x322e7f(0x3f1)][_0x322e7f(0x3e4)];}));}(Ke)),Ke[_0x1c60ed(0x48a)];}var ze={'exports':{}},js=ze['exports'],ti;function Bs(){var _0x264249=_0x1d7936;return ti||(ti=0x1,function(_0x28d9bc,_0x1f5229){(function(_0x1df0e2,_0x540f01){_0x28d9bc['exports']=_0x540f01(ne());}(js,function(_0x2ef8df){var _0x21390b=_0x4a6f;return function(_0x26f615){var _0x2a4e50=_0x4a6f,_0x293d8e=_0x2ef8df,_0x586d64=_0x293d8e[_0x2a4e50(0x278)],_0x5aa9c7=_0x586d64[_0x2a4e50(0x2fc)],_0x55ea71=_0x586d64[_0x2a4e50(0x212)],_0x9639ad=_0x293d8e[_0x2a4e50(0x21f)],_0x126494=[];(function(){var _0x3713fa=_0x2a4e50;for(var _0x45d999=0x0;_0x45d999<0x40;_0x45d999++)_0x126494[_0x45d999]=_0x26f615[_0x3713fa(0x1da)](_0x26f615[_0x3713fa(0x273)](_0x45d999+0x1))*0x100000000|0x0;}());var _0x1d8057=_0x9639ad[_0x2a4e50(0x2a4)]=_0x55ea71['extend']({'_doReset':function(){var _0x115fd5=_0x2a4e50;this[_0x115fd5(0x36d)]=new _0x5aa9c7[(_0x115fd5(0x35c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a7a01,_0x4ff4d6){var _0x55556f=_0x2a4e50;for(var _0x1f4dd=0x0;_0x1f4dd<0x10;_0x1f4dd++){var _0x20f418=_0x4ff4d6+_0x1f4dd,_0x304056=_0x5a7a01[_0x20f418];_0x5a7a01[_0x20f418]=(_0x304056<<0x8|_0x304056>>>0x18)&0xff00ff|(_0x304056<<0x18|_0x304056>>>0x8)&0xff00ff00;}var _0x1e2329=this[_0x55556f(0x36d)][_0x55556f(0x1c5)],_0xe4b581=_0x5a7a01[_0x4ff4d6+0x0],_0x594b61=_0x5a7a01[_0x4ff4d6+0x1],_0x397ce2=_0x5a7a01[_0x4ff4d6+0x2],_0x424373=_0x5a7a01[_0x4ff4d6+0x3],_0x18a9ea=_0x5a7a01[_0x4ff4d6+0x4],_0x3b9379=_0x5a7a01[_0x4ff4d6+0x5],_0x2bebb8=_0x5a7a01[_0x4ff4d6+0x6],_0x1c2568=_0x5a7a01[_0x4ff4d6+0x7],_0x8ed25b=_0x5a7a01[_0x4ff4d6+0x8],_0x188c19=_0x5a7a01[_0x4ff4d6+0x9],_0x2778be=_0x5a7a01[_0x4ff4d6+0xa],_0x130eb2=_0x5a7a01[_0x4ff4d6+0xb],_0x3c7bb6=_0x5a7a01[_0x4ff4d6+0xc],_0xdf0bf9=_0x5a7a01[_0x4ff4d6+0xd],_0x45f748=_0x5a7a01[_0x4ff4d6+0xe],_0x2fa004=_0x5a7a01[_0x4ff4d6+0xf],_0x77d129=_0x1e2329[0x0],_0x2791f9=_0x1e2329[0x1],_0x3eb1fe=_0x1e2329[0x2],_0xb453ed=_0x1e2329[0x3];_0x77d129=_0x27e40c(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0xe4b581,0x7,_0x126494[0x0]),_0xb453ed=_0x27e40c(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x594b61,0xc,_0x126494[0x1]),_0x3eb1fe=_0x27e40c(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x397ce2,0x11,_0x126494[0x2]),_0x2791f9=_0x27e40c(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x424373,0x16,_0x126494[0x3]),_0x77d129=_0x27e40c(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x18a9ea,0x7,_0x126494[0x4]),_0xb453ed=_0x27e40c(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x3b9379,0xc,_0x126494[0x5]),_0x3eb1fe=_0x27e40c(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2bebb8,0x11,_0x126494[0x6]),_0x2791f9=_0x27e40c(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x1c2568,0x16,_0x126494[0x7]),_0x77d129=_0x27e40c(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x8ed25b,0x7,_0x126494[0x8]),_0xb453ed=_0x27e40c(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x188c19,0xc,_0x126494[0x9]),_0x3eb1fe=_0x27e40c(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2778be,0x11,_0x126494[0xa]),_0x2791f9=_0x27e40c(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x130eb2,0x16,_0x126494[0xb]),_0x77d129=_0x27e40c(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x3c7bb6,0x7,_0x126494[0xc]),_0xb453ed=_0x27e40c(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0xdf0bf9,0xc,_0x126494[0xd]),_0x3eb1fe=_0x27e40c(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x45f748,0x11,_0x126494[0xe]),_0x2791f9=_0x27e40c(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x2fa004,0x16,_0x126494[0xf]),_0x77d129=_0x1183c7(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x594b61,0x5,_0x126494[0x10]),_0xb453ed=_0x1183c7(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x2bebb8,0x9,_0x126494[0x11]),_0x3eb1fe=_0x1183c7(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x130eb2,0xe,_0x126494[0x12]),_0x2791f9=_0x1183c7(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0xe4b581,0x14,_0x126494[0x13]),_0x77d129=_0x1183c7(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x3b9379,0x5,_0x126494[0x14]),_0xb453ed=_0x1183c7(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x2778be,0x9,_0x126494[0x15]),_0x3eb1fe=_0x1183c7(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2fa004,0xe,_0x126494[0x16]),_0x2791f9=_0x1183c7(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x18a9ea,0x14,_0x126494[0x17]),_0x77d129=_0x1183c7(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x188c19,0x5,_0x126494[0x18]),_0xb453ed=_0x1183c7(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x45f748,0x9,_0x126494[0x19]),_0x3eb1fe=_0x1183c7(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x424373,0xe,_0x126494[0x1a]),_0x2791f9=_0x1183c7(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x8ed25b,0x14,_0x126494[0x1b]),_0x77d129=_0x1183c7(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0xdf0bf9,0x5,_0x126494[0x1c]),_0xb453ed=_0x1183c7(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x397ce2,0x9,_0x126494[0x1d]),_0x3eb1fe=_0x1183c7(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x1c2568,0xe,_0x126494[0x1e]),_0x2791f9=_0x1183c7(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x3c7bb6,0x14,_0x126494[0x1f]),_0x77d129=_0x228f93(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x3b9379,0x4,_0x126494[0x20]),_0xb453ed=_0x228f93(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x8ed25b,0xb,_0x126494[0x21]),_0x3eb1fe=_0x228f93(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x130eb2,0x10,_0x126494[0x22]),_0x2791f9=_0x228f93(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x45f748,0x17,_0x126494[0x23]),_0x77d129=_0x228f93(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x594b61,0x4,_0x126494[0x24]),_0xb453ed=_0x228f93(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x18a9ea,0xb,_0x126494[0x25]),_0x3eb1fe=_0x228f93(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x1c2568,0x10,_0x126494[0x26]),_0x2791f9=_0x228f93(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x2778be,0x17,_0x126494[0x27]),_0x77d129=_0x228f93(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0xdf0bf9,0x4,_0x126494[0x28]),_0xb453ed=_0x228f93(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0xe4b581,0xb,_0x126494[0x29]),_0x3eb1fe=_0x228f93(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x424373,0x10,_0x126494[0x2a]),_0x2791f9=_0x228f93(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x2bebb8,0x17,_0x126494[0x2b]),_0x77d129=_0x228f93(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x188c19,0x4,_0x126494[0x2c]),_0xb453ed=_0x228f93(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x3c7bb6,0xb,_0x126494[0x2d]),_0x3eb1fe=_0x228f93(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2fa004,0x10,_0x126494[0x2e]),_0x2791f9=_0x228f93(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x397ce2,0x17,_0x126494[0x2f]),_0x77d129=_0x11bea9(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0xe4b581,0x6,_0x126494[0x30]),_0xb453ed=_0x11bea9(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x1c2568,0xa,_0x126494[0x31]),_0x3eb1fe=_0x11bea9(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x45f748,0xf,_0x126494[0x32]),_0x2791f9=_0x11bea9(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x3b9379,0x15,_0x126494[0x33]),_0x77d129=_0x11bea9(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x3c7bb6,0x6,_0x126494[0x34]),_0xb453ed=_0x11bea9(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x424373,0xa,_0x126494[0x35]),_0x3eb1fe=_0x11bea9(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2778be,0xf,_0x126494[0x36]),_0x2791f9=_0x11bea9(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x594b61,0x15,_0x126494[0x37]),_0x77d129=_0x11bea9(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x8ed25b,0x6,_0x126494[0x38]),_0xb453ed=_0x11bea9(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x2fa004,0xa,_0x126494[0x39]),_0x3eb1fe=_0x11bea9(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x2bebb8,0xf,_0x126494[0x3a]),_0x2791f9=_0x11bea9(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0xdf0bf9,0x15,_0x126494[0x3b]),_0x77d129=_0x11bea9(_0x77d129,_0x2791f9,_0x3eb1fe,_0xb453ed,_0x18a9ea,0x6,_0x126494[0x3c]),_0xb453ed=_0x11bea9(_0xb453ed,_0x77d129,_0x2791f9,_0x3eb1fe,_0x130eb2,0xa,_0x126494[0x3d]),_0x3eb1fe=_0x11bea9(_0x3eb1fe,_0xb453ed,_0x77d129,_0x2791f9,_0x397ce2,0xf,_0x126494[0x3e]),_0x2791f9=_0x11bea9(_0x2791f9,_0x3eb1fe,_0xb453ed,_0x77d129,_0x188c19,0x15,_0x126494[0x3f]),_0x1e2329[0x0]=_0x1e2329[0x0]+_0x77d129|0x0,_0x1e2329[0x1]=_0x1e2329[0x1]+_0x2791f9|0x0,_0x1e2329[0x2]=_0x1e2329[0x2]+_0x3eb1fe|0x0,_0x1e2329[0x3]=_0x1e2329[0x3]+_0xb453ed|0x0;},'_doFinalize':function(){var _0x4b05ed=_0x2a4e50,_0x56c016=this['_data'],_0xe8c42a=_0x56c016[_0x4b05ed(0x1c5)],_0xfea75e=this[_0x4b05ed(0x41f)]*0x8,_0x35cd96=_0x56c016['sigBytes']*0x8;_0xe8c42a[_0x35cd96>>>0x5]|=0x80<<0x18-_0x35cd96%0x20;var _0x2985c8=_0x26f615[_0x4b05ed(0x49f)](_0xfea75e/0x100000000),_0x56ed97=_0xfea75e;_0xe8c42a[(_0x35cd96+0x40>>>0x9<<0x4)+0xf]=(_0x2985c8<<0x8|_0x2985c8>>>0x18)&0xff00ff|(_0x2985c8<<0x18|_0x2985c8>>>0x8)&0xff00ff00,_0xe8c42a[(_0x35cd96+0x40>>>0x9<<0x4)+0xe]=(_0x56ed97<<0x8|_0x56ed97>>>0x18)&0xff00ff|(_0x56ed97<<0x18|_0x56ed97>>>0x8)&0xff00ff00,_0x56c016['sigBytes']=(_0xe8c42a['length']+0x1)*0x4,this[_0x4b05ed(0x2f2)]();for(var _0x429dd9=this[_0x4b05ed(0x36d)],_0x210e2e=_0x429dd9['words'],_0x37f81c=0x0;_0x37f81c<0x4;_0x37f81c++){var _0x3632fd=_0x210e2e[_0x37f81c];_0x210e2e[_0x37f81c]=(_0x3632fd<<0x8|_0x3632fd>>>0x18)&0xff00ff|(_0x3632fd<<0x18|_0x3632fd>>>0x8)&0xff00ff00;}return _0x429dd9;},'clone':function(){var _0x487fad=_0x2a4e50,_0x1c7ec4=_0x55ea71['clone'][_0x487fad(0x1fe)](this);return _0x1c7ec4[_0x487fad(0x36d)]=this[_0x487fad(0x36d)]['clone'](),_0x1c7ec4;}});function _0x27e40c(_0x3d8375,_0x32e529,_0x375cc6,_0x2a8571,_0x3f088e,_0x309d21,_0x1442a3){var _0x1f0a09=_0x3d8375+(_0x32e529&_0x375cc6|~_0x32e529&_0x2a8571)+_0x3f088e+_0x1442a3;return(_0x1f0a09<<_0x309d21|_0x1f0a09>>>0x20-_0x309d21)+_0x32e529;}function _0x1183c7(_0xfa1b2c,_0x151ade,_0x523fe1,_0x24270b,_0x5f4bf6,_0x1bb450,_0x520a15){var _0x4ea3c4=_0xfa1b2c+(_0x151ade&_0x24270b|_0x523fe1&~_0x24270b)+_0x5f4bf6+_0x520a15;return(_0x4ea3c4<<_0x1bb450|_0x4ea3c4>>>0x20-_0x1bb450)+_0x151ade;}function _0x228f93(_0x4b4631,_0x22f949,_0x512d73,_0x1c1833,_0x4946eb,_0x4f9c43,_0x1caa51){var _0x15236a=_0x4b4631+(_0x22f949^_0x512d73^_0x1c1833)+_0x4946eb+_0x1caa51;return(_0x15236a<<_0x4f9c43|_0x15236a>>>0x20-_0x4f9c43)+_0x22f949;}function _0x11bea9(_0x1b8fa9,_0x740c69,_0x5d7d64,_0x5acc75,_0x5e9cf7,_0x496819,_0x212230){var _0x511f59=_0x1b8fa9+(_0x5d7d64^(_0x740c69|~_0x5acc75))+_0x5e9cf7+_0x212230;return(_0x511f59<<_0x496819|_0x511f59>>>0x20-_0x496819)+_0x740c69;}_0x293d8e['MD5']=_0x55ea71[_0x2a4e50(0x1c6)](_0x1d8057),_0x293d8e[_0x2a4e50(0x455)]=_0x55ea71[_0x2a4e50(0x37c)](_0x1d8057);}(Math),_0x2ef8df[_0x21390b(0x2a4)];}));}(ze)),ze[_0x264249(0x48a)];}var Ye={'exports':{}},qe={'exports':{}},Fs=qe[_0x1d7936(0x48a)],ii;function Vs(){var _0x37ba0e=_0x1d7936;return ii||(ii=0x1,function(_0x1fb558,_0x1333b4){(function(_0x13fc90,_0x396311){var _0xa93d81=_0x4a6f;_0x1fb558[_0xa93d81(0x48a)]=_0x396311(ne());}(Fs,function(_0x2dde55){var _0x36aa2d=_0x4a6f;return(function(){var _0xe984d4=_0x4a6f,_0x58da05=_0x2dde55,_0x4df673=_0x58da05[_0xe984d4(0x278)],_0x224b7b=_0x4df673[_0xe984d4(0x2fc)],_0x2ab281=_0x4df673[_0xe984d4(0x212)],_0x5d54ab=_0x58da05[_0xe984d4(0x21f)],_0x2f3525=[],_0x573651=_0x5d54ab['SHA1']=_0x2ab281[_0xe984d4(0x47f)]({'_doReset':function(){var _0x391fc5=_0xe984d4;this[_0x391fc5(0x36d)]=new _0x224b7b[(_0x391fc5(0x35c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d9df0,_0x230d0a){var _0x16984a=_0xe984d4;for(var _0x3fcb2e=this[_0x16984a(0x36d)][_0x16984a(0x1c5)],_0x4ed600=_0x3fcb2e[0x0],_0x1ca029=_0x3fcb2e[0x1],_0x38c8bb=_0x3fcb2e[0x2],_0x575773=_0x3fcb2e[0x3],_0x534a01=_0x3fcb2e[0x4],_0x496e46=0x0;_0x496e46<0x50;_0x496e46++){if(_0x496e46<0x10)_0x2f3525[_0x496e46]=_0x1d9df0[_0x230d0a+_0x496e46]|0x0;else{var _0x54cd19=_0x2f3525[_0x496e46-0x3]^_0x2f3525[_0x496e46-0x8]^_0x2f3525[_0x496e46-0xe]^_0x2f3525[_0x496e46-0x10];_0x2f3525[_0x496e46]=_0x54cd19<<0x1|_0x54cd19>>>0x1f;}var _0x430a6b=(_0x4ed600<<0x5|_0x4ed600>>>0x1b)+_0x534a01+_0x2f3525[_0x496e46];_0x496e46<0x14?_0x430a6b+=(_0x1ca029&_0x38c8bb|~_0x1ca029&_0x575773)+0x5a827999:_0x496e46<0x28?_0x430a6b+=(_0x1ca029^_0x38c8bb^_0x575773)+0x6ed9eba1:_0x496e46<0x3c?_0x430a6b+=(_0x1ca029&_0x38c8bb|_0x1ca029&_0x575773|_0x38c8bb&_0x575773)-0x70e44324:_0x430a6b+=(_0x1ca029^_0x38c8bb^_0x575773)-0x359d3e2a,_0x534a01=_0x575773,_0x575773=_0x38c8bb,_0x38c8bb=_0x1ca029<<0x1e|_0x1ca029>>>0x2,_0x1ca029=_0x4ed600,_0x4ed600=_0x430a6b;}_0x3fcb2e[0x0]=_0x3fcb2e[0x0]+_0x4ed600|0x0,_0x3fcb2e[0x1]=_0x3fcb2e[0x1]+_0x1ca029|0x0,_0x3fcb2e[0x2]=_0x3fcb2e[0x2]+_0x38c8bb|0x0,_0x3fcb2e[0x3]=_0x3fcb2e[0x3]+_0x575773|0x0,_0x3fcb2e[0x4]=_0x3fcb2e[0x4]+_0x534a01|0x0;},'_doFinalize':function(){var _0x38c769=_0xe984d4,_0x57d11e=this[_0x38c769(0x3f6)],_0x2f87ca=_0x57d11e[_0x38c769(0x1c5)],_0x48f628=this['_nDataBytes']*0x8,_0x39bac8=_0x57d11e[_0x38c769(0x1fa)]*0x8;return _0x2f87ca[_0x39bac8>>>0x5]|=0x80<<0x18-_0x39bac8%0x20,_0x2f87ca[(_0x39bac8+0x40>>>0x9<<0x4)+0xe]=Math[_0x38c769(0x49f)](_0x48f628/0x100000000),_0x2f87ca[(_0x39bac8+0x40>>>0x9<<0x4)+0xf]=_0x48f628,_0x57d11e['sigBytes']=_0x2f87ca[_0x38c769(0x1f1)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x53d4b7=_0xe984d4,_0x95059c=_0x2ab281[_0x53d4b7(0x344)]['call'](this);return _0x95059c[_0x53d4b7(0x36d)]=this[_0x53d4b7(0x36d)][_0x53d4b7(0x344)](),_0x95059c;}});_0x58da05[_0xe984d4(0x446)]=_0x2ab281[_0xe984d4(0x1c6)](_0x573651),_0x58da05[_0xe984d4(0x29b)]=_0x2ab281[_0xe984d4(0x37c)](_0x573651);}()),_0x2dde55[_0x36aa2d(0x446)];}));}(qe)),qe[_0x37ba0e(0x48a)];}var Je={'exports':{}},Ws=Je[_0x1d7936(0x48a)],ni;function Gs(){return ni||(ni=0x1,function(_0x6f5b1d,_0x33182b){(function(_0x4beb0d,_0x4654ad){_0x6f5b1d['exports']=_0x4654ad(ne());}(Ws,function(_0x597deb){(function(){var _0x473c18=_0x4a6f,_0x91f602=_0x597deb,_0x390fc8=_0x91f602['lib'],_0x4e20e5=_0x390fc8[_0x473c18(0x242)],_0x5c5417=_0x91f602['enc'],_0x3bc221=_0x5c5417[_0x473c18(0x3d8)],_0x3ede8e=_0x91f602['algo'];_0x3ede8e[_0x473c18(0x423)]=_0x4e20e5[_0x473c18(0x47f)]({'init':function(_0x52b80d,_0x2ebb6b){var _0x3fc68d=_0x473c18;_0x52b80d=this[_0x3fc68d(0x489)]=new _0x52b80d[(_0x3fc68d(0x35c))](),typeof _0x2ebb6b==_0x3fc68d(0x442)&&(_0x2ebb6b=_0x3bc221[_0x3fc68d(0x31f)](_0x2ebb6b));var _0x20907b=_0x52b80d[_0x3fc68d(0x401)],_0x222d9e=_0x20907b*0x4;_0x2ebb6b[_0x3fc68d(0x1fa)]>_0x222d9e&&(_0x2ebb6b=_0x52b80d[_0x3fc68d(0x285)](_0x2ebb6b)),_0x2ebb6b[_0x3fc68d(0x458)]();for(var _0x5de724=this['_oKey']=_0x2ebb6b[_0x3fc68d(0x344)](),_0x155973=this[_0x3fc68d(0x225)]=_0x2ebb6b[_0x3fc68d(0x344)](),_0x33ee7d=_0x5de724[_0x3fc68d(0x1c5)],_0x1375ad=_0x155973[_0x3fc68d(0x1c5)],_0x5edfbc=0x0;_0x5edfbc<_0x20907b;_0x5edfbc++)_0x33ee7d[_0x5edfbc]^=0x5c5c5c5c,_0x1375ad[_0x5edfbc]^=0x36363636;_0x5de724[_0x3fc68d(0x1fa)]=_0x155973[_0x3fc68d(0x1fa)]=_0x222d9e,this[_0x3fc68d(0x1e8)]();},'reset':function(){var _0x5ac25d=_0x473c18,_0x57341e=this['_hasher'];_0x57341e[_0x5ac25d(0x1e8)](),_0x57341e[_0x5ac25d(0x2d4)](this[_0x5ac25d(0x225)]);},'update':function(_0x18c4fb){var _0x1e791c=_0x473c18;return this[_0x1e791c(0x489)][_0x1e791c(0x2d4)](_0x18c4fb),this;},'finalize':function(_0x49108e){var _0x2f42d3=_0x473c18,_0x3b6bb0=this[_0x2f42d3(0x489)],_0x400961=_0x3b6bb0[_0x2f42d3(0x285)](_0x49108e);_0x3b6bb0[_0x2f42d3(0x1e8)]();var _0x338b60=_0x3b6bb0['finalize'](this[_0x2f42d3(0x275)][_0x2f42d3(0x344)]()[_0x2f42d3(0x44b)](_0x400961));return _0x338b60;}});}());}));}(Je)),Je['exports'];}var Ks=Ye[_0x1d7936(0x48a)],si;function Ai(){var _0x56290a=_0x1d7936;return si||(si=0x1,function(_0xeff196,_0x1bd294){(function(_0x2f3dd7,_0xd633fc,_0x3341d5){var _0x5d8d86=_0x4a6f;_0xeff196[_0x5d8d86(0x48a)]=_0xd633fc(ne(),Vs(),Gs());}(Ks,function(_0x280a6e){var _0x46f409=_0x4a6f;return(function(){var _0x54c3f7=_0x4a6f,_0x4bb048=_0x280a6e,_0x57bd81=_0x4bb048[_0x54c3f7(0x278)],_0xda81ab=_0x57bd81[_0x54c3f7(0x242)],_0x35a976=_0x57bd81[_0x54c3f7(0x2fc)],_0x477145=_0x4bb048[_0x54c3f7(0x21f)],_0x2262d0=_0x477145[_0x54c3f7(0x2a4)],_0x4cd319=_0x477145[_0x54c3f7(0x324)]=_0xda81ab['extend']({'cfg':_0xda81ab['extend']({'keySize':0x80/0x20,'hasher':_0x2262d0,'iterations':0x1}),'init':function(_0x1a5f94){var _0x15eb20=_0x54c3f7;this[_0x15eb20(0x23e)]=this[_0x15eb20(0x23e)]['extend'](_0x1a5f94);},'compute':function(_0xf6487a,_0x392ca8){var _0x4c10b7=_0x54c3f7;for(var _0x37319a,_0x5e05c6=this[_0x4c10b7(0x23e)],_0x4eda97=_0x5e05c6[_0x4c10b7(0x398)][_0x4c10b7(0x49e)](),_0x69ff8f=_0x35a976[_0x4c10b7(0x49e)](),_0x217452=_0x69ff8f[_0x4c10b7(0x1c5)],_0x2d1975=_0x5e05c6[_0x4c10b7(0x3c9)],_0x315388=_0x5e05c6[_0x4c10b7(0x419)];_0x217452[_0x4c10b7(0x1f1)]<_0x2d1975;){_0x37319a&&_0x4eda97[_0x4c10b7(0x2d4)](_0x37319a),_0x37319a=_0x4eda97[_0x4c10b7(0x2d4)](_0xf6487a)[_0x4c10b7(0x285)](_0x392ca8),_0x4eda97[_0x4c10b7(0x1e8)]();for(var _0x3479d1=0x1;_0x3479d1<_0x315388;_0x3479d1++)_0x37319a=_0x4eda97[_0x4c10b7(0x285)](_0x37319a),_0x4eda97[_0x4c10b7(0x1e8)]();_0x69ff8f[_0x4c10b7(0x44b)](_0x37319a);}return _0x69ff8f[_0x4c10b7(0x1fa)]=_0x2d1975*0x4,_0x69ff8f;}});_0x4bb048[_0x54c3f7(0x324)]=function(_0x1b7063,_0x111c9a,_0x32260b){return _0x4cd319['create'](_0x32260b)['compute'](_0x1b7063,_0x111c9a);};}()),_0x280a6e[_0x46f409(0x324)];}));}(Ye)),Ye[_0x56290a(0x48a)];}var Xe={'exports':{}},zs=Xe[_0x1d7936(0x48a)],ri;function xi(){return ri||(ri=0x1,function(_0x17bf2c,_0x4d7115){(function(_0x50a6b9,_0x19db98,_0x348169){var _0x4559d7=_0x4a6f;_0x17bf2c[_0x4559d7(0x48a)]=_0x19db98(ne(),Ai());}(zs,function(_0x185bf2){var _0x394e0d=_0x4a6f;_0x185bf2['lib'][_0x394e0d(0x405)]||function(_0x2a5856){var _0x2fff97=_0x394e0d,_0x40d383=_0x185bf2,_0x3073b7=_0x40d383['lib'],_0x1e3337=_0x3073b7['Base'],_0x508239=_0x3073b7[_0x2fff97(0x2fc)],_0x21af62=_0x3073b7[_0x2fff97(0x4ae)],_0x2bb12a=_0x40d383[_0x2fff97(0x3f1)];_0x2bb12a['Utf8'];var _0x1f4a44=_0x2bb12a['Base64'],_0x16a8d2=_0x40d383[_0x2fff97(0x21f)],_0x4110d7=_0x16a8d2[_0x2fff97(0x324)],_0x115dc2=_0x3073b7[_0x2fff97(0x405)]=_0x21af62[_0x2fff97(0x47f)]({'cfg':_0x1e3337[_0x2fff97(0x47f)](),'createEncryptor':function(_0x67f1f,_0x4063b9){var _0x105735=_0x2fff97;return this['create'](this[_0x105735(0x352)],_0x67f1f,_0x4063b9);},'createDecryptor':function(_0x36528b,_0x433705){var _0x11f8f5=_0x2fff97;return this[_0x11f8f5(0x49e)](this[_0x11f8f5(0x22b)],_0x36528b,_0x433705);},'init':function(_0x448cfb,_0x4f5433,_0x516cd8){var _0x30164a=_0x2fff97;this[_0x30164a(0x23e)]=this['cfg'][_0x30164a(0x47f)](_0x516cd8),this['_xformMode']=_0x448cfb,this[_0x30164a(0x4ad)]=_0x4f5433,this[_0x30164a(0x1e8)]();},'reset':function(){var _0x3ee5a9=_0x2fff97;_0x21af62[_0x3ee5a9(0x1e8)][_0x3ee5a9(0x1fe)](this),this[_0x3ee5a9(0x4a4)]();},'process':function(_0x4a33c0){var _0x38a760=_0x2fff97;return this['_append'](_0x4a33c0),this[_0x38a760(0x2f2)]();},'finalize':function(_0x177ec1){var _0x558dff=_0x2fff97;_0x177ec1&&this['_append'](_0x177ec1);var _0x191314=this[_0x558dff(0x1de)]();return _0x191314;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5c3cab(_0x5d59c2){var _0x39eb21=_0x4a6f;return typeof _0x5d59c2==_0x39eb21(0x442)?_0x1fe3ef:_0x47b550;}return function(_0x74d122){return{'encrypt':function(_0x220009,_0x184484,_0x1aa5d4){return _0x5c3cab(_0x184484)['encrypt'](_0x74d122,_0x220009,_0x184484,_0x1aa5d4);},'decrypt':function(_0x313964,_0x2782d9,_0x3a1f32){return _0x5c3cab(_0x2782d9)['decrypt'](_0x74d122,_0x313964,_0x2782d9,_0x3a1f32);}};};}())});_0x3073b7[_0x2fff97(0x291)]=_0x115dc2[_0x2fff97(0x47f)]({'_doFinalize':function(){var _0x3568b2=_0x2fff97,_0x33be74=this[_0x3568b2(0x2f2)](!0x0);return _0x33be74;},'blockSize':0x1});var _0x52865c=_0x40d383['mode']={},_0x154ead=_0x3073b7[_0x2fff97(0x228)]=_0x1e3337['extend']({'createEncryptor':function(_0x9c722a,_0x4ebaa1){var _0x590064=_0x2fff97;return this[_0x590064(0x267)][_0x590064(0x49e)](_0x9c722a,_0x4ebaa1);},'createDecryptor':function(_0x244783,_0x552446){var _0xd9c630=_0x2fff97;return this[_0xd9c630(0x33f)]['create'](_0x244783,_0x552446);},'init':function(_0x4b6e38,_0x1c686b){var _0x5567cb=_0x2fff97;this[_0x5567cb(0x3b1)]=_0x4b6e38,this[_0x5567cb(0x1e6)]=_0x1c686b;}}),_0x158604=_0x52865c['CBC']=(function(){var _0x27f896=_0x2fff97,_0x17a774=_0x154ead['extend']();_0x17a774['Encryptor']=_0x17a774['extend']({'processBlock':function(_0x4e5f7a,_0x2264e0){var _0x1725d9=_0x4a6f,_0x190177=this[_0x1725d9(0x3b1)],_0x2df985=_0x190177[_0x1725d9(0x401)];_0x5a1304[_0x1725d9(0x1fe)](this,_0x4e5f7a,_0x2264e0,_0x2df985),_0x190177[_0x1725d9(0x33a)](_0x4e5f7a,_0x2264e0),this[_0x1725d9(0x3f5)]=_0x4e5f7a['slice'](_0x2264e0,_0x2264e0+_0x2df985);}}),_0x17a774[_0x27f896(0x33f)]=_0x17a774['extend']({'processBlock':function(_0x1350f3,_0x364552){var _0x4c8581=_0x27f896,_0xa6c61c=this[_0x4c8581(0x3b1)],_0x51baa3=_0xa6c61c[_0x4c8581(0x401)],_0x3a5a85=_0x1350f3[_0x4c8581(0x327)](_0x364552,_0x364552+_0x51baa3);_0xa6c61c['decryptBlock'](_0x1350f3,_0x364552),_0x5a1304['call'](this,_0x1350f3,_0x364552,_0x51baa3),this[_0x4c8581(0x3f5)]=_0x3a5a85;}});function _0x5a1304(_0x33a08a,_0x197c6f,_0xf9dbc4){var _0x16c012=_0x27f896,_0x39ef16,_0x3a20dd=this[_0x16c012(0x1e6)];_0x3a20dd?(_0x39ef16=_0x3a20dd,this[_0x16c012(0x1e6)]=_0x2a5856):_0x39ef16=this[_0x16c012(0x3f5)];for(var _0x2c13ba=0x0;_0x2c13ba<_0xf9dbc4;_0x2c13ba++)_0x33a08a[_0x197c6f+_0x2c13ba]^=_0x39ef16[_0x2c13ba];}return _0x17a774;}()),_0x3cab73=_0x40d383['pad']={},_0x2e5cbe=_0x3cab73[_0x2fff97(0x1cd)]={'pad':function(_0x252770,_0x1688be){var _0x635b47=_0x2fff97;for(var _0x10736b=_0x1688be*0x4,_0x22232f=_0x10736b-_0x252770[_0x635b47(0x1fa)]%_0x10736b,_0x2ef889=_0x22232f<<0x18|_0x22232f<<0x10|_0x22232f<<0x8|_0x22232f,_0x1d43f2=[],_0x26eaaf=0x0;_0x26eaaf<_0x22232f;_0x26eaaf+=0x4)_0x1d43f2[_0x635b47(0x2ee)](_0x2ef889);var _0x4b4d69=_0x508239[_0x635b47(0x49e)](_0x1d43f2,_0x22232f);_0x252770['concat'](_0x4b4d69);},'unpad':function(_0x3b8668){var _0x563165=_0x2fff97,_0x1ba3f6=_0x3b8668[_0x563165(0x1c5)][_0x3b8668[_0x563165(0x1fa)]-0x1>>>0x2]&0xff;_0x3b8668[_0x563165(0x1fa)]-=_0x1ba3f6;}};_0x3073b7[_0x2fff97(0x439)]=_0x115dc2[_0x2fff97(0x47f)]({'cfg':_0x115dc2[_0x2fff97(0x23e)][_0x2fff97(0x47f)]({'mode':_0x158604,'padding':_0x2e5cbe}),'reset':function(){var _0x466117=_0x2fff97,_0x153cb0;_0x115dc2[_0x466117(0x1e8)][_0x466117(0x1fe)](this);var _0x39fe33=this[_0x466117(0x23e)],_0x1f9f3a=_0x39fe33['iv'],_0x39378c=_0x39fe33[_0x466117(0x38c)];this[_0x466117(0x49c)]==this[_0x466117(0x352)]?_0x153cb0=_0x39378c[_0x466117(0x487)]:(_0x153cb0=_0x39378c[_0x466117(0x3fa)],this[_0x466117(0x333)]=0x1),this[_0x466117(0x1cb)]&&this[_0x466117(0x1cb)]['__creator']==_0x153cb0?this['_mode'][_0x466117(0x35c)](this,_0x1f9f3a&&_0x1f9f3a[_0x466117(0x1c5)]):(this[_0x466117(0x1cb)]=_0x153cb0['call'](_0x39378c,this,_0x1f9f3a&&_0x1f9f3a[_0x466117(0x1c5)]),this['_mode']['__creator']=_0x153cb0);},'_doProcessBlock':function(_0x2d1da5,_0x1d9607){var _0x5d87e2=_0x2fff97;this[_0x5d87e2(0x1cb)]['processBlock'](_0x2d1da5,_0x1d9607);},'_doFinalize':function(){var _0x7d5f2a=_0x2fff97,_0x2dc210,_0x33acc2=this['cfg'][_0x7d5f2a(0x1af)];return this[_0x7d5f2a(0x49c)]==this[_0x7d5f2a(0x352)]?(_0x33acc2[_0x7d5f2a(0x1ce)](this['_data'],this[_0x7d5f2a(0x401)]),_0x2dc210=this[_0x7d5f2a(0x2f2)](!0x0)):(_0x2dc210=this[_0x7d5f2a(0x2f2)](!0x0),_0x33acc2[_0x7d5f2a(0x29a)](_0x2dc210)),_0x2dc210;},'blockSize':0x80/0x20});var _0x52942f=_0x3073b7[_0x2fff97(0x35a)]=_0x1e3337[_0x2fff97(0x47f)]({'init':function(_0x1dbb44){var _0x1ed0dc=_0x2fff97;this[_0x1ed0dc(0x318)](_0x1dbb44);},'toString':function(_0x21df7a){var _0xaaf669=_0x2fff97;return(_0x21df7a||this[_0xaaf669(0x1c8)])['stringify'](this);}}),_0x31385d=_0x40d383[_0x2fff97(0x3c2)]={},_0x333d6a=_0x31385d['OpenSSL']={'stringify':function(_0x4b1fc7){var _0x10d1b2=_0x2fff97,_0x2a192f,_0x1d422d=_0x4b1fc7[_0x10d1b2(0x2a8)],_0x372efa=_0x4b1fc7[_0x10d1b2(0x1ed)];return _0x372efa?_0x2a192f=_0x508239['create']([0x53616c74,0x65645f5f])[_0x10d1b2(0x44b)](_0x372efa)[_0x10d1b2(0x44b)](_0x1d422d):_0x2a192f=_0x1d422d,_0x2a192f[_0x10d1b2(0x3ea)](_0x1f4a44);},'parse':function(_0x2af73b){var _0x4496e9=_0x2fff97,_0x53fe6d,_0x1db35a=_0x1f4a44['parse'](_0x2af73b),_0x204afb=_0x1db35a['words'];return _0x204afb[0x0]==0x53616c74&&_0x204afb[0x1]==0x65645f5f&&(_0x53fe6d=_0x508239[_0x4496e9(0x49e)](_0x204afb['slice'](0x2,0x4)),_0x204afb[_0x4496e9(0x366)](0x0,0x4),_0x1db35a['sigBytes']-=0x10),_0x52942f[_0x4496e9(0x49e)]({'ciphertext':_0x1db35a,'salt':_0x53fe6d});}},_0x47b550=_0x3073b7[_0x2fff97(0x381)]=_0x1e3337[_0x2fff97(0x47f)]({'cfg':_0x1e3337['extend']({'format':_0x333d6a}),'encrypt':function(_0x1e52ca,_0x98df9d,_0x4cfb31,_0x1d4d57){var _0x8aff9c=_0x2fff97;_0x1d4d57=this[_0x8aff9c(0x23e)][_0x8aff9c(0x47f)](_0x1d4d57);var _0x209a1b=_0x1e52ca[_0x8aff9c(0x487)](_0x4cfb31,_0x1d4d57),_0x271454=_0x209a1b[_0x8aff9c(0x285)](_0x98df9d),_0x303208=_0x209a1b[_0x8aff9c(0x23e)];return _0x52942f['create']({'ciphertext':_0x271454,'key':_0x4cfb31,'iv':_0x303208['iv'],'algorithm':_0x1e52ca,'mode':_0x303208[_0x8aff9c(0x38c)],'padding':_0x303208[_0x8aff9c(0x1af)],'blockSize':_0x1e52ca[_0x8aff9c(0x401)],'formatter':_0x1d4d57['format']});},'decrypt':function(_0x3b04bc,_0x518632,_0x37149e,_0x1e2823){var _0x45204d=_0x2fff97;_0x1e2823=this['cfg'][_0x45204d(0x47f)](_0x1e2823),_0x518632=this[_0x45204d(0x365)](_0x518632,_0x1e2823[_0x45204d(0x3c2)]);var _0x543222=_0x3b04bc[_0x45204d(0x3fa)](_0x37149e,_0x1e2823)[_0x45204d(0x285)](_0x518632['ciphertext']);return _0x543222;},'_parse':function(_0x192e9d,_0x83ad49){var _0x6a767e=_0x2fff97;return typeof _0x192e9d=='string'?_0x83ad49[_0x6a767e(0x31f)](_0x192e9d,this):_0x192e9d;}}),_0xc3ce58=_0x40d383[_0x2fff97(0x46b)]={},_0x18dd80=_0xc3ce58[_0x2fff97(0x323)]={'execute':function(_0x46c03e,_0x2fa943,_0x30783f,_0x3e2236,_0x43ed0a){var _0x216827=_0x2fff97;if(_0x3e2236||(_0x3e2236=_0x508239[_0x216827(0x3a3)](0x40/0x8)),_0x43ed0a)var _0x351f0d=_0x4110d7[_0x216827(0x49e)]({'keySize':_0x2fa943+_0x30783f,'hasher':_0x43ed0a})[_0x216827(0x1f3)](_0x46c03e,_0x3e2236);else var _0x351f0d=_0x4110d7[_0x216827(0x49e)]({'keySize':_0x2fa943+_0x30783f})[_0x216827(0x1f3)](_0x46c03e,_0x3e2236);var _0x51a34d=_0x508239[_0x216827(0x49e)](_0x351f0d['words'][_0x216827(0x327)](_0x2fa943),_0x30783f*0x4);return _0x351f0d[_0x216827(0x1fa)]=_0x2fa943*0x4,_0x52942f[_0x216827(0x49e)]({'key':_0x351f0d,'iv':_0x51a34d,'salt':_0x3e2236});}},_0x1fe3ef=_0x3073b7[_0x2fff97(0x469)]=_0x47b550[_0x2fff97(0x47f)]({'cfg':_0x47b550[_0x2fff97(0x23e)][_0x2fff97(0x47f)]({'kdf':_0x18dd80}),'encrypt':function(_0x24e344,_0x5bcced,_0x456f9a,_0x5ded40){var _0x4e0676=_0x2fff97;_0x5ded40=this[_0x4e0676(0x23e)]['extend'](_0x5ded40);var _0x5d8f33=_0x5ded40[_0x4e0676(0x46b)][_0x4e0676(0x496)](_0x456f9a,_0x24e344[_0x4e0676(0x3c9)],_0x24e344[_0x4e0676(0x1b6)],_0x5ded40['salt'],_0x5ded40['hasher']);_0x5ded40['iv']=_0x5d8f33['iv'];var _0x5a45b6=_0x47b550[_0x4e0676(0x1e1)]['call'](this,_0x24e344,_0x5bcced,_0x5d8f33[_0x4e0676(0x25d)],_0x5ded40);return _0x5a45b6[_0x4e0676(0x318)](_0x5d8f33),_0x5a45b6;},'decrypt':function(_0x45939c,_0x3425b2,_0x4cae3f,_0x5249c2){var _0x1bb9d6=_0x2fff97;_0x5249c2=this['cfg'][_0x1bb9d6(0x47f)](_0x5249c2),_0x3425b2=this[_0x1bb9d6(0x365)](_0x3425b2,_0x5249c2[_0x1bb9d6(0x3c2)]);var _0x307e46=_0x5249c2[_0x1bb9d6(0x46b)]['execute'](_0x4cae3f,_0x45939c['keySize'],_0x45939c['ivSize'],_0x3425b2[_0x1bb9d6(0x1ed)],_0x5249c2[_0x1bb9d6(0x398)]);_0x5249c2['iv']=_0x307e46['iv'];var _0x33a0eb=_0x47b550[_0x1bb9d6(0x2e2)][_0x1bb9d6(0x1fe)](this,_0x45939c,_0x3425b2,_0x307e46[_0x1bb9d6(0x25d)],_0x5249c2);return _0x33a0eb;}});}();}));}(Xe)),Xe['exports'];}var Ys=We['exports'],oi;function qs(){var _0x409a10=_0x1d7936;return oi||(oi=0x1,function(_0x2f1b7b,_0x3dd3f7){(function(_0x330167,_0x1efb32,_0x2b2f10){var _0x1f71aa=_0x4a6f;_0x2f1b7b[_0x1f71aa(0x48a)]=_0x1efb32(ne(),Ui(),Bs(),Ai(),xi());}(Ys,function(_0x33c8c3){return(function(){var _0x12eecd=_0x4a6f,_0x4b4600=_0x33c8c3,_0xef2411=_0x4b4600[_0x12eecd(0x278)],_0xfa2394=_0xef2411[_0x12eecd(0x439)],_0x175bb3=_0x4b4600[_0x12eecd(0x21f)],_0x23fee9=[],_0x31b694=[],_0x5eadbb=[],_0xf178f0=[],_0x21d9f9=[],_0x143313=[],_0x203a12=[],_0x81ed52=[],_0x53a468=[],_0x245546=[];(function(){for(var _0x4180f8=[],_0x59c850=0x0;_0x59c850<0x100;_0x59c850++)_0x59c850<0x80?_0x4180f8[_0x59c850]=_0x59c850<<0x1:_0x4180f8[_0x59c850]=_0x59c850<<0x1^0x11b;for(var _0x551049=0x0,_0x16a09f=0x0,_0x59c850=0x0;_0x59c850<0x100;_0x59c850++){var _0xaed5d8=_0x16a09f^_0x16a09f<<0x1^_0x16a09f<<0x2^_0x16a09f<<0x3^_0x16a09f<<0x4;_0xaed5d8=_0xaed5d8>>>0x8^_0xaed5d8&0xff^0x63,_0x23fee9[_0x551049]=_0xaed5d8,_0x31b694[_0xaed5d8]=_0x551049;var _0x2d119f=_0x4180f8[_0x551049],_0x5400ed=_0x4180f8[_0x2d119f],_0x10bd6d=_0x4180f8[_0x5400ed],_0x456ffd=_0x4180f8[_0xaed5d8]*0x101^_0xaed5d8*0x1010100;_0x5eadbb[_0x551049]=_0x456ffd<<0x18|_0x456ffd>>>0x8,_0xf178f0[_0x551049]=_0x456ffd<<0x10|_0x456ffd>>>0x10,_0x21d9f9[_0x551049]=_0x456ffd<<0x8|_0x456ffd>>>0x18,_0x143313[_0x551049]=_0x456ffd;var _0x456ffd=_0x10bd6d*0x1010101^_0x5400ed*0x10001^_0x2d119f*0x101^_0x551049*0x1010100;_0x203a12[_0xaed5d8]=_0x456ffd<<0x18|_0x456ffd>>>0x8,_0x81ed52[_0xaed5d8]=_0x456ffd<<0x10|_0x456ffd>>>0x10,_0x53a468[_0xaed5d8]=_0x456ffd<<0x8|_0x456ffd>>>0x18,_0x245546[_0xaed5d8]=_0x456ffd,_0x551049?(_0x551049=_0x2d119f^_0x4180f8[_0x4180f8[_0x4180f8[_0x10bd6d^_0x2d119f]]],_0x16a09f^=_0x4180f8[_0x4180f8[_0x16a09f]]):_0x551049=_0x16a09f=0x1;}}());var _0x17898c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a62d1=_0x175bb3['AES']=_0xfa2394[_0x12eecd(0x47f)]({'_doReset':function(){var _0x3322e2=_0x12eecd,_0x10d449;if(!(this[_0x3322e2(0x2e1)]&&this[_0x3322e2(0x347)]===this[_0x3322e2(0x4ad)])){for(var _0x3d6041=this[_0x3322e2(0x347)]=this['_key'],_0x264830=_0x3d6041[_0x3322e2(0x1c5)],_0x22c3be=_0x3d6041[_0x3322e2(0x1fa)]/0x4,_0x480d45=this[_0x3322e2(0x2e1)]=_0x22c3be+0x6,_0xf7f153=(_0x480d45+0x1)*0x4,_0x50e449=this['_keySchedule']=[],_0x387701=0x0;_0x387701<_0xf7f153;_0x387701++)_0x387701<_0x22c3be?_0x50e449[_0x387701]=_0x264830[_0x387701]:(_0x10d449=_0x50e449[_0x387701-0x1],_0x387701%_0x22c3be?_0x22c3be>0x6&&_0x387701%_0x22c3be==0x4&&(_0x10d449=_0x23fee9[_0x10d449>>>0x18]<<0x18|_0x23fee9[_0x10d449>>>0x10&0xff]<<0x10|_0x23fee9[_0x10d449>>>0x8&0xff]<<0x8|_0x23fee9[_0x10d449&0xff]):(_0x10d449=_0x10d449<<0x8|_0x10d449>>>0x18,_0x10d449=_0x23fee9[_0x10d449>>>0x18]<<0x18|_0x23fee9[_0x10d449>>>0x10&0xff]<<0x10|_0x23fee9[_0x10d449>>>0x8&0xff]<<0x8|_0x23fee9[_0x10d449&0xff],_0x10d449^=_0x17898c[_0x387701/_0x22c3be|0x0]<<0x18),_0x50e449[_0x387701]=_0x50e449[_0x387701-_0x22c3be]^_0x10d449);for(var _0x377f47=this[_0x3322e2(0x2fb)]=[],_0x5119b3=0x0;_0x5119b3<_0xf7f153;_0x5119b3++){var _0x387701=_0xf7f153-_0x5119b3;if(_0x5119b3%0x4)var _0x10d449=_0x50e449[_0x387701];else var _0x10d449=_0x50e449[_0x387701-0x4];_0x5119b3<0x4||_0x387701<=0x4?_0x377f47[_0x5119b3]=_0x10d449:_0x377f47[_0x5119b3]=_0x203a12[_0x23fee9[_0x10d449>>>0x18]]^_0x81ed52[_0x23fee9[_0x10d449>>>0x10&0xff]]^_0x53a468[_0x23fee9[_0x10d449>>>0x8&0xff]]^_0x245546[_0x23fee9[_0x10d449&0xff]];}}},'encryptBlock':function(_0x567b60,_0x3d01cb){var _0x11fcd9=_0x12eecd;this[_0x11fcd9(0x2c6)](_0x567b60,_0x3d01cb,this[_0x11fcd9(0x4ac)],_0x5eadbb,_0xf178f0,_0x21d9f9,_0x143313,_0x23fee9);},'decryptBlock':function(_0x13a760,_0x557e9a){var _0x49c076=_0x13a760[_0x557e9a+0x1];_0x13a760[_0x557e9a+0x1]=_0x13a760[_0x557e9a+0x3],_0x13a760[_0x557e9a+0x3]=_0x49c076,this['_doCryptBlock'](_0x13a760,_0x557e9a,this['_invKeySchedule'],_0x203a12,_0x81ed52,_0x53a468,_0x245546,_0x31b694);var _0x49c076=_0x13a760[_0x557e9a+0x1];_0x13a760[_0x557e9a+0x1]=_0x13a760[_0x557e9a+0x3],_0x13a760[_0x557e9a+0x3]=_0x49c076;},'_doCryptBlock':function(_0x3106dd,_0x37d383,_0x2709e7,_0x10f2a3,_0xf31dd8,_0x974fe9,_0x37f328,_0xbd0861){for(var _0x163e08=this['_nRounds'],_0x4ad6ca=_0x3106dd[_0x37d383]^_0x2709e7[0x0],_0x56b9fb=_0x3106dd[_0x37d383+0x1]^_0x2709e7[0x1],_0x32c0f9=_0x3106dd[_0x37d383+0x2]^_0x2709e7[0x2],_0x3014d2=_0x3106dd[_0x37d383+0x3]^_0x2709e7[0x3],_0x43c8a1=0x4,_0x21f35c=0x1;_0x21f35c<_0x163e08;_0x21f35c++){var _0x254bcd=_0x10f2a3[_0x4ad6ca>>>0x18]^_0xf31dd8[_0x56b9fb>>>0x10&0xff]^_0x974fe9[_0x32c0f9>>>0x8&0xff]^_0x37f328[_0x3014d2&0xff]^_0x2709e7[_0x43c8a1++],_0xb37913=_0x10f2a3[_0x56b9fb>>>0x18]^_0xf31dd8[_0x32c0f9>>>0x10&0xff]^_0x974fe9[_0x3014d2>>>0x8&0xff]^_0x37f328[_0x4ad6ca&0xff]^_0x2709e7[_0x43c8a1++],_0x579d78=_0x10f2a3[_0x32c0f9>>>0x18]^_0xf31dd8[_0x3014d2>>>0x10&0xff]^_0x974fe9[_0x4ad6ca>>>0x8&0xff]^_0x37f328[_0x56b9fb&0xff]^_0x2709e7[_0x43c8a1++],_0x3b571d=_0x10f2a3[_0x3014d2>>>0x18]^_0xf31dd8[_0x4ad6ca>>>0x10&0xff]^_0x974fe9[_0x56b9fb>>>0x8&0xff]^_0x37f328[_0x32c0f9&0xff]^_0x2709e7[_0x43c8a1++];_0x4ad6ca=_0x254bcd,_0x56b9fb=_0xb37913,_0x32c0f9=_0x579d78,_0x3014d2=_0x3b571d;}var _0x254bcd=(_0xbd0861[_0x4ad6ca>>>0x18]<<0x18|_0xbd0861[_0x56b9fb>>>0x10&0xff]<<0x10|_0xbd0861[_0x32c0f9>>>0x8&0xff]<<0x8|_0xbd0861[_0x3014d2&0xff])^_0x2709e7[_0x43c8a1++],_0xb37913=(_0xbd0861[_0x56b9fb>>>0x18]<<0x18|_0xbd0861[_0x32c0f9>>>0x10&0xff]<<0x10|_0xbd0861[_0x3014d2>>>0x8&0xff]<<0x8|_0xbd0861[_0x4ad6ca&0xff])^_0x2709e7[_0x43c8a1++],_0x579d78=(_0xbd0861[_0x32c0f9>>>0x18]<<0x18|_0xbd0861[_0x3014d2>>>0x10&0xff]<<0x10|_0xbd0861[_0x4ad6ca>>>0x8&0xff]<<0x8|_0xbd0861[_0x56b9fb&0xff])^_0x2709e7[_0x43c8a1++],_0x3b571d=(_0xbd0861[_0x3014d2>>>0x18]<<0x18|_0xbd0861[_0x4ad6ca>>>0x10&0xff]<<0x10|_0xbd0861[_0x56b9fb>>>0x8&0xff]<<0x8|_0xbd0861[_0x32c0f9&0xff])^_0x2709e7[_0x43c8a1++];_0x3106dd[_0x37d383]=_0x254bcd,_0x3106dd[_0x37d383+0x1]=_0xb37913,_0x3106dd[_0x37d383+0x2]=_0x579d78,_0x3106dd[_0x37d383+0x3]=_0x3b571d;},'keySize':0x100/0x20});_0x4b4600[_0x12eecd(0x37a)]=_0xfa2394[_0x12eecd(0x1c6)](_0x2a62d1);}()),_0x33c8c3['AES'];}));}(We)),We[_0x409a10(0x48a)];}var Js=qs();const Xs=je(Js);var Zs=Ui();const ai=je(Zs);var Ze={'exports':{}},Qs=Ze[_0x1d7936(0x48a)],ci;function er(){var _0x220423=_0x1d7936;return ci||(ci=0x1,function(_0x565442,_0x3c798e){(function(_0x1a79b0,_0x2d30a1){var _0x898e9c=_0x4a6f;_0x565442[_0x898e9c(0x48a)]=_0x2d30a1(ne());}(Qs,function(_0x51cb85){var _0x37eda9=_0x4a6f;return _0x51cb85['enc'][_0x37eda9(0x3d8)];}));}(Ze)),Ze[_0x220423(0x48a)];}var tr=er();const ir=je(tr);var Qe={'exports':{}},nr=Qe[_0x1d7936(0x48a)],hi;function sr(){var _0xca5729=_0x1d7936;return hi||(hi=0x1,function(_0x1be150,_0xf0cc7){(function(_0x1b501c,_0xbad1bd){var _0x41160b=_0x4a6f;_0x1be150[_0x41160b(0x48a)]=_0xbad1bd(ne());}(nr,function(_0x4fc2b5){var _0x4feaea=_0x4a6f;return(function(){var _0x6ed21e=_0x4a6f;if(typeof ArrayBuffer==_0x6ed21e(0x2ea)){var _0x34734b=_0x4fc2b5,_0x376e13=_0x34734b[_0x6ed21e(0x278)],_0x10cff8=_0x376e13[_0x6ed21e(0x2fc)],_0x128842=_0x10cff8[_0x6ed21e(0x35c)],_0x2534e3=_0x10cff8['init']=function(_0x5a5cef){var _0xe973fc=_0x6ed21e;if(_0x5a5cef instanceof ArrayBuffer&&(_0x5a5cef=new Uint8Array(_0x5a5cef)),(_0x5a5cef instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a5cef instanceof Uint8ClampedArray||_0x5a5cef instanceof Int16Array||_0x5a5cef instanceof Uint16Array||_0x5a5cef instanceof Int32Array||_0x5a5cef instanceof Uint32Array||_0x5a5cef instanceof Float32Array||_0x5a5cef instanceof Float64Array)&&(_0x5a5cef=new Uint8Array(_0x5a5cef['buffer'],_0x5a5cef[_0xe973fc(0x417)],_0x5a5cef[_0xe973fc(0x289)])),_0x5a5cef instanceof Uint8Array){for(var _0x48252c=_0x5a5cef[_0xe973fc(0x289)],_0x2923fb=[],_0x332be6=0x0;_0x332be6<_0x48252c;_0x332be6++)_0x2923fb[_0x332be6>>>0x2]|=_0x5a5cef[_0x332be6]<<0x18-_0x332be6%0x4*0x8;_0x128842[_0xe973fc(0x1fe)](this,_0x2923fb,_0x48252c);}else _0x128842[_0xe973fc(0x23f)](this,arguments);};_0x2534e3[_0x6ed21e(0x369)]=_0x10cff8;}}()),_0x4fc2b5[_0x4feaea(0x278)][_0x4feaea(0x2fc)];}));}(Qe)),Qe[_0xca5729(0x48a)];}var rr=sr();const or=je(rr);var et={'exports':{}},ar=et[_0x1d7936(0x48a)],_i;function cr(){var _0x15c008=_0x1d7936;return _i||(_i=0x1,function(_0x511553,_0x5774c4){(function(_0x29f1f0,_0x1cfa73,_0x3c3a79){_0x511553['exports']=_0x1cfa73(ne(),xi());}(ar,function(_0x7415a3){var _0x43ec90=_0x4a6f;return _0x7415a3[_0x43ec90(0x1ce)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x7415a3['pad'][_0x43ec90(0x314)];}));}(et)),et[_0x15c008(0x48a)];}var hr=cr();const _r=je(hr);function lr(_0x373481,_0x2f897c){var _0x2a23ed=_0x1d7936;const _0x4e7911=_0x2f897c-_0x373481[_0x2a23ed(0x1f1)]%_0x2f897c,_0x1ffedc=String[_0x2a23ed(0x283)](_0x4e7911)['repeat'](_0x4e7911);return _0x373481+_0x1ffedc;}function ur(_0x6e66aa,_0x13c384){var _0x3145b9=_0x1d7936;const _0x512b53=or[_0x3145b9(0x3a3)](0x10),_0x364ed1=lr(_0x6e66aa,0x10),_0x4dcf31=Xs[_0x3145b9(0x1e1)](ir['parse'](_0x364ed1),ai['parse'](_0x13c384),{'iv':_0x512b53,'padding':_r});return _0x512b53['concat'](_0x4dcf31[_0x3145b9(0x2a8)])[_0x3145b9(0x3ea)](ai);}function dr(){var _0x116abc=_0x1d7936;const _0x37dced=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x116abc(0x221)];if(_0x37dced){const _0x454e41={'time':Math['floor'](Date[_0x116abc(0x1b0)]()/0x3e8),'domain':location[_0x116abc(0x266)]};return ur(JSON[_0x116abc(0x311)](_0x454e41),_0x37dced);}}var fr=Object[_0x1d7936(0x379)],vr=Object[_0x1d7936(0x2e4)],pr=(_0x1fc1b2,_0x32111a,_0x1ee331,_0x3b2ef7)=>{var _0x24ed92=_0x1d7936;for(var _0x2ab32e=_0x3b2ef7>0x1?void 0x0:_0x3b2ef7?vr(_0x32111a,_0x1ee331):_0x32111a,_0x1354a7=_0x1fc1b2[_0x24ed92(0x1f1)]-0x1,_0x50dd62;_0x1354a7>=0x0;_0x1354a7--)(_0x50dd62=_0x1fc1b2[_0x1354a7])&&(_0x2ab32e=(_0x3b2ef7?_0x50dd62(_0x32111a,_0x1ee331,_0x2ab32e):_0x50dd62(_0x2ab32e))||_0x2ab32e);return _0x3b2ef7&&_0x2ab32e&&fr(_0x32111a,_0x1ee331,_0x2ab32e),_0x2ab32e;},mr=(_0x25d8c4,_0x2d77d9)=>(_0x263bff,_0x412ff5)=>_0x2d77d9(_0x263bff,_0x412ff5,_0x25d8c4);let at=class{constructor(_0x56f470){var _0x152ea0=_0x1d7936;this[_0x152ea0(0x1cc)]=_0x56f470,this[_0x152ea0(0x252)]();}[_0x1d7936(0x252)](){var _0x555ce8=_0x1d7936;this[_0x555ce8(0x1cc)][_0x555ce8(0x1e5)]({'interceptor':(_0x454db9,_0x58d65c)=>{var _0x171be1=_0x555ce8;const _0x5543b4=_0x454db9[_0x171be1(0x2f7)],_0xa79bbb=dr();return _0xa79bbb&&_0x5543b4[_0x171be1(0x274)](_0x171be1(0x325),_0xa79bbb),_0x58d65c(_0x454db9);}});}};at=pr([mr(0x0,_0x3b3175(_0x3062fa))],at);var gr=Object[_0x1d7936(0x379)],Sr=Object[_0x1d7936(0x2e4)],Er=(_0x520279,_0x2a5db9,_0x9f0554,_0x2b4720)=>{var _0x25034e=_0x1d7936;for(var _0x29f63b=_0x2b4720>0x1?void 0x0:_0x2b4720?Sr(_0x2a5db9,_0x9f0554):_0x2a5db9,_0x1dbd86=_0x520279[_0x25034e(0x1f1)]-0x1,_0x4253b1;_0x1dbd86>=0x0;_0x1dbd86--)(_0x4253b1=_0x520279[_0x1dbd86])&&(_0x29f63b=(_0x2b4720?_0x4253b1(_0x2a5db9,_0x9f0554,_0x29f63b):_0x4253b1(_0x29f63b))||_0x29f63b);return _0x2b4720&&_0x29f63b&&gr(_0x2a5db9,_0x9f0554,_0x29f63b),_0x29f63b;},mt=(_0x1c88fc,_0x22c9ed)=>(_0x53a038,_0x2d7bfc)=>_0x22c9ed(_0x53a038,_0x2d7bfc,_0x1c88fc);let yt=class extends _0x38bb5f{constructor(_0x7a3ef,_0x44ae79,_0x2f53c7){var _0x44fef7=_0x1d7936;super(),N(this,_0x44fef7(0x3e7),new _0xd9c82f(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x44fef7(0x1f5)]()),(this[_0x44fef7(0x41a)]=_0x7a3ef,this['_snapshotService']=_0x44ae79,this[_0x44fef7(0x463)]=_0x2f53c7);}async['loadUnit'](_0x59f007,_0x5df200,_0x35a781){var _0x2fab04=_0x1d7936;this[_0x2fab04(0x3e7)][_0x2fab04(0x4aa)]({'unitId':_0x59f007,'type':_0x5df200,'subUnitId':_0x35a781});let _0x7bb9d6=null;switch(_0x5df200){case Q['UNIVER_SHEET']:{_0x7bb9d6=await this[_0x2fab04(0x249)](_0x59f007);break;}case Q[_0x2fab04(0x45b)]:{_0x7bb9d6=await this[_0x2fab04(0x451)](_0x59f007);break;}default:{this[_0x2fab04(0x41a)]['error'](_0x2fab04(0x2f9),_0x2fab04(0x24b));break;}}return _0x7bb9d6;}async['_loadSheet'](_0x570809){var _0x2e65b0=_0x1d7936,_0x1c122f;let _0x4471c2=0x0;const _0x25b398=await((_0x1c122f=this[_0x2e65b0(0x463)])==null?void 0x0:_0x1c122f[_0x2e65b0(0x200)](_0x570809));return _0x25b398&&(_0x25b398[_0x2e65b0(0x2cf)]||_0x25b398[_0x2e65b0(0x460)][_0x2e65b0(0x1f1)]!==0x0)&&(_0x4471c2=_0x25b398[_0x2e65b0(0x4a6)]),_0x4471c2===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x2e65b0(0x471)),this[_0x2e65b0(0x385)][_0x2e65b0(0x426)](_0x570809,_0x4471c2);}async[_0x1d7936(0x451)](_0x7c97bb){var _0x86c1a8=_0x1d7936,_0xcd054b;let _0x22f32e=0x0;const _0x254372=await((_0xcd054b=this[_0x86c1a8(0x463)])==null?void 0x0:_0xcd054b[_0x86c1a8(0x200)](_0x7c97bb));return _0x254372&&(_0x254372[_0x86c1a8(0x2cf)]||_0x254372[_0x86c1a8(0x460)][_0x86c1a8(0x1f1)]!==0x0)&&(_0x22f32e=_0x254372['rev']),_0x22f32e===0x0&&this['_logService'][_0x86c1a8(0x1cf)](_0x86c1a8(0x2f9),_0x86c1a8(0x471)),this[_0x86c1a8(0x385)][_0x86c1a8(0x316)](_0x7c97bb,_0x22f32e);}};yt=Er([mt(0x0,_0x49c65f),mt(0x1,_0x3b3175(_0x503d1f)),mt(0x2,_0x2f40a0(X))],yt);var Ir=Object[_0x1d7936(0x379)],Tr=Object['getOwnPropertyDescriptor'],Cr=(_0x5e9cb0,_0x2f5b85,_0x5b75b8,_0x1beca9)=>{var _0x1561fb=_0x1d7936;for(var _0x12f158=_0x1beca9>0x1?void 0x0:_0x1beca9?Tr(_0x2f5b85,_0x5b75b8):_0x2f5b85,_0xcc029d=_0x5e9cb0[_0x1561fb(0x1f1)]-0x1,_0x4160cf;_0xcc029d>=0x0;_0xcc029d--)(_0x4160cf=_0x5e9cb0[_0xcc029d])&&(_0x12f158=(_0x1beca9?_0x4160cf(_0x2f5b85,_0x5b75b8,_0x12f158):_0x4160cf(_0x12f158))||_0x12f158);return _0x1beca9&&_0x12f158&&Ir(_0x2f5b85,_0x5b75b8,_0x12f158),_0x12f158;},gt=(_0x4fae0c,_0x336359)=>(_0x80c2bd,_0x543fab)=>_0x336359(_0x80c2bd,_0x543fab,_0x4fae0c);const br=[_0x1d7936(0x1e3),'image/jpeg',_0x1d7936(0x363),'image/gif','image/bmp'],Rr=0x5*0x400*0x400,yr=_0x1d7936(0x3e9),Or='/universer-api/stream/file/upload',Pr=_0x1d7936(0x420),Dr=_0x1d7936(0x23b);let Ot=class{constructor(_0x1bd608,_0x519c5e,_0x45b734){var _0x45b49e=_0x1d7936;N(this,_0x45b49e(0x2b2),0x0),N(this,_0x45b49e(0x1ec),new _0x32457f()),N(this,_0x45b49e(0x257),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x45b49e(0x1cc)]=_0x1bd608,this['_configService']=_0x519c5e,this['_univerInstanceService']=_0x45b734);}[_0x1d7936(0x2f5)](_0x4f4c6f){var _0x4094b6=_0x1d7936;this[_0x4094b6(0x2b2)]=_0x4f4c6f,this[_0x4094b6(0x1ec)][_0x4094b6(0x4aa)](_0x4f4c6f);}[_0x1d7936(0x2e0)](_0x223546,_0x43e231){var _0x4cd92e=_0x1d7936;if(_0x43e231===_0x366278[_0x4cd92e(0x3cc)]){const _0x551d17=new Image();return _0x551d17['src']=_0x223546,_0x551d17;}return this[_0x4cd92e(0x443)]['get'](_0x223546);}[_0x1d7936(0x292)](_0x535692,_0x14c190,_0x3d6d1e){var _0x3492d4=_0x1d7936;_0x14c190===_0x366278[_0x3492d4(0x3cc)]||_0x3d6d1e==null||this['_imageSourceCache']['set'](_0x535692,_0x3d6d1e);}async[_0x1d7936(0x202)](_0xf87536){var _0x4aea73=_0x1d7936;try{const _0xdb89f9=this['_replaceFileID'](this[_0x4aea73(0x2fe)](),''+_0xf87536),_0x4a7428=(await this[_0x4aea73(0x1cc)][_0x4aea73(0x1bf)](_0xdb89f9))[_0x4aea73(0x407)];if(_0x4a7428[_0x4aea73(0x36c)]&&_0x4a7428[_0x4aea73(0x36c)][_0x4aea73(0x488)]===Ti['OK']){const _0x1c6716=new URL(_0x4a7428[_0x4aea73(0x2fd)],this[_0x4aea73(0x37f)]())[_0x4aea73(0x3ea)]();return Promise[_0x4aea73(0x31d)](_0x1c6716);}return Promise[_0x4aea73(0x474)](_0x4a7428[_0x4aea73(0x36c)]);}catch(_0x2897fd){return Promise[_0x4aea73(0x474)](_0x2897fd);}}async[_0x1d7936(0x24d)](_0x5dc572){var _0x5f52d9=_0x1d7936;let _0x207eba='';if(!br[_0x5f52d9(0x3e5)](_0x5dc572['type']))return this[_0x5f52d9(0x431)](),Promise[_0x5f52d9(0x474)](new Error(_0x42f0ac['ERROR_IMAGE_TYPE']));if(_0x5dc572[_0x5f52d9(0x43b)]>Rr)return this['_decreaseWaiting'](),Promise[_0x5f52d9(0x474)](new Error(_0x42f0ac['ERROR_EXCEED_SIZE']));try{const _0x4d5f98=new FormData();_0x4d5f98['append'](_0x5f52d9(0x362),_0x5dc572);const _0x369c60=this['_univerInstanceService'][_0x5f52d9(0x47e)](),_0xa1d0c6=_0x369c60==null?void 0x0:_0x369c60['getUnitId']();if(!_0xa1d0c6)throw new Error(_0x5f52d9(0x302));const _0x394842=this['_getUploadFileURL']()+'?size='+_0x5dc572[_0x5f52d9(0x43b)][_0x5f52d9(0x3ea)]()+_0x5f52d9(0x226)+Ci[_0x5f52d9(0x383)]+_0x5f52d9(0x41d)+encodeURIComponent(_0xa1d0c6),_0xa9f612=await(await fetch(_0x394842,{'method':'POST','body':_0x4d5f98}))[_0x5f52d9(0x340)]();if(typeof _0xa9f612[_0x5f52d9(0x2bb)]!='string')return this[_0x5f52d9(0x431)](),Promise[_0x5f52d9(0x474)](new Error(_0x42f0ac['ERROR_IMAGE']));_0x207eba=_0xa9f612['FileId'];}catch{return this[_0x5f52d9(0x431)](),Promise[_0x5f52d9(0x474)](new Error(_0x42f0ac[_0x5f52d9(0x3d7)]));}return new Promise((_0x5f0935,_0x13631b)=>{var _0xf2a8d7=_0x5f52d9;const _0x35bf6a=new FileReader();_0x35bf6a[_0xf2a8d7(0x408)](_0x5dc572),_0x35bf6a[_0xf2a8d7(0x3f7)]=_0x5cda19=>{var _0x26c08e=_0xf2a8d7,_0x474828;const _0x2cdc70=(_0x474828=_0x5cda19[_0x26c08e(0x216)])==null?void 0x0:_0x474828[_0x26c08e(0x2f8)];if(_0x2cdc70==null){this[_0x26c08e(0x431)](),_0x13631b(new Error(_0x42f0ac[_0x26c08e(0x3d7)]));return;}const _0x2b9be6=_0xeb6d43[_0x26c08e(0x30f)](0x6);_0x5f0935({'imageId':_0x2b9be6,'imageSourceType':_0x366278[_0x26c08e(0x25b)],'source':_0x207eba,'base64Cache':_0x2cdc70,'status':_0x42f0ac[_0x26c08e(0x43f)]}),this[_0x26c08e(0x431)]();};});}[_0x1d7936(0x3b2)](){var _0x23f5a1=_0x1d7936,_0x3d3293,_0x12ca74;const _0x4b9553=this[_0x23f5a1(0x254)][_0x23f5a1(0x29e)](yr),_0x63eeec=this[_0x23f5a1(0x254)]['getConfig'](Y);return(_0x12ca74=(_0x3d3293=_0x63eeec==null?void 0x0:_0x63eeec[_0x23f5a1(0x32c)])!=null?_0x3d3293:_0x4b9553)!=null?_0x12ca74:Or;}[_0x1d7936(0x2fe)](){var _0x97063a=_0x1d7936,_0x3722e9,_0x3968c2;const _0xe9d7d8=this[_0x97063a(0x254)][_0x97063a(0x29e)](Pr),_0x41a6e3=this[_0x97063a(0x254)]['getConfig'](Y);return(_0x3968c2=(_0x3722e9=_0x41a6e3==null?void 0x0:_0x41a6e3[_0x97063a(0x2d6)])!=null?_0x3722e9:_0xe9d7d8)!=null?_0x3968c2:Dr;}[_0x1d7936(0x37f)](){var _0x265bf9=_0x1d7936,_0x580421;const _0x62248f=this['_configService'][_0x265bf9(0x29e)](Y);return(_0x580421=_0x62248f==null?void 0x0:_0x62248f[_0x265bf9(0x234)])!=null?_0x580421:location['origin'];}[_0x1d7936(0x3d9)](_0x2b2b22,_0x1da87f){var _0xc0a90b=_0x1d7936;return _0x2b2b22['replace'](_0xc0a90b(0x36e),_0x1da87f);}[_0x1d7936(0x431)](){var _0x47eac1=_0x1d7936;this['_waitCount']-=0x1,this[_0x47eac1(0x1ec)][_0x47eac1(0x4aa)](this[_0x47eac1(0x2b2)]);}};Ot=Cr([gt(0x0,_0x3b3175(_0x3062fa)),gt(0x1,_0x109050),gt(0x2,_0x3b3175(_0x5d8dca))],Ot);var Nr=Object[_0x1d7936(0x379)],wr=Object['getOwnPropertyDescriptor'],Ur=(_0x265362,_0x160b39,_0x4088c7,_0x5877ea)=>{var _0x1a921d=_0x1d7936;for(var _0x5f0fc6=_0x5877ea>0x1?void 0x0:_0x5877ea?wr(_0x160b39,_0x4088c7):_0x160b39,_0x8ef9c=_0x265362[_0x1a921d(0x1f1)]-0x1,_0x385683;_0x8ef9c>=0x0;_0x8ef9c--)(_0x385683=_0x265362[_0x8ef9c])&&(_0x5f0fc6=(_0x5877ea?_0x385683(_0x160b39,_0x4088c7,_0x5f0fc6):_0x385683(_0x5f0fc6))||_0x5f0fc6);return _0x5877ea&&_0x5f0fc6&&Nr(_0x160b39,_0x4088c7,_0x5f0fc6),_0x5f0fc6;},li=(_0x47ee1f,_0x57001e)=>(_0x4ecb22,_0x47dfab)=>_0x57001e(_0x4ecb22,_0x47dfab,_0x47ee1f);const Ar=_0x1d7936(0x30b);let Pt=class{constructor(_0x136d59,_0x320835){var _0x28a6d7=_0x1d7936;this[_0x28a6d7(0x254)]=_0x136d59,this[_0x28a6d7(0x485)]=_0x320835;}[_0x1d7936(0x3bd)](){var _0x474265=_0x1d7936,_0x37bfc9,_0xfe1bc8;const _0x3d7787=this[_0x474265(0x254)][_0x474265(0x29e)](wi),_0x1fa1e7=this['_configService']['getConfig'](Y);return(_0xfe1bc8=(_0x37bfc9=_0x1fa1e7==null?void 0x0:_0x1fa1e7[_0x474265(0x46d)])!=null?_0x37bfc9:_0x3d7787)!=null?_0xfe1bc8:Ar;}async[_0x1d7936(0x310)](_0x225f2d){var _0x443d36=_0x1d7936;const _0x4e3907=this[_0x443d36(0x3bd)]()+_0x443d36(0x3a8);return{'list':[{'title':'People','mentions':(await this[_0x443d36(0x485)][_0x443d36(0x1bf)](_0x4e3907,{'params':{'objectID':_0x225f2d[_0x443d36(0x3a9)],'unitID':_0x225f2d[_0x443d36(0x3a9)]}}))['body'][_0x443d36(0x21b)]['map'](_0x4ad056=>({'objectId':_0x4ad056['id'],'name':_0x4ad056['subject'][_0x443d36(0x265)],'metadata':{'icon':_0x4ad056[_0x443d36(0x3f9)][_0x443d36(0x3d6)]},'label':_0x4ad056[_0x443d36(0x3f9)]['name'],'objectType':_0x3d801f[_0x443d36(0x3da)]})),'metadata':{},'type':_0x3d801f['PERSON']}]};}};Pt=Ur([li(0x0,_0x3b3175(_0x109050)),li(0x1,_0x3b3175(_0x3062fa))],Pt);var xr=Object['defineProperty'],Lr=Object[_0x1d7936(0x2e4)],Mr=(_0x1a1b18,_0x22d0e6,_0x537c1e,_0x577eae)=>{for(var _0x1efa76=_0x577eae>0x1?void 0x0:_0x577eae?Lr(_0x22d0e6,_0x537c1e):_0x22d0e6,_0x383a7b=_0x1a1b18['length']-0x1,_0x527638;_0x383a7b>=0x0;_0x383a7b--)(_0x527638=_0x1a1b18[_0x383a7b])&&(_0x1efa76=(_0x577eae?_0x527638(_0x22d0e6,_0x537c1e,_0x1efa76):_0x527638(_0x1efa76))||_0x1efa76);return _0x577eae&&_0x1efa76&&xr(_0x22d0e6,_0x537c1e,_0x1efa76),_0x1efa76;},Se=(_0x274167,_0x368532)=>(_0x2c9fbd,_0x3c03cd)=>_0x368532(_0x2c9fbd,_0x3c03cd,_0x274167);let ct=class extends _0x38bb5f{constructor(_0x13ff00,_0x3d1d83,_0x5c4618,_0xd8fd78,_0x4280e8,_0x1e691d,_0x4aee4b){var _0x26e6dd=_0x1d7936;super(),this[_0x26e6dd(0x251)]=_0x13ff00,this['_univerInstanceService']=_0x3d1d83,this[_0x26e6dd(0x3be)]=_0x5c4618,this[_0x26e6dd(0x3ce)]=_0xd8fd78,this['_collaborationUIEventService']=_0x4280e8,this[_0x26e6dd(0x31e)]=_0x1e691d,this[_0x26e6dd(0x3e3)]=_0x4aee4b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x15b0f3=_0x1d7936;const _0x5004be=async _0x3bdb2e=>{var _0x2615a5=_0x4a6f;(await this['_collaborationSessionService'][_0x2615a5(0x2c7)](_0x3bdb2e))['event$'][_0x2615a5(0x49d)](_0x17dc13(_0x1510df=>_0x1510df['eventID']===_0x486605[_0x2615a5(0x380)]),_0xe140bc(this[_0x2615a5(0x3ae)]))['subscribe'](_0x417346=>{var _0x3f1f9a=_0x2615a5;const _0x1dae02=_0x417346,{reason:_0x4bd561}=_0x1dae02['data'];this['_collaborationUIEventService'][_0x3f1f9a(0x21a)]({'id':se[_0x3f1f9a(0x2cd)],'data':_0x4bd561}),this[_0x3f1f9a(0x3be)][_0x3f1f9a(0x2f4)](new _0x4207f1(_0x3bdb2e)['id'],!0x1),this[_0x3f1f9a(0x3ce)][_0x3f1f9a(0x3c4)](_0x3bdb2e);});};_0x5d5b30(this[_0x15b0f3(0x329)][_0x15b0f3(0x239)](_0x2afb19[_0x15b0f3(0x2ca)]),this[_0x15b0f3(0x329)][_0x15b0f3(0x239)](_0x2afb19['UNIVER_DOC']))[_0x15b0f3(0x49d)](_0x45eaca(_0x99c708=>_0x99c708[_0x15b0f3(0x3bf)]()),_0x17dc13(_0x38ed1c=>!_0x3ed59c(_0x38ed1c)),_0xe140bc(this[_0x15b0f3(0x3ae)]))['subscribe'](_0x860ff8=>{_0x5004be(_0x860ff8);});}['_initUnitPermissionChange'](){var _0x5e6094=_0x1d7936;const _0x4b347b=async _0x5b4e39=>{var _0xdbb15=_0x4a6f;(await this[_0xdbb15(0x3ce)][_0xdbb15(0x2c7)](_0x5b4e39))[_0xdbb15(0x26e)][_0xdbb15(0x49d)](_0x17dc13(_0x2c2df6=>_0x2c2df6['eventID']===_0x486605[_0xdbb15(0x287)]),_0xe140bc(this[_0xdbb15(0x3ae)]))[_0xdbb15(0x3b4)](_0x5dac97=>{var _0x335d6a=_0xdbb15;const _0x335393=_0x5dac97,{objectId:_0x45636b}=_0x335393[_0x335d6a(0x42d)];_0x45636b===_0x5b4e39?this[_0x335d6a(0x27d)](_0x5b4e39):this[_0x335d6a(0x2b3)](_0x5b4e39,_0x45636b);});};_0x5d5b30(this[_0x5e6094(0x329)]['getTypeOfUnitAdded$'](_0x2afb19[_0x5e6094(0x2ca)]),this[_0x5e6094(0x329)][_0x5e6094(0x239)](_0x2afb19[_0x5e6094(0x45b)]))[_0x5e6094(0x49d)](_0x45eaca(_0x7f3b1f=>_0x7f3b1f[_0x5e6094(0x3bf)]()),_0x17dc13(_0xbef557=>!_0x3ed59c(_0xbef557)),_0xe140bc(this[_0x5e6094(0x3ae)]))['subscribe'](_0x1bdb08=>{_0x4b347b(_0x1bdb08);});}async[_0x1d7936(0x27d)](_0x24f6c7){var _0x234508=_0x1d7936,_0x5ae3bd;const _0x257b82=_0x24f6c7||((_0x5ae3bd=this['_univerInstanceService']['getCurrentUnitForType'](_0x2afb19['UNIVER_SHEET']))==null?void 0x0:_0x5ae3bd[_0x234508(0x3bf)]());_0x257b82&&this[_0x234508(0x31e)][_0x234508(0x3c1)]({'objectID':_0x257b82,'objectType':_0x426f6f[_0x234508(0x367)],'unitID':_0x257b82,'actions':_0x4dba5c})['then'](_0x5c6d91=>{_0xfa82e6()['forEach'](_0x6e5348=>{var _0x2c9869=_0x4a6f;const _0x1cf221=new _0x6e5348(_0x257b82),_0xa35b60=_0x1cf221['subType'],_0x4a3a42=_0x5c6d91[_0x2c9869(0x222)](_0x36d6a6=>_0x36d6a6[_0x2c9869(0x213)]===_0xa35b60);_0x4a3a42&&this[_0x2c9869(0x3be)][_0x2c9869(0x2f4)](_0x1cf221['id'],_0x4a3a42[_0x2c9869(0x3c1)]);});});}['refreshPermission'](_0x2ce29a,_0x47a45b){var _0x54b343=_0x1d7936;const _0x53d2a2=this[_0x54b343(0x251)]['get'](_0x3882b7),_0x198878=_0x53d2a2['getTargetByPermissionId'](_0x2ce29a,_0x47a45b);let _0x583974=!0x1;if(_0x198878){const [_0x1d15d2,_0x17c960]=_0x198878;this['_authzIoService'][_0x54b343(0x3c1)]({'objectID':_0x47a45b,'unitID':_0x2ce29a,'objectType':_0x426f6f[_0x54b343(0x2ba)],'actions':_0x18ffc7})[_0x54b343(0x3c5)](_0x1fe122=>{var _0x35b760=_0x54b343;let _0x2bf1c3='';_0x28a117()['forEach'](_0x54967e=>{var _0x3c890b=_0x4a6f,_0x3d64f2;const _0x33c3bf=new _0x54967e(_0x2ce29a,_0x17c960),_0x442b13=_0x33c3bf[_0x3c890b(0x497)],_0x3168e1=_0x1fe122['find'](_0x1477e3=>_0x1477e3[_0x3c890b(0x213)]===_0x442b13);_0x3168e1&&(((_0x3d64f2=this[_0x3c890b(0x3be)][_0x3c890b(0x1d7)](_0x33c3bf['id']))==null?void 0x0:_0x3d64f2[_0x3c890b(0x2e9)])!==_0x3168e1['allowed']&&(_0x583974=!0x0),this[_0x3c890b(0x3be)][_0x3c890b(0x2f4)](_0x33c3bf['id'],_0x3168e1[_0x3c890b(0x3c1)]),_0x2bf1c3+=_0x3168e1[_0x3c890b(0x213)]+'_'+_0x3168e1[_0x3c890b(0x3c1)]);}),_0x53d2a2['ruleRefresh'](_0x47a45b+'_'+_0x2bf1c3),_0x583974&&this[_0x35b760(0x3e3)][_0x35b760(0x28e)](_0x2ce29a);});}const _0x27cd36=this[_0x54b343(0x251)][_0x54b343(0x1bf)](_0x3bc5e6)[_0x54b343(0x3c0)](_0x2ce29a,_0x47a45b);if(_0x27cd36){const [_0x215750,_0x5f4e6c]=_0x27cd36;this[_0x54b343(0x31e)][_0x54b343(0x3c1)]({'objectID':_0x47a45b,'unitID':_0x2ce29a,'objectType':_0x426f6f[_0x54b343(0x2ba)],'actions':_0xcac288})[_0x54b343(0x3c5)](_0x435f30=>{var _0x469ea8=_0x54b343;_0x1c7fb4()[_0x469ea8(0x2b9)](_0x936a73=>{var _0xca42cd=_0x469ea8,_0x4b66ab;const _0x323bda=new _0x936a73(_0x2ce29a,_0x5f4e6c),_0x20f035=_0x323bda[_0xca42cd(0x497)],_0x2865f7=_0x435f30[_0xca42cd(0x222)](_0x4c6722=>_0x4c6722['action']===_0x20f035);_0x2865f7&&(((_0x4b66ab=this[_0xca42cd(0x3be)][_0xca42cd(0x1d7)](_0x323bda['id']))==null?void 0x0:_0x4b66ab['value'])!==_0x2865f7[_0xca42cd(0x3c1)]&&(_0x583974=!0x0),this[_0xca42cd(0x3be)][_0xca42cd(0x2f4)](_0x323bda['id'],_0x2865f7['allowed']));}),_0x583974&&this['_undoRedoService'][_0x469ea8(0x28e)](_0x2ce29a);});}const _0x2fddca=this[_0x54b343(0x251)][_0x54b343(0x1bf)](_0x13916d),_0xf3c5af=_0x2fddca[_0x54b343(0x3c0)](_0x2ce29a,_0x47a45b);if(_0xf3c5af){const [_0x196c4d,_0x5ba6e0]=_0xf3c5af;this['_authzIoService'][_0x54b343(0x3c1)]({'objectID':_0x47a45b,'unitID':_0x2ce29a,'objectType':_0x426f6f['SelectRange'],'actions':_0x18ffc7})['then'](_0x1ec793=>{var _0x23542e=_0x54b343;let _0x1b76b7='';_0xad7df4()[_0x23542e(0x2b9)](_0x5bfcb1=>{var _0x5c4321=_0x23542e,_0x4e21ac;const _0x284b2f=new _0x5bfcb1(_0x2ce29a,_0x5ba6e0,_0x47a45b),_0x4c2565=_0x284b2f[_0x5c4321(0x497)],_0x31e6e0=_0x1ec793[_0x5c4321(0x222)](_0x49d376=>_0x49d376[_0x5c4321(0x213)]===_0x4c2565);_0x31e6e0&&(((_0x4e21ac=this[_0x5c4321(0x3be)]['getPermissionPoint'](_0x284b2f['id']))==null?void 0x0:_0x4e21ac['value'])!==_0x31e6e0[_0x5c4321(0x3c1)]&&(_0x583974=!0x0),this[_0x5c4321(0x3be)][_0x5c4321(0x2f4)](_0x284b2f['id'],_0x31e6e0['allowed']),_0x1b76b7+=_0x31e6e0[_0x5c4321(0x213)]+'_'+_0x31e6e0[_0x5c4321(0x3c1)]);}),_0x2fddca[_0x23542e(0x45d)](_0x47a45b+'_'+_0x1b76b7),_0x583974&&this['_undoRedoService'][_0x23542e(0x28e)](_0x2ce29a);});}}};ct=Mr([Se(0x0,_0x3b3175(_0x10c67c)),Se(0x1,_0x5d8dca),Se(0x2,_0x5cec21),Se(0x3,_0x3b3175(Me)),Se(0x4,_0x3b3175(pe)),Se(0x5,_0xace9b4),Se(0x6,_0x2c00ef)],ct);var $r=Object[_0x1d7936(0x379)],Hr=Object['getOwnPropertyDescriptor'],kr=(_0x433b70,_0x4c3bfd,_0x588526,_0x159c6b)=>{var _0x42f8a1=_0x1d7936;for(var _0x6ec1ef=_0x159c6b>0x1?void 0x0:_0x159c6b?Hr(_0x4c3bfd,_0x588526):_0x4c3bfd,_0x2f6072=_0x433b70[_0x42f8a1(0x1f1)]-0x1,_0x22f8e8;_0x2f6072>=0x0;_0x2f6072--)(_0x22f8e8=_0x433b70[_0x2f6072])&&(_0x6ec1ef=(_0x159c6b?_0x22f8e8(_0x4c3bfd,_0x588526,_0x6ec1ef):_0x22f8e8(_0x6ec1ef))||_0x6ec1ef);return _0x159c6b&&_0x6ec1ef&&$r(_0x4c3bfd,_0x588526,_0x6ec1ef),_0x6ec1ef;},ui=(_0x2072cc,_0x313bd4)=>(_0x18fb48,_0x56fa13)=>_0x313bd4(_0x18fb48,_0x56fa13,_0x2072cc);let Dt=class{constructor(_0x548e49,_0x528735){var _0x297478=_0x1d7936;this[_0x297478(0x254)]=_0x548e49,this[_0x297478(0x1cc)]=_0x528735;}async[_0x1d7936(0x1dd)](_0x5aaca8,_0x42ef01){var _0x8785d9=_0x1d7936,_0x4dc98a;const {unitID:_0x36bdc0,type:_0x32862a,revision:_0x437a43=0x0}=_0x42ef01,_0x299388=this[_0x8785d9(0x338)]()+'/'+_0x32862a+_0x8785d9(0x22f)+_0x36bdc0+_0x8785d9(0x1ef)+_0x437a43,_0x257229=(await this[_0x8785d9(0x1cc)][_0x8785d9(0x1bf)](_0x299388))[_0x8785d9(0x407)],_0x47a64e=(_0x4dc98a=_0x257229['snapshot'])==null?void 0x0:_0x4dc98a[_0x8785d9(0x448)];if(_0x47a64e){const _0x4cd89a=_0x47a64e==null?void 0x0:_0x47a64e[_0x8785d9(0x349)],_0x2670a4=_0x10c250[_0x8785d9(0x1fc)](_0x5d5055(_0x4cd89a));_0x47a64e[_0x8785d9(0x349)]=_0x2670a4,Object[_0x8785d9(0x42a)](_0x47a64e['sheets'])[_0x8785d9(0x2b9)](([,_0x1a398a])=>{var _0x1ef41c=_0x8785d9;const _0x328a60=_0x1a398a[_0x1ef41c(0x349)],_0x19af91=_0x10c250['encode'](_0x5d5055(_0x328a60));_0x1a398a[_0x1ef41c(0x349)]=_0x19af91;});}return _0x257229;}async['getSheetBlock'](_0x426866,_0x2b95e9){var _0x3170b7=_0x1d7936;const {unitID:_0x2d9d06,type:_0x2c376e,blockID:_0xb80cb6}=_0x2b95e9,_0x1c7a32=this[_0x3170b7(0x40e)]()+'/'+_0x2c376e+_0x3170b7(0x22f)+_0x2d9d06+_0x3170b7(0x414)+_0xb80cb6;return(await this['_httpService'][_0x3170b7(0x1bf)](_0x1c7a32))[_0x3170b7(0x407)];}async[_0x1d7936(0x492)](_0x1ab86f,_0x33efea){var _0x21f5bc=_0x1d7936;const {unitID:_0x179ef3,type:_0x4e5aaf,blockID:_0x21a09f}=_0x33efea,_0x1cb530=this[_0x21f5bc(0x40e)]()+_0x21f5bc(0x414)+_0x4e5aaf+'/unit/'+_0x179ef3+'/block/'+_0x21a09f;return(await this['_httpService']['get'](_0x1cb530))['body'];}async[_0x1d7936(0x40d)](_0x3cc186,_0x3e4718){var _0x3bceb9=_0x1d7936;const {unitID:_0x4f0844,type:_0x1d5472,from:_0x58644c,to:_0x4b9f43}=_0x3e4718,_0x3f8fdb=this[_0x3bceb9(0x40e)]()+'/'+_0x1d5472+'/unit/'+_0x4f0844+_0x3bceb9(0x45f)+_0x58644c+'&to='+_0x4b9f43;return(await this[_0x3bceb9(0x1cc)]['get'](_0x3f8fdb))['body'];}[_0x1d7936(0x338)](){var _0x116972=_0x1d7936,_0x2b5232;return(_0x2b5232=this['_configService'][_0x116972(0x29e)](On))!=null?_0x2b5232:this['_getAPIPrefix']();}[_0x1d7936(0x40e)](){var _0x30d24d=_0x1d7936,_0x5c9dc2,_0x4ee62a;const _0x33bd18=this[_0x30d24d(0x254)][_0x30d24d(0x29e)](Rn),_0x5bdec2=this['_configService']['getConfig'](Y);return(_0x4ee62a=(_0x5c9dc2=_0x5bdec2==null?void 0x0:_0x5bdec2[_0x30d24d(0x39a)])!=null?_0x5c9dc2:_0x33bd18)!=null?_0x4ee62a:yn;}async['getResourcesRequest'](_0x379e1a,_0x1e5690){var _0xb6d6d8=_0x1d7936;const _0x1c48e0=_0xb6d6d8(0x2f3)+_0x1e5690[_0xb6d6d8(0x4b0)]+_0xb6d6d8(0x22f)+_0x1e5690[_0xb6d6d8(0x328)]+_0xb6d6d8(0x2f0);return(await this[_0xb6d6d8(0x1cc)][_0xb6d6d8(0x1bf)](_0x1c48e0,{'params':{'resourceId':JSON[_0xb6d6d8(0x311)](_0x1e5690[_0xb6d6d8(0x34c)])}}))[_0xb6d6d8(0x407)];}[_0x1d7936(0x322)](){var _0x18b9a0=_0x1d7936;throw new Error(_0x18b9a0(0x3de));}['saveSheetBlock'](){var _0x59e4c4=_0x1d7936;throw new Error(_0x59e4c4(0x3de));}[_0x1d7936(0x478)](){var _0x3661f1=_0x1d7936;throw new Error(_0x3661f1(0x3de));}['copyFileMeta'](){var _0x79f4b4=_0x1d7936;throw new Error(_0x79f4b4(0x3de));}[_0x1d7936(0x47d)](){var _0x38a7bd=_0x1d7936;throw new Error(_0x38a7bd(0x3de));}};Dt=kr([ui(0x0,_0x109050),ui(0x1,_0x3b3175(_0x3062fa))],Dt);var jr=Object[_0x1d7936(0x379)],Br=Object[_0x1d7936(0x2e4)],Fr=(_0xaf5938,_0x3a17f2,_0x6ad891,_0x3b8a63)=>{var _0x250b81=_0x1d7936;for(var _0x22cba7=_0x3b8a63>0x1?void 0x0:_0x3b8a63?Br(_0x3a17f2,_0x6ad891):_0x3a17f2,_0x995a0d=_0xaf5938[_0x250b81(0x1f1)]-0x1,_0x4b98a5;_0x995a0d>=0x0;_0x995a0d--)(_0x4b98a5=_0xaf5938[_0x995a0d])&&(_0x22cba7=(_0x3b8a63?_0x4b98a5(_0x3a17f2,_0x6ad891,_0x22cba7):_0x4b98a5(_0x22cba7))||_0x22cba7);return _0x3b8a63&&_0x22cba7&&jr(_0x3a17f2,_0x6ad891,_0x22cba7),_0x22cba7;},we=(_0x3edd15,_0x1c070f)=>(_0x1c8303,_0x282380)=>_0x1c070f(_0x1c8303,_0x282380,_0x3edd15);let Nt=class extends _0x1c30e1{constructor(_0x1a4cd9,_0x4aff02,_0x566d7f,_0x1e5a08,_0x15ac92){var _0x25f557=_0x1d7936;super(_0x1a4cd9,_0x4aff02,_0x566d7f),this[_0x25f557(0x353)]=_0x1e5a08,this[_0x25f557(0x41a)]=_0x15ac92;}[_0x1d7936(0x2c5)](_0x3018a5,_0x2be554){var _0x3e3943=_0x1d7936;const _0x74213c=this['_getUndoStack'](_0x3018a5);if(_0x74213c)try{const _0x35b261=this[_0x3e3943(0x46f)](_0x74213c,_0x2be554);this['_substituteUndoStack'](_0x3018a5,_0x35b261);}catch(_0x5c5216){this[_0x3e3943(0x41a)]['error']('[CollaborationUndoRedoService]',_0x5c5216),this[_0x3e3943(0x286)](_0x3018a5);}const _0x5baa74=this[_0x3e3943(0x2b0)](_0x3018a5);if(_0x5baa74)try{const _0x1a5f55=this[_0x3e3943(0x46f)](_0x5baa74,_0x2be554);this[_0x3e3943(0x24a)](_0x3018a5,_0x1a5f55);}catch(_0x19d71b){this['_logService'][_0x3e3943(0x36c)](_0x19d71b),this[_0x3e3943(0x339)](_0x3018a5);}}[_0x1d7936(0x286)](_0x4db80f){var _0x597c51=_0x1d7936;const _0xeb5387=this[_0x597c51(0x306)](_0x4db80f);_0xeb5387&&(_0xeb5387[_0x597c51(0x1f1)]=0x0,this[_0x597c51(0x2b7)]());}[_0x1d7936(0x339)](_0x257e7b){var _0x4834d2=_0x1d7936;const _0x564751=this[_0x4834d2(0x2b0)](_0x257e7b);_0x564751&&(_0x564751[_0x4834d2(0x1f1)]=0x0,this[_0x4834d2(0x2b7)]());}['_substituteUndoStack'](_0x8ee602,_0x10e3fa){var _0x1aa67f=_0x1d7936;this[_0x1aa67f(0x40c)]['set'](_0x8ee602,_0x10e3fa),this[_0x1aa67f(0x2b7)]();}['_substituteRedoStack'](_0x59d270,_0x4c020b){var _0x167d92=_0x1d7936;this['_redoStacks'][_0x167d92(0x274)](_0x59d270,_0x4c020b),this['_updateStatus']();}['_transformStack'](_0x4c7ec7,_0x4072ff){var _0x6e08bf=_0x1d7936;const _0x3c89bb=[];let _0x20b643=_0x4072ff,_0x4f85e0=_0x4072ff;for(let _0x2e4627=_0x4c7ec7[_0x6e08bf(0x1f1)]-0x1;_0x2e4627>=0x0;_0x2e4627--){const {unitID:_0x30a553,undoMutations:_0x42a9de,redoMutations:_0x4bfded}=_0x4c7ec7[_0x2e4627],_0x917dcf=this[_0x6e08bf(0x353)][_0x6e08bf(0x3b0)](_0x20b643,_0x42a9de),_0x1d83ce=this[_0x6e08bf(0x353)]['transformMutationsWithChangeset'](_0x4f85e0,_0x4bfded);if(_0x4d2a66(_0x917dcf)||_0x4d2a66(_0x1d83ce)){this[_0x6e08bf(0x41a)][_0x6e08bf(0x36c)]('[CollaborationUndoRedoService]',_0x6e08bf(0x368),_0x917dcf,_0x1d83ce);break;}_0x20b643=_0x917dcf[_0x6e08bf(0x2c9)],_0x4f85e0=_0x1d83ce['c1Prime'],_0x3c89bb[_0x6e08bf(0x2ee)]({'unitID':_0x30a553,'undoMutations':_0x917dcf[_0x6e08bf(0x321)],'redoMutations':_0x1d83ce[_0x6e08bf(0x321)]});}return _0x3c89bb[_0x6e08bf(0x382)]();}};Nt=Fr([we(0x0,_0x5d8dca),we(0x1,_0x4b91fc),we(0x2,_0x17a4e5),we(0x3,_0x15468b),we(0x4,_0x49c65f)],Nt);var Li=Object[_0x1d7936(0x379)],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x4fb25b,_0xb59c05,_0x5785f9)=>_0xb59c05 in _0x4fb25b?Li(_0x4fb25b,_0xb59c05,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5785f9}):_0x4fb25b[_0xb59c05]=_0x5785f9,Gr=(_0xad02e9,_0x32562e,_0x582574,_0x2e0f90)=>{for(var _0x31b55e=_0x2e0f90>0x1?void 0x0:_0x2e0f90?Vr(_0x32562e,_0x582574):_0x32562e,_0x24e28c=_0xad02e9['length']-0x1,_0x500db4;_0x24e28c>=0x0;_0x24e28c--)(_0x500db4=_0xad02e9[_0x24e28c])&&(_0x31b55e=(_0x2e0f90?_0x500db4(_0x32562e,_0x582574,_0x31b55e):_0x500db4(_0x31b55e))||_0x31b55e);return _0x2e0f90&&_0x31b55e&&Li(_0x32562e,_0x582574,_0x31b55e),_0x31b55e;},St=(_0x61a84d,_0x3a1cd9)=>(_0xae6010,_0x256440)=>_0x3a1cd9(_0xae6010,_0x256440,_0x61a84d),Kr=(_0x42a537,_0x42ce7a,_0x1ed69e)=>Wr(_0x42a537,_0x42ce7a+'',_0x1ed69e);const zr=_0x1d7936(0x210);let wt=class extends _0xe235af{constructor(_0x5ca119=Bn,_0x70dee1,_0x225e59,_0x4dcdc9){var _0x33047f=_0x1d7936;super(),this[_0x33047f(0x444)]=_0x5ca119,this[_0x33047f(0x41a)]=_0x70dee1,this[_0x33047f(0x251)]=_0x225e59,this[_0x33047f(0x254)]=_0x4dcdc9;const {..._0x324def}=this[_0x33047f(0x444)];this[_0x33047f(0x254)][_0x33047f(0x211)](Y,_0x324def);}[_0x1d7936(0x449)](){var _0x3f36fb=_0x1d7936;this['_registerDependencies'](),this[_0x3f36fb(0x482)]();}[_0x1d7936(0x3fe)](){var _0x3b047f=_0x1d7936,_0x5ab9e1,_0x368e85,_0xaa5706,_0x34cec1;this['_injector'][_0x3b047f(0x2a6)](_0x2c00ef)&&this[_0x3b047f(0x41a)][_0x3b047f(0x36c)](_0x3b047f(0x397),_0x3b047f(0x38d));const _0x53cb40=_0x13bfbc([[_0x2c00ef,{'useClass':Nt}],[Me],[Le],[_0x33ca30],[nt],[ot],[at],[Ri],[ct],[pe],[yt],[bi,{'useClass':(_0x368e85=(_0x5ab9e1=this[_0x3b047f(0x444)])==null?void 0x0:_0x5ab9e1[_0x3b047f(0x39d)])!=null?_0x368e85:Et}],[_0xd353c1,{'useClass':Dt}],[_0xace9b4,{'useClass':Rt}],[_0x167cee,{'useClass':Ot}],[_0x462c52,{'useClass':Pt}],[rt],[bt]],(_0xaa5706=this[_0x3b047f(0x444)])==null?void 0x0:_0xaa5706[_0x3b047f(0x271)]);if(!((_0x34cec1=this[_0x3b047f(0x444)])!=null&&_0x34cec1[_0x3b047f(0x27f)])){const _0x1e626d=_0x53cb40['findIndex'](([_0x1415a4])=>_0x1415a4===ht);_0x1e626d!==-0x1&&_0x53cb40['splice'](_0x1e626d,0x1);}_0x4630e1(this[_0x3b047f(0x251)],_0x53cb40);}['_initDependencies'](){var _0x11defe=_0x1d7936,_0x53530e,_0x34f026;this[_0x11defe(0x251)][_0x11defe(0x1bf)](_0x3062fa)[_0x11defe(0x1e5)]({'priority':0x14,'interceptor':_0x8fa5cc({'maxParallel':0x6})}),(_0x53530e=this[_0x11defe(0x444)])!=null&&_0x53530e[_0x11defe(0x47c)]||this['_injector'][_0x11defe(0x1bf)](X)[_0x11defe(0x351)](),(_0x34f026=this['_config'])!=null&&_0x34f026[_0x11defe(0x2d7)]&&_0x1680f1(this[_0x11defe(0x251)],[[ot]]),_0x1680f1(this[_0x11defe(0x251)],[[at],[rt],[ct]]);}};Kr(wt,_0x1d7936(0x219),zr),wt=Gr([_0x45a5c5(_0x683277,_0x4c21a2,_0x2e0356),St(0x1,_0x49c65f),St(0x2,_0x3b3175(_0x10c67c)),St(0x3,_0x109050)],wt);export{wi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,$n as COLLAB_SUBMIT_CHANGESET_URL_KEY,Dn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Ot as CollaborationImageIoService,It as CollaborationSession,Me as CollaborationSessionService,Et as CollaborationSocketService,Pi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Nt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,Nn as DEFAULT_COLLAB_WEB_SOCKET_URL,yt as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Un as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,ht as ISingleActiveUnitService,oo as LOCAL_CACHE_INTERVAL,ro as LOCAL_CACHE_INTERVAL_KEY,kn as LOGIN_URL_KEY,Le as MemberService,Pt as MentionIoHttpService,fe as OfflineState,re as PendingState,Ln as RETRY_CONNECTING_MAX_COUNT_KEY,so as SEND_CHANGESET_TIMEOUT_KEY,Rn as SNAPSHOT_SERVER_URL_KEY,On as SNAPSHOT_URL_KEY,Ie as SessionStatus,Ct as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,wt as UniverCollaborationClientPlugin,Fn as deserializeToCombResponse,ao as getLocalCacheKey,Vn as serializeCombRequest};
1
+ var _0x133617=_0x338e;(function(_0x2642d7,_0x3651e7){var _0x5d9df6=_0x338e,_0x2841cc=_0x2642d7();while(!![]){try{var _0x5993e2=parseInt(_0x5d9df6(0x1a7))/0x1*(parseInt(_0x5d9df6(0x342))/0x2)+parseInt(_0x5d9df6(0x23c))/0x3+parseInt(_0x5d9df6(0x2de))/0x4+parseInt(_0x5d9df6(0x368))/0x5+-parseInt(_0x5d9df6(0x1bf))/0x6+-parseInt(_0x5d9df6(0x1da))/0x7*(parseInt(_0x5d9df6(0x3b9))/0x8)+-parseInt(_0x5d9df6(0x2b9))/0x9*(-parseInt(_0x5d9df6(0x246))/0xa);if(_0x5993e2===_0x3651e7)break;else _0x2841cc['push'](_0x2841cc['shift']());}catch(_0x1c215c){_0x2841cc['push'](_0x2841cc['shift']());}}}(_0x2c06,0x72f12));var Li=Object['defineProperty'],Mi=(_0x32ab52,_0xdaf04a,_0x2feb32)=>_0xdaf04a in _0x32ab52?Li(_0x32ab52,_0xdaf04a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2feb32}):_0x32ab52[_0xdaf04a]=_0x2feb32,D=(_0x3f0482,_0x3c735e,_0x8dde2a)=>Mi(_0x3f0482,typeof _0x3c735e!=_0x133617(0x19c)?_0x3c735e+'':_0x3c735e,_0x8dde2a);import{createIdentifier as _0x45daf3,Inject as _0x1dc41d,Injector as _0x485aa2,Disposable as _0xf6a891,DisposableCollection as _0x5dbfe8,toDisposable as _0x2b5885,IConfigService as _0x387b00,ILogService as _0x9980c2,UserManagerService as _0x2077be,UniverInstanceType as _0x4b329a,IUniverInstanceService as _0x23476a,LocaleService as _0x5bfcba,Optional as _0x13f1aa,RxDisposable as _0x2c04b2,Tools as _0x3e74e3,Rectangle as _0xcbaad8,ICommandService as _0x3a3afb,JSONX as _0x1084ae,CommandType as _0x2fe081,IPermissionService as _0x113cc3,IUndoRedoService as _0x2c523a,sequenceExecute as _0x31582c,Workbook as _0x3eae1b,MentionType as _0x137850,IAuthzIoService as _0x14700c,isInternalEditorID as _0x587025,LocalUndoRedoService as _0x198a18,IContextService as _0x42c599,DependentOn as _0x4b1631,Plugin as _0x91ca3,mergeOverrideWithDependencies as _0x3f2ea0,IMentionIOService as _0xe7468f,registerDependencies as _0x1b4978,Quantity as _0x48e2f0,touchDependencies as _0x5b52da}from'@univerjs/core';import{Subject as _0x48a56c,merge as _0x157496,takeUntil as _0x48340f,BehaviorSubject as _0x560b1b,ReplaySubject as _0xb997b3,take as _0x196b29,map as _0x9d5677,shareReplay as _0x29092f,of as _0x5f500f,firstValueFrom as _0x2d770b,concatMap as _0x5c9c44}from'rxjs';import{map as _0xab3a8f,take as _0x1ac8f6,filter as _0x187f73,delay as _0x50b254,takeUntil as _0x5468ef}from'rxjs/operators';import{HTTPService as _0x566212,ISocketService as _0x469cc3,MergeInterceptorFactory as _0x59cea1,HTTPRequest as _0x3666bf,UniverNetworkPlugin as _0x51ff62,ThresholdInterceptorFactory as _0x518aa4}from'@univerjs/network';import{CollaborationEvent as _0xef4ce6,parseChangesetToProtocol as _0x16e07b,ISnapshotServerService as _0x36001d,isTransformMutationsWithChangesetSuccess as _0x7af77d,ITransformService as _0x4915cb,mapDocumentTypeToUniverType as _0x53e7dd,RevisionService as _0x1db671,isTransformChangesetsSuccess as _0x48de75,CompressMutationService as _0x197e0d,parseProtocolChangeset as _0x578aac,SnapshotService as _0x202204,textEncoder as _0x35d930,b64DecodeUnicode as _0x82e599,isTransformMutationsWithChangesetFailure as _0x25ac26,UniverCollaborationPlugin as _0x54914a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x562172}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5a5832}from'@univerjs/docs';import{SheetsSelectionsService as _0x183319,SetSelectionsOperation as _0x20231e,InsertSheetMutation as _0x549ad3,EmptyMutation as _0x5c1323,WorkbookEditablePermission as _0x4c611b,UnitObject as _0x4d688a,defaultWorkbookPermissionPoints as _0x47b2b7,getAllWorkbookPermissionPoint as _0x158093,WorksheetProtectionRuleModel as _0x39b53c,baseProtectionActions as _0x1a72fc,getAllWorksheetPermissionPoint as _0x476f0a,WorksheetProtectionPointModel as _0x146216,defaultWorksheetPermissionPoint as _0x59ce61,getAllWorksheetPermissionPointByPointPanel as _0x2f65ed,RangeProtectionRuleModel as _0x30e8bd,getAllRangePermissionPoint as _0x3abc76,UniverSheetsPlugin as _0x8011e7}from'@univerjs/sheets';import{ImageSourceType as _0x1f497d,ImageUploadStatusType as _0x44ca29,IImageIoService as _0x4bb744}from'@univerjs/drawing';import{getGlobalObject as _0x521dca}from'@univerjs-pro/license';const Pn=_0x133617(0x350),Nn=_0x133617(0x327),Dn=_0x133617(0x317),ho=_0x133617(0x2e0),wn=0x7d0,Un=_0x133617(0x3ff),An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0x133617(0x39e),Ln='HEARTBEAT_INTERVAL',Mn=0x7530,Si=_0x133617(0x25a),Ei=0x4e20,$n=0x4e20,Hn=_0x133617(0x352),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x133617(0x3aa),Fn=_0x133617(0x28d),Vn=_0x133617(0x2fd);var Ii=(_0x41cb0d=>(_0x41cb0d[_0x41cb0d['UNDEFINED']=0x0]=_0x133617(0x29a),_0x41cb0d[_0x41cb0d['OK']=0x1]='OK',_0x41cb0d[_0x41cb0d['INTERNAL_ERROR']=0x2]=_0x133617(0x17e),_0x41cb0d[_0x41cb0d['PERMISSION_DENIED']=0x3]=_0x133617(0x3b7),_0x41cb0d[_0x41cb0d['NOT_FOUND']=0x4]='NOT_FOUND',_0x41cb0d[_0x41cb0d['UNAUTHENTICATED']=0x5]=_0x133617(0x27f),_0x41cb0d[_0x41cb0d[_0x133617(0x3d6)]=0x6]=_0x133617(0x3d6),_0x41cb0d[_0x41cb0d[_0x133617(0x23b)]=0x7]=_0x133617(0x23b),_0x41cb0d[_0x41cb0d[_0x133617(0x1e9)]=0x8]=_0x133617(0x1e9),_0x41cb0d[_0x41cb0d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x41cb0d[_0x41cb0d[_0x133617(0x1bc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x41cb0d[_0x41cb0d[_0x133617(0x227)]=0x1771]=_0x133617(0x227),_0x41cb0d[_0x41cb0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41cb0d[_0x41cb0d[_0x133617(0x359)]=0x1773]=_0x133617(0x359),_0x41cb0d[_0x41cb0d[_0x133617(0x461)]=0x1b59]=_0x133617(0x461),_0x41cb0d[_0x41cb0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x133617(0x257),_0x41cb0d[_0x41cb0d[_0x133617(0x457)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x41cb0d[_0x41cb0d[_0x133617(0x377)]=0x1b5c]=_0x133617(0x377),_0x41cb0d[_0x41cb0d[_0x133617(0x466)]=0x1b5d]=_0x133617(0x466),_0x41cb0d[_0x41cb0d[_0x133617(0x2c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x41cb0d[_0x41cb0d[_0x133617(0x294)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x41cb0d[_0x41cb0d[_0x133617(0x3a9)]=0x232a]=_0x133617(0x3a9),_0x41cb0d[_0x41cb0d[_0x133617(0x396)]=0x232b]=_0x133617(0x396),_0x41cb0d[_0x41cb0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x133617(0x45a),_0x41cb0d[_0x41cb0d[_0x133617(0x358)]=0x232d]=_0x133617(0x358),_0x41cb0d[_0x41cb0d[_0x133617(0x1dd)]=0x2711]=_0x133617(0x1dd),_0x41cb0d[_0x41cb0d[_0x133617(0x29f)]=0x2712]=_0x133617(0x29f),_0x41cb0d[_0x41cb0d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x133617(0x18a),_0x41cb0d[_0x41cb0d[_0x133617(0x203)]=0x2714]=_0x133617(0x203),_0x41cb0d[_0x41cb0d[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x41cb0d))(Ii||{}),Q=(_0x295ba=>(_0x295ba[_0x295ba[_0x133617(0x46b)]=0x0]=_0x133617(0x46b),_0x295ba[_0x295ba['UNIVER_DOC']=0x1]=_0x133617(0x3d1),_0x295ba[_0x295ba[_0x133617(0x184)]=0x2]=_0x133617(0x184),_0x295ba[_0x295ba['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x295ba[_0x295ba['UNIVER_PROJECT']=0x4]=_0x133617(0x263),_0x295ba[_0x295ba['UNRECOGNIZED']=-0x1]=_0x133617(0x42d),_0x295ba))(Q||{}),F=(_0x240a5c=>(_0x240a5c[_0x240a5c['UNKNOWN_CMD']=0x0]=_0x133617(0x1f6),_0x240a5c[_0x240a5c[_0x133617(0x434)]=0x1]='HELLO',_0x240a5c[_0x240a5c[_0x133617(0x2af)]=0x2]=_0x133617(0x2af),_0x240a5c[_0x240a5c[_0x133617(0x3d2)]=0x3]=_0x133617(0x3d2),_0x240a5c[_0x240a5c[_0x133617(0x239)]=0x4]=_0x133617(0x239),_0x240a5c[_0x240a5c[_0x133617(0x169)]=0x5]=_0x133617(0x169),_0x240a5c[_0x240a5c[_0x133617(0x25c)]=0x6]=_0x133617(0x25c),_0x240a5c[_0x240a5c[_0x133617(0x42d)]=-0x1]=_0x133617(0x42d),_0x240a5c))(F||{}),Ee=(_0x254b12=>(_0x254b12[_0x254b12[_0x133617(0x38d)]=0x0]=_0x133617(0x38d),_0x254b12[_0x254b12['OK']=0x1]='OK',_0x254b12[_0x254b12[_0x133617(0x316)]=0x2]=_0x133617(0x316),_0x254b12[_0x254b12['JOIN_ROOM_FULL']=0x3e9]=_0x133617(0x403),_0x254b12[_0x254b12[_0x133617(0x231)]=0x3ea]=_0x133617(0x231),_0x254b12[_0x254b12[_0x133617(0x2cd)]=0x3eb]=_0x133617(0x2cd),_0x254b12[_0x254b12[_0x133617(0x1ee)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x254b12[_0x254b12[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x254b12))(Ee||{}),Ti=(_0x40f729=>(_0x40f729[_0x40f729[_0x133617(0x217)]=0x0]=_0x133617(0x217),_0x40f729[_0x40f729[_0x133617(0x1f0)]=0x1]='HttpImport',_0x40f729[_0x40f729[_0x133617(0x390)]=0x2]=_0x133617(0x390),_0x40f729[_0x40f729[_0x133617(0x398)]=0x3]=_0x133617(0x398),_0x40f729[_0x40f729[_0x133617(0x356)]=0x4]=_0x133617(0x356),_0x40f729[_0x40f729[_0x133617(0x42d)]=-0x1]='UNRECOGNIZED',_0x40f729))(Ti||{});const Y=_0x133617(0x30f),Wn={};var se=(_0x3bb7a0=>(_0x3bb7a0[_0x133617(0x46c)]=_0x133617(0x46c),_0x3bb7a0[_0x133617(0x3b7)]=_0x133617(0x3b7),_0x3bb7a0[_0x133617(0x366)]=_0x133617(0x366),_0x3bb7a0[_0x133617(0x24a)]=_0x133617(0x24a),_0x3bb7a0[_0x133617(0x1e6)]=_0x133617(0x1e6),_0x3bb7a0[_0x133617(0x34d)]=_0x133617(0x34d),_0x3bb7a0[_0x133617(0x2a1)]=_0x133617(0x2a1),_0x3bb7a0[_0x133617(0x3b5)]=_0x133617(0x3b5),_0x3bb7a0))(se||{});class pe{constructor(){var _0x41ef1d=_0x133617;D(this,_0x41ef1d(0x407),new _0x48a56c()),D(this,_0x41ef1d(0x225),this['_event$']['asObservable']());}[_0x133617(0x3a3)](_0x3be5ca){var _0x4aad2f=_0x133617;this[_0x4aad2f(0x407)]['next'](_0x3be5ca);}}const Gn=_0x45daf3(_0x133617(0x20a));function Kn(_0x3f0dd2){var _0x2ad57c=_0x133617,_0x46473e,_0x5827a2,_0x556edb,_0x33b1ea,_0xd716c1;const _0x5e4283=_0x3f0dd2[_0x2ad57c(0x3b2)],_0x1129c5=JSON[_0x2ad57c(0x325)](_0x5e4283);switch(_0x1129c5[_0x2ad57c(0x17d)]){case F['HEARTBEAT']:case F['HELLO']:{const _0x57cd78=_0x1129c5[_0x2ad57c(0x229)];return{..._0x1129c5,'data':_0x57cd78,'cmd':_0x1129c5[_0x2ad57c(0x17d)]};}case F[_0x2ad57c(0x2af)]:{const _0x4fa2f5=_0x1129c5[_0x2ad57c(0x1cd)];return{..._0x1129c5,'data':_0x4fa2f5,'cmd':_0x1129c5['cmd']};}case F[_0x2ad57c(0x25c)]:{const _0x20153a=_0x1129c5[_0x2ad57c(0x3cc)];switch(_0x20153a[_0x2ad57c(0x2b2)]){case _0xef4ce6['PERMISSION_REJ']:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x46473e=_0x20153a['permissionRejEvent'])==null?void 0x0:_0x46473e['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x1fb)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x5827a2=_0x20153a['csAckEvent'])==null?void 0x0:_0x5827a2['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x30d)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x556edb=_0x20153a['newCsEvent'])==null?void 0x0:_0x556edb['cs']},'cmd':_0x1129c5['cmd']};case _0xef4ce6['CHANGESET_REJ']:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0x33b1ea=_0x20153a[_0x2ad57c(0x207)])==null?void 0x0:_0x33b1ea['cs']},'cmd':_0x1129c5['cmd']};case _0xef4ce6[_0x2ad57c(0x220)]:return{..._0x1129c5,'data':{..._0x20153a,'data':(_0xd716c1=_0x20153a[_0x2ad57c(0x28c)])==null?void 0x0:_0xd716c1['cs']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x175)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3bc)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x334)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['joinEvent']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6['USERS_LEAVE']:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3ae)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x168)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x1ea)]},'cmd':_0x1129c5['cmd']};case _0xef4ce6[_0x2ad57c(0x2e3)]:case _0xef4ce6[_0x2ad57c(0x3e1)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x243)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x204)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['liveShareNewHost']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x415)]:return{..._0x1129c5,'data':_0x20153a,'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x455)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x3f6)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x32e)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a[_0x2ad57c(0x21f)]},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};case _0xef4ce6[_0x2ad57c(0x333)]:return{..._0x1129c5,'data':{..._0x20153a,'data':_0x20153a['shouldCloseConn']},'cmd':_0x1129c5[_0x2ad57c(0x17d)]};default:return _0x1129c5;}}default:return _0x1129c5;}}function zn(_0x336f01){var _0x5661f8=_0x133617;switch(_0x336f01[_0x5661f8(0x17d)]){case F[_0x5661f8(0x169)]:case F[_0x5661f8(0x434)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01[_0x5661f8(0x17d)],'routeKey':_0x336f01[_0x5661f8(0x2f7)]});case F[_0x5661f8(0x239)]:{let _0xf25db3;switch(_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x2b2)]){case _0xef4ce6[_0x5661f8(0x175)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x175)],'updateCursorEvent':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x269)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x269)],'leaveEvent':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x334)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x334)],'joinEvent':_0x336f01[_0x5661f8(0x3b2)]['data']};break;}case _0xef4ce6[_0x5661f8(0x168)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x168)],'liveShareNewHost':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x3e1)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x3e1)],'liveShareOperation':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x204)]:{_0xf25db3={'eventID':_0xef4ce6['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6['LIVESHARE_REQUEST_HOST']:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x3d3)],'liveShareRequestHost':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x3b2)]};break;}case _0xef4ce6[_0x5661f8(0x2e3)]:{_0xf25db3={'eventID':_0xef4ce6[_0x5661f8(0x2e3)]};break;}default:_0xf25db3={'eventID':_0x336f01[_0x5661f8(0x3b2)][_0x5661f8(0x2b2)]};}return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01[_0x5661f8(0x2f7)],'collaMsg':_0xf25db3});}case F[_0x5661f8(0x2af)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01[_0x5661f8(0x2f7)],'joinReq':_0x336f01[_0x5661f8(0x3b2)]});case F[_0x5661f8(0x3d2)]:return JSON[_0x5661f8(0x347)]({'cmd':_0x336f01['cmd'],'routeKey':_0x336f01['routeKey'],'leaveReq':_0x336f01[_0x5661f8(0x3b2)]});default:throw new Error(_0x5661f8(0x1aa));}}var Yn=Object['defineProperty'],qn=Object['getOwnPropertyDescriptor'],Jn=(_0xdec36,_0xd01509,_0x281d8e,_0x4750df)=>{for(var _0x4192b2=_0x4750df>0x1?void 0x0:_0x4750df?qn(_0xd01509,_0x281d8e):_0xd01509,_0x1d2c87=_0xdec36['length']-0x1,_0x104886;_0x1d2c87>=0x0;_0x1d2c87--)(_0x104886=_0xdec36[_0x1d2c87])&&(_0x4192b2=(_0x4750df?_0x104886(_0xd01509,_0x281d8e,_0x4192b2):_0x104886(_0x4192b2))||_0x4192b2);return _0x4750df&&_0x4192b2&&Yn(_0xd01509,_0x281d8e,_0x4192b2),_0x4192b2;},we=(_0x304757,_0x509a90)=>(_0x1cccbc,_0x5d3f22)=>_0x509a90(_0x1cccbc,_0x5d3f22,_0x304757);const Ci=_0x45daf3(_0x133617(0x31e));function Xn(_0x240989,_0x1e2f89,_0x2ebb82){var _0x2fb713=_0x133617;return _0x240989+'/'+_0x1e2f89+'/unit/'+_0x2ebb82+_0x2fb713(0x21b);}let It=class extends _0xf6a891{constructor(_0x59d905,_0x70d3ed,_0xa84dcf,_0x2b0dd2,_0x32b1ee){var _0x4eef83=_0x133617;super(),this['_injector']=_0x59d905,this[_0x4eef83(0x3f2)]=_0x70d3ed,this['_configService']=_0xa84dcf,this['_logService']=_0x2b0dd2,this[_0x4eef83(0x32f)]=_0x32b1ee;}['createSocket'](_0x308699){var _0x1814bb=_0x133617;const _0x54fe55=this['_injector']['get'](_0x469cc3);if(!_0x54fe55)throw new Error(_0x1814bb(0x331));const _0x1d28bf=_0x54fe55[_0x1814bb(0x18e)](_0x308699);if(!_0x1d28bf)throw new Error(_0x1814bb(0x234));const _0x1b2918=new _0x5dbfe8(),_0x5b5eca=new _0x48a56c();_0x1b2918[_0x1814bb(0x248)](_0x1d28bf['close$'][_0x1814bb(0x438)](_0x5e6f2f=>_0x5b5eca[_0x1814bb(0x3d8)](_0x5e6f2f))),_0x1b2918[_0x1814bb(0x248)](_0x2b5885(()=>_0x5b5eca[_0x1814bb(0x236)]()));const _0x1b2481=new _0x48a56c();_0x1b2918['add'](_0x1d28bf[_0x1814bb(0x323)][_0x1814bb(0x438)](_0xfbebc0=>_0x1b2481['next'](_0xfbebc0))),_0x1b2918[_0x1814bb(0x248)](_0x2b5885(()=>_0x1b2481['complete']()));const _0x594032=new _0x48a56c();_0x1b2918['add'](_0x1d28bf['message$']['subscribe'](_0x398747=>{var _0x2150b7=_0x1814bb;const _0xf19e47=Kn(_0x398747);_0x594032[_0x2150b7(0x3d8)](_0xf19e47);})),_0x1b2918['add'](_0x2b5885(()=>_0x594032['complete']()));let _0x31e331;const _0x25d47c=()=>{var _0x421978=_0x1814bb;_0x1b2481[_0x421978(0x3d8)](new Event('connection\x20error')),_0x5b5eca[_0x421978(0x3d8)](new CloseEvent(_0x421978(0x25d))),_0x31e331[_0x421978(0x2e7)]();};return _0x31e331={'memberID':'','close$':_0x5b5eca[_0x1814bb(0x193)](),'error$':_0x1b2481['asObservable'](),'open$':_0x1d28bf[_0x1814bb(0x276)],'message$':_0x594032[_0x1814bb(0x193)](),'send':_0x3e3b83=>{var _0xb4f245=_0x1814bb;if(_0x3e3b83[_0xb4f245(0x17d)]===F['INGEST']){if(_0x3e3b83[_0xb4f245(0x3b2)]['eventID']===_0xef4ce6[_0xb4f245(0x213)]){this[_0xb4f245(0x34c)](_0x31e331,_0x3e3b83[_0xb4f245(0x3b2)])[_0xb4f245(0x395)](_0xa8893d=>{var _0x4def15=_0xb4f245;this[_0x4def15(0x3f1)][_0x4def15(0x36e)](_0xa8893d),_0x25d47c();});return;}if(_0x3e3b83['data']['eventID']===_0xef4ce6['FETCH_MISSING']){const _0x221610=_0x3e3b83[_0xb4f245(0x3b2)];this[_0xb4f245(0x218)](_0x221610)[_0xb4f245(0x21a)](_0x2cb026=>{var _0x265e60=_0xb4f245;_0x594032[_0x265e60(0x3d8)]({'cmd':F[_0x265e60(0x25c)],'code':Ee['OK'],'routeKey':_0x221610[_0x265e60(0x3b2)][_0x265e60(0x1c7)],'routeType':'','data':{'eventID':_0xef4ce6['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2cb026}}});})[_0xb4f245(0x395)](_0x31950f=>{var _0x34b557=_0xb4f245;this[_0x34b557(0x3f1)][_0x34b557(0x36e)](_0x31950f),_0x25d47c();});return;}}_0x1d28bf['send'](zn(_0x3e3b83));},'close':()=>{var _0x6ee79e=_0x1814bb;_0x1d28bf[_0x6ee79e(0x2e7)](),_0x1b2918[_0x6ee79e(0x35d)]();}},_0x31e331;}async[_0x133617(0x34c)](_0xfc5b2f,_0x2d4cca){var _0x19ef48=_0x133617,_0x186b46,_0xfa8333;const {unitType:_0x5b437d,unitID:_0x4b9543,changeset:_0xd59a93}=_0x2d4cca[_0x19ef48(0x3b2)],_0x28f708={'unitID':_0x4b9543,'memberID':_0xfc5b2f['memberID'],'type':_0x5b437d,'changeset':_0x16e07b(_0xd59a93)},_0x24390e=this['_configService'][_0x19ef48(0x237)](jn),_0x339240=this[_0x19ef48(0x37c)][_0x19ef48(0x237)](Y),_0x6770a4=Xn((_0xfa8333=(_0x186b46=_0x339240==null?void 0x0:_0x339240[_0x19ef48(0x1d9)])!=null?_0x186b46:_0x24390e)!=null?_0xfa8333:Bn,_0x5b437d,_0x4b9543);try{await this[_0x19ef48(0x3f2)][_0x19ef48(0x369)](_0x6770a4,{'body':_0x28f708});}catch(_0xa9badb){throw this[_0x19ef48(0x3f1)][_0x19ef48(0x36e)](_0x19ef48(0x34e),'submit\x20changeset\x20error!'),_0xa9badb;}}async[_0x133617(0x218)](_0x5d370e){var _0x3d99f5=_0x133617;const {unitID:_0x38f95f,from:_0x9e8fe7,to:_0x4e5942,unitType:_0x2cb7a2}=_0x5d370e['data'];return(await this[_0x3d99f5(0x32f)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x38f95f,'type':_0x2cb7a2,'from':_0x9e8fe7,'to':_0x4e5942}))[_0x3d99f5(0x412)];}};It=Jn([we(0x0,_0x1dc41d(_0x485aa2)),we(0x1,_0x1dc41d(_0x566212)),we(0x2,_0x387b00),we(0x3,_0x9980c2),we(0x4,_0x36001d)],It);const Zn='collaboration_new_changeset';function Qn(_0xbcd98e){var _0x57e69a=_0x133617;return JSON[_0x57e69a(0x347)](_0xbcd98e)[_0x57e69a(0x2ec)];}function _0x2c06(){var _0x4046b9=['PERMISSION_REJ','OpenSSL','_startTelemetryCollaborationNewChangeset','getUnitStatus$','error','_hash','objectID','_createInitialStateImpl','\x0aAfter:\x20','selections','msCrypto','send','_authzIoService','APPLY_PERMISSION_DENIED','_transitionLocked','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getDeserializedSheetBlock','state$','_configService','_handlerCallback','hasOwnProperty','charAt','_doProcessBlock','createDecryptor','_updateLocalCache','_retryConnectingTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onRecvEvent','confirm','push','encrypt','updateCollaborator','onCommentUpdate','reconnect','sessionStatus$','UNKNOWN_CODE','_tryEnsureSocket','HMAC','HttpExport','StreamCipher','_sendHeartbeat','transformSelections','ciphertext','catch','LICENSE_IMPORT_SIZE_EXCEEDED','OFFLINE','UnitEmbedded','equals','/object/','reverse','_stopTelemetryCollaborationNewChangeset','collaboratorID','/universer-api/user/session-ticket','url','resourceIDs','loadOfflineData','_iv','emitEvent','dispose$','fetchThroughInterceptors','keySize','reject','unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/comb','_onConnectionOpen','values','subType','leaveEvent','_clearHeartbeatTimer','_createHandler','_socketMessageSubscription','data','_shouldReportTelemetry','startsWith','SUBMIT_CHANGESET_TIMEOUT','sid','PERMISSION_DENIED','create','8WTPnpq','[FetchMissState]','ivSize','updateCursorEvent','originalMeta','[SyncedState]:\x20received\x20acknowledgement.','PasswordBasedCipher','COMPRESS_MUTATION_APPLY','saveChangeset','updateMember','ERROR_EXCEED_SIZE','rng','includes','name','localCacheService','_minBufferSize','_memberService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_sendHeartbeatTimer','collaMsg','min','_loadSheet','disposeWithMe','[CollaborationState]:\x20apply\x20error!','UNIVER_DOC','LEAVE','LIVESHARE_REQUEST_HOST','onMissingChangesets','_transformUndoredo','ALREADY_EXISTS','DEFAULT_FILE_NAME','next','FETCH_MISS','getImageSourceCache','_singleActiveUnitService','createInstance','_loadDoc','IDLE','\x20in\x20_schedule.','_transformRemoteChangesetByStateCache','LIVESHARE_OPERATION','getUnitId','CipherParams','revision','_onUserLeave','_doCryptBlock','auth.needGotoLoginAlert','SerializableCipher','random','_telemetryService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PSEUDO_FETCH_MISSING_RESULT','Worksheet','_showConflictNotification','cfg','isArray','_logService','_http','/universer-api/authz','requireSession','sheets','commentUpdateEvent','deleteCollaborator','_initUnitPermissionChange','message$','pad','_httpService','image/bmp','_updateStatus','abs','COLLAB_WEB_SOCKET_URL','getLatestCsReqIdBySid','NoPadding','/rev/','JOIN_ROOM_FULL','AES','AWAITING','every','_event$','json','_remoteChangesetQueue','format','put','enc','_clearCollaborationTimeoutTimer','Base64','loadDoc','_substituteUndoStack','_onConflict','changesets','replace','_syncEditingCollabCursor','MSG_FOR_ERROR','_retryCount','getAllMembers','repeat','entries','getSheetBlock','_startCollaboration','_userManagerService','snapshotServerUrl','WordArray','initWorkbookPermissionChange','_listenToNetworkCondition','getTypeOfUnitDisposed$','image/png','SYNCED','&to=','type','splice','_permissionService','_snapshotService','sin','textRanges','_collaborationPaused','_process','UNRECOGNIZED','_onRemoteACK','closeSession','getUnitOnRev','_revisionService','_transformService','disableLocalCache','HELLO','now','_transformStateCache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','subscribe','_collaborationUIEventService','randomUUID','size','offline','sendChangesetTimeout','socket\x20close','_map','[CollaborationSessionService]:\x20socket\x20error','image/gif','actions','_updateState','_socket','requestParams','_clearLocalCache','_hasher','_clearScheduledTask','close$','_transformIMECache','putCollaborators','decrypt','getFocusedUnit','/resources','failed\x20to\x20apply\x20missed\x20changesets!','_getDownloadEndpointURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRetry','_sender','avatar','COMMENT_UPDATE','get','APPLY_REVISION_CONFILICT','_waitCount','_createSocket','LICENSE_EXPORT_SIZE_EXCEEDED','body','_HTTPService','_resendTimeout','onRemoteChangeset','_sessionStatus$','onTransformRemoteChangesetByIMECache','APPLY_REJECT','sessionTicket','mixIn','blockSize','_cipher','APPLY_DUPLICATED','update','Base','_createSocketURL','session.room-permission-denied','UNIVER_UNKNOWN','OTHER_CLIENT_EDITING','_key','reduce','file','addImageSourceCache','words','_changesetSessionId','LIVESHARE_NEW_HOST','HEARTBEAT','_pendingMutations','apply','batchAllowed','COMPRESS_MUTATION_SEND','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','reqId','debug','_toggleOffline','Encryptor','[OfflineState]:\x20received\x20acknowledgement.','UPDATE_CURSOR','_unitID','_entityInit$','_compressMutationService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encode','_onConnectionFailed','_keyPriorReset','cmd','INTERNAL_ERROR','incrementRevOfUnit','ceil','onTransformState','_init','_unlockTransition','UNIVER_SHEET','onSendChangeset','/block/','toggleOnline','focused$','loadSheet','YUUMI_RATE_OVER_LIMIT','_initMergeInterceptor','from','removeMember','createSocket','__creator','_tryReconnect','_onRemoteChangeset','[UniverCollaborationClientPlugin]','asObservable','title','getCurrentRevOfUnit','AWAITING_WITH_PENDING','listCollaborators','_initCloseConn','BlockCipher','objects','readAsDataURL','symbol','transformUndoRedo','status','_getUploadFileURL','_oKey','SHA1','pending','registerHTTPInterceptor','Cipher','getTime','_clearUndo','1093kxSHfr','_commandService','_socketService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','iterations','extend','/collaborator','clearUndoRedo','fetching\x20missing\x20changesets\x20from\x20','find','socketService','byteLength','function','_exhaustRemoteChangesetQueue','_eventService','_localCacheService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PENDING','awaitingChangeset','updateOfflineData','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_REVISION_CONFILICT','_collabSessionService','ruleRefresh','1915656zzxTGy','onStateChange','href','getRoom','editing\x20status\x20changed\x20to','_toggleOnline','\x0aCurrent:\x20','EXCHANGE_SIGN_URL_SERVER_URL_KEY','unitID','fetch_missing','refreshPermission','setShowComponents','m2Prime','_injector','joinRsp','action','readInt32LE','transformMutationsWithChangeset','onTransformSelections','location','fromCollab','Hex','_changesetReqId','awaiting','onlyLocal','NOT_COLLAB','collabSubmitChangesetUrl','2219147mgVmmK','Could\x20not\x20dynamically\x20require\x20\x22','_transformStack','YUUMI_UNABLE_LOAD_URL','copyFileMeta','onSyncEditingCollabCursor','change$','findIndex','startTime','default','padding','not_collab','JOIN_ROOM_FAILED','_getCtorByUniverType','fromCharCode','TOO_MANY_REQUESTS','liveShareNewHost','session.room-full','socket$','pauseCollaboration','GLOBAL_ROOMS_CNT_EXCEEDS','_getLoginPath','HttpImport','compose','/fetchmissing?from=','univer-pro.collaboration-client.single-active-unit-service','resend','fetchMissingChangesets','UNKNOWN_CMD','_substituteRedoStack','_rescheduleHeartbeat','_invKeySchedule','_data','CHANGESET_ACK','_checkMissing','_redoStacks','unsubscribe','_createHelper','Univer','kdf','forEach','YUUMI_SUBSCRIPTION_NOT_FOUND','LIVESHARE_TERMINATE','baseRev','_univerInstanceService','csRejEvent','getUnitType','getPermissionPoint','univer-pro.collaboration-client.network-condition.service','_getAPIPrefixPath','_onCombEvent','JOINING','max','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','conflict','onCommandExecuted','createEncryptor','SUBMIT_CHANGESET','_DEC_XFORM_MODE','setConfig','/-/object/list','Undefined','_fetchMissChangesets','init','then','/new_changes','stopTime','awaiting_with_pending','memberID','updatePermissionObjEvent','CHANGESET_SHOULD_RETRY','_registerDependencies','[CollaborationSessionService]','sigBytes','append','event$','_sessions','SNAPSHOT_INVALID_SNAPSHOT','_joinRoom','infoRsp','__Key__','onStarting','onTransformIME','_commentUpdate$','code','getOwnPropertyDescriptor','subject','JOIN_ROOM_NOT_EXISTS','unpad','[PendingState]:\x20received\x20acknowledgement.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','join','complete','getConfig','getCurrentUnitForType','INGEST','_socketReady','INVALID_ARGUMENT','204555HsJowE','range','randomBytes','_xformMode','onTransformRemoteChangesetByStateCache','_getSignURL','_parse','liveShareOperation','_getSendChangesetTimeout','slice','10OtBgoj','_handler','add','application/json','CLOSE_ROOM','_members','_append','_transformRemoteChangesetByIMECache','Decryptor','_disableEditing','ONLINE','\x20-\x20','_unitInfo$','value','allowed','CBC','session.room-not-exists','APPLY_NON_SEQUENTIAL_REVISION','_onUserJoin','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT_TIMEOUT','_onRemoteRejected','RECV','connection\x20error','_queuedRemoteChangesets','__esModule','prototype','clone','reset','UNIVER_PROJECT','_candidateSocket','SUCCUSS','commentUpdate$','hostname','loginUrlKey','USERS_LEAVE','ticket','getResourcesRequest','setWaitCount','decryptBlock','unitId\x20is\x20not\x20found','&source=','_onMessage','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_incrementRevisionNumber','_nRounds','getActiveSheet','defineProperty','open$','Hasher','byteOffset','downloadEndpointUrl','_applyRemoteChangeset','withCredentials','_imageSourceCache','_prevBlock','_initRequestHeader','UNAUTHENTICATED','getTypeOfUnitAdded$','_resendTimer','executeCommand','session','editingUnit','_createHmacHelper','_onFetchMissResult','_undoRedoService','fetchMiss','OTHER_CLIENTS_EDITING','Workbook','[CollaborationEntity]','csShouldRetryEvent','LOGIN_URL_KEY','unitId','session.room-cnt-exceeds','collabWebSocketUrl','key','deepClone','collaboration-client.local-cache-service','LICENSE_MAX_UNITS_EXCEEDED','_state','_localeService','_type','_getAPIPrefix','_config','UNDEFINED','wsSessionTicketUrl','_throwTelemetryCollaborationNewChangeset','_instanceService','has','YUUMI_URL_COL_OUT_OF_RANGE','_status$','SOCKET_FAILED','saveSnapshot','enableAuthServer','pipe','online$','_clearTimeoutTimer','delete','onMissedChangesetFetched','?size=','/universer-api/snapshot/','_acknowledgedAwaitingChangeset','transformStack\x20failed!','_entities','_iKey','JOIN','_scheduleTimestamp','ERROR_IMAGE_TYPE','eventID','capture','algo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nDataBytes','filter','interceptor','1306908VUqgxZ','charCodeAt','_onRemoteRetry','_commentService','snapshot','lib','isPermissionRej','finalize','_state$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','c2Prime','CONNECTOR_DATA_TOO_LARGE','subUnitId','call','appendMutation','addHandlerCallback','rev','roles','collaborators','JOIN_ROOM_PERMISSION_DENIED','_getUndoStack','BASE64','_decreaseWaiting','origin','_socket$','transformChangesets','listRoles','setCurrentUser','enableSingleActiveInstanceLock','getInterceptPoints','_executeRemoteChangeset','Error\x20on\x20receiving\x20event','crypto','floor','[CollaborationUndoRedoService]','set','2495684EcmeFu','FileId','SEND_CHANGESET_TIMEOUT','_awaitingChangeset','salt','LIVESHARE_FETCH_OPERATIONS','updatePermissionPoint','getTargetByPermissionId','_removeRoom','close','[DataLoaderService]','getSnapshotAPIPath','authzUrl','encryptBlock','length','getUnit','_waitForHeartbeatResponse','$super','pluginName','getMember','clear','getCollabEntity','params','_collaborationSessionService','_getRedoStack','routeKey','UNIVER_COLLABORATION_CLIENT_PLUGIN','_networkConditionService','_isPermissionRej','localeService','onRemoteRej','/universer-api/oidc/authpage','_transformSelections','/unit/','toggleOffline','Pkcs7','clamp','string','_scheduleCollaborationTimeoutTimer','/role','UNIVER_SLIDE','c1Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getCurrentRevision','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','concat','_onJoinRoomEvent','NEW_CHANGESETS','exports','collaboration-client.config','toString','getRandomValues','_clearRedo','EvpKDF','headers','mutations','FAIL','SNAPSHOT_URL_KEY','_onLocalMutation','list','OPTIONAL','_mode','execute','saveImage','univer-pro.collaboration-client-socket-service','roomInfos','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_roomMembers','_replaceFileID','error$','getCollabEntity$','parse','substr','/universer-api/snapshot','HmacMD5','objectType','workbook','src','telemetry\x20info\x20is\x20not\x20initialized','state','UPDATE_PERMISSION_OBJ','_snapshotServerService','/object','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','unknown','SHOULD_CLOSE_CONN','USERS_ENTER','_doFinalize','mode','_collaborationTimeoutTimer','_keySchedule','map','getValue','[OfflineState]:\x20received\x20changeset.','Utf8','onRemoteAck','_ENC_XFORM_MODE','_reverseMap','loadUnit','_telemetryInfo','244kPhuYk','createCollaborator','signUrlServerUrl','compute','MD5','stringify','[PendingState]:\x20received\x20rejection.','hasher','_timeoutTimer','_onOffline','_submitChangeset','SOCKET_FAILED_RETRY','[CollaborationSession]','getCurrentUser','SNAPSHOT_SERVER_URL_KEY','bind','RETRY_CONNECTING_MAX_COUNT','&assign=','_sheetTransformSelectionsService','save\x20fail\x20reason\x20is\x20','UnitSnapshot','/-/object/-/batch_allowed','LICENSE_DISTRO_REJECTED','ENSURE_SNAPSHOT_EXECUTION','POST','/allowed','_doReset','dispose','/universer-api/file/{fileID}/sign-url','_replayCachedMutations','_schedule','_sendingTimer','_change$','sessionStatus','[SyncedState]:\x20received\x20rejection.','result','CONFLICT','_lockTransition','682175NSkhRI','post'];_0x2c06=function(){return _0x4046b9;};return _0x2c06();}class bi{constructor(){var _0x6317da=_0x133617;D(this,'_commentUpdate$',new _0x48a56c()),D(this,_0x6317da(0x266),this[_0x6317da(0x22d)][_0x6317da(0x193)]());}[_0x133617(0x38a)](_0x387988){var _0x2bd2d4=_0x133617;this['_commentUpdate$'][_0x2bd2d4(0x3d8)](_0x387988);}}var es=Object['defineProperty'],ts=Object[_0x133617(0x22f)],is=(_0x5c75d5,_0x23da81,_0x5809ce,_0x39aa4b)=>{for(var _0xc601bd=_0x39aa4b>0x1?void 0x0:_0x39aa4b?ts(_0x23da81,_0x5809ce):_0x23da81,_0x4937f1=_0x5c75d5['length']-0x1,_0x34f0ed;_0x4937f1>=0x0;_0x4937f1--)(_0x34f0ed=_0x5c75d5[_0x4937f1])&&(_0xc601bd=(_0x39aa4b?_0x34f0ed(_0x23da81,_0x5809ce,_0xc601bd):_0x34f0ed(_0xc601bd))||_0xc601bd);return _0x39aa4b&&_0xc601bd&&es(_0x23da81,_0x5809ce,_0xc601bd),_0xc601bd;},zt=(_0x43d05f,_0x19a0a4)=>(_0xe4c870,_0x4cf72f)=>_0x19a0a4(_0xe4c870,_0x4cf72f,_0x43d05f);let Le=class extends _0xf6a891{constructor(_0x26c73d,_0x5ee67d){var _0x33ef4f=_0x133617;super(),D(this,_0x33ef4f(0x321),new Map()),(this['_univerInstanceService']=_0x26c73d,this[_0x33ef4f(0x41c)]=_0x5ee67d,this[_0x33ef4f(0x3cf)](_0x2b5885(_0x157496(this[_0x33ef4f(0x206)][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x184)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0x44ee8b=>_0x44ee8b['getUnitId']())),this['_univerInstanceService'][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x3d1)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0x4babec=>_0x4babec['getUnitId']())),this[_0x33ef4f(0x206)][_0x33ef4f(0x421)](_0x4b329a[_0x33ef4f(0x306)])[_0x33ef4f(0x2a4)](_0xab3a8f(_0xf2eaed=>_0xf2eaed[_0x33ef4f(0x3e2)]())))[_0x33ef4f(0x438)](_0x16922d=>this['_removeRoom'](_0x16922d)))));}[_0x133617(0x2d5)](_0x48884a){this['_userManagerService']['setCurrentUser'](_0x48884a);}[_0x133617(0x34f)](){var _0xc5b285=_0x133617;return this[_0xc5b285(0x41c)]['getCurrentUser']();}[_0x133617(0x3c2)](_0xec2e4d,_0x22f504){var _0xd7d9b7=_0x133617;let _0x14bd19=this[_0xd7d9b7(0x321)][_0xd7d9b7(0x456)](_0xec2e4d);_0x14bd19||(_0x14bd19=new ns(),this['_roomMembers']['set'](_0xec2e4d,_0x14bd19)),_0x14bd19[_0xd7d9b7(0x3c2)](_0x22f504);}['removeMember'](_0x3e76e6,_0x211cab){var _0x50a772=_0x133617;const _0x4addac=this['_roomMembers'][_0x50a772(0x456)](_0x3e76e6);_0x4addac&&_0x4addac[_0x50a772(0x18d)](_0x211cab);}[_0x133617(0x1c2)](_0x1c0896){var _0x18b552=_0x133617;return this[_0x18b552(0x321)]['get'](_0x1c0896);}[_0x133617(0x2f1)](_0x51072b,_0x177fc7){var _0x155466=_0x133617;const _0x2f7eb6=this[_0x155466(0x321)]['get'](_0x51072b);if(_0x2f7eb6)return _0x2f7eb6[_0x155466(0x2f1)](_0x177fc7);}[_0x133617(0x2e6)](_0x78f874){var _0x399ca9=_0x133617;const _0x1a4004=this[_0x399ca9(0x321)][_0x399ca9(0x456)](_0x78f874);_0x1a4004&&(_0x1a4004['dispose'](),this['_roomMembers'][_0x399ca9(0x2a7)](_0x78f874));}[_0x133617(0x35d)](){var _0x401156=_0x133617;this['_roomMembers'][_0x401156(0x202)](_0x39de34=>_0x39de34[_0x401156(0x35d)]()),this['_roomMembers']['clear']();}};Le=is([zt(0x0,_0x23476a),zt(0x1,_0x1dc41d(_0x2077be))],Le);class ns extends _0xf6a891{constructor(){super(...arguments),D(this,'_members',new Map());}[_0x133617(0x35d)](){this['_members']['clear']();}[_0x133617(0x3c2)](_0x1c53d2){var _0x145f4f=_0x133617;this[_0x145f4f(0x24b)]['set'](_0x1c53d2[_0x145f4f(0x21e)],_0x1c53d2);}[_0x133617(0x18d)](_0x1b5b6e){var _0x443d91=_0x133617;this['_members'][_0x443d91(0x2a7)](_0x1b5b6e);}[_0x133617(0x2f1)](_0x1b816f){var _0x17c456=_0x133617;return this[_0x17c456(0x24b)][_0x17c456(0x456)](_0x1b816f);}[_0x133617(0x417)](){var _0x8faa36=_0x133617;return Array[_0x8faa36(0x18c)](this[_0x8faa36(0x24b)][_0x8faa36(0x3ac)]());}}var ss=Object[_0x133617(0x275)],rs=Object[_0x133617(0x22f)],os=(_0x8294a,_0x4a8764,_0x53eac3,_0x4e4d22)=>{var _0x5176b4=_0x133617;for(var _0x21794d=_0x4e4d22>0x1?void 0x0:_0x4e4d22?rs(_0x4a8764,_0x53eac3):_0x4a8764,_0x34f213=_0x8294a[_0x5176b4(0x2ec)]-0x1,_0x22f29b;_0x34f213>=0x0;_0x34f213--)(_0x22f29b=_0x8294a[_0x34f213])&&(_0x21794d=(_0x4e4d22?_0x22f29b(_0x4a8764,_0x53eac3,_0x21794d):_0x22f29b(_0x21794d))||_0x21794d);return _0x4e4d22&&_0x21794d&&ss(_0x4a8764,_0x53eac3,_0x21794d),_0x21794d;},ge=(_0x327d7e,_0xbe6c94)=>(_0x4640bc,_0x263487)=>_0xbe6c94(_0x4640bc,_0x263487,_0x327d7e),Ie=(_0x562bd6=>(_0x562bd6[_0x562bd6[_0x133617(0x3de)]=0x0]=_0x133617(0x3de),_0x562bd6[_0x562bd6[_0x133617(0x20d)]=0x1]=_0x133617(0x20d),_0x562bd6[_0x562bd6[_0x133617(0x397)]=0x2]=_0x133617(0x397),_0x562bd6[_0x562bd6['ONLINE']=0x3]=_0x133617(0x250),_0x562bd6))(Ie||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0x133617(0x1eb),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x133617(0x256),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x133617(0x46a),[Ee[_0x133617(0x1ee)]]:_0x133617(0x28f)};let Tt=class extends _0x2c04b2{constructor(_0x1e4db5,_0x232a50,_0x4cb4c9,_0x66c523,_0x51ee7b,_0x2cd37e,_0x137613,_0x5ae89d,_0x10d68d){var _0x7b70f9=_0x133617;super(),D(this,'_sessionStatus$',new _0x560b1b(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x7b70f9(0x193)]()),D(this,'_event$',new _0x48a56c()),D(this,_0x7b70f9(0x225),this[_0x7b70f9(0x407)]['asObservable']()),D(this,'_socket'),D(this,_0x7b70f9(0x3b1)),D(this,_0x7b70f9(0x337)),D(this,_0x7b70f9(0x3b3),!0x1),D(this,'_telemetryInfo',null),(this[_0x7b70f9(0x176)]=_0x1e4db5,this[_0x7b70f9(0x3f1)]=_0x4cb4c9,this[_0x7b70f9(0x37c)]=_0x66c523,this['_localeService']=_0x51ee7b,this['_memberService']=_0x2cd37e,this[_0x7b70f9(0x2bc)]=_0x137613,this[_0x7b70f9(0x439)]=_0x5ae89d,this[_0x7b70f9(0x3ea)]=_0x10d68d,this['_shouldReportTelemetry']=!!this[_0x7b70f9(0x3ea)],_0x232a50[_0x7b70f9(0x2a4)](_0x48340f(this['dispose$']))[_0x7b70f9(0x438)](_0x2a13e1=>{var _0x518c94=_0x7b70f9,_0x32ff8f;typeof _0x2a13e1>'u'||(this['_socket']=_0x2a13e1,_0x2a13e1?(this[_0x518c94(0x228)](_0x2a13e1),this[_0x518c94(0x3b1)]=_0x2a13e1[_0x518c94(0x3f9)][_0x518c94(0x438)](_0x3a0aa6=>{var _0x18b718=_0x518c94;_0x3a0aa6[_0x18b718(0x2f7)]===this['_unitID']&&this[_0x18b718(0x20c)](_0x3a0aa6);})):(this[_0x518c94(0x29c)](),this[_0x518c94(0x45f)][_0x518c94(0x3d8)](0x2),(_0x32ff8f=this[_0x518c94(0x3b1)])==null||_0x32ff8f['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x133617(0x363)](){var _0x29e8fc=_0x133617;return this['_sessionStatus$'][_0x29e8fc(0x33a)]();}['getMemberID'](){var _0x2e8d51=_0x133617,_0x4a60e7,_0x2b5118;return(_0x2b5118=(_0x4a60e7=this[_0x2e8d51(0x444)])==null?void 0x0:_0x4a60e7[_0x2e8d51(0x21e)])!=null?_0x2b5118:null;}[_0x133617(0x35d)](){var _0x57725a=_0x133617;super['dispose'](),this['dispose$'][_0x57725a(0x3d8)](),this[_0x57725a(0x3a4)][_0x57725a(0x236)]();}[_0x133617(0x2e7)](){var _0x5c0073=_0x133617,_0x20a545,_0x298285;this[_0x5c0073(0x29c)](),(_0x20a545=this['_socket'])==null||_0x20a545[_0x5c0073(0x375)]({'cmd':F[_0x5c0073(0x3d2)],'data':{'roomID':this[_0x5c0073(0x176)]}}),(_0x298285=this['_socket'])==null||_0x298285[_0x5c0073(0x2e7)](),this[_0x5c0073(0x407)][_0x5c0073(0x236)](),this[_0x5c0073(0x45f)][_0x5c0073(0x236)](),this['dispose']();}['_onCombEvent'](_0x2da191){var _0x197d4c=_0x133617;_0x2da191[_0x197d4c(0x17d)]===F[_0x197d4c(0x2af)]?this['_onJoinRoomEvent'](_0x2da191):_0x2da191[_0x197d4c(0x17d)]===F[_0x197d4c(0x25c)]&&this[_0x197d4c(0x385)](_0x2da191);}['_joinRoom'](_0x30e0b3){var _0x393cd9=_0x133617;this[_0x393cd9(0x45f)]['next'](0x1),_0x30e0b3[_0x393cd9(0x375)]({'cmd':F[_0x393cd9(0x2af)],'routeKey':this[_0x393cd9(0x176)],'routeType':'','data':{'rooms':[{'roomID':this[_0x393cd9(0x176)]}]}});}[_0x133617(0x30c)](_0x1fc282){var _0x201be0=_0x133617,_0x367a33;if(_0x1fc282[_0x201be0(0x22e)]in Yt){this['_collaborationUIEventService'][_0x201be0(0x3a3)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x1fc282[_0x201be0(0x22e)]]}),this[_0x201be0(0x45f)][_0x201be0(0x3d8)](0x2);return;}this[_0x201be0(0x45f)]['next'](0x3);const _0x1b9e33=(_0x367a33=_0x1fc282['data'][_0x201be0(0x31f)][this[_0x201be0(0x176)]])==null?void 0x0:_0x367a33['members'];_0x1b9e33&&_0x1b9e33[_0x201be0(0x202)](_0x4d6373=>this[_0x201be0(0x3c9)][_0x201be0(0x3c2)](this[_0x201be0(0x176)],_0x4d6373));}[_0x133617(0x385)](_0x47fe3c){var _0xe60c58=_0x133617;try{const _0x360c9a=_0x47fe3c['data'];switch(_0x360c9a[_0xe60c58(0x2b2)]){case _0xef4ce6[_0xe60c58(0x334)]:this[_0xe60c58(0x258)](_0x360c9a),this[_0xe60c58(0x407)][_0xe60c58(0x3d8)](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x269)]:this[_0xe60c58(0x3e5)](_0x360c9a),this['_event$']['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x1fb)]:case _0xef4ce6[_0xe60c58(0x220)]:this[_0xe60c58(0x39c)](),this['_clearCollaborationTimeoutTimer'](),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x415)]:this['_logService'][_0xe60c58(0x36e)](_0xe60c58(0x355)+JSON[_0xe60c58(0x347)](_0x360c9a)),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;case _0xef4ce6[_0xe60c58(0x455)]:this[_0xe60c58(0x2bc)][_0xe60c58(0x38a)](_0x360c9a[_0xe60c58(0x3b2)]),this[_0xe60c58(0x407)]['next'](_0x360c9a);break;default:this[_0xe60c58(0x407)][_0xe60c58(0x3d8)](_0x360c9a);}}catch(_0x47b36b){this[_0xe60c58(0x3f1)]['error'](_0x47b36b,_0x47fe3c);}}['_onUserJoin'](_0x55b0b0){var _0x551c92=_0x133617;this[_0x551c92(0x3c9)][_0x551c92(0x3c2)](this[_0x551c92(0x176)],_0x55b0b0[_0x551c92(0x3b2)]);}[_0x133617(0x3e5)](_0x33711a){var _0x470525=_0x133617;this['_memberService'][_0x470525(0x18d)](this['_unitID'],_0x33711a[_0x470525(0x3b2)][_0x470525(0x21e)]);}async[_0x133617(0x375)](_0x59d114,_0x224015){var _0x1c802e=_0x133617;if(this[_0x1c802e(0x363)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x59d114['eventID']===_0xef4ce6[_0x1c802e(0x213)]&&(this[_0x1c802e(0x304)](),this[_0x1c802e(0x36c)](_0x59d114)),this[_0x1c802e(0x444)]['send']({'cmd':F[_0x1c802e(0x239)],'routeKey':_0x224015,'routeType':'','data':_0x59d114});}catch(_0x45fb4d){this[_0x1c802e(0x3f1)]['error'](_0x45fb4d);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1db464=_0x133617,_0x1becdb;this[_0x1db464(0x337)]=setTimeout(()=>{var _0x42d69e=_0x1db464;this[_0x42d69e(0x337)]=null,this[_0x42d69e(0x439)][_0x42d69e(0x3a3)]({'id':se[_0x42d69e(0x3b5)]});},(_0x1becdb=this[_0x1db464(0x37c)][_0x1db464(0x237)](Si))!=null?_0x1becdb:Ei);}[_0x133617(0x40d)](){var _0x3a771b=_0x133617;this[_0x3a771b(0x337)]&&(clearTimeout(this[_0x3a771b(0x337)]),this[_0x3a771b(0x337)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x501497){var _0x3cb58d=_0x133617;if(!this['_shouldReportTelemetry'])return;const {data:_0x37ed14}=_0x501497,{unitID:_0x3d0a60,changeset:_0x9b72cb}=_0x37ed14,{mutations:_0x14d7b9,type:_0x3448a5}=_0x9b72cb;this[_0x3cb58d(0x341)]={'unitId':_0x3d0a60,'type':_0x3448a5,'startTime':performance[_0x3cb58d(0x435)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x14d7b9)};}[_0x133617(0x39c)](){var _0x5ec77c=_0x133617;if(this[_0x5ec77c(0x3b3)]){if(!this[_0x5ec77c(0x341)]){this[_0x5ec77c(0x3f1)][_0x5ec77c(0x36e)](_0x5ec77c(0x34e),_0x5ec77c(0x32c));return;}this[_0x5ec77c(0x341)][_0x5ec77c(0x21c)]=performance['now'](),this[_0x5ec77c(0x341)]['duration']=this['_telemetryInfo'][_0x5ec77c(0x21c)]-this[_0x5ec77c(0x341)][_0x5ec77c(0x1e2)],this[_0x5ec77c(0x3ea)][_0x5ec77c(0x2b3)](Zn,this['_telemetryInfo']),this[_0x5ec77c(0x341)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x3c7d2f=_0x133617;this[_0x3c7d2f(0x341)]=null;}};Tt=os([ge(0x2,_0x9980c2),ge(0x3,_0x387b00),ge(0x4,_0x1dc41d(_0x5bfcba)),ge(0x5,_0x1dc41d(Le)),ge(0x6,_0x1dc41d(bi)),ge(0x7,_0x1dc41d(pe)),ge(0x8,_0x13f1aa(_0x562172))],Tt);var as=Object[_0x133617(0x275)],cs=Object[_0x133617(0x22f)],hs=(_0x55fea5,_0xdae380,_0x339351,_0xdcfd64)=>{for(var _0x1af9e3=_0xdcfd64>0x1?void 0x0:_0xdcfd64?cs(_0xdae380,_0x339351):_0xdae380,_0x58c755=_0x55fea5['length']-0x1,_0x3f1b95;_0x58c755>=0x0;_0x58c755--)(_0x3f1b95=_0x55fea5[_0x58c755])&&(_0x1af9e3=(_0xdcfd64?_0x3f1b95(_0xdae380,_0x339351,_0x1af9e3):_0x3f1b95(_0x1af9e3))||_0x1af9e3);return _0xdcfd64&&_0x1af9e3&&as(_0xdae380,_0x339351,_0x1af9e3),_0x1af9e3;},me=(_0xd93704,_0x276416)=>(_0x346a14,_0x41f9fe)=>_0x276416(_0x346a14,_0x41f9fe,_0xd93704);let Me=class extends _0xf6a891{constructor(_0x1eb5f1,_0x269810,_0x5e1960,_0x11e9f0,_0x4f0b4d,_0x15088f,_0x29c98c){var _0x2e2fcc=_0x133617;super(),D(this,_0x2e2fcc(0x2d2),new _0x560b1b(void 0x0)),D(this,_0x2e2fcc(0x1ec),this[_0x2e2fcc(0x2d2)]['asObservable']()),D(this,_0x2e2fcc(0x264),null),D(this,_0x2e2fcc(0x226),new Map()),D(this,_0x2e2fcc(0x2a0),new _0x560b1b(Ie['IDLE'])),D(this,'status$',this[_0x2e2fcc(0x2a0)][_0x2e2fcc(0x193)]()),D(this,_0x2e2fcc(0x23a),!0x1),D(this,_0x2e2fcc(0x383)),D(this,'_retryCount',0x0),D(this,_0x2e2fcc(0x3cb)),D(this,_0x2e2fcc(0x34a)),(this['_injector']=_0x1eb5f1,this[_0x2e2fcc(0x3f1)]=_0x269810,this['_configService']=_0x5e1960,this[_0x2e2fcc(0x1a9)]=_0x11e9f0,this[_0x2e2fcc(0x3fb)]=_0x4f0b4d,this[_0x2e2fcc(0x439)]=_0x15088f,this[_0x2e2fcc(0x2f9)]=_0x29c98c,this[_0x2e2fcc(0x420)]());}get[_0x133617(0x444)](){var _0x5e2147=_0x133617;return this[_0x5e2147(0x2d2)][_0x5e2147(0x33a)]();}[_0x133617(0x420)](){var _0x584ced=_0x133617;this[_0x584ced(0x2f9)]&&this[_0x584ced(0x3cf)](this[_0x584ced(0x2f9)][_0x584ced(0x2a5)][_0x584ced(0x438)](_0x1e4a90=>{var _0x5f2b19=_0x584ced;_0x1e4a90&&!this[_0x5f2b19(0x444)]&&this[_0x5f2b19(0x38b)](),_0x1e4a90||this[_0x5f2b19(0x34b)]();}));}['dispose'](){var _0x135602=_0x133617;super[_0x135602(0x35d)](),this[_0x135602(0x226)][_0x135602(0x202)](_0x560178=>_0x560178[_0x135602(0x35d)]()),this[_0x135602(0x226)]['clear'](),this[_0x135602(0x2a0)][_0x135602(0x236)]();}async[_0x133617(0x3f4)](_0x4786c7){var _0x38a8ac=_0x133617;if(this['_sessions'][_0x38a8ac(0x29e)](_0x4786c7))return this['_sessions'][_0x38a8ac(0x456)](_0x4786c7);this[_0x38a8ac(0x38e)]();const _0x4dd8fa=this['_injector']['createInstance'](Tt,_0x4786c7,this[_0x38a8ac(0x2d2)][_0x38a8ac(0x193)]());return this[_0x38a8ac(0x226)][_0x38a8ac(0x2dd)](_0x4786c7,_0x4dd8fa),_0x4dd8fa;}[_0x133617(0x42f)](_0x364d55){var _0x44e18d=_0x133617,_0x25c11f;const _0x8d1f6b=this[_0x44e18d(0x226)]['get'](_0x364d55);_0x8d1f6b&&(this['_sessions'][_0x44e18d(0x2a7)](_0x364d55),_0x8d1f6b['close']()),this[_0x44e18d(0x226)][_0x44e18d(0x43b)]||(_0x25c11f=this['_socket'])==null||_0x25c11f[_0x44e18d(0x2e7)]();}[_0x133617(0x38b)](){var _0x17408c=_0x133617;this[_0x17408c(0x416)]=0x0,this[_0x17408c(0x383)]!=null&&(clearTimeout(this[_0x17408c(0x383)]),this['_retryConnectingTimer']=null),this[_0x17408c(0x190)]();}async['_getSessionTicket'](){var _0x5826eb=_0x133617,_0x3d85f7,_0x1e1849,_0xc5b549;const _0x38f178=this[_0x5826eb(0x37c)][_0x5826eb(0x237)](Y),_0x5f0151=(_0x3d85f7=_0x38f178==null?void 0x0:_0x38f178[_0x5826eb(0x29b)])!=null?_0x3d85f7:xn;return(_0xc5b549=(_0x1e1849=(await this[_0x5826eb(0x3fb)][_0x5826eb(0x456)](_0x5f0151,{'headers':{'Content-Type':_0x5826eb(0x249)}}))[_0x5826eb(0x45b)])==null?void 0x0:_0x1e1849[_0x5826eb(0x26a)])!=null?_0xc5b549:'';}[_0x133617(0x469)](_0x4e64cc){var _0x303001=_0x133617,_0x40d705,_0x3d4c96;const _0x42963d=this['_configService']['getConfig'](Un),_0x243da5=this[_0x303001(0x37c)][_0x303001(0x237)](Y),_0x3f53c=(_0x3d4c96=(_0x40d705=_0x243da5==null?void 0x0:_0x243da5[_0x303001(0x290)])!=null?_0x40d705:_0x42963d)!=null?_0x3d4c96:An,_0x270a17=typeof window>'u'?new URL(_0x3f53c):new URL(_0x3f53c,window[_0x303001(0x1d2)][_0x303001(0x2d1)]);return _0x270a17['searchParams'][_0x303001(0x2dd)](_0x303001(0x462),_0x4e64cc),_0x270a17['toString']();}async[_0x133617(0x459)](){var _0x4b2004=_0x133617;const _0x34cae4=await this['_getSessionTicket'](),_0x2acd23=this['_createSocketURL'](_0x34cae4),_0x5e2e06=this[_0x4b2004(0x1a9)][_0x4b2004(0x18e)](_0x2acd23);return this[_0x4b2004(0x264)]=_0x5e2e06,_0x5e2e06;}async[_0x133617(0x38e)](){var _0x4cbff3=_0x133617,_0x360191,_0x4056c4;try{const _0x484078=(_0x4056c4=(_0x360191=this[_0x4cbff3(0x444)])!=null?_0x360191:this[_0x4cbff3(0x264)])!=null?_0x4056c4:await this['_createSocket']();if(_0x484078){const _0x16bb08=_0x484078['send'];_0x484078['send']=_0x4612be=>(this[_0x4cbff3(0x1f8)](),_0x16bb08['apply'](_0x484078,[_0x4612be])),_0x484078[_0x4cbff3(0x3f9)]['subscribe'](_0x55d97f=>this[_0x4cbff3(0x270)](_0x484078,_0x55d97f)),_0x484078[_0x4cbff3(0x323)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))['subscribe'](_0x24d23c=>this[_0x4cbff3(0x3f1)][_0x4cbff3(0x36e)](_0x4cbff3(0x440),_0x24d23c)),_0x484078[_0x4cbff3(0x276)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))['subscribe'](()=>{var _0x1b9eb7=_0x4cbff3;this[_0x1b9eb7(0x3ab)](_0x484078);}),_0x484078[_0x4cbff3(0x449)][_0x4cbff3(0x2a4)](_0x1ac8f6(0x1))[_0x4cbff3(0x438)](_0x493d77=>{var _0x23cdcf=_0x4cbff3;this[_0x23cdcf(0x3f1)]['debug'](_0x23cdcf(0x222),_0x23cdcf(0x43e),_0x493d77),this[_0x23cdcf(0x17b)]();});}}catch(_0x45628f){this[_0x4cbff3(0x3f1)][_0x4cbff3(0x36e)](_0x45628f),this[_0x4cbff3(0x17b)]();}}[_0x133617(0x3ab)](_0x44204a){var _0x397b43=_0x133617;this[_0x397b43(0x3f1)]['debug'](_0x397b43(0x222),'socket\x20open.'),_0x44204a[_0x397b43(0x375)]({'cmd':F[_0x397b43(0x434)]}),this[_0x397b43(0x1f8)]();}['_onOffline'](){var _0x461a52=_0x133617;this[_0x461a52(0x23a)]=!0x1,this[_0x461a52(0x264)]=null,this[_0x461a52(0x2a0)][_0x461a52(0x3d8)](Ie['OFFLINE']),this[_0x461a52(0x2d2)][_0x461a52(0x3d8)](null),this[_0x461a52(0x2a6)](),this[_0x461a52(0x3af)]();}[_0x133617(0x17b)](){var _0x137631=_0x133617,_0x55dc37;this[_0x137631(0x34b)](),this['_retryCount']<((_0x55dc37=this['_configService'][_0x137631(0x237)](Hn))!=null?_0x55dc37:kn)?(this[_0x137631(0x439)][_0x137631(0x3a3)]({'id':se[_0x137631(0x34d)]}),this[_0x137631(0x190)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x133617(0x190)](){var _0xe9688b=_0x133617,_0x285bf4;const _0x25fde0=this[_0xe9688b(0x416)],_0x316e30=this[_0xe9688b(0x37c)]['getConfig'](Y),_0x37496c=_0x25fde0===0x0?0x0:((_0x285bf4=_0x316e30==null?void 0x0:_0x316e30['retryConnectingInterval'])!=null?_0x285bf4:$n)*0x2**_0x25fde0;this['_retryConnectingTimer']=setTimeout(()=>{var _0xd349b8=_0xe9688b;clearTimeout(this[_0xd349b8(0x383)]),this[_0xd349b8(0x383)]=null,this[_0xd349b8(0x38e)]();},_0x37496c),this[_0xe9688b(0x416)]+=0x1;}['_onMessage'](_0x298e4b,_0x353f30){var _0x4422a3=_0x133617;const {cmd:_0x48816b}=_0x353f30;_0x48816b===F['HELLO']&&!this[_0x4422a3(0x23a)]&&(_0x298e4b[_0x4422a3(0x21e)]=_0x353f30[_0x4422a3(0x3b2)][_0x4422a3(0x21e)],this['_socket$'][_0x4422a3(0x3d8)](_0x298e4b),this[_0x4422a3(0x2a0)][_0x4422a3(0x3d8)](Ie['ONLINE']),this[_0x4422a3(0x23a)]=!0x0,this[_0x4422a3(0x264)]=null),_0x48816b===F['HEARTBEAT']&&this[_0x4422a3(0x2a6)](),this['_rescheduleHeartbeat']();}[_0x133617(0x1f8)](){var _0x40b1f7=_0x133617,_0x917bd2;this[_0x40b1f7(0x3af)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x40b1f7(0x392)](),(_0x917bd2=this[_0x40b1f7(0x37c)]['getConfig'](Ln))!=null?_0x917bd2:Mn);}[_0x133617(0x392)](){var _0x4edcfc=_0x133617;this[_0x4edcfc(0x444)]['send']({'cmd':F['HEARTBEAT']}),this[_0x4edcfc(0x2ee)]();}['_waitForHeartbeatResponse'](){var _0x40b67e=_0x133617,_0x247c3d;this[_0x40b67e(0x34a)]=setTimeout(()=>this[_0x40b67e(0x17b)](),(_0x247c3d=this[_0x40b67e(0x37c)][_0x40b67e(0x237)](Si))!=null?_0x247c3d:Ei);}[_0x133617(0x3af)](){var _0x108d27=_0x133617;this[_0x108d27(0x3cb)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x108d27(0x3cb)]=null);}['_clearTimeoutTimer'](){var _0x1ccbbb=_0x133617;this[_0x1ccbbb(0x34a)]!=null&&(clearTimeout(this[_0x1ccbbb(0x34a)]),this[_0x1ccbbb(0x34a)]=null);}};Me=hs([me(0x0,_0x1dc41d(_0x485aa2)),me(0x1,_0x9980c2),me(0x2,_0x387b00),me(0x3,Ci),me(0x4,_0x1dc41d(_0x566212)),me(0x5,_0x1dc41d(pe)),me(0x6,_0x13f1aa(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x133617(0x387)]((n+0x100)[_0x133617(0x310)](0x10)[_0x133617(0x245)](0x1));function _s(_0x20d2e1,_0x2d720f=0x0){return(V[_0x20d2e1[_0x2d720f+0x0]]+V[_0x20d2e1[_0x2d720f+0x1]]+V[_0x20d2e1[_0x2d720f+0x2]]+V[_0x20d2e1[_0x2d720f+0x3]]+'-'+V[_0x20d2e1[_0x2d720f+0x4]]+V[_0x20d2e1[_0x2d720f+0x5]]+'-'+V[_0x20d2e1[_0x2d720f+0x6]]+V[_0x20d2e1[_0x2d720f+0x7]]+'-'+V[_0x20d2e1[_0x2d720f+0x8]]+V[_0x20d2e1[_0x2d720f+0x9]]+'-'+V[_0x20d2e1[_0x2d720f+0xa]]+V[_0x20d2e1[_0x2d720f+0xb]]+V[_0x20d2e1[_0x2d720f+0xc]]+V[_0x20d2e1[_0x2d720f+0xd]]+V[_0x20d2e1[_0x2d720f+0xe]]+V[_0x20d2e1[_0x2d720f+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x117d0f=_0x133617;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x117d0f(0x30a));dt=crypto[_0x117d0f(0x311)]['bind'](crypto);}return dt(ls);}function _0x338e(_0x1bf22d,_0x4ec1d7){var _0x2c069b=_0x2c06();return _0x338e=function(_0x338e1c,_0x569262){_0x338e1c=_0x338e1c-0x163;var _0x2d854a=_0x2c069b[_0x338e1c];return _0x2d854a;},_0x338e(_0x1bf22d,_0x4ec1d7);}const ds=typeof crypto<'u'&&crypto[_0x133617(0x43a)]&&crypto[_0x133617(0x43a)][_0x133617(0x351)](crypto),qt={'randomUUID':ds};function fs(_0x1b3590,_0x15f3dd,_0x5941f7){var _0x1fb565=_0x133617;if(qt['randomUUID']&&!_0x15f3dd&&!_0x1b3590)return qt[_0x1fb565(0x43a)]();_0x1b3590=_0x1b3590||{};const _0x12b8f9=_0x1b3590[_0x1fb565(0x3e9)]||(_0x1b3590[_0x1fb565(0x3c4)]||us)();return _0x12b8f9[0x6]=_0x12b8f9[0x6]&0xf|0x40,_0x12b8f9[0x8]=_0x12b8f9[0x8]&0x3f|0x80,_s(_0x12b8f9);}const X=_0x45daf3(_0x133617(0x293));function uo(_0x1cb4ea){return'unit-cache-'+_0x1cb4ea;}var vs=Object[_0x133617(0x275)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x5ef522,_0x2fe51b,_0xad9fa0,_0xc24eee)=>{var _0xf18ab9=_0x133617;for(var _0x472ad5=_0xc24eee>0x1?void 0x0:_0xc24eee?ps(_0x2fe51b,_0xad9fa0):_0x2fe51b,_0xb7a46c=_0x5ef522[_0xf18ab9(0x2ec)]-0x1,_0x295f93;_0xb7a46c>=0x0;_0xb7a46c--)(_0x295f93=_0x5ef522[_0xb7a46c])&&(_0x472ad5=(_0xc24eee?_0x295f93(_0x2fe51b,_0xad9fa0,_0x472ad5):_0x295f93(_0x472ad5))||_0x472ad5);return _0xc24eee&&_0x472ad5&&vs(_0x2fe51b,_0xad9fa0,_0x472ad5),_0x472ad5;},ft=(_0xfc9fd4,_0x196e79)=>(_0x2bdca1,_0x7a1373)=>_0x196e79(_0x2bdca1,_0x7a1373,_0xfc9fd4);function ms(_0x2ea103){var _0x276c91=_0x133617;const {unitID:_0x1fcbad,mutations:_0x478457}=_0x2ea103;return{'unitId':_0x1fcbad,'subUnitId':_0x478457[0x0][_0x276c91(0x2f4)][_0x276c91(0x2c6)]};}let nt=class{constructor(_0x47e923,_0x46eb7b,_0x1f32b5){var _0xf3cb8a=_0x133617;this[_0xf3cb8a(0x1cc)]=_0x47e923,this[_0xf3cb8a(0x432)]=_0x46eb7b,this[_0xf3cb8a(0x29d)]=_0x1f32b5;}['transformSelections'](_0x3ade07){var _0x2e96b8=_0x133617,_0x5258bb,_0x3ae7d7,_0x511a22,_0x107953;const _0x40ef97=this[_0x2e96b8(0x1cc)][_0x2e96b8(0x456)](_0x183319),{unitId:_0x554a2f,subUnitId:_0x3df0ad}=ms(_0x3ade07),_0xc969a=_0x40ef97==null?void 0x0:_0x40ef97['getWorkbookSelections'](_0x554a2f)['getCurrentSelections'](),_0x1877e0=(_0x3ae7d7=(_0x5258bb=this[_0x2e96b8(0x29d)][_0x2e96b8(0x2ed)](_0x554a2f))==null?void 0x0:_0x5258bb[_0x2e96b8(0x274)]())==null?void 0x0:_0x3ae7d7['getSheetId']();if(_0xc969a[_0x2e96b8(0x2ec)]===0x0||!_0x554a2f||!_0x3df0ad)return;const _0x571a26=[{'id':_0x20231e['id'],'params':{'unitId':_0x554a2f,'subUnitId':_0x1877e0,'selections':_0x3e74e3[_0x2e96b8(0x292)](_0xc969a)}}],_0x4e3d17=this['_transformService'][_0x2e96b8(0x1d0)](_0x3ade07,_0x571a26);if(!_0x7af77d(_0x4e3d17))throw _0x4e3d17[_0x2e96b8(0x36e)];const _0x67e382=(_0x107953=(_0x511a22=_0x4e3d17[_0x2e96b8(0x1cb)][0x0])==null?void 0x0:_0x511a22[_0x2e96b8(0x2f4)])==null?void 0x0:_0x107953['selections'];if(Array[_0x2e96b8(0x3f0)](_0x67e382)&&_0x67e382['length']){if(_0x67e382[_0x2e96b8(0x2ec)]===_0x571a26[0x0][_0x2e96b8(0x2f4)][_0x2e96b8(0x373)]['length']&&_0x67e382[_0x2e96b8(0x406)]((_0x4f2a9e,_0x345be9)=>_0xcbaad8[_0x2e96b8(0x399)](_0x4f2a9e[_0x2e96b8(0x23d)],_0x571a26[0x0][_0x2e96b8(0x2f4)]['selections'][_0x345be9][_0x2e96b8(0x23d)])))return;this[_0x2e96b8(0x1cc)]['get'](_0x3a3afb)[_0x2e96b8(0x282)](_0x20231e['id'],{'unitId':_0x554a2f,'subUnitId':_0x1877e0,'selections':_0x67e382});}}};nt=gs([ft(0x0,_0x1dc41d(_0x485aa2)),ft(0x1,_0x4915cb),ft(0x2,_0x23476a)],nt);const _t=_0x45daf3(_0x133617(0x1f3));var Ri=(_0x29468e=>(_0x29468e[_0x29468e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x133617(0x16f),_0x29468e[_0x29468e[_0x133617(0x289)]=0x1]='OTHER_CLIENTS_EDITING',_0x29468e))(Ri||{});const Ss=new Set([_0x549ad3['id']]);function Jt(_0x3fb7c4,_0x6a82b2,_0x578987,_0x51dcfe,_0x14bde5){var _0x39059b=_0x133617,_0x2101c4,_0x559027,_0x3b7dab,_0x13988f;const _0x2e222a=[];for(const _0x47c512 of _0x3fb7c4)if(Ss[_0x39059b(0x29e)](_0x47c512['id'])){if(_0x2e222a[_0x39059b(0x2ec)]>0x0)break;_0x2e222a['push'](_0x47c512);break;}else _0x2e222a[_0x39059b(0x387)](_0x47c512);const _0x1f4330=(_0x559027=(_0x2101c4=_0x14bde5[_0x39059b(0x34f)]())==null?void 0x0:_0x2101c4['userID'])!=null?_0x559027:_0x39059b(0x332),_0x1a2eae=(_0x13988f=(_0x3b7dab=_0x14bde5[_0x39059b(0x34f)]())==null?void 0x0:_0x3b7dab['memberID'])!=null?_0x13988f:_0x39059b(0x332);return{'changeset':{'unitID':_0x6a82b2,'type':_0x53e7dd(_0x578987[_0x39059b(0x208)](_0x6a82b2)),'baseRev':_0x51dcfe[_0x39059b(0x195)](_0x6a82b2),'revision':0x0,'userID':_0x1f4330,'memberID':_0x1a2eae,'mutations':_0x2e222a},'pendingMutations':_0x3fb7c4['slice'](_0x2e222a['length'])};}function Es(_0x46cb29,_0x2520ba,_0x22e872,_0xf5245,_0xad960){var _0x49b6ca=_0x133617,_0x41c129,_0x5ae311,_0x305c44,_0x3a3763;const _0x4cc8a3=[_0x46cb29['reduce']((_0x485c19,_0x34dbdf)=>{var _0x4fe457=_0x338e,_0x237115;const {id:_0x1f02b6}=_0x485c19,{id:_0x32c469,type:_0x597dc5}=_0x34dbdf,_0x31bcb4=(_0x237115=_0x485c19['params'])!=null?_0x237115:{'actions':null},_0x44358b=_0x34dbdf[_0x4fe457(0x2f4)];if(_0x1f02b6&&_0x1f02b6!==_0x32c469)throw new Error(_0x4fe457(0x2b5)+_0x1f02b6+_0x4fe457(0x251)+_0x32c469+'.');return{..._0x485c19,'id':_0x32c469,'type':_0x597dc5,'params':{'unitId':_0x44358b[_0x4fe457(0x28e)],'textRanges':_0x44358b[_0x4fe457(0x42a)],'actions':_0x1084ae[_0x4fe457(0x1f1)](_0x31bcb4[_0x4fe457(0x442)],_0x44358b['actions'])}};},{})],_0xbd712f=(_0x5ae311=(_0x41c129=_0xad960[_0x49b6ca(0x34f)]())==null?void 0x0:_0x41c129['userID'])!=null?_0x5ae311:'unknown',_0x32eba3=(_0x3a3763=(_0x305c44=_0xad960[_0x49b6ca(0x34f)]())==null?void 0x0:_0x305c44[_0x49b6ca(0x21e)])!=null?_0x3a3763:_0x49b6ca(0x332);return{'changeset':{'unitID':_0x2520ba,'type':_0x53e7dd(_0x22e872['getUnitType'](_0x2520ba)),'baseRev':_0xf5245[_0x49b6ca(0x195)](_0x2520ba),'revision':0x0,'userID':_0xbd712f,'memberID':_0x32eba3,'mutations':_0x4cc8a3},'pendingMutations':[]};}function yi(_0x508361,_0x3e3ad5){var _0x589cdc=_0x133617;const _0x2c9457=new _0xb997b3(0x1);return setTimeout(()=>_0x2c9457['next'](_0x3e3ad5),_0x508361),_0x2c9457[_0x589cdc(0x193)]()[_0x589cdc(0x2a4)](_0x196b29(0x1));}const Is={'id':_0x5c1323['id'],'type':_0x2fe081['MUTATION'],'params':{}};var Ts=Object[_0x133617(0x275)],Cs=Object[_0x133617(0x22f)],Ce=(_0x5cccc3,_0x3fffe3,_0x12b703,_0x2a27ba)=>{var _0x38e55e=_0x133617;for(var _0x5461b8=_0x2a27ba>0x1?void 0x0:_0x2a27ba?Cs(_0x3fffe3,_0x12b703):_0x3fffe3,_0x2bf864=_0x5cccc3[_0x38e55e(0x2ec)]-0x1,_0x351cd1;_0x2bf864>=0x0;_0x2bf864--)(_0x351cd1=_0x5cccc3[_0x2bf864])&&(_0x5461b8=(_0x2a27ba?_0x351cd1(_0x3fffe3,_0x12b703,_0x5461b8):_0x351cd1(_0x5461b8))||_0x5461b8);return _0x2a27ba&&_0x5461b8&&Ts(_0x3fffe3,_0x12b703,_0x5461b8),_0x5461b8;},A=(_0x5e6a36,_0x445879)=>(_0x4c3ae2,_0x287ac2)=>_0x445879(_0x4c3ae2,_0x287ac2,_0x5e6a36),Oi=(_0x24c55a=>(_0x24c55a[_0x133617(0x1d8)]=_0x133617(0x1e5),_0x24c55a[_0x133617(0x423)]='synced',_0x24c55a[_0x133617(0x1b8)]=_0x133617(0x1a2),_0x24c55a[_0x133617(0x405)]=_0x133617(0x1d6),_0x24c55a[_0x133617(0x196)]=_0x133617(0x21d),_0x24c55a[_0x133617(0x3d9)]=_0x133617(0x1c8),_0x24c55a['CONFLICT']=_0x133617(0x210),_0x24c55a[_0x133617(0x397)]=_0x133617(0x43c),_0x24c55a))(Oi||{});const Pi=0xea60;class be{constructor(_0x79095,_0x3c0044,_0x46b8f6,_0x13f7c2,_0x242d6c,_0x32bf65,_0x11bbfa,_0x17c481,_0x3aeed9){var _0x1d806e=_0x133617;D(this,_0x1d806e(0x2e1),null),D(this,_0x1d806e(0x16a),[]),(this[_0x1d806e(0x1c7)]=_0x79095,this[_0x1d806e(0x425)]=_0x3c0044,this[_0x1d806e(0x247)]=_0x242d6c,this[_0x1d806e(0x1a8)]=_0x32bf65,this[_0x1d806e(0x287)]=_0x11bbfa,this['_revisionService']=_0x17c481,this['_localCacheService']=_0x3aeed9,this[_0x1d806e(0x2e1)]=_0x46b8f6,this[_0x1d806e(0x16a)]=_0x13f7c2);}['_checkMissing'](_0x2f141a){var _0x45c433=_0x133617;const _0x2da954=this[_0x45c433(0x431)]['getCurrentRevOfUnit'](this[_0x45c433(0x1c7)]);return _0x2f141a[_0x45c433(0x3e4)]>_0x2da954+0x1?(this[_0x45c433(0x247)][_0x45c433(0x3d4)]({'from':_0x2da954,'to':_0x2f141a[_0x45c433(0x3e4)]-0x1}),!0x0):!0x1;}[_0x133617(0x3d5)](_0xe3cfc8){var _0x5079b7=_0x133617;this[_0x5079b7(0x287)][_0x5079b7(0x19d)](this[_0x5079b7(0x1c7)],_0xe3cfc8);}[_0x133617(0x2fe)](_0x20cfad){var _0xbc811e=_0x133617,_0x159f9e,_0x32529c;(_0x32529c=(_0x159f9e=this[_0xbc811e(0x247)])[_0xbc811e(0x1d1)])==null||_0x32529c[_0xbc811e(0x2c7)](_0x159f9e,_0x20cfad);}[_0x133617(0x44a)](_0x1c35e0){var _0x14e901=_0x133617,_0x418963,_0x5e8be9;return(_0x5e8be9=(_0x418963=this[_0x14e901(0x247)])[_0x14e901(0x22c)])==null?void 0x0:_0x5e8be9['call'](_0x418963,_0x1c35e0);}[_0x133617(0x436)](_0x33ac8b){var _0x243e22=_0x133617,_0x59d94a,_0x12de89;return(_0x12de89=(_0x59d94a=this[_0x243e22(0x247)])[_0x243e22(0x181)])==null?void 0x0:_0x12de89['call'](_0x59d94a,_0x33ac8b);}[_0x133617(0x24d)](_0x165aa5){var _0x4322a0=_0x133617,_0x2f4ad4,_0x4cf39f,_0x237156;return(_0x237156=(_0x4cf39f=(_0x2f4ad4=this[_0x4322a0(0x247)])[_0x4322a0(0x460)])==null?void 0x0:_0x4cf39f[_0x4322a0(0x2c7)](_0x2f4ad4,_0x165aa5))!=null?_0x237156:_0x165aa5;}[_0x133617(0x3e0)](_0x5a33b4){var _0x3c5484=_0x133617,_0x11d154,_0x5527e5,_0xb3d5ef;return(_0xb3d5ef=(_0x5527e5=(_0x11d154=this[_0x3c5484(0x247)])[_0x3c5484(0x240)])==null?void 0x0:_0x5527e5[_0x3c5484(0x2c7)](_0x11d154,_0x5a33b4))!=null?_0xb3d5ef:_0x5a33b4;}[_0x133617(0x414)](_0x1dd5a3){var _0xc3f1d3=_0x133617,_0x5628f0,_0x148399;if(this[_0xc3f1d3(0x425)]===Q[_0xc3f1d3(0x3d1)]){const {unitID:_0xb9e8b9,mutations:_0x3da4be,memberID:_0x10c9aa}=_0x1dd5a3,_0x596289=_0x3da4be[0x0]['params'][_0xc3f1d3(0x42a)];Array[_0xc3f1d3(0x3f0)](_0x596289)&&_0x596289[_0xc3f1d3(0x2ec)]>0x0&&((_0x148399=(_0x5628f0=this[_0xc3f1d3(0x247)])[_0xc3f1d3(0x1df)])==null||_0x148399[_0xc3f1d3(0x2c7)](_0x5628f0,{'unitID':_0xb9e8b9,'memberID':_0x10c9aa,'textRanges':_0x596289}));}}[_0x133617(0x382)](){var _0x1440c9=_0x133617,_0x2eaa88;(_0x2eaa88=this[_0x1440c9(0x1b6)])==null||_0x2eaa88[_0x1440c9(0x1ba)](this[_0x1440c9(0x1c7)],this[_0x1440c9(0x425)],this['_awaitingChangeset'],this[_0x1440c9(0x16a)]);}[_0x133617(0x309)](){var _0x5da129=_0x133617;return this['_revisionService'][_0x5da129(0x195)](this[_0x5da129(0x1c7)]);}[_0x133617(0x272)](){var _0x107446=_0x133617;this[_0x107446(0x431)][_0x107446(0x17f)](this[_0x107446(0x1c7)]);}[_0x133617(0x2d8)](_0x2620c5){var _0x19eae3=_0x133617,_0x54eeb5;let _0x26cb54=this[_0x19eae3(0x24d)](_0x2620c5);_0x26cb54=this[_0x19eae3(0x3e0)](_0x26cb54);const _0x46fd7e=_0x31582c(_0x26cb54[_0x19eae3(0x315)],this[_0x19eae3(0x1a8)],{'fromCollab':!0x0});if(!_0x46fd7e['result'])throw _0x46fd7e['error']instanceof Error?_0x46fd7e['error']:new Error((_0x54eeb5=_0x46fd7e[_0x19eae3(0x36e)])!=null?_0x54eeb5:_0x19eae3(0x3d0));this[_0x19eae3(0x44a)](_0x26cb54),this[_0x19eae3(0x436)](_0x26cb54),this[_0x19eae3(0x3d5)](_0x2620c5),this[_0x19eae3(0x2fe)](_0x26cb54),this[_0x19eae3(0x414)](_0x26cb54),this[_0x19eae3(0x272)]();}}let Pe=class extends be{constructor(_0x31609d,_0x3a4a3e,_0x1336f2,_0x5bc70a,_0x4eefd0,_0x21b48a,_0x1bf24d,_0x4750a6,_0xc44ced,_0x2adf4f){var _0xd37386=_0x133617;super(_0x31609d,_0x3a4a3e,null,[],_0x1336f2,_0x1bf24d,_0x21b48a,_0x5bc70a,_0x2adf4f),D(this,_0xd37386(0x19e),'synced'),(this[_0xd37386(0x1cc)]=_0x4eefd0,this['_logService']=_0x4750a6,this[_0xd37386(0x432)]=_0xc44ced,this['localCacheService']=_0x2adf4f);}[_0x133617(0x2c8)](_0x4b1891){var _0xdeb6a7=_0x133617;const _0x5b6dc4=this[_0xdeb6a7(0x1cc)][_0xdeb6a7(0x3dc)](re,this[_0xdeb6a7(0x1c7)],this[_0xdeb6a7(0x425)],[_0x4b1891],this[_0xdeb6a7(0x247)]);return _0x5b6dc4[_0xdeb6a7(0x360)](),_0x5b6dc4[_0xdeb6a7(0x382)](),_0x5b6dc4;}[_0x133617(0x45e)](_0x10bc76){var _0x3da2f9=_0x133617;if(this[_0x3da2f9(0x1fc)](_0x10bc76))return this[_0x3da2f9(0x1cc)]['createInstance'](te,this[_0x3da2f9(0x1c7)],this[_0x3da2f9(0x425)],null,[],null,[_0x10bc76],this[_0x3da2f9(0x247)]);try{const _0x451a17=this[_0x3da2f9(0x432)]['transformMutationsWithChangeset'](_0x10bc76,[Is]);if(_0x7af77d(_0x451a17)){const {c1Prime:_0x5219ee}=_0x451a17;return this[_0x3da2f9(0x2d8)](_0x5219ee),this;}throw _0x451a17[_0x3da2f9(0x36e)];}catch(_0x4e7d4d){return this['_logService'][_0x3da2f9(0x36e)](_0x4e7d4d),this[_0x3da2f9(0x411)](!0x1);}}['_onConflict'](_0x4c7b58){var _0x1a17d5=_0x133617;return this['_injector'][_0x1a17d5(0x3dc)](de,this[_0x1a17d5(0x1c7)],this['type'],null,[],this[_0x1a17d5(0x247)],_0x4c7b58);}[_0x133617(0x33d)](){var _0x325ed1=_0x133617;throw new Error(_0x325ed1(0x3be));}['onRemoteRej'](){var _0x594a84=_0x133617;throw new Error(_0x594a84(0x364));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x1626af=_0x133617;return this[_0x1626af(0x1cc)][_0x1626af(0x3dc)](fe,this[_0x1626af(0x1c7)],this[_0x1626af(0x425)],null,[],this[_0x1626af(0x247)]);}[_0x133617(0x187)](){return this;}['resend'](){var _0x268ed3=_0x133617;throw new Error(_0x268ed3(0x379));}['fetchMiss'](){var _0x3d7f38=_0x133617;const _0x2d46ec=this[_0x3d7f38(0x431)]['getCurrentRevOfUnit'](this[_0x3d7f38(0x1c7)]);return this[_0x3d7f38(0x247)][_0x3d7f38(0x3d4)]({'from':_0x2d46ec,'to':0x0}),this[_0x3d7f38(0x1cc)][_0x3d7f38(0x3dc)](te,this['unitID'],this['type'],null,[],null,[],this[_0x3d7f38(0x247)]);}};Pe=Ce([A(0x3,_0x1dc41d(_0x1db671)),A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x2c523a),A(0x6,_0x3a3afb),A(0x7,_0x9980c2),A(0x8,_0x4915cb),A(0x9,_0x13f1aa(X))],Pe);let re=class extends be{constructor(_0x22d79d,_0x38006c,_0xcef7c0,_0x1fc6b4,_0x23a972,_0x460151,_0x3a07f9,_0x35d3f0,_0x362e6f,_0x116aa5,_0x16d780,_0x1dbf1e,_0x38e065,_0x43b6e0){var _0x5c1e6c=_0x133617;super(_0x22d79d,_0x38006c,null,_0xcef7c0,_0x1fc6b4,_0x362e6f,_0x38e065,_0x460151,_0x43b6e0),D(this,'status',_0x5c1e6c(0x1a2)),D(this,'_scheduleTimestamp',null),D(this,_0x5c1e6c(0x361),null),(this[_0x5c1e6c(0x1cc)]=_0x23a972,this['_memberService']=_0x3a07f9,this[_0x5c1e6c(0x3f1)]=_0x35d3f0,this[_0x5c1e6c(0x37c)]=_0x116aa5,this[_0x5c1e6c(0x432)]=_0x16d780,this[_0x5c1e6c(0x206)]=_0x1dbf1e);}[_0x133617(0x2c8)](_0x379af0){var _0x3b416b=_0x133617;return this[_0x3b416b(0x16a)]['push'](_0x379af0),this[_0x3b416b(0x382)](),this;}['onRemoteChangeset'](_0x12d78f){var _0x11c288=_0x133617;if(this[_0x11c288(0x1fc)](_0x12d78f))return this['_clearScheduledTask'](),this[_0x11c288(0x1cc)]['createInstance'](te,this[_0x11c288(0x1c7)],this[_0x11c288(0x425)],null,this[_0x11c288(0x16a)],null,[_0x12d78f],this[_0x11c288(0x247)]);try{const _0x5037ea=this['_transformService'][_0x11c288(0x1d0)](_0x12d78f,this[_0x11c288(0x16a)]);if(_0x7af77d(_0x5037ea)){const {c1Prime:_0x4119d4,m2Prime:_0x6f1913}=_0x5037ea;this['_executeRemoteChangeset'](_0x4119d4);const _0x44ac67=this[_0x11c288(0x1cc)][_0x11c288(0x3dc)](re,this[_0x11c288(0x1c7)],this[_0x11c288(0x425)],_0x6f1913,this['_handler']);return this[_0x11c288(0x448)](),_0x44ac67['_schedule'](this[_0x11c288(0x2b0)]?Math[_0x11c288(0x20e)](0x0,new Date()[_0x11c288(0x1a5)]()-this['_scheduleTimestamp']):this[_0x11c288(0x244)]()),_0x44ac67;}throw _0x5037ea[_0x11c288(0x36e)];}catch(_0x5ea4a6){return this[_0x11c288(0x3f1)][_0x11c288(0x36e)](_0x5ea4a6),this[_0x11c288(0x411)](!0x1);}}[_0x133617(0x33d)](){var _0x452610=_0x133617;throw new Error(_0x452610(0x233));}[_0x133617(0x2fc)](){var _0x135911=_0x133617;throw new Error(_0x135911(0x348));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x1c947f=_0x133617;return this['_clearScheduledTask'](),this[_0x1c947f(0x1cc)][_0x1c947f(0x3dc)](fe,this[_0x1c947f(0x1c7)],this[_0x1c947f(0x425)],null,this['_pendingMutations'],this[_0x1c947f(0x247)]);}['toggleOnline'](){return this;}[_0x133617(0x360)](_0xf2a10a){var _0x140bdc=_0x133617;const _0x499a69=_0xf2a10a!=null?_0xf2a10a:this[_0x140bdc(0x244)]();this[_0x140bdc(0x2b0)]=new Date()[_0x140bdc(0x1a5)](),this[_0x140bdc(0x361)]=setTimeout(()=>{var _0x141ebe=_0x140bdc;this[_0x141ebe(0x448)]();let _0x2b842b=null;switch(this[_0x141ebe(0x425)]){case Q[_0x141ebe(0x184)]:{_0x2b842b=Jt(this['_pendingMutations'],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this['_revisionService'],this[_0x141ebe(0x3c9)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x59366d=>_0x59366d['id']===_0x5a5832['id'])?_0x2b842b=Es(this['_pendingMutations'],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this[_0x141ebe(0x431)],this['_memberService']):_0x2b842b=Jt(this[_0x141ebe(0x16a)],this[_0x141ebe(0x1c7)],this[_0x141ebe(0x206)],this[_0x141ebe(0x431)],this[_0x141ebe(0x3c9)]);break;}default:throw new Error(_0x141ebe(0x1b7)+this['type']+_0x141ebe(0x3df));}const {changeset:_0x2a0d1c,pendingMutations:_0x1f56e9}=_0x2b842b;this[_0x141ebe(0x247)][_0x141ebe(0x185)](_0x2a0d1c);const _0x133743=_0x1f56e9[_0x141ebe(0x2ec)]?this[_0x141ebe(0x1cc)][_0x141ebe(0x3dc)](oe,this['unitID'],this[_0x141ebe(0x425)],_0x2a0d1c,_0x1f56e9,this['_handler'],void 0x0):this[_0x141ebe(0x1cc)][_0x141ebe(0x3dc)](ue,this[_0x141ebe(0x1c7)],this[_0x141ebe(0x425)],_0x2a0d1c,this[_0x141ebe(0x247)]);_0x133743[_0x141ebe(0x382)](),this[_0x141ebe(0x247)][_0x141ebe(0x1c0)](this,_0x133743);},_0x499a69);}['_getSendChangesetTimeout'](){var _0x24e245=_0x133617,_0x2b1e95;const _0x56715=this['_configService'][_0x24e245(0x237)](Y);return(_0x2b1e95=_0x56715==null?void 0x0:_0x56715[_0x24e245(0x43d)])!=null?_0x2b1e95:wn;}['resend'](){var _0x2785f3=_0x133617;throw new Error(_0x2785f3(0x451));}['_clearScheduledTask'](){var _0x5905e7=_0x133617;this[_0x5905e7(0x361)]!=null&&(clearTimeout(this[_0x5905e7(0x361)]),this[_0x5905e7(0x361)]=null);}[_0x133617(0x411)](_0x4596b4){var _0x21d120=_0x133617;return this[_0x21d120(0x448)](),this[_0x21d120(0x1cc)]['createInstance'](de,this[_0x21d120(0x1c7)],this[_0x21d120(0x425)],null,this[_0x21d120(0x16a)],this['_handler'],_0x4596b4);}};re=Ce([A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x1dc41d(_0x1db671)),A(0x6,_0x1dc41d(Le)),A(0x7,_0x9980c2),A(0x8,_0x3a3afb),A(0x9,_0x387b00),A(0xa,_0x4915cb),A(0xb,_0x23476a),A(0xc,_0x2c523a),A(0xd,_0x13f1aa(X))],re);let ue=class extends be{constructor(_0x48cb6b,_0x180fb5,_0xfaf2e,_0x51cea9,_0x2e9b4d,_0x153174,_0x33fb7c,_0x3f2981,_0x332e45,_0x4045d4,_0x527e17){var _0xcd8153=_0x133617;super(_0x48cb6b,_0x180fb5,_0xfaf2e,[],_0x51cea9,_0x33fb7c,_0x4045d4,_0x153174,_0x527e17),D(this,'status','awaiting'),D(this,_0xcd8153(0x45d),0x0),D(this,_0xcd8153(0x281)),D(this,_0xcd8153(0x453)),(this['_injector']=_0x2e9b4d,this[_0xcd8153(0x3f1)]=_0x3f2981,this[_0xcd8153(0x432)]=_0x332e45);}[_0x133617(0x2c8)](_0x41795c){var _0x3368d9=_0x133617;this[_0x3368d9(0x448)]();const _0x564d7e=this[_0x3368d9(0x1cc)][_0x3368d9(0x3dc)](oe,this[_0x3368d9(0x1c7)],this['type'],this[_0x3368d9(0x2e1)],[_0x41795c],this[_0x3368d9(0x247)],this['_resendTimer']);return _0x564d7e[_0x3368d9(0x382)](),_0x564d7e;}['onRemoteChangeset'](_0x1876de){var _0x2ef90d=_0x133617;if(this[_0x2ef90d(0x1fc)](_0x1876de))return this[_0x2ef90d(0x448)](),this['_injector'][_0x2ef90d(0x3dc)](te,this[_0x2ef90d(0x1c7)],this[_0x2ef90d(0x425)],this['_awaitingChangeset'],[],null,[_0x1876de],this['_handler']);try{const _0x52330f=this[_0x2ef90d(0x432)]['transformChangesets']([_0x1876de],[this[_0x2ef90d(0x2e1)]],!0x1);if(_0x48de75(_0x52330f)){const {c1Prime:_0x1842c5,c2Prime:_0x30885a}=_0x52330f;this['_executeRemoteChangeset'](_0x1842c5[0x0]),_0x30885a[0x0]['baseRev']=this[_0x2ef90d(0x309)](),this[_0x2ef90d(0x448)]();const _0x55a938=this['_injector'][_0x2ef90d(0x3dc)](ue,this[_0x2ef90d(0x1c7)],this['type'],_0x30885a[0x0],this[_0x2ef90d(0x247)]);return _0x55a938[_0x2ef90d(0x382)](),_0x55a938;}return this['_onConflict'](!0x1);}catch(_0x5941a8){return this['_logService'][_0x2ef90d(0x36e)](_0x5941a8),this[_0x2ef90d(0x411)](!0x1);}}[_0x133617(0x33d)](_0x231322){var _0x1d8773=_0x133617;this['_clearScheduledTask']();const _0x22e071=this['_revisionService'][_0x1d8773(0x195)](this[_0x1d8773(0x1c7)]);if(_0x231322[_0x1d8773(0x3e4)]<_0x22e071-0x1)return this;if(this['_checkMissing'](_0x231322))return this[_0x1d8773(0x1cc)]['createInstance'](te,this[_0x1d8773(0x1c7)],this[_0x1d8773(0x425)],null,[],this['_awaitingChangeset'],[],this[_0x1d8773(0x247)]);this[_0x1d8773(0x272)]();const _0x377cbf=this[_0x1d8773(0x1cc)]['createInstance'](Pe,this['unitID'],this[_0x1d8773(0x425)],this[_0x1d8773(0x247)]);return _0x377cbf[_0x1d8773(0x382)](),_0x377cbf;}[_0x133617(0x2fc)](_0x564c0d){var _0x9f4ef0=_0x133617;return this[_0x9f4ef0(0x411)](!!(_0x564c0d!=null&&_0x564c0d[_0x9f4ef0(0x2bf)]));}[_0x133617(0x452)](_0x3a2173){var _0x897c26=_0x133617;return this[_0x897c26(0x45d)]>Pi?this['toggleOffline']():(this['_resendTimer']=yi(this['_resendTimeout'],{'timeout':this[_0x897c26(0x45d)],'reqId':_0x3a2173['reqId']}),this[_0x897c26(0x453)]=this[_0x897c26(0x281)][_0x897c26(0x438)](({reqId:_0x2b186b,timeout:_0xb8dafc})=>{var _0x16a0a6=_0x897c26;this[_0x16a0a6(0x16e)](_0x2b186b,_0xb8dafc);}),this);}[_0x133617(0x300)](){var _0x5e3c46=_0x133617;return this[_0x5e3c46(0x448)](),this[_0x5e3c46(0x1cc)][_0x5e3c46(0x3dc)](fe,this[_0x5e3c46(0x1c7)],this[_0x5e3c46(0x425)],this['_awaitingChangeset'],[],this[_0x5e3c46(0x247)]);}['toggleOnline'](){return this;}['resend'](){var _0xb4fd02=_0x133617;this[_0xb4fd02(0x247)][_0xb4fd02(0x185)](this[_0xb4fd02(0x2e1)]);}[_0x133617(0x411)](_0x23d118){var _0x13f91d=_0x133617;return this[_0x13f91d(0x448)](),this[_0x13f91d(0x1cc)][_0x13f91d(0x3dc)](de,this[_0x13f91d(0x1c7)],this[_0x13f91d(0x425)],this[_0x13f91d(0x2e1)],[],this[_0x13f91d(0x247)],_0x23d118);}[_0x133617(0x16e)](_0x334bf2,_0x29ad04){var _0xe10e48=_0x133617,_0x19d74a;_0x334bf2===((_0x19d74a=this[_0xe10e48(0x2e1)])==null?void 0x0:_0x19d74a[_0xe10e48(0x170)])&&(this[_0xe10e48(0x1f4)](),this[_0xe10e48(0x45d)]=_0x29ad04===0x0?0x3e8:_0x29ad04*0x2);}[_0x133617(0x448)](){var _0x5caf91=_0x133617,_0x2ea65e;(_0x2ea65e=this[_0x5caf91(0x453)])==null||_0x2ea65e[_0x5caf91(0x1fe)](),this[_0x5caf91(0x45d)]=0x0;}};ue=Ce([A(0x4,_0x1dc41d(_0x485aa2)),A(0x5,_0x1dc41d(_0x1db671)),A(0x6,_0x3a3afb),A(0x7,_0x9980c2),A(0x8,_0x4915cb),A(0x9,_0x2c523a),A(0xa,_0x13f1aa(X))],ue);let oe=class extends be{constructor(_0x3b1218,_0x123ce0,_0x28a066,_0x1947cd,_0x287b1e,_0x47347e,_0x4418d7,_0x1cada1,_0x36bac8,_0x563079,_0x289dd3,_0x2783d0,_0x3e6503){var _0x33917f=_0x133617;super(_0x3b1218,_0x123ce0,_0x28a066,_0x1947cd,_0x287b1e,_0x36bac8,_0x2783d0,_0x1cada1,_0x3e6503),D(this,_0x33917f(0x19e),_0x33917f(0x21d)),D(this,_0x33917f(0x45d),0x0),D(this,'_resendTimer'),D(this,_0x33917f(0x453)),(this['_injector']=_0x4418d7,this['_logService']=_0x563079,this[_0x33917f(0x432)]=_0x289dd3,this[_0x33917f(0x3c7)]=_0x3e6503,_0x47347e&&(this[_0x33917f(0x281)]=_0x47347e,this[_0x33917f(0x453)]=this['_resendTimer']['subscribe'](({reqId:_0x1ae86d,timeout:_0x29974b})=>{var _0x3d09df=_0x33917f;this[_0x3d09df(0x16e)](_0x1ae86d,_0x29974b);})));}[_0x133617(0x2c8)](_0x5bcb85){var _0x409916=_0x133617;return this[_0x409916(0x16a)]['push'](_0x5bcb85),this;}[_0x133617(0x45e)](_0x22ee0e){var _0x54ca31=_0x133617;if(this[_0x54ca31(0x1fc)](_0x22ee0e))return this[_0x54ca31(0x448)](),this[_0x54ca31(0x1cc)][_0x54ca31(0x3dc)](te,this['unitID'],this[_0x54ca31(0x425)],this[_0x54ca31(0x2e1)],this[_0x54ca31(0x16a)],null,[_0x22ee0e],this[_0x54ca31(0x247)]);try{const _0x203681=this[_0x54ca31(0x432)][_0x54ca31(0x2d3)]([_0x22ee0e],[this[_0x54ca31(0x2e1)]],!0x1);if(_0x48de75(_0x203681)){const {c1Prime:_0x3d6397,c2Prime:_0x2ab80f}=_0x203681,_0x5e1b1d=this[_0x54ca31(0x432)][_0x54ca31(0x1d0)](_0x3d6397[0x0],this[_0x54ca31(0x16a)]);if(_0x7af77d(_0x5e1b1d)){const {c1Prime:_0x25dd83,m2Prime:_0x3cd5d4}=_0x5e1b1d;return this[_0x54ca31(0x2d8)](_0x25dd83),_0x2ab80f[0x0][_0x54ca31(0x205)]=this[_0x54ca31(0x309)](),this[_0x54ca31(0x448)](),this[_0x54ca31(0x1cc)]['createInstance'](oe,this[_0x54ca31(0x1c7)],this[_0x54ca31(0x425)],_0x2ab80f[0x0],_0x3cd5d4,this[_0x54ca31(0x247)],void 0x0);}throw _0x5e1b1d[_0x54ca31(0x36e)];}throw _0x203681[_0x54ca31(0x36e)];}catch(_0x48eabf){return this[_0x54ca31(0x3f1)][_0x54ca31(0x36e)](_0x48eabf),this[_0x54ca31(0x411)](!0x1);}}[_0x133617(0x33d)](_0xacdcf0){var _0x54ae32=_0x133617;if(this[_0x54ae32(0x448)](),this[_0x54ae32(0x1fc)](_0xacdcf0))return this[_0x54ae32(0x1cc)][_0x54ae32(0x3dc)](te,this[_0x54ae32(0x1c7)],this[_0x54ae32(0x425)],null,this[_0x54ae32(0x16a)],this[_0x54ae32(0x2e1)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x452f6d=this['_injector'][_0x54ae32(0x3dc)](re,this['unitID'],this[_0x54ae32(0x425)],this[_0x54ae32(0x16a)],this[_0x54ae32(0x247)]);return _0x452f6d[_0x54ae32(0x360)](),_0x452f6d[_0x54ae32(0x382)](),_0x452f6d;}['onRemoteRej'](_0x53c1a3){var _0x1080e6=_0x133617;return this['_onConflict'](!!(_0x53c1a3!=null&&_0x53c1a3[_0x1080e6(0x2bf)]));}[_0x133617(0x452)](_0x2fd88d){var _0x5ab2c6=_0x133617;return this['_resendTimeout']>Pi?this[_0x5ab2c6(0x300)]():(this[_0x5ab2c6(0x281)]=yi(this[_0x5ab2c6(0x45d)],{'timeout':this[_0x5ab2c6(0x45d)],'reqId':_0x2fd88d['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x50e2b1,timeout:_0x275a48})=>{var _0x11572a=_0x5ab2c6;this[_0x11572a(0x16e)](_0x50e2b1,_0x275a48);}),this);}['toggleOffline'](){var _0x30eeaa=_0x133617;return this['_clearScheduledTask'](),this[_0x30eeaa(0x1cc)]['createInstance'](fe,this[_0x30eeaa(0x1c7)],this[_0x30eeaa(0x425)],this[_0x30eeaa(0x2e1)],this['_pendingMutations'],this[_0x30eeaa(0x247)]);}['toggleOnline'](){return this;}['resend'](){var _0x34ce2f=_0x133617;this[_0x34ce2f(0x247)][_0x34ce2f(0x185)](this['_awaitingChangeset']);}[_0x133617(0x411)](_0x3d9122){var _0x5e25e8=_0x133617;return this[_0x5e25e8(0x448)](),this['_injector'][_0x5e25e8(0x3dc)](de,this['unitID'],this['type'],null,this[_0x5e25e8(0x16a)],this[_0x5e25e8(0x247)],_0x3d9122);}[_0x133617(0x16e)](_0x2e2d7c,_0x2e62e5){var _0xee07a6=_0x133617,_0x19a13d;_0x2e2d7c===((_0x19a13d=this[_0xee07a6(0x2e1)])==null?void 0x0:_0x19a13d[_0xee07a6(0x170)])&&(this[_0xee07a6(0x1f4)](),this['_resendTimeout']=_0x2e62e5===0x0?0x3e8:_0x2e62e5*0x2);}[_0x133617(0x448)](){var _0x40dbf6=_0x133617,_0x4e9040;(_0x4e9040=this[_0x40dbf6(0x453)])==null||_0x4e9040[_0x40dbf6(0x1fe)](),this[_0x40dbf6(0x45d)]=0x0;}};oe=Ce([A(0x6,_0x1dc41d(_0x485aa2)),A(0x7,_0x1dc41d(_0x1db671)),A(0x8,_0x3a3afb),A(0x9,_0x9980c2),A(0xa,_0x4915cb),A(0xb,_0x2c523a),A(0xc,_0x13f1aa(X))],oe);let de=class extends be{constructor(_0x4528de,_0x32b620,_0x98f45b,_0x434f2a,_0x1d0f7b,_0x8e00d2=!0x1,_0x2085e1,_0x10b243,_0x1906dd,_0x160cdf,_0x3de5d9,_0x14db3e,_0x3aac32){var _0x3a2918=_0x133617;super(_0x4528de,_0x32b620,_0x98f45b,_0x434f2a,_0x1d0f7b,_0x10b243,_0x1906dd,_0x160cdf,_0x3aac32),D(this,'status',_0x3a2918(0x210)),(this['_isPermissionRej']=_0x8e00d2,this[_0x3a2918(0x427)]=_0x2085e1,this[_0x3a2918(0x296)]=_0x3de5d9,this[_0x3a2918(0x439)]=_0x14db3e,this[_0x3a2918(0x3c7)]=_0x3aac32,this[_0x3a2918(0x3ee)](),this[_0x3a2918(0x446)](),this[_0x3a2918(0x24f)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x133617(0x2fc)](){return this;}[_0x133617(0x452)](){return this;}[_0x133617(0x300)](){return this;}[_0x133617(0x187)](){return this;}[_0x133617(0x1f4)](){var _0x59171e=_0x133617;throw new Error(_0x59171e(0x2c3));}[_0x133617(0x446)](){var _0x5117c0=_0x133617,_0x236f76;(_0x236f76=this[_0x5117c0(0x1b6)])==null||_0x236f76[_0x5117c0(0x1ba)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x243b9e=_0x133617;this[_0x243b9e(0x2fa)]?this[_0x243b9e(0x439)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x243b9e(0x439)][_0x243b9e(0x3a3)]({'id':se[_0x243b9e(0x366)]});}['_disableEditing'](){var _0x8c1db=_0x133617;this['_permissionService'][_0x8c1db(0x2e4)](new _0x4c611b(this[_0x8c1db(0x1c7)])['id'],!0x1);}};de=Ce([A(0x6,_0x1dc41d(_0x113cc3)),A(0x7,_0x3a3afb),A(0x8,_0x2c523a),A(0x9,_0x1dc41d(_0x1db671)),A(0xa,_0x1dc41d(_0x5bfcba)),A(0xb,_0x1dc41d(pe)),A(0xc,_0x13f1aa(X))],de);let fe=class extends be{constructor(_0x26e698,_0x34d64e,_0x1715f2,_0x3885cf,_0x1e19a9,_0x34e0dc,_0x2561ce,_0xdc1eb0,_0x55d877,_0xbb0faf){var _0x220da9=_0x133617;super(_0x26e698,_0x34d64e,_0x1715f2,_0x3885cf,_0x1e19a9,_0xdc1eb0,_0x55d877,_0x2561ce,_0xbb0faf),D(this,_0x220da9(0x19e),_0x220da9(0x43c)),this[_0x220da9(0x1cc)]=_0x34e0dc;}['appendMutation'](_0x56794f){var _0x162031=_0x133617;return this[_0x162031(0x16a)][_0x162031(0x387)](_0x56794f),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1bf11c){var _0x572de7=_0x133617;throw new Error(_0x572de7(0x33b));}[_0x133617(0x33d)](){var _0x3f79b3=_0x133617;throw new Error(_0x3f79b3(0x174));}[_0x133617(0x2fc)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){return this;}[_0x133617(0x187)](){var _0x5453c1=_0x133617;const {_injector:_0x26442c,_pendingMutations:_0x55203f,_awaitingChangeset:_0x47d7de,unitID:_0x4241cb,_handler:_0x38a730,type:_0x835cb7}=this,_0x5f20a0=Ni(_0x26442c,_0x4241cb,_0x835cb7,_0x47d7de,_0x55203f,_0x38a730);return _0x5f20a0 instanceof re?_0x5f20a0[_0x5453c1(0x360)]():(_0x5f20a0 instanceof oe||_0x5f20a0 instanceof ue)&&_0x5f20a0[_0x5453c1(0x1f4)](),_0x5f20a0;}[_0x133617(0x1f4)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Ce([A(0x5,_0x1dc41d(_0x485aa2)),A(0x6,_0x1dc41d(_0x1db671)),A(0x7,_0x3a3afb),A(0x8,_0x2c523a),A(0x9,_0x13f1aa(X))],fe);let te=class extends be{constructor(_0x4d47e3,_0x132ff5,_0x4f2710,_0x344f26,_0x3fb455,_0x186f3c,_0xe67091,_0x400ba1,_0x5e4d63,_0x126306,_0x2924e7,_0x505a63,_0x3dc7c5,_0x275830){var _0xd515ce=_0x133617;super(_0x4d47e3,_0x132ff5,_0x4f2710,_0x344f26,_0xe67091,_0x2924e7,_0x505a63,_0x5e4d63,_0x275830),D(this,_0xd515ce(0x19e),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3fb455,this[_0xd515ce(0x25e)]=_0x186f3c,this[_0xd515ce(0x1cc)]=_0x400ba1,this[_0xd515ce(0x3f1)]=_0x126306,this[_0xd515ce(0x432)]=_0x3dc7c5,this[_0xd515ce(0x3c7)]=_0x275830);}[_0x133617(0x2a8)](_0xd5f92d){var _0x5a8c7c=_0x133617;try{const _0x4dd3ea=[..._0xd5f92d,...this['_queuedRemoteChangesets']],_0x4fac78=[this[_0x5a8c7c(0x2e1)]||this[_0x5a8c7c(0x2ab)]][_0x5a8c7c(0x2b7)](_0x43224f=>!!_0x43224f);let _0x788d2c,_0x300e75;if(_0x4fac78['length']){const _0x50caa2=this['_transformService'][_0x5a8c7c(0x2d3)](_0x4dd3ea,_0x4fac78,!0x1);if(!_0x48de75(_0x50caa2))throw _0x50caa2['error'];_0x788d2c=_0x50caa2[_0x5a8c7c(0x307)],_0x300e75=_0x50caa2[_0x5a8c7c(0x2c4)];}else _0x788d2c=_0x4dd3ea,_0x300e75=[];let _0x47d54d=this[_0x5a8c7c(0x16a)];_0x788d2c['forEach'](_0x4c127f=>{var _0x275d57=_0x5a8c7c;let _0x3da9a4;if(_0x47d54d[_0x275d57(0x2ec)]){const _0x1a8e19=this[_0x275d57(0x432)][_0x275d57(0x1d0)](_0x4c127f,_0x47d54d);if(!_0x7af77d(_0x1a8e19))throw _0x1a8e19['error'];_0x3da9a4=_0x1a8e19['c1Prime'],_0x47d54d=_0x1a8e19[_0x275d57(0x1cb)];}else _0x3da9a4=_0x4c127f;this[_0x275d57(0x2d8)](_0x3da9a4);}),this[_0x5a8c7c(0x2ab)]&&this[_0x5a8c7c(0x272)](),this[_0x5a8c7c(0x2e1)]&&_0x300e75[_0x5a8c7c(0x2ec)]&&(_0x300e75[0x0]['baseRev']=this[_0x5a8c7c(0x309)]());let _0xeefce0;if(this[_0x5a8c7c(0x2e1)]&&_0x47d54d['length']!==0x0)_0xeefce0=this[_0x5a8c7c(0x1cc)][_0x5a8c7c(0x3dc)](oe,this['unitID'],this[_0x5a8c7c(0x425)],_0x300e75[0x0],_0x47d54d,this['_handler'],void 0x0);else{if(this[_0x5a8c7c(0x2e1)]&&_0x47d54d[_0x5a8c7c(0x2ec)]===0x0)_0x300e75[0x0]['baseRev']=this['_getCurrentRevision'](),_0xeefce0=this['_injector'][_0x5a8c7c(0x3dc)](ue,this[_0x5a8c7c(0x1c7)],this['type'],_0x300e75[0x0],this[_0x5a8c7c(0x247)]);else{if(_0x47d54d[_0x5a8c7c(0x2ec)]!==0x0){const _0x22a968=this[_0x5a8c7c(0x1cc)][_0x5a8c7c(0x3dc)](re,this[_0x5a8c7c(0x1c7)],this['type'],_0x47d54d,this['_handler']);_0x22a968['_schedule'](),_0xeefce0=_0x22a968;}else _0xeefce0=this['_injector']['createInstance'](Pe,this[_0x5a8c7c(0x1c7)],this[_0x5a8c7c(0x425)],this[_0x5a8c7c(0x247)]);}}return _0xeefce0[_0x5a8c7c(0x382)](),_0xeefce0;}catch(_0x42d25a){return this[_0x5a8c7c(0x3f1)][_0x5a8c7c(0x36e)](_0x5a8c7c(0x3ba),_0x5a8c7c(0x44f),_0x42d25a),this['_injector'][_0x5a8c7c(0x3dc)](de,this[_0x5a8c7c(0x1c7)],this['type'],this[_0x5a8c7c(0x2e1)],this[_0x5a8c7c(0x16a)],this['_handler'],!0x1);}}[_0x133617(0x1f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x37389b){var _0x16c675=_0x133617;return this[_0x16c675(0x16a)][_0x16c675(0x387)](_0x37389b),this;}['onRemoteChangeset'](_0x10a0ce){return this['_queuedRemoteChangesets']['push'](_0x10a0ce),this;}['onRemoteAck'](_0x8ec10f){var _0x45325b=_0x133617;if(this[_0x45325b(0x2e1)])return this[_0x45325b(0x2ab)]=this[_0x45325b(0x2e1)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x133617(0x2fc)](_0x46176f){var _0xfdfabd=_0x133617;return this[_0xfdfabd(0x411)](!!(_0x46176f!=null&&_0x46176f[_0xfdfabd(0x2bf)]));}['onRemoteRetry'](){return this;}[_0x133617(0x300)](){var _0x130344=_0x133617;return this[_0x130344(0x1cc)][_0x130344(0x3dc)](fe,this['unitID'],this[_0x130344(0x425)],this[_0x130344(0x2e1)],this[_0x130344(0x16a)],this[_0x130344(0x247)]);}['toggleOnline'](){return this;}[_0x133617(0x411)](_0x59fc71){var _0x325179=_0x133617;return this[_0x325179(0x1cc)][_0x325179(0x3dc)](de,this[_0x325179(0x1c7)],this[_0x325179(0x425)],this[_0x325179(0x2e1)],this[_0x325179(0x16a)],this[_0x325179(0x247)],_0x59fc71);}};te=Ce([A(0x7,_0x1dc41d(_0x485aa2)),A(0x8,_0x1dc41d(_0x1db671)),A(0x9,_0x9980c2),A(0xa,_0x3a3afb),A(0xb,_0x2c523a),A(0xc,_0x4915cb),A(0xd,_0x13f1aa(X))],te);function Ni(_0x5d53fb,_0x1420e8,_0x46af52,_0x48a777,_0x44af7c,_0x107bff){var _0x317d62=_0x133617;return _0x48a777&&_0x44af7c[_0x317d62(0x2ec)]?_0x5d53fb[_0x317d62(0x3dc)](oe,_0x1420e8,_0x46af52,_0x48a777,_0x44af7c,_0x107bff,void 0x0):_0x48a777?_0x5d53fb['createInstance'](ue,_0x1420e8,_0x46af52,_0x48a777,_0x107bff):_0x44af7c[_0x317d62(0x2ec)]?_0x5d53fb[_0x317d62(0x3dc)](re,_0x1420e8,_0x46af52,_0x44af7c,_0x107bff):_0x5d53fb['createInstance'](Pe,_0x1420e8,_0x46af52,_0x107bff);}var bs=Object[_0x133617(0x275)],Rs=Object[_0x133617(0x22f)],Mt=(_0x174bbd,_0xfec7d2,_0x57bd40,_0x1f1ef4)=>{for(var _0xdc65b9=_0x1f1ef4>0x1?void 0x0:_0x1f1ef4?Rs(_0xfec7d2,_0x57bd40):_0xfec7d2,_0x2d22d3=_0x174bbd['length']-0x1,_0x23ef76;_0x2d22d3>=0x0;_0x2d22d3--)(_0x23ef76=_0x174bbd[_0x2d22d3])&&(_0xdc65b9=(_0x1f1ef4?_0x23ef76(_0xfec7d2,_0x57bd40,_0xdc65b9):_0x23ef76(_0xdc65b9))||_0xdc65b9);return _0x1f1ef4&&_0xdc65b9&&bs(_0xfec7d2,_0x57bd40,_0xdc65b9),_0xdc65b9;},k=(_0x79389a,_0x53dab7)=>(_0x4d5b2f,_0x5e63da)=>_0x53dab7(_0x4d5b2f,_0x5e63da,_0x79389a);let st=class extends _0x2c04b2{constructor(_0x146cdc,_0x58c96e,_0x38ab1a,_0x3fce0f,_0x35bed6,_0x3f0bc4,_0x5dd949,_0x4dbe57,_0x129d56,_0x275774,_0x440bc9,_0x4ccb09,_0x590eea){var _0x29d8ec=_0x133617;super(),D(this,_0x29d8ec(0x2c1),new _0x560b1b(null)),D(this,_0x29d8ec(0x37b),this[_0x29d8ec(0x2c1)][_0x29d8ec(0x193)]()),D(this,_0x29d8ec(0x295)),D(this,_0x29d8ec(0x42b),!0x1),D(this,_0x29d8ec(0x167),''),D(this,_0x29d8ec(0x1d5),0x0),D(this,'status$',this['state$'][_0x29d8ec(0x2a4)](_0x9d5677(_0x16d68d=>_0x16d68d?_0x16d68d[_0x29d8ec(0x19e)]:Oi['OFFLINE']),_0x29092f(0x1))),D(this,_0x29d8ec(0x378),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x29d8ec(0x1c7)]=_0x146cdc,this['session']=_0x58c96e,this['_type']=_0x38ab1a,this[_0x29d8ec(0x1cc)]=_0x3fce0f,this[_0x29d8ec(0x178)]=_0x35bed6,this['_localeService']=_0x3f0bc4,this[_0x29d8ec(0x431)]=_0x5dd949,this[_0x29d8ec(0x1b5)]=_0x4dbe57,this[_0x29d8ec(0x3f1)]=_0x129d56,this[_0x29d8ec(0x1a8)]=_0x275774,this[_0x29d8ec(0x427)]=_0x440bc9,this[_0x29d8ec(0x3db)]=_0x4ccb09,this['_localCacheService']=_0x590eea);}get[_0x133617(0x32d)](){var _0xb7286b=_0x133617;return this[_0xb7286b(0x295)];}async[_0x133617(0x219)](){var _0x16e7ae=_0x133617;if(this[_0x16e7ae(0x32d)])throw new Error(_0x16e7ae(0x2c2));await this['_init']();}[_0x133617(0x1ed)](){var _0x2c4778=_0x133617;return this[_0x2c4778(0x42b)]=!0x0,_0x2b5885(()=>{var _0xe03005=_0x2c4778;this[_0xe03005(0x42b)]=!0x1,this[_0xe03005(0x1b4)]();});}['onLocalMutation'](_0xc40e5f){var _0x3c6a9e=_0x133617;this[_0x3c6a9e(0x318)](_0xc40e5f);}[_0x133617(0x443)](_0x4af2eb){var _0x365a7d=_0x133617;this['_state']=_0x4af2eb,this['_state$'][_0x365a7d(0x3d8)](_0x4af2eb);}async['_init'](){var _0x1d378a=_0x133617,_0x3cb20e;this[_0x1d378a(0x443)](await this['_createInitialState']()),this[_0x1d378a(0x3db)]&&((_0x3cb20e=this['_singleActiveUnitService'])==null||_0x3cb20e[_0x1d378a(0x284)](this['unitID']),this[_0x1d378a(0x3cf)](this['_singleActiveUnitService'][_0x1d378a(0x36d)](this[_0x1d378a(0x1c7)])[_0x1d378a(0x438)](_0x17b62d=>{var _0x47ee70=_0x1d378a;this['_logService'][_0x47ee70(0x171)]('[CollaborationEntity]',_0x47ee70(0x1c3),_0x17b62d),_0x17b62d===Ri[_0x47ee70(0x289)]?(this[_0x47ee70(0x1b5)][_0x47ee70(0x3a3)]({'id':se[_0x47ee70(0x46c)]}),this[_0x47ee70(0x427)][_0x47ee70(0x2e4)](new _0x4c611b(this[_0x47ee70(0x1c7)])['id'],!0x1),this['_permissionService'][_0x47ee70(0x1ca)](!0x1)):(this[_0x47ee70(0x427)]['updatePermissionPoint'](new _0x4c611b(this[_0x47ee70(0x1c7)])['id'],!0x0),this[_0x47ee70(0x427)][_0x47ee70(0x1ca)](!0x0));})));let _0x4edfa0=!0x1;return this[_0x1d378a(0x3cf)](this[_0x1d378a(0x283)][_0x1d378a(0x38c)][_0x1d378a(0x438)](_0x1194c2=>{var _0x4beec4=_0x1d378a;_0x1194c2===Ie[_0x4beec4(0x250)]?this[_0x4beec4(0x1c4)](_0x4edfa0):_0x1194c2===Ie['OFFLINE']&&(_0x4edfa0=!0x0,this[_0x4beec4(0x172)]());})),this[_0x1d378a(0x3cf)](this['session'][_0x1d378a(0x225)]['subscribe'](_0x578bce=>{var _0x2ee3ed=_0x1d378a;try{switch(_0x578bce[_0x2ee3ed(0x2b2)]){case _0xef4ce6[_0x2ee3ed(0x30d)]:{this['_onRemoteChangeset'](_0x578aac(_0x578bce[_0x2ee3ed(0x3b2)]));break;}case _0xef4ce6[_0x2ee3ed(0x1fb)]:{this['_onRemoteACK'](_0x578bce[_0x2ee3ed(0x3b2)]);break;}case _0xef4ce6['CHANGESET_REJ']:{this[_0x2ee3ed(0x25b)]();break;}case _0xef4ce6[_0x2ee3ed(0x220)]:{this[_0x2ee3ed(0x2bb)](_0x578bce[_0x2ee3ed(0x3b2)]);break;}case _0xef4ce6[_0x2ee3ed(0x3ec)]:{this['_onFetchMissResult'](_0x578bce['data'][_0x2ee3ed(0x412)]['map'](_0x18313b=>_0x578aac(_0x18313b)));break;}case _0xef4ce6[_0x2ee3ed(0x36a)]:this[_0x2ee3ed(0x25b)]({'isPermissionRej':!0x0});}}catch(_0x3ee097){throw console[_0x2ee3ed(0x36e)](_0x2ee3ed(0x2d9),_0x3ee097),_0x3ee097;}})),this[_0x1d378a(0x295)];}[_0x133617(0x183)](){var _0x53b4a5=_0x133617;this[_0x53b4a5(0x378)]=!0x1;}[_0x133617(0x367)](){var _0x41feaf=_0x133617;if(this[_0x41feaf(0x378)])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[_0x41feaf(0x378)]=!0x0;}['_onLocalMutation'](_0x2bf139){var _0x10691b=_0x133617;this[_0x10691b(0x367)](),this['_updateState'](this['_state'][_0x10691b(0x2c8)](_0x2bf139)),this[_0x10691b(0x183)]();}[_0x133617(0x191)](_0xf51a61){var _0x2f16f3=_0x133617;if(!(_0xf51a61[_0x2f16f3(0x3e4)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x2f16f3(0x1c7)]))){if(this[_0x2f16f3(0x42b)]){this[_0x2f16f3(0x409)][_0x2f16f3(0x387)](_0xf51a61);return;}this[_0x2f16f3(0x27a)](_0xf51a61);}}[_0x133617(0x1b4)](){var _0xa1a863=_0x133617;this[_0xa1a863(0x409)][_0xa1a863(0x202)](_0x2db0e0=>this['_applyRemoteChangeset'](_0x2db0e0)),this['_remoteChangesetQueue']=[];}[_0x133617(0x27a)](_0xc425a9){var _0x2577a8=_0x133617;const _0x2e307c=this['_compressMutationService'][_0x2577a8(0x2b8)]['fetchThroughInterceptors'](this[_0x2577a8(0x178)][_0x2577a8(0x2b8)][_0x2577a8(0x2d7)]()[_0x2577a8(0x3c0)])(_0xc425a9[_0x2577a8(0x315)],null)||_0xc425a9[_0x2577a8(0x315)],_0x401730={..._0xc425a9,'mutations':_0x2e307c};this[_0x2577a8(0x367)](),this[_0x2577a8(0x443)](this[_0x2577a8(0x295)][_0x2577a8(0x45e)](_0x401730)),this[_0x2577a8(0x183)]();}[_0x133617(0x42e)](_0x430fb6){var _0x25bc35=_0x133617;this[_0x25bc35(0x367)](),this[_0x25bc35(0x443)](this[_0x25bc35(0x295)]['onRemoteAck'](_0x430fb6)),this[_0x25bc35(0x183)]();}[_0x133617(0x25b)](_0x52d3d6){var _0xcb6848=_0x133617;this[_0xcb6848(0x367)](),this[_0xcb6848(0x443)](this[_0xcb6848(0x295)][_0xcb6848(0x2fc)](_0x52d3d6)),this[_0xcb6848(0x183)]();}['_onRemoteRetry'](_0x2b530f){var _0x58ab32=_0x133617;this['_lockTransition'](),this[_0x58ab32(0x443)](this[_0x58ab32(0x295)]['onRemoteRetry'](_0x2b530f)),this[_0x58ab32(0x183)]();}[_0x133617(0x286)](_0x4b8699){var _0xbd120d=_0x133617;if(!(this[_0xbd120d(0x295)]instanceof te))throw new TypeError(_0xbd120d(0x259));const _0x2b5156=_0x4b8699[_0xbd120d(0x339)](_0x1fb77c=>{var _0x16a7fc=_0xbd120d;const _0x550d4a=this[_0x16a7fc(0x178)][_0x16a7fc(0x2b8)][_0x16a7fc(0x3a5)](this[_0x16a7fc(0x178)][_0x16a7fc(0x2b8)][_0x16a7fc(0x2d7)]()[_0x16a7fc(0x3c0)])(_0x1fb77c[_0x16a7fc(0x315)],null)||_0x1fb77c['mutations'];return{..._0x1fb77c,'mutations':_0x550d4a};});this[_0xbd120d(0x367)](),this[_0xbd120d(0x443)](this[_0xbd120d(0x295)][_0xbd120d(0x2a8)](_0x2b5156)),this[_0xbd120d(0x183)]();}[_0x133617(0x172)](){var _0x2d8a3e=_0x133617;this[_0x2d8a3e(0x367)](),this['_updateState'](this[_0x2d8a3e(0x295)]['toggleOffline']()),this['_unlockTransition']();}[_0x133617(0x1c4)](_0x21f621=!0x1){var _0x2ea4c7=_0x133617;this[_0x2ea4c7(0x367)](),this[_0x2ea4c7(0x443)](this[_0x2ea4c7(0x295)][_0x2ea4c7(0x187)]()),this[_0x2ea4c7(0x183)]();const _0x250f37=this['_state'];_0x21f621&&_0x250f37 instanceof Pe&&(this['_lockTransition'](),this[_0x2ea4c7(0x443)](_0x250f37[_0x2ea4c7(0x288)]()),this[_0x2ea4c7(0x183)]());}async['_createInitialState'](){return new Promise(_0x336613=>{var _0x183262=_0x338e;this['session'][_0x183262(0x38c)]['pipe'](_0x196b29(0x1))[_0x183262(0x438)](async _0x3eb5ca=>{var _0x6f08c1=_0x183262;_0x336613(await this[_0x6f08c1(0x371)](_0x3eb5ca===Ie[_0x6f08c1(0x250)]));});});}['_createHandler'](){const _0x4ea949=this['unitID'];return{'onStateChange':(_0x325f51,_0x2d91d8)=>{var _0x4c3114=_0x338e;if(_0x325f51!==this[_0x4c3114(0x295)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x325f51[_0x4c3114(0x19e)]+_0x4c3114(0x372)+_0x2d91d8[_0x4c3114(0x19e)]+_0x4c3114(0x1c5)+this[_0x4c3114(0x295)][_0x4c3114(0x19e)]);this[_0x4c3114(0x443)](_0x2d91d8);},'onSendChangeset':_0x569a8c=>{var _0x2fd9ec=_0x338e;_0x569a8c[_0x2fd9ec(0x3b6)]||(_0x569a8c[_0x2fd9ec(0x3b6)]=this[_0x2fd9ec(0x167)],_0x569a8c[_0x2fd9ec(0x170)]=++this[_0x2fd9ec(0x1d5)]);const _0x22d099={'eventID':_0xef4ce6[_0x2fd9ec(0x213)],'data':{'unitID':_0x569a8c[_0x2fd9ec(0x1c7)],'unitType':this[_0x2fd9ec(0x297)],'changeset':_0x569a8c,'memberID':this['session']['getMemberID']()}};this[_0x2fd9ec(0x283)][_0x2fd9ec(0x375)](_0x22d099,this['unitID']);},'onMissingChangesets':({from:_0x1f1e4b,to:_0x470b3b})=>{var _0x2b73ec=_0x338e;this[_0x2b73ec(0x3f1)]['debug'](_0x2b73ec(0x28b),_0x2b73ec(0x1af)+_0x1f1e4b+'\x20to\x20'+_0x470b3b);const _0x55c5b5={'eventID':_0xef4ce6['FETCH_MISSING'],'data':{'unitID':_0x4ea949,'unitType':this['_type'],'from':_0x1f1e4b,'to':_0x470b3b}};this[_0x2b73ec(0x283)][_0x2b73ec(0x375)](_0x55c5b5,this[_0x2b73ec(0x1c7)]);}};}async[_0x133617(0x371)](_0x35d631){var _0x29db44=_0x133617,_0x3d7bab,_0x9f8c46,_0x155df6;const _0xb627e7=await((_0x3d7bab=this[_0x29db44(0x1b6)])==null?void 0x0:_0x3d7bab[_0x29db44(0x3a1)](this['unitID'])),_0x4077f0=(_0x9f8c46=_0xb627e7==null?void 0x0:_0xb627e7[_0x29db44(0x315)])!=null?_0x9f8c46:[],_0x9976eb=(_0x155df6=_0xb627e7==null?void 0x0:_0xb627e7[_0x29db44(0x1b9)])!=null?_0x155df6:null,_0x556a60=!!(_0x9976eb!=null&&_0x9976eb[_0x29db44(0x3b6)])&&!!(_0x9976eb!=null&&_0x9976eb['reqId']);this[_0x29db44(0x167)]=_0x556a60?_0x9976eb[_0x29db44(0x3b6)]:fs(),this['_changesetReqId']=_0x556a60?_0x9976eb[_0x29db44(0x170)]:0x0;const _0x1a0b9b=this['unitID'];try{this[_0x29db44(0x35f)](_0x9976eb,_0x4077f0);}catch(_0x4babb9){this[_0x29db44(0x3f1)][_0x29db44(0x36e)](_0x4babb9);}const _0x6c985b=this[_0x29db44(0x3b0)]();if(_0x35d631){const _0x4b1f3b=Ni(this[_0x29db44(0x1cc)],_0x1a0b9b,this[_0x29db44(0x297)],_0x9976eb,_0x4077f0,_0x6c985b);return _0x4b1f3b instanceof re?_0x4b1f3b[_0x29db44(0x360)]():(_0x4b1f3b instanceof oe||_0x4b1f3b instanceof ue)&&_0x4b1f3b[_0x29db44(0x1f4)](),_0x4b1f3b;}return this[_0x29db44(0x1cc)]['createInstance'](fe,_0x1a0b9b,this[_0x29db44(0x297)],_0x9976eb,_0x4077f0,_0x6c985b);}[_0x133617(0x35f)](_0x1e406c,_0x7384d9){var _0x3a623e=_0x133617,_0x3250a3,_0x19fce3;const _0x3c72b4=this[_0x3a623e(0x178)]['interceptor'][_0x3a623e(0x3a5)](this[_0x3a623e(0x178)][_0x3a623e(0x2b8)]['getInterceptPoints']()[_0x3a623e(0x3c0)]);(_0x3250a3=_0x3c72b4((_0x1e406c==null?void 0x0:_0x1e406c[_0x3a623e(0x315)])||[],null))==null||_0x3250a3['forEach'](_0x25fcdb=>this[_0x3a623e(0x1a8)][_0x3a623e(0x282)](_0x25fcdb['id'],_0x25fcdb[_0x3a623e(0x2f4)])),(_0x19fce3=_0x3c72b4(_0x7384d9||[],null))==null||_0x19fce3[_0x3a623e(0x202)](_0x1e564c=>this['_commandService']['executeCommand'](_0x1e564c['id'],_0x1e564c['params']));}};st=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(pe)),k(0x8,_0x9980c2),k(0x9,_0x3a3afb),k(0xa,_0x113cc3),k(0xb,_0x13f1aa(_t)),k(0xc,_0x13f1aa(X))],st);let Ct=class extends st{constructor(_0x3d63b1,_0x2e4fb6,_0x2214d1,_0x577567,_0x1ce497,_0x317632,_0x5bfe6b,_0x10cdf3,_0x32620e,_0x101a2a,_0x5e916a,_0x3129f1,_0x34bc31){var _0x4bdb52=_0x133617;super(_0x3d63b1,_0x2214d1,_0x2e4fb6,_0x577567,_0x1ce497,_0x317632,_0x5bfe6b,_0x10cdf3,_0x32620e,_0x101a2a,_0x5e916a,_0x3129f1,_0x34bc31),D(this,_0x4bdb52(0x37d),null),(this[_0x4bdb52(0x1c7)]=_0x3d63b1,this[_0x4bdb52(0x425)]=_0x2e4fb6);}[_0x133617(0x2c9)](_0x9892b6){var _0x217889=_0x133617;this[_0x217889(0x37d)]=_0x9892b6;}[_0x133617(0x35d)](){this['_handlerCallback']=null,super['dispose']();}[_0x133617(0x3b0)](){var _0x125de5=_0x133617;const _0x1bdc1b=super['_createHandler']();return _0x1bdc1b[_0x125de5(0x22c)]=_0x4b548b=>{var _0x458a0e=_0x125de5,_0x56ac24,_0x391b05;return(_0x391b05=(_0x56ac24=this[_0x458a0e(0x37d)])==null?void 0x0:_0x56ac24[_0x458a0e(0x22c)])==null?void 0x0:_0x391b05[_0x458a0e(0x2c7)](_0x56ac24,_0x4b548b);},_0x1bdc1b[_0x125de5(0x181)]=_0x30696c=>{var _0x11a9ae=_0x125de5,_0x90af11,_0x6cc0be;return(_0x6cc0be=(_0x90af11=this[_0x11a9ae(0x37d)])==null?void 0x0:_0x90af11[_0x11a9ae(0x181)])==null?void 0x0:_0x6cc0be['call'](_0x90af11,_0x30696c);},_0x1bdc1b[_0x125de5(0x1d1)]=_0x559ef4=>{var _0x4ee08d=_0x125de5,_0x435bb8,_0x1e917f;return(_0x1e917f=(_0x435bb8=this[_0x4ee08d(0x37d)])==null?void 0x0:_0x435bb8['onTransformSelections'])==null?void 0x0:_0x1e917f[_0x4ee08d(0x2c7)](_0x435bb8,_0x559ef4);},_0x1bdc1b[_0x125de5(0x1df)]=_0x3358d7=>{var _0x4cd38b=_0x125de5,_0x2b3bda,_0x5306a5;return(_0x5306a5=(_0x2b3bda=this[_0x4cd38b(0x37d)])==null?void 0x0:_0x2b3bda[_0x4cd38b(0x1df)])==null?void 0x0:_0x5306a5[_0x4cd38b(0x2c7)](_0x2b3bda,_0x3358d7);},_0x1bdc1b[_0x125de5(0x460)]=_0x4e9b86=>{var _0x33484b=_0x125de5,_0x554661,_0x135aad,_0x51bff9;if(!((_0x554661=this[_0x33484b(0x37d)])!=null&&_0x554661[_0x33484b(0x460)]))throw new Error(_0x33484b(0x271));return(_0x51bff9=(_0x135aad=this[_0x33484b(0x37d)])==null?void 0x0:_0x135aad['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x51bff9[_0x33484b(0x2c7)](_0x135aad,_0x4e9b86);},_0x1bdc1b[_0x125de5(0x240)]=_0x15983c=>{var _0x2307d6=_0x125de5,_0x141b7a,_0x1a69b5,_0x471836;if(!((_0x141b7a=this[_0x2307d6(0x37d)])!=null&&_0x141b7a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2307d6(0x1bb));return(_0x471836=(_0x1a69b5=this['_handlerCallback'])==null?void 0x0:_0x1a69b5[_0x2307d6(0x240)])==null?void 0x0:_0x471836[_0x2307d6(0x2c7)](_0x1a69b5,_0x15983c);},_0x1bdc1b;}async[_0x133617(0x182)](){var _0x251219=_0x133617;const _0x450f5c=await super['_init']();return this['disposeWithMe'](this[_0x251219(0x1a8)][_0x251219(0x211)]((_0x1b536d,_0x2aaa99)=>{var _0x35b425=_0x251219;if(_0x1b536d[_0x35b425(0x425)]!==_0x2fe081['MUTATION']||_0x2aaa99!=null&&_0x2aaa99[_0x35b425(0x1d3)]||_0x2aaa99!=null&&_0x2aaa99['onlyLocal']||_0x1b536d['id']===_0x5a5832['id'])return;const _0x4c1188=_0x1b536d['params'];if((_0x4c1188==null?void 0x0:_0x4c1188[_0x35b425(0x28e)])!==this[_0x35b425(0x1c7)])return;const _0x393ba0=_0x1b536d,_0x1c9e29=this[_0x35b425(0x178)][_0x35b425(0x2b8)][_0x35b425(0x3a5)](this[_0x35b425(0x178)]['interceptor'][_0x35b425(0x2d7)]()[_0x35b425(0x16d)])([_0x393ba0],null)||[_0x393ba0];this['_onLocalMutation'](_0x1c9e29[0x0]);})),_0x450f5c;}};Ct=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(pe)),k(0x8,_0x9980c2),k(0x9,_0x3a3afb),k(0xa,_0x113cc3),k(0xb,_0x13f1aa(_t)),k(0xc,_0x13f1aa(X))],Ct);let bt=class extends st{constructor(_0x3409f6,_0xced0b4,_0x54e990,_0x4da68c,_0x5c316b,_0x1fe035,_0x19871e,_0x533bf8,_0x54982e,_0x4f42dc,_0x477bc9,_0x445cb5,_0x2e814a,_0x537f9f){var _0x5da47d=_0x133617;super(_0x3409f6,_0x54e990,_0xced0b4,_0x4da68c,_0x5c316b,_0x1fe035,_0x19871e,_0x54982e,_0x4f42dc,_0x477bc9,_0x445cb5,_0x2e814a,_0x537f9f),this[_0x5da47d(0x1c7)]=_0x3409f6,this[_0x5da47d(0x425)]=_0xced0b4,this[_0x5da47d(0x354)]=_0x533bf8;}[_0x133617(0x3b0)](){var _0x31b3b2=_0x133617;const _0x4ff02=super[_0x31b3b2(0x3b0)]();return _0x4ff02[_0x31b3b2(0x1d1)]=_0x47f4b5=>this[_0x31b3b2(0x354)][_0x31b3b2(0x393)](_0x47f4b5),_0x4ff02;}async['_init'](){var _0x2fd842=_0x133617;const _0x14c1be=await super[_0x2fd842(0x182)]();return this[_0x2fd842(0x3cf)](this[_0x2fd842(0x1a8)]['onCommandExecuted']((_0x5a3efe,_0x2730d0)=>{var _0x3cf138=_0x2fd842;if(_0x5a3efe[_0x3cf138(0x425)]!==_0x2fe081['MUTATION']||_0x2730d0!=null&&_0x2730d0[_0x3cf138(0x1d3)]||_0x2730d0!=null&&_0x2730d0[_0x3cf138(0x1d7)])return;const _0x4a6a56=_0x5a3efe[_0x3cf138(0x2f4)];if((_0x4a6a56==null?void 0x0:_0x4a6a56[_0x3cf138(0x28e)])!==this['unitID'])return;const _0x3e0698=_0x5a3efe,_0x5cb2d7=this['_compressMutationService'][_0x3cf138(0x2b8)][_0x3cf138(0x3a5)](this[_0x3cf138(0x178)][_0x3cf138(0x2b8)]['getInterceptPoints']()[_0x3cf138(0x16d)])([_0x3e0698],null)||[_0x3e0698];this[_0x3cf138(0x318)](_0x5cb2d7[0x0]);})),_0x14c1be;}};bt=Mt([k(0x3,_0x1dc41d(_0x485aa2)),k(0x4,_0x1dc41d(_0x197e0d)),k(0x5,_0x1dc41d(_0x5bfcba)),k(0x6,_0x1dc41d(_0x1db671)),k(0x7,_0x1dc41d(nt)),k(0x8,_0x1dc41d(pe)),k(0x9,_0x9980c2),k(0xa,_0x3a3afb),k(0xb,_0x113cc3),k(0xc,_0x13f1aa(_t)),k(0xd,_0x13f1aa(X))],bt);var ys=Object[_0x133617(0x275)],Os=Object['getOwnPropertyDescriptor'],Ps=(_0x4a4b61,_0x27c672,_0x263fe0,_0x59715b)=>{var _0x2b8ffc=_0x133617;for(var _0x444273=_0x59715b>0x1?void 0x0:_0x59715b?Os(_0x27c672,_0x263fe0):_0x27c672,_0x1b61a1=_0x4a4b61[_0x2b8ffc(0x2ec)]-0x1,_0x2ddefe;_0x1b61a1>=0x0;_0x1b61a1--)(_0x2ddefe=_0x4a4b61[_0x1b61a1])&&(_0x444273=(_0x59715b?_0x2ddefe(_0x27c672,_0x263fe0,_0x444273):_0x2ddefe(_0x444273))||_0x444273);return _0x59715b&&_0x444273&&ys(_0x27c672,_0x263fe0,_0x444273),_0x444273;},vt=(_0x162b5f,_0x5a5636)=>(_0x396228,_0x265a7b)=>_0x5a5636(_0x396228,_0x265a7b,_0x162b5f);let rt=class extends _0x2c04b2{constructor(_0x4988e1,_0x323ecd,_0x4f6475){var _0x35ef34=_0x133617;super(),D(this,_0x35ef34(0x2ad),new Map()),D(this,_0x35ef34(0x177),new _0x48a56c()),D(this,'entityInit$',this[_0x35ef34(0x177)][_0x35ef34(0x193)]()),(this[_0x35ef34(0x1cc)]=_0x4988e1,this[_0x35ef34(0x1bd)]=_0x323ecd,this[_0x35ef34(0x206)]=_0x4f6475,this[_0x35ef34(0x182)]());}[_0x133617(0x35d)](){var _0x2e769b=_0x133617;super[_0x2e769b(0x35d)](),this[_0x2e769b(0x2ad)]['forEach'](_0x4c4b70=>_0x4c4b70[_0x2e769b(0x35d)]()),this[_0x2e769b(0x2ad)][_0x2e769b(0x2f2)]();}[_0x133617(0x2f3)](_0x415455){var _0xe3af82=_0x133617,_0xa8839f;return(_0xa8839f=this[_0xe3af82(0x2ad)]['get'](_0x415455))!=null?_0xa8839f:null;}[_0x133617(0x324)](_0x193bf9){var _0x28e18a=_0x133617;const _0x8959eb=this[_0x28e18a(0x2f3)](_0x193bf9);return _0x8959eb?_0x5f500f(_0x8959eb):this[_0x28e18a(0x177)][_0x28e18a(0x2a4)](_0x187f73(_0x2860d9=>_0x2860d9[_0x28e18a(0x1c7)]===_0x193bf9));}['readyForCollab'](_0x54c672){var _0x2c4ab4=_0x133617;return _0x2d770b(this['getCollabEntity$'](_0x54c672)[_0x2c4ab4(0x2a4)](_0xab3a8f(()=>{})));}[_0x133617(0x182)](){var _0x228b22=_0x133617;this[_0x228b22(0x206)][_0x228b22(0x280)](_0x4b329a['UNIVER_SHEET'])['pipe'](_0x48340f(this[_0x228b22(0x3a4)]),_0x50b254(0x10))[_0x228b22(0x438)](async _0x1a06b0=>{var _0x32db39=_0x228b22;const _0x33e122=_0x1a06b0['getUnitId'](),_0x1b1b45=await this[_0x32db39(0x41b)](_0x33e122,Q['UNIVER_SHEET']);this[_0x32db39(0x2ad)]['set'](_0x33e122,_0x1b1b45);}),this['_univerInstanceService'][_0x228b22(0x280)](_0x4b329a[_0x228b22(0x3d1)])[_0x228b22(0x2a4)](_0x48340f(this[_0x228b22(0x3a4)]),_0x50b254(0x10))[_0x228b22(0x2a4)](_0x187f73(_0xd8c995=>!_0xd8c995['getUnitId']()[_0x228b22(0x3b4)]('__')))['subscribe'](async _0x4eb4b2=>{var _0x2a22d2=_0x228b22;const _0x52f3e1=_0x4eb4b2[_0x2a22d2(0x3e2)](),_0x523817=await this[_0x2a22d2(0x41b)](_0x52f3e1,Q[_0x2a22d2(0x3d1)]);this[_0x2a22d2(0x2ad)][_0x2a22d2(0x2dd)](_0x52f3e1,_0x523817);}),_0x157496(this[_0x228b22(0x206)]['getTypeOfUnitDisposed$'](_0x4b329a['UNIVER_SHEET']),this[_0x228b22(0x206)][_0x228b22(0x421)](_0x4b329a[_0x228b22(0x3d1)]))[_0x228b22(0x2a4)](_0x48340f(this['dispose$']))[_0x228b22(0x438)](_0x44901a=>{var _0x392cd8=_0x228b22;const _0x45a45b=_0x44901a[_0x392cd8(0x3e2)](),_0xda66e=this[_0x392cd8(0x2ad)][_0x392cd8(0x456)](_0x45a45b);_0xda66e&&(_0xda66e[_0x392cd8(0x35d)](),this[_0x392cd8(0x2ad)][_0x392cd8(0x2a7)](_0x45a45b));});}async['_startCollaboration'](_0x15fd7a,_0x1625c1){var _0x4440a3=_0x133617;const _0x226cd0=await this[_0x4440a3(0x1bd)][_0x4440a3(0x3f4)](_0x15fd7a),_0xa79fc=this[_0x4440a3(0x1cc)][_0x4440a3(0x3dc)](this[_0x4440a3(0x1e7)](_0x1625c1),_0x15fd7a,_0x1625c1,_0x226cd0);return await _0xa79fc['init'](),this[_0x4440a3(0x177)][_0x4440a3(0x3d8)](_0xa79fc),_0xa79fc;}[_0x133617(0x1e7)](_0x1ab58f){var _0x4532f5=_0x133617;switch(_0x1ab58f){case Q[_0x4532f5(0x3d1)]:return Ct;case Q[_0x4532f5(0x184)]:return bt;default:throw new Error(_0x4532f5(0x308)+_0x1ab58f);}}};rt=Ps([vt(0x0,_0x1dc41d(_0x485aa2)),vt(0x1,_0x1dc41d(Me)),vt(0x2,_0x23476a)],rt);var Ns=Object['defineProperty'],Ds=Object[_0x133617(0x22f)],ws=(_0x3f12c0,_0x165ebf,_0x9a6c14,_0x3362dd)=>{var _0x18a639=_0x133617;for(var _0x4016a3=_0x3362dd>0x1?void 0x0:_0x3362dd?Ds(_0x165ebf,_0x9a6c14):_0x165ebf,_0x3ca982=_0x3f12c0[_0x18a639(0x2ec)]-0x1,_0x396a1a;_0x3ca982>=0x0;_0x3ca982--)(_0x396a1a=_0x3f12c0[_0x3ca982])&&(_0x4016a3=(_0x3362dd?_0x396a1a(_0x165ebf,_0x9a6c14,_0x4016a3):_0x396a1a(_0x4016a3))||_0x4016a3);return _0x3362dd&&_0x4016a3&&Ns(_0x165ebf,_0x9a6c14,_0x4016a3),_0x4016a3;},Xt=(_0x244195,_0x1af220)=>(_0x42c06d,_0x584d9a)=>_0x1af220(_0x42c06d,_0x584d9a,_0x244195);const Us=_0x133617(0x3d7),As=_0x133617(0x200);let Rt=class extends _0xf6a891{constructor(_0x214789,_0x2744cb){var _0x23ac7e=_0x133617;super(),this[_0x23ac7e(0x206)]=_0x214789,this[_0x23ac7e(0x37c)]=_0x2744cb,this[_0x23ac7e(0x182)]();}[_0x133617(0x182)](){var _0x38b70e=_0x133617;this[_0x38b70e(0x3cf)](this['_univerInstanceService'][_0x38b70e(0x188)][_0x38b70e(0x438)](()=>{var _0x299e21=_0x38b70e,_0x121b2e;const _0x4c20c0=this[_0x299e21(0x206)][_0x299e21(0x44d)]();let _0x1079bb=(_0x121b2e=this['_configService']['getConfig'](Us))!=null?_0x121b2e:As;_0x4c20c0 instanceof _0x3eae1b&&(_0x1079bb=_0x4c20c0[_0x299e21(0x3c6)]),document[_0x299e21(0x194)]=_0x1079bb;}));}};Rt=ws([Xt(0x0,_0x23476a),Xt(0x1,_0x387b00)],Rt);var xs=Object[_0x133617(0x275)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x59db8d,_0x4e2323,_0x30ac8c,_0x5ee720)=>{var _0x2c5b61=_0x133617;for(var _0x4d772c=_0x5ee720>0x1?void 0x0:_0x5ee720?Ls(_0x4e2323,_0x30ac8c):_0x4e2323,_0x242ee2=_0x59db8d[_0x2c5b61(0x2ec)]-0x1,_0x2cbbc4;_0x242ee2>=0x0;_0x242ee2--)(_0x2cbbc4=_0x59db8d[_0x242ee2])&&(_0x4d772c=(_0x5ee720?_0x2cbbc4(_0x4e2323,_0x30ac8c,_0x4d772c):_0x2cbbc4(_0x4d772c))||_0x4d772c);return _0x5ee720&&_0x4d772c&&xs(_0x4e2323,_0x30ac8c,_0x4d772c),_0x4d772c;},pt=(_0x375114,_0x146a44)=>(_0x19c1f4,_0x20ed88)=>_0x146a44(_0x19c1f4,_0x20ed88,_0x375114);let ot=class{constructor(_0x1af9fd,_0x24c9ef,_0x3a28e5){var _0x3edb17=_0x133617;this[_0x3edb17(0x37c)]=_0x1af9fd,this[_0x3edb17(0x3fb)]=_0x24c9ef,this[_0x3edb17(0x2fb)]=_0x3a28e5,this[_0x3edb17(0x219)]();}[_0x133617(0x219)](){var _0x490ba4=_0x133617;this[_0x490ba4(0x3fb)][_0x490ba4(0x1a3)]({'priority':0x1,'interceptor':(_0x12f3d4,_0x5303f8)=>_0x5303f8(_0x12f3d4)[_0x490ba4(0x2a4)](_0x5c9c44(async _0x2e2592=>{var _0x11f795=_0x490ba4;const _0x3b8a93=_0x2e2592;if(_0x3b8a93[_0x11f795(0x19e)]===0x191){if(typeof window>'u')throw new Error(_0x11f795(0x3ca));if(window[_0x11f795(0x386)](this['localeService']['t'](_0x11f795(0x3e7)))){const _0x5a4da7=window['encodeURIComponent'](window[_0x11f795(0x1d2)][_0x11f795(0x1c1)]);window[_0x11f795(0x1d2)]['href']=this[_0x11f795(0x1ef)]()+'?url='+_0x5a4da7;}}return _0x3b8a93;}))});}[_0x133617(0x1ef)](){var _0x52ca80=_0x133617,_0x49fe07,_0x104852;const _0x12a6d0=this[_0x52ca80(0x37c)][_0x52ca80(0x237)](Fn),_0x5508df=this['_configService'][_0x52ca80(0x237)](Y);return(_0x104852=(_0x49fe07=_0x5508df==null?void 0x0:_0x5508df[_0x52ca80(0x268)])!=null?_0x49fe07:_0x12a6d0)!=null?_0x104852:Vn;}};ot=Ms([pt(0x0,_0x387b00),pt(0x1,_0x1dc41d(_0x566212)),pt(0x2,_0x1dc41d(_0x5bfcba))],ot);var $s=Object[_0x133617(0x275)],Hs=Object[_0x133617(0x22f)],ks=(_0x68a5a1,_0x4cfa99,_0x357263,_0x5d539b)=>{for(var _0x5e1128=_0x5d539b>0x1?void 0x0:_0x5d539b?Hs(_0x4cfa99,_0x357263):_0x4cfa99,_0x695f5d=_0x68a5a1['length']-0x1,_0x30fc33;_0x695f5d>=0x0;_0x695f5d--)(_0x30fc33=_0x68a5a1[_0x695f5d])&&(_0x5e1128=(_0x5d539b?_0x30fc33(_0x4cfa99,_0x357263,_0x5e1128):_0x30fc33(_0x5e1128))||_0x5e1128);return _0x5d539b&&_0x5e1128&&$s(_0x4cfa99,_0x357263,_0x5e1128),_0x5e1128;},Zt=(_0x20f537,_0x3754c4)=>(_0x5909dd,_0x147c1d)=>_0x3754c4(_0x5909dd,_0x147c1d,_0x20f537);const Di='AUTHZ_URL_KEY',js=_0x133617(0x3f3);let yt=class extends _0xf6a891{constructor(_0x41c5e9,_0x31d700){var _0x94e781=_0x133617;super(),this[_0x94e781(0x45c)]=_0x41c5e9,this['_configService']=_0x31d700,this[_0x94e781(0x18b)]();}[_0x133617(0x18b)](){var _0x1797b3=_0x133617;const _0x3fcc92=this;this[_0x1797b3(0x3cf)](this[_0x1797b3(0x45c)][_0x1797b3(0x1a3)]({'priority':0x3e7,'interceptor':_0x59cea1({'isMatch'(_0x30b39c){var _0x4da93e=_0x1797b3,_0x43d3a6;if(_0x30b39c['method']===_0x4da93e(0x35a)&&((_0x43d3a6=_0x30b39c[_0x4da93e(0x445)])!=null&&_0x43d3a6[_0x4da93e(0x45b)])){const {objectID:_0xbcb17a,objectType:_0x42db9d}=_0x30b39c[_0x4da93e(0x445)][_0x4da93e(0x45b)]||{};if(!_0xbcb17a||_0x42db9d===void 0x0)return!0x1;const _0x382d89=_0x3fcc92[_0x4da93e(0x20b)]()+'/'+_0x42db9d+'/object/'+_0xbcb17a+_0x4da93e(0x35b);if(_0x30b39c[_0x4da93e(0x39f)]===_0x382d89)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31deb7){var _0x194b01=_0x1797b3,_0x6ddc35;return(_0x6ddc35=_0x31deb7[_0x194b01(0x445)])==null?void 0x0:_0x6ddc35['body'];},'mergeParamsToRequest'(_0x51cfec,_0x5cecd8){var _0x1ff9cb=_0x1797b3;const _0x47d415=_0x3fcc92[_0x1ff9cb(0x20b)]()+_0x1ff9cb(0x357),_0x537a80=_0x51cfec[_0x1ff9cb(0x163)]((_0x3eebce,_0x46f3a7)=>{var _0x5a087e=_0x1ff9cb;const {unitID:_0x2ceb1d,objectID:_0x292592,objectType:_0x2fa34e,actions:_0xca1281}=_0x46f3a7;return _0x3eebce[_0x2ceb1d]||(_0x3eebce[_0x2ceb1d]={}),_0x3eebce[_0x2ceb1d][_0x292592]||(_0x3eebce[_0x2ceb1d][_0x292592]={'objectID':_0x292592,'objectType':_0x2fa34e,'actions':[]}),_0x3eebce[_0x2ceb1d][_0x292592][_0x5a087e(0x442)][_0x5a087e(0x387)](..._0xca1281),_0x3eebce;},{}),_0x26ff04=[];for(const _0x4f8e9c in _0x537a80)for(const _0xeb4259 in _0x537a80[_0x4f8e9c]){const {actions:_0x2cfe10,objectType:_0x4f7760}=_0x537a80[_0x4f8e9c][_0xeb4259],_0x26f2a0=[...new Set(_0x2cfe10)];_0x26ff04['push']({'unitID':_0x4f8e9c,'objectID':_0xeb4259,'objectType':_0x4f7760,'actions':_0x26f2a0});}return new _0x3666bf(_0x1ff9cb(0x35a),_0x47d415,{'headers':_0x5cecd8[_0x1ff9cb(0x314)],'withCredentials':_0x5cecd8[_0x1ff9cb(0x27b)],'responseType':_0x5cecd8['responseType'],'body':{'requests':_0x26ff04}});}},{'distributeResult'(_0x2a1ac6,_0x4c8da7){var _0x439a66=_0x1797b3;const {objectActions:_0x10c0e1}=_0x2a1ac6;return _0x4c8da7[_0x439a66(0x339)](_0xfd8eef=>{var _0x339af0=_0x439a66;const {unitID:_0x29e773,objectID:_0xc14d51,actions:_0x450f16}=_0xfd8eef,_0x42169a=_0x10c0e1[_0x339af0(0x1b0)](_0x202aa9=>_0x202aa9['unitID']===_0x29e773&&_0x202aa9['objectID']===_0xc14d51),_0x2ccae3=_0x450f16['map'](_0x14ebdc=>_0x42169a==null?void 0x0:_0x42169a[_0x339af0(0x442)][_0x339af0(0x1b0)](_0x1120c9=>_0x1120c9[_0x339af0(0x1ce)]===_0x14ebdc))[_0x339af0(0x2b7)](_0x13911b=>!!_0x13911b);return{'config':_0xfd8eef,'result':{'actions':_0x2ccae3,'error':_0x2a1ac6[_0x339af0(0x36e)]}};});}})}));}[_0x133617(0x20b)](){var _0x2f9c8c=_0x133617,_0x11f901,_0x33afd4;const _0x26a086=this[_0x2f9c8c(0x37c)][_0x2f9c8c(0x237)](Di),_0x2a5fb5=this[_0x2f9c8c(0x37c)][_0x2f9c8c(0x237)](Y);return(_0x33afd4=(_0x11f901=_0x2a5fb5==null?void 0x0:_0x2a5fb5[_0x2f9c8c(0x2ea)])!=null?_0x11f901:_0x26a086)!=null?_0x33afd4:js;}async[_0x133617(0x3b8)](_0x24aa93){var _0x548219=_0x133617;const _0x382385=this['_getAPIPrefixPath']()+'/'+_0x24aa93[_0x548219(0x329)]+_0x548219(0x330);return(await this[_0x548219(0x45c)][_0x548219(0x369)](_0x382385,{'body':_0x24aa93}))[_0x548219(0x45b)][_0x548219(0x370)]||'';}async[_0x133617(0x319)](_0x4b521c){var _0x5bfda0=_0x133617;const _0x38be38=this['_getAPIPrefixPath']()+_0x5bfda0(0x216);return(await this['_HTTPService'][_0x5bfda0(0x369)](_0x38be38,{'body':_0x4b521c}))['body'][_0x5bfda0(0x19a)];}async[_0x133617(0x467)](_0xb568dd){var _0x5988bb=_0x133617;const _0xee368d=this['_getAPIPrefixPath']()+'/'+_0xb568dd[_0x5988bb(0x329)]+_0x5988bb(0x39a)+_0xb568dd['objectID'];await this[_0x5988bb(0x45c)][_0x5988bb(0x40b)](_0xee368d,{'body':_0xb568dd});}async[_0x133617(0x254)](_0x4fd1e0){var _0x260506=_0x133617;const _0x41720f=this[_0x260506(0x20b)]()+'/'+_0x4fd1e0[_0x260506(0x329)]+_0x260506(0x39a)+_0x4fd1e0[_0x260506(0x370)]+_0x260506(0x35b);return(await this[_0x260506(0x45c)][_0x260506(0x369)](_0x41720f,{'body':_0x4fd1e0}))[_0x260506(0x45b)][_0x260506(0x442)];}async[_0x133617(0x16c)](_0x5a28ae){var _0x11ec60=_0x133617;const _0x287128=this[_0x11ec60(0x20b)]()+_0x11ec60(0x357);return(await this['_HTTPService']['post'](_0x287128,{'body':{'requests':_0x5a28ae}}))[_0x11ec60(0x45b)]['objectActions'];}async[_0x133617(0x2d4)](_0x475fca){var _0x598146=_0x133617;const _0x5d1260=this[_0x598146(0x20b)]()+'/'+_0x475fca[_0x598146(0x329)]+_0x598146(0x305),_0x709810=await this[_0x598146(0x45c)][_0x598146(0x369)](_0x5d1260,{'body':_0x475fca});return{'roles':_0x709810[_0x598146(0x45b)][_0x598146(0x2cb)],'actions':_0x709810[_0x598146(0x45b)][_0x598146(0x442)]};}async[_0x133617(0x3f7)](_0x43fc8f){var _0x3308b6=_0x133617;const _0x82fc95=this[_0x3308b6(0x20b)]()+_0x3308b6(0x1ad);await this[_0x3308b6(0x45c)]['delete'](_0x82fc95,{'params':{'collaboratorID':_0x43fc8f[_0x3308b6(0x39d)],'objectID':_0x43fc8f['objectID'],'unitID':_0x43fc8f[_0x3308b6(0x1c7)]}});}async[_0x133617(0x389)](_0x5d50a7){var _0x15346a=_0x133617;const _0x33c485=this[_0x15346a(0x20b)]()+_0x15346a(0x1ad);await this[_0x15346a(0x45c)]['patch'](_0x33c485,{'body':_0x5d50a7});}async[_0x133617(0x343)](_0xfae2ac){var _0x15e629=_0x133617;const _0x1ce43e=this['_getAPIPrefixPath']()+_0x15e629(0x1ad);await this[_0x15e629(0x45c)][_0x15e629(0x369)](_0x1ce43e,{'body':_0xfae2ac});}async[_0x133617(0x197)](_0x167f7b){var _0x46318c=_0x133617;const _0x24ae01=this[_0x46318c(0x20b)]()+'/collaborator';return(await this[_0x46318c(0x45c)][_0x46318c(0x456)](_0x24ae01,{'params':{'objectID':_0x167f7b['objectID'],'unitID':_0x167f7b[_0x46318c(0x1c7)]}}))['body'][_0x46318c(0x2cc)];}async[_0x133617(0x44b)](_0x1bcaaa){var _0x5e9bdc=_0x133617;const _0x407dcf=this[_0x5e9bdc(0x20b)]()+_0x5e9bdc(0x1ad);await this['_HTTPService'][_0x5e9bdc(0x40b)](_0x407dcf,{'body':_0x1bcaaa});}};yt=ks([Zt(0x0,_0x1dc41d(_0x566212)),Zt(0x1,_0x1dc41d(_0x387b00))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x5c3044){var _0x25dc2a=_0x133617;return _0x5c3044&&_0x5c3044[_0x25dc2a(0x25f)]&&Object[_0x25dc2a(0x260)]['hasOwnProperty'][_0x25dc2a(0x2c7)](_0x5c3044,_0x25dc2a(0x1e3))?_0x5c3044[_0x25dc2a(0x1e3)]:_0x5c3044;}var We={'exports':{}};function Bs(_0x5ea1d6){var _0x3216a3=_0x133617;throw new Error(_0x3216a3(0x1db)+_0x5ea1d6+_0x3216a3(0x20f));}var Ge={'exports':{}},Fs=Ge[_0x133617(0x30e)],Qt;function ne(){var _0x1db110=_0x133617;return Qt||(Qt=0x1,function(_0x1385bd,_0x99ed60){(function(_0x590217,_0x2c1521){_0x1385bd['exports']=_0x2c1521();}(Fs,function(){var _0x4583a3=_0x4583a3||function(_0x36147e,_0xdd73ea){var _0xacc0e0=_0x338e,_0x250b9f;if(typeof window<'u'&&window[_0xacc0e0(0x2da)]&&(_0x250b9f=window[_0xacc0e0(0x2da)]),typeof self<'u'&&self['crypto']&&(_0x250b9f=self[_0xacc0e0(0x2da)]),typeof globalThis<'u'&&globalThis[_0xacc0e0(0x2da)]&&(_0x250b9f=globalThis[_0xacc0e0(0x2da)]),!_0x250b9f&&typeof window<'u'&&window[_0xacc0e0(0x374)]&&(_0x250b9f=window[_0xacc0e0(0x374)]),!_0x250b9f&&typeof gt<'u'&&gt['crypto']&&(_0x250b9f=gt[_0xacc0e0(0x2da)]),!_0x250b9f&&typeof Bs==_0xacc0e0(0x1b3))try{_0x250b9f=require('crypto');}catch{}var _0x160b52=function(){var _0x522c3e=_0xacc0e0;if(_0x250b9f){if(typeof _0x250b9f['getRandomValues']==_0x522c3e(0x1b3))try{return _0x250b9f[_0x522c3e(0x311)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x250b9f[_0x522c3e(0x23e)]=='function')try{return _0x250b9f[_0x522c3e(0x23e)](0x4)[_0x522c3e(0x1cf)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b8e1c=Object[_0xacc0e0(0x3b8)]||(function(){function _0x180c26(){}return function(_0x4d2ae6){var _0x214946=_0x338e,_0x19de32;return _0x180c26[_0x214946(0x260)]=_0x4d2ae6,_0x19de32=new _0x180c26(),_0x180c26[_0x214946(0x260)]=null,_0x19de32;};}()),_0x5c6d10={},_0x2326cd=_0x5c6d10[_0xacc0e0(0x2be)]={},_0x112cd5=_0x2326cd[_0xacc0e0(0x468)]=(function(){return{'extend':function(_0x5df005){var _0x4f2912=_0x338e,_0x52c456=_0x4b8e1c(this);return _0x5df005&&_0x52c456[_0x4f2912(0x463)](_0x5df005),(!_0x52c456[_0x4f2912(0x37e)](_0x4f2912(0x219))||this[_0x4f2912(0x219)]===_0x52c456[_0x4f2912(0x219)])&&(_0x52c456[_0x4f2912(0x219)]=function(){var _0x3cf74a=_0x4f2912;_0x52c456[_0x3cf74a(0x2ef)][_0x3cf74a(0x219)][_0x3cf74a(0x16b)](this,arguments);}),_0x52c456['init'][_0x4f2912(0x260)]=_0x52c456,_0x52c456['$super']=this,_0x52c456;},'create':function(){var _0x11db07=_0x338e,_0xd3fbe9=this[_0x11db07(0x1ac)]();return _0xd3fbe9[_0x11db07(0x219)]['apply'](_0xd3fbe9,arguments),_0xd3fbe9;},'init':function(){},'mixIn':function(_0x4380d6){var _0x595c73=_0x338e;for(var _0x256860 in _0x4380d6)_0x4380d6['hasOwnProperty'](_0x256860)&&(this[_0x256860]=_0x4380d6[_0x256860]);_0x4380d6['hasOwnProperty'](_0x595c73(0x310))&&(this[_0x595c73(0x310)]=_0x4380d6[_0x595c73(0x310)]);},'clone':function(){var _0x40da7d=_0x338e;return this['init'][_0x40da7d(0x260)][_0x40da7d(0x1ac)](this);}};}()),_0xb5d37f=_0x2326cd['WordArray']=_0x112cd5[_0xacc0e0(0x1ac)]({'init':function(_0x282d76,_0xe59e7d){var _0x18c4c4=_0xacc0e0;_0x282d76=this['words']=_0x282d76||[],_0xe59e7d!=_0xdd73ea?this[_0x18c4c4(0x223)]=_0xe59e7d:this[_0x18c4c4(0x223)]=_0x282d76[_0x18c4c4(0x2ec)]*0x4;},'toString':function(_0x1c236b){var _0x4e95ab=_0xacc0e0;return(_0x1c236b||_0xd41803)[_0x4e95ab(0x347)](this);},'concat':function(_0x468291){var _0x828cc6=_0xacc0e0,_0x96d9dd=this[_0x828cc6(0x166)],_0x3180f0=_0x468291['words'],_0x33381a=this[_0x828cc6(0x223)],_0x24b48d=_0x468291[_0x828cc6(0x223)];if(this[_0x828cc6(0x302)](),_0x33381a%0x4)for(var _0x2fabab=0x0;_0x2fabab<_0x24b48d;_0x2fabab++){var _0x3acf24=_0x3180f0[_0x2fabab>>>0x2]>>>0x18-_0x2fabab%0x4*0x8&0xff;_0x96d9dd[_0x33381a+_0x2fabab>>>0x2]|=_0x3acf24<<0x18-(_0x33381a+_0x2fabab)%0x4*0x8;}else{for(var _0xc4ea9a=0x0;_0xc4ea9a<_0x24b48d;_0xc4ea9a+=0x4)_0x96d9dd[_0x33381a+_0xc4ea9a>>>0x2]=_0x3180f0[_0xc4ea9a>>>0x2];}return this[_0x828cc6(0x223)]+=_0x24b48d,this;},'clamp':function(){var _0x47353f=_0xacc0e0,_0x32e355=this[_0x47353f(0x166)],_0x3f2894=this[_0x47353f(0x223)];_0x32e355[_0x3f2894>>>0x2]&=0xffffffff<<0x20-_0x3f2894%0x4*0x8,_0x32e355[_0x47353f(0x2ec)]=_0x36147e[_0x47353f(0x180)](_0x3f2894/0x4);},'clone':function(){var _0x1a0a6a=_0xacc0e0,_0x315987=_0x112cd5['clone'][_0x1a0a6a(0x2c7)](this);return _0x315987['words']=this[_0x1a0a6a(0x166)][_0x1a0a6a(0x245)](0x0),_0x315987;},'random':function(_0x4eb701){var _0x300a5f=_0xacc0e0;for(var _0x526ce4=[],_0x113c1d=0x0;_0x113c1d<_0x4eb701;_0x113c1d+=0x4)_0x526ce4[_0x300a5f(0x387)](_0x160b52());return new _0xb5d37f[(_0x300a5f(0x219))](_0x526ce4,_0x4eb701);}}),_0x2e4bcb=_0x5c6d10[_0xacc0e0(0x40c)]={},_0xd41803=_0x2e4bcb[_0xacc0e0(0x1d4)]={'stringify':function(_0x29c316){var _0x4e34d7=_0xacc0e0;for(var _0x36edd3=_0x29c316['words'],_0x3fa150=_0x29c316['sigBytes'],_0x2691ab=[],_0x465f35=0x0;_0x465f35<_0x3fa150;_0x465f35++){var _0x11d50b=_0x36edd3[_0x465f35>>>0x2]>>>0x18-_0x465f35%0x4*0x8&0xff;_0x2691ab['push']((_0x11d50b>>>0x4)[_0x4e34d7(0x310)](0x10)),_0x2691ab[_0x4e34d7(0x387)]((_0x11d50b&0xf)[_0x4e34d7(0x310)](0x10));}return _0x2691ab[_0x4e34d7(0x235)]('');},'parse':function(_0x40d16d){var _0x450491=_0xacc0e0;for(var _0x45a373=_0x40d16d[_0x450491(0x2ec)],_0x4d7ac8=[],_0x6b29b1=0x0;_0x6b29b1<_0x45a373;_0x6b29b1+=0x2)_0x4d7ac8[_0x6b29b1>>>0x3]|=parseInt(_0x40d16d[_0x450491(0x326)](_0x6b29b1,0x2),0x10)<<0x18-_0x6b29b1%0x8*0x4;return new _0xb5d37f[(_0x450491(0x219))](_0x4d7ac8,_0x45a373/0x2);}},_0x381f15=_0x2e4bcb['Latin1']={'stringify':function(_0x725ddd){var _0x553d3a=_0xacc0e0;for(var _0x1f5094=_0x725ddd[_0x553d3a(0x166)],_0x2e98ba=_0x725ddd[_0x553d3a(0x223)],_0x1ec725=[],_0x1a60eb=0x0;_0x1a60eb<_0x2e98ba;_0x1a60eb++){var _0x46b3f9=_0x1f5094[_0x1a60eb>>>0x2]>>>0x18-_0x1a60eb%0x4*0x8&0xff;_0x1ec725['push'](String[_0x553d3a(0x1e8)](_0x46b3f9));}return _0x1ec725['join']('');},'parse':function(_0x2bd642){var _0x365ce9=_0xacc0e0;for(var _0x2c3a7a=_0x2bd642[_0x365ce9(0x2ec)],_0x139c1b=[],_0x483f78=0x0;_0x483f78<_0x2c3a7a;_0x483f78++)_0x139c1b[_0x483f78>>>0x2]|=(_0x2bd642[_0x365ce9(0x2ba)](_0x483f78)&0xff)<<0x18-_0x483f78%0x4*0x8;return new _0xb5d37f['init'](_0x139c1b,_0x2c3a7a);}},_0x2d7587=_0x2e4bcb[_0xacc0e0(0x33c)]={'stringify':function(_0x1d4c5f){try{return decodeURIComponent(escape(_0x381f15['stringify'](_0x1d4c5f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1516f2){var _0x57b52f=_0xacc0e0;return _0x381f15[_0x57b52f(0x325)](unescape(encodeURIComponent(_0x1516f2)));}},_0x60f9df=_0x2326cd['BufferedBlockAlgorithm']=_0x112cd5['extend']({'reset':function(){var _0x84af87=_0xacc0e0;this[_0x84af87(0x1fa)]=new _0xb5d37f[(_0x84af87(0x219))](),this[_0x84af87(0x2b6)]=0x0;},'_append':function(_0x4d6e20){var _0x5254d9=_0xacc0e0;typeof _0x4d6e20==_0x5254d9(0x303)&&(_0x4d6e20=_0x2d7587['parse'](_0x4d6e20)),this[_0x5254d9(0x1fa)]['concat'](_0x4d6e20),this[_0x5254d9(0x2b6)]+=_0x4d6e20[_0x5254d9(0x223)];},'_process':function(_0x468860){var _0x4fbfe9=_0xacc0e0,_0x49e0cd,_0x5dd27a=this[_0x4fbfe9(0x1fa)],_0x218f61=_0x5dd27a[_0x4fbfe9(0x166)],_0x282b13=_0x5dd27a['sigBytes'],_0x19c830=this[_0x4fbfe9(0x464)],_0x37dc55=_0x19c830*0x4,_0x3b1c98=_0x282b13/_0x37dc55;_0x468860?_0x3b1c98=_0x36147e['ceil'](_0x3b1c98):_0x3b1c98=_0x36147e[_0x4fbfe9(0x20e)]((_0x3b1c98|0x0)-this[_0x4fbfe9(0x3c8)],0x0);var _0x5dc69b=_0x3b1c98*_0x19c830,_0x150891=_0x36147e[_0x4fbfe9(0x3cd)](_0x5dc69b*0x4,_0x282b13);if(_0x5dc69b){for(var _0x192523=0x0;_0x192523<_0x5dc69b;_0x192523+=_0x19c830)this[_0x4fbfe9(0x380)](_0x218f61,_0x192523);_0x49e0cd=_0x218f61[_0x4fbfe9(0x426)](0x0,_0x5dc69b),_0x5dd27a[_0x4fbfe9(0x223)]-=_0x150891;}return new _0xb5d37f[(_0x4fbfe9(0x219))](_0x49e0cd,_0x150891);},'clone':function(){var _0x18cefa=_0xacc0e0,_0x419779=_0x112cd5[_0x18cefa(0x261)][_0x18cefa(0x2c7)](this);return _0x419779['_data']=this['_data']['clone'](),_0x419779;},'_minBufferSize':0x0});_0x2326cd[_0xacc0e0(0x277)]=_0x60f9df[_0xacc0e0(0x1ac)]({'cfg':_0x112cd5[_0xacc0e0(0x1ac)](),'init':function(_0x5b6445){var _0x47228c=_0xacc0e0;this[_0x47228c(0x3ef)]=this[_0x47228c(0x3ef)]['extend'](_0x5b6445),this[_0x47228c(0x262)]();},'reset':function(){var _0x499d0b=_0xacc0e0;_0x60f9df[_0x499d0b(0x262)]['call'](this),this[_0x499d0b(0x35c)]();},'update':function(_0xe14295){var _0x4c8a37=_0xacc0e0;return this[_0x4c8a37(0x24c)](_0xe14295),this[_0x4c8a37(0x42c)](),this;},'finalize':function(_0x136827){var _0x2c4016=_0xacc0e0;_0x136827&&this['_append'](_0x136827);var _0x578518=this[_0x2c4016(0x335)]();return _0x578518;},'blockSize':0x10,'_createHelper':function(_0x3bf05c){return function(_0x172b49,_0x356c92){var _0x3d8392=_0x338e;return new _0x3bf05c[(_0x3d8392(0x219))](_0x356c92)[_0x3d8392(0x2c0)](_0x172b49);};},'_createHmacHelper':function(_0x265425){return function(_0x18dab1,_0x4f394d){var _0x1c793d=_0x338e;return new _0x59c254[(_0x1c793d(0x38f))][(_0x1c793d(0x219))](_0x265425,_0x4f394d)[_0x1c793d(0x2c0)](_0x18dab1);};}});var _0x59c254=_0x5c6d10[_0xacc0e0(0x2b4)]={};return _0x5c6d10;}(Math);return _0x4583a3;}));}(Ge)),Ge[_0x1db110(0x30e)];}var Ke={'exports':{}},Vs=Ke[_0x133617(0x30e)],ei;function wi(){var _0x5099ba=_0x133617;return ei||(ei=0x1,function(_0x425b27,_0x1f3f78){(function(_0x18a69b,_0x160746){_0x425b27['exports']=_0x160746(ne());}(Vs,function(_0x1f75b9){var _0x3e36e0=_0x338e;return(function(){var _0x19bbd9=_0x338e,_0x4b76f0=_0x1f75b9,_0x31d387=_0x4b76f0[_0x19bbd9(0x2be)],_0x2efe54=_0x31d387[_0x19bbd9(0x41e)],_0x115199=_0x4b76f0['enc'];_0x115199['Base64']={'stringify':function(_0x3992fc){var _0x127eb8=_0x19bbd9,_0x4a9633=_0x3992fc[_0x127eb8(0x166)],_0x24026d=_0x3992fc['sigBytes'],_0x13586b=this['_map'];_0x3992fc['clamp']();for(var _0x2f536c=[],_0x761162=0x0;_0x761162<_0x24026d;_0x761162+=0x3)for(var _0x245e59=_0x4a9633[_0x761162>>>0x2]>>>0x18-_0x761162%0x4*0x8&0xff,_0x225899=_0x4a9633[_0x761162+0x1>>>0x2]>>>0x18-(_0x761162+0x1)%0x4*0x8&0xff,_0x117180=_0x4a9633[_0x761162+0x2>>>0x2]>>>0x18-(_0x761162+0x2)%0x4*0x8&0xff,_0x4586ee=_0x245e59<<0x10|_0x225899<<0x8|_0x117180,_0x4a0f41=0x0;_0x4a0f41<0x4&&_0x761162+_0x4a0f41*0.75<_0x24026d;_0x4a0f41++)_0x2f536c[_0x127eb8(0x387)](_0x13586b[_0x127eb8(0x37f)](_0x4586ee>>>0x6*(0x3-_0x4a0f41)&0x3f));var _0x53e229=_0x13586b[_0x127eb8(0x37f)](0x40);if(_0x53e229){for(;_0x2f536c['length']%0x4;)_0x2f536c[_0x127eb8(0x387)](_0x53e229);}return _0x2f536c['join']('');},'parse':function(_0x554761){var _0x42a1c3=_0x19bbd9,_0x15fb74=_0x554761[_0x42a1c3(0x2ec)],_0x3cff31=this[_0x42a1c3(0x43f)],_0x4b5718=this[_0x42a1c3(0x33f)];if(!_0x4b5718){_0x4b5718=this[_0x42a1c3(0x33f)]=[];for(var _0x5ad88a=0x0;_0x5ad88a<_0x3cff31[_0x42a1c3(0x2ec)];_0x5ad88a++)_0x4b5718[_0x3cff31['charCodeAt'](_0x5ad88a)]=_0x5ad88a;}var _0x4c5bd7=_0x3cff31[_0x42a1c3(0x37f)](0x40);if(_0x4c5bd7){var _0x12f73a=_0x554761['indexOf'](_0x4c5bd7);_0x12f73a!==-0x1&&(_0x15fb74=_0x12f73a);}return _0x19f86f(_0x554761,_0x15fb74,_0x4b5718);},'_map':_0x19bbd9(0x384)};function _0x19f86f(_0x3f697b,_0x3d634f,_0x1273ce){var _0x411f67=_0x19bbd9;for(var _0x45a8e5=[],_0x209656=0x0,_0x2feb30=0x0;_0x2feb30<_0x3d634f;_0x2feb30++)if(_0x2feb30%0x4){var _0x2b95f6=_0x1273ce[_0x3f697b[_0x411f67(0x2ba)](_0x2feb30-0x1)]<<_0x2feb30%0x4*0x2,_0x33b8be=_0x1273ce[_0x3f697b[_0x411f67(0x2ba)](_0x2feb30)]>>>0x6-_0x2feb30%0x4*0x2,_0x5d231e=_0x2b95f6|_0x33b8be;_0x45a8e5[_0x209656>>>0x2]|=_0x5d231e<<0x18-_0x209656%0x4*0x8,_0x209656++;}return _0x2efe54[_0x411f67(0x3b8)](_0x45a8e5,_0x209656);}}()),_0x1f75b9[_0x3e36e0(0x40c)][_0x3e36e0(0x40e)];}));}(Ke)),Ke[_0x5099ba(0x30e)];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x5b1cc4=_0x133617;return ti||(ti=0x1,function(_0x153311,_0x19e258){(function(_0x4f3582,_0x4e3e32){_0x153311['exports']=_0x4e3e32(ne());}(Ws,function(_0x5af365){var _0x18b1f3=_0x338e;return function(_0x4e7fda){var _0x17698a=_0x338e,_0x4d53c5=_0x5af365,_0x1a2f57=_0x4d53c5['lib'],_0x584a41=_0x1a2f57[_0x17698a(0x41e)],_0x2af16e=_0x1a2f57[_0x17698a(0x277)],_0x358520=_0x4d53c5[_0x17698a(0x2b4)],_0x31dfa9=[];(function(){var _0xe84fbc=_0x17698a;for(var _0x1c6d6d=0x0;_0x1c6d6d<0x40;_0x1c6d6d++)_0x31dfa9[_0x1c6d6d]=_0x4e7fda[_0xe84fbc(0x3fe)](_0x4e7fda[_0xe84fbc(0x429)](_0x1c6d6d+0x1))*0x100000000|0x0;}());var _0xe392e4=_0x358520[_0x17698a(0x346)]=_0x2af16e['extend']({'_doReset':function(){var _0x4f731a=_0x17698a;this['_hash']=new _0x584a41[(_0x4f731a(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3c3534,_0x190d6b){var _0x50227f=_0x17698a;for(var _0x2bf935=0x0;_0x2bf935<0x10;_0x2bf935++){var _0x1dad10=_0x190d6b+_0x2bf935,_0x350d2b=_0x3c3534[_0x1dad10];_0x3c3534[_0x1dad10]=(_0x350d2b<<0x8|_0x350d2b>>>0x18)&0xff00ff|(_0x350d2b<<0x18|_0x350d2b>>>0x8)&0xff00ff00;}var _0x446fdd=this['_hash'][_0x50227f(0x166)],_0xaa461d=_0x3c3534[_0x190d6b+0x0],_0x22f3c5=_0x3c3534[_0x190d6b+0x1],_0x676cdc=_0x3c3534[_0x190d6b+0x2],_0x4e313b=_0x3c3534[_0x190d6b+0x3],_0x280729=_0x3c3534[_0x190d6b+0x4],_0x38c4d4=_0x3c3534[_0x190d6b+0x5],_0x1be03e=_0x3c3534[_0x190d6b+0x6],_0x219824=_0x3c3534[_0x190d6b+0x7],_0x572cec=_0x3c3534[_0x190d6b+0x8],_0x3d68d1=_0x3c3534[_0x190d6b+0x9],_0x1ac5de=_0x3c3534[_0x190d6b+0xa],_0x30cf1c=_0x3c3534[_0x190d6b+0xb],_0x5a5ff8=_0x3c3534[_0x190d6b+0xc],_0x1c6066=_0x3c3534[_0x190d6b+0xd],_0x34ce6c=_0x3c3534[_0x190d6b+0xe],_0x5f3343=_0x3c3534[_0x190d6b+0xf],_0x1ad1f7=_0x446fdd[0x0],_0xb2bd9b=_0x446fdd[0x1],_0x182a40=_0x446fdd[0x2],_0x2ef518=_0x446fdd[0x3];_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0xaa461d,0x7,_0x31dfa9[0x0]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x22f3c5,0xc,_0x31dfa9[0x1]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x676cdc,0x11,_0x31dfa9[0x2]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x4e313b,0x16,_0x31dfa9[0x3]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x280729,0x7,_0x31dfa9[0x4]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x38c4d4,0xc,_0x31dfa9[0x5]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1be03e,0x11,_0x31dfa9[0x6]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x219824,0x16,_0x31dfa9[0x7]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x572cec,0x7,_0x31dfa9[0x8]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x3d68d1,0xc,_0x31dfa9[0x9]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1ac5de,0x11,_0x31dfa9[0xa]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x30cf1c,0x16,_0x31dfa9[0xb]),_0x1ad1f7=_0x39c293(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x5a5ff8,0x7,_0x31dfa9[0xc]),_0x2ef518=_0x39c293(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1c6066,0xc,_0x31dfa9[0xd]),_0x182a40=_0x39c293(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x34ce6c,0x11,_0x31dfa9[0xe]),_0xb2bd9b=_0x39c293(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x5f3343,0x16,_0x31dfa9[0xf]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x22f3c5,0x5,_0x31dfa9[0x10]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1be03e,0x9,_0x31dfa9[0x11]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x30cf1c,0xe,_0x31dfa9[0x12]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0xaa461d,0x14,_0x31dfa9[0x13]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x38c4d4,0x5,_0x31dfa9[0x14]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x1ac5de,0x9,_0x31dfa9[0x15]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x5f3343,0xe,_0x31dfa9[0x16]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x280729,0x14,_0x31dfa9[0x17]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x3d68d1,0x5,_0x31dfa9[0x18]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x34ce6c,0x9,_0x31dfa9[0x19]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x4e313b,0xe,_0x31dfa9[0x1a]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x572cec,0x14,_0x31dfa9[0x1b]),_0x1ad1f7=_0x2a5747(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x1c6066,0x5,_0x31dfa9[0x1c]),_0x2ef518=_0x2a5747(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x676cdc,0x9,_0x31dfa9[0x1d]),_0x182a40=_0x2a5747(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x219824,0xe,_0x31dfa9[0x1e]),_0xb2bd9b=_0x2a5747(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x5a5ff8,0x14,_0x31dfa9[0x1f]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x38c4d4,0x4,_0x31dfa9[0x20]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x572cec,0xb,_0x31dfa9[0x21]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x30cf1c,0x10,_0x31dfa9[0x22]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x34ce6c,0x17,_0x31dfa9[0x23]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x22f3c5,0x4,_0x31dfa9[0x24]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x280729,0xb,_0x31dfa9[0x25]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x219824,0x10,_0x31dfa9[0x26]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1ac5de,0x17,_0x31dfa9[0x27]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x1c6066,0x4,_0x31dfa9[0x28]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0xaa461d,0xb,_0x31dfa9[0x29]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x4e313b,0x10,_0x31dfa9[0x2a]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1be03e,0x17,_0x31dfa9[0x2b]),_0x1ad1f7=_0x57c2f0(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x3d68d1,0x4,_0x31dfa9[0x2c]),_0x2ef518=_0x57c2f0(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x5a5ff8,0xb,_0x31dfa9[0x2d]),_0x182a40=_0x57c2f0(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x5f3343,0x10,_0x31dfa9[0x2e]),_0xb2bd9b=_0x57c2f0(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x676cdc,0x17,_0x31dfa9[0x2f]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0xaa461d,0x6,_0x31dfa9[0x30]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x219824,0xa,_0x31dfa9[0x31]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x34ce6c,0xf,_0x31dfa9[0x32]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x38c4d4,0x15,_0x31dfa9[0x33]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x5a5ff8,0x6,_0x31dfa9[0x34]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x4e313b,0xa,_0x31dfa9[0x35]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1ac5de,0xf,_0x31dfa9[0x36]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x22f3c5,0x15,_0x31dfa9[0x37]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x572cec,0x6,_0x31dfa9[0x38]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x5f3343,0xa,_0x31dfa9[0x39]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x1be03e,0xf,_0x31dfa9[0x3a]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x1c6066,0x15,_0x31dfa9[0x3b]),_0x1ad1f7=_0x41a0f5(_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x2ef518,_0x280729,0x6,_0x31dfa9[0x3c]),_0x2ef518=_0x41a0f5(_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x182a40,_0x30cf1c,0xa,_0x31dfa9[0x3d]),_0x182a40=_0x41a0f5(_0x182a40,_0x2ef518,_0x1ad1f7,_0xb2bd9b,_0x676cdc,0xf,_0x31dfa9[0x3e]),_0xb2bd9b=_0x41a0f5(_0xb2bd9b,_0x182a40,_0x2ef518,_0x1ad1f7,_0x3d68d1,0x15,_0x31dfa9[0x3f]),_0x446fdd[0x0]=_0x446fdd[0x0]+_0x1ad1f7|0x0,_0x446fdd[0x1]=_0x446fdd[0x1]+_0xb2bd9b|0x0,_0x446fdd[0x2]=_0x446fdd[0x2]+_0x182a40|0x0,_0x446fdd[0x3]=_0x446fdd[0x3]+_0x2ef518|0x0;},'_doFinalize':function(){var _0x26f1eb=_0x17698a,_0x544251=this['_data'],_0x444a26=_0x544251['words'],_0x37cb33=this[_0x26f1eb(0x2b6)]*0x8,_0x300494=_0x544251['sigBytes']*0x8;_0x444a26[_0x300494>>>0x5]|=0x80<<0x18-_0x300494%0x20;var _0x1a11a2=_0x4e7fda[_0x26f1eb(0x2db)](_0x37cb33/0x100000000),_0x55a71b=_0x37cb33;_0x444a26[(_0x300494+0x40>>>0x9<<0x4)+0xf]=(_0x1a11a2<<0x8|_0x1a11a2>>>0x18)&0xff00ff|(_0x1a11a2<<0x18|_0x1a11a2>>>0x8)&0xff00ff00,_0x444a26[(_0x300494+0x40>>>0x9<<0x4)+0xe]=(_0x55a71b<<0x8|_0x55a71b>>>0x18)&0xff00ff|(_0x55a71b<<0x18|_0x55a71b>>>0x8)&0xff00ff00,_0x544251[_0x26f1eb(0x223)]=(_0x444a26[_0x26f1eb(0x2ec)]+0x1)*0x4,this[_0x26f1eb(0x42c)]();for(var _0x3dd4bd=this['_hash'],_0x1b7105=_0x3dd4bd[_0x26f1eb(0x166)],_0xcc46b4=0x0;_0xcc46b4<0x4;_0xcc46b4++){var _0x344e78=_0x1b7105[_0xcc46b4];_0x1b7105[_0xcc46b4]=(_0x344e78<<0x8|_0x344e78>>>0x18)&0xff00ff|(_0x344e78<<0x18|_0x344e78>>>0x8)&0xff00ff00;}return _0x3dd4bd;},'clone':function(){var _0x35826b=_0x17698a,_0x31d38b=_0x2af16e[_0x35826b(0x261)]['call'](this);return _0x31d38b['_hash']=this[_0x35826b(0x36f)][_0x35826b(0x261)](),_0x31d38b;}});function _0x39c293(_0x38a383,_0xa05088,_0x203a1a,_0x322b0b,_0x210aa6,_0x562a4b,_0x5b58b0){var _0x5c8787=_0x38a383+(_0xa05088&_0x203a1a|~_0xa05088&_0x322b0b)+_0x210aa6+_0x5b58b0;return(_0x5c8787<<_0x562a4b|_0x5c8787>>>0x20-_0x562a4b)+_0xa05088;}function _0x2a5747(_0x1ab038,_0x3f28fe,_0x3205d2,_0x2e5d2f,_0x22713a,_0x418cb7,_0x1bd27d){var _0x9f188e=_0x1ab038+(_0x3f28fe&_0x2e5d2f|_0x3205d2&~_0x2e5d2f)+_0x22713a+_0x1bd27d;return(_0x9f188e<<_0x418cb7|_0x9f188e>>>0x20-_0x418cb7)+_0x3f28fe;}function _0x57c2f0(_0x250ec9,_0x24d2d5,_0x319961,_0xdb8f8,_0x614127,_0x50c5f8,_0x456711){var _0x44b89c=_0x250ec9+(_0x24d2d5^_0x319961^_0xdb8f8)+_0x614127+_0x456711;return(_0x44b89c<<_0x50c5f8|_0x44b89c>>>0x20-_0x50c5f8)+_0x24d2d5;}function _0x41a0f5(_0x483a38,_0x6f466b,_0xc757bc,_0x2fae63,_0x44583a,_0x43a5c5,_0x14bac1){var _0xeed90b=_0x483a38+(_0xc757bc^(_0x6f466b|~_0x2fae63))+_0x44583a+_0x14bac1;return(_0xeed90b<<_0x43a5c5|_0xeed90b>>>0x20-_0x43a5c5)+_0x6f466b;}_0x4d53c5[_0x17698a(0x346)]=_0x2af16e[_0x17698a(0x1ff)](_0xe392e4),_0x4d53c5[_0x17698a(0x328)]=_0x2af16e[_0x17698a(0x285)](_0xe392e4);}(Math),_0x5af365[_0x18b1f3(0x346)];}));}(ze)),ze[_0x5b1cc4(0x30e)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x133617(0x30e)],ii;function zs(){var _0x476398=_0x133617;return ii||(ii=0x1,function(_0x10b136,_0x37364b){(function(_0x23369,_0x47deff){var _0x3d4049=_0x338e;_0x10b136[_0x3d4049(0x30e)]=_0x47deff(ne());}(Ks,function(_0x812889){var _0x117cff=_0x338e;return(function(){var _0x49f19f=_0x338e,_0x247cb5=_0x812889,_0x5023e6=_0x247cb5[_0x49f19f(0x2be)],_0x229815=_0x5023e6[_0x49f19f(0x41e)],_0x57c476=_0x5023e6['Hasher'],_0x5cf35f=_0x247cb5[_0x49f19f(0x2b4)],_0x21b7b9=[],_0x55c9c7=_0x5cf35f['SHA1']=_0x57c476['extend']({'_doReset':function(){var _0x392296=_0x49f19f;this[_0x392296(0x36f)]=new _0x229815[(_0x392296(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x311529,_0x373d56){var _0x30d847=_0x49f19f;for(var _0x1ac53c=this[_0x30d847(0x36f)]['words'],_0x353b51=_0x1ac53c[0x0],_0x17a773=_0x1ac53c[0x1],_0x854c1b=_0x1ac53c[0x2],_0x4d5aa8=_0x1ac53c[0x3],_0x274d0e=_0x1ac53c[0x4],_0x5c5d05=0x0;_0x5c5d05<0x50;_0x5c5d05++){if(_0x5c5d05<0x10)_0x21b7b9[_0x5c5d05]=_0x311529[_0x373d56+_0x5c5d05]|0x0;else{var _0x9dbedd=_0x21b7b9[_0x5c5d05-0x3]^_0x21b7b9[_0x5c5d05-0x8]^_0x21b7b9[_0x5c5d05-0xe]^_0x21b7b9[_0x5c5d05-0x10];_0x21b7b9[_0x5c5d05]=_0x9dbedd<<0x1|_0x9dbedd>>>0x1f;}var _0x4ecec4=(_0x353b51<<0x5|_0x353b51>>>0x1b)+_0x274d0e+_0x21b7b9[_0x5c5d05];_0x5c5d05<0x14?_0x4ecec4+=(_0x17a773&_0x854c1b|~_0x17a773&_0x4d5aa8)+0x5a827999:_0x5c5d05<0x28?_0x4ecec4+=(_0x17a773^_0x854c1b^_0x4d5aa8)+0x6ed9eba1:_0x5c5d05<0x3c?_0x4ecec4+=(_0x17a773&_0x854c1b|_0x17a773&_0x4d5aa8|_0x854c1b&_0x4d5aa8)-0x70e44324:_0x4ecec4+=(_0x17a773^_0x854c1b^_0x4d5aa8)-0x359d3e2a,_0x274d0e=_0x4d5aa8,_0x4d5aa8=_0x854c1b,_0x854c1b=_0x17a773<<0x1e|_0x17a773>>>0x2,_0x17a773=_0x353b51,_0x353b51=_0x4ecec4;}_0x1ac53c[0x0]=_0x1ac53c[0x0]+_0x353b51|0x0,_0x1ac53c[0x1]=_0x1ac53c[0x1]+_0x17a773|0x0,_0x1ac53c[0x2]=_0x1ac53c[0x2]+_0x854c1b|0x0,_0x1ac53c[0x3]=_0x1ac53c[0x3]+_0x4d5aa8|0x0,_0x1ac53c[0x4]=_0x1ac53c[0x4]+_0x274d0e|0x0;},'_doFinalize':function(){var _0x3bc429=_0x49f19f,_0x3bca30=this[_0x3bc429(0x1fa)],_0x2d0205=_0x3bca30[_0x3bc429(0x166)],_0x4daa24=this[_0x3bc429(0x2b6)]*0x8,_0x5d5819=_0x3bca30[_0x3bc429(0x223)]*0x8;return _0x2d0205[_0x5d5819>>>0x5]|=0x80<<0x18-_0x5d5819%0x20,_0x2d0205[(_0x5d5819+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bc429(0x2db)](_0x4daa24/0x100000000),_0x2d0205[(_0x5d5819+0x40>>>0x9<<0x4)+0xf]=_0x4daa24,_0x3bca30['sigBytes']=_0x2d0205[_0x3bc429(0x2ec)]*0x4,this[_0x3bc429(0x42c)](),this['_hash'];},'clone':function(){var _0xeb823e=_0x49f19f,_0x2aaed5=_0x57c476[_0xeb823e(0x261)][_0xeb823e(0x2c7)](this);return _0x2aaed5['_hash']=this[_0xeb823e(0x36f)][_0xeb823e(0x261)](),_0x2aaed5;}});_0x247cb5[_0x49f19f(0x1a1)]=_0x57c476[_0x49f19f(0x1ff)](_0x55c9c7),_0x247cb5['HmacSHA1']=_0x57c476[_0x49f19f(0x285)](_0x55c9c7);}()),_0x812889[_0x117cff(0x1a1)];}));}(qe)),qe[_0x476398(0x30e)];}var Je={'exports':{}},Ys=Je[_0x133617(0x30e)],ni;function qs(){var _0x341cfd=_0x133617;return ni||(ni=0x1,function(_0x40bc2a,_0x352935){(function(_0x1609b8,_0xf19d84){_0x40bc2a['exports']=_0xf19d84(ne());}(Ys,function(_0x49bc1d){(function(){var _0x59e902=_0x338e,_0x28e63a=_0x49bc1d,_0x236dcb=_0x28e63a['lib'],_0x3d4135=_0x236dcb[_0x59e902(0x468)],_0x27afe2=_0x28e63a[_0x59e902(0x40c)],_0x16a7e8=_0x27afe2[_0x59e902(0x33c)],_0x290be4=_0x28e63a[_0x59e902(0x2b4)];_0x290be4[_0x59e902(0x38f)]=_0x3d4135[_0x59e902(0x1ac)]({'init':function(_0x2e0859,_0x5bc241){var _0x50ee7f=_0x59e902;_0x2e0859=this[_0x50ee7f(0x447)]=new _0x2e0859['init'](),typeof _0x5bc241==_0x50ee7f(0x303)&&(_0x5bc241=_0x16a7e8[_0x50ee7f(0x325)](_0x5bc241));var _0x3cafa1=_0x2e0859['blockSize'],_0x43be72=_0x3cafa1*0x4;_0x5bc241[_0x50ee7f(0x223)]>_0x43be72&&(_0x5bc241=_0x2e0859[_0x50ee7f(0x2c0)](_0x5bc241)),_0x5bc241[_0x50ee7f(0x302)]();for(var _0x48006f=this[_0x50ee7f(0x1a0)]=_0x5bc241[_0x50ee7f(0x261)](),_0x5e4361=this[_0x50ee7f(0x2ae)]=_0x5bc241[_0x50ee7f(0x261)](),_0x1b0e2f=_0x48006f[_0x50ee7f(0x166)],_0x4e07ef=_0x5e4361[_0x50ee7f(0x166)],_0x5a822b=0x0;_0x5a822b<_0x3cafa1;_0x5a822b++)_0x1b0e2f[_0x5a822b]^=0x5c5c5c5c,_0x4e07ef[_0x5a822b]^=0x36363636;_0x48006f['sigBytes']=_0x5e4361['sigBytes']=_0x43be72,this[_0x50ee7f(0x262)]();},'reset':function(){var _0x155b87=_0x59e902,_0x46f050=this[_0x155b87(0x447)];_0x46f050[_0x155b87(0x262)](),_0x46f050['update'](this['_iKey']);},'update':function(_0x1d1a6d){var _0x2ce403=_0x59e902;return this[_0x2ce403(0x447)][_0x2ce403(0x467)](_0x1d1a6d),this;},'finalize':function(_0x5a89df){var _0x1bb25=_0x59e902,_0x5e3ddf=this['_hasher'],_0x3f20ae=_0x5e3ddf[_0x1bb25(0x2c0)](_0x5a89df);_0x5e3ddf[_0x1bb25(0x262)]();var _0xf8a9a2=_0x5e3ddf[_0x1bb25(0x2c0)](this[_0x1bb25(0x1a0)][_0x1bb25(0x261)]()[_0x1bb25(0x30b)](_0x3f20ae));return _0xf8a9a2;}});}());}));}(Je)),Je[_0x341cfd(0x30e)];}var Js=Ye[_0x133617(0x30e)],si;function Ui(){var _0xdd967d=_0x133617;return si||(si=0x1,function(_0x29fcb6,_0x4c7193){(function(_0x2b84ff,_0x303fec,_0x3a9614){var _0x3771a6=_0x338e;_0x29fcb6[_0x3771a6(0x30e)]=_0x303fec(ne(),zs(),qs());}(Js,function(_0x2485ce){var _0x37575b=_0x338e;return(function(){var _0x124bcc=_0x338e,_0x24aee0=_0x2485ce,_0x504321=_0x24aee0[_0x124bcc(0x2be)],_0x36e661=_0x504321[_0x124bcc(0x468)],_0x36fc8f=_0x504321['WordArray'],_0x18ad00=_0x24aee0[_0x124bcc(0x2b4)],_0x25ba00=_0x18ad00[_0x124bcc(0x346)],_0x36eff7=_0x18ad00[_0x124bcc(0x313)]=_0x36e661[_0x124bcc(0x1ac)]({'cfg':_0x36e661[_0x124bcc(0x1ac)]({'keySize':0x80/0x20,'hasher':_0x25ba00,'iterations':0x1}),'init':function(_0x15f2f1){var _0x5d4df8=_0x124bcc;this[_0x5d4df8(0x3ef)]=this['cfg'][_0x5d4df8(0x1ac)](_0x15f2f1);},'compute':function(_0x202e47,_0x56b3eb){var _0x27d5e4=_0x124bcc;for(var _0x2ae197,_0x2f5b08=this['cfg'],_0x48579a=_0x2f5b08[_0x27d5e4(0x349)][_0x27d5e4(0x3b8)](),_0x900b88=_0x36fc8f[_0x27d5e4(0x3b8)](),_0x385e29=_0x900b88[_0x27d5e4(0x166)],_0x29732b=_0x2f5b08[_0x27d5e4(0x3a6)],_0x27e21c=_0x2f5b08[_0x27d5e4(0x1ab)];_0x385e29[_0x27d5e4(0x2ec)]<_0x29732b;){_0x2ae197&&_0x48579a['update'](_0x2ae197),_0x2ae197=_0x48579a['update'](_0x202e47)[_0x27d5e4(0x2c0)](_0x56b3eb),_0x48579a[_0x27d5e4(0x262)]();for(var _0x328e66=0x1;_0x328e66<_0x27e21c;_0x328e66++)_0x2ae197=_0x48579a[_0x27d5e4(0x2c0)](_0x2ae197),_0x48579a['reset']();_0x900b88[_0x27d5e4(0x30b)](_0x2ae197);}return _0x900b88['sigBytes']=_0x29732b*0x4,_0x900b88;}});_0x24aee0[_0x124bcc(0x313)]=function(_0x5ec78b,_0x578a2f,_0x454f91){var _0x4065c1=_0x124bcc;return _0x36eff7[_0x4065c1(0x3b8)](_0x454f91)[_0x4065c1(0x345)](_0x5ec78b,_0x578a2f);};}()),_0x2485ce[_0x37575b(0x313)];}));}(Ye)),Ye[_0xdd967d(0x30e)];}var Xe={'exports':{}},Xs=Xe[_0x133617(0x30e)],ri;function Ai(){return ri||(ri=0x1,function(_0x49eefd,_0x11a2ef){(function(_0x53ee46,_0x2b4ed5,_0x494ef3){var _0x46d18a=_0x338e;_0x49eefd[_0x46d18a(0x30e)]=_0x2b4ed5(ne(),Ui());}(Xs,function(_0x5c924f){var _0x35e050=_0x338e;_0x5c924f[_0x35e050(0x2be)][_0x35e050(0x1a4)]||function(_0x1f600c){var _0x2c2590=_0x35e050,_0x29c394=_0x5c924f,_0x511106=_0x29c394['lib'],_0x39be64=_0x511106['Base'],_0x11ea9f=_0x511106[_0x2c2590(0x41e)],_0x47d71a=_0x511106['BufferedBlockAlgorithm'],_0x5bbe25=_0x29c394[_0x2c2590(0x40c)];_0x5bbe25['Utf8'];var _0x1abe8b=_0x5bbe25[_0x2c2590(0x40e)],_0x307859=_0x29c394[_0x2c2590(0x2b4)],_0xff69eb=_0x307859[_0x2c2590(0x313)],_0x106707=_0x511106[_0x2c2590(0x1a4)]=_0x47d71a['extend']({'cfg':_0x39be64[_0x2c2590(0x1ac)](),'createEncryptor':function(_0x16fcd6,_0x11be99){var _0x18e7dc=_0x2c2590;return this[_0x18e7dc(0x3b8)](this[_0x18e7dc(0x33e)],_0x16fcd6,_0x11be99);},'createDecryptor':function(_0x5dec39,_0x2aadb5){var _0x38db33=_0x2c2590;return this[_0x38db33(0x3b8)](this[_0x38db33(0x214)],_0x5dec39,_0x2aadb5);},'init':function(_0x26fca5,_0x20e4a8,_0x12082d){var _0x502caa=_0x2c2590;this['cfg']=this[_0x502caa(0x3ef)][_0x502caa(0x1ac)](_0x12082d),this['_xformMode']=_0x26fca5,this[_0x502caa(0x46d)]=_0x20e4a8,this[_0x502caa(0x262)]();},'reset':function(){var _0x4ffd57=_0x2c2590;_0x47d71a[_0x4ffd57(0x262)]['call'](this),this[_0x4ffd57(0x35c)]();},'process':function(_0x2ad729){var _0x104a51=_0x2c2590;return this[_0x104a51(0x24c)](_0x2ad729),this['_process']();},'finalize':function(_0x2c3493){var _0x384b10=_0x2c2590;_0x2c3493&&this[_0x384b10(0x24c)](_0x2c3493);var _0x1354f5=this['_doFinalize']();return _0x1354f5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3bd222(_0x4a6a85){var _0x561d39=_0x338e;return typeof _0x4a6a85==_0x561d39(0x303)?_0x3909d2:_0x394ca7;}return function(_0x97cd31){return{'encrypt':function(_0x9e92ba,_0x65d255,_0x38c852){return _0x3bd222(_0x65d255)['encrypt'](_0x97cd31,_0x9e92ba,_0x65d255,_0x38c852);},'decrypt':function(_0x5cc2da,_0x4c07d4,_0x500d9e){var _0x396a18=_0x338e;return _0x3bd222(_0x4c07d4)[_0x396a18(0x44c)](_0x97cd31,_0x5cc2da,_0x4c07d4,_0x500d9e);}};};}())});_0x511106[_0x2c2590(0x391)]=_0x106707[_0x2c2590(0x1ac)]({'_doFinalize':function(){var _0x151d83=_0x2c2590,_0x2d7923=this[_0x151d83(0x42c)](!0x0);return _0x2d7923;},'blockSize':0x1});var _0x10efcd=_0x29c394[_0x2c2590(0x336)]={},_0x54f71c=_0x511106['BlockCipherMode']=_0x39be64[_0x2c2590(0x1ac)]({'createEncryptor':function(_0x169ff3,_0x531234){var _0xeafdbb=_0x2c2590;return this[_0xeafdbb(0x173)]['create'](_0x169ff3,_0x531234);},'createDecryptor':function(_0x56306f,_0x445c68){var _0xe43433=_0x2c2590;return this['Decryptor'][_0xe43433(0x3b8)](_0x56306f,_0x445c68);},'init':function(_0x52800b,_0x48a220){var _0x2601d9=_0x2c2590;this[_0x2601d9(0x465)]=_0x52800b,this['_iv']=_0x48a220;}}),_0x5f0644=_0x10efcd[_0x2c2590(0x255)]=(function(){var _0x246b8f=_0x2c2590,_0x5d9de5=_0x54f71c[_0x246b8f(0x1ac)]();_0x5d9de5[_0x246b8f(0x173)]=_0x5d9de5['extend']({'processBlock':function(_0x236528,_0x1d140b){var _0x4e158e=_0x246b8f,_0x53a2e1=this[_0x4e158e(0x465)],_0x598dde=_0x53a2e1[_0x4e158e(0x464)];_0x210458[_0x4e158e(0x2c7)](this,_0x236528,_0x1d140b,_0x598dde),_0x53a2e1[_0x4e158e(0x2eb)](_0x236528,_0x1d140b),this[_0x4e158e(0x27d)]=_0x236528[_0x4e158e(0x245)](_0x1d140b,_0x1d140b+_0x598dde);}}),_0x5d9de5[_0x246b8f(0x24e)]=_0x5d9de5[_0x246b8f(0x1ac)]({'processBlock':function(_0x2855b2,_0x117652){var _0x56a958=_0x246b8f,_0x29f2e9=this['_cipher'],_0xbb7df0=_0x29f2e9[_0x56a958(0x464)],_0x3a1d01=_0x2855b2['slice'](_0x117652,_0x117652+_0xbb7df0);_0x29f2e9[_0x56a958(0x26d)](_0x2855b2,_0x117652),_0x210458[_0x56a958(0x2c7)](this,_0x2855b2,_0x117652,_0xbb7df0),this[_0x56a958(0x27d)]=_0x3a1d01;}});function _0x210458(_0x42d17d,_0x5d60a7,_0x1579f6){var _0x18e9a6=_0x246b8f,_0x225b3f,_0x8d547e=this[_0x18e9a6(0x3a2)];_0x8d547e?(_0x225b3f=_0x8d547e,this[_0x18e9a6(0x3a2)]=_0x1f600c):_0x225b3f=this[_0x18e9a6(0x27d)];for(var _0x4073ca=0x0;_0x4073ca<_0x1579f6;_0x4073ca++)_0x42d17d[_0x5d60a7+_0x4073ca]^=_0x225b3f[_0x4073ca];}return _0x5d9de5;}()),_0x521272=_0x29c394[_0x2c2590(0x3fa)]={},_0x116492=_0x521272[_0x2c2590(0x301)]={'pad':function(_0x2bd6bd,_0x49f89){var _0x385458=_0x2c2590;for(var _0x4be169=_0x49f89*0x4,_0x4e5902=_0x4be169-_0x2bd6bd[_0x385458(0x223)]%_0x4be169,_0x775171=_0x4e5902<<0x18|_0x4e5902<<0x10|_0x4e5902<<0x8|_0x4e5902,_0x51c31b=[],_0x213e6b=0x0;_0x213e6b<_0x4e5902;_0x213e6b+=0x4)_0x51c31b[_0x385458(0x387)](_0x775171);var _0x3fe57d=_0x11ea9f[_0x385458(0x3b8)](_0x51c31b,_0x4e5902);_0x2bd6bd['concat'](_0x3fe57d);},'unpad':function(_0x3301f4){var _0x2c9bec=_0x2c2590,_0x16bcf2=_0x3301f4[_0x2c9bec(0x166)][_0x3301f4[_0x2c9bec(0x223)]-0x1>>>0x2]&0xff;_0x3301f4[_0x2c9bec(0x223)]-=_0x16bcf2;}};_0x511106[_0x2c2590(0x199)]=_0x106707[_0x2c2590(0x1ac)]({'cfg':_0x106707[_0x2c2590(0x3ef)][_0x2c2590(0x1ac)]({'mode':_0x5f0644,'padding':_0x116492}),'reset':function(){var _0x33143c=_0x2c2590,_0x4434ba;_0x106707[_0x33143c(0x262)][_0x33143c(0x2c7)](this);var _0x4d3b99=this[_0x33143c(0x3ef)],_0x284ac0=_0x4d3b99['iv'],_0x32b12b=_0x4d3b99[_0x33143c(0x336)];this[_0x33143c(0x23f)]==this[_0x33143c(0x33e)]?_0x4434ba=_0x32b12b[_0x33143c(0x212)]:(_0x4434ba=_0x32b12b[_0x33143c(0x381)],this[_0x33143c(0x3c8)]=0x1),this[_0x33143c(0x31b)]&&this[_0x33143c(0x31b)][_0x33143c(0x18f)]==_0x4434ba?this['_mode'][_0x33143c(0x219)](this,_0x284ac0&&_0x284ac0[_0x33143c(0x166)]):(this[_0x33143c(0x31b)]=_0x4434ba[_0x33143c(0x2c7)](_0x32b12b,this,_0x284ac0&&_0x284ac0['words']),this[_0x33143c(0x31b)][_0x33143c(0x18f)]=_0x4434ba);},'_doProcessBlock':function(_0x2b9ce3,_0x2ab1d0){var _0x3a21ae=_0x2c2590;this[_0x3a21ae(0x31b)]['processBlock'](_0x2b9ce3,_0x2ab1d0);},'_doFinalize':function(){var _0x34a907=_0x2c2590,_0x3c171a,_0x22fcc4=this[_0x34a907(0x3ef)][_0x34a907(0x1e4)];return this[_0x34a907(0x23f)]==this[_0x34a907(0x33e)]?(_0x22fcc4['pad'](this[_0x34a907(0x1fa)],this[_0x34a907(0x464)]),_0x3c171a=this[_0x34a907(0x42c)](!0x0)):(_0x3c171a=this[_0x34a907(0x42c)](!0x0),_0x22fcc4[_0x34a907(0x232)](_0x3c171a)),_0x3c171a;},'blockSize':0x80/0x20});var _0x21c540=_0x511106[_0x2c2590(0x3e3)]=_0x39be64[_0x2c2590(0x1ac)]({'init':function(_0x3225ff){var _0x5b07ff=_0x2c2590;this[_0x5b07ff(0x463)](_0x3225ff);},'toString':function(_0x58853a){return(_0x58853a||this['formatter'])['stringify'](this);}}),_0x27884e=_0x29c394[_0x2c2590(0x40a)]={},_0x2d17a5=_0x27884e['OpenSSL']={'stringify':function(_0x37c53b){var _0x1b3c62=_0x2c2590,_0xe04c40,_0x146c26=_0x37c53b[_0x1b3c62(0x394)],_0x319731=_0x37c53b['salt'];return _0x319731?_0xe04c40=_0x11ea9f['create']([0x53616c74,0x65645f5f])[_0x1b3c62(0x30b)](_0x319731)[_0x1b3c62(0x30b)](_0x146c26):_0xe04c40=_0x146c26,_0xe04c40[_0x1b3c62(0x310)](_0x1abe8b);},'parse':function(_0x595df){var _0x38b266=_0x2c2590,_0x3ae1da,_0x1771fe=_0x1abe8b['parse'](_0x595df),_0x19fa7d=_0x1771fe[_0x38b266(0x166)];return _0x19fa7d[0x0]==0x53616c74&&_0x19fa7d[0x1]==0x65645f5f&&(_0x3ae1da=_0x11ea9f[_0x38b266(0x3b8)](_0x19fa7d[_0x38b266(0x245)](0x2,0x4)),_0x19fa7d[_0x38b266(0x426)](0x0,0x4),_0x1771fe[_0x38b266(0x223)]-=0x10),_0x21c540[_0x38b266(0x3b8)]({'ciphertext':_0x1771fe,'salt':_0x3ae1da});}},_0x394ca7=_0x511106[_0x2c2590(0x3e8)]=_0x39be64['extend']({'cfg':_0x39be64[_0x2c2590(0x1ac)]({'format':_0x2d17a5}),'encrypt':function(_0x379ecc,_0xc971da,_0xfbaf29,_0x48c287){var _0x31e21f=_0x2c2590;_0x48c287=this[_0x31e21f(0x3ef)][_0x31e21f(0x1ac)](_0x48c287);var _0x33bc50=_0x379ecc[_0x31e21f(0x212)](_0xfbaf29,_0x48c287),_0x2f0cf9=_0x33bc50[_0x31e21f(0x2c0)](_0xc971da),_0x154416=_0x33bc50[_0x31e21f(0x3ef)];return _0x21c540[_0x31e21f(0x3b8)]({'ciphertext':_0x2f0cf9,'key':_0xfbaf29,'iv':_0x154416['iv'],'algorithm':_0x379ecc,'mode':_0x154416['mode'],'padding':_0x154416[_0x31e21f(0x1e4)],'blockSize':_0x379ecc[_0x31e21f(0x464)],'formatter':_0x48c287[_0x31e21f(0x40a)]});},'decrypt':function(_0x346bbb,_0x178d40,_0x45568f,_0x27fa48){var _0x3850e4=_0x2c2590;_0x27fa48=this[_0x3850e4(0x3ef)][_0x3850e4(0x1ac)](_0x27fa48),_0x178d40=this['_parse'](_0x178d40,_0x27fa48[_0x3850e4(0x40a)]);var _0x33ee73=_0x346bbb[_0x3850e4(0x381)](_0x45568f,_0x27fa48)[_0x3850e4(0x2c0)](_0x178d40[_0x3850e4(0x394)]);return _0x33ee73;},'_parse':function(_0x5cb85c,_0x5530c8){var _0x36b793=_0x2c2590;return typeof _0x5cb85c==_0x36b793(0x303)?_0x5530c8[_0x36b793(0x325)](_0x5cb85c,this):_0x5cb85c;}}),_0x181971=_0x29c394['kdf']={},_0x4b09f1=_0x181971[_0x2c2590(0x36b)]={'execute':function(_0x3b8c90,_0x473eff,_0x5b1fe9,_0x1eac40,_0x15e547){var _0x4aaeb3=_0x2c2590;if(_0x1eac40||(_0x1eac40=_0x11ea9f[_0x4aaeb3(0x3e9)](0x40/0x8)),_0x15e547)var _0x5bfcad=_0xff69eb[_0x4aaeb3(0x3b8)]({'keySize':_0x473eff+_0x5b1fe9,'hasher':_0x15e547})[_0x4aaeb3(0x345)](_0x3b8c90,_0x1eac40);else var _0x5bfcad=_0xff69eb[_0x4aaeb3(0x3b8)]({'keySize':_0x473eff+_0x5b1fe9})[_0x4aaeb3(0x345)](_0x3b8c90,_0x1eac40);var _0x58bf30=_0x11ea9f['create'](_0x5bfcad['words']['slice'](_0x473eff),_0x5b1fe9*0x4);return _0x5bfcad[_0x4aaeb3(0x223)]=_0x473eff*0x4,_0x21c540[_0x4aaeb3(0x3b8)]({'key':_0x5bfcad,'iv':_0x58bf30,'salt':_0x1eac40});}},_0x3909d2=_0x511106[_0x2c2590(0x3bf)]=_0x394ca7['extend']({'cfg':_0x394ca7[_0x2c2590(0x3ef)][_0x2c2590(0x1ac)]({'kdf':_0x4b09f1}),'encrypt':function(_0x5ccea5,_0x3451af,_0x2b4281,_0x291a19){var _0x2b7d4a=_0x2c2590;_0x291a19=this['cfg']['extend'](_0x291a19);var _0x3c2d4f=_0x291a19[_0x2b7d4a(0x201)][_0x2b7d4a(0x31c)](_0x2b4281,_0x5ccea5[_0x2b7d4a(0x3a6)],_0x5ccea5[_0x2b7d4a(0x3bb)],_0x291a19[_0x2b7d4a(0x2e2)],_0x291a19[_0x2b7d4a(0x349)]);_0x291a19['iv']=_0x3c2d4f['iv'];var _0x2e8b73=_0x394ca7[_0x2b7d4a(0x388)]['call'](this,_0x5ccea5,_0x3451af,_0x3c2d4f[_0x2b7d4a(0x291)],_0x291a19);return _0x2e8b73['mixIn'](_0x3c2d4f),_0x2e8b73;},'decrypt':function(_0x5d6609,_0x65dc09,_0x3dee70,_0x476364){var _0x4612f8=_0x2c2590;_0x476364=this[_0x4612f8(0x3ef)]['extend'](_0x476364),_0x65dc09=this[_0x4612f8(0x242)](_0x65dc09,_0x476364[_0x4612f8(0x40a)]);var _0x3ef06f=_0x476364['kdf'][_0x4612f8(0x31c)](_0x3dee70,_0x5d6609[_0x4612f8(0x3a6)],_0x5d6609[_0x4612f8(0x3bb)],_0x65dc09[_0x4612f8(0x2e2)],_0x476364[_0x4612f8(0x349)]);_0x476364['iv']=_0x3ef06f['iv'];var _0x1ad36d=_0x394ca7[_0x4612f8(0x44c)][_0x4612f8(0x2c7)](this,_0x5d6609,_0x65dc09,_0x3ef06f[_0x4612f8(0x291)],_0x476364);return _0x1ad36d;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0x133617(0x30e)],oi;function Qs(){var _0x2abe58=_0x133617;return oi||(oi=0x1,function(_0x41dd7c,_0x111334){(function(_0xfc3fad,_0x1e67d0,_0x3e58e0){var _0x396aca=_0x338e;_0x41dd7c[_0x396aca(0x30e)]=_0x1e67d0(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x488b27){return(function(){var _0x508879=_0x338e,_0x2fb69c=_0x488b27,_0xd32dc=_0x2fb69c[_0x508879(0x2be)],_0x192cd3=_0xd32dc[_0x508879(0x199)],_0xd99ac3=_0x2fb69c[_0x508879(0x2b4)],_0x2497b1=[],_0x5d9d3a=[],_0x5c6c1e=[],_0x2ce707=[],_0x55078e=[],_0x2d5c03=[],_0x3d5cd9=[],_0x2a0eb1=[],_0x50b013=[],_0x58cc06=[];(function(){for(var _0x227525=[],_0x110b14=0x0;_0x110b14<0x100;_0x110b14++)_0x110b14<0x80?_0x227525[_0x110b14]=_0x110b14<<0x1:_0x227525[_0x110b14]=_0x110b14<<0x1^0x11b;for(var _0x407f17=0x0,_0x520d4f=0x0,_0x110b14=0x0;_0x110b14<0x100;_0x110b14++){var _0x9e7916=_0x520d4f^_0x520d4f<<0x1^_0x520d4f<<0x2^_0x520d4f<<0x3^_0x520d4f<<0x4;_0x9e7916=_0x9e7916>>>0x8^_0x9e7916&0xff^0x63,_0x2497b1[_0x407f17]=_0x9e7916,_0x5d9d3a[_0x9e7916]=_0x407f17;var _0x54c93f=_0x227525[_0x407f17],_0x5c6d6c=_0x227525[_0x54c93f],_0x3b8502=_0x227525[_0x5c6d6c],_0x24e476=_0x227525[_0x9e7916]*0x101^_0x9e7916*0x1010100;_0x5c6c1e[_0x407f17]=_0x24e476<<0x18|_0x24e476>>>0x8,_0x2ce707[_0x407f17]=_0x24e476<<0x10|_0x24e476>>>0x10,_0x55078e[_0x407f17]=_0x24e476<<0x8|_0x24e476>>>0x18,_0x2d5c03[_0x407f17]=_0x24e476;var _0x24e476=_0x3b8502*0x1010101^_0x5c6d6c*0x10001^_0x54c93f*0x101^_0x407f17*0x1010100;_0x3d5cd9[_0x9e7916]=_0x24e476<<0x18|_0x24e476>>>0x8,_0x2a0eb1[_0x9e7916]=_0x24e476<<0x10|_0x24e476>>>0x10,_0x50b013[_0x9e7916]=_0x24e476<<0x8|_0x24e476>>>0x18,_0x58cc06[_0x9e7916]=_0x24e476,_0x407f17?(_0x407f17=_0x54c93f^_0x227525[_0x227525[_0x227525[_0x3b8502^_0x54c93f]]],_0x520d4f^=_0x227525[_0x227525[_0x520d4f]]):_0x407f17=_0x520d4f=0x1;}}());var _0xcb9f4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2cdfc8=_0xd99ac3[_0x508879(0x404)]=_0x192cd3['extend']({'_doReset':function(){var _0x2d4cfe=_0x508879,_0x8d7a49;if(!(this[_0x2d4cfe(0x273)]&&this[_0x2d4cfe(0x17c)]===this[_0x2d4cfe(0x46d)])){for(var _0x298ea6=this[_0x2d4cfe(0x17c)]=this['_key'],_0x4efd06=_0x298ea6[_0x2d4cfe(0x166)],_0x319411=_0x298ea6[_0x2d4cfe(0x223)]/0x4,_0x3f347f=this[_0x2d4cfe(0x273)]=_0x319411+0x6,_0x4b9a8d=(_0x3f347f+0x1)*0x4,_0x3a8c29=this[_0x2d4cfe(0x338)]=[],_0x1ae627=0x0;_0x1ae627<_0x4b9a8d;_0x1ae627++)_0x1ae627<_0x319411?_0x3a8c29[_0x1ae627]=_0x4efd06[_0x1ae627]:(_0x8d7a49=_0x3a8c29[_0x1ae627-0x1],_0x1ae627%_0x319411?_0x319411>0x6&&_0x1ae627%_0x319411==0x4&&(_0x8d7a49=_0x2497b1[_0x8d7a49>>>0x18]<<0x18|_0x2497b1[_0x8d7a49>>>0x10&0xff]<<0x10|_0x2497b1[_0x8d7a49>>>0x8&0xff]<<0x8|_0x2497b1[_0x8d7a49&0xff]):(_0x8d7a49=_0x8d7a49<<0x8|_0x8d7a49>>>0x18,_0x8d7a49=_0x2497b1[_0x8d7a49>>>0x18]<<0x18|_0x2497b1[_0x8d7a49>>>0x10&0xff]<<0x10|_0x2497b1[_0x8d7a49>>>0x8&0xff]<<0x8|_0x2497b1[_0x8d7a49&0xff],_0x8d7a49^=_0xcb9f4[_0x1ae627/_0x319411|0x0]<<0x18),_0x3a8c29[_0x1ae627]=_0x3a8c29[_0x1ae627-_0x319411]^_0x8d7a49);for(var _0x3274a2=this[_0x2d4cfe(0x1f9)]=[],_0x204fe2=0x0;_0x204fe2<_0x4b9a8d;_0x204fe2++){var _0x1ae627=_0x4b9a8d-_0x204fe2;if(_0x204fe2%0x4)var _0x8d7a49=_0x3a8c29[_0x1ae627];else var _0x8d7a49=_0x3a8c29[_0x1ae627-0x4];_0x204fe2<0x4||_0x1ae627<=0x4?_0x3274a2[_0x204fe2]=_0x8d7a49:_0x3274a2[_0x204fe2]=_0x3d5cd9[_0x2497b1[_0x8d7a49>>>0x18]]^_0x2a0eb1[_0x2497b1[_0x8d7a49>>>0x10&0xff]]^_0x50b013[_0x2497b1[_0x8d7a49>>>0x8&0xff]]^_0x58cc06[_0x2497b1[_0x8d7a49&0xff]];}}},'encryptBlock':function(_0x252d26,_0x4099c5){var _0x271179=_0x508879;this[_0x271179(0x3e6)](_0x252d26,_0x4099c5,this[_0x271179(0x338)],_0x5c6c1e,_0x2ce707,_0x55078e,_0x2d5c03,_0x2497b1);},'decryptBlock':function(_0x1d016b,_0x33d7b8){var _0x3f8097=_0x508879,_0x39e5f1=_0x1d016b[_0x33d7b8+0x1];_0x1d016b[_0x33d7b8+0x1]=_0x1d016b[_0x33d7b8+0x3],_0x1d016b[_0x33d7b8+0x3]=_0x39e5f1,this[_0x3f8097(0x3e6)](_0x1d016b,_0x33d7b8,this['_invKeySchedule'],_0x3d5cd9,_0x2a0eb1,_0x50b013,_0x58cc06,_0x5d9d3a);var _0x39e5f1=_0x1d016b[_0x33d7b8+0x1];_0x1d016b[_0x33d7b8+0x1]=_0x1d016b[_0x33d7b8+0x3],_0x1d016b[_0x33d7b8+0x3]=_0x39e5f1;},'_doCryptBlock':function(_0x80456d,_0x14677c,_0x10088e,_0x13d4e3,_0x551549,_0x39f079,_0x2c3f2e,_0x57a1ab){var _0x4e3bb3=_0x508879;for(var _0x19c891=this[_0x4e3bb3(0x273)],_0x46c5da=_0x80456d[_0x14677c]^_0x10088e[0x0],_0xaf8ad0=_0x80456d[_0x14677c+0x1]^_0x10088e[0x1],_0x35458a=_0x80456d[_0x14677c+0x2]^_0x10088e[0x2],_0x176af3=_0x80456d[_0x14677c+0x3]^_0x10088e[0x3],_0xe856a5=0x4,_0x4402fb=0x1;_0x4402fb<_0x19c891;_0x4402fb++){var _0x3e2d43=_0x13d4e3[_0x46c5da>>>0x18]^_0x551549[_0xaf8ad0>>>0x10&0xff]^_0x39f079[_0x35458a>>>0x8&0xff]^_0x2c3f2e[_0x176af3&0xff]^_0x10088e[_0xe856a5++],_0x5caf42=_0x13d4e3[_0xaf8ad0>>>0x18]^_0x551549[_0x35458a>>>0x10&0xff]^_0x39f079[_0x176af3>>>0x8&0xff]^_0x2c3f2e[_0x46c5da&0xff]^_0x10088e[_0xe856a5++],_0x15ddf0=_0x13d4e3[_0x35458a>>>0x18]^_0x551549[_0x176af3>>>0x10&0xff]^_0x39f079[_0x46c5da>>>0x8&0xff]^_0x2c3f2e[_0xaf8ad0&0xff]^_0x10088e[_0xe856a5++],_0x4585e8=_0x13d4e3[_0x176af3>>>0x18]^_0x551549[_0x46c5da>>>0x10&0xff]^_0x39f079[_0xaf8ad0>>>0x8&0xff]^_0x2c3f2e[_0x35458a&0xff]^_0x10088e[_0xe856a5++];_0x46c5da=_0x3e2d43,_0xaf8ad0=_0x5caf42,_0x35458a=_0x15ddf0,_0x176af3=_0x4585e8;}var _0x3e2d43=(_0x57a1ab[_0x46c5da>>>0x18]<<0x18|_0x57a1ab[_0xaf8ad0>>>0x10&0xff]<<0x10|_0x57a1ab[_0x35458a>>>0x8&0xff]<<0x8|_0x57a1ab[_0x176af3&0xff])^_0x10088e[_0xe856a5++],_0x5caf42=(_0x57a1ab[_0xaf8ad0>>>0x18]<<0x18|_0x57a1ab[_0x35458a>>>0x10&0xff]<<0x10|_0x57a1ab[_0x176af3>>>0x8&0xff]<<0x8|_0x57a1ab[_0x46c5da&0xff])^_0x10088e[_0xe856a5++],_0x15ddf0=(_0x57a1ab[_0x35458a>>>0x18]<<0x18|_0x57a1ab[_0x176af3>>>0x10&0xff]<<0x10|_0x57a1ab[_0x46c5da>>>0x8&0xff]<<0x8|_0x57a1ab[_0xaf8ad0&0xff])^_0x10088e[_0xe856a5++],_0x4585e8=(_0x57a1ab[_0x176af3>>>0x18]<<0x18|_0x57a1ab[_0x46c5da>>>0x10&0xff]<<0x10|_0x57a1ab[_0xaf8ad0>>>0x8&0xff]<<0x8|_0x57a1ab[_0x35458a&0xff])^_0x10088e[_0xe856a5++];_0x80456d[_0x14677c]=_0x3e2d43,_0x80456d[_0x14677c+0x1]=_0x5caf42,_0x80456d[_0x14677c+0x2]=_0x15ddf0,_0x80456d[_0x14677c+0x3]=_0x4585e8;},'keySize':0x100/0x20});_0x2fb69c[_0x508879(0x404)]=_0x192cd3[_0x508879(0x1ff)](_0x2cdfc8);}()),_0x488b27['AES'];}));}(We)),We[_0x2abe58(0x30e)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze['exports'],ci;function sr(){var _0x10f22a=_0x133617;return ci||(ci=0x1,function(_0x19a4b0,_0x3f72cb){(function(_0x250fd0,_0x4d7af8){var _0xdfc66b=_0x338e;_0x19a4b0[_0xdfc66b(0x30e)]=_0x4d7af8(ne());}(nr,function(_0x3e37a9){var _0x5d71d9=_0x338e;return _0x3e37a9[_0x5d71d9(0x40c)][_0x5d71d9(0x33c)];}));}(Ze)),Ze[_0x10f22a(0x30e)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe['exports'],hi;function cr(){var _0x28b5d4=_0x133617;return hi||(hi=0x1,function(_0x5d83d9,_0x42235f){(function(_0xecadf8,_0x453269){var _0x250489=_0x338e;_0x5d83d9[_0x250489(0x30e)]=_0x453269(ne());}(ar,function(_0x54a4e3){var _0x429bee=_0x338e;return(function(){var _0x3d6289=_0x338e;if(typeof ArrayBuffer=='function'){var _0x2e880d=_0x54a4e3,_0x5c559b=_0x2e880d['lib'],_0x587a01=_0x5c559b[_0x3d6289(0x41e)],_0x596262=_0x587a01[_0x3d6289(0x219)],_0x4cb8fd=_0x587a01[_0x3d6289(0x219)]=function(_0x119475){var _0xab0216=_0x3d6289;if(_0x119475 instanceof ArrayBuffer&&(_0x119475=new Uint8Array(_0x119475)),(_0x119475 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x119475 instanceof Uint8ClampedArray||_0x119475 instanceof Int16Array||_0x119475 instanceof Uint16Array||_0x119475 instanceof Int32Array||_0x119475 instanceof Uint32Array||_0x119475 instanceof Float32Array||_0x119475 instanceof Float64Array)&&(_0x119475=new Uint8Array(_0x119475['buffer'],_0x119475[_0xab0216(0x278)],_0x119475[_0xab0216(0x1b2)])),_0x119475 instanceof Uint8Array){for(var _0x31189b=_0x119475[_0xab0216(0x1b2)],_0x2f0795=[],_0x24e08b=0x0;_0x24e08b<_0x31189b;_0x24e08b++)_0x2f0795[_0x24e08b>>>0x2]|=_0x119475[_0x24e08b]<<0x18-_0x24e08b%0x4*0x8;_0x596262['call'](this,_0x2f0795,_0x31189b);}else _0x596262[_0xab0216(0x16b)](this,arguments);};_0x4cb8fd[_0x3d6289(0x260)]=_0x587a01;}}()),_0x54a4e3[_0x429bee(0x2be)]['WordArray'];}));}(Qe)),Qe[_0x28b5d4(0x30e)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x133617(0x30e)],_i;function ur(){var _0x334ad7=_0x133617;return _i||(_i=0x1,function(_0x5f27fb,_0x479930){(function(_0x3e9291,_0x5be98d,_0x5d7587){var _0x494c06=_0x338e;_0x5f27fb[_0x494c06(0x30e)]=_0x5be98d(ne(),Ai());}(lr,function(_0x5a1d53){var _0x5a74a2=_0x338e;return _0x5a1d53[_0x5a74a2(0x3fa)][_0x5a74a2(0x401)]={'pad':function(){},'unpad':function(){}},_0x5a1d53[_0x5a74a2(0x3fa)][_0x5a74a2(0x401)];}));}(et)),et[_0x334ad7(0x30e)];}var dr=ur();const fr=je(dr);function vr(_0x1060df,_0x4c75c8){var _0xd02e77=_0x133617;const _0x3c7fac=_0x4c75c8-_0x1060df[_0xd02e77(0x2ec)]%_0x4c75c8,_0x4fdfb3=String[_0xd02e77(0x1e8)](_0x3c7fac)[_0xd02e77(0x418)](_0x3c7fac);return _0x1060df+_0x4fdfb3;}function pr(_0x2326a2,_0x388d87){var _0x87db34=_0x133617;const _0x29f3e2=_r[_0x87db34(0x3e9)](0x10),_0x55069f=vr(_0x2326a2,0x10),_0x29d8eb=tr[_0x87db34(0x388)](or[_0x87db34(0x325)](_0x55069f),ai[_0x87db34(0x325)](_0x388d87),{'iv':_0x29f3e2,'padding':fr});return _0x29f3e2[_0x87db34(0x30b)](_0x29d8eb[_0x87db34(0x394)])[_0x87db34(0x310)](ai);}function gr(){var _0x53e74d=_0x133617;const _0x365fac=_0x521dca()[_0x53e74d(0x22a)];if(_0x365fac){const _0x1b1ef3={'time':Math[_0x53e74d(0x2db)](Date[_0x53e74d(0x435)]()/0x3e8),'domain':location[_0x53e74d(0x267)]};return pr(JSON[_0x53e74d(0x347)](_0x1b1ef3),_0x365fac);}}var mr=Object[_0x133617(0x275)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x4831fa,_0x4f7789,_0x271681,_0x2c6c93)=>{var _0x31eb6b=_0x133617;for(var _0x3b1b4a=_0x2c6c93>0x1?void 0x0:_0x2c6c93?Sr(_0x4f7789,_0x271681):_0x4f7789,_0xe6c4d7=_0x4831fa[_0x31eb6b(0x2ec)]-0x1,_0x146bf0;_0xe6c4d7>=0x0;_0xe6c4d7--)(_0x146bf0=_0x4831fa[_0xe6c4d7])&&(_0x3b1b4a=(_0x2c6c93?_0x146bf0(_0x4f7789,_0x271681,_0x3b1b4a):_0x146bf0(_0x3b1b4a))||_0x3b1b4a);return _0x2c6c93&&_0x3b1b4a&&mr(_0x4f7789,_0x271681,_0x3b1b4a),_0x3b1b4a;},Ir=(_0x3c3b19,_0x3e98b7)=>(_0x4d5157,_0x3548cd)=>_0x3e98b7(_0x4d5157,_0x3548cd,_0x3c3b19);let at=class{constructor(_0x39c03c){var _0x4e49b5=_0x133617;this[_0x4e49b5(0x3fb)]=_0x39c03c,this['_initRequestHeader']();}[_0x133617(0x27e)](){var _0x40be63=_0x133617;this['_httpService'][_0x40be63(0x1a3)]({'interceptor':(_0x3e1515,_0x230c19)=>{var _0x548a0f=_0x40be63;const _0x37c11a=_0x3e1515['headers'],_0x237d88=gr();return _0x237d88&&_0x37c11a[_0x548a0f(0x2dd)]('x-univer-host',_0x237d88),_0x230c19(_0x3e1515);}});}};at=Er([Ir(0x0,_0x1dc41d(_0x566212))],at);var Tr=Object[_0x133617(0x275)],Cr=Object[_0x133617(0x22f)],br=(_0x43fca4,_0x1e6045,_0x497402,_0x32d087)=>{for(var _0x4a52c3=_0x32d087>0x1?void 0x0:_0x32d087?Cr(_0x1e6045,_0x497402):_0x1e6045,_0x52e99c=_0x43fca4['length']-0x1,_0x2ae3bf;_0x52e99c>=0x0;_0x52e99c--)(_0x2ae3bf=_0x43fca4[_0x52e99c])&&(_0x4a52c3=(_0x32d087?_0x2ae3bf(_0x1e6045,_0x497402,_0x4a52c3):_0x2ae3bf(_0x4a52c3))||_0x4a52c3);return _0x32d087&&_0x4a52c3&&Tr(_0x1e6045,_0x497402,_0x4a52c3),_0x4a52c3;},mt=(_0x5bf898,_0x476243)=>(_0x1f296c,_0x45244a)=>_0x476243(_0x1f296c,_0x45244a,_0x5bf898);let Ot=class extends _0x2c04b2{constructor(_0x4902c9,_0x44a255,_0x5f0f0c){var _0x81db0c=_0x133617;super(),D(this,_0x81db0c(0x252),new _0x560b1b(null)),D(this,_0x81db0c(0x3a8),this[_0x81db0c(0x252)]['asObservable']()),(this[_0x81db0c(0x3f1)]=_0x4902c9,this['_snapshotService']=_0x44a255,this[_0x81db0c(0x1b6)]=_0x5f0f0c);}async[_0x133617(0x340)](_0x3d0926,_0x35d2a9,_0x4c0761){var _0x2ee30c=_0x133617;this[_0x2ee30c(0x252)][_0x2ee30c(0x3d8)]({'unitId':_0x3d0926,'type':_0x35d2a9,'subUnitId':_0x4c0761});let _0x2f63f1=null;switch(_0x35d2a9){case Q['UNIVER_SHEET']:{_0x2f63f1=await this['_loadSheet'](_0x3d0926);break;}case Q['UNIVER_DOC']:{_0x2f63f1=await this['_loadDoc'](_0x3d0926);break;}default:{this['_logService'][_0x2ee30c(0x36e)](_0x2ee30c(0x2e8),_0x2ee30c(0x3eb));break;}}return _0x2f63f1;}async[_0x133617(0x3ce)](_0x1458f6){var _0x5f0444=_0x133617,_0x539790;let _0x1f105c=0x0;const _0x5c9f15=await((_0x539790=this[_0x5f0444(0x1b6)])==null?void 0x0:_0x539790['loadOfflineData'](_0x1458f6));return _0x5c9f15&&(_0x5c9f15['awaitingChangeset']||_0x5c9f15[_0x5f0444(0x315)][_0x5f0444(0x2ec)]!==0x0)&&(_0x1f105c=_0x5c9f15[_0x5f0444(0x2ca)]),_0x1f105c===0x0&&this[_0x5f0444(0x3f1)][_0x5f0444(0x171)](_0x5f0444(0x2e8),_0x5f0444(0x320)),this[_0x5f0444(0x428)][_0x5f0444(0x189)](_0x1458f6,_0x1f105c);}async[_0x133617(0x3dd)](_0xe5c296){var _0x2cf141=_0x133617,_0x4a1168;let _0x38b4d6=0x0;const _0x53ee9f=await((_0x4a1168=this['_localCacheService'])==null?void 0x0:_0x4a1168[_0x2cf141(0x3a1)](_0xe5c296));return _0x53ee9f&&(_0x53ee9f[_0x2cf141(0x1b9)]||_0x53ee9f[_0x2cf141(0x315)][_0x2cf141(0x2ec)]!==0x0)&&(_0x38b4d6=_0x53ee9f[_0x2cf141(0x2ca)]),_0x38b4d6===0x0&&this[_0x2cf141(0x3f1)][_0x2cf141(0x171)](_0x2cf141(0x2e8),_0x2cf141(0x320)),this[_0x2cf141(0x428)][_0x2cf141(0x40f)](_0xe5c296,_0x38b4d6);}};Ot=br([mt(0x0,_0x9980c2),mt(0x1,_0x1dc41d(_0x202204)),mt(0x2,_0x13f1aa(X))],Ot);var Rr=Object['defineProperty'],yr=Object[_0x133617(0x22f)],Or=(_0x19bda3,_0xf14ff,_0x2073fe,_0x2811a2)=>{for(var _0x6531ab=_0x2811a2>0x1?void 0x0:_0x2811a2?yr(_0xf14ff,_0x2073fe):_0xf14ff,_0x1fd0ea=_0x19bda3['length']-0x1,_0x170437;_0x1fd0ea>=0x0;_0x1fd0ea--)(_0x170437=_0x19bda3[_0x1fd0ea])&&(_0x6531ab=(_0x2811a2?_0x170437(_0xf14ff,_0x2073fe,_0x6531ab):_0x170437(_0x6531ab))||_0x6531ab);return _0x2811a2&&_0x6531ab&&Rr(_0xf14ff,_0x2073fe,_0x6531ab),_0x6531ab;},St=(_0x41445b,_0x5ccb00)=>(_0x5d1cb8,_0x91fea7)=>_0x5ccb00(_0x5d1cb8,_0x91fea7,_0x41445b);const Pr=[_0x133617(0x422),'image/jpeg','image/jpg',_0x133617(0x441),_0x133617(0x3fc)],Nr=0x5*0x400*0x400,Dr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',wr='/universer-api/stream/file/upload',Ur=_0x133617(0x1c6),Ar=_0x133617(0x35e);let Pt=class{constructor(_0x1f4b28,_0x1d2df4,_0x1c05a8){var _0x3cf3d9=_0x133617;D(this,_0x3cf3d9(0x458),0x0),D(this,_0x3cf3d9(0x362),new _0x48a56c()),D(this,_0x3cf3d9(0x1e0),this[_0x3cf3d9(0x362)]),D(this,_0x3cf3d9(0x27c),new Map()),(this[_0x3cf3d9(0x3fb)]=_0x1f4b28,this[_0x3cf3d9(0x37c)]=_0x1d2df4,this[_0x3cf3d9(0x206)]=_0x1c05a8);}[_0x133617(0x26c)](_0x3ec53d){var _0x4b3f91=_0x133617;this['_waitCount']=_0x3ec53d,this['_change$'][_0x4b3f91(0x3d8)](_0x3ec53d);}[_0x133617(0x3da)](_0x52ba7b,_0x2321db){var _0x45b9d5=_0x133617;if(_0x2321db===_0x1f497d[_0x45b9d5(0x2cf)]){const _0x183e01=new Image();return _0x183e01[_0x45b9d5(0x32b)]=_0x52ba7b,_0x183e01;}return this['_imageSourceCache'][_0x45b9d5(0x456)](_0x52ba7b);}[_0x133617(0x165)](_0x526ee9,_0x4a5362,_0x4cf2d9){var _0x2f7a83=_0x133617;_0x4a5362===_0x1f497d[_0x2f7a83(0x2cf)]||_0x4cf2d9==null||this[_0x2f7a83(0x27c)][_0x2f7a83(0x2dd)](_0x526ee9,_0x4cf2d9);}async['getImage'](_0x53a026){var _0x106034=_0x133617;try{const _0x1cec15=this[_0x106034(0x322)](this[_0x106034(0x241)](),''+_0x53a026),_0x31e313=(await this['_httpService'][_0x106034(0x456)](_0x1cec15))['body'];if(_0x31e313['error']&&_0x31e313[_0x106034(0x36e)]['code']===Ii['OK']){const _0x32bef6=new URL(_0x31e313['url'],this[_0x106034(0x450)]())[_0x106034(0x310)]();return Promise['resolve'](_0x32bef6);}return Promise[_0x106034(0x3a7)](_0x31e313['error']);}catch(_0x505e24){return Promise['reject'](_0x505e24);}}async[_0x133617(0x31d)](_0x559153){var _0x5b6d18=_0x133617;let _0x29bc5f='';if(!Pr[_0x5b6d18(0x3c5)](_0x559153[_0x5b6d18(0x425)]))return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29[_0x5b6d18(0x2b1)]));if(_0x559153[_0x5b6d18(0x43b)]>Nr)return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29[_0x5b6d18(0x3c3)]));try{const _0x39c1a9=new FormData();_0x39c1a9[_0x5b6d18(0x224)](_0x5b6d18(0x164),_0x559153);const _0x5c62ad=this[_0x5b6d18(0x206)][_0x5b6d18(0x44d)](),_0x2a5364=_0x5c62ad==null?void 0x0:_0x5c62ad[_0x5b6d18(0x3e2)]();if(!_0x2a5364)throw new Error(_0x5b6d18(0x26e));const _0x38cf0e=this[_0x5b6d18(0x19f)]()+_0x5b6d18(0x2a9)+_0x559153['size'][_0x5b6d18(0x310)]()+_0x5b6d18(0x26f)+Ti[_0x5b6d18(0x398)]+_0x5b6d18(0x353)+encodeURIComponent(_0x2a5364),_0x3a5051=await(await fetch(_0x38cf0e,{'method':'POST','body':_0x39c1a9}))[_0x5b6d18(0x408)]();if(typeof _0x3a5051[_0x5b6d18(0x2df)]!=_0x5b6d18(0x303))return this[_0x5b6d18(0x2d0)](),Promise['reject'](new Error(_0x44ca29['ERROR_IMAGE']));_0x29bc5f=_0x3a5051['FileId'];}catch{return this[_0x5b6d18(0x2d0)](),Promise[_0x5b6d18(0x3a7)](new Error(_0x44ca29['ERROR_IMAGE']));}return new Promise((_0xce0cdb,_0x5c9ba1)=>{var _0x187409=_0x5b6d18;const _0x2fbfd4=new FileReader();_0x2fbfd4[_0x187409(0x19b)](_0x559153),_0x2fbfd4['onload']=_0x59b988=>{var _0x4a7690=_0x187409,_0x38257c;const _0x19336e=(_0x38257c=_0x59b988['target'])==null?void 0x0:_0x38257c[_0x4a7690(0x365)];if(_0x19336e==null){this[_0x4a7690(0x2d0)](),_0x5c9ba1(new Error(_0x44ca29['ERROR_IMAGE']));return;}const _0x2c68e4=_0x3e74e3['generateRandomId'](0x6);_0xce0cdb({'imageId':_0x2c68e4,'imageSourceType':_0x1f497d['UUID'],'source':_0x29bc5f,'base64Cache':_0x19336e,'status':_0x44ca29[_0x4a7690(0x265)]}),this[_0x4a7690(0x2d0)]();};});}[_0x133617(0x19f)](){var _0x404da3=_0x133617,_0x46ac9f,_0x4dba2f;const _0x3ae967=this[_0x404da3(0x37c)][_0x404da3(0x237)](Dr),_0x50dfa4=this[_0x404da3(0x37c)]['getConfig'](Y);return(_0x4dba2f=(_0x46ac9f=_0x50dfa4==null?void 0x0:_0x50dfa4['uploadFileServerUrl'])!=null?_0x46ac9f:_0x3ae967)!=null?_0x4dba2f:wr;}[_0x133617(0x241)](){var _0x572cf2=_0x133617,_0x5d93a9,_0x407110;const _0x232418=this[_0x572cf2(0x37c)][_0x572cf2(0x237)](Ur),_0x3d18a8=this[_0x572cf2(0x37c)][_0x572cf2(0x237)](Y);return(_0x407110=(_0x5d93a9=_0x3d18a8==null?void 0x0:_0x3d18a8[_0x572cf2(0x344)])!=null?_0x5d93a9:_0x232418)!=null?_0x407110:Ar;}[_0x133617(0x450)](){var _0x2083a2=_0x133617,_0x2af391;const _0x472a5f=this['_configService'][_0x2083a2(0x237)](Y);return(_0x2af391=_0x472a5f==null?void 0x0:_0x472a5f[_0x2083a2(0x279)])!=null?_0x2af391:location[_0x2083a2(0x2d1)];}['_replaceFileID'](_0x338e9d,_0x241b15){var _0x3bec1e=_0x133617;return _0x338e9d[_0x3bec1e(0x413)]('{fileID}',_0x241b15);}['_decreaseWaiting'](){var _0x159c6f=_0x133617;this[_0x159c6f(0x458)]-=0x1,this[_0x159c6f(0x362)]['next'](this['_waitCount']);}};Pt=Or([St(0x0,_0x1dc41d(_0x566212)),St(0x1,_0x387b00),St(0x2,_0x1dc41d(_0x23476a))],Pt);var xr=Object[_0x133617(0x275)],Lr=Object[_0x133617(0x22f)],Mr=(_0x294c30,_0x596f77,_0x61aafc,_0x200b9e)=>{var _0x59ee18=_0x133617;for(var _0x291dfe=_0x200b9e>0x1?void 0x0:_0x200b9e?Lr(_0x596f77,_0x61aafc):_0x596f77,_0x44c250=_0x294c30[_0x59ee18(0x2ec)]-0x1,_0x512953;_0x44c250>=0x0;_0x44c250--)(_0x512953=_0x294c30[_0x44c250])&&(_0x291dfe=(_0x200b9e?_0x512953(_0x596f77,_0x61aafc,_0x291dfe):_0x512953(_0x291dfe))||_0x291dfe);return _0x200b9e&&_0x291dfe&&xr(_0x596f77,_0x61aafc,_0x291dfe),_0x291dfe;},li=(_0x99daf6,_0x39c66b)=>(_0x5054d8,_0x1e10af)=>_0x39c66b(_0x5054d8,_0x1e10af,_0x99daf6);const $r=_0x133617(0x3f3);let Nt=class{constructor(_0x1198da,_0x29d145){var _0x10792c=_0x133617;this[_0x10792c(0x37c)]=_0x1198da,this[_0x10792c(0x45c)]=_0x29d145;}['_getAPIPrefixPath'](){var _0x118945=_0x133617,_0x4a8268,_0x5bd87d;const _0x433c85=this[_0x118945(0x37c)][_0x118945(0x237)](Di),_0x12af52=this[_0x118945(0x37c)][_0x118945(0x237)](Y);return(_0x5bd87d=(_0x4a8268=_0x12af52==null?void 0x0:_0x12af52[_0x118945(0x2ea)])!=null?_0x4a8268:_0x433c85)!=null?_0x5bd87d:$r;}async[_0x133617(0x319)](_0x5e6699){var _0x5913c5=_0x133617;const _0x2fc236=this[_0x5913c5(0x20b)]()+_0x5913c5(0x1ad);return{'list':[{'title':'People','mentions':(await this[_0x5913c5(0x45c)]['get'](_0x2fc236,{'params':{'objectID':_0x5e6699[_0x5913c5(0x28e)],'unitID':_0x5e6699[_0x5913c5(0x28e)]}}))[_0x5913c5(0x45b)][_0x5913c5(0x2cc)][_0x5913c5(0x339)](_0x42b76e=>({'objectId':_0x42b76e['id'],'name':_0x42b76e[_0x5913c5(0x230)][_0x5913c5(0x3c6)],'metadata':{'icon':_0x42b76e[_0x5913c5(0x230)][_0x5913c5(0x454)]},'label':_0x42b76e['subject']['name'],'objectType':_0x137850['PERSON']})),'metadata':{},'type':_0x137850['PERSON']}]};}};Nt=Mr([li(0x0,_0x1dc41d(_0x387b00)),li(0x1,_0x1dc41d(_0x566212))],Nt);var Hr=Object['defineProperty'],kr=Object[_0x133617(0x22f)],jr=(_0x1af36f,_0x3b99df,_0x41aa16,_0x20bf82)=>{var _0x202185=_0x133617;for(var _0x157b80=_0x20bf82>0x1?void 0x0:_0x20bf82?kr(_0x3b99df,_0x41aa16):_0x3b99df,_0x211964=_0x1af36f[_0x202185(0x2ec)]-0x1,_0x3874cd;_0x211964>=0x0;_0x211964--)(_0x3874cd=_0x1af36f[_0x211964])&&(_0x157b80=(_0x20bf82?_0x3874cd(_0x3b99df,_0x41aa16,_0x157b80):_0x3874cd(_0x157b80))||_0x157b80);return _0x20bf82&&_0x157b80&&Hr(_0x3b99df,_0x41aa16,_0x157b80),_0x157b80;},Se=(_0x16f943,_0x4aae7e)=>(_0x49b6a6,_0x3826b8)=>_0x4aae7e(_0x49b6a6,_0x3826b8,_0x16f943);let ct=class extends _0x2c04b2{constructor(_0x8c3fc0,_0x40474b,_0x420029,_0x37f842,_0x5988df,_0x55fad5,_0x3a9d31){var _0x4ee8e1=_0x133617;super(),this[_0x4ee8e1(0x1cc)]=_0x8c3fc0,this[_0x4ee8e1(0x206)]=_0x40474b,this['_permissionService']=_0x420029,this[_0x4ee8e1(0x2f5)]=_0x37f842,this[_0x4ee8e1(0x439)]=_0x5988df,this['_authzIoService']=_0x55fad5,this[_0x4ee8e1(0x287)]=_0x3a9d31,this[_0x4ee8e1(0x3f8)](),this[_0x4ee8e1(0x198)]();}['_initCloseConn'](){var _0x4ba23b=_0x133617;const _0x11add1=async _0x4fd062=>{var _0x5f2023=_0x338e;(await this[_0x5f2023(0x2f5)]['requireSession'](_0x4fd062))[_0x5f2023(0x225)][_0x5f2023(0x2a4)](_0x187f73(_0x579448=>_0x579448['eventID']===_0xef4ce6['SHOULD_CLOSE_CONN']),_0x5468ef(this[_0x5f2023(0x3a4)]))[_0x5f2023(0x438)](_0x583a76=>{var _0x2fc2e3=_0x5f2023;const _0x53eb8b=_0x583a76,{reason:_0x2a5b73}=_0x53eb8b[_0x2fc2e3(0x3b2)];this['_collaborationUIEventService'][_0x2fc2e3(0x3a3)]({'id':se[_0x2fc2e3(0x24a)],'data':_0x2a5b73}),this[_0x2fc2e3(0x427)][_0x2fc2e3(0x2e4)](new _0x4c611b(_0x4fd062)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x4fd062);});};_0x157496(this[_0x4ba23b(0x206)][_0x4ba23b(0x280)](_0x4b329a['UNIVER_SHEET']),this[_0x4ba23b(0x206)][_0x4ba23b(0x280)](_0x4b329a[_0x4ba23b(0x3d1)]))[_0x4ba23b(0x2a4)](_0xab3a8f(_0x50a304=>_0x50a304[_0x4ba23b(0x3e2)]()),_0x187f73(_0x4b941e=>!_0x587025(_0x4b941e)),_0x5468ef(this[_0x4ba23b(0x3a4)]))['subscribe'](_0x4d216f=>{_0x11add1(_0x4d216f);});}[_0x133617(0x3f8)](){var _0x56e81a=_0x133617;const _0x365a7f=async _0x2919d7=>{var _0x593d72=_0x338e;(await this[_0x593d72(0x2f5)][_0x593d72(0x3f4)](_0x2919d7))[_0x593d72(0x225)][_0x593d72(0x2a4)](_0x187f73(_0x2724cb=>_0x2724cb[_0x593d72(0x2b2)]===_0xef4ce6[_0x593d72(0x32e)]),_0x5468ef(this[_0x593d72(0x3a4)]))[_0x593d72(0x438)](_0x2aac94=>{var _0x1a079f=_0x593d72;const _0xfddbbe=_0x2aac94,{objectId:_0x102950}=_0xfddbbe['data'];_0x102950===_0x2919d7?this[_0x1a079f(0x41f)](_0x2919d7):this[_0x1a079f(0x1c9)](_0x2919d7,_0x102950);});};_0x157496(this[_0x56e81a(0x206)][_0x56e81a(0x280)](_0x4b329a[_0x56e81a(0x184)]),this[_0x56e81a(0x206)][_0x56e81a(0x280)](_0x4b329a[_0x56e81a(0x3d1)]))[_0x56e81a(0x2a4)](_0xab3a8f(_0xce42a5=>_0xce42a5['getUnitId']()),_0x187f73(_0x5f0039=>!_0x587025(_0x5f0039)),_0x5468ef(this[_0x56e81a(0x3a4)]))[_0x56e81a(0x438)](_0x1f2cd2=>{_0x365a7f(_0x1f2cd2);});}async[_0x133617(0x41f)](_0x574ed8){var _0x43e51d=_0x133617,_0x15bd0b;const _0xf649fe=_0x574ed8||((_0x15bd0b=this[_0x43e51d(0x206)][_0x43e51d(0x238)](_0x4b329a[_0x43e51d(0x184)]))==null?void 0x0:_0x15bd0b['getUnitId']());_0xf649fe&&this[_0x43e51d(0x376)][_0x43e51d(0x254)]({'objectID':_0xf649fe,'objectType':_0x4d688a[_0x43e51d(0x28a)],'unitID':_0xf649fe,'actions':_0x47b2b7})['then'](_0x3ce7f5=>{_0x158093()['forEach'](_0x4fd3ca=>{var _0x18957e=_0x338e;const _0x21a406=new _0x4fd3ca(_0xf649fe),_0xfa97b9=_0x21a406[_0x18957e(0x3ad)],_0x257c9f=_0x3ce7f5[_0x18957e(0x1b0)](_0x2504b3=>_0x2504b3[_0x18957e(0x1ce)]===_0xfa97b9);_0x257c9f&&this['_permissionService'][_0x18957e(0x2e4)](_0x21a406['id'],_0x257c9f[_0x18957e(0x254)]);});});}[_0x133617(0x1c9)](_0x4a5319,_0x118a3f){var _0x34ab8d=_0x133617;const _0x4432e6=this[_0x34ab8d(0x1cc)][_0x34ab8d(0x456)](_0x39b53c),_0x40ee10=_0x4432e6['getTargetByPermissionId'](_0x4a5319,_0x118a3f);let _0x3ad3cb=!0x1;if(_0x40ee10){const [_0x4392c9,_0x293ceb]=_0x40ee10;this[_0x34ab8d(0x376)][_0x34ab8d(0x254)]({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a['Worksheet'],'actions':_0x1a72fc})['then'](_0x511ff8=>{var _0x2ff34a=_0x34ab8d;let _0x33ea5c='';_0x476f0a()['forEach'](_0x2ef1ca=>{var _0x3c0160=_0x338e,_0xd2830e;const _0x582364=new _0x2ef1ca(_0x4a5319,_0x293ceb),_0x330867=_0x582364['subType'],_0x2b2248=_0x511ff8[_0x3c0160(0x1b0)](_0x49ba64=>_0x49ba64[_0x3c0160(0x1ce)]===_0x330867);_0x2b2248&&(((_0xd2830e=this[_0x3c0160(0x427)][_0x3c0160(0x209)](_0x582364['id']))==null?void 0x0:_0xd2830e[_0x3c0160(0x253)])!==_0x2b2248[_0x3c0160(0x254)]&&(_0x3ad3cb=!0x0),this[_0x3c0160(0x427)][_0x3c0160(0x2e4)](_0x582364['id'],_0x2b2248[_0x3c0160(0x254)]),_0x33ea5c+=_0x2b2248['action']+'_'+_0x2b2248[_0x3c0160(0x254)]);}),_0x4432e6[_0x2ff34a(0x1be)](_0x118a3f+'_'+_0x33ea5c),_0x3ad3cb&&this['_undoRedoService'][_0x2ff34a(0x1ae)](_0x4a5319);});}const _0x5276ff=this[_0x34ab8d(0x1cc)][_0x34ab8d(0x456)](_0x146216)[_0x34ab8d(0x2e5)](_0x4a5319,_0x118a3f);if(_0x5276ff){const [_0x462e73,_0x3c1187]=_0x5276ff;this[_0x34ab8d(0x376)]['allowed']({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a[_0x34ab8d(0x3ed)],'actions':_0x59ce61})['then'](_0x78861c=>{var _0x1c1052=_0x34ab8d;_0x2f65ed()[_0x1c1052(0x202)](_0x117e58=>{var _0x4b15cb=_0x1c1052,_0x14bc1c;const _0x5bf11c=new _0x117e58(_0x4a5319,_0x3c1187),_0x583b8d=_0x5bf11c[_0x4b15cb(0x3ad)],_0x4b0bee=_0x78861c[_0x4b15cb(0x1b0)](_0x3eb648=>_0x3eb648[_0x4b15cb(0x1ce)]===_0x583b8d);_0x4b0bee&&(((_0x14bc1c=this[_0x4b15cb(0x427)][_0x4b15cb(0x209)](_0x5bf11c['id']))==null?void 0x0:_0x14bc1c[_0x4b15cb(0x253)])!==_0x4b0bee[_0x4b15cb(0x254)]&&(_0x3ad3cb=!0x0),this[_0x4b15cb(0x427)][_0x4b15cb(0x2e4)](_0x5bf11c['id'],_0x4b0bee[_0x4b15cb(0x254)]));}),_0x3ad3cb&&this['_undoRedoService'][_0x1c1052(0x1ae)](_0x4a5319);});}const _0x13dc63=this[_0x34ab8d(0x1cc)]['get'](_0x30e8bd),_0x7df516=_0x13dc63[_0x34ab8d(0x2e5)](_0x4a5319,_0x118a3f);if(_0x7df516){const [_0x5278bb,_0x2d15f8]=_0x7df516;this[_0x34ab8d(0x376)]['allowed']({'objectID':_0x118a3f,'unitID':_0x4a5319,'objectType':_0x4d688a['SelectRange'],'actions':_0x1a72fc})['then'](_0x381ea4=>{var _0x2926c0=_0x34ab8d;let _0x4c06de='';_0x3abc76()[_0x2926c0(0x202)](_0x3300db=>{var _0x3b7bca=_0x2926c0,_0x104701;const _0x567cf8=new _0x3300db(_0x4a5319,_0x2d15f8,_0x118a3f),_0x2bc3c8=_0x567cf8[_0x3b7bca(0x3ad)],_0xbf0117=_0x381ea4['find'](_0x2f239c=>_0x2f239c[_0x3b7bca(0x1ce)]===_0x2bc3c8);_0xbf0117&&(((_0x104701=this[_0x3b7bca(0x427)][_0x3b7bca(0x209)](_0x567cf8['id']))==null?void 0x0:_0x104701['value'])!==_0xbf0117['allowed']&&(_0x3ad3cb=!0x0),this['_permissionService'][_0x3b7bca(0x2e4)](_0x567cf8['id'],_0xbf0117[_0x3b7bca(0x254)]),_0x4c06de+=_0xbf0117[_0x3b7bca(0x1ce)]+'_'+_0xbf0117['allowed']);}),_0x13dc63[_0x2926c0(0x1be)](_0x118a3f+'_'+_0x4c06de),_0x3ad3cb&&this[_0x2926c0(0x287)]['clearUndoRedo'](_0x4a5319);});}}};ct=jr([Se(0x0,_0x1dc41d(_0x485aa2)),Se(0x1,_0x23476a),Se(0x2,_0x113cc3),Se(0x3,_0x1dc41d(Me)),Se(0x4,_0x1dc41d(pe)),Se(0x5,_0x14700c),Se(0x6,_0x2c523a)],ct);var Br=Object[_0x133617(0x275)],Fr=Object[_0x133617(0x22f)],Vr=(_0x45bc8c,_0x3b8041,_0xdccbee,_0x3ee418)=>{for(var _0x2deb8b=_0x3ee418>0x1?void 0x0:_0x3ee418?Fr(_0x3b8041,_0xdccbee):_0x3b8041,_0x259ac6=_0x45bc8c['length']-0x1,_0x1bca61;_0x259ac6>=0x0;_0x259ac6--)(_0x1bca61=_0x45bc8c[_0x259ac6])&&(_0x2deb8b=(_0x3ee418?_0x1bca61(_0x3b8041,_0xdccbee,_0x2deb8b):_0x1bca61(_0x2deb8b))||_0x2deb8b);return _0x3ee418&&_0x2deb8b&&Br(_0x3b8041,_0xdccbee,_0x2deb8b),_0x2deb8b;},ui=(_0x2cf4af,_0x4162dc)=>(_0x25b641,_0x1c77a3)=>_0x4162dc(_0x25b641,_0x1c77a3,_0x2cf4af);let Dt=class{constructor(_0x2f1368,_0xb2c462){var _0x5235ca=_0x133617;this['_configService']=_0x2f1368,this[_0x5235ca(0x3fb)]=_0xb2c462;}async[_0x133617(0x430)](_0x4aed91,_0x42bfb9){var _0x30ae94=_0x133617,_0x54894b;const {unitID:_0x369077,type:_0x1815f7,revision:_0x7e5899=0x0}=_0x42bfb9,_0x151c8c=this[_0x30ae94(0x2e9)]()+'/'+_0x1815f7+'/unit/'+_0x369077+_0x30ae94(0x402)+_0x7e5899,_0x525e38=(await this[_0x30ae94(0x3fb)]['get'](_0x151c8c))[_0x30ae94(0x45b)],_0x1a49cb=(_0x54894b=_0x525e38[_0x30ae94(0x2bd)])==null?void 0x0:_0x54894b[_0x30ae94(0x32a)];if(_0x1a49cb){const _0x5a587b=_0x1a49cb==null?void 0x0:_0x1a49cb[_0x30ae94(0x3bd)],_0x12190d=_0x35d930[_0x30ae94(0x17a)](_0x82e599(_0x5a587b));_0x1a49cb[_0x30ae94(0x3bd)]=_0x12190d,Object[_0x30ae94(0x419)](_0x1a49cb[_0x30ae94(0x3f5)])[_0x30ae94(0x202)](([,_0x5e7c2e])=>{var _0x37a4b7=_0x30ae94;const _0xb50f7d=_0x5e7c2e['originalMeta'],_0x269848=_0x35d930[_0x37a4b7(0x17a)](_0x82e599(_0xb50f7d));_0x5e7c2e[_0x37a4b7(0x3bd)]=_0x269848;});}return _0x525e38;}async[_0x133617(0x41a)](_0x98bb8f,_0x33dcdc){var _0x466fcd=_0x133617;const {unitID:_0x146d81,type:_0x361e35,blockID:_0x191529}=_0x33dcdc,_0x50cc31=this[_0x466fcd(0x298)]()+'/'+_0x361e35+_0x466fcd(0x2ff)+_0x146d81+_0x466fcd(0x186)+_0x191529;return(await this[_0x466fcd(0x3fb)][_0x466fcd(0x456)](_0x50cc31))['body'];}async[_0x133617(0x37a)](_0x101124,_0x24e775){var _0x3f825c=_0x133617;const {unitID:_0x32ee2c,type:_0x826d49,blockID:_0x115b5b}=_0x24e775,_0x11f9e9=this[_0x3f825c(0x298)]()+_0x3f825c(0x186)+_0x826d49+_0x3f825c(0x2ff)+_0x32ee2c+_0x3f825c(0x186)+_0x115b5b;return(await this[_0x3f825c(0x3fb)][_0x3f825c(0x456)](_0x11f9e9))[_0x3f825c(0x45b)];}async[_0x133617(0x1f5)](_0x3fc977,_0x5e5d0d){var _0x1c52a2=_0x133617;const {unitID:_0x4fdd58,type:_0x345a49,from:_0x2a4dea,to:_0x178576}=_0x5e5d0d,_0x4a9584=this[_0x1c52a2(0x298)]()+'/'+_0x345a49+_0x1c52a2(0x2ff)+_0x4fdd58+_0x1c52a2(0x1f2)+_0x2a4dea+_0x1c52a2(0x424)+_0x178576;return(await this[_0x1c52a2(0x3fb)][_0x1c52a2(0x456)](_0x4a9584))[_0x1c52a2(0x45b)];}[_0x133617(0x2e9)](){var _0x3630c6=_0x133617,_0xa30318;return(_0xa30318=this['_configService'][_0x3630c6(0x237)](Dn))!=null?_0xa30318:this[_0x3630c6(0x298)]();}['_getAPIPrefix'](){var _0xa738c3=_0x133617,_0x2b6dbc,_0x340c36;const _0x272383=this[_0xa738c3(0x37c)][_0xa738c3(0x237)](Pn),_0x1d3b15=this[_0xa738c3(0x37c)][_0xa738c3(0x237)](Y);return(_0x340c36=(_0x2b6dbc=_0x1d3b15==null?void 0x0:_0x1d3b15[_0xa738c3(0x41d)])!=null?_0x2b6dbc:_0x272383)!=null?_0x340c36:Nn;}async[_0x133617(0x26b)](_0x478ec6,_0x56341e){var _0x3365ef=_0x133617;const _0x126c90=_0x3365ef(0x2aa)+_0x56341e['type']+'/unit/'+_0x56341e[_0x3365ef(0x1c7)]+_0x3365ef(0x44e);return(await this[_0x3365ef(0x3fb)][_0x3365ef(0x456)](_0x126c90,{'params':{'resourceId':JSON['stringify'](_0x56341e[_0x3365ef(0x3a0)])}}))[_0x3365ef(0x45b)];}[_0x133617(0x2a2)](){var _0x5281cc=_0x133617;throw new Error(_0x5281cc(0x437));}['saveSheetBlock'](){var _0x42ee9a=_0x133617;throw new Error(_0x42ee9a(0x437));}[_0x133617(0x3c1)](){var _0x143cec=_0x133617;throw new Error(_0x143cec(0x437));}[_0x133617(0x1de)](){var _0x50dcc1=_0x133617;throw new Error(_0x50dcc1(0x437));}[_0x133617(0x400)](){var _0xc30dcf=_0x133617;throw new Error(_0xc30dcf(0x437));}};Dt=Vr([ui(0x0,_0x387b00),ui(0x1,_0x1dc41d(_0x566212))],Dt);var Wr=Object[_0x133617(0x275)],Gr=Object[_0x133617(0x22f)],Kr=(_0x5a2160,_0x31a92a,_0x291d8a,_0x298564)=>{var _0x4f6df2=_0x133617;for(var _0x515b2d=_0x298564>0x1?void 0x0:_0x298564?Gr(_0x31a92a,_0x291d8a):_0x31a92a,_0x445dff=_0x5a2160[_0x4f6df2(0x2ec)]-0x1,_0x45b2da;_0x445dff>=0x0;_0x445dff--)(_0x45b2da=_0x5a2160[_0x445dff])&&(_0x515b2d=(_0x298564?_0x45b2da(_0x31a92a,_0x291d8a,_0x515b2d):_0x45b2da(_0x515b2d))||_0x515b2d);return _0x298564&&_0x515b2d&&Wr(_0x31a92a,_0x291d8a,_0x515b2d),_0x515b2d;},Ue=(_0x39a66f,_0x2c6bd4)=>(_0x2b6345,_0x499ec7)=>_0x2c6bd4(_0x2b6345,_0x499ec7,_0x39a66f);let wt=class extends _0x198a18{constructor(_0x3dde71,_0x276e79,_0x282bec,_0xf5f280,_0x28e60f){var _0x2b0066=_0x133617;super(_0x3dde71,_0x276e79,_0x282bec),this[_0x2b0066(0x432)]=_0xf5f280,this[_0x2b0066(0x3f1)]=_0x28e60f;}[_0x133617(0x19d)](_0x490bb5,_0x48868c){var _0x290985=_0x133617;const _0x370dd4=this[_0x290985(0x2ce)](_0x490bb5);if(_0x370dd4)try{const _0x59c3f2=this[_0x290985(0x1dc)](_0x370dd4,_0x48868c);this[_0x290985(0x410)](_0x490bb5,_0x59c3f2);}catch(_0x6e70e8){this[_0x290985(0x3f1)][_0x290985(0x36e)](_0x290985(0x2dc),_0x6e70e8),this[_0x290985(0x1a6)](_0x490bb5);}const _0x5104e6=this['_getRedoStack'](_0x490bb5);if(_0x5104e6)try{const _0x1096a2=this['_transformStack'](_0x5104e6,_0x48868c);this[_0x290985(0x1f7)](_0x490bb5,_0x1096a2);}catch(_0x246e2c){this[_0x290985(0x3f1)][_0x290985(0x36e)](_0x246e2c),this[_0x290985(0x312)](_0x490bb5);}}[_0x133617(0x1a6)](_0x302a2c){var _0x4c5116=_0x133617;const _0x2126e8=this[_0x4c5116(0x2ce)](_0x302a2c);_0x2126e8&&(_0x2126e8[_0x4c5116(0x2ec)]=0x0,this[_0x4c5116(0x3fd)]());}[_0x133617(0x312)](_0xd333eb){var _0x2b13c9=_0x133617;const _0x55fcd7=this[_0x2b13c9(0x2f6)](_0xd333eb);_0x55fcd7&&(_0x55fcd7[_0x2b13c9(0x2ec)]=0x0,this[_0x2b13c9(0x3fd)]());}[_0x133617(0x410)](_0x1cc5d2,_0x3801c7){this['_undoStacks']['set'](_0x1cc5d2,_0x3801c7),this['_updateStatus']();}[_0x133617(0x1f7)](_0x3731d6,_0x28bcd3){var _0x33e642=_0x133617;this[_0x33e642(0x1fd)][_0x33e642(0x2dd)](_0x3731d6,_0x28bcd3),this[_0x33e642(0x3fd)]();}[_0x133617(0x1dc)](_0x4f5f81,_0x5ed08d){var _0xe4b43a=_0x133617;const _0x499077=[];let _0x1fc23b=_0x5ed08d,_0x3985ce=_0x5ed08d;for(let _0x17a76a=_0x4f5f81['length']-0x1;_0x17a76a>=0x0;_0x17a76a--){const {unitID:_0x3f6520,undoMutations:_0x4665f5,redoMutations:_0x25c04c}=_0x4f5f81[_0x17a76a],_0x33ddae=this[_0xe4b43a(0x432)][_0xe4b43a(0x1d0)](_0x1fc23b,_0x4665f5),_0x2eef94=this[_0xe4b43a(0x432)][_0xe4b43a(0x1d0)](_0x3985ce,_0x25c04c);if(_0x25ac26(_0x33ddae)||_0x25ac26(_0x2eef94)){this[_0xe4b43a(0x3f1)][_0xe4b43a(0x36e)]('[CollaborationUndoRedoService]',_0xe4b43a(0x2ac),_0x33ddae,_0x2eef94);break;}_0x1fc23b=_0x33ddae[_0xe4b43a(0x307)],_0x3985ce=_0x2eef94[_0xe4b43a(0x307)],_0x499077[_0xe4b43a(0x387)]({'unitID':_0x3f6520,'undoMutations':_0x33ddae[_0xe4b43a(0x1cb)],'redoMutations':_0x2eef94[_0xe4b43a(0x1cb)]});}return _0x499077[_0xe4b43a(0x39b)]();}};wt=Kr([Ue(0x0,_0x23476a),Ue(0x1,_0x3a3afb),Ue(0x2,_0x42c599),Ue(0x3,_0x4915cb),Ue(0x4,_0x9980c2)],wt);var xi=Object[_0x133617(0x275)],zr=Object['getOwnPropertyDescriptor'],Yr=(_0x14ee21,_0x35098e,_0x5019cc)=>_0x35098e in _0x14ee21?xi(_0x14ee21,_0x35098e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5019cc}):_0x14ee21[_0x35098e]=_0x5019cc,qr=(_0x3707af,_0xf6b90c,_0x2c11d3,_0x1e0429)=>{var _0x2f14ab=_0x133617;for(var _0x576b51=_0x1e0429>0x1?void 0x0:_0x1e0429?zr(_0xf6b90c,_0x2c11d3):_0xf6b90c,_0x3d9a07=_0x3707af[_0x2f14ab(0x2ec)]-0x1,_0x320b3b;_0x3d9a07>=0x0;_0x3d9a07--)(_0x320b3b=_0x3707af[_0x3d9a07])&&(_0x576b51=(_0x1e0429?_0x320b3b(_0xf6b90c,_0x2c11d3,_0x576b51):_0x320b3b(_0x576b51))||_0x576b51);return _0x1e0429&&_0x576b51&&xi(_0xf6b90c,_0x2c11d3,_0x576b51),_0x576b51;},Et=(_0x4b488f,_0x4d34ea)=>(_0x39f61c,_0x3e96ac)=>_0x4d34ea(_0x39f61c,_0x3e96ac,_0x4b488f),Jr=(_0x3947fc,_0x16f0e8,_0x11269e)=>Yr(_0x3947fc,_0x16f0e8+'',_0x11269e);const Xr=_0x133617(0x2f8);let Ut=class extends _0x91ca3{constructor(_0x5221e3=Wn,_0x35a046,_0x2e02f8,_0x4d3aa1){var _0x20b79f=_0x133617;super(),this[_0x20b79f(0x299)]=_0x5221e3,this[_0x20b79f(0x3f1)]=_0x35a046,this[_0x20b79f(0x1cc)]=_0x2e02f8,this['_configService']=_0x4d3aa1;const {..._0x298335}=this[_0x20b79f(0x299)];this[_0x20b79f(0x37c)][_0x20b79f(0x215)](Y,_0x298335);}[_0x133617(0x22b)](){var _0xd58bb9=_0x133617;this[_0xd58bb9(0x221)](),this['_initDependencies']();}[_0x133617(0x221)](){var _0x2b57fc=_0x133617,_0x26356e,_0x220ae5,_0xfcc9bc,_0x20ada6;this[_0x2b57fc(0x1cc)][_0x2b57fc(0x29e)](_0x2c523a)&&this[_0x2b57fc(0x3f1)]['error'](_0x2b57fc(0x192),_0x2b57fc(0x179));const _0x12de07=_0x3f2ea0([[_0x2c523a,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x220ae5=(_0x26356e=this[_0x2b57fc(0x299)])==null?void 0x0:_0x26356e[_0x2b57fc(0x1b1)])!=null?_0x220ae5:It}],[_0x36001d,{'useClass':Dt}],[_0x14700c,{'useClass':yt}],[_0x4bb744,{'useClass':Pt}],[_0xe7468f,{'useClass':Nt}],[rt],[Rt]],(_0xfcc9bc=this[_0x2b57fc(0x299)])==null?void 0x0:_0xfcc9bc['override']);if(!((_0x20ada6=this[_0x2b57fc(0x299)])!=null&&_0x20ada6[_0x2b57fc(0x2d6)])){const _0x540441=_0x12de07[_0x2b57fc(0x1e1)](([_0x4a49a8])=>_0x4a49a8===_t);_0x540441!==-0x1&&_0x12de07['splice'](_0x540441,0x1);}_0x1b4978(this[_0x2b57fc(0x1cc)],_0x12de07);}['_initDependencies'](){var _0x29389c=_0x133617,_0x4ed57d,_0x6f0b16,_0x1c2718;this[_0x29389c(0x1cc)][_0x29389c(0x456)](_0x566212)[_0x29389c(0x1a3)]({'priority':0x14,'interceptor':_0x518aa4({'maxParallel':0x6})}),(_0x4ed57d=this['_config'])!=null&&_0x4ed57d['enableOfflineEditing']||(_0x6f0b16=this['_injector'][_0x29389c(0x456)](X,_0x48e2f0[_0x29389c(0x31a)]))==null||_0x6f0b16[_0x29389c(0x433)](),(_0x1c2718=this[_0x29389c(0x299)])!=null&&_0x1c2718[_0x29389c(0x2a3)]&&_0x5b52da(this[_0x29389c(0x1cc)],[[ot]]),_0x5b52da(this[_0x29389c(0x1cc)],[[at],[rt],[ct]]);}};Jr(Ut,_0x133617(0x2f0),Xr),Ut=qr([_0x4b1631(_0x54914a,_0x8011e7,_0x51ff62),Et(0x1,_0x9980c2),Et(0x2,_0x1dc41d(_0x485aa2)),Et(0x3,_0x387b00)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};