@univerjs-pro/collaboration-client 0.5.1-nightly.202412221605 → 0.5.1-nightly.202412241606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +1 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2c2a28=_0xa9b7;(function(_0x493ead,_0x1d5c23){var _0x19657c=_0xa9b7,_0x5854d6=_0x493ead();while(!![]){try{var _0x2138d0=parseInt(_0x19657c(0x487))/0x1+-parseInt(_0x19657c(0x47c))/0x2+-parseInt(_0x19657c(0x258))/0x3+-parseInt(_0x19657c(0x1d1))/0x4+-parseInt(_0x19657c(0x2a3))/0x5*(-parseInt(_0x19657c(0x48e))/0x6)+parseInt(_0x19657c(0x32d))/0x7*(-parseInt(_0x19657c(0x369))/0x8)+parseInt(_0x19657c(0x335))/0x9;if(_0x2138d0===_0x1d5c23)break;else _0x5854d6['push'](_0x5854d6['shift']());}catch(_0xb8cdd9){_0x5854d6['push'](_0x5854d6['shift']());}}}(_0x4a5b,0x7ce4c));var Mi=Object[_0x2c2a28(0x295)],$i=(_0x2347d1,_0x465e10,_0x3e20bd)=>_0x465e10 in _0x2347d1?Mi(_0x2347d1,_0x465e10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e20bd}):_0x2347d1[_0x465e10]=_0x3e20bd,P=(_0x2e841d,_0x4ff776,_0x19410c)=>$i(_0x2e841d,typeof _0x4ff776!='symbol'?_0x4ff776+'':_0x4ff776,_0x19410c);import{createIdentifier as _0x49007d,Inject as _0x35f65b,Injector as _0x566e3e,Disposable as _0x90ab03,DisposableCollection as _0x2e4895,toDisposable as _0x1c9398,IConfigService as _0x27e728,ILogService as _0x271f6f,UserManagerService as _0x2be336,UniverInstanceType as _0x9daa1b,IUniverInstanceService as _0xb428b8,LocaleService as _0x1e63b0,Optional as _0x5d2991,RxDisposable as _0x47a8c1,Tools as _0x5425e2,Rectangle as _0x2c1d2a,ICommandService as _0x88164,JSONX as _0x4e3b4b,CommandType as _0x10b845,IPermissionService as _0xc2d263,IUndoRedoService as _0x4afcd7,sequenceExecute as _0x4fea97,Workbook as _0x544507,MentionType as _0x1cfd74,IAuthzIoService as _0x116dfa,isInternalEditorID as _0x3a6b79,LocalUndoRedoService as _0x49d0de,IContextService as _0x7e2d49,DependentOn as _0x2978ec,Plugin as _0xc4e0ca,mergeOverrideWithDependencies as _0x8861f7,IMentionIOService as _0x5aa981,registerDependencies as _0x31f46e,Quantity as _0x528e97,touchDependencies as _0x2823d4}from'@univerjs/core';import{Subject as _0x11d7f4,merge as _0x3a9312,of as _0x14b589,BehaviorSubject as _0x20c9c0,takeUntil as _0x571f93,ReplaySubject as _0x35391d,take as _0x3b0857,map as _0x56d51b,shareReplay as _0x520b10,firstValueFrom as _0x439434,concatMap as _0x340190}from'rxjs';import{map as _0x2e5f7e,take as _0x3e3007,filter as _0x3bb130,delay as _0x2a0af3,takeUntil as _0x43eda7}from'rxjs/operators';import{HTTPService as _0x5ef5e1,ISocketService as _0x4760b8,MergeInterceptorFactory as _0x190946,HTTPRequest as _0x1bca58,UniverNetworkPlugin as _0x599733,ThresholdInterceptorFactory as _0x1ef767}from'@univerjs/network';import{CollaborationEvent as _0x42fed0,parseChangesetToProtocol as _0xb928e4,ISnapshotServerService as _0x4e38b9,isTransformMutationsWithChangesetSuccess as _0x1bd448,ITransformService as _0xb221c0,mapDocumentTypeToUniverType as _0x5e1361,RevisionService as _0xf0d448,isTransformChangesetsSuccess as _0x26a578,CompressMutationService as _0x479f18,parseProtocolChangeset as _0x541850,SnapshotService as _0x56f29d,textEncoder as _0x270fb6,b64DecodeUnicode as _0x2cda99,isTransformMutationsWithChangesetFailure as _0x1f5171,UniverCollaborationPlugin as _0x7e288c}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x9085a9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3acdae}from'@univerjs/docs';import{SheetsSelectionsService as _0x3b079f,SetSelectionsOperation as _0xc9ec18,InsertSheetMutation as _0x26de4f,EmptyMutation as _0x423b68,WorkbookEditablePermission as _0x26155d,UnitObject as _0x18b4cf,defaultWorkbookPermissionPoints as _0x38a9ab,getAllWorkbookPermissionPoint as _0xfb5d6d,WorksheetProtectionRuleModel as _0x213c70,baseProtectionActions as _0x1395fc,getAllWorksheetPermissionPoint as _0xd1474,WorksheetProtectionPointModel as _0x4f34a9,defaultWorksheetPermissionPoint as _0xa1cfe2,getAllWorksheetPermissionPointByPointPanel as _0x32945b,RangeProtectionRuleModel as _0x1dd7d6,getAllRangePermissionPoint as _0x2b7418,UniverSheetsPlugin as _0x3f947a}from'@univerjs/sheets';import{ImageSourceType as _0x3adc7b,ImageUploadStatusType as _0x54c86d,IImageIoService as _0x3a9161}from'@univerjs/drawing';import{getGlobalObject as _0x226ae2}from'@univerjs-pro/license';const Nn=_0x2c2a28(0x2da),Pn=_0x2c2a28(0x333),Dn=_0x2c2a28(0x366),ho=_0x2c2a28(0x270),wn=0x7d0,Un=_0x2c2a28(0x37b),An=_0x2c2a28(0x228),xn=_0x2c2a28(0x42d),Ln=_0x2c2a28(0x37a),Mn=0x7530,Ei=_0x2c2a28(0x320),Ii=0x4e20,$n=0x4e20,Hn='RETRY_CONNECTING_MAX_COUNT',kn=0x3,_o=_0x2c2a28(0x1ca),lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x2c2a28(0x271),Fn=_0x2c2a28(0x374),Vn='/universer-api/oidc/authpage',uo=_0x2c2a28(0x200),fo=_0x2c2a28(0x40b);var Ti=(_0x3f5d85=>(_0x3f5d85[_0x3f5d85['UNDEFINED']=0x0]='UNDEFINED',_0x3f5d85[_0x3f5d85['OK']=0x1]='OK',_0x3f5d85[_0x3f5d85[_0x2c2a28(0x28f)]=0x2]=_0x2c2a28(0x28f),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x396)]=0x3]=_0x2c2a28(0x396),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x38e)]=0x4]=_0x2c2a28(0x38e),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x2e1)]=0x5]=_0x2c2a28(0x2e1),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x317)]=0x6]=_0x2c2a28(0x317),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x4c1)]=0x7]=_0x2c2a28(0x4c1),_0x3f5d85[_0x3f5d85['TOO_MANY_REQUESTS']=0x8]=_0x2c2a28(0x314),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x23c)]=0x9]=_0x2c2a28(0x23c),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x40e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f5d85[_0x3f5d85[_0x2c2a28(0x337)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f5d85[_0x3f5d85[_0x2c2a28(0x2ed)]=0x1772]=_0x2c2a28(0x2ed),_0x3f5d85[_0x3f5d85['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3f5d85[_0x3f5d85[_0x2c2a28(0x39f)]=0x1b59]='APPLY_REJECT',_0x3f5d85[_0x3f5d85[_0x2c2a28(0x1cc)]=0x1b5a]=_0x2c2a28(0x1cc),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x37f)]=0x1b5b]=_0x2c2a28(0x37f),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x387)]=0x1b5c]=_0x2c2a28(0x387),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x215)]=0x1b5d]=_0x2c2a28(0x215),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x3bd)]=0x1f41]=_0x2c2a28(0x3bd),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x2ef)]=0x2329]=_0x2c2a28(0x2ef),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x289)]=0x232a]=_0x2c2a28(0x289),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x454)]=0x232b]=_0x2c2a28(0x454),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x4d4)]=0x232c]=_0x2c2a28(0x4d4),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x342)]=0x232d]=_0x2c2a28(0x342),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x1d0)]=0x2711]=_0x2c2a28(0x1d0),_0x3f5d85[_0x3f5d85['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2c2a28(0x483),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x28d)]=0x2713]=_0x2c2a28(0x28d),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x2af)]=0x2714]=_0x2c2a28(0x2af),_0x3f5d85[_0x3f5d85[_0x2c2a28(0x486)]=-0x1]=_0x2c2a28(0x486),_0x3f5d85))(Ti||{}),Q=(_0x2f8448=>(_0x2f8448[_0x2f8448[_0x2c2a28(0x269)]=0x0]=_0x2c2a28(0x269),_0x2f8448[_0x2f8448['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2f8448[_0x2f8448['UNIVER_SHEET']=0x2]=_0x2c2a28(0x3b8),_0x2f8448[_0x2f8448['UNIVER_SLIDE']=0x3]=_0x2c2a28(0x4b8),_0x2f8448[_0x2f8448[_0x2c2a28(0x2fb)]=0x4]=_0x2c2a28(0x2fb),_0x2f8448[_0x2f8448[_0x2c2a28(0x486)]=-0x1]=_0x2c2a28(0x486),_0x2f8448))(Q||{}),F=(_0xbb9798=>(_0xbb9798[_0xbb9798[_0x2c2a28(0x37c)]=0x0]=_0x2c2a28(0x37c),_0xbb9798[_0xbb9798['HELLO']=0x1]='HELLO',_0xbb9798[_0xbb9798[_0x2c2a28(0x27e)]=0x2]=_0x2c2a28(0x27e),_0xbb9798[_0xbb9798[_0x2c2a28(0x4c4)]=0x3]=_0x2c2a28(0x4c4),_0xbb9798[_0xbb9798[_0x2c2a28(0x307)]=0x4]=_0x2c2a28(0x307),_0xbb9798[_0xbb9798[_0x2c2a28(0x422)]=0x5]='HEARTBEAT',_0xbb9798[_0xbb9798['RECV']=0x6]=_0x2c2a28(0x1fc),_0xbb9798[_0xbb9798[_0x2c2a28(0x486)]=-0x1]=_0x2c2a28(0x486),_0xbb9798))(F||{}),Ee=(_0xc5bc7d=>(_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x2b9)]=0x0]=_0x2c2a28(0x2b9),_0xc5bc7d[_0xc5bc7d['OK']=0x1]='OK',_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x351)]=0x2]=_0x2c2a28(0x351),_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x21b)]=0x3e9]='JOIN_ROOM_FULL',_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x457)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x2d3)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x31a)]=0x3ec]=_0x2c2a28(0x31a),_0xc5bc7d[_0xc5bc7d[_0x2c2a28(0x486)]=-0x1]='UNRECOGNIZED',_0xc5bc7d))(Ee||{}),Ci=(_0xd75ca9=>(_0xd75ca9[_0xd75ca9['Undefined']=0x0]=_0x2c2a28(0x4a8),_0xd75ca9[_0xd75ca9[_0x2c2a28(0x40a)]=0x1]=_0x2c2a28(0x40a),_0xd75ca9[_0xd75ca9['HttpExport']=0x2]=_0x2c2a28(0x37e),_0xd75ca9[_0xd75ca9[_0x2c2a28(0x281)]=0x3]=_0x2c2a28(0x281),_0xd75ca9[_0xd75ca9[_0x2c2a28(0x2dc)]=0x4]=_0x2c2a28(0x2dc),_0xd75ca9[_0xd75ca9[_0x2c2a28(0x486)]=-0x1]=_0x2c2a28(0x486),_0xd75ca9))(Ci||{});const Y='collaboration-client.config',Wn={};var re=(_0x4e3131=>(_0x4e3131['OTHER_CLIENT_EDITING']=_0x2c2a28(0x26a),_0x4e3131[_0x2c2a28(0x396)]='PERMISSION_DENIED',_0x4e3131[_0x2c2a28(0x2fa)]=_0x2c2a28(0x2fa),_0x4e3131['CLOSE_ROOM']=_0x2c2a28(0x259),_0x4e3131[_0x2c2a28(0x21a)]=_0x2c2a28(0x21a),_0x4e3131[_0x2c2a28(0x1ef)]=_0x2c2a28(0x1ef),_0x4e3131['SOCKET_FAILED']=_0x2c2a28(0x222),_0x4e3131['SUBMIT_CHANGESET_TIMEOUT']=_0x2c2a28(0x362),_0x4e3131))(re||{});class pe{constructor(){var _0x521fd0=_0x2c2a28;P(this,_0x521fd0(0x470),new _0x11d7f4()),P(this,'event$',this[_0x521fd0(0x470)][_0x521fd0(0x3db)]());}[_0x2c2a28(0x3ee)](_0x23fabc){var _0x5df2ac=_0x2c2a28;this[_0x5df2ac(0x470)][_0x5df2ac(0x2fd)](_0x23fabc);}}const Gn=_0x49007d(_0x2c2a28(0x237));function Kn(_0x32cc54){var _0x2d7e94=_0x2c2a28,_0x3aa65d,_0x20f254,_0x3c430f,_0x5cb5c9,_0x824b5a;const _0x4de50d=_0x32cc54[_0x2d7e94(0x263)],_0x438fcf=JSON[_0x2d7e94(0x1c6)](_0x4de50d);switch(_0x438fcf[_0x2d7e94(0x205)]){case F[_0x2d7e94(0x422)]:case F[_0x2d7e94(0x1d4)]:{const _0x485985=_0x438fcf[_0x2d7e94(0x443)];return{..._0x438fcf,'data':_0x485985,'cmd':_0x438fcf['cmd']};}case F['JOIN']:{const _0x1ddb7d=_0x438fcf[_0x2d7e94(0x290)];return{..._0x438fcf,'data':_0x1ddb7d,'cmd':_0x438fcf[_0x2d7e94(0x205)]};}case F[_0x2d7e94(0x1fc)]:{const _0x16b69c=_0x438fcf['collaMsg'];switch(_0x16b69c['eventID']){case _0x42fed0[_0x2d7e94(0x32c)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':(_0x3aa65d=_0x16b69c[_0x2d7e94(0x2e8)])==null?void 0x0:_0x3aa65d['cs']},'cmd':_0x438fcf['cmd']};case _0x42fed0[_0x2d7e94(0x4bd)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':(_0x20f254=_0x16b69c[_0x2d7e94(0x32e)])==null?void 0x0:_0x20f254['cs']},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x3ff)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':(_0x3c430f=_0x16b69c[_0x2d7e94(0x312)])==null?void 0x0:_0x3c430f['cs']},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x1e3)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':(_0x5cb5c9=_0x16b69c[_0x2d7e94(0x36e)])==null?void 0x0:_0x5cb5c9['cs']},'cmd':_0x438fcf['cmd']};case _0x42fed0['CHANGESET_SHOULD_RETRY']:return{..._0x438fcf,'data':{..._0x16b69c,'data':(_0x824b5a=_0x16b69c['csShouldRetryEvent'])==null?void 0x0:_0x824b5a['cs']},'cmd':_0x438fcf['cmd']};case _0x42fed0['UPDATE_CURSOR']:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x3ef)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x32b)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x338)]},'cmd':_0x438fcf['cmd']};case _0x42fed0[_0x2d7e94(0x26d)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x42e)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x3dd)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x3d0)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x40c)]:case _0x42fed0[_0x2d7e94(0x29c)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x390)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x209)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x3d0)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0['MSG_FOR_ERROR']:return{..._0x438fcf,'data':_0x16b69c,'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0['COMMENT_UPDATE']:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x479)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0[_0x2d7e94(0x435)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x3fe)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};case _0x42fed0['SHOULD_CLOSE_CONN']:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x213)]},'cmd':_0x438fcf['cmd']};case _0x42fed0[_0x2d7e94(0x276)]:return{..._0x438fcf,'data':{..._0x16b69c,'data':_0x16b69c[_0x2d7e94(0x444)]},'cmd':_0x438fcf[_0x2d7e94(0x205)]};default:return _0x438fcf;}}default:return _0x438fcf;}}function zn(_0x35e935){var _0x577d79=_0x2c2a28;switch(_0x35e935['cmd']){case F[_0x577d79(0x422)]:case F[_0x577d79(0x1d4)]:return JSON[_0x577d79(0x439)]({'cmd':_0x35e935[_0x577d79(0x205)],'routeKey':_0x35e935[_0x577d79(0x1d3)]});case F[_0x577d79(0x307)]:{let _0x2a4d7c;switch(_0x35e935['data'][_0x577d79(0x2a8)]){case _0x42fed0[_0x577d79(0x2bb)]:{_0x2a4d7c={'eventID':_0x42fed0['UPDATE_CURSOR'],'updateCursorEvent':_0x35e935[_0x577d79(0x263)][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x26d)]:{_0x2a4d7c={'eventID':_0x42fed0['USERS_LEAVE'],'leaveEvent':_0x35e935['data'][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x32b)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x32b)],'joinEvent':_0x35e935['data'][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x3dd)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x3dd)],'liveShareNewHost':_0x35e935[_0x577d79(0x263)][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x29c)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x29c)],'liveShareOperation':_0x35e935[_0x577d79(0x263)][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x209)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x209)],'liveShareTerminate':_0x35e935['data'][_0x577d79(0x263)]};break;}case _0x42fed0[_0x577d79(0x3c8)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x3c8)],'liveShareRequestHost':_0x35e935[_0x577d79(0x263)]['data']};break;}case _0x42fed0[_0x577d79(0x40c)]:{_0x2a4d7c={'eventID':_0x42fed0[_0x577d79(0x40c)]};break;}default:_0x2a4d7c={'eventID':_0x35e935[_0x577d79(0x263)]['eventID']};}return JSON[_0x577d79(0x439)]({'cmd':_0x35e935[_0x577d79(0x205)],'routeKey':_0x35e935[_0x577d79(0x1d3)],'collaMsg':_0x2a4d7c});}case F[_0x577d79(0x27e)]:return JSON[_0x577d79(0x439)]({'cmd':_0x35e935[_0x577d79(0x205)],'routeKey':_0x35e935[_0x577d79(0x1d3)],'joinReq':_0x35e935[_0x577d79(0x263)]});case F['LEAVE']:return JSON[_0x577d79(0x439)]({'cmd':_0x35e935['cmd'],'routeKey':_0x35e935['routeKey'],'leaveReq':_0x35e935[_0x577d79(0x263)]});default:throw new Error(_0x577d79(0x2a1));}}var Yn=Object[_0x2c2a28(0x295)],qn=Object[_0x2c2a28(0x3ea)],Jn=(_0x59e595,_0x478ea6,_0x31a12d,_0xe17848)=>{var _0x357296=_0x2c2a28;for(var _0x44fc14=_0xe17848>0x1?void 0x0:_0xe17848?qn(_0x478ea6,_0x31a12d):_0x478ea6,_0x27cb0a=_0x59e595[_0x357296(0x2d7)]-0x1,_0x47c86f;_0x27cb0a>=0x0;_0x27cb0a--)(_0x47c86f=_0x59e595[_0x27cb0a])&&(_0x44fc14=(_0xe17848?_0x47c86f(_0x478ea6,_0x31a12d,_0x44fc14):_0x47c86f(_0x44fc14))||_0x44fc14);return _0xe17848&&_0x44fc14&&Yn(_0x478ea6,_0x31a12d,_0x44fc14),_0x44fc14;},Ue=(_0x29faf8,_0x167121)=>(_0x204493,_0x419e6d)=>_0x167121(_0x204493,_0x419e6d,_0x29faf8);const bi=_0x49007d('univer-pro.collaboration-client-socket-service');function Xn(_0x3901be,_0x58fe22,_0x4b54c5){var _0x1cba9a=_0x2c2a28;return _0x3901be+'/'+_0x58fe22+'/unit/'+_0x4b54c5+_0x1cba9a(0x2b7);}let It=class extends _0x90ab03{constructor(_0x11cadd,_0x166797,_0x1356a4,_0x17f164,_0x268640){var _0x385cfa=_0x2c2a28;super(),this['_injector']=_0x11cadd,this[_0x385cfa(0x38a)]=_0x166797,this[_0x385cfa(0x4a2)]=_0x1356a4,this[_0x385cfa(0x4aa)]=_0x17f164,this[_0x385cfa(0x26b)]=_0x268640;}[_0x2c2a28(0x434)](_0xa4d8d3){var _0x4c10af=_0x2c2a28;const _0x59b929=this['_injector']['get'](_0x4760b8);if(!_0x59b929)throw new Error(_0x4c10af(0x4d5));const _0x9f6e7=_0x59b929[_0x4c10af(0x434)](_0xa4d8d3);if(!_0x9f6e7)throw new Error(_0x4c10af(0x4c9));const _0x23e20b=new _0x2e4895(),_0xbfe57d=new _0x11d7f4();_0x23e20b['add'](_0x9f6e7['close$'][_0x4c10af(0x203)](_0x53e469=>_0xbfe57d['next'](_0x53e469))),_0x23e20b[_0x4c10af(0x438)](_0x1c9398(()=>_0xbfe57d[_0x4c10af(0x3f5)]()));const _0xf04e80=new _0x11d7f4();_0x23e20b[_0x4c10af(0x438)](_0x9f6e7[_0x4c10af(0x22d)][_0x4c10af(0x203)](_0x34c4b5=>_0xf04e80[_0x4c10af(0x2fd)](_0x34c4b5))),_0x23e20b['add'](_0x1c9398(()=>_0xf04e80[_0x4c10af(0x3f5)]()));const _0x55e0a7=new _0x11d7f4();_0x23e20b[_0x4c10af(0x438)](_0x9f6e7[_0x4c10af(0x34c)][_0x4c10af(0x203)](_0x384b6e=>{var _0x3c1d80=_0x4c10af;const _0x5ec59e=Kn(_0x384b6e);_0x55e0a7[_0x3c1d80(0x2fd)](_0x5ec59e);})),_0x23e20b[_0x4c10af(0x438)](_0x1c9398(()=>_0x55e0a7['complete']()));let _0x1ee616;const _0x5902fa=()=>{var _0x59eedb=_0x4c10af;_0xf04e80[_0x59eedb(0x2fd)](new Event(_0x59eedb(0x418))),_0xbfe57d[_0x59eedb(0x2fd)](new CloseEvent('connection\x20error')),_0x1ee616[_0x59eedb(0x3d5)]();};return _0x1ee616={'memberID':'','close$':_0xbfe57d[_0x4c10af(0x3db)](),'error$':_0xf04e80[_0x4c10af(0x3db)](),'open$':_0x9f6e7['open$'],'message$':_0x55e0a7['asObservable'](),'send':_0x4cad0f=>{var _0x432b4f=_0x4c10af;if(_0x4cad0f[_0x432b4f(0x205)]===F[_0x432b4f(0x307)]){if(_0x4cad0f[_0x432b4f(0x263)]['eventID']===_0x42fed0[_0x432b4f(0x2cf)]){this['_submitChangeset'](_0x1ee616,_0x4cad0f['data'])[_0x432b4f(0x2bd)](_0x2e5723=>{var _0x1906c9=_0x432b4f;this[_0x1906c9(0x4aa)][_0x1906c9(0x425)](_0x2e5723),_0x5902fa();});return;}if(_0x4cad0f[_0x432b4f(0x263)][_0x432b4f(0x2a8)]===_0x42fed0['FETCH_MISSING']){const _0x4f8649=_0x4cad0f[_0x432b4f(0x263)];this[_0x432b4f(0x2e3)](_0x4f8649)[_0x432b4f(0x24e)](_0x382751=>{var _0x70e078=_0x432b4f;_0x55e0a7[_0x70e078(0x2fd)]({'cmd':F[_0x70e078(0x1fc)],'code':Ee['OK'],'routeKey':_0x4f8649[_0x70e078(0x263)]['unitID'],'routeType':'','data':{'eventID':_0x42fed0['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x382751}}});})[_0x432b4f(0x2bd)](_0x221045=>{var _0xd315f2=_0x432b4f;this[_0xd315f2(0x4aa)]['error'](_0x221045),_0x5902fa();});return;}}_0x9f6e7[_0x432b4f(0x1d7)](zn(_0x4cad0f));},'close':()=>{var _0x3cb0a5=_0x4c10af;_0x9f6e7[_0x3cb0a5(0x3d5)](),_0x23e20b[_0x3cb0a5(0x31d)]();}},_0x1ee616;}async[_0x2c2a28(0x353)](_0x6b653d,_0x5ceeab){var _0xf8294d=_0x2c2a28,_0x21255c,_0xf12286;const {unitType:_0x4ba927,unitID:_0x23d7d1,changeset:_0x399790}=_0x5ceeab[_0xf8294d(0x263)],_0x41c26a={'unitID':_0x23d7d1,'memberID':_0x6b653d[_0xf8294d(0x2c5)],'type':_0x4ba927,'changeset':_0xb928e4(_0x399790)},_0xca5992=this[_0xf8294d(0x4a2)][_0xf8294d(0x1e2)](jn),_0x2da34d=this['_configService'][_0xf8294d(0x1e2)](Y),_0x129e27=Xn((_0xf12286=(_0x21255c=_0x2da34d==null?void 0x0:_0x2da34d[_0xf8294d(0x2d2)])!=null?_0x21255c:_0xca5992)!=null?_0xf12286:Bn,_0x4ba927,_0x23d7d1);try{await this[_0xf8294d(0x38a)]['post'](_0x129e27,{'body':_0x41c26a});}catch(_0x54e557){throw this[_0xf8294d(0x4aa)][_0xf8294d(0x425)](_0xf8294d(0x383),'submit\x20changeset\x20error!'),_0x54e557;}}async[_0x2c2a28(0x2e3)](_0x569842){var _0x3f407b=_0x2c2a28;const {unitID:_0x109265,from:_0x34a04f,to:_0x147c21,unitType:_0x598061}=_0x569842[_0x3f407b(0x263)];return(await this['_snapshotServerService'][_0x3f407b(0x30d)]({'metadata':void 0x0},{'unitID':_0x109265,'type':_0x598061,'from':_0x34a04f,'to':_0x147c21}))['changesets'];}};It=Jn([Ue(0x0,_0x35f65b(_0x566e3e)),Ue(0x1,_0x35f65b(_0x5ef5e1)),Ue(0x2,_0x27e728),Ue(0x3,_0x271f6f),Ue(0x4,_0x4e38b9)],It);const Zn=_0x2c2a28(0x1df);function Qn(_0xc025db){var _0x45b8b6=_0x2c2a28;return JSON[_0x45b8b6(0x439)](_0xc025db)[_0x45b8b6(0x2d7)];}class Ri{constructor(){var _0x16fbab=_0x2c2a28;P(this,_0x16fbab(0x40d),new _0x11d7f4()),P(this,_0x16fbab(0x1f6),this[_0x16fbab(0x40d)][_0x16fbab(0x3db)]());}[_0x2c2a28(0x4b4)](_0x44e08a){var _0x583f69=_0x2c2a28;this[_0x583f69(0x40d)]['next'](_0x44e08a);}}var es=Object[_0x2c2a28(0x295)],ts=Object[_0x2c2a28(0x3ea)],is=(_0xc24664,_0x341dcf,_0x203ef9,_0x20d8a4)=>{for(var _0x1e0dfc=_0x20d8a4>0x1?void 0x0:_0x20d8a4?ts(_0x341dcf,_0x203ef9):_0x341dcf,_0x4fc33c=_0xc24664['length']-0x1,_0x2edf6b;_0x4fc33c>=0x0;_0x4fc33c--)(_0x2edf6b=_0xc24664[_0x4fc33c])&&(_0x1e0dfc=(_0x20d8a4?_0x2edf6b(_0x341dcf,_0x203ef9,_0x1e0dfc):_0x2edf6b(_0x1e0dfc))||_0x1e0dfc);return _0x20d8a4&&_0x1e0dfc&&es(_0x341dcf,_0x203ef9,_0x1e0dfc),_0x1e0dfc;},zt=(_0x4d2f3f,_0x426d88)=>(_0xd26ff1,_0x58512c)=>_0x426d88(_0xd26ff1,_0x58512c,_0x4d2f3f);let xe=class extends _0x90ab03{constructor(_0x1f4e2c,_0x5950c6){var _0x5a6ec1=_0x2c2a28;super(),P(this,_0x5a6ec1(0x48b),new Map()),P(this,_0x5a6ec1(0x2f8),new _0x11d7f4()),(this[_0x5a6ec1(0x23a)]=_0x1f4e2c,this[_0x5a6ec1(0x2c8)]=_0x5950c6,this['disposeWithMe'](_0x3a9312(this[_0x5a6ec1(0x23a)][_0x5a6ec1(0x2ce)](_0x9daa1b[_0x5a6ec1(0x3b8)])[_0x5a6ec1(0x48a)](_0x2e5f7e(_0x3adfe3=>_0x3adfe3[_0x5a6ec1(0x330)]())),this[_0x5a6ec1(0x23a)][_0x5a6ec1(0x2ce)](_0x9daa1b[_0x5a6ec1(0x475)])[_0x5a6ec1(0x48a)](_0x2e5f7e(_0x13427f=>_0x13427f[_0x5a6ec1(0x330)]())),this['_univerInstanceService'][_0x5a6ec1(0x2ce)](_0x9daa1b[_0x5a6ec1(0x4b8)])[_0x5a6ec1(0x48a)](_0x2e5f7e(_0x4d39da=>_0x4d39da[_0x5a6ec1(0x330)]())))['subscribe'](_0x6fa26b=>this['_removeRoom'](_0x6fa26b))));}[_0x2c2a28(0x38f)](_0x5d2a01){var _0x4543be=_0x2c2a28;return this[_0x4543be(0x48b)][_0x4543be(0x2df)](_0x5d2a01)?_0x14b589(this[_0x4543be(0x48b)][_0x4543be(0x49b)](_0x5d2a01)):this[_0x4543be(0x2f8)]['pipe'](_0x2e5f7e(_0x3b50c4=>{var _0x2fbf63=_0x4543be;if(_0x3b50c4===_0x5d2a01)return this[_0x2fbf63(0x48b)][_0x2fbf63(0x49b)](_0x3b50c4);}));}[_0x2c2a28(0x1e7)](_0x1a0ca8){var _0x505b06=_0x2c2a28;this[_0x505b06(0x2c8)][_0x505b06(0x1e7)](_0x1a0ca8);}[_0x2c2a28(0x347)](){var _0x134631=_0x2c2a28;return this[_0x134631(0x2c8)][_0x134631(0x347)]();}[_0x2c2a28(0x433)](_0xdd1feb,_0x40ed29){var _0x133c85=_0x2c2a28;let _0x37aa41=this[_0x133c85(0x48b)][_0x133c85(0x49b)](_0xdd1feb);_0x37aa41||(_0x37aa41=new ns(),this[_0x133c85(0x48b)][_0x133c85(0x408)](_0xdd1feb,_0x37aa41),this[_0x133c85(0x2f8)][_0x133c85(0x2fd)](_0xdd1feb)),_0x37aa41[_0x133c85(0x433)](_0x40ed29);}['removeMember'](_0x281d2c,_0x378af7){var _0x47caf3=_0x2c2a28;const _0x45a9dc=this[_0x47caf3(0x48b)][_0x47caf3(0x49b)](_0x281d2c);_0x45a9dc&&_0x45a9dc[_0x47caf3(0x375)](_0x378af7);}[_0x2c2a28(0x1f4)](_0x16702a){var _0x15e997=_0x2c2a28;return this[_0x15e997(0x48b)][_0x15e997(0x49b)](_0x16702a);}['getMember'](_0x303779,_0x2e7ab4){var _0xea9bac=_0x2c2a28;const _0x5adad7=this[_0xea9bac(0x48b)][_0xea9bac(0x49b)](_0x303779);if(_0x5adad7)return _0x5adad7[_0xea9bac(0x474)](_0x2e7ab4);}[_0x2c2a28(0x1e0)](_0x23cb5d){var _0x1d3ba5=_0x2c2a28;const _0xc3ddab=this[_0x1d3ba5(0x48b)]['get'](_0x23cb5d);_0xc3ddab&&(_0xc3ddab[_0x1d3ba5(0x31d)](),this['_roomMembers'][_0x1d3ba5(0x411)](_0x23cb5d));}['dispose'](){var _0x276e01=_0x2c2a28;this[_0x276e01(0x48b)][_0x276e01(0x458)](_0x4fe422=>_0x4fe422[_0x276e01(0x31d)]()),this['_roomMembers']['clear'](),this['_roomCreated$']['complete']();}};xe=is([zt(0x0,_0xb428b8),zt(0x1,_0x35f65b(_0x2be336))],xe);class ns extends _0x90ab03{constructor(){var _0x15bd35=_0x2c2a28;super(...arguments),P(this,_0x15bd35(0x216),new Map()),P(this,_0x15bd35(0x359),new _0x20c9c0(this[_0x15bd35(0x216)])),P(this,_0x15bd35(0x29e),this[_0x15bd35(0x359)][_0x15bd35(0x3db)]());}[_0x2c2a28(0x31d)](){var _0x58a8b0=_0x2c2a28;this[_0x58a8b0(0x216)][_0x58a8b0(0x38b)]();}[_0x2c2a28(0x433)](_0x4a7f44){var _0x20ea53=_0x2c2a28;this[_0x20ea53(0x216)][_0x20ea53(0x408)](_0x4a7f44['memberID'],_0x4a7f44),this[_0x20ea53(0x31e)]();}['removeMember'](_0x5a46da){var _0x156e32=_0x2c2a28;this[_0x156e32(0x216)][_0x156e32(0x411)](_0x5a46da);}[_0x2c2a28(0x474)](_0xf6e79a){return this['_members']['get'](_0xf6e79a);}[_0x2c2a28(0x372)](){var _0x2d592b=_0x2c2a28;return Array['from'](this['_members'][_0x2d592b(0x4a9)]());}[_0x2c2a28(0x31e)](){var _0xe3a821=_0x2c2a28;this[_0xe3a821(0x359)][_0xe3a821(0x2fd)](this[_0xe3a821(0x216)]);}}var ss=Object[_0x2c2a28(0x295)],rs=Object[_0x2c2a28(0x3ea)],os=(_0x35715f,_0x3ddb43,_0xb6b867,_0x1be57d)=>{var _0x3e5671=_0x2c2a28;for(var _0x5edaeb=_0x1be57d>0x1?void 0x0:_0x1be57d?rs(_0x3ddb43,_0xb6b867):_0x3ddb43,_0x1e2fab=_0x35715f[_0x3e5671(0x2d7)]-0x1,_0x2da271;_0x1e2fab>=0x0;_0x1e2fab--)(_0x2da271=_0x35715f[_0x1e2fab])&&(_0x5edaeb=(_0x1be57d?_0x2da271(_0x3ddb43,_0xb6b867,_0x5edaeb):_0x2da271(_0x5edaeb))||_0x5edaeb);return _0x1be57d&&_0x5edaeb&&ss(_0x3ddb43,_0xb6b867,_0x5edaeb),_0x5edaeb;},me=(_0x57b558,_0x1c7bd1)=>(_0xa68ad1,_0x1b2ecd)=>_0x1c7bd1(_0xa68ad1,_0x1b2ecd,_0x57b558),Te=(_0x24a73d=>(_0x24a73d[_0x24a73d[_0x2c2a28(0x436)]=0x0]='IDLE',_0x24a73d[_0x24a73d[_0x2c2a28(0x473)]=0x1]=_0x2c2a28(0x473),_0x24a73d[_0x24a73d[_0x2c2a28(0x402)]=0x2]='OFFLINE',_0x24a73d[_0x24a73d[_0x2c2a28(0x2e0)]=0x3]=_0x2c2a28(0x2e0),_0x24a73d))(Te||{});const Yt={[Ee['FAIL']]:_0x2c2a28(0x282),[Ee[_0x2c2a28(0x21b)]]:'session.room-full',[Ee[_0x2c2a28(0x457)]]:_0x2c2a28(0x2d6),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x2c2a28(0x398),[Ee[_0x2c2a28(0x31a)]]:'session.room-cnt-exceeds'};let Tt=class extends _0x47a8c1{constructor(_0x19f821,_0x8549cf,_0x4d1abe,_0x59b04b,_0x1b83ea,_0x9fd909,_0x167914,_0x54507d,_0x1be8c1){var _0x35c476=_0x2c2a28;super(),P(this,_0x35c476(0x28a),new _0x20c9c0(0x0)),P(this,_0x35c476(0x4d3),this[_0x35c476(0x28a)][_0x35c476(0x3db)]()),P(this,_0x35c476(0x470),new _0x11d7f4()),P(this,_0x35c476(0x2fc),this[_0x35c476(0x470)][_0x35c476(0x3db)]()),P(this,_0x35c476(0x2a4)),P(this,_0x35c476(0x4bb)),P(this,_0x35c476(0x400)),P(this,_0x35c476(0x456),!0x1),P(this,_0x35c476(0x1e8),null),(this[_0x35c476(0x2e2)]=_0x19f821,this[_0x35c476(0x4aa)]=_0x4d1abe,this['_configService']=_0x59b04b,this[_0x35c476(0x355)]=_0x1b83ea,this[_0x35c476(0x3f9)]=_0x9fd909,this[_0x35c476(0x44e)]=_0x167914,this['_collaborationUIEventService']=_0x54507d,this[_0x35c476(0x232)]=_0x1be8c1,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x8549cf[_0x35c476(0x48a)](_0x571f93(this[_0x35c476(0x292)]))[_0x35c476(0x203)](_0x378a78=>{var _0x4c4c2a=_0x35c476,_0x5eb06b;typeof _0x378a78>'u'||(this['_socket']=_0x378a78,_0x378a78?(this[_0x4c4c2a(0x1ce)](_0x378a78),this[_0x4c4c2a(0x4bb)]=_0x378a78['message$']['subscribe'](_0x3112d9=>{var _0x5803dd=_0x4c4c2a;_0x3112d9[_0x5803dd(0x1d3)]===this[_0x5803dd(0x2e2)]&&this[_0x5803dd(0x447)](_0x3112d9);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4c4c2a(0x28a)]['next'](0x2),(_0x5eb06b=this[_0x4c4c2a(0x4bb)])==null||_0x5eb06b[_0x4c4c2a(0x377)](),this[_0x4c4c2a(0x4bb)]=null));}));}get[_0x2c2a28(0x35a)](){var _0x7ce0e2=_0x2c2a28;return this[_0x7ce0e2(0x28a)][_0x7ce0e2(0x4b6)]();}[_0x2c2a28(0x344)](){var _0x8b9e78=_0x2c2a28,_0x59ec7a,_0x18a4be;return(_0x18a4be=(_0x59ec7a=this[_0x8b9e78(0x2a4)])==null?void 0x0:_0x59ec7a[_0x8b9e78(0x2c5)])!=null?_0x18a4be:null;}[_0x2c2a28(0x31d)](){var _0x10e50f=_0x2c2a28;super[_0x10e50f(0x31d)](),this[_0x10e50f(0x292)][_0x10e50f(0x2fd)](),this[_0x10e50f(0x292)][_0x10e50f(0x3f5)]();}['close'](){var _0x5f5b21=_0x2c2a28,_0x4d1367,_0x3fa478;this[_0x5f5b21(0x293)](),(_0x4d1367=this['_socket'])==null||_0x4d1367[_0x5f5b21(0x1d7)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x5f5b21(0x2e2)]}}),(_0x3fa478=this[_0x5f5b21(0x2a4)])==null||_0x3fa478[_0x5f5b21(0x3d5)](),this['_event$']['complete'](),this['_sessionStatus$']['complete'](),this[_0x5f5b21(0x31d)]();}[_0x2c2a28(0x447)](_0x89c6e4){var _0x207dd2=_0x2c2a28;_0x89c6e4[_0x207dd2(0x205)]===F[_0x207dd2(0x27e)]?this[_0x207dd2(0x490)](_0x89c6e4):_0x89c6e4[_0x207dd2(0x205)]===F[_0x207dd2(0x1fc)]&&this['_onRecvEvent'](_0x89c6e4);}[_0x2c2a28(0x1ce)](_0x1b5943){var _0xfc9c45=_0x2c2a28;this[_0xfc9c45(0x28a)][_0xfc9c45(0x2fd)](0x1),_0x1b5943['send']({'cmd':F[_0xfc9c45(0x27e)],'routeKey':this[_0xfc9c45(0x2e2)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0xafdae7){var _0xe3843f=_0x2c2a28,_0x37e0d5;if(_0xafdae7[_0xe3843f(0x22b)]in Yt){this['_collaborationUIEventService']['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0xafdae7[_0xe3843f(0x22b)]]}),this[_0xe3843f(0x28a)][_0xe3843f(0x2fd)](0x2);return;}this[_0xe3843f(0x28a)][_0xe3843f(0x2fd)](0x3);const _0x16c010=(_0x37e0d5=_0xafdae7[_0xe3843f(0x263)][_0xe3843f(0x464)][this[_0xe3843f(0x2e2)]])==null?void 0x0:_0x37e0d5[_0xe3843f(0x264)];_0x16c010&&_0x16c010[_0xe3843f(0x458)](_0x16a91f=>this[_0xe3843f(0x3f9)][_0xe3843f(0x433)](this[_0xe3843f(0x2e2)],_0x16a91f));}[_0x2c2a28(0x421)](_0x35726b){var _0x49054d=_0x2c2a28;try{const _0x2aa556=_0x35726b[_0x49054d(0x263)];switch(_0x2aa556[_0x49054d(0x2a8)]){case _0x42fed0[_0x49054d(0x32b)]:this[_0x49054d(0x43b)](_0x2aa556),this[_0x49054d(0x470)][_0x49054d(0x2fd)](_0x2aa556);break;case _0x42fed0['USERS_LEAVE']:this[_0x49054d(0x3f8)](_0x2aa556),this[_0x49054d(0x470)][_0x49054d(0x2fd)](_0x2aa556);break;case _0x42fed0[_0x49054d(0x4bd)]:case _0x42fed0[_0x49054d(0x493)]:this[_0x49054d(0x329)](),this[_0x49054d(0x394)](),this[_0x49054d(0x470)]['next'](_0x2aa556);break;case _0x42fed0[_0x49054d(0x3be)]:this[_0x49054d(0x4aa)][_0x49054d(0x425)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x49054d(0x439)](_0x2aa556)),this[_0x49054d(0x470)]['next'](_0x2aa556);break;case _0x42fed0[_0x49054d(0x296)]:this[_0x49054d(0x44e)][_0x49054d(0x4b4)](_0x2aa556['data']),this[_0x49054d(0x470)]['next'](_0x2aa556);break;default:this['_event$'][_0x49054d(0x2fd)](_0x2aa556);}}catch(_0x482e50){this[_0x49054d(0x4aa)][_0x49054d(0x425)](_0x482e50,_0x35726b);}}[_0x2c2a28(0x43b)](_0x2e623d){var _0x35b31a=_0x2c2a28;this[_0x35b31a(0x3f9)][_0x35b31a(0x433)](this[_0x35b31a(0x2e2)],_0x2e623d[_0x35b31a(0x263)]);}[_0x2c2a28(0x3f8)](_0x23ee7f){var _0x2a09b1=_0x2c2a28;this['_memberService'][_0x2a09b1(0x375)](this[_0x2a09b1(0x2e2)],_0x23ee7f[_0x2a09b1(0x263)][_0x2a09b1(0x2c5)]);}async[_0x2c2a28(0x1d7)](_0xc723d2,_0x350ef2){var _0x2e777a=_0x2c2a28;if(this['sessionStatus']!==0x3||!this[_0x2e777a(0x2a4)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xc723d2[_0x2e777a(0x2a8)]===_0x42fed0[_0x2e777a(0x2cf)]&&(this[_0x2e777a(0x1ed)](),this[_0x2e777a(0x340)](_0xc723d2)),this['_socket'][_0x2e777a(0x1d7)]({'cmd':F['INGEST'],'routeKey':_0x350ef2,'routeType':'','data':_0xc723d2});}catch(_0x1c3987){this[_0x2e777a(0x4aa)]['error'](_0x1c3987);}}[_0x2c2a28(0x1ed)](){var _0x573932=_0x2c2a28,_0x163bed;this[_0x573932(0x400)]=setTimeout(()=>{var _0x11409d=_0x573932;this[_0x11409d(0x400)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x11409d(0x362)]});},(_0x163bed=this['_configService'][_0x573932(0x1e2)](Ei))!=null?_0x163bed:Ii);}[_0x2c2a28(0x394)](){var _0x11b7bf=_0x2c2a28;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x11b7bf(0x400)]=null);}[_0x2c2a28(0x340)](_0x4bec45){var _0x3fd329=_0x2c2a28;if(!this['_shouldReportTelemetry'])return;const {data:_0x10cd9b}=_0x4bec45,{unitID:_0x258ae4,changeset:_0x28b469}=_0x10cd9b,{mutations:_0x2bb1e4,type:_0x3c8902}=_0x28b469;this[_0x3fd329(0x1e8)]={'unitId':_0x258ae4,'type':_0x3c8902,'startTime':performance[_0x3fd329(0x252)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x2bb1e4)};}[_0x2c2a28(0x329)](){var _0x24d524=_0x2c2a28;if(this[_0x24d524(0x456)]){if(!this[_0x24d524(0x1e8)]){this[_0x24d524(0x4aa)]['error']('[CollaborationSession]',_0x24d524(0x302));return;}this['_telemetryInfo'][_0x24d524(0x294)]=performance[_0x24d524(0x252)](),this[_0x24d524(0x1e8)][_0x24d524(0x3cc)]=this[_0x24d524(0x1e8)][_0x24d524(0x294)]-this[_0x24d524(0x1e8)][_0x24d524(0x46d)],this[_0x24d524(0x232)]['capture'](Zn,this['_telemetryInfo']),this[_0x24d524(0x1e8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2bb1b4=_0x2c2a28;this[_0x2bb1b4(0x1e8)]=null;}};Tt=os([me(0x2,_0x271f6f),me(0x3,_0x27e728),me(0x4,_0x35f65b(_0x1e63b0)),me(0x5,_0x35f65b(xe)),me(0x6,_0x35f65b(Ri)),me(0x7,_0x35f65b(pe)),me(0x8,_0x5d2991(_0x9085a9))],Tt);var as=Object[_0x2c2a28(0x295)],cs=Object[_0x2c2a28(0x3ea)],hs=(_0x66d359,_0x29fa7,_0x4aacae,_0xb35b61)=>{var _0x3d1789=_0x2c2a28;for(var _0x2752d9=_0xb35b61>0x1?void 0x0:_0xb35b61?cs(_0x29fa7,_0x4aacae):_0x29fa7,_0x56ee8f=_0x66d359[_0x3d1789(0x2d7)]-0x1,_0x4c6d32;_0x56ee8f>=0x0;_0x56ee8f--)(_0x4c6d32=_0x66d359[_0x56ee8f])&&(_0x2752d9=(_0xb35b61?_0x4c6d32(_0x29fa7,_0x4aacae,_0x2752d9):_0x4c6d32(_0x2752d9))||_0x2752d9);return _0xb35b61&&_0x2752d9&&as(_0x29fa7,_0x4aacae,_0x2752d9),_0x2752d9;},ge=(_0x112f34,_0x17bf1d)=>(_0x378a8e,_0x27016d)=>_0x17bf1d(_0x378a8e,_0x27016d,_0x112f34);let Le=class extends _0x90ab03{constructor(_0x381448,_0x4d38ca,_0xb62128,_0x7d5ffe,_0xb36607,_0x27adde,_0x19139b){var _0x53a602=_0x2c2a28;super(),P(this,_0x53a602(0x3d9),new _0x20c9c0(void 0x0)),P(this,_0x53a602(0x262),this['_socket$'][_0x53a602(0x3db)]()),P(this,_0x53a602(0x341),null),P(this,_0x53a602(0x423),new Map()),P(this,_0x53a602(0x334),new _0x20c9c0(Te[_0x53a602(0x436)])),P(this,_0x53a602(0x249),this['_status$']['asObservable']()),P(this,_0x53a602(0x2eb),!0x1),P(this,_0x53a602(0x382)),P(this,'_retryCount',0x0),P(this,_0x53a602(0x35f)),P(this,_0x53a602(0x3a3)),(this[_0x53a602(0x25c)]=_0x381448,this[_0x53a602(0x4aa)]=_0x4d38ca,this[_0x53a602(0x4a2)]=_0xb62128,this[_0x53a602(0x3e1)]=_0x7d5ffe,this['_httpService']=_0xb36607,this[_0x53a602(0x288)]=_0x27adde,this[_0x53a602(0x415)]=_0x19139b,this[_0x53a602(0x3e8)]());}get['_socket'](){var _0x473944=_0x2c2a28;return this['_socket$'][_0x473944(0x4b6)]();}[_0x2c2a28(0x3e8)](){var _0x4e5b65=_0x2c2a28;this[_0x4e5b65(0x415)]&&this[_0x4e5b65(0x2d5)](this[_0x4e5b65(0x415)]['online$'][_0x4e5b65(0x203)](_0x339ef5=>{var _0xccd69f=_0x4e5b65;_0x339ef5&&!this[_0xccd69f(0x2a4)]&&this[_0xccd69f(0x23e)](),_0x339ef5||this[_0xccd69f(0x243)]();}));}[_0x2c2a28(0x31d)](){var _0x3a7d07=_0x2c2a28;super[_0x3a7d07(0x31d)](),this[_0x3a7d07(0x423)]['forEach'](_0x56ae23=>_0x56ae23[_0x3a7d07(0x31d)]()),this[_0x3a7d07(0x423)][_0x3a7d07(0x38b)](),this[_0x3a7d07(0x334)]['complete']();}async[_0x2c2a28(0x2cd)](_0x358c13){var _0x1e05c0=_0x2c2a28;if(this[_0x1e05c0(0x423)][_0x1e05c0(0x2df)](_0x358c13))return this[_0x1e05c0(0x423)]['get'](_0x358c13);this[_0x1e05c0(0x1f7)]();const _0x47fdaf=this[_0x1e05c0(0x25c)][_0x1e05c0(0x430)](Tt,_0x358c13,this[_0x1e05c0(0x3d9)][_0x1e05c0(0x3db)]());return this['_sessions'][_0x1e05c0(0x408)](_0x358c13,_0x47fdaf),_0x47fdaf;}[_0x2c2a28(0x49f)](_0x2e30ac){var _0x202d0a=_0x2c2a28,_0x5d8f28;const _0x1c3530=this[_0x202d0a(0x423)][_0x202d0a(0x49b)](_0x2e30ac);_0x1c3530&&(this['_sessions'][_0x202d0a(0x411)](_0x2e30ac),_0x1c3530[_0x202d0a(0x3d5)]()),this[_0x202d0a(0x423)][_0x202d0a(0x284)]||(_0x5d8f28=this['_socket'])==null||_0x5d8f28[_0x202d0a(0x3d5)]();}['reconnect'](){var _0x2baf28=_0x2c2a28;this['_retryCount']=0x0,this[_0x2baf28(0x382)]!=null&&(clearTimeout(this[_0x2baf28(0x382)]),this[_0x2baf28(0x382)]=null),this['_tryReconnect']();}async[_0x2c2a28(0x3bf)](){var _0x359c7e=_0x2c2a28,_0x205056,_0x59dc95,_0x343e79;const _0x5f94ae=this[_0x359c7e(0x4a2)][_0x359c7e(0x1e2)](Y),_0x5e70c1=(_0x205056=_0x5f94ae==null?void 0x0:_0x5f94ae['wsSessionTicketUrl'])!=null?_0x205056:xn;return(_0x343e79=(_0x59dc95=(await this[_0x359c7e(0x28b)][_0x359c7e(0x49b)](_0x5e70c1,{'headers':{'Content-Type':_0x359c7e(0x244)}}))['body'])==null?void 0x0:_0x59dc95['ticket'])!=null?_0x343e79:'';}['_createSocketURL'](_0x115f7e){var _0xb1fefe=_0x2c2a28,_0x5e0c78,_0x576d0d;const _0x5654ff=this[_0xb1fefe(0x4a2)][_0xb1fefe(0x1e2)](Un),_0x5cb8c5=this[_0xb1fefe(0x4a2)]['getConfig'](Y),_0x415c20=(_0x576d0d=(_0x5e0c78=_0x5cb8c5==null?void 0x0:_0x5cb8c5[_0xb1fefe(0x30e)])!=null?_0x5e0c78:_0x5654ff)!=null?_0x576d0d:An,_0x733458=typeof window>'u'?new URL(_0x415c20):new URL(_0x415c20,window[_0xb1fefe(0x332)][_0xb1fefe(0x2b6)]);_0x733458[_0xb1fefe(0x2e7)][_0xb1fefe(0x408)]('sessionTicket',_0x115f7e);const _0x274949=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb1fefe(0x332)]['search']);return _0x274949[_0xb1fefe(0x49b)](_0xb1fefe(0x3c4))&&_0x733458[_0xb1fefe(0x2e7)][_0xb1fefe(0x408)](_0xb1fefe(0x3c4),_0x274949[_0xb1fefe(0x49b)]('runId')),_0x733458[_0xb1fefe(0x33a)]();}async[_0x2c2a28(0x25f)](){var _0x559662=_0x2c2a28;const _0x53106a=await this[_0x559662(0x3bf)](),_0x4a05dd=this[_0x559662(0x310)](_0x53106a),_0x210d7b=this[_0x559662(0x3e1)][_0x559662(0x434)](_0x4a05dd);return this['_candidateSocket']=_0x210d7b,_0x210d7b;}async[_0x2c2a28(0x1f7)](){var _0x5b9d33=_0x2c2a28,_0x167535,_0x47a715;try{const _0x59a1ba=(_0x47a715=(_0x167535=this[_0x5b9d33(0x2a4)])!=null?_0x167535:this[_0x5b9d33(0x341)])!=null?_0x47a715:await this[_0x5b9d33(0x25f)]();if(_0x59a1ba){const _0xb70bb9=_0x59a1ba[_0x5b9d33(0x1d7)];_0x59a1ba['send']=_0x5f1188=>(this[_0x5b9d33(0x274)](),_0xb70bb9[_0x5b9d33(0x4c0)](_0x59a1ba,[_0x5f1188])),_0x59a1ba[_0x5b9d33(0x34c)]['subscribe'](_0x13aa35=>this['_onMessage'](_0x59a1ba,_0x13aa35)),_0x59a1ba[_0x5b9d33(0x22d)][_0x5b9d33(0x48a)](_0x3e3007(0x1))['subscribe'](_0x440f57=>this['_logService'][_0x5b9d33(0x425)](_0x5b9d33(0x1d2),_0x440f57)),_0x59a1ba[_0x5b9d33(0x2bf)][_0x5b9d33(0x48a)](_0x3e3007(0x1))[_0x5b9d33(0x203)](()=>{this['_onConnectionOpen'](_0x59a1ba);}),_0x59a1ba[_0x5b9d33(0x37d)]['pipe'](_0x3e3007(0x1))[_0x5b9d33(0x203)](_0x30ad60=>{var _0x36d091=_0x5b9d33;this[_0x36d091(0x4aa)][_0x36d091(0x253)]('[CollaborationSessionService]',_0x36d091(0x2f4),_0x30ad60),this[_0x36d091(0x481)]();});}}catch(_0x1e770d){this['_logService']['error'](_0x1e770d),this[_0x5b9d33(0x481)]();}}[_0x2c2a28(0x45f)](_0xbc6f61){var _0x360e99=_0x2c2a28;this[_0x360e99(0x4aa)][_0x360e99(0x253)](_0x360e99(0x451),_0x360e99(0x2ff)),_0xbc6f61[_0x360e99(0x1d7)]({'cmd':F[_0x360e99(0x1d4)]}),this[_0x360e99(0x274)]();}[_0x2c2a28(0x243)](){var _0x13b81b=_0x2c2a28;this[_0x13b81b(0x2eb)]=!0x1,this['_candidateSocket']=null,this[_0x13b81b(0x334)][_0x13b81b(0x2fd)](Te[_0x13b81b(0x402)]),this[_0x13b81b(0x3d9)][_0x13b81b(0x2fd)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2c2a28(0x481)](){var _0x29371b=_0x2c2a28,_0x1c3817;this[_0x29371b(0x243)](),this[_0x29371b(0x2b3)]<((_0x1c3817=this[_0x29371b(0x4a2)][_0x29371b(0x1e2)](Hn))!=null?_0x1c3817:kn)?(this[_0x29371b(0x288)][_0x29371b(0x3ee)]({'id':re[_0x29371b(0x1ef)]}),this['_tryReconnect']()):this[_0x29371b(0x288)]['emitEvent']({'id':re[_0x29371b(0x222)]});}['_tryReconnect'](){var _0x5192c6=_0x2c2a28,_0x273816;const _0x54bbbf=this[_0x5192c6(0x2b3)],_0x5f57f3=this['_configService'][_0x5192c6(0x1e2)](Y),_0x10bb0f=_0x54bbbf===0x0?0x0:((_0x273816=_0x5f57f3==null?void 0x0:_0x5f57f3['retryConnectingInterval'])!=null?_0x273816:$n)*0x2**_0x54bbbf;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3b0776=_0x5192c6;clearTimeout(this[_0x3b0776(0x382)]),this['_retryConnectingTimer']=null,this[_0x3b0776(0x1f7)]();},_0x10bb0f),this[_0x5192c6(0x2b3)]+=0x1;}['_onMessage'](_0x1c2f38,_0x5efa90){var _0x5cec6a=_0x2c2a28;const {cmd:_0x461bae}=_0x5efa90;_0x461bae===F['HELLO']&&!this[_0x5cec6a(0x2eb)]&&(_0x1c2f38[_0x5cec6a(0x2c5)]=_0x5efa90[_0x5cec6a(0x263)]['memberID'],this[_0x5cec6a(0x3d9)][_0x5cec6a(0x2fd)](_0x1c2f38),this[_0x5cec6a(0x334)][_0x5cec6a(0x2fd)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0x5cec6a(0x341)]=null),_0x461bae===F[_0x5cec6a(0x422)]&&this[_0x5cec6a(0x1f0)](),this[_0x5cec6a(0x274)]();}[_0x2c2a28(0x274)](){var _0x163d20=_0x2c2a28,_0x58e65a;this[_0x163d20(0x47f)](),this[_0x163d20(0x35f)]=setTimeout(()=>this[_0x163d20(0x4b1)](),(_0x58e65a=this['_configService'][_0x163d20(0x1e2)](Ln))!=null?_0x58e65a:Mn);}[_0x2c2a28(0x4b1)](){var _0xbb103d=_0x2c2a28;this[_0xbb103d(0x2a4)]['send']({'cmd':F[_0xbb103d(0x422)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0xa7fe65=_0x2c2a28,_0x34cb06;this[_0xa7fe65(0x3a3)]=setTimeout(()=>this[_0xa7fe65(0x481)](),(_0x34cb06=this[_0xa7fe65(0x4a2)][_0xa7fe65(0x1e2)](Ei))!=null?_0x34cb06:Ii);}[_0x2c2a28(0x47f)](){var _0x5f50ae=_0x2c2a28;this[_0x5f50ae(0x35f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5f50ae(0x35f)]=null);}[_0x2c2a28(0x1f0)](){var _0x305aeb=_0x2c2a28;this[_0x305aeb(0x3a3)]!=null&&(clearTimeout(this[_0x305aeb(0x3a3)]),this[_0x305aeb(0x3a3)]=null);}};Le=hs([ge(0x0,_0x35f65b(_0x566e3e)),ge(0x1,_0x271f6f),ge(0x2,_0x27e728),ge(0x3,bi),ge(0x4,_0x35f65b(_0x5ef5e1)),ge(0x5,_0x35f65b(pe)),ge(0x6,_0x5d2991(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x2c2a28(0x3ad)]((n+0x100)[_0x2c2a28(0x33a)](0x10)['slice'](0x1));function _s(_0x3ce9b1,_0x4fc60a=0x0){var _0x205a2e=_0x2c2a28;return(V[_0x3ce9b1[_0x4fc60a+0x0]]+V[_0x3ce9b1[_0x4fc60a+0x1]]+V[_0x3ce9b1[_0x4fc60a+0x2]]+V[_0x3ce9b1[_0x4fc60a+0x3]]+'-'+V[_0x3ce9b1[_0x4fc60a+0x4]]+V[_0x3ce9b1[_0x4fc60a+0x5]]+'-'+V[_0x3ce9b1[_0x4fc60a+0x6]]+V[_0x3ce9b1[_0x4fc60a+0x7]]+'-'+V[_0x3ce9b1[_0x4fc60a+0x8]]+V[_0x3ce9b1[_0x4fc60a+0x9]]+'-'+V[_0x3ce9b1[_0x4fc60a+0xa]]+V[_0x3ce9b1[_0x4fc60a+0xb]]+V[_0x3ce9b1[_0x4fc60a+0xc]]+V[_0x3ce9b1[_0x4fc60a+0xd]]+V[_0x3ce9b1[_0x4fc60a+0xe]]+V[_0x3ce9b1[_0x4fc60a+0xf]])[_0x205a2e(0x2b4)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x7702d8=_0x2c2a28;if(!dt){if(typeof crypto>'u'||!crypto[_0x7702d8(0x3a0)])throw new Error(_0x7702d8(0x208));dt=crypto[_0x7702d8(0x3a0)][_0x7702d8(0x491)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x2c2a28(0x225)]&&crypto[_0x2c2a28(0x225)][_0x2c2a28(0x491)](crypto),qt={'randomUUID':ds};function fs(_0x12bc6e,_0x3063fc,_0x56a3d2){var _0x29a480=_0x2c2a28;if(qt[_0x29a480(0x225)]&&!_0x3063fc&&!_0x12bc6e)return qt[_0x29a480(0x225)]();_0x12bc6e=_0x12bc6e||{};const _0x3abb4b=_0x12bc6e[_0x29a480(0x420)]||(_0x12bc6e[_0x29a480(0x48c)]||us)();return _0x3abb4b[0x6]=_0x3abb4b[0x6]&0xf|0x40,_0x3abb4b[0x8]=_0x3abb4b[0x8]&0x3f|0x80,_s(_0x3abb4b);}const X=_0x49007d('collaboration-client.local-cache-service');function vo(_0x4bde87){var _0xb13b01=_0x2c2a28;return _0xb13b01(0x34b)+_0x4bde87;}var vs=Object[_0x2c2a28(0x295)],ps=Object['getOwnPropertyDescriptor'],ms=(_0x2c6b98,_0x10c072,_0x1af96e,_0x43b1a0)=>{var _0x151fa2=_0x2c2a28;for(var _0xf0c9da=_0x43b1a0>0x1?void 0x0:_0x43b1a0?ps(_0x10c072,_0x1af96e):_0x10c072,_0x574429=_0x2c6b98[_0x151fa2(0x2d7)]-0x1,_0x11b0d1;_0x574429>=0x0;_0x574429--)(_0x11b0d1=_0x2c6b98[_0x574429])&&(_0xf0c9da=(_0x43b1a0?_0x11b0d1(_0x10c072,_0x1af96e,_0xf0c9da):_0x11b0d1(_0xf0c9da))||_0xf0c9da);return _0x43b1a0&&_0xf0c9da&&vs(_0x10c072,_0x1af96e,_0xf0c9da),_0xf0c9da;},ft=(_0x11ffd2,_0x3ec116)=>(_0x3d7fee,_0x4e96f7)=>_0x3ec116(_0x3d7fee,_0x4e96f7,_0x11ffd2);function gs(_0x4fbe87){var _0x4db461=_0x2c2a28;const {unitID:_0x2dfa33,mutations:_0x32026d}=_0x4fbe87;return{'unitId':_0x2dfa33,'subUnitId':_0x32026d[0x0]['params'][_0x4db461(0x23b)]};}let nt=class{constructor(_0x54214c,_0x507c07,_0xe8d03e){var _0x231477=_0x2c2a28;this[_0x231477(0x25c)]=_0x54214c,this[_0x231477(0x41b)]=_0x507c07,this[_0x231477(0x29f)]=_0xe8d03e;}[_0x2c2a28(0x2d8)](_0x16796a){var _0x41652d=_0x2c2a28,_0xd974a4,_0x366337,_0xa92e02,_0x308c8f;const _0x32274f=this[_0x41652d(0x25c)]['get'](_0x3b079f),{unitId:_0x402c0b,subUnitId:_0x3facdf}=gs(_0x16796a),_0x3dbabf=_0x32274f==null?void 0x0:_0x32274f['getWorkbookSelections'](_0x402c0b)[_0x41652d(0x4ae)](),_0x2df423=(_0x366337=(_0xd974a4=this[_0x41652d(0x29f)][_0x41652d(0x235)](_0x402c0b))==null?void 0x0:_0xd974a4[_0x41652d(0x29b)]())==null?void 0x0:_0x366337[_0x41652d(0x2be)]();if(_0x3dbabf[_0x41652d(0x2d7)]===0x0||!_0x402c0b||!_0x3facdf)return;const _0x3bf7c1=[{'id':_0xc9ec18['id'],'params':{'unitId':_0x402c0b,'subUnitId':_0x2df423,'selections':_0x5425e2[_0x41652d(0x247)](_0x3dbabf)}}],_0x315229=this[_0x41652d(0x41b)][_0x41652d(0x265)](_0x16796a,_0x3bf7c1);if(!_0x1bd448(_0x315229))throw _0x315229[_0x41652d(0x425)];const _0x3b1760=(_0x308c8f=(_0xa92e02=_0x315229[_0x41652d(0x2e9)][0x0])==null?void 0x0:_0xa92e02[_0x41652d(0x1ee)])==null?void 0x0:_0x308c8f[_0x41652d(0x2ec)];if(Array[_0x41652d(0x2d0)](_0x3b1760)&&_0x3b1760[_0x41652d(0x2d7)]){if(_0x3b1760['length']===_0x3bf7c1[0x0]['params'][_0x41652d(0x2ec)][_0x41652d(0x2d7)]&&_0x3b1760['every']((_0x361e25,_0x2388b6)=>_0x2c1d2a['equals'](_0x361e25['range'],_0x3bf7c1[0x0][_0x41652d(0x1ee)][_0x41652d(0x2ec)][_0x2388b6][_0x41652d(0x234)])))return;this[_0x41652d(0x25c)][_0x41652d(0x49b)](_0x88164)[_0x41652d(0x3d1)](_0xc9ec18['id'],{'unitId':_0x402c0b,'subUnitId':_0x2df423,'selections':_0x3b1760});}}};nt=ms([ft(0x0,_0x35f65b(_0x566e3e)),ft(0x1,_0xb221c0),ft(0x2,_0xb428b8)],nt);const _t=_0x49007d('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x5a2a4d=>(_0x5a2a4d[_0x5a2a4d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2c2a28(0x204),_0x5a2a4d[_0x5a2a4d[_0x2c2a28(0x2db)]=0x1]='OTHER_CLIENTS_EDITING',_0x5a2a4d))(yi||{});const Ss=new Set([_0x26de4f['id']]);function Jt(_0x4d849c,_0x25aa03,_0x200e78,_0x2e7ed0,_0x4fe416){var _0x167564=_0x2c2a28,_0x4385a2,_0x14c83a,_0x568ffe,_0x53ae63;const _0x56f812=[];for(const _0x157457 of _0x4d849c)if(Ss[_0x167564(0x2df)](_0x157457['id'])){if(_0x56f812[_0x167564(0x2d7)]>0x0)break;_0x56f812[_0x167564(0x3ad)](_0x157457);break;}else _0x56f812[_0x167564(0x3ad)](_0x157457);const _0x332ba9=(_0x14c83a=(_0x4385a2=_0x4fe416['getCurrentUser']())==null?void 0x0:_0x4385a2[_0x167564(0x449)])!=null?_0x14c83a:_0x167564(0x26e),_0x3b497b=(_0x53ae63=(_0x568ffe=_0x4fe416[_0x167564(0x347)]())==null?void 0x0:_0x568ffe[_0x167564(0x2c5)])!=null?_0x53ae63:_0x167564(0x26e);return{'changeset':{'unitID':_0x25aa03,'type':_0x5e1361(_0x200e78[_0x167564(0x220)](_0x25aa03)),'baseRev':_0x2e7ed0[_0x167564(0x495)](_0x25aa03),'revision':0x0,'userID':_0x332ba9,'memberID':_0x3b497b,'mutations':_0x56f812},'pendingMutations':_0x4d849c[_0x167564(0x28c)](_0x56f812[_0x167564(0x2d7)])};}function Es(_0x19c580,_0x2e97e5,_0x11a97b,_0x33323d,_0x4bd97c){var _0x384ac4=_0x2c2a28,_0x5cef56,_0x81c40d,_0xe3b4fc,_0x51361c;const _0x18965f=[_0x19c580[_0x384ac4(0x3f2)]((_0xbd5460,_0x4e6d8b)=>{var _0x4cc724=_0x384ac4,_0x5a77ed;const {id:_0x466aab}=_0xbd5460,{id:_0x54e85b,type:_0x31fbe4}=_0x4e6d8b,_0x2f17fb=(_0x5a77ed=_0xbd5460[_0x4cc724(0x1ee)])!=null?_0x5a77ed:{'actions':null},_0x3afc8f=_0x4e6d8b[_0x4cc724(0x1ee)];if(_0x466aab&&_0x466aab!==_0x54e85b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x466aab+_0x4cc724(0x2f7)+_0x54e85b+'.');return{..._0xbd5460,'id':_0x54e85b,'type':_0x31fbe4,'params':{'unitId':_0x3afc8f[_0x4cc724(0x36c)],'textRanges':_0x3afc8f[_0x4cc724(0x4d0)],'actions':_0x4e3b4b[_0x4cc724(0x2b8)](_0x2f17fb[_0x4cc724(0x4d2)],_0x3afc8f['actions'])}};},{})],_0x290b38=(_0x81c40d=(_0x5cef56=_0x4bd97c[_0x384ac4(0x347)]())==null?void 0x0:_0x5cef56['userID'])!=null?_0x81c40d:'unknown',_0x357b92=(_0x51361c=(_0xe3b4fc=_0x4bd97c[_0x384ac4(0x347)]())==null?void 0x0:_0xe3b4fc[_0x384ac4(0x2c5)])!=null?_0x51361c:_0x384ac4(0x26e);return{'changeset':{'unitID':_0x2e97e5,'type':_0x5e1361(_0x11a97b[_0x384ac4(0x220)](_0x2e97e5)),'baseRev':_0x33323d[_0x384ac4(0x495)](_0x2e97e5),'revision':0x0,'userID':_0x290b38,'memberID':_0x357b92,'mutations':_0x18965f},'pendingMutations':[]};}function Oi(_0x207dc5,_0x5dca86){var _0x53fed6=_0x2c2a28;const _0x3a6882=new _0x35391d(0x1);return setTimeout(()=>_0x3a6882[_0x53fed6(0x2fd)](_0x5dca86),_0x207dc5),_0x3a6882[_0x53fed6(0x3db)]()[_0x53fed6(0x48a)](_0x3b0857(0x1));}const Is={'id':_0x423b68['id'],'type':_0x10b845['MUTATION'],'params':{}};var Ts=Object[_0x2c2a28(0x295)],Cs=Object[_0x2c2a28(0x3ea)],be=(_0x88cf76,_0x496ff4,_0x301af0,_0x1728fb)=>{var _0x3710cd=_0x2c2a28;for(var _0x1da561=_0x1728fb>0x1?void 0x0:_0x1728fb?Cs(_0x496ff4,_0x301af0):_0x496ff4,_0x2082c2=_0x88cf76[_0x3710cd(0x2d7)]-0x1,_0x47a537;_0x2082c2>=0x0;_0x2082c2--)(_0x47a537=_0x88cf76[_0x2082c2])&&(_0x1da561=(_0x1728fb?_0x47a537(_0x496ff4,_0x301af0,_0x1da561):_0x47a537(_0x1da561))||_0x1da561);return _0x1728fb&&_0x1da561&&Ts(_0x496ff4,_0x301af0,_0x1da561),_0x1da561;},A=(_0x2d8ad3,_0x1b234b)=>(_0x23d908,_0x43fb67)=>_0x1b234b(_0x23d908,_0x43fb67,_0x2d8ad3),Ni=(_0x114ee0=>(_0x114ee0[_0x2c2a28(0x2a2)]='not_collab',_0x114ee0[_0x2c2a28(0x427)]=_0x2c2a28(0x305),_0x114ee0[_0x2c2a28(0x2f9)]=_0x2c2a28(0x279),_0x114ee0[_0x2c2a28(0x1d8)]=_0x2c2a28(0x250),_0x114ee0['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x114ee0[_0x2c2a28(0x477)]='fetch_missing',_0x114ee0[_0x2c2a28(0x2fa)]=_0x2c2a28(0x242),_0x114ee0[_0x2c2a28(0x402)]=_0x2c2a28(0x42c),_0x114ee0))(Ni||{});const Pi=0xea60;class Re{constructor(_0x14acb4,_0x318c71,_0x22c348,_0x42c99a,_0x29915a,_0x43a2d8,_0x1556fd,_0x37aba2,_0x3fe871){var _0x5ac298=_0x2c2a28;P(this,_0x5ac298(0x1cd),null),P(this,_0x5ac298(0x1e5),[]),(this['unitID']=_0x14acb4,this[_0x5ac298(0x339)]=_0x318c71,this[_0x5ac298(0x348)]=_0x29915a,this[_0x5ac298(0x33c)]=_0x43a2d8,this[_0x5ac298(0x391)]=_0x1556fd,this[_0x5ac298(0x4a5)]=_0x37aba2,this[_0x5ac298(0x392)]=_0x3fe871,this[_0x5ac298(0x1cd)]=_0x22c348,this['_pendingMutations']=_0x42c99a);}[_0x2c2a28(0x350)](_0x2ad32b){var _0x1c8d86=_0x2c2a28;const _0xa21113=this['_revisionService'][_0x1c8d86(0x495)](this[_0x1c8d86(0x1d5)]);return _0x2ad32b[_0x1c8d86(0x428)]>_0xa21113+0x1?(this['_handler'][_0x1c8d86(0x300)]({'from':_0xa21113,'to':_0x2ad32b[_0x1c8d86(0x428)]-0x1}),!0x0):!0x1;}[_0x2c2a28(0x299)](_0x11d9b2){var _0x49649a=_0x2c2a28;this[_0x49649a(0x391)][_0x49649a(0x34e)](this[_0x49649a(0x1d5)],_0x11d9b2);}[_0x2c2a28(0x48f)](_0x529ec3){var _0x22d9d5=_0x2c2a28,_0x1a2ae3,_0x4a687d;(_0x4a687d=(_0x1a2ae3=this[_0x22d9d5(0x348)])[_0x22d9d5(0x1ff)])==null||_0x4a687d[_0x22d9d5(0x424)](_0x1a2ae3,_0x529ec3);}[_0x2c2a28(0x29d)](_0x550cfb){var _0x59e87e=_0x2c2a28,_0x9da442,_0x30dc7b;return(_0x30dc7b=(_0x9da442=this[_0x59e87e(0x348)])[_0x59e87e(0x22e)])==null?void 0x0:_0x30dc7b[_0x59e87e(0x424)](_0x9da442,_0x550cfb);}[_0x2c2a28(0x328)](_0x1e57bb){var _0x4a275f=_0x2c2a28,_0x2a29ee,_0x327c3e;return(_0x327c3e=(_0x2a29ee=this[_0x4a275f(0x348)])[_0x4a275f(0x45b)])==null?void 0x0:_0x327c3e[_0x4a275f(0x424)](_0x2a29ee,_0x1e57bb);}[_0x2c2a28(0x285)](_0x4383f6){var _0x2ee384=_0x2c2a28,_0x3374ba,_0x233d11,_0x5566b5;return(_0x5566b5=(_0x233d11=(_0x3374ba=this[_0x2ee384(0x348)])[_0x2ee384(0x485)])==null?void 0x0:_0x233d11['call'](_0x3374ba,_0x4383f6))!=null?_0x5566b5:_0x4383f6;}[_0x2c2a28(0x2de)](_0x259c77){var _0x4f2711=_0x2c2a28,_0x2ee336,_0x22fa92,_0xd1c2f7;return(_0xd1c2f7=(_0x22fa92=(_0x2ee336=this[_0x4f2711(0x348)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x22fa92[_0x4f2711(0x424)](_0x2ee336,_0x259c77))!=null?_0xd1c2f7:_0x259c77;}[_0x2c2a28(0x267)](_0x5a79d9){var _0x1b8e7e=_0x2c2a28,_0x17054a,_0x5d59de;if(this[_0x1b8e7e(0x339)]===Q[_0x1b8e7e(0x475)]){const {unitID:_0x5d7444,mutations:_0x2f1ed2,memberID:_0x15c568}=_0x5a79d9,_0x5bd2fc=_0x2f1ed2[0x0][_0x1b8e7e(0x1ee)]['textRanges'];Array['isArray'](_0x5bd2fc)&&_0x5bd2fc[_0x1b8e7e(0x2d7)]>0x0&&((_0x5d59de=(_0x17054a=this[_0x1b8e7e(0x348)])[_0x1b8e7e(0x30c)])==null||_0x5d59de[_0x1b8e7e(0x424)](_0x17054a,{'unitID':_0x5d7444,'memberID':_0x15c568,'textRanges':_0x5bd2fc}));}}[_0x2c2a28(0x379)](){var _0x1fc4b8=_0x2c2a28,_0x24b1d0;(_0x24b1d0=this[_0x1fc4b8(0x392)])==null||_0x24b1d0[_0x1fc4b8(0x364)](this['unitID'],this[_0x1fc4b8(0x339)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x30c7b7=_0x2c2a28;return this[_0x30c7b7(0x4a5)][_0x30c7b7(0x495)](this[_0x30c7b7(0x1d5)]);}[_0x2c2a28(0x33e)](){var _0x47e6fd=_0x2c2a28;this['_revisionService'][_0x47e6fd(0x3e6)](this['unitID']);}[_0x2c2a28(0x277)](_0x46e3e4){var _0x42c862=_0x2c2a28,_0x2d9213;let _0x11c6fd=this['_transformRemoteChangesetByIMECache'](_0x46e3e4);_0x11c6fd=this[_0x42c862(0x2de)](_0x11c6fd);const _0x15088b=_0x4fea97(_0x11c6fd[_0x42c862(0x45c)],this[_0x42c862(0x33c)],{'fromCollab':!0x0});if(!_0x15088b[_0x42c862(0x226)])throw _0x15088b[_0x42c862(0x425)]instanceof Error?_0x15088b[_0x42c862(0x425)]:new Error((_0x2d9213=_0x15088b[_0x42c862(0x425)])!=null?_0x2d9213:_0x42c862(0x4a3));this[_0x42c862(0x29d)](_0x11c6fd),this[_0x42c862(0x328)](_0x11c6fd),this[_0x42c862(0x299)](_0x46e3e4),this[_0x42c862(0x48f)](_0x11c6fd),this[_0x42c862(0x267)](_0x11c6fd),this[_0x42c862(0x33e)]();}}let Pe=class extends Re{constructor(_0x4ea168,_0x46e3d2,_0x5172a4,_0x47251b,_0x3629eb,_0x110abb,_0x555c20,_0xcfb07b,_0x3a9d37,_0x40fdcd){var _0x24bf9d=_0x2c2a28;super(_0x4ea168,_0x46e3d2,null,[],_0x5172a4,_0x555c20,_0x110abb,_0x47251b,_0x40fdcd),P(this,_0x24bf9d(0x4c3),_0x24bf9d(0x305)),(this[_0x24bf9d(0x25c)]=_0x3629eb,this[_0x24bf9d(0x4aa)]=_0xcfb07b,this['_transformService']=_0x3a9d37,this[_0x24bf9d(0x21f)]=_0x40fdcd);}['appendMutation'](_0x123127){var _0x2ee941=_0x2c2a28;const _0x4000f1=this[_0x2ee941(0x25c)][_0x2ee941(0x430)](oe,this[_0x2ee941(0x1d5)],this['type'],[_0x123127],this['_handler']);return _0x4000f1[_0x2ee941(0x27b)](),_0x4000f1[_0x2ee941(0x379)](),_0x4000f1;}[_0x2c2a28(0x448)](_0x3af085){var _0x1a0b01=_0x2c2a28;if(this[_0x1a0b01(0x350)](_0x3af085))return this[_0x1a0b01(0x25c)][_0x1a0b01(0x430)](te,this['unitID'],this[_0x1a0b01(0x339)],null,[],null,[_0x3af085],this[_0x1a0b01(0x348)]);try{const _0x21c175=this['_transformService'][_0x1a0b01(0x265)](_0x3af085,[Is]);if(_0x1bd448(_0x21c175)){const {c1Prime:_0x4553b4}=_0x21c175;return this['_executeRemoteChangeset'](_0x4553b4),this;}throw _0x21c175['error'];}catch(_0x31b843){return this[_0x1a0b01(0x4aa)][_0x1a0b01(0x425)](_0x31b843),this[_0x1a0b01(0x3b9)](!0x1);}}[_0x2c2a28(0x3b9)](_0x3702f9){var _0x22eb7d=_0x2c2a28;return this[_0x22eb7d(0x25c)][_0x22eb7d(0x430)](de,this[_0x22eb7d(0x1d5)],this[_0x22eb7d(0x339)],null,[],this[_0x22eb7d(0x348)],_0x3702f9);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x214512=_0x2c2a28;throw new Error(_0x214512(0x3f4));}[_0x2c2a28(0x3cb)](){return this;}[_0x2c2a28(0x2c0)](){var _0x3e0d50=_0x2c2a28;return this[_0x3e0d50(0x25c)][_0x3e0d50(0x430)](fe,this[_0x3e0d50(0x1d5)],this['type'],null,[],this[_0x3e0d50(0x348)]);}[_0x2c2a28(0x468)](){return this;}[_0x2c2a28(0x2ab)](){var _0x1f09fa=_0x2c2a28;throw new Error(_0x1f09fa(0x291));}[_0x2c2a28(0x440)](){var _0x452e67=_0x2c2a28;const _0x127dd7=this[_0x452e67(0x4a5)][_0x452e67(0x495)](this['unitID']);return this[_0x452e67(0x348)]['onMissingChangesets']({'from':_0x127dd7,'to':0x0}),this[_0x452e67(0x25c)][_0x452e67(0x430)](te,this[_0x452e67(0x1d5)],this['type'],null,[],null,[],this[_0x452e67(0x348)]);}};Pe=be([A(0x3,_0x35f65b(_0xf0d448)),A(0x4,_0x35f65b(_0x566e3e)),A(0x5,_0x4afcd7),A(0x6,_0x88164),A(0x7,_0x271f6f),A(0x8,_0xb221c0),A(0x9,_0x5d2991(X))],Pe);let oe=class extends Re{constructor(_0x553d97,_0x529d63,_0x43b144,_0xfc1ee0,_0x5eb512,_0x5b4e08,_0x47e35b,_0x9de897,_0x431fc4,_0x227f87,_0x81873d,_0x1e183f,_0x410b81,_0x358d48){var _0x55042f=_0x2c2a28;super(_0x553d97,_0x529d63,null,_0x43b144,_0xfc1ee0,_0x431fc4,_0x410b81,_0x5b4e08,_0x358d48),P(this,_0x55042f(0x4c3),_0x55042f(0x279)),P(this,_0x55042f(0x223),null),P(this,_0x55042f(0x224),null),(this[_0x55042f(0x25c)]=_0x5eb512,this['_memberService']=_0x47e35b,this[_0x55042f(0x4aa)]=_0x9de897,this['_configService']=_0x227f87,this[_0x55042f(0x41b)]=_0x81873d,this[_0x55042f(0x23a)]=_0x1e183f);}['appendMutation'](_0x26c9c5){var _0x59f691=_0x2c2a28;return this[_0x59f691(0x1e5)][_0x59f691(0x3ad)](_0x26c9c5),this[_0x59f691(0x379)](),this;}[_0x2c2a28(0x448)](_0x400aab){var _0x582b8d=_0x2c2a28;if(this[_0x582b8d(0x350)](_0x400aab))return this[_0x582b8d(0x3a9)](),this['_injector'][_0x582b8d(0x430)](te,this[_0x582b8d(0x1d5)],this[_0x582b8d(0x339)],null,this['_pendingMutations'],null,[_0x400aab],this[_0x582b8d(0x348)]);try{const _0x33adee=this[_0x582b8d(0x41b)][_0x582b8d(0x265)](_0x400aab,this[_0x582b8d(0x1e5)]);if(_0x1bd448(_0x33adee)){const {c1Prime:_0x243d17,m2Prime:_0x49601b}=_0x33adee;this[_0x582b8d(0x277)](_0x243d17);const _0x2830f7=this[_0x582b8d(0x25c)]['createInstance'](oe,this[_0x582b8d(0x1d5)],this[_0x582b8d(0x339)],_0x49601b,this[_0x582b8d(0x348)]);return this['_clearScheduledTask'](),_0x2830f7[_0x582b8d(0x27b)](this[_0x582b8d(0x223)]?Math[_0x582b8d(0x304)](0x0,new Date()[_0x582b8d(0x496)]()-this[_0x582b8d(0x223)]):this[_0x582b8d(0x46c)]()),_0x2830f7;}throw _0x33adee[_0x582b8d(0x425)];}catch(_0x66eef3){return this[_0x582b8d(0x4aa)][_0x582b8d(0x425)](_0x66eef3),this[_0x582b8d(0x3b9)](!0x1);}}[_0x2c2a28(0x467)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2c2a28(0x460)](){var _0x1d0da7=_0x2c2a28;throw new Error(_0x1d0da7(0x498));}['onRemoteRetry'](){return this;}[_0x2c2a28(0x2c0)](){var _0x24d668=_0x2c2a28;return this[_0x24d668(0x3a9)](),this[_0x24d668(0x25c)][_0x24d668(0x430)](fe,this[_0x24d668(0x1d5)],this['type'],null,this['_pendingMutations'],this[_0x24d668(0x348)]);}[_0x2c2a28(0x468)](){return this;}[_0x2c2a28(0x27b)](_0x19f328){var _0x49093b=_0x2c2a28;const _0x25cf67=_0x19f328!=null?_0x19f328:this[_0x49093b(0x46c)]();this[_0x49093b(0x223)]=new Date()['getTime'](),this[_0x49093b(0x224)]=setTimeout(()=>{var _0x88b552=_0x49093b;this['_clearScheduledTask']();let _0x4343ea=null;switch(this['type']){case Q[_0x88b552(0x3b8)]:{_0x4343ea=Jt(this[_0x88b552(0x1e5)],this[_0x88b552(0x1d5)],this[_0x88b552(0x23a)],this[_0x88b552(0x4a5)],this[_0x88b552(0x3f9)]);break;}case Q[_0x88b552(0x475)]:{this[_0x88b552(0x1e5)][_0x88b552(0x202)](_0x53249b=>_0x53249b['id']===_0x3acdae['id'])?_0x4343ea=Es(this[_0x88b552(0x1e5)],this['unitID'],this[_0x88b552(0x23a)],this[_0x88b552(0x4a5)],this[_0x88b552(0x3f9)]):_0x4343ea=Jt(this[_0x88b552(0x1e5)],this[_0x88b552(0x1d5)],this[_0x88b552(0x23a)],this['_revisionService'],this[_0x88b552(0x3f9)]);break;}default:throw new Error(_0x88b552(0x321)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x4bc3cc,pendingMutations:_0x4a88ea}=_0x4343ea;this[_0x88b552(0x348)]['onSendChangeset'](_0x4bc3cc);const _0x22249b=_0x4a88ea['length']?this['_injector']['createInstance'](ae,this['unitID'],this[_0x88b552(0x339)],_0x4bc3cc,_0x4a88ea,this['_handler'],void 0x0):this[_0x88b552(0x25c)][_0x88b552(0x430)](ue,this[_0x88b552(0x1d5)],this[_0x88b552(0x339)],_0x4bc3cc,this[_0x88b552(0x348)]);_0x22249b[_0x88b552(0x379)](),this[_0x88b552(0x348)][_0x88b552(0x266)](this,_0x22249b);},_0x25cf67);}[_0x2c2a28(0x46c)](){var _0x534a27=_0x2c2a28,_0x1fbb02;const _0x69d423=this[_0x534a27(0x4a2)][_0x534a27(0x1e2)](Y);return(_0x1fbb02=_0x69d423==null?void 0x0:_0x69d423[_0x534a27(0x25e)])!=null?_0x1fbb02:wn;}['resend'](){var _0x4baa2e=_0x2c2a28;throw new Error(_0x4baa2e(0x49d));}[_0x2c2a28(0x3a9)](){var _0x470392=_0x2c2a28;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x470392(0x224)]=null);}['_onConflict'](_0x2aa3b3){var _0x16a82f=_0x2c2a28;return this[_0x16a82f(0x3a9)](),this[_0x16a82f(0x25c)][_0x16a82f(0x430)](de,this['unitID'],this['type'],null,this[_0x16a82f(0x1e5)],this[_0x16a82f(0x348)],_0x2aa3b3);}};oe=be([A(0x4,_0x35f65b(_0x566e3e)),A(0x5,_0x35f65b(_0xf0d448)),A(0x6,_0x35f65b(xe)),A(0x7,_0x271f6f),A(0x8,_0x88164),A(0x9,_0x27e728),A(0xa,_0xb221c0),A(0xb,_0xb428b8),A(0xc,_0x4afcd7),A(0xd,_0x5d2991(X))],oe);let ue=class extends Re{constructor(_0x28c4a8,_0x1abd36,_0x48d886,_0x1cb608,_0x12aee9,_0x1ef258,_0x434a07,_0x15e9f7,_0x559200,_0x3399f2,_0x2ee38e){var _0x34803d=_0x2c2a28;super(_0x28c4a8,_0x1abd36,_0x48d886,[],_0x1cb608,_0x434a07,_0x3399f2,_0x1ef258,_0x2ee38e),P(this,'status','awaiting'),P(this,_0x34803d(0x343),0x0),P(this,_0x34803d(0x3d8)),P(this,'_sender'),(this[_0x34803d(0x25c)]=_0x12aee9,this['_logService']=_0x15e9f7,this[_0x34803d(0x41b)]=_0x559200);}[_0x2c2a28(0x20b)](_0x337b35){var _0x53de9f=_0x2c2a28;this[_0x53de9f(0x3a9)]();const _0x49e072=this[_0x53de9f(0x25c)][_0x53de9f(0x430)](ae,this[_0x53de9f(0x1d5)],this[_0x53de9f(0x339)],this[_0x53de9f(0x1cd)],[_0x337b35],this[_0x53de9f(0x348)],this[_0x53de9f(0x3d8)]);return _0x49e072[_0x53de9f(0x379)](),_0x49e072;}[_0x2c2a28(0x448)](_0x240a96){var _0xcbcd98=_0x2c2a28;if(this[_0xcbcd98(0x350)](_0x240a96))return this[_0xcbcd98(0x3a9)](),this[_0xcbcd98(0x25c)][_0xcbcd98(0x430)](te,this['unitID'],this['type'],this[_0xcbcd98(0x1cd)],[],null,[_0x240a96],this[_0xcbcd98(0x348)]);try{const _0x4ce400=this[_0xcbcd98(0x41b)]['transformChangesets']([_0x240a96],[this['_awaitingChangeset']],!0x1);if(_0x26a578(_0x4ce400)){const {c1Prime:_0x15942c,c2Prime:_0x518ed0}=_0x4ce400;this[_0xcbcd98(0x277)](_0x15942c[0x0]),_0x518ed0[0x0][_0xcbcd98(0x3c3)]=this[_0xcbcd98(0x399)](),this[_0xcbcd98(0x3a9)]();const _0x4a2f8c=this[_0xcbcd98(0x25c)][_0xcbcd98(0x430)](ue,this[_0xcbcd98(0x1d5)],this[_0xcbcd98(0x339)],_0x518ed0[0x0],this[_0xcbcd98(0x348)]);return _0x4a2f8c[_0xcbcd98(0x379)](),_0x4a2f8c;}return this['_onConflict'](!0x1);}catch(_0x1a7ca3){return this[_0xcbcd98(0x4aa)][_0xcbcd98(0x425)](_0x1a7ca3),this['_onConflict'](!0x1);}}[_0x2c2a28(0x467)](_0x1ebbae){var _0x256450=_0x2c2a28;this['_clearScheduledTask']();const _0x170f8e=this[_0x256450(0x4a5)][_0x256450(0x495)](this['unitID']);if(_0x1ebbae[_0x256450(0x428)]<_0x170f8e-0x1)return this;if(this[_0x256450(0x350)](_0x1ebbae))return this[_0x256450(0x25c)][_0x256450(0x430)](te,this[_0x256450(0x1d5)],this[_0x256450(0x339)],null,[],this[_0x256450(0x1cd)],[],this[_0x256450(0x348)]);this['_incrementRevisionNumber']();const _0x2b5204=this[_0x256450(0x25c)][_0x256450(0x430)](Pe,this[_0x256450(0x1d5)],this['type'],this['_handler']);return _0x2b5204[_0x256450(0x379)](),_0x2b5204;}[_0x2c2a28(0x460)](_0x3cad3d){var _0x4b4fe0=_0x2c2a28;return this[_0x4b4fe0(0x3b9)](!!(_0x3cad3d!=null&&_0x3cad3d['isPermissionRej']));}['onRemoteRetry'](_0x36a652){var _0x4a15c8=_0x2c2a28;return this[_0x4a15c8(0x343)]>Pi?this[_0x4a15c8(0x2c0)]():(this[_0x4a15c8(0x3d8)]=Oi(this['_resendTimeout'],{'timeout':this[_0x4a15c8(0x343)],'reqId':_0x36a652['reqId']}),this[_0x4a15c8(0x325)]=this[_0x4a15c8(0x3d8)][_0x4a15c8(0x203)](({reqId:_0x47bec8,timeout:_0x5e6e7a})=>{var _0x52cc15=_0x4a15c8;this[_0x52cc15(0x2a5)](_0x47bec8,_0x5e6e7a);}),this);}[_0x2c2a28(0x2c0)](){var _0x1d44db=_0x2c2a28;return this[_0x1d44db(0x3a9)](),this['_injector'][_0x1d44db(0x430)](fe,this['unitID'],this[_0x1d44db(0x339)],this[_0x1d44db(0x1cd)],[],this[_0x1d44db(0x348)]);}[_0x2c2a28(0x468)](){return this;}['resend'](){var _0x35b949=_0x2c2a28;this[_0x35b949(0x348)][_0x35b949(0x3f3)](this[_0x35b949(0x1cd)]);}[_0x2c2a28(0x3b9)](_0x1ca4bf){var _0x4a2457=_0x2c2a28;return this[_0x4a2457(0x3a9)](),this[_0x4a2457(0x25c)][_0x4a2457(0x430)](de,this[_0x4a2457(0x1d5)],this[_0x4a2457(0x339)],this['_awaitingChangeset'],[],this[_0x4a2457(0x348)],_0x1ca4bf);}['_resendWithTimeout'](_0xd7dc9e,_0x314247){var _0x39f025=_0x2c2a28,_0x50b4bc;_0xd7dc9e===((_0x50b4bc=this[_0x39f025(0x1cd)])==null?void 0x0:_0x50b4bc[_0x39f025(0x3c9)])&&(this['resend'](),this[_0x39f025(0x343)]=_0x314247===0x0?0x3e8:_0x314247*0x2);}[_0x2c2a28(0x3a9)](){var _0x59de5b=_0x2c2a28,_0x565756;(_0x565756=this[_0x59de5b(0x325)])==null||_0x565756[_0x59de5b(0x377)](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x35f65b(_0x566e3e)),A(0x5,_0x35f65b(_0xf0d448)),A(0x6,_0x88164),A(0x7,_0x271f6f),A(0x8,_0xb221c0),A(0x9,_0x4afcd7),A(0xa,_0x5d2991(X))],ue);let ae=class extends Re{constructor(_0x120c4d,_0x45b5b4,_0x2fb390,_0x525fc3,_0x3fece2,_0x3891f8,_0x58062,_0x3a3b7b,_0x1e811e,_0x3987dd,_0x155427,_0x472825,_0x3e4fa4){var _0x4f32e3=_0x2c2a28;super(_0x120c4d,_0x45b5b4,_0x2fb390,_0x525fc3,_0x3fece2,_0x1e811e,_0x472825,_0x3a3b7b,_0x3e4fa4),P(this,_0x4f32e3(0x4c3),_0x4f32e3(0x3f0)),P(this,_0x4f32e3(0x343),0x0),P(this,_0x4f32e3(0x3d8)),P(this,_0x4f32e3(0x325)),(this[_0x4f32e3(0x25c)]=_0x58062,this[_0x4f32e3(0x4aa)]=_0x3987dd,this[_0x4f32e3(0x41b)]=_0x155427,this[_0x4f32e3(0x21f)]=_0x3e4fa4,_0x3891f8&&(this[_0x4f32e3(0x3d8)]=_0x3891f8,this[_0x4f32e3(0x325)]=this[_0x4f32e3(0x3d8)][_0x4f32e3(0x203)](({reqId:_0x3fe93b,timeout:_0x527784})=>{var _0x2340f6=_0x4f32e3;this[_0x2340f6(0x2a5)](_0x3fe93b,_0x527784);})));}[_0x2c2a28(0x20b)](_0x47552c){var _0x482a0f=_0x2c2a28;return this[_0x482a0f(0x1e5)][_0x482a0f(0x3ad)](_0x47552c),this;}[_0x2c2a28(0x448)](_0xf006c4){var _0x45a166=_0x2c2a28;if(this[_0x45a166(0x350)](_0xf006c4))return this[_0x45a166(0x3a9)](),this[_0x45a166(0x25c)][_0x45a166(0x430)](te,this[_0x45a166(0x1d5)],this['type'],this[_0x45a166(0x1cd)],this['_pendingMutations'],null,[_0xf006c4],this[_0x45a166(0x348)]);try{const _0x2988ba=this[_0x45a166(0x41b)][_0x45a166(0x3a7)]([_0xf006c4],[this[_0x45a166(0x1cd)]],!0x1);if(_0x26a578(_0x2988ba)){const {c1Prime:_0x194c4b,c2Prime:_0x313a52}=_0x2988ba,_0x4ace90=this[_0x45a166(0x41b)][_0x45a166(0x265)](_0x194c4b[0x0],this['_pendingMutations']);if(_0x1bd448(_0x4ace90)){const {c1Prime:_0x22fdd8,m2Prime:_0x831b38}=_0x4ace90;return this[_0x45a166(0x277)](_0x22fdd8),_0x313a52[0x0][_0x45a166(0x3c3)]=this[_0x45a166(0x399)](),this[_0x45a166(0x3a9)](),this['_injector'][_0x45a166(0x430)](ae,this['unitID'],this[_0x45a166(0x339)],_0x313a52[0x0],_0x831b38,this[_0x45a166(0x348)],void 0x0);}throw _0x4ace90[_0x45a166(0x425)];}throw _0x2988ba[_0x45a166(0x425)];}catch(_0x582bc6){return this[_0x45a166(0x4aa)][_0x45a166(0x425)](_0x582bc6),this[_0x45a166(0x3b9)](!0x1);}}[_0x2c2a28(0x467)](_0x1db57d){var _0x1076f3=_0x2c2a28;if(this[_0x1076f3(0x3a9)](),this['_checkMissing'](_0x1db57d))return this[_0x1076f3(0x25c)]['createInstance'](te,this['unitID'],this[_0x1076f3(0x339)],null,this[_0x1076f3(0x1e5)],this['_awaitingChangeset'],[],this[_0x1076f3(0x348)]);this[_0x1076f3(0x33e)]();const _0x5214f4=this[_0x1076f3(0x25c)][_0x1076f3(0x430)](oe,this[_0x1076f3(0x1d5)],this['type'],this[_0x1076f3(0x1e5)],this[_0x1076f3(0x348)]);return _0x5214f4[_0x1076f3(0x27b)](),_0x5214f4[_0x1076f3(0x379)](),_0x5214f4;}[_0x2c2a28(0x460)](_0x125d69){var _0x448e3b=_0x2c2a28;return this[_0x448e3b(0x3b9)](!!(_0x125d69!=null&&_0x125d69[_0x448e3b(0x4af)]));}[_0x2c2a28(0x3cb)](_0x329f18){var _0x2193f8=_0x2c2a28;return this[_0x2193f8(0x343)]>Pi?this[_0x2193f8(0x2c0)]():(this[_0x2193f8(0x3d8)]=Oi(this[_0x2193f8(0x343)],{'timeout':this[_0x2193f8(0x343)],'reqId':_0x329f18['reqId']}),this[_0x2193f8(0x325)]=this[_0x2193f8(0x3d8)][_0x2193f8(0x203)](({reqId:_0x1398c8,timeout:_0x56ed0e})=>{var _0x4b3d05=_0x2193f8;this[_0x4b3d05(0x2a5)](_0x1398c8,_0x56ed0e);}),this);}[_0x2c2a28(0x2c0)](){var _0x315e0e=_0x2c2a28;return this[_0x315e0e(0x3a9)](),this[_0x315e0e(0x25c)][_0x315e0e(0x430)](fe,this[_0x315e0e(0x1d5)],this[_0x315e0e(0x339)],this[_0x315e0e(0x1cd)],this['_pendingMutations'],this[_0x315e0e(0x348)]);}[_0x2c2a28(0x468)](){return this;}[_0x2c2a28(0x2ab)](){var _0x443a2c=_0x2c2a28;this['_handler'][_0x443a2c(0x3f3)](this[_0x443a2c(0x1cd)]);}['_onConflict'](_0x546e2c){var _0x5e480e=_0x2c2a28;return this[_0x5e480e(0x3a9)](),this['_injector'][_0x5e480e(0x430)](de,this[_0x5e480e(0x1d5)],this[_0x5e480e(0x339)],null,this['_pendingMutations'],this[_0x5e480e(0x348)],_0x546e2c);}[_0x2c2a28(0x2a5)](_0x49a1ad,_0x5cfcbf){var _0x1b2dd1=_0x2c2a28,_0x2f1c15;_0x49a1ad===((_0x2f1c15=this[_0x1b2dd1(0x1cd)])==null?void 0x0:_0x2f1c15[_0x1b2dd1(0x3c9)])&&(this[_0x1b2dd1(0x2ab)](),this['_resendTimeout']=_0x5cfcbf===0x0?0x3e8:_0x5cfcbf*0x2);}[_0x2c2a28(0x3a9)](){var _0x5a25bb=_0x2c2a28,_0x888263;(_0x888263=this[_0x5a25bb(0x325)])==null||_0x888263[_0x5a25bb(0x377)](),this[_0x5a25bb(0x343)]=0x0;}};ae=be([A(0x6,_0x35f65b(_0x566e3e)),A(0x7,_0x35f65b(_0xf0d448)),A(0x8,_0x88164),A(0x9,_0x271f6f),A(0xa,_0xb221c0),A(0xb,_0x4afcd7),A(0xc,_0x5d2991(X))],ae);let de=class extends Re{constructor(_0x134a9c,_0x5eb93a,_0x46f240,_0x395140,_0x726ae8,_0x33a9ef=!0x1,_0x5d7e93,_0x284f7c,_0x3b82ad,_0x3d745f,_0x2cc05b,_0x2ba4b1,_0x531b2d){var _0x5aaf2c=_0x2c2a28;super(_0x134a9c,_0x5eb93a,_0x46f240,_0x395140,_0x726ae8,_0x284f7c,_0x3b82ad,_0x3d745f,_0x531b2d),P(this,'status',_0x5aaf2c(0x242)),(this[_0x5aaf2c(0x3c1)]=_0x33a9ef,this[_0x5aaf2c(0x2c2)]=_0x5d7e93,this[_0x5aaf2c(0x355)]=_0x2cc05b,this[_0x5aaf2c(0x288)]=_0x2ba4b1,this[_0x5aaf2c(0x21f)]=_0x531b2d,this['_showConflictNotification'](),this[_0x5aaf2c(0x24f)](),this['_disableEditing']());}[_0x2c2a28(0x20b)](){return this;}[_0x2c2a28(0x448)](){return this;}['onRemoteAck'](){return this;}[_0x2c2a28(0x460)](){return this;}['onRemoteRetry'](){return this;}[_0x2c2a28(0x2c0)](){return this;}[_0x2c2a28(0x468)](){return this;}['resend'](){var _0x3691dd=_0x2c2a28;throw new Error(_0x3691dd(0x34a));}['_clearLocalCache'](){var _0x3d7a85=_0x2c2a28,_0x17c2c5;(_0x17c2c5=this[_0x3d7a85(0x392)])==null||_0x17c2c5['updateOfflineData'](this[_0x3d7a85(0x1d5)],this['type'],null,[]);}[_0x2c2a28(0x414)](){var _0x38f380=_0x2c2a28;this[_0x38f380(0x3c1)]?this['_collaborationUIEventService'][_0x38f380(0x3ee)]({'id':re[_0x38f380(0x396)]}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x38f380(0x2fa)]});}[_0x2c2a28(0x403)](){var _0x4d1967=_0x2c2a28;this[_0x4d1967(0x2c2)][_0x4d1967(0x4b2)](new _0x26155d(this[_0x4d1967(0x1d5)])['id'],!0x1);}};de=be([A(0x6,_0x35f65b(_0xc2d263)),A(0x7,_0x88164),A(0x8,_0x4afcd7),A(0x9,_0x35f65b(_0xf0d448)),A(0xa,_0x35f65b(_0x1e63b0)),A(0xb,_0x35f65b(pe)),A(0xc,_0x5d2991(X))],de);let fe=class extends Re{constructor(_0x373072,_0x3b310b,_0x35c944,_0x23f949,_0x5cd1ae,_0x42b77a,_0x22882c,_0x8b4a8a,_0x311796,_0xc1db8d){var _0x276a56=_0x2c2a28;super(_0x373072,_0x3b310b,_0x35c944,_0x23f949,_0x5cd1ae,_0x8b4a8a,_0x311796,_0x22882c,_0xc1db8d),P(this,'status','offline'),this[_0x276a56(0x25c)]=_0x42b77a;}[_0x2c2a28(0x20b)](_0xcaa269){var _0x138f16=_0x2c2a28;return this[_0x138f16(0x1e5)][_0x138f16(0x3ad)](_0xcaa269),this[_0x138f16(0x379)](),this;}[_0x2c2a28(0x448)](_0x12c0b7){var _0x3ee1a4=_0x2c2a28;throw new Error(_0x3ee1a4(0x23f));}[_0x2c2a28(0x467)](){var _0x152a2c=_0x2c2a28;throw new Error(_0x152a2c(0x3d3));}[_0x2c2a28(0x460)](){var _0x4652ff=_0x2c2a28;throw new Error(_0x4652ff(0x397));}[_0x2c2a28(0x3cb)](){return this;}[_0x2c2a28(0x2c0)](){return this;}[_0x2c2a28(0x468)](){var _0x2ba184=_0x2c2a28;const {_injector:_0x42c04c,_pendingMutations:_0x97fe91,_awaitingChangeset:_0x2ba6a6,unitID:_0x251216,_handler:_0x48f54e,type:_0x1187e3}=this,_0x31299d=Di(_0x42c04c,_0x251216,_0x1187e3,_0x2ba6a6,_0x97fe91,_0x48f54e);return _0x31299d instanceof oe?_0x31299d[_0x2ba184(0x27b)]():(_0x31299d instanceof ae||_0x31299d instanceof ue)&&_0x31299d[_0x2ba184(0x2ab)](),_0x31299d;}[_0x2c2a28(0x2ab)](){var _0x2e17f1=_0x2c2a28;throw new Error(_0x2e17f1(0x357));}};fe=be([A(0x5,_0x35f65b(_0x566e3e)),A(0x6,_0x35f65b(_0xf0d448)),A(0x7,_0x88164),A(0x8,_0x4afcd7),A(0x9,_0x5d2991(X))],fe);let te=class extends Re{constructor(_0x5c2d61,_0x4d002d,_0x5ec7d2,_0xc79d85,_0x4614dd,_0x4f8264,_0x1a4653,_0x452d0b,_0x401f72,_0xce0da1,_0x29034e,_0x20bc2e,_0x108a03,_0x59335e){var _0x283839=_0x2c2a28;super(_0x5c2d61,_0x4d002d,_0x5ec7d2,_0xc79d85,_0x1a4653,_0x29034e,_0x20bc2e,_0x401f72,_0x59335e),P(this,_0x283839(0x4c3),_0x283839(0x39e)),(this[_0x283839(0x322)]=_0x4614dd,this[_0x283839(0x42f)]=_0x4f8264,this[_0x283839(0x25c)]=_0x452d0b,this[_0x283839(0x4aa)]=_0xce0da1,this[_0x283839(0x41b)]=_0x108a03,this[_0x283839(0x21f)]=_0x59335e);}[_0x2c2a28(0x301)](_0x304a27){var _0x73163d=_0x2c2a28;try{const _0x1b9e47=[..._0x304a27,...this[_0x73163d(0x42f)]],_0x41f950=[this[_0x73163d(0x1cd)]||this[_0x73163d(0x322)]][_0x73163d(0x22a)](_0x31a57c=>!!_0x31a57c);let _0x1a3884,_0x3c43ba;if(_0x41f950[_0x73163d(0x2d7)]){const _0x2080d8=this[_0x73163d(0x41b)][_0x73163d(0x3a7)](_0x1b9e47,_0x41f950,!0x1);if(!_0x26a578(_0x2080d8))throw _0x2080d8['error'];_0x1a3884=_0x2080d8[_0x73163d(0x472)],_0x3c43ba=_0x2080d8[_0x73163d(0x401)];}else _0x1a3884=_0x1b9e47,_0x3c43ba=[];let _0xb3776c=this[_0x73163d(0x1e5)];_0x1a3884[_0x73163d(0x458)](_0x4ee7f6=>{var _0x160dcb=_0x73163d;let _0x58181d;if(_0xb3776c[_0x160dcb(0x2d7)]){const _0x1b301d=this[_0x160dcb(0x41b)][_0x160dcb(0x265)](_0x4ee7f6,_0xb3776c);if(!_0x1bd448(_0x1b301d))throw _0x1b301d[_0x160dcb(0x425)];_0x58181d=_0x1b301d[_0x160dcb(0x472)],_0xb3776c=_0x1b301d[_0x160dcb(0x2e9)];}else _0x58181d=_0x4ee7f6;this['_executeRemoteChangeset'](_0x58181d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x73163d(0x33e)](),this[_0x73163d(0x1cd)]&&_0x3c43ba['length']&&(_0x3c43ba[0x0]['baseRev']=this[_0x73163d(0x399)]());let _0x325e09;if(this['_awaitingChangeset']&&_0xb3776c['length']!==0x0)_0x325e09=this[_0x73163d(0x25c)][_0x73163d(0x430)](ae,this[_0x73163d(0x1d5)],this[_0x73163d(0x339)],_0x3c43ba[0x0],_0xb3776c,this[_0x73163d(0x348)],void 0x0);else{if(this[_0x73163d(0x1cd)]&&_0xb3776c[_0x73163d(0x2d7)]===0x0)_0x3c43ba[0x0][_0x73163d(0x3c3)]=this[_0x73163d(0x399)](),_0x325e09=this[_0x73163d(0x25c)]['createInstance'](ue,this['unitID'],this[_0x73163d(0x339)],_0x3c43ba[0x0],this[_0x73163d(0x348)]);else{if(_0xb3776c[_0x73163d(0x2d7)]!==0x0){const _0x32173d=this[_0x73163d(0x25c)]['createInstance'](oe,this[_0x73163d(0x1d5)],this['type'],_0xb3776c,this['_handler']);_0x32173d[_0x73163d(0x27b)](),_0x325e09=_0x32173d;}else _0x325e09=this[_0x73163d(0x25c)][_0x73163d(0x430)](Pe,this[_0x73163d(0x1d5)],this[_0x73163d(0x339)],this[_0x73163d(0x348)]);}}return _0x325e09['_updateLocalCache'](),_0x325e09;}catch(_0x4fc905){return this[_0x73163d(0x4aa)]['error'](_0x73163d(0x4cf),_0x73163d(0x3d6),_0x4fc905),this[_0x73163d(0x25c)][_0x73163d(0x430)](de,this[_0x73163d(0x1d5)],this[_0x73163d(0x339)],this['_awaitingChangeset'],this[_0x73163d(0x1e5)],this['_handler'],!0x1);}}[_0x2c2a28(0x2ab)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2c2a28(0x20b)](_0x5992bc){var _0x44b14c=_0x2c2a28;return this[_0x44b14c(0x1e5)][_0x44b14c(0x3ad)](_0x5992bc),this;}[_0x2c2a28(0x448)](_0x34fae2){var _0x5f17a1=_0x2c2a28;return this[_0x5f17a1(0x42f)][_0x5f17a1(0x3ad)](_0x34fae2),this;}['onRemoteAck'](_0x43b389){var _0x4a2dff=_0x2c2a28;if(this[_0x4a2dff(0x1cd)])return this['_acknowledgedAwaitingChangeset']=this[_0x4a2dff(0x1cd)],this[_0x4a2dff(0x1cd)]=null,this;throw new Error(_0x4a2dff(0x254));}[_0x2c2a28(0x460)](_0x91e003){var _0x2714da=_0x2c2a28;return this[_0x2714da(0x3b9)](!!(_0x91e003!=null&&_0x91e003[_0x2714da(0x4af)]));}[_0x2c2a28(0x3cb)](){return this;}[_0x2c2a28(0x2c0)](){var _0x3781a8=_0x2c2a28;return this[_0x3781a8(0x25c)][_0x3781a8(0x430)](fe,this[_0x3781a8(0x1d5)],this[_0x3781a8(0x339)],this['_awaitingChangeset'],this[_0x3781a8(0x1e5)],this['_handler']);}[_0x2c2a28(0x468)](){return this;}[_0x2c2a28(0x3b9)](_0x1c8eca){var _0x2bbc5b=_0x2c2a28;return this[_0x2bbc5b(0x25c)][_0x2bbc5b(0x430)](de,this[_0x2bbc5b(0x1d5)],this[_0x2bbc5b(0x339)],this[_0x2bbc5b(0x1cd)],this[_0x2bbc5b(0x1e5)],this[_0x2bbc5b(0x348)],_0x1c8eca);}};te=be([A(0x7,_0x35f65b(_0x566e3e)),A(0x8,_0x35f65b(_0xf0d448)),A(0x9,_0x271f6f),A(0xa,_0x88164),A(0xb,_0x4afcd7),A(0xc,_0xb221c0),A(0xd,_0x5d2991(X))],te);function Di(_0x3d3d67,_0x1813f1,_0xdbbc42,_0x2e4b00,_0x25a5f9,_0x1ff065){var _0x5b5953=_0x2c2a28;return _0x2e4b00&&_0x25a5f9[_0x5b5953(0x2d7)]?_0x3d3d67[_0x5b5953(0x430)](ae,_0x1813f1,_0xdbbc42,_0x2e4b00,_0x25a5f9,_0x1ff065,void 0x0):_0x2e4b00?_0x3d3d67[_0x5b5953(0x430)](ue,_0x1813f1,_0xdbbc42,_0x2e4b00,_0x1ff065):_0x25a5f9[_0x5b5953(0x2d7)]?_0x3d3d67[_0x5b5953(0x430)](oe,_0x1813f1,_0xdbbc42,_0x25a5f9,_0x1ff065):_0x3d3d67['createInstance'](Pe,_0x1813f1,_0xdbbc42,_0x1ff065);}function _0x4a5b(){var _0x38ae9c=['/universer-api/uniscript','LIVESHARE_FETCH_OPERATIONS','_commentUpdate$','CHANGESET_REVISION_CONFILICT','disableLocalCache','_nRounds','delete','fetchThroughInterceptors','createCollaborator','_showConflictNotification','_networkConditionService','SHOULD_CLOSE_CONN','awaitingChangeset','connection\x20error','transformStack\x20failed!','_xformMode','_transformService','_getSignURL','loadUnit','crypto','saveChangeset','random','_onRecvEvent','HEARTBEAT','_sessions','call','error','batchAllowed','SYNCED','revision','Hex','_initMergeInterceptor','byteOffset','offline','/universer-api/user/session-ticket','leaveEvent','_queuedRemoteChangesets','createInstance','name','sin','updateMember','createSocket','UPDATE_PERMISSION_OBJ','IDLE','function','add','stringify','localeService','_onUserJoin','_entities','StreamCipher','substr','\x0aAfter:\x20','fetchMiss','_initUnitPermissionChange','_minBufferSize','infoRsp','uniscriptRunEvent','_createHelper','/role','_onCombEvent','onRemoteChangeset','userID','\x0aCurrent:\x20','_doReset','snapshotServerUrl','Hasher','_commentService','_hasher','indexOf','[CollaborationSessionService]','POST','string','LICENSE_IMPORT_SIZE_EXCEEDED','_changesetReqId','_shouldReportTelemetry','JOIN_ROOM_NOT_EXISTS','forEach','Latin1','buffer','onTransformState','mutations','_eventService','_clearUndo','_onConnectionOpen','onRemoteRej','findIndex','[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.','finalize','roomInfos','decryptBlock','initWorkbookPermissionChange','onRemoteAck','toggleOnline','FETCH_MISSING','readInt32LE','getUnitOnRev','_getSendChangesetTimeout','startTime','__creator','readyForCollab','_event$','_keySchedule','c1Prime','JOINING','getMember','UNIVER_DOC','init','FETCH_MISS','/object','commentUpdateEvent','HmacSHA1','/collaborator','1965526KLffkE','collaboratorID','fromCollab','_clearHeartbeatTimer','keySize','_onConnectionFailed','title','YUUMI_URL_COL_OUT_OF_RANGE','_initCloseConn','onTransformRemoteChangesetByIMECache','UNRECOGNIZED','898115kBrvns','/-/object/list','unitInfo$','pipe','_roomMembers','rng','_singleActiveUnitService','63222ODHpcv','_transformSelections','_onJoinRoomEvent','bind','state','CHANGESET_SHOULD_RETRY','_transformStack','getCurrentRevOfUnit','getTime','_compressMutationService','[PendingState]:\x20received\x20rejection.','url','enableOfflineEditing','get','concat','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','randomBytes','closeSession','_getRedoStack','ivSize','_configService','[CollaborationState]:\x20apply\x20error!','padding','_revisionService','_waitCount','_initRequestHeader','Undefined','values','_logService','/universer-api/file/{fileID}/sign-url','file','_toggleOffline','getCurrentSelections','isPermissionRej','ciphertext','_sendHeartbeat','updatePermissionPoint','saveSnapshot','onCommentUpdate','/unit/','getValue','mode','UNIVER_SLIDE','clamp','sid','_socketMessageSubscription','_unlockTransition','CHANGESET_ACK','WordArray','default','apply','INVALID_ARGUMENT','_onRemoteACK','status','LEAVE','msCrypto','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/rev/','/universer-api/authz','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_toggleOnline','_lockTransition','getSnapshotAPIPath','SerializableCipher','COMPRESS_MUTATION_APPLY','[FetchMissState]','textRanges','onStarting','actions','sessionStatus$','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','parse','map','UNIVER_COLLABORATION_CLIENT_PLUGIN','_mode','LOCAL_CACHE_INTERVAL','_change$','APPLY_NON_SEQUENTIAL_REVISION','_awaitingChangeset','_joinRoom','workbook','YUUMI_UNABLE_LOAD_URL','1606648IYNFbS','[CollaborationSessionService]:\x20socket\x20error','routeKey','HELLO','unitID','EvpKDF','send','AWAITING','FileId','\x20to\x20','_remoteChangesetQueue','socketService','_exhaustRemoteChangesetQueue','rev','collaboration_new_changeset','_removeRoom','create','getConfig','CHANGESET_REJ','target','_pendingMutations','compute','setCurrentUser','_telemetryInfo','editing\x20status\x20changed\x20to','_authzIoService','_prevBlock','PERSON','_scheduleCollaborationTimeoutTimer','params','SOCKET_FAILED_RETRY','_clearTimeoutTimer','_createHandler','_state','/-/object/-/batch_allowed','getRoom','ERROR_EXCEED_SIZE','commentUpdate$','_tryEnsureSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getDeserializedSheetBlock','loadDoc','onCommandExecuted','RECV','objectActions','_oKey','onTransformSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','value','every','subscribe','NO_OTHER_CLIENTS_EDITING','cmd','Worksheet','_iv','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','LIVESHARE_TERMINATE','_map','appendMutation','[DataLoaderService]','addImageSourceCache','words','image/jpeg','encodeURIComponent','_getDownloadEndpointURL','_getUndoStack','shouldCloseConn','state$','APPLY_DUPLICATED','_members','listCollaborators','_keyPriorReset','href','JOIN_ROOM_FAILED','JOIN_ROOM_FULL','_hash','requestParams','BlockCipher','localCacheService','getUnitType','originalMeta','SOCKET_FAILED','_scheduleTimestamp','_sendingTimer','randomUUID','result','getCollabEntity','ws://127.0.0.1:8000/universer-api/comb/connect','pauseCollaboration','filter','code','BASE64','error$','onTransformIME','onlyLocal','CipherParams','_onRemoteRejected','_telemetryService','key','range','getUnit','encryptBlock','univer-pro.collaboration-client.network-condition.service','ruleRefresh','hostname','_univerInstanceService','subUnitId','COMPLETION_FINISHED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reconnect','[OfflineState]:\x20received\x20changeset.','ceil','getResourcesRequest','conflict','_onOffline','application/json','downloadEndpointUrl','_getUploadFileURL','deepClone','Univer','status$','_collaborationPaused','registerHTTPInterceptor','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','__Key__','then','_clearLocalCache','awaiting','session','now','debug','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onLocalMutation','body','decrypt','498417CfttoO','CLOSE_ROOM','&assign=','_updateState','_injector','_snapshotService','sendChangesetTimeout','_createSocket','auth.needGotoLoginAlert','_entityInit$','socket$','data','members','transformMutationsWithChangeset','onStateChange','_syncEditingCollabCursor','reset','UNIVER_UNKNOWN','OTHER_CLIENT_EDITING','_snapshotServerService','refreshPermission','USERS_LEAVE','unknown','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SEND_CHANGESET_TIMEOUT','/universer-api/comb','enc','_createInitialState','_rescheduleHeartbeat','_getLoginPath','UNISCRIPT_RUN','_executeRemoteChangeset','_initDependencies','pending','[CollaborationEntity]','_schedule','hasOwnProperty','mixIn','JOIN','_reverseMap','put','UnitEmbedded','session.join-failed','min','size','_transformRemoteChangesetByIMECache','lib','Cipher','_collaborationUIEventService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sessionStatus$','_httpService','slice','YUUMI_RATE_OVER_LIMIT','/universer-api/stream/file/upload','INTERNAL_ERROR','joinRsp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose$','_throwTelemetryCollaborationNewChangeset','stopTime','defineProperty','COMMENT_UPDATE','copyFileMeta','execute','_transformUndoredo','reject','getActiveSheet','LIVESHARE_OPERATION','_transformIMECache','members$','_instanceService','_nDataBytes','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','NOT_COLLAB','5UcqYPk','_socket','_resendWithTimeout','_replayCachedMutations','_createInitialStateImpl','eventID','subType','Malformed\x20UTF-8\x20data','resend','includes','method','MUTATION','YUUMI_SUBSCRIPTION_NOT_FOUND','image/bmp','generateRandomId','_doCryptBlock','_retryCount','toLowerCase','BufferedBlockAlgorithm','origin','/new_changes','compose','UNKNOWN_CODE','_changesetSessionId','UPDATE_CURSOR','allowed','catch','getSheetId','open$','toggleOffline','_onRemoteChangeset','_permissionService','change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','memberID','_config','getTargetByPermissionId','_userManagerService','snapshot','setShowComponents','hasher','MD5','requireSession','getTypeOfUnitDisposed$','SUBMIT_CHANGESET','isArray','enableSingleActiveInstanceLock','collabSubmitChangesetUrl','JOIN_ROOM_PERMISSION_DENIED','resourceIDs','disposeWithMe','session.room-not-exists','length','transformSelections','?size=','SNAPSHOT_SERVER_URL_KEY','OTHER_CLIENTS_EDITING','UnitSnapshot','_process','_transformRemoteChangesetByStateCache','has','ONLINE','UNAUTHENTICATED','_unitID','_fetchMissChangesets','_getAPIPrefix','encode','Base','searchParams','permissionRejEvent','m2Prime','getCollabEntity$','_socketReady','selections','SNAPSHOT_HAS_BEEN_REMOVED','_state$','LICENSE_MAX_UNITS_EXCEEDED','confirm','/object/','onload','_loadSheet','socket\x20close','loginUrlKey','createEncryptor','\x20-\x20','_roomCreated$','PENDING','CONFLICT','UNIVER_PROJECT','event$','next','unitId\x20is\x20not\x20found','socket\x20open.','onMissingChangesets','onMissedChangesetFetched','telemetry\x20info\x20is\x20not\x20initialized','_replaceFileID','max','synced','AES','INGEST','Decryptor','getTypeOfUnitAdded$','clearUndoRedo','_decreaseWaiting','onSyncEditingCollabCursor','fetchMissingChangesets','collabWebSocketUrl','charCodeAt','_createSocketURL','avatar','newCsEvent','getUnitStatus$','TOO_MANY_REQUESTS','override','Encryptor','ALREADY_EXISTS','_parse','updateCollaborator','GLOBAL_ROOMS_CNT_EXCEEDS','getImage','iterations','dispose','_emitMembers','formatter','HEARTBEAT_TIMEOUT','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_acknowledgedAwaitingChangeset','[UniverCollaborationClientPlugin]','/fetchmissing?from=','_sender','Pkcs7','_startCollaboration','_transformStateCache','_stopTelemetryCollaborationNewChangeset','ERROR_IMAGE','USERS_ENTER','PERMISSION_REJ','63QaJrsS','csAckEvent','fromCharCode','getUnitId','onTransformRemoteChangesetByStateCache','location','/universer-api/snapshot','_status$','19449153jdjUrg','find','SNAPSHOT_INVALID_SNAPSHOT','joinEvent','type','toString','BlockCipherMode','_commandService','byteLength','_incrementRevisionNumber','_applyRemoteChangeset','_startTelemetryCollaborationNewChangeset','_candidateSocket','LICENSE_DISTRO_REJECTED','_resendTimeout','getMemberID','createDecryptor','floor','getCurrentUser','_handler','collaborators','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','message$','loadOfflineData','transformUndoRedo','interceptor','_checkMissing','FAIL','/resources','_submitChangeset','_undoStacks','_localeService','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','append','_members$','sessionStatus','image/jpg','sigBytes','objects','OPTIONAL','_sendHeartbeatTimer','_cipher','_sheetTransformSelectionsService','SUBMIT_CHANGESET_TIMEOUT','PSEUDO_FETCH_MISSING_RESULT','updateOfflineData','SUCCUSS','SNAPSHOT_URL_KEY','_getCtorByUniverType','_invKeySchedule','895592GKjJTb','/block/','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','unitId','_iKey','csRejEvent','focused$','_key','?url=','getAllMembers','Base64','LOGIN_URL_KEY','removeMember','_updateStatus','unsubscribe','objectID','_updateLocalCache','HEARTBEAT_INTERVAL','COLLAB_WEB_SOCKET_URL','UNKNOWN_CMD','close$','HttpExport','APPLY_REVISION_CONFILICT','uploadFileServerUrl','prototype','_retryConnectingTimer','[CollaborationSession]','objectType','blockSize','NoPadding','APPLY_PERMISSION_DENIED','_init','pad','_http','clear','_registerDependencies','_doProcessBlock','NOT_FOUND','waitForRoom$','liveShareOperation','_undoRedoService','_localCacheService','replace','_clearCollaborationTimeoutTimer','getFocusedUnit','PERMISSION_DENIED','[OfflineState]:\x20received\x20rejection.','session.room-permission-denied','_getCurrentRevision','_type','_HTTPService','_append','authzUrl','fetch_missing','APPLY_REJECT','getRandomValues','UUID','_data','_timeoutTimer','algo','_onRemoteRetry','_createHmacHelper','transformChangesets','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearScheduledTask','list','_ENC_XFORM_MODE','image/gif','push','post','getLatestCsReqIdBySid','saveSheetBlock','format','headers','image/png','getInterceptPoints','Error\x20on\x20receiving\x20event','deleteCollaborator','_handlerCallback','UNIVER_SHEET','_onConflict','_imageSourceCache','_collabSessionService','extend','CONNECTOR_DATA_TOO_LARGE','MSG_FOR_ERROR','_getSessionTicket','_unitInfo$','_isPermissionRej','_transitionLocked','baseRev','runId','action','_clearRedo','roles','LIVESHARE_REQUEST_HOST','reqId','charAt','onRemoteRetry','duration','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','addHandlerCallback','_DEC_XFORM_MODE','liveShareNewHost','executeCommand','setConfig','[OfflineState]:\x20received\x20acknowledgement.','COMPRESS_MUTATION_SEND','close','failed\x20to\x20apply\x20missed\x20changesets!','exports','_resendTimer','_socket$','cfg','asObservable','/allowed','LIVESHARE_NEW_HOST','clone','splice','&to=','_socketService','kdf','_collaborationSessionService','_loadDoc','update','incrementRevOfUnit','_getAPIPrefixPath','_listenToNetworkCondition','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOwnPropertyDescriptor','salt','entries','OpenSSL','emitEvent','updateCursorEvent','awaiting_with_pending','fetching\x20missing\x20changesets\x20from\x20','reduce','onSendChangeset','[SyncedState]:\x20received\x20rejection.','complete','getPermissionPoint','Utf8','_onUserLeave','_memberService','abs','getImageSourceCache','/universer-api/snapshot/','enableAuthServer','updatePermissionObjEvent','NEW_CHANGESETS','_collaborationTimeoutTimer','c2Prime','OFFLINE','_disableEditing','Workbook','loadSheet','join','encrypt','set','$super','HttpImport'];_0x4a5b=function(){return _0x38ae9c;};return _0x4a5b();}var bs=Object[_0x2c2a28(0x295)],Rs=Object[_0x2c2a28(0x3ea)],Mt=(_0x2fa120,_0x5a834d,_0xc710f2,_0x5563ed)=>{var _0x5d0698=_0x2c2a28;for(var _0x1fd39b=_0x5563ed>0x1?void 0x0:_0x5563ed?Rs(_0x5a834d,_0xc710f2):_0x5a834d,_0x328203=_0x2fa120[_0x5d0698(0x2d7)]-0x1,_0x4fc119;_0x328203>=0x0;_0x328203--)(_0x4fc119=_0x2fa120[_0x328203])&&(_0x1fd39b=(_0x5563ed?_0x4fc119(_0x5a834d,_0xc710f2,_0x1fd39b):_0x4fc119(_0x1fd39b))||_0x1fd39b);return _0x5563ed&&_0x1fd39b&&bs(_0x5a834d,_0xc710f2,_0x1fd39b),_0x1fd39b;},k=(_0x18c0bd,_0x564f16)=>(_0x2536b3,_0x5a90b1)=>_0x564f16(_0x2536b3,_0x5a90b1,_0x18c0bd);let st=class extends _0x47a8c1{constructor(_0x9f07b9,_0x19ce46,_0x8e7a1b,_0x2f3ec4,_0x5ac2df,_0x3b6ed0,_0x2ba632,_0x29f3a2,_0x1f8572,_0x11c66a,_0x2751ea,_0xc05a6f,_0x4ee886){var _0x19ecc9=_0x2c2a28;super(),P(this,'_state$',new _0x20c9c0(null)),P(this,_0x19ecc9(0x214),this[_0x19ecc9(0x2ee)]['asObservable']()),P(this,_0x19ecc9(0x1f2)),P(this,_0x19ecc9(0x24a),!0x1),P(this,_0x19ecc9(0x2ba),''),P(this,'_changesetReqId',0x0),P(this,_0x19ecc9(0x249),this[_0x19ecc9(0x214)][_0x19ecc9(0x48a)](_0x56d51b(_0x68e6be=>_0x68e6be?_0x68e6be['status']:Ni[_0x19ecc9(0x402)]),_0x520b10(0x1))),P(this,_0x19ecc9(0x3c2),!0x1),P(this,_0x19ecc9(0x1db),[]),(this['unitID']=_0x9f07b9,this[_0x19ecc9(0x251)]=_0x19ce46,this[_0x19ecc9(0x39a)]=_0x8e7a1b,this['_injector']=_0x2f3ec4,this[_0x19ecc9(0x497)]=_0x5ac2df,this['_localeService']=_0x3b6ed0,this[_0x19ecc9(0x4a5)]=_0x2ba632,this['_eventService']=_0x29f3a2,this[_0x19ecc9(0x4aa)]=_0x1f8572,this[_0x19ecc9(0x33c)]=_0x11c66a,this[_0x19ecc9(0x2c2)]=_0x2751ea,this['_singleActiveUnitService']=_0xc05a6f,this['_localCacheService']=_0x4ee886);}get[_0x2c2a28(0x492)](){var _0x33a8a9=_0x2c2a28;return this[_0x33a8a9(0x1f2)];}async[_0x2c2a28(0x476)](){var _0x12c618=_0x2c2a28;if(this[_0x12c618(0x492)])throw new Error(_0x12c618(0x23d));await this[_0x12c618(0x388)]();}[_0x2c2a28(0x229)](){return this['_collaborationPaused']=!0x0,_0x1c9398(()=>{var _0x2085ba=_0xa9b7;this[_0x2085ba(0x24a)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x25518d){var _0xfbf444=_0x2c2a28;this[_0xfbf444(0x255)](_0x25518d);}['_updateState'](_0x97b52b){var _0x5b1da6=_0x2c2a28;this[_0x5b1da6(0x1f2)]=_0x97b52b,this[_0x5b1da6(0x2ee)]['next'](_0x97b52b);}async['_init'](){var _0x54649b=_0x2c2a28,_0x54f1f4;this[_0x54649b(0x25b)](await this[_0x54649b(0x273)]()),this['_singleActiveUnitService']&&((_0x54f1f4=this[_0x54649b(0x48d)])==null||_0x54f1f4['editingUnit'](this['unitID']),this[_0x54649b(0x2d5)](this[_0x54649b(0x48d)][_0x54649b(0x313)](this[_0x54649b(0x1d5)])[_0x54649b(0x203)](_0x333f81=>{var _0x49dbba=_0x54649b;this[_0x49dbba(0x4aa)][_0x49dbba(0x253)](_0x49dbba(0x27a),_0x49dbba(0x1e9),_0x333f81),_0x333f81===yi[_0x49dbba(0x2db)]?(this[_0x49dbba(0x45d)][_0x49dbba(0x3ee)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x49dbba(0x2c2)]['updatePermissionPoint'](new _0x26155d(this[_0x49dbba(0x1d5)])['id'],!0x1),this[_0x49dbba(0x2c2)][_0x49dbba(0x2ca)](!0x1)):(this[_0x49dbba(0x2c2)][_0x49dbba(0x4b2)](new _0x26155d(this[_0x49dbba(0x1d5)])['id'],!0x0),this[_0x49dbba(0x2c2)]['setShowComponents'](!0x0));})));let _0x4538d6=!0x1;return this[_0x54649b(0x2d5)](this['session']['sessionStatus$'][_0x54649b(0x203)](_0x269d18=>{var _0x26567d=_0x54649b;_0x269d18===Te['ONLINE']?this[_0x26567d(0x4ca)](_0x4538d6):_0x269d18===Te[_0x26567d(0x402)]&&(_0x4538d6=!0x0,this[_0x26567d(0x4ad)]());})),this[_0x54649b(0x2d5)](this[_0x54649b(0x251)][_0x54649b(0x2fc)][_0x54649b(0x203)](_0x2ca639=>{var _0xc5fa72=_0x54649b;try{switch(_0x2ca639[_0xc5fa72(0x2a8)]){case _0x42fed0[_0xc5fa72(0x3ff)]:{this[_0xc5fa72(0x2c1)](_0x541850(_0x2ca639[_0xc5fa72(0x263)]));break;}case _0x42fed0['CHANGESET_ACK']:{this['_onRemoteACK'](_0x2ca639[_0xc5fa72(0x263)]);break;}case _0x42fed0[_0xc5fa72(0x1e3)]:{this[_0xc5fa72(0x231)]();break;}case _0x42fed0['CHANGESET_SHOULD_RETRY']:{this[_0xc5fa72(0x3a5)](_0x2ca639[_0xc5fa72(0x263)]);break;}case _0x42fed0[_0xc5fa72(0x363)]:{this['_onFetchMissResult'](_0x2ca639[_0xc5fa72(0x263)]['changesets'][_0xc5fa72(0x1c7)](_0x2c79e2=>_0x541850(_0x2c79e2)));break;}case _0x42fed0[_0xc5fa72(0x32c)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x42fed0['UNISCRIPT_RUN']:break;}}catch(_0x105a6b){throw console[_0xc5fa72(0x425)](_0xc5fa72(0x3b5),_0x105a6b),_0x105a6b;}})),this[_0x54649b(0x1f2)];}[_0x2c2a28(0x4bc)](){var _0x16e625=_0x2c2a28;this[_0x16e625(0x3c2)]=!0x1;}['_lockTransition'](){var _0x3cfcc1=_0x2c2a28;if(this['_transitionLocked'])throw new Error(_0x3cfcc1(0x462));this[_0x3cfcc1(0x3c2)]=!0x0;}[_0x2c2a28(0x255)](_0x242077){var _0x48fcee=_0x2c2a28;this[_0x48fcee(0x4cb)](),this[_0x48fcee(0x25b)](this[_0x48fcee(0x1f2)]['appendMutation'](_0x242077)),this[_0x48fcee(0x4bc)]();}[_0x2c2a28(0x2c1)](_0x464bea){var _0x2eba45=_0x2c2a28;if(!(_0x464bea[_0x2eba45(0x428)]<=this[_0x2eba45(0x4a5)][_0x2eba45(0x495)](this[_0x2eba45(0x1d5)]))){if(this[_0x2eba45(0x24a)]){this['_remoteChangesetQueue'][_0x2eba45(0x3ad)](_0x464bea);return;}this[_0x2eba45(0x33f)](_0x464bea);}}[_0x2c2a28(0x1dd)](){var _0x4c8435=_0x2c2a28;this[_0x4c8435(0x1db)][_0x4c8435(0x458)](_0x59260d=>this[_0x4c8435(0x33f)](_0x59260d)),this[_0x4c8435(0x1db)]=[];}['_applyRemoteChangeset'](_0x506d03){var _0x512465=_0x2c2a28;const _0x42db5b=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x512465(0x497)][_0x512465(0x34f)][_0x512465(0x3b4)]()[_0x512465(0x4ce)])(_0x506d03[_0x512465(0x45c)],null)||_0x506d03[_0x512465(0x45c)],_0x5a8e0b={..._0x506d03,'mutations':_0x42db5b};this[_0x512465(0x4cb)](),this[_0x512465(0x25b)](this['_state'][_0x512465(0x448)](_0x5a8e0b)),this[_0x512465(0x4bc)]();}[_0x2c2a28(0x4c2)](_0x44b2ea){var _0x595a95=_0x2c2a28;this[_0x595a95(0x4cb)](),this[_0x595a95(0x25b)](this[_0x595a95(0x1f2)][_0x595a95(0x467)](_0x44b2ea)),this['_unlockTransition']();}['_onRemoteRejected'](_0x4d52fa){var _0x2ca83b=_0x2c2a28;this['_lockTransition'](),this[_0x2ca83b(0x25b)](this[_0x2ca83b(0x1f2)]['onRemoteRej'](_0x4d52fa)),this[_0x2ca83b(0x4bc)]();}[_0x2c2a28(0x3a5)](_0x36c617){var _0x3366b6=_0x2c2a28;this[_0x3366b6(0x4cb)](),this[_0x3366b6(0x25b)](this[_0x3366b6(0x1f2)][_0x3366b6(0x3cb)](_0x36c617)),this[_0x3366b6(0x4bc)]();}['_onFetchMissResult'](_0x3afc46){var _0x74b6ee=_0x2c2a28;if(!(this[_0x74b6ee(0x1f2)]instanceof te))throw new TypeError(_0x74b6ee(0x3cd));const _0x392ff3=_0x3afc46[_0x74b6ee(0x1c7)](_0x14193d=>{var _0x2ed108=_0x74b6ee;const _0xc51714=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x2ed108(0x497)]['interceptor'][_0x2ed108(0x3b4)]()[_0x2ed108(0x4ce)])(_0x14193d[_0x2ed108(0x45c)],null)||_0x14193d[_0x2ed108(0x45c)];return{..._0x14193d,'mutations':_0xc51714};});this[_0x74b6ee(0x4cb)](),this[_0x74b6ee(0x25b)](this[_0x74b6ee(0x1f2)][_0x74b6ee(0x301)](_0x392ff3)),this['_unlockTransition']();}[_0x2c2a28(0x4ad)](){var _0x332d0e=_0x2c2a28;this[_0x332d0e(0x4cb)](),this[_0x332d0e(0x25b)](this['_state']['toggleOffline']()),this[_0x332d0e(0x4bc)]();}['_toggleOnline'](_0xfcd533=!0x1){var _0x388dde=_0x2c2a28;this['_lockTransition'](),this['_updateState'](this['_state'][_0x388dde(0x468)]()),this[_0x388dde(0x4bc)]();const _0x1ceea1=this['_state'];_0xfcd533&&_0x1ceea1 instanceof Pe&&(this[_0x388dde(0x4cb)](),this[_0x388dde(0x25b)](_0x1ceea1[_0x388dde(0x440)]()),this[_0x388dde(0x4bc)]());}async['_createInitialState'](){return new Promise(_0xe48e92=>{var _0x53afea=_0xa9b7;this[_0x53afea(0x251)][_0x53afea(0x4d3)][_0x53afea(0x48a)](_0x3b0857(0x1))[_0x53afea(0x203)](async _0x55ba60=>{var _0x1151e2=_0x53afea;_0xe48e92(await this[_0x1151e2(0x2a7)](_0x55ba60===Te[_0x1151e2(0x2e0)]));});});}[_0x2c2a28(0x1f1)](){const _0x207702=this['unitID'];return{'onStateChange':(_0x3be8f9,_0x5ab15c)=>{var _0x422a10=_0xa9b7;if(_0x3be8f9!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3be8f9['status']+_0x422a10(0x43f)+_0x5ab15c[_0x422a10(0x4c3)]+_0x422a10(0x44a)+this[_0x422a10(0x1f2)][_0x422a10(0x4c3)]);this['_updateState'](_0x5ab15c);},'onSendChangeset':_0x1129ef=>{var _0x3544c6=_0xa9b7;_0x1129ef['sid']||(_0x1129ef[_0x3544c6(0x4ba)]=this[_0x3544c6(0x2ba)],_0x1129ef['reqId']=++this[_0x3544c6(0x455)]);const _0x39a248={'eventID':_0x42fed0[_0x3544c6(0x2cf)],'data':{'unitID':_0x1129ef[_0x3544c6(0x1d5)],'unitType':this[_0x3544c6(0x39a)],'changeset':_0x1129ef,'memberID':this[_0x3544c6(0x251)]['getMemberID']()}};this['session'][_0x3544c6(0x1d7)](_0x39a248,this[_0x3544c6(0x1d5)]);},'onMissingChangesets':({from:_0x2cd0cf,to:_0x1568a2})=>{var _0x41f882=_0xa9b7;this[_0x41f882(0x4aa)]['debug'](_0x41f882(0x27a),_0x41f882(0x3f1)+_0x2cd0cf+_0x41f882(0x1da)+_0x1568a2);const _0x54c32d={'eventID':_0x42fed0[_0x41f882(0x469)],'data':{'unitID':_0x207702,'unitType':this[_0x41f882(0x39a)],'from':_0x2cd0cf,'to':_0x1568a2}};this[_0x41f882(0x251)][_0x41f882(0x1d7)](_0x54c32d,this[_0x41f882(0x1d5)]);}};}async[_0x2c2a28(0x2a7)](_0x4e79b7){var _0x564262=_0x2c2a28,_0x51a509,_0x1aaaa8,_0x57690a;const _0x3afc0d=await((_0x51a509=this[_0x564262(0x392)])==null?void 0x0:_0x51a509[_0x564262(0x34d)](this['unitID'])),_0x5dadfe=(_0x1aaaa8=_0x3afc0d==null?void 0x0:_0x3afc0d[_0x564262(0x45c)])!=null?_0x1aaaa8:[],_0x2c38a0=(_0x57690a=_0x3afc0d==null?void 0x0:_0x3afc0d[_0x564262(0x417)])!=null?_0x57690a:null,_0x3c8e45=!!(_0x2c38a0!=null&&_0x2c38a0[_0x564262(0x4ba)])&&!!(_0x2c38a0!=null&&_0x2c38a0['reqId']);this[_0x564262(0x2ba)]=_0x3c8e45?_0x2c38a0[_0x564262(0x4ba)]:fs(),this['_changesetReqId']=_0x3c8e45?_0x2c38a0[_0x564262(0x3c9)]:0x0;const _0xecf201=this['unitID'];try{this[_0x564262(0x2a6)](_0x2c38a0,_0x5dadfe);}catch(_0x2cb777){this[_0x564262(0x4aa)][_0x564262(0x425)](_0x2cb777);}const _0x216d8a=this['_createHandler']();if(_0x4e79b7){const _0x679970=Di(this[_0x564262(0x25c)],_0xecf201,this['_type'],_0x2c38a0,_0x5dadfe,_0x216d8a);return _0x679970 instanceof oe?_0x679970['_schedule']():(_0x679970 instanceof ae||_0x679970 instanceof ue)&&_0x679970[_0x564262(0x2ab)](),_0x679970;}return this['_injector'][_0x564262(0x430)](fe,_0xecf201,this[_0x564262(0x39a)],_0x2c38a0,_0x5dadfe,_0x216d8a);}[_0x2c2a28(0x2a6)](_0x4b13ad,_0x5ce6b6){var _0x4b72e9=_0x2c2a28,_0x4e2a3b,_0x46fa69;const _0x4acf39=this[_0x4b72e9(0x497)]['interceptor']['fetchThroughInterceptors'](this[_0x4b72e9(0x497)]['interceptor'][_0x4b72e9(0x3b4)]()[_0x4b72e9(0x4ce)]);(_0x4e2a3b=_0x4acf39((_0x4b13ad==null?void 0x0:_0x4b13ad[_0x4b72e9(0x45c)])||[],null))==null||_0x4e2a3b['forEach'](_0x2145a6=>this[_0x4b72e9(0x33c)][_0x4b72e9(0x3d1)](_0x2145a6['id'],_0x2145a6[_0x4b72e9(0x1ee)])),(_0x46fa69=_0x4acf39(_0x5ce6b6||[],null))==null||_0x46fa69[_0x4b72e9(0x458)](_0x1f590e=>this[_0x4b72e9(0x33c)][_0x4b72e9(0x3d1)](_0x1f590e['id'],_0x1f590e[_0x4b72e9(0x1ee)]));}};st=Mt([k(0x3,_0x35f65b(_0x566e3e)),k(0x4,_0x35f65b(_0x479f18)),k(0x5,_0x35f65b(_0x1e63b0)),k(0x6,_0x35f65b(_0xf0d448)),k(0x7,_0x35f65b(pe)),k(0x8,_0x271f6f),k(0x9,_0x88164),k(0xa,_0xc2d263),k(0xb,_0x5d2991(_t)),k(0xc,_0x5d2991(X))],st);let Ct=class extends st{constructor(_0x3fb67f,_0x40418a,_0x5c88a2,_0x31c2d4,_0x5df004,_0x506b26,_0x4d7f28,_0x523fe8,_0x1efb25,_0x25e143,_0x41f057,_0x1a8ed4,_0x92882a){var _0x2b3e0c=_0x2c2a28;super(_0x3fb67f,_0x5c88a2,_0x40418a,_0x31c2d4,_0x5df004,_0x506b26,_0x4d7f28,_0x523fe8,_0x1efb25,_0x25e143,_0x41f057,_0x1a8ed4,_0x92882a),P(this,_0x2b3e0c(0x3b7),null),(this[_0x2b3e0c(0x1d5)]=_0x3fb67f,this[_0x2b3e0c(0x339)]=_0x40418a);}[_0x2c2a28(0x3ce)](_0x1b8d97){var _0x1bf0c5=_0x2c2a28;this[_0x1bf0c5(0x3b7)]=_0x1b8d97;}[_0x2c2a28(0x31d)](){var _0x2a23de=_0x2c2a28;this[_0x2a23de(0x3b7)]=null,super[_0x2a23de(0x31d)]();}[_0x2c2a28(0x1f1)](){var _0x3fc3fd=_0x2c2a28;const _0x1ec116=super[_0x3fc3fd(0x1f1)]();return _0x1ec116['onTransformIME']=_0x245c80=>{var _0x1201be=_0x3fc3fd,_0x3eb743,_0x19a4d4;return(_0x19a4d4=(_0x3eb743=this[_0x1201be(0x3b7)])==null?void 0x0:_0x3eb743[_0x1201be(0x22e)])==null?void 0x0:_0x19a4d4[_0x1201be(0x424)](_0x3eb743,_0x245c80);},_0x1ec116['onTransformState']=_0x2600ff=>{var _0x3fc772=_0x3fc3fd,_0x3b713d,_0x5c9750;return(_0x5c9750=(_0x3b713d=this[_0x3fc772(0x3b7)])==null?void 0x0:_0x3b713d[_0x3fc772(0x45b)])==null?void 0x0:_0x5c9750[_0x3fc772(0x424)](_0x3b713d,_0x2600ff);},_0x1ec116[_0x3fc3fd(0x1ff)]=_0x258c1a=>{var _0xa6d040=_0x3fc3fd,_0x1e3984,_0x1e2fe4;return(_0x1e2fe4=(_0x1e3984=this['_handlerCallback'])==null?void 0x0:_0x1e3984[_0xa6d040(0x1ff)])==null?void 0x0:_0x1e2fe4[_0xa6d040(0x424)](_0x1e3984,_0x258c1a);},_0x1ec116[_0x3fc3fd(0x30c)]=_0x50226b=>{var _0x13b2f4=_0x3fc3fd,_0x574aa4,_0x5308b4;return(_0x5308b4=(_0x574aa4=this['_handlerCallback'])==null?void 0x0:_0x574aa4[_0x13b2f4(0x30c)])==null?void 0x0:_0x5308b4['call'](_0x574aa4,_0x50226b);},_0x1ec116[_0x3fc3fd(0x485)]=_0x2c4e0=>{var _0x427794=_0x3fc3fd,_0x3b4824,_0x98c47b,_0x5dcaf2;if(!((_0x3b4824=this[_0x427794(0x3b7)])!=null&&_0x3b4824[_0x427794(0x485)]))throw new Error(_0x427794(0x1f8));return(_0x5dcaf2=(_0x98c47b=this['_handlerCallback'])==null?void 0x0:_0x98c47b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5dcaf2[_0x427794(0x424)](_0x98c47b,_0x2c4e0);},_0x1ec116[_0x3fc3fd(0x331)]=_0x349cdb=>{var _0x2dbb56=_0x3fc3fd,_0x6e514d,_0x374609,_0x5d5b1f;if(!((_0x6e514d=this[_0x2dbb56(0x3b7)])!=null&&_0x6e514d[_0x2dbb56(0x331)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5d5b1f=(_0x374609=this[_0x2dbb56(0x3b7)])==null?void 0x0:_0x374609[_0x2dbb56(0x331)])==null?void 0x0:_0x5d5b1f[_0x2dbb56(0x424)](_0x374609,_0x349cdb);},_0x1ec116;}async['_init'](){var _0x13ba8f=_0x2c2a28;const _0x49c6e7=await super['_init']();return this[_0x13ba8f(0x2d5)](this['_commandService'][_0x13ba8f(0x1fb)]((_0x381117,_0x509315)=>{var _0xda70ca=_0x13ba8f;if(_0x381117[_0xda70ca(0x339)]!==_0x10b845[_0xda70ca(0x2ae)]||_0x509315!=null&&_0x509315[_0xda70ca(0x47e)]||_0x509315!=null&&_0x509315['onlyLocal']||_0x381117['id']===_0x3acdae['id'])return;const _0x16adb6=_0x381117['params'];if((_0x16adb6==null?void 0x0:_0x16adb6[_0xda70ca(0x36c)])!==this[_0xda70ca(0x1d5)])return;const _0x3d8cd0=_0x381117,_0x9b8501=this[_0xda70ca(0x497)][_0xda70ca(0x34f)][_0xda70ca(0x412)](this[_0xda70ca(0x497)][_0xda70ca(0x34f)][_0xda70ca(0x3b4)]()[_0xda70ca(0x3d4)])([_0x3d8cd0],null)||[_0x3d8cd0];this[_0xda70ca(0x255)](_0x9b8501[0x0]);})),_0x49c6e7;}};Ct=Mt([k(0x3,_0x35f65b(_0x566e3e)),k(0x4,_0x35f65b(_0x479f18)),k(0x5,_0x35f65b(_0x1e63b0)),k(0x6,_0x35f65b(_0xf0d448)),k(0x7,_0x35f65b(pe)),k(0x8,_0x271f6f),k(0x9,_0x88164),k(0xa,_0xc2d263),k(0xb,_0x5d2991(_t)),k(0xc,_0x5d2991(X))],Ct);let bt=class extends st{constructor(_0x5795b3,_0x103eec,_0x2e407a,_0x1aa7b0,_0x39100,_0x5ab3a0,_0x3d48c8,_0x249c30,_0x5725ef,_0x36b92d,_0x3e21da,_0x43b4fb,_0xb8a0db,_0x4b385a){var _0x199193=_0x2c2a28;super(_0x5795b3,_0x2e407a,_0x103eec,_0x1aa7b0,_0x39100,_0x5ab3a0,_0x3d48c8,_0x5725ef,_0x36b92d,_0x3e21da,_0x43b4fb,_0xb8a0db,_0x4b385a),this[_0x199193(0x1d5)]=_0x5795b3,this[_0x199193(0x339)]=_0x103eec,this[_0x199193(0x361)]=_0x249c30;}['_createHandler'](){var _0x3c172b=_0x2c2a28;const _0x25c5c5=super[_0x3c172b(0x1f1)]();return _0x25c5c5[_0x3c172b(0x1ff)]=_0xc3eeaf=>this['_sheetTransformSelectionsService'][_0x3c172b(0x2d8)](_0xc3eeaf),_0x25c5c5;}async[_0x2c2a28(0x388)](){var _0x17b260=_0x2c2a28;const _0x5095d4=await super[_0x17b260(0x388)]();return this[_0x17b260(0x2d5)](this['_commandService']['onCommandExecuted']((_0x27c1ac,_0x4d2da9)=>{var _0x268f4d=_0x17b260;if(_0x27c1ac[_0x268f4d(0x339)]!==_0x10b845[_0x268f4d(0x2ae)]||_0x4d2da9!=null&&_0x4d2da9['fromCollab']||_0x4d2da9!=null&&_0x4d2da9[_0x268f4d(0x22f)])return;const _0x4300e4=_0x27c1ac[_0x268f4d(0x1ee)];if((_0x4300e4==null?void 0x0:_0x4300e4[_0x268f4d(0x36c)])!==this[_0x268f4d(0x1d5)])return;const _0x591f08=_0x27c1ac,_0x11fc4d=this[_0x268f4d(0x497)][_0x268f4d(0x34f)][_0x268f4d(0x412)](this[_0x268f4d(0x497)][_0x268f4d(0x34f)]['getInterceptPoints']()[_0x268f4d(0x3d4)])([_0x591f08],null)||[_0x591f08];this[_0x268f4d(0x255)](_0x11fc4d[0x0]);})),_0x5095d4;}};bt=Mt([k(0x3,_0x35f65b(_0x566e3e)),k(0x4,_0x35f65b(_0x479f18)),k(0x5,_0x35f65b(_0x1e63b0)),k(0x6,_0x35f65b(_0xf0d448)),k(0x7,_0x35f65b(nt)),k(0x8,_0x35f65b(pe)),k(0x9,_0x271f6f),k(0xa,_0x88164),k(0xb,_0xc2d263),k(0xc,_0x5d2991(_t)),k(0xd,_0x5d2991(X))],bt);var ys=Object['defineProperty'],Os=Object['getOwnPropertyDescriptor'],Ns=(_0x12137a,_0x5e8e8c,_0x406f09,_0x571989)=>{for(var _0x5b83ed=_0x571989>0x1?void 0x0:_0x571989?Os(_0x5e8e8c,_0x406f09):_0x5e8e8c,_0x360cea=_0x12137a['length']-0x1,_0x7f1065;_0x360cea>=0x0;_0x360cea--)(_0x7f1065=_0x12137a[_0x360cea])&&(_0x5b83ed=(_0x571989?_0x7f1065(_0x5e8e8c,_0x406f09,_0x5b83ed):_0x7f1065(_0x5b83ed))||_0x5b83ed);return _0x571989&&_0x5b83ed&&ys(_0x5e8e8c,_0x406f09,_0x5b83ed),_0x5b83ed;},vt=(_0x8c2868,_0x673592)=>(_0x1a7571,_0xc84306)=>_0x673592(_0x1a7571,_0xc84306,_0x8c2868);let rt=class extends _0x47a8c1{constructor(_0x597bd8,_0xcb45f3,_0x3fa5a6){var _0x2dad88=_0x2c2a28;super(),P(this,_0x2dad88(0x43c),new Map()),P(this,_0x2dad88(0x261),new _0x11d7f4()),P(this,'entityInit$',this[_0x2dad88(0x261)][_0x2dad88(0x3db)]()),(this[_0x2dad88(0x25c)]=_0x597bd8,this['_collabSessionService']=_0xcb45f3,this['_univerInstanceService']=_0x3fa5a6,this[_0x2dad88(0x388)]());}['dispose'](){var _0x3c1703=_0x2c2a28;super[_0x3c1703(0x31d)](),this['_entities']['forEach'](_0x543f0d=>_0x543f0d[_0x3c1703(0x31d)]()),this[_0x3c1703(0x43c)][_0x3c1703(0x38b)]();}[_0x2c2a28(0x227)](_0x38a97b){var _0x1added;return(_0x1added=this['_entities']['get'](_0x38a97b))!=null?_0x1added:null;}[_0x2c2a28(0x2ea)](_0x100a6a){var _0x4e0bfe=_0x2c2a28;const _0x4f2521=this[_0x4e0bfe(0x227)](_0x100a6a);return _0x4f2521?_0x14b589(_0x4f2521):this[_0x4e0bfe(0x261)][_0x4e0bfe(0x48a)](_0x3bb130(_0x15e62b=>_0x15e62b[_0x4e0bfe(0x1d5)]===_0x100a6a));}[_0x2c2a28(0x46f)](_0x4c68af){var _0x2edba8=_0x2c2a28;return _0x439434(this['getCollabEntity$'](_0x4c68af)[_0x2edba8(0x48a)](_0x2e5f7e(()=>{})));}[_0x2c2a28(0x388)](){var _0x4be938=_0x2c2a28;this[_0x4be938(0x23a)][_0x4be938(0x309)](_0x9daa1b[_0x4be938(0x3b8)])[_0x4be938(0x48a)](_0x571f93(this[_0x4be938(0x292)]),_0x2a0af3(0x10))[_0x4be938(0x203)](async _0x3a126d=>{var _0x4f94d0=_0x4be938;const _0x297b73=_0x3a126d[_0x4f94d0(0x330)](),_0x301029=await this['_startCollaboration'](_0x297b73,Q['UNIVER_SHEET']);this[_0x4f94d0(0x43c)][_0x4f94d0(0x408)](_0x297b73,_0x301029);}),this[_0x4be938(0x23a)][_0x4be938(0x309)](_0x9daa1b['UNIVER_DOC'])[_0x4be938(0x48a)](_0x571f93(this[_0x4be938(0x292)]),_0x2a0af3(0x10))[_0x4be938(0x48a)](_0x3bb130(_0x1ba82e=>!_0x1ba82e['getUnitId']()['startsWith']('__')))['subscribe'](async _0xc6ccba=>{var _0x4c7eeb=_0x4be938;const _0x58dfcf=_0xc6ccba[_0x4c7eeb(0x330)](),_0x337f7c=await this['_startCollaboration'](_0x58dfcf,Q[_0x4c7eeb(0x475)]);this[_0x4c7eeb(0x43c)]['set'](_0x58dfcf,_0x337f7c);}),_0x3a9312(this[_0x4be938(0x23a)][_0x4be938(0x2ce)](_0x9daa1b[_0x4be938(0x3b8)]),this['_univerInstanceService'][_0x4be938(0x2ce)](_0x9daa1b[_0x4be938(0x475)]))[_0x4be938(0x48a)](_0x571f93(this[_0x4be938(0x292)]))[_0x4be938(0x203)](_0x1b1078=>{var _0x4bb977=_0x4be938;const _0x5f15a4=_0x1b1078[_0x4bb977(0x330)](),_0xc61af3=this[_0x4bb977(0x43c)][_0x4bb977(0x49b)](_0x5f15a4);_0xc61af3&&(_0xc61af3[_0x4bb977(0x31d)](),this[_0x4bb977(0x43c)]['delete'](_0x5f15a4));});}async[_0x2c2a28(0x327)](_0x47102d,_0x1b9c08){var _0x3af4d3=_0x2c2a28;const _0x150903=await this[_0x3af4d3(0x3bb)][_0x3af4d3(0x2cd)](_0x47102d),_0x2553db=this['_injector'][_0x3af4d3(0x430)](this[_0x3af4d3(0x367)](_0x1b9c08),_0x47102d,_0x1b9c08,_0x150903);return await _0x2553db[_0x3af4d3(0x476)](),this['_entityInit$'][_0x3af4d3(0x2fd)](_0x2553db),_0x2553db;}[_0x2c2a28(0x367)](_0x3187cc){var _0x3bcb3c=_0x2c2a28;switch(_0x3187cc){case Q[_0x3bcb3c(0x475)]:return Ct;case Q[_0x3bcb3c(0x3b8)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3187cc);}}};rt=Ns([vt(0x0,_0x35f65b(_0x566e3e)),vt(0x1,_0x35f65b(Le)),vt(0x2,_0xb428b8)],rt);var Ps=Object[_0x2c2a28(0x295)],Ds=Object[_0x2c2a28(0x3ea)],ws=(_0x4d6a7c,_0x47967e,_0x270261,_0x4d46e0)=>{var _0x131d58=_0x2c2a28;for(var _0x264428=_0x4d46e0>0x1?void 0x0:_0x4d46e0?Ds(_0x47967e,_0x270261):_0x47967e,_0x49c14c=_0x4d6a7c[_0x131d58(0x2d7)]-0x1,_0x34e7cd;_0x49c14c>=0x0;_0x49c14c--)(_0x34e7cd=_0x4d6a7c[_0x49c14c])&&(_0x264428=(_0x4d46e0?_0x34e7cd(_0x47967e,_0x270261,_0x264428):_0x34e7cd(_0x264428))||_0x264428);return _0x4d46e0&&_0x264428&&Ps(_0x47967e,_0x270261,_0x264428),_0x264428;},Xt=(_0x1e2895,_0xe4138d)=>(_0x4f9fe4,_0x79723f)=>_0xe4138d(_0x4f9fe4,_0x79723f,_0x1e2895);const Us='DEFAULT_FILE_NAME',As=_0x2c2a28(0x248);let Rt=class extends _0x90ab03{constructor(_0x414c33,_0x32630b){var _0x531a7b=_0x2c2a28;super(),this[_0x531a7b(0x23a)]=_0x414c33,this[_0x531a7b(0x4a2)]=_0x32630b,this['_init']();}[_0x2c2a28(0x388)](){var _0x897294=_0x2c2a28;this['disposeWithMe'](this[_0x897294(0x23a)][_0x897294(0x36f)]['subscribe'](()=>{var _0x93d5e4=_0x897294,_0xeddfaf;const _0x24d0de=this['_univerInstanceService'][_0x93d5e4(0x395)]();let _0x5a34e6=(_0xeddfaf=this['_configService'][_0x93d5e4(0x1e2)](Us))!=null?_0xeddfaf:As;_0x24d0de instanceof _0x544507&&(_0x5a34e6=_0x24d0de[_0x93d5e4(0x431)]),document[_0x93d5e4(0x482)]=_0x5a34e6;}));}};Rt=ws([Xt(0x0,_0xb428b8),Xt(0x1,_0x27e728)],Rt);var xs=Object[_0x2c2a28(0x295)],Ls=Object[_0x2c2a28(0x3ea)],Ms=(_0x488d4d,_0x36c0e5,_0x274f38,_0x4aa606)=>{for(var _0x932409=_0x4aa606>0x1?void 0x0:_0x4aa606?Ls(_0x36c0e5,_0x274f38):_0x36c0e5,_0x17850f=_0x488d4d['length']-0x1,_0x3d2a6f;_0x17850f>=0x0;_0x17850f--)(_0x3d2a6f=_0x488d4d[_0x17850f])&&(_0x932409=(_0x4aa606?_0x3d2a6f(_0x36c0e5,_0x274f38,_0x932409):_0x3d2a6f(_0x932409))||_0x932409);return _0x4aa606&&_0x932409&&xs(_0x36c0e5,_0x274f38,_0x932409),_0x932409;},pt=(_0x35ede1,_0x36070c)=>(_0x529f57,_0x50ecc5)=>_0x36070c(_0x529f57,_0x50ecc5,_0x35ede1);let ot=class{constructor(_0x3ad5e6,_0x2eff63,_0x1b5f9d){var _0x20b1ed=_0x2c2a28;this[_0x20b1ed(0x4a2)]=_0x3ad5e6,this[_0x20b1ed(0x28b)]=_0x2eff63,this[_0x20b1ed(0x43a)]=_0x1b5f9d,this['init']();}[_0x2c2a28(0x476)](){var _0x401b26=_0x2c2a28;this[_0x401b26(0x28b)][_0x401b26(0x24b)]({'priority':0x1,'interceptor':(_0x4d91e0,_0x48fd29)=>_0x48fd29(_0x4d91e0)[_0x401b26(0x48a)](_0x340190(async _0x446b3a=>{var _0x5dbc75=_0x401b26;const _0x37cadb=_0x446b3a;if(_0x37cadb[_0x5dbc75(0x4c3)]===0x191){if(typeof window>'u')throw new Error(_0x5dbc75(0x2c4));if(window[_0x5dbc75(0x2f0)](this[_0x5dbc75(0x43a)]['t'](_0x5dbc75(0x260)))){const _0x8a343f=window[_0x5dbc75(0x210)](window[_0x5dbc75(0x332)][_0x5dbc75(0x219)]);window[_0x5dbc75(0x332)][_0x5dbc75(0x219)]=this[_0x5dbc75(0x275)]()+_0x5dbc75(0x371)+_0x8a343f;}}return _0x37cadb;}))});}['_getLoginPath'](){var _0x9c0401=_0x2c2a28,_0x527d7c,_0x41ad50;const _0x35c514=this[_0x9c0401(0x4a2)][_0x9c0401(0x1e2)](Fn),_0x14f723=this[_0x9c0401(0x4a2)][_0x9c0401(0x1e2)](Y);return(_0x41ad50=(_0x527d7c=_0x14f723==null?void 0x0:_0x14f723[_0x9c0401(0x2f5)])!=null?_0x527d7c:_0x35c514)!=null?_0x41ad50:Vn;}};ot=Ms([pt(0x0,_0x27e728),pt(0x1,_0x35f65b(_0x5ef5e1)),pt(0x2,_0x35f65b(_0x1e63b0))],ot);var $s=Object[_0x2c2a28(0x295)],Hs=Object[_0x2c2a28(0x3ea)],ks=(_0x14f94b,_0x2d86b1,_0x1bc7ae,_0x5d5f6b)=>{var _0xbc8ef9=_0x2c2a28;for(var _0x394dac=_0x5d5f6b>0x1?void 0x0:_0x5d5f6b?Hs(_0x2d86b1,_0x1bc7ae):_0x2d86b1,_0x2da5fc=_0x14f94b[_0xbc8ef9(0x2d7)]-0x1,_0x45d96a;_0x2da5fc>=0x0;_0x2da5fc--)(_0x45d96a=_0x14f94b[_0x2da5fc])&&(_0x394dac=(_0x5d5f6b?_0x45d96a(_0x2d86b1,_0x1bc7ae,_0x394dac):_0x45d96a(_0x394dac))||_0x394dac);return _0x5d5f6b&&_0x394dac&&$s(_0x2d86b1,_0x1bc7ae,_0x394dac),_0x394dac;},Zt=(_0x2fa68d,_0x395966)=>(_0x1e2817,_0x156c87)=>_0x395966(_0x1e2817,_0x156c87,_0x2fa68d);const wi='AUTHZ_URL_KEY',js=_0x2c2a28(0x4c8);let yt=class extends _0x90ab03{constructor(_0x266185,_0x40e6c3){var _0x437d3a=_0x2c2a28;super(),this[_0x437d3a(0x39b)]=_0x266185,this[_0x437d3a(0x4a2)]=_0x40e6c3,this[_0x437d3a(0x42a)]();}[_0x2c2a28(0x42a)](){var _0xefb349=_0x2c2a28;const _0x324012=this;this[_0xefb349(0x2d5)](this[_0xefb349(0x39b)][_0xefb349(0x24b)]({'priority':0x3e7,'interceptor':_0x190946({'isMatch'(_0x59434a){var _0x4b743d=_0xefb349,_0xd63e0c;if(_0x59434a[_0x4b743d(0x2ad)]==='POST'&&((_0xd63e0c=_0x59434a[_0x4b743d(0x21d)])!=null&&_0xd63e0c['body'])){const {objectID:_0x36ee76,objectType:_0x496311}=_0x59434a[_0x4b743d(0x21d)][_0x4b743d(0x256)]||{};if(!_0x36ee76||_0x496311===void 0x0)return!0x1;const _0x741c1f=_0x324012['_getAPIPrefixPath']()+'/'+_0x496311+_0x4b743d(0x2f1)+_0x36ee76+'/allowed';if(_0x59434a[_0x4b743d(0x499)]===_0x741c1f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x273b51){var _0x306913=_0xefb349,_0x2a8dc7;return(_0x2a8dc7=_0x273b51['requestParams'])==null?void 0x0:_0x2a8dc7[_0x306913(0x256)];},'mergeParamsToRequest'(_0x27095f,_0x4e0ec7){var _0x53da76=_0xefb349;const _0x53f88e=_0x324012[_0x53da76(0x3e7)]()+_0x53da76(0x1f3),_0x32e5e7=_0x27095f[_0x53da76(0x3f2)]((_0x35908e,_0x122639)=>{var _0x35495b=_0x53da76;const {unitID:_0x1c8f29,objectID:_0x34d18a,objectType:_0x48052b,actions:_0x2e3d80}=_0x122639;return _0x35908e[_0x1c8f29]||(_0x35908e[_0x1c8f29]={}),_0x35908e[_0x1c8f29][_0x34d18a]||(_0x35908e[_0x1c8f29][_0x34d18a]={'objectID':_0x34d18a,'objectType':_0x48052b,'actions':[]}),_0x35908e[_0x1c8f29][_0x34d18a][_0x35495b(0x4d2)]['push'](..._0x2e3d80),_0x35908e;},{}),_0x8f02fb=[];for(const _0x18e3d8 in _0x32e5e7)for(const _0xd88165 in _0x32e5e7[_0x18e3d8]){const {actions:_0x4c0be2,objectType:_0x4b7eb3}=_0x32e5e7[_0x18e3d8][_0xd88165],_0x204187=[...new Set(_0x4c0be2)];_0x8f02fb[_0x53da76(0x3ad)]({'unitID':_0x18e3d8,'objectID':_0xd88165,'objectType':_0x4b7eb3,'actions':_0x204187});}return new _0x1bca58(_0x53da76(0x452),_0x53f88e,{'headers':_0x4e0ec7['headers'],'withCredentials':_0x4e0ec7['withCredentials'],'responseType':_0x4e0ec7['responseType'],'body':{'requests':_0x8f02fb}});}},{'distributeResult'(_0x3b5bd5,_0x3a9a64){const {objectActions:_0x14756b}=_0x3b5bd5;return _0x3a9a64['map'](_0x33218f=>{var _0x5ac515=_0xa9b7;const {unitID:_0x5627e9,objectID:_0x58d9c3,actions:_0x2c578c}=_0x33218f,_0x4ee6b2=_0x14756b['find'](_0x2319c6=>_0x2319c6[_0x5ac515(0x1d5)]===_0x5627e9&&_0x2319c6[_0x5ac515(0x378)]===_0x58d9c3),_0x457895=_0x2c578c[_0x5ac515(0x1c7)](_0x14fb0d=>_0x4ee6b2==null?void 0x0:_0x4ee6b2[_0x5ac515(0x4d2)][_0x5ac515(0x336)](_0x154135=>_0x154135['action']===_0x14fb0d))[_0x5ac515(0x22a)](_0x4c7aea=>!!_0x4c7aea);return{'config':_0x33218f,'result':{'actions':_0x457895,'error':_0x3b5bd5[_0x5ac515(0x425)]}};});}})}));}[_0x2c2a28(0x3e7)](){var _0x1c5b2f=_0x2c2a28,_0x3d739b,_0x595b49;const _0x52d003=this[_0x1c5b2f(0x4a2)][_0x1c5b2f(0x1e2)](wi),_0x300b60=this['_configService']['getConfig'](Y);return(_0x595b49=(_0x3d739b=_0x300b60==null?void 0x0:_0x300b60[_0x1c5b2f(0x39d)])!=null?_0x3d739b:_0x52d003)!=null?_0x595b49:js;}async[_0x2c2a28(0x1e1)](_0x1c11b6){var _0x5440e4=_0x2c2a28;const _0x32f73a=this['_getAPIPrefixPath']()+'/'+_0x1c11b6['objectType']+_0x5440e4(0x478);return(await this['_HTTPService'][_0x5440e4(0x3ae)](_0x32f73a,{'body':_0x1c11b6}))['body'][_0x5440e4(0x378)]||'';}async['list'](_0x4a7017){var _0x4eeb0b=_0x2c2a28;const _0x1a29f8=this[_0x4eeb0b(0x3e7)]()+_0x4eeb0b(0x488);return(await this[_0x4eeb0b(0x39b)][_0x4eeb0b(0x3ae)](_0x1a29f8,{'body':_0x4a7017}))['body'][_0x4eeb0b(0x35d)];}async['update'](_0x31cbc9){var _0x5aadba=_0x2c2a28;const _0x3f0d9b=this['_getAPIPrefixPath']()+'/'+_0x31cbc9[_0x5aadba(0x384)]+_0x5aadba(0x2f1)+_0x31cbc9['objectID'];await this[_0x5aadba(0x39b)]['put'](_0x3f0d9b,{'body':_0x31cbc9});}async[_0x2c2a28(0x2bc)](_0xe43ed9){var _0x434a84=_0x2c2a28;const _0x324e58=this[_0x434a84(0x3e7)]()+'/'+_0xe43ed9[_0x434a84(0x384)]+'/object/'+_0xe43ed9[_0x434a84(0x378)]+_0x434a84(0x3dc);return(await this[_0x434a84(0x39b)][_0x434a84(0x3ae)](_0x324e58,{'body':_0xe43ed9}))[_0x434a84(0x256)]['actions'];}async[_0x2c2a28(0x426)](_0x50056b){var _0x5306eb=_0x2c2a28;const _0x35f149=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5306eb(0x39b)]['post'](_0x35f149,{'body':{'requests':_0x50056b}}))[_0x5306eb(0x256)][_0x5306eb(0x1fd)];}async['listRoles'](_0xe947ca){var _0x73e126=_0x2c2a28;const _0x594722=this['_getAPIPrefixPath']()+'/'+_0xe947ca[_0x73e126(0x384)]+_0x73e126(0x446),_0x402e4b=await this[_0x73e126(0x39b)]['post'](_0x594722,{'body':_0xe947ca});return{'roles':_0x402e4b[_0x73e126(0x256)][_0x73e126(0x3c7)],'actions':_0x402e4b['body']['actions']};}async[_0x2c2a28(0x3b6)](_0x4779e6){var _0x21a981=_0x2c2a28;const _0xad26b9=this[_0x21a981(0x3e7)]()+'/collaborator';await this[_0x21a981(0x39b)][_0x21a981(0x411)](_0xad26b9,{'params':{'collaboratorID':_0x4779e6[_0x21a981(0x47d)],'objectID':_0x4779e6[_0x21a981(0x378)],'unitID':_0x4779e6[_0x21a981(0x1d5)]}});}async[_0x2c2a28(0x319)](_0x2992b2){var _0x41dca7=_0x2c2a28;const _0x3e1399=this[_0x41dca7(0x3e7)]()+_0x41dca7(0x47b);await this[_0x41dca7(0x39b)]['patch'](_0x3e1399,{'body':_0x2992b2});}async[_0x2c2a28(0x413)](_0x3504f5){var _0x377614=_0x2c2a28;const _0x2de2cd=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x377614(0x39b)][_0x377614(0x3ae)](_0x2de2cd,{'body':_0x3504f5});}async[_0x2c2a28(0x217)](_0x3480a4){var _0x4fd0ce=_0x2c2a28;const _0x5343ee=this[_0x4fd0ce(0x3e7)]()+_0x4fd0ce(0x47b);return(await this[_0x4fd0ce(0x39b)]['get'](_0x5343ee,{'params':{'objectID':_0x3480a4['objectID'],'unitID':_0x3480a4[_0x4fd0ce(0x1d5)]}}))['body'][_0x4fd0ce(0x349)];}async['putCollaborators'](_0x3e391c){var _0x3e1734=_0x2c2a28;const _0xd78ec1=this[_0x3e1734(0x3e7)]()+'/collaborator';await this[_0x3e1734(0x39b)][_0x3e1734(0x280)](_0xd78ec1,{'body':_0x3e391c});}};yt=ks([Zt(0x0,_0x35f65b(_0x5ef5e1)),Zt(0x1,_0x35f65b(_0x27e728))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5ddbf3){var _0x2c02cc=_0x2c2a28;return _0x5ddbf3&&_0x5ddbf3['__esModule']&&Object[_0x2c02cc(0x381)][_0x2c02cc(0x27c)][_0x2c02cc(0x424)](_0x5ddbf3,_0x2c02cc(0x4bf))?_0x5ddbf3[_0x2c02cc(0x4bf)]:_0x5ddbf3;}var We={'exports':{}};function Bs(_0x45f851){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x45f851+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Fs=Ge[_0x2c2a28(0x3d7)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x1ca1c6,_0x5172d3){(function(_0x4b3603,_0x70fdf4){var _0x36cc56=_0xa9b7;_0x1ca1c6[_0x36cc56(0x3d7)]=_0x70fdf4();}(Fs,function(){var _0x598c55=_0x598c55||function(_0x5d51d8,_0x54b2cf){var _0x54f91a=_0xa9b7,_0x27bf01;if(typeof window<'u'&&window[_0x54f91a(0x41e)]&&(_0x27bf01=window[_0x54f91a(0x41e)]),typeof self<'u'&&self[_0x54f91a(0x41e)]&&(_0x27bf01=self[_0x54f91a(0x41e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x27bf01=globalThis['crypto']),!_0x27bf01&&typeof window<'u'&&window['msCrypto']&&(_0x27bf01=window[_0x54f91a(0x4c5)]),!_0x27bf01&&typeof mt<'u'&&mt[_0x54f91a(0x41e)]&&(_0x27bf01=mt[_0x54f91a(0x41e)]),!_0x27bf01&&typeof Bs==_0x54f91a(0x437))try{_0x27bf01=require(_0x54f91a(0x41e));}catch{}var _0x4e0ebb=function(){var _0x4e5997=_0x54f91a;if(_0x27bf01){if(typeof _0x27bf01[_0x4e5997(0x3a0)]==_0x4e5997(0x437))try{return _0x27bf01[_0x4e5997(0x3a0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x27bf01['randomBytes']=='function')try{return _0x27bf01[_0x4e5997(0x49e)](0x4)[_0x4e5997(0x46a)]();}catch{}}throw new Error(_0x4e5997(0x3a8));},_0xe50b87=Object[_0x54f91a(0x1e1)]||(function(){function _0x566219(){}return function(_0x298240){var _0x2f7d0e=_0xa9b7,_0x5a5e33;return _0x566219[_0x2f7d0e(0x381)]=_0x298240,_0x5a5e33=new _0x566219(),_0x566219['prototype']=null,_0x5a5e33;};}()),_0x186ebe={},_0x782d96=_0x186ebe[_0x54f91a(0x286)]={},_0x4de2eb=_0x782d96['Base']=(function(){return{'extend':function(_0x4e1640){var _0x178332=_0xa9b7,_0xd0346c=_0xe50b87(this);return _0x4e1640&&_0xd0346c[_0x178332(0x27d)](_0x4e1640),(!_0xd0346c['hasOwnProperty'](_0x178332(0x476))||this[_0x178332(0x476)]===_0xd0346c[_0x178332(0x476)])&&(_0xd0346c[_0x178332(0x476)]=function(){var _0xa1889=_0x178332;_0xd0346c[_0xa1889(0x409)][_0xa1889(0x476)][_0xa1889(0x4c0)](this,arguments);}),_0xd0346c[_0x178332(0x476)][_0x178332(0x381)]=_0xd0346c,_0xd0346c[_0x178332(0x409)]=this,_0xd0346c;},'create':function(){var _0x3a3cad=_0xa9b7,_0x242ad8=this[_0x3a3cad(0x3bc)]();return _0x242ad8[_0x3a3cad(0x476)][_0x3a3cad(0x4c0)](_0x242ad8,arguments),_0x242ad8;},'init':function(){},'mixIn':function(_0x2f6fa2){var _0x688727=_0xa9b7;for(var _0x321c7c in _0x2f6fa2)_0x2f6fa2[_0x688727(0x27c)](_0x321c7c)&&(this[_0x321c7c]=_0x2f6fa2[_0x321c7c]);_0x2f6fa2['hasOwnProperty']('toString')&&(this['toString']=_0x2f6fa2['toString']);},'clone':function(){var _0x197067=_0xa9b7;return this['init'][_0x197067(0x381)][_0x197067(0x3bc)](this);}};}()),_0x1cb656=_0x782d96[_0x54f91a(0x4be)]=_0x4de2eb[_0x54f91a(0x3bc)]({'init':function(_0x7b3170,_0x366e50){var _0x904b5e=_0x54f91a;_0x7b3170=this[_0x904b5e(0x20e)]=_0x7b3170||[],_0x366e50!=_0x54b2cf?this[_0x904b5e(0x35c)]=_0x366e50:this[_0x904b5e(0x35c)]=_0x7b3170[_0x904b5e(0x2d7)]*0x4;},'toString':function(_0x1be5a9){return(_0x1be5a9||_0x16c467)['stringify'](this);},'concat':function(_0x1058c5){var _0x2aeda3=_0x54f91a,_0xaf246a=this[_0x2aeda3(0x20e)],_0x1b4533=_0x1058c5[_0x2aeda3(0x20e)],_0x513a01=this['sigBytes'],_0x41080f=_0x1058c5['sigBytes'];if(this[_0x2aeda3(0x4b9)](),_0x513a01%0x4)for(var _0x32bc4d=0x0;_0x32bc4d<_0x41080f;_0x32bc4d++){var _0x2f0c2e=_0x1b4533[_0x32bc4d>>>0x2]>>>0x18-_0x32bc4d%0x4*0x8&0xff;_0xaf246a[_0x513a01+_0x32bc4d>>>0x2]|=_0x2f0c2e<<0x18-(_0x513a01+_0x32bc4d)%0x4*0x8;}else{for(var _0x20cf75=0x0;_0x20cf75<_0x41080f;_0x20cf75+=0x4)_0xaf246a[_0x513a01+_0x20cf75>>>0x2]=_0x1b4533[_0x20cf75>>>0x2];}return this[_0x2aeda3(0x35c)]+=_0x41080f,this;},'clamp':function(){var _0x515d6f=_0x54f91a,_0x3c94ec=this[_0x515d6f(0x20e)],_0x2c9e3a=this[_0x515d6f(0x35c)];_0x3c94ec[_0x2c9e3a>>>0x2]&=0xffffffff<<0x20-_0x2c9e3a%0x4*0x8,_0x3c94ec[_0x515d6f(0x2d7)]=_0x5d51d8['ceil'](_0x2c9e3a/0x4);},'clone':function(){var _0x274666=_0x54f91a,_0x1f5f05=_0x4de2eb['clone'][_0x274666(0x424)](this);return _0x1f5f05[_0x274666(0x20e)]=this['words'][_0x274666(0x28c)](0x0),_0x1f5f05;},'random':function(_0x3b00de){var _0x507df8=_0x54f91a;for(var _0x53a316=[],_0x189fe8=0x0;_0x189fe8<_0x3b00de;_0x189fe8+=0x4)_0x53a316[_0x507df8(0x3ad)](_0x4e0ebb());return new _0x1cb656[(_0x507df8(0x476))](_0x53a316,_0x3b00de);}}),_0x1dcebc=_0x186ebe['enc']={},_0x16c467=_0x1dcebc[_0x54f91a(0x429)]={'stringify':function(_0x439aa3){var _0x8280d8=_0x54f91a;for(var _0x2b4c37=_0x439aa3[_0x8280d8(0x20e)],_0x482f98=_0x439aa3[_0x8280d8(0x35c)],_0x16e4b7=[],_0x2de8ae=0x0;_0x2de8ae<_0x482f98;_0x2de8ae++){var _0xb5f527=_0x2b4c37[_0x2de8ae>>>0x2]>>>0x18-_0x2de8ae%0x4*0x8&0xff;_0x16e4b7[_0x8280d8(0x3ad)]((_0xb5f527>>>0x4)[_0x8280d8(0x33a)](0x10)),_0x16e4b7[_0x8280d8(0x3ad)]((_0xb5f527&0xf)[_0x8280d8(0x33a)](0x10));}return _0x16e4b7[_0x8280d8(0x406)]('');},'parse':function(_0x1f9ea8){var _0x19e8be=_0x54f91a;for(var _0x13cf55=_0x1f9ea8[_0x19e8be(0x2d7)],_0x1e779f=[],_0xaa6f65=0x0;_0xaa6f65<_0x13cf55;_0xaa6f65+=0x2)_0x1e779f[_0xaa6f65>>>0x3]|=parseInt(_0x1f9ea8[_0x19e8be(0x43e)](_0xaa6f65,0x2),0x10)<<0x18-_0xaa6f65%0x8*0x4;return new _0x1cb656[(_0x19e8be(0x476))](_0x1e779f,_0x13cf55/0x2);}},_0x39f498=_0x1dcebc[_0x54f91a(0x459)]={'stringify':function(_0xfc8439){var _0x2a55d8=_0x54f91a;for(var _0x2aa731=_0xfc8439['words'],_0x131435=_0xfc8439['sigBytes'],_0x3f3135=[],_0x350626=0x0;_0x350626<_0x131435;_0x350626++){var _0x387fed=_0x2aa731[_0x350626>>>0x2]>>>0x18-_0x350626%0x4*0x8&0xff;_0x3f3135['push'](String[_0x2a55d8(0x32f)](_0x387fed));}return _0x3f3135['join']('');},'parse':function(_0x536e84){var _0x6e5771=_0x54f91a;for(var _0xc93a23=_0x536e84[_0x6e5771(0x2d7)],_0x3e9adf=[],_0x312429=0x0;_0x312429<_0xc93a23;_0x312429++)_0x3e9adf[_0x312429>>>0x2]|=(_0x536e84[_0x6e5771(0x30f)](_0x312429)&0xff)<<0x18-_0x312429%0x4*0x8;return new _0x1cb656['init'](_0x3e9adf,_0xc93a23);}},_0x57e346=_0x1dcebc[_0x54f91a(0x3f7)]={'stringify':function(_0x56ce9b){var _0x4b1dbb=_0x54f91a;try{return decodeURIComponent(escape(_0x39f498[_0x4b1dbb(0x439)](_0x56ce9b)));}catch{throw new Error(_0x4b1dbb(0x2aa));}},'parse':function(_0x1c3f18){var _0x429005=_0x54f91a;return _0x39f498[_0x429005(0x1c6)](unescape(encodeURIComponent(_0x1c3f18)));}},_0x1c17f5=_0x782d96[_0x54f91a(0x2b5)]=_0x4de2eb['extend']({'reset':function(){var _0x264928=_0x54f91a;this[_0x264928(0x3a2)]=new _0x1cb656[(_0x264928(0x476))](),this['_nDataBytes']=0x0;},'_append':function(_0x3a8996){var _0x3cb0e3=_0x54f91a;typeof _0x3a8996==_0x3cb0e3(0x453)&&(_0x3a8996=_0x57e346[_0x3cb0e3(0x1c6)](_0x3a8996)),this[_0x3cb0e3(0x3a2)]['concat'](_0x3a8996),this[_0x3cb0e3(0x2a0)]+=_0x3a8996[_0x3cb0e3(0x35c)];},'_process':function(_0x3a0882){var _0x588068=_0x54f91a,_0x243571,_0xeeda42=this['_data'],_0x5b130f=_0xeeda42[_0x588068(0x20e)],_0x25219d=_0xeeda42[_0x588068(0x35c)],_0x3cc563=this[_0x588068(0x385)],_0xe598a7=_0x3cc563*0x4,_0x5426c2=_0x25219d/_0xe598a7;_0x3a0882?_0x5426c2=_0x5d51d8[_0x588068(0x240)](_0x5426c2):_0x5426c2=_0x5d51d8[_0x588068(0x304)]((_0x5426c2|0x0)-this[_0x588068(0x442)],0x0);var _0x3e20d2=_0x5426c2*_0x3cc563,_0x1ca559=_0x5d51d8[_0x588068(0x283)](_0x3e20d2*0x4,_0x25219d);if(_0x3e20d2){for(var _0x2be8b3=0x0;_0x2be8b3<_0x3e20d2;_0x2be8b3+=_0x3cc563)this[_0x588068(0x38d)](_0x5b130f,_0x2be8b3);_0x243571=_0x5b130f['splice'](0x0,_0x3e20d2),_0xeeda42[_0x588068(0x35c)]-=_0x1ca559;}return new _0x1cb656[(_0x588068(0x476))](_0x243571,_0x1ca559);},'clone':function(){var _0x31c1db=_0x54f91a,_0x2239f9=_0x4de2eb['clone'][_0x31c1db(0x424)](this);return _0x2239f9[_0x31c1db(0x3a2)]=this[_0x31c1db(0x3a2)][_0x31c1db(0x3de)](),_0x2239f9;},'_minBufferSize':0x0});_0x782d96[_0x54f91a(0x44d)]=_0x1c17f5[_0x54f91a(0x3bc)]({'cfg':_0x4de2eb['extend'](),'init':function(_0x56be94){var _0x2e752e=_0x54f91a;this[_0x2e752e(0x3da)]=this[_0x2e752e(0x3da)]['extend'](_0x56be94),this['reset']();},'reset':function(){var _0xdee547=_0x54f91a;_0x1c17f5[_0xdee547(0x268)][_0xdee547(0x424)](this),this['_doReset']();},'update':function(_0x410a77){var _0x35110c=_0x54f91a;return this[_0x35110c(0x39c)](_0x410a77),this[_0x35110c(0x2dd)](),this;},'finalize':function(_0x3c88ac){var _0x6532d2=_0x54f91a;_0x3c88ac&&this[_0x6532d2(0x39c)](_0x3c88ac);var _0x1b5b64=this['_doFinalize']();return _0x1b5b64;},'blockSize':0x10,'_createHelper':function(_0x4ec9fd){return function(_0x34f4bf,_0x18d8f5){var _0x47c98d=_0xa9b7;return new _0x4ec9fd['init'](_0x18d8f5)[_0x47c98d(0x463)](_0x34f4bf);};},'_createHmacHelper':function(_0x542291){return function(_0x2245e3,_0x26ae38){var _0x332f4a=_0xa9b7;return new _0x2b2b96['HMAC'][(_0x332f4a(0x476))](_0x542291,_0x26ae38)['finalize'](_0x2245e3);};}});var _0x2b2b96=_0x186ebe[_0x54f91a(0x3a4)]={};return _0x186ebe;}(Math);return _0x598c55;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0x2c2a28(0x3d7)],ei;function Ui(){var _0x4a3b60=_0x2c2a28;return ei||(ei=0x1,function(_0x197b3a,_0x1c650b){(function(_0x33f962,_0x5cb87e){var _0x95c140=_0xa9b7;_0x197b3a[_0x95c140(0x3d7)]=_0x5cb87e(ne());}(Vs,function(_0x46b997){var _0xc2409f=_0xa9b7;return(function(){var _0x19bf1f=_0xa9b7,_0x58e2eb=_0x46b997,_0x366ab0=_0x58e2eb[_0x19bf1f(0x286)],_0x221037=_0x366ab0[_0x19bf1f(0x4be)],_0x58409b=_0x58e2eb[_0x19bf1f(0x272)];_0x58409b[_0x19bf1f(0x373)]={'stringify':function(_0x3cdece){var _0x1c07a0=_0x19bf1f,_0x59104d=_0x3cdece[_0x1c07a0(0x20e)],_0x4fe528=_0x3cdece[_0x1c07a0(0x35c)],_0x122f55=this[_0x1c07a0(0x20a)];_0x3cdece[_0x1c07a0(0x4b9)]();for(var _0x4b19d1=[],_0x28ed28=0x0;_0x28ed28<_0x4fe528;_0x28ed28+=0x3)for(var _0x3edd81=_0x59104d[_0x28ed28>>>0x2]>>>0x18-_0x28ed28%0x4*0x8&0xff,_0x199f02=_0x59104d[_0x28ed28+0x1>>>0x2]>>>0x18-(_0x28ed28+0x1)%0x4*0x8&0xff,_0x245983=_0x59104d[_0x28ed28+0x2>>>0x2]>>>0x18-(_0x28ed28+0x2)%0x4*0x8&0xff,_0x22d78a=_0x3edd81<<0x10|_0x199f02<<0x8|_0x245983,_0x502123=0x0;_0x502123<0x4&&_0x28ed28+_0x502123*0.75<_0x4fe528;_0x502123++)_0x4b19d1['push'](_0x122f55['charAt'](_0x22d78a>>>0x6*(0x3-_0x502123)&0x3f));var _0xb0fabe=_0x122f55[_0x1c07a0(0x3ca)](0x40);if(_0xb0fabe){for(;_0x4b19d1[_0x1c07a0(0x2d7)]%0x4;)_0x4b19d1[_0x1c07a0(0x3ad)](_0xb0fabe);}return _0x4b19d1[_0x1c07a0(0x406)]('');},'parse':function(_0x4d753c){var _0x53d4ca=_0x19bf1f,_0x10d2fa=_0x4d753c[_0x53d4ca(0x2d7)],_0x4ad4e0=this[_0x53d4ca(0x20a)],_0x761a4b=this[_0x53d4ca(0x27f)];if(!_0x761a4b){_0x761a4b=this['_reverseMap']=[];for(var _0x47f2aa=0x0;_0x47f2aa<_0x4ad4e0[_0x53d4ca(0x2d7)];_0x47f2aa++)_0x761a4b[_0x4ad4e0[_0x53d4ca(0x30f)](_0x47f2aa)]=_0x47f2aa;}var _0x2d182e=_0x4ad4e0['charAt'](0x40);if(_0x2d182e){var _0x42b7cc=_0x4d753c[_0x53d4ca(0x450)](_0x2d182e);_0x42b7cc!==-0x1&&(_0x10d2fa=_0x42b7cc);}return _0x29fc27(_0x4d753c,_0x10d2fa,_0x761a4b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x29fc27(_0x482836,_0x37ae7a,_0x5761f5){var _0x118f5c=_0x19bf1f;for(var _0x311c7f=[],_0x54a600=0x0,_0x29c860=0x0;_0x29c860<_0x37ae7a;_0x29c860++)if(_0x29c860%0x4){var _0x1b61f8=_0x5761f5[_0x482836[_0x118f5c(0x30f)](_0x29c860-0x1)]<<_0x29c860%0x4*0x2,_0x12679c=_0x5761f5[_0x482836[_0x118f5c(0x30f)](_0x29c860)]>>>0x6-_0x29c860%0x4*0x2,_0x5a74f5=_0x1b61f8|_0x12679c;_0x311c7f[_0x54a600>>>0x2]|=_0x5a74f5<<0x18-_0x54a600%0x4*0x8,_0x54a600++;}return _0x221037[_0x118f5c(0x1e1)](_0x311c7f,_0x54a600);}}()),_0x46b997[_0xc2409f(0x272)]['Base64'];}));}(Ke)),Ke[_0x4a3b60(0x3d7)];}var ze={'exports':{}},Ws=ze[_0x2c2a28(0x3d7)],ti;function Gs(){return ti||(ti=0x1,function(_0x462af3,_0x8e3923){(function(_0x33f498,_0xacf416){var _0x42c1b6=_0xa9b7;_0x462af3[_0x42c1b6(0x3d7)]=_0xacf416(ne());}(Ws,function(_0x46250c){var _0x5431a5=_0xa9b7;return function(_0x175dfc){var _0x514e47=_0xa9b7,_0x2cdbda=_0x46250c,_0x3ec5f9=_0x2cdbda[_0x514e47(0x286)],_0x380050=_0x3ec5f9[_0x514e47(0x4be)],_0x255d08=_0x3ec5f9['Hasher'],_0x426b1a=_0x2cdbda[_0x514e47(0x3a4)],_0x12c5ec=[];(function(){var _0x2be725=_0x514e47;for(var _0x26cc69=0x0;_0x26cc69<0x40;_0x26cc69++)_0x12c5ec[_0x26cc69]=_0x175dfc[_0x2be725(0x3fa)](_0x175dfc[_0x2be725(0x432)](_0x26cc69+0x1))*0x100000000|0x0;}());var _0x4b2f56=_0x426b1a[_0x514e47(0x2cc)]=_0x255d08[_0x514e47(0x3bc)]({'_doReset':function(){var _0x35e1e1=_0x514e47;this[_0x35e1e1(0x21c)]=new _0x380050[(_0x35e1e1(0x476))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x413705,_0x39379b){var _0xb04c9a=_0x514e47;for(var _0x46f001=0x0;_0x46f001<0x10;_0x46f001++){var _0x5e65f0=_0x39379b+_0x46f001,_0x5b59ff=_0x413705[_0x5e65f0];_0x413705[_0x5e65f0]=(_0x5b59ff<<0x8|_0x5b59ff>>>0x18)&0xff00ff|(_0x5b59ff<<0x18|_0x5b59ff>>>0x8)&0xff00ff00;}var _0x573149=this[_0xb04c9a(0x21c)][_0xb04c9a(0x20e)],_0x5949e8=_0x413705[_0x39379b+0x0],_0x5df898=_0x413705[_0x39379b+0x1],_0x3d2ed9=_0x413705[_0x39379b+0x2],_0x340c75=_0x413705[_0x39379b+0x3],_0x37152a=_0x413705[_0x39379b+0x4],_0x36901e=_0x413705[_0x39379b+0x5],_0x3cca4c=_0x413705[_0x39379b+0x6],_0x3ebedd=_0x413705[_0x39379b+0x7],_0x11a0ae=_0x413705[_0x39379b+0x8],_0xb6e4ab=_0x413705[_0x39379b+0x9],_0x255492=_0x413705[_0x39379b+0xa],_0x4436c9=_0x413705[_0x39379b+0xb],_0x5138dc=_0x413705[_0x39379b+0xc],_0x3486a7=_0x413705[_0x39379b+0xd],_0x4a4013=_0x413705[_0x39379b+0xe],_0x3737e6=_0x413705[_0x39379b+0xf],_0x2d2f6d=_0x573149[0x0],_0x3c6615=_0x573149[0x1],_0x33b4b2=_0x573149[0x2],_0x8957fc=_0x573149[0x3];_0x2d2f6d=_0x5d657d(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5949e8,0x7,_0x12c5ec[0x0]),_0x8957fc=_0x5d657d(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x5df898,0xc,_0x12c5ec[0x1]),_0x33b4b2=_0x5d657d(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3d2ed9,0x11,_0x12c5ec[0x2]),_0x3c6615=_0x5d657d(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x340c75,0x16,_0x12c5ec[0x3]),_0x2d2f6d=_0x5d657d(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x37152a,0x7,_0x12c5ec[0x4]),_0x8957fc=_0x5d657d(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x36901e,0xc,_0x12c5ec[0x5]),_0x33b4b2=_0x5d657d(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3cca4c,0x11,_0x12c5ec[0x6]),_0x3c6615=_0x5d657d(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3ebedd,0x16,_0x12c5ec[0x7]),_0x2d2f6d=_0x5d657d(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x11a0ae,0x7,_0x12c5ec[0x8]),_0x8957fc=_0x5d657d(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0xb6e4ab,0xc,_0x12c5ec[0x9]),_0x33b4b2=_0x5d657d(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x255492,0x11,_0x12c5ec[0xa]),_0x3c6615=_0x5d657d(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x4436c9,0x16,_0x12c5ec[0xb]),_0x2d2f6d=_0x5d657d(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5138dc,0x7,_0x12c5ec[0xc]),_0x8957fc=_0x5d657d(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x3486a7,0xc,_0x12c5ec[0xd]),_0x33b4b2=_0x5d657d(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x4a4013,0x11,_0x12c5ec[0xe]),_0x3c6615=_0x5d657d(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3737e6,0x16,_0x12c5ec[0xf]),_0x2d2f6d=_0x3c4fa9(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5df898,0x5,_0x12c5ec[0x10]),_0x8957fc=_0x3c4fa9(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x3cca4c,0x9,_0x12c5ec[0x11]),_0x33b4b2=_0x3c4fa9(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x4436c9,0xe,_0x12c5ec[0x12]),_0x3c6615=_0x3c4fa9(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x5949e8,0x14,_0x12c5ec[0x13]),_0x2d2f6d=_0x3c4fa9(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x36901e,0x5,_0x12c5ec[0x14]),_0x8957fc=_0x3c4fa9(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x255492,0x9,_0x12c5ec[0x15]),_0x33b4b2=_0x3c4fa9(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3737e6,0xe,_0x12c5ec[0x16]),_0x3c6615=_0x3c4fa9(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x37152a,0x14,_0x12c5ec[0x17]),_0x2d2f6d=_0x3c4fa9(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0xb6e4ab,0x5,_0x12c5ec[0x18]),_0x8957fc=_0x3c4fa9(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x4a4013,0x9,_0x12c5ec[0x19]),_0x33b4b2=_0x3c4fa9(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x340c75,0xe,_0x12c5ec[0x1a]),_0x3c6615=_0x3c4fa9(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x11a0ae,0x14,_0x12c5ec[0x1b]),_0x2d2f6d=_0x3c4fa9(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x3486a7,0x5,_0x12c5ec[0x1c]),_0x8957fc=_0x3c4fa9(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x3d2ed9,0x9,_0x12c5ec[0x1d]),_0x33b4b2=_0x3c4fa9(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3ebedd,0xe,_0x12c5ec[0x1e]),_0x3c6615=_0x3c4fa9(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x5138dc,0x14,_0x12c5ec[0x1f]),_0x2d2f6d=_0x3d4de4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x36901e,0x4,_0x12c5ec[0x20]),_0x8957fc=_0x3d4de4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x11a0ae,0xb,_0x12c5ec[0x21]),_0x33b4b2=_0x3d4de4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x4436c9,0x10,_0x12c5ec[0x22]),_0x3c6615=_0x3d4de4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x4a4013,0x17,_0x12c5ec[0x23]),_0x2d2f6d=_0x3d4de4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5df898,0x4,_0x12c5ec[0x24]),_0x8957fc=_0x3d4de4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x37152a,0xb,_0x12c5ec[0x25]),_0x33b4b2=_0x3d4de4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3ebedd,0x10,_0x12c5ec[0x26]),_0x3c6615=_0x3d4de4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x255492,0x17,_0x12c5ec[0x27]),_0x2d2f6d=_0x3d4de4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x3486a7,0x4,_0x12c5ec[0x28]),_0x8957fc=_0x3d4de4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x5949e8,0xb,_0x12c5ec[0x29]),_0x33b4b2=_0x3d4de4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x340c75,0x10,_0x12c5ec[0x2a]),_0x3c6615=_0x3d4de4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3cca4c,0x17,_0x12c5ec[0x2b]),_0x2d2f6d=_0x3d4de4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0xb6e4ab,0x4,_0x12c5ec[0x2c]),_0x8957fc=_0x3d4de4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x5138dc,0xb,_0x12c5ec[0x2d]),_0x33b4b2=_0x3d4de4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3737e6,0x10,_0x12c5ec[0x2e]),_0x3c6615=_0x3d4de4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3d2ed9,0x17,_0x12c5ec[0x2f]),_0x2d2f6d=_0x5291b4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5949e8,0x6,_0x12c5ec[0x30]),_0x8957fc=_0x5291b4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x3ebedd,0xa,_0x12c5ec[0x31]),_0x33b4b2=_0x5291b4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x4a4013,0xf,_0x12c5ec[0x32]),_0x3c6615=_0x5291b4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x36901e,0x15,_0x12c5ec[0x33]),_0x2d2f6d=_0x5291b4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x5138dc,0x6,_0x12c5ec[0x34]),_0x8957fc=_0x5291b4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x340c75,0xa,_0x12c5ec[0x35]),_0x33b4b2=_0x5291b4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x255492,0xf,_0x12c5ec[0x36]),_0x3c6615=_0x5291b4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x5df898,0x15,_0x12c5ec[0x37]),_0x2d2f6d=_0x5291b4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x11a0ae,0x6,_0x12c5ec[0x38]),_0x8957fc=_0x5291b4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x3737e6,0xa,_0x12c5ec[0x39]),_0x33b4b2=_0x5291b4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3cca4c,0xf,_0x12c5ec[0x3a]),_0x3c6615=_0x5291b4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3486a7,0x15,_0x12c5ec[0x3b]),_0x2d2f6d=_0x5291b4(_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x8957fc,_0x37152a,0x6,_0x12c5ec[0x3c]),_0x8957fc=_0x5291b4(_0x8957fc,_0x2d2f6d,_0x3c6615,_0x33b4b2,_0x4436c9,0xa,_0x12c5ec[0x3d]),_0x33b4b2=_0x5291b4(_0x33b4b2,_0x8957fc,_0x2d2f6d,_0x3c6615,_0x3d2ed9,0xf,_0x12c5ec[0x3e]),_0x3c6615=_0x5291b4(_0x3c6615,_0x33b4b2,_0x8957fc,_0x2d2f6d,_0xb6e4ab,0x15,_0x12c5ec[0x3f]),_0x573149[0x0]=_0x573149[0x0]+_0x2d2f6d|0x0,_0x573149[0x1]=_0x573149[0x1]+_0x3c6615|0x0,_0x573149[0x2]=_0x573149[0x2]+_0x33b4b2|0x0,_0x573149[0x3]=_0x573149[0x3]+_0x8957fc|0x0;},'_doFinalize':function(){var _0x1a5f68=_0x514e47,_0x1e919a=this['_data'],_0x24b4cb=_0x1e919a[_0x1a5f68(0x20e)],_0x21981c=this[_0x1a5f68(0x2a0)]*0x8,_0x31ec2f=_0x1e919a['sigBytes']*0x8;_0x24b4cb[_0x31ec2f>>>0x5]|=0x80<<0x18-_0x31ec2f%0x20;var _0x4a6f0c=_0x175dfc[_0x1a5f68(0x346)](_0x21981c/0x100000000),_0x3d19db=_0x21981c;_0x24b4cb[(_0x31ec2f+0x40>>>0x9<<0x4)+0xf]=(_0x4a6f0c<<0x8|_0x4a6f0c>>>0x18)&0xff00ff|(_0x4a6f0c<<0x18|_0x4a6f0c>>>0x8)&0xff00ff00,_0x24b4cb[(_0x31ec2f+0x40>>>0x9<<0x4)+0xe]=(_0x3d19db<<0x8|_0x3d19db>>>0x18)&0xff00ff|(_0x3d19db<<0x18|_0x3d19db>>>0x8)&0xff00ff00,_0x1e919a[_0x1a5f68(0x35c)]=(_0x24b4cb[_0x1a5f68(0x2d7)]+0x1)*0x4,this[_0x1a5f68(0x2dd)]();for(var _0x3c3728=this[_0x1a5f68(0x21c)],_0x362600=_0x3c3728[_0x1a5f68(0x20e)],_0x48f253=0x0;_0x48f253<0x4;_0x48f253++){var _0x196bcb=_0x362600[_0x48f253];_0x362600[_0x48f253]=(_0x196bcb<<0x8|_0x196bcb>>>0x18)&0xff00ff|(_0x196bcb<<0x18|_0x196bcb>>>0x8)&0xff00ff00;}return _0x3c3728;},'clone':function(){var _0x328e1f=_0x514e47,_0x44c30c=_0x255d08['clone'][_0x328e1f(0x424)](this);return _0x44c30c['_hash']=this[_0x328e1f(0x21c)][_0x328e1f(0x3de)](),_0x44c30c;}});function _0x5d657d(_0x25fbed,_0x3679eb,_0x4e13c7,_0x50e36c,_0x1a81bd,_0x22beaf,_0x201351){var _0x1d529a=_0x25fbed+(_0x3679eb&_0x4e13c7|~_0x3679eb&_0x50e36c)+_0x1a81bd+_0x201351;return(_0x1d529a<<_0x22beaf|_0x1d529a>>>0x20-_0x22beaf)+_0x3679eb;}function _0x3c4fa9(_0x3fa7d0,_0x5a12a3,_0x5cfbd9,_0x3aed84,_0x439b25,_0x531166,_0x2d8b67){var _0x2a5e08=_0x3fa7d0+(_0x5a12a3&_0x3aed84|_0x5cfbd9&~_0x3aed84)+_0x439b25+_0x2d8b67;return(_0x2a5e08<<_0x531166|_0x2a5e08>>>0x20-_0x531166)+_0x5a12a3;}function _0x3d4de4(_0x41f128,_0x1dd466,_0x8a0ff0,_0x1798d9,_0x3b104e,_0x70357d,_0x3a6c4f){var _0x3c9b87=_0x41f128+(_0x1dd466^_0x8a0ff0^_0x1798d9)+_0x3b104e+_0x3a6c4f;return(_0x3c9b87<<_0x70357d|_0x3c9b87>>>0x20-_0x70357d)+_0x1dd466;}function _0x5291b4(_0x40ae40,_0x2f4f2b,_0x177a4c,_0x518226,_0x8f95dc,_0x64db46,_0x4da34b){var _0x11d454=_0x40ae40+(_0x177a4c^(_0x2f4f2b|~_0x518226))+_0x8f95dc+_0x4da34b;return(_0x11d454<<_0x64db46|_0x11d454>>>0x20-_0x64db46)+_0x2f4f2b;}_0x2cdbda['MD5']=_0x255d08['_createHelper'](_0x4b2f56),_0x2cdbda['HmacMD5']=_0x255d08[_0x514e47(0x3a6)](_0x4b2f56);}(Math),_0x46250c[_0x5431a5(0x2cc)];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function _0xa9b7(_0xdfa645,_0x458055){var _0x4a5bf8=_0x4a5b();return _0xa9b7=function(_0xa9b76,_0x14212c){_0xa9b76=_0xa9b76-0x1c6;var _0x1ab908=_0x4a5bf8[_0xa9b76];return _0x1ab908;},_0xa9b7(_0xdfa645,_0x458055);}function zs(){var _0xa11a0b=_0x2c2a28;return ii||(ii=0x1,function(_0x2464f5,_0x844e7b){(function(_0x30032b,_0x23e641){var _0x2a4616=_0xa9b7;_0x2464f5[_0x2a4616(0x3d7)]=_0x23e641(ne());}(Ks,function(_0xe7f24c){return(function(){var _0x529716=_0xa9b7,_0xe993c8=_0xe7f24c,_0x2e4738=_0xe993c8[_0x529716(0x286)],_0x27bac7=_0x2e4738[_0x529716(0x4be)],_0x5bb97c=_0x2e4738[_0x529716(0x44d)],_0x167648=_0xe993c8[_0x529716(0x3a4)],_0x14b353=[],_0x139f98=_0x167648['SHA1']=_0x5bb97c['extend']({'_doReset':function(){var _0x284a71=_0x529716;this[_0x284a71(0x21c)]=new _0x27bac7[(_0x284a71(0x476))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c5e73,_0x307456){var _0x5030e8=_0x529716;for(var _0x34d5d4=this[_0x5030e8(0x21c)][_0x5030e8(0x20e)],_0x391d5c=_0x34d5d4[0x0],_0x190eec=_0x34d5d4[0x1],_0x5bd05c=_0x34d5d4[0x2],_0x424c25=_0x34d5d4[0x3],_0x1bd87e=_0x34d5d4[0x4],_0x1ca137=0x0;_0x1ca137<0x50;_0x1ca137++){if(_0x1ca137<0x10)_0x14b353[_0x1ca137]=_0x2c5e73[_0x307456+_0x1ca137]|0x0;else{var _0x170214=_0x14b353[_0x1ca137-0x3]^_0x14b353[_0x1ca137-0x8]^_0x14b353[_0x1ca137-0xe]^_0x14b353[_0x1ca137-0x10];_0x14b353[_0x1ca137]=_0x170214<<0x1|_0x170214>>>0x1f;}var _0x4934ad=(_0x391d5c<<0x5|_0x391d5c>>>0x1b)+_0x1bd87e+_0x14b353[_0x1ca137];_0x1ca137<0x14?_0x4934ad+=(_0x190eec&_0x5bd05c|~_0x190eec&_0x424c25)+0x5a827999:_0x1ca137<0x28?_0x4934ad+=(_0x190eec^_0x5bd05c^_0x424c25)+0x6ed9eba1:_0x1ca137<0x3c?_0x4934ad+=(_0x190eec&_0x5bd05c|_0x190eec&_0x424c25|_0x5bd05c&_0x424c25)-0x70e44324:_0x4934ad+=(_0x190eec^_0x5bd05c^_0x424c25)-0x359d3e2a,_0x1bd87e=_0x424c25,_0x424c25=_0x5bd05c,_0x5bd05c=_0x190eec<<0x1e|_0x190eec>>>0x2,_0x190eec=_0x391d5c,_0x391d5c=_0x4934ad;}_0x34d5d4[0x0]=_0x34d5d4[0x0]+_0x391d5c|0x0,_0x34d5d4[0x1]=_0x34d5d4[0x1]+_0x190eec|0x0,_0x34d5d4[0x2]=_0x34d5d4[0x2]+_0x5bd05c|0x0,_0x34d5d4[0x3]=_0x34d5d4[0x3]+_0x424c25|0x0,_0x34d5d4[0x4]=_0x34d5d4[0x4]+_0x1bd87e|0x0;},'_doFinalize':function(){var _0x1c7dab=_0x529716,_0x412a50=this[_0x1c7dab(0x3a2)],_0x376554=_0x412a50[_0x1c7dab(0x20e)],_0x1085fb=this[_0x1c7dab(0x2a0)]*0x8,_0x3c987e=_0x412a50[_0x1c7dab(0x35c)]*0x8;return _0x376554[_0x3c987e>>>0x5]|=0x80<<0x18-_0x3c987e%0x20,_0x376554[(_0x3c987e+0x40>>>0x9<<0x4)+0xe]=Math[_0x1c7dab(0x346)](_0x1085fb/0x100000000),_0x376554[(_0x3c987e+0x40>>>0x9<<0x4)+0xf]=_0x1085fb,_0x412a50[_0x1c7dab(0x35c)]=_0x376554[_0x1c7dab(0x2d7)]*0x4,this[_0x1c7dab(0x2dd)](),this[_0x1c7dab(0x21c)];},'clone':function(){var _0x33f5ff=_0x529716,_0x356280=_0x5bb97c['clone'][_0x33f5ff(0x424)](this);return _0x356280[_0x33f5ff(0x21c)]=this[_0x33f5ff(0x21c)][_0x33f5ff(0x3de)](),_0x356280;}});_0xe993c8['SHA1']=_0x5bb97c[_0x529716(0x445)](_0x139f98),_0xe993c8[_0x529716(0x47a)]=_0x5bb97c[_0x529716(0x3a6)](_0x139f98);}()),_0xe7f24c['SHA1'];}));}(qe)),qe[_0xa11a0b(0x3d7)];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){var _0x5b1616=_0x2c2a28;return ni||(ni=0x1,function(_0x152046,_0x49ba68){(function(_0x586730,_0x4d0b61){_0x152046['exports']=_0x4d0b61(ne());}(Ys,function(_0x33bac4){(function(){var _0x5a8f47=_0xa9b7,_0x5d30d1=_0x33bac4,_0x20992e=_0x5d30d1[_0x5a8f47(0x286)],_0x265d42=_0x20992e[_0x5a8f47(0x2e6)],_0x3e5e1a=_0x5d30d1[_0x5a8f47(0x272)],_0x363c86=_0x3e5e1a[_0x5a8f47(0x3f7)],_0x1ac75c=_0x5d30d1[_0x5a8f47(0x3a4)];_0x1ac75c['HMAC']=_0x265d42[_0x5a8f47(0x3bc)]({'init':function(_0x384201,_0x10fc1){var _0x20d94e=_0x5a8f47;_0x384201=this['_hasher']=new _0x384201[(_0x20d94e(0x476))](),typeof _0x10fc1==_0x20d94e(0x453)&&(_0x10fc1=_0x363c86[_0x20d94e(0x1c6)](_0x10fc1));var _0x16eb4f=_0x384201['blockSize'],_0xf1824b=_0x16eb4f*0x4;_0x10fc1[_0x20d94e(0x35c)]>_0xf1824b&&(_0x10fc1=_0x384201['finalize'](_0x10fc1)),_0x10fc1[_0x20d94e(0x4b9)]();for(var _0x5bf369=this['_oKey']=_0x10fc1[_0x20d94e(0x3de)](),_0x1dd023=this[_0x20d94e(0x36d)]=_0x10fc1[_0x20d94e(0x3de)](),_0x43f83e=_0x5bf369[_0x20d94e(0x20e)],_0x5b0979=_0x1dd023[_0x20d94e(0x20e)],_0x54126e=0x0;_0x54126e<_0x16eb4f;_0x54126e++)_0x43f83e[_0x54126e]^=0x5c5c5c5c,_0x5b0979[_0x54126e]^=0x36363636;_0x5bf369[_0x20d94e(0x35c)]=_0x1dd023[_0x20d94e(0x35c)]=_0xf1824b,this[_0x20d94e(0x268)]();},'reset':function(){var _0x5d95a9=_0x5a8f47,_0x26bfc2=this[_0x5d95a9(0x44f)];_0x26bfc2[_0x5d95a9(0x268)](),_0x26bfc2['update'](this[_0x5d95a9(0x36d)]);},'update':function(_0x2b4cf8){var _0x2ee5a0=_0x5a8f47;return this[_0x2ee5a0(0x44f)][_0x2ee5a0(0x3e5)](_0x2b4cf8),this;},'finalize':function(_0x4cc465){var _0x125cf7=_0x5a8f47,_0x487eb1=this[_0x125cf7(0x44f)],_0x56deb3=_0x487eb1[_0x125cf7(0x463)](_0x4cc465);_0x487eb1[_0x125cf7(0x268)]();var _0x5862af=_0x487eb1[_0x125cf7(0x463)](this[_0x125cf7(0x1fe)][_0x125cf7(0x3de)]()[_0x125cf7(0x49c)](_0x56deb3));return _0x5862af;}});}());}));}(Je)),Je[_0x5b1616(0x3d7)];}var Js=Ye[_0x2c2a28(0x3d7)],si;function Ai(){var _0xb79ebb=_0x2c2a28;return si||(si=0x1,function(_0x46a037,_0x1a345c){(function(_0x3b5ad6,_0x4807fe,_0x3ecb1a){var _0x44656b=_0xa9b7;_0x46a037[_0x44656b(0x3d7)]=_0x4807fe(ne(),zs(),qs());}(Js,function(_0x1f861f){return(function(){var _0x3c279d=_0xa9b7,_0x296a35=_0x1f861f,_0x5c349e=_0x296a35['lib'],_0x320579=_0x5c349e[_0x3c279d(0x2e6)],_0x30ecdc=_0x5c349e[_0x3c279d(0x4be)],_0x4b95fc=_0x296a35[_0x3c279d(0x3a4)],_0x4832a2=_0x4b95fc[_0x3c279d(0x2cc)],_0x429a2e=_0x4b95fc[_0x3c279d(0x1d6)]=_0x320579['extend']({'cfg':_0x320579[_0x3c279d(0x3bc)]({'keySize':0x80/0x20,'hasher':_0x4832a2,'iterations':0x1}),'init':function(_0x398eaa){var _0x1b85ca=_0x3c279d;this[_0x1b85ca(0x3da)]=this[_0x1b85ca(0x3da)][_0x1b85ca(0x3bc)](_0x398eaa);},'compute':function(_0x1e7dec,_0x2a4e37){var _0x5ac1f8=_0x3c279d;for(var _0xdb1109,_0x12d507=this[_0x5ac1f8(0x3da)],_0x1f7f86=_0x12d507[_0x5ac1f8(0x2cb)][_0x5ac1f8(0x1e1)](),_0x358a82=_0x30ecdc[_0x5ac1f8(0x1e1)](),_0x2c03a7=_0x358a82[_0x5ac1f8(0x20e)],_0x1255c3=_0x12d507[_0x5ac1f8(0x480)],_0x15ad68=_0x12d507[_0x5ac1f8(0x31c)];_0x2c03a7[_0x5ac1f8(0x2d7)]<_0x1255c3;){_0xdb1109&&_0x1f7f86[_0x5ac1f8(0x3e5)](_0xdb1109),_0xdb1109=_0x1f7f86[_0x5ac1f8(0x3e5)](_0x1e7dec)[_0x5ac1f8(0x463)](_0x2a4e37),_0x1f7f86[_0x5ac1f8(0x268)]();for(var _0x2f299b=0x1;_0x2f299b<_0x15ad68;_0x2f299b++)_0xdb1109=_0x1f7f86[_0x5ac1f8(0x463)](_0xdb1109),_0x1f7f86[_0x5ac1f8(0x268)]();_0x358a82[_0x5ac1f8(0x49c)](_0xdb1109);}return _0x358a82[_0x5ac1f8(0x35c)]=_0x1255c3*0x4,_0x358a82;}});_0x296a35[_0x3c279d(0x1d6)]=function(_0x5431c8,_0x1bd597,_0x3d41c1){var _0x377297=_0x3c279d;return _0x429a2e[_0x377297(0x1e1)](_0x3d41c1)[_0x377297(0x1e6)](_0x5431c8,_0x1bd597);};}()),_0x1f861f['EvpKDF'];}));}(Ye)),Ye[_0xb79ebb(0x3d7)];}var Xe={'exports':{}},Xs=Xe[_0x2c2a28(0x3d7)],ri;function xi(){var _0x59867f=_0x2c2a28;return ri||(ri=0x1,function(_0x21cb0e,_0x24ef26){(function(_0x395195,_0x53c1a9,_0x45cf89){var _0xd95916=_0xa9b7;_0x21cb0e[_0xd95916(0x3d7)]=_0x53c1a9(ne(),Ai());}(Xs,function(_0x1b53f2){var _0x52048c=_0xa9b7;_0x1b53f2[_0x52048c(0x286)]['Cipher']||function(_0x242ddb){var _0x23c859=_0x52048c,_0x3a55ae=_0x1b53f2,_0x5c35ce=_0x3a55ae[_0x23c859(0x286)],_0x424cd3=_0x5c35ce[_0x23c859(0x2e6)],_0x1295b7=_0x5c35ce[_0x23c859(0x4be)],_0x2be5ee=_0x5c35ce['BufferedBlockAlgorithm'],_0x1d74e5=_0x3a55ae['enc'];_0x1d74e5[_0x23c859(0x3f7)];var _0x206598=_0x1d74e5[_0x23c859(0x373)],_0x3516fb=_0x3a55ae[_0x23c859(0x3a4)],_0x29995f=_0x3516fb[_0x23c859(0x1d6)],_0x53510d=_0x5c35ce[_0x23c859(0x287)]=_0x2be5ee[_0x23c859(0x3bc)]({'cfg':_0x424cd3[_0x23c859(0x3bc)](),'createEncryptor':function(_0x4709a7,_0x173294){var _0x2199b5=_0x23c859;return this[_0x2199b5(0x1e1)](this['_ENC_XFORM_MODE'],_0x4709a7,_0x173294);},'createDecryptor':function(_0x3686db,_0x3e9a67){var _0x3ef4cd=_0x23c859;return this[_0x3ef4cd(0x1e1)](this[_0x3ef4cd(0x3cf)],_0x3686db,_0x3e9a67);},'init':function(_0x5ee29f,_0xfb0ea5,_0x53ca52){var _0xcb9daa=_0x23c859;this[_0xcb9daa(0x3da)]=this[_0xcb9daa(0x3da)][_0xcb9daa(0x3bc)](_0x53ca52),this[_0xcb9daa(0x41a)]=_0x5ee29f,this[_0xcb9daa(0x370)]=_0xfb0ea5,this[_0xcb9daa(0x268)]();},'reset':function(){var _0x37b372=_0x23c859;_0x2be5ee['reset'][_0x37b372(0x424)](this),this[_0x37b372(0x44b)]();},'process':function(_0x4c42da){var _0x27a3fb=_0x23c859;return this[_0x27a3fb(0x39c)](_0x4c42da),this[_0x27a3fb(0x2dd)]();},'finalize':function(_0x503cd5){var _0x4fd305=_0x23c859;_0x503cd5&&this[_0x4fd305(0x39c)](_0x503cd5);var _0x54fb6d=this['_doFinalize']();return _0x54fb6d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d63d1(_0x106902){var _0x1a7095=_0xa9b7;return typeof _0x106902==_0x1a7095(0x453)?_0xccf946:_0x3d6a73;}return function(_0x5e030e){return{'encrypt':function(_0x29bde9,_0x2afac4,_0x5df73e){var _0xb81e13=_0xa9b7;return _0x1d63d1(_0x2afac4)[_0xb81e13(0x407)](_0x5e030e,_0x29bde9,_0x2afac4,_0x5df73e);},'decrypt':function(_0x446bee,_0x2fe769,_0x2f3383){return _0x1d63d1(_0x2fe769)['decrypt'](_0x5e030e,_0x446bee,_0x2fe769,_0x2f3383);}};};}())});_0x5c35ce[_0x23c859(0x43d)]=_0x53510d[_0x23c859(0x3bc)]({'_doFinalize':function(){var _0x5dc9f9=this['_process'](!0x0);return _0x5dc9f9;},'blockSize':0x1});var _0x349102=_0x3a55ae[_0x23c859(0x4b7)]={},_0x27c702=_0x5c35ce[_0x23c859(0x33b)]=_0x424cd3[_0x23c859(0x3bc)]({'createEncryptor':function(_0x4d663a,_0x239ba4){var _0x2bec0e=_0x23c859;return this[_0x2bec0e(0x316)][_0x2bec0e(0x1e1)](_0x4d663a,_0x239ba4);},'createDecryptor':function(_0x88ae58,_0x2f8159){var _0x267497=_0x23c859;return this[_0x267497(0x308)]['create'](_0x88ae58,_0x2f8159);},'init':function(_0x214e1a,_0x236fe3){var _0x4aa697=_0x23c859;this['_cipher']=_0x214e1a,this[_0x4aa697(0x207)]=_0x236fe3;}}),_0x35691d=_0x349102['CBC']=(function(){var _0x5007c4=_0x23c859,_0x5c7eb9=_0x27c702[_0x5007c4(0x3bc)]();_0x5c7eb9[_0x5007c4(0x316)]=_0x5c7eb9[_0x5007c4(0x3bc)]({'processBlock':function(_0x1c1667,_0x7cc118){var _0x328970=_0x5007c4,_0x10df3b=this[_0x328970(0x360)],_0x390b2b=_0x10df3b[_0x328970(0x385)];_0x55121c['call'](this,_0x1c1667,_0x7cc118,_0x390b2b),_0x10df3b[_0x328970(0x236)](_0x1c1667,_0x7cc118),this[_0x328970(0x1eb)]=_0x1c1667[_0x328970(0x28c)](_0x7cc118,_0x7cc118+_0x390b2b);}}),_0x5c7eb9['Decryptor']=_0x5c7eb9[_0x5007c4(0x3bc)]({'processBlock':function(_0x2f7c76,_0x427c93){var _0x5f33bb=_0x5007c4,_0x133ed1=this[_0x5f33bb(0x360)],_0x548e22=_0x133ed1[_0x5f33bb(0x385)],_0x53e374=_0x2f7c76[_0x5f33bb(0x28c)](_0x427c93,_0x427c93+_0x548e22);_0x133ed1[_0x5f33bb(0x465)](_0x2f7c76,_0x427c93),_0x55121c['call'](this,_0x2f7c76,_0x427c93,_0x548e22),this[_0x5f33bb(0x1eb)]=_0x53e374;}});function _0x55121c(_0xa2d9e7,_0x1c67f0,_0x36493b){var _0x35986f=_0x5007c4,_0x462bd8,_0x1f01d2=this[_0x35986f(0x207)];_0x1f01d2?(_0x462bd8=_0x1f01d2,this[_0x35986f(0x207)]=_0x242ddb):_0x462bd8=this[_0x35986f(0x1eb)];for(var _0x16e4ba=0x0;_0x16e4ba<_0x36493b;_0x16e4ba++)_0xa2d9e7[_0x1c67f0+_0x16e4ba]^=_0x462bd8[_0x16e4ba];}return _0x5c7eb9;}()),_0x411073=_0x3a55ae['pad']={},_0x2175f6=_0x411073[_0x23c859(0x326)]={'pad':function(_0x297b7b,_0x51f61a){var _0x237987=_0x23c859;for(var _0x64fb0e=_0x51f61a*0x4,_0x5a7974=_0x64fb0e-_0x297b7b[_0x237987(0x35c)]%_0x64fb0e,_0x1a5262=_0x5a7974<<0x18|_0x5a7974<<0x10|_0x5a7974<<0x8|_0x5a7974,_0x8c00ee=[],_0x3f5e89=0x0;_0x3f5e89<_0x5a7974;_0x3f5e89+=0x4)_0x8c00ee[_0x237987(0x3ad)](_0x1a5262);var _0x3d7d41=_0x1295b7[_0x237987(0x1e1)](_0x8c00ee,_0x5a7974);_0x297b7b[_0x237987(0x49c)](_0x3d7d41);},'unpad':function(_0x384dbc){var _0x282e5c=_0x23c859,_0x5c8c75=_0x384dbc[_0x282e5c(0x20e)][_0x384dbc['sigBytes']-0x1>>>0x2]&0xff;_0x384dbc['sigBytes']-=_0x5c8c75;}};_0x5c35ce[_0x23c859(0x21e)]=_0x53510d[_0x23c859(0x3bc)]({'cfg':_0x53510d[_0x23c859(0x3da)][_0x23c859(0x3bc)]({'mode':_0x35691d,'padding':_0x2175f6}),'reset':function(){var _0x2613dd=_0x23c859,_0xa86ab5;_0x53510d[_0x2613dd(0x268)][_0x2613dd(0x424)](this);var _0x578844=this[_0x2613dd(0x3da)],_0x44c499=_0x578844['iv'],_0x28106b=_0x578844[_0x2613dd(0x4b7)];this[_0x2613dd(0x41a)]==this[_0x2613dd(0x3ab)]?_0xa86ab5=_0x28106b[_0x2613dd(0x2f6)]:(_0xa86ab5=_0x28106b[_0x2613dd(0x345)],this[_0x2613dd(0x442)]=0x1),this[_0x2613dd(0x1c9)]&&this['_mode'][_0x2613dd(0x46e)]==_0xa86ab5?this['_mode'][_0x2613dd(0x476)](this,_0x44c499&&_0x44c499[_0x2613dd(0x20e)]):(this[_0x2613dd(0x1c9)]=_0xa86ab5[_0x2613dd(0x424)](_0x28106b,this,_0x44c499&&_0x44c499[_0x2613dd(0x20e)]),this[_0x2613dd(0x1c9)][_0x2613dd(0x46e)]=_0xa86ab5);},'_doProcessBlock':function(_0x51bafd,_0x217f47){var _0x5060c1=_0x23c859;this[_0x5060c1(0x1c9)]['processBlock'](_0x51bafd,_0x217f47);},'_doFinalize':function(){var _0x4cdf1a=_0x23c859,_0x269d5e,_0x445eae=this[_0x4cdf1a(0x3da)][_0x4cdf1a(0x4a4)];return this['_xformMode']==this[_0x4cdf1a(0x3ab)]?(_0x445eae[_0x4cdf1a(0x389)](this[_0x4cdf1a(0x3a2)],this['blockSize']),_0x269d5e=this[_0x4cdf1a(0x2dd)](!0x0)):(_0x269d5e=this[_0x4cdf1a(0x2dd)](!0x0),_0x445eae['unpad'](_0x269d5e)),_0x269d5e;},'blockSize':0x80/0x20});var _0x22deec=_0x5c35ce[_0x23c859(0x230)]=_0x424cd3[_0x23c859(0x3bc)]({'init':function(_0x50314f){var _0x260945=_0x23c859;this[_0x260945(0x27d)](_0x50314f);},'toString':function(_0x2ef52c){var _0x8bbb09=_0x23c859;return(_0x2ef52c||this[_0x8bbb09(0x31f)])[_0x8bbb09(0x439)](this);}}),_0x30b040=_0x3a55ae[_0x23c859(0x3b1)]={},_0x16387b=_0x30b040[_0x23c859(0x3ed)]={'stringify':function(_0x44a7b){var _0x125998=_0x23c859,_0x2d18cd,_0x1e07aa=_0x44a7b[_0x125998(0x4b0)],_0x21414d=_0x44a7b['salt'];return _0x21414d?_0x2d18cd=_0x1295b7[_0x125998(0x1e1)]([0x53616c74,0x65645f5f])[_0x125998(0x49c)](_0x21414d)[_0x125998(0x49c)](_0x1e07aa):_0x2d18cd=_0x1e07aa,_0x2d18cd[_0x125998(0x33a)](_0x206598);},'parse':function(_0x5c194c){var _0x4c101b=_0x23c859,_0x1e3353,_0x53aa51=_0x206598[_0x4c101b(0x1c6)](_0x5c194c),_0x54e871=_0x53aa51[_0x4c101b(0x20e)];return _0x54e871[0x0]==0x53616c74&&_0x54e871[0x1]==0x65645f5f&&(_0x1e3353=_0x1295b7[_0x4c101b(0x1e1)](_0x54e871[_0x4c101b(0x28c)](0x2,0x4)),_0x54e871[_0x4c101b(0x3df)](0x0,0x4),_0x53aa51['sigBytes']-=0x10),_0x22deec[_0x4c101b(0x1e1)]({'ciphertext':_0x53aa51,'salt':_0x1e3353});}},_0x3d6a73=_0x5c35ce[_0x23c859(0x4cd)]=_0x424cd3[_0x23c859(0x3bc)]({'cfg':_0x424cd3['extend']({'format':_0x16387b}),'encrypt':function(_0x3aa390,_0x51f3ce,_0x11a7e2,_0x33a2f5){var _0x598720=_0x23c859;_0x33a2f5=this[_0x598720(0x3da)]['extend'](_0x33a2f5);var _0x5b9e90=_0x3aa390[_0x598720(0x2f6)](_0x11a7e2,_0x33a2f5),_0x4f8b5c=_0x5b9e90[_0x598720(0x463)](_0x51f3ce),_0x6c85a8=_0x5b9e90[_0x598720(0x3da)];return _0x22deec[_0x598720(0x1e1)]({'ciphertext':_0x4f8b5c,'key':_0x11a7e2,'iv':_0x6c85a8['iv'],'algorithm':_0x3aa390,'mode':_0x6c85a8[_0x598720(0x4b7)],'padding':_0x6c85a8[_0x598720(0x4a4)],'blockSize':_0x3aa390[_0x598720(0x385)],'formatter':_0x33a2f5[_0x598720(0x3b1)]});},'decrypt':function(_0x535377,_0x5e9d57,_0x32860e,_0x1e0e5e){var _0x602831=_0x23c859;_0x1e0e5e=this[_0x602831(0x3da)]['extend'](_0x1e0e5e),_0x5e9d57=this[_0x602831(0x318)](_0x5e9d57,_0x1e0e5e['format']);var _0x2c6534=_0x535377['createDecryptor'](_0x32860e,_0x1e0e5e)[_0x602831(0x463)](_0x5e9d57['ciphertext']);return _0x2c6534;},'_parse':function(_0x4ce608,_0x203e96){var _0x2ba556=_0x23c859;return typeof _0x4ce608==_0x2ba556(0x453)?_0x203e96['parse'](_0x4ce608,this):_0x4ce608;}}),_0x5635f1=_0x3a55ae[_0x23c859(0x3e2)]={},_0x3433a3=_0x5635f1['OpenSSL']={'execute':function(_0x17b385,_0x258634,_0x54fdde,_0x264d3e,_0x1a057e){var _0x3253c8=_0x23c859;if(_0x264d3e||(_0x264d3e=_0x1295b7[_0x3253c8(0x420)](0x40/0x8)),_0x1a057e)var _0x14f417=_0x29995f[_0x3253c8(0x1e1)]({'keySize':_0x258634+_0x54fdde,'hasher':_0x1a057e})['compute'](_0x17b385,_0x264d3e);else var _0x14f417=_0x29995f['create']({'keySize':_0x258634+_0x54fdde})[_0x3253c8(0x1e6)](_0x17b385,_0x264d3e);var _0x3b3470=_0x1295b7[_0x3253c8(0x1e1)](_0x14f417[_0x3253c8(0x20e)][_0x3253c8(0x28c)](_0x258634),_0x54fdde*0x4);return _0x14f417[_0x3253c8(0x35c)]=_0x258634*0x4,_0x22deec[_0x3253c8(0x1e1)]({'key':_0x14f417,'iv':_0x3b3470,'salt':_0x264d3e});}},_0xccf946=_0x5c35ce['PasswordBasedCipher']=_0x3d6a73[_0x23c859(0x3bc)]({'cfg':_0x3d6a73['cfg'][_0x23c859(0x3bc)]({'kdf':_0x3433a3}),'encrypt':function(_0x155496,_0x145362,_0x54af7f,_0x3fa5d8){var _0x5dc6b5=_0x23c859;_0x3fa5d8=this[_0x5dc6b5(0x3da)][_0x5dc6b5(0x3bc)](_0x3fa5d8);var _0xa43b0e=_0x3fa5d8[_0x5dc6b5(0x3e2)][_0x5dc6b5(0x298)](_0x54af7f,_0x155496['keySize'],_0x155496[_0x5dc6b5(0x4a1)],_0x3fa5d8[_0x5dc6b5(0x3eb)],_0x3fa5d8[_0x5dc6b5(0x2cb)]);_0x3fa5d8['iv']=_0xa43b0e['iv'];var _0x5926bb=_0x3d6a73[_0x5dc6b5(0x407)]['call'](this,_0x155496,_0x145362,_0xa43b0e[_0x5dc6b5(0x233)],_0x3fa5d8);return _0x5926bb[_0x5dc6b5(0x27d)](_0xa43b0e),_0x5926bb;},'decrypt':function(_0x39771a,_0x191d4f,_0x44fd3c,_0x476e55){var _0x15a33f=_0x23c859;_0x476e55=this[_0x15a33f(0x3da)][_0x15a33f(0x3bc)](_0x476e55),_0x191d4f=this[_0x15a33f(0x318)](_0x191d4f,_0x476e55[_0x15a33f(0x3b1)]);var _0x3c6418=_0x476e55[_0x15a33f(0x3e2)][_0x15a33f(0x298)](_0x44fd3c,_0x39771a[_0x15a33f(0x480)],_0x39771a['ivSize'],_0x191d4f['salt'],_0x476e55[_0x15a33f(0x2cb)]);_0x476e55['iv']=_0x3c6418['iv'];var _0x40a6b5=_0x3d6a73[_0x15a33f(0x257)][_0x15a33f(0x424)](this,_0x39771a,_0x191d4f,_0x3c6418[_0x15a33f(0x233)],_0x476e55);return _0x40a6b5;}});}();}));}(Xe)),Xe[_0x59867f(0x3d7)];}var Zs=We[_0x2c2a28(0x3d7)],oi;function Qs(){var _0x5c68f0=_0x2c2a28;return oi||(oi=0x1,function(_0x410cbe,_0x23aad0){(function(_0x4ad265,_0x1ed5e6,_0x136a79){var _0x32a0c6=_0xa9b7;_0x410cbe[_0x32a0c6(0x3d7)]=_0x1ed5e6(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x1ddcec){var _0x48ef2b=_0xa9b7;return(function(){var _0x1f52c6=_0xa9b7,_0x35092e=_0x1ddcec,_0x3475b6=_0x35092e['lib'],_0x36d7d1=_0x3475b6[_0x1f52c6(0x21e)],_0x7e0312=_0x35092e['algo'],_0x5de0b6=[],_0x33c872=[],_0x5ad294=[],_0x246d50=[],_0x5ba961=[],_0x4777c6=[],_0xa5d41a=[],_0x58f62d=[],_0xbfd470=[],_0x6c85ad=[];(function(){for(var _0x3f796e=[],_0x791c42=0x0;_0x791c42<0x100;_0x791c42++)_0x791c42<0x80?_0x3f796e[_0x791c42]=_0x791c42<<0x1:_0x3f796e[_0x791c42]=_0x791c42<<0x1^0x11b;for(var _0x1288d5=0x0,_0x46061f=0x0,_0x791c42=0x0;_0x791c42<0x100;_0x791c42++){var _0x55162e=_0x46061f^_0x46061f<<0x1^_0x46061f<<0x2^_0x46061f<<0x3^_0x46061f<<0x4;_0x55162e=_0x55162e>>>0x8^_0x55162e&0xff^0x63,_0x5de0b6[_0x1288d5]=_0x55162e,_0x33c872[_0x55162e]=_0x1288d5;var _0x34ce47=_0x3f796e[_0x1288d5],_0x566b05=_0x3f796e[_0x34ce47],_0x173465=_0x3f796e[_0x566b05],_0x3a9694=_0x3f796e[_0x55162e]*0x101^_0x55162e*0x1010100;_0x5ad294[_0x1288d5]=_0x3a9694<<0x18|_0x3a9694>>>0x8,_0x246d50[_0x1288d5]=_0x3a9694<<0x10|_0x3a9694>>>0x10,_0x5ba961[_0x1288d5]=_0x3a9694<<0x8|_0x3a9694>>>0x18,_0x4777c6[_0x1288d5]=_0x3a9694;var _0x3a9694=_0x173465*0x1010101^_0x566b05*0x10001^_0x34ce47*0x101^_0x1288d5*0x1010100;_0xa5d41a[_0x55162e]=_0x3a9694<<0x18|_0x3a9694>>>0x8,_0x58f62d[_0x55162e]=_0x3a9694<<0x10|_0x3a9694>>>0x10,_0xbfd470[_0x55162e]=_0x3a9694<<0x8|_0x3a9694>>>0x18,_0x6c85ad[_0x55162e]=_0x3a9694,_0x1288d5?(_0x1288d5=_0x34ce47^_0x3f796e[_0x3f796e[_0x3f796e[_0x173465^_0x34ce47]]],_0x46061f^=_0x3f796e[_0x3f796e[_0x46061f]]):_0x1288d5=_0x46061f=0x1;}}());var _0x28475e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x417649=_0x7e0312[_0x1f52c6(0x306)]=_0x36d7d1[_0x1f52c6(0x3bc)]({'_doReset':function(){var _0xc7ed64=_0x1f52c6,_0x3a9f83;if(!(this[_0xc7ed64(0x410)]&&this[_0xc7ed64(0x218)]===this[_0xc7ed64(0x370)])){for(var _0x367f25=this[_0xc7ed64(0x218)]=this[_0xc7ed64(0x370)],_0xb2e9b4=_0x367f25['words'],_0x5d42e8=_0x367f25['sigBytes']/0x4,_0x34b4e0=this[_0xc7ed64(0x410)]=_0x5d42e8+0x6,_0x2a1bd8=(_0x34b4e0+0x1)*0x4,_0x2e90e4=this[_0xc7ed64(0x471)]=[],_0x1a41fa=0x0;_0x1a41fa<_0x2a1bd8;_0x1a41fa++)_0x1a41fa<_0x5d42e8?_0x2e90e4[_0x1a41fa]=_0xb2e9b4[_0x1a41fa]:(_0x3a9f83=_0x2e90e4[_0x1a41fa-0x1],_0x1a41fa%_0x5d42e8?_0x5d42e8>0x6&&_0x1a41fa%_0x5d42e8==0x4&&(_0x3a9f83=_0x5de0b6[_0x3a9f83>>>0x18]<<0x18|_0x5de0b6[_0x3a9f83>>>0x10&0xff]<<0x10|_0x5de0b6[_0x3a9f83>>>0x8&0xff]<<0x8|_0x5de0b6[_0x3a9f83&0xff]):(_0x3a9f83=_0x3a9f83<<0x8|_0x3a9f83>>>0x18,_0x3a9f83=_0x5de0b6[_0x3a9f83>>>0x18]<<0x18|_0x5de0b6[_0x3a9f83>>>0x10&0xff]<<0x10|_0x5de0b6[_0x3a9f83>>>0x8&0xff]<<0x8|_0x5de0b6[_0x3a9f83&0xff],_0x3a9f83^=_0x28475e[_0x1a41fa/_0x5d42e8|0x0]<<0x18),_0x2e90e4[_0x1a41fa]=_0x2e90e4[_0x1a41fa-_0x5d42e8]^_0x3a9f83);for(var _0x5d59cf=this[_0xc7ed64(0x368)]=[],_0x4a8c0d=0x0;_0x4a8c0d<_0x2a1bd8;_0x4a8c0d++){var _0x1a41fa=_0x2a1bd8-_0x4a8c0d;if(_0x4a8c0d%0x4)var _0x3a9f83=_0x2e90e4[_0x1a41fa];else var _0x3a9f83=_0x2e90e4[_0x1a41fa-0x4];_0x4a8c0d<0x4||_0x1a41fa<=0x4?_0x5d59cf[_0x4a8c0d]=_0x3a9f83:_0x5d59cf[_0x4a8c0d]=_0xa5d41a[_0x5de0b6[_0x3a9f83>>>0x18]]^_0x58f62d[_0x5de0b6[_0x3a9f83>>>0x10&0xff]]^_0xbfd470[_0x5de0b6[_0x3a9f83>>>0x8&0xff]]^_0x6c85ad[_0x5de0b6[_0x3a9f83&0xff]];}}},'encryptBlock':function(_0x441675,_0x4a2401){var _0x90d6cc=_0x1f52c6;this['_doCryptBlock'](_0x441675,_0x4a2401,this[_0x90d6cc(0x471)],_0x5ad294,_0x246d50,_0x5ba961,_0x4777c6,_0x5de0b6);},'decryptBlock':function(_0x4630af,_0x5db72d){var _0x3b3454=_0x1f52c6,_0x3a6270=_0x4630af[_0x5db72d+0x1];_0x4630af[_0x5db72d+0x1]=_0x4630af[_0x5db72d+0x3],_0x4630af[_0x5db72d+0x3]=_0x3a6270,this[_0x3b3454(0x2b2)](_0x4630af,_0x5db72d,this['_invKeySchedule'],_0xa5d41a,_0x58f62d,_0xbfd470,_0x6c85ad,_0x33c872);var _0x3a6270=_0x4630af[_0x5db72d+0x1];_0x4630af[_0x5db72d+0x1]=_0x4630af[_0x5db72d+0x3],_0x4630af[_0x5db72d+0x3]=_0x3a6270;},'_doCryptBlock':function(_0x5310c3,_0xda3163,_0x1e0ebd,_0x3a82e2,_0xe8d391,_0x81977a,_0x58a393,_0x5c4b36){for(var _0x3b55b7=this['_nRounds'],_0x92b146=_0x5310c3[_0xda3163]^_0x1e0ebd[0x0],_0x257041=_0x5310c3[_0xda3163+0x1]^_0x1e0ebd[0x1],_0x1fd459=_0x5310c3[_0xda3163+0x2]^_0x1e0ebd[0x2],_0x2b7786=_0x5310c3[_0xda3163+0x3]^_0x1e0ebd[0x3],_0x8b1788=0x4,_0x37e39c=0x1;_0x37e39c<_0x3b55b7;_0x37e39c++){var _0x313607=_0x3a82e2[_0x92b146>>>0x18]^_0xe8d391[_0x257041>>>0x10&0xff]^_0x81977a[_0x1fd459>>>0x8&0xff]^_0x58a393[_0x2b7786&0xff]^_0x1e0ebd[_0x8b1788++],_0x33c071=_0x3a82e2[_0x257041>>>0x18]^_0xe8d391[_0x1fd459>>>0x10&0xff]^_0x81977a[_0x2b7786>>>0x8&0xff]^_0x58a393[_0x92b146&0xff]^_0x1e0ebd[_0x8b1788++],_0x3128ee=_0x3a82e2[_0x1fd459>>>0x18]^_0xe8d391[_0x2b7786>>>0x10&0xff]^_0x81977a[_0x92b146>>>0x8&0xff]^_0x58a393[_0x257041&0xff]^_0x1e0ebd[_0x8b1788++],_0x6f9b24=_0x3a82e2[_0x2b7786>>>0x18]^_0xe8d391[_0x92b146>>>0x10&0xff]^_0x81977a[_0x257041>>>0x8&0xff]^_0x58a393[_0x1fd459&0xff]^_0x1e0ebd[_0x8b1788++];_0x92b146=_0x313607,_0x257041=_0x33c071,_0x1fd459=_0x3128ee,_0x2b7786=_0x6f9b24;}var _0x313607=(_0x5c4b36[_0x92b146>>>0x18]<<0x18|_0x5c4b36[_0x257041>>>0x10&0xff]<<0x10|_0x5c4b36[_0x1fd459>>>0x8&0xff]<<0x8|_0x5c4b36[_0x2b7786&0xff])^_0x1e0ebd[_0x8b1788++],_0x33c071=(_0x5c4b36[_0x257041>>>0x18]<<0x18|_0x5c4b36[_0x1fd459>>>0x10&0xff]<<0x10|_0x5c4b36[_0x2b7786>>>0x8&0xff]<<0x8|_0x5c4b36[_0x92b146&0xff])^_0x1e0ebd[_0x8b1788++],_0x3128ee=(_0x5c4b36[_0x1fd459>>>0x18]<<0x18|_0x5c4b36[_0x2b7786>>>0x10&0xff]<<0x10|_0x5c4b36[_0x92b146>>>0x8&0xff]<<0x8|_0x5c4b36[_0x257041&0xff])^_0x1e0ebd[_0x8b1788++],_0x6f9b24=(_0x5c4b36[_0x2b7786>>>0x18]<<0x18|_0x5c4b36[_0x92b146>>>0x10&0xff]<<0x10|_0x5c4b36[_0x257041>>>0x8&0xff]<<0x8|_0x5c4b36[_0x1fd459&0xff])^_0x1e0ebd[_0x8b1788++];_0x5310c3[_0xda3163]=_0x313607,_0x5310c3[_0xda3163+0x1]=_0x33c071,_0x5310c3[_0xda3163+0x2]=_0x3128ee,_0x5310c3[_0xda3163+0x3]=_0x6f9b24;},'keySize':0x100/0x20});_0x35092e[_0x1f52c6(0x306)]=_0x36d7d1['_createHelper'](_0x417649);}()),_0x1ddcec[_0x48ef2b(0x306)];}));}(We)),We[_0x5c68f0(0x3d7)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x2c2a28(0x3d7)],ci;function sr(){var _0x3f0189=_0x2c2a28;return ci||(ci=0x1,function(_0x305f77,_0x5f68cd){(function(_0x405ce3,_0x34a98d){_0x305f77['exports']=_0x34a98d(ne());}(nr,function(_0x5c90dc){var _0x294412=_0xa9b7;return _0x5c90dc['enc'][_0x294412(0x3f7)];}));}(Ze)),Ze[_0x3f0189(0x3d7)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x2c2a28(0x3d7)],hi;function cr(){var _0x541009=_0x2c2a28;return hi||(hi=0x1,function(_0x152028,_0x3ec6e6){(function(_0x290830,_0xa1219c){var _0x12373a=_0xa9b7;_0x152028[_0x12373a(0x3d7)]=_0xa1219c(ne());}(ar,function(_0x4d9e95){var _0x3b0685=_0xa9b7;return(function(){var _0x1c8b77=_0xa9b7;if(typeof ArrayBuffer==_0x1c8b77(0x437)){var _0x1162e4=_0x4d9e95,_0x49eee6=_0x1162e4[_0x1c8b77(0x286)],_0x1b5025=_0x49eee6[_0x1c8b77(0x4be)],_0x4b126f=_0x1b5025['init'],_0x235c01=_0x1b5025[_0x1c8b77(0x476)]=function(_0x2c81c9){var _0x58e7e9=_0x1c8b77;if(_0x2c81c9 instanceof ArrayBuffer&&(_0x2c81c9=new Uint8Array(_0x2c81c9)),(_0x2c81c9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c81c9 instanceof Uint8ClampedArray||_0x2c81c9 instanceof Int16Array||_0x2c81c9 instanceof Uint16Array||_0x2c81c9 instanceof Int32Array||_0x2c81c9 instanceof Uint32Array||_0x2c81c9 instanceof Float32Array||_0x2c81c9 instanceof Float64Array)&&(_0x2c81c9=new Uint8Array(_0x2c81c9[_0x58e7e9(0x45a)],_0x2c81c9[_0x58e7e9(0x42b)],_0x2c81c9['byteLength'])),_0x2c81c9 instanceof Uint8Array){for(var _0x565716=_0x2c81c9[_0x58e7e9(0x33d)],_0x2bb964=[],_0x371efe=0x0;_0x371efe<_0x565716;_0x371efe++)_0x2bb964[_0x371efe>>>0x2]|=_0x2c81c9[_0x371efe]<<0x18-_0x371efe%0x4*0x8;_0x4b126f[_0x58e7e9(0x424)](this,_0x2bb964,_0x565716);}else _0x4b126f['apply'](this,arguments);};_0x235c01[_0x1c8b77(0x381)]=_0x1b5025;}}()),_0x4d9e95[_0x3b0685(0x286)][_0x3b0685(0x4be)];}));}(Qe)),Qe[_0x541009(0x3d7)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x270a3f=_0x2c2a28;return _i||(_i=0x1,function(_0x179176,_0x4e075d){(function(_0x497b6c,_0x4c2f22,_0x317945){var _0x5831b6=_0xa9b7;_0x179176[_0x5831b6(0x3d7)]=_0x4c2f22(ne(),xi());}(lr,function(_0x36bf84){var _0x41250f=_0xa9b7;return _0x36bf84['pad'][_0x41250f(0x386)]={'pad':function(){},'unpad':function(){}},_0x36bf84[_0x41250f(0x389)]['NoPadding'];}));}(et)),et[_0x270a3f(0x3d7)];}var dr=ur();const fr=ke(dr);function vr(_0x310213,_0x5933cd){var _0x241869=_0x2c2a28;const _0x55c0b1=_0x5933cd-_0x310213[_0x241869(0x2d7)]%_0x5933cd,_0x4b032b=String['fromCharCode'](_0x55c0b1)['repeat'](_0x55c0b1);return _0x310213+_0x4b032b;}function pr(_0xe6e59a,_0x21557f){var _0x136fc7=_0x2c2a28;const _0x251a55=_r['random'](0x10),_0x1ffe3e=vr(_0xe6e59a,0x10),_0x13211e=tr['encrypt'](or[_0x136fc7(0x1c6)](_0x1ffe3e),ai['parse'](_0x21557f),{'iv':_0x251a55,'padding':fr});return _0x251a55[_0x136fc7(0x49c)](_0x13211e[_0x136fc7(0x4b0)])[_0x136fc7(0x33a)](ai);}function mr(){var _0xedcdab=_0x2c2a28;const _0x5a6e56=_0x226ae2()[_0xedcdab(0x24d)];if(_0x5a6e56){const _0x4b787f={'time':Math[_0xedcdab(0x346)](Date[_0xedcdab(0x252)]()/0x3e8),'domain':location[_0xedcdab(0x239)]};return pr(JSON['stringify'](_0x4b787f),_0x5a6e56);}}var gr=Object[_0x2c2a28(0x295)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x50f829,_0x429b20,_0x39f4c3,_0x38fd15)=>{for(var _0x1473b4=_0x38fd15>0x1?void 0x0:_0x38fd15?Sr(_0x429b20,_0x39f4c3):_0x429b20,_0x3943ac=_0x50f829['length']-0x1,_0x2e7a67;_0x3943ac>=0x0;_0x3943ac--)(_0x2e7a67=_0x50f829[_0x3943ac])&&(_0x1473b4=(_0x38fd15?_0x2e7a67(_0x429b20,_0x39f4c3,_0x1473b4):_0x2e7a67(_0x1473b4))||_0x1473b4);return _0x38fd15&&_0x1473b4&&gr(_0x429b20,_0x39f4c3,_0x1473b4),_0x1473b4;},Ir=(_0x5650b7,_0x1741a8)=>(_0x19546a,_0x364a32)=>_0x1741a8(_0x19546a,_0x364a32,_0x5650b7);let at=class{constructor(_0x15a2ab){var _0x2fc809=_0x2c2a28;this[_0x2fc809(0x28b)]=_0x15a2ab,this[_0x2fc809(0x4a7)]();}['_initRequestHeader'](){var _0x1db084=_0x2c2a28;this['_httpService'][_0x1db084(0x24b)]({'interceptor':(_0x203116,_0x3dd06d)=>{var _0x1686f3=_0x1db084;const _0x400bbf=_0x203116[_0x1686f3(0x3b2)],_0x1ae76f=mr();return _0x1ae76f&&_0x400bbf[_0x1686f3(0x408)]('x-univer-host',_0x1ae76f),_0x3dd06d(_0x203116);}});}};at=Er([Ir(0x0,_0x35f65b(_0x5ef5e1))],at);var Tr=Object[_0x2c2a28(0x295)],Cr=Object[_0x2c2a28(0x3ea)],br=(_0x2ecfe1,_0x415012,_0x4eb2e7,_0x566a19)=>{var _0x274ac6=_0x2c2a28;for(var _0x40eb87=_0x566a19>0x1?void 0x0:_0x566a19?Cr(_0x415012,_0x4eb2e7):_0x415012,_0xd07a1d=_0x2ecfe1[_0x274ac6(0x2d7)]-0x1,_0xc8a2e3;_0xd07a1d>=0x0;_0xd07a1d--)(_0xc8a2e3=_0x2ecfe1[_0xd07a1d])&&(_0x40eb87=(_0x566a19?_0xc8a2e3(_0x415012,_0x4eb2e7,_0x40eb87):_0xc8a2e3(_0x40eb87))||_0x40eb87);return _0x566a19&&_0x40eb87&&Tr(_0x415012,_0x4eb2e7,_0x40eb87),_0x40eb87;},gt=(_0x58072d,_0x118a89)=>(_0xdc2e2f,_0x922c6c)=>_0x118a89(_0xdc2e2f,_0x922c6c,_0x58072d);let Ot=class extends _0x47a8c1{constructor(_0xada6d6,_0x3ad6df,_0x53d295){var _0x3a24b7=_0x2c2a28;super(),P(this,_0x3a24b7(0x3c0),new _0x20c9c0(null)),P(this,_0x3a24b7(0x489),this['_unitInfo$']['asObservable']()),(this[_0x3a24b7(0x4aa)]=_0xada6d6,this[_0x3a24b7(0x25d)]=_0x3ad6df,this['_localCacheService']=_0x53d295);}async[_0x2c2a28(0x41d)](_0x339aaf,_0x1720a2,_0xf72b1){var _0x20f09d=_0x2c2a28;this[_0x20f09d(0x3c0)][_0x20f09d(0x2fd)]({'unitId':_0x339aaf,'type':_0x1720a2,'subUnitId':_0xf72b1});let _0x19fe60=null;switch(_0x1720a2){case Q[_0x20f09d(0x3b8)]:{_0x19fe60=await this[_0x20f09d(0x2f3)](_0x339aaf);break;}case Q[_0x20f09d(0x475)]:{_0x19fe60=await this[_0x20f09d(0x3e4)](_0x339aaf);break;}default:{this[_0x20f09d(0x4aa)][_0x20f09d(0x425)](_0x20f09d(0x20c),_0x20f09d(0x3e9));break;}}return _0x19fe60;}async[_0x2c2a28(0x2f3)](_0x1d3e4b){var _0x36a847=_0x2c2a28,_0x1a5b47;let _0x56e6ff=0x0;const _0x1db4f2=await((_0x1a5b47=this[_0x36a847(0x392)])==null?void 0x0:_0x1a5b47['loadOfflineData'](_0x1d3e4b));return _0x1db4f2&&(_0x1db4f2[_0x36a847(0x417)]||_0x1db4f2[_0x36a847(0x45c)][_0x36a847(0x2d7)]!==0x0)&&(_0x56e6ff=_0x1db4f2[_0x36a847(0x1de)]),_0x56e6ff===0x0&&this[_0x36a847(0x4aa)][_0x36a847(0x253)](_0x36a847(0x20c),_0x36a847(0x26f)),this['_snapshotService'][_0x36a847(0x405)](_0x1d3e4b,_0x56e6ff);}async[_0x2c2a28(0x3e4)](_0x52bebd){var _0x2291b5=_0x2c2a28,_0x4f7a29;let _0x4be047=0x0;const _0xc4e29b=await((_0x4f7a29=this[_0x2291b5(0x392)])==null?void 0x0:_0x4f7a29[_0x2291b5(0x34d)](_0x52bebd));return _0xc4e29b&&(_0xc4e29b['awaitingChangeset']||_0xc4e29b['mutations'][_0x2291b5(0x2d7)]!==0x0)&&(_0x4be047=_0xc4e29b[_0x2291b5(0x1de)]),_0x4be047===0x0&&this[_0x2291b5(0x4aa)][_0x2291b5(0x253)](_0x2291b5(0x20c),_0x2291b5(0x26f)),this[_0x2291b5(0x25d)][_0x2291b5(0x1fa)](_0x52bebd,_0x4be047);}};Ot=br([gt(0x0,_0x271f6f),gt(0x1,_0x35f65b(_0x56f29d)),gt(0x2,_0x5d2991(X))],Ot);var Rr=Object['defineProperty'],yr=Object[_0x2c2a28(0x3ea)],Or=(_0xf4e36,_0xeeb701,_0x203888,_0x320a1e)=>{var _0x51c984=_0x2c2a28;for(var _0x239943=_0x320a1e>0x1?void 0x0:_0x320a1e?yr(_0xeeb701,_0x203888):_0xeeb701,_0x369c93=_0xf4e36[_0x51c984(0x2d7)]-0x1,_0x271f14;_0x369c93>=0x0;_0x369c93--)(_0x271f14=_0xf4e36[_0x369c93])&&(_0x239943=(_0x320a1e?_0x271f14(_0xeeb701,_0x203888,_0x239943):_0x271f14(_0x239943))||_0x239943);return _0x320a1e&&_0x239943&&Rr(_0xeeb701,_0x203888,_0x239943),_0x239943;},St=(_0x356045,_0xcbcb1e)=>(_0x2dbac4,_0x3c6ffa)=>_0xcbcb1e(_0x2dbac4,_0x3c6ffa,_0x356045);const Nr=[_0x2c2a28(0x3b3),_0x2c2a28(0x20f),_0x2c2a28(0x35b),_0x2c2a28(0x3ac),_0x2c2a28(0x2b0)],Pr=0x5*0x400*0x400,Dr=_0x2c2a28(0x36b),wr=_0x2c2a28(0x28e),Ur='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ar=_0x2c2a28(0x4ab);let Nt=class{constructor(_0x1f85e0,_0x4aefe2,_0x3ca2eb){var _0x3c5781=_0x2c2a28;P(this,_0x3c5781(0x4a6),0x0),P(this,_0x3c5781(0x1cb),new _0x11d7f4()),P(this,_0x3c5781(0x2c3),this[_0x3c5781(0x1cb)]),P(this,_0x3c5781(0x3ba),new Map()),(this[_0x3c5781(0x28b)]=_0x1f85e0,this[_0x3c5781(0x4a2)]=_0x4aefe2,this[_0x3c5781(0x23a)]=_0x3ca2eb);}['setWaitCount'](_0x118822){var _0x4efc94=_0x2c2a28;this['_waitCount']=_0x118822,this[_0x4efc94(0x1cb)][_0x4efc94(0x2fd)](_0x118822);}[_0x2c2a28(0x3fb)](_0xe8c881,_0x3ac74d){var _0x2b82a3=_0x2c2a28;if(_0x3ac74d===_0x3adc7b[_0x2b82a3(0x22c)]){const _0xa26c9d=new Image();return _0xa26c9d['src']=_0xe8c881,_0xa26c9d;}return this[_0x2b82a3(0x3ba)][_0x2b82a3(0x49b)](_0xe8c881);}[_0x2c2a28(0x20d)](_0x24de08,_0x50df31,_0x5f213f){var _0x4f8cf7=_0x2c2a28;_0x50df31===_0x3adc7b[_0x4f8cf7(0x22c)]||_0x5f213f==null||this['_imageSourceCache'][_0x4f8cf7(0x408)](_0x24de08,_0x5f213f);}async[_0x2c2a28(0x31b)](_0x3476b2){var _0x2081e1=_0x2c2a28;try{const _0x47c5d6=this[_0x2081e1(0x303)](this[_0x2081e1(0x41c)](),''+_0x3476b2),_0x2d07fc=(await this[_0x2081e1(0x28b)][_0x2081e1(0x49b)](_0x47c5d6))[_0x2081e1(0x256)];if(_0x2d07fc[_0x2081e1(0x425)]&&_0x2d07fc[_0x2081e1(0x425)][_0x2081e1(0x22b)]===Ti['OK']){const _0x5e69d6=new URL(_0x2d07fc['url'],this[_0x2081e1(0x211)]())[_0x2081e1(0x33a)]();return Promise['resolve'](_0x5e69d6);}return Promise[_0x2081e1(0x29a)](_0x2d07fc[_0x2081e1(0x425)]);}catch(_0x2e65cd){return Promise['reject'](_0x2e65cd);}}async['saveImage'](_0x4347c7){var _0x3112c3=_0x2c2a28;let _0x1571f1='';if(!Nr[_0x3112c3(0x2ac)](_0x4347c7['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x54c86d['ERROR_IMAGE_TYPE']));if(_0x4347c7[_0x3112c3(0x284)]>Pr)return this[_0x3112c3(0x30b)](),Promise[_0x3112c3(0x29a)](new Error(_0x54c86d[_0x3112c3(0x1f5)]));try{const _0x6e879d=new FormData();_0x6e879d[_0x3112c3(0x358)](_0x3112c3(0x4ac),_0x4347c7);const _0x3ec069=this[_0x3112c3(0x23a)][_0x3112c3(0x395)](),_0x11c20c=_0x3ec069==null?void 0x0:_0x3ec069[_0x3112c3(0x330)]();if(!_0x11c20c)throw new Error(_0x3112c3(0x2fe));const _0x312f8d=this[_0x3112c3(0x246)]()+_0x3112c3(0x2d9)+_0x4347c7['size']['toString']()+'&source='+Ci[_0x3112c3(0x281)]+_0x3112c3(0x25a)+encodeURIComponent(_0x11c20c),_0x428264=await(await fetch(_0x312f8d,{'method':_0x3112c3(0x452),'body':_0x6e879d}))['json']();if(typeof _0x428264[_0x3112c3(0x1d9)]!=_0x3112c3(0x453))return this['_decreaseWaiting'](),Promise[_0x3112c3(0x29a)](new Error(_0x54c86d[_0x3112c3(0x32a)]));_0x1571f1=_0x428264[_0x3112c3(0x1d9)];}catch{return this['_decreaseWaiting'](),Promise[_0x3112c3(0x29a)](new Error(_0x54c86d['ERROR_IMAGE']));}return new Promise((_0x2a3e4a,_0x3cf78a)=>{var _0x552237=_0x3112c3;const _0x34c1f4=new FileReader();_0x34c1f4['readAsDataURL'](_0x4347c7),_0x34c1f4[_0x552237(0x2f2)]=_0x360a6f=>{var _0x2db478=_0x552237,_0x402389;const _0x1f3e5c=(_0x402389=_0x360a6f[_0x2db478(0x1e4)])==null?void 0x0:_0x402389[_0x2db478(0x226)];if(_0x1f3e5c==null){this[_0x2db478(0x30b)](),_0x3cf78a(new Error(_0x54c86d[_0x2db478(0x32a)]));return;}const _0x303694=_0x5425e2[_0x2db478(0x2b1)](0x6);_0x2a3e4a({'imageId':_0x303694,'imageSourceType':_0x3adc7b[_0x2db478(0x3a1)],'source':_0x1571f1,'base64Cache':_0x1f3e5c,'status':_0x54c86d[_0x2db478(0x365)]}),this[_0x2db478(0x30b)]();};});}[_0x2c2a28(0x246)](){var _0x2ea296=_0x2c2a28,_0x4dae3e,_0x371e3b;const _0x12074d=this[_0x2ea296(0x4a2)][_0x2ea296(0x1e2)](Dr),_0xfc9ddf=this['_configService'][_0x2ea296(0x1e2)](Y);return(_0x371e3b=(_0x4dae3e=_0xfc9ddf==null?void 0x0:_0xfc9ddf[_0x2ea296(0x380)])!=null?_0x4dae3e:_0x12074d)!=null?_0x371e3b:wr;}[_0x2c2a28(0x41c)](){var _0x2fe2bc=_0x2c2a28,_0x4e5e35,_0x109747;const _0x35f835=this[_0x2fe2bc(0x4a2)]['getConfig'](Ur),_0x4f4a89=this[_0x2fe2bc(0x4a2)]['getConfig'](Y);return(_0x109747=(_0x4e5e35=_0x4f4a89==null?void 0x0:_0x4f4a89['signUrlServerUrl'])!=null?_0x4e5e35:_0x35f835)!=null?_0x109747:Ar;}[_0x2c2a28(0x211)](){var _0xfa7c4a=_0x2c2a28,_0x426c8a;const _0x51cd80=this[_0xfa7c4a(0x4a2)][_0xfa7c4a(0x1e2)](Y);return(_0x426c8a=_0x51cd80==null?void 0x0:_0x51cd80[_0xfa7c4a(0x245)])!=null?_0x426c8a:location['origin'];}[_0x2c2a28(0x303)](_0x738a58,_0x1a653b){var _0x4d499b=_0x2c2a28;return _0x738a58[_0x4d499b(0x393)]('{fileID}',_0x1a653b);}['_decreaseWaiting'](){var _0x28ccf2=_0x2c2a28;this[_0x28ccf2(0x4a6)]-=0x1,this['_change$'][_0x28ccf2(0x2fd)](this[_0x28ccf2(0x4a6)]);}};Nt=Or([St(0x0,_0x35f65b(_0x5ef5e1)),St(0x1,_0x27e728),St(0x2,_0x35f65b(_0xb428b8))],Nt);var xr=Object[_0x2c2a28(0x295)],Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x57f9f9,_0x3004d6,_0x336a96,_0x575ffe)=>{for(var _0x2c0517=_0x575ffe>0x1?void 0x0:_0x575ffe?Lr(_0x3004d6,_0x336a96):_0x3004d6,_0x52ea34=_0x57f9f9['length']-0x1,_0x1facbb;_0x52ea34>=0x0;_0x52ea34--)(_0x1facbb=_0x57f9f9[_0x52ea34])&&(_0x2c0517=(_0x575ffe?_0x1facbb(_0x3004d6,_0x336a96,_0x2c0517):_0x1facbb(_0x2c0517))||_0x2c0517);return _0x575ffe&&_0x2c0517&&xr(_0x3004d6,_0x336a96,_0x2c0517),_0x2c0517;},li=(_0x414d1c,_0x3283ed)=>(_0x4e2729,_0x3eb9ea)=>_0x3283ed(_0x4e2729,_0x3eb9ea,_0x414d1c);const $r=_0x2c2a28(0x4c8);let Pt=class{constructor(_0x148bed,_0x470cef){var _0x27c51e=_0x2c2a28;this[_0x27c51e(0x4a2)]=_0x148bed,this[_0x27c51e(0x39b)]=_0x470cef;}[_0x2c2a28(0x3e7)](){var _0x52f7bf=_0x2c2a28,_0x2117b5,_0xbe36f7;const _0x2d8aa7=this[_0x52f7bf(0x4a2)]['getConfig'](wi),_0x3a50e=this['_configService'][_0x52f7bf(0x1e2)](Y);return(_0xbe36f7=(_0x2117b5=_0x3a50e==null?void 0x0:_0x3a50e['authzUrl'])!=null?_0x2117b5:_0x2d8aa7)!=null?_0xbe36f7:$r;}async[_0x2c2a28(0x3aa)](_0x4f956b){var _0x4c1166=_0x2c2a28;const _0x32e6a7=this[_0x4c1166(0x3e7)]()+_0x4c1166(0x47b);return{'list':[{'title':'People','mentions':(await this[_0x4c1166(0x39b)][_0x4c1166(0x49b)](_0x32e6a7,{'params':{'objectID':_0x4f956b[_0x4c1166(0x36c)],'unitID':_0x4f956b['unitId']}}))[_0x4c1166(0x256)][_0x4c1166(0x349)][_0x4c1166(0x1c7)](_0x318216=>({'objectId':_0x318216['id'],'name':_0x318216[_0x4c1166(0x356)][_0x4c1166(0x431)],'metadata':{'icon':_0x318216[_0x4c1166(0x356)][_0x4c1166(0x311)]},'label':_0x318216[_0x4c1166(0x356)][_0x4c1166(0x431)],'objectType':_0x1cfd74[_0x4c1166(0x1ec)]})),'metadata':{},'type':_0x1cfd74['PERSON']}]};}};Pt=Mr([li(0x0,_0x35f65b(_0x27e728)),li(0x1,_0x35f65b(_0x5ef5e1))],Pt);var Hr=Object[_0x2c2a28(0x295)],kr=Object['getOwnPropertyDescriptor'],jr=(_0x139d61,_0x2c924e,_0x571855,_0x4dffeb)=>{for(var _0x483cd9=_0x4dffeb>0x1?void 0x0:_0x4dffeb?kr(_0x2c924e,_0x571855):_0x2c924e,_0x5b7a33=_0x139d61['length']-0x1,_0xd0a9ed;_0x5b7a33>=0x0;_0x5b7a33--)(_0xd0a9ed=_0x139d61[_0x5b7a33])&&(_0x483cd9=(_0x4dffeb?_0xd0a9ed(_0x2c924e,_0x571855,_0x483cd9):_0xd0a9ed(_0x483cd9))||_0x483cd9);return _0x4dffeb&&_0x483cd9&&Hr(_0x2c924e,_0x571855,_0x483cd9),_0x483cd9;},Se=(_0x2556db,_0x821c0)=>(_0x49bb03,_0x32c19b)=>_0x821c0(_0x49bb03,_0x32c19b,_0x2556db);let ct=class extends _0x47a8c1{constructor(_0x52d44a,_0x23cf19,_0x2a565e,_0x3ab9eb,_0x5c4762,_0x53919f,_0x52f6a3){var _0x38a840=_0x2c2a28;super(),this['_injector']=_0x52d44a,this[_0x38a840(0x23a)]=_0x23cf19,this[_0x38a840(0x2c2)]=_0x2a565e,this[_0x38a840(0x3e3)]=_0x3ab9eb,this[_0x38a840(0x288)]=_0x5c4762,this[_0x38a840(0x1ea)]=_0x53919f,this['_undoRedoService']=_0x52f6a3,this[_0x38a840(0x441)](),this[_0x38a840(0x484)]();}[_0x2c2a28(0x484)](){var _0x17d9fc=_0x2c2a28;const _0x1056aa=async _0x4e207a=>{var _0x2fab15=_0xa9b7;(await this[_0x2fab15(0x3e3)][_0x2fab15(0x2cd)](_0x4e207a))[_0x2fab15(0x2fc)][_0x2fab15(0x48a)](_0x3bb130(_0xcf0dea=>_0xcf0dea['eventID']===_0x42fed0[_0x2fab15(0x416)]),_0x43eda7(this[_0x2fab15(0x292)]))[_0x2fab15(0x203)](_0x5731e6=>{var _0x48ce3a=_0x2fab15;const _0x49562a=_0x5731e6,{reason:_0x38d494}=_0x49562a['data'];this[_0x48ce3a(0x288)][_0x48ce3a(0x3ee)]({'id':re[_0x48ce3a(0x259)],'data':_0x38d494}),this[_0x48ce3a(0x2c2)][_0x48ce3a(0x4b2)](new _0x26155d(_0x4e207a)['id'],!0x1),this['_collaborationSessionService'][_0x48ce3a(0x49f)](_0x4e207a);});};_0x3a9312(this[_0x17d9fc(0x23a)]['getTypeOfUnitAdded$'](_0x9daa1b['UNIVER_SHEET']),this[_0x17d9fc(0x23a)][_0x17d9fc(0x309)](_0x9daa1b[_0x17d9fc(0x475)]))[_0x17d9fc(0x48a)](_0x2e5f7e(_0x5c71e7=>_0x5c71e7['getUnitId']()),_0x3bb130(_0x3c02e6=>!_0x3a6b79(_0x3c02e6)),_0x43eda7(this[_0x17d9fc(0x292)]))['subscribe'](_0xa03006=>{_0x1056aa(_0xa03006);});}['_initUnitPermissionChange'](){var _0x5c0e3c=_0x2c2a28;const _0x2bc318=async _0x3aaeb6=>{var _0x1a95da=_0xa9b7;(await this[_0x1a95da(0x3e3)][_0x1a95da(0x2cd)](_0x3aaeb6))[_0x1a95da(0x2fc)][_0x1a95da(0x48a)](_0x3bb130(_0x410927=>_0x410927[_0x1a95da(0x2a8)]===_0x42fed0['UPDATE_PERMISSION_OBJ']),_0x43eda7(this[_0x1a95da(0x292)]))[_0x1a95da(0x203)](_0x5722d2=>{var _0x34a665=_0x1a95da;const _0x53d732=_0x5722d2,{objectId:_0x26ffaf}=_0x53d732['data'];_0x26ffaf===_0x3aaeb6?this[_0x34a665(0x466)](_0x3aaeb6):this[_0x34a665(0x26c)](_0x3aaeb6,_0x26ffaf);});};_0x3a9312(this[_0x5c0e3c(0x23a)][_0x5c0e3c(0x309)](_0x9daa1b[_0x5c0e3c(0x3b8)]),this[_0x5c0e3c(0x23a)]['getTypeOfUnitAdded$'](_0x9daa1b[_0x5c0e3c(0x475)]))['pipe'](_0x2e5f7e(_0x35e001=>_0x35e001[_0x5c0e3c(0x330)]()),_0x3bb130(_0x5e0a6c=>!_0x3a6b79(_0x5e0a6c)),_0x43eda7(this[_0x5c0e3c(0x292)]))['subscribe'](_0x5c9cfb=>{_0x2bc318(_0x5c9cfb);});}async['initWorkbookPermissionChange'](_0x253d4b){var _0x538ee4=_0x2c2a28,_0x51e1ac;const _0x59b8cc=_0x253d4b||((_0x51e1ac=this[_0x538ee4(0x23a)]['getCurrentUnitForType'](_0x9daa1b[_0x538ee4(0x3b8)]))==null?void 0x0:_0x51e1ac[_0x538ee4(0x330)]());_0x59b8cc&&this[_0x538ee4(0x1ea)][_0x538ee4(0x2bc)]({'objectID':_0x59b8cc,'objectType':_0x18b4cf[_0x538ee4(0x404)],'unitID':_0x59b8cc,'actions':_0x38a9ab})['then'](_0x1d4128=>{var _0x28a649=_0x538ee4;_0xfb5d6d()[_0x28a649(0x458)](_0x22c719=>{var _0x4d80b6=_0x28a649;const _0x4e428d=new _0x22c719(_0x59b8cc),_0x4a6440=_0x4e428d[_0x4d80b6(0x2a9)],_0x285dbc=_0x1d4128[_0x4d80b6(0x336)](_0x5ae7fb=>_0x5ae7fb['action']===_0x4a6440);_0x285dbc&&this[_0x4d80b6(0x2c2)][_0x4d80b6(0x4b2)](_0x4e428d['id'],_0x285dbc[_0x4d80b6(0x2bc)]);});});}['refreshPermission'](_0x3f1f98,_0xdf19f){var _0x2c3549=_0x2c2a28;const _0x30dd94=this['_injector']['get'](_0x213c70),_0x4b8b9a=_0x30dd94['getTargetByPermissionId'](_0x3f1f98,_0xdf19f);let _0x2cef20=!0x1;if(_0x4b8b9a){const [_0x582132,_0x35bb36]=_0x4b8b9a;this[_0x2c3549(0x1ea)][_0x2c3549(0x2bc)]({'objectID':_0xdf19f,'unitID':_0x3f1f98,'objectType':_0x18b4cf['Worksheet'],'actions':_0x1395fc})['then'](_0x2ff597=>{var _0x56a841=_0x2c3549;let _0x151b63='';_0xd1474()[_0x56a841(0x458)](_0x4d4745=>{var _0x2f7688=_0x56a841,_0x58cc5b;const _0xc7cf7e=new _0x4d4745(_0x3f1f98,_0x35bb36),_0x5519b9=_0xc7cf7e[_0x2f7688(0x2a9)],_0x322bee=_0x2ff597[_0x2f7688(0x336)](_0x548ab8=>_0x548ab8[_0x2f7688(0x3c5)]===_0x5519b9);_0x322bee&&(((_0x58cc5b=this[_0x2f7688(0x2c2)][_0x2f7688(0x3f6)](_0xc7cf7e['id']))==null?void 0x0:_0x58cc5b[_0x2f7688(0x201)])!==_0x322bee[_0x2f7688(0x2bc)]&&(_0x2cef20=!0x0),this[_0x2f7688(0x2c2)][_0x2f7688(0x4b2)](_0xc7cf7e['id'],_0x322bee[_0x2f7688(0x2bc)]),_0x151b63+=_0x322bee[_0x2f7688(0x3c5)]+'_'+_0x322bee[_0x2f7688(0x2bc)]);}),_0x30dd94[_0x56a841(0x238)](_0xdf19f+'_'+_0x151b63),_0x2cef20&&this[_0x56a841(0x391)][_0x56a841(0x30a)](_0x3f1f98);});}const _0x29202e=this['_injector'][_0x2c3549(0x49b)](_0x4f34a9)[_0x2c3549(0x2c7)](_0x3f1f98,_0xdf19f);if(_0x29202e){const [_0x4d152f,_0x4d1c9d]=_0x29202e;this[_0x2c3549(0x1ea)][_0x2c3549(0x2bc)]({'objectID':_0xdf19f,'unitID':_0x3f1f98,'objectType':_0x18b4cf[_0x2c3549(0x206)],'actions':_0xa1cfe2})['then'](_0x35dba0=>{var _0x2ae94c=_0x2c3549;_0x32945b()['forEach'](_0x24ec74=>{var _0x31a1bf=_0xa9b7,_0x414419;const _0x46819f=new _0x24ec74(_0x3f1f98,_0x4d1c9d),_0x37a8d4=_0x46819f[_0x31a1bf(0x2a9)],_0x292b3c=_0x35dba0['find'](_0xc5f659=>_0xc5f659[_0x31a1bf(0x3c5)]===_0x37a8d4);_0x292b3c&&(((_0x414419=this[_0x31a1bf(0x2c2)][_0x31a1bf(0x3f6)](_0x46819f['id']))==null?void 0x0:_0x414419['value'])!==_0x292b3c['allowed']&&(_0x2cef20=!0x0),this[_0x31a1bf(0x2c2)][_0x31a1bf(0x4b2)](_0x46819f['id'],_0x292b3c[_0x31a1bf(0x2bc)]));}),_0x2cef20&&this[_0x2ae94c(0x391)][_0x2ae94c(0x30a)](_0x3f1f98);});}const _0x5b25d3=this[_0x2c3549(0x25c)]['get'](_0x1dd7d6),_0x129f3f=_0x5b25d3[_0x2c3549(0x2c7)](_0x3f1f98,_0xdf19f);if(_0x129f3f){const [_0x2dfd5e,_0x167525]=_0x129f3f;this[_0x2c3549(0x1ea)][_0x2c3549(0x2bc)]({'objectID':_0xdf19f,'unitID':_0x3f1f98,'objectType':_0x18b4cf['SelectRange'],'actions':_0x1395fc})[_0x2c3549(0x24e)](_0x500d3a=>{var _0x215ba9=_0x2c3549;let _0x2dc5c6='';_0x2b7418()['forEach'](_0x210bd3=>{var _0x4a5c47=_0xa9b7,_0x1e6356;const _0x41947a=new _0x210bd3(_0x3f1f98,_0x167525,_0xdf19f),_0x3abe2e=_0x41947a[_0x4a5c47(0x2a9)],_0x708f2b=_0x500d3a[_0x4a5c47(0x336)](_0x556a04=>_0x556a04[_0x4a5c47(0x3c5)]===_0x3abe2e);_0x708f2b&&(((_0x1e6356=this[_0x4a5c47(0x2c2)][_0x4a5c47(0x3f6)](_0x41947a['id']))==null?void 0x0:_0x1e6356[_0x4a5c47(0x201)])!==_0x708f2b[_0x4a5c47(0x2bc)]&&(_0x2cef20=!0x0),this[_0x4a5c47(0x2c2)][_0x4a5c47(0x4b2)](_0x41947a['id'],_0x708f2b['allowed']),_0x2dc5c6+=_0x708f2b[_0x4a5c47(0x3c5)]+'_'+_0x708f2b[_0x4a5c47(0x2bc)]);}),_0x5b25d3['ruleRefresh'](_0xdf19f+'_'+_0x2dc5c6),_0x2cef20&&this[_0x215ba9(0x391)][_0x215ba9(0x30a)](_0x3f1f98);});}}};ct=jr([Se(0x0,_0x35f65b(_0x566e3e)),Se(0x1,_0xb428b8),Se(0x2,_0xc2d263),Se(0x3,_0x35f65b(Le)),Se(0x4,_0x35f65b(pe)),Se(0x5,_0x116dfa),Se(0x6,_0x4afcd7)],ct);var Br=Object[_0x2c2a28(0x295)],Fr=Object[_0x2c2a28(0x3ea)],Vr=(_0x5b2d78,_0x42856c,_0x150992,_0x4aa33e)=>{for(var _0x37fa43=_0x4aa33e>0x1?void 0x0:_0x4aa33e?Fr(_0x42856c,_0x150992):_0x42856c,_0x52efd0=_0x5b2d78['length']-0x1,_0x40ea14;_0x52efd0>=0x0;_0x52efd0--)(_0x40ea14=_0x5b2d78[_0x52efd0])&&(_0x37fa43=(_0x4aa33e?_0x40ea14(_0x42856c,_0x150992,_0x37fa43):_0x40ea14(_0x37fa43))||_0x37fa43);return _0x4aa33e&&_0x37fa43&&Br(_0x42856c,_0x150992,_0x37fa43),_0x37fa43;},ui=(_0x5e21af,_0x2195c3)=>(_0x3d3342,_0x144847)=>_0x2195c3(_0x3d3342,_0x144847,_0x5e21af);let Dt=class{constructor(_0x3d43d4,_0x4d38ce){var _0x265a83=_0x2c2a28;this[_0x265a83(0x4a2)]=_0x3d43d4,this[_0x265a83(0x28b)]=_0x4d38ce;}async[_0x2c2a28(0x46b)](_0x364bfc,_0x16363e){var _0x842cc9=_0x2c2a28,_0x3b8b7c;const {unitID:_0xb6bddb,type:_0x2431dc,revision:_0x4c52b5=0x0}=_0x16363e,_0x467706=this[_0x842cc9(0x4cc)]()+'/'+_0x2431dc+'/unit/'+_0xb6bddb+_0x842cc9(0x4c7)+_0x4c52b5,_0x2db77d=(await this[_0x842cc9(0x28b)]['get'](_0x467706))[_0x842cc9(0x256)],_0x3fae27=(_0x3b8b7c=_0x2db77d[_0x842cc9(0x2c9)])==null?void 0x0:_0x3b8b7c[_0x842cc9(0x1cf)];if(_0x3fae27){const _0x366474=_0x3fae27==null?void 0x0:_0x3fae27[_0x842cc9(0x221)],_0x5c0b30=_0x270fb6['encode'](_0x2cda99(_0x366474));_0x3fae27[_0x842cc9(0x221)]=_0x5c0b30,Object[_0x842cc9(0x3ec)](_0x3fae27['sheets'])[_0x842cc9(0x458)](([,_0x2eb3bb])=>{var _0x53e7f0=_0x842cc9;const _0x41d418=_0x2eb3bb[_0x53e7f0(0x221)],_0x2e06c7=_0x270fb6[_0x53e7f0(0x2e5)](_0x2cda99(_0x41d418));_0x2eb3bb[_0x53e7f0(0x221)]=_0x2e06c7;});}return _0x2db77d;}async['getSheetBlock'](_0x302c6c,_0x276e84){var _0x492356=_0x2c2a28;const {unitID:_0x48366b,type:_0x22e995,blockID:_0x12efe0}=_0x276e84,_0x5777ea=this[_0x492356(0x2e4)]()+'/'+_0x22e995+_0x492356(0x4b5)+_0x48366b+_0x492356(0x36a)+_0x12efe0;return(await this['_httpService'][_0x492356(0x49b)](_0x5777ea))[_0x492356(0x256)];}async[_0x2c2a28(0x1f9)](_0xb099d4,_0x43c380){var _0x144235=_0x2c2a28;const {unitID:_0x494e0d,type:_0x5b53e0,blockID:_0x11ca78}=_0x43c380,_0x545193=this[_0x144235(0x2e4)]()+_0x144235(0x36a)+_0x5b53e0+'/unit/'+_0x494e0d+_0x144235(0x36a)+_0x11ca78;return(await this[_0x144235(0x28b)][_0x144235(0x49b)](_0x545193))[_0x144235(0x256)];}async['fetchMissingChangesets'](_0x3c0a18,_0x520525){var _0xf1c14a=_0x2c2a28;const {unitID:_0x3927e6,type:_0x4a3979,from:_0x5b2a14,to:_0x46351a}=_0x520525,_0x55eb93=this['_getAPIPrefix']()+'/'+_0x4a3979+'/unit/'+_0x3927e6+_0xf1c14a(0x324)+_0x5b2a14+_0xf1c14a(0x3e0)+_0x46351a;return(await this[_0xf1c14a(0x28b)][_0xf1c14a(0x49b)](_0x55eb93))[_0xf1c14a(0x256)];}[_0x2c2a28(0x4cc)](){var _0x2b6d94=_0x2c2a28,_0x2cfad5;return(_0x2cfad5=this[_0x2b6d94(0x4a2)][_0x2b6d94(0x1e2)](Dn))!=null?_0x2cfad5:this['_getAPIPrefix']();}[_0x2c2a28(0x2e4)](){var _0x3680c8=_0x2c2a28,_0x42b5e5,_0x98a2d3;const _0x2a346f=this[_0x3680c8(0x4a2)][_0x3680c8(0x1e2)](Nn),_0x5c138b=this[_0x3680c8(0x4a2)][_0x3680c8(0x1e2)](Y);return(_0x98a2d3=(_0x42b5e5=_0x5c138b==null?void 0x0:_0x5c138b[_0x3680c8(0x44c)])!=null?_0x42b5e5:_0x2a346f)!=null?_0x98a2d3:Pn;}async[_0x2c2a28(0x241)](_0x257340,_0x2787c4){var _0x47a983=_0x2c2a28;const _0xa0a4e5=_0x47a983(0x3fc)+_0x2787c4['type']+_0x47a983(0x4b5)+_0x2787c4[_0x47a983(0x1d5)]+_0x47a983(0x352);return(await this[_0x47a983(0x28b)][_0x47a983(0x49b)](_0xa0a4e5,{'params':{'resourceId':JSON[_0x47a983(0x439)](_0x2787c4[_0x47a983(0x2d4)])}}))[_0x47a983(0x256)];}[_0x2c2a28(0x4b3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c2a28(0x3b0)](){var _0x1fda8c=_0x2c2a28;throw new Error(_0x1fda8c(0x4c6));}[_0x2c2a28(0x41f)](){var _0x54079e=_0x2c2a28;throw new Error(_0x54079e(0x4c6));}[_0x2c2a28(0x297)](){var _0x3ab751=_0x2c2a28;throw new Error(_0x3ab751(0x4c6));}[_0x2c2a28(0x3af)](){var _0x1f17d2=_0x2c2a28;throw new Error(_0x1f17d2(0x4c6));}};Dt=Vr([ui(0x0,_0x27e728),ui(0x1,_0x35f65b(_0x5ef5e1))],Dt);var Wr=Object[_0x2c2a28(0x295)],Gr=Object[_0x2c2a28(0x3ea)],Kr=(_0x3f0389,_0x28cb1e,_0xdb7660,_0x54c0b2)=>{var _0x144455=_0x2c2a28;for(var _0x1cb3f6=_0x54c0b2>0x1?void 0x0:_0x54c0b2?Gr(_0x28cb1e,_0xdb7660):_0x28cb1e,_0xd16f7e=_0x3f0389[_0x144455(0x2d7)]-0x1,_0x4c64bd;_0xd16f7e>=0x0;_0xd16f7e--)(_0x4c64bd=_0x3f0389[_0xd16f7e])&&(_0x1cb3f6=(_0x54c0b2?_0x4c64bd(_0x28cb1e,_0xdb7660,_0x1cb3f6):_0x4c64bd(_0x1cb3f6))||_0x1cb3f6);return _0x54c0b2&&_0x1cb3f6&&Wr(_0x28cb1e,_0xdb7660,_0x1cb3f6),_0x1cb3f6;},Ae=(_0x3330a3,_0x495fbe)=>(_0x3ce3f3,_0x1576a7)=>_0x495fbe(_0x3ce3f3,_0x1576a7,_0x3330a3);let wt=class extends _0x49d0de{constructor(_0x276f88,_0x214c98,_0x3c64f9,_0x4660ad,_0xc2c1ce){var _0x3e39b5=_0x2c2a28;super(_0x276f88,_0x214c98,_0x3c64f9),this[_0x3e39b5(0x41b)]=_0x4660ad,this[_0x3e39b5(0x4aa)]=_0xc2c1ce;}['transformUndoRedo'](_0x18bef8,_0x540950){var _0x19d0d0=_0x2c2a28;const _0x109665=this[_0x19d0d0(0x212)](_0x18bef8);if(_0x109665)try{const _0x10411a=this[_0x19d0d0(0x494)](_0x109665,_0x540950);this['_substituteUndoStack'](_0x18bef8,_0x10411a);}catch(_0x5d18be){this[_0x19d0d0(0x4aa)]['error']('[CollaborationUndoRedoService]',_0x5d18be),this[_0x19d0d0(0x45e)](_0x18bef8);}const _0x276505=this[_0x19d0d0(0x4a0)](_0x18bef8);if(_0x276505)try{const _0x2b7af5=this[_0x19d0d0(0x494)](_0x276505,_0x540950);this['_substituteRedoStack'](_0x18bef8,_0x2b7af5);}catch(_0x592659){this['_logService'][_0x19d0d0(0x425)](_0x592659),this[_0x19d0d0(0x3c6)](_0x18bef8);}}[_0x2c2a28(0x45e)](_0x58d9b0){var _0x37206f=_0x2c2a28;const _0x2e861a=this[_0x37206f(0x212)](_0x58d9b0);_0x2e861a&&(_0x2e861a['length']=0x0,this['_updateStatus']());}[_0x2c2a28(0x3c6)](_0x14371d){var _0x123871=_0x2c2a28;const _0x481eff=this['_getRedoStack'](_0x14371d);_0x481eff&&(_0x481eff[_0x123871(0x2d7)]=0x0,this[_0x123871(0x376)]());}['_substituteUndoStack'](_0x35cba6,_0x2195f8){var _0x4751e1=_0x2c2a28;this[_0x4751e1(0x354)][_0x4751e1(0x408)](_0x35cba6,_0x2195f8),this[_0x4751e1(0x376)]();}['_substituteRedoStack'](_0x115c8c,_0x20605e){var _0x4ef32e=_0x2c2a28;this['_redoStacks'][_0x4ef32e(0x408)](_0x115c8c,_0x20605e),this[_0x4ef32e(0x376)]();}[_0x2c2a28(0x494)](_0x1d3172,_0x25045d){var _0x2e9460=_0x2c2a28;const _0x4986c3=[];let _0x1eb439=_0x25045d,_0x408bac=_0x25045d;for(let _0x2fff51=_0x1d3172['length']-0x1;_0x2fff51>=0x0;_0x2fff51--){const {unitID:_0x1fd9ce,undoMutations:_0x24a3da,redoMutations:_0xe1e209}=_0x1d3172[_0x2fff51],_0x23aa23=this[_0x2e9460(0x41b)][_0x2e9460(0x265)](_0x1eb439,_0x24a3da),_0x701130=this['_transformService'][_0x2e9460(0x265)](_0x408bac,_0xe1e209);if(_0x1f5171(_0x23aa23)||_0x1f5171(_0x701130)){this['_logService'][_0x2e9460(0x425)]('[CollaborationUndoRedoService]',_0x2e9460(0x419),_0x23aa23,_0x701130);break;}_0x1eb439=_0x23aa23[_0x2e9460(0x472)],_0x408bac=_0x701130[_0x2e9460(0x472)],_0x4986c3[_0x2e9460(0x3ad)]({'unitID':_0x1fd9ce,'undoMutations':_0x23aa23[_0x2e9460(0x2e9)],'redoMutations':_0x701130['m2Prime']});}return _0x4986c3['reverse']();}};wt=Kr([Ae(0x0,_0xb428b8),Ae(0x1,_0x88164),Ae(0x2,_0x7e2d49),Ae(0x3,_0xb221c0),Ae(0x4,_0x271f6f)],wt);var Li=Object[_0x2c2a28(0x295)],zr=Object[_0x2c2a28(0x3ea)],Yr=(_0x291de6,_0x29cc41,_0x2afbfd)=>_0x29cc41 in _0x291de6?Li(_0x291de6,_0x29cc41,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2afbfd}):_0x291de6[_0x29cc41]=_0x2afbfd,qr=(_0x3830d7,_0x1c75ce,_0x41d26a,_0x1a7a6a)=>{var _0xfd0d56=_0x2c2a28;for(var _0x135864=_0x1a7a6a>0x1?void 0x0:_0x1a7a6a?zr(_0x1c75ce,_0x41d26a):_0x1c75ce,_0x1f534f=_0x3830d7[_0xfd0d56(0x2d7)]-0x1,_0x478739;_0x1f534f>=0x0;_0x1f534f--)(_0x478739=_0x3830d7[_0x1f534f])&&(_0x135864=(_0x1a7a6a?_0x478739(_0x1c75ce,_0x41d26a,_0x135864):_0x478739(_0x135864))||_0x135864);return _0x1a7a6a&&_0x135864&&Li(_0x1c75ce,_0x41d26a,_0x135864),_0x135864;},Et=(_0x419954,_0x2ecb4d)=>(_0x2c26f5,_0x5a9caf)=>_0x2ecb4d(_0x2c26f5,_0x5a9caf,_0x419954),Jr=(_0x45c570,_0x57bda1,_0x3d89a2)=>Yr(_0x45c570,_0x57bda1+'',_0x3d89a2);const Xr=_0x2c2a28(0x1c8);let Ut=class extends _0xc4e0ca{constructor(_0x1dd64a=Wn,_0x595d7f,_0x5bd32d,_0x3462b8){var _0x1c48d8=_0x2c2a28;super(),this[_0x1c48d8(0x2c6)]=_0x1dd64a,this['_logService']=_0x595d7f,this[_0x1c48d8(0x25c)]=_0x5bd32d,this[_0x1c48d8(0x4a2)]=_0x3462b8;const {..._0x5763c9}=this[_0x1c48d8(0x2c6)];this[_0x1c48d8(0x4a2)][_0x1c48d8(0x3d2)](Y,_0x5763c9);}[_0x2c2a28(0x4d1)](){var _0x276ca6=_0x2c2a28;this[_0x276ca6(0x38c)](),this[_0x276ca6(0x278)]();}['_registerDependencies'](){var _0x3e09bb=_0x2c2a28,_0x29cf56,_0x5100b6,_0xd330c4,_0x269e5e;this[_0x3e09bb(0x25c)][_0x3e09bb(0x2df)](_0x4afcd7)&&this['_logService']['error'](_0x3e09bb(0x323),_0x3e09bb(0x24c));const _0x56a722=_0x8861f7([[_0x4afcd7,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x5100b6=(_0x29cf56=this[_0x3e09bb(0x2c6)])==null?void 0x0:_0x29cf56[_0x3e09bb(0x1dc)])!=null?_0x5100b6:It}],[_0x4e38b9,{'useClass':Dt}],[_0x116dfa,{'useClass':yt}],[_0x3a9161,{'useClass':Nt}],[_0x5aa981,{'useClass':Pt}],[rt],[Rt]],(_0xd330c4=this[_0x3e09bb(0x2c6)])==null?void 0x0:_0xd330c4[_0x3e09bb(0x315)]);if(!((_0x269e5e=this[_0x3e09bb(0x2c6)])!=null&&_0x269e5e[_0x3e09bb(0x2d1)])){const _0x56c25b=_0x56a722[_0x3e09bb(0x461)](([_0x358846])=>_0x358846===_t);_0x56c25b!==-0x1&&_0x56a722[_0x3e09bb(0x3df)](_0x56c25b,0x1);}_0x31f46e(this[_0x3e09bb(0x25c)],_0x56a722);}['_initDependencies'](){var _0x199f5f=_0x2c2a28,_0x1da8c8,_0x358152,_0x1e84ac;this[_0x199f5f(0x25c)][_0x199f5f(0x49b)](_0x5ef5e1)[_0x199f5f(0x24b)]({'priority':0x14,'interceptor':_0x1ef767({'maxParallel':0x6})}),(_0x1da8c8=this[_0x199f5f(0x2c6)])!=null&&_0x1da8c8[_0x199f5f(0x49a)]||(_0x358152=this[_0x199f5f(0x25c)][_0x199f5f(0x49b)](X,_0x528e97[_0x199f5f(0x35e)]))==null||_0x358152[_0x199f5f(0x40f)](),(_0x1e84ac=this['_config'])!=null&&_0x1e84ac[_0x199f5f(0x3fd)]&&_0x2823d4(this['_injector'],[[ot]]),_0x2823d4(this[_0x199f5f(0x25c)],[[at],[rt],[ct]]);}};Jr(Ut,'pluginName',Xr),Ut=qr([_0x2978ec(_0x7e288c,_0x3f947a,_0x599733),Et(0x1,_0x271f6f),Et(0x2,_0x35f65b(_0x566e3e)),Et(0x3,_0x27e728)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae 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,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi 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,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0x6461f5=_0x1a24;(function(_0x3954e1,_0x434318){var _0x2a0d63=_0x1a24,_0x240b73=_0x3954e1();while(!![]){try{var _0xab4adb=-parseInt(_0x2a0d63(0x3f2))/0x1+parseInt(_0x2a0d63(0x3fb))/0x2*(parseInt(_0x2a0d63(0x27b))/0x3)+-parseInt(_0x2a0d63(0x19f))/0x4+-parseInt(_0x2a0d63(0x1a8))/0x5*(-parseInt(_0x2a0d63(0x283))/0x6)+-parseInt(_0x2a0d63(0x27e))/0x7+-parseInt(_0x2a0d63(0x3c9))/0x8+-parseInt(_0x2a0d63(0x25f))/0x9*(-parseInt(_0x2a0d63(0x16e))/0xa);if(_0xab4adb===_0x434318)break;else _0x240b73['push'](_0x240b73['shift']());}catch(_0x330e5c){_0x240b73['push'](_0x240b73['shift']());}}}(_0x3728,0x6829b));var Mi=Object[_0x6461f5(0x125)],$i=(_0x43c11c,_0x4158c7,_0x93a1f1)=>_0x4158c7 in _0x43c11c?Mi(_0x43c11c,_0x4158c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x93a1f1}):_0x43c11c[_0x4158c7]=_0x93a1f1,P=(_0x5555e0,_0xc06a4f,_0x382cb5)=>$i(_0x5555e0,typeof _0xc06a4f!='symbol'?_0xc06a4f+'':_0xc06a4f,_0x382cb5);import{createIdentifier as _0x212acd,Inject as _0x5bd7c7,Injector as _0x429f70,Disposable as _0x3a4838,DisposableCollection as _0x53a6b2,toDisposable as _0x327830,IConfigService as _0x5e2a65,ILogService as _0x4e1df9,UserManagerService as _0x3b3c2c,UniverInstanceType as _0x590133,IUniverInstanceService as _0x360c9f,LocaleService as _0x42e4ae,Optional as _0x393a71,RxDisposable as _0x4e2fa1,Tools as _0x26c975,Rectangle as _0x2e2d66,ICommandService as _0x279dd3,JSONX as _0x50b2cf,CommandType as _0xaf414d,IPermissionService as _0x55006e,IUndoRedoService as _0x112b6d,sequenceExecute as _0x37ad33,Workbook as _0x32cfb0,MentionType as _0x2adcb7,IAuthzIoService as _0x37de7d,isInternalEditorID as _0x5c1eb7,LocalUndoRedoService as _0x1b2d45,IContextService as _0x400561,DependentOn as _0x1c33b6,Plugin as _0x253213,mergeOverrideWithDependencies as _0x27ca78,IMentionIOService as _0x2f9433,registerDependencies as _0x32abce,Quantity as _0x2d5304,touchDependencies as _0x3a2c5d}from'@univerjs/core';import{Subject as _0x2fe9de,merge as _0x14205a,of as _0x1b3bda,BehaviorSubject as _0x225132,takeUntil as _0x23d9e1,ReplaySubject as _0xf3dbca,take as _0x3a61f8,map as _0x3025fe,shareReplay as _0x1ea21c,firstValueFrom as _0x11248e,concatMap as _0x300468}from'rxjs';import{map as _0x547787,take as _0x34c3d3,filter as _0x43f82e,delay as _0x4dc11c,takeUntil as _0x45014c}from'rxjs/operators';import{HTTPService as _0x51ab2e,ISocketService as _0x4a83ad,MergeInterceptorFactory as _0x5eb39e,HTTPRequest as _0x377c3c,UniverNetworkPlugin as _0x49e3f7,ThresholdInterceptorFactory as _0x3d2e31}from'@univerjs/network';import{CollaborationEvent as _0x23c62b,parseChangesetToProtocol as _0x2eb8be,ISnapshotServerService as _0x48a588,isTransformMutationsWithChangesetSuccess as _0x461325,ITransformService as _0x3f46fc,mapDocumentTypeToUniverType as _0x200e06,RevisionService as _0xe03ed,isTransformChangesetsSuccess as _0x4455e9,CompressMutationService as _0x684986,parseProtocolChangeset as _0x5559db,SnapshotService as _0x581805,textEncoder as _0x27e0a4,b64DecodeUnicode as _0x3d8b1e,isTransformMutationsWithChangesetFailure as _0x423725,UniverCollaborationPlugin as _0x13157f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5e127d}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xc70726}from'@univerjs/docs';import{SheetsSelectionsService as _0x92b07f,SetSelectionsOperation as _0x9294cb,InsertSheetMutation as _0x315350,EmptyMutation as _0x2c6fef,WorkbookEditablePermission as _0x4e54e8,UnitObject as _0x52318a,defaultWorkbookPermissionPoints as _0x6353ae,getAllWorkbookPermissionPoint as _0x231962,WorksheetProtectionRuleModel as _0x3075f3,baseProtectionActions as _0x323da2,getAllWorksheetPermissionPoint as _0x28778c,WorksheetProtectionPointModel as _0x4ee6be,defaultWorksheetPermissionPoint as _0x587153,getAllWorksheetPermissionPointByPointPanel as _0x1b31b1,RangeProtectionRuleModel as _0x392e7c,getAllRangePermissionPoint as _0x53d9fc,UniverSheetsPlugin as _0x53d6b1}from'@univerjs/sheets';import{ImageSourceType as _0x42396b,ImageUploadStatusType as _0x54ed05,IImageIoService as _0x3d5b63}from'@univerjs/drawing';import{getGlobalObject as _0x1b5100}from'@univerjs-pro/license';const Nn=_0x6461f5(0x264),Pn='/universer-api/snapshot',Dn='SNAPSHOT_URL_KEY',ho=_0x6461f5(0x250),wn=0x7d0,Un=_0x6461f5(0x372),An=_0x6461f5(0x190),xn=_0x6461f5(0x373),Ln='HEARTBEAT_INTERVAL',Mn=0x7530,Ei=_0x6461f5(0x2c8),Ii=0x4e20,$n=0x4e20,Hn=_0x6461f5(0x27a),kn=0x3,_o=_0x6461f5(0x251),lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x6461f5(0x323),Fn='LOGIN_URL_KEY',Vn=_0x6461f5(0x286),uo=_0x6461f5(0x11f),fo=_0x6461f5(0x178);var Ti=(_0x34508e=>(_0x34508e[_0x34508e[_0x6461f5(0x3b2)]=0x0]='UNDEFINED',_0x34508e[_0x34508e['OK']=0x1]='OK',_0x34508e[_0x34508e[_0x6461f5(0x163)]=0x2]='INTERNAL_ERROR',_0x34508e[_0x34508e[_0x6461f5(0x2e3)]=0x3]=_0x6461f5(0x2e3),_0x34508e[_0x34508e[_0x6461f5(0x1bc)]=0x4]=_0x6461f5(0x1bc),_0x34508e[_0x34508e[_0x6461f5(0x299)]=0x5]=_0x6461f5(0x299),_0x34508e[_0x34508e[_0x6461f5(0x1ff)]=0x6]='ALREADY_EXISTS',_0x34508e[_0x34508e['INVALID_ARGUMENT']=0x7]=_0x6461f5(0x35e),_0x34508e[_0x34508e[_0x6461f5(0x147)]=0x8]=_0x6461f5(0x147),_0x34508e[_0x34508e['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x34508e[_0x34508e[_0x6461f5(0x1af)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34508e[_0x34508e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x6461f5(0x3cf),_0x34508e[_0x34508e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x6461f5(0x260),_0x34508e[_0x34508e[_0x6461f5(0x394)]=0x1773]=_0x6461f5(0x394),_0x34508e[_0x34508e[_0x6461f5(0x1da)]=0x1b59]='APPLY_REJECT',_0x34508e[_0x34508e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x6461f5(0x2c9),_0x34508e[_0x34508e['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x34508e[_0x34508e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x6461f5(0x32f),_0x34508e[_0x34508e[_0x6461f5(0x1e7)]=0x1b5d]='APPLY_DUPLICATED',_0x34508e[_0x34508e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x34508e[_0x34508e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x34508e[_0x34508e[_0x6461f5(0x15b)]=0x232a]=_0x6461f5(0x15b),_0x34508e[_0x34508e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6461f5(0x3eb),_0x34508e[_0x34508e[_0x6461f5(0x231)]=0x232c]=_0x6461f5(0x231),_0x34508e[_0x34508e[_0x6461f5(0x293)]=0x232d]=_0x6461f5(0x293),_0x34508e[_0x34508e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6461f5(0x37f),_0x34508e[_0x34508e[_0x6461f5(0x18e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x34508e[_0x34508e[_0x6461f5(0x2b0)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34508e[_0x34508e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34508e[_0x34508e[_0x6461f5(0x18b)]=-0x1]=_0x6461f5(0x18b),_0x34508e))(Ti||{}),Q=(_0x59e801=>(_0x59e801[_0x59e801['UNIVER_UNKNOWN']=0x0]=_0x6461f5(0x3cc),_0x59e801[_0x59e801[_0x6461f5(0x111)]=0x1]=_0x6461f5(0x111),_0x59e801[_0x59e801[_0x6461f5(0x10f)]=0x2]=_0x6461f5(0x10f),_0x59e801[_0x59e801[_0x6461f5(0x396)]=0x3]=_0x6461f5(0x396),_0x59e801[_0x59e801[_0x6461f5(0x3c0)]=0x4]=_0x6461f5(0x3c0),_0x59e801[_0x59e801[_0x6461f5(0x18b)]=-0x1]=_0x6461f5(0x18b),_0x59e801))(Q||{}),F=(_0x1c6d3b=>(_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x1e5)]=0x0]=_0x6461f5(0x1e5),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x2d4)]=0x1]=_0x6461f5(0x2d4),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x26a)]=0x2]=_0x6461f5(0x26a),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x141)]=0x3]=_0x6461f5(0x141),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x152)]=0x4]=_0x6461f5(0x152),_0x1c6d3b[_0x1c6d3b['HEARTBEAT']=0x5]=_0x6461f5(0x1b3),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x3ba)]=0x6]=_0x6461f5(0x3ba),_0x1c6d3b[_0x1c6d3b[_0x6461f5(0x18b)]=-0x1]=_0x6461f5(0x18b),_0x1c6d3b))(F||{}),Ee=(_0x5d23e7=>(_0x5d23e7[_0x5d23e7[_0x6461f5(0x2b1)]=0x0]=_0x6461f5(0x2b1),_0x5d23e7[_0x5d23e7['OK']=0x1]='OK',_0x5d23e7[_0x5d23e7[_0x6461f5(0x118)]=0x2]=_0x6461f5(0x118),_0x5d23e7[_0x5d23e7[_0x6461f5(0x3b9)]=0x3e9]=_0x6461f5(0x3b9),_0x5d23e7[_0x5d23e7[_0x6461f5(0x24c)]=0x3ea]=_0x6461f5(0x24c),_0x5d23e7[_0x5d23e7[_0x6461f5(0x3af)]=0x3eb]=_0x6461f5(0x3af),_0x5d23e7[_0x5d23e7[_0x6461f5(0x271)]=0x3ec]=_0x6461f5(0x271),_0x5d23e7[_0x5d23e7[_0x6461f5(0x18b)]=-0x1]=_0x6461f5(0x18b),_0x5d23e7))(Ee||{}),Ci=(_0x3a7e7a=>(_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x225)]=0x0]=_0x6461f5(0x225),_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x1fd)]=0x1]='HttpImport',_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x20a)]=0x2]='HttpExport',_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x1c9)]=0x3]=_0x6461f5(0x1c9),_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x34b)]=0x4]=_0x6461f5(0x34b),_0x3a7e7a[_0x3a7e7a[_0x6461f5(0x18b)]=-0x1]=_0x6461f5(0x18b),_0x3a7e7a))(Ci||{});const Y='collaboration-client.config',Wn={};var re=(_0x216e3f=>(_0x216e3f[_0x6461f5(0x2b8)]='OTHER_CLIENT_EDITING',_0x216e3f[_0x6461f5(0x2e3)]=_0x6461f5(0x2e3),_0x216e3f[_0x6461f5(0x36b)]='CONFLICT',_0x216e3f['CLOSE_ROOM']=_0x6461f5(0x1fc),_0x216e3f[_0x6461f5(0x187)]='JOIN_ROOM_FAILED',_0x216e3f[_0x6461f5(0x2ba)]=_0x6461f5(0x2ba),_0x216e3f[_0x6461f5(0x1ed)]=_0x6461f5(0x1ed),_0x216e3f[_0x6461f5(0x1cb)]=_0x6461f5(0x1cb),_0x216e3f))(re||{});class pe{constructor(){var _0x1d08ca=_0x6461f5;P(this,_0x1d08ca(0x2f7),new _0x2fe9de()),P(this,'event$',this[_0x1d08ca(0x2f7)][_0x1d08ca(0x305)]());}[_0x6461f5(0x2f1)](_0x21a0c3){this['_event$']['next'](_0x21a0c3);}}const Gn=_0x212acd(_0x6461f5(0x241));function Kn(_0x3f1be8){var _0x4032be=_0x6461f5,_0xbdf82f,_0x2e3123,_0x2020c7,_0x14c368,_0x205d80;const _0xb02d18=_0x3f1be8[_0x4032be(0x19b)],_0x40cc6b=JSON[_0x4032be(0x2dc)](_0xb02d18);switch(_0x40cc6b['cmd']){case F[_0x4032be(0x1b3)]:case F[_0x4032be(0x2d4)]:{const _0x2c89ab=_0x40cc6b['infoRsp'];return{..._0x40cc6b,'data':_0x2c89ab,'cmd':_0x40cc6b[_0x4032be(0x1b2)]};}case F[_0x4032be(0x26a)]:{const _0x33b7b2=_0x40cc6b[_0x4032be(0x12a)];return{..._0x40cc6b,'data':_0x33b7b2,'cmd':_0x40cc6b[_0x4032be(0x1b2)]};}case F[_0x4032be(0x3ba)]:{const _0x49c4fc=_0x40cc6b['collaMsg'];switch(_0x49c4fc[_0x4032be(0x233)]){case _0x23c62b[_0x4032be(0x17b)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':(_0xbdf82f=_0x49c4fc[_0x4032be(0x398)])==null?void 0x0:_0xbdf82f['cs']},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b['CHANGESET_ACK']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':(_0x2e3123=_0x49c4fc[_0x4032be(0x126)])==null?void 0x0:_0x2e3123['cs']},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b['NEW_CHANGESETS']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':(_0x2020c7=_0x49c4fc[_0x4032be(0x356)])==null?void 0x0:_0x2020c7['cs']},'cmd':_0x40cc6b['cmd']};case _0x23c62b[_0x4032be(0x27d)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':(_0x14c368=_0x49c4fc['csRejEvent'])==null?void 0x0:_0x14c368['cs']},'cmd':_0x40cc6b['cmd']};case _0x23c62b['CHANGESET_SHOULD_RETRY']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':(_0x205d80=_0x49c4fc[_0x4032be(0x19d)])==null?void 0x0:_0x205d80['cs']},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b['UPDATE_CURSOR']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc['updateCursorEvent']},'cmd':_0x40cc6b['cmd']};case _0x23c62b[_0x4032be(0x376)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x2ad)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x149)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc['leaveEvent']},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x1e0)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x21f)]},'cmd':_0x40cc6b['cmd']};case _0x23c62b[_0x4032be(0x15f)]:case _0x23c62b[_0x4032be(0x318)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x315)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x278)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x21f)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x312)]:return{..._0x40cc6b,'data':_0x49c4fc,'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b['COMMENT_UPDATE']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc['commentUpdateEvent']},'cmd':_0x40cc6b['cmd']};case _0x23c62b['UPDATE_PERMISSION_OBJ']:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x3c6)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x24a)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x391)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};case _0x23c62b[_0x4032be(0x3dd)]:return{..._0x40cc6b,'data':{..._0x49c4fc,'data':_0x49c4fc[_0x4032be(0x2cb)]},'cmd':_0x40cc6b[_0x4032be(0x1b2)]};default:return _0x40cc6b;}}default:return _0x40cc6b;}}function zn(_0x20f4e7){var _0x5c8bce=_0x6461f5;switch(_0x20f4e7[_0x5c8bce(0x1b2)]){case F[_0x5c8bce(0x1b3)]:case F['HELLO']:return JSON[_0x5c8bce(0x336)]({'cmd':_0x20f4e7['cmd'],'routeKey':_0x20f4e7[_0x5c8bce(0x29a)]});case F[_0x5c8bce(0x152)]:{let _0x4937ce;switch(_0x20f4e7[_0x5c8bce(0x19b)][_0x5c8bce(0x233)]){case _0x23c62b[_0x5c8bce(0x2a0)]:{_0x4937ce={'eventID':_0x23c62b['UPDATE_CURSOR'],'updateCursorEvent':_0x20f4e7['data']['data']};break;}case _0x23c62b[_0x5c8bce(0x149)]:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x149)],'leaveEvent':_0x20f4e7[_0x5c8bce(0x19b)]['data']};break;}case _0x23c62b['USERS_ENTER']:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x376)],'joinEvent':_0x20f4e7[_0x5c8bce(0x19b)][_0x5c8bce(0x19b)]};break;}case _0x23c62b[_0x5c8bce(0x1e0)]:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x1e0)],'liveShareNewHost':_0x20f4e7['data'][_0x5c8bce(0x19b)]};break;}case _0x23c62b['LIVESHARE_OPERATION']:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x318)],'liveShareOperation':_0x20f4e7['data'][_0x5c8bce(0x19b)]};break;}case _0x23c62b['LIVESHARE_TERMINATE']:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x278)],'liveShareTerminate':_0x20f4e7[_0x5c8bce(0x19b)][_0x5c8bce(0x19b)]};break;}case _0x23c62b[_0x5c8bce(0x220)]:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x220)],'liveShareRequestHost':_0x20f4e7[_0x5c8bce(0x19b)][_0x5c8bce(0x19b)]};break;}case _0x23c62b[_0x5c8bce(0x15f)]:{_0x4937ce={'eventID':_0x23c62b[_0x5c8bce(0x15f)]};break;}default:_0x4937ce={'eventID':_0x20f4e7[_0x5c8bce(0x19b)][_0x5c8bce(0x233)]};}return JSON[_0x5c8bce(0x336)]({'cmd':_0x20f4e7[_0x5c8bce(0x1b2)],'routeKey':_0x20f4e7[_0x5c8bce(0x29a)],'collaMsg':_0x4937ce});}case F[_0x5c8bce(0x26a)]:return JSON[_0x5c8bce(0x336)]({'cmd':_0x20f4e7[_0x5c8bce(0x1b2)],'routeKey':_0x20f4e7[_0x5c8bce(0x29a)],'joinReq':_0x20f4e7[_0x5c8bce(0x19b)]});case F['LEAVE']:return JSON[_0x5c8bce(0x336)]({'cmd':_0x20f4e7[_0x5c8bce(0x1b2)],'routeKey':_0x20f4e7[_0x5c8bce(0x29a)],'leaveReq':_0x20f4e7['data']});default:throw new Error(_0x5c8bce(0x20f));}}var Yn=Object[_0x6461f5(0x125)],qn=Object[_0x6461f5(0x2b4)],Jn=(_0x3c9e26,_0x1083c8,_0x2fe5c9,_0x1c7aa4)=>{for(var _0x464810=_0x1c7aa4>0x1?void 0x0:_0x1c7aa4?qn(_0x1083c8,_0x2fe5c9):_0x1083c8,_0x3ba07f=_0x3c9e26['length']-0x1,_0x35c9d5;_0x3ba07f>=0x0;_0x3ba07f--)(_0x35c9d5=_0x3c9e26[_0x3ba07f])&&(_0x464810=(_0x1c7aa4?_0x35c9d5(_0x1083c8,_0x2fe5c9,_0x464810):_0x35c9d5(_0x464810))||_0x464810);return _0x1c7aa4&&_0x464810&&Yn(_0x1083c8,_0x2fe5c9,_0x464810),_0x464810;},Ue=(_0x39ce43,_0x1fbbc3)=>(_0x2d9919,_0x555f2d)=>_0x1fbbc3(_0x2d9919,_0x555f2d,_0x39ce43);const bi=_0x212acd('univer-pro.collaboration-client-socket-service');function Xn(_0x407920,_0xe549de,_0x375b60){var _0x3a1a1a=_0x6461f5;return _0x407920+'/'+_0xe549de+'/unit/'+_0x375b60+_0x3a1a1a(0x350);}let It=class extends _0x3a4838{constructor(_0x26b58e,_0x214d13,_0x231b5f,_0x2d0173,_0x3d6ce3){var _0x219e49=_0x6461f5;super(),this[_0x219e49(0x1e2)]=_0x26b58e,this[_0x219e49(0x193)]=_0x214d13,this[_0x219e49(0x395)]=_0x231b5f,this['_logService']=_0x2d0173,this[_0x219e49(0x3d0)]=_0x3d6ce3;}[_0x6461f5(0x1b9)](_0x4e301f){var _0x21ac5e=_0x6461f5;const _0xe182a6=this[_0x21ac5e(0x1e2)][_0x21ac5e(0x364)](_0x4a83ad);if(!_0xe182a6)throw new Error(_0x21ac5e(0x27c));const _0x338545=_0xe182a6['createSocket'](_0x4e301f);if(!_0x338545)throw new Error(_0x21ac5e(0x181));const _0x43c614=new _0x53a6b2(),_0x5a7741=new _0x2fe9de();_0x43c614[_0x21ac5e(0x38c)](_0x338545[_0x21ac5e(0x3c5)][_0x21ac5e(0x1b5)](_0x563903=>_0x5a7741[_0x21ac5e(0x3b6)](_0x563903))),_0x43c614[_0x21ac5e(0x38c)](_0x327830(()=>_0x5a7741[_0x21ac5e(0x1f6)]()));const _0xf4655b=new _0x2fe9de();_0x43c614[_0x21ac5e(0x38c)](_0x338545['error$'][_0x21ac5e(0x1b5)](_0x22113d=>_0xf4655b['next'](_0x22113d))),_0x43c614[_0x21ac5e(0x38c)](_0x327830(()=>_0xf4655b[_0x21ac5e(0x1f6)]()));const _0x559c0e=new _0x2fe9de();_0x43c614['add'](_0x338545[_0x21ac5e(0x1f1)][_0x21ac5e(0x1b5)](_0x50c7fb=>{var _0xcbdee1=_0x21ac5e;const _0x5c6f74=Kn(_0x50c7fb);_0x559c0e[_0xcbdee1(0x3b6)](_0x5c6f74);})),_0x43c614[_0x21ac5e(0x38c)](_0x327830(()=>_0x559c0e[_0x21ac5e(0x1f6)]()));let _0x4ce77c;const _0x30a4e0=()=>{var _0x2556f0=_0x21ac5e;_0xf4655b['next'](new Event(_0x2556f0(0x13a))),_0x5a7741[_0x2556f0(0x3b6)](new CloseEvent(_0x2556f0(0x13a))),_0x4ce77c['close']();};return _0x4ce77c={'memberID':'','close$':_0x5a7741[_0x21ac5e(0x305)](),'error$':_0xf4655b[_0x21ac5e(0x305)](),'open$':_0x338545[_0x21ac5e(0x2ee)],'message$':_0x559c0e[_0x21ac5e(0x305)](),'send':_0x5059d0=>{var _0x378cb2=_0x21ac5e;if(_0x5059d0[_0x378cb2(0x1b2)]===F[_0x378cb2(0x152)]){if(_0x5059d0[_0x378cb2(0x19b)][_0x378cb2(0x233)]===_0x23c62b[_0x378cb2(0x247)]){this[_0x378cb2(0x158)](_0x4ce77c,_0x5059d0[_0x378cb2(0x19b)])[_0x378cb2(0x304)](_0x801b2a=>{this['_logService']['error'](_0x801b2a),_0x30a4e0();});return;}if(_0x5059d0[_0x378cb2(0x19b)][_0x378cb2(0x233)]===_0x23c62b['FETCH_MISSING']){const _0x262272=_0x5059d0['data'];this['_fetchMissChangesets'](_0x262272)[_0x378cb2(0x105)](_0x1a4341=>{var _0x3c5b14=_0x378cb2;_0x559c0e[_0x3c5b14(0x3b6)]({'cmd':F[_0x3c5b14(0x3ba)],'code':Ee['OK'],'routeKey':_0x262272[_0x3c5b14(0x19b)][_0x3c5b14(0x22e)],'routeType':'','data':{'eventID':_0x23c62b[_0x3c5b14(0x232)],'data':{'changesets':_0x1a4341}}});})[_0x378cb2(0x304)](_0x5a41cd=>{var _0x10c433=_0x378cb2;this[_0x10c433(0x3b8)][_0x10c433(0x388)](_0x5a41cd),_0x30a4e0();});return;}}_0x338545[_0x378cb2(0x1cf)](zn(_0x5059d0));},'close':()=>{var _0x2593b3=_0x21ac5e;_0x338545[_0x2593b3(0x17c)](),_0x43c614[_0x2593b3(0x33e)]();}},_0x4ce77c;}async[_0x6461f5(0x158)](_0xe2c2e,_0x5d88f7){var _0x211cf1=_0x6461f5,_0x1d8620,_0x5d6252;const {unitType:_0x54b6de,unitID:_0x46ae20,changeset:_0x3dc060}=_0x5d88f7[_0x211cf1(0x19b)],_0x127f39={'unitID':_0x46ae20,'memberID':_0xe2c2e[_0x211cf1(0x136)],'type':_0x54b6de,'changeset':_0x2eb8be(_0x3dc060)},_0x565bbe=this[_0x211cf1(0x395)][_0x211cf1(0x3bc)](jn),_0x4345c0=this['_configService'][_0x211cf1(0x3bc)](Y),_0x337085=Xn((_0x5d6252=(_0x1d8620=_0x4345c0==null?void 0x0:_0x4345c0[_0x211cf1(0x10d)])!=null?_0x1d8620:_0x565bbe)!=null?_0x5d6252:Bn,_0x54b6de,_0x46ae20);try{await this[_0x211cf1(0x193)][_0x211cf1(0x24e)](_0x337085,{'body':_0x127f39});}catch(_0x19e73e){throw this[_0x211cf1(0x3b8)][_0x211cf1(0x388)](_0x211cf1(0x33c),_0x211cf1(0x1d1)),_0x19e73e;}}async[_0x6461f5(0x2d3)](_0x3e801c){var _0x124ed6=_0x6461f5;const {unitID:_0x4ad9b5,from:_0xbf122b,to:_0x4e5d48,unitType:_0x4c246f}=_0x3e801c[_0x124ed6(0x19b)];return(await this[_0x124ed6(0x3d0)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4ad9b5,'type':_0x4c246f,'from':_0xbf122b,'to':_0x4e5d48}))['changesets'];}};It=Jn([Ue(0x0,_0x5bd7c7(_0x429f70)),Ue(0x1,_0x5bd7c7(_0x51ab2e)),Ue(0x2,_0x5e2a65),Ue(0x3,_0x4e1df9),Ue(0x4,_0x48a588)],It);const Zn=_0x6461f5(0x1ea);function Qn(_0x3b6b8c){var _0x4ea4fd=_0x6461f5;return JSON['stringify'](_0x3b6b8c)[_0x4ea4fd(0x390)];}class Ri{constructor(){var _0x3cc763=_0x6461f5;P(this,_0x3cc763(0x13c),new _0x2fe9de()),P(this,_0x3cc763(0x1b0),this[_0x3cc763(0x13c)][_0x3cc763(0x305)]());}[_0x6461f5(0x180)](_0x321672){this['_commentUpdate$']['next'](_0x321672);}}var es=Object[_0x6461f5(0x125)],ts=Object['getOwnPropertyDescriptor'],is=(_0x442b26,_0x14db42,_0x1b36a6,_0x2b90b7)=>{var _0x2652af=_0x6461f5;for(var _0x109f01=_0x2b90b7>0x1?void 0x0:_0x2b90b7?ts(_0x14db42,_0x1b36a6):_0x14db42,_0x53cf10=_0x442b26[_0x2652af(0x390)]-0x1,_0x3973cd;_0x53cf10>=0x0;_0x53cf10--)(_0x3973cd=_0x442b26[_0x53cf10])&&(_0x109f01=(_0x2b90b7?_0x3973cd(_0x14db42,_0x1b36a6,_0x109f01):_0x3973cd(_0x109f01))||_0x109f01);return _0x2b90b7&&_0x109f01&&es(_0x14db42,_0x1b36a6,_0x109f01),_0x109f01;},zt=(_0x12d73a,_0x5819dd)=>(_0x50bdca,_0x5635ac)=>_0x5819dd(_0x50bdca,_0x5635ac,_0x12d73a);let xe=class extends _0x3a4838{constructor(_0x5f04a7,_0xb70a3b){var _0x21aed4=_0x6461f5;super(),P(this,_0x21aed4(0x366),new Map()),P(this,_0x21aed4(0x10c),new _0x2fe9de()),(this[_0x21aed4(0x20e)]=_0x5f04a7,this['_userManagerService']=_0xb70a3b,this[_0x21aed4(0x15e)](_0x14205a(this[_0x21aed4(0x20e)][_0x21aed4(0x3e4)](_0x590133[_0x21aed4(0x10f)])[_0x21aed4(0x11a)](_0x547787(_0x4c320f=>_0x4c320f[_0x21aed4(0x22c)]())),this[_0x21aed4(0x20e)]['getTypeOfUnitDisposed$'](_0x590133['UNIVER_DOC'])[_0x21aed4(0x11a)](_0x547787(_0x11c2ef=>_0x11c2ef[_0x21aed4(0x22c)]())),this[_0x21aed4(0x20e)][_0x21aed4(0x3e4)](_0x590133['UNIVER_SLIDE'])[_0x21aed4(0x11a)](_0x547787(_0x490e12=>_0x490e12[_0x21aed4(0x22c)]())))['subscribe'](_0x44fd0e=>this[_0x21aed4(0x33d)](_0x44fd0e))));}[_0x6461f5(0x2a4)](_0x28330a){var _0x213b0c=_0x6461f5;return this[_0x213b0c(0x366)][_0x213b0c(0x334)](_0x28330a)?_0x1b3bda(this[_0x213b0c(0x366)][_0x213b0c(0x364)](_0x28330a)):this[_0x213b0c(0x10c)][_0x213b0c(0x11a)](_0x547787(_0x418f07=>{var _0x110d2b=_0x213b0c;if(_0x418f07===_0x28330a)return this[_0x110d2b(0x366)][_0x110d2b(0x364)](_0x418f07);}));}['setCurrentUser'](_0x924bda){var _0x16ef88=_0x6461f5;this['_userManagerService'][_0x16ef88(0x243)](_0x924bda);}[_0x6461f5(0x269)](){var _0x16bd05=_0x6461f5;return this[_0x16bd05(0x385)][_0x16bd05(0x269)]();}[_0x6461f5(0x3ea)](_0x5b8251,_0x545194){var _0x388f58=_0x6461f5;let _0x1efe9a=this[_0x388f58(0x366)][_0x388f58(0x364)](_0x5b8251);_0x1efe9a||(_0x1efe9a=new ns(),this[_0x388f58(0x366)][_0x388f58(0x2fc)](_0x5b8251,_0x1efe9a),this['_roomCreated$'][_0x388f58(0x3b6)](_0x5b8251)),_0x1efe9a[_0x388f58(0x3ea)](_0x545194);}[_0x6461f5(0x303)](_0xc2f64,_0x504507){var _0xa3cf6e=_0x6461f5;const _0x36065a=this[_0xa3cf6e(0x366)][_0xa3cf6e(0x364)](_0xc2f64);_0x36065a&&_0x36065a[_0xa3cf6e(0x303)](_0x504507);}[_0x6461f5(0x331)](_0x36f1f7){var _0x3a3dd1=_0x6461f5;return this[_0x3a3dd1(0x366)][_0x3a3dd1(0x364)](_0x36f1f7);}[_0x6461f5(0x214)](_0x4fb7e1,_0x486146){var _0x410d76=_0x6461f5;const _0x2e4a1e=this[_0x410d76(0x366)][_0x410d76(0x364)](_0x4fb7e1);if(_0x2e4a1e)return _0x2e4a1e[_0x410d76(0x214)](_0x486146);}[_0x6461f5(0x33d)](_0x2ddbce){var _0x88cf9f=_0x6461f5;const _0x5d5057=this[_0x88cf9f(0x366)][_0x88cf9f(0x364)](_0x2ddbce);_0x5d5057&&(_0x5d5057[_0x88cf9f(0x33e)](),this[_0x88cf9f(0x366)][_0x88cf9f(0x20b)](_0x2ddbce));}[_0x6461f5(0x33e)](){var _0x28ebe1=_0x6461f5;this['_roomMembers'][_0x28ebe1(0x274)](_0x53c88a=>_0x53c88a[_0x28ebe1(0x33e)]()),this[_0x28ebe1(0x366)][_0x28ebe1(0x206)](),this[_0x28ebe1(0x10c)][_0x28ebe1(0x1f6)]();}};xe=is([zt(0x0,_0x360c9f),zt(0x1,_0x5bd7c7(_0x3b3c2c))],xe);class ns extends _0x3a4838{constructor(){var _0xf0968e=_0x6461f5;super(...arguments),P(this,'_members',new Map()),P(this,_0xf0968e(0x1f3),new _0x225132(this['_members'])),P(this,_0xf0968e(0x18a),this[_0xf0968e(0x1f3)]['asObservable']());}[_0x6461f5(0x33e)](){var _0x1db924=_0x6461f5;this[_0x1db924(0x172)][_0x1db924(0x206)]();}[_0x6461f5(0x3ea)](_0x135a6b){var _0x208680=_0x6461f5;this[_0x208680(0x172)][_0x208680(0x2fc)](_0x135a6b[_0x208680(0x136)],_0x135a6b),this[_0x208680(0x3a9)]();}[_0x6461f5(0x303)](_0x11394e){var _0x15d22f=_0x6461f5;this[_0x15d22f(0x172)][_0x15d22f(0x20b)](_0x11394e);}[_0x6461f5(0x214)](_0x230f22){var _0x368125=_0x6461f5;return this[_0x368125(0x172)][_0x368125(0x364)](_0x230f22);}[_0x6461f5(0x38e)](){var _0x5c3679=_0x6461f5;return Array['from'](this[_0x5c3679(0x172)]['values']());}[_0x6461f5(0x3a9)](){var _0x26ead0=_0x6461f5;this['_members$'][_0x26ead0(0x3b6)](this['_members']);}}var ss=Object['defineProperty'],rs=Object[_0x6461f5(0x2b4)],os=(_0x1abfac,_0x4a115a,_0x34e87d,_0x52728b)=>{var _0x40961a=_0x6461f5;for(var _0x2e2d1a=_0x52728b>0x1?void 0x0:_0x52728b?rs(_0x4a115a,_0x34e87d):_0x4a115a,_0x33a639=_0x1abfac[_0x40961a(0x390)]-0x1,_0x51beae;_0x33a639>=0x0;_0x33a639--)(_0x51beae=_0x1abfac[_0x33a639])&&(_0x2e2d1a=(_0x52728b?_0x51beae(_0x4a115a,_0x34e87d,_0x2e2d1a):_0x51beae(_0x2e2d1a))||_0x2e2d1a);return _0x52728b&&_0x2e2d1a&&ss(_0x4a115a,_0x34e87d,_0x2e2d1a),_0x2e2d1a;},me=(_0x3a0a82,_0x36a80e)=>(_0x2db84b,_0x4592d2)=>_0x36a80e(_0x2db84b,_0x4592d2,_0x3a0a82),Te=(_0x498db8=>(_0x498db8[_0x498db8['IDLE']=0x0]='IDLE',_0x498db8[_0x498db8['JOINING']=0x1]='JOINING',_0x498db8[_0x498db8[_0x6461f5(0x310)]=0x2]=_0x6461f5(0x310),_0x498db8[_0x498db8[_0x6461f5(0x28a)]=0x3]=_0x6461f5(0x28a),_0x498db8))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x6461f5(0x3b9)]]:'session.room-full',[Ee[_0x6461f5(0x24c)]]:_0x6461f5(0x1c4),[Ee[_0x6461f5(0x3af)]]:_0x6461f5(0x37e),[Ee[_0x6461f5(0x271)]]:_0x6461f5(0x2b7)};let Tt=class extends _0x4e2fa1{constructor(_0x3e48f8,_0x49b9bb,_0x358350,_0x3363c6,_0x18f427,_0x3a71fd,_0x56f1ac,_0x509302,_0x3ab291){var _0x578521=_0x6461f5;super(),P(this,'_sessionStatus$',new _0x225132(0x0)),P(this,_0x578521(0x10e),this['_sessionStatus$'][_0x578521(0x305)]()),P(this,_0x578521(0x2f7),new _0x2fe9de()),P(this,'event$',this[_0x578521(0x2f7)][_0x578521(0x305)]()),P(this,'_socket'),P(this,_0x578521(0x175)),P(this,'_collaborationTimeoutTimer'),P(this,_0x578521(0x166),!0x1),P(this,'_telemetryInfo',null),(this[_0x578521(0x2ac)]=_0x3e48f8,this[_0x578521(0x3b8)]=_0x358350,this['_configService']=_0x3363c6,this[_0x578521(0x33a)]=_0x18f427,this[_0x578521(0x110)]=_0x3a71fd,this['_commentService']=_0x56f1ac,this[_0x578521(0x354)]=_0x509302,this[_0x578521(0x375)]=_0x3ab291,this[_0x578521(0x166)]=!!this['_telemetryService'],_0x49b9bb['pipe'](_0x23d9e1(this['dispose$']))[_0x578521(0x1b5)](_0x4548a0=>{var _0x20224c=_0x578521,_0x3a0a96;typeof _0x4548a0>'u'||(this[_0x20224c(0x13f)]=_0x4548a0,_0x4548a0?(this[_0x20224c(0x389)](_0x4548a0),this[_0x20224c(0x175)]=_0x4548a0[_0x20224c(0x1f1)][_0x20224c(0x1b5)](_0x2b2c67=>{_0x2b2c67['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x2b2c67);})):(this[_0x20224c(0x1dc)](),this[_0x20224c(0x1ec)][_0x20224c(0x3b6)](0x2),(_0x3a0a96=this[_0x20224c(0x175)])==null||_0x3a0a96['unsubscribe'](),this[_0x20224c(0x175)]=null));}));}get[_0x6461f5(0x139)](){var _0xbb66f3=_0x6461f5;return this[_0xbb66f3(0x1ec)][_0xbb66f3(0x25e)]();}['getMemberID'](){var _0x838e9e=_0x6461f5,_0x26032b,_0x3c9a0f;return(_0x3c9a0f=(_0x26032b=this[_0x838e9e(0x13f)])==null?void 0x0:_0x26032b[_0x838e9e(0x136)])!=null?_0x3c9a0f:null;}['dispose'](){var _0x2d2ccc=_0x6461f5;super['dispose'](),this[_0x2d2ccc(0x122)][_0x2d2ccc(0x3b6)](),this[_0x2d2ccc(0x122)][_0x2d2ccc(0x1f6)]();}['close'](){var _0x4b9f05=_0x6461f5,_0x52be93,_0x39322e;this[_0x4b9f05(0x1dc)](),(_0x52be93=this[_0x4b9f05(0x13f)])==null||_0x52be93[_0x4b9f05(0x1cf)]({'cmd':F[_0x4b9f05(0x141)],'data':{'roomID':this['_unitID']}}),(_0x39322e=this[_0x4b9f05(0x13f)])==null||_0x39322e[_0x4b9f05(0x17c)](),this['_event$'][_0x4b9f05(0x1f6)](),this[_0x4b9f05(0x1ec)][_0x4b9f05(0x1f6)](),this[_0x4b9f05(0x33e)]();}['_onCombEvent'](_0x5cc7a6){var _0x53bee6=_0x6461f5;_0x5cc7a6[_0x53bee6(0x1b2)]===F[_0x53bee6(0x26a)]?this[_0x53bee6(0x3d4)](_0x5cc7a6):_0x5cc7a6['cmd']===F[_0x53bee6(0x3ba)]&&this[_0x53bee6(0x382)](_0x5cc7a6);}[_0x6461f5(0x389)](_0x355cc6){var _0x2dccab=_0x6461f5;this[_0x2dccab(0x1ec)][_0x2dccab(0x3b6)](0x1),_0x355cc6[_0x2dccab(0x1cf)]({'cmd':F[_0x2dccab(0x26a)],'routeKey':this[_0x2dccab(0x2ac)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x6461f5(0x3d4)](_0x2ad22f){var _0x1cfebe=_0x6461f5,_0x312272;if(_0x2ad22f[_0x1cfebe(0x1f7)]in Yt){this[_0x1cfebe(0x354)]['emitEvent']({'id':re[_0x1cfebe(0x187)],'data':Yt[_0x2ad22f[_0x1cfebe(0x1f7)]]}),this['_sessionStatus$'][_0x1cfebe(0x3b6)](0x2);return;}this[_0x1cfebe(0x1ec)][_0x1cfebe(0x3b6)](0x3);const _0x5de3b3=(_0x312272=_0x2ad22f[_0x1cfebe(0x19b)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x312272[_0x1cfebe(0x240)];_0x5de3b3&&_0x5de3b3[_0x1cfebe(0x274)](_0x3a9ec6=>this[_0x1cfebe(0x110)]['updateMember'](this['_unitID'],_0x3a9ec6));}['_onRecvEvent'](_0x9aba66){var _0xa0a100=_0x6461f5;try{const _0x47e58c=_0x9aba66[_0xa0a100(0x19b)];switch(_0x47e58c[_0xa0a100(0x233)]){case _0x23c62b[_0xa0a100(0x376)]:this[_0xa0a100(0x1f5)](_0x47e58c),this[_0xa0a100(0x2f7)][_0xa0a100(0x3b6)](_0x47e58c);break;case _0x23c62b[_0xa0a100(0x149)]:this[_0xa0a100(0x387)](_0x47e58c),this['_event$'][_0xa0a100(0x3b6)](_0x47e58c);break;case _0x23c62b['CHANGESET_ACK']:case _0x23c62b[_0xa0a100(0x325)]:this[_0xa0a100(0x23e)](),this[_0xa0a100(0x2e4)](),this[_0xa0a100(0x2f7)][_0xa0a100(0x3b6)](_0x47e58c);break;case _0x23c62b[_0xa0a100(0x312)]:this[_0xa0a100(0x3b8)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0xa0a100(0x336)](_0x47e58c)),this[_0xa0a100(0x2f7)][_0xa0a100(0x3b6)](_0x47e58c);break;case _0x23c62b[_0xa0a100(0x2ca)]:this[_0xa0a100(0x29d)][_0xa0a100(0x180)](_0x47e58c[_0xa0a100(0x19b)]),this[_0xa0a100(0x2f7)][_0xa0a100(0x3b6)](_0x47e58c);break;default:this[_0xa0a100(0x2f7)][_0xa0a100(0x3b6)](_0x47e58c);}}catch(_0x5f21ef){this[_0xa0a100(0x3b8)][_0xa0a100(0x388)](_0x5f21ef,_0x9aba66);}}['_onUserJoin'](_0x3ba8b5){var _0x323261=_0x6461f5;this[_0x323261(0x110)][_0x323261(0x3ea)](this[_0x323261(0x2ac)],_0x3ba8b5[_0x323261(0x19b)]);}[_0x6461f5(0x387)](_0x3bd650){var _0x4860f5=_0x6461f5;this[_0x4860f5(0x110)][_0x4860f5(0x303)](this['_unitID'],_0x3bd650[_0x4860f5(0x19b)][_0x4860f5(0x136)]);}async[_0x6461f5(0x1cf)](_0x250f9a,_0x3de227){var _0x6f692f=_0x6461f5;if(this[_0x6f692f(0x139)]!==0x3||!this[_0x6f692f(0x13f)])throw new Error(_0x6f692f(0x3ed));try{_0x250f9a[_0x6f692f(0x233)]===_0x23c62b[_0x6f692f(0x247)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x6f692f(0x3cb)](_0x250f9a)),this['_socket'][_0x6f692f(0x1cf)]({'cmd':F[_0x6f692f(0x152)],'routeKey':_0x3de227,'routeType':'','data':_0x250f9a});}catch(_0x2d5e50){this[_0x6f692f(0x3b8)][_0x6f692f(0x388)](_0x2d5e50);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4fb5df=_0x6461f5,_0x20336c;this[_0x4fb5df(0x2ed)]=setTimeout(()=>{var _0x98386a=_0x4fb5df;this['_collaborationTimeoutTimer']=null,this[_0x98386a(0x354)][_0x98386a(0x2f1)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x20336c=this[_0x4fb5df(0x395)][_0x4fb5df(0x3bc)](Ei))!=null?_0x20336c:Ii);}[_0x6461f5(0x2e4)](){var _0xb770a6=_0x6461f5;this[_0xb770a6(0x2ed)]&&(clearTimeout(this[_0xb770a6(0x2ed)]),this[_0xb770a6(0x2ed)]=null);}[_0x6461f5(0x3cb)](_0x2a6c1d){var _0x471f87=_0x6461f5;if(!this['_shouldReportTelemetry'])return;const {data:_0xa4c3ce}=_0x2a6c1d,{unitID:_0x5b49d0,changeset:_0x2f149f}=_0xa4c3ce,{mutations:_0x3c4650,type:_0x1e7b42}=_0x2f149f;this['_telemetryInfo']={'unitId':_0x5b49d0,'type':_0x1e7b42,'startTime':performance[_0x471f87(0x2ea)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x3c4650)};}[_0x6461f5(0x23e)](){var _0x95823e=_0x6461f5;if(this['_shouldReportTelemetry']){if(!this[_0x95823e(0x2f5)]){this[_0x95823e(0x3b8)][_0x95823e(0x388)](_0x95823e(0x33c),_0x95823e(0x2d7));return;}this[_0x95823e(0x2f5)][_0x95823e(0x1ac)]=performance['now'](),this[_0x95823e(0x2f5)]['duration']=this[_0x95823e(0x2f5)][_0x95823e(0x1ac)]-this[_0x95823e(0x2f5)][_0x95823e(0x3d1)],this['_telemetryService'][_0x95823e(0x3f6)](Zn,this['_telemetryInfo']),this[_0x95823e(0x2f5)]=null;}}[_0x6461f5(0x1dc)](){var _0x587faa=_0x6461f5;this[_0x587faa(0x2f5)]=null;}};Tt=os([me(0x2,_0x4e1df9),me(0x3,_0x5e2a65),me(0x4,_0x5bd7c7(_0x42e4ae)),me(0x5,_0x5bd7c7(xe)),me(0x6,_0x5bd7c7(Ri)),me(0x7,_0x5bd7c7(pe)),me(0x8,_0x393a71(_0x5e127d))],Tt);var as=Object[_0x6461f5(0x125)],cs=Object[_0x6461f5(0x2b4)],hs=(_0x244f29,_0x38062d,_0x4460ba,_0x13ddad)=>{var _0x1c52ae=_0x6461f5;for(var _0xee7ddf=_0x13ddad>0x1?void 0x0:_0x13ddad?cs(_0x38062d,_0x4460ba):_0x38062d,_0x5ac7c6=_0x244f29[_0x1c52ae(0x390)]-0x1,_0x36b15f;_0x5ac7c6>=0x0;_0x5ac7c6--)(_0x36b15f=_0x244f29[_0x5ac7c6])&&(_0xee7ddf=(_0x13ddad?_0x36b15f(_0x38062d,_0x4460ba,_0xee7ddf):_0x36b15f(_0xee7ddf))||_0xee7ddf);return _0x13ddad&&_0xee7ddf&&as(_0x38062d,_0x4460ba,_0xee7ddf),_0xee7ddf;},ge=(_0x590752,_0x19f4f8)=>(_0x315a76,_0x28afe1)=>_0x19f4f8(_0x315a76,_0x28afe1,_0x590752);let Le=class extends _0x3a4838{constructor(_0x3cd886,_0x18b089,_0xf0152c,_0x385632,_0xd1b59c,_0x29015e,_0x5af068){var _0x909960=_0x6461f5;super(),P(this,_0x909960(0x378),new _0x225132(void 0x0)),P(this,_0x909960(0x295),this[_0x909960(0x378)][_0x909960(0x305)]()),P(this,_0x909960(0x316),null),P(this,_0x909960(0x19e),new Map()),P(this,_0x909960(0x39c),new _0x225132(Te['IDLE'])),P(this,_0x909960(0x25b),this[_0x909960(0x39c)]['asObservable']()),P(this,_0x909960(0x39b),!0x1),P(this,_0x909960(0x224)),P(this,'_retryCount',0x0),P(this,_0x909960(0x113)),P(this,_0x909960(0x36e)),(this['_injector']=_0x3cd886,this[_0x909960(0x3b8)]=_0x18b089,this[_0x909960(0x395)]=_0xf0152c,this['_socketService']=_0x385632,this['_httpService']=_0xd1b59c,this[_0x909960(0x354)]=_0x29015e,this[_0x909960(0x211)]=_0x5af068,this[_0x909960(0x3d3)]());}get['_socket'](){var _0x5523ad=_0x6461f5;return this[_0x5523ad(0x378)]['getValue']();}[_0x6461f5(0x3d3)](){var _0x23e273=_0x6461f5;this[_0x23e273(0x211)]&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x341560=>{var _0x4ef643=_0x23e273;_0x341560&&!this[_0x4ef643(0x13f)]&&this[_0x4ef643(0x3a7)](),_0x341560||this['_onOffline']();}));}[_0x6461f5(0x33e)](){var _0x1318b1=_0x6461f5;super[_0x1318b1(0x33e)](),this[_0x1318b1(0x19e)][_0x1318b1(0x274)](_0x44ae91=>_0x44ae91[_0x1318b1(0x33e)]()),this['_sessions'][_0x1318b1(0x206)](),this[_0x1318b1(0x39c)][_0x1318b1(0x1f6)]();}async[_0x6461f5(0x1c6)](_0x32fc89){var _0x124ebd=_0x6461f5;if(this[_0x124ebd(0x19e)][_0x124ebd(0x334)](_0x32fc89))return this[_0x124ebd(0x19e)][_0x124ebd(0x364)](_0x32fc89);this['_tryEnsureSocket']();const _0x5807cd=this[_0x124ebd(0x1e2)][_0x124ebd(0x30a)](Tt,_0x32fc89,this[_0x124ebd(0x378)][_0x124ebd(0x305)]());return this['_sessions'][_0x124ebd(0x2fc)](_0x32fc89,_0x5807cd),_0x5807cd;}[_0x6461f5(0x309)](_0x5f445f){var _0x27fe0f=_0x6461f5,_0x32013f;const _0x99327=this[_0x27fe0f(0x19e)][_0x27fe0f(0x364)](_0x5f445f);_0x99327&&(this[_0x27fe0f(0x19e)]['delete'](_0x5f445f),_0x99327[_0x27fe0f(0x17c)]()),this[_0x27fe0f(0x19e)][_0x27fe0f(0x202)]||(_0x32013f=this[_0x27fe0f(0x13f)])==null||_0x32013f[_0x27fe0f(0x17c)]();}[_0x6461f5(0x3a7)](){var _0x4f2810=_0x6461f5;this[_0x4f2810(0x1c2)]=0x0,this[_0x4f2810(0x224)]!=null&&(clearTimeout(this[_0x4f2810(0x224)]),this['_retryConnectingTimer']=null),this[_0x4f2810(0x31d)]();}async[_0x6461f5(0x14b)](){var _0x53f11e=_0x6461f5,_0x47e140,_0x357d25,_0xe3e4c7;const _0x256e65=this[_0x53f11e(0x395)]['getConfig'](Y),_0x574dac=(_0x47e140=_0x256e65==null?void 0x0:_0x256e65[_0x53f11e(0x3c2)])!=null?_0x47e140:xn;return(_0xe3e4c7=(_0x357d25=(await this['_httpService']['get'](_0x574dac,{'headers':{'Content-Type':'application/json'}}))[_0x53f11e(0x234)])==null?void 0x0:_0x357d25[_0x53f11e(0x367)])!=null?_0xe3e4c7:'';}[_0x6461f5(0x1db)](_0x180627){var _0x4cd3d5=_0x6461f5,_0x10b490,_0x1080ad;const _0x52b112=this[_0x4cd3d5(0x395)][_0x4cd3d5(0x3bc)](Un),_0x3645cb=this[_0x4cd3d5(0x395)][_0x4cd3d5(0x3bc)](Y),_0x4cbb9a=(_0x1080ad=(_0x10b490=_0x3645cb==null?void 0x0:_0x3645cb[_0x4cd3d5(0x32d)])!=null?_0x10b490:_0x52b112)!=null?_0x1080ad:An,_0x59b2b7=typeof window>'u'?new URL(_0x4cbb9a):new URL(_0x4cbb9a,window[_0x4cd3d5(0x2be)]['origin']);_0x59b2b7[_0x4cd3d5(0x330)][_0x4cd3d5(0x2fc)]('sessionTicket',_0x180627);const _0x117a0e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4cd3d5(0x14c)]);return _0x117a0e[_0x4cd3d5(0x364)]('runId')&&_0x59b2b7['searchParams'][_0x4cd3d5(0x2fc)](_0x4cd3d5(0x33b),_0x117a0e[_0x4cd3d5(0x364)](_0x4cd3d5(0x33b))),_0x59b2b7[_0x4cd3d5(0x1e9)]();}async['_createSocket'](){var _0x5cebd3=_0x6461f5;const _0x2cfaca=await this['_getSessionTicket'](),_0x5b4c03=this[_0x5cebd3(0x1db)](_0x2cfaca),_0x44a15b=this[_0x5cebd3(0x2b9)]['createSocket'](_0x5b4c03);return this['_candidateSocket']=_0x44a15b,_0x44a15b;}async[_0x6461f5(0x30e)](){var _0x4f795a=_0x6461f5,_0x5bcf67,_0x1ef35a;try{const _0x4b00aa=(_0x1ef35a=(_0x5bcf67=this[_0x4f795a(0x13f)])!=null?_0x5bcf67:this[_0x4f795a(0x316)])!=null?_0x1ef35a:await this['_createSocket']();if(_0x4b00aa){const _0x10117a=_0x4b00aa[_0x4f795a(0x1cf)];_0x4b00aa[_0x4f795a(0x1cf)]=_0x4f036b=>(this[_0x4f795a(0x1b8)](),_0x10117a[_0x4f795a(0x1e3)](_0x4b00aa,[_0x4f036b])),_0x4b00aa[_0x4f795a(0x1f1)][_0x4f795a(0x1b5)](_0x27e4e=>this[_0x4f795a(0x2e5)](_0x4b00aa,_0x27e4e)),_0x4b00aa[_0x4f795a(0x133)][_0x4f795a(0x11a)](_0x34c3d3(0x1))[_0x4f795a(0x1b5)](_0x2b46d6=>this['_logService']['error'](_0x4f795a(0x248),_0x2b46d6)),_0x4b00aa[_0x4f795a(0x2ee)][_0x4f795a(0x11a)](_0x34c3d3(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4b00aa);}),_0x4b00aa[_0x4f795a(0x3c5)][_0x4f795a(0x11a)](_0x34c3d3(0x1))[_0x4f795a(0x1b5)](_0x2fbac0=>{var _0x115c3d=_0x4f795a;this[_0x115c3d(0x3b8)][_0x115c3d(0x229)](_0x115c3d(0x21b),_0x115c3d(0x368),_0x2fbac0),this['_onConnectionFailed']();});}}catch(_0x294a88){this[_0x4f795a(0x3b8)][_0x4f795a(0x388)](_0x294a88),this[_0x4f795a(0x1a5)]();}}['_onConnectionOpen'](_0x1bcf3a){var _0x406307=_0x6461f5;this[_0x406307(0x3b8)][_0x406307(0x229)](_0x406307(0x21b),_0x406307(0x1d5)),_0x1bcf3a[_0x406307(0x1cf)]({'cmd':F[_0x406307(0x2d4)]}),this[_0x406307(0x1b8)]();}[_0x6461f5(0x327)](){var _0x5289a0=_0x6461f5;this['_socketReady']=!0x1,this[_0x5289a0(0x316)]=null,this[_0x5289a0(0x39c)][_0x5289a0(0x3b6)](Te[_0x5289a0(0x310)]),this[_0x5289a0(0x378)][_0x5289a0(0x3b6)](null),this[_0x5289a0(0x2c3)](),this['_clearHeartbeatTimer']();}[_0x6461f5(0x1a5)](){var _0x54311d=_0x6461f5,_0x309dd8;this[_0x54311d(0x327)](),this[_0x54311d(0x1c2)]<((_0x309dd8=this[_0x54311d(0x395)][_0x54311d(0x3bc)](Hn))!=null?_0x309dd8:kn)?(this[_0x54311d(0x354)][_0x54311d(0x2f1)]({'id':re[_0x54311d(0x2ba)]}),this['_tryReconnect']()):this[_0x54311d(0x354)][_0x54311d(0x2f1)]({'id':re['SOCKET_FAILED']});}[_0x6461f5(0x31d)](){var _0x26b439=_0x6461f5,_0x272983;const _0x3794ee=this['_retryCount'],_0x5db4ad=this[_0x26b439(0x395)][_0x26b439(0x3bc)](Y),_0x1351a4=_0x3794ee===0x0?0x0:((_0x272983=_0x5db4ad==null?void 0x0:_0x5db4ad['retryConnectingInterval'])!=null?_0x272983:$n)*0x2**_0x3794ee;this[_0x26b439(0x224)]=setTimeout(()=>{var _0x495b57=_0x26b439;clearTimeout(this[_0x495b57(0x224)]),this[_0x495b57(0x224)]=null,this[_0x495b57(0x30e)]();},_0x1351a4),this['_retryCount']+=0x1;}[_0x6461f5(0x2e5)](_0xe07fbd,_0xf5b3bf){var _0x3d5767=_0x6461f5;const {cmd:_0x502a34}=_0xf5b3bf;_0x502a34===F[_0x3d5767(0x2d4)]&&!this[_0x3d5767(0x39b)]&&(_0xe07fbd['memberID']=_0xf5b3bf[_0x3d5767(0x19b)][_0x3d5767(0x136)],this[_0x3d5767(0x378)][_0x3d5767(0x3b6)](_0xe07fbd),this[_0x3d5767(0x39c)][_0x3d5767(0x3b6)](Te[_0x3d5767(0x28a)]),this[_0x3d5767(0x39b)]=!0x0,this[_0x3d5767(0x316)]=null),_0x502a34===F[_0x3d5767(0x1b3)]&&this[_0x3d5767(0x2c3)](),this['_rescheduleHeartbeat']();}[_0x6461f5(0x1b8)](){var _0x24755c=_0x6461f5,_0x304d8f;this['_clearHeartbeatTimer'](),this[_0x24755c(0x113)]=setTimeout(()=>this[_0x24755c(0x1c3)](),(_0x304d8f=this[_0x24755c(0x395)]['getConfig'](Ln))!=null?_0x304d8f:Mn);}[_0x6461f5(0x1c3)](){var _0x5424b3=_0x6461f5;this[_0x5424b3(0x13f)][_0x5424b3(0x1cf)]({'cmd':F[_0x5424b3(0x1b3)]}),this[_0x5424b3(0x1bf)]();}[_0x6461f5(0x1bf)](){var _0x49cdff=_0x6461f5,_0x24d31c;this[_0x49cdff(0x36e)]=setTimeout(()=>this[_0x49cdff(0x1a5)](),(_0x24d31c=this[_0x49cdff(0x395)][_0x49cdff(0x3bc)](Ei))!=null?_0x24d31c:Ii);}[_0x6461f5(0x16f)](){var _0x3fab0d=_0x6461f5;this[_0x3fab0d(0x113)]!=null&&(clearTimeout(this[_0x3fab0d(0x113)]),this['_sendHeartbeatTimer']=null);}[_0x6461f5(0x2c3)](){var _0x26b026=_0x6461f5;this[_0x26b026(0x36e)]!=null&&(clearTimeout(this[_0x26b026(0x36e)]),this[_0x26b026(0x36e)]=null);}};Le=hs([ge(0x0,_0x5bd7c7(_0x429f70)),ge(0x1,_0x4e1df9),ge(0x2,_0x5e2a65),ge(0x3,bi),ge(0x4,_0x5bd7c7(_0x51ab2e)),ge(0x5,_0x5bd7c7(pe)),ge(0x6,_0x393a71(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x6461f5(0x103)]((n+0x100)[_0x6461f5(0x1e9)](0x10)[_0x6461f5(0x3e7)](0x1));function _s(_0x579636,_0x9f68ac=0x0){var _0x1a3aae=_0x6461f5;return(V[_0x579636[_0x9f68ac+0x0]]+V[_0x579636[_0x9f68ac+0x1]]+V[_0x579636[_0x9f68ac+0x2]]+V[_0x579636[_0x9f68ac+0x3]]+'-'+V[_0x579636[_0x9f68ac+0x4]]+V[_0x579636[_0x9f68ac+0x5]]+'-'+V[_0x579636[_0x9f68ac+0x6]]+V[_0x579636[_0x9f68ac+0x7]]+'-'+V[_0x579636[_0x9f68ac+0x8]]+V[_0x579636[_0x9f68ac+0x9]]+'-'+V[_0x579636[_0x9f68ac+0xa]]+V[_0x579636[_0x9f68ac+0xb]]+V[_0x579636[_0x9f68ac+0xc]]+V[_0x579636[_0x9f68ac+0xd]]+V[_0x579636[_0x9f68ac+0xe]]+V[_0x579636[_0x9f68ac+0xf]])[_0x1a3aae(0x3bf)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x2c2d71=_0x6461f5;if(!dt){if(typeof crypto>'u'||!crypto[_0x2c2d71(0x201)])throw new Error(_0x2c2d71(0x13e));dt=crypto[_0x2c2d71(0x201)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x6461f5(0x3a8)][_0x6461f5(0x17a)](crypto),qt={'randomUUID':ds};function fs(_0x3bcee5,_0x4a635c,_0x91944f){var _0x4aec40=_0x6461f5;if(qt['randomUUID']&&!_0x4a635c&&!_0x3bcee5)return qt[_0x4aec40(0x3a8)]();_0x3bcee5=_0x3bcee5||{};const _0x4d3327=_0x3bcee5['random']||(_0x3bcee5[_0x4aec40(0x2da)]||us)();return _0x4d3327[0x6]=_0x4d3327[0x6]&0xf|0x40,_0x4d3327[0x8]=_0x4d3327[0x8]&0x3f|0x80,_s(_0x4d3327);}const X=_0x212acd(_0x6461f5(0x17d));function vo(_0x4d9ba3){var _0xf358b3=_0x6461f5;return _0xf358b3(0x281)+_0x4d9ba3;}var vs=Object['defineProperty'],ps=Object['getOwnPropertyDescriptor'],ms=(_0x5ebead,_0x3dc3d5,_0x29ad94,_0x3bbe11)=>{for(var _0x1bbcbc=_0x3bbe11>0x1?void 0x0:_0x3bbe11?ps(_0x3dc3d5,_0x29ad94):_0x3dc3d5,_0x597062=_0x5ebead['length']-0x1,_0x2c242c;_0x597062>=0x0;_0x597062--)(_0x2c242c=_0x5ebead[_0x597062])&&(_0x1bbcbc=(_0x3bbe11?_0x2c242c(_0x3dc3d5,_0x29ad94,_0x1bbcbc):_0x2c242c(_0x1bbcbc))||_0x1bbcbc);return _0x3bbe11&&_0x1bbcbc&&vs(_0x3dc3d5,_0x29ad94,_0x1bbcbc),_0x1bbcbc;},ft=(_0xe49d66,_0x1d21ce)=>(_0x240792,_0x139921)=>_0x1d21ce(_0x240792,_0x139921,_0xe49d66);function gs(_0x4147e1){var _0x1c380d=_0x6461f5;const {unitID:_0x5f4067,mutations:_0x433c94}=_0x4147e1;return{'unitId':_0x5f4067,'subUnitId':_0x433c94[0x0][_0x1c380d(0x228)][_0x1c380d(0x184)]};}let nt=class{constructor(_0x20d944,_0x31548e,_0x30778e){var _0x598f8a=_0x6461f5;this['_injector']=_0x20d944,this[_0x598f8a(0x1b4)]=_0x31548e,this[_0x598f8a(0x349)]=_0x30778e;}[_0x6461f5(0x339)](_0xe04496){var _0xe0cb44=_0x6461f5,_0x5aec24,_0x68fbb9,_0x338d7d,_0x3d1a04;const _0x56223a=this[_0xe0cb44(0x1e2)][_0xe0cb44(0x364)](_0x92b07f),{unitId:_0x24f532,subUnitId:_0x529e1d}=gs(_0xe04496),_0x3809c5=_0x56223a==null?void 0x0:_0x56223a[_0xe0cb44(0x1f0)](_0x24f532)[_0xe0cb44(0x317)](),_0x1d00c6=(_0x68fbb9=(_0x5aec24=this[_0xe0cb44(0x349)]['getUnit'](_0x24f532))==null?void 0x0:_0x5aec24[_0xe0cb44(0x114)]())==null?void 0x0:_0x68fbb9[_0xe0cb44(0x342)]();if(_0x3809c5[_0xe0cb44(0x390)]===0x0||!_0x24f532||!_0x529e1d)return;const _0x3e72ab=[{'id':_0x9294cb['id'],'params':{'unitId':_0x24f532,'subUnitId':_0x1d00c6,'selections':_0x26c975[_0xe0cb44(0x352)](_0x3809c5)}}],_0x42238c=this[_0xe0cb44(0x1b4)][_0xe0cb44(0x16b)](_0xe04496,_0x3e72ab);if(!_0x461325(_0x42238c))throw _0x42238c[_0xe0cb44(0x388)];const _0x205e6=(_0x3d1a04=(_0x338d7d=_0x42238c[_0xe0cb44(0x3c4)][0x0])==null?void 0x0:_0x338d7d[_0xe0cb44(0x228)])==null?void 0x0:_0x3d1a04[_0xe0cb44(0x155)];if(Array['isArray'](_0x205e6)&&_0x205e6[_0xe0cb44(0x390)]){if(_0x205e6[_0xe0cb44(0x390)]===_0x3e72ab[0x0][_0xe0cb44(0x228)][_0xe0cb44(0x155)][_0xe0cb44(0x390)]&&_0x205e6[_0xe0cb44(0x24f)]((_0x5cd290,_0x173231)=>_0x2e2d66[_0xe0cb44(0x3c8)](_0x5cd290[_0xe0cb44(0x261)],_0x3e72ab[0x0][_0xe0cb44(0x228)][_0xe0cb44(0x155)][_0x173231]['range'])))return;this[_0xe0cb44(0x1e2)]['get'](_0x279dd3)[_0xe0cb44(0x134)](_0x9294cb['id'],{'unitId':_0x24f532,'subUnitId':_0x1d00c6,'selections':_0x205e6});}}};nt=ms([ft(0x0,_0x5bd7c7(_0x429f70)),ft(0x1,_0x3f46fc),ft(0x2,_0x360c9f)],nt);const _t=_0x212acd('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x1d9dca=>(_0x1d9dca[_0x1d9dca[_0x6461f5(0x3fc)]=0x0]=_0x6461f5(0x3fc),_0x1d9dca[_0x1d9dca[_0x6461f5(0x1eb)]=0x1]=_0x6461f5(0x1eb),_0x1d9dca))(yi||{});const Ss=new Set([_0x315350['id']]);function Jt(_0x347fb3,_0x574e79,_0x208400,_0x59bf47,_0x1639ff){var _0x2faaec=_0x6461f5,_0x59ea76,_0x21f198,_0x5b848a,_0x3db0e0;const _0x185032=[];for(const _0x212b53 of _0x347fb3)if(Ss[_0x2faaec(0x334)](_0x212b53['id'])){if(_0x185032[_0x2faaec(0x390)]>0x0)break;_0x185032['push'](_0x212b53);break;}else _0x185032[_0x2faaec(0x103)](_0x212b53);const _0x51f6c2=(_0x21f198=(_0x59ea76=_0x1639ff[_0x2faaec(0x269)]())==null?void 0x0:_0x59ea76[_0x2faaec(0x1cc)])!=null?_0x21f198:_0x2faaec(0x1a7),_0x43fa28=(_0x3db0e0=(_0x5b848a=_0x1639ff[_0x2faaec(0x269)]())==null?void 0x0:_0x5b848a['memberID'])!=null?_0x3db0e0:'unknown';return{'changeset':{'unitID':_0x574e79,'type':_0x200e06(_0x208400[_0x2faaec(0x2fb)](_0x574e79)),'baseRev':_0x59bf47[_0x2faaec(0x246)](_0x574e79),'revision':0x0,'userID':_0x51f6c2,'memberID':_0x43fa28,'mutations':_0x185032},'pendingMutations':_0x347fb3[_0x2faaec(0x3e7)](_0x185032[_0x2faaec(0x390)])};}function Es(_0xb85cbb,_0x8fd6b,_0x688391,_0x2e8cab,_0x5b8e9f){var _0xaf06eb=_0x6461f5,_0x2aaac8,_0x1839e4,_0x3371d4,_0x3f952f;const _0x17881c=[_0xb85cbb['reduce']((_0x540807,_0x14e849)=>{var _0x2850d7=_0x1a24,_0x41bd80;const {id:_0x156ee0}=_0x540807,{id:_0xde792f,type:_0x45237c}=_0x14e849,_0x3bfa1a=(_0x41bd80=_0x540807['params'])!=null?_0x41bd80:{'actions':null},_0x2d7469=_0x14e849['params'];if(_0x156ee0&&_0x156ee0!==_0xde792f)throw new Error(_0x2850d7(0x30c)+_0x156ee0+'\x20-\x20'+_0xde792f+'.');return{..._0x540807,'id':_0xde792f,'type':_0x45237c,'params':{'unitId':_0x2d7469[_0x2850d7(0x2a3)],'textRanges':_0x2d7469[_0x2850d7(0x360)],'actions':_0x50b2cf[_0x2850d7(0x1e8)](_0x3bfa1a[_0x2850d7(0x204)],_0x2d7469[_0x2850d7(0x204)])}};},{})],_0xa0d4fa=(_0x1839e4=(_0x2aaac8=_0x5b8e9f[_0xaf06eb(0x269)]())==null?void 0x0:_0x2aaac8['userID'])!=null?_0x1839e4:'unknown',_0x14feff=(_0x3f952f=(_0x3371d4=_0x5b8e9f[_0xaf06eb(0x269)]())==null?void 0x0:_0x3371d4['memberID'])!=null?_0x3f952f:_0xaf06eb(0x1a7);return{'changeset':{'unitID':_0x8fd6b,'type':_0x200e06(_0x688391[_0xaf06eb(0x2fb)](_0x8fd6b)),'baseRev':_0x2e8cab[_0xaf06eb(0x246)](_0x8fd6b),'revision':0x0,'userID':_0xa0d4fa,'memberID':_0x14feff,'mutations':_0x17881c},'pendingMutations':[]};}function Oi(_0x1abbae,_0x364671){var _0x461a94=_0x6461f5;const _0x3af4b7=new _0xf3dbca(0x1);return setTimeout(()=>_0x3af4b7[_0x461a94(0x3b6)](_0x364671),_0x1abbae),_0x3af4b7['asObservable']()[_0x461a94(0x11a)](_0x3a61f8(0x1));}const Is={'id':_0x2c6fef['id'],'type':_0xaf414d['MUTATION'],'params':{}};var Ts=Object[_0x6461f5(0x125)],Cs=Object[_0x6461f5(0x2b4)],be=(_0x14907f,_0x3b061f,_0x2a6db6,_0x264c47)=>{var _0x2c51a2=_0x6461f5;for(var _0x23a3dd=_0x264c47>0x1?void 0x0:_0x264c47?Cs(_0x3b061f,_0x2a6db6):_0x3b061f,_0x544c68=_0x14907f[_0x2c51a2(0x390)]-0x1,_0x21d623;_0x544c68>=0x0;_0x544c68--)(_0x21d623=_0x14907f[_0x544c68])&&(_0x23a3dd=(_0x264c47?_0x21d623(_0x3b061f,_0x2a6db6,_0x23a3dd):_0x21d623(_0x23a3dd))||_0x23a3dd);return _0x264c47&&_0x23a3dd&&Ts(_0x3b061f,_0x2a6db6,_0x23a3dd),_0x23a3dd;},A=(_0x39f3e6,_0x11c4bd)=>(_0x58f06f,_0x4a23b9)=>_0x11c4bd(_0x58f06f,_0x4a23b9,_0x39f3e6),Ni=(_0x21e3fe=>(_0x21e3fe[_0x6461f5(0x200)]=_0x6461f5(0x3be),_0x21e3fe[_0x6461f5(0x112)]=_0x6461f5(0x107),_0x21e3fe['PENDING']=_0x6461f5(0x2af),_0x21e3fe[_0x6461f5(0x37a)]=_0x6461f5(0x106),_0x21e3fe[_0x6461f5(0x3cd)]=_0x6461f5(0x13d),_0x21e3fe[_0x6461f5(0x22f)]='fetch_missing',_0x21e3fe[_0x6461f5(0x36b)]=_0x6461f5(0x19c),_0x21e3fe['OFFLINE']=_0x6461f5(0x21c),_0x21e3fe))(Ni||{});const Pi=0xea60;class Re{constructor(_0x3bc0b2,_0x690b89,_0x318f97,_0x389738,_0x2b64d2,_0xe6c041,_0x51f398,_0x20acb9,_0x5bde0d){var _0x354c9f=_0x6461f5;P(this,'_awaitingChangeset',null),P(this,_0x354c9f(0x170),[]),(this['unitID']=_0x3bc0b2,this[_0x354c9f(0x361)]=_0x690b89,this[_0x354c9f(0x15d)]=_0x2b64d2,this[_0x354c9f(0x160)]=_0xe6c041,this['_undoRedoService']=_0x51f398,this[_0x354c9f(0x289)]=_0x20acb9,this['_localCacheService']=_0x5bde0d,this[_0x354c9f(0x284)]=_0x318f97,this['_pendingMutations']=_0x389738);}['_checkMissing'](_0x5c2880){var _0x34c878=_0x6461f5;const _0x1db2bc=this[_0x34c878(0x289)]['getCurrentRevOfUnit'](this[_0x34c878(0x22e)]);return _0x5c2880[_0x34c878(0x235)]>_0x1db2bc+0x1?(this[_0x34c878(0x15d)][_0x34c878(0x10a)]({'from':_0x1db2bc,'to':_0x5c2880['revision']-0x1}),!0x0):!0x1;}[_0x6461f5(0x35f)](_0x164703){var _0x1606c5=_0x6461f5;this[_0x1606c5(0x32b)][_0x1606c5(0x30b)](this[_0x1606c5(0x22e)],_0x164703);}[_0x6461f5(0x21e)](_0x68a421){var _0x45244b=_0x6461f5,_0x16aa48,_0x440809;(_0x440809=(_0x16aa48=this['_handler'])['onTransformSelections'])==null||_0x440809[_0x45244b(0x191)](_0x16aa48,_0x68a421);}[_0x6461f5(0x1ca)](_0x26a6d9){var _0x58f5f5=_0x6461f5,_0x3e4fdf,_0x250115;return(_0x250115=(_0x3e4fdf=this[_0x58f5f5(0x15d)])[_0x58f5f5(0x282)])==null?void 0x0:_0x250115['call'](_0x3e4fdf,_0x26a6d9);}[_0x6461f5(0x3f3)](_0x1cbbc9){var _0x455cdf=_0x6461f5,_0x38014b,_0x34ae18;return(_0x34ae18=(_0x38014b=this[_0x455cdf(0x15d)])['onTransformState'])==null?void 0x0:_0x34ae18[_0x455cdf(0x191)](_0x38014b,_0x1cbbc9);}[_0x6461f5(0x29f)](_0xf5000c){var _0x2a3923=_0x6461f5,_0x26d850,_0x870036,_0x16c23d;return(_0x16c23d=(_0x870036=(_0x26d850=this[_0x2a3923(0x15d)])[_0x2a3923(0x2f9)])==null?void 0x0:_0x870036[_0x2a3923(0x191)](_0x26d850,_0xf5000c))!=null?_0x16c23d:_0xf5000c;}['_transformRemoteChangesetByStateCache'](_0x4f583b){var _0x3224c4=_0x6461f5,_0x3c32ca,_0x4e3e74,_0x830654;return(_0x830654=(_0x4e3e74=(_0x3c32ca=this['_handler'])[_0x3224c4(0x2b6)])==null?void 0x0:_0x4e3e74[_0x3224c4(0x191)](_0x3c32ca,_0x4f583b))!=null?_0x830654:_0x4f583b;}[_0x6461f5(0x24d)](_0x258d00){var _0x14de9e=_0x6461f5,_0x52e2b9,_0x32cfff;if(this[_0x14de9e(0x361)]===Q['UNIVER_DOC']){const {unitID:_0x3563c0,mutations:_0x495cba,memberID:_0xcf011b}=_0x258d00,_0xd0cd97=_0x495cba[0x0][_0x14de9e(0x228)][_0x14de9e(0x360)];Array[_0x14de9e(0x302)](_0xd0cd97)&&_0xd0cd97[_0x14de9e(0x390)]>0x0&&((_0x32cfff=(_0x52e2b9=this[_0x14de9e(0x15d)])['onSyncEditingCollabCursor'])==null||_0x32cfff['call'](_0x52e2b9,{'unitID':_0x3563c0,'memberID':_0xcf011b,'textRanges':_0xd0cd97}));}}[_0x6461f5(0x3d9)](){var _0x2a5eb8=_0x6461f5,_0x480587;(_0x480587=this['_localCacheService'])==null||_0x480587[_0x2a5eb8(0x192)](this[_0x2a5eb8(0x22e)],this['type'],this['_awaitingChangeset'],this[_0x2a5eb8(0x170)]);}[_0x6461f5(0x2c7)](){var _0x36dd00=_0x6461f5;return this[_0x36dd00(0x289)][_0x36dd00(0x246)](this['unitID']);}[_0x6461f5(0x1a9)](){var _0xf99c74=_0x6461f5;this['_revisionService'][_0xf99c74(0x226)](this[_0xf99c74(0x22e)]);}['_executeRemoteChangeset'](_0x58f626){var _0x167693=_0x6461f5,_0x450630;let _0x4d67d3=this[_0x167693(0x29f)](_0x58f626);_0x4d67d3=this[_0x167693(0x35d)](_0x4d67d3);const _0x48c8b2=_0x37ad33(_0x4d67d3['mutations'],this[_0x167693(0x160)],{'fromCollab':!0x0});if(!_0x48c8b2['result'])throw _0x48c8b2[_0x167693(0x388)]instanceof Error?_0x48c8b2[_0x167693(0x388)]:new Error((_0x450630=_0x48c8b2[_0x167693(0x388)])!=null?_0x450630:'[CollaborationState]:\x20apply\x20error!');this[_0x167693(0x1ca)](_0x4d67d3),this[_0x167693(0x3f3)](_0x4d67d3),this[_0x167693(0x35f)](_0x58f626),this[_0x167693(0x21e)](_0x4d67d3),this[_0x167693(0x24d)](_0x4d67d3),this[_0x167693(0x1a9)]();}}let Pe=class extends Re{constructor(_0x393729,_0x35a275,_0x49fee4,_0x427712,_0x128301,_0x42e16a,_0x11aa09,_0x4a91ca,_0x530fc1,_0x3bda45){var _0x46a738=_0x6461f5;super(_0x393729,_0x35a275,null,[],_0x49fee4,_0x11aa09,_0x42e16a,_0x427712,_0x3bda45),P(this,_0x46a738(0x2f3),'synced'),(this[_0x46a738(0x1e2)]=_0x128301,this[_0x46a738(0x3b8)]=_0x4a91ca,this[_0x46a738(0x1b4)]=_0x530fc1,this[_0x46a738(0x3e8)]=_0x3bda45);}['appendMutation'](_0x1f6b55){var _0x325b86=_0x6461f5;const _0x59c68f=this[_0x325b86(0x1e2)][_0x325b86(0x30a)](oe,this['unitID'],this['type'],[_0x1f6b55],this[_0x325b86(0x15d)]);return _0x59c68f['_schedule'](),_0x59c68f[_0x325b86(0x3d9)](),_0x59c68f;}[_0x6461f5(0x1c1)](_0x9950cc){var _0x2f8585=_0x6461f5;if(this['_checkMissing'](_0x9950cc))return this[_0x2f8585(0x1e2)][_0x2f8585(0x30a)](te,this[_0x2f8585(0x22e)],this[_0x2f8585(0x361)],null,[],null,[_0x9950cc],this[_0x2f8585(0x15d)]);try{const _0x4d1eec=this[_0x2f8585(0x1b4)][_0x2f8585(0x16b)](_0x9950cc,[Is]);if(_0x461325(_0x4d1eec)){const {c1Prime:_0x566a40}=_0x4d1eec;return this[_0x2f8585(0x221)](_0x566a40),this;}throw _0x4d1eec[_0x2f8585(0x388)];}catch(_0x4756b7){return this[_0x2f8585(0x3b8)][_0x2f8585(0x388)](_0x4756b7),this['_onConflict'](!0x1);}}[_0x6461f5(0x244)](_0x28f7a0){var _0x33474e=_0x6461f5;return this[_0x33474e(0x1e2)][_0x33474e(0x30a)](de,this[_0x33474e(0x22e)],this[_0x33474e(0x361)],null,[],this[_0x33474e(0x15d)],_0x28f7a0);}[_0x6461f5(0x185)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x6461f5(0x1f2)](){var _0x1e8add=_0x6461f5;throw new Error(_0x1e8add(0x216));}[_0x6461f5(0x239)](){return this;}[_0x6461f5(0x1ad)](){var _0x13c197=_0x6461f5;return this[_0x13c197(0x1e2)][_0x13c197(0x30a)](fe,this[_0x13c197(0x22e)],this[_0x13c197(0x361)],null,[],this[_0x13c197(0x15d)]);}[_0x6461f5(0x173)](){return this;}[_0x6461f5(0x1ae)](){var _0x56dba0=_0x6461f5;throw new Error(_0x56dba0(0x32c));}[_0x6461f5(0x17e)](){var _0x1c27fc=_0x6461f5;const _0x5c8150=this[_0x1c27fc(0x289)][_0x1c27fc(0x246)](this['unitID']);return this['_handler'][_0x1c27fc(0x10a)]({'from':_0x5c8150,'to':0x0}),this['_injector']['createInstance'](te,this[_0x1c27fc(0x22e)],this[_0x1c27fc(0x361)],null,[],null,[],this[_0x1c27fc(0x15d)]);}};Pe=be([A(0x3,_0x5bd7c7(_0xe03ed)),A(0x4,_0x5bd7c7(_0x429f70)),A(0x5,_0x112b6d),A(0x6,_0x279dd3),A(0x7,_0x4e1df9),A(0x8,_0x3f46fc),A(0x9,_0x393a71(X))],Pe);let oe=class extends Re{constructor(_0x22f22c,_0x4fe3f8,_0xa1738d,_0x4a8cef,_0x4fb0b0,_0x1a056d,_0x1ec326,_0x5d328e,_0x25b123,_0x751126,_0x528e46,_0x582619,_0x40f085,_0x10bd5a){var _0x77a4e2=_0x6461f5;super(_0x22f22c,_0x4fe3f8,null,_0xa1738d,_0x4a8cef,_0x25b123,_0x40f085,_0x1a056d,_0x10bd5a),P(this,_0x77a4e2(0x2f3),_0x77a4e2(0x2af)),P(this,_0x77a4e2(0x205),null),P(this,_0x77a4e2(0x25c),null),(this[_0x77a4e2(0x1e2)]=_0x4fb0b0,this[_0x77a4e2(0x110)]=_0x1ec326,this[_0x77a4e2(0x3b8)]=_0x5d328e,this[_0x77a4e2(0x395)]=_0x751126,this[_0x77a4e2(0x1b4)]=_0x528e46,this['_univerInstanceService']=_0x582619);}['appendMutation'](_0x29f6be){return this['_pendingMutations']['push'](_0x29f6be),this['_updateLocalCache'](),this;}[_0x6461f5(0x1c1)](_0x5318f5){var _0xa4fec=_0x6461f5;if(this['_checkMissing'](_0x5318f5))return this[_0xa4fec(0x383)](),this[_0xa4fec(0x1e2)][_0xa4fec(0x30a)](te,this[_0xa4fec(0x22e)],this['type'],null,this[_0xa4fec(0x170)],null,[_0x5318f5],this[_0xa4fec(0x15d)]);try{const _0x19a44f=this[_0xa4fec(0x1b4)][_0xa4fec(0x16b)](_0x5318f5,this['_pendingMutations']);if(_0x461325(_0x19a44f)){const {c1Prime:_0x30d7c6,m2Prime:_0x2434aa}=_0x19a44f;this[_0xa4fec(0x221)](_0x30d7c6);const _0x5b273e=this[_0xa4fec(0x1e2)][_0xa4fec(0x30a)](oe,this['unitID'],this[_0xa4fec(0x361)],_0x2434aa,this[_0xa4fec(0x15d)]);this[_0xa4fec(0x383)]();const _0x3a4c8f=new Date()['getTime'](),_0x45c86d=this[_0xa4fec(0x205)]?Math[_0xa4fec(0x301)](this['_scheduleCompleteTimestamp']-_0x3a4c8f,0x0):this[_0xa4fec(0x1d3)]();return _0x5b273e[_0xa4fec(0x3e3)](_0x45c86d),_0x5b273e;}throw _0x19a44f[_0xa4fec(0x388)];}catch(_0x19b339){return this[_0xa4fec(0x3b8)][_0xa4fec(0x388)](_0x19b339),this[_0xa4fec(0x244)](!0x1);}}[_0x6461f5(0x185)](){var _0x1d6cb6=_0x6461f5;throw new Error(_0x1d6cb6(0x338));}[_0x6461f5(0x1f2)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x6461f5(0x239)](){return this;}[_0x6461f5(0x1ad)](){var _0x1f75f7=_0x6461f5;return this[_0x1f75f7(0x383)](),this[_0x1f75f7(0x1e2)][_0x1f75f7(0x30a)](fe,this[_0x1f75f7(0x22e)],this[_0x1f75f7(0x361)],null,this[_0x1f75f7(0x170)],this[_0x1f75f7(0x15d)]);}['toggleOnline'](){return this;}[_0x6461f5(0x3e3)](_0x19b790){var _0x284128=_0x6461f5;const _0x123e42=_0x19b790!=null?_0x19b790:this[_0x284128(0x1d3)]();this[_0x284128(0x205)]=new Date()[_0x284128(0x39f)]()+_0x123e42,this['_sendingTimer']=setTimeout(()=>{var _0x3e8d9d=_0x284128;this[_0x3e8d9d(0x383)]();let _0xff1302=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0xff1302=Jt(this['_pendingMutations'],this[_0x3e8d9d(0x22e)],this[_0x3e8d9d(0x20e)],this['_revisionService'],this[_0x3e8d9d(0x110)]);break;}case Q[_0x3e8d9d(0x111)]:{this[_0x3e8d9d(0x170)][_0x3e8d9d(0x24f)](_0x396d2f=>_0x396d2f['id']===_0xc70726['id'])?_0xff1302=Es(this[_0x3e8d9d(0x170)],this[_0x3e8d9d(0x22e)],this['_univerInstanceService'],this[_0x3e8d9d(0x289)],this[_0x3e8d9d(0x110)]):_0xff1302=Jt(this[_0x3e8d9d(0x170)],this[_0x3e8d9d(0x22e)],this[_0x3e8d9d(0x20e)],this[_0x3e8d9d(0x289)],this[_0x3e8d9d(0x110)]);break;}default:throw new Error(_0x3e8d9d(0x2f4)+this[_0x3e8d9d(0x361)]+_0x3e8d9d(0x227));}const {changeset:_0x15ad8a,pendingMutations:_0x1cd351}=_0xff1302;this[_0x3e8d9d(0x15d)][_0x3e8d9d(0x31b)](_0x15ad8a);const _0x1c29a5=_0x1cd351['length']?this[_0x3e8d9d(0x1e2)]['createInstance'](ae,this[_0x3e8d9d(0x22e)],this['type'],_0x15ad8a,_0x1cd351,this[_0x3e8d9d(0x15d)],void 0x0):this[_0x3e8d9d(0x1e2)]['createInstance'](ue,this[_0x3e8d9d(0x22e)],this[_0x3e8d9d(0x361)],_0x15ad8a,this[_0x3e8d9d(0x15d)]);_0x1c29a5[_0x3e8d9d(0x3d9)](),this[_0x3e8d9d(0x15d)][_0x3e8d9d(0x1c5)](this,_0x1c29a5);},_0x123e42);}['_getSendChangesetTimeout'](){var _0x2c8eb2=_0x6461f5,_0x2305bc;const _0x2bffee=this[_0x2c8eb2(0x395)][_0x2c8eb2(0x3bc)](Y);return(_0x2305bc=_0x2bffee==null?void 0x0:_0x2bffee['sendChangesetTimeout'])!=null?_0x2305bc:wn;}['resend'](){var _0x25c603=_0x6461f5;throw new Error(_0x25c603(0x36a));}[_0x6461f5(0x383)](){var _0x3a239b=_0x6461f5;this[_0x3a239b(0x25c)]!=null&&(clearTimeout(this[_0x3a239b(0x25c)]),this[_0x3a239b(0x25c)]=null);}[_0x6461f5(0x244)](_0x29c8a0){var _0x3095eb=_0x6461f5;return this[_0x3095eb(0x383)](),this[_0x3095eb(0x1e2)][_0x3095eb(0x30a)](de,this[_0x3095eb(0x22e)],this[_0x3095eb(0x361)],null,this['_pendingMutations'],this[_0x3095eb(0x15d)],_0x29c8a0);}};oe=be([A(0x4,_0x5bd7c7(_0x429f70)),A(0x5,_0x5bd7c7(_0xe03ed)),A(0x6,_0x5bd7c7(xe)),A(0x7,_0x4e1df9),A(0x8,_0x279dd3),A(0x9,_0x5e2a65),A(0xa,_0x3f46fc),A(0xb,_0x360c9f),A(0xc,_0x112b6d),A(0xd,_0x393a71(X))],oe);function _0x3728(){var _0x2dbdc5=['FETCH_MISS','HmacMD5','LICENSE_EXPORT_SIZE_EXCEEDED','PSEUDO_FETCH_MISSING_RESULT','eventID','body','revision','clamp','Base','objectType','onRemoteRetry','editing\x20status\x20changed\x20to','&assign=','list','saveSnapshot','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','members','univer-pro.collaboration-client.network-condition.service','COMPRESS_MUTATION_APPLY','setCurrentUser','_onConflict','_transitionLocked','getCurrentRevOfUnit','SUBMIT_CHANGESET','[CollaborationSessionService]:\x20socket\x20error','onTransformState','SHOULD_CLOSE_CONN','_initDependencies','JOIN_ROOM_NOT_EXISTS','_syncEditingCollabCursor','post','every','SEND_CHANGESET_TIMEOUT','LOCAL_CACHE_INTERVAL','deleteCollaborator','_lockTransition','getCollabEntity$','getMemberID','$super','HMAC','_substituteRedoStack','objectID','[DataLoaderService]','status$','_sendingTimer','reverse','getValue','326394UYrRKQ','SNAPSHOT_HAS_BEEN_REMOVED','range','loadOfflineData','Hex','SNAPSHOT_SERVER_URL_KEY','focused$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','readyForCollab','_replaceFileID','getCurrentUser','JOIN','join','includes','getPermissionPoint','_init','_HTTPService','keySize','GLOBAL_ROOMS_CNT_EXCEEDS','_createInitialState','charCodeAt','forEach','_sheetTransformSelectionsService','init','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LIVESHARE_TERMINATE','subType','RETRY_CONNECTING_MAX_COUNT','1533TDwGqf','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','CHANGESET_REJ','3924739gsbuDS','_minBufferSize','_loadSheet','unit-cache-','onTransformIME','12Jquioi','_awaitingChangeset','Cipher','/universer-api/oidc/authpage','_getAPIPrefix','/-/object/-/batch_allowed','_revisionService','ONLINE','enableOfflineEditing','disableLocalCache','[FetchMissState]','x-univer-host','_createHelper','_authzIoService','_doFinalize','_collabSessionService','LICENSE_DISTRO_REJECTED','HmacSHA1','socket$','entityInit$','localeService','_mode','UNAUTHENTICATED','routeKey','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','processBlock','_commentService','image/jpg','_transformRemoteChangesetByIMECache','UPDATE_CURSOR','_resendTimeout','formatter','unitId','waitForRoom$','enableAuthServer','Encryptor','file','snapshot','PasswordBasedCipher','salt','encrypt','_unitID','joinEvent','random','pending','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CODE','loadDoc','getLatestCsReqIdBySid','getOwnPropertyDescriptor','byteLength','onTransformRemoteChangesetByStateCache','session.room-cnt-exceeds','OTHER_CLIENT_EDITING','_socketService','SOCKET_FAILED_RETRY','originalMeta','image/jpeg','objectActions','location','function','_type','_getCtorByUniverType','target','_clearTimeoutTimer','_updateState','event$','onMissedChangesetFetched','_getCurrentRevision','HEARTBEAT_TIMEOUT','APPLY_NON_SEQUENTIAL_REVISION','COMMENT_UPDATE','uniscriptRunEvent','filter','_clearUndo','_getLoginPath','key','_handlerCallback','_collaborationSessionService','putCollaborators','_fetchMissChangesets','HELLO','_getSignURL','/allowed','telemetry\x20info\x20is\x20not\x20initialized','ruleRefresh','setShowComponents','rng','getTypeOfUnitAdded$','parse','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','compute','ivSize','hasher','extend','enableSingleActiveInstanceLock','PERMISSION_DENIED','_clearCollaborationTimeoutTimer','_onMessage','/-/object/list','_snapshotService','_data','_getUploadFileURL','now','isPermissionRej','AES','_collaborationTimeoutTimer','open$','finalize','\x0aAfter:\x20','emitEvent','getCurrentUnitForType','status','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_telemetryInfo','_registerDependencies','_event$','_getUndoStack','onTransformRemoteChangesetByIMECache','batchAllowed','getUnitType','set','image/gif','/fetchmissing?from=','mode','Workbook','max','isArray','removeMember','catch','asObservable','refreshPermission','registerHTTPInterceptor','padding','closeSession','createInstance','transformUndoRedo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_tryEnsureSocket','_changesetReqId','OFFLINE','_checkMissing','MSG_FOR_ERROR','_nRounds','randomBytes','liveShareOperation','_candidateSocket','getCurrentSelections','LIVESHARE_OPERATION','unitInfo$','interceptor','onSendChangeset','fetching\x20missing\x20changesets\x20from\x20','_tryReconnect','action','c1Prime','_nDataBytes','_getDownloadEndpointURL','Latin1','/universer-api/comb','substr','CHANGESET_SHOULD_RETRY','clone','_onOffline','pauseCollaboration','_change$','_initMergeInterceptor','_undoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','collabWebSocketUrl','charAt','APPLY_PERMISSION_DENIED','searchParams','getRoom','unsubscribe','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','has','_doCryptBlock','stringify','authzUrl','[PendingState]:\x20received\x20acknowledgement.','transformSelections','_localeService','runId','[CollaborationSession]','_removeRoom','dispose','words','_createInitialStateImpl','ERROR_EXCEED_SIZE','getSheetId','[CollaborationUndoRedoService]','_doReset','[CollaborationEntity]','getSnapshotAPIPath','_state$','_undoStacks','_instanceService','src','UnitSnapshot','People','CBC','value','_acknowledgedAwaitingChangeset','/new_changes','getImageSourceCache','deepClone','_toggleOffline','_collaborationUIEventService','getResourcesRequest','newCsEvent','sid','AUTHZ_URL_KEY','BlockCipher','/block/','state','_waitCount','_transformRemoteChangesetByStateCache','INVALID_ARGUMENT','_transformUndoredo','textRanges','type','OpenSSL','_map','get','COMPRESS_MUTATION_SEND','_roomMembers','ticket','socket\x20close','WordArray','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CONFLICT','floor','cfg','_timeoutTimer','EvpKDF','default','onTransformSelections','COLLAB_WEB_SOCKET_URL','/universer-api/user/session-ticket','_remoteChangesetQueue','_telemetryService','USERS_ENTER','addHandlerCallback','_socket$','/rev/','AWAITING','appendMutation','resolve','mutations','session.room-permission-denied','YUUMI_UNABLE_LOAD_URL','pluginName','avatar','_onRecvEvent','_clearScheduledTask','_applyRemoteChangeset','_userManagerService','allowed','_onUserLeave','error','_joinRoom','fetchThroughInterceptors','_onLocalMutation','add','createEncryptor','getAllMembers','_prevBlock','length','shouldCloseConn','/object/','_onRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','_configService','UNIVER_SLIDE','/universer-api/authz','permissionRejEvent','_hasher','string','_socketReady','_status$','transformChangesets','state$','getTime','createDecryptor','_createHandler','_toggleOnline','_substituteUndoStack','c2Prime','readAsDataURL','Could\x20not\x20dynamically\x20require\x20\x22','reconnect','randomUUID','_emitMembers','_startCollaboration','/collaborator','_xformMode','Worksheet','_hash','JOIN_ROOM_PERMISSION_DENIED','ceil','ERROR_IMAGE','UNDEFINED','prototype','Hasher','_ENC_XFORM_MODE','next','DEFAULT_FILE_NAME','_logService','JOIN_ROOM_FULL','RECV','_resendWithTimeout','getConfig','splice','not_collab','toLowerCase','UNIVER_PROJECT','/resources','wsSessionTicketUrl','__Key__','m2Prime','close$','updatePermissionObjEvent','\x0aCurrent:\x20','equals','6007368faKLOq','POST','_startTelemetryCollaborationNewChangeset','UNIVER_UNKNOWN','AWAITING_WITH_PENDING','abs','SNAPSHOT_INVALID_SNAPSHOT','_snapshotServerService','startTime','_initCloseConn','_listenToNetworkCondition','_onJoinRoomEvent','_exhaustRemoteChangesetQueue','awaitingChangeset','_entities','_unlockTransition','_updateLocalCache','[OfflineState]:\x20received\x20acknowledgement.','&to=','_transformStack','UNISCRIPT_RUN','copyFileMeta','addImageSourceCache','[UniverCollaborationClientPlugin]','_singleActiveUnitService','?url=','_schedule','getTypeOfUnitDisposed$','format','Decryptor','slice','localCacheService','initWorkbookPermissionChange','updateMember','LICENSE_IMPORT_SIZE_EXCEEDED','_iv','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','baseRev','BlockCipherMode','roles','_doProcessBlock','604217EASSpg','_transformStateCache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sender','capture','fromCollab','_entityInit$','_loadDoc','map','1472jwYRPh','NO_OTHER_CLIENTS_EDITING','_changesetSessionId','?size=','_isPermissionRej','push','kdf','then','awaiting','synced','_showConflictNotification','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onMissingChangesets','_updateStatus','_roomCreated$','collabSubmitChangesetUrl','sessionStatus$','UNIVER_SHEET','_memberService','UNIVER_DOC','SYNCED','_sendHeartbeatTimer','getActiveSheet','findIndex','fromCharCode','execute','FAIL','getInterceptPoints','pipe','listRoles','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_state','byteOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','headers','session','dispose$','getCollabEntity','[OfflineState]:\x20received\x20changeset.','defineProperty','csAckEvent','PERSON','getFocusedUnit','readInt32LE','joinRsp','onlyLocal','updatePermissionPoint','BASE64','sigBytes','_resendTimer','find','onLocalMutation','_keyPriorReset','error$','executeCommand','replace','memberID','/role','workbook','sessionStatus','connection\x20error','sin','_commentUpdate$','awaiting_with_pending','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_socket','_imageSourceCache','LEAVE','_reverseMap','_collaborationPaused','loginUrlKey','_cipher','enc','TOO_MANY_REQUESTS','msCrypto','USERS_LEAVE','algo','_getSessionTicket','search','exports','url','FETCH_MISSING','mixIn','getTargetByPermissionId','INGEST','Utf8','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','selections','_append','CipherParams','_submitChangeset','name','image/bmp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NEW_CHANGESETS','_handler','disposeWithMe','LIVESHARE_FETCH_OPERATIONS','_commandService','_decreaseWaiting','_compressMutationService','INTERNAL_ERROR','withCredentials','encode','_shouldReportTelemetry','reset','onSyncEditingCollabCursor','lib','_config','transformMutationsWithChangeset','Malformed\x20UTF-8\x20data','reject','690fAfNtI','_clearHeartbeatTimer','_pendingMutations','_localCacheService','_members','toggleOnline','ciphertext','_socketMessageSubscription','createCollaborator','clearUndoRedo','/universer-api/uniscript','_process','bind','PERMISSION_REJ','close','collaboration-client.local-cache-service','fetchMiss','onCommandExecuted','onCommentUpdate','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','transformStack\x20failed!','saveSheetBlock','subUnitId','onRemoteAck','saveChangeset','JOIN_ROOM_FAILED','_onRemoteRetry','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','members$','UNRECOGNIZED','[OfflineState]:\x20received\x20rejection.','MD5','YUUMI_URL_COL_OUT_OF_RANGE','saveImage','ws://127.0.0.1:8000/universer-api/comb/connect','call','updateOfflineData','_http','_onRemoteRejected','_key','NoPadding','title','responseType','StreamCipher','repeat','data','conflict','csShouldRetryEvent','_sessions','2227320BmMKBX','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','{fileID}','\x20to\x20','ERROR_IMAGE_TYPE','_initRequestHeader','_onConnectionFailed','MUTATION','unknown','52115VQALuG','_incrementRevisionNumber','_keySchedule','__creator','stopTime','toggleOffline','resend','CHANGESET_REVISION_CONFILICT','commentUpdate$','SerializableCipher','cmd','HEARTBEAT','_transformService','subscribe','pad','_createHmacHelper','_rescheduleHeartbeat','createSocket','updateCollaborator','_initUnitPermissionChange','NOT_FOUND','fetch_missing','href','_waitForHeartbeatResponse','_oKey','onRemoteChangeset','_retryCount','_sendHeartbeat','session.room-not-exists','onStateChange','requireSession','setConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitEmbedded','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','userID','reqId','subject','send','crypto','submit\x20changeset\x20error!','__esModule','_getSendChangesetTimeout','update','socket\x20open.','_invKeySchedule','encryptBlock','startsWith','blockSize','APPLY_REJECT','_createSocketURL','_throwTelemetryCollaborationNewChangeset','objects','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','concat','LIVESHARE_NEW_HOST','_getRedoStack','_injector','apply','Univer','UNKNOWN_CMD','resourceIDs','APPLY_DUPLICATED','compose','toString','collaboration_new_changeset','OTHER_CLIENTS_EDITING','_sessionStatus$','SOCKET_FAILED','Pkcs7','_clearLocalCache','getWorkbookSelections','message$','onRemoteRej','_members$','json','_onUserJoin','complete','code','BufferedBlockAlgorithm','_onRemoteACK','hasOwnProperty','_getAPIPrefixPath','CLOSE_ROOM','HttpImport','_DEC_XFORM_MODE','ALREADY_EXISTS','NOT_COLLAB','getRandomValues','size','listCollaborators','actions','_scheduleCompleteTimestamp','clear','_permissionService','/universer-api/stream/file/upload','rev','HttpExport','delete','SHA1','_queuedRemoteChangesets','_univerInstanceService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','auth.needGotoLoginAlert','_networkConditionService','requestParams','collaboratorID','getMember','UUID','[SyncedState]:\x20received\x20rejection.','getUnitStatus$','/unit/','_unitInfo$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSessionService]','offline','_httpService','_transformSelections','liveShareNewHost','LIVESHARE_REQUEST_HOST','_executeRemoteChangeset','_eventService','changesets','_retryConnectingTimer','Undefined','incrementRevOfUnit','\x20in\x20_schedule.','params','debug','create','SUCCUSS','getUnitId','entries','unitID'];_0x3728=function(){return _0x2dbdc5;};return _0x3728();}let ue=class extends Re{constructor(_0x2ede32,_0xac7a51,_0x58247e,_0x58efc1,_0x595b6a,_0x3921cf,_0x24eece,_0x4b7194,_0x3301e7,_0x411bed,_0x711afb){var _0x43ccbb=_0x6461f5;super(_0x2ede32,_0xac7a51,_0x58247e,[],_0x58efc1,_0x24eece,_0x411bed,_0x3921cf,_0x711afb),P(this,'status',_0x43ccbb(0x106)),P(this,'_resendTimeout',0x0),P(this,_0x43ccbb(0x12f)),P(this,_0x43ccbb(0x3f5)),(this[_0x43ccbb(0x1e2)]=_0x595b6a,this[_0x43ccbb(0x3b8)]=_0x4b7194,this[_0x43ccbb(0x1b4)]=_0x3301e7);}[_0x6461f5(0x37b)](_0x320ea7){var _0x91727f=_0x6461f5;this[_0x91727f(0x383)]();const _0x2c94be=this[_0x91727f(0x1e2)][_0x91727f(0x30a)](ae,this[_0x91727f(0x22e)],this[_0x91727f(0x361)],this[_0x91727f(0x284)],[_0x320ea7],this[_0x91727f(0x15d)],this[_0x91727f(0x12f)]);return _0x2c94be[_0x91727f(0x3d9)](),_0x2c94be;}['onRemoteChangeset'](_0x1a815e){var _0x59ead8=_0x6461f5;if(this[_0x59ead8(0x311)](_0x1a815e))return this['_clearScheduledTask'](),this['_injector'][_0x59ead8(0x30a)](te,this['unitID'],this['type'],this[_0x59ead8(0x284)],[],null,[_0x1a815e],this[_0x59ead8(0x15d)]);try{const _0x48bcc3=this[_0x59ead8(0x1b4)][_0x59ead8(0x39d)]([_0x1a815e],[this[_0x59ead8(0x284)]],!0x1);if(_0x4455e9(_0x48bcc3)){const {c1Prime:_0x5a4e66,c2Prime:_0x1838d7}=_0x48bcc3;this[_0x59ead8(0x221)](_0x5a4e66[0x0]),_0x1838d7[0x0][_0x59ead8(0x3ee)]=this[_0x59ead8(0x2c7)](),this['_clearScheduledTask']();const _0x29154b=this['_injector'][_0x59ead8(0x30a)](ue,this[_0x59ead8(0x22e)],this['type'],_0x1838d7[0x0],this[_0x59ead8(0x15d)]);return _0x29154b[_0x59ead8(0x3d9)](),_0x29154b;}return this[_0x59ead8(0x244)](!0x1);}catch(_0x4a7fea){return this[_0x59ead8(0x3b8)][_0x59ead8(0x388)](_0x4a7fea),this[_0x59ead8(0x244)](!0x1);}}[_0x6461f5(0x185)](_0x1523d7){var _0x14d7a8=_0x6461f5;this[_0x14d7a8(0x383)]();const _0x39dde9=this[_0x14d7a8(0x289)][_0x14d7a8(0x246)](this[_0x14d7a8(0x22e)]);if(_0x1523d7[_0x14d7a8(0x235)]<_0x39dde9-0x1)return this;if(this[_0x14d7a8(0x311)](_0x1523d7))return this[_0x14d7a8(0x1e2)]['createInstance'](te,this['unitID'],this['type'],null,[],this[_0x14d7a8(0x284)],[],this['_handler']);this[_0x14d7a8(0x1a9)]();const _0xa39714=this[_0x14d7a8(0x1e2)][_0x14d7a8(0x30a)](Pe,this['unitID'],this['type'],this[_0x14d7a8(0x15d)]);return _0xa39714[_0x14d7a8(0x3d9)](),_0xa39714;}[_0x6461f5(0x1f2)](_0x9f7b29){var _0x13e8cd=_0x6461f5;return this[_0x13e8cd(0x244)](!!(_0x9f7b29!=null&&_0x9f7b29['isPermissionRej']));}[_0x6461f5(0x239)](_0x467aea){var _0x4578c3=_0x6461f5;return this[_0x4578c3(0x2a1)]>Pi?this[_0x4578c3(0x1ad)]():(this[_0x4578c3(0x12f)]=Oi(this[_0x4578c3(0x2a1)],{'timeout':this[_0x4578c3(0x2a1)],'reqId':_0x467aea['reqId']}),this[_0x4578c3(0x3f5)]=this['_resendTimer'][_0x4578c3(0x1b5)](({reqId:_0x5a31b6,timeout:_0x185d21})=>{var _0x78baf1=_0x4578c3;this[_0x78baf1(0x3bb)](_0x5a31b6,_0x185d21);}),this);}[_0x6461f5(0x1ad)](){var _0x556feb=_0x6461f5;return this[_0x556feb(0x383)](),this[_0x556feb(0x1e2)][_0x556feb(0x30a)](fe,this['unitID'],this[_0x556feb(0x361)],this['_awaitingChangeset'],[],this[_0x556feb(0x15d)]);}[_0x6461f5(0x173)](){return this;}['resend'](){var _0x14e1f7=_0x6461f5;this[_0x14e1f7(0x15d)][_0x14e1f7(0x31b)](this[_0x14e1f7(0x284)]);}[_0x6461f5(0x244)](_0x109d10){var _0x4376c2=_0x6461f5;return this[_0x4376c2(0x383)](),this[_0x4376c2(0x1e2)]['createInstance'](de,this['unitID'],this[_0x4376c2(0x361)],this[_0x4376c2(0x284)],[],this[_0x4376c2(0x15d)],_0x109d10);}['_resendWithTimeout'](_0x36bf2d,_0x35aa09){var _0x170873=_0x6461f5,_0x3f423d;_0x36bf2d===((_0x3f423d=this[_0x170873(0x284)])==null?void 0x0:_0x3f423d[_0x170873(0x1cd)])&&(this['resend'](),this[_0x170873(0x2a1)]=_0x35aa09===0x0?0x3e8:_0x35aa09*0x2);}['_clearScheduledTask'](){var _0x532f27=_0x6461f5,_0x3cf3b1;(_0x3cf3b1=this[_0x532f27(0x3f5)])==null||_0x3cf3b1[_0x532f27(0x332)](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x5bd7c7(_0x429f70)),A(0x5,_0x5bd7c7(_0xe03ed)),A(0x6,_0x279dd3),A(0x7,_0x4e1df9),A(0x8,_0x3f46fc),A(0x9,_0x112b6d),A(0xa,_0x393a71(X))],ue);let ae=class extends Re{constructor(_0x1f39bf,_0x6c60a2,_0xb6a61a,_0x3d7ee1,_0x4c6e53,_0x3ae3cf,_0x54e86b,_0x45941e,_0x227a19,_0x4dd975,_0x3acc7a,_0x7d522b,_0x4814b8){var _0x3a3498=_0x6461f5;super(_0x1f39bf,_0x6c60a2,_0xb6a61a,_0x3d7ee1,_0x4c6e53,_0x227a19,_0x7d522b,_0x45941e,_0x4814b8),P(this,_0x3a3498(0x2f3),'awaiting_with_pending'),P(this,_0x3a3498(0x2a1),0x0),P(this,_0x3a3498(0x12f)),P(this,'_sender'),(this[_0x3a3498(0x1e2)]=_0x54e86b,this[_0x3a3498(0x3b8)]=_0x4dd975,this[_0x3a3498(0x1b4)]=_0x3acc7a,this[_0x3a3498(0x3e8)]=_0x4814b8,_0x3ae3cf&&(this[_0x3a3498(0x12f)]=_0x3ae3cf,this[_0x3a3498(0x3f5)]=this[_0x3a3498(0x12f)]['subscribe'](({reqId:_0x1839a2,timeout:_0x5630d0})=>{var _0x21d208=_0x3a3498;this[_0x21d208(0x3bb)](_0x1839a2,_0x5630d0);})));}[_0x6461f5(0x37b)](_0x1bfeda){var _0x39b81f=_0x6461f5;return this['_pendingMutations'][_0x39b81f(0x103)](_0x1bfeda),this;}[_0x6461f5(0x1c1)](_0x562d36){var _0x1f3aea=_0x6461f5;if(this['_checkMissing'](_0x562d36))return this[_0x1f3aea(0x383)](),this['_injector'][_0x1f3aea(0x30a)](te,this[_0x1f3aea(0x22e)],this[_0x1f3aea(0x361)],this['_awaitingChangeset'],this[_0x1f3aea(0x170)],null,[_0x562d36],this[_0x1f3aea(0x15d)]);try{const _0x1605c3=this[_0x1f3aea(0x1b4)]['transformChangesets']([_0x562d36],[this[_0x1f3aea(0x284)]],!0x1);if(_0x4455e9(_0x1605c3)){const {c1Prime:_0x28ee99,c2Prime:_0x113464}=_0x1605c3,_0x6efd96=this[_0x1f3aea(0x1b4)]['transformMutationsWithChangeset'](_0x28ee99[0x0],this['_pendingMutations']);if(_0x461325(_0x6efd96)){const {c1Prime:_0x3dfd83,m2Prime:_0x22eb11}=_0x6efd96;return this['_executeRemoteChangeset'](_0x3dfd83),_0x113464[0x0][_0x1f3aea(0x3ee)]=this[_0x1f3aea(0x2c7)](),this['_clearScheduledTask'](),this[_0x1f3aea(0x1e2)][_0x1f3aea(0x30a)](ae,this[_0x1f3aea(0x22e)],this[_0x1f3aea(0x361)],_0x113464[0x0],_0x22eb11,this['_handler'],void 0x0);}throw _0x6efd96[_0x1f3aea(0x388)];}throw _0x1605c3[_0x1f3aea(0x388)];}catch(_0x2ef1f5){return this[_0x1f3aea(0x3b8)]['error'](_0x2ef1f5),this[_0x1f3aea(0x244)](!0x1);}}[_0x6461f5(0x185)](_0x872406){var _0x5b64c9=_0x6461f5;if(this[_0x5b64c9(0x383)](),this[_0x5b64c9(0x311)](_0x872406))return this[_0x5b64c9(0x1e2)]['createInstance'](te,this[_0x5b64c9(0x22e)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5b64c9(0x15d)]);this[_0x5b64c9(0x1a9)]();const _0x1f5550=this['_injector']['createInstance'](oe,this[_0x5b64c9(0x22e)],this[_0x5b64c9(0x361)],this[_0x5b64c9(0x170)],this[_0x5b64c9(0x15d)]);return _0x1f5550[_0x5b64c9(0x3e3)](),_0x1f5550[_0x5b64c9(0x3d9)](),_0x1f5550;}['onRemoteRej'](_0x4b36e0){var _0x5414e4=_0x6461f5;return this['_onConflict'](!!(_0x4b36e0!=null&&_0x4b36e0[_0x5414e4(0x2eb)]));}['onRemoteRetry'](_0x10d0d0){var _0x3b6ad=_0x6461f5;return this[_0x3b6ad(0x2a1)]>Pi?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x3b6ad(0x2a1)],{'timeout':this[_0x3b6ad(0x2a1)],'reqId':_0x10d0d0[_0x3b6ad(0x1cd)]}),this[_0x3b6ad(0x3f5)]=this[_0x3b6ad(0x12f)][_0x3b6ad(0x1b5)](({reqId:_0x495be4,timeout:_0x348ce5})=>{var _0x2e02a4=_0x3b6ad;this[_0x2e02a4(0x3bb)](_0x495be4,_0x348ce5);}),this);}[_0x6461f5(0x1ad)](){var _0x5f3642=_0x6461f5;return this['_clearScheduledTask'](),this[_0x5f3642(0x1e2)][_0x5f3642(0x30a)](fe,this[_0x5f3642(0x22e)],this[_0x5f3642(0x361)],this[_0x5f3642(0x284)],this[_0x5f3642(0x170)],this[_0x5f3642(0x15d)]);}['toggleOnline'](){return this;}[_0x6461f5(0x1ae)](){var _0x4ab260=_0x6461f5;this[_0x4ab260(0x15d)][_0x4ab260(0x31b)](this[_0x4ab260(0x284)]);}[_0x6461f5(0x244)](_0x398597){var _0x3da34b=_0x6461f5;return this[_0x3da34b(0x383)](),this[_0x3da34b(0x1e2)]['createInstance'](de,this[_0x3da34b(0x22e)],this[_0x3da34b(0x361)],null,this[_0x3da34b(0x170)],this[_0x3da34b(0x15d)],_0x398597);}['_resendWithTimeout'](_0x3ee706,_0x2c195a){var _0x524500=_0x6461f5,_0xfd095e;_0x3ee706===((_0xfd095e=this[_0x524500(0x284)])==null?void 0x0:_0xfd095e[_0x524500(0x1cd)])&&(this[_0x524500(0x1ae)](),this[_0x524500(0x2a1)]=_0x2c195a===0x0?0x3e8:_0x2c195a*0x2);}[_0x6461f5(0x383)](){var _0xf6b4f5=_0x6461f5,_0x22b82b;(_0x22b82b=this[_0xf6b4f5(0x3f5)])==null||_0x22b82b['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x5bd7c7(_0x429f70)),A(0x7,_0x5bd7c7(_0xe03ed)),A(0x8,_0x279dd3),A(0x9,_0x4e1df9),A(0xa,_0x3f46fc),A(0xb,_0x112b6d),A(0xc,_0x393a71(X))],ae);let de=class extends Re{constructor(_0x763ba6,_0x2338fa,_0x1b23e3,_0x5aa1d8,_0x3cf23d,_0x4daeef=!0x1,_0x3d57bb,_0x1393b4,_0x5a2fb8,_0x2f06e8,_0x591861,_0x498a57,_0x156b46){var _0x596779=_0x6461f5;super(_0x763ba6,_0x2338fa,_0x1b23e3,_0x5aa1d8,_0x3cf23d,_0x1393b4,_0x5a2fb8,_0x2f06e8,_0x156b46),P(this,'status','conflict'),(this[_0x596779(0x102)]=_0x4daeef,this[_0x596779(0x207)]=_0x3d57bb,this[_0x596779(0x33a)]=_0x591861,this[_0x596779(0x354)]=_0x498a57,this[_0x596779(0x3e8)]=_0x156b46,this[_0x596779(0x108)](),this[_0x596779(0x1ef)](),this['_disableEditing']());}[_0x6461f5(0x37b)](){return this;}[_0x6461f5(0x1c1)](){return this;}[_0x6461f5(0x185)](){return this;}[_0x6461f5(0x1f2)](){return this;}[_0x6461f5(0x239)](){return this;}[_0x6461f5(0x1ad)](){return this;}[_0x6461f5(0x173)](){return this;}[_0x6461f5(0x1ae)](){var _0x5a3199=_0x6461f5;throw new Error(_0x5a3199(0x21a));}[_0x6461f5(0x1ef)](){var _0xa54956=_0x6461f5,_0xf0e660;(_0xf0e660=this[_0xa54956(0x171)])==null||_0xf0e660[_0xa54956(0x192)](this[_0xa54956(0x22e)],this[_0xa54956(0x361)],null,[]);}['_showConflictNotification'](){var _0x2c22b8=_0x6461f5;this[_0x2c22b8(0x102)]?this['_collaborationUIEventService'][_0x2c22b8(0x2f1)]({'id':re['PERMISSION_DENIED']}):this[_0x2c22b8(0x354)][_0x2c22b8(0x2f1)]({'id':re[_0x2c22b8(0x36b)]});}['_disableEditing'](){var _0xd20d4b=_0x6461f5;this[_0xd20d4b(0x207)]['updatePermissionPoint'](new _0x4e54e8(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x5bd7c7(_0x55006e)),A(0x7,_0x279dd3),A(0x8,_0x112b6d),A(0x9,_0x5bd7c7(_0xe03ed)),A(0xa,_0x5bd7c7(_0x42e4ae)),A(0xb,_0x5bd7c7(pe)),A(0xc,_0x393a71(X))],de);let fe=class extends Re{constructor(_0x54751c,_0x1abd34,_0x16c9a4,_0x5d8b15,_0x13a644,_0x3524e8,_0x1f7a45,_0x455a7d,_0x21b4ad,_0x36f1dd){var _0x32fa8b=_0x6461f5;super(_0x54751c,_0x1abd34,_0x16c9a4,_0x5d8b15,_0x13a644,_0x455a7d,_0x21b4ad,_0x1f7a45,_0x36f1dd),P(this,_0x32fa8b(0x2f3),_0x32fa8b(0x21c)),this[_0x32fa8b(0x1e2)]=_0x3524e8;}[_0x6461f5(0x37b)](_0x2fe694){var _0x447edc=_0x6461f5;return this[_0x447edc(0x170)][_0x447edc(0x103)](_0x2fe694),this['_updateLocalCache'](),this;}[_0x6461f5(0x1c1)](_0x16f663){var _0x23511a=_0x6461f5;throw new Error(_0x23511a(0x124));}['onRemoteAck'](){var _0x517555=_0x6461f5;throw new Error(_0x517555(0x3da));}[_0x6461f5(0x1f2)](){var _0x3832ec=_0x6461f5;throw new Error(_0x3832ec(0x18c));}[_0x6461f5(0x239)](){return this;}[_0x6461f5(0x1ad)](){return this;}[_0x6461f5(0x173)](){var _0x2a8159=_0x6461f5;const {_injector:_0x47fde0,_pendingMutations:_0xb58359,_awaitingChangeset:_0x2876fe,unitID:_0x478cf9,_handler:_0x1b5a45,type:_0xe3901d}=this,_0x59af0a=Di(_0x47fde0,_0x478cf9,_0xe3901d,_0x2876fe,_0xb58359,_0x1b5a45);return _0x59af0a instanceof oe?_0x59af0a[_0x2a8159(0x3e3)]():(_0x59af0a instanceof ae||_0x59af0a instanceof ue)&&_0x59af0a[_0x2a8159(0x1ae)](),_0x59af0a;}[_0x6461f5(0x1ae)](){var _0x24217a=_0x6461f5;throw new Error(_0x24217a(0x1c8));}};fe=be([A(0x5,_0x5bd7c7(_0x429f70)),A(0x6,_0x5bd7c7(_0xe03ed)),A(0x7,_0x279dd3),A(0x8,_0x112b6d),A(0x9,_0x393a71(X))],fe);let te=class extends Re{constructor(_0x232b94,_0x599a2f,_0x427084,_0x49e71c,_0x54957f,_0x20e12a,_0x1bd407,_0x5e7eea,_0x2e070f,_0xad47e7,_0x22a520,_0xd638db,_0x5418e7,_0x455281){var _0x147251=_0x6461f5;super(_0x232b94,_0x599a2f,_0x427084,_0x49e71c,_0x1bd407,_0x22a520,_0xd638db,_0x2e070f,_0x455281),P(this,_0x147251(0x2f3),_0x147251(0x1bd)),(this[_0x147251(0x34f)]=_0x54957f,this['_queuedRemoteChangesets']=_0x20e12a,this[_0x147251(0x1e2)]=_0x5e7eea,this[_0x147251(0x3b8)]=_0xad47e7,this[_0x147251(0x1b4)]=_0x5418e7,this['localCacheService']=_0x455281);}[_0x6461f5(0x2c6)](_0x5a5faa){var _0x4a70df=_0x6461f5;try{const _0x28ae08=[..._0x5a5faa,...this[_0x4a70df(0x20d)]],_0x364f72=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4a70df(0x2cc)](_0xd91532=>!!_0xd91532);let _0x2b32be,_0x2f47de;if(_0x364f72['length']){const _0x4f543f=this[_0x4a70df(0x1b4)][_0x4a70df(0x39d)](_0x28ae08,_0x364f72,!0x1);if(!_0x4455e9(_0x4f543f))throw _0x4f543f['error'];_0x2b32be=_0x4f543f[_0x4a70df(0x31f)],_0x2f47de=_0x4f543f[_0x4a70df(0x3a4)];}else _0x2b32be=_0x28ae08,_0x2f47de=[];let _0x5e0906=this[_0x4a70df(0x170)];_0x2b32be[_0x4a70df(0x274)](_0x53e715=>{var _0x1ba47d=_0x4a70df;let _0x46aee4;if(_0x5e0906[_0x1ba47d(0x390)]){const _0xba15df=this[_0x1ba47d(0x1b4)][_0x1ba47d(0x16b)](_0x53e715,_0x5e0906);if(!_0x461325(_0xba15df))throw _0xba15df[_0x1ba47d(0x388)];_0x46aee4=_0xba15df['c1Prime'],_0x5e0906=_0xba15df[_0x1ba47d(0x3c4)];}else _0x46aee4=_0x53e715;this['_executeRemoteChangeset'](_0x46aee4);}),this[_0x4a70df(0x34f)]&&this[_0x4a70df(0x1a9)](),this[_0x4a70df(0x284)]&&_0x2f47de[_0x4a70df(0x390)]&&(_0x2f47de[0x0]['baseRev']=this[_0x4a70df(0x2c7)]());let _0x400cf1;if(this['_awaitingChangeset']&&_0x5e0906['length']!==0x0)_0x400cf1=this[_0x4a70df(0x1e2)][_0x4a70df(0x30a)](ae,this['unitID'],this['type'],_0x2f47de[0x0],_0x5e0906,this[_0x4a70df(0x15d)],void 0x0);else{if(this[_0x4a70df(0x284)]&&_0x5e0906[_0x4a70df(0x390)]===0x0)_0x2f47de[0x0][_0x4a70df(0x3ee)]=this['_getCurrentRevision'](),_0x400cf1=this[_0x4a70df(0x1e2)][_0x4a70df(0x30a)](ue,this[_0x4a70df(0x22e)],this[_0x4a70df(0x361)],_0x2f47de[0x0],this[_0x4a70df(0x15d)]);else{if(_0x5e0906[_0x4a70df(0x390)]!==0x0){const _0x23c64b=this[_0x4a70df(0x1e2)][_0x4a70df(0x30a)](oe,this[_0x4a70df(0x22e)],this[_0x4a70df(0x361)],_0x5e0906,this[_0x4a70df(0x15d)]);_0x23c64b['_schedule'](),_0x400cf1=_0x23c64b;}else _0x400cf1=this['_injector'][_0x4a70df(0x30a)](Pe,this[_0x4a70df(0x22e)],this[_0x4a70df(0x361)],this[_0x4a70df(0x15d)]);}}return _0x400cf1[_0x4a70df(0x3d9)](),_0x400cf1;}catch(_0x8f5540){return this[_0x4a70df(0x3b8)][_0x4a70df(0x388)](_0x4a70df(0x28d),'failed\x20to\x20apply\x20missed\x20changesets!',_0x8f5540),this['_injector'][_0x4a70df(0x30a)](de,this['unitID'],this[_0x4a70df(0x361)],this[_0x4a70df(0x284)],this[_0x4a70df(0x170)],this[_0x4a70df(0x15d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6461f5(0x37b)](_0x36de69){var _0x80be91=_0x6461f5;return this[_0x80be91(0x170)][_0x80be91(0x103)](_0x36de69),this;}[_0x6461f5(0x1c1)](_0x5df38f){var _0x5e9de2=_0x6461f5;return this[_0x5e9de2(0x20d)][_0x5e9de2(0x103)](_0x5df38f),this;}[_0x6461f5(0x185)](_0x2261c7){if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5500d1){var _0x2587f2=_0x6461f5;return this[_0x2587f2(0x244)](!!(_0x5500d1!=null&&_0x5500d1[_0x2587f2(0x2eb)]));}[_0x6461f5(0x239)](){return this;}[_0x6461f5(0x1ad)](){var _0x54da7b=_0x6461f5;return this['_injector'][_0x54da7b(0x30a)](fe,this['unitID'],this['type'],this[_0x54da7b(0x284)],this[_0x54da7b(0x170)],this['_handler']);}['toggleOnline'](){return this;}[_0x6461f5(0x244)](_0x258a3b){var _0x45bf57=_0x6461f5;return this['_injector']['createInstance'](de,this[_0x45bf57(0x22e)],this[_0x45bf57(0x361)],this['_awaitingChangeset'],this[_0x45bf57(0x170)],this[_0x45bf57(0x15d)],_0x258a3b);}};te=be([A(0x7,_0x5bd7c7(_0x429f70)),A(0x8,_0x5bd7c7(_0xe03ed)),A(0x9,_0x4e1df9),A(0xa,_0x279dd3),A(0xb,_0x112b6d),A(0xc,_0x3f46fc),A(0xd,_0x393a71(X))],te);function Di(_0x5d6fa2,_0x14ae78,_0x4bde9e,_0x13abf2,_0x20817a,_0x27821a){var _0x2db6c6=_0x6461f5;return _0x13abf2&&_0x20817a[_0x2db6c6(0x390)]?_0x5d6fa2[_0x2db6c6(0x30a)](ae,_0x14ae78,_0x4bde9e,_0x13abf2,_0x20817a,_0x27821a,void 0x0):_0x13abf2?_0x5d6fa2[_0x2db6c6(0x30a)](ue,_0x14ae78,_0x4bde9e,_0x13abf2,_0x27821a):_0x20817a['length']?_0x5d6fa2['createInstance'](oe,_0x14ae78,_0x4bde9e,_0x20817a,_0x27821a):_0x5d6fa2[_0x2db6c6(0x30a)](Pe,_0x14ae78,_0x4bde9e,_0x27821a);}var bs=Object[_0x6461f5(0x125)],Rs=Object[_0x6461f5(0x2b4)],Mt=(_0x10d34a,_0x53aab2,_0x2269aa,_0x2282dd)=>{var _0x3195d3=_0x6461f5;for(var _0x3085f5=_0x2282dd>0x1?void 0x0:_0x2282dd?Rs(_0x53aab2,_0x2269aa):_0x53aab2,_0x341950=_0x10d34a[_0x3195d3(0x390)]-0x1,_0x43e1da;_0x341950>=0x0;_0x341950--)(_0x43e1da=_0x10d34a[_0x341950])&&(_0x3085f5=(_0x2282dd?_0x43e1da(_0x53aab2,_0x2269aa,_0x3085f5):_0x43e1da(_0x3085f5))||_0x3085f5);return _0x2282dd&&_0x3085f5&&bs(_0x53aab2,_0x2269aa,_0x3085f5),_0x3085f5;},k=(_0x1d0f32,_0x2d0f61)=>(_0x17fcd8,_0x3fa072)=>_0x2d0f61(_0x17fcd8,_0x3fa072,_0x1d0f32);let st=class extends _0x4e2fa1{constructor(_0x50384d,_0x10842c,_0x3cc5f1,_0x30cb65,_0x5a06a1,_0x32629e,_0x583d7f,_0x4d5925,_0x1b2e37,_0x4ea5c4,_0x40e4dd,_0x43ba64,_0x6a1433){var _0x3dbaa8=_0x6461f5;super(),P(this,'_state$',new _0x225132(null)),P(this,_0x3dbaa8(0x39e),this[_0x3dbaa8(0x347)]['asObservable']()),P(this,'_state'),P(this,_0x3dbaa8(0x143),!0x1),P(this,_0x3dbaa8(0x100),''),P(this,_0x3dbaa8(0x30f),0x0),P(this,'status$',this[_0x3dbaa8(0x39e)][_0x3dbaa8(0x11a)](_0x3025fe(_0x413ef3=>_0x413ef3?_0x413ef3[_0x3dbaa8(0x2f3)]:Ni['OFFLINE']),_0x1ea21c(0x1))),P(this,'_transitionLocked',!0x1),P(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x50384d,this['session']=_0x10842c,this[_0x3dbaa8(0x2c0)]=_0x3cc5f1,this['_injector']=_0x30cb65,this[_0x3dbaa8(0x162)]=_0x5a06a1,this['_localeService']=_0x32629e,this['_revisionService']=_0x583d7f,this[_0x3dbaa8(0x222)]=_0x4d5925,this[_0x3dbaa8(0x3b8)]=_0x1b2e37,this[_0x3dbaa8(0x160)]=_0x4ea5c4,this[_0x3dbaa8(0x207)]=_0x40e4dd,this[_0x3dbaa8(0x3e1)]=_0x43ba64,this['_localCacheService']=_0x6a1433);}get['state'](){var _0x10539d=_0x6461f5;return this[_0x10539d(0x11d)];}async[_0x6461f5(0x276)](){var _0x11b09f=_0x6461f5;if(this[_0x11b09f(0x35b)])throw new Error(_0x11b09f(0x1a0));await this['_init']();}[_0x6461f5(0x328)](){var _0x633e07=_0x6461f5;return this[_0x633e07(0x143)]=!0x0,_0x327830(()=>{var _0x82889c=_0x633e07;this[_0x82889c(0x143)]=!0x1,this[_0x82889c(0x3d5)]();});}[_0x6461f5(0x131)](_0x405b86){var _0x456efb=_0x6461f5;this[_0x456efb(0x38b)](_0x405b86);}[_0x6461f5(0x2c4)](_0x252600){var _0x4fc4c9=_0x6461f5;this[_0x4fc4c9(0x11d)]=_0x252600,this[_0x4fc4c9(0x347)]['next'](_0x252600);}async['_init'](){var _0x15eeaa=_0x6461f5,_0x10a851;this[_0x15eeaa(0x2c4)](await this[_0x15eeaa(0x272)]()),this[_0x15eeaa(0x3e1)]&&((_0x10a851=this[_0x15eeaa(0x3e1)])==null||_0x10a851['editingUnit'](this[_0x15eeaa(0x22e)]),this[_0x15eeaa(0x15e)](this[_0x15eeaa(0x3e1)][_0x15eeaa(0x217)](this[_0x15eeaa(0x22e)])[_0x15eeaa(0x1b5)](_0x222b2c=>{var _0x186987=_0x15eeaa;this[_0x186987(0x3b8)][_0x186987(0x229)]('[CollaborationEntity]',_0x186987(0x23a),_0x222b2c),_0x222b2c===yi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x186987(0x2f1)]({'id':re[_0x186987(0x2b8)]}),this['_permissionService']['updatePermissionPoint'](new _0x4e54e8(this[_0x186987(0x22e)])['id'],!0x1),this[_0x186987(0x207)][_0x186987(0x2d9)](!0x1)):(this[_0x186987(0x207)]['updatePermissionPoint'](new _0x4e54e8(this[_0x186987(0x22e)])['id'],!0x0),this[_0x186987(0x207)]['setShowComponents'](!0x0));})));let _0xaee824=!0x1;return this[_0x15eeaa(0x15e)](this[_0x15eeaa(0x121)][_0x15eeaa(0x10e)][_0x15eeaa(0x1b5)](_0x302511=>{var _0xa53a3c=_0x15eeaa;_0x302511===Te[_0xa53a3c(0x28a)]?this[_0xa53a3c(0x3a2)](_0xaee824):_0x302511===Te['OFFLINE']&&(_0xaee824=!0x0,this[_0xa53a3c(0x353)]());})),this[_0x15eeaa(0x15e)](this['session'][_0x15eeaa(0x2c5)][_0x15eeaa(0x1b5)](_0x4e207d=>{var _0x1f6eae=_0x15eeaa;try{switch(_0x4e207d['eventID']){case _0x23c62b[_0x1f6eae(0x15c)]:{this[_0x1f6eae(0x393)](_0x5559db(_0x4e207d['data']));break;}case _0x23c62b['CHANGESET_ACK']:{this[_0x1f6eae(0x1f9)](_0x4e207d[_0x1f6eae(0x19b)]);break;}case _0x23c62b[_0x1f6eae(0x27d)]:{this[_0x1f6eae(0x194)]();break;}case _0x23c62b[_0x1f6eae(0x325)]:{this[_0x1f6eae(0x188)](_0x4e207d[_0x1f6eae(0x19b)]);break;}case _0x23c62b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x4e207d[_0x1f6eae(0x19b)][_0x1f6eae(0x223)][_0x1f6eae(0x3fa)](_0x44f465=>_0x5559db(_0x44f465)));break;}case _0x23c62b[_0x1f6eae(0x17b)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x23c62b[_0x1f6eae(0x3dd)]:break;}}catch(_0x21556b){throw console['error']('Error\x20on\x20receiving\x20event',_0x21556b),_0x21556b;}})),this[_0x15eeaa(0x11d)];}[_0x6461f5(0x3d8)](){var _0x47cd6a=_0x6461f5;this[_0x47cd6a(0x245)]=!0x1;}[_0x6461f5(0x253)](){var _0x3dcf3b=_0x6461f5;if(this[_0x3dcf3b(0x245)])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[_0x3dcf3b(0x245)]=!0x0;}[_0x6461f5(0x38b)](_0x4fcb9c){var _0x5c8e4a=_0x6461f5;this['_lockTransition'](),this['_updateState'](this['_state'][_0x5c8e4a(0x37b)](_0x4fcb9c)),this[_0x5c8e4a(0x3d8)]();}[_0x6461f5(0x393)](_0x1787ef){var _0x12f912=_0x6461f5;if(!(_0x1787ef[_0x12f912(0x235)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x12f912(0x22e)]))){if(this[_0x12f912(0x143)]){this[_0x12f912(0x374)][_0x12f912(0x103)](_0x1787ef);return;}this[_0x12f912(0x384)](_0x1787ef);}}[_0x6461f5(0x3d5)](){var _0x264ce8=_0x6461f5;this[_0x264ce8(0x374)][_0x264ce8(0x274)](_0x34c1f7=>this[_0x264ce8(0x384)](_0x34c1f7)),this[_0x264ce8(0x374)]=[];}[_0x6461f5(0x384)](_0x2cf08a){var _0x517f1a=_0x6461f5;const _0x27ffb4=this['_compressMutationService'][_0x517f1a(0x31a)]['fetchThroughInterceptors'](this[_0x517f1a(0x162)][_0x517f1a(0x31a)][_0x517f1a(0x119)]()[_0x517f1a(0x242)])(_0x2cf08a['mutations'],null)||_0x2cf08a[_0x517f1a(0x37d)],_0x222cc4={..._0x2cf08a,'mutations':_0x27ffb4};this['_lockTransition'](),this[_0x517f1a(0x2c4)](this[_0x517f1a(0x11d)][_0x517f1a(0x1c1)](_0x222cc4)),this['_unlockTransition']();}[_0x6461f5(0x1f9)](_0x294cb7){var _0xd53c23=_0x6461f5;this['_lockTransition'](),this[_0xd53c23(0x2c4)](this[_0xd53c23(0x11d)]['onRemoteAck'](_0x294cb7)),this[_0xd53c23(0x3d8)]();}[_0x6461f5(0x194)](_0x1e2bc1){var _0x15ffe6=_0x6461f5;this[_0x15ffe6(0x253)](),this[_0x15ffe6(0x2c4)](this['_state']['onRemoteRej'](_0x1e2bc1)),this['_unlockTransition']();}[_0x6461f5(0x188)](_0x3ae7fc){var _0x1dca6a=_0x6461f5;this['_lockTransition'](),this['_updateState'](this[_0x1dca6a(0x11d)][_0x1dca6a(0x239)](_0x3ae7fc)),this[_0x1dca6a(0x3d8)]();}['_onFetchMissResult'](_0x22e21b){var _0x36c90f=_0x6461f5;if(!(this[_0x36c90f(0x11d)]instanceof te))throw new TypeError(_0x36c90f(0x2dd));const _0x198bee=_0x22e21b['map'](_0x3664df=>{var _0x1ed135=_0x36c90f;const _0x4e27b2=this['_compressMutationService'][_0x1ed135(0x31a)][_0x1ed135(0x38a)](this[_0x1ed135(0x162)][_0x1ed135(0x31a)]['getInterceptPoints']()[_0x1ed135(0x242)])(_0x3664df[_0x1ed135(0x37d)],null)||_0x3664df[_0x1ed135(0x37d)];return{..._0x3664df,'mutations':_0x4e27b2};});this[_0x36c90f(0x253)](),this['_updateState'](this[_0x36c90f(0x11d)][_0x36c90f(0x2c6)](_0x198bee)),this['_unlockTransition']();}[_0x6461f5(0x353)](){var _0x29e407=_0x6461f5;this[_0x29e407(0x253)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x29e407(0x3d8)]();}[_0x6461f5(0x3a2)](_0x4b2d27=!0x1){var _0x594f63=_0x6461f5;this[_0x594f63(0x253)](),this['_updateState'](this[_0x594f63(0x11d)][_0x594f63(0x173)]()),this[_0x594f63(0x3d8)]();const _0x191fab=this[_0x594f63(0x11d)];_0x4b2d27&&_0x191fab instanceof Pe&&(this['_lockTransition'](),this[_0x594f63(0x2c4)](_0x191fab['fetchMiss']()),this[_0x594f63(0x3d8)]());}async[_0x6461f5(0x272)](){return new Promise(_0x5e102f=>{var _0x4d5e44=_0x1a24;this[_0x4d5e44(0x121)][_0x4d5e44(0x10e)][_0x4d5e44(0x11a)](_0x3a61f8(0x1))[_0x4d5e44(0x1b5)](async _0x4e244d=>{var _0x54e45d=_0x4d5e44;_0x5e102f(await this[_0x54e45d(0x340)](_0x4e244d===Te[_0x54e45d(0x28a)]));});});}[_0x6461f5(0x3a1)](){var _0x2d1b18=_0x6461f5;const _0x2d823a=this[_0x2d1b18(0x22e)];return{'onStateChange':(_0x287dbf,_0x39310e)=>{var _0x18e162=_0x2d1b18;if(_0x287dbf!==this[_0x18e162(0x11d)])throw new Error(_0x18e162(0x189)+_0x287dbf[_0x18e162(0x2f3)]+_0x18e162(0x2f0)+_0x39310e[_0x18e162(0x2f3)]+_0x18e162(0x3c7)+this[_0x18e162(0x11d)][_0x18e162(0x2f3)]);this[_0x18e162(0x2c4)](_0x39310e);},'onSendChangeset':_0x37643f=>{var _0xf7d621=_0x2d1b18;_0x37643f[_0xf7d621(0x357)]||(_0x37643f[_0xf7d621(0x357)]=this[_0xf7d621(0x100)],_0x37643f[_0xf7d621(0x1cd)]=++this[_0xf7d621(0x30f)]);const _0x639c3a={'eventID':_0x23c62b[_0xf7d621(0x247)],'data':{'unitID':_0x37643f['unitID'],'unitType':this[_0xf7d621(0x2c0)],'changeset':_0x37643f,'memberID':this['session'][_0xf7d621(0x255)]()}};this[_0xf7d621(0x121)][_0xf7d621(0x1cf)](_0x639c3a,this[_0xf7d621(0x22e)]);},'onMissingChangesets':({from:_0x30f2ad,to:_0x2ae306})=>{var _0x3d578c=_0x2d1b18;this[_0x3d578c(0x3b8)][_0x3d578c(0x229)](_0x3d578c(0x345),_0x3d578c(0x31c)+_0x30f2ad+_0x3d578c(0x1a2)+_0x2ae306);const _0x249b2c={'eventID':_0x23c62b[_0x3d578c(0x14f)],'data':{'unitID':_0x2d823a,'unitType':this[_0x3d578c(0x2c0)],'from':_0x30f2ad,'to':_0x2ae306}};this[_0x3d578c(0x121)][_0x3d578c(0x1cf)](_0x249b2c,this['unitID']);}};}async[_0x6461f5(0x340)](_0x1cd4ef){var _0x13db8b=_0x6461f5,_0xe1f2ce,_0xb14d86,_0x481fe9;const _0x34acc1=await((_0xe1f2ce=this[_0x13db8b(0x171)])==null?void 0x0:_0xe1f2ce[_0x13db8b(0x262)](this[_0x13db8b(0x22e)])),_0x39bb72=(_0xb14d86=_0x34acc1==null?void 0x0:_0x34acc1['mutations'])!=null?_0xb14d86:[],_0x377935=(_0x481fe9=_0x34acc1==null?void 0x0:_0x34acc1['awaitingChangeset'])!=null?_0x481fe9:null,_0x46e5cd=!!(_0x377935!=null&&_0x377935[_0x13db8b(0x357)])&&!!(_0x377935!=null&&_0x377935[_0x13db8b(0x1cd)]);this[_0x13db8b(0x100)]=_0x46e5cd?_0x377935[_0x13db8b(0x357)]:fs(),this[_0x13db8b(0x30f)]=_0x46e5cd?_0x377935[_0x13db8b(0x1cd)]:0x0;const _0x120d05=this[_0x13db8b(0x22e)];try{this['_replayCachedMutations'](_0x377935,_0x39bb72);}catch(_0x5c89a2){this[_0x13db8b(0x3b8)][_0x13db8b(0x388)](_0x5c89a2);}const _0x59f79f=this['_createHandler']();if(_0x1cd4ef){const _0x580cd9=Di(this[_0x13db8b(0x1e2)],_0x120d05,this[_0x13db8b(0x2c0)],_0x377935,_0x39bb72,_0x59f79f);return _0x580cd9 instanceof oe?_0x580cd9[_0x13db8b(0x3e3)]():(_0x580cd9 instanceof ae||_0x580cd9 instanceof ue)&&_0x580cd9[_0x13db8b(0x1ae)](),_0x580cd9;}return this[_0x13db8b(0x1e2)]['createInstance'](fe,_0x120d05,this[_0x13db8b(0x2c0)],_0x377935,_0x39bb72,_0x59f79f);}['_replayCachedMutations'](_0x541781,_0x6d704){var _0xc7c84c=_0x6461f5,_0x52393a,_0x469a0f;const _0x2831f6=this['_compressMutationService'][_0xc7c84c(0x31a)][_0xc7c84c(0x38a)](this[_0xc7c84c(0x162)]['interceptor'][_0xc7c84c(0x119)]()[_0xc7c84c(0x242)]);(_0x52393a=_0x2831f6((_0x541781==null?void 0x0:_0x541781['mutations'])||[],null))==null||_0x52393a[_0xc7c84c(0x274)](_0xf28fcd=>this[_0xc7c84c(0x160)]['executeCommand'](_0xf28fcd['id'],_0xf28fcd[_0xc7c84c(0x228)])),(_0x469a0f=_0x2831f6(_0x6d704||[],null))==null||_0x469a0f[_0xc7c84c(0x274)](_0x5465ab=>this['_commandService'][_0xc7c84c(0x134)](_0x5465ab['id'],_0x5465ab[_0xc7c84c(0x228)]));}};st=Mt([k(0x3,_0x5bd7c7(_0x429f70)),k(0x4,_0x5bd7c7(_0x684986)),k(0x5,_0x5bd7c7(_0x42e4ae)),k(0x6,_0x5bd7c7(_0xe03ed)),k(0x7,_0x5bd7c7(pe)),k(0x8,_0x4e1df9),k(0x9,_0x279dd3),k(0xa,_0x55006e),k(0xb,_0x393a71(_t)),k(0xc,_0x393a71(X))],st);let Ct=class extends st{constructor(_0xed6c6b,_0x3afe27,_0xe26644,_0x34cdef,_0xa5136e,_0x31965c,_0x3ec92e,_0x1eb15a,_0x343c68,_0x6c60e3,_0x1f08a0,_0x40df38,_0x327e96){var _0x466cca=_0x6461f5;super(_0xed6c6b,_0xe26644,_0x3afe27,_0x34cdef,_0xa5136e,_0x31965c,_0x3ec92e,_0x1eb15a,_0x343c68,_0x6c60e3,_0x1f08a0,_0x40df38,_0x327e96),P(this,_0x466cca(0x2d0),null),(this['unitID']=_0xed6c6b,this[_0x466cca(0x361)]=_0x3afe27);}[_0x6461f5(0x377)](_0x45cbed){var _0x1338e8=_0x6461f5;this[_0x1338e8(0x2d0)]=_0x45cbed;}[_0x6461f5(0x33e)](){var _0x27ef18=_0x6461f5;this[_0x27ef18(0x2d0)]=null,super['dispose']();}[_0x6461f5(0x3a1)](){var _0x20abe9=_0x6461f5;const _0x272444=super[_0x20abe9(0x3a1)]();return _0x272444[_0x20abe9(0x282)]=_0x3b7d60=>{var _0x3e11e8=_0x20abe9,_0x124ac8,_0x1f444d;return(_0x1f444d=(_0x124ac8=this[_0x3e11e8(0x2d0)])==null?void 0x0:_0x124ac8['onTransformIME'])==null?void 0x0:_0x1f444d[_0x3e11e8(0x191)](_0x124ac8,_0x3b7d60);},_0x272444['onTransformState']=_0x2033ea=>{var _0x5910e5=_0x20abe9,_0xd19f4c,_0x3c505c;return(_0x3c505c=(_0xd19f4c=this[_0x5910e5(0x2d0)])==null?void 0x0:_0xd19f4c[_0x5910e5(0x249)])==null?void 0x0:_0x3c505c[_0x5910e5(0x191)](_0xd19f4c,_0x2033ea);},_0x272444['onTransformSelections']=_0x22adc5=>{var _0x39e704=_0x20abe9,_0x521536,_0x357672;return(_0x357672=(_0x521536=this[_0x39e704(0x2d0)])==null?void 0x0:_0x521536[_0x39e704(0x371)])==null?void 0x0:_0x357672[_0x39e704(0x191)](_0x521536,_0x22adc5);},_0x272444[_0x20abe9(0x168)]=_0x5af2e1=>{var _0x387218=_0x20abe9,_0x566edb,_0x56e196;return(_0x56e196=(_0x566edb=this['_handlerCallback'])==null?void 0x0:_0x566edb[_0x387218(0x168)])==null?void 0x0:_0x56e196[_0x387218(0x191)](_0x566edb,_0x5af2e1);},_0x272444[_0x20abe9(0x2f9)]=_0x20f8e0=>{var _0x121408=_0x20abe9,_0x254fea,_0x164c70,_0x3c74c8;if(!((_0x254fea=this['_handlerCallback'])!=null&&_0x254fea[_0x121408(0x2f9)]))throw new Error(_0x121408(0x23f));return(_0x3c74c8=(_0x164c70=this[_0x121408(0x2d0)])==null?void 0x0:_0x164c70[_0x121408(0x2f9)])==null?void 0x0:_0x3c74c8[_0x121408(0x191)](_0x164c70,_0x20f8e0);},_0x272444['onTransformRemoteChangesetByStateCache']=_0x3ed3f0=>{var _0x32faed=_0x20abe9,_0x27cc6f,_0x5c34ea,_0x15f3b0;if(!((_0x27cc6f=this[_0x32faed(0x2d0)])!=null&&_0x27cc6f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x32faed(0x333));return(_0x15f3b0=(_0x5c34ea=this[_0x32faed(0x2d0)])==null?void 0x0:_0x5c34ea[_0x32faed(0x2b6)])==null?void 0x0:_0x15f3b0[_0x32faed(0x191)](_0x5c34ea,_0x3ed3f0);},_0x272444;}async[_0x6461f5(0x26e)](){var _0x19f237=_0x6461f5;const _0x52b1ae=await super[_0x19f237(0x26e)]();return this['disposeWithMe'](this[_0x19f237(0x160)][_0x19f237(0x17f)]((_0x397e95,_0xb9e981)=>{var _0x1eccc4=_0x19f237;if(_0x397e95[_0x1eccc4(0x361)]!==_0xaf414d[_0x1eccc4(0x1a6)]||_0xb9e981!=null&&_0xb9e981[_0x1eccc4(0x3f7)]||_0xb9e981!=null&&_0xb9e981[_0x1eccc4(0x12b)]||_0x397e95['id']===_0xc70726['id'])return;const _0x41e54b=_0x397e95[_0x1eccc4(0x228)];if((_0x41e54b==null?void 0x0:_0x41e54b[_0x1eccc4(0x2a3)])!==this[_0x1eccc4(0x22e)])return;const _0x49b345=_0x397e95,_0x4a1fd0=this[_0x1eccc4(0x162)][_0x1eccc4(0x31a)]['fetchThroughInterceptors'](this[_0x1eccc4(0x162)][_0x1eccc4(0x31a)][_0x1eccc4(0x119)]()[_0x1eccc4(0x365)])([_0x49b345],null)||[_0x49b345];this[_0x1eccc4(0x38b)](_0x4a1fd0[0x0]);})),_0x52b1ae;}};Ct=Mt([k(0x3,_0x5bd7c7(_0x429f70)),k(0x4,_0x5bd7c7(_0x684986)),k(0x5,_0x5bd7c7(_0x42e4ae)),k(0x6,_0x5bd7c7(_0xe03ed)),k(0x7,_0x5bd7c7(pe)),k(0x8,_0x4e1df9),k(0x9,_0x279dd3),k(0xa,_0x55006e),k(0xb,_0x393a71(_t)),k(0xc,_0x393a71(X))],Ct);let bt=class extends st{constructor(_0x36056f,_0x218c7b,_0x131f58,_0x39db9a,_0x50c7fd,_0x2892a1,_0xa9a130,_0x20347e,_0x3df485,_0x49421a,_0x31e796,_0x40df72,_0xa41f61,_0x4d4b2f){var _0x5ea97b=_0x6461f5;super(_0x36056f,_0x131f58,_0x218c7b,_0x39db9a,_0x50c7fd,_0x2892a1,_0xa9a130,_0x3df485,_0x49421a,_0x31e796,_0x40df72,_0xa41f61,_0x4d4b2f),this[_0x5ea97b(0x22e)]=_0x36056f,this['type']=_0x218c7b,this[_0x5ea97b(0x275)]=_0x20347e;}['_createHandler'](){var _0x5729c3=_0x6461f5;const _0x3f44da=super[_0x5729c3(0x3a1)]();return _0x3f44da[_0x5729c3(0x371)]=_0x402417=>this['_sheetTransformSelectionsService'][_0x5729c3(0x339)](_0x402417),_0x3f44da;}async[_0x6461f5(0x26e)](){var _0x4ed945=_0x6461f5;const _0x3bfa4a=await super[_0x4ed945(0x26e)]();return this['disposeWithMe'](this[_0x4ed945(0x160)][_0x4ed945(0x17f)]((_0x49abe4,_0x52441c)=>{var _0x24e6dd=_0x4ed945;if(_0x49abe4[_0x24e6dd(0x361)]!==_0xaf414d[_0x24e6dd(0x1a6)]||_0x52441c!=null&&_0x52441c[_0x24e6dd(0x3f7)]||_0x52441c!=null&&_0x52441c[_0x24e6dd(0x12b)])return;const _0x1cbce2=_0x49abe4[_0x24e6dd(0x228)];if((_0x1cbce2==null?void 0x0:_0x1cbce2[_0x24e6dd(0x2a3)])!==this[_0x24e6dd(0x22e)])return;const _0x49ec30=_0x49abe4,_0x5e960b=this[_0x24e6dd(0x162)]['interceptor'][_0x24e6dd(0x38a)](this[_0x24e6dd(0x162)][_0x24e6dd(0x31a)][_0x24e6dd(0x119)]()[_0x24e6dd(0x365)])([_0x49ec30],null)||[_0x49ec30];this[_0x24e6dd(0x38b)](_0x5e960b[0x0]);})),_0x3bfa4a;}};bt=Mt([k(0x3,_0x5bd7c7(_0x429f70)),k(0x4,_0x5bd7c7(_0x684986)),k(0x5,_0x5bd7c7(_0x42e4ae)),k(0x6,_0x5bd7c7(_0xe03ed)),k(0x7,_0x5bd7c7(nt)),k(0x8,_0x5bd7c7(pe)),k(0x9,_0x4e1df9),k(0xa,_0x279dd3),k(0xb,_0x55006e),k(0xc,_0x393a71(_t)),k(0xd,_0x393a71(X))],bt);var ys=Object[_0x6461f5(0x125)],Os=Object[_0x6461f5(0x2b4)],Ns=(_0x34ab25,_0x5bdf3f,_0x592ba8,_0x46ce9d)=>{var _0x1ee7af=_0x6461f5;for(var _0x68f69b=_0x46ce9d>0x1?void 0x0:_0x46ce9d?Os(_0x5bdf3f,_0x592ba8):_0x5bdf3f,_0x463c16=_0x34ab25[_0x1ee7af(0x390)]-0x1,_0x58383e;_0x463c16>=0x0;_0x463c16--)(_0x58383e=_0x34ab25[_0x463c16])&&(_0x68f69b=(_0x46ce9d?_0x58383e(_0x5bdf3f,_0x592ba8,_0x68f69b):_0x58383e(_0x68f69b))||_0x68f69b);return _0x46ce9d&&_0x68f69b&&ys(_0x5bdf3f,_0x592ba8,_0x68f69b),_0x68f69b;},vt=(_0x7f7ad9,_0x4d6e47)=>(_0x357409,_0xaef8e)=>_0x4d6e47(_0x357409,_0xaef8e,_0x7f7ad9);let rt=class extends _0x4e2fa1{constructor(_0xdf8ca7,_0x2166b9,_0x45d937){var _0x5011e0=_0x6461f5;super(),P(this,_0x5011e0(0x3d7),new Map()),P(this,_0x5011e0(0x3f8),new _0x2fe9de()),P(this,_0x5011e0(0x296),this[_0x5011e0(0x3f8)][_0x5011e0(0x305)]()),(this['_injector']=_0xdf8ca7,this[_0x5011e0(0x292)]=_0x2166b9,this[_0x5011e0(0x20e)]=_0x45d937,this[_0x5011e0(0x26e)]());}['dispose'](){var _0x476434=_0x6461f5;super[_0x476434(0x33e)](),this['_entities']['forEach'](_0x727ecf=>_0x727ecf[_0x476434(0x33e)]()),this[_0x476434(0x3d7)][_0x476434(0x206)]();}['getCollabEntity'](_0x247c54){var _0x59332e=_0x6461f5,_0x5d8016;return(_0x5d8016=this[_0x59332e(0x3d7)]['get'](_0x247c54))!=null?_0x5d8016:null;}[_0x6461f5(0x254)](_0xe5471a){var _0x3121f6=_0x6461f5;const _0x216a68=this[_0x3121f6(0x123)](_0xe5471a);return _0x216a68?_0x1b3bda(_0x216a68):this[_0x3121f6(0x3f8)][_0x3121f6(0x11a)](_0x43f82e(_0x59629b=>_0x59629b[_0x3121f6(0x22e)]===_0xe5471a));}[_0x6461f5(0x267)](_0x357284){return _0x11248e(this['getCollabEntity$'](_0x357284)['pipe'](_0x547787(()=>{})));}[_0x6461f5(0x26e)](){var _0x47abd0=_0x6461f5;this[_0x47abd0(0x20e)][_0x47abd0(0x2db)](_0x590133['UNIVER_SHEET'])[_0x47abd0(0x11a)](_0x23d9e1(this[_0x47abd0(0x122)]),_0x4dc11c(0x10))[_0x47abd0(0x1b5)](async _0x302225=>{var _0x1c73d3=_0x47abd0;const _0x3703b1=_0x302225['getUnitId'](),_0x57b37c=await this[_0x1c73d3(0x3aa)](_0x3703b1,Q['UNIVER_SHEET']);this[_0x1c73d3(0x3d7)][_0x1c73d3(0x2fc)](_0x3703b1,_0x57b37c);}),this[_0x47abd0(0x20e)]['getTypeOfUnitAdded$'](_0x590133[_0x47abd0(0x111)])['pipe'](_0x23d9e1(this[_0x47abd0(0x122)]),_0x4dc11c(0x10))[_0x47abd0(0x11a)](_0x43f82e(_0x4af4a1=>!_0x4af4a1[_0x47abd0(0x22c)]()[_0x47abd0(0x1d8)]('__')))[_0x47abd0(0x1b5)](async _0x1edc86=>{var _0x5c2bac=_0x47abd0;const _0x4eae64=_0x1edc86[_0x5c2bac(0x22c)](),_0x3438f7=await this['_startCollaboration'](_0x4eae64,Q[_0x5c2bac(0x111)]);this[_0x5c2bac(0x3d7)][_0x5c2bac(0x2fc)](_0x4eae64,_0x3438f7);}),_0x14205a(this[_0x47abd0(0x20e)][_0x47abd0(0x3e4)](_0x590133[_0x47abd0(0x10f)]),this[_0x47abd0(0x20e)][_0x47abd0(0x3e4)](_0x590133[_0x47abd0(0x111)]))[_0x47abd0(0x11a)](_0x23d9e1(this[_0x47abd0(0x122)]))[_0x47abd0(0x1b5)](_0x45ebd2=>{var _0x3bba6b=_0x47abd0;const _0x2aefd5=_0x45ebd2[_0x3bba6b(0x22c)](),_0x416e86=this[_0x3bba6b(0x3d7)][_0x3bba6b(0x364)](_0x2aefd5);_0x416e86&&(_0x416e86[_0x3bba6b(0x33e)](),this[_0x3bba6b(0x3d7)][_0x3bba6b(0x20b)](_0x2aefd5));});}async[_0x6461f5(0x3aa)](_0x358afc,_0x18591f){var _0x365f46=_0x6461f5;const _0x228988=await this[_0x365f46(0x292)]['requireSession'](_0x358afc),_0x2b25d9=this[_0x365f46(0x1e2)][_0x365f46(0x30a)](this['_getCtorByUniverType'](_0x18591f),_0x358afc,_0x18591f,_0x228988);return await _0x2b25d9[_0x365f46(0x276)](),this['_entityInit$'][_0x365f46(0x3b6)](_0x2b25d9),_0x2b25d9;}[_0x6461f5(0x2c1)](_0x14d19d){var _0x49ff16=_0x6461f5;switch(_0x14d19d){case Q[_0x49ff16(0x111)]:return Ct;case Q[_0x49ff16(0x10f)]:return bt;default:throw new Error(_0x49ff16(0x109)+_0x14d19d);}}};rt=Ns([vt(0x0,_0x5bd7c7(_0x429f70)),vt(0x1,_0x5bd7c7(Le)),vt(0x2,_0x360c9f)],rt);var Ps=Object[_0x6461f5(0x125)],Ds=Object[_0x6461f5(0x2b4)],ws=(_0x1ceaaf,_0x211725,_0x67e804,_0x33f459)=>{var _0x577203=_0x6461f5;for(var _0x25e943=_0x33f459>0x1?void 0x0:_0x33f459?Ds(_0x211725,_0x67e804):_0x211725,_0x73b4cc=_0x1ceaaf[_0x577203(0x390)]-0x1,_0x4143b9;_0x73b4cc>=0x0;_0x73b4cc--)(_0x4143b9=_0x1ceaaf[_0x73b4cc])&&(_0x25e943=(_0x33f459?_0x4143b9(_0x211725,_0x67e804,_0x25e943):_0x4143b9(_0x25e943))||_0x25e943);return _0x33f459&&_0x25e943&&Ps(_0x211725,_0x67e804,_0x25e943),_0x25e943;},Xt=(_0x204e0d,_0x53cc40)=>(_0x59ef61,_0x2ce887)=>_0x53cc40(_0x59ef61,_0x2ce887,_0x204e0d);const Us=_0x6461f5(0x3b7),As=_0x6461f5(0x1e4);let Rt=class extends _0x3a4838{constructor(_0x142a55,_0x25f5a5){var _0x80c93f=_0x6461f5;super(),this[_0x80c93f(0x20e)]=_0x142a55,this[_0x80c93f(0x395)]=_0x25f5a5,this['_init']();}[_0x6461f5(0x26e)](){var _0x3f5c7c=_0x6461f5;this[_0x3f5c7c(0x15e)](this['_univerInstanceService'][_0x3f5c7c(0x265)][_0x3f5c7c(0x1b5)](()=>{var _0x164be6=_0x3f5c7c,_0x1ff41d;const _0x56af34=this['_univerInstanceService'][_0x164be6(0x128)]();let _0x7724c0=(_0x1ff41d=this[_0x164be6(0x395)][_0x164be6(0x3bc)](Us))!=null?_0x1ff41d:As;_0x56af34 instanceof _0x32cfb0&&(_0x7724c0=_0x56af34[_0x164be6(0x159)]),document[_0x164be6(0x197)]=_0x7724c0;}));}};Rt=ws([Xt(0x0,_0x360c9f),Xt(0x1,_0x5e2a65)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x6461f5(0x2b4)],Ms=(_0x391127,_0x2023dc,_0x39ee12,_0x1c8b28)=>{var _0x8b42f9=_0x6461f5;for(var _0x39fe4a=_0x1c8b28>0x1?void 0x0:_0x1c8b28?Ls(_0x2023dc,_0x39ee12):_0x2023dc,_0x3ec9b7=_0x391127[_0x8b42f9(0x390)]-0x1,_0x5bea60;_0x3ec9b7>=0x0;_0x3ec9b7--)(_0x5bea60=_0x391127[_0x3ec9b7])&&(_0x39fe4a=(_0x1c8b28?_0x5bea60(_0x2023dc,_0x39ee12,_0x39fe4a):_0x5bea60(_0x39fe4a))||_0x39fe4a);return _0x1c8b28&&_0x39fe4a&&xs(_0x2023dc,_0x39ee12,_0x39fe4a),_0x39fe4a;},pt=(_0x440e51,_0x25c7e6)=>(_0x37f5fd,_0xb2e488)=>_0x25c7e6(_0x37f5fd,_0xb2e488,_0x440e51);let ot=class{constructor(_0xd03b17,_0x12cde4,_0x48e5d6){var _0x540160=_0x6461f5;this[_0x540160(0x395)]=_0xd03b17,this[_0x540160(0x21d)]=_0x12cde4,this['localeService']=_0x48e5d6,this[_0x540160(0x276)]();}[_0x6461f5(0x276)](){var _0x19c08c=_0x6461f5;this[_0x19c08c(0x21d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x18ba3e,_0x4c39e9)=>_0x4c39e9(_0x18ba3e)['pipe'](_0x300468(async _0x29fb4a=>{var _0x514429=_0x19c08c;const _0x55edac=_0x29fb4a;if(_0x55edac[_0x514429(0x2f3)]===0x191){if(typeof window>'u')throw new Error(_0x514429(0x11c));if(window['confirm'](this[_0x514429(0x297)]['t'](_0x514429(0x210)))){const _0x300544=window['encodeURIComponent'](window[_0x514429(0x2be)][_0x514429(0x1be)]);window[_0x514429(0x2be)][_0x514429(0x1be)]=this[_0x514429(0x2ce)]()+_0x514429(0x3e2)+_0x300544;}}return _0x55edac;}))});}[_0x6461f5(0x2ce)](){var _0x1dd33a=_0x6461f5,_0x42ca86,_0x229ae2;const _0x56c93f=this[_0x1dd33a(0x395)][_0x1dd33a(0x3bc)](Fn),_0x212396=this['_configService']['getConfig'](Y);return(_0x229ae2=(_0x42ca86=_0x212396==null?void 0x0:_0x212396[_0x1dd33a(0x144)])!=null?_0x42ca86:_0x56c93f)!=null?_0x229ae2:Vn;}};ot=Ms([pt(0x0,_0x5e2a65),pt(0x1,_0x5bd7c7(_0x51ab2e)),pt(0x2,_0x5bd7c7(_0x42e4ae))],ot);var $s=Object[_0x6461f5(0x125)],Hs=Object[_0x6461f5(0x2b4)],ks=(_0x4f0b47,_0x54d170,_0x3585de,_0x3c0d36)=>{var _0x18cc3d=_0x6461f5;for(var _0x509ff6=_0x3c0d36>0x1?void 0x0:_0x3c0d36?Hs(_0x54d170,_0x3585de):_0x54d170,_0x27684e=_0x4f0b47[_0x18cc3d(0x390)]-0x1,_0x387181;_0x27684e>=0x0;_0x27684e--)(_0x387181=_0x4f0b47[_0x27684e])&&(_0x509ff6=(_0x3c0d36?_0x387181(_0x54d170,_0x3585de,_0x509ff6):_0x387181(_0x509ff6))||_0x509ff6);return _0x3c0d36&&_0x509ff6&&$s(_0x54d170,_0x3585de,_0x509ff6),_0x509ff6;},Zt=(_0x29f894,_0x1aa3c4)=>(_0xf73527,_0x269b7b)=>_0x1aa3c4(_0xf73527,_0x269b7b,_0x29f894);const wi=_0x6461f5(0x358),js=_0x6461f5(0x397);let yt=class extends _0x3a4838{constructor(_0x37f330,_0x1994a9){var _0x3fc11d=_0x6461f5;super(),this[_0x3fc11d(0x26f)]=_0x37f330,this[_0x3fc11d(0x395)]=_0x1994a9,this[_0x3fc11d(0x32a)]();}[_0x6461f5(0x32a)](){var _0x179f8c=_0x6461f5;const _0x2d6299=this;this[_0x179f8c(0x15e)](this[_0x179f8c(0x26f)][_0x179f8c(0x307)]({'priority':0x3e7,'interceptor':_0x5eb39e({'isMatch'(_0x292501){var _0x1dfdec=_0x179f8c,_0xf447e2;if(_0x292501['method']===_0x1dfdec(0x3ca)&&((_0xf447e2=_0x292501[_0x1dfdec(0x212)])!=null&&_0xf447e2['body'])){const {objectID:_0x542303,objectType:_0x1184fc}=_0x292501['requestParams'][_0x1dfdec(0x234)]||{};if(!_0x542303||_0x1184fc===void 0x0)return!0x1;const _0x51208a=_0x2d6299['_getAPIPrefixPath']()+'/'+_0x1184fc+_0x1dfdec(0x392)+_0x542303+_0x1dfdec(0x2d6);if(_0x292501[_0x1dfdec(0x14e)]===_0x51208a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x26c56b){var _0x334454=_0x179f8c,_0xfb06e7;return(_0xfb06e7=_0x26c56b[_0x334454(0x212)])==null?void 0x0:_0xfb06e7[_0x334454(0x234)];},'mergeParamsToRequest'(_0x3c1549,_0x4793e9){var _0x3bfbc8=_0x179f8c;const _0xfad0ab=_0x2d6299[_0x3bfbc8(0x1fb)]()+_0x3bfbc8(0x288),_0x502f9f=_0x3c1549['reduce']((_0xceabaa,_0x2ec1a5)=>{var _0x250145=_0x3bfbc8;const {unitID:_0x23622e,objectID:_0x344524,objectType:_0x43b168,actions:_0x5a6c9b}=_0x2ec1a5;return _0xceabaa[_0x23622e]||(_0xceabaa[_0x23622e]={}),_0xceabaa[_0x23622e][_0x344524]||(_0xceabaa[_0x23622e][_0x344524]={'objectID':_0x344524,'objectType':_0x43b168,'actions':[]}),_0xceabaa[_0x23622e][_0x344524]['actions'][_0x250145(0x103)](..._0x5a6c9b),_0xceabaa;},{}),_0x2d05bb=[];for(const _0x5618e9 in _0x502f9f)for(const _0x30c3cd in _0x502f9f[_0x5618e9]){const {actions:_0x354d8a,objectType:_0x592106}=_0x502f9f[_0x5618e9][_0x30c3cd],_0x17e61c=[...new Set(_0x354d8a)];_0x2d05bb[_0x3bfbc8(0x103)]({'unitID':_0x5618e9,'objectID':_0x30c3cd,'objectType':_0x592106,'actions':_0x17e61c});}return new _0x377c3c(_0x3bfbc8(0x3ca),_0xfad0ab,{'headers':_0x4793e9[_0x3bfbc8(0x120)],'withCredentials':_0x4793e9[_0x3bfbc8(0x164)],'responseType':_0x4793e9[_0x3bfbc8(0x198)],'body':{'requests':_0x2d05bb}});}},{'distributeResult'(_0x24083e,_0x23caab){var _0x4f787f=_0x179f8c;const {objectActions:_0x350ed0}=_0x24083e;return _0x23caab[_0x4f787f(0x3fa)](_0x46da06=>{var _0x1cbeb2=_0x4f787f;const {unitID:_0x4ad922,objectID:_0x3e7b37,actions:_0x55aa39}=_0x46da06,_0x3071e2=_0x350ed0[_0x1cbeb2(0x130)](_0x17dcd9=>_0x17dcd9[_0x1cbeb2(0x22e)]===_0x4ad922&&_0x17dcd9[_0x1cbeb2(0x259)]===_0x3e7b37),_0x558d4e=_0x55aa39[_0x1cbeb2(0x3fa)](_0x10a91b=>_0x3071e2==null?void 0x0:_0x3071e2[_0x1cbeb2(0x204)][_0x1cbeb2(0x130)](_0x3f7112=>_0x3f7112[_0x1cbeb2(0x31e)]===_0x10a91b))[_0x1cbeb2(0x2cc)](_0x1fc349=>!!_0x1fc349);return{'config':_0x46da06,'result':{'actions':_0x558d4e,'error':_0x24083e[_0x1cbeb2(0x388)]}};});}})}));}[_0x6461f5(0x1fb)](){var _0x5b2419=_0x6461f5,_0x183f57,_0x29de9f;const _0x5b271d=this[_0x5b2419(0x395)][_0x5b2419(0x3bc)](wi),_0x1c87ea=this['_configService'][_0x5b2419(0x3bc)](Y);return(_0x29de9f=(_0x183f57=_0x1c87ea==null?void 0x0:_0x1c87ea[_0x5b2419(0x337)])!=null?_0x183f57:_0x5b271d)!=null?_0x29de9f:js;}async[_0x6461f5(0x22a)](_0x1d2b4c){var _0x17b63f=_0x6461f5;const _0x1031a0=this['_getAPIPrefixPath']()+'/'+_0x1d2b4c[_0x17b63f(0x238)]+'/object';return(await this['_HTTPService'][_0x17b63f(0x24e)](_0x1031a0,{'body':_0x1d2b4c}))[_0x17b63f(0x234)][_0x17b63f(0x259)]||'';}async[_0x6461f5(0x23c)](_0x289b60){var _0x2c24b2=_0x6461f5;const _0x1139c1=this[_0x2c24b2(0x1fb)]()+_0x2c24b2(0x2e6);return(await this['_HTTPService'][_0x2c24b2(0x24e)](_0x1139c1,{'body':_0x289b60}))[_0x2c24b2(0x234)][_0x2c24b2(0x1dd)];}async[_0x6461f5(0x1d4)](_0x15114f){var _0x4ce8af=_0x6461f5;const _0x2655fc=this[_0x4ce8af(0x1fb)]()+'/'+_0x15114f['objectType']+'/object/'+_0x15114f['objectID'];await this['_HTTPService']['put'](_0x2655fc,{'body':_0x15114f});}async['allowed'](_0x4a7ab2){var _0x5f1e40=_0x6461f5;const _0x39cef1=this[_0x5f1e40(0x1fb)]()+'/'+_0x4a7ab2['objectType']+_0x5f1e40(0x392)+_0x4a7ab2[_0x5f1e40(0x259)]+_0x5f1e40(0x2d6);return(await this[_0x5f1e40(0x26f)][_0x5f1e40(0x24e)](_0x39cef1,{'body':_0x4a7ab2}))[_0x5f1e40(0x234)][_0x5f1e40(0x204)];}async[_0x6461f5(0x2fa)](_0x56fe2c){var _0x5235cd=_0x6461f5;const _0x511db8=this[_0x5235cd(0x1fb)]()+_0x5235cd(0x288);return(await this[_0x5235cd(0x26f)][_0x5235cd(0x24e)](_0x511db8,{'body':{'requests':_0x56fe2c}}))['body'][_0x5235cd(0x2bd)];}async[_0x6461f5(0x11b)](_0x3f2cda){var _0x4564e5=_0x6461f5;const _0xcf7221=this[_0x4564e5(0x1fb)]()+'/'+_0x3f2cda[_0x4564e5(0x238)]+_0x4564e5(0x137),_0x1e61d2=await this[_0x4564e5(0x26f)][_0x4564e5(0x24e)](_0xcf7221,{'body':_0x3f2cda});return{'roles':_0x1e61d2[_0x4564e5(0x234)][_0x4564e5(0x3f0)],'actions':_0x1e61d2[_0x4564e5(0x234)][_0x4564e5(0x204)]};}async[_0x6461f5(0x252)](_0x1602ba){var _0x18a150=_0x6461f5;const _0x776b58=this[_0x18a150(0x1fb)]()+_0x18a150(0x3ab);await this['_HTTPService']['delete'](_0x776b58,{'params':{'collaboratorID':_0x1602ba[_0x18a150(0x213)],'objectID':_0x1602ba['objectID'],'unitID':_0x1602ba['unitID']}});}async[_0x6461f5(0x1ba)](_0x3a1d8d){var _0x441879=_0x6461f5;const _0x479cb5=this[_0x441879(0x1fb)]()+_0x441879(0x3ab);await this[_0x441879(0x26f)]['patch'](_0x479cb5,{'body':_0x3a1d8d});}async[_0x6461f5(0x176)](_0x3090c0){var _0x3b17c1=_0x6461f5;const _0x3d8c4a=this[_0x3b17c1(0x1fb)]()+_0x3b17c1(0x3ab);await this['_HTTPService'][_0x3b17c1(0x24e)](_0x3d8c4a,{'body':_0x3090c0});}async[_0x6461f5(0x203)](_0x52e632){var _0x1e3f33=_0x6461f5;const _0x2565ea=this[_0x1e3f33(0x1fb)]()+_0x1e3f33(0x3ab);return(await this['_HTTPService'][_0x1e3f33(0x364)](_0x2565ea,{'params':{'objectID':_0x52e632['objectID'],'unitID':_0x52e632[_0x1e3f33(0x22e)]}}))[_0x1e3f33(0x234)]['collaborators'];}async[_0x6461f5(0x2d2)](_0x4fd209){var _0x49b750=_0x6461f5;const _0xbb1274=this['_getAPIPrefixPath']()+_0x49b750(0x3ab);await this[_0x49b750(0x26f)]['put'](_0xbb1274,{'body':_0x4fd209});}};yt=ks([Zt(0x0,_0x5bd7c7(_0x51ab2e)),Zt(0x1,_0x5bd7c7(_0x5e2a65))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3d55dd){var _0x502e71=_0x6461f5;return _0x3d55dd&&_0x3d55dd[_0x502e71(0x1d2)]&&Object[_0x502e71(0x3b3)]['hasOwnProperty'][_0x502e71(0x191)](_0x3d55dd,_0x502e71(0x370))?_0x3d55dd['default']:_0x3d55dd;}var We={'exports':{}};function Bs(_0x22efe5){var _0x202371=_0x6461f5;throw new Error(_0x202371(0x3a6)+_0x22efe5+_0x202371(0x1de));}var Ge={'exports':{}},Fs=Ge[_0x6461f5(0x14d)],Qt;function ne(){var _0x52f61c=_0x6461f5;return Qt||(Qt=0x1,function(_0x8610ad,_0x15c563){(function(_0x256e19,_0x1a93ba){_0x8610ad['exports']=_0x1a93ba();}(Fs,function(){var _0x412de0=_0x412de0||function(_0x1d2f9a,_0x445960){var _0x538a55=_0x1a24,_0x4fa659;if(typeof window<'u'&&window[_0x538a55(0x1d0)]&&(_0x4fa659=window[_0x538a55(0x1d0)]),typeof self<'u'&&self[_0x538a55(0x1d0)]&&(_0x4fa659=self[_0x538a55(0x1d0)]),typeof globalThis<'u'&&globalThis[_0x538a55(0x1d0)]&&(_0x4fa659=globalThis[_0x538a55(0x1d0)]),!_0x4fa659&&typeof window<'u'&&window[_0x538a55(0x148)]&&(_0x4fa659=window[_0x538a55(0x148)]),!_0x4fa659&&typeof mt<'u'&&mt[_0x538a55(0x1d0)]&&(_0x4fa659=mt['crypto']),!_0x4fa659&&typeof Bs==_0x538a55(0x2bf))try{_0x4fa659=require(_0x538a55(0x1d0));}catch{}var _0x2f3278=function(){var _0x1dd432=_0x538a55;if(_0x4fa659){if(typeof _0x4fa659['getRandomValues']=='function')try{return _0x4fa659['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4fa659[_0x1dd432(0x314)]==_0x1dd432(0x2bf))try{return _0x4fa659[_0x1dd432(0x314)](0x4)[_0x1dd432(0x129)]();}catch{}}throw new Error(_0x1dd432(0x266));},_0x4bfe5d=Object[_0x538a55(0x22a)]||(function(){function _0x763d64(){}return function(_0x386215){var _0x55d0f6=_0x1a24,_0xe86a8;return _0x763d64[_0x55d0f6(0x3b3)]=_0x386215,_0xe86a8=new _0x763d64(),_0x763d64[_0x55d0f6(0x3b3)]=null,_0xe86a8;};}()),_0x37e791={},_0xc8e423=_0x37e791[_0x538a55(0x169)]={},_0x9ed1e=_0xc8e423[_0x538a55(0x237)]=(function(){return{'extend':function(_0x3238c9){var _0x40f36c=_0x1a24,_0x2f8168=_0x4bfe5d(this);return _0x3238c9&&_0x2f8168[_0x40f36c(0x150)](_0x3238c9),(!_0x2f8168[_0x40f36c(0x1fa)]('init')||this['init']===_0x2f8168['init'])&&(_0x2f8168['init']=function(){var _0x106fbd=_0x40f36c;_0x2f8168[_0x106fbd(0x256)][_0x106fbd(0x276)][_0x106fbd(0x1e3)](this,arguments);}),_0x2f8168[_0x40f36c(0x276)][_0x40f36c(0x3b3)]=_0x2f8168,_0x2f8168['$super']=this,_0x2f8168;},'create':function(){var _0x4919d4=_0x1a24,_0x3811a3=this[_0x4919d4(0x2e1)]();return _0x3811a3[_0x4919d4(0x276)][_0x4919d4(0x1e3)](_0x3811a3,arguments),_0x3811a3;},'init':function(){},'mixIn':function(_0x313162){var _0xd04f27=_0x1a24;for(var _0x406795 in _0x313162)_0x313162['hasOwnProperty'](_0x406795)&&(this[_0x406795]=_0x313162[_0x406795]);_0x313162[_0xd04f27(0x1fa)](_0xd04f27(0x1e9))&&(this[_0xd04f27(0x1e9)]=_0x313162[_0xd04f27(0x1e9)]);},'clone':function(){var _0x41f253=_0x1a24;return this[_0x41f253(0x276)][_0x41f253(0x3b3)]['extend'](this);}};}()),_0x47351f=_0xc8e423['WordArray']=_0x9ed1e[_0x538a55(0x2e1)]({'init':function(_0x709da4,_0x1d1843){var _0x4adf6c=_0x538a55;_0x709da4=this[_0x4adf6c(0x33f)]=_0x709da4||[],_0x1d1843!=_0x445960?this['sigBytes']=_0x1d1843:this[_0x4adf6c(0x12e)]=_0x709da4[_0x4adf6c(0x390)]*0x4;},'toString':function(_0x103bc2){var _0x12bcad=_0x538a55;return(_0x103bc2||_0x43359b)[_0x12bcad(0x336)](this);},'concat':function(_0x28c69c){var _0x585f2e=_0x538a55,_0x3de042=this[_0x585f2e(0x33f)],_0x3c9cce=_0x28c69c['words'],_0x3f9c6d=this['sigBytes'],_0x85e423=_0x28c69c[_0x585f2e(0x12e)];if(this[_0x585f2e(0x236)](),_0x3f9c6d%0x4)for(var _0x6133c4=0x0;_0x6133c4<_0x85e423;_0x6133c4++){var _0x13b453=_0x3c9cce[_0x6133c4>>>0x2]>>>0x18-_0x6133c4%0x4*0x8&0xff;_0x3de042[_0x3f9c6d+_0x6133c4>>>0x2]|=_0x13b453<<0x18-(_0x3f9c6d+_0x6133c4)%0x4*0x8;}else{for(var _0x18ba23=0x0;_0x18ba23<_0x85e423;_0x18ba23+=0x4)_0x3de042[_0x3f9c6d+_0x18ba23>>>0x2]=_0x3c9cce[_0x18ba23>>>0x2];}return this['sigBytes']+=_0x85e423,this;},'clamp':function(){var _0x21f87d=_0x538a55,_0x566a42=this['words'],_0x37a7f0=this['sigBytes'];_0x566a42[_0x37a7f0>>>0x2]&=0xffffffff<<0x20-_0x37a7f0%0x4*0x8,_0x566a42[_0x21f87d(0x390)]=_0x1d2f9a['ceil'](_0x37a7f0/0x4);},'clone':function(){var _0x1f850a=_0x538a55,_0x4ebf1f=_0x9ed1e[_0x1f850a(0x326)][_0x1f850a(0x191)](this);return _0x4ebf1f['words']=this['words'][_0x1f850a(0x3e7)](0x0),_0x4ebf1f;},'random':function(_0x5c39f1){var _0x10540b=_0x538a55;for(var _0x3eecf6=[],_0x2450a8=0x0;_0x2450a8<_0x5c39f1;_0x2450a8+=0x4)_0x3eecf6['push'](_0x2f3278());return new _0x47351f[(_0x10540b(0x276))](_0x3eecf6,_0x5c39f1);}}),_0x4aca47=_0x37e791[_0x538a55(0x146)]={},_0x43359b=_0x4aca47[_0x538a55(0x263)]={'stringify':function(_0x5e79b6){var _0x2d12af=_0x538a55;for(var _0x39e7a8=_0x5e79b6['words'],_0x4b2c84=_0x5e79b6['sigBytes'],_0x4a7280=[],_0x2c4438=0x0;_0x2c4438<_0x4b2c84;_0x2c4438++){var _0x144d00=_0x39e7a8[_0x2c4438>>>0x2]>>>0x18-_0x2c4438%0x4*0x8&0xff;_0x4a7280[_0x2d12af(0x103)]((_0x144d00>>>0x4)[_0x2d12af(0x1e9)](0x10)),_0x4a7280[_0x2d12af(0x103)]((_0x144d00&0xf)[_0x2d12af(0x1e9)](0x10));}return _0x4a7280[_0x2d12af(0x26b)]('');},'parse':function(_0x9a31be){var _0x53c82e=_0x538a55;for(var _0x11ff89=_0x9a31be[_0x53c82e(0x390)],_0x502403=[],_0x454577=0x0;_0x454577<_0x11ff89;_0x454577+=0x2)_0x502403[_0x454577>>>0x3]|=parseInt(_0x9a31be[_0x53c82e(0x324)](_0x454577,0x2),0x10)<<0x18-_0x454577%0x8*0x4;return new _0x47351f['init'](_0x502403,_0x11ff89/0x2);}},_0x54c7fc=_0x4aca47[_0x538a55(0x322)]={'stringify':function(_0x2360ae){var _0x2e7063=_0x538a55;for(var _0x594b21=_0x2360ae[_0x2e7063(0x33f)],_0x5efa52=_0x2360ae[_0x2e7063(0x12e)],_0x534e65=[],_0x3e90d6=0x0;_0x3e90d6<_0x5efa52;_0x3e90d6++){var _0x318af4=_0x594b21[_0x3e90d6>>>0x2]>>>0x18-_0x3e90d6%0x4*0x8&0xff;_0x534e65['push'](String[_0x2e7063(0x116)](_0x318af4));}return _0x534e65[_0x2e7063(0x26b)]('');},'parse':function(_0x24399b){var _0x35104b=_0x538a55;for(var _0x398309=_0x24399b[_0x35104b(0x390)],_0x28699f=[],_0x1446f7=0x0;_0x1446f7<_0x398309;_0x1446f7++)_0x28699f[_0x1446f7>>>0x2]|=(_0x24399b[_0x35104b(0x273)](_0x1446f7)&0xff)<<0x18-_0x1446f7%0x4*0x8;return new _0x47351f['init'](_0x28699f,_0x398309);}},_0x2c1c07=_0x4aca47[_0x538a55(0x153)]={'stringify':function(_0x3c1532){var _0xea4a98=_0x538a55;try{return decodeURIComponent(escape(_0x54c7fc['stringify'](_0x3c1532)));}catch{throw new Error(_0xea4a98(0x16c));}},'parse':function(_0x4cc93b){var _0x33fd53=_0x538a55;return _0x54c7fc[_0x33fd53(0x2dc)](unescape(encodeURIComponent(_0x4cc93b)));}},_0x1eef81=_0xc8e423[_0x538a55(0x1f8)]=_0x9ed1e[_0x538a55(0x2e1)]({'reset':function(){var _0x37915e=_0x538a55;this[_0x37915e(0x2e8)]=new _0x47351f[(_0x37915e(0x276))](),this[_0x37915e(0x320)]=0x0;},'_append':function(_0x50ef0f){var _0x22038d=_0x538a55;typeof _0x50ef0f=='string'&&(_0x50ef0f=_0x2c1c07[_0x22038d(0x2dc)](_0x50ef0f)),this[_0x22038d(0x2e8)][_0x22038d(0x1df)](_0x50ef0f),this[_0x22038d(0x320)]+=_0x50ef0f[_0x22038d(0x12e)];},'_process':function(_0x227668){var _0x2cb5f6=_0x538a55,_0x3b51cf,_0xec2356=this[_0x2cb5f6(0x2e8)],_0x24a257=_0xec2356['words'],_0x3f61eb=_0xec2356[_0x2cb5f6(0x12e)],_0x356308=this[_0x2cb5f6(0x1d9)],_0x149e33=_0x356308*0x4,_0x21ec40=_0x3f61eb/_0x149e33;_0x227668?_0x21ec40=_0x1d2f9a[_0x2cb5f6(0x3b0)](_0x21ec40):_0x21ec40=_0x1d2f9a[_0x2cb5f6(0x301)]((_0x21ec40|0x0)-this[_0x2cb5f6(0x27f)],0x0);var _0x24ca8a=_0x21ec40*_0x356308,_0x5f1896=_0x1d2f9a['min'](_0x24ca8a*0x4,_0x3f61eb);if(_0x24ca8a){for(var _0x2f7e75=0x0;_0x2f7e75<_0x24ca8a;_0x2f7e75+=_0x356308)this[_0x2cb5f6(0x3f1)](_0x24a257,_0x2f7e75);_0x3b51cf=_0x24a257[_0x2cb5f6(0x3bd)](0x0,_0x24ca8a),_0xec2356[_0x2cb5f6(0x12e)]-=_0x5f1896;}return new _0x47351f['init'](_0x3b51cf,_0x5f1896);},'clone':function(){var _0x2de2ce=_0x538a55,_0x884995=_0x9ed1e[_0x2de2ce(0x326)][_0x2de2ce(0x191)](this);return _0x884995[_0x2de2ce(0x2e8)]=this['_data']['clone'](),_0x884995;},'_minBufferSize':0x0});_0xc8e423[_0x538a55(0x3b4)]=_0x1eef81['extend']({'cfg':_0x9ed1e[_0x538a55(0x2e1)](),'init':function(_0x1fee2a){var _0x17f36a=_0x538a55;this['cfg']=this[_0x17f36a(0x36d)][_0x17f36a(0x2e1)](_0x1fee2a),this[_0x17f36a(0x167)]();},'reset':function(){var _0xe7d736=_0x538a55;_0x1eef81[_0xe7d736(0x167)]['call'](this),this[_0xe7d736(0x344)]();},'update':function(_0x38f584){var _0x42ae62=_0x538a55;return this[_0x42ae62(0x156)](_0x38f584),this['_process'](),this;},'finalize':function(_0x2a24e4){var _0x2cd01d=_0x538a55;_0x2a24e4&&this[_0x2cd01d(0x156)](_0x2a24e4);var _0x3ccca7=this[_0x2cd01d(0x291)]();return _0x3ccca7;},'blockSize':0x10,'_createHelper':function(_0x16d40b){return function(_0x10f502,_0x235476){return new _0x16d40b['init'](_0x235476)['finalize'](_0x10f502);};},'_createHmacHelper':function(_0x35f1bd){return function(_0x1935de,_0x533ed4){var _0x1fab93=_0x1a24;return new _0x222180[(_0x1fab93(0x257))][(_0x1fab93(0x276))](_0x35f1bd,_0x533ed4)[_0x1fab93(0x2ef)](_0x1935de);};}});var _0x222180=_0x37e791[_0x538a55(0x14a)]={};return _0x37e791;}(Math);return _0x412de0;}));}(Ge)),Ge[_0x52f61c(0x14d)];}var Ke={'exports':{}},Vs=Ke['exports'],ei;function Ui(){var _0x100642=_0x6461f5;return ei||(ei=0x1,function(_0x5061ff,_0x446924){(function(_0x31a77d,_0x41b81d){var _0x50a62d=_0x1a24;_0x5061ff[_0x50a62d(0x14d)]=_0x41b81d(ne());}(Vs,function(_0x56f0d4){return(function(){var _0x5d8c70=_0x1a24,_0xf7f08=_0x56f0d4,_0x6961a1=_0xf7f08[_0x5d8c70(0x169)],_0x43100f=_0x6961a1[_0x5d8c70(0x369)],_0x343ac5=_0xf7f08[_0x5d8c70(0x146)];_0x343ac5['Base64']={'stringify':function(_0xeb20ff){var _0x4f8f78=_0x5d8c70,_0x22eb36=_0xeb20ff[_0x4f8f78(0x33f)],_0xa6011a=_0xeb20ff[_0x4f8f78(0x12e)],_0x14644c=this[_0x4f8f78(0x363)];_0xeb20ff[_0x4f8f78(0x236)]();for(var _0x5ab757=[],_0x122da8=0x0;_0x122da8<_0xa6011a;_0x122da8+=0x3)for(var _0x44a053=_0x22eb36[_0x122da8>>>0x2]>>>0x18-_0x122da8%0x4*0x8&0xff,_0x441dae=_0x22eb36[_0x122da8+0x1>>>0x2]>>>0x18-(_0x122da8+0x1)%0x4*0x8&0xff,_0x19a5cb=_0x22eb36[_0x122da8+0x2>>>0x2]>>>0x18-(_0x122da8+0x2)%0x4*0x8&0xff,_0x5085c3=_0x44a053<<0x10|_0x441dae<<0x8|_0x19a5cb,_0x24dbda=0x0;_0x24dbda<0x4&&_0x122da8+_0x24dbda*0.75<_0xa6011a;_0x24dbda++)_0x5ab757[_0x4f8f78(0x103)](_0x14644c[_0x4f8f78(0x32e)](_0x5085c3>>>0x6*(0x3-_0x24dbda)&0x3f));var _0x141b3c=_0x14644c[_0x4f8f78(0x32e)](0x40);if(_0x141b3c){for(;_0x5ab757[_0x4f8f78(0x390)]%0x4;)_0x5ab757[_0x4f8f78(0x103)](_0x141b3c);}return _0x5ab757[_0x4f8f78(0x26b)]('');},'parse':function(_0x567957){var _0x1c36ab=_0x5d8c70,_0x2f0709=_0x567957[_0x1c36ab(0x390)],_0x4d52c8=this['_map'],_0x163f7b=this[_0x1c36ab(0x142)];if(!_0x163f7b){_0x163f7b=this[_0x1c36ab(0x142)]=[];for(var _0x1e2575=0x0;_0x1e2575<_0x4d52c8[_0x1c36ab(0x390)];_0x1e2575++)_0x163f7b[_0x4d52c8['charCodeAt'](_0x1e2575)]=_0x1e2575;}var _0x55324a=_0x4d52c8['charAt'](0x40);if(_0x55324a){var _0x444582=_0x567957['indexOf'](_0x55324a);_0x444582!==-0x1&&(_0x2f0709=_0x444582);}return _0xea1a0f(_0x567957,_0x2f0709,_0x163f7b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xea1a0f(_0x13ad30,_0x719291,_0x322144){var _0x477361=_0x5d8c70;for(var _0x7ebc2c=[],_0x57acef=0x0,_0x54ede1=0x0;_0x54ede1<_0x719291;_0x54ede1++)if(_0x54ede1%0x4){var _0x65e12a=_0x322144[_0x13ad30[_0x477361(0x273)](_0x54ede1-0x1)]<<_0x54ede1%0x4*0x2,_0x12e0d7=_0x322144[_0x13ad30['charCodeAt'](_0x54ede1)]>>>0x6-_0x54ede1%0x4*0x2,_0x391019=_0x65e12a|_0x12e0d7;_0x7ebc2c[_0x57acef>>>0x2]|=_0x391019<<0x18-_0x57acef%0x4*0x8,_0x57acef++;}return _0x43100f[_0x477361(0x22a)](_0x7ebc2c,_0x57acef);}}()),_0x56f0d4['enc']['Base64'];}));}(Ke)),Ke[_0x100642(0x14d)];}var ze={'exports':{}},Ws=ze[_0x6461f5(0x14d)],ti;function Gs(){var _0x51d791=_0x6461f5;return ti||(ti=0x1,function(_0x1ebe8e,_0x5ed10e){(function(_0x25f16c,_0x14ef50){var _0x1fec77=_0x1a24;_0x1ebe8e[_0x1fec77(0x14d)]=_0x14ef50(ne());}(Ws,function(_0x46a115){var _0x1b77e1=_0x1a24;return function(_0x46d152){var _0x3e45e8=_0x1a24,_0x4f54e3=_0x46a115,_0x52d1a8=_0x4f54e3[_0x3e45e8(0x169)],_0x4c2de8=_0x52d1a8['WordArray'],_0x2d11f5=_0x52d1a8['Hasher'],_0x2ce0b1=_0x4f54e3[_0x3e45e8(0x14a)],_0xfd03f4=[];(function(){var _0x5dd7d0=_0x3e45e8;for(var _0x484175=0x0;_0x484175<0x40;_0x484175++)_0xfd03f4[_0x484175]=_0x46d152[_0x5dd7d0(0x3ce)](_0x46d152[_0x5dd7d0(0x13b)](_0x484175+0x1))*0x100000000|0x0;}());var _0x215c8b=_0x2ce0b1['MD5']=_0x2d11f5[_0x3e45e8(0x2e1)]({'_doReset':function(){this['_hash']=new _0x4c2de8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ace90,_0x11b824){var _0x1e6740=_0x3e45e8;for(var _0x1b2cff=0x0;_0x1b2cff<0x10;_0x1b2cff++){var _0x368d14=_0x11b824+_0x1b2cff,_0x5a7e1a=_0x1ace90[_0x368d14];_0x1ace90[_0x368d14]=(_0x5a7e1a<<0x8|_0x5a7e1a>>>0x18)&0xff00ff|(_0x5a7e1a<<0x18|_0x5a7e1a>>>0x8)&0xff00ff00;}var _0x3c5b1f=this[_0x1e6740(0x3ae)][_0x1e6740(0x33f)],_0x562e28=_0x1ace90[_0x11b824+0x0],_0x450b44=_0x1ace90[_0x11b824+0x1],_0x2463c5=_0x1ace90[_0x11b824+0x2],_0x507077=_0x1ace90[_0x11b824+0x3],_0x2b698c=_0x1ace90[_0x11b824+0x4],_0x1f9551=_0x1ace90[_0x11b824+0x5],_0x5a42ae=_0x1ace90[_0x11b824+0x6],_0x3eae74=_0x1ace90[_0x11b824+0x7],_0x4f16c6=_0x1ace90[_0x11b824+0x8],_0x2bbeff=_0x1ace90[_0x11b824+0x9],_0x1daf28=_0x1ace90[_0x11b824+0xa],_0x7e732=_0x1ace90[_0x11b824+0xb],_0x1fa5db=_0x1ace90[_0x11b824+0xc],_0x4a7505=_0x1ace90[_0x11b824+0xd],_0x38015a=_0x1ace90[_0x11b824+0xe],_0x342e70=_0x1ace90[_0x11b824+0xf],_0x16a739=_0x3c5b1f[0x0],_0xb887b9=_0x3c5b1f[0x1],_0x5e0dcc=_0x3c5b1f[0x2],_0x31e719=_0x3c5b1f[0x3];_0x16a739=_0x402ddd(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x562e28,0x7,_0xfd03f4[0x0]),_0x31e719=_0x402ddd(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x450b44,0xc,_0xfd03f4[0x1]),_0x5e0dcc=_0x402ddd(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x2463c5,0x11,_0xfd03f4[0x2]),_0xb887b9=_0x402ddd(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x507077,0x16,_0xfd03f4[0x3]),_0x16a739=_0x402ddd(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x2b698c,0x7,_0xfd03f4[0x4]),_0x31e719=_0x402ddd(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x1f9551,0xc,_0xfd03f4[0x5]),_0x5e0dcc=_0x402ddd(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x5a42ae,0x11,_0xfd03f4[0x6]),_0xb887b9=_0x402ddd(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x3eae74,0x16,_0xfd03f4[0x7]),_0x16a739=_0x402ddd(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x4f16c6,0x7,_0xfd03f4[0x8]),_0x31e719=_0x402ddd(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x2bbeff,0xc,_0xfd03f4[0x9]),_0x5e0dcc=_0x402ddd(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x1daf28,0x11,_0xfd03f4[0xa]),_0xb887b9=_0x402ddd(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x7e732,0x16,_0xfd03f4[0xb]),_0x16a739=_0x402ddd(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x1fa5db,0x7,_0xfd03f4[0xc]),_0x31e719=_0x402ddd(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x4a7505,0xc,_0xfd03f4[0xd]),_0x5e0dcc=_0x402ddd(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x38015a,0x11,_0xfd03f4[0xe]),_0xb887b9=_0x402ddd(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x342e70,0x16,_0xfd03f4[0xf]),_0x16a739=_0x57898e(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x450b44,0x5,_0xfd03f4[0x10]),_0x31e719=_0x57898e(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x5a42ae,0x9,_0xfd03f4[0x11]),_0x5e0dcc=_0x57898e(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x7e732,0xe,_0xfd03f4[0x12]),_0xb887b9=_0x57898e(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x562e28,0x14,_0xfd03f4[0x13]),_0x16a739=_0x57898e(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x1f9551,0x5,_0xfd03f4[0x14]),_0x31e719=_0x57898e(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x1daf28,0x9,_0xfd03f4[0x15]),_0x5e0dcc=_0x57898e(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x342e70,0xe,_0xfd03f4[0x16]),_0xb887b9=_0x57898e(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x2b698c,0x14,_0xfd03f4[0x17]),_0x16a739=_0x57898e(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x2bbeff,0x5,_0xfd03f4[0x18]),_0x31e719=_0x57898e(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x38015a,0x9,_0xfd03f4[0x19]),_0x5e0dcc=_0x57898e(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x507077,0xe,_0xfd03f4[0x1a]),_0xb887b9=_0x57898e(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x4f16c6,0x14,_0xfd03f4[0x1b]),_0x16a739=_0x57898e(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x4a7505,0x5,_0xfd03f4[0x1c]),_0x31e719=_0x57898e(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x2463c5,0x9,_0xfd03f4[0x1d]),_0x5e0dcc=_0x57898e(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x3eae74,0xe,_0xfd03f4[0x1e]),_0xb887b9=_0x57898e(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x1fa5db,0x14,_0xfd03f4[0x1f]),_0x16a739=_0x33590c(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x1f9551,0x4,_0xfd03f4[0x20]),_0x31e719=_0x33590c(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x4f16c6,0xb,_0xfd03f4[0x21]),_0x5e0dcc=_0x33590c(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x7e732,0x10,_0xfd03f4[0x22]),_0xb887b9=_0x33590c(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x38015a,0x17,_0xfd03f4[0x23]),_0x16a739=_0x33590c(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x450b44,0x4,_0xfd03f4[0x24]),_0x31e719=_0x33590c(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x2b698c,0xb,_0xfd03f4[0x25]),_0x5e0dcc=_0x33590c(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x3eae74,0x10,_0xfd03f4[0x26]),_0xb887b9=_0x33590c(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x1daf28,0x17,_0xfd03f4[0x27]),_0x16a739=_0x33590c(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x4a7505,0x4,_0xfd03f4[0x28]),_0x31e719=_0x33590c(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x562e28,0xb,_0xfd03f4[0x29]),_0x5e0dcc=_0x33590c(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x507077,0x10,_0xfd03f4[0x2a]),_0xb887b9=_0x33590c(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x5a42ae,0x17,_0xfd03f4[0x2b]),_0x16a739=_0x33590c(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x2bbeff,0x4,_0xfd03f4[0x2c]),_0x31e719=_0x33590c(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x1fa5db,0xb,_0xfd03f4[0x2d]),_0x5e0dcc=_0x33590c(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x342e70,0x10,_0xfd03f4[0x2e]),_0xb887b9=_0x33590c(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x2463c5,0x17,_0xfd03f4[0x2f]),_0x16a739=_0x27d130(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x562e28,0x6,_0xfd03f4[0x30]),_0x31e719=_0x27d130(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x3eae74,0xa,_0xfd03f4[0x31]),_0x5e0dcc=_0x27d130(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x38015a,0xf,_0xfd03f4[0x32]),_0xb887b9=_0x27d130(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x1f9551,0x15,_0xfd03f4[0x33]),_0x16a739=_0x27d130(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x1fa5db,0x6,_0xfd03f4[0x34]),_0x31e719=_0x27d130(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x507077,0xa,_0xfd03f4[0x35]),_0x5e0dcc=_0x27d130(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x1daf28,0xf,_0xfd03f4[0x36]),_0xb887b9=_0x27d130(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x450b44,0x15,_0xfd03f4[0x37]),_0x16a739=_0x27d130(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x4f16c6,0x6,_0xfd03f4[0x38]),_0x31e719=_0x27d130(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x342e70,0xa,_0xfd03f4[0x39]),_0x5e0dcc=_0x27d130(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x5a42ae,0xf,_0xfd03f4[0x3a]),_0xb887b9=_0x27d130(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x4a7505,0x15,_0xfd03f4[0x3b]),_0x16a739=_0x27d130(_0x16a739,_0xb887b9,_0x5e0dcc,_0x31e719,_0x2b698c,0x6,_0xfd03f4[0x3c]),_0x31e719=_0x27d130(_0x31e719,_0x16a739,_0xb887b9,_0x5e0dcc,_0x7e732,0xa,_0xfd03f4[0x3d]),_0x5e0dcc=_0x27d130(_0x5e0dcc,_0x31e719,_0x16a739,_0xb887b9,_0x2463c5,0xf,_0xfd03f4[0x3e]),_0xb887b9=_0x27d130(_0xb887b9,_0x5e0dcc,_0x31e719,_0x16a739,_0x2bbeff,0x15,_0xfd03f4[0x3f]),_0x3c5b1f[0x0]=_0x3c5b1f[0x0]+_0x16a739|0x0,_0x3c5b1f[0x1]=_0x3c5b1f[0x1]+_0xb887b9|0x0,_0x3c5b1f[0x2]=_0x3c5b1f[0x2]+_0x5e0dcc|0x0,_0x3c5b1f[0x3]=_0x3c5b1f[0x3]+_0x31e719|0x0;},'_doFinalize':function(){var _0x314ecd=_0x3e45e8,_0x282976=this[_0x314ecd(0x2e8)],_0x3f4dc9=_0x282976[_0x314ecd(0x33f)],_0x490982=this[_0x314ecd(0x320)]*0x8,_0x321e6b=_0x282976[_0x314ecd(0x12e)]*0x8;_0x3f4dc9[_0x321e6b>>>0x5]|=0x80<<0x18-_0x321e6b%0x20;var _0x165ee2=_0x46d152[_0x314ecd(0x36c)](_0x490982/0x100000000),_0x7719a9=_0x490982;_0x3f4dc9[(_0x321e6b+0x40>>>0x9<<0x4)+0xf]=(_0x165ee2<<0x8|_0x165ee2>>>0x18)&0xff00ff|(_0x165ee2<<0x18|_0x165ee2>>>0x8)&0xff00ff00,_0x3f4dc9[(_0x321e6b+0x40>>>0x9<<0x4)+0xe]=(_0x7719a9<<0x8|_0x7719a9>>>0x18)&0xff00ff|(_0x7719a9<<0x18|_0x7719a9>>>0x8)&0xff00ff00,_0x282976[_0x314ecd(0x12e)]=(_0x3f4dc9[_0x314ecd(0x390)]+0x1)*0x4,this[_0x314ecd(0x179)]();for(var _0xb45545=this[_0x314ecd(0x3ae)],_0x3960b6=_0xb45545[_0x314ecd(0x33f)],_0x3d57ae=0x0;_0x3d57ae<0x4;_0x3d57ae++){var _0x573892=_0x3960b6[_0x3d57ae];_0x3960b6[_0x3d57ae]=(_0x573892<<0x8|_0x573892>>>0x18)&0xff00ff|(_0x573892<<0x18|_0x573892>>>0x8)&0xff00ff00;}return _0xb45545;},'clone':function(){var _0x389b06=_0x3e45e8,_0x442dbe=_0x2d11f5[_0x389b06(0x326)][_0x389b06(0x191)](this);return _0x442dbe[_0x389b06(0x3ae)]=this[_0x389b06(0x3ae)][_0x389b06(0x326)](),_0x442dbe;}});function _0x402ddd(_0x1aee8c,_0x44a41a,_0x2dc4cd,_0xfaada,_0x5b8665,_0x6bf3e1,_0x5984df){var _0xa40ad3=_0x1aee8c+(_0x44a41a&_0x2dc4cd|~_0x44a41a&_0xfaada)+_0x5b8665+_0x5984df;return(_0xa40ad3<<_0x6bf3e1|_0xa40ad3>>>0x20-_0x6bf3e1)+_0x44a41a;}function _0x57898e(_0x436ee8,_0x182668,_0x348ac6,_0x758033,_0x28e13c,_0x1cac07,_0x3f45c0){var _0x2bcd17=_0x436ee8+(_0x182668&_0x758033|_0x348ac6&~_0x758033)+_0x28e13c+_0x3f45c0;return(_0x2bcd17<<_0x1cac07|_0x2bcd17>>>0x20-_0x1cac07)+_0x182668;}function _0x33590c(_0xf08fc8,_0x314e15,_0x35d44b,_0x2169cd,_0x5dd617,_0x413d65,_0xaad5d8){var _0x25e0c0=_0xf08fc8+(_0x314e15^_0x35d44b^_0x2169cd)+_0x5dd617+_0xaad5d8;return(_0x25e0c0<<_0x413d65|_0x25e0c0>>>0x20-_0x413d65)+_0x314e15;}function _0x27d130(_0x182f7d,_0x55e1c9,_0x490a05,_0xcdf312,_0x282f19,_0x443df6,_0x24ea20){var _0x475073=_0x182f7d+(_0x490a05^(_0x55e1c9|~_0xcdf312))+_0x282f19+_0x24ea20;return(_0x475073<<_0x443df6|_0x475073>>>0x20-_0x443df6)+_0x55e1c9;}_0x4f54e3[_0x3e45e8(0x18d)]=_0x2d11f5[_0x3e45e8(0x28f)](_0x215c8b),_0x4f54e3[_0x3e45e8(0x230)]=_0x2d11f5[_0x3e45e8(0x1b7)](_0x215c8b);}(Math),_0x46a115[_0x1b77e1(0x18d)];}));}(ze)),ze[_0x51d791(0x14d)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x6461f5(0x14d)],ii;function zs(){var _0x1360d4=_0x6461f5;return ii||(ii=0x1,function(_0x4518ff,_0x6a2324){(function(_0x4808ef,_0x3d9313){var _0x17278b=_0x1a24;_0x4518ff[_0x17278b(0x14d)]=_0x3d9313(ne());}(Ks,function(_0x1a6be3){return(function(){var _0x5a1e79=_0x1a24,_0x3edd73=_0x1a6be3,_0x51121b=_0x3edd73['lib'],_0x49ae95=_0x51121b[_0x5a1e79(0x369)],_0x2fcf7f=_0x51121b[_0x5a1e79(0x3b4)],_0x1941a6=_0x3edd73[_0x5a1e79(0x14a)],_0x2ff4f4=[],_0x34fff1=_0x1941a6[_0x5a1e79(0x20c)]=_0x2fcf7f['extend']({'_doReset':function(){var _0x3fb343=_0x5a1e79;this[_0x3fb343(0x3ae)]=new _0x49ae95['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x202504,_0x1c5a0b){var _0x1acf31=_0x5a1e79;for(var _0x2abd1d=this['_hash'][_0x1acf31(0x33f)],_0xf6a7ae=_0x2abd1d[0x0],_0x37e9cc=_0x2abd1d[0x1],_0x3c9c91=_0x2abd1d[0x2],_0x395957=_0x2abd1d[0x3],_0x5e957a=_0x2abd1d[0x4],_0x2cd12e=0x0;_0x2cd12e<0x50;_0x2cd12e++){if(_0x2cd12e<0x10)_0x2ff4f4[_0x2cd12e]=_0x202504[_0x1c5a0b+_0x2cd12e]|0x0;else{var _0x31f539=_0x2ff4f4[_0x2cd12e-0x3]^_0x2ff4f4[_0x2cd12e-0x8]^_0x2ff4f4[_0x2cd12e-0xe]^_0x2ff4f4[_0x2cd12e-0x10];_0x2ff4f4[_0x2cd12e]=_0x31f539<<0x1|_0x31f539>>>0x1f;}var _0x356f54=(_0xf6a7ae<<0x5|_0xf6a7ae>>>0x1b)+_0x5e957a+_0x2ff4f4[_0x2cd12e];_0x2cd12e<0x14?_0x356f54+=(_0x37e9cc&_0x3c9c91|~_0x37e9cc&_0x395957)+0x5a827999:_0x2cd12e<0x28?_0x356f54+=(_0x37e9cc^_0x3c9c91^_0x395957)+0x6ed9eba1:_0x2cd12e<0x3c?_0x356f54+=(_0x37e9cc&_0x3c9c91|_0x37e9cc&_0x395957|_0x3c9c91&_0x395957)-0x70e44324:_0x356f54+=(_0x37e9cc^_0x3c9c91^_0x395957)-0x359d3e2a,_0x5e957a=_0x395957,_0x395957=_0x3c9c91,_0x3c9c91=_0x37e9cc<<0x1e|_0x37e9cc>>>0x2,_0x37e9cc=_0xf6a7ae,_0xf6a7ae=_0x356f54;}_0x2abd1d[0x0]=_0x2abd1d[0x0]+_0xf6a7ae|0x0,_0x2abd1d[0x1]=_0x2abd1d[0x1]+_0x37e9cc|0x0,_0x2abd1d[0x2]=_0x2abd1d[0x2]+_0x3c9c91|0x0,_0x2abd1d[0x3]=_0x2abd1d[0x3]+_0x395957|0x0,_0x2abd1d[0x4]=_0x2abd1d[0x4]+_0x5e957a|0x0;},'_doFinalize':function(){var _0x494d57=_0x5a1e79,_0x211ef3=this['_data'],_0x2d9408=_0x211ef3['words'],_0x491cf4=this[_0x494d57(0x320)]*0x8,_0x1a01fb=_0x211ef3[_0x494d57(0x12e)]*0x8;return _0x2d9408[_0x1a01fb>>>0x5]|=0x80<<0x18-_0x1a01fb%0x20,_0x2d9408[(_0x1a01fb+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x491cf4/0x100000000),_0x2d9408[(_0x1a01fb+0x40>>>0x9<<0x4)+0xf]=_0x491cf4,_0x211ef3[_0x494d57(0x12e)]=_0x2d9408[_0x494d57(0x390)]*0x4,this[_0x494d57(0x179)](),this[_0x494d57(0x3ae)];},'clone':function(){var _0xfb0bbb=_0x5a1e79,_0x62ff5c=_0x2fcf7f[_0xfb0bbb(0x326)]['call'](this);return _0x62ff5c[_0xfb0bbb(0x3ae)]=this[_0xfb0bbb(0x3ae)][_0xfb0bbb(0x326)](),_0x62ff5c;}});_0x3edd73[_0x5a1e79(0x20c)]=_0x2fcf7f[_0x5a1e79(0x28f)](_0x34fff1),_0x3edd73[_0x5a1e79(0x294)]=_0x2fcf7f['_createHmacHelper'](_0x34fff1);}()),_0x1a6be3['SHA1'];}));}(qe)),qe[_0x1360d4(0x14d)];}var Je={'exports':{}},Ys=Je[_0x6461f5(0x14d)],ni;function qs(){var _0x2acd69=_0x6461f5;return ni||(ni=0x1,function(_0x599d1b,_0x38044e){(function(_0x264a60,_0x1fe26a){_0x599d1b['exports']=_0x1fe26a(ne());}(Ys,function(_0x34f2ba){(function(){var _0xc12f3a=_0x1a24,_0x364a4f=_0x34f2ba,_0x47bcd2=_0x364a4f['lib'],_0x33419c=_0x47bcd2[_0xc12f3a(0x237)],_0x32605a=_0x364a4f[_0xc12f3a(0x146)],_0x2016d0=_0x32605a[_0xc12f3a(0x153)],_0x1fa621=_0x364a4f[_0xc12f3a(0x14a)];_0x1fa621[_0xc12f3a(0x257)]=_0x33419c[_0xc12f3a(0x2e1)]({'init':function(_0x4a97b5,_0x92bde9){var _0x2d2f4d=_0xc12f3a;_0x4a97b5=this['_hasher']=new _0x4a97b5[(_0x2d2f4d(0x276))](),typeof _0x92bde9==_0x2d2f4d(0x39a)&&(_0x92bde9=_0x2016d0[_0x2d2f4d(0x2dc)](_0x92bde9));var _0x3c8f2b=_0x4a97b5[_0x2d2f4d(0x1d9)],_0x59fa0a=_0x3c8f2b*0x4;_0x92bde9[_0x2d2f4d(0x12e)]>_0x59fa0a&&(_0x92bde9=_0x4a97b5[_0x2d2f4d(0x2ef)](_0x92bde9)),_0x92bde9['clamp']();for(var _0x7b8c23=this['_oKey']=_0x92bde9[_0x2d2f4d(0x326)](),_0x2a33da=this['_iKey']=_0x92bde9['clone'](),_0x3b6d55=_0x7b8c23[_0x2d2f4d(0x33f)],_0x709606=_0x2a33da['words'],_0x1bdb99=0x0;_0x1bdb99<_0x3c8f2b;_0x1bdb99++)_0x3b6d55[_0x1bdb99]^=0x5c5c5c5c,_0x709606[_0x1bdb99]^=0x36363636;_0x7b8c23[_0x2d2f4d(0x12e)]=_0x2a33da['sigBytes']=_0x59fa0a,this[_0x2d2f4d(0x167)]();},'reset':function(){var _0x3f16fb=_0xc12f3a,_0x5ac81b=this[_0x3f16fb(0x399)];_0x5ac81b['reset'](),_0x5ac81b[_0x3f16fb(0x1d4)](this['_iKey']);},'update':function(_0x2c74b0){var _0x4c9982=_0xc12f3a;return this[_0x4c9982(0x399)]['update'](_0x2c74b0),this;},'finalize':function(_0x3350e0){var _0x466299=_0xc12f3a,_0x3207f=this['_hasher'],_0x4653ca=_0x3207f['finalize'](_0x3350e0);_0x3207f['reset']();var _0xc0930a=_0x3207f[_0x466299(0x2ef)](this[_0x466299(0x1c0)][_0x466299(0x326)]()['concat'](_0x4653ca));return _0xc0930a;}});}());}));}(Je)),Je[_0x2acd69(0x14d)];}var Js=Ye[_0x6461f5(0x14d)],si;function Ai(){var _0x55974f=_0x6461f5;return si||(si=0x1,function(_0x5cd600,_0x1d9fd4){(function(_0x10efb8,_0x57d2e4,_0x114277){var _0x2fc20f=_0x1a24;_0x5cd600[_0x2fc20f(0x14d)]=_0x57d2e4(ne(),zs(),qs());}(Js,function(_0x1cb7ad){var _0x5d5881=_0x1a24;return(function(){var _0x2597e4=_0x1a24,_0x2df795=_0x1cb7ad,_0x51f462=_0x2df795[_0x2597e4(0x169)],_0x3132d5=_0x51f462[_0x2597e4(0x237)],_0x1ac578=_0x51f462['WordArray'],_0x40f839=_0x2df795['algo'],_0x583c7e=_0x40f839[_0x2597e4(0x18d)],_0x151d89=_0x40f839['EvpKDF']=_0x3132d5[_0x2597e4(0x2e1)]({'cfg':_0x3132d5[_0x2597e4(0x2e1)]({'keySize':0x80/0x20,'hasher':_0x583c7e,'iterations':0x1}),'init':function(_0x498370){var _0x193404=_0x2597e4;this[_0x193404(0x36d)]=this[_0x193404(0x36d)]['extend'](_0x498370);},'compute':function(_0x57b642,_0x1850cc){var _0x2faf87=_0x2597e4;for(var _0x362a55,_0x3c75e3=this[_0x2faf87(0x36d)],_0x54d653=_0x3c75e3['hasher'][_0x2faf87(0x22a)](),_0x3a2f2e=_0x1ac578[_0x2faf87(0x22a)](),_0x5bf123=_0x3a2f2e[_0x2faf87(0x33f)],_0xd51258=_0x3c75e3[_0x2faf87(0x270)],_0x84f7cf=_0x3c75e3['iterations'];_0x5bf123[_0x2faf87(0x390)]<_0xd51258;){_0x362a55&&_0x54d653[_0x2faf87(0x1d4)](_0x362a55),_0x362a55=_0x54d653[_0x2faf87(0x1d4)](_0x57b642)[_0x2faf87(0x2ef)](_0x1850cc),_0x54d653[_0x2faf87(0x167)]();for(var _0x36d11a=0x1;_0x36d11a<_0x84f7cf;_0x36d11a++)_0x362a55=_0x54d653['finalize'](_0x362a55),_0x54d653['reset']();_0x3a2f2e[_0x2faf87(0x1df)](_0x362a55);}return _0x3a2f2e[_0x2faf87(0x12e)]=_0xd51258*0x4,_0x3a2f2e;}});_0x2df795[_0x2597e4(0x36f)]=function(_0x3b9c42,_0x3bd5e9,_0xe183a8){var _0x2b6b5a=_0x2597e4;return _0x151d89[_0x2b6b5a(0x22a)](_0xe183a8)[_0x2b6b5a(0x2de)](_0x3b9c42,_0x3bd5e9);};}()),_0x1cb7ad[_0x5d5881(0x36f)];}));}(Ye)),Ye[_0x55974f(0x14d)];}var Xe={'exports':{}},Xs=Xe[_0x6461f5(0x14d)],ri;function xi(){var _0x28528a=_0x6461f5;return ri||(ri=0x1,function(_0x3b644a,_0x4cabdd){(function(_0x179833,_0x441970,_0x14d88d){_0x3b644a['exports']=_0x441970(ne(),Ai());}(Xs,function(_0x44eded){var _0x344889=_0x1a24;_0x44eded[_0x344889(0x169)]['Cipher']||function(_0x313a59){var _0x3e5eba=_0x344889,_0x36e971=_0x44eded,_0x188ff9=_0x36e971[_0x3e5eba(0x169)],_0x37b9ce=_0x188ff9[_0x3e5eba(0x237)],_0x234556=_0x188ff9[_0x3e5eba(0x369)],_0xce3427=_0x188ff9[_0x3e5eba(0x1f8)],_0x3bc2c1=_0x36e971[_0x3e5eba(0x146)];_0x3bc2c1[_0x3e5eba(0x153)];var _0x4f11f9=_0x3bc2c1['Base64'],_0x4e9b17=_0x36e971[_0x3e5eba(0x14a)],_0x537793=_0x4e9b17[_0x3e5eba(0x36f)],_0x4f202c=_0x188ff9[_0x3e5eba(0x285)]=_0xce3427['extend']({'cfg':_0x37b9ce[_0x3e5eba(0x2e1)](),'createEncryptor':function(_0x267865,_0x2e6d9c){var _0x15063f=_0x3e5eba;return this[_0x15063f(0x22a)](this[_0x15063f(0x3b5)],_0x267865,_0x2e6d9c);},'createDecryptor':function(_0x23fb52,_0x4aaa27){var _0x38a1fe=_0x3e5eba;return this[_0x38a1fe(0x22a)](this[_0x38a1fe(0x1fe)],_0x23fb52,_0x4aaa27);},'init':function(_0x488151,_0x46c022,_0xf6a4d9){var _0x36a90b=_0x3e5eba;this[_0x36a90b(0x36d)]=this[_0x36a90b(0x36d)][_0x36a90b(0x2e1)](_0xf6a4d9),this[_0x36a90b(0x3ac)]=_0x488151,this[_0x36a90b(0x195)]=_0x46c022,this[_0x36a90b(0x167)]();},'reset':function(){var _0x30f626=_0x3e5eba;_0xce3427[_0x30f626(0x167)][_0x30f626(0x191)](this),this[_0x30f626(0x344)]();},'process':function(_0x411bcf){var _0x3af105=_0x3e5eba;return this[_0x3af105(0x156)](_0x411bcf),this[_0x3af105(0x179)]();},'finalize':function(_0xbf5e53){var _0x58dec5=_0x3e5eba;_0xbf5e53&&this[_0x58dec5(0x156)](_0xbf5e53);var _0xa559e1=this[_0x58dec5(0x291)]();return _0xa559e1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bcdc2(_0x526c14){var _0x55051f=_0x1a24;return typeof _0x526c14==_0x55051f(0x39a)?_0x1dd7ee:_0x73112d;}return function(_0x31d25a){return{'encrypt':function(_0x53042a,_0x3cd969,_0x2a54b6){var _0x3c4483=_0x1a24;return _0x4bcdc2(_0x3cd969)[_0x3c4483(0x2ab)](_0x31d25a,_0x53042a,_0x3cd969,_0x2a54b6);},'decrypt':function(_0x60b048,_0x23f18c,_0x533f21){return _0x4bcdc2(_0x23f18c)['decrypt'](_0x31d25a,_0x60b048,_0x23f18c,_0x533f21);}};};}())});_0x188ff9[_0x3e5eba(0x199)]=_0x4f202c[_0x3e5eba(0x2e1)]({'_doFinalize':function(){var _0x3bb7d7=_0x3e5eba,_0x26d926=this[_0x3bb7d7(0x179)](!0x0);return _0x26d926;},'blockSize':0x1});var _0x110868=_0x36e971['mode']={},_0xd1953d=_0x188ff9[_0x3e5eba(0x3ef)]=_0x37b9ce[_0x3e5eba(0x2e1)]({'createEncryptor':function(_0x5239fb,_0x3d6431){var _0x544ddb=_0x3e5eba;return this[_0x544ddb(0x2a6)][_0x544ddb(0x22a)](_0x5239fb,_0x3d6431);},'createDecryptor':function(_0x174c60,_0x8691cd){var _0x2d9395=_0x3e5eba;return this[_0x2d9395(0x3e6)][_0x2d9395(0x22a)](_0x174c60,_0x8691cd);},'init':function(_0x2954ae,_0x122a9f){var _0xa657aa=_0x3e5eba;this[_0xa657aa(0x145)]=_0x2954ae,this[_0xa657aa(0x3ec)]=_0x122a9f;}}),_0x225079=_0x110868[_0x3e5eba(0x34d)]=(function(){var _0x5f2df9=_0x3e5eba,_0x31c373=_0xd1953d['extend']();_0x31c373[_0x5f2df9(0x2a6)]=_0x31c373[_0x5f2df9(0x2e1)]({'processBlock':function(_0x3e54bd,_0x1d5065){var _0xbff368=_0x5f2df9,_0x19f399=this[_0xbff368(0x145)],_0x2ad1a7=_0x19f399[_0xbff368(0x1d9)];_0x2a9b05[_0xbff368(0x191)](this,_0x3e54bd,_0x1d5065,_0x2ad1a7),_0x19f399[_0xbff368(0x1d7)](_0x3e54bd,_0x1d5065),this[_0xbff368(0x38f)]=_0x3e54bd['slice'](_0x1d5065,_0x1d5065+_0x2ad1a7);}}),_0x31c373[_0x5f2df9(0x3e6)]=_0x31c373[_0x5f2df9(0x2e1)]({'processBlock':function(_0x11aaa5,_0x489a4b){var _0xdec7e4=_0x5f2df9,_0x2f037e=this[_0xdec7e4(0x145)],_0x4b0539=_0x2f037e['blockSize'],_0x213945=_0x11aaa5[_0xdec7e4(0x3e7)](_0x489a4b,_0x489a4b+_0x4b0539);_0x2f037e['decryptBlock'](_0x11aaa5,_0x489a4b),_0x2a9b05['call'](this,_0x11aaa5,_0x489a4b,_0x4b0539),this[_0xdec7e4(0x38f)]=_0x213945;}});function _0x2a9b05(_0x1ee2ff,_0x1316ae,_0x8b512a){var _0x317fcc=_0x5f2df9,_0x700b6f,_0x1f72d9=this[_0x317fcc(0x3ec)];_0x1f72d9?(_0x700b6f=_0x1f72d9,this[_0x317fcc(0x3ec)]=_0x313a59):_0x700b6f=this[_0x317fcc(0x38f)];for(var _0x1f2518=0x0;_0x1f2518<_0x8b512a;_0x1f2518++)_0x1ee2ff[_0x1316ae+_0x1f2518]^=_0x700b6f[_0x1f2518];}return _0x31c373;}()),_0x48185e=_0x36e971['pad']={},_0x20f12d=_0x48185e[_0x3e5eba(0x1ee)]={'pad':function(_0x1c9dc6,_0x1387dc){var _0x1d3b1d=_0x3e5eba;for(var _0xca6c5e=_0x1387dc*0x4,_0x5acad3=_0xca6c5e-_0x1c9dc6['sigBytes']%_0xca6c5e,_0xd17a5b=_0x5acad3<<0x18|_0x5acad3<<0x10|_0x5acad3<<0x8|_0x5acad3,_0x32fb8a=[],_0x48e96e=0x0;_0x48e96e<_0x5acad3;_0x48e96e+=0x4)_0x32fb8a[_0x1d3b1d(0x103)](_0xd17a5b);var _0x44ac78=_0x234556[_0x1d3b1d(0x22a)](_0x32fb8a,_0x5acad3);_0x1c9dc6[_0x1d3b1d(0x1df)](_0x44ac78);},'unpad':function(_0x35f5a2){var _0x17c5af=_0x3e5eba,_0x4455ef=_0x35f5a2[_0x17c5af(0x33f)][_0x35f5a2[_0x17c5af(0x12e)]-0x1>>>0x2]&0xff;_0x35f5a2['sigBytes']-=_0x4455ef;}};_0x188ff9['BlockCipher']=_0x4f202c[_0x3e5eba(0x2e1)]({'cfg':_0x4f202c[_0x3e5eba(0x36d)]['extend']({'mode':_0x225079,'padding':_0x20f12d}),'reset':function(){var _0x1938ee=_0x3e5eba,_0x3753a1;_0x4f202c[_0x1938ee(0x167)]['call'](this);var _0x3a60b6=this[_0x1938ee(0x36d)],_0x458f21=_0x3a60b6['iv'],_0x17f9f8=_0x3a60b6[_0x1938ee(0x2ff)];this[_0x1938ee(0x3ac)]==this[_0x1938ee(0x3b5)]?_0x3753a1=_0x17f9f8[_0x1938ee(0x38d)]:(_0x3753a1=_0x17f9f8[_0x1938ee(0x3a0)],this['_minBufferSize']=0x1),this[_0x1938ee(0x298)]&&this[_0x1938ee(0x298)][_0x1938ee(0x1ab)]==_0x3753a1?this[_0x1938ee(0x298)]['init'](this,_0x458f21&&_0x458f21[_0x1938ee(0x33f)]):(this[_0x1938ee(0x298)]=_0x3753a1[_0x1938ee(0x191)](_0x17f9f8,this,_0x458f21&&_0x458f21[_0x1938ee(0x33f)]),this['_mode'][_0x1938ee(0x1ab)]=_0x3753a1);},'_doProcessBlock':function(_0x48e8f3,_0x17dcaf){var _0x8f038=_0x3e5eba;this['_mode'][_0x8f038(0x29c)](_0x48e8f3,_0x17dcaf);},'_doFinalize':function(){var _0x28a43a=_0x3e5eba,_0x12184d,_0x50302d=this['cfg'][_0x28a43a(0x308)];return this[_0x28a43a(0x3ac)]==this[_0x28a43a(0x3b5)]?(_0x50302d[_0x28a43a(0x1b6)](this[_0x28a43a(0x2e8)],this[_0x28a43a(0x1d9)]),_0x12184d=this[_0x28a43a(0x179)](!0x0)):(_0x12184d=this[_0x28a43a(0x179)](!0x0),_0x50302d['unpad'](_0x12184d)),_0x12184d;},'blockSize':0x80/0x20});var _0x8d7450=_0x188ff9[_0x3e5eba(0x157)]=_0x37b9ce[_0x3e5eba(0x2e1)]({'init':function(_0x7cb403){this['mixIn'](_0x7cb403);},'toString':function(_0x30b4a5){var _0x3d0a7c=_0x3e5eba;return(_0x30b4a5||this[_0x3d0a7c(0x2a2)])[_0x3d0a7c(0x336)](this);}}),_0x1eade6=_0x36e971[_0x3e5eba(0x3e5)]={},_0x47262c=_0x1eade6[_0x3e5eba(0x362)]={'stringify':function(_0x1849b5){var _0x5f1824=_0x3e5eba,_0x41c03b,_0x59d863=_0x1849b5[_0x5f1824(0x174)],_0x9a8feb=_0x1849b5[_0x5f1824(0x2aa)];return _0x9a8feb?_0x41c03b=_0x234556['create']([0x53616c74,0x65645f5f])[_0x5f1824(0x1df)](_0x9a8feb)['concat'](_0x59d863):_0x41c03b=_0x59d863,_0x41c03b['toString'](_0x4f11f9);},'parse':function(_0x3bc999){var _0x2a7f77=_0x3e5eba,_0x4aee8f,_0x57292f=_0x4f11f9[_0x2a7f77(0x2dc)](_0x3bc999),_0x3550fe=_0x57292f['words'];return _0x3550fe[0x0]==0x53616c74&&_0x3550fe[0x1]==0x65645f5f&&(_0x4aee8f=_0x234556[_0x2a7f77(0x22a)](_0x3550fe['slice'](0x2,0x4)),_0x3550fe[_0x2a7f77(0x3bd)](0x0,0x4),_0x57292f[_0x2a7f77(0x12e)]-=0x10),_0x8d7450['create']({'ciphertext':_0x57292f,'salt':_0x4aee8f});}},_0x73112d=_0x188ff9[_0x3e5eba(0x1b1)]=_0x37b9ce[_0x3e5eba(0x2e1)]({'cfg':_0x37b9ce['extend']({'format':_0x47262c}),'encrypt':function(_0x447c1d,_0x4dc62c,_0x5b7014,_0x224d95){var _0x551574=_0x3e5eba;_0x224d95=this[_0x551574(0x36d)][_0x551574(0x2e1)](_0x224d95);var _0x2c2289=_0x447c1d[_0x551574(0x38d)](_0x5b7014,_0x224d95),_0x2f823e=_0x2c2289[_0x551574(0x2ef)](_0x4dc62c),_0x18e9ef=_0x2c2289[_0x551574(0x36d)];return _0x8d7450[_0x551574(0x22a)]({'ciphertext':_0x2f823e,'key':_0x5b7014,'iv':_0x18e9ef['iv'],'algorithm':_0x447c1d,'mode':_0x18e9ef['mode'],'padding':_0x18e9ef[_0x551574(0x308)],'blockSize':_0x447c1d['blockSize'],'formatter':_0x224d95[_0x551574(0x3e5)]});},'decrypt':function(_0x52022b,_0x2a60ba,_0x13e8eb,_0x38e4c1){var _0x1c4654=_0x3e5eba;_0x38e4c1=this['cfg'][_0x1c4654(0x2e1)](_0x38e4c1),_0x2a60ba=this['_parse'](_0x2a60ba,_0x38e4c1[_0x1c4654(0x3e5)]);var _0x219595=_0x52022b['createDecryptor'](_0x13e8eb,_0x38e4c1)['finalize'](_0x2a60ba['ciphertext']);return _0x219595;},'_parse':function(_0x18f586,_0x1e5c99){var _0x4a0636=_0x3e5eba;return typeof _0x18f586==_0x4a0636(0x39a)?_0x1e5c99[_0x4a0636(0x2dc)](_0x18f586,this):_0x18f586;}}),_0x45ce10=_0x36e971[_0x3e5eba(0x104)]={},_0x2eb74c=_0x45ce10['OpenSSL']={'execute':function(_0x569153,_0x3f45c7,_0x3a3509,_0x492cb0,_0x598ec6){var _0x775624=_0x3e5eba;if(_0x492cb0||(_0x492cb0=_0x234556[_0x775624(0x2ae)](0x40/0x8)),_0x598ec6)var _0x53f051=_0x537793[_0x775624(0x22a)]({'keySize':_0x3f45c7+_0x3a3509,'hasher':_0x598ec6})[_0x775624(0x2de)](_0x569153,_0x492cb0);else var _0x53f051=_0x537793[_0x775624(0x22a)]({'keySize':_0x3f45c7+_0x3a3509})[_0x775624(0x2de)](_0x569153,_0x492cb0);var _0x3f7c31=_0x234556[_0x775624(0x22a)](_0x53f051[_0x775624(0x33f)][_0x775624(0x3e7)](_0x3f45c7),_0x3a3509*0x4);return _0x53f051[_0x775624(0x12e)]=_0x3f45c7*0x4,_0x8d7450[_0x775624(0x22a)]({'key':_0x53f051,'iv':_0x3f7c31,'salt':_0x492cb0});}},_0x1dd7ee=_0x188ff9[_0x3e5eba(0x2a9)]=_0x73112d[_0x3e5eba(0x2e1)]({'cfg':_0x73112d[_0x3e5eba(0x36d)][_0x3e5eba(0x2e1)]({'kdf':_0x2eb74c}),'encrypt':function(_0x3bbce7,_0x3feafd,_0x31e42a,_0x259316){var _0x10f261=_0x3e5eba;_0x259316=this['cfg'][_0x10f261(0x2e1)](_0x259316);var _0x548a41=_0x259316[_0x10f261(0x104)][_0x10f261(0x117)](_0x31e42a,_0x3bbce7['keySize'],_0x3bbce7[_0x10f261(0x2df)],_0x259316[_0x10f261(0x2aa)],_0x259316[_0x10f261(0x2e0)]);_0x259316['iv']=_0x548a41['iv'];var _0xccf3c3=_0x73112d['encrypt'][_0x10f261(0x191)](this,_0x3bbce7,_0x3feafd,_0x548a41[_0x10f261(0x2cf)],_0x259316);return _0xccf3c3[_0x10f261(0x150)](_0x548a41),_0xccf3c3;},'decrypt':function(_0x17efb4,_0x1c6c32,_0x17e94b,_0x3287a0){var _0xcd46c9=_0x3e5eba;_0x3287a0=this[_0xcd46c9(0x36d)][_0xcd46c9(0x2e1)](_0x3287a0),_0x1c6c32=this['_parse'](_0x1c6c32,_0x3287a0['format']);var _0x9200b5=_0x3287a0[_0xcd46c9(0x104)][_0xcd46c9(0x117)](_0x17e94b,_0x17efb4[_0xcd46c9(0x270)],_0x17efb4['ivSize'],_0x1c6c32[_0xcd46c9(0x2aa)],_0x3287a0[_0xcd46c9(0x2e0)]);_0x3287a0['iv']=_0x9200b5['iv'];var _0x431f7d=_0x73112d['decrypt']['call'](this,_0x17efb4,_0x1c6c32,_0x9200b5[_0xcd46c9(0x2cf)],_0x3287a0);return _0x431f7d;}});}();}));}(Xe)),Xe[_0x28528a(0x14d)];}var Zs=We[_0x6461f5(0x14d)],oi;function Qs(){return oi||(oi=0x1,function(_0x24af37,_0x26457c){(function(_0x521dd5,_0x65edd1,_0x4c30b1){var _0x3917ce=_0x1a24;_0x24af37[_0x3917ce(0x14d)]=_0x65edd1(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x38f055){var _0x5def49=_0x1a24;return(function(){var _0x49cb73=_0x1a24,_0x1871f1=_0x38f055,_0x1b7aff=_0x1871f1['lib'],_0x554bf1=_0x1b7aff[_0x49cb73(0x359)],_0x54a017=_0x1871f1[_0x49cb73(0x14a)],_0x20b80a=[],_0x4c8f81=[],_0x4f49e0=[],_0x527d82=[],_0x2138b9=[],_0x39f9c5=[],_0x17ffeb=[],_0x10f700=[],_0x1165b3=[],_0x22bbfe=[];(function(){for(var _0x378e85=[],_0x181721=0x0;_0x181721<0x100;_0x181721++)_0x181721<0x80?_0x378e85[_0x181721]=_0x181721<<0x1:_0x378e85[_0x181721]=_0x181721<<0x1^0x11b;for(var _0x59b037=0x0,_0x54ace4=0x0,_0x181721=0x0;_0x181721<0x100;_0x181721++){var _0x54b8c4=_0x54ace4^_0x54ace4<<0x1^_0x54ace4<<0x2^_0x54ace4<<0x3^_0x54ace4<<0x4;_0x54b8c4=_0x54b8c4>>>0x8^_0x54b8c4&0xff^0x63,_0x20b80a[_0x59b037]=_0x54b8c4,_0x4c8f81[_0x54b8c4]=_0x59b037;var _0x1abd04=_0x378e85[_0x59b037],_0x3f5e86=_0x378e85[_0x1abd04],_0x4ff7d1=_0x378e85[_0x3f5e86],_0x119c5c=_0x378e85[_0x54b8c4]*0x101^_0x54b8c4*0x1010100;_0x4f49e0[_0x59b037]=_0x119c5c<<0x18|_0x119c5c>>>0x8,_0x527d82[_0x59b037]=_0x119c5c<<0x10|_0x119c5c>>>0x10,_0x2138b9[_0x59b037]=_0x119c5c<<0x8|_0x119c5c>>>0x18,_0x39f9c5[_0x59b037]=_0x119c5c;var _0x119c5c=_0x4ff7d1*0x1010101^_0x3f5e86*0x10001^_0x1abd04*0x101^_0x59b037*0x1010100;_0x17ffeb[_0x54b8c4]=_0x119c5c<<0x18|_0x119c5c>>>0x8,_0x10f700[_0x54b8c4]=_0x119c5c<<0x10|_0x119c5c>>>0x10,_0x1165b3[_0x54b8c4]=_0x119c5c<<0x8|_0x119c5c>>>0x18,_0x22bbfe[_0x54b8c4]=_0x119c5c,_0x59b037?(_0x59b037=_0x1abd04^_0x378e85[_0x378e85[_0x378e85[_0x4ff7d1^_0x1abd04]]],_0x54ace4^=_0x378e85[_0x378e85[_0x54ace4]]):_0x59b037=_0x54ace4=0x1;}}());var _0x5de9b2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30984b=_0x54a017[_0x49cb73(0x2ec)]=_0x554bf1['extend']({'_doReset':function(){var _0x5a8a9d=_0x49cb73,_0x234e74;if(!(this['_nRounds']&&this[_0x5a8a9d(0x132)]===this['_key'])){for(var _0x5c9090=this[_0x5a8a9d(0x132)]=this[_0x5a8a9d(0x195)],_0x212708=_0x5c9090[_0x5a8a9d(0x33f)],_0x49cf61=_0x5c9090[_0x5a8a9d(0x12e)]/0x4,_0xdda007=this[_0x5a8a9d(0x313)]=_0x49cf61+0x6,_0xf634a5=(_0xdda007+0x1)*0x4,_0x3571ed=this['_keySchedule']=[],_0x540d48=0x0;_0x540d48<_0xf634a5;_0x540d48++)_0x540d48<_0x49cf61?_0x3571ed[_0x540d48]=_0x212708[_0x540d48]:(_0x234e74=_0x3571ed[_0x540d48-0x1],_0x540d48%_0x49cf61?_0x49cf61>0x6&&_0x540d48%_0x49cf61==0x4&&(_0x234e74=_0x20b80a[_0x234e74>>>0x18]<<0x18|_0x20b80a[_0x234e74>>>0x10&0xff]<<0x10|_0x20b80a[_0x234e74>>>0x8&0xff]<<0x8|_0x20b80a[_0x234e74&0xff]):(_0x234e74=_0x234e74<<0x8|_0x234e74>>>0x18,_0x234e74=_0x20b80a[_0x234e74>>>0x18]<<0x18|_0x20b80a[_0x234e74>>>0x10&0xff]<<0x10|_0x20b80a[_0x234e74>>>0x8&0xff]<<0x8|_0x20b80a[_0x234e74&0xff],_0x234e74^=_0x5de9b2[_0x540d48/_0x49cf61|0x0]<<0x18),_0x3571ed[_0x540d48]=_0x3571ed[_0x540d48-_0x49cf61]^_0x234e74);for(var _0x488b4f=this[_0x5a8a9d(0x1d6)]=[],_0x157d48=0x0;_0x157d48<_0xf634a5;_0x157d48++){var _0x540d48=_0xf634a5-_0x157d48;if(_0x157d48%0x4)var _0x234e74=_0x3571ed[_0x540d48];else var _0x234e74=_0x3571ed[_0x540d48-0x4];_0x157d48<0x4||_0x540d48<=0x4?_0x488b4f[_0x157d48]=_0x234e74:_0x488b4f[_0x157d48]=_0x17ffeb[_0x20b80a[_0x234e74>>>0x18]]^_0x10f700[_0x20b80a[_0x234e74>>>0x10&0xff]]^_0x1165b3[_0x20b80a[_0x234e74>>>0x8&0xff]]^_0x22bbfe[_0x20b80a[_0x234e74&0xff]];}}},'encryptBlock':function(_0x3ffe1c,_0x1bb988){var _0x494935=_0x49cb73;this[_0x494935(0x335)](_0x3ffe1c,_0x1bb988,this[_0x494935(0x1aa)],_0x4f49e0,_0x527d82,_0x2138b9,_0x39f9c5,_0x20b80a);},'decryptBlock':function(_0x41b2e1,_0x452099){var _0x7a17c6=_0x49cb73,_0x54f21f=_0x41b2e1[_0x452099+0x1];_0x41b2e1[_0x452099+0x1]=_0x41b2e1[_0x452099+0x3],_0x41b2e1[_0x452099+0x3]=_0x54f21f,this[_0x7a17c6(0x335)](_0x41b2e1,_0x452099,this[_0x7a17c6(0x1d6)],_0x17ffeb,_0x10f700,_0x1165b3,_0x22bbfe,_0x4c8f81);var _0x54f21f=_0x41b2e1[_0x452099+0x1];_0x41b2e1[_0x452099+0x1]=_0x41b2e1[_0x452099+0x3],_0x41b2e1[_0x452099+0x3]=_0x54f21f;},'_doCryptBlock':function(_0x586a40,_0x353db1,_0x5229ec,_0x144b2a,_0x3795eb,_0x4e8e6a,_0x359fba,_0x3a29a7){var _0x50200e=_0x49cb73;for(var _0x5ecbcd=this[_0x50200e(0x313)],_0x31a154=_0x586a40[_0x353db1]^_0x5229ec[0x0],_0xab3ea7=_0x586a40[_0x353db1+0x1]^_0x5229ec[0x1],_0x27e1ef=_0x586a40[_0x353db1+0x2]^_0x5229ec[0x2],_0x338c8f=_0x586a40[_0x353db1+0x3]^_0x5229ec[0x3],_0x1440f4=0x4,_0x10f3d6=0x1;_0x10f3d6<_0x5ecbcd;_0x10f3d6++){var _0x439adc=_0x144b2a[_0x31a154>>>0x18]^_0x3795eb[_0xab3ea7>>>0x10&0xff]^_0x4e8e6a[_0x27e1ef>>>0x8&0xff]^_0x359fba[_0x338c8f&0xff]^_0x5229ec[_0x1440f4++],_0x155c13=_0x144b2a[_0xab3ea7>>>0x18]^_0x3795eb[_0x27e1ef>>>0x10&0xff]^_0x4e8e6a[_0x338c8f>>>0x8&0xff]^_0x359fba[_0x31a154&0xff]^_0x5229ec[_0x1440f4++],_0x3a9f44=_0x144b2a[_0x27e1ef>>>0x18]^_0x3795eb[_0x338c8f>>>0x10&0xff]^_0x4e8e6a[_0x31a154>>>0x8&0xff]^_0x359fba[_0xab3ea7&0xff]^_0x5229ec[_0x1440f4++],_0x4a43ee=_0x144b2a[_0x338c8f>>>0x18]^_0x3795eb[_0x31a154>>>0x10&0xff]^_0x4e8e6a[_0xab3ea7>>>0x8&0xff]^_0x359fba[_0x27e1ef&0xff]^_0x5229ec[_0x1440f4++];_0x31a154=_0x439adc,_0xab3ea7=_0x155c13,_0x27e1ef=_0x3a9f44,_0x338c8f=_0x4a43ee;}var _0x439adc=(_0x3a29a7[_0x31a154>>>0x18]<<0x18|_0x3a29a7[_0xab3ea7>>>0x10&0xff]<<0x10|_0x3a29a7[_0x27e1ef>>>0x8&0xff]<<0x8|_0x3a29a7[_0x338c8f&0xff])^_0x5229ec[_0x1440f4++],_0x155c13=(_0x3a29a7[_0xab3ea7>>>0x18]<<0x18|_0x3a29a7[_0x27e1ef>>>0x10&0xff]<<0x10|_0x3a29a7[_0x338c8f>>>0x8&0xff]<<0x8|_0x3a29a7[_0x31a154&0xff])^_0x5229ec[_0x1440f4++],_0x3a9f44=(_0x3a29a7[_0x27e1ef>>>0x18]<<0x18|_0x3a29a7[_0x338c8f>>>0x10&0xff]<<0x10|_0x3a29a7[_0x31a154>>>0x8&0xff]<<0x8|_0x3a29a7[_0xab3ea7&0xff])^_0x5229ec[_0x1440f4++],_0x4a43ee=(_0x3a29a7[_0x338c8f>>>0x18]<<0x18|_0x3a29a7[_0x31a154>>>0x10&0xff]<<0x10|_0x3a29a7[_0xab3ea7>>>0x8&0xff]<<0x8|_0x3a29a7[_0x27e1ef&0xff])^_0x5229ec[_0x1440f4++];_0x586a40[_0x353db1]=_0x439adc,_0x586a40[_0x353db1+0x1]=_0x155c13,_0x586a40[_0x353db1+0x2]=_0x3a9f44,_0x586a40[_0x353db1+0x3]=_0x4a43ee;},'keySize':0x100/0x20});_0x1871f1['AES']=_0x554bf1[_0x49cb73(0x28f)](_0x30984b);}()),_0x38f055[_0x5def49(0x2ec)];}));}(We)),We['exports'];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x6461f5(0x14d)],ci;function sr(){var _0x1c92d3=_0x6461f5;return ci||(ci=0x1,function(_0x5724fe,_0x53e3ba){(function(_0x5b1782,_0x3bd07c){var _0x6d32b9=_0x1a24;_0x5724fe[_0x6d32b9(0x14d)]=_0x3bd07c(ne());}(nr,function(_0x2fe270){var _0x1b9de8=_0x1a24;return _0x2fe270['enc'][_0x1b9de8(0x153)];}));}(Ze)),Ze[_0x1c92d3(0x14d)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x6461f5(0x14d)],hi;function cr(){var _0x66cebb=_0x6461f5;return hi||(hi=0x1,function(_0x4c09fa,_0x4c6f20){(function(_0x402d20,_0x53d0e){var _0x5a0360=_0x1a24;_0x4c09fa[_0x5a0360(0x14d)]=_0x53d0e(ne());}(ar,function(_0x2c4d97){var _0x2f9b51=_0x1a24;return(function(){var _0x57f4a5=_0x1a24;if(typeof ArrayBuffer==_0x57f4a5(0x2bf)){var _0x473333=_0x2c4d97,_0x431514=_0x473333[_0x57f4a5(0x169)],_0x1a02f6=_0x431514[_0x57f4a5(0x369)],_0x166790=_0x1a02f6[_0x57f4a5(0x276)],_0xef50f9=_0x1a02f6['init']=function(_0x574241){var _0x38fbb0=_0x57f4a5;if(_0x574241 instanceof ArrayBuffer&&(_0x574241=new Uint8Array(_0x574241)),(_0x574241 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x574241 instanceof Uint8ClampedArray||_0x574241 instanceof Int16Array||_0x574241 instanceof Uint16Array||_0x574241 instanceof Int32Array||_0x574241 instanceof Uint32Array||_0x574241 instanceof Float32Array||_0x574241 instanceof Float64Array)&&(_0x574241=new Uint8Array(_0x574241['buffer'],_0x574241[_0x38fbb0(0x11e)],_0x574241[_0x38fbb0(0x2b5)])),_0x574241 instanceof Uint8Array){for(var _0x10c382=_0x574241['byteLength'],_0x225cab=[],_0x1c966d=0x0;_0x1c966d<_0x10c382;_0x1c966d++)_0x225cab[_0x1c966d>>>0x2]|=_0x574241[_0x1c966d]<<0x18-_0x1c966d%0x4*0x8;_0x166790['call'](this,_0x225cab,_0x10c382);}else _0x166790[_0x38fbb0(0x1e3)](this,arguments);};_0xef50f9[_0x57f4a5(0x3b3)]=_0x1a02f6;}}()),_0x2c4d97[_0x2f9b51(0x169)][_0x2f9b51(0x369)];}));}(Qe)),Qe[_0x66cebb(0x14d)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0x6461f5(0x14d)],_i;function ur(){var _0x3b79d7=_0x6461f5;return _i||(_i=0x1,function(_0xbd3b9,_0x5a3229){(function(_0x420473,_0x3df5c4,_0x50217c){_0xbd3b9['exports']=_0x3df5c4(ne(),xi());}(lr,function(_0x705977){var _0x16682e=_0x1a24;return _0x705977[_0x16682e(0x1b6)][_0x16682e(0x196)]={'pad':function(){},'unpad':function(){}},_0x705977[_0x16682e(0x1b6)]['NoPadding'];}));}(et)),et[_0x3b79d7(0x14d)];}var dr=ur();const fr=ke(dr);function vr(_0x5b6ee3,_0x3b6df7){var _0x3171ac=_0x6461f5;const _0xcdc509=_0x3b6df7-_0x5b6ee3[_0x3171ac(0x390)]%_0x3b6df7,_0x31a671=String[_0x3171ac(0x116)](_0xcdc509)[_0x3171ac(0x19a)](_0xcdc509);return _0x5b6ee3+_0x31a671;}function pr(_0x24ccbc,_0x38a57f){var _0xff02b6=_0x6461f5;const _0x4279f2=_r[_0xff02b6(0x2ae)](0x10),_0x165297=vr(_0x24ccbc,0x10),_0x5dba54=tr[_0xff02b6(0x2ab)](or[_0xff02b6(0x2dc)](_0x165297),ai[_0xff02b6(0x2dc)](_0x38a57f),{'iv':_0x4279f2,'padding':fr});return _0x4279f2[_0xff02b6(0x1df)](_0x5dba54[_0xff02b6(0x174)])['toString'](ai);}function mr(){var _0xddca96=_0x6461f5;const _0x4d5a49=_0x1b5100()[_0xddca96(0x3c3)];if(_0x4d5a49){const _0x3dd3f3={'time':Math[_0xddca96(0x36c)](Date[_0xddca96(0x2ea)]()/0x3e8),'domain':location['hostname']};return pr(JSON['stringify'](_0x3dd3f3),_0x4d5a49);}}var gr=Object[_0x6461f5(0x125)],Sr=Object[_0x6461f5(0x2b4)],Er=(_0x2fa638,_0x6a56ec,_0x1d2150,_0x47567b)=>{for(var _0x71325f=_0x47567b>0x1?void 0x0:_0x47567b?Sr(_0x6a56ec,_0x1d2150):_0x6a56ec,_0x439493=_0x2fa638['length']-0x1,_0x586453;_0x439493>=0x0;_0x439493--)(_0x586453=_0x2fa638[_0x439493])&&(_0x71325f=(_0x47567b?_0x586453(_0x6a56ec,_0x1d2150,_0x71325f):_0x586453(_0x71325f))||_0x71325f);return _0x47567b&&_0x71325f&&gr(_0x6a56ec,_0x1d2150,_0x71325f),_0x71325f;},Ir=(_0x5c9761,_0x229c2b)=>(_0x10039f,_0x5ac6a5)=>_0x229c2b(_0x10039f,_0x5ac6a5,_0x5c9761);let at=class{constructor(_0x32bc91){var _0x5b00ef=_0x6461f5;this[_0x5b00ef(0x21d)]=_0x32bc91,this[_0x5b00ef(0x1a4)]();}[_0x6461f5(0x1a4)](){var _0x5324a8=_0x6461f5;this[_0x5324a8(0x21d)][_0x5324a8(0x307)]({'interceptor':(_0x14f5e8,_0x290643)=>{var _0x974a4f=_0x5324a8;const _0x5774e1=_0x14f5e8[_0x974a4f(0x120)],_0x43af1e=mr();return _0x43af1e&&_0x5774e1[_0x974a4f(0x2fc)](_0x974a4f(0x28e),_0x43af1e),_0x290643(_0x14f5e8);}});}};at=Er([Ir(0x0,_0x5bd7c7(_0x51ab2e))],at);var Tr=Object['defineProperty'],Cr=Object[_0x6461f5(0x2b4)],br=(_0x291469,_0x9579ee,_0x3d9a85,_0x21f813)=>{var _0x5ab81f=_0x6461f5;for(var _0x121ff5=_0x21f813>0x1?void 0x0:_0x21f813?Cr(_0x9579ee,_0x3d9a85):_0x9579ee,_0x213a94=_0x291469[_0x5ab81f(0x390)]-0x1,_0x52ba39;_0x213a94>=0x0;_0x213a94--)(_0x52ba39=_0x291469[_0x213a94])&&(_0x121ff5=(_0x21f813?_0x52ba39(_0x9579ee,_0x3d9a85,_0x121ff5):_0x52ba39(_0x121ff5))||_0x121ff5);return _0x21f813&&_0x121ff5&&Tr(_0x9579ee,_0x3d9a85,_0x121ff5),_0x121ff5;},gt=(_0x17ead1,_0x11f38d)=>(_0x30f8f3,_0x4173ff)=>_0x11f38d(_0x30f8f3,_0x4173ff,_0x17ead1);let Ot=class extends _0x4e2fa1{constructor(_0x14e132,_0x288aed,_0x108293){var _0x385795=_0x6461f5;super(),P(this,_0x385795(0x219),new _0x225132(null)),P(this,_0x385795(0x319),this['_unitInfo$'][_0x385795(0x305)]()),(this[_0x385795(0x3b8)]=_0x14e132,this[_0x385795(0x2e7)]=_0x288aed,this[_0x385795(0x171)]=_0x108293);}async['loadUnit'](_0x42b77f,_0x5d2b5a,_0x33628c){var _0x3d9eae=_0x6461f5;this[_0x3d9eae(0x219)][_0x3d9eae(0x3b6)]({'unitId':_0x42b77f,'type':_0x5d2b5a,'subUnitId':_0x33628c});let _0x2d1fa4=null;switch(_0x5d2b5a){case Q[_0x3d9eae(0x10f)]:{_0x2d1fa4=await this[_0x3d9eae(0x280)](_0x42b77f);break;}case Q[_0x3d9eae(0x111)]:{_0x2d1fa4=await this[_0x3d9eae(0x3f9)](_0x42b77f);break;}default:{this[_0x3d9eae(0x3b8)]['error'](_0x3d9eae(0x25a),_0x3d9eae(0x30d));break;}}return _0x2d1fa4;}async[_0x6461f5(0x280)](_0x21e63c){var _0x1b0adf=_0x6461f5,_0x1c92ff;let _0x43d6f0=0x0;const _0x4aa05c=await((_0x1c92ff=this[_0x1b0adf(0x171)])==null?void 0x0:_0x1c92ff[_0x1b0adf(0x262)](_0x21e63c));return _0x4aa05c&&(_0x4aa05c[_0x1b0adf(0x3d6)]||_0x4aa05c['mutations']['length']!==0x0)&&(_0x43d6f0=_0x4aa05c[_0x1b0adf(0x209)]),_0x43d6f0===0x0&&this[_0x1b0adf(0x3b8)][_0x1b0adf(0x229)](_0x1b0adf(0x25a),_0x1b0adf(0x29b)),this[_0x1b0adf(0x2e7)]['loadSheet'](_0x21e63c,_0x43d6f0);}async[_0x6461f5(0x3f9)](_0x52d558){var _0xbe7157=_0x6461f5,_0x47e554;let _0x5e6683=0x0;const _0x53f116=await((_0x47e554=this[_0xbe7157(0x171)])==null?void 0x0:_0x47e554[_0xbe7157(0x262)](_0x52d558));return _0x53f116&&(_0x53f116['awaitingChangeset']||_0x53f116[_0xbe7157(0x37d)][_0xbe7157(0x390)]!==0x0)&&(_0x5e6683=_0x53f116[_0xbe7157(0x209)]),_0x5e6683===0x0&&this[_0xbe7157(0x3b8)][_0xbe7157(0x229)](_0xbe7157(0x25a),_0xbe7157(0x29b)),this['_snapshotService'][_0xbe7157(0x2b2)](_0x52d558,_0x5e6683);}};function _0x1a24(_0x26e11e,_0x8ee4c0){var _0x372846=_0x3728();return _0x1a24=function(_0x1a249a,_0x5bf62d){_0x1a249a=_0x1a249a-0x100;var _0x4b0da5=_0x372846[_0x1a249a];return _0x4b0da5;},_0x1a24(_0x26e11e,_0x8ee4c0);}Ot=br([gt(0x0,_0x4e1df9),gt(0x1,_0x5bd7c7(_0x581805)),gt(0x2,_0x393a71(X))],Ot);var Rr=Object[_0x6461f5(0x125)],yr=Object[_0x6461f5(0x2b4)],Or=(_0x2f614a,_0x78f52e,_0xb6fc10,_0x3d8f24)=>{var _0x58fcc8=_0x6461f5;for(var _0x578ae3=_0x3d8f24>0x1?void 0x0:_0x3d8f24?yr(_0x78f52e,_0xb6fc10):_0x78f52e,_0x27fb47=_0x2f614a[_0x58fcc8(0x390)]-0x1,_0x19fbf1;_0x27fb47>=0x0;_0x27fb47--)(_0x19fbf1=_0x2f614a[_0x27fb47])&&(_0x578ae3=(_0x3d8f24?_0x19fbf1(_0x78f52e,_0xb6fc10,_0x578ae3):_0x19fbf1(_0x578ae3))||_0x578ae3);return _0x3d8f24&&_0x578ae3&&Rr(_0x78f52e,_0xb6fc10,_0x578ae3),_0x578ae3;},St=(_0x148c9e,_0x249d7a)=>(_0x223e10,_0xf41ef4)=>_0x249d7a(_0x223e10,_0xf41ef4,_0x148c9e);const Nr=['image/png',_0x6461f5(0x2bc),_0x6461f5(0x29e),_0x6461f5(0x2fd),_0x6461f5(0x15a)],Pr=0x5*0x400*0x400,Dr=_0x6461f5(0x154),wr=_0x6461f5(0x208),Ur=_0x6461f5(0x3f4),Ar='/universer-api/file/{fileID}/sign-url';let Nt=class{constructor(_0x3b2aaf,_0x452895,_0xd6de12){var _0x390fba=_0x6461f5;P(this,_0x390fba(0x35c),0x0),P(this,'_change$',new _0x2fe9de()),P(this,'change$',this[_0x390fba(0x329)]),P(this,_0x390fba(0x140),new Map()),(this['_httpService']=_0x3b2aaf,this[_0x390fba(0x395)]=_0x452895,this[_0x390fba(0x20e)]=_0xd6de12);}['setWaitCount'](_0x57f288){var _0x4f1894=_0x6461f5;this[_0x4f1894(0x35c)]=_0x57f288,this[_0x4f1894(0x329)][_0x4f1894(0x3b6)](_0x57f288);}[_0x6461f5(0x351)](_0xb56eb1,_0x9ba335){var _0x443702=_0x6461f5;if(_0x9ba335===_0x42396b['BASE64']){const _0x8c51e0=new Image();return _0x8c51e0[_0x443702(0x34a)]=_0xb56eb1,_0x8c51e0;}return this[_0x443702(0x140)][_0x443702(0x364)](_0xb56eb1);}[_0x6461f5(0x3df)](_0x610bfd,_0x8e4fa1,_0x40bb24){var _0x507893=_0x6461f5;_0x8e4fa1===_0x42396b[_0x507893(0x12d)]||_0x40bb24==null||this['_imageSourceCache'][_0x507893(0x2fc)](_0x610bfd,_0x40bb24);}async['getImage'](_0x25a526){var _0x7e135e=_0x6461f5;try{const _0x266ec6=this[_0x7e135e(0x268)](this[_0x7e135e(0x2d5)](),''+_0x25a526),_0x160a34=(await this[_0x7e135e(0x21d)]['get'](_0x266ec6))[_0x7e135e(0x234)];if(_0x160a34[_0x7e135e(0x388)]&&_0x160a34[_0x7e135e(0x388)][_0x7e135e(0x1f7)]===Ti['OK']){const _0x5ddf70=new URL(_0x160a34[_0x7e135e(0x14e)],this[_0x7e135e(0x321)]())[_0x7e135e(0x1e9)]();return Promise[_0x7e135e(0x37c)](_0x5ddf70);}return Promise[_0x7e135e(0x16d)](_0x160a34[_0x7e135e(0x388)]);}catch(_0x1090d0){return Promise[_0x7e135e(0x16d)](_0x1090d0);}}async[_0x6461f5(0x18f)](_0x1dca72){var _0x428b6b=_0x6461f5;let _0x40b62f='';if(!Nr[_0x428b6b(0x26c)](_0x1dca72[_0x428b6b(0x361)]))return this[_0x428b6b(0x161)](),Promise[_0x428b6b(0x16d)](new Error(_0x54ed05[_0x428b6b(0x1a3)]));if(_0x1dca72['size']>Pr)return this[_0x428b6b(0x161)](),Promise['reject'](new Error(_0x54ed05[_0x428b6b(0x341)]));try{const _0x570e82=new FormData();_0x570e82['append'](_0x428b6b(0x2a7),_0x1dca72);const _0xfa7304=this['_univerInstanceService']['getFocusedUnit'](),_0x782ba=_0xfa7304==null?void 0x0:_0xfa7304[_0x428b6b(0x22c)]();if(!_0x782ba)throw new Error('unitId\x20is\x20not\x20found');const _0x316aa0=this[_0x428b6b(0x2e9)]()+_0x428b6b(0x101)+_0x1dca72[_0x428b6b(0x202)]['toString']()+'&source='+Ci['UnitEmbedded']+_0x428b6b(0x23b)+encodeURIComponent(_0x782ba),_0x2c6c4a=await(await fetch(_0x316aa0,{'method':_0x428b6b(0x3ca),'body':_0x570e82}))[_0x428b6b(0x1f4)]();if(typeof _0x2c6c4a['FileId']!=_0x428b6b(0x39a))return this[_0x428b6b(0x161)](),Promise[_0x428b6b(0x16d)](new Error(_0x54ed05[_0x428b6b(0x3b1)]));_0x40b62f=_0x2c6c4a['FileId'];}catch{return this[_0x428b6b(0x161)](),Promise[_0x428b6b(0x16d)](new Error(_0x54ed05[_0x428b6b(0x3b1)]));}return new Promise((_0x176bad,_0x23e7fd)=>{var _0x26f934=_0x428b6b;const _0x1ef208=new FileReader();_0x1ef208[_0x26f934(0x3a5)](_0x1dca72),_0x1ef208['onload']=_0x3c3f86=>{var _0x7899af=_0x26f934,_0x5c612b;const _0x5955bf=(_0x5c612b=_0x3c3f86[_0x7899af(0x2c2)])==null?void 0x0:_0x5c612b['result'];if(_0x5955bf==null){this[_0x7899af(0x161)](),_0x23e7fd(new Error(_0x54ed05['ERROR_IMAGE']));return;}const _0x1ac784=_0x26c975['generateRandomId'](0x6);_0x176bad({'imageId':_0x1ac784,'imageSourceType':_0x42396b[_0x7899af(0x215)],'source':_0x40b62f,'base64Cache':_0x5955bf,'status':_0x54ed05[_0x7899af(0x22b)]}),this[_0x7899af(0x161)]();};});}[_0x6461f5(0x2e9)](){var _0xce200a=_0x6461f5,_0x1343fb,_0x505992;const _0x3b3b6b=this[_0xce200a(0x395)][_0xce200a(0x3bc)](Dr),_0x5f074d=this['_configService'][_0xce200a(0x3bc)](Y);return(_0x505992=(_0x1343fb=_0x5f074d==null?void 0x0:_0x5f074d['uploadFileServerUrl'])!=null?_0x1343fb:_0x3b3b6b)!=null?_0x505992:wr;}[_0x6461f5(0x2d5)](){var _0x15e2e0=_0x6461f5,_0x58a4fa,_0x1e854d;const _0x4370a1=this[_0x15e2e0(0x395)][_0x15e2e0(0x3bc)](Ur),_0x24244b=this[_0x15e2e0(0x395)]['getConfig'](Y);return(_0x1e854d=(_0x58a4fa=_0x24244b==null?void 0x0:_0x24244b['signUrlServerUrl'])!=null?_0x58a4fa:_0x4370a1)!=null?_0x1e854d:Ar;}['_getDownloadEndpointURL'](){var _0x2c95fd=_0x6461f5,_0x4eeaae;const _0x4a174f=this[_0x2c95fd(0x395)][_0x2c95fd(0x3bc)](Y);return(_0x4eeaae=_0x4a174f==null?void 0x0:_0x4a174f['downloadEndpointUrl'])!=null?_0x4eeaae:location['origin'];}[_0x6461f5(0x268)](_0x5d5313,_0x5abf47){var _0x1d558e=_0x6461f5;return _0x5d5313[_0x1d558e(0x135)](_0x1d558e(0x1a1),_0x5abf47);}[_0x6461f5(0x161)](){var _0x1a67d2=_0x6461f5;this[_0x1a67d2(0x35c)]-=0x1,this['_change$'][_0x1a67d2(0x3b6)](this[_0x1a67d2(0x35c)]);}};Nt=Or([St(0x0,_0x5bd7c7(_0x51ab2e)),St(0x1,_0x5e2a65),St(0x2,_0x5bd7c7(_0x360c9f))],Nt);var xr=Object[_0x6461f5(0x125)],Lr=Object[_0x6461f5(0x2b4)],Mr=(_0xb63f7c,_0x54a52a,_0x2bbc24,_0x5cef18)=>{var _0x1f7f9d=_0x6461f5;for(var _0x26d0c9=_0x5cef18>0x1?void 0x0:_0x5cef18?Lr(_0x54a52a,_0x2bbc24):_0x54a52a,_0x1b5cdf=_0xb63f7c[_0x1f7f9d(0x390)]-0x1,_0x56209e;_0x1b5cdf>=0x0;_0x1b5cdf--)(_0x56209e=_0xb63f7c[_0x1b5cdf])&&(_0x26d0c9=(_0x5cef18?_0x56209e(_0x54a52a,_0x2bbc24,_0x26d0c9):_0x56209e(_0x26d0c9))||_0x26d0c9);return _0x5cef18&&_0x26d0c9&&xr(_0x54a52a,_0x2bbc24,_0x26d0c9),_0x26d0c9;},li=(_0x2d47b7,_0x1c9c7e)=>(_0x2d7bd7,_0x55467a)=>_0x1c9c7e(_0x2d7bd7,_0x55467a,_0x2d47b7);const $r=_0x6461f5(0x397);let Pt=class{constructor(_0x152fcd,_0x11e843){var _0x3d7aad=_0x6461f5;this[_0x3d7aad(0x395)]=_0x152fcd,this[_0x3d7aad(0x26f)]=_0x11e843;}[_0x6461f5(0x1fb)](){var _0x32632d=_0x6461f5,_0x4f657b,_0x416a2;const _0x41d24a=this[_0x32632d(0x395)][_0x32632d(0x3bc)](wi),_0x276ecb=this['_configService'][_0x32632d(0x3bc)](Y);return(_0x416a2=(_0x4f657b=_0x276ecb==null?void 0x0:_0x276ecb['authzUrl'])!=null?_0x4f657b:_0x41d24a)!=null?_0x416a2:$r;}async[_0x6461f5(0x23c)](_0x3c3646){var _0xda40da=_0x6461f5;const _0x3dfba5=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0xda40da(0x34c),'mentions':(await this[_0xda40da(0x26f)][_0xda40da(0x364)](_0x3dfba5,{'params':{'objectID':_0x3c3646[_0xda40da(0x2a3)],'unitID':_0x3c3646[_0xda40da(0x2a3)]}}))[_0xda40da(0x234)]['collaborators'][_0xda40da(0x3fa)](_0x33ce2a=>({'objectId':_0x33ce2a['id'],'name':_0x33ce2a[_0xda40da(0x1ce)][_0xda40da(0x159)],'metadata':{'icon':_0x33ce2a[_0xda40da(0x1ce)][_0xda40da(0x381)]},'label':_0x33ce2a[_0xda40da(0x1ce)]['name'],'objectType':_0x2adcb7[_0xda40da(0x127)]})),'metadata':{},'type':_0x2adcb7[_0xda40da(0x127)]}]};}};Pt=Mr([li(0x0,_0x5bd7c7(_0x5e2a65)),li(0x1,_0x5bd7c7(_0x51ab2e))],Pt);var Hr=Object[_0x6461f5(0x125)],kr=Object[_0x6461f5(0x2b4)],jr=(_0x18c02a,_0x535b37,_0x5f315d,_0x276232)=>{for(var _0x4ee901=_0x276232>0x1?void 0x0:_0x276232?kr(_0x535b37,_0x5f315d):_0x535b37,_0x56c242=_0x18c02a['length']-0x1,_0x69ca6c;_0x56c242>=0x0;_0x56c242--)(_0x69ca6c=_0x18c02a[_0x56c242])&&(_0x4ee901=(_0x276232?_0x69ca6c(_0x535b37,_0x5f315d,_0x4ee901):_0x69ca6c(_0x4ee901))||_0x4ee901);return _0x276232&&_0x4ee901&&Hr(_0x535b37,_0x5f315d,_0x4ee901),_0x4ee901;},Se=(_0x5f4903,_0x5d7d23)=>(_0xa8859c,_0x4da91c)=>_0x5d7d23(_0xa8859c,_0x4da91c,_0x5f4903);let ct=class extends _0x4e2fa1{constructor(_0x3b50b,_0x3f0640,_0x18a04e,_0x417973,_0x361960,_0x2da229,_0x2da5c6){var _0x50f953=_0x6461f5;super(),this[_0x50f953(0x1e2)]=_0x3b50b,this[_0x50f953(0x20e)]=_0x3f0640,this['_permissionService']=_0x18a04e,this[_0x50f953(0x2d1)]=_0x417973,this['_collaborationUIEventService']=_0x361960,this[_0x50f953(0x290)]=_0x2da229,this['_undoRedoService']=_0x2da5c6,this[_0x50f953(0x1bb)](),this['_initCloseConn']();}[_0x6461f5(0x3d2)](){var _0x3eb263=_0x6461f5;const _0x4b1668=async _0x5654a1=>{var _0x4340b7=_0x1a24;(await this[_0x4340b7(0x2d1)][_0x4340b7(0x1c6)](_0x5654a1))['event$']['pipe'](_0x43f82e(_0xa7bb22=>_0xa7bb22['eventID']===_0x23c62b['SHOULD_CLOSE_CONN']),_0x45014c(this[_0x4340b7(0x122)]))['subscribe'](_0x14bc76=>{var _0x568b3e=_0x4340b7;const _0x1fd3c0=_0x14bc76,{reason:_0x293358}=_0x1fd3c0[_0x568b3e(0x19b)];this['_collaborationUIEventService'][_0x568b3e(0x2f1)]({'id':re[_0x568b3e(0x1fc)],'data':_0x293358}),this['_permissionService'][_0x568b3e(0x12c)](new _0x4e54e8(_0x5654a1)['id'],!0x1),this[_0x568b3e(0x2d1)]['closeSession'](_0x5654a1);});};_0x14205a(this[_0x3eb263(0x20e)]['getTypeOfUnitAdded$'](_0x590133[_0x3eb263(0x10f)]),this['_univerInstanceService'][_0x3eb263(0x2db)](_0x590133[_0x3eb263(0x111)]))[_0x3eb263(0x11a)](_0x547787(_0x1ba657=>_0x1ba657[_0x3eb263(0x22c)]()),_0x43f82e(_0x3305cb=>!_0x5c1eb7(_0x3305cb)),_0x45014c(this[_0x3eb263(0x122)]))[_0x3eb263(0x1b5)](_0x181b3a=>{_0x4b1668(_0x181b3a);});}[_0x6461f5(0x1bb)](){var _0x6efa39=_0x6461f5;const _0x1b49dd=async _0x4fc9c9=>{var _0x48819a=_0x1a24;(await this[_0x48819a(0x2d1)][_0x48819a(0x1c6)](_0x4fc9c9))[_0x48819a(0x2c5)]['pipe'](_0x43f82e(_0x404e48=>_0x404e48[_0x48819a(0x233)]===_0x23c62b['UPDATE_PERMISSION_OBJ']),_0x45014c(this[_0x48819a(0x122)]))[_0x48819a(0x1b5)](_0x2a51d1=>{var _0x5e760a=_0x48819a;const _0x49dd5e=_0x2a51d1,{objectId:_0x4e5dcf}=_0x49dd5e[_0x5e760a(0x19b)];_0x4e5dcf===_0x4fc9c9?this['initWorkbookPermissionChange'](_0x4fc9c9):this[_0x5e760a(0x306)](_0x4fc9c9,_0x4e5dcf);});};_0x14205a(this[_0x6efa39(0x20e)][_0x6efa39(0x2db)](_0x590133[_0x6efa39(0x10f)]),this[_0x6efa39(0x20e)]['getTypeOfUnitAdded$'](_0x590133['UNIVER_DOC']))[_0x6efa39(0x11a)](_0x547787(_0x19eb94=>_0x19eb94[_0x6efa39(0x22c)]()),_0x43f82e(_0x413370=>!_0x5c1eb7(_0x413370)),_0x45014c(this[_0x6efa39(0x122)]))[_0x6efa39(0x1b5)](_0x286207=>{_0x1b49dd(_0x286207);});}async[_0x6461f5(0x3e9)](_0x88abb1){var _0x5bee99=_0x6461f5,_0x3c7d97;const _0x700d32=_0x88abb1||((_0x3c7d97=this[_0x5bee99(0x20e)][_0x5bee99(0x2f2)](_0x590133[_0x5bee99(0x10f)]))==null?void 0x0:_0x3c7d97[_0x5bee99(0x22c)]());_0x700d32&&this[_0x5bee99(0x290)][_0x5bee99(0x386)]({'objectID':_0x700d32,'objectType':_0x52318a[_0x5bee99(0x300)],'unitID':_0x700d32,'actions':_0x6353ae})[_0x5bee99(0x105)](_0x48055d=>{var _0x4e41a9=_0x5bee99;_0x231962()[_0x4e41a9(0x274)](_0x796a6d=>{var _0x33313b=_0x4e41a9;const _0x5e4ddd=new _0x796a6d(_0x700d32),_0x3b793c=_0x5e4ddd[_0x33313b(0x279)],_0x4aaaca=_0x48055d[_0x33313b(0x130)](_0x5d3b34=>_0x5d3b34['action']===_0x3b793c);_0x4aaaca&&this[_0x33313b(0x207)]['updatePermissionPoint'](_0x5e4ddd['id'],_0x4aaaca['allowed']);});});}[_0x6461f5(0x306)](_0x18b35e,_0x1a4535){var _0x5bb99f=_0x6461f5;const _0x587be9=this[_0x5bb99f(0x1e2)]['get'](_0x3075f3),_0x2f0110=_0x587be9[_0x5bb99f(0x151)](_0x18b35e,_0x1a4535);let _0x6686c=!0x1;if(_0x2f0110){const [_0x5294f5,_0x33eb05]=_0x2f0110;this[_0x5bb99f(0x290)]['allowed']({'objectID':_0x1a4535,'unitID':_0x18b35e,'objectType':_0x52318a[_0x5bb99f(0x3ad)],'actions':_0x323da2})[_0x5bb99f(0x105)](_0x16a606=>{var _0x36c11f=_0x5bb99f;let _0x2a7195='';_0x28778c()['forEach'](_0x3fba8f=>{var _0x38dc92=_0x1a24,_0x45d569;const _0x335b01=new _0x3fba8f(_0x18b35e,_0x33eb05),_0x314e77=_0x335b01[_0x38dc92(0x279)],_0x15224c=_0x16a606[_0x38dc92(0x130)](_0x46f1f6=>_0x46f1f6['action']===_0x314e77);_0x15224c&&(((_0x45d569=this[_0x38dc92(0x207)]['getPermissionPoint'](_0x335b01['id']))==null?void 0x0:_0x45d569[_0x38dc92(0x34e)])!==_0x15224c['allowed']&&(_0x6686c=!0x0),this[_0x38dc92(0x207)]['updatePermissionPoint'](_0x335b01['id'],_0x15224c[_0x38dc92(0x386)]),_0x2a7195+=_0x15224c[_0x38dc92(0x31e)]+'_'+_0x15224c[_0x38dc92(0x386)]);}),_0x587be9[_0x36c11f(0x2d8)](_0x1a4535+'_'+_0x2a7195),_0x6686c&&this[_0x36c11f(0x32b)][_0x36c11f(0x177)](_0x18b35e);});}const _0x4cfa75=this[_0x5bb99f(0x1e2)][_0x5bb99f(0x364)](_0x4ee6be)['getTargetByPermissionId'](_0x18b35e,_0x1a4535);if(_0x4cfa75){const [_0x2a6901,_0x2d9eb7]=_0x4cfa75;this[_0x5bb99f(0x290)][_0x5bb99f(0x386)]({'objectID':_0x1a4535,'unitID':_0x18b35e,'objectType':_0x52318a[_0x5bb99f(0x3ad)],'actions':_0x587153})['then'](_0x473408=>{var _0x3b75d0=_0x5bb99f;_0x1b31b1()['forEach'](_0x187cc2=>{var _0x25586a=_0x1a24,_0x407692;const _0x40d131=new _0x187cc2(_0x18b35e,_0x2d9eb7),_0x2c8b35=_0x40d131[_0x25586a(0x279)],_0xa33782=_0x473408[_0x25586a(0x130)](_0x296b73=>_0x296b73['action']===_0x2c8b35);_0xa33782&&(((_0x407692=this[_0x25586a(0x207)][_0x25586a(0x26d)](_0x40d131['id']))==null?void 0x0:_0x407692[_0x25586a(0x34e)])!==_0xa33782[_0x25586a(0x386)]&&(_0x6686c=!0x0),this[_0x25586a(0x207)]['updatePermissionPoint'](_0x40d131['id'],_0xa33782[_0x25586a(0x386)]));}),_0x6686c&&this[_0x3b75d0(0x32b)][_0x3b75d0(0x177)](_0x18b35e);});}const _0x75da54=this[_0x5bb99f(0x1e2)][_0x5bb99f(0x364)](_0x392e7c),_0x487ee4=_0x75da54[_0x5bb99f(0x151)](_0x18b35e,_0x1a4535);if(_0x487ee4){const [_0x44907a,_0x1da00a]=_0x487ee4;this['_authzIoService'][_0x5bb99f(0x386)]({'objectID':_0x1a4535,'unitID':_0x18b35e,'objectType':_0x52318a['SelectRange'],'actions':_0x323da2})[_0x5bb99f(0x105)](_0x209af0=>{var _0x17635e=_0x5bb99f;let _0x2a6f52='';_0x53d9fc()[_0x17635e(0x274)](_0x4c58d7=>{var _0x5d8a24=_0x17635e,_0x508e1e;const _0x38fe70=new _0x4c58d7(_0x18b35e,_0x1da00a,_0x1a4535),_0x29edcd=_0x38fe70[_0x5d8a24(0x279)],_0x138330=_0x209af0[_0x5d8a24(0x130)](_0x41d65b=>_0x41d65b[_0x5d8a24(0x31e)]===_0x29edcd);_0x138330&&(((_0x508e1e=this['_permissionService']['getPermissionPoint'](_0x38fe70['id']))==null?void 0x0:_0x508e1e[_0x5d8a24(0x34e)])!==_0x138330[_0x5d8a24(0x386)]&&(_0x6686c=!0x0),this[_0x5d8a24(0x207)][_0x5d8a24(0x12c)](_0x38fe70['id'],_0x138330['allowed']),_0x2a6f52+=_0x138330['action']+'_'+_0x138330[_0x5d8a24(0x386)]);}),_0x75da54['ruleRefresh'](_0x1a4535+'_'+_0x2a6f52),_0x6686c&&this[_0x17635e(0x32b)][_0x17635e(0x177)](_0x18b35e);});}}};ct=jr([Se(0x0,_0x5bd7c7(_0x429f70)),Se(0x1,_0x360c9f),Se(0x2,_0x55006e),Se(0x3,_0x5bd7c7(Le)),Se(0x4,_0x5bd7c7(pe)),Se(0x5,_0x37de7d),Se(0x6,_0x112b6d)],ct);var Br=Object['defineProperty'],Fr=Object[_0x6461f5(0x2b4)],Vr=(_0x1fd8fb,_0x23fb24,_0x57f41a,_0x375c44)=>{for(var _0x4fc04f=_0x375c44>0x1?void 0x0:_0x375c44?Fr(_0x23fb24,_0x57f41a):_0x23fb24,_0x27615f=_0x1fd8fb['length']-0x1,_0xe441ea;_0x27615f>=0x0;_0x27615f--)(_0xe441ea=_0x1fd8fb[_0x27615f])&&(_0x4fc04f=(_0x375c44?_0xe441ea(_0x23fb24,_0x57f41a,_0x4fc04f):_0xe441ea(_0x4fc04f))||_0x4fc04f);return _0x375c44&&_0x4fc04f&&Br(_0x23fb24,_0x57f41a,_0x4fc04f),_0x4fc04f;},ui=(_0x28f4eb,_0x242ac0)=>(_0x5d080f,_0x76e4b7)=>_0x242ac0(_0x5d080f,_0x76e4b7,_0x28f4eb);let Dt=class{constructor(_0x1a126f,_0x112886){var _0x2f5873=_0x6461f5;this[_0x2f5873(0x395)]=_0x1a126f,this[_0x2f5873(0x21d)]=_0x112886;}async['getUnitOnRev'](_0x45f864,_0x1cc8a5){var _0x395719=_0x6461f5,_0x46ab09;const {unitID:_0x53d549,type:_0x5226d7,revision:_0x43b520=0x0}=_0x1cc8a5,_0x18138e=this[_0x395719(0x346)]()+'/'+_0x5226d7+_0x395719(0x218)+_0x53d549+_0x395719(0x379)+_0x43b520,_0x454665=(await this[_0x395719(0x21d)][_0x395719(0x364)](_0x18138e))[_0x395719(0x234)],_0x30e4f5=(_0x46ab09=_0x454665[_0x395719(0x2a8)])==null?void 0x0:_0x46ab09[_0x395719(0x138)];if(_0x30e4f5){const _0x58941d=_0x30e4f5==null?void 0x0:_0x30e4f5[_0x395719(0x2bb)],_0x1dc8b5=_0x27e0a4[_0x395719(0x165)](_0x3d8b1e(_0x58941d));_0x30e4f5['originalMeta']=_0x1dc8b5,Object[_0x395719(0x22d)](_0x30e4f5['sheets'])[_0x395719(0x274)](([,_0x1eb8ae])=>{var _0x2741db=_0x395719;const _0x5b22c9=_0x1eb8ae[_0x2741db(0x2bb)],_0x4c4343=_0x27e0a4[_0x2741db(0x165)](_0x3d8b1e(_0x5b22c9));_0x1eb8ae['originalMeta']=_0x4c4343;});}return _0x454665;}async['getSheetBlock'](_0x5a84d1,_0x3f7de2){var _0x21d13f=_0x6461f5;const {unitID:_0x4e2664,type:_0x1998ab,blockID:_0xda826f}=_0x3f7de2,_0x50f0b1=this[_0x21d13f(0x287)]()+'/'+_0x1998ab+_0x21d13f(0x218)+_0x4e2664+_0x21d13f(0x35a)+_0xda826f;return(await this['_httpService'][_0x21d13f(0x364)](_0x50f0b1))[_0x21d13f(0x234)];}async['getDeserializedSheetBlock'](_0x478b7c,_0x93b201){var _0x201c64=_0x6461f5;const {unitID:_0x31a25f,type:_0x4f8b14,blockID:_0x44be01}=_0x93b201,_0x41755d=this[_0x201c64(0x287)]()+_0x201c64(0x35a)+_0x4f8b14+_0x201c64(0x218)+_0x31a25f+_0x201c64(0x35a)+_0x44be01;return(await this[_0x201c64(0x21d)][_0x201c64(0x364)](_0x41755d))[_0x201c64(0x234)];}async['fetchMissingChangesets'](_0x3547ff,_0x1087a9){var _0x55552a=_0x6461f5;const {unitID:_0x20369c,type:_0x170616,from:_0x46d23c,to:_0x398c38}=_0x1087a9,_0x3c6a2a=this[_0x55552a(0x287)]()+'/'+_0x170616+_0x55552a(0x218)+_0x20369c+_0x55552a(0x2fe)+_0x46d23c+_0x55552a(0x3db)+_0x398c38;return(await this[_0x55552a(0x21d)]['get'](_0x3c6a2a))[_0x55552a(0x234)];}['getSnapshotAPIPath'](){var _0x394474=_0x6461f5,_0x3277cd;return(_0x3277cd=this[_0x394474(0x395)]['getConfig'](Dn))!=null?_0x3277cd:this[_0x394474(0x287)]();}[_0x6461f5(0x287)](){var _0x1f5f9e=_0x6461f5,_0x162975,_0x1acb0a;const _0x33f71b=this[_0x1f5f9e(0x395)][_0x1f5f9e(0x3bc)](Nn),_0x3735fb=this[_0x1f5f9e(0x395)][_0x1f5f9e(0x3bc)](Y);return(_0x1acb0a=(_0x162975=_0x3735fb==null?void 0x0:_0x3735fb['snapshotServerUrl'])!=null?_0x162975:_0x33f71b)!=null?_0x1acb0a:Pn;}async[_0x6461f5(0x355)](_0x21fb69,_0x4bf987){var _0x42afc3=_0x6461f5;const _0x16481d='/universer-api/snapshot/'+_0x4bf987[_0x42afc3(0x361)]+'/unit/'+_0x4bf987['unitID']+_0x42afc3(0x3c1);return(await this[_0x42afc3(0x21d)][_0x42afc3(0x364)](_0x16481d,{'params':{'resourceId':JSON[_0x42afc3(0x336)](_0x4bf987[_0x42afc3(0x1e6)])}}))['body'];}[_0x6461f5(0x23d)](){var _0x20e51d=_0x6461f5;throw new Error(_0x20e51d(0x277));}[_0x6461f5(0x183)](){var _0x2c5134=_0x6461f5;throw new Error(_0x2c5134(0x277));}[_0x6461f5(0x186)](){var _0x508986=_0x6461f5;throw new Error(_0x508986(0x277));}[_0x6461f5(0x3de)](){var _0x1dcbae=_0x6461f5;throw new Error(_0x1dcbae(0x277));}[_0x6461f5(0x2b3)](){var _0x33d82e=_0x6461f5;throw new Error(_0x33d82e(0x277));}};Dt=Vr([ui(0x0,_0x5e2a65),ui(0x1,_0x5bd7c7(_0x51ab2e))],Dt);var Wr=Object[_0x6461f5(0x125)],Gr=Object[_0x6461f5(0x2b4)],Kr=(_0xa30489,_0x3ddf5f,_0x848e7,_0x4f9f4b)=>{var _0x15d86e=_0x6461f5;for(var _0x4507b8=_0x4f9f4b>0x1?void 0x0:_0x4f9f4b?Gr(_0x3ddf5f,_0x848e7):_0x3ddf5f,_0x3b8d26=_0xa30489[_0x15d86e(0x390)]-0x1,_0xd5b0d2;_0x3b8d26>=0x0;_0x3b8d26--)(_0xd5b0d2=_0xa30489[_0x3b8d26])&&(_0x4507b8=(_0x4f9f4b?_0xd5b0d2(_0x3ddf5f,_0x848e7,_0x4507b8):_0xd5b0d2(_0x4507b8))||_0x4507b8);return _0x4f9f4b&&_0x4507b8&&Wr(_0x3ddf5f,_0x848e7,_0x4507b8),_0x4507b8;},Ae=(_0x599c1c,_0x47aa51)=>(_0x2434d4,_0x3125c2)=>_0x47aa51(_0x2434d4,_0x3125c2,_0x599c1c);let wt=class extends _0x1b2d45{constructor(_0x3d89c8,_0x5592fe,_0xce7351,_0x10f5e1,_0x540d8b){var _0xd7da00=_0x6461f5;super(_0x3d89c8,_0x5592fe,_0xce7351),this['_transformService']=_0x10f5e1,this[_0xd7da00(0x3b8)]=_0x540d8b;}[_0x6461f5(0x30b)](_0x551b92,_0x3befe6){var _0x2e269e=_0x6461f5;const _0x159128=this[_0x2e269e(0x2f8)](_0x551b92);if(_0x159128)try{const _0x5de893=this[_0x2e269e(0x3dc)](_0x159128,_0x3befe6);this['_substituteUndoStack'](_0x551b92,_0x5de893);}catch(_0x1847ef){this[_0x2e269e(0x3b8)][_0x2e269e(0x388)](_0x2e269e(0x343),_0x1847ef),this[_0x2e269e(0x2cd)](_0x551b92);}const _0x396c9d=this[_0x2e269e(0x1e1)](_0x551b92);if(_0x396c9d)try{const _0x85a360=this[_0x2e269e(0x3dc)](_0x396c9d,_0x3befe6);this[_0x2e269e(0x258)](_0x551b92,_0x85a360);}catch(_0x13ec5b){this[_0x2e269e(0x3b8)][_0x2e269e(0x388)](_0x13ec5b),this['_clearRedo'](_0x551b92);}}[_0x6461f5(0x2cd)](_0x5d2bdf){var _0x553f2c=_0x6461f5;const _0x1cc4ab=this['_getUndoStack'](_0x5d2bdf);_0x1cc4ab&&(_0x1cc4ab['length']=0x0,this[_0x553f2c(0x10b)]());}['_clearRedo'](_0x459949){var _0x49d5cf=_0x6461f5;const _0xe43b9a=this[_0x49d5cf(0x1e1)](_0x459949);_0xe43b9a&&(_0xe43b9a[_0x49d5cf(0x390)]=0x0,this[_0x49d5cf(0x10b)]());}[_0x6461f5(0x3a3)](_0x23a173,_0x3d3298){var _0x3e3846=_0x6461f5;this[_0x3e3846(0x348)][_0x3e3846(0x2fc)](_0x23a173,_0x3d3298),this[_0x3e3846(0x10b)]();}[_0x6461f5(0x258)](_0x48ccb1,_0x51db9a){var _0x5b4a9d=_0x6461f5;this['_redoStacks'][_0x5b4a9d(0x2fc)](_0x48ccb1,_0x51db9a),this[_0x5b4a9d(0x10b)]();}[_0x6461f5(0x3dc)](_0x242d73,_0x2b41e8){var _0x5425bc=_0x6461f5;const _0x5c569b=[];let _0x16ea55=_0x2b41e8,_0x20cd97=_0x2b41e8;for(let _0x2e995b=_0x242d73[_0x5425bc(0x390)]-0x1;_0x2e995b>=0x0;_0x2e995b--){const {unitID:_0x5a47dd,undoMutations:_0x5de613,redoMutations:_0x560cb}=_0x242d73[_0x2e995b],_0x1a37de=this['_transformService'][_0x5425bc(0x16b)](_0x16ea55,_0x5de613),_0x264fe4=this[_0x5425bc(0x1b4)][_0x5425bc(0x16b)](_0x20cd97,_0x560cb);if(_0x423725(_0x1a37de)||_0x423725(_0x264fe4)){this[_0x5425bc(0x3b8)][_0x5425bc(0x388)](_0x5425bc(0x343),_0x5425bc(0x182),_0x1a37de,_0x264fe4);break;}_0x16ea55=_0x1a37de[_0x5425bc(0x31f)],_0x20cd97=_0x264fe4[_0x5425bc(0x31f)],_0x5c569b[_0x5425bc(0x103)]({'unitID':_0x5a47dd,'undoMutations':_0x1a37de['m2Prime'],'redoMutations':_0x264fe4[_0x5425bc(0x3c4)]});}return _0x5c569b[_0x5425bc(0x25d)]();}};wt=Kr([Ae(0x0,_0x360c9f),Ae(0x1,_0x279dd3),Ae(0x2,_0x400561),Ae(0x3,_0x3f46fc),Ae(0x4,_0x4e1df9)],wt);var Li=Object[_0x6461f5(0x125)],zr=Object[_0x6461f5(0x2b4)],Yr=(_0x48481a,_0x47c510,_0x5ca97a)=>_0x47c510 in _0x48481a?Li(_0x48481a,_0x47c510,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ca97a}):_0x48481a[_0x47c510]=_0x5ca97a,qr=(_0x27afe6,_0x273e40,_0x42dfb9,_0x5d4f25)=>{for(var _0x3fbd98=_0x5d4f25>0x1?void 0x0:_0x5d4f25?zr(_0x273e40,_0x42dfb9):_0x273e40,_0x889a71=_0x27afe6['length']-0x1,_0x5b1558;_0x889a71>=0x0;_0x889a71--)(_0x5b1558=_0x27afe6[_0x889a71])&&(_0x3fbd98=(_0x5d4f25?_0x5b1558(_0x273e40,_0x42dfb9,_0x3fbd98):_0x5b1558(_0x3fbd98))||_0x3fbd98);return _0x5d4f25&&_0x3fbd98&&Li(_0x273e40,_0x42dfb9,_0x3fbd98),_0x3fbd98;},Et=(_0x24892c,_0x4efef2)=>(_0x3be96a,_0x31c262)=>_0x4efef2(_0x3be96a,_0x31c262,_0x24892c),Jr=(_0x1810f7,_0x1b9dbe,_0x3f6778)=>Yr(_0x1810f7,_0x1b9dbe+'',_0x3f6778);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x253213{constructor(_0x1ca3f6=Wn,_0x487c42,_0x68e37e,_0xaf0e81){var _0xef36b2=_0x6461f5;super(),this[_0xef36b2(0x16a)]=_0x1ca3f6,this[_0xef36b2(0x3b8)]=_0x487c42,this[_0xef36b2(0x1e2)]=_0x68e37e,this['_configService']=_0xaf0e81;const {..._0x2e2393}=this[_0xef36b2(0x16a)];this[_0xef36b2(0x395)][_0xef36b2(0x1c7)](Y,_0x2e2393);}['onStarting'](){var _0x26a247=_0x6461f5;this[_0x26a247(0x2f6)](),this[_0x26a247(0x24b)]();}[_0x6461f5(0x2f6)](){var _0x23bbbe=_0x6461f5,_0x3db186,_0x520fbc,_0x449787,_0x28efe2;this[_0x23bbbe(0x1e2)][_0x23bbbe(0x334)](_0x112b6d)&&this[_0x23bbbe(0x3b8)]['error'](_0x23bbbe(0x3e0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x439e08=_0x27ca78([[_0x112b6d,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x520fbc=(_0x3db186=this[_0x23bbbe(0x16a)])==null?void 0x0:_0x3db186['socketService'])!=null?_0x520fbc:It}],[_0x48a588,{'useClass':Dt}],[_0x37de7d,{'useClass':yt}],[_0x3d5b63,{'useClass':Nt}],[_0x2f9433,{'useClass':Pt}],[rt],[Rt]],(_0x449787=this['_config'])==null?void 0x0:_0x449787['override']);if(!((_0x28efe2=this['_config'])!=null&&_0x28efe2[_0x23bbbe(0x2e2)])){const _0x263c4f=_0x439e08[_0x23bbbe(0x115)](([_0x42e65a])=>_0x42e65a===_t);_0x263c4f!==-0x1&&_0x439e08[_0x23bbbe(0x3bd)](_0x263c4f,0x1);}_0x32abce(this[_0x23bbbe(0x1e2)],_0x439e08);}[_0x6461f5(0x24b)](){var _0x578230=_0x6461f5,_0x8d656e,_0x57b74a,_0x34b978;this['_injector']['get'](_0x51ab2e)[_0x578230(0x307)]({'priority':0x14,'interceptor':_0x3d2e31({'maxParallel':0x6})}),(_0x8d656e=this[_0x578230(0x16a)])!=null&&_0x8d656e[_0x578230(0x28b)]||(_0x57b74a=this[_0x578230(0x1e2)][_0x578230(0x364)](X,_0x2d5304['OPTIONAL']))==null||_0x57b74a[_0x578230(0x28c)](),(_0x34b978=this['_config'])!=null&&_0x34b978[_0x578230(0x2a5)]&&_0x3a2c5d(this[_0x578230(0x1e2)],[[ot]]),_0x3a2c5d(this[_0x578230(0x1e2)],[[at],[rt],[ct]]);}};Jr(Ut,_0x6461f5(0x380),Xr),Ut=qr([_0x1c33b6(_0x13157f,_0x53d6b1,_0x49e3f7),Et(0x1,_0x4e1df9),Et(0x2,_0x5bd7c7(_0x429f70)),Et(0x3,_0x5e2a65)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae 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,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi 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,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
|