@univerjs-pro/collaboration-client 0.6.6-experimental.20250319-2bbe26f → 0.6.6-experimental.20250321-5cc1a0d
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/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 _0x281423=_0x4ec3;(function(_0x4693d5,_0x4bfc94){var _0x378a4a=_0x4ec3,_0xf5a923=_0x4693d5();while(!![]){try{var _0x1d4c73=parseInt(_0x378a4a(0x3b1))/0x1+parseInt(_0x378a4a(0x167))/0x2*(-parseInt(_0x378a4a(0x298))/0x3)+-parseInt(_0x378a4a(0x348))/0x4*(parseInt(_0x378a4a(0x127))/0x5)+-parseInt(_0x378a4a(0x252))/0x6*(parseInt(_0x378a4a(0x1cb))/0x7)+-parseInt(_0x378a4a(0x1f1))/0x8*(parseInt(_0x378a4a(0x39e))/0x9)+-parseInt(_0x378a4a(0x271))/0xa*(parseInt(_0x378a4a(0x1f4))/0xb)+-parseInt(_0x378a4a(0x22f))/0xc*(-parseInt(_0x378a4a(0x213))/0xd);if(_0x1d4c73===_0x4bfc94)break;else _0xf5a923['push'](_0xf5a923['shift']());}catch(_0x54628a){_0xf5a923['push'](_0xf5a923['shift']());}}}(_0x11e3,0x64a5b));var Ai=Object[_0x281423(0x27d)],Pi=(_0x370f69,_0x45edf9,_0x3b96ef)=>_0x45edf9 in _0x370f69?Ai(_0x370f69,_0x45edf9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b96ef}):_0x370f69[_0x45edf9]=_0x3b96ef,N=(_0x5043d9,_0x3d1da5,_0x40b632)=>Pi(_0x5043d9,typeof _0x3d1da5!=_0x281423(0x242)?_0x3d1da5+'':_0x3d1da5,_0x40b632);import{createIdentifier as _0x3f95a7,Inject as _0x12ce65,Injector as _0x475511,IConfigService as _0x121709,ILogService as _0x13bc13,Disposable as _0x3ec4bd,DisposableCollection as _0x543847,toDisposable as _0x1e598e,IUniverInstanceService as _0x21d66a,UserManagerService as _0x317921,UniverInstanceType as _0x334aa0,LocaleService as _0x1adbc7,Optional as _0x449f0e,RxDisposable as _0x49b5d7,Tools as _0x25bb41,Rectangle as _0x577dd4,ICommandService as _0x5e151a,JSONX as _0x1c2577,CommandType as _0x4e55ff,IUndoRedoService as _0x4ad1ad,IPermissionService as _0xd641f0,sequenceExecute as _0x52caa2,Workbook as _0x3d826d,MentionType as _0x1947a7,isInternalEditorID as _0x255e36,LocalUndoRedoService as _0x4d350b,IContextService as _0x108437,DependentOn as _0x19c33c,Plugin as _0x47ff11,merge as _0x50dc08,mergeOverrideWithDependencies as _0x173a29,IAuthzIoService as _0x445970,IMentionIOService as _0x210c51,registerDependencies as _0x1a254d,Quantity as _0x37b185,touchDependencies as _0x4bc530}from'@univerjs/core';import{Subject as _0x22a3b0,merge as _0x1bde67,of as _0x5e7b25,BehaviorSubject as _0xac0553,takeUntil as _0x23443c,ReplaySubject as _0x15280c,take as _0x34b2d6,map as _0xdc549b,shareReplay as _0x280528,firstValueFrom as _0x38eb43,concatMap as _0xa12198}from'rxjs';import{map as _0x3e2d6a,take as _0x5055db,filter as _0x2ef57c,delay as _0x8dc60e,takeUntil as _0x254e66}from'rxjs/operators';import{CollaborationEvent as _0x22b3b6,ISnapshotServerService as _0x208b49,parseChangesetToProtocol as _0x332d7c,ITransformService as _0x74f559,isTransformMutationsWithChangesetSuccess as _0x4ce0c0,mapDocumentTypeToUniverType as _0x2c4509,RevisionService as _0xea2305,isTransformChangesetsSuccess as _0x2f127e,CompressMutationService as _0x3147c1,parseProtocolChangeset as _0x511b17,SnapshotService as _0x4d5a8c,textEncoder as _0x1afa75,b64DecodeUnicode as _0x2d7f0c,isTransformMutationsWithChangesetFailure as _0x5a0637,UniverCollaborationPlugin as _0x3b2370}from'@univerjs-pro/collaboration';import{HTTPService as _0x10b7ff,ISocketService as _0x31c441,MergeInterceptorFactory as _0x2c984a,HTTPRequest as _0x46d970,UniverNetworkPlugin as _0x3fdc79,ThresholdInterceptorFactory as _0x1a5e65}from'@univerjs/network';import{ITelemetryService as _0x40dc8e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x139fa5}from'@univerjs/docs';import{SheetsSelectionsService as _0x45fbea,SetSelectionsOperation as _0x2cb9fa,InsertSheetMutation as _0x4196ea,EmptyMutation as _0x31fadf,WorkbookEditablePermission as _0x2e3aed,SheetPermissionInitController as _0x1e6f09}from'@univerjs/sheets';import{ImageSourceType as _0x16fe12,ImageUploadStatusType as _0x4a45e1,IImageIoService as _0xcf61af}from'@univerjs/drawing';import{getGlobalObject as _0x3cdc6f}from'@univerjs-pro/license';const pr='SNAPSHOT_SERVER_URL_KEY',mr=_0x281423(0x250),gr='SNAPSHOT_URL_KEY',xs=_0x281423(0x380),Sr=0x7d0,Er=_0x281423(0x391),Ir='ws://127.0.0.1:8000/universer-api/comb/connect',Ls='/universer-api/user/session-ticket',Tr=_0x281423(0xc5),Cr=0x7530,mi=_0x281423(0x110),gi=0x4e20,Rr=0x4e20,br=_0x281423(0x26d),yr=0x3,Ms=_0x281423(0x1df),ks=0x3e8,Or=_0x281423(0x2f4),Nr=_0x281423(0x203),Dr=_0x281423(0x337),wr='/universer-api/oidc/authpage',$s=_0x281423(0x140),Hs=_0x281423(0x126);var Si=(_0x4a827c=>(_0x4a827c[_0x4a827c[_0x281423(0x139)]=0x0]=_0x281423(0x139),_0x4a827c[_0x4a827c['OK']=0x1]='OK',_0x4a827c[_0x4a827c[_0x281423(0x32b)]=0x2]=_0x281423(0x32b),_0x4a827c[_0x4a827c[_0x281423(0x166)]=0x3]=_0x281423(0x166),_0x4a827c[_0x4a827c[_0x281423(0x1e5)]=0x4]='NOT_FOUND',_0x4a827c[_0x4a827c[_0x281423(0x29e)]=0x5]='UNAUTHENTICATED',_0x4a827c[_0x4a827c[_0x281423(0x1b4)]=0x6]=_0x281423(0x1b4),_0x4a827c[_0x4a827c['INVALID_ARGUMENT']=0x7]=_0x281423(0x2bd),_0x4a827c[_0x4a827c[_0x281423(0x369)]=0x8]=_0x281423(0x369),_0x4a827c[_0x4a827c[_0x281423(0xe1)]=0x9]=_0x281423(0xe1),_0x4a827c[_0x4a827c[_0x281423(0x1ae)]=0x1389]=_0x281423(0x1ae),_0x4a827c[_0x4a827c[_0x281423(0x2c8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4a827c[_0x4a827c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x281423(0x21a),_0x4a827c[_0x4a827c[_0x281423(0x1c9)]=0x1773]=_0x281423(0x1c9),_0x4a827c[_0x4a827c[_0x281423(0x2e3)]=0x1b59]=_0x281423(0x2e3),_0x4a827c[_0x4a827c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x281423(0x1dd),_0x4a827c[_0x4a827c[_0x281423(0x340)]=0x1b5b]=_0x281423(0x340),_0x4a827c[_0x4a827c[_0x281423(0x387)]=0x1b5c]=_0x281423(0x387),_0x4a827c[_0x4a827c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4a827c[_0x4a827c[_0x281423(0x24e)]=0x1f41]=_0x281423(0x24e),_0x4a827c[_0x4a827c[_0x281423(0x129)]=0x2329]=_0x281423(0x129),_0x4a827c[_0x4a827c[_0x281423(0x156)]=0x232a]=_0x281423(0x156),_0x4a827c[_0x4a827c[_0x281423(0x3a7)]=0x232b]=_0x281423(0x3a7),_0x4a827c[_0x4a827c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x281423(0x382),_0x4a827c[_0x4a827c[_0x281423(0xe4)]=0x232d]=_0x281423(0xe4),_0x4a827c[_0x4a827c[_0x281423(0x136)]=0x2711]=_0x281423(0x136),_0x4a827c[_0x4a827c[_0x281423(0x26f)]=0x2712]=_0x281423(0x26f),_0x4a827c[_0x4a827c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x281423(0x19f),_0x4a827c[_0x4a827c[_0x281423(0xcf)]=0x2714]=_0x281423(0xcf),_0x4a827c[_0x4a827c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x281423(0x216),_0x4a827c[_0x4a827c[_0x281423(0x202)]=-0x1]=_0x281423(0x202),_0x4a827c))(Si||{}),Q=(_0x507ada=>(_0x507ada[_0x507ada['UNIVER_UNKNOWN']=0x0]=_0x281423(0x111),_0x507ada[_0x507ada[_0x281423(0xdd)]=0x1]=_0x281423(0xdd),_0x507ada[_0x507ada['UNIVER_SHEET']=0x2]=_0x281423(0x364),_0x507ada[_0x507ada['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x507ada[_0x507ada[_0x281423(0x37b)]=0x4]=_0x281423(0x37b),_0x507ada[_0x507ada[_0x281423(0x202)]=-0x1]='UNRECOGNIZED',_0x507ada))(Q||{}),F=(_0x43d526=>(_0x43d526[_0x43d526['UNKNOWN_CMD']=0x0]=_0x281423(0x32f),_0x43d526[_0x43d526['HELLO']=0x1]=_0x281423(0x189),_0x43d526[_0x43d526[_0x281423(0x1c2)]=0x2]=_0x281423(0x1c2),_0x43d526[_0x43d526[_0x281423(0x2c9)]=0x3]=_0x281423(0x2c9),_0x43d526[_0x43d526[_0x281423(0x1e4)]=0x4]=_0x281423(0x1e4),_0x43d526[_0x43d526[_0x281423(0x2e9)]=0x5]=_0x281423(0x2e9),_0x43d526[_0x43d526[_0x281423(0x280)]=0x6]=_0x281423(0x280),_0x43d526[_0x43d526[_0x281423(0x202)]=-0x1]=_0x281423(0x202),_0x43d526))(F||{}),ge=(_0x27a659=>(_0x27a659[_0x27a659[_0x281423(0x1a4)]=0x0]=_0x281423(0x1a4),_0x27a659[_0x27a659['OK']=0x1]='OK',_0x27a659[_0x27a659[_0x281423(0x123)]=0x2]=_0x281423(0x123),_0x27a659[_0x27a659[_0x281423(0x282)]=0x3e9]='JOIN_ROOM_FULL',_0x27a659[_0x27a659['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x281423(0x160),_0x27a659[_0x27a659[_0x281423(0x336)]=0x3eb]=_0x281423(0x336),_0x27a659[_0x27a659['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x27a659[_0x27a659['UNRECOGNIZED']=-0x1]=_0x281423(0x202),_0x27a659))(ge||{}),Ei=(_0x2df305=>(_0x2df305[_0x2df305[_0x281423(0x365)]=0x0]=_0x281423(0x365),_0x2df305[_0x2df305['HttpImport']=0x1]=_0x281423(0x273),_0x2df305[_0x2df305[_0x281423(0x240)]=0x2]=_0x281423(0x240),_0x2df305[_0x2df305['UnitEmbedded']=0x3]=_0x281423(0x235),_0x2df305[_0x2df305[_0x281423(0x394)]=0x4]='UnitSnapshot',_0x2df305[_0x2df305[_0x281423(0x202)]=-0x1]=_0x281423(0x202),_0x2df305))(Ei||{});const q=_0x281423(0x230),Ur={};var se=(_0x2aab16=>(_0x2aab16[_0x281423(0x289)]=_0x281423(0x289),_0x2aab16[_0x281423(0x166)]=_0x281423(0x166),_0x2aab16['CONFLICT']=_0x281423(0x1f7),_0x2aab16['CLOSE_ROOM']=_0x281423(0x122),_0x2aab16[_0x281423(0x1c0)]=_0x281423(0x1c0),_0x2aab16[_0x281423(0x2fd)]='SOCKET_FAILED_RETRY',_0x2aab16[_0x281423(0x1ea)]='SOCKET_FAILED',_0x2aab16[_0x281423(0x22c)]=_0x281423(0x22c),_0x2aab16))(se||{});class pe{constructor(){var _0x17e08c=_0x281423;N(this,'_event$',new _0x22a3b0()),N(this,_0x17e08c(0x25a),this[_0x17e08c(0x1fd)][_0x17e08c(0x2fa)]());}['emitEvent'](_0xd78691){var _0x3743a9=_0x281423;this[_0x3743a9(0x1fd)]['next'](_0xd78691);}}const Ar=_0x3f95a7('univer-pro.collaboration-client.network-condition.service');function Pr(_0x4e1bfe){var _0x422405=_0x281423,_0x31c1d8,_0x50e361,_0x32290b,_0x285199,_0x196f58;const _0x13d3f0=_0x4e1bfe[_0x422405(0x291)],_0x20a6f1=JSON[_0x422405(0x22b)](_0x13d3f0);switch(_0x20a6f1[_0x422405(0x306)]){case F[_0x422405(0x2e9)]:case F[_0x422405(0x189)]:{const _0x2998d4=_0x20a6f1[_0x422405(0x19e)];return{..._0x20a6f1,'data':_0x2998d4,'cmd':_0x20a6f1['cmd']};}case F[_0x422405(0x1c2)]:{const _0x12b7df=_0x20a6f1[_0x422405(0x2dd)];return{..._0x20a6f1,'data':_0x12b7df,'cmd':_0x20a6f1[_0x422405(0x306)]};}case F[_0x422405(0x280)]:{const _0x28bea8=_0x20a6f1[_0x422405(0x326)];switch(_0x28bea8['eventID']){case _0x22b3b6['PERMISSION_REJ']:return{..._0x20a6f1,'data':{..._0x28bea8,'data':(_0x31c1d8=_0x28bea8[_0x422405(0x2ac)])==null?void 0x0:_0x31c1d8['cs']},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6['CHANGESET_ACK']:return{..._0x20a6f1,'data':{..._0x28bea8,'data':(_0x50e361=_0x28bea8[_0x422405(0x158)])==null?void 0x0:_0x50e361['cs']},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x18e)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':(_0x32290b=_0x28bea8[_0x422405(0xf2)])==null?void 0x0:_0x32290b['cs']},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x1e9)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':(_0x285199=_0x28bea8[_0x422405(0x31a)])==null?void 0x0:_0x285199['cs']},'cmd':_0x20a6f1['cmd']};case _0x22b3b6[_0x422405(0x11f)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':(_0x196f58=_0x28bea8[_0x422405(0x1e2)])==null?void 0x0:_0x196f58['cs']},'cmd':_0x20a6f1['cmd']};case _0x22b3b6[_0x422405(0x28c)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x1af)]},'cmd':_0x20a6f1['cmd']};case _0x22b3b6[_0x422405(0x359)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0xd5)]},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x13f)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x324)]},'cmd':_0x20a6f1['cmd']};case _0x22b3b6[_0x422405(0x121)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x262)]},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x2b4)]:case _0x22b3b6[_0x422405(0x35c)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x254)]},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x191)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x262)]},'cmd':_0x20a6f1['cmd']};case _0x22b3b6[_0x422405(0x2c1)]:return{..._0x20a6f1,'data':_0x28bea8,'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6['COMMENT_UPDATE']:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8['commentUpdateEvent']},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6['UPDATE_PERMISSION_OBJ']:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8['updatePermissionObjEvent']},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x2c7)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0x1dc)]},'cmd':_0x20a6f1[_0x422405(0x306)]};case _0x22b3b6[_0x422405(0x26a)]:return{..._0x20a6f1,'data':{..._0x28bea8,'data':_0x28bea8[_0x422405(0xf0)]},'cmd':_0x20a6f1['cmd']};default:return _0x20a6f1;}}default:return _0x20a6f1;}}function xr(_0x48acd7){var _0x5c1f75=_0x281423;switch(_0x48acd7[_0x5c1f75(0x306)]){case F[_0x5c1f75(0x2e9)]:case F[_0x5c1f75(0x189)]:return JSON[_0x5c1f75(0x36f)]({'cmd':_0x48acd7[_0x5c1f75(0x306)],'routeKey':_0x48acd7[_0x5c1f75(0x2b3)]});case F[_0x5c1f75(0x1e4)]:{let _0x29c831;switch(_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x1ec)]){case _0x22b3b6[_0x5c1f75(0x28c)]:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x28c)],'updateCursorEvent':_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x291)]};break;}case _0x22b3b6[_0x5c1f75(0x13f)]:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x13f)],'leaveEvent':_0x48acd7['data'][_0x5c1f75(0x291)]};break;}case _0x22b3b6[_0x5c1f75(0x359)]:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x359)],'joinEvent':_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x291)]};break;}case _0x22b3b6['LIVESHARE_NEW_HOST']:{_0x29c831={'eventID':_0x22b3b6['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x48acd7[_0x5c1f75(0x291)]['data']};break;}case _0x22b3b6[_0x5c1f75(0x35c)]:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x35c)],'liveShareOperation':_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x291)]};break;}case _0x22b3b6[_0x5c1f75(0x191)]:{_0x29c831={'eventID':_0x22b3b6['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x48acd7[_0x5c1f75(0x291)]['data']};break;}case _0x22b3b6['LIVESHARE_REQUEST_HOST']:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x293)],'liveShareRequestHost':_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x291)]};break;}case _0x22b3b6[_0x5c1f75(0x2b4)]:{_0x29c831={'eventID':_0x22b3b6[_0x5c1f75(0x2b4)]};break;}default:_0x29c831={'eventID':_0x48acd7[_0x5c1f75(0x291)][_0x5c1f75(0x1ec)]};}return JSON['stringify']({'cmd':_0x48acd7[_0x5c1f75(0x306)],'routeKey':_0x48acd7[_0x5c1f75(0x2b3)],'collaMsg':_0x29c831});}case F[_0x5c1f75(0x1c2)]:return JSON[_0x5c1f75(0x36f)]({'cmd':_0x48acd7[_0x5c1f75(0x306)],'routeKey':_0x48acd7[_0x5c1f75(0x2b3)],'joinReq':_0x48acd7[_0x5c1f75(0x291)]});case F[_0x5c1f75(0x2c9)]:return JSON['stringify']({'cmd':_0x48acd7['cmd'],'routeKey':_0x48acd7[_0x5c1f75(0x2b3)],'leaveReq':_0x48acd7[_0x5c1f75(0x291)]});default:throw new Error(_0x5c1f75(0x18c));}}var Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x46164f,_0x5d480f,_0x9c9e24,_0x55ad63)=>{for(var _0x580053=_0x55ad63>0x1?void 0x0:_0x55ad63?Lr(_0x5d480f,_0x9c9e24):_0x5d480f,_0x46fdc6=_0x46164f['length']-0x1,_0x53c991;_0x46fdc6>=0x0;_0x46fdc6--)(_0x53c991=_0x46164f[_0x46fdc6])&&(_0x580053=_0x53c991(_0x580053)||_0x580053);return _0x580053;},Ue=(_0x9ee8aa,_0x436f41)=>(_0x1e59c5,_0x23a24a)=>_0x436f41(_0x1e59c5,_0x23a24a,_0x9ee8aa);const Ii=_0x3f95a7(_0x281423(0xc0));function kr(_0x157ac8,_0x5a4d32,_0x4a3ec6){var _0x39fd8a=_0x281423;return _0x157ac8+'/'+_0x5a4d32+_0x39fd8a(0x3a3)+_0x4a3ec6+_0x39fd8a(0x224);}let Vt=class extends _0x3ec4bd{constructor(_0x21261f,_0x4417f0,_0x242de4,_0x26a851,_0x1cd4f1){var _0x4b6add=_0x281423;super(),this[_0x4b6add(0x269)]=_0x21261f,this[_0x4b6add(0x17a)]=_0x4417f0,this[_0x4b6add(0x351)]=_0x242de4,this['_logService']=_0x26a851,this[_0x4b6add(0x128)]=_0x1cd4f1;}[_0x281423(0x36b)](_0x31af92){var _0x2737bc=_0x281423;const _0x445b01=this['_injector'][_0x2737bc(0x35f)](_0x31c441);if(!_0x445b01)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1c878b=_0x445b01['createSocket'](_0x31af92);if(!_0x1c878b)throw new Error(_0x2737bc(0xc1));const _0x35ebc8=new _0x543847(),_0x399b70=new _0x22a3b0();_0x35ebc8['add'](_0x1c878b['close$'][_0x2737bc(0x142)](_0x1d4943=>_0x399b70[_0x2737bc(0x288)](_0x1d4943))),_0x35ebc8[_0x2737bc(0xe0)](_0x1e598e(()=>_0x399b70[_0x2737bc(0x327)]()));const _0x5e5843=new _0x22a3b0();_0x35ebc8[_0x2737bc(0xe0)](_0x1c878b['error$'][_0x2737bc(0x142)](_0x4f6d13=>_0x5e5843[_0x2737bc(0x288)](_0x4f6d13))),_0x35ebc8[_0x2737bc(0xe0)](_0x1e598e(()=>_0x5e5843[_0x2737bc(0x327)]()));const _0x3e778f=new _0x22a3b0();_0x35ebc8['add'](_0x1c878b[_0x2737bc(0x178)][_0x2737bc(0x142)](_0x2f4d53=>{var _0x34ffd1=_0x2737bc;const _0x53edb6=Pr(_0x2f4d53);_0x3e778f[_0x34ffd1(0x288)](_0x53edb6);})),_0x35ebc8[_0x2737bc(0xe0)](_0x1e598e(()=>_0x3e778f['complete']()));let _0xe1e152;const _0x54e1fb=()=>{var _0x16ec18=_0x2737bc;_0x5e5843[_0x16ec18(0x288)](new Event('connection\x20error')),_0x399b70['next'](new Event('connection\x20error')),_0xe1e152[_0x16ec18(0x1a3)]();};return _0xe1e152={'memberID':'','close$':_0x399b70[_0x2737bc(0x2fa)](),'error$':_0x5e5843[_0x2737bc(0x2fa)](),'open$':_0x1c878b[_0x2737bc(0x2f3)],'message$':_0x3e778f[_0x2737bc(0x2fa)](),'send':_0x253c42=>{var _0x497a4b=_0x2737bc;if(_0x253c42[_0x497a4b(0x306)]===F[_0x497a4b(0x1e4)]){if(_0x253c42['data']['eventID']===_0x22b3b6[_0x497a4b(0x2ad)]){this[_0x497a4b(0x26e)](_0xe1e152,_0x253c42[_0x497a4b(0x291)])['catch'](_0x5ea69b=>{var _0x3659c8=_0x497a4b;this[_0x3659c8(0x297)][_0x3659c8(0x149)](_0x5ea69b),_0x54e1fb();});return;}if(_0x253c42[_0x497a4b(0x291)]['eventID']===_0x22b3b6[_0x497a4b(0x134)]){const _0x112153=_0x253c42[_0x497a4b(0x291)];this[_0x497a4b(0x12d)](_0x112153)[_0x497a4b(0x1d3)](_0x390c40=>{var _0x478c21=_0x497a4b;_0x3e778f[_0x478c21(0x288)]({'cmd':F[_0x478c21(0x280)],'code':ge['OK'],'routeKey':_0x112153[_0x478c21(0x291)][_0x478c21(0x2c5)],'routeType':'','data':{'eventID':_0x22b3b6[_0x478c21(0x29d)],'data':{'changesets':_0x390c40}}});})[_0x497a4b(0x13b)](_0x4847e6=>{var _0x113d22=_0x497a4b;this['_logService'][_0x113d22(0x149)](_0x4847e6),_0x54e1fb();});return;}}_0x1c878b[_0x497a4b(0x2d8)](xr(_0x253c42));},'close':()=>{var _0x13594e=_0x2737bc;_0x1c878b[_0x13594e(0x1a3)](),_0x35ebc8['dispose']();}},_0xe1e152;}async[_0x281423(0x26e)](_0x29fe3e,_0x13759f){var _0x52f215=_0x281423,_0x39c538,_0x376ce7;const {unitType:_0x1a7823,unitID:_0x414f66,changeset:_0x782759}=_0x13759f[_0x52f215(0x291)],_0x47e566={'unitID':_0x414f66,'memberID':_0x29fe3e[_0x52f215(0x190)],'type':_0x1a7823,'changeset':_0x332d7c(_0x782759)},_0x48334c=this['_configService']['getConfig'](Or),_0x518d6e=this[_0x52f215(0x351)]['getConfig'](q),_0x17bced=kr((_0x376ce7=(_0x39c538=_0x518d6e==null?void 0x0:_0x518d6e[_0x52f215(0x1c7)])!=null?_0x39c538:_0x48334c)!=null?_0x376ce7:Nr,_0x1a7823,_0x414f66);try{await this[_0x52f215(0x17a)]['post'](_0x17bced,{'body':_0x47e566});}catch(_0x541644){throw this['_logService'][_0x52f215(0x149)](_0x52f215(0x2d0),_0x52f215(0x27a)),_0x541644;}}async['_fetchMissChangesets'](_0x138792){var _0x4fd2f4=_0x281423;const {unitID:_0x4538b7,from:_0x52888f,to:_0x3f1440,unitType:_0x2b41ca}=_0x138792[_0x4fd2f4(0x291)];return(await this[_0x4fd2f4(0x128)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4538b7,'type':_0x2b41ca,'from':_0x52888f,'to':_0x3f1440}))[_0x4fd2f4(0x347)];}};Vt=Mr([Ue(0x0,_0x12ce65(_0x475511)),Ue(0x1,_0x12ce65(_0x10b7ff)),Ue(0x2,_0x121709),Ue(0x3,_0x13bc13),Ue(0x4,_0x208b49)],Vt);const $r=_0x281423(0x170);function Hr(_0x5655c5){var _0x337b08=_0x281423;return JSON[_0x337b08(0x36f)](_0x5655c5)[_0x337b08(0x256)];}class Ti{constructor(){var _0x23122e=_0x281423;N(this,_0x23122e(0x157),new _0x22a3b0()),N(this,_0x23122e(0x36a),this[_0x23122e(0x157)][_0x23122e(0x2fa)]());}[_0x281423(0xba)](_0x4bc337){var _0x549567=_0x281423;this[_0x549567(0x157)][_0x549567(0x288)](_0x4bc337);}}var Br=Object[_0x281423(0x2aa)],jr=(_0x2f5e18,_0x54cd46,_0xe1fa31,_0x1de591)=>{for(var _0x459c04=_0x1de591>0x1?void 0x0:_0x1de591?Br(_0x54cd46,_0xe1fa31):_0x54cd46,_0x2a6c2e=_0x2f5e18['length']-0x1,_0x4dcd24;_0x2a6c2e>=0x0;_0x2a6c2e--)(_0x4dcd24=_0x2f5e18[_0x2a6c2e])&&(_0x459c04=_0x4dcd24(_0x459c04)||_0x459c04);return _0x459c04;},Wt=(_0x857d5f,_0x48c73e)=>(_0xf5784b,_0x5ec638)=>_0x48c73e(_0xf5784b,_0x5ec638,_0x857d5f);let xe=class extends _0x3ec4bd{constructor(_0x3fcfee,_0x3f588d){var _0x367849=_0x281423;super(),N(this,_0x367849(0x124),new Map()),N(this,_0x367849(0x200),new _0x22a3b0()),(this[_0x367849(0x260)]=_0x3fcfee,this[_0x367849(0x33f)]=_0x3f588d,this[_0x367849(0x1cf)](_0x1bde67(this[_0x367849(0x260)][_0x367849(0x108)](_0x334aa0[_0x367849(0x364)])[_0x367849(0x1b6)](_0x3e2d6a(_0x5af06c=>_0x5af06c[_0x367849(0x2a1)]())),this['_univerInstanceService'][_0x367849(0x108)](_0x334aa0[_0x367849(0xdd)])[_0x367849(0x1b6)](_0x3e2d6a(_0x42675e=>_0x42675e[_0x367849(0x2a1)]())),this['_univerInstanceService'][_0x367849(0x108)](_0x334aa0['UNIVER_SLIDE'])[_0x367849(0x1b6)](_0x3e2d6a(_0x21759b=>_0x21759b[_0x367849(0x2a1)]())))[_0x367849(0x142)](_0x2dbcc2=>this['_removeRoom'](_0x2dbcc2))));}[_0x281423(0x18b)](_0x216ae9){var _0x1c8bfd=_0x281423;return this[_0x1c8bfd(0x124)][_0x1c8bfd(0x249)](_0x216ae9)?_0x5e7b25(this['_roomMembers'][_0x1c8bfd(0x35f)](_0x216ae9)):this[_0x1c8bfd(0x200)]['pipe'](_0x3e2d6a(_0x4f931d=>{var _0x2d6dad=_0x1c8bfd;if(_0x4f931d===_0x216ae9)return this[_0x2d6dad(0x124)]['get'](_0x4f931d);}));}[_0x281423(0x2e4)](_0x49d0ac){this['_userManagerService']['setCurrentUser'](_0x49d0ac);}['getCurrentUser'](){var _0x2f0ac9=_0x281423;return this[_0x2f0ac9(0x33f)][_0x2f0ac9(0x148)]();}[_0x281423(0x2fc)](_0x451ac7,_0x7d60d){var _0x40c50a=_0x281423;let _0x475fa6=this[_0x40c50a(0x124)][_0x40c50a(0x35f)](_0x451ac7);_0x475fa6||(_0x475fa6=new Fr(),this[_0x40c50a(0x124)][_0x40c50a(0x35d)](_0x451ac7,_0x475fa6),this[_0x40c50a(0x200)][_0x40c50a(0x288)](_0x451ac7)),_0x475fa6[_0x40c50a(0x2fc)](_0x7d60d);}[_0x281423(0x33a)](_0x37c81a,_0x2e4340){var _0x4f2556=_0x281423;const _0x25b032=this[_0x4f2556(0x124)]['get'](_0x37c81a);_0x25b032&&_0x25b032[_0x4f2556(0x33a)](_0x2e4340);}['getRoom'](_0x4136b1){return this['_roomMembers']['get'](_0x4136b1);}[_0x281423(0x3ab)](_0x4902a3,_0x5513bc){var _0x415ae0=_0x281423;const _0x29a10d=this[_0x415ae0(0x124)][_0x415ae0(0x35f)](_0x4902a3);if(_0x29a10d)return _0x29a10d[_0x415ae0(0x3ab)](_0x5513bc);}[_0x281423(0x290)](_0x1c5d90){var _0x13adde=_0x281423;const _0x30f9b7=this['_roomMembers']['get'](_0x1c5d90);_0x30f9b7&&(_0x30f9b7[_0x13adde(0x315)](),this[_0x13adde(0x124)][_0x13adde(0x1da)](_0x1c5d90));}[_0x281423(0x315)](){var _0x2251d7=_0x281423;this[_0x2251d7(0x124)][_0x2251d7(0xf9)](_0x19ddee=>_0x19ddee[_0x2251d7(0x315)]()),this['_roomMembers'][_0x2251d7(0x287)](),this[_0x2251d7(0x200)]['complete']();}};xe=jr([Wt(0x0,_0x21d66a),Wt(0x1,_0x12ce65(_0x317921))],xe);class Fr extends _0x3ec4bd{constructor(){var _0x34ed05=_0x281423;super(...arguments),N(this,'_members',new Map()),N(this,_0x34ed05(0x24f),new _0xac0553(this[_0x34ed05(0x14f)])),N(this,_0x34ed05(0x3a8),this['_members$'][_0x34ed05(0x2fa)]());}[_0x281423(0x315)](){var _0x5a7da6=_0x281423;this[_0x5a7da6(0x14f)]['clear']();}[_0x281423(0x2fc)](_0x4ecbe8){var _0x174bd8=_0x281423;this['_members'][_0x174bd8(0x35d)](_0x4ecbe8[_0x174bd8(0x190)],_0x4ecbe8),this[_0x174bd8(0x21e)]();}[_0x281423(0x33a)](_0x54e7f5){var _0x10d3bf=_0x281423;this[_0x10d3bf(0x14f)][_0x10d3bf(0x1da)](_0x54e7f5);}[_0x281423(0x3ab)](_0x97b3f){var _0x44ef28=_0x281423;return this['_members'][_0x44ef28(0x35f)](_0x97b3f);}['getAllMembers'](){return Array['from'](this['_members']['values']());}[_0x281423(0x21e)](){var _0x1cc8b5=_0x281423;this[_0x1cc8b5(0x24f)][_0x1cc8b5(0x288)](this[_0x1cc8b5(0x14f)]);}}var Gr=Object[_0x281423(0x2aa)],Vr=(_0x4ac8e8,_0x55d67c,_0x1d0770,_0x3164f4)=>{var _0x30f81c=_0x281423;for(var _0x422b99=_0x3164f4>0x1?void 0x0:_0x3164f4?Gr(_0x55d67c,_0x1d0770):_0x55d67c,_0x1256c4=_0x4ac8e8[_0x30f81c(0x256)]-0x1,_0xdead98;_0x1256c4>=0x0;_0x1256c4--)(_0xdead98=_0x4ac8e8[_0x1256c4])&&(_0x422b99=_0xdead98(_0x422b99)||_0x422b99);return _0x422b99;},me=(_0x550476,_0x314fec)=>(_0x482818,_0x247cdc)=>_0x314fec(_0x482818,_0x247cdc,_0x550476),Ee=(_0x397988=>(_0x397988[_0x397988[_0x281423(0x341)]=0x0]=_0x281423(0x341),_0x397988[_0x397988[_0x281423(0x22d)]=0x1]=_0x281423(0x22d),_0x397988[_0x397988['OFFLINE']=0x2]=_0x281423(0xdf),_0x397988[_0x397988[_0x281423(0xd2)]=0x3]=_0x281423(0xd2),_0x397988))(Ee||{});const Kt={[ge[_0x281423(0x123)]]:_0x281423(0x2b2),[ge[_0x281423(0x282)]]:_0x281423(0x16b),[ge[_0x281423(0x160)]]:'session.room-not-exists',[ge[_0x281423(0x336)]]:_0x281423(0x1bb),[ge[_0x281423(0x138)]]:_0x281423(0x2b5)};let Et=class extends _0x49b5d7{constructor(_0xc805e1,_0x1d6848,_0x53862a,_0x38fb50,_0x3448e1,_0x106838,_0x4bedbc,_0x197a71,_0x2c3bbf){var _0x325151=_0x281423;super(),N(this,'_sessionStatus$',new _0xac0553(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x325151(0x2fa)]()),N(this,'_event$',new _0x22a3b0()),N(this,_0x325151(0x25a),this[_0x325151(0x1fd)][_0x325151(0x2fa)]()),N(this,_0x325151(0xbf)),N(this,_0x325151(0x3ae)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x325151(0x2a8),null),(this[_0x325151(0x177)]=_0xc805e1,this[_0x325151(0x297)]=_0x53862a,this[_0x325151(0x351)]=_0x38fb50,this[_0x325151(0x218)]=_0x3448e1,this[_0x325151(0x1e6)]=_0x106838,this['_commentService']=_0x4bedbc,this[_0x325151(0x1e1)]=_0x197a71,this[_0x325151(0x34f)]=_0x2c3bbf,this['_shouldReportTelemetry']=!!this[_0x325151(0x34f)],_0x1d6848[_0x325151(0x1b6)](_0x23443c(this[_0x325151(0x2ef)]))[_0x325151(0x142)](_0x556270=>{var _0x4cfa10=_0x325151,_0x4f5933;typeof _0x556270>'u'||(this[_0x4cfa10(0xbf)]=_0x556270,_0x556270?(this['_joinRoom'](_0x556270),this[_0x4cfa10(0x3ae)]=_0x556270[_0x4cfa10(0x178)]['subscribe'](_0x58dc17=>{var _0x225673=_0x4cfa10;_0x58dc17[_0x225673(0x2b3)]===this[_0x225673(0x177)]&&this[_0x225673(0x132)](_0x58dc17);})):(this[_0x4cfa10(0x11d)](),this[_0x4cfa10(0x20a)]['next'](0x2),(_0x4f5933=this['_socketMessageSubscription'])==null||_0x4f5933[_0x4cfa10(0x390)](),this[_0x4cfa10(0x3ae)]=null));}));}get[_0x281423(0x1ee)](){var _0x1444e4=_0x281423;return this[_0x1444e4(0x20a)][_0x1444e4(0x20e)]();}[_0x281423(0x27c)](){var _0x2016a6=_0x281423,_0x439d39,_0x3d0806;return(_0x3d0806=(_0x439d39=this[_0x2016a6(0xbf)])==null?void 0x0:_0x439d39[_0x2016a6(0x190)])!=null?_0x3d0806:null;}['dispose'](){var _0x37f436=_0x281423;super[_0x37f436(0x315)](),this['dispose$'][_0x37f436(0x288)](),this[_0x37f436(0x2ef)][_0x37f436(0x327)]();}[_0x281423(0x1a3)](){var _0x58e0f6=_0x281423,_0x35018d,_0x406e02;this[_0x58e0f6(0x11d)](),(_0x35018d=this[_0x58e0f6(0xbf)])==null||_0x35018d[_0x58e0f6(0x2d8)]({'cmd':F[_0x58e0f6(0x2c9)],'data':{'roomID':this['_unitID']}}),(_0x406e02=this[_0x58e0f6(0xbf)])==null||_0x406e02['close'](),this[_0x58e0f6(0x1fd)][_0x58e0f6(0x327)](),this[_0x58e0f6(0x20a)][_0x58e0f6(0x327)](),this[_0x58e0f6(0x315)]();}['_onCombEvent'](_0x31b5cb){var _0x37006d=_0x281423;_0x31b5cb[_0x37006d(0x306)]===F[_0x37006d(0x1c2)]?this['_onJoinRoomEvent'](_0x31b5cb):_0x31b5cb['cmd']===F[_0x37006d(0x280)]&&this[_0x37006d(0x29b)](_0x31b5cb);}[_0x281423(0x118)](_0x315dfa){var _0x407ed9=_0x281423;this[_0x407ed9(0x20a)][_0x407ed9(0x288)](0x1),_0x315dfa[_0x407ed9(0x2d8)]({'cmd':F['JOIN'],'routeKey':this[_0x407ed9(0x177)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x281423(0xdb)](_0x1dd2a1){var _0x22ab92=_0x281423,_0x364d95;if(_0x1dd2a1[_0x22ab92(0x34b)]in Kt){this[_0x22ab92(0x1e1)][_0x22ab92(0x1b0)]({'id':se[_0x22ab92(0x1c0)],'data':Kt[_0x1dd2a1[_0x22ab92(0x34b)]]}),this[_0x22ab92(0x20a)][_0x22ab92(0x288)](0x2);return;}this[_0x22ab92(0x20a)][_0x22ab92(0x288)](0x3);const _0x2a81fd=(_0x364d95=_0x1dd2a1['data'][_0x22ab92(0xfc)][this[_0x22ab92(0x177)]])==null?void 0x0:_0x364d95[_0x22ab92(0x1d5)];_0x2a81fd&&_0x2a81fd['forEach'](_0x5e59c9=>this[_0x22ab92(0x1e6)][_0x22ab92(0x2fc)](this[_0x22ab92(0x177)],_0x5e59c9));}[_0x281423(0x29b)](_0x207b47){var _0x503af9=_0x281423;try{const _0x1c5eef=_0x207b47[_0x503af9(0x291)];switch(_0x1c5eef[_0x503af9(0x1ec)]){case _0x22b3b6[_0x503af9(0x359)]:this[_0x503af9(0x21f)](_0x1c5eef),this[_0x503af9(0x1fd)][_0x503af9(0x288)](_0x1c5eef);break;case _0x22b3b6[_0x503af9(0x13f)]:this[_0x503af9(0x119)](_0x1c5eef),this[_0x503af9(0x1fd)]['next'](_0x1c5eef);break;case _0x22b3b6[_0x503af9(0x276)]:case _0x22b3b6['CHANGESET_SHOULD_RETRY']:this[_0x503af9(0x223)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x503af9(0x288)](_0x1c5eef);break;case _0x22b3b6[_0x503af9(0x2c1)]:this[_0x503af9(0x297)][_0x503af9(0x149)](_0x503af9(0x38a)+JSON['stringify'](_0x1c5eef)),this['_event$'][_0x503af9(0x288)](_0x1c5eef);break;case _0x22b3b6[_0x503af9(0x23d)]:this[_0x503af9(0x18d)]['onCommentUpdate'](_0x1c5eef[_0x503af9(0x291)]),this['_event$'][_0x503af9(0x288)](_0x1c5eef);break;default:this[_0x503af9(0x1fd)][_0x503af9(0x288)](_0x1c5eef);}}catch(_0x9d8ec4){this['_logService'][_0x503af9(0x149)](_0x9d8ec4,_0x207b47);}}[_0x281423(0x21f)](_0xbbc462){var _0x248d9d=_0x281423;this[_0x248d9d(0x1e6)]['updateMember'](this[_0x248d9d(0x177)],_0xbbc462[_0x248d9d(0x291)]);}[_0x281423(0x119)](_0x2793c7){var _0x59dae4=_0x281423;this[_0x59dae4(0x1e6)][_0x59dae4(0x33a)](this['_unitID'],_0x2793c7[_0x59dae4(0x291)][_0x59dae4(0x190)]);}async['send'](_0x2c5109,_0x20c2c8){var _0x560720=_0x281423;if(this[_0x560720(0x1ee)]!==0x3||!this[_0x560720(0xbf)])throw new Error(_0x560720(0x2f0));try{_0x2c5109[_0x560720(0x1ec)]===_0x22b3b6[_0x560720(0x2ad)]&&(this[_0x560720(0x325)](),this[_0x560720(0x362)](_0x2c5109)),this[_0x560720(0xbf)][_0x560720(0x2d8)]({'cmd':F[_0x560720(0x1e4)],'routeKey':_0x20c2c8,'routeType':'','data':_0x2c5109});}catch(_0x4c52b4){this[_0x560720(0x297)][_0x560720(0x149)](_0x4c52b4);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2a2e2f=_0x281423,_0x56f7fa;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x157937=_0x4ec3;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x157937(0x1b0)]({'id':se[_0x157937(0x22c)]});},(_0x56f7fa=this[_0x2a2e2f(0x351)][_0x2a2e2f(0x3a5)](mi))!=null?_0x56f7fa:gi);}[_0x281423(0x38d)](){var _0x56f5c4=_0x281423;this[_0x56f5c4(0x1b7)]&&(clearTimeout(this[_0x56f5c4(0x1b7)]),this[_0x56f5c4(0x1b7)]=null);}[_0x281423(0x362)](_0x38d5ef){var _0x11a1d9=_0x281423;if(!this['_shouldReportTelemetry'])return;const {data:_0x1698ba}=_0x38d5ef,{unitID:_0x25cd2f,changeset:_0x3b1e9c}=_0x1698ba,{mutations:_0x53dbe0,type:_0x246cdd}=_0x3b1e9c;this[_0x11a1d9(0x2a8)]={'unitId':_0x25cd2f,'type':_0x246cdd,'startTime':performance[_0x11a1d9(0xd9)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x53dbe0)};}[_0x281423(0x223)](){var _0x48a4fe=_0x281423;if(this[_0x48a4fe(0x2d3)]){if(!this[_0x48a4fe(0x2a8)]){this[_0x48a4fe(0x297)]['error'](_0x48a4fe(0x2d0),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x48a4fe(0x29a)]=performance['now'](),this['_telemetryInfo'][_0x48a4fe(0x318)]=this[_0x48a4fe(0x2a8)][_0x48a4fe(0x29a)]-this['_telemetryInfo'][_0x48a4fe(0xde)],this[_0x48a4fe(0x34f)][_0x48a4fe(0x165)]($r,this[_0x48a4fe(0x2a8)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x334b0e=_0x281423;this[_0x334b0e(0x2a8)]=null;}};Et=Vr([me(0x2,_0x13bc13),me(0x3,_0x121709),me(0x4,_0x12ce65(_0x1adbc7)),me(0x5,_0x12ce65(xe)),me(0x6,_0x12ce65(Ti)),me(0x7,_0x12ce65(pe)),me(0x8,_0x449f0e(_0x40dc8e))],Et);var Wr=Object[_0x281423(0x2aa)],Kr=(_0x4d08da,_0xc400c5,_0x2c02e3,_0x4399c3)=>{var _0x477e34=_0x281423;for(var _0x244709=_0x4399c3>0x1?void 0x0:_0x4399c3?Wr(_0xc400c5,_0x2c02e3):_0xc400c5,_0x434a95=_0x4d08da[_0x477e34(0x256)]-0x1,_0x3373c1;_0x434a95>=0x0;_0x434a95--)(_0x3373c1=_0x4d08da[_0x434a95])&&(_0x244709=_0x3373c1(_0x244709)||_0x244709);return _0x244709;},be=(_0x310acf,_0xcd1b48)=>(_0x57c206,_0x2ece96)=>_0xcd1b48(_0x57c206,_0x2ece96,_0x310acf);let Le=class extends _0x3ec4bd{constructor(_0x78fc3c,_0x5dd627,_0x517fb7,_0x1494b8,_0x32c4fd,_0x3ee9f7){var _0x4d7e33=_0x281423;super(),N(this,_0x4d7e33(0x360),new _0xac0553(void 0x0)),N(this,_0x4d7e33(0x2cf),this['_socket$'][_0x4d7e33(0x2fa)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x4d7e33(0x17f),new _0xac0553(Ee[_0x4d7e33(0x341)])),N(this,'status$',this[_0x4d7e33(0x17f)][_0x4d7e33(0x2fa)]()),N(this,_0x4d7e33(0x20d),!0x1),N(this,_0x4d7e33(0x17c)),N(this,_0x4d7e33(0x1a5),0x0),N(this,_0x4d7e33(0x29c)),N(this,'_timeoutTimer'),(this['_injector']=_0x78fc3c,this['_logService']=_0x5dd627,this[_0x4d7e33(0x351)]=_0x517fb7,this['_socketService']=_0x1494b8,this[_0x4d7e33(0x1e1)]=_0x32c4fd,this[_0x4d7e33(0xda)]=_0x3ee9f7,this[_0x4d7e33(0x2fe)]());}get[_0x281423(0xbf)](){var _0x2e5d82=_0x281423;return this[_0x2e5d82(0x360)][_0x2e5d82(0x20e)]();}[_0x281423(0x2fe)](){var _0x329293=_0x281423;this[_0x329293(0xda)]&&this[_0x329293(0x1cf)](this[_0x329293(0xda)][_0x329293(0xb7)][_0x329293(0x142)](_0xe88d8d=>{var _0x6203ef=_0x329293;_0xe88d8d&&!this[_0x6203ef(0xbf)]&&this[_0x6203ef(0x1e8)](),_0xe88d8d||this[_0x6203ef(0x23b)]();}));}[_0x281423(0x315)](){var _0x17a786=_0x281423;super[_0x17a786(0x315)](),this['_clearRetryConnectingTimer'](),this[_0x17a786(0x12b)](),this[_0x17a786(0x2a7)](),this[_0x17a786(0x30f)][_0x17a786(0xf9)](_0x54ce3c=>_0x54ce3c[_0x17a786(0x315)]()),this['_sessions']['clear'](),this['_status$']['complete']();}async[_0x281423(0x376)](_0x43970d){var _0x543900=_0x281423;if(this[_0x543900(0x30f)][_0x543900(0x249)](_0x43970d))return this[_0x543900(0x30f)][_0x543900(0x35f)](_0x43970d);this[_0x543900(0x313)]();const _0x314313=this[_0x543900(0x269)][_0x543900(0x195)](Et,_0x43970d,this[_0x543900(0x360)][_0x543900(0x2fa)]());return this[_0x543900(0x30f)]['set'](_0x43970d,_0x314313),_0x314313;}[_0x281423(0x398)](_0x25cd3c){var _0x5eef48=_0x281423,_0x52a01d;const _0x462cd0=this['_sessions'][_0x5eef48(0x35f)](_0x25cd3c);_0x462cd0&&(this[_0x5eef48(0x30f)]['delete'](_0x25cd3c),_0x462cd0[_0x5eef48(0x1a3)]()),this[_0x5eef48(0x30f)]['size']||(_0x52a01d=this[_0x5eef48(0xbf)])==null||_0x52a01d[_0x5eef48(0x1a3)]();}[_0x281423(0x1e8)](){var _0x6439cd=_0x281423;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x6439cd(0x3aa)]();}[_0x281423(0x36c)](){var _0x56eda4=_0x281423;this[_0x56eda4(0x17c)]!=null&&(clearTimeout(this[_0x56eda4(0x17c)]),this[_0x56eda4(0x17c)]=null);}async[_0x281423(0x3a4)](){var _0xbdc66e=_0x281423,_0x311ff6,_0xe0ea22;const _0x14f2b6=this[_0xbdc66e(0x351)][_0xbdc66e(0x3a5)](Er),_0x2be0b9=this['_configService'][_0xbdc66e(0x3a5)](q),_0x18790d=(_0xe0ea22=(_0x311ff6=_0x2be0b9==null?void 0x0:_0x2be0b9['collabWebSocketUrl'])!=null?_0x311ff6:_0x14f2b6)!=null?_0xe0ea22:Ir,_0xfcb558=await this[_0xbdc66e(0x270)][_0xbdc66e(0x226)](_0x18790d);return this[_0xbdc66e(0x1a8)]=_0xfcb558,_0xfcb558;}async['_tryEnsureSocket'](){var _0x33312e=_0x281423,_0x43ad2e,_0x4a432a;try{const _0x34d7c0=(_0x4a432a=(_0x43ad2e=this[_0x33312e(0xbf)])!=null?_0x43ad2e:this[_0x33312e(0x1a8)])!=null?_0x4a432a:await this[_0x33312e(0x3a4)]();if(_0x34d7c0){const _0x4a7a29=_0x34d7c0[_0x33312e(0x2d8)];_0x34d7c0[_0x33312e(0x2d8)]=_0x5b6760=>(this[_0x33312e(0xfa)](),_0x4a7a29['apply'](_0x34d7c0,[_0x5b6760])),_0x34d7c0['message$']['subscribe'](_0x4a5820=>this['_onMessage'](_0x34d7c0,_0x4a5820)),_0x34d7c0[_0x33312e(0xe6)][_0x33312e(0x1b6)](_0x5055db(0x1))['subscribe'](_0x4a0c49=>this['_logService'][_0x33312e(0x149)](_0x33312e(0x239),_0x4a0c49)),_0x34d7c0[_0x33312e(0x2f3)][_0x33312e(0x1b6)](_0x5055db(0x1))[_0x33312e(0x142)](()=>{var _0x28e91f=_0x33312e;this[_0x28e91f(0xfb)](_0x34d7c0);}),_0x34d7c0[_0x33312e(0x1d6)][_0x33312e(0x1b6)](_0x5055db(0x1))[_0x33312e(0x142)](_0x4e1386=>{var _0x45d7fa=_0x33312e;this[_0x45d7fa(0x297)][_0x45d7fa(0x3a6)](_0x45d7fa(0x275),'socket\x20close',_0x4e1386),this[_0x45d7fa(0x350)]();});}}catch(_0x56c2dc){this['_logService'][_0x33312e(0x149)](_0x56c2dc),this[_0x33312e(0x350)]();}}[_0x281423(0xfb)](_0x348d93){var _0x256ef6=_0x281423;this[_0x256ef6(0x297)]['debug'](_0x256ef6(0x275),_0x256ef6(0x2f1)),_0x348d93[_0x256ef6(0x2d8)]({'cmd':F[_0x256ef6(0x189)]}),this[_0x256ef6(0xfa)]();}['_onOffline'](){var _0x56b789=_0x281423;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x56b789(0x17f)][_0x56b789(0x288)](Ee[_0x56b789(0xdf)]),this[_0x56b789(0x360)]['next'](null),this[_0x56b789(0x12b)](),this[_0x56b789(0x2a7)]();}[_0x281423(0x350)](){var _0x3a5ed9=_0x281423,_0x55cfee;this[_0x3a5ed9(0x23b)](),this[_0x3a5ed9(0x1a5)]<((_0x55cfee=this[_0x3a5ed9(0x351)]['getConfig'](br))!=null?_0x55cfee:yr)?(this[_0x3a5ed9(0x1e1)][_0x3a5ed9(0x1b0)]({'id':se['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x3a5ed9(0x1e1)][_0x3a5ed9(0x1b0)]({'id':se[_0x3a5ed9(0x1ea)]});}[_0x281423(0x3aa)](){var _0x30822f=_0x281423,_0x4fdba8;const _0x12c0c9=this[_0x30822f(0x1a5)],_0x7a1658=this[_0x30822f(0x351)][_0x30822f(0x3a5)](q),_0x53b968=_0x12c0c9===0x0?0x0:((_0x4fdba8=_0x7a1658==null?void 0x0:_0x7a1658['retryConnectingInterval'])!=null?_0x4fdba8:Rr)*0x2**_0x12c0c9;this[_0x30822f(0x17c)]=setTimeout(()=>{var _0x9278a6=_0x30822f;clearTimeout(this[_0x9278a6(0x17c)]),this[_0x9278a6(0x17c)]=null,this[_0x9278a6(0x313)]();},_0x53b968),this[_0x30822f(0x1a5)]+=0x1;}[_0x281423(0xbb)](_0x50294f,_0x299f6a){var _0x345ff3=_0x281423;const {cmd:_0x5b46ec}=_0x299f6a;_0x5b46ec===F[_0x345ff3(0x189)]&&!this[_0x345ff3(0x20d)]&&(_0x50294f['memberID']=_0x299f6a['data'][_0x345ff3(0x190)],this[_0x345ff3(0x360)]['next'](_0x50294f),this['_status$'][_0x345ff3(0x288)](Ee['ONLINE']),this[_0x345ff3(0x20d)]=!0x0,this[_0x345ff3(0x1a8)]=null),_0x5b46ec===F['HEARTBEAT']&&this[_0x345ff3(0x12b)](),this[_0x345ff3(0xfa)]();}[_0x281423(0xfa)](){var _0x374469=_0x281423,_0x440418;this[_0x374469(0x2a7)](),this[_0x374469(0x29c)]=setTimeout(()=>this[_0x374469(0x1ef)](),(_0x440418=this[_0x374469(0x351)]['getConfig'](Tr))!=null?_0x440418:Cr);}[_0x281423(0x1ef)](){var _0x1d201d=_0x281423;this[_0x1d201d(0xbf)][_0x1d201d(0x2d8)]({'cmd':F[_0x1d201d(0x2e9)]}),this['_waitForHeartbeatResponse']();}[_0x281423(0x1d4)](){var _0xa5c96d=_0x281423,_0x56f54b;this[_0xa5c96d(0x2f7)]=setTimeout(()=>this[_0xa5c96d(0x350)](),(_0x56f54b=this[_0xa5c96d(0x351)][_0xa5c96d(0x3a5)](mi))!=null?_0x56f54b:gi);}['_clearHeartbeatTimer'](){var _0x4c274b=_0x281423;this[_0x4c274b(0x29c)]!=null&&(clearTimeout(this[_0x4c274b(0x29c)]),this[_0x4c274b(0x29c)]=null);}[_0x281423(0x12b)](){var _0xfe1a0f=_0x281423;this[_0xfe1a0f(0x2f7)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=Kr([be(0x0,_0x12ce65(_0x475511)),be(0x1,_0x13bc13),be(0x2,_0x121709),be(0x3,Ii),be(0x4,_0x12ce65(pe)),be(0x5,_0x449f0e(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)[_0x281423(0xf5)](0x10)[_0x281423(0x1ff)](0x1));function Yr(_0x5b3a8b,_0x317a16=0x0){return(G[_0x5b3a8b[_0x317a16+0x0]]+G[_0x5b3a8b[_0x317a16+0x1]]+G[_0x5b3a8b[_0x317a16+0x2]]+G[_0x5b3a8b[_0x317a16+0x3]]+'-'+G[_0x5b3a8b[_0x317a16+0x4]]+G[_0x5b3a8b[_0x317a16+0x5]]+'-'+G[_0x5b3a8b[_0x317a16+0x6]]+G[_0x5b3a8b[_0x317a16+0x7]]+'-'+G[_0x5b3a8b[_0x317a16+0x8]]+G[_0x5b3a8b[_0x317a16+0x9]]+'-'+G[_0x5b3a8b[_0x317a16+0xa]]+G[_0x5b3a8b[_0x317a16+0xb]]+G[_0x5b3a8b[_0x317a16+0xc]]+G[_0x5b3a8b[_0x317a16+0xd]]+G[_0x5b3a8b[_0x317a16+0xe]]+G[_0x5b3a8b[_0x317a16+0xf]])['toLowerCase']();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x451fa1=_0x281423;if(!ut){if(typeof crypto>'u'||!crypto[_0x451fa1(0x322)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x451fa1(0x322)][_0x451fa1(0x1ac)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x281423(0x31f)]&&crypto['randomUUID'][_0x281423(0x1ac)](crypto),Yt={'randomUUID':Jr};function Xr(_0x5f47ce,_0x536977,_0x559684){var _0xea006e=_0x281423,_0x22a1d3,_0x234776,_0x3cd7c4;if(Yt[_0xea006e(0x31f)]&&!_0x5f47ce)return Yt[_0xea006e(0x31f)]();_0x5f47ce=_0x5f47ce||{};const _0x23ed20=(_0x3cd7c4=(_0x234776=_0x5f47ce[_0xea006e(0x278)])!=null?_0x234776:(_0x22a1d3=_0x5f47ce[_0xea006e(0x358)])==null?void 0x0:_0x22a1d3[_0xea006e(0x15e)](_0x5f47ce))!=null?_0x3cd7c4:zr();if(_0x23ed20[_0xea006e(0x256)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x23ed20[0x6]=_0x23ed20[0x6]&0xf|0x40,_0x23ed20[0x8]=_0x23ed20[0x8]&0x3f|0x80,Yr(_0x23ed20);}const J=_0x3f95a7('collaboration-client.local-cache-service');function Bs(_0x173543){var _0x158dac=_0x281423;return _0x158dac(0x10a)+_0x173543;}var Zr=Object[_0x281423(0x2aa)],Qr=(_0xee0e70,_0x5e70d1,_0xd070ba,_0x528e25)=>{var _0x7bd5a5=_0x281423;for(var _0x3b9a10=_0x528e25>0x1?void 0x0:_0x528e25?Zr(_0x5e70d1,_0xd070ba):_0x5e70d1,_0x1127b4=_0xee0e70[_0x7bd5a5(0x256)]-0x1,_0xd25c58;_0x1127b4>=0x0;_0x1127b4--)(_0xd25c58=_0xee0e70[_0x1127b4])&&(_0x3b9a10=_0xd25c58(_0x3b9a10)||_0x3b9a10);return _0x3b9a10;},dt=(_0x9a61ca,_0x3ad963)=>(_0x59fb11,_0x6f04a)=>_0x3ad963(_0x59fb11,_0x6f04a,_0x9a61ca);function en(_0xccc90){var _0x1cad4b=_0x281423;const {unitID:_0x36023e,mutations:_0x12d86d}=_0xccc90;return{'unitId':_0x36023e,'subUnitId':_0x12d86d[0x0][_0x1cad4b(0xe8)]['subUnitId']};}let it=class{constructor(_0x186d51,_0x3292f0,_0xd28126){var _0x46f41d=_0x281423;this['_injector']=_0x186d51,this[_0x46f41d(0x31d)]=_0x3292f0,this[_0x46f41d(0x2b7)]=_0xd28126;}['transformSelections'](_0x50bbf3){var _0x2642d2=_0x281423,_0x1fe90c,_0x2dc7df,_0x491c21,_0x3bfa9a;const _0x311737=this[_0x2642d2(0x269)]['get'](_0x45fbea),{unitId:_0x1fa43c,subUnitId:_0x16b378}=en(_0x50bbf3),_0x2e9c7d=_0x311737==null?void 0x0:_0x311737['getWorkbookSelections'](_0x1fa43c)[_0x2642d2(0x38b)](),_0x519210=(_0x2dc7df=(_0x1fe90c=this[_0x2642d2(0x2b7)][_0x2642d2(0x36e)](_0x1fa43c))==null?void 0x0:_0x1fe90c[_0x2642d2(0x314)]())==null?void 0x0:_0x2dc7df[_0x2642d2(0x1c8)]();if(_0x2e9c7d[_0x2642d2(0x256)]===0x0||!_0x1fa43c||!_0x16b378)return;const _0x452f8e=[{'id':_0x2cb9fa['id'],'params':{'unitId':_0x1fa43c,'subUnitId':_0x519210,'selections':_0x25bb41['deepClone'](_0x2e9c7d)}}],_0x82db10=this[_0x2642d2(0x31d)][_0x2642d2(0x102)](_0x50bbf3,_0x452f8e);if(!_0x4ce0c0(_0x82db10))throw _0x82db10[_0x2642d2(0x149)];const _0x5094d3=(_0x3bfa9a=(_0x491c21=_0x82db10[_0x2642d2(0x145)][0x0])==null?void 0x0:_0x491c21[_0x2642d2(0xe8)])==null?void 0x0:_0x3bfa9a['selections'];if(Array[_0x2642d2(0x266)](_0x5094d3)&&_0x5094d3['length']){if(_0x5094d3[_0x2642d2(0x256)]===_0x452f8e[0x0][_0x2642d2(0xe8)][_0x2642d2(0x37d)][_0x2642d2(0x256)]&&_0x5094d3['every']((_0x312c84,_0x2ae12c)=>_0x577dd4[_0x2642d2(0x32e)](_0x312c84[_0x2642d2(0x2e5)],_0x452f8e[0x0][_0x2642d2(0xe8)][_0x2642d2(0x37d)][_0x2ae12c][_0x2642d2(0x2e5)])))return;this[_0x2642d2(0x269)][_0x2642d2(0x35f)](_0x5e151a)[_0x2642d2(0x39c)](_0x2cb9fa['id'],{'unitId':_0x1fa43c,'subUnitId':_0x519210,'selections':_0x5094d3});}}};it=Qr([dt(0x0,_0x12ce65(_0x475511)),dt(0x1,_0x74f559),dt(0x2,_0x21d66a)],it);const ht=_0x3f95a7(_0x281423(0x141));var Ci=(_0x24d324=>(_0x24d324[_0x24d324[_0x281423(0x1db)]=0x0]=_0x281423(0x1db),_0x24d324[_0x24d324[_0x281423(0x17b)]=0x1]=_0x281423(0x17b),_0x24d324))(Ci||{});const tn=new Set([_0x4196ea['id']]);function qt(_0x93ddfd,_0x2199ee,_0x31194e,_0x30ea41,_0x32ac10){var _0x4678b7=_0x281423,_0x5512f0,_0x1d37bc,_0x5acaef,_0x3c069f;const _0x5f214d=[];for(const _0x3952e6 of _0x93ddfd)if(tn['has'](_0x3952e6['id'])){if(_0x5f214d[_0x4678b7(0x256)]>0x0)break;_0x5f214d[_0x4678b7(0x1b5)](_0x3952e6);break;}else _0x5f214d[_0x4678b7(0x1b5)](_0x3952e6);const _0x2dd31f=(_0x1d37bc=(_0x5512f0=_0x32ac10[_0x4678b7(0x148)]())==null?void 0x0:_0x5512f0[_0x4678b7(0x396)])!=null?_0x1d37bc:_0x4678b7(0x397),_0x92f93f=(_0x3c069f=(_0x5acaef=_0x32ac10[_0x4678b7(0x148)]())==null?void 0x0:_0x5acaef[_0x4678b7(0x190)])!=null?_0x3c069f:_0x4678b7(0x397);return{'changeset':{'unitID':_0x2199ee,'type':_0x2c4509(_0x31194e[_0x4678b7(0xf3)](_0x2199ee)),'baseRev':_0x30ea41['getCurrentRevOfUnit'](_0x2199ee),'revision':0x0,'userID':_0x2dd31f,'memberID':_0x92f93f,'mutations':_0x5f214d},'pendingMutations':_0x93ddfd[_0x4678b7(0x1ff)](_0x5f214d[_0x4678b7(0x256)])};}function rn(_0x4eb5c9,_0x4d5e2a,_0x481249,_0x43a977,_0x3b3dbb){var _0x330bd9=_0x281423,_0x2a50a2,_0x385d50,_0x455b91,_0x47de75;const _0x539931=[_0x4eb5c9[_0x330bd9(0x14a)]((_0x4fcc8c,_0x20cfa8)=>{var _0x323f04=_0x330bd9,_0x1eb526;const {id:_0x45d41e}=_0x4fcc8c,{id:_0xed8837,type:_0x84776a}=_0x20cfa8,_0x2810c7=(_0x1eb526=_0x4fcc8c[_0x323f04(0xe8)])!=null?_0x1eb526:{'actions':null},_0x431806=_0x20cfa8[_0x323f04(0xe8)];if(_0x45d41e&&_0x45d41e!==_0xed8837)throw new Error(_0x323f04(0x2b8)+_0x45d41e+_0x323f04(0x180)+_0xed8837+'.');return{..._0x4fcc8c,'id':_0xed8837,'type':_0x84776a,'params':{'unitId':_0x431806['unitId'],'textRanges':_0x431806[_0x323f04(0x185)],'actions':_0x1c2577[_0x323f04(0x264)](_0x2810c7[_0x323f04(0x114)],_0x431806['actions'])}};},{})],_0x17724c=(_0x385d50=(_0x2a50a2=_0x3b3dbb['getCurrentUser']())==null?void 0x0:_0x2a50a2[_0x330bd9(0x396)])!=null?_0x385d50:_0x330bd9(0x397),_0x5ceed8=(_0x47de75=(_0x455b91=_0x3b3dbb[_0x330bd9(0x148)]())==null?void 0x0:_0x455b91['memberID'])!=null?_0x47de75:_0x330bd9(0x397);return{'changeset':{'unitID':_0x4d5e2a,'type':_0x2c4509(_0x481249[_0x330bd9(0xf3)](_0x4d5e2a)),'baseRev':_0x43a977[_0x330bd9(0x25c)](_0x4d5e2a),'revision':0x0,'userID':_0x17724c,'memberID':_0x5ceed8,'mutations':_0x539931},'pendingMutations':[]};}function Ri(_0x45cf70,_0xc5df37){var _0x393b20=_0x281423;const _0x99de16=new _0x15280c(0x1);return setTimeout(()=>_0x99de16[_0x393b20(0x288)](_0xc5df37),_0x45cf70),_0x99de16[_0x393b20(0x2fa)]()[_0x393b20(0x1b6)](_0x34b2d6(0x1));}const nn={'id':_0x31fadf['id'],'type':_0x4e55ff[_0x281423(0x23c)],'params':{}};var sn=Object[_0x281423(0x2aa)],Te=(_0x3cd7f9,_0x2f1c56,_0x52cba7,_0x4ca565)=>{var _0x1250bb=_0x281423;for(var _0x5e6319=_0x4ca565>0x1?void 0x0:_0x4ca565?sn(_0x2f1c56,_0x52cba7):_0x2f1c56,_0x486091=_0x3cd7f9[_0x1250bb(0x256)]-0x1,_0x48bc14;_0x486091>=0x0;_0x486091--)(_0x48bc14=_0x3cd7f9[_0x486091])&&(_0x5e6319=_0x48bc14(_0x5e6319)||_0x5e6319);return _0x5e6319;},P=(_0x164f73,_0x12d51d)=>(_0x1e761f,_0x2f82a3)=>_0x12d51d(_0x1e761f,_0x2f82a3,_0x164f73),bi=(_0x1cfdf6=>(_0x1cfdf6[_0x281423(0x343)]=_0x281423(0x33c),_0x1cfdf6[_0x281423(0xef)]='synced',_0x1cfdf6['PENDING']=_0x281423(0x38e),_0x1cfdf6['AWAITING']=_0x281423(0x345),_0x1cfdf6['AWAITING_WITH_PENDING']=_0x281423(0x11a),_0x1cfdf6[_0x281423(0x2cd)]=_0x281423(0x37e),_0x1cfdf6[_0x281423(0x1f7)]=_0x281423(0x232),_0x1cfdf6[_0x281423(0xdf)]=_0x281423(0x1ce),_0x1cfdf6))(bi||{});const yi=0xea60;class Ce{constructor(_0x5074c6,_0x4cf77a,_0x4bba6e,_0x3e1029,_0x3cb1f1,_0x1bb82e,_0x5c4ccc,_0x25daa6,_0x2fd2c2){var _0x1589f4=_0x281423;N(this,_0x1589f4(0x2a2),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x5074c6,this['type']=_0x4cf77a,this[_0x1589f4(0x187)]=_0x3cb1f1,this[_0x1589f4(0x115)]=_0x1bb82e,this[_0x1589f4(0x1c5)]=_0x5c4ccc,this[_0x1589f4(0x1fe)]=_0x25daa6,this[_0x1589f4(0xff)]=_0x2fd2c2,this['_awaitingChangeset']=_0x4bba6e,this[_0x1589f4(0x183)]=_0x3e1029);}['_checkMissing'](_0x177c8c){var _0x5c7ac7=_0x281423;const _0x4cc044=this[_0x5c7ac7(0x1fe)][_0x5c7ac7(0x25c)](this['unitID']);return _0x177c8c[_0x5c7ac7(0x2ec)]>_0x4cc044+0x1?(this[_0x5c7ac7(0x187)][_0x5c7ac7(0x1d2)]({'from':_0x4cc044,'to':_0x177c8c[_0x5c7ac7(0x2ec)]-0x1}),!0x0):!0x1;}[_0x281423(0x19d)](_0x2de03f){var _0x1c43b9=_0x281423;this[_0x1c43b9(0x1c5)][_0x1c43b9(0x238)](this[_0x1c43b9(0x2c5)],_0x2de03f);}[_0x281423(0x1b1)](_0x12a0fb){var _0x34432c=_0x281423,_0x1b69c1,_0x402715;(_0x402715=(_0x1b69c1=this[_0x34432c(0x187)])['onTransformSelections'])==null||_0x402715['call'](_0x1b69c1,_0x12a0fb);}['_transformIMECache'](_0x21db86){var _0x48c787=_0x281423,_0x490bfa,_0x19dea0;return(_0x19dea0=(_0x490bfa=this[_0x48c787(0x187)])[_0x48c787(0x135)])==null?void 0x0:_0x19dea0['call'](_0x490bfa,_0x21db86);}[_0x281423(0x1e7)](_0x1201dd){var _0x185084=_0x281423,_0x3aa39c,_0x5827b0;return(_0x5827b0=(_0x3aa39c=this[_0x185084(0x187)])[_0x185084(0xdc)])==null?void 0x0:_0x5827b0[_0x185084(0x15e)](_0x3aa39c,_0x1201dd);}[_0x281423(0x342)](_0x35e3fb){var _0xf5339b=_0x281423,_0x1d71d1,_0xec1217,_0x3e95b2;return(_0x3e95b2=(_0xec1217=(_0x1d71d1=this[_0xf5339b(0x187)])[_0xf5339b(0x31b)])==null?void 0x0:_0xec1217['call'](_0x1d71d1,_0x35e3fb))!=null?_0x3e95b2:_0x35e3fb;}[_0x281423(0x279)](_0x32b788){var _0x418dbc=_0x281423,_0x2ea0c4,_0x3059fb,_0x1e6394;return(_0x1e6394=(_0x3059fb=(_0x2ea0c4=this[_0x418dbc(0x187)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3059fb[_0x418dbc(0x15e)](_0x2ea0c4,_0x32b788))!=null?_0x1e6394:_0x32b788;}['_syncEditingCollabCursor'](_0x1170a1){var _0x13daea=_0x281423,_0x4dc9d4,_0x2deb6d;if(this[_0x13daea(0x1c6)]===Q[_0x13daea(0xdd)]){const {unitID:_0x4dcf00,mutations:_0x21f543,memberID:_0x299751}=_0x1170a1,_0x3a77f2=_0x21f543[0x0]['params'][_0x13daea(0x185)];Array[_0x13daea(0x266)](_0x3a77f2)&&_0x3a77f2['length']>0x0&&((_0x2deb6d=(_0x4dc9d4=this['_handler'])[_0x13daea(0x234)])==null||_0x2deb6d['call'](_0x4dc9d4,{'unitID':_0x4dcf00,'memberID':_0x299751,'textRanges':_0x3a77f2}));}}[_0x281423(0x130)](){var _0x220e5e=_0x281423,_0x14d61a;(_0x14d61a=this[_0x220e5e(0xff)])==null||_0x14d61a[_0x220e5e(0x368)](this[_0x220e5e(0x2c5)],this['type'],this['_awaitingChangeset'],this[_0x220e5e(0x183)]);}[_0x281423(0x221)](){var _0x1d0485=_0x281423;return this[_0x1d0485(0x1fe)][_0x1d0485(0x25c)](this[_0x1d0485(0x2c5)]);}[_0x281423(0x1c1)](){var _0x59d5dc=_0x281423;this['_revisionService'][_0x59d5dc(0x31e)](this[_0x59d5dc(0x2c5)]);}['_executeRemoteChangeset'](_0x1f72d9){var _0x1b106a=_0x281423,_0x8d1a8a;let _0x541951=this[_0x1b106a(0x342)](_0x1f72d9);_0x541951=this[_0x1b106a(0x279)](_0x541951);const _0x3bd169=_0x52caa2(_0x541951[_0x1b106a(0xcd)],this[_0x1b106a(0x115)],{'fromCollab':!0x0});if(!_0x3bd169[_0x1b106a(0x1ab)])throw _0x3bd169[_0x1b106a(0x149)]instanceof Error?_0x3bd169[_0x1b106a(0x149)]:new Error((_0x8d1a8a=_0x3bd169['error'])!=null?_0x8d1a8a:_0x1b106a(0x2a6));this[_0x1b106a(0x2e2)](_0x541951),this[_0x1b106a(0x1e7)](_0x541951),this[_0x1b106a(0x19d)](_0x1f72d9),this[_0x1b106a(0x1b1)](_0x541951),this['_syncEditingCollabCursor'](_0x541951),this[_0x1b106a(0x1c1)]();}}let Ne=class extends Ce{constructor(_0x21f27e,_0x5a98ae,_0x2c4dbe,_0x2c508a,_0x5b5f1a,_0x3d7bb6,_0x3e8a92,_0x31140e,_0x5303d1,_0x14a89a){var _0x4d406e=_0x281423;super(_0x21f27e,_0x5a98ae,null,[],_0x2c4dbe,_0x3e8a92,_0x3d7bb6,_0x2c508a,_0x14a89a),N(this,'status','synced'),(this[_0x4d406e(0x269)]=_0x5b5f1a,this[_0x4d406e(0x297)]=_0x31140e,this[_0x4d406e(0x31d)]=_0x5303d1,this[_0x4d406e(0x2fb)]=_0x14a89a);}[_0x281423(0x147)](_0x4a406d){var _0x2e13b2=_0x281423;const _0x48b206=this[_0x2e13b2(0x269)][_0x2e13b2(0x195)](oe,this[_0x2e13b2(0x2c5)],this[_0x2e13b2(0x1c6)],[_0x4a406d],this[_0x2e13b2(0x187)]);return _0x48b206['_schedule'](),_0x48b206['_updateLocalCache'](),_0x48b206;}[_0x281423(0x261)](_0x52e422){var _0x3d6a4f=_0x281423;if(this[_0x3d6a4f(0x272)](_0x52e422))return this[_0x3d6a4f(0x269)]['createInstance'](ee,this[_0x3d6a4f(0x2c5)],this[_0x3d6a4f(0x1c6)],null,[],null,[_0x52e422],this[_0x3d6a4f(0x187)]);try{const _0x44e2cb=this[_0x3d6a4f(0x31d)][_0x3d6a4f(0x102)](_0x52e422,[nn]);if(_0x4ce0c0(_0x44e2cb)){const {c1Prime:_0x271bbe}=_0x44e2cb;return this[_0x3d6a4f(0x2ee)](_0x271bbe),this;}throw _0x44e2cb[_0x3d6a4f(0x149)];}catch(_0x147794){return this[_0x3d6a4f(0x297)][_0x3d6a4f(0x149)](_0x147794),this[_0x3d6a4f(0xbc)](!0x1);}}[_0x281423(0xbc)](_0x48f06a){var _0x4b6923=_0x281423;return this[_0x4b6923(0x269)][_0x4b6923(0x195)](ue,this[_0x4b6923(0x2c5)],this[_0x4b6923(0x1c6)],null,[],this[_0x4b6923(0x187)],_0x48f06a);}[_0x281423(0x333)](){var _0x586b49=_0x281423;throw new Error(_0x586b49(0x300));}[_0x281423(0x174)](){var _0x414dba=_0x281423;throw new Error(_0x414dba(0x1cc));}[_0x281423(0x194)](){return this;}['toggleOffline'](){var _0x9dffee=_0x281423;return this['_injector'][_0x9dffee(0x195)](de,this['unitID'],this[_0x9dffee(0x1c6)],null,[],this[_0x9dffee(0x187)]);}[_0x281423(0x284)](){return this;}[_0x281423(0xd8)](){var _0x28a3e7=_0x281423;throw new Error(_0x28a3e7(0x38c));}[_0x281423(0x14d)](){var _0x49b48e=_0x281423;const _0x47f13b=this['_revisionService'][_0x49b48e(0x25c)](this['unitID']);return this[_0x49b48e(0x187)][_0x49b48e(0x1d2)]({'from':_0x47f13b,'to':0x0}),this[_0x49b48e(0x269)][_0x49b48e(0x195)](ee,this[_0x49b48e(0x2c5)],this[_0x49b48e(0x1c6)],null,[],null,[],this[_0x49b48e(0x187)]);}};Ne=Te([P(0x3,_0x12ce65(_0xea2305)),P(0x4,_0x12ce65(_0x475511)),P(0x5,_0x4ad1ad),P(0x6,_0x5e151a),P(0x7,_0x13bc13),P(0x8,_0x74f559),P(0x9,_0x449f0e(J))],Ne);let oe=class extends Ce{constructor(_0x1c4e13,_0x365edd,_0x42a825,_0x2bcc25,_0xd29856,_0x35f7db,_0x358680,_0x5d06d1,_0x2d0111,_0x24a94f,_0x437d67,_0x335d3e,_0x51378c,_0x47edf1){var _0x465e66=_0x281423;super(_0x1c4e13,_0x365edd,null,_0x42a825,_0x2bcc25,_0x2d0111,_0x51378c,_0x35f7db,_0x47edf1),N(this,_0x465e66(0x356),_0x465e66(0x38e)),N(this,_0x465e66(0xc7),null),N(this,_0x465e66(0x296),null),(this['_injector']=_0xd29856,this['_memberService']=_0x358680,this[_0x465e66(0x297)]=_0x5d06d1,this['_configService']=_0x24a94f,this['_transformService']=_0x437d67,this[_0x465e66(0x260)]=_0x335d3e);}[_0x281423(0x147)](_0x1c27d1){var _0x48218b=_0x281423;return this[_0x48218b(0x183)][_0x48218b(0x1b5)](_0x1c27d1),this[_0x48218b(0x130)](),this;}['onRemoteChangeset'](_0x4d91e9){var _0x1cc653=_0x281423;if(this[_0x1cc653(0x272)](_0x4d91e9))return this['_clearScheduledTask'](),this['_injector'][_0x1cc653(0x195)](ee,this[_0x1cc653(0x2c5)],this['type'],null,this[_0x1cc653(0x183)],null,[_0x4d91e9],this[_0x1cc653(0x187)]);try{const _0x15eb94=this[_0x1cc653(0x31d)][_0x1cc653(0x102)](_0x4d91e9,this[_0x1cc653(0x183)]);if(_0x4ce0c0(_0x15eb94)){const {c1Prime:_0x21e7b0,m2Prime:_0x36c6e1}=_0x15eb94;this[_0x1cc653(0x2ee)](_0x21e7b0);const _0x213614=this[_0x1cc653(0x269)]['createInstance'](oe,this[_0x1cc653(0x2c5)],this[_0x1cc653(0x1c6)],_0x36c6e1,this[_0x1cc653(0x187)]);this[_0x1cc653(0x107)]();const _0x182ae=new Date()[_0x1cc653(0x21c)](),_0x32917e=this[_0x1cc653(0xc7)]?Math[_0x1cc653(0x335)](this[_0x1cc653(0xc7)]-_0x182ae,0x0):this[_0x1cc653(0x172)]();return _0x213614[_0x1cc653(0x14e)](_0x32917e),_0x213614;}throw _0x15eb94[_0x1cc653(0x149)];}catch(_0x3589a1){return this[_0x1cc653(0x297)][_0x1cc653(0x149)](_0x3589a1),this['_onConflict'](!0x1);}}[_0x281423(0x333)](){var _0xa78c9c=_0x281423;throw new Error(_0xa78c9c(0x35a));}[_0x281423(0x174)](){var _0x5e9dea=_0x281423;throw new Error(_0x5e9dea(0xb9));}[_0x281423(0x194)](){return this;}[_0x281423(0x321)](){var _0x564113=_0x281423;return this[_0x564113(0x107)](),this['_injector'][_0x564113(0x195)](de,this[_0x564113(0x2c5)],this[_0x564113(0x1c6)],null,this['_pendingMutations'],this[_0x564113(0x187)]);}[_0x281423(0x284)](){return this;}[_0x281423(0x14e)](_0x37f12d){var _0x25b029=_0x281423;const _0x2367cf=_0x37f12d!=null?_0x37f12d:this[_0x25b029(0x172)]();this[_0x25b029(0xc7)]=new Date()[_0x25b029(0x21c)]()+_0x2367cf,this[_0x25b029(0x296)]=setTimeout(()=>{var _0xaf1cda=_0x25b029;this[_0xaf1cda(0x107)]();let _0x5cef9c=null;switch(this[_0xaf1cda(0x1c6)]){case Q[_0xaf1cda(0x364)]:{_0x5cef9c=qt(this[_0xaf1cda(0x183)],this[_0xaf1cda(0x2c5)],this[_0xaf1cda(0x260)],this['_revisionService'],this[_0xaf1cda(0x1e6)]);break;}case Q[_0xaf1cda(0xdd)]:{this[_0xaf1cda(0x183)][_0xaf1cda(0x2c6)](_0x1219a8=>_0x1219a8['id']===_0x139fa5['id'])?_0x5cef9c=rn(this[_0xaf1cda(0x183)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0xaf1cda(0x1e6)]):_0x5cef9c=qt(this[_0xaf1cda(0x183)],this[_0xaf1cda(0x2c5)],this[_0xaf1cda(0x260)],this[_0xaf1cda(0x1fe)],this[_0xaf1cda(0x1e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x494239,pendingMutations:_0x285dbd}=_0x5cef9c;this[_0xaf1cda(0x187)][_0xaf1cda(0x367)](_0x494239);const _0x5458d1=_0x285dbd['length']?this[_0xaf1cda(0x269)][_0xaf1cda(0x195)](ae,this[_0xaf1cda(0x2c5)],this[_0xaf1cda(0x1c6)],_0x494239,_0x285dbd,this[_0xaf1cda(0x187)],void 0x0):this[_0xaf1cda(0x269)]['createInstance'](le,this[_0xaf1cda(0x2c5)],this[_0xaf1cda(0x1c6)],_0x494239,this[_0xaf1cda(0x187)]);_0x5458d1[_0xaf1cda(0x130)](),this[_0xaf1cda(0x187)]['onStateChange'](this,_0x5458d1);},_0x2367cf);}[_0x281423(0x172)](){var _0x34d889=_0x281423,_0x34d0c2;const _0xbe4106=this[_0x34d889(0x351)]['getConfig'](q);return(_0x34d0c2=_0xbe4106==null?void 0x0:_0xbe4106[_0x34d889(0x209)])!=null?_0x34d0c2:Sr;}[_0x281423(0xd8)](){var _0x56b4fc=_0x281423;throw new Error(_0x56b4fc(0x2e6));}[_0x281423(0x107)](){var _0x285c5f=_0x281423;this[_0x285c5f(0x296)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x281423(0xbc)](_0x2f4cb7){var _0x497480=_0x281423;return this['_clearScheduledTask'](),this[_0x497480(0x269)][_0x497480(0x195)](ue,this[_0x497480(0x2c5)],this['type'],null,this[_0x497480(0x183)],this['_handler'],_0x2f4cb7);}};oe=Te([P(0x4,_0x12ce65(_0x475511)),P(0x5,_0x12ce65(_0xea2305)),P(0x6,_0x12ce65(xe)),P(0x7,_0x13bc13),P(0x8,_0x5e151a),P(0x9,_0x121709),P(0xa,_0x74f559),P(0xb,_0x21d66a),P(0xc,_0x4ad1ad),P(0xd,_0x449f0e(J))],oe);let le=class extends Ce{constructor(_0x2df723,_0x2b617b,_0x7d60ae,_0x401328,_0x17a741,_0x5116b2,_0x547eed,_0x308e7a,_0xa0ee90,_0x4f2b5,_0x283410){var _0x2a4f63=_0x281423;super(_0x2df723,_0x2b617b,_0x7d60ae,[],_0x401328,_0x547eed,_0x4f2b5,_0x5116b2,_0x283410),N(this,_0x2a4f63(0x356),_0x2a4f63(0x345)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x2a4f63(0x269)]=_0x17a741,this['_logService']=_0x308e7a,this[_0x2a4f63(0x31d)]=_0xa0ee90);}[_0x281423(0x147)](_0x1d7c06){var _0xb8cae6=_0x281423;this['_clearScheduledTask']();const _0x385bf6=this[_0xb8cae6(0x269)][_0xb8cae6(0x195)](ae,this[_0xb8cae6(0x2c5)],this[_0xb8cae6(0x1c6)],this['_awaitingChangeset'],[_0x1d7c06],this[_0xb8cae6(0x187)],this['_resendTimer']);return _0x385bf6[_0xb8cae6(0x130)](),_0x385bf6;}[_0x281423(0x261)](_0x4e35ab){var _0x34790e=_0x281423;if(this[_0x34790e(0x272)](_0x4e35ab))return this[_0x34790e(0x107)](),this['_injector'][_0x34790e(0x195)](ee,this[_0x34790e(0x2c5)],this[_0x34790e(0x1c6)],this['_awaitingChangeset'],[],null,[_0x4e35ab],this['_handler']);try{const _0x489145=this[_0x34790e(0x31d)]['transformChangesets']([_0x4e35ab],[this['_awaitingChangeset']],!0x1);if(_0x2f127e(_0x489145)){const {c1Prime:_0x12e9ee,c2Prime:_0x33c4eb}=_0x489145;this[_0x34790e(0x2ee)](_0x12e9ee[0x0]),_0x33c4eb[0x0][_0x34790e(0x283)]=this[_0x34790e(0x221)](),this[_0x34790e(0x107)]();const _0x50b623=this[_0x34790e(0x269)][_0x34790e(0x195)](le,this['unitID'],this[_0x34790e(0x1c6)],_0x33c4eb[0x0],this[_0x34790e(0x187)]);return _0x50b623[_0x34790e(0x130)](),_0x50b623;}return this[_0x34790e(0xbc)](!0x1);}catch(_0x3132ea){return this[_0x34790e(0x297)][_0x34790e(0x149)](_0x3132ea),this['_onConflict'](!0x1);}}[_0x281423(0x333)](_0x235796){var _0x5e84fe=_0x281423;this['_clearScheduledTask']();const _0x3cc225=this[_0x5e84fe(0x1fe)][_0x5e84fe(0x25c)](this[_0x5e84fe(0x2c5)]);if(_0x235796[_0x5e84fe(0x2ec)]<_0x3cc225-0x1)return this;if(this['_checkMissing'](_0x235796))return this[_0x5e84fe(0x269)][_0x5e84fe(0x195)](ee,this[_0x5e84fe(0x2c5)],this[_0x5e84fe(0x1c6)],null,[],this[_0x5e84fe(0x2a2)],[],this['_handler']);this[_0x5e84fe(0x1c1)]();const _0xda037e=this[_0x5e84fe(0x269)][_0x5e84fe(0x195)](Ne,this[_0x5e84fe(0x2c5)],this[_0x5e84fe(0x1c6)],this[_0x5e84fe(0x187)]);return _0xda037e[_0x5e84fe(0x130)](),_0xda037e;}[_0x281423(0x174)](_0x4081c3){var _0xe89fb5=_0x281423;return this[_0xe89fb5(0xbc)](!!(_0x4081c3!=null&&_0x4081c3['isPermissionRej']));}['onRemoteRetry'](_0x1ce6dd){var _0x9496c0=_0x281423;return this['_resendTimeout']>yi?this[_0x9496c0(0x321)]():(this[_0x9496c0(0x292)]=Ri(this['_resendTimeout'],{'timeout':this[_0x9496c0(0x295)],'reqId':_0x1ce6dd[_0x9496c0(0x28e)]}),this[_0x9496c0(0x133)]=this['_resendTimer'][_0x9496c0(0x142)](({reqId:_0x1c0f37,timeout:_0x2f38e4})=>{var _0x401828=_0x9496c0;this[_0x401828(0x285)](_0x1c0f37,_0x2f38e4);}),this);}[_0x281423(0x321)](){var _0x34e697=_0x281423;return this['_clearScheduledTask'](),this['_injector'][_0x34e697(0x195)](de,this[_0x34e697(0x2c5)],this[_0x34e697(0x1c6)],this['_awaitingChangeset'],[],this['_handler']);}[_0x281423(0x284)](){return this;}['resend'](){var _0x49023a=_0x281423;this[_0x49023a(0x187)][_0x49023a(0x367)](this[_0x49023a(0x2a2)]);}[_0x281423(0xbc)](_0x4e9181){var _0x1265fa=_0x281423;return this[_0x1265fa(0x107)](),this[_0x1265fa(0x269)][_0x1265fa(0x195)](ue,this[_0x1265fa(0x2c5)],this[_0x1265fa(0x1c6)],this[_0x1265fa(0x2a2)],[],this[_0x1265fa(0x187)],_0x4e9181);}['_resendWithTimeout'](_0x15cab2,_0x23550e){var _0x5c57f1=_0x281423,_0x1937ac;_0x15cab2===((_0x1937ac=this[_0x5c57f1(0x2a2)])==null?void 0x0:_0x1937ac['reqId'])&&(this[_0x5c57f1(0xd8)](),this['_resendTimeout']=_0x23550e===0x0?0x3e8:_0x23550e*0x2);}[_0x281423(0x107)](){var _0x11e26c=_0x281423,_0x472690;(_0x472690=this[_0x11e26c(0x133)])==null||_0x472690[_0x11e26c(0x390)](),this[_0x11e26c(0x295)]=0x0;}};le=Te([P(0x4,_0x12ce65(_0x475511)),P(0x5,_0x12ce65(_0xea2305)),P(0x6,_0x5e151a),P(0x7,_0x13bc13),P(0x8,_0x74f559),P(0x9,_0x4ad1ad),P(0xa,_0x449f0e(J))],le);let ae=class extends Ce{constructor(_0x980ce3,_0x4207b5,_0x4b384c,_0x50beff,_0x73de2f,_0x4cb9d4,_0x3ab674,_0x581d09,_0x426d6e,_0x5d8e94,_0x3d05b3,_0x5e8908,_0x2dc890){var _0x13b03e=_0x281423;super(_0x980ce3,_0x4207b5,_0x4b384c,_0x50beff,_0x73de2f,_0x426d6e,_0x5e8908,_0x581d09,_0x2dc890),N(this,_0x13b03e(0x356),'awaiting_with_pending'),N(this,_0x13b03e(0x295),0x0),N(this,_0x13b03e(0x292)),N(this,_0x13b03e(0x133)),(this[_0x13b03e(0x269)]=_0x3ab674,this[_0x13b03e(0x297)]=_0x5d8e94,this[_0x13b03e(0x31d)]=_0x3d05b3,this[_0x13b03e(0x2fb)]=_0x2dc890,_0x4cb9d4&&(this[_0x13b03e(0x292)]=_0x4cb9d4,this[_0x13b03e(0x133)]=this[_0x13b03e(0x292)][_0x13b03e(0x142)](({reqId:_0x13d4b8,timeout:_0x9ecf52})=>{var _0x4fb955=_0x13b03e;this[_0x4fb955(0x285)](_0x13d4b8,_0x9ecf52);})));}[_0x281423(0x147)](_0x321fd5){return this['_pendingMutations']['push'](_0x321fd5),this;}['onRemoteChangeset'](_0xb25774){var _0x396b1f=_0x281423;if(this[_0x396b1f(0x272)](_0xb25774))return this[_0x396b1f(0x107)](),this[_0x396b1f(0x269)][_0x396b1f(0x195)](ee,this[_0x396b1f(0x2c5)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xb25774],this[_0x396b1f(0x187)]);try{const _0x5e8ecf=this[_0x396b1f(0x31d)][_0x396b1f(0x1e0)]([_0xb25774],[this[_0x396b1f(0x2a2)]],!0x1);if(_0x2f127e(_0x5e8ecf)){const {c1Prime:_0x9c69bc,c2Prime:_0x435c72}=_0x5e8ecf,_0x15a7ba=this[_0x396b1f(0x31d)]['transformMutationsWithChangeset'](_0x9c69bc[0x0],this['_pendingMutations']);if(_0x4ce0c0(_0x15a7ba)){const {c1Prime:_0xfbb3bb,m2Prime:_0x15b28a}=_0x15a7ba;return this['_executeRemoteChangeset'](_0xfbb3bb),_0x435c72[0x0][_0x396b1f(0x283)]=this[_0x396b1f(0x221)](),this[_0x396b1f(0x107)](),this[_0x396b1f(0x269)]['createInstance'](ae,this[_0x396b1f(0x2c5)],this[_0x396b1f(0x1c6)],_0x435c72[0x0],_0x15b28a,this[_0x396b1f(0x187)],void 0x0);}throw _0x15a7ba[_0x396b1f(0x149)];}throw _0x5e8ecf['error'];}catch(_0x36d607){return this[_0x396b1f(0x297)][_0x396b1f(0x149)](_0x36d607),this['_onConflict'](!0x1);}}[_0x281423(0x333)](_0x2134e8){var _0x5af858=_0x281423;if(this[_0x5af858(0x107)](),this[_0x5af858(0x272)](_0x2134e8))return this[_0x5af858(0x269)][_0x5af858(0x195)](ee,this[_0x5af858(0x2c5)],this[_0x5af858(0x1c6)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5af858(0x187)]);this[_0x5af858(0x1c1)]();const _0x3e65a2=this['_injector'][_0x5af858(0x195)](oe,this[_0x5af858(0x2c5)],this[_0x5af858(0x1c6)],this[_0x5af858(0x183)],this[_0x5af858(0x187)]);return _0x3e65a2['_schedule'](),_0x3e65a2['_updateLocalCache'](),_0x3e65a2;}['onRemoteRej'](_0x17638e){var _0x15d044=_0x281423;return this[_0x15d044(0xbc)](!!(_0x17638e!=null&&_0x17638e[_0x15d044(0x1f2)]));}[_0x281423(0x194)](_0x3cd7a6){var _0x27ebd8=_0x281423;return this[_0x27ebd8(0x295)]>yi?this['toggleOffline']():(this[_0x27ebd8(0x292)]=Ri(this['_resendTimeout'],{'timeout':this[_0x27ebd8(0x295)],'reqId':_0x3cd7a6[_0x27ebd8(0x28e)]}),this['_sender']=this[_0x27ebd8(0x292)][_0x27ebd8(0x142)](({reqId:_0x5995b1,timeout:_0x5769b0})=>{this['_resendWithTimeout'](_0x5995b1,_0x5769b0);}),this);}[_0x281423(0x321)](){var _0x135dce=_0x281423;return this[_0x135dce(0x107)](),this[_0x135dce(0x269)][_0x135dce(0x195)](de,this[_0x135dce(0x2c5)],this[_0x135dce(0x1c6)],this[_0x135dce(0x2a2)],this[_0x135dce(0x183)],this[_0x135dce(0x187)]);}[_0x281423(0x284)](){return this;}['resend'](){var _0x25b136=_0x281423;this[_0x25b136(0x187)][_0x25b136(0x367)](this[_0x25b136(0x2a2)]);}['_onConflict'](_0x328106){var _0x2aac34=_0x281423;return this[_0x2aac34(0x107)](),this[_0x2aac34(0x269)][_0x2aac34(0x195)](ue,this[_0x2aac34(0x2c5)],this[_0x2aac34(0x1c6)],null,this['_pendingMutations'],this[_0x2aac34(0x187)],_0x328106);}[_0x281423(0x285)](_0x52ee6c,_0x547e47){var _0x285fad=_0x281423,_0x168b7b;_0x52ee6c===((_0x168b7b=this[_0x285fad(0x2a2)])==null?void 0x0:_0x168b7b['reqId'])&&(this['resend'](),this[_0x285fad(0x295)]=_0x547e47===0x0?0x3e8:_0x547e47*0x2);}[_0x281423(0x107)](){var _0x50e336=_0x281423,_0x472255;(_0x472255=this[_0x50e336(0x133)])==null||_0x472255[_0x50e336(0x390)](),this[_0x50e336(0x295)]=0x0;}};ae=Te([P(0x6,_0x12ce65(_0x475511)),P(0x7,_0x12ce65(_0xea2305)),P(0x8,_0x5e151a),P(0x9,_0x13bc13),P(0xa,_0x74f559),P(0xb,_0x4ad1ad),P(0xc,_0x449f0e(J))],ae);let ue=class extends Ce{constructor(_0x8fb51a,_0x2947ba,_0x15046a,_0x3f426e,_0x1455d1,_0x311243=!0x1,_0x1d4d71,_0x2ac768,_0x455239,_0x4e57a4,_0x2c1610,_0x3fe372,_0x449e0b){var _0x4e2f38=_0x281423;super(_0x8fb51a,_0x2947ba,_0x15046a,_0x3f426e,_0x1455d1,_0x2ac768,_0x455239,_0x4e57a4,_0x449e0b),N(this,_0x4e2f38(0x356),_0x4e2f38(0x232)),(this[_0x4e2f38(0x268)]=_0x311243,this[_0x4e2f38(0x267)]=_0x1d4d71,this[_0x4e2f38(0x218)]=_0x2c1610,this[_0x4e2f38(0x1e1)]=_0x3fe372,this[_0x4e2f38(0x2fb)]=_0x449e0b,this[_0x4e2f38(0x162)](),this[_0x4e2f38(0x378)](),this[_0x4e2f38(0x2bc)]());}[_0x281423(0x147)](){return this;}['onRemoteChangeset'](){return this;}[_0x281423(0x333)](){return this;}['onRemoteRej'](){return this;}[_0x281423(0x194)](){return this;}[_0x281423(0x321)](){return this;}[_0x281423(0x284)](){return this;}[_0x281423(0xd8)](){var _0xc94bf=_0x281423;throw new Error(_0xc94bf(0x32a));}[_0x281423(0x378)](){var _0x7bc017=_0x281423,_0x1b748e;(_0x1b748e=this[_0x7bc017(0xff)])==null||_0x1b748e[_0x7bc017(0x368)](this[_0x7bc017(0x2c5)],this['type'],null,[]);}['_showConflictNotification'](){var _0x1814c1=_0x281423;this[_0x1814c1(0x268)]?this[_0x1814c1(0x1e1)][_0x1814c1(0x1b0)]({'id':se[_0x1814c1(0x166)]}):this['_collaborationUIEventService'][_0x1814c1(0x1b0)]({'id':se[_0x1814c1(0x1f7)]});}[_0x281423(0x2bc)](){var _0x5d78cc=_0x281423;this[_0x5d78cc(0x267)]['updatePermissionPoint'](new _0x2e3aed(this[_0x5d78cc(0x2c5)])['id'],!0x1);}};ue=Te([P(0x6,_0x12ce65(_0xd641f0)),P(0x7,_0x5e151a),P(0x8,_0x4ad1ad),P(0x9,_0x12ce65(_0xea2305)),P(0xa,_0x12ce65(_0x1adbc7)),P(0xb,_0x12ce65(pe)),P(0xc,_0x449f0e(J))],ue);let de=class extends Ce{constructor(_0x2d5323,_0x181a26,_0x493a6a,_0x168849,_0x477b5d,_0x3a62ed,_0x30b868,_0x200442,_0x569052,_0x4295ee){var _0x28d4fb=_0x281423;super(_0x2d5323,_0x181a26,_0x493a6a,_0x168849,_0x477b5d,_0x200442,_0x569052,_0x30b868,_0x4295ee),N(this,_0x28d4fb(0x356),_0x28d4fb(0x1ce)),this['_injector']=_0x3a62ed;}[_0x281423(0x147)](_0x158426){var _0x528768=_0x281423;return this[_0x528768(0x183)]['push'](_0x158426),this['_updateLocalCache'](),this;}[_0x281423(0x261)](_0x5a1cf5){var _0x3684ba=_0x281423;throw new Error(_0x3684ba(0x146));}[_0x281423(0x333)](){var _0x2c7d47=_0x281423;throw new Error(_0x2c7d47(0x301));}[_0x281423(0x174)](){var _0xfe71b6=_0x281423;throw new Error(_0xfe71b6(0x381));}[_0x281423(0x194)](){return this;}['toggleOffline'](){return this;}[_0x281423(0x284)](){var _0x2e5a61=_0x281423;const {_injector:_0x59956,_pendingMutations:_0xdda3e,_awaitingChangeset:_0x4d7027,unitID:_0xeb5b00,_handler:_0x17b25e,type:_0xb59186}=this,_0x4ac5c7=Oi(_0x59956,_0xeb5b00,_0xb59186,_0x4d7027,_0xdda3e,_0x17b25e);return _0x4ac5c7 instanceof oe?_0x4ac5c7[_0x2e5a61(0x14e)]():(_0x4ac5c7 instanceof ae||_0x4ac5c7 instanceof le)&&_0x4ac5c7[_0x2e5a61(0xd8)](),_0x4ac5c7;}[_0x281423(0xd8)](){var _0x10fa7b=_0x281423;throw new Error(_0x10fa7b(0xeb));}};de=Te([P(0x5,_0x12ce65(_0x475511)),P(0x6,_0x12ce65(_0xea2305)),P(0x7,_0x5e151a),P(0x8,_0x4ad1ad),P(0x9,_0x449f0e(J))],de);let ee=class extends Ce{constructor(_0x198e06,_0x41309c,_0x2ad4e0,_0xba5a69,_0x36193b,_0x29bc06,_0x7da016,_0x658c74,_0x5a7488,_0x112d8e,_0x45a742,_0x1c0664,_0x48f2dc,_0x80e1d0){var _0x1bb0a7=_0x281423;super(_0x198e06,_0x41309c,_0x2ad4e0,_0xba5a69,_0x7da016,_0x45a742,_0x1c0664,_0x5a7488,_0x80e1d0),N(this,_0x1bb0a7(0x356),_0x1bb0a7(0x37e)),(this[_0x1bb0a7(0xe9)]=_0x36193b,this[_0x1bb0a7(0xe7)]=_0x29bc06,this[_0x1bb0a7(0x269)]=_0x658c74,this[_0x1bb0a7(0x297)]=_0x112d8e,this[_0x1bb0a7(0x31d)]=_0x48f2dc,this[_0x1bb0a7(0x2fb)]=_0x80e1d0);}[_0x281423(0xf6)](_0x135b6e){var _0xf9ecda=_0x281423;try{const _0x4f3e41=[..._0x135b6e,...this[_0xf9ecda(0xe7)]],_0xbc1e21=[this[_0xf9ecda(0x2a2)]||this[_0xf9ecda(0xe9)]][_0xf9ecda(0x2bb)](_0x18d218=>!!_0x18d218);let _0x2cab97,_0x5e31f0;if(_0xbc1e21[_0xf9ecda(0x256)]){const _0x48210c=this[_0xf9ecda(0x31d)][_0xf9ecda(0x1e0)](_0x4f3e41,_0xbc1e21,!0x1);if(!_0x2f127e(_0x48210c))throw _0x48210c[_0xf9ecda(0x149)];_0x2cab97=_0x48210c[_0xf9ecda(0x25b)],_0x5e31f0=_0x48210c[_0xf9ecda(0x2d2)];}else _0x2cab97=_0x4f3e41,_0x5e31f0=[];let _0x2a760b=this['_pendingMutations'];_0x2cab97[_0xf9ecda(0xf9)](_0x406d30=>{var _0x5c7fbb=_0xf9ecda;let _0x3973cf;if(_0x2a760b[_0x5c7fbb(0x256)]){const _0x29b7e8=this[_0x5c7fbb(0x31d)][_0x5c7fbb(0x102)](_0x406d30,_0x2a760b);if(!_0x4ce0c0(_0x29b7e8))throw _0x29b7e8[_0x5c7fbb(0x149)];_0x3973cf=_0x29b7e8['c1Prime'],_0x2a760b=_0x29b7e8[_0x5c7fbb(0x145)];}else _0x3973cf=_0x406d30;this[_0x5c7fbb(0x2ee)](_0x3973cf);}),this[_0xf9ecda(0xe9)]&&this['_incrementRevisionNumber'](),this[_0xf9ecda(0x2a2)]&&_0x5e31f0['length']&&(_0x5e31f0[0x0][_0xf9ecda(0x283)]=this[_0xf9ecda(0x221)]());let _0xbec505;if(this['_awaitingChangeset']&&_0x2a760b['length']!==0x0)_0xbec505=this[_0xf9ecda(0x269)][_0xf9ecda(0x195)](ae,this[_0xf9ecda(0x2c5)],this[_0xf9ecda(0x1c6)],_0x5e31f0[0x0],_0x2a760b,this[_0xf9ecda(0x187)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2a760b[_0xf9ecda(0x256)]===0x0)_0x5e31f0[0x0]['baseRev']=this[_0xf9ecda(0x221)](),_0xbec505=this[_0xf9ecda(0x269)][_0xf9ecda(0x195)](le,this[_0xf9ecda(0x2c5)],this['type'],_0x5e31f0[0x0],this[_0xf9ecda(0x187)]);else{if(_0x2a760b['length']!==0x0){const _0x57d409=this[_0xf9ecda(0x269)]['createInstance'](oe,this['unitID'],this[_0xf9ecda(0x1c6)],_0x2a760b,this['_handler']);_0x57d409[_0xf9ecda(0x14e)](),_0xbec505=_0x57d409;}else _0xbec505=this[_0xf9ecda(0x269)][_0xf9ecda(0x195)](Ne,this['unitID'],this[_0xf9ecda(0x1c6)],this['_handler']);}}return _0xbec505['_updateLocalCache'](),_0xbec505;}catch(_0xc835da){return this[_0xf9ecda(0x297)][_0xf9ecda(0x149)](_0xf9ecda(0xd0),_0xf9ecda(0x217),_0xc835da),this[_0xf9ecda(0x269)][_0xf9ecda(0x195)](ue,this[_0xf9ecda(0x2c5)],this[_0xf9ecda(0x1c6)],this[_0xf9ecda(0x2a2)],this[_0xf9ecda(0x183)],this['_handler'],!0x1);}}[_0x281423(0xd8)](){var _0x19afd4=_0x281423;throw new Error(_0x19afd4(0x120));}['appendMutation'](_0x1198f8){var _0x4b3a7f=_0x281423;return this['_pendingMutations'][_0x4b3a7f(0x1b5)](_0x1198f8),this;}[_0x281423(0x261)](_0x131a0a){var _0x5b46e7=_0x281423;return this[_0x5b46e7(0xe7)]['push'](_0x131a0a),this;}[_0x281423(0x333)](_0x22578e){var _0xfe5e97=_0x281423;if(this[_0xfe5e97(0x2a2)])return this[_0xfe5e97(0xe9)]=this[_0xfe5e97(0x2a2)],this['_awaitingChangeset']=null,this;throw new Error(_0xfe5e97(0x1a0));}[_0x281423(0x174)](_0x91c0c0){var _0x3d353c=_0x281423;return this[_0x3d353c(0xbc)](!!(_0x91c0c0!=null&&_0x91c0c0[_0x3d353c(0x1f2)]));}[_0x281423(0x194)](){return this;}[_0x281423(0x321)](){var _0x41cd2c=_0x281423;return this['_injector'][_0x41cd2c(0x195)](de,this['unitID'],this[_0x41cd2c(0x1c6)],this[_0x41cd2c(0x2a2)],this[_0x41cd2c(0x183)],this[_0x41cd2c(0x187)]);}[_0x281423(0x284)](){return this;}[_0x281423(0xbc)](_0x1d936d){var _0x53e877=_0x281423;return this[_0x53e877(0x269)]['createInstance'](ue,this['unitID'],this[_0x53e877(0x1c6)],this[_0x53e877(0x2a2)],this[_0x53e877(0x183)],this[_0x53e877(0x187)],_0x1d936d);}};ee=Te([P(0x7,_0x12ce65(_0x475511)),P(0x8,_0x12ce65(_0xea2305)),P(0x9,_0x13bc13),P(0xa,_0x5e151a),P(0xb,_0x4ad1ad),P(0xc,_0x74f559),P(0xd,_0x449f0e(J))],ee);function Oi(_0x3b3e3a,_0x5e62ca,_0x45d3a4,_0x50bd98,_0x610b42,_0x36bd7d){var _0x29a765=_0x281423;return _0x50bd98&&_0x610b42[_0x29a765(0x256)]?_0x3b3e3a[_0x29a765(0x195)](ae,_0x5e62ca,_0x45d3a4,_0x50bd98,_0x610b42,_0x36bd7d,void 0x0):_0x50bd98?_0x3b3e3a[_0x29a765(0x195)](le,_0x5e62ca,_0x45d3a4,_0x50bd98,_0x36bd7d):_0x610b42['length']?_0x3b3e3a[_0x29a765(0x195)](oe,_0x5e62ca,_0x45d3a4,_0x610b42,_0x36bd7d):_0x3b3e3a[_0x29a765(0x195)](Ne,_0x5e62ca,_0x45d3a4,_0x36bd7d);}var on=Object[_0x281423(0x2aa)],xt=(_0x3f3979,_0x6fb1cd,_0x254092,_0x8dd187)=>{var _0x534345=_0x281423;for(var _0x199f8e=_0x8dd187>0x1?void 0x0:_0x8dd187?on(_0x6fb1cd,_0x254092):_0x6fb1cd,_0x576ee0=_0x3f3979[_0x534345(0x256)]-0x1,_0x555101;_0x576ee0>=0x0;_0x576ee0--)(_0x555101=_0x3f3979[_0x576ee0])&&(_0x199f8e=_0x555101(_0x199f8e)||_0x199f8e);return _0x199f8e;},H=(_0x5eb4be,_0x50619c)=>(_0x511ad9,_0x58afaa)=>_0x50619c(_0x511ad9,_0x58afaa,_0x5eb4be);let rt=class extends _0x49b5d7{constructor(_0x49bbbd,_0x5e4b9a,_0x37ee2f,_0x577b81,_0x1822eb,_0x17d7df,_0x86b7cb,_0x4a7fc3,_0x9dedab,_0x55d270,_0x219d5f,_0x9cca51,_0x1ac201){var _0x1e5ed0=_0x281423;super(),N(this,_0x1e5ed0(0x34e),new _0xac0553(null)),N(this,_0x1e5ed0(0x13d),this['_state$'][_0x1e5ed0(0x2fa)]()),N(this,_0x1e5ed0(0x320)),N(this,_0x1e5ed0(0x207),!0x1),N(this,_0x1e5ed0(0x354),''),N(this,_0x1e5ed0(0x192),0x0),N(this,_0x1e5ed0(0x176),this[_0x1e5ed0(0x13d)][_0x1e5ed0(0x1b6)](_0xdc549b(_0x2638aa=>_0x2638aa?_0x2638aa[_0x1e5ed0(0x356)]:bi[_0x1e5ed0(0xdf)]),_0x280528(0x1))),N(this,_0x1e5ed0(0x2bf),!0x1),N(this,_0x1e5ed0(0x319),[]),(this[_0x1e5ed0(0x2c5)]=_0x49bbbd,this[_0x1e5ed0(0x2d4)]=_0x5e4b9a,this[_0x1e5ed0(0x1ad)]=_0x37ee2f,this['_injector']=_0x577b81,this['_compressMutationService']=_0x1822eb,this[_0x1e5ed0(0x218)]=_0x17d7df,this[_0x1e5ed0(0x1fe)]=_0x86b7cb,this[_0x1e5ed0(0x27b)]=_0x4a7fc3,this[_0x1e5ed0(0x297)]=_0x9dedab,this[_0x1e5ed0(0x115)]=_0x55d270,this[_0x1e5ed0(0x267)]=_0x219d5f,this[_0x1e5ed0(0xed)]=_0x9cca51,this['_localCacheService']=_0x1ac201);}get[_0x281423(0x30d)](){var _0xab59e9=_0x281423;return this[_0xab59e9(0x320)];}async[_0x281423(0x229)](){var _0x5aae06=_0x281423;if(this['state'])throw new Error(_0x5aae06(0x24d));await this['_init']();}['pauseCollaboration'](){var _0x5b8855=_0x281423;return this[_0x5b8855(0x207)]=!0x0,_0x1e598e(()=>{var _0x5a168b=_0x5b8855;this[_0x5a168b(0x207)]=!0x1,this[_0x5a168b(0xfe)]();});}[_0x281423(0x1d1)](_0x20586f){this['_onLocalMutation'](_0x20586f);}[_0x281423(0x361)](_0x24756c){var _0x77dd26=_0x281423;this[_0x77dd26(0x320)]=_0x24756c,this['_state$'][_0x77dd26(0x288)](_0x24756c);}async[_0x281423(0x29f)](){var _0x11e532=_0x281423,_0x4dc73b;this['_updateState'](await this[_0x11e532(0x1cd)]()),this[_0x11e532(0xed)]&&((_0x4dc73b=this[_0x11e532(0xed)])==null||_0x4dc73b['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x11e532(0xed)]['getUnitStatus$'](this['unitID'])[_0x11e532(0x142)](_0x4b731a=>{var _0x361d86=_0x11e532;this[_0x361d86(0x297)]['debug'](_0x361d86(0x16a),_0x361d86(0x2a9),_0x4b731a),_0x4b731a===Ci[_0x361d86(0x17b)]?(this[_0x361d86(0x27b)][_0x361d86(0x1b0)]({'id':se[_0x361d86(0x289)]}),this[_0x361d86(0x267)][_0x361d86(0xd1)](new _0x2e3aed(this[_0x361d86(0x2c5)])['id'],!0x1),this['_permissionService'][_0x361d86(0xe3)](!0x1)):(this[_0x361d86(0x267)][_0x361d86(0xd1)](new _0x2e3aed(this[_0x361d86(0x2c5)])['id'],!0x0),this[_0x361d86(0x267)][_0x361d86(0xe3)](!0x0));})));let _0x21c249=!0x1;return this[_0x11e532(0x1cf)](this[_0x11e532(0x2d4)][_0x11e532(0x3a9)][_0x11e532(0x142)](_0x51c776=>{var _0x1bbd4b=_0x11e532;_0x51c776===Ee['ONLINE']?this[_0x1bbd4b(0x12a)](_0x21c249):_0x51c776===Ee[_0x1bbd4b(0xdf)]&&(_0x21c249=!0x0,this[_0x1bbd4b(0x1b8)]());})),this[_0x11e532(0x1cf)](this[_0x11e532(0x2d4)][_0x11e532(0x25a)][_0x11e532(0x142)](_0x1b1a19=>{var _0x3bad96=_0x11e532;try{switch(_0x1b1a19[_0x3bad96(0x1ec)]){case _0x22b3b6[_0x3bad96(0x18e)]:{this['_onRemoteChangeset'](_0x511b17(_0x1b1a19['data']));break;}case _0x22b3b6[_0x3bad96(0x276)]:{this[_0x3bad96(0x257)](_0x1b1a19[_0x3bad96(0x291)]);break;}case _0x22b3b6[_0x3bad96(0x1e9)]:{this['_onRemoteRejected']();break;}case _0x22b3b6[_0x3bad96(0x11f)]:{this['_onRemoteRetry'](_0x1b1a19['data']);break;}case _0x22b3b6[_0x3bad96(0x29d)]:{this[_0x3bad96(0xbe)](_0x1b1a19[_0x3bad96(0x291)][_0x3bad96(0x347)][_0x3bad96(0x20c)](_0xb68b8c=>_0x511b17(_0xb68b8c)));break;}case _0x22b3b6[_0x3bad96(0x258)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x22b3b6[_0x3bad96(0x26a)]:break;}}catch(_0x8144cc){throw console['error'](_0x3bad96(0x375),_0x8144cc),_0x8144cc;}})),this[_0x11e532(0x320)];}[_0x281423(0x106)](){var _0x5113cc=_0x281423;this[_0x5113cc(0x2bf)]=!0x1;}[_0x281423(0xc6)](){var _0x50189e=_0x281423;if(this[_0x50189e(0x2bf)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x50189e(0x2bf)]=!0x0;}[_0x281423(0x263)](_0x105ed8){var _0x25a894=_0x281423;this[_0x25a894(0xc6)](),this[_0x25a894(0x361)](this[_0x25a894(0x320)][_0x25a894(0x147)](_0x105ed8)),this['_unlockTransition']();}[_0x281423(0x32c)](_0x134e9d){var _0x127e30=_0x281423;if(!(_0x134e9d[_0x127e30(0x2ec)]<=this['_revisionService'][_0x127e30(0x25c)](this[_0x127e30(0x2c5)]))){if(this[_0x127e30(0x207)]){this[_0x127e30(0x319)][_0x127e30(0x1b5)](_0x134e9d);return;}this[_0x127e30(0x1a6)](_0x134e9d);}}[_0x281423(0xfe)](){var _0x213342=_0x281423;this[_0x213342(0x319)][_0x213342(0xf9)](_0x292826=>this[_0x213342(0x1a6)](_0x292826)),this[_0x213342(0x319)]=[];}[_0x281423(0x1a6)](_0x3e2537){var _0x520824=_0x281423;const _0x59637d=this[_0x520824(0x23a)][_0x520824(0x163)][_0x520824(0x1a9)](this[_0x520824(0x23a)][_0x520824(0x163)][_0x520824(0x2d5)]()[_0x520824(0x39b)])(_0x3e2537[_0x520824(0xcd)],null)||_0x3e2537[_0x520824(0xcd)],_0x367323={..._0x3e2537,'mutations':_0x59637d};this[_0x520824(0xc6)](),this['_updateState'](this[_0x520824(0x320)][_0x520824(0x261)](_0x367323)),this[_0x520824(0x106)]();}[_0x281423(0x257)](_0x4482c6){var _0x17ca3d=_0x281423;this[_0x17ca3d(0xc6)](),this[_0x17ca3d(0x361)](this[_0x17ca3d(0x320)]['onRemoteAck'](_0x4482c6)),this[_0x17ca3d(0x106)]();}[_0x281423(0x302)](_0x4edeb3){var _0x2ffac4=_0x281423;this['_lockTransition'](),this[_0x2ffac4(0x361)](this[_0x2ffac4(0x320)][_0x2ffac4(0x174)](_0x4edeb3)),this['_unlockTransition']();}[_0x281423(0x22e)](_0x4b9b8c){var _0x5c74e2=_0x281423;this['_lockTransition'](),this[_0x5c74e2(0x361)](this['_state'][_0x5c74e2(0x194)](_0x4b9b8c)),this[_0x5c74e2(0x106)]();}[_0x281423(0xbe)](_0x5d958c){var _0xb688d6=_0x281423;if(!(this[_0xb688d6(0x320)]instanceof ee))throw new TypeError(_0xb688d6(0x3b0));const _0x4d54c1=_0x5d958c['map'](_0x507d9e=>{var _0xe5c735=_0xb688d6;const _0x19079e=this[_0xe5c735(0x23a)][_0xe5c735(0x163)][_0xe5c735(0x1a9)](this[_0xe5c735(0x23a)][_0xe5c735(0x163)][_0xe5c735(0x2d5)]()[_0xe5c735(0x39b)])(_0x507d9e['mutations'],null)||_0x507d9e['mutations'];return{..._0x507d9e,'mutations':_0x19079e};});this['_lockTransition'](),this[_0xb688d6(0x361)](this[_0xb688d6(0x320)][_0xb688d6(0xf6)](_0x4d54c1)),this[_0xb688d6(0x106)]();}[_0x281423(0x1b8)](){var _0x21e0bb=_0x281423;this[_0x21e0bb(0xc6)](),this[_0x21e0bb(0x361)](this[_0x21e0bb(0x320)][_0x21e0bb(0x321)]()),this['_unlockTransition']();}[_0x281423(0x12a)](_0x41a8cd=!0x1){var _0x562d55=_0x281423;this[_0x562d55(0xc6)](),this[_0x562d55(0x361)](this[_0x562d55(0x320)]['toggleOnline']()),this[_0x562d55(0x106)]();const _0x40ea1e=this[_0x562d55(0x320)];_0x41a8cd&&_0x40ea1e instanceof Ne&&(this[_0x562d55(0xc6)](),this[_0x562d55(0x361)](_0x40ea1e[_0x562d55(0x14d)]()),this[_0x562d55(0x106)]());}async[_0x281423(0x1cd)](){return new Promise(_0x1c92fe=>{var _0x42b973=_0x4ec3;this['session'][_0x42b973(0x3a9)]['pipe'](_0x34b2d6(0x1))['subscribe'](async _0x1b8cae=>{var _0x7921e8=_0x42b973;_0x1c92fe(await this[_0x7921e8(0x2f9)](_0x1b8cae===Ee[_0x7921e8(0xd2)]));});});}[_0x281423(0x2e1)](){const _0x2536b0=this['unitID'];return{'onStateChange':(_0x51bda1,_0x3e62fe)=>{var _0x53b758=_0x4ec3;if(_0x51bda1!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x51bda1[_0x53b758(0x356)]+_0x53b758(0x1c3)+_0x3e62fe['status']+_0x53b758(0x199)+this[_0x53b758(0x320)][_0x53b758(0x356)]);this[_0x53b758(0x361)](_0x3e62fe);},'onSendChangeset':_0x4ed488=>{var _0x3a7cd7=_0x4ec3;_0x4ed488[_0x3a7cd7(0x2df)]||(_0x4ed488[_0x3a7cd7(0x2df)]=this[_0x3a7cd7(0x354)],_0x4ed488[_0x3a7cd7(0x28e)]=++this['_changesetReqId']);const _0x1b5f8={'eventID':_0x22b3b6['SUBMIT_CHANGESET'],'data':{'unitID':_0x4ed488[_0x3a7cd7(0x2c5)],'unitType':this[_0x3a7cd7(0x1ad)],'changeset':_0x4ed488,'memberID':this[_0x3a7cd7(0x2d4)][_0x3a7cd7(0x27c)]()}};this[_0x3a7cd7(0x2d4)]['send'](_0x1b5f8,this[_0x3a7cd7(0x2c5)]);},'onMissingChangesets':({from:_0x1bfdbc,to:_0x3dd8bd})=>{var _0x3f1144=_0x4ec3;this[_0x3f1144(0x297)][_0x3f1144(0x3a6)]('[CollaborationEntity]',_0x3f1144(0x1f8)+_0x1bfdbc+_0x3f1144(0x1f0)+_0x3dd8bd);const _0x27a98a={'eventID':_0x22b3b6['FETCH_MISSING'],'data':{'unitID':_0x2536b0,'unitType':this[_0x3f1144(0x1ad)],'from':_0x1bfdbc,'to':_0x3dd8bd}};this[_0x3f1144(0x2d4)][_0x3f1144(0x2d8)](_0x27a98a,this[_0x3f1144(0x2c5)]);}};}async['_createInitialStateImpl'](_0x3f0408){var _0x493322=_0x281423,_0x3e7db1,_0x3f9d5f,_0x2e6db0;const _0x1afd9e=await((_0x3e7db1=this[_0x493322(0xff)])==null?void 0x0:_0x3e7db1[_0x493322(0x1d0)](this[_0x493322(0x2c5)])),_0x226d07=(_0x3f9d5f=_0x1afd9e==null?void 0x0:_0x1afd9e[_0x493322(0xcd)])!=null?_0x3f9d5f:[],_0x4deb05=(_0x2e6db0=_0x1afd9e==null?void 0x0:_0x1afd9e[_0x493322(0xec)])!=null?_0x2e6db0:null,_0x988966=!!(_0x4deb05!=null&&_0x4deb05['sid'])&&!!(_0x4deb05!=null&&_0x4deb05[_0x493322(0x28e)]);this['_changesetSessionId']=_0x988966?_0x4deb05['sid']:Xr(),this[_0x493322(0x192)]=_0x988966?_0x4deb05['reqId']:0x0;const _0x169736=this['unitID'];try{this[_0x493322(0x389)](_0x4deb05,_0x226d07);}catch(_0x2d24a5){this['_logService'][_0x493322(0x149)](_0x2d24a5);}const _0x39d570=this[_0x493322(0x2e1)]();if(_0x3f0408){const _0x39185c=Oi(this[_0x493322(0x269)],_0x169736,this['_type'],_0x4deb05,_0x226d07,_0x39d570);return _0x39185c instanceof oe?_0x39185c[_0x493322(0x14e)]():(_0x39185c instanceof ae||_0x39185c instanceof le)&&_0x39185c[_0x493322(0xd8)](),_0x39185c;}return this['_injector'][_0x493322(0x195)](de,_0x169736,this['_type'],_0x4deb05,_0x226d07,_0x39d570);}[_0x281423(0x389)](_0x591985,_0x3b1183){var _0x20a62c=_0x281423,_0x57a744,_0x2f1e35;const _0x3a9946=this['_compressMutationService'][_0x20a62c(0x163)][_0x20a62c(0x1a9)](this[_0x20a62c(0x23a)]['interceptor'][_0x20a62c(0x2d5)]()[_0x20a62c(0x39b)]);(_0x57a744=_0x3a9946((_0x591985==null?void 0x0:_0x591985['mutations'])||[],null))==null||_0x57a744[_0x20a62c(0xf9)](_0x357f76=>this[_0x20a62c(0x115)]['executeCommand'](_0x357f76['id'],_0x357f76[_0x20a62c(0xe8)])),(_0x2f1e35=_0x3a9946(_0x3b1183||[],null))==null||_0x2f1e35[_0x20a62c(0xf9)](_0x158245=>this[_0x20a62c(0x115)][_0x20a62c(0x39c)](_0x158245['id'],_0x158245[_0x20a62c(0xe8)]));}};rt=xt([H(0x3,_0x12ce65(_0x475511)),H(0x4,_0x12ce65(_0x3147c1)),H(0x5,_0x12ce65(_0x1adbc7)),H(0x6,_0x12ce65(_0xea2305)),H(0x7,_0x12ce65(pe)),H(0x8,_0x13bc13),H(0x9,_0x5e151a),H(0xa,_0xd641f0),H(0xb,_0x449f0e(ht)),H(0xc,_0x449f0e(J))],rt);let It=class extends rt{constructor(_0x14242c,_0x8e8085,_0xc22c2e,_0x154c7d,_0x12bb28,_0x4519de,_0x535a01,_0x5b89bd,_0xa1f5ad,_0x48ccf7,_0x1fe8a4,_0x233062,_0x1f26eb){var _0x185487=_0x281423;super(_0x14242c,_0xc22c2e,_0x8e8085,_0x154c7d,_0x12bb28,_0x4519de,_0x535a01,_0x5b89bd,_0xa1f5ad,_0x48ccf7,_0x1fe8a4,_0x233062,_0x1f26eb),N(this,_0x185487(0x383),null),(this[_0x185487(0x2c5)]=_0x14242c,this[_0x185487(0x1c6)]=_0x8e8085);}[_0x281423(0x307)](_0xcad99){var _0x270f64=_0x281423;this[_0x270f64(0x383)]=_0xcad99;}[_0x281423(0x315)](){this['_handlerCallback']=null,super['dispose']();}[_0x281423(0x2e1)](){var _0x3213d3=_0x281423;const _0x28d498=super['_createHandler']();return _0x28d498[_0x3213d3(0x135)]=_0x413d84=>{var _0x1370d2=_0x3213d3,_0x56b3bb,_0x220e68;return(_0x220e68=(_0x56b3bb=this[_0x1370d2(0x383)])==null?void 0x0:_0x56b3bb[_0x1370d2(0x135)])==null?void 0x0:_0x220e68['call'](_0x56b3bb,_0x413d84);},_0x28d498[_0x3213d3(0xdc)]=_0x178d78=>{var _0x25b895=_0x3213d3,_0x2e3c18,_0x5313d4;return(_0x5313d4=(_0x2e3c18=this['_handlerCallback'])==null?void 0x0:_0x2e3c18['onTransformState'])==null?void 0x0:_0x5313d4[_0x25b895(0x15e)](_0x2e3c18,_0x178d78);},_0x28d498[_0x3213d3(0x39f)]=_0x47d8b6=>{var _0x2e601a=_0x3213d3,_0x32513c,_0xc542aa;return(_0xc542aa=(_0x32513c=this[_0x2e601a(0x383)])==null?void 0x0:_0x32513c[_0x2e601a(0x39f)])==null?void 0x0:_0xc542aa['call'](_0x32513c,_0x47d8b6);},_0x28d498[_0x3213d3(0x234)]=_0x2bc03=>{var _0x196c75=_0x3213d3,_0x11d131,_0x1e33c4;return(_0x1e33c4=(_0x11d131=this[_0x196c75(0x383)])==null?void 0x0:_0x11d131['onSyncEditingCollabCursor'])==null?void 0x0:_0x1e33c4[_0x196c75(0x15e)](_0x11d131,_0x2bc03);},_0x28d498['onTransformRemoteChangesetByIMECache']=_0x1af522=>{var _0x3d0e87=_0x3213d3,_0x57ac9a,_0x4a37d1,_0x2dca97;if(!((_0x57ac9a=this[_0x3d0e87(0x383)])!=null&&_0x57ac9a[_0x3d0e87(0x31b)]))throw new Error(_0x3d0e87(0x34a));return(_0x2dca97=(_0x4a37d1=this['_handlerCallback'])==null?void 0x0:_0x4a37d1[_0x3d0e87(0x31b)])==null?void 0x0:_0x2dca97['call'](_0x4a37d1,_0x1af522);},_0x28d498[_0x3213d3(0x243)]=_0x1fd64b=>{var _0x40bebd=_0x3213d3,_0x12bf89,_0x3c9839,_0x22d809;if(!((_0x12bf89=this[_0x40bebd(0x383)])!=null&&_0x12bf89[_0x40bebd(0x243)]))throw new Error(_0x40bebd(0x2b0));return(_0x22d809=(_0x3c9839=this['_handlerCallback'])==null?void 0x0:_0x3c9839[_0x40bebd(0x243)])==null?void 0x0:_0x22d809[_0x40bebd(0x15e)](_0x3c9839,_0x1fd64b);},_0x28d498;}async['_init'](){var _0x3ad19a=_0x281423;const _0x5e2e84=await super['_init']();return this[_0x3ad19a(0x1cf)](this[_0x3ad19a(0x115)]['onCommandExecuted']((_0x24a2c3,_0x54c078)=>{var _0x1911e4=_0x3ad19a;if(_0x24a2c3[_0x1911e4(0x1c6)]!==_0x4e55ff[_0x1911e4(0x23c)]||_0x54c078!=null&&_0x54c078[_0x1911e4(0x153)]||_0x54c078!=null&&_0x54c078[_0x1911e4(0x214)]||_0x24a2c3['id']===_0x139fa5['id'])return;const _0xe712d4=_0x24a2c3['params'];if((_0xe712d4==null?void 0x0:_0xe712d4[_0x1911e4(0x33b)])!==this[_0x1911e4(0x2c5)])return;const _0xfc8484=_0x24a2c3,_0x289033=this[_0x1911e4(0x23a)][_0x1911e4(0x163)][_0x1911e4(0x1a9)](this['_compressMutationService']['interceptor'][_0x1911e4(0x2d5)]()[_0x1911e4(0x34c)])([_0xfc8484],null)||[_0xfc8484];this[_0x1911e4(0x263)](_0x289033[0x0]);})),_0x5e2e84;}};It=xt([H(0x3,_0x12ce65(_0x475511)),H(0x4,_0x12ce65(_0x3147c1)),H(0x5,_0x12ce65(_0x1adbc7)),H(0x6,_0x12ce65(_0xea2305)),H(0x7,_0x12ce65(pe)),H(0x8,_0x13bc13),H(0x9,_0x5e151a),H(0xa,_0xd641f0),H(0xb,_0x449f0e(ht)),H(0xc,_0x449f0e(J))],It);let Tt=class extends rt{constructor(_0x48a1c7,_0x55ad75,_0x1a8195,_0x39753d,_0x5d7134,_0x5de6ec,_0x566dbb,_0x3f8382,_0x80f21,_0x50a56b,_0xbc34b5,_0x1e0e03,_0x1d0620,_0x542955){var _0x3ee8f4=_0x281423;super(_0x48a1c7,_0x1a8195,_0x55ad75,_0x39753d,_0x5d7134,_0x5de6ec,_0x566dbb,_0x80f21,_0x50a56b,_0xbc34b5,_0x1e0e03,_0x1d0620,_0x542955),this[_0x3ee8f4(0x2c5)]=_0x48a1c7,this[_0x3ee8f4(0x1c6)]=_0x55ad75,this['_sheetTransformSelectionsService']=_0x3f8382;}[_0x281423(0x2e1)](){var _0x182a3c=_0x281423;const _0x285e18=super[_0x182a3c(0x2e1)]();return _0x285e18[_0x182a3c(0x39f)]=_0x2469bc=>this[_0x182a3c(0xc4)][_0x182a3c(0x245)](_0x2469bc),_0x285e18;}async[_0x281423(0x29f)](){var _0x2ce2a0=_0x281423;const _0x195fa4=await super[_0x2ce2a0(0x29f)]();return this[_0x2ce2a0(0x1cf)](this[_0x2ce2a0(0x115)][_0x2ce2a0(0x15c)]((_0x461351,_0x40000b)=>{var _0x5d0cfe=_0x2ce2a0;if(_0x461351[_0x5d0cfe(0x1c6)]!==_0x4e55ff[_0x5d0cfe(0x23c)]||_0x40000b!=null&&_0x40000b[_0x5d0cfe(0x153)]||_0x40000b!=null&&_0x40000b[_0x5d0cfe(0x214)])return;const _0x3bdc0b=_0x461351['params'];if((_0x3bdc0b==null?void 0x0:_0x3bdc0b[_0x5d0cfe(0x33b)])!==this[_0x5d0cfe(0x2c5)])return;const _0x28361d=_0x461351,_0x5f4763=this[_0x5d0cfe(0x23a)]['interceptor'][_0x5d0cfe(0x1a9)](this[_0x5d0cfe(0x23a)][_0x5d0cfe(0x163)][_0x5d0cfe(0x2d5)]()[_0x5d0cfe(0x34c)])([_0x28361d],null)||[_0x28361d];this[_0x5d0cfe(0x263)](_0x5f4763[0x0]);})),_0x195fa4;}};Tt=xt([H(0x3,_0x12ce65(_0x475511)),H(0x4,_0x12ce65(_0x3147c1)),H(0x5,_0x12ce65(_0x1adbc7)),H(0x6,_0x12ce65(_0xea2305)),H(0x7,_0x12ce65(it)),H(0x8,_0x12ce65(pe)),H(0x9,_0x13bc13),H(0xa,_0x5e151a),H(0xb,_0xd641f0),H(0xc,_0x449f0e(ht)),H(0xd,_0x449f0e(J))],Tt);var an=Object[_0x281423(0x2aa)],cn=(_0x3b25dc,_0x729bdf,_0x5d643b,_0x1fff64)=>{var _0x39b586=_0x281423;for(var _0x505dda=_0x1fff64>0x1?void 0x0:_0x1fff64?an(_0x729bdf,_0x5d643b):_0x729bdf,_0x4e2a7d=_0x3b25dc[_0x39b586(0x256)]-0x1,_0x2addc4;_0x4e2a7d>=0x0;_0x4e2a7d--)(_0x2addc4=_0x3b25dc[_0x4e2a7d])&&(_0x505dda=_0x2addc4(_0x505dda)||_0x505dda);return _0x505dda;},ft=(_0x42734f,_0x50b1ea)=>(_0xe2ef8e,_0x4b161c)=>_0x50b1ea(_0xe2ef8e,_0x4b161c,_0x42734f);let nt=class extends _0x49b5d7{constructor(_0x220f01,_0x220f4f,_0x4e3c13){var _0x1766e7=_0x281423;super(),N(this,'_entities',new Map()),N(this,_0x1766e7(0x1d8),new _0x22a3b0()),N(this,_0x1766e7(0x246),this[_0x1766e7(0x1d8)][_0x1766e7(0x2fa)]()),(this[_0x1766e7(0x269)]=_0x220f01,this[_0x1766e7(0x35b)]=_0x220f4f,this[_0x1766e7(0x260)]=_0x4e3c13,this[_0x1766e7(0x29f)]());}[_0x281423(0x315)](){var _0x1088c0=_0x281423;super['dispose'](),this[_0x1088c0(0x241)][_0x1088c0(0xf9)](_0x402984=>_0x402984[_0x1088c0(0x315)]()),this[_0x1088c0(0x241)][_0x1088c0(0x287)]();}[_0x281423(0x2f5)](_0x2bf2d8){var _0x394440=_0x281423,_0x258a53;return(_0x258a53=this[_0x394440(0x241)][_0x394440(0x35f)](_0x2bf2d8))!=null?_0x258a53:null;}[_0x281423(0x197)](_0xc39c06){var _0x3fc62a=_0x281423;const _0x1d7793=this[_0x3fc62a(0x2f5)](_0xc39c06);return _0x1d7793?_0x5e7b25(_0x1d7793):this[_0x3fc62a(0x1d8)]['pipe'](_0x2ef57c(_0x384237=>_0x384237[_0x3fc62a(0x2c5)]===_0xc39c06));}['readyForCollab'](_0x166389){var _0x409f1b=_0x281423;return _0x38eb43(this[_0x409f1b(0x197)](_0x166389)[_0x409f1b(0x1b6)](_0x3e2d6a(()=>{})));}['_init'](){var _0x235893=_0x281423;this[_0x235893(0x260)][_0x235893(0x2a5)](_0x334aa0['UNIVER_SHEET'])[_0x235893(0x1b6)](_0x23443c(this[_0x235893(0x2ef)]),_0x8dc60e(0x10))[_0x235893(0x142)](async _0x327c99=>{var _0x32b806=_0x235893;const _0x2ca79a=_0x327c99[_0x32b806(0x2a1)](),_0x312f0d=await this['_startCollaboration'](_0x2ca79a,Q[_0x32b806(0x364)]);this['_entities'][_0x32b806(0x35d)](_0x2ca79a,_0x312f0d);}),this[_0x235893(0x260)][_0x235893(0x2a5)](_0x334aa0[_0x235893(0xdd)])['pipe'](_0x23443c(this[_0x235893(0x2ef)]),_0x8dc60e(0x10))['pipe'](_0x2ef57c(_0x279eae=>!_0x279eae[_0x235893(0x2a1)]()['startsWith']('__')))['subscribe'](async _0x3fb4f0=>{var _0x5bb95e=_0x235893;const _0x29b5a6=_0x3fb4f0[_0x5bb95e(0x2a1)](),_0x47ecd0=await this['_startCollaboration'](_0x29b5a6,Q[_0x5bb95e(0xdd)]);this[_0x5bb95e(0x241)][_0x5bb95e(0x35d)](_0x29b5a6,_0x47ecd0);}),_0x1bde67(this[_0x235893(0x260)]['getTypeOfUnitDisposed$'](_0x334aa0['UNIVER_SHEET']),this['_univerInstanceService'][_0x235893(0x108)](_0x334aa0['UNIVER_DOC']))['pipe'](_0x23443c(this[_0x235893(0x2ef)]))[_0x235893(0x142)](_0x30bf87=>{var _0x33f701=_0x235893;const _0x57f870=_0x30bf87['getUnitId'](),_0x579e81=this[_0x33f701(0x241)][_0x33f701(0x35f)](_0x57f870);_0x579e81&&(_0x579e81['dispose'](),this[_0x33f701(0x241)]['delete'](_0x57f870));});}async[_0x281423(0x317)](_0x3b63c9,_0x1bda47){var _0x1518c5=_0x281423;const _0xd181e3=await this[_0x1518c5(0x35b)][_0x1518c5(0x376)](_0x3b63c9),_0x183cfa=this['_injector'][_0x1518c5(0x195)](this[_0x1518c5(0x338)](_0x1bda47),_0x3b63c9,_0x1bda47,_0xd181e3);return await _0x183cfa['init'](),this[_0x1518c5(0x1d8)][_0x1518c5(0x288)](_0x183cfa),_0x183cfa;}[_0x281423(0x338)](_0x39cb24){var _0x349f35=_0x281423;switch(_0x39cb24){case Q[_0x349f35(0xdd)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x39cb24);}}};nt=cn([ft(0x0,_0x12ce65(_0x475511)),ft(0x1,_0x12ce65(Le)),ft(0x2,_0x21d66a)],nt);var hn=Object[_0x281423(0x2aa)],_n=(_0x1259dc,_0x26dc49,_0x162acf,_0x21de86)=>{for(var _0x11e9d4=_0x21de86>0x1?void 0x0:_0x21de86?hn(_0x26dc49,_0x162acf):_0x26dc49,_0x54c846=_0x1259dc['length']-0x1,_0x4b715c;_0x54c846>=0x0;_0x54c846--)(_0x4b715c=_0x1259dc[_0x54c846])&&(_0x11e9d4=_0x4b715c(_0x11e9d4)||_0x11e9d4);return _0x11e9d4;},zt=(_0x49c225,_0x35f5db)=>(_0x3105dd,_0x24d16c)=>_0x35f5db(_0x3105dd,_0x24d16c,_0x49c225);const ln=_0x281423(0x384),un=_0x281423(0x31c);let Ct=class extends _0x3ec4bd{constructor(_0x939ed9,_0x549222){var _0x43856a=_0x281423;super(),this[_0x43856a(0x260)]=_0x939ed9,this[_0x43856a(0x351)]=_0x549222,this[_0x43856a(0x29f)]();}[_0x281423(0x29f)](){var _0x379505=_0x281423;this[_0x379505(0x1cf)](this[_0x379505(0x260)][_0x379505(0x25f)][_0x379505(0x142)](()=>{var _0x512c2a=_0x379505,_0x1a4a81;const _0x45adcc=this['_univerInstanceService']['getFocusedUnit']();let _0x3d62a1=(_0x1a4a81=this[_0x512c2a(0x351)][_0x512c2a(0x3a5)](ln))!=null?_0x1a4a81:un;_0x45adcc instanceof _0x3d826d&&(_0x3d62a1=_0x45adcc['name']),document[_0x512c2a(0x2a0)]=_0x3d62a1;}));}};Ct=_n([zt(0x0,_0x21d66a),zt(0x1,_0x121709)],Ct);var dn=Object[_0x281423(0x2aa)],fn=(_0x1bf4e1,_0x39a1e7,_0x577aa0,_0x2b4500)=>{var _0x41c6cd=_0x281423;for(var _0x1e3b8d=_0x2b4500>0x1?void 0x0:_0x2b4500?dn(_0x39a1e7,_0x577aa0):_0x39a1e7,_0x25cf45=_0x1bf4e1[_0x41c6cd(0x256)]-0x1,_0x3a7e49;_0x25cf45>=0x0;_0x25cf45--)(_0x3a7e49=_0x1bf4e1[_0x25cf45])&&(_0x1e3b8d=_0x3a7e49(_0x1e3b8d)||_0x1e3b8d);return _0x1e3b8d;},vt=(_0xe49d97,_0x433831)=>(_0x1b2463,_0x224b21)=>_0x433831(_0x1b2463,_0x224b21,_0xe49d97);let st=class{constructor(_0x2d1d85,_0x3f3b04,_0x47aedf){var _0x53ddae=_0x281423;this[_0x53ddae(0x351)]=_0x2d1d85,this[_0x53ddae(0x17a)]=_0x3f3b04,this['localeService']=_0x47aedf,this[_0x53ddae(0x229)]();}[_0x281423(0x229)](){var _0x161d9e=_0x281423;this[_0x161d9e(0x17a)][_0x161d9e(0x109)]({'priority':0x1,'interceptor':(_0x4b76e4,_0x29b0ad)=>_0x29b0ad(_0x4b76e4)['pipe'](_0xa12198(async _0x4d8827=>{var _0x26dd33=_0x161d9e;const _0x40a5ee=_0x4d8827;if(_0x40a5ee[_0x26dd33(0x356)]===0x191){if(typeof window>'u')throw new Error(_0x26dd33(0x331));if(window[_0x26dd33(0x28a)](this[_0x26dd33(0x349)]['t'](_0x26dd33(0x168)))){const _0x3f7f9a=window[_0x26dd33(0x329)](window['location'][_0x26dd33(0x357)]);window[_0x26dd33(0x205)]['href']=this['_getLoginPath']()+'?url='+_0x3f7f9a;}}return _0x40a5ee;}))});}[_0x281423(0x2ce)](){var _0x4594d6=_0x281423,_0x166478,_0x36431a;const _0x33cb53=this[_0x4594d6(0x351)][_0x4594d6(0x3a5)](Dr),_0x343dac=this[_0x4594d6(0x351)]['getConfig'](q);return(_0x36431a=(_0x166478=_0x343dac==null?void 0x0:_0x343dac['loginUrlKey'])!=null?_0x166478:_0x33cb53)!=null?_0x36431a:wr;}};st=fn([vt(0x0,_0x121709),vt(0x1,_0x12ce65(_0x10b7ff)),vt(0x2,_0x12ce65(_0x1adbc7))],st);var vn=Object[_0x281423(0x2aa)],pn=(_0xc388ab,_0x21c595,_0x3a9c11,_0x196958)=>{var _0x48ddbc=_0x281423;for(var _0x1ea214=_0x196958>0x1?void 0x0:_0x196958?vn(_0x21c595,_0x3a9c11):_0x21c595,_0x39ccfb=_0xc388ab[_0x48ddbc(0x256)]-0x1,_0xfadd4e;_0x39ccfb>=0x0;_0x39ccfb--)(_0xfadd4e=_0xc388ab[_0x39ccfb])&&(_0x1ea214=_0xfadd4e(_0x1ea214)||_0x1ea214);return _0x1ea214;},Jt=(_0x40dd2b,_0x61e124)=>(_0x4b0dd1,_0x5d5b6f)=>_0x61e124(_0x4b0dd1,_0x5d5b6f,_0x40dd2b);const Ni=_0x281423(0x2ca),mn=_0x281423(0x10f);let Rt=class extends _0x3ec4bd{constructor(_0x396796,_0x46b304){var _0x383bdd=_0x281423;super(),this[_0x383bdd(0x1fa)]=_0x396796,this[_0x383bdd(0x351)]=_0x46b304,this[_0x383bdd(0x152)]();}['_initMergeInterceptor'](){var _0xd711c0=_0x281423;const _0x3ed48c=this;this[_0xd711c0(0x1cf)](this[_0xd711c0(0x1fa)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2c984a({'isMatch'(_0x438498){var _0x16b12b=_0xd711c0,_0x32bdaa;if(_0x438498['method']===_0x16b12b(0x15b)&&((_0x32bdaa=_0x438498[_0x16b12b(0x24a)])!=null&&_0x32bdaa['body'])){const {objectID:_0x1dd6ee,objectType:_0x1c42d4}=_0x438498[_0x16b12b(0x24a)][_0x16b12b(0x210)]||{};if(!_0x1dd6ee||_0x1c42d4===void 0x0)return!0x1;const _0x509354=_0x3ed48c[_0x16b12b(0xcc)]()+'/'+_0x1c42d4+_0x16b12b(0x25e)+_0x1dd6ee+_0x16b12b(0x2f8);if(_0x438498[_0x16b12b(0x2ba)]===_0x509354)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x11d675){var _0x2f270e=_0xd711c0,_0x1505b8;return(_0x1505b8=_0x11d675[_0x2f270e(0x24a)])==null?void 0x0:_0x1505b8[_0x2f270e(0x210)];},'mergeParamsToRequest'(_0x5a0be4,_0x3a4933){var _0x5a33a0=_0xd711c0;const _0x420bde=_0x3ed48c['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3990f7=_0x5a0be4[_0x5a33a0(0x14a)]((_0x2dfc67,_0x53056e)=>{var _0x131e5d=_0x5a33a0;const {unitID:_0x41238e,objectID:_0x4e3afa,objectType:_0x7870e0,actions:_0x4b079d}=_0x53056e;return _0x2dfc67[_0x41238e]||(_0x2dfc67[_0x41238e]={}),_0x2dfc67[_0x41238e][_0x4e3afa]||(_0x2dfc67[_0x41238e][_0x4e3afa]={'objectID':_0x4e3afa,'objectType':_0x7870e0,'actions':[]}),_0x2dfc67[_0x41238e][_0x4e3afa][_0x131e5d(0x114)][_0x131e5d(0x1b5)](..._0x4b079d),_0x2dfc67;},{}),_0x1f06d3=[];for(const _0xe90b18 in _0x3990f7)for(const _0x53bf41 in _0x3990f7[_0xe90b18]){const {actions:_0x3057f1,objectType:_0x11cb86}=_0x3990f7[_0xe90b18][_0x53bf41],_0x218816=[...new Set(_0x3057f1)];_0x1f06d3['push']({'unitID':_0xe90b18,'objectID':_0x53bf41,'objectType':_0x11cb86,'actions':_0x218816});}return new _0x46d970(_0x5a33a0(0x15b),_0x420bde,{'headers':_0x3a4933[_0x5a33a0(0x193)],'withCredentials':_0x3a4933['withCredentials'],'responseType':_0x3a4933[_0x5a33a0(0x33d)],'body':{'requests':_0x1f06d3}});}},{'distributeResult'(_0x8e7856,_0x2b5171){const {objectActions:_0xa2705f}=_0x8e7856;return _0x2b5171['map'](_0x19ad43=>{var _0xe74714=_0x4ec3;const {unitID:_0xa48029,objectID:_0x441b1a,actions:_0x26d69e}=_0x19ad43,_0x422c09=_0xa2705f[_0xe74714(0x2d9)](_0x2b1fab=>_0x2b1fab[_0xe74714(0x2c5)]===_0xa48029&&_0x2b1fab[_0xe74714(0x211)]===_0x441b1a),_0x2d99fe=_0x26d69e[_0xe74714(0x20c)](_0x44585c=>_0x422c09==null?void 0x0:_0x422c09[_0xe74714(0x114)][_0xe74714(0x2d9)](_0x5791b7=>_0x5791b7[_0xe74714(0x1fc)]===_0x44585c))[_0xe74714(0x2bb)](_0x3286dd=>!!_0x3286dd);return{'config':_0x19ad43,'result':{'actions':_0x2d99fe,'error':_0x8e7856[_0xe74714(0x149)]}};});}})}));}[_0x281423(0xcc)](){var _0x52c580=_0x281423,_0x437eec,_0x3a070b;const _0x36bbd2=this['_configService'][_0x52c580(0x3a5)](Ni),_0x125ede=this[_0x52c580(0x351)]['getConfig'](q);return(_0x3a070b=(_0x437eec=_0x125ede==null?void 0x0:_0x125ede['authzUrl'])!=null?_0x437eec:_0x36bbd2)!=null?_0x3a070b:mn;}async['create'](_0x5347bc){var _0x31fb69=_0x281423;const _0x548f4a=this[_0x31fb69(0xcc)]()+'/'+_0x5347bc['objectType']+_0x31fb69(0x208);return(await this[_0x31fb69(0x1fa)][_0x31fb69(0x233)](_0x548f4a,{'body':_0x5347bc}))[_0x31fb69(0x210)][_0x31fb69(0x211)]||'';}async['list'](_0x52305f){var _0x23f1a6=_0x281423;const _0x3f66e8=this[_0x23f1a6(0xcc)]()+_0x23f1a6(0x184);return(await this[_0x23f1a6(0x1fa)][_0x23f1a6(0x233)](_0x3f66e8,{'body':_0x52305f}))[_0x23f1a6(0x210)][_0x23f1a6(0x204)];}async[_0x281423(0x125)](_0x3f53d3){var _0x28c979=_0x281423,_0x1f59f3,_0x1f7594;const _0x5d8fbb=this['_getAPIPrefixPath']()+'/'+_0x3f53d3['objectType']+_0x28c979(0x25e)+_0x3f53d3[_0x28c979(0x211)],_0x4cdcd5=await this[_0x28c979(0x1fa)][_0x28c979(0xbd)](_0x5d8fbb,{'body':_0x3f53d3});if(((_0x1f7594=(_0x1f59f3=_0x4cdcd5==null?void 0x0:_0x4cdcd5[_0x28c979(0x210)])==null?void 0x0:_0x1f59f3['error'])==null?void 0x0:_0x1f7594[_0x28c979(0x34b)])!==0x0)throw new Error(_0x28c979(0x161));}async[_0x281423(0x309)](_0x348b72){var _0xdc86ff=_0x281423;const _0x3c0464=this[_0xdc86ff(0xcc)]()+'/'+_0x348b72['objectType']+_0xdc86ff(0x25e)+_0x348b72['objectID']+_0xdc86ff(0x2f8);return(await this[_0xdc86ff(0x1fa)][_0xdc86ff(0x233)](_0x3c0464,{'body':_0x348b72}))[_0xdc86ff(0x210)][_0xdc86ff(0x114)];}async[_0x281423(0xe5)](_0x742a1b){var _0x53776c=_0x281423;const _0x1b987d=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x53776c(0x1fa)][_0x53776c(0x233)](_0x1b987d,{'body':{'requests':_0x742a1b}}))[_0x53776c(0x210)][_0x53776c(0x13e)];}async[_0x281423(0x26c)](_0x25cbce){var _0x3dc425=_0x281423;const _0x5dc686=this[_0x3dc425(0xcc)]()+'/'+_0x25cbce['objectType']+_0x3dc425(0x3a0),_0x581c32=await this[_0x3dc425(0x1fa)][_0x3dc425(0x233)](_0x5dc686,{'body':_0x25cbce});return{'roles':_0x581c32[_0x3dc425(0x210)][_0x3dc425(0x17e)],'actions':_0x581c32['body'][_0x3dc425(0x114)]};}async[_0x281423(0x305)](_0x1ec709){var _0x9adecc=_0x281423;const _0x28ac80=this[_0x9adecc(0xcc)]()+_0x9adecc(0x37a);await this[_0x9adecc(0x1fa)][_0x9adecc(0x1da)](_0x28ac80,{'params':{'collaboratorID':_0x1ec709[_0x9adecc(0x104)],'objectID':_0x1ec709['objectID'],'unitID':_0x1ec709['unitID']}});}async['updateCollaborator'](_0x100417){var _0x4f4736=_0x281423;const _0x455dc9=this[_0x4f4736(0xcc)]()+'/collaborator';await this['_HTTPService'][_0x4f4736(0x14b)](_0x455dc9,{'body':_0x100417});}async['createCollaborator'](_0x48aa0d){var _0x56852a=_0x281423;const _0x170b78=this[_0x56852a(0xcc)]()+_0x56852a(0x37a);await this[_0x56852a(0x1fa)][_0x56852a(0x233)](_0x170b78,{'body':_0x48aa0d});}async[_0x281423(0x19b)](_0x4e5517){var _0x35bde0=_0x281423;const _0x302f47=this['_getAPIPrefixPath']()+_0x35bde0(0x37a);return(await this[_0x35bde0(0x1fa)][_0x35bde0(0x35f)](_0x302f47,{'params':{'objectID':_0x4e5517['objectID'],'unitID':_0x4e5517[_0x35bde0(0x2c5)]}}))['body']['collaborators'];}async[_0x281423(0x2af)](_0x9b2ece){var _0x295a46=_0x281423;const _0xb8bf29=this['_getAPIPrefixPath']()+_0x295a46(0x37a);await this[_0x295a46(0x1fa)][_0x295a46(0xbd)](_0xb8bf29,{'body':_0x9b2ece});}};Rt=pn([Jt(0x0,_0x12ce65(_0x10b7ff)),Jt(0x1,_0x12ce65(_0x121709))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x17cca3){var _0x55e280=_0x281423;return _0x17cca3&&_0x17cca3[_0x55e280(0xca)]&&Object[_0x55e280(0x372)]['hasOwnProperty'][_0x55e280(0x15e)](_0x17cca3,_0x55e280(0x171))?_0x17cca3[_0x55e280(0x171)]:_0x17cca3;}var Ge={'exports':{}};function gn(_0x2eb82f){var _0x117384=_0x281423;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2eb82f+_0x117384(0x16e));}var Ve={'exports':{}},Sn=Ve[_0x281423(0x339)],Xt;function ie(){var _0x28f7f0=_0x281423;return Xt||(Xt=0x1,function(_0x484ece,_0x1253e6){(function(_0x4f7c31,_0x14bdad){var _0x50866d=_0x4ec3;_0x484ece[_0x50866d(0x339)]=_0x14bdad();}(Sn,function(){var _0x4ae4d0=_0x4ae4d0||function(_0x2e8f58,_0x370e94){var _0x2332ea=_0x4ec3,_0x36ee4a;if(typeof window<'u'&&window['crypto']&&(_0x36ee4a=window['crypto']),typeof self<'u'&&self[_0x2332ea(0xb8)]&&(_0x36ee4a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2332ea(0xb8)]&&(_0x36ee4a=globalThis[_0x2332ea(0xb8)]),!_0x36ee4a&&typeof window<'u'&&window[_0x2332ea(0x1ed)]&&(_0x36ee4a=window[_0x2332ea(0x1ed)]),!_0x36ee4a&&typeof pt<'u'&&pt[_0x2332ea(0xb8)]&&(_0x36ee4a=pt[_0x2332ea(0xb8)]),!_0x36ee4a&&typeof gn==_0x2332ea(0x1de))try{_0x36ee4a=require('crypto');}catch{}var _0x566e6d=function(){var _0x4352fb=_0x2332ea;if(_0x36ee4a){if(typeof _0x36ee4a['getRandomValues']==_0x4352fb(0x1de))try{return _0x36ee4a[_0x4352fb(0x322)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x36ee4a[_0x4352fb(0x1ca)]==_0x4352fb(0x1de))try{return _0x36ee4a[_0x4352fb(0x1ca)](0x4)[_0x4352fb(0x2ae)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x162de2=Object[_0x2332ea(0x2a3)]||(function(){function _0x4bebe5(){}return function(_0x10bd1b){var _0x5249c6=_0x4ec3,_0x3e0cc5;return _0x4bebe5[_0x5249c6(0x372)]=_0x10bd1b,_0x3e0cc5=new _0x4bebe5(),_0x4bebe5[_0x5249c6(0x372)]=null,_0x3e0cc5;};}()),_0x291de3={},_0x1162bb=_0x291de3['lib']={},_0x391408=_0x1162bb[_0x2332ea(0x100)]=(function(){return{'extend':function(_0x2d8009){var _0x33c398=_0x4ec3,_0x5821cb=_0x162de2(this);return _0x2d8009&&_0x5821cb[_0x33c398(0x11b)](_0x2d8009),(!_0x5821cb[_0x33c398(0x212)](_0x33c398(0x229))||this['init']===_0x5821cb[_0x33c398(0x229)])&&(_0x5821cb[_0x33c398(0x229)]=function(){var _0x362948=_0x33c398;_0x5821cb[_0x362948(0x352)][_0x362948(0x229)]['apply'](this,arguments);}),_0x5821cb['init'][_0x33c398(0x372)]=_0x5821cb,_0x5821cb[_0x33c398(0x352)]=this,_0x5821cb;},'create':function(){var _0x2f9efe=_0x4ec3,_0x2b55ea=this[_0x2f9efe(0x173)]();return _0x2b55ea['init']['apply'](_0x2b55ea,arguments),_0x2b55ea;},'init':function(){},'mixIn':function(_0x228ba6){var _0x1983ab=_0x4ec3;for(var _0x5b57e7 in _0x228ba6)_0x228ba6[_0x1983ab(0x212)](_0x5b57e7)&&(this[_0x5b57e7]=_0x228ba6[_0x5b57e7]);_0x228ba6['hasOwnProperty']('toString')&&(this[_0x1983ab(0xf5)]=_0x228ba6[_0x1983ab(0xf5)]);},'clone':function(){var _0x14e89b=_0x4ec3;return this[_0x14e89b(0x229)][_0x14e89b(0x372)][_0x14e89b(0x173)](this);}};}()),_0x352d22=_0x1162bb[_0x2332ea(0x2b9)]=_0x391408['extend']({'init':function(_0x46fa58,_0x3c5572){var _0x179c60=_0x2332ea;_0x46fa58=this[_0x179c60(0x169)]=_0x46fa58||[],_0x3c5572!=_0x370e94?this['sigBytes']=_0x3c5572:this[_0x179c60(0x186)]=_0x46fa58[_0x179c60(0x256)]*0x4;},'toString':function(_0x15c2df){return(_0x15c2df||_0x4109a7)['stringify'](this);},'concat':function(_0x166a0b){var _0x402033=_0x2332ea,_0x13b5b9=this[_0x402033(0x169)],_0x111ce7=_0x166a0b[_0x402033(0x169)],_0x264b0c=this['sigBytes'],_0x2c8216=_0x166a0b[_0x402033(0x186)];if(this['clamp'](),_0x264b0c%0x4)for(var _0x482850=0x0;_0x482850<_0x2c8216;_0x482850++){var _0xed3358=_0x111ce7[_0x482850>>>0x2]>>>0x18-_0x482850%0x4*0x8&0xff;_0x13b5b9[_0x264b0c+_0x482850>>>0x2]|=_0xed3358<<0x18-(_0x264b0c+_0x482850)%0x4*0x8;}else{for(var _0xabe70e=0x0;_0xabe70e<_0x2c8216;_0xabe70e+=0x4)_0x13b5b9[_0x264b0c+_0xabe70e>>>0x2]=_0x111ce7[_0xabe70e>>>0x2];}return this['sigBytes']+=_0x2c8216,this;},'clamp':function(){var _0x46c200=_0x2332ea,_0xd3bc39=this[_0x46c200(0x169)],_0x1bdf1c=this['sigBytes'];_0xd3bc39[_0x1bdf1c>>>0x2]&=0xffffffff<<0x20-_0x1bdf1c%0x4*0x8,_0xd3bc39[_0x46c200(0x256)]=_0x2e8f58[_0x46c200(0x1b3)](_0x1bdf1c/0x4);},'clone':function(){var _0x1e46e2=_0x2332ea,_0xd00d4c=_0x391408[_0x1e46e2(0x116)][_0x1e46e2(0x15e)](this);return _0xd00d4c[_0x1e46e2(0x169)]=this['words'][_0x1e46e2(0x1ff)](0x0),_0xd00d4c;},'random':function(_0x159091){var _0x2e2de6=_0x2332ea;for(var _0x5f1c27=[],_0x1328d9=0x0;_0x1328d9<_0x159091;_0x1328d9+=0x4)_0x5f1c27[_0x2e2de6(0x1b5)](_0x566e6d());return new _0x352d22[(_0x2e2de6(0x229))](_0x5f1c27,_0x159091);}}),_0x2258c1=_0x291de3[_0x2332ea(0x155)]={},_0x4109a7=_0x2258c1['Hex']={'stringify':function(_0x487619){var _0x236937=_0x2332ea;for(var _0x4c0d88=_0x487619['words'],_0x1c8637=_0x487619[_0x236937(0x186)],_0x55ac94=[],_0xab8514=0x0;_0xab8514<_0x1c8637;_0xab8514++){var _0x287599=_0x4c0d88[_0xab8514>>>0x2]>>>0x18-_0xab8514%0x4*0x8&0xff;_0x55ac94['push']((_0x287599>>>0x4)['toString'](0x10)),_0x55ac94[_0x236937(0x1b5)]((_0x287599&0xf)['toString'](0x10));}return _0x55ac94[_0x236937(0x28f)]('');},'parse':function(_0xf62697){var _0x36900f=_0x2332ea;for(var _0x4cb373=_0xf62697[_0x36900f(0x256)],_0x50aaf8=[],_0x53c5e6=0x0;_0x53c5e6<_0x4cb373;_0x53c5e6+=0x2)_0x50aaf8[_0x53c5e6>>>0x3]|=parseInt(_0xf62697[_0x36900f(0x363)](_0x53c5e6,0x2),0x10)<<0x18-_0x53c5e6%0x8*0x4;return new _0x352d22[(_0x36900f(0x229))](_0x50aaf8,_0x4cb373/0x2);}},_0x51b71a=_0x2258c1[_0x2332ea(0x2c2)]={'stringify':function(_0x5ecb80){var _0x3bf509=_0x2332ea;for(var _0x53c71e=_0x5ecb80[_0x3bf509(0x169)],_0x54944d=_0x5ecb80[_0x3bf509(0x186)],_0x36f731=[],_0x406451=0x0;_0x406451<_0x54944d;_0x406451++){var _0xedb008=_0x53c71e[_0x406451>>>0x2]>>>0x18-_0x406451%0x4*0x8&0xff;_0x36f731[_0x3bf509(0x1b5)](String[_0x3bf509(0x2ab)](_0xedb008));}return _0x36f731['join']('');},'parse':function(_0x77b42a){var _0x7db66=_0x2332ea;for(var _0xe0d129=_0x77b42a[_0x7db66(0x256)],_0x2dd099=[],_0x46c623=0x0;_0x46c623<_0xe0d129;_0x46c623++)_0x2dd099[_0x46c623>>>0x2]|=(_0x77b42a['charCodeAt'](_0x46c623)&0xff)<<0x18-_0x46c623%0x4*0x8;return new _0x352d22[(_0x7db66(0x229))](_0x2dd099,_0xe0d129);}},_0x2139f=_0x2258c1[_0x2332ea(0x18a)]={'stringify':function(_0x1aca9c){var _0x5ec56f=_0x2332ea;try{return decodeURIComponent(escape(_0x51b71a[_0x5ec56f(0x36f)](_0x1aca9c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x43fae4){var _0x5e2a60=_0x2332ea;return _0x51b71a[_0x5e2a60(0x22b)](unescape(encodeURIComponent(_0x43fae4)));}},_0x305be9=_0x1162bb[_0x2332ea(0x231)]=_0x391408[_0x2332ea(0x173)]({'reset':function(){var _0x3c6ce0=_0x2332ea;this[_0x3c6ce0(0x1bf)]=new _0x352d22[(_0x3c6ce0(0x229))](),this[_0x3c6ce0(0x299)]=0x0;},'_append':function(_0x572af2){var _0xed687e=_0x2332ea;typeof _0x572af2==_0xed687e(0x39d)&&(_0x572af2=_0x2139f[_0xed687e(0x22b)](_0x572af2)),this[_0xed687e(0x1bf)][_0xed687e(0x32d)](_0x572af2),this[_0xed687e(0x299)]+=_0x572af2[_0xed687e(0x186)];},'_process':function(_0x46319d){var _0xdd55d7=_0x2332ea,_0x2bdace,_0x111993=this[_0xdd55d7(0x1bf)],_0x35e8ff=_0x111993['words'],_0x590809=_0x111993['sigBytes'],_0x55f890=this[_0xdd55d7(0x316)],_0xf87444=_0x55f890*0x4,_0xe8e0cd=_0x590809/_0xf87444;_0x46319d?_0xe8e0cd=_0x2e8f58[_0xdd55d7(0x1b3)](_0xe8e0cd):_0xe8e0cd=_0x2e8f58['max']((_0xe8e0cd|0x0)-this['_minBufferSize'],0x0);var _0x3ef5e4=_0xe8e0cd*_0x55f890,_0x2876d4=_0x2e8f58[_0xdd55d7(0xea)](_0x3ef5e4*0x4,_0x590809);if(_0x3ef5e4){for(var _0x50ff06=0x0;_0x50ff06<_0x3ef5e4;_0x50ff06+=_0x55f890)this[_0xdd55d7(0x16c)](_0x35e8ff,_0x50ff06);_0x2bdace=_0x35e8ff[_0xdd55d7(0x21b)](0x0,_0x3ef5e4),_0x111993[_0xdd55d7(0x186)]-=_0x2876d4;}return new _0x352d22[(_0xdd55d7(0x229))](_0x2bdace,_0x2876d4);},'clone':function(){var _0x59e3a4=_0x2332ea,_0x4b822b=_0x391408[_0x59e3a4(0x116)]['call'](this);return _0x4b822b[_0x59e3a4(0x1bf)]=this[_0x59e3a4(0x1bf)][_0x59e3a4(0x116)](),_0x4b822b;},'_minBufferSize':0x0});_0x1162bb[_0x2332ea(0x28b)]=_0x305be9[_0x2332ea(0x173)]({'cfg':_0x391408['extend'](),'init':function(_0x27a8ab){var _0x3ffcdf=_0x2332ea;this[_0x3ffcdf(0x1d9)]=this[_0x3ffcdf(0x1d9)]['extend'](_0x27a8ab),this[_0x3ffcdf(0x2db)]();},'reset':function(){var _0x193983=_0x2332ea;_0x305be9['reset'][_0x193983(0x15e)](this),this[_0x193983(0x1aa)]();},'update':function(_0xb9aea5){var _0x56c100=_0x2332ea;return this[_0x56c100(0x206)](_0xb9aea5),this['_process'](),this;},'finalize':function(_0x3e809d){_0x3e809d&&this['_append'](_0x3e809d);var _0x3ca462=this['_doFinalize']();return _0x3ca462;},'blockSize':0x10,'_createHelper':function(_0x3417ae){return function(_0x295e97,_0xd7fdb1){var _0x5c94d3=_0x4ec3;return new _0x3417ae[(_0x5c94d3(0x229))](_0xd7fdb1)[_0x5c94d3(0x10c)](_0x295e97);};},'_createHmacHelper':function(_0x55a82b){return function(_0x5abe3d,_0x2eaed0){var _0x30e2b0=_0x4ec3;return new _0x4edb34[(_0x30e2b0(0x1f3))][(_0x30e2b0(0x229))](_0x55a82b,_0x2eaed0)[_0x30e2b0(0x10c)](_0x5abe3d);};}});var _0x4edb34=_0x291de3['algo']={};return _0x291de3;}(Math);return _0x4ae4d0;}));}(Ve)),Ve[_0x28f7f0(0x339)];}var We={'exports':{}},En=We['exports'],Zt;function Di(){var _0x4a1855=_0x281423;return Zt||(Zt=0x1,function(_0x8ae87,_0xac3f9d){(function(_0x22b4d1,_0x1b67c0){var _0x56cd49=_0x4ec3;_0x8ae87[_0x56cd49(0x339)]=_0x1b67c0(ie());}(En,function(_0x263872){var _0x3dc8c9=_0x4ec3;return(function(){var _0xd3a944=_0x4ec3,_0x3391d3=_0x263872,_0x20de40=_0x3391d3[_0xd3a944(0x37c)],_0x2358d=_0x20de40[_0xd3a944(0x2b9)],_0x4a5a54=_0x3391d3['enc'];_0x4a5a54[_0xd3a944(0xd6)]={'stringify':function(_0x50397c){var _0x259bad=_0xd3a944,_0x5fb9dc=_0x50397c[_0x259bad(0x169)],_0x16e27a=_0x50397c[_0x259bad(0x186)],_0x1148a0=this[_0x259bad(0x1fb)];_0x50397c['clamp']();for(var _0x6f9761=[],_0x2bd322=0x0;_0x2bd322<_0x16e27a;_0x2bd322+=0x3)for(var _0x24a5ab=_0x5fb9dc[_0x2bd322>>>0x2]>>>0x18-_0x2bd322%0x4*0x8&0xff,_0x25113d=_0x5fb9dc[_0x2bd322+0x1>>>0x2]>>>0x18-(_0x2bd322+0x1)%0x4*0x8&0xff,_0xf0824e=_0x5fb9dc[_0x2bd322+0x2>>>0x2]>>>0x18-(_0x2bd322+0x2)%0x4*0x8&0xff,_0x3f8b99=_0x24a5ab<<0x10|_0x25113d<<0x8|_0xf0824e,_0x2b3c36=0x0;_0x2b3c36<0x4&&_0x2bd322+_0x2b3c36*0.75<_0x16e27a;_0x2b3c36++)_0x6f9761[_0x259bad(0x1b5)](_0x1148a0['charAt'](_0x3f8b99>>>0x6*(0x3-_0x2b3c36)&0x3f));var _0x118c95=_0x1148a0[_0x259bad(0x164)](0x40);if(_0x118c95){for(;_0x6f9761[_0x259bad(0x256)]%0x4;)_0x6f9761[_0x259bad(0x1b5)](_0x118c95);}return _0x6f9761['join']('');},'parse':function(_0x352f8e){var _0x253e25=_0xd3a944,_0x403e4d=_0x352f8e[_0x253e25(0x256)],_0x486ce2=this[_0x253e25(0x1fb)],_0x9bbbb4=this['_reverseMap'];if(!_0x9bbbb4){_0x9bbbb4=this[_0x253e25(0x150)]=[];for(var _0xfbf7e=0x0;_0xfbf7e<_0x486ce2[_0x253e25(0x256)];_0xfbf7e++)_0x9bbbb4[_0x486ce2[_0x253e25(0x154)](_0xfbf7e)]=_0xfbf7e;}var _0x2a5f3f=_0x486ce2[_0x253e25(0x164)](0x40);if(_0x2a5f3f){var _0x34962d=_0x352f8e[_0x253e25(0x255)](_0x2a5f3f);_0x34962d!==-0x1&&(_0x403e4d=_0x34962d);}return _0x4608a1(_0x352f8e,_0x403e4d,_0x9bbbb4);},'_map':_0xd3a944(0x113)};function _0x4608a1(_0x2c2a95,_0x5f4b80,_0x60c0a0){var _0x21e90a=_0xd3a944;for(var _0x286345=[],_0x12677b=0x0,_0x295570=0x0;_0x295570<_0x5f4b80;_0x295570++)if(_0x295570%0x4){var _0x43fa25=_0x60c0a0[_0x2c2a95[_0x21e90a(0x154)](_0x295570-0x1)]<<_0x295570%0x4*0x2,_0x46c2e8=_0x60c0a0[_0x2c2a95[_0x21e90a(0x154)](_0x295570)]>>>0x6-_0x295570%0x4*0x2,_0x1b1afb=_0x43fa25|_0x46c2e8;_0x286345[_0x12677b>>>0x2]|=_0x1b1afb<<0x18-_0x12677b%0x4*0x8,_0x12677b++;}return _0x2358d[_0x21e90a(0x2a3)](_0x286345,_0x12677b);}}()),_0x263872[_0x3dc8c9(0x155)]['Base64'];}));}(We)),We[_0x4a1855(0x339)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x2eba73=_0x281423;return Qt||(Qt=0x1,function(_0x1f61e6,_0x5218ac){(function(_0x10a000,_0x332708){var _0x1744f2=_0x4ec3;_0x1f61e6[_0x1744f2(0x339)]=_0x332708(ie());}(In,function(_0x382faa){var _0x114a77=_0x4ec3;return function(_0x2ba33d){var _0x415457=_0x4ec3,_0x2b5c44=_0x382faa,_0xf8f71a=_0x2b5c44[_0x415457(0x37c)],_0x342f51=_0xf8f71a[_0x415457(0x2b9)],_0x5d9529=_0xf8f71a[_0x415457(0x28b)],_0x123543=_0x2b5c44[_0x415457(0x1f5)],_0x3ec831=[];(function(){var _0x377485=_0x415457;for(var _0xfe2aca=0x0;_0xfe2aca<0x40;_0xfe2aca++)_0x3ec831[_0xfe2aca]=_0x2ba33d[_0x377485(0x2dc)](_0x2ba33d[_0x377485(0x143)](_0xfe2aca+0x1))*0x100000000|0x0;}());var _0x26b8f8=_0x123543[_0x415457(0xc2)]=_0x5d9529[_0x415457(0x173)]({'_doReset':function(){var _0x1988c8=_0x415457;this[_0x1988c8(0x112)]=new _0x342f51[(_0x1988c8(0x229))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c58ed,_0x2d3e4a){var _0x34a0ae=_0x415457;for(var _0x422bdb=0x0;_0x422bdb<0x10;_0x422bdb++){var _0x1593e=_0x2d3e4a+_0x422bdb,_0x36f9bb=_0x5c58ed[_0x1593e];_0x5c58ed[_0x1593e]=(_0x36f9bb<<0x8|_0x36f9bb>>>0x18)&0xff00ff|(_0x36f9bb<<0x18|_0x36f9bb>>>0x8)&0xff00ff00;}var _0x562440=this[_0x34a0ae(0x112)][_0x34a0ae(0x169)],_0x30605c=_0x5c58ed[_0x2d3e4a+0x0],_0x21f28d=_0x5c58ed[_0x2d3e4a+0x1],_0xfca9d9=_0x5c58ed[_0x2d3e4a+0x2],_0x6469cc=_0x5c58ed[_0x2d3e4a+0x3],_0x2a9102=_0x5c58ed[_0x2d3e4a+0x4],_0x2aea66=_0x5c58ed[_0x2d3e4a+0x5],_0x4a2baa=_0x5c58ed[_0x2d3e4a+0x6],_0x137ae5=_0x5c58ed[_0x2d3e4a+0x7],_0x48fc5d=_0x5c58ed[_0x2d3e4a+0x8],_0x1ac1bb=_0x5c58ed[_0x2d3e4a+0x9],_0x4bacb9=_0x5c58ed[_0x2d3e4a+0xa],_0x1b65de=_0x5c58ed[_0x2d3e4a+0xb],_0x1220d1=_0x5c58ed[_0x2d3e4a+0xc],_0x533e17=_0x5c58ed[_0x2d3e4a+0xd],_0x223988=_0x5c58ed[_0x2d3e4a+0xe],_0xaff8b4=_0x5c58ed[_0x2d3e4a+0xf],_0x233af8=_0x562440[0x0],_0x10fa54=_0x562440[0x1],_0xe2fabd=_0x562440[0x2],_0x36df2f=_0x562440[0x3];_0x233af8=_0x59b37c(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x30605c,0x7,_0x3ec831[0x0]),_0x36df2f=_0x59b37c(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x21f28d,0xc,_0x3ec831[0x1]),_0xe2fabd=_0x59b37c(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0xfca9d9,0x11,_0x3ec831[0x2]),_0x10fa54=_0x59b37c(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x6469cc,0x16,_0x3ec831[0x3]),_0x233af8=_0x59b37c(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x2a9102,0x7,_0x3ec831[0x4]),_0x36df2f=_0x59b37c(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x2aea66,0xc,_0x3ec831[0x5]),_0xe2fabd=_0x59b37c(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x4a2baa,0x11,_0x3ec831[0x6]),_0x10fa54=_0x59b37c(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x137ae5,0x16,_0x3ec831[0x7]),_0x233af8=_0x59b37c(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x48fc5d,0x7,_0x3ec831[0x8]),_0x36df2f=_0x59b37c(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x1ac1bb,0xc,_0x3ec831[0x9]),_0xe2fabd=_0x59b37c(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x4bacb9,0x11,_0x3ec831[0xa]),_0x10fa54=_0x59b37c(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x1b65de,0x16,_0x3ec831[0xb]),_0x233af8=_0x59b37c(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x1220d1,0x7,_0x3ec831[0xc]),_0x36df2f=_0x59b37c(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x533e17,0xc,_0x3ec831[0xd]),_0xe2fabd=_0x59b37c(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x223988,0x11,_0x3ec831[0xe]),_0x10fa54=_0x59b37c(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0xaff8b4,0x16,_0x3ec831[0xf]),_0x233af8=_0x5b59b7(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x21f28d,0x5,_0x3ec831[0x10]),_0x36df2f=_0x5b59b7(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x4a2baa,0x9,_0x3ec831[0x11]),_0xe2fabd=_0x5b59b7(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x1b65de,0xe,_0x3ec831[0x12]),_0x10fa54=_0x5b59b7(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x30605c,0x14,_0x3ec831[0x13]),_0x233af8=_0x5b59b7(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x2aea66,0x5,_0x3ec831[0x14]),_0x36df2f=_0x5b59b7(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x4bacb9,0x9,_0x3ec831[0x15]),_0xe2fabd=_0x5b59b7(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0xaff8b4,0xe,_0x3ec831[0x16]),_0x10fa54=_0x5b59b7(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x2a9102,0x14,_0x3ec831[0x17]),_0x233af8=_0x5b59b7(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x1ac1bb,0x5,_0x3ec831[0x18]),_0x36df2f=_0x5b59b7(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x223988,0x9,_0x3ec831[0x19]),_0xe2fabd=_0x5b59b7(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x6469cc,0xe,_0x3ec831[0x1a]),_0x10fa54=_0x5b59b7(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x48fc5d,0x14,_0x3ec831[0x1b]),_0x233af8=_0x5b59b7(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x533e17,0x5,_0x3ec831[0x1c]),_0x36df2f=_0x5b59b7(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0xfca9d9,0x9,_0x3ec831[0x1d]),_0xe2fabd=_0x5b59b7(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x137ae5,0xe,_0x3ec831[0x1e]),_0x10fa54=_0x5b59b7(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x1220d1,0x14,_0x3ec831[0x1f]),_0x233af8=_0x314ee6(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x2aea66,0x4,_0x3ec831[0x20]),_0x36df2f=_0x314ee6(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x48fc5d,0xb,_0x3ec831[0x21]),_0xe2fabd=_0x314ee6(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x1b65de,0x10,_0x3ec831[0x22]),_0x10fa54=_0x314ee6(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x223988,0x17,_0x3ec831[0x23]),_0x233af8=_0x314ee6(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x21f28d,0x4,_0x3ec831[0x24]),_0x36df2f=_0x314ee6(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x2a9102,0xb,_0x3ec831[0x25]),_0xe2fabd=_0x314ee6(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x137ae5,0x10,_0x3ec831[0x26]),_0x10fa54=_0x314ee6(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x4bacb9,0x17,_0x3ec831[0x27]),_0x233af8=_0x314ee6(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x533e17,0x4,_0x3ec831[0x28]),_0x36df2f=_0x314ee6(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x30605c,0xb,_0x3ec831[0x29]),_0xe2fabd=_0x314ee6(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x6469cc,0x10,_0x3ec831[0x2a]),_0x10fa54=_0x314ee6(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x4a2baa,0x17,_0x3ec831[0x2b]),_0x233af8=_0x314ee6(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x1ac1bb,0x4,_0x3ec831[0x2c]),_0x36df2f=_0x314ee6(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x1220d1,0xb,_0x3ec831[0x2d]),_0xe2fabd=_0x314ee6(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0xaff8b4,0x10,_0x3ec831[0x2e]),_0x10fa54=_0x314ee6(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0xfca9d9,0x17,_0x3ec831[0x2f]),_0x233af8=_0x391b13(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x30605c,0x6,_0x3ec831[0x30]),_0x36df2f=_0x391b13(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x137ae5,0xa,_0x3ec831[0x31]),_0xe2fabd=_0x391b13(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x223988,0xf,_0x3ec831[0x32]),_0x10fa54=_0x391b13(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x2aea66,0x15,_0x3ec831[0x33]),_0x233af8=_0x391b13(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x1220d1,0x6,_0x3ec831[0x34]),_0x36df2f=_0x391b13(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x6469cc,0xa,_0x3ec831[0x35]),_0xe2fabd=_0x391b13(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x4bacb9,0xf,_0x3ec831[0x36]),_0x10fa54=_0x391b13(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x21f28d,0x15,_0x3ec831[0x37]),_0x233af8=_0x391b13(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x48fc5d,0x6,_0x3ec831[0x38]),_0x36df2f=_0x391b13(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0xaff8b4,0xa,_0x3ec831[0x39]),_0xe2fabd=_0x391b13(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0x4a2baa,0xf,_0x3ec831[0x3a]),_0x10fa54=_0x391b13(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x533e17,0x15,_0x3ec831[0x3b]),_0x233af8=_0x391b13(_0x233af8,_0x10fa54,_0xe2fabd,_0x36df2f,_0x2a9102,0x6,_0x3ec831[0x3c]),_0x36df2f=_0x391b13(_0x36df2f,_0x233af8,_0x10fa54,_0xe2fabd,_0x1b65de,0xa,_0x3ec831[0x3d]),_0xe2fabd=_0x391b13(_0xe2fabd,_0x36df2f,_0x233af8,_0x10fa54,_0xfca9d9,0xf,_0x3ec831[0x3e]),_0x10fa54=_0x391b13(_0x10fa54,_0xe2fabd,_0x36df2f,_0x233af8,_0x1ac1bb,0x15,_0x3ec831[0x3f]),_0x562440[0x0]=_0x562440[0x0]+_0x233af8|0x0,_0x562440[0x1]=_0x562440[0x1]+_0x10fa54|0x0,_0x562440[0x2]=_0x562440[0x2]+_0xe2fabd|0x0,_0x562440[0x3]=_0x562440[0x3]+_0x36df2f|0x0;},'_doFinalize':function(){var _0x461957=_0x415457,_0x38463b=this['_data'],_0x1bfe10=_0x38463b[_0x461957(0x169)],_0x46e121=this[_0x461957(0x299)]*0x8,_0x4450bb=_0x38463b[_0x461957(0x186)]*0x8;_0x1bfe10[_0x4450bb>>>0x5]|=0x80<<0x18-_0x4450bb%0x20;var _0x33b1b6=_0x2ba33d[_0x461957(0x244)](_0x46e121/0x100000000),_0x42576e=_0x46e121;_0x1bfe10[(_0x4450bb+0x40>>>0x9<<0x4)+0xf]=(_0x33b1b6<<0x8|_0x33b1b6>>>0x18)&0xff00ff|(_0x33b1b6<<0x18|_0x33b1b6>>>0x8)&0xff00ff00,_0x1bfe10[(_0x4450bb+0x40>>>0x9<<0x4)+0xe]=(_0x42576e<<0x8|_0x42576e>>>0x18)&0xff00ff|(_0x42576e<<0x18|_0x42576e>>>0x8)&0xff00ff00,_0x38463b[_0x461957(0x186)]=(_0x1bfe10[_0x461957(0x256)]+0x1)*0x4,this[_0x461957(0x34d)]();for(var _0x336f3a=this[_0x461957(0x112)],_0x1fe867=_0x336f3a[_0x461957(0x169)],_0x5a478c=0x0;_0x5a478c<0x4;_0x5a478c++){var _0x2297f5=_0x1fe867[_0x5a478c];_0x1fe867[_0x5a478c]=(_0x2297f5<<0x8|_0x2297f5>>>0x18)&0xff00ff|(_0x2297f5<<0x18|_0x2297f5>>>0x8)&0xff00ff00;}return _0x336f3a;},'clone':function(){var _0x1b11a4=_0x415457,_0x384cd5=_0x5d9529['clone'][_0x1b11a4(0x15e)](this);return _0x384cd5[_0x1b11a4(0x112)]=this[_0x1b11a4(0x112)][_0x1b11a4(0x116)](),_0x384cd5;}});function _0x59b37c(_0x3f5f56,_0x932330,_0x53db22,_0x48d50a,_0x331c22,_0x5d9b00,_0x33e7fb){var _0x323c5e=_0x3f5f56+(_0x932330&_0x53db22|~_0x932330&_0x48d50a)+_0x331c22+_0x33e7fb;return(_0x323c5e<<_0x5d9b00|_0x323c5e>>>0x20-_0x5d9b00)+_0x932330;}function _0x5b59b7(_0x42eb6a,_0x269782,_0x1d132b,_0x19c097,_0x5c6c49,_0x6f18a8,_0x24a12b){var _0xa44464=_0x42eb6a+(_0x269782&_0x19c097|_0x1d132b&~_0x19c097)+_0x5c6c49+_0x24a12b;return(_0xa44464<<_0x6f18a8|_0xa44464>>>0x20-_0x6f18a8)+_0x269782;}function _0x314ee6(_0x8007a4,_0x2b943d,_0x2fefff,_0x489d45,_0x1497fd,_0x1b7fd9,_0x5d68bb){var _0x3c2ec3=_0x8007a4+(_0x2b943d^_0x2fefff^_0x489d45)+_0x1497fd+_0x5d68bb;return(_0x3c2ec3<<_0x1b7fd9|_0x3c2ec3>>>0x20-_0x1b7fd9)+_0x2b943d;}function _0x391b13(_0x5e2e5f,_0x458e40,_0x217578,_0x1a1b57,_0x928748,_0x488a9e,_0x320298){var _0x794339=_0x5e2e5f+(_0x217578^(_0x458e40|~_0x1a1b57))+_0x928748+_0x320298;return(_0x794339<<_0x488a9e|_0x794339>>>0x20-_0x488a9e)+_0x458e40;}_0x2b5c44[_0x415457(0xc2)]=_0x5d9529[_0x415457(0x23e)](_0x26b8f8),_0x2b5c44['HmacMD5']=_0x5d9529[_0x415457(0x179)](_0x26b8f8);}(Math),_0x382faa[_0x114a77(0xc2)];}));}(Ke)),Ke[_0x2eba73(0x339)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe['exports'],ei;function Rn(){var _0x5bf5aa=_0x281423;return ei||(ei=0x1,function(_0x5d9f1b,_0xa327df){(function(_0x3c3ef3,_0x2f862b){var _0x2bd405=_0x4ec3;_0x5d9f1b[_0x2bd405(0x339)]=_0x2f862b(ie());}(Cn,function(_0x320356){var _0x16cc06=_0x4ec3;return(function(){var _0x4914b0=_0x4ec3,_0x4db4e5=_0x320356,_0x1f6b21=_0x4db4e5[_0x4914b0(0x37c)],_0x19f10=_0x1f6b21['WordArray'],_0x9ee909=_0x1f6b21[_0x4914b0(0x28b)],_0x6721dc=_0x4db4e5[_0x4914b0(0x1f5)],_0x17b257=[],_0x257a8f=_0x6721dc[_0x4914b0(0x294)]=_0x9ee909[_0x4914b0(0x173)]({'_doReset':function(){var _0x5cd3cc=_0x4914b0;this[_0x5cd3cc(0x112)]=new _0x19f10[(_0x5cd3cc(0x229))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x22542a,_0xade532){var _0x4178d8=_0x4914b0;for(var _0x4a4876=this[_0x4178d8(0x112)][_0x4178d8(0x169)],_0x87beb2=_0x4a4876[0x0],_0x3c9a5c=_0x4a4876[0x1],_0x3563d4=_0x4a4876[0x2],_0xdfd473=_0x4a4876[0x3],_0x9f509e=_0x4a4876[0x4],_0x113020=0x0;_0x113020<0x50;_0x113020++){if(_0x113020<0x10)_0x17b257[_0x113020]=_0x22542a[_0xade532+_0x113020]|0x0;else{var _0x3fd866=_0x17b257[_0x113020-0x3]^_0x17b257[_0x113020-0x8]^_0x17b257[_0x113020-0xe]^_0x17b257[_0x113020-0x10];_0x17b257[_0x113020]=_0x3fd866<<0x1|_0x3fd866>>>0x1f;}var _0x5f4e64=(_0x87beb2<<0x5|_0x87beb2>>>0x1b)+_0x9f509e+_0x17b257[_0x113020];_0x113020<0x14?_0x5f4e64+=(_0x3c9a5c&_0x3563d4|~_0x3c9a5c&_0xdfd473)+0x5a827999:_0x113020<0x28?_0x5f4e64+=(_0x3c9a5c^_0x3563d4^_0xdfd473)+0x6ed9eba1:_0x113020<0x3c?_0x5f4e64+=(_0x3c9a5c&_0x3563d4|_0x3c9a5c&_0xdfd473|_0x3563d4&_0xdfd473)-0x70e44324:_0x5f4e64+=(_0x3c9a5c^_0x3563d4^_0xdfd473)-0x359d3e2a,_0x9f509e=_0xdfd473,_0xdfd473=_0x3563d4,_0x3563d4=_0x3c9a5c<<0x1e|_0x3c9a5c>>>0x2,_0x3c9a5c=_0x87beb2,_0x87beb2=_0x5f4e64;}_0x4a4876[0x0]=_0x4a4876[0x0]+_0x87beb2|0x0,_0x4a4876[0x1]=_0x4a4876[0x1]+_0x3c9a5c|0x0,_0x4a4876[0x2]=_0x4a4876[0x2]+_0x3563d4|0x0,_0x4a4876[0x3]=_0x4a4876[0x3]+_0xdfd473|0x0,_0x4a4876[0x4]=_0x4a4876[0x4]+_0x9f509e|0x0;},'_doFinalize':function(){var _0x3ec580=_0x4914b0,_0x47121f=this[_0x3ec580(0x1bf)],_0x5a661f=_0x47121f['words'],_0x6a8c52=this[_0x3ec580(0x299)]*0x8,_0x3e4f8c=_0x47121f[_0x3ec580(0x186)]*0x8;return _0x5a661f[_0x3e4f8c>>>0x5]|=0x80<<0x18-_0x3e4f8c%0x20,_0x5a661f[(_0x3e4f8c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3ec580(0x244)](_0x6a8c52/0x100000000),_0x5a661f[(_0x3e4f8c+0x40>>>0x9<<0x4)+0xf]=_0x6a8c52,_0x47121f['sigBytes']=_0x5a661f[_0x3ec580(0x256)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x2474e5=_0x4914b0,_0x4e5871=_0x9ee909[_0x2474e5(0x116)][_0x2474e5(0x15e)](this);return _0x4e5871[_0x2474e5(0x112)]=this[_0x2474e5(0x112)][_0x2474e5(0x116)](),_0x4e5871;}});_0x4db4e5[_0x4914b0(0x294)]=_0x9ee909[_0x4914b0(0x23e)](_0x257a8f),_0x4db4e5[_0x4914b0(0x346)]=_0x9ee909[_0x4914b0(0x179)](_0x257a8f);}()),_0x320356[_0x16cc06(0x294)];}));}(qe)),qe[_0x5bf5aa(0x339)];}var ze={'exports':{}},bn=ze[_0x281423(0x339)],ti;function yn(){var _0x370872=_0x281423;return ti||(ti=0x1,function(_0x42bc87,_0x26b420){(function(_0x41f69b,_0x179f3d){_0x42bc87['exports']=_0x179f3d(ie());}(bn,function(_0x23f704){(function(){var _0x872eda=_0x4ec3,_0x599df3=_0x23f704,_0x4b08e9=_0x599df3['lib'],_0x21df2a=_0x4b08e9[_0x872eda(0x100)],_0x4d5c3f=_0x599df3[_0x872eda(0x155)],_0x4fd7d4=_0x4d5c3f[_0x872eda(0x18a)],_0x2d0cbf=_0x599df3[_0x872eda(0x1f5)];_0x2d0cbf['HMAC']=_0x21df2a['extend']({'init':function(_0x44b918,_0x3f1f81){var _0x3ba0ab=_0x872eda;_0x44b918=this[_0x3ba0ab(0x3a1)]=new _0x44b918['init'](),typeof _0x3f1f81=='string'&&(_0x3f1f81=_0x4fd7d4[_0x3ba0ab(0x22b)](_0x3f1f81));var _0x2e3531=_0x44b918[_0x3ba0ab(0x316)],_0x5e1937=_0x2e3531*0x4;_0x3f1f81[_0x3ba0ab(0x186)]>_0x5e1937&&(_0x3f1f81=_0x44b918['finalize'](_0x3f1f81)),_0x3f1f81[_0x3ba0ab(0x1ba)]();for(var _0x50d310=this[_0x3ba0ab(0x16f)]=_0x3f1f81[_0x3ba0ab(0x116)](),_0x24c65f=this[_0x3ba0ab(0x159)]=_0x3f1f81[_0x3ba0ab(0x116)](),_0x167584=_0x50d310[_0x3ba0ab(0x169)],_0x560ce8=_0x24c65f[_0x3ba0ab(0x169)],_0x4677b3=0x0;_0x4677b3<_0x2e3531;_0x4677b3++)_0x167584[_0x4677b3]^=0x5c5c5c5c,_0x560ce8[_0x4677b3]^=0x36363636;_0x50d310[_0x3ba0ab(0x186)]=_0x24c65f['sigBytes']=_0x5e1937,this['reset']();},'reset':function(){var _0x578e9d=_0x872eda,_0xbb32a7=this[_0x578e9d(0x3a1)];_0xbb32a7[_0x578e9d(0x2db)](),_0xbb32a7[_0x578e9d(0x125)](this[_0x578e9d(0x159)]);},'update':function(_0x33711f){var _0x42da51=_0x872eda;return this[_0x42da51(0x3a1)][_0x42da51(0x125)](_0x33711f),this;},'finalize':function(_0x442963){var _0x3eebde=_0x872eda,_0x52dc7a=this[_0x3eebde(0x3a1)],_0x1bb986=_0x52dc7a[_0x3eebde(0x10c)](_0x442963);_0x52dc7a['reset']();var _0x3e1acc=_0x52dc7a['finalize'](this[_0x3eebde(0x16f)][_0x3eebde(0x116)]()[_0x3eebde(0x32d)](_0x1bb986));return _0x3e1acc;}});}());}));}(ze)),ze[_0x370872(0x339)];}var On=Ye[_0x281423(0x339)],ii;function wi(){var _0x376f66=_0x281423;return ii||(ii=0x1,function(_0x430d0f,_0xf77fdc){(function(_0x4b69aa,_0x30c3a6,_0x33b6ea){var _0x1a84a9=_0x4ec3;_0x430d0f[_0x1a84a9(0x339)]=_0x30c3a6(ie(),Rn(),yn());}(On,function(_0x107a8a){var _0x4abde8=_0x4ec3;return(function(){var _0x493038=_0x4ec3,_0x1128a5=_0x107a8a,_0x50bc9e=_0x1128a5[_0x493038(0x37c)],_0x3f8582=_0x50bc9e[_0x493038(0x100)],_0xa80f20=_0x50bc9e[_0x493038(0x2b9)],_0x12dd67=_0x1128a5[_0x493038(0x1f5)],_0x3859c1=_0x12dd67[_0x493038(0xc2)],_0xe8f68e=_0x12dd67[_0x493038(0x2b1)]=_0x3f8582['extend']({'cfg':_0x3f8582['extend']({'keySize':0x80/0x20,'hasher':_0x3859c1,'iterations':0x1}),'init':function(_0x113cac){var _0x4636b6=_0x493038;this[_0x4636b6(0x1d9)]=this[_0x4636b6(0x1d9)][_0x4636b6(0x173)](_0x113cac);},'compute':function(_0x42e8ac,_0x4b704c){var _0x446980=_0x493038;for(var _0x284855,_0x19cebe=this[_0x446980(0x1d9)],_0x510c89=_0x19cebe[_0x446980(0x259)][_0x446980(0x2a3)](),_0x3bb24d=_0xa80f20['create'](),_0x209802=_0x3bb24d[_0x446980(0x169)],_0x481b69=_0x19cebe[_0x446980(0x377)],_0x319145=_0x19cebe['iterations'];_0x209802[_0x446980(0x256)]<_0x481b69;){_0x284855&&_0x510c89[_0x446980(0x125)](_0x284855),_0x284855=_0x510c89[_0x446980(0x125)](_0x42e8ac)[_0x446980(0x10c)](_0x4b704c),_0x510c89[_0x446980(0x2db)]();for(var _0x40723d=0x1;_0x40723d<_0x319145;_0x40723d++)_0x284855=_0x510c89[_0x446980(0x10c)](_0x284855),_0x510c89['reset']();_0x3bb24d[_0x446980(0x32d)](_0x284855);}return _0x3bb24d['sigBytes']=_0x481b69*0x4,_0x3bb24d;}});_0x1128a5[_0x493038(0x2b1)]=function(_0x165aad,_0xc1ca3b,_0x3aa549){var _0xb08d5b=_0x493038;return _0xe8f68e[_0xb08d5b(0x2a3)](_0x3aa549)['compute'](_0x165aad,_0xc1ca3b);};}()),_0x107a8a[_0x4abde8(0x2b1)];}));}(Ye)),Ye[_0x376f66(0x339)];}var Je={'exports':{}},Nn=Je[_0x281423(0x339)],ri;function Ui(){var _0x43d256=_0x281423;return ri||(ri=0x1,function(_0x5f312d,_0x2d5aa5){(function(_0x3b5b86,_0x5ceb13,_0x3e03f4){var _0x1a4789=_0x4ec3;_0x5f312d[_0x1a4789(0x339)]=_0x5ceb13(ie(),wi());}(Nn,function(_0x2ea287){_0x2ea287['lib']['Cipher']||function(_0x51ef23){var _0x280441=_0x4ec3,_0x41e703=_0x2ea287,_0x22ba11=_0x41e703[_0x280441(0x37c)],_0x2bacbc=_0x22ba11[_0x280441(0x100)],_0x3193ad=_0x22ba11[_0x280441(0x2b9)],_0x55f301=_0x22ba11[_0x280441(0x231)],_0x210b76=_0x41e703[_0x280441(0x155)];_0x210b76[_0x280441(0x18a)];var _0x105f8b=_0x210b76[_0x280441(0xd6)],_0x3163d9=_0x41e703[_0x280441(0x1f5)],_0x4fd3c1=_0x3163d9['EvpKDF'],_0x740781=_0x22ba11[_0x280441(0x33e)]=_0x55f301[_0x280441(0x173)]({'cfg':_0x2bacbc[_0x280441(0x173)](),'createEncryptor':function(_0x14a66e,_0x5e9195){var _0x1db634=_0x280441;return this['create'](this[_0x1db634(0x373)],_0x14a66e,_0x5e9195);},'createDecryptor':function(_0x41d450,_0xd64189){var _0x49db27=_0x280441;return this[_0x49db27(0x2a3)](this['_DEC_XFORM_MODE'],_0x41d450,_0xd64189);},'init':function(_0x2f627f,_0x2834fc,_0x54d5a8){var _0x75caf=_0x280441;this[_0x75caf(0x1d9)]=this[_0x75caf(0x1d9)]['extend'](_0x54d5a8),this['_xformMode']=_0x2f627f,this['_key']=_0x2834fc,this[_0x75caf(0x2db)]();},'reset':function(){var _0x155145=_0x280441;_0x55f301['reset'][_0x155145(0x15e)](this),this[_0x155145(0x1aa)]();},'process':function(_0x3e26a2){var _0x4147df=_0x280441;return this['_append'](_0x3e26a2),this[_0x4147df(0x34d)]();},'finalize':function(_0x3e188f){var _0x3b2358=_0x280441;_0x3e188f&&this[_0x3b2358(0x206)](_0x3e188f);var _0xb5f1c9=this['_doFinalize']();return _0xb5f1c9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16bb27(_0x3d748c){var _0x284bc9=_0x4ec3;return typeof _0x3d748c==_0x284bc9(0x39d)?_0x5e70da:_0x5caef6;}return function(_0x4e612b){return{'encrypt':function(_0x5dbda5,_0x267995,_0x36ebaf){var _0x128bca=_0x4ec3;return _0x16bb27(_0x267995)[_0x128bca(0x15f)](_0x4e612b,_0x5dbda5,_0x267995,_0x36ebaf);},'decrypt':function(_0x2ab64c,_0x956da2,_0x299c2d){var _0x42f816=_0x4ec3;return _0x16bb27(_0x956da2)[_0x42f816(0xce)](_0x4e612b,_0x2ab64c,_0x956da2,_0x299c2d);}};};}())});_0x22ba11[_0x280441(0x304)]=_0x740781[_0x280441(0x173)]({'_doFinalize':function(){var _0x524817=_0x280441,_0xeb957f=this[_0x524817(0x34d)](!0x0);return _0xeb957f;},'blockSize':0x1});var _0x1708f0=_0x41e703[_0x280441(0x16d)]={},_0x30c906=_0x22ba11['BlockCipherMode']=_0x2bacbc[_0x280441(0x173)]({'createEncryptor':function(_0x44e2bb,_0x49ff54){var _0x4829bd=_0x280441;return this[_0x4829bd(0x1d7)][_0x4829bd(0x2a3)](_0x44e2bb,_0x49ff54);},'createDecryptor':function(_0x2e09eb,_0x9e88e7){return this['Decryptor']['create'](_0x2e09eb,_0x9e88e7);},'init':function(_0x511c0a,_0x27d946){var _0x3d0b3c=_0x280441;this[_0x3d0b3c(0xc9)]=_0x511c0a,this[_0x3d0b3c(0x227)]=_0x27d946;}}),_0x37a516=_0x1708f0[_0x280441(0x182)]=(function(){var _0x5c93d9=_0x280441,_0x39c195=_0x30c906[_0x5c93d9(0x173)]();_0x39c195['Encryptor']=_0x39c195[_0x5c93d9(0x173)]({'processBlock':function(_0x32957b,_0x581415){var _0x3f538a=_0x5c93d9,_0x4e1040=this[_0x3f538a(0xc9)],_0xd3ca1a=_0x4e1040[_0x3f538a(0x316)];_0x5787e7['call'](this,_0x32957b,_0x581415,_0xd3ca1a),_0x4e1040['encryptBlock'](_0x32957b,_0x581415),this[_0x3f538a(0x103)]=_0x32957b['slice'](_0x581415,_0x581415+_0xd3ca1a);}}),_0x39c195['Decryptor']=_0x39c195[_0x5c93d9(0x173)]({'processBlock':function(_0x5f07ac,_0x43fd69){var _0x1e7320=_0x5c93d9,_0x1c9c5f=this[_0x1e7320(0xc9)],_0xca5ad9=_0x1c9c5f['blockSize'],_0x181819=_0x5f07ac['slice'](_0x43fd69,_0x43fd69+_0xca5ad9);_0x1c9c5f[_0x1e7320(0x370)](_0x5f07ac,_0x43fd69),_0x5787e7['call'](this,_0x5f07ac,_0x43fd69,_0xca5ad9),this[_0x1e7320(0x103)]=_0x181819;}});function _0x5787e7(_0x175f32,_0x2d6be6,_0x3d8d9e){var _0x51e6d5=_0x5c93d9,_0x4f0f78,_0x4e4b31=this[_0x51e6d5(0x227)];_0x4e4b31?(_0x4f0f78=_0x4e4b31,this[_0x51e6d5(0x227)]=_0x51ef23):_0x4f0f78=this[_0x51e6d5(0x103)];for(var _0x4853f0=0x0;_0x4853f0<_0x3d8d9e;_0x4853f0++)_0x175f32[_0x2d6be6+_0x4853f0]^=_0x4f0f78[_0x4853f0];}return _0x39c195;}()),_0x52a9f2=_0x41e703['pad']={},_0x182041=_0x52a9f2[_0x280441(0x27f)]={'pad':function(_0x47b1c8,_0x576cb7){var _0x2f7293=_0x280441;for(var _0x3ec8c7=_0x576cb7*0x4,_0x1db4cd=_0x3ec8c7-_0x47b1c8[_0x2f7293(0x186)]%_0x3ec8c7,_0x5db519=_0x1db4cd<<0x18|_0x1db4cd<<0x10|_0x1db4cd<<0x8|_0x1db4cd,_0x3cceb8=[],_0x5787a6=0x0;_0x5787a6<_0x1db4cd;_0x5787a6+=0x4)_0x3cceb8['push'](_0x5db519);var _0x521993=_0x3193ad[_0x2f7293(0x2a3)](_0x3cceb8,_0x1db4cd);_0x47b1c8[_0x2f7293(0x32d)](_0x521993);},'unpad':function(_0x324434){var _0x132834=_0x280441,_0x532029=_0x324434[_0x132834(0x169)][_0x324434[_0x132834(0x186)]-0x1>>>0x2]&0xff;_0x324434[_0x132834(0x186)]-=_0x532029;}};_0x22ba11[_0x280441(0x198)]=_0x740781[_0x280441(0x173)]({'cfg':_0x740781[_0x280441(0x1d9)][_0x280441(0x173)]({'mode':_0x37a516,'padding':_0x182041}),'reset':function(){var _0x7f0f91=_0x280441,_0xb81d57;_0x740781[_0x7f0f91(0x2db)][_0x7f0f91(0x15e)](this);var _0x5e5431=this[_0x7f0f91(0x1d9)],_0x5a37cb=_0x5e5431['iv'],_0x5c4f71=_0x5e5431[_0x7f0f91(0x16d)];this[_0x7f0f91(0x39a)]==this[_0x7f0f91(0x373)]?_0xb81d57=_0x5c4f71[_0x7f0f91(0x353)]:(_0xb81d57=_0x5c4f71[_0x7f0f91(0x219)],this[_0x7f0f91(0x15d)]=0x1),this[_0x7f0f91(0x355)]&&this['_mode'][_0x7f0f91(0x131)]==_0xb81d57?this['_mode'][_0x7f0f91(0x229)](this,_0x5a37cb&&_0x5a37cb[_0x7f0f91(0x169)]):(this['_mode']=_0xb81d57[_0x7f0f91(0x15e)](_0x5c4f71,this,_0x5a37cb&&_0x5a37cb[_0x7f0f91(0x169)]),this[_0x7f0f91(0x355)]['__creator']=_0xb81d57);},'_doProcessBlock':function(_0x24f568,_0x2da503){this['_mode']['processBlock'](_0x24f568,_0x2da503);},'_doFinalize':function(){var _0x4f6878=_0x280441,_0x3efa44,_0x4c63ad=this[_0x4f6878(0x1d9)][_0x4f6878(0x371)];return this[_0x4f6878(0x39a)]==this[_0x4f6878(0x373)]?(_0x4c63ad['pad'](this['_data'],this[_0x4f6878(0x316)]),_0x3efa44=this['_process'](!0x0)):(_0x3efa44=this[_0x4f6878(0x34d)](!0x0),_0x4c63ad['unpad'](_0x3efa44)),_0x3efa44;},'blockSize':0x80/0x20});var _0x310071=_0x22ba11['CipherParams']=_0x2bacbc[_0x280441(0x173)]({'init':function(_0x386474){var _0x44a23b=_0x280441;this[_0x44a23b(0x11b)](_0x386474);},'toString':function(_0x53c925){var _0x3e48ca=_0x280441;return(_0x53c925||this[_0x3e48ca(0x253)])[_0x3e48ca(0x36f)](this);}}),_0x30fc7b=_0x41e703[_0x280441(0x30e)]={},_0x255e02=_0x30fc7b[_0x280441(0x13c)]={'stringify':function(_0x2fba87){var _0x32ea54=_0x280441,_0x832b88,_0x213899=_0x2fba87[_0x32ea54(0x201)],_0x4ed8e7=_0x2fba87['salt'];return _0x4ed8e7?_0x832b88=_0x3193ad[_0x32ea54(0x2a3)]([0x53616c74,0x65645f5f])['concat'](_0x4ed8e7)[_0x32ea54(0x32d)](_0x213899):_0x832b88=_0x213899,_0x832b88['toString'](_0x105f8b);},'parse':function(_0x55aedc){var _0x361b8e=_0x280441,_0x477433,_0x589e90=_0x105f8b[_0x361b8e(0x22b)](_0x55aedc),_0x4294ca=_0x589e90[_0x361b8e(0x169)];return _0x4294ca[0x0]==0x53616c74&&_0x4294ca[0x1]==0x65645f5f&&(_0x477433=_0x3193ad['create'](_0x4294ca['slice'](0x2,0x4)),_0x4294ca[_0x361b8e(0x21b)](0x0,0x4),_0x589e90['sigBytes']-=0x10),_0x310071[_0x361b8e(0x2a3)]({'ciphertext':_0x589e90,'salt':_0x477433});}},_0x5caef6=_0x22ba11['SerializableCipher']=_0x2bacbc['extend']({'cfg':_0x2bacbc[_0x280441(0x173)]({'format':_0x255e02}),'encrypt':function(_0x30c2c9,_0x183adf,_0x4191c1,_0xdb9aa1){var _0x3ff401=_0x280441;_0xdb9aa1=this[_0x3ff401(0x1d9)][_0x3ff401(0x173)](_0xdb9aa1);var _0x2ea281=_0x30c2c9[_0x3ff401(0x353)](_0x4191c1,_0xdb9aa1),_0x1a6013=_0x2ea281[_0x3ff401(0x10c)](_0x183adf),_0x399003=_0x2ea281[_0x3ff401(0x1d9)];return _0x310071[_0x3ff401(0x2a3)]({'ciphertext':_0x1a6013,'key':_0x4191c1,'iv':_0x399003['iv'],'algorithm':_0x30c2c9,'mode':_0x399003[_0x3ff401(0x16d)],'padding':_0x399003[_0x3ff401(0x371)],'blockSize':_0x30c2c9['blockSize'],'formatter':_0xdb9aa1['format']});},'decrypt':function(_0x34511d,_0x227dea,_0x45cbd6,_0xd5f233){var _0x1c0b0c=_0x280441;_0xd5f233=this[_0x1c0b0c(0x1d9)][_0x1c0b0c(0x173)](_0xd5f233),_0x227dea=this[_0x1c0b0c(0x2a4)](_0x227dea,_0xd5f233[_0x1c0b0c(0x30e)]);var _0x20e1ac=_0x34511d[_0x1c0b0c(0x219)](_0x45cbd6,_0xd5f233)[_0x1c0b0c(0x10c)](_0x227dea[_0x1c0b0c(0x201)]);return _0x20e1ac;},'_parse':function(_0x28d909,_0x445777){var _0x26c5ed=_0x280441;return typeof _0x28d909==_0x26c5ed(0x39d)?_0x445777[_0x26c5ed(0x22b)](_0x28d909,this):_0x28d909;}}),_0x3afe4d=_0x41e703[_0x280441(0x1e3)]={},_0x2f8482=_0x3afe4d[_0x280441(0x13c)]={'execute':function(_0x34e316,_0x40521f,_0x3bc068,_0xc7dfc2,_0x451a1c){var _0x2aa641=_0x280441;if(_0xc7dfc2||(_0xc7dfc2=_0x3193ad[_0x2aa641(0x278)](0x40/0x8)),_0x451a1c)var _0x25d45e=_0x4fd3c1[_0x2aa641(0x2a3)]({'keySize':_0x40521f+_0x3bc068,'hasher':_0x451a1c})['compute'](_0x34e316,_0xc7dfc2);else var _0x25d45e=_0x4fd3c1[_0x2aa641(0x2a3)]({'keySize':_0x40521f+_0x3bc068})['compute'](_0x34e316,_0xc7dfc2);var _0x4ea0ee=_0x3193ad[_0x2aa641(0x2a3)](_0x25d45e['words'][_0x2aa641(0x1ff)](_0x40521f),_0x3bc068*0x4);return _0x25d45e[_0x2aa641(0x186)]=_0x40521f*0x4,_0x310071[_0x2aa641(0x2a3)]({'key':_0x25d45e,'iv':_0x4ea0ee,'salt':_0xc7dfc2});}},_0x5e70da=_0x22ba11['PasswordBasedCipher']=_0x5caef6[_0x280441(0x173)]({'cfg':_0x5caef6[_0x280441(0x1d9)]['extend']({'kdf':_0x2f8482}),'encrypt':function(_0x2fc2eb,_0x125f54,_0x3e7f7f,_0x44c04f){var _0x2acb74=_0x280441;_0x44c04f=this[_0x2acb74(0x1d9)][_0x2acb74(0x173)](_0x44c04f);var _0xd7de68=_0x44c04f[_0x2acb74(0x1e3)][_0x2acb74(0x388)](_0x3e7f7f,_0x2fc2eb['keySize'],_0x2fc2eb[_0x2acb74(0xf8)],_0x44c04f['salt'],_0x44c04f[_0x2acb74(0x259)]);_0x44c04f['iv']=_0xd7de68['iv'];var _0x3bdf10=_0x5caef6['encrypt']['call'](this,_0x2fc2eb,_0x125f54,_0xd7de68[_0x2acb74(0x274)],_0x44c04f);return _0x3bdf10[_0x2acb74(0x11b)](_0xd7de68),_0x3bdf10;},'decrypt':function(_0x3b4cba,_0x72e9b4,_0x70e6c4,_0x332818){var _0x45c02a=_0x280441;_0x332818=this['cfg']['extend'](_0x332818),_0x72e9b4=this['_parse'](_0x72e9b4,_0x332818['format']);var _0x29e19f=_0x332818[_0x45c02a(0x1e3)]['execute'](_0x70e6c4,_0x3b4cba[_0x45c02a(0x377)],_0x3b4cba[_0x45c02a(0xf8)],_0x72e9b4[_0x45c02a(0x303)],_0x332818[_0x45c02a(0x259)]);_0x332818['iv']=_0x29e19f['iv'];var _0x597951=_0x5caef6[_0x45c02a(0xce)][_0x45c02a(0x15e)](this,_0x3b4cba,_0x72e9b4,_0x29e19f[_0x45c02a(0x274)],_0x332818);return _0x597951;}});}();}));}(Je)),Je[_0x43d256(0x339)];}var Dn=Ge[_0x281423(0x339)],ni;function wn(){return ni||(ni=0x1,function(_0x4d0c4e,_0x21af8d){(function(_0xa2654e,_0x27964e,_0x10e5f4){var _0x41bf6e=_0x4ec3;_0x4d0c4e[_0x41bf6e(0x339)]=_0x27964e(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x51b4d7){return(function(){var _0x5bf1ef=_0x4ec3,_0x503fda=_0x51b4d7,_0xe515aa=_0x503fda[_0x5bf1ef(0x37c)],_0x4aa28c=_0xe515aa[_0x5bf1ef(0x198)],_0x4d2bbe=_0x503fda[_0x5bf1ef(0x1f5)],_0x37f0b9=[],_0xee92f1=[],_0x5c604d=[],_0x596df5=[],_0x34d52b=[],_0x4d1e82=[],_0x1093ad=[],_0x21ef04=[],_0x57d818=[],_0x5a5dc6=[];(function(){for(var _0x2e7e4c=[],_0x53a1ea=0x0;_0x53a1ea<0x100;_0x53a1ea++)_0x53a1ea<0x80?_0x2e7e4c[_0x53a1ea]=_0x53a1ea<<0x1:_0x2e7e4c[_0x53a1ea]=_0x53a1ea<<0x1^0x11b;for(var _0x4e47c5=0x0,_0x44d48d=0x0,_0x53a1ea=0x0;_0x53a1ea<0x100;_0x53a1ea++){var _0x1f75c4=_0x44d48d^_0x44d48d<<0x1^_0x44d48d<<0x2^_0x44d48d<<0x3^_0x44d48d<<0x4;_0x1f75c4=_0x1f75c4>>>0x8^_0x1f75c4&0xff^0x63,_0x37f0b9[_0x4e47c5]=_0x1f75c4,_0xee92f1[_0x1f75c4]=_0x4e47c5;var _0x519d32=_0x2e7e4c[_0x4e47c5],_0x552da7=_0x2e7e4c[_0x519d32],_0x4a2929=_0x2e7e4c[_0x552da7],_0x4fb248=_0x2e7e4c[_0x1f75c4]*0x101^_0x1f75c4*0x1010100;_0x5c604d[_0x4e47c5]=_0x4fb248<<0x18|_0x4fb248>>>0x8,_0x596df5[_0x4e47c5]=_0x4fb248<<0x10|_0x4fb248>>>0x10,_0x34d52b[_0x4e47c5]=_0x4fb248<<0x8|_0x4fb248>>>0x18,_0x4d1e82[_0x4e47c5]=_0x4fb248;var _0x4fb248=_0x4a2929*0x1010101^_0x552da7*0x10001^_0x519d32*0x101^_0x4e47c5*0x1010100;_0x1093ad[_0x1f75c4]=_0x4fb248<<0x18|_0x4fb248>>>0x8,_0x21ef04[_0x1f75c4]=_0x4fb248<<0x10|_0x4fb248>>>0x10,_0x57d818[_0x1f75c4]=_0x4fb248<<0x8|_0x4fb248>>>0x18,_0x5a5dc6[_0x1f75c4]=_0x4fb248,_0x4e47c5?(_0x4e47c5=_0x519d32^_0x2e7e4c[_0x2e7e4c[_0x2e7e4c[_0x4a2929^_0x519d32]]],_0x44d48d^=_0x2e7e4c[_0x2e7e4c[_0x44d48d]]):_0x4e47c5=_0x44d48d=0x1;}}());var _0x3d00d8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x430a6c=_0x4d2bbe[_0x5bf1ef(0x2ea)]=_0x4aa28c[_0x5bf1ef(0x173)]({'_doReset':function(){var _0x100b9a=_0x5bf1ef,_0x308c1d;if(!(this[_0x100b9a(0x386)]&&this['_keyPriorReset']===this[_0x100b9a(0x374)])){for(var _0x580c5c=this[_0x100b9a(0x220)]=this['_key'],_0x541c40=_0x580c5c[_0x100b9a(0x169)],_0x2338fd=_0x580c5c[_0x100b9a(0x186)]/0x4,_0x57c40a=this[_0x100b9a(0x386)]=_0x2338fd+0x6,_0x1c8533=(_0x57c40a+0x1)*0x4,_0x353411=this[_0x100b9a(0x308)]=[],_0x3ed753=0x0;_0x3ed753<_0x1c8533;_0x3ed753++)_0x3ed753<_0x2338fd?_0x353411[_0x3ed753]=_0x541c40[_0x3ed753]:(_0x308c1d=_0x353411[_0x3ed753-0x1],_0x3ed753%_0x2338fd?_0x2338fd>0x6&&_0x3ed753%_0x2338fd==0x4&&(_0x308c1d=_0x37f0b9[_0x308c1d>>>0x18]<<0x18|_0x37f0b9[_0x308c1d>>>0x10&0xff]<<0x10|_0x37f0b9[_0x308c1d>>>0x8&0xff]<<0x8|_0x37f0b9[_0x308c1d&0xff]):(_0x308c1d=_0x308c1d<<0x8|_0x308c1d>>>0x18,_0x308c1d=_0x37f0b9[_0x308c1d>>>0x18]<<0x18|_0x37f0b9[_0x308c1d>>>0x10&0xff]<<0x10|_0x37f0b9[_0x308c1d>>>0x8&0xff]<<0x8|_0x37f0b9[_0x308c1d&0xff],_0x308c1d^=_0x3d00d8[_0x3ed753/_0x2338fd|0x0]<<0x18),_0x353411[_0x3ed753]=_0x353411[_0x3ed753-_0x2338fd]^_0x308c1d);for(var _0x5cef20=this['_invKeySchedule']=[],_0x22e197=0x0;_0x22e197<_0x1c8533;_0x22e197++){var _0x3ed753=_0x1c8533-_0x22e197;if(_0x22e197%0x4)var _0x308c1d=_0x353411[_0x3ed753];else var _0x308c1d=_0x353411[_0x3ed753-0x4];_0x22e197<0x4||_0x3ed753<=0x4?_0x5cef20[_0x22e197]=_0x308c1d:_0x5cef20[_0x22e197]=_0x1093ad[_0x37f0b9[_0x308c1d>>>0x18]]^_0x21ef04[_0x37f0b9[_0x308c1d>>>0x10&0xff]]^_0x57d818[_0x37f0b9[_0x308c1d>>>0x8&0xff]]^_0x5a5dc6[_0x37f0b9[_0x308c1d&0xff]];}}},'encryptBlock':function(_0x15a09e,_0xe83983){var _0x2997cd=_0x5bf1ef;this[_0x2997cd(0x196)](_0x15a09e,_0xe83983,this[_0x2997cd(0x308)],_0x5c604d,_0x596df5,_0x34d52b,_0x4d1e82,_0x37f0b9);},'decryptBlock':function(_0x3d0f95,_0x18e796){var _0x24916e=_0x5bf1ef,_0x50d231=_0x3d0f95[_0x18e796+0x1];_0x3d0f95[_0x18e796+0x1]=_0x3d0f95[_0x18e796+0x3],_0x3d0f95[_0x18e796+0x3]=_0x50d231,this['_doCryptBlock'](_0x3d0f95,_0x18e796,this[_0x24916e(0x277)],_0x1093ad,_0x21ef04,_0x57d818,_0x5a5dc6,_0xee92f1);var _0x50d231=_0x3d0f95[_0x18e796+0x1];_0x3d0f95[_0x18e796+0x1]=_0x3d0f95[_0x18e796+0x3],_0x3d0f95[_0x18e796+0x3]=_0x50d231;},'_doCryptBlock':function(_0x159fca,_0x1484df,_0x2801eb,_0x473041,_0x41891e,_0x5848eb,_0x772106,_0x63d64c){var _0x131b2b=_0x5bf1ef;for(var _0x1d2df6=this[_0x131b2b(0x386)],_0x2deae3=_0x159fca[_0x1484df]^_0x2801eb[0x0],_0x44dc69=_0x159fca[_0x1484df+0x1]^_0x2801eb[0x1],_0xdc7807=_0x159fca[_0x1484df+0x2]^_0x2801eb[0x2],_0x505aa4=_0x159fca[_0x1484df+0x3]^_0x2801eb[0x3],_0x1e2a3b=0x4,_0x28bcf5=0x1;_0x28bcf5<_0x1d2df6;_0x28bcf5++){var _0x3ec5c7=_0x473041[_0x2deae3>>>0x18]^_0x41891e[_0x44dc69>>>0x10&0xff]^_0x5848eb[_0xdc7807>>>0x8&0xff]^_0x772106[_0x505aa4&0xff]^_0x2801eb[_0x1e2a3b++],_0x4e0496=_0x473041[_0x44dc69>>>0x18]^_0x41891e[_0xdc7807>>>0x10&0xff]^_0x5848eb[_0x505aa4>>>0x8&0xff]^_0x772106[_0x2deae3&0xff]^_0x2801eb[_0x1e2a3b++],_0x44d98e=_0x473041[_0xdc7807>>>0x18]^_0x41891e[_0x505aa4>>>0x10&0xff]^_0x5848eb[_0x2deae3>>>0x8&0xff]^_0x772106[_0x44dc69&0xff]^_0x2801eb[_0x1e2a3b++],_0x5eb8b6=_0x473041[_0x505aa4>>>0x18]^_0x41891e[_0x2deae3>>>0x10&0xff]^_0x5848eb[_0x44dc69>>>0x8&0xff]^_0x772106[_0xdc7807&0xff]^_0x2801eb[_0x1e2a3b++];_0x2deae3=_0x3ec5c7,_0x44dc69=_0x4e0496,_0xdc7807=_0x44d98e,_0x505aa4=_0x5eb8b6;}var _0x3ec5c7=(_0x63d64c[_0x2deae3>>>0x18]<<0x18|_0x63d64c[_0x44dc69>>>0x10&0xff]<<0x10|_0x63d64c[_0xdc7807>>>0x8&0xff]<<0x8|_0x63d64c[_0x505aa4&0xff])^_0x2801eb[_0x1e2a3b++],_0x4e0496=(_0x63d64c[_0x44dc69>>>0x18]<<0x18|_0x63d64c[_0xdc7807>>>0x10&0xff]<<0x10|_0x63d64c[_0x505aa4>>>0x8&0xff]<<0x8|_0x63d64c[_0x2deae3&0xff])^_0x2801eb[_0x1e2a3b++],_0x44d98e=(_0x63d64c[_0xdc7807>>>0x18]<<0x18|_0x63d64c[_0x505aa4>>>0x10&0xff]<<0x10|_0x63d64c[_0x2deae3>>>0x8&0xff]<<0x8|_0x63d64c[_0x44dc69&0xff])^_0x2801eb[_0x1e2a3b++],_0x5eb8b6=(_0x63d64c[_0x505aa4>>>0x18]<<0x18|_0x63d64c[_0x2deae3>>>0x10&0xff]<<0x10|_0x63d64c[_0x44dc69>>>0x8&0xff]<<0x8|_0x63d64c[_0xdc7807&0xff])^_0x2801eb[_0x1e2a3b++];_0x159fca[_0x1484df]=_0x3ec5c7,_0x159fca[_0x1484df+0x1]=_0x4e0496,_0x159fca[_0x1484df+0x2]=_0x44d98e,_0x159fca[_0x1484df+0x3]=_0x5eb8b6;},'keySize':0x100/0x20});_0x503fda['AES']=_0x4aa28c[_0x5bf1ef(0x23e)](_0x430a6c);}()),_0x51b4d7['AES'];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe['exports'],oi;function Ln(){var _0x114017=_0x281423;return oi||(oi=0x1,function(_0xc0ba3b,_0x21c29b){(function(_0x56c2d6,_0x44fe16){var _0x581080=_0x4ec3;_0xc0ba3b[_0x581080(0x339)]=_0x44fe16(ie());}(xn,function(_0x204058){var _0x1cca96=_0x4ec3;return _0x204058[_0x1cca96(0x155)][_0x1cca96(0x18a)];}));}(Xe)),Xe[_0x114017(0x339)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x281423(0x339)],ai;function Hn(){var _0x37b014=_0x281423;return ai||(ai=0x1,function(_0x196af1,_0x515b2b){(function(_0x1670f3,_0xb74f5){var _0x562d9a=_0x4ec3;_0x196af1[_0x562d9a(0x339)]=_0xb74f5(ie());}($n,function(_0x1d5264){var _0x234925=_0x4ec3;return(function(){var _0x583dc4=_0x4ec3;if(typeof ArrayBuffer=='function'){var _0x57bbf3=_0x1d5264,_0x4d4135=_0x57bbf3[_0x583dc4(0x37c)],_0x175450=_0x4d4135[_0x583dc4(0x2b9)],_0x5d027f=_0x175450['init'],_0x1e3f90=_0x175450[_0x583dc4(0x229)]=function(_0x19597a){var _0xf90b68=_0x583dc4;if(_0x19597a instanceof ArrayBuffer&&(_0x19597a=new Uint8Array(_0x19597a)),(_0x19597a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x19597a instanceof Uint8ClampedArray||_0x19597a instanceof Int16Array||_0x19597a instanceof Uint16Array||_0x19597a instanceof Int32Array||_0x19597a instanceof Uint32Array||_0x19597a instanceof Float32Array||_0x19597a instanceof Float64Array)&&(_0x19597a=new Uint8Array(_0x19597a['buffer'],_0x19597a[_0xf90b68(0x399)],_0x19597a['byteLength'])),_0x19597a instanceof Uint8Array){for(var _0x50c6e9=_0x19597a['byteLength'],_0x134bff=[],_0x430a2c=0x0;_0x430a2c<_0x50c6e9;_0x430a2c++)_0x134bff[_0x430a2c>>>0x2]|=_0x19597a[_0x430a2c]<<0x18-_0x430a2c%0x4*0x8;_0x5d027f[_0xf90b68(0x15e)](this,_0x134bff,_0x50c6e9);}else _0x5d027f[_0xf90b68(0x101)](this,arguments);};_0x1e3f90[_0x583dc4(0x372)]=_0x175450;}}()),_0x1d5264[_0x234925(0x37c)]['WordArray'];}));}(Ze)),Ze[_0x37b014(0x339)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x281423(0x339)],ci;function Gn(){return ci||(ci=0x1,function(_0x318e68,_0x7f0b26){(function(_0x199f4c,_0x2aa03c,_0x2367b5){var _0x2ac32c=_0x4ec3;_0x318e68[_0x2ac32c(0x339)]=_0x2aa03c(ie(),Ui());}(Fn,function(_0x4dcd7b){var _0x303261=_0x4ec3;return _0x4dcd7b[_0x303261(0x18f)][_0x303261(0x2f2)]={'pad':function(){},'unpad':function(){}},_0x4dcd7b[_0x303261(0x18f)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x3fdf2d,_0x1b9bd9){var _0x3305ba=_0x281423;const _0x3624bd=_0x1b9bd9-_0x3fdf2d[_0x3305ba(0x256)]%_0x1b9bd9,_0x3a4714=String[_0x3305ba(0x2ab)](_0x3624bd)[_0x3305ba(0x286)](_0x3624bd);return _0x3fdf2d+_0x3a4714;}function Yn(_0x43e55b,_0x463e87){var _0x15290b=_0x281423;const _0x39fca2=jn[_0x15290b(0x278)](0x10),_0x2f3dc0=Kn(_0x43e55b,0x10),_0x162004=An[_0x15290b(0x15f)](kn[_0x15290b(0x22b)](_0x2f3dc0),si['parse'](_0x463e87),{'iv':_0x39fca2,'padding':Wn});return _0x39fca2[_0x15290b(0x32d)](_0x162004[_0x15290b(0x201)])['toString'](si);}function qn(){var _0x476a5a=_0x281423;const _0x4e22fb=_0x3cdc6f()['__Key__'];if(_0x4e22fb){const _0x2cb7d8={'time':Math['floor'](Date[_0x476a5a(0xd9)]()/0x3e8),'domain':location[_0x476a5a(0x395)]};return Yn(JSON[_0x476a5a(0x36f)](_0x2cb7d8),_0x4e22fb);}}var zn=Object[_0x281423(0x2aa)],Jn=(_0x4f678b,_0x42e13b,_0x42b002,_0xfce07c)=>{var _0x18face=_0x281423;for(var _0x1000c7=_0xfce07c>0x1?void 0x0:_0xfce07c?zn(_0x42e13b,_0x42b002):_0x42e13b,_0x3672bb=_0x4f678b[_0x18face(0x256)]-0x1,_0x295fb9;_0x3672bb>=0x0;_0x3672bb--)(_0x295fb9=_0x4f678b[_0x3672bb])&&(_0x1000c7=_0x295fb9(_0x1000c7)||_0x1000c7);return _0x1000c7;},Xn=(_0x485588,_0x2eb8c6)=>(_0x58c6d9,_0x5d8abf)=>_0x2eb8c6(_0x58c6d9,_0x5d8abf,_0x485588);let ot=class{constructor(_0x5975ca){var _0x4fd969=_0x281423;this[_0x4fd969(0x17a)]=_0x5975ca,this[_0x4fd969(0x379)]();}[_0x281423(0x379)](){var _0x5a84c9=_0x281423;this['_httpService'][_0x5a84c9(0x109)]({'interceptor':(_0x5c062b,_0x4ef9f4)=>{var _0x571233=_0x5a84c9;const _0x2078ea=_0x5c062b[_0x571233(0x193)],_0xb9a6df=qn();return _0xb9a6df&&_0x2078ea[_0x571233(0x35d)]('x-univer-host',_0xb9a6df),_0x4ef9f4(_0x5c062b);}});}};function _0x11e3(){var _0x3d6e33=['[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onRemoteAck','_loadDoc','max','JOIN_ROOM_PERMISSION_DENIED','LOGIN_URL_KEY','_getCtorByUniverType','exports','removeMember','unitId','not_collab','responseType','Cipher','_userManagerService','APPLY_REVISION_CONFILICT','IDLE','_transformRemoteChangesetByIMECache','NOT_COLLAB','_substituteUndoStack','awaiting','HmacSHA1','changesets','12tzTWbA','localeService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','code','COMPRESS_MUTATION_SEND','_process','_state$','_telemetryService','_onConnectionFailed','_configService','$super','createEncryptor','_changesetSessionId','_mode','status','href','rng','USERS_ENTER','[PendingState]:\x20received\x20acknowledgement.','_collabSessionService','LIVESHARE_OPERATION','set','getSnapshotAPIPath','get','_socket$','_updateState','_startTelemetryCollaborationNewChangeset','substr','UNIVER_SHEET','Undefined','override','onSendChangeset','updateOfflineData','TOO_MANY_REQUESTS','commentUpdate$','_doCreateSocket','_clearRetryConnectingTimer','image/jpeg','getUnit','stringify','decryptBlock','padding','prototype','_ENC_XFORM_MODE','_key','Error\x20on\x20receiving\x20event','requireSession','keySize','_clearLocalCache','_initRequestHeader','/collaborator','UNIVER_PROJECT','lib','selections','fetch_missing','?size=','SEND_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20rejection.','LICENSE_EXPORT_SIZE_EXCEEDED','_handlerCallback','DEFAULT_FILE_NAME','_initCloseConn','_nRounds','APPLY_PERMISSION_DENIED','execute','_replayCachedMutations','save\x20fail\x20reason\x20is\x20','getCurrentSelections','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearCollaborationTimeoutTimer','pending','unitInfo$','unsubscribe','COLLAB_WEB_SOCKET_URL','_replaceFileID','transformStack\x20failed!','UnitSnapshot','hostname','userID','unknown','closeSession','byteOffset','_xformMode','COMPRESS_MUTATION_APPLY','executeCommand','string','810531lmlyqb','onTransformSelections','/role','_hasher','readAsDataURL','/unit/','_createSocket','getConfig','debug','LICENSE_IMPORT_SIZE_EXCEEDED','members$','sessionStatus$','_tryReconnect','getMember','_config','json','_socketMessageSubscription','_getRedoStack','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','625510yLYCri','online$','crypto','[PendingState]:\x20received\x20rejection.','onCommentUpdate','_onMessage','_onConflict','put','_onFetchMissResult','_socket','univer-pro.collaboration-client-socket-service','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','MD5','fetchMissingChangesets','_sheetTransformSelectionsService','HEARTBEAT_INTERVAL','_lockTransition','_scheduleCompleteTimestamp','addImageSourceCache','_cipher','__esModule','reverse','_getAPIPrefixPath','mutations','decrypt','YUUMI_SUBSCRIPTION_NOT_FOUND','[FetchMissState]','updatePermissionPoint','ONLINE','SUCCUSS','image/jpg','joinEvent','Base64','_registerDependencies','resend','now','_networkConditionService','_onJoinRoomEvent','onTransformState','UNIVER_DOC','startTime','OFFLINE','add','COMPLETION_FINISHED','includes','setShowComponents','LICENSE_DISTRO_REJECTED','batchAllowed','error$','_queuedRemoteChangesets','params','_acknowledgedAwaitingChangeset','min','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','_singleActiveUnitService','unitId\x20is\x20not\x20found','SYNCED','uniscriptRunEvent','enableAuthServer','newCsEvent','getUnitType','saveSnapshot','toString','onMissedChangesetFetched','ERROR_IMAGE_TYPE','ivSize','forEach','_rescheduleHeartbeat','_onConnectionOpen','roomInfos','name','_exhaustRemoteChangesetQueue','_localCacheService','Base','apply','transformMutationsWithChangeset','_prevBlock','collaboratorID','OPTIONAL','_unlockTransition','_clearScheduledTask','getTypeOfUnitDisposed$','registerHTTPInterceptor','unit-cache-','UUID','finalize','[UniverCollaborationClientPlugin]','snapshot','/universer-api/authz','HEARTBEAT_TIMEOUT','UNIVER_UNKNOWN','_hash','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','actions','_commandService','clone','change$','_joinRoom','_onUserLeave','awaiting_with_pending','mixIn','getDeserializedSheetBlock','_throwTelemetryCollaborationNewChangeset','saveSheetBlock','CHANGESET_SHOULD_RETRY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_NEW_HOST','CLOSE_ROOM','FAIL','_roomMembers','update','/universer-api/uniscript','1361135ooiYpK','_snapshotServerService','LICENSE_MAX_UNITS_EXCEEDED','_toggleOnline','_clearTimeoutTimer','&to=','_fetchMissChangesets','_collaborationSessionService','_substituteRedoStack','_updateLocalCache','__creator','_onCombEvent','_sender','FETCH_MISSING','onTransformIME','YUUMI_UNABLE_LOAD_URL','refreshPermission','GLOBAL_ROOMS_CNT_EXCEEDS','UNDEFINED','collaborators','catch','OpenSSL','state$','objectActions','USERS_LEAVE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-pro.collaboration-client.single-active-unit-service','subscribe','sin','saveImage','m2Prime','[OfflineState]:\x20received\x20changeset.','appendMutation','getCurrentUser','error','reduce','patch','subject','fetchMiss','_schedule','_members','_reverseMap','_initUnitPermissionChange','_initMergeInterceptor','fromCollab','charCodeAt','enc','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commentUpdate$','csAckEvent','_iKey','_getAPIPrefix','POST','onCommandExecuted','_minBufferSize','call','encrypt','JOIN_ROOM_NOT_EXISTS','Failed\x20to\x20update\x20permission\x20point','_showConflictNotification','interceptor','charAt','capture','PERMISSION_DENIED','42394YVZzMI','auth.needGotoLoginAlert','words','[CollaborationEntity]','session.room-full','_doProcessBlock','mode','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_oKey','collaboration_new_changeset','default','_getSendChangesetTimeout','extend','onRemoteRej','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','status$','_unitID','message$','_createHmacHelper','_httpService','OTHER_CLIENTS_EDITING','_retryConnectingTimer','onStarting','roles','_status$','\x20-\x20','ERROR_IMAGE','CBC','_pendingMutations','/-/object/list','textRanges','sigBytes','_handler','&assign=','HELLO','Utf8','waitForRoom$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_commentService','NEW_CHANGESETS','pad','memberID','LIVESHARE_TERMINATE','_changesetReqId','headers','onRemoteRetry','createInstance','_doCryptBlock','getCollabEntity$','BlockCipher','\x0aCurrent:\x20','workbook','listCollaborators','_getUploadFileURL','_transformUndoredo','infoRsp','YUUMI_RATE_OVER_LIMIT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_clearRedo','_waitCount','close','UNKNOWN_CODE','_retryCount','_applyRemoteChangeset','PERSON','_candidateSocket','fetchThroughInterceptors','_doReset','result','bind','_type','CHANGESET_REVISION_CONFILICT','updateCursorEvent','emitEvent','_transformSelections','image/png','ceil','ALREADY_EXISTS','push','pipe','_collaborationTimeoutTimer','_toggleOffline','_unitInfo$','clamp','session.room-permission-denied','signUrlServerUrl','file','pluginName','_data','JOIN_ROOM_FAILED','_incrementRevisionNumber','JOIN','\x0aAfter:\x20','image/bmp','_undoRedoService','type','collabSubmitChangesetUrl','getSheetId','ENSURE_SNAPSHOT_EXECUTION','randomBytes','301EuOnUN','[SyncedState]:\x20received\x20rejection.','_createInitialState','offline','disposeWithMe','loadOfflineData','onLocalMutation','onMissingChangesets','then','_waitForHeartbeatResponse','members','close$','Encryptor','_entityInit$','cfg','delete','NO_OTHER_CLIENTS_EDITING','shouldCloseConn','APPLY_NON_SEQUENTIAL_REVISION','function','LOCAL_CACHE_INTERVAL','transformChangesets','_collaborationUIEventService','csShouldRetryEvent','kdf','INGEST','NOT_FOUND','_memberService','_transformStateCache','reconnect','CHANGESET_REJ','SOCKET_FAILED','ERROR_EXCEED_SIZE','eventID','msCrypto','sessionStatus','_sendHeartbeat','\x20to\x20','64vJUjBG','isPermissionRej','HMAC','2453yYCTTI','algo','_getDownloadEndpointURL','CONFLICT','fetching\x20missing\x20changesets\x20from\x20','getLatestCsReqIdBySid','_HTTPService','_map','action','_event$','_revisionService','slice','_roomCreated$','ciphertext','UNRECOGNIZED','/universer-api/comb','objects','location','_append','_collaborationPaused','/object','sendChangesetTimeout','_sessionStatus$','[DataLoaderService]','map','_socketReady','getValue','resourceIDs','body','objectID','hasOwnProperty','39KCZTlU','onlyLocal','enableSingleActiveInstanceLock','PY_RUNTIME_SCRIPT_ERROR','failed\x20to\x20apply\x20missed\x20changesets!','_localeService','createDecryptor','SNAPSHOT_HAS_BEEN_REMOVED','splice','getTime','onload','_emitMembers','_onUserJoin','_keyPriorReset','_getCurrentRevision','FileId','_stopTelemetryCollaborationNewChangeset','/new_changes','getUnitOnRev','createSocket','_iv','avatar','init','/rev/','parse','SUBMIT_CHANGESET_TIMEOUT','JOINING','_onRemoteRetry','9945732YwWZZf','collaboration-client.config','BufferedBlockAlgorithm','conflict','post','onSyncEditingCollabCursor','UnitEmbedded','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','{fileID}','transformUndoRedo','[CollaborationSessionService]:\x20socket\x20error','_compressMutationService','_onOffline','MUTATION','COMMENT_UPDATE','_createHelper','/block/','HttpExport','_entities','symbol','onTransformRemoteChangesetByStateCache','floor','transformSelections','entityInit$','_undoStacks','getResourcesRequest','has','requestParams','_imageSourceCache','reject','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CONNECTOR_DATA_TOO_LARGE','_members$','/universer-api/snapshot','size','25638ysDWof','formatter','liveShareOperation','indexOf','length','_onRemoteACK','PERMISSION_REJ','hasher','event$','c1Prime','getCurrentRevOfUnit','_snapshotService','/object/','focused$','_univerInstanceService','onRemoteChangeset','liveShareNewHost','_onLocalMutation','compose','append','isArray','_permissionService','_isPermissionRej','_injector','UNISCRIPT_RUN','loadSheet','listRoles','RETRY_CONNECTING_MAX_COUNT','_submitChangeset','YUUMI_URL_COL_OUT_OF_RANGE','_socketService','22030dIEwqd','_checkMissing','HttpImport','key','[CollaborationSessionService]','CHANGESET_ACK','_invKeySchedule','random','_transformRemoteChangesetByStateCache','submit\x20changeset\x20error!','_eventService','getMemberID','defineProperty','/resources','Pkcs7','RECV','rev','JOIN_ROOM_FULL','baseRev','toggleOnline','_resendWithTimeout','repeat','clear','next','OTHER_CLIENT_EDITING','confirm','Hasher','UPDATE_CURSOR','People','reqId','join','_removeRoom','data','_resendTimer','LIVESHARE_REQUEST_HOST','SHA1','_resendTimeout','_sendingTimer','_logService','69qMjpSu','_nDataBytes','stopTime','_onRecvEvent','_sendHeartbeatTimer','PSEUDO_FETCH_MISSING_RESULT','UNAUTHENTICATED','_init','title','getUnitId','_awaitingChangeset','create','_parse','getTypeOfUnitAdded$','[CollaborationState]:\x20apply\x20error!','_clearHeartbeatTimer','_telemetryInfo','editing\x20status\x20changed\x20to','getOwnPropertyDescriptor','fromCharCode','permissionRejEvent','SUBMIT_CHANGESET','readInt32LE','putCollaborators','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EvpKDF','session.join-failed','routeKey','LIVESHARE_FETCH_OPERATIONS','session.room-cnt-exceeds','getFocusedUnit','_instanceService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','WordArray','url','filter','_disableEditing','INVALID_ARGUMENT','getImage','_transitionLocked','setConfig','MSG_FOR_ERROR','Latin1','_change$','origin','unitID','every','SHOULD_CLOSE_CONN','SNAPSHOT_INVALID_SNAPSHOT','LEAVE','AUTHZ_URL_KEY','image/gif','initWorkbookPermissionChange','FETCH_MISS','_getLoginPath','socket$','[CollaborationSession]','_clearUndo','c2Prime','_shouldReportTelemetry','session','getInterceptPoints','findIndex','saveChangeset','send','find','sheets','reset','abs','joinRsp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sid','_redoStacks','_createHandler','_transformIMECache','APPLY_REJECT','setCurrentUser','range','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformStack','snapshotServerUrl','HEARTBEAT','AES','socketService','revision','src','_executeRemoteChangeset','dispose$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','socket\x20open.','NoPadding','open$','COLLAB_SUBMIT_CHANGESET_URL','getCollabEntity','UNIVER_COLLABORATION_CLIENT_PLUGIN','_timeoutTimer','/allowed','_createInitialStateImpl','asObservable','localCacheService','updateMember','SOCKET_FAILED_RETRY','_listenToNetworkCondition','copyFileMeta','[SyncedState]:\x20received\x20acknowledgement.','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteRejected','salt','StreamCipher','deleteCollaborator','cmd','addHandlerCallback','_keySchedule','allowed','BASE64','originalMeta','UPDATE_PERMISSION_OBJ','state','format','_sessions','_loadSheet','[CollaborationUndoRedoService]','_updateStatus','_tryEnsureSocket','getActiveSheet','dispose','blockSize','_startCollaboration','duration','_remoteChangesetQueue','csRejEvent','onTransformRemoteChangesetByIMECache','Univer','_transformService','incrementRevOfUnit','randomUUID','_state','toggleOffline','getRandomValues','_getSignURL','leaveEvent','_scheduleCollaborationTimeoutTimer','collaMsg','complete','encode','encodeURIComponent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','_onRemoteChangeset','concat','equals','UNKNOWN_CMD','_decreaseWaiting'];_0x11e3=function(){return _0x3d6e33;};return _0x11e3();}ot=Jn([Xn(0x0,_0x12ce65(_0x10b7ff))],ot);var Zn=Object[_0x281423(0x2aa)],Qn=(_0x86ede9,_0x3decbb,_0x4cd1c8,_0x376083)=>{var _0x4ebeba=_0x281423;for(var _0x1fe8a2=_0x376083>0x1?void 0x0:_0x376083?Zn(_0x3decbb,_0x4cd1c8):_0x3decbb,_0xf38616=_0x86ede9[_0x4ebeba(0x256)]-0x1,_0x2e2de9;_0xf38616>=0x0;_0xf38616--)(_0x2e2de9=_0x86ede9[_0xf38616])&&(_0x1fe8a2=_0x2e2de9(_0x1fe8a2)||_0x1fe8a2);return _0x1fe8a2;},mt=(_0x566902,_0x9870b6)=>(_0x469186,_0x5a02f6)=>_0x9870b6(_0x469186,_0x5a02f6,_0x566902);let bt=class extends _0x49b5d7{constructor(_0x3544a6,_0x780ce7,_0x2e6dd8){var _0x3aa042=_0x281423;super(),N(this,'_unitInfo$',new _0xac0553(null)),N(this,_0x3aa042(0x38f),this[_0x3aa042(0x1b9)]['asObservable']()),(this[_0x3aa042(0x297)]=_0x3544a6,this['_snapshotService']=_0x780ce7,this[_0x3aa042(0xff)]=_0x2e6dd8);}async['loadUnit'](_0x1092d7,_0x18f7b0,_0x528171){var _0x342ce8=_0x281423;this['_unitInfo$']['next']({'unitId':_0x1092d7,'type':_0x18f7b0,'subUnitId':_0x528171});let _0x7d8e5f=null;switch(_0x18f7b0){case Q[_0x342ce8(0x364)]:{_0x7d8e5f=await this[_0x342ce8(0x310)](_0x1092d7);break;}case Q[_0x342ce8(0xdd)]:{_0x7d8e5f=await this[_0x342ce8(0x334)](_0x1092d7);break;}default:{this[_0x342ce8(0x297)][_0x342ce8(0x149)](_0x342ce8(0x20b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x7d8e5f;}async[_0x281423(0x310)](_0x88a43f){var _0x2492e6=_0x281423,_0x3e7347;let _0x1a99c8=0x0;const _0x20ba37=await((_0x3e7347=this[_0x2492e6(0xff)])==null?void 0x0:_0x3e7347[_0x2492e6(0x1d0)](_0x88a43f));return _0x20ba37&&(_0x20ba37[_0x2492e6(0xec)]||_0x20ba37[_0x2492e6(0xcd)][_0x2492e6(0x256)]!==0x0)&&(_0x1a99c8=_0x20ba37['rev']),_0x1a99c8===0x0&&this[_0x2492e6(0x297)][_0x2492e6(0x3a6)](_0x2492e6(0x20b),_0x2492e6(0x2de)),this[_0x2492e6(0x25d)][_0x2492e6(0x26b)](_0x88a43f,_0x1a99c8);}async[_0x281423(0x334)](_0x56110b){var _0x1eaf28=_0x281423,_0x799dfb;let _0x1ce9d8=0x0;const _0x2bea25=await((_0x799dfb=this[_0x1eaf28(0xff)])==null?void 0x0:_0x799dfb['loadOfflineData'](_0x56110b));return _0x2bea25&&(_0x2bea25[_0x1eaf28(0xec)]||_0x2bea25[_0x1eaf28(0xcd)][_0x1eaf28(0x256)]!==0x0)&&(_0x1ce9d8=_0x2bea25[_0x1eaf28(0x281)]),_0x1ce9d8===0x0&&this[_0x1eaf28(0x297)][_0x1eaf28(0x3a6)](_0x1eaf28(0x20b),_0x1eaf28(0x2de)),this['_snapshotService']['loadDoc'](_0x56110b,_0x1ce9d8);}};function _0x4ec3(_0xc58e35,_0x5dbc04){var _0x11e3e2=_0x11e3();return _0x4ec3=function(_0x4ec3fa,_0xa21583){_0x4ec3fa=_0x4ec3fa-0xb7;var _0x4998f0=_0x11e3e2[_0x4ec3fa];return _0x4998f0;},_0x4ec3(_0xc58e35,_0x5dbc04);}bt=Qn([mt(0x0,_0x13bc13),mt(0x1,_0x12ce65(_0x4d5a8c)),mt(0x2,_0x449f0e(J))],bt);var es=Object[_0x281423(0x2aa)],ts=(_0x5590a4,_0x41c011,_0x298eca,_0x2e6d1c)=>{var _0x429e22=_0x281423;for(var _0x321dca=_0x2e6d1c>0x1?void 0x0:_0x2e6d1c?es(_0x41c011,_0x298eca):_0x41c011,_0x331d58=_0x5590a4[_0x429e22(0x256)]-0x1,_0x13d330;_0x331d58>=0x0;_0x331d58--)(_0x13d330=_0x5590a4[_0x331d58])&&(_0x321dca=_0x13d330(_0x321dca)||_0x321dca);return _0x321dca;},gt=(_0xae5b08,_0x151ac9)=>(_0x320350,_0x3389df)=>_0x151ac9(_0x320350,_0x3389df,_0xae5b08);const is=[_0x281423(0x1b2),_0x281423(0x36d),_0x281423(0xd4),_0x281423(0x2cb),_0x281423(0x1c4)],rs=0x5*0x400*0x400,ns=_0x281423(0x236),ss='/universer-api/stream/file/upload',os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x2ae844,_0x5943df,_0x431376){var _0x59f457=_0x281423;N(this,_0x59f457(0x1a2),0x0),N(this,_0x59f457(0x2c3),new _0x22a3b0()),N(this,_0x59f457(0x117),this[_0x59f457(0x2c3)]),N(this,_0x59f457(0x24b),new Map()),(this[_0x59f457(0x17a)]=_0x2ae844,this[_0x59f457(0x351)]=_0x5943df,this[_0x59f457(0x260)]=_0x431376);}['setWaitCount'](_0x2411a1){var _0x3ab605=_0x281423;this[_0x3ab605(0x1a2)]=_0x2411a1,this['_change$'][_0x3ab605(0x288)](_0x2411a1);}['getImageSourceCache'](_0x351c34,_0x222b21){var _0xf621e3=_0x281423;if(_0x222b21===_0x16fe12[_0xf621e3(0x30a)]){const _0x537c01=new Image();return _0x537c01[_0xf621e3(0x2ed)]=_0x351c34,_0x537c01;}return this[_0xf621e3(0x24b)][_0xf621e3(0x35f)](_0x351c34);}[_0x281423(0xc8)](_0x237d17,_0x389f2f,_0x3547f4){var _0x20d989=_0x281423;_0x389f2f===_0x16fe12[_0x20d989(0x30a)]||_0x3547f4==null||this[_0x20d989(0x24b)][_0x20d989(0x35d)](_0x237d17,_0x3547f4);}async[_0x281423(0x2be)](_0x4feac3){var _0x4f5b7f=_0x281423;try{const _0x25267a=this[_0x4f5b7f(0x392)](this[_0x4f5b7f(0x323)](),''+_0x4feac3),_0x1dd6be=(await this[_0x4f5b7f(0x17a)]['get'](_0x25267a))[_0x4f5b7f(0x210)];if(_0x1dd6be['error']&&_0x1dd6be[_0x4f5b7f(0x149)][_0x4f5b7f(0x34b)]===Si['OK']){const _0x36ed49=new URL(_0x1dd6be['url'],this[_0x4f5b7f(0x1f6)]())[_0x4f5b7f(0xf5)]();return Promise['resolve'](_0x36ed49);}return Promise['reject'](_0x1dd6be[_0x4f5b7f(0x149)]);}catch(_0x582a03){return Promise['reject'](_0x582a03);}}async[_0x281423(0x144)](_0x2b196d){var _0x345d90=_0x281423;let _0x1143da='';if(!is[_0x345d90(0xe2)](_0x2b196d[_0x345d90(0x1c6)]))return this[_0x345d90(0x330)](),Promise[_0x345d90(0x24c)](new Error(_0x4a45e1[_0x345d90(0xf7)]));if(_0x2b196d['size']>rs)return this[_0x345d90(0x330)](),Promise[_0x345d90(0x24c)](new Error(_0x4a45e1[_0x345d90(0x1eb)]));try{const _0x53f599=new FormData();_0x53f599[_0x345d90(0x265)](_0x345d90(0x1bd),_0x2b196d);const _0x300a01=this[_0x345d90(0x260)][_0x345d90(0x2b6)](),_0x33a39b=_0x300a01==null?void 0x0:_0x300a01[_0x345d90(0x2a1)]();if(!_0x33a39b)throw new Error(_0x345d90(0xee));const _0x67dd2e=this['_getUploadFileURL']()+_0x345d90(0x37f)+_0x2b196d[_0x345d90(0x251)][_0x345d90(0xf5)]()+'&source='+Ei[_0x345d90(0x235)]+_0x345d90(0x188)+encodeURIComponent(_0x33a39b),_0x12b1dc=await(await fetch(_0x67dd2e,{'method':_0x345d90(0x15b),'body':_0x53f599}))[_0x345d90(0x3ad)]();if(typeof _0x12b1dc[_0x345d90(0x222)]!=_0x345d90(0x39d))return this[_0x345d90(0x330)](),Promise[_0x345d90(0x24c)](new Error(_0x4a45e1['ERROR_IMAGE']));_0x1143da=_0x12b1dc[_0x345d90(0x222)];}catch{return this['_decreaseWaiting'](),Promise[_0x345d90(0x24c)](new Error(_0x4a45e1[_0x345d90(0x181)]));}return new Promise((_0x42dc3c,_0x440041)=>{var _0x3fb854=_0x345d90;const _0x3804d5=new FileReader();_0x3804d5[_0x3fb854(0x3a2)](_0x2b196d),_0x3804d5[_0x3fb854(0x21d)]=_0x41e638=>{var _0x3486f3=_0x3fb854,_0xd37183;const _0x154d03=(_0xd37183=_0x41e638['target'])==null?void 0x0:_0xd37183[_0x3486f3(0x1ab)];if(_0x154d03==null){this['_decreaseWaiting'](),_0x440041(new Error(_0x4a45e1[_0x3486f3(0x181)]));return;}const _0x5bc250=_0x25bb41['generateRandomId'](0x6);_0x42dc3c({'imageId':_0x5bc250,'imageSourceType':_0x16fe12[_0x3486f3(0x10b)],'source':_0x1143da,'base64Cache':_0x154d03,'status':_0x4a45e1[_0x3486f3(0xd3)]}),this[_0x3486f3(0x330)]();};});}[_0x281423(0x19c)](){var _0xd5c6ad=_0x281423,_0x3b3089,_0x301fdd;const _0x55bc50=this['_configService'][_0xd5c6ad(0x3a5)](ns),_0x4bae47=this['_configService'][_0xd5c6ad(0x3a5)](q);return(_0x301fdd=(_0x3b3089=_0x4bae47==null?void 0x0:_0x4bae47['uploadFileServerUrl'])!=null?_0x3b3089:_0x55bc50)!=null?_0x301fdd:ss;}['_getSignURL'](){var _0xd80c94=_0x281423,_0x53fd2c,_0x57dedc;const _0x17b1eb=this[_0xd80c94(0x351)][_0xd80c94(0x3a5)](os),_0x5a8488=this[_0xd80c94(0x351)][_0xd80c94(0x3a5)](q);return(_0x57dedc=(_0x53fd2c=_0x5a8488==null?void 0x0:_0x5a8488[_0xd80c94(0x1bc)])!=null?_0x53fd2c:_0x17b1eb)!=null?_0x57dedc:as;}[_0x281423(0x1f6)](){var _0x1457c6=_0x281423,_0x5decb7;const _0x356703=this[_0x1457c6(0x351)]['getConfig'](q);return(_0x5decb7=_0x356703==null?void 0x0:_0x356703['downloadEndpointUrl'])!=null?_0x5decb7:location[_0x1457c6(0x2c4)];}[_0x281423(0x392)](_0x3d39a5,_0x43cde1){var _0x332cac=_0x281423;return _0x3d39a5['replace'](_0x332cac(0x237),_0x43cde1);}[_0x281423(0x330)](){var _0x5178f2=_0x281423;this['_waitCount']-=0x1,this[_0x5178f2(0x2c3)][_0x5178f2(0x288)](this[_0x5178f2(0x1a2)]);}};yt=ts([gt(0x0,_0x12ce65(_0x10b7ff)),gt(0x1,_0x121709),gt(0x2,_0x12ce65(_0x21d66a))],yt);var cs=Object['getOwnPropertyDescriptor'],hs=(_0x359377,_0x335532,_0x183672,_0x198364)=>{var _0x4bf276=_0x281423;for(var _0x191b81=_0x198364>0x1?void 0x0:_0x198364?cs(_0x335532,_0x183672):_0x335532,_0x25f0e5=_0x359377[_0x4bf276(0x256)]-0x1,_0x481d2c;_0x25f0e5>=0x0;_0x25f0e5--)(_0x481d2c=_0x359377[_0x25f0e5])&&(_0x191b81=_0x481d2c(_0x191b81)||_0x191b81);return _0x191b81;},hi=(_0x1a3c57,_0x1ccdc1)=>(_0x5c98da,_0x27707b)=>_0x1ccdc1(_0x5c98da,_0x27707b,_0x1a3c57);const _s=_0x281423(0x10f);let Ot=class{constructor(_0x51989b,_0x1253e3){var _0x35e14c=_0x281423;this[_0x35e14c(0x351)]=_0x51989b,this['_HTTPService']=_0x1253e3;}[_0x281423(0xcc)](){var _0x1105ae=_0x281423,_0x43c0ee,_0x54c730;const _0x5f5b40=this[_0x1105ae(0x351)][_0x1105ae(0x3a5)](Ni),_0x11000a=this[_0x1105ae(0x351)][_0x1105ae(0x3a5)](q);return(_0x54c730=(_0x43c0ee=_0x11000a==null?void 0x0:_0x11000a['authzUrl'])!=null?_0x43c0ee:_0x5f5b40)!=null?_0x54c730:_s;}async['list'](_0x54482b){var _0x290ba7=_0x281423;const _0xc66e82=this[_0x290ba7(0xcc)]()+_0x290ba7(0x37a);return{'list':[{'title':_0x290ba7(0x28d),'mentions':(await this['_HTTPService']['get'](_0xc66e82,{'params':{'objectID':_0x54482b[_0x290ba7(0x33b)],'unitID':_0x54482b[_0x290ba7(0x33b)]}}))[_0x290ba7(0x210)][_0x290ba7(0x13a)][_0x290ba7(0x20c)](_0x50fff9=>({'objectId':_0x50fff9['id'],'name':_0x50fff9[_0x290ba7(0x14c)][_0x290ba7(0xfd)],'metadata':{'icon':_0x50fff9[_0x290ba7(0x14c)][_0x290ba7(0x228)]},'label':_0x50fff9[_0x290ba7(0x14c)][_0x290ba7(0xfd)],'objectType':_0x1947a7[_0x290ba7(0x1a7)]})),'metadata':{},'type':_0x1947a7[_0x290ba7(0x1a7)]}]};}};Ot=hs([hi(0x0,_0x12ce65(_0x121709)),hi(0x1,_0x12ce65(_0x10b7ff))],Ot);var ls=Object['getOwnPropertyDescriptor'],us=(_0x1e8d1c,_0xf38253,_0x2d421f,_0x54e1d8)=>{var _0x132e29=_0x281423;for(var _0x47fa3c=_0x54e1d8>0x1?void 0x0:_0x54e1d8?ls(_0xf38253,_0x2d421f):_0xf38253,_0x283bd8=_0x1e8d1c[_0x132e29(0x256)]-0x1,_0x4da60d;_0x283bd8>=0x0;_0x283bd8--)(_0x4da60d=_0x1e8d1c[_0x283bd8])&&(_0x47fa3c=_0x4da60d(_0x47fa3c)||_0x47fa3c);return _0x47fa3c;},Ae=(_0x26e35d,_0xf1e592)=>(_0x35963b,_0x5d6294)=>_0xf1e592(_0x35963b,_0x5d6294,_0x26e35d);let at=class extends _0x49b5d7{constructor(_0x32c2ee,_0x40beeb,_0xb5ae61,_0x3364a2,_0x20f517){var _0x354524=_0x281423;super(),this[_0x354524(0x269)]=_0x32c2ee,this[_0x354524(0x260)]=_0x40beeb,this[_0x354524(0x267)]=_0xb5ae61,this[_0x354524(0x12e)]=_0x3364a2,this[_0x354524(0x1e1)]=_0x20f517,this['_initUnitPermissionChange'](),this[_0x354524(0x385)]();}[_0x281423(0x385)](){var _0xee1dab=_0x281423;const _0x55108b=async _0x2a0802=>{var _0x3579a5=_0x4ec3;(await this[_0x3579a5(0x12e)][_0x3579a5(0x376)](_0x2a0802))['event$'][_0x3579a5(0x1b6)](_0x2ef57c(_0x3a14f3=>_0x3a14f3[_0x3579a5(0x1ec)]===_0x22b3b6['SHOULD_CLOSE_CONN']),_0x254e66(this[_0x3579a5(0x2ef)]))['subscribe'](_0xaf85a3=>{var _0x4fcaad=_0x3579a5;const _0x3cdc42=_0xaf85a3,{reason:_0x4b1eae}=_0x3cdc42[_0x4fcaad(0x291)];this['_collaborationUIEventService'][_0x4fcaad(0x1b0)]({'id':se['CLOSE_ROOM'],'data':_0x4b1eae}),this[_0x4fcaad(0x267)][_0x4fcaad(0xd1)](new _0x2e3aed(_0x2a0802)['id'],!0x1),this['_collaborationSessionService'][_0x4fcaad(0x398)](_0x2a0802);});};_0x1bde67(this[_0xee1dab(0x260)][_0xee1dab(0x2a5)](_0x334aa0['UNIVER_SHEET']),this[_0xee1dab(0x260)][_0xee1dab(0x2a5)](_0x334aa0['UNIVER_DOC']))['pipe'](_0x3e2d6a(_0x4d8623=>_0x4d8623[_0xee1dab(0x2a1)]()),_0x2ef57c(_0x51caae=>!_0x255e36(_0x51caae)),_0x254e66(this[_0xee1dab(0x2ef)]))[_0xee1dab(0x142)](_0x51ef6b=>{_0x55108b(_0x51ef6b);});}[_0x281423(0x151)](){var _0x28f34e=_0x281423;const _0x58d447=async _0xc3913d=>{var _0x293a18=_0x4ec3;const _0xf23af7=await this[_0x293a18(0x12e)][_0x293a18(0x376)](_0xc3913d),_0xeb5789=this[_0x293a18(0x269)][_0x293a18(0x35f)](_0x1e6f09);_0xf23af7[_0x293a18(0x25a)]['pipe'](_0x2ef57c(_0x4c01ae=>_0x4c01ae[_0x293a18(0x1ec)]===_0x22b3b6[_0x293a18(0x30c)]),_0x254e66(this[_0x293a18(0x2ef)]))[_0x293a18(0x142)](_0x1356df=>{var _0x3d9ad8=_0x293a18;const _0x3db8a3=_0x1356df,{objectId:_0x3bea0f}=_0x3db8a3['data'];_0x3bea0f===_0xc3913d?_0xeb5789[_0x3d9ad8(0x2cc)](_0xc3913d):_0xeb5789[_0x3d9ad8(0x137)](_0xc3913d,_0x3bea0f);});};_0x1bde67(this[_0x28f34e(0x260)][_0x28f34e(0x2a5)](_0x334aa0[_0x28f34e(0x364)]))[_0x28f34e(0x1b6)](_0x3e2d6a(_0x5049aa=>_0x5049aa[_0x28f34e(0x2a1)]()),_0x2ef57c(_0x51764a=>!_0x255e36(_0x51764a)),_0x254e66(this[_0x28f34e(0x2ef)]))['subscribe'](_0x40a3cc=>{_0x58d447(_0x40a3cc);});}};at=us([Ae(0x0,_0x12ce65(_0x475511)),Ae(0x1,_0x21d66a),Ae(0x2,_0xd641f0),Ae(0x3,_0x12ce65(Le)),Ae(0x4,_0x12ce65(pe))],at);var ds=Object[_0x281423(0x2aa)],fs=(_0x1ef7dc,_0x21593c,_0x59188d,_0x5f522e)=>{for(var _0x37e49c=_0x5f522e>0x1?void 0x0:_0x5f522e?ds(_0x21593c,_0x59188d):_0x21593c,_0x1e2698=_0x1ef7dc['length']-0x1,_0x4bd8f5;_0x1e2698>=0x0;_0x1e2698--)(_0x4bd8f5=_0x1ef7dc[_0x1e2698])&&(_0x37e49c=_0x4bd8f5(_0x37e49c)||_0x37e49c);return _0x37e49c;},_i=(_0x134af2,_0x4ba52d)=>(_0x5998db,_0x1736fb)=>_0x4ba52d(_0x5998db,_0x1736fb,_0x134af2);let Nt=class{constructor(_0x43897c,_0x36e15e){var _0x201132=_0x281423;this['_configService']=_0x43897c,this[_0x201132(0x17a)]=_0x36e15e;}async[_0x281423(0x225)](_0x52c975,_0x2929b6){var _0x1d8f62=_0x281423,_0x31c995;const {unitID:_0x5e1001,type:_0x23df3a,revision:_0x2309d2=0x0}=_0x2929b6,_0x3c05b5=this[_0x1d8f62(0x35e)]()+'/'+_0x23df3a+_0x1d8f62(0x3a3)+_0x5e1001+_0x1d8f62(0x22a)+_0x2309d2,_0x3a98fd=(await this[_0x1d8f62(0x17a)][_0x1d8f62(0x35f)](_0x3c05b5))['body'],_0x539ad5=(_0x31c995=_0x3a98fd[_0x1d8f62(0x10e)])==null?void 0x0:_0x31c995[_0x1d8f62(0x19a)];if(_0x539ad5){const _0x4b5153=_0x539ad5==null?void 0x0:_0x539ad5[_0x1d8f62(0x30b)],_0x440e22=_0x1afa75[_0x1d8f62(0x328)](_0x2d7f0c(_0x4b5153));_0x539ad5[_0x1d8f62(0x30b)]=_0x440e22,Object['entries'](_0x539ad5[_0x1d8f62(0x2da)])[_0x1d8f62(0xf9)](([,_0x6804a9])=>{var _0x55396c=_0x1d8f62;const _0x4cb5b8=_0x6804a9['originalMeta'],_0x42cc29=_0x1afa75[_0x55396c(0x328)](_0x2d7f0c(_0x4cb5b8));_0x6804a9['originalMeta']=_0x42cc29;});}return _0x3a98fd;}async['getSheetBlock'](_0x4d318c,_0x5c584d){var _0x5b6c3b=_0x281423;const {unitID:_0x404441,type:_0x39eeca,blockID:_0x2f9aab}=_0x5c584d,_0x7e7058=this[_0x5b6c3b(0x15a)]()+'/'+_0x39eeca+_0x5b6c3b(0x3a3)+_0x404441+_0x5b6c3b(0x23f)+_0x2f9aab;return(await this[_0x5b6c3b(0x17a)][_0x5b6c3b(0x35f)](_0x7e7058))[_0x5b6c3b(0x210)];}async[_0x281423(0x11c)](_0x460981,_0x56e0fc){var _0x23d656=_0x281423;const {unitID:_0x5a1a4e,type:_0x31bd8f,blockID:_0x16213a}=_0x56e0fc,_0x431c4a=this[_0x23d656(0x15a)]()+_0x23d656(0x23f)+_0x31bd8f+_0x23d656(0x3a3)+_0x5a1a4e+_0x23d656(0x23f)+_0x16213a;return(await this['_httpService'][_0x23d656(0x35f)](_0x431c4a))[_0x23d656(0x210)];}async[_0x281423(0xc3)](_0x238d58,_0x940107){var _0x2b28d0=_0x281423;const {unitID:_0x4562ba,type:_0x30e809,from:_0x5c5f59,to:_0x3bbfc9}=_0x940107,_0x25b0ac=this[_0x2b28d0(0x15a)]()+'/'+_0x30e809+'/unit/'+_0x4562ba+'/fetchmissing?from='+_0x5c5f59+_0x2b28d0(0x12c)+_0x3bbfc9;return(await this[_0x2b28d0(0x17a)][_0x2b28d0(0x35f)](_0x25b0ac))['body'];}['getSnapshotAPIPath'](){var _0x4757bb=_0x281423,_0x29f712;return(_0x29f712=this[_0x4757bb(0x351)]['getConfig'](gr))!=null?_0x29f712:this[_0x4757bb(0x15a)]();}[_0x281423(0x15a)](){var _0x43ed35=_0x281423,_0x556cd5,_0x4e9eea;const _0x2bb47b=this[_0x43ed35(0x351)][_0x43ed35(0x3a5)](pr),_0xc9cb0b=this[_0x43ed35(0x351)][_0x43ed35(0x3a5)](q);return(_0x4e9eea=(_0x556cd5=_0xc9cb0b==null?void 0x0:_0xc9cb0b[_0x43ed35(0x2e8)])!=null?_0x556cd5:_0x2bb47b)!=null?_0x4e9eea:mr;}async[_0x281423(0x248)](_0x545f4a,_0x153c4b){var _0x4c2797=_0x281423;const _0x4b2b21='/universer-api/snapshot/'+_0x153c4b['type']+_0x4c2797(0x3a3)+_0x153c4b['unitID']+_0x4c2797(0x27e);return(await this[_0x4c2797(0x17a)][_0x4c2797(0x35f)](_0x4b2b21,{'params':{'resourceId':JSON[_0x4c2797(0x36f)](_0x153c4b[_0x4c2797(0x20f)])}}))[_0x4c2797(0x210)];}[_0x281423(0xf4)](){var _0x343357=_0x281423;throw new Error(_0x343357(0x332));}[_0x281423(0x11e)](){var _0x418f2a=_0x281423;throw new Error(_0x418f2a(0x332));}[_0x281423(0x2d7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x281423(0x2ff)](){var _0x426a5f=_0x281423;throw new Error(_0x426a5f(0x332));}[_0x281423(0x1f9)](){var _0xed8680=_0x281423;throw new Error(_0xed8680(0x332));}};Nt=fs([_i(0x0,_0x121709),_i(0x1,_0x12ce65(_0x10b7ff))],Nt);var vs=Object[_0x281423(0x2aa)],ps=(_0x3a1b9d,_0x365f12,_0xbc6dd,_0x17d184)=>{for(var _0x4cf0c9=_0x17d184>0x1?void 0x0:_0x17d184?vs(_0x365f12,_0xbc6dd):_0x365f12,_0x3e6892=_0x3a1b9d['length']-0x1,_0xbd5198;_0x3e6892>=0x0;_0x3e6892--)(_0xbd5198=_0x3a1b9d[_0x3e6892])&&(_0x4cf0c9=_0xbd5198(_0x4cf0c9)||_0x4cf0c9);return _0x4cf0c9;},Pe=(_0x665193,_0x16f185)=>(_0x198f79,_0xe8871d)=>_0x16f185(_0x198f79,_0xe8871d,_0x665193);let Dt=class extends _0x4d350b{constructor(_0x3571b6,_0x1a0373,_0xd674e0,_0x226d63,_0x965f81){var _0x3628f4=_0x281423;super(_0x3571b6,_0x1a0373,_0xd674e0),this[_0x3628f4(0x31d)]=_0x226d63,this[_0x3628f4(0x297)]=_0x965f81;}['transformUndoRedo'](_0x56d9f1,_0x5b9b9d){var _0x30bfe2=_0x281423;const _0xc29591=this['_getUndoStack'](_0x56d9f1);if(_0xc29591)try{const _0x212484=this[_0x30bfe2(0x2e7)](_0xc29591,_0x5b9b9d);this[_0x30bfe2(0x344)](_0x56d9f1,_0x212484);}catch(_0x493d30){this[_0x30bfe2(0x297)][_0x30bfe2(0x149)](_0x30bfe2(0x311),_0x493d30),this[_0x30bfe2(0x2d1)](_0x56d9f1);}const _0x387bf5=this[_0x30bfe2(0x3af)](_0x56d9f1);if(_0x387bf5)try{const _0xddd1d6=this['_transformStack'](_0x387bf5,_0x5b9b9d);this['_substituteRedoStack'](_0x56d9f1,_0xddd1d6);}catch(_0xe946a6){this[_0x30bfe2(0x297)][_0x30bfe2(0x149)](_0xe946a6),this[_0x30bfe2(0x1a1)](_0x56d9f1);}}[_0x281423(0x2d1)](_0x46322e){var _0x2ad993=_0x281423;const _0x4db352=this['_getUndoStack'](_0x46322e);_0x4db352&&(_0x4db352[_0x2ad993(0x256)]=0x0,this[_0x2ad993(0x312)]());}[_0x281423(0x1a1)](_0x5bb5b3){var _0x2a3e35=_0x281423;const _0x528379=this[_0x2a3e35(0x3af)](_0x5bb5b3);_0x528379&&(_0x528379[_0x2a3e35(0x256)]=0x0,this[_0x2a3e35(0x312)]());}['_substituteUndoStack'](_0x3cee95,_0x3c2420){var _0x10909f=_0x281423;this[_0x10909f(0x247)][_0x10909f(0x35d)](_0x3cee95,_0x3c2420),this[_0x10909f(0x312)]();}[_0x281423(0x12f)](_0x33fedf,_0x3bb87b){var _0x1b2b01=_0x281423;this[_0x1b2b01(0x2e0)][_0x1b2b01(0x35d)](_0x33fedf,_0x3bb87b),this[_0x1b2b01(0x312)]();}[_0x281423(0x2e7)](_0x23760f,_0x1ed566){var _0x1e312a=_0x281423;const _0x4ba63e=[];let _0x11f8bf=_0x1ed566,_0x3b1ce7=_0x1ed566;for(let _0xd0b347=_0x23760f['length']-0x1;_0xd0b347>=0x0;_0xd0b347--){const {unitID:_0x159156,undoMutations:_0x5ba746,redoMutations:_0x3ca8bc}=_0x23760f[_0xd0b347],_0x5ed176=this['_transformService'][_0x1e312a(0x102)](_0x11f8bf,_0x5ba746),_0x2c4ddb=this[_0x1e312a(0x31d)][_0x1e312a(0x102)](_0x3b1ce7,_0x3ca8bc);if(_0x5a0637(_0x5ed176)||_0x5a0637(_0x2c4ddb)){this[_0x1e312a(0x297)][_0x1e312a(0x149)](_0x1e312a(0x311),_0x1e312a(0x393),_0x5ed176,_0x2c4ddb);break;}_0x11f8bf=_0x5ed176[_0x1e312a(0x25b)],_0x3b1ce7=_0x2c4ddb[_0x1e312a(0x25b)],_0x4ba63e[_0x1e312a(0x1b5)]({'unitID':_0x159156,'undoMutations':_0x5ed176[_0x1e312a(0x145)],'redoMutations':_0x2c4ddb[_0x1e312a(0x145)]});}return _0x4ba63e[_0x1e312a(0xcb)]();}};Dt=ps([Pe(0x0,_0x21d66a),Pe(0x1,_0x5e151a),Pe(0x2,_0x108437),Pe(0x3,_0x74f559),Pe(0x4,_0x13bc13)],Dt);var ms=Object[_0x281423(0x27d)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x3f35f7,_0x4212f0,_0x32d48b)=>_0x4212f0 in _0x3f35f7?ms(_0x3f35f7,_0x4212f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32d48b}):_0x3f35f7[_0x4212f0]=_0x32d48b,Es=(_0x12a22b,_0x58d60a,_0x577090,_0x4a5017)=>{var _0x48ed0b=_0x281423;for(var _0x392238=_0x4a5017>0x1?void 0x0:_0x4a5017?gs(_0x58d60a,_0x577090):_0x58d60a,_0x1f949a=_0x12a22b[_0x48ed0b(0x256)]-0x1,_0x5a5c90;_0x1f949a>=0x0;_0x1f949a--)(_0x5a5c90=_0x12a22b[_0x1f949a])&&(_0x392238=_0x5a5c90(_0x392238)||_0x392238);return _0x392238;},St=(_0x37820b,_0x5dce96)=>(_0x13d05d,_0x3cb8f0)=>_0x5dce96(_0x13d05d,_0x3cb8f0,_0x37820b),Is=(_0x265885,_0x442936,_0x472a30)=>Ss(_0x265885,_0x442936+'',_0x472a30);const Ts=_0x281423(0x2f6);let wt=class extends _0x47ff11{constructor(_0x1e6ee7,_0x477941,_0x51542b,_0x590e77){var _0x92fd1a=_0x281423;super(),N(this,_0x92fd1a(0x3ac)),(this[_0x92fd1a(0x297)]=_0x477941,this[_0x92fd1a(0x269)]=_0x51542b,this[_0x92fd1a(0x351)]=_0x590e77);const {..._0x46f35f}=_0x50dc08({},Ur,_0x1e6ee7);if(!_0x46f35f['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x46f35f,this['_configService'][_0x92fd1a(0x2c0)](q,_0x46f35f);}[_0x281423(0x17d)](){var _0x4229db=_0x281423;this[_0x4229db(0xd7)](),this['_initDependencies']();}['_registerDependencies'](){var _0x5eae04=_0x281423,_0x4fcbe6,_0x50b98b;this[_0x5eae04(0x269)][_0x5eae04(0x249)](_0x4ad1ad)&&this[_0x5eae04(0x297)][_0x5eae04(0x149)](_0x5eae04(0x10d),_0x5eae04(0x175));const _0x487783=_0x173a29([[_0x4ad1ad,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this['_config'][_0x5eae04(0x2eb)]}],[_0x208b49,{'useClass':Nt}],[_0x445970,{'useClass':Rt}],[_0xcf61af,{'useClass':yt}],[_0x210c51,{'useClass':Ot}],[nt],[Ct]],(_0x4fcbe6=this[_0x5eae04(0x3ac)])==null?void 0x0:_0x4fcbe6[_0x5eae04(0x366)]);if(!((_0x50b98b=this[_0x5eae04(0x3ac)])!=null&&_0x50b98b[_0x5eae04(0x215)])){const _0x5ae0b9=_0x487783[_0x5eae04(0x2d6)](([_0x27b8b9])=>_0x27b8b9===ht);_0x5ae0b9!==-0x1&&_0x487783['splice'](_0x5ae0b9,0x1);}_0x1a254d(this[_0x5eae04(0x269)],_0x487783);}['_initDependencies'](){var _0x3d1295=_0x281423,_0x5e096b,_0x25c753,_0x341e1d;this[_0x3d1295(0x269)][_0x3d1295(0x35f)](_0x10b7ff)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1a5e65({'maxParallel':0x6})}),(_0x5e096b=this[_0x3d1295(0x3ac)])!=null&&_0x5e096b['enableOfflineEditing']||(_0x25c753=this[_0x3d1295(0x269)][_0x3d1295(0x35f)](J,_0x37b185[_0x3d1295(0x105)]))==null||_0x25c753['disableLocalCache'](),(_0x341e1d=this[_0x3d1295(0x3ac)])!=null&&_0x341e1d[_0x3d1295(0xf1)]&&_0x4bc530(this[_0x3d1295(0x269)],[[st]]),_0x4bc530(this[_0x3d1295(0x269)],[[ot],[nt],[at]]);}};Is(wt,_0x281423(0x1be),Ts),wt=Es([_0x19c33c(_0x3b2370,_0x3fdc79),St(0x1,_0x13bc13),St(0x2,_0x12ce65(_0x475511)),St(0x3,_0x121709)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x2def39=_0x51d5;(function(_0xd397c4,_0x2d906c){var _0x287967=_0x51d5,_0x43729a=_0xd397c4();while(!![]){try{var _0x354283=parseInt(_0x287967(0x4c6))/0x1*(-parseInt(_0x287967(0x290))/0x2)+-parseInt(_0x287967(0x414))/0x3+parseInt(_0x287967(0x326))/0x4*(-parseInt(_0x287967(0x461))/0x5)+-parseInt(_0x287967(0x33f))/0x6*(-parseInt(_0x287967(0x30c))/0x7)+-parseInt(_0x287967(0x302))/0x8*(-parseInt(_0x287967(0x318))/0x9)+parseInt(_0x287967(0x21c))/0xa+parseInt(_0x287967(0x391))/0xb*(parseInt(_0x287967(0x3d1))/0xc);if(_0x354283===_0x2d906c)break;else _0x43729a['push'](_0x43729a['shift']());}catch(_0x3a86be){_0x43729a['push'](_0x43729a['shift']());}}}(_0x5db7,0xb0b2c));var Ai=Object[_0x2def39(0x4a4)],Pi=(_0x5ea8c7,_0xeb99fb,_0x3f8c08)=>_0xeb99fb in _0x5ea8c7?Ai(_0x5ea8c7,_0xeb99fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f8c08}):_0x5ea8c7[_0xeb99fb]=_0x3f8c08,N=(_0x5a6f54,_0x3c6d6c,_0x405bd2)=>Pi(_0x5a6f54,typeof _0x3c6d6c!=_0x2def39(0x26d)?_0x3c6d6c+'':_0x3c6d6c,_0x405bd2);import{createIdentifier as _0x2bea4c,Inject as _0x1d5a06,Injector as _0x2e75b3,IConfigService as _0x331d3e,ILogService as _0x2a6e14,Disposable as _0x32d82b,DisposableCollection as _0xb34311,toDisposable as _0x497432,IUniverInstanceService as _0xc85a44,UserManagerService as _0x1408fe,UniverInstanceType as _0x478b96,LocaleService as _0x5a3153,Optional as _0x1641f7,RxDisposable as _0x27aa9d,Tools as _0xce1078,Rectangle as _0xb5c063,ICommandService as _0x422ee1,JSONX as _0x1b8ae3,CommandType as _0x4be2d9,IUndoRedoService as _0x436cbf,IPermissionService as _0x1bf615,sequenceExecute as _0x33ef2c,Workbook as _0x181a8f,MentionType as _0x154e69,isInternalEditorID as _0x57e03f,LocalUndoRedoService as _0x49b9f1,IContextService as _0x42bfc3,DependentOn as _0x4823af,Plugin as _0x125a5d,merge as _0x3c195d,mergeOverrideWithDependencies as _0x489395,IAuthzIoService as _0xa660eb,IMentionIOService as _0x144ffb,registerDependencies as _0x169032,Quantity as _0x4dc62d,touchDependencies as _0x560808}from'@univerjs/core';import{Subject as _0x2a2340,merge as _0x2c014e,of as _0x1db6ee,BehaviorSubject as _0x3f3cf2,takeUntil as _0x2a81b0,ReplaySubject as _0x239fa2,take as _0x5637eb,map as _0x2db1b6,shareReplay as _0x30595c,firstValueFrom as _0x4fe857,concatMap as _0x160d56}from'rxjs';import{map as _0x31dd76,take as _0x399a37,filter as _0x3188d0,delay as _0x155e12,takeUntil as _0x1331b9}from'rxjs/operators';import{CollaborationEvent as _0x59103b,ISnapshotServerService as _0x331bc1,parseChangesetToProtocol as _0x4770db,ITransformService as _0x1ddd96,isTransformMutationsWithChangesetSuccess as _0x4d9b18,mapDocumentTypeToUniverType as _0x7142d,RevisionService as _0x5e5812,isTransformChangesetsSuccess as _0x38aabe,CompressMutationService as _0x3909d1,parseProtocolChangeset as _0x23d9ab,SnapshotService as _0x87510a,textEncoder as _0x220ee9,b64DecodeUnicode as _0x2c8896,isTransformMutationsWithChangesetFailure as _0x3d6cd1,UniverCollaborationPlugin as _0x166ffb}from'@univerjs-pro/collaboration';import{HTTPService as _0x1a399f,ISocketService as _0x413eb9,MergeInterceptorFactory as _0x4d5017,HTTPRequest as _0xeca573,UniverNetworkPlugin as _0xe15cfd,ThresholdInterceptorFactory as _0x609aa}from'@univerjs/network';import{ITelemetryService as _0x221974}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d0776}from'@univerjs/docs';import{SheetsSelectionsService as _0x1b000a,SetSelectionsOperation as _0x125f4e,InsertSheetMutation as _0x20bf58,EmptyMutation as _0x5bf77e,WorkbookEditablePermission as _0x305304,SheetPermissionInitController as _0x489f11}from'@univerjs/sheets';import{ImageSourceType as _0xf9dc84,ImageUploadStatusType as _0x48868a,IImageIoService as _0x129d99}from'@univerjs/drawing';import{getGlobalObject as _0x6e335a}from'@univerjs-pro/license';const pr=_0x2def39(0x283),mr=_0x2def39(0x2be),gr=_0x2def39(0x3c1),xs=_0x2def39(0x367),Sr=0x7d0,Er='COLLAB_WEB_SOCKET_URL',Ir='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x2def39(0x3af),Tr=_0x2def39(0x34f),Cr=0x7530,mi=_0x2def39(0x46c),gi=0x4e20,Rr=0x4e20,br=_0x2def39(0x1ec),yr=0x3,Ms=_0x2def39(0x3bd),ks=0x3e8,Or=_0x2def39(0x2f3),Nr=_0x2def39(0x29d),Dr='LOGIN_URL_KEY',wr=_0x2def39(0x30f),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x2def39(0x1f0);var Si=(_0x3f85c7=>(_0x3f85c7[_0x3f85c7[_0x2def39(0x3c2)]=0x0]=_0x2def39(0x3c2),_0x3f85c7[_0x3f85c7['OK']=0x1]='OK',_0x3f85c7[_0x3f85c7[_0x2def39(0x339)]=0x2]=_0x2def39(0x339),_0x3f85c7[_0x3f85c7['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3f85c7[_0x3f85c7[_0x2def39(0x3d2)]=0x4]='NOT_FOUND',_0x3f85c7[_0x3f85c7['UNAUTHENTICATED']=0x5]=_0x2def39(0x41b),_0x3f85c7[_0x3f85c7[_0x2def39(0x3a2)]=0x6]='ALREADY_EXISTS',_0x3f85c7[_0x3f85c7[_0x2def39(0x3c6)]=0x7]=_0x2def39(0x3c6),_0x3f85c7[_0x3f85c7[_0x2def39(0x2d6)]=0x8]=_0x2def39(0x2d6),_0x3f85c7[_0x3f85c7[_0x2def39(0x26a)]=0x9]='COMPLETION_FINISHED',_0x3f85c7[_0x3f85c7[_0x2def39(0x213)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f85c7[_0x3f85c7[_0x2def39(0x46f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f85c7[_0x3f85c7[_0x2def39(0x39f)]=0x1772]=_0x2def39(0x39f),_0x3f85c7[_0x3f85c7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2def39(0x3b2),_0x3f85c7[_0x3f85c7['APPLY_REJECT']=0x1b59]=_0x2def39(0x1d2),_0x3f85c7[_0x3f85c7[_0x2def39(0x491)]=0x1b5a]=_0x2def39(0x491),_0x3f85c7[_0x3f85c7[_0x2def39(0x2ea)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3f85c7[_0x3f85c7[_0x2def39(0x1f5)]=0x1b5c]=_0x2def39(0x1f5),_0x3f85c7[_0x3f85c7['APPLY_DUPLICATED']=0x1b5d]=_0x2def39(0x2f2),_0x3f85c7[_0x3f85c7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2def39(0x26f),_0x3f85c7[_0x3f85c7[_0x2def39(0x384)]=0x2329]=_0x2def39(0x384),_0x3f85c7[_0x3f85c7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3f85c7[_0x3f85c7[_0x2def39(0x27f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f85c7[_0x3f85c7[_0x2def39(0x2ff)]=0x232c]=_0x2def39(0x2ff),_0x3f85c7[_0x3f85c7[_0x2def39(0x215)]=0x232d]=_0x2def39(0x215),_0x3f85c7[_0x3f85c7['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2def39(0x3da),_0x3f85c7[_0x3f85c7[_0x2def39(0x340)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3f85c7[_0x3f85c7[_0x2def39(0x303)]=0x2713]=_0x2def39(0x303),_0x3f85c7[_0x3f85c7[_0x2def39(0x224)]=0x2714]=_0x2def39(0x224),_0x3f85c7[_0x3f85c7[_0x2def39(0x44f)]=0x2af9]=_0x2def39(0x44f),_0x3f85c7[_0x3f85c7[_0x2def39(0x380)]=-0x1]=_0x2def39(0x380),_0x3f85c7))(Si||{}),Q=(_0x372601=>(_0x372601[_0x372601[_0x2def39(0x4bf)]=0x0]=_0x2def39(0x4bf),_0x372601[_0x372601[_0x2def39(0x307)]=0x1]='UNIVER_DOC',_0x372601[_0x372601[_0x2def39(0x3ba)]=0x2]=_0x2def39(0x3ba),_0x372601[_0x372601[_0x2def39(0x48a)]=0x3]=_0x2def39(0x48a),_0x372601[_0x372601[_0x2def39(0x3fa)]=0x4]=_0x2def39(0x3fa),_0x372601[_0x372601[_0x2def39(0x380)]=-0x1]=_0x2def39(0x380),_0x372601))(Q||{}),F=(_0xfdfbe0=>(_0xfdfbe0[_0xfdfbe0['UNKNOWN_CMD']=0x0]=_0x2def39(0x1db),_0xfdfbe0[_0xfdfbe0['HELLO']=0x1]=_0x2def39(0x4af),_0xfdfbe0[_0xfdfbe0['JOIN']=0x2]=_0x2def39(0x4a1),_0xfdfbe0[_0xfdfbe0[_0x2def39(0x24c)]=0x3]=_0x2def39(0x24c),_0xfdfbe0[_0xfdfbe0['INGEST']=0x4]='INGEST',_0xfdfbe0[_0xfdfbe0['HEARTBEAT']=0x5]=_0x2def39(0x419),_0xfdfbe0[_0xfdfbe0[_0x2def39(0x2c6)]=0x6]=_0x2def39(0x2c6),_0xfdfbe0[_0xfdfbe0['UNRECOGNIZED']=-0x1]=_0x2def39(0x380),_0xfdfbe0))(F||{}),ge=(_0x5e550a=>(_0x5e550a[_0x5e550a['UNKNOWN_CODE']=0x0]=_0x2def39(0x3f2),_0x5e550a[_0x5e550a['OK']=0x1]='OK',_0x5e550a[_0x5e550a['FAIL']=0x2]=_0x2def39(0x1d0),_0x5e550a[_0x5e550a['JOIN_ROOM_FULL']=0x3e9]=_0x2def39(0x243),_0x5e550a[_0x5e550a['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2def39(0x43a),_0x5e550a[_0x5e550a[_0x2def39(0x2da)]=0x3eb]=_0x2def39(0x2da),_0x5e550a[_0x5e550a[_0x2def39(0x28a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5e550a[_0x5e550a['UNRECOGNIZED']=-0x1]=_0x2def39(0x380),_0x5e550a))(ge||{}),Ei=(_0x336304=>(_0x336304[_0x336304['Undefined']=0x0]=_0x2def39(0x2e5),_0x336304[_0x336304[_0x2def39(0x2cc)]=0x1]=_0x2def39(0x2cc),_0x336304[_0x336304[_0x2def39(0x3c7)]=0x2]=_0x2def39(0x3c7),_0x336304[_0x336304[_0x2def39(0x497)]=0x3]=_0x2def39(0x497),_0x336304[_0x336304[_0x2def39(0x23b)]=0x4]=_0x2def39(0x23b),_0x336304[_0x336304['UNRECOGNIZED']=-0x1]=_0x2def39(0x380),_0x336304))(Ei||{});const q=_0x2def39(0x278),Ur={};var se=(_0x194e28=>(_0x194e28['OTHER_CLIENT_EDITING']=_0x2def39(0x2fa),_0x194e28[_0x2def39(0x250)]='PERMISSION_DENIED',_0x194e28[_0x2def39(0x317)]=_0x2def39(0x317),_0x194e28[_0x2def39(0x2cf)]='CLOSE_ROOM',_0x194e28[_0x2def39(0x2e6)]=_0x2def39(0x2e6),_0x194e28[_0x2def39(0x49c)]=_0x2def39(0x49c),_0x194e28[_0x2def39(0x1fd)]='SOCKET_FAILED',_0x194e28[_0x2def39(0x341)]=_0x2def39(0x341),_0x194e28))(se||{});class pe{constructor(){var _0x4e117d=_0x2def39;N(this,_0x4e117d(0x41e),new _0x2a2340()),N(this,_0x4e117d(0x44c),this[_0x4e117d(0x41e)][_0x4e117d(0x29c)]());}[_0x2def39(0x2ab)](_0x2b723a){var _0x492227=_0x2def39;this[_0x492227(0x41e)][_0x492227(0x42d)](_0x2b723a);}}const Ar=_0x2bea4c(_0x2def39(0x1ca));function Pr(_0xa4aad1){var _0x25b39f=_0x2def39,_0x4deea8,_0x589f39,_0x375c7d,_0x5b9cbd,_0x1d7784;const _0x55d3ab=_0xa4aad1[_0x25b39f(0x4a8)],_0x208c1f=JSON[_0x25b39f(0x1f4)](_0x55d3ab);switch(_0x208c1f[_0x25b39f(0x410)]){case F[_0x25b39f(0x419)]:case F['HELLO']:{const _0x54ab96=_0x208c1f[_0x25b39f(0x439)];return{..._0x208c1f,'data':_0x54ab96,'cmd':_0x208c1f[_0x25b39f(0x410)]};}case F['JOIN']:{const _0x13bd60=_0x208c1f[_0x25b39f(0x3c9)];return{..._0x208c1f,'data':_0x13bd60,'cmd':_0x208c1f['cmd']};}case F['RECV']:{const _0x4d7c8c=_0x208c1f[_0x25b39f(0x41c)];switch(_0x4d7c8c[_0x25b39f(0x219)]){case _0x59103b[_0x25b39f(0x3eb)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':(_0x4deea8=_0x4d7c8c[_0x25b39f(0x2d5)])==null?void 0x0:_0x4deea8['cs']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x42a)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':(_0x589f39=_0x4d7c8c[_0x25b39f(0x396)])==null?void 0x0:_0x589f39['cs']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x29f)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':(_0x375c7d=_0x4d7c8c[_0x25b39f(0x376)])==null?void 0x0:_0x375c7d['cs']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x452)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':(_0x5b9cbd=_0x4d7c8c[_0x25b39f(0x397)])==null?void 0x0:_0x5b9cbd['cs']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x266)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':(_0x1d7784=_0x4d7c8c['csShouldRetryEvent'])==null?void 0x0:_0x1d7784['cs']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x37f)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x2c7)]},'cmd':_0x208c1f['cmd']};case _0x59103b[_0x25b39f(0x467)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x208)]},'cmd':_0x208c1f['cmd']};case _0x59103b[_0x25b39f(0x203)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c['leaveEvent']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x493)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x247)]},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x4c4)]:case _0x59103b[_0x25b39f(0x401)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x49e)]},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b['LIVESHARE_TERMINATE']:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c['liveShareNewHost']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b['MSG_FOR_ERROR']:return{..._0x208c1f,'data':_0x4d7c8c,'cmd':_0x208c1f['cmd']};case _0x59103b[_0x25b39f(0x3cb)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x3cc)]},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b['UPDATE_PERMISSION_OBJ']:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x31c)]},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x2c4)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c['shouldCloseConn']},'cmd':_0x208c1f[_0x25b39f(0x410)]};case _0x59103b[_0x25b39f(0x23a)]:return{..._0x208c1f,'data':{..._0x4d7c8c,'data':_0x4d7c8c[_0x25b39f(0x2a6)]},'cmd':_0x208c1f[_0x25b39f(0x410)]};default:return _0x208c1f;}}default:return _0x208c1f;}}function xr(_0x5c4ab8){var _0x5af287=_0x2def39;switch(_0x5c4ab8[_0x5af287(0x410)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x5af287(0x1c3)]({'cmd':_0x5c4ab8[_0x5af287(0x410)],'routeKey':_0x5c4ab8[_0x5af287(0x3fd)]});case F['INGEST']:{let _0x433b3e;switch(_0x5c4ab8[_0x5af287(0x4a8)][_0x5af287(0x219)]){case _0x59103b[_0x5af287(0x37f)]:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x37f)],'updateCursorEvent':_0x5c4ab8[_0x5af287(0x4a8)][_0x5af287(0x4a8)]};break;}case _0x59103b[_0x5af287(0x203)]:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x203)],'leaveEvent':_0x5c4ab8[_0x5af287(0x4a8)]['data']};break;}case _0x59103b['USERS_ENTER']:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x467)],'joinEvent':_0x5c4ab8['data'][_0x5af287(0x4a8)]};break;}case _0x59103b[_0x5af287(0x493)]:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x493)],'liveShareNewHost':_0x5c4ab8[_0x5af287(0x4a8)][_0x5af287(0x4a8)]};break;}case _0x59103b[_0x5af287(0x401)]:{_0x433b3e={'eventID':_0x59103b['LIVESHARE_OPERATION'],'liveShareOperation':_0x5c4ab8['data']['data']};break;}case _0x59103b[_0x5af287(0x337)]:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x337)],'liveShareTerminate':_0x5c4ab8[_0x5af287(0x4a8)]['data']};break;}case _0x59103b['LIVESHARE_REQUEST_HOST']:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x27b)],'liveShareRequestHost':_0x5c4ab8[_0x5af287(0x4a8)][_0x5af287(0x4a8)]};break;}case _0x59103b[_0x5af287(0x4c4)]:{_0x433b3e={'eventID':_0x59103b[_0x5af287(0x4c4)]};break;}default:_0x433b3e={'eventID':_0x5c4ab8[_0x5af287(0x4a8)][_0x5af287(0x219)]};}return JSON['stringify']({'cmd':_0x5c4ab8[_0x5af287(0x410)],'routeKey':_0x5c4ab8[_0x5af287(0x3fd)],'collaMsg':_0x433b3e});}case F['JOIN']:return JSON[_0x5af287(0x1c3)]({'cmd':_0x5c4ab8[_0x5af287(0x410)],'routeKey':_0x5c4ab8['routeKey'],'joinReq':_0x5c4ab8[_0x5af287(0x4a8)]});case F[_0x5af287(0x24c)]:return JSON[_0x5af287(0x1c3)]({'cmd':_0x5c4ab8['cmd'],'routeKey':_0x5c4ab8[_0x5af287(0x3fd)],'leaveReq':_0x5c4ab8[_0x5af287(0x4a8)]});default:throw new Error(_0x5af287(0x217));}}var Lr=Object[_0x2def39(0x37b)],Mr=(_0x54a5d6,_0x200b7e,_0xdaad73,_0x345834)=>{var _0xfb5004=_0x2def39;for(var _0x681b04=_0x345834>0x1?void 0x0:_0x345834?Lr(_0x200b7e,_0xdaad73):_0x200b7e,_0x51abef=_0x54a5d6[_0xfb5004(0x4c1)]-0x1,_0x5e1c59;_0x51abef>=0x0;_0x51abef--)(_0x5e1c59=_0x54a5d6[_0x51abef])&&(_0x681b04=_0x5e1c59(_0x681b04)||_0x681b04);return _0x681b04;},Ue=(_0x6bec6e,_0x347c30)=>(_0x59b954,_0x2217ea)=>_0x347c30(_0x59b954,_0x2217ea,_0x6bec6e);const Ii=_0x2bea4c('univer-pro.collaboration-client-socket-service');function kr(_0x3fe197,_0x4e25ac,_0xe0278c){var _0x587def=_0x2def39;return _0x3fe197+'/'+_0x4e25ac+'/unit/'+_0xe0278c+_0x587def(0x49d);}let Vt=class extends _0x32d82b{constructor(_0x5cfef8,_0x28f1de,_0x201ade,_0x3b3c6c,_0x2f30d0){var _0x289bda=_0x2def39;super(),this[_0x289bda(0x45f)]=_0x5cfef8,this[_0x289bda(0x465)]=_0x28f1de,this[_0x289bda(0x313)]=_0x201ade,this[_0x289bda(0x3a5)]=_0x3b3c6c,this[_0x289bda(0x280)]=_0x2f30d0;}[_0x2def39(0x1e4)](_0x1422b7){var _0x5702bf=_0x2def39;const _0x57898b=this['_injector'][_0x5702bf(0x229)](_0x413eb9);if(!_0x57898b)throw new Error(_0x5702bf(0x3f9));const _0x424cd3=_0x57898b[_0x5702bf(0x48c)](_0x1422b7);if(!_0x424cd3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xb5f8c4=new _0xb34311(),_0x41f713=new _0x2a2340();_0xb5f8c4[_0x5702bf(0x27e)](_0x424cd3['close$'][_0x5702bf(0x415)](_0x5cfc5d=>_0x41f713[_0x5702bf(0x42d)](_0x5cfc5d))),_0xb5f8c4[_0x5702bf(0x27e)](_0x497432(()=>_0x41f713['complete']()));const _0x1cc25b=new _0x2a2340();_0xb5f8c4[_0x5702bf(0x27e)](_0x424cd3[_0x5702bf(0x1ea)][_0x5702bf(0x415)](_0x1b8190=>_0x1cc25b['next'](_0x1b8190))),_0xb5f8c4[_0x5702bf(0x27e)](_0x497432(()=>_0x1cc25b[_0x5702bf(0x2b5)]()));const _0x3a54b4=new _0x2a2340();_0xb5f8c4[_0x5702bf(0x27e)](_0x424cd3[_0x5702bf(0x37c)][_0x5702bf(0x415)](_0x2cb3ee=>{const _0x776eee=Pr(_0x2cb3ee);_0x3a54b4['next'](_0x776eee);})),_0xb5f8c4[_0x5702bf(0x27e)](_0x497432(()=>_0x3a54b4[_0x5702bf(0x2b5)]()));let _0x4b773e;const _0x21876c=()=>{var _0x26b32b=_0x5702bf;_0x1cc25b[_0x26b32b(0x42d)](new Event('connection\x20error')),_0x41f713[_0x26b32b(0x42d)](new Event('connection\x20error')),_0x4b773e[_0x26b32b(0x454)]();};return _0x4b773e={'memberID':'','close$':_0x41f713['asObservable'](),'error$':_0x1cc25b['asObservable'](),'open$':_0x424cd3[_0x5702bf(0x42c)],'message$':_0x3a54b4[_0x5702bf(0x29c)](),'send':_0x495eea=>{var _0x589086=_0x5702bf;if(_0x495eea[_0x589086(0x410)]===F[_0x589086(0x1cf)]){if(_0x495eea[_0x589086(0x4a8)]['eventID']===_0x59103b[_0x589086(0x375)]){this[_0x589086(0x378)](_0x4b773e,_0x495eea[_0x589086(0x4a8)])[_0x589086(0x483)](_0x192763=>{var _0x46b2a3=_0x589086;this[_0x46b2a3(0x3a5)]['error'](_0x192763),_0x21876c();});return;}if(_0x495eea['data']['eventID']===_0x59103b[_0x589086(0x31a)]){const _0x31f332=_0x495eea[_0x589086(0x4a8)];this[_0x589086(0x2aa)](_0x31f332)[_0x589086(0x445)](_0x8263f6=>{var _0x3fb86e=_0x589086;_0x3a54b4['next']({'cmd':F[_0x3fb86e(0x2c6)],'code':ge['OK'],'routeKey':_0x31f332[_0x3fb86e(0x4a8)]['unitID'],'routeType':'','data':{'eventID':_0x59103b[_0x3fb86e(0x264)],'data':{'changesets':_0x8263f6}}});})[_0x589086(0x483)](_0x4e8eba=>{var _0x4a1f5d=_0x589086;this[_0x4a1f5d(0x3a5)][_0x4a1f5d(0x40e)](_0x4e8eba),_0x21876c();});return;}}_0x424cd3[_0x589086(0x225)](xr(_0x495eea));},'close':()=>{var _0x5224e8=_0x5702bf;_0x424cd3[_0x5224e8(0x454)](),_0xb5f8c4['dispose']();}},_0x4b773e;}async['_submitChangeset'](_0x116373,_0x4d50a0){var _0x202f83=_0x2def39,_0x5150b5,_0x15bd41;const {unitType:_0x1a562a,unitID:_0x5bc925,changeset:_0x17be59}=_0x4d50a0[_0x202f83(0x4a8)],_0x4b84b7={'unitID':_0x5bc925,'memberID':_0x116373['memberID'],'type':_0x1a562a,'changeset':_0x4770db(_0x17be59)},_0xc57cb2=this[_0x202f83(0x313)][_0x202f83(0x287)](Or),_0x23b839=this[_0x202f83(0x313)][_0x202f83(0x287)](q),_0x22d6c5=kr((_0x15bd41=(_0x5150b5=_0x23b839==null?void 0x0:_0x23b839[_0x202f83(0x291)])!=null?_0x5150b5:_0xc57cb2)!=null?_0x15bd41:Nr,_0x1a562a,_0x5bc925);try{await this[_0x202f83(0x465)]['post'](_0x22d6c5,{'body':_0x4b84b7});}catch(_0x4aa677){throw this[_0x202f83(0x3a5)][_0x202f83(0x40e)](_0x202f83(0x470),'submit\x20changeset\x20error!'),_0x4aa677;}}async[_0x2def39(0x2aa)](_0x476116){var _0x5225d3=_0x2def39;const {unitID:_0x1a9705,from:_0x25e9e3,to:_0x3f2c6b,unitType:_0x1b99c3}=_0x476116[_0x5225d3(0x4a8)];return(await this[_0x5225d3(0x280)][_0x5225d3(0x25e)]({'metadata':void 0x0},{'unitID':_0x1a9705,'type':_0x1b99c3,'from':_0x25e9e3,'to':_0x3f2c6b}))[_0x5225d3(0x2a3)];}};Vt=Mr([Ue(0x0,_0x1d5a06(_0x2e75b3)),Ue(0x1,_0x1d5a06(_0x1a399f)),Ue(0x2,_0x331d3e),Ue(0x3,_0x2a6e14),Ue(0x4,_0x331bc1)],Vt);const $r=_0x2def39(0x2ec);function Hr(_0x470fc5){var _0x1e0b7a=_0x2def39;return JSON[_0x1e0b7a(0x1c3)](_0x470fc5)[_0x1e0b7a(0x4c1)];}class Ti{constructor(){var _0x28ba60=_0x2def39;N(this,'_commentUpdate$',new _0x2a2340()),N(this,_0x28ba60(0x2d4),this['_commentUpdate$'][_0x28ba60(0x29c)]());}[_0x2def39(0x40b)](_0x2e0b86){var _0x2e675a=_0x2def39;this[_0x2e675a(0x1e2)][_0x2e675a(0x42d)](_0x2e0b86);}}function _0x5db7(){var _0x1ce84d=['&to=','toString','collaboration-client.local-cache-service','_undoRedoService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','HmacMD5','_remoteChangesetQueue','fromCollab','LIVESHARE_TERMINATE','onTransformIME','INTERNAL_ERROR','[DataLoaderService]','pending','clear','randomUUID','unitInfo$','59844vfIfmH','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','put','_updateStatus','disableLocalCache','unit-cache-','saveSnapshot','_eventService','_substituteRedoStack','_oKey','socket\x20open.','_waitCount','_queuedRemoteChangesets','_transformIMECache','close$','HEARTBEAT_INTERVAL','withCredentials','sigBytes','[CollaborationState]:\x20apply\x20error!','Hasher','ciphertext','POST','getWorkbookSelections','OpenSSL','_updateLocalCache','telemetry\x20info\x20is\x20not\x20initialized','_createInitialState','lib','getRoom','_map','onTransformSelections','find','collabWebSocketUrl','awaiting_with_pending','status$','onStarting','target','fetching\x20missing\x20changesets\x20from\x20','avatar','SEND_CHANGESET_TIMEOUT','hasOwnProperty','_substituteUndoStack','_clearScheduledTask','_doProcessBlock','authzUrl','mutations','createInstance','HMAC','/universer-api/snapshot/','NoPadding','_getSignURL','waitForRoom$','resend','SUBMIT_CHANGESET','newCsEvent','_onUserLeave','_submitChangeset','format','objects','getOwnPropertyDescriptor','message$','_state','sendChangesetTimeout','UPDATE_CURSOR','UNRECOGNIZED','string','reset','_lockTransition','LICENSE_MAX_UNITS_EXCEEDED','AWAITING','_waitForHeartbeatResponse','exports','Error\x20on\x20receiving\x20event','session','\x20to\x20','_onMessage','compose','formatter','Encryptor','_entities','encode','28875wkGLvJ','getAllMembers','reject','getTypeOfUnitAdded$','_onRemoteChangeset','csAckEvent','csRejEvent','_onUserJoin','_exhaustRemoteChangesetQueue','_minBufferSize','processBlock','sessionStatus$','_emitMembers','_clearRedo','SNAPSHOT_HAS_BEEN_REMOVED','reqId','_reverseMap','ALREADY_EXISTS','stopTime','now','_logService','_unitID','append','name','_initCloseConn','{fileID}','_sendHeartbeatTimer','unitId\x20is\x20not\x20found','compute','editingUnit','/universer-api/user/session-ticket','sheets','_handler','ENSURE_SNAPSHOT_EXECUTION','debug','_sessions','[OfflineState]:\x20received\x20rejection.','addHandlerCallback','msCrypto','_collaborationSessionService','_state$','UNIVER_SHEET','onCommandExecuted','keySize','LOCAL_CACHE_INTERVAL','SUCCUSS','_tryReconnect','_schedule','SNAPSHOT_URL_KEY','UNDEFINED','_initUnitPermissionChange','mode','_startCollaboration','INVALID_ARGUMENT','HttpExport','CipherParams','joinRsp','snapshot','COMMENT_UPDATE','commentUpdateEvent','_onRecvEvent','socketService','_toggleOffline','OTHER_CLIENTS_EDITING','84jFpZzz','NOT_FOUND','ERROR_IMAGE_TYPE','_onConnectionOpen','_socketService','[OfflineState]:\x20received\x20changeset.','_commentService','clone','key','YUUMI_UNABLE_LOAD_URL','[SyncedState]:\x20received\x20acknowledgement.','sid','BlockCipher','getSnapshotAPIPath','\x0aAfter:\x20','_clearCollaborationTimeoutTimer','_xformMode','members$','onStateChange','objectType','setShowComponents','OPTIONAL','substr','hasher','socket$','\x20-\x20','PERMISSION_REJ','refreshPermission','_HTTPService','WordArray','_networkConditionService','_onRemoteRejected','updatePermissionPoint','UNKNOWN_CODE','_sheetTransformSelectionsService','hostname','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','addImageSourceCache','interceptor','_onConflict','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNIVER_PROJECT','_transitionLocked','Univer','routeKey','startTime','_change$','[CollaborationUndoRedoService]','LIVESHARE_OPERATION','createEncryptor','_decreaseWaiting','create','_userManagerService','COMPRESS_MUTATION_APPLY','localCacheService','loginUrlKey','getUnit','getMember','onCommentUpdate','duration','closeSession','error','reconnect','cmd','execute','_collaborationUIEventService','getTypeOfUnitDisposed$','1679559zbPNCx','subscribe','subUnitId','_DEC_XFORM_MODE','ivSize','HEARTBEAT','enableOfflineEditing','UNAUTHENTICATED','collaMsg','_data','_event$','SYNCED','IDLE','onlyLocal','BASE64','_getUploadFileURL','/-/object/list','_retryCount','/object/','_transformService','revision','_getCurrentRevision','CHANGESET_ACK','_sendHeartbeat','open$','next','_cipher','_sender','__creator','collaboratorID','status','_onRemoteACK','Decryptor','byteLength','_getAPIPrefix','_transformStack','default','infoRsp','JOIN_ROOM_NOT_EXISTS','_hasher','_transformStateCache','_showConflictNotification','onMissedChangesetFetched','clamp','?url=','&assign=','body','map','onTransformRemoteChangesetByIMECache','then','m2Prime','_permissionService','byteOffset','dispose','EvpKDF','requireSession','event$','_loadSheet','entityInit$','PY_RUNTIME_SCRIPT_ERROR','resolve','getUnitId','CHANGESET_REJ','loadDoc','close','_process','_config','prototype','_resendWithTimeout','update','_resendTimeout','_getDownloadEndpointURL','onRemoteChangeset','transformMutationsWithChangeset','getSheetBlock','_injector','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','5OjHfxi','offline','appendMutation','href','_httpService','mixIn','USERS_ENTER','_telemetryService','setCurrentUser','awaiting','isPermissionRej','HEARTBEAT_TIMEOUT','every','_clearUndo','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationSession]','baseRev','encryptBlock','_socket$','fetchThroughInterceptors','/-/object/-/batch_allowed','getCurrentSelections','list','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_unitInfo$','push','encodeURIComponent','saveSheetBlock','getSheetId','_invKeySchedule','set','batchAllowed','_collabSessionService','responseType','catch','updateOfflineData','PERSON','StreamCipher','Base64','objectID','salt','UNIVER_SLIDE','deepClone','createSocket','_createSocket','_transformSelections','_tryEnsureSocket','c1Prime','APPLY_NON_SEQUENTIAL_REVISION','Latin1','LIVESHARE_NEW_HOST','registerHTTPInterceptor','createCollaborator','getInterceptPoints','UnitEmbedded','_isPermissionRej','_replayCachedMutations','_socketReady','_clearTimeoutTimer','SOCKET_FAILED_RETRY','/new_changes','liveShareOperation','getCollabEntity','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN','_append','loadOfflineData','defineProperty','copyFileMeta','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','decrypt','data','[CollaborationSessionService]','startsWith','unitId','_ENC_XFORM_MODE','padding','toggleOnline','HELLO','/rev/','_onFetchMissResult','fetch_missing','enc','concat','extend','_sessionStatus$','getValue','originalMeta','_pendingMutations','getUnitType','isArray','_rescheduleHeartbeat','/unit/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNIVER_UNKNOWN','equals','length','_onCombEvent','PENDING','LIVESHARE_FETCH_OPERATIONS','finalize','990281lkwRIX','reverse','stringify','_throwTelemetryCollaborationNewChangeset','fetchMiss','OFFLINE','?size=','_clearLocalCache','_incrementRevisionNumber','univer-pro.collaboration-client.network-condition.service','snapshotServerUrl','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','requestParams','_type','INGEST','FAIL','getDeserializedSheetBlock','APPLY_REJECT','_changesetSessionId','_sendingTimer','_telemetryInfo','_roomMembers','online$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','delete','_iKey','UNKNOWN_CMD','socket\x20close','onload','deleteCollaborator','function','buffer','slice','_commentUpdate$','_stopTelemetryCollaborationNewChangeset','_doCreateSocket','_univerInstanceService','[SyncedState]:\x20received\x20rejection.','toggleOffline','_iv','pipe','error$','_roomCreated$','RETRY_CONNECTING_MAX_COUNT','iterations','COMPRESS_MUTATION_SEND','_createHmacHelper','/universer-api/uniscript','json','_timeoutTimer','params','parse','APPLY_PERMISSION_DENIED','getImageSourceCache','_members','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','readInt32LE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CBC','FETCH_MISS','SOCKET_FAILED','[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.','getTime','Could\x20not\x20dynamically\x20require\x20\x22','pad','textRanges','USERS_LEAVE','type','onTransformState','/universer-api/stream/file/upload','_getSendChangesetTimeout','joinEvent','_scheduleCollaborationTimeoutTimer','c2Prime','_changesetReqId','min','includes','/universer-api/authz','_joinRoom','[CollaborationSessionService]:\x20socket\x20error','SHA1','_memberService','CHANGESET_REVISION_CONFILICT','People','LICENSE_DISTRO_REJECTED','onSendChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','eventID','onRemoteRej','onMissingChangesets','11403090ZOxWQG','_nDataBytes','getRandomValues','_retryConnectingTimer','dispose$','_keyPriorReset','confirm','_singleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','send','FileId','_status$','fromCharCode','get','_mode','x-univer-host','splice','_localeService','_initRequestHeader','apply','selections','charAt','getCurrentRevOfUnit','rev','randomBytes','transformUndoRedo','entries','onRemoteRetry','_imageSourceCache','synced','UNISCRIPT_RUN','UnitSnapshot','_keySchedule','setConfig','Cipher','_removeRoom','/role','_createHelper','localeService','JOIN_ROOM_FULL','_listenToNetworkCondition','_getRedoStack','transformSelections','liveShareNewHost','_replaceFileID','PasswordBasedCipher','unsubscribe','_handlerCallback','LEAVE','_doCryptBlock','UPDATE_PERMISSION_OBJ','_localCacheService','PERMISSION_DENIED','loadSheet','transformChangesets','&source=','unpad','updateMember','_transformRemoteChangesetByStateCache','onSyncEditingCollabCursor','/block/','disposeWithMe','_onJoinRoomEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ERROR_IMAGE','listRoles','fetchMissingChangesets','image/png','getFocusedUnit','_createHandler','listCollaborators','_loadDoc','PSEUDO_FETCH_MISSING_RESULT','subject','CHANGESET_SHOULD_RETRY','_clearRetryConnectingTimer','_transformRemoteChangesetByIMECache','JOINING','COMPLETION_FINISHED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursor','symbol','getMemberID','CONNECTOR_DATA_TOO_LARGE','unknown','onTransformRemoteChangesetByStateCache','updateCollaborator','_socket','executeCommand','abs','kdf','conflict','collaboration-client.config','post','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LIVESHARE_REQUEST_HOST','_initMergeInterceptor','/resources','add','LICENSE_IMPORT_SIZE_EXCEEDED','_snapshotServerService','_instanceService','_doReset','SNAPSHOT_SERVER_URL_KEY','getUnitOnRev','image/jpg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getConfig','/allowed','random','GLOBAL_ROOMS_CNT_EXCEEDS','_onLocalMutation','_initDependencies','_registerDependencies','getActiveSheet','getImage','2SNAjsm','collabSubmitChangesetUrl','allowed','AWAITING_WITH_PENDING','collaborators','removeMember','[FetchMissState]','_startTelemetryCollaborationNewChangeset','actions','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','join','_onOffline','asObservable','/universer-api/comb','algo','NEW_CHANGESETS','onRemoteAck','capture','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','changesets','_toggleOnline','/object','uniscriptRunEvent','patch','_collaborationPaused','_getAPIPrefixPath','_fetchMissChangesets','emitEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','cfg','onLocalMutation','failed\x20to\x20apply\x20missed\x20changesets!','forEach','_onConnectionFailed','_commandService','origin','unitID','complete','resourceIDs','_revisionService','_socketMessageSubscription','memberID','floor','_clearHeartbeatTimer','[PendingState]:\x20received\x20acknowledgement.','_getCtorByUniverType','/universer-api/snapshot','image/gif','HmacSHA1','MSG_FOR_ERROR','has','session.room-not-exists','SHOULD_CLOSE_CONN','bind','RECV','updateCursorEvent','crypto','_snapshotService','_createInitialStateImpl','_checkMissing','HttpImport','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','call','CLOSE_ROOM','\x0aCurrent:\x20','_resendTimer','init','awaitingChangeset','commentUpdate$','permissionRejEvent','TOO_MANY_REQUESTS','max','ONLINE','_acknowledgedAwaitingChangeset','JOIN_ROOM_PERMISSION_DENIED','values','enableSingleActiveInstanceLock','decryptBlock','[CollaborationEntity]','_transformUndoredo','_shouldReportTelemetry','generateRandomId','_getUndoStack','_prevBlock','createDecryptor','Undefined','JOIN_ROOM_FAILED','_onRemoteRetry','filter','Malformed\x20UTF-8\x20data','APPLY_REVISION_CONFILICT','[OfflineState]:\x20received\x20acknowledgement.','collaboration_new_changeset','Utf8','setWaitCount','findIndex','userID','_hash','APPLY_DUPLICATED','COLLAB_SUBMIT_CHANGESET_URL','SerializableCipher','_applyRemoteChangeset','_updateState','ceil','workbook','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OTHER_CLIENT_EDITING','encrypt','_compressMutationService','charCodeAt','/collaborator','LICENSE_EXPORT_SIZE_EXCEEDED','url','getCurrentUser','24bxxqRn','YUUMI_RATE_OVER_LIMIT','MUTATION','pluginName','_scheduleCompleteTimestamp','UNIVER_DOC','_init','_executeRemoteChangeset','override','/universer-api/file/{fileID}/sign-url','385ZpxgQi','range','reduce','/universer-api/oidc/authpage','_entityInit$','MD5','retryConnectingInterval','_configService','session.room-cnt-exceeds','BufferedBlockAlgorithm','image/jpeg','CONFLICT','2100654XbNtrT','_unlockTransition','FETCH_MISSING','Base','updatePermissionObjEvent','blockSize','_collaborationTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getCollabEntity$','code','NO_OTHER_CLIENTS_EDITING','words','readyForCollab','AES','534328tNxitb','loadUnit','_candidateSocket','focused$','_awaitingChangeset','headers','_members$','_key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.'];_0x5db7=function(){return _0x1ce84d;};return _0x5db7();}var Br=Object[_0x2def39(0x37b)],jr=(_0xe890e0,_0x65d257,_0x1de22b,_0x588d13)=>{var _0x20ec8c=_0x2def39;for(var _0x189494=_0x588d13>0x1?void 0x0:_0x588d13?Br(_0x65d257,_0x1de22b):_0x65d257,_0x41b733=_0xe890e0[_0x20ec8c(0x4c1)]-0x1,_0x2a1e80;_0x41b733>=0x0;_0x41b733--)(_0x2a1e80=_0xe890e0[_0x41b733])&&(_0x189494=_0x2a1e80(_0x189494)||_0x189494);return _0x189494;},Wt=(_0x47d534,_0x3c6031)=>(_0x2f7042,_0x4fa808)=>_0x3c6031(_0x2f7042,_0x4fa808,_0x47d534);let xe=class extends _0x32d82b{constructor(_0x598b8f,_0x250205){var _0x56fa9c=_0x2def39;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x2a2340()),(this[_0x56fa9c(0x1e5)]=_0x598b8f,this['_userManagerService']=_0x250205,this[_0x56fa9c(0x259)](_0x2c014e(this[_0x56fa9c(0x1e5)][_0x56fa9c(0x413)](_0x478b96[_0x56fa9c(0x3ba)])[_0x56fa9c(0x1e9)](_0x31dd76(_0x230efa=>_0x230efa[_0x56fa9c(0x451)]())),this['_univerInstanceService'][_0x56fa9c(0x413)](_0x478b96['UNIVER_DOC'])[_0x56fa9c(0x1e9)](_0x31dd76(_0x18c808=>_0x18c808[_0x56fa9c(0x451)]())),this[_0x56fa9c(0x1e5)][_0x56fa9c(0x413)](_0x478b96[_0x56fa9c(0x48a)])[_0x56fa9c(0x1e9)](_0x31dd76(_0x4240fa=>_0x4240fa[_0x56fa9c(0x451)]())))[_0x56fa9c(0x415)](_0x490a91=>this['_removeRoom'](_0x490a91))));}[_0x2def39(0x373)](_0x45252f){var _0x4e1519=_0x2def39;return this[_0x4e1519(0x1d6)][_0x4e1519(0x2c2)](_0x45252f)?_0x1db6ee(this[_0x4e1519(0x1d6)]['get'](_0x45252f)):this[_0x4e1519(0x1eb)][_0x4e1519(0x1e9)](_0x31dd76(_0x4d312e=>{var _0x30eec5=_0x4e1519;if(_0x4d312e===_0x45252f)return this[_0x30eec5(0x1d6)]['get'](_0x4d312e);}));}[_0x2def39(0x469)](_0x18dd67){var _0x3ed9bf=_0x2def39;this['_userManagerService'][_0x3ed9bf(0x469)](_0x18dd67);}['getCurrentUser'](){var _0x493f0e=_0x2def39;return this[_0x493f0e(0x405)][_0x493f0e(0x301)]();}[_0x2def39(0x255)](_0xfc78a1,_0x2e65b6){var _0x4e283b=_0x2def39;let _0x50095d=this['_roomMembers']['get'](_0xfc78a1);_0x50095d||(_0x50095d=new Fr(),this[_0x4e283b(0x1d6)][_0x4e283b(0x47f)](_0xfc78a1,_0x50095d),this[_0x4e283b(0x1eb)][_0x4e283b(0x42d)](_0xfc78a1)),_0x50095d[_0x4e283b(0x255)](_0x2e65b6);}['removeMember'](_0x3b4419,_0x4fc8bc){var _0x8ec052=_0x2def39;const _0x49961a=this[_0x8ec052(0x1d6)]['get'](_0x3b4419);_0x49961a&&_0x49961a[_0x8ec052(0x295)](_0x4fc8bc);}[_0x2def39(0x35c)](_0x472f86){var _0x5a0e7d=_0x2def39;return this['_roomMembers'][_0x5a0e7d(0x229)](_0x472f86);}['getMember'](_0x5dfe8e,_0x10ba9d){var _0x2274ce=_0x2def39;const _0x36d038=this[_0x2274ce(0x1d6)][_0x2274ce(0x229)](_0x5dfe8e);if(_0x36d038)return _0x36d038[_0x2274ce(0x40a)](_0x10ba9d);}[_0x2def39(0x23f)](_0x1b2871){var _0x267976=_0x2def39;const _0x3cbfeb=this[_0x267976(0x1d6)][_0x267976(0x229)](_0x1b2871);_0x3cbfeb&&(_0x3cbfeb[_0x267976(0x449)](),this['_roomMembers'][_0x267976(0x1d9)](_0x1b2871));}['dispose'](){var _0x5335bd=_0x2def39;this[_0x5335bd(0x1d6)][_0x5335bd(0x2b0)](_0x259c54=>_0x259c54[_0x5335bd(0x449)]()),this[_0x5335bd(0x1d6)][_0x5335bd(0x33c)](),this['_roomCreated$'][_0x5335bd(0x2b5)]();}};xe=jr([Wt(0x0,_0xc85a44),Wt(0x1,_0x1d5a06(_0x1408fe))],xe);class Fr extends _0x32d82b{constructor(){var _0x35b83b=_0x2def39;super(...arguments),N(this,_0x35b83b(0x1f7),new Map()),N(this,_0x35b83b(0x32c),new _0x3f3cf2(this[_0x35b83b(0x1f7)])),N(this,_0x35b83b(0x3e2),this[_0x35b83b(0x32c)]['asObservable']());}[_0x2def39(0x449)](){var _0xcdbbe=_0x2def39;this[_0xcdbbe(0x1f7)][_0xcdbbe(0x33c)]();}[_0x2def39(0x255)](_0xf03a9){var _0xa5fc20=_0x2def39;this['_members'][_0xa5fc20(0x47f)](_0xf03a9[_0xa5fc20(0x2b9)],_0xf03a9),this[_0xa5fc20(0x39d)]();}[_0x2def39(0x295)](_0x1917a6){var _0x3dff89=_0x2def39;this[_0x3dff89(0x1f7)][_0x3dff89(0x1d9)](_0x1917a6);}[_0x2def39(0x40a)](_0x1490a2){var _0x2cea26=_0x2def39;return this[_0x2cea26(0x1f7)]['get'](_0x1490a2);}[_0x2def39(0x392)](){var _0x1c442d=_0x2def39;return Array['from'](this[_0x1c442d(0x1f7)][_0x1c442d(0x2db)]());}['_emitMembers'](){var _0x716ccf=_0x2def39;this[_0x716ccf(0x32c)][_0x716ccf(0x42d)](this[_0x716ccf(0x1f7)]);}}var Gr=Object[_0x2def39(0x37b)],Vr=(_0xa2f4dd,_0x4db7db,_0x1ced77,_0x51e182)=>{for(var _0x2dc906=_0x51e182>0x1?void 0x0:_0x51e182?Gr(_0x4db7db,_0x1ced77):_0x4db7db,_0xa460f5=_0xa2f4dd['length']-0x1,_0xb66e6c;_0xa460f5>=0x0;_0xa460f5--)(_0xb66e6c=_0xa2f4dd[_0xa460f5])&&(_0x2dc906=_0xb66e6c(_0x2dc906)||_0x2dc906);return _0x2dc906;},me=(_0x4c67e8,_0x1f0f1b)=>(_0x83879f,_0x29fd83)=>_0x1f0f1b(_0x83879f,_0x29fd83,_0x4c67e8),Ee=(_0x1e2366=>(_0x1e2366[_0x1e2366[_0x2def39(0x420)]=0x0]='IDLE',_0x1e2366[_0x1e2366['JOINING']=0x1]=_0x2def39(0x269),_0x1e2366[_0x1e2366['OFFLINE']=0x2]=_0x2def39(0x1c6),_0x1e2366[_0x1e2366[_0x2def39(0x2d8)]=0x3]='ONLINE',_0x1e2366))(Ee||{});const Kt={[ge[_0x2def39(0x1d0)]]:'session.join-failed',[ge[_0x2def39(0x243)]]:'session.room-full',[ge[_0x2def39(0x43a)]]:_0x2def39(0x2c3),[ge[_0x2def39(0x2da)]]:'session.room-permission-denied',[ge[_0x2def39(0x28a)]]:_0x2def39(0x314)};let Et=class extends _0x27aa9d{constructor(_0x4bcc05,_0x7765e8,_0x55d649,_0x252019,_0x3b1a27,_0x438c70,_0x390c48,_0x34806a,_0x31ba6a){var _0x1e0c97=_0x2def39;super(),N(this,_0x1e0c97(0x4b6),new _0x3f3cf2(0x0)),N(this,'sessionStatus$',this[_0x1e0c97(0x4b6)][_0x1e0c97(0x29c)]()),N(this,_0x1e0c97(0x41e),new _0x2a2340()),N(this,_0x1e0c97(0x44c),this[_0x1e0c97(0x41e)][_0x1e0c97(0x29c)]()),N(this,_0x1e0c97(0x273)),N(this,_0x1e0c97(0x2b8)),N(this,_0x1e0c97(0x31e)),N(this,_0x1e0c97(0x2e0),!0x1),N(this,_0x1e0c97(0x1d5),null),(this['_unitID']=_0x4bcc05,this[_0x1e0c97(0x3a5)]=_0x55d649,this[_0x1e0c97(0x313)]=_0x252019,this[_0x1e0c97(0x22d)]=_0x3b1a27,this[_0x1e0c97(0x212)]=_0x438c70,this[_0x1e0c97(0x3d7)]=_0x390c48,this[_0x1e0c97(0x412)]=_0x34806a,this[_0x1e0c97(0x468)]=_0x31ba6a,this[_0x1e0c97(0x2e0)]=!!this[_0x1e0c97(0x468)],_0x7765e8[_0x1e0c97(0x1e9)](_0x2a81b0(this[_0x1e0c97(0x220)]))['subscribe'](_0x1965f9=>{var _0xc530d4=_0x1e0c97,_0x51e4f5;typeof _0x1965f9>'u'||(this[_0xc530d4(0x273)]=_0x1965f9,_0x1965f9?(this['_joinRoom'](_0x1965f9),this[_0xc530d4(0x2b8)]=_0x1965f9['message$'][_0xc530d4(0x415)](_0x1d2ec0=>{var _0x2fcd5d=_0xc530d4;_0x1d2ec0[_0x2fcd5d(0x3fd)]===this[_0x2fcd5d(0x3a6)]&&this[_0x2fcd5d(0x4c2)](_0x1d2ec0);})):(this[_0xc530d4(0x1c4)](),this[_0xc530d4(0x4b6)][_0xc530d4(0x42d)](0x2),(_0x51e4f5=this[_0xc530d4(0x2b8)])==null||_0x51e4f5[_0xc530d4(0x24a)](),this[_0xc530d4(0x2b8)]=null));}));}get['sessionStatus'](){var _0x20854a=_0x2def39;return this['_sessionStatus$'][_0x20854a(0x4b7)]();}['getMemberID'](){var _0x58f6e8=_0x2def39,_0x57d444,_0x1bcd4b;return(_0x1bcd4b=(_0x57d444=this[_0x58f6e8(0x273)])==null?void 0x0:_0x57d444[_0x58f6e8(0x2b9)])!=null?_0x1bcd4b:null;}[_0x2def39(0x449)](){var _0x11a68c=_0x2def39;super[_0x11a68c(0x449)](),this[_0x11a68c(0x220)][_0x11a68c(0x42d)](),this[_0x11a68c(0x220)][_0x11a68c(0x2b5)]();}[_0x2def39(0x454)](){var _0x524ba0=_0x2def39,_0xe1bcd4,_0x3f4e97;this['_throwTelemetryCollaborationNewChangeset'](),(_0xe1bcd4=this[_0x524ba0(0x273)])==null||_0xe1bcd4[_0x524ba0(0x225)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3f4e97=this[_0x524ba0(0x273)])==null||_0x3f4e97['close'](),this['_event$'][_0x524ba0(0x2b5)](),this['_sessionStatus$'][_0x524ba0(0x2b5)](),this[_0x524ba0(0x449)]();}[_0x2def39(0x4c2)](_0x21c3fe){var _0x4bb81a=_0x2def39;_0x21c3fe[_0x4bb81a(0x410)]===F[_0x4bb81a(0x4a1)]?this[_0x4bb81a(0x25a)](_0x21c3fe):_0x21c3fe[_0x4bb81a(0x410)]===F['RECV']&&this[_0x4bb81a(0x3cd)](_0x21c3fe);}[_0x2def39(0x20f)](_0x477f05){var _0x364487=_0x2def39;this[_0x364487(0x4b6)]['next'](0x1),_0x477f05[_0x364487(0x225)]({'cmd':F[_0x364487(0x4a1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x211c7e){var _0x1e78a2=_0x2def39,_0x560951;if(_0x211c7e[_0x1e78a2(0x321)]in Kt){this[_0x1e78a2(0x412)][_0x1e78a2(0x2ab)]({'id':se[_0x1e78a2(0x2e6)],'data':Kt[_0x211c7e[_0x1e78a2(0x321)]]}),this['_sessionStatus$'][_0x1e78a2(0x42d)](0x2);return;}this['_sessionStatus$'][_0x1e78a2(0x42d)](0x3);const _0x16ba4d=(_0x560951=_0x211c7e[_0x1e78a2(0x4a8)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x560951['members'];_0x16ba4d&&_0x16ba4d[_0x1e78a2(0x2b0)](_0x58520e=>this[_0x1e78a2(0x212)][_0x1e78a2(0x255)](this[_0x1e78a2(0x3a6)],_0x58520e));}[_0x2def39(0x3cd)](_0x2c2d6a){var _0x1324c9=_0x2def39;try{const _0x1f88d5=_0x2c2d6a[_0x1324c9(0x4a8)];switch(_0x1f88d5[_0x1324c9(0x219)]){case _0x59103b[_0x1324c9(0x467)]:this[_0x1324c9(0x398)](_0x1f88d5),this[_0x1324c9(0x41e)][_0x1324c9(0x42d)](_0x1f88d5);break;case _0x59103b[_0x1324c9(0x203)]:this['_onUserLeave'](_0x1f88d5),this['_event$'][_0x1324c9(0x42d)](_0x1f88d5);break;case _0x59103b[_0x1324c9(0x42a)]:case _0x59103b[_0x1324c9(0x266)]:this[_0x1324c9(0x1e3)](),this[_0x1324c9(0x3e0)](),this['_event$'][_0x1324c9(0x42d)](_0x1f88d5);break;case _0x59103b[_0x1324c9(0x2c1)]:this[_0x1324c9(0x3a5)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x1324c9(0x1c3)](_0x1f88d5)),this[_0x1324c9(0x41e)]['next'](_0x1f88d5);break;case _0x59103b[_0x1324c9(0x3cb)]:this[_0x1324c9(0x3d7)][_0x1324c9(0x40b)](_0x1f88d5[_0x1324c9(0x4a8)]),this['_event$'][_0x1324c9(0x42d)](_0x1f88d5);break;default:this['_event$'][_0x1324c9(0x42d)](_0x1f88d5);}}catch(_0x5a751f){this[_0x1324c9(0x3a5)][_0x1324c9(0x40e)](_0x5a751f,_0x2c2d6a);}}['_onUserJoin'](_0x5162e2){var _0x4618b3=_0x2def39;this[_0x4618b3(0x212)][_0x4618b3(0x255)](this[_0x4618b3(0x3a6)],_0x5162e2[_0x4618b3(0x4a8)]);}[_0x2def39(0x377)](_0x4e6d6d){var _0x134dc3=_0x2def39;this[_0x134dc3(0x212)][_0x134dc3(0x295)](this[_0x134dc3(0x3a6)],_0x4e6d6d[_0x134dc3(0x4a8)][_0x134dc3(0x2b9)]);}async[_0x2def39(0x225)](_0x40497c,_0x22875b){var _0x1d4572=_0x2def39;if(this['sessionStatus']!==0x3||!this[_0x1d4572(0x273)])throw new Error(_0x1d4572(0x460));try{_0x40497c['eventID']===_0x59103b[_0x1d4572(0x375)]&&(this[_0x1d4572(0x209)](),this[_0x1d4572(0x297)](_0x40497c)),this['_socket']['send']({'cmd':F[_0x1d4572(0x1cf)],'routeKey':_0x22875b,'routeType':'','data':_0x40497c});}catch(_0x24daa6){this[_0x1d4572(0x3a5)]['error'](_0x24daa6);}}[_0x2def39(0x209)](){var _0x363262=_0x2def39,_0xe8fe8;this[_0x363262(0x31e)]=setTimeout(()=>{var _0x43cc92=_0x363262;this[_0x43cc92(0x31e)]=null,this[_0x43cc92(0x412)]['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xe8fe8=this[_0x363262(0x313)][_0x363262(0x287)](mi))!=null?_0xe8fe8:gi);}[_0x2def39(0x3e0)](){var _0x289d14=_0x2def39;this[_0x289d14(0x31e)]&&(clearTimeout(this[_0x289d14(0x31e)]),this['_collaborationTimeoutTimer']=null);}[_0x2def39(0x297)](_0x3512a5){var _0x52a4e9=_0x2def39;if(!this[_0x52a4e9(0x2e0)])return;const {data:_0x21a03a}=_0x3512a5,{unitID:_0x1fcc20,changeset:_0x5402ef}=_0x21a03a,{mutations:_0x3b327c,type:_0x4fb0ed}=_0x5402ef;this[_0x52a4e9(0x1d5)]={'unitId':_0x1fcc20,'type':_0x4fb0ed,'startTime':performance[_0x52a4e9(0x3a4)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x3b327c)};}[_0x2def39(0x1e3)](){var _0x295fc8=_0x2def39;if(this['_shouldReportTelemetry']){if(!this[_0x295fc8(0x1d5)]){this[_0x295fc8(0x3a5)][_0x295fc8(0x40e)](_0x295fc8(0x470),_0x295fc8(0x359));return;}this[_0x295fc8(0x1d5)]['stopTime']=performance[_0x295fc8(0x3a4)](),this[_0x295fc8(0x1d5)][_0x295fc8(0x40c)]=this['_telemetryInfo'][_0x295fc8(0x3a3)]-this[_0x295fc8(0x1d5)][_0x295fc8(0x3fe)],this[_0x295fc8(0x468)][_0x295fc8(0x2a1)]($r,this[_0x295fc8(0x1d5)]),this[_0x295fc8(0x1d5)]=null;}}[_0x2def39(0x1c4)](){var _0x1d8e32=_0x2def39;this[_0x1d8e32(0x1d5)]=null;}};Et=Vr([me(0x2,_0x2a6e14),me(0x3,_0x331d3e),me(0x4,_0x1d5a06(_0x5a3153)),me(0x5,_0x1d5a06(xe)),me(0x6,_0x1d5a06(Ti)),me(0x7,_0x1d5a06(pe)),me(0x8,_0x1641f7(_0x221974))],Et);var Wr=Object['getOwnPropertyDescriptor'],Kr=(_0xebf31b,_0x6e4016,_0x2f408e,_0x529dd9)=>{var _0x2c88fb=_0x2def39;for(var _0x217d62=_0x529dd9>0x1?void 0x0:_0x529dd9?Wr(_0x6e4016,_0x2f408e):_0x6e4016,_0x2ae5a5=_0xebf31b[_0x2c88fb(0x4c1)]-0x1,_0x24b259;_0x2ae5a5>=0x0;_0x2ae5a5--)(_0x24b259=_0xebf31b[_0x2ae5a5])&&(_0x217d62=_0x24b259(_0x217d62)||_0x217d62);return _0x217d62;},be=(_0x559eea,_0x370eb9)=>(_0x249576,_0x767580)=>_0x370eb9(_0x249576,_0x767580,_0x559eea);let Le=class extends _0x32d82b{constructor(_0xfcb6a4,_0x57a5c1,_0x5b0b28,_0x51326c,_0x5b7611,_0x51a2da){var _0x3975f4=_0x2def39;super(),N(this,_0x3975f4(0x473),new _0x3f3cf2(void 0x0)),N(this,_0x3975f4(0x3e9),this['_socket$']['asObservable']()),N(this,_0x3975f4(0x328),null),N(this,_0x3975f4(0x3b4),new Map()),N(this,_0x3975f4(0x227),new _0x3f3cf2(Ee[_0x3975f4(0x420)])),N(this,'status$',this[_0x3975f4(0x227)][_0x3975f4(0x29c)]()),N(this,_0x3975f4(0x49a),!0x1),N(this,_0x3975f4(0x21f)),N(this,_0x3975f4(0x425),0x0),N(this,_0x3975f4(0x3ab)),N(this,_0x3975f4(0x1f2)),(this['_injector']=_0xfcb6a4,this['_logService']=_0x57a5c1,this[_0x3975f4(0x313)]=_0x5b0b28,this[_0x3975f4(0x3d5)]=_0x51326c,this[_0x3975f4(0x412)]=_0x5b7611,this[_0x3975f4(0x3ef)]=_0x51a2da,this['_listenToNetworkCondition']());}get[_0x2def39(0x273)](){var _0x13a593=_0x2def39;return this[_0x13a593(0x473)]['getValue']();}[_0x2def39(0x244)](){var _0x5811b4=_0x2def39;this[_0x5811b4(0x3ef)]&&this[_0x5811b4(0x259)](this[_0x5811b4(0x3ef)][_0x5811b4(0x1d7)][_0x5811b4(0x415)](_0x496847=>{var _0x29601a=_0x5811b4;_0x496847&&!this['_socket']&&this[_0x29601a(0x40f)](),_0x496847||this[_0x29601a(0x29b)]();}));}[_0x2def39(0x449)](){var _0x531a49=_0x2def39;super[_0x531a49(0x449)](),this[_0x531a49(0x267)](),this[_0x531a49(0x49b)](),this['_clearHeartbeatTimer'](),this[_0x531a49(0x3b4)][_0x531a49(0x2b0)](_0x4433fc=>_0x4433fc['dispose']()),this[_0x531a49(0x3b4)]['clear'](),this[_0x531a49(0x227)]['complete']();}async['requireSession'](_0x17cf30){var _0x5be721=_0x2def39;if(this['_sessions'][_0x5be721(0x2c2)](_0x17cf30))return this[_0x5be721(0x3b4)][_0x5be721(0x229)](_0x17cf30);this[_0x5be721(0x48f)]();const _0x1da052=this[_0x5be721(0x45f)][_0x5be721(0x36e)](Et,_0x17cf30,this['_socket$'][_0x5be721(0x29c)]());return this['_sessions'][_0x5be721(0x47f)](_0x17cf30,_0x1da052),_0x1da052;}['closeSession'](_0x3fc1f3){var _0x59563e=_0x2def39,_0x3c3414;const _0x28394c=this['_sessions']['get'](_0x3fc1f3);_0x28394c&&(this[_0x59563e(0x3b4)][_0x59563e(0x1d9)](_0x3fc1f3),_0x28394c[_0x59563e(0x454)]()),this[_0x59563e(0x3b4)]['size']||(_0x3c3414=this[_0x59563e(0x273)])==null||_0x3c3414[_0x59563e(0x454)]();}[_0x2def39(0x40f)](){var _0x344eee=_0x2def39;this[_0x344eee(0x425)]=0x0,this[_0x344eee(0x267)](),this[_0x344eee(0x3bf)]();}[_0x2def39(0x267)](){var _0x1df34c=_0x2def39;this[_0x1df34c(0x21f)]!=null&&(clearTimeout(this[_0x1df34c(0x21f)]),this[_0x1df34c(0x21f)]=null);}async[_0x2def39(0x48d)](){var _0x2b9feb=_0x2def39,_0x4e6b0e,_0x4de66c;const _0x26d525=this[_0x2b9feb(0x313)][_0x2b9feb(0x287)](Er),_0x462631=this[_0x2b9feb(0x313)][_0x2b9feb(0x287)](q),_0x2ea8c1=(_0x4de66c=(_0x4e6b0e=_0x462631==null?void 0x0:_0x462631[_0x2b9feb(0x360)])!=null?_0x4e6b0e:_0x26d525)!=null?_0x4de66c:Ir,_0x5af819=await this[_0x2b9feb(0x3d5)][_0x2b9feb(0x48c)](_0x2ea8c1);return this[_0x2b9feb(0x328)]=_0x5af819,_0x5af819;}async[_0x2def39(0x48f)](){var _0x127f0b=_0x2def39,_0x5c1e6a,_0x12f54d;try{const _0x87477a=(_0x12f54d=(_0x5c1e6a=this[_0x127f0b(0x273)])!=null?_0x5c1e6a:this[_0x127f0b(0x328)])!=null?_0x12f54d:await this[_0x127f0b(0x48d)]();if(_0x87477a){const _0x4c4ffc=_0x87477a['send'];_0x87477a[_0x127f0b(0x225)]=_0x4aedbc=>(this[_0x127f0b(0x4bc)](),_0x4c4ffc[_0x127f0b(0x22f)](_0x87477a,[_0x4aedbc])),_0x87477a[_0x127f0b(0x37c)][_0x127f0b(0x415)](_0x10c978=>this[_0x127f0b(0x38b)](_0x87477a,_0x10c978)),_0x87477a[_0x127f0b(0x1ea)][_0x127f0b(0x1e9)](_0x399a37(0x1))[_0x127f0b(0x415)](_0x1ef49c=>this[_0x127f0b(0x3a5)]['error'](_0x127f0b(0x210),_0x1ef49c)),_0x87477a[_0x127f0b(0x42c)][_0x127f0b(0x1e9)](_0x399a37(0x1))[_0x127f0b(0x415)](()=>{this['_onConnectionOpen'](_0x87477a);}),_0x87477a[_0x127f0b(0x34e)][_0x127f0b(0x1e9)](_0x399a37(0x1))['subscribe'](_0x7b1072=>{var _0x2b5f2d=_0x127f0b;this[_0x2b5f2d(0x3a5)]['debug'](_0x2b5f2d(0x4a9),_0x2b5f2d(0x1dc),_0x7b1072),this[_0x2b5f2d(0x2b1)]();});}}catch(_0x1aaaa1){this[_0x127f0b(0x3a5)][_0x127f0b(0x40e)](_0x1aaaa1),this[_0x127f0b(0x2b1)]();}}[_0x2def39(0x3d4)](_0x54f9fd){var _0x3edba8=_0x2def39;this[_0x3edba8(0x3a5)][_0x3edba8(0x3b3)](_0x3edba8(0x4a9),_0x3edba8(0x34a)),_0x54f9fd[_0x3edba8(0x225)]({'cmd':F[_0x3edba8(0x4af)]}),this[_0x3edba8(0x4bc)]();}[_0x2def39(0x29b)](){var _0x4520c9=_0x2def39;this[_0x4520c9(0x49a)]=!0x1,this[_0x4520c9(0x328)]=null,this['_status$'][_0x4520c9(0x42d)](Ee[_0x4520c9(0x1c6)]),this[_0x4520c9(0x473)][_0x4520c9(0x42d)](null),this['_clearTimeoutTimer'](),this[_0x4520c9(0x2bb)]();}[_0x2def39(0x2b1)](){var _0x51ddb2=_0x2def39,_0x10755c;this[_0x51ddb2(0x29b)](),this['_retryCount']<((_0x10755c=this[_0x51ddb2(0x313)]['getConfig'](br))!=null?_0x10755c:yr)?(this[_0x51ddb2(0x412)][_0x51ddb2(0x2ab)]({'id':se[_0x51ddb2(0x49c)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x51ddb2(0x2ab)]({'id':se[_0x51ddb2(0x1fd)]});}[_0x2def39(0x3bf)](){var _0x346044=_0x2def39,_0x12e4bb;const _0x241883=this[_0x346044(0x425)],_0x374ea3=this[_0x346044(0x313)][_0x346044(0x287)](q),_0x506b97=_0x241883===0x0?0x0:((_0x12e4bb=_0x374ea3==null?void 0x0:_0x374ea3[_0x346044(0x312)])!=null?_0x12e4bb:Rr)*0x2**_0x241883;this[_0x346044(0x21f)]=setTimeout(()=>{var _0x143512=_0x346044;clearTimeout(this[_0x143512(0x21f)]),this[_0x143512(0x21f)]=null,this[_0x143512(0x48f)]();},_0x506b97),this[_0x346044(0x425)]+=0x1;}[_0x2def39(0x38b)](_0x55850f,_0x5d7782){var _0x3eea83=_0x2def39;const {cmd:_0x540b9f}=_0x5d7782;_0x540b9f===F[_0x3eea83(0x4af)]&&!this[_0x3eea83(0x49a)]&&(_0x55850f[_0x3eea83(0x2b9)]=_0x5d7782[_0x3eea83(0x4a8)][_0x3eea83(0x2b9)],this[_0x3eea83(0x473)]['next'](_0x55850f),this[_0x3eea83(0x227)]['next'](Ee[_0x3eea83(0x2d8)]),this['_socketReady']=!0x0,this[_0x3eea83(0x328)]=null),_0x540b9f===F['HEARTBEAT']&&this[_0x3eea83(0x49b)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x1b2e01=_0x2def39,_0x41d8b7;this[_0x1b2e01(0x2bb)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1b2e01(0x42b)](),(_0x41d8b7=this[_0x1b2e01(0x313)][_0x1b2e01(0x287)](Tr))!=null?_0x41d8b7:Cr);}[_0x2def39(0x42b)](){var _0x13330b=_0x2def39;this[_0x13330b(0x273)][_0x13330b(0x225)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2def39(0x386)](){var _0x33962b=_0x2def39,_0x4d2ef0;this['_timeoutTimer']=setTimeout(()=>this[_0x33962b(0x2b1)](),(_0x4d2ef0=this[_0x33962b(0x313)][_0x33962b(0x287)](mi))!=null?_0x4d2ef0:gi);}['_clearHeartbeatTimer'](){var _0x36e2d1=_0x2def39;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x36e2d1(0x3ab)]=null);}[_0x2def39(0x49b)](){var _0x5c63e2=_0x2def39;this[_0x5c63e2(0x1f2)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5c63e2(0x1f2)]=null);}};Le=Kr([be(0x0,_0x1d5a06(_0x2e75b3)),be(0x1,_0x2a6e14),be(0x2,_0x331d3e),be(0x3,Ii),be(0x4,_0x1d5a06(pe)),be(0x5,_0x1641f7(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)['slice'](0x1));function Yr(_0x23027b,_0x383f37=0x0){return(G[_0x23027b[_0x383f37+0x0]]+G[_0x23027b[_0x383f37+0x1]]+G[_0x23027b[_0x383f37+0x2]]+G[_0x23027b[_0x383f37+0x3]]+'-'+G[_0x23027b[_0x383f37+0x4]]+G[_0x23027b[_0x383f37+0x5]]+'-'+G[_0x23027b[_0x383f37+0x6]]+G[_0x23027b[_0x383f37+0x7]]+'-'+G[_0x23027b[_0x383f37+0x8]]+G[_0x23027b[_0x383f37+0x9]]+'-'+G[_0x23027b[_0x383f37+0xa]]+G[_0x23027b[_0x383f37+0xb]]+G[_0x23027b[_0x383f37+0xc]]+G[_0x23027b[_0x383f37+0xd]]+G[_0x23027b[_0x383f37+0xe]]+G[_0x23027b[_0x383f37+0xf]])['toLowerCase']();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x366e10=_0x2def39;if(!ut){if(typeof crypto>'u'||!crypto[_0x366e10(0x21e)])throw new Error(_0x366e10(0x2a2));ut=crypto[_0x366e10(0x21e)][_0x366e10(0x2c5)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x2def39(0x33d)]&&crypto[_0x2def39(0x33d)][_0x2def39(0x2c5)](crypto),Yt={'randomUUID':Jr};function Xr(_0x4a6e9f,_0x54bb16,_0x354b5a){var _0x30778=_0x2def39,_0x4e096d,_0x2b96fc,_0x363d0c;if(Yt[_0x30778(0x33d)]&&!_0x4a6e9f)return Yt[_0x30778(0x33d)]();_0x4a6e9f=_0x4a6e9f||{};const _0xbbe5ca=(_0x363d0c=(_0x2b96fc=_0x4a6e9f['random'])!=null?_0x2b96fc:(_0x4e096d=_0x4a6e9f['rng'])==null?void 0x0:_0x4e096d['call'](_0x4a6e9f))!=null?_0x363d0c:zr();if(_0xbbe5ca['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0xbbe5ca[0x6]=_0xbbe5ca[0x6]&0xf|0x40,_0xbbe5ca[0x8]=_0xbbe5ca[0x8]&0x3f|0x80,Yr(_0xbbe5ca);}const J=_0x2bea4c(_0x2def39(0x331));function Bs(_0x499ee){var _0x3b833e=_0x2def39;return _0x3b833e(0x345)+_0x499ee;}var Zr=Object[_0x2def39(0x37b)],Qr=(_0x17ee79,_0x3b920b,_0x2481d7,_0x36fee6)=>{var _0x5c0b9b=_0x2def39;for(var _0x433f1f=_0x36fee6>0x1?void 0x0:_0x36fee6?Zr(_0x3b920b,_0x2481d7):_0x3b920b,_0x5ad96d=_0x17ee79[_0x5c0b9b(0x4c1)]-0x1,_0x25a49f;_0x5ad96d>=0x0;_0x5ad96d--)(_0x25a49f=_0x17ee79[_0x5ad96d])&&(_0x433f1f=_0x25a49f(_0x433f1f)||_0x433f1f);return _0x433f1f;},dt=(_0x7a9bf9,_0x20627b)=>(_0x5d92c1,_0x20122e)=>_0x20627b(_0x5d92c1,_0x20122e,_0x7a9bf9);function en(_0x31209c){var _0x45c1ac=_0x2def39;const {unitID:_0x2e622e,mutations:_0x3aefb4}=_0x31209c;return{'unitId':_0x2e622e,'subUnitId':_0x3aefb4[0x0][_0x45c1ac(0x1f3)][_0x45c1ac(0x416)]};}let it=class{constructor(_0x3735d1,_0x2c0c61,_0x5cea75){var _0x1a3a4d=_0x2def39;this['_injector']=_0x3735d1,this['_transformService']=_0x2c0c61,this[_0x1a3a4d(0x281)]=_0x5cea75;}[_0x2def39(0x246)](_0x5668d9){var _0x47f050=_0x2def39,_0x2dd6a5,_0x4dfcfe,_0x4b560b,_0x4f07de;const _0x588255=this[_0x47f050(0x45f)][_0x47f050(0x229)](_0x1b000a),{unitId:_0x48aa7e,subUnitId:_0x334aea}=en(_0x5668d9),_0x1a3898=_0x588255==null?void 0x0:_0x588255[_0x47f050(0x356)](_0x48aa7e)[_0x47f050(0x476)](),_0x5b533b=(_0x4dfcfe=(_0x2dd6a5=this['_instanceService'][_0x47f050(0x409)](_0x48aa7e))==null?void 0x0:_0x2dd6a5[_0x47f050(0x28e)]())==null?void 0x0:_0x4dfcfe[_0x47f050(0x47d)]();if(_0x1a3898['length']===0x0||!_0x48aa7e||!_0x334aea)return;const _0x40ac5c=[{'id':_0x125f4e['id'],'params':{'unitId':_0x48aa7e,'subUnitId':_0x5b533b,'selections':_0xce1078[_0x47f050(0x48b)](_0x1a3898)}}],_0x3aa4ff=this[_0x47f050(0x427)][_0x47f050(0x45d)](_0x5668d9,_0x40ac5c);if(!_0x4d9b18(_0x3aa4ff))throw _0x3aa4ff['error'];const _0x59a7ec=(_0x4f07de=(_0x4b560b=_0x3aa4ff['m2Prime'][0x0])==null?void 0x0:_0x4b560b[_0x47f050(0x1f3)])==null?void 0x0:_0x4f07de[_0x47f050(0x230)];if(Array['isArray'](_0x59a7ec)&&_0x59a7ec[_0x47f050(0x4c1)]){if(_0x59a7ec[_0x47f050(0x4c1)]===_0x40ac5c[0x0]['params'][_0x47f050(0x230)][_0x47f050(0x4c1)]&&_0x59a7ec[_0x47f050(0x46d)]((_0x3c5dc7,_0x1e5add)=>_0xb5c063[_0x47f050(0x4c0)](_0x3c5dc7[_0x47f050(0x30d)],_0x40ac5c[0x0][_0x47f050(0x1f3)]['selections'][_0x1e5add][_0x47f050(0x30d)])))return;this[_0x47f050(0x45f)][_0x47f050(0x229)](_0x422ee1)[_0x47f050(0x274)](_0x125f4e['id'],{'unitId':_0x48aa7e,'subUnitId':_0x5b533b,'selections':_0x59a7ec});}}};it=Qr([dt(0x0,_0x1d5a06(_0x2e75b3)),dt(0x1,_0x1ddd96),dt(0x2,_0xc85a44)],it);const ht=_0x2bea4c('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x5581ab=>(_0x5581ab[_0x5581ab[_0x2def39(0x322)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5581ab[_0x5581ab[_0x2def39(0x3d0)]=0x1]=_0x2def39(0x3d0),_0x5581ab))(Ci||{});const tn=new Set([_0x20bf58['id']]);function qt(_0x328695,_0x345b42,_0x2c6be1,_0x1b2c41,_0xdc673b){var _0x3d7ae5=_0x2def39,_0x2e5d9f,_0x4e052c,_0x56ba90,_0x1ba4f1;const _0x5830e2=[];for(const _0xcab453 of _0x328695)if(tn['has'](_0xcab453['id'])){if(_0x5830e2[_0x3d7ae5(0x4c1)]>0x0)break;_0x5830e2['push'](_0xcab453);break;}else _0x5830e2[_0x3d7ae5(0x47a)](_0xcab453);const _0x502e58=(_0x4e052c=(_0x2e5d9f=_0xdc673b[_0x3d7ae5(0x301)]())==null?void 0x0:_0x2e5d9f['userID'])!=null?_0x4e052c:_0x3d7ae5(0x270),_0x21fd2a=(_0x1ba4f1=(_0x56ba90=_0xdc673b[_0x3d7ae5(0x301)]())==null?void 0x0:_0x56ba90[_0x3d7ae5(0x2b9)])!=null?_0x1ba4f1:_0x3d7ae5(0x270);return{'changeset':{'unitID':_0x345b42,'type':_0x7142d(_0x2c6be1[_0x3d7ae5(0x4ba)](_0x345b42)),'baseRev':_0x1b2c41[_0x3d7ae5(0x232)](_0x345b42),'revision':0x0,'userID':_0x502e58,'memberID':_0x21fd2a,'mutations':_0x5830e2},'pendingMutations':_0x328695[_0x3d7ae5(0x1e1)](_0x5830e2['length'])};}function rn(_0x4b170e,_0x2d9cde,_0x7c5ce4,_0x2bf5b9,_0x4d8cb7){var _0x259ed=_0x2def39,_0x31dc09,_0x32f306,_0x5b1c95,_0x59f08b;const _0xf5b6c5=[_0x4b170e['reduce']((_0x146eb1,_0x498547)=>{var _0x34705a=_0x51d5,_0x130a32;const {id:_0x29f976}=_0x146eb1,{id:_0x144756,type:_0x3557ba}=_0x498547,_0xd80b76=(_0x130a32=_0x146eb1[_0x34705a(0x1f3)])!=null?_0x130a32:{'actions':null},_0x5a6b53=_0x498547[_0x34705a(0x1f3)];if(_0x29f976&&_0x29f976!==_0x144756)throw new Error(_0x34705a(0x4a6)+_0x29f976+_0x34705a(0x3ea)+_0x144756+'.');return{..._0x146eb1,'id':_0x144756,'type':_0x3557ba,'params':{'unitId':_0x5a6b53[_0x34705a(0x4ab)],'textRanges':_0x5a6b53[_0x34705a(0x202)],'actions':_0x1b8ae3[_0x34705a(0x38c)](_0xd80b76[_0x34705a(0x298)],_0x5a6b53[_0x34705a(0x298)])}};},{})],_0x6a3f89=(_0x32f306=(_0x31dc09=_0x4d8cb7[_0x259ed(0x301)]())==null?void 0x0:_0x31dc09[_0x259ed(0x2f0)])!=null?_0x32f306:_0x259ed(0x270),_0x11d74c=(_0x59f08b=(_0x5b1c95=_0x4d8cb7[_0x259ed(0x301)]())==null?void 0x0:_0x5b1c95[_0x259ed(0x2b9)])!=null?_0x59f08b:_0x259ed(0x270);return{'changeset':{'unitID':_0x2d9cde,'type':_0x7142d(_0x7c5ce4[_0x259ed(0x4ba)](_0x2d9cde)),'baseRev':_0x2bf5b9[_0x259ed(0x232)](_0x2d9cde),'revision':0x0,'userID':_0x6a3f89,'memberID':_0x11d74c,'mutations':_0xf5b6c5},'pendingMutations':[]};}function Ri(_0x4c02fa,_0x2ac238){var _0x222cdf=_0x2def39;const _0x3c5224=new _0x239fa2(0x1);return setTimeout(()=>_0x3c5224['next'](_0x2ac238),_0x4c02fa),_0x3c5224[_0x222cdf(0x29c)]()[_0x222cdf(0x1e9)](_0x5637eb(0x1));}const nn={'id':_0x5bf77e['id'],'type':_0x4be2d9[_0x2def39(0x304)],'params':{}};var sn=Object[_0x2def39(0x37b)],Te=(_0x3c0f92,_0x72b7d6,_0x4d4580,_0x37e475)=>{var _0xeddb1a=_0x2def39;for(var _0x29ea18=_0x37e475>0x1?void 0x0:_0x37e475?sn(_0x72b7d6,_0x4d4580):_0x72b7d6,_0xe8433f=_0x3c0f92[_0xeddb1a(0x4c1)]-0x1,_0xa2df58;_0xe8433f>=0x0;_0xe8433f--)(_0xa2df58=_0x3c0f92[_0xe8433f])&&(_0x29ea18=_0xa2df58(_0x29ea18)||_0x29ea18);return _0x29ea18;},P=(_0x5ee149,_0x5781a3)=>(_0x208ee2,_0x2432dc)=>_0x5781a3(_0x208ee2,_0x2432dc,_0x5ee149),bi=(_0x54d205=>(_0x54d205['NOT_COLLAB']='not_collab',_0x54d205[_0x2def39(0x41f)]=_0x2def39(0x239),_0x54d205[_0x2def39(0x4c3)]='pending',_0x54d205[_0x2def39(0x385)]='awaiting',_0x54d205[_0x2def39(0x293)]=_0x2def39(0x361),_0x54d205[_0x2def39(0x1fc)]=_0x2def39(0x4b2),_0x54d205[_0x2def39(0x317)]=_0x2def39(0x277),_0x54d205[_0x2def39(0x1c6)]=_0x2def39(0x462),_0x54d205))(bi||{});const yi=0xea60;class Ce{constructor(_0xf8e23,_0x205825,_0x44d54e,_0x56bcf9,_0x427ae5,_0x57d464,_0x2d816c,_0x50ef66,_0x296b88){var _0x57d50e=_0x2def39;N(this,_0x57d50e(0x32a),null),N(this,_0x57d50e(0x4b9),[]),(this[_0x57d50e(0x2b4)]=_0xf8e23,this['type']=_0x205825,this[_0x57d50e(0x3b1)]=_0x427ae5,this[_0x57d50e(0x2b2)]=_0x57d464,this[_0x57d50e(0x332)]=_0x2d816c,this['_revisionService']=_0x50ef66,this[_0x57d50e(0x24f)]=_0x296b88,this[_0x57d50e(0x32a)]=_0x44d54e,this[_0x57d50e(0x4b9)]=_0x56bcf9);}['_checkMissing'](_0x4d11ce){var _0x158eb3=_0x2def39;const _0x234246=this[_0x158eb3(0x2b7)]['getCurrentRevOfUnit'](this['unitID']);return _0x4d11ce[_0x158eb3(0x428)]>_0x234246+0x1?(this[_0x158eb3(0x3b1)][_0x158eb3(0x21b)]({'from':_0x234246,'to':_0x4d11ce['revision']-0x1}),!0x0):!0x1;}[_0x2def39(0x2df)](_0x4e0d0a){var _0x21830b=_0x2def39;this['_undoRedoService'][_0x21830b(0x235)](this[_0x21830b(0x2b4)],_0x4e0d0a);}[_0x2def39(0x48e)](_0x3410dd){var _0x5cab0f=_0x2def39,_0x332598,_0x300b6f;(_0x300b6f=(_0x332598=this[_0x5cab0f(0x3b1)])['onTransformSelections'])==null||_0x300b6f[_0x5cab0f(0x2ce)](_0x332598,_0x3410dd);}[_0x2def39(0x34d)](_0x440acc){var _0xf1da2f=_0x2def39,_0x5cee70,_0x41b9df;return(_0x41b9df=(_0x5cee70=this[_0xf1da2f(0x3b1)])[_0xf1da2f(0x338)])==null?void 0x0:_0x41b9df[_0xf1da2f(0x2ce)](_0x5cee70,_0x440acc);}[_0x2def39(0x43c)](_0x48ca0b){var _0x2bde55=_0x2def39,_0x1a0bb7,_0x2dc2ad;return(_0x2dc2ad=(_0x1a0bb7=this[_0x2bde55(0x3b1)])['onTransformState'])==null?void 0x0:_0x2dc2ad[_0x2bde55(0x2ce)](_0x1a0bb7,_0x48ca0b);}[_0x2def39(0x268)](_0x159d7e){var _0x172a82=_0x2def39,_0x1f1458,_0x121cad,_0x5feb5f;return(_0x5feb5f=(_0x121cad=(_0x1f1458=this['_handler'])[_0x172a82(0x444)])==null?void 0x0:_0x121cad[_0x172a82(0x2ce)](_0x1f1458,_0x159d7e))!=null?_0x5feb5f:_0x159d7e;}[_0x2def39(0x256)](_0x335080){var _0x571e11=_0x2def39,_0x457b4f,_0xb9040d,_0x50e4f4;return(_0x50e4f4=(_0xb9040d=(_0x457b4f=this[_0x571e11(0x3b1)])[_0x571e11(0x271)])==null?void 0x0:_0xb9040d['call'](_0x457b4f,_0x335080))!=null?_0x50e4f4:_0x335080;}[_0x2def39(0x26c)](_0x5f5552){var _0x26765c=_0x2def39,_0x430881,_0x5a1a25;if(this[_0x26765c(0x204)]===Q[_0x26765c(0x307)]){const {unitID:_0x3a68ae,mutations:_0x71ca1f,memberID:_0x552173}=_0x5f5552,_0x1788cb=_0x71ca1f[0x0][_0x26765c(0x1f3)][_0x26765c(0x202)];Array[_0x26765c(0x4bb)](_0x1788cb)&&_0x1788cb['length']>0x0&&((_0x5a1a25=(_0x430881=this[_0x26765c(0x3b1)])[_0x26765c(0x257)])==null||_0x5a1a25['call'](_0x430881,{'unitID':_0x3a68ae,'memberID':_0x552173,'textRanges':_0x1788cb}));}}[_0x2def39(0x358)](){var _0x559790=_0x2def39,_0x558010;(_0x558010=this[_0x559790(0x24f)])==null||_0x558010['updateOfflineData'](this[_0x559790(0x2b4)],this[_0x559790(0x204)],this[_0x559790(0x32a)],this[_0x559790(0x4b9)]);}[_0x2def39(0x429)](){var _0x157b35=_0x2def39;return this[_0x157b35(0x2b7)][_0x157b35(0x232)](this[_0x157b35(0x2b4)]);}[_0x2def39(0x1c9)](){var _0x184e21=_0x2def39;this['_revisionService']['incrementRevOfUnit'](this[_0x184e21(0x2b4)]);}['_executeRemoteChangeset'](_0x230239){var _0x3ea7a2=_0x2def39,_0x3019ea;let _0x1f6bc8=this[_0x3ea7a2(0x268)](_0x230239);_0x1f6bc8=this[_0x3ea7a2(0x256)](_0x1f6bc8);const _0x208186=_0x33ef2c(_0x1f6bc8['mutations'],this[_0x3ea7a2(0x2b2)],{'fromCollab':!0x0});if(!_0x208186['result'])throw _0x208186[_0x3ea7a2(0x40e)]instanceof Error?_0x208186['error']:new Error((_0x3019ea=_0x208186[_0x3ea7a2(0x40e)])!=null?_0x3019ea:_0x3ea7a2(0x352));this[_0x3ea7a2(0x34d)](_0x1f6bc8),this['_transformStateCache'](_0x1f6bc8),this[_0x3ea7a2(0x2df)](_0x230239),this[_0x3ea7a2(0x48e)](_0x1f6bc8),this[_0x3ea7a2(0x26c)](_0x1f6bc8),this[_0x3ea7a2(0x1c9)]();}}let Ne=class extends Ce{constructor(_0x5867ee,_0x30b7ef,_0x4a8b89,_0x234652,_0x46ff6e,_0x57cc63,_0x42ffff,_0xc7108d,_0x35f742,_0x54cbee){var _0x52c9d2=_0x2def39;super(_0x5867ee,_0x30b7ef,null,[],_0x4a8b89,_0x42ffff,_0x57cc63,_0x234652,_0x54cbee),N(this,'status',_0x52c9d2(0x239)),(this['_injector']=_0x46ff6e,this[_0x52c9d2(0x3a5)]=_0xc7108d,this[_0x52c9d2(0x427)]=_0x35f742,this['localCacheService']=_0x54cbee);}[_0x2def39(0x463)](_0x1541b2){var _0x9c0c19=_0x2def39;const _0xe42616=this[_0x9c0c19(0x45f)][_0x9c0c19(0x36e)](oe,this['unitID'],this[_0x9c0c19(0x204)],[_0x1541b2],this[_0x9c0c19(0x3b1)]);return _0xe42616[_0x9c0c19(0x3c0)](),_0xe42616[_0x9c0c19(0x358)](),_0xe42616;}['onRemoteChangeset'](_0x411239){var _0x432171=_0x2def39;if(this['_checkMissing'](_0x411239))return this['_injector']['createInstance'](ee,this[_0x432171(0x2b4)],this[_0x432171(0x204)],null,[],null,[_0x411239],this[_0x432171(0x3b1)]);try{const _0x21c664=this[_0x432171(0x427)]['transformMutationsWithChangeset'](_0x411239,[nn]);if(_0x4d9b18(_0x21c664)){const {c1Prime:_0x2ea02}=_0x21c664;return this['_executeRemoteChangeset'](_0x2ea02),this;}throw _0x21c664['error'];}catch(_0x23c77f){return this[_0x432171(0x3a5)][_0x432171(0x40e)](_0x23c77f),this[_0x432171(0x3f8)](!0x1);}}[_0x2def39(0x3f8)](_0x20be5a){var _0x443d36=_0x2def39;return this[_0x443d36(0x45f)][_0x443d36(0x36e)](ue,this['unitID'],this[_0x443d36(0x204)],null,[],this[_0x443d36(0x3b1)],_0x20be5a);}['onRemoteAck'](){var _0x10a535=_0x2def39;throw new Error(_0x10a535(0x3db));}[_0x2def39(0x21a)](){var _0x2fae57=_0x2def39;throw new Error(_0x2fae57(0x1e6));}[_0x2def39(0x237)](){return this;}[_0x2def39(0x1e7)](){var _0xb1ed28=_0x2def39;return this[_0xb1ed28(0x45f)][_0xb1ed28(0x36e)](de,this[_0xb1ed28(0x2b4)],this['type'],null,[],this[_0xb1ed28(0x3b1)]);}['toggleOnline'](){return this;}[_0x2def39(0x374)](){var _0xba5b=_0x2def39;throw new Error(_0xba5b(0x286));}[_0x2def39(0x1c5)](){var _0x45068a=_0x2def39;const _0x4e5b4f=this['_revisionService'][_0x45068a(0x232)](this[_0x45068a(0x2b4)]);return this['_handler']['onMissingChangesets']({'from':_0x4e5b4f,'to':0x0}),this[_0x45068a(0x45f)][_0x45068a(0x36e)](ee,this[_0x45068a(0x2b4)],this[_0x45068a(0x204)],null,[],null,[],this[_0x45068a(0x3b1)]);}};Ne=Te([P(0x3,_0x1d5a06(_0x5e5812)),P(0x4,_0x1d5a06(_0x2e75b3)),P(0x5,_0x436cbf),P(0x6,_0x422ee1),P(0x7,_0x2a6e14),P(0x8,_0x1ddd96),P(0x9,_0x1641f7(J))],Ne);let oe=class extends Ce{constructor(_0x3e854d,_0x5f4be1,_0x45ae43,_0x33e093,_0x198e84,_0x47caaa,_0x1d1f20,_0x194583,_0x390d38,_0x3f1ad1,_0x4c145f,_0x5f5246,_0x74ef7d,_0x341d84){var _0x2f5262=_0x2def39;super(_0x3e854d,_0x5f4be1,null,_0x45ae43,_0x33e093,_0x390d38,_0x74ef7d,_0x47caaa,_0x341d84),N(this,_0x2f5262(0x432),_0x2f5262(0x33b)),N(this,_0x2f5262(0x306),null),N(this,_0x2f5262(0x1d4),null),(this[_0x2f5262(0x45f)]=_0x198e84,this[_0x2f5262(0x212)]=_0x1d1f20,this[_0x2f5262(0x3a5)]=_0x194583,this[_0x2f5262(0x313)]=_0x3f1ad1,this[_0x2f5262(0x427)]=_0x4c145f,this[_0x2f5262(0x1e5)]=_0x5f5246);}[_0x2def39(0x463)](_0x2deca4){var _0x3ec943=_0x2def39;return this[_0x3ec943(0x4b9)][_0x3ec943(0x47a)](_0x2deca4),this[_0x3ec943(0x358)](),this;}['onRemoteChangeset'](_0x37707f){var _0x19c0a9=_0x2def39;if(this['_checkMissing'](_0x37707f))return this['_clearScheduledTask'](),this['_injector'][_0x19c0a9(0x36e)](ee,this[_0x19c0a9(0x2b4)],this[_0x19c0a9(0x204)],null,this['_pendingMutations'],null,[_0x37707f],this[_0x19c0a9(0x3b1)]);try{const _0x187403=this[_0x19c0a9(0x427)][_0x19c0a9(0x45d)](_0x37707f,this[_0x19c0a9(0x4b9)]);if(_0x4d9b18(_0x187403)){const {c1Prime:_0x43840e,m2Prime:_0x1283ce}=_0x187403;this[_0x19c0a9(0x309)](_0x43840e);const _0x53301b=this[_0x19c0a9(0x45f)][_0x19c0a9(0x36e)](oe,this['unitID'],this['type'],_0x1283ce,this[_0x19c0a9(0x3b1)]);this[_0x19c0a9(0x36a)]();const _0x407e2d=new Date()[_0x19c0a9(0x1ff)](),_0x3cd389=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x19c0a9(0x306)]-_0x407e2d,0x0):this['_getSendChangesetTimeout']();return _0x53301b[_0x19c0a9(0x3c0)](_0x3cd389),_0x53301b;}throw _0x187403[_0x19c0a9(0x40e)];}catch(_0x2a0b36){return this[_0x19c0a9(0x3a5)][_0x19c0a9(0x40e)](_0x2a0b36),this[_0x19c0a9(0x3f8)](!0x1);}}['onRemoteAck'](){var _0x2823fe=_0x2def39;throw new Error(_0x2823fe(0x2bc));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4bb9e9=_0x2def39;return this[_0x4bb9e9(0x36a)](),this['_injector']['createInstance'](de,this[_0x4bb9e9(0x2b4)],this['type'],null,this[_0x4bb9e9(0x4b9)],this[_0x4bb9e9(0x3b1)]);}[_0x2def39(0x4ae)](){return this;}['_schedule'](_0xb8172f){var _0x5cfb0f=_0x2def39;const _0x3a9624=_0xb8172f!=null?_0xb8172f:this[_0x5cfb0f(0x207)]();this[_0x5cfb0f(0x306)]=new Date()[_0x5cfb0f(0x1ff)]()+_0x3a9624,this['_sendingTimer']=setTimeout(()=>{var _0x23ba24=_0x5cfb0f;this[_0x23ba24(0x36a)]();let _0x11033f=null;switch(this[_0x23ba24(0x204)]){case Q[_0x23ba24(0x3ba)]:{_0x11033f=qt(this[_0x23ba24(0x4b9)],this[_0x23ba24(0x2b4)],this[_0x23ba24(0x1e5)],this[_0x23ba24(0x2b7)],this[_0x23ba24(0x212)]);break;}case Q[_0x23ba24(0x307)]:{this[_0x23ba24(0x4b9)]['every'](_0x3125a3=>_0x3125a3['id']===_0x5d0776['id'])?_0x11033f=rn(this['_pendingMutations'],this[_0x23ba24(0x2b4)],this['_univerInstanceService'],this[_0x23ba24(0x2b7)],this[_0x23ba24(0x212)]):_0x11033f=qt(this[_0x23ba24(0x4b9)],this['unitID'],this[_0x23ba24(0x1e5)],this['_revisionService'],this[_0x23ba24(0x212)]);break;}default:throw new Error(_0x23ba24(0x2ac)+this[_0x23ba24(0x204)]+'\x20in\x20_schedule.');}const {changeset:_0xf3fb8c,pendingMutations:_0x3580a7}=_0x11033f;this[_0x23ba24(0x3b1)][_0x23ba24(0x216)](_0xf3fb8c);const _0x3a58db=_0x3580a7[_0x23ba24(0x4c1)]?this['_injector'][_0x23ba24(0x36e)](ae,this[_0x23ba24(0x2b4)],this[_0x23ba24(0x204)],_0xf3fb8c,_0x3580a7,this['_handler'],void 0x0):this['_injector'][_0x23ba24(0x36e)](le,this['unitID'],this[_0x23ba24(0x204)],_0xf3fb8c,this[_0x23ba24(0x3b1)]);_0x3a58db[_0x23ba24(0x358)](),this[_0x23ba24(0x3b1)][_0x23ba24(0x3e3)](this,_0x3a58db);},_0x3a9624);}[_0x2def39(0x207)](){var _0x5ca2f9=_0x2def39,_0x48c699;const _0x82cb3=this[_0x5ca2f9(0x313)][_0x5ca2f9(0x287)](q);return(_0x48c699=_0x82cb3==null?void 0x0:_0x82cb3[_0x5ca2f9(0x37e)])!=null?_0x48c699:Sr;}[_0x2def39(0x374)](){var _0x393c2d=_0x2def39;throw new Error(_0x393c2d(0x4a0));}[_0x2def39(0x36a)](){var _0x336053=_0x2def39;this['_sendingTimer']!=null&&(clearTimeout(this[_0x336053(0x1d4)]),this[_0x336053(0x1d4)]=null);}[_0x2def39(0x3f8)](_0x5413e0){var _0xc2e128=_0x2def39;return this[_0xc2e128(0x36a)](),this['_injector'][_0xc2e128(0x36e)](ue,this['unitID'],this[_0xc2e128(0x204)],null,this[_0xc2e128(0x4b9)],this[_0xc2e128(0x3b1)],_0x5413e0);}};oe=Te([P(0x4,_0x1d5a06(_0x2e75b3)),P(0x5,_0x1d5a06(_0x5e5812)),P(0x6,_0x1d5a06(xe)),P(0x7,_0x2a6e14),P(0x8,_0x422ee1),P(0x9,_0x331d3e),P(0xa,_0x1ddd96),P(0xb,_0xc85a44),P(0xc,_0x436cbf),P(0xd,_0x1641f7(J))],oe);let le=class extends Ce{constructor(_0x3748b0,_0x18ee02,_0x1da627,_0x1e42db,_0x3876e2,_0x164500,_0x5b5b5e,_0x546bb8,_0x446bf3,_0x34fe2e,_0x576dd1){var _0x3496b2=_0x2def39;super(_0x3748b0,_0x18ee02,_0x1da627,[],_0x1e42db,_0x5b5b5e,_0x34fe2e,_0x164500,_0x576dd1),N(this,_0x3496b2(0x432),_0x3496b2(0x46a)),N(this,_0x3496b2(0x45a),0x0),N(this,_0x3496b2(0x2d1)),N(this,'_sender'),(this[_0x3496b2(0x45f)]=_0x3876e2,this[_0x3496b2(0x3a5)]=_0x546bb8,this['_transformService']=_0x446bf3);}['appendMutation'](_0x4860e5){var _0x1301d6=_0x2def39;this['_clearScheduledTask']();const _0x1fbcb0=this['_injector'][_0x1301d6(0x36e)](ae,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x4860e5],this[_0x1301d6(0x3b1)],this[_0x1301d6(0x2d1)]);return _0x1fbcb0[_0x1301d6(0x358)](),_0x1fbcb0;}['onRemoteChangeset'](_0x5c5521){var _0x21dadb=_0x2def39;if(this[_0x21dadb(0x2cb)](_0x5c5521))return this['_clearScheduledTask'](),this[_0x21dadb(0x45f)][_0x21dadb(0x36e)](ee,this[_0x21dadb(0x2b4)],this[_0x21dadb(0x204)],this['_awaitingChangeset'],[],null,[_0x5c5521],this['_handler']);try{const _0x1eac48=this[_0x21dadb(0x427)][_0x21dadb(0x252)]([_0x5c5521],[this[_0x21dadb(0x32a)]],!0x1);if(_0x38aabe(_0x1eac48)){const {c1Prime:_0x9b7bde,c2Prime:_0x282588}=_0x1eac48;this[_0x21dadb(0x309)](_0x9b7bde[0x0]),_0x282588[0x0][_0x21dadb(0x471)]=this[_0x21dadb(0x429)](),this['_clearScheduledTask']();const _0x143b3f=this[_0x21dadb(0x45f)][_0x21dadb(0x36e)](le,this[_0x21dadb(0x2b4)],this['type'],_0x282588[0x0],this[_0x21dadb(0x3b1)]);return _0x143b3f['_updateLocalCache'](),_0x143b3f;}return this['_onConflict'](!0x1);}catch(_0x5bff55){return this[_0x21dadb(0x3a5)][_0x21dadb(0x40e)](_0x5bff55),this['_onConflict'](!0x1);}}[_0x2def39(0x2a0)](_0x353c8f){var _0x3b8565=_0x2def39;this[_0x3b8565(0x36a)]();const _0x52754c=this[_0x3b8565(0x2b7)][_0x3b8565(0x232)](this[_0x3b8565(0x2b4)]);if(_0x353c8f[_0x3b8565(0x428)]<_0x52754c-0x1)return this;if(this[_0x3b8565(0x2cb)](_0x353c8f))return this[_0x3b8565(0x45f)][_0x3b8565(0x36e)](ee,this[_0x3b8565(0x2b4)],this[_0x3b8565(0x204)],null,[],this['_awaitingChangeset'],[],this[_0x3b8565(0x3b1)]);this[_0x3b8565(0x1c9)]();const _0x3e67cb=this[_0x3b8565(0x45f)][_0x3b8565(0x36e)](Ne,this['unitID'],this[_0x3b8565(0x204)],this[_0x3b8565(0x3b1)]);return _0x3e67cb[_0x3b8565(0x358)](),_0x3e67cb;}['onRemoteRej'](_0x5841d8){var _0xc22bef=_0x2def39;return this[_0xc22bef(0x3f8)](!!(_0x5841d8!=null&&_0x5841d8[_0xc22bef(0x46b)]));}[_0x2def39(0x237)](_0x121c8b){var _0x50c358=_0x2def39;return this['_resendTimeout']>yi?this[_0x50c358(0x1e7)]():(this[_0x50c358(0x2d1)]=Ri(this[_0x50c358(0x45a)],{'timeout':this[_0x50c358(0x45a)],'reqId':_0x121c8b[_0x50c358(0x3a0)]}),this[_0x50c358(0x42f)]=this['_resendTimer'][_0x50c358(0x415)](({reqId:_0x51436e,timeout:_0x132ca4})=>{var _0x1a6f46=_0x50c358;this[_0x1a6f46(0x458)](_0x51436e,_0x132ca4);}),this);}[_0x2def39(0x1e7)](){var _0x3ffd8a=_0x2def39;return this[_0x3ffd8a(0x36a)](),this['_injector'][_0x3ffd8a(0x36e)](de,this['unitID'],this[_0x3ffd8a(0x204)],this['_awaitingChangeset'],[],this[_0x3ffd8a(0x3b1)]);}[_0x2def39(0x4ae)](){return this;}['resend'](){var _0x371392=_0x2def39;this[_0x371392(0x3b1)][_0x371392(0x216)](this[_0x371392(0x32a)]);}[_0x2def39(0x3f8)](_0x200cce){var _0x39e84b=_0x2def39;return this[_0x39e84b(0x36a)](),this[_0x39e84b(0x45f)]['createInstance'](ue,this[_0x39e84b(0x2b4)],this[_0x39e84b(0x204)],this[_0x39e84b(0x32a)],[],this[_0x39e84b(0x3b1)],_0x200cce);}[_0x2def39(0x458)](_0x1a1455,_0x4ea69b){var _0x3cb20e=_0x2def39,_0x335649;_0x1a1455===((_0x335649=this['_awaitingChangeset'])==null?void 0x0:_0x335649['reqId'])&&(this[_0x3cb20e(0x374)](),this[_0x3cb20e(0x45a)]=_0x4ea69b===0x0?0x3e8:_0x4ea69b*0x2);}['_clearScheduledTask'](){var _0x5ef252=_0x2def39,_0x21e0b3;(_0x21e0b3=this[_0x5ef252(0x42f)])==null||_0x21e0b3[_0x5ef252(0x24a)](),this[_0x5ef252(0x45a)]=0x0;}};le=Te([P(0x4,_0x1d5a06(_0x2e75b3)),P(0x5,_0x1d5a06(_0x5e5812)),P(0x6,_0x422ee1),P(0x7,_0x2a6e14),P(0x8,_0x1ddd96),P(0x9,_0x436cbf),P(0xa,_0x1641f7(J))],le);let ae=class extends Ce{constructor(_0x3369e0,_0x140f7c,_0x25306b,_0x201015,_0xd8a274,_0x1ba509,_0x251cf9,_0x1792e7,_0x322ff1,_0x6e9c29,_0x150040,_0x17cdc4,_0x5aef9e){var _0x2e79be=_0x2def39;super(_0x3369e0,_0x140f7c,_0x25306b,_0x201015,_0xd8a274,_0x322ff1,_0x17cdc4,_0x1792e7,_0x5aef9e),N(this,'status',_0x2e79be(0x361)),N(this,_0x2e79be(0x45a),0x0),N(this,_0x2e79be(0x2d1)),N(this,_0x2e79be(0x42f)),(this[_0x2e79be(0x45f)]=_0x251cf9,this[_0x2e79be(0x3a5)]=_0x6e9c29,this[_0x2e79be(0x427)]=_0x150040,this[_0x2e79be(0x407)]=_0x5aef9e,_0x1ba509&&(this[_0x2e79be(0x2d1)]=_0x1ba509,this[_0x2e79be(0x42f)]=this[_0x2e79be(0x2d1)]['subscribe'](({reqId:_0x1ad5cd,timeout:_0x5d2589})=>{this['_resendWithTimeout'](_0x1ad5cd,_0x5d2589);})));}[_0x2def39(0x463)](_0x58a802){var _0x393938=_0x2def39;return this[_0x393938(0x4b9)]['push'](_0x58a802),this;}[_0x2def39(0x45c)](_0x167e99){var _0x83a866=_0x2def39;if(this[_0x83a866(0x2cb)](_0x167e99))return this['_clearScheduledTask'](),this[_0x83a866(0x45f)][_0x83a866(0x36e)](ee,this[_0x83a866(0x2b4)],this[_0x83a866(0x204)],this['_awaitingChangeset'],this[_0x83a866(0x4b9)],null,[_0x167e99],this[_0x83a866(0x3b1)]);try{const _0x20a2d5=this['_transformService'][_0x83a866(0x252)]([_0x167e99],[this[_0x83a866(0x32a)]],!0x1);if(_0x38aabe(_0x20a2d5)){const {c1Prime:_0x258920,c2Prime:_0x165155}=_0x20a2d5,_0x57550a=this[_0x83a866(0x427)][_0x83a866(0x45d)](_0x258920[0x0],this['_pendingMutations']);if(_0x4d9b18(_0x57550a)){const {c1Prime:_0x518b49,m2Prime:_0x3a9944}=_0x57550a;return this[_0x83a866(0x309)](_0x518b49),_0x165155[0x0][_0x83a866(0x471)]=this[_0x83a866(0x429)](),this[_0x83a866(0x36a)](),this[_0x83a866(0x45f)][_0x83a866(0x36e)](ae,this[_0x83a866(0x2b4)],this[_0x83a866(0x204)],_0x165155[0x0],_0x3a9944,this['_handler'],void 0x0);}throw _0x57550a[_0x83a866(0x40e)];}throw _0x20a2d5[_0x83a866(0x40e)];}catch(_0x26493e){return this['_logService'][_0x83a866(0x40e)](_0x26493e),this['_onConflict'](!0x1);}}[_0x2def39(0x2a0)](_0x61265e){var _0x331036=_0x2def39;if(this[_0x331036(0x36a)](),this[_0x331036(0x2cb)](_0x61265e))return this[_0x331036(0x45f)]['createInstance'](ee,this[_0x331036(0x2b4)],this[_0x331036(0x204)],null,this[_0x331036(0x4b9)],this['_awaitingChangeset'],[],this[_0x331036(0x3b1)]);this[_0x331036(0x1c9)]();const _0x49591a=this['_injector']['createInstance'](oe,this[_0x331036(0x2b4)],this['type'],this[_0x331036(0x4b9)],this[_0x331036(0x3b1)]);return _0x49591a[_0x331036(0x3c0)](),_0x49591a['_updateLocalCache'](),_0x49591a;}[_0x2def39(0x21a)](_0x58b322){var _0x4c5733=_0x2def39;return this[_0x4c5733(0x3f8)](!!(_0x58b322!=null&&_0x58b322[_0x4c5733(0x46b)]));}[_0x2def39(0x237)](_0x2c8187){var _0x27f973=_0x2def39;return this[_0x27f973(0x45a)]>yi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x27f973(0x45a)],{'timeout':this[_0x27f973(0x45a)],'reqId':_0x2c8187[_0x27f973(0x3a0)]}),this[_0x27f973(0x42f)]=this[_0x27f973(0x2d1)][_0x27f973(0x415)](({reqId:_0x2508ab,timeout:_0xa1aec2})=>{this['_resendWithTimeout'](_0x2508ab,_0xa1aec2);}),this);}[_0x2def39(0x1e7)](){var _0x3cbe38=_0x2def39;return this[_0x3cbe38(0x36a)](),this[_0x3cbe38(0x45f)][_0x3cbe38(0x36e)](de,this['unitID'],this[_0x3cbe38(0x204)],this[_0x3cbe38(0x32a)],this[_0x3cbe38(0x4b9)],this[_0x3cbe38(0x3b1)]);}['toggleOnline'](){return this;}['resend'](){var _0x18c5e8=_0x2def39;this[_0x18c5e8(0x3b1)]['onSendChangeset'](this[_0x18c5e8(0x32a)]);}[_0x2def39(0x3f8)](_0x59d8ba){var _0x5b2925=_0x2def39;return this[_0x5b2925(0x36a)](),this['_injector'][_0x5b2925(0x36e)](ue,this[_0x5b2925(0x2b4)],this[_0x5b2925(0x204)],null,this[_0x5b2925(0x4b9)],this[_0x5b2925(0x3b1)],_0x59d8ba);}['_resendWithTimeout'](_0x1b955d,_0x9def1e){var _0x5b397a=_0x2def39,_0x1a7557;_0x1b955d===((_0x1a7557=this['_awaitingChangeset'])==null?void 0x0:_0x1a7557['reqId'])&&(this[_0x5b397a(0x374)](),this['_resendTimeout']=_0x9def1e===0x0?0x3e8:_0x9def1e*0x2);}[_0x2def39(0x36a)](){var _0x25fabd=_0x2def39,_0x2aefa3;(_0x2aefa3=this['_sender'])==null||_0x2aefa3['unsubscribe'](),this[_0x25fabd(0x45a)]=0x0;}};ae=Te([P(0x6,_0x1d5a06(_0x2e75b3)),P(0x7,_0x1d5a06(_0x5e5812)),P(0x8,_0x422ee1),P(0x9,_0x2a6e14),P(0xa,_0x1ddd96),P(0xb,_0x436cbf),P(0xc,_0x1641f7(J))],ae);let ue=class extends Ce{constructor(_0x31989a,_0x275f6b,_0x577b14,_0x4ffdb9,_0x3672a0,_0x398a36=!0x1,_0x1ef1c6,_0x5aa7dc,_0x4f9569,_0x48edcf,_0x421012,_0x4b74f6,_0x506c31){var _0x4b0a56=_0x2def39;super(_0x31989a,_0x275f6b,_0x577b14,_0x4ffdb9,_0x3672a0,_0x5aa7dc,_0x4f9569,_0x48edcf,_0x506c31),N(this,_0x4b0a56(0x432),'conflict'),(this['_isPermissionRej']=_0x398a36,this[_0x4b0a56(0x447)]=_0x1ef1c6,this[_0x4b0a56(0x22d)]=_0x421012,this[_0x4b0a56(0x412)]=_0x4b74f6,this[_0x4b0a56(0x407)]=_0x506c31,this[_0x4b0a56(0x43d)](),this[_0x4b0a56(0x1c8)](),this['_disableEditing']());}[_0x2def39(0x463)](){return this;}[_0x2def39(0x45c)](){return this;}['onRemoteAck'](){return this;}[_0x2def39(0x21a)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2def39(0x4ae)](){return this;}['resend'](){var _0x14259d=_0x2def39;throw new Error(_0x14259d(0x32e));}[_0x2def39(0x1c8)](){var _0x33de77=_0x2def39,_0x226ac5;(_0x226ac5=this[_0x33de77(0x24f)])==null||_0x226ac5[_0x33de77(0x484)](this[_0x33de77(0x2b4)],this[_0x33de77(0x204)],null,[]);}[_0x2def39(0x43d)](){var _0xc4abc5=_0x2def39;this[_0xc4abc5(0x498)]?this[_0xc4abc5(0x412)][_0xc4abc5(0x2ab)]({'id':se[_0xc4abc5(0x250)]}):this[_0xc4abc5(0x412)]['emitEvent']({'id':se[_0xc4abc5(0x317)]});}['_disableEditing'](){this['_permissionService']['updatePermissionPoint'](new _0x305304(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x1d5a06(_0x1bf615)),P(0x7,_0x422ee1),P(0x8,_0x436cbf),P(0x9,_0x1d5a06(_0x5e5812)),P(0xa,_0x1d5a06(_0x5a3153)),P(0xb,_0x1d5a06(pe)),P(0xc,_0x1641f7(J))],ue);let de=class extends Ce{constructor(_0x35ae07,_0x4a1069,_0x3e2631,_0x39033e,_0x2ff929,_0x443ac7,_0x31ccc1,_0x2db6ae,_0x51c7a4,_0x3555ae){var _0x5d2d45=_0x2def39;super(_0x35ae07,_0x4a1069,_0x3e2631,_0x39033e,_0x2ff929,_0x2db6ae,_0x51c7a4,_0x31ccc1,_0x3555ae),N(this,_0x5d2d45(0x432),_0x5d2d45(0x462)),this[_0x5d2d45(0x45f)]=_0x443ac7;}['appendMutation'](_0x14d9e8){var _0x4a6d1c=_0x2def39;return this['_pendingMutations'][_0x4a6d1c(0x47a)](_0x14d9e8),this[_0x4a6d1c(0x358)](),this;}['onRemoteChangeset'](_0x3d734d){var _0x2f1517=_0x2def39;throw new Error(_0x2f1517(0x3d6));}[_0x2def39(0x2a0)](){var _0x23f236=_0x2def39;throw new Error(_0x23f236(0x2eb));}[_0x2def39(0x21a)](){var _0x377abf=_0x2def39;throw new Error(_0x377abf(0x3b5));}['onRemoteRetry'](){return this;}[_0x2def39(0x1e7)](){return this;}[_0x2def39(0x4ae)](){var _0x4cef32=_0x2def39;const {_injector:_0x493376,_pendingMutations:_0x29f24e,_awaitingChangeset:_0x2a1504,unitID:_0x33e0bd,_handler:_0x14fb5a,type:_0x26774c}=this,_0x5f3c0f=Oi(_0x493376,_0x33e0bd,_0x26774c,_0x2a1504,_0x29f24e,_0x14fb5a);return _0x5f3c0f instanceof oe?_0x5f3c0f[_0x4cef32(0x3c0)]():(_0x5f3c0f instanceof ae||_0x5f3c0f instanceof le)&&_0x5f3c0f[_0x4cef32(0x374)](),_0x5f3c0f;}[_0x2def39(0x374)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x1d5a06(_0x2e75b3)),P(0x6,_0x1d5a06(_0x5e5812)),P(0x7,_0x422ee1),P(0x8,_0x436cbf),P(0x9,_0x1641f7(J))],de);let ee=class extends Ce{constructor(_0x44659e,_0x13d390,_0x43612d,_0xdd1bfb,_0x24f84f,_0x3accb1,_0x44f470,_0x1ff18b,_0x196b88,_0x980519,_0x443d88,_0xbb7cdf,_0x4f25df,_0xea6340){var _0x21c109=_0x2def39;super(_0x44659e,_0x13d390,_0x43612d,_0xdd1bfb,_0x44f470,_0x443d88,_0xbb7cdf,_0x196b88,_0xea6340),N(this,'status',_0x21c109(0x4b2)),(this[_0x21c109(0x2d9)]=_0x24f84f,this[_0x21c109(0x34c)]=_0x3accb1,this[_0x21c109(0x45f)]=_0x1ff18b,this['_logService']=_0x980519,this[_0x21c109(0x427)]=_0x4f25df,this[_0x21c109(0x407)]=_0xea6340);}[_0x2def39(0x43e)](_0x1bf680){var _0x4d9ad3=_0x2def39;try{const _0x5d372b=[..._0x1bf680,...this['_queuedRemoteChangesets']],_0x3aa832=[this[_0x4d9ad3(0x32a)]||this[_0x4d9ad3(0x2d9)]][_0x4d9ad3(0x2e8)](_0x1b2e35=>!!_0x1b2e35);let _0x4054c2,_0x26d582;if(_0x3aa832[_0x4d9ad3(0x4c1)]){const _0x4821f1=this['_transformService'][_0x4d9ad3(0x252)](_0x5d372b,_0x3aa832,!0x1);if(!_0x38aabe(_0x4821f1))throw _0x4821f1[_0x4d9ad3(0x40e)];_0x4054c2=_0x4821f1[_0x4d9ad3(0x490)],_0x26d582=_0x4821f1[_0x4d9ad3(0x20a)];}else _0x4054c2=_0x5d372b,_0x26d582=[];let _0x3320a3=this[_0x4d9ad3(0x4b9)];_0x4054c2[_0x4d9ad3(0x2b0)](_0x28a61b=>{var _0xa3c44e=_0x4d9ad3;let _0x2b59fb;if(_0x3320a3[_0xa3c44e(0x4c1)]){const _0x503251=this[_0xa3c44e(0x427)][_0xa3c44e(0x45d)](_0x28a61b,_0x3320a3);if(!_0x4d9b18(_0x503251))throw _0x503251['error'];_0x2b59fb=_0x503251['c1Prime'],_0x3320a3=_0x503251[_0xa3c44e(0x446)];}else _0x2b59fb=_0x28a61b;this['_executeRemoteChangeset'](_0x2b59fb);}),this[_0x4d9ad3(0x2d9)]&&this[_0x4d9ad3(0x1c9)](),this[_0x4d9ad3(0x32a)]&&_0x26d582[_0x4d9ad3(0x4c1)]&&(_0x26d582[0x0][_0x4d9ad3(0x471)]=this[_0x4d9ad3(0x429)]());let _0x522ea0;if(this[_0x4d9ad3(0x32a)]&&_0x3320a3[_0x4d9ad3(0x4c1)]!==0x0)_0x522ea0=this[_0x4d9ad3(0x45f)]['createInstance'](ae,this[_0x4d9ad3(0x2b4)],this[_0x4d9ad3(0x204)],_0x26d582[0x0],_0x3320a3,this['_handler'],void 0x0);else{if(this[_0x4d9ad3(0x32a)]&&_0x3320a3['length']===0x0)_0x26d582[0x0][_0x4d9ad3(0x471)]=this['_getCurrentRevision'](),_0x522ea0=this[_0x4d9ad3(0x45f)][_0x4d9ad3(0x36e)](le,this[_0x4d9ad3(0x2b4)],this[_0x4d9ad3(0x204)],_0x26d582[0x0],this[_0x4d9ad3(0x3b1)]);else{if(_0x3320a3['length']!==0x0){const _0x1bc555=this[_0x4d9ad3(0x45f)]['createInstance'](oe,this[_0x4d9ad3(0x2b4)],this[_0x4d9ad3(0x204)],_0x3320a3,this[_0x4d9ad3(0x3b1)]);_0x1bc555[_0x4d9ad3(0x3c0)](),_0x522ea0=_0x1bc555;}else _0x522ea0=this['_injector'][_0x4d9ad3(0x36e)](Ne,this[_0x4d9ad3(0x2b4)],this['type'],this['_handler']);}}return _0x522ea0['_updateLocalCache'](),_0x522ea0;}catch(_0x224009){return this[_0x4d9ad3(0x3a5)][_0x4d9ad3(0x40e)](_0x4d9ad3(0x296),_0x4d9ad3(0x2af),_0x224009),this[_0x4d9ad3(0x45f)][_0x4d9ad3(0x36e)](ue,this[_0x4d9ad3(0x2b4)],this[_0x4d9ad3(0x204)],this[_0x4d9ad3(0x32a)],this[_0x4d9ad3(0x4b9)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2def39(0x463)](_0x422180){var _0x20095e=_0x2def39;return this['_pendingMutations'][_0x20095e(0x47a)](_0x422180),this;}[_0x2def39(0x45c)](_0x3ce1ed){var _0x17b116=_0x2def39;return this[_0x17b116(0x34c)][_0x17b116(0x47a)](_0x3ce1ed),this;}[_0x2def39(0x2a0)](_0x2a1fea){var _0x50767f=_0x2def39;if(this[_0x50767f(0x32a)])return this['_acknowledgedAwaitingChangeset']=this[_0x50767f(0x32a)],this[_0x50767f(0x32a)]=null,this;throw new Error(_0x50767f(0x25b));}[_0x2def39(0x21a)](_0x5ee30a){var _0x582403=_0x2def39;return this[_0x582403(0x3f8)](!!(_0x5ee30a!=null&&_0x5ee30a['isPermissionRej']));}[_0x2def39(0x237)](){return this;}[_0x2def39(0x1e7)](){var _0xd941dc=_0x2def39;return this[_0xd941dc(0x45f)]['createInstance'](de,this[_0xd941dc(0x2b4)],this[_0xd941dc(0x204)],this[_0xd941dc(0x32a)],this['_pendingMutations'],this[_0xd941dc(0x3b1)]);}[_0x2def39(0x4ae)](){return this;}[_0x2def39(0x3f8)](_0x16bf60){var _0xb45506=_0x2def39;return this[_0xb45506(0x45f)]['createInstance'](ue,this[_0xb45506(0x2b4)],this['type'],this['_awaitingChangeset'],this[_0xb45506(0x4b9)],this[_0xb45506(0x3b1)],_0x16bf60);}};ee=Te([P(0x7,_0x1d5a06(_0x2e75b3)),P(0x8,_0x1d5a06(_0x5e5812)),P(0x9,_0x2a6e14),P(0xa,_0x422ee1),P(0xb,_0x436cbf),P(0xc,_0x1ddd96),P(0xd,_0x1641f7(J))],ee);function Oi(_0x2205f8,_0x28ec65,_0x25e212,_0x6aa1a1,_0x50487a,_0x5d84ad){var _0x3cd7e5=_0x2def39;return _0x6aa1a1&&_0x50487a[_0x3cd7e5(0x4c1)]?_0x2205f8[_0x3cd7e5(0x36e)](ae,_0x28ec65,_0x25e212,_0x6aa1a1,_0x50487a,_0x5d84ad,void 0x0):_0x6aa1a1?_0x2205f8['createInstance'](le,_0x28ec65,_0x25e212,_0x6aa1a1,_0x5d84ad):_0x50487a[_0x3cd7e5(0x4c1)]?_0x2205f8['createInstance'](oe,_0x28ec65,_0x25e212,_0x50487a,_0x5d84ad):_0x2205f8[_0x3cd7e5(0x36e)](Ne,_0x28ec65,_0x25e212,_0x5d84ad);}var on=Object[_0x2def39(0x37b)],xt=(_0x32feee,_0x1b9c4b,_0x5c229,_0x18a975)=>{var _0x57be86=_0x2def39;for(var _0x5bb36b=_0x18a975>0x1?void 0x0:_0x18a975?on(_0x1b9c4b,_0x5c229):_0x1b9c4b,_0x321c01=_0x32feee[_0x57be86(0x4c1)]-0x1,_0x9b102c;_0x321c01>=0x0;_0x321c01--)(_0x9b102c=_0x32feee[_0x321c01])&&(_0x5bb36b=_0x9b102c(_0x5bb36b)||_0x5bb36b);return _0x5bb36b;},H=(_0x4ebf57,_0x4942ff)=>(_0x5c4d03,_0x38ff44)=>_0x4942ff(_0x5c4d03,_0x38ff44,_0x4ebf57);let rt=class extends _0x27aa9d{constructor(_0x1db799,_0x3eaaaa,_0x27d9ed,_0x5d323c,_0x502d28,_0x3cd45f,_0x5137e9,_0x529a81,_0x39c016,_0x262447,_0x13f79c,_0x4e7b83,_0x2010cc){var _0xb16941=_0x2def39;super(),N(this,'_state$',new _0x3f3cf2(null)),N(this,'state$',this[_0xb16941(0x3b9)][_0xb16941(0x29c)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0xb16941(0x20b),0x0),N(this,_0xb16941(0x362),this['state$'][_0xb16941(0x1e9)](_0x2db1b6(_0x558251=>_0x558251?_0x558251[_0xb16941(0x432)]:bi['OFFLINE']),_0x30595c(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0xb16941(0x335),[]),(this[_0xb16941(0x2b4)]=_0x1db799,this[_0xb16941(0x389)]=_0x3eaaaa,this[_0xb16941(0x1ce)]=_0x27d9ed,this['_injector']=_0x5d323c,this['_compressMutationService']=_0x502d28,this[_0xb16941(0x22d)]=_0x3cd45f,this[_0xb16941(0x2b7)]=_0x5137e9,this[_0xb16941(0x347)]=_0x529a81,this['_logService']=_0x39c016,this['_commandService']=_0x262447,this[_0xb16941(0x447)]=_0x13f79c,this[_0xb16941(0x223)]=_0x4e7b83,this['_localCacheService']=_0x2010cc);}get['state'](){return this['_state'];}async[_0x2def39(0x2d2)](){var _0x6cc163=_0x2def39;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x6cc163(0x308)]();}['pauseCollaboration'](){var _0x4ed1cc=_0x2def39;return this[_0x4ed1cc(0x2a8)]=!0x0,_0x497432(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2def39(0x2ae)](_0x330407){var _0x2b5d80=_0x2def39;this[_0x2b5d80(0x28b)](_0x330407);}[_0x2def39(0x2f6)](_0x4aaad5){var _0x826588=_0x2def39;this['_state']=_0x4aaad5,this[_0x826588(0x3b9)][_0x826588(0x42d)](_0x4aaad5);}async[_0x2def39(0x308)](){var _0x4e80a9=_0x2def39,_0x2c430a;this[_0x4e80a9(0x2f6)](await this['_createInitialState']()),this[_0x4e80a9(0x223)]&&((_0x2c430a=this['_singleActiveUnitService'])==null||_0x2c430a[_0x4e80a9(0x3ae)](this[_0x4e80a9(0x2b4)]),this['disposeWithMe'](this[_0x4e80a9(0x223)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x5f02d8=>{var _0x54fbe4=_0x4e80a9;this['_logService']['debug'](_0x54fbe4(0x2de),'editing\x20status\x20changed\x20to',_0x5f02d8),_0x5f02d8===Ci[_0x54fbe4(0x3d0)]?(this[_0x54fbe4(0x347)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x54fbe4(0x447)][_0x54fbe4(0x3f1)](new _0x305304(this[_0x54fbe4(0x2b4)])['id'],!0x1),this[_0x54fbe4(0x447)][_0x54fbe4(0x3e5)](!0x1)):(this[_0x54fbe4(0x447)][_0x54fbe4(0x3f1)](new _0x305304(this[_0x54fbe4(0x2b4)])['id'],!0x0),this[_0x54fbe4(0x447)][_0x54fbe4(0x3e5)](!0x0));})));let _0x3d01ae=!0x1;return this[_0x4e80a9(0x259)](this[_0x4e80a9(0x389)][_0x4e80a9(0x39c)]['subscribe'](_0x5ce9d2=>{var _0xde2a52=_0x4e80a9;_0x5ce9d2===Ee[_0xde2a52(0x2d8)]?this[_0xde2a52(0x2a4)](_0x3d01ae):_0x5ce9d2===Ee['OFFLINE']&&(_0x3d01ae=!0x0,this[_0xde2a52(0x3cf)]());})),this['disposeWithMe'](this[_0x4e80a9(0x389)][_0x4e80a9(0x44c)][_0x4e80a9(0x415)](_0x5c946a=>{var _0x4337b3=_0x4e80a9;try{switch(_0x5c946a[_0x4337b3(0x219)]){case _0x59103b[_0x4337b3(0x29f)]:{this[_0x4337b3(0x395)](_0x23d9ab(_0x5c946a['data']));break;}case _0x59103b[_0x4337b3(0x42a)]:{this[_0x4337b3(0x433)](_0x5c946a['data']);break;}case _0x59103b[_0x4337b3(0x452)]:{this['_onRemoteRejected']();break;}case _0x59103b[_0x4337b3(0x266)]:{this[_0x4337b3(0x2e7)](_0x5c946a['data']);break;}case _0x59103b[_0x4337b3(0x264)]:{this[_0x4337b3(0x4b1)](_0x5c946a[_0x4337b3(0x4a8)][_0x4337b3(0x2a3)][_0x4337b3(0x443)](_0x203dcd=>_0x23d9ab(_0x203dcd)));break;}case _0x59103b[_0x4337b3(0x3eb)]:{this[_0x4337b3(0x3f0)]({'isPermissionRej':!0x0});break;}case _0x59103b[_0x4337b3(0x23a)]:break;}}catch(_0x5ae8bc){throw console[_0x4337b3(0x40e)](_0x4337b3(0x388),_0x5ae8bc),_0x5ae8bc;}})),this[_0x4e80a9(0x37d)];}[_0x2def39(0x319)](){var _0x3b9419=_0x2def39;this[_0x3b9419(0x3fb)]=!0x1;}['_lockTransition'](){var _0x1e2df3=_0x2def39;if(this[_0x1e2df3(0x3fb)])throw new Error(_0x1e2df3(0x1fe));this[_0x1e2df3(0x3fb)]=!0x0;}[_0x2def39(0x28b)](_0x69e902){var _0x181e2c=_0x2def39;this[_0x181e2c(0x383)](),this[_0x181e2c(0x2f6)](this[_0x181e2c(0x37d)][_0x181e2c(0x463)](_0x69e902)),this[_0x181e2c(0x319)]();}['_onRemoteChangeset'](_0x40a920){var _0x1ad4a5=_0x2def39;if(!(_0x40a920[_0x1ad4a5(0x428)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1ad4a5(0x2b4)]))){if(this[_0x1ad4a5(0x2a8)]){this['_remoteChangesetQueue'][_0x1ad4a5(0x47a)](_0x40a920);return;}this['_applyRemoteChangeset'](_0x40a920);}}[_0x2def39(0x399)](){var _0x5cdb53=_0x2def39;this[_0x5cdb53(0x335)][_0x5cdb53(0x2b0)](_0x3a90af=>this[_0x5cdb53(0x2f5)](_0x3a90af)),this[_0x5cdb53(0x335)]=[];}['_applyRemoteChangeset'](_0x21d991){var _0x5b0d86=_0x2def39;const _0x5bf305=this[_0x5b0d86(0x2fc)][_0x5b0d86(0x3f7)]['fetchThroughInterceptors'](this[_0x5b0d86(0x2fc)][_0x5b0d86(0x3f7)]['getInterceptPoints']()[_0x5b0d86(0x406)])(_0x21d991['mutations'],null)||_0x21d991[_0x5b0d86(0x36d)],_0x15bd66={..._0x21d991,'mutations':_0x5bf305};this[_0x5b0d86(0x383)](),this[_0x5b0d86(0x2f6)](this[_0x5b0d86(0x37d)]['onRemoteChangeset'](_0x15bd66)),this[_0x5b0d86(0x319)]();}['_onRemoteACK'](_0x29aa21){var _0x6e82ce=_0x2def39;this['_lockTransition'](),this[_0x6e82ce(0x2f6)](this[_0x6e82ce(0x37d)][_0x6e82ce(0x2a0)](_0x29aa21)),this[_0x6e82ce(0x319)]();}[_0x2def39(0x3f0)](_0x317c67){var _0x357fb2=_0x2def39;this[_0x357fb2(0x383)](),this[_0x357fb2(0x2f6)](this[_0x357fb2(0x37d)][_0x357fb2(0x21a)](_0x317c67)),this[_0x357fb2(0x319)]();}[_0x2def39(0x2e7)](_0x4f85d1){var _0x1e430d=_0x2def39;this[_0x1e430d(0x383)](),this['_updateState'](this[_0x1e430d(0x37d)]['onRemoteRetry'](_0x4f85d1)),this[_0x1e430d(0x319)]();}[_0x2def39(0x4b1)](_0x352158){var _0x4d990e=_0x2def39;if(!(this[_0x4d990e(0x37d)]instanceof ee))throw new TypeError(_0x4d990e(0x299));const _0xd778d9=_0x352158['map'](_0x19f5ba=>{var _0x1a0ff1=_0x4d990e;const _0x4ee7b9=this[_0x1a0ff1(0x2fc)]['interceptor']['fetchThroughInterceptors'](this[_0x1a0ff1(0x2fc)][_0x1a0ff1(0x3f7)][_0x1a0ff1(0x496)]()['COMPRESS_MUTATION_APPLY'])(_0x19f5ba[_0x1a0ff1(0x36d)],null)||_0x19f5ba[_0x1a0ff1(0x36d)];return{..._0x19f5ba,'mutations':_0x4ee7b9};});this[_0x4d990e(0x383)](),this[_0x4d990e(0x2f6)](this[_0x4d990e(0x37d)]['onMissedChangesetFetched'](_0xd778d9)),this[_0x4d990e(0x319)]();}[_0x2def39(0x3cf)](){var _0x498e5e=_0x2def39;this['_lockTransition'](),this['_updateState'](this[_0x498e5e(0x37d)][_0x498e5e(0x1e7)]()),this[_0x498e5e(0x319)]();}[_0x2def39(0x2a4)](_0x5b9ed0=!0x1){var _0x8e590d=_0x2def39;this[_0x8e590d(0x383)](),this[_0x8e590d(0x2f6)](this[_0x8e590d(0x37d)][_0x8e590d(0x4ae)]()),this[_0x8e590d(0x319)]();const _0x265606=this[_0x8e590d(0x37d)];_0x5b9ed0&&_0x265606 instanceof Ne&&(this[_0x8e590d(0x383)](),this[_0x8e590d(0x2f6)](_0x265606['fetchMiss']()),this[_0x8e590d(0x319)]());}async[_0x2def39(0x35a)](){return new Promise(_0x39a058=>{var _0x26704c=_0x51d5;this['session'][_0x26704c(0x39c)]['pipe'](_0x5637eb(0x1))[_0x26704c(0x415)](async _0x9d7666=>{var _0x4c981e=_0x26704c;_0x39a058(await this['_createInitialStateImpl'](_0x9d7666===Ee[_0x4c981e(0x2d8)]));});});}[_0x2def39(0x261)](){const _0x222411=this['unitID'];return{'onStateChange':(_0x2323af,_0x20e659)=>{var _0x1fa928=_0x51d5;if(_0x2323af!==this['_state'])throw new Error(_0x1fa928(0x2f9)+_0x2323af[_0x1fa928(0x432)]+_0x1fa928(0x3df)+_0x20e659[_0x1fa928(0x432)]+_0x1fa928(0x2d0)+this[_0x1fa928(0x37d)][_0x1fa928(0x432)]);this[_0x1fa928(0x2f6)](_0x20e659);},'onSendChangeset':_0x78f425=>{var _0x1b4ce3=_0x51d5;_0x78f425[_0x1b4ce3(0x3dc)]||(_0x78f425[_0x1b4ce3(0x3dc)]=this['_changesetSessionId'],_0x78f425[_0x1b4ce3(0x3a0)]=++this[_0x1b4ce3(0x20b)]);const _0x4c19ba={'eventID':_0x59103b[_0x1b4ce3(0x375)],'data':{'unitID':_0x78f425['unitID'],'unitType':this['_type'],'changeset':_0x78f425,'memberID':this[_0x1b4ce3(0x389)][_0x1b4ce3(0x26e)]()}};this[_0x1b4ce3(0x389)][_0x1b4ce3(0x225)](_0x4c19ba,this['unitID']);},'onMissingChangesets':({from:_0x39212b,to:_0x1c5f79})=>{var _0x5b55d=_0x51d5;this[_0x5b55d(0x3a5)][_0x5b55d(0x3b3)](_0x5b55d(0x2de),_0x5b55d(0x365)+_0x39212b+_0x5b55d(0x38a)+_0x1c5f79);const _0x5e8eb6={'eventID':_0x59103b[_0x5b55d(0x31a)],'data':{'unitID':_0x222411,'unitType':this['_type'],'from':_0x39212b,'to':_0x1c5f79}};this[_0x5b55d(0x389)]['send'](_0x5e8eb6,this['unitID']);}};}async[_0x2def39(0x2ca)](_0x5444de){var _0x88c468=_0x2def39,_0x3cb345,_0x52b341,_0x102a9c;const _0x31c099=await((_0x3cb345=this[_0x88c468(0x24f)])==null?void 0x0:_0x3cb345[_0x88c468(0x4a3)](this[_0x88c468(0x2b4)])),_0x1b94ed=(_0x52b341=_0x31c099==null?void 0x0:_0x31c099['mutations'])!=null?_0x52b341:[],_0x1115ed=(_0x102a9c=_0x31c099==null?void 0x0:_0x31c099['awaitingChangeset'])!=null?_0x102a9c:null,_0x538f87=!!(_0x1115ed!=null&&_0x1115ed[_0x88c468(0x3dc)])&&!!(_0x1115ed!=null&&_0x1115ed[_0x88c468(0x3a0)]);this[_0x88c468(0x1d3)]=_0x538f87?_0x1115ed[_0x88c468(0x3dc)]:Xr(),this[_0x88c468(0x20b)]=_0x538f87?_0x1115ed['reqId']:0x0;const _0x5cc5db=this[_0x88c468(0x2b4)];try{this[_0x88c468(0x499)](_0x1115ed,_0x1b94ed);}catch(_0x190b42){this[_0x88c468(0x3a5)][_0x88c468(0x40e)](_0x190b42);}const _0xe2e0f6=this['_createHandler']();if(_0x5444de){const _0x162026=Oi(this[_0x88c468(0x45f)],_0x5cc5db,this['_type'],_0x1115ed,_0x1b94ed,_0xe2e0f6);return _0x162026 instanceof oe?_0x162026[_0x88c468(0x3c0)]():(_0x162026 instanceof ae||_0x162026 instanceof le)&&_0x162026[_0x88c468(0x374)](),_0x162026;}return this[_0x88c468(0x45f)][_0x88c468(0x36e)](de,_0x5cc5db,this[_0x88c468(0x1ce)],_0x1115ed,_0x1b94ed,_0xe2e0f6);}[_0x2def39(0x499)](_0x2804f9,_0x37e18a){var _0xbeb108=_0x2def39,_0x2fed4d,_0x55842b;const _0x11bdcd=this[_0xbeb108(0x2fc)][_0xbeb108(0x3f7)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xbeb108(0x3f7)][_0xbeb108(0x496)]()['COMPRESS_MUTATION_APPLY']);(_0x2fed4d=_0x11bdcd((_0x2804f9==null?void 0x0:_0x2804f9[_0xbeb108(0x36d)])||[],null))==null||_0x2fed4d['forEach'](_0x12539f=>this[_0xbeb108(0x2b2)][_0xbeb108(0x274)](_0x12539f['id'],_0x12539f['params'])),(_0x55842b=_0x11bdcd(_0x37e18a||[],null))==null||_0x55842b[_0xbeb108(0x2b0)](_0x1558ea=>this[_0xbeb108(0x2b2)][_0xbeb108(0x274)](_0x1558ea['id'],_0x1558ea[_0xbeb108(0x1f3)]));}};rt=xt([H(0x3,_0x1d5a06(_0x2e75b3)),H(0x4,_0x1d5a06(_0x3909d1)),H(0x5,_0x1d5a06(_0x5a3153)),H(0x6,_0x1d5a06(_0x5e5812)),H(0x7,_0x1d5a06(pe)),H(0x8,_0x2a6e14),H(0x9,_0x422ee1),H(0xa,_0x1bf615),H(0xb,_0x1641f7(ht)),H(0xc,_0x1641f7(J))],rt);let It=class extends rt{constructor(_0x129382,_0x430231,_0x28144e,_0x4a42b5,_0x5cc6c0,_0xd8fa9b,_0x45b37d,_0x301758,_0x2971d0,_0x330e56,_0x4ba360,_0x2ceafa,_0x23f255){var _0x37603f=_0x2def39;super(_0x129382,_0x28144e,_0x430231,_0x4a42b5,_0x5cc6c0,_0xd8fa9b,_0x45b37d,_0x301758,_0x2971d0,_0x330e56,_0x4ba360,_0x2ceafa,_0x23f255),N(this,_0x37603f(0x24b),null),(this[_0x37603f(0x2b4)]=_0x129382,this[_0x37603f(0x204)]=_0x430231);}[_0x2def39(0x3b6)](_0x5e9475){var _0x29c107=_0x2def39;this[_0x29c107(0x24b)]=_0x5e9475;}[_0x2def39(0x449)](){var _0x2e9e23=_0x2def39;this[_0x2e9e23(0x24b)]=null,super[_0x2e9e23(0x449)]();}[_0x2def39(0x261)](){var _0x3dce18=_0x2def39;const _0xe3b890=super[_0x3dce18(0x261)]();return _0xe3b890['onTransformIME']=_0x1e6072=>{var _0x1dd0f1=_0x3dce18,_0x40a413,_0x4db705;return(_0x4db705=(_0x40a413=this[_0x1dd0f1(0x24b)])==null?void 0x0:_0x40a413[_0x1dd0f1(0x338)])==null?void 0x0:_0x4db705['call'](_0x40a413,_0x1e6072);},_0xe3b890[_0x3dce18(0x205)]=_0x55f06d=>{var _0x4d4681=_0x3dce18,_0x35ea2f,_0x45928f;return(_0x45928f=(_0x35ea2f=this[_0x4d4681(0x24b)])==null?void 0x0:_0x35ea2f[_0x4d4681(0x205)])==null?void 0x0:_0x45928f[_0x4d4681(0x2ce)](_0x35ea2f,_0x55f06d);},_0xe3b890[_0x3dce18(0x35e)]=_0x4e068c=>{var _0x24be13=_0x3dce18,_0xeaa422,_0x231dc2;return(_0x231dc2=(_0xeaa422=this[_0x24be13(0x24b)])==null?void 0x0:_0xeaa422['onTransformSelections'])==null?void 0x0:_0x231dc2['call'](_0xeaa422,_0x4e068c);},_0xe3b890[_0x3dce18(0x257)]=_0x35fe28=>{var _0x70ee2=_0x3dce18,_0x5b7623,_0x29aabe;return(_0x29aabe=(_0x5b7623=this[_0x70ee2(0x24b)])==null?void 0x0:_0x5b7623['onSyncEditingCollabCursor'])==null?void 0x0:_0x29aabe[_0x70ee2(0x2ce)](_0x5b7623,_0x35fe28);},_0xe3b890[_0x3dce18(0x444)]=_0x507ac6=>{var _0x56835a=_0x3dce18,_0xa31445,_0x19a143,_0x50ea4c;if(!((_0xa31445=this['_handlerCallback'])!=null&&_0xa31445[_0x56835a(0x444)]))throw new Error(_0x56835a(0x2cd));return(_0x50ea4c=(_0x19a143=this['_handlerCallback'])==null?void 0x0:_0x19a143[_0x56835a(0x444)])==null?void 0x0:_0x50ea4c[_0x56835a(0x2ce)](_0x19a143,_0x507ac6);},_0xe3b890[_0x3dce18(0x271)]=_0xfce20a=>{var _0x22e4d2=_0x3dce18,_0x18ae3d,_0x2663d5,_0x52100e;if(!((_0x18ae3d=this[_0x22e4d2(0x24b)])!=null&&_0x18ae3d[_0x22e4d2(0x271)]))throw new Error(_0x22e4d2(0x4be));return(_0x52100e=(_0x2663d5=this[_0x22e4d2(0x24b)])==null?void 0x0:_0x2663d5[_0x22e4d2(0x271)])==null?void 0x0:_0x52100e[_0x22e4d2(0x2ce)](_0x2663d5,_0xfce20a);},_0xe3b890;}async[_0x2def39(0x308)](){var _0x3d306a=_0x2def39;const _0x23eb4e=await super[_0x3d306a(0x308)]();return this['disposeWithMe'](this[_0x3d306a(0x2b2)][_0x3d306a(0x3bb)]((_0x55bb74,_0x4e4ce6)=>{var _0x917e82=_0x3d306a;if(_0x55bb74[_0x917e82(0x204)]!==_0x4be2d9[_0x917e82(0x304)]||_0x4e4ce6!=null&&_0x4e4ce6['fromCollab']||_0x4e4ce6!=null&&_0x4e4ce6[_0x917e82(0x421)]||_0x55bb74['id']===_0x5d0776['id'])return;const _0x90e725=_0x55bb74[_0x917e82(0x1f3)];if((_0x90e725==null?void 0x0:_0x90e725[_0x917e82(0x4ab)])!==this[_0x917e82(0x2b4)])return;const _0x38bd2d=_0x55bb74,_0x1a00b7=this[_0x917e82(0x2fc)][_0x917e82(0x3f7)][_0x917e82(0x474)](this[_0x917e82(0x2fc)][_0x917e82(0x3f7)][_0x917e82(0x496)]()[_0x917e82(0x1ee)])([_0x38bd2d],null)||[_0x38bd2d];this[_0x917e82(0x28b)](_0x1a00b7[0x0]);})),_0x23eb4e;}};It=xt([H(0x3,_0x1d5a06(_0x2e75b3)),H(0x4,_0x1d5a06(_0x3909d1)),H(0x5,_0x1d5a06(_0x5a3153)),H(0x6,_0x1d5a06(_0x5e5812)),H(0x7,_0x1d5a06(pe)),H(0x8,_0x2a6e14),H(0x9,_0x422ee1),H(0xa,_0x1bf615),H(0xb,_0x1641f7(ht)),H(0xc,_0x1641f7(J))],It);let Tt=class extends rt{constructor(_0x1d5790,_0x59f82f,_0xfe8150,_0x380dca,_0x3d7851,_0x38b307,_0xa3f34a,_0x3a9367,_0x5407ce,_0x7bd08d,_0x2f33f0,_0x29f7bf,_0x3cba83,_0x97a733){var _0x4f9f4a=_0x2def39;super(_0x1d5790,_0xfe8150,_0x59f82f,_0x380dca,_0x3d7851,_0x38b307,_0xa3f34a,_0x5407ce,_0x7bd08d,_0x2f33f0,_0x29f7bf,_0x3cba83,_0x97a733),this[_0x4f9f4a(0x2b4)]=_0x1d5790,this[_0x4f9f4a(0x204)]=_0x59f82f,this[_0x4f9f4a(0x3f3)]=_0x3a9367;}[_0x2def39(0x261)](){var _0x114490=_0x2def39;const _0x1b70be=super[_0x114490(0x261)]();return _0x1b70be[_0x114490(0x35e)]=_0x288603=>this[_0x114490(0x3f3)]['transformSelections'](_0x288603),_0x1b70be;}async[_0x2def39(0x308)](){var _0x441b07=_0x2def39;const _0x20c513=await super['_init']();return this[_0x441b07(0x259)](this['_commandService']['onCommandExecuted']((_0x3bbdd4,_0x32f7e1)=>{var _0x472e0e=_0x441b07;if(_0x3bbdd4['type']!==_0x4be2d9['MUTATION']||_0x32f7e1!=null&&_0x32f7e1[_0x472e0e(0x336)]||_0x32f7e1!=null&&_0x32f7e1[_0x472e0e(0x421)])return;const _0xbb8520=_0x3bbdd4[_0x472e0e(0x1f3)];if((_0xbb8520==null?void 0x0:_0xbb8520[_0x472e0e(0x4ab)])!==this[_0x472e0e(0x2b4)])return;const _0x49bedc=_0x3bbdd4,_0x2d536f=this[_0x472e0e(0x2fc)]['interceptor'][_0x472e0e(0x474)](this['_compressMutationService'][_0x472e0e(0x3f7)][_0x472e0e(0x496)]()[_0x472e0e(0x1ee)])([_0x49bedc],null)||[_0x49bedc];this[_0x472e0e(0x28b)](_0x2d536f[0x0]);})),_0x20c513;}};Tt=xt([H(0x3,_0x1d5a06(_0x2e75b3)),H(0x4,_0x1d5a06(_0x3909d1)),H(0x5,_0x1d5a06(_0x5a3153)),H(0x6,_0x1d5a06(_0x5e5812)),H(0x7,_0x1d5a06(it)),H(0x8,_0x1d5a06(pe)),H(0x9,_0x2a6e14),H(0xa,_0x422ee1),H(0xb,_0x1bf615),H(0xc,_0x1641f7(ht)),H(0xd,_0x1641f7(J))],Tt);var an=Object[_0x2def39(0x37b)],cn=(_0x45b5ce,_0x23099a,_0x2c948f,_0x159352)=>{var _0x599105=_0x2def39;for(var _0x39f98e=_0x159352>0x1?void 0x0:_0x159352?an(_0x23099a,_0x2c948f):_0x23099a,_0x506606=_0x45b5ce[_0x599105(0x4c1)]-0x1,_0x3d53ae;_0x506606>=0x0;_0x506606--)(_0x3d53ae=_0x45b5ce[_0x506606])&&(_0x39f98e=_0x3d53ae(_0x39f98e)||_0x39f98e);return _0x39f98e;},ft=(_0x3d4ea4,_0x1d3e74)=>(_0x47de91,_0x522e05)=>_0x1d3e74(_0x47de91,_0x522e05,_0x3d4ea4);let nt=class extends _0x27aa9d{constructor(_0x32e1a9,_0x292822,_0xa5f9c7){var _0x8c3242=_0x2def39;super(),N(this,_0x8c3242(0x38f),new Map()),N(this,_0x8c3242(0x310),new _0x2a2340()),N(this,_0x8c3242(0x44e),this[_0x8c3242(0x310)][_0x8c3242(0x29c)]()),(this['_injector']=_0x32e1a9,this[_0x8c3242(0x481)]=_0x292822,this['_univerInstanceService']=_0xa5f9c7,this['_init']());}[_0x2def39(0x449)](){var _0x3c3fd2=_0x2def39;super[_0x3c3fd2(0x449)](),this['_entities'][_0x3c3fd2(0x2b0)](_0x138933=>_0x138933[_0x3c3fd2(0x449)]()),this[_0x3c3fd2(0x38f)][_0x3c3fd2(0x33c)]();}[_0x2def39(0x49f)](_0xf27dfa){var _0x53ea21=_0x2def39,_0x31c836;return(_0x31c836=this[_0x53ea21(0x38f)][_0x53ea21(0x229)](_0xf27dfa))!=null?_0x31c836:null;}['getCollabEntity$'](_0x13f6a9){var _0xf8b1d=_0x2def39;const _0x5da7d6=this[_0xf8b1d(0x49f)](_0x13f6a9);return _0x5da7d6?_0x1db6ee(_0x5da7d6):this[_0xf8b1d(0x310)][_0xf8b1d(0x1e9)](_0x3188d0(_0x3065d0=>_0x3065d0[_0xf8b1d(0x2b4)]===_0x13f6a9));}[_0x2def39(0x324)](_0x35d754){var _0x1a3856=_0x2def39;return _0x4fe857(this[_0x1a3856(0x320)](_0x35d754)['pipe'](_0x31dd76(()=>{})));}[_0x2def39(0x308)](){var _0x265221=_0x2def39;this['_univerInstanceService'][_0x265221(0x394)](_0x478b96[_0x265221(0x3ba)])[_0x265221(0x1e9)](_0x2a81b0(this['dispose$']),_0x155e12(0x10))[_0x265221(0x415)](async _0x46b4b8=>{var _0x2f4314=_0x265221;const _0x425bf9=_0x46b4b8[_0x2f4314(0x451)](),_0x48783b=await this['_startCollaboration'](_0x425bf9,Q[_0x2f4314(0x3ba)]);this['_entities'][_0x2f4314(0x47f)](_0x425bf9,_0x48783b);}),this[_0x265221(0x1e5)]['getTypeOfUnitAdded$'](_0x478b96[_0x265221(0x307)])[_0x265221(0x1e9)](_0x2a81b0(this[_0x265221(0x220)]),_0x155e12(0x10))['pipe'](_0x3188d0(_0x59031f=>!_0x59031f[_0x265221(0x451)]()[_0x265221(0x4aa)]('__')))['subscribe'](async _0x5970e3=>{var _0x35d2b8=_0x265221;const _0x49d8b3=_0x5970e3[_0x35d2b8(0x451)](),_0x190cdb=await this[_0x35d2b8(0x3c5)](_0x49d8b3,Q[_0x35d2b8(0x307)]);this[_0x35d2b8(0x38f)][_0x35d2b8(0x47f)](_0x49d8b3,_0x190cdb);}),_0x2c014e(this['_univerInstanceService'][_0x265221(0x413)](_0x478b96[_0x265221(0x3ba)]),this[_0x265221(0x1e5)][_0x265221(0x413)](_0x478b96[_0x265221(0x307)]))[_0x265221(0x1e9)](_0x2a81b0(this['dispose$']))['subscribe'](_0x2f5cb1=>{var _0x3315a7=_0x265221;const _0x44eea2=_0x2f5cb1[_0x3315a7(0x451)](),_0x21da9f=this[_0x3315a7(0x38f)][_0x3315a7(0x229)](_0x44eea2);_0x21da9f&&(_0x21da9f[_0x3315a7(0x449)](),this[_0x3315a7(0x38f)][_0x3315a7(0x1d9)](_0x44eea2));});}async['_startCollaboration'](_0xa4f5a1,_0x328952){var _0x43c73a=_0x2def39;const _0x1220c3=await this[_0x43c73a(0x481)][_0x43c73a(0x44b)](_0xa4f5a1),_0x184d7e=this['_injector']['createInstance'](this[_0x43c73a(0x2bd)](_0x328952),_0xa4f5a1,_0x328952,_0x1220c3);return await _0x184d7e[_0x43c73a(0x2d2)](),this[_0x43c73a(0x310)][_0x43c73a(0x42d)](_0x184d7e),_0x184d7e;}[_0x2def39(0x2bd)](_0x5e46fc){var _0x250244=_0x2def39;switch(_0x5e46fc){case Q[_0x250244(0x307)]:return It;case Q[_0x250244(0x3ba)]:return Tt;default:throw new Error(_0x250244(0x27a)+_0x5e46fc);}}};nt=cn([ft(0x0,_0x1d5a06(_0x2e75b3)),ft(0x1,_0x1d5a06(Le)),ft(0x2,_0xc85a44)],nt);var hn=Object[_0x2def39(0x37b)],_n=(_0x4c9a4b,_0x55d702,_0x1112a9,_0x4e3387)=>{for(var _0x2736bb=_0x4e3387>0x1?void 0x0:_0x4e3387?hn(_0x55d702,_0x1112a9):_0x55d702,_0x4c7922=_0x4c9a4b['length']-0x1,_0x32d2b6;_0x4c7922>=0x0;_0x4c7922--)(_0x32d2b6=_0x4c9a4b[_0x4c7922])&&(_0x2736bb=_0x32d2b6(_0x2736bb)||_0x2736bb);return _0x2736bb;},zt=(_0x298979,_0x278b22)=>(_0x2b2721,_0xf11909)=>_0x278b22(_0x2b2721,_0xf11909,_0x298979);const ln='DEFAULT_FILE_NAME',un=_0x2def39(0x3fc);let Ct=class extends _0x32d82b{constructor(_0x3dfb16,_0x53282e){var _0x5992c7=_0x2def39;super(),this[_0x5992c7(0x1e5)]=_0x3dfb16,this['_configService']=_0x53282e,this[_0x5992c7(0x308)]();}[_0x2def39(0x308)](){var _0x47bdd2=_0x2def39;this[_0x47bdd2(0x259)](this[_0x47bdd2(0x1e5)][_0x47bdd2(0x329)]['subscribe'](()=>{var _0x35869e=_0x47bdd2,_0x5debab;const _0x34fed9=this[_0x35869e(0x1e5)][_0x35869e(0x260)]();let _0x365649=(_0x5debab=this[_0x35869e(0x313)][_0x35869e(0x287)](ln))!=null?_0x5debab:un;_0x34fed9 instanceof _0x181a8f&&(_0x365649=_0x34fed9['name']),document['title']=_0x365649;}));}};Ct=_n([zt(0x0,_0xc85a44),zt(0x1,_0x331d3e)],Ct);var dn=Object[_0x2def39(0x37b)],fn=(_0xddef2b,_0x4eb368,_0x15c81e,_0x169f8b)=>{var _0x43c504=_0x2def39;for(var _0x36873c=_0x169f8b>0x1?void 0x0:_0x169f8b?dn(_0x4eb368,_0x15c81e):_0x4eb368,_0x575b23=_0xddef2b[_0x43c504(0x4c1)]-0x1,_0x58206e;_0x575b23>=0x0;_0x575b23--)(_0x58206e=_0xddef2b[_0x575b23])&&(_0x36873c=_0x58206e(_0x36873c)||_0x36873c);return _0x36873c;},vt=(_0x4c3b22,_0x30fbcd)=>(_0x4ee8e,_0x3a38d0)=>_0x30fbcd(_0x4ee8e,_0x3a38d0,_0x4c3b22);let st=class{constructor(_0x295254,_0x13b510,_0x551692){var _0xeaf0d1=_0x2def39;this[_0xeaf0d1(0x313)]=_0x295254,this['_httpService']=_0x13b510,this[_0xeaf0d1(0x242)]=_0x551692,this['init']();}[_0x2def39(0x2d2)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x34369a,_0x15c61c)=>_0x15c61c(_0x34369a)['pipe'](_0x160d56(async _0x2648e8=>{var _0x223744=_0x51d5;const _0x54bc74=_0x2648e8;if(_0x54bc74[_0x223744(0x432)]===0x191){if(typeof window>'u')throw new Error(_0x223744(0x1fa));if(window[_0x223744(0x222)](this[_0x223744(0x242)]['t']('auth.needGotoLoginAlert'))){const _0x4f9185=window[_0x223744(0x47b)](window['location']['href']);window['location'][_0x223744(0x464)]=this['_getLoginPath']()+_0x223744(0x440)+_0x4f9185;}}return _0x54bc74;}))});}['_getLoginPath'](){var _0x4fe7a3=_0x2def39,_0x1819ab,_0x1dd837;const _0x156684=this[_0x4fe7a3(0x313)][_0x4fe7a3(0x287)](Dr),_0x2e9fda=this['_configService']['getConfig'](q);return(_0x1dd837=(_0x1819ab=_0x2e9fda==null?void 0x0:_0x2e9fda[_0x4fe7a3(0x408)])!=null?_0x1819ab:_0x156684)!=null?_0x1dd837:wr;}};st=fn([vt(0x0,_0x331d3e),vt(0x1,_0x1d5a06(_0x1a399f)),vt(0x2,_0x1d5a06(_0x5a3153))],st);var vn=Object[_0x2def39(0x37b)],pn=(_0x31c1a6,_0x39551b,_0x518816,_0x4856c4)=>{var _0x36d944=_0x2def39;for(var _0x28864b=_0x4856c4>0x1?void 0x0:_0x4856c4?vn(_0x39551b,_0x518816):_0x39551b,_0xf0077d=_0x31c1a6[_0x36d944(0x4c1)]-0x1,_0xffb9e2;_0xf0077d>=0x0;_0xf0077d--)(_0xffb9e2=_0x31c1a6[_0xf0077d])&&(_0x28864b=_0xffb9e2(_0x28864b)||_0x28864b);return _0x28864b;},Jt=(_0x339e6e,_0x3ddafd)=>(_0x4d5c78,_0x339756)=>_0x3ddafd(_0x4d5c78,_0x339756,_0x339e6e);const Ni='AUTHZ_URL_KEY',mn=_0x2def39(0x20e);let Rt=class extends _0x32d82b{constructor(_0xf384b6,_0x3a9c97){var _0x547def=_0x2def39;super(),this[_0x547def(0x3ed)]=_0xf384b6,this[_0x547def(0x313)]=_0x3a9c97,this[_0x547def(0x27c)]();}[_0x2def39(0x27c)](){var _0x38c1d6=_0x2def39;const _0x4b447a=this;this[_0x38c1d6(0x259)](this[_0x38c1d6(0x3ed)][_0x38c1d6(0x494)]({'priority':0x3e7,'interceptor':_0x4d5017({'isMatch'(_0xb01d0e){var _0x2a4fef=_0x38c1d6,_0x4c6478;if(_0xb01d0e['method']===_0x2a4fef(0x355)&&((_0x4c6478=_0xb01d0e[_0x2a4fef(0x1cd)])!=null&&_0x4c6478[_0x2a4fef(0x442)])){const {objectID:_0x943a1c,objectType:_0x39348f}=_0xb01d0e['requestParams'][_0x2a4fef(0x442)]||{};if(!_0x943a1c||_0x39348f===void 0x0)return!0x1;const _0x3192fc=_0x4b447a[_0x2a4fef(0x2a9)]()+'/'+_0x39348f+_0x2a4fef(0x426)+_0x943a1c+'/allowed';if(_0xb01d0e['url']===_0x3192fc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x49c6de){var _0x2ffc36=_0x38c1d6,_0x2353c4;return(_0x2353c4=_0x49c6de[_0x2ffc36(0x1cd)])==null?void 0x0:_0x2353c4['body'];},'mergeParamsToRequest'(_0x468c28,_0x177291){var _0x4c03d0=_0x38c1d6;const _0x1eaa25=_0x4b447a['_getAPIPrefixPath']()+_0x4c03d0(0x475),_0x5d9101=_0x468c28[_0x4c03d0(0x30e)]((_0x1c28f0,_0x19a4d1)=>{var _0x5c835e=_0x4c03d0;const {unitID:_0x6bf63,objectID:_0x1d1637,objectType:_0x3e2ba5,actions:_0x414c4f}=_0x19a4d1;return _0x1c28f0[_0x6bf63]||(_0x1c28f0[_0x6bf63]={}),_0x1c28f0[_0x6bf63][_0x1d1637]||(_0x1c28f0[_0x6bf63][_0x1d1637]={'objectID':_0x1d1637,'objectType':_0x3e2ba5,'actions':[]}),_0x1c28f0[_0x6bf63][_0x1d1637][_0x5c835e(0x298)]['push'](..._0x414c4f),_0x1c28f0;},{}),_0x475290=[];for(const _0xd88b1 in _0x5d9101)for(const _0x4e6fd1 in _0x5d9101[_0xd88b1]){const {actions:_0xeec380,objectType:_0x4eb0f2}=_0x5d9101[_0xd88b1][_0x4e6fd1],_0x798dca=[...new Set(_0xeec380)];_0x475290[_0x4c03d0(0x47a)]({'unitID':_0xd88b1,'objectID':_0x4e6fd1,'objectType':_0x4eb0f2,'actions':_0x798dca});}return new _0xeca573(_0x4c03d0(0x355),_0x1eaa25,{'headers':_0x177291['headers'],'withCredentials':_0x177291[_0x4c03d0(0x350)],'responseType':_0x177291[_0x4c03d0(0x482)],'body':{'requests':_0x475290}});}},{'distributeResult'(_0x55f931,_0x2fe354){const {objectActions:_0x1c9447}=_0x55f931;return _0x2fe354['map'](_0x159a7a=>{var _0x552409=_0x51d5;const {unitID:_0x24f31f,objectID:_0x13864e,actions:_0x411fbf}=_0x159a7a,_0x167927=_0x1c9447[_0x552409(0x35f)](_0x32830f=>_0x32830f['unitID']===_0x24f31f&&_0x32830f[_0x552409(0x488)]===_0x13864e),_0x73ba0d=_0x411fbf['map'](_0x1d23a0=>_0x167927==null?void 0x0:_0x167927['actions'][_0x552409(0x35f)](_0x34aa83=>_0x34aa83['action']===_0x1d23a0))[_0x552409(0x2e8)](_0x484c50=>!!_0x484c50);return{'config':_0x159a7a,'result':{'actions':_0x73ba0d,'error':_0x55f931['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x34c0ed=_0x2def39,_0x4b4ae9,_0x1e7089;const _0x9cb074=this[_0x34c0ed(0x313)][_0x34c0ed(0x287)](Ni),_0x10fbda=this[_0x34c0ed(0x313)][_0x34c0ed(0x287)](q);return(_0x1e7089=(_0x4b4ae9=_0x10fbda==null?void 0x0:_0x10fbda[_0x34c0ed(0x36c)])!=null?_0x4b4ae9:_0x9cb074)!=null?_0x1e7089:mn;}async[_0x2def39(0x404)](_0x18bd48){var _0xdd6f30=_0x2def39;const _0x13325b=this[_0xdd6f30(0x2a9)]()+'/'+_0x18bd48[_0xdd6f30(0x3e4)]+_0xdd6f30(0x2a5);return(await this[_0xdd6f30(0x3ed)][_0xdd6f30(0x279)](_0x13325b,{'body':_0x18bd48}))['body'][_0xdd6f30(0x488)]||'';}async[_0x2def39(0x477)](_0x3c2ccf){var _0x435f1b=_0x2def39;const _0x54d394=this[_0x435f1b(0x2a9)]()+_0x435f1b(0x424);return(await this[_0x435f1b(0x3ed)]['post'](_0x54d394,{'body':_0x3c2ccf}))[_0x435f1b(0x442)][_0x435f1b(0x37a)];}async[_0x2def39(0x459)](_0x5d6249){var _0x3c948d=_0x2def39,_0x4f2852,_0x5a098f;const _0x4ffe79=this['_getAPIPrefixPath']()+'/'+_0x5d6249['objectType']+_0x3c948d(0x426)+_0x5d6249[_0x3c948d(0x488)],_0x17ebf9=await this[_0x3c948d(0x3ed)][_0x3c948d(0x342)](_0x4ffe79,{'body':_0x5d6249});if(((_0x5a098f=(_0x4f2852=_0x17ebf9==null?void 0x0:_0x17ebf9['body'])==null?void 0x0:_0x4f2852['error'])==null?void 0x0:_0x5a098f[_0x3c948d(0x321)])!==0x0)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2def39(0x292)](_0x4b053c){var _0xade06d=_0x2def39;const _0x41c961=this[_0xade06d(0x2a9)]()+'/'+_0x4b053c[_0xade06d(0x3e4)]+_0xade06d(0x426)+_0x4b053c[_0xade06d(0x488)]+_0xade06d(0x288);return(await this[_0xade06d(0x3ed)]['post'](_0x41c961,{'body':_0x4b053c}))[_0xade06d(0x442)][_0xade06d(0x298)];}async[_0x2def39(0x480)](_0x1566ea){var _0x5aaae7=_0x2def39;const _0x592c71=this[_0x5aaae7(0x2a9)]()+_0x5aaae7(0x475);return(await this['_HTTPService'][_0x5aaae7(0x279)](_0x592c71,{'body':{'requests':_0x1566ea}}))[_0x5aaae7(0x442)]['objectActions'];}async[_0x2def39(0x25d)](_0xf03aa6){var _0x11cfad=_0x2def39;const _0x166edf=this[_0x11cfad(0x2a9)]()+'/'+_0xf03aa6['objectType']+_0x11cfad(0x240),_0x27b711=await this[_0x11cfad(0x3ed)][_0x11cfad(0x279)](_0x166edf,{'body':_0xf03aa6});return{'roles':_0x27b711[_0x11cfad(0x442)]['roles'],'actions':_0x27b711[_0x11cfad(0x442)][_0x11cfad(0x298)]};}async[_0x2def39(0x1de)](_0x1f7ad1){var _0x1acc96=_0x2def39;const _0x3c73e7=this[_0x1acc96(0x2a9)]()+_0x1acc96(0x2fe);await this[_0x1acc96(0x3ed)][_0x1acc96(0x1d9)](_0x3c73e7,{'params':{'collaboratorID':_0x1f7ad1[_0x1acc96(0x431)],'objectID':_0x1f7ad1['objectID'],'unitID':_0x1f7ad1[_0x1acc96(0x2b4)]}});}async[_0x2def39(0x272)](_0x39aa41){var _0x42d292=_0x2def39;const _0x22af4f=this[_0x42d292(0x2a9)]()+_0x42d292(0x2fe);await this[_0x42d292(0x3ed)][_0x42d292(0x2a7)](_0x22af4f,{'body':_0x39aa41});}async[_0x2def39(0x495)](_0x366ec5){var _0x191919=_0x2def39;const _0x7db3a7=this[_0x191919(0x2a9)]()+_0x191919(0x2fe);await this[_0x191919(0x3ed)][_0x191919(0x279)](_0x7db3a7,{'body':_0x366ec5});}async[_0x2def39(0x262)](_0x44464d){var _0x58dd31=_0x2def39;const _0x5a186c=this[_0x58dd31(0x2a9)]()+_0x58dd31(0x2fe);return(await this[_0x58dd31(0x3ed)][_0x58dd31(0x229)](_0x5a186c,{'params':{'objectID':_0x44464d['objectID'],'unitID':_0x44464d[_0x58dd31(0x2b4)]}}))['body']['collaborators'];}async['putCollaborators'](_0x1b578a){var _0x2da0d0=_0x2def39;const _0x3fd6df=this[_0x2da0d0(0x2a9)]()+_0x2da0d0(0x2fe);await this[_0x2da0d0(0x3ed)][_0x2da0d0(0x342)](_0x3fd6df,{'body':_0x1b578a});}};Rt=pn([Jt(0x0,_0x1d5a06(_0x1a399f)),Jt(0x1,_0x1d5a06(_0x331d3e))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x6c7871){var _0x4a2e9c=_0x2def39;return _0x6c7871&&_0x6c7871['__esModule']&&Object[_0x4a2e9c(0x457)][_0x4a2e9c(0x368)]['call'](_0x6c7871,'default')?_0x6c7871[_0x4a2e9c(0x438)]:_0x6c7871;}var Ge={'exports':{}};function gn(_0x47c126){var _0x4c9a30=_0x2def39;throw new Error(_0x4c9a30(0x200)+_0x47c126+_0x4c9a30(0x1d8));}var Ve={'exports':{}},Sn=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x2565ec,_0x430903){(function(_0x23d244,_0x2ad284){var _0x282974=_0x51d5;_0x2565ec[_0x282974(0x387)]=_0x2ad284();}(Sn,function(){var _0x5bec62=_0x5bec62||function(_0x2582a0,_0x5159a7){var _0x2319d3=_0x51d5,_0xbb5f9;if(typeof window<'u'&&window[_0x2319d3(0x2c8)]&&(_0xbb5f9=window[_0x2319d3(0x2c8)]),typeof self<'u'&&self['crypto']&&(_0xbb5f9=self[_0x2319d3(0x2c8)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xbb5f9=globalThis[_0x2319d3(0x2c8)]),!_0xbb5f9&&typeof window<'u'&&window[_0x2319d3(0x3b7)]&&(_0xbb5f9=window[_0x2319d3(0x3b7)]),!_0xbb5f9&&typeof pt<'u'&&pt['crypto']&&(_0xbb5f9=pt[_0x2319d3(0x2c8)]),!_0xbb5f9&&typeof gn=='function')try{_0xbb5f9=require(_0x2319d3(0x2c8));}catch{}var _0x1adc93=function(){var _0x863d6=_0x2319d3;if(_0xbb5f9){if(typeof _0xbb5f9[_0x863d6(0x21e)]==_0x863d6(0x1df))try{return _0xbb5f9[_0x863d6(0x21e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xbb5f9[_0x863d6(0x234)]==_0x863d6(0x1df))try{return _0xbb5f9[_0x863d6(0x234)](0x4)[_0x863d6(0x1f9)]();}catch{}}throw new Error(_0x863d6(0x31f));},_0x156057=Object[_0x2319d3(0x404)]||(function(){function _0x3623d7(){}return function(_0x2faa08){var _0x1a07d5=_0x51d5,_0x4d9115;return _0x3623d7[_0x1a07d5(0x457)]=_0x2faa08,_0x4d9115=new _0x3623d7(),_0x3623d7[_0x1a07d5(0x457)]=null,_0x4d9115;};}()),_0x554e2e={},_0x198a28=_0x554e2e[_0x2319d3(0x35b)]={},_0x103150=_0x198a28[_0x2319d3(0x31b)]=(function(){return{'extend':function(_0x4d3680){var _0x2f1bf7=_0x51d5,_0x4c811d=_0x156057(this);return _0x4d3680&&_0x4c811d[_0x2f1bf7(0x466)](_0x4d3680),(!_0x4c811d[_0x2f1bf7(0x368)]('init')||this[_0x2f1bf7(0x2d2)]===_0x4c811d[_0x2f1bf7(0x2d2)])&&(_0x4c811d['init']=function(){var _0x4de101=_0x2f1bf7;_0x4c811d['$super'][_0x4de101(0x2d2)][_0x4de101(0x22f)](this,arguments);}),_0x4c811d[_0x2f1bf7(0x2d2)][_0x2f1bf7(0x457)]=_0x4c811d,_0x4c811d['$super']=this,_0x4c811d;},'create':function(){var _0x4b84de=_0x51d5,_0x5856a0=this[_0x4b84de(0x4b5)]();return _0x5856a0[_0x4b84de(0x2d2)][_0x4b84de(0x22f)](_0x5856a0,arguments),_0x5856a0;},'init':function(){},'mixIn':function(_0x2b2c15){var _0x56e4cc=_0x51d5;for(var _0x946cfc in _0x2b2c15)_0x2b2c15['hasOwnProperty'](_0x946cfc)&&(this[_0x946cfc]=_0x2b2c15[_0x946cfc]);_0x2b2c15[_0x56e4cc(0x368)](_0x56e4cc(0x330))&&(this[_0x56e4cc(0x330)]=_0x2b2c15['toString']);},'clone':function(){var _0xdc5645=_0x51d5;return this[_0xdc5645(0x2d2)]['prototype'][_0xdc5645(0x4b5)](this);}};}()),_0x510c9c=_0x198a28['WordArray']=_0x103150[_0x2319d3(0x4b5)]({'init':function(_0x42cb92,_0x1800b0){var _0x40d61b=_0x2319d3;_0x42cb92=this['words']=_0x42cb92||[],_0x1800b0!=_0x5159a7?this[_0x40d61b(0x351)]=_0x1800b0:this['sigBytes']=_0x42cb92[_0x40d61b(0x4c1)]*0x4;},'toString':function(_0x1a2e95){return(_0x1a2e95||_0x2cfa0d)['stringify'](this);},'concat':function(_0x591fa1){var _0x106635=_0x2319d3,_0x177e55=this[_0x106635(0x323)],_0x255103=_0x591fa1[_0x106635(0x323)],_0x38885a=this[_0x106635(0x351)],_0x2c04c5=_0x591fa1['sigBytes'];if(this[_0x106635(0x43f)](),_0x38885a%0x4)for(var _0x103d6e=0x0;_0x103d6e<_0x2c04c5;_0x103d6e++){var _0x49a966=_0x255103[_0x103d6e>>>0x2]>>>0x18-_0x103d6e%0x4*0x8&0xff;_0x177e55[_0x38885a+_0x103d6e>>>0x2]|=_0x49a966<<0x18-(_0x38885a+_0x103d6e)%0x4*0x8;}else{for(var _0x541826=0x0;_0x541826<_0x2c04c5;_0x541826+=0x4)_0x177e55[_0x38885a+_0x541826>>>0x2]=_0x255103[_0x541826>>>0x2];}return this[_0x106635(0x351)]+=_0x2c04c5,this;},'clamp':function(){var _0x2ce379=_0x2319d3,_0x41a7d1=this['words'],_0x55c6b1=this['sigBytes'];_0x41a7d1[_0x55c6b1>>>0x2]&=0xffffffff<<0x20-_0x55c6b1%0x4*0x8,_0x41a7d1[_0x2ce379(0x4c1)]=_0x2582a0[_0x2ce379(0x2f7)](_0x55c6b1/0x4);},'clone':function(){var _0x30c3fb=_0x2319d3,_0x9ef701=_0x103150[_0x30c3fb(0x3d8)][_0x30c3fb(0x2ce)](this);return _0x9ef701['words']=this['words']['slice'](0x0),_0x9ef701;},'random':function(_0x454b6c){var _0x4c2e24=_0x2319d3;for(var _0x5ecbc2=[],_0x45a53b=0x0;_0x45a53b<_0x454b6c;_0x45a53b+=0x4)_0x5ecbc2['push'](_0x1adc93());return new _0x510c9c[(_0x4c2e24(0x2d2))](_0x5ecbc2,_0x454b6c);}}),_0x49d245=_0x554e2e['enc']={},_0x2cfa0d=_0x49d245['Hex']={'stringify':function(_0x3aec5d){var _0x312329=_0x2319d3;for(var _0x726b06=_0x3aec5d[_0x312329(0x323)],_0x13272f=_0x3aec5d[_0x312329(0x351)],_0x331292=[],_0x562f20=0x0;_0x562f20<_0x13272f;_0x562f20++){var _0x151cad=_0x726b06[_0x562f20>>>0x2]>>>0x18-_0x562f20%0x4*0x8&0xff;_0x331292[_0x312329(0x47a)]((_0x151cad>>>0x4)[_0x312329(0x330)](0x10)),_0x331292[_0x312329(0x47a)]((_0x151cad&0xf)[_0x312329(0x330)](0x10));}return _0x331292[_0x312329(0x29a)]('');},'parse':function(_0x479f84){var _0x15ee30=_0x2319d3;for(var _0x5e06d7=_0x479f84[_0x15ee30(0x4c1)],_0x50b791=[],_0x3749d1=0x0;_0x3749d1<_0x5e06d7;_0x3749d1+=0x2)_0x50b791[_0x3749d1>>>0x3]|=parseInt(_0x479f84[_0x15ee30(0x3e7)](_0x3749d1,0x2),0x10)<<0x18-_0x3749d1%0x8*0x4;return new _0x510c9c[(_0x15ee30(0x2d2))](_0x50b791,_0x5e06d7/0x2);}},_0x17c8a3=_0x49d245[_0x2319d3(0x492)]={'stringify':function(_0x4b7700){var _0x49211d=_0x2319d3;for(var _0x1b4a09=_0x4b7700['words'],_0x7d4f26=_0x4b7700['sigBytes'],_0x49bbab=[],_0x34ea45=0x0;_0x34ea45<_0x7d4f26;_0x34ea45++){var _0x49f086=_0x1b4a09[_0x34ea45>>>0x2]>>>0x18-_0x34ea45%0x4*0x8&0xff;_0x49bbab[_0x49211d(0x47a)](String['fromCharCode'](_0x49f086));}return _0x49bbab['join']('');},'parse':function(_0x4c5636){var _0x3956ac=_0x2319d3;for(var _0x3190f9=_0x4c5636['length'],_0x10c7d5=[],_0x296cee=0x0;_0x296cee<_0x3190f9;_0x296cee++)_0x10c7d5[_0x296cee>>>0x2]|=(_0x4c5636['charCodeAt'](_0x296cee)&0xff)<<0x18-_0x296cee%0x4*0x8;return new _0x510c9c[(_0x3956ac(0x2d2))](_0x10c7d5,_0x3190f9);}},_0x539ad1=_0x49d245[_0x2319d3(0x2ed)]={'stringify':function(_0x2508ea){var _0x427c54=_0x2319d3;try{return decodeURIComponent(escape(_0x17c8a3['stringify'](_0x2508ea)));}catch{throw new Error(_0x427c54(0x2e9));}},'parse':function(_0x23d316){var _0x3fb7bb=_0x2319d3;return _0x17c8a3[_0x3fb7bb(0x1f4)](unescape(encodeURIComponent(_0x23d316)));}},_0x281bf5=_0x198a28['BufferedBlockAlgorithm']=_0x103150[_0x2319d3(0x4b5)]({'reset':function(){var _0x4e6b30=_0x2319d3;this['_data']=new _0x510c9c[(_0x4e6b30(0x2d2))](),this['_nDataBytes']=0x0;},'_append':function(_0x30b54b){var _0x2df686=_0x2319d3;typeof _0x30b54b==_0x2df686(0x381)&&(_0x30b54b=_0x539ad1[_0x2df686(0x1f4)](_0x30b54b)),this[_0x2df686(0x41d)][_0x2df686(0x4b4)](_0x30b54b),this['_nDataBytes']+=_0x30b54b['sigBytes'];},'_process':function(_0x2a9c89){var _0x4d5248=_0x2319d3,_0x2b6698,_0x4deec9=this[_0x4d5248(0x41d)],_0x9be7ad=_0x4deec9[_0x4d5248(0x323)],_0x5b87ab=_0x4deec9[_0x4d5248(0x351)],_0x50214f=this[_0x4d5248(0x31d)],_0x2288f2=_0x50214f*0x4,_0x19070e=_0x5b87ab/_0x2288f2;_0x2a9c89?_0x19070e=_0x2582a0[_0x4d5248(0x2f7)](_0x19070e):_0x19070e=_0x2582a0[_0x4d5248(0x2d7)]((_0x19070e|0x0)-this[_0x4d5248(0x39a)],0x0);var _0x54bc48=_0x19070e*_0x50214f,_0x2c48f9=_0x2582a0[_0x4d5248(0x20c)](_0x54bc48*0x4,_0x5b87ab);if(_0x54bc48){for(var _0x18c42e=0x0;_0x18c42e<_0x54bc48;_0x18c42e+=_0x50214f)this[_0x4d5248(0x36b)](_0x9be7ad,_0x18c42e);_0x2b6698=_0x9be7ad[_0x4d5248(0x22c)](0x0,_0x54bc48),_0x4deec9[_0x4d5248(0x351)]-=_0x2c48f9;}return new _0x510c9c[(_0x4d5248(0x2d2))](_0x2b6698,_0x2c48f9);},'clone':function(){var _0x2cb551=_0x2319d3,_0x30dbd8=_0x103150['clone']['call'](this);return _0x30dbd8[_0x2cb551(0x41d)]=this[_0x2cb551(0x41d)][_0x2cb551(0x3d8)](),_0x30dbd8;},'_minBufferSize':0x0});_0x198a28[_0x2319d3(0x353)]=_0x281bf5[_0x2319d3(0x4b5)]({'cfg':_0x103150[_0x2319d3(0x4b5)](),'init':function(_0x1e81f8){var _0x3d4831=_0x2319d3;this['cfg']=this['cfg'][_0x3d4831(0x4b5)](_0x1e81f8),this[_0x3d4831(0x382)]();},'reset':function(){var _0x4dad1c=_0x2319d3;_0x281bf5[_0x4dad1c(0x382)][_0x4dad1c(0x2ce)](this),this[_0x4dad1c(0x282)]();},'update':function(_0x296e00){var _0xbf76e8=_0x2319d3;return this[_0xbf76e8(0x4a2)](_0x296e00),this['_process'](),this;},'finalize':function(_0x1487f7){var _0x503db0=_0x2319d3;_0x1487f7&&this[_0x503db0(0x4a2)](_0x1487f7);var _0x1b866f=this['_doFinalize']();return _0x1b866f;},'blockSize':0x10,'_createHelper':function(_0x598142){return function(_0x569b5a,_0x3c7ece){var _0x21c341=_0x51d5;return new _0x598142[(_0x21c341(0x2d2))](_0x3c7ece)['finalize'](_0x569b5a);};},'_createHmacHelper':function(_0x3f42e9){return function(_0x3ab045,_0x4cd660){var _0x4b3c32=_0x51d5;return new _0x2a024a[(_0x4b3c32(0x36f))][(_0x4b3c32(0x2d2))](_0x3f42e9,_0x4cd660)[_0x4b3c32(0x4c5)](_0x3ab045);};}});var _0x2a024a=_0x554e2e[_0x2319d3(0x29e)]={};return _0x554e2e;}(Math);return _0x5bec62;}));}(Ve)),Ve['exports'];}var We={'exports':{}},En=We[_0x2def39(0x387)],Zt;function _0x51d5(_0x24184f,_0x326d0f){var _0x5db731=_0x5db7();return _0x51d5=function(_0x51d5b0,_0x23fbbf){_0x51d5b0=_0x51d5b0-0x1c2;var _0x38e2bd=_0x5db731[_0x51d5b0];return _0x38e2bd;},_0x51d5(_0x24184f,_0x326d0f);}function Di(){var _0x44c26f=_0x2def39;return Zt||(Zt=0x1,function(_0xaec60,_0x30cebe){(function(_0x1dda75,_0x471df8){var _0x19cab7=_0x51d5;_0xaec60[_0x19cab7(0x387)]=_0x471df8(ie());}(En,function(_0x248003){var _0x16b2b1=_0x51d5;return(function(){var _0x3bf319=_0x51d5,_0x5ec736=_0x248003,_0x28c3cb=_0x5ec736['lib'],_0xa9d612=_0x28c3cb[_0x3bf319(0x3ee)],_0x303b34=_0x5ec736[_0x3bf319(0x4b3)];_0x303b34[_0x3bf319(0x487)]={'stringify':function(_0x1d7622){var _0x3716ff=_0x3bf319,_0x55c0f9=_0x1d7622['words'],_0x9915b8=_0x1d7622[_0x3716ff(0x351)],_0x399471=this['_map'];_0x1d7622[_0x3716ff(0x43f)]();for(var _0x3aeca1=[],_0x3406e5=0x0;_0x3406e5<_0x9915b8;_0x3406e5+=0x3)for(var _0xdf7feb=_0x55c0f9[_0x3406e5>>>0x2]>>>0x18-_0x3406e5%0x4*0x8&0xff,_0x1201a8=_0x55c0f9[_0x3406e5+0x1>>>0x2]>>>0x18-(_0x3406e5+0x1)%0x4*0x8&0xff,_0x388ab5=_0x55c0f9[_0x3406e5+0x2>>>0x2]>>>0x18-(_0x3406e5+0x2)%0x4*0x8&0xff,_0x36433d=_0xdf7feb<<0x10|_0x1201a8<<0x8|_0x388ab5,_0x159ce2=0x0;_0x159ce2<0x4&&_0x3406e5+_0x159ce2*0.75<_0x9915b8;_0x159ce2++)_0x3aeca1[_0x3716ff(0x47a)](_0x399471['charAt'](_0x36433d>>>0x6*(0x3-_0x159ce2)&0x3f));var _0x4096a7=_0x399471[_0x3716ff(0x231)](0x40);if(_0x4096a7){for(;_0x3aeca1['length']%0x4;)_0x3aeca1[_0x3716ff(0x47a)](_0x4096a7);}return _0x3aeca1[_0x3716ff(0x29a)]('');},'parse':function(_0xa2fb88){var _0x58f670=_0x3bf319,_0x470573=_0xa2fb88[_0x58f670(0x4c1)],_0x539197=this[_0x58f670(0x35d)],_0x5993e8=this[_0x58f670(0x3a1)];if(!_0x5993e8){_0x5993e8=this[_0x58f670(0x3a1)]=[];for(var _0x560d8a=0x0;_0x560d8a<_0x539197[_0x58f670(0x4c1)];_0x560d8a++)_0x5993e8[_0x539197[_0x58f670(0x2fd)](_0x560d8a)]=_0x560d8a;}var _0x28cca9=_0x539197['charAt'](0x40);if(_0x28cca9){var _0xa93508=_0xa2fb88['indexOf'](_0x28cca9);_0xa93508!==-0x1&&(_0x470573=_0xa93508);}return _0x3644b9(_0xa2fb88,_0x470573,_0x5993e8);},'_map':_0x3bf319(0x1f8)};function _0x3644b9(_0x407978,_0x3b1de1,_0x37ba79){var _0x744ec6=_0x3bf319;for(var _0x27436a=[],_0x497ebe=0x0,_0x27abb5=0x0;_0x27abb5<_0x3b1de1;_0x27abb5++)if(_0x27abb5%0x4){var _0x45e4c9=_0x37ba79[_0x407978[_0x744ec6(0x2fd)](_0x27abb5-0x1)]<<_0x27abb5%0x4*0x2,_0x1107e2=_0x37ba79[_0x407978[_0x744ec6(0x2fd)](_0x27abb5)]>>>0x6-_0x27abb5%0x4*0x2,_0x20de14=_0x45e4c9|_0x1107e2;_0x27436a[_0x497ebe>>>0x2]|=_0x20de14<<0x18-_0x497ebe%0x4*0x8,_0x497ebe++;}return _0xa9d612['create'](_0x27436a,_0x497ebe);}}()),_0x248003[_0x16b2b1(0x4b3)][_0x16b2b1(0x487)];}));}(We)),We[_0x44c26f(0x387)];}var Ke={'exports':{}},In=Ke[_0x2def39(0x387)],Qt;function Tn(){return Qt||(Qt=0x1,function(_0x166de1,_0x76844b){(function(_0x5cdf6f,_0x4c98a6){var _0x2efa9c=_0x51d5;_0x166de1[_0x2efa9c(0x387)]=_0x4c98a6(ie());}(In,function(_0x2b999f){return function(_0x60019e){var _0x13d874=_0x51d5,_0x33e2ab=_0x2b999f,_0x40f885=_0x33e2ab[_0x13d874(0x35b)],_0x480bd7=_0x40f885[_0x13d874(0x3ee)],_0x1b1f32=_0x40f885[_0x13d874(0x353)],_0x68e32a=_0x33e2ab[_0x13d874(0x29e)],_0xd3a560=[];(function(){var _0x3354c1=_0x13d874;for(var _0x23dfaf=0x0;_0x23dfaf<0x40;_0x23dfaf++)_0xd3a560[_0x23dfaf]=_0x60019e[_0x3354c1(0x275)](_0x60019e['sin'](_0x23dfaf+0x1))*0x100000000|0x0;}());var _0x4a6acf=_0x68e32a[_0x13d874(0x311)]=_0x1b1f32['extend']({'_doReset':function(){var _0x5262e0=_0x13d874;this['_hash']=new _0x480bd7[(_0x5262e0(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ae617,_0x56703a){var _0x44407d=_0x13d874;for(var _0xd043ef=0x0;_0xd043ef<0x10;_0xd043ef++){var _0x23d3e5=_0x56703a+_0xd043ef,_0x5be0fc=_0x3ae617[_0x23d3e5];_0x3ae617[_0x23d3e5]=(_0x5be0fc<<0x8|_0x5be0fc>>>0x18)&0xff00ff|(_0x5be0fc<<0x18|_0x5be0fc>>>0x8)&0xff00ff00;}var _0x1816b9=this[_0x44407d(0x2f1)][_0x44407d(0x323)],_0xbb3178=_0x3ae617[_0x56703a+0x0],_0x40b678=_0x3ae617[_0x56703a+0x1],_0x5cb6f3=_0x3ae617[_0x56703a+0x2],_0x506d72=_0x3ae617[_0x56703a+0x3],_0x5a69fd=_0x3ae617[_0x56703a+0x4],_0xa0a58a=_0x3ae617[_0x56703a+0x5],_0x449115=_0x3ae617[_0x56703a+0x6],_0x516bb1=_0x3ae617[_0x56703a+0x7],_0x157542=_0x3ae617[_0x56703a+0x8],_0x2380ff=_0x3ae617[_0x56703a+0x9],_0x50e6e2=_0x3ae617[_0x56703a+0xa],_0x3234a4=_0x3ae617[_0x56703a+0xb],_0x99e8eb=_0x3ae617[_0x56703a+0xc],_0xcd097c=_0x3ae617[_0x56703a+0xd],_0x4b5820=_0x3ae617[_0x56703a+0xe],_0x3cc3ac=_0x3ae617[_0x56703a+0xf],_0x16ecd5=_0x1816b9[0x0],_0x43d196=_0x1816b9[0x1],_0x2b08e5=_0x1816b9[0x2],_0x2d6c25=_0x1816b9[0x3];_0x16ecd5=_0x244c13(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xbb3178,0x7,_0xd3a560[0x0]),_0x2d6c25=_0x244c13(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x40b678,0xc,_0xd3a560[0x1]),_0x2b08e5=_0x244c13(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x5cb6f3,0x11,_0xd3a560[0x2]),_0x43d196=_0x244c13(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x506d72,0x16,_0xd3a560[0x3]),_0x16ecd5=_0x244c13(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x5a69fd,0x7,_0xd3a560[0x4]),_0x2d6c25=_0x244c13(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0xa0a58a,0xc,_0xd3a560[0x5]),_0x2b08e5=_0x244c13(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x449115,0x11,_0xd3a560[0x6]),_0x43d196=_0x244c13(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x516bb1,0x16,_0xd3a560[0x7]),_0x16ecd5=_0x244c13(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x157542,0x7,_0xd3a560[0x8]),_0x2d6c25=_0x244c13(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x2380ff,0xc,_0xd3a560[0x9]),_0x2b08e5=_0x244c13(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x50e6e2,0x11,_0xd3a560[0xa]),_0x43d196=_0x244c13(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x3234a4,0x16,_0xd3a560[0xb]),_0x16ecd5=_0x244c13(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x99e8eb,0x7,_0xd3a560[0xc]),_0x2d6c25=_0x244c13(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0xcd097c,0xc,_0xd3a560[0xd]),_0x2b08e5=_0x244c13(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x4b5820,0x11,_0xd3a560[0xe]),_0x43d196=_0x244c13(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x3cc3ac,0x16,_0xd3a560[0xf]),_0x16ecd5=_0xa11e24(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x40b678,0x5,_0xd3a560[0x10]),_0x2d6c25=_0xa11e24(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x449115,0x9,_0xd3a560[0x11]),_0x2b08e5=_0xa11e24(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x3234a4,0xe,_0xd3a560[0x12]),_0x43d196=_0xa11e24(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0xbb3178,0x14,_0xd3a560[0x13]),_0x16ecd5=_0xa11e24(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xa0a58a,0x5,_0xd3a560[0x14]),_0x2d6c25=_0xa11e24(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x50e6e2,0x9,_0xd3a560[0x15]),_0x2b08e5=_0xa11e24(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x3cc3ac,0xe,_0xd3a560[0x16]),_0x43d196=_0xa11e24(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x5a69fd,0x14,_0xd3a560[0x17]),_0x16ecd5=_0xa11e24(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x2380ff,0x5,_0xd3a560[0x18]),_0x2d6c25=_0xa11e24(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x4b5820,0x9,_0xd3a560[0x19]),_0x2b08e5=_0xa11e24(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x506d72,0xe,_0xd3a560[0x1a]),_0x43d196=_0xa11e24(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x157542,0x14,_0xd3a560[0x1b]),_0x16ecd5=_0xa11e24(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xcd097c,0x5,_0xd3a560[0x1c]),_0x2d6c25=_0xa11e24(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x5cb6f3,0x9,_0xd3a560[0x1d]),_0x2b08e5=_0xa11e24(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x516bb1,0xe,_0xd3a560[0x1e]),_0x43d196=_0xa11e24(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x99e8eb,0x14,_0xd3a560[0x1f]),_0x16ecd5=_0x123a27(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xa0a58a,0x4,_0xd3a560[0x20]),_0x2d6c25=_0x123a27(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x157542,0xb,_0xd3a560[0x21]),_0x2b08e5=_0x123a27(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x3234a4,0x10,_0xd3a560[0x22]),_0x43d196=_0x123a27(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x4b5820,0x17,_0xd3a560[0x23]),_0x16ecd5=_0x123a27(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x40b678,0x4,_0xd3a560[0x24]),_0x2d6c25=_0x123a27(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x5a69fd,0xb,_0xd3a560[0x25]),_0x2b08e5=_0x123a27(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x516bb1,0x10,_0xd3a560[0x26]),_0x43d196=_0x123a27(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x50e6e2,0x17,_0xd3a560[0x27]),_0x16ecd5=_0x123a27(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xcd097c,0x4,_0xd3a560[0x28]),_0x2d6c25=_0x123a27(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0xbb3178,0xb,_0xd3a560[0x29]),_0x2b08e5=_0x123a27(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x506d72,0x10,_0xd3a560[0x2a]),_0x43d196=_0x123a27(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x449115,0x17,_0xd3a560[0x2b]),_0x16ecd5=_0x123a27(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x2380ff,0x4,_0xd3a560[0x2c]),_0x2d6c25=_0x123a27(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x99e8eb,0xb,_0xd3a560[0x2d]),_0x2b08e5=_0x123a27(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x3cc3ac,0x10,_0xd3a560[0x2e]),_0x43d196=_0x123a27(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x5cb6f3,0x17,_0xd3a560[0x2f]),_0x16ecd5=_0x41b1d7(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0xbb3178,0x6,_0xd3a560[0x30]),_0x2d6c25=_0x41b1d7(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x516bb1,0xa,_0xd3a560[0x31]),_0x2b08e5=_0x41b1d7(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x4b5820,0xf,_0xd3a560[0x32]),_0x43d196=_0x41b1d7(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0xa0a58a,0x15,_0xd3a560[0x33]),_0x16ecd5=_0x41b1d7(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x99e8eb,0x6,_0xd3a560[0x34]),_0x2d6c25=_0x41b1d7(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x506d72,0xa,_0xd3a560[0x35]),_0x2b08e5=_0x41b1d7(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x50e6e2,0xf,_0xd3a560[0x36]),_0x43d196=_0x41b1d7(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x40b678,0x15,_0xd3a560[0x37]),_0x16ecd5=_0x41b1d7(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x157542,0x6,_0xd3a560[0x38]),_0x2d6c25=_0x41b1d7(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x3cc3ac,0xa,_0xd3a560[0x39]),_0x2b08e5=_0x41b1d7(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x449115,0xf,_0xd3a560[0x3a]),_0x43d196=_0x41b1d7(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0xcd097c,0x15,_0xd3a560[0x3b]),_0x16ecd5=_0x41b1d7(_0x16ecd5,_0x43d196,_0x2b08e5,_0x2d6c25,_0x5a69fd,0x6,_0xd3a560[0x3c]),_0x2d6c25=_0x41b1d7(_0x2d6c25,_0x16ecd5,_0x43d196,_0x2b08e5,_0x3234a4,0xa,_0xd3a560[0x3d]),_0x2b08e5=_0x41b1d7(_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x43d196,_0x5cb6f3,0xf,_0xd3a560[0x3e]),_0x43d196=_0x41b1d7(_0x43d196,_0x2b08e5,_0x2d6c25,_0x16ecd5,_0x2380ff,0x15,_0xd3a560[0x3f]),_0x1816b9[0x0]=_0x1816b9[0x0]+_0x16ecd5|0x0,_0x1816b9[0x1]=_0x1816b9[0x1]+_0x43d196|0x0,_0x1816b9[0x2]=_0x1816b9[0x2]+_0x2b08e5|0x0,_0x1816b9[0x3]=_0x1816b9[0x3]+_0x2d6c25|0x0;},'_doFinalize':function(){var _0x1c1164=_0x13d874,_0x45e000=this['_data'],_0x15c006=_0x45e000[_0x1c1164(0x323)],_0x12af4e=this[_0x1c1164(0x21d)]*0x8,_0x37b7e3=_0x45e000[_0x1c1164(0x351)]*0x8;_0x15c006[_0x37b7e3>>>0x5]|=0x80<<0x18-_0x37b7e3%0x20;var _0x326d40=_0x60019e[_0x1c1164(0x2ba)](_0x12af4e/0x100000000),_0x2d5550=_0x12af4e;_0x15c006[(_0x37b7e3+0x40>>>0x9<<0x4)+0xf]=(_0x326d40<<0x8|_0x326d40>>>0x18)&0xff00ff|(_0x326d40<<0x18|_0x326d40>>>0x8)&0xff00ff00,_0x15c006[(_0x37b7e3+0x40>>>0x9<<0x4)+0xe]=(_0x2d5550<<0x8|_0x2d5550>>>0x18)&0xff00ff|(_0x2d5550<<0x18|_0x2d5550>>>0x8)&0xff00ff00,_0x45e000['sigBytes']=(_0x15c006[_0x1c1164(0x4c1)]+0x1)*0x4,this[_0x1c1164(0x455)]();for(var _0x50e297=this[_0x1c1164(0x2f1)],_0x19a01d=_0x50e297[_0x1c1164(0x323)],_0x488b2d=0x0;_0x488b2d<0x4;_0x488b2d++){var _0x34b697=_0x19a01d[_0x488b2d];_0x19a01d[_0x488b2d]=(_0x34b697<<0x8|_0x34b697>>>0x18)&0xff00ff|(_0x34b697<<0x18|_0x34b697>>>0x8)&0xff00ff00;}return _0x50e297;},'clone':function(){var _0x4b4c0f=_0x13d874,_0x14ae6d=_0x1b1f32[_0x4b4c0f(0x3d8)][_0x4b4c0f(0x2ce)](this);return _0x14ae6d['_hash']=this[_0x4b4c0f(0x2f1)][_0x4b4c0f(0x3d8)](),_0x14ae6d;}});function _0x244c13(_0xbdf07c,_0x1fdd64,_0x2575cd,_0x115e23,_0x19adde,_0x27cdd9,_0x4d0797){var _0xd6419a=_0xbdf07c+(_0x1fdd64&_0x2575cd|~_0x1fdd64&_0x115e23)+_0x19adde+_0x4d0797;return(_0xd6419a<<_0x27cdd9|_0xd6419a>>>0x20-_0x27cdd9)+_0x1fdd64;}function _0xa11e24(_0x3d380e,_0x3f806c,_0x1db6a9,_0x2e522f,_0x2de25c,_0x365243,_0x477517){var _0x555c59=_0x3d380e+(_0x3f806c&_0x2e522f|_0x1db6a9&~_0x2e522f)+_0x2de25c+_0x477517;return(_0x555c59<<_0x365243|_0x555c59>>>0x20-_0x365243)+_0x3f806c;}function _0x123a27(_0x578383,_0x2c3c9f,_0x12ffde,_0x48be4b,_0x1519dd,_0x105136,_0x5ae6f5){var _0x2db9f0=_0x578383+(_0x2c3c9f^_0x12ffde^_0x48be4b)+_0x1519dd+_0x5ae6f5;return(_0x2db9f0<<_0x105136|_0x2db9f0>>>0x20-_0x105136)+_0x2c3c9f;}function _0x41b1d7(_0x3fba83,_0x3112aa,_0x2c22b8,_0x6af636,_0x4cb07d,_0x47e2f1,_0x520db9){var _0xc9d9d3=_0x3fba83+(_0x2c22b8^(_0x3112aa|~_0x6af636))+_0x4cb07d+_0x520db9;return(_0xc9d9d3<<_0x47e2f1|_0xc9d9d3>>>0x20-_0x47e2f1)+_0x3112aa;}_0x33e2ab[_0x13d874(0x311)]=_0x1b1f32[_0x13d874(0x241)](_0x4a6acf),_0x33e2ab[_0x13d874(0x334)]=_0x1b1f32[_0x13d874(0x1ef)](_0x4a6acf);}(Math),_0x2b999f['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x2def39(0x387)],ei;function Rn(){return ei||(ei=0x1,function(_0x1907ac,_0x5a6e48){(function(_0x24d6db,_0x13b8e3){var _0x49d4ff=_0x51d5;_0x1907ac[_0x49d4ff(0x387)]=_0x13b8e3(ie());}(Cn,function(_0x286960){var _0x2b0e17=_0x51d5;return(function(){var _0x286925=_0x51d5,_0x5235bc=_0x286960,_0x46067d=_0x5235bc[_0x286925(0x35b)],_0xc4649e=_0x46067d[_0x286925(0x3ee)],_0x144ea5=_0x46067d[_0x286925(0x353)],_0xb84ab8=_0x5235bc[_0x286925(0x29e)],_0x29cea3=[],_0x57f372=_0xb84ab8['SHA1']=_0x144ea5[_0x286925(0x4b5)]({'_doReset':function(){var _0x4d3ebb=_0x286925;this[_0x4d3ebb(0x2f1)]=new _0xc4649e[(_0x4d3ebb(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x32c89b,_0x29730b){var _0x4ea8fb=_0x286925;for(var _0x527829=this[_0x4ea8fb(0x2f1)][_0x4ea8fb(0x323)],_0x5888a1=_0x527829[0x0],_0x1658ab=_0x527829[0x1],_0x3fd26f=_0x527829[0x2],_0x27adf5=_0x527829[0x3],_0x301d7f=_0x527829[0x4],_0x307832=0x0;_0x307832<0x50;_0x307832++){if(_0x307832<0x10)_0x29cea3[_0x307832]=_0x32c89b[_0x29730b+_0x307832]|0x0;else{var _0x68be13=_0x29cea3[_0x307832-0x3]^_0x29cea3[_0x307832-0x8]^_0x29cea3[_0x307832-0xe]^_0x29cea3[_0x307832-0x10];_0x29cea3[_0x307832]=_0x68be13<<0x1|_0x68be13>>>0x1f;}var _0x1b1212=(_0x5888a1<<0x5|_0x5888a1>>>0x1b)+_0x301d7f+_0x29cea3[_0x307832];_0x307832<0x14?_0x1b1212+=(_0x1658ab&_0x3fd26f|~_0x1658ab&_0x27adf5)+0x5a827999:_0x307832<0x28?_0x1b1212+=(_0x1658ab^_0x3fd26f^_0x27adf5)+0x6ed9eba1:_0x307832<0x3c?_0x1b1212+=(_0x1658ab&_0x3fd26f|_0x1658ab&_0x27adf5|_0x3fd26f&_0x27adf5)-0x70e44324:_0x1b1212+=(_0x1658ab^_0x3fd26f^_0x27adf5)-0x359d3e2a,_0x301d7f=_0x27adf5,_0x27adf5=_0x3fd26f,_0x3fd26f=_0x1658ab<<0x1e|_0x1658ab>>>0x2,_0x1658ab=_0x5888a1,_0x5888a1=_0x1b1212;}_0x527829[0x0]=_0x527829[0x0]+_0x5888a1|0x0,_0x527829[0x1]=_0x527829[0x1]+_0x1658ab|0x0,_0x527829[0x2]=_0x527829[0x2]+_0x3fd26f|0x0,_0x527829[0x3]=_0x527829[0x3]+_0x27adf5|0x0,_0x527829[0x4]=_0x527829[0x4]+_0x301d7f|0x0;},'_doFinalize':function(){var _0xa83be4=_0x286925,_0x63504f=this['_data'],_0x4efb92=_0x63504f['words'],_0x1fc11a=this[_0xa83be4(0x21d)]*0x8,_0x2911a5=_0x63504f['sigBytes']*0x8;return _0x4efb92[_0x2911a5>>>0x5]|=0x80<<0x18-_0x2911a5%0x20,_0x4efb92[(_0x2911a5+0x40>>>0x9<<0x4)+0xe]=Math[_0xa83be4(0x2ba)](_0x1fc11a/0x100000000),_0x4efb92[(_0x2911a5+0x40>>>0x9<<0x4)+0xf]=_0x1fc11a,_0x63504f[_0xa83be4(0x351)]=_0x4efb92[_0xa83be4(0x4c1)]*0x4,this[_0xa83be4(0x455)](),this[_0xa83be4(0x2f1)];},'clone':function(){var _0x3f6dd9=_0x286925,_0x3a1fcb=_0x144ea5[_0x3f6dd9(0x3d8)][_0x3f6dd9(0x2ce)](this);return _0x3a1fcb['_hash']=this[_0x3f6dd9(0x2f1)][_0x3f6dd9(0x3d8)](),_0x3a1fcb;}});_0x5235bc[_0x286925(0x211)]=_0x144ea5[_0x286925(0x241)](_0x57f372),_0x5235bc[_0x286925(0x2c0)]=_0x144ea5['_createHmacHelper'](_0x57f372);}()),_0x286960[_0x2b0e17(0x211)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bn=ze[_0x2def39(0x387)],ti;function yn(){var _0x1d6e0f=_0x2def39;return ti||(ti=0x1,function(_0x2551ec,_0x894ce5){(function(_0x901540,_0xd8f36c){var _0x13b3c9=_0x51d5;_0x2551ec[_0x13b3c9(0x387)]=_0xd8f36c(ie());}(bn,function(_0x5d517e){(function(){var _0x208e1c=_0x51d5,_0x4cc4c4=_0x5d517e,_0x40eb48=_0x4cc4c4[_0x208e1c(0x35b)],_0x4b8fc8=_0x40eb48[_0x208e1c(0x31b)],_0x3146c7=_0x4cc4c4[_0x208e1c(0x4b3)],_0x50f0f5=_0x3146c7['Utf8'],_0x4731ef=_0x4cc4c4[_0x208e1c(0x29e)];_0x4731ef['HMAC']=_0x4b8fc8[_0x208e1c(0x4b5)]({'init':function(_0x30b0cb,_0x108a0c){var _0xdc13eb=_0x208e1c;_0x30b0cb=this[_0xdc13eb(0x43b)]=new _0x30b0cb[(_0xdc13eb(0x2d2))](),typeof _0x108a0c==_0xdc13eb(0x381)&&(_0x108a0c=_0x50f0f5['parse'](_0x108a0c));var _0x7445fc=_0x30b0cb[_0xdc13eb(0x31d)],_0x1c3f23=_0x7445fc*0x4;_0x108a0c[_0xdc13eb(0x351)]>_0x1c3f23&&(_0x108a0c=_0x30b0cb[_0xdc13eb(0x4c5)](_0x108a0c)),_0x108a0c[_0xdc13eb(0x43f)]();for(var _0x6f9187=this[_0xdc13eb(0x349)]=_0x108a0c[_0xdc13eb(0x3d8)](),_0x3ecaa8=this[_0xdc13eb(0x1da)]=_0x108a0c[_0xdc13eb(0x3d8)](),_0x2a11c3=_0x6f9187[_0xdc13eb(0x323)],_0x4a1452=_0x3ecaa8['words'],_0x233ae0=0x0;_0x233ae0<_0x7445fc;_0x233ae0++)_0x2a11c3[_0x233ae0]^=0x5c5c5c5c,_0x4a1452[_0x233ae0]^=0x36363636;_0x6f9187[_0xdc13eb(0x351)]=_0x3ecaa8[_0xdc13eb(0x351)]=_0x1c3f23,this[_0xdc13eb(0x382)]();},'reset':function(){var _0x246ba7=_0x208e1c,_0x323044=this['_hasher'];_0x323044[_0x246ba7(0x382)](),_0x323044[_0x246ba7(0x459)](this['_iKey']);},'update':function(_0x9064a7){var _0x199131=_0x208e1c;return this['_hasher'][_0x199131(0x459)](_0x9064a7),this;},'finalize':function(_0x3f84b9){var _0x288625=_0x208e1c,_0x52bc82=this['_hasher'],_0x48bbee=_0x52bc82['finalize'](_0x3f84b9);_0x52bc82[_0x288625(0x382)]();var _0x363bae=_0x52bc82[_0x288625(0x4c5)](this['_oKey'][_0x288625(0x3d8)]()[_0x288625(0x4b4)](_0x48bbee));return _0x363bae;}});}());}));}(ze)),ze[_0x1d6e0f(0x387)];}var On=Ye[_0x2def39(0x387)],ii;function wi(){var _0x373212=_0x2def39;return ii||(ii=0x1,function(_0x249b88,_0x14ff65){(function(_0x3967a4,_0x29641b,_0x4f2d02){var _0x48409b=_0x51d5;_0x249b88[_0x48409b(0x387)]=_0x29641b(ie(),Rn(),yn());}(On,function(_0x2d960a){var _0xc42c8=_0x51d5;return(function(){var _0x87681=_0x51d5,_0x464807=_0x2d960a,_0x1e3164=_0x464807[_0x87681(0x35b)],_0x3deb5c=_0x1e3164[_0x87681(0x31b)],_0x2cebce=_0x1e3164[_0x87681(0x3ee)],_0x2ee21d=_0x464807['algo'],_0x56d159=_0x2ee21d[_0x87681(0x311)],_0x401cc9=_0x2ee21d['EvpKDF']=_0x3deb5c['extend']({'cfg':_0x3deb5c['extend']({'keySize':0x80/0x20,'hasher':_0x56d159,'iterations':0x1}),'init':function(_0x4bd8bb){var _0x3873ab=_0x87681;this[_0x3873ab(0x2ad)]=this[_0x3873ab(0x2ad)][_0x3873ab(0x4b5)](_0x4bd8bb);},'compute':function(_0x485c7e,_0x425f74){var _0x1bf7e7=_0x87681;for(var _0x258ec4,_0x30ea88=this[_0x1bf7e7(0x2ad)],_0x4b8f7d=_0x30ea88[_0x1bf7e7(0x3e8)][_0x1bf7e7(0x404)](),_0x4246d1=_0x2cebce['create'](),_0x51f8d2=_0x4246d1['words'],_0xab49a9=_0x30ea88[_0x1bf7e7(0x3bc)],_0x449079=_0x30ea88[_0x1bf7e7(0x1ed)];_0x51f8d2[_0x1bf7e7(0x4c1)]<_0xab49a9;){_0x258ec4&&_0x4b8f7d[_0x1bf7e7(0x459)](_0x258ec4),_0x258ec4=_0x4b8f7d[_0x1bf7e7(0x459)](_0x485c7e)['finalize'](_0x425f74),_0x4b8f7d[_0x1bf7e7(0x382)]();for(var _0xf775f3=0x1;_0xf775f3<_0x449079;_0xf775f3++)_0x258ec4=_0x4b8f7d[_0x1bf7e7(0x4c5)](_0x258ec4),_0x4b8f7d['reset']();_0x4246d1[_0x1bf7e7(0x4b4)](_0x258ec4);}return _0x4246d1[_0x1bf7e7(0x351)]=_0xab49a9*0x4,_0x4246d1;}});_0x464807[_0x87681(0x44a)]=function(_0x3a19e6,_0x46f222,_0x133b5b){var _0x473d29=_0x87681;return _0x401cc9[_0x473d29(0x404)](_0x133b5b)[_0x473d29(0x3ad)](_0x3a19e6,_0x46f222);};}()),_0x2d960a[_0xc42c8(0x44a)];}));}(Ye)),Ye[_0x373212(0x387)];}var Je={'exports':{}},Nn=Je[_0x2def39(0x387)],ri;function Ui(){var _0xaa866d=_0x2def39;return ri||(ri=0x1,function(_0x303402,_0x8e4f03){(function(_0x26e5c9,_0xcc9c0a,_0x2c6759){_0x303402['exports']=_0xcc9c0a(ie(),wi());}(Nn,function(_0xf3fbdc){var _0x4617f9=_0x51d5;_0xf3fbdc[_0x4617f9(0x35b)]['Cipher']||function(_0x25d1c9){var _0x232ea7=_0x4617f9,_0x29f348=_0xf3fbdc,_0x46aac3=_0x29f348[_0x232ea7(0x35b)],_0x4f0c0b=_0x46aac3[_0x232ea7(0x31b)],_0x3d18f2=_0x46aac3[_0x232ea7(0x3ee)],_0x5391e6=_0x46aac3[_0x232ea7(0x315)],_0x56e74e=_0x29f348['enc'];_0x56e74e[_0x232ea7(0x2ed)];var _0x454042=_0x56e74e['Base64'],_0x537358=_0x29f348['algo'],_0x1bde8b=_0x537358[_0x232ea7(0x44a)],_0x308026=_0x46aac3[_0x232ea7(0x23e)]=_0x5391e6[_0x232ea7(0x4b5)]({'cfg':_0x4f0c0b[_0x232ea7(0x4b5)](),'createEncryptor':function(_0x315803,_0x1be053){var _0x399fac=_0x232ea7;return this[_0x399fac(0x404)](this[_0x399fac(0x4ac)],_0x315803,_0x1be053);},'createDecryptor':function(_0x387772,_0x410554){var _0x594f1e=_0x232ea7;return this[_0x594f1e(0x404)](this[_0x594f1e(0x417)],_0x387772,_0x410554);},'init':function(_0x549a95,_0x1a491e,_0x168d18){var _0x4d48e4=_0x232ea7;this[_0x4d48e4(0x2ad)]=this['cfg'][_0x4d48e4(0x4b5)](_0x168d18),this[_0x4d48e4(0x3e1)]=_0x549a95,this['_key']=_0x1a491e,this[_0x4d48e4(0x382)]();},'reset':function(){var _0x5480db=_0x232ea7;_0x5391e6[_0x5480db(0x382)][_0x5480db(0x2ce)](this),this['_doReset']();},'process':function(_0x5babaf){var _0x30a650=_0x232ea7;return this[_0x30a650(0x4a2)](_0x5babaf),this[_0x30a650(0x455)]();},'finalize':function(_0x53c207){var _0x41ed37=_0x232ea7;_0x53c207&&this[_0x41ed37(0x4a2)](_0x53c207);var _0x34693b=this['_doFinalize']();return _0x34693b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5e457e(_0x3dd774){return typeof _0x3dd774=='string'?_0x3b0290:_0x2a645c;}return function(_0x174e5d){return{'encrypt':function(_0x395b49,_0x6baa26,_0x1e0ab3){var _0x2717bd=_0x51d5;return _0x5e457e(_0x6baa26)[_0x2717bd(0x2fb)](_0x174e5d,_0x395b49,_0x6baa26,_0x1e0ab3);},'decrypt':function(_0x4a1a3f,_0x390132,_0x578354){var _0xc977d0=_0x51d5;return _0x5e457e(_0x390132)[_0xc977d0(0x4a7)](_0x174e5d,_0x4a1a3f,_0x390132,_0x578354);}};};}())});_0x46aac3[_0x232ea7(0x486)]=_0x308026[_0x232ea7(0x4b5)]({'_doFinalize':function(){var _0x47bcb2=_0x232ea7,_0x2a12c5=this[_0x47bcb2(0x455)](!0x0);return _0x2a12c5;},'blockSize':0x1});var _0x444e39=_0x29f348[_0x232ea7(0x3c4)]={},_0x4ec0ff=_0x46aac3['BlockCipherMode']=_0x4f0c0b[_0x232ea7(0x4b5)]({'createEncryptor':function(_0xf81ccf,_0x5abb0e){return this['Encryptor']['create'](_0xf81ccf,_0x5abb0e);},'createDecryptor':function(_0x41682d,_0x4160ea){var _0x1dedd5=_0x232ea7;return this[_0x1dedd5(0x434)][_0x1dedd5(0x404)](_0x41682d,_0x4160ea);},'init':function(_0x46f6a6,_0x376c9b){var _0x68889d=_0x232ea7;this[_0x68889d(0x42e)]=_0x46f6a6,this[_0x68889d(0x1e8)]=_0x376c9b;}}),_0x349b7c=_0x444e39[_0x232ea7(0x1fb)]=(function(){var _0x5af070=_0x232ea7,_0x2b644a=_0x4ec0ff[_0x5af070(0x4b5)]();_0x2b644a[_0x5af070(0x38e)]=_0x2b644a[_0x5af070(0x4b5)]({'processBlock':function(_0x148e8e,_0x69b1a8){var _0x4a39ce=_0x5af070,_0x52f2b2=this[_0x4a39ce(0x42e)],_0x57783e=_0x52f2b2['blockSize'];_0x1d234d[_0x4a39ce(0x2ce)](this,_0x148e8e,_0x69b1a8,_0x57783e),_0x52f2b2[_0x4a39ce(0x472)](_0x148e8e,_0x69b1a8),this[_0x4a39ce(0x2e3)]=_0x148e8e[_0x4a39ce(0x1e1)](_0x69b1a8,_0x69b1a8+_0x57783e);}}),_0x2b644a[_0x5af070(0x434)]=_0x2b644a[_0x5af070(0x4b5)]({'processBlock':function(_0x5bec65,_0x493ff7){var _0x2b012b=_0x5af070,_0x41cd03=this['_cipher'],_0x53ae3d=_0x41cd03[_0x2b012b(0x31d)],_0x1757ea=_0x5bec65[_0x2b012b(0x1e1)](_0x493ff7,_0x493ff7+_0x53ae3d);_0x41cd03[_0x2b012b(0x2dd)](_0x5bec65,_0x493ff7),_0x1d234d[_0x2b012b(0x2ce)](this,_0x5bec65,_0x493ff7,_0x53ae3d),this[_0x2b012b(0x2e3)]=_0x1757ea;}});function _0x1d234d(_0x1c39fa,_0x40a4ac,_0x46f528){var _0x2ebbd2=_0x5af070,_0x3beed5,_0x2b920d=this[_0x2ebbd2(0x1e8)];_0x2b920d?(_0x3beed5=_0x2b920d,this[_0x2ebbd2(0x1e8)]=_0x25d1c9):_0x3beed5=this[_0x2ebbd2(0x2e3)];for(var _0x549132=0x0;_0x549132<_0x46f528;_0x549132++)_0x1c39fa[_0x40a4ac+_0x549132]^=_0x3beed5[_0x549132];}return _0x2b644a;}()),_0x2ce232=_0x29f348[_0x232ea7(0x201)]={},_0x49b5ea=_0x2ce232['Pkcs7']={'pad':function(_0x546eb3,_0x435f24){var _0x27fe78=_0x232ea7;for(var _0x125aca=_0x435f24*0x4,_0x1944c3=_0x125aca-_0x546eb3[_0x27fe78(0x351)]%_0x125aca,_0x3cbbd6=_0x1944c3<<0x18|_0x1944c3<<0x10|_0x1944c3<<0x8|_0x1944c3,_0x4bc68d=[],_0x465bad=0x0;_0x465bad<_0x1944c3;_0x465bad+=0x4)_0x4bc68d[_0x27fe78(0x47a)](_0x3cbbd6);var _0x4074a3=_0x3d18f2['create'](_0x4bc68d,_0x1944c3);_0x546eb3[_0x27fe78(0x4b4)](_0x4074a3);},'unpad':function(_0x1ab444){var _0x1e9f53=_0x232ea7,_0x5aca0c=_0x1ab444[_0x1e9f53(0x323)][_0x1ab444[_0x1e9f53(0x351)]-0x1>>>0x2]&0xff;_0x1ab444['sigBytes']-=_0x5aca0c;}};_0x46aac3[_0x232ea7(0x3dd)]=_0x308026[_0x232ea7(0x4b5)]({'cfg':_0x308026[_0x232ea7(0x2ad)][_0x232ea7(0x4b5)]({'mode':_0x349b7c,'padding':_0x49b5ea}),'reset':function(){var _0x4c1564=_0x232ea7,_0x5cdf56;_0x308026[_0x4c1564(0x382)][_0x4c1564(0x2ce)](this);var _0x548a40=this[_0x4c1564(0x2ad)],_0x295818=_0x548a40['iv'],_0x444c77=_0x548a40['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x5cdf56=_0x444c77[_0x4c1564(0x402)]:(_0x5cdf56=_0x444c77[_0x4c1564(0x2e4)],this[_0x4c1564(0x39a)]=0x1),this[_0x4c1564(0x22a)]&&this[_0x4c1564(0x22a)][_0x4c1564(0x430)]==_0x5cdf56?this['_mode'][_0x4c1564(0x2d2)](this,_0x295818&&_0x295818[_0x4c1564(0x323)]):(this[_0x4c1564(0x22a)]=_0x5cdf56[_0x4c1564(0x2ce)](_0x444c77,this,_0x295818&&_0x295818[_0x4c1564(0x323)]),this[_0x4c1564(0x22a)][_0x4c1564(0x430)]=_0x5cdf56);},'_doProcessBlock':function(_0x48b728,_0x3a1737){var _0x20420f=_0x232ea7;this[_0x20420f(0x22a)][_0x20420f(0x39b)](_0x48b728,_0x3a1737);},'_doFinalize':function(){var _0x1fb114=_0x232ea7,_0x51919a,_0x301678=this[_0x1fb114(0x2ad)][_0x1fb114(0x4ad)];return this[_0x1fb114(0x3e1)]==this[_0x1fb114(0x4ac)]?(_0x301678[_0x1fb114(0x201)](this[_0x1fb114(0x41d)],this[_0x1fb114(0x31d)]),_0x51919a=this['_process'](!0x0)):(_0x51919a=this[_0x1fb114(0x455)](!0x0),_0x301678[_0x1fb114(0x254)](_0x51919a)),_0x51919a;},'blockSize':0x80/0x20});var _0x5c49fe=_0x46aac3[_0x232ea7(0x3c8)]=_0x4f0c0b['extend']({'init':function(_0x36baf8){var _0x1e00b0=_0x232ea7;this[_0x1e00b0(0x466)](_0x36baf8);},'toString':function(_0x35d047){var _0x5d5096=_0x232ea7;return(_0x35d047||this[_0x5d5096(0x38d)])[_0x5d5096(0x1c3)](this);}}),_0x1ee36e=_0x29f348['format']={},_0x10905c=_0x1ee36e[_0x232ea7(0x357)]={'stringify':function(_0x37d831){var _0x1bbd8f=_0x232ea7,_0x43a9fc,_0x16c903=_0x37d831[_0x1bbd8f(0x354)],_0x4b5cd4=_0x37d831['salt'];return _0x4b5cd4?_0x43a9fc=_0x3d18f2[_0x1bbd8f(0x404)]([0x53616c74,0x65645f5f])[_0x1bbd8f(0x4b4)](_0x4b5cd4)['concat'](_0x16c903):_0x43a9fc=_0x16c903,_0x43a9fc[_0x1bbd8f(0x330)](_0x454042);},'parse':function(_0x224639){var _0x343e24=_0x232ea7,_0x2d78bc,_0x197a0d=_0x454042[_0x343e24(0x1f4)](_0x224639),_0x1195d3=_0x197a0d['words'];return _0x1195d3[0x0]==0x53616c74&&_0x1195d3[0x1]==0x65645f5f&&(_0x2d78bc=_0x3d18f2[_0x343e24(0x404)](_0x1195d3['slice'](0x2,0x4)),_0x1195d3[_0x343e24(0x22c)](0x0,0x4),_0x197a0d[_0x343e24(0x351)]-=0x10),_0x5c49fe[_0x343e24(0x404)]({'ciphertext':_0x197a0d,'salt':_0x2d78bc});}},_0x2a645c=_0x46aac3[_0x232ea7(0x2f4)]=_0x4f0c0b[_0x232ea7(0x4b5)]({'cfg':_0x4f0c0b['extend']({'format':_0x10905c}),'encrypt':function(_0xe2e612,_0x37e770,_0x41ff1a,_0x4a6fff){var _0x2fb57a=_0x232ea7;_0x4a6fff=this[_0x2fb57a(0x2ad)][_0x2fb57a(0x4b5)](_0x4a6fff);var _0x175a53=_0xe2e612[_0x2fb57a(0x402)](_0x41ff1a,_0x4a6fff),_0x1607d1=_0x175a53[_0x2fb57a(0x4c5)](_0x37e770),_0x5877c3=_0x175a53[_0x2fb57a(0x2ad)];return _0x5c49fe['create']({'ciphertext':_0x1607d1,'key':_0x41ff1a,'iv':_0x5877c3['iv'],'algorithm':_0xe2e612,'mode':_0x5877c3[_0x2fb57a(0x3c4)],'padding':_0x5877c3[_0x2fb57a(0x4ad)],'blockSize':_0xe2e612['blockSize'],'formatter':_0x4a6fff[_0x2fb57a(0x379)]});},'decrypt':function(_0x92040d,_0x2da707,_0x72f696,_0x310bc9){var _0xe71b46=_0x232ea7;_0x310bc9=this[_0xe71b46(0x2ad)][_0xe71b46(0x4b5)](_0x310bc9),_0x2da707=this['_parse'](_0x2da707,_0x310bc9[_0xe71b46(0x379)]);var _0x1a1c55=_0x92040d[_0xe71b46(0x2e4)](_0x72f696,_0x310bc9)[_0xe71b46(0x4c5)](_0x2da707[_0xe71b46(0x354)]);return _0x1a1c55;},'_parse':function(_0x152452,_0x446b1b){var _0x28ebfa=_0x232ea7;return typeof _0x152452==_0x28ebfa(0x381)?_0x446b1b['parse'](_0x152452,this):_0x152452;}}),_0x7aac41=_0x29f348[_0x232ea7(0x276)]={},_0x13b14b=_0x7aac41[_0x232ea7(0x357)]={'execute':function(_0x59897b,_0x227baa,_0x42fe41,_0x510807,_0x18dd47){var _0xa0f8ea=_0x232ea7;if(_0x510807||(_0x510807=_0x3d18f2[_0xa0f8ea(0x289)](0x40/0x8)),_0x18dd47)var _0x32fd04=_0x1bde8b['create']({'keySize':_0x227baa+_0x42fe41,'hasher':_0x18dd47})[_0xa0f8ea(0x3ad)](_0x59897b,_0x510807);else var _0x32fd04=_0x1bde8b[_0xa0f8ea(0x404)]({'keySize':_0x227baa+_0x42fe41})['compute'](_0x59897b,_0x510807);var _0x376c18=_0x3d18f2[_0xa0f8ea(0x404)](_0x32fd04['words'][_0xa0f8ea(0x1e1)](_0x227baa),_0x42fe41*0x4);return _0x32fd04[_0xa0f8ea(0x351)]=_0x227baa*0x4,_0x5c49fe[_0xa0f8ea(0x404)]({'key':_0x32fd04,'iv':_0x376c18,'salt':_0x510807});}},_0x3b0290=_0x46aac3[_0x232ea7(0x249)]=_0x2a645c[_0x232ea7(0x4b5)]({'cfg':_0x2a645c[_0x232ea7(0x2ad)][_0x232ea7(0x4b5)]({'kdf':_0x13b14b}),'encrypt':function(_0x5e1bfe,_0x4f74ef,_0x3d66b0,_0xa3fb9c){var _0x1e2179=_0x232ea7;_0xa3fb9c=this[_0x1e2179(0x2ad)]['extend'](_0xa3fb9c);var _0x1eaef2=_0xa3fb9c['kdf'][_0x1e2179(0x411)](_0x3d66b0,_0x5e1bfe[_0x1e2179(0x3bc)],_0x5e1bfe[_0x1e2179(0x418)],_0xa3fb9c[_0x1e2179(0x489)],_0xa3fb9c[_0x1e2179(0x3e8)]);_0xa3fb9c['iv']=_0x1eaef2['iv'];var _0x22245a=_0x2a645c[_0x1e2179(0x2fb)][_0x1e2179(0x2ce)](this,_0x5e1bfe,_0x4f74ef,_0x1eaef2[_0x1e2179(0x3d9)],_0xa3fb9c);return _0x22245a[_0x1e2179(0x466)](_0x1eaef2),_0x22245a;},'decrypt':function(_0x27ec04,_0xf3dc89,_0x5a2972,_0x1f72c0){var _0x9b13e4=_0x232ea7;_0x1f72c0=this['cfg']['extend'](_0x1f72c0),_0xf3dc89=this['_parse'](_0xf3dc89,_0x1f72c0[_0x9b13e4(0x379)]);var _0x26da89=_0x1f72c0[_0x9b13e4(0x276)][_0x9b13e4(0x411)](_0x5a2972,_0x27ec04[_0x9b13e4(0x3bc)],_0x27ec04[_0x9b13e4(0x418)],_0xf3dc89[_0x9b13e4(0x489)],_0x1f72c0['hasher']);_0x1f72c0['iv']=_0x26da89['iv'];var _0x5a3fb6=_0x2a645c['decrypt'][_0x9b13e4(0x2ce)](this,_0x27ec04,_0xf3dc89,_0x26da89['key'],_0x1f72c0);return _0x5a3fb6;}});}();}));}(Je)),Je[_0xaa866d(0x387)];}var Dn=Ge['exports'],ni;function wn(){var _0x294978=_0x2def39;return ni||(ni=0x1,function(_0x541ee6,_0x11e6e3){(function(_0x324204,_0x1632dc,_0x330d8b){_0x541ee6['exports']=_0x1632dc(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x382aed){return(function(){var _0x2f586c=_0x51d5,_0x51796c=_0x382aed,_0x1e864b=_0x51796c[_0x2f586c(0x35b)],_0x2fdcfd=_0x1e864b['BlockCipher'],_0x434975=_0x51796c[_0x2f586c(0x29e)],_0x31733c=[],_0x547a40=[],_0x15b19e=[],_0x4bb710=[],_0x240115=[],_0x1fc001=[],_0x463a67=[],_0x471c3b=[],_0x2ed85d=[],_0x163485=[];(function(){for(var _0x4a9b0b=[],_0x3b7e1d=0x0;_0x3b7e1d<0x100;_0x3b7e1d++)_0x3b7e1d<0x80?_0x4a9b0b[_0x3b7e1d]=_0x3b7e1d<<0x1:_0x4a9b0b[_0x3b7e1d]=_0x3b7e1d<<0x1^0x11b;for(var _0x1320d1=0x0,_0x197447=0x0,_0x3b7e1d=0x0;_0x3b7e1d<0x100;_0x3b7e1d++){var _0x2bdf24=_0x197447^_0x197447<<0x1^_0x197447<<0x2^_0x197447<<0x3^_0x197447<<0x4;_0x2bdf24=_0x2bdf24>>>0x8^_0x2bdf24&0xff^0x63,_0x31733c[_0x1320d1]=_0x2bdf24,_0x547a40[_0x2bdf24]=_0x1320d1;var _0x10ee61=_0x4a9b0b[_0x1320d1],_0x616e4d=_0x4a9b0b[_0x10ee61],_0xbde29a=_0x4a9b0b[_0x616e4d],_0x144c03=_0x4a9b0b[_0x2bdf24]*0x101^_0x2bdf24*0x1010100;_0x15b19e[_0x1320d1]=_0x144c03<<0x18|_0x144c03>>>0x8,_0x4bb710[_0x1320d1]=_0x144c03<<0x10|_0x144c03>>>0x10,_0x240115[_0x1320d1]=_0x144c03<<0x8|_0x144c03>>>0x18,_0x1fc001[_0x1320d1]=_0x144c03;var _0x144c03=_0xbde29a*0x1010101^_0x616e4d*0x10001^_0x10ee61*0x101^_0x1320d1*0x1010100;_0x463a67[_0x2bdf24]=_0x144c03<<0x18|_0x144c03>>>0x8,_0x471c3b[_0x2bdf24]=_0x144c03<<0x10|_0x144c03>>>0x10,_0x2ed85d[_0x2bdf24]=_0x144c03<<0x8|_0x144c03>>>0x18,_0x163485[_0x2bdf24]=_0x144c03,_0x1320d1?(_0x1320d1=_0x10ee61^_0x4a9b0b[_0x4a9b0b[_0x4a9b0b[_0xbde29a^_0x10ee61]]],_0x197447^=_0x4a9b0b[_0x4a9b0b[_0x197447]]):_0x1320d1=_0x197447=0x1;}}());var _0x1bea07=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1f12e5=_0x434975[_0x2f586c(0x325)]=_0x2fdcfd[_0x2f586c(0x4b5)]({'_doReset':function(){var _0x2c670e=_0x2f586c,_0x11fc70;if(!(this['_nRounds']&&this[_0x2c670e(0x221)]===this['_key'])){for(var _0xde9c14=this[_0x2c670e(0x221)]=this[_0x2c670e(0x32d)],_0x46a611=_0xde9c14[_0x2c670e(0x323)],_0x535657=_0xde9c14[_0x2c670e(0x351)]/0x4,_0x3a3991=this['_nRounds']=_0x535657+0x6,_0x420209=(_0x3a3991+0x1)*0x4,_0x12c45f=this[_0x2c670e(0x23c)]=[],_0x4b6942=0x0;_0x4b6942<_0x420209;_0x4b6942++)_0x4b6942<_0x535657?_0x12c45f[_0x4b6942]=_0x46a611[_0x4b6942]:(_0x11fc70=_0x12c45f[_0x4b6942-0x1],_0x4b6942%_0x535657?_0x535657>0x6&&_0x4b6942%_0x535657==0x4&&(_0x11fc70=_0x31733c[_0x11fc70>>>0x18]<<0x18|_0x31733c[_0x11fc70>>>0x10&0xff]<<0x10|_0x31733c[_0x11fc70>>>0x8&0xff]<<0x8|_0x31733c[_0x11fc70&0xff]):(_0x11fc70=_0x11fc70<<0x8|_0x11fc70>>>0x18,_0x11fc70=_0x31733c[_0x11fc70>>>0x18]<<0x18|_0x31733c[_0x11fc70>>>0x10&0xff]<<0x10|_0x31733c[_0x11fc70>>>0x8&0xff]<<0x8|_0x31733c[_0x11fc70&0xff],_0x11fc70^=_0x1bea07[_0x4b6942/_0x535657|0x0]<<0x18),_0x12c45f[_0x4b6942]=_0x12c45f[_0x4b6942-_0x535657]^_0x11fc70);for(var _0x56cad9=this['_invKeySchedule']=[],_0x283cb3=0x0;_0x283cb3<_0x420209;_0x283cb3++){var _0x4b6942=_0x420209-_0x283cb3;if(_0x283cb3%0x4)var _0x11fc70=_0x12c45f[_0x4b6942];else var _0x11fc70=_0x12c45f[_0x4b6942-0x4];_0x283cb3<0x4||_0x4b6942<=0x4?_0x56cad9[_0x283cb3]=_0x11fc70:_0x56cad9[_0x283cb3]=_0x463a67[_0x31733c[_0x11fc70>>>0x18]]^_0x471c3b[_0x31733c[_0x11fc70>>>0x10&0xff]]^_0x2ed85d[_0x31733c[_0x11fc70>>>0x8&0xff]]^_0x163485[_0x31733c[_0x11fc70&0xff]];}}},'encryptBlock':function(_0x31c0bd,_0xf1368a){var _0x1b7909=_0x2f586c;this[_0x1b7909(0x24d)](_0x31c0bd,_0xf1368a,this[_0x1b7909(0x23c)],_0x15b19e,_0x4bb710,_0x240115,_0x1fc001,_0x31733c);},'decryptBlock':function(_0x586480,_0xc6f2cf){var _0x29bdab=_0x2f586c,_0x2e740d=_0x586480[_0xc6f2cf+0x1];_0x586480[_0xc6f2cf+0x1]=_0x586480[_0xc6f2cf+0x3],_0x586480[_0xc6f2cf+0x3]=_0x2e740d,this[_0x29bdab(0x24d)](_0x586480,_0xc6f2cf,this[_0x29bdab(0x47e)],_0x463a67,_0x471c3b,_0x2ed85d,_0x163485,_0x547a40);var _0x2e740d=_0x586480[_0xc6f2cf+0x1];_0x586480[_0xc6f2cf+0x1]=_0x586480[_0xc6f2cf+0x3],_0x586480[_0xc6f2cf+0x3]=_0x2e740d;},'_doCryptBlock':function(_0x5827fb,_0x2ed43a,_0x17bb78,_0x133be3,_0x5581fb,_0x12bab9,_0x47a22a,_0x383700){for(var _0xd58795=this['_nRounds'],_0x5a7c92=_0x5827fb[_0x2ed43a]^_0x17bb78[0x0],_0x4d94b4=_0x5827fb[_0x2ed43a+0x1]^_0x17bb78[0x1],_0x592459=_0x5827fb[_0x2ed43a+0x2]^_0x17bb78[0x2],_0x504593=_0x5827fb[_0x2ed43a+0x3]^_0x17bb78[0x3],_0x2cc9f1=0x4,_0x284b56=0x1;_0x284b56<_0xd58795;_0x284b56++){var _0xa5af87=_0x133be3[_0x5a7c92>>>0x18]^_0x5581fb[_0x4d94b4>>>0x10&0xff]^_0x12bab9[_0x592459>>>0x8&0xff]^_0x47a22a[_0x504593&0xff]^_0x17bb78[_0x2cc9f1++],_0x17cbe4=_0x133be3[_0x4d94b4>>>0x18]^_0x5581fb[_0x592459>>>0x10&0xff]^_0x12bab9[_0x504593>>>0x8&0xff]^_0x47a22a[_0x5a7c92&0xff]^_0x17bb78[_0x2cc9f1++],_0x534106=_0x133be3[_0x592459>>>0x18]^_0x5581fb[_0x504593>>>0x10&0xff]^_0x12bab9[_0x5a7c92>>>0x8&0xff]^_0x47a22a[_0x4d94b4&0xff]^_0x17bb78[_0x2cc9f1++],_0x18ea46=_0x133be3[_0x504593>>>0x18]^_0x5581fb[_0x5a7c92>>>0x10&0xff]^_0x12bab9[_0x4d94b4>>>0x8&0xff]^_0x47a22a[_0x592459&0xff]^_0x17bb78[_0x2cc9f1++];_0x5a7c92=_0xa5af87,_0x4d94b4=_0x17cbe4,_0x592459=_0x534106,_0x504593=_0x18ea46;}var _0xa5af87=(_0x383700[_0x5a7c92>>>0x18]<<0x18|_0x383700[_0x4d94b4>>>0x10&0xff]<<0x10|_0x383700[_0x592459>>>0x8&0xff]<<0x8|_0x383700[_0x504593&0xff])^_0x17bb78[_0x2cc9f1++],_0x17cbe4=(_0x383700[_0x4d94b4>>>0x18]<<0x18|_0x383700[_0x592459>>>0x10&0xff]<<0x10|_0x383700[_0x504593>>>0x8&0xff]<<0x8|_0x383700[_0x5a7c92&0xff])^_0x17bb78[_0x2cc9f1++],_0x534106=(_0x383700[_0x592459>>>0x18]<<0x18|_0x383700[_0x504593>>>0x10&0xff]<<0x10|_0x383700[_0x5a7c92>>>0x8&0xff]<<0x8|_0x383700[_0x4d94b4&0xff])^_0x17bb78[_0x2cc9f1++],_0x18ea46=(_0x383700[_0x504593>>>0x18]<<0x18|_0x383700[_0x5a7c92>>>0x10&0xff]<<0x10|_0x383700[_0x4d94b4>>>0x8&0xff]<<0x8|_0x383700[_0x592459&0xff])^_0x17bb78[_0x2cc9f1++];_0x5827fb[_0x2ed43a]=_0xa5af87,_0x5827fb[_0x2ed43a+0x1]=_0x17cbe4,_0x5827fb[_0x2ed43a+0x2]=_0x534106,_0x5827fb[_0x2ed43a+0x3]=_0x18ea46;},'keySize':0x100/0x20});_0x51796c[_0x2f586c(0x325)]=_0x2fdcfd[_0x2f586c(0x241)](_0x1f12e5);}()),_0x382aed['AES'];}));}(Ge)),Ge[_0x294978(0x387)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x2def39(0x387)],oi;function Ln(){var _0x432f91=_0x2def39;return oi||(oi=0x1,function(_0x472566,_0xce89ba){(function(_0x474ca3,_0x219422){var _0x53c3f1=_0x51d5;_0x472566[_0x53c3f1(0x387)]=_0x219422(ie());}(xn,function(_0x58ddea){var _0x4c269e=_0x51d5;return _0x58ddea[_0x4c269e(0x4b3)][_0x4c269e(0x2ed)];}));}(Xe)),Xe[_0x432f91(0x387)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x2def39(0x387)],ai;function Hn(){return ai||(ai=0x1,function(_0x3d6802,_0x4699dc){(function(_0x57ec0a,_0x255c69){var _0xcc1e7b=_0x51d5;_0x3d6802[_0xcc1e7b(0x387)]=_0x255c69(ie());}($n,function(_0x39b07a){var _0x4c53b8=_0x51d5;return(function(){var _0x39e1b7=_0x51d5;if(typeof ArrayBuffer==_0x39e1b7(0x1df)){var _0x262091=_0x39b07a,_0x3e5ba3=_0x262091[_0x39e1b7(0x35b)],_0x530070=_0x3e5ba3[_0x39e1b7(0x3ee)],_0xce0a1a=_0x530070[_0x39e1b7(0x2d2)],_0x435f8d=_0x530070[_0x39e1b7(0x2d2)]=function(_0x48b035){var _0xd92166=_0x39e1b7;if(_0x48b035 instanceof ArrayBuffer&&(_0x48b035=new Uint8Array(_0x48b035)),(_0x48b035 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x48b035 instanceof Uint8ClampedArray||_0x48b035 instanceof Int16Array||_0x48b035 instanceof Uint16Array||_0x48b035 instanceof Int32Array||_0x48b035 instanceof Uint32Array||_0x48b035 instanceof Float32Array||_0x48b035 instanceof Float64Array)&&(_0x48b035=new Uint8Array(_0x48b035[_0xd92166(0x1e0)],_0x48b035[_0xd92166(0x448)],_0x48b035[_0xd92166(0x435)])),_0x48b035 instanceof Uint8Array){for(var _0x383766=_0x48b035[_0xd92166(0x435)],_0x43527c=[],_0x408429=0x0;_0x408429<_0x383766;_0x408429++)_0x43527c[_0x408429>>>0x2]|=_0x48b035[_0x408429]<<0x18-_0x408429%0x4*0x8;_0xce0a1a[_0xd92166(0x2ce)](this,_0x43527c,_0x383766);}else _0xce0a1a['apply'](this,arguments);};_0x435f8d[_0x39e1b7(0x457)]=_0x530070;}}()),_0x39b07a['lib'][_0x4c53b8(0x3ee)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x2def39(0x387)],ci;function Gn(){var _0xe1a2c6=_0x2def39;return ci||(ci=0x1,function(_0x390a09,_0x4c9b01){(function(_0x4e3847,_0x37fa3f,_0x442bb1){var _0x2d6c98=_0x51d5;_0x390a09[_0x2d6c98(0x387)]=_0x37fa3f(ie(),Ui());}(Fn,function(_0x2cd450){var _0x14d385=_0x51d5;return _0x2cd450[_0x14d385(0x201)][_0x14d385(0x371)]={'pad':function(){},'unpad':function(){}},_0x2cd450[_0x14d385(0x201)][_0x14d385(0x371)];}));}(Qe)),Qe[_0xe1a2c6(0x387)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x51ea08,_0x20b06b){var _0x57fa6d=_0x2def39;const _0x2a08da=_0x20b06b-_0x51ea08[_0x57fa6d(0x4c1)]%_0x20b06b,_0x48ddd2=String[_0x57fa6d(0x228)](_0x2a08da)['repeat'](_0x2a08da);return _0x51ea08+_0x48ddd2;}function Yn(_0x2b766a,_0xd901ec){var _0x380312=_0x2def39;const _0x57afb4=jn[_0x380312(0x289)](0x10),_0x26fd02=Kn(_0x2b766a,0x10),_0x1bc093=An[_0x380312(0x2fb)](kn['parse'](_0x26fd02),si['parse'](_0xd901ec),{'iv':_0x57afb4,'padding':Wn});return _0x57afb4[_0x380312(0x4b4)](_0x1bc093[_0x380312(0x354)])[_0x380312(0x330)](si);}function qn(){var _0xa8aa87=_0x2def39;const _0x13e7e8=_0x6e335a()['__Key__'];if(_0x13e7e8){const _0x21c039={'time':Math[_0xa8aa87(0x2ba)](Date[_0xa8aa87(0x3a4)]()/0x3e8),'domain':location[_0xa8aa87(0x3f4)]};return Yn(JSON['stringify'](_0x21c039),_0x13e7e8);}}var zn=Object[_0x2def39(0x37b)],Jn=(_0x1e4492,_0x232dea,_0x2a375b,_0x46b011)=>{var _0x4b4f36=_0x2def39;for(var _0x2327df=_0x46b011>0x1?void 0x0:_0x46b011?zn(_0x232dea,_0x2a375b):_0x232dea,_0x38859a=_0x1e4492[_0x4b4f36(0x4c1)]-0x1,_0x2832bb;_0x38859a>=0x0;_0x38859a--)(_0x2832bb=_0x1e4492[_0x38859a])&&(_0x2327df=_0x2832bb(_0x2327df)||_0x2327df);return _0x2327df;},Xn=(_0x1f4ea3,_0x2e4100)=>(_0x28b2a1,_0x290458)=>_0x2e4100(_0x28b2a1,_0x290458,_0x1f4ea3);let ot=class{constructor(_0x75bb9b){var _0x5b3b20=_0x2def39;this['_httpService']=_0x75bb9b,this[_0x5b3b20(0x22e)]();}[_0x2def39(0x22e)](){var _0x1ed567=_0x2def39;this[_0x1ed567(0x465)][_0x1ed567(0x494)]({'interceptor':(_0x19e6dc,_0x266359)=>{var _0x148c3b=_0x1ed567;const _0x87c33e=_0x19e6dc[_0x148c3b(0x32b)],_0x5c48e1=qn();return _0x5c48e1&&_0x87c33e[_0x148c3b(0x47f)](_0x148c3b(0x22b),_0x5c48e1),_0x266359(_0x19e6dc);}});}};ot=Jn([Xn(0x0,_0x1d5a06(_0x1a399f))],ot);var Zn=Object[_0x2def39(0x37b)],Qn=(_0x17877f,_0x502cc6,_0x1ced06,_0x54d6af)=>{var _0x554865=_0x2def39;for(var _0x3a1360=_0x54d6af>0x1?void 0x0:_0x54d6af?Zn(_0x502cc6,_0x1ced06):_0x502cc6,_0x4b3109=_0x17877f[_0x554865(0x4c1)]-0x1,_0x93a8a3;_0x4b3109>=0x0;_0x4b3109--)(_0x93a8a3=_0x17877f[_0x4b3109])&&(_0x3a1360=_0x93a8a3(_0x3a1360)||_0x3a1360);return _0x3a1360;},mt=(_0x18a9e7,_0xa29e4d)=>(_0x179cc2,_0x306b7b)=>_0xa29e4d(_0x179cc2,_0x306b7b,_0x18a9e7);let bt=class extends _0x27aa9d{constructor(_0x4a63b6,_0x2219c8,_0x1f20ae){var _0xb6f86f=_0x2def39;super(),N(this,_0xb6f86f(0x479),new _0x3f3cf2(null)),N(this,_0xb6f86f(0x33e),this['_unitInfo$'][_0xb6f86f(0x29c)]()),(this[_0xb6f86f(0x3a5)]=_0x4a63b6,this[_0xb6f86f(0x2c9)]=_0x2219c8,this[_0xb6f86f(0x24f)]=_0x1f20ae);}async[_0x2def39(0x327)](_0x174a03,_0x4939bf,_0x4fd000){var _0x2397db=_0x2def39;this['_unitInfo$'][_0x2397db(0x42d)]({'unitId':_0x174a03,'type':_0x4939bf,'subUnitId':_0x4fd000});let _0x301ee8=null;switch(_0x4939bf){case Q[_0x2397db(0x3ba)]:{_0x301ee8=await this[_0x2397db(0x44d)](_0x174a03);break;}case Q[_0x2397db(0x307)]:{_0x301ee8=await this['_loadDoc'](_0x174a03);break;}default:{this['_logService'][_0x2397db(0x40e)]('[DataLoaderService]',_0x2397db(0x26b));break;}}return _0x301ee8;}async[_0x2def39(0x44d)](_0x252920){var _0xd6235a=_0x2def39,_0x4281e5;let _0x547152=0x0;const _0x268345=await((_0x4281e5=this['_localCacheService'])==null?void 0x0:_0x4281e5[_0xd6235a(0x4a3)](_0x252920));return _0x268345&&(_0x268345[_0xd6235a(0x2d3)]||_0x268345[_0xd6235a(0x36d)][_0xd6235a(0x4c1)]!==0x0)&&(_0x547152=_0x268345[_0xd6235a(0x233)]),_0x547152===0x0&&this[_0xd6235a(0x3a5)][_0xd6235a(0x3b3)](_0xd6235a(0x33a),_0xd6235a(0x3f5)),this[_0xd6235a(0x2c9)][_0xd6235a(0x251)](_0x252920,_0x547152);}async[_0x2def39(0x263)](_0x3c4d9c){var _0x19d781=_0x2def39,_0x5b90a8;let _0x2aa31e=0x0;const _0x515f32=await((_0x5b90a8=this[_0x19d781(0x24f)])==null?void 0x0:_0x5b90a8['loadOfflineData'](_0x3c4d9c));return _0x515f32&&(_0x515f32[_0x19d781(0x2d3)]||_0x515f32[_0x19d781(0x36d)][_0x19d781(0x4c1)]!==0x0)&&(_0x2aa31e=_0x515f32[_0x19d781(0x233)]),_0x2aa31e===0x0&&this['_logService'][_0x19d781(0x3b3)]('[DataLoaderService]',_0x19d781(0x3f5)),this[_0x19d781(0x2c9)][_0x19d781(0x453)](_0x3c4d9c,_0x2aa31e);}};bt=Qn([mt(0x0,_0x2a6e14),mt(0x1,_0x1d5a06(_0x87510a)),mt(0x2,_0x1641f7(J))],bt);var es=Object[_0x2def39(0x37b)],ts=(_0x498af2,_0x456a54,_0xeb2c5,_0x43f233)=>{var _0x575073=_0x2def39;for(var _0x4242d6=_0x43f233>0x1?void 0x0:_0x43f233?es(_0x456a54,_0xeb2c5):_0x456a54,_0x4ac364=_0x498af2[_0x575073(0x4c1)]-0x1,_0x188d99;_0x4ac364>=0x0;_0x4ac364--)(_0x188d99=_0x498af2[_0x4ac364])&&(_0x4242d6=_0x188d99(_0x4242d6)||_0x4242d6);return _0x4242d6;},gt=(_0x5c4777,_0x1a8345)=>(_0x54f5ba,_0x1d38d8)=>_0x1a8345(_0x54f5ba,_0x1d38d8,_0x5c4777);const is=[_0x2def39(0x25f),_0x2def39(0x316),_0x2def39(0x285),_0x2def39(0x2bf),'image/bmp'],rs=0x5*0x400*0x400,ns=_0x2def39(0x333),ss=_0x2def39(0x206),os=_0x2def39(0x478),as=_0x2def39(0x30b);let yt=class{constructor(_0x3a6d64,_0x261b2c,_0x7ee5b7){var _0x408802=_0x2def39;N(this,_0x408802(0x34b),0x0),N(this,_0x408802(0x3ff),new _0x2a2340()),N(this,'change$',this[_0x408802(0x3ff)]),N(this,_0x408802(0x238),new Map()),(this['_httpService']=_0x3a6d64,this[_0x408802(0x313)]=_0x261b2c,this[_0x408802(0x1e5)]=_0x7ee5b7);}[_0x2def39(0x2ee)](_0x2a2eb9){var _0x43eceb=_0x2def39;this[_0x43eceb(0x34b)]=_0x2a2eb9,this[_0x43eceb(0x3ff)][_0x43eceb(0x42d)](_0x2a2eb9);}[_0x2def39(0x1f6)](_0x300e6a,_0x3e1fa0){var _0xd287c1=_0x2def39;if(_0x3e1fa0===_0xf9dc84[_0xd287c1(0x422)]){const _0x4bc150=new Image();return _0x4bc150['src']=_0x300e6a,_0x4bc150;}return this['_imageSourceCache'][_0xd287c1(0x229)](_0x300e6a);}[_0x2def39(0x3f6)](_0x56abef,_0x21757f,_0x353825){var _0x2893a1=_0x2def39;_0x21757f===_0xf9dc84[_0x2893a1(0x422)]||_0x353825==null||this[_0x2893a1(0x238)][_0x2893a1(0x47f)](_0x56abef,_0x353825);}async[_0x2def39(0x28f)](_0x4daf86){var _0x36cd4e=_0x2def39;try{const _0x348597=this[_0x36cd4e(0x248)](this[_0x36cd4e(0x372)](),''+_0x4daf86),_0x53a58f=(await this[_0x36cd4e(0x465)][_0x36cd4e(0x229)](_0x348597))[_0x36cd4e(0x442)];if(_0x53a58f[_0x36cd4e(0x40e)]&&_0x53a58f[_0x36cd4e(0x40e)]['code']===Si['OK']){const _0x4f2052=new URL(_0x53a58f[_0x36cd4e(0x300)],this[_0x36cd4e(0x45b)]())[_0x36cd4e(0x330)]();return Promise[_0x36cd4e(0x450)](_0x4f2052);}return Promise[_0x36cd4e(0x393)](_0x53a58f['error']);}catch(_0x5ec2f8){return Promise[_0x36cd4e(0x393)](_0x5ec2f8);}}async['saveImage'](_0x22ba24){var _0x3a177a=_0x2def39;let _0x419c74='';if(!is[_0x3a177a(0x20d)](_0x22ba24[_0x3a177a(0x204)]))return this[_0x3a177a(0x403)](),Promise[_0x3a177a(0x393)](new Error(_0x48868a[_0x3a177a(0x3d3)]));if(_0x22ba24['size']>rs)return this[_0x3a177a(0x403)](),Promise[_0x3a177a(0x393)](new Error(_0x48868a['ERROR_EXCEED_SIZE']));try{const _0x103af6=new FormData();_0x103af6[_0x3a177a(0x3a7)]('file',_0x22ba24);const _0x412ae5=this[_0x3a177a(0x1e5)][_0x3a177a(0x260)](),_0x1bee4b=_0x412ae5==null?void 0x0:_0x412ae5['getUnitId']();if(!_0x1bee4b)throw new Error(_0x3a177a(0x3ac));const _0x2451b1=this['_getUploadFileURL']()+_0x3a177a(0x1c7)+_0x22ba24['size'][_0x3a177a(0x330)]()+_0x3a177a(0x253)+Ei['UnitEmbedded']+_0x3a177a(0x441)+encodeURIComponent(_0x1bee4b),_0x5a668e=await(await fetch(_0x2451b1,{'method':'POST','body':_0x103af6}))[_0x3a177a(0x1f1)]();if(typeof _0x5a668e[_0x3a177a(0x226)]!='string')return this[_0x3a177a(0x403)](),Promise[_0x3a177a(0x393)](new Error(_0x48868a[_0x3a177a(0x25c)]));_0x419c74=_0x5a668e['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x48868a[_0x3a177a(0x25c)]));}return new Promise((_0x551f42,_0x50060d)=>{var _0x570c2b=_0x3a177a;const _0x4f0087=new FileReader();_0x4f0087['readAsDataURL'](_0x22ba24),_0x4f0087[_0x570c2b(0x1dd)]=_0xe1edee=>{var _0xf89190=_0x570c2b,_0xe52e3e;const _0x47c1b4=(_0xe52e3e=_0xe1edee[_0xf89190(0x364)])==null?void 0x0:_0xe52e3e['result'];if(_0x47c1b4==null){this[_0xf89190(0x403)](),_0x50060d(new Error(_0x48868a[_0xf89190(0x25c)]));return;}const _0x44bcf8=_0xce1078[_0xf89190(0x2e1)](0x6);_0x551f42({'imageId':_0x44bcf8,'imageSourceType':_0xf9dc84['UUID'],'source':_0x419c74,'base64Cache':_0x47c1b4,'status':_0x48868a[_0xf89190(0x3be)]}),this['_decreaseWaiting']();};});}[_0x2def39(0x423)](){var _0x5a7031=_0x2def39,_0xf0694f,_0x2f76e5;const _0x19afc9=this[_0x5a7031(0x313)][_0x5a7031(0x287)](ns),_0x1b2f9c=this[_0x5a7031(0x313)][_0x5a7031(0x287)](q);return(_0x2f76e5=(_0xf0694f=_0x1b2f9c==null?void 0x0:_0x1b2f9c['uploadFileServerUrl'])!=null?_0xf0694f:_0x19afc9)!=null?_0x2f76e5:ss;}[_0x2def39(0x372)](){var _0xa99636=_0x2def39,_0x459dfb,_0xd72eff;const _0x210fc1=this[_0xa99636(0x313)][_0xa99636(0x287)](os),_0x47d8de=this['_configService'][_0xa99636(0x287)](q);return(_0xd72eff=(_0x459dfb=_0x47d8de==null?void 0x0:_0x47d8de['signUrlServerUrl'])!=null?_0x459dfb:_0x210fc1)!=null?_0xd72eff:as;}[_0x2def39(0x45b)](){var _0x1363c3=_0x2def39,_0x3f4fbd;const _0x5a0c3c=this[_0x1363c3(0x313)][_0x1363c3(0x287)](q);return(_0x3f4fbd=_0x5a0c3c==null?void 0x0:_0x5a0c3c['downloadEndpointUrl'])!=null?_0x3f4fbd:location[_0x1363c3(0x2b3)];}['_replaceFileID'](_0x349b01,_0x193a37){var _0xe21fa7=_0x2def39;return _0x349b01['replace'](_0xe21fa7(0x3aa),_0x193a37);}[_0x2def39(0x403)](){var _0xfad430=_0x2def39;this[_0xfad430(0x34b)]-=0x1,this[_0xfad430(0x3ff)][_0xfad430(0x42d)](this[_0xfad430(0x34b)]);}};yt=ts([gt(0x0,_0x1d5a06(_0x1a399f)),gt(0x1,_0x331d3e),gt(0x2,_0x1d5a06(_0xc85a44))],yt);var cs=Object['getOwnPropertyDescriptor'],hs=(_0x1bf8ef,_0x2c59d8,_0x40c833,_0x69f946)=>{var _0x1b0e1c=_0x2def39;for(var _0x1e9d9a=_0x69f946>0x1?void 0x0:_0x69f946?cs(_0x2c59d8,_0x40c833):_0x2c59d8,_0x84c902=_0x1bf8ef[_0x1b0e1c(0x4c1)]-0x1,_0x1551d3;_0x84c902>=0x0;_0x84c902--)(_0x1551d3=_0x1bf8ef[_0x84c902])&&(_0x1e9d9a=_0x1551d3(_0x1e9d9a)||_0x1e9d9a);return _0x1e9d9a;},hi=(_0x85e333,_0x4779f5)=>(_0x548273,_0x3df8e2)=>_0x4779f5(_0x548273,_0x3df8e2,_0x85e333);const _s=_0x2def39(0x20e);let Ot=class{constructor(_0x4ce0a2,_0x1d7590){var _0x29c423=_0x2def39;this[_0x29c423(0x313)]=_0x4ce0a2,this['_HTTPService']=_0x1d7590;}[_0x2def39(0x2a9)](){var _0x206654=_0x2def39,_0x4a966b,_0xfa5627;const _0x251da8=this[_0x206654(0x313)][_0x206654(0x287)](Ni),_0x5a9470=this['_configService'][_0x206654(0x287)](q);return(_0xfa5627=(_0x4a966b=_0x5a9470==null?void 0x0:_0x5a9470[_0x206654(0x36c)])!=null?_0x4a966b:_0x251da8)!=null?_0xfa5627:_s;}async[_0x2def39(0x477)](_0xf6dbb4){var _0x4e549b=_0x2def39;const _0x3fe547=this[_0x4e549b(0x2a9)]()+_0x4e549b(0x2fe);return{'list':[{'title':_0x4e549b(0x214),'mentions':(await this['_HTTPService']['get'](_0x3fe547,{'params':{'objectID':_0xf6dbb4[_0x4e549b(0x4ab)],'unitID':_0xf6dbb4[_0x4e549b(0x4ab)]}}))[_0x4e549b(0x442)][_0x4e549b(0x294)][_0x4e549b(0x443)](_0xc387ad=>({'objectId':_0xc387ad['id'],'name':_0xc387ad[_0x4e549b(0x265)][_0x4e549b(0x3a8)],'metadata':{'icon':_0xc387ad['subject'][_0x4e549b(0x366)]},'label':_0xc387ad[_0x4e549b(0x265)][_0x4e549b(0x3a8)],'objectType':_0x154e69[_0x4e549b(0x485)]})),'metadata':{},'type':_0x154e69[_0x4e549b(0x485)]}]};}};Ot=hs([hi(0x0,_0x1d5a06(_0x331d3e)),hi(0x1,_0x1d5a06(_0x1a399f))],Ot);var ls=Object['getOwnPropertyDescriptor'],us=(_0x5611e9,_0x228f6a,_0x527bb2,_0x31df20)=>{for(var _0x274aa1=_0x31df20>0x1?void 0x0:_0x31df20?ls(_0x228f6a,_0x527bb2):_0x228f6a,_0x6ceedb=_0x5611e9['length']-0x1,_0x267587;_0x6ceedb>=0x0;_0x6ceedb--)(_0x267587=_0x5611e9[_0x6ceedb])&&(_0x274aa1=_0x267587(_0x274aa1)||_0x274aa1);return _0x274aa1;},Ae=(_0x15e980,_0x3d18e4)=>(_0x23cc1c,_0x283c09)=>_0x3d18e4(_0x23cc1c,_0x283c09,_0x15e980);let at=class extends _0x27aa9d{constructor(_0x54033e,_0x1634a2,_0x3969ea,_0x27a2c6,_0x2e0784){var _0x1a2738=_0x2def39;super(),this[_0x1a2738(0x45f)]=_0x54033e,this[_0x1a2738(0x1e5)]=_0x1634a2,this[_0x1a2738(0x447)]=_0x3969ea,this[_0x1a2738(0x3b8)]=_0x27a2c6,this[_0x1a2738(0x412)]=_0x2e0784,this['_initUnitPermissionChange'](),this[_0x1a2738(0x3a9)]();}['_initCloseConn'](){var _0x8f8f00=_0x2def39;const _0x1fb082=async _0x14e31b=>{var _0x434d4a=_0x51d5;(await this[_0x434d4a(0x3b8)][_0x434d4a(0x44b)](_0x14e31b))[_0x434d4a(0x44c)][_0x434d4a(0x1e9)](_0x3188d0(_0x362b7f=>_0x362b7f[_0x434d4a(0x219)]===_0x59103b['SHOULD_CLOSE_CONN']),_0x1331b9(this[_0x434d4a(0x220)]))[_0x434d4a(0x415)](_0x34b2c2=>{var _0x54c8eb=_0x434d4a;const _0x3bf639=_0x34b2c2,{reason:_0x4b5370}=_0x3bf639[_0x54c8eb(0x4a8)];this[_0x54c8eb(0x412)][_0x54c8eb(0x2ab)]({'id':se[_0x54c8eb(0x2cf)],'data':_0x4b5370}),this[_0x54c8eb(0x447)]['updatePermissionPoint'](new _0x305304(_0x14e31b)['id'],!0x1),this[_0x54c8eb(0x3b8)][_0x54c8eb(0x40d)](_0x14e31b);});};_0x2c014e(this[_0x8f8f00(0x1e5)]['getTypeOfUnitAdded$'](_0x478b96[_0x8f8f00(0x3ba)]),this[_0x8f8f00(0x1e5)][_0x8f8f00(0x394)](_0x478b96['UNIVER_DOC']))[_0x8f8f00(0x1e9)](_0x31dd76(_0x413821=>_0x413821[_0x8f8f00(0x451)]()),_0x3188d0(_0x35370d=>!_0x57e03f(_0x35370d)),_0x1331b9(this[_0x8f8f00(0x220)]))['subscribe'](_0x43750e=>{_0x1fb082(_0x43750e);});}[_0x2def39(0x3c3)](){var _0x462db2=_0x2def39;const _0x5783b7=async _0x2476eb=>{var _0x47a328=_0x51d5;const _0x271770=await this[_0x47a328(0x3b8)][_0x47a328(0x44b)](_0x2476eb),_0x1e982c=this['_injector'][_0x47a328(0x229)](_0x489f11);_0x271770[_0x47a328(0x44c)]['pipe'](_0x3188d0(_0x48d610=>_0x48d610['eventID']===_0x59103b[_0x47a328(0x24e)]),_0x1331b9(this[_0x47a328(0x220)]))[_0x47a328(0x415)](_0x2ec181=>{var _0x48b0d5=_0x47a328;const _0x575f7c=_0x2ec181,{objectId:_0xd604f4}=_0x575f7c[_0x48b0d5(0x4a8)];_0xd604f4===_0x2476eb?_0x1e982c['initWorkbookPermissionChange'](_0x2476eb):_0x1e982c[_0x48b0d5(0x3ec)](_0x2476eb,_0xd604f4);});};_0x2c014e(this['_univerInstanceService'][_0x462db2(0x394)](_0x478b96[_0x462db2(0x3ba)]))[_0x462db2(0x1e9)](_0x31dd76(_0x1cf7ef=>_0x1cf7ef['getUnitId']()),_0x3188d0(_0xe60881=>!_0x57e03f(_0xe60881)),_0x1331b9(this['dispose$']))[_0x462db2(0x415)](_0x36ff9b=>{_0x5783b7(_0x36ff9b);});}};at=us([Ae(0x0,_0x1d5a06(_0x2e75b3)),Ae(0x1,_0xc85a44),Ae(0x2,_0x1bf615),Ae(0x3,_0x1d5a06(Le)),Ae(0x4,_0x1d5a06(pe))],at);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x4d96b3,_0x2beb4f,_0x4ecb48,_0x3b52c5)=>{var _0x3cc9e3=_0x2def39;for(var _0x403e27=_0x3b52c5>0x1?void 0x0:_0x3b52c5?ds(_0x2beb4f,_0x4ecb48):_0x2beb4f,_0x480f2a=_0x4d96b3[_0x3cc9e3(0x4c1)]-0x1,_0x4dd1e4;_0x480f2a>=0x0;_0x480f2a--)(_0x4dd1e4=_0x4d96b3[_0x480f2a])&&(_0x403e27=_0x4dd1e4(_0x403e27)||_0x403e27);return _0x403e27;},_i=(_0xcb9a76,_0x659ec0)=>(_0x5c7146,_0x1c0122)=>_0x659ec0(_0x5c7146,_0x1c0122,_0xcb9a76);let Nt=class{constructor(_0xa34788,_0x2a242f){var _0x2a3f56=_0x2def39;this['_configService']=_0xa34788,this[_0x2a3f56(0x465)]=_0x2a242f;}async[_0x2def39(0x284)](_0x37f3a6,_0x30d053){var _0x2ab43d=_0x2def39,_0x24e083;const {unitID:_0x3a4656,type:_0x45e946,revision:_0x4cdb8b=0x0}=_0x30d053,_0x307b7d=this['getSnapshotAPIPath']()+'/'+_0x45e946+'/unit/'+_0x3a4656+_0x2ab43d(0x4b0)+_0x4cdb8b,_0x615bf0=(await this[_0x2ab43d(0x465)][_0x2ab43d(0x229)](_0x307b7d))[_0x2ab43d(0x442)],_0x4de59c=(_0x24e083=_0x615bf0[_0x2ab43d(0x3ca)])==null?void 0x0:_0x24e083[_0x2ab43d(0x2f8)];if(_0x4de59c){const _0x5b5b71=_0x4de59c==null?void 0x0:_0x4de59c['originalMeta'],_0x21a277=_0x220ee9[_0x2ab43d(0x390)](_0x2c8896(_0x5b5b71));_0x4de59c[_0x2ab43d(0x4b8)]=_0x21a277,Object[_0x2ab43d(0x236)](_0x4de59c[_0x2ab43d(0x3b0)])[_0x2ab43d(0x2b0)](([,_0x405c2d])=>{var _0x345fc2=_0x2ab43d;const _0x2c03b9=_0x405c2d[_0x345fc2(0x4b8)],_0x6c58a4=_0x220ee9[_0x345fc2(0x390)](_0x2c8896(_0x2c03b9));_0x405c2d['originalMeta']=_0x6c58a4;});}return _0x615bf0;}async[_0x2def39(0x45e)](_0x4795f2,_0x412694){var _0x4a9a05=_0x2def39;const {unitID:_0x4cf381,type:_0x414607,blockID:_0x4cdcf0}=_0x412694,_0x50aa31=this['_getAPIPrefix']()+'/'+_0x414607+'/unit/'+_0x4cf381+'/block/'+_0x4cdcf0;return(await this[_0x4a9a05(0x465)][_0x4a9a05(0x229)](_0x50aa31))[_0x4a9a05(0x442)];}async[_0x2def39(0x1d1)](_0x4d3046,_0x27a3b6){var _0x321c19=_0x2def39;const {unitID:_0x490214,type:_0x4dd413,blockID:_0x47a4e9}=_0x27a3b6,_0x3dcec9=this[_0x321c19(0x436)]()+_0x321c19(0x258)+_0x4dd413+'/unit/'+_0x490214+_0x321c19(0x258)+_0x47a4e9;return(await this[_0x321c19(0x465)]['get'](_0x3dcec9))['body'];}async[_0x2def39(0x25e)](_0x5c8614,_0x183606){var _0xf3f65e=_0x2def39;const {unitID:_0x252266,type:_0x25e2da,from:_0x5af12c,to:_0x52ecaf}=_0x183606,_0x1f368b=this['_getAPIPrefix']()+'/'+_0x25e2da+_0xf3f65e(0x4bd)+_0x252266+'/fetchmissing?from='+_0x5af12c+_0xf3f65e(0x32f)+_0x52ecaf;return(await this[_0xf3f65e(0x465)][_0xf3f65e(0x229)](_0x1f368b))[_0xf3f65e(0x442)];}[_0x2def39(0x3de)](){var _0x1c5f9a=_0x2def39,_0x5564f3;return(_0x5564f3=this['_configService'][_0x1c5f9a(0x287)](gr))!=null?_0x5564f3:this[_0x1c5f9a(0x436)]();}[_0x2def39(0x436)](){var _0x2f32aa=_0x2def39,_0x2dab47,_0x4845e9;const _0x5400e8=this[_0x2f32aa(0x313)][_0x2f32aa(0x287)](pr),_0x46f5b3=this['_configService'][_0x2f32aa(0x287)](q);return(_0x4845e9=(_0x2dab47=_0x46f5b3==null?void 0x0:_0x46f5b3[_0x2f32aa(0x1cb)])!=null?_0x2dab47:_0x5400e8)!=null?_0x4845e9:mr;}async['getResourcesRequest'](_0x16ef47,_0x133e37){var _0x4474b0=_0x2def39;const _0x2b960d=_0x4474b0(0x370)+_0x133e37[_0x4474b0(0x204)]+_0x4474b0(0x4bd)+_0x133e37[_0x4474b0(0x2b4)]+_0x4474b0(0x27d);return(await this[_0x4474b0(0x465)][_0x4474b0(0x229)](_0x2b960d,{'params':{'resourceId':JSON[_0x4474b0(0x1c3)](_0x133e37[_0x4474b0(0x2b6)])}}))[_0x4474b0(0x442)];}[_0x2def39(0x346)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2def39(0x47c)](){var _0x5aead1=_0x2def39;throw new Error(_0x5aead1(0x218));}['saveChangeset'](){var _0x1cd9d6=_0x2def39;throw new Error(_0x1cd9d6(0x218));}[_0x2def39(0x4a5)](){var _0x4d6f5d=_0x2def39;throw new Error(_0x4d6f5d(0x218));}['getLatestCsReqIdBySid'](){var _0x48ed0a=_0x2def39;throw new Error(_0x48ed0a(0x218));}};Nt=fs([_i(0x0,_0x331d3e),_i(0x1,_0x1d5a06(_0x1a399f))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0xafe77a,_0x1186df,_0x20de17,_0x5c0d48)=>{var _0x3ed7f9=_0x2def39;for(var _0x5a56e=_0x5c0d48>0x1?void 0x0:_0x5c0d48?vs(_0x1186df,_0x20de17):_0x1186df,_0x9243cd=_0xafe77a[_0x3ed7f9(0x4c1)]-0x1,_0x3e5411;_0x9243cd>=0x0;_0x9243cd--)(_0x3e5411=_0xafe77a[_0x9243cd])&&(_0x5a56e=_0x3e5411(_0x5a56e)||_0x5a56e);return _0x5a56e;},Pe=(_0x26393b,_0x62997b)=>(_0x1e6d14,_0x23a6db)=>_0x62997b(_0x1e6d14,_0x23a6db,_0x26393b);let Dt=class extends _0x49b9f1{constructor(_0xeec8fa,_0x313ee8,_0x1cbdc2,_0x2e80e9,_0x592a95){var _0x179b49=_0x2def39;super(_0xeec8fa,_0x313ee8,_0x1cbdc2),this[_0x179b49(0x427)]=_0x2e80e9,this[_0x179b49(0x3a5)]=_0x592a95;}['transformUndoRedo'](_0x338958,_0x265bfd){var _0x3221a7=_0x2def39;const _0x3b0882=this[_0x3221a7(0x2e2)](_0x338958);if(_0x3b0882)try{const _0x50459f=this[_0x3221a7(0x437)](_0x3b0882,_0x265bfd);this[_0x3221a7(0x369)](_0x338958,_0x50459f);}catch(_0x18639a){this['_logService'][_0x3221a7(0x40e)](_0x3221a7(0x400),_0x18639a),this['_clearUndo'](_0x338958);}const _0x4acc7b=this[_0x3221a7(0x245)](_0x338958);if(_0x4acc7b)try{const _0x41b498=this[_0x3221a7(0x437)](_0x4acc7b,_0x265bfd);this[_0x3221a7(0x348)](_0x338958,_0x41b498);}catch(_0xf3cf9c){this['_logService'][_0x3221a7(0x40e)](_0xf3cf9c),this[_0x3221a7(0x39e)](_0x338958);}}[_0x2def39(0x46e)](_0x4cbe21){var _0x2b77b8=_0x2def39;const _0x3a2b94=this[_0x2b77b8(0x2e2)](_0x4cbe21);_0x3a2b94&&(_0x3a2b94[_0x2b77b8(0x4c1)]=0x0,this[_0x2b77b8(0x343)]());}[_0x2def39(0x39e)](_0x4c1b94){var _0x1a25f7=_0x2def39;const _0x3496ca=this[_0x1a25f7(0x245)](_0x4c1b94);_0x3496ca&&(_0x3496ca[_0x1a25f7(0x4c1)]=0x0,this[_0x1a25f7(0x343)]());}[_0x2def39(0x369)](_0x5783cb,_0x1b92b3){var _0x56685a=_0x2def39;this['_undoStacks'][_0x56685a(0x47f)](_0x5783cb,_0x1b92b3),this['_updateStatus']();}[_0x2def39(0x348)](_0x5d2f63,_0x21fb34){var _0x2a9ddf=_0x2def39;this['_redoStacks'][_0x2a9ddf(0x47f)](_0x5d2f63,_0x21fb34),this[_0x2a9ddf(0x343)]();}[_0x2def39(0x437)](_0x14fc1b,_0x5473b9){var _0x323e04=_0x2def39;const _0x277849=[];let _0x46d81c=_0x5473b9,_0x27d33c=_0x5473b9;for(let _0x43eb17=_0x14fc1b[_0x323e04(0x4c1)]-0x1;_0x43eb17>=0x0;_0x43eb17--){const {unitID:_0x46cb6a,undoMutations:_0x366673,redoMutations:_0x221c98}=_0x14fc1b[_0x43eb17],_0x1ff540=this[_0x323e04(0x427)][_0x323e04(0x45d)](_0x46d81c,_0x366673),_0x1fdf50=this[_0x323e04(0x427)]['transformMutationsWithChangeset'](_0x27d33c,_0x221c98);if(_0x3d6cd1(_0x1ff540)||_0x3d6cd1(_0x1fdf50)){this[_0x323e04(0x3a5)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x1ff540,_0x1fdf50);break;}_0x46d81c=_0x1ff540[_0x323e04(0x490)],_0x27d33c=_0x1fdf50[_0x323e04(0x490)],_0x277849[_0x323e04(0x47a)]({'unitID':_0x46cb6a,'undoMutations':_0x1ff540[_0x323e04(0x446)],'redoMutations':_0x1fdf50['m2Prime']});}return _0x277849[_0x323e04(0x1c2)]();}};Dt=ps([Pe(0x0,_0xc85a44),Pe(0x1,_0x422ee1),Pe(0x2,_0x42bfc3),Pe(0x3,_0x1ddd96),Pe(0x4,_0x2a6e14)],Dt);var ms=Object[_0x2def39(0x4a4)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x5a9631,_0x27a0de,_0x38b636)=>_0x27a0de in _0x5a9631?ms(_0x5a9631,_0x27a0de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b636}):_0x5a9631[_0x27a0de]=_0x38b636,Es=(_0x4cee0c,_0x133cf0,_0xa810e5,_0x5a51c3)=>{for(var _0x2a71c0=_0x5a51c3>0x1?void 0x0:_0x5a51c3?gs(_0x133cf0,_0xa810e5):_0x133cf0,_0x3c4982=_0x4cee0c['length']-0x1,_0x33a96c;_0x3c4982>=0x0;_0x3c4982--)(_0x33a96c=_0x4cee0c[_0x3c4982])&&(_0x2a71c0=_0x33a96c(_0x2a71c0)||_0x2a71c0);return _0x2a71c0;},St=(_0x457d37,_0x379f98)=>(_0xa8d911,_0x4b74e1)=>_0x379f98(_0xa8d911,_0x4b74e1,_0x457d37),Is=(_0x22f59c,_0x4477fb,_0x3e80eb)=>Ss(_0x22f59c,_0x4477fb+'',_0x3e80eb);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x125a5d{constructor(_0x21d33e,_0x576a2a,_0x2115fa,_0x59ef10){var _0x5c68cb=_0x2def39;super(),N(this,_0x5c68cb(0x456)),(this[_0x5c68cb(0x3a5)]=_0x576a2a,this[_0x5c68cb(0x45f)]=_0x2115fa,this[_0x5c68cb(0x313)]=_0x59ef10);const {..._0x817e0a}=_0x3c195d({},Ur,_0x21d33e);if(!_0x817e0a[_0x5c68cb(0x3ce)])throw new Error(_0x5c68cb(0x1cc));this[_0x5c68cb(0x456)]=_0x817e0a,this[_0x5c68cb(0x313)][_0x5c68cb(0x23d)](q,_0x817e0a);}[_0x2def39(0x363)](){var _0x39834e=_0x2def39;this['_registerDependencies'](),this[_0x39834e(0x28c)]();}[_0x2def39(0x28d)](){var _0x5a9e8d=_0x2def39,_0x7661bf,_0xde5424;this[_0x5a9e8d(0x45f)][_0x5a9e8d(0x2c2)](_0x436cbf)&&this['_logService'][_0x5a9e8d(0x40e)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1e2597=_0x489395([[_0x436cbf,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x5a9e8d(0x456)]['socketService']}],[_0x331bc1,{'useClass':Nt}],[_0xa660eb,{'useClass':Rt}],[_0x129d99,{'useClass':yt}],[_0x144ffb,{'useClass':Ot}],[nt],[Ct]],(_0x7661bf=this['_config'])==null?void 0x0:_0x7661bf[_0x5a9e8d(0x30a)]);if(!((_0xde5424=this[_0x5a9e8d(0x456)])!=null&&_0xde5424[_0x5a9e8d(0x2dc)])){const _0x50f023=_0x1e2597[_0x5a9e8d(0x2ef)](([_0x4e1e1b])=>_0x4e1e1b===ht);_0x50f023!==-0x1&&_0x1e2597[_0x5a9e8d(0x22c)](_0x50f023,0x1);}_0x169032(this['_injector'],_0x1e2597);}[_0x2def39(0x28c)](){var _0x38e084=_0x2def39,_0x1bb5e1,_0x18aabb,_0x2e0a98;this[_0x38e084(0x45f)][_0x38e084(0x229)](_0x1a399f)[_0x38e084(0x494)]({'priority':0x14,'interceptor':_0x609aa({'maxParallel':0x6})}),(_0x1bb5e1=this['_config'])!=null&&_0x1bb5e1[_0x38e084(0x41a)]||(_0x18aabb=this[_0x38e084(0x45f)][_0x38e084(0x229)](J,_0x4dc62d[_0x38e084(0x3e6)]))==null||_0x18aabb[_0x38e084(0x344)](),(_0x2e0a98=this[_0x38e084(0x456)])!=null&&_0x2e0a98['enableAuthServer']&&_0x560808(this[_0x38e084(0x45f)],[[st]]),_0x560808(this[_0x38e084(0x45f)],[[ot],[nt],[at]]);}};Is(wt,_0x2def39(0x305),Ts),wt=Es([_0x4823af(_0x166ffb,_0xe15cfd),St(0x1,_0x2a6e14),St(0x2,_0x1d5a06(_0x2e75b3)),St(0x3,_0x331d3e)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|