@univerjs-pro/collaboration-client 0.8.0-nightly.202506091607 → 0.8.0-nightly.202506101607
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/mention-server/mention-io-http.service.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 _0x37f2f7=_0x36dc;(function(_0x3617b6,_0x420fa9){var _0x24a4e4=_0x36dc,_0x1678ea=_0x3617b6();while(!![]){try{var _0x16afc1=parseInt(_0x24a4e4(0x2b7))/0x1+parseInt(_0x24a4e4(0x36f))/0x2+-parseInt(_0x24a4e4(0x440))/0x3*(parseInt(_0x24a4e4(0x49e))/0x4)+parseInt(_0x24a4e4(0x44d))/0x5*(-parseInt(_0x24a4e4(0x246))/0x6)+parseInt(_0x24a4e4(0x3be))/0x7+parseInt(_0x24a4e4(0x49f))/0x8*(parseInt(_0x24a4e4(0x211))/0x9)+-parseInt(_0x24a4e4(0x2d7))/0xa*(parseInt(_0x24a4e4(0x214))/0xb);if(_0x16afc1===_0x420fa9)break;else _0x1678ea['push'](_0x1678ea['shift']());}catch(_0x411dd4){_0x1678ea['push'](_0x1678ea['shift']());}}}(_0x8c3c,0xd6210));var Di=Object[_0x37f2f7(0x34e)],Ui=(_0x5e231d,_0x13f0ba,_0x2f4cf3)=>_0x13f0ba in _0x5e231d?Di(_0x5e231d,_0x13f0ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f4cf3}):_0x5e231d[_0x13f0ba]=_0x2f4cf3,N=(_0x36864e,_0x4f4815,_0x8f5e6a)=>Ui(_0x36864e,typeof _0x4f4815!=_0x37f2f7(0x40f)?_0x4f4815+'':_0x4f4815,_0x8f5e6a);import{createIdentifier as _0x33ade1,Inject as _0x3ebdbb,Injector as _0x57e09f,IConfigService as _0x4ac810,ILogService as _0x3ec9e5,Disposable as _0x32b95f,DisposableCollection as _0x52a159,toDisposable as _0x58da12,IUniverInstanceService as _0x243a7a,UserManagerService as _0x5659d2,UniverInstanceType as _0x47812a,LocaleService as _0x425e89,Optional as _0x2a8e41,RxDisposable as _0x413ca7,Tools as _0x4af71f,Rectangle as _0x9b5422,ICommandService as _0x404e2f,JSONX as _0x2aecd5,CommandType as _0x415cdb,IUndoRedoService as _0x5274eb,IPermissionService as _0x166cf6,sequenceExecute as _0x2c03b3,Workbook as _0x692037,MentionType as _0x1df36d,isInternalEditorID as _0x59bd05,LocalUndoRedoService as _0x46a91f,IContextService as _0x1928ff,DependentOn as _0x1df94f,Plugin as _0x5c629c,merge as _0x49b27c,mergeOverrideWithDependencies as _0x49e694,IAuthzIoService as _0x24866c,IMentionIOService as _0x32dff5,registerDependencies as _0x5181f1,Quantity as _0x51e8c2,touchDependencies as _0x3f1ad2}from'@univerjs/core';import{Subject as _0x1b4986,merge as _0x5d681f,of as _0x127796,BehaviorSubject as _0x27a87d,takeUntil as _0x188b7b,ReplaySubject as _0x160fc9,take as _0x4012ea,map as _0x1f90b0,shareReplay as _0x817a25,firstValueFrom as _0x2043fd,concatMap as _0x130908}from'rxjs';import{map as _0x1b6381,take as _0x14028b,filter as _0x56b9c3,delay as _0x25e469,takeUntil as _0x1a8e09}from'rxjs/operators';import{CollaborationEvent as _0x3df659,ISnapshotServerService as _0x18f8cd,parseChangesetToProtocol as _0x464f7f,ITransformService as _0x280463,isTransformMutationsWithChangesetSuccess as _0x2ef70b,mapDocumentTypeToUniverType as _0x3dcbe0,RevisionService as _0x5a8cf2,isTransformChangesetsSuccess as _0x218c5a,CompressMutationService as _0x318d2e,parseProtocolChangeset as _0x5f0008,uuidv4 as _0x576563,SnapshotService as _0x34d888,textEncoder as _0x14a65c,b64DecodeUnicode as _0x5cbe04,isTransformMutationsWithChangesetFailure as _0x38edf2,UniverCollaborationPlugin as _0x103e25}from'@univerjs-pro/collaboration';import{HTTPService as _0x2b3f92,ISocketService as _0x536198,MergeInterceptorFactory as _0xfa75e4,HTTPRequest as _0x405de9,UniverNetworkPlugin as _0x2542a7,ThresholdInterceptorFactory as _0x45c69e}from'@univerjs/network';import{ITelemetryService as _0x7b1df4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x385d7b}from'@univerjs/docs';import{SheetsSelectionsService as _0x4c885e,SetSelectionsOperation as _0x1dd000,InsertSheetMutation as _0x1b3e4b,EmptyMutation as _0x34e83d,WorkbookEditablePermission as _0x4b3b4d,SheetPermissionInitController as _0x52df75}from'@univerjs/sheets';import{ImageSourceType as _0x4be524,ImageUploadStatusType as _0x5c60c,IImageIoService as _0x591d29}from'@univerjs/drawing';import{getGlobalObject as _0x45c635}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0x37f2f7(0x31e),ps='SNAPSHOT_URL_KEY',yr=_0x37f2f7(0x478),ms=0x7d0,gs=_0x37f2f7(0x426),Ss=_0x37f2f7(0x22d),Nr=_0x37f2f7(0x2e0),Es=_0x37f2f7(0x48f),Is=0x7530,fi=_0x37f2f7(0x370),vi=0x4e20,Ts=0x4e20,Cs=_0x37f2f7(0x22a),Rs=0x3,Dr=_0x37f2f7(0x4a5),Ur=0x3e8,bs=_0x37f2f7(0x200),Os=_0x37f2f7(0x41d),ys=_0x37f2f7(0x2aa),Ns=_0x37f2f7(0x1ef),Ar=_0x37f2f7(0x204),wr=_0x37f2f7(0x348);var pi=(_0x2cb94a=>(_0x2cb94a[_0x2cb94a[_0x37f2f7(0x235)]=0x0]=_0x37f2f7(0x235),_0x2cb94a[_0x2cb94a['OK']=0x1]='OK',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x2b4)]=0x2]='INTERNAL_ERROR',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x228)]=0x3]=_0x37f2f7(0x228),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x4d4)]=0x4]=_0x37f2f7(0x4d4),_0x2cb94a[_0x2cb94a['UNAUTHENTICATED']=0x5]=_0x37f2f7(0x4d8),_0x2cb94a[_0x2cb94a['ALREADY_EXISTS']=0x6]=_0x37f2f7(0x24e),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x3ff)]=0x7]=_0x37f2f7(0x3ff),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x2c7)]=0x8]='TOO_MANY_REQUESTS',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x2be)]=0x9]=_0x37f2f7(0x2be),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x259)]=0xa]=_0x37f2f7(0x259),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x45d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x4a4)]=0x1771]=_0x37f2f7(0x4a4),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x31c)]=0x1772]=_0x37f2f7(0x31c),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x2bd)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2cb94a[_0x2cb94a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x21d)]=0x1b5a]=_0x37f2f7(0x21d),_0x2cb94a[_0x2cb94a['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x29b)]=0x1b5c]=_0x37f2f7(0x29b),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x2ad)]=0x1b5d]=_0x37f2f7(0x2ad),_0x2cb94a[_0x2cb94a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x37f2f7(0x3fa),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x4e0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x486)]=0x232a]=_0x37f2f7(0x486),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x46d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2cb94a[_0x2cb94a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x37f2f7(0x25d),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x466)]=0x232d]=_0x37f2f7(0x466),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x306)]=0x2711]=_0x37f2f7(0x306),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x311)]=0x2712]=_0x37f2f7(0x311),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x1e4)]=0x2713]=_0x37f2f7(0x1e4),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x363)]=0x2714]=_0x37f2f7(0x363),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x3bc)]=0x271a]=_0x37f2f7(0x3bc),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x24b)]=0x271b]=_0x37f2f7(0x24b),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x463)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x21a)]=0x271d]=_0x37f2f7(0x21a),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x458)]=0x271e]=_0x37f2f7(0x458),_0x2cb94a[_0x2cb94a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x37f2f7(0x3ac),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x34b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2cb94a[_0x2cb94a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x37f2f7(0x27f),_0x2cb94a[_0x2cb94a['INVALID_INVITE_CODE']=0x2ee2]=_0x37f2f7(0x2f5),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x375)]=0x2ee3]=_0x37f2f7(0x375),_0x2cb94a[_0x2cb94a['USER_NOT_INVITED_CODE']=0x2ee4]=_0x37f2f7(0x23e),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x21f)]=0x2ee5]=_0x37f2f7(0x21f),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x294)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2cb94a[_0x2cb94a[_0x37f2f7(0x25a)]=0x32ca]=_0x37f2f7(0x25a),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x234)]=0x32cb]=_0x37f2f7(0x234),_0x2cb94a[_0x2cb94a[_0x37f2f7(0x4e3)]=-0x1]=_0x37f2f7(0x4e3),_0x2cb94a))(pi||{}),Z=(_0xf57641=>(_0xf57641[_0xf57641['UNIVER_UNKNOWN']=0x0]=_0x37f2f7(0x2d2),_0xf57641[_0xf57641[_0x37f2f7(0x20a)]=0x1]=_0x37f2f7(0x20a),_0xf57641[_0xf57641[_0x37f2f7(0x368)]=0x2]=_0x37f2f7(0x368),_0xf57641[_0xf57641['UNIVER_SLIDE']=0x3]=_0x37f2f7(0x42d),_0xf57641[_0xf57641[_0x37f2f7(0x4df)]=0x4]=_0x37f2f7(0x4df),_0xf57641[_0xf57641['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf57641))(Z||{}),F=(_0x500113=>(_0x500113[_0x500113[_0x37f2f7(0x4dc)]=0x0]=_0x37f2f7(0x4dc),_0x500113[_0x500113[_0x37f2f7(0x393)]=0x1]='HELLO',_0x500113[_0x500113['JOIN']=0x2]='JOIN',_0x500113[_0x500113[_0x37f2f7(0x2a9)]=0x3]=_0x37f2f7(0x2a9),_0x500113[_0x500113[_0x37f2f7(0x4a6)]=0x4]=_0x37f2f7(0x4a6),_0x500113[_0x500113[_0x37f2f7(0x47d)]=0x5]='HEARTBEAT',_0x500113[_0x500113[_0x37f2f7(0x1fa)]=0x6]='RECV',_0x500113[_0x500113[_0x37f2f7(0x4e3)]=-0x1]=_0x37f2f7(0x4e3),_0x500113))(F||{}),me=(_0x2078e4=>(_0x2078e4[_0x2078e4[_0x37f2f7(0x352)]=0x0]='UNKNOWN_CODE',_0x2078e4[_0x2078e4['OK']=0x1]='OK',_0x2078e4[_0x2078e4['FAIL']=0x2]=_0x37f2f7(0x3de),_0x2078e4[_0x2078e4['JOIN_ROOM_FULL']=0x3e9]=_0x37f2f7(0x4e4),_0x2078e4[_0x2078e4[_0x37f2f7(0x1ec)]=0x3ea]=_0x37f2f7(0x1ec),_0x2078e4[_0x2078e4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x37f2f7(0x40b),_0x2078e4[_0x2078e4[_0x37f2f7(0x3d8)]=0x3ec]=_0x37f2f7(0x3d8),_0x2078e4[_0x2078e4[_0x37f2f7(0x4e3)]=-0x1]=_0x37f2f7(0x4e3),_0x2078e4))(me||{}),mi=(_0x4236c8=>(_0x4236c8[_0x4236c8['Undefined']=0x0]=_0x37f2f7(0x23d),_0x4236c8[_0x4236c8[_0x37f2f7(0x21e)]=0x1]=_0x37f2f7(0x21e),_0x4236c8[_0x4236c8[_0x37f2f7(0x223)]=0x2]=_0x37f2f7(0x223),_0x4236c8[_0x4236c8[_0x37f2f7(0x2a5)]=0x3]=_0x37f2f7(0x2a5),_0x4236c8[_0x4236c8[_0x37f2f7(0x332)]=0x4]='UnitSnapshot',_0x4236c8[_0x4236c8[_0x37f2f7(0x3b2)]=0x5]=_0x37f2f7(0x3b2),_0x4236c8[_0x4236c8[_0x37f2f7(0x4e3)]=-0x1]=_0x37f2f7(0x4e3),_0x4236c8))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x2ed505=>(_0x2ed505[_0x37f2f7(0x356)]=_0x37f2f7(0x356),_0x2ed505[_0x37f2f7(0x228)]=_0x37f2f7(0x228),_0x2ed505[_0x37f2f7(0x469)]=_0x37f2f7(0x469),_0x2ed505[_0x37f2f7(0x350)]=_0x37f2f7(0x350),_0x2ed505[_0x37f2f7(0x372)]=_0x37f2f7(0x372),_0x2ed505[_0x37f2f7(0x21c)]=_0x37f2f7(0x21c),_0x2ed505['SOCKET_FAILED']=_0x37f2f7(0x360),_0x2ed505[_0x37f2f7(0x3d9)]=_0x37f2f7(0x3d9),_0x2ed505))(ne||{});class ve{constructor(){var _0x4bb814=_0x37f2f7;N(this,'_event$',new _0x1b4986()),N(this,_0x4bb814(0x2a6),this[_0x4bb814(0x3a1)][_0x4bb814(0x1fd)]());}[_0x37f2f7(0x39f)](_0x27656c){var _0x3c2b3a=_0x37f2f7;this['_event$'][_0x3c2b3a(0x233)](_0x27656c);}}const Us=_0x33ade1(_0x37f2f7(0x2f0));function As(_0x319ac0){var _0x415b0c=_0x37f2f7,_0x5c8f04,_0x1478fd,_0x4f0cb5,_0x31fe92,_0x41300d;const _0x4ac7ba=_0x319ac0[_0x415b0c(0x1e7)],_0x387115=JSON[_0x415b0c(0x3a6)](_0x4ac7ba);switch(_0x387115[_0x415b0c(0x2d9)]){case F[_0x415b0c(0x47d)]:case F[_0x415b0c(0x393)]:{const _0x3178da=_0x387115['infoRsp'];return{..._0x387115,'data':_0x3178da,'cmd':_0x387115['cmd']};}case F[_0x415b0c(0x4cb)]:{const _0x1828d3=_0x387115[_0x415b0c(0x240)];return{..._0x387115,'data':_0x1828d3,'cmd':_0x387115['cmd']};}case F[_0x415b0c(0x1fa)]:{const _0x3ab91d=_0x387115[_0x415b0c(0x422)];switch(_0x3ab91d[_0x415b0c(0x3b0)]){case _0x3df659[_0x415b0c(0x436)]:return{..._0x387115,'data':{..._0x3ab91d,'data':(_0x5c8f04=_0x3ab91d[_0x415b0c(0x483)])==null?void 0x0:_0x5c8f04['cs']},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659['CHANGESET_ACK']:return{..._0x387115,'data':{..._0x3ab91d,'data':(_0x1478fd=_0x3ab91d[_0x415b0c(0x494)])==null?void 0x0:_0x1478fd['cs']},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x262)]:return{..._0x387115,'data':{..._0x3ab91d,'data':(_0x4f0cb5=_0x3ab91d['newCsEvent'])==null?void 0x0:_0x4f0cb5['cs']},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x35b)]:return{..._0x387115,'data':{..._0x3ab91d,'data':(_0x31fe92=_0x3ab91d[_0x415b0c(0x455)])==null?void 0x0:_0x31fe92['cs']},'cmd':_0x387115['cmd']};case _0x3df659['CHANGESET_SHOULD_RETRY']:return{..._0x387115,'data':{..._0x3ab91d,'data':(_0x41300d=_0x3ab91d['csShouldRetryEvent'])==null?void 0x0:_0x41300d['cs']},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x3c0)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x470)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x1dd)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x473)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x267)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x419)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659['LIVESHARE_NEW_HOST']:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x475)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x26f)]:case _0x3df659[_0x415b0c(0x3d2)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x260)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659['LIVESHARE_TERMINATE']:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x475)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x448)]:return{..._0x387115,'data':_0x3ab91d,'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659[_0x415b0c(0x2fa)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x4e9)]},'cmd':_0x387115['cmd']};case _0x3df659[_0x415b0c(0x430)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x438)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};case _0x3df659['SHOULD_CLOSE_CONN']:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x237)]},'cmd':_0x387115['cmd']};case _0x3df659[_0x415b0c(0x227)]:return{..._0x387115,'data':{..._0x3ab91d,'data':_0x3ab91d[_0x415b0c(0x3f5)]},'cmd':_0x387115[_0x415b0c(0x2d9)]};default:return _0x387115;}}default:return _0x387115;}}function ws(_0x2cdef4){var _0x57d597=_0x37f2f7;switch(_0x2cdef4[_0x57d597(0x2d9)]){case F['HEARTBEAT']:case F['HELLO']:return JSON['stringify']({'cmd':_0x2cdef4['cmd'],'routeKey':_0x2cdef4[_0x57d597(0x30c)]});case F['INGEST']:{let _0x1cab87;switch(_0x2cdef4[_0x57d597(0x1e7)][_0x57d597(0x3b0)]){case _0x3df659[_0x57d597(0x3c0)]:{_0x1cab87={'eventID':_0x3df659['UPDATE_CURSOR'],'updateCursorEvent':_0x2cdef4[_0x57d597(0x1e7)][_0x57d597(0x1e7)]};break;}case _0x3df659[_0x57d597(0x267)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x267)],'leaveEvent':_0x2cdef4[_0x57d597(0x1e7)]['data']};break;}case _0x3df659[_0x57d597(0x1dd)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x1dd)],'joinEvent':_0x2cdef4[_0x57d597(0x1e7)]['data']};break;}case _0x3df659['LIVESHARE_NEW_HOST']:{_0x1cab87={'eventID':_0x3df659['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2cdef4[_0x57d597(0x1e7)][_0x57d597(0x1e7)]};break;}case _0x3df659[_0x57d597(0x3d2)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x3d2)],'liveShareOperation':_0x2cdef4[_0x57d597(0x1e7)][_0x57d597(0x1e7)]};break;}case _0x3df659[_0x57d597(0x273)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x273)],'liveShareTerminate':_0x2cdef4[_0x57d597(0x1e7)]['data']};break;}case _0x3df659[_0x57d597(0x457)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x457)],'liveShareRequestHost':_0x2cdef4['data']['data']};break;}case _0x3df659[_0x57d597(0x26f)]:{_0x1cab87={'eventID':_0x3df659[_0x57d597(0x26f)]};break;}default:_0x1cab87={'eventID':_0x2cdef4[_0x57d597(0x1e7)]['eventID']};}return JSON['stringify']({'cmd':_0x2cdef4[_0x57d597(0x2d9)],'routeKey':_0x2cdef4[_0x57d597(0x30c)],'collaMsg':_0x1cab87});}case F[_0x57d597(0x4cb)]:return JSON[_0x57d597(0x3c6)]({'cmd':_0x2cdef4[_0x57d597(0x2d9)],'routeKey':_0x2cdef4[_0x57d597(0x30c)],'joinReq':_0x2cdef4[_0x57d597(0x1e7)]});case F[_0x57d597(0x2a9)]:return JSON[_0x57d597(0x3c6)]({'cmd':_0x2cdef4[_0x57d597(0x2d9)],'routeKey':_0x2cdef4[_0x57d597(0x30c)],'leaveReq':_0x2cdef4[_0x57d597(0x1e7)]});default:throw new Error(_0x57d597(0x4ee));}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0x54a47c,_0x3c8abd,_0x228b82,_0x3e09ff)=>{var _0x16577c=_0x37f2f7;for(var _0x3274b7=_0x3e09ff>0x1?void 0x0:_0x3e09ff?Ps(_0x3c8abd,_0x228b82):_0x3c8abd,_0x1e4960=_0x54a47c[_0x16577c(0x4a9)]-0x1,_0x49413b;_0x1e4960>=0x0;_0x1e4960--)(_0x49413b=_0x54a47c[_0x1e4960])&&(_0x3274b7=_0x49413b(_0x3274b7)||_0x3274b7);return _0x3274b7;},Ue=(_0x4fa227,_0xe4ea24)=>(_0x56b218,_0xb8feb6)=>_0xe4ea24(_0x56b218,_0xb8feb6,_0x4fa227);const gi=_0x33ade1('univer-pro.collaboration-client-socket-service');function Ms(_0x5343c5,_0x403762,_0x118017){var _0x32c0d8=_0x37f2f7;return _0x5343c5+'/'+_0x403762+'/unit/'+_0x118017+_0x32c0d8(0x35a);}let Ft=class extends _0x32b95f{constructor(_0x537b33,_0x14f532,_0x423615,_0x1c03cf,_0x3df9fa){var _0x590a30=_0x37f2f7;super(),this[_0x590a30(0x388)]=_0x537b33,this['_httpService']=_0x14f532,this[_0x590a30(0x2a4)]=_0x423615,this[_0x590a30(0x425)]=_0x1c03cf,this[_0x590a30(0x289)]=_0x3df9fa;}[_0x37f2f7(0x291)](_0x177676){var _0x2c6170=_0x37f2f7;const _0x4e1e80=this[_0x2c6170(0x388)][_0x2c6170(0x1f0)](_0x536198);if(!_0x4e1e80)throw new Error(_0x2c6170(0x450));const _0x6039cf=_0x4e1e80[_0x2c6170(0x369)](_0x177676);if(!_0x6039cf)throw new Error(_0x2c6170(0x257));const _0x1d764f=new _0x52a159(),_0x47b126=new _0x1b4986();_0x1d764f[_0x2c6170(0x32c)](_0x6039cf[_0x2c6170(0x2eb)]['subscribe'](_0x334015=>_0x47b126[_0x2c6170(0x233)](_0x334015))),_0x1d764f[_0x2c6170(0x32c)](_0x58da12(()=>_0x47b126['complete']()));const _0x5566e7=new _0x1b4986();_0x1d764f['add'](_0x6039cf[_0x2c6170(0x4f2)][_0x2c6170(0x333)](_0x37f23=>_0x5566e7[_0x2c6170(0x233)](_0x37f23))),_0x1d764f[_0x2c6170(0x32c)](_0x58da12(()=>_0x5566e7[_0x2c6170(0x365)]()));const _0x3815fa=new _0x1b4986();_0x1d764f[_0x2c6170(0x32c)](_0x6039cf[_0x2c6170(0x20b)][_0x2c6170(0x333)](_0x1da289=>{var _0x15240b=_0x2c6170;const _0xf373a3=As(_0x1da289);_0x3815fa[_0x15240b(0x233)](_0xf373a3);})),_0x1d764f[_0x2c6170(0x32c)](_0x58da12(()=>_0x3815fa['complete']()));let _0x81926c;const _0x42f465=()=>{var _0xf0fc13=_0x2c6170;_0x5566e7[_0xf0fc13(0x233)](new Event(_0xf0fc13(0x460))),_0x47b126[_0xf0fc13(0x233)](new Event(_0xf0fc13(0x460))),_0x81926c['close']();};return _0x81926c={'memberID':'','close$':_0x47b126['asObservable'](),'error$':_0x5566e7[_0x2c6170(0x1fd)](),'open$':_0x6039cf[_0x2c6170(0x328)],'message$':_0x3815fa[_0x2c6170(0x1fd)](),'send':_0x16c8ce=>{var _0x3e7c30=_0x2c6170;if(_0x16c8ce['cmd']===F[_0x3e7c30(0x4a6)]){if(_0x16c8ce[_0x3e7c30(0x1e7)][_0x3e7c30(0x3b0)]===_0x3df659['SUBMIT_CHANGESET']){this[_0x3e7c30(0x3d7)](_0x81926c,_0x16c8ce['data'])['catch'](_0x47617c=>{var _0x57f854=_0x3e7c30;this[_0x57f854(0x425)]['error'](_0x47617c),_0x42f465();});return;}if(_0x16c8ce[_0x3e7c30(0x1e7)]['eventID']===_0x3df659[_0x3e7c30(0x2f3)]){const _0x29d776=_0x16c8ce[_0x3e7c30(0x1e7)];this[_0x3e7c30(0x417)](_0x29d776)['then'](_0x4e44f1=>{var _0x39dbe8=_0x3e7c30;_0x3815fa['next']({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x29d776['data'][_0x39dbe8(0x2ed)],'routeType':'','data':{'eventID':_0x3df659[_0x39dbe8(0x278)],'data':{'changesets':_0x4e44f1}}});})['catch'](_0x34c9a=>{var _0x4dd39e=_0x3e7c30;this['_logService'][_0x4dd39e(0x302)](_0x34c9a),_0x42f465();});return;}}_0x6039cf[_0x3e7c30(0x45c)](ws(_0x16c8ce));},'close':()=>{_0x6039cf['close'](),_0x1d764f['dispose']();}},_0x81926c;}async[_0x37f2f7(0x3d7)](_0x597a5a,_0x4aec3a){var _0x106f04=_0x37f2f7,_0x225e1f,_0x2a0ed0;const {unitType:_0x1eb705,unitID:_0x1323ef,changeset:_0x396a7b}=_0x4aec3a[_0x106f04(0x1e7)],_0x5d72e3={'unitID':_0x1323ef,'memberID':_0x597a5a[_0x106f04(0x3ea)],'type':_0x1eb705,'changeset':_0x464f7f(_0x396a7b)},_0x2d412d=this['_configService']['getConfig'](bs),_0x5d4dbc=this[_0x106f04(0x2a4)][_0x106f04(0x41c)](K),_0x6c014e=Ms((_0x2a0ed0=(_0x225e1f=_0x5d4dbc==null?void 0x0:_0x5d4dbc[_0x106f04(0x331)])!=null?_0x225e1f:_0x2d412d)!=null?_0x2a0ed0:Os,_0x1eb705,_0x1323ef);try{await this[_0x106f04(0x40c)][_0x106f04(0x449)](_0x6c014e,{'body':_0x5d72e3});}catch(_0x2e7a24){throw this[_0x106f04(0x425)][_0x106f04(0x302)](_0x106f04(0x48c),_0x106f04(0x3b8)),_0x2e7a24;}}async[_0x37f2f7(0x417)](_0x1b683c){var _0x33909a=_0x37f2f7;const {unitID:_0x4211fe,from:_0x449e11,to:_0x329e64,unitType:_0x591a73}=_0x1b683c[_0x33909a(0x1e7)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4211fe,'type':_0x591a73,'from':_0x449e11,'to':_0x329e64}))['changesets'];}};Ft=Ls([Ue(0x0,_0x3ebdbb(_0x57e09f)),Ue(0x1,_0x3ebdbb(_0x2b3f92)),Ue(0x2,_0x4ac810),Ue(0x3,_0x3ec9e5),Ue(0x4,_0x18f8cd)],Ft);const xs='collaboration_new_changeset';function ks(_0x10c412){var _0x33fa1f=_0x37f2f7;return JSON[_0x33fa1f(0x3c6)](_0x10c412)[_0x33fa1f(0x4a9)];}class Si{constructor(){var _0x48e9f7=_0x37f2f7;N(this,'_commentUpdate$',new _0x1b4986()),N(this,'commentUpdate$',this[_0x48e9f7(0x239)][_0x48e9f7(0x1fd)]());}[_0x37f2f7(0x269)](_0x24ec5e){var _0x1627b7=_0x37f2f7;this[_0x1627b7(0x239)][_0x1627b7(0x233)](_0x24ec5e);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x484914,_0x1ec22f,_0x3a8ae3,_0x2a2113)=>{var _0x24a7c0=_0x37f2f7;for(var _0x41eb5a=_0x2a2113>0x1?void 0x0:_0x2a2113?$s(_0x1ec22f,_0x3a8ae3):_0x1ec22f,_0x4eb440=_0x484914[_0x24a7c0(0x4a9)]-0x1,_0x430b34;_0x4eb440>=0x0;_0x4eb440--)(_0x430b34=_0x484914[_0x4eb440])&&(_0x41eb5a=_0x430b34(_0x41eb5a)||_0x41eb5a);return _0x41eb5a;},Vt=(_0x4ab28d,_0x4cfc36)=>(_0x1f88a1,_0x5e8d21)=>_0x4cfc36(_0x1f88a1,_0x5e8d21,_0x4ab28d);let Pe=class extends _0x32b95f{constructor(_0x3e2f5a,_0x1e4d76){var _0x4080a0=_0x37f2f7;super(),N(this,_0x4080a0(0x25b),new Map()),N(this,_0x4080a0(0x4d9),new _0x1b4986()),(this['_univerInstanceService']=_0x3e2f5a,this[_0x4080a0(0x2b9)]=_0x1e4d76,this[_0x4080a0(0x343)](_0x5d681f(this[_0x4080a0(0x3e0)][_0x4080a0(0x442)](_0x47812a[_0x4080a0(0x368)])[_0x4080a0(0x3bb)](_0x1b6381(_0x1b9a58=>_0x1b9a58[_0x4080a0(0x1df)]())),this[_0x4080a0(0x3e0)]['getTypeOfUnitDisposed$'](_0x47812a[_0x4080a0(0x20a)])['pipe'](_0x1b6381(_0x172df2=>_0x172df2[_0x4080a0(0x1df)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x47812a[_0x4080a0(0x42d)])[_0x4080a0(0x3bb)](_0x1b6381(_0x126522=>_0x126522['getUnitId']())))['subscribe'](_0xf53a15=>this['_removeRoom'](_0xf53a15))));}[_0x37f2f7(0x2e1)](_0x2a5a20){var _0x18550e=_0x37f2f7;return this[_0x18550e(0x25b)][_0x18550e(0x281)](_0x2a5a20)?_0x127796(this[_0x18550e(0x25b)][_0x18550e(0x1f0)](_0x2a5a20)):this[_0x18550e(0x4d9)][_0x18550e(0x3bb)](_0x1b6381(_0x20b8e5=>{if(_0x20b8e5===_0x2a5a20)return this['_roomMembers']['get'](_0x20b8e5);}));}[_0x37f2f7(0x3ba)](_0x524b31){var _0x1602cc=_0x37f2f7;this[_0x1602cc(0x2b9)][_0x1602cc(0x3ba)](_0x524b31);}[_0x37f2f7(0x2dc)](){var _0x11bd69=_0x37f2f7;return this['_userManagerService'][_0x11bd69(0x2dc)]();}[_0x37f2f7(0x495)](_0x47a2fc,_0x4f1f4b){var _0x4ce0f1=_0x37f2f7;let _0x11a093=this[_0x4ce0f1(0x25b)]['get'](_0x47a2fc);_0x11a093||(_0x11a093=new Bs(),this['_roomMembers'][_0x4ce0f1(0x287)](_0x47a2fc,_0x11a093),this[_0x4ce0f1(0x4d9)][_0x4ce0f1(0x233)](_0x47a2fc)),_0x11a093[_0x4ce0f1(0x495)](_0x4f1f4b);}[_0x37f2f7(0x412)](_0x158739,_0x3bbfd0){var _0x5cc5f4=_0x37f2f7;const _0x50f003=this[_0x5cc5f4(0x25b)][_0x5cc5f4(0x1f0)](_0x158739);_0x50f003&&_0x50f003['removeMember'](_0x3bbfd0);}[_0x37f2f7(0x334)](_0x1bba85){var _0x299bba=_0x37f2f7;return this[_0x299bba(0x25b)]['get'](_0x1bba85);}['getMember'](_0x594b93,_0x50cd12){var _0x372d4f=_0x37f2f7;const _0xd9be2c=this['_roomMembers'][_0x372d4f(0x1f0)](_0x594b93);if(_0xd9be2c)return _0xd9be2c[_0x372d4f(0x4c5)](_0x50cd12);}['_removeRoom'](_0x42f986){var _0x47dc6c=_0x37f2f7;const _0x59f434=this[_0x47dc6c(0x25b)][_0x47dc6c(0x1f0)](_0x42f986);_0x59f434&&(_0x59f434[_0x47dc6c(0x434)](),this[_0x47dc6c(0x25b)][_0x47dc6c(0x217)](_0x42f986));}[_0x37f2f7(0x434)](){var _0x5e1248=_0x37f2f7;this[_0x5e1248(0x25b)][_0x5e1248(0x3cd)](_0x53643c=>_0x53643c[_0x5e1248(0x434)]()),this['_roomMembers'][_0x5e1248(0x4b8)](),this['_roomCreated$']['complete']();}};Pe=Hs([Vt(0x0,_0x243a7a),Vt(0x1,_0x3ebdbb(_0x5659d2))],Pe);class Bs extends _0x32b95f{constructor(){var _0x370ae3=_0x37f2f7;super(...arguments),N(this,_0x370ae3(0x28b),new Map()),N(this,_0x370ae3(0x4aa),new _0x27a87d(this[_0x370ae3(0x28b)])),N(this,_0x370ae3(0x25c),this[_0x370ae3(0x4aa)][_0x370ae3(0x1fd)]());}[_0x37f2f7(0x434)](){var _0x5e24c0=_0x37f2f7;this[_0x5e24c0(0x28b)][_0x5e24c0(0x4b8)]();}['updateMember'](_0x59a61b){var _0x98f27e=_0x37f2f7;this[_0x98f27e(0x28b)][_0x98f27e(0x287)](_0x59a61b[_0x98f27e(0x3ea)],_0x59a61b),this['_emitMembers']();}[_0x37f2f7(0x412)](_0x1bf24e){var _0x359f22=_0x37f2f7;this[_0x359f22(0x28b)]['delete'](_0x1bf24e);}[_0x37f2f7(0x4c5)](_0x211777){var _0xb12bd1=_0x37f2f7;return this['_members'][_0xb12bd1(0x1f0)](_0x211777);}[_0x37f2f7(0x28a)](){var _0x248bdb=_0x37f2f7;return Array[_0x248bdb(0x2c3)](this['_members'][_0x248bdb(0x1ee)]());}[_0x37f2f7(0x319)](){var _0x319807=_0x37f2f7;this[_0x319807(0x4aa)][_0x319807(0x233)](this[_0x319807(0x28b)]);}}var js=Object[_0x37f2f7(0x3b6)],Fs=(_0x17c304,_0xd0ea3d,_0x4b75f5,_0x1e279c)=>{var _0x379a54=_0x37f2f7;for(var _0x279948=_0x1e279c>0x1?void 0x0:_0x1e279c?js(_0xd0ea3d,_0x4b75f5):_0xd0ea3d,_0x25f076=_0x17c304[_0x379a54(0x4a9)]-0x1,_0x181acf;_0x25f076>=0x0;_0x25f076--)(_0x181acf=_0x17c304[_0x25f076])&&(_0x279948=_0x181acf(_0x279948)||_0x279948);return _0x279948;},pe=(_0x53a99d,_0x5e20e8)=>(_0x137fbe,_0x5bc6a6)=>_0x5e20e8(_0x137fbe,_0x5bc6a6,_0x53a99d),Se=(_0x2bb20c=>(_0x2bb20c[_0x2bb20c[_0x37f2f7(0x379)]=0x0]=_0x37f2f7(0x379),_0x2bb20c[_0x2bb20c[_0x37f2f7(0x242)]=0x1]='JOINING',_0x2bb20c[_0x2bb20c['OFFLINE']=0x2]=_0x37f2f7(0x4da),_0x2bb20c[_0x2bb20c['ONLINE']=0x3]=_0x37f2f7(0x2a2),_0x2bb20c))(Se||{});const Gt={[me[_0x37f2f7(0x3de)]]:_0x37f2f7(0x3c9),[me[_0x37f2f7(0x4e4)]]:_0x37f2f7(0x2ec),[me[_0x37f2f7(0x1ec)]]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x37f2f7(0x3d8)]]:_0x37f2f7(0x2da)};let gt=class extends _0x413ca7{constructor(_0x1d1c8,_0xee19b2,_0x4f54fc,_0x3dcf6f,_0x40896e,_0x7c378a,_0x10b73c,_0x11bc33,_0x310531){var _0x3fd685=_0x37f2f7;super(),N(this,_0x3fd685(0x408),new _0x27a87d(0x0)),N(this,_0x3fd685(0x3e2),this[_0x3fd685(0x408)][_0x3fd685(0x1fd)]()),N(this,'_event$',new _0x1b4986()),N(this,_0x3fd685(0x2a6),this[_0x3fd685(0x3a1)][_0x3fd685(0x1fd)]()),N(this,_0x3fd685(0x2e9)),N(this,'_socketMessageSubscription'),N(this,_0x3fd685(0x3cc)),N(this,_0x3fd685(0x424),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x1d1c8,this['_logService']=_0x4f54fc,this[_0x3fd685(0x2a4)]=_0x3dcf6f,this['_localeService']=_0x40896e,this[_0x3fd685(0x4ba)]=_0x7c378a,this[_0x3fd685(0x480)]=_0x10b73c,this[_0x3fd685(0x395)]=_0x11bc33,this[_0x3fd685(0x33f)]=_0x310531,this[_0x3fd685(0x424)]=!!this['_telemetryService'],_0xee19b2[_0x3fd685(0x3bb)](_0x188b7b(this[_0x3fd685(0x2f8)]))['subscribe'](_0x5307af=>{var _0x3f3023=_0x3fd685,_0xe34d15;typeof _0x5307af>'u'||(this['_socket']=_0x5307af,_0x5307af?(this['_joinRoom'](_0x5307af),this[_0x3f3023(0x2e3)]=_0x5307af['message$'][_0x3f3023(0x333)](_0x22eacf=>{var _0x5bd96a=_0x3f3023;_0x22eacf[_0x5bd96a(0x30c)]===this[_0x5bd96a(0x2c1)]&&this[_0x5bd96a(0x420)](_0x22eacf);})):(this[_0x3f3023(0x255)](),this[_0x3f3023(0x408)]['next'](0x2),(_0xe34d15=this[_0x3f3023(0x2e3)])==null||_0xe34d15[_0x3f3023(0x3f4)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x1c8950=_0x37f2f7;return this[_0x1c8950(0x408)][_0x1c8950(0x390)]();}[_0x37f2f7(0x444)](){var _0x934c28=_0x37f2f7,_0x58046d,_0x8f2438;return(_0x8f2438=(_0x58046d=this[_0x934c28(0x2e9)])==null?void 0x0:_0x58046d[_0x934c28(0x3ea)])!=null?_0x8f2438:null;}[_0x37f2f7(0x434)](){var _0x766a9c=_0x37f2f7;super['dispose'](),this['dispose$'][_0x766a9c(0x233)](),this['dispose$']['complete']();}[_0x37f2f7(0x496)](){var _0x1fe934=_0x37f2f7,_0x5a1d58,_0x215f8e;this[_0x1fe934(0x255)](),(_0x5a1d58=this[_0x1fe934(0x2e9)])==null||_0x5a1d58[_0x1fe934(0x45c)]({'cmd':F[_0x1fe934(0x2a9)],'data':{'roomID':this[_0x1fe934(0x2c1)]}}),(_0x215f8e=this[_0x1fe934(0x2e9)])==null||_0x215f8e[_0x1fe934(0x496)](),this[_0x1fe934(0x3a1)]['complete'](),this[_0x1fe934(0x408)][_0x1fe934(0x365)](),this[_0x1fe934(0x434)]();}[_0x37f2f7(0x420)](_0x3de8b4){var _0x39d3e4=_0x37f2f7;_0x3de8b4['cmd']===F[_0x39d3e4(0x4cb)]?this[_0x39d3e4(0x3a0)](_0x3de8b4):_0x3de8b4[_0x39d3e4(0x2d9)]===F['RECV']&&this['_onRecvEvent'](_0x3de8b4);}[_0x37f2f7(0x30e)](_0xd34d08){var _0x51268b=_0x37f2f7;this[_0x51268b(0x408)][_0x51268b(0x233)](0x1),_0xd34d08[_0x51268b(0x45c)]({'cmd':F[_0x51268b(0x4cb)],'routeKey':this[_0x51268b(0x2c1)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x37f2f7(0x3a0)](_0x563b71){var _0x2151d9=_0x37f2f7,_0x6e9a49;if(_0x563b71[_0x2151d9(0x33c)]in Gt){this[_0x2151d9(0x395)][_0x2151d9(0x39f)]({'id':ne[_0x2151d9(0x372)],'data':Gt[_0x563b71[_0x2151d9(0x33c)]]}),this[_0x2151d9(0x408)][_0x2151d9(0x233)](0x2);return;}this[_0x2151d9(0x408)][_0x2151d9(0x233)](0x3);const _0x119586=(_0x6e9a49=_0x563b71[_0x2151d9(0x1e7)][_0x2151d9(0x27c)][this['_unitID']])==null?void 0x0:_0x6e9a49[_0x2151d9(0x241)];_0x119586&&_0x119586[_0x2151d9(0x3cd)](_0x50de3a=>this['_memberService'][_0x2151d9(0x495)](this['_unitID'],_0x50de3a));}[_0x37f2f7(0x4c2)](_0x5f48c2){var _0x344d85=_0x37f2f7;try{const _0xb45e78=_0x5f48c2[_0x344d85(0x1e7)];switch(_0xb45e78[_0x344d85(0x3b0)]){case _0x3df659[_0x344d85(0x1dd)]:this[_0x344d85(0x4a7)](_0xb45e78),this['_event$'][_0x344d85(0x233)](_0xb45e78);break;case _0x3df659['USERS_LEAVE']:this['_onUserLeave'](_0xb45e78),this[_0x344d85(0x3a1)][_0x344d85(0x233)](_0xb45e78);break;case _0x3df659[_0x344d85(0x24a)]:case _0x3df659[_0x344d85(0x32a)]:this[_0x344d85(0x3a4)](),this[_0x344d85(0x47b)](),this[_0x344d85(0x3a1)][_0x344d85(0x233)](_0xb45e78);break;case _0x3df659['MSG_FOR_ERROR']:this['_logService'][_0x344d85(0x302)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x344d85(0x3c6)](_0xb45e78)),this['_event$'][_0x344d85(0x233)](_0xb45e78);break;case _0x3df659[_0x344d85(0x2fa)]:this['_commentService'][_0x344d85(0x269)](_0xb45e78[_0x344d85(0x1e7)]),this[_0x344d85(0x3a1)]['next'](_0xb45e78);break;default:this[_0x344d85(0x3a1)][_0x344d85(0x233)](_0xb45e78);}}catch(_0x6d99ed){this[_0x344d85(0x425)][_0x344d85(0x302)](_0x6d99ed,_0x5f48c2);}}['_onUserJoin'](_0x5a348c){var _0x13f0d9=_0x37f2f7;this['_memberService'][_0x13f0d9(0x495)](this[_0x13f0d9(0x2c1)],_0x5a348c[_0x13f0d9(0x1e7)]);}[_0x37f2f7(0x485)](_0x260a03){var _0x2916b0=_0x37f2f7;this[_0x2916b0(0x4ba)][_0x2916b0(0x412)](this[_0x2916b0(0x2c1)],_0x260a03[_0x2916b0(0x1e7)][_0x2916b0(0x3ea)]);}async[_0x37f2f7(0x45c)](_0x42ffc1,_0x3cc3d6){var _0x494530=_0x37f2f7;if(this['sessionStatus']!==0x3||!this[_0x494530(0x2e9)])throw new Error(_0x494530(0x39b));try{_0x42ffc1[_0x494530(0x3b0)]===_0x3df659[_0x494530(0x407)]&&(this[_0x494530(0x423)](),this[_0x494530(0x296)](_0x42ffc1)),this['_socket'][_0x494530(0x45c)]({'cmd':F['INGEST'],'routeKey':_0x3cc3d6,'routeType':'','data':_0x42ffc1});}catch(_0x4229a5){this[_0x494530(0x425)]['error'](_0x4229a5);}}[_0x37f2f7(0x423)](){var _0x344bd1=_0x37f2f7,_0x19aee0;this[_0x344bd1(0x3cc)]=setTimeout(()=>{var _0x4e196e=_0x344bd1;this['_collaborationTimeoutTimer']=null,this[_0x4e196e(0x395)]['emitEvent']({'id':ne[_0x4e196e(0x3d9)]});},(_0x19aee0=this['_configService'][_0x344bd1(0x41c)](fi))!=null?_0x19aee0:vi);}[_0x37f2f7(0x47b)](){var _0x522a56=_0x37f2f7;this[_0x522a56(0x3cc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x522a56(0x3cc)]=null);}[_0x37f2f7(0x296)](_0x27d2aa){var _0x52772=_0x37f2f7;if(!this['_shouldReportTelemetry'])return;const {data:_0x11fbd8}=_0x27d2aa,{unitID:_0x1beb20,changeset:_0xefa6a}=_0x11fbd8,{mutations:_0x345d37,type:_0x4144cc}=_0xefa6a;this[_0x52772(0x391)]={'unitId':_0x1beb20,'type':_0x4144cc,'startTime':performance[_0x52772(0x4b4)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x345d37)};}[_0x37f2f7(0x3a4)](){var _0x22a130=_0x37f2f7;if(this[_0x22a130(0x424)]){if(!this[_0x22a130(0x391)]){this[_0x22a130(0x425)][_0x22a130(0x302)](_0x22a130(0x48c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x22a130(0x231)]=performance[_0x22a130(0x4b4)](),this[_0x22a130(0x391)][_0x22a130(0x27d)]=this[_0x22a130(0x391)][_0x22a130(0x231)]-this[_0x22a130(0x391)][_0x22a130(0x308)],this['_telemetryService'][_0x22a130(0x421)](xs,this[_0x22a130(0x391)]),this['_telemetryInfo']=null;}}[_0x37f2f7(0x255)](){var _0x2d8b82=_0x37f2f7;this[_0x2d8b82(0x391)]=null;}};function _0x8c3c(){var _0x24c3a4=['encode','joinEvent','SUCCUSS','liveShareNewHost','_retryConnectingTimer','format','SEND_CHANGESET_TIMEOUT','range','_replaceFileID','_clearCollaborationTimeoutTimer','SHA1','HEARTBEAT','NoPadding','BufferedBlockAlgorithm','_commentService','AWAITING_WITH_PENDING','getImage','permissionRejEvent','/object/','_onUserLeave','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reverse','_sessions','_instanceService','_snapshotService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSession]','_toggleOnline','_revisionService','HEARTBEAT_INTERVAL','_rescheduleHeartbeat','_getUndoStack','_getCurrentRevision','cfg','csAckEvent','updateMember','close','create','_invKeySchedule','AES','_onRemoteRetry','_collaborationSessionService','awaiting','Utf8','140CupTKS','11096RHuMvO','_nDataBytes','updatePermissionPoint','onSendChangeset','unitInfo$','SNAPSHOT_INVALID_SNAPSHOT','LOCAL_CACHE_INTERVAL','INGEST','_onUserJoin','_unlockTransition','length','_members$','_eventService','reject','fetch_missing','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','reqId','_handler','file','[SyncedState]:\x20received\x20acknowledgement.','_listenToNetworkCondition','now','__Key__','_incrementRevisionNumber','onlyLocal','clear','slice','_memberService','NOT_COLLAB','fetchMissingChangesets','_getSignURL','_resendTimeout','_process','includes','StreamCipher','_onRecvEvent','find','_init','getMember','requestParams','encodeURIComponent','awaitingChangeset','_keyPriorReset','snapshot','JOIN','getTypeOfUnitAdded$','Malformed\x20UTF-8\x20data','_localCacheService','socket\x20open.','kdf','append','unpad','setShowComponents','NOT_FOUND','sid','_createSocket','initWorkbookPermissionChange','UNAUTHENTICATED','_roomCreated$','OFFLINE','_singleActiveUnitService','UNKNOWN_CMD','_state','saveImage','UNIVER_PROJECT','LICENSE_MAX_UNITS_EXCEEDED','_xformMode','decryptBlock','UNRECOGNIZED','JOIN_ROOM_FULL','_awaitingChangeset','requireSession','_schedule','title','commentUpdateEvent','_initMergeInterceptor','Failed\x20to\x20update\x20permission\x20point','sin','Error\x20on\x20receiving\x20event','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','function','collaborators','getSheetBlock','error$','baseRev','OTHER_CLIENTS_EDITING','_getAPIPrefix','ciphertext','USERS_ENTER','abs','getUnitId','_retryCount','?size=','_acknowledgedAwaitingChangeset','_localeService','YUUMI_RATE_OVER_LIMIT','_getRedoStack','reconnect','data','_keySchedule','actions','withCredentials','/role','JOIN_ROOM_NOT_EXISTS','params','values','/universer-api/oidc/authpage','get','updateOfflineData','_sendHeartbeatTimer','enc','\x0aCurrent:\x20','getActiveSheet','\x0aAfter:\x20','key','pluginName','status$','RECV','transformMutationsWithChangeset','_socketService','asObservable','[CollaborationEntity]','fromCollab','COLLAB_SUBMIT_CHANGESET_URL','objectType','padding','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','prototype','onTransformRemoteChangesetByIMECache','getInterceptPoints','_clearRedo','_undoRedoService','UNIVER_DOC','message$','/resources','update','_updateLocalCache','encryptBlock','_clearScheduledTask','10053TkxfhI','incrementRevOfUnit','deepClone','17149ozsjjI','univer-pro.collaboration-client.single-active-unit-service','_entityInit$','delete','_resendWithTimeout','[OfflineState]:\x20received\x20rejection.','YUUMI_ALL_TABLES_IS_INVALID','toggleOffline','SOCKET_FAILED_RETRY','APPLY_NON_SEQUENTIAL_REVISION','HttpImport','INVITE_CODE_ALREADY_BOUND','enableAuthServer','debug','_candidateSocket','HttpExport','_minBufferSize','src','init','UNISCRIPT_RUN','PERMISSION_DENIED','_disableEditing','RETRY_CONNECTING_MAX_COUNT','_state$','_scheduleCompleteTimestamp','ws://127.0.0.1:8000/universer-api/comb/connect','mixIn','Decryptor','_doCryptBlock','stopTime','toString','next','EMAIL_HAS_BEEN_BOUND','UNDEFINED','c2Prime','shouldCloseConn','substr','_commentUpdate$','state$','updateCollaborator','onSyncEditingCollabCursor','Undefined','USER_NOT_INVITED_CODE','_initUnitPermissionChange','joinRsp','members','JOINING','_onOffline','signUrlServerUrl','isArray','2764392fZjQPQ','state','_clearTimeoutTimer','allowed','CHANGESET_ACK','YUUMI_ASYNCIO_CANCELLED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collabWebSocketUrl','ALREADY_EXISTS','_prevBlock','_startCollaboration','onRemoteRej','x-univer-host','getCollabEntity$','msCrypto','_throwTelemetryCollaborationNewChangeset','workbook','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','hasher','LOGIN_FAILED','MOBILE_HAS_BEEN_BOUND','_roomMembers','members$','LICENSE_EXPORT_SIZE_EXCEEDED','_substituteUndoStack','AUTHZ_URL_KEY','liveShareOperation','roles','NEW_CHANGESETS','_getDownloadEndpointURL','compose','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','USERS_LEAVE','selections','onCommentUpdate','compute','_onConflict','size','_createHandler','_syncEditingCollabCursor','LIVESHARE_FETCH_OPERATIONS','getTime','FileId','Cipher','LIVESHARE_TERMINATE','_registerDependencies','words','getWorkbookSelections','charCodeAt','PSEUDO_FETCH_MISSING_RESULT','type','addImageSourceCache','_cipher','roomInfos','duration','_showConflictNotification','INVITE_CODE_HAS_BEEN_UES','?url=','has','_transformUndoredo','synced','pauseCollaboration','_compressMutationService','_entities','set','enableOfflineEditing','_snapshotServerService','getAllMembers','_members','loginUrlKey','lib','_createHelper','createInstance','MD5','_doCreateSocket','getResourcesRequest','onTransformState','WECHAT_HAS_BEEN_BOUND','mutations','_startTelemetryCollaborationNewChangeset','originalMeta','getSheetId','c1Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','APPLY_PERMISSION_DENIED','reduce','_decreaseWaiting','buffer','transformUndoRedo','PERSON','formatter','ONLINE','_updateStatus','_configService','UnitEmbedded','event$','executeCommand','method','LEAVE','LOGIN_URL_KEY','_getUploadFileURL','BASE64','APPLY_DUPLICATED','_networkConditionService','/rev/','[FetchMissState]','createDecryptor','list','m2Prime','INTERNAL_ERROR','transformSelections','result','67666yvhvoc','closeSession','_userManagerService','clamp','randomBytes','[PendingState]:\x20received\x20acknowledgement.','ENSURE_SNAPSHOT_EXECUTION','COMPLETION_FINISHED','transformChangesets','copyFileMeta','_unitID','saveChangeset','from','_initRequestHeader','onRemoteRetry','auth.needGotoLoginAlert','TOO_MANY_REQUESTS','confirm','HMAC','fromCharCode','getCurrentSelections','_mode','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_sheetTransformSelectionsService','decrypt','unknown','_tryEnsureSocket','UNIVER_UNKNOWN','resend','Pkcs7','focused$','getSnapshotAPIPath','8390mCUCDQ','_onRemoteACK','cmd','session.room-cnt-exceeds','exports','getCurrentUser','pad','_sendingTimer','_sender','/universer-api/user/session-ticket','waitForRoom$','COMPRESS_MUTATION_SEND','_socketMessageSubscription','getUnitType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','userID','_iKey','reset','_socket','Hasher','close$','session.room-full','unitID','_transformIMECache','image/png','univer-pro.collaboration-client.network-condition.service','fetchThroughInterceptors','target','FETCH_MISSING','_tryReconnect','INVALID_INVITE_CODE','changesets','retryConnectingInterval','dispose$','\x20in\x20_schedule.','COMMENT_UPDATE','[SyncedState]:\x20received\x20rejection.','origin','_transformStack','loadSheet','WordArray','authzUrl','&source=','error','location','awaiting_with_pending','push','YUUMI_UNABLE_LOAD_URL','[DataLoaderService]','startTime','ERROR_IMAGE','offline','getCollabEntity','routeKey','HmacMD5','_joinRoom','batchAllowed','extend','YUUMI_URL_COL_OUT_OF_RANGE','entityInit$','_hasher','_nRounds','_checkMissing','random','PasswordBasedCipher','every','_emitMembers','_onConnectionOpen','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','entries','/universer-api/snapshot','BlockCipher','join','PENDING','_clearHeartbeatTimer','_pendingMutations','registerHTTPInterceptor','ceil','ivSize','hasOwnProperty','open$','iterations','CHANGESET_SHOULD_RETRY','conflict','add','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRemoteRejected','_change$','/-/object/-/batch_allowed','collabSubmitChangesetUrl','UnitSnapshot','subscribe','getRoom','collaboratorID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/collaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','collaboration-client.local-cache-service','_getLoginPath','code','mode','_createHmacHelper','_telemetryService','_clearRetryConnectingTimer','updateSnapshot','_collaborationPaused','disposeWithMe','setWaitCount','People','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipherMode','/universer-api/uniscript','floor','fetchMiss','PY_RUNTIME_SCRIPT_ERROR','_changesetSessionId','MUTATION','defineProperty','processBlock','CLOSE_ROOM','localCacheService','UNKNOWN_CODE','getCurrentRevOfUnit','_ENC_XFORM_MODE','EvpKDF','OTHER_CLIENT_EDITING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','onMissingChangesets','/new_changes','CHANGESET_REJ','map','_replayCachedMutations','/universer-api/stream/file/upload','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED','startsWith','pending','YUUMI_SUBSCRIPTION_NOT_FOUND','execute','complete','_getSendChangesetTimeout','_onConnectionFailed','UNIVER_SHEET','createSocket','avatar','[OfflineState]:\x20received\x20acknowledgement.','_HTTPService','getUnit','[UniverCollaborationClientPlugin]','2934980TVwhzC','HEARTBEAT_TIMEOUT','_append','JOIN_ROOM_FAILED','_toggleOffline','addHandlerCallback','INVITE_CODE_REQUIRED','onLocalMutation','/-/object/list','splice','IDLE','_permissionService','_initCloseConn','onCommandExecuted','image/gif','_queuedRemoteChangesets','_undoStacks','headers','onTransformSelections','crypto','algo','_executeRemoteChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','Latin1','_redoStacks','_injector','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','setConfig','listRoles','POST','&to=','appendMutation','_applyRemoteChangeset','getValue','_telemetryInfo','/universer-api/authz','HELLO','byteLength','_collaborationUIEventService','_getCtorByUniverType','onTransformRemoteChangesetByStateCache','getDeserializedSheetBlock','name','enableCollaboration','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','downloadEndpointUrl','replace','session','emitEvent','_onJoinRoomEvent','_event$','Base64','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_stopTelemetryCollaborationNewChangeset','onTransformIME','parse','image/jpg','onStarting','_waitCount','__creator','snapshotServerUrl','YUUMI_AI_RUN_FAILED','_transformSelections','_isPermissionRej','editing\x20status\x20changed\x20to','eventID','saveSnapshot','UserProfileImg','_transformRemoteChangesetByIMECache','_status$','objectActions','getOwnPropertyDescriptor','finalize','submit\x20changeset\x20error!','failed\x20to\x20apply\x20missed\x20changesets!','setCurrentUser','pipe','YUUMI_NO_CUBOID_FOR_QUESTION','createEncryptor','527905noLMpD','\x20-\x20','UPDATE_CURSOR','getFocusedUnit','$super','_changesetReqId','body','status','stringify','_socketReady','clone','session.join-failed','call','filter','_collaborationTimeoutTimer','forEach','_type','resourceIDs','/block/','OpenSSL','LIVESHARE_OPERATION','isPermissionRej','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NO_OTHER_CLIENTS_EDITING','getUnitStatus$','_submitChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','SUBMIT_CHANGESET_TIMEOUT','encrypt','UUID','repeat','/universer-api/snapshot/','FAIL','onMissedChangesetFetched','_univerInstanceService','salt','sessionStatus$','_key','indexOf','_iv','CipherParams','_exhaustRemoteChangesetQueue','localeService','[CollaborationSessionService]:\x20socket\x20error','memberID','apply','[CollaborationSessionService]','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/unit/','AWAITING','_collabSessionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onRemoteAck','loadUnitOfRevision','unsubscribe','uniscriptRunEvent','&assign=','_waitForHeartbeatResponse','getUnitOnRev','put','CONNECTOR_DATA_TOO_LARGE','/allowed','_config','_handlerCallback','override','INVALID_ARGUMENT','image/jpeg','objects','_initDependencies','_map','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readInt32LE','responseType','SUBMIT_CHANGESET','_sessionStatus$','_resendTimer','_getAPIPrefixPath','JOIN_ROOM_PERMISSION_DENIED','_httpService','[PendingState]:\x20received\x20rejection.','_commandService','symbol','_onLocalMutation','concat','removeMember','findIndex','Base','unitId','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_fetchMissChangesets','OPTIONAL','leaveEvent','_substituteRedoStack','_transformRemoteChangesetByStateCache','getConfig','/universer-api/comb','/fetchmissing?from=','_reverseMap','_onCombEvent','capture','collaMsg','_scheduleCollaborationTimeoutTimer','_shouldReportTelemetry','_logService','COLLAB_WEB_SOCKET_URL','patch','_onMessage','_updateState','SYNCED','string','_doFinalize','UNIVER_SLIDE','_data','uploadFileServerUrl','UPDATE_PERMISSION_OBJ','_onRemoteChangeset','[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.','DEFAULT_FILE_NAME','dispose','Encryptor','PERMISSION_REJ','sheets','updatePermissionObjEvent','resolve','refreshPermission','charAt','loadOfflineData','subUnitId','socketService','[CollaborationUndoRedoService]','44061zotFEa','onRemoteChangeset','getTypeOfUnitDisposed$','unit-cache-','getMemberID','Univer','sendChangesetTimeout','max','MSG_FOR_ERROR','post','_createInitialState','listCollaborators','_oKey','5PlwNHH','_imageSourceCache','default','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectID','_clearLocalCache','putCollaborators','/universer-api/file/{fileID}/sign-url','csRejEvent','blockSize','LIVESHARE_REQUEST_HOST','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','url','_hash','_unitInfo$','send','CHANGESET_REVISION_CONFILICT','_timeoutTimer','revision','connection\x20error','_lockTransition','sigBytes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_remoteChangesetQueue','_transformStateCache','LICENSE_DISTRO_REJECTED','keySize','getRandomValues','CONFLICT','interceptor','_transitionLocked','rev','LICENSE_IMPORT_SIZE_EXCEEDED','subject','toggleOnline','updateCursorEvent','_onFetchMissResult'];_0x8c3c=function(){return _0x24c3a4;};return _0x8c3c();}gt=Fs([pe(0x2,_0x3ec9e5),pe(0x3,_0x4ac810),pe(0x4,_0x3ebdbb(_0x425e89)),pe(0x5,_0x3ebdbb(Pe)),pe(0x6,_0x3ebdbb(Si)),pe(0x7,_0x3ebdbb(ve)),pe(0x8,_0x2a8e41(_0x7b1df4))],gt);var Vs=Object[_0x37f2f7(0x3b6)],Gs=(_0x303b13,_0x497a67,_0x47a4fa,_0x2d30aa)=>{var _0x46dd10=_0x37f2f7;for(var _0xfaf74f=_0x2d30aa>0x1?void 0x0:_0x2d30aa?Vs(_0x497a67,_0x47a4fa):_0x497a67,_0x126206=_0x303b13[_0x46dd10(0x4a9)]-0x1,_0x4a69fb;_0x126206>=0x0;_0x126206--)(_0x4a69fb=_0x303b13[_0x126206])&&(_0xfaf74f=_0x4a69fb(_0xfaf74f)||_0xfaf74f);return _0xfaf74f;},Re=(_0x49c0ee,_0x369aaf)=>(_0x3cb22f,_0x22e5c4)=>_0x369aaf(_0x3cb22f,_0x22e5c4,_0x49c0ee);let Le=class extends _0x32b95f{constructor(_0x59c708,_0xfde973,_0x4a658d,_0x148ac6,_0x2d9990,_0x530b2e){var _0x101526=_0x37f2f7;super(),N(this,_0x101526(0x358),new _0x27a87d(void 0x0)),N(this,'socket$',this[_0x101526(0x358)][_0x101526(0x1fd)]()),N(this,_0x101526(0x222),null),N(this,'_sessions',new Map()),N(this,_0x101526(0x3b4),new _0x27a87d(Se[_0x101526(0x379)])),N(this,_0x101526(0x1f9),this['_status$'][_0x101526(0x1fd)]()),N(this,_0x101526(0x3c7),!0x1),N(this,_0x101526(0x476)),N(this,_0x101526(0x1e0),0x0),N(this,_0x101526(0x1f2)),N(this,_0x101526(0x45e)),(this['_injector']=_0x59c708,this[_0x101526(0x425)]=_0xfde973,this[_0x101526(0x2a4)]=_0x4a658d,this['_socketService']=_0x148ac6,this['_collaborationUIEventService']=_0x2d9990,this[_0x101526(0x2ae)]=_0x530b2e,this[_0x101526(0x4b3)]());}get[_0x37f2f7(0x2e9)](){var _0x5b7ae6=_0x37f2f7;return this[_0x5b7ae6(0x358)][_0x5b7ae6(0x390)]();}[_0x37f2f7(0x4b3)](){var _0x332c53=_0x37f2f7;this[_0x332c53(0x2ae)]&&this[_0x332c53(0x343)](this[_0x332c53(0x2ae)]['online$'][_0x332c53(0x333)](_0xe9f084=>{var _0x3caf79=_0x332c53;_0xe9f084&&!this[_0x3caf79(0x2e9)]&&this[_0x3caf79(0x1e6)](),_0xe9f084||this[_0x3caf79(0x243)]();}));}['dispose'](){var _0x5dcea3=_0x37f2f7;super[_0x5dcea3(0x434)](),this[_0x5dcea3(0x340)](),this[_0x5dcea3(0x248)](),this[_0x5dcea3(0x322)](),this[_0x5dcea3(0x488)][_0x5dcea3(0x3cd)](_0x193323=>_0x193323[_0x5dcea3(0x434)]()),this[_0x5dcea3(0x488)]['clear'](),this['_status$']['complete']();}async[_0x37f2f7(0x4e6)](_0x16064c){var _0x5e91cc=_0x37f2f7;if(this['_sessions']['has'](_0x16064c))return this[_0x5e91cc(0x488)][_0x5e91cc(0x1f0)](_0x16064c);this['_tryEnsureSocket']();const _0x506454=this[_0x5e91cc(0x388)][_0x5e91cc(0x28f)](gt,_0x16064c,this[_0x5e91cc(0x358)][_0x5e91cc(0x1fd)]());return this[_0x5e91cc(0x488)][_0x5e91cc(0x287)](_0x16064c,_0x506454),_0x506454;}[_0x37f2f7(0x2b8)](_0x1eed8c){var _0x493f32=_0x37f2f7,_0x4ca02c;const _0x63f1b5=this[_0x493f32(0x488)][_0x493f32(0x1f0)](_0x1eed8c);_0x63f1b5&&(this['_sessions'][_0x493f32(0x217)](_0x1eed8c),_0x63f1b5[_0x493f32(0x496)]()),this[_0x493f32(0x488)][_0x493f32(0x26c)]||(_0x4ca02c=this['_socket'])==null||_0x4ca02c['close']();}['reconnect'](){var _0x488a2f=_0x37f2f7;this[_0x488a2f(0x1e0)]=0x0,this[_0x488a2f(0x340)](),this[_0x488a2f(0x2f4)]();}[_0x37f2f7(0x340)](){var _0x58a616=_0x37f2f7;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x58a616(0x476)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x31ad79=_0x37f2f7,_0xdb2ea9,_0x435e5c;const _0x1e1317=this[_0x31ad79(0x2a4)][_0x31ad79(0x41c)](gs),_0x55c41b=this[_0x31ad79(0x2a4)][_0x31ad79(0x41c)](K),_0x14b415=(_0x435e5c=(_0xdb2ea9=_0x55c41b==null?void 0x0:_0x55c41b[_0x31ad79(0x24d)])!=null?_0xdb2ea9:_0x1e1317)!=null?_0x435e5c:Ss,_0x322f0d=await this[_0x31ad79(0x1fc)][_0x31ad79(0x369)](_0x14b415);return this['_candidateSocket']=_0x322f0d,_0x322f0d;}async[_0x37f2f7(0x2d1)](){var _0x336fc9=_0x37f2f7,_0x533d0b,_0x5df4e1;try{const _0xd392d2=(_0x5df4e1=(_0x533d0b=this['_socket'])!=null?_0x533d0b:this['_candidateSocket'])!=null?_0x5df4e1:await this[_0x336fc9(0x4d6)]();if(_0xd392d2){const _0x41c937=_0xd392d2[_0x336fc9(0x45c)];_0xd392d2['send']=_0x477c97=>(this['_rescheduleHeartbeat'](),_0x41c937['apply'](_0xd392d2,[_0x477c97])),_0xd392d2['message$']['subscribe'](_0x46d7bc=>this['_onMessage'](_0xd392d2,_0x46d7bc)),_0xd392d2[_0x336fc9(0x4f2)][_0x336fc9(0x3bb)](_0x14028b(0x1))[_0x336fc9(0x333)](_0x2ce505=>this[_0x336fc9(0x425)][_0x336fc9(0x302)](_0x336fc9(0x3e9),_0x2ce505)),_0xd392d2['open$']['pipe'](_0x14028b(0x1))[_0x336fc9(0x333)](()=>{var _0x49fc83=_0x336fc9;this[_0x49fc83(0x31a)](_0xd392d2);}),_0xd392d2[_0x336fc9(0x2eb)]['pipe'](_0x14028b(0x1))['subscribe'](_0xaae2f6=>{var _0xecc7be=_0x336fc9;this[_0xecc7be(0x425)][_0xecc7be(0x221)]('[CollaborationSessionService]','socket\x20close',_0xaae2f6),this[_0xecc7be(0x367)]();});}}catch(_0x2cd66b){this['_logService'][_0x336fc9(0x302)](_0x2cd66b),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x223cd8){var _0x4a51d1=_0x37f2f7;this['_logService'][_0x4a51d1(0x221)](_0x4a51d1(0x3ec),_0x4a51d1(0x4cf)),_0x223cd8[_0x4a51d1(0x45c)]({'cmd':F[_0x4a51d1(0x393)]}),this[_0x4a51d1(0x490)]();}[_0x37f2f7(0x243)](){var _0x4f6ccb=_0x37f2f7;this['_socketReady']=!0x1,this[_0x4f6ccb(0x222)]=null,this[_0x4f6ccb(0x3b4)][_0x4f6ccb(0x233)](Se['OFFLINE']),this[_0x4f6ccb(0x358)][_0x4f6ccb(0x233)](null),this['_clearTimeoutTimer'](),this[_0x4f6ccb(0x322)]();}[_0x37f2f7(0x367)](){var _0x3ef424=_0x37f2f7,_0x5505aa;this[_0x3ef424(0x243)](),this['_retryCount']<((_0x5505aa=this['_configService'][_0x3ef424(0x41c)](Cs))!=null?_0x5505aa:Rs)?(this[_0x3ef424(0x395)][_0x3ef424(0x39f)]({'id':ne[_0x3ef424(0x21c)]}),this[_0x3ef424(0x2f4)]()):this[_0x3ef424(0x395)][_0x3ef424(0x39f)]({'id':ne['SOCKET_FAILED']});}[_0x37f2f7(0x2f4)](){var _0x5d62e3=_0x37f2f7,_0x299c25;const _0x32c970=this[_0x5d62e3(0x1e0)],_0x7b8817=this[_0x5d62e3(0x2a4)][_0x5d62e3(0x41c)](K),_0x2f8245=_0x32c970===0x0?0x0:((_0x299c25=_0x7b8817==null?void 0x0:_0x7b8817[_0x5d62e3(0x2f7)])!=null?_0x299c25:Ts)*0x2**_0x32c970;this['_retryConnectingTimer']=setTimeout(()=>{var _0x38f5e5=_0x5d62e3;clearTimeout(this[_0x38f5e5(0x476)]),this[_0x38f5e5(0x476)]=null,this[_0x38f5e5(0x2d1)]();},_0x2f8245),this[_0x5d62e3(0x1e0)]+=0x1;}[_0x37f2f7(0x428)](_0x4d1ae3,_0x573e3f){var _0x3f52f7=_0x37f2f7;const {cmd:_0x17d3e6}=_0x573e3f;_0x17d3e6===F[_0x3f52f7(0x393)]&&!this[_0x3f52f7(0x3c7)]&&(_0x4d1ae3[_0x3f52f7(0x3ea)]=_0x573e3f[_0x3f52f7(0x1e7)][_0x3f52f7(0x3ea)],this[_0x3f52f7(0x358)][_0x3f52f7(0x233)](_0x4d1ae3),this['_status$'][_0x3f52f7(0x233)](Se[_0x3f52f7(0x2a2)]),this[_0x3f52f7(0x3c7)]=!0x0,this[_0x3f52f7(0x222)]=null),_0x17d3e6===F[_0x3f52f7(0x47d)]&&this['_clearTimeoutTimer'](),this[_0x3f52f7(0x490)]();}[_0x37f2f7(0x490)](){var _0x26ed33=_0x37f2f7,_0x1369c8;this[_0x26ed33(0x322)](),this[_0x26ed33(0x1f2)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1369c8=this[_0x26ed33(0x2a4)][_0x26ed33(0x41c)](Es))!=null?_0x1369c8:Is);}['_sendHeartbeat'](){var _0x205f2e=_0x37f2f7;this[_0x205f2e(0x2e9)][_0x205f2e(0x45c)]({'cmd':F[_0x205f2e(0x47d)]}),this[_0x205f2e(0x3f7)]();}['_waitForHeartbeatResponse'](){var _0x112e80=_0x37f2f7,_0x52a86e;this['_timeoutTimer']=setTimeout(()=>this[_0x112e80(0x367)](),(_0x52a86e=this[_0x112e80(0x2a4)][_0x112e80(0x41c)](fi))!=null?_0x52a86e:vi);}['_clearHeartbeatTimer'](){var _0x1afa87=_0x37f2f7;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1afa87(0x1f2)]),this[_0x1afa87(0x1f2)]=null);}['_clearTimeoutTimer'](){var _0x52c60e=_0x37f2f7;this[_0x52c60e(0x45e)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x3ebdbb(_0x57e09f)),Re(0x1,_0x3ec9e5),Re(0x2,_0x4ac810),Re(0x3,gi),Re(0x4,_0x3ebdbb(ve)),Re(0x5,_0x2a8e41(Us))],Le);const J=_0x33ade1(_0x37f2f7(0x33a));function Pr(_0x34a72c){var _0x712948=_0x37f2f7;return _0x712948(0x443)+_0x34a72c;}var Ws=Object[_0x37f2f7(0x3b6)],Ys=(_0x46839e,_0x4372ef,_0x4ba6c1,_0x4aab6c)=>{var _0x41f134=_0x37f2f7;for(var _0x33da78=_0x4aab6c>0x1?void 0x0:_0x4aab6c?Ws(_0x4372ef,_0x4ba6c1):_0x4372ef,_0x1eb927=_0x46839e[_0x41f134(0x4a9)]-0x1,_0x56c05f;_0x1eb927>=0x0;_0x1eb927--)(_0x56c05f=_0x46839e[_0x1eb927])&&(_0x33da78=_0x56c05f(_0x33da78)||_0x33da78);return _0x33da78;},ut=(_0x23bbad,_0x5659ff)=>(_0x45edff,_0x5b77c3)=>_0x5659ff(_0x45edff,_0x5b77c3,_0x23bbad);function Ks(_0x350d99){var _0x5c423b=_0x37f2f7;const {unitID:_0x247e6d,mutations:_0x33fd39}=_0x350d99;return{'unitId':_0x247e6d,'subUnitId':_0x33fd39[0x0][_0x5c423b(0x1ed)][_0x5c423b(0x43d)]};}let it=class{constructor(_0x497c30,_0x27c1f0,_0x271b75){var _0x32d898=_0x37f2f7;this[_0x32d898(0x388)]=_0x497c30,this[_0x32d898(0x31b)]=_0x27c1f0,this['_instanceService']=_0x271b75;}[_0x37f2f7(0x2b5)](_0x2dbc57){var _0x1d3e86=_0x37f2f7,_0x38ba21,_0x2d921e,_0xed2280,_0x30cad7;const _0x46fe5b=this[_0x1d3e86(0x388)]['get'](_0x4c885e),{unitId:_0x495f05,subUnitId:_0x2034a1}=Ks(_0x2dbc57),_0xf37c44=_0x46fe5b==null?void 0x0:_0x46fe5b[_0x1d3e86(0x276)](_0x495f05)[_0x1d3e86(0x2cb)](),_0x38da4d=(_0x2d921e=(_0x38ba21=this[_0x1d3e86(0x489)][_0x1d3e86(0x36d)](_0x495f05))==null?void 0x0:_0x38ba21[_0x1d3e86(0x1f5)]())==null?void 0x0:_0x2d921e[_0x1d3e86(0x298)]();if(_0xf37c44[_0x1d3e86(0x4a9)]===0x0||!_0x495f05||!_0x2034a1)return;const _0x3b183d=[{'id':_0x1dd000['id'],'params':{'unitId':_0x495f05,'subUnitId':_0x38da4d,'selections':_0x4af71f[_0x1d3e86(0x213)](_0xf37c44)}}],_0x323cdd=this[_0x1d3e86(0x31b)][_0x1d3e86(0x1fb)](_0x2dbc57,_0x3b183d);if(!_0x2ef70b(_0x323cdd))throw _0x323cdd[_0x1d3e86(0x302)];const _0x17e6e9=(_0x30cad7=(_0xed2280=_0x323cdd[_0x1d3e86(0x2b3)][0x0])==null?void 0x0:_0xed2280[_0x1d3e86(0x1ed)])==null?void 0x0:_0x30cad7['selections'];if(Array[_0x1d3e86(0x245)](_0x17e6e9)&&_0x17e6e9[_0x1d3e86(0x4a9)]){if(_0x17e6e9['length']===_0x3b183d[0x0][_0x1d3e86(0x1ed)][_0x1d3e86(0x268)]['length']&&_0x17e6e9[_0x1d3e86(0x318)]((_0x382611,_0x3f3675)=>_0x9b5422['equals'](_0x382611[_0x1d3e86(0x479)],_0x3b183d[0x0][_0x1d3e86(0x1ed)][_0x1d3e86(0x268)][_0x3f3675]['range'])))return;this[_0x1d3e86(0x388)][_0x1d3e86(0x1f0)](_0x404e2f)['executeCommand'](_0x1dd000['id'],{'unitId':_0x495f05,'subUnitId':_0x38da4d,'selections':_0x17e6e9});}}};it=Ys([ut(0x0,_0x3ebdbb(_0x57e09f)),ut(0x1,_0x280463),ut(0x2,_0x243a7a)],it);const ht=_0x33ade1(_0x37f2f7(0x215));var Ei=(_0x94cb69=>(_0x94cb69[_0x94cb69['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x37f2f7(0x3d5),_0x94cb69[_0x94cb69[_0x37f2f7(0x1da)]=0x1]=_0x37f2f7(0x1da),_0x94cb69))(Ei||{});const qs=new Set([_0x1b3e4b['id']]);function Wt(_0x3fa1fa,_0x58c0ae,_0x331e7d,_0x20f8a2,_0x2a0548){var _0x14d8d8=_0x37f2f7,_0xd63637,_0x5d96be,_0x1df634,_0x42735f;const _0x1ecad2=[];for(const _0x50f75e of _0x3fa1fa)if(qs[_0x14d8d8(0x281)](_0x50f75e['id'])){if(_0x1ecad2[_0x14d8d8(0x4a9)]>0x0)break;_0x1ecad2[_0x14d8d8(0x305)](_0x50f75e);break;}else _0x1ecad2[_0x14d8d8(0x305)](_0x50f75e);const _0x3d5529=(_0x5d96be=(_0xd63637=_0x2a0548[_0x14d8d8(0x2dc)]())==null?void 0x0:_0xd63637[_0x14d8d8(0x2e6)])!=null?_0x5d96be:'unknown',_0x1670d5=(_0x42735f=(_0x1df634=_0x2a0548[_0x14d8d8(0x2dc)]())==null?void 0x0:_0x1df634[_0x14d8d8(0x3ea)])!=null?_0x42735f:_0x14d8d8(0x2d0);return{'changeset':{'unitID':_0x58c0ae,'type':_0x3dcbe0(_0x331e7d[_0x14d8d8(0x2e4)](_0x58c0ae)),'baseRev':_0x20f8a2[_0x14d8d8(0x353)](_0x58c0ae),'revision':0x0,'userID':_0x3d5529,'memberID':_0x1670d5,'mutations':_0x1ecad2},'pendingMutations':_0x3fa1fa[_0x14d8d8(0x4b9)](_0x1ecad2[_0x14d8d8(0x4a9)])};}function zs(_0x2db91e,_0x9ebedc,_0x3c1bda,_0x2daef4,_0x46982e){var _0x54a6ae=_0x37f2f7,_0xbfea51,_0xfbc2ac,_0x3ac9a7,_0x4ef817;const _0x5dd4ff=[_0x2db91e[_0x54a6ae(0x29c)]((_0x53cd0d,_0x478349)=>{var _0xcea598=_0x54a6ae,_0x236259;const {id:_0x5afbd2}=_0x53cd0d,{id:_0x1daee1,type:_0x214246}=_0x478349,_0x2bf978=(_0x236259=_0x53cd0d[_0xcea598(0x1ed)])!=null?_0x236259:{'actions':null},_0x2f1d98=_0x478349[_0xcea598(0x1ed)];if(_0x5afbd2&&_0x5afbd2!==_0x1daee1)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5afbd2+_0xcea598(0x3bf)+_0x1daee1+'.');return{..._0x53cd0d,'id':_0x1daee1,'type':_0x214246,'params':{'unitId':_0x2f1d98[_0xcea598(0x415)],'textRanges':_0x2f1d98['textRanges'],'actions':_0x2aecd5[_0xcea598(0x264)](_0x2bf978[_0xcea598(0x1e9)],_0x2f1d98[_0xcea598(0x1e9)])}};},{})],_0x3de22c=(_0xfbc2ac=(_0xbfea51=_0x46982e[_0x54a6ae(0x2dc)]())==null?void 0x0:_0xbfea51[_0x54a6ae(0x2e6)])!=null?_0xfbc2ac:_0x54a6ae(0x2d0),_0x4c504e=(_0x4ef817=(_0x3ac9a7=_0x46982e['getCurrentUser']())==null?void 0x0:_0x3ac9a7[_0x54a6ae(0x3ea)])!=null?_0x4ef817:_0x54a6ae(0x2d0);return{'changeset':{'unitID':_0x9ebedc,'type':_0x3dcbe0(_0x3c1bda[_0x54a6ae(0x2e4)](_0x9ebedc)),'baseRev':_0x2daef4[_0x54a6ae(0x353)](_0x9ebedc),'revision':0x0,'userID':_0x3de22c,'memberID':_0x4c504e,'mutations':_0x5dd4ff},'pendingMutations':[]};}function Ii(_0x5c8423,_0x2ce061){var _0x2cb1b1=_0x37f2f7;const _0x40ea7b=new _0x160fc9(0x1);return setTimeout(()=>_0x40ea7b[_0x2cb1b1(0x233)](_0x2ce061),_0x5c8423),_0x40ea7b[_0x2cb1b1(0x1fd)]()[_0x2cb1b1(0x3bb)](_0x4012ea(0x1));}const Js={'id':_0x34e83d['id'],'type':_0x415cdb[_0x37f2f7(0x34d)],'params':{}};var Xs=Object[_0x37f2f7(0x3b6)],Ie=(_0x45b003,_0x5970d1,_0x1d2873,_0x188818)=>{var _0x3c9654=_0x37f2f7;for(var _0xba79e3=_0x188818>0x1?void 0x0:_0x188818?Xs(_0x5970d1,_0x1d2873):_0x5970d1,_0x113666=_0x45b003[_0x3c9654(0x4a9)]-0x1,_0x5599ed;_0x113666>=0x0;_0x113666--)(_0x5599ed=_0x45b003[_0x113666])&&(_0xba79e3=_0x5599ed(_0xba79e3)||_0xba79e3);return _0xba79e3;},P=(_0x43172e,_0x102465)=>(_0xbb0a58,_0x3bc2f8)=>_0x102465(_0xbb0a58,_0x3bc2f8,_0x43172e),Ti=(_0x562684=>(_0x562684[_0x37f2f7(0x4bb)]='not_collab',_0x562684[_0x37f2f7(0x42a)]='synced',_0x562684[_0x37f2f7(0x321)]=_0x37f2f7(0x362),_0x562684[_0x37f2f7(0x3ef)]=_0x37f2f7(0x49c),_0x562684[_0x37f2f7(0x481)]=_0x37f2f7(0x304),_0x562684['FETCH_MISS']='fetch_missing',_0x562684[_0x37f2f7(0x469)]=_0x37f2f7(0x32b),_0x562684[_0x37f2f7(0x4da)]=_0x37f2f7(0x30a),_0x562684))(Ti||{});const Ci=0xea60;class Te{constructor(_0x944e12,_0xf2ec96,_0x1bdb17,_0x429bda,_0x50edc1,_0xc91bce,_0x209330,_0x6f8445,_0x2bf15a){var _0xb856e1=_0x37f2f7;N(this,_0xb856e1(0x4e5),null),N(this,_0xb856e1(0x323),[]),(this['unitID']=_0x944e12,this[_0xb856e1(0x279)]=_0xf2ec96,this[_0xb856e1(0x4b0)]=_0x50edc1,this[_0xb856e1(0x40e)]=_0xc91bce,this[_0xb856e1(0x209)]=_0x209330,this[_0xb856e1(0x48e)]=_0x6f8445,this[_0xb856e1(0x4ce)]=_0x2bf15a,this[_0xb856e1(0x4e5)]=_0x1bdb17,this[_0xb856e1(0x323)]=_0x429bda);}[_0x37f2f7(0x315)](_0x45b858){var _0x35d8d5=_0x37f2f7;const _0x3ad0cd=this[_0x35d8d5(0x48e)][_0x35d8d5(0x353)](this[_0x35d8d5(0x2ed)]);return _0x45b858['revision']>_0x3ad0cd+0x1?(this[_0x35d8d5(0x4b0)][_0x35d8d5(0x359)]({'from':_0x3ad0cd,'to':_0x45b858[_0x35d8d5(0x45f)]-0x1}),!0x0):!0x1;}[_0x37f2f7(0x282)](_0x553318){var _0x349f00=_0x37f2f7;this[_0x349f00(0x209)][_0x349f00(0x29f)](this[_0x349f00(0x2ed)],_0x553318);}['_transformSelections'](_0x423686){var _0x1a8f78=_0x37f2f7,_0x796cdb,_0x38bef0;(_0x38bef0=(_0x796cdb=this['_handler'])['onTransformSelections'])==null||_0x38bef0[_0x1a8f78(0x3ca)](_0x796cdb,_0x423686);}[_0x37f2f7(0x2ee)](_0x3641cd){var _0x28652e=_0x37f2f7,_0x2b3661,_0x38bf81;return(_0x38bf81=(_0x2b3661=this[_0x28652e(0x4b0)])[_0x28652e(0x3a5)])==null?void 0x0:_0x38bf81[_0x28652e(0x3ca)](_0x2b3661,_0x3641cd);}[_0x37f2f7(0x465)](_0x1834c8){var _0x313687=_0x37f2f7,_0x1a5c51,_0x40038d;return(_0x40038d=(_0x1a5c51=this[_0x313687(0x4b0)])[_0x313687(0x293)])==null?void 0x0:_0x40038d['call'](_0x1a5c51,_0x1834c8);}[_0x37f2f7(0x3b3)](_0x524f09){var _0x2c48e6=_0x37f2f7,_0x4c8f8c,_0x176db7,_0x179089;return(_0x179089=(_0x176db7=(_0x4c8f8c=this[_0x2c48e6(0x4b0)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x176db7[_0x2c48e6(0x3ca)](_0x4c8f8c,_0x524f09))!=null?_0x179089:_0x524f09;}['_transformRemoteChangesetByStateCache'](_0x4c5846){var _0x3232a6=_0x37f2f7,_0x3e7bfb,_0x24f301,_0x5f380e;return(_0x5f380e=(_0x24f301=(_0x3e7bfb=this['_handler'])[_0x3232a6(0x397)])==null?void 0x0:_0x24f301['call'](_0x3e7bfb,_0x4c5846))!=null?_0x5f380e:_0x4c5846;}[_0x37f2f7(0x26e)](_0x2a791c){var _0x3b0882=_0x37f2f7,_0x1bc11b,_0x187be3;if(this[_0x3b0882(0x279)]===Z[_0x3b0882(0x20a)]){const {unitID:_0x1e4a69,mutations:_0xffe38d,memberID:_0x55fd0b}=_0x2a791c,_0x4ee19d=_0xffe38d[0x0][_0x3b0882(0x1ed)]['textRanges'];Array[_0x3b0882(0x245)](_0x4ee19d)&&_0x4ee19d[_0x3b0882(0x4a9)]>0x0&&((_0x187be3=(_0x1bc11b=this[_0x3b0882(0x4b0)])[_0x3b0882(0x23c)])==null||_0x187be3[_0x3b0882(0x3ca)](_0x1bc11b,{'unitID':_0x1e4a69,'memberID':_0x55fd0b,'textRanges':_0x4ee19d}));}}[_0x37f2f7(0x20e)](){var _0x1e9711=_0x37f2f7,_0x4f4067;(_0x4f4067=this[_0x1e9711(0x4ce)])==null||_0x4f4067[_0x1e9711(0x1f1)](this['unitID'],this[_0x1e9711(0x279)],this[_0x1e9711(0x4e5)],this['_pendingMutations']);}[_0x37f2f7(0x492)](){var _0x5df969=_0x37f2f7;return this[_0x5df969(0x48e)]['getCurrentRevOfUnit'](this[_0x5df969(0x2ed)]);}[_0x37f2f7(0x4b6)](){var _0x2f8116=_0x37f2f7;this[_0x2f8116(0x48e)][_0x2f8116(0x212)](this[_0x2f8116(0x2ed)]);}[_0x37f2f7(0x384)](_0x1c2232){var _0x519f61=_0x37f2f7,_0x37b13c;let _0x5003f1=this[_0x519f61(0x3b3)](_0x1c2232);_0x5003f1=this[_0x519f61(0x41b)](_0x5003f1);const _0x12716c=_0x2c03b3(_0x5003f1[_0x519f61(0x295)],this[_0x519f61(0x40e)],{'fromCollab':!0x0});if(!_0x12716c['result'])throw _0x12716c['error']instanceof Error?_0x12716c['error']:new Error((_0x37b13c=_0x12716c[_0x519f61(0x302)])!=null?_0x37b13c:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x5003f1),this[_0x519f61(0x465)](_0x5003f1),this[_0x519f61(0x282)](_0x1c2232),this[_0x519f61(0x3ad)](_0x5003f1),this[_0x519f61(0x26e)](_0x5003f1),this[_0x519f61(0x4b6)]();}}let ye=class extends Te{constructor(_0x36b23d,_0x16959d,_0x3f3855,_0x404ecb,_0x58bd3d,_0xbaf7df,_0x11db35,_0x2ddace,_0x2dfdfd,_0xab9b7){var _0x3dddf1=_0x37f2f7;super(_0x36b23d,_0x16959d,null,[],_0x3f3855,_0x11db35,_0xbaf7df,_0x404ecb,_0xab9b7),N(this,_0x3dddf1(0x3c5),_0x3dddf1(0x283)),(this[_0x3dddf1(0x388)]=_0x58bd3d,this['_logService']=_0x2ddace,this[_0x3dddf1(0x31b)]=_0x2dfdfd,this['localCacheService']=_0xab9b7);}[_0x37f2f7(0x38e)](_0x55caef){var _0x1e9360=_0x37f2f7;const _0x3f315d=this[_0x1e9360(0x388)][_0x1e9360(0x28f)](re,this['unitID'],this[_0x1e9360(0x279)],[_0x55caef],this[_0x1e9360(0x4b0)]);return _0x3f315d['_schedule'](),_0x3f315d['_updateLocalCache'](),_0x3f315d;}[_0x37f2f7(0x441)](_0x3bbca3){var _0x58d3e0=_0x37f2f7;if(this['_checkMissing'](_0x3bbca3))return this[_0x58d3e0(0x388)]['createInstance'](Q,this['unitID'],this[_0x58d3e0(0x279)],null,[],null,[_0x3bbca3],this[_0x58d3e0(0x4b0)]);try{const _0x4784a5=this[_0x58d3e0(0x31b)][_0x58d3e0(0x1fb)](_0x3bbca3,[Js]);if(_0x2ef70b(_0x4784a5)){const {c1Prime:_0x3ac539}=_0x4784a5;return this[_0x58d3e0(0x384)](_0x3ac539),this;}throw _0x4784a5[_0x58d3e0(0x302)];}catch(_0x1884eb){return this[_0x58d3e0(0x425)][_0x58d3e0(0x302)](_0x1884eb),this[_0x58d3e0(0x26b)](!0x1);}}['_onConflict'](_0x21e83c){var _0x59f4ac=_0x37f2f7;return this[_0x59f4ac(0x388)][_0x59f4ac(0x28f)](le,this[_0x59f4ac(0x2ed)],this[_0x59f4ac(0x279)],null,[],this[_0x59f4ac(0x4b0)],_0x21e83c);}[_0x37f2f7(0x3f2)](){var _0x417743=_0x37f2f7;throw new Error(_0x417743(0x4b2));}[_0x37f2f7(0x251)](){var _0x3be1d4=_0x37f2f7;throw new Error(_0x3be1d4(0x2fb));}[_0x37f2f7(0x2c5)](){return this;}[_0x37f2f7(0x21b)](){var _0x1adfb0=_0x37f2f7;return this[_0x1adfb0(0x388)][_0x1adfb0(0x28f)](ue,this[_0x1adfb0(0x2ed)],this[_0x1adfb0(0x279)],null,[],this[_0x1adfb0(0x4b0)]);}['toggleOnline'](){return this;}[_0x37f2f7(0x2d3)](){var _0x201d1d=_0x37f2f7;throw new Error(_0x201d1d(0x357));}[_0x37f2f7(0x34a)](){var _0x35c8ea=_0x37f2f7;const _0x3bc847=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x35c8ea(0x359)]({'from':_0x3bc847,'to':0x0}),this[_0x35c8ea(0x388)]['createInstance'](Q,this[_0x35c8ea(0x2ed)],this[_0x35c8ea(0x279)],null,[],null,[],this[_0x35c8ea(0x4b0)]);}};ye=Ie([P(0x3,_0x3ebdbb(_0x5a8cf2)),P(0x4,_0x3ebdbb(_0x57e09f)),P(0x5,_0x5274eb),P(0x6,_0x404e2f),P(0x7,_0x3ec9e5),P(0x8,_0x280463),P(0x9,_0x2a8e41(J))],ye);let re=class extends Te{constructor(_0x5ed738,_0x54308f,_0x1fd268,_0x4e049c,_0x328a39,_0x350eeb,_0xa7cccd,_0x27afd2,_0x1af16b,_0x5b9b25,_0x1f61ad,_0x4ff996,_0x3fdd41,_0x206677){var _0x23d20c=_0x37f2f7;super(_0x5ed738,_0x54308f,null,_0x1fd268,_0x4e049c,_0x1af16b,_0x3fdd41,_0x350eeb,_0x206677),N(this,'status',_0x23d20c(0x362)),N(this,_0x23d20c(0x22c),null),N(this,_0x23d20c(0x2de),null),(this[_0x23d20c(0x388)]=_0x328a39,this[_0x23d20c(0x4ba)]=_0xa7cccd,this['_logService']=_0x27afd2,this[_0x23d20c(0x2a4)]=_0x5b9b25,this['_transformService']=_0x1f61ad,this[_0x23d20c(0x3e0)]=_0x4ff996);}['appendMutation'](_0x2b8e8e){var _0x4f7b78=_0x37f2f7;return this[_0x4f7b78(0x323)]['push'](_0x2b8e8e),this[_0x4f7b78(0x20e)](),this;}[_0x37f2f7(0x441)](_0x25fbb6){var _0x40bdcf=_0x37f2f7;if(this[_0x40bdcf(0x315)](_0x25fbb6))return this['_clearScheduledTask'](),this[_0x40bdcf(0x388)][_0x40bdcf(0x28f)](Q,this[_0x40bdcf(0x2ed)],this[_0x40bdcf(0x279)],null,this[_0x40bdcf(0x323)],null,[_0x25fbb6],this[_0x40bdcf(0x4b0)]);try{const _0x559edb=this[_0x40bdcf(0x31b)][_0x40bdcf(0x1fb)](_0x25fbb6,this[_0x40bdcf(0x323)]);if(_0x2ef70b(_0x559edb)){const {c1Prime:_0x54e080,m2Prime:_0x4ceb22}=_0x559edb;this[_0x40bdcf(0x384)](_0x54e080);const _0x9a561d=this['_injector']['createInstance'](re,this[_0x40bdcf(0x2ed)],this[_0x40bdcf(0x279)],_0x4ceb22,this[_0x40bdcf(0x4b0)]);this['_clearScheduledTask']();const _0x2e41b5=new Date()['getTime'](),_0x3bc5cf=this['_scheduleCompleteTimestamp']?Math[_0x40bdcf(0x447)](this[_0x40bdcf(0x22c)]-_0x2e41b5,0x0):this[_0x40bdcf(0x366)]();return _0x9a561d[_0x40bdcf(0x4e7)](_0x3bc5cf),_0x9a561d;}throw _0x559edb[_0x40bdcf(0x302)];}catch(_0x37e7cd){return this[_0x40bdcf(0x425)][_0x40bdcf(0x302)](_0x37e7cd),this[_0x40bdcf(0x26b)](!0x1);}}[_0x37f2f7(0x3f2)](){var _0x1db449=_0x37f2f7;throw new Error(_0x1db449(0x2bc));}['onRemoteRej'](){var _0xb297bf=_0x37f2f7;throw new Error(_0xb297bf(0x40d));}[_0x37f2f7(0x2c5)](){return this;}[_0x37f2f7(0x21b)](){var _0x11c352=_0x37f2f7;return this['_clearScheduledTask'](),this[_0x11c352(0x388)][_0x11c352(0x28f)](ue,this[_0x11c352(0x2ed)],this[_0x11c352(0x279)],null,this[_0x11c352(0x323)],this[_0x11c352(0x4b0)]);}[_0x37f2f7(0x46f)](){return this;}[_0x37f2f7(0x4e7)](_0x2f154b){var _0x488d78=_0x37f2f7;const _0x30abbc=_0x2f154b!=null?_0x2f154b:this['_getSendChangesetTimeout']();this[_0x488d78(0x22c)]=new Date()[_0x488d78(0x270)]()+_0x30abbc,this[_0x488d78(0x2de)]=setTimeout(()=>{var _0x1cfca0=_0x488d78;this['_clearScheduledTask']();let _0x5bf158=null;switch(this[_0x1cfca0(0x279)]){case Z['UNIVER_SHEET']:{_0x5bf158=Wt(this[_0x1cfca0(0x323)],this[_0x1cfca0(0x2ed)],this[_0x1cfca0(0x3e0)],this[_0x1cfca0(0x48e)],this[_0x1cfca0(0x4ba)]);break;}case Z[_0x1cfca0(0x20a)]:{this['_pendingMutations'][_0x1cfca0(0x318)](_0x19945f=>_0x19945f['id']===_0x385d7b['id'])?_0x5bf158=zs(this[_0x1cfca0(0x323)],this[_0x1cfca0(0x2ed)],this['_univerInstanceService'],this[_0x1cfca0(0x48e)],this['_memberService']):_0x5bf158=Wt(this[_0x1cfca0(0x323)],this['unitID'],this[_0x1cfca0(0x3e0)],this[_0x1cfca0(0x48e)],this[_0x1cfca0(0x4ba)]);break;}default:throw new Error(_0x1cfca0(0x48b)+this[_0x1cfca0(0x279)]+_0x1cfca0(0x2f9));}const {changeset:_0x320b65,pendingMutations:_0x2ba7ae}=_0x5bf158;this[_0x1cfca0(0x4b0)][_0x1cfca0(0x4a2)](_0x320b65);const _0x3523fc=_0x2ba7ae[_0x1cfca0(0x4a9)]?this[_0x1cfca0(0x388)][_0x1cfca0(0x28f)](ae,this[_0x1cfca0(0x2ed)],this[_0x1cfca0(0x279)],_0x320b65,_0x2ba7ae,this[_0x1cfca0(0x4b0)],void 0x0):this[_0x1cfca0(0x388)][_0x1cfca0(0x28f)](_e,this[_0x1cfca0(0x2ed)],this[_0x1cfca0(0x279)],_0x320b65,this['_handler']);_0x3523fc[_0x1cfca0(0x20e)](),this[_0x1cfca0(0x4b0)]['onStateChange'](this,_0x3523fc);},_0x30abbc);}[_0x37f2f7(0x366)](){var _0x3b5f7=_0x37f2f7,_0x399261;const _0x56d47f=this[_0x3b5f7(0x2a4)][_0x3b5f7(0x41c)](K);return(_0x399261=_0x56d47f==null?void 0x0:_0x56d47f[_0x3b5f7(0x446)])!=null?_0x399261:ms;}['resend'](){var _0x597a7f=_0x37f2f7;throw new Error(_0x597a7f(0x35f));}['_clearScheduledTask'](){var _0x9aae7b=_0x37f2f7;this[_0x9aae7b(0x2de)]!=null&&(clearTimeout(this[_0x9aae7b(0x2de)]),this['_sendingTimer']=null);}[_0x37f2f7(0x26b)](_0x2a18bd){var _0x3014ce=_0x37f2f7;return this[_0x3014ce(0x210)](),this[_0x3014ce(0x388)][_0x3014ce(0x28f)](le,this[_0x3014ce(0x2ed)],this[_0x3014ce(0x279)],null,this[_0x3014ce(0x323)],this[_0x3014ce(0x4b0)],_0x2a18bd);}};re=Ie([P(0x4,_0x3ebdbb(_0x57e09f)),P(0x5,_0x3ebdbb(_0x5a8cf2)),P(0x6,_0x3ebdbb(Pe)),P(0x7,_0x3ec9e5),P(0x8,_0x404e2f),P(0x9,_0x4ac810),P(0xa,_0x280463),P(0xb,_0x243a7a),P(0xc,_0x5274eb),P(0xd,_0x2a8e41(J))],re);let _e=class extends Te{constructor(_0x5af2c2,_0x4da4aa,_0x365d34,_0x270425,_0x466976,_0x53289b,_0x38847b,_0x1d6d65,_0x359142,_0xbf014c,_0x2df2f2){var _0xd932c3=_0x37f2f7;super(_0x5af2c2,_0x4da4aa,_0x365d34,[],_0x270425,_0x38847b,_0xbf014c,_0x53289b,_0x2df2f2),N(this,_0xd932c3(0x3c5),_0xd932c3(0x49c)),N(this,'_resendTimeout',0x0),N(this,_0xd932c3(0x409)),N(this,_0xd932c3(0x2df)),(this[_0xd932c3(0x388)]=_0x466976,this[_0xd932c3(0x425)]=_0x1d6d65,this['_transformService']=_0x359142);}[_0x37f2f7(0x38e)](_0x475a3f){var _0x4afa49=_0x37f2f7;this[_0x4afa49(0x210)]();const _0x1f1335=this[_0x4afa49(0x388)][_0x4afa49(0x28f)](ae,this[_0x4afa49(0x2ed)],this[_0x4afa49(0x279)],this[_0x4afa49(0x4e5)],[_0x475a3f],this['_handler'],this[_0x4afa49(0x409)]);return _0x1f1335[_0x4afa49(0x20e)](),_0x1f1335;}[_0x37f2f7(0x441)](_0x38e972){var _0x373dac=_0x37f2f7;if(this[_0x373dac(0x315)](_0x38e972))return this[_0x373dac(0x210)](),this[_0x373dac(0x388)][_0x373dac(0x28f)](Q,this[_0x373dac(0x2ed)],this[_0x373dac(0x279)],this[_0x373dac(0x4e5)],[],null,[_0x38e972],this[_0x373dac(0x4b0)]);try{const _0x26d399=this[_0x373dac(0x31b)][_0x373dac(0x2bf)]([_0x38e972],[this[_0x373dac(0x4e5)]],!0x1);if(_0x218c5a(_0x26d399)){const {c1Prime:_0x2b82d4,c2Prime:_0x296e1b}=_0x26d399;this[_0x373dac(0x384)](_0x2b82d4[0x0]),_0x296e1b[0x0][_0x373dac(0x4f3)]=this[_0x373dac(0x492)](),this['_clearScheduledTask']();const _0x916957=this[_0x373dac(0x388)]['createInstance'](_e,this[_0x373dac(0x2ed)],this[_0x373dac(0x279)],_0x296e1b[0x0],this[_0x373dac(0x4b0)]);return _0x916957['_updateLocalCache'](),_0x916957;}return this['_onConflict'](!0x1);}catch(_0x99100){return this[_0x373dac(0x425)][_0x373dac(0x302)](_0x99100),this['_onConflict'](!0x1);}}[_0x37f2f7(0x3f2)](_0x3c4ce3){var _0x571171=_0x37f2f7;this['_clearScheduledTask']();const _0x3aba79=this[_0x571171(0x48e)][_0x571171(0x353)](this[_0x571171(0x2ed)]);if(_0x3c4ce3['revision']<_0x3aba79-0x1)return this;if(this[_0x571171(0x315)](_0x3c4ce3))return this[_0x571171(0x388)]['createInstance'](Q,this[_0x571171(0x2ed)],this['type'],null,[],this[_0x571171(0x4e5)],[],this[_0x571171(0x4b0)]);this[_0x571171(0x4b6)]();const _0x3eef15=this[_0x571171(0x388)]['createInstance'](ye,this[_0x571171(0x2ed)],this[_0x571171(0x279)],this[_0x571171(0x4b0)]);return _0x3eef15['_updateLocalCache'](),_0x3eef15;}[_0x37f2f7(0x251)](_0x9c29de){var _0x5945a5=_0x37f2f7;return this[_0x5945a5(0x26b)](!!(_0x9c29de!=null&&_0x9c29de[_0x5945a5(0x3d3)]));}[_0x37f2f7(0x2c5)](_0x5aa7b5){var _0x375ca4=_0x37f2f7;return this[_0x375ca4(0x4be)]>Ci?this['toggleOffline']():(this[_0x375ca4(0x409)]=Ii(this[_0x375ca4(0x4be)],{'timeout':this[_0x375ca4(0x4be)],'reqId':_0x5aa7b5[_0x375ca4(0x4af)]}),this['_sender']=this[_0x375ca4(0x409)][_0x375ca4(0x333)](({reqId:_0x92192e,timeout:_0x4a6111})=>{var _0x2ff5eb=_0x375ca4;this[_0x2ff5eb(0x218)](_0x92192e,_0x4a6111);}),this);}[_0x37f2f7(0x21b)](){var _0x329eb9=_0x37f2f7;return this['_clearScheduledTask'](),this[_0x329eb9(0x388)]['createInstance'](ue,this[_0x329eb9(0x2ed)],this[_0x329eb9(0x279)],this[_0x329eb9(0x4e5)],[],this[_0x329eb9(0x4b0)]);}['toggleOnline'](){return this;}['resend'](){var _0x3aba16=_0x37f2f7;this[_0x3aba16(0x4b0)][_0x3aba16(0x4a2)](this[_0x3aba16(0x4e5)]);}[_0x37f2f7(0x26b)](_0x1cb0ce){var _0x36d219=_0x37f2f7;return this[_0x36d219(0x210)](),this[_0x36d219(0x388)][_0x36d219(0x28f)](le,this[_0x36d219(0x2ed)],this['type'],this[_0x36d219(0x4e5)],[],this['_handler'],_0x1cb0ce);}[_0x37f2f7(0x218)](_0x598649,_0x6bcc88){var _0x160973=_0x37f2f7,_0x69683f;_0x598649===((_0x69683f=this[_0x160973(0x4e5)])==null?void 0x0:_0x69683f[_0x160973(0x4af)])&&(this['resend'](),this[_0x160973(0x4be)]=_0x6bcc88===0x0?0x3e8:_0x6bcc88*0x2);}['_clearScheduledTask'](){var _0x55f795=_0x37f2f7,_0x338868;(_0x338868=this[_0x55f795(0x2df)])==null||_0x338868[_0x55f795(0x3f4)](),this[_0x55f795(0x4be)]=0x0;}};_e=Ie([P(0x4,_0x3ebdbb(_0x57e09f)),P(0x5,_0x3ebdbb(_0x5a8cf2)),P(0x6,_0x404e2f),P(0x7,_0x3ec9e5),P(0x8,_0x280463),P(0x9,_0x5274eb),P(0xa,_0x2a8e41(J))],_e);let ae=class extends Te{constructor(_0x4ecdf2,_0x37620a,_0x151ef3,_0x2f0e0c,_0x41232b,_0x1aa89c,_0x41426f,_0x4cc4e0,_0x116b15,_0xba2224,_0x15dd58,_0x3e6246,_0x3aa23c){var _0x1c10d7=_0x37f2f7;super(_0x4ecdf2,_0x37620a,_0x151ef3,_0x2f0e0c,_0x41232b,_0x116b15,_0x3e6246,_0x4cc4e0,_0x3aa23c),N(this,_0x1c10d7(0x3c5),_0x1c10d7(0x304)),N(this,_0x1c10d7(0x4be),0x0),N(this,_0x1c10d7(0x409)),N(this,_0x1c10d7(0x2df)),(this[_0x1c10d7(0x388)]=_0x41426f,this[_0x1c10d7(0x425)]=_0xba2224,this[_0x1c10d7(0x31b)]=_0x15dd58,this[_0x1c10d7(0x351)]=_0x3aa23c,_0x1aa89c&&(this[_0x1c10d7(0x409)]=_0x1aa89c,this[_0x1c10d7(0x2df)]=this['_resendTimer'][_0x1c10d7(0x333)](({reqId:_0x3566a,timeout:_0x1bbdcf})=>{var _0x5a53d6=_0x1c10d7;this[_0x5a53d6(0x218)](_0x3566a,_0x1bbdcf);})));}[_0x37f2f7(0x38e)](_0xb2be38){var _0x2753fc=_0x37f2f7;return this[_0x2753fc(0x323)][_0x2753fc(0x305)](_0xb2be38),this;}['onRemoteChangeset'](_0xee62c4){var _0x465f12=_0x37f2f7;if(this[_0x465f12(0x315)](_0xee62c4))return this[_0x465f12(0x210)](),this[_0x465f12(0x388)][_0x465f12(0x28f)](Q,this[_0x465f12(0x2ed)],this[_0x465f12(0x279)],this[_0x465f12(0x4e5)],this[_0x465f12(0x323)],null,[_0xee62c4],this[_0x465f12(0x4b0)]);try{const _0xc2b6c9=this[_0x465f12(0x31b)][_0x465f12(0x2bf)]([_0xee62c4],[this['_awaitingChangeset']],!0x1);if(_0x218c5a(_0xc2b6c9)){const {c1Prime:_0x1f5b1a,c2Prime:_0x2691cc}=_0xc2b6c9,_0xa33f43=this[_0x465f12(0x31b)]['transformMutationsWithChangeset'](_0x1f5b1a[0x0],this[_0x465f12(0x323)]);if(_0x2ef70b(_0xa33f43)){const {c1Prime:_0x156c51,m2Prime:_0x42f0c3}=_0xa33f43;return this[_0x465f12(0x384)](_0x156c51),_0x2691cc[0x0][_0x465f12(0x4f3)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x465f12(0x388)][_0x465f12(0x28f)](ae,this['unitID'],this['type'],_0x2691cc[0x0],_0x42f0c3,this['_handler'],void 0x0);}throw _0xa33f43['error'];}throw _0xc2b6c9[_0x465f12(0x302)];}catch(_0xae5fa8){return this['_logService'][_0x465f12(0x302)](_0xae5fa8),this[_0x465f12(0x26b)](!0x1);}}['onRemoteAck'](_0x4f1a90){var _0x3c5e7d=_0x37f2f7;if(this[_0x3c5e7d(0x210)](),this['_checkMissing'](_0x4f1a90))return this[_0x3c5e7d(0x388)]['createInstance'](Q,this[_0x3c5e7d(0x2ed)],this[_0x3c5e7d(0x279)],null,this['_pendingMutations'],this[_0x3c5e7d(0x4e5)],[],this[_0x3c5e7d(0x4b0)]);this['_incrementRevisionNumber']();const _0x334b42=this['_injector'][_0x3c5e7d(0x28f)](re,this['unitID'],this[_0x3c5e7d(0x279)],this[_0x3c5e7d(0x323)],this[_0x3c5e7d(0x4b0)]);return _0x334b42[_0x3c5e7d(0x4e7)](),_0x334b42[_0x3c5e7d(0x20e)](),_0x334b42;}[_0x37f2f7(0x251)](_0x11c990){var _0x8b3679=_0x37f2f7;return this[_0x8b3679(0x26b)](!!(_0x11c990!=null&&_0x11c990[_0x8b3679(0x3d3)]));}[_0x37f2f7(0x2c5)](_0x54676d){var _0x3b9915=_0x37f2f7;return this[_0x3b9915(0x4be)]>Ci?this[_0x3b9915(0x21b)]():(this[_0x3b9915(0x409)]=Ii(this[_0x3b9915(0x4be)],{'timeout':this[_0x3b9915(0x4be)],'reqId':_0x54676d[_0x3b9915(0x4af)]}),this[_0x3b9915(0x2df)]=this['_resendTimer']['subscribe'](({reqId:_0x3f1994,timeout:_0x2f778a})=>{this['_resendWithTimeout'](_0x3f1994,_0x2f778a);}),this);}[_0x37f2f7(0x21b)](){var _0x2ce791=_0x37f2f7;return this['_clearScheduledTask'](),this[_0x2ce791(0x388)][_0x2ce791(0x28f)](ue,this[_0x2ce791(0x2ed)],this[_0x2ce791(0x279)],this[_0x2ce791(0x4e5)],this['_pendingMutations'],this[_0x2ce791(0x4b0)]);}[_0x37f2f7(0x46f)](){return this;}[_0x37f2f7(0x2d3)](){var _0x4f4aee=_0x37f2f7;this[_0x4f4aee(0x4b0)][_0x4f4aee(0x4a2)](this[_0x4f4aee(0x4e5)]);}[_0x37f2f7(0x26b)](_0x3c4a46){var _0x4e9672=_0x37f2f7;return this[_0x4e9672(0x210)](),this[_0x4e9672(0x388)][_0x4e9672(0x28f)](le,this['unitID'],this['type'],null,this[_0x4e9672(0x323)],this[_0x4e9672(0x4b0)],_0x3c4a46);}[_0x37f2f7(0x218)](_0x5524a3,_0x3888cb){var _0x26d410=_0x37f2f7,_0x11d6c8;_0x5524a3===((_0x11d6c8=this[_0x26d410(0x4e5)])==null?void 0x0:_0x11d6c8[_0x26d410(0x4af)])&&(this[_0x26d410(0x2d3)](),this[_0x26d410(0x4be)]=_0x3888cb===0x0?0x3e8:_0x3888cb*0x2);}[_0x37f2f7(0x210)](){var _0x476b00=_0x37f2f7,_0x181137;(_0x181137=this[_0x476b00(0x2df)])==null||_0x181137[_0x476b00(0x3f4)](),this[_0x476b00(0x4be)]=0x0;}};ae=Ie([P(0x6,_0x3ebdbb(_0x57e09f)),P(0x7,_0x3ebdbb(_0x5a8cf2)),P(0x8,_0x404e2f),P(0x9,_0x3ec9e5),P(0xa,_0x280463),P(0xb,_0x5274eb),P(0xc,_0x2a8e41(J))],ae);let le=class extends Te{constructor(_0x312e54,_0x14ba18,_0x30caea,_0x37a1ff,_0x58076d,_0x3f01b2=!0x1,_0x52ac31,_0x3dba44,_0x508393,_0xe8d42a,_0x2b94b8,_0x3c6cc0,_0x2bd640){var _0x2a8a83=_0x37f2f7;super(_0x312e54,_0x14ba18,_0x30caea,_0x37a1ff,_0x58076d,_0x3dba44,_0x508393,_0xe8d42a,_0x2bd640),N(this,'status',_0x2a8a83(0x32b)),(this[_0x2a8a83(0x3ae)]=_0x3f01b2,this[_0x2a8a83(0x37a)]=_0x52ac31,this[_0x2a8a83(0x1e3)]=_0x2b94b8,this[_0x2a8a83(0x395)]=_0x3c6cc0,this[_0x2a8a83(0x351)]=_0x2bd640,this[_0x2a8a83(0x27e)](),this[_0x2a8a83(0x452)](),this[_0x2a8a83(0x229)]());}[_0x37f2f7(0x38e)](){return this;}[_0x37f2f7(0x441)](){return this;}[_0x37f2f7(0x3f2)](){return this;}[_0x37f2f7(0x251)](){return this;}[_0x37f2f7(0x2c5)](){return this;}[_0x37f2f7(0x21b)](){return this;}[_0x37f2f7(0x46f)](){return this;}[_0x37f2f7(0x2d3)](){var _0x25b818=_0x37f2f7;throw new Error(_0x25b818(0x3d4));}[_0x37f2f7(0x452)](){var _0x109213=_0x37f2f7,_0xefaada;(_0xefaada=this[_0x109213(0x4ce)])==null||_0xefaada['updateOfflineData'](this[_0x109213(0x2ed)],this[_0x109213(0x279)],null,[]);}[_0x37f2f7(0x27e)](){var _0x4c2eaa=_0x37f2f7;this[_0x4c2eaa(0x3ae)]?this[_0x4c2eaa(0x395)]['emitEvent']({'id':ne[_0x4c2eaa(0x228)]}):this[_0x4c2eaa(0x395)]['emitEvent']({'id':ne['CONFLICT']});}[_0x37f2f7(0x229)](){var _0x6f0854=_0x37f2f7;this['_permissionService'][_0x6f0854(0x4a1)](new _0x4b3b4d(this[_0x6f0854(0x2ed)])['id'],!0x1);}};le=Ie([P(0x6,_0x3ebdbb(_0x166cf6)),P(0x7,_0x404e2f),P(0x8,_0x5274eb),P(0x9,_0x3ebdbb(_0x5a8cf2)),P(0xa,_0x3ebdbb(_0x425e89)),P(0xb,_0x3ebdbb(ve)),P(0xc,_0x2a8e41(J))],le);let ue=class extends Te{constructor(_0x32fbcd,_0x192795,_0x208761,_0x302d7,_0x2fe680,_0x191601,_0x3eb213,_0x5e011d,_0x1c1519,_0x2de620){var _0x5a73d5=_0x37f2f7;super(_0x32fbcd,_0x192795,_0x208761,_0x302d7,_0x2fe680,_0x5e011d,_0x1c1519,_0x3eb213,_0x2de620),N(this,'status','offline'),this[_0x5a73d5(0x388)]=_0x191601;}[_0x37f2f7(0x38e)](_0x278f37){var _0x4d9762=_0x37f2f7;return this[_0x4d9762(0x323)][_0x4d9762(0x305)](_0x278f37),this[_0x4d9762(0x20e)](),this;}[_0x37f2f7(0x441)](_0x1ad16c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x37f2f7(0x3f2)](){var _0x5dfe41=_0x37f2f7;throw new Error(_0x5dfe41(0x36b));}[_0x37f2f7(0x251)](){var _0x37fd37=_0x37f2f7;throw new Error(_0x37fd37(0x219));}[_0x37f2f7(0x2c5)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x56bc9b=_0x37f2f7;const {_injector:_0x2f4ed4,_pendingMutations:_0x27f1e4,_awaitingChangeset:_0x4646fa,unitID:_0x4bc0c6,_handler:_0x47f417,type:_0x6ba6c7}=this,_0x5f1f01=Ri(_0x2f4ed4,_0x4bc0c6,_0x6ba6c7,_0x4646fa,_0x27f1e4,_0x47f417);return _0x5f1f01 instanceof re?_0x5f1f01['_schedule']():(_0x5f1f01 instanceof ae||_0x5f1f01 instanceof _e)&&_0x5f1f01[_0x56bc9b(0x2d3)](),_0x5f1f01;}[_0x37f2f7(0x2d3)](){var _0x85fe27=_0x37f2f7;throw new Error(_0x85fe27(0x389));}};ue=Ie([P(0x5,_0x3ebdbb(_0x57e09f)),P(0x6,_0x3ebdbb(_0x5a8cf2)),P(0x7,_0x404e2f),P(0x8,_0x5274eb),P(0x9,_0x2a8e41(J))],ue);let Q=class extends Te{constructor(_0x225218,_0x222707,_0x5a4d52,_0x5b6693,_0x2bbb57,_0x559f56,_0x12595f,_0x490ddf,_0x14ce8e,_0x5b7730,_0x5ac877,_0x30e60f,_0xee0f11,_0x6b2409){var _0x49b623=_0x37f2f7;super(_0x225218,_0x222707,_0x5a4d52,_0x5b6693,_0x12595f,_0x5ac877,_0x30e60f,_0x14ce8e,_0x6b2409),N(this,_0x49b623(0x3c5),_0x49b623(0x4ad)),(this[_0x49b623(0x1e2)]=_0x2bbb57,this['_queuedRemoteChangesets']=_0x559f56,this[_0x49b623(0x388)]=_0x490ddf,this[_0x49b623(0x425)]=_0x5b7730,this[_0x49b623(0x31b)]=_0xee0f11,this[_0x49b623(0x351)]=_0x6b2409);}[_0x37f2f7(0x3df)](_0x27ce39){var _0x3ac34e=_0x37f2f7;try{const _0x3cef3=[..._0x27ce39,...this[_0x3ac34e(0x37e)]],_0x6ff04f=[this[_0x3ac34e(0x4e5)]||this[_0x3ac34e(0x1e2)]][_0x3ac34e(0x3cb)](_0x3117fe=>!!_0x3117fe);let _0x1b1a4f,_0x376a50;if(_0x6ff04f['length']){const _0x3e5cf1=this[_0x3ac34e(0x31b)][_0x3ac34e(0x2bf)](_0x3cef3,_0x6ff04f,!0x1);if(!_0x218c5a(_0x3e5cf1))throw _0x3e5cf1['error'];_0x1b1a4f=_0x3e5cf1[_0x3ac34e(0x299)],_0x376a50=_0x3e5cf1[_0x3ac34e(0x236)];}else _0x1b1a4f=_0x3cef3,_0x376a50=[];let _0x1cf480=this['_pendingMutations'];_0x1b1a4f[_0x3ac34e(0x3cd)](_0x457918=>{var _0x256490=_0x3ac34e;let _0x5e015b;if(_0x1cf480['length']){const _0x4531aa=this[_0x256490(0x31b)][_0x256490(0x1fb)](_0x457918,_0x1cf480);if(!_0x2ef70b(_0x4531aa))throw _0x4531aa[_0x256490(0x302)];_0x5e015b=_0x4531aa['c1Prime'],_0x1cf480=_0x4531aa[_0x256490(0x2b3)];}else _0x5e015b=_0x457918;this['_executeRemoteChangeset'](_0x5e015b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3ac34e(0x4b6)](),this[_0x3ac34e(0x4e5)]&&_0x376a50['length']&&(_0x376a50[0x0][_0x3ac34e(0x4f3)]=this['_getCurrentRevision']());let _0x1c9ac8;if(this[_0x3ac34e(0x4e5)]&&_0x1cf480[_0x3ac34e(0x4a9)]!==0x0)_0x1c9ac8=this[_0x3ac34e(0x388)][_0x3ac34e(0x28f)](ae,this[_0x3ac34e(0x2ed)],this[_0x3ac34e(0x279)],_0x376a50[0x0],_0x1cf480,this['_handler'],void 0x0);else{if(this[_0x3ac34e(0x4e5)]&&_0x1cf480['length']===0x0)_0x376a50[0x0]['baseRev']=this[_0x3ac34e(0x492)](),_0x1c9ac8=this['_injector'][_0x3ac34e(0x28f)](_e,this[_0x3ac34e(0x2ed)],this[_0x3ac34e(0x279)],_0x376a50[0x0],this[_0x3ac34e(0x4b0)]);else{if(_0x1cf480[_0x3ac34e(0x4a9)]!==0x0){const _0xf94469=this[_0x3ac34e(0x388)][_0x3ac34e(0x28f)](re,this[_0x3ac34e(0x2ed)],this[_0x3ac34e(0x279)],_0x1cf480,this[_0x3ac34e(0x4b0)]);_0xf94469[_0x3ac34e(0x4e7)](),_0x1c9ac8=_0xf94469;}else _0x1c9ac8=this[_0x3ac34e(0x388)][_0x3ac34e(0x28f)](ye,this['unitID'],this[_0x3ac34e(0x279)],this['_handler']);}}return _0x1c9ac8[_0x3ac34e(0x20e)](),_0x1c9ac8;}catch(_0x5d9069){return this['_logService'][_0x3ac34e(0x302)](_0x3ac34e(0x2b0),_0x3ac34e(0x3b9),_0x5d9069),this['_injector'][_0x3ac34e(0x28f)](le,this[_0x3ac34e(0x2ed)],this[_0x3ac34e(0x279)],this[_0x3ac34e(0x4e5)],this[_0x3ac34e(0x323)],this[_0x3ac34e(0x4b0)],!0x1);}}[_0x37f2f7(0x2d3)](){var _0x1176f7=_0x37f2f7;throw new Error(_0x1176f7(0x346));}[_0x37f2f7(0x38e)](_0x3d1ea0){var _0x2af6e1=_0x37f2f7;return this[_0x2af6e1(0x323)][_0x2af6e1(0x305)](_0x3d1ea0),this;}[_0x37f2f7(0x441)](_0x2b46cc){var _0x337bd3=_0x37f2f7;return this[_0x337bd3(0x37e)][_0x337bd3(0x305)](_0x2b46cc),this;}[_0x37f2f7(0x3f2)](_0x3ffb06){var _0xd71e96=_0x37f2f7;if(this[_0xd71e96(0x4e5)])return this[_0xd71e96(0x1e2)]=this[_0xd71e96(0x4e5)],this['_awaitingChangeset']=null,this;throw new Error(_0xd71e96(0x203));}['onRemoteRej'](_0x3dbe32){var _0x11cc9b=_0x37f2f7;return this[_0x11cc9b(0x26b)](!!(_0x3dbe32!=null&&_0x3dbe32[_0x11cc9b(0x3d3)]));}[_0x37f2f7(0x2c5)](){return this;}[_0x37f2f7(0x21b)](){var _0x82da1d=_0x37f2f7;return this[_0x82da1d(0x388)][_0x82da1d(0x28f)](ue,this[_0x82da1d(0x2ed)],this[_0x82da1d(0x279)],this[_0x82da1d(0x4e5)],this['_pendingMutations'],this['_handler']);}[_0x37f2f7(0x46f)](){return this;}[_0x37f2f7(0x26b)](_0x51a760){var _0x156c65=_0x37f2f7;return this[_0x156c65(0x388)][_0x156c65(0x28f)](le,this[_0x156c65(0x2ed)],this['type'],this[_0x156c65(0x4e5)],this[_0x156c65(0x323)],this[_0x156c65(0x4b0)],_0x51a760);}};Q=Ie([P(0x7,_0x3ebdbb(_0x57e09f)),P(0x8,_0x3ebdbb(_0x5a8cf2)),P(0x9,_0x3ec9e5),P(0xa,_0x404e2f),P(0xb,_0x5274eb),P(0xc,_0x280463),P(0xd,_0x2a8e41(J))],Q);function Ri(_0x1e3bea,_0x297f8f,_0x17aa2d,_0x24f67b,_0x306897,_0x2a5a45){var _0x2581a4=_0x37f2f7;return _0x24f67b&&_0x306897['length']?_0x1e3bea['createInstance'](ae,_0x297f8f,_0x17aa2d,_0x24f67b,_0x306897,_0x2a5a45,void 0x0):_0x24f67b?_0x1e3bea[_0x2581a4(0x28f)](_e,_0x297f8f,_0x17aa2d,_0x24f67b,_0x2a5a45):_0x306897[_0x2581a4(0x4a9)]?_0x1e3bea[_0x2581a4(0x28f)](re,_0x297f8f,_0x17aa2d,_0x306897,_0x2a5a45):_0x1e3bea['createInstance'](ye,_0x297f8f,_0x17aa2d,_0x2a5a45);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x2b2c7d,_0xc56e40,_0x357a0b,_0x43b5c7)=>{var _0x34b8a9=_0x37f2f7;for(var _0x2deaef=_0x43b5c7>0x1?void 0x0:_0x43b5c7?Zs(_0xc56e40,_0x357a0b):_0xc56e40,_0x462467=_0x2b2c7d[_0x34b8a9(0x4a9)]-0x1,_0x32aa0e;_0x462467>=0x0;_0x462467--)(_0x32aa0e=_0x2b2c7d[_0x462467])&&(_0x2deaef=_0x32aa0e(_0x2deaef)||_0x2deaef);return _0x2deaef;},H=(_0x849d05,_0x473d41)=>(_0x52db81,_0x6ca38d)=>_0x473d41(_0x52db81,_0x6ca38d,_0x849d05);let st=class extends _0x413ca7{constructor(_0x173919,_0x4845bf,_0x11bdb8,_0xac1265,_0x3c9b26,_0x10fc99,_0x2079d7,_0x3d7267,_0x24da7c,_0x2b05fb,_0x3fef5d,_0x569491,_0x1f2f90){var _0xe57006=_0x37f2f7;super(),N(this,_0xe57006(0x22b),new _0x27a87d(null)),N(this,_0xe57006(0x23a),this[_0xe57006(0x22b)][_0xe57006(0x1fd)]()),N(this,_0xe57006(0x4dd)),N(this,_0xe57006(0x342),!0x1),N(this,'_changesetSessionId',''),N(this,_0xe57006(0x3c3),0x0),N(this,_0xe57006(0x1f9),this[_0xe57006(0x23a)][_0xe57006(0x3bb)](_0x1f90b0(_0x2a3127=>_0x2a3127?_0x2a3127[_0xe57006(0x3c5)]:Ti[_0xe57006(0x4da)]),_0x817a25(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0xe57006(0x464),[]),(this['unitID']=_0x173919,this[_0xe57006(0x39e)]=_0x4845bf,this[_0xe57006(0x3ce)]=_0x11bdb8,this[_0xe57006(0x388)]=_0xac1265,this[_0xe57006(0x285)]=_0x3c9b26,this[_0xe57006(0x1e3)]=_0x10fc99,this[_0xe57006(0x48e)]=_0x2079d7,this[_0xe57006(0x4ab)]=_0x3d7267,this[_0xe57006(0x425)]=_0x24da7c,this[_0xe57006(0x40e)]=_0x2b05fb,this[_0xe57006(0x37a)]=_0x3fef5d,this[_0xe57006(0x4db)]=_0x569491,this[_0xe57006(0x4ce)]=_0x1f2f90);}get[_0x37f2f7(0x247)](){return this['_state'];}async[_0x37f2f7(0x226)](){var _0x168beb=_0x37f2f7;if(this[_0x168beb(0x247)])throw new Error(_0x168beb(0x3f1));await this[_0x168beb(0x4c4)]();}[_0x37f2f7(0x284)](){var _0x457743=_0x37f2f7;return this[_0x457743(0x342)]=!0x0,_0x58da12(()=>{var _0x22aaf0=_0x457743;this[_0x22aaf0(0x342)]=!0x1,this[_0x22aaf0(0x3e7)]();});}[_0x37f2f7(0x376)](_0x145420){var _0x1fc130=_0x37f2f7;this[_0x1fc130(0x410)](_0x145420);}['_updateState'](_0x2a645a){var _0x4e4624=_0x37f2f7;this[_0x4e4624(0x4dd)]=_0x2a645a,this['_state$']['next'](_0x2a645a);}async[_0x37f2f7(0x4c4)](){var _0x42b05a=_0x37f2f7,_0x3d9ebe;this[_0x42b05a(0x429)](await this[_0x42b05a(0x44a)]()),this[_0x42b05a(0x4db)]&&((_0x3d9ebe=this[_0x42b05a(0x4db)])==null||_0x3d9ebe['editingUnit'](this[_0x42b05a(0x2ed)]),this[_0x42b05a(0x343)](this[_0x42b05a(0x4db)][_0x42b05a(0x3d6)](this['unitID'])[_0x42b05a(0x333)](_0x1df793=>{var _0x25258f=_0x42b05a;this[_0x25258f(0x425)][_0x25258f(0x221)](_0x25258f(0x1fe),_0x25258f(0x3af),_0x1df793),_0x1df793===Ei[_0x25258f(0x1da)]?(this[_0x25258f(0x4ab)]['emitEvent']({'id':ne[_0x25258f(0x356)]}),this[_0x25258f(0x37a)][_0x25258f(0x4a1)](new _0x4b3b4d(this[_0x25258f(0x2ed)])['id'],!0x1),this[_0x25258f(0x37a)][_0x25258f(0x4d3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x4b3b4d(this[_0x25258f(0x2ed)])['id'],!0x0),this['_permissionService'][_0x25258f(0x4d3)](!0x0));})));let _0x137b4d=!0x1;return this[_0x42b05a(0x343)](this['session'][_0x42b05a(0x3e2)][_0x42b05a(0x333)](_0x5c7f3e=>{var _0xdea125=_0x42b05a;_0x5c7f3e===Se['ONLINE']?this[_0xdea125(0x48d)](_0x137b4d):_0x5c7f3e===Se['OFFLINE']&&(_0x137b4d=!0x0,this[_0xdea125(0x373)]());})),this[_0x42b05a(0x343)](this[_0x42b05a(0x39e)][_0x42b05a(0x2a6)][_0x42b05a(0x333)](_0x3d9419=>{var _0x4638c9=_0x42b05a;try{switch(_0x3d9419[_0x4638c9(0x3b0)]){case _0x3df659['NEW_CHANGESETS']:{this[_0x4638c9(0x431)](_0x5f0008(_0x3d9419['data']));break;}case _0x3df659[_0x4638c9(0x24a)]:{this[_0x4638c9(0x2d8)](_0x3d9419[_0x4638c9(0x1e7)]);break;}case _0x3df659[_0x4638c9(0x35b)]:{this[_0x4638c9(0x32e)]();break;}case _0x3df659['CHANGESET_SHOULD_RETRY']:{this[_0x4638c9(0x49a)](_0x3d9419['data']);break;}case _0x3df659[_0x4638c9(0x278)]:{this[_0x4638c9(0x471)](_0x3d9419[_0x4638c9(0x1e7)][_0x4638c9(0x2f6)][_0x4638c9(0x35c)](_0x342cfc=>_0x5f0008(_0x342cfc)));break;}case _0x3df659[_0x4638c9(0x436)]:{this[_0x4638c9(0x32e)]({'isPermissionRej':!0x0});break;}case _0x3df659[_0x4638c9(0x227)]:break;}}catch(_0x1bfc70){throw console[_0x4638c9(0x302)](_0x4638c9(0x4ed),_0x1bfc70),_0x1bfc70;}})),this[_0x42b05a(0x4dd)];}['_unlockTransition'](){var _0xf6e4c6=_0x37f2f7;this[_0xf6e4c6(0x46b)]=!0x1;}[_0x37f2f7(0x461)](){var _0x25bf7a=_0x37f2f7;if(this[_0x25bf7a(0x46b)])throw new Error(_0x25bf7a(0x432));this['_transitionLocked']=!0x0;}[_0x37f2f7(0x410)](_0x4264f8){var _0x23ca2a=_0x37f2f7;this['_lockTransition'](),this[_0x23ca2a(0x429)](this[_0x23ca2a(0x4dd)]['appendMutation'](_0x4264f8)),this[_0x23ca2a(0x4a8)]();}[_0x37f2f7(0x431)](_0xf55f90){var _0x45cf12=_0x37f2f7;if(!(_0xf55f90[_0x45cf12(0x45f)]<=this[_0x45cf12(0x48e)][_0x45cf12(0x353)](this['unitID']))){if(this[_0x45cf12(0x342)]){this[_0x45cf12(0x464)][_0x45cf12(0x305)](_0xf55f90);return;}this[_0x45cf12(0x38f)](_0xf55f90);}}[_0x37f2f7(0x3e7)](){var _0x4ac8b5=_0x37f2f7;this[_0x4ac8b5(0x464)]['forEach'](_0x53939f=>this[_0x4ac8b5(0x38f)](_0x53939f)),this[_0x4ac8b5(0x464)]=[];}[_0x37f2f7(0x38f)](_0x52862f){var _0x25978f=_0x37f2f7;const _0xd4ad94=this[_0x25978f(0x285)]['interceptor'][_0x25978f(0x2f1)](this[_0x25978f(0x285)][_0x25978f(0x46a)]['getInterceptPoints']()[_0x25978f(0x265)])(_0x52862f[_0x25978f(0x295)],null)||_0x52862f[_0x25978f(0x295)],_0x51c853={..._0x52862f,'mutations':_0xd4ad94};this['_lockTransition'](),this[_0x25978f(0x429)](this[_0x25978f(0x4dd)][_0x25978f(0x441)](_0x51c853)),this['_unlockTransition']();}[_0x37f2f7(0x2d8)](_0x29b890){var _0xa6dfa6=_0x37f2f7;this[_0xa6dfa6(0x461)](),this[_0xa6dfa6(0x429)](this[_0xa6dfa6(0x4dd)][_0xa6dfa6(0x3f2)](_0x29b890)),this[_0xa6dfa6(0x4a8)]();}[_0x37f2f7(0x32e)](_0x1cfad4){var _0x3f8f56=_0x37f2f7;this[_0x3f8f56(0x461)](),this[_0x3f8f56(0x429)](this['_state']['onRemoteRej'](_0x1cfad4)),this[_0x3f8f56(0x4a8)]();}[_0x37f2f7(0x49a)](_0xa3cf82){var _0x382f65=_0x37f2f7;this[_0x382f65(0x461)](),this['_updateState'](this[_0x382f65(0x4dd)]['onRemoteRetry'](_0xa3cf82)),this['_unlockTransition']();}['_onFetchMissResult'](_0x544f63){var _0x3e8c51=_0x37f2f7;if(!(this[_0x3e8c51(0x4dd)]instanceof Q))throw new TypeError(_0x3e8c51(0x404));const _0x1467cc=_0x544f63[_0x3e8c51(0x35c)](_0x2b1c92=>{var _0x2051a2=_0x3e8c51;const _0x2a2ce4=this[_0x2051a2(0x285)]['interceptor'][_0x2051a2(0x2f1)](this[_0x2051a2(0x285)][_0x2051a2(0x46a)][_0x2051a2(0x207)]()['COMPRESS_MUTATION_APPLY'])(_0x2b1c92[_0x2051a2(0x295)],null)||_0x2b1c92[_0x2051a2(0x295)];return{..._0x2b1c92,'mutations':_0x2a2ce4};});this[_0x3e8c51(0x461)](),this['_updateState'](this['_state'][_0x3e8c51(0x3df)](_0x1467cc)),this[_0x3e8c51(0x4a8)]();}[_0x37f2f7(0x373)](){var _0xe42b90=_0x37f2f7;this[_0xe42b90(0x461)](),this[_0xe42b90(0x429)](this[_0xe42b90(0x4dd)]['toggleOffline']()),this[_0xe42b90(0x4a8)]();}[_0x37f2f7(0x48d)](_0x15d0d5=!0x1){var _0x236cfe=_0x37f2f7;this['_lockTransition'](),this['_updateState'](this[_0x236cfe(0x4dd)][_0x236cfe(0x46f)]()),this[_0x236cfe(0x4a8)]();const _0x148f13=this[_0x236cfe(0x4dd)];_0x15d0d5&&_0x148f13 instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0x148f13[_0x236cfe(0x34a)]()),this['_unlockTransition']());}async[_0x37f2f7(0x44a)](){return new Promise(_0x4de384=>{var _0x13cc86=_0x36dc;this[_0x13cc86(0x39e)][_0x13cc86(0x3e2)][_0x13cc86(0x3bb)](_0x4012ea(0x1))[_0x13cc86(0x333)](async _0x5a75f4=>{var _0x5b710c=_0x13cc86;_0x4de384(await this[_0x5b710c(0x339)](_0x5a75f4===Se[_0x5b710c(0x2a2)]));});});}[_0x37f2f7(0x26d)](){const _0x21d706=this['unitID'];return{'onStateChange':(_0x4fe3df,_0x10663c)=>{var _0x2244fa=_0x36dc;if(_0x4fe3df!==this[_0x2244fa(0x4dd)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4fe3df['status']+_0x2244fa(0x1f6)+_0x10663c['status']+_0x2244fa(0x1f4)+this[_0x2244fa(0x4dd)][_0x2244fa(0x3c5)]);this['_updateState'](_0x10663c);},'onSendChangeset':_0x3e0f3a=>{var _0x4d1544=_0x36dc;_0x3e0f3a[_0x4d1544(0x4d5)]||(_0x3e0f3a[_0x4d1544(0x4d5)]=this[_0x4d1544(0x34c)],_0x3e0f3a[_0x4d1544(0x4af)]=++this[_0x4d1544(0x3c3)]);const _0x1ee83c={'eventID':_0x3df659[_0x4d1544(0x407)],'data':{'unitID':_0x3e0f3a[_0x4d1544(0x2ed)],'unitType':this[_0x4d1544(0x3ce)],'changeset':_0x3e0f3a,'memberID':this[_0x4d1544(0x39e)][_0x4d1544(0x444)]()}};this[_0x4d1544(0x39e)][_0x4d1544(0x45c)](_0x1ee83c,this[_0x4d1544(0x2ed)]);},'onMissingChangesets':({from:_0x5bf6a9,to:_0x44728e})=>{var _0x1c6087=_0x36dc;this[_0x1c6087(0x425)][_0x1c6087(0x221)](_0x1c6087(0x1fe),'fetching\x20missing\x20changesets\x20from\x20'+_0x5bf6a9+'\x20to\x20'+_0x44728e);const _0x2ee07f={'eventID':_0x3df659[_0x1c6087(0x2f3)],'data':{'unitID':_0x21d706,'unitType':this[_0x1c6087(0x3ce)],'from':_0x5bf6a9,'to':_0x44728e}};this['session'][_0x1c6087(0x45c)](_0x2ee07f,this[_0x1c6087(0x2ed)]);}};}async['_createInitialStateImpl'](_0x409c90){var _0x393ff9=_0x37f2f7,_0x3c686b,_0x32416f,_0x5acc66;const _0x594981=await((_0x3c686b=this[_0x393ff9(0x4ce)])==null?void 0x0:_0x3c686b[_0x393ff9(0x43c)](this[_0x393ff9(0x2ed)])),_0x1376ec=(_0x32416f=_0x594981==null?void 0x0:_0x594981[_0x393ff9(0x295)])!=null?_0x32416f:[],_0x711dce=(_0x5acc66=_0x594981==null?void 0x0:_0x594981[_0x393ff9(0x4c8)])!=null?_0x5acc66:null,_0x546b80=!!(_0x711dce!=null&&_0x711dce['sid'])&&!!(_0x711dce!=null&&_0x711dce[_0x393ff9(0x4af)]);this[_0x393ff9(0x34c)]=_0x546b80?_0x711dce[_0x393ff9(0x4d5)]:_0x576563(),this['_changesetReqId']=_0x546b80?_0x711dce[_0x393ff9(0x4af)]:0x0;const _0x7f045a=this['unitID'];try{this[_0x393ff9(0x35d)](_0x711dce,_0x1376ec);}catch(_0x1f0551){this[_0x393ff9(0x425)]['error'](_0x1f0551);}const _0x25716a=this['_createHandler']();if(_0x409c90){const _0x46cb3a=Ri(this['_injector'],_0x7f045a,this[_0x393ff9(0x3ce)],_0x711dce,_0x1376ec,_0x25716a);return _0x46cb3a instanceof re?_0x46cb3a['_schedule']():(_0x46cb3a instanceof ae||_0x46cb3a instanceof _e)&&_0x46cb3a[_0x393ff9(0x2d3)](),_0x46cb3a;}return this['_injector'][_0x393ff9(0x28f)](ue,_0x7f045a,this[_0x393ff9(0x3ce)],_0x711dce,_0x1376ec,_0x25716a);}['_replayCachedMutations'](_0x597c63,_0x1901ab){var _0x3b120d=_0x37f2f7,_0x3f1abb,_0x5e6fdf;const _0x2d3151=this[_0x3b120d(0x285)][_0x3b120d(0x46a)]['fetchThroughInterceptors'](this[_0x3b120d(0x285)][_0x3b120d(0x46a)][_0x3b120d(0x207)]()[_0x3b120d(0x265)]);(_0x3f1abb=_0x2d3151((_0x597c63==null?void 0x0:_0x597c63[_0x3b120d(0x295)])||[],null))==null||_0x3f1abb['forEach'](_0x409103=>this[_0x3b120d(0x40e)][_0x3b120d(0x2a7)](_0x409103['id'],_0x409103[_0x3b120d(0x1ed)])),(_0x5e6fdf=_0x2d3151(_0x1901ab||[],null))==null||_0x5e6fdf['forEach'](_0x19f8a4=>this[_0x3b120d(0x40e)][_0x3b120d(0x2a7)](_0x19f8a4['id'],_0x19f8a4[_0x3b120d(0x1ed)]));}};st=wt([H(0x3,_0x3ebdbb(_0x57e09f)),H(0x4,_0x3ebdbb(_0x318d2e)),H(0x5,_0x3ebdbb(_0x425e89)),H(0x6,_0x3ebdbb(_0x5a8cf2)),H(0x7,_0x3ebdbb(ve)),H(0x8,_0x3ec9e5),H(0x9,_0x404e2f),H(0xa,_0x166cf6),H(0xb,_0x2a8e41(ht)),H(0xc,_0x2a8e41(J))],st);let St=class extends st{constructor(_0x4001cd,_0x1aaa3f,_0x109f15,_0x54058e,_0x1f750d,_0x27b896,_0x56a0dd,_0x14c75e,_0x47810b,_0x5e293f,_0x5b04bd,_0x277c4e,_0x32decd){var _0x492dab=_0x37f2f7;super(_0x4001cd,_0x109f15,_0x1aaa3f,_0x54058e,_0x1f750d,_0x27b896,_0x56a0dd,_0x14c75e,_0x47810b,_0x5e293f,_0x5b04bd,_0x277c4e,_0x32decd),N(this,_0x492dab(0x3fd),null),(this[_0x492dab(0x2ed)]=_0x4001cd,this[_0x492dab(0x279)]=_0x1aaa3f);}[_0x37f2f7(0x374)](_0x86f456){var _0x274cbf=_0x37f2f7;this[_0x274cbf(0x3fd)]=_0x86f456;}[_0x37f2f7(0x434)](){var _0x20a107=_0x37f2f7;this[_0x20a107(0x3fd)]=null,super[_0x20a107(0x434)]();}[_0x37f2f7(0x26d)](){var _0x37ac4d=_0x37f2f7;const _0x1d8162=super[_0x37ac4d(0x26d)]();return _0x1d8162[_0x37ac4d(0x3a5)]=_0x1d3bf5=>{var _0x3e05a7=_0x37ac4d,_0x2ae423,_0x543829;return(_0x543829=(_0x2ae423=this[_0x3e05a7(0x3fd)])==null?void 0x0:_0x2ae423[_0x3e05a7(0x3a5)])==null?void 0x0:_0x543829['call'](_0x2ae423,_0x1d3bf5);},_0x1d8162[_0x37ac4d(0x293)]=_0x10e28e=>{var _0x3ce411=_0x37ac4d,_0x5376c7,_0x449b8f;return(_0x449b8f=(_0x5376c7=this[_0x3ce411(0x3fd)])==null?void 0x0:_0x5376c7['onTransformState'])==null?void 0x0:_0x449b8f[_0x3ce411(0x3ca)](_0x5376c7,_0x10e28e);},_0x1d8162[_0x37ac4d(0x381)]=_0x58e38a=>{var _0x559336=_0x37ac4d,_0x14c140,_0x549363;return(_0x549363=(_0x14c140=this[_0x559336(0x3fd)])==null?void 0x0:_0x14c140['onTransformSelections'])==null?void 0x0:_0x549363['call'](_0x14c140,_0x58e38a);},_0x1d8162[_0x37ac4d(0x23c)]=_0x3c71da=>{var _0x370350=_0x37ac4d,_0x42d57c,_0x476712;return(_0x476712=(_0x42d57c=this[_0x370350(0x3fd)])==null?void 0x0:_0x42d57c[_0x370350(0x23c)])==null?void 0x0:_0x476712['call'](_0x42d57c,_0x3c71da);},_0x1d8162[_0x37ac4d(0x206)]=_0x5c0866=>{var _0x32ce67=_0x37ac4d,_0x493b3e,_0xa353d3,_0x1dd146;if(!((_0x493b3e=this[_0x32ce67(0x3fd)])!=null&&_0x493b3e['onTransformRemoteChangesetByIMECache']))throw new Error(_0x32ce67(0x24c));return(_0x1dd146=(_0xa353d3=this[_0x32ce67(0x3fd)])==null?void 0x0:_0xa353d3[_0x32ce67(0x206)])==null?void 0x0:_0x1dd146[_0x32ce67(0x3ca)](_0xa353d3,_0x5c0866);},_0x1d8162['onTransformRemoteChangesetByStateCache']=_0x5363ca=>{var _0x211091=_0x37ac4d,_0x23bacf,_0xe94b40,_0x32c33f;if(!((_0x23bacf=this[_0x211091(0x3fd)])!=null&&_0x23bacf[_0x211091(0x397)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x32c33f=(_0xe94b40=this[_0x211091(0x3fd)])==null?void 0x0:_0xe94b40[_0x211091(0x397)])==null?void 0x0:_0x32c33f[_0x211091(0x3ca)](_0xe94b40,_0x5363ca);},_0x1d8162;}async['_init'](){var _0x47114a=_0x37f2f7;const _0x5d85b6=await super['_init']();return this[_0x47114a(0x343)](this['_commandService'][_0x47114a(0x37c)]((_0x5c8903,_0x43ff7a)=>{var _0x418d60=_0x47114a;if(_0x5c8903[_0x418d60(0x279)]!==_0x415cdb[_0x418d60(0x34d)]||_0x43ff7a!=null&&_0x43ff7a[_0x418d60(0x1ff)]||_0x43ff7a!=null&&_0x43ff7a[_0x418d60(0x4b7)]||_0x5c8903['id']===_0x385d7b['id'])return;const _0x299789=_0x5c8903['params'];if((_0x299789==null?void 0x0:_0x299789[_0x418d60(0x415)])!==this['unitID'])return;const _0x138963=_0x5c8903,_0x2dc869=this[_0x418d60(0x285)][_0x418d60(0x46a)][_0x418d60(0x2f1)](this['_compressMutationService'][_0x418d60(0x46a)]['getInterceptPoints']()[_0x418d60(0x2e2)])([_0x138963],null)||[_0x138963];this[_0x418d60(0x410)](_0x2dc869[0x0]);})),_0x5d85b6;}};St=wt([H(0x3,_0x3ebdbb(_0x57e09f)),H(0x4,_0x3ebdbb(_0x318d2e)),H(0x5,_0x3ebdbb(_0x425e89)),H(0x6,_0x3ebdbb(_0x5a8cf2)),H(0x7,_0x3ebdbb(ve)),H(0x8,_0x3ec9e5),H(0x9,_0x404e2f),H(0xa,_0x166cf6),H(0xb,_0x2a8e41(ht)),H(0xc,_0x2a8e41(J))],St);let Et=class extends st{constructor(_0x27a4fe,_0x12dcce,_0xb9501f,_0x118420,_0x10a753,_0x59243b,_0x372935,_0x510d02,_0x1ce14f,_0x2d4ff3,_0x4a9022,_0x215c95,_0x293911,_0x328abd){var _0x593c26=_0x37f2f7;super(_0x27a4fe,_0xb9501f,_0x12dcce,_0x118420,_0x10a753,_0x59243b,_0x372935,_0x1ce14f,_0x2d4ff3,_0x4a9022,_0x215c95,_0x293911,_0x328abd),this[_0x593c26(0x2ed)]=_0x27a4fe,this[_0x593c26(0x279)]=_0x12dcce,this['_sheetTransformSelectionsService']=_0x510d02;}[_0x37f2f7(0x26d)](){var _0x2d2dc3=_0x37f2f7;const _0x527ea1=super[_0x2d2dc3(0x26d)]();return _0x527ea1[_0x2d2dc3(0x381)]=_0x4efbee=>this[_0x2d2dc3(0x2ce)][_0x2d2dc3(0x2b5)](_0x4efbee),_0x527ea1;}async[_0x37f2f7(0x4c4)](){var _0x5a527d=_0x37f2f7;const _0x306987=await super[_0x5a527d(0x4c4)]();return this[_0x5a527d(0x343)](this[_0x5a527d(0x40e)][_0x5a527d(0x37c)]((_0x7b14b6,_0x359bd3)=>{var _0x4afe86=_0x5a527d;if(_0x7b14b6[_0x4afe86(0x279)]!==_0x415cdb[_0x4afe86(0x34d)]||_0x359bd3!=null&&_0x359bd3[_0x4afe86(0x1ff)]||_0x359bd3!=null&&_0x359bd3[_0x4afe86(0x4b7)])return;const _0x32770f=_0x7b14b6[_0x4afe86(0x1ed)];if((_0x32770f==null?void 0x0:_0x32770f[_0x4afe86(0x415)])!==this['unitID'])return;const _0x350096=_0x7b14b6,_0x126db9=this[_0x4afe86(0x285)]['interceptor'][_0x4afe86(0x2f1)](this[_0x4afe86(0x285)][_0x4afe86(0x46a)][_0x4afe86(0x207)]()[_0x4afe86(0x2e2)])([_0x350096],null)||[_0x350096];this[_0x4afe86(0x410)](_0x126db9[0x0]);})),_0x306987;}};function _0x36dc(_0x2eff92,_0x238bbb){var _0x8c3c6e=_0x8c3c();return _0x36dc=function(_0x36dcfc,_0x41576f){_0x36dcfc=_0x36dcfc-0x1da;var _0x2e3bc8=_0x8c3c6e[_0x36dcfc];return _0x2e3bc8;},_0x36dc(_0x2eff92,_0x238bbb);}Et=wt([H(0x3,_0x3ebdbb(_0x57e09f)),H(0x4,_0x3ebdbb(_0x318d2e)),H(0x5,_0x3ebdbb(_0x425e89)),H(0x6,_0x3ebdbb(_0x5a8cf2)),H(0x7,_0x3ebdbb(it)),H(0x8,_0x3ebdbb(ve)),H(0x9,_0x3ec9e5),H(0xa,_0x404e2f),H(0xb,_0x166cf6),H(0xc,_0x2a8e41(ht)),H(0xd,_0x2a8e41(J))],Et);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x9f9a5,_0x5a740d,_0x3036d5,_0x483db0)=>{for(var _0x5dbdd0=_0x483db0>0x1?void 0x0:_0x483db0?Qs(_0x5a740d,_0x3036d5):_0x5a740d,_0x54cf86=_0x9f9a5['length']-0x1,_0x3ea6bb;_0x54cf86>=0x0;_0x54cf86--)(_0x3ea6bb=_0x9f9a5[_0x54cf86])&&(_0x5dbdd0=_0x3ea6bb(_0x5dbdd0)||_0x5dbdd0);return _0x5dbdd0;},Be=(_0x495fb5,_0x334641)=>(_0x28aa32,_0x430a46)=>_0x334641(_0x28aa32,_0x430a46,_0x495fb5);let nt=class extends _0x413ca7{constructor(_0x4a636b,_0x30c774,_0x1d9bfa,_0x36d498){var _0x2684bf=_0x37f2f7,_0x218e19;super(),N(this,_0x2684bf(0x286),new Map()),N(this,_0x2684bf(0x216),new _0x1b4986()),N(this,_0x2684bf(0x312),this[_0x2684bf(0x216)]['asObservable']()),(this['_injector']=_0x4a636b,this['_collabSessionService']=_0x30c774,this[_0x2684bf(0x2a4)]=_0x1d9bfa,this['_univerInstanceService']=_0x36d498,((_0x218e19=this[_0x2684bf(0x2a4)]['getConfig'](K))==null?void 0x0:_0x218e19[_0x2684bf(0x39a)])!==!0x1&&this[_0x2684bf(0x4c4)]());}[_0x37f2f7(0x434)](){var _0x3929bd=_0x37f2f7;super[_0x3929bd(0x434)](),this[_0x3929bd(0x286)]['forEach'](_0x1747e1=>_0x1747e1[_0x3929bd(0x434)]()),this[_0x3929bd(0x286)]['clear']();}[_0x37f2f7(0x30b)](_0x2353a4){var _0x41e66b=_0x37f2f7,_0x13f6b5;return(_0x13f6b5=this[_0x41e66b(0x286)][_0x41e66b(0x1f0)](_0x2353a4))!=null?_0x13f6b5:null;}[_0x37f2f7(0x253)](_0x2049ad){var _0x13fed6=_0x37f2f7;const _0x524371=this[_0x13fed6(0x30b)](_0x2049ad);return _0x524371?_0x127796(_0x524371):this[_0x13fed6(0x216)][_0x13fed6(0x3bb)](_0x56b9c3(_0x34fa86=>_0x34fa86[_0x13fed6(0x2ed)]===_0x2049ad));}['readyForCollab'](_0x535d53){var _0x580728=_0x37f2f7;return _0x2043fd(this[_0x580728(0x253)](_0x535d53)['pipe'](_0x1b6381(()=>{})));}[_0x37f2f7(0x4c4)](){var _0x49a88b=_0x37f2f7;this['_univerInstanceService'][_0x49a88b(0x4cc)](_0x47812a['UNIVER_SHEET'])['pipe'](_0x188b7b(this[_0x49a88b(0x2f8)]),_0x25e469(0x10))[_0x49a88b(0x333)](async _0x43e47f=>{var _0x2c8642=_0x49a88b;const _0x1b6b3c=_0x43e47f[_0x2c8642(0x1df)](),_0x53fa76=await this[_0x2c8642(0x250)](_0x1b6b3c,Z[_0x2c8642(0x368)]);this['_entities'][_0x2c8642(0x287)](_0x1b6b3c,_0x53fa76);}),this[_0x49a88b(0x3e0)]['getTypeOfUnitAdded$'](_0x47812a[_0x49a88b(0x20a)])[_0x49a88b(0x3bb)](_0x188b7b(this[_0x49a88b(0x2f8)]),_0x25e469(0x10))[_0x49a88b(0x3bb)](_0x56b9c3(_0x20b568=>!_0x20b568['getUnitId']()[_0x49a88b(0x361)]('__')))['subscribe'](async _0x44ff28=>{var _0x4f11cc=_0x49a88b;const _0x47073f=_0x44ff28[_0x4f11cc(0x1df)](),_0x596959=await this['_startCollaboration'](_0x47073f,Z[_0x4f11cc(0x20a)]);this[_0x4f11cc(0x286)][_0x4f11cc(0x287)](_0x47073f,_0x596959);}),_0x5d681f(this[_0x49a88b(0x3e0)][_0x49a88b(0x442)](_0x47812a[_0x49a88b(0x368)]),this[_0x49a88b(0x3e0)][_0x49a88b(0x442)](_0x47812a[_0x49a88b(0x20a)]))[_0x49a88b(0x3bb)](_0x188b7b(this[_0x49a88b(0x2f8)]))[_0x49a88b(0x333)](_0x580821=>{var _0xf5ba70=_0x49a88b;const _0x239e12=_0x580821[_0xf5ba70(0x1df)](),_0x43a4e3=this[_0xf5ba70(0x286)]['get'](_0x239e12);_0x43a4e3&&(_0x43a4e3['dispose'](),this[_0xf5ba70(0x286)]['delete'](_0x239e12));});}async['_startCollaboration'](_0x1348c1,_0x91138){var _0x592548=_0x37f2f7;const _0x2bbff8=await this[_0x592548(0x3f0)][_0x592548(0x4e6)](_0x1348c1),_0x8e8935=this[_0x592548(0x388)]['createInstance'](this[_0x592548(0x396)](_0x91138),_0x1348c1,_0x91138,_0x2bbff8);return await _0x8e8935['init'](),this[_0x592548(0x216)]['next'](_0x8e8935),_0x8e8935;}[_0x37f2f7(0x396)](_0x315c14){var _0x86e405=_0x37f2f7;switch(_0x315c14){case Z[_0x86e405(0x20a)]:return St;case Z[_0x86e405(0x368)]:return Et;default:throw new Error(_0x86e405(0x29a)+_0x315c14);}}};nt=en([Be(0x0,_0x3ebdbb(_0x57e09f)),Be(0x1,_0x3ebdbb(Le)),Be(0x2,_0x4ac810),Be(0x3,_0x243a7a)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x13c707,_0x304b46,_0xfd8f63,_0x599efd)=>{for(var _0x26909f=_0x599efd>0x1?void 0x0:_0x599efd?tn(_0x304b46,_0xfd8f63):_0x304b46,_0x2dfa01=_0x13c707['length']-0x1,_0x118fbc;_0x2dfa01>=0x0;_0x2dfa01--)(_0x118fbc=_0x13c707[_0x2dfa01])&&(_0x26909f=_0x118fbc(_0x26909f)||_0x26909f);return _0x26909f;},Yt=(_0x924281,_0x23ff9c)=>(_0x334e78,_0x5c8c75)=>_0x23ff9c(_0x334e78,_0x5c8c75,_0x924281);const nn=_0x37f2f7(0x433),rn=_0x37f2f7(0x445);let It=class extends _0x32b95f{constructor(_0x8baffa,_0x1cf840){var _0x118f16=_0x37f2f7;super(),this[_0x118f16(0x3e0)]=_0x8baffa,this['_configService']=_0x1cf840,this[_0x118f16(0x4c4)]();}[_0x37f2f7(0x4c4)](){var _0x42183e=_0x37f2f7;this['disposeWithMe'](this[_0x42183e(0x3e0)][_0x42183e(0x2d5)][_0x42183e(0x333)](()=>{var _0x6ee853=_0x42183e,_0x4b56f5;const _0x73fdcd=this[_0x6ee853(0x3e0)][_0x6ee853(0x3c1)]();let _0x37e08a=(_0x4b56f5=this[_0x6ee853(0x2a4)][_0x6ee853(0x41c)](nn))!=null?_0x4b56f5:rn;_0x73fdcd instanceof _0x692037&&(_0x37e08a=_0x73fdcd[_0x6ee853(0x399)]),document[_0x6ee853(0x4e8)]=_0x37e08a;}));}};It=sn([Yt(0x0,_0x243a7a),Yt(0x1,_0x4ac810)],It);var an=Object[_0x37f2f7(0x3b6)],on=(_0x25d780,_0x2257e3,_0x32b52a,_0x4af520)=>{var _0x37a4c0=_0x37f2f7;for(var _0x4c96bc=_0x4af520>0x1?void 0x0:_0x4af520?an(_0x2257e3,_0x32b52a):_0x2257e3,_0x1615d3=_0x25d780[_0x37a4c0(0x4a9)]-0x1,_0x5e4558;_0x1615d3>=0x0;_0x1615d3--)(_0x5e4558=_0x25d780[_0x1615d3])&&(_0x4c96bc=_0x5e4558(_0x4c96bc)||_0x4c96bc);return _0x4c96bc;},dt=(_0x7e3be6,_0x3d3b5d)=>(_0x1c54fa,_0x90fbc4)=>_0x3d3b5d(_0x1c54fa,_0x90fbc4,_0x7e3be6);let rt=class{constructor(_0x40a245,_0x166b39,_0xfdd3f1){var _0x12482d=_0x37f2f7;this[_0x12482d(0x2a4)]=_0x40a245,this[_0x12482d(0x40c)]=_0x166b39,this['localeService']=_0xfdd3f1,this[_0x12482d(0x226)]();}[_0x37f2f7(0x226)](){var _0x259dba=_0x37f2f7;this['_httpService'][_0x259dba(0x324)]({'priority':0x1,'interceptor':(_0x58ee90,_0x584dd6)=>_0x584dd6(_0x58ee90)[_0x259dba(0x3bb)](_0x130908(async _0x23c63f=>{var _0x45be10=_0x259dba;const _0x29a357=_0x23c63f;if(_0x29a357[_0x45be10(0x3c5)]===0x191){if(typeof window>'u')throw new Error(_0x45be10(0x2cd));if(window[_0x45be10(0x2c8)](this[_0x45be10(0x3e8)]['t'](_0x45be10(0x2c6)))){const _0x66be02=window[_0x45be10(0x4c7)](window[_0x45be10(0x303)]['href']);window[_0x45be10(0x303)]['href']=this[_0x45be10(0x33b)]()+_0x45be10(0x280)+_0x66be02;}}return _0x29a357;}))});}[_0x37f2f7(0x33b)](){var _0x176e7f=_0x37f2f7,_0x325287,_0x146010;const _0x11f51e=this['_configService'][_0x176e7f(0x41c)](ys),_0x230fff=this['_configService'][_0x176e7f(0x41c)](K);return(_0x146010=(_0x325287=_0x230fff==null?void 0x0:_0x230fff[_0x176e7f(0x28c)])!=null?_0x325287:_0x11f51e)!=null?_0x146010:Ns;}};rt=on([dt(0x0,_0x4ac810),dt(0x1,_0x3ebdbb(_0x2b3f92)),dt(0x2,_0x3ebdbb(_0x425e89))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x41a3c8,_0x315a54,_0x8a88e5,_0xc0d258)=>{var _0x3f2ecd=_0x37f2f7;for(var _0x326d91=_0xc0d258>0x1?void 0x0:_0xc0d258?cn(_0x315a54,_0x8a88e5):_0x315a54,_0x122a60=_0x41a3c8[_0x3f2ecd(0x4a9)]-0x1,_0x2556a3;_0x122a60>=0x0;_0x122a60--)(_0x2556a3=_0x41a3c8[_0x122a60])&&(_0x326d91=_0x2556a3(_0x326d91)||_0x326d91);return _0x326d91;},Kt=(_0x5d5b62,_0x549a11)=>(_0x47183b,_0x3087f0)=>_0x549a11(_0x47183b,_0x3087f0,_0x5d5b62);const bi=_0x37f2f7(0x25f),_n='/universer-api/authz';let Tt=class extends _0x32b95f{constructor(_0x3a8172,_0x289f8c){var _0x596afb=_0x37f2f7;super(),this[_0x596afb(0x36c)]=_0x3a8172,this['_configService']=_0x289f8c,this['_initMergeInterceptor']();}[_0x37f2f7(0x4ea)](){var _0x3679eb=_0x37f2f7;const _0x536e0f=this;this[_0x3679eb(0x343)](this[_0x3679eb(0x36c)][_0x3679eb(0x324)]({'priority':0x3e7,'interceptor':_0xfa75e4({'isMatch'(_0x4a2744){var _0x37e72d=_0x3679eb,_0x5b49c6;if(_0x4a2744[_0x37e72d(0x2a8)]===_0x37e72d(0x38c)&&((_0x5b49c6=_0x4a2744[_0x37e72d(0x4c6)])!=null&&_0x5b49c6[_0x37e72d(0x3c4)])){const {objectID:_0x28c48a,objectType:_0x279b55}=_0x4a2744[_0x37e72d(0x4c6)][_0x37e72d(0x3c4)]||{};if(!_0x28c48a||_0x279b55===void 0x0)return!0x1;const _0x1c0b0c=_0x536e0f['_getAPIPrefixPath']()+'/'+_0x279b55+_0x37e72d(0x484)+_0x28c48a+_0x37e72d(0x3fb);if(_0x4a2744[_0x37e72d(0x459)]===_0x1c0b0c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x386346){var _0x286b46=_0x3679eb,_0x3fa4bf;return(_0x3fa4bf=_0x386346[_0x286b46(0x4c6)])==null?void 0x0:_0x3fa4bf[_0x286b46(0x3c4)];},'mergeParamsToRequest'(_0x9feb0c,_0x1c026b){var _0x321cb9=_0x3679eb;const _0x245edd=_0x536e0f[_0x321cb9(0x40a)]()+'/-/object/-/batch_allowed',_0x5874d6=_0x9feb0c['reduce']((_0x2fceb9,_0x3eb02f)=>{var _0x493d88=_0x321cb9;const {unitID:_0x4f97e5,objectID:_0x7fe55e,objectType:_0x2ea44a,actions:_0xb45168}=_0x3eb02f;return _0x2fceb9[_0x4f97e5]||(_0x2fceb9[_0x4f97e5]={}),_0x2fceb9[_0x4f97e5][_0x7fe55e]||(_0x2fceb9[_0x4f97e5][_0x7fe55e]={'objectID':_0x7fe55e,'objectType':_0x2ea44a,'actions':[]}),_0x2fceb9[_0x4f97e5][_0x7fe55e]['actions'][_0x493d88(0x305)](..._0xb45168),_0x2fceb9;},{}),_0x5e4f6a=[];for(const _0x27ebd3 in _0x5874d6)for(const _0x12b0cc in _0x5874d6[_0x27ebd3]){const {actions:_0x397db7,objectType:_0x2e3281}=_0x5874d6[_0x27ebd3][_0x12b0cc],_0x3b2d64=[...new Set(_0x397db7)];_0x5e4f6a[_0x321cb9(0x305)]({'unitID':_0x27ebd3,'objectID':_0x12b0cc,'objectType':_0x2e3281,'actions':_0x3b2d64});}return new _0x405de9(_0x321cb9(0x38c),_0x245edd,{'headers':_0x1c026b['headers'],'withCredentials':_0x1c026b[_0x321cb9(0x1ea)],'responseType':_0x1c026b[_0x321cb9(0x406)],'body':{'requests':_0x5e4f6a}});}},{'distributeResult'(_0x302bdf,_0x4cb1bb){const {objectActions:_0x49d30a}=_0x302bdf;return _0x4cb1bb['map'](_0x4d0530=>{var _0x5621df=_0x36dc;const {unitID:_0x294c1e,objectID:_0xa46b96,actions:_0x2ccc69}=_0x4d0530,_0xada1a6=_0x49d30a[_0x5621df(0x4c3)](_0x14061b=>_0x14061b[_0x5621df(0x2ed)]===_0x294c1e&&_0x14061b['objectID']===_0xa46b96),_0x48c5e2=_0x2ccc69['map'](_0x399656=>_0xada1a6==null?void 0x0:_0xada1a6[_0x5621df(0x1e9)][_0x5621df(0x4c3)](_0x2b4909=>_0x2b4909['action']===_0x399656))[_0x5621df(0x3cb)](_0x145e28=>!!_0x145e28);return{'config':_0x4d0530,'result':{'actions':_0x48c5e2,'error':_0x302bdf[_0x5621df(0x302)]}};});}})}));}[_0x37f2f7(0x40a)](){var _0x4cab24=_0x37f2f7,_0x42b575,_0x21d14e;const _0x431943=this[_0x4cab24(0x2a4)][_0x4cab24(0x41c)](bi),_0x1499d2=this[_0x4cab24(0x2a4)][_0x4cab24(0x41c)](K);return(_0x21d14e=(_0x42b575=_0x1499d2==null?void 0x0:_0x1499d2[_0x4cab24(0x300)])!=null?_0x42b575:_0x431943)!=null?_0x21d14e:_n;}async[_0x37f2f7(0x497)](_0x28ccee){var _0x43e960=_0x37f2f7;const _0x9614e6=this[_0x43e960(0x40a)]()+'/'+_0x28ccee[_0x43e960(0x201)]+'/object';return(await this['_HTTPService'][_0x43e960(0x449)](_0x9614e6,{'body':_0x28ccee}))[_0x43e960(0x3c4)]['objectID']||'';}async[_0x37f2f7(0x2b2)](_0x4c3a76){var _0x152e2c=_0x37f2f7;const _0x46f978=this[_0x152e2c(0x40a)]()+_0x152e2c(0x377);return(await this['_HTTPService'][_0x152e2c(0x449)](_0x46f978,{'body':_0x4c3a76}))[_0x152e2c(0x3c4)][_0x152e2c(0x401)];}async[_0x37f2f7(0x20d)](_0x136699){var _0x29900f=_0x37f2f7,_0x58edd1,_0x2e3a27;const _0x3c02bc=this[_0x29900f(0x40a)]()+'/'+_0x136699['objectType']+_0x29900f(0x484)+_0x136699['objectID'],_0x1b0d8a=await this['_HTTPService'][_0x29900f(0x3f9)](_0x3c02bc,{'body':_0x136699});if(((_0x2e3a27=(_0x58edd1=_0x1b0d8a==null?void 0x0:_0x1b0d8a[_0x29900f(0x3c4)])==null?void 0x0:_0x58edd1[_0x29900f(0x302)])==null?void 0x0:_0x2e3a27['code'])!==0x1)throw new Error(_0x29900f(0x4eb));}async[_0x37f2f7(0x249)](_0x1fc6f9){var _0x306d92=_0x37f2f7;const _0x41c760=this[_0x306d92(0x40a)]()+'/'+_0x1fc6f9[_0x306d92(0x201)]+_0x306d92(0x484)+_0x1fc6f9['objectID']+_0x306d92(0x3fb);return(await this['_HTTPService']['post'](_0x41c760,{'body':_0x1fc6f9}))[_0x306d92(0x3c4)][_0x306d92(0x1e9)];}async[_0x37f2f7(0x30f)](_0x253fd3){var _0x20bd96=_0x37f2f7;const _0x55433f=this[_0x20bd96(0x40a)]()+_0x20bd96(0x330);return(await this[_0x20bd96(0x36c)]['post'](_0x55433f,{'body':{'requests':_0x253fd3}}))['body'][_0x20bd96(0x3b5)];}async[_0x37f2f7(0x38b)](_0xaeea19){var _0x202bd2=_0x37f2f7;const _0x5c5843=this[_0x202bd2(0x40a)]()+'/'+_0xaeea19[_0x202bd2(0x201)]+_0x202bd2(0x1eb),_0x32157a=await this[_0x202bd2(0x36c)][_0x202bd2(0x449)](_0x5c5843,{'body':_0xaeea19});return{'roles':_0x32157a[_0x202bd2(0x3c4)][_0x202bd2(0x261)],'actions':_0x32157a[_0x202bd2(0x3c4)][_0x202bd2(0x1e9)]};}async['deleteCollaborator'](_0x381d8c){var _0x53a229=_0x37f2f7;const _0x1eded5=this[_0x53a229(0x40a)]()+_0x53a229(0x337);await this[_0x53a229(0x36c)][_0x53a229(0x217)](_0x1eded5,{'params':{'collaboratorID':_0x381d8c[_0x53a229(0x335)],'objectID':_0x381d8c[_0x53a229(0x451)],'unitID':_0x381d8c[_0x53a229(0x2ed)]}});}async[_0x37f2f7(0x23b)](_0x20c3cf){var _0xd08699=_0x37f2f7;const _0x3db40d=this['_getAPIPrefixPath']()+_0xd08699(0x337);await this['_HTTPService'][_0xd08699(0x427)](_0x3db40d,{'body':_0x20c3cf});}async['createCollaborator'](_0x5439fa){var _0x19527c=_0x37f2f7;const _0x57eb2e=this['_getAPIPrefixPath']()+_0x19527c(0x337);await this[_0x19527c(0x36c)][_0x19527c(0x449)](_0x57eb2e,{'body':_0x5439fa});}async[_0x37f2f7(0x44b)](_0x3bdb8b){var _0x214b1e=_0x37f2f7;const _0x4157d5=this[_0x214b1e(0x40a)]()+_0x214b1e(0x337);return(await this[_0x214b1e(0x36c)][_0x214b1e(0x1f0)](_0x4157d5,{'params':{'objectID':_0x3bdb8b[_0x214b1e(0x451)],'unitID':_0x3bdb8b[_0x214b1e(0x2ed)]}}))['body']['collaborators'];}async[_0x37f2f7(0x453)](_0x1bfbc2){var _0xdc7f4d=_0x37f2f7;const _0x55049f=this[_0xdc7f4d(0x40a)]()+'/collaborator';await this['_HTTPService'][_0xdc7f4d(0x3f9)](_0x55049f,{'body':_0x1bfbc2});}};Tt=hn([Kt(0x0,_0x3ebdbb(_0x2b3f92)),Kt(0x1,_0x3ebdbb(_0x4ac810))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e182e){var _0x2ad7f8=_0x37f2f7;return _0x4e182e&&_0x4e182e['__esModule']&&Object['prototype'][_0x2ad7f8(0x327)][_0x2ad7f8(0x3ca)](_0x4e182e,_0x2ad7f8(0x44f))?_0x4e182e['default']:_0x4e182e;}var Ve={'exports':{}};function ln(_0x3cbdcb){var _0x377ed3=_0x37f2f7;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3cbdcb+_0x377ed3(0x336));}var Ge={'exports':{}},un=Ge[_0x37f2f7(0x2db)],qt;function te(){var _0x204464=_0x37f2f7;return qt||(qt=0x1,function(_0x3141d4,_0x1fd485){(function(_0x1c43e4,_0x4fc282){var _0x1d7f43=_0x36dc;_0x3141d4[_0x1d7f43(0x2db)]=_0x4fc282();}(un,function(){var _0xbc836e=_0xbc836e||function(_0x566d89,_0x42b0da){var _0x3cdd21=_0x36dc,_0x448b26;if(typeof window<'u'&&window[_0x3cdd21(0x382)]&&(_0x448b26=window[_0x3cdd21(0x382)]),typeof self<'u'&&self[_0x3cdd21(0x382)]&&(_0x448b26=self[_0x3cdd21(0x382)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x448b26=globalThis[_0x3cdd21(0x382)]),!_0x448b26&&typeof window<'u'&&window[_0x3cdd21(0x254)]&&(_0x448b26=window['msCrypto']),!_0x448b26&&typeof ft<'u'&&ft['crypto']&&(_0x448b26=ft[_0x3cdd21(0x382)]),!_0x448b26&&typeof ln=='function')try{_0x448b26=require(_0x3cdd21(0x382));}catch{}var _0x19ce79=function(){var _0x358971=_0x3cdd21;if(_0x448b26){if(typeof _0x448b26[_0x358971(0x468)]==_0x358971(0x4ef))try{return _0x448b26[_0x358971(0x468)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x448b26[_0x358971(0x2bb)]==_0x358971(0x4ef))try{return _0x448b26['randomBytes'](0x4)[_0x358971(0x405)]();}catch{}}throw new Error(_0x358971(0x4ae));},_0x377706=Object[_0x3cdd21(0x497)]||(function(){function _0x593b6b(){}return function(_0x25babf){var _0x22c093=_0x36dc,_0x5d2c47;return _0x593b6b[_0x22c093(0x205)]=_0x25babf,_0x5d2c47=new _0x593b6b(),_0x593b6b['prototype']=null,_0x5d2c47;};}()),_0x3fc9f5={},_0xed2714=_0x3fc9f5['lib']={},_0x1f4b70=_0xed2714['Base']=(function(){return{'extend':function(_0x430396){var _0x5b135e=_0x36dc,_0x5ad909=_0x377706(this);return _0x430396&&_0x5ad909[_0x5b135e(0x22e)](_0x430396),(!_0x5ad909['hasOwnProperty'](_0x5b135e(0x226))||this[_0x5b135e(0x226)]===_0x5ad909[_0x5b135e(0x226)])&&(_0x5ad909[_0x5b135e(0x226)]=function(){var _0x24b29b=_0x5b135e;_0x5ad909[_0x24b29b(0x3c2)][_0x24b29b(0x226)]['apply'](this,arguments);}),_0x5ad909[_0x5b135e(0x226)][_0x5b135e(0x205)]=_0x5ad909,_0x5ad909[_0x5b135e(0x3c2)]=this,_0x5ad909;},'create':function(){var _0x4e3a65=_0x36dc,_0x46bf58=this[_0x4e3a65(0x310)]();return _0x46bf58[_0x4e3a65(0x226)][_0x4e3a65(0x3eb)](_0x46bf58,arguments),_0x46bf58;},'init':function(){},'mixIn':function(_0x31236b){var _0x2542e5=_0x36dc;for(var _0x3a7522 in _0x31236b)_0x31236b[_0x2542e5(0x327)](_0x3a7522)&&(this[_0x3a7522]=_0x31236b[_0x3a7522]);_0x31236b[_0x2542e5(0x327)](_0x2542e5(0x232))&&(this[_0x2542e5(0x232)]=_0x31236b['toString']);},'clone':function(){var _0x410a7c=_0x36dc;return this[_0x410a7c(0x226)][_0x410a7c(0x205)][_0x410a7c(0x310)](this);}};}()),_0x35a069=_0xed2714[_0x3cdd21(0x2ff)]=_0x1f4b70['extend']({'init':function(_0x48daa8,_0x45f491){var _0x442723=_0x3cdd21;_0x48daa8=this['words']=_0x48daa8||[],_0x45f491!=_0x42b0da?this[_0x442723(0x462)]=_0x45f491:this[_0x442723(0x462)]=_0x48daa8['length']*0x4;},'toString':function(_0x17fe38){return(_0x17fe38||_0x2ff504)['stringify'](this);},'concat':function(_0x57d8f5){var _0x27a129=_0x3cdd21,_0x4bd640=this[_0x27a129(0x275)],_0xbb189e=_0x57d8f5[_0x27a129(0x275)],_0x381337=this[_0x27a129(0x462)],_0x5ed710=_0x57d8f5[_0x27a129(0x462)];if(this['clamp'](),_0x381337%0x4)for(var _0x4269b9=0x0;_0x4269b9<_0x5ed710;_0x4269b9++){var _0x5007b3=_0xbb189e[_0x4269b9>>>0x2]>>>0x18-_0x4269b9%0x4*0x8&0xff;_0x4bd640[_0x381337+_0x4269b9>>>0x2]|=_0x5007b3<<0x18-(_0x381337+_0x4269b9)%0x4*0x8;}else{for(var _0x275d5f=0x0;_0x275d5f<_0x5ed710;_0x275d5f+=0x4)_0x4bd640[_0x381337+_0x275d5f>>>0x2]=_0xbb189e[_0x275d5f>>>0x2];}return this[_0x27a129(0x462)]+=_0x5ed710,this;},'clamp':function(){var _0x3bffe4=_0x3cdd21,_0x54c59d=this[_0x3bffe4(0x275)],_0x1139c3=this[_0x3bffe4(0x462)];_0x54c59d[_0x1139c3>>>0x2]&=0xffffffff<<0x20-_0x1139c3%0x4*0x8,_0x54c59d[_0x3bffe4(0x4a9)]=_0x566d89[_0x3bffe4(0x325)](_0x1139c3/0x4);},'clone':function(){var _0x3424bf=_0x3cdd21,_0x42adca=_0x1f4b70[_0x3424bf(0x3c8)]['call'](this);return _0x42adca[_0x3424bf(0x275)]=this['words'][_0x3424bf(0x4b9)](0x0),_0x42adca;},'random':function(_0x2772f1){var _0x451755=_0x3cdd21;for(var _0x369fab=[],_0x37f5ac=0x0;_0x37f5ac<_0x2772f1;_0x37f5ac+=0x4)_0x369fab[_0x451755(0x305)](_0x19ce79());return new _0x35a069[(_0x451755(0x226))](_0x369fab,_0x2772f1);}}),_0x4b9353=_0x3fc9f5[_0x3cdd21(0x1f3)]={},_0x2ff504=_0x4b9353['Hex']={'stringify':function(_0x25917a){var _0x30fe25=_0x3cdd21;for(var _0x328a43=_0x25917a[_0x30fe25(0x275)],_0x1c2e8f=_0x25917a[_0x30fe25(0x462)],_0x2f1bfc=[],_0x35d0f7=0x0;_0x35d0f7<_0x1c2e8f;_0x35d0f7++){var _0x528a84=_0x328a43[_0x35d0f7>>>0x2]>>>0x18-_0x35d0f7%0x4*0x8&0xff;_0x2f1bfc[_0x30fe25(0x305)]((_0x528a84>>>0x4)[_0x30fe25(0x232)](0x10)),_0x2f1bfc[_0x30fe25(0x305)]((_0x528a84&0xf)[_0x30fe25(0x232)](0x10));}return _0x2f1bfc[_0x30fe25(0x320)]('');},'parse':function(_0x3a9a16){var _0x320729=_0x3cdd21;for(var _0x478410=_0x3a9a16[_0x320729(0x4a9)],_0x14f5d6=[],_0x313465=0x0;_0x313465<_0x478410;_0x313465+=0x2)_0x14f5d6[_0x313465>>>0x3]|=parseInt(_0x3a9a16[_0x320729(0x238)](_0x313465,0x2),0x10)<<0x18-_0x313465%0x8*0x4;return new _0x35a069[(_0x320729(0x226))](_0x14f5d6,_0x478410/0x2);}},_0x6b568e=_0x4b9353[_0x3cdd21(0x386)]={'stringify':function(_0x1fb62a){var _0x22d2eb=_0x3cdd21;for(var _0x7c5dda=_0x1fb62a[_0x22d2eb(0x275)],_0x2fbe79=_0x1fb62a[_0x22d2eb(0x462)],_0x395331=[],_0x17863a=0x0;_0x17863a<_0x2fbe79;_0x17863a++){var _0x2c486a=_0x7c5dda[_0x17863a>>>0x2]>>>0x18-_0x17863a%0x4*0x8&0xff;_0x395331[_0x22d2eb(0x305)](String[_0x22d2eb(0x2ca)](_0x2c486a));}return _0x395331[_0x22d2eb(0x320)]('');},'parse':function(_0xbc8cc2){var _0x274a19=_0x3cdd21;for(var _0x26c9f0=_0xbc8cc2['length'],_0x36ad59=[],_0x2e8fcf=0x0;_0x2e8fcf<_0x26c9f0;_0x2e8fcf++)_0x36ad59[_0x2e8fcf>>>0x2]|=(_0xbc8cc2[_0x274a19(0x277)](_0x2e8fcf)&0xff)<<0x18-_0x2e8fcf%0x4*0x8;return new _0x35a069['init'](_0x36ad59,_0x26c9f0);}},_0x52e906=_0x4b9353[_0x3cdd21(0x49d)]={'stringify':function(_0x11a302){var _0x3c8097=_0x3cdd21;try{return decodeURIComponent(escape(_0x6b568e['stringify'](_0x11a302)));}catch{throw new Error(_0x3c8097(0x4cd));}},'parse':function(_0x5d6c95){var _0x306933=_0x3cdd21;return _0x6b568e[_0x306933(0x3a6)](unescape(encodeURIComponent(_0x5d6c95)));}},_0x4044b2=_0xed2714[_0x3cdd21(0x47f)]=_0x1f4b70['extend']({'reset':function(){var _0x29f08a=_0x3cdd21;this['_data']=new _0x35a069['init'](),this[_0x29f08a(0x4a0)]=0x0;},'_append':function(_0x380cab){var _0x13c16c=_0x3cdd21;typeof _0x380cab==_0x13c16c(0x42b)&&(_0x380cab=_0x52e906[_0x13c16c(0x3a6)](_0x380cab)),this[_0x13c16c(0x42e)][_0x13c16c(0x411)](_0x380cab),this[_0x13c16c(0x4a0)]+=_0x380cab['sigBytes'];},'_process':function(_0x37652b){var _0x16aba4=_0x3cdd21,_0xf54803,_0x433221=this[_0x16aba4(0x42e)],_0x4de171=_0x433221[_0x16aba4(0x275)],_0x10ba23=_0x433221[_0x16aba4(0x462)],_0x5e4fc1=this[_0x16aba4(0x456)],_0x2dd367=_0x5e4fc1*0x4,_0x47a4e1=_0x10ba23/_0x2dd367;_0x37652b?_0x47a4e1=_0x566d89[_0x16aba4(0x325)](_0x47a4e1):_0x47a4e1=_0x566d89[_0x16aba4(0x447)]((_0x47a4e1|0x0)-this[_0x16aba4(0x224)],0x0);var _0x4cb1b0=_0x47a4e1*_0x5e4fc1,_0x1447b5=_0x566d89['min'](_0x4cb1b0*0x4,_0x10ba23);if(_0x4cb1b0){for(var _0x1aa1a2=0x0;_0x1aa1a2<_0x4cb1b0;_0x1aa1a2+=_0x5e4fc1)this['_doProcessBlock'](_0x4de171,_0x1aa1a2);_0xf54803=_0x4de171[_0x16aba4(0x378)](0x0,_0x4cb1b0),_0x433221['sigBytes']-=_0x1447b5;}return new _0x35a069[(_0x16aba4(0x226))](_0xf54803,_0x1447b5);},'clone':function(){var _0x500b6b=_0x3cdd21,_0x13c86a=_0x1f4b70[_0x500b6b(0x3c8)][_0x500b6b(0x3ca)](this);return _0x13c86a[_0x500b6b(0x42e)]=this[_0x500b6b(0x42e)]['clone'](),_0x13c86a;},'_minBufferSize':0x0});_0xed2714[_0x3cdd21(0x2ea)]=_0x4044b2[_0x3cdd21(0x310)]({'cfg':_0x1f4b70['extend'](),'init':function(_0x5c3897){var _0x1f0469=_0x3cdd21;this[_0x1f0469(0x493)]=this['cfg'][_0x1f0469(0x310)](_0x5c3897),this[_0x1f0469(0x2e8)]();},'reset':function(){var _0x46e872=_0x3cdd21;_0x4044b2[_0x46e872(0x2e8)][_0x46e872(0x3ca)](this),this['_doReset']();},'update':function(_0x30ce3b){var _0xb24e2d=_0x3cdd21;return this[_0xb24e2d(0x371)](_0x30ce3b),this[_0xb24e2d(0x4bf)](),this;},'finalize':function(_0x4e4d08){var _0x3d815d=_0x3cdd21;_0x4e4d08&&this[_0x3d815d(0x371)](_0x4e4d08);var _0x140bbf=this[_0x3d815d(0x42c)]();return _0x140bbf;},'blockSize':0x10,'_createHelper':function(_0x45891c){return function(_0x877f87,_0x4ed41f){return new _0x45891c['init'](_0x4ed41f)['finalize'](_0x877f87);};},'_createHmacHelper':function(_0x52718a){return function(_0x3fcf46,_0x2ba061){var _0x46b8b8=_0x36dc;return new _0x4bf75c[(_0x46b8b8(0x2c9))][(_0x46b8b8(0x226))](_0x52718a,_0x2ba061)[_0x46b8b8(0x3b7)](_0x3fcf46);};}});var _0x4bf75c=_0x3fc9f5['algo']={};return _0x3fc9f5;}(Math);return _0xbc836e;}));}(Ge)),Ge[_0x204464(0x2db)];}var We={'exports':{}},dn=We[_0x37f2f7(0x2db)],zt;function Oi(){var _0xa3fa67=_0x37f2f7;return zt||(zt=0x1,function(_0x53aaa7,_0x1631a9){(function(_0x113053,_0x3221be){_0x53aaa7['exports']=_0x3221be(te());}(dn,function(_0xc127ac){var _0x3c6491=_0x36dc;return(function(){var _0x54d748=_0x36dc,_0x4fdac5=_0xc127ac,_0x2d936c=_0x4fdac5[_0x54d748(0x28d)],_0x543400=_0x2d936c[_0x54d748(0x2ff)],_0x2321a4=_0x4fdac5[_0x54d748(0x1f3)];_0x2321a4['Base64']={'stringify':function(_0x3c380a){var _0x44a8f6=_0x54d748,_0x134ecb=_0x3c380a['words'],_0x36ee00=_0x3c380a[_0x44a8f6(0x462)],_0x108b53=this[_0x44a8f6(0x403)];_0x3c380a[_0x44a8f6(0x2ba)]();for(var _0x58719d=[],_0x6a5a4a=0x0;_0x6a5a4a<_0x36ee00;_0x6a5a4a+=0x3)for(var _0x19dd4d=_0x134ecb[_0x6a5a4a>>>0x2]>>>0x18-_0x6a5a4a%0x4*0x8&0xff,_0x1e66d1=_0x134ecb[_0x6a5a4a+0x1>>>0x2]>>>0x18-(_0x6a5a4a+0x1)%0x4*0x8&0xff,_0x241894=_0x134ecb[_0x6a5a4a+0x2>>>0x2]>>>0x18-(_0x6a5a4a+0x2)%0x4*0x8&0xff,_0x9510f3=_0x19dd4d<<0x10|_0x1e66d1<<0x8|_0x241894,_0x1c000b=0x0;_0x1c000b<0x4&&_0x6a5a4a+_0x1c000b*0.75<_0x36ee00;_0x1c000b++)_0x58719d[_0x44a8f6(0x305)](_0x108b53[_0x44a8f6(0x43b)](_0x9510f3>>>0x6*(0x3-_0x1c000b)&0x3f));var _0x2691e8=_0x108b53[_0x44a8f6(0x43b)](0x40);if(_0x2691e8){for(;_0x58719d[_0x44a8f6(0x4a9)]%0x4;)_0x58719d['push'](_0x2691e8);}return _0x58719d[_0x44a8f6(0x320)]('');},'parse':function(_0x29819b){var _0x1a6a9b=_0x54d748,_0x45a2a4=_0x29819b[_0x1a6a9b(0x4a9)],_0x330e38=this[_0x1a6a9b(0x403)],_0x4dcf05=this['_reverseMap'];if(!_0x4dcf05){_0x4dcf05=this[_0x1a6a9b(0x41f)]=[];for(var _0x415148=0x0;_0x415148<_0x330e38[_0x1a6a9b(0x4a9)];_0x415148++)_0x4dcf05[_0x330e38['charCodeAt'](_0x415148)]=_0x415148;}var _0x570376=_0x330e38[_0x1a6a9b(0x43b)](0x40);if(_0x570376){var _0x395588=_0x29819b[_0x1a6a9b(0x3e4)](_0x570376);_0x395588!==-0x1&&(_0x45a2a4=_0x395588);}return _0x44d761(_0x29819b,_0x45a2a4,_0x4dcf05);},'_map':_0x54d748(0x2e5)};function _0x44d761(_0x7c6c6b,_0x26c732,_0xc61192){var _0x422c3b=_0x54d748;for(var _0x454c5d=[],_0xad4669=0x0,_0x3a2a9c=0x0;_0x3a2a9c<_0x26c732;_0x3a2a9c++)if(_0x3a2a9c%0x4){var _0x1f1080=_0xc61192[_0x7c6c6b[_0x422c3b(0x277)](_0x3a2a9c-0x1)]<<_0x3a2a9c%0x4*0x2,_0x2705c1=_0xc61192[_0x7c6c6b['charCodeAt'](_0x3a2a9c)]>>>0x6-_0x3a2a9c%0x4*0x2,_0x5160d=_0x1f1080|_0x2705c1;_0x454c5d[_0xad4669>>>0x2]|=_0x5160d<<0x18-_0xad4669%0x4*0x8,_0xad4669++;}return _0x543400[_0x422c3b(0x497)](_0x454c5d,_0xad4669);}}()),_0xc127ac[_0x3c6491(0x1f3)]['Base64'];}));}(We)),We[_0xa3fa67(0x2db)];}var Ye={'exports':{}},fn=Ye[_0x37f2f7(0x2db)],Jt;function vn(){var _0x18665d=_0x37f2f7;return Jt||(Jt=0x1,function(_0x2592e7,_0x478a21){(function(_0x56eabb,_0x458547){_0x2592e7['exports']=_0x458547(te());}(fn,function(_0x256a4e){var _0x50b791=_0x36dc;return function(_0x17445c){var _0x5de350=_0x36dc,_0x3501db=_0x256a4e,_0x3025c2=_0x3501db['lib'],_0xababdc=_0x3025c2[_0x5de350(0x2ff)],_0x38c14d=_0x3025c2[_0x5de350(0x2ea)],_0x4a1efd=_0x3501db[_0x5de350(0x383)],_0x311d62=[];(function(){var _0x4ab955=_0x5de350;for(var _0x3caefc=0x0;_0x3caefc<0x40;_0x3caefc++)_0x311d62[_0x3caefc]=_0x17445c[_0x4ab955(0x1de)](_0x17445c[_0x4ab955(0x4ec)](_0x3caefc+0x1))*0x100000000|0x0;}());var _0x42bfa3=_0x4a1efd['MD5']=_0x38c14d[_0x5de350(0x310)]({'_doReset':function(){var _0x4a1247=_0x5de350;this[_0x4a1247(0x45a)]=new _0xababdc[(_0x4a1247(0x226))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x461575,_0x135658){var _0x119e71=_0x5de350;for(var _0x13a22c=0x0;_0x13a22c<0x10;_0x13a22c++){var _0x2fbb31=_0x135658+_0x13a22c,_0x4795f5=_0x461575[_0x2fbb31];_0x461575[_0x2fbb31]=(_0x4795f5<<0x8|_0x4795f5>>>0x18)&0xff00ff|(_0x4795f5<<0x18|_0x4795f5>>>0x8)&0xff00ff00;}var _0x58b0f9=this[_0x119e71(0x45a)][_0x119e71(0x275)],_0x38af24=_0x461575[_0x135658+0x0],_0x12a2c7=_0x461575[_0x135658+0x1],_0x4c9a44=_0x461575[_0x135658+0x2],_0x35d6f2=_0x461575[_0x135658+0x3],_0x4db4e4=_0x461575[_0x135658+0x4],_0x20104a=_0x461575[_0x135658+0x5],_0x2852f4=_0x461575[_0x135658+0x6],_0xdced53=_0x461575[_0x135658+0x7],_0x3c5a52=_0x461575[_0x135658+0x8],_0x1f564b=_0x461575[_0x135658+0x9],_0x1b4f0e=_0x461575[_0x135658+0xa],_0xcf8012=_0x461575[_0x135658+0xb],_0x2026f9=_0x461575[_0x135658+0xc],_0x38deb2=_0x461575[_0x135658+0xd],_0x121c18=_0x461575[_0x135658+0xe],_0x3e8ce0=_0x461575[_0x135658+0xf],_0x1f7530=_0x58b0f9[0x0],_0x4f9a11=_0x58b0f9[0x1],_0x122a5e=_0x58b0f9[0x2],_0x146b30=_0x58b0f9[0x3];_0x1f7530=_0x2ae4da(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x38af24,0x7,_0x311d62[0x0]),_0x146b30=_0x2ae4da(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x12a2c7,0xc,_0x311d62[0x1]),_0x122a5e=_0x2ae4da(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x4c9a44,0x11,_0x311d62[0x2]),_0x4f9a11=_0x2ae4da(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x35d6f2,0x16,_0x311d62[0x3]),_0x1f7530=_0x2ae4da(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x4db4e4,0x7,_0x311d62[0x4]),_0x146b30=_0x2ae4da(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x20104a,0xc,_0x311d62[0x5]),_0x122a5e=_0x2ae4da(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x2852f4,0x11,_0x311d62[0x6]),_0x4f9a11=_0x2ae4da(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0xdced53,0x16,_0x311d62[0x7]),_0x1f7530=_0x2ae4da(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x3c5a52,0x7,_0x311d62[0x8]),_0x146b30=_0x2ae4da(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x1f564b,0xc,_0x311d62[0x9]),_0x122a5e=_0x2ae4da(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x1b4f0e,0x11,_0x311d62[0xa]),_0x4f9a11=_0x2ae4da(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0xcf8012,0x16,_0x311d62[0xb]),_0x1f7530=_0x2ae4da(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x2026f9,0x7,_0x311d62[0xc]),_0x146b30=_0x2ae4da(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x38deb2,0xc,_0x311d62[0xd]),_0x122a5e=_0x2ae4da(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x121c18,0x11,_0x311d62[0xe]),_0x4f9a11=_0x2ae4da(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x3e8ce0,0x16,_0x311d62[0xf]),_0x1f7530=_0x122b7a(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x12a2c7,0x5,_0x311d62[0x10]),_0x146b30=_0x122b7a(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x2852f4,0x9,_0x311d62[0x11]),_0x122a5e=_0x122b7a(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0xcf8012,0xe,_0x311d62[0x12]),_0x4f9a11=_0x122b7a(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x38af24,0x14,_0x311d62[0x13]),_0x1f7530=_0x122b7a(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x20104a,0x5,_0x311d62[0x14]),_0x146b30=_0x122b7a(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x1b4f0e,0x9,_0x311d62[0x15]),_0x122a5e=_0x122b7a(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x3e8ce0,0xe,_0x311d62[0x16]),_0x4f9a11=_0x122b7a(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x4db4e4,0x14,_0x311d62[0x17]),_0x1f7530=_0x122b7a(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x1f564b,0x5,_0x311d62[0x18]),_0x146b30=_0x122b7a(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x121c18,0x9,_0x311d62[0x19]),_0x122a5e=_0x122b7a(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x35d6f2,0xe,_0x311d62[0x1a]),_0x4f9a11=_0x122b7a(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x3c5a52,0x14,_0x311d62[0x1b]),_0x1f7530=_0x122b7a(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x38deb2,0x5,_0x311d62[0x1c]),_0x146b30=_0x122b7a(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x4c9a44,0x9,_0x311d62[0x1d]),_0x122a5e=_0x122b7a(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0xdced53,0xe,_0x311d62[0x1e]),_0x4f9a11=_0x122b7a(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x2026f9,0x14,_0x311d62[0x1f]),_0x1f7530=_0x1de482(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x20104a,0x4,_0x311d62[0x20]),_0x146b30=_0x1de482(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x3c5a52,0xb,_0x311d62[0x21]),_0x122a5e=_0x1de482(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0xcf8012,0x10,_0x311d62[0x22]),_0x4f9a11=_0x1de482(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x121c18,0x17,_0x311d62[0x23]),_0x1f7530=_0x1de482(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x12a2c7,0x4,_0x311d62[0x24]),_0x146b30=_0x1de482(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x4db4e4,0xb,_0x311d62[0x25]),_0x122a5e=_0x1de482(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0xdced53,0x10,_0x311d62[0x26]),_0x4f9a11=_0x1de482(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x1b4f0e,0x17,_0x311d62[0x27]),_0x1f7530=_0x1de482(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x38deb2,0x4,_0x311d62[0x28]),_0x146b30=_0x1de482(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x38af24,0xb,_0x311d62[0x29]),_0x122a5e=_0x1de482(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x35d6f2,0x10,_0x311d62[0x2a]),_0x4f9a11=_0x1de482(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x2852f4,0x17,_0x311d62[0x2b]),_0x1f7530=_0x1de482(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x1f564b,0x4,_0x311d62[0x2c]),_0x146b30=_0x1de482(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x2026f9,0xb,_0x311d62[0x2d]),_0x122a5e=_0x1de482(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x3e8ce0,0x10,_0x311d62[0x2e]),_0x4f9a11=_0x1de482(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x4c9a44,0x17,_0x311d62[0x2f]),_0x1f7530=_0x33b0d3(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x38af24,0x6,_0x311d62[0x30]),_0x146b30=_0x33b0d3(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0xdced53,0xa,_0x311d62[0x31]),_0x122a5e=_0x33b0d3(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x121c18,0xf,_0x311d62[0x32]),_0x4f9a11=_0x33b0d3(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x20104a,0x15,_0x311d62[0x33]),_0x1f7530=_0x33b0d3(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x2026f9,0x6,_0x311d62[0x34]),_0x146b30=_0x33b0d3(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x35d6f2,0xa,_0x311d62[0x35]),_0x122a5e=_0x33b0d3(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x1b4f0e,0xf,_0x311d62[0x36]),_0x4f9a11=_0x33b0d3(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x12a2c7,0x15,_0x311d62[0x37]),_0x1f7530=_0x33b0d3(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x3c5a52,0x6,_0x311d62[0x38]),_0x146b30=_0x33b0d3(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0x3e8ce0,0xa,_0x311d62[0x39]),_0x122a5e=_0x33b0d3(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x2852f4,0xf,_0x311d62[0x3a]),_0x4f9a11=_0x33b0d3(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x38deb2,0x15,_0x311d62[0x3b]),_0x1f7530=_0x33b0d3(_0x1f7530,_0x4f9a11,_0x122a5e,_0x146b30,_0x4db4e4,0x6,_0x311d62[0x3c]),_0x146b30=_0x33b0d3(_0x146b30,_0x1f7530,_0x4f9a11,_0x122a5e,_0xcf8012,0xa,_0x311d62[0x3d]),_0x122a5e=_0x33b0d3(_0x122a5e,_0x146b30,_0x1f7530,_0x4f9a11,_0x4c9a44,0xf,_0x311d62[0x3e]),_0x4f9a11=_0x33b0d3(_0x4f9a11,_0x122a5e,_0x146b30,_0x1f7530,_0x1f564b,0x15,_0x311d62[0x3f]),_0x58b0f9[0x0]=_0x58b0f9[0x0]+_0x1f7530|0x0,_0x58b0f9[0x1]=_0x58b0f9[0x1]+_0x4f9a11|0x0,_0x58b0f9[0x2]=_0x58b0f9[0x2]+_0x122a5e|0x0,_0x58b0f9[0x3]=_0x58b0f9[0x3]+_0x146b30|0x0;},'_doFinalize':function(){var _0x1b62d6=_0x5de350,_0x2d42d8=this['_data'],_0x31a548=_0x2d42d8[_0x1b62d6(0x275)],_0xbd417b=this['_nDataBytes']*0x8,_0x15ff22=_0x2d42d8[_0x1b62d6(0x462)]*0x8;_0x31a548[_0x15ff22>>>0x5]|=0x80<<0x18-_0x15ff22%0x20;var _0xcf5448=_0x17445c['floor'](_0xbd417b/0x100000000),_0x484511=_0xbd417b;_0x31a548[(_0x15ff22+0x40>>>0x9<<0x4)+0xf]=(_0xcf5448<<0x8|_0xcf5448>>>0x18)&0xff00ff|(_0xcf5448<<0x18|_0xcf5448>>>0x8)&0xff00ff00,_0x31a548[(_0x15ff22+0x40>>>0x9<<0x4)+0xe]=(_0x484511<<0x8|_0x484511>>>0x18)&0xff00ff|(_0x484511<<0x18|_0x484511>>>0x8)&0xff00ff00,_0x2d42d8[_0x1b62d6(0x462)]=(_0x31a548[_0x1b62d6(0x4a9)]+0x1)*0x4,this[_0x1b62d6(0x4bf)]();for(var _0x438e3d=this[_0x1b62d6(0x45a)],_0x139396=_0x438e3d[_0x1b62d6(0x275)],_0x3e3826=0x0;_0x3e3826<0x4;_0x3e3826++){var _0x493e98=_0x139396[_0x3e3826];_0x139396[_0x3e3826]=(_0x493e98<<0x8|_0x493e98>>>0x18)&0xff00ff|(_0x493e98<<0x18|_0x493e98>>>0x8)&0xff00ff00;}return _0x438e3d;},'clone':function(){var _0x2ca393=_0x5de350,_0x1aea1c=_0x38c14d[_0x2ca393(0x3c8)][_0x2ca393(0x3ca)](this);return _0x1aea1c[_0x2ca393(0x45a)]=this['_hash'][_0x2ca393(0x3c8)](),_0x1aea1c;}});function _0x2ae4da(_0x2fb1a2,_0x2f0864,_0x3b271e,_0x4eec56,_0x522282,_0x4440a4,_0x70edda){var _0x1dfc74=_0x2fb1a2+(_0x2f0864&_0x3b271e|~_0x2f0864&_0x4eec56)+_0x522282+_0x70edda;return(_0x1dfc74<<_0x4440a4|_0x1dfc74>>>0x20-_0x4440a4)+_0x2f0864;}function _0x122b7a(_0x5a9f7f,_0x67fc53,_0x29ed7f,_0x401f8d,_0x4ac316,_0x2e488c,_0x3f2778){var _0x271e34=_0x5a9f7f+(_0x67fc53&_0x401f8d|_0x29ed7f&~_0x401f8d)+_0x4ac316+_0x3f2778;return(_0x271e34<<_0x2e488c|_0x271e34>>>0x20-_0x2e488c)+_0x67fc53;}function _0x1de482(_0x3d649c,_0x3c470e,_0x3f5be2,_0x2b4745,_0x2eeb88,_0x40378a,_0x37f7e6){var _0x21ae5c=_0x3d649c+(_0x3c470e^_0x3f5be2^_0x2b4745)+_0x2eeb88+_0x37f7e6;return(_0x21ae5c<<_0x40378a|_0x21ae5c>>>0x20-_0x40378a)+_0x3c470e;}function _0x33b0d3(_0x5b69de,_0x369323,_0x2603f6,_0x4fb38a,_0x5c25ef,_0x15e21e,_0x567564){var _0x26d852=_0x5b69de+(_0x2603f6^(_0x369323|~_0x4fb38a))+_0x5c25ef+_0x567564;return(_0x26d852<<_0x15e21e|_0x26d852>>>0x20-_0x15e21e)+_0x369323;}_0x3501db[_0x5de350(0x290)]=_0x38c14d[_0x5de350(0x28e)](_0x42bfa3),_0x3501db[_0x5de350(0x30d)]=_0x38c14d['_createHmacHelper'](_0x42bfa3);}(Math),_0x256a4e[_0x50b791(0x290)];}));}(Ye)),Ye[_0x18665d(0x2db)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x37f2f7(0x2db)],Xt;function mn(){var _0x3ae54b=_0x37f2f7;return Xt||(Xt=0x1,function(_0x1e6b9b,_0x35bf85){(function(_0x218520,_0x3b2e35){var _0x1b5605=_0x36dc;_0x1e6b9b[_0x1b5605(0x2db)]=_0x3b2e35(te());}(pn,function(_0x7b4c4){var _0x50a39d=_0x36dc;return(function(){var _0x8b6c4=_0x36dc,_0x4cb315=_0x7b4c4,_0xa9bee9=_0x4cb315[_0x8b6c4(0x28d)],_0x3b63ce=_0xa9bee9[_0x8b6c4(0x2ff)],_0x7ded76=_0xa9bee9[_0x8b6c4(0x2ea)],_0x543ff3=_0x4cb315[_0x8b6c4(0x383)],_0x5c63de=[],_0x3a8b4d=_0x543ff3[_0x8b6c4(0x47c)]=_0x7ded76[_0x8b6c4(0x310)]({'_doReset':function(){this['_hash']=new _0x3b63ce['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d1f48,_0x2c1353){var _0x2f042c=_0x8b6c4;for(var _0x33a2f8=this[_0x2f042c(0x45a)][_0x2f042c(0x275)],_0x15cb25=_0x33a2f8[0x0],_0x2c6293=_0x33a2f8[0x1],_0x56d7a7=_0x33a2f8[0x2],_0x477936=_0x33a2f8[0x3],_0x2a268d=_0x33a2f8[0x4],_0x12c718=0x0;_0x12c718<0x50;_0x12c718++){if(_0x12c718<0x10)_0x5c63de[_0x12c718]=_0x5d1f48[_0x2c1353+_0x12c718]|0x0;else{var _0x2c9704=_0x5c63de[_0x12c718-0x3]^_0x5c63de[_0x12c718-0x8]^_0x5c63de[_0x12c718-0xe]^_0x5c63de[_0x12c718-0x10];_0x5c63de[_0x12c718]=_0x2c9704<<0x1|_0x2c9704>>>0x1f;}var _0xc02546=(_0x15cb25<<0x5|_0x15cb25>>>0x1b)+_0x2a268d+_0x5c63de[_0x12c718];_0x12c718<0x14?_0xc02546+=(_0x2c6293&_0x56d7a7|~_0x2c6293&_0x477936)+0x5a827999:_0x12c718<0x28?_0xc02546+=(_0x2c6293^_0x56d7a7^_0x477936)+0x6ed9eba1:_0x12c718<0x3c?_0xc02546+=(_0x2c6293&_0x56d7a7|_0x2c6293&_0x477936|_0x56d7a7&_0x477936)-0x70e44324:_0xc02546+=(_0x2c6293^_0x56d7a7^_0x477936)-0x359d3e2a,_0x2a268d=_0x477936,_0x477936=_0x56d7a7,_0x56d7a7=_0x2c6293<<0x1e|_0x2c6293>>>0x2,_0x2c6293=_0x15cb25,_0x15cb25=_0xc02546;}_0x33a2f8[0x0]=_0x33a2f8[0x0]+_0x15cb25|0x0,_0x33a2f8[0x1]=_0x33a2f8[0x1]+_0x2c6293|0x0,_0x33a2f8[0x2]=_0x33a2f8[0x2]+_0x56d7a7|0x0,_0x33a2f8[0x3]=_0x33a2f8[0x3]+_0x477936|0x0,_0x33a2f8[0x4]=_0x33a2f8[0x4]+_0x2a268d|0x0;},'_doFinalize':function(){var _0x14a003=_0x8b6c4,_0x341ed0=this[_0x14a003(0x42e)],_0x1ebf85=_0x341ed0[_0x14a003(0x275)],_0x19530b=this[_0x14a003(0x4a0)]*0x8,_0x54d1af=_0x341ed0[_0x14a003(0x462)]*0x8;return _0x1ebf85[_0x54d1af>>>0x5]|=0x80<<0x18-_0x54d1af%0x20,_0x1ebf85[(_0x54d1af+0x40>>>0x9<<0x4)+0xe]=Math[_0x14a003(0x349)](_0x19530b/0x100000000),_0x1ebf85[(_0x54d1af+0x40>>>0x9<<0x4)+0xf]=_0x19530b,_0x341ed0['sigBytes']=_0x1ebf85[_0x14a003(0x4a9)]*0x4,this[_0x14a003(0x4bf)](),this['_hash'];},'clone':function(){var _0x36bad6=_0x8b6c4,_0x1a9b3a=_0x7ded76['clone']['call'](this);return _0x1a9b3a[_0x36bad6(0x45a)]=this['_hash'][_0x36bad6(0x3c8)](),_0x1a9b3a;}});_0x4cb315[_0x8b6c4(0x47c)]=_0x7ded76[_0x8b6c4(0x28e)](_0x3a8b4d),_0x4cb315['HmacSHA1']=_0x7ded76[_0x8b6c4(0x33e)](_0x3a8b4d);}()),_0x7b4c4[_0x50a39d(0x47c)];}));}(qe)),qe[_0x3ae54b(0x2db)];}var ze={'exports':{}},gn=ze[_0x37f2f7(0x2db)],Zt;function Sn(){var _0x2ec121=_0x37f2f7;return Zt||(Zt=0x1,function(_0x40d9d2,_0x2bbcd4){(function(_0x504d65,_0x4e369b){var _0x5b49ec=_0x36dc;_0x40d9d2[_0x5b49ec(0x2db)]=_0x4e369b(te());}(gn,function(_0x5c5b9b){(function(){var _0x5f3b7e=_0x36dc,_0x2b9abc=_0x5c5b9b,_0xae02f3=_0x2b9abc[_0x5f3b7e(0x28d)],_0x3c2443=_0xae02f3[_0x5f3b7e(0x414)],_0x19285a=_0x2b9abc[_0x5f3b7e(0x1f3)],_0x3a1a24=_0x19285a['Utf8'],_0x4b695e=_0x2b9abc[_0x5f3b7e(0x383)];_0x4b695e[_0x5f3b7e(0x2c9)]=_0x3c2443['extend']({'init':function(_0x546ae3,_0x48f100){var _0x387461=_0x5f3b7e;_0x546ae3=this[_0x387461(0x313)]=new _0x546ae3[(_0x387461(0x226))](),typeof _0x48f100==_0x387461(0x42b)&&(_0x48f100=_0x3a1a24[_0x387461(0x3a6)](_0x48f100));var _0x9e3258=_0x546ae3['blockSize'],_0x3dbbe5=_0x9e3258*0x4;_0x48f100[_0x387461(0x462)]>_0x3dbbe5&&(_0x48f100=_0x546ae3[_0x387461(0x3b7)](_0x48f100)),_0x48f100[_0x387461(0x2ba)]();for(var _0x562811=this[_0x387461(0x44c)]=_0x48f100[_0x387461(0x3c8)](),_0x201a18=this['_iKey']=_0x48f100['clone'](),_0x4e9cce=_0x562811['words'],_0x3cdf56=_0x201a18[_0x387461(0x275)],_0x303a06=0x0;_0x303a06<_0x9e3258;_0x303a06++)_0x4e9cce[_0x303a06]^=0x5c5c5c5c,_0x3cdf56[_0x303a06]^=0x36363636;_0x562811[_0x387461(0x462)]=_0x201a18['sigBytes']=_0x3dbbe5,this[_0x387461(0x2e8)]();},'reset':function(){var _0x559ed5=_0x5f3b7e,_0x8f2f9e=this[_0x559ed5(0x313)];_0x8f2f9e[_0x559ed5(0x2e8)](),_0x8f2f9e['update'](this[_0x559ed5(0x2e7)]);},'update':function(_0xf71151){var _0x366f32=_0x5f3b7e;return this[_0x366f32(0x313)][_0x366f32(0x20d)](_0xf71151),this;},'finalize':function(_0x292e84){var _0x49e00b=_0x5f3b7e,_0x586fcd=this[_0x49e00b(0x313)],_0x1be3ed=_0x586fcd[_0x49e00b(0x3b7)](_0x292e84);_0x586fcd[_0x49e00b(0x2e8)]();var _0x86f73d=_0x586fcd[_0x49e00b(0x3b7)](this[_0x49e00b(0x44c)][_0x49e00b(0x3c8)]()[_0x49e00b(0x411)](_0x1be3ed));return _0x86f73d;}});}());}));}(ze)),ze[_0x2ec121(0x2db)];}var En=Ke[_0x37f2f7(0x2db)],Qt;function yi(){var _0x1ecc22=_0x37f2f7;return Qt||(Qt=0x1,function(_0x4c2f03,_0x4bfb63){(function(_0x5acd49,_0x773971,_0x3cbd3e){var _0xa71102=_0x36dc;_0x4c2f03[_0xa71102(0x2db)]=_0x773971(te(),mn(),Sn());}(En,function(_0x17102f){var _0x56088c=_0x36dc;return(function(){var _0x42b6dd=_0x36dc,_0x51576c=_0x17102f,_0x542f80=_0x51576c[_0x42b6dd(0x28d)],_0x536d1c=_0x542f80[_0x42b6dd(0x414)],_0x1b3bc9=_0x542f80[_0x42b6dd(0x2ff)],_0x349866=_0x51576c[_0x42b6dd(0x383)],_0x56d5d6=_0x349866[_0x42b6dd(0x290)],_0x3137a7=_0x349866[_0x42b6dd(0x355)]=_0x536d1c['extend']({'cfg':_0x536d1c[_0x42b6dd(0x310)]({'keySize':0x80/0x20,'hasher':_0x56d5d6,'iterations':0x1}),'init':function(_0x40358c){var _0x5e97c9=_0x42b6dd;this[_0x5e97c9(0x493)]=this[_0x5e97c9(0x493)][_0x5e97c9(0x310)](_0x40358c);},'compute':function(_0x68f8a7,_0x5635c1){var _0x5f15c2=_0x42b6dd;for(var _0x27ce6e,_0x1cfce2=this['cfg'],_0x294255=_0x1cfce2['hasher'][_0x5f15c2(0x497)](),_0x349cee=_0x1b3bc9[_0x5f15c2(0x497)](),_0x38522f=_0x349cee[_0x5f15c2(0x275)],_0x1b9414=_0x1cfce2[_0x5f15c2(0x467)],_0xa5899c=_0x1cfce2[_0x5f15c2(0x329)];_0x38522f[_0x5f15c2(0x4a9)]<_0x1b9414;){_0x27ce6e&&_0x294255[_0x5f15c2(0x20d)](_0x27ce6e),_0x27ce6e=_0x294255[_0x5f15c2(0x20d)](_0x68f8a7)[_0x5f15c2(0x3b7)](_0x5635c1),_0x294255[_0x5f15c2(0x2e8)]();for(var _0xa364bf=0x1;_0xa364bf<_0xa5899c;_0xa364bf++)_0x27ce6e=_0x294255[_0x5f15c2(0x3b7)](_0x27ce6e),_0x294255[_0x5f15c2(0x2e8)]();_0x349cee['concat'](_0x27ce6e);}return _0x349cee[_0x5f15c2(0x462)]=_0x1b9414*0x4,_0x349cee;}});_0x51576c['EvpKDF']=function(_0x37ac07,_0x1072ee,_0x4f4cce){var _0xb5bbe0=_0x42b6dd;return _0x3137a7[_0xb5bbe0(0x497)](_0x4f4cce)['compute'](_0x37ac07,_0x1072ee);};}()),_0x17102f[_0x56088c(0x355)];}));}(Ke)),Ke[_0x1ecc22(0x2db)];}var Je={'exports':{}},In=Je[_0x37f2f7(0x2db)],ei;function Ni(){var _0xcc42db=_0x37f2f7;return ei||(ei=0x1,function(_0x429f3e,_0x4775fd){(function(_0x47e012,_0x5f2134,_0x2a7e58){var _0x2b9807=_0x36dc;_0x429f3e[_0x2b9807(0x2db)]=_0x5f2134(te(),yi());}(In,function(_0x8f7451){var _0x532627=_0x36dc;_0x8f7451['lib'][_0x532627(0x272)]||function(_0x4ae0eb){var _0x285e6e=_0x532627,_0x5b95b9=_0x8f7451,_0x5d66c4=_0x5b95b9[_0x285e6e(0x28d)],_0x19155a=_0x5d66c4[_0x285e6e(0x414)],_0x5e1e15=_0x5d66c4[_0x285e6e(0x2ff)],_0x4cef30=_0x5d66c4[_0x285e6e(0x47f)],_0x52c766=_0x5b95b9[_0x285e6e(0x1f3)];_0x52c766[_0x285e6e(0x49d)];var _0x56e349=_0x52c766[_0x285e6e(0x3a2)],_0x50720c=_0x5b95b9[_0x285e6e(0x383)],_0x419dee=_0x50720c[_0x285e6e(0x355)],_0x5a1a6b=_0x5d66c4[_0x285e6e(0x272)]=_0x4cef30[_0x285e6e(0x310)]({'cfg':_0x19155a['extend'](),'createEncryptor':function(_0x3f817b,_0x183ef2){var _0x692d3e=_0x285e6e;return this['create'](this[_0x692d3e(0x354)],_0x3f817b,_0x183ef2);},'createDecryptor':function(_0x2b51fa,_0x1289ff){var _0x31ae70=_0x285e6e;return this[_0x31ae70(0x497)](this['_DEC_XFORM_MODE'],_0x2b51fa,_0x1289ff);},'init':function(_0x3765cb,_0x3b641e,_0x406dec){var _0x29418e=_0x285e6e;this['cfg']=this[_0x29418e(0x493)][_0x29418e(0x310)](_0x406dec),this['_xformMode']=_0x3765cb,this['_key']=_0x3b641e,this[_0x29418e(0x2e8)]();},'reset':function(){var _0xf269c7=_0x285e6e;_0x4cef30[_0xf269c7(0x2e8)][_0xf269c7(0x3ca)](this),this['_doReset']();},'process':function(_0x4f6abf){var _0x47228c=_0x285e6e;return this[_0x47228c(0x371)](_0x4f6abf),this[_0x47228c(0x4bf)]();},'finalize':function(_0x40913e){var _0x5c34e8=_0x285e6e;_0x40913e&&this[_0x5c34e8(0x371)](_0x40913e);var _0x52d39a=this[_0x5c34e8(0x42c)]();return _0x52d39a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1ca0b2(_0x598adb){var _0x111edc=_0x36dc;return typeof _0x598adb==_0x111edc(0x42b)?_0x4dec44:_0x12410e;}return function(_0x53c991){return{'encrypt':function(_0x530610,_0x225b6e,_0x4a885e){var _0x5a2485=_0x36dc;return _0x1ca0b2(_0x225b6e)[_0x5a2485(0x3da)](_0x53c991,_0x530610,_0x225b6e,_0x4a885e);},'decrypt':function(_0x1d0f42,_0x33e516,_0x1148a5){return _0x1ca0b2(_0x33e516)['decrypt'](_0x53c991,_0x1d0f42,_0x33e516,_0x1148a5);}};};}())});_0x5d66c4[_0x285e6e(0x4c1)]=_0x5a1a6b['extend']({'_doFinalize':function(){var _0x1d04ff=this['_process'](!0x0);return _0x1d04ff;},'blockSize':0x1});var _0x1686fc=_0x5b95b9[_0x285e6e(0x33d)]={},_0x75b0c3=_0x5d66c4[_0x285e6e(0x347)]=_0x19155a[_0x285e6e(0x310)]({'createEncryptor':function(_0x2da7fc,_0x549d22){var _0x1b9bf8=_0x285e6e;return this[_0x1b9bf8(0x435)][_0x1b9bf8(0x497)](_0x2da7fc,_0x549d22);},'createDecryptor':function(_0x4347c5,_0x5d4265){var _0x3199e4=_0x285e6e;return this[_0x3199e4(0x22f)][_0x3199e4(0x497)](_0x4347c5,_0x5d4265);},'init':function(_0x259854,_0x4ccf58){var _0x7dd5e9=_0x285e6e;this[_0x7dd5e9(0x27b)]=_0x259854,this[_0x7dd5e9(0x3e5)]=_0x4ccf58;}}),_0x2926b8=_0x1686fc['CBC']=(function(){var _0x385d89=_0x285e6e,_0x26f0a2=_0x75b0c3[_0x385d89(0x310)]();_0x26f0a2[_0x385d89(0x435)]=_0x26f0a2[_0x385d89(0x310)]({'processBlock':function(_0xf24180,_0x2d0dbb){var _0x4118b0=_0x385d89,_0x14f5b2=this[_0x4118b0(0x27b)],_0x1e125a=_0x14f5b2['blockSize'];_0x4fca7b[_0x4118b0(0x3ca)](this,_0xf24180,_0x2d0dbb,_0x1e125a),_0x14f5b2[_0x4118b0(0x20f)](_0xf24180,_0x2d0dbb),this[_0x4118b0(0x24f)]=_0xf24180[_0x4118b0(0x4b9)](_0x2d0dbb,_0x2d0dbb+_0x1e125a);}}),_0x26f0a2[_0x385d89(0x22f)]=_0x26f0a2[_0x385d89(0x310)]({'processBlock':function(_0x126d89,_0x502a79){var _0x7cca03=_0x385d89,_0x1a39f0=this[_0x7cca03(0x27b)],_0x40f2de=_0x1a39f0[_0x7cca03(0x456)],_0x27bae4=_0x126d89[_0x7cca03(0x4b9)](_0x502a79,_0x502a79+_0x40f2de);_0x1a39f0[_0x7cca03(0x4e2)](_0x126d89,_0x502a79),_0x4fca7b[_0x7cca03(0x3ca)](this,_0x126d89,_0x502a79,_0x40f2de),this[_0x7cca03(0x24f)]=_0x27bae4;}});function _0x4fca7b(_0x474fe0,_0x21d8e4,_0x2e8c11){var _0x325b00,_0x11be1d=this['_iv'];_0x11be1d?(_0x325b00=_0x11be1d,this['_iv']=_0x4ae0eb):_0x325b00=this['_prevBlock'];for(var _0x5152dc=0x0;_0x5152dc<_0x2e8c11;_0x5152dc++)_0x474fe0[_0x21d8e4+_0x5152dc]^=_0x325b00[_0x5152dc];}return _0x26f0a2;}()),_0x2ed255=_0x5b95b9[_0x285e6e(0x2dd)]={},_0x4d8953=_0x2ed255[_0x285e6e(0x2d4)]={'pad':function(_0x48c2a4,_0x45e8a2){var _0x19ad0e=_0x285e6e;for(var _0x36ce34=_0x45e8a2*0x4,_0x515234=_0x36ce34-_0x48c2a4[_0x19ad0e(0x462)]%_0x36ce34,_0x3036e5=_0x515234<<0x18|_0x515234<<0x10|_0x515234<<0x8|_0x515234,_0x48cbe7=[],_0x88e37b=0x0;_0x88e37b<_0x515234;_0x88e37b+=0x4)_0x48cbe7[_0x19ad0e(0x305)](_0x3036e5);var _0x33e244=_0x5e1e15[_0x19ad0e(0x497)](_0x48cbe7,_0x515234);_0x48c2a4['concat'](_0x33e244);},'unpad':function(_0x55f9ee){var _0x17cb20=_0x285e6e,_0x5633a0=_0x55f9ee[_0x17cb20(0x275)][_0x55f9ee[_0x17cb20(0x462)]-0x1>>>0x2]&0xff;_0x55f9ee[_0x17cb20(0x462)]-=_0x5633a0;}};_0x5d66c4[_0x285e6e(0x31f)]=_0x5a1a6b['extend']({'cfg':_0x5a1a6b[_0x285e6e(0x493)][_0x285e6e(0x310)]({'mode':_0x2926b8,'padding':_0x4d8953}),'reset':function(){var _0xf843c9=_0x285e6e,_0x2f556b;_0x5a1a6b[_0xf843c9(0x2e8)]['call'](this);var _0x51d240=this[_0xf843c9(0x493)],_0x4ae07f=_0x51d240['iv'],_0x270aba=_0x51d240[_0xf843c9(0x33d)];this[_0xf843c9(0x4e1)]==this['_ENC_XFORM_MODE']?_0x2f556b=_0x270aba[_0xf843c9(0x3bd)]:(_0x2f556b=_0x270aba[_0xf843c9(0x2b1)],this['_minBufferSize']=0x1),this['_mode']&&this[_0xf843c9(0x2cc)][_0xf843c9(0x3aa)]==_0x2f556b?this[_0xf843c9(0x2cc)][_0xf843c9(0x226)](this,_0x4ae07f&&_0x4ae07f[_0xf843c9(0x275)]):(this[_0xf843c9(0x2cc)]=_0x2f556b[_0xf843c9(0x3ca)](_0x270aba,this,_0x4ae07f&&_0x4ae07f['words']),this['_mode']['__creator']=_0x2f556b);},'_doProcessBlock':function(_0x12534c,_0xfb0f56){var _0xcc3e38=_0x285e6e;this[_0xcc3e38(0x2cc)][_0xcc3e38(0x34f)](_0x12534c,_0xfb0f56);},'_doFinalize':function(){var _0x157ad2=_0x285e6e,_0x3d66bb,_0x1ccad8=this[_0x157ad2(0x493)][_0x157ad2(0x202)];return this[_0x157ad2(0x4e1)]==this[_0x157ad2(0x354)]?(_0x1ccad8['pad'](this[_0x157ad2(0x42e)],this['blockSize']),_0x3d66bb=this[_0x157ad2(0x4bf)](!0x0)):(_0x3d66bb=this['_process'](!0x0),_0x1ccad8[_0x157ad2(0x4d2)](_0x3d66bb)),_0x3d66bb;},'blockSize':0x80/0x20});var _0x3a86bc=_0x5d66c4[_0x285e6e(0x3e6)]=_0x19155a[_0x285e6e(0x310)]({'init':function(_0x48ac66){this['mixIn'](_0x48ac66);},'toString':function(_0x4d0fce){var _0x4fe2a6=_0x285e6e;return(_0x4d0fce||this[_0x4fe2a6(0x2a1)])[_0x4fe2a6(0x3c6)](this);}}),_0x16bee2=_0x5b95b9['format']={},_0x2bc8c5=_0x16bee2['OpenSSL']={'stringify':function(_0x145bfd){var _0xcbfca8=_0x285e6e,_0x3d857c,_0x571661=_0x145bfd[_0xcbfca8(0x1dc)],_0x3a44b3=_0x145bfd[_0xcbfca8(0x3e1)];return _0x3a44b3?_0x3d857c=_0x5e1e15[_0xcbfca8(0x497)]([0x53616c74,0x65645f5f])[_0xcbfca8(0x411)](_0x3a44b3)[_0xcbfca8(0x411)](_0x571661):_0x3d857c=_0x571661,_0x3d857c[_0xcbfca8(0x232)](_0x56e349);},'parse':function(_0x3992dc){var _0x2e5bc5=_0x285e6e,_0x307c79,_0x5e7ce4=_0x56e349[_0x2e5bc5(0x3a6)](_0x3992dc),_0x10b487=_0x5e7ce4['words'];return _0x10b487[0x0]==0x53616c74&&_0x10b487[0x1]==0x65645f5f&&(_0x307c79=_0x5e1e15[_0x2e5bc5(0x497)](_0x10b487['slice'](0x2,0x4)),_0x10b487[_0x2e5bc5(0x378)](0x0,0x4),_0x5e7ce4[_0x2e5bc5(0x462)]-=0x10),_0x3a86bc['create']({'ciphertext':_0x5e7ce4,'salt':_0x307c79});}},_0x12410e=_0x5d66c4['SerializableCipher']=_0x19155a[_0x285e6e(0x310)]({'cfg':_0x19155a[_0x285e6e(0x310)]({'format':_0x2bc8c5}),'encrypt':function(_0x9fd975,_0x1376a5,_0x4e3cbe,_0x2bbb2a){var _0x581127=_0x285e6e;_0x2bbb2a=this[_0x581127(0x493)][_0x581127(0x310)](_0x2bbb2a);var _0xd9b5af=_0x9fd975[_0x581127(0x3bd)](_0x4e3cbe,_0x2bbb2a),_0x4f3414=_0xd9b5af[_0x581127(0x3b7)](_0x1376a5),_0x221188=_0xd9b5af[_0x581127(0x493)];return _0x3a86bc[_0x581127(0x497)]({'ciphertext':_0x4f3414,'key':_0x4e3cbe,'iv':_0x221188['iv'],'algorithm':_0x9fd975,'mode':_0x221188['mode'],'padding':_0x221188[_0x581127(0x202)],'blockSize':_0x9fd975[_0x581127(0x456)],'formatter':_0x2bbb2a[_0x581127(0x477)]});},'decrypt':function(_0x1c3d8b,_0x2b76ae,_0xf162ff,_0x23c5a7){var _0x1a8c54=_0x285e6e;_0x23c5a7=this[_0x1a8c54(0x493)][_0x1a8c54(0x310)](_0x23c5a7),_0x2b76ae=this['_parse'](_0x2b76ae,_0x23c5a7['format']);var _0x95c922=_0x1c3d8b[_0x1a8c54(0x2b1)](_0xf162ff,_0x23c5a7)[_0x1a8c54(0x3b7)](_0x2b76ae[_0x1a8c54(0x1dc)]);return _0x95c922;},'_parse':function(_0x2f45ed,_0x7edf19){var _0x33db9c=_0x285e6e;return typeof _0x2f45ed==_0x33db9c(0x42b)?_0x7edf19[_0x33db9c(0x3a6)](_0x2f45ed,this):_0x2f45ed;}}),_0x23aa30=_0x5b95b9[_0x285e6e(0x4d0)]={},_0x56f52c=_0x23aa30[_0x285e6e(0x3d1)]={'execute':function(_0x1b53fb,_0x3b7497,_0x3ab41c,_0x3e8091,_0x2f3ef8){var _0x3e814f=_0x285e6e;if(_0x3e8091||(_0x3e8091=_0x5e1e15[_0x3e814f(0x316)](0x40/0x8)),_0x2f3ef8)var _0x1e89a3=_0x419dee[_0x3e814f(0x497)]({'keySize':_0x3b7497+_0x3ab41c,'hasher':_0x2f3ef8})[_0x3e814f(0x26a)](_0x1b53fb,_0x3e8091);else var _0x1e89a3=_0x419dee[_0x3e814f(0x497)]({'keySize':_0x3b7497+_0x3ab41c})[_0x3e814f(0x26a)](_0x1b53fb,_0x3e8091);var _0x5c5f4b=_0x5e1e15['create'](_0x1e89a3[_0x3e814f(0x275)][_0x3e814f(0x4b9)](_0x3b7497),_0x3ab41c*0x4);return _0x1e89a3[_0x3e814f(0x462)]=_0x3b7497*0x4,_0x3a86bc[_0x3e814f(0x497)]({'key':_0x1e89a3,'iv':_0x5c5f4b,'salt':_0x3e8091});}},_0x4dec44=_0x5d66c4[_0x285e6e(0x317)]=_0x12410e[_0x285e6e(0x310)]({'cfg':_0x12410e['cfg'][_0x285e6e(0x310)]({'kdf':_0x56f52c}),'encrypt':function(_0x446d19,_0x3e9cbf,_0x5b2079,_0x158b8b){var _0x22fe17=_0x285e6e;_0x158b8b=this[_0x22fe17(0x493)][_0x22fe17(0x310)](_0x158b8b);var _0x3e685e=_0x158b8b[_0x22fe17(0x4d0)][_0x22fe17(0x364)](_0x5b2079,_0x446d19[_0x22fe17(0x467)],_0x446d19[_0x22fe17(0x326)],_0x158b8b[_0x22fe17(0x3e1)],_0x158b8b[_0x22fe17(0x258)]);_0x158b8b['iv']=_0x3e685e['iv'];var _0x4aaf93=_0x12410e[_0x22fe17(0x3da)]['call'](this,_0x446d19,_0x3e9cbf,_0x3e685e[_0x22fe17(0x1f7)],_0x158b8b);return _0x4aaf93['mixIn'](_0x3e685e),_0x4aaf93;},'decrypt':function(_0x4aae20,_0x4023cc,_0x592b15,_0x323596){var _0x35b860=_0x285e6e;_0x323596=this[_0x35b860(0x493)][_0x35b860(0x310)](_0x323596),_0x4023cc=this['_parse'](_0x4023cc,_0x323596[_0x35b860(0x477)]);var _0x383836=_0x323596[_0x35b860(0x4d0)][_0x35b860(0x364)](_0x592b15,_0x4aae20[_0x35b860(0x467)],_0x4aae20[_0x35b860(0x326)],_0x4023cc[_0x35b860(0x3e1)],_0x323596[_0x35b860(0x258)]);_0x323596['iv']=_0x383836['iv'];var _0x11d601=_0x12410e[_0x35b860(0x2cf)][_0x35b860(0x3ca)](this,_0x4aae20,_0x4023cc,_0x383836['key'],_0x323596);return _0x11d601;}});}();}));}(Je)),Je[_0xcc42db(0x2db)];}var Tn=Ve[_0x37f2f7(0x2db)],ti;function Cn(){return ti||(ti=0x1,function(_0x44a16a,_0x4787f3){(function(_0x164d92,_0x9c9cf9,_0x4e7f53){_0x44a16a['exports']=_0x9c9cf9(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x418e23){var _0x23bb7a=_0x36dc;return(function(){var _0x33edcf=_0x36dc,_0x4d200e=_0x418e23,_0x5a456c=_0x4d200e[_0x33edcf(0x28d)],_0xb0ec15=_0x5a456c[_0x33edcf(0x31f)],_0x7a07d9=_0x4d200e[_0x33edcf(0x383)],_0x4b3bef=[],_0x562b46=[],_0x24369c=[],_0x15e9be=[],_0x328a1f=[],_0x1404f2=[],_0x20ce07=[],_0x2ba869=[],_0x4f8767=[],_0x35b836=[];(function(){for(var _0x437afa=[],_0x1c7807=0x0;_0x1c7807<0x100;_0x1c7807++)_0x1c7807<0x80?_0x437afa[_0x1c7807]=_0x1c7807<<0x1:_0x437afa[_0x1c7807]=_0x1c7807<<0x1^0x11b;for(var _0x481a02=0x0,_0x4fbfa7=0x0,_0x1c7807=0x0;_0x1c7807<0x100;_0x1c7807++){var _0x5914e1=_0x4fbfa7^_0x4fbfa7<<0x1^_0x4fbfa7<<0x2^_0x4fbfa7<<0x3^_0x4fbfa7<<0x4;_0x5914e1=_0x5914e1>>>0x8^_0x5914e1&0xff^0x63,_0x4b3bef[_0x481a02]=_0x5914e1,_0x562b46[_0x5914e1]=_0x481a02;var _0x3676c6=_0x437afa[_0x481a02],_0x49ac8b=_0x437afa[_0x3676c6],_0x43a8bd=_0x437afa[_0x49ac8b],_0x525f24=_0x437afa[_0x5914e1]*0x101^_0x5914e1*0x1010100;_0x24369c[_0x481a02]=_0x525f24<<0x18|_0x525f24>>>0x8,_0x15e9be[_0x481a02]=_0x525f24<<0x10|_0x525f24>>>0x10,_0x328a1f[_0x481a02]=_0x525f24<<0x8|_0x525f24>>>0x18,_0x1404f2[_0x481a02]=_0x525f24;var _0x525f24=_0x43a8bd*0x1010101^_0x49ac8b*0x10001^_0x3676c6*0x101^_0x481a02*0x1010100;_0x20ce07[_0x5914e1]=_0x525f24<<0x18|_0x525f24>>>0x8,_0x2ba869[_0x5914e1]=_0x525f24<<0x10|_0x525f24>>>0x10,_0x4f8767[_0x5914e1]=_0x525f24<<0x8|_0x525f24>>>0x18,_0x35b836[_0x5914e1]=_0x525f24,_0x481a02?(_0x481a02=_0x3676c6^_0x437afa[_0x437afa[_0x437afa[_0x43a8bd^_0x3676c6]]],_0x4fbfa7^=_0x437afa[_0x437afa[_0x4fbfa7]]):_0x481a02=_0x4fbfa7=0x1;}}());var _0x5d56b3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28780b=_0x7a07d9[_0x33edcf(0x499)]=_0xb0ec15['extend']({'_doReset':function(){var _0x47d139=_0x33edcf,_0x2403de;if(!(this[_0x47d139(0x314)]&&this[_0x47d139(0x4c9)]===this['_key'])){for(var _0x355213=this[_0x47d139(0x4c9)]=this[_0x47d139(0x3e3)],_0x4f60f6=_0x355213[_0x47d139(0x275)],_0x1f1556=_0x355213[_0x47d139(0x462)]/0x4,_0x3d3190=this[_0x47d139(0x314)]=_0x1f1556+0x6,_0x7996a3=(_0x3d3190+0x1)*0x4,_0x3b6ca5=this['_keySchedule']=[],_0x2a17e1=0x0;_0x2a17e1<_0x7996a3;_0x2a17e1++)_0x2a17e1<_0x1f1556?_0x3b6ca5[_0x2a17e1]=_0x4f60f6[_0x2a17e1]:(_0x2403de=_0x3b6ca5[_0x2a17e1-0x1],_0x2a17e1%_0x1f1556?_0x1f1556>0x6&&_0x2a17e1%_0x1f1556==0x4&&(_0x2403de=_0x4b3bef[_0x2403de>>>0x18]<<0x18|_0x4b3bef[_0x2403de>>>0x10&0xff]<<0x10|_0x4b3bef[_0x2403de>>>0x8&0xff]<<0x8|_0x4b3bef[_0x2403de&0xff]):(_0x2403de=_0x2403de<<0x8|_0x2403de>>>0x18,_0x2403de=_0x4b3bef[_0x2403de>>>0x18]<<0x18|_0x4b3bef[_0x2403de>>>0x10&0xff]<<0x10|_0x4b3bef[_0x2403de>>>0x8&0xff]<<0x8|_0x4b3bef[_0x2403de&0xff],_0x2403de^=_0x5d56b3[_0x2a17e1/_0x1f1556|0x0]<<0x18),_0x3b6ca5[_0x2a17e1]=_0x3b6ca5[_0x2a17e1-_0x1f1556]^_0x2403de);for(var _0x2de5bb=this[_0x47d139(0x498)]=[],_0x532711=0x0;_0x532711<_0x7996a3;_0x532711++){var _0x2a17e1=_0x7996a3-_0x532711;if(_0x532711%0x4)var _0x2403de=_0x3b6ca5[_0x2a17e1];else var _0x2403de=_0x3b6ca5[_0x2a17e1-0x4];_0x532711<0x4||_0x2a17e1<=0x4?_0x2de5bb[_0x532711]=_0x2403de:_0x2de5bb[_0x532711]=_0x20ce07[_0x4b3bef[_0x2403de>>>0x18]]^_0x2ba869[_0x4b3bef[_0x2403de>>>0x10&0xff]]^_0x4f8767[_0x4b3bef[_0x2403de>>>0x8&0xff]]^_0x35b836[_0x4b3bef[_0x2403de&0xff]];}}},'encryptBlock':function(_0x53a3ff,_0x24f9dc){var _0x357fe9=_0x33edcf;this[_0x357fe9(0x230)](_0x53a3ff,_0x24f9dc,this[_0x357fe9(0x1e8)],_0x24369c,_0x15e9be,_0x328a1f,_0x1404f2,_0x4b3bef);},'decryptBlock':function(_0x138dd3,_0x1016d3){var _0x8e0398=_0x33edcf,_0x58983d=_0x138dd3[_0x1016d3+0x1];_0x138dd3[_0x1016d3+0x1]=_0x138dd3[_0x1016d3+0x3],_0x138dd3[_0x1016d3+0x3]=_0x58983d,this[_0x8e0398(0x230)](_0x138dd3,_0x1016d3,this[_0x8e0398(0x498)],_0x20ce07,_0x2ba869,_0x4f8767,_0x35b836,_0x562b46);var _0x58983d=_0x138dd3[_0x1016d3+0x1];_0x138dd3[_0x1016d3+0x1]=_0x138dd3[_0x1016d3+0x3],_0x138dd3[_0x1016d3+0x3]=_0x58983d;},'_doCryptBlock':function(_0x3d24bb,_0x28ca79,_0x3d2b3e,_0x3105c2,_0x1ac2df,_0x146528,_0x159259,_0x37fa93){var _0x1cfc8a=_0x33edcf;for(var _0x235816=this[_0x1cfc8a(0x314)],_0xbf1a71=_0x3d24bb[_0x28ca79]^_0x3d2b3e[0x0],_0x2e806c=_0x3d24bb[_0x28ca79+0x1]^_0x3d2b3e[0x1],_0x23354c=_0x3d24bb[_0x28ca79+0x2]^_0x3d2b3e[0x2],_0x35546b=_0x3d24bb[_0x28ca79+0x3]^_0x3d2b3e[0x3],_0x1091a6=0x4,_0x1d8a4b=0x1;_0x1d8a4b<_0x235816;_0x1d8a4b++){var _0x4d7709=_0x3105c2[_0xbf1a71>>>0x18]^_0x1ac2df[_0x2e806c>>>0x10&0xff]^_0x146528[_0x23354c>>>0x8&0xff]^_0x159259[_0x35546b&0xff]^_0x3d2b3e[_0x1091a6++],_0x58ab3b=_0x3105c2[_0x2e806c>>>0x18]^_0x1ac2df[_0x23354c>>>0x10&0xff]^_0x146528[_0x35546b>>>0x8&0xff]^_0x159259[_0xbf1a71&0xff]^_0x3d2b3e[_0x1091a6++],_0x42ae23=_0x3105c2[_0x23354c>>>0x18]^_0x1ac2df[_0x35546b>>>0x10&0xff]^_0x146528[_0xbf1a71>>>0x8&0xff]^_0x159259[_0x2e806c&0xff]^_0x3d2b3e[_0x1091a6++],_0x50a803=_0x3105c2[_0x35546b>>>0x18]^_0x1ac2df[_0xbf1a71>>>0x10&0xff]^_0x146528[_0x2e806c>>>0x8&0xff]^_0x159259[_0x23354c&0xff]^_0x3d2b3e[_0x1091a6++];_0xbf1a71=_0x4d7709,_0x2e806c=_0x58ab3b,_0x23354c=_0x42ae23,_0x35546b=_0x50a803;}var _0x4d7709=(_0x37fa93[_0xbf1a71>>>0x18]<<0x18|_0x37fa93[_0x2e806c>>>0x10&0xff]<<0x10|_0x37fa93[_0x23354c>>>0x8&0xff]<<0x8|_0x37fa93[_0x35546b&0xff])^_0x3d2b3e[_0x1091a6++],_0x58ab3b=(_0x37fa93[_0x2e806c>>>0x18]<<0x18|_0x37fa93[_0x23354c>>>0x10&0xff]<<0x10|_0x37fa93[_0x35546b>>>0x8&0xff]<<0x8|_0x37fa93[_0xbf1a71&0xff])^_0x3d2b3e[_0x1091a6++],_0x42ae23=(_0x37fa93[_0x23354c>>>0x18]<<0x18|_0x37fa93[_0x35546b>>>0x10&0xff]<<0x10|_0x37fa93[_0xbf1a71>>>0x8&0xff]<<0x8|_0x37fa93[_0x2e806c&0xff])^_0x3d2b3e[_0x1091a6++],_0x50a803=(_0x37fa93[_0x35546b>>>0x18]<<0x18|_0x37fa93[_0xbf1a71>>>0x10&0xff]<<0x10|_0x37fa93[_0x2e806c>>>0x8&0xff]<<0x8|_0x37fa93[_0x23354c&0xff])^_0x3d2b3e[_0x1091a6++];_0x3d24bb[_0x28ca79]=_0x4d7709,_0x3d24bb[_0x28ca79+0x1]=_0x58ab3b,_0x3d24bb[_0x28ca79+0x2]=_0x42ae23,_0x3d24bb[_0x28ca79+0x3]=_0x50a803;},'keySize':0x100/0x20});_0x4d200e['AES']=_0xb0ec15[_0x33edcf(0x28e)](_0x28780b);}()),_0x418e23[_0x23bb7a(0x499)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){return si||(si=0x1,function(_0x5ceb55,_0x5459ba){(function(_0x2bbfb2,_0x150b82){var _0x11eb82=_0x36dc;_0x5ceb55[_0x11eb82(0x2db)]=_0x150b82(te());}(yn,function(_0x4b7bc3){var _0x16d89a=_0x36dc;return _0x4b7bc3[_0x16d89a(0x1f3)][_0x16d89a(0x49d)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x37f2f7(0x2db)],ni;function wn(){var _0x3ff605=_0x37f2f7;return ni||(ni=0x1,function(_0x57b4f0,_0x8a1090){(function(_0x374da5,_0x2b1c06){var _0x5a96e3=_0x36dc;_0x57b4f0[_0x5a96e3(0x2db)]=_0x2b1c06(te());}(An,function(_0x115202){var _0x5bc28f=_0x36dc;return(function(){var _0x29c9f9=_0x36dc;if(typeof ArrayBuffer==_0x29c9f9(0x4ef)){var _0x4415df=_0x115202,_0x9f5f50=_0x4415df['lib'],_0x57733a=_0x9f5f50['WordArray'],_0x3b28fb=_0x57733a[_0x29c9f9(0x226)],_0x4b11d0=_0x57733a['init']=function(_0x3036c2){var _0x4713c9=_0x29c9f9;if(_0x3036c2 instanceof ArrayBuffer&&(_0x3036c2=new Uint8Array(_0x3036c2)),(_0x3036c2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3036c2 instanceof Uint8ClampedArray||_0x3036c2 instanceof Int16Array||_0x3036c2 instanceof Uint16Array||_0x3036c2 instanceof Int32Array||_0x3036c2 instanceof Uint32Array||_0x3036c2 instanceof Float32Array||_0x3036c2 instanceof Float64Array)&&(_0x3036c2=new Uint8Array(_0x3036c2[_0x4713c9(0x29e)],_0x3036c2['byteOffset'],_0x3036c2['byteLength'])),_0x3036c2 instanceof Uint8Array){for(var _0x1d23d7=_0x3036c2[_0x4713c9(0x394)],_0x241a4d=[],_0x4cd2e9=0x0;_0x4cd2e9<_0x1d23d7;_0x4cd2e9++)_0x241a4d[_0x4cd2e9>>>0x2]|=_0x3036c2[_0x4cd2e9]<<0x18-_0x4cd2e9%0x4*0x8;_0x3b28fb[_0x4713c9(0x3ca)](this,_0x241a4d,_0x1d23d7);}else _0x3b28fb['apply'](this,arguments);};_0x4b11d0['prototype']=_0x57733a;}}()),_0x115202[_0x5bc28f(0x28d)][_0x5bc28f(0x2ff)];}));}(Ze)),Ze[_0x3ff605(0x2db)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x37f2f7(0x2db)],ri;function xn(){var _0x3d684b=_0x37f2f7;return ri||(ri=0x1,function(_0x43c652,_0x2fb309){(function(_0x17eb57,_0x2c9a25,_0x39b9d3){var _0x487573=_0x36dc;_0x43c652[_0x487573(0x2db)]=_0x2c9a25(te(),Ni());}(Mn,function(_0x5d1371){var _0x2982af=_0x36dc;return _0x5d1371[_0x2982af(0x2dd)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5d1371[_0x2982af(0x2dd)][_0x2982af(0x47e)];}));}(Qe)),Qe[_0x3d684b(0x2db)];}var kn=xn();const $n=$e(kn);function Hn(_0x4cf436,_0x575139){var _0x3cfa01=_0x37f2f7;const _0x10ce3e=_0x575139-_0x4cf436[_0x3cfa01(0x4a9)]%_0x575139,_0x167003=String[_0x3cfa01(0x2ca)](_0x10ce3e)[_0x3cfa01(0x3dc)](_0x10ce3e);return _0x4cf436+_0x167003;}function Bn(_0xc5c37d,_0x14110d){var _0x474566=_0x37f2f7;const _0x56be65=Ln['random'](0x10),_0xaae4de=Hn(_0xc5c37d,0x10),_0xe1d6c8=bn[_0x474566(0x3da)](Un[_0x474566(0x3a6)](_0xaae4de),ii['parse'](_0x14110d),{'iv':_0x56be65,'padding':$n});return _0x56be65[_0x474566(0x411)](_0xe1d6c8['ciphertext'])[_0x474566(0x232)](ii);}function jn(){var _0xb04e77=_0x37f2f7;const _0x1da159=_0x45c635()[_0xb04e77(0x4b5)];if(_0x1da159){const _0x3d3ad1={'time':Math[_0xb04e77(0x349)](Date['now']()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0xb04e77(0x3c6)](_0x3d3ad1),_0x1da159);}}var Fn=Object[_0x37f2f7(0x3b6)],Vn=(_0x50b6f0,_0x1a81f3,_0x45a7f2,_0x5f2f6f)=>{var _0x1c17fe=_0x37f2f7;for(var _0x5b46b7=_0x5f2f6f>0x1?void 0x0:_0x5f2f6f?Fn(_0x1a81f3,_0x45a7f2):_0x1a81f3,_0x189cae=_0x50b6f0[_0x1c17fe(0x4a9)]-0x1,_0xb9fd41;_0x189cae>=0x0;_0x189cae--)(_0xb9fd41=_0x50b6f0[_0x189cae])&&(_0x5b46b7=_0xb9fd41(_0x5b46b7)||_0x5b46b7);return _0x5b46b7;},Gn=(_0x43c42c,_0x3078da)=>(_0x28843a,_0xed5c16)=>_0x3078da(_0x28843a,_0xed5c16,_0x43c42c);let at=class{constructor(_0x33da37){var _0x2d2e99=_0x37f2f7;this[_0x2d2e99(0x40c)]=_0x33da37,this[_0x2d2e99(0x2c4)]();}['_initRequestHeader'](){var _0x27afb2=_0x37f2f7;this['_httpService'][_0x27afb2(0x324)]({'interceptor':(_0x44dad8,_0x4aa049)=>{var _0x36224f=_0x27afb2;const _0x254d20=_0x44dad8[_0x36224f(0x380)],_0xa6edd7=jn();return _0xa6edd7&&_0x254d20['set'](_0x36224f(0x252),_0xa6edd7),_0x4aa049(_0x44dad8);}});}};at=Vn([Gn(0x0,_0x3ebdbb(_0x2b3f92))],at);var Wn=Object[_0x37f2f7(0x3b6)],Yn=(_0x205a01,_0x1ddef7,_0x42c1a3,_0x3f067b)=>{var _0x1d1397=_0x37f2f7;for(var _0x1619e9=_0x3f067b>0x1?void 0x0:_0x3f067b?Wn(_0x1ddef7,_0x42c1a3):_0x1ddef7,_0x4563bc=_0x205a01[_0x1d1397(0x4a9)]-0x1,_0x5cdd95;_0x4563bc>=0x0;_0x4563bc--)(_0x5cdd95=_0x205a01[_0x4563bc])&&(_0x1619e9=_0x5cdd95(_0x1619e9)||_0x1619e9);return _0x1619e9;},vt=(_0x288d20,_0x2181ce)=>(_0x4d4890,_0x39d001)=>_0x2181ce(_0x4d4890,_0x39d001,_0x288d20);let Ct=class extends _0x413ca7{constructor(_0x291e05,_0x1b71ab,_0x11512b){var _0x2c3a70=_0x37f2f7;super(),N(this,_0x2c3a70(0x45b),new _0x27a87d(null)),N(this,_0x2c3a70(0x4a3),this[_0x2c3a70(0x45b)][_0x2c3a70(0x1fd)]()),(this[_0x2c3a70(0x425)]=_0x291e05,this[_0x2c3a70(0x48a)]=_0x1b71ab,this[_0x2c3a70(0x4ce)]=_0x11512b);}async[_0x37f2f7(0x3f3)](_0x234923,_0x64cba5,_0x610daa){var _0x100edb=_0x37f2f7;this[_0x100edb(0x45b)][_0x100edb(0x233)]({'unitId':_0x234923,'type':_0x64cba5});let _0x58a24c=null;switch(_0x64cba5){case Z[_0x100edb(0x368)]:{_0x58a24c=await this[_0x100edb(0x48a)][_0x100edb(0x2fe)](_0x234923,_0x610daa);break;}case Z[_0x100edb(0x20a)]:{_0x58a24c=await this[_0x100edb(0x48a)]['loadDoc'](_0x234923,_0x610daa);break;}default:{this[_0x100edb(0x425)][_0x100edb(0x302)](_0x100edb(0x307),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x58a24c;}async['loadUnit'](_0x24359c,_0x34e828,_0x489497){var _0x5be685=_0x37f2f7,_0x548943;this[_0x5be685(0x45b)][_0x5be685(0x233)]({'unitId':_0x24359c,'type':_0x34e828,'subUnitId':_0x489497});let _0x3f0565=0x0;const _0x3e13c8=await((_0x548943=this[_0x5be685(0x4ce)])==null?void 0x0:_0x548943[_0x5be685(0x43c)](_0x24359c));return _0x3e13c8&&(_0x3e13c8[_0x5be685(0x4c8)]||_0x3e13c8[_0x5be685(0x295)][_0x5be685(0x4a9)]!==0x0)&&(_0x3f0565=_0x3e13c8[_0x5be685(0x46c)]),_0x3f0565===0x0&&this[_0x5be685(0x425)][_0x5be685(0x221)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5be685(0x3f3)](_0x24359c,_0x34e828,_0x3f0565);}};Ct=Yn([vt(0x0,_0x3ec9e5),vt(0x1,_0x3ebdbb(_0x34d888)),vt(0x2,_0x2a8e41(J))],Ct);var Kn=Object[_0x37f2f7(0x3b6)],qn=(_0x39b271,_0x14d42d,_0x53f67b,_0x2f5b22)=>{for(var _0x5807cf=_0x2f5b22>0x1?void 0x0:_0x2f5b22?Kn(_0x14d42d,_0x53f67b):_0x14d42d,_0x1e82d7=_0x39b271['length']-0x1,_0xbed944;_0x1e82d7>=0x0;_0x1e82d7--)(_0xbed944=_0x39b271[_0x1e82d7])&&(_0x5807cf=_0xbed944(_0x5807cf)||_0x5807cf);return _0x5807cf;},pt=(_0x595f88,_0x5e5ef3)=>(_0x146d8c,_0x2fa430)=>_0x5e5ef3(_0x146d8c,_0x2fa430,_0x595f88);const zn=[_0x37f2f7(0x2ef),_0x37f2f7(0x400),_0x37f2f7(0x3a7),_0x37f2f7(0x37d),'image/bmp'],Jn=0x5*0x400*0x400,Xn=_0x37f2f7(0x3ed),Zn=_0x37f2f7(0x35e),Qn=_0x37f2f7(0x416),er=_0x37f2f7(0x454);let Rt=class{constructor(_0x22c1a5,_0x4c84db,_0x44a63b){var _0x546b1f=_0x37f2f7;N(this,_0x546b1f(0x3a9),0x0),N(this,_0x546b1f(0x32f),new _0x1b4986()),N(this,'change$',this[_0x546b1f(0x32f)]),N(this,_0x546b1f(0x44e),new Map()),(this[_0x546b1f(0x40c)]=_0x22c1a5,this[_0x546b1f(0x2a4)]=_0x4c84db,this['_univerInstanceService']=_0x44a63b);}[_0x37f2f7(0x344)](_0xbd0d94){var _0x80edde=_0x37f2f7;this['_waitCount']=_0xbd0d94,this[_0x80edde(0x32f)][_0x80edde(0x233)](_0xbd0d94);}['getImageSourceCache'](_0x4df9d5,_0x2c61fe){var _0x278514=_0x37f2f7;if(_0x2c61fe===_0x4be524[_0x278514(0x2ac)]){const _0x1ba1b7=new Image();return _0x1ba1b7[_0x278514(0x225)]=_0x4df9d5,_0x1ba1b7;}return this['_imageSourceCache'][_0x278514(0x1f0)](_0x4df9d5);}[_0x37f2f7(0x27a)](_0x1b10e7,_0x2c6ae9,_0x3fd8fe){var _0xb9b9=_0x37f2f7;_0x2c6ae9===_0x4be524[_0xb9b9(0x2ac)]||_0x3fd8fe==null||this[_0xb9b9(0x44e)]['set'](_0x1b10e7,_0x3fd8fe);}async[_0x37f2f7(0x482)](_0x16ac8f){var _0x4bd538=_0x37f2f7;try{const _0x119c6e=this['_replaceFileID'](this[_0x4bd538(0x4bd)](),''+_0x16ac8f),_0x33ad8c=(await this[_0x4bd538(0x40c)][_0x4bd538(0x1f0)](_0x119c6e))[_0x4bd538(0x3c4)];if(_0x33ad8c['error']&&_0x33ad8c['error'][_0x4bd538(0x33c)]===pi['OK']){const _0x3caaee=new URL(_0x33ad8c['url'],this['_getDownloadEndpointURL']())[_0x4bd538(0x232)]();return Promise[_0x4bd538(0x439)](_0x3caaee);}return Promise[_0x4bd538(0x4ac)](_0x33ad8c['error']);}catch(_0x33b9ff){return Promise[_0x4bd538(0x4ac)](_0x33b9ff);}}async[_0x37f2f7(0x4de)](_0x4cffb0){var _0x16df5f=_0x37f2f7;let _0x1faa12='';if(!zn[_0x16df5f(0x4c0)](_0x4cffb0[_0x16df5f(0x279)]))return this[_0x16df5f(0x29d)](),Promise[_0x16df5f(0x4ac)](new Error(_0x5c60c['ERROR_IMAGE_TYPE']));if(_0x4cffb0[_0x16df5f(0x26c)]>Jn)return this[_0x16df5f(0x29d)](),Promise['reject'](new Error(_0x5c60c['ERROR_EXCEED_SIZE']));try{const _0x27e4eb=new FormData();_0x27e4eb[_0x16df5f(0x4d1)](_0x16df5f(0x4b1),_0x4cffb0);const _0x2f8e17=this['_univerInstanceService'][_0x16df5f(0x3c1)](),_0x328985=_0x2f8e17==null?void 0x0:_0x2f8e17[_0x16df5f(0x1df)]();if(!_0x328985)throw new Error('unitId\x20is\x20not\x20found');const _0x407e0e=this[_0x16df5f(0x2ab)]()+_0x16df5f(0x1e1)+_0x4cffb0[_0x16df5f(0x26c)]['toString']()+_0x16df5f(0x301)+mi[_0x16df5f(0x2a5)]+_0x16df5f(0x3f6)+encodeURIComponent(_0x328985),_0x2c5a13={'body':_0x27e4eb},_0x1f2b19=(await this[_0x16df5f(0x40c)][_0x16df5f(0x449)](_0x407e0e,_0x2c5a13))[_0x16df5f(0x3c4)];if(typeof _0x1f2b19[_0x16df5f(0x271)]!=_0x16df5f(0x42b))return this[_0x16df5f(0x29d)](),Promise[_0x16df5f(0x4ac)](new Error(_0x5c60c[_0x16df5f(0x309)]));_0x1faa12=_0x1f2b19['FileId'];}catch{return this[_0x16df5f(0x29d)](),Promise[_0x16df5f(0x4ac)](new Error(_0x5c60c[_0x16df5f(0x309)]));}return new Promise((_0x112466,_0x297195)=>{const _0x4d716b=new FileReader();_0x4d716b['readAsDataURL'](_0x4cffb0),_0x4d716b['onload']=_0x24a75a=>{var _0x546d3b=_0x36dc,_0x43464d;const _0x3138bc=(_0x43464d=_0x24a75a[_0x546d3b(0x2f2)])==null?void 0x0:_0x43464d[_0x546d3b(0x2b6)];if(_0x3138bc==null){this['_decreaseWaiting'](),_0x297195(new Error(_0x5c60c[_0x546d3b(0x309)]));return;}const _0x1dac30=_0x4af71f['generateRandomId'](0x6);_0x112466({'imageId':_0x1dac30,'imageSourceType':_0x4be524[_0x546d3b(0x3db)],'source':_0x1faa12,'base64Cache':_0x3138bc,'status':_0x5c60c[_0x546d3b(0x474)]}),this[_0x546d3b(0x29d)]();};});}[_0x37f2f7(0x2ab)](){var _0x1e53b3=_0x37f2f7,_0x2d2029,_0x12ffea;const _0x596aea=this[_0x1e53b3(0x2a4)][_0x1e53b3(0x41c)](Xn),_0x5c5552=this['_configService'][_0x1e53b3(0x41c)](K);return(_0x12ffea=(_0x2d2029=_0x5c5552==null?void 0x0:_0x5c5552[_0x1e53b3(0x42f)])!=null?_0x2d2029:_0x596aea)!=null?_0x12ffea:Zn;}[_0x37f2f7(0x4bd)](){var _0x322462=_0x37f2f7,_0x2286f0,_0x24efd8;const _0x3b6fe7=this[_0x322462(0x2a4)][_0x322462(0x41c)](Qn),_0x677a24=this[_0x322462(0x2a4)][_0x322462(0x41c)](K);return(_0x24efd8=(_0x2286f0=_0x677a24==null?void 0x0:_0x677a24[_0x322462(0x244)])!=null?_0x2286f0:_0x3b6fe7)!=null?_0x24efd8:er;}[_0x37f2f7(0x263)](){var _0x3b48f2=_0x37f2f7,_0x5a73a4;const _0x46a203=this[_0x3b48f2(0x2a4)]['getConfig'](K);return(_0x5a73a4=_0x46a203==null?void 0x0:_0x46a203[_0x3b48f2(0x39c)])!=null?_0x5a73a4:location[_0x3b48f2(0x2fc)];}[_0x37f2f7(0x47a)](_0x5c354e,_0x4deed9){var _0x4316a3=_0x37f2f7;return _0x5c354e[_0x4316a3(0x39d)]('{fileID}',_0x4deed9);}[_0x37f2f7(0x29d)](){var _0x114542=_0x37f2f7;this[_0x114542(0x3a9)]-=0x1,this[_0x114542(0x32f)][_0x114542(0x233)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x3ebdbb(_0x2b3f92)),pt(0x1,_0x4ac810),pt(0x2,_0x3ebdbb(_0x243a7a))],Rt);var tr=Object[_0x37f2f7(0x3b6)],ir=(_0x1bbe57,_0x411713,_0x4486ba,_0x109032)=>{for(var _0x12bd2a=_0x109032>0x1?void 0x0:_0x109032?tr(_0x411713,_0x4486ba):_0x411713,_0x54a333=_0x1bbe57['length']-0x1,_0x367b4c;_0x54a333>=0x0;_0x54a333--)(_0x367b4c=_0x1bbe57[_0x54a333])&&(_0x12bd2a=_0x367b4c(_0x12bd2a)||_0x12bd2a);return _0x12bd2a;},ai=(_0x268a69,_0x2c3eed)=>(_0x475477,_0x517194)=>_0x2c3eed(_0x475477,_0x517194,_0x268a69);const sr=_0x37f2f7(0x392);let bt=class{constructor(_0x23a9b9,_0x48f0b7){var _0xa039e5=_0x37f2f7;this['_configService']=_0x23a9b9,this[_0xa039e5(0x36c)]=_0x48f0b7;}[_0x37f2f7(0x40a)](){var _0x3e1dc1=_0x37f2f7,_0x4a4137,_0x3ac296;const _0x179ba4=this[_0x3e1dc1(0x2a4)]['getConfig'](bi),_0x1075ec=this[_0x3e1dc1(0x2a4)]['getConfig'](K);return(_0x3ac296=(_0x4a4137=_0x1075ec==null?void 0x0:_0x1075ec[_0x3e1dc1(0x300)])!=null?_0x4a4137:_0x179ba4)!=null?_0x3ac296:sr;}async[_0x37f2f7(0x2b2)](_0x1149b5){var _0x86c85d=_0x37f2f7;const _0x5c7ef7=this[_0x86c85d(0x40a)]()+_0x86c85d(0x337);return{'list':[{'title':_0x86c85d(0x345),'mentions':(await this[_0x86c85d(0x36c)][_0x86c85d(0x1f0)](_0x5c7ef7,{'params':{'objectID':_0x1149b5['unitId'],'unitID':_0x1149b5[_0x86c85d(0x415)]}}))[_0x86c85d(0x3c4)][_0x86c85d(0x4f0)][_0x86c85d(0x35c)](_0x10c67a=>({'objectId':_0x10c67a['id'],'name':_0x10c67a['subject'][_0x86c85d(0x399)],'metadata':{'icon':_0x10c67a[_0x86c85d(0x46e)][_0x86c85d(0x36a)]},'label':_0x10c67a[_0x86c85d(0x46e)][_0x86c85d(0x399)],'objectType':_0x1df36d['PERSON']})),'metadata':{},'type':_0x1df36d[_0x86c85d(0x2a0)]}]};}};bt=ir([ai(0x0,_0x3ebdbb(_0x4ac810)),ai(0x1,_0x3ebdbb(_0x2b3f92))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x2f2e5f,_0x3a1b92,_0x2aa684,_0x52aee8)=>{for(var _0x223096=_0x52aee8>0x1?void 0x0:_0x52aee8?nr(_0x3a1b92,_0x2aa684):_0x3a1b92,_0x12a34d=_0x2f2e5f['length']-0x1,_0x46cb50;_0x12a34d>=0x0;_0x12a34d--)(_0x46cb50=_0x2f2e5f[_0x12a34d])&&(_0x223096=_0x46cb50(_0x223096)||_0x223096);return _0x223096;},Ae=(_0x7bbbed,_0xe09b76)=>(_0x34b2de,_0x1e5156)=>_0xe09b76(_0x34b2de,_0x1e5156,_0x7bbbed);let ot=class extends _0x413ca7{constructor(_0x3e33d5,_0x10a376,_0x31d792,_0x53bede,_0x2c7e07){var _0x12b367=_0x37f2f7;super(),this[_0x12b367(0x388)]=_0x3e33d5,this[_0x12b367(0x3e0)]=_0x10a376,this['_permissionService']=_0x31d792,this[_0x12b367(0x49b)]=_0x53bede,this[_0x12b367(0x395)]=_0x2c7e07,this['_initUnitPermissionChange'](),this[_0x12b367(0x37b)]();}['_initCloseConn'](){var _0x3ce44a=_0x37f2f7;const _0xebf11f=async _0x37cba2=>{var _0x105cfa=_0x36dc;(await this[_0x105cfa(0x49b)]['requireSession'](_0x37cba2))[_0x105cfa(0x2a6)]['pipe'](_0x56b9c3(_0x2aabd3=>_0x2aabd3['eventID']===_0x3df659['SHOULD_CLOSE_CONN']),_0x1a8e09(this[_0x105cfa(0x2f8)]))[_0x105cfa(0x333)](_0x4cabf6=>{var _0x5b360c=_0x105cfa;const _0x2d5ba5=_0x4cabf6,{reason:_0x17673c}=_0x2d5ba5[_0x5b360c(0x1e7)];this[_0x5b360c(0x395)]['emitEvent']({'id':ne[_0x5b360c(0x350)],'data':_0x17673c}),this[_0x5b360c(0x37a)]['updatePermissionPoint'](new _0x4b3b4d(_0x37cba2)['id'],!0x1),this[_0x5b360c(0x49b)][_0x5b360c(0x2b8)](_0x37cba2);});};_0x5d681f(this[_0x3ce44a(0x3e0)]['getTypeOfUnitAdded$'](_0x47812a[_0x3ce44a(0x368)]),this[_0x3ce44a(0x3e0)][_0x3ce44a(0x4cc)](_0x47812a['UNIVER_DOC']))[_0x3ce44a(0x3bb)](_0x1b6381(_0xb28d62=>_0xb28d62[_0x3ce44a(0x1df)]()),_0x56b9c3(_0x1c6e54=>!_0x59bd05(_0x1c6e54)),_0x1a8e09(this[_0x3ce44a(0x2f8)]))[_0x3ce44a(0x333)](_0x4cf40f=>{_0xebf11f(_0x4cf40f);});}[_0x37f2f7(0x23f)](){var _0x157a4f=_0x37f2f7;const _0x2ace2c=async _0x184460=>{var _0xe3b28c=_0x36dc;const _0x2df18b=await this[_0xe3b28c(0x49b)][_0xe3b28c(0x4e6)](_0x184460),_0x235394=this[_0xe3b28c(0x388)][_0xe3b28c(0x1f0)](_0x52df75);_0x2df18b['event$'][_0xe3b28c(0x3bb)](_0x56b9c3(_0xb87987=>_0xb87987['eventID']===_0x3df659[_0xe3b28c(0x430)]),_0x1a8e09(this[_0xe3b28c(0x2f8)]))[_0xe3b28c(0x333)](_0x50d72b=>{var _0x494624=_0xe3b28c;const _0x453dd4=_0x50d72b,{objectId:_0x5b8db3}=_0x453dd4[_0x494624(0x1e7)];_0x5b8db3===_0x184460?_0x235394[_0x494624(0x4d7)](_0x184460):_0x235394[_0x494624(0x43a)](_0x184460,_0x5b8db3);});};_0x5d681f(this[_0x157a4f(0x3e0)]['getTypeOfUnitAdded$'](_0x47812a[_0x157a4f(0x368)]))[_0x157a4f(0x3bb)](_0x1b6381(_0x5356e6=>_0x5356e6['getUnitId']()),_0x56b9c3(_0x2f9749=>!_0x59bd05(_0x2f9749)),_0x1a8e09(this[_0x157a4f(0x2f8)]))[_0x157a4f(0x333)](_0x5541bb=>{_0x2ace2c(_0x5541bb);});}};ot=rr([Ae(0x0,_0x3ebdbb(_0x57e09f)),Ae(0x1,_0x243a7a),Ae(0x2,_0x166cf6),Ae(0x3,_0x3ebdbb(Le)),Ae(0x4,_0x3ebdbb(ve))],ot);var ar=Object[_0x37f2f7(0x3b6)],or=(_0x404c2b,_0x4cfe1f,_0x52f517,_0x2d4ebb)=>{var _0x37aa22=_0x37f2f7;for(var _0x5d16d0=_0x2d4ebb>0x1?void 0x0:_0x2d4ebb?ar(_0x4cfe1f,_0x52f517):_0x4cfe1f,_0x3413d0=_0x404c2b[_0x37aa22(0x4a9)]-0x1,_0x571460;_0x3413d0>=0x0;_0x3413d0--)(_0x571460=_0x404c2b[_0x3413d0])&&(_0x5d16d0=_0x571460(_0x5d16d0)||_0x5d16d0);return _0x5d16d0;},oi=(_0x4dd052,_0x41c82f)=>(_0x599026,_0x3dc0cc)=>_0x41c82f(_0x599026,_0x3dc0cc,_0x4dd052);let Ot=class{constructor(_0x29a699,_0x2e8e14){var _0x58b8c2=_0x37f2f7;this[_0x58b8c2(0x2a4)]=_0x29a699,this['_httpService']=_0x2e8e14;}async[_0x37f2f7(0x3f8)](_0x1f920c,_0x251097){var _0x136b0f=_0x37f2f7,_0x5bb3d8;const {unitID:_0x2eec9a,type:_0x1f172e,revision:_0x2e306c=0x0}=_0x251097,_0x2bbd94=this['getSnapshotAPIPath']()+'/'+_0x1f172e+'/unit/'+_0x2eec9a+_0x136b0f(0x2af)+_0x2e306c,_0x3b3de2=(await this[_0x136b0f(0x40c)][_0x136b0f(0x1f0)](_0x2bbd94))[_0x136b0f(0x3c4)],_0x893ee5=(_0x5bb3d8=_0x3b3de2[_0x136b0f(0x4ca)])==null?void 0x0:_0x5bb3d8[_0x136b0f(0x256)];if(_0x893ee5){const _0x52c0b1=_0x893ee5==null?void 0x0:_0x893ee5[_0x136b0f(0x297)],_0x23a45f=_0x14a65c[_0x136b0f(0x472)](_0x5cbe04(_0x52c0b1));_0x893ee5[_0x136b0f(0x297)]=_0x23a45f,Object[_0x136b0f(0x31d)](_0x893ee5[_0x136b0f(0x437)])[_0x136b0f(0x3cd)](([,_0x5f11d7])=>{var _0x27d1c9=_0x136b0f;const _0x4593c0=_0x5f11d7['originalMeta'],_0x2de298=_0x14a65c[_0x27d1c9(0x472)](_0x5cbe04(_0x4593c0));_0x5f11d7[_0x27d1c9(0x297)]=_0x2de298;});}return _0x3b3de2;}async[_0x37f2f7(0x4f1)](_0x53fac2,_0x3e5746){var _0x9de041=_0x37f2f7;const {unitID:_0x1ea3ba,type:_0x440f87,blockID:_0x1be3f2}=_0x3e5746,_0x1d1b4=this[_0x9de041(0x1db)]()+'/'+_0x440f87+_0x9de041(0x3ee)+_0x1ea3ba+_0x9de041(0x3d0)+_0x1be3f2;return(await this[_0x9de041(0x40c)][_0x9de041(0x1f0)](_0x1d1b4))['body'];}async[_0x37f2f7(0x398)](_0x374279,_0x2dcee7){var _0x392cb6=_0x37f2f7;const {unitID:_0xcdacd5,type:_0x3c7cde,blockID:_0x56b476}=_0x2dcee7,_0x324209=this[_0x392cb6(0x1db)]()+_0x392cb6(0x3d0)+_0x3c7cde+'/unit/'+_0xcdacd5+_0x392cb6(0x3d0)+_0x56b476;return(await this['_httpService'][_0x392cb6(0x1f0)](_0x324209))[_0x392cb6(0x3c4)];}async[_0x37f2f7(0x4bc)](_0x1dac7f,_0x51710d){var _0x398503=_0x37f2f7;const {unitID:_0x2232d5,type:_0x312ac2,from:_0x272d3e,to:_0x469923}=_0x51710d,_0x1b94ff=this['_getAPIPrefix']()+'/'+_0x312ac2+_0x398503(0x3ee)+_0x2232d5+_0x398503(0x41e)+_0x272d3e+_0x398503(0x38d)+_0x469923;return(await this[_0x398503(0x40c)][_0x398503(0x1f0)](_0x1b94ff))[_0x398503(0x3c4)];}[_0x37f2f7(0x2d6)](){var _0x4aad9a=_0x37f2f7,_0x137bf9;return(_0x137bf9=this[_0x4aad9a(0x2a4)]['getConfig'](ps))!=null?_0x137bf9:this[_0x4aad9a(0x1db)]();}[_0x37f2f7(0x1db)](){var _0x38de29=_0x37f2f7,_0x4a06fd,_0x2efcf8;const _0x2477ef=this[_0x38de29(0x2a4)][_0x38de29(0x41c)](fs),_0x518622=this[_0x38de29(0x2a4)][_0x38de29(0x41c)](K);return(_0x2efcf8=(_0x4a06fd=_0x518622==null?void 0x0:_0x518622[_0x38de29(0x3ab)])!=null?_0x4a06fd:_0x2477ef)!=null?_0x2efcf8:vs;}async[_0x37f2f7(0x292)](_0x293a83,_0x14e7a1){var _0x1d11f8=_0x37f2f7;const _0x20bc34=_0x1d11f8(0x3dd)+_0x14e7a1[_0x1d11f8(0x279)]+_0x1d11f8(0x3ee)+_0x14e7a1['unitID']+_0x1d11f8(0x20c);return(await this['_httpService'][_0x1d11f8(0x1f0)](_0x20bc34,{'params':{'resourceId':JSON['stringify'](_0x14e7a1[_0x1d11f8(0x3cf)])}}))[_0x1d11f8(0x3c4)];}[_0x37f2f7(0x3b1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37f2f7(0x341)](){var _0x2b30c2=_0x37f2f7;throw new Error(_0x2b30c2(0x338));}['saveSheetBlock'](){var _0x3ee778=_0x37f2f7;throw new Error(_0x3ee778(0x338));}[_0x37f2f7(0x2c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37f2f7(0x2c0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37f2f7(0x266)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ot=or([oi(0x0,_0x4ac810),oi(0x1,_0x3ebdbb(_0x2b3f92))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x1f6f19,_0x564a27,_0x59ba23,_0x3f8935)=>{var _0x481935=_0x37f2f7;for(var _0x1fce7b=_0x3f8935>0x1?void 0x0:_0x3f8935?cr(_0x564a27,_0x59ba23):_0x564a27,_0x1761a9=_0x1f6f19[_0x481935(0x4a9)]-0x1,_0x59fd86;_0x1761a9>=0x0;_0x1761a9--)(_0x59fd86=_0x1f6f19[_0x1761a9])&&(_0x1fce7b=_0x59fd86(_0x1fce7b)||_0x1fce7b);return _0x1fce7b;},we=(_0x557871,_0x54fd2a)=>(_0xaed1d0,_0x260939)=>_0x54fd2a(_0xaed1d0,_0x260939,_0x557871);let yt=class extends _0x46a91f{constructor(_0x3c1437,_0x4ab3a2,_0x1ab840,_0x19de9d,_0x2de524){var _0x277cae=_0x37f2f7;super(_0x3c1437,_0x4ab3a2,_0x1ab840),this[_0x277cae(0x31b)]=_0x19de9d,this[_0x277cae(0x425)]=_0x2de524;}[_0x37f2f7(0x29f)](_0x13dab8,_0x97c307){var _0x2bcd89=_0x37f2f7;const _0x2ea775=this[_0x2bcd89(0x491)](_0x13dab8);if(_0x2ea775)try{const _0x5f502f=this['_transformStack'](_0x2ea775,_0x97c307);this[_0x2bcd89(0x25e)](_0x13dab8,_0x5f502f);}catch(_0x5596fa){this['_logService'][_0x2bcd89(0x302)](_0x2bcd89(0x43f),_0x5596fa),this['_clearUndo'](_0x13dab8);}const _0x2331f7=this[_0x2bcd89(0x1e5)](_0x13dab8);if(_0x2331f7)try{const _0x6904bf=this[_0x2bcd89(0x2fd)](_0x2331f7,_0x97c307);this[_0x2bcd89(0x41a)](_0x13dab8,_0x6904bf);}catch(_0x3dfc92){this[_0x2bcd89(0x425)][_0x2bcd89(0x302)](_0x3dfc92),this[_0x2bcd89(0x208)](_0x13dab8);}}['_clearUndo'](_0x3af785){var _0x577e76=_0x37f2f7;const _0x226f10=this[_0x577e76(0x491)](_0x3af785);_0x226f10&&(_0x226f10[_0x577e76(0x4a9)]=0x0,this[_0x577e76(0x2a3)]());}[_0x37f2f7(0x208)](_0x49f840){var _0x311dd4=_0x37f2f7;const _0x275798=this[_0x311dd4(0x1e5)](_0x49f840);_0x275798&&(_0x275798[_0x311dd4(0x4a9)]=0x0,this[_0x311dd4(0x2a3)]());}[_0x37f2f7(0x25e)](_0x382de7,_0x31c1b1){var _0x54de97=_0x37f2f7;this[_0x54de97(0x37f)][_0x54de97(0x287)](_0x382de7,_0x31c1b1),this[_0x54de97(0x2a3)]();}['_substituteRedoStack'](_0x312abb,_0x39c86d){var _0x1b96dd=_0x37f2f7;this[_0x1b96dd(0x387)][_0x1b96dd(0x287)](_0x312abb,_0x39c86d),this['_updateStatus']();}[_0x37f2f7(0x2fd)](_0x67968a,_0x7975d3){var _0x4641b6=_0x37f2f7;const _0x42972e=[];let _0x24a8b2=_0x7975d3,_0x391dc3=_0x7975d3;for(let _0x33f514=_0x67968a[_0x4641b6(0x4a9)]-0x1;_0x33f514>=0x0;_0x33f514--){const {unitID:_0x3757b4,undoMutations:_0x55536e,redoMutations:_0x2ca547}=_0x67968a[_0x33f514],_0x3b3606=this[_0x4641b6(0x31b)]['transformMutationsWithChangeset'](_0x24a8b2,_0x55536e),_0x3f7324=this[_0x4641b6(0x31b)][_0x4641b6(0x1fb)](_0x391dc3,_0x2ca547);if(_0x38edf2(_0x3b3606)||_0x38edf2(_0x3f7324)){this[_0x4641b6(0x425)][_0x4641b6(0x302)](_0x4641b6(0x43f),'transformStack\x20failed!',_0x3b3606,_0x3f7324);break;}_0x24a8b2=_0x3b3606[_0x4641b6(0x299)],_0x391dc3=_0x3f7324[_0x4641b6(0x299)],_0x42972e[_0x4641b6(0x305)]({'unitID':_0x3757b4,'undoMutations':_0x3b3606['m2Prime'],'redoMutations':_0x3f7324[_0x4641b6(0x2b3)]});}return _0x42972e[_0x4641b6(0x487)]();}};yt=hr([we(0x0,_0x243a7a),we(0x1,_0x404e2f),we(0x2,_0x1928ff),we(0x3,_0x280463),we(0x4,_0x3ec9e5)],yt);var _r=Object[_0x37f2f7(0x34e)],lr=Object[_0x37f2f7(0x3b6)],ur=(_0x4f261f,_0x309204,_0x3535b6)=>_0x309204 in _0x4f261f?_r(_0x4f261f,_0x309204,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3535b6}):_0x4f261f[_0x309204]=_0x3535b6,dr=(_0x4290e9,_0x2d2290,_0x209c23,_0x3088bc)=>{for(var _0x4b95eb=_0x3088bc>0x1?void 0x0:_0x3088bc?lr(_0x2d2290,_0x209c23):_0x2d2290,_0x17c7af=_0x4290e9['length']-0x1,_0x1598b2;_0x17c7af>=0x0;_0x17c7af--)(_0x1598b2=_0x4290e9[_0x17c7af])&&(_0x4b95eb=_0x1598b2(_0x4b95eb)||_0x4b95eb);return _0x4b95eb;},mt=(_0xa236e7,_0x3b9125)=>(_0x148c56,_0x5d338d)=>_0x3b9125(_0x148c56,_0x5d338d,_0xa236e7),fr=(_0x1b5454,_0x3ccdfc,_0x47fbaf)=>ur(_0x1b5454,_0x3ccdfc+'',_0x47fbaf);const vr=_0x37f2f7(0x385);let Nt=class extends _0x5c629c{constructor(_0x4406ee,_0x481a41,_0x3a8e22,_0x5cc286){var _0x511d46=_0x37f2f7;super(),N(this,_0x511d46(0x3fc)),(this[_0x511d46(0x425)]=_0x481a41,this[_0x511d46(0x388)]=_0x3a8e22,this[_0x511d46(0x2a4)]=_0x5cc286);const {..._0x414637}=_0x49b27c({},Ds,_0x4406ee);if(!_0x414637['socketService'])throw new Error(_0x511d46(0x3a3));this['_config']=_0x414637,this[_0x511d46(0x2a4)][_0x511d46(0x38a)](K,_0x414637);}[_0x37f2f7(0x3a8)](){var _0x495d23=_0x37f2f7;this[_0x495d23(0x274)](),this[_0x495d23(0x402)]();}[_0x37f2f7(0x274)](){var _0x11fb18=_0x37f2f7,_0x1c1359,_0x36c0ae;this[_0x11fb18(0x388)][_0x11fb18(0x281)](_0x5274eb)&&this[_0x11fb18(0x425)]['error'](_0x11fb18(0x36e),_0x11fb18(0x32d));const _0x80bf10=_0x49e694([[_0x5274eb,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config'][_0x11fb18(0x43e)]}],[_0x18f8cd,{'useClass':Ot}],[_0x24866c,{'useClass':Tt}],[_0x591d29,{'useClass':Rt}],[_0x32dff5,{'useClass':bt}],[nt],[It]],(_0x1c1359=this['_config'])==null?void 0x0:_0x1c1359[_0x11fb18(0x3fe)]);if(!((_0x36c0ae=this[_0x11fb18(0x3fc)])!=null&&_0x36c0ae['enableSingleActiveInstanceLock'])){const _0x1270c5=_0x80bf10[_0x11fb18(0x413)](([_0x539859])=>_0x539859===ht);_0x1270c5!==-0x1&&_0x80bf10['splice'](_0x1270c5,0x1);}_0x5181f1(this[_0x11fb18(0x388)],_0x80bf10);}[_0x37f2f7(0x402)](){var _0x4a70c9=_0x37f2f7,_0x3e079d,_0x2c2cd4,_0x27728b;this['_injector'][_0x4a70c9(0x1f0)](_0x2b3f92)[_0x4a70c9(0x324)]({'priority':0x14,'interceptor':_0x45c69e({'maxParallel':0x6})}),(_0x3e079d=this[_0x4a70c9(0x3fc)])!=null&&_0x3e079d[_0x4a70c9(0x288)]||(_0x2c2cd4=this[_0x4a70c9(0x388)][_0x4a70c9(0x1f0)](J,_0x51e8c2[_0x4a70c9(0x418)]))==null||_0x2c2cd4['disableLocalCache'](),(_0x27728b=this['_config'])!=null&&_0x27728b[_0x4a70c9(0x220)]&&_0x3f1ad2(this[_0x4a70c9(0x388)],[[rt]]),_0x3f1ad2(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x37f2f7(0x1f8),vr),Nt=dr([_0x1df94f(_0x103e25,_0x2542a7),mt(0x1,_0x3ec9e5),mt(0x2,_0x3ebdbb(_0x57e09f)),mt(0x3,_0x4ac810)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x2ece9e=_0x5654;(function(_0x190b8d,_0x1d460e){var _0x44763f=_0x5654,_0x144e1c=_0x190b8d();while(!![]){try{var _0x1aee43=parseInt(_0x44763f(0x343))/0x1*(-parseInt(_0x44763f(0x230))/0x2)+-parseInt(_0x44763f(0x1e3))/0x3+parseInt(_0x44763f(0x372))/0x4*(-parseInt(_0x44763f(0x130))/0x5)+parseInt(_0x44763f(0x3d5))/0x6+-parseInt(_0x44763f(0x2f0))/0x7*(parseInt(_0x44763f(0x261))/0x8)+-parseInt(_0x44763f(0x390))/0x9*(-parseInt(_0x44763f(0x396))/0xa)+-parseInt(_0x44763f(0x227))/0xb*(-parseInt(_0x44763f(0x3bf))/0xc);if(_0x1aee43===_0x1d460e)break;else _0x144e1c['push'](_0x144e1c['shift']());}catch(_0x21cd43){_0x144e1c['push'](_0x144e1c['shift']());}}}(_0x108a,0xc584a));var Di=Object['defineProperty'],Ui=(_0x39bd4d,_0x25eb4a,_0x1fc996)=>_0x25eb4a in _0x39bd4d?Di(_0x39bd4d,_0x25eb4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fc996}):_0x39bd4d[_0x25eb4a]=_0x1fc996,N=(_0x407d65,_0x2042c0,_0x38ce60)=>Ui(_0x407d65,typeof _0x2042c0!='symbol'?_0x2042c0+'':_0x2042c0,_0x38ce60);import{createIdentifier as _0x205041,Inject as _0x5d0e22,Injector as _0x4ddb89,IConfigService as _0x58661f,ILogService as _0x543a8d,Disposable as _0xccab29,DisposableCollection as _0x357ac4,toDisposable as _0x537072,IUniverInstanceService as _0x445269,UserManagerService as _0x35bdf5,UniverInstanceType as _0x1e7470,LocaleService as _0x5175b3,Optional as _0x28b9d0,RxDisposable as _0x4f35f0,Tools as _0x236cf9,Rectangle as _0x39e8a0,ICommandService as _0x1f7b12,JSONX as _0x50eedb,CommandType as _0x2f43f7,IUndoRedoService as _0x5f18b5,IPermissionService as _0x24e934,sequenceExecute as _0x39681b,Workbook as _0x296902,MentionType as _0x2f400d,isInternalEditorID as _0x1d79a0,LocalUndoRedoService as _0x4045bf,IContextService as _0x4a6e2e,DependentOn as _0x4749e1,Plugin as _0x2ceb9a,merge as _0x23406e,mergeOverrideWithDependencies as _0x1b2dac,IAuthzIoService as _0x51b114,IMentionIOService as _0x4b98c1,registerDependencies as _0x20c68b,Quantity as _0xc1cc4d,touchDependencies as _0x3daf52}from'@univerjs/core';import{Subject as _0x2bde7c,merge as _0x33691d,of as _0xed8855,BehaviorSubject as _0x3e82de,takeUntil as _0x3567f0,ReplaySubject as _0x249288,take as _0x9ce0ef,map as _0xd8da15,shareReplay as _0xaba0a8,firstValueFrom as _0x240de4,concatMap as _0x297269}from'rxjs';import{map as _0x1b1f63,take as _0x3a432e,filter as _0x14315c,delay as _0x129856,takeUntil as _0x426591}from'rxjs/operators';import{CollaborationEvent as _0x285f19,ISnapshotServerService as _0x39bfb3,parseChangesetToProtocol as _0x2aedff,ITransformService as _0x5893e1,isTransformMutationsWithChangesetSuccess as _0x42408e,mapDocumentTypeToUniverType as _0x204a29,RevisionService as _0x35bf27,isTransformChangesetsSuccess as _0x1408e0,CompressMutationService as _0x940a86,parseProtocolChangeset as _0x51dd5f,uuidv4 as _0x41a674,SnapshotService as _0x4a350d,textEncoder as _0xb6ebea,b64DecodeUnicode as _0x3dd0b1,isTransformMutationsWithChangesetFailure as _0x9875e3,UniverCollaborationPlugin as _0x4e9ab7}from'@univerjs-pro/collaboration';import{HTTPService as _0x5a566d,ISocketService as _0x142257,MergeInterceptorFactory as _0x215c44,HTTPRequest as _0x4c8fe9,UniverNetworkPlugin as _0x2e9cb4,ThresholdInterceptorFactory as _0x221035}from'@univerjs/network';import{ITelemetryService as _0x4cacb1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x51b98d}from'@univerjs/docs';import{SheetsSelectionsService as _0x5bd593,SetSelectionsOperation as _0x4e4d51,InsertSheetMutation as _0x6ca86c,EmptyMutation as _0x54931d,WorkbookEditablePermission as _0x25237d,SheetPermissionInitController as _0x243820}from'@univerjs/sheets';import{ImageSourceType as _0x237891,ImageUploadStatusType as _0x785d80,IImageIoService as _0x5e6c6f}from'@univerjs/drawing';import{getGlobalObject as _0x8cf959}from'@univerjs-pro/license';const fs=_0x2ece9e(0x31c),vs='/universer-api/snapshot',ps=_0x2ece9e(0x379),yr='SEND_CHANGESET_TIMEOUT',ms=0x7d0,gs=_0x2ece9e(0x3c6),Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x2ece9e(0x16c),Es=_0x2ece9e(0xfb),Is=0x7530,fi=_0x2ece9e(0x149),vi=0x4e20,Ts=0x4e20,Cs=_0x2ece9e(0x27a),Rs=0x3,Dr=_0x2ece9e(0x212),Ur=0x3e8,bs=_0x2ece9e(0x332),Os='/universer-api/comb',ys=_0x2ece9e(0x29d),Ns=_0x2ece9e(0x137),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x2ece9e(0x39c);var pi=(_0x125511=>(_0x125511[_0x125511[_0x2ece9e(0x22f)]=0x0]=_0x2ece9e(0x22f),_0x125511[_0x125511['OK']=0x1]='OK',_0x125511[_0x125511['INTERNAL_ERROR']=0x2]=_0x2ece9e(0x16d),_0x125511[_0x125511[_0x2ece9e(0x1ba)]=0x3]=_0x2ece9e(0x1ba),_0x125511[_0x125511[_0x2ece9e(0x20d)]=0x4]=_0x2ece9e(0x20d),_0x125511[_0x125511['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x125511[_0x125511[_0x2ece9e(0x335)]=0x6]=_0x2ece9e(0x335),_0x125511[_0x125511['INVALID_ARGUMENT']=0x7]=_0x2ece9e(0x24e),_0x125511[_0x125511[_0x2ece9e(0x283)]=0x8]='TOO_MANY_REQUESTS',_0x125511[_0x125511[_0x2ece9e(0x1d7)]=0x9]=_0x2ece9e(0x1d7),_0x125511[_0x125511[_0x2ece9e(0x199)]=0xa]=_0x2ece9e(0x199),_0x125511[_0x125511[_0x2ece9e(0x301)]=0x1389]=_0x2ece9e(0x301),_0x125511[_0x125511['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2ece9e(0x1a8),_0x125511[_0x125511[_0x2ece9e(0x233)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x125511[_0x125511['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2ece9e(0x2b6),_0x125511[_0x125511[_0x2ece9e(0x29f)]=0x1b59]=_0x2ece9e(0x29f),_0x125511[_0x125511['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ece9e(0x203),_0x125511[_0x125511[_0x2ece9e(0x26e)]=0x1b5b]=_0x2ece9e(0x26e),_0x125511[_0x125511[_0x2ece9e(0x25f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x125511[_0x125511['APPLY_DUPLICATED']=0x1b5d]=_0x2ece9e(0x3a9),_0x125511[_0x125511[_0x2ece9e(0x109)]=0x1f41]=_0x2ece9e(0x109),_0x125511[_0x125511[_0x2ece9e(0x1e2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x125511[_0x125511[_0x2ece9e(0x22d)]=0x232a]=_0x2ece9e(0x22d),_0x125511[_0x125511[_0x2ece9e(0x33a)]=0x232b]=_0x2ece9e(0x33a),_0x125511[_0x125511[_0x2ece9e(0x31b)]=0x232c]=_0x2ece9e(0x31b),_0x125511[_0x125511['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x125511[_0x125511[_0x2ece9e(0x368)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x125511[_0x125511['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2ece9e(0x32f),_0x125511[_0x125511['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2ece9e(0x329),_0x125511[_0x125511[_0x2ece9e(0x39e)]=0x2714]=_0x2ece9e(0x39e),_0x125511[_0x125511['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2ece9e(0x392),_0x125511[_0x125511[_0x2ece9e(0x2e4)]=0x271b]=_0x2ece9e(0x2e4),_0x125511[_0x125511[_0x2ece9e(0x1a5)]=0x271c]=_0x2ece9e(0x1a5),_0x125511[_0x125511[_0x2ece9e(0x3d6)]=0x271d]=_0x2ece9e(0x3d6),_0x125511[_0x125511[_0x2ece9e(0x317)]=0x271e]=_0x2ece9e(0x317),_0x125511[_0x125511[_0x2ece9e(0xe6)]=0x271f]=_0x2ece9e(0xe6),_0x125511[_0x125511['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2ece9e(0x208),_0x125511[_0x125511[_0x2ece9e(0x3b1)]=0x2ee1]=_0x2ece9e(0x3b1),_0x125511[_0x125511[_0x2ece9e(0x2d6)]=0x2ee2]=_0x2ece9e(0x2d6),_0x125511[_0x125511[_0x2ece9e(0x351)]=0x2ee3]=_0x2ece9e(0x351),_0x125511[_0x125511[_0x2ece9e(0x172)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x125511[_0x125511[_0x2ece9e(0xfe)]=0x2ee5]=_0x2ece9e(0xfe),_0x125511[_0x125511[_0x2ece9e(0x3d0)]=0x32c9]=_0x2ece9e(0x3d0),_0x125511[_0x125511['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x125511[_0x125511[_0x2ece9e(0x268)]=0x32cb]=_0x2ece9e(0x268),_0x125511[_0x125511['UNRECOGNIZED']=-0x1]=_0x2ece9e(0x1f5),_0x125511))(pi||{}),Z=(_0x3700cd=>(_0x3700cd[_0x3700cd[_0x2ece9e(0x37e)]=0x0]=_0x2ece9e(0x37e),_0x3700cd[_0x3700cd[_0x2ece9e(0x18e)]=0x1]='UNIVER_DOC',_0x3700cd[_0x3700cd[_0x2ece9e(0x10c)]=0x2]=_0x2ece9e(0x10c),_0x3700cd[_0x3700cd['UNIVER_SLIDE']=0x3]=_0x2ece9e(0x22b),_0x3700cd[_0x3700cd[_0x2ece9e(0x17a)]=0x4]='UNIVER_PROJECT',_0x3700cd[_0x3700cd[_0x2ece9e(0x1f5)]=-0x1]=_0x2ece9e(0x1f5),_0x3700cd))(Z||{}),F=(_0x5a9763=>(_0x5a9763[_0x5a9763[_0x2ece9e(0x246)]=0x0]='UNKNOWN_CMD',_0x5a9763[_0x5a9763['HELLO']=0x1]=_0x2ece9e(0x12c),_0x5a9763[_0x5a9763[_0x2ece9e(0x266)]=0x2]=_0x2ece9e(0x266),_0x5a9763[_0x5a9763[_0x2ece9e(0x2e9)]=0x3]=_0x2ece9e(0x2e9),_0x5a9763[_0x5a9763[_0x2ece9e(0x281)]=0x4]=_0x2ece9e(0x281),_0x5a9763[_0x5a9763[_0x2ece9e(0x3a7)]=0x5]='HEARTBEAT',_0x5a9763[_0x5a9763[_0x2ece9e(0x173)]=0x6]='RECV',_0x5a9763[_0x5a9763[_0x2ece9e(0x1f5)]=-0x1]='UNRECOGNIZED',_0x5a9763))(F||{}),me=(_0x276ad7=>(_0x276ad7[_0x276ad7['UNKNOWN_CODE']=0x0]=_0x2ece9e(0x3ac),_0x276ad7[_0x276ad7['OK']=0x1]='OK',_0x276ad7[_0x276ad7[_0x2ece9e(0x2be)]=0x2]=_0x2ece9e(0x2be),_0x276ad7[_0x276ad7[_0x2ece9e(0x129)]=0x3e9]='JOIN_ROOM_FULL',_0x276ad7[_0x276ad7[_0x2ece9e(0x2ee)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x276ad7[_0x276ad7['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2ece9e(0x35a),_0x276ad7[_0x276ad7[_0x2ece9e(0x13b)]=0x3ec]=_0x2ece9e(0x13b),_0x276ad7[_0x276ad7[_0x2ece9e(0x1f5)]=-0x1]=_0x2ece9e(0x1f5),_0x276ad7))(me||{}),mi=(_0x30e5d7=>(_0x30e5d7[_0x30e5d7[_0x2ece9e(0x3a5)]=0x0]=_0x2ece9e(0x3a5),_0x30e5d7[_0x30e5d7[_0x2ece9e(0x15e)]=0x1]=_0x2ece9e(0x15e),_0x30e5d7[_0x30e5d7[_0x2ece9e(0x12f)]=0x2]='HttpExport',_0x30e5d7[_0x30e5d7[_0x2ece9e(0x336)]=0x3]=_0x2ece9e(0x336),_0x30e5d7[_0x30e5d7['UnitSnapshot']=0x4]=_0x2ece9e(0x123),_0x30e5d7[_0x30e5d7[_0x2ece9e(0x3c3)]=0x5]=_0x2ece9e(0x3c3),_0x30e5d7[_0x30e5d7[_0x2ece9e(0x1f5)]=-0x1]=_0x2ece9e(0x1f5),_0x30e5d7))(mi||{});const K=_0x2ece9e(0x1c7),Ds={};var ne=(_0x2182b1=>(_0x2182b1['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x2182b1['PERMISSION_DENIED']=_0x2ece9e(0x1ba),_0x2182b1[_0x2ece9e(0x252)]=_0x2ece9e(0x252),_0x2182b1[_0x2ece9e(0x2db)]=_0x2ece9e(0x2db),_0x2182b1[_0x2ece9e(0x38b)]='JOIN_ROOM_FAILED',_0x2182b1['SOCKET_FAILED_RETRY']=_0x2ece9e(0x196),_0x2182b1['SOCKET_FAILED']=_0x2ece9e(0xf7),_0x2182b1['SUBMIT_CHANGESET_TIMEOUT']=_0x2ece9e(0x296),_0x2182b1))(ne||{});class ve{constructor(){var _0x4d2408=_0x2ece9e;N(this,_0x4d2408(0x119),new _0x2bde7c()),N(this,_0x4d2408(0x16b),this[_0x4d2408(0x119)]['asObservable']());}['emitEvent'](_0x11b9c7){var _0x4d586d=_0x2ece9e;this['_event$'][_0x4d586d(0x113)](_0x11b9c7);}}const Us=_0x205041('univer-pro.collaboration-client.network-condition.service');function As(_0x3d1fb9){var _0x33e119=_0x2ece9e,_0x5714a9,_0x2d65a7,_0x5bb11b,_0x1e5f52,_0x428126;const _0x137583=_0x3d1fb9[_0x33e119(0x1b5)],_0x590e9a=JSON[_0x33e119(0x39b)](_0x137583);switch(_0x590e9a[_0x33e119(0x249)]){case F[_0x33e119(0x3a7)]:case F[_0x33e119(0x12c)]:{const _0x4243bc=_0x590e9a['infoRsp'];return{..._0x590e9a,'data':_0x4243bc,'cmd':_0x590e9a[_0x33e119(0x249)]};}case F[_0x33e119(0x266)]:{const _0x2a96c0=_0x590e9a[_0x33e119(0x232)];return{..._0x590e9a,'data':_0x2a96c0,'cmd':_0x590e9a[_0x33e119(0x249)]};}case F[_0x33e119(0x173)]:{const _0x254e97=_0x590e9a[_0x33e119(0x29b)];switch(_0x254e97[_0x33e119(0x2b3)]){case _0x285f19[_0x33e119(0x3a0)]:return{..._0x590e9a,'data':{..._0x254e97,'data':(_0x5714a9=_0x254e97[_0x33e119(0x1fe)])==null?void 0x0:_0x5714a9['cs']},'cmd':_0x590e9a['cmd']};case _0x285f19[_0x33e119(0x324)]:return{..._0x590e9a,'data':{..._0x254e97,'data':(_0x2d65a7=_0x254e97[_0x33e119(0x2e7)])==null?void 0x0:_0x2d65a7['cs']},'cmd':_0x590e9a['cmd']};case _0x285f19[_0x33e119(0x3b9)]:return{..._0x590e9a,'data':{..._0x254e97,'data':(_0x5bb11b=_0x254e97['newCsEvent'])==null?void 0x0:_0x5bb11b['cs']},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19[_0x33e119(0xf1)]:return{..._0x590e9a,'data':{..._0x254e97,'data':(_0x1e5f52=_0x254e97['csRejEvent'])==null?void 0x0:_0x1e5f52['cs']},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['CHANGESET_SHOULD_RETRY']:return{..._0x590e9a,'data':{..._0x254e97,'data':(_0x428126=_0x254e97[_0x33e119(0x1b0)])==null?void 0x0:_0x428126['cs']},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19[_0x33e119(0x103)]:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x14d)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['USERS_ENTER']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97['joinEvent']},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['USERS_LEAVE']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x387)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['LIVESHARE_NEW_HOST']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x1aa)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['LIVESHARE_FETCH_OPERATIONS']:case _0x285f19['LIVESHARE_OPERATION']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x290)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['LIVESHARE_TERMINATE']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x1aa)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19[_0x33e119(0x1ca)]:return{..._0x590e9a,'data':_0x254e97,'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19[_0x33e119(0x23f)]:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97['commentUpdateEvent']},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['UPDATE_PERMISSION_OBJ']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x18a)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19['SHOULD_CLOSE_CONN']:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x186)]},'cmd':_0x590e9a[_0x33e119(0x249)]};case _0x285f19[_0x33e119(0x15c)]:return{..._0x590e9a,'data':{..._0x254e97,'data':_0x254e97[_0x33e119(0x1cb)]},'cmd':_0x590e9a[_0x33e119(0x249)]};default:return _0x590e9a;}}default:return _0x590e9a;}}function ws(_0x27c35a){var _0x3134cd=_0x2ece9e;switch(_0x27c35a['cmd']){case F['HEARTBEAT']:case F[_0x3134cd(0x12c)]:return JSON['stringify']({'cmd':_0x27c35a[_0x3134cd(0x249)],'routeKey':_0x27c35a[_0x3134cd(0x1b1)]});case F[_0x3134cd(0x281)]:{let _0x5f16d3;switch(_0x27c35a[_0x3134cd(0x1b5)][_0x3134cd(0x2b3)]){case _0x285f19[_0x3134cd(0x103)]:{_0x5f16d3={'eventID':_0x285f19['UPDATE_CURSOR'],'updateCursorEvent':_0x27c35a[_0x3134cd(0x1b5)][_0x3134cd(0x1b5)]};break;}case _0x285f19[_0x3134cd(0x338)]:{_0x5f16d3={'eventID':_0x285f19[_0x3134cd(0x338)],'leaveEvent':_0x27c35a[_0x3134cd(0x1b5)][_0x3134cd(0x1b5)]};break;}case _0x285f19[_0x3134cd(0x159)]:{_0x5f16d3={'eventID':_0x285f19['USERS_ENTER'],'joinEvent':_0x27c35a[_0x3134cd(0x1b5)][_0x3134cd(0x1b5)]};break;}case _0x285f19[_0x3134cd(0x271)]:{_0x5f16d3={'eventID':_0x285f19['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x27c35a[_0x3134cd(0x1b5)][_0x3134cd(0x1b5)]};break;}case _0x285f19[_0x3134cd(0x117)]:{_0x5f16d3={'eventID':_0x285f19[_0x3134cd(0x117)],'liveShareOperation':_0x27c35a[_0x3134cd(0x1b5)]['data']};break;}case _0x285f19['LIVESHARE_TERMINATE']:{_0x5f16d3={'eventID':_0x285f19[_0x3134cd(0x11e)],'liveShareTerminate':_0x27c35a['data'][_0x3134cd(0x1b5)]};break;}case _0x285f19['LIVESHARE_REQUEST_HOST']:{_0x5f16d3={'eventID':_0x285f19['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x27c35a['data'][_0x3134cd(0x1b5)]};break;}case _0x285f19[_0x3134cd(0x1cf)]:{_0x5f16d3={'eventID':_0x285f19['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5f16d3={'eventID':_0x27c35a[_0x3134cd(0x1b5)]['eventID']};}return JSON['stringify']({'cmd':_0x27c35a[_0x3134cd(0x249)],'routeKey':_0x27c35a[_0x3134cd(0x1b1)],'collaMsg':_0x5f16d3});}case F[_0x3134cd(0x266)]:return JSON[_0x3134cd(0x241)]({'cmd':_0x27c35a[_0x3134cd(0x249)],'routeKey':_0x27c35a[_0x3134cd(0x1b1)],'joinReq':_0x27c35a[_0x3134cd(0x1b5)]});case F[_0x3134cd(0x2e9)]:return JSON[_0x3134cd(0x241)]({'cmd':_0x27c35a[_0x3134cd(0x249)],'routeKey':_0x27c35a[_0x3134cd(0x1b1)],'leaveReq':_0x27c35a['data']});default:throw new Error(_0x3134cd(0x33b));}}var Ps=Object[_0x2ece9e(0x10f)],Ls=(_0x412c6b,_0x1f1665,_0x8646f9,_0x288db5)=>{var _0x55be52=_0x2ece9e;for(var _0x21ec13=_0x288db5>0x1?void 0x0:_0x288db5?Ps(_0x1f1665,_0x8646f9):_0x1f1665,_0x396ad7=_0x412c6b[_0x55be52(0x287)]-0x1,_0xea6bca;_0x396ad7>=0x0;_0x396ad7--)(_0xea6bca=_0x412c6b[_0x396ad7])&&(_0x21ec13=_0xea6bca(_0x21ec13)||_0x21ec13);return _0x21ec13;},Ue=(_0x55f5a9,_0x1ea1fb)=>(_0x159b4e,_0x2a78a2)=>_0x1ea1fb(_0x159b4e,_0x2a78a2,_0x55f5a9);const gi=_0x205041(_0x2ece9e(0x371));function Ms(_0x35a070,_0x24c3e1,_0xe1554a){var _0x5512c=_0x2ece9e;return _0x35a070+'/'+_0x24c3e1+'/unit/'+_0xe1554a+_0x5512c(0x38f);}let Ft=class extends _0xccab29{constructor(_0x330d6b,_0x511a1c,_0x3a80ac,_0x1ea824,_0x240391){var _0x4225ec=_0x2ece9e;super(),this[_0x4225ec(0x269)]=_0x330d6b,this[_0x4225ec(0x3b8)]=_0x511a1c,this[_0x4225ec(0x1bf)]=_0x3a80ac,this['_logService']=_0x1ea824,this['_snapshotServerService']=_0x240391;}[_0x2ece9e(0x104)](_0x316115){var _0x169165=_0x2ece9e;const _0x177159=this[_0x169165(0x269)][_0x169165(0x348)](_0x142257);if(!_0x177159)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x404c41=_0x177159['createSocket'](_0x316115);if(!_0x404c41)throw new Error(_0x169165(0x13a));const _0x540bfc=new _0x357ac4(),_0x1e2033=new _0x2bde7c();_0x540bfc['add'](_0x404c41[_0x169165(0x380)][_0x169165(0x13f)](_0x1c4960=>_0x1e2033[_0x169165(0x113)](_0x1c4960))),_0x540bfc[_0x169165(0x12e)](_0x537072(()=>_0x1e2033[_0x169165(0x2a0)]()));const _0x30c989=new _0x2bde7c();_0x540bfc[_0x169165(0x12e)](_0x404c41['error$'][_0x169165(0x13f)](_0x3efd2e=>_0x30c989[_0x169165(0x113)](_0x3efd2e))),_0x540bfc[_0x169165(0x12e)](_0x537072(()=>_0x30c989[_0x169165(0x2a0)]()));const _0x515782=new _0x2bde7c();_0x540bfc[_0x169165(0x12e)](_0x404c41[_0x169165(0x254)]['subscribe'](_0x1b78ce=>{var _0x4e34e9=_0x169165;const _0xf64e69=As(_0x1b78ce);_0x515782[_0x4e34e9(0x113)](_0xf64e69);})),_0x540bfc[_0x169165(0x12e)](_0x537072(()=>_0x515782[_0x169165(0x2a0)]()));let _0x10e78a;const _0xa8fc01=()=>{var _0x57c2cc=_0x169165;_0x30c989['next'](new Event(_0x57c2cc(0x2a3))),_0x1e2033[_0x57c2cc(0x113)](new Event('connection\x20error')),_0x10e78a[_0x57c2cc(0x3a8)]();};return _0x10e78a={'memberID':'','close$':_0x1e2033['asObservable'](),'error$':_0x30c989[_0x169165(0x17e)](),'open$':_0x404c41['open$'],'message$':_0x515782[_0x169165(0x17e)](),'send':_0x4d818c=>{var _0x255c97=_0x169165;if(_0x4d818c[_0x255c97(0x249)]===F[_0x255c97(0x281)]){if(_0x4d818c[_0x255c97(0x1b5)][_0x255c97(0x2b3)]===_0x285f19[_0x255c97(0x23a)]){this[_0x255c97(0x3bc)](_0x10e78a,_0x4d818c['data'])[_0x255c97(0x108)](_0x2fd9d7=>{var _0x467444=_0x255c97;this[_0x467444(0x32a)][_0x467444(0x306)](_0x2fd9d7),_0xa8fc01();});return;}if(_0x4d818c[_0x255c97(0x1b5)][_0x255c97(0x2b3)]===_0x285f19[_0x255c97(0x29e)]){const _0x10e904=_0x4d818c['data'];this['_fetchMissChangesets'](_0x10e904)[_0x255c97(0x1eb)](_0x4c02ce=>{var _0x4a05e5=_0x255c97;_0x515782[_0x4a05e5(0x113)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x10e904[_0x4a05e5(0x1b5)][_0x4a05e5(0x1a7)],'routeType':'','data':{'eventID':_0x285f19[_0x4a05e5(0x225)],'data':{'changesets':_0x4c02ce}}});})[_0x255c97(0x108)](_0x2dcb80=>{var _0x532ceb=_0x255c97;this[_0x532ceb(0x32a)][_0x532ceb(0x306)](_0x2dcb80),_0xa8fc01();});return;}}_0x404c41['send'](ws(_0x4d818c));},'close':()=>{var _0x14d900=_0x169165;_0x404c41['close'](),_0x540bfc[_0x14d900(0x33c)]();}},_0x10e78a;}async['_submitChangeset'](_0x39b074,_0x1fc497){var _0x24b35c=_0x2ece9e,_0x3c9b9e,_0x347629;const {unitType:_0x22bc7f,unitID:_0x1328e5,changeset:_0x32e43f}=_0x1fc497[_0x24b35c(0x1b5)],_0x32aa42={'unitID':_0x1328e5,'memberID':_0x39b074[_0x24b35c(0x30f)],'type':_0x22bc7f,'changeset':_0x2aedff(_0x32e43f)},_0x3bbbad=this['_configService'][_0x24b35c(0x168)](bs),_0x4ddee4=this[_0x24b35c(0x1bf)][_0x24b35c(0x168)](K),_0x4b899c=Ms((_0x347629=(_0x3c9b9e=_0x4ddee4==null?void 0x0:_0x4ddee4['collabSubmitChangesetUrl'])!=null?_0x3c9b9e:_0x3bbbad)!=null?_0x347629:Os,_0x22bc7f,_0x1328e5);try{await this[_0x24b35c(0x3b8)][_0x24b35c(0x393)](_0x4b899c,{'body':_0x32aa42});}catch(_0x198f10){throw this[_0x24b35c(0x32a)][_0x24b35c(0x306)](_0x24b35c(0x378),'submit\x20changeset\x20error!'),_0x198f10;}}async['_fetchMissChangesets'](_0x16b7b2){var _0x2ddf65=_0x2ece9e;const {unitID:_0x2db9f3,from:_0x2c8e99,to:_0x47d7bc,unitType:_0x168d9a}=_0x16b7b2['data'];return(await this[_0x2ddf65(0x131)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2db9f3,'type':_0x168d9a,'from':_0x2c8e99,'to':_0x47d7bc}))['changesets'];}};Ft=Ls([Ue(0x0,_0x5d0e22(_0x4ddb89)),Ue(0x1,_0x5d0e22(_0x5a566d)),Ue(0x2,_0x58661f),Ue(0x3,_0x543a8d),Ue(0x4,_0x39bfb3)],Ft);const xs=_0x2ece9e(0x127);function ks(_0x1c39a9){var _0x2a3cfb=_0x2ece9e;return JSON['stringify'](_0x1c39a9)[_0x2a3cfb(0x287)];}class Si{constructor(){var _0x4776b3=_0x2ece9e;N(this,_0x4776b3(0x238),new _0x2bde7c()),N(this,'commentUpdate$',this[_0x4776b3(0x238)][_0x4776b3(0x17e)]());}[_0x2ece9e(0x1fb)](_0x3c6ccb){var _0x11aeff=_0x2ece9e;this[_0x11aeff(0x238)][_0x11aeff(0x113)](_0x3c6ccb);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x1d5270,_0x4420c5,_0x1574f2,_0x35c651)=>{var _0x2e1f8b=_0x2ece9e;for(var _0x317e51=_0x35c651>0x1?void 0x0:_0x35c651?$s(_0x4420c5,_0x1574f2):_0x4420c5,_0x52ca85=_0x1d5270[_0x2e1f8b(0x287)]-0x1,_0x3d71c5;_0x52ca85>=0x0;_0x52ca85--)(_0x3d71c5=_0x1d5270[_0x52ca85])&&(_0x317e51=_0x3d71c5(_0x317e51)||_0x317e51);return _0x317e51;},Vt=(_0x5f1bfe,_0x220347)=>(_0x3fe416,_0x1ac1e2)=>_0x220347(_0x3fe416,_0x1ac1e2,_0x5f1bfe);let Pe=class extends _0xccab29{constructor(_0x3dfdca,_0x3c18b5){var _0x5d19f9=_0x2ece9e;super(),N(this,_0x5d19f9(0x2c8),new Map()),N(this,'_roomCreated$',new _0x2bde7c()),(this[_0x5d19f9(0x2d3)]=_0x3dfdca,this[_0x5d19f9(0x191)]=_0x3c18b5,this['disposeWithMe'](_0x33691d(this['_univerInstanceService'][_0x5d19f9(0x32b)](_0x1e7470['UNIVER_SHEET'])[_0x5d19f9(0x3b4)](_0x1b1f63(_0x4c364d=>_0x4c364d[_0x5d19f9(0x2d0)]())),this[_0x5d19f9(0x2d3)]['getTypeOfUnitDisposed$'](_0x1e7470[_0x5d19f9(0x18e)])[_0x5d19f9(0x3b4)](_0x1b1f63(_0x5be434=>_0x5be434['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1e7470['UNIVER_SLIDE'])[_0x5d19f9(0x3b4)](_0x1b1f63(_0x176b4e=>_0x176b4e[_0x5d19f9(0x2d0)]())))[_0x5d19f9(0x13f)](_0x3c3405=>this['_removeRoom'](_0x3c3405))));}[_0x2ece9e(0x313)](_0x959cab){var _0x237eae=_0x2ece9e;return this[_0x237eae(0x2c8)][_0x237eae(0x243)](_0x959cab)?_0xed8855(this[_0x237eae(0x2c8)][_0x237eae(0x348)](_0x959cab)):this[_0x237eae(0x1d0)][_0x237eae(0x3b4)](_0x1b1f63(_0x388cf7=>{var _0x482079=_0x237eae;if(_0x388cf7===_0x959cab)return this[_0x482079(0x2c8)][_0x482079(0x348)](_0x388cf7);}));}[_0x2ece9e(0x2fb)](_0x96802c){var _0x3f52eb=_0x2ece9e;this[_0x3f52eb(0x191)][_0x3f52eb(0x2fb)](_0x96802c);}['getCurrentUser'](){var _0xb9d91a=_0x2ece9e;return this[_0xb9d91a(0x191)][_0xb9d91a(0x389)]();}[_0x2ece9e(0x229)](_0x5cee25,_0x27374c){var _0x39476d=_0x2ece9e;let _0x4c2cab=this[_0x39476d(0x2c8)][_0x39476d(0x348)](_0x5cee25);_0x4c2cab||(_0x4c2cab=new Bs(),this[_0x39476d(0x2c8)][_0x39476d(0x2c9)](_0x5cee25,_0x4c2cab),this['_roomCreated$'][_0x39476d(0x113)](_0x5cee25)),_0x4c2cab[_0x39476d(0x229)](_0x27374c);}[_0x2ece9e(0x248)](_0x240cab,_0x33932e){var _0xbee4f5=_0x2ece9e;const _0x3f52fd=this[_0xbee4f5(0x2c8)]['get'](_0x240cab);_0x3f52fd&&_0x3f52fd[_0xbee4f5(0x248)](_0x33932e);}[_0x2ece9e(0x385)](_0x496549){var _0x50c5b4=_0x2ece9e;return this[_0x50c5b4(0x2c8)][_0x50c5b4(0x348)](_0x496549);}[_0x2ece9e(0x2d4)](_0x2ebadf,_0x49988e){var _0x1da4b5=_0x2ece9e;const _0x50f375=this[_0x1da4b5(0x2c8)][_0x1da4b5(0x348)](_0x2ebadf);if(_0x50f375)return _0x50f375[_0x1da4b5(0x2d4)](_0x49988e);}[_0x2ece9e(0x2dc)](_0x3d1cef){var _0x46a5d9=_0x2ece9e;const _0xb8fcc8=this[_0x46a5d9(0x2c8)]['get'](_0x3d1cef);_0xb8fcc8&&(_0xb8fcc8[_0x46a5d9(0x33c)](),this['_roomMembers']['delete'](_0x3d1cef));}[_0x2ece9e(0x33c)](){var _0x37057a=_0x2ece9e;this['_roomMembers']['forEach'](_0x29edd9=>_0x29edd9[_0x37057a(0x33c)]()),this[_0x37057a(0x2c8)]['clear'](),this[_0x37057a(0x1d0)][_0x37057a(0x2a0)]();}};Pe=Hs([Vt(0x0,_0x445269),Vt(0x1,_0x5d0e22(_0x35bdf5))],Pe);class Bs extends _0xccab29{constructor(){var _0xa1e431=_0x2ece9e;super(...arguments),N(this,_0xa1e431(0x122),new Map()),N(this,'_members$',new _0x3e82de(this['_members'])),N(this,_0xa1e431(0x211),this[_0xa1e431(0x177)][_0xa1e431(0x17e)]());}['dispose'](){var _0x408813=_0x2ece9e;this[_0x408813(0x122)][_0x408813(0x3bd)]();}[_0x2ece9e(0x229)](_0x2ffcfc){var _0x504599=_0x2ece9e;this[_0x504599(0x122)][_0x504599(0x2c9)](_0x2ffcfc[_0x504599(0x30f)],_0x2ffcfc),this[_0x504599(0x1fa)]();}[_0x2ece9e(0x248)](_0x2114ca){var _0x5df7a0=_0x2ece9e;this[_0x5df7a0(0x122)][_0x5df7a0(0x341)](_0x2114ca);}[_0x2ece9e(0x2d4)](_0x5f509d){var _0x3bbdce=_0x2ece9e;return this[_0x3bbdce(0x122)][_0x3bbdce(0x348)](_0x5f509d);}['getAllMembers'](){var _0x24587c=_0x2ece9e;return Array[_0x24587c(0x352)](this[_0x24587c(0x122)][_0x24587c(0x2bb)]());}['_emitMembers'](){var _0x49779c=_0x2ece9e;this[_0x49779c(0x177)][_0x49779c(0x113)](this['_members']);}}var js=Object[_0x2ece9e(0x10f)],Fs=(_0x188993,_0x2d59b0,_0x1d1aed,_0x11569c)=>{var _0x4f8b2e=_0x2ece9e;for(var _0x29cbfc=_0x11569c>0x1?void 0x0:_0x11569c?js(_0x2d59b0,_0x1d1aed):_0x2d59b0,_0x1748da=_0x188993[_0x4f8b2e(0x287)]-0x1,_0x4d71ce;_0x1748da>=0x0;_0x1748da--)(_0x4d71ce=_0x188993[_0x1748da])&&(_0x29cbfc=_0x4d71ce(_0x29cbfc)||_0x29cbfc);return _0x29cbfc;},pe=(_0x1eb918,_0x1a3e8c)=>(_0x422db1,_0x2751b3)=>_0x1a3e8c(_0x422db1,_0x2751b3,_0x1eb918),Se=(_0x842a94=>(_0x842a94[_0x842a94['IDLE']=0x0]=_0x2ece9e(0x25a),_0x842a94[_0x842a94[_0x2ece9e(0x37d)]=0x1]=_0x2ece9e(0x37d),_0x842a94[_0x842a94[_0x2ece9e(0x1e6)]=0x2]=_0x2ece9e(0x1e6),_0x842a94[_0x842a94['ONLINE']=0x3]='ONLINE',_0x842a94))(Se||{});const Gt={[me['FAIL']]:'session.join-failed',[me[_0x2ece9e(0x129)]]:_0x2ece9e(0x245),[me[_0x2ece9e(0x2ee)]]:_0x2ece9e(0x285),[me[_0x2ece9e(0x35a)]]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x2ece9e(0x20f)};let gt=class extends _0x4f35f0{constructor(_0x236564,_0x57d4e0,_0x22a7c7,_0x349371,_0xa2e433,_0x151c4f,_0x40b3c5,_0x574c33,_0x53ba5f){var _0x34c929=_0x2ece9e;super(),N(this,_0x34c929(0xf5),new _0x3e82de(0x0)),N(this,_0x34c929(0x315),this['_sessionStatus$']['asObservable']()),N(this,_0x34c929(0x119),new _0x2bde7c()),N(this,_0x34c929(0x16b),this[_0x34c929(0x119)]['asObservable']()),N(this,_0x34c929(0x264)),N(this,_0x34c929(0x20a)),N(this,_0x34c929(0x2a1)),N(this,_0x34c929(0x1e4),!0x1),N(this,_0x34c929(0x331),null),(this[_0x34c929(0x16e)]=_0x236564,this[_0x34c929(0x32a)]=_0x22a7c7,this[_0x34c929(0x1bf)]=_0x349371,this[_0x34c929(0x1c3)]=_0xa2e433,this['_memberService']=_0x151c4f,this[_0x34c929(0x183)]=_0x40b3c5,this['_collaborationUIEventService']=_0x574c33,this[_0x34c929(0x2d7)]=_0x53ba5f,this[_0x34c929(0x1e4)]=!!this[_0x34c929(0x2d7)],_0x57d4e0['pipe'](_0x3567f0(this[_0x34c929(0x146)]))[_0x34c929(0x13f)](_0x34ddc4=>{var _0x49659f=_0x34c929,_0x310d24;typeof _0x34ddc4>'u'||(this[_0x49659f(0x264)]=_0x34ddc4,_0x34ddc4?(this[_0x49659f(0x263)](_0x34ddc4),this[_0x49659f(0x20a)]=_0x34ddc4[_0x49659f(0x254)]['subscribe'](_0x5b6847=>{var _0x21d5e0=_0x49659f;_0x5b6847[_0x21d5e0(0x1b1)]===this['_unitID']&&this[_0x21d5e0(0x2f1)](_0x5b6847);})):(this[_0x49659f(0x193)](),this[_0x49659f(0xf5)][_0x49659f(0x113)](0x2),(_0x310d24=this[_0x49659f(0x20a)])==null||_0x310d24[_0x49659f(0x1bb)](),this['_socketMessageSubscription']=null));}));}get[_0x2ece9e(0x3b3)](){var _0x2f83aa=_0x2ece9e;return this[_0x2f83aa(0xf5)]['getValue']();}[_0x2ece9e(0x15d)](){var _0x82ca1b,_0x2eefc7;return(_0x2eefc7=(_0x82ca1b=this['_socket'])==null?void 0x0:_0x82ca1b['memberID'])!=null?_0x2eefc7:null;}['dispose'](){var _0x4d3c42=_0x2ece9e;super[_0x4d3c42(0x33c)](),this['dispose$'][_0x4d3c42(0x113)](),this[_0x4d3c42(0x146)][_0x4d3c42(0x2a0)]();}['close'](){var _0x1a7439=_0x2ece9e,_0x7529d,_0x156181;this[_0x1a7439(0x193)](),(_0x7529d=this[_0x1a7439(0x264)])==null||_0x7529d['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x156181=this[_0x1a7439(0x264)])==null||_0x156181['close'](),this[_0x1a7439(0x119)][_0x1a7439(0x2a0)](),this[_0x1a7439(0xf5)]['complete'](),this[_0x1a7439(0x33c)]();}[_0x2ece9e(0x2f1)](_0x3b971f){var _0x472233=_0x2ece9e;_0x3b971f[_0x472233(0x249)]===F[_0x472233(0x266)]?this[_0x472233(0x1c0)](_0x3b971f):_0x3b971f[_0x472233(0x249)]===F[_0x472233(0x173)]&&this['_onRecvEvent'](_0x3b971f);}[_0x2ece9e(0x263)](_0x483b7d){var _0x5685ba=_0x2ece9e;this[_0x5685ba(0xf5)]['next'](0x1),_0x483b7d['send']({'cmd':F['JOIN'],'routeKey':this[_0x5685ba(0x16e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5685ba(0x16e)]}]}});}[_0x2ece9e(0x1c0)](_0x18de16){var _0x1206d2=_0x2ece9e,_0x499802;if(_0x18de16['code']in Gt){this[_0x1206d2(0x231)][_0x1206d2(0x21f)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x18de16[_0x1206d2(0x110)]]}),this[_0x1206d2(0xf5)][_0x1206d2(0x113)](0x2);return;}this[_0x1206d2(0xf5)][_0x1206d2(0x113)](0x3);const _0x578cb5=(_0x499802=_0x18de16[_0x1206d2(0x1b5)][_0x1206d2(0x294)][this['_unitID']])==null?void 0x0:_0x499802[_0x1206d2(0x265)];_0x578cb5&&_0x578cb5[_0x1206d2(0x21d)](_0x3c001d=>this['_memberService']['updateMember'](this[_0x1206d2(0x16e)],_0x3c001d));}[_0x2ece9e(0x126)](_0x195b7c){var _0x3b0fba=_0x2ece9e;try{const _0x4f022d=_0x195b7c['data'];switch(_0x4f022d[_0x3b0fba(0x2b3)]){case _0x285f19[_0x3b0fba(0x159)]:this[_0x3b0fba(0x2fa)](_0x4f022d),this[_0x3b0fba(0x119)][_0x3b0fba(0x113)](_0x4f022d);break;case _0x285f19['USERS_LEAVE']:this[_0x3b0fba(0x23b)](_0x4f022d),this[_0x3b0fba(0x119)][_0x3b0fba(0x113)](_0x4f022d);break;case _0x285f19[_0x3b0fba(0x324)]:case _0x285f19[_0x3b0fba(0x31a)]:this[_0x3b0fba(0x147)](),this[_0x3b0fba(0x1d4)](),this['_event$'][_0x3b0fba(0x113)](_0x4f022d);break;case _0x285f19[_0x3b0fba(0x1ca)]:this[_0x3b0fba(0x32a)]['error'](_0x3b0fba(0x207)+JSON[_0x3b0fba(0x241)](_0x4f022d)),this[_0x3b0fba(0x119)]['next'](_0x4f022d);break;case _0x285f19['COMMENT_UPDATE']:this['_commentService'][_0x3b0fba(0x1fb)](_0x4f022d[_0x3b0fba(0x1b5)]),this[_0x3b0fba(0x119)][_0x3b0fba(0x113)](_0x4f022d);break;default:this['_event$']['next'](_0x4f022d);}}catch(_0x4ccf3d){this['_logService']['error'](_0x4ccf3d,_0x195b7c);}}[_0x2ece9e(0x2fa)](_0x3a1537){var _0x3f7ae1=_0x2ece9e;this['_memberService'][_0x3f7ae1(0x229)](this[_0x3f7ae1(0x16e)],_0x3a1537[_0x3f7ae1(0x1b5)]);}[_0x2ece9e(0x23b)](_0x59c976){var _0x3f2674=_0x2ece9e;this[_0x3f2674(0x2e2)][_0x3f2674(0x248)](this['_unitID'],_0x59c976['data'][_0x3f2674(0x30f)]);}async['send'](_0x487401,_0x3456d4){var _0x3c7956=_0x2ece9e;if(this[_0x3c7956(0x3b3)]!==0x3||!this[_0x3c7956(0x264)])throw new Error(_0x3c7956(0x3a4));try{_0x487401['eventID']===_0x285f19['SUBMIT_CHANGESET']&&(this[_0x3c7956(0xf8)](),this[_0x3c7956(0x36a)](_0x487401)),this[_0x3c7956(0x264)]['send']({'cmd':F[_0x3c7956(0x281)],'routeKey':_0x3456d4,'routeType':'','data':_0x487401});}catch(_0x206fff){this[_0x3c7956(0x32a)]['error'](_0x206fff);}}[_0x2ece9e(0xf8)](){var _0x4c35eb=_0x2ece9e,_0x45235e;this[_0x4c35eb(0x2a1)]=setTimeout(()=>{var _0x51ec04=_0x4c35eb;this[_0x51ec04(0x2a1)]=null,this[_0x51ec04(0x231)][_0x51ec04(0x21f)]({'id':ne[_0x51ec04(0x296)]});},(_0x45235e=this[_0x4c35eb(0x1bf)][_0x4c35eb(0x168)](fi))!=null?_0x45235e:vi);}[_0x2ece9e(0x1d4)](){var _0x82cce4=_0x2ece9e;this[_0x82cce4(0x2a1)]&&(clearTimeout(this[_0x82cce4(0x2a1)]),this[_0x82cce4(0x2a1)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x56fe41){var _0x43b79b=_0x2ece9e;if(!this[_0x43b79b(0x1e4)])return;const {data:_0x4dab9a}=_0x56fe41,{unitID:_0x1a44f4,changeset:_0x1f6e28}=_0x4dab9a,{mutations:_0x2266c2,type:_0x2d9ae8}=_0x1f6e28;this['_telemetryInfo']={'unitId':_0x1a44f4,'type':_0x2d9ae8,'startTime':performance[_0x43b79b(0x115)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x2266c2)};}[_0x2ece9e(0x147)](){var _0x60994f=_0x2ece9e;if(this['_shouldReportTelemetry']){if(!this[_0x60994f(0x331)]){this[_0x60994f(0x32a)]['error'](_0x60994f(0x378),_0x60994f(0x1d3));return;}this['_telemetryInfo']['stopTime']=performance[_0x60994f(0x115)](),this[_0x60994f(0x331)]['duration']=this[_0x60994f(0x331)][_0x60994f(0x116)]-this[_0x60994f(0x331)][_0x60994f(0x38e)],this[_0x60994f(0x2d7)]['capture'](xs,this[_0x60994f(0x331)]),this['_telemetryInfo']=null;}}[_0x2ece9e(0x193)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x543a8d),pe(0x3,_0x58661f),pe(0x4,_0x5d0e22(_0x5175b3)),pe(0x5,_0x5d0e22(Pe)),pe(0x6,_0x5d0e22(Si)),pe(0x7,_0x5d0e22(ve)),pe(0x8,_0x28b9d0(_0x4cacb1))],gt);var Vs=Object[_0x2ece9e(0x10f)],Gs=(_0x11bea5,_0x59c79d,_0x51f12c,_0xb29146)=>{var _0x1b7193=_0x2ece9e;for(var _0x19ae9f=_0xb29146>0x1?void 0x0:_0xb29146?Vs(_0x59c79d,_0x51f12c):_0x59c79d,_0x1d6e02=_0x11bea5[_0x1b7193(0x287)]-0x1,_0x1ddaf1;_0x1d6e02>=0x0;_0x1d6e02--)(_0x1ddaf1=_0x11bea5[_0x1d6e02])&&(_0x19ae9f=_0x1ddaf1(_0x19ae9f)||_0x19ae9f);return _0x19ae9f;},Re=(_0x398cef,_0x4aaa19)=>(_0x44f0a5,_0x3fabcd)=>_0x4aaa19(_0x44f0a5,_0x3fabcd,_0x398cef);let Le=class extends _0xccab29{constructor(_0x1b3490,_0x5c86e4,_0x1ba683,_0x4ec781,_0x2fcaaa,_0x32bed9){var _0x56f7cb=_0x2ece9e;super(),N(this,_0x56f7cb(0x346),new _0x3e82de(void 0x0)),N(this,_0x56f7cb(0x3c2),this[_0x56f7cb(0x346)][_0x56f7cb(0x17e)]()),N(this,_0x56f7cb(0x226),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x3e82de(Se[_0x56f7cb(0x25a)])),N(this,_0x56f7cb(0x2b7),this[_0x56f7cb(0x121)]['asObservable']()),N(this,_0x56f7cb(0x2f2),!0x1),N(this,_0x56f7cb(0x204)),N(this,_0x56f7cb(0x297),0x0),N(this,_0x56f7cb(0x288)),N(this,_0x56f7cb(0x176)),(this[_0x56f7cb(0x269)]=_0x1b3490,this[_0x56f7cb(0x32a)]=_0x5c86e4,this[_0x56f7cb(0x1bf)]=_0x1ba683,this[_0x56f7cb(0x1cd)]=_0x4ec781,this[_0x56f7cb(0x231)]=_0x2fcaaa,this[_0x56f7cb(0x3c4)]=_0x32bed9,this[_0x56f7cb(0x20b)]());}get[_0x2ece9e(0x264)](){return this['_socket$']['getValue']();}[_0x2ece9e(0x20b)](){var _0x51e3a0=_0x2ece9e;this[_0x51e3a0(0x3c4)]&&this[_0x51e3a0(0x2b8)](this[_0x51e3a0(0x3c4)][_0x51e3a0(0x373)][_0x51e3a0(0x13f)](_0x3c264e=>{var _0x3692dd=_0x51e3a0;_0x3c264e&&!this['_socket']&&this['reconnect'](),_0x3c264e||this[_0x3692dd(0x150)]();}));}[_0x2ece9e(0x33c)](){var _0x44cbd4=_0x2ece9e;super['dispose'](),this[_0x44cbd4(0x277)](),this[_0x44cbd4(0x1e0)](),this[_0x44cbd4(0x219)](),this[_0x44cbd4(0x170)][_0x44cbd4(0x21d)](_0x14d100=>_0x14d100[_0x44cbd4(0x33c)]()),this[_0x44cbd4(0x170)][_0x44cbd4(0x3bd)](),this[_0x44cbd4(0x121)][_0x44cbd4(0x2a0)]();}async['requireSession'](_0x595981){var _0x4e076f=_0x2ece9e;if(this['_sessions'][_0x4e076f(0x243)](_0x595981))return this[_0x4e076f(0x170)][_0x4e076f(0x348)](_0x595981);this['_tryEnsureSocket']();const _0x50a7fe=this['_injector']['createInstance'](gt,_0x595981,this[_0x4e076f(0x346)][_0x4e076f(0x17e)]());return this[_0x4e076f(0x170)][_0x4e076f(0x2c9)](_0x595981,_0x50a7fe),_0x50a7fe;}[_0x2ece9e(0xe8)](_0x12ecfd){var _0x49b14e=_0x2ece9e,_0x427714;const _0xad4339=this[_0x49b14e(0x170)][_0x49b14e(0x348)](_0x12ecfd);_0xad4339&&(this['_sessions']['delete'](_0x12ecfd),_0xad4339[_0x49b14e(0x3a8)]()),this[_0x49b14e(0x170)][_0x49b14e(0x10d)]||(_0x427714=this[_0x49b14e(0x264)])==null||_0x427714[_0x49b14e(0x3a8)]();}['reconnect'](){var _0x19196a=_0x2ece9e;this[_0x19196a(0x297)]=0x0,this[_0x19196a(0x277)](),this[_0x19196a(0x1b8)]();}[_0x2ece9e(0x277)](){var _0x4b5c86=_0x2ece9e;this[_0x4b5c86(0x204)]!=null&&(clearTimeout(this[_0x4b5c86(0x204)]),this['_retryConnectingTimer']=null);}async[_0x2ece9e(0x152)](){var _0xb86529=_0x2ece9e,_0x13d541,_0x2832a9;const _0x324805=this[_0xb86529(0x1bf)]['getConfig'](gs),_0x224e98=this['_configService'][_0xb86529(0x168)](K),_0x3e3b78=(_0x2832a9=(_0x13d541=_0x224e98==null?void 0x0:_0x224e98['collabWebSocketUrl'])!=null?_0x13d541:_0x324805)!=null?_0x2832a9:Ss,_0x423d25=await this[_0xb86529(0x1cd)]['createSocket'](_0x3e3b78);return this[_0xb86529(0x226)]=_0x423d25,_0x423d25;}async[_0x2ece9e(0x1c8)](){var _0x5854a8=_0x2ece9e,_0x5bf257,_0x502946;try{const _0x4a4956=(_0x502946=(_0x5bf257=this[_0x5854a8(0x264)])!=null?_0x5bf257:this[_0x5854a8(0x226)])!=null?_0x502946:await this[_0x5854a8(0x152)]();if(_0x4a4956){const _0x5b078a=_0x4a4956[_0x5854a8(0x2cf)];_0x4a4956[_0x5854a8(0x2cf)]=_0xd93485=>(this[_0x5854a8(0x11a)](),_0x5b078a[_0x5854a8(0x36f)](_0x4a4956,[_0xd93485])),_0x4a4956[_0x5854a8(0x254)]['subscribe'](_0x25ffbb=>this[_0x5854a8(0x1be)](_0x4a4956,_0x25ffbb)),_0x4a4956[_0x5854a8(0x35b)][_0x5854a8(0x3b4)](_0x3a432e(0x1))[_0x5854a8(0x13f)](_0x52454d=>this[_0x5854a8(0x32a)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x52454d)),_0x4a4956[_0x5854a8(0x10a)]['pipe'](_0x3a432e(0x1))[_0x5854a8(0x13f)](()=>{var _0x34fd2b=_0x5854a8;this[_0x34fd2b(0x2da)](_0x4a4956);}),_0x4a4956[_0x5854a8(0x380)][_0x5854a8(0x3b4)](_0x3a432e(0x1))['subscribe'](_0x37e540=>{var _0x5ea8a7=_0x5854a8;this['_logService'][_0x5ea8a7(0x30e)](_0x5ea8a7(0xeb),_0x5ea8a7(0x381),_0x37e540),this['_onConnectionFailed']();});}}catch(_0x3db2bd){this[_0x5854a8(0x32a)]['error'](_0x3db2bd),this[_0x5854a8(0x3d8)]();}}['_onConnectionOpen'](_0x24abef){var _0x730ef2=_0x2ece9e;this['_logService'][_0x730ef2(0x30e)](_0x730ef2(0xeb),'socket\x20open.'),_0x24abef[_0x730ef2(0x2cf)]({'cmd':F[_0x730ef2(0x12c)]}),this[_0x730ef2(0x11a)]();}['_onOffline'](){var _0x41550b=_0x2ece9e;this[_0x41550b(0x2f2)]=!0x1,this[_0x41550b(0x226)]=null,this['_status$']['next'](Se[_0x41550b(0x1e6)]),this['_socket$']['next'](null),this[_0x41550b(0x1e0)](),this['_clearHeartbeatTimer']();}[_0x2ece9e(0x3d8)](){var _0xbb4822=_0x2ece9e,_0x49ee8c;this['_onOffline'](),this['_retryCount']<((_0x49ee8c=this[_0xbb4822(0x1bf)][_0xbb4822(0x168)](Cs))!=null?_0x49ee8c:Rs)?(this[_0xbb4822(0x231)][_0xbb4822(0x21f)]({'id':ne[_0xbb4822(0x196)]}),this['_tryReconnect']()):this[_0xbb4822(0x231)][_0xbb4822(0x21f)]({'id':ne['SOCKET_FAILED']});}[_0x2ece9e(0x1b8)](){var _0x3e152a=_0x2ece9e,_0x28f77c;const _0x5afa3d=this[_0x3e152a(0x297)],_0x1fc6e4=this['_configService'][_0x3e152a(0x168)](K),_0x74b628=_0x5afa3d===0x0?0x0:((_0x28f77c=_0x1fc6e4==null?void 0x0:_0x1fc6e4[_0x3e152a(0x209)])!=null?_0x28f77c:Ts)*0x2**_0x5afa3d;this[_0x3e152a(0x204)]=setTimeout(()=>{var _0x492b95=_0x3e152a;clearTimeout(this[_0x492b95(0x204)]),this[_0x492b95(0x204)]=null,this['_tryEnsureSocket']();},_0x74b628),this[_0x3e152a(0x297)]+=0x1;}['_onMessage'](_0xfdeca0,_0x1cc28e){var _0x2c27b9=_0x2ece9e;const {cmd:_0x51fdd5}=_0x1cc28e;_0x51fdd5===F['HELLO']&&!this[_0x2c27b9(0x2f2)]&&(_0xfdeca0[_0x2c27b9(0x30f)]=_0x1cc28e[_0x2c27b9(0x1b5)][_0x2c27b9(0x30f)],this[_0x2c27b9(0x346)][_0x2c27b9(0x113)](_0xfdeca0),this[_0x2c27b9(0x121)][_0x2c27b9(0x113)](Se[_0x2c27b9(0x340)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x51fdd5===F['HEARTBEAT']&&this[_0x2c27b9(0x1e0)](),this[_0x2c27b9(0x11a)]();}[_0x2ece9e(0x11a)](){var _0xce43f3=_0x2ece9e,_0x38da01;this[_0xce43f3(0x219)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x38da01=this[_0xce43f3(0x1bf)]['getConfig'](Es))!=null?_0x38da01:Is);}['_sendHeartbeat'](){var _0x28ba3c=_0x2ece9e;this[_0x28ba3c(0x264)][_0x28ba3c(0x2cf)]({'cmd':F[_0x28ba3c(0x3a7)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x26e3b1=_0x2ece9e,_0x4da45c;this[_0x26e3b1(0x176)]=setTimeout(()=>this[_0x26e3b1(0x3d8)](),(_0x4da45c=this[_0x26e3b1(0x1bf)][_0x26e3b1(0x168)](fi))!=null?_0x4da45c:vi);}[_0x2ece9e(0x219)](){var _0x48ee84=_0x2ece9e;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x48ee84(0x288)]),this[_0x48ee84(0x288)]=null);}['_clearTimeoutTimer'](){var _0xe641f9=_0x2ece9e;this[_0xe641f9(0x176)]!=null&&(clearTimeout(this[_0xe641f9(0x176)]),this[_0xe641f9(0x176)]=null);}};Le=Gs([Re(0x0,_0x5d0e22(_0x4ddb89)),Re(0x1,_0x543a8d),Re(0x2,_0x58661f),Re(0x3,gi),Re(0x4,_0x5d0e22(ve)),Re(0x5,_0x28b9d0(Us))],Le);const J=_0x205041(_0x2ece9e(0x391));function Pr(_0x36081f){return'unit-cache-'+_0x36081f;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x4ff008,_0x33db1f,_0x28c05e,_0x2e941d)=>{for(var _0x1de561=_0x2e941d>0x1?void 0x0:_0x2e941d?Ws(_0x33db1f,_0x28c05e):_0x33db1f,_0x3fb246=_0x4ff008['length']-0x1,_0x5dd4cf;_0x3fb246>=0x0;_0x3fb246--)(_0x5dd4cf=_0x4ff008[_0x3fb246])&&(_0x1de561=_0x5dd4cf(_0x1de561)||_0x1de561);return _0x1de561;},ut=(_0x4dfd66,_0x172803)=>(_0x16425a,_0x2c01ef)=>_0x172803(_0x16425a,_0x2c01ef,_0x4dfd66);function Ks(_0x206a5b){var _0x43717a=_0x2ece9e;const {unitID:_0x23ee83,mutations:_0x33804c}=_0x206a5b;return{'unitId':_0x23ee83,'subUnitId':_0x33804c[0x0]['params'][_0x43717a(0x205)]};}let it=class{constructor(_0x16b4d7,_0x4a5b37,_0x447b47){var _0x576c94=_0x2ece9e;this['_injector']=_0x16b4d7,this['_transformService']=_0x4a5b37,this[_0x576c94(0x3d3)]=_0x447b47;}[_0x2ece9e(0x2ab)](_0x1f40d7){var _0x5e0803=_0x2ece9e,_0x3e29cf,_0x6cd374,_0x1d35f7,_0x2b7ce0;const _0x55d125=this[_0x5e0803(0x269)][_0x5e0803(0x348)](_0x5bd593),{unitId:_0x3fa487,subUnitId:_0x3e35f6}=Ks(_0x1f40d7),_0x106c41=_0x55d125==null?void 0x0:_0x55d125['getWorkbookSelections'](_0x3fa487)[_0x5e0803(0x25d)](),_0x2c3806=(_0x6cd374=(_0x3e29cf=this[_0x5e0803(0x3d3)][_0x5e0803(0x377)](_0x3fa487))==null?void 0x0:_0x3e29cf['getActiveSheet']())==null?void 0x0:_0x6cd374[_0x5e0803(0x202)]();if(_0x106c41[_0x5e0803(0x287)]===0x0||!_0x3fa487||!_0x3e35f6)return;const _0x4aef38=[{'id':_0x4e4d51['id'],'params':{'unitId':_0x3fa487,'subUnitId':_0x2c3806,'selections':_0x236cf9[_0x5e0803(0x19a)](_0x106c41)}}],_0x4f2f1e=this[_0x5e0803(0x3cc)][_0x5e0803(0x14f)](_0x1f40d7,_0x4aef38);if(!_0x42408e(_0x4f2f1e))throw _0x4f2f1e[_0x5e0803(0x306)];const _0x220932=(_0x2b7ce0=(_0x1d35f7=_0x4f2f1e[_0x5e0803(0x1dc)][0x0])==null?void 0x0:_0x1d35f7[_0x5e0803(0x2ce)])==null?void 0x0:_0x2b7ce0[_0x5e0803(0x27d)];if(Array[_0x5e0803(0x1d5)](_0x220932)&&_0x220932['length']){if(_0x220932[_0x5e0803(0x287)]===_0x4aef38[0x0][_0x5e0803(0x2ce)]['selections'][_0x5e0803(0x287)]&&_0x220932['every']((_0x390b5f,_0x1db13a)=>_0x39e8a0[_0x5e0803(0x316)](_0x390b5f[_0x5e0803(0x1ce)],_0x4aef38[0x0][_0x5e0803(0x2ce)][_0x5e0803(0x27d)][_0x1db13a][_0x5e0803(0x1ce)])))return;this[_0x5e0803(0x269)][_0x5e0803(0x348)](_0x1f7b12)[_0x5e0803(0x364)](_0x4e4d51['id'],{'unitId':_0x3fa487,'subUnitId':_0x2c3806,'selections':_0x220932});}}};it=Ys([ut(0x0,_0x5d0e22(_0x4ddb89)),ut(0x1,_0x5893e1),ut(0x2,_0x445269)],it);const ht=_0x205041('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x52617e=>(_0x52617e[_0x52617e[_0x2ece9e(0x187)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x52617e[_0x52617e[_0x2ece9e(0x13d)]=0x1]=_0x2ece9e(0x13d),_0x52617e))(Ei||{});const qs=new Set([_0x6ca86c['id']]);function Wt(_0x6a8d52,_0x4134ec,_0x3c35f3,_0x35cf71,_0x298acd){var _0x1958db=_0x2ece9e,_0x4f925c,_0x31e761,_0x1d4368,_0x1ea269;const _0x4dd277=[];for(const _0x50a615 of _0x6a8d52)if(qs[_0x1958db(0x243)](_0x50a615['id'])){if(_0x4dd277[_0x1958db(0x287)]>0x0)break;_0x4dd277[_0x1958db(0x376)](_0x50a615);break;}else _0x4dd277[_0x1958db(0x376)](_0x50a615);const _0x296b2a=(_0x31e761=(_0x4f925c=_0x298acd[_0x1958db(0x389)]())==null?void 0x0:_0x4f925c[_0x1958db(0x253)])!=null?_0x31e761:_0x1958db(0x1ed),_0x303232=(_0x1ea269=(_0x1d4368=_0x298acd[_0x1958db(0x389)]())==null?void 0x0:_0x1d4368[_0x1958db(0x30f)])!=null?_0x1ea269:_0x1958db(0x1ed);return{'changeset':{'unitID':_0x4134ec,'type':_0x204a29(_0x3c35f3[_0x1958db(0x1c2)](_0x4134ec)),'baseRev':_0x35cf71[_0x1958db(0x1a0)](_0x4134ec),'revision':0x0,'userID':_0x296b2a,'memberID':_0x303232,'mutations':_0x4dd277},'pendingMutations':_0x6a8d52['slice'](_0x4dd277[_0x1958db(0x287)])};}function zs(_0x5924ba,_0x1d5ea8,_0x15615a,_0x3dbbed,_0x5a3d8a){var _0x39bb3b=_0x2ece9e,_0x5d5842,_0x430edb,_0x3974b7,_0x41f5cd;const _0x447a38=[_0x5924ba[_0x39bb3b(0x2ca)]((_0x1d653c,_0x4d2f08)=>{var _0x588874=_0x39bb3b,_0x59336d;const {id:_0x1eab91}=_0x1d653c,{id:_0x5cb9e9,type:_0x2aabdd}=_0x4d2f08,_0x27a36c=(_0x59336d=_0x1d653c[_0x588874(0x2ce)])!=null?_0x59336d:{'actions':null},_0x46640f=_0x4d2f08[_0x588874(0x2ce)];if(_0x1eab91&&_0x1eab91!==_0x5cb9e9)throw new Error(_0x588874(0x312)+_0x1eab91+_0x588874(0x3ce)+_0x5cb9e9+'.');return{..._0x1d653c,'id':_0x5cb9e9,'type':_0x2aabdd,'params':{'unitId':_0x46640f[_0x588874(0x1f6)],'textRanges':_0x46640f[_0x588874(0xe7)],'actions':_0x50eedb[_0x588874(0x1d9)](_0x27a36c[_0x588874(0x374)],_0x46640f[_0x588874(0x374)])}};},{})],_0x51ff50=(_0x430edb=(_0x5d5842=_0x5a3d8a['getCurrentUser']())==null?void 0x0:_0x5d5842[_0x39bb3b(0x253)])!=null?_0x430edb:_0x39bb3b(0x1ed),_0x3e461a=(_0x41f5cd=(_0x3974b7=_0x5a3d8a[_0x39bb3b(0x389)]())==null?void 0x0:_0x3974b7[_0x39bb3b(0x30f)])!=null?_0x41f5cd:_0x39bb3b(0x1ed);return{'changeset':{'unitID':_0x1d5ea8,'type':_0x204a29(_0x15615a[_0x39bb3b(0x1c2)](_0x1d5ea8)),'baseRev':_0x3dbbed[_0x39bb3b(0x1a0)](_0x1d5ea8),'revision':0x0,'userID':_0x51ff50,'memberID':_0x3e461a,'mutations':_0x447a38},'pendingMutations':[]};}function Ii(_0x416e4f,_0x2d1512){var _0x1ad0a0=_0x2ece9e;const _0x4f2467=new _0x249288(0x1);return setTimeout(()=>_0x4f2467[_0x1ad0a0(0x113)](_0x2d1512),_0x416e4f),_0x4f2467[_0x1ad0a0(0x17e)]()[_0x1ad0a0(0x3b4)](_0x9ce0ef(0x1));}const Js={'id':_0x54931d['id'],'type':_0x2f43f7[_0x2ece9e(0x28a)],'params':{}};var Xs=Object[_0x2ece9e(0x10f)],Ie=(_0x4dccf0,_0x5633d8,_0x2e5781,_0x3531b0)=>{var _0x4679b1=_0x2ece9e;for(var _0x259025=_0x3531b0>0x1?void 0x0:_0x3531b0?Xs(_0x5633d8,_0x2e5781):_0x5633d8,_0x5cf4a2=_0x4dccf0[_0x4679b1(0x287)]-0x1,_0x54fd35;_0x5cf4a2>=0x0;_0x5cf4a2--)(_0x54fd35=_0x4dccf0[_0x5cf4a2])&&(_0x259025=_0x54fd35(_0x259025)||_0x259025);return _0x259025;},P=(_0x99eb7b,_0x43d018)=>(_0x581257,_0x323b72)=>_0x43d018(_0x581257,_0x323b72,_0x99eb7b),Ti=(_0x2a5778=>(_0x2a5778[_0x2ece9e(0x1e8)]=_0x2ece9e(0x1ab),_0x2a5778[_0x2ece9e(0x169)]=_0x2ece9e(0x1fc),_0x2a5778['PENDING']=_0x2ece9e(0x3af),_0x2a5778['AWAITING']=_0x2ece9e(0x221),_0x2a5778[_0x2ece9e(0x1c6)]=_0x2ece9e(0x274),_0x2a5778[_0x2ece9e(0x2f9)]=_0x2ece9e(0x395),_0x2a5778[_0x2ece9e(0x252)]='conflict',_0x2a5778[_0x2ece9e(0x1e6)]=_0x2ece9e(0x1da),_0x2a5778))(Ti||{});const Ci=0xea60;class Te{constructor(_0x161745,_0x233137,_0x5f0a17,_0x496ad2,_0x4368ed,_0x39cb10,_0x1e47f2,_0x17f1c2,_0x2f3c83){var _0x159649=_0x2ece9e;N(this,_0x159649(0x388),null),N(this,_0x159649(0x3c9),[]),(this[_0x159649(0x1a7)]=_0x161745,this[_0x159649(0x314)]=_0x233137,this['_handler']=_0x4368ed,this['_commandService']=_0x39cb10,this[_0x159649(0x175)]=_0x1e47f2,this['_revisionService']=_0x17f1c2,this['_localCacheService']=_0x2f3c83,this[_0x159649(0x388)]=_0x5f0a17,this[_0x159649(0x3c9)]=_0x496ad2);}[_0x2ece9e(0x30a)](_0x20315b){var _0x2e96ca=_0x2ece9e;const _0x20f7ca=this[_0x2e96ca(0x1ee)][_0x2e96ca(0x1a0)](this[_0x2e96ca(0x1a7)]);return _0x20315b['revision']>_0x20f7ca+0x1?(this[_0x2e96ca(0x132)][_0x2e96ca(0x21a)]({'from':_0x20f7ca,'to':_0x20315b[_0x2e96ca(0x31d)]-0x1}),!0x0):!0x1;}[_0x2ece9e(0x1af)](_0x3e7707){var _0x47ad2c=_0x2ece9e;this[_0x47ad2c(0x175)][_0x47ad2c(0x12d)](this[_0x47ad2c(0x1a7)],_0x3e7707);}[_0x2ece9e(0x1f8)](_0x4d0944){var _0x1ce2b0=_0x2ece9e,_0x49714c,_0x5241ee;(_0x5241ee=(_0x49714c=this[_0x1ce2b0(0x132)])[_0x1ce2b0(0x17b)])==null||_0x5241ee['call'](_0x49714c,_0x4d0944);}[_0x2ece9e(0x14e)](_0x502428){var _0x52acdc=_0x2ece9e,_0x2df88f,_0x3e5b62;return(_0x3e5b62=(_0x2df88f=this[_0x52acdc(0x132)])[_0x52acdc(0x321)])==null?void 0x0:_0x3e5b62[_0x52acdc(0x267)](_0x2df88f,_0x502428);}['_transformStateCache'](_0x45806f){var _0x517579=_0x2ece9e,_0x389821,_0x286c57;return(_0x286c57=(_0x389821=this[_0x517579(0x132)])[_0x517579(0x318)])==null?void 0x0:_0x286c57['call'](_0x389821,_0x45806f);}[_0x2ece9e(0x345)](_0x462104){var _0x31999c=_0x2ece9e,_0x18bd88,_0xfdc4b0,_0x5a228e;return(_0x5a228e=(_0xfdc4b0=(_0x18bd88=this['_handler'])[_0x31999c(0x216)])==null?void 0x0:_0xfdc4b0[_0x31999c(0x267)](_0x18bd88,_0x462104))!=null?_0x5a228e:_0x462104;}[_0x2ece9e(0x398)](_0x539e62){var _0x2cbc45=_0x2ece9e,_0x4db9d6,_0x25d253,_0x341ce5;return(_0x341ce5=(_0x25d253=(_0x4db9d6=this[_0x2cbc45(0x132)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x25d253[_0x2cbc45(0x267)](_0x4db9d6,_0x539e62))!=null?_0x341ce5:_0x539e62;}[_0x2ece9e(0x29a)](_0x256d84){var _0x199b61=_0x2ece9e,_0x5c58c3,_0x6dbd89;if(this[_0x199b61(0x314)]===Z[_0x199b61(0x18e)]){const {unitID:_0x2bdf0b,mutations:_0x505e3a,memberID:_0x396e15}=_0x256d84,_0x182f1b=_0x505e3a[0x0][_0x199b61(0x2ce)]['textRanges'];Array['isArray'](_0x182f1b)&&_0x182f1b[_0x199b61(0x287)]>0x0&&((_0x6dbd89=(_0x5c58c3=this[_0x199b61(0x132)])['onSyncEditingCollabCursor'])==null||_0x6dbd89[_0x199b61(0x267)](_0x5c58c3,{'unitID':_0x2bdf0b,'memberID':_0x396e15,'textRanges':_0x182f1b}));}}[_0x2ece9e(0x20c)](){var _0x1fa137=_0x2ece9e,_0x29cf4f;(_0x29cf4f=this[_0x1fa137(0x3a1)])==null||_0x29cf4f[_0x1fa137(0x2a8)](this[_0x1fa137(0x1a7)],this[_0x1fa137(0x314)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x2ece9e(0x31f)](){var _0xcde467=_0x2ece9e;return this[_0xcde467(0x1ee)][_0xcde467(0x1a0)](this[_0xcde467(0x1a7)]);}[_0x2ece9e(0x1b2)](){var _0x3e9ab0=_0x2ece9e;this[_0x3e9ab0(0x1ee)][_0x3e9ab0(0x3c8)](this[_0x3e9ab0(0x1a7)]);}['_executeRemoteChangeset'](_0x320cea){var _0x3e7576=_0x2ece9e,_0x32f28c;let _0x5ca746=this[_0x3e7576(0x345)](_0x320cea);_0x5ca746=this[_0x3e7576(0x398)](_0x5ca746);const _0x9efc5e=_0x39681b(_0x5ca746[_0x3e7576(0x18d)],this[_0x3e7576(0x3ba)],{'fromCollab':!0x0});if(!_0x9efc5e[_0x3e7576(0x1a6)])throw _0x9efc5e[_0x3e7576(0x306)]instanceof Error?_0x9efc5e['error']:new Error((_0x32f28c=_0x9efc5e[_0x3e7576(0x306)])!=null?_0x32f28c:'[CollaborationState]:\x20apply\x20error!');this[_0x3e7576(0x14e)](_0x5ca746),this[_0x3e7576(0x272)](_0x5ca746),this[_0x3e7576(0x1af)](_0x320cea),this[_0x3e7576(0x1f8)](_0x5ca746),this[_0x3e7576(0x29a)](_0x5ca746),this[_0x3e7576(0x1b2)]();}}let ye=class extends Te{constructor(_0x3c04b4,_0x256824,_0x25f02b,_0x50b529,_0x753351,_0x2e4924,_0x62eb22,_0x38b6b0,_0x2aa68b,_0x4958b6){var _0xd04859=_0x2ece9e;super(_0x3c04b4,_0x256824,null,[],_0x25f02b,_0x62eb22,_0x2e4924,_0x50b529,_0x4958b6),N(this,_0xd04859(0x174),_0xd04859(0x1fc)),(this[_0xd04859(0x269)]=_0x753351,this[_0xd04859(0x32a)]=_0x38b6b0,this[_0xd04859(0x3cc)]=_0x2aa68b,this['localCacheService']=_0x4958b6);}['appendMutation'](_0x484827){var _0x475697=_0x2ece9e;const _0x245a98=this[_0x475697(0x269)][_0x475697(0xf3)](re,this['unitID'],this[_0x475697(0x314)],[_0x484827],this[_0x475697(0x132)]);return _0x245a98['_schedule'](),_0x245a98[_0x475697(0x20c)](),_0x245a98;}[_0x2ece9e(0x13c)](_0x2317ba){var _0x21fe3a=_0x2ece9e;if(this['_checkMissing'](_0x2317ba))return this['_injector'][_0x21fe3a(0xf3)](Q,this['unitID'],this['type'],null,[],null,[_0x2317ba],this[_0x21fe3a(0x132)]);try{const _0xf82d6f=this[_0x21fe3a(0x3cc)][_0x21fe3a(0x14f)](_0x2317ba,[Js]);if(_0x42408e(_0xf82d6f)){const {c1Prime:_0x3bd77c}=_0xf82d6f;return this['_executeRemoteChangeset'](_0x3bd77c),this;}throw _0xf82d6f['error'];}catch(_0x1a41e7){return this['_logService']['error'](_0x1a41e7),this['_onConflict'](!0x1);}}[_0x2ece9e(0x359)](_0x11983b){var _0x4b6520=_0x2ece9e;return this['_injector'][_0x4b6520(0xf3)](le,this[_0x4b6520(0x1a7)],this[_0x4b6520(0x314)],null,[],this[_0x4b6520(0x132)],_0x11983b);}[_0x2ece9e(0x257)](){var _0x35b79b=_0x2ece9e;throw new Error(_0x35b79b(0x308));}[_0x2ece9e(0xf4)](){var _0x346a42=_0x2ece9e;throw new Error(_0x346a42(0x19f));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x33896a=_0x2ece9e;return this[_0x33896a(0x269)][_0x33896a(0xf3)](ue,this[_0x33896a(0x1a7)],this[_0x33896a(0x314)],null,[],this['_handler']);}[_0x2ece9e(0x14a)](){return this;}[_0x2ece9e(0x218)](){var _0x14a891=_0x2ece9e;throw new Error(_0x14a891(0x1e7));}[_0x2ece9e(0x200)](){var _0x41a93d=_0x2ece9e;const _0x4da35c=this[_0x41a93d(0x1ee)][_0x41a93d(0x1a0)](this['unitID']);return this[_0x41a93d(0x132)][_0x41a93d(0x21a)]({'from':_0x4da35c,'to':0x0}),this[_0x41a93d(0x269)][_0x41a93d(0xf3)](Q,this[_0x41a93d(0x1a7)],this[_0x41a93d(0x314)],null,[],null,[],this[_0x41a93d(0x132)]);}};ye=Ie([P(0x3,_0x5d0e22(_0x35bf27)),P(0x4,_0x5d0e22(_0x4ddb89)),P(0x5,_0x5f18b5),P(0x6,_0x1f7b12),P(0x7,_0x543a8d),P(0x8,_0x5893e1),P(0x9,_0x28b9d0(J))],ye);let re=class extends Te{constructor(_0xdfcde2,_0x465ab0,_0x353f12,_0x5235f8,_0x1ef540,_0x10a586,_0x5aecae,_0x134190,_0x59c3fb,_0x2c5d47,_0x5d49be,_0x418cc6,_0x15365e,_0x575944){var _0x2b754b=_0x2ece9e;super(_0xdfcde2,_0x465ab0,null,_0x353f12,_0x5235f8,_0x59c3fb,_0x15365e,_0x10a586,_0x575944),N(this,_0x2b754b(0x174),'pending'),N(this,_0x2b754b(0x20e),null),N(this,_0x2b754b(0x34c),null),(this['_injector']=_0x1ef540,this[_0x2b754b(0x2e2)]=_0x5aecae,this['_logService']=_0x134190,this[_0x2b754b(0x1bf)]=_0x2c5d47,this[_0x2b754b(0x3cc)]=_0x5d49be,this[_0x2b754b(0x2d3)]=_0x418cc6);}[_0x2ece9e(0x2a9)](_0x52bc10){var _0x158926=_0x2ece9e;return this[_0x158926(0x3c9)]['push'](_0x52bc10),this[_0x158926(0x20c)](),this;}[_0x2ece9e(0x13c)](_0x4a9546){var _0xb588cc=_0x2ece9e;if(this[_0xb588cc(0x30a)](_0x4a9546))return this[_0xb588cc(0x185)](),this[_0xb588cc(0x269)]['createInstance'](Q,this[_0xb588cc(0x1a7)],this[_0xb588cc(0x314)],null,this[_0xb588cc(0x3c9)],null,[_0x4a9546],this[_0xb588cc(0x132)]);try{const _0x3fbb7f=this[_0xb588cc(0x3cc)]['transformMutationsWithChangeset'](_0x4a9546,this[_0xb588cc(0x3c9)]);if(_0x42408e(_0x3fbb7f)){const {c1Prime:_0x34fa51,m2Prime:_0x4ed37a}=_0x3fbb7f;this[_0xb588cc(0x13e)](_0x34fa51);const _0x530212=this[_0xb588cc(0x269)][_0xb588cc(0xf3)](re,this[_0xb588cc(0x1a7)],this['type'],_0x4ed37a,this[_0xb588cc(0x132)]);this[_0xb588cc(0x185)]();const _0x276966=new Date()[_0xb588cc(0x1a4)](),_0x54dc24=this[_0xb588cc(0x20e)]?Math[_0xb588cc(0x3aa)](this[_0xb588cc(0x20e)]-_0x276966,0x0):this[_0xb588cc(0x1de)]();return _0x530212[_0xb588cc(0x23e)](_0x54dc24),_0x530212;}throw _0x3fbb7f[_0xb588cc(0x306)];}catch(_0x5e0f99){return this[_0xb588cc(0x32a)][_0xb588cc(0x306)](_0x5e0f99),this[_0xb588cc(0x359)](!0x1);}}[_0x2ece9e(0x257)](){var _0x5ec19b=_0x2ece9e;throw new Error(_0x5ec19b(0x18b));}[_0x2ece9e(0xf4)](){var _0x59bc07=_0x2ece9e;throw new Error(_0x59bc07(0x138));}[_0x2ece9e(0xe9)](){return this;}['toggleOffline'](){var _0x459983=_0x2ece9e;return this['_clearScheduledTask'](),this[_0x459983(0x269)]['createInstance'](ue,this[_0x459983(0x1a7)],this['type'],null,this[_0x459983(0x3c9)],this[_0x459983(0x132)]);}[_0x2ece9e(0x14a)](){return this;}[_0x2ece9e(0x23e)](_0x570934){var _0x59b1c5=_0x2ece9e;const _0xe1a4ac=_0x570934!=null?_0x570934:this[_0x59b1c5(0x1de)]();this['_scheduleCompleteTimestamp']=new Date()[_0x59b1c5(0x1a4)]()+_0xe1a4ac,this[_0x59b1c5(0x34c)]=setTimeout(()=>{var _0x42154b=_0x59b1c5;this[_0x42154b(0x185)]();let _0x64e418=null;switch(this[_0x42154b(0x314)]){case Z[_0x42154b(0x10c)]:{_0x64e418=Wt(this[_0x42154b(0x3c9)],this[_0x42154b(0x1a7)],this[_0x42154b(0x2d3)],this[_0x42154b(0x1ee)],this[_0x42154b(0x2e2)]);break;}case Z[_0x42154b(0x18e)]:{this[_0x42154b(0x3c9)][_0x42154b(0x28c)](_0x1808bf=>_0x1808bf['id']===_0x51b98d['id'])?_0x64e418=zs(this[_0x42154b(0x3c9)],this['unitID'],this['_univerInstanceService'],this[_0x42154b(0x1ee)],this[_0x42154b(0x2e2)]):_0x64e418=Wt(this[_0x42154b(0x3c9)],this[_0x42154b(0x1a7)],this[_0x42154b(0x2d3)],this[_0x42154b(0x1ee)],this[_0x42154b(0x2e2)]);break;}default:throw new Error(_0x42154b(0x3d1)+this['type']+_0x42154b(0x28f));}const {changeset:_0x39895e,pendingMutations:_0x50c503}=_0x64e418;this['_handler']['onSendChangeset'](_0x39895e);const _0x5e1c00=_0x50c503['length']?this['_injector']['createInstance'](ae,this['unitID'],this[_0x42154b(0x314)],_0x39895e,_0x50c503,this[_0x42154b(0x132)],void 0x0):this['_injector']['createInstance'](_e,this['unitID'],this[_0x42154b(0x314)],_0x39895e,this['_handler']);_0x5e1c00[_0x42154b(0x20c)](),this[_0x42154b(0x132)][_0x42154b(0x26a)](this,_0x5e1c00);},_0xe1a4ac);}[_0x2ece9e(0x1de)](){var _0x53fad5=_0x2ece9e,_0x55078e;const _0x269071=this[_0x53fad5(0x1bf)][_0x53fad5(0x168)](K);return(_0x55078e=_0x269071==null?void 0x0:_0x269071[_0x53fad5(0x141)])!=null?_0x55078e:ms;}[_0x2ece9e(0x218)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0xc2536a=_0x2ece9e;this['_sendingTimer']!=null&&(clearTimeout(this[_0xc2536a(0x34c)]),this['_sendingTimer']=null);}[_0x2ece9e(0x359)](_0x382ed2){var _0x7c0bdb=_0x2ece9e;return this[_0x7c0bdb(0x185)](),this[_0x7c0bdb(0x269)][_0x7c0bdb(0xf3)](le,this[_0x7c0bdb(0x1a7)],this[_0x7c0bdb(0x314)],null,this['_pendingMutations'],this[_0x7c0bdb(0x132)],_0x382ed2);}};re=Ie([P(0x4,_0x5d0e22(_0x4ddb89)),P(0x5,_0x5d0e22(_0x35bf27)),P(0x6,_0x5d0e22(Pe)),P(0x7,_0x543a8d),P(0x8,_0x1f7b12),P(0x9,_0x58661f),P(0xa,_0x5893e1),P(0xb,_0x445269),P(0xc,_0x5f18b5),P(0xd,_0x28b9d0(J))],re);let _e=class extends Te{constructor(_0x713e8,_0x4f3914,_0xa19c88,_0x24cd35,_0x1b3cb2,_0xf8b1dd,_0x201a0c,_0x226f13,_0x2d15aa,_0x21a563,_0x409f90){var _0x3b5a6a=_0x2ece9e;super(_0x713e8,_0x4f3914,_0xa19c88,[],_0x24cd35,_0x201a0c,_0x21a563,_0xf8b1dd,_0x409f90),N(this,_0x3b5a6a(0x174),_0x3b5a6a(0x221)),N(this,_0x3b5a6a(0x1a2),0x0),N(this,'_resendTimer'),N(this,_0x3b5a6a(0x2b5)),(this[_0x3b5a6a(0x269)]=_0x1b3cb2,this['_logService']=_0x226f13,this['_transformService']=_0x2d15aa);}[_0x2ece9e(0x2a9)](_0x5a77e9){var _0x2dcf01=_0x2ece9e;this[_0x2dcf01(0x185)]();const _0xc71115=this[_0x2dcf01(0x269)][_0x2dcf01(0xf3)](ae,this[_0x2dcf01(0x1a7)],this[_0x2dcf01(0x314)],this['_awaitingChangeset'],[_0x5a77e9],this['_handler'],this[_0x2dcf01(0x2a6)]);return _0xc71115[_0x2dcf01(0x20c)](),_0xc71115;}[_0x2ece9e(0x13c)](_0x107a2){var _0x23cb8d=_0x2ece9e;if(this[_0x23cb8d(0x30a)](_0x107a2))return this[_0x23cb8d(0x185)](),this[_0x23cb8d(0x269)][_0x23cb8d(0xf3)](Q,this[_0x23cb8d(0x1a7)],this[_0x23cb8d(0x314)],this[_0x23cb8d(0x388)],[],null,[_0x107a2],this[_0x23cb8d(0x132)]);try{const _0x12a180=this[_0x23cb8d(0x3cc)][_0x23cb8d(0x120)]([_0x107a2],[this[_0x23cb8d(0x388)]],!0x1);if(_0x1408e0(_0x12a180)){const {c1Prime:_0x5063ee,c2Prime:_0x25571d}=_0x12a180;this['_executeRemoteChangeset'](_0x5063ee[0x0]),_0x25571d[0x0]['baseRev']=this[_0x23cb8d(0x31f)](),this[_0x23cb8d(0x185)]();const _0x1862e5=this[_0x23cb8d(0x269)][_0x23cb8d(0xf3)](_e,this[_0x23cb8d(0x1a7)],this[_0x23cb8d(0x314)],_0x25571d[0x0],this[_0x23cb8d(0x132)]);return _0x1862e5[_0x23cb8d(0x20c)](),_0x1862e5;}return this[_0x23cb8d(0x359)](!0x1);}catch(_0x75483f){return this[_0x23cb8d(0x32a)][_0x23cb8d(0x306)](_0x75483f),this[_0x23cb8d(0x359)](!0x1);}}[_0x2ece9e(0x257)](_0x3f851b){var _0x35544f=_0x2ece9e;this[_0x35544f(0x185)]();const _0x560363=this[_0x35544f(0x1ee)][_0x35544f(0x1a0)](this['unitID']);if(_0x3f851b[_0x35544f(0x31d)]<_0x560363-0x1)return this;if(this[_0x35544f(0x30a)](_0x3f851b))return this[_0x35544f(0x269)][_0x35544f(0xf3)](Q,this[_0x35544f(0x1a7)],this[_0x35544f(0x314)],null,[],this[_0x35544f(0x388)],[],this[_0x35544f(0x132)]);this['_incrementRevisionNumber']();const _0x56bf84=this[_0x35544f(0x269)][_0x35544f(0xf3)](ye,this[_0x35544f(0x1a7)],this[_0x35544f(0x314)],this[_0x35544f(0x132)]);return _0x56bf84[_0x35544f(0x20c)](),_0x56bf84;}[_0x2ece9e(0xf4)](_0x52a110){var _0x325ebf=_0x2ece9e;return this[_0x325ebf(0x359)](!!(_0x52a110!=null&&_0x52a110[_0x325ebf(0x3cf)]));}[_0x2ece9e(0xe9)](_0x2ded6c){var _0x1640b1=_0x2ece9e;return this[_0x1640b1(0x1a2)]>Ci?this[_0x1640b1(0x220)]():(this['_resendTimer']=Ii(this[_0x1640b1(0x1a2)],{'timeout':this[_0x1640b1(0x1a2)],'reqId':_0x2ded6c['reqId']}),this[_0x1640b1(0x2b5)]=this[_0x1640b1(0x2a6)][_0x1640b1(0x13f)](({reqId:_0x3536b6,timeout:_0x5065aa})=>{var _0x51fb2b=_0x1640b1;this[_0x51fb2b(0x334)](_0x3536b6,_0x5065aa);}),this);}[_0x2ece9e(0x220)](){var _0x1ada99=_0x2ece9e;return this[_0x1ada99(0x185)](),this[_0x1ada99(0x269)][_0x1ada99(0xf3)](ue,this[_0x1ada99(0x1a7)],this[_0x1ada99(0x314)],this[_0x1ada99(0x388)],[],this[_0x1ada99(0x132)]);}[_0x2ece9e(0x14a)](){return this;}['resend'](){var _0x7462df=_0x2ece9e;this['_handler'][_0x7462df(0x101)](this[_0x7462df(0x388)]);}['_onConflict'](_0x41003d){var _0x205753=_0x2ece9e;return this['_clearScheduledTask'](),this[_0x205753(0x269)]['createInstance'](le,this[_0x205753(0x1a7)],this['type'],this[_0x205753(0x388)],[],this[_0x205753(0x132)],_0x41003d);}[_0x2ece9e(0x334)](_0x420ee9,_0x3035dd){var _0x59349a=_0x2ece9e,_0x2c5ca4;_0x420ee9===((_0x2c5ca4=this[_0x59349a(0x388)])==null?void 0x0:_0x2c5ca4[_0x59349a(0x236)])&&(this['resend'](),this['_resendTimeout']=_0x3035dd===0x0?0x3e8:_0x3035dd*0x2);}[_0x2ece9e(0x185)](){var _0x23aaa5=_0x2ece9e,_0x313f57;(_0x313f57=this[_0x23aaa5(0x2b5)])==null||_0x313f57[_0x23aaa5(0x1bb)](),this[_0x23aaa5(0x1a2)]=0x0;}};_e=Ie([P(0x4,_0x5d0e22(_0x4ddb89)),P(0x5,_0x5d0e22(_0x35bf27)),P(0x6,_0x1f7b12),P(0x7,_0x543a8d),P(0x8,_0x5893e1),P(0x9,_0x5f18b5),P(0xa,_0x28b9d0(J))],_e);let ae=class extends Te{constructor(_0x27df23,_0x4bd13f,_0x10e7a1,_0x3f3f9b,_0x1a8c47,_0x3648d3,_0x339181,_0x31168f,_0x37ea7e,_0x47f964,_0x1d32d0,_0x47b35a,_0xbd20ee){var _0x25e036=_0x2ece9e;super(_0x27df23,_0x4bd13f,_0x10e7a1,_0x3f3f9b,_0x1a8c47,_0x37ea7e,_0x47b35a,_0x31168f,_0xbd20ee),N(this,_0x25e036(0x174),_0x25e036(0x274)),N(this,_0x25e036(0x1a2),0x0),N(this,_0x25e036(0x2a6)),N(this,_0x25e036(0x2b5)),(this[_0x25e036(0x269)]=_0x339181,this['_logService']=_0x47f964,this['_transformService']=_0x1d32d0,this[_0x25e036(0x27b)]=_0xbd20ee,_0x3648d3&&(this[_0x25e036(0x2a6)]=_0x3648d3,this[_0x25e036(0x2b5)]=this[_0x25e036(0x2a6)][_0x25e036(0x13f)](({reqId:_0x35721b,timeout:_0x4b7f8e})=>{var _0x2c9e23=_0x25e036;this[_0x2c9e23(0x334)](_0x35721b,_0x4b7f8e);})));}[_0x2ece9e(0x2a9)](_0x15db0c){var _0x63e85c=_0x2ece9e;return this[_0x63e85c(0x3c9)][_0x63e85c(0x376)](_0x15db0c),this;}[_0x2ece9e(0x13c)](_0x208fa3){var _0x3e97ed=_0x2ece9e;if(this[_0x3e97ed(0x30a)](_0x208fa3))return this[_0x3e97ed(0x185)](),this[_0x3e97ed(0x269)][_0x3e97ed(0xf3)](Q,this['unitID'],this['type'],this[_0x3e97ed(0x388)],this['_pendingMutations'],null,[_0x208fa3],this[_0x3e97ed(0x132)]);try{const _0x262137=this[_0x3e97ed(0x3cc)][_0x3e97ed(0x120)]([_0x208fa3],[this[_0x3e97ed(0x388)]],!0x1);if(_0x1408e0(_0x262137)){const {c1Prime:_0x3a9db4,c2Prime:_0x3e9d59}=_0x262137,_0xc16958=this[_0x3e97ed(0x3cc)]['transformMutationsWithChangeset'](_0x3a9db4[0x0],this[_0x3e97ed(0x3c9)]);if(_0x42408e(_0xc16958)){const {c1Prime:_0x278cb7,m2Prime:_0x344fb7}=_0xc16958;return this[_0x3e97ed(0x13e)](_0x278cb7),_0x3e9d59[0x0][_0x3e97ed(0x1a9)]=this[_0x3e97ed(0x31f)](),this['_clearScheduledTask'](),this[_0x3e97ed(0x269)][_0x3e97ed(0xf3)](ae,this[_0x3e97ed(0x1a7)],this[_0x3e97ed(0x314)],_0x3e9d59[0x0],_0x344fb7,this['_handler'],void 0x0);}throw _0xc16958[_0x3e97ed(0x306)];}throw _0x262137[_0x3e97ed(0x306)];}catch(_0x310ea1){return this[_0x3e97ed(0x32a)][_0x3e97ed(0x306)](_0x310ea1),this[_0x3e97ed(0x359)](!0x1);}}['onRemoteAck'](_0x41da70){var _0x73465f=_0x2ece9e;if(this[_0x73465f(0x185)](),this[_0x73465f(0x30a)](_0x41da70))return this[_0x73465f(0x269)][_0x73465f(0xf3)](Q,this[_0x73465f(0x1a7)],this[_0x73465f(0x314)],null,this[_0x73465f(0x3c9)],this[_0x73465f(0x388)],[],this[_0x73465f(0x132)]);this[_0x73465f(0x1b2)]();const _0x3dff41=this[_0x73465f(0x269)][_0x73465f(0xf3)](re,this[_0x73465f(0x1a7)],this[_0x73465f(0x314)],this[_0x73465f(0x3c9)],this[_0x73465f(0x132)]);return _0x3dff41[_0x73465f(0x23e)](),_0x3dff41['_updateLocalCache'](),_0x3dff41;}[_0x2ece9e(0xf4)](_0x37fb60){var _0x3b3f95=_0x2ece9e;return this[_0x3b3f95(0x359)](!!(_0x37fb60!=null&&_0x37fb60['isPermissionRej']));}[_0x2ece9e(0xe9)](_0x38508d){var _0x4f8eb2=_0x2ece9e;return this[_0x4f8eb2(0x1a2)]>Ci?this['toggleOffline']():(this[_0x4f8eb2(0x2a6)]=Ii(this['_resendTimeout'],{'timeout':this[_0x4f8eb2(0x1a2)],'reqId':_0x38508d[_0x4f8eb2(0x236)]}),this[_0x4f8eb2(0x2b5)]=this['_resendTimer'][_0x4f8eb2(0x13f)](({reqId:_0x41e8bc,timeout:_0x5aaa24})=>{var _0xdf9975=_0x4f8eb2;this[_0xdf9975(0x334)](_0x41e8bc,_0x5aaa24);}),this);}[_0x2ece9e(0x220)](){var _0xd50b60=_0x2ece9e;return this[_0xd50b60(0x185)](),this[_0xd50b60(0x269)][_0xd50b60(0xf3)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0xd50b60(0x3c9)],this[_0xd50b60(0x132)]);}['toggleOnline'](){return this;}[_0x2ece9e(0x218)](){var _0x5add08=_0x2ece9e;this['_handler'][_0x5add08(0x101)](this['_awaitingChangeset']);}['_onConflict'](_0x495661){var _0x31ad28=_0x2ece9e;return this[_0x31ad28(0x185)](),this[_0x31ad28(0x269)]['createInstance'](le,this[_0x31ad28(0x1a7)],this[_0x31ad28(0x314)],null,this[_0x31ad28(0x3c9)],this[_0x31ad28(0x132)],_0x495661);}[_0x2ece9e(0x334)](_0xf9f110,_0x4e3bf7){var _0x4a3ac3=_0x2ece9e,_0x13340a;_0xf9f110===((_0x13340a=this[_0x4a3ac3(0x388)])==null?void 0x0:_0x13340a['reqId'])&&(this['resend'](),this[_0x4a3ac3(0x1a2)]=_0x4e3bf7===0x0?0x3e8:_0x4e3bf7*0x2);}[_0x2ece9e(0x185)](){var _0x204751=_0x2ece9e,_0x59e561;(_0x59e561=this[_0x204751(0x2b5)])==null||_0x59e561[_0x204751(0x1bb)](),this[_0x204751(0x1a2)]=0x0;}};ae=Ie([P(0x6,_0x5d0e22(_0x4ddb89)),P(0x7,_0x5d0e22(_0x35bf27)),P(0x8,_0x1f7b12),P(0x9,_0x543a8d),P(0xa,_0x5893e1),P(0xb,_0x5f18b5),P(0xc,_0x28b9d0(J))],ae);let le=class extends Te{constructor(_0x3f92c2,_0x5a4255,_0x1e2318,_0x58217b,_0x117e82,_0x3d6f4a=!0x1,_0x3df4f5,_0x50f518,_0x273883,_0x52440a,_0x143862,_0x52e605,_0x2dc98c){var _0x54de37=_0x2ece9e;super(_0x3f92c2,_0x5a4255,_0x1e2318,_0x58217b,_0x117e82,_0x50f518,_0x273883,_0x52440a,_0x2dc98c),N(this,_0x54de37(0x174),_0x54de37(0x384)),(this[_0x54de37(0x394)]=_0x3d6f4a,this[_0x54de37(0x25b)]=_0x3df4f5,this[_0x54de37(0x1c3)]=_0x143862,this['_collaborationUIEventService']=_0x52e605,this[_0x54de37(0x27b)]=_0x2dc98c,this[_0x54de37(0x330)](),this[_0x54de37(0x2d5)](),this[_0x54de37(0x3b5)]());}[_0x2ece9e(0x2a9)](){return this;}[_0x2ece9e(0x13c)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x2ece9e(0x220)](){return this;}[_0x2ece9e(0x14a)](){return this;}[_0x2ece9e(0x218)](){var _0x72a492=_0x2ece9e;throw new Error(_0x72a492(0x112));}[_0x2ece9e(0x2d5)](){var _0x3074bb=_0x2ece9e,_0x40609f;(_0x40609f=this[_0x3074bb(0x3a1)])==null||_0x40609f[_0x3074bb(0x2a8)](this['unitID'],this[_0x3074bb(0x314)],null,[]);}[_0x2ece9e(0x330)](){var _0x1b1f05=_0x2ece9e;this[_0x1b1f05(0x394)]?this[_0x1b1f05(0x231)][_0x1b1f05(0x21f)]({'id':ne[_0x1b1f05(0x1ba)]}):this['_collaborationUIEventService'][_0x1b1f05(0x21f)]({'id':ne[_0x1b1f05(0x252)]});}[_0x2ece9e(0x3b5)](){var _0x19a37e=_0x2ece9e;this[_0x19a37e(0x25b)][_0x19a37e(0x16f)](new _0x25237d(this[_0x19a37e(0x1a7)])['id'],!0x1);}};le=Ie([P(0x6,_0x5d0e22(_0x24e934)),P(0x7,_0x1f7b12),P(0x8,_0x5f18b5),P(0x9,_0x5d0e22(_0x35bf27)),P(0xa,_0x5d0e22(_0x5175b3)),P(0xb,_0x5d0e22(ve)),P(0xc,_0x28b9d0(J))],le);let ue=class extends Te{constructor(_0x306ec4,_0x4b409a,_0x44ffb1,_0x20ac51,_0x4df1d2,_0x297d2b,_0x1ba68f,_0x49ca18,_0x56ef39,_0x3e4182){var _0x338f23=_0x2ece9e;super(_0x306ec4,_0x4b409a,_0x44ffb1,_0x20ac51,_0x4df1d2,_0x49ca18,_0x56ef39,_0x1ba68f,_0x3e4182),N(this,_0x338f23(0x174),_0x338f23(0x1da)),this['_injector']=_0x297d2b;}['appendMutation'](_0x58f94b){var _0x1eb357=_0x2ece9e;return this['_pendingMutations'][_0x1eb357(0x376)](_0x58f94b),this[_0x1eb357(0x20c)](),this;}[_0x2ece9e(0x13c)](_0x5c4372){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2ece9e(0x257)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2ece9e(0xf4)](){var _0x3109ee=_0x2ece9e;throw new Error(_0x3109ee(0x15a));}[_0x2ece9e(0xe9)](){return this;}[_0x2ece9e(0x220)](){return this;}[_0x2ece9e(0x14a)](){var _0x5eee83=_0x2ece9e;const {_injector:_0x4c175e,_pendingMutations:_0x4f35f2,_awaitingChangeset:_0x152a5a,unitID:_0x5e6ce9,_handler:_0x3bc263,type:_0x51d484}=this,_0x23511e=Ri(_0x4c175e,_0x5e6ce9,_0x51d484,_0x152a5a,_0x4f35f2,_0x3bc263);return _0x23511e instanceof re?_0x23511e['_schedule']():(_0x23511e instanceof ae||_0x23511e instanceof _e)&&_0x23511e[_0x5eee83(0x218)](),_0x23511e;}[_0x2ece9e(0x218)](){var _0x487e4b=_0x2ece9e;throw new Error(_0x487e4b(0x259));}};ue=Ie([P(0x5,_0x5d0e22(_0x4ddb89)),P(0x6,_0x5d0e22(_0x35bf27)),P(0x7,_0x1f7b12),P(0x8,_0x5f18b5),P(0x9,_0x28b9d0(J))],ue);let Q=class extends Te{constructor(_0x531011,_0x91df1c,_0x48fdc0,_0x1caad9,_0x44d889,_0xd01401,_0x470bd7,_0x280cf6,_0x5567d9,_0x31c6b3,_0x1e9456,_0x4be286,_0x2d1432,_0x16f495){var _0x4873b1=_0x2ece9e;super(_0x531011,_0x91df1c,_0x48fdc0,_0x1caad9,_0x470bd7,_0x1e9456,_0x4be286,_0x5567d9,_0x16f495),N(this,_0x4873b1(0x174),_0x4873b1(0x395)),(this[_0x4873b1(0x2c1)]=_0x44d889,this['_queuedRemoteChangesets']=_0xd01401,this[_0x4873b1(0x269)]=_0x280cf6,this[_0x4873b1(0x32a)]=_0x31c6b3,this[_0x4873b1(0x3cc)]=_0x2d1432,this[_0x4873b1(0x27b)]=_0x16f495);}['onMissedChangesetFetched'](_0x5e82b8){var _0x1f1edc=_0x2ece9e;try{const _0x3b5286=[..._0x5e82b8,...this[_0x1f1edc(0x298)]],_0xef5683=[this['_awaitingChangeset']||this[_0x1f1edc(0x2c1)]][_0x1f1edc(0x107)](_0x22e348=>!!_0x22e348);let _0x5a3911,_0x45efdb;if(_0xef5683[_0x1f1edc(0x287)]){const _0x2f140d=this[_0x1f1edc(0x3cc)][_0x1f1edc(0x120)](_0x3b5286,_0xef5683,!0x1);if(!_0x1408e0(_0x2f140d))throw _0x2f140d['error'];_0x5a3911=_0x2f140d['c1Prime'],_0x45efdb=_0x2f140d['c2Prime'];}else _0x5a3911=_0x3b5286,_0x45efdb=[];let _0x4599a0=this[_0x1f1edc(0x3c9)];_0x5a3911[_0x1f1edc(0x21d)](_0x4d4e34=>{var _0x2790ef=_0x1f1edc;let _0x632a67;if(_0x4599a0[_0x2790ef(0x287)]){const _0x4551c5=this[_0x2790ef(0x3cc)]['transformMutationsWithChangeset'](_0x4d4e34,_0x4599a0);if(!_0x42408e(_0x4551c5))throw _0x4551c5[_0x2790ef(0x306)];_0x632a67=_0x4551c5[_0x2790ef(0x35e)],_0x4599a0=_0x4551c5[_0x2790ef(0x1dc)];}else _0x632a67=_0x4d4e34;this[_0x2790ef(0x13e)](_0x632a67);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1f1edc(0x1b2)](),this[_0x1f1edc(0x388)]&&_0x45efdb[_0x1f1edc(0x287)]&&(_0x45efdb[0x0][_0x1f1edc(0x1a9)]=this[_0x1f1edc(0x31f)]());let _0x10a9f7;if(this[_0x1f1edc(0x388)]&&_0x4599a0['length']!==0x0)_0x10a9f7=this[_0x1f1edc(0x269)][_0x1f1edc(0xf3)](ae,this[_0x1f1edc(0x1a7)],this['type'],_0x45efdb[0x0],_0x4599a0,this[_0x1f1edc(0x132)],void 0x0);else{if(this[_0x1f1edc(0x388)]&&_0x4599a0[_0x1f1edc(0x287)]===0x0)_0x45efdb[0x0]['baseRev']=this[_0x1f1edc(0x31f)](),_0x10a9f7=this[_0x1f1edc(0x269)][_0x1f1edc(0xf3)](_e,this[_0x1f1edc(0x1a7)],this[_0x1f1edc(0x314)],_0x45efdb[0x0],this[_0x1f1edc(0x132)]);else{if(_0x4599a0[_0x1f1edc(0x287)]!==0x0){const _0x49b490=this[_0x1f1edc(0x269)]['createInstance'](re,this['unitID'],this[_0x1f1edc(0x314)],_0x4599a0,this[_0x1f1edc(0x132)]);_0x49b490[_0x1f1edc(0x23e)](),_0x10a9f7=_0x49b490;}else _0x10a9f7=this[_0x1f1edc(0x269)][_0x1f1edc(0xf3)](ye,this['unitID'],this[_0x1f1edc(0x314)],this['_handler']);}}return _0x10a9f7[_0x1f1edc(0x20c)](),_0x10a9f7;}catch(_0x1739f7){return this[_0x1f1edc(0x32a)][_0x1f1edc(0x306)](_0x1f1edc(0x303),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1739f7),this[_0x1f1edc(0x269)]['createInstance'](le,this[_0x1f1edc(0x1a7)],this[_0x1f1edc(0x314)],this[_0x1f1edc(0x388)],this[_0x1f1edc(0x3c9)],this[_0x1f1edc(0x132)],!0x1);}}['resend'](){var _0x20f336=_0x2ece9e;throw new Error(_0x20f336(0x34b));}[_0x2ece9e(0x2a9)](_0x36e45e){var _0x369a6f=_0x2ece9e;return this[_0x369a6f(0x3c9)]['push'](_0x36e45e),this;}[_0x2ece9e(0x13c)](_0x3a62c5){var _0x15e3e1=_0x2ece9e;return this[_0x15e3e1(0x298)][_0x15e3e1(0x376)](_0x3a62c5),this;}[_0x2ece9e(0x257)](_0x51adef){var _0x4a7ead=_0x2ece9e;if(this['_awaitingChangeset'])return this[_0x4a7ead(0x2c1)]=this[_0x4a7ead(0x388)],this['_awaitingChangeset']=null,this;throw new Error(_0x4a7ead(0x1b6));}['onRemoteRej'](_0xd0c161){var _0x2fdd47=_0x2ece9e;return this['_onConflict'](!!(_0xd0c161!=null&&_0xd0c161[_0x2fdd47(0x3cf)]));}[_0x2ece9e(0xe9)](){return this;}['toggleOffline'](){var _0xf556bf=_0x2ece9e;return this[_0xf556bf(0x269)]['createInstance'](ue,this['unitID'],this['type'],this[_0xf556bf(0x388)],this[_0xf556bf(0x3c9)],this['_handler']);}[_0x2ece9e(0x14a)](){return this;}['_onConflict'](_0x3fef9d){var _0x44398b=_0x2ece9e;return this[_0x44398b(0x269)][_0x44398b(0xf3)](le,this[_0x44398b(0x1a7)],this[_0x44398b(0x314)],this['_awaitingChangeset'],this[_0x44398b(0x3c9)],this[_0x44398b(0x132)],_0x3fef9d);}};Q=Ie([P(0x7,_0x5d0e22(_0x4ddb89)),P(0x8,_0x5d0e22(_0x35bf27)),P(0x9,_0x543a8d),P(0xa,_0x1f7b12),P(0xb,_0x5f18b5),P(0xc,_0x5893e1),P(0xd,_0x28b9d0(J))],Q);function Ri(_0x287f34,_0x590e05,_0x54771e,_0x38b3e9,_0x580ea6,_0x15e94a){var _0x5e919a=_0x2ece9e;return _0x38b3e9&&_0x580ea6[_0x5e919a(0x287)]?_0x287f34['createInstance'](ae,_0x590e05,_0x54771e,_0x38b3e9,_0x580ea6,_0x15e94a,void 0x0):_0x38b3e9?_0x287f34[_0x5e919a(0xf3)](_e,_0x590e05,_0x54771e,_0x38b3e9,_0x15e94a):_0x580ea6['length']?_0x287f34[_0x5e919a(0xf3)](re,_0x590e05,_0x54771e,_0x580ea6,_0x15e94a):_0x287f34['createInstance'](ye,_0x590e05,_0x54771e,_0x15e94a);}var Zs=Object[_0x2ece9e(0x10f)],wt=(_0x5bf656,_0x19f95a,_0x88e129,_0x2a36fb)=>{var _0x4d4548=_0x2ece9e;for(var _0x30da49=_0x2a36fb>0x1?void 0x0:_0x2a36fb?Zs(_0x19f95a,_0x88e129):_0x19f95a,_0x2e09e4=_0x5bf656[_0x4d4548(0x287)]-0x1,_0x471653;_0x2e09e4>=0x0;_0x2e09e4--)(_0x471653=_0x5bf656[_0x2e09e4])&&(_0x30da49=_0x471653(_0x30da49)||_0x30da49);return _0x30da49;},H=(_0x466bd0,_0x589740)=>(_0x3115b5,_0x1f77b7)=>_0x589740(_0x3115b5,_0x1f77b7,_0x466bd0);let st=class extends _0x4f35f0{constructor(_0x21462a,_0x1339a9,_0x198d8c,_0x59194e,_0x2aab3a,_0x22b70a,_0x51c089,_0x33e847,_0x32b889,_0x13164c,_0x7d57de,_0x9e1a2d,_0x1f2ca7){var _0xe42012=_0x2ece9e;super(),N(this,'_state$',new _0x3e82de(null)),N(this,_0xe42012(0xea),this[_0xe42012(0x160)][_0xe42012(0x17e)]()),N(this,'_state'),N(this,_0xe42012(0x2d8),!0x1),N(this,_0xe42012(0x2eb),''),N(this,_0xe42012(0x2bf),0x0),N(this,_0xe42012(0x2b7),this[_0xe42012(0xea)][_0xe42012(0x3b4)](_0xd8da15(_0x4c24ae=>_0x4c24ae?_0x4c24ae['status']:Ti[_0xe42012(0x1e6)]),_0xaba0a8(0x1))),N(this,_0xe42012(0x337),!0x1),N(this,_0xe42012(0x10b),[]),(this['unitID']=_0x21462a,this[_0xe42012(0x2f8)]=_0x1339a9,this['_type']=_0x198d8c,this[_0xe42012(0x269)]=_0x59194e,this[_0xe42012(0x375)]=_0x2aab3a,this['_localeService']=_0x22b70a,this['_revisionService']=_0x51c089,this[_0xe42012(0x228)]=_0x33e847,this[_0xe42012(0x32a)]=_0x32b889,this[_0xe42012(0x3ba)]=_0x13164c,this[_0xe42012(0x25b)]=_0x7d57de,this[_0xe42012(0x35d)]=_0x9e1a2d,this['_localCacheService']=_0x1f2ca7);}get[_0x2ece9e(0x180)](){var _0x556b54=_0x2ece9e;return this[_0x556b54(0x333)];}async[_0x2ece9e(0x292)](){var _0x5c8894=_0x2ece9e;if(this[_0x5c8894(0x180)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5c8894(0x11d)]();}['pauseCollaboration'](){var _0x16b4e8=_0x2ece9e;return this[_0x16b4e8(0x2d8)]=!0x0,_0x537072(()=>{var _0x2e342e=_0x16b4e8;this[_0x2e342e(0x2d8)]=!0x1,this[_0x2e342e(0x201)]();});}['onLocalMutation'](_0x5ce70d){var _0x2d4857=_0x2ece9e;this[_0x2d4857(0x1a1)](_0x5ce70d);}[_0x2ece9e(0x30d)](_0x5c230c){var _0x1ca27c=_0x2ece9e;this['_state']=_0x5c230c,this[_0x1ca27c(0x160)][_0x1ca27c(0x113)](_0x5c230c);}async[_0x2ece9e(0x11d)](){var _0x209c9f=_0x2ece9e,_0x3ebef0;this['_updateState'](await this[_0x209c9f(0x240)]()),this['_singleActiveUnitService']&&((_0x3ebef0=this['_singleActiveUnitService'])==null||_0x3ebef0[_0x209c9f(0x28e)](this[_0x209c9f(0x1a7)]),this[_0x209c9f(0x2b8)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x209c9f(0x1a7)])['subscribe'](_0x2673a5=>{var _0x16f312=_0x209c9f;this[_0x16f312(0x32a)][_0x16f312(0x30e)](_0x16f312(0x36c),'editing\x20status\x20changed\x20to',_0x2673a5),_0x2673a5===Ei[_0x16f312(0x13d)]?(this[_0x16f312(0x228)][_0x16f312(0x21f)]({'id':ne[_0x16f312(0xee)]}),this[_0x16f312(0x25b)][_0x16f312(0x16f)](new _0x25237d(this[_0x16f312(0x1a7)])['id'],!0x1),this[_0x16f312(0x25b)][_0x16f312(0x258)](!0x1)):(this[_0x16f312(0x25b)][_0x16f312(0x16f)](new _0x25237d(this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x1e9155=!0x1;return this['disposeWithMe'](this[_0x209c9f(0x2f8)][_0x209c9f(0x315)][_0x209c9f(0x13f)](_0x434ccd=>{var _0xf19263=_0x209c9f;_0x434ccd===Se[_0xf19263(0x340)]?this[_0xf19263(0x35c)](_0x1e9155):_0x434ccd===Se[_0xf19263(0x1e6)]&&(_0x1e9155=!0x0,this[_0xf19263(0x2c6)]());})),this[_0x209c9f(0x2b8)](this[_0x209c9f(0x2f8)][_0x209c9f(0x16b)][_0x209c9f(0x13f)](_0x2292ae=>{var _0x2fd689=_0x209c9f;try{switch(_0x2292ae[_0x2fd689(0x2b3)]){case _0x285f19[_0x2fd689(0x3b9)]:{this['_onRemoteChangeset'](_0x51dd5f(_0x2292ae[_0x2fd689(0x1b5)]));break;}case _0x285f19[_0x2fd689(0x324)]:{this['_onRemoteACK'](_0x2292ae['data']);break;}case _0x285f19['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x285f19['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x2292ae[_0x2fd689(0x1b5)]);break;}case _0x285f19[_0x2fd689(0x225)]:{this[_0x2fd689(0x14b)](_0x2292ae[_0x2fd689(0x1b5)]['changesets'][_0x2fd689(0x128)](_0x29711e=>_0x51dd5f(_0x29711e)));break;}case _0x285f19['PERMISSION_REJ']:{this[_0x2fd689(0x360)]({'isPermissionRej':!0x0});break;}case _0x285f19['UNISCRIPT_RUN']:break;}}catch(_0x436226){throw console['error']('Error\x20on\x20receiving\x20event',_0x436226),_0x436226;}})),this[_0x209c9f(0x333)];}[_0x2ece9e(0x279)](){var _0xdc640c=_0x2ece9e;this[_0xdc640c(0x337)]=!0x1;}[_0x2ece9e(0x355)](){var _0x55a3ac=_0x2ece9e;if(this['_transitionLocked'])throw new Error(_0x55a3ac(0x293));this['_transitionLocked']=!0x0;}[_0x2ece9e(0x1a1)](_0xec2f50){var _0x4eda57=_0x2ece9e;this[_0x4eda57(0x355)](),this['_updateState'](this[_0x4eda57(0x333)][_0x4eda57(0x2a9)](_0xec2f50)),this[_0x4eda57(0x279)]();}[_0x2ece9e(0x1c4)](_0xe56b8d){var _0x3f5a37=_0x2ece9e;if(!(_0xe56b8d[_0x3f5a37(0x31d)]<=this['_revisionService'][_0x3f5a37(0x1a0)](this[_0x3f5a37(0x1a7)]))){if(this[_0x3f5a37(0x2d8)]){this[_0x3f5a37(0x10b)]['push'](_0xe56b8d);return;}this['_applyRemoteChangeset'](_0xe56b8d);}}[_0x2ece9e(0x201)](){var _0x15c717=_0x2ece9e;this['_remoteChangesetQueue'][_0x15c717(0x21d)](_0x38038d=>this[_0x15c717(0x256)](_0x38038d)),this[_0x15c717(0x10b)]=[];}[_0x2ece9e(0x256)](_0x5061ab){var _0x1852a2=_0x2ece9e;const _0x3f318d=this[_0x1852a2(0x375)][_0x1852a2(0x139)]['fetchThroughInterceptors'](this[_0x1852a2(0x375)][_0x1852a2(0x139)][_0x1852a2(0x3be)]()[_0x1852a2(0x32d)])(_0x5061ab[_0x1852a2(0x18d)],null)||_0x5061ab[_0x1852a2(0x18d)],_0x5ae263={..._0x5061ab,'mutations':_0x3f318d};this[_0x1852a2(0x355)](),this['_updateState'](this['_state'][_0x1852a2(0x13c)](_0x5ae263)),this[_0x1852a2(0x279)]();}['_onRemoteACK'](_0x33fee8){var _0x2c7bc1=_0x2ece9e;this['_lockTransition'](),this['_updateState'](this['_state'][_0x2c7bc1(0x257)](_0x33fee8)),this[_0x2c7bc1(0x279)]();}[_0x2ece9e(0x360)](_0x166369){var _0x454483=_0x2ece9e;this[_0x454483(0x355)](),this['_updateState'](this[_0x454483(0x333)][_0x454483(0xf4)](_0x166369)),this[_0x454483(0x279)]();}[_0x2ece9e(0xec)](_0x38068c){var _0x3c0494=_0x2ece9e;this[_0x3c0494(0x355)](),this[_0x3c0494(0x30d)](this[_0x3c0494(0x333)]['onRemoteRetry'](_0x38068c)),this[_0x3c0494(0x279)]();}['_onFetchMissResult'](_0x41e5e5){var _0x36fca6=_0x2ece9e;if(!(this[_0x36fca6(0x333)]instanceof Q))throw new TypeError(_0x36fca6(0x214));const _0x4aaec3=_0x41e5e5[_0x36fca6(0x128)](_0x3c5a37=>{var _0x1605a1=_0x36fca6;const _0x49304e=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x1605a1(0x375)][_0x1605a1(0x139)][_0x1605a1(0x3be)]()[_0x1605a1(0x32d)])(_0x3c5a37[_0x1605a1(0x18d)],null)||_0x3c5a37[_0x1605a1(0x18d)];return{..._0x3c5a37,'mutations':_0x49304e};});this[_0x36fca6(0x355)](),this[_0x36fca6(0x30d)](this['_state'][_0x36fca6(0xfd)](_0x4aaec3)),this['_unlockTransition']();}[_0x2ece9e(0x2c6)](){var _0x195c40=_0x2ece9e;this[_0x195c40(0x355)](),this[_0x195c40(0x30d)](this['_state']['toggleOffline']()),this[_0x195c40(0x279)]();}[_0x2ece9e(0x35c)](_0xf95a26=!0x1){var _0x491973=_0x2ece9e;this[_0x491973(0x355)](),this[_0x491973(0x30d)](this[_0x491973(0x333)][_0x491973(0x14a)]()),this[_0x491973(0x279)]();const _0x2e1f08=this[_0x491973(0x333)];_0xf95a26&&_0x2e1f08 instanceof ye&&(this['_lockTransition'](),this[_0x491973(0x30d)](_0x2e1f08[_0x491973(0x200)]()),this[_0x491973(0x279)]());}async[_0x2ece9e(0x240)](){return new Promise(_0x4aa846=>{var _0x1e223c=_0x5654;this[_0x1e223c(0x2f8)][_0x1e223c(0x315)]['pipe'](_0x9ce0ef(0x1))['subscribe'](async _0x50cac4=>{var _0x3e5746=_0x1e223c;_0x4aa846(await this['_createInitialStateImpl'](_0x50cac4===Se[_0x3e5746(0x340)]));});});}[_0x2ece9e(0x11b)](){var _0x5313f1=_0x2ece9e;const _0x489a63=this[_0x5313f1(0x1a7)];return{'onStateChange':(_0x2566ce,_0x2fc840)=>{var _0x2f9993=_0x5313f1;if(_0x2566ce!==this['_state'])throw new Error(_0x2f9993(0x12a)+_0x2566ce[_0x2f9993(0x174)]+_0x2f9993(0x270)+_0x2fc840[_0x2f9993(0x174)]+'\x0aCurrent:\x20'+this[_0x2f9993(0x333)][_0x2f9993(0x174)]);this['_updateState'](_0x2fc840);},'onSendChangeset':_0x1eeb40=>{var _0x1f6851=_0x5313f1;_0x1eeb40[_0x1f6851(0x276)]||(_0x1eeb40[_0x1f6851(0x276)]=this[_0x1f6851(0x2eb)],_0x1eeb40[_0x1f6851(0x236)]=++this[_0x1f6851(0x2bf)]);const _0x4c0262={'eventID':_0x285f19[_0x1f6851(0x23a)],'data':{'unitID':_0x1eeb40[_0x1f6851(0x1a7)],'unitType':this['_type'],'changeset':_0x1eeb40,'memberID':this[_0x1f6851(0x2f8)][_0x1f6851(0x15d)]()}};this[_0x1f6851(0x2f8)][_0x1f6851(0x2cf)](_0x4c0262,this[_0x1f6851(0x1a7)]);},'onMissingChangesets':({from:_0xfab3b0,to:_0x112778})=>{var _0x4a0337=_0x5313f1;this['_logService'][_0x4a0337(0x30e)](_0x4a0337(0x36c),'fetching\x20missing\x20changesets\x20from\x20'+_0xfab3b0+_0x4a0337(0x284)+_0x112778);const _0x19ab87={'eventID':_0x285f19[_0x4a0337(0x29e)],'data':{'unitID':_0x489a63,'unitType':this['_type'],'from':_0xfab3b0,'to':_0x112778}};this[_0x4a0337(0x2f8)][_0x4a0337(0x2cf)](_0x19ab87,this[_0x4a0337(0x1a7)]);}};}async[_0x2ece9e(0x14c)](_0x33795c){var _0xcad334=_0x2ece9e,_0x6841e9,_0x134f98,_0x1cb549;const _0x31aa53=await((_0x6841e9=this[_0xcad334(0x3a1)])==null?void 0x0:_0x6841e9[_0xcad334(0x1dd)](this[_0xcad334(0x1a7)])),_0x147f95=(_0x134f98=_0x31aa53==null?void 0x0:_0x31aa53[_0xcad334(0x18d)])!=null?_0x134f98:[],_0xb2f9b2=(_0x1cb549=_0x31aa53==null?void 0x0:_0x31aa53['awaitingChangeset'])!=null?_0x1cb549:null,_0x240fa7=!!(_0xb2f9b2!=null&&_0xb2f9b2['sid'])&&!!(_0xb2f9b2!=null&&_0xb2f9b2[_0xcad334(0x236)]);this[_0xcad334(0x2eb)]=_0x240fa7?_0xb2f9b2['sid']:_0x41a674(),this['_changesetReqId']=_0x240fa7?_0xb2f9b2[_0xcad334(0x236)]:0x0;const _0x28966b=this['unitID'];try{this[_0xcad334(0x310)](_0xb2f9b2,_0x147f95);}catch(_0x300acd){this[_0xcad334(0x32a)][_0xcad334(0x306)](_0x300acd);}const _0x451c66=this[_0xcad334(0x11b)]();if(_0x33795c){const _0x4b15a5=Ri(this[_0xcad334(0x269)],_0x28966b,this[_0xcad334(0x2d1)],_0xb2f9b2,_0x147f95,_0x451c66);return _0x4b15a5 instanceof re?_0x4b15a5['_schedule']():(_0x4b15a5 instanceof ae||_0x4b15a5 instanceof _e)&&_0x4b15a5[_0xcad334(0x218)](),_0x4b15a5;}return this['_injector'][_0xcad334(0xf3)](ue,_0x28966b,this[_0xcad334(0x2d1)],_0xb2f9b2,_0x147f95,_0x451c66);}[_0x2ece9e(0x310)](_0x25015f,_0x304c79){var _0x4daa40=_0x2ece9e,_0x1ee44d,_0x5a361c;const _0x446708=this['_compressMutationService'][_0x4daa40(0x139)][_0x4daa40(0x32e)](this[_0x4daa40(0x375)][_0x4daa40(0x139)][_0x4daa40(0x3be)]()['COMPRESS_MUTATION_APPLY']);(_0x1ee44d=_0x446708((_0x25015f==null?void 0x0:_0x25015f[_0x4daa40(0x18d)])||[],null))==null||_0x1ee44d[_0x4daa40(0x21d)](_0x25151d=>this['_commandService'][_0x4daa40(0x364)](_0x25151d['id'],_0x25151d[_0x4daa40(0x2ce)])),(_0x5a361c=_0x446708(_0x304c79||[],null))==null||_0x5a361c[_0x4daa40(0x21d)](_0x5d7c30=>this['_commandService'][_0x4daa40(0x364)](_0x5d7c30['id'],_0x5d7c30[_0x4daa40(0x2ce)]));}};st=wt([H(0x3,_0x5d0e22(_0x4ddb89)),H(0x4,_0x5d0e22(_0x940a86)),H(0x5,_0x5d0e22(_0x5175b3)),H(0x6,_0x5d0e22(_0x35bf27)),H(0x7,_0x5d0e22(ve)),H(0x8,_0x543a8d),H(0x9,_0x1f7b12),H(0xa,_0x24e934),H(0xb,_0x28b9d0(ht)),H(0xc,_0x28b9d0(J))],st);let St=class extends st{constructor(_0xbd044d,_0x12356c,_0x28dede,_0x46a7fa,_0x2af435,_0x567385,_0x5a113a,_0xa4d630,_0x146f08,_0x39a2c7,_0x153bfb,_0x4185a7,_0x588cef){var _0x3d374c=_0x2ece9e;super(_0xbd044d,_0x28dede,_0x12356c,_0x46a7fa,_0x2af435,_0x567385,_0x5a113a,_0xa4d630,_0x146f08,_0x39a2c7,_0x153bfb,_0x4185a7,_0x588cef),N(this,'_handlerCallback',null),(this[_0x3d374c(0x1a7)]=_0xbd044d,this[_0x3d374c(0x314)]=_0x12356c);}['addHandlerCallback'](_0x1d265a){var _0xa75b32=_0x2ece9e;this[_0xa75b32(0x2df)]=_0x1d265a;}['dispose'](){var _0x20d50a=_0x2ece9e;this[_0x20d50a(0x2df)]=null,super[_0x20d50a(0x33c)]();}['_createHandler'](){var _0x21a49e=_0x2ece9e;const _0x57b0b0=super[_0x21a49e(0x11b)]();return _0x57b0b0[_0x21a49e(0x321)]=_0x33f54d=>{var _0x29af53=_0x21a49e,_0x13cdd9,_0x571738;return(_0x571738=(_0x13cdd9=this[_0x29af53(0x2df)])==null?void 0x0:_0x13cdd9[_0x29af53(0x321)])==null?void 0x0:_0x571738[_0x29af53(0x267)](_0x13cdd9,_0x33f54d);},_0x57b0b0[_0x21a49e(0x318)]=_0x3f2119=>{var _0x1baa99=_0x21a49e,_0x48a731,_0x514fba;return(_0x514fba=(_0x48a731=this[_0x1baa99(0x2df)])==null?void 0x0:_0x48a731['onTransformState'])==null?void 0x0:_0x514fba[_0x1baa99(0x267)](_0x48a731,_0x3f2119);},_0x57b0b0[_0x21a49e(0x17b)]=_0x18171e=>{var _0x3d748b=_0x21a49e,_0x545d6f,_0x3a7232;return(_0x3a7232=(_0x545d6f=this[_0x3d748b(0x2df)])==null?void 0x0:_0x545d6f['onTransformSelections'])==null?void 0x0:_0x3a7232['call'](_0x545d6f,_0x18171e);},_0x57b0b0[_0x21a49e(0x111)]=_0x13f1b2=>{var _0x2c9456=_0x21a49e,_0x16da09,_0x260958;return(_0x260958=(_0x16da09=this['_handlerCallback'])==null?void 0x0:_0x16da09[_0x2c9456(0x111)])==null?void 0x0:_0x260958['call'](_0x16da09,_0x13f1b2);},_0x57b0b0[_0x21a49e(0x216)]=_0x48f3f8=>{var _0x1606a1=_0x21a49e,_0x593f20,_0x28acd8,_0x52b6f4;if(!((_0x593f20=this[_0x1606a1(0x2df)])!=null&&_0x593f20[_0x1606a1(0x216)]))throw new Error(_0x1606a1(0x339));return(_0x52b6f4=(_0x28acd8=this[_0x1606a1(0x2df)])==null?void 0x0:_0x28acd8[_0x1606a1(0x216)])==null?void 0x0:_0x52b6f4[_0x1606a1(0x267)](_0x28acd8,_0x48f3f8);},_0x57b0b0['onTransformRemoteChangesetByStateCache']=_0x441ad0=>{var _0x49b5c0=_0x21a49e,_0x57908e,_0x3db165,_0xb176e7;if(!((_0x57908e=this['_handlerCallback'])!=null&&_0x57908e[_0x49b5c0(0x2bc)]))throw new Error(_0x49b5c0(0x262));return(_0xb176e7=(_0x3db165=this[_0x49b5c0(0x2df)])==null?void 0x0:_0x3db165[_0x49b5c0(0x2bc)])==null?void 0x0:_0xb176e7[_0x49b5c0(0x267)](_0x3db165,_0x441ad0);},_0x57b0b0;}async[_0x2ece9e(0x11d)](){var _0x229b5c=_0x2ece9e;const _0x180850=await super[_0x229b5c(0x11d)]();return this[_0x229b5c(0x2b8)](this[_0x229b5c(0x3ba)]['onCommandExecuted']((_0x5cc7e1,_0x454329)=>{var _0x25b968=_0x229b5c;if(_0x5cc7e1['type']!==_0x2f43f7['MUTATION']||_0x454329!=null&&_0x454329['fromCollab']||_0x454329!=null&&_0x454329['onlyLocal']||_0x5cc7e1['id']===_0x51b98d['id'])return;const _0x241076=_0x5cc7e1[_0x25b968(0x2ce)];if((_0x241076==null?void 0x0:_0x241076['unitId'])!==this['unitID'])return;const _0x3427b6=_0x5cc7e1,_0xa36d18=this[_0x25b968(0x375)][_0x25b968(0x139)]['fetchThroughInterceptors'](this[_0x25b968(0x375)][_0x25b968(0x139)][_0x25b968(0x3be)]()['COMPRESS_MUTATION_SEND'])([_0x3427b6],null)||[_0x3427b6];this[_0x25b968(0x1a1)](_0xa36d18[0x0]);})),_0x180850;}};St=wt([H(0x3,_0x5d0e22(_0x4ddb89)),H(0x4,_0x5d0e22(_0x940a86)),H(0x5,_0x5d0e22(_0x5175b3)),H(0x6,_0x5d0e22(_0x35bf27)),H(0x7,_0x5d0e22(ve)),H(0x8,_0x543a8d),H(0x9,_0x1f7b12),H(0xa,_0x24e934),H(0xb,_0x28b9d0(ht)),H(0xc,_0x28b9d0(J))],St);let Et=class extends st{constructor(_0x1134a4,_0x13db76,_0x3c783c,_0x10c71c,_0x391ace,_0xeb4dc9,_0x2f5b6b,_0x139032,_0x4619ae,_0x408f9d,_0x203304,_0x727ae8,_0x1fc269,_0x365888){var _0x4b6d42=_0x2ece9e;super(_0x1134a4,_0x3c783c,_0x13db76,_0x10c71c,_0x391ace,_0xeb4dc9,_0x2f5b6b,_0x4619ae,_0x408f9d,_0x203304,_0x727ae8,_0x1fc269,_0x365888),this[_0x4b6d42(0x1a7)]=_0x1134a4,this[_0x4b6d42(0x314)]=_0x13db76,this[_0x4b6d42(0x133)]=_0x139032;}[_0x2ece9e(0x11b)](){var _0x21c397=_0x2ece9e;const _0x1ec5d=super[_0x21c397(0x11b)]();return _0x1ec5d[_0x21c397(0x17b)]=_0x13cf2f=>this[_0x21c397(0x133)][_0x21c397(0x2ab)](_0x13cf2f),_0x1ec5d;}async[_0x2ece9e(0x11d)](){var _0x1199c4=_0x2ece9e;const _0x49950c=await super[_0x1199c4(0x11d)]();return this[_0x1199c4(0x2b8)](this['_commandService']['onCommandExecuted']((_0x1a4344,_0x2347f8)=>{var _0x5b5ddc=_0x1199c4;if(_0x1a4344[_0x5b5ddc(0x314)]!==_0x2f43f7[_0x5b5ddc(0x28a)]||_0x2347f8!=null&&_0x2347f8[_0x5b5ddc(0x17f)]||_0x2347f8!=null&&_0x2347f8['onlyLocal'])return;const _0x3afc5a=_0x1a4344[_0x5b5ddc(0x2ce)];if((_0x3afc5a==null?void 0x0:_0x3afc5a[_0x5b5ddc(0x1f6)])!==this[_0x5b5ddc(0x1a7)])return;const _0x20e07e=_0x1a4344,_0x2f038f=this['_compressMutationService'][_0x5b5ddc(0x139)]['fetchThroughInterceptors'](this[_0x5b5ddc(0x375)][_0x5b5ddc(0x139)]['getInterceptPoints']()[_0x5b5ddc(0x2cb)])([_0x20e07e],null)||[_0x20e07e];this[_0x5b5ddc(0x1a1)](_0x2f038f[0x0]);})),_0x49950c;}};Et=wt([H(0x3,_0x5d0e22(_0x4ddb89)),H(0x4,_0x5d0e22(_0x940a86)),H(0x5,_0x5d0e22(_0x5175b3)),H(0x6,_0x5d0e22(_0x35bf27)),H(0x7,_0x5d0e22(it)),H(0x8,_0x5d0e22(ve)),H(0x9,_0x543a8d),H(0xa,_0x1f7b12),H(0xb,_0x24e934),H(0xc,_0x28b9d0(ht)),H(0xd,_0x28b9d0(J))],Et);var Qs=Object[_0x2ece9e(0x10f)],en=(_0x37222e,_0x2335d9,_0xdec286,_0x370e81)=>{var _0x2f1ed5=_0x2ece9e;for(var _0xbc2b23=_0x370e81>0x1?void 0x0:_0x370e81?Qs(_0x2335d9,_0xdec286):_0x2335d9,_0x1bbcbe=_0x37222e[_0x2f1ed5(0x287)]-0x1,_0x366427;_0x1bbcbe>=0x0;_0x1bbcbe--)(_0x366427=_0x37222e[_0x1bbcbe])&&(_0xbc2b23=_0x366427(_0xbc2b23)||_0xbc2b23);return _0xbc2b23;},Be=(_0x2e8071,_0x23a43e)=>(_0x9ec1e2,_0x25eff9)=>_0x23a43e(_0x9ec1e2,_0x25eff9,_0x2e8071);let nt=class extends _0x4f35f0{constructor(_0x335e03,_0x16ca7d,_0x570fbf,_0x21f4b5){var _0x542615=_0x2ece9e,_0x314da7;super(),N(this,'_entities',new Map()),N(this,_0x542615(0x27c),new _0x2bde7c()),N(this,_0x542615(0x12b),this['_entityInit$']['asObservable']()),(this[_0x542615(0x269)]=_0x335e03,this[_0x542615(0x192)]=_0x16ca7d,this[_0x542615(0x1bf)]=_0x570fbf,this[_0x542615(0x2d3)]=_0x21f4b5,((_0x314da7=this[_0x542615(0x1bf)][_0x542615(0x168)](K))==null?void 0x0:_0x314da7[_0x542615(0x1c1)])!==!0x1&&this[_0x542615(0x11d)]());}[_0x2ece9e(0x33c)](){var _0x26236f=_0x2ece9e;super['dispose'](),this[_0x26236f(0x1ec)][_0x26236f(0x21d)](_0x491113=>_0x491113[_0x26236f(0x33c)]()),this['_entities'][_0x26236f(0x3bd)]();}['getCollabEntity'](_0x3ffa96){var _0x13705a=_0x2ece9e,_0x106bcb;return(_0x106bcb=this[_0x13705a(0x1ec)][_0x13705a(0x348)](_0x3ffa96))!=null?_0x106bcb:null;}['getCollabEntity$'](_0x11b3f0){var _0x422fc9=_0x2ece9e;const _0x5b2214=this[_0x422fc9(0x171)](_0x11b3f0);return _0x5b2214?_0xed8855(_0x5b2214):this[_0x422fc9(0x27c)][_0x422fc9(0x3b4)](_0x14315c(_0x1b2632=>_0x1b2632[_0x422fc9(0x1a7)]===_0x11b3f0));}['readyForCollab'](_0x20145f){var _0xf0d4b1=_0x2ece9e;return _0x240de4(this[_0xf0d4b1(0x24f)](_0x20145f)['pipe'](_0x1b1f63(()=>{})));}[_0x2ece9e(0x11d)](){var _0xf5c68e=_0x2ece9e;this[_0xf5c68e(0x2d3)][_0xf5c68e(0x24d)](_0x1e7470[_0xf5c68e(0x10c)])[_0xf5c68e(0x3b4)](_0x3567f0(this[_0xf5c68e(0x146)]),_0x129856(0x10))[_0xf5c68e(0x13f)](async _0x11ca1b=>{var _0x23041f=_0xf5c68e;const _0x325429=_0x11ca1b[_0x23041f(0x2d0)](),_0x294537=await this['_startCollaboration'](_0x325429,Z[_0x23041f(0x10c)]);this[_0x23041f(0x1ec)]['set'](_0x325429,_0x294537);}),this[_0xf5c68e(0x2d3)][_0xf5c68e(0x24d)](_0x1e7470[_0xf5c68e(0x18e)])[_0xf5c68e(0x3b4)](_0x3567f0(this[_0xf5c68e(0x146)]),_0x129856(0x10))['pipe'](_0x14315c(_0xf8203a=>!_0xf8203a[_0xf5c68e(0x2d0)]()[_0xf5c68e(0x1f1)]('__')))['subscribe'](async _0x324ba1=>{var _0x1f3f8d=_0xf5c68e;const _0x557bc0=_0x324ba1[_0x1f3f8d(0x2d0)](),_0x103112=await this[_0x1f3f8d(0x260)](_0x557bc0,Z[_0x1f3f8d(0x18e)]);this['_entities'][_0x1f3f8d(0x2c9)](_0x557bc0,_0x103112);}),_0x33691d(this['_univerInstanceService'][_0xf5c68e(0x32b)](_0x1e7470[_0xf5c68e(0x10c)]),this[_0xf5c68e(0x2d3)][_0xf5c68e(0x32b)](_0x1e7470['UNIVER_DOC']))['pipe'](_0x3567f0(this[_0xf5c68e(0x146)]))['subscribe'](_0x2d2b46=>{var _0x2ff231=_0xf5c68e;const _0x2ac8c2=_0x2d2b46[_0x2ff231(0x2d0)](),_0x14f05f=this[_0x2ff231(0x1ec)][_0x2ff231(0x348)](_0x2ac8c2);_0x14f05f&&(_0x14f05f['dispose'](),this['_entities']['delete'](_0x2ac8c2));});}async[_0x2ece9e(0x260)](_0x307b80,_0x3e0cbd){var _0x5a47c1=_0x2ece9e;const _0xba82f6=await this[_0x5a47c1(0x192)]['requireSession'](_0x307b80),_0x26d4ff=this['_injector'][_0x5a47c1(0xf3)](this[_0x5a47c1(0x286)](_0x3e0cbd),_0x307b80,_0x3e0cbd,_0xba82f6);return await _0x26d4ff[_0x5a47c1(0x292)](),this['_entityInit$']['next'](_0x26d4ff),_0x26d4ff;}[_0x2ece9e(0x286)](_0x35950b){var _0x3b9518=_0x2ece9e;switch(_0x35950b){case Z[_0x3b9518(0x18e)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x3b9518(0x319)+_0x35950b);}}};nt=en([Be(0x0,_0x5d0e22(_0x4ddb89)),Be(0x1,_0x5d0e22(Le)),Be(0x2,_0x58661f),Be(0x3,_0x445269)],nt);var tn=Object[_0x2ece9e(0x10f)],sn=(_0x5b37ba,_0x1edd56,_0x5ebc20,_0x336141)=>{var _0x2ea88c=_0x2ece9e;for(var _0x194f4f=_0x336141>0x1?void 0x0:_0x336141?tn(_0x1edd56,_0x5ebc20):_0x1edd56,_0x1fa2f5=_0x5b37ba[_0x2ea88c(0x287)]-0x1,_0x13575a;_0x1fa2f5>=0x0;_0x1fa2f5--)(_0x13575a=_0x5b37ba[_0x1fa2f5])&&(_0x194f4f=_0x13575a(_0x194f4f)||_0x194f4f);return _0x194f4f;},Yt=(_0x33a11a,_0x5ea8d2)=>(_0x309a33,_0x22f41c)=>_0x5ea8d2(_0x309a33,_0x22f41c,_0x33a11a);const nn='DEFAULT_FILE_NAME',rn=_0x2ece9e(0x21e);let It=class extends _0xccab29{constructor(_0x3fbb3a,_0x9a72c4){var _0x204c88=_0x2ece9e;super(),this[_0x204c88(0x2d3)]=_0x3fbb3a,this[_0x204c88(0x1bf)]=_0x9a72c4,this[_0x204c88(0x11d)]();}[_0x2ece9e(0x11d)](){var _0x2be5fc=_0x2ece9e;this[_0x2be5fc(0x2b8)](this[_0x2be5fc(0x2d3)][_0x2be5fc(0x1ff)][_0x2be5fc(0x13f)](()=>{var _0x4f0d77=_0x2be5fc,_0x13d304;const _0x432028=this[_0x4f0d77(0x2d3)][_0x4f0d77(0x2fc)]();let _0x224fe7=(_0x13d304=this[_0x4f0d77(0x1bf)][_0x4f0d77(0x168)](nn))!=null?_0x13d304:rn;_0x432028 instanceof _0x296902&&(_0x224fe7=_0x432028[_0x4f0d77(0x195)]),document[_0x4f0d77(0x161)]=_0x224fe7;}));}};It=sn([Yt(0x0,_0x445269),Yt(0x1,_0x58661f)],It);var an=Object[_0x2ece9e(0x10f)],on=(_0x284f57,_0x22bb13,_0x4ddeeb,_0x9793ee)=>{for(var _0x5a7c07=_0x9793ee>0x1?void 0x0:_0x9793ee?an(_0x22bb13,_0x4ddeeb):_0x22bb13,_0x248b6d=_0x284f57['length']-0x1,_0x2ecc7b;_0x248b6d>=0x0;_0x248b6d--)(_0x2ecc7b=_0x284f57[_0x248b6d])&&(_0x5a7c07=_0x2ecc7b(_0x5a7c07)||_0x5a7c07);return _0x5a7c07;},dt=(_0x516b45,_0x1fb28e)=>(_0x473b02,_0x17bb7e)=>_0x1fb28e(_0x473b02,_0x17bb7e,_0x516b45);let rt=class{constructor(_0x331b95,_0x3723e3,_0x509567){var _0x1421b7=_0x2ece9e;this[_0x1421b7(0x1bf)]=_0x331b95,this[_0x1421b7(0x3b8)]=_0x3723e3,this[_0x1421b7(0x2e3)]=_0x509567,this[_0x1421b7(0x292)]();}[_0x2ece9e(0x292)](){var _0x16af62=_0x2ece9e;this[_0x16af62(0x3b8)][_0x16af62(0x37a)]({'priority':0x1,'interceptor':(_0x402cd9,_0x30c232)=>_0x30c232(_0x402cd9)['pipe'](_0x297269(async _0x740e9a=>{var _0x30e84d=_0x16af62;const _0xb13083=_0x740e9a;if(_0xb13083[_0x30e84d(0x174)]===0x191){if(typeof window>'u')throw new Error(_0x30e84d(0x21b));if(window[_0x30e84d(0x2f7)](this['localeService']['t'](_0x30e84d(0x179)))){const _0x3c2a24=window['encodeURIComponent'](window[_0x30e84d(0x164)]['href']);window[_0x30e84d(0x164)]['href']=this[_0x30e84d(0x369)]()+_0x30e84d(0x2d2)+_0x3c2a24;}}return _0xb13083;}))});}[_0x2ece9e(0x369)](){var _0xa86e82=_0x2ece9e,_0x23a232,_0x27d004;const _0x217dd6=this[_0xa86e82(0x1bf)][_0xa86e82(0x168)](ys),_0x4fcf30=this[_0xa86e82(0x1bf)][_0xa86e82(0x168)](K);return(_0x27d004=(_0x23a232=_0x4fcf30==null?void 0x0:_0x4fcf30[_0xa86e82(0x309)])!=null?_0x23a232:_0x217dd6)!=null?_0x27d004:Ns;}};rt=on([dt(0x0,_0x58661f),dt(0x1,_0x5d0e22(_0x5a566d)),dt(0x2,_0x5d0e22(_0x5175b3))],rt);var cn=Object[_0x2ece9e(0x10f)],hn=(_0x13b0d9,_0x5c6bd0,_0x4948b5,_0x410c09)=>{var _0x55fbea=_0x2ece9e;for(var _0x4392e3=_0x410c09>0x1?void 0x0:_0x410c09?cn(_0x5c6bd0,_0x4948b5):_0x5c6bd0,_0x3f71fa=_0x13b0d9[_0x55fbea(0x287)]-0x1,_0xfde933;_0x3f71fa>=0x0;_0x3f71fa--)(_0xfde933=_0x13b0d9[_0x3f71fa])&&(_0x4392e3=_0xfde933(_0x4392e3)||_0x4392e3);return _0x4392e3;},Kt=(_0x1a5a3c,_0x4bfe56)=>(_0x11b808,_0x1c1e2e)=>_0x4bfe56(_0x11b808,_0x1c1e2e,_0x1a5a3c);const bi='AUTHZ_URL_KEY',_n=_0x2ece9e(0x305);let Tt=class extends _0xccab29{constructor(_0x1f5c12,_0x1860c5){var _0x416838=_0x2ece9e;super(),this[_0x416838(0x154)]=_0x1f5c12,this['_configService']=_0x1860c5,this['_initMergeInterceptor']();}[_0x2ece9e(0x325)](){var _0x3ed1ac=_0x2ece9e;const _0x542959=this;this[_0x3ed1ac(0x2b8)](this[_0x3ed1ac(0x154)][_0x3ed1ac(0x37a)]({'priority':0x3e7,'interceptor':_0x215c44({'isMatch'(_0x48fb63){var _0xf7c469=_0x3ed1ac,_0x1059a6;if(_0x48fb63[_0xf7c469(0xf9)]===_0xf7c469(0x3d2)&&((_0x1059a6=_0x48fb63[_0xf7c469(0x22e)])!=null&&_0x1059a6[_0xf7c469(0x2f5)])){const {objectID:_0x304617,objectType:_0x54c230}=_0x48fb63[_0xf7c469(0x22e)]['body']||{};if(!_0x304617||_0x54c230===void 0x0)return!0x1;const _0x2c617e=_0x542959[_0xf7c469(0x304)]()+'/'+_0x54c230+_0xf7c469(0x2af)+_0x304617+'/allowed';if(_0x48fb63[_0xf7c469(0x19c)]===_0x2c617e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x297392){var _0x5c5035=_0x3ed1ac,_0x30fdc9;return(_0x30fdc9=_0x297392[_0x5c5035(0x22e)])==null?void 0x0:_0x30fdc9['body'];},'mergeParamsToRequest'(_0x1f3680,_0xecd71e){var _0x1ad854=_0x3ed1ac;const _0x39a945=_0x542959[_0x1ad854(0x304)]()+'/-/object/-/batch_allowed',_0x3d44ec=_0x1f3680[_0x1ad854(0x2ca)]((_0x54f8ff,_0x5b8225)=>{var _0x58e741=_0x1ad854;const {unitID:_0xec8a8b,objectID:_0x3b9e21,objectType:_0x47b9f0,actions:_0x12896a}=_0x5b8225;return _0x54f8ff[_0xec8a8b]||(_0x54f8ff[_0xec8a8b]={}),_0x54f8ff[_0xec8a8b][_0x3b9e21]||(_0x54f8ff[_0xec8a8b][_0x3b9e21]={'objectID':_0x3b9e21,'objectType':_0x47b9f0,'actions':[]}),_0x54f8ff[_0xec8a8b][_0x3b9e21][_0x58e741(0x374)][_0x58e741(0x376)](..._0x12896a),_0x54f8ff;},{}),_0xf08ddb=[];for(const _0x5ec7fc in _0x3d44ec)for(const _0x17ad13 in _0x3d44ec[_0x5ec7fc]){const {actions:_0x4bd622,objectType:_0x37aadc}=_0x3d44ec[_0x5ec7fc][_0x17ad13],_0x3c612c=[...new Set(_0x4bd622)];_0xf08ddb[_0x1ad854(0x376)]({'unitID':_0x5ec7fc,'objectID':_0x17ad13,'objectType':_0x37aadc,'actions':_0x3c612c});}return new _0x4c8fe9(_0x1ad854(0x3d2),_0x39a945,{'headers':_0xecd71e[_0x1ad854(0x2ad)],'withCredentials':_0xecd71e[_0x1ad854(0x153)],'responseType':_0xecd71e[_0x1ad854(0x39d)],'body':{'requests':_0xf08ddb}});}},{'distributeResult'(_0x589943,_0xc114ae){var _0x15d70d=_0x3ed1ac;const {objectActions:_0x247306}=_0x589943;return _0xc114ae[_0x15d70d(0x128)](_0x33b0e4=>{var _0x2cb183=_0x15d70d;const {unitID:_0x36aaeb,objectID:_0x55663f,actions:_0x17b207}=_0x33b0e4,_0x4e348b=_0x247306[_0x2cb183(0x22a)](_0x5ef3ee=>_0x5ef3ee[_0x2cb183(0x1a7)]===_0x36aaeb&&_0x5ef3ee[_0x2cb183(0x3c5)]===_0x55663f),_0x4fbe2d=_0x17b207[_0x2cb183(0x128)](_0x42f536=>_0x4e348b==null?void 0x0:_0x4e348b[_0x2cb183(0x374)][_0x2cb183(0x22a)](_0x17d8cc=>_0x17d8cc[_0x2cb183(0x31e)]===_0x42f536))[_0x2cb183(0x107)](_0x4b2320=>!!_0x4b2320);return{'config':_0x33b0e4,'result':{'actions':_0x4fbe2d,'error':_0x589943[_0x2cb183(0x306)]}};});}})}));}[_0x2ece9e(0x304)](){var _0x5901f0=_0x2ece9e,_0x3f8645,_0x50c670;const _0x6e51c7=this[_0x5901f0(0x1bf)]['getConfig'](bi),_0x4ebe09=this[_0x5901f0(0x1bf)]['getConfig'](K);return(_0x50c670=(_0x3f8645=_0x4ebe09==null?void 0x0:_0x4ebe09[_0x5901f0(0x157)])!=null?_0x3f8645:_0x6e51c7)!=null?_0x50c670:_n;}async[_0x2ece9e(0x1f0)](_0x46c985){var _0x5ed073=_0x2ece9e;const _0x2f30b5=this[_0x5ed073(0x304)]()+'/'+_0x46c985[_0x5ed073(0x2f3)]+_0x5ed073(0x397);return(await this[_0x5ed073(0x154)][_0x5ed073(0x393)](_0x2f30b5,{'body':_0x46c985}))[_0x5ed073(0x2f5)][_0x5ed073(0x3c5)]||'';}async[_0x2ece9e(0x125)](_0x444ac1){var _0x12471a=_0x2ece9e;const _0x17b60d=this[_0x12471a(0x304)]()+'/-/object/list';return(await this[_0x12471a(0x154)]['post'](_0x17b60d,{'body':_0x444ac1}))[_0x12471a(0x2f5)][_0x12471a(0x2ff)];}async[_0x2ece9e(0x2ed)](_0x5ecde){var _0x103fc1=_0x2ece9e,_0x4c1a4b,_0x5dc042;const _0x43dd86=this[_0x103fc1(0x304)]()+'/'+_0x5ecde[_0x103fc1(0x2f3)]+_0x103fc1(0x2af)+_0x5ecde[_0x103fc1(0x3c5)],_0x2de2b0=await this['_HTTPService'][_0x103fc1(0x302)](_0x43dd86,{'body':_0x5ecde});if(((_0x5dc042=(_0x4c1a4b=_0x2de2b0==null?void 0x0:_0x2de2b0[_0x103fc1(0x2f5)])==null?void 0x0:_0x4c1a4b['error'])==null?void 0x0:_0x5dc042[_0x103fc1(0x110)])!==0x1)throw new Error(_0x103fc1(0x2b4));}async[_0x2ece9e(0x1ae)](_0xb7c889){var _0xdbddfd=_0x2ece9e;const _0x5f46a4=this[_0xdbddfd(0x304)]()+'/'+_0xb7c889[_0xdbddfd(0x2f3)]+_0xdbddfd(0x2af)+_0xb7c889[_0xdbddfd(0x3c5)]+_0xdbddfd(0x39f);return(await this[_0xdbddfd(0x154)][_0xdbddfd(0x393)](_0x5f46a4,{'body':_0xb7c889}))[_0xdbddfd(0x2f5)][_0xdbddfd(0x374)];}async[_0x2ece9e(0x2a2)](_0x30ae67){var _0x4eaaa1=_0x2ece9e;const _0x2a69bb=this['_getAPIPrefixPath']()+_0x4eaaa1(0x235);return(await this[_0x4eaaa1(0x154)][_0x4eaaa1(0x393)](_0x2a69bb,{'body':{'requests':_0x30ae67}}))[_0x4eaaa1(0x2f5)]['objectActions'];}async['listRoles'](_0x43d3be){var _0x2c78e2=_0x2ece9e;const _0x178c01=this[_0x2c78e2(0x304)]()+'/'+_0x43d3be[_0x2c78e2(0x2f3)]+_0x2c78e2(0x255),_0x4e8e34=await this['_HTTPService']['post'](_0x178c01,{'body':_0x43d3be});return{'roles':_0x4e8e34[_0x2c78e2(0x2f5)][_0x2c78e2(0x1e5)],'actions':_0x4e8e34['body'][_0x2c78e2(0x374)]};}async[_0x2ece9e(0x19b)](_0x4d13e0){var _0x7d4be3=_0x2ece9e;const _0xf286f2=this[_0x7d4be3(0x304)]()+_0x7d4be3(0x320);await this[_0x7d4be3(0x154)][_0x7d4be3(0x341)](_0xf286f2,{'params':{'collaboratorID':_0x4d13e0[_0x7d4be3(0x1b9)],'objectID':_0x4d13e0[_0x7d4be3(0x3c5)],'unitID':_0x4d13e0['unitID']}});}async['updateCollaborator'](_0x41feff){var _0x54aa45=_0x2ece9e;const _0x407fcd=this['_getAPIPrefixPath']()+_0x54aa45(0x320);await this[_0x54aa45(0x154)][_0x54aa45(0x237)](_0x407fcd,{'body':_0x41feff});}async[_0x2ece9e(0x28b)](_0x24eedf){var _0x467e43=_0x2ece9e;const _0x1c334b=this['_getAPIPrefixPath']()+_0x467e43(0x320);await this['_HTTPService']['post'](_0x1c334b,{'body':_0x24eedf});}async[_0x2ece9e(0x2e8)](_0x540b1f){var _0x3d36de=_0x2ece9e;const _0x4167a6=this[_0x3d36de(0x304)]()+_0x3d36de(0x320);return(await this[_0x3d36de(0x154)][_0x3d36de(0x348)](_0x4167a6,{'params':{'objectID':_0x540b1f[_0x3d36de(0x3c5)],'unitID':_0x540b1f[_0x3d36de(0x1a7)]}}))['body'][_0x3d36de(0x106)];}async[_0x2ece9e(0x383)](_0xc3cd77){var _0x6587f7=_0x2ece9e;const _0x99c2e6=this[_0x6587f7(0x304)]()+_0x6587f7(0x320);await this[_0x6587f7(0x154)][_0x6587f7(0x302)](_0x99c2e6,{'body':_0xc3cd77});}};Tt=hn([Kt(0x0,_0x5d0e22(_0x5a566d)),Kt(0x1,_0x5d0e22(_0x58661f))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x572ab5){var _0x41bc91=_0x2ece9e;return _0x572ab5&&_0x572ab5[_0x41bc91(0x366)]&&Object[_0x41bc91(0x3cb)][_0x41bc91(0x1ea)][_0x41bc91(0x267)](_0x572ab5,_0x41bc91(0x136))?_0x572ab5[_0x41bc91(0x136)]:_0x572ab5;}var Ve={'exports':{}};function ln(_0x23febf){var _0x189bcb=_0x2ece9e;throw new Error(_0x189bcb(0x2e1)+_0x23febf+_0x189bcb(0x3bb));}var Ge={'exports':{}},un=Ge[_0x2ece9e(0x19d)],qt;function te(){var _0x507901=_0x2ece9e;return qt||(qt=0x1,function(_0x3baea2,_0x2e511f){(function(_0xbb1e18,_0x485c12){var _0x822b4e=_0x5654;_0x3baea2[_0x822b4e(0x19d)]=_0x485c12();}(un,function(){var _0x145d31=_0x145d31||function(_0x433f15,_0x57e06a){var _0x3c91bf=_0x5654,_0x106883;if(typeof window<'u'&&window[_0x3c91bf(0x1e9)]&&(_0x106883=window[_0x3c91bf(0x1e9)]),typeof self<'u'&&self[_0x3c91bf(0x1e9)]&&(_0x106883=self[_0x3c91bf(0x1e9)]),typeof globalThis<'u'&&globalThis[_0x3c91bf(0x1e9)]&&(_0x106883=globalThis[_0x3c91bf(0x1e9)]),!_0x106883&&typeof window<'u'&&window[_0x3c91bf(0x349)]&&(_0x106883=window[_0x3c91bf(0x349)]),!_0x106883&&typeof ft<'u'&&ft[_0x3c91bf(0x1e9)]&&(_0x106883=ft[_0x3c91bf(0x1e9)]),!_0x106883&&typeof ln==_0x3c91bf(0xf2))try{_0x106883=require('crypto');}catch{}var _0x159126=function(){var _0x24855e=_0x3c91bf;if(_0x106883){if(typeof _0x106883[_0x24855e(0x2cc)]=='function')try{return _0x106883[_0x24855e(0x2cc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x106883[_0x24855e(0x3a3)]=='function')try{return _0x106883[_0x24855e(0x3a3)](0x4)[_0x24855e(0x148)]();}catch{}}throw new Error(_0x24855e(0x328));},_0x16aae6=Object['create']||(function(){function _0x1b61c6(){}return function(_0x500703){var _0x2a54fd=_0x5654,_0x5b26b8;return _0x1b61c6[_0x2a54fd(0x3cb)]=_0x500703,_0x5b26b8=new _0x1b61c6(),_0x1b61c6[_0x2a54fd(0x3cb)]=null,_0x5b26b8;};}()),_0x215416={},_0x583440=_0x215416[_0x3c91bf(0x2c0)]={},_0x5ca802=_0x583440[_0x3c91bf(0x2e0)]=(function(){return{'extend':function(_0x529a49){var _0x17e705=_0x5654,_0x2c9001=_0x16aae6(this);return _0x529a49&&_0x2c9001[_0x17e705(0x210)](_0x529a49),(!_0x2c9001[_0x17e705(0x1ea)]('init')||this[_0x17e705(0x292)]===_0x2c9001[_0x17e705(0x292)])&&(_0x2c9001['init']=function(){var _0x29d464=_0x17e705;_0x2c9001[_0x29d464(0x18c)][_0x29d464(0x292)]['apply'](this,arguments);}),_0x2c9001[_0x17e705(0x292)][_0x17e705(0x3cb)]=_0x2c9001,_0x2c9001[_0x17e705(0x18c)]=this,_0x2c9001;},'create':function(){var _0x38291d=_0x5654,_0x6659cc=this[_0x38291d(0x134)]();return _0x6659cc[_0x38291d(0x292)][_0x38291d(0x36f)](_0x6659cc,arguments),_0x6659cc;},'init':function(){},'mixIn':function(_0x1c8338){var _0x19934c=_0x5654;for(var _0x1e0fe5 in _0x1c8338)_0x1c8338[_0x19934c(0x1ea)](_0x1e0fe5)&&(this[_0x1e0fe5]=_0x1c8338[_0x1e0fe5]);_0x1c8338['hasOwnProperty'](_0x19934c(0x2a7))&&(this[_0x19934c(0x2a7)]=_0x1c8338[_0x19934c(0x2a7)]);},'clone':function(){var _0xeffb2b=_0x5654;return this['init'][_0xeffb2b(0x3cb)][_0xeffb2b(0x134)](this);}};}()),_0x2ef352=_0x583440[_0x3c91bf(0x2ac)]=_0x5ca802[_0x3c91bf(0x134)]({'init':function(_0x19eca5,_0x5a9ab5){var _0x3f3c2e=_0x3c91bf;_0x19eca5=this[_0x3f3c2e(0x26d)]=_0x19eca5||[],_0x5a9ab5!=_0x57e06a?this[_0x3f3c2e(0x37b)]=_0x5a9ab5:this[_0x3f3c2e(0x37b)]=_0x19eca5[_0x3f3c2e(0x287)]*0x4;},'toString':function(_0x5785f5){var _0x3f732a=_0x3c91bf;return(_0x5785f5||_0x21448d)[_0x3f732a(0x241)](this);},'concat':function(_0x3f8ec3){var _0x1e3088=_0x3c91bf,_0x12e0f2=this[_0x1e3088(0x26d)],_0x85e30e=_0x3f8ec3[_0x1e3088(0x26d)],_0x1d8206=this[_0x1e3088(0x37b)],_0x5310a3=_0x3f8ec3[_0x1e3088(0x37b)];if(this['clamp'](),_0x1d8206%0x4)for(var _0x15ee78=0x0;_0x15ee78<_0x5310a3;_0x15ee78++){var _0x2295ce=_0x85e30e[_0x15ee78>>>0x2]>>>0x18-_0x15ee78%0x4*0x8&0xff;_0x12e0f2[_0x1d8206+_0x15ee78>>>0x2]|=_0x2295ce<<0x18-(_0x1d8206+_0x15ee78)%0x4*0x8;}else{for(var _0x209ea7=0x0;_0x209ea7<_0x5310a3;_0x209ea7+=0x4)_0x12e0f2[_0x1d8206+_0x209ea7>>>0x2]=_0x85e30e[_0x209ea7>>>0x2];}return this['sigBytes']+=_0x5310a3,this;},'clamp':function(){var _0x2c6f93=this['words'],_0x4f0a17=this['sigBytes'];_0x2c6f93[_0x4f0a17>>>0x2]&=0xffffffff<<0x20-_0x4f0a17%0x4*0x8,_0x2c6f93['length']=_0x433f15['ceil'](_0x4f0a17/0x4);},'clone':function(){var _0x39b606=_0x3c91bf,_0x1f385a=_0x5ca802[_0x39b606(0x1d1)][_0x39b606(0x267)](this);return _0x1f385a[_0x39b606(0x26d)]=this[_0x39b606(0x26d)]['slice'](0x0),_0x1f385a;},'random':function(_0x1529a1){var _0x3edf70=_0x3c91bf;for(var _0x6d110f=[],_0x15c45a=0x0;_0x15c45a<_0x1529a1;_0x15c45a+=0x4)_0x6d110f['push'](_0x159126());return new _0x2ef352[(_0x3edf70(0x292))](_0x6d110f,_0x1529a1);}}),_0xc91f3b=_0x215416[_0x3c91bf(0x17d)]={},_0x21448d=_0xc91f3b[_0x3c91bf(0x34a)]={'stringify':function(_0x12bf2e){var _0x492073=_0x3c91bf;for(var _0x402421=_0x12bf2e[_0x492073(0x26d)],_0x5e795a=_0x12bf2e[_0x492073(0x37b)],_0xadd52e=[],_0x4024a9=0x0;_0x4024a9<_0x5e795a;_0x4024a9++){var _0x3b0efd=_0x402421[_0x4024a9>>>0x2]>>>0x18-_0x4024a9%0x4*0x8&0xff;_0xadd52e[_0x492073(0x376)]((_0x3b0efd>>>0x4)['toString'](0x10)),_0xadd52e[_0x492073(0x376)]((_0x3b0efd&0xf)[_0x492073(0x2a7)](0x10));}return _0xadd52e[_0x492073(0x189)]('');},'parse':function(_0x4f090f){var _0x3108c1=_0x3c91bf;for(var _0x2bf92d=_0x4f090f[_0x3108c1(0x287)],_0x221bcd=[],_0x32b5ec=0x0;_0x32b5ec<_0x2bf92d;_0x32b5ec+=0x2)_0x221bcd[_0x32b5ec>>>0x3]|=parseInt(_0x4f090f[_0x3108c1(0x3ad)](_0x32b5ec,0x2),0x10)<<0x18-_0x32b5ec%0x8*0x4;return new _0x2ef352[(_0x3108c1(0x292))](_0x221bcd,_0x2bf92d/0x2);}},_0x3ad1d3=_0xc91f3b['Latin1']={'stringify':function(_0x21ccd6){var _0x522698=_0x3c91bf;for(var _0x398248=_0x21ccd6[_0x522698(0x26d)],_0x1a6548=_0x21ccd6[_0x522698(0x37b)],_0x36b663=[],_0x21dc5b=0x0;_0x21dc5b<_0x1a6548;_0x21dc5b++){var _0x5bf7b4=_0x398248[_0x21dc5b>>>0x2]>>>0x18-_0x21dc5b%0x4*0x8&0xff;_0x36b663[_0x522698(0x376)](String[_0x522698(0x30c)](_0x5bf7b4));}return _0x36b663['join']('');},'parse':function(_0x39ecba){var _0x547b90=_0x3c91bf;for(var _0x459272=_0x39ecba[_0x547b90(0x287)],_0x5f2870=[],_0x2773bd=0x0;_0x2773bd<_0x459272;_0x2773bd++)_0x5f2870[_0x2773bd>>>0x2]|=(_0x39ecba[_0x547b90(0x1f2)](_0x2773bd)&0xff)<<0x18-_0x2773bd%0x4*0x8;return new _0x2ef352['init'](_0x5f2870,_0x459272);}},_0x347c21=_0xc91f3b['Utf8']={'stringify':function(_0x21c913){try{return decodeURIComponent(escape(_0x3ad1d3['stringify'](_0x21c913)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xd21ee1){var _0x220581=_0x3c91bf;return _0x3ad1d3[_0x220581(0x39b)](unescape(encodeURIComponent(_0xd21ee1)));}},_0x2727cf=_0x583440[_0x3c91bf(0x289)]=_0x5ca802['extend']({'reset':function(){var _0x8b68d0=_0x3c91bf;this['_data']=new _0x2ef352[(_0x8b68d0(0x292))](),this[_0x8b68d0(0x30b)]=0x0;},'_append':function(_0x38f03a){var _0x593594=_0x3c91bf;typeof _0x38f03a==_0x593594(0x365)&&(_0x38f03a=_0x347c21[_0x593594(0x39b)](_0x38f03a)),this[_0x593594(0x354)][_0x593594(0x3b7)](_0x38f03a),this[_0x593594(0x30b)]+=_0x38f03a['sigBytes'];},'_process':function(_0x463505){var _0x1bd1f8=_0x3c91bf,_0x2ed03d,_0x497a8a=this[_0x1bd1f8(0x354)],_0x2ea9fd=_0x497a8a[_0x1bd1f8(0x26d)],_0x589fbe=_0x497a8a[_0x1bd1f8(0x37b)],_0x3253b6=this[_0x1bd1f8(0x2d9)],_0x2cd948=_0x3253b6*0x4,_0x2a4e2f=_0x589fbe/_0x2cd948;_0x463505?_0x2a4e2f=_0x433f15[_0x1bd1f8(0x213)](_0x2a4e2f):_0x2a4e2f=_0x433f15['max']((_0x2a4e2f|0x0)-this[_0x1bd1f8(0x2e6)],0x0);var _0x26fff3=_0x2a4e2f*_0x3253b6,_0x70d6d8=_0x433f15[_0x1bd1f8(0x2fe)](_0x26fff3*0x4,_0x589fbe);if(_0x26fff3){for(var _0x2f03a5=0x0;_0x2f03a5<_0x26fff3;_0x2f03a5+=_0x3253b6)this[_0x1bd1f8(0x2c5)](_0x2ea9fd,_0x2f03a5);_0x2ed03d=_0x2ea9fd[_0x1bd1f8(0x3ae)](0x0,_0x26fff3),_0x497a8a['sigBytes']-=_0x70d6d8;}return new _0x2ef352[(_0x1bd1f8(0x292))](_0x2ed03d,_0x70d6d8);},'clone':function(){var _0x23aa81=_0x3c91bf,_0x701aef=_0x5ca802['clone']['call'](this);return _0x701aef[_0x23aa81(0x354)]=this[_0x23aa81(0x354)]['clone'](),_0x701aef;},'_minBufferSize':0x0});_0x583440[_0x3c91bf(0x1d6)]=_0x2727cf[_0x3c91bf(0x134)]({'cfg':_0x5ca802['extend'](),'init':function(_0x4e63a5){var _0x5d5ff4=_0x3c91bf;this[_0x5d5ff4(0x34d)]=this['cfg']['extend'](_0x4e63a5),this['reset']();},'reset':function(){var _0x31a478=_0x3c91bf;_0x2727cf[_0x31a478(0x2ef)][_0x31a478(0x267)](this),this[_0x31a478(0x327)]();},'update':function(_0x4fba0f){var _0x38738f=_0x3c91bf;return this[_0x38738f(0x34e)](_0x4fba0f),this[_0x38738f(0x198)](),this;},'finalize':function(_0x15bc2c){var _0x3832a2=_0x3c91bf;_0x15bc2c&&this[_0x3832a2(0x34e)](_0x15bc2c);var _0x465ddc=this[_0x3832a2(0x2f6)]();return _0x465ddc;},'blockSize':0x10,'_createHelper':function(_0x336d24){return function(_0x3a151f,_0x3bfc53){var _0x279997=_0x5654;return new _0x336d24[(_0x279997(0x292))](_0x3bfc53)['finalize'](_0x3a151f);};},'_createHmacHelper':function(_0x407131){return function(_0x5f13c1,_0x24b040){var _0x3382d0=_0x5654;return new _0x8bf11d[(_0x3382d0(0x362))][(_0x3382d0(0x292))](_0x407131,_0x24b040)[_0x3382d0(0x15f)](_0x5f13c1);};}});var _0x8bf11d=_0x215416['algo']={};return _0x215416;}(Math);return _0x145d31;}));}(Ge)),Ge[_0x507901(0x19d)];}var We={'exports':{}},dn=We[_0x2ece9e(0x19d)],zt;function Oi(){var _0x15bfa2=_0x2ece9e;return zt||(zt=0x1,function(_0x3f91ee,_0xda3b9){(function(_0x2ffa1e,_0x3d4297){_0x3f91ee['exports']=_0x3d4297(te());}(dn,function(_0x4adc90){var _0x57396b=_0x5654;return(function(){var _0x5e6c16=_0x5654,_0x4db25b=_0x4adc90,_0x178728=_0x4db25b[_0x5e6c16(0x2c0)],_0x48498a=_0x178728[_0x5e6c16(0x2ac)],_0x3e6749=_0x4db25b['enc'];_0x3e6749['Base64']={'stringify':function(_0x2b92e9){var _0x4910d4=_0x5e6c16,_0x391d09=_0x2b92e9[_0x4910d4(0x26d)],_0x264e83=_0x2b92e9[_0x4910d4(0x37b)],_0x2f2b68=this['_map'];_0x2b92e9['clamp']();for(var _0x4209b7=[],_0x1c981e=0x0;_0x1c981e<_0x264e83;_0x1c981e+=0x3)for(var _0x371118=_0x391d09[_0x1c981e>>>0x2]>>>0x18-_0x1c981e%0x4*0x8&0xff,_0x2873ea=_0x391d09[_0x1c981e+0x1>>>0x2]>>>0x18-(_0x1c981e+0x1)%0x4*0x8&0xff,_0x44b835=_0x391d09[_0x1c981e+0x2>>>0x2]>>>0x18-(_0x1c981e+0x2)%0x4*0x8&0xff,_0x405294=_0x371118<<0x10|_0x2873ea<<0x8|_0x44b835,_0x191081=0x0;_0x191081<0x4&&_0x1c981e+_0x191081*0.75<_0x264e83;_0x191081++)_0x4209b7[_0x4910d4(0x376)](_0x2f2b68[_0x4910d4(0x2aa)](_0x405294>>>0x6*(0x3-_0x191081)&0x3f));var _0x190334=_0x2f2b68[_0x4910d4(0x2aa)](0x40);if(_0x190334){for(;_0x4209b7['length']%0x4;)_0x4209b7[_0x4910d4(0x376)](_0x190334);}return _0x4209b7[_0x4910d4(0x189)]('');},'parse':function(_0x502145){var _0x1eb22f=_0x5e6c16,_0x525309=_0x502145[_0x1eb22f(0x287)],_0x15623d=this['_map'],_0x642249=this[_0x1eb22f(0x1bc)];if(!_0x642249){_0x642249=this[_0x1eb22f(0x1bc)]=[];for(var _0x245a56=0x0;_0x245a56<_0x15623d[_0x1eb22f(0x287)];_0x245a56++)_0x642249[_0x15623d[_0x1eb22f(0x1f2)](_0x245a56)]=_0x245a56;}var _0x23eb91=_0x15623d['charAt'](0x40);if(_0x23eb91){var _0x65dbb1=_0x502145[_0x1eb22f(0x32c)](_0x23eb91);_0x65dbb1!==-0x1&&(_0x525309=_0x65dbb1);}return _0x3aeb90(_0x502145,_0x525309,_0x642249);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3aeb90(_0x3fb5c0,_0x3c0782,_0x33b30d){var _0x8074d=_0x5e6c16;for(var _0x1448a0=[],_0x19a177=0x0,_0x3c4460=0x0;_0x3c4460<_0x3c0782;_0x3c4460++)if(_0x3c4460%0x4){var _0x5f19c1=_0x33b30d[_0x3fb5c0[_0x8074d(0x1f2)](_0x3c4460-0x1)]<<_0x3c4460%0x4*0x2,_0x47a855=_0x33b30d[_0x3fb5c0[_0x8074d(0x1f2)](_0x3c4460)]>>>0x6-_0x3c4460%0x4*0x2,_0x4851f3=_0x5f19c1|_0x47a855;_0x1448a0[_0x19a177>>>0x2]|=_0x4851f3<<0x18-_0x19a177%0x4*0x8,_0x19a177++;}return _0x48498a['create'](_0x1448a0,_0x19a177);}}()),_0x4adc90[_0x57396b(0x17d)]['Base64'];}));}(We)),We[_0x15bfa2(0x19d)];}var Ye={'exports':{}},fn=Ye[_0x2ece9e(0x19d)],Jt;function vn(){var _0x322d81=_0x2ece9e;return Jt||(Jt=0x1,function(_0x38a5f4,_0x413639){(function(_0x529226,_0x88f942){var _0x10ec06=_0x5654;_0x38a5f4[_0x10ec06(0x19d)]=_0x88f942(te());}(fn,function(_0x34c54f){return function(_0x5c6945){var _0x317e42=_0x5654,_0x3ca651=_0x34c54f,_0x3a9ccc=_0x3ca651['lib'],_0x21224b=_0x3a9ccc[_0x317e42(0x2ac)],_0x51f3c9=_0x3a9ccc['Hasher'],_0x41afa3=_0x3ca651['algo'],_0x115b57=[];(function(){var _0x26df09=_0x317e42;for(var _0x4fad2b=0x0;_0x4fad2b<0x40;_0x4fad2b++)_0x115b57[_0x4fad2b]=_0x5c6945[_0x26df09(0x1ad)](_0x5c6945[_0x26df09(0x24b)](_0x4fad2b+0x1))*0x100000000|0x0;}());var _0x244b30=_0x41afa3[_0x317e42(0x1fd)]=_0x51f3c9[_0x317e42(0x134)]({'_doReset':function(){var _0x37cde5=_0x317e42;this[_0x37cde5(0x24a)]=new _0x21224b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x171b29,_0x169c34){var _0x35b1a1=_0x317e42;for(var _0xb51183=0x0;_0xb51183<0x10;_0xb51183++){var _0x3d51a1=_0x169c34+_0xb51183,_0x29c094=_0x171b29[_0x3d51a1];_0x171b29[_0x3d51a1]=(_0x29c094<<0x8|_0x29c094>>>0x18)&0xff00ff|(_0x29c094<<0x18|_0x29c094>>>0x8)&0xff00ff00;}var _0x5cbcca=this['_hash'][_0x35b1a1(0x26d)],_0x1c4fb5=_0x171b29[_0x169c34+0x0],_0xcb848d=_0x171b29[_0x169c34+0x1],_0x2ec752=_0x171b29[_0x169c34+0x2],_0x1b6c77=_0x171b29[_0x169c34+0x3],_0x287567=_0x171b29[_0x169c34+0x4],_0x1407da=_0x171b29[_0x169c34+0x5],_0x54640a=_0x171b29[_0x169c34+0x6],_0x3ef94e=_0x171b29[_0x169c34+0x7],_0x531dcf=_0x171b29[_0x169c34+0x8],_0x42f1c0=_0x171b29[_0x169c34+0x9],_0x23a949=_0x171b29[_0x169c34+0xa],_0x829df1=_0x171b29[_0x169c34+0xb],_0x3055bb=_0x171b29[_0x169c34+0xc],_0x497c10=_0x171b29[_0x169c34+0xd],_0x49b903=_0x171b29[_0x169c34+0xe],_0x21957a=_0x171b29[_0x169c34+0xf],_0x5421d0=_0x5cbcca[0x0],_0x18f2b6=_0x5cbcca[0x1],_0xdd90ec=_0x5cbcca[0x2],_0x1225a1=_0x5cbcca[0x3];_0x5421d0=_0x16ba6b(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x1c4fb5,0x7,_0x115b57[0x0]),_0x1225a1=_0x16ba6b(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0xcb848d,0xc,_0x115b57[0x1]),_0xdd90ec=_0x16ba6b(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x2ec752,0x11,_0x115b57[0x2]),_0x18f2b6=_0x16ba6b(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x1b6c77,0x16,_0x115b57[0x3]),_0x5421d0=_0x16ba6b(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x287567,0x7,_0x115b57[0x4]),_0x1225a1=_0x16ba6b(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1407da,0xc,_0x115b57[0x5]),_0xdd90ec=_0x16ba6b(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x54640a,0x11,_0x115b57[0x6]),_0x18f2b6=_0x16ba6b(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x3ef94e,0x16,_0x115b57[0x7]),_0x5421d0=_0x16ba6b(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x531dcf,0x7,_0x115b57[0x8]),_0x1225a1=_0x16ba6b(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x42f1c0,0xc,_0x115b57[0x9]),_0xdd90ec=_0x16ba6b(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x23a949,0x11,_0x115b57[0xa]),_0x18f2b6=_0x16ba6b(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x829df1,0x16,_0x115b57[0xb]),_0x5421d0=_0x16ba6b(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x3055bb,0x7,_0x115b57[0xc]),_0x1225a1=_0x16ba6b(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x497c10,0xc,_0x115b57[0xd]),_0xdd90ec=_0x16ba6b(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x49b903,0x11,_0x115b57[0xe]),_0x18f2b6=_0x16ba6b(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x21957a,0x16,_0x115b57[0xf]),_0x5421d0=_0x18c36c(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0xcb848d,0x5,_0x115b57[0x10]),_0x1225a1=_0x18c36c(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x54640a,0x9,_0x115b57[0x11]),_0xdd90ec=_0x18c36c(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x829df1,0xe,_0x115b57[0x12]),_0x18f2b6=_0x18c36c(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x1c4fb5,0x14,_0x115b57[0x13]),_0x5421d0=_0x18c36c(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x1407da,0x5,_0x115b57[0x14]),_0x1225a1=_0x18c36c(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x23a949,0x9,_0x115b57[0x15]),_0xdd90ec=_0x18c36c(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x21957a,0xe,_0x115b57[0x16]),_0x18f2b6=_0x18c36c(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x287567,0x14,_0x115b57[0x17]),_0x5421d0=_0x18c36c(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x42f1c0,0x5,_0x115b57[0x18]),_0x1225a1=_0x18c36c(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x49b903,0x9,_0x115b57[0x19]),_0xdd90ec=_0x18c36c(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x1b6c77,0xe,_0x115b57[0x1a]),_0x18f2b6=_0x18c36c(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x531dcf,0x14,_0x115b57[0x1b]),_0x5421d0=_0x18c36c(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x497c10,0x5,_0x115b57[0x1c]),_0x1225a1=_0x18c36c(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x2ec752,0x9,_0x115b57[0x1d]),_0xdd90ec=_0x18c36c(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x3ef94e,0xe,_0x115b57[0x1e]),_0x18f2b6=_0x18c36c(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x3055bb,0x14,_0x115b57[0x1f]),_0x5421d0=_0x38361a(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x1407da,0x4,_0x115b57[0x20]),_0x1225a1=_0x38361a(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x531dcf,0xb,_0x115b57[0x21]),_0xdd90ec=_0x38361a(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x829df1,0x10,_0x115b57[0x22]),_0x18f2b6=_0x38361a(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x49b903,0x17,_0x115b57[0x23]),_0x5421d0=_0x38361a(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0xcb848d,0x4,_0x115b57[0x24]),_0x1225a1=_0x38361a(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x287567,0xb,_0x115b57[0x25]),_0xdd90ec=_0x38361a(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x3ef94e,0x10,_0x115b57[0x26]),_0x18f2b6=_0x38361a(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x23a949,0x17,_0x115b57[0x27]),_0x5421d0=_0x38361a(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x497c10,0x4,_0x115b57[0x28]),_0x1225a1=_0x38361a(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1c4fb5,0xb,_0x115b57[0x29]),_0xdd90ec=_0x38361a(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x1b6c77,0x10,_0x115b57[0x2a]),_0x18f2b6=_0x38361a(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x54640a,0x17,_0x115b57[0x2b]),_0x5421d0=_0x38361a(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x42f1c0,0x4,_0x115b57[0x2c]),_0x1225a1=_0x38361a(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x3055bb,0xb,_0x115b57[0x2d]),_0xdd90ec=_0x38361a(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x21957a,0x10,_0x115b57[0x2e]),_0x18f2b6=_0x38361a(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x2ec752,0x17,_0x115b57[0x2f]),_0x5421d0=_0x48c9a3(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x1c4fb5,0x6,_0x115b57[0x30]),_0x1225a1=_0x48c9a3(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x3ef94e,0xa,_0x115b57[0x31]),_0xdd90ec=_0x48c9a3(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x49b903,0xf,_0x115b57[0x32]),_0x18f2b6=_0x48c9a3(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x1407da,0x15,_0x115b57[0x33]),_0x5421d0=_0x48c9a3(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x3055bb,0x6,_0x115b57[0x34]),_0x1225a1=_0x48c9a3(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1b6c77,0xa,_0x115b57[0x35]),_0xdd90ec=_0x48c9a3(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x23a949,0xf,_0x115b57[0x36]),_0x18f2b6=_0x48c9a3(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0xcb848d,0x15,_0x115b57[0x37]),_0x5421d0=_0x48c9a3(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x531dcf,0x6,_0x115b57[0x38]),_0x1225a1=_0x48c9a3(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x21957a,0xa,_0x115b57[0x39]),_0xdd90ec=_0x48c9a3(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x54640a,0xf,_0x115b57[0x3a]),_0x18f2b6=_0x48c9a3(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x497c10,0x15,_0x115b57[0x3b]),_0x5421d0=_0x48c9a3(_0x5421d0,_0x18f2b6,_0xdd90ec,_0x1225a1,_0x287567,0x6,_0x115b57[0x3c]),_0x1225a1=_0x48c9a3(_0x1225a1,_0x5421d0,_0x18f2b6,_0xdd90ec,_0x829df1,0xa,_0x115b57[0x3d]),_0xdd90ec=_0x48c9a3(_0xdd90ec,_0x1225a1,_0x5421d0,_0x18f2b6,_0x2ec752,0xf,_0x115b57[0x3e]),_0x18f2b6=_0x48c9a3(_0x18f2b6,_0xdd90ec,_0x1225a1,_0x5421d0,_0x42f1c0,0x15,_0x115b57[0x3f]),_0x5cbcca[0x0]=_0x5cbcca[0x0]+_0x5421d0|0x0,_0x5cbcca[0x1]=_0x5cbcca[0x1]+_0x18f2b6|0x0,_0x5cbcca[0x2]=_0x5cbcca[0x2]+_0xdd90ec|0x0,_0x5cbcca[0x3]=_0x5cbcca[0x3]+_0x1225a1|0x0;},'_doFinalize':function(){var _0x3f10c7=_0x317e42,_0x9f6aed=this[_0x3f10c7(0x354)],_0x3ab144=_0x9f6aed['words'],_0x258298=this[_0x3f10c7(0x30b)]*0x8,_0x18f11e=_0x9f6aed['sigBytes']*0x8;_0x3ab144[_0x18f11e>>>0x5]|=0x80<<0x18-_0x18f11e%0x20;var _0x56c292=_0x5c6945[_0x3f10c7(0x18f)](_0x258298/0x100000000),_0x351f11=_0x258298;_0x3ab144[(_0x18f11e+0x40>>>0x9<<0x4)+0xf]=(_0x56c292<<0x8|_0x56c292>>>0x18)&0xff00ff|(_0x56c292<<0x18|_0x56c292>>>0x8)&0xff00ff00,_0x3ab144[(_0x18f11e+0x40>>>0x9<<0x4)+0xe]=(_0x351f11<<0x8|_0x351f11>>>0x18)&0xff00ff|(_0x351f11<<0x18|_0x351f11>>>0x8)&0xff00ff00,_0x9f6aed[_0x3f10c7(0x37b)]=(_0x3ab144[_0x3f10c7(0x287)]+0x1)*0x4,this[_0x3f10c7(0x198)]();for(var _0x4579d8=this['_hash'],_0x836194=_0x4579d8[_0x3f10c7(0x26d)],_0x48bd40=0x0;_0x48bd40<0x4;_0x48bd40++){var _0x2d9c1a=_0x836194[_0x48bd40];_0x836194[_0x48bd40]=(_0x2d9c1a<<0x8|_0x2d9c1a>>>0x18)&0xff00ff|(_0x2d9c1a<<0x18|_0x2d9c1a>>>0x8)&0xff00ff00;}return _0x4579d8;},'clone':function(){var _0x273caa=_0x317e42,_0x1fceb1=_0x51f3c9['clone'][_0x273caa(0x267)](this);return _0x1fceb1[_0x273caa(0x24a)]=this['_hash'][_0x273caa(0x1d1)](),_0x1fceb1;}});function _0x16ba6b(_0x3bf632,_0x2009c9,_0x45e38c,_0xaf40f0,_0x427a2b,_0x5b2752,_0x486bf6){var _0x8655cf=_0x3bf632+(_0x2009c9&_0x45e38c|~_0x2009c9&_0xaf40f0)+_0x427a2b+_0x486bf6;return(_0x8655cf<<_0x5b2752|_0x8655cf>>>0x20-_0x5b2752)+_0x2009c9;}function _0x18c36c(_0x478e2d,_0xc1e3a7,_0xe7c470,_0x5839f7,_0x1fc957,_0x2074a6,_0x1be902){var _0x533e66=_0x478e2d+(_0xc1e3a7&_0x5839f7|_0xe7c470&~_0x5839f7)+_0x1fc957+_0x1be902;return(_0x533e66<<_0x2074a6|_0x533e66>>>0x20-_0x2074a6)+_0xc1e3a7;}function _0x38361a(_0x2434c4,_0x1d8332,_0x31eb1d,_0x4dda1a,_0x3426db,_0x5b7824,_0x5109d5){var _0x3ba5aa=_0x2434c4+(_0x1d8332^_0x31eb1d^_0x4dda1a)+_0x3426db+_0x5109d5;return(_0x3ba5aa<<_0x5b7824|_0x3ba5aa>>>0x20-_0x5b7824)+_0x1d8332;}function _0x48c9a3(_0x5e50a6,_0x3ab97f,_0x5ce2a6,_0x3c6a9d,_0x9840d8,_0x493ee4,_0x5017a2){var _0x59cdaf=_0x5e50a6+(_0x5ce2a6^(_0x3ab97f|~_0x3c6a9d))+_0x9840d8+_0x5017a2;return(_0x59cdaf<<_0x493ee4|_0x59cdaf>>>0x20-_0x493ee4)+_0x3ab97f;}_0x3ca651[_0x317e42(0x1fd)]=_0x51f3c9[_0x317e42(0x251)](_0x244b30),_0x3ca651[_0x317e42(0x1df)]=_0x51f3c9[_0x317e42(0x3ab)](_0x244b30);}(Math),_0x34c54f['MD5'];}));}(Ye)),Ye[_0x322d81(0x19d)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x2ece9e(0x19d)],Xt;function mn(){var _0x1fb7ef=_0x2ece9e;return Xt||(Xt=0x1,function(_0x432349,_0x426a8e){(function(_0x25fb67,_0x2f4689){var _0x400fe1=_0x5654;_0x432349[_0x400fe1(0x19d)]=_0x2f4689(te());}(pn,function(_0x2adc11){var _0x59903e=_0x5654;return(function(){var _0x163539=_0x5654,_0x5c4f08=_0x2adc11,_0xf4c89a=_0x5c4f08[_0x163539(0x2c0)],_0x115806=_0xf4c89a[_0x163539(0x2ac)],_0x5c8707=_0xf4c89a[_0x163539(0x1d6)],_0xe48637=_0x5c4f08[_0x163539(0xfc)],_0x12ff76=[],_0x10226e=_0xe48637[_0x163539(0x1b7)]=_0x5c8707[_0x163539(0x134)]({'_doReset':function(){var _0x227464=_0x163539;this[_0x227464(0x24a)]=new _0x115806[(_0x227464(0x292))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x43453c,_0x331216){var _0x25d89a=_0x163539;for(var _0x4b2a3e=this[_0x25d89a(0x24a)]['words'],_0x496901=_0x4b2a3e[0x0],_0x4784b2=_0x4b2a3e[0x1],_0x2fbc52=_0x4b2a3e[0x2],_0x27b00c=_0x4b2a3e[0x3],_0x36ae0f=_0x4b2a3e[0x4],_0x13f3e2=0x0;_0x13f3e2<0x50;_0x13f3e2++){if(_0x13f3e2<0x10)_0x12ff76[_0x13f3e2]=_0x43453c[_0x331216+_0x13f3e2]|0x0;else{var _0x8541b8=_0x12ff76[_0x13f3e2-0x3]^_0x12ff76[_0x13f3e2-0x8]^_0x12ff76[_0x13f3e2-0xe]^_0x12ff76[_0x13f3e2-0x10];_0x12ff76[_0x13f3e2]=_0x8541b8<<0x1|_0x8541b8>>>0x1f;}var _0x26d56c=(_0x496901<<0x5|_0x496901>>>0x1b)+_0x36ae0f+_0x12ff76[_0x13f3e2];_0x13f3e2<0x14?_0x26d56c+=(_0x4784b2&_0x2fbc52|~_0x4784b2&_0x27b00c)+0x5a827999:_0x13f3e2<0x28?_0x26d56c+=(_0x4784b2^_0x2fbc52^_0x27b00c)+0x6ed9eba1:_0x13f3e2<0x3c?_0x26d56c+=(_0x4784b2&_0x2fbc52|_0x4784b2&_0x27b00c|_0x2fbc52&_0x27b00c)-0x70e44324:_0x26d56c+=(_0x4784b2^_0x2fbc52^_0x27b00c)-0x359d3e2a,_0x36ae0f=_0x27b00c,_0x27b00c=_0x2fbc52,_0x2fbc52=_0x4784b2<<0x1e|_0x4784b2>>>0x2,_0x4784b2=_0x496901,_0x496901=_0x26d56c;}_0x4b2a3e[0x0]=_0x4b2a3e[0x0]+_0x496901|0x0,_0x4b2a3e[0x1]=_0x4b2a3e[0x1]+_0x4784b2|0x0,_0x4b2a3e[0x2]=_0x4b2a3e[0x2]+_0x2fbc52|0x0,_0x4b2a3e[0x3]=_0x4b2a3e[0x3]+_0x27b00c|0x0,_0x4b2a3e[0x4]=_0x4b2a3e[0x4]+_0x36ae0f|0x0;},'_doFinalize':function(){var _0x12a8c0=_0x163539,_0x2a129a=this['_data'],_0x3d6422=_0x2a129a[_0x12a8c0(0x26d)],_0xa41f63=this[_0x12a8c0(0x30b)]*0x8,_0x18670e=_0x2a129a[_0x12a8c0(0x37b)]*0x8;return _0x3d6422[_0x18670e>>>0x5]|=0x80<<0x18-_0x18670e%0x20,_0x3d6422[(_0x18670e+0x40>>>0x9<<0x4)+0xe]=Math[_0x12a8c0(0x18f)](_0xa41f63/0x100000000),_0x3d6422[(_0x18670e+0x40>>>0x9<<0x4)+0xf]=_0xa41f63,_0x2a129a[_0x12a8c0(0x37b)]=_0x3d6422['length']*0x4,this[_0x12a8c0(0x198)](),this[_0x12a8c0(0x24a)];},'clone':function(){var _0x43d0e4=_0x163539,_0x399647=_0x5c8707['clone']['call'](this);return _0x399647['_hash']=this[_0x43d0e4(0x24a)][_0x43d0e4(0x1d1)](),_0x399647;}});_0x5c4f08[_0x163539(0x1b7)]=_0x5c8707[_0x163539(0x251)](_0x10226e),_0x5c4f08['HmacSHA1']=_0x5c8707[_0x163539(0x3ab)](_0x10226e);}()),_0x2adc11[_0x59903e(0x1b7)];}));}(qe)),qe[_0x1fb7ef(0x19d)];}var ze={'exports':{}},gn=ze[_0x2ece9e(0x19d)],Zt;function Sn(){var _0x16c7f9=_0x2ece9e;return Zt||(Zt=0x1,function(_0x3e475e,_0x4988f2){(function(_0x1ba95f,_0x4a9cb4){_0x3e475e['exports']=_0x4a9cb4(te());}(gn,function(_0x20b2b1){(function(){var _0x3141c5=_0x5654,_0x5b5742=_0x20b2b1,_0x293c9b=_0x5b5742[_0x3141c5(0x2c0)],_0x2af6c5=_0x293c9b[_0x3141c5(0x2e0)],_0x3a213a=_0x5b5742['enc'],_0x18e7ff=_0x3a213a['Utf8'],_0x100c2d=_0x5b5742['algo'];_0x100c2d[_0x3141c5(0x362)]=_0x2af6c5[_0x3141c5(0x134)]({'init':function(_0x58ca85,_0x48deff){var _0x2ed8c4=_0x3141c5;_0x58ca85=this['_hasher']=new _0x58ca85[(_0x2ed8c4(0x292))](),typeof _0x48deff==_0x2ed8c4(0x365)&&(_0x48deff=_0x18e7ff['parse'](_0x48deff));var _0x17125d=_0x58ca85['blockSize'],_0x453c02=_0x17125d*0x4;_0x48deff[_0x2ed8c4(0x37b)]>_0x453c02&&(_0x48deff=_0x58ca85[_0x2ed8c4(0x15f)](_0x48deff)),_0x48deff[_0x2ed8c4(0x135)]();for(var _0x33d765=this['_oKey']=_0x48deff[_0x2ed8c4(0x1d1)](),_0x2ba8ea=this[_0x2ed8c4(0x114)]=_0x48deff['clone'](),_0x4addf7=_0x33d765[_0x2ed8c4(0x26d)],_0x4b57b9=_0x2ba8ea['words'],_0x3160c5=0x0;_0x3160c5<_0x17125d;_0x3160c5++)_0x4addf7[_0x3160c5]^=0x5c5c5c5c,_0x4b57b9[_0x3160c5]^=0x36363636;_0x33d765[_0x2ed8c4(0x37b)]=_0x2ba8ea[_0x2ed8c4(0x37b)]=_0x453c02,this['reset']();},'reset':function(){var _0x43fc36=_0x3141c5,_0x2bc42e=this['_hasher'];_0x2bc42e[_0x43fc36(0x2ef)](),_0x2bc42e['update'](this[_0x43fc36(0x114)]);},'update':function(_0x112193){var _0x14c644=_0x3141c5;return this[_0x14c644(0x143)][_0x14c644(0x2ed)](_0x112193),this;},'finalize':function(_0x5aa87f){var _0x3aa973=_0x3141c5,_0x17c394=this[_0x3aa973(0x143)],_0x19136a=_0x17c394[_0x3aa973(0x15f)](_0x5aa87f);_0x17c394['reset']();var _0x8c9b37=_0x17c394[_0x3aa973(0x15f)](this[_0x3aa973(0x34f)][_0x3aa973(0x1d1)]()[_0x3aa973(0x3b7)](_0x19136a));return _0x8c9b37;}});}());}));}(ze)),ze[_0x16c7f9(0x19d)];}var En=Ke['exports'],Qt;function yi(){var _0x324648=_0x2ece9e;return Qt||(Qt=0x1,function(_0x2fd48e,_0x240fda){(function(_0x2a9833,_0x520a57,_0x32b5d6){var _0x3963a7=_0x5654;_0x2fd48e[_0x3963a7(0x19d)]=_0x520a57(te(),mn(),Sn());}(En,function(_0x38677c){var _0x4323dc=_0x5654;return(function(){var _0x5b39bc=_0x5654,_0xc1c56d=_0x38677c,_0x3b8ce9=_0xc1c56d['lib'],_0x4983fb=_0x3b8ce9[_0x5b39bc(0x2e0)],_0x568c9e=_0x3b8ce9[_0x5b39bc(0x2ac)],_0x5e1790=_0xc1c56d[_0x5b39bc(0xfc)],_0x58b6c9=_0x5e1790[_0x5b39bc(0x1fd)],_0x869934=_0x5e1790[_0x5b39bc(0x1e1)]=_0x4983fb[_0x5b39bc(0x134)]({'cfg':_0x4983fb['extend']({'keySize':0x80/0x20,'hasher':_0x58b6c9,'iterations':0x1}),'init':function(_0x2d73da){var _0x5207a6=_0x5b39bc;this[_0x5207a6(0x34d)]=this['cfg'][_0x5207a6(0x134)](_0x2d73da);},'compute':function(_0x3544df,_0x3f3fbc){var _0x504647=_0x5b39bc;for(var _0xda57e9,_0x47b8e3=this[_0x504647(0x34d)],_0x4c5b9f=_0x47b8e3[_0x504647(0x244)]['create'](),_0xbc3cf5=_0x568c9e['create'](),_0x113afa=_0xbc3cf5['words'],_0x46a6c5=_0x47b8e3[_0x504647(0x1b4)],_0x57a1e4=_0x47b8e3[_0x504647(0x1c5)];_0x113afa[_0x504647(0x287)]<_0x46a6c5;){_0xda57e9&&_0x4c5b9f[_0x504647(0x2ed)](_0xda57e9),_0xda57e9=_0x4c5b9f[_0x504647(0x2ed)](_0x3544df)[_0x504647(0x15f)](_0x3f3fbc),_0x4c5b9f['reset']();for(var _0x2c0541=0x1;_0x2c0541<_0x57a1e4;_0x2c0541++)_0xda57e9=_0x4c5b9f[_0x504647(0x15f)](_0xda57e9),_0x4c5b9f[_0x504647(0x2ef)]();_0xbc3cf5['concat'](_0xda57e9);}return _0xbc3cf5['sigBytes']=_0x46a6c5*0x4,_0xbc3cf5;}});_0xc1c56d['EvpKDF']=function(_0x25251f,_0x1ef44d,_0x196a71){var _0x4669fb=_0x5b39bc;return _0x869934['create'](_0x196a71)[_0x4669fb(0x3a6)](_0x25251f,_0x1ef44d);};}()),_0x38677c[_0x4323dc(0x1e1)];}));}(Ke)),Ke[_0x324648(0x19d)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){return ei||(ei=0x1,function(_0x2cef90,_0x2c94ae){(function(_0xd82147,_0x55fc17,_0x5c04e1){var _0x3d3bb1=_0x5654;_0x2cef90[_0x3d3bb1(0x19d)]=_0x55fc17(te(),yi());}(In,function(_0x2ecb76){var _0x4323ff=_0x5654;_0x2ecb76[_0x4323ff(0x2c0)][_0x4323ff(0x19e)]||function(_0x2ea858){var _0x5c512d=_0x4323ff,_0x48ab52=_0x2ecb76,_0x2bcf3b=_0x48ab52[_0x5c512d(0x2c0)],_0x51d6ba=_0x2bcf3b[_0x5c512d(0x2e0)],_0x3bf7ee=_0x2bcf3b['WordArray'],_0x2ece49=_0x2bcf3b[_0x5c512d(0x289)],_0x2f328a=_0x48ab52['enc'];_0x2f328a[_0x5c512d(0x344)];var _0x284b7c=_0x2f328a[_0x5c512d(0x17c)],_0x10f273=_0x48ab52['algo'],_0x2993cb=_0x10f273[_0x5c512d(0x1e1)],_0x4a52cb=_0x2bcf3b[_0x5c512d(0x19e)]=_0x2ece49[_0x5c512d(0x134)]({'cfg':_0x51d6ba[_0x5c512d(0x134)](),'createEncryptor':function(_0x43b160,_0x10f3ce){var _0x52bb50=_0x5c512d;return this[_0x52bb50(0x1f0)](this[_0x52bb50(0x3c7)],_0x43b160,_0x10f3ce);},'createDecryptor':function(_0x57868e,_0x1e60fc){var _0x5584f8=_0x5c512d;return this[_0x5584f8(0x1f0)](this[_0x5584f8(0x206)],_0x57868e,_0x1e60fc);},'init':function(_0x3a6cc9,_0x4e66d7,_0x571b92){var _0x2c34d7=_0x5c512d;this[_0x2c34d7(0x34d)]=this['cfg']['extend'](_0x571b92),this[_0x2c34d7(0x2b9)]=_0x3a6cc9,this[_0x2c34d7(0x33e)]=_0x4e66d7,this[_0x2c34d7(0x2ef)]();},'reset':function(){var _0x339d17=_0x5c512d;_0x2ece49[_0x339d17(0x2ef)][_0x339d17(0x267)](this),this[_0x339d17(0x327)]();},'process':function(_0x236711){var _0x45486b=_0x5c512d;return this[_0x45486b(0x34e)](_0x236711),this['_process']();},'finalize':function(_0x4a84a1){var _0x516797=_0x5c512d;_0x4a84a1&&this[_0x516797(0x34e)](_0x4a84a1);var _0x4dd603=this[_0x516797(0x2f6)]();return _0x4dd603;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58526b(_0x3357f5){var _0x163564=_0x5654;return typeof _0x3357f5==_0x163564(0x365)?_0x1d289d:_0x1b3663;}return function(_0x349ba1){return{'encrypt':function(_0xc42a5f,_0x466300,_0x540f55){var _0x4876e8=_0x5654;return _0x58526b(_0x466300)[_0x4876e8(0x2dd)](_0x349ba1,_0xc42a5f,_0x466300,_0x540f55);},'decrypt':function(_0x2a79b4,_0x5c54a2,_0x2c96cd){var _0x583a16=_0x5654;return _0x58526b(_0x5c54a2)[_0x583a16(0x3c1)](_0x349ba1,_0x2a79b4,_0x5c54a2,_0x2c96cd);}};};}())});_0x2bcf3b[_0x5c512d(0x350)]=_0x4a52cb[_0x5c512d(0x134)]({'_doFinalize':function(){var _0x5e5696=_0x5c512d,_0x2c34b4=this[_0x5e5696(0x198)](!0x0);return _0x2c34b4;},'blockSize':0x1});var _0x752341=_0x48ab52[_0x5c512d(0x3b2)]={},_0x172e02=_0x2bcf3b['BlockCipherMode']=_0x51d6ba[_0x5c512d(0x134)]({'createEncryptor':function(_0xe2955d,_0x77edc4){var _0x4a577d=_0x5c512d;return this[_0x4a577d(0x10e)][_0x4a577d(0x1f0)](_0xe2955d,_0x77edc4);},'createDecryptor':function(_0x21d7d2,_0xbd109a){var _0x2d353c=_0x5c512d;return this[_0x2d353c(0x1a3)][_0x2d353c(0x1f0)](_0x21d7d2,_0xbd109a);},'init':function(_0x526f74,_0x5a57cd){var _0x37e575=_0x5c512d;this['_cipher']=_0x526f74,this[_0x37e575(0x358)]=_0x5a57cd;}}),_0x56f9f7=_0x752341['CBC']=(function(){var _0x4c9bbd=_0x5c512d,_0x525739=_0x172e02[_0x4c9bbd(0x134)]();_0x525739[_0x4c9bbd(0x10e)]=_0x525739[_0x4c9bbd(0x134)]({'processBlock':function(_0x54842b,_0x13ae44){var _0x32d69e=_0x4c9bbd,_0x550d0a=this['_cipher'],_0xc7f752=_0x550d0a[_0x32d69e(0x2d9)];_0xf85137['call'](this,_0x54842b,_0x13ae44,_0xc7f752),_0x550d0a['encryptBlock'](_0x54842b,_0x13ae44),this[_0x32d69e(0x223)]=_0x54842b['slice'](_0x13ae44,_0x13ae44+_0xc7f752);}}),_0x525739['Decryptor']=_0x525739['extend']({'processBlock':function(_0x3ded6d,_0x11732b){var _0x14b775=_0x4c9bbd,_0x1b2f12=this['_cipher'],_0x42f132=_0x1b2f12[_0x14b775(0x2d9)],_0x28bbe1=_0x3ded6d['slice'](_0x11732b,_0x11732b+_0x42f132);_0x1b2f12['decryptBlock'](_0x3ded6d,_0x11732b),_0xf85137['call'](this,_0x3ded6d,_0x11732b,_0x42f132),this['_prevBlock']=_0x28bbe1;}});function _0xf85137(_0x5287f5,_0x476284,_0x2f5dd6){var _0x25b2a5=_0x4c9bbd,_0x33b7b4,_0x12e853=this['_iv'];_0x12e853?(_0x33b7b4=_0x12e853,this[_0x25b2a5(0x358)]=_0x2ea858):_0x33b7b4=this[_0x25b2a5(0x223)];for(var _0x3a87a6=0x0;_0x3a87a6<_0x2f5dd6;_0x3a87a6++)_0x5287f5[_0x476284+_0x3a87a6]^=_0x33b7b4[_0x3a87a6];}return _0x525739;}()),_0x22a23b=_0x48ab52['pad']={},_0x33caff=_0x22a23b['Pkcs7']={'pad':function(_0x36488c,_0x121a8f){var _0x2e45e4=_0x5c512d;for(var _0x50f803=_0x121a8f*0x4,_0x4a7f7a=_0x50f803-_0x36488c[_0x2e45e4(0x37b)]%_0x50f803,_0x137d27=_0x4a7f7a<<0x18|_0x4a7f7a<<0x10|_0x4a7f7a<<0x8|_0x4a7f7a,_0x54ac3e=[],_0x10e82c=0x0;_0x10e82c<_0x4a7f7a;_0x10e82c+=0x4)_0x54ac3e[_0x2e45e4(0x376)](_0x137d27);var _0x41f63b=_0x3bf7ee[_0x2e45e4(0x1f0)](_0x54ac3e,_0x4a7f7a);_0x36488c[_0x2e45e4(0x3b7)](_0x41f63b);},'unpad':function(_0x2d859d){var _0x18d1b7=_0x5c512d,_0x57054a=_0x2d859d[_0x18d1b7(0x26d)][_0x2d859d[_0x18d1b7(0x37b)]-0x1>>>0x2]&0xff;_0x2d859d[_0x18d1b7(0x37b)]-=_0x57054a;}};_0x2bcf3b[_0x5c512d(0x307)]=_0x4a52cb[_0x5c512d(0x134)]({'cfg':_0x4a52cb[_0x5c512d(0x34d)][_0x5c512d(0x134)]({'mode':_0x56f9f7,'padding':_0x33caff}),'reset':function(){var _0x13e061=_0x5c512d,_0x3f38e1;_0x4a52cb[_0x13e061(0x2ef)][_0x13e061(0x267)](this);var _0x15cda4=this['cfg'],_0x3c6098=_0x15cda4['iv'],_0x4f0ba0=_0x15cda4[_0x13e061(0x3b2)];this[_0x13e061(0x2b9)]==this[_0x13e061(0x3c7)]?_0x3f38e1=_0x4f0ba0[_0x13e061(0x399)]:(_0x3f38e1=_0x4f0ba0['createDecryptor'],this[_0x13e061(0x2e6)]=0x1),this[_0x13e061(0x353)]&&this[_0x13e061(0x353)][_0x13e061(0x2c7)]==_0x3f38e1?this[_0x13e061(0x353)][_0x13e061(0x292)](this,_0x3c6098&&_0x3c6098[_0x13e061(0x26d)]):(this[_0x13e061(0x353)]=_0x3f38e1[_0x13e061(0x267)](_0x4f0ba0,this,_0x3c6098&&_0x3c6098[_0x13e061(0x26d)]),this['_mode'][_0x13e061(0x2c7)]=_0x3f38e1);},'_doProcessBlock':function(_0x10e058,_0x2ff38e){var _0x879e6d=_0x5c512d;this[_0x879e6d(0x353)][_0x879e6d(0x3c0)](_0x10e058,_0x2ff38e);},'_doFinalize':function(){var _0x3f611f=_0x5c512d,_0x2986df,_0xfc1fa2=this[_0x3f611f(0x34d)]['padding'];return this[_0x3f611f(0x2b9)]==this['_ENC_XFORM_MODE']?(_0xfc1fa2['pad'](this[_0x3f611f(0x354)],this[_0x3f611f(0x2d9)]),_0x2986df=this['_process'](!0x0)):(_0x2986df=this[_0x3f611f(0x198)](!0x0),_0xfc1fa2[_0x3f611f(0x27e)](_0x2986df)),_0x2986df;},'blockSize':0x80/0x20});var _0x420e3f=_0x2bcf3b[_0x5c512d(0x23d)]=_0x51d6ba[_0x5c512d(0x134)]({'init':function(_0x22fff5){var _0x1afca0=_0x5c512d;this[_0x1afca0(0x210)](_0x22fff5);},'toString':function(_0x32da3b){var _0x7e226e=_0x5c512d;return(_0x32da3b||this['formatter'])[_0x7e226e(0x241)](this);}}),_0x41dd85=_0x48ab52[_0x5c512d(0x2bd)]={},_0x941e12=_0x41dd85['OpenSSL']={'stringify':function(_0x133b87){var _0xe11b9a=_0x5c512d,_0x1bed3f,_0x10f24d=_0x133b87[_0xe11b9a(0x165)],_0x272c41=_0x133b87[_0xe11b9a(0x27f)];return _0x272c41?_0x1bed3f=_0x3bf7ee[_0xe11b9a(0x1f0)]([0x53616c74,0x65645f5f])[_0xe11b9a(0x3b7)](_0x272c41)[_0xe11b9a(0x3b7)](_0x10f24d):_0x1bed3f=_0x10f24d,_0x1bed3f[_0xe11b9a(0x2a7)](_0x284b7c);},'parse':function(_0x5f0325){var _0x25c92a=_0x5c512d,_0x1ec889,_0x37c68f=_0x284b7c[_0x25c92a(0x39b)](_0x5f0325),_0x5a2e51=_0x37c68f['words'];return _0x5a2e51[0x0]==0x53616c74&&_0x5a2e51[0x1]==0x65645f5f&&(_0x1ec889=_0x3bf7ee[_0x25c92a(0x1f0)](_0x5a2e51['slice'](0x2,0x4)),_0x5a2e51[_0x25c92a(0x3ae)](0x0,0x4),_0x37c68f[_0x25c92a(0x37b)]-=0x10),_0x420e3f[_0x25c92a(0x1f0)]({'ciphertext':_0x37c68f,'salt':_0x1ec889});}},_0x1b3663=_0x2bcf3b[_0x5c512d(0x162)]=_0x51d6ba[_0x5c512d(0x134)]({'cfg':_0x51d6ba[_0x5c512d(0x134)]({'format':_0x941e12}),'encrypt':function(_0x241202,_0x5a3ff1,_0x2dd1a9,_0x120fea){var _0xe0549d=_0x5c512d;_0x120fea=this['cfg'][_0xe0549d(0x134)](_0x120fea);var _0x13a486=_0x241202[_0xe0549d(0x399)](_0x2dd1a9,_0x120fea),_0x318666=_0x13a486['finalize'](_0x5a3ff1),_0x511d51=_0x13a486[_0xe0549d(0x34d)];return _0x420e3f['create']({'ciphertext':_0x318666,'key':_0x2dd1a9,'iv':_0x511d51['iv'],'algorithm':_0x241202,'mode':_0x511d51[_0xe0549d(0x3b2)],'padding':_0x511d51[_0xe0549d(0x1bd)],'blockSize':_0x241202[_0xe0549d(0x2d9)],'formatter':_0x120fea[_0xe0549d(0x2bd)]});},'decrypt':function(_0x254624,_0x29dbf6,_0x5dfd3e,_0x2ae9ab){var _0x390fef=_0x5c512d;_0x2ae9ab=this[_0x390fef(0x34d)][_0x390fef(0x134)](_0x2ae9ab),_0x29dbf6=this[_0x390fef(0x24c)](_0x29dbf6,_0x2ae9ab[_0x390fef(0x2bd)]);var _0x471134=_0x254624[_0x390fef(0x144)](_0x5dfd3e,_0x2ae9ab)[_0x390fef(0x15f)](_0x29dbf6[_0x390fef(0x165)]);return _0x471134;},'_parse':function(_0x2ef31d,_0x3550ab){var _0x174dcd=_0x5c512d;return typeof _0x2ef31d==_0x174dcd(0x365)?_0x3550ab[_0x174dcd(0x39b)](_0x2ef31d,this):_0x2ef31d;}}),_0x4577d4=_0x48ab52['kdf']={},_0x4b7933=_0x4577d4['OpenSSL']={'execute':function(_0x50303f,_0x7555bf,_0x2ee949,_0x5cdacf,_0x23fd0f){var _0x35a24a=_0x5c512d;if(_0x5cdacf||(_0x5cdacf=_0x3bf7ee[_0x35a24a(0x22c)](0x40/0x8)),_0x23fd0f)var _0x438d6c=_0x2993cb[_0x35a24a(0x1f0)]({'keySize':_0x7555bf+_0x2ee949,'hasher':_0x23fd0f})[_0x35a24a(0x3a6)](_0x50303f,_0x5cdacf);else var _0x438d6c=_0x2993cb['create']({'keySize':_0x7555bf+_0x2ee949})[_0x35a24a(0x3a6)](_0x50303f,_0x5cdacf);var _0x301306=_0x3bf7ee['create'](_0x438d6c[_0x35a24a(0x26d)][_0x35a24a(0x118)](_0x7555bf),_0x2ee949*0x4);return _0x438d6c[_0x35a24a(0x37b)]=_0x7555bf*0x4,_0x420e3f[_0x35a24a(0x1f0)]({'key':_0x438d6c,'iv':_0x301306,'salt':_0x5cdacf});}},_0x1d289d=_0x2bcf3b['PasswordBasedCipher']=_0x1b3663[_0x5c512d(0x134)]({'cfg':_0x1b3663[_0x5c512d(0x34d)][_0x5c512d(0x134)]({'kdf':_0x4b7933}),'encrypt':function(_0x20140,_0x48070a,_0x393597,_0x15b758){var _0x3aebf5=_0x5c512d;_0x15b758=this[_0x3aebf5(0x34d)][_0x3aebf5(0x134)](_0x15b758);var _0x552d3e=_0x15b758[_0x3aebf5(0x2a5)][_0x3aebf5(0x33d)](_0x393597,_0x20140[_0x3aebf5(0x1b4)],_0x20140['ivSize'],_0x15b758[_0x3aebf5(0x27f)],_0x15b758['hasher']);_0x15b758['iv']=_0x552d3e['iv'];var _0x23be2e=_0x1b3663[_0x3aebf5(0x2dd)]['call'](this,_0x20140,_0x48070a,_0x552d3e[_0x3aebf5(0x178)],_0x15b758);return _0x23be2e[_0x3aebf5(0x210)](_0x552d3e),_0x23be2e;},'decrypt':function(_0x2173e9,_0x4623f7,_0x5efe2a,_0x524906){var _0x336c18=_0x5c512d;_0x524906=this[_0x336c18(0x34d)][_0x336c18(0x134)](_0x524906),_0x4623f7=this[_0x336c18(0x24c)](_0x4623f7,_0x524906[_0x336c18(0x2bd)]);var _0xd08a23=_0x524906['kdf'][_0x336c18(0x33d)](_0x5efe2a,_0x2173e9[_0x336c18(0x1b4)],_0x2173e9['ivSize'],_0x4623f7[_0x336c18(0x27f)],_0x524906['hasher']);_0x524906['iv']=_0xd08a23['iv'];var _0x12025f=_0x1b3663[_0x336c18(0x3c1)][_0x336c18(0x267)](this,_0x2173e9,_0x4623f7,_0xd08a23['key'],_0x524906);return _0x12025f;}});}();}));}(Je)),Je['exports'];}var Tn=Ve[_0x2ece9e(0x19d)],ti;function Cn(){var _0x52a0d4=_0x2ece9e;return ti||(ti=0x1,function(_0x1ff6ca,_0x4b2807){(function(_0x3af080,_0x5e2489,_0x8f2b0f){var _0x56dcb2=_0x5654;_0x1ff6ca[_0x56dcb2(0x19d)]=_0x5e2489(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x5d2df6){var _0x5d33bc=_0x5654;return(function(){var _0x355668=_0x5654,_0x667c30=_0x5d2df6,_0xd70842=_0x667c30[_0x355668(0x2c0)],_0x12ad32=_0xd70842[_0x355668(0x307)],_0x3f8481=_0x667c30['algo'],_0x559b36=[],_0x3a4753=[],_0x7033e8=[],_0x13d9ae=[],_0x75f902=[],_0x440c28=[],_0x4a4fe5=[],_0x301749=[],_0x2dc797=[],_0x38f858=[];(function(){for(var _0xda6352=[],_0x4806c8=0x0;_0x4806c8<0x100;_0x4806c8++)_0x4806c8<0x80?_0xda6352[_0x4806c8]=_0x4806c8<<0x1:_0xda6352[_0x4806c8]=_0x4806c8<<0x1^0x11b;for(var _0x20b30c=0x0,_0x32eefa=0x0,_0x4806c8=0x0;_0x4806c8<0x100;_0x4806c8++){var _0x7b68a6=_0x32eefa^_0x32eefa<<0x1^_0x32eefa<<0x2^_0x32eefa<<0x3^_0x32eefa<<0x4;_0x7b68a6=_0x7b68a6>>>0x8^_0x7b68a6&0xff^0x63,_0x559b36[_0x20b30c]=_0x7b68a6,_0x3a4753[_0x7b68a6]=_0x20b30c;var _0x45e9fc=_0xda6352[_0x20b30c],_0x3cfc5b=_0xda6352[_0x45e9fc],_0x3e446d=_0xda6352[_0x3cfc5b],_0x169314=_0xda6352[_0x7b68a6]*0x101^_0x7b68a6*0x1010100;_0x7033e8[_0x20b30c]=_0x169314<<0x18|_0x169314>>>0x8,_0x13d9ae[_0x20b30c]=_0x169314<<0x10|_0x169314>>>0x10,_0x75f902[_0x20b30c]=_0x169314<<0x8|_0x169314>>>0x18,_0x440c28[_0x20b30c]=_0x169314;var _0x169314=_0x3e446d*0x1010101^_0x3cfc5b*0x10001^_0x45e9fc*0x101^_0x20b30c*0x1010100;_0x4a4fe5[_0x7b68a6]=_0x169314<<0x18|_0x169314>>>0x8,_0x301749[_0x7b68a6]=_0x169314<<0x10|_0x169314>>>0x10,_0x2dc797[_0x7b68a6]=_0x169314<<0x8|_0x169314>>>0x18,_0x38f858[_0x7b68a6]=_0x169314,_0x20b30c?(_0x20b30c=_0x45e9fc^_0xda6352[_0xda6352[_0xda6352[_0x3e446d^_0x45e9fc]]],_0x32eefa^=_0xda6352[_0xda6352[_0x32eefa]]):_0x20b30c=_0x32eefa=0x1;}}());var _0x118250=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44a178=_0x3f8481['AES']=_0x12ad32[_0x355668(0x134)]({'_doReset':function(){var _0x45f28c=_0x355668,_0x339195;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x45f28c(0x33e)])){for(var _0x10d062=this['_keyPriorReset']=this['_key'],_0x20627f=_0x10d062['words'],_0x2228b0=_0x10d062[_0x45f28c(0x37b)]/0x4,_0x51b628=this[_0x45f28c(0x25c)]=_0x2228b0+0x6,_0x1cdc8f=(_0x51b628+0x1)*0x4,_0x3d3d1d=this[_0x45f28c(0x190)]=[],_0x2737ff=0x0;_0x2737ff<_0x1cdc8f;_0x2737ff++)_0x2737ff<_0x2228b0?_0x3d3d1d[_0x2737ff]=_0x20627f[_0x2737ff]:(_0x339195=_0x3d3d1d[_0x2737ff-0x1],_0x2737ff%_0x2228b0?_0x2228b0>0x6&&_0x2737ff%_0x2228b0==0x4&&(_0x339195=_0x559b36[_0x339195>>>0x18]<<0x18|_0x559b36[_0x339195>>>0x10&0xff]<<0x10|_0x559b36[_0x339195>>>0x8&0xff]<<0x8|_0x559b36[_0x339195&0xff]):(_0x339195=_0x339195<<0x8|_0x339195>>>0x18,_0x339195=_0x559b36[_0x339195>>>0x18]<<0x18|_0x559b36[_0x339195>>>0x10&0xff]<<0x10|_0x559b36[_0x339195>>>0x8&0xff]<<0x8|_0x559b36[_0x339195&0xff],_0x339195^=_0x118250[_0x2737ff/_0x2228b0|0x0]<<0x18),_0x3d3d1d[_0x2737ff]=_0x3d3d1d[_0x2737ff-_0x2228b0]^_0x339195);for(var _0x2bc610=this['_invKeySchedule']=[],_0x30f220=0x0;_0x30f220<_0x1cdc8f;_0x30f220++){var _0x2737ff=_0x1cdc8f-_0x30f220;if(_0x30f220%0x4)var _0x339195=_0x3d3d1d[_0x2737ff];else var _0x339195=_0x3d3d1d[_0x2737ff-0x4];_0x30f220<0x4||_0x2737ff<=0x4?_0x2bc610[_0x30f220]=_0x339195:_0x2bc610[_0x30f220]=_0x4a4fe5[_0x559b36[_0x339195>>>0x18]]^_0x301749[_0x559b36[_0x339195>>>0x10&0xff]]^_0x2dc797[_0x559b36[_0x339195>>>0x8&0xff]]^_0x38f858[_0x559b36[_0x339195&0xff]];}}},'encryptBlock':function(_0xde9442,_0x366e5c){var _0x3343bc=_0x355668;this[_0x3343bc(0x361)](_0xde9442,_0x366e5c,this[_0x3343bc(0x190)],_0x7033e8,_0x13d9ae,_0x75f902,_0x440c28,_0x559b36);},'decryptBlock':function(_0x11ccf5,_0x52fc1c){var _0x54724a=_0x355668,_0x28f494=_0x11ccf5[_0x52fc1c+0x1];_0x11ccf5[_0x52fc1c+0x1]=_0x11ccf5[_0x52fc1c+0x3],_0x11ccf5[_0x52fc1c+0x3]=_0x28f494,this['_doCryptBlock'](_0x11ccf5,_0x52fc1c,this[_0x54724a(0x102)],_0x4a4fe5,_0x301749,_0x2dc797,_0x38f858,_0x3a4753);var _0x28f494=_0x11ccf5[_0x52fc1c+0x1];_0x11ccf5[_0x52fc1c+0x1]=_0x11ccf5[_0x52fc1c+0x3],_0x11ccf5[_0x52fc1c+0x3]=_0x28f494;},'_doCryptBlock':function(_0x17f479,_0x3805d1,_0x2b9364,_0x2c5ee0,_0x5a9075,_0x3ce987,_0x595a52,_0x5bdc70){var _0xd8c0e4=_0x355668;for(var _0xf98410=this[_0xd8c0e4(0x25c)],_0x153586=_0x17f479[_0x3805d1]^_0x2b9364[0x0],_0x6bc7e7=_0x17f479[_0x3805d1+0x1]^_0x2b9364[0x1],_0x375c7a=_0x17f479[_0x3805d1+0x2]^_0x2b9364[0x2],_0x1ea58c=_0x17f479[_0x3805d1+0x3]^_0x2b9364[0x3],_0x22ba33=0x4,_0x33674f=0x1;_0x33674f<_0xf98410;_0x33674f++){var _0x30ea88=_0x2c5ee0[_0x153586>>>0x18]^_0x5a9075[_0x6bc7e7>>>0x10&0xff]^_0x3ce987[_0x375c7a>>>0x8&0xff]^_0x595a52[_0x1ea58c&0xff]^_0x2b9364[_0x22ba33++],_0x3992d3=_0x2c5ee0[_0x6bc7e7>>>0x18]^_0x5a9075[_0x375c7a>>>0x10&0xff]^_0x3ce987[_0x1ea58c>>>0x8&0xff]^_0x595a52[_0x153586&0xff]^_0x2b9364[_0x22ba33++],_0x48f89f=_0x2c5ee0[_0x375c7a>>>0x18]^_0x5a9075[_0x1ea58c>>>0x10&0xff]^_0x3ce987[_0x153586>>>0x8&0xff]^_0x595a52[_0x6bc7e7&0xff]^_0x2b9364[_0x22ba33++],_0x22111a=_0x2c5ee0[_0x1ea58c>>>0x18]^_0x5a9075[_0x153586>>>0x10&0xff]^_0x3ce987[_0x6bc7e7>>>0x8&0xff]^_0x595a52[_0x375c7a&0xff]^_0x2b9364[_0x22ba33++];_0x153586=_0x30ea88,_0x6bc7e7=_0x3992d3,_0x375c7a=_0x48f89f,_0x1ea58c=_0x22111a;}var _0x30ea88=(_0x5bdc70[_0x153586>>>0x18]<<0x18|_0x5bdc70[_0x6bc7e7>>>0x10&0xff]<<0x10|_0x5bdc70[_0x375c7a>>>0x8&0xff]<<0x8|_0x5bdc70[_0x1ea58c&0xff])^_0x2b9364[_0x22ba33++],_0x3992d3=(_0x5bdc70[_0x6bc7e7>>>0x18]<<0x18|_0x5bdc70[_0x375c7a>>>0x10&0xff]<<0x10|_0x5bdc70[_0x1ea58c>>>0x8&0xff]<<0x8|_0x5bdc70[_0x153586&0xff])^_0x2b9364[_0x22ba33++],_0x48f89f=(_0x5bdc70[_0x375c7a>>>0x18]<<0x18|_0x5bdc70[_0x1ea58c>>>0x10&0xff]<<0x10|_0x5bdc70[_0x153586>>>0x8&0xff]<<0x8|_0x5bdc70[_0x6bc7e7&0xff])^_0x2b9364[_0x22ba33++],_0x22111a=(_0x5bdc70[_0x1ea58c>>>0x18]<<0x18|_0x5bdc70[_0x153586>>>0x10&0xff]<<0x10|_0x5bdc70[_0x6bc7e7>>>0x8&0xff]<<0x8|_0x5bdc70[_0x375c7a&0xff])^_0x2b9364[_0x22ba33++];_0x17f479[_0x3805d1]=_0x30ea88,_0x17f479[_0x3805d1+0x1]=_0x3992d3,_0x17f479[_0x3805d1+0x2]=_0x48f89f,_0x17f479[_0x3805d1+0x3]=_0x22111a;},'keySize':0x100/0x20});_0x667c30[_0x355668(0x33f)]=_0x12ad32[_0x355668(0x251)](_0x44a178);}()),_0x5d2df6[_0x5d33bc(0x33f)];}));}(Ve)),Ve[_0x52a0d4(0x19d)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();function _0x5654(_0x41bf99,_0x3ea443){var _0x108a13=_0x108a();return _0x5654=function(_0x565441,_0x5b18d2){_0x565441=_0x565441-0xe6;var _0x2d90f0=_0x108a13[_0x565441];return _0x2d90f0;},_0x5654(_0x41bf99,_0x3ea443);}const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x2ece9e(0x19d)],si;function Nn(){var _0x37e85b=_0x2ece9e;return si||(si=0x1,function(_0x5cd5f6,_0x2ae852){(function(_0x21629d,_0xfefdf){var _0x113fac=_0x5654;_0x5cd5f6[_0x113fac(0x19d)]=_0xfefdf(te());}(yn,function(_0x24ab8c){var _0x4d1a9b=_0x5654;return _0x24ab8c['enc'][_0x4d1a9b(0x344)];}));}(Xe)),Xe[_0x37e85b(0x19d)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x2ece9e(0x19d)],ni;function wn(){var _0x229235=_0x2ece9e;return ni||(ni=0x1,function(_0x362d37,_0x51142b){(function(_0x4cb6b9,_0x30facc){var _0x3a33a6=_0x5654;_0x362d37[_0x3a33a6(0x19d)]=_0x30facc(te());}(An,function(_0x34a2bc){var _0x5c4dae=_0x5654;return(function(){var _0x441c4a=_0x5654;if(typeof ArrayBuffer==_0x441c4a(0xf2)){var _0x1f913c=_0x34a2bc,_0x50c046=_0x1f913c[_0x441c4a(0x2c0)],_0x4aaa05=_0x50c046['WordArray'],_0x29b0cb=_0x4aaa05[_0x441c4a(0x292)],_0x189034=_0x4aaa05[_0x441c4a(0x292)]=function(_0x2a67b7){var _0x52f97e=_0x441c4a;if(_0x2a67b7 instanceof ArrayBuffer&&(_0x2a67b7=new Uint8Array(_0x2a67b7)),(_0x2a67b7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a67b7 instanceof Uint8ClampedArray||_0x2a67b7 instanceof Int16Array||_0x2a67b7 instanceof Uint16Array||_0x2a67b7 instanceof Int32Array||_0x2a67b7 instanceof Uint32Array||_0x2a67b7 instanceof Float32Array||_0x2a67b7 instanceof Float64Array)&&(_0x2a67b7=new Uint8Array(_0x2a67b7[_0x52f97e(0x247)],_0x2a67b7[_0x52f97e(0xf6)],_0x2a67b7['byteLength'])),_0x2a67b7 instanceof Uint8Array){for(var _0x4a4ada=_0x2a67b7['byteLength'],_0x7d1f80=[],_0x50ad5f=0x0;_0x50ad5f<_0x4a4ada;_0x50ad5f++)_0x7d1f80[_0x50ad5f>>>0x2]|=_0x2a67b7[_0x50ad5f]<<0x18-_0x50ad5f%0x4*0x8;_0x29b0cb[_0x52f97e(0x267)](this,_0x7d1f80,_0x4a4ada);}else _0x29b0cb[_0x52f97e(0x36f)](this,arguments);};_0x189034[_0x441c4a(0x3cb)]=_0x4aaa05;}}()),_0x34a2bc[_0x5c4dae(0x2c0)][_0x5c4dae(0x2ac)];}));}(Ze)),Ze[_0x229235(0x19d)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x2ece9e(0x19d)],ri;function xn(){var _0x3ea5fd=_0x2ece9e;return ri||(ri=0x1,function(_0x1967fe,_0x1e8030){(function(_0x366f25,_0x423d9a,_0x207dd2){_0x1967fe['exports']=_0x423d9a(te(),Ni());}(Mn,function(_0x39c6dd){var _0x2ab871=_0x5654;return _0x39c6dd[_0x2ab871(0x140)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x39c6dd[_0x2ab871(0x140)][_0x2ab871(0x326)];}));}(Qe)),Qe[_0x3ea5fd(0x19d)];}var kn=xn();const $n=$e(kn);function Hn(_0x32bf41,_0x29bf4a){var _0x42255b=_0x2ece9e;const _0x37508f=_0x29bf4a-_0x32bf41[_0x42255b(0x287)]%_0x29bf4a,_0x4272ef=String[_0x42255b(0x30c)](_0x37508f)[_0x42255b(0x2ae)](_0x37508f);return _0x32bf41+_0x4272ef;}function Bn(_0x299dbf,_0x54d8a7){var _0x3a33b0=_0x2ece9e;const _0x21f402=Ln[_0x3a33b0(0x22c)](0x10),_0x46c07a=Hn(_0x299dbf,0x10),_0x54eeeb=bn[_0x3a33b0(0x2dd)](Un[_0x3a33b0(0x39b)](_0x46c07a),ii[_0x3a33b0(0x39b)](_0x54d8a7),{'iv':_0x21f402,'padding':$n});return _0x21f402[_0x3a33b0(0x3b7)](_0x54eeeb[_0x3a33b0(0x165)])[_0x3a33b0(0x2a7)](ii);}function jn(){var _0x2a4bc4=_0x2ece9e;const _0xf1158e=_0x8cf959()[_0x2a4bc4(0x273)];if(_0xf1158e){const _0x4bc8b1={'time':Math[_0x2a4bc4(0x18f)](Date[_0x2a4bc4(0x115)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x2a4bc4(0x241)](_0x4bc8b1),_0xf1158e);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x31e8df,_0x470392,_0x16cd94,_0x2b6fdc)=>{var _0x590ec8=_0x2ece9e;for(var _0x2ad960=_0x2b6fdc>0x1?void 0x0:_0x2b6fdc?Fn(_0x470392,_0x16cd94):_0x470392,_0x21c642=_0x31e8df[_0x590ec8(0x287)]-0x1,_0x4dc2c7;_0x21c642>=0x0;_0x21c642--)(_0x4dc2c7=_0x31e8df[_0x21c642])&&(_0x2ad960=_0x4dc2c7(_0x2ad960)||_0x2ad960);return _0x2ad960;},Gn=(_0x2ff891,_0x155e38)=>(_0x487ec1,_0x2fb510)=>_0x155e38(_0x487ec1,_0x2fb510,_0x2ff891);let at=class{constructor(_0xcf7d73){var _0x85bede=_0x2ece9e;this[_0x85bede(0x3b8)]=_0xcf7d73,this[_0x85bede(0x38a)]();}[_0x2ece9e(0x38a)](){var _0x115655=_0x2ece9e;this['_httpService'][_0x115655(0x37a)]({'interceptor':(_0x4d139c,_0x3ebe8d)=>{var _0x2a4694=_0x115655;const _0x1d0a18=_0x4d139c[_0x2a4694(0x2ad)],_0x587e57=jn();return _0x587e57&&_0x1d0a18[_0x2a4694(0x2c9)](_0x2a4694(0x36e),_0x587e57),_0x3ebe8d(_0x4d139c);}});}};at=Vn([Gn(0x0,_0x5d0e22(_0x5a566d))],at);var Wn=Object[_0x2ece9e(0x10f)],Yn=(_0x41b781,_0x4b2b96,_0x57084c,_0x2367a9)=>{var _0x35530f=_0x2ece9e;for(var _0x37885d=_0x2367a9>0x1?void 0x0:_0x2367a9?Wn(_0x4b2b96,_0x57084c):_0x4b2b96,_0x8d4bea=_0x41b781[_0x35530f(0x287)]-0x1,_0x3ffa52;_0x8d4bea>=0x0;_0x8d4bea--)(_0x3ffa52=_0x41b781[_0x8d4bea])&&(_0x37885d=_0x3ffa52(_0x37885d)||_0x37885d);return _0x37885d;},vt=(_0xb6a0da,_0xd79586)=>(_0x356a07,_0x3e0a0f)=>_0xd79586(_0x356a07,_0x3e0a0f,_0xb6a0da);let Ct=class extends _0x4f35f0{constructor(_0x45e88d,_0x35d831,_0x1c9c60){var _0x3f919f=_0x2ece9e;super(),N(this,_0x3f919f(0x181),new _0x3e82de(null)),N(this,_0x3f919f(0x26c),this[_0x3f919f(0x181)][_0x3f919f(0x17e)]()),(this[_0x3f919f(0x32a)]=_0x45e88d,this[_0x3f919f(0x37f)]=_0x35d831,this[_0x3f919f(0x3a1)]=_0x1c9c60);}async[_0x2ece9e(0xff)](_0x3186b4,_0x157a26,_0x5c6376){var _0x41ad68=_0x2ece9e;this[_0x41ad68(0x181)][_0x41ad68(0x113)]({'unitId':_0x3186b4,'type':_0x157a26});let _0x279598=null;switch(_0x157a26){case Z[_0x41ad68(0x10c)]:{_0x279598=await this['_snapshotService']['loadSheet'](_0x3186b4,_0x5c6376);break;}case Z[_0x41ad68(0x18e)]:{_0x279598=await this[_0x41ad68(0x37f)]['loadDoc'](_0x3186b4,_0x5c6376);break;}default:{this[_0x41ad68(0x32a)][_0x41ad68(0x306)](_0x41ad68(0x1cc),_0x41ad68(0x1b3));break;}}return _0x279598;}async[_0x2ece9e(0x234)](_0x515d12,_0x51f6a9,_0x427f84){var _0x5f0934=_0x2ece9e,_0x27c177;this[_0x5f0934(0x181)][_0x5f0934(0x113)]({'unitId':_0x515d12,'type':_0x51f6a9,'subUnitId':_0x427f84});let _0x13337e=0x0;const _0x1236c7=await((_0x27c177=this[_0x5f0934(0x3a1)])==null?void 0x0:_0x27c177[_0x5f0934(0x1dd)](_0x515d12));return _0x1236c7&&(_0x1236c7[_0x5f0934(0x347)]||_0x1236c7[_0x5f0934(0x18d)][_0x5f0934(0x287)]!==0x0)&&(_0x13337e=_0x1236c7[_0x5f0934(0x100)]),_0x13337e===0x0&&this[_0x5f0934(0x32a)][_0x5f0934(0x30e)](_0x5f0934(0x1cc),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5f0934(0xff)](_0x515d12,_0x51f6a9,_0x13337e);}};Ct=Yn([vt(0x0,_0x543a8d),vt(0x1,_0x5d0e22(_0x4a350d)),vt(0x2,_0x28b9d0(J))],Ct);var Kn=Object[_0x2ece9e(0x10f)],qn=(_0x57c611,_0x2e3f4f,_0x58b24a,_0x242c53)=>{var _0x9fb870=_0x2ece9e;for(var _0xe888e1=_0x242c53>0x1?void 0x0:_0x242c53?Kn(_0x2e3f4f,_0x58b24a):_0x2e3f4f,_0x2018d6=_0x57c611[_0x9fb870(0x287)]-0x1,_0x310876;_0x2018d6>=0x0;_0x2018d6--)(_0x310876=_0x57c611[_0x2018d6])&&(_0xe888e1=_0x310876(_0xe888e1)||_0xe888e1);return _0xe888e1;},pt=(_0x5e973a,_0x1e7d5b)=>(_0x29083b,_0x3cea73)=>_0x1e7d5b(_0x29083b,_0x3cea73,_0x5e973a);const zn=[_0x2ece9e(0xed),_0x2ece9e(0x166),_0x2ece9e(0x2b0),_0x2ece9e(0x145),_0x2ece9e(0x2e5)],Jn=0x5*0x400*0x400,Xn=_0x2ece9e(0x2c3),Zn=_0x2ece9e(0x2a4),Qn=_0x2ece9e(0x182),er=_0x2ece9e(0x1f7);let Rt=class{constructor(_0x36635e,_0x508eff,_0x347ba1){var _0x5f59de=_0x2ece9e;N(this,'_waitCount',0x0),N(this,_0x5f59de(0x16a),new _0x2bde7c()),N(this,_0x5f59de(0x2ea),this[_0x5f59de(0x16a)]),N(this,'_imageSourceCache',new Map()),(this[_0x5f59de(0x3b8)]=_0x36635e,this[_0x5f59de(0x1bf)]=_0x508eff,this['_univerInstanceService']=_0x347ba1);}[_0x2ece9e(0x282)](_0xbba5da){var _0x282e8a=_0x2ece9e;this[_0x282e8a(0x2ba)]=_0xbba5da,this[_0x282e8a(0x16a)][_0x282e8a(0x113)](_0xbba5da);}['getImageSourceCache'](_0x2c6649,_0x422dec){var _0x4432f0=_0x2ece9e;if(_0x422dec===_0x237891[_0x4432f0(0x3b0)]){const _0x3169eb=new Image();return _0x3169eb[_0x4432f0(0x36b)]=_0x2c6649,_0x3169eb;}return this['_imageSourceCache'][_0x4432f0(0x348)](_0x2c6649);}[_0x2ece9e(0x184)](_0x52807d,_0x9d5875,_0x1b01ed){var _0x590dab=_0x2ece9e;_0x9d5875===_0x237891[_0x590dab(0x3b0)]||_0x1b01ed==null||this[_0x590dab(0x224)]['set'](_0x52807d,_0x1b01ed);}async[_0x2ece9e(0x28d)](_0x2f1261){var _0x4fba4c=_0x2ece9e;try{const _0x2944cb=this[_0x4fba4c(0x1ac)](this[_0x4fba4c(0x105)](),''+_0x2f1261),_0x2c74e2=(await this[_0x4fba4c(0x3b8)][_0x4fba4c(0x348)](_0x2944cb))[_0x4fba4c(0x2f5)];if(_0x2c74e2['error']&&_0x2c74e2[_0x4fba4c(0x306)][_0x4fba4c(0x110)]===pi['OK']){const _0x5da4d3=new URL(_0x2c74e2[_0x4fba4c(0x19c)],this[_0x4fba4c(0x2cd)]())[_0x4fba4c(0x2a7)]();return Promise[_0x4fba4c(0x167)](_0x5da4d3);}return Promise[_0x4fba4c(0x323)](_0x2c74e2[_0x4fba4c(0x306)]);}catch(_0x50ca4d){return Promise['reject'](_0x50ca4d);}}async['saveImage'](_0x64bb3e){var _0x145308=_0x2ece9e;let _0x2000dd='';if(!zn[_0x145308(0xef)](_0x64bb3e['type']))return this[_0x145308(0x1f4)](),Promise['reject'](new Error(_0x785d80['ERROR_IMAGE_TYPE']));if(_0x64bb3e['size']>Jn)return this[_0x145308(0x1f4)](),Promise[_0x145308(0x323)](new Error(_0x785d80['ERROR_EXCEED_SIZE']));try{const _0x51bff0=new FormData();_0x51bff0['append'](_0x145308(0xfa),_0x64bb3e);const _0x1b3972=this[_0x145308(0x2d3)][_0x145308(0x2fc)](),_0x20fb58=_0x1b3972==null?void 0x0:_0x1b3972['getUnitId']();if(!_0x20fb58)throw new Error(_0x145308(0x2b2));const _0xce2f43=this[_0x145308(0x155)]()+'?size='+_0x64bb3e['size'][_0x145308(0x2a7)]()+_0x145308(0x311)+mi[_0x145308(0x336)]+_0x145308(0x367)+encodeURIComponent(_0x20fb58),_0x1bee52={'body':_0x51bff0},_0xea0a37=(await this[_0x145308(0x3b8)][_0x145308(0x393)](_0xce2f43,_0x1bee52))[_0x145308(0x2f5)];if(typeof _0xea0a37[_0x145308(0x38c)]!=_0x145308(0x365))return this[_0x145308(0x1f4)](),Promise['reject'](new Error(_0x785d80[_0x145308(0x197)]));_0x2000dd=_0xea0a37['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x145308(0x323)](new Error(_0x785d80[_0x145308(0x197)]));}return new Promise((_0x318b67,_0x2965a0)=>{var _0x5ba187=_0x145308;const _0x287004=new FileReader();_0x287004[_0x5ba187(0x3d4)](_0x64bb3e),_0x287004[_0x5ba187(0x356)]=_0x3dd926=>{var _0x2f3394=_0x5ba187,_0x21ec91;const _0x534e2a=(_0x21ec91=_0x3dd926[_0x2f3394(0x37c)])==null?void 0x0:_0x21ec91['result'];if(_0x534e2a==null){this['_decreaseWaiting'](),_0x2965a0(new Error(_0x785d80['ERROR_IMAGE']));return;}const _0x39483b=_0x236cf9['generateRandomId'](0x6);_0x318b67({'imageId':_0x39483b,'imageSourceType':_0x237891[_0x2f3394(0x2ec)],'source':_0x2000dd,'base64Cache':_0x534e2a,'status':_0x785d80[_0x2f3394(0x23c)]}),this[_0x2f3394(0x1f4)]();};});}[_0x2ece9e(0x155)](){var _0x224c21=_0x2ece9e,_0x1a1cc2,_0x479f0b;const _0x1088e0=this[_0x224c21(0x1bf)]['getConfig'](Xn),_0xe03ec0=this[_0x224c21(0x1bf)][_0x224c21(0x168)](K);return(_0x479f0b=(_0x1a1cc2=_0xe03ec0==null?void 0x0:_0xe03ec0[_0x224c21(0x3cd)])!=null?_0x1a1cc2:_0x1088e0)!=null?_0x479f0b:Zn;}[_0x2ece9e(0x105)](){var _0x3fcffd=_0x2ece9e,_0x525aaf,_0x15e6dc;const _0x544d10=this[_0x3fcffd(0x1bf)]['getConfig'](Qn),_0x1e702b=this['_configService'][_0x3fcffd(0x168)](K);return(_0x15e6dc=(_0x525aaf=_0x1e702b==null?void 0x0:_0x1e702b['signUrlServerUrl'])!=null?_0x525aaf:_0x544d10)!=null?_0x15e6dc:er;}[_0x2ece9e(0x2cd)](){var _0x4ffb6c=_0x2ece9e,_0x2356d1;const _0x454f26=this['_configService'][_0x4ffb6c(0x168)](K);return(_0x2356d1=_0x454f26==null?void 0x0:_0x454f26['downloadEndpointUrl'])!=null?_0x2356d1:location[_0x4ffb6c(0x370)];}['_replaceFileID'](_0x5e2b96,_0x316f44){var _0x13c3c2=_0x2ece9e;return _0x5e2b96['replace'](_0x13c3c2(0x1d8),_0x316f44);}[_0x2ece9e(0x1f4)](){var _0x255ae9=_0x2ece9e;this[_0x255ae9(0x2ba)]-=0x1,this[_0x255ae9(0x16a)][_0x255ae9(0x113)](this[_0x255ae9(0x2ba)]);}};Rt=qn([pt(0x0,_0x5d0e22(_0x5a566d)),pt(0x1,_0x58661f),pt(0x2,_0x5d0e22(_0x445269))],Rt);var tr=Object[_0x2ece9e(0x10f)],ir=(_0x30df6f,_0x55aec6,_0x4f267b,_0x12110b)=>{var _0x10519c=_0x2ece9e;for(var _0x4de8eb=_0x12110b>0x1?void 0x0:_0x12110b?tr(_0x55aec6,_0x4f267b):_0x55aec6,_0x43604b=_0x30df6f[_0x10519c(0x287)]-0x1,_0xf88bfc;_0x43604b>=0x0;_0x43604b--)(_0xf88bfc=_0x30df6f[_0x43604b])&&(_0x4de8eb=_0xf88bfc(_0x4de8eb)||_0x4de8eb);return _0x4de8eb;},ai=(_0x143ce0,_0x21b52d)=>(_0x39f073,_0x26f27a)=>_0x21b52d(_0x39f073,_0x26f27a,_0x143ce0);const sr=_0x2ece9e(0x305);let bt=class{constructor(_0x43b3c1,_0x1da39c){var _0x4bf7d5=_0x2ece9e;this[_0x4bf7d5(0x1bf)]=_0x43b3c1,this[_0x4bf7d5(0x154)]=_0x1da39c;}[_0x2ece9e(0x304)](){var _0x5c5ce4=_0x2ece9e,_0x34a10e,_0x1bf3a3;const _0x577f96=this[_0x5c5ce4(0x1bf)][_0x5c5ce4(0x168)](bi),_0x49c0c3=this[_0x5c5ce4(0x1bf)][_0x5c5ce4(0x168)](K);return(_0x1bf3a3=(_0x34a10e=_0x49c0c3==null?void 0x0:_0x49c0c3[_0x5c5ce4(0x157)])!=null?_0x34a10e:_0x577f96)!=null?_0x1bf3a3:sr;}async[_0x2ece9e(0x125)](_0x3c2f0d){var _0xcacae2=_0x2ece9e;const _0x345ee3=this[_0xcacae2(0x304)]()+_0xcacae2(0x320);return{'list':[{'title':_0xcacae2(0x26b),'mentions':(await this[_0xcacae2(0x154)][_0xcacae2(0x348)](_0x345ee3,{'params':{'objectID':_0x3c2f0d[_0xcacae2(0x1f6)],'unitID':_0x3c2f0d[_0xcacae2(0x1f6)]}}))[_0xcacae2(0x2f5)][_0xcacae2(0x106)][_0xcacae2(0x128)](_0x57c2bb=>({'objectId':_0x57c2bb['id'],'name':_0x57c2bb['subject'][_0xcacae2(0x195)],'metadata':{'icon':_0x57c2bb[_0xcacae2(0x163)][_0xcacae2(0x25e)]},'label':_0x57c2bb[_0xcacae2(0x163)][_0xcacae2(0x195)],'objectType':_0x2f400d['PERSON']})),'metadata':{},'type':_0x2f400d[_0xcacae2(0x29c)]}]};}};function _0x108a(){var _0xbb90d2=['getLatestCsReqIdBySid','has','hasher','session.room-full','UNKNOWN_CMD','buffer','removeMember','cmd','_hash','sin','_parse','getTypeOfUnitAdded$','INVALID_ARGUMENT','getCollabEntity$','getUnitOnRev','_createHelper','CONFLICT','userID','message$','/role','_applyRemoteChangeset','onRemoteAck','setShowComponents','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','IDLE','_permissionService','_nRounds','getCurrentSelections','avatar','APPLY_PERMISSION_DENIED','_startCollaboration','5336WgkXaA','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_joinRoom','_socket','members','JOIN','call','EMAIL_HAS_BEEN_BOUND','_injector','onStateChange','People','unitInfo$','words','APPLY_REVISION_CONFILICT','disableLocalCache','\x0aAfter:\x20','LIVESHARE_NEW_HOST','_transformStateCache','__Key__','awaiting_with_pending','/resources','sid','_clearRetryConnectingTimer','findIndex','_unlockTransition','RETRY_CONNECTING_MAX_COUNT','localCacheService','_entityInit$','selections','unpad','salt','_config','INGEST','setWaitCount','TOO_MANY_REQUESTS','\x20to\x20','session.room-not-exists','_getCtorByUniverType','length','_sendHeartbeatTimer','BufferedBlockAlgorithm','MUTATION','createCollaborator','every','getImage','editingUnit','\x20in\x20_schedule.','liveShareOperation','_getUndoStack','init','[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.','roomInfos','_initCloseConn','SUBMIT_CHANGESET_TIMEOUT','_retryCount','_queuedRemoteChangesets','/unit/','_syncEditingCollabCursor','collaMsg','PERSON','LOGIN_URL_KEY','FETCH_MISSING','APPLY_REJECT','complete','_collaborationTimeoutTimer','batchAllowed','connection\x20error','/universer-api/stream/file/upload','kdf','_resendTimer','toString','updateOfflineData','appendMutation','charAt','transformSelections','WordArray','headers','repeat','/object/','image/jpg','updateSnapshot','unitId\x20is\x20not\x20found','eventID','Failed\x20to\x20update\x20permission\x20point','_sender','ENSURE_SNAPSHOT_EXECUTION','status$','disposeWithMe','_xformMode','_waitCount','values','onTransformRemoteChangesetByStateCache','format','FAIL','_changesetReqId','lib','_acknowledgedAwaitingChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','OPTIONAL','_doProcessBlock','_toggleOffline','__creator','_roomMembers','set','reduce','COMPRESS_MUTATION_SEND','getRandomValues','_getDownloadEndpointURL','params','send','getUnitId','_type','?url=','_univerInstanceService','getMember','_clearLocalCache','INVALID_INVITE_CODE','_telemetryService','_collaborationPaused','blockSize','_onConnectionOpen','CLOSE_ROOM','_removeRoom','encrypt','[CollaborationUndoRedoService]','_handlerCallback','Base','Could\x20not\x20dynamically\x20require\x20\x22','_memberService','localeService','YUUMI_ASYNCIO_CANCELLED','image/bmp','_minBufferSize','csAckEvent','listCollaborators','LEAVE','change$','_changesetSessionId','UUID','update','JOIN_ROOM_NOT_EXISTS','reset','11550qDbWBh','_onCombEvent','_socketReady','objectType','_collaborationSessionService','body','_doFinalize','confirm','session','FETCH_MISS','_onUserJoin','setCurrentUser','getFocusedUnit','refreshPermission','min','objects','setConfig','CHANGESET_REVISION_CONFILICT','put','[FetchMissState]','_getAPIPrefixPath','/universer-api/authz','error','BlockCipher','[SyncedState]:\x20received\x20acknowledgement.','loginUrlKey','_checkMissing','_nDataBytes','fromCharCode','_updateState','debug','memberID','_replayCachedMutations','&source=','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','waitForRoom$','type','sessionStatus$','equals','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onTransformState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','CHANGESET_SHOULD_RETRY','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_SERVER_URL_KEY','revision','action','_getCurrentRevision','/collaborator','onTransformIME','originalMeta','reject','CHANGESET_ACK','_initMergeInterceptor','NoPadding','_doReset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','YUUMI_RATE_OVER_LIMIT','_logService','getTypeOfUnitDisposed$','indexOf','COMPRESS_MUTATION_APPLY','fetchThroughInterceptors','YUUMI_URL_COL_OUT_OF_RANGE','_showConflictNotification','_telemetryInfo','COLLAB_SUBMIT_CHANGESET_URL','_state','_resendWithTimeout','ALREADY_EXISTS','UnitEmbedded','_transitionLocked','USERS_LEAVE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_IMPORT_SIZE_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','dispose','execute','_key','AES','ONLINE','delete','saveChangeset','5TSOnzO','Utf8','_transformRemoteChangesetByIMECache','_socket$','awaitingChangeset','get','msCrypto','Hex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','cfg','_append','_oKey','StreamCipher','INVITE_CODE_REQUIRED','from','_mode','_data','_lockTransition','onload','_transformStack','_iv','_onConflict','JOIN_ROOM_PERMISSION_DENIED','error$','_toggleOnline','_singleActiveUnitService','c1Prime','_initUnitPermissionChange','_onRemoteRejected','_doCryptBlock','HMAC','_clearUndo','executeCommand','string','__esModule','&assign=','YUUMI_UNABLE_LOAD_URL','_getLoginPath','_startTelemetryCollaborationNewChangeset','src','[CollaborationEntity]','_getRedoStack','x-univer-host','apply','origin','univer-pro.collaboration-client-socket-service','40flZhwf','online$','actions','_compressMutationService','push','getUnit','[CollaborationSession]','SNAPSHOT_URL_KEY','registerHTTPInterceptor','sigBytes','target','JOINING','UNIVER_UNKNOWN','_snapshotService','close$','socket\x20close','override','putCollaborators','conflict','getRoom','_initDependencies','leaveEvent','_awaitingChangeset','getCurrentUser','_initRequestHeader','JOIN_ROOM_FAILED','FileId','encode','startTime','/new_changes','1506483mIbAZG','collaboration-client.local-cache-service','YUUMI_NO_CUBOID_FOR_QUESTION','post','_isPermissionRej','fetch_missing','30KLaYrX','/object','_transformRemoteChangesetByStateCache','createEncryptor','/universer-api/snapshot/','parse','/universer-api/uniscript','responseType','YUUMI_SUBSCRIPTION_NOT_FOUND','/allowed','PERMISSION_REJ','_localCacheService','&to=','randomBytes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Undefined','compute','HEARTBEAT','close','APPLY_DUPLICATED','max','_createHmacHelper','UNKNOWN_CODE','substr','splice','pending','BASE64','INVITE_CODE_HAS_BEEN_UES','mode','sessionStatus','pipe','_disableEditing','getSheetBlock','concat','_httpService','NEW_CHANGESETS','_commandService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_submitChangeset','clear','getInterceptPoints','26361996vQDYPD','processBlock','decrypt','socket$','UserProfileImg','_networkConditionService','objectID','COLLAB_WEB_SOCKET_URL','_ENC_XFORM_MODE','incrementRevOfUnit','_pendingMutations','_getAPIPrefix','prototype','_transformService','uploadFileServerUrl','\x20-\x20','isPermissionRej','WECHAT_HAS_BEEN_BOUND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','POST','_instanceService','readAsDataURL','5980950kAPruC','YUUMI_ALL_TABLES_IS_INVALID','snapshotServerUrl','_onConnectionFailed','YUUMI_AI_RUN_FAILED','textRanges','closeSession','onRemoteRetry','state$','[CollaborationSessionService]','_onRemoteRetry','image/png','OTHER_CLIENT_EDITING','includes','getSnapshotAPIPath','CHANGESET_REJ','function','createInstance','onRemoteRej','_sessionStatus$','byteOffset','SOCKET_FAILED','_scheduleCollaborationTimeoutTimer','method','file','HEARTBEAT_INTERVAL','algo','onMissedChangesetFetched','INVITE_CODE_ALREADY_BOUND','loadUnitOfRevision','rev','onSendChangeset','_invKeySchedule','UPDATE_CURSOR','_doCreateSocket','_getSignURL','collaborators','filter','catch','CONNECTOR_DATA_TOO_LARGE','open$','_remoteChangesetQueue','UNIVER_SHEET','size','Encryptor','getOwnPropertyDescriptor','code','onSyncEditingCollabCursor','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','next','_iKey','now','stopTime','LIVESHARE_OPERATION','slice','_event$','_rescheduleHeartbeat','_createHandler','SHOULD_CLOSE_CONN','_init','LIVESHARE_TERMINATE','saveSnapshot','transformChangesets','_status$','_members','UnitSnapshot','/block/','list','_onRecvEvent','collaboration_new_changeset','map','JOIN_ROOM_FULL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','entityInit$','HELLO','transformUndoRedo','add','HttpExport','210170LCGjzR','_snapshotServerService','_handler','_sheetTransformSelectionsService','extend','clamp','default','/universer-api/oidc/authpage','[PendingState]:\x20received\x20rejection.','interceptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteChangeset','OTHER_CLIENTS_EDITING','_executeRemoteChangeset','subscribe','pad','sendChangesetTimeout','transformStack\x20failed!','_hasher','createDecryptor','image/gif','dispose$','_stopTelemetryCollaborationNewChangeset','readInt32LE','HEARTBEAT_TIMEOUT','toggleOnline','_onFetchMissResult','_createInitialStateImpl','updateCursorEvent','_transformIMECache','transformMutationsWithChangeset','_onOffline','initWorkbookPermissionChange','_createSocket','withCredentials','_HTTPService','_getUploadFileURL','sheets','authzUrl','fetchMissingChangesets','USERS_ENTER','[OfflineState]:\x20received\x20rejection.','workbook','UNISCRIPT_RUN','getMemberID','HttpImport','finalize','_state$','title','SerializableCipher','subject','location','ciphertext','image/jpeg','resolve','getConfig','SYNCED','_change$','event$','/universer-api/user/session-ticket','INTERNAL_ERROR','_unitID','updatePermissionPoint','_sessions','getCollabEntity','USER_NOT_INVITED_CODE','RECV','status','_undoRedoService','_timeoutTimer','_members$','key','auth.needGotoLoginAlert','UNIVER_PROJECT','onTransformSelections','Base64','enc','asObservable','fromCollab','state','_unitInfo$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_commentService','addImageSourceCache','_clearScheduledTask','shouldCloseConn','NO_OTHER_CLIENTS_EDITING','requireSession','join','updatePermissionObjEvent','[PendingState]:\x20received\x20acknowledgement.','$super','mutations','UNIVER_DOC','floor','_keySchedule','_userManagerService','_collabSessionService','_throwTelemetryCollaborationNewChangeset','[UniverCollaborationClientPlugin]','name','SOCKET_FAILED_RETRY','ERROR_IMAGE','_process','LOGIN_FAILED','deepClone','deleteCollaborator','url','exports','Cipher','[SyncedState]:\x20received\x20rejection.','getCurrentRevOfUnit','_onLocalMutation','_resendTimeout','Decryptor','getTime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','result','unitID','SNAPSHOT_INVALID_SNAPSHOT','baseRev','liveShareNewHost','not_collab','_replaceFileID','abs','allowed','_transformUndoredo','csShouldRetryEvent','routeKey','_incrementRevisionNumber','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','keySize','data','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SHA1','_tryReconnect','collaboratorID','PERMISSION_DENIED','unsubscribe','_reverseMap','padding','_onMessage','_configService','_onJoinRoomEvent','enableCollaboration','getUnitType','_localeService','_onRemoteChangeset','iterations','AWAITING_WITH_PENDING','collaboration-client.config','_tryEnsureSocket','_updateStatus','MSG_FOR_ERROR','uniscriptRunEvent','[DataLoaderService]','_socketService','range','LIVESHARE_FETCH_OPERATIONS','_roomCreated$','clone','/rev/','telemetry\x20info\x20is\x20not\x20initialized','_clearCollaborationTimeoutTimer','isArray','Hasher','COMPLETION_FINISHED','{fileID}','compose','offline','_substituteRedoStack','m2Prime','loadOfflineData','_getSendChangesetTimeout','HmacMD5','_clearTimeoutTimer','EvpKDF','LICENSE_MAX_UNITS_EXCEEDED','3826275ZAfJFy','_shouldReportTelemetry','roles','OFFLINE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','NOT_COLLAB','crypto','hasOwnProperty','then','_entities','unknown','_revisionService','enableAuthServer','create','startsWith','charCodeAt','_registerDependencies','_decreaseWaiting','UNRECOGNIZED','unitId','/universer-api/file/{fileID}/sign-url','_transformSelections','copyFileMeta','_emitMembers','onCommentUpdate','synced','MD5','permissionRejEvent','focused$','fetchMiss','_exhaustRemoteChangesetQueue','getSheetId','APPLY_NON_SEQUENTIAL_REVISION','_retryConnectingTimer','subUnitId','_DEC_XFORM_MODE','save\x20fail\x20reason\x20is\x20','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','_socketMessageSubscription','_listenToNetworkCondition','_updateLocalCache','NOT_FOUND','_scheduleCompleteTimestamp','session.room-cnt-exceeds','mixIn','members$','LOCAL_CACHE_INTERVAL','ceil','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearRedo','onTransformRemoteChangesetByIMECache','getResourcesRequest','resend','_clearHeartbeatTimer','onMissingChangesets','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getDeserializedSheetBlock','forEach','Univer','emitEvent','toggleOffline','awaiting','/fetchmissing?from=','_prevBlock','_imageSourceCache','PSEUDO_FETCH_MISSING_RESULT','_candidateSocket','11VRVXIc','_eventService','updateMember','find','UNIVER_SLIDE','random','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','requestParams','UNDEFINED','36188YxPbcB','_collaborationUIEventService','joinRsp','SNAPSHOT_HAS_BEEN_REMOVED','loadUnit','/-/object/-/batch_allowed','reqId','patch','_commentUpdate$','_substituteUndoStack','SUBMIT_CHANGESET','_onUserLeave','SUCCUSS','CipherParams','_schedule','COMMENT_UPDATE','_createInitialState','stringify'];_0x108a=function(){return _0xbb90d2;};return _0x108a();}bt=ir([ai(0x0,_0x5d0e22(_0x58661f)),ai(0x1,_0x5d0e22(_0x5a566d))],bt);var nr=Object[_0x2ece9e(0x10f)],rr=(_0x3080f4,_0xf18067,_0x55e104,_0x5e3b30)=>{for(var _0x2264b4=_0x5e3b30>0x1?void 0x0:_0x5e3b30?nr(_0xf18067,_0x55e104):_0xf18067,_0x424b94=_0x3080f4['length']-0x1,_0x24d158;_0x424b94>=0x0;_0x424b94--)(_0x24d158=_0x3080f4[_0x424b94])&&(_0x2264b4=_0x24d158(_0x2264b4)||_0x2264b4);return _0x2264b4;},Ae=(_0x5e928e,_0x23aa34)=>(_0x2c0ba6,_0x29934b)=>_0x23aa34(_0x2c0ba6,_0x29934b,_0x5e928e);let ot=class extends _0x4f35f0{constructor(_0x4889cf,_0x3de40e,_0x58b773,_0x72c5ea,_0x53119a){var _0x29e7b3=_0x2ece9e;super(),this[_0x29e7b3(0x269)]=_0x4889cf,this[_0x29e7b3(0x2d3)]=_0x3de40e,this[_0x29e7b3(0x25b)]=_0x58b773,this[_0x29e7b3(0x2f4)]=_0x72c5ea,this['_collaborationUIEventService']=_0x53119a,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2ece9e(0x295)](){var _0x2f9d2c=_0x2ece9e;const _0x88ccd6=async _0x247c33=>{var _0x488909=_0x5654;(await this[_0x488909(0x2f4)][_0x488909(0x188)](_0x247c33))[_0x488909(0x16b)][_0x488909(0x3b4)](_0x14315c(_0x1bdce1=>_0x1bdce1[_0x488909(0x2b3)]===_0x285f19[_0x488909(0x11c)]),_0x426591(this[_0x488909(0x146)]))[_0x488909(0x13f)](_0x452416=>{var _0x1ed6b9=_0x488909;const _0x32b6cf=_0x452416,{reason:_0x2e6f06}=_0x32b6cf[_0x1ed6b9(0x1b5)];this[_0x1ed6b9(0x231)]['emitEvent']({'id':ne[_0x1ed6b9(0x2db)],'data':_0x2e6f06}),this[_0x1ed6b9(0x25b)][_0x1ed6b9(0x16f)](new _0x25237d(_0x247c33)['id'],!0x1),this[_0x1ed6b9(0x2f4)]['closeSession'](_0x247c33);});};_0x33691d(this[_0x2f9d2c(0x2d3)]['getTypeOfUnitAdded$'](_0x1e7470['UNIVER_SHEET']),this[_0x2f9d2c(0x2d3)][_0x2f9d2c(0x24d)](_0x1e7470[_0x2f9d2c(0x18e)]))['pipe'](_0x1b1f63(_0x41fc94=>_0x41fc94[_0x2f9d2c(0x2d0)]()),_0x14315c(_0x32bb54=>!_0x1d79a0(_0x32bb54)),_0x426591(this['dispose$']))[_0x2f9d2c(0x13f)](_0x1978ab=>{_0x88ccd6(_0x1978ab);});}[_0x2ece9e(0x35f)](){var _0x17a49f=_0x2ece9e;const _0x419f93=async _0x3e4db3=>{var _0x20d82f=_0x5654;const _0x3330fa=await this[_0x20d82f(0x2f4)]['requireSession'](_0x3e4db3),_0x24b480=this[_0x20d82f(0x269)][_0x20d82f(0x348)](_0x243820);_0x3330fa[_0x20d82f(0x16b)][_0x20d82f(0x3b4)](_0x14315c(_0x31bff4=>_0x31bff4[_0x20d82f(0x2b3)]===_0x285f19['UPDATE_PERMISSION_OBJ']),_0x426591(this[_0x20d82f(0x146)]))['subscribe'](_0x34ae5c=>{var _0x36a550=_0x20d82f;const _0xa222df=_0x34ae5c,{objectId:_0x5ede75}=_0xa222df[_0x36a550(0x1b5)];_0x5ede75===_0x3e4db3?_0x24b480[_0x36a550(0x151)](_0x3e4db3):_0x24b480[_0x36a550(0x2fd)](_0x3e4db3,_0x5ede75);});};_0x33691d(this[_0x17a49f(0x2d3)][_0x17a49f(0x24d)](_0x1e7470['UNIVER_SHEET']))['pipe'](_0x1b1f63(_0x502fe1=>_0x502fe1['getUnitId']()),_0x14315c(_0x452473=>!_0x1d79a0(_0x452473)),_0x426591(this[_0x17a49f(0x146)]))[_0x17a49f(0x13f)](_0x4d1336=>{_0x419f93(_0x4d1336);});}};ot=rr([Ae(0x0,_0x5d0e22(_0x4ddb89)),Ae(0x1,_0x445269),Ae(0x2,_0x24e934),Ae(0x3,_0x5d0e22(Le)),Ae(0x4,_0x5d0e22(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x4e98df,_0x2ea878,_0x7ec41,_0x538d78)=>{var _0x597b9d=_0x2ece9e;for(var _0x1b3250=_0x538d78>0x1?void 0x0:_0x538d78?ar(_0x2ea878,_0x7ec41):_0x2ea878,_0x4c86d3=_0x4e98df[_0x597b9d(0x287)]-0x1,_0x13731c;_0x4c86d3>=0x0;_0x4c86d3--)(_0x13731c=_0x4e98df[_0x4c86d3])&&(_0x1b3250=_0x13731c(_0x1b3250)||_0x1b3250);return _0x1b3250;},oi=(_0x48b445,_0x28bfee)=>(_0x30ed70,_0x218671)=>_0x28bfee(_0x30ed70,_0x218671,_0x48b445);let Ot=class{constructor(_0x44c494,_0x210723){var _0x583938=_0x2ece9e;this[_0x583938(0x1bf)]=_0x44c494,this[_0x583938(0x3b8)]=_0x210723;}async[_0x2ece9e(0x250)](_0x14e5f0,_0x356c2b){var _0x2e49b5=_0x2ece9e,_0x3ca7b2;const {unitID:_0x53bd64,type:_0x17ad01,revision:_0x1d2bd5=0x0}=_0x356c2b,_0x9d249=this[_0x2e49b5(0xf0)]()+'/'+_0x17ad01+_0x2e49b5(0x299)+_0x53bd64+_0x2e49b5(0x1d2)+_0x1d2bd5,_0x5786b9=(await this[_0x2e49b5(0x3b8)]['get'](_0x9d249))[_0x2e49b5(0x2f5)],_0x55b579=(_0x3ca7b2=_0x5786b9['snapshot'])==null?void 0x0:_0x3ca7b2[_0x2e49b5(0x15b)];if(_0x55b579){const _0x536327=_0x55b579==null?void 0x0:_0x55b579[_0x2e49b5(0x322)],_0xa39412=_0xb6ebea[_0x2e49b5(0x38d)](_0x3dd0b1(_0x536327));_0x55b579['originalMeta']=_0xa39412,Object['entries'](_0x55b579[_0x2e49b5(0x156)])[_0x2e49b5(0x21d)](([,_0x2de14b])=>{var _0x49bd9c=_0x2e49b5;const _0x2d5ae4=_0x2de14b[_0x49bd9c(0x322)],_0x376caf=_0xb6ebea[_0x49bd9c(0x38d)](_0x3dd0b1(_0x2d5ae4));_0x2de14b[_0x49bd9c(0x322)]=_0x376caf;});}return _0x5786b9;}async[_0x2ece9e(0x3b6)](_0x5dfde3,_0x5d6b80){var _0x527702=_0x2ece9e;const {unitID:_0x2268f1,type:_0x4de9d0,blockID:_0x10c0f7}=_0x5d6b80,_0x3cbb05=this[_0x527702(0x3ca)]()+'/'+_0x4de9d0+_0x527702(0x299)+_0x2268f1+_0x527702(0x124)+_0x10c0f7;return(await this['_httpService'][_0x527702(0x348)](_0x3cbb05))[_0x527702(0x2f5)];}async[_0x2ece9e(0x21c)](_0x43757e,_0x4b4009){var _0x16f649=_0x2ece9e;const {unitID:_0x4c1c4c,type:_0x5df3fb,blockID:_0x1d308c}=_0x4b4009,_0x1e695d=this[_0x16f649(0x3ca)]()+_0x16f649(0x124)+_0x5df3fb+_0x16f649(0x299)+_0x4c1c4c+_0x16f649(0x124)+_0x1d308c;return(await this[_0x16f649(0x3b8)][_0x16f649(0x348)](_0x1e695d))[_0x16f649(0x2f5)];}async[_0x2ece9e(0x158)](_0x5d7798,_0x21e58c){var _0x1975f6=_0x2ece9e;const {unitID:_0x20de8c,type:_0x335609,from:_0x5c5a2b,to:_0x28f0e8}=_0x21e58c,_0x308489=this['_getAPIPrefix']()+'/'+_0x335609+_0x1975f6(0x299)+_0x20de8c+_0x1975f6(0x222)+_0x5c5a2b+_0x1975f6(0x3a2)+_0x28f0e8;return(await this[_0x1975f6(0x3b8)][_0x1975f6(0x348)](_0x308489))[_0x1975f6(0x2f5)];}[_0x2ece9e(0xf0)](){var _0x1a9032=_0x2ece9e,_0x580c1a;return(_0x580c1a=this['_configService'][_0x1a9032(0x168)](ps))!=null?_0x580c1a:this[_0x1a9032(0x3ca)]();}[_0x2ece9e(0x3ca)](){var _0x41d9b2=_0x2ece9e,_0x5de163,_0x56f817;const _0x407577=this['_configService']['getConfig'](fs),_0x10936d=this[_0x41d9b2(0x1bf)][_0x41d9b2(0x168)](K);return(_0x56f817=(_0x5de163=_0x10936d==null?void 0x0:_0x10936d[_0x41d9b2(0x3d7)])!=null?_0x5de163:_0x407577)!=null?_0x56f817:vs;}async[_0x2ece9e(0x217)](_0x28d1c7,_0x60e8d2){var _0x876b87=_0x2ece9e;const _0x3279f1=_0x876b87(0x39a)+_0x60e8d2['type']+_0x876b87(0x299)+_0x60e8d2[_0x876b87(0x1a7)]+_0x876b87(0x275);return(await this[_0x876b87(0x3b8)]['get'](_0x3279f1,{'params':{'resourceId':JSON[_0x876b87(0x241)](_0x60e8d2['resourceIDs'])}}))[_0x876b87(0x2f5)];}[_0x2ece9e(0x11f)](){var _0x1f9f18=_0x2ece9e;throw new Error(_0x1f9f18(0x2c2));}[_0x2ece9e(0x2b1)](){var _0x415c63=_0x2ece9e;throw new Error(_0x415c63(0x2c2));}['saveSheetBlock'](){var _0x5be10e=_0x2ece9e;throw new Error(_0x5be10e(0x2c2));}[_0x2ece9e(0x342)](){var _0x632ffa=_0x2ece9e;throw new Error(_0x632ffa(0x2c2));}[_0x2ece9e(0x1f9)](){var _0x1f3812=_0x2ece9e;throw new Error(_0x1f3812(0x2c2));}[_0x2ece9e(0x242)](){var _0x15595b=_0x2ece9e;throw new Error(_0x15595b(0x2c2));}};Ot=or([oi(0x0,_0x58661f),oi(0x1,_0x5d0e22(_0x5a566d))],Ot);var cr=Object[_0x2ece9e(0x10f)],hr=(_0x4a191a,_0x21182f,_0x64e8e5,_0xac72df)=>{var _0x4db4b3=_0x2ece9e;for(var _0x586e1e=_0xac72df>0x1?void 0x0:_0xac72df?cr(_0x21182f,_0x64e8e5):_0x21182f,_0x10a8cb=_0x4a191a[_0x4db4b3(0x287)]-0x1,_0x1e15ab;_0x10a8cb>=0x0;_0x10a8cb--)(_0x1e15ab=_0x4a191a[_0x10a8cb])&&(_0x586e1e=_0x1e15ab(_0x586e1e)||_0x586e1e);return _0x586e1e;},we=(_0x3c7040,_0x5c150b)=>(_0x2b7acd,_0x14a276)=>_0x5c150b(_0x2b7acd,_0x14a276,_0x3c7040);let yt=class extends _0x4045bf{constructor(_0x5dca85,_0x279936,_0x285542,_0x4578a0,_0x482bd0){var _0x2ef74e=_0x2ece9e;super(_0x5dca85,_0x279936,_0x285542),this[_0x2ef74e(0x3cc)]=_0x4578a0,this['_logService']=_0x482bd0;}[_0x2ece9e(0x12d)](_0x506332,_0x2c7196){var _0x2568c0=_0x2ece9e;const _0x528b96=this[_0x2568c0(0x291)](_0x506332);if(_0x528b96)try{const _0x37c187=this[_0x2568c0(0x357)](_0x528b96,_0x2c7196);this[_0x2568c0(0x239)](_0x506332,_0x37c187);}catch(_0x29a1dd){this[_0x2568c0(0x32a)][_0x2568c0(0x306)](_0x2568c0(0x2de),_0x29a1dd),this['_clearUndo'](_0x506332);}const _0x271ddd=this[_0x2568c0(0x36d)](_0x506332);if(_0x271ddd)try{const _0x2f4ebe=this[_0x2568c0(0x357)](_0x271ddd,_0x2c7196);this['_substituteRedoStack'](_0x506332,_0x2f4ebe);}catch(_0x5d44e9){this[_0x2568c0(0x32a)]['error'](_0x5d44e9),this[_0x2568c0(0x215)](_0x506332);}}[_0x2ece9e(0x363)](_0x311c4b){var _0x5c71c5=_0x2ece9e;const _0x3a359d=this[_0x5c71c5(0x291)](_0x311c4b);_0x3a359d&&(_0x3a359d[_0x5c71c5(0x287)]=0x0,this[_0x5c71c5(0x1c9)]());}[_0x2ece9e(0x215)](_0x449d6d){var _0x4b8a5a=_0x2ece9e;const _0x50fb33=this[_0x4b8a5a(0x36d)](_0x449d6d);_0x50fb33&&(_0x50fb33[_0x4b8a5a(0x287)]=0x0,this[_0x4b8a5a(0x1c9)]());}['_substituteUndoStack'](_0x15443a,_0x5b4f95){var _0x4c6284=_0x2ece9e;this['_undoStacks'][_0x4c6284(0x2c9)](_0x15443a,_0x5b4f95),this[_0x4c6284(0x1c9)]();}[_0x2ece9e(0x1db)](_0x518caa,_0x342254){var _0xbf98ad=_0x2ece9e;this['_redoStacks'][_0xbf98ad(0x2c9)](_0x518caa,_0x342254),this[_0xbf98ad(0x1c9)]();}['_transformStack'](_0x41b7e6,_0x2cfbe7){var _0x79a119=_0x2ece9e;const _0x171edb=[];let _0x530f38=_0x2cfbe7,_0x3dbf38=_0x2cfbe7;for(let _0x2c866d=_0x41b7e6['length']-0x1;_0x2c866d>=0x0;_0x2c866d--){const {unitID:_0x39f99d,undoMutations:_0x4dd69b,redoMutations:_0x21c13e}=_0x41b7e6[_0x2c866d],_0x3ec50c=this[_0x79a119(0x3cc)][_0x79a119(0x14f)](_0x530f38,_0x4dd69b),_0x5b384d=this[_0x79a119(0x3cc)][_0x79a119(0x14f)](_0x3dbf38,_0x21c13e);if(_0x9875e3(_0x3ec50c)||_0x9875e3(_0x5b384d)){this[_0x79a119(0x32a)][_0x79a119(0x306)](_0x79a119(0x2de),_0x79a119(0x142),_0x3ec50c,_0x5b384d);break;}_0x530f38=_0x3ec50c[_0x79a119(0x35e)],_0x3dbf38=_0x5b384d[_0x79a119(0x35e)],_0x171edb[_0x79a119(0x376)]({'unitID':_0x39f99d,'undoMutations':_0x3ec50c[_0x79a119(0x1dc)],'redoMutations':_0x5b384d[_0x79a119(0x1dc)]});}return _0x171edb['reverse']();}};yt=hr([we(0x0,_0x445269),we(0x1,_0x1f7b12),we(0x2,_0x4a6e2e),we(0x3,_0x5893e1),we(0x4,_0x543a8d)],yt);var _r=Object['defineProperty'],lr=Object[_0x2ece9e(0x10f)],ur=(_0x4ed899,_0x3cfe18,_0xf35b2d)=>_0x3cfe18 in _0x4ed899?_r(_0x4ed899,_0x3cfe18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf35b2d}):_0x4ed899[_0x3cfe18]=_0xf35b2d,dr=(_0x26aa11,_0x31c1ae,_0x31b8ea,_0x10ba2a)=>{var _0x290458=_0x2ece9e;for(var _0xab8af=_0x10ba2a>0x1?void 0x0:_0x10ba2a?lr(_0x31c1ae,_0x31b8ea):_0x31c1ae,_0x2c1a1f=_0x26aa11[_0x290458(0x287)]-0x1,_0xf8af05;_0x2c1a1f>=0x0;_0x2c1a1f--)(_0xf8af05=_0x26aa11[_0x2c1a1f])&&(_0xab8af=_0xf8af05(_0xab8af)||_0xab8af);return _0xab8af;},mt=(_0x2c1b1e,_0x5768f2)=>(_0x321ed2,_0x236367)=>_0x5768f2(_0x321ed2,_0x236367,_0x2c1b1e),fr=(_0x2802bb,_0x1f72cf,_0x15a322)=>ur(_0x2802bb,_0x1f72cf+'',_0x15a322);const vr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x2ceb9a{constructor(_0x1c655f,_0x52ff1b,_0x1fa32f,_0x50213c){var _0x20a950=_0x2ece9e;super(),N(this,'_config'),(this['_logService']=_0x52ff1b,this[_0x20a950(0x269)]=_0x1fa32f,this[_0x20a950(0x1bf)]=_0x50213c);const {..._0x3c117d}=_0x23406e({},Ds,_0x1c655f);if(!_0x3c117d['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x20a950(0x280)]=_0x3c117d,this[_0x20a950(0x1bf)][_0x20a950(0x300)](K,_0x3c117d);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2ece9e(0x1f3)](){var _0x4fd066=_0x2ece9e,_0x2aa058,_0x52046a;this[_0x4fd066(0x269)][_0x4fd066(0x243)](_0x5f18b5)&&this[_0x4fd066(0x32a)][_0x4fd066(0x306)](_0x4fd066(0x194),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4a3fb1=_0x1b2dac([[_0x5f18b5,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x4fd066(0x280)]['socketService']}],[_0x39bfb3,{'useClass':Ot}],[_0x51b114,{'useClass':Tt}],[_0x5e6c6f,{'useClass':Rt}],[_0x4b98c1,{'useClass':bt}],[nt],[It]],(_0x2aa058=this['_config'])==null?void 0x0:_0x2aa058[_0x4fd066(0x382)]);if(!((_0x52046a=this['_config'])!=null&&_0x52046a['enableSingleActiveInstanceLock'])){const _0x4fc07d=_0x4a3fb1[_0x4fd066(0x278)](([_0x29e38b])=>_0x29e38b===ht);_0x4fc07d!==-0x1&&_0x4a3fb1[_0x4fd066(0x3ae)](_0x4fc07d,0x1);}_0x20c68b(this[_0x4fd066(0x269)],_0x4a3fb1);}[_0x2ece9e(0x386)](){var _0x32c999=_0x2ece9e,_0x120ea7,_0x1716ee,_0x3cbb35;this[_0x32c999(0x269)]['get'](_0x5a566d)[_0x32c999(0x37a)]({'priority':0x14,'interceptor':_0x221035({'maxParallel':0x6})}),(_0x120ea7=this[_0x32c999(0x280)])!=null&&_0x120ea7['enableOfflineEditing']||(_0x1716ee=this[_0x32c999(0x269)][_0x32c999(0x348)](J,_0xc1cc4d[_0x32c999(0x2c4)]))==null||_0x1716ee[_0x32c999(0x26f)](),(_0x3cbb35=this['_config'])!=null&&_0x3cbb35[_0x32c999(0x1ef)]&&_0x3daf52(this[_0x32c999(0x269)],[[rt]]),_0x3daf52(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,'pluginName',vr),Nt=dr([_0x4749e1(_0x4e9ab7,_0x2e9cb4),mt(0x1,_0x543a8d),mt(0x2,_0x5d0e22(_0x4ddb89)),mt(0x3,_0x58661f)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|