@univerjs-pro/collaboration-client 0.5.1-nightly.202412141605 → 0.5.1-nightly.202412160721
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/types/config/config.d.ts +7 -2
- package/lib/types/facade/f-collaboration.d.ts +4 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2776ba=_0x533f;(function(_0x21e3f6,_0x3dbff0){var _0x41842e=_0x533f,_0x51d420=_0x21e3f6();while(!![]){try{var _0x31a645=-parseInt(_0x41842e(0x3b4))/0x1+parseInt(_0x41842e(0x20a))/0x2+-parseInt(_0x41842e(0x1ae))/0x3*(-parseInt(_0x41842e(0x240))/0x4)+-parseInt(_0x41842e(0x1b4))/0x5*(parseInt(_0x41842e(0x40a))/0x6)+parseInt(_0x41842e(0x462))/0x7+-parseInt(_0x41842e(0x347))/0x8*(parseInt(_0x41842e(0x38d))/0x9)+parseInt(_0x41842e(0x3a3))/0xa*(parseInt(_0x41842e(0x2c1))/0xb);if(_0x31a645===_0x3dbff0)break;else _0x51d420['push'](_0x51d420['shift']());}catch(_0x2b0d34){_0x51d420['push'](_0x51d420['shift']());}}}(_0x52c6,0xc97fa));var Mi=Object['defineProperty'],$i=(_0x17d945,_0x2f203f,_0x5c766a)=>_0x2f203f in _0x17d945?Mi(_0x17d945,_0x2f203f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c766a}):_0x17d945[_0x2f203f]=_0x5c766a,N=(_0x143a77,_0x43cb3d,_0x18fd7c)=>$i(_0x143a77,typeof _0x43cb3d!=_0x2776ba(0x2c0)?_0x43cb3d+'':_0x43cb3d,_0x18fd7c);import{createIdentifier as _0x2b60cb,Inject as _0xad32f2,Injector as _0x237237,Disposable as _0x35df0f,DisposableCollection as _0x552e3c,toDisposable as _0xe3522b,IConfigService as _0x5aacb0,ILogService as _0x3b0698,UserManagerService as _0x2e3a7d,UniverInstanceType as _0x471c35,IUniverInstanceService as _0x16c691,LocaleService as _0x415ba6,Optional as _0x122f64,RxDisposable as _0x3fbf91,Tools as _0x25d273,Rectangle as _0x2f92b0,ICommandService as _0x36939e,JSONX as _0x1d5fa3,CommandType as _0x5f58ab,IPermissionService as _0x39f738,IUndoRedoService as _0x3d484f,sequenceExecute as _0x179b24,Workbook as _0x4dafa2,MentionType as _0x2114f1,IAuthzIoService as _0x86fc7f,isInternalEditorID as _0x3760ff,LocalUndoRedoService as _0x51c279,IContextService as _0x3fe93c,DependentOn as _0x5dabf5,Plugin as _0x3c4407,mergeOverrideWithDependencies as _0x4915e8,IMentionIOService as _0x5b2452,registerDependencies as _0x2f5c27,Quantity as _0x2f87b6,touchDependencies as _0x199992}from'@univerjs/core';import{Subject as _0x119eaf,merge as _0x207695,of as _0x5dc709,BehaviorSubject as _0x5f0741,takeUntil as _0x16b361,ReplaySubject as _0x3b1342,take as _0x51019b,map as _0x4c876c,shareReplay as _0x1a46f2,firstValueFrom as _0x35ec08,concatMap as _0x1e9a27}from'rxjs';import{map as _0x554d4a,take as _0x4f666c,filter as _0x3994ac,delay as _0x528e9b,takeUntil as _0x526c8f}from'rxjs/operators';import{HTTPService as _0x3d73d7,ISocketService as _0x2460b2,MergeInterceptorFactory as _0x1d86e2,HTTPRequest as _0x7a37fc,UniverNetworkPlugin as _0x58051c,ThresholdInterceptorFactory as _0xb3f1}from'@univerjs/network';import{CollaborationEvent as _0x46c53f,parseChangesetToProtocol as _0x2f4ed1,ISnapshotServerService as _0x1ae103,isTransformMutationsWithChangesetSuccess as _0x348bf3,ITransformService as _0x5c7c3f,mapDocumentTypeToUniverType as _0x299fb3,RevisionService as _0x19c318,isTransformChangesetsSuccess as _0x585f59,CompressMutationService as _0x4e4230,parseProtocolChangeset as _0x3f2bbf,SnapshotService as _0x5187c9,textEncoder as _0x5dc421,b64DecodeUnicode as _0x2d8599,isTransformMutationsWithChangesetFailure as _0x42721e,UniverCollaborationPlugin as _0x31a91e}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3f4699}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5bed94}from'@univerjs/docs';import{SheetsSelectionsService as _0x53cfeb,SetSelectionsOperation as _0x3a5593,InsertSheetMutation as _0x1dee63,EmptyMutation as _0x15e802,WorkbookEditablePermission as _0x1f9850,UnitObject as _0x2f480e,defaultWorkbookPermissionPoints as _0x369f6d,getAllWorkbookPermissionPoint as _0x29d829,WorksheetProtectionRuleModel as _0x21d734,baseProtectionActions as _0x288263,getAllWorksheetPermissionPoint as _0x4d3518,WorksheetProtectionPointModel as _0x51f3b0,defaultWorksheetPermissionPoint as _0x364719,getAllWorksheetPermissionPointByPointPanel as _0x27176b,RangeProtectionRuleModel as _0xf49ef6,getAllRangePermissionPoint as _0x220b25,UniverSheetsPlugin as _0x55f85f}from'@univerjs/sheets';import{ImageSourceType as _0x1be747,ImageUploadStatusType as _0x3db4e2,IImageIoService as _0x251296}from'@univerjs/drawing';import{getGlobalObject as _0x18fd3a}from'@univerjs-pro/license';const Pn=_0x2776ba(0x1b0),Nn=_0x2776ba(0x46c),Dn=_0x2776ba(0x3dc),ho=_0x2776ba(0x391),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An='ws://127.0.0.1:8000/universer-api/comb/connect',xn='/universer-api/user/session-ticket',Ln=_0x2776ba(0x23c),Mn=0x7530,Ei=_0x2776ba(0x3f1),Ii=0x4e20,$n=0x4e20,Hn='RETRY_CONNECTING_MAX_COUNT',kn=0x3,_o=_0x2776ba(0x254),lo=0x3e8,jn=_0x2776ba(0x3ca),Bn=_0x2776ba(0x25a),Fn=_0x2776ba(0x2d8),Vn=_0x2776ba(0x3eb);var Ti=(_0x44b35f=>(_0x44b35f[_0x44b35f[_0x2776ba(0x192)]=0x0]='UNDEFINED',_0x44b35f[_0x44b35f['OK']=0x1]='OK',_0x44b35f[_0x44b35f[_0x2776ba(0x3a0)]=0x2]=_0x2776ba(0x3a0),_0x44b35f[_0x44b35f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x44b35f[_0x44b35f['NOT_FOUND']=0x4]='NOT_FOUND',_0x44b35f[_0x44b35f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x44b35f[_0x44b35f[_0x2776ba(0x452)]=0x6]=_0x2776ba(0x452),_0x44b35f[_0x44b35f[_0x2776ba(0x442)]=0x7]='INVALID_ARGUMENT',_0x44b35f[_0x44b35f[_0x2776ba(0x1c7)]=0x8]=_0x2776ba(0x1c7),_0x44b35f[_0x44b35f['COMPLETION_FINISHED']=0x9]=_0x2776ba(0x465),_0x44b35f[_0x44b35f[_0x2776ba(0x400)]=0x1389]=_0x2776ba(0x400),_0x44b35f[_0x44b35f[_0x2776ba(0x266)]=0x1771]=_0x2776ba(0x266),_0x44b35f[_0x44b35f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x44b35f[_0x44b35f[_0x2776ba(0x185)]=0x1773]=_0x2776ba(0x185),_0x44b35f[_0x44b35f['APPLY_REJECT']=0x1b59]=_0x2776ba(0x42d),_0x44b35f[_0x44b35f[_0x2776ba(0x3ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x44b35f[_0x44b35f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2776ba(0x1e4),_0x44b35f[_0x44b35f[_0x2776ba(0x27e)]=0x1b5c]=_0x2776ba(0x27e),_0x44b35f[_0x44b35f['APPLY_DUPLICATED']=0x1b5d]=_0x2776ba(0x2e8),_0x44b35f[_0x44b35f[_0x2776ba(0x2da)]=0x1f41]=_0x2776ba(0x2da),_0x44b35f[_0x44b35f[_0x2776ba(0x39e)]=0x2329]=_0x2776ba(0x39e),_0x44b35f[_0x44b35f[_0x2776ba(0x3fc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x44b35f[_0x44b35f[_0x2776ba(0x468)]=0x232b]=_0x2776ba(0x468),_0x44b35f[_0x44b35f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2776ba(0x258),_0x44b35f[_0x44b35f[_0x2776ba(0x362)]=0x232d]=_0x2776ba(0x362),_0x44b35f[_0x44b35f[_0x2776ba(0x2b1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x44b35f[_0x44b35f[_0x2776ba(0x286)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x44b35f[_0x44b35f[_0x2776ba(0x284)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x44b35f[_0x44b35f[_0x2776ba(0x457)]=0x2714]=_0x2776ba(0x457),_0x44b35f[_0x44b35f[_0x2776ba(0x293)]=-0x1]=_0x2776ba(0x293),_0x44b35f))(Ti||{}),Q=(_0x2f5178=>(_0x2f5178[_0x2f5178[_0x2776ba(0x434)]=0x0]=_0x2776ba(0x434),_0x2f5178[_0x2f5178[_0x2776ba(0x3f8)]=0x1]=_0x2776ba(0x3f8),_0x2f5178[_0x2f5178['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2f5178[_0x2f5178[_0x2776ba(0x1bd)]=0x3]=_0x2776ba(0x1bd),_0x2f5178[_0x2f5178['UNIVER_PROJECT']=0x4]=_0x2776ba(0x41a),_0x2f5178[_0x2f5178[_0x2776ba(0x293)]=-0x1]='UNRECOGNIZED',_0x2f5178))(Q||{}),F=(_0x2b1f85=>(_0x2b1f85[_0x2b1f85[_0x2776ba(0x235)]=0x0]=_0x2776ba(0x235),_0x2b1f85[_0x2b1f85[_0x2776ba(0x3d5)]=0x1]='HELLO',_0x2b1f85[_0x2b1f85[_0x2776ba(0x248)]=0x2]=_0x2776ba(0x248),_0x2b1f85[_0x2b1f85[_0x2776ba(0x354)]=0x3]=_0x2776ba(0x354),_0x2b1f85[_0x2b1f85[_0x2776ba(0x3e8)]=0x4]='INGEST',_0x2b1f85[_0x2b1f85[_0x2776ba(0x1ca)]=0x5]=_0x2776ba(0x1ca),_0x2b1f85[_0x2b1f85[_0x2776ba(0x42c)]=0x6]=_0x2776ba(0x42c),_0x2b1f85[_0x2b1f85[_0x2776ba(0x293)]=-0x1]=_0x2776ba(0x293),_0x2b1f85))(F||{}),Ee=(_0x489d87=>(_0x489d87[_0x489d87[_0x2776ba(0x271)]=0x0]=_0x2776ba(0x271),_0x489d87[_0x489d87['OK']=0x1]='OK',_0x489d87[_0x489d87[_0x2776ba(0x43e)]=0x2]=_0x2776ba(0x43e),_0x489d87[_0x489d87['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x489d87[_0x489d87[_0x2776ba(0x1c3)]=0x3ea]=_0x2776ba(0x1c3),_0x489d87[_0x489d87[_0x2776ba(0x201)]=0x3eb]=_0x2776ba(0x201),_0x489d87[_0x489d87['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2776ba(0x25b),_0x489d87[_0x489d87[_0x2776ba(0x293)]=-0x1]='UNRECOGNIZED',_0x489d87))(Ee||{}),Ci=(_0xef41cd=>(_0xef41cd[_0xef41cd['Undefined']=0x0]='Undefined',_0xef41cd[_0xef41cd[_0x2776ba(0x2cc)]=0x1]=_0x2776ba(0x2cc),_0xef41cd[_0xef41cd[_0x2776ba(0x3db)]=0x2]=_0x2776ba(0x3db),_0xef41cd[_0xef41cd[_0x2776ba(0x3b6)]=0x3]=_0x2776ba(0x3b6),_0xef41cd[_0xef41cd[_0x2776ba(0x1a5)]=0x4]=_0x2776ba(0x1a5),_0xef41cd[_0xef41cd['UNRECOGNIZED']=-0x1]=_0x2776ba(0x293),_0xef41cd))(Ci||{});const Y=_0x2776ba(0x1f4),Wn={};var re=(_0x311227=>(_0x311227['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x311227[_0x2776ba(0x3da)]=_0x2776ba(0x3da),_0x311227[_0x2776ba(0x230)]=_0x2776ba(0x230),_0x311227[_0x2776ba(0x224)]=_0x2776ba(0x224),_0x311227[_0x2776ba(0x406)]=_0x2776ba(0x406),_0x311227['SOCKET_FAILED_RETRY']=_0x2776ba(0x37b),_0x311227[_0x2776ba(0x1ac)]=_0x2776ba(0x1ac),_0x311227['SUBMIT_CHANGESET_TIMEOUT']=_0x2776ba(0x370),_0x311227))(re||{});class pe{constructor(){var _0x4ce2b2=_0x2776ba;N(this,_0x4ce2b2(0x3c9),new _0x119eaf()),N(this,_0x4ce2b2(0x35e),this[_0x4ce2b2(0x3c9)][_0x4ce2b2(0x340)]());}[_0x2776ba(0x1cc)](_0x129b52){var _0x506744=_0x2776ba;this[_0x506744(0x3c9)]['next'](_0x129b52);}}const Gn=_0x2b60cb(_0x2776ba(0x3bc));function Kn(_0x4c2f7d){var _0x42cdf0=_0x2776ba,_0x31a146,_0x5893d0,_0x997db,_0x3277f9,_0x439781;const _0x18677b=_0x4c2f7d[_0x42cdf0(0x3b8)],_0x381053=JSON[_0x42cdf0(0x3b0)](_0x18677b);switch(_0x381053[_0x42cdf0(0x1d0)]){case F[_0x42cdf0(0x1ca)]:case F[_0x42cdf0(0x3d5)]:{const _0x52e1d1=_0x381053[_0x42cdf0(0x1eb)];return{..._0x381053,'data':_0x52e1d1,'cmd':_0x381053[_0x42cdf0(0x1d0)]};}case F[_0x42cdf0(0x248)]:{const _0x19f7f8=_0x381053[_0x42cdf0(0x3c4)];return{..._0x381053,'data':_0x19f7f8,'cmd':_0x381053[_0x42cdf0(0x1d0)]};}case F[_0x42cdf0(0x42c)]:{const _0x4c009e=_0x381053[_0x42cdf0(0x44f)];switch(_0x4c009e[_0x42cdf0(0x299)]){case _0x46c53f[_0x42cdf0(0x274)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x31a146=_0x4c009e[_0x42cdf0(0x239)])==null?void 0x0:_0x31a146['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x3c8)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x5893d0=_0x4c009e[_0x42cdf0(0x1dd)])==null?void 0x0:_0x5893d0['cs']},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x314)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x997db=_0x4c009e[_0x42cdf0(0x33f)])==null?void 0x0:_0x997db['cs']},'cmd':_0x381053['cmd']};case _0x46c53f['CHANGESET_REJ']:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x3277f9=_0x4c009e['csRejEvent'])==null?void 0x0:_0x3277f9['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x2d0)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x439781=_0x4c009e[_0x42cdf0(0x3c0)])==null?void 0x0:_0x439781['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x3ab)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e['updateCursorEvent']},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x297)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x2b5)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x2f3)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x292)]},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x196)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x252)]},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x33c)]:case _0x46c53f[_0x42cdf0(0x1a3)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x21d)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x3af)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x252)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x35f)]:return{..._0x381053,'data':_0x4c009e,'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f['COMMENT_UPDATE']:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x1fe)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x2a2)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e['updatePermissionObjEvent']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x42e)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x2d9)]},'cmd':_0x381053['cmd']};case _0x46c53f['UNISCRIPT_RUN']:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x372)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};default:return _0x381053;}}default:return _0x381053;}}function zn(_0x1d9665){var _0x246e18=_0x2776ba;switch(_0x1d9665[_0x246e18(0x1d0)]){case F[_0x246e18(0x1ca)]:case F[_0x246e18(0x3d5)]:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665['routeKey']});case F[_0x246e18(0x3e8)]:{let _0xe97cf3;switch(_0x1d9665['data']['eventID']){case _0x46c53f[_0x246e18(0x3ab)]:{_0xe97cf3={'eventID':_0x46c53f['UPDATE_CURSOR'],'updateCursorEvent':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x3b8)]};break;}case _0x46c53f['USERS_LEAVE']:{_0xe97cf3={'eventID':_0x46c53f['USERS_LEAVE'],'leaveEvent':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f['USERS_ENTER']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x297)],'joinEvent':_0x1d9665['data']['data']};break;}case _0x46c53f['LIVESHARE_NEW_HOST']:{_0xe97cf3={'eventID':_0x46c53f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f['LIVESHARE_OPERATION']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x1a3)],'liveShareOperation':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x3b8)]};break;}case _0x46c53f['LIVESHARE_TERMINATE']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x3af)],'liveShareTerminate':_0x1d9665['data']['data']};break;}case _0x46c53f[_0x246e18(0x3be)]:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x3be)],'liveShareRequestHost':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f[_0x246e18(0x33c)]:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x33c)]};break;}default:_0xe97cf3={'eventID':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x299)]};}return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665[_0x246e18(0x35d)],'collaMsg':_0xe97cf3});}case F['JOIN']:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665['cmd'],'routeKey':_0x1d9665[_0x246e18(0x35d)],'joinReq':_0x1d9665[_0x246e18(0x3b8)]});case F['LEAVE']:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665[_0x246e18(0x35d)],'leaveReq':_0x1d9665[_0x246e18(0x3b8)]});default:throw new Error(_0x246e18(0x382));}}var Yn=Object[_0x2776ba(0x282)],qn=Object[_0x2776ba(0x236)],Jn=(_0x1fac77,_0x5237c5,_0xb6a3d7,_0x18d1fb)=>{var _0xe021bb=_0x2776ba;for(var _0x4eef12=_0x18d1fb>0x1?void 0x0:_0x18d1fb?qn(_0x5237c5,_0xb6a3d7):_0x5237c5,_0x4f563d=_0x1fac77[_0xe021bb(0x2a6)]-0x1,_0x4816a8;_0x4f563d>=0x0;_0x4f563d--)(_0x4816a8=_0x1fac77[_0x4f563d])&&(_0x4eef12=(_0x18d1fb?_0x4816a8(_0x5237c5,_0xb6a3d7,_0x4eef12):_0x4816a8(_0x4eef12))||_0x4eef12);return _0x18d1fb&&_0x4eef12&&Yn(_0x5237c5,_0xb6a3d7,_0x4eef12),_0x4eef12;},Ue=(_0x3e9b8b,_0x4a524e)=>(_0x4e2844,_0x2468df)=>_0x4a524e(_0x4e2844,_0x2468df,_0x3e9b8b);const bi=_0x2b60cb(_0x2776ba(0x206));function Xn(_0x3eebce,_0x2ca2d2,_0x1eb445){var _0x33b830=_0x2776ba;return _0x3eebce+'/'+_0x2ca2d2+'/unit/'+_0x1eb445+_0x33b830(0x324);}let It=class extends _0x35df0f{constructor(_0x2d6e78,_0x13874d,_0x8cecf9,_0x5968c0,_0x4c7178){var _0x389085=_0x2776ba;super(),this[_0x389085(0x38a)]=_0x2d6e78,this[_0x389085(0x326)]=_0x13874d,this[_0x389085(0x45d)]=_0x8cecf9,this[_0x389085(0x1d7)]=_0x5968c0,this[_0x389085(0x47c)]=_0x4c7178;}['createSocket'](_0x17f0f9){var _0x49d880=_0x2776ba;const _0xeb5702=this[_0x49d880(0x38a)][_0x49d880(0x190)](_0x2460b2);if(!_0xeb5702)throw new Error(_0x49d880(0x335));const _0x5ad4b7=_0xeb5702[_0x49d880(0x35a)](_0x17f0f9);if(!_0x5ad4b7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4b2c9b=new _0x552e3c(),_0x20911c=new _0x119eaf();_0x4b2c9b['add'](_0x5ad4b7[_0x49d880(0x3e7)][_0x49d880(0x20f)](_0x84b3c1=>_0x20911c['next'](_0x84b3c1))),_0x4b2c9b[_0x49d880(0x3c7)](_0xe3522b(()=>_0x20911c[_0x49d880(0x3b5)]()));const _0x1c92ac=new _0x119eaf();_0x4b2c9b[_0x49d880(0x3c7)](_0x5ad4b7[_0x49d880(0x1cd)][_0x49d880(0x20f)](_0x49364e=>_0x1c92ac[_0x49d880(0x445)](_0x49364e))),_0x4b2c9b['add'](_0xe3522b(()=>_0x1c92ac[_0x49d880(0x3b5)]()));const _0x5d63eb=new _0x119eaf();_0x4b2c9b[_0x49d880(0x3c7)](_0x5ad4b7[_0x49d880(0x216)][_0x49d880(0x20f)](_0x3443d4=>{var _0x5afea9=_0x49d880;const _0x1bcac9=Kn(_0x3443d4);_0x5d63eb[_0x5afea9(0x445)](_0x1bcac9);})),_0x4b2c9b[_0x49d880(0x3c7)](_0xe3522b(()=>_0x5d63eb[_0x49d880(0x3b5)]()));let _0x4f50e2;const _0x1b4b90=()=>{var _0x2e0eb8=_0x49d880;_0x1c92ac[_0x2e0eb8(0x445)](new Event('connection\x20error')),_0x20911c['next'](new CloseEvent(_0x2e0eb8(0x2ca))),_0x4f50e2[_0x2e0eb8(0x27c)]();};return _0x4f50e2={'memberID':'','close$':_0x20911c['asObservable'](),'error$':_0x1c92ac[_0x49d880(0x340)](),'open$':_0x5ad4b7[_0x49d880(0x2e0)],'message$':_0x5d63eb[_0x49d880(0x340)](),'send':_0x56c334=>{var _0x152503=_0x49d880;if(_0x56c334['cmd']===F['INGEST']){if(_0x56c334[_0x152503(0x3b8)][_0x152503(0x299)]===_0x46c53f[_0x152503(0x36c)]){this[_0x152503(0x3e3)](_0x4f50e2,_0x56c334[_0x152503(0x3b8)])['catch'](_0x36a62f=>{var _0x152aba=_0x152503;this[_0x152aba(0x1d7)]['error'](_0x36a62f),_0x1b4b90();});return;}if(_0x56c334[_0x152503(0x3b8)][_0x152503(0x299)]===_0x46c53f['FETCH_MISSING']){const _0xd90492=_0x56c334[_0x152503(0x3b8)];this[_0x152503(0x26e)](_0xd90492)[_0x152503(0x3aa)](_0x3310b4=>{var _0x547d83=_0x152503;_0x5d63eb[_0x547d83(0x445)]({'cmd':F[_0x547d83(0x42c)],'code':Ee['OK'],'routeKey':_0xd90492[_0x547d83(0x3b8)][_0x547d83(0x3ed)],'routeType':'','data':{'eventID':_0x46c53f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3310b4}}});})[_0x152503(0x244)](_0xf14ba2=>{var _0x459fb2=_0x152503;this[_0x459fb2(0x1d7)][_0x459fb2(0x341)](_0xf14ba2),_0x1b4b90();});return;}}_0x5ad4b7['send'](zn(_0x56c334));},'close':()=>{var _0x302203=_0x49d880;_0x5ad4b7[_0x302203(0x27c)](),_0x4b2c9b[_0x302203(0x28f)]();}},_0x4f50e2;}async[_0x2776ba(0x3e3)](_0xd2956a,_0x95d2d6){var _0x57e06d=_0x2776ba,_0x40f874,_0x27f282;const {unitType:_0x2779d7,unitID:_0x41fa5c,changeset:_0x465036}=_0x95d2d6[_0x57e06d(0x3b8)],_0x119205={'unitID':_0x41fa5c,'memberID':_0xd2956a[_0x57e06d(0x183)],'type':_0x2779d7,'changeset':_0x2f4ed1(_0x465036)},_0x5792b1=this[_0x57e06d(0x45d)][_0x57e06d(0x27b)](jn),_0x3b59a4=this[_0x57e06d(0x45d)][_0x57e06d(0x27b)](Y),_0x20a5c8=Xn((_0x27f282=(_0x40f874=_0x3b59a4==null?void 0x0:_0x3b59a4[_0x57e06d(0x42b)])!=null?_0x40f874:_0x5792b1)!=null?_0x27f282:Bn,_0x2779d7,_0x41fa5c);try{await this[_0x57e06d(0x326)]['post'](_0x20a5c8,{'body':_0x119205});}catch(_0x560382){throw this['_logService']['error'](_0x57e06d(0x318),_0x57e06d(0x390)),_0x560382;}}async[_0x2776ba(0x26e)](_0x134ad0){var _0x23c2c2=_0x2776ba;const {unitID:_0x45adee,from:_0xb5e43e,to:_0x561027,unitType:_0xe031f6}=_0x134ad0['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x45adee,'type':_0xe031f6,'from':_0xb5e43e,'to':_0x561027}))[_0x23c2c2(0x36b)];}};It=Jn([Ue(0x0,_0xad32f2(_0x237237)),Ue(0x1,_0xad32f2(_0x3d73d7)),Ue(0x2,_0x5aacb0),Ue(0x3,_0x3b0698),Ue(0x4,_0x1ae103)],It);const Zn=_0x2776ba(0x2a7);function Qn(_0x1d2d86){var _0x4c7e36=_0x2776ba;return JSON[_0x4c7e36(0x231)](_0x1d2d86)[_0x4c7e36(0x2a6)];}class Ri{constructor(){var _0x5c2e78=_0x2776ba;N(this,_0x5c2e78(0x381),new _0x119eaf()),N(this,_0x5c2e78(0x205),this[_0x5c2e78(0x381)]['asObservable']());}['onCommentUpdate'](_0x1bd0fc){var _0x3a8be6=_0x2776ba;this[_0x3a8be6(0x381)][_0x3a8be6(0x445)](_0x1bd0fc);}}var es=Object[_0x2776ba(0x282)],ts=Object[_0x2776ba(0x236)],is=(_0x44a28d,_0x34c294,_0x5c28b5,_0x31470f)=>{for(var _0x42220b=_0x31470f>0x1?void 0x0:_0x31470f?ts(_0x34c294,_0x5c28b5):_0x34c294,_0x441ac6=_0x44a28d['length']-0x1,_0x5c5c7a;_0x441ac6>=0x0;_0x441ac6--)(_0x5c5c7a=_0x44a28d[_0x441ac6])&&(_0x42220b=(_0x31470f?_0x5c5c7a(_0x34c294,_0x5c28b5,_0x42220b):_0x5c5c7a(_0x42220b))||_0x42220b);return _0x31470f&&_0x42220b&&es(_0x34c294,_0x5c28b5,_0x42220b),_0x42220b;},zt=(_0x464929,_0x17d8ae)=>(_0x50c0eb,_0x3e9924)=>_0x17d8ae(_0x50c0eb,_0x3e9924,_0x464929);let xe=class extends _0x35df0f{constructor(_0x4c124c,_0x3b081c){var _0xd1c204=_0x2776ba;super(),N(this,_0xd1c204(0x21f),new Map()),N(this,_0xd1c204(0x42a),new _0x119eaf()),(this[_0xd1c204(0x1b3)]=_0x4c124c,this[_0xd1c204(0x34c)]=_0x3b081c,this[_0xd1c204(0x22e)](_0x207695(this[_0xd1c204(0x1b3)]['getTypeOfUnitDisposed$'](_0x471c35[_0xd1c204(0x40d)])['pipe'](_0x554d4a(_0x386326=>_0x386326[_0xd1c204(0x3d2)]())),this['_univerInstanceService'][_0xd1c204(0x217)](_0x471c35['UNIVER_DOC'])[_0xd1c204(0x419)](_0x554d4a(_0x2832cd=>_0x2832cd[_0xd1c204(0x3d2)]())),this[_0xd1c204(0x1b3)][_0xd1c204(0x217)](_0x471c35[_0xd1c204(0x1bd)])[_0xd1c204(0x419)](_0x554d4a(_0x1d54bf=>_0x1d54bf[_0xd1c204(0x3d2)]())))['subscribe'](_0x12d0ad=>this[_0xd1c204(0x2e5)](_0x12d0ad))));}[_0x2776ba(0x396)](_0x32002f){var _0x247a10=_0x2776ba;return this['_roomMembers'][_0x247a10(0x448)](_0x32002f)?_0x5dc709(this[_0x247a10(0x21f)][_0x247a10(0x190)](_0x32002f)):this[_0x247a10(0x42a)][_0x247a10(0x419)](_0x554d4a(_0x269a15=>{var _0x1fe104=_0x247a10;if(_0x269a15===_0x32002f)return this[_0x1fe104(0x21f)][_0x1fe104(0x190)](_0x269a15);}));}['setCurrentUser'](_0x29f6f){var _0x587d09=_0x2776ba;this[_0x587d09(0x34c)]['setCurrentUser'](_0x29f6f);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x2776ba(0x27a)](_0x55fc16,_0x50dc9d){var _0x4f2aa3=_0x2776ba;let _0xb3bfa7=this['_roomMembers'][_0x4f2aa3(0x190)](_0x55fc16);_0xb3bfa7||(_0xb3bfa7=new ns(),this[_0x4f2aa3(0x21f)][_0x4f2aa3(0x189)](_0x55fc16,_0xb3bfa7),this[_0x4f2aa3(0x42a)]['next'](_0x55fc16)),_0xb3bfa7[_0x4f2aa3(0x27a)](_0x50dc9d);}['removeMember'](_0x35adee,_0x3e5095){var _0xf2682a=_0x2776ba;const _0x180d38=this[_0xf2682a(0x21f)][_0xf2682a(0x190)](_0x35adee);_0x180d38&&_0x180d38[_0xf2682a(0x3f9)](_0x3e5095);}[_0x2776ba(0x31d)](_0x1aaa1c){var _0x19f48a=_0x2776ba;return this[_0x19f48a(0x21f)][_0x19f48a(0x190)](_0x1aaa1c);}[_0x2776ba(0x20b)](_0x3230eb,_0x5d7069){var _0x2667b8=_0x2776ba;const _0x3277c0=this[_0x2667b8(0x21f)][_0x2667b8(0x190)](_0x3230eb);if(_0x3277c0)return _0x3277c0[_0x2667b8(0x20b)](_0x5d7069);}['_removeRoom'](_0x5bb8a4){var _0x3edfe2=_0x2776ba;const _0x24c86c=this[_0x3edfe2(0x21f)]['get'](_0x5bb8a4);_0x24c86c&&(_0x24c86c[_0x3edfe2(0x28f)](),this[_0x3edfe2(0x21f)]['delete'](_0x5bb8a4));}[_0x2776ba(0x28f)](){var _0x59d80b=_0x2776ba;this['_roomMembers'][_0x59d80b(0x294)](_0x132d9a=>_0x132d9a[_0x59d80b(0x28f)]()),this[_0x59d80b(0x21f)][_0x59d80b(0x2c4)](),this['_roomCreated$'][_0x59d80b(0x3b5)]();}};xe=is([zt(0x0,_0x16c691),zt(0x1,_0xad32f2(_0x2e3a7d))],xe);function _0x52c6(){var _0x1b4f17=['UNIVER_DOC','removeMember','random','JOIN_ROOM_FULL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_socket','_handler','/object/','CHANGESET_REVISION_CONFILICT','uploadFileServerUrl','_onRemoteACK','transformStack\x20failed!','ruleRefresh','onStarting','JOIN_ROOM_FAILED','_resendWithTimeout','rev','\x20to\x20','2932008hQjubs','_changesetSessionId','_imageSourceCache','UNIVER_SHEET','COMPRESS_MUTATION_SEND','Latin1','socket$','_entities','onSendChangeset','_onUserLeave','/-/object/-/batch_allowed','_memberService','stopTime','toLowerCase','_getCtorByUniverType','pipe','UNIVER_PROJECT','key','_initRequestHeader','/universer-api/snapshot/','unknown','downloadEndpointUrl','deepClone','fetchMiss','_showConflictNotification','getMemberID','_state$','__creator','max','sessionTicket','transformChangesets','pluginName','_roomCreated$','collabSubmitChangesetUrl','RECV','APPLY_REJECT','SHOULD_CLOSE_CONN','_onConnectionFailed','OTHER_CLIENT_EDITING','_networkConditionService','filter','_onMessage','UNIVER_UNKNOWN','[OfflineState]:\x20received\x20changeset.','workbook','?size=','loginUrlKey','from','[CollaborationEntity]','BASE64','appendMutation','requireSession','FAIL','c1Prime','fetching\x20missing\x20changesets\x20from\x20','getUnitOnRev','INVALID_ARGUMENT','encodeURIComponent','onStateChange','next','_map','_queuedRemoteChangesets','has','Decryptor','reverse','_transformStateCache','default','size','_getCurrentRevision','collaMsg','status','_createHmacHelper','ALREADY_EXISTS','_schedule','ticket','_throwTelemetryCollaborationNewChangeset','_getUploadFileURL','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConflict','_collaborationTimeoutTimer','_createHandler','SYNCED','enc','_configService','blockSize','AWAITING','sendChangesetTimeout','substr','1876392sKjPrU','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','COMPLETION_FINISHED','collaboration-client.local-cache-service','getCurrentSelections','LICENSE_IMPORT_SIZE_EXCEEDED','_transformStack','_loadSheet','charAt','/universer-api/snapshot','getLatestCsReqIdBySid','Hex','_transformUndoredo','_collabSessionService','&to=','_onRemoteRejected','fetch_missing','result','SelectRange','_collaborationPaused','_instanceService','_socketReady','IDLE','onRemoteRej','_createSocket','_snapshotServerService','synced','putCollaborators','_collaborationSessionService','_startCollaboration','_unitID','_awaitingChangeset','_undoRedoService','snapshot','_updateStatus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','memberID','_parse','ENSURE_SNAPSHOT_EXECUTION','[CollaborationSessionService]:\x20socket\x20error','getActiveSheet','MUTATION','set','location','clearUndoRedo','unit-cache-','baseRev','Encryptor','image/gif','get','keySize','UNDEFINED','toggleOnline','COMPRESS_MUTATION_APPLY','hasOwnProperty','LIVESHARE_NEW_HOST','_changesetReqId','/object','string','append','CBC','onMissingChangesets','refreshPermission','/fetchmissing?from=','_nDataBytes','_type','_onOffline','_retryConnectingTimer','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitSnapshot','wsSessionTicketUrl','originalMeta','saveImage','_applyRemoteChangeset','/allowed','getUnitStatus$','SOCKET_FAILED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','3bFVuBV','unsubscribe','SNAPSHOT_SERVER_URL_KEY','crypto','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_univerInstanceService','5GWnPVq','getFocusedUnit','closeSession','Cipher','AWAITING_WITH_PENDING','updateOfflineData','StreamCipher','loadOfflineData','values','UNIVER_SLIDE','debug','\x20-\x20','words','init','capture','JOIN_ROOM_NOT_EXISTS','extend','entityInit$','EvpKDF','TOO_MANY_REQUESTS','_telemetryService','onRemoteChangeset','HEARTBEAT','_hasher','emitEvent','error$','_initCloseConn','getImageSourceCache','cmd','_cipher','PSEUDO_FETCH_MISSING_RESULT','_getSendChangesetTimeout','getValue','_waitCount','enableSingleActiveInstanceLock','_logService','&assign=','_lockTransition','ivSize','onTransformRemoteChangesetByIMECache','_initUnitPermissionChange','csAckEvent','Utf8','_mode','createEncryptor','_candidateSocket','_exhaustRemoteChangesetQueue','_sessionStatus$','APPLY_REVISION_CONFILICT','FETCH_MISS','toggleOffline','getResourcesRequest','action','getAllMembers','processBlock','infoRsp','ERROR_IMAGE','transformMutationsWithChangeset','[SyncedState]:\x20received\x20acknowledgement.','_scheduleTimestamp','_onLocalMutation','_sendHeartbeat','dispose$','subject','collaboration-client.config','entries','execute','requestParams','[SyncedState]:\x20received\x20rejection.','_localeService','ciphertext','UUID','socket\x20close','_timeoutTimer','commentUpdateEvent','getImage','onCommandExecuted','JOIN_ROOM_PERMISSION_DENIED','interceptor','_transformService','_append','commentUpdate$','univer-pro.collaboration-client-socket-service','_substituteRedoStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERSON','2657868cJuDcm','getMember','OpenSSL','readAsDataURL','onTransformSelections','subscribe','_entityInit$','[PendingState]:\x20received\x20acknowledgement.','encrypt','startsWith','snapshotServerUrl','finalize','message$','getTypeOfUnitDisposed$','_retryCount','every','put','_socketMessageSubscription','getCollabEntity$','liveShareOperation','_transformSelections','_roomMembers','target','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','actions','NO_OTHER_CLIENTS_EDITING','CLOSE_ROOM','objectType','Base64','decryptBlock','code','JOINING','/universer-api/authz','initWorkbookPermissionChange','range','_clearLocalCache','disposeWithMe','subType','CONFLICT','stringify','getCurrentRevOfUnit','disableLocalCache','_getLoginPath','UNKNOWN_CMD','getOwnPropertyDescriptor','allowed','session.room-permission-denied','permissionRejEvent','override','_checkMissing','HEARTBEAT_INTERVAL','encode','[CollaborationState]:\x20apply\x20error!','getTargetByPermissionId','2763456WUEfxN','_registerDependencies','_HTTPService','pending','catch','now','unitId','userID','JOIN','avatar','_iKey','exports','registerHTTPInterceptor','_transformRemoteChangesetByStateCache','_process','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','incrementRevOfUnit','isPermissionRej','liveShareNewHost','NoPadding','LOCAL_CACHE_INTERVAL','editing\x20status\x20changed\x20to','getCurrentUser','patch','LICENSE_EXPORT_SIZE_EXCEEDED','localCacheService','/universer-api/comb','GLOBAL_ROOMS_CNT_EXCEEDS','map','Workbook','members','_prevBlock','_onRecvEvent','transformSelections','onMissedChangesetFetched','_state','padding','_eventService','SNAPSHOT_INVALID_SNAPSHOT','_doCryptBlock','create','_resendTimeout','_toggleOnline','reduce','_handlerCallback','m2Prime','_fetchMissChangesets','_key','getSheetBlock','UNKNOWN_CODE','_toggleOffline','mutations','PERMISSION_REJ','list','_unitInfo$','CHANGESET_REJ','_doProcessBlock','Base','updateMember','getConfig','close','Pkcs7','APPLY_PERMISSION_DENIED','_authzIoService','subUnitId','_init','defineProperty','_httpService','YUUMI_RATE_OVER_LIMIT','/role','YUUMI_URL_COL_OUT_OF_RANGE','batchAllowed','_sheetTransformSelectionsService','_initMergeInterceptor','getCollabEntity','sheets','save\x20fail\x20reason\x20is\x20','_decreaseWaiting','retryConnectingInterval','dispose','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','leaveEvent','UNRECOGNIZED','forEach','_keySchedule','isArray','USERS_ENTER','image/jpg','eventID','apply','prototype','_initDependencies','_waitForHeartbeatResponse','_hash','clamp','_getSignURL','sessionStatus$','UPDATE_PERMISSION_OBJ','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onLocalMutation','_onCombEvent','length','collaboration_new_changeset','revision','getSheetId','kdf','_replayCachedMutations','session','{fileID}','href','/universer-api/stream/file/upload','AES','YUUMI_UNABLE_LOAD_URL','floor','msCrypto','_commandService','joinEvent','lib','session.join-failed','sessionStatus','sigBytes','executeCommand','mode','unpad','c2Prime','[DataLoaderService]','send','symbol','11935BLAIVW','CipherParams','signUrlServerUrl','clear','addImageSourceCache','reset','_onFetchMissResult','_sender','_getAPIPrefixPath','connection\x20error','SHA1','HttpImport','unitId\x20is\x20not\x20found','_clearHeartbeatTimer','saveSnapshot','CHANGESET_SHOULD_RETRY','HmacMD5','saveChangeset','HMAC','onSyncEditingCollabCursor','_doReset','_localCacheService','getPermissionPoint','LOGIN_URL_KEY','shouldCloseConn','CONNECTOR_DATA_TOO_LARGE','state','buffer','_pendingMutations','enableAuthServer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','open$','_createSocketURL','onCommentUpdate','_snapshotService','_singleActiveUnitService','_removeRoom','_commentService','MD5','APPLY_DUPLICATED','join','createDecryptor','_data','_socketService','searchParams','_updateLocalCache','responseType','confirm','slice','_revisionService','USERS_LEAVE','_invKeySchedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_permissionService','Worksheet','_socket$','_resendTimer','_acknowledgedAwaitingChangeset','concat','ceil','failed\x20to\x20apply\x20missed\x20changesets!','\x0aCurrent:\x20','setWaitCount','value','x-univer-host','_getAPIPrefix','charCodeAt','_getRedoStack','_oKey','push','session.room-not-exists','_redoStacks','reject','[CollaborationUndoRedoService]','_config','getTypeOfUnitAdded$','selections','onlyLocal','post','fromCharCode','_clearScheduledTask','_ENC_XFORM_MODE','SerializableCipher','NEW_CHANGESETS','_onConnectionOpen','objectID','_listenToNetworkCondition','[CollaborationSession]','BlockCipherMode','_joinRoom','[UniverCollaborationClientPlugin]','splice','getRoom','status$','_unlockTransition','localeService','_rescheduleHeartbeat','?url=','algo','/new_changes','withCredentials','_http','_onRemoteChangeset','[CollaborationSessionService]','_members$','_transformIMECache','onRemoteAck','_disableEditing','_stopTelemetryCollaborationNewChangeset','onTransformIME','_xformMode','clone','_status$','params','FileId','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_reverseMap','find','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','transformUndoRedo','type','authzUrl','LIVESHARE_FETCH_OPERATIONS','/collaborator','WordArray','newCsEvent','asObservable','error','setShowComponents','resend','offline','[PendingState]:\x20received\x20rejection.','createInstance','6289736kqEAXC','replace','FETCH_MISSING','ERROR_EXCEED_SIZE','_sendHeartbeatTimer','_userManagerService','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20acknowledgement.','readyForCollab','[OfflineState]:\x20received\x20rejection.','url','_incrementRevisionNumber','saveSheetBlock','LEAVE','_minBufferSize','headers','hostname','objects','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','roles','function','routeKey','event$','MSG_FOR_ERROR','onTransformState','pad','LICENSE_DISTRO_REJECTED','awaiting','rng','resourceIDs','/unit/','_change$','addHandlerCallback','fromCollab','Error\x20on\x20receiving\x20event','changesets','SUBMIT_CHANGESET','_collaborationUIEventService','mixIn','resolve','SUBMIT_CHANGESET_TIMEOUT','reconnect','uniscriptRunEvent','_updateState','_sessions','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_remoteChangesetQueue','delete','title','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED_RETRY','$super','roomInfos','equals','compose','DEFAULT_FILE_NAME','_commentUpdate$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ONLINE','socket\x20open.','decrypt','duration','onTransformRemoteChangesetByStateCache','_executeRemoteChangeset','_loadDoc','_injector','&source=','_emitMembers','18TZqfLK','reqId','sid','submit\x20changeset\x20error!','SEND_CHANGESET_TIMEOUT','_nRounds','textRanges','_clearTimeoutTimer','getRandomValues','waitForRoom$','state$','_telemetryInfo','_tryReconnect','toString','body','socketService','fetchThroughInterceptors','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','INTERNAL_ERROR','enableOfflineEditing','cfg','15440WoQVbc','_getDownloadEndpointURL','[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.','onRemoteRetry','_shouldReportTelemetry','_tryEnsureSocket','fetchMissingChangesets','then','UPDATE_CURSOR','_getSessionTicket','updatePermissionPoint','call','LIVESHARE_TERMINATE','parse','repeat','__Key__','name','1076654WKhrrt','complete','UnitEmbedded','_createInitialStateImpl','data','univer-pro.collaboration-client.single-active-unit-service','_members','onload','univer-pro.collaboration-client.network-condition.service','POST','LIVESHARE_REQUEST_HOST','_createHelper','csShouldRetryEvent','_onUserJoin','/universer-api/file/{fileID}/sign-url','Could\x20not\x20dynamically\x20require\x20\x22','joinRsp','/block/','_syncEditingCollabCursor','add','CHANGESET_ACK','_event$','COLLAB_SUBMIT_CHANGESET_URL','copyFileMeta','update','json','getInterceptPoints','_transitionLocked','BlockCipher','_isPermissionRej','getUnitId','_onRemoteRetry','OPTIONAL','HELLO','awaitingChangeset','_getUndoStack','listCollaborators','_compressMutationService','PERMISSION_DENIED','HttpExport','SNAPSHOT_URL_KEY','SUCCUSS','getUnit','format','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','byteLength','randomUUID','_submitChangeset','editingUnit','_substituteUndoStack','COMMENT_UPDATE','close$','INGEST','Hasher','APPLY_NON_SEQUENTIAL_REVISION','/universer-api/oidc/authpage','randomBytes','unitID','ERROR_IMAGE_TYPE','search','compute','HEARTBEAT_TIMEOUT','_clearUndo','runId','_undoStacks','salt','_keyPriorReset','_createInitialState'];_0x52c6=function(){return _0x1b4f17;};return _0x52c6();}class ns extends _0x35df0f{constructor(){var _0x1717ae=_0x2776ba;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x5f0741(this['_members'])),N(this,'members$',this[_0x1717ae(0x329)][_0x1717ae(0x340)]());}[_0x2776ba(0x28f)](){var _0xe7484f=_0x2776ba;this[_0xe7484f(0x3ba)]['clear']();}[_0x2776ba(0x27a)](_0x53174a){var _0x9ba2ce=_0x2776ba;this[_0x9ba2ce(0x3ba)][_0x9ba2ce(0x189)](_0x53174a[_0x9ba2ce(0x183)],_0x53174a),this['_emitMembers']();}['removeMember'](_0x13bb41){var _0x1fef88=_0x2776ba;this['_members'][_0x1fef88(0x378)](_0x13bb41);}[_0x2776ba(0x20b)](_0x39fa3d){var _0x5d1580=_0x2776ba;return this['_members'][_0x5d1580(0x190)](_0x39fa3d);}[_0x2776ba(0x1e9)](){var _0x511b73=_0x2776ba;return Array[_0x511b73(0x439)](this['_members'][_0x511b73(0x1bc)]());}[_0x2776ba(0x38c)](){var _0x33d439=_0x2776ba;this[_0x33d439(0x329)][_0x33d439(0x445)](this['_members']);}}var ss=Object[_0x2776ba(0x282)],rs=Object[_0x2776ba(0x236)],os=(_0xd127de,_0x330a85,_0x1f2ae6,_0x4c7e7c)=>{var _0x184075=_0x2776ba;for(var _0x1ac152=_0x4c7e7c>0x1?void 0x0:_0x4c7e7c?rs(_0x330a85,_0x1f2ae6):_0x330a85,_0x4cfe20=_0xd127de[_0x184075(0x2a6)]-0x1,_0x53aa27;_0x4cfe20>=0x0;_0x4cfe20--)(_0x53aa27=_0xd127de[_0x4cfe20])&&(_0x1ac152=(_0x4c7e7c?_0x53aa27(_0x330a85,_0x1f2ae6,_0x1ac152):_0x53aa27(_0x1ac152))||_0x1ac152);return _0x4c7e7c&&_0x1ac152&&ss(_0x330a85,_0x1f2ae6,_0x1ac152),_0x1ac152;},me=(_0x5de59c,_0x24d3b9)=>(_0x53d24d,_0x40b26b)=>_0x24d3b9(_0x53d24d,_0x40b26b,_0x5de59c),Te=(_0x307f4b=>(_0x307f4b[_0x307f4b[_0x2776ba(0x479)]=0x0]=_0x2776ba(0x479),_0x307f4b[_0x307f4b[_0x2776ba(0x229)]=0x1]=_0x2776ba(0x229),_0x307f4b[_0x307f4b[_0x2776ba(0x39f)]=0x2]='OFFLINE',_0x307f4b[_0x307f4b[_0x2776ba(0x383)]=0x3]=_0x2776ba(0x383),_0x307f4b))(Te||{});const Yt={[Ee[_0x2776ba(0x43e)]]:_0x2776ba(0x2b7),[Ee[_0x2776ba(0x3fb)]]:'session.room-full',[Ee[_0x2776ba(0x1c3)]]:_0x2776ba(0x307),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x2776ba(0x238),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Tt=class extends _0x3fbf91{constructor(_0x36c9bd,_0x3abbd5,_0x222dd8,_0x5080da,_0x54fd4d,_0x7b6c2b,_0x21d61d,_0x11312e,_0xefdee9){var _0x2c22a2=_0x2776ba;super(),N(this,_0x2c22a2(0x1e3),new _0x5f0741(0x0)),N(this,_0x2c22a2(0x2a1),this[_0x2c22a2(0x1e3)][_0x2c22a2(0x340)]()),N(this,_0x2c22a2(0x3c9),new _0x119eaf()),N(this,_0x2c22a2(0x35e),this[_0x2c22a2(0x3c9)][_0x2c22a2(0x340)]()),N(this,_0x2c22a2(0x3fd)),N(this,_0x2c22a2(0x21b)),N(this,_0x2c22a2(0x459)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x2c22a2(0x398),null),(this[_0x2c22a2(0x17d)]=_0x36c9bd,this['_logService']=_0x222dd8,this[_0x2c22a2(0x45d)]=_0x5080da,this[_0x2c22a2(0x1f9)]=_0x54fd4d,this[_0x2c22a2(0x415)]=_0x7b6c2b,this['_commentService']=_0x21d61d,this['_collaborationUIEventService']=_0x11312e,this[_0x2c22a2(0x1c8)]=_0xefdee9,this[_0x2c22a2(0x3a7)]=!!this['_telemetryService'],_0x3abbd5[_0x2c22a2(0x419)](_0x16b361(this['dispose$']))[_0x2c22a2(0x20f)](_0x439ebc=>{var _0x5776b9=_0x2c22a2,_0x1e04e9;typeof _0x439ebc>'u'||(this[_0x5776b9(0x3fd)]=_0x439ebc,_0x439ebc?(this[_0x5776b9(0x31a)](_0x439ebc),this[_0x5776b9(0x21b)]=_0x439ebc[_0x5776b9(0x216)][_0x5776b9(0x20f)](_0x11054c=>{var _0x7ea563=_0x5776b9;_0x11054c[_0x7ea563(0x35d)]===this[_0x7ea563(0x17d)]&&this[_0x7ea563(0x2a5)](_0x11054c);})):(this[_0x5776b9(0x455)](),this[_0x5776b9(0x1e3)]['next'](0x2),(_0x1e04e9=this[_0x5776b9(0x21b)])==null||_0x1e04e9[_0x5776b9(0x1af)](),this['_socketMessageSubscription']=null));}));}get[_0x2776ba(0x2b8)](){var _0xde40e9=_0x2776ba;return this[_0xde40e9(0x1e3)]['getValue']();}[_0x2776ba(0x423)](){var _0x1b0463=_0x2776ba,_0x6062f1,_0x4e32b7;return(_0x4e32b7=(_0x6062f1=this['_socket'])==null?void 0x0:_0x6062f1[_0x1b0463(0x183)])!=null?_0x4e32b7:null;}[_0x2776ba(0x28f)](){var _0x59ef84=_0x2776ba;super[_0x59ef84(0x28f)](),this['dispose$'][_0x59ef84(0x445)](),this[_0x59ef84(0x1f2)][_0x59ef84(0x3b5)]();}[_0x2776ba(0x27c)](){var _0x19e997=_0x2776ba,_0x5e2d5d,_0x56084a;this[_0x19e997(0x455)](),(_0x5e2d5d=this[_0x19e997(0x3fd)])==null||_0x5e2d5d['send']({'cmd':F[_0x19e997(0x354)],'data':{'roomID':this['_unitID']}}),(_0x56084a=this[_0x19e997(0x3fd)])==null||_0x56084a[_0x19e997(0x27c)](),this[_0x19e997(0x3c9)]['complete'](),this['_sessionStatus$'][_0x19e997(0x3b5)](),this[_0x19e997(0x28f)]();}[_0x2776ba(0x2a5)](_0x2e1329){var _0x1c4394=_0x2776ba;_0x2e1329['cmd']===F[_0x1c4394(0x248)]?this['_onJoinRoomEvent'](_0x2e1329):_0x2e1329[_0x1c4394(0x1d0)]===F['RECV']&&this['_onRecvEvent'](_0x2e1329);}['_joinRoom'](_0xf82dbb){var _0x35757d=_0x2776ba;this[_0x35757d(0x1e3)][_0x35757d(0x445)](0x1),_0xf82dbb[_0x35757d(0x2bf)]({'cmd':F[_0x35757d(0x248)],'routeKey':this[_0x35757d(0x17d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x35757d(0x17d)]}]}});}['_onJoinRoomEvent'](_0x1774c1){var _0x1f4652=_0x2776ba,_0x3b94bd;if(_0x1774c1[_0x1f4652(0x228)]in Yt){this[_0x1f4652(0x36d)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x1774c1[_0x1f4652(0x228)]]}),this[_0x1f4652(0x1e3)][_0x1f4652(0x445)](0x2);return;}this[_0x1f4652(0x1e3)][_0x1f4652(0x445)](0x3);const _0x5ce816=(_0x3b94bd=_0x1774c1[_0x1f4652(0x3b8)][_0x1f4652(0x37d)][this[_0x1f4652(0x17d)]])==null?void 0x0:_0x3b94bd[_0x1f4652(0x25e)];_0x5ce816&&_0x5ce816['forEach'](_0x174780=>this['_memberService'][_0x1f4652(0x27a)](this['_unitID'],_0x174780));}[_0x2776ba(0x260)](_0x389e50){var _0xcc1019=_0x2776ba;try{const _0xd960b2=_0x389e50[_0xcc1019(0x3b8)];switch(_0xd960b2[_0xcc1019(0x299)]){case _0x46c53f[_0xcc1019(0x297)]:this[_0xcc1019(0x3c1)](_0xd960b2),this['_event$'][_0xcc1019(0x445)](_0xd960b2);break;case _0x46c53f[_0xcc1019(0x2f3)]:this['_onUserLeave'](_0xd960b2),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;case _0x46c53f['CHANGESET_ACK']:case _0x46c53f[_0xcc1019(0x2d0)]:this[_0xcc1019(0x32d)](),this[_0xcc1019(0x334)](),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;case _0x46c53f['MSG_FOR_ERROR']:this[_0xcc1019(0x1d7)][_0xcc1019(0x341)](_0xcc1019(0x28c)+JSON['stringify'](_0xd960b2)),this[_0xcc1019(0x3c9)][_0xcc1019(0x445)](_0xd960b2);break;case _0x46c53f[_0xcc1019(0x3e6)]:this[_0xcc1019(0x2e6)][_0xcc1019(0x2e2)](_0xd960b2[_0xcc1019(0x3b8)]),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;default:this[_0xcc1019(0x3c9)][_0xcc1019(0x445)](_0xd960b2);}}catch(_0x4afc5d){this[_0xcc1019(0x1d7)][_0xcc1019(0x341)](_0x4afc5d,_0x389e50);}}[_0x2776ba(0x3c1)](_0xe20f88){var _0x21e7c0=_0x2776ba;this[_0x21e7c0(0x415)]['updateMember'](this[_0x21e7c0(0x17d)],_0xe20f88[_0x21e7c0(0x3b8)]);}[_0x2776ba(0x413)](_0x1c3990){var _0x3300b1=_0x2776ba;this[_0x3300b1(0x415)][_0x3300b1(0x3f9)](this[_0x3300b1(0x17d)],_0x1c3990['data']['memberID']);}async['send'](_0x15037e,_0x4d0953){var _0x9513c=_0x2776ba;if(this[_0x9513c(0x2b8)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x15037e[_0x9513c(0x299)]===_0x46c53f[_0x9513c(0x36c)]&&(this[_0x9513c(0x290)](),this['_startTelemetryCollaborationNewChangeset'](_0x15037e)),this[_0x9513c(0x3fd)][_0x9513c(0x2bf)]({'cmd':F[_0x9513c(0x3e8)],'routeKey':_0x4d0953,'routeType':'','data':_0x15037e});}catch(_0x2ca1c1){this['_logService'][_0x9513c(0x341)](_0x2ca1c1);}}[_0x2776ba(0x290)](){var _0x555040=_0x2776ba,_0x138c7c;this[_0x555040(0x459)]=setTimeout(()=>{var _0x593506=_0x555040;this[_0x593506(0x459)]=null,this['_collaborationUIEventService'][_0x593506(0x1cc)]({'id':re[_0x593506(0x370)]});},(_0x138c7c=this[_0x555040(0x45d)][_0x555040(0x27b)](Ei))!=null?_0x138c7c:Ii);}[_0x2776ba(0x334)](){var _0x36c8af=_0x2776ba;this[_0x36c8af(0x459)]&&(clearTimeout(this[_0x36c8af(0x459)]),this[_0x36c8af(0x459)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x36a9d5){var _0x12b3f5=_0x2776ba;if(!this['_shouldReportTelemetry'])return;const {data:_0x345379}=_0x36a9d5,{unitID:_0x2348e6,changeset:_0x584cd8}=_0x345379,{mutations:_0x27ab6c,type:_0x21b2b4}=_0x584cd8;this['_telemetryInfo']={'unitId':_0x2348e6,'type':_0x21b2b4,'startTime':performance[_0x12b3f5(0x245)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x27ab6c)};}[_0x2776ba(0x32d)](){var _0x24d396=_0x2776ba;if(this[_0x24d396(0x3a7)]){if(!this[_0x24d396(0x398)]){this[_0x24d396(0x1d7)][_0x24d396(0x341)](_0x24d396(0x318),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x24d396(0x398)][_0x24d396(0x416)]=performance[_0x24d396(0x245)](),this['_telemetryInfo'][_0x24d396(0x386)]=this[_0x24d396(0x398)][_0x24d396(0x416)]-this[_0x24d396(0x398)]['startTime'],this['_telemetryService'][_0x24d396(0x1c2)](Zn,this[_0x24d396(0x398)]),this[_0x24d396(0x398)]=null;}}[_0x2776ba(0x455)](){var _0x255c41=_0x2776ba;this[_0x255c41(0x398)]=null;}};Tt=os([me(0x2,_0x3b0698),me(0x3,_0x5aacb0),me(0x4,_0xad32f2(_0x415ba6)),me(0x5,_0xad32f2(xe)),me(0x6,_0xad32f2(Ri)),me(0x7,_0xad32f2(pe)),me(0x8,_0x122f64(_0x3f4699))],Tt);var as=Object[_0x2776ba(0x282)],cs=Object[_0x2776ba(0x236)],hs=(_0x449604,_0x1bb9bf,_0x55527c,_0x428f44)=>{var _0x1e26c9=_0x2776ba;for(var _0xbdf1a9=_0x428f44>0x1?void 0x0:_0x428f44?cs(_0x1bb9bf,_0x55527c):_0x1bb9bf,_0xbd6391=_0x449604[_0x1e26c9(0x2a6)]-0x1,_0x5af080;_0xbd6391>=0x0;_0xbd6391--)(_0x5af080=_0x449604[_0xbd6391])&&(_0xbdf1a9=(_0x428f44?_0x5af080(_0x1bb9bf,_0x55527c,_0xbdf1a9):_0x5af080(_0xbdf1a9))||_0xbdf1a9);return _0x428f44&&_0xbdf1a9&&as(_0x1bb9bf,_0x55527c,_0xbdf1a9),_0xbdf1a9;},ge=(_0x242543,_0x551474)=>(_0x357be9,_0x55be03)=>_0x551474(_0x357be9,_0x55be03,_0x242543);let Le=class extends _0x35df0f{constructor(_0x482df0,_0x338046,_0x25d6e0,_0x5079a9,_0x3b9ac3,_0x57a0c0,_0xf3906e){var _0x52498f=_0x2776ba;super(),N(this,_0x52498f(0x2f8),new _0x5f0741(void 0x0)),N(this,_0x52498f(0x410),this[_0x52498f(0x2f8)]['asObservable']()),N(this,_0x52498f(0x1e1),null),N(this,_0x52498f(0x374),new Map()),N(this,'_status$',new _0x5f0741(Te[_0x52498f(0x479)])),N(this,_0x52498f(0x31e),this[_0x52498f(0x331)][_0x52498f(0x340)]()),N(this,_0x52498f(0x478),!0x1),N(this,_0x52498f(0x1a2)),N(this,_0x52498f(0x218),0x0),N(this,_0x52498f(0x34b)),N(this,'_timeoutTimer'),(this['_injector']=_0x482df0,this[_0x52498f(0x1d7)]=_0x338046,this[_0x52498f(0x45d)]=_0x25d6e0,this[_0x52498f(0x2ec)]=_0x5079a9,this[_0x52498f(0x283)]=_0x3b9ac3,this[_0x52498f(0x36d)]=_0x57a0c0,this[_0x52498f(0x431)]=_0xf3906e,this[_0x52498f(0x317)]());}get[_0x2776ba(0x3fd)](){var _0x1260d9=_0x2776ba;return this[_0x1260d9(0x2f8)][_0x1260d9(0x1d4)]();}[_0x2776ba(0x317)](){this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x188993=>{var _0x1c9fda=_0x533f;_0x188993&&!this[_0x1c9fda(0x3fd)]&&this[_0x1c9fda(0x371)](),_0x188993||this[_0x1c9fda(0x1a1)]();}));}['dispose'](){var _0x3087a6=_0x2776ba;super['dispose'](),this[_0x3087a6(0x374)][_0x3087a6(0x294)](_0x48ceb3=>_0x48ceb3[_0x3087a6(0x28f)]()),this[_0x3087a6(0x374)][_0x3087a6(0x2c4)](),this[_0x3087a6(0x331)][_0x3087a6(0x3b5)]();}async['requireSession'](_0x1331fa){var _0x2dd07f=_0x2776ba;if(this[_0x2dd07f(0x374)][_0x2dd07f(0x448)](_0x1331fa))return this[_0x2dd07f(0x374)]['get'](_0x1331fa);this['_tryEnsureSocket']();const _0x54ed38=this[_0x2dd07f(0x38a)][_0x2dd07f(0x346)](Tt,_0x1331fa,this[_0x2dd07f(0x2f8)]['asObservable']());return this[_0x2dd07f(0x374)][_0x2dd07f(0x189)](_0x1331fa,_0x54ed38),_0x54ed38;}[_0x2776ba(0x1b6)](_0x1e8426){var _0x43fcc2=_0x2776ba,_0x486f68;const _0x2e08a2=this['_sessions'][_0x43fcc2(0x190)](_0x1e8426);_0x2e08a2&&(this[_0x43fcc2(0x374)][_0x43fcc2(0x378)](_0x1e8426),_0x2e08a2['close']()),this['_sessions'][_0x43fcc2(0x44d)]||(_0x486f68=this['_socket'])==null||_0x486f68[_0x43fcc2(0x27c)]();}[_0x2776ba(0x371)](){var _0x4e6ebe=_0x2776ba;this[_0x4e6ebe(0x218)]=0x0,this[_0x4e6ebe(0x1a2)]!=null&&(clearTimeout(this[_0x4e6ebe(0x1a2)]),this[_0x4e6ebe(0x1a2)]=null),this['_tryReconnect']();}async[_0x2776ba(0x3ac)](){var _0x58301a=_0x2776ba,_0x348999,_0x4a4b9e,_0x205b5b;const _0x1e93d2=this[_0x58301a(0x45d)]['getConfig'](Y),_0x2f35ad=(_0x348999=_0x1e93d2==null?void 0x0:_0x1e93d2[_0x58301a(0x1a6)])!=null?_0x348999:xn;return(_0x205b5b=(_0x4a4b9e=(await this[_0x58301a(0x283)][_0x58301a(0x190)](_0x2f35ad,{'headers':{'Content-Type':'application/json'}}))[_0x58301a(0x39b)])==null?void 0x0:_0x4a4b9e[_0x58301a(0x454)])!=null?_0x205b5b:'';}['_createSocketURL'](_0x26203a){var _0x108f7d=_0x2776ba,_0x204cc5,_0x442997;const _0x22815f=this[_0x108f7d(0x45d)][_0x108f7d(0x27b)](Un),_0x421640=this[_0x108f7d(0x45d)][_0x108f7d(0x27b)](Y),_0x22171c=(_0x442997=(_0x204cc5=_0x421640==null?void 0x0:_0x421640['collabWebSocketUrl'])!=null?_0x204cc5:_0x22815f)!=null?_0x442997:An,_0x42b555=typeof window>'u'?new URL(_0x22171c):new URL(_0x22171c,window[_0x108f7d(0x18a)]['origin']);_0x42b555['searchParams'][_0x108f7d(0x189)](_0x108f7d(0x427),_0x26203a);const _0x1c4ad8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x108f7d(0x18a)][_0x108f7d(0x3ef)]);return _0x1c4ad8['get'](_0x108f7d(0x3f3))&&_0x42b555[_0x108f7d(0x2ed)][_0x108f7d(0x189)](_0x108f7d(0x3f3),_0x1c4ad8['get'](_0x108f7d(0x3f3))),_0x42b555[_0x108f7d(0x39a)]();}async['_createSocket'](){var _0x4d1338=_0x2776ba;const _0x226ce4=await this[_0x4d1338(0x3ac)](),_0x123d3=this[_0x4d1338(0x2e1)](_0x226ce4),_0x49a976=this['_socketService'][_0x4d1338(0x35a)](_0x123d3);return this[_0x4d1338(0x1e1)]=_0x49a976,_0x49a976;}async[_0x2776ba(0x3a8)](){var _0x4ffe55=_0x2776ba,_0x254c48,_0x546dc3;try{const _0x55ca0f=(_0x546dc3=(_0x254c48=this[_0x4ffe55(0x3fd)])!=null?_0x254c48:this['_candidateSocket'])!=null?_0x546dc3:await this[_0x4ffe55(0x47b)]();if(_0x55ca0f){const _0x28d5b0=_0x55ca0f[_0x4ffe55(0x2bf)];_0x55ca0f[_0x4ffe55(0x2bf)]=_0x20ec4e=>(this['_rescheduleHeartbeat'](),_0x28d5b0[_0x4ffe55(0x29a)](_0x55ca0f,[_0x20ec4e])),_0x55ca0f['message$'][_0x4ffe55(0x20f)](_0x4b589=>this['_onMessage'](_0x55ca0f,_0x4b589)),_0x55ca0f[_0x4ffe55(0x1cd)][_0x4ffe55(0x419)](_0x4f666c(0x1))['subscribe'](_0x1d4ec1=>this[_0x4ffe55(0x1d7)][_0x4ffe55(0x341)](_0x4ffe55(0x186),_0x1d4ec1)),_0x55ca0f['open$'][_0x4ffe55(0x419)](_0x4f666c(0x1))[_0x4ffe55(0x20f)](()=>{var _0x4df3f4=_0x4ffe55;this[_0x4df3f4(0x315)](_0x55ca0f);}),_0x55ca0f[_0x4ffe55(0x3e7)][_0x4ffe55(0x419)](_0x4f666c(0x1))[_0x4ffe55(0x20f)](_0x5668b5=>{var _0x19e320=_0x4ffe55;this['_logService'][_0x19e320(0x1be)]('[CollaborationSessionService]',_0x19e320(0x1fc),_0x5668b5),this[_0x19e320(0x42f)]();});}}catch(_0x219899){this['_logService']['error'](_0x219899),this[_0x4ffe55(0x42f)]();}}[_0x2776ba(0x315)](_0x5a2da7){var _0x478c2a=_0x2776ba;this[_0x478c2a(0x1d7)][_0x478c2a(0x1be)](_0x478c2a(0x328),_0x478c2a(0x384)),_0x5a2da7[_0x478c2a(0x2bf)]({'cmd':F[_0x478c2a(0x3d5)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x46e17d=_0x2776ba;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x46e17d(0x331)][_0x46e17d(0x445)](Te[_0x46e17d(0x39f)]),this[_0x46e17d(0x2f8)][_0x46e17d(0x445)](null),this[_0x46e17d(0x394)](),this[_0x46e17d(0x2ce)]();}[_0x2776ba(0x42f)](){var _0x16e7a7=_0x2776ba,_0x54703f;this[_0x16e7a7(0x1a1)](),this[_0x16e7a7(0x218)]<((_0x54703f=this[_0x16e7a7(0x45d)][_0x16e7a7(0x27b)](Hn))!=null?_0x54703f:kn)?(this[_0x16e7a7(0x36d)][_0x16e7a7(0x1cc)]({'id':re[_0x16e7a7(0x37b)]}),this[_0x16e7a7(0x399)]()):this[_0x16e7a7(0x36d)][_0x16e7a7(0x1cc)]({'id':re[_0x16e7a7(0x1ac)]});}[_0x2776ba(0x399)](){var _0x2cf5a8=_0x2776ba,_0x508bd6;const _0x817804=this['_retryCount'],_0x199827=this[_0x2cf5a8(0x45d)][_0x2cf5a8(0x27b)](Y),_0x2c7c04=_0x817804===0x0?0x0:((_0x508bd6=_0x199827==null?void 0x0:_0x199827[_0x2cf5a8(0x28e)])!=null?_0x508bd6:$n)*0x2**_0x817804;this[_0x2cf5a8(0x1a2)]=setTimeout(()=>{var _0x4cf3a8=_0x2cf5a8;clearTimeout(this['_retryConnectingTimer']),this[_0x4cf3a8(0x1a2)]=null,this[_0x4cf3a8(0x3a8)]();},_0x2c7c04),this['_retryCount']+=0x1;}[_0x2776ba(0x433)](_0x1dab98,_0x3a4500){var _0x64a25e=_0x2776ba;const {cmd:_0x5d856b}=_0x3a4500;_0x5d856b===F[_0x64a25e(0x3d5)]&&!this[_0x64a25e(0x478)]&&(_0x1dab98[_0x64a25e(0x183)]=_0x3a4500[_0x64a25e(0x3b8)]['memberID'],this[_0x64a25e(0x2f8)][_0x64a25e(0x445)](_0x1dab98),this[_0x64a25e(0x331)]['next'](Te[_0x64a25e(0x383)]),this[_0x64a25e(0x478)]=!0x0,this['_candidateSocket']=null),_0x5d856b===F[_0x64a25e(0x1ca)]&&this[_0x64a25e(0x394)](),this[_0x64a25e(0x321)]();}[_0x2776ba(0x321)](){var _0x5b6f17=_0x2776ba,_0x4ec8ab;this[_0x5b6f17(0x2ce)](),this[_0x5b6f17(0x34b)]=setTimeout(()=>this[_0x5b6f17(0x1f1)](),(_0x4ec8ab=this['_configService'][_0x5b6f17(0x27b)](Ln))!=null?_0x4ec8ab:Mn);}[_0x2776ba(0x1f1)](){var _0x58180e=_0x2776ba;this['_socket']['send']({'cmd':F[_0x58180e(0x1ca)]}),this[_0x58180e(0x29d)]();}[_0x2776ba(0x29d)](){var _0xdb7c28=_0x2776ba,_0xc19b02;this[_0xdb7c28(0x1fd)]=setTimeout(()=>this[_0xdb7c28(0x42f)](),(_0xc19b02=this[_0xdb7c28(0x45d)]['getConfig'](Ei))!=null?_0xc19b02:Ii);}[_0x2776ba(0x2ce)](){var _0x22368d=_0x2776ba;this[_0x22368d(0x34b)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x2776ba(0x394)](){var _0x1551c2=_0x2776ba;this[_0x1551c2(0x1fd)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1551c2(0x1fd)]=null);}};Le=hs([ge(0x0,_0xad32f2(_0x237237)),ge(0x1,_0x3b0698),ge(0x2,_0x5aacb0),ge(0x3,bi),ge(0x4,_0xad32f2(_0x3d73d7)),ge(0x5,_0xad32f2(pe)),ge(0x6,_0x122f64(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x2776ba(0x306)]((n+0x100)[_0x2776ba(0x39a)](0x10)[_0x2776ba(0x2f1)](0x1));function _s(_0x4d5dca,_0x225cf1=0x0){var _0x3afb79=_0x2776ba;return(V[_0x4d5dca[_0x225cf1+0x0]]+V[_0x4d5dca[_0x225cf1+0x1]]+V[_0x4d5dca[_0x225cf1+0x2]]+V[_0x4d5dca[_0x225cf1+0x3]]+'-'+V[_0x4d5dca[_0x225cf1+0x4]]+V[_0x4d5dca[_0x225cf1+0x5]]+'-'+V[_0x4d5dca[_0x225cf1+0x6]]+V[_0x4d5dca[_0x225cf1+0x7]]+'-'+V[_0x4d5dca[_0x225cf1+0x8]]+V[_0x4d5dca[_0x225cf1+0x9]]+'-'+V[_0x4d5dca[_0x225cf1+0xa]]+V[_0x4d5dca[_0x225cf1+0xb]]+V[_0x4d5dca[_0x225cf1+0xc]]+V[_0x4d5dca[_0x225cf1+0xd]]+V[_0x4d5dca[_0x225cf1+0xe]]+V[_0x4d5dca[_0x225cf1+0xf]])[_0x3afb79(0x417)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x4135de=_0x2776ba;if(!dt){if(typeof crypto>'u'||!crypto[_0x4135de(0x395)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto[_0x4135de(0x395)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2776ba(0x3e2)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x4bf8e2,_0x44ca1b,_0x53cb55){var _0x398d9a=_0x2776ba;if(qt[_0x398d9a(0x3e2)]&&!_0x44ca1b&&!_0x4bf8e2)return qt['randomUUID']();_0x4bf8e2=_0x4bf8e2||{};const _0x1b97f9=_0x4bf8e2[_0x398d9a(0x3fa)]||(_0x4bf8e2[_0x398d9a(0x364)]||us)();return _0x1b97f9[0x6]=_0x1b97f9[0x6]&0xf|0x40,_0x1b97f9[0x8]=_0x1b97f9[0x8]&0x3f|0x80,_s(_0x1b97f9);}const X=_0x2b60cb(_0x2776ba(0x466));function uo(_0x285c01){var _0x422dbd=_0x2776ba;return _0x422dbd(0x18c)+_0x285c01;}var vs=Object[_0x2776ba(0x282)],ps=Object[_0x2776ba(0x236)],ms=(_0x5a8efa,_0x4b1f15,_0x4bf744,_0x37cfb4)=>{var _0x122b11=_0x2776ba;for(var _0x564df4=_0x37cfb4>0x1?void 0x0:_0x37cfb4?ps(_0x4b1f15,_0x4bf744):_0x4b1f15,_0xc4f5f9=_0x5a8efa[_0x122b11(0x2a6)]-0x1,_0x5b8e02;_0xc4f5f9>=0x0;_0xc4f5f9--)(_0x5b8e02=_0x5a8efa[_0xc4f5f9])&&(_0x564df4=(_0x37cfb4?_0x5b8e02(_0x4b1f15,_0x4bf744,_0x564df4):_0x5b8e02(_0x564df4))||_0x564df4);return _0x37cfb4&&_0x564df4&&vs(_0x4b1f15,_0x4bf744,_0x564df4),_0x564df4;},ft=(_0x4cbb15,_0x46dfe3)=>(_0x3ee53a,_0x38fb00)=>_0x46dfe3(_0x3ee53a,_0x38fb00,_0x4cbb15);function gs(_0x3bc5c1){var _0x2a89fe=_0x2776ba;const {unitID:_0x118f1c,mutations:_0x12ac2e}=_0x3bc5c1;return{'unitId':_0x118f1c,'subUnitId':_0x12ac2e[0x0][_0x2a89fe(0x332)][_0x2a89fe(0x280)]};}let nt=class{constructor(_0x4b58e5,_0x475799,_0xbc1f1e){var _0x2d0731=_0x2776ba;this[_0x2d0731(0x38a)]=_0x4b58e5,this[_0x2d0731(0x203)]=_0x475799,this[_0x2d0731(0x477)]=_0xbc1f1e;}[_0x2776ba(0x261)](_0x423bf1){var _0x207f50=_0x2776ba,_0x174e7c,_0x1f9026,_0x57e5bc,_0x4e3830;const _0x459b1d=this['_injector']['get'](_0x53cfeb),{unitId:_0x1f9515,subUnitId:_0x2c4729}=gs(_0x423bf1),_0x5c8a96=_0x459b1d==null?void 0x0:_0x459b1d['getWorkbookSelections'](_0x1f9515)[_0x207f50(0x467)](),_0x2b0191=(_0x1f9026=(_0x174e7c=this['_instanceService'][_0x207f50(0x3de)](_0x1f9515))==null?void 0x0:_0x174e7c[_0x207f50(0x187)]())==null?void 0x0:_0x1f9026[_0x207f50(0x2a9)]();if(_0x5c8a96[_0x207f50(0x2a6)]===0x0||!_0x1f9515||!_0x2c4729)return;const _0x8d49d=[{'id':_0x3a5593['id'],'params':{'unitId':_0x1f9515,'subUnitId':_0x2b0191,'selections':_0x25d273[_0x207f50(0x420)](_0x5c8a96)}}],_0x52f594=this[_0x207f50(0x203)][_0x207f50(0x1ed)](_0x423bf1,_0x8d49d);if(!_0x348bf3(_0x52f594))throw _0x52f594['error'];const _0x2a2ba5=(_0x4e3830=(_0x57e5bc=_0x52f594['m2Prime'][0x0])==null?void 0x0:_0x57e5bc[_0x207f50(0x332)])==null?void 0x0:_0x4e3830['selections'];if(Array[_0x207f50(0x296)](_0x2a2ba5)&&_0x2a2ba5['length']){if(_0x2a2ba5['length']===_0x8d49d[0x0][_0x207f50(0x332)][_0x207f50(0x30d)][_0x207f50(0x2a6)]&&_0x2a2ba5['every']((_0x4431ff,_0x38d4a0)=>_0x2f92b0[_0x207f50(0x37e)](_0x4431ff[_0x207f50(0x22c)],_0x8d49d[0x0][_0x207f50(0x332)][_0x207f50(0x30d)][_0x38d4a0][_0x207f50(0x22c)])))return;this[_0x207f50(0x38a)]['get'](_0x36939e)[_0x207f50(0x2ba)](_0x3a5593['id'],{'unitId':_0x1f9515,'subUnitId':_0x2b0191,'selections':_0x2a2ba5});}}};nt=ms([ft(0x0,_0xad32f2(_0x237237)),ft(0x1,_0x5c7c3f),ft(0x2,_0x16c691)],nt);const _t=_0x2b60cb(_0x2776ba(0x3b9));var yi=(_0x479fe0=>(_0x479fe0[_0x479fe0[_0x2776ba(0x223)]=0x0]=_0x2776ba(0x223),_0x479fe0[_0x479fe0[_0x2776ba(0x291)]=0x1]=_0x2776ba(0x291),_0x479fe0))(yi||{});const Ss=new Set([_0x1dee63['id']]);function Jt(_0x54d687,_0x4ff77,_0x3d38f5,_0xc7f154,_0x1ee888){var _0x2c061c=_0x2776ba,_0x463d07,_0x305162,_0x5335da,_0x1f9651;const _0x2fbd82=[];for(const _0x3019b6 of _0x54d687)if(Ss[_0x2c061c(0x448)](_0x3019b6['id'])){if(_0x2fbd82[_0x2c061c(0x2a6)]>0x0)break;_0x2fbd82[_0x2c061c(0x306)](_0x3019b6);break;}else _0x2fbd82[_0x2c061c(0x306)](_0x3019b6);const _0x55445c=(_0x305162=(_0x463d07=_0x1ee888[_0x2c061c(0x256)]())==null?void 0x0:_0x463d07[_0x2c061c(0x247)])!=null?_0x305162:_0x2c061c(0x41e),_0x59b682=(_0x1f9651=(_0x5335da=_0x1ee888[_0x2c061c(0x256)]())==null?void 0x0:_0x5335da['memberID'])!=null?_0x1f9651:'unknown';return{'changeset':{'unitID':_0x4ff77,'type':_0x299fb3(_0x3d38f5['getUnitType'](_0x4ff77)),'baseRev':_0xc7f154[_0x2c061c(0x232)](_0x4ff77),'revision':0x0,'userID':_0x55445c,'memberID':_0x59b682,'mutations':_0x2fbd82},'pendingMutations':_0x54d687['slice'](_0x2fbd82[_0x2c061c(0x2a6)])};}function Es(_0x157ebd,_0x4988a0,_0x310e69,_0x4fde30,_0xef3784){var _0x54ee7b=_0x2776ba,_0x516caf,_0x12abec,_0x471f59,_0x41b390;const _0x5de629=[_0x157ebd[_0x54ee7b(0x26b)]((_0x2b27ed,_0x299c63)=>{var _0x1f3732=_0x54ee7b,_0x550285;const {id:_0x4915e6}=_0x2b27ed,{id:_0x5c05ed,type:_0x5d53e5}=_0x299c63,_0x4b9935=(_0x550285=_0x2b27ed[_0x1f3732(0x332)])!=null?_0x550285:{'actions':null},_0x4e63c5=_0x299c63[_0x1f3732(0x332)];if(_0x4915e6&&_0x4915e6!==_0x5c05ed)throw new Error(_0x1f3732(0x3e0)+_0x4915e6+_0x1f3732(0x1bf)+_0x5c05ed+'.');return{..._0x2b27ed,'id':_0x5c05ed,'type':_0x5d53e5,'params':{'unitId':_0x4e63c5[_0x1f3732(0x246)],'textRanges':_0x4e63c5[_0x1f3732(0x393)],'actions':_0x1d5fa3[_0x1f3732(0x37f)](_0x4b9935[_0x1f3732(0x222)],_0x4e63c5[_0x1f3732(0x222)])}};},{})],_0x473cdf=(_0x12abec=(_0x516caf=_0xef3784[_0x54ee7b(0x256)]())==null?void 0x0:_0x516caf['userID'])!=null?_0x12abec:_0x54ee7b(0x41e),_0xefbf0d=(_0x41b390=(_0x471f59=_0xef3784[_0x54ee7b(0x256)]())==null?void 0x0:_0x471f59[_0x54ee7b(0x183)])!=null?_0x41b390:_0x54ee7b(0x41e);return{'changeset':{'unitID':_0x4988a0,'type':_0x299fb3(_0x310e69['getUnitType'](_0x4988a0)),'baseRev':_0x4fde30['getCurrentRevOfUnit'](_0x4988a0),'revision':0x0,'userID':_0x473cdf,'memberID':_0xefbf0d,'mutations':_0x5de629},'pendingMutations':[]};}function Oi(_0x5d662f,_0x2c8e3b){var _0x16c82b=_0x2776ba;const _0x3089c5=new _0x3b1342(0x1);return setTimeout(()=>_0x3089c5['next'](_0x2c8e3b),_0x5d662f),_0x3089c5[_0x16c82b(0x340)]()[_0x16c82b(0x419)](_0x51019b(0x1));}const Is={'id':_0x15e802['id'],'type':_0x5f58ab[_0x2776ba(0x188)],'params':{}};var Ts=Object[_0x2776ba(0x282)],Cs=Object[_0x2776ba(0x236)],be=(_0x194e08,_0x711920,_0x141018,_0x467719)=>{for(var _0x18db6f=_0x467719>0x1?void 0x0:_0x467719?Cs(_0x711920,_0x141018):_0x711920,_0x46afab=_0x194e08['length']-0x1,_0x16186f;_0x46afab>=0x0;_0x46afab--)(_0x16186f=_0x194e08[_0x46afab])&&(_0x18db6f=(_0x467719?_0x16186f(_0x711920,_0x141018,_0x18db6f):_0x16186f(_0x18db6f))||_0x18db6f);return _0x467719&&_0x18db6f&&Ts(_0x711920,_0x141018,_0x18db6f),_0x18db6f;},A=(_0x250287,_0x299f2f)=>(_0x31db6f,_0x2358d9)=>_0x299f2f(_0x31db6f,_0x2358d9,_0x250287),Pi=(_0x2d9717=>(_0x2d9717['NOT_COLLAB']='not_collab',_0x2d9717[_0x2776ba(0x45b)]=_0x2776ba(0x179),_0x2d9717['PENDING']='pending',_0x2d9717[_0x2776ba(0x45f)]=_0x2776ba(0x363),_0x2d9717[_0x2776ba(0x1b8)]=_0x2776ba(0x464),_0x2d9717[_0x2776ba(0x1e5)]=_0x2776ba(0x473),_0x2d9717[_0x2776ba(0x230)]='conflict',_0x2d9717[_0x2776ba(0x39f)]=_0x2776ba(0x344),_0x2d9717))(Pi||{});const Ni=0xea60;class Re{constructor(_0x592de9,_0x386a0b,_0x4754b0,_0x33aca9,_0x26c60c,_0x13a591,_0x3c2554,_0x33dbc2,_0x319b4f){var _0x57ee91=_0x2776ba;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x57ee91(0x3ed)]=_0x592de9,this['type']=_0x386a0b,this[_0x57ee91(0x3fe)]=_0x26c60c,this[_0x57ee91(0x2b4)]=_0x13a591,this[_0x57ee91(0x17f)]=_0x3c2554,this[_0x57ee91(0x2f2)]=_0x33dbc2,this[_0x57ee91(0x2d6)]=_0x319b4f,this[_0x57ee91(0x17e)]=_0x4754b0,this['_pendingMutations']=_0x33aca9);}[_0x2776ba(0x23b)](_0x1c6fb4){var _0x14476c=_0x2776ba;const _0x1f739f=this[_0x14476c(0x2f2)][_0x14476c(0x232)](this['unitID']);return _0x1c6fb4[_0x14476c(0x2a8)]>_0x1f739f+0x1?(this[_0x14476c(0x3fe)][_0x14476c(0x19c)]({'from':_0x1f739f,'to':_0x1c6fb4[_0x14476c(0x2a8)]-0x1}),!0x0):!0x1;}[_0x2776ba(0x46f)](_0x5c23be){var _0x2ee245=_0x2776ba;this[_0x2ee245(0x17f)]['transformUndoRedo'](this['unitID'],_0x5c23be);}[_0x2776ba(0x21e)](_0x3a46da){var _0x30ac86=_0x2776ba,_0x1f15d9,_0x585776;(_0x585776=(_0x1f15d9=this[_0x30ac86(0x3fe)])['onTransformSelections'])==null||_0x585776[_0x30ac86(0x3ae)](_0x1f15d9,_0x3a46da);}['_transformIMECache'](_0x4e963f){var _0x53a105=_0x2776ba,_0x4a09ad,_0xeb65ff;return(_0xeb65ff=(_0x4a09ad=this[_0x53a105(0x3fe)])['onTransformIME'])==null?void 0x0:_0xeb65ff[_0x53a105(0x3ae)](_0x4a09ad,_0x4e963f);}['_transformStateCache'](_0x294ced){var _0x3cab12,_0x4903ca;return(_0x4903ca=(_0x3cab12=this['_handler'])['onTransformState'])==null?void 0x0:_0x4903ca['call'](_0x3cab12,_0x294ced);}['_transformRemoteChangesetByIMECache'](_0x3153fa){var _0x381ab7=_0x2776ba,_0x283b02,_0x536b75,_0x1587c3;return(_0x1587c3=(_0x536b75=(_0x283b02=this['_handler'])[_0x381ab7(0x1db)])==null?void 0x0:_0x536b75[_0x381ab7(0x3ae)](_0x283b02,_0x3153fa))!=null?_0x1587c3:_0x3153fa;}[_0x2776ba(0x24d)](_0x1114fc){var _0x597e79=_0x2776ba,_0x73babf,_0x3f1010,_0x59d0c9;return(_0x59d0c9=(_0x3f1010=(_0x73babf=this['_handler'])[_0x597e79(0x387)])==null?void 0x0:_0x3f1010[_0x597e79(0x3ae)](_0x73babf,_0x1114fc))!=null?_0x59d0c9:_0x1114fc;}[_0x2776ba(0x3c6)](_0x218548){var _0x293199=_0x2776ba,_0x520a5a,_0x1d33c7;if(this[_0x293199(0x33a)]===Q[_0x293199(0x3f8)]){const {unitID:_0x36867c,mutations:_0x135f8a,memberID:_0x412f6b}=_0x218548,_0x32e70b=_0x135f8a[0x0]['params']['textRanges'];Array['isArray'](_0x32e70b)&&_0x32e70b[_0x293199(0x2a6)]>0x0&&((_0x1d33c7=(_0x520a5a=this[_0x293199(0x3fe)])[_0x293199(0x2d4)])==null||_0x1d33c7[_0x293199(0x3ae)](_0x520a5a,{'unitID':_0x36867c,'memberID':_0x412f6b,'textRanges':_0x32e70b}));}}['_updateLocalCache'](){var _0x36850e=_0x2776ba,_0x3c11ab;(_0x3c11ab=this[_0x36850e(0x2d6)])==null||_0x3c11ab[_0x36850e(0x1b9)](this[_0x36850e(0x3ed)],this['type'],this[_0x36850e(0x17e)],this[_0x36850e(0x2dd)]);}['_getCurrentRevision'](){var _0x1b3d82=_0x2776ba;return this[_0x1b3d82(0x2f2)]['getCurrentRevOfUnit'](this[_0x1b3d82(0x3ed)]);}[_0x2776ba(0x352)](){var _0x4672fb=_0x2776ba;this[_0x4672fb(0x2f2)][_0x4672fb(0x250)](this[_0x4672fb(0x3ed)]);}['_executeRemoteChangeset'](_0x2e3d91){var _0x138c62=_0x2776ba,_0x1c3347;let _0x17731d=this['_transformRemoteChangesetByIMECache'](_0x2e3d91);_0x17731d=this[_0x138c62(0x24d)](_0x17731d);const _0x560674=_0x179b24(_0x17731d[_0x138c62(0x273)],this['_commandService'],{'fromCollab':!0x0});if(!_0x560674[_0x138c62(0x474)])throw _0x560674[_0x138c62(0x341)]instanceof Error?_0x560674['error']:new Error((_0x1c3347=_0x560674[_0x138c62(0x341)])!=null?_0x1c3347:_0x138c62(0x23e));this[_0x138c62(0x32a)](_0x17731d),this[_0x138c62(0x44b)](_0x17731d),this['_transformUndoredo'](_0x2e3d91),this[_0x138c62(0x21e)](_0x17731d),this[_0x138c62(0x3c6)](_0x17731d),this[_0x138c62(0x352)]();}}let Ne=class extends Re{constructor(_0x56a762,_0x1dcec9,_0x32e2d1,_0x523a03,_0x1dd44f,_0x5c3f76,_0x3c687f,_0x3d759f,_0x36602e,_0x36c924){var _0x20d325=_0x2776ba;super(_0x56a762,_0x1dcec9,null,[],_0x32e2d1,_0x3c687f,_0x5c3f76,_0x523a03,_0x36c924),N(this,_0x20d325(0x450),_0x20d325(0x179)),(this[_0x20d325(0x38a)]=_0x1dd44f,this['_logService']=_0x3d759f,this[_0x20d325(0x203)]=_0x36602e,this['localCacheService']=_0x36c924);}[_0x2776ba(0x43c)](_0x32e730){var _0x530294=_0x2776ba;const _0x5d10b4=this['_injector'][_0x530294(0x346)](oe,this[_0x530294(0x3ed)],this[_0x530294(0x33a)],[_0x32e730],this['_handler']);return _0x5d10b4[_0x530294(0x453)](),_0x5d10b4['_updateLocalCache'](),_0x5d10b4;}[_0x2776ba(0x1c9)](_0x207eaa){var _0x3b2e47=_0x2776ba;if(this[_0x3b2e47(0x23b)](_0x207eaa))return this[_0x3b2e47(0x38a)]['createInstance'](te,this[_0x3b2e47(0x3ed)],this['type'],null,[],null,[_0x207eaa],this[_0x3b2e47(0x3fe)]);try{const _0x2c3a65=this[_0x3b2e47(0x203)][_0x3b2e47(0x1ed)](_0x207eaa,[Is]);if(_0x348bf3(_0x2c3a65)){const {c1Prime:_0x164637}=_0x2c3a65;return this['_executeRemoteChangeset'](_0x164637),this;}throw _0x2c3a65[_0x3b2e47(0x341)];}catch(_0x5c1f1c){return this[_0x3b2e47(0x1d7)]['error'](_0x5c1f1c),this[_0x3b2e47(0x458)](!0x1);}}[_0x2776ba(0x458)](_0x253cf2){var _0x3721c5=_0x2776ba;return this['_injector']['createInstance'](de,this[_0x3721c5(0x3ed)],this[_0x3721c5(0x33a)],null,[],this[_0x3721c5(0x3fe)],_0x253cf2);}['onRemoteAck'](){var _0x3167c6=_0x2776ba;throw new Error(_0x3167c6(0x1ee));}[_0x2776ba(0x47a)](){var _0x4c5f1d=_0x2776ba;throw new Error(_0x4c5f1d(0x1f8));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x1769df=_0x2776ba;return this['_injector']['createInstance'](fe,this[_0x1769df(0x3ed)],this[_0x1769df(0x33a)],null,[],this[_0x1769df(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x14e096=_0x2776ba;throw new Error(_0x14e096(0x463));}[_0x2776ba(0x421)](){var _0x5f21e7=_0x2776ba;const _0x5a221d=this[_0x5f21e7(0x2f2)][_0x5f21e7(0x232)](this[_0x5f21e7(0x3ed)]);return this[_0x5f21e7(0x3fe)][_0x5f21e7(0x19c)]({'from':_0x5a221d,'to':0x0}),this[_0x5f21e7(0x38a)][_0x5f21e7(0x346)](te,this[_0x5f21e7(0x3ed)],this[_0x5f21e7(0x33a)],null,[],null,[],this[_0x5f21e7(0x3fe)]);}};Ne=be([A(0x3,_0xad32f2(_0x19c318)),A(0x4,_0xad32f2(_0x237237)),A(0x5,_0x3d484f),A(0x6,_0x36939e),A(0x7,_0x3b0698),A(0x8,_0x5c7c3f),A(0x9,_0x122f64(X))],Ne);let oe=class extends Re{constructor(_0x5b7358,_0x4d345a,_0x3308eb,_0x38a66d,_0x5c4959,_0x24790e,_0x5e4868,_0x134fec,_0x59d053,_0x1a62bc,_0x605736,_0x32b702,_0xe17f8f,_0x5e9b50){var _0x40d5be=_0x2776ba;super(_0x5b7358,_0x4d345a,null,_0x3308eb,_0x38a66d,_0x59d053,_0xe17f8f,_0x24790e,_0x5e9b50),N(this,_0x40d5be(0x450),_0x40d5be(0x243)),N(this,_0x40d5be(0x1ef),null),N(this,_0x40d5be(0x375),null),(this[_0x40d5be(0x38a)]=_0x5c4959,this[_0x40d5be(0x415)]=_0x5e4868,this[_0x40d5be(0x1d7)]=_0x134fec,this[_0x40d5be(0x45d)]=_0x1a62bc,this[_0x40d5be(0x203)]=_0x605736,this['_univerInstanceService']=_0x32b702);}[_0x2776ba(0x43c)](_0x29cbe6){var _0x546a2c=_0x2776ba;return this[_0x546a2c(0x2dd)]['push'](_0x29cbe6),this[_0x546a2c(0x2ee)](),this;}[_0x2776ba(0x1c9)](_0x99591){var _0x376189=_0x2776ba;if(this[_0x376189(0x23b)](_0x99591))return this[_0x376189(0x311)](),this['_injector'][_0x376189(0x346)](te,this[_0x376189(0x3ed)],this[_0x376189(0x33a)],null,this['_pendingMutations'],null,[_0x99591],this[_0x376189(0x3fe)]);try{const _0x224d45=this['_transformService'][_0x376189(0x1ed)](_0x99591,this[_0x376189(0x2dd)]);if(_0x348bf3(_0x224d45)){const {c1Prime:_0x34c05a,m2Prime:_0x5e526f}=_0x224d45;this['_executeRemoteChangeset'](_0x34c05a);const _0x3f26be=this[_0x376189(0x38a)][_0x376189(0x346)](oe,this[_0x376189(0x3ed)],this[_0x376189(0x33a)],_0x5e526f,this[_0x376189(0x3fe)]);return this[_0x376189(0x311)](),_0x3f26be[_0x376189(0x453)](this[_0x376189(0x1ef)]?Math[_0x376189(0x426)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x376189(0x1d3)]()),_0x3f26be;}throw _0x224d45[_0x376189(0x341)];}catch(_0x199ee2){return this['_logService'][_0x376189(0x341)](_0x199ee2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2bd075=_0x2776ba;throw new Error(_0x2bd075(0x211));}['onRemoteRej'](){var _0x31fd4f=_0x2776ba;throw new Error(_0x31fd4f(0x345));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){var _0x145701=_0x2776ba;return this[_0x145701(0x311)](),this[_0x145701(0x38a)]['createInstance'](fe,this['unitID'],this[_0x145701(0x33a)],null,this[_0x145701(0x2dd)],this[_0x145701(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x453)](_0x329321){var _0x5c2c76=_0x2776ba;const _0x9fab85=_0x329321!=null?_0x329321:this[_0x5c2c76(0x1d3)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x5c2c76(0x375)]=setTimeout(()=>{var _0x27341b=_0x5c2c76;this[_0x27341b(0x311)]();let _0x5992b2=null;switch(this[_0x27341b(0x33a)]){case Q[_0x27341b(0x40d)]:{_0x5992b2=Jt(this[_0x27341b(0x2dd)],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this['_memberService']);break;}case Q[_0x27341b(0x3f8)]:{this[_0x27341b(0x2dd)][_0x27341b(0x219)](_0x5424b7=>_0x5424b7['id']===_0x5bed94['id'])?_0x5992b2=Es(this['_pendingMutations'],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this['_memberService']):_0x5992b2=Jt(this[_0x27341b(0x2dd)],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this[_0x27341b(0x415)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x27341b(0x33a)]+'\x20in\x20_schedule.');}const {changeset:_0x3bd574,pendingMutations:_0x5c1c2c}=_0x5992b2;this[_0x27341b(0x3fe)][_0x27341b(0x412)](_0x3bd574);const _0x69d564=_0x5c1c2c[_0x27341b(0x2a6)]?this[_0x27341b(0x38a)][_0x27341b(0x346)](ae,this[_0x27341b(0x3ed)],this[_0x27341b(0x33a)],_0x3bd574,_0x5c1c2c,this[_0x27341b(0x3fe)],void 0x0):this[_0x27341b(0x38a)][_0x27341b(0x346)](ue,this[_0x27341b(0x3ed)],this[_0x27341b(0x33a)],_0x3bd574,this[_0x27341b(0x3fe)]);_0x69d564[_0x27341b(0x2ee)](),this[_0x27341b(0x3fe)][_0x27341b(0x444)](this,_0x69d564);},_0x9fab85);}[_0x2776ba(0x1d3)](){var _0x527933=_0x2776ba,_0x2efd20;const _0x2f63e8=this[_0x527933(0x45d)][_0x527933(0x27b)](Y);return(_0x2efd20=_0x2f63e8==null?void 0x0:_0x2f63e8[_0x527933(0x460)])!=null?_0x2efd20:wn;}[_0x2776ba(0x343)](){var _0x3cc022=_0x2776ba;throw new Error(_0x3cc022(0x182));}[_0x2776ba(0x311)](){var _0x32b5ee=_0x2776ba;this['_sendingTimer']!=null&&(clearTimeout(this[_0x32b5ee(0x375)]),this[_0x32b5ee(0x375)]=null);}[_0x2776ba(0x458)](_0xecc19f){var _0x5bf254=_0x2776ba;return this[_0x5bf254(0x311)](),this[_0x5bf254(0x38a)][_0x5bf254(0x346)](de,this[_0x5bf254(0x3ed)],this[_0x5bf254(0x33a)],null,this['_pendingMutations'],this[_0x5bf254(0x3fe)],_0xecc19f);}};oe=be([A(0x4,_0xad32f2(_0x237237)),A(0x5,_0xad32f2(_0x19c318)),A(0x6,_0xad32f2(xe)),A(0x7,_0x3b0698),A(0x8,_0x36939e),A(0x9,_0x5aacb0),A(0xa,_0x5c7c3f),A(0xb,_0x16c691),A(0xc,_0x3d484f),A(0xd,_0x122f64(X))],oe);let ue=class extends Re{constructor(_0x3c4e25,_0x23526b,_0x235f24,_0x302fc3,_0x566bba,_0x140481,_0x1d70ba,_0x3e4e4e,_0xaa7002,_0x2b4044,_0x575cfa){var _0x4c6acf=_0x2776ba;super(_0x3c4e25,_0x23526b,_0x235f24,[],_0x302fc3,_0x1d70ba,_0x2b4044,_0x140481,_0x575cfa),N(this,_0x4c6acf(0x450),_0x4c6acf(0x363)),N(this,'_resendTimeout',0x0),N(this,_0x4c6acf(0x2f9)),N(this,'_sender'),(this['_injector']=_0x566bba,this[_0x4c6acf(0x1d7)]=_0x3e4e4e,this[_0x4c6acf(0x203)]=_0xaa7002);}['appendMutation'](_0x4258b9){var _0x4943ec=_0x2776ba;this[_0x4943ec(0x311)]();const _0x13790e=this[_0x4943ec(0x38a)]['createInstance'](ae,this[_0x4943ec(0x3ed)],this['type'],this[_0x4943ec(0x17e)],[_0x4258b9],this[_0x4943ec(0x3fe)],this[_0x4943ec(0x2f9)]);return _0x13790e[_0x4943ec(0x2ee)](),_0x13790e;}[_0x2776ba(0x1c9)](_0x424386){var _0x5c3bf0=_0x2776ba;if(this[_0x5c3bf0(0x23b)](_0x424386))return this['_clearScheduledTask'](),this[_0x5c3bf0(0x38a)][_0x5c3bf0(0x346)](te,this[_0x5c3bf0(0x3ed)],this[_0x5c3bf0(0x33a)],this[_0x5c3bf0(0x17e)],[],null,[_0x424386],this[_0x5c3bf0(0x3fe)]);try{const _0xc2c44c=this[_0x5c3bf0(0x203)][_0x5c3bf0(0x428)]([_0x424386],[this[_0x5c3bf0(0x17e)]],!0x1);if(_0x585f59(_0xc2c44c)){const {c1Prime:_0xfd738b,c2Prime:_0x2a91d6}=_0xc2c44c;this[_0x5c3bf0(0x388)](_0xfd738b[0x0]),_0x2a91d6[0x0][_0x5c3bf0(0x18d)]=this['_getCurrentRevision'](),this[_0x5c3bf0(0x311)]();const _0x2daab6=this[_0x5c3bf0(0x38a)][_0x5c3bf0(0x346)](ue,this[_0x5c3bf0(0x3ed)],this[_0x5c3bf0(0x33a)],_0x2a91d6[0x0],this[_0x5c3bf0(0x3fe)]);return _0x2daab6[_0x5c3bf0(0x2ee)](),_0x2daab6;}return this[_0x5c3bf0(0x458)](!0x1);}catch(_0x5605c0){return this[_0x5c3bf0(0x1d7)]['error'](_0x5605c0),this[_0x5c3bf0(0x458)](!0x1);}}[_0x2776ba(0x32b)](_0x22c66a){var _0x26041f=_0x2776ba;this[_0x26041f(0x311)]();const _0x2f09ee=this['_revisionService'][_0x26041f(0x232)](this[_0x26041f(0x3ed)]);if(_0x22c66a[_0x26041f(0x2a8)]<_0x2f09ee-0x1)return this;if(this[_0x26041f(0x23b)](_0x22c66a))return this[_0x26041f(0x38a)][_0x26041f(0x346)](te,this[_0x26041f(0x3ed)],this[_0x26041f(0x33a)],null,[],this[_0x26041f(0x17e)],[],this['_handler']);this[_0x26041f(0x352)]();const _0x1ff5c8=this[_0x26041f(0x38a)][_0x26041f(0x346)](Ne,this['unitID'],this[_0x26041f(0x33a)],this['_handler']);return _0x1ff5c8[_0x26041f(0x2ee)](),_0x1ff5c8;}['onRemoteRej'](_0x289eea){return this['_onConflict'](!!(_0x289eea!=null&&_0x289eea['isPermissionRej']));}[_0x2776ba(0x3a6)](_0x54b12e){var _0xc9d637=_0x2776ba;return this['_resendTimeout']>Ni?this[_0xc9d637(0x1e6)]():(this[_0xc9d637(0x2f9)]=Oi(this[_0xc9d637(0x269)],{'timeout':this['_resendTimeout'],'reqId':_0x54b12e[_0xc9d637(0x38e)]}),this[_0xc9d637(0x2c8)]=this[_0xc9d637(0x2f9)][_0xc9d637(0x20f)](({reqId:_0x82ed59,timeout:_0x6b5a21})=>{var _0x199e26=_0xc9d637;this[_0x199e26(0x407)](_0x82ed59,_0x6b5a21);}),this);}[_0x2776ba(0x1e6)](){var _0xfcf8b0=_0x2776ba;return this[_0xfcf8b0(0x311)](),this['_injector'][_0xfcf8b0(0x346)](fe,this['unitID'],this['type'],this[_0xfcf8b0(0x17e)],[],this[_0xfcf8b0(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x49fab6=_0x2776ba;this[_0x49fab6(0x3fe)][_0x49fab6(0x412)](this['_awaitingChangeset']);}[_0x2776ba(0x458)](_0x345812){var _0x4732c6=_0x2776ba;return this[_0x4732c6(0x311)](),this[_0x4732c6(0x38a)][_0x4732c6(0x346)](de,this[_0x4732c6(0x3ed)],this[_0x4732c6(0x33a)],this[_0x4732c6(0x17e)],[],this['_handler'],_0x345812);}[_0x2776ba(0x407)](_0x2aa384,_0xaaebc3){var _0x9d1bb8=_0x2776ba,_0x5e6db5;_0x2aa384===((_0x5e6db5=this['_awaitingChangeset'])==null?void 0x0:_0x5e6db5[_0x9d1bb8(0x38e)])&&(this[_0x9d1bb8(0x343)](),this[_0x9d1bb8(0x269)]=_0xaaebc3===0x0?0x3e8:_0xaaebc3*0x2);}[_0x2776ba(0x311)](){var _0x3e3167=_0x2776ba,_0x401c04;(_0x401c04=this[_0x3e3167(0x2c8)])==null||_0x401c04['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0xad32f2(_0x237237)),A(0x5,_0xad32f2(_0x19c318)),A(0x6,_0x36939e),A(0x7,_0x3b0698),A(0x8,_0x5c7c3f),A(0x9,_0x3d484f),A(0xa,_0x122f64(X))],ue);let ae=class extends Re{constructor(_0x3d0bad,_0x3ecc49,_0x5406dc,_0x130232,_0x1cc0cd,_0x1b7192,_0x917eb7,_0x5771f5,_0x4d7bba,_0x1a92fc,_0x2073ca,_0x533c30,_0x4b85ef){var _0xf165b7=_0x2776ba;super(_0x3d0bad,_0x3ecc49,_0x5406dc,_0x130232,_0x1cc0cd,_0x4d7bba,_0x533c30,_0x5771f5,_0x4b85ef),N(this,_0xf165b7(0x450),_0xf165b7(0x464)),N(this,_0xf165b7(0x269),0x0),N(this,_0xf165b7(0x2f9)),N(this,_0xf165b7(0x2c8)),(this[_0xf165b7(0x38a)]=_0x917eb7,this[_0xf165b7(0x1d7)]=_0x1a92fc,this[_0xf165b7(0x203)]=_0x2073ca,this[_0xf165b7(0x259)]=_0x4b85ef,_0x1b7192&&(this[_0xf165b7(0x2f9)]=_0x1b7192,this[_0xf165b7(0x2c8)]=this['_resendTimer']['subscribe'](({reqId:_0x47f3ff,timeout:_0x4eb0e4})=>{var _0x35514c=_0xf165b7;this[_0x35514c(0x407)](_0x47f3ff,_0x4eb0e4);})));}[_0x2776ba(0x43c)](_0x18ed0c){var _0x314da9=_0x2776ba;return this[_0x314da9(0x2dd)]['push'](_0x18ed0c),this;}[_0x2776ba(0x1c9)](_0x33e44b){var _0x37ec77=_0x2776ba;if(this[_0x37ec77(0x23b)](_0x33e44b))return this[_0x37ec77(0x311)](),this[_0x37ec77(0x38a)][_0x37ec77(0x346)](te,this[_0x37ec77(0x3ed)],this[_0x37ec77(0x33a)],this[_0x37ec77(0x17e)],this[_0x37ec77(0x2dd)],null,[_0x33e44b],this[_0x37ec77(0x3fe)]);try{const _0x4fe87d=this['_transformService'][_0x37ec77(0x428)]([_0x33e44b],[this[_0x37ec77(0x17e)]],!0x1);if(_0x585f59(_0x4fe87d)){const {c1Prime:_0xd4978f,c2Prime:_0x21b591}=_0x4fe87d,_0x571c2a=this[_0x37ec77(0x203)][_0x37ec77(0x1ed)](_0xd4978f[0x0],this['_pendingMutations']);if(_0x348bf3(_0x571c2a)){const {c1Prime:_0x1cfc6b,m2Prime:_0x4d76e1}=_0x571c2a;return this['_executeRemoteChangeset'](_0x1cfc6b),_0x21b591[0x0]['baseRev']=this[_0x37ec77(0x44e)](),this[_0x37ec77(0x311)](),this[_0x37ec77(0x38a)][_0x37ec77(0x346)](ae,this[_0x37ec77(0x3ed)],this['type'],_0x21b591[0x0],_0x4d76e1,this[_0x37ec77(0x3fe)],void 0x0);}throw _0x571c2a['error'];}throw _0x4fe87d[_0x37ec77(0x341)];}catch(_0x2a4209){return this['_logService']['error'](_0x2a4209),this[_0x37ec77(0x458)](!0x1);}}['onRemoteAck'](_0x400429){var _0x55f4df=_0x2776ba;if(this['_clearScheduledTask'](),this[_0x55f4df(0x23b)](_0x400429))return this[_0x55f4df(0x38a)][_0x55f4df(0x346)](te,this[_0x55f4df(0x3ed)],this[_0x55f4df(0x33a)],null,this[_0x55f4df(0x2dd)],this['_awaitingChangeset'],[],this[_0x55f4df(0x3fe)]);this['_incrementRevisionNumber']();const _0x48b542=this[_0x55f4df(0x38a)]['createInstance'](oe,this[_0x55f4df(0x3ed)],this[_0x55f4df(0x33a)],this['_pendingMutations'],this[_0x55f4df(0x3fe)]);return _0x48b542[_0x55f4df(0x453)](),_0x48b542[_0x55f4df(0x2ee)](),_0x48b542;}['onRemoteRej'](_0x1a1500){var _0x3b0ff3=_0x2776ba;return this[_0x3b0ff3(0x458)](!!(_0x1a1500!=null&&_0x1a1500['isPermissionRej']));}[_0x2776ba(0x3a6)](_0x1925a2){var _0x5cfb2e=_0x2776ba;return this[_0x5cfb2e(0x269)]>Ni?this[_0x5cfb2e(0x1e6)]():(this[_0x5cfb2e(0x2f9)]=Oi(this[_0x5cfb2e(0x269)],{'timeout':this['_resendTimeout'],'reqId':_0x1925a2[_0x5cfb2e(0x38e)]}),this[_0x5cfb2e(0x2c8)]=this[_0x5cfb2e(0x2f9)][_0x5cfb2e(0x20f)](({reqId:_0x2cc2ba,timeout:_0x3afe2f})=>{var _0x317917=_0x5cfb2e;this[_0x317917(0x407)](_0x2cc2ba,_0x3afe2f);}),this);}[_0x2776ba(0x1e6)](){var _0x9746ca=_0x2776ba;return this['_clearScheduledTask'](),this[_0x9746ca(0x38a)][_0x9746ca(0x346)](fe,this[_0x9746ca(0x3ed)],this[_0x9746ca(0x33a)],this['_awaitingChangeset'],this[_0x9746ca(0x2dd)],this[_0x9746ca(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x34145a=_0x2776ba;this[_0x34145a(0x3fe)]['onSendChangeset'](this[_0x34145a(0x17e)]);}[_0x2776ba(0x458)](_0x5b4d79){var _0x31c5c9=_0x2776ba;return this[_0x31c5c9(0x311)](),this['_injector'][_0x31c5c9(0x346)](de,this[_0x31c5c9(0x3ed)],this[_0x31c5c9(0x33a)],null,this[_0x31c5c9(0x2dd)],this[_0x31c5c9(0x3fe)],_0x5b4d79);}[_0x2776ba(0x407)](_0x475881,_0x15b36c){var _0x45a0f5=_0x2776ba,_0x56afdf;_0x475881===((_0x56afdf=this[_0x45a0f5(0x17e)])==null?void 0x0:_0x56afdf[_0x45a0f5(0x38e)])&&(this[_0x45a0f5(0x343)](),this[_0x45a0f5(0x269)]=_0x15b36c===0x0?0x3e8:_0x15b36c*0x2);}['_clearScheduledTask'](){var _0x12a88a=_0x2776ba,_0x103abe;(_0x103abe=this['_sender'])==null||_0x103abe[_0x12a88a(0x1af)](),this[_0x12a88a(0x269)]=0x0;}};ae=be([A(0x6,_0xad32f2(_0x237237)),A(0x7,_0xad32f2(_0x19c318)),A(0x8,_0x36939e),A(0x9,_0x3b0698),A(0xa,_0x5c7c3f),A(0xb,_0x3d484f),A(0xc,_0x122f64(X))],ae);let de=class extends Re{constructor(_0x3a7edd,_0x50b695,_0x5dcd91,_0x324103,_0x1cd093,_0x4c4946=!0x1,_0x57abd8,_0x50400e,_0x4ac68e,_0x5587e6,_0x438d8d,_0x567550,_0xa7dc8a){var _0x48f743=_0x2776ba;super(_0x3a7edd,_0x50b695,_0x5dcd91,_0x324103,_0x1cd093,_0x50400e,_0x4ac68e,_0x5587e6,_0xa7dc8a),N(this,_0x48f743(0x450),'conflict'),(this[_0x48f743(0x3d1)]=_0x4c4946,this[_0x48f743(0x2f6)]=_0x57abd8,this[_0x48f743(0x1f9)]=_0x438d8d,this['_collaborationUIEventService']=_0x567550,this[_0x48f743(0x259)]=_0xa7dc8a,this[_0x48f743(0x422)](),this[_0x48f743(0x22d)](),this[_0x48f743(0x32c)]());}['appendMutation'](){return this;}[_0x2776ba(0x1c9)](){return this;}['onRemoteAck'](){return this;}[_0x2776ba(0x47a)](){return this;}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){return this;}['toggleOnline'](){return this;}[_0x2776ba(0x343)](){var _0x2aaaa7=_0x2776ba;throw new Error(_0x2aaaa7(0x1a4));}[_0x2776ba(0x22d)](){var _0x1d0698=_0x2776ba,_0x33ccc1;(_0x33ccc1=this[_0x1d0698(0x2d6)])==null||_0x33ccc1['updateOfflineData'](this[_0x1d0698(0x3ed)],this[_0x1d0698(0x33a)],null,[]);}[_0x2776ba(0x422)](){var _0x375f75=_0x2776ba;this[_0x375f75(0x3d1)]?this[_0x375f75(0x36d)]['emitEvent']({'id':re[_0x375f75(0x3da)]}):this[_0x375f75(0x36d)][_0x375f75(0x1cc)]({'id':re[_0x375f75(0x230)]});}[_0x2776ba(0x32c)](){var _0x3d6a6f=_0x2776ba;this[_0x3d6a6f(0x2f6)][_0x3d6a6f(0x3ad)](new _0x1f9850(this[_0x3d6a6f(0x3ed)])['id'],!0x1);}};de=be([A(0x6,_0xad32f2(_0x39f738)),A(0x7,_0x36939e),A(0x8,_0x3d484f),A(0x9,_0xad32f2(_0x19c318)),A(0xa,_0xad32f2(_0x415ba6)),A(0xb,_0xad32f2(pe)),A(0xc,_0x122f64(X))],de);let fe=class extends Re{constructor(_0x1baf86,_0x3b5704,_0x2b98f2,_0x3303b0,_0x5ac5ce,_0x8ab803,_0x372518,_0xcb0436,_0x5cd114,_0x5bc9e7){var _0x1c2d07=_0x2776ba;super(_0x1baf86,_0x3b5704,_0x2b98f2,_0x3303b0,_0x5ac5ce,_0xcb0436,_0x5cd114,_0x372518,_0x5bc9e7),N(this,_0x1c2d07(0x450),_0x1c2d07(0x344)),this[_0x1c2d07(0x38a)]=_0x8ab803;}[_0x2776ba(0x43c)](_0x512865){var _0x550c42=_0x2776ba;return this['_pendingMutations']['push'](_0x512865),this[_0x550c42(0x2ee)](),this;}[_0x2776ba(0x1c9)](_0x5782cc){var _0x2b430f=_0x2776ba;throw new Error(_0x2b430f(0x435));}['onRemoteAck'](){var _0x327355=_0x2776ba;throw new Error(_0x327355(0x34e));}['onRemoteRej'](){var _0x17f7d2=_0x2776ba;throw new Error(_0x17f7d2(0x350));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){return this;}[_0x2776ba(0x193)](){var _0x23ec8a=_0x2776ba;const {_injector:_0x398fa4,_pendingMutations:_0x2f3aff,_awaitingChangeset:_0x4d7277,unitID:_0x384446,_handler:_0x562dac,type:_0x4a2eea}=this,_0x24e366=Di(_0x398fa4,_0x384446,_0x4a2eea,_0x4d7277,_0x2f3aff,_0x562dac);return _0x24e366 instanceof oe?_0x24e366['_schedule']():(_0x24e366 instanceof ae||_0x24e366 instanceof ue)&&_0x24e366[_0x23ec8a(0x343)](),_0x24e366;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0xad32f2(_0x237237)),A(0x6,_0xad32f2(_0x19c318)),A(0x7,_0x36939e),A(0x8,_0x3d484f),A(0x9,_0x122f64(X))],fe);let te=class extends Re{constructor(_0x55a90f,_0x4b97c6,_0x2c7117,_0x48f4d7,_0x4859fe,_0x429a70,_0x276a2c,_0x18ed64,_0x49695d,_0x30c1b8,_0x51ab35,_0x4f7412,_0x4052cd,_0x2529ea){var _0x523634=_0x2776ba;super(_0x55a90f,_0x4b97c6,_0x2c7117,_0x48f4d7,_0x276a2c,_0x51ab35,_0x4f7412,_0x49695d,_0x2529ea),N(this,_0x523634(0x450),_0x523634(0x473)),(this['_acknowledgedAwaitingChangeset']=_0x4859fe,this['_queuedRemoteChangesets']=_0x429a70,this['_injector']=_0x18ed64,this[_0x523634(0x1d7)]=_0x30c1b8,this['_transformService']=_0x4052cd,this[_0x523634(0x259)]=_0x2529ea);}[_0x2776ba(0x262)](_0x1a33cc){var _0x17f61c=_0x2776ba;try{const _0x22dc05=[..._0x1a33cc,...this[_0x17f61c(0x447)]],_0xbe82a3=[this[_0x17f61c(0x17e)]||this[_0x17f61c(0x2fa)]]['filter'](_0x5db687=>!!_0x5db687);let _0x2f1f79,_0x522aef;if(_0xbe82a3[_0x17f61c(0x2a6)]){const _0x45f9b6=this[_0x17f61c(0x203)][_0x17f61c(0x428)](_0x22dc05,_0xbe82a3,!0x1);if(!_0x585f59(_0x45f9b6))throw _0x45f9b6['error'];_0x2f1f79=_0x45f9b6[_0x17f61c(0x43f)],_0x522aef=_0x45f9b6[_0x17f61c(0x2bd)];}else _0x2f1f79=_0x22dc05,_0x522aef=[];let _0x4ddf94=this['_pendingMutations'];_0x2f1f79[_0x17f61c(0x294)](_0x230003=>{var _0x1be0e3=_0x17f61c;let _0x7b8daf;if(_0x4ddf94['length']){const _0xacc8bd=this[_0x1be0e3(0x203)]['transformMutationsWithChangeset'](_0x230003,_0x4ddf94);if(!_0x348bf3(_0xacc8bd))throw _0xacc8bd[_0x1be0e3(0x341)];_0x7b8daf=_0xacc8bd['c1Prime'],_0x4ddf94=_0xacc8bd['m2Prime'];}else _0x7b8daf=_0x230003;this['_executeRemoteChangeset'](_0x7b8daf);}),this[_0x17f61c(0x2fa)]&&this[_0x17f61c(0x352)](),this[_0x17f61c(0x17e)]&&_0x522aef[_0x17f61c(0x2a6)]&&(_0x522aef[0x0][_0x17f61c(0x18d)]=this['_getCurrentRevision']());let _0xa58e7e;if(this[_0x17f61c(0x17e)]&&_0x4ddf94[_0x17f61c(0x2a6)]!==0x0)_0xa58e7e=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](ae,this[_0x17f61c(0x3ed)],this['type'],_0x522aef[0x0],_0x4ddf94,this[_0x17f61c(0x3fe)],void 0x0);else{if(this[_0x17f61c(0x17e)]&&_0x4ddf94['length']===0x0)_0x522aef[0x0][_0x17f61c(0x18d)]=this[_0x17f61c(0x44e)](),_0xa58e7e=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](ue,this[_0x17f61c(0x3ed)],this['type'],_0x522aef[0x0],this[_0x17f61c(0x3fe)]);else{if(_0x4ddf94[_0x17f61c(0x2a6)]!==0x0){const _0x2526d4=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](oe,this['unitID'],this['type'],_0x4ddf94,this[_0x17f61c(0x3fe)]);_0x2526d4[_0x17f61c(0x453)](),_0xa58e7e=_0x2526d4;}else _0xa58e7e=this['_injector'][_0x17f61c(0x346)](Ne,this['unitID'],this['type'],this[_0x17f61c(0x3fe)]);}}return _0xa58e7e[_0x17f61c(0x2ee)](),_0xa58e7e;}catch(_0x8d2923){return this[_0x17f61c(0x1d7)][_0x17f61c(0x341)]('[FetchMissState]',_0x17f61c(0x2fd),_0x8d2923),this[_0x17f61c(0x38a)][_0x17f61c(0x346)](de,this[_0x17f61c(0x3ed)],this[_0x17f61c(0x33a)],this[_0x17f61c(0x17e)],this['_pendingMutations'],this[_0x17f61c(0x3fe)],!0x1);}}[_0x2776ba(0x343)](){var _0x13f38c=_0x2776ba;throw new Error(_0x13f38c(0x359));}[_0x2776ba(0x43c)](_0x1e6f5f){return this['_pendingMutations']['push'](_0x1e6f5f),this;}['onRemoteChangeset'](_0x33d750){var _0xbc54a4=_0x2776ba;return this[_0xbc54a4(0x447)]['push'](_0x33d750),this;}[_0x2776ba(0x32b)](_0x52200a){var _0x2b3d89=_0x2776ba;if(this[_0x2b3d89(0x17e)])return this['_acknowledgedAwaitingChangeset']=this[_0x2b3d89(0x17e)],this[_0x2b3d89(0x17e)]=null,this;throw new Error(_0x2b3d89(0x37a));}['onRemoteRej'](_0x34f608){var _0x40f99a=_0x2776ba;return this['_onConflict'](!!(_0x34f608!=null&&_0x34f608[_0x40f99a(0x251)]));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){var _0xee74b2=_0x2776ba;return this['_injector'][_0xee74b2(0x346)](fe,this[_0xee74b2(0x3ed)],this[_0xee74b2(0x33a)],this[_0xee74b2(0x17e)],this['_pendingMutations'],this[_0xee74b2(0x3fe)]);}['toggleOnline'](){return this;}[_0x2776ba(0x458)](_0x42e4d9){var _0x59e106=_0x2776ba;return this[_0x59e106(0x38a)][_0x59e106(0x346)](de,this[_0x59e106(0x3ed)],this[_0x59e106(0x33a)],this[_0x59e106(0x17e)],this[_0x59e106(0x2dd)],this[_0x59e106(0x3fe)],_0x42e4d9);}};te=be([A(0x7,_0xad32f2(_0x237237)),A(0x8,_0xad32f2(_0x19c318)),A(0x9,_0x3b0698),A(0xa,_0x36939e),A(0xb,_0x3d484f),A(0xc,_0x5c7c3f),A(0xd,_0x122f64(X))],te);function Di(_0x2bc60f,_0x59f2dd,_0x19b4d5,_0x41830b,_0x56ef7d,_0x398642){var _0x1e7170=_0x2776ba;return _0x41830b&&_0x56ef7d[_0x1e7170(0x2a6)]?_0x2bc60f[_0x1e7170(0x346)](ae,_0x59f2dd,_0x19b4d5,_0x41830b,_0x56ef7d,_0x398642,void 0x0):_0x41830b?_0x2bc60f[_0x1e7170(0x346)](ue,_0x59f2dd,_0x19b4d5,_0x41830b,_0x398642):_0x56ef7d['length']?_0x2bc60f[_0x1e7170(0x346)](oe,_0x59f2dd,_0x19b4d5,_0x56ef7d,_0x398642):_0x2bc60f['createInstance'](Ne,_0x59f2dd,_0x19b4d5,_0x398642);}var bs=Object[_0x2776ba(0x282)],Rs=Object[_0x2776ba(0x236)],Mt=(_0x3994b0,_0xac2e21,_0x1ae541,_0x5b0cbf)=>{var _0x4140fc=_0x2776ba;for(var _0x37b300=_0x5b0cbf>0x1?void 0x0:_0x5b0cbf?Rs(_0xac2e21,_0x1ae541):_0xac2e21,_0x107b36=_0x3994b0[_0x4140fc(0x2a6)]-0x1,_0x50d012;_0x107b36>=0x0;_0x107b36--)(_0x50d012=_0x3994b0[_0x107b36])&&(_0x37b300=(_0x5b0cbf?_0x50d012(_0xac2e21,_0x1ae541,_0x37b300):_0x50d012(_0x37b300))||_0x37b300);return _0x5b0cbf&&_0x37b300&&bs(_0xac2e21,_0x1ae541,_0x37b300),_0x37b300;},k=(_0x1b16f4,_0x53b4ef)=>(_0x34b927,_0x48b3f0)=>_0x53b4ef(_0x34b927,_0x48b3f0,_0x1b16f4);let st=class extends _0x3fbf91{constructor(_0x144ee4,_0x498602,_0x168a5b,_0x2517fa,_0x354281,_0x4f08dc,_0x1f0078,_0x4496e8,_0x1f490b,_0x58abf8,_0x19fbb4,_0x47e7c6,_0x5af8c6){var _0x117b51=_0x2776ba;super(),N(this,_0x117b51(0x424),new _0x5f0741(null)),N(this,_0x117b51(0x397),this[_0x117b51(0x424)]['asObservable']()),N(this,_0x117b51(0x263)),N(this,'_collaborationPaused',!0x1),N(this,_0x117b51(0x40b),''),N(this,_0x117b51(0x197),0x0),N(this,_0x117b51(0x31e),this[_0x117b51(0x397)][_0x117b51(0x419)](_0x4c876c(_0x471632=>_0x471632?_0x471632[_0x117b51(0x450)]:Pi['OFFLINE']),_0x1a46f2(0x1))),N(this,_0x117b51(0x3cf),!0x1),N(this,_0x117b51(0x377),[]),(this[_0x117b51(0x3ed)]=_0x144ee4,this[_0x117b51(0x2ac)]=_0x498602,this[_0x117b51(0x1a0)]=_0x168a5b,this[_0x117b51(0x38a)]=_0x2517fa,this[_0x117b51(0x3d9)]=_0x354281,this[_0x117b51(0x1f9)]=_0x4f08dc,this['_revisionService']=_0x1f0078,this[_0x117b51(0x265)]=_0x4496e8,this['_logService']=_0x1f490b,this[_0x117b51(0x2b4)]=_0x58abf8,this[_0x117b51(0x2f6)]=_0x19fbb4,this[_0x117b51(0x2e4)]=_0x47e7c6,this['_localCacheService']=_0x5af8c6);}get[_0x2776ba(0x2db)](){return this['_state'];}async[_0x2776ba(0x1c1)](){var _0xd722ea=_0x2776ba;if(this[_0xd722ea(0x2db)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0xe3522b(()=>{var _0xbddf3e=_0x533f;this[_0xbddf3e(0x476)]=!0x1,this[_0xbddf3e(0x1e2)]();});}[_0x2776ba(0x2a4)](_0x21d831){var _0x4eb815=_0x2776ba;this[_0x4eb815(0x1f0)](_0x21d831);}['_updateState'](_0x4ef36e){var _0x41e674=_0x2776ba;this['_state']=_0x4ef36e,this[_0x41e674(0x424)]['next'](_0x4ef36e);}async[_0x2776ba(0x281)](){var _0x582d38=_0x2776ba,_0x50cf62;this[_0x582d38(0x373)](await this[_0x582d38(0x3f7)]()),this[_0x582d38(0x2e4)]&&((_0x50cf62=this[_0x582d38(0x2e4)])==null||_0x50cf62[_0x582d38(0x3e4)](this[_0x582d38(0x3ed)]),this[_0x582d38(0x22e)](this['_singleActiveUnitService'][_0x582d38(0x1ab)](this[_0x582d38(0x3ed)])['subscribe'](_0x3b49cd=>{var _0x49a987=_0x582d38;this[_0x49a987(0x1d7)][_0x49a987(0x1be)](_0x49a987(0x43a),_0x49a987(0x255),_0x3b49cd),_0x3b49cd===yi[_0x49a987(0x291)]?(this[_0x49a987(0x265)][_0x49a987(0x1cc)]({'id':re[_0x49a987(0x430)]}),this[_0x49a987(0x2f6)][_0x49a987(0x3ad)](new _0x1f9850(this[_0x49a987(0x3ed)])['id'],!0x1),this[_0x49a987(0x2f6)][_0x49a987(0x342)](!0x1)):(this[_0x49a987(0x2f6)][_0x49a987(0x3ad)](new _0x1f9850(this['unitID'])['id'],!0x0),this['_permissionService'][_0x49a987(0x342)](!0x0));})));let _0x4d6554=!0x1;return this[_0x582d38(0x22e)](this[_0x582d38(0x2ac)][_0x582d38(0x2a1)][_0x582d38(0x20f)](_0x325f1f=>{var _0x4aff51=_0x582d38;_0x325f1f===Te[_0x4aff51(0x383)]?this[_0x4aff51(0x26a)](_0x4d6554):_0x325f1f===Te[_0x4aff51(0x39f)]&&(_0x4d6554=!0x0,this[_0x4aff51(0x272)]());})),this[_0x582d38(0x22e)](this[_0x582d38(0x2ac)]['event$'][_0x582d38(0x20f)](_0x235c13=>{var _0x30ad39=_0x582d38;try{switch(_0x235c13[_0x30ad39(0x299)]){case _0x46c53f[_0x30ad39(0x314)]:{this['_onRemoteChangeset'](_0x3f2bbf(_0x235c13[_0x30ad39(0x3b8)]));break;}case _0x46c53f[_0x30ad39(0x3c8)]:{this[_0x30ad39(0x402)](_0x235c13[_0x30ad39(0x3b8)]);break;}case _0x46c53f[_0x30ad39(0x277)]:{this[_0x30ad39(0x472)]();break;}case _0x46c53f[_0x30ad39(0x2d0)]:{this[_0x30ad39(0x3d3)](_0x235c13[_0x30ad39(0x3b8)]);break;}case _0x46c53f[_0x30ad39(0x1d2)]:{this[_0x30ad39(0x2c7)](_0x235c13['data'][_0x30ad39(0x36b)][_0x30ad39(0x25c)](_0x4f729c=>_0x3f2bbf(_0x4f729c)));break;}case _0x46c53f[_0x30ad39(0x274)]:{this[_0x30ad39(0x472)]({'isPermissionRej':!0x0});break;}case _0x46c53f['UNISCRIPT_RUN']:break;}}catch(_0x1511ad){throw console[_0x30ad39(0x341)](_0x30ad39(0x36a),_0x1511ad),_0x1511ad;}})),this[_0x582d38(0x263)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x2776ba(0x1d9)](){var _0x88c29d=_0x2776ba;if(this[_0x88c29d(0x3cf)])throw new Error(_0x88c29d(0x3a5));this[_0x88c29d(0x3cf)]=!0x0;}['_onLocalMutation'](_0x5b9741){var _0x285700=_0x2776ba;this[_0x285700(0x1d9)](),this['_updateState'](this['_state'][_0x285700(0x43c)](_0x5b9741)),this['_unlockTransition']();}[_0x2776ba(0x327)](_0x2f8ef4){var _0x2d2d2c=_0x2776ba;if(!(_0x2f8ef4[_0x2d2d2c(0x2a8)]<=this[_0x2d2d2c(0x2f2)][_0x2d2d2c(0x232)](this[_0x2d2d2c(0x3ed)]))){if(this[_0x2d2d2c(0x476)]){this[_0x2d2d2c(0x377)][_0x2d2d2c(0x306)](_0x2f8ef4);return;}this[_0x2d2d2c(0x1a9)](_0x2f8ef4);}}[_0x2776ba(0x1e2)](){var _0x5d13b3=_0x2776ba;this['_remoteChangesetQueue']['forEach'](_0x46bdbe=>this[_0x5d13b3(0x1a9)](_0x46bdbe)),this[_0x5d13b3(0x377)]=[];}['_applyRemoteChangeset'](_0x39fc5f){var _0x53cd33=_0x2776ba;const _0x591020=this[_0x53cd33(0x3d9)][_0x53cd33(0x202)][_0x53cd33(0x39d)](this[_0x53cd33(0x3d9)]['interceptor'][_0x53cd33(0x3ce)]()[_0x53cd33(0x194)])(_0x39fc5f[_0x53cd33(0x273)],null)||_0x39fc5f[_0x53cd33(0x273)],_0x2c34c2={..._0x39fc5f,'mutations':_0x591020};this['_lockTransition'](),this['_updateState'](this[_0x53cd33(0x263)][_0x53cd33(0x1c9)](_0x2c34c2)),this['_unlockTransition']();}[_0x2776ba(0x402)](_0x1d3d5f){var _0x54ecf2=_0x2776ba;this[_0x54ecf2(0x1d9)](),this['_updateState'](this['_state'][_0x54ecf2(0x32b)](_0x1d3d5f)),this[_0x54ecf2(0x31f)]();}['_onRemoteRejected'](_0x79bfb3){var _0xfe0ad0=_0x2776ba;this[_0xfe0ad0(0x1d9)](),this[_0xfe0ad0(0x373)](this['_state']['onRemoteRej'](_0x79bfb3)),this[_0xfe0ad0(0x31f)]();}[_0x2776ba(0x3d3)](_0x41c4e3){var _0x383383=_0x2776ba;this['_lockTransition'](),this[_0x383383(0x373)](this[_0x383383(0x263)][_0x383383(0x3a6)](_0x41c4e3)),this[_0x383383(0x31f)]();}[_0x2776ba(0x2c7)](_0x43ad52){var _0x52dcb5=_0x2776ba;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3a17de=_0x43ad52['map'](_0x3a1a95=>{var _0x6aebd0=_0x533f;const _0x1ed590=this['_compressMutationService']['interceptor'][_0x6aebd0(0x39d)](this['_compressMutationService'][_0x6aebd0(0x202)][_0x6aebd0(0x3ce)]()[_0x6aebd0(0x194)])(_0x3a1a95['mutations'],null)||_0x3a1a95[_0x6aebd0(0x273)];return{..._0x3a1a95,'mutations':_0x1ed590};});this[_0x52dcb5(0x1d9)](),this[_0x52dcb5(0x373)](this[_0x52dcb5(0x263)]['onMissedChangesetFetched'](_0x3a17de)),this[_0x52dcb5(0x31f)]();}['_toggleOffline'](){var _0x48847c=_0x2776ba;this[_0x48847c(0x1d9)](),this[_0x48847c(0x373)](this[_0x48847c(0x263)][_0x48847c(0x1e6)]()),this[_0x48847c(0x31f)]();}[_0x2776ba(0x26a)](_0x3cd66a=!0x1){var _0x2e9bf5=_0x2776ba;this[_0x2e9bf5(0x1d9)](),this[_0x2e9bf5(0x373)](this[_0x2e9bf5(0x263)][_0x2e9bf5(0x193)]()),this[_0x2e9bf5(0x31f)]();const _0x30dcab=this['_state'];_0x3cd66a&&_0x30dcab instanceof Ne&&(this['_lockTransition'](),this[_0x2e9bf5(0x373)](_0x30dcab[_0x2e9bf5(0x421)]()),this[_0x2e9bf5(0x31f)]());}async[_0x2776ba(0x3f7)](){return new Promise(_0x51a5e0=>{var _0x55d65c=_0x533f;this['session'][_0x55d65c(0x2a1)][_0x55d65c(0x419)](_0x51019b(0x1))[_0x55d65c(0x20f)](async _0x9e908a=>{var _0x3f6894=_0x55d65c;_0x51a5e0(await this['_createInitialStateImpl'](_0x9e908a===Te[_0x3f6894(0x383)]));});});}['_createHandler'](){var _0x3389ae=_0x2776ba;const _0x2aeab8=this[_0x3389ae(0x3ed)];return{'onStateChange':(_0x39ed90,_0xf8ef2a)=>{var _0x5f8671=_0x3389ae;if(_0x39ed90!==this['_state'])throw new Error(_0x5f8671(0x2df)+_0x39ed90['status']+'\x0aAfter:\x20'+_0xf8ef2a[_0x5f8671(0x450)]+_0x5f8671(0x2fe)+this['_state'][_0x5f8671(0x450)]);this['_updateState'](_0xf8ef2a);},'onSendChangeset':_0x38d2ba=>{var _0x5a3dfc=_0x3389ae;_0x38d2ba[_0x5a3dfc(0x38f)]||(_0x38d2ba[_0x5a3dfc(0x38f)]=this[_0x5a3dfc(0x40b)],_0x38d2ba[_0x5a3dfc(0x38e)]=++this['_changesetReqId']);const _0x4d38ec={'eventID':_0x46c53f['SUBMIT_CHANGESET'],'data':{'unitID':_0x38d2ba[_0x5a3dfc(0x3ed)],'unitType':this[_0x5a3dfc(0x1a0)],'changeset':_0x38d2ba,'memberID':this[_0x5a3dfc(0x2ac)]['getMemberID']()}};this['session'][_0x5a3dfc(0x2bf)](_0x4d38ec,this['unitID']);},'onMissingChangesets':({from:_0x2a5be6,to:_0x33aaa0})=>{var _0x4760a3=_0x3389ae;this[_0x4760a3(0x1d7)][_0x4760a3(0x1be)](_0x4760a3(0x43a),_0x4760a3(0x440)+_0x2a5be6+_0x4760a3(0x409)+_0x33aaa0);const _0x34f60d={'eventID':_0x46c53f[_0x4760a3(0x349)],'data':{'unitID':_0x2aeab8,'unitType':this[_0x4760a3(0x1a0)],'from':_0x2a5be6,'to':_0x33aaa0}};this[_0x4760a3(0x2ac)]['send'](_0x34f60d,this[_0x4760a3(0x3ed)]);}};}async[_0x2776ba(0x3b7)](_0x555859){var _0x438671=_0x2776ba,_0xcc5bcd,_0x5d3554,_0xa390af;const _0x4f8e8c=await((_0xcc5bcd=this['_localCacheService'])==null?void 0x0:_0xcc5bcd[_0x438671(0x1bb)](this['unitID'])),_0x4789c6=(_0x5d3554=_0x4f8e8c==null?void 0x0:_0x4f8e8c[_0x438671(0x273)])!=null?_0x5d3554:[],_0x5d2d5b=(_0xa390af=_0x4f8e8c==null?void 0x0:_0x4f8e8c[_0x438671(0x3d6)])!=null?_0xa390af:null,_0x4fe7ea=!!(_0x5d2d5b!=null&&_0x5d2d5b['sid'])&&!!(_0x5d2d5b!=null&&_0x5d2d5b[_0x438671(0x38e)]);this['_changesetSessionId']=_0x4fe7ea?_0x5d2d5b[_0x438671(0x38f)]:fs(),this[_0x438671(0x197)]=_0x4fe7ea?_0x5d2d5b[_0x438671(0x38e)]:0x0;const _0xabc23=this['unitID'];try{this[_0x438671(0x2ab)](_0x5d2d5b,_0x4789c6);}catch(_0x11c224){this[_0x438671(0x1d7)]['error'](_0x11c224);}const _0x57fb59=this[_0x438671(0x45a)]();if(_0x555859){const _0x56f224=Di(this[_0x438671(0x38a)],_0xabc23,this[_0x438671(0x1a0)],_0x5d2d5b,_0x4789c6,_0x57fb59);return _0x56f224 instanceof oe?_0x56f224[_0x438671(0x453)]():(_0x56f224 instanceof ae||_0x56f224 instanceof ue)&&_0x56f224[_0x438671(0x343)](),_0x56f224;}return this['_injector']['createInstance'](fe,_0xabc23,this['_type'],_0x5d2d5b,_0x4789c6,_0x57fb59);}[_0x2776ba(0x2ab)](_0x473bc3,_0x6059f9){var _0x38a0ce=_0x2776ba,_0x4c1f79,_0x4b096a;const _0xcf8a30=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x38a0ce(0x3d9)][_0x38a0ce(0x202)][_0x38a0ce(0x3ce)]()[_0x38a0ce(0x194)]);(_0x4c1f79=_0xcf8a30((_0x473bc3==null?void 0x0:_0x473bc3['mutations'])||[],null))==null||_0x4c1f79[_0x38a0ce(0x294)](_0x4e1bbc=>this[_0x38a0ce(0x2b4)][_0x38a0ce(0x2ba)](_0x4e1bbc['id'],_0x4e1bbc[_0x38a0ce(0x332)])),(_0x4b096a=_0xcf8a30(_0x6059f9||[],null))==null||_0x4b096a[_0x38a0ce(0x294)](_0x5a2ade=>this['_commandService']['executeCommand'](_0x5a2ade['id'],_0x5a2ade[_0x38a0ce(0x332)]));}};st=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(pe)),k(0x8,_0x3b0698),k(0x9,_0x36939e),k(0xa,_0x39f738),k(0xb,_0x122f64(_t)),k(0xc,_0x122f64(X))],st);let Ct=class extends st{constructor(_0x4aa5a8,_0x321f8b,_0x233c27,_0x46b03b,_0x2ba137,_0x95f969,_0x39c9c0,_0x1f5ba9,_0x572a90,_0x1c48f5,_0x1bf7b5,_0x4daf1c,_0x189117){var _0x48dc5b=_0x2776ba;super(_0x4aa5a8,_0x233c27,_0x321f8b,_0x46b03b,_0x2ba137,_0x95f969,_0x39c9c0,_0x1f5ba9,_0x572a90,_0x1c48f5,_0x1bf7b5,_0x4daf1c,_0x189117),N(this,_0x48dc5b(0x26c),null),(this[_0x48dc5b(0x3ed)]=_0x4aa5a8,this[_0x48dc5b(0x33a)]=_0x321f8b);}[_0x2776ba(0x368)](_0x274619){var _0x50465a=_0x2776ba;this[_0x50465a(0x26c)]=_0x274619;}[_0x2776ba(0x28f)](){var _0x41b9b5=_0x2776ba;this[_0x41b9b5(0x26c)]=null,super['dispose']();}[_0x2776ba(0x45a)](){var _0x12c117=_0x2776ba;const _0x547078=super[_0x12c117(0x45a)]();return _0x547078[_0x12c117(0x32e)]=_0x11d4da=>{var _0x2085b7=_0x12c117,_0x150373,_0x3bb965;return(_0x3bb965=(_0x150373=this[_0x2085b7(0x26c)])==null?void 0x0:_0x150373['onTransformIME'])==null?void 0x0:_0x3bb965[_0x2085b7(0x3ae)](_0x150373,_0x11d4da);},_0x547078[_0x12c117(0x360)]=_0x5afc4a=>{var _0x3db1ed=_0x12c117,_0x56fa34,_0x470da6;return(_0x470da6=(_0x56fa34=this[_0x3db1ed(0x26c)])==null?void 0x0:_0x56fa34[_0x3db1ed(0x360)])==null?void 0x0:_0x470da6[_0x3db1ed(0x3ae)](_0x56fa34,_0x5afc4a);},_0x547078['onTransformSelections']=_0x1856c6=>{var _0x378963=_0x12c117,_0x257ca4,_0x5ca42d;return(_0x5ca42d=(_0x257ca4=this[_0x378963(0x26c)])==null?void 0x0:_0x257ca4['onTransformSelections'])==null?void 0x0:_0x5ca42d[_0x378963(0x3ae)](_0x257ca4,_0x1856c6);},_0x547078['onSyncEditingCollabCursor']=_0x1d471c=>{var _0x1b3062=_0x12c117,_0x25de37,_0x190afb;return(_0x190afb=(_0x25de37=this[_0x1b3062(0x26c)])==null?void 0x0:_0x25de37[_0x1b3062(0x2d4)])==null?void 0x0:_0x190afb[_0x1b3062(0x3ae)](_0x25de37,_0x1d471c);},_0x547078[_0x12c117(0x1db)]=_0x5c9fc9=>{var _0x45c24c=_0x12c117,_0x286468,_0x4843ab,_0x3ed1ac;if(!((_0x286468=this['_handlerCallback'])!=null&&_0x286468['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3ed1ac=(_0x4843ab=this['_handlerCallback'])==null?void 0x0:_0x4843ab['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3ed1ac[_0x45c24c(0x3ae)](_0x4843ab,_0x5c9fc9);},_0x547078[_0x12c117(0x387)]=_0x15556f=>{var _0x593029=_0x12c117,_0x1600a8,_0xcfd9f0,_0x145090;if(!((_0x1600a8=this[_0x593029(0x26c)])!=null&&_0x1600a8['onTransformRemoteChangesetByStateCache']))throw new Error(_0x593029(0x221));return(_0x145090=(_0xcfd9f0=this[_0x593029(0x26c)])==null?void 0x0:_0xcfd9f0[_0x593029(0x387)])==null?void 0x0:_0x145090[_0x593029(0x3ae)](_0xcfd9f0,_0x15556f);},_0x547078;}async['_init'](){var _0x9ab70b=_0x2776ba;const _0x854735=await super[_0x9ab70b(0x281)]();return this[_0x9ab70b(0x22e)](this[_0x9ab70b(0x2b4)][_0x9ab70b(0x200)]((_0x534041,_0x4aec47)=>{var _0x525191=_0x9ab70b;if(_0x534041['type']!==_0x5f58ab['MUTATION']||_0x4aec47!=null&&_0x4aec47[_0x525191(0x369)]||_0x4aec47!=null&&_0x4aec47[_0x525191(0x30e)]||_0x534041['id']===_0x5bed94['id'])return;const _0x4c5527=_0x534041[_0x525191(0x332)];if((_0x4c5527==null?void 0x0:_0x4c5527[_0x525191(0x246)])!==this[_0x525191(0x3ed)])return;const _0x47c877=_0x534041,_0x807ff2=this[_0x525191(0x3d9)]['interceptor'][_0x525191(0x39d)](this['_compressMutationService'][_0x525191(0x202)][_0x525191(0x3ce)]()[_0x525191(0x40e)])([_0x47c877],null)||[_0x47c877];this['_onLocalMutation'](_0x807ff2[0x0]);})),_0x854735;}};Ct=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(pe)),k(0x8,_0x3b0698),k(0x9,_0x36939e),k(0xa,_0x39f738),k(0xb,_0x122f64(_t)),k(0xc,_0x122f64(X))],Ct);let bt=class extends st{constructor(_0x26222d,_0x4846ee,_0x257627,_0x299849,_0x492dad,_0x2d1b2d,_0x1ba34f,_0x4204f9,_0x3d5ce4,_0x313e4a,_0x2a4aee,_0x3de1fa,_0x444b79,_0x2d9cac){var _0xe40f6=_0x2776ba;super(_0x26222d,_0x257627,_0x4846ee,_0x299849,_0x492dad,_0x2d1b2d,_0x1ba34f,_0x3d5ce4,_0x313e4a,_0x2a4aee,_0x3de1fa,_0x444b79,_0x2d9cac),this[_0xe40f6(0x3ed)]=_0x26222d,this[_0xe40f6(0x33a)]=_0x4846ee,this[_0xe40f6(0x288)]=_0x4204f9;}['_createHandler'](){var _0x442e34=_0x2776ba;const _0x1a1dfa=super[_0x442e34(0x45a)]();return _0x1a1dfa[_0x442e34(0x20e)]=_0x39e1f9=>this['_sheetTransformSelectionsService']['transformSelections'](_0x39e1f9),_0x1a1dfa;}async[_0x2776ba(0x281)](){var _0x235486=_0x2776ba;const _0x1a2db5=await super[_0x235486(0x281)]();return this[_0x235486(0x22e)](this['_commandService'][_0x235486(0x200)]((_0x32a527,_0x118e3b)=>{var _0x3d96e8=_0x235486;if(_0x32a527[_0x3d96e8(0x33a)]!==_0x5f58ab[_0x3d96e8(0x188)]||_0x118e3b!=null&&_0x118e3b[_0x3d96e8(0x369)]||_0x118e3b!=null&&_0x118e3b[_0x3d96e8(0x30e)])return;const _0x2bf824=_0x32a527[_0x3d96e8(0x332)];if((_0x2bf824==null?void 0x0:_0x2bf824[_0x3d96e8(0x246)])!==this[_0x3d96e8(0x3ed)])return;const _0x51e82a=_0x32a527,_0x36b8aa=this[_0x3d96e8(0x3d9)][_0x3d96e8(0x202)][_0x3d96e8(0x39d)](this[_0x3d96e8(0x3d9)][_0x3d96e8(0x202)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x51e82a],null)||[_0x51e82a];this['_onLocalMutation'](_0x36b8aa[0x0]);})),_0x1a2db5;}};bt=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(nt)),k(0x8,_0xad32f2(pe)),k(0x9,_0x3b0698),k(0xa,_0x36939e),k(0xb,_0x39f738),k(0xc,_0x122f64(_t)),k(0xd,_0x122f64(X))],bt);var ys=Object['defineProperty'],Os=Object[_0x2776ba(0x236)],Ps=(_0x27690c,_0x1d94a7,_0x795f5,_0x186efc)=>{var _0x5119d7=_0x2776ba;for(var _0x528b82=_0x186efc>0x1?void 0x0:_0x186efc?Os(_0x1d94a7,_0x795f5):_0x1d94a7,_0x294c65=_0x27690c[_0x5119d7(0x2a6)]-0x1,_0x5323cf;_0x294c65>=0x0;_0x294c65--)(_0x5323cf=_0x27690c[_0x294c65])&&(_0x528b82=(_0x186efc?_0x5323cf(_0x1d94a7,_0x795f5,_0x528b82):_0x5323cf(_0x528b82))||_0x528b82);return _0x186efc&&_0x528b82&&ys(_0x1d94a7,_0x795f5,_0x528b82),_0x528b82;},vt=(_0x667207,_0x953d2f)=>(_0x2baa81,_0x19e53e)=>_0x953d2f(_0x2baa81,_0x19e53e,_0x667207);let rt=class extends _0x3fbf91{constructor(_0x382ef4,_0xe6f6da,_0x29ecc8){var _0x2a6334=_0x2776ba;super(),N(this,'_entities',new Map()),N(this,_0x2a6334(0x210),new _0x119eaf()),N(this,_0x2a6334(0x1c5),this[_0x2a6334(0x210)][_0x2a6334(0x340)]()),(this[_0x2a6334(0x38a)]=_0x382ef4,this['_collabSessionService']=_0xe6f6da,this[_0x2a6334(0x1b3)]=_0x29ecc8,this['_init']());}[_0x2776ba(0x28f)](){var _0x101b2e=_0x2776ba;super[_0x101b2e(0x28f)](),this[_0x101b2e(0x411)][_0x101b2e(0x294)](_0x3e1a24=>_0x3e1a24[_0x101b2e(0x28f)]()),this[_0x101b2e(0x411)][_0x101b2e(0x2c4)]();}['getCollabEntity'](_0x4c6af0){var _0x3a6d6b=_0x2776ba,_0x2eec46;return(_0x2eec46=this[_0x3a6d6b(0x411)][_0x3a6d6b(0x190)](_0x4c6af0))!=null?_0x2eec46:null;}[_0x2776ba(0x21c)](_0x3edd8f){var _0x1e5181=_0x2776ba;const _0x484a0d=this[_0x1e5181(0x28a)](_0x3edd8f);return _0x484a0d?_0x5dc709(_0x484a0d):this[_0x1e5181(0x210)][_0x1e5181(0x419)](_0x3994ac(_0x4af16e=>_0x4af16e['unitID']===_0x3edd8f));}[_0x2776ba(0x34f)](_0x5b6242){var _0x5d127d=_0x2776ba;return _0x35ec08(this[_0x5d127d(0x21c)](_0x5b6242)[_0x5d127d(0x419)](_0x554d4a(()=>{})));}[_0x2776ba(0x281)](){var _0x2b8193=_0x2776ba;this['_univerInstanceService'][_0x2b8193(0x30c)](_0x471c35['UNIVER_SHEET'])['pipe'](_0x16b361(this['dispose$']),_0x528e9b(0x10))['subscribe'](async _0x3dd11d=>{var _0x2510f7=_0x2b8193;const _0x5cb7fe=_0x3dd11d['getUnitId'](),_0x15b8cd=await this['_startCollaboration'](_0x5cb7fe,Q[_0x2510f7(0x40d)]);this[_0x2510f7(0x411)][_0x2510f7(0x189)](_0x5cb7fe,_0x15b8cd);}),this[_0x2b8193(0x1b3)][_0x2b8193(0x30c)](_0x471c35['UNIVER_DOC'])[_0x2b8193(0x419)](_0x16b361(this[_0x2b8193(0x1f2)]),_0x528e9b(0x10))[_0x2b8193(0x419)](_0x3994ac(_0x373b15=>!_0x373b15[_0x2b8193(0x3d2)]()[_0x2b8193(0x213)]('__')))['subscribe'](async _0xffc39e=>{var _0x5baad1=_0x2b8193;const _0x50c4f4=_0xffc39e[_0x5baad1(0x3d2)](),_0x571810=await this[_0x5baad1(0x17c)](_0x50c4f4,Q['UNIVER_DOC']);this[_0x5baad1(0x411)][_0x5baad1(0x189)](_0x50c4f4,_0x571810);}),_0x207695(this[_0x2b8193(0x1b3)][_0x2b8193(0x217)](_0x471c35[_0x2b8193(0x40d)]),this['_univerInstanceService'][_0x2b8193(0x217)](_0x471c35['UNIVER_DOC']))['pipe'](_0x16b361(this['dispose$']))[_0x2b8193(0x20f)](_0x8efda2=>{var _0x4097e8=_0x2b8193;const _0x260607=_0x8efda2[_0x4097e8(0x3d2)](),_0x4c3add=this['_entities'][_0x4097e8(0x190)](_0x260607);_0x4c3add&&(_0x4c3add[_0x4097e8(0x28f)](),this[_0x4097e8(0x411)][_0x4097e8(0x378)](_0x260607));});}async[_0x2776ba(0x17c)](_0x31ebd2,_0x14b66d){var _0xa7bd30=_0x2776ba;const _0x568281=await this[_0xa7bd30(0x470)][_0xa7bd30(0x43d)](_0x31ebd2),_0x3ab8cc=this[_0xa7bd30(0x38a)][_0xa7bd30(0x346)](this['_getCtorByUniverType'](_0x14b66d),_0x31ebd2,_0x14b66d,_0x568281);return await _0x3ab8cc[_0xa7bd30(0x1c1)](),this[_0xa7bd30(0x210)]['next'](_0x3ab8cc),_0x3ab8cc;}[_0x2776ba(0x418)](_0x17da4d){var _0x471dc3=_0x2776ba;switch(_0x17da4d){case Q[_0x471dc3(0x3f8)]:return Ct;case Q[_0x471dc3(0x40d)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x17da4d);}}};rt=Ps([vt(0x0,_0xad32f2(_0x237237)),vt(0x1,_0xad32f2(Le)),vt(0x2,_0x16c691)],rt);var Ns=Object[_0x2776ba(0x282)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x5d539a,_0x5c2ae3,_0x21efff,_0x395e3f)=>{var _0x21d7e3=_0x2776ba;for(var _0x2b3f5a=_0x395e3f>0x1?void 0x0:_0x395e3f?Ds(_0x5c2ae3,_0x21efff):_0x5c2ae3,_0x133468=_0x5d539a[_0x21d7e3(0x2a6)]-0x1,_0x2fbbd8;_0x133468>=0x0;_0x133468--)(_0x2fbbd8=_0x5d539a[_0x133468])&&(_0x2b3f5a=(_0x395e3f?_0x2fbbd8(_0x5c2ae3,_0x21efff,_0x2b3f5a):_0x2fbbd8(_0x2b3f5a))||_0x2b3f5a);return _0x395e3f&&_0x2b3f5a&&Ns(_0x5c2ae3,_0x21efff,_0x2b3f5a),_0x2b3f5a;},Xt=(_0x38e9f8,_0x3ba44a)=>(_0x364869,_0x30c547)=>_0x3ba44a(_0x364869,_0x30c547,_0x38e9f8);const Us=_0x2776ba(0x380),As='Univer';let Rt=class extends _0x35df0f{constructor(_0x1eaf67,_0x38480b){var _0x233523=_0x2776ba;super(),this[_0x233523(0x1b3)]=_0x1eaf67,this[_0x233523(0x45d)]=_0x38480b,this[_0x233523(0x281)]();}['_init'](){var _0x493bff=_0x2776ba;this[_0x493bff(0x22e)](this[_0x493bff(0x1b3)]['focused$'][_0x493bff(0x20f)](()=>{var _0x1595c7=_0x493bff,_0x1307ed;const _0x3c2ac8=this[_0x1595c7(0x1b3)]['getFocusedUnit']();let _0x203613=(_0x1307ed=this[_0x1595c7(0x45d)][_0x1595c7(0x27b)](Us))!=null?_0x1307ed:As;_0x3c2ac8 instanceof _0x4dafa2&&(_0x203613=_0x3c2ac8[_0x1595c7(0x3b3)]),document[_0x1595c7(0x379)]=_0x203613;}));}};Rt=ws([Xt(0x0,_0x16c691),Xt(0x1,_0x5aacb0)],Rt);var xs=Object[_0x2776ba(0x282)],Ls=Object[_0x2776ba(0x236)],Ms=(_0x2d9bd6,_0x3858c,_0xb547e9,_0x17eb42)=>{var _0x40b5fb=_0x2776ba;for(var _0x33c30a=_0x17eb42>0x1?void 0x0:_0x17eb42?Ls(_0x3858c,_0xb547e9):_0x3858c,_0x69c2b3=_0x2d9bd6[_0x40b5fb(0x2a6)]-0x1,_0x29b743;_0x69c2b3>=0x0;_0x69c2b3--)(_0x29b743=_0x2d9bd6[_0x69c2b3])&&(_0x33c30a=(_0x17eb42?_0x29b743(_0x3858c,_0xb547e9,_0x33c30a):_0x29b743(_0x33c30a))||_0x33c30a);return _0x17eb42&&_0x33c30a&&xs(_0x3858c,_0xb547e9,_0x33c30a),_0x33c30a;},pt=(_0x2649e8,_0x3450dc)=>(_0x5206c9,_0x4b7123)=>_0x3450dc(_0x5206c9,_0x4b7123,_0x2649e8);let ot=class{constructor(_0x54c17f,_0x264971,_0x385911){var _0x5988cb=_0x2776ba;this[_0x5988cb(0x45d)]=_0x54c17f,this[_0x5988cb(0x283)]=_0x264971,this[_0x5988cb(0x320)]=_0x385911,this[_0x5988cb(0x1c1)]();}[_0x2776ba(0x1c1)](){var _0x29a381=_0x2776ba;this[_0x29a381(0x283)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4c2038,_0x1eaa29)=>_0x1eaa29(_0x4c2038)['pipe'](_0x1e9a27(async _0x16b877=>{var _0x4c5bac=_0x29a381;const _0x4daff1=_0x16b877;if(_0x4daff1[_0x4c5bac(0x450)]===0x191){if(typeof window>'u')throw new Error(_0x4c5bac(0x338));if(window[_0x4c5bac(0x2f0)](this[_0x4c5bac(0x320)]['t'](_0x4c5bac(0x34d)))){const _0x19d55f=window[_0x4c5bac(0x443)](window[_0x4c5bac(0x18a)][_0x4c5bac(0x2ae)]);window['location'][_0x4c5bac(0x2ae)]=this['_getLoginPath']()+_0x4c5bac(0x322)+_0x19d55f;}}return _0x4daff1;}))});}[_0x2776ba(0x234)](){var _0x34af29=_0x2776ba,_0x2654fe,_0x641925;const _0x1c9979=this[_0x34af29(0x45d)][_0x34af29(0x27b)](Fn),_0x13f230=this[_0x34af29(0x45d)]['getConfig'](Y);return(_0x641925=(_0x2654fe=_0x13f230==null?void 0x0:_0x13f230[_0x34af29(0x438)])!=null?_0x2654fe:_0x1c9979)!=null?_0x641925:Vn;}};ot=Ms([pt(0x0,_0x5aacb0),pt(0x1,_0xad32f2(_0x3d73d7)),pt(0x2,_0xad32f2(_0x415ba6))],ot);var $s=Object[_0x2776ba(0x282)],Hs=Object[_0x2776ba(0x236)],ks=(_0x13d35d,_0x247871,_0x14f266,_0x1f3ec2)=>{for(var _0x5a6458=_0x1f3ec2>0x1?void 0x0:_0x1f3ec2?Hs(_0x247871,_0x14f266):_0x247871,_0x2321cc=_0x13d35d['length']-0x1,_0x3bae02;_0x2321cc>=0x0;_0x2321cc--)(_0x3bae02=_0x13d35d[_0x2321cc])&&(_0x5a6458=(_0x1f3ec2?_0x3bae02(_0x247871,_0x14f266,_0x5a6458):_0x3bae02(_0x5a6458))||_0x5a6458);return _0x1f3ec2&&_0x5a6458&&$s(_0x247871,_0x14f266,_0x5a6458),_0x5a6458;},Zt=(_0x4122fd,_0x23b901)=>(_0x143ea1,_0x2a237d)=>_0x23b901(_0x143ea1,_0x2a237d,_0x4122fd);const wi='AUTHZ_URL_KEY',js=_0x2776ba(0x22a);let yt=class extends _0x35df0f{constructor(_0xcb9d8e,_0x456073){var _0xd60a09=_0x2776ba;super(),this[_0xd60a09(0x242)]=_0xcb9d8e,this[_0xd60a09(0x45d)]=_0x456073,this[_0xd60a09(0x289)]();}[_0x2776ba(0x289)](){var _0x3f00a3=_0x2776ba;const _0x5e80a7=this;this[_0x3f00a3(0x22e)](this[_0x3f00a3(0x242)][_0x3f00a3(0x24c)]({'priority':0x3e7,'interceptor':_0x1d86e2({'isMatch'(_0x43ddca){var _0x1e98f3=_0x3f00a3,_0x6b9145;if(_0x43ddca['method']===_0x1e98f3(0x3bd)&&((_0x6b9145=_0x43ddca['requestParams'])!=null&&_0x6b9145['body'])){const {objectID:_0x7c806c,objectType:_0x30a19d}=_0x43ddca[_0x1e98f3(0x1f7)][_0x1e98f3(0x39b)]||{};if(!_0x7c806c||_0x30a19d===void 0x0)return!0x1;const _0x61f099=_0x5e80a7[_0x1e98f3(0x2c9)]()+'/'+_0x30a19d+_0x1e98f3(0x3ff)+_0x7c806c+_0x1e98f3(0x1aa);if(_0x43ddca['url']===_0x61f099)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51181a){var _0x2bbece=_0x3f00a3,_0x3c40ce;return(_0x3c40ce=_0x51181a['requestParams'])==null?void 0x0:_0x3c40ce[_0x2bbece(0x39b)];},'mergeParamsToRequest'(_0x42a870,_0x3fd533){var _0xc70211=_0x3f00a3;const _0x3658a8=_0x5e80a7[_0xc70211(0x2c9)]()+_0xc70211(0x414),_0x5c012e=_0x42a870[_0xc70211(0x26b)]((_0x97c8c6,_0x5be3c7)=>{var _0x3ae325=_0xc70211;const {unitID:_0x2b98ac,objectID:_0x7789d4,objectType:_0x1ba65e,actions:_0x52a679}=_0x5be3c7;return _0x97c8c6[_0x2b98ac]||(_0x97c8c6[_0x2b98ac]={}),_0x97c8c6[_0x2b98ac][_0x7789d4]||(_0x97c8c6[_0x2b98ac][_0x7789d4]={'objectID':_0x7789d4,'objectType':_0x1ba65e,'actions':[]}),_0x97c8c6[_0x2b98ac][_0x7789d4]['actions'][_0x3ae325(0x306)](..._0x52a679),_0x97c8c6;},{}),_0x41153a=[];for(const _0x2a71e8 in _0x5c012e)for(const _0x576fff in _0x5c012e[_0x2a71e8]){const {actions:_0x55a4c6,objectType:_0x5df5c3}=_0x5c012e[_0x2a71e8][_0x576fff],_0x364906=[...new Set(_0x55a4c6)];_0x41153a[_0xc70211(0x306)]({'unitID':_0x2a71e8,'objectID':_0x576fff,'objectType':_0x5df5c3,'actions':_0x364906});}return new _0x7a37fc(_0xc70211(0x3bd),_0x3658a8,{'headers':_0x3fd533[_0xc70211(0x356)],'withCredentials':_0x3fd533[_0xc70211(0x325)],'responseType':_0x3fd533[_0xc70211(0x2ef)],'body':{'requests':_0x41153a}});}},{'distributeResult'(_0x239179,_0x324e7e){var _0x5a0d6b=_0x3f00a3;const {objectActions:_0x57550a}=_0x239179;return _0x324e7e[_0x5a0d6b(0x25c)](_0x1b0d65=>{var _0x5d225b=_0x5a0d6b;const {unitID:_0xc55e48,objectID:_0x530032,actions:_0x446466}=_0x1b0d65,_0x19b7b8=_0x57550a['find'](_0x4b5113=>_0x4b5113[_0x5d225b(0x3ed)]===_0xc55e48&&_0x4b5113['objectID']===_0x530032),_0x28f892=_0x446466[_0x5d225b(0x25c)](_0x295ee1=>_0x19b7b8==null?void 0x0:_0x19b7b8[_0x5d225b(0x222)][_0x5d225b(0x337)](_0x32178e=>_0x32178e['action']===_0x295ee1))[_0x5d225b(0x432)](_0x3d2562=>!!_0x3d2562);return{'config':_0x1b0d65,'result':{'actions':_0x28f892,'error':_0x239179['error']}};});}})}));}[_0x2776ba(0x2c9)](){var _0xda63eb=_0x2776ba,_0x7b0b29,_0x590eb2;const _0x248129=this[_0xda63eb(0x45d)]['getConfig'](wi),_0x2f3e47=this[_0xda63eb(0x45d)][_0xda63eb(0x27b)](Y);return(_0x590eb2=(_0x7b0b29=_0x2f3e47==null?void 0x0:_0x2f3e47[_0xda63eb(0x33b)])!=null?_0x7b0b29:_0x248129)!=null?_0x590eb2:js;}async['create'](_0x2d991c){var _0x18cbb0=_0x2776ba;const _0x44e747=this['_getAPIPrefixPath']()+'/'+_0x2d991c[_0x18cbb0(0x225)]+_0x18cbb0(0x198);return(await this[_0x18cbb0(0x242)]['post'](_0x44e747,{'body':_0x2d991c}))[_0x18cbb0(0x39b)][_0x18cbb0(0x316)]||'';}async[_0x2776ba(0x275)](_0x24197d){var _0x13e7d2=_0x2776ba;const _0x8ed6f9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x13e7d2(0x242)][_0x13e7d2(0x30f)](_0x8ed6f9,{'body':_0x24197d}))[_0x13e7d2(0x39b)][_0x13e7d2(0x358)];}async[_0x2776ba(0x3cc)](_0x25b9ff){var _0x4f9c63=_0x2776ba;const _0x4b064b=this['_getAPIPrefixPath']()+'/'+_0x25b9ff[_0x4f9c63(0x225)]+_0x4f9c63(0x3ff)+_0x25b9ff[_0x4f9c63(0x316)];await this['_HTTPService'][_0x4f9c63(0x21a)](_0x4b064b,{'body':_0x25b9ff});}async[_0x2776ba(0x237)](_0x28fc52){var _0x286a0d=_0x2776ba;const _0x24f7d4=this[_0x286a0d(0x2c9)]()+'/'+_0x28fc52[_0x286a0d(0x225)]+_0x286a0d(0x3ff)+_0x28fc52[_0x286a0d(0x316)]+_0x286a0d(0x1aa);return(await this[_0x286a0d(0x242)][_0x286a0d(0x30f)](_0x24f7d4,{'body':_0x28fc52}))[_0x286a0d(0x39b)][_0x286a0d(0x222)];}async[_0x2776ba(0x287)](_0x353ad2){var _0x40d5d4=_0x2776ba;const _0x3aab74=this[_0x40d5d4(0x2c9)]()+'/-/object/-/batch_allowed';return(await this[_0x40d5d4(0x242)]['post'](_0x3aab74,{'body':{'requests':_0x353ad2}}))[_0x40d5d4(0x39b)]['objectActions'];}async['listRoles'](_0x45b175){var _0x2a1e27=_0x2776ba;const _0x1486bb=this[_0x2a1e27(0x2c9)]()+'/'+_0x45b175[_0x2a1e27(0x225)]+_0x2a1e27(0x285),_0x38f0cc=await this[_0x2a1e27(0x242)][_0x2a1e27(0x30f)](_0x1486bb,{'body':_0x45b175});return{'roles':_0x38f0cc[_0x2a1e27(0x39b)][_0x2a1e27(0x35b)],'actions':_0x38f0cc[_0x2a1e27(0x39b)][_0x2a1e27(0x222)]};}async['deleteCollaborator'](_0x2e04c6){var _0x26c195=_0x2776ba;const _0x45902c=this[_0x26c195(0x2c9)]()+_0x26c195(0x33d);await this['_HTTPService']['delete'](_0x45902c,{'params':{'collaboratorID':_0x2e04c6['collaboratorID'],'objectID':_0x2e04c6['objectID'],'unitID':_0x2e04c6[_0x26c195(0x3ed)]}});}async['updateCollaborator'](_0x5be6c6){var _0x2b5b89=_0x2776ba;const _0x31d8a3=this[_0x2b5b89(0x2c9)]()+'/collaborator';await this[_0x2b5b89(0x242)][_0x2b5b89(0x257)](_0x31d8a3,{'body':_0x5be6c6});}async['createCollaborator'](_0x57e937){var _0x42fc25=_0x2776ba;const _0xa8d08c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x42fc25(0x242)][_0x42fc25(0x30f)](_0xa8d08c,{'body':_0x57e937});}async[_0x2776ba(0x3d8)](_0x329f55){var _0x2ab846=_0x2776ba;const _0x5466d1=this['_getAPIPrefixPath']()+_0x2ab846(0x33d);return(await this[_0x2ab846(0x242)][_0x2ab846(0x190)](_0x5466d1,{'params':{'objectID':_0x329f55[_0x2ab846(0x316)],'unitID':_0x329f55['unitID']}}))[_0x2ab846(0x39b)]['collaborators'];}async[_0x2776ba(0x17a)](_0x230ab6){var _0x2e2a40=_0x2776ba;const _0x43cc42=this[_0x2e2a40(0x2c9)]()+_0x2e2a40(0x33d);await this[_0x2e2a40(0x242)][_0x2e2a40(0x21a)](_0x43cc42,{'body':_0x230ab6});}};yt=ks([Zt(0x0,_0xad32f2(_0x3d73d7)),Zt(0x1,_0xad32f2(_0x5aacb0))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x449d52){var _0x53e38f=_0x2776ba;return _0x449d52&&_0x449d52['__esModule']&&Object[_0x53e38f(0x29b)]['hasOwnProperty'][_0x53e38f(0x3ae)](_0x449d52,_0x53e38f(0x44c))?_0x449d52[_0x53e38f(0x44c)]:_0x449d52;}var We={'exports':{}};function Bs(_0x4e5f36){var _0x16d7a6=_0x2776ba;throw new Error(_0x16d7a6(0x3c3)+_0x4e5f36+_0x16d7a6(0x24f));}var Ge={'exports':{}},Fs=Ge[_0x2776ba(0x24b)],Qt;function ne(){var _0x166f28=_0x2776ba;return Qt||(Qt=0x1,function(_0x4282d4,_0x146f10){(function(_0x4652a1,_0x4462cd){var _0x5a7897=_0x533f;_0x4282d4[_0x5a7897(0x24b)]=_0x4462cd();}(Fs,function(){var _0x220769=_0x220769||function(_0x2fca44,_0x1aae2a){var _0x33a8fb=_0x533f,_0x48e662;if(typeof window<'u'&&window[_0x33a8fb(0x1b1)]&&(_0x48e662=window[_0x33a8fb(0x1b1)]),typeof self<'u'&&self['crypto']&&(_0x48e662=self[_0x33a8fb(0x1b1)]),typeof globalThis<'u'&&globalThis[_0x33a8fb(0x1b1)]&&(_0x48e662=globalThis[_0x33a8fb(0x1b1)]),!_0x48e662&&typeof window<'u'&&window[_0x33a8fb(0x2b3)]&&(_0x48e662=window[_0x33a8fb(0x2b3)]),!_0x48e662&&typeof mt<'u'&&mt[_0x33a8fb(0x1b1)]&&(_0x48e662=mt[_0x33a8fb(0x1b1)]),!_0x48e662&&typeof Bs==_0x33a8fb(0x35c))try{_0x48e662=require(_0x33a8fb(0x1b1));}catch{}var _0x3ba19c=function(){var _0x2e25ec=_0x33a8fb;if(_0x48e662){if(typeof _0x48e662['getRandomValues']=='function')try{return _0x48e662['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48e662[_0x2e25ec(0x3ec)]==_0x2e25ec(0x35c))try{return _0x48e662[_0x2e25ec(0x3ec)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2e25ec(0x2f5));},_0x47e468=Object[_0x33a8fb(0x268)]||(function(){function _0x242b94(){}return function(_0x2ae512){var _0x12999f=_0x533f,_0x5bd50c;return _0x242b94[_0x12999f(0x29b)]=_0x2ae512,_0x5bd50c=new _0x242b94(),_0x242b94[_0x12999f(0x29b)]=null,_0x5bd50c;};}()),_0x3d64e1={},_0x1b5bf6=_0x3d64e1[_0x33a8fb(0x2b6)]={},_0xcc7340=_0x1b5bf6[_0x33a8fb(0x279)]=(function(){return{'extend':function(_0x130876){var _0x28fdb5=_0x533f,_0x5e8c44=_0x47e468(this);return _0x130876&&_0x5e8c44['mixIn'](_0x130876),(!_0x5e8c44[_0x28fdb5(0x195)](_0x28fdb5(0x1c1))||this[_0x28fdb5(0x1c1)]===_0x5e8c44[_0x28fdb5(0x1c1)])&&(_0x5e8c44[_0x28fdb5(0x1c1)]=function(){var _0x4b2721=_0x28fdb5;_0x5e8c44[_0x4b2721(0x37c)]['init']['apply'](this,arguments);}),_0x5e8c44[_0x28fdb5(0x1c1)]['prototype']=_0x5e8c44,_0x5e8c44['$super']=this,_0x5e8c44;},'create':function(){var _0x218f5d=_0x533f,_0x23e9c9=this[_0x218f5d(0x1c4)]();return _0x23e9c9['init'][_0x218f5d(0x29a)](_0x23e9c9,arguments),_0x23e9c9;},'init':function(){},'mixIn':function(_0x435372){var _0x290c37=_0x533f;for(var _0x18a294 in _0x435372)_0x435372[_0x290c37(0x195)](_0x18a294)&&(this[_0x18a294]=_0x435372[_0x18a294]);_0x435372[_0x290c37(0x195)]('toString')&&(this[_0x290c37(0x39a)]=_0x435372[_0x290c37(0x39a)]);},'clone':function(){var _0xbe4a7d=_0x533f;return this[_0xbe4a7d(0x1c1)][_0xbe4a7d(0x29b)]['extend'](this);}};}()),_0x179599=_0x1b5bf6[_0x33a8fb(0x33e)]=_0xcc7340['extend']({'init':function(_0x7ab8,_0x57e363){var _0x5a58e9=_0x33a8fb;_0x7ab8=this['words']=_0x7ab8||[],_0x57e363!=_0x1aae2a?this[_0x5a58e9(0x2b9)]=_0x57e363:this['sigBytes']=_0x7ab8[_0x5a58e9(0x2a6)]*0x4;},'toString':function(_0x26d1f1){var _0x2c02c2=_0x33a8fb;return(_0x26d1f1||_0x2c5d19)[_0x2c02c2(0x231)](this);},'concat':function(_0x4b83d4){var _0x15e70c=_0x33a8fb,_0xc8e8c0=this[_0x15e70c(0x1c0)],_0x425bb0=_0x4b83d4['words'],_0x14f0a0=this[_0x15e70c(0x2b9)],_0x31f13e=_0x4b83d4[_0x15e70c(0x2b9)];if(this['clamp'](),_0x14f0a0%0x4)for(var _0x30382d=0x0;_0x30382d<_0x31f13e;_0x30382d++){var _0x370715=_0x425bb0[_0x30382d>>>0x2]>>>0x18-_0x30382d%0x4*0x8&0xff;_0xc8e8c0[_0x14f0a0+_0x30382d>>>0x2]|=_0x370715<<0x18-(_0x14f0a0+_0x30382d)%0x4*0x8;}else{for(var _0x5b2ea3=0x0;_0x5b2ea3<_0x31f13e;_0x5b2ea3+=0x4)_0xc8e8c0[_0x14f0a0+_0x5b2ea3>>>0x2]=_0x425bb0[_0x5b2ea3>>>0x2];}return this[_0x15e70c(0x2b9)]+=_0x31f13e,this;},'clamp':function(){var _0x45a74c=_0x33a8fb,_0x3e629f=this[_0x45a74c(0x1c0)],_0x4abd87=this[_0x45a74c(0x2b9)];_0x3e629f[_0x4abd87>>>0x2]&=0xffffffff<<0x20-_0x4abd87%0x4*0x8,_0x3e629f[_0x45a74c(0x2a6)]=_0x2fca44[_0x45a74c(0x2fc)](_0x4abd87/0x4);},'clone':function(){var _0x434d26=_0x33a8fb,_0x45dab7=_0xcc7340['clone'][_0x434d26(0x3ae)](this);return _0x45dab7[_0x434d26(0x1c0)]=this[_0x434d26(0x1c0)]['slice'](0x0),_0x45dab7;},'random':function(_0x989aed){var _0x4423e0=_0x33a8fb;for(var _0x305126=[],_0x2cd990=0x0;_0x2cd990<_0x989aed;_0x2cd990+=0x4)_0x305126[_0x4423e0(0x306)](_0x3ba19c());return new _0x179599[(_0x4423e0(0x1c1))](_0x305126,_0x989aed);}}),_0x363ce3=_0x3d64e1[_0x33a8fb(0x45c)]={},_0x2c5d19=_0x363ce3[_0x33a8fb(0x46e)]={'stringify':function(_0x27a2f4){var _0x48a9f3=_0x33a8fb;for(var _0x19a124=_0x27a2f4[_0x48a9f3(0x1c0)],_0x145ea8=_0x27a2f4['sigBytes'],_0x55d886=[],_0x2241dd=0x0;_0x2241dd<_0x145ea8;_0x2241dd++){var _0x1987a0=_0x19a124[_0x2241dd>>>0x2]>>>0x18-_0x2241dd%0x4*0x8&0xff;_0x55d886[_0x48a9f3(0x306)]((_0x1987a0>>>0x4)['toString'](0x10)),_0x55d886[_0x48a9f3(0x306)]((_0x1987a0&0xf)[_0x48a9f3(0x39a)](0x10));}return _0x55d886[_0x48a9f3(0x2e9)]('');},'parse':function(_0xbdb4bc){var _0x1e4d6d=_0x33a8fb;for(var _0x2e7fca=_0xbdb4bc[_0x1e4d6d(0x2a6)],_0x4b52d5=[],_0x3e2dcc=0x0;_0x3e2dcc<_0x2e7fca;_0x3e2dcc+=0x2)_0x4b52d5[_0x3e2dcc>>>0x3]|=parseInt(_0xbdb4bc[_0x1e4d6d(0x461)](_0x3e2dcc,0x2),0x10)<<0x18-_0x3e2dcc%0x8*0x4;return new _0x179599['init'](_0x4b52d5,_0x2e7fca/0x2);}},_0x4602ac=_0x363ce3[_0x33a8fb(0x40f)]={'stringify':function(_0x56a011){var _0x3eb809=_0x33a8fb;for(var _0xbcc92d=_0x56a011['words'],_0x4d7f86=_0x56a011[_0x3eb809(0x2b9)],_0x2da54c=[],_0x571bee=0x0;_0x571bee<_0x4d7f86;_0x571bee++){var _0x1e0398=_0xbcc92d[_0x571bee>>>0x2]>>>0x18-_0x571bee%0x4*0x8&0xff;_0x2da54c[_0x3eb809(0x306)](String['fromCharCode'](_0x1e0398));}return _0x2da54c[_0x3eb809(0x2e9)]('');},'parse':function(_0x35b902){var _0x315c95=_0x33a8fb;for(var _0x4eef32=_0x35b902[_0x315c95(0x2a6)],_0x25e43d=[],_0x4a2974=0x0;_0x4a2974<_0x4eef32;_0x4a2974++)_0x25e43d[_0x4a2974>>>0x2]|=(_0x35b902[_0x315c95(0x303)](_0x4a2974)&0xff)<<0x18-_0x4a2974%0x4*0x8;return new _0x179599[(_0x315c95(0x1c1))](_0x25e43d,_0x4eef32);}},_0x26854a=_0x363ce3[_0x33a8fb(0x1de)]={'stringify':function(_0x2262d7){var _0x4caaa0=_0x33a8fb;try{return decodeURIComponent(escape(_0x4602ac[_0x4caaa0(0x231)](_0x2262d7)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xf48dcf){return _0x4602ac['parse'](unescape(encodeURIComponent(_0xf48dcf)));}},_0x1a38d5=_0x1b5bf6['BufferedBlockAlgorithm']=_0xcc7340[_0x33a8fb(0x1c4)]({'reset':function(){var _0x283ec2=_0x33a8fb;this[_0x283ec2(0x2eb)]=new _0x179599['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x288100){var _0x433275=_0x33a8fb;typeof _0x288100==_0x433275(0x199)&&(_0x288100=_0x26854a[_0x433275(0x3b0)](_0x288100)),this[_0x433275(0x2eb)][_0x433275(0x2fb)](_0x288100),this[_0x433275(0x19f)]+=_0x288100[_0x433275(0x2b9)];},'_process':function(_0x334547){var _0x51edc2=_0x33a8fb,_0x934bb5,_0x3f49b5=this['_data'],_0xfc66bd=_0x3f49b5['words'],_0x31b44d=_0x3f49b5[_0x51edc2(0x2b9)],_0x489a7d=this['blockSize'],_0x29aa41=_0x489a7d*0x4,_0x363071=_0x31b44d/_0x29aa41;_0x334547?_0x363071=_0x2fca44['ceil'](_0x363071):_0x363071=_0x2fca44['max']((_0x363071|0x0)-this[_0x51edc2(0x355)],0x0);var _0x28971b=_0x363071*_0x489a7d,_0x473bdb=_0x2fca44['min'](_0x28971b*0x4,_0x31b44d);if(_0x28971b){for(var _0x131756=0x0;_0x131756<_0x28971b;_0x131756+=_0x489a7d)this[_0x51edc2(0x278)](_0xfc66bd,_0x131756);_0x934bb5=_0xfc66bd['splice'](0x0,_0x28971b),_0x3f49b5[_0x51edc2(0x2b9)]-=_0x473bdb;}return new _0x179599[(_0x51edc2(0x1c1))](_0x934bb5,_0x473bdb);},'clone':function(){var _0x39b89f=_0x33a8fb,_0xf8ef37=_0xcc7340[_0x39b89f(0x330)][_0x39b89f(0x3ae)](this);return _0xf8ef37[_0x39b89f(0x2eb)]=this['_data'][_0x39b89f(0x330)](),_0xf8ef37;},'_minBufferSize':0x0});_0x1b5bf6[_0x33a8fb(0x3e9)]=_0x1a38d5[_0x33a8fb(0x1c4)]({'cfg':_0xcc7340[_0x33a8fb(0x1c4)](),'init':function(_0x37d186){var _0x170bc7=_0x33a8fb;this[_0x170bc7(0x3a2)]=this['cfg'][_0x170bc7(0x1c4)](_0x37d186),this['reset']();},'reset':function(){var _0x552426=_0x33a8fb;_0x1a38d5[_0x552426(0x2c6)][_0x552426(0x3ae)](this),this[_0x552426(0x2d5)]();},'update':function(_0x40d6a2){var _0x3b57b9=_0x33a8fb;return this[_0x3b57b9(0x204)](_0x40d6a2),this[_0x3b57b9(0x24e)](),this;},'finalize':function(_0x427c91){var _0x2b51b6=_0x33a8fb;_0x427c91&&this[_0x2b51b6(0x204)](_0x427c91);var _0x3eb501=this['_doFinalize']();return _0x3eb501;},'blockSize':0x10,'_createHelper':function(_0x4b3df){return function(_0x3c49bf,_0x51f895){var _0x170011=_0x533f;return new _0x4b3df[(_0x170011(0x1c1))](_0x51f895)[_0x170011(0x215)](_0x3c49bf);};},'_createHmacHelper':function(_0x4b3afc){return function(_0x35f9ab,_0x5309e5){var _0x44291d=_0x533f;return new _0x48f4f4[(_0x44291d(0x2d3))][(_0x44291d(0x1c1))](_0x4b3afc,_0x5309e5)[_0x44291d(0x215)](_0x35f9ab);};}});var _0x48f4f4=_0x3d64e1['algo']={};return _0x3d64e1;}(Math);return _0x220769;}));}(Ge)),Ge[_0x166f28(0x24b)];}var Ke={'exports':{}},Vs=Ke[_0x2776ba(0x24b)],ei;function Ui(){var _0x40c90c=_0x2776ba;return ei||(ei=0x1,function(_0x17cd5a,_0x32fdc5){(function(_0x245b93,_0x22ac37){var _0x27fa44=_0x533f;_0x17cd5a[_0x27fa44(0x24b)]=_0x22ac37(ne());}(Vs,function(_0x3827b6){var _0x55f7ca=_0x533f;return(function(){var _0xf9f778=_0x533f,_0x31170e=_0x3827b6,_0xf15dfd=_0x31170e[_0xf9f778(0x2b6)],_0x11cb1e=_0xf15dfd[_0xf9f778(0x33e)],_0x408a07=_0x31170e[_0xf9f778(0x45c)];_0x408a07[_0xf9f778(0x226)]={'stringify':function(_0x3a2b47){var _0x231abb=_0xf9f778,_0x2ca017=_0x3a2b47[_0x231abb(0x1c0)],_0x2fb037=_0x3a2b47[_0x231abb(0x2b9)],_0x481709=this[_0x231abb(0x446)];_0x3a2b47['clamp']();for(var _0x36e010=[],_0xf9cb60=0x0;_0xf9cb60<_0x2fb037;_0xf9cb60+=0x3)for(var _0x128cae=_0x2ca017[_0xf9cb60>>>0x2]>>>0x18-_0xf9cb60%0x4*0x8&0xff,_0x206c86=_0x2ca017[_0xf9cb60+0x1>>>0x2]>>>0x18-(_0xf9cb60+0x1)%0x4*0x8&0xff,_0x1eec1e=_0x2ca017[_0xf9cb60+0x2>>>0x2]>>>0x18-(_0xf9cb60+0x2)%0x4*0x8&0xff,_0x1d9c3b=_0x128cae<<0x10|_0x206c86<<0x8|_0x1eec1e,_0x29e02a=0x0;_0x29e02a<0x4&&_0xf9cb60+_0x29e02a*0.75<_0x2fb037;_0x29e02a++)_0x36e010[_0x231abb(0x306)](_0x481709['charAt'](_0x1d9c3b>>>0x6*(0x3-_0x29e02a)&0x3f));var _0x31e71c=_0x481709[_0x231abb(0x46b)](0x40);if(_0x31e71c){for(;_0x36e010[_0x231abb(0x2a6)]%0x4;)_0x36e010[_0x231abb(0x306)](_0x31e71c);}return _0x36e010[_0x231abb(0x2e9)]('');},'parse':function(_0x7273d){var _0x134e6e=_0xf9f778,_0x32726f=_0x7273d[_0x134e6e(0x2a6)],_0x41e4cb=this[_0x134e6e(0x446)],_0x3bf9cf=this[_0x134e6e(0x336)];if(!_0x3bf9cf){_0x3bf9cf=this['_reverseMap']=[];for(var _0x3cc534=0x0;_0x3cc534<_0x41e4cb[_0x134e6e(0x2a6)];_0x3cc534++)_0x3bf9cf[_0x41e4cb[_0x134e6e(0x303)](_0x3cc534)]=_0x3cc534;}var _0x40280b=_0x41e4cb[_0x134e6e(0x46b)](0x40);if(_0x40280b){var _0x1fd18b=_0x7273d['indexOf'](_0x40280b);_0x1fd18b!==-0x1&&(_0x32726f=_0x1fd18b);}return _0x42d005(_0x7273d,_0x32726f,_0x3bf9cf);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x42d005(_0x429b48,_0xfadf83,_0x2b6754){var _0x4cbe15=_0xf9f778;for(var _0x216af0=[],_0x6c4678=0x0,_0x52269a=0x0;_0x52269a<_0xfadf83;_0x52269a++)if(_0x52269a%0x4){var _0x38e64b=_0x2b6754[_0x429b48['charCodeAt'](_0x52269a-0x1)]<<_0x52269a%0x4*0x2,_0x1d3aa6=_0x2b6754[_0x429b48['charCodeAt'](_0x52269a)]>>>0x6-_0x52269a%0x4*0x2,_0x4a71d5=_0x38e64b|_0x1d3aa6;_0x216af0[_0x6c4678>>>0x2]|=_0x4a71d5<<0x18-_0x6c4678%0x4*0x8,_0x6c4678++;}return _0x11cb1e[_0x4cbe15(0x268)](_0x216af0,_0x6c4678);}}()),_0x3827b6[_0x55f7ca(0x45c)][_0x55f7ca(0x226)];}));}(Ke)),Ke[_0x40c90c(0x24b)];}var ze={'exports':{}},Ws=ze[_0x2776ba(0x24b)],ti;function Gs(){var _0x489b8e=_0x2776ba;return ti||(ti=0x1,function(_0x1d6458,_0x3c1d2b){(function(_0x438941,_0x185009){_0x1d6458['exports']=_0x185009(ne());}(Ws,function(_0x149c06){var _0x2a8ee9=_0x533f;return function(_0x19b7e8){var _0x32f2fe=_0x533f,_0x2692f5=_0x149c06,_0x47f698=_0x2692f5[_0x32f2fe(0x2b6)],_0x6e9ccc=_0x47f698[_0x32f2fe(0x33e)],_0x5127e6=_0x47f698[_0x32f2fe(0x3e9)],_0x3f7bc3=_0x2692f5[_0x32f2fe(0x323)],_0x338a4e=[];(function(){for(var _0xc7be39=0x0;_0xc7be39<0x40;_0xc7be39++)_0x338a4e[_0xc7be39]=_0x19b7e8['abs'](_0x19b7e8['sin'](_0xc7be39+0x1))*0x100000000|0x0;}());var _0x19b4fc=_0x3f7bc3['MD5']=_0x5127e6['extend']({'_doReset':function(){var _0xd8b6f4=_0x32f2fe;this[_0xd8b6f4(0x29e)]=new _0x6e9ccc[(_0xd8b6f4(0x1c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ccefb,_0x1298c0){for(var _0x437d08=0x0;_0x437d08<0x10;_0x437d08++){var _0x2bdcb1=_0x1298c0+_0x437d08,_0x29fa0f=_0x3ccefb[_0x2bdcb1];_0x3ccefb[_0x2bdcb1]=(_0x29fa0f<<0x8|_0x29fa0f>>>0x18)&0xff00ff|(_0x29fa0f<<0x18|_0x29fa0f>>>0x8)&0xff00ff00;}var _0xd96bac=this['_hash']['words'],_0x27511f=_0x3ccefb[_0x1298c0+0x0],_0x8e59c8=_0x3ccefb[_0x1298c0+0x1],_0x533f85=_0x3ccefb[_0x1298c0+0x2],_0xa1eede=_0x3ccefb[_0x1298c0+0x3],_0x2181a2=_0x3ccefb[_0x1298c0+0x4],_0xb16454=_0x3ccefb[_0x1298c0+0x5],_0x33e9d0=_0x3ccefb[_0x1298c0+0x6],_0x6b2426=_0x3ccefb[_0x1298c0+0x7],_0xfaf487=_0x3ccefb[_0x1298c0+0x8],_0x50439d=_0x3ccefb[_0x1298c0+0x9],_0xb486da=_0x3ccefb[_0x1298c0+0xa],_0x3157b8=_0x3ccefb[_0x1298c0+0xb],_0xe74ce=_0x3ccefb[_0x1298c0+0xc],_0x383a5f=_0x3ccefb[_0x1298c0+0xd],_0x2d3230=_0x3ccefb[_0x1298c0+0xe],_0x2da15f=_0x3ccefb[_0x1298c0+0xf],_0x1b7135=_0xd96bac[0x0],_0x26d179=_0xd96bac[0x1],_0xc9c149=_0xd96bac[0x2],_0x5127a2=_0xd96bac[0x3];_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x27511f,0x7,_0x338a4e[0x0]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x8e59c8,0xc,_0x338a4e[0x1]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x533f85,0x11,_0x338a4e[0x2]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xa1eede,0x16,_0x338a4e[0x3]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x2181a2,0x7,_0x338a4e[0x4]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xb16454,0xc,_0x338a4e[0x5]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x33e9d0,0x11,_0x338a4e[0x6]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x6b2426,0x16,_0x338a4e[0x7]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xfaf487,0x7,_0x338a4e[0x8]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x50439d,0xc,_0x338a4e[0x9]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xb486da,0x11,_0x338a4e[0xa]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x3157b8,0x16,_0x338a4e[0xb]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xe74ce,0x7,_0x338a4e[0xc]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x383a5f,0xc,_0x338a4e[0xd]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2d3230,0x11,_0x338a4e[0xe]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2da15f,0x16,_0x338a4e[0xf]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x8e59c8,0x5,_0x338a4e[0x10]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x33e9d0,0x9,_0x338a4e[0x11]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x3157b8,0xe,_0x338a4e[0x12]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x27511f,0x14,_0x338a4e[0x13]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xb16454,0x5,_0x338a4e[0x14]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xb486da,0x9,_0x338a4e[0x15]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2da15f,0xe,_0x338a4e[0x16]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2181a2,0x14,_0x338a4e[0x17]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x50439d,0x5,_0x338a4e[0x18]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2d3230,0x9,_0x338a4e[0x19]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xa1eede,0xe,_0x338a4e[0x1a]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xfaf487,0x14,_0x338a4e[0x1b]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x383a5f,0x5,_0x338a4e[0x1c]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x533f85,0x9,_0x338a4e[0x1d]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x6b2426,0xe,_0x338a4e[0x1e]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xe74ce,0x14,_0x338a4e[0x1f]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xb16454,0x4,_0x338a4e[0x20]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xfaf487,0xb,_0x338a4e[0x21]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x3157b8,0x10,_0x338a4e[0x22]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2d3230,0x17,_0x338a4e[0x23]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x8e59c8,0x4,_0x338a4e[0x24]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2181a2,0xb,_0x338a4e[0x25]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x6b2426,0x10,_0x338a4e[0x26]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xb486da,0x17,_0x338a4e[0x27]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x383a5f,0x4,_0x338a4e[0x28]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x27511f,0xb,_0x338a4e[0x29]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xa1eede,0x10,_0x338a4e[0x2a]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x33e9d0,0x17,_0x338a4e[0x2b]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x50439d,0x4,_0x338a4e[0x2c]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xe74ce,0xb,_0x338a4e[0x2d]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2da15f,0x10,_0x338a4e[0x2e]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x533f85,0x17,_0x338a4e[0x2f]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x27511f,0x6,_0x338a4e[0x30]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x6b2426,0xa,_0x338a4e[0x31]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2d3230,0xf,_0x338a4e[0x32]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xb16454,0x15,_0x338a4e[0x33]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xe74ce,0x6,_0x338a4e[0x34]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xa1eede,0xa,_0x338a4e[0x35]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xb486da,0xf,_0x338a4e[0x36]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x8e59c8,0x15,_0x338a4e[0x37]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xfaf487,0x6,_0x338a4e[0x38]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2da15f,0xa,_0x338a4e[0x39]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x33e9d0,0xf,_0x338a4e[0x3a]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x383a5f,0x15,_0x338a4e[0x3b]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x2181a2,0x6,_0x338a4e[0x3c]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x3157b8,0xa,_0x338a4e[0x3d]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x533f85,0xf,_0x338a4e[0x3e]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x50439d,0x15,_0x338a4e[0x3f]),_0xd96bac[0x0]=_0xd96bac[0x0]+_0x1b7135|0x0,_0xd96bac[0x1]=_0xd96bac[0x1]+_0x26d179|0x0,_0xd96bac[0x2]=_0xd96bac[0x2]+_0xc9c149|0x0,_0xd96bac[0x3]=_0xd96bac[0x3]+_0x5127a2|0x0;},'_doFinalize':function(){var _0x377fcb=_0x32f2fe,_0x13467d=this['_data'],_0x3d2f62=_0x13467d[_0x377fcb(0x1c0)],_0x4c50e1=this['_nDataBytes']*0x8,_0x13f488=_0x13467d[_0x377fcb(0x2b9)]*0x8;_0x3d2f62[_0x13f488>>>0x5]|=0x80<<0x18-_0x13f488%0x20;var _0x49cd0e=_0x19b7e8[_0x377fcb(0x2b2)](_0x4c50e1/0x100000000),_0x29ee4b=_0x4c50e1;_0x3d2f62[(_0x13f488+0x40>>>0x9<<0x4)+0xf]=(_0x49cd0e<<0x8|_0x49cd0e>>>0x18)&0xff00ff|(_0x49cd0e<<0x18|_0x49cd0e>>>0x8)&0xff00ff00,_0x3d2f62[(_0x13f488+0x40>>>0x9<<0x4)+0xe]=(_0x29ee4b<<0x8|_0x29ee4b>>>0x18)&0xff00ff|(_0x29ee4b<<0x18|_0x29ee4b>>>0x8)&0xff00ff00,_0x13467d[_0x377fcb(0x2b9)]=(_0x3d2f62[_0x377fcb(0x2a6)]+0x1)*0x4,this[_0x377fcb(0x24e)]();for(var _0x307790=this[_0x377fcb(0x29e)],_0x3be75d=_0x307790['words'],_0x515b84=0x0;_0x515b84<0x4;_0x515b84++){var _0x4608c2=_0x3be75d[_0x515b84];_0x3be75d[_0x515b84]=(_0x4608c2<<0x8|_0x4608c2>>>0x18)&0xff00ff|(_0x4608c2<<0x18|_0x4608c2>>>0x8)&0xff00ff00;}return _0x307790;},'clone':function(){var _0x517323=_0x32f2fe,_0x16246c=_0x5127e6[_0x517323(0x330)][_0x517323(0x3ae)](this);return _0x16246c[_0x517323(0x29e)]=this['_hash'][_0x517323(0x330)](),_0x16246c;}});function _0x414f07(_0x523dd6,_0x1e3cc2,_0x519605,_0xdfc890,_0x4910b5,_0xb6d91,_0x4b54d8){var _0x5b29ff=_0x523dd6+(_0x1e3cc2&_0x519605|~_0x1e3cc2&_0xdfc890)+_0x4910b5+_0x4b54d8;return(_0x5b29ff<<_0xb6d91|_0x5b29ff>>>0x20-_0xb6d91)+_0x1e3cc2;}function _0x6a852b(_0x4174b5,_0x5c407e,_0xb12e2,_0x3119c9,_0x274f21,_0x477015,_0x517f2a){var _0x22399c=_0x4174b5+(_0x5c407e&_0x3119c9|_0xb12e2&~_0x3119c9)+_0x274f21+_0x517f2a;return(_0x22399c<<_0x477015|_0x22399c>>>0x20-_0x477015)+_0x5c407e;}function _0x547937(_0x37441a,_0x464d29,_0x304def,_0x37761f,_0x1efe2b,_0x1e35b9,_0x20f607){var _0x574f58=_0x37441a+(_0x464d29^_0x304def^_0x37761f)+_0x1efe2b+_0x20f607;return(_0x574f58<<_0x1e35b9|_0x574f58>>>0x20-_0x1e35b9)+_0x464d29;}function _0x2119fa(_0x20538e,_0x38e928,_0xd4d64c,_0x26d861,_0x5704f5,_0x132f35,_0x49c4c8){var _0x3856bc=_0x20538e+(_0xd4d64c^(_0x38e928|~_0x26d861))+_0x5704f5+_0x49c4c8;return(_0x3856bc<<_0x132f35|_0x3856bc>>>0x20-_0x132f35)+_0x38e928;}_0x2692f5[_0x32f2fe(0x2e7)]=_0x5127e6[_0x32f2fe(0x3bf)](_0x19b4fc),_0x2692f5[_0x32f2fe(0x2d1)]=_0x5127e6[_0x32f2fe(0x451)](_0x19b4fc);}(Math),_0x149c06[_0x2a8ee9(0x2e7)];}));}(ze)),ze[_0x489b8e(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x2776ba(0x24b)],ii;function zs(){var _0x49c917=_0x2776ba;return ii||(ii=0x1,function(_0x45150f,_0xed7900){(function(_0x2b71b9,_0x595caa){var _0xdfefb4=_0x533f;_0x45150f[_0xdfefb4(0x24b)]=_0x595caa(ne());}(Ks,function(_0x2d26eb){return(function(){var _0x5558d9=_0x533f,_0x3ae49a=_0x2d26eb,_0xfb629e=_0x3ae49a[_0x5558d9(0x2b6)],_0x2f3e84=_0xfb629e[_0x5558d9(0x33e)],_0x40a197=_0xfb629e[_0x5558d9(0x3e9)],_0x517ec9=_0x3ae49a[_0x5558d9(0x323)],_0x35c99a=[],_0x4adc45=_0x517ec9[_0x5558d9(0x2cb)]=_0x40a197['extend']({'_doReset':function(){var _0x5615dd=_0x5558d9;this[_0x5615dd(0x29e)]=new _0x2f3e84[(_0x5615dd(0x1c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x51192e,_0x7bb38d){var _0x5ec61c=_0x5558d9;for(var _0x10ff00=this['_hash'][_0x5ec61c(0x1c0)],_0x33ffbc=_0x10ff00[0x0],_0x44ca82=_0x10ff00[0x1],_0x1c094e=_0x10ff00[0x2],_0x2b5892=_0x10ff00[0x3],_0x3512b7=_0x10ff00[0x4],_0x8b85ee=0x0;_0x8b85ee<0x50;_0x8b85ee++){if(_0x8b85ee<0x10)_0x35c99a[_0x8b85ee]=_0x51192e[_0x7bb38d+_0x8b85ee]|0x0;else{var _0x52ec93=_0x35c99a[_0x8b85ee-0x3]^_0x35c99a[_0x8b85ee-0x8]^_0x35c99a[_0x8b85ee-0xe]^_0x35c99a[_0x8b85ee-0x10];_0x35c99a[_0x8b85ee]=_0x52ec93<<0x1|_0x52ec93>>>0x1f;}var _0x5373bf=(_0x33ffbc<<0x5|_0x33ffbc>>>0x1b)+_0x3512b7+_0x35c99a[_0x8b85ee];_0x8b85ee<0x14?_0x5373bf+=(_0x44ca82&_0x1c094e|~_0x44ca82&_0x2b5892)+0x5a827999:_0x8b85ee<0x28?_0x5373bf+=(_0x44ca82^_0x1c094e^_0x2b5892)+0x6ed9eba1:_0x8b85ee<0x3c?_0x5373bf+=(_0x44ca82&_0x1c094e|_0x44ca82&_0x2b5892|_0x1c094e&_0x2b5892)-0x70e44324:_0x5373bf+=(_0x44ca82^_0x1c094e^_0x2b5892)-0x359d3e2a,_0x3512b7=_0x2b5892,_0x2b5892=_0x1c094e,_0x1c094e=_0x44ca82<<0x1e|_0x44ca82>>>0x2,_0x44ca82=_0x33ffbc,_0x33ffbc=_0x5373bf;}_0x10ff00[0x0]=_0x10ff00[0x0]+_0x33ffbc|0x0,_0x10ff00[0x1]=_0x10ff00[0x1]+_0x44ca82|0x0,_0x10ff00[0x2]=_0x10ff00[0x2]+_0x1c094e|0x0,_0x10ff00[0x3]=_0x10ff00[0x3]+_0x2b5892|0x0,_0x10ff00[0x4]=_0x10ff00[0x4]+_0x3512b7|0x0;},'_doFinalize':function(){var _0x131eff=_0x5558d9,_0x3d40a7=this[_0x131eff(0x2eb)],_0x1168ae=_0x3d40a7['words'],_0x278409=this[_0x131eff(0x19f)]*0x8,_0x490059=_0x3d40a7[_0x131eff(0x2b9)]*0x8;return _0x1168ae[_0x490059>>>0x5]|=0x80<<0x18-_0x490059%0x20,_0x1168ae[(_0x490059+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x278409/0x100000000),_0x1168ae[(_0x490059+0x40>>>0x9<<0x4)+0xf]=_0x278409,_0x3d40a7[_0x131eff(0x2b9)]=_0x1168ae['length']*0x4,this[_0x131eff(0x24e)](),this['_hash'];},'clone':function(){var _0x557182=_0x5558d9,_0x18ede7=_0x40a197[_0x557182(0x330)][_0x557182(0x3ae)](this);return _0x18ede7[_0x557182(0x29e)]=this[_0x557182(0x29e)]['clone'](),_0x18ede7;}});_0x3ae49a[_0x5558d9(0x2cb)]=_0x40a197[_0x5558d9(0x3bf)](_0x4adc45),_0x3ae49a['HmacSHA1']=_0x40a197[_0x5558d9(0x451)](_0x4adc45);}()),_0x2d26eb['SHA1'];}));}(qe)),qe[_0x49c917(0x24b)];}var Je={'exports':{}},Ys=Je[_0x2776ba(0x24b)],ni;function qs(){var _0x44e822=_0x2776ba;return ni||(ni=0x1,function(_0x42b583,_0x18d5f3){(function(_0x28c72b,_0x2aef8e){var _0x4ff537=_0x533f;_0x42b583[_0x4ff537(0x24b)]=_0x2aef8e(ne());}(Ys,function(_0x175950){(function(){var _0x4917ef=_0x533f,_0x56f2a7=_0x175950,_0x2da8bd=_0x56f2a7[_0x4917ef(0x2b6)],_0x5c5f88=_0x2da8bd['Base'],_0x4dd525=_0x56f2a7[_0x4917ef(0x45c)],_0x4499cb=_0x4dd525['Utf8'],_0x2150a2=_0x56f2a7[_0x4917ef(0x323)];_0x2150a2[_0x4917ef(0x2d3)]=_0x5c5f88[_0x4917ef(0x1c4)]({'init':function(_0x33336d,_0x59db04){var _0x3f180c=_0x4917ef;_0x33336d=this[_0x3f180c(0x1cb)]=new _0x33336d['init'](),typeof _0x59db04==_0x3f180c(0x199)&&(_0x59db04=_0x4499cb[_0x3f180c(0x3b0)](_0x59db04));var _0x1be480=_0x33336d[_0x3f180c(0x45e)],_0x435aab=_0x1be480*0x4;_0x59db04[_0x3f180c(0x2b9)]>_0x435aab&&(_0x59db04=_0x33336d['finalize'](_0x59db04)),_0x59db04[_0x3f180c(0x29f)]();for(var _0x1006c2=this[_0x3f180c(0x305)]=_0x59db04[_0x3f180c(0x330)](),_0x1f48da=this[_0x3f180c(0x24a)]=_0x59db04[_0x3f180c(0x330)](),_0x35f714=_0x1006c2['words'],_0x4a53ba=_0x1f48da[_0x3f180c(0x1c0)],_0xe1f295=0x0;_0xe1f295<_0x1be480;_0xe1f295++)_0x35f714[_0xe1f295]^=0x5c5c5c5c,_0x4a53ba[_0xe1f295]^=0x36363636;_0x1006c2[_0x3f180c(0x2b9)]=_0x1f48da[_0x3f180c(0x2b9)]=_0x435aab,this[_0x3f180c(0x2c6)]();},'reset':function(){var _0x296039=_0x4917ef,_0x15e64f=this['_hasher'];_0x15e64f['reset'](),_0x15e64f['update'](this[_0x296039(0x24a)]);},'update':function(_0x48a61e){var _0x3725bc=_0x4917ef;return this[_0x3725bc(0x1cb)][_0x3725bc(0x3cc)](_0x48a61e),this;},'finalize':function(_0x265ca5){var _0x1aefff=_0x4917ef,_0x4d2e0b=this[_0x1aefff(0x1cb)],_0x2c00a5=_0x4d2e0b[_0x1aefff(0x215)](_0x265ca5);_0x4d2e0b[_0x1aefff(0x2c6)]();var _0x10d1e1=_0x4d2e0b[_0x1aefff(0x215)](this[_0x1aefff(0x305)]['clone']()[_0x1aefff(0x2fb)](_0x2c00a5));return _0x10d1e1;}});}());}));}(Je)),Je[_0x44e822(0x24b)];}var Js=Ye[_0x2776ba(0x24b)],si;function Ai(){var _0x20da9d=_0x2776ba;return si||(si=0x1,function(_0x5b6e06,_0x44fac7){(function(_0x422ebc,_0x362c52,_0x29d47b){var _0x4ba238=_0x533f;_0x5b6e06[_0x4ba238(0x24b)]=_0x362c52(ne(),zs(),qs());}(Js,function(_0x5062d1){var _0x371445=_0x533f;return(function(){var _0x477246=_0x533f,_0x2a701b=_0x5062d1,_0x4bfa56=_0x2a701b[_0x477246(0x2b6)],_0x13ec10=_0x4bfa56[_0x477246(0x279)],_0x536894=_0x4bfa56['WordArray'],_0x33c933=_0x2a701b[_0x477246(0x323)],_0x2f4f68=_0x33c933['MD5'],_0x13eb56=_0x33c933[_0x477246(0x1c6)]=_0x13ec10[_0x477246(0x1c4)]({'cfg':_0x13ec10[_0x477246(0x1c4)]({'keySize':0x80/0x20,'hasher':_0x2f4f68,'iterations':0x1}),'init':function(_0x3178ee){var _0x228185=_0x477246;this[_0x228185(0x3a2)]=this[_0x228185(0x3a2)][_0x228185(0x1c4)](_0x3178ee);},'compute':function(_0x1f8549,_0x14960c){var _0x4f79ca=_0x477246;for(var _0x4f5041,_0x4f66c1=this['cfg'],_0x38422e=_0x4f66c1['hasher'][_0x4f79ca(0x268)](),_0x1c3e36=_0x536894[_0x4f79ca(0x268)](),_0x29053f=_0x1c3e36[_0x4f79ca(0x1c0)],_0xa51a15=_0x4f66c1['keySize'],_0x41ecde=_0x4f66c1['iterations'];_0x29053f[_0x4f79ca(0x2a6)]<_0xa51a15;){_0x4f5041&&_0x38422e[_0x4f79ca(0x3cc)](_0x4f5041),_0x4f5041=_0x38422e['update'](_0x1f8549)[_0x4f79ca(0x215)](_0x14960c),_0x38422e[_0x4f79ca(0x2c6)]();for(var _0x2382d2=0x1;_0x2382d2<_0x41ecde;_0x2382d2++)_0x4f5041=_0x38422e['finalize'](_0x4f5041),_0x38422e['reset']();_0x1c3e36[_0x4f79ca(0x2fb)](_0x4f5041);}return _0x1c3e36['sigBytes']=_0xa51a15*0x4,_0x1c3e36;}});_0x2a701b['EvpKDF']=function(_0x2fc319,_0x7a1603,_0x1469c1){var _0x5b87cd=_0x477246;return _0x13eb56[_0x5b87cd(0x268)](_0x1469c1)[_0x5b87cd(0x3f0)](_0x2fc319,_0x7a1603);};}()),_0x5062d1[_0x371445(0x1c6)];}));}(Ye)),Ye[_0x20da9d(0x24b)];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){var _0x529707=_0x2776ba;return ri||(ri=0x1,function(_0x47bdc8,_0x10591c){(function(_0x13be30,_0x28d387,_0x52b3c4){_0x47bdc8['exports']=_0x28d387(ne(),Ai());}(Xs,function(_0x110d13){var _0x6a78b1=_0x533f;_0x110d13[_0x6a78b1(0x2b6)][_0x6a78b1(0x1b7)]||function(_0xaab9d4){var _0x562188=_0x6a78b1,_0x2688e6=_0x110d13,_0x3b2acb=_0x2688e6[_0x562188(0x2b6)],_0x318427=_0x3b2acb[_0x562188(0x279)],_0x4b1824=_0x3b2acb[_0x562188(0x33e)],_0x411ad9=_0x3b2acb['BufferedBlockAlgorithm'],_0x192e7e=_0x2688e6[_0x562188(0x45c)];_0x192e7e[_0x562188(0x1de)];var _0x3f4780=_0x192e7e[_0x562188(0x226)],_0x16517c=_0x2688e6[_0x562188(0x323)],_0x3c0968=_0x16517c[_0x562188(0x1c6)],_0x3a58af=_0x3b2acb[_0x562188(0x1b7)]=_0x411ad9[_0x562188(0x1c4)]({'cfg':_0x318427[_0x562188(0x1c4)](),'createEncryptor':function(_0xd03de9,_0x23a923){var _0x1d4132=_0x562188;return this[_0x1d4132(0x268)](this[_0x1d4132(0x312)],_0xd03de9,_0x23a923);},'createDecryptor':function(_0x1b47eb,_0xfc15cc){var _0x404e40=_0x562188;return this[_0x404e40(0x268)](this['_DEC_XFORM_MODE'],_0x1b47eb,_0xfc15cc);},'init':function(_0x16888a,_0x3ebe11,_0x2cc243){var _0x10d49c=_0x562188;this[_0x10d49c(0x3a2)]=this[_0x10d49c(0x3a2)][_0x10d49c(0x1c4)](_0x2cc243),this[_0x10d49c(0x32f)]=_0x16888a,this[_0x10d49c(0x26f)]=_0x3ebe11,this[_0x10d49c(0x2c6)]();},'reset':function(){var _0x20456b=_0x562188;_0x411ad9[_0x20456b(0x2c6)]['call'](this),this[_0x20456b(0x2d5)]();},'process':function(_0x2a88b6){var _0x3e7551=_0x562188;return this[_0x3e7551(0x204)](_0x2a88b6),this['_process']();},'finalize':function(_0x1e0604){_0x1e0604&&this['_append'](_0x1e0604);var _0x525ad1=this['_doFinalize']();return _0x525ad1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x489eb3(_0x2abfe9){var _0x3182d0=_0x533f;return typeof _0x2abfe9==_0x3182d0(0x199)?_0x370667:_0x27223e;}return function(_0x53dff0){return{'encrypt':function(_0x25c847,_0xcc6f9,_0x5c2a4f){var _0x8fdf1c=_0x533f;return _0x489eb3(_0xcc6f9)[_0x8fdf1c(0x212)](_0x53dff0,_0x25c847,_0xcc6f9,_0x5c2a4f);},'decrypt':function(_0x5a6048,_0x101f72,_0x3866fa){var _0x2dc516=_0x533f;return _0x489eb3(_0x101f72)[_0x2dc516(0x385)](_0x53dff0,_0x5a6048,_0x101f72,_0x3866fa);}};};}())});_0x3b2acb[_0x562188(0x1ba)]=_0x3a58af[_0x562188(0x1c4)]({'_doFinalize':function(){var _0x458dc9=_0x562188,_0x1ab804=this[_0x458dc9(0x24e)](!0x0);return _0x1ab804;},'blockSize':0x1});var _0x3bb3f2=_0x2688e6[_0x562188(0x2bb)]={},_0x13f29d=_0x3b2acb[_0x562188(0x319)]=_0x318427['extend']({'createEncryptor':function(_0xc429ab,_0xfc6cc2){return this['Encryptor']['create'](_0xc429ab,_0xfc6cc2);},'createDecryptor':function(_0x2df69a,_0x2417a4){var _0x57667e=_0x562188;return this[_0x57667e(0x449)][_0x57667e(0x268)](_0x2df69a,_0x2417a4);},'init':function(_0x52d30a,_0x42f3d1){var _0x5746c2=_0x562188;this[_0x5746c2(0x1d1)]=_0x52d30a,this['_iv']=_0x42f3d1;}}),_0x4de66e=_0x3bb3f2[_0x562188(0x19b)]=(function(){var _0x50bed0=_0x562188,_0x1234e4=_0x13f29d[_0x50bed0(0x1c4)]();_0x1234e4[_0x50bed0(0x18e)]=_0x1234e4[_0x50bed0(0x1c4)]({'processBlock':function(_0x285fdb,_0x1cf156){var _0x5c1ed6=_0x50bed0,_0x4464be=this[_0x5c1ed6(0x1d1)],_0x2b5920=_0x4464be[_0x5c1ed6(0x45e)];_0x4a930b['call'](this,_0x285fdb,_0x1cf156,_0x2b5920),_0x4464be['encryptBlock'](_0x285fdb,_0x1cf156),this['_prevBlock']=_0x285fdb['slice'](_0x1cf156,_0x1cf156+_0x2b5920);}}),_0x1234e4[_0x50bed0(0x449)]=_0x1234e4[_0x50bed0(0x1c4)]({'processBlock':function(_0x58e5d5,_0x4aa941){var _0x5de373=_0x50bed0,_0xe09823=this['_cipher'],_0xbc3f9f=_0xe09823[_0x5de373(0x45e)],_0x38a52d=_0x58e5d5[_0x5de373(0x2f1)](_0x4aa941,_0x4aa941+_0xbc3f9f);_0xe09823[_0x5de373(0x227)](_0x58e5d5,_0x4aa941),_0x4a930b[_0x5de373(0x3ae)](this,_0x58e5d5,_0x4aa941,_0xbc3f9f),this[_0x5de373(0x25f)]=_0x38a52d;}});function _0x4a930b(_0x9f964f,_0x27c3fe,_0xde9151){var _0x1be215=_0x50bed0,_0x33275a,_0x5cc9e9=this['_iv'];_0x5cc9e9?(_0x33275a=_0x5cc9e9,this['_iv']=_0xaab9d4):_0x33275a=this[_0x1be215(0x25f)];for(var _0x48b200=0x0;_0x48b200<_0xde9151;_0x48b200++)_0x9f964f[_0x27c3fe+_0x48b200]^=_0x33275a[_0x48b200];}return _0x1234e4;}()),_0x305525=_0x2688e6[_0x562188(0x361)]={},_0x211e67=_0x305525[_0x562188(0x27d)]={'pad':function(_0x2400cc,_0x2eabf3){var _0x2518f0=_0x562188;for(var _0x210be6=_0x2eabf3*0x4,_0x47938c=_0x210be6-_0x2400cc[_0x2518f0(0x2b9)]%_0x210be6,_0x10a164=_0x47938c<<0x18|_0x47938c<<0x10|_0x47938c<<0x8|_0x47938c,_0x2c6c7d=[],_0x18fd94=0x0;_0x18fd94<_0x47938c;_0x18fd94+=0x4)_0x2c6c7d[_0x2518f0(0x306)](_0x10a164);var _0x5a1632=_0x4b1824[_0x2518f0(0x268)](_0x2c6c7d,_0x47938c);_0x2400cc['concat'](_0x5a1632);},'unpad':function(_0x1aed88){var _0xa7076b=_0x562188,_0xcd46b1=_0x1aed88['words'][_0x1aed88[_0xa7076b(0x2b9)]-0x1>>>0x2]&0xff;_0x1aed88[_0xa7076b(0x2b9)]-=_0xcd46b1;}};_0x3b2acb[_0x562188(0x3d0)]=_0x3a58af[_0x562188(0x1c4)]({'cfg':_0x3a58af[_0x562188(0x3a2)]['extend']({'mode':_0x4de66e,'padding':_0x211e67}),'reset':function(){var _0x57146f=_0x562188,_0x457974;_0x3a58af[_0x57146f(0x2c6)]['call'](this);var _0x362de2=this['cfg'],_0x543fe3=_0x362de2['iv'],_0x513842=_0x362de2[_0x57146f(0x2bb)];this[_0x57146f(0x32f)]==this[_0x57146f(0x312)]?_0x457974=_0x513842[_0x57146f(0x1e0)]:(_0x457974=_0x513842[_0x57146f(0x2ea)],this['_minBufferSize']=0x1),this[_0x57146f(0x1df)]&&this['_mode'][_0x57146f(0x425)]==_0x457974?this['_mode'][_0x57146f(0x1c1)](this,_0x543fe3&&_0x543fe3[_0x57146f(0x1c0)]):(this[_0x57146f(0x1df)]=_0x457974[_0x57146f(0x3ae)](_0x513842,this,_0x543fe3&&_0x543fe3['words']),this[_0x57146f(0x1df)][_0x57146f(0x425)]=_0x457974);},'_doProcessBlock':function(_0x16483d,_0x5a8546){var _0x1dbf89=_0x562188;this[_0x1dbf89(0x1df)][_0x1dbf89(0x1ea)](_0x16483d,_0x5a8546);},'_doFinalize':function(){var _0x4de316=_0x562188,_0x266fd9,_0x2d3eda=this[_0x4de316(0x3a2)][_0x4de316(0x264)];return this[_0x4de316(0x32f)]==this[_0x4de316(0x312)]?(_0x2d3eda[_0x4de316(0x361)](this[_0x4de316(0x2eb)],this[_0x4de316(0x45e)]),_0x266fd9=this['_process'](!0x0)):(_0x266fd9=this[_0x4de316(0x24e)](!0x0),_0x2d3eda[_0x4de316(0x2bc)](_0x266fd9)),_0x266fd9;},'blockSize':0x80/0x20});var _0x465426=_0x3b2acb[_0x562188(0x2c2)]=_0x318427[_0x562188(0x1c4)]({'init':function(_0x2d2ff8){var _0x80dd34=_0x562188;this[_0x80dd34(0x36e)](_0x2d2ff8);},'toString':function(_0x12c686){return(_0x12c686||this['formatter'])['stringify'](this);}}),_0x3830b0=_0x2688e6['format']={},_0x9d38d1=_0x3830b0[_0x562188(0x20c)]={'stringify':function(_0x4e96cd){var _0x3acf2c=_0x562188,_0x34dcec,_0x13fc92=_0x4e96cd[_0x3acf2c(0x1fa)],_0x336791=_0x4e96cd[_0x3acf2c(0x3f5)];return _0x336791?_0x34dcec=_0x4b1824[_0x3acf2c(0x268)]([0x53616c74,0x65645f5f])['concat'](_0x336791)[_0x3acf2c(0x2fb)](_0x13fc92):_0x34dcec=_0x13fc92,_0x34dcec[_0x3acf2c(0x39a)](_0x3f4780);},'parse':function(_0x36996a){var _0x35d41b=_0x562188,_0x5d4b1a,_0x510a78=_0x3f4780[_0x35d41b(0x3b0)](_0x36996a),_0x20e2bb=_0x510a78[_0x35d41b(0x1c0)];return _0x20e2bb[0x0]==0x53616c74&&_0x20e2bb[0x1]==0x65645f5f&&(_0x5d4b1a=_0x4b1824[_0x35d41b(0x268)](_0x20e2bb[_0x35d41b(0x2f1)](0x2,0x4)),_0x20e2bb[_0x35d41b(0x31c)](0x0,0x4),_0x510a78[_0x35d41b(0x2b9)]-=0x10),_0x465426[_0x35d41b(0x268)]({'ciphertext':_0x510a78,'salt':_0x5d4b1a});}},_0x27223e=_0x3b2acb[_0x562188(0x313)]=_0x318427[_0x562188(0x1c4)]({'cfg':_0x318427[_0x562188(0x1c4)]({'format':_0x9d38d1}),'encrypt':function(_0xd29479,_0x438915,_0x2b037c,_0x102522){var _0x30304a=_0x562188;_0x102522=this[_0x30304a(0x3a2)][_0x30304a(0x1c4)](_0x102522);var _0x264e74=_0xd29479[_0x30304a(0x1e0)](_0x2b037c,_0x102522),_0x26f875=_0x264e74[_0x30304a(0x215)](_0x438915),_0x396278=_0x264e74[_0x30304a(0x3a2)];return _0x465426[_0x30304a(0x268)]({'ciphertext':_0x26f875,'key':_0x2b037c,'iv':_0x396278['iv'],'algorithm':_0xd29479,'mode':_0x396278[_0x30304a(0x2bb)],'padding':_0x396278[_0x30304a(0x264)],'blockSize':_0xd29479[_0x30304a(0x45e)],'formatter':_0x102522[_0x30304a(0x3df)]});},'decrypt':function(_0x14756c,_0x40a8dc,_0x38a9c5,_0x2b9ba8){var _0x2d7477=_0x562188;_0x2b9ba8=this['cfg']['extend'](_0x2b9ba8),_0x40a8dc=this[_0x2d7477(0x184)](_0x40a8dc,_0x2b9ba8[_0x2d7477(0x3df)]);var _0x933fdf=_0x14756c[_0x2d7477(0x2ea)](_0x38a9c5,_0x2b9ba8)[_0x2d7477(0x215)](_0x40a8dc[_0x2d7477(0x1fa)]);return _0x933fdf;},'_parse':function(_0xab026b,_0x3f7d5d){var _0x2fe6f5=_0x562188;return typeof _0xab026b==_0x2fe6f5(0x199)?_0x3f7d5d['parse'](_0xab026b,this):_0xab026b;}}),_0x4749ae=_0x2688e6[_0x562188(0x2aa)]={},_0x5e6aae=_0x4749ae['OpenSSL']={'execute':function(_0x2b0668,_0x2df189,_0x58b51d,_0x1abb1b,_0x290e9c){var _0x42582f=_0x562188;if(_0x1abb1b||(_0x1abb1b=_0x4b1824[_0x42582f(0x3fa)](0x40/0x8)),_0x290e9c)var _0x4c9cff=_0x3c0968[_0x42582f(0x268)]({'keySize':_0x2df189+_0x58b51d,'hasher':_0x290e9c})[_0x42582f(0x3f0)](_0x2b0668,_0x1abb1b);else var _0x4c9cff=_0x3c0968[_0x42582f(0x268)]({'keySize':_0x2df189+_0x58b51d})['compute'](_0x2b0668,_0x1abb1b);var _0x20b892=_0x4b1824['create'](_0x4c9cff[_0x42582f(0x1c0)][_0x42582f(0x2f1)](_0x2df189),_0x58b51d*0x4);return _0x4c9cff[_0x42582f(0x2b9)]=_0x2df189*0x4,_0x465426['create']({'key':_0x4c9cff,'iv':_0x20b892,'salt':_0x1abb1b});}},_0x370667=_0x3b2acb['PasswordBasedCipher']=_0x27223e['extend']({'cfg':_0x27223e[_0x562188(0x3a2)]['extend']({'kdf':_0x5e6aae}),'encrypt':function(_0x726c9e,_0x48403d,_0x5acb1d,_0x11bcd9){var _0x2ea427=_0x562188;_0x11bcd9=this['cfg'][_0x2ea427(0x1c4)](_0x11bcd9);var _0xb9fe7e=_0x11bcd9[_0x2ea427(0x2aa)]['execute'](_0x5acb1d,_0x726c9e['keySize'],_0x726c9e[_0x2ea427(0x1da)],_0x11bcd9[_0x2ea427(0x3f5)],_0x11bcd9['hasher']);_0x11bcd9['iv']=_0xb9fe7e['iv'];var _0x43ad96=_0x27223e[_0x2ea427(0x212)]['call'](this,_0x726c9e,_0x48403d,_0xb9fe7e['key'],_0x11bcd9);return _0x43ad96[_0x2ea427(0x36e)](_0xb9fe7e),_0x43ad96;},'decrypt':function(_0x5893d3,_0x2dfeee,_0x36737d,_0x3e4290){var _0x182533=_0x562188;_0x3e4290=this[_0x182533(0x3a2)][_0x182533(0x1c4)](_0x3e4290),_0x2dfeee=this[_0x182533(0x184)](_0x2dfeee,_0x3e4290['format']);var _0x3da4db=_0x3e4290[_0x182533(0x2aa)][_0x182533(0x1f6)](_0x36737d,_0x5893d3[_0x182533(0x191)],_0x5893d3['ivSize'],_0x2dfeee[_0x182533(0x3f5)],_0x3e4290['hasher']);_0x3e4290['iv']=_0x3da4db['iv'];var _0x3d51d6=_0x27223e[_0x182533(0x385)][_0x182533(0x3ae)](this,_0x5893d3,_0x2dfeee,_0x3da4db[_0x182533(0x41b)],_0x3e4290);return _0x3d51d6;}});}();}));}(Xe)),Xe[_0x529707(0x24b)];}var Zs=We[_0x2776ba(0x24b)],oi;function Qs(){var _0x17d5bf=_0x2776ba;return oi||(oi=0x1,function(_0x8af36,_0x2cadef){(function(_0x3005ed,_0x4f8dfb,_0x419699){var _0x5d1502=_0x533f;_0x8af36[_0x5d1502(0x24b)]=_0x4f8dfb(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x3ed6a0){var _0x5ae9fb=_0x533f;return(function(){var _0x1f31b=_0x533f,_0x523f70=_0x3ed6a0,_0x3b319d=_0x523f70['lib'],_0xbc3d49=_0x3b319d[_0x1f31b(0x3d0)],_0xd11c66=_0x523f70[_0x1f31b(0x323)],_0x4b546b=[],_0xf8b396=[],_0xbdeaeb=[],_0x59e911=[],_0xb23eac=[],_0x519bcc=[],_0x3c1905=[],_0x40adff=[],_0x4e2e09=[],_0x22771c=[];(function(){for(var _0x572260=[],_0x2ca500=0x0;_0x2ca500<0x100;_0x2ca500++)_0x2ca500<0x80?_0x572260[_0x2ca500]=_0x2ca500<<0x1:_0x572260[_0x2ca500]=_0x2ca500<<0x1^0x11b;for(var _0x37ff19=0x0,_0x45625b=0x0,_0x2ca500=0x0;_0x2ca500<0x100;_0x2ca500++){var _0x4c5524=_0x45625b^_0x45625b<<0x1^_0x45625b<<0x2^_0x45625b<<0x3^_0x45625b<<0x4;_0x4c5524=_0x4c5524>>>0x8^_0x4c5524&0xff^0x63,_0x4b546b[_0x37ff19]=_0x4c5524,_0xf8b396[_0x4c5524]=_0x37ff19;var _0x4ae25f=_0x572260[_0x37ff19],_0x2cb243=_0x572260[_0x4ae25f],_0x384c48=_0x572260[_0x2cb243],_0x34b76b=_0x572260[_0x4c5524]*0x101^_0x4c5524*0x1010100;_0xbdeaeb[_0x37ff19]=_0x34b76b<<0x18|_0x34b76b>>>0x8,_0x59e911[_0x37ff19]=_0x34b76b<<0x10|_0x34b76b>>>0x10,_0xb23eac[_0x37ff19]=_0x34b76b<<0x8|_0x34b76b>>>0x18,_0x519bcc[_0x37ff19]=_0x34b76b;var _0x34b76b=_0x384c48*0x1010101^_0x2cb243*0x10001^_0x4ae25f*0x101^_0x37ff19*0x1010100;_0x3c1905[_0x4c5524]=_0x34b76b<<0x18|_0x34b76b>>>0x8,_0x40adff[_0x4c5524]=_0x34b76b<<0x10|_0x34b76b>>>0x10,_0x4e2e09[_0x4c5524]=_0x34b76b<<0x8|_0x34b76b>>>0x18,_0x22771c[_0x4c5524]=_0x34b76b,_0x37ff19?(_0x37ff19=_0x4ae25f^_0x572260[_0x572260[_0x572260[_0x384c48^_0x4ae25f]]],_0x45625b^=_0x572260[_0x572260[_0x45625b]]):_0x37ff19=_0x45625b=0x1;}}());var _0x1ecdb4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x46ebc7=_0xd11c66['AES']=_0xbc3d49[_0x1f31b(0x1c4)]({'_doReset':function(){var _0x54f68e=_0x1f31b,_0x3fac74;if(!(this[_0x54f68e(0x392)]&&this['_keyPriorReset']===this[_0x54f68e(0x26f)])){for(var _0x4225fe=this[_0x54f68e(0x3f6)]=this[_0x54f68e(0x26f)],_0x38b7c1=_0x4225fe[_0x54f68e(0x1c0)],_0x45df1b=_0x4225fe[_0x54f68e(0x2b9)]/0x4,_0x437d1d=this['_nRounds']=_0x45df1b+0x6,_0x36e7d9=(_0x437d1d+0x1)*0x4,_0x44da1d=this[_0x54f68e(0x295)]=[],_0x2e172a=0x0;_0x2e172a<_0x36e7d9;_0x2e172a++)_0x2e172a<_0x45df1b?_0x44da1d[_0x2e172a]=_0x38b7c1[_0x2e172a]:(_0x3fac74=_0x44da1d[_0x2e172a-0x1],_0x2e172a%_0x45df1b?_0x45df1b>0x6&&_0x2e172a%_0x45df1b==0x4&&(_0x3fac74=_0x4b546b[_0x3fac74>>>0x18]<<0x18|_0x4b546b[_0x3fac74>>>0x10&0xff]<<0x10|_0x4b546b[_0x3fac74>>>0x8&0xff]<<0x8|_0x4b546b[_0x3fac74&0xff]):(_0x3fac74=_0x3fac74<<0x8|_0x3fac74>>>0x18,_0x3fac74=_0x4b546b[_0x3fac74>>>0x18]<<0x18|_0x4b546b[_0x3fac74>>>0x10&0xff]<<0x10|_0x4b546b[_0x3fac74>>>0x8&0xff]<<0x8|_0x4b546b[_0x3fac74&0xff],_0x3fac74^=_0x1ecdb4[_0x2e172a/_0x45df1b|0x0]<<0x18),_0x44da1d[_0x2e172a]=_0x44da1d[_0x2e172a-_0x45df1b]^_0x3fac74);for(var _0x3b1a17=this[_0x54f68e(0x2f4)]=[],_0x9c51bd=0x0;_0x9c51bd<_0x36e7d9;_0x9c51bd++){var _0x2e172a=_0x36e7d9-_0x9c51bd;if(_0x9c51bd%0x4)var _0x3fac74=_0x44da1d[_0x2e172a];else var _0x3fac74=_0x44da1d[_0x2e172a-0x4];_0x9c51bd<0x4||_0x2e172a<=0x4?_0x3b1a17[_0x9c51bd]=_0x3fac74:_0x3b1a17[_0x9c51bd]=_0x3c1905[_0x4b546b[_0x3fac74>>>0x18]]^_0x40adff[_0x4b546b[_0x3fac74>>>0x10&0xff]]^_0x4e2e09[_0x4b546b[_0x3fac74>>>0x8&0xff]]^_0x22771c[_0x4b546b[_0x3fac74&0xff]];}}},'encryptBlock':function(_0xc5bb58,_0x1bb018){var _0x39b13b=_0x1f31b;this[_0x39b13b(0x267)](_0xc5bb58,_0x1bb018,this['_keySchedule'],_0xbdeaeb,_0x59e911,_0xb23eac,_0x519bcc,_0x4b546b);},'decryptBlock':function(_0x3be6a2,_0x40de96){var _0x55cdaa=_0x1f31b,_0xa8e8b5=_0x3be6a2[_0x40de96+0x1];_0x3be6a2[_0x40de96+0x1]=_0x3be6a2[_0x40de96+0x3],_0x3be6a2[_0x40de96+0x3]=_0xa8e8b5,this[_0x55cdaa(0x267)](_0x3be6a2,_0x40de96,this[_0x55cdaa(0x2f4)],_0x3c1905,_0x40adff,_0x4e2e09,_0x22771c,_0xf8b396);var _0xa8e8b5=_0x3be6a2[_0x40de96+0x1];_0x3be6a2[_0x40de96+0x1]=_0x3be6a2[_0x40de96+0x3],_0x3be6a2[_0x40de96+0x3]=_0xa8e8b5;},'_doCryptBlock':function(_0xff0649,_0x24aa7e,_0x117430,_0x409444,_0x39410b,_0x1cb2ec,_0x3d23f1,_0x4c9e04){var _0x8fc8b6=_0x1f31b;for(var _0x1bc216=this[_0x8fc8b6(0x392)],_0x37f2d9=_0xff0649[_0x24aa7e]^_0x117430[0x0],_0x3177fa=_0xff0649[_0x24aa7e+0x1]^_0x117430[0x1],_0x1b33b6=_0xff0649[_0x24aa7e+0x2]^_0x117430[0x2],_0x3b9499=_0xff0649[_0x24aa7e+0x3]^_0x117430[0x3],_0x480d41=0x4,_0x4b1400=0x1;_0x4b1400<_0x1bc216;_0x4b1400++){var _0x940a89=_0x409444[_0x37f2d9>>>0x18]^_0x39410b[_0x3177fa>>>0x10&0xff]^_0x1cb2ec[_0x1b33b6>>>0x8&0xff]^_0x3d23f1[_0x3b9499&0xff]^_0x117430[_0x480d41++],_0x1b6304=_0x409444[_0x3177fa>>>0x18]^_0x39410b[_0x1b33b6>>>0x10&0xff]^_0x1cb2ec[_0x3b9499>>>0x8&0xff]^_0x3d23f1[_0x37f2d9&0xff]^_0x117430[_0x480d41++],_0x3d1a52=_0x409444[_0x1b33b6>>>0x18]^_0x39410b[_0x3b9499>>>0x10&0xff]^_0x1cb2ec[_0x37f2d9>>>0x8&0xff]^_0x3d23f1[_0x3177fa&0xff]^_0x117430[_0x480d41++],_0x8bc5c2=_0x409444[_0x3b9499>>>0x18]^_0x39410b[_0x37f2d9>>>0x10&0xff]^_0x1cb2ec[_0x3177fa>>>0x8&0xff]^_0x3d23f1[_0x1b33b6&0xff]^_0x117430[_0x480d41++];_0x37f2d9=_0x940a89,_0x3177fa=_0x1b6304,_0x1b33b6=_0x3d1a52,_0x3b9499=_0x8bc5c2;}var _0x940a89=(_0x4c9e04[_0x37f2d9>>>0x18]<<0x18|_0x4c9e04[_0x3177fa>>>0x10&0xff]<<0x10|_0x4c9e04[_0x1b33b6>>>0x8&0xff]<<0x8|_0x4c9e04[_0x3b9499&0xff])^_0x117430[_0x480d41++],_0x1b6304=(_0x4c9e04[_0x3177fa>>>0x18]<<0x18|_0x4c9e04[_0x1b33b6>>>0x10&0xff]<<0x10|_0x4c9e04[_0x3b9499>>>0x8&0xff]<<0x8|_0x4c9e04[_0x37f2d9&0xff])^_0x117430[_0x480d41++],_0x3d1a52=(_0x4c9e04[_0x1b33b6>>>0x18]<<0x18|_0x4c9e04[_0x3b9499>>>0x10&0xff]<<0x10|_0x4c9e04[_0x37f2d9>>>0x8&0xff]<<0x8|_0x4c9e04[_0x3177fa&0xff])^_0x117430[_0x480d41++],_0x8bc5c2=(_0x4c9e04[_0x3b9499>>>0x18]<<0x18|_0x4c9e04[_0x37f2d9>>>0x10&0xff]<<0x10|_0x4c9e04[_0x3177fa>>>0x8&0xff]<<0x8|_0x4c9e04[_0x1b33b6&0xff])^_0x117430[_0x480d41++];_0xff0649[_0x24aa7e]=_0x940a89,_0xff0649[_0x24aa7e+0x1]=_0x1b6304,_0xff0649[_0x24aa7e+0x2]=_0x3d1a52,_0xff0649[_0x24aa7e+0x3]=_0x8bc5c2;},'keySize':0x100/0x20});_0x523f70[_0x1f31b(0x2b0)]=_0xbc3d49[_0x1f31b(0x3bf)](_0x46ebc7);}()),_0x3ed6a0[_0x5ae9fb(0x2b0)];}));}(We)),We[_0x17d5bf(0x24b)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x2776ba(0x24b)],ci;function sr(){var _0x109f92=_0x2776ba;return ci||(ci=0x1,function(_0x3902bd,_0x383b0a){(function(_0x133bf2,_0x87aaa0){var _0xac5234=_0x533f;_0x3902bd[_0xac5234(0x24b)]=_0x87aaa0(ne());}(nr,function(_0x19a891){var _0x126811=_0x533f;return _0x19a891[_0x126811(0x45c)]['Utf8'];}));}(Ze)),Ze[_0x109f92(0x24b)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x2776ba(0x24b)],hi;function cr(){return hi||(hi=0x1,function(_0x2c2661,_0x3a1ab1){(function(_0x4e411c,_0x88f5be){var _0x243170=_0x533f;_0x2c2661[_0x243170(0x24b)]=_0x88f5be(ne());}(ar,function(_0x4737bb){var _0x5ee618=_0x533f;return(function(){var _0x19fafd=_0x533f;if(typeof ArrayBuffer==_0x19fafd(0x35c)){var _0x10e920=_0x4737bb,_0x5ba9c9=_0x10e920[_0x19fafd(0x2b6)],_0x17433a=_0x5ba9c9['WordArray'],_0x5f019f=_0x17433a[_0x19fafd(0x1c1)],_0x16ac06=_0x17433a[_0x19fafd(0x1c1)]=function(_0x8fe665){var _0x1a07de=_0x19fafd;if(_0x8fe665 instanceof ArrayBuffer&&(_0x8fe665=new Uint8Array(_0x8fe665)),(_0x8fe665 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x8fe665 instanceof Uint8ClampedArray||_0x8fe665 instanceof Int16Array||_0x8fe665 instanceof Uint16Array||_0x8fe665 instanceof Int32Array||_0x8fe665 instanceof Uint32Array||_0x8fe665 instanceof Float32Array||_0x8fe665 instanceof Float64Array)&&(_0x8fe665=new Uint8Array(_0x8fe665[_0x1a07de(0x2dc)],_0x8fe665['byteOffset'],_0x8fe665['byteLength'])),_0x8fe665 instanceof Uint8Array){for(var _0x39f05f=_0x8fe665[_0x1a07de(0x3e1)],_0x246ebd=[],_0x2bdf1d=0x0;_0x2bdf1d<_0x39f05f;_0x2bdf1d++)_0x246ebd[_0x2bdf1d>>>0x2]|=_0x8fe665[_0x2bdf1d]<<0x18-_0x2bdf1d%0x4*0x8;_0x5f019f['call'](this,_0x246ebd,_0x39f05f);}else _0x5f019f[_0x1a07de(0x29a)](this,arguments);};_0x16ac06[_0x19fafd(0x29b)]=_0x17433a;}}()),_0x4737bb[_0x5ee618(0x2b6)][_0x5ee618(0x33e)];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0x2776ba(0x24b)],_i;function ur(){var _0xac7450=_0x2776ba;return _i||(_i=0x1,function(_0x33856a,_0x219c93){(function(_0x1c3ca1,_0x5d41c8,_0x273359){var _0x3a7493=_0x533f;_0x33856a[_0x3a7493(0x24b)]=_0x5d41c8(ne(),xi());}(lr,function(_0x47a9f8){var _0x2eef6e=_0x533f;return _0x47a9f8[_0x2eef6e(0x361)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x47a9f8[_0x2eef6e(0x361)][_0x2eef6e(0x253)];}));}(et)),et[_0xac7450(0x24b)];}var dr=ur();function _0x533f(_0xf72989,_0x439c94){var _0x52c6bb=_0x52c6();return _0x533f=function(_0x533fb3,_0x455929){_0x533fb3=_0x533fb3-0x179;var _0x5ae149=_0x52c6bb[_0x533fb3];return _0x5ae149;},_0x533f(_0xf72989,_0x439c94);}const fr=ke(dr);function vr(_0x83645f,_0x1ff38b){var _0x3874ef=_0x2776ba;const _0xd39eaf=_0x1ff38b-_0x83645f[_0x3874ef(0x2a6)]%_0x1ff38b,_0x24e899=String[_0x3874ef(0x310)](_0xd39eaf)[_0x3874ef(0x3b1)](_0xd39eaf);return _0x83645f+_0x24e899;}function pr(_0x3a98dd,_0x1d7e5f){var _0x532500=_0x2776ba;const _0x539dac=_r[_0x532500(0x3fa)](0x10),_0x5e998b=vr(_0x3a98dd,0x10),_0x281cb8=tr['encrypt'](or[_0x532500(0x3b0)](_0x5e998b),ai[_0x532500(0x3b0)](_0x1d7e5f),{'iv':_0x539dac,'padding':fr});return _0x539dac[_0x532500(0x2fb)](_0x281cb8[_0x532500(0x1fa)])[_0x532500(0x39a)](ai);}function mr(){var _0x1f1521=_0x2776ba;const _0x367ec1=_0x18fd3a()[_0x1f1521(0x3b2)];if(_0x367ec1){const _0xd20a2c={'time':Math[_0x1f1521(0x2b2)](Date[_0x1f1521(0x245)]()/0x3e8),'domain':location[_0x1f1521(0x357)]};return pr(JSON[_0x1f1521(0x231)](_0xd20a2c),_0x367ec1);}}var gr=Object[_0x2776ba(0x282)],Sr=Object[_0x2776ba(0x236)],Er=(_0xc9a059,_0x399430,_0x541e38,_0x3d9ae0)=>{for(var _0x353bef=_0x3d9ae0>0x1?void 0x0:_0x3d9ae0?Sr(_0x399430,_0x541e38):_0x399430,_0x3ad45e=_0xc9a059['length']-0x1,_0x79513b;_0x3ad45e>=0x0;_0x3ad45e--)(_0x79513b=_0xc9a059[_0x3ad45e])&&(_0x353bef=(_0x3d9ae0?_0x79513b(_0x399430,_0x541e38,_0x353bef):_0x79513b(_0x353bef))||_0x353bef);return _0x3d9ae0&&_0x353bef&&gr(_0x399430,_0x541e38,_0x353bef),_0x353bef;},Ir=(_0x52f717,_0x53a5fb)=>(_0x39c7b1,_0x429f33)=>_0x53a5fb(_0x39c7b1,_0x429f33,_0x52f717);let at=class{constructor(_0x3c03e8){var _0x1cca6a=_0x2776ba;this[_0x1cca6a(0x283)]=_0x3c03e8,this[_0x1cca6a(0x41c)]();}[_0x2776ba(0x41c)](){var _0x526be4=_0x2776ba;this[_0x526be4(0x283)]['registerHTTPInterceptor']({'interceptor':(_0x1031bf,_0x2cf407)=>{var _0x50b836=_0x526be4;const _0x36f187=_0x1031bf['headers'],_0x461961=mr();return _0x461961&&_0x36f187[_0x50b836(0x189)](_0x50b836(0x301),_0x461961),_0x2cf407(_0x1031bf);}});}};at=Er([Ir(0x0,_0xad32f2(_0x3d73d7))],at);var Tr=Object[_0x2776ba(0x282)],Cr=Object[_0x2776ba(0x236)],br=(_0x10e8c0,_0x4319d2,_0x5d393a,_0x222f1b)=>{var _0x33ebd2=_0x2776ba;for(var _0x408725=_0x222f1b>0x1?void 0x0:_0x222f1b?Cr(_0x4319d2,_0x5d393a):_0x4319d2,_0x13eb14=_0x10e8c0[_0x33ebd2(0x2a6)]-0x1,_0x377136;_0x13eb14>=0x0;_0x13eb14--)(_0x377136=_0x10e8c0[_0x13eb14])&&(_0x408725=(_0x222f1b?_0x377136(_0x4319d2,_0x5d393a,_0x408725):_0x377136(_0x408725))||_0x408725);return _0x222f1b&&_0x408725&&Tr(_0x4319d2,_0x5d393a,_0x408725),_0x408725;},gt=(_0x33ffc1,_0x35be0a)=>(_0x3d8bcd,_0x2906aa)=>_0x35be0a(_0x3d8bcd,_0x2906aa,_0x33ffc1);let Ot=class extends _0x3fbf91{constructor(_0x54b424,_0xdd10a2,_0x240b24){var _0x5069d7=_0x2776ba;super(),N(this,_0x5069d7(0x276),new _0x5f0741(null)),N(this,'unitInfo$',this[_0x5069d7(0x276)][_0x5069d7(0x340)]()),(this[_0x5069d7(0x1d7)]=_0x54b424,this[_0x5069d7(0x2e3)]=_0xdd10a2,this[_0x5069d7(0x2d6)]=_0x240b24);}async['loadUnit'](_0x535475,_0x6db479,_0x1920b0){var _0x35a48e=_0x2776ba;this[_0x35a48e(0x276)][_0x35a48e(0x445)]({'unitId':_0x535475,'type':_0x6db479,'subUnitId':_0x1920b0});let _0x2ba33f=null;switch(_0x6db479){case Q[_0x35a48e(0x40d)]:{_0x2ba33f=await this[_0x35a48e(0x46a)](_0x535475);break;}case Q[_0x35a48e(0x3f8)]:{_0x2ba33f=await this[_0x35a48e(0x389)](_0x535475);break;}default:{this[_0x35a48e(0x1d7)][_0x35a48e(0x341)](_0x35a48e(0x2be),_0x35a48e(0x208));break;}}return _0x2ba33f;}async[_0x2776ba(0x46a)](_0x537c13){var _0x539b3e=_0x2776ba,_0x400aa5;let _0x422731=0x0;const _0x3c27fe=await((_0x400aa5=this[_0x539b3e(0x2d6)])==null?void 0x0:_0x400aa5[_0x539b3e(0x1bb)](_0x537c13));return _0x3c27fe&&(_0x3c27fe['awaitingChangeset']||_0x3c27fe[_0x539b3e(0x273)]['length']!==0x0)&&(_0x422731=_0x3c27fe[_0x539b3e(0x408)]),_0x422731===0x0&&this[_0x539b3e(0x1d7)][_0x539b3e(0x1be)](_0x539b3e(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x539b3e(0x2e3)]['loadSheet'](_0x537c13,_0x422731);}async['_loadDoc'](_0x4d095f){var _0x174a85=_0x2776ba,_0x5dfe06;let _0x38a02f=0x0;const _0x18044f=await((_0x5dfe06=this[_0x174a85(0x2d6)])==null?void 0x0:_0x5dfe06[_0x174a85(0x1bb)](_0x4d095f));return _0x18044f&&(_0x18044f['awaitingChangeset']||_0x18044f['mutations'][_0x174a85(0x2a6)]!==0x0)&&(_0x38a02f=_0x18044f[_0x174a85(0x408)]),_0x38a02f===0x0&&this['_logService'][_0x174a85(0x1be)](_0x174a85(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x4d095f,_0x38a02f);}};Ot=br([gt(0x0,_0x3b0698),gt(0x1,_0xad32f2(_0x5187c9)),gt(0x2,_0x122f64(X))],Ot);var Rr=Object[_0x2776ba(0x282)],yr=Object[_0x2776ba(0x236)],Or=(_0x24dd96,_0x19d0b9,_0x2202ba,_0x30ee35)=>{var _0x55d763=_0x2776ba;for(var _0x1d671f=_0x30ee35>0x1?void 0x0:_0x30ee35?yr(_0x19d0b9,_0x2202ba):_0x19d0b9,_0x2260cc=_0x24dd96[_0x55d763(0x2a6)]-0x1,_0x5ab3a0;_0x2260cc>=0x0;_0x2260cc--)(_0x5ab3a0=_0x24dd96[_0x2260cc])&&(_0x1d671f=(_0x30ee35?_0x5ab3a0(_0x19d0b9,_0x2202ba,_0x1d671f):_0x5ab3a0(_0x1d671f))||_0x1d671f);return _0x30ee35&&_0x1d671f&&Rr(_0x19d0b9,_0x2202ba,_0x1d671f),_0x1d671f;},St=(_0x22c933,_0x2b85b6)=>(_0x5e9be1,_0x3f26df)=>_0x2b85b6(_0x5e9be1,_0x3f26df,_0x22c933);const Pr=['image/png','image/jpeg',_0x2776ba(0x298),_0x2776ba(0x18f),'image/bmp'],Nr=0x5*0x400*0x400,Dr=_0x2776ba(0x1ad),wr=_0x2776ba(0x2af),Ur=_0x2776ba(0x1b2),Ar=_0x2776ba(0x3c2);let Pt=class{constructor(_0x3bcb38,_0x151d79,_0x8c22b0){var _0x1f8c1c=_0x2776ba;N(this,'_waitCount',0x0),N(this,_0x1f8c1c(0x367),new _0x119eaf()),N(this,'change$',this[_0x1f8c1c(0x367)]),N(this,_0x1f8c1c(0x40c),new Map()),(this[_0x1f8c1c(0x283)]=_0x3bcb38,this[_0x1f8c1c(0x45d)]=_0x151d79,this[_0x1f8c1c(0x1b3)]=_0x8c22b0);}[_0x2776ba(0x2ff)](_0x15eae2){var _0x46801e=_0x2776ba;this[_0x46801e(0x1d5)]=_0x15eae2,this[_0x46801e(0x367)][_0x46801e(0x445)](_0x15eae2);}[_0x2776ba(0x1cf)](_0x523d58,_0xa0ff61){var _0x1847e4=_0x2776ba;if(_0xa0ff61===_0x1be747[_0x1847e4(0x43b)]){const _0x148ee2=new Image();return _0x148ee2['src']=_0x523d58,_0x148ee2;}return this[_0x1847e4(0x40c)][_0x1847e4(0x190)](_0x523d58);}[_0x2776ba(0x2c5)](_0x56a198,_0x1cce5b,_0x2ccefd){var _0x3b058a=_0x2776ba;_0x1cce5b===_0x1be747['BASE64']||_0x2ccefd==null||this[_0x3b058a(0x40c)][_0x3b058a(0x189)](_0x56a198,_0x2ccefd);}async[_0x2776ba(0x1ff)](_0x4a3e18){var _0x5acc05=_0x2776ba;try{const _0x287840=this['_replaceFileID'](this[_0x5acc05(0x2a0)](),''+_0x4a3e18),_0x9809ed=(await this[_0x5acc05(0x283)][_0x5acc05(0x190)](_0x287840))[_0x5acc05(0x39b)];if(_0x9809ed['error']&&_0x9809ed['error'][_0x5acc05(0x228)]===Ti['OK']){const _0x3aee99=new URL(_0x9809ed[_0x5acc05(0x351)],this['_getDownloadEndpointURL']())[_0x5acc05(0x39a)]();return Promise[_0x5acc05(0x36f)](_0x3aee99);}return Promise[_0x5acc05(0x309)](_0x9809ed[_0x5acc05(0x341)]);}catch(_0x40c156){return Promise[_0x5acc05(0x309)](_0x40c156);}}async[_0x2776ba(0x1a8)](_0x37b20e){var _0x4fb51d=_0x2776ba;let _0x47c243='';if(!Pr['includes'](_0x37b20e[_0x4fb51d(0x33a)]))return this['_decreaseWaiting'](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x3ee)]));if(_0x37b20e[_0x4fb51d(0x44d)]>Nr)return this[_0x4fb51d(0x28d)](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x34a)]));try{const _0x17e35e=new FormData();_0x17e35e[_0x4fb51d(0x19a)]('file',_0x37b20e);const _0x52d6b1=this[_0x4fb51d(0x1b3)][_0x4fb51d(0x1b5)](),_0x583e2c=_0x52d6b1==null?void 0x0:_0x52d6b1['getUnitId']();if(!_0x583e2c)throw new Error(_0x4fb51d(0x2cd));const _0x5dacf9=this[_0x4fb51d(0x456)]()+_0x4fb51d(0x437)+_0x37b20e[_0x4fb51d(0x44d)][_0x4fb51d(0x39a)]()+_0x4fb51d(0x38b)+Ci[_0x4fb51d(0x3b6)]+_0x4fb51d(0x1d8)+encodeURIComponent(_0x583e2c),_0x1fb437=await(await fetch(_0x5dacf9,{'method':_0x4fb51d(0x3bd),'body':_0x17e35e}))[_0x4fb51d(0x3cd)]();if(typeof _0x1fb437['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x1ec)]));_0x47c243=_0x1fb437[_0x4fb51d(0x333)];}catch{return this[_0x4fb51d(0x28d)](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x1ec)]));}return new Promise((_0xb2f3e0,_0xab7b4f)=>{var _0x4f9719=_0x4fb51d;const _0x114e13=new FileReader();_0x114e13[_0x4f9719(0x20d)](_0x37b20e),_0x114e13[_0x4f9719(0x3bb)]=_0x203284=>{var _0x2b039f=_0x4f9719,_0xd820e3;const _0x2fe01d=(_0xd820e3=_0x203284[_0x2b039f(0x220)])==null?void 0x0:_0xd820e3[_0x2b039f(0x474)];if(_0x2fe01d==null){this['_decreaseWaiting'](),_0xab7b4f(new Error(_0x3db4e2[_0x2b039f(0x1ec)]));return;}const _0xd84098=_0x25d273['generateRandomId'](0x6);_0xb2f3e0({'imageId':_0xd84098,'imageSourceType':_0x1be747[_0x2b039f(0x1fb)],'source':_0x47c243,'base64Cache':_0x2fe01d,'status':_0x3db4e2[_0x2b039f(0x3dd)]}),this['_decreaseWaiting']();};});}[_0x2776ba(0x456)](){var _0x4273ec=_0x2776ba,_0x3c181a,_0x31b0c5;const _0xc47374=this[_0x4273ec(0x45d)][_0x4273ec(0x27b)](Dr),_0x34db1c=this[_0x4273ec(0x45d)]['getConfig'](Y);return(_0x31b0c5=(_0x3c181a=_0x34db1c==null?void 0x0:_0x34db1c[_0x4273ec(0x401)])!=null?_0x3c181a:_0xc47374)!=null?_0x31b0c5:wr;}[_0x2776ba(0x2a0)](){var _0x6cbb25=_0x2776ba,_0x3eae07,_0x16a2c3;const _0x249922=this[_0x6cbb25(0x45d)][_0x6cbb25(0x27b)](Ur),_0x384269=this[_0x6cbb25(0x45d)][_0x6cbb25(0x27b)](Y);return(_0x16a2c3=(_0x3eae07=_0x384269==null?void 0x0:_0x384269[_0x6cbb25(0x2c3)])!=null?_0x3eae07:_0x249922)!=null?_0x16a2c3:Ar;}[_0x2776ba(0x3a4)](){var _0x55a0ea=_0x2776ba,_0x5e5c4e;const _0x1e9da4=this[_0x55a0ea(0x45d)][_0x55a0ea(0x27b)](Y);return(_0x5e5c4e=_0x1e9da4==null?void 0x0:_0x1e9da4[_0x55a0ea(0x41f)])!=null?_0x5e5c4e:location['origin'];}['_replaceFileID'](_0x22becd,_0x5529cf){var _0x4655db=_0x2776ba;return _0x22becd[_0x4655db(0x348)](_0x4655db(0x2ad),_0x5529cf);}[_0x2776ba(0x28d)](){var _0x2f8287=_0x2776ba;this[_0x2f8287(0x1d5)]-=0x1,this[_0x2f8287(0x367)]['next'](this[_0x2f8287(0x1d5)]);}};Pt=Or([St(0x0,_0xad32f2(_0x3d73d7)),St(0x1,_0x5aacb0),St(0x2,_0xad32f2(_0x16c691))],Pt);var xr=Object[_0x2776ba(0x282)],Lr=Object[_0x2776ba(0x236)],Mr=(_0x418c89,_0xc8397c,_0x13009d,_0xaec90b)=>{for(var _0x5b39d3=_0xaec90b>0x1?void 0x0:_0xaec90b?Lr(_0xc8397c,_0x13009d):_0xc8397c,_0x26db6a=_0x418c89['length']-0x1,_0x25cbd5;_0x26db6a>=0x0;_0x26db6a--)(_0x25cbd5=_0x418c89[_0x26db6a])&&(_0x5b39d3=(_0xaec90b?_0x25cbd5(_0xc8397c,_0x13009d,_0x5b39d3):_0x25cbd5(_0x5b39d3))||_0x5b39d3);return _0xaec90b&&_0x5b39d3&&xr(_0xc8397c,_0x13009d,_0x5b39d3),_0x5b39d3;},li=(_0x4cc213,_0xdf0724)=>(_0x313106,_0x12d2ed)=>_0xdf0724(_0x313106,_0x12d2ed,_0x4cc213);const $r=_0x2776ba(0x22a);let Nt=class{constructor(_0x5d599a,_0x1c3780){var _0x5e8bbe=_0x2776ba;this[_0x5e8bbe(0x45d)]=_0x5d599a,this['_HTTPService']=_0x1c3780;}[_0x2776ba(0x2c9)](){var _0x43075f=_0x2776ba,_0x3600e5,_0x27f746;const _0xdaca7d=this[_0x43075f(0x45d)]['getConfig'](wi),_0x537498=this[_0x43075f(0x45d)][_0x43075f(0x27b)](Y);return(_0x27f746=(_0x3600e5=_0x537498==null?void 0x0:_0x537498[_0x43075f(0x33b)])!=null?_0x3600e5:_0xdaca7d)!=null?_0x27f746:$r;}async['list'](_0x56aa75){var _0x5065ad=_0x2776ba;const _0xfb1a36=this[_0x5065ad(0x2c9)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0xfb1a36,{'params':{'objectID':_0x56aa75[_0x5065ad(0x246)],'unitID':_0x56aa75[_0x5065ad(0x246)]}}))[_0x5065ad(0x39b)]['collaborators'][_0x5065ad(0x25c)](_0xc5e780=>({'objectId':_0xc5e780['id'],'name':_0xc5e780['subject'][_0x5065ad(0x3b3)],'metadata':{'icon':_0xc5e780[_0x5065ad(0x1f3)][_0x5065ad(0x249)]},'label':_0xc5e780['subject'][_0x5065ad(0x3b3)],'objectType':_0x2114f1[_0x5065ad(0x209)]})),'metadata':{},'type':_0x2114f1[_0x5065ad(0x209)]}]};}};Nt=Mr([li(0x0,_0xad32f2(_0x5aacb0)),li(0x1,_0xad32f2(_0x3d73d7))],Nt);var Hr=Object[_0x2776ba(0x282)],kr=Object[_0x2776ba(0x236)],jr=(_0x58d9ab,_0xfe21e0,_0x56304c,_0x30892c)=>{for(var _0x551bdd=_0x30892c>0x1?void 0x0:_0x30892c?kr(_0xfe21e0,_0x56304c):_0xfe21e0,_0x3f92d2=_0x58d9ab['length']-0x1,_0x5ad39a;_0x3f92d2>=0x0;_0x3f92d2--)(_0x5ad39a=_0x58d9ab[_0x3f92d2])&&(_0x551bdd=(_0x30892c?_0x5ad39a(_0xfe21e0,_0x56304c,_0x551bdd):_0x5ad39a(_0x551bdd))||_0x551bdd);return _0x30892c&&_0x551bdd&&Hr(_0xfe21e0,_0x56304c,_0x551bdd),_0x551bdd;},Se=(_0x4dd57d,_0x5a1f30)=>(_0x259079,_0x54c94d)=>_0x5a1f30(_0x259079,_0x54c94d,_0x4dd57d);let ct=class extends _0x3fbf91{constructor(_0x5a82e3,_0x501284,_0x1bb977,_0x1125c5,_0x4eaeaf,_0x3c98ff,_0x203685){var _0x3a2c7a=_0x2776ba;super(),this[_0x3a2c7a(0x38a)]=_0x5a82e3,this[_0x3a2c7a(0x1b3)]=_0x501284,this[_0x3a2c7a(0x2f6)]=_0x1bb977,this['_collaborationSessionService']=_0x1125c5,this['_collaborationUIEventService']=_0x4eaeaf,this[_0x3a2c7a(0x27f)]=_0x3c98ff,this[_0x3a2c7a(0x17f)]=_0x203685,this[_0x3a2c7a(0x1dc)](),this['_initCloseConn']();}[_0x2776ba(0x1ce)](){var _0x28dd5d=_0x2776ba;const _0x47f3f9=async _0x3ab8ed=>{var _0x4ebd65=_0x533f;(await this[_0x4ebd65(0x17b)][_0x4ebd65(0x43d)](_0x3ab8ed))[_0x4ebd65(0x35e)][_0x4ebd65(0x419)](_0x3994ac(_0x51269f=>_0x51269f[_0x4ebd65(0x299)]===_0x46c53f[_0x4ebd65(0x42e)]),_0x526c8f(this[_0x4ebd65(0x1f2)]))['subscribe'](_0x4bfa25=>{var _0x414d14=_0x4ebd65;const _0x2265cd=_0x4bfa25,{reason:_0x4ea20f}=_0x2265cd[_0x414d14(0x3b8)];this['_collaborationUIEventService'][_0x414d14(0x1cc)]({'id':re['CLOSE_ROOM'],'data':_0x4ea20f}),this[_0x414d14(0x2f6)][_0x414d14(0x3ad)](new _0x1f9850(_0x3ab8ed)['id'],!0x1),this[_0x414d14(0x17b)][_0x414d14(0x1b6)](_0x3ab8ed);});};_0x207695(this[_0x28dd5d(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35['UNIVER_SHEET']),this[_0x28dd5d(0x1b3)][_0x28dd5d(0x30c)](_0x471c35[_0x28dd5d(0x3f8)]))['pipe'](_0x554d4a(_0x140bdd=>_0x140bdd[_0x28dd5d(0x3d2)]()),_0x3994ac(_0x5608c9=>!_0x3760ff(_0x5608c9)),_0x526c8f(this[_0x28dd5d(0x1f2)]))['subscribe'](_0x3c410c=>{_0x47f3f9(_0x3c410c);});}[_0x2776ba(0x1dc)](){var _0x325784=_0x2776ba;const _0x977118=async _0x37fa19=>{var _0x2f0b03=_0x533f;(await this[_0x2f0b03(0x17b)][_0x2f0b03(0x43d)](_0x37fa19))[_0x2f0b03(0x35e)][_0x2f0b03(0x419)](_0x3994ac(_0x5d358e=>_0x5d358e[_0x2f0b03(0x299)]===_0x46c53f[_0x2f0b03(0x2a2)]),_0x526c8f(this[_0x2f0b03(0x1f2)]))[_0x2f0b03(0x20f)](_0x4e290a=>{var _0x5f2444=_0x2f0b03;const _0x4e9303=_0x4e290a,{objectId:_0x195ead}=_0x4e9303[_0x5f2444(0x3b8)];_0x195ead===_0x37fa19?this[_0x5f2444(0x22b)](_0x37fa19):this['refreshPermission'](_0x37fa19,_0x195ead);});};_0x207695(this[_0x325784(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35[_0x325784(0x40d)]),this[_0x325784(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35[_0x325784(0x3f8)]))['pipe'](_0x554d4a(_0x24a285=>_0x24a285['getUnitId']()),_0x3994ac(_0x1172db=>!_0x3760ff(_0x1172db)),_0x526c8f(this[_0x325784(0x1f2)]))[_0x325784(0x20f)](_0x4a59d1=>{_0x977118(_0x4a59d1);});}async[_0x2776ba(0x22b)](_0x45101e){var _0x54a5a6=_0x2776ba,_0x150b6c;const _0x351c83=_0x45101e||((_0x150b6c=this[_0x54a5a6(0x1b3)]['getCurrentUnitForType'](_0x471c35[_0x54a5a6(0x40d)]))==null?void 0x0:_0x150b6c['getUnitId']());_0x351c83&&this['_authzIoService'][_0x54a5a6(0x237)]({'objectID':_0x351c83,'objectType':_0x2f480e[_0x54a5a6(0x25d)],'unitID':_0x351c83,'actions':_0x369f6d})[_0x54a5a6(0x3aa)](_0x59981d=>{var _0x211334=_0x54a5a6;_0x29d829()[_0x211334(0x294)](_0x4e0f2e=>{var _0xa8c820=_0x211334;const _0x2eb4cb=new _0x4e0f2e(_0x351c83),_0x4d3a6e=_0x2eb4cb['subType'],_0x4db76a=_0x59981d[_0xa8c820(0x337)](_0x3f70d6=>_0x3f70d6['action']===_0x4d3a6e);_0x4db76a&&this[_0xa8c820(0x2f6)]['updatePermissionPoint'](_0x2eb4cb['id'],_0x4db76a[_0xa8c820(0x237)]);});});}[_0x2776ba(0x19d)](_0x2adce3,_0x79a649){var _0x86a5fa=_0x2776ba;const _0x186e11=this[_0x86a5fa(0x38a)][_0x86a5fa(0x190)](_0x21d734),_0x2d2cb1=_0x186e11[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);let _0x550cf5=!0x1;if(_0x2d2cb1){const [_0x50c640,_0xaf7fc2]=_0x2d2cb1;this[_0x86a5fa(0x27f)][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x2f7)],'actions':_0x288263})['then'](_0x424b2b=>{var _0x3a7dcc=_0x86a5fa;let _0x347880='';_0x4d3518()[_0x3a7dcc(0x294)](_0x18b038=>{var _0x24b8c5=_0x3a7dcc,_0x39aec4;const _0x2b3aee=new _0x18b038(_0x2adce3,_0xaf7fc2),_0x544d7d=_0x2b3aee[_0x24b8c5(0x22f)],_0xa364ea=_0x424b2b[_0x24b8c5(0x337)](_0x2b9409=>_0x2b9409[_0x24b8c5(0x1e8)]===_0x544d7d);_0xa364ea&&(((_0x39aec4=this['_permissionService'][_0x24b8c5(0x2d7)](_0x2b3aee['id']))==null?void 0x0:_0x39aec4[_0x24b8c5(0x300)])!==_0xa364ea[_0x24b8c5(0x237)]&&(_0x550cf5=!0x0),this['_permissionService'][_0x24b8c5(0x3ad)](_0x2b3aee['id'],_0xa364ea[_0x24b8c5(0x237)]),_0x347880+=_0xa364ea[_0x24b8c5(0x1e8)]+'_'+_0xa364ea[_0x24b8c5(0x237)]);}),_0x186e11[_0x3a7dcc(0x404)](_0x79a649+'_'+_0x347880),_0x550cf5&&this[_0x3a7dcc(0x17f)][_0x3a7dcc(0x18b)](_0x2adce3);});}const _0x3a2510=this[_0x86a5fa(0x38a)]['get'](_0x51f3b0)[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);if(_0x3a2510){const [_0x5944de,_0x1ef24c]=_0x3a2510;this['_authzIoService'][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x2f7)],'actions':_0x364719})[_0x86a5fa(0x3aa)](_0x504b96=>{var _0x148a54=_0x86a5fa;_0x27176b()[_0x148a54(0x294)](_0x5ed721=>{var _0x55732f=_0x148a54,_0x213510;const _0x533ef9=new _0x5ed721(_0x2adce3,_0x1ef24c),_0x70db57=_0x533ef9['subType'],_0x55be52=_0x504b96[_0x55732f(0x337)](_0x2dd237=>_0x2dd237[_0x55732f(0x1e8)]===_0x70db57);_0x55be52&&(((_0x213510=this[_0x55732f(0x2f6)][_0x55732f(0x2d7)](_0x533ef9['id']))==null?void 0x0:_0x213510[_0x55732f(0x300)])!==_0x55be52[_0x55732f(0x237)]&&(_0x550cf5=!0x0),this['_permissionService'][_0x55732f(0x3ad)](_0x533ef9['id'],_0x55be52[_0x55732f(0x237)]));}),_0x550cf5&&this['_undoRedoService'][_0x148a54(0x18b)](_0x2adce3);});}const _0x409f38=this[_0x86a5fa(0x38a)]['get'](_0xf49ef6),_0x4aa202=_0x409f38[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);if(_0x4aa202){const [_0x13139a,_0x153bf5]=_0x4aa202;this[_0x86a5fa(0x27f)][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x475)],'actions':_0x288263})[_0x86a5fa(0x3aa)](_0x13f644=>{var _0x1981ab=_0x86a5fa;let _0x43c1b9='';_0x220b25()[_0x1981ab(0x294)](_0x249ac3=>{var _0x36cbca=_0x1981ab,_0x286e8b;const _0x219ca8=new _0x249ac3(_0x2adce3,_0x153bf5,_0x79a649),_0x32d196=_0x219ca8[_0x36cbca(0x22f)],_0xf4d5c8=_0x13f644[_0x36cbca(0x337)](_0x589ddd=>_0x589ddd[_0x36cbca(0x1e8)]===_0x32d196);_0xf4d5c8&&(((_0x286e8b=this[_0x36cbca(0x2f6)]['getPermissionPoint'](_0x219ca8['id']))==null?void 0x0:_0x286e8b[_0x36cbca(0x300)])!==_0xf4d5c8['allowed']&&(_0x550cf5=!0x0),this[_0x36cbca(0x2f6)][_0x36cbca(0x3ad)](_0x219ca8['id'],_0xf4d5c8['allowed']),_0x43c1b9+=_0xf4d5c8[_0x36cbca(0x1e8)]+'_'+_0xf4d5c8[_0x36cbca(0x237)]);}),_0x409f38[_0x1981ab(0x404)](_0x79a649+'_'+_0x43c1b9),_0x550cf5&&this[_0x1981ab(0x17f)]['clearUndoRedo'](_0x2adce3);});}}};ct=jr([Se(0x0,_0xad32f2(_0x237237)),Se(0x1,_0x16c691),Se(0x2,_0x39f738),Se(0x3,_0xad32f2(Le)),Se(0x4,_0xad32f2(pe)),Se(0x5,_0x86fc7f),Se(0x6,_0x3d484f)],ct);var Br=Object[_0x2776ba(0x282)],Fr=Object[_0x2776ba(0x236)],Vr=(_0x40e731,_0x3b712d,_0x56cf27,_0x2c1590)=>{for(var _0x4b32be=_0x2c1590>0x1?void 0x0:_0x2c1590?Fr(_0x3b712d,_0x56cf27):_0x3b712d,_0x1b8bba=_0x40e731['length']-0x1,_0x353ef8;_0x1b8bba>=0x0;_0x1b8bba--)(_0x353ef8=_0x40e731[_0x1b8bba])&&(_0x4b32be=(_0x2c1590?_0x353ef8(_0x3b712d,_0x56cf27,_0x4b32be):_0x353ef8(_0x4b32be))||_0x4b32be);return _0x2c1590&&_0x4b32be&&Br(_0x3b712d,_0x56cf27,_0x4b32be),_0x4b32be;},ui=(_0x3f9edd,_0x46d847)=>(_0xa37e22,_0x6f691c)=>_0x46d847(_0xa37e22,_0x6f691c,_0x3f9edd);let Dt=class{constructor(_0x313168,_0x30f968){var _0x34a118=_0x2776ba;this[_0x34a118(0x45d)]=_0x313168,this[_0x34a118(0x283)]=_0x30f968;}async[_0x2776ba(0x441)](_0x1d706,_0x4812c2){var _0x8ca324=_0x2776ba,_0x22fee1;const {unitID:_0x67071d,type:_0x5f056a,revision:_0x13ca61=0x0}=_0x4812c2,_0x3b428a=this['getSnapshotAPIPath']()+'/'+_0x5f056a+'/unit/'+_0x67071d+'/rev/'+_0x13ca61,_0x4fce6a=(await this[_0x8ca324(0x283)][_0x8ca324(0x190)](_0x3b428a))[_0x8ca324(0x39b)],_0xad6df7=(_0x22fee1=_0x4fce6a[_0x8ca324(0x180)])==null?void 0x0:_0x22fee1[_0x8ca324(0x436)];if(_0xad6df7){const _0x21344a=_0xad6df7==null?void 0x0:_0xad6df7['originalMeta'],_0x4bcee6=_0x5dc421['encode'](_0x2d8599(_0x21344a));_0xad6df7[_0x8ca324(0x1a7)]=_0x4bcee6,Object[_0x8ca324(0x1f5)](_0xad6df7[_0x8ca324(0x28b)])[_0x8ca324(0x294)](([,_0x5a3ffd])=>{var _0x52a5fb=_0x8ca324;const _0x5ec3c9=_0x5a3ffd['originalMeta'],_0x13c685=_0x5dc421[_0x52a5fb(0x23d)](_0x2d8599(_0x5ec3c9));_0x5a3ffd[_0x52a5fb(0x1a7)]=_0x13c685;});}return _0x4fce6a;}async[_0x2776ba(0x270)](_0x39379b,_0x895d5d){var _0x339cf9=_0x2776ba;const {unitID:_0x1cca31,type:_0x554273,blockID:_0x5b741c}=_0x895d5d,_0x43f353=this[_0x339cf9(0x302)]()+'/'+_0x554273+_0x339cf9(0x366)+_0x1cca31+'/block/'+_0x5b741c;return(await this[_0x339cf9(0x283)][_0x339cf9(0x190)](_0x43f353))[_0x339cf9(0x39b)];}async['getDeserializedSheetBlock'](_0x28ba0b,_0x39190d){var _0x36d85d=_0x2776ba;const {unitID:_0x20affc,type:_0x30d167,blockID:_0x30fb98}=_0x39190d,_0x439e0c=this[_0x36d85d(0x302)]()+_0x36d85d(0x3c5)+_0x30d167+_0x36d85d(0x366)+_0x20affc+_0x36d85d(0x3c5)+_0x30fb98;return(await this[_0x36d85d(0x283)][_0x36d85d(0x190)](_0x439e0c))[_0x36d85d(0x39b)];}async[_0x2776ba(0x3a9)](_0x427487,_0x59bf94){var _0x376215=_0x2776ba;const {unitID:_0x27f1df,type:_0x3b25c5,from:_0x40fe3e,to:_0xfcf903}=_0x59bf94,_0xebc10c=this[_0x376215(0x302)]()+'/'+_0x3b25c5+'/unit/'+_0x27f1df+_0x376215(0x19e)+_0x40fe3e+_0x376215(0x471)+_0xfcf903;return(await this[_0x376215(0x283)][_0x376215(0x190)](_0xebc10c))[_0x376215(0x39b)];}['getSnapshotAPIPath'](){var _0x4c1f36=_0x2776ba,_0x5a98ca;return(_0x5a98ca=this[_0x4c1f36(0x45d)][_0x4c1f36(0x27b)](Dn))!=null?_0x5a98ca:this['_getAPIPrefix']();}[_0x2776ba(0x302)](){var _0x3bccb6=_0x2776ba,_0x547f06,_0x50550e;const _0x59ef6a=this['_configService'][_0x3bccb6(0x27b)](Pn),_0x4cfec=this[_0x3bccb6(0x45d)][_0x3bccb6(0x27b)](Y);return(_0x50550e=(_0x547f06=_0x4cfec==null?void 0x0:_0x4cfec[_0x3bccb6(0x214)])!=null?_0x547f06:_0x59ef6a)!=null?_0x50550e:Nn;}async[_0x2776ba(0x1e7)](_0x33d900,_0x335a4b){var _0x10a5df=_0x2776ba;const _0x23bccd=_0x10a5df(0x41d)+_0x335a4b[_0x10a5df(0x33a)]+_0x10a5df(0x366)+_0x335a4b[_0x10a5df(0x3ed)]+'/resources';return(await this[_0x10a5df(0x283)]['get'](_0x23bccd,{'params':{'resourceId':JSON[_0x10a5df(0x231)](_0x335a4b[_0x10a5df(0x365)])}}))['body'];}[_0x2776ba(0x2cf)](){var _0x287e90=_0x2776ba;throw new Error(_0x287e90(0x2a3));}[_0x2776ba(0x353)](){var _0x184554=_0x2776ba;throw new Error(_0x184554(0x2a3));}[_0x2776ba(0x2d2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2776ba(0x3cb)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2776ba(0x46d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=Vr([ui(0x0,_0x5aacb0),ui(0x1,_0xad32f2(_0x3d73d7))],Dt);var Wr=Object['defineProperty'],Gr=Object[_0x2776ba(0x236)],Kr=(_0xb3ce1d,_0xd8d415,_0x4cc85f,_0x47854a)=>{var _0x1e31e5=_0x2776ba;for(var _0x298f10=_0x47854a>0x1?void 0x0:_0x47854a?Gr(_0xd8d415,_0x4cc85f):_0xd8d415,_0x4a1e0a=_0xb3ce1d[_0x1e31e5(0x2a6)]-0x1,_0x3cff9f;_0x4a1e0a>=0x0;_0x4a1e0a--)(_0x3cff9f=_0xb3ce1d[_0x4a1e0a])&&(_0x298f10=(_0x47854a?_0x3cff9f(_0xd8d415,_0x4cc85f,_0x298f10):_0x3cff9f(_0x298f10))||_0x298f10);return _0x47854a&&_0x298f10&&Wr(_0xd8d415,_0x4cc85f,_0x298f10),_0x298f10;},Ae=(_0x49128a,_0x172b9d)=>(_0x3dd5f1,_0x54cf78)=>_0x172b9d(_0x3dd5f1,_0x54cf78,_0x49128a);let wt=class extends _0x51c279{constructor(_0x3e37fd,_0x2ee35c,_0x15adc4,_0x33bdd5,_0xca24f5){var _0x2b4f02=_0x2776ba;super(_0x3e37fd,_0x2ee35c,_0x15adc4),this[_0x2b4f02(0x203)]=_0x33bdd5,this[_0x2b4f02(0x1d7)]=_0xca24f5;}[_0x2776ba(0x339)](_0x3af0ab,_0x1b5db1){var _0x14765d=_0x2776ba;const _0xb9bd01=this[_0x14765d(0x3d7)](_0x3af0ab);if(_0xb9bd01)try{const _0x1fc176=this[_0x14765d(0x469)](_0xb9bd01,_0x1b5db1);this[_0x14765d(0x3e5)](_0x3af0ab,_0x1fc176);}catch(_0x3fb8b4){this[_0x14765d(0x1d7)]['error'](_0x14765d(0x30a),_0x3fb8b4),this[_0x14765d(0x3f2)](_0x3af0ab);}const _0x1abfd6=this[_0x14765d(0x304)](_0x3af0ab);if(_0x1abfd6)try{const _0x19475b=this[_0x14765d(0x469)](_0x1abfd6,_0x1b5db1);this['_substituteRedoStack'](_0x3af0ab,_0x19475b);}catch(_0x68089d){this[_0x14765d(0x1d7)][_0x14765d(0x341)](_0x68089d),this['_clearRedo'](_0x3af0ab);}}[_0x2776ba(0x3f2)](_0x5ab4f8){var _0x3b8c4b=_0x2776ba;const _0xb32004=this[_0x3b8c4b(0x3d7)](_0x5ab4f8);_0xb32004&&(_0xb32004[_0x3b8c4b(0x2a6)]=0x0,this[_0x3b8c4b(0x181)]());}['_clearRedo'](_0x4d11bb){var _0x1d6be5=_0x2776ba;const _0x297031=this[_0x1d6be5(0x304)](_0x4d11bb);_0x297031&&(_0x297031[_0x1d6be5(0x2a6)]=0x0,this[_0x1d6be5(0x181)]());}[_0x2776ba(0x3e5)](_0x3ae049,_0x1ee1bd){var _0x210d38=_0x2776ba;this[_0x210d38(0x3f4)][_0x210d38(0x189)](_0x3ae049,_0x1ee1bd),this[_0x210d38(0x181)]();}[_0x2776ba(0x207)](_0x526728,_0x290ece){var _0x426118=_0x2776ba;this[_0x426118(0x308)][_0x426118(0x189)](_0x526728,_0x290ece),this['_updateStatus']();}[_0x2776ba(0x469)](_0x805bb5,_0x3a5304){var _0x3d07ee=_0x2776ba;const _0x18d218=[];let _0x1b3409=_0x3a5304,_0x517369=_0x3a5304;for(let _0x2aafe3=_0x805bb5[_0x3d07ee(0x2a6)]-0x1;_0x2aafe3>=0x0;_0x2aafe3--){const {unitID:_0x2c046a,undoMutations:_0x1976c2,redoMutations:_0x2224d3}=_0x805bb5[_0x2aafe3],_0x3ee0ba=this['_transformService'][_0x3d07ee(0x1ed)](_0x1b3409,_0x1976c2),_0x2bde4c=this['_transformService'][_0x3d07ee(0x1ed)](_0x517369,_0x2224d3);if(_0x42721e(_0x3ee0ba)||_0x42721e(_0x2bde4c)){this[_0x3d07ee(0x1d7)][_0x3d07ee(0x341)]('[CollaborationUndoRedoService]',_0x3d07ee(0x403),_0x3ee0ba,_0x2bde4c);break;}_0x1b3409=_0x3ee0ba['c1Prime'],_0x517369=_0x2bde4c['c1Prime'],_0x18d218[_0x3d07ee(0x306)]({'unitID':_0x2c046a,'undoMutations':_0x3ee0ba['m2Prime'],'redoMutations':_0x2bde4c[_0x3d07ee(0x26d)]});}return _0x18d218[_0x3d07ee(0x44a)]();}};wt=Kr([Ae(0x0,_0x16c691),Ae(0x1,_0x36939e),Ae(0x2,_0x3fe93c),Ae(0x3,_0x5c7c3f),Ae(0x4,_0x3b0698)],wt);var Li=Object[_0x2776ba(0x282)],zr=Object[_0x2776ba(0x236)],Yr=(_0x19e212,_0x300ea6,_0x314426)=>_0x300ea6 in _0x19e212?Li(_0x19e212,_0x300ea6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314426}):_0x19e212[_0x300ea6]=_0x314426,qr=(_0x333ff6,_0x1ac59d,_0x57fe40,_0x37f383)=>{var _0x34cc10=_0x2776ba;for(var _0x47bbdd=_0x37f383>0x1?void 0x0:_0x37f383?zr(_0x1ac59d,_0x57fe40):_0x1ac59d,_0x38ad71=_0x333ff6[_0x34cc10(0x2a6)]-0x1,_0x49290e;_0x38ad71>=0x0;_0x38ad71--)(_0x49290e=_0x333ff6[_0x38ad71])&&(_0x47bbdd=(_0x37f383?_0x49290e(_0x1ac59d,_0x57fe40,_0x47bbdd):_0x49290e(_0x47bbdd))||_0x47bbdd);return _0x37f383&&_0x47bbdd&&Li(_0x1ac59d,_0x57fe40,_0x47bbdd),_0x47bbdd;},Et=(_0x12f4a3,_0x37e16)=>(_0x280064,_0xb5c0ba)=>_0x37e16(_0x280064,_0xb5c0ba,_0x12f4a3),Jr=(_0x347e06,_0xd9c372,_0x52a7b9)=>Yr(_0x347e06,_0xd9c372+'',_0x52a7b9);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x3c4407{constructor(_0x38d3e2=Wn,_0x131afa,_0x40adbc,_0xcca48d){var _0x8aea59=_0x2776ba;super(),this['_config']=_0x38d3e2,this[_0x8aea59(0x1d7)]=_0x131afa,this[_0x8aea59(0x38a)]=_0x40adbc,this['_configService']=_0xcca48d;const {..._0x10c869}=this[_0x8aea59(0x30b)];this[_0x8aea59(0x45d)]['setConfig'](Y,_0x10c869);}[_0x2776ba(0x405)](){var _0x2e2796=_0x2776ba;this[_0x2e2796(0x241)](),this[_0x2e2796(0x29c)]();}[_0x2776ba(0x241)](){var _0x2e8445=_0x2776ba,_0x27deac,_0x39db2e,_0x49a04b,_0x3cdbea;this[_0x2e8445(0x38a)][_0x2e8445(0x448)](_0x3d484f)&&this['_logService'][_0x2e8445(0x341)](_0x2e8445(0x31b),_0x2e8445(0x376));const _0x276a76=_0x4915e8([[_0x3d484f,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x39db2e=(_0x27deac=this[_0x2e8445(0x30b)])==null?void 0x0:_0x27deac[_0x2e8445(0x39c)])!=null?_0x39db2e:It}],[_0x1ae103,{'useClass':Dt}],[_0x86fc7f,{'useClass':yt}],[_0x251296,{'useClass':Pt}],[_0x5b2452,{'useClass':Nt}],[rt],[Rt]],(_0x49a04b=this[_0x2e8445(0x30b)])==null?void 0x0:_0x49a04b[_0x2e8445(0x23a)]);if(!((_0x3cdbea=this[_0x2e8445(0x30b)])!=null&&_0x3cdbea[_0x2e8445(0x1d6)])){const _0xf82607=_0x276a76['findIndex'](([_0x45c742])=>_0x45c742===_t);_0xf82607!==-0x1&&_0x276a76[_0x2e8445(0x31c)](_0xf82607,0x1);}_0x2f5c27(this['_injector'],_0x276a76);}[_0x2776ba(0x29c)](){var _0x32ce81=_0x2776ba,_0x363038,_0x40dd58,_0x17383d;this[_0x32ce81(0x38a)][_0x32ce81(0x190)](_0x3d73d7)[_0x32ce81(0x24c)]({'priority':0x14,'interceptor':_0xb3f1({'maxParallel':0x6})}),(_0x363038=this[_0x32ce81(0x30b)])!=null&&_0x363038[_0x32ce81(0x3a1)]||(_0x40dd58=this[_0x32ce81(0x38a)][_0x32ce81(0x190)](X,_0x2f87b6[_0x32ce81(0x3d4)]))==null||_0x40dd58[_0x32ce81(0x233)](),(_0x17383d=this[_0x32ce81(0x30b)])!=null&&_0x17383d[_0x32ce81(0x2de)]&&_0x199992(this[_0x32ce81(0x38a)],[[ot]]),_0x199992(this[_0x32ce81(0x38a)],[[at],[rt],[ct]]);}};Jr(Ut,_0x2776ba(0x429),Xr),Ut=qr([_0x5dabf5(_0x31a91e,_0x55f85f,_0x58051c),Et(0x1,_0x3b0698),Et(0x2,_0xad32f2(_0x237237)),Et(0x3,_0x5aacb0)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Ne as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0xc11182=_0x7b62;(function(_0x551772,_0x193ff7){var _0x421ab2=_0x7b62,_0x5e0c5a=_0x551772();while(!![]){try{var _0x17a253=parseInt(_0x421ab2(0x21b))/0x1*(parseInt(_0x421ab2(0xbe))/0x2)+-parseInt(_0x421ab2(0x265))/0x3+parseInt(_0x421ab2(0x2e7))/0x4+parseInt(_0x421ab2(0x2df))/0x5+-parseInt(_0x421ab2(0x379))/0x6*(parseInt(_0x421ab2(0x210))/0x7)+parseInt(_0x421ab2(0x13d))/0x8*(-parseInt(_0x421ab2(0x15f))/0x9)+parseInt(_0x421ab2(0x32c))/0xa*(parseInt(_0x421ab2(0x39e))/0xb);if(_0x17a253===_0x193ff7)break;else _0x5e0c5a['push'](_0x5e0c5a['shift']());}catch(_0x3206fa){_0x5e0c5a['push'](_0x5e0c5a['shift']());}}}(_0x4c8f,0xdd364));var Mi=Object[_0xc11182(0x1fb)],$i=(_0x52327d,_0x347278,_0x33d6e4)=>_0x347278 in _0x52327d?Mi(_0x52327d,_0x347278,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33d6e4}):_0x52327d[_0x347278]=_0x33d6e4,P=(_0x440296,_0x5917c5,_0x2a7fe5)=>$i(_0x440296,typeof _0x5917c5!='symbol'?_0x5917c5+'':_0x5917c5,_0x2a7fe5);import{createIdentifier as _0x306056,Inject as _0x2d4781,Injector as _0x93988d,Disposable as _0x1c4f19,DisposableCollection as _0x43b708,toDisposable as _0x2d2866,IConfigService as _0x4f3939,ILogService as _0x2bee51,UserManagerService as _0x2fc78a,UniverInstanceType as _0x2d546b,IUniverInstanceService as _0x414ec3,LocaleService as _0x180250,Optional as _0x220a19,RxDisposable as _0x3ca8c7,Tools as _0x90d2e6,Rectangle as _0x32eeb1,ICommandService as _0x30846c,JSONX as _0x422f0b,CommandType as _0x84e8c5,IPermissionService as _0x501d43,IUndoRedoService as _0x17da82,sequenceExecute as _0x360b29,Workbook as _0x17921c,MentionType as _0x5b2b40,IAuthzIoService as _0x63cb44,isInternalEditorID as _0x394afc,LocalUndoRedoService as _0x5cc187,IContextService as _0x8a92f6,DependentOn as _0x3b9af9,Plugin as _0x3668c4,mergeOverrideWithDependencies as _0x3861f4,IMentionIOService as _0x2f45e6,registerDependencies as _0x38295d,Quantity as _0x526256,touchDependencies as _0x2c5c87}from'@univerjs/core';import{Subject as _0x1b1515,merge as _0xb986de,of as _0x31d54e,BehaviorSubject as _0x2d4500,takeUntil as _0x61ac9f,ReplaySubject as _0x4cc180,take as _0x332e96,map as _0x2ca05e,shareReplay as _0x1d3c2b,firstValueFrom as _0x3f9d90,concatMap as _0x55386a}from'rxjs';import{map as _0x5dad37,take as _0x29628e,filter as _0x340423,delay as _0x522d4e,takeUntil as _0x33f627}from'rxjs/operators';import{HTTPService as _0x4b66e4,ISocketService as _0x149620,MergeInterceptorFactory as _0x442157,HTTPRequest as _0x205e2a,UniverNetworkPlugin as _0x1b73eb,ThresholdInterceptorFactory as _0x483c2b}from'@univerjs/network';import{CollaborationEvent as _0x3909a7,parseChangesetToProtocol as _0x20b911,ISnapshotServerService as _0x2a455d,isTransformMutationsWithChangesetSuccess as _0x746fd9,ITransformService as _0x133ec2,mapDocumentTypeToUniverType as _0x1ec22a,RevisionService as _0x3db8bc,isTransformChangesetsSuccess as _0x4c878f,CompressMutationService as _0x204032,parseProtocolChangeset as _0x55f7ed,SnapshotService as _0x2b7a55,textEncoder as _0x27e51c,b64DecodeUnicode as _0x13e50f,isTransformMutationsWithChangesetFailure as _0x404b48,UniverCollaborationPlugin as _0xaee517}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x198197}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x30587c}from'@univerjs/docs';import{SheetsSelectionsService as _0x1b27da,SetSelectionsOperation as _0x1a7068,InsertSheetMutation as _0x5afb68,EmptyMutation as _0x58c35c,WorkbookEditablePermission as _0x58fb3f,UnitObject as _0x4b41ca,defaultWorkbookPermissionPoints as _0x808ac3,getAllWorkbookPermissionPoint as _0x41caee,WorksheetProtectionRuleModel as _0x464d7d,baseProtectionActions as _0x57dec4,getAllWorksheetPermissionPoint as _0x534616,WorksheetProtectionPointModel as _0x4a30b7,defaultWorksheetPermissionPoint as _0x5bcd38,getAllWorksheetPermissionPointByPointPanel as _0x22ed78,RangeProtectionRuleModel as _0x14efa6,getAllRangePermissionPoint as _0x1c9d16,UniverSheetsPlugin as _0x1d9794}from'@univerjs/sheets';import{ImageSourceType as _0x5b848d,ImageUploadStatusType as _0x20f952,IImageIoService as _0x586031}from'@univerjs/drawing';import{getGlobalObject as _0x4a603a}from'@univerjs-pro/license';const Nn=_0xc11182(0x2a3),Pn=_0xc11182(0x25f),Dn='SNAPSHOT_URL_KEY',ho=_0xc11182(0xcc),wn=0x7d0,Un=_0xc11182(0x20c),An=_0xc11182(0x387),xn=_0xc11182(0x220),Ln=_0xc11182(0x230),Mn=0x7530,Ei=_0xc11182(0x262),Ii=0x4e20,$n=0x4e20,Hn=_0xc11182(0x1f3),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn=_0xc11182(0x2da),Bn=_0xc11182(0xf5),Fn='LOGIN_URL_KEY',Vn=_0xc11182(0x248),uo=_0xc11182(0x37c),fo=_0xc11182(0x266);var Ti=(_0x29ae73=>(_0x29ae73[_0x29ae73[_0xc11182(0xab)]=0x0]=_0xc11182(0xab),_0x29ae73[_0x29ae73['OK']=0x1]='OK',_0x29ae73[_0x29ae73['INTERNAL_ERROR']=0x2]=_0xc11182(0x123),_0x29ae73[_0x29ae73['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x29ae73[_0x29ae73['NOT_FOUND']=0x4]=_0xc11182(0x2f8),_0x29ae73[_0x29ae73[_0xc11182(0x28a)]=0x5]=_0xc11182(0x28a),_0x29ae73[_0x29ae73['ALREADY_EXISTS']=0x6]=_0xc11182(0x368),_0x29ae73[_0x29ae73[_0xc11182(0x141)]=0x7]='INVALID_ARGUMENT',_0x29ae73[_0x29ae73['TOO_MANY_REQUESTS']=0x8]=_0xc11182(0x167),_0x29ae73[_0x29ae73[_0xc11182(0x36c)]=0x9]=_0xc11182(0x36c),_0x29ae73[_0x29ae73['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xc11182(0x284),_0x29ae73[_0x29ae73[_0xc11182(0x30e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x29ae73[_0x29ae73[_0xc11182(0x326)]=0x1772]=_0xc11182(0x326),_0x29ae73[_0x29ae73['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x29ae73[_0x29ae73[_0xc11182(0x260)]=0x1b59]=_0xc11182(0x260),_0x29ae73[_0x29ae73[_0xc11182(0x232)]=0x1b5a]=_0xc11182(0x232),_0x29ae73[_0x29ae73[_0xc11182(0x33a)]=0x1b5b]=_0xc11182(0x33a),_0x29ae73[_0x29ae73[_0xc11182(0x38f)]=0x1b5c]=_0xc11182(0x38f),_0x29ae73[_0x29ae73[_0xc11182(0x330)]=0x1b5d]=_0xc11182(0x330),_0x29ae73[_0x29ae73['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xc11182(0x116),_0x29ae73[_0x29ae73['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xc11182(0x155),_0x29ae73[_0x29ae73['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x29ae73[_0x29ae73[_0xc11182(0x150)]=0x232b]=_0xc11182(0x150),_0x29ae73[_0x29ae73['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x29ae73[_0x29ae73[_0xc11182(0x267)]=0x232d]=_0xc11182(0x267),_0x29ae73[_0x29ae73[_0xc11182(0x300)]=0x2711]=_0xc11182(0x300),_0x29ae73[_0x29ae73['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x29ae73[_0x29ae73['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xc11182(0x2bd),_0x29ae73[_0x29ae73[_0xc11182(0x1bb)]=0x2714]=_0xc11182(0x1bb),_0x29ae73[_0x29ae73[_0xc11182(0x163)]=-0x1]=_0xc11182(0x163),_0x29ae73))(Ti||{}),Q=(_0x1a6a03=>(_0x1a6a03[_0x1a6a03[_0xc11182(0x2b8)]=0x0]=_0xc11182(0x2b8),_0x1a6a03[_0x1a6a03[_0xc11182(0x1b6)]=0x1]=_0xc11182(0x1b6),_0x1a6a03[_0x1a6a03['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1a6a03[_0x1a6a03[_0xc11182(0x115)]=0x3]=_0xc11182(0x115),_0x1a6a03[_0x1a6a03[_0xc11182(0x144)]=0x4]=_0xc11182(0x144),_0x1a6a03[_0x1a6a03[_0xc11182(0x163)]=-0x1]='UNRECOGNIZED',_0x1a6a03))(Q||{}),F=(_0x129e65=>(_0x129e65[_0x129e65[_0xc11182(0x197)]=0x0]=_0xc11182(0x197),_0x129e65[_0x129e65[_0xc11182(0xdc)]=0x1]=_0xc11182(0xdc),_0x129e65[_0x129e65['JOIN']=0x2]=_0xc11182(0xeb),_0x129e65[_0x129e65[_0xc11182(0x280)]=0x3]=_0xc11182(0x280),_0x129e65[_0x129e65[_0xc11182(0x1d6)]=0x4]=_0xc11182(0x1d6),_0x129e65[_0x129e65['HEARTBEAT']=0x5]=_0xc11182(0x337),_0x129e65[_0x129e65[_0xc11182(0x2ea)]=0x6]=_0xc11182(0x2ea),_0x129e65[_0x129e65[_0xc11182(0x163)]=-0x1]=_0xc11182(0x163),_0x129e65))(F||{}),Ee=(_0x302dfc=>(_0x302dfc[_0x302dfc[_0xc11182(0x109)]=0x0]=_0xc11182(0x109),_0x302dfc[_0x302dfc['OK']=0x1]='OK',_0x302dfc[_0x302dfc[_0xc11182(0x136)]=0x2]=_0xc11182(0x136),_0x302dfc[_0x302dfc[_0xc11182(0x209)]=0x3e9]=_0xc11182(0x209),_0x302dfc[_0x302dfc['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xc11182(0x27e),_0x302dfc[_0x302dfc[_0xc11182(0x1c7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x302dfc[_0x302dfc['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xc11182(0x327),_0x302dfc[_0x302dfc['UNRECOGNIZED']=-0x1]=_0xc11182(0x163),_0x302dfc))(Ee||{}),Ci=(_0x1bc88d=>(_0x1bc88d[_0x1bc88d[_0xc11182(0x192)]=0x0]=_0xc11182(0x192),_0x1bc88d[_0x1bc88d[_0xc11182(0x1ed)]=0x1]=_0xc11182(0x1ed),_0x1bc88d[_0x1bc88d[_0xc11182(0x107)]=0x2]=_0xc11182(0x107),_0x1bc88d[_0x1bc88d[_0xc11182(0x29e)]=0x3]=_0xc11182(0x29e),_0x1bc88d[_0x1bc88d[_0xc11182(0x1a9)]=0x4]=_0xc11182(0x1a9),_0x1bc88d[_0x1bc88d[_0xc11182(0x163)]=-0x1]=_0xc11182(0x163),_0x1bc88d))(Ci||{});const Y='collaboration-client.config',Wn={};var re=(_0x414b48=>(_0x414b48[_0xc11182(0x3a4)]=_0xc11182(0x3a4),_0x414b48[_0xc11182(0x378)]=_0xc11182(0x378),_0x414b48[_0xc11182(0x119)]=_0xc11182(0x119),_0x414b48[_0xc11182(0x224)]=_0xc11182(0x224),_0x414b48['JOIN_ROOM_FAILED']=_0xc11182(0x103),_0x414b48['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x414b48[_0xc11182(0x2b4)]=_0xc11182(0x2b4),_0x414b48['SUBMIT_CHANGESET_TIMEOUT']=_0xc11182(0x34e),_0x414b48))(re||{});class pe{constructor(){var _0x13cd51=_0xc11182;P(this,'_event$',new _0x1b1515()),P(this,_0x13cd51(0x135),this['_event$'][_0x13cd51(0x342)]());}['emitEvent'](_0x5ed661){var _0x58ec9b=_0xc11182;this[_0x58ec9b(0x321)][_0x58ec9b(0xc2)](_0x5ed661);}}const Gn=_0x306056('univer-pro.collaboration-client.network-condition.service');function Kn(_0x386f38){var _0x62e3e2=_0xc11182,_0x544bc7,_0xb62aa1,_0xdfefda,_0x4d6c12,_0x5789ed;const _0x3cf5d5=_0x386f38[_0x62e3e2(0x1b4)],_0x4953b8=JSON[_0x62e3e2(0x154)](_0x3cf5d5);switch(_0x4953b8['cmd']){case F[_0x62e3e2(0x337)]:case F[_0x62e3e2(0xdc)]:{const _0x5ee7f2=_0x4953b8[_0x62e3e2(0xe0)];return{..._0x4953b8,'data':_0x5ee7f2,'cmd':_0x4953b8[_0x62e3e2(0x1df)]};}case F[_0x62e3e2(0xeb)]:{const _0x13113e=_0x4953b8[_0x62e3e2(0x293)];return{..._0x4953b8,'data':_0x13113e,'cmd':_0x4953b8[_0x62e3e2(0x1df)]};}case F[_0x62e3e2(0x2ea)]:{const _0x5b711d=_0x4953b8['collaMsg'];switch(_0x5b711d['eventID']){case _0x3909a7[_0x62e3e2(0x1de)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':(_0x544bc7=_0x5b711d[_0x62e3e2(0x389)])==null?void 0x0:_0x544bc7['cs']},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x3a2)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':(_0xb62aa1=_0x5b711d[_0x62e3e2(0x11f)])==null?void 0x0:_0xb62aa1['cs']},'cmd':_0x4953b8['cmd']};case _0x3909a7[_0x62e3e2(0x390)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':(_0xdfefda=_0x5b711d['newCsEvent'])==null?void 0x0:_0xdfefda['cs']},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7['CHANGESET_REJ']:return{..._0x4953b8,'data':{..._0x5b711d,'data':(_0x4d6c12=_0x5b711d[_0x62e3e2(0x2bc)])==null?void 0x0:_0x4d6c12['cs']},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x25c)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':(_0x5789ed=_0x5b711d['csShouldRetryEvent'])==null?void 0x0:_0x5789ed['cs']},'cmd':_0x4953b8['cmd']};case _0x3909a7[_0x62e3e2(0x223)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x1d8)]},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x24f)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d['joinEvent']},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x13b)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x186)]},'cmd':_0x4953b8['cmd']};case _0x3909a7[_0x62e3e2(0xba)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0xb4)]},'cmd':_0x4953b8['cmd']};case _0x3909a7['LIVESHARE_FETCH_OPERATIONS']:case _0x3909a7[_0x62e3e2(0x353)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x306)]},'cmd':_0x4953b8['cmd']};case _0x3909a7[_0x62e3e2(0x38b)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0xb4)]},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x277)]:return{..._0x4953b8,'data':_0x5b711d,'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x240)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x11c)]},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x182)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x17c)]},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x1a6)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x166)]},'cmd':_0x4953b8[_0x62e3e2(0x1df)]};case _0x3909a7[_0x62e3e2(0x275)]:return{..._0x4953b8,'data':{..._0x5b711d,'data':_0x5b711d[_0x62e3e2(0x244)]},'cmd':_0x4953b8['cmd']};default:return _0x4953b8;}}default:return _0x4953b8;}}function zn(_0x2cceda){var _0x462df2=_0xc11182;switch(_0x2cceda[_0x462df2(0x1df)]){case F['HEARTBEAT']:case F[_0x462df2(0xdc)]:return JSON[_0x462df2(0x228)]({'cmd':_0x2cceda['cmd'],'routeKey':_0x2cceda['routeKey']});case F[_0x462df2(0x1d6)]:{let _0x82185b;switch(_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x16d)]){case _0x3909a7[_0x462df2(0x223)]:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x223)],'updateCursorEvent':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7['USERS_LEAVE']:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x13b)],'leaveEvent':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7[_0x462df2(0x24f)]:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x24f)],'joinEvent':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7[_0x462df2(0xba)]:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0xba)],'liveShareNewHost':_0x2cceda[_0x462df2(0x1b4)]['data']};break;}case _0x3909a7[_0x462df2(0x353)]:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x353)],'liveShareOperation':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7['LIVESHARE_TERMINATE']:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x38b)],'liveShareTerminate':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7[_0x462df2(0x172)]:{_0x82185b={'eventID':_0x3909a7['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2cceda[_0x462df2(0x1b4)][_0x462df2(0x1b4)]};break;}case _0x3909a7[_0x462df2(0x229)]:{_0x82185b={'eventID':_0x3909a7[_0x462df2(0x229)]};break;}default:_0x82185b={'eventID':_0x2cceda[_0x462df2(0x1b4)]['eventID']};}return JSON[_0x462df2(0x228)]({'cmd':_0x2cceda['cmd'],'routeKey':_0x2cceda[_0x462df2(0xf9)],'collaMsg':_0x82185b});}case F[_0x462df2(0xeb)]:return JSON[_0x462df2(0x228)]({'cmd':_0x2cceda[_0x462df2(0x1df)],'routeKey':_0x2cceda[_0x462df2(0xf9)],'joinReq':_0x2cceda[_0x462df2(0x1b4)]});case F[_0x462df2(0x280)]:return JSON[_0x462df2(0x228)]({'cmd':_0x2cceda[_0x462df2(0x1df)],'routeKey':_0x2cceda[_0x462df2(0xf9)],'leaveReq':_0x2cceda[_0x462df2(0x1b4)]});default:throw new Error(_0x462df2(0xde));}}var Yn=Object[_0xc11182(0x1fb)],qn=Object[_0xc11182(0x1ef)],Jn=(_0x3c9028,_0x48ae5b,_0x230c63,_0x31e6c6)=>{var _0x3826ab=_0xc11182;for(var _0x2c49c8=_0x31e6c6>0x1?void 0x0:_0x31e6c6?qn(_0x48ae5b,_0x230c63):_0x48ae5b,_0x307157=_0x3c9028[_0x3826ab(0x219)]-0x1,_0x2f1e17;_0x307157>=0x0;_0x307157--)(_0x2f1e17=_0x3c9028[_0x307157])&&(_0x2c49c8=(_0x31e6c6?_0x2f1e17(_0x48ae5b,_0x230c63,_0x2c49c8):_0x2f1e17(_0x2c49c8))||_0x2c49c8);return _0x31e6c6&&_0x2c49c8&&Yn(_0x48ae5b,_0x230c63,_0x2c49c8),_0x2c49c8;},Ue=(_0x35a4d3,_0x57a9ba)=>(_0x2710ef,_0x78f9c8)=>_0x57a9ba(_0x2710ef,_0x78f9c8,_0x35a4d3);const bi=_0x306056(_0xc11182(0x317));function Xn(_0x2f7237,_0x157446,_0x2b9ed4){var _0x307bb6=_0xc11182;return _0x2f7237+'/'+_0x157446+_0x307bb6(0x282)+_0x2b9ed4+'/new_changes';}let It=class extends _0x1c4f19{constructor(_0x22ac11,_0x4f81cd,_0x49ce42,_0x4a6be4,_0x819b07){var _0x452aad=_0xc11182;super(),this[_0x452aad(0xd6)]=_0x22ac11,this['_http']=_0x4f81cd,this['_configService']=_0x49ce42,this[_0x452aad(0x1b0)]=_0x4a6be4,this[_0x452aad(0x308)]=_0x819b07;}[_0xc11182(0xfb)](_0x746319){var _0x529a02=_0xc11182;const _0x47f240=this[_0x529a02(0xd6)][_0x529a02(0x122)](_0x149620);if(!_0x47f240)throw new Error(_0x529a02(0xf1));const _0x177ed3=_0x47f240[_0x529a02(0xfb)](_0x746319);if(!_0x177ed3)throw new Error(_0x529a02(0xe1));const _0x36cb0d=new _0x43b708(),_0x20a096=new _0x1b1515();_0x36cb0d[_0x529a02(0x30a)](_0x177ed3[_0x529a02(0x24d)][_0x529a02(0x2d1)](_0x3a6998=>_0x20a096[_0x529a02(0xc2)](_0x3a6998))),_0x36cb0d['add'](_0x2d2866(()=>_0x20a096[_0x529a02(0x16f)]()));const _0x285687=new _0x1b1515();_0x36cb0d[_0x529a02(0x30a)](_0x177ed3[_0x529a02(0x1cf)][_0x529a02(0x2d1)](_0x2fd210=>_0x285687['next'](_0x2fd210))),_0x36cb0d[_0x529a02(0x30a)](_0x2d2866(()=>_0x285687[_0x529a02(0x16f)]()));const _0x5aaae2=new _0x1b1515();_0x36cb0d['add'](_0x177ed3[_0x529a02(0x238)][_0x529a02(0x2d1)](_0x3c3e4e=>{var _0x711e8b=_0x529a02;const _0x5e2588=Kn(_0x3c3e4e);_0x5aaae2[_0x711e8b(0xc2)](_0x5e2588);})),_0x36cb0d[_0x529a02(0x30a)](_0x2d2866(()=>_0x5aaae2[_0x529a02(0x16f)]()));let _0x355e2b;const _0x26c438=()=>{var _0x3ed64c=_0x529a02;_0x285687[_0x3ed64c(0xc2)](new Event(_0x3ed64c(0x36b))),_0x20a096[_0x3ed64c(0xc2)](new CloseEvent(_0x3ed64c(0x36b))),_0x355e2b[_0x3ed64c(0x251)]();};return _0x355e2b={'memberID':'','close$':_0x20a096['asObservable'](),'error$':_0x285687[_0x529a02(0x342)](),'open$':_0x177ed3['open$'],'message$':_0x5aaae2[_0x529a02(0x342)](),'send':_0x5a5e0b=>{var _0x56a730=_0x529a02;if(_0x5a5e0b[_0x56a730(0x1df)]===F[_0x56a730(0x1d6)]){if(_0x5a5e0b[_0x56a730(0x1b4)][_0x56a730(0x16d)]===_0x3909a7[_0x56a730(0x27d)]){this[_0x56a730(0x1ae)](_0x355e2b,_0x5a5e0b[_0x56a730(0x1b4)])[_0x56a730(0x22b)](_0x8444e8=>{var _0x30d9a1=_0x56a730;this['_logService'][_0x30d9a1(0x2dc)](_0x8444e8),_0x26c438();});return;}if(_0x5a5e0b['data'][_0x56a730(0x16d)]===_0x3909a7[_0x56a730(0x20f)]){const _0x38ceed=_0x5a5e0b[_0x56a730(0x1b4)];this['_fetchMissChangesets'](_0x38ceed)['then'](_0x146466=>{var _0x312d8e=_0x56a730;_0x5aaae2[_0x312d8e(0xc2)]({'cmd':F[_0x312d8e(0x2ea)],'code':Ee['OK'],'routeKey':_0x38ceed['data']['unitID'],'routeType':'','data':{'eventID':_0x3909a7[_0x312d8e(0x354)],'data':{'changesets':_0x146466}}});})[_0x56a730(0x22b)](_0x3ad9ec=>{var _0x54d61f=_0x56a730;this['_logService'][_0x54d61f(0x2dc)](_0x3ad9ec),_0x26c438();});return;}}_0x177ed3[_0x56a730(0x364)](zn(_0x5a5e0b));},'close':()=>{_0x177ed3['close'](),_0x36cb0d['dispose']();}},_0x355e2b;}async[_0xc11182(0x1ae)](_0x3ff61e,_0x134a30){var _0x454c9b=_0xc11182,_0x514c25,_0x10be56;const {unitType:_0x3eb67b,unitID:_0x41405a,changeset:_0x50e690}=_0x134a30['data'],_0x3940a9={'unitID':_0x41405a,'memberID':_0x3ff61e[_0x454c9b(0xa5)],'type':_0x3eb67b,'changeset':_0x20b911(_0x50e690)},_0x547889=this[_0x454c9b(0x2a6)][_0x454c9b(0x242)](jn),_0x479888=this['_configService']['getConfig'](Y),_0x41046c=Xn((_0x10be56=(_0x514c25=_0x479888==null?void 0x0:_0x479888['collabSubmitChangesetUrl'])!=null?_0x514c25:_0x547889)!=null?_0x10be56:Bn,_0x3eb67b,_0x41405a);try{await this[_0x454c9b(0x19b)][_0x454c9b(0x12b)](_0x41046c,{'body':_0x3940a9});}catch(_0x28d61d){throw this[_0x454c9b(0x1b0)][_0x454c9b(0x2dc)](_0x454c9b(0x388),_0x454c9b(0x3a1)),_0x28d61d;}}async[_0xc11182(0xfe)](_0x9649fe){var _0x46a0d1=_0xc11182;const {unitID:_0x247379,from:_0x49cf0d,to:_0x5963e2,unitType:_0x44723d}=_0x9649fe[_0x46a0d1(0x1b4)];return(await this[_0x46a0d1(0x308)][_0x46a0d1(0x381)]({'metadata':void 0x0},{'unitID':_0x247379,'type':_0x44723d,'from':_0x49cf0d,'to':_0x5963e2}))[_0x46a0d1(0x137)];}};It=Jn([Ue(0x0,_0x2d4781(_0x93988d)),Ue(0x1,_0x2d4781(_0x4b66e4)),Ue(0x2,_0x4f3939),Ue(0x3,_0x2bee51),Ue(0x4,_0x2a455d)],It);const Zn=_0xc11182(0xea);function Qn(_0x4fb073){var _0xb7ca2f=_0xc11182;return JSON[_0xb7ca2f(0x228)](_0x4fb073)[_0xb7ca2f(0x219)];}class Ri{constructor(){var _0x4e13a8=_0xc11182;P(this,_0x4e13a8(0x274),new _0x1b1515()),P(this,_0x4e13a8(0x188),this[_0x4e13a8(0x274)][_0x4e13a8(0x342)]());}[_0xc11182(0x1dd)](_0x176d0c){var _0x18514a=_0xc11182;this[_0x18514a(0x274)][_0x18514a(0xc2)](_0x176d0c);}}var es=Object[_0xc11182(0x1fb)],ts=Object[_0xc11182(0x1ef)],is=(_0x531ecc,_0x4bfac3,_0x33f709,_0x2110b6)=>{for(var _0x495dc6=_0x2110b6>0x1?void 0x0:_0x2110b6?ts(_0x4bfac3,_0x33f709):_0x4bfac3,_0x246f61=_0x531ecc['length']-0x1,_0x490f94;_0x246f61>=0x0;_0x246f61--)(_0x490f94=_0x531ecc[_0x246f61])&&(_0x495dc6=(_0x2110b6?_0x490f94(_0x4bfac3,_0x33f709,_0x495dc6):_0x490f94(_0x495dc6))||_0x495dc6);return _0x2110b6&&_0x495dc6&&es(_0x4bfac3,_0x33f709,_0x495dc6),_0x495dc6;},zt=(_0x2f76e9,_0x4aa925)=>(_0x5be982,_0x3cd8c2)=>_0x4aa925(_0x5be982,_0x3cd8c2,_0x2f76e9);let xe=class extends _0x1c4f19{constructor(_0x3d9b6,_0x4088f7){var _0x36582c=_0xc11182;super(),P(this,_0x36582c(0x110),new Map()),P(this,'_roomCreated$',new _0x1b1515()),(this['_univerInstanceService']=_0x3d9b6,this[_0x36582c(0x391)]=_0x4088f7,this[_0x36582c(0x30c)](_0xb986de(this[_0x36582c(0x39f)][_0x36582c(0x2e1)](_0x2d546b[_0x36582c(0x131)])[_0x36582c(0x333)](_0x5dad37(_0xa4e6db=>_0xa4e6db[_0x36582c(0x332)]())),this[_0x36582c(0x39f)][_0x36582c(0x2e1)](_0x2d546b[_0x36582c(0x1b6)])[_0x36582c(0x333)](_0x5dad37(_0x9cdc95=>_0x9cdc95['getUnitId']())),this[_0x36582c(0x39f)]['getTypeOfUnitDisposed$'](_0x2d546b[_0x36582c(0x115)])[_0x36582c(0x333)](_0x5dad37(_0x4c70aa=>_0x4c70aa['getUnitId']())))['subscribe'](_0x2ea81b=>this[_0x36582c(0x158)](_0x2ea81b))));}['waitForRoom$'](_0x2a1e7e){var _0x58eaef=_0xc11182;return this['_roomMembers']['has'](_0x2a1e7e)?_0x31d54e(this[_0x58eaef(0x110)][_0x58eaef(0x122)](_0x2a1e7e)):this[_0x58eaef(0xce)]['pipe'](_0x5dad37(_0xb05e37=>{var _0x1b1ffb=_0x58eaef;if(_0xb05e37===_0x2a1e7e)return this[_0x1b1ffb(0x110)][_0x1b1ffb(0x122)](_0xb05e37);}));}['setCurrentUser'](_0x1cf1d7){var _0x3e88e7=_0xc11182;this[_0x3e88e7(0x391)][_0x3e88e7(0x1ab)](_0x1cf1d7);}[_0xc11182(0x2ff)](){var _0x21c9d3=_0xc11182;return this[_0x21c9d3(0x391)]['getCurrentUser']();}[_0xc11182(0x398)](_0x2b20c4,_0x1d2e4e){var _0x144c16=_0xc11182;let _0x340155=this['_roomMembers'][_0x144c16(0x122)](_0x2b20c4);_0x340155||(_0x340155=new ns(),this[_0x144c16(0x110)]['set'](_0x2b20c4,_0x340155),this[_0x144c16(0xce)][_0x144c16(0xc2)](_0x2b20c4)),_0x340155[_0x144c16(0x398)](_0x1d2e4e);}[_0xc11182(0x18b)](_0x4e0185,_0x57f77c){var _0x47bac4=_0xc11182;const _0x1c5cdd=this[_0x47bac4(0x110)][_0x47bac4(0x122)](_0x4e0185);_0x1c5cdd&&_0x1c5cdd[_0x47bac4(0x18b)](_0x57f77c);}[_0xc11182(0x2c0)](_0xa36004){var _0x8ac4a5=_0xc11182;return this[_0x8ac4a5(0x110)][_0x8ac4a5(0x122)](_0xa36004);}['getMember'](_0x1a969e,_0x3e1a3f){var _0x491415=_0xc11182;const _0x6c3142=this[_0x491415(0x110)]['get'](_0x1a969e);if(_0x6c3142)return _0x6c3142[_0x491415(0x18e)](_0x3e1a3f);}['_removeRoom'](_0x1f565a){var _0x447957=_0xc11182;const _0xdf6666=this[_0x447957(0x110)][_0x447957(0x122)](_0x1f565a);_0xdf6666&&(_0xdf6666[_0x447957(0x307)](),this[_0x447957(0x110)][_0x447957(0x159)](_0x1f565a));}[_0xc11182(0x307)](){var _0x229e20=_0xc11182;this[_0x229e20(0x110)][_0x229e20(0x1e5)](_0x2dfcd7=>_0x2dfcd7[_0x229e20(0x307)]()),this[_0x229e20(0x110)][_0x229e20(0x366)](),this['_roomCreated$'][_0x229e20(0x16f)]();}};xe=is([zt(0x0,_0x414ec3),zt(0x1,_0x2d4781(_0x2fc78a))],xe);class ns extends _0x1c4f19{constructor(){var _0x128c2f=_0xc11182;super(...arguments),P(this,'_members',new Map()),P(this,_0x128c2f(0x34a),new _0x2d4500(this['_members'])),P(this,_0x128c2f(0x17f),this[_0x128c2f(0x34a)][_0x128c2f(0x342)]());}[_0xc11182(0x307)](){var _0x2062d8=_0xc11182;this[_0x2062d8(0x227)][_0x2062d8(0x366)]();}[_0xc11182(0x398)](_0x344743){var _0x21132e=_0xc11182;this['_members'][_0x21132e(0x1eb)](_0x344743['memberID'],_0x344743),this[_0x21132e(0xe4)]();}[_0xc11182(0x18b)](_0x4ccabe){var _0x361fd7=_0xc11182;this[_0x361fd7(0x227)][_0x361fd7(0x159)](_0x4ccabe);}['getMember'](_0x3f8bfc){var _0x160685=_0xc11182;return this[_0x160685(0x227)][_0x160685(0x122)](_0x3f8bfc);}[_0xc11182(0x177)](){var _0x42e05f=_0xc11182;return Array[_0x42e05f(0x1db)](this[_0x42e05f(0x227)][_0x42e05f(0x367)]());}[_0xc11182(0xe4)](){var _0x17b7a4=_0xc11182;this['_members$']['next'](this[_0x17b7a4(0x227)]);}}var ss=Object['defineProperty'],rs=Object[_0xc11182(0x1ef)],os=(_0x35b589,_0xdeae4d,_0x6dbb4a,_0x118493)=>{var _0x5a5e70=_0xc11182;for(var _0x4f7e43=_0x118493>0x1?void 0x0:_0x118493?rs(_0xdeae4d,_0x6dbb4a):_0xdeae4d,_0x29dd91=_0x35b589[_0x5a5e70(0x219)]-0x1,_0x30772b;_0x29dd91>=0x0;_0x29dd91--)(_0x30772b=_0x35b589[_0x29dd91])&&(_0x4f7e43=(_0x118493?_0x30772b(_0xdeae4d,_0x6dbb4a,_0x4f7e43):_0x30772b(_0x4f7e43))||_0x4f7e43);return _0x118493&&_0x4f7e43&&ss(_0xdeae4d,_0x6dbb4a,_0x4f7e43),_0x4f7e43;},me=(_0x159bfa,_0x542cad)=>(_0x2b732b,_0x2c9ddc)=>_0x542cad(_0x2b732b,_0x2c9ddc,_0x159bfa),Te=(_0x287028=>(_0x287028[_0x287028[_0xc11182(0x18d)]=0x0]='IDLE',_0x287028[_0x287028['JOINING']=0x1]=_0xc11182(0x32b),_0x287028[_0x287028[_0xc11182(0x216)]=0x2]='OFFLINE',_0x287028[_0x287028[_0xc11182(0x26e)]=0x3]='ONLINE',_0x287028))(Te||{});const Yt={[Ee[_0xc11182(0x136)]]:_0xc11182(0x237),[Ee[_0xc11182(0x209)]]:'session.room-full',[Ee[_0xc11182(0x27e)]]:'session.room-not-exists',[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0xc11182(0x2b9),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xc11182(0x346)};let Tt=class extends _0x3ca8c7{constructor(_0x2f5d3f,_0x15e000,_0x4d1ec8,_0x41dd0c,_0x18efe3,_0x491fb4,_0x1010b6,_0xa1dcba,_0x46a51a){var _0x45efaa=_0xc11182;super(),P(this,_0x45efaa(0x2a5),new _0x2d4500(0x0)),P(this,_0x45efaa(0xc1),this[_0x45efaa(0x2a5)][_0x45efaa(0x342)]()),P(this,_0x45efaa(0x321),new _0x1b1515()),P(this,_0x45efaa(0x135),this['_event$'][_0x45efaa(0x342)]()),P(this,_0x45efaa(0xd0)),P(this,'_socketMessageSubscription'),P(this,_0x45efaa(0xe5)),P(this,_0x45efaa(0x341),!0x1),P(this,_0x45efaa(0x356),null),(this[_0x45efaa(0x2ce)]=_0x2f5d3f,this[_0x45efaa(0x1b0)]=_0x4d1ec8,this[_0x45efaa(0x2a6)]=_0x41dd0c,this['_localeService']=_0x18efe3,this['_memberService']=_0x491fb4,this[_0x45efaa(0x1c5)]=_0x1010b6,this[_0x45efaa(0x20d)]=_0xa1dcba,this[_0x45efaa(0x2d7)]=_0x46a51a,this[_0x45efaa(0x341)]=!!this[_0x45efaa(0x2d7)],_0x15e000[_0x45efaa(0x333)](_0x61ac9f(this[_0x45efaa(0x1d0)]))['subscribe'](_0x355ce0=>{var _0x36aa21=_0x45efaa,_0x3130c6;typeof _0x355ce0>'u'||(this[_0x36aa21(0xd0)]=_0x355ce0,_0x355ce0?(this[_0x36aa21(0x1ee)](_0x355ce0),this[_0x36aa21(0x10f)]=_0x355ce0['message$'][_0x36aa21(0x2d1)](_0x49b3a0=>{var _0x228734=_0x36aa21;_0x49b3a0[_0x228734(0xf9)]===this[_0x228734(0x2ce)]&&this[_0x228734(0x235)](_0x49b3a0);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x36aa21(0x2a5)][_0x36aa21(0xc2)](0x2),(_0x3130c6=this[_0x36aa21(0x10f)])==null||_0x3130c6[_0x36aa21(0xb8)](),this[_0x36aa21(0x10f)]=null));}));}get[_0xc11182(0x358)](){var _0x110135=_0xc11182;return this['_sessionStatus$'][_0x110135(0xa4)]();}[_0xc11182(0x38a)](){var _0x3db954=_0xc11182,_0x4d5260,_0xa75430;return(_0xa75430=(_0x4d5260=this['_socket'])==null?void 0x0:_0x4d5260[_0x3db954(0xa5)])!=null?_0xa75430:null;}[_0xc11182(0x307)](){var _0x144d7c=_0xc11182;super[_0x144d7c(0x307)](),this[_0x144d7c(0x1d0)]['next'](),this['dispose$'][_0x144d7c(0x16f)]();}[_0xc11182(0x251)](){var _0x2e3490=_0xc11182,_0xe2e619,_0x52e29e;this[_0x2e3490(0xb6)](),(_0xe2e619=this[_0x2e3490(0xd0)])==null||_0xe2e619[_0x2e3490(0x364)]({'cmd':F[_0x2e3490(0x280)],'data':{'roomID':this[_0x2e3490(0x2ce)]}}),(_0x52e29e=this['_socket'])==null||_0x52e29e['close'](),this[_0x2e3490(0x321)]['complete'](),this['_sessionStatus$'][_0x2e3490(0x16f)](),this[_0x2e3490(0x307)]();}[_0xc11182(0x235)](_0x216037){var _0x4ff997=_0xc11182;_0x216037[_0x4ff997(0x1df)]===F[_0x4ff997(0xeb)]?this[_0x4ff997(0x29a)](_0x216037):_0x216037['cmd']===F[_0x4ff997(0x2ea)]&&this[_0x4ff997(0x2c1)](_0x216037);}['_joinRoom'](_0x37a83c){var _0x8e20e0=_0xc11182;this[_0x8e20e0(0x2a5)][_0x8e20e0(0xc2)](0x1),_0x37a83c[_0x8e20e0(0x364)]({'cmd':F[_0x8e20e0(0xeb)],'routeKey':this[_0x8e20e0(0x2ce)],'routeType':'','data':{'rooms':[{'roomID':this[_0x8e20e0(0x2ce)]}]}});}[_0xc11182(0x29a)](_0xeed0dc){var _0x543812=_0xc11182,_0x11a6fd;if(_0xeed0dc[_0x543812(0x1c9)]in Yt){this[_0x543812(0x20d)][_0x543812(0x105)]({'id':re[_0x543812(0x103)],'data':Yt[_0xeed0dc['code']]}),this['_sessionStatus$'][_0x543812(0xc2)](0x2);return;}this[_0x543812(0x2a5)]['next'](0x3);const _0x15b6e8=(_0x11a6fd=_0xeed0dc[_0x543812(0x1b4)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x11a6fd[_0x543812(0x1a2)];_0x15b6e8&&_0x15b6e8['forEach'](_0x192773=>this[_0x543812(0x28d)][_0x543812(0x398)](this[_0x543812(0x2ce)],_0x192773));}['_onRecvEvent'](_0x36d741){var _0x44b4be=_0xc11182;try{const _0x5c9125=_0x36d741[_0x44b4be(0x1b4)];switch(_0x5c9125[_0x44b4be(0x16d)]){case _0x3909a7[_0x44b4be(0x24f)]:this['_onUserJoin'](_0x5c9125),this[_0x44b4be(0x321)][_0x44b4be(0xc2)](_0x5c9125);break;case _0x3909a7[_0x44b4be(0x13b)]:this[_0x44b4be(0xcb)](_0x5c9125),this[_0x44b4be(0x321)][_0x44b4be(0xc2)](_0x5c9125);break;case _0x3909a7[_0x44b4be(0x3a2)]:case _0x3909a7[_0x44b4be(0x25c)]:this[_0x44b4be(0x2cd)](),this[_0x44b4be(0x114)](),this[_0x44b4be(0x321)][_0x44b4be(0xc2)](_0x5c9125);break;case _0x3909a7[_0x44b4be(0x277)]:this[_0x44b4be(0x1b0)][_0x44b4be(0x2dc)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x44b4be(0x228)](_0x5c9125)),this[_0x44b4be(0x321)][_0x44b4be(0xc2)](_0x5c9125);break;case _0x3909a7[_0x44b4be(0x240)]:this[_0x44b4be(0x1c5)][_0x44b4be(0x1dd)](_0x5c9125[_0x44b4be(0x1b4)]),this[_0x44b4be(0x321)][_0x44b4be(0xc2)](_0x5c9125);break;default:this[_0x44b4be(0x321)]['next'](_0x5c9125);}}catch(_0x7dbc31){this[_0x44b4be(0x1b0)][_0x44b4be(0x2dc)](_0x7dbc31,_0x36d741);}}[_0xc11182(0x134)](_0x487e33){var _0x331ea0=_0xc11182;this['_memberService'][_0x331ea0(0x398)](this[_0x331ea0(0x2ce)],_0x487e33[_0x331ea0(0x1b4)]);}['_onUserLeave'](_0x4a39c9){var _0x68046b=_0xc11182;this['_memberService'][_0x68046b(0x18b)](this[_0x68046b(0x2ce)],_0x4a39c9[_0x68046b(0x1b4)][_0x68046b(0xa5)]);}async[_0xc11182(0x364)](_0x5af72d,_0x389e2f){var _0x33d83a=_0xc11182;if(this[_0x33d83a(0x358)]!==0x3||!this[_0x33d83a(0xd0)])throw new Error(_0x33d83a(0x396));try{_0x5af72d[_0x33d83a(0x16d)]===_0x3909a7[_0x33d83a(0x27d)]&&(this[_0x33d83a(0x21c)](),this['_startTelemetryCollaborationNewChangeset'](_0x5af72d)),this[_0x33d83a(0xd0)][_0x33d83a(0x364)]({'cmd':F['INGEST'],'routeKey':_0x389e2f,'routeType':'','data':_0x5af72d});}catch(_0x1948f7){this[_0x33d83a(0x1b0)][_0x33d83a(0x2dc)](_0x1948f7);}}[_0xc11182(0x21c)](){var _0x1849e7=_0xc11182,_0x1763cc;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x15f376=_0x7b62;this[_0x15f376(0xe5)]=null,this['_collaborationUIEventService'][_0x15f376(0x105)]({'id':re[_0x15f376(0x34e)]});},(_0x1763cc=this[_0x1849e7(0x2a6)][_0x1849e7(0x242)](Ei))!=null?_0x1763cc:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x325639=_0xc11182;this[_0x325639(0xe5)]&&(clearTimeout(this[_0x325639(0xe5)]),this[_0x325639(0xe5)]=null);}[_0xc11182(0x20a)](_0x2d60c5){var _0x2e7973=_0xc11182;if(!this[_0x2e7973(0x341)])return;const {data:_0x134f9c}=_0x2d60c5,{unitID:_0x1baa7f,changeset:_0x5f0171}=_0x134f9c,{mutations:_0x1ef52b,type:_0x36c84b}=_0x5f0171;this[_0x2e7973(0x356)]={'unitId':_0x1baa7f,'type':_0x36c84b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x1ef52b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x56048f=_0xc11182;if(this[_0x56048f(0x341)]){if(!this[_0x56048f(0x356)]){this[_0x56048f(0x1b0)]['error'](_0x56048f(0x388),_0x56048f(0x1e7));return;}this[_0x56048f(0x356)]['stopTime']=performance[_0x56048f(0x26c)](),this['_telemetryInfo'][_0x56048f(0x1f1)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x56048f(0x194)],this['_telemetryService'][_0x56048f(0x2f2)](Zn,this[_0x56048f(0x356)]),this['_telemetryInfo']=null;}}[_0xc11182(0xb6)](){var _0x2ee8f8=_0xc11182;this[_0x2ee8f8(0x356)]=null;}};Tt=os([me(0x2,_0x2bee51),me(0x3,_0x4f3939),me(0x4,_0x2d4781(_0x180250)),me(0x5,_0x2d4781(xe)),me(0x6,_0x2d4781(Ri)),me(0x7,_0x2d4781(pe)),me(0x8,_0x220a19(_0x198197))],Tt);var as=Object[_0xc11182(0x1fb)],cs=Object[_0xc11182(0x1ef)],hs=(_0x3015d9,_0x55cf76,_0x28e34f,_0x4c2f04)=>{var _0x547818=_0xc11182;for(var _0x323f7b=_0x4c2f04>0x1?void 0x0:_0x4c2f04?cs(_0x55cf76,_0x28e34f):_0x55cf76,_0x3f94ef=_0x3015d9[_0x547818(0x219)]-0x1,_0x978431;_0x3f94ef>=0x0;_0x3f94ef--)(_0x978431=_0x3015d9[_0x3f94ef])&&(_0x323f7b=(_0x4c2f04?_0x978431(_0x55cf76,_0x28e34f,_0x323f7b):_0x978431(_0x323f7b))||_0x323f7b);return _0x4c2f04&&_0x323f7b&&as(_0x55cf76,_0x28e34f,_0x323f7b),_0x323f7b;},ge=(_0x4b324b,_0x5e3fec)=>(_0x490de0,_0x1a9150)=>_0x5e3fec(_0x490de0,_0x1a9150,_0x4b324b);let Le=class extends _0x1c4f19{constructor(_0x6f5630,_0x341ede,_0x13c081,_0x494b03,_0x4f5e25,_0xa4dfa6,_0x61fbdb){var _0xda96c6=_0xc11182;super(),P(this,_0xda96c6(0x15e),new _0x2d4500(void 0x0)),P(this,_0xda96c6(0x302),this[_0xda96c6(0x15e)]['asObservable']()),P(this,_0xda96c6(0x2f6),null),P(this,_0xda96c6(0x31e),new Map()),P(this,_0xda96c6(0x34b),new _0x2d4500(Te[_0xda96c6(0x18d)])),P(this,_0xda96c6(0x1d2),this[_0xda96c6(0x34b)][_0xda96c6(0x342)]()),P(this,_0xda96c6(0xdd),!0x1),P(this,_0xda96c6(0x138)),P(this,'_retryCount',0x0),P(this,_0xda96c6(0x39b)),P(this,_0xda96c6(0x191)),(this[_0xda96c6(0xd6)]=_0x6f5630,this[_0xda96c6(0x1b0)]=_0x341ede,this[_0xda96c6(0x2a6)]=_0x13c081,this[_0xda96c6(0x1d4)]=_0x494b03,this[_0xda96c6(0x2f9)]=_0x4f5e25,this[_0xda96c6(0x20d)]=_0xa4dfa6,this['_networkConditionService']=_0x61fbdb,this[_0xda96c6(0xdf)]());}get[_0xc11182(0xd0)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x5024d0=_0xc11182;this['_networkConditionService']&&this[_0x5024d0(0x30c)](this['_networkConditionService'][_0x5024d0(0x271)]['subscribe'](_0x1fd79d=>{var _0x3bd0c8=_0x5024d0;_0x1fd79d&&!this[_0x3bd0c8(0xd0)]&&this[_0x3bd0c8(0x2ee)](),_0x1fd79d||this['_onOffline']();}));}['dispose'](){var _0x39043e=_0xc11182;super[_0x39043e(0x307)](),this[_0x39043e(0x31e)]['forEach'](_0x4be637=>_0x4be637[_0x39043e(0x307)]()),this[_0x39043e(0x31e)]['clear'](),this['_status$'][_0x39043e(0x16f)]();}async[_0xc11182(0xa3)](_0x142e27){var _0x158d82=_0xc11182;if(this[_0x158d82(0x31e)][_0x158d82(0x258)](_0x142e27))return this[_0x158d82(0x31e)][_0x158d82(0x122)](_0x142e27);this['_tryEnsureSocket']();const _0x1430be=this[_0x158d82(0xd6)]['createInstance'](Tt,_0x142e27,this[_0x158d82(0x15e)][_0x158d82(0x342)]());return this[_0x158d82(0x31e)][_0x158d82(0x1eb)](_0x142e27,_0x1430be),_0x1430be;}[_0xc11182(0x2a8)](_0x341b04){var _0x14f2c1=_0xc11182,_0x3b2e08;const _0x2f844b=this['_sessions']['get'](_0x341b04);_0x2f844b&&(this['_sessions']['delete'](_0x341b04),_0x2f844b[_0x14f2c1(0x251)]()),this[_0x14f2c1(0x31e)]['size']||(_0x3b2e08=this[_0x14f2c1(0xd0)])==null||_0x3b2e08[_0x14f2c1(0x251)]();}[_0xc11182(0x2ee)](){var _0x4f29ca=_0xc11182;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4f29ca(0x138)]),this[_0x4f29ca(0x138)]=null),this[_0x4f29ca(0x2f1)]();}async[_0xc11182(0x113)](){var _0x306051=_0xc11182,_0x129720,_0x3a9d7c,_0xf10b3f;const _0x9e4223=this[_0x306051(0x2a6)][_0x306051(0x242)](Y),_0x20dc33=(_0x129720=_0x9e4223==null?void 0x0:_0x9e4223[_0x306051(0x214)])!=null?_0x129720:xn;return(_0xf10b3f=(_0x3a9d7c=(await this[_0x306051(0x2f9)][_0x306051(0x122)](_0x20dc33,{'headers':{'Content-Type':_0x306051(0x1fc)}}))[_0x306051(0x104)])==null?void 0x0:_0x3a9d7c[_0x306051(0x22f)])!=null?_0xf10b3f:'';}['_createSocketURL'](_0x9ffa60){var _0x3623dd=_0xc11182,_0x11e154,_0x4de0b7;const _0x241525=this[_0x3623dd(0x2a6)][_0x3623dd(0x242)](Un),_0x36ec58=this[_0x3623dd(0x2a6)][_0x3623dd(0x242)](Y),_0x16583f=(_0x4de0b7=(_0x11e154=_0x36ec58==null?void 0x0:_0x36ec58[_0x3623dd(0x2bb)])!=null?_0x11e154:_0x241525)!=null?_0x4de0b7:An,_0x503a0c=typeof window>'u'?new URL(_0x16583f):new URL(_0x16583f,window['location'][_0x3623dd(0x35a)]);_0x503a0c[_0x3623dd(0x31a)][_0x3623dd(0x1eb)]('sessionTicket',_0x9ffa60);const _0xce5f23=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3623dd(0x339)][_0x3623dd(0x14c)]);return _0xce5f23[_0x3623dd(0x122)](_0x3623dd(0x2c9))&&_0x503a0c[_0x3623dd(0x31a)][_0x3623dd(0x1eb)](_0x3623dd(0x2c9),_0xce5f23['get'](_0x3623dd(0x2c9))),_0x503a0c[_0x3623dd(0x304)]();}async[_0xc11182(0x1f6)](){var _0x38bfab=_0xc11182;const _0x441408=await this[_0x38bfab(0x113)](),_0x3a0158=this[_0x38bfab(0x1c8)](_0x441408),_0x1a616c=this['_socketService'][_0x38bfab(0xfb)](_0x3a0158);return this[_0x38bfab(0x2f6)]=_0x1a616c,_0x1a616c;}async[_0xc11182(0x23c)](){var _0x763324=_0xc11182,_0x20d51b,_0x271cab;try{const _0x1acdc5=(_0x271cab=(_0x20d51b=this[_0x763324(0xd0)])!=null?_0x20d51b:this[_0x763324(0x2f6)])!=null?_0x271cab:await this['_createSocket']();if(_0x1acdc5){const _0x21ee7d=_0x1acdc5['send'];_0x1acdc5[_0x763324(0x364)]=_0x261620=>(this['_rescheduleHeartbeat'](),_0x21ee7d[_0x763324(0x108)](_0x1acdc5,[_0x261620])),_0x1acdc5[_0x763324(0x238)]['subscribe'](_0x4f47cd=>this['_onMessage'](_0x1acdc5,_0x4f47cd)),_0x1acdc5[_0x763324(0x1cf)][_0x763324(0x333)](_0x29628e(0x1))['subscribe'](_0x4da6f5=>this[_0x763324(0x1b0)][_0x763324(0x2dc)]('[CollaborationSessionService]:\x20socket\x20error',_0x4da6f5)),_0x1acdc5[_0x763324(0x1d1)]['pipe'](_0x29628e(0x1))[_0x763324(0x2d1)](()=>{var _0x34dbbd=_0x763324;this[_0x34dbbd(0x3ae)](_0x1acdc5);}),_0x1acdc5[_0x763324(0x24d)][_0x763324(0x333)](_0x29628e(0x1))[_0x763324(0x2d1)](_0x490e2a=>{var _0x5597fb=_0x763324;this[_0x5597fb(0x1b0)][_0x5597fb(0x15a)](_0x5597fb(0x12f),_0x5597fb(0x1a1),_0x490e2a),this['_onConnectionFailed']();});}}catch(_0x420e3d){this[_0x763324(0x1b0)][_0x763324(0x2dc)](_0x420e3d),this[_0x763324(0x1b7)]();}}[_0xc11182(0x3ae)](_0x104e98){var _0x196caf=_0xc11182;this[_0x196caf(0x1b0)][_0x196caf(0x15a)](_0x196caf(0x12f),'socket\x20open.'),_0x104e98[_0x196caf(0x364)]({'cmd':F[_0x196caf(0xdc)]}),this[_0x196caf(0x22a)]();}['_onOffline'](){var _0xb5cb6c=_0xc11182;this[_0xb5cb6c(0xdd)]=!0x1,this['_candidateSocket']=null,this[_0xb5cb6c(0x34b)]['next'](Te[_0xb5cb6c(0x216)]),this[_0xb5cb6c(0x15e)][_0xb5cb6c(0xc2)](null),this[_0xb5cb6c(0x178)](),this[_0xb5cb6c(0x173)]();}['_onConnectionFailed'](){var _0xbd87b4=_0xc11182,_0x3a8bd2;this['_onOffline'](),this[_0xbd87b4(0x17a)]<((_0x3a8bd2=this[_0xbd87b4(0x2a6)][_0xbd87b4(0x242)](Hn))!=null?_0x3a8bd2:kn)?(this[_0xbd87b4(0x20d)][_0xbd87b4(0x105)]({'id':re[_0xbd87b4(0x128)]}),this[_0xbd87b4(0x2f1)]()):this[_0xbd87b4(0x20d)][_0xbd87b4(0x105)]({'id':re[_0xbd87b4(0x2b4)]});}[_0xc11182(0x2f1)](){var _0x8d9e17=_0xc11182,_0x485266;const _0xeb64fc=this[_0x8d9e17(0x17a)],_0x10382d=this['_configService'][_0x8d9e17(0x242)](Y),_0x53da8f=_0xeb64fc===0x0?0x0:((_0x485266=_0x10382d==null?void 0x0:_0x10382d[_0x8d9e17(0x305)])!=null?_0x485266:$n)*0x2**_0xeb64fc;this[_0x8d9e17(0x138)]=setTimeout(()=>{var _0x3a2a85=_0x8d9e17;clearTimeout(this[_0x3a2a85(0x138)]),this[_0x3a2a85(0x138)]=null,this['_tryEnsureSocket']();},_0x53da8f),this[_0x8d9e17(0x17a)]+=0x1;}['_onMessage'](_0x5d5fcc,_0x214184){var _0x4b8742=_0xc11182;const {cmd:_0x28c12f}=_0x214184;_0x28c12f===F[_0x4b8742(0xdc)]&&!this['_socketReady']&&(_0x5d5fcc['memberID']=_0x214184[_0x4b8742(0x1b4)][_0x4b8742(0xa5)],this[_0x4b8742(0x15e)][_0x4b8742(0xc2)](_0x5d5fcc),this[_0x4b8742(0x34b)][_0x4b8742(0xc2)](Te[_0x4b8742(0x26e)]),this['_socketReady']=!0x0,this[_0x4b8742(0x2f6)]=null),_0x28c12f===F['HEARTBEAT']&&this[_0x4b8742(0x178)](),this[_0x4b8742(0x22a)]();}[_0xc11182(0x22a)](){var _0x4bf0ee=_0xc11182,_0x1013cf;this[_0x4bf0ee(0x173)](),this[_0x4bf0ee(0x39b)]=setTimeout(()=>this[_0x4bf0ee(0x30b)](),(_0x1013cf=this[_0x4bf0ee(0x2a6)]['getConfig'](Ln))!=null?_0x1013cf:Mn);}['_sendHeartbeat'](){var _0x36f6a1=_0xc11182;this[_0x36f6a1(0xd0)][_0x36f6a1(0x364)]({'cmd':F[_0x36f6a1(0x337)]}),this[_0x36f6a1(0xc5)]();}['_waitForHeartbeatResponse'](){var _0x1dcd6d=_0xc11182,_0x2d1c40;this[_0x1dcd6d(0x191)]=setTimeout(()=>this[_0x1dcd6d(0x1b7)](),(_0x2d1c40=this[_0x1dcd6d(0x2a6)][_0x1dcd6d(0x242)](Ei))!=null?_0x2d1c40:Ii);}[_0xc11182(0x173)](){var _0x30f254=_0xc11182;this[_0x30f254(0x39b)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x30f254(0x39b)]=null);}[_0xc11182(0x178)](){var _0x14aaed=_0xc11182;this[_0x14aaed(0x191)]!=null&&(clearTimeout(this[_0x14aaed(0x191)]),this['_timeoutTimer']=null);}};Le=hs([ge(0x0,_0x2d4781(_0x93988d)),ge(0x1,_0x2bee51),ge(0x2,_0x4f3939),ge(0x3,bi),ge(0x4,_0x2d4781(_0x4b66e4)),ge(0x5,_0x2d4781(pe)),ge(0x6,_0x220a19(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)['toString'](0x10)[_0xc11182(0x1fd)](0x1));function _s(_0x273a26,_0x4bee0a=0x0){var _0x12e14c=_0xc11182;return(V[_0x273a26[_0x4bee0a+0x0]]+V[_0x273a26[_0x4bee0a+0x1]]+V[_0x273a26[_0x4bee0a+0x2]]+V[_0x273a26[_0x4bee0a+0x3]]+'-'+V[_0x273a26[_0x4bee0a+0x4]]+V[_0x273a26[_0x4bee0a+0x5]]+'-'+V[_0x273a26[_0x4bee0a+0x6]]+V[_0x273a26[_0x4bee0a+0x7]]+'-'+V[_0x273a26[_0x4bee0a+0x8]]+V[_0x273a26[_0x4bee0a+0x9]]+'-'+V[_0x273a26[_0x4bee0a+0xa]]+V[_0x273a26[_0x4bee0a+0xb]]+V[_0x273a26[_0x4bee0a+0xc]]+V[_0x273a26[_0x4bee0a+0xd]]+V[_0x273a26[_0x4bee0a+0xe]]+V[_0x273a26[_0x4bee0a+0xf]])[_0x12e14c(0x1f9)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x38f86b=_0xc11182;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x38f86b(0x1e8));dt=crypto[_0x38f86b(0x36a)][_0x38f86b(0xfc)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0xc11182(0x370)]&&crypto['randomUUID'][_0xc11182(0xfc)](crypto),qt={'randomUUID':ds};function fs(_0x148bb9,_0x54390b,_0x59eda0){var _0x5a2c2f=_0xc11182;if(qt['randomUUID']&&!_0x54390b&&!_0x148bb9)return qt[_0x5a2c2f(0x370)]();_0x148bb9=_0x148bb9||{};const _0x5a2b43=_0x148bb9[_0x5a2c2f(0x2f5)]||(_0x148bb9['rng']||us)();return _0x5a2b43[0x6]=_0x5a2b43[0x6]&0xf|0x40,_0x5a2b43[0x8]=_0x5a2b43[0x8]&0x3f|0x80,_s(_0x5a2b43);}const X=_0x306056('collaboration-client.local-cache-service');function vo(_0x426dd9){return'unit-cache-'+_0x426dd9;}var vs=Object[_0xc11182(0x1fb)],ps=Object[_0xc11182(0x1ef)],ms=(_0x4763aa,_0x5cff23,_0x49ec4d,_0x3fa86f)=>{var _0xa64eb1=_0xc11182;for(var _0xb7d80d=_0x3fa86f>0x1?void 0x0:_0x3fa86f?ps(_0x5cff23,_0x49ec4d):_0x5cff23,_0x499087=_0x4763aa[_0xa64eb1(0x219)]-0x1,_0x158e7f;_0x499087>=0x0;_0x499087--)(_0x158e7f=_0x4763aa[_0x499087])&&(_0xb7d80d=(_0x3fa86f?_0x158e7f(_0x5cff23,_0x49ec4d,_0xb7d80d):_0x158e7f(_0xb7d80d))||_0xb7d80d);return _0x3fa86f&&_0xb7d80d&&vs(_0x5cff23,_0x49ec4d,_0xb7d80d),_0xb7d80d;},ft=(_0x29bf19,_0x5bd763)=>(_0x4bb106,_0x61cd6a)=>_0x5bd763(_0x4bb106,_0x61cd6a,_0x29bf19);function gs(_0x196178){var _0x33bdb3=_0xc11182;const {unitID:_0x184f35,mutations:_0x411b6d}=_0x196178;return{'unitId':_0x184f35,'subUnitId':_0x411b6d[0x0][_0x33bdb3(0x2af)]['subUnitId']};}let nt=class{constructor(_0x7f421e,_0x19e9dc,_0x3ce606){var _0x4f8b2f=_0xc11182;this['_injector']=_0x7f421e,this[_0x4f8b2f(0x335)]=_0x19e9dc,this[_0x4f8b2f(0x23d)]=_0x3ce606;}[_0xc11182(0xf6)](_0x27459e){var _0x991459=_0xc11182,_0x533301,_0x32671b,_0x57112b,_0x525fe9;const _0x5b8551=this['_injector']['get'](_0x1b27da),{unitId:_0x1913f4,subUnitId:_0x12814a}=gs(_0x27459e),_0x49000d=_0x5b8551==null?void 0x0:_0x5b8551[_0x991459(0xc8)](_0x1913f4)[_0x991459(0x236)](),_0xdb572b=(_0x32671b=(_0x533301=this[_0x991459(0x23d)][_0x991459(0x118)](_0x1913f4))==null?void 0x0:_0x533301[_0x991459(0x319)]())==null?void 0x0:_0x32671b[_0x991459(0xc3)]();if(_0x49000d['length']===0x0||!_0x1913f4||!_0x12814a)return;const _0x48a7ee=[{'id':_0x1a7068['id'],'params':{'unitId':_0x1913f4,'subUnitId':_0xdb572b,'selections':_0x90d2e6[_0x991459(0x213)](_0x49000d)}}],_0x3ebb1f=this[_0x991459(0x335)][_0x991459(0x29d)](_0x27459e,_0x48a7ee);if(!_0x746fd9(_0x3ebb1f))throw _0x3ebb1f[_0x991459(0x2dc)];const _0x1c936d=(_0x525fe9=(_0x57112b=_0x3ebb1f[_0x991459(0x37a)][0x0])==null?void 0x0:_0x57112b[_0x991459(0x2af)])==null?void 0x0:_0x525fe9['selections'];if(Array[_0x991459(0x11d)](_0x1c936d)&&_0x1c936d[_0x991459(0x219)]){if(_0x1c936d[_0x991459(0x219)]===_0x48a7ee[0x0][_0x991459(0x2af)][_0x991459(0x1ba)]['length']&&_0x1c936d['every']((_0x300204,_0x2e9368)=>_0x32eeb1['equals'](_0x300204[_0x991459(0x393)],_0x48a7ee[0x0][_0x991459(0x2af)][_0x991459(0x1ba)][_0x2e9368][_0x991459(0x393)])))return;this[_0x991459(0xd6)][_0x991459(0x122)](_0x30846c)['executeCommand'](_0x1a7068['id'],{'unitId':_0x1913f4,'subUnitId':_0xdb572b,'selections':_0x1c936d});}}};nt=ms([ft(0x0,_0x2d4781(_0x93988d)),ft(0x1,_0x133ec2),ft(0x2,_0x414ec3)],nt);const _t=_0x306056('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x560e03=>(_0x560e03[_0x560e03['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xc11182(0x199),_0x560e03[_0x560e03['OTHER_CLIENTS_EDITING']=0x1]=_0xc11182(0x1ce),_0x560e03))(yi||{});function _0x4c8f(){var _0x314477=['_keyPriorReset','_memberService','_showConflictNotification','\x20in\x20_schedule.','refreshPermission','AWAITING','pad','joinRsp','entityInit$','getImage','_map','getResourcesRequest','onRemoteChangeset','getPermissionPoint','_onJoinRoomEvent','\x20to\x20','_undoRedoService','transformMutationsWithChangeset','UnitEmbedded','getUnitStatus$','getSheetBlock','_remoteChangesetQueue','_localCacheService','SNAPSHOT_SERVER_URL_KEY','_applyRemoteChangeset','_sessionStatus$','_configService','_handlerCallback','closeSession','[CollaborationUndoRedoService]','_replayCachedMutations','incrementRevOfUnit','Decryptor','file','[PendingState]:\x20unhandled\x20univer\x20type:\x20','params','Latin1','_transitionLocked','Base','appendMutation','SOCKET_FAILED','onSendChangeset','_key','Encryptor','UNIVER_UNKNOWN','session.room-permission-denied','unitID','collabWebSocketUrl','csRejEvent','YUUMI_RATE_OVER_LIMIT','list','target','getRoom','_onRecvEvent','_getLoginPath','_onConflict','_incrementRevisionNumber','blockSize','getUnitType','People','&assign=','runId','onSyncEditingCollabCursor','transformUndoRedo','onRemoteAck','_stopTelemetryCollaborationNewChangeset','_unitID','localCacheService','state$','subscribe','NoPadding','_onRemoteACK','[SyncedState]:\x20received\x20acknowledgement.','words','call','_telemetryService','HmacMD5','__creator','COLLAB_SUBMIT_CHANGESET_URL','_data','error','sin','loadSheet','1748110ZhGVCv','HmacSHA1','getTypeOfUnitDisposed$','_iv','_onRemoteRetry','updateCollaborator','substr','hostname','5568792ZgCKqq','_imageSourceCache','_DEC_XFORM_MODE','RECV','onTransformIME','format','_getDownloadEndpointURL','reconnect','[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.','Univer','_tryReconnect','capture','COMPRESS_MUTATION_SEND','_onRemoteRejected','random','_candidateSocket','editing\x20status\x20changed\x20to','NOT_FOUND','_httpService','sid','not_collab','[OfflineState]:\x20received\x20acknowledgement.','resend','put','getCurrentUser','YUUMI_UNABLE_LOAD_URL','unknown','socket$','subject','toString','retryConnectingInterval','liveShareOperation','dispose','_snapshotServerService','createCollaborator','add','_sendHeartbeat','disposeWithMe','_authzIoService','SNAPSHOT_INVALID_SNAPSHOT','SHA1','withCredentials','_singleActiveUnitService','change$','PasswordBasedCipher','_commandService','/role','_executeRemoteChangeset','univer-pro.collaboration-client-socket-service','repeat','getActiveSheet','searchParams','_createInitialState','BufferedBlockAlgorithm','execute','_sessions','_waitCount','image/png','_event$','_collaborationPaused','_substituteRedoStack','fetchThroughInterceptors','_clearScheduledTask','SNAPSHOT_HAS_BEEN_REMOVED','GLOBAL_ROOMS_CNT_EXCEEDS','reset','_oKey','fetching\x20missing\x20changesets\x20from\x20','JOINING','870jPnIhK','getTargetByPermissionId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_createInitialStateImpl','APPLY_DUPLICATED','cfg','getUnitId','pipe','snapshot','_transformService','localeService','HEARTBEAT','_doReset','location','APPLY_REVISION_CONFILICT','_nRounds','sigBytes','ERROR_IMAGE','synced','exports','crypto','_shouldReportTelemetry','asObservable','_toggleOffline','initWorkbookPermissionChange','$super','session.room-cnt-exceeds','Base64','msCrypto','_createHelper','_members$','_status$','algo','ceil','SUBMIT_CHANGESET_TIMEOUT','_HTTPService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_snapshotService','AES','LIVESHARE_OPERATION','PSEUDO_FETCH_MISSING_RESULT','clamp','_telemetryInfo','_getSendChangesetTimeout','sessionStatus','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','origin','{fileID}','onStarting','_acknowledgedAwaitingChangeset','_clearLocalCache','toggleOnline','status','_registerDependencies','_eventService','createEncryptor','send','salt','clear','values','ALREADY_EXISTS','_toggleOnline','getRandomValues','connection\x20error','COMPLETION_FINISHED','_getUndoStack','SelectRange','onlyLocal','randomUUID','key','subType','getCurrentUnitForType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_updateStatus','compute','href','PERMISSION_DENIED','764976fMfpyZ','m2Prime','getCollabEntity','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EvpKDF','then','splice','ciphertext','fetchMissingChangesets','Cipher','hasher','processBlock','getDeserializedSheetBlock','setShowComponents','ws://127.0.0.1:8000/universer-api/comb/connect','[CollaborationSession]','permissionRejEvent','getMemberID','LIVESHARE_TERMINATE','Utf8','c1Prime','join','APPLY_PERMISSION_DENIED','NEW_CHANGESETS','_userManagerService','rev','range','json','_updateState','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','loadUnit','updateMember','onMissedChangesetFetched','AWAITING_WITH_PENDING','_sendHeartbeatTimer','image/jpeg','onTransformSelections','59345BwgYBE','_univerInstanceService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','submit\x20changeset\x20error!','CHANGESET_ACK','_parse','OTHER_CLIENT_EDITING','_state','_permissionService','resourceIDs','transformChangesets','_hash','_cipher','encrypt','Hex','hasOwnProperty','_onConnectionOpen','requireSession','getValue','memberID','[PendingState]:\x20received\x20rejection.','map','pluginName','init','finalize','UNDEFINED','_xformMode','_createHandler','_replaceFileID','_getSignURL','_transformRemoteChangesetByStateCache','_compressMutationService','workbook','UNIVER_COLLABORATION_CLIENT_PLUGIN','liveShareNewHost','_queuedRemoteChangesets','_throwTelemetryCollaborationNewChangeset','readyForCollab','unsubscribe','authzUrl','LIVESHARE_NEW_HOST','_entities','sendChangesetTimeout','image/bmp','18KOqeSN','getLatestCsReqIdBySid','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus$','next','getSheetId','keySize','_waitForHeartbeatResponse','concat','batchAllowed','getWorkbookSelections','_mode','awaiting','_onUserLeave','SEND_CHANGESET_TIMEOUT','_checkMissing','_roomCreated$','_unitInfo$','_socket','clone','interceptor','/universer-api/file/{fileID}/sign-url','ruleRefresh','append','_injector','buffer','onMissingChangesets','loadOfflineData','_invKeySchedule','size','HELLO','_socketReady','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_listenToNetworkCondition','infoRsp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','textRanges','_resendTimeout','_emitMembers','_collaborationTimeoutTimer','_minBufferSize','objectID','_schedule','loginUrlKey','collaboration_new_changeset','JOIN','auth.needGotoLoginAlert','objectActions','loadDoc','reqId','_startCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getAPIPrefixPath','fromCollab','_sendingTimer','/universer-api/comb','transformSelections','_transformRemoteChangesetByIMECache','/object','routeKey','/universer-api/stream/file/upload','createSocket','bind','push','_fetchMissChangesets','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_type','decryptBlock','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','JOIN_ROOM_FAILED','body','emitEvent','patch','HttpExport','apply','UNKNOWN_CODE','function','awaitingChangeset','mixIn','mode','_hasher','_socketMessageSubscription','_roomMembers','onRemoteRetry','c2Prime','_getSessionTicket','_clearCollaborationTimeoutTimer','UNIVER_SLIDE','CONNECTOR_DATA_TOO_LARGE','_prevBlock','getUnit','CONFLICT','/-/object/list','OPTIONAL','commentUpdateEvent','isArray','toggleOffline','csAckEvent','\x20-\x20','_handler','get','INTERNAL_ERROR','\x0aAfter:\x20','objectType','sheets','_iKey','SOCKET_FAILED_RETRY','listCollaborators','/fetchmissing?from=','post','[OfflineState]:\x20received\x20changeset.','enableOfflineEditing','[UniverCollaborationClientPlugin]','[CollaborationSessionService]','fetchMiss','UNIVER_SHEET','[CollaborationEntity]','actions','_onUserJoin','event$','FAIL','changesets','_retryConnectingTimer','/rev/','_getCurrentRevision','USERS_LEAVE','/allowed','8CAaDFa','revision','\x0aCurrent:\x20','ivSize','INVALID_ARGUMENT','_change$','Pkcs7','UNIVER_PROJECT','[DataLoaderService]','_revisionService','/universer-api/snapshot/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','BlockCipher','onLocalMutation','headers','search','_collabSessionService','_awaitingChangeset','_transformStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','type','_keySchedule','unitId','parse','LICENSE_MAX_UNITS_EXCEEDED','Error\x20on\x20receiving\x20event','collaborators','_removeRoom','delete','debug','_entityInit$','WordArray','extend','_socket$','7479756pNUKXj','onRemoteRej','onCommandExecuted','saveChangeset','UNRECOGNIZED','allowed','onStateChange','shouldCloseConn','TOO_MANY_REQUESTS','_nDataBytes','FileId','/block/','roles','_initMergeInterceptor','eventID','_getCtorByUniverType','complete','putCollaborators','onTransformState','LIVESHARE_REQUEST_HOST','_clearHeartbeatTimer','findIndex','_transformUndoredo','CipherParams','getAllMembers','_clearTimeoutTimer','_createHmacHelper','_retryCount','_onRemoteChangeset','updatePermissionObjEvent','session','byteOffset','members$','find','createInstance','UPDATE_PERMISSION_OBJ','_updateLocalCache','prototype','POST','leaveEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','commentUpdate$','_initDependencies','COMPRESS_MUTATION_APPLY','removeMember','image/gif','IDLE','getMember','FETCH_MISS','pending','_timeoutTimer','Undefined','_sheetTransformSelectionsService','startTime','executeCommand','addImageSourceCache','UNKNOWN_CMD','fetch_missing','NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_http','byteLength','_lockTransition','clearUndoRedo','originalMeta','getInterceptPoints','socket\x20close','members','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getCollabEntity$','_redoStacks','SHOULD_CLOSE_CONN','AUTHZ_URL_KEY','_doProcessBlock','UnitSnapshot','state','setCurrentUser','OpenSSL','focused$','_submitChangeset','mutations','_logService','_sender','_scheduleTimestamp','name','data','_append','UNIVER_DOC','_onConnectionFailed','_getAPIPrefix','objects','selections','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformSelections','confirm','result','PERSON','_ENC_XFORM_MODE','_pendingMutations','url','_syncEditingCollabCursor','registerHTTPInterceptor','_commentService','_initCloseConn','JOIN_ROOM_PERMISSION_DENIED','_createSocketURL','code','Malformed\x20UTF-8\x20data','_loadDoc','update','_process','OTHER_CLIENTS_EDITING','error$','dispose$','open$','status$','[CollaborationState]:\x20apply\x20error!','_socketService','_transformStack','INGEST','UUID','updateCursorEvent','readInt32LE','_reverseMap','from','filter','onCommentUpdate','PERMISSION_REJ','cmd','_collaborationSessionService','_loadSheet','kdf','offline','_resendWithTimeout','forEach','action','telemetry\x20info\x20is\x20not\x20initialized','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/universer-api/authz','conflict','set','abs','HttpImport','_joinRoom','getOwnPropertyDescriptor','BASE64','duration','_initUnitPermissionChange','RETRY_CONNECTING_MAX_COUNT','updatePermissionPoint','_substituteUndoStack','_createSocket','userID','title','toLowerCase','default','defineProperty','application/json','slice','lib','encodeURIComponent','padding','saveSnapshot','_onFetchMissResult','every','entries','src','reject','includes','floor','JOIN_ROOM_FULL','_startTelemetryCollaborationNewChangeset','updateOfflineData','COLLAB_WEB_SOCKET_URL','_collaborationUIEventService','_unlockTransition','FETCH_MISSING','14HjRmoD','_exhaustRemoteChangesetQueue','charCodeAt','deepClone','wsSessionTicketUrl','x-univer-host','OFFLINE','requestParams','_doFinalize','length','MD5','79881irTuNv','_scheduleCollaborationTimeoutTimer','EXCHANGE_SIGN_URL_SERVER_URL_KEY','startsWith','baseRev','/universer-api/user/session-ticket','_disableEditing','value','UPDATE_CURSOR','CLOSE_ROOM','/collaborator','/-/object/-/batch_allowed','_members','stringify','LIVESHARE_FETCH_OPERATIONS','_rescheduleHeartbeat','catch','createDecryptor','max','method','ticket','HEARTBEAT_INTERVAL','create','APPLY_NON_SEQUENTIAL_REVISION','_resendTimer','awaiting_with_pending','_onCombEvent','getCurrentSelections','session.join-failed','message$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_config','SUCCUSS','_tryEnsureSocket','_instanceService','_transformIMECache','ERROR_EXCEED_SIZE','COMMENT_UPDATE','_state$','getConfig','/resources','uniscriptRunEvent','?size=','readAsDataURL','_decreaseWaiting','/universer-api/oidc/authpage','_localeService','override','charAt','decrypt','close$','getImageSourceCache','USERS_ENTER','string','close','enableAuthServer','_initRequestHeader','[PendingState]:\x20received\x20acknowledgement.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','_getRedoStack','has','encode','saveSheetBlock','_isPermissionRej','CHANGESET_SHOULD_RETRY','getTime','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/universer-api/snapshot','APPLY_REJECT','_changesetReqId','HEARTBEAT_TIMEOUT','StreamCipher','encryptBlock','2813862DpiYLn','/universer-api/uniscript','LICENSE_DISTRO_REJECTED','getCurrentRevOfUnit','deleteCollaborator','_onLocalMutation','enc','now','SerializableCipher','ONLINE','getUnitOnRev','fromCharCode','online$','getFocusedUnit','getSnapshotAPIPath','_commentUpdate$','UNISCRIPT_RUN','NOT_COLLAB','MSG_FOR_ERROR','Hasher','_changesetSessionId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTypeOfUnitAdded$','avatar','SUBMIT_CHANGESET','JOIN_ROOM_NOT_EXISTS','isPermissionRej','LEAVE','MUTATION','/unit/','_init','CHANGESET_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache','HMAC','transformStack\x20failed!','randomBytes','&to=','UNAUTHENTICATED','/object/'];_0x4c8f=function(){return _0x314477;};return _0x4c8f();}const Ss=new Set([_0x5afb68['id']]);function Jt(_0x1c65cf,_0x155f38,_0x37b805,_0x15ba0b,_0x4ae3ee){var _0x2cab8c=_0xc11182,_0x2dabb4,_0x471e12,_0x39f0b5,_0x4cb24a;const _0x1723fb=[];for(const _0x18d63f of _0x1c65cf)if(Ss[_0x2cab8c(0x258)](_0x18d63f['id'])){if(_0x1723fb['length']>0x0)break;_0x1723fb[_0x2cab8c(0xfd)](_0x18d63f);break;}else _0x1723fb[_0x2cab8c(0xfd)](_0x18d63f);const _0xee1a7d=(_0x471e12=(_0x2dabb4=_0x4ae3ee[_0x2cab8c(0x2ff)]())==null?void 0x0:_0x2dabb4['userID'])!=null?_0x471e12:'unknown',_0x4aecf8=(_0x4cb24a=(_0x39f0b5=_0x4ae3ee['getCurrentUser']())==null?void 0x0:_0x39f0b5[_0x2cab8c(0xa5)])!=null?_0x4cb24a:'unknown';return{'changeset':{'unitID':_0x155f38,'type':_0x1ec22a(_0x37b805[_0x2cab8c(0x2c6)](_0x155f38)),'baseRev':_0x15ba0b[_0x2cab8c(0x268)](_0x155f38),'revision':0x0,'userID':_0xee1a7d,'memberID':_0x4aecf8,'mutations':_0x1723fb},'pendingMutations':_0x1c65cf[_0x2cab8c(0x1fd)](_0x1723fb[_0x2cab8c(0x219)])};}function Es(_0x6c28d4,_0x44c6e7,_0x19f13e,_0x2ec3c8,_0x1e2c68){var _0xdcba6c=_0xc11182,_0x437414,_0x51cdec,_0x208b4f,_0x3ec09d;const _0x1cef3b=[_0x6c28d4['reduce']((_0xb7332d,_0x4247c2)=>{var _0x36530d=_0x7b62,_0x363aa4;const {id:_0x28a5d7}=_0xb7332d,{id:_0x3e8545,type:_0xf3efc5}=_0x4247c2,_0x5be7dc=(_0x363aa4=_0xb7332d['params'])!=null?_0x363aa4:{'actions':null},_0x48ab00=_0x4247c2[_0x36530d(0x2af)];if(_0x28a5d7&&_0x28a5d7!==_0x3e8545)throw new Error(_0x36530d(0x1a3)+_0x28a5d7+_0x36530d(0x120)+_0x3e8545+'.');return{..._0xb7332d,'id':_0x3e8545,'type':_0xf3efc5,'params':{'unitId':_0x48ab00[_0x36530d(0x153)],'textRanges':_0x48ab00['textRanges'],'actions':_0x422f0b['compose'](_0x5be7dc[_0x36530d(0x133)],_0x48ab00['actions'])}};},{})],_0xc2a0fd=(_0x51cdec=(_0x437414=_0x1e2c68[_0xdcba6c(0x2ff)]())==null?void 0x0:_0x437414[_0xdcba6c(0x1f7)])!=null?_0x51cdec:'unknown',_0x302dc7=(_0x3ec09d=(_0x208b4f=_0x1e2c68[_0xdcba6c(0x2ff)]())==null?void 0x0:_0x208b4f['memberID'])!=null?_0x3ec09d:_0xdcba6c(0x301);return{'changeset':{'unitID':_0x44c6e7,'type':_0x1ec22a(_0x19f13e[_0xdcba6c(0x2c6)](_0x44c6e7)),'baseRev':_0x2ec3c8['getCurrentRevOfUnit'](_0x44c6e7),'revision':0x0,'userID':_0xc2a0fd,'memberID':_0x302dc7,'mutations':_0x1cef3b},'pendingMutations':[]};}function Oi(_0x3ace97,_0x3d0c92){var _0x1fce80=_0xc11182;const _0x2cb125=new _0x4cc180(0x1);return setTimeout(()=>_0x2cb125[_0x1fce80(0xc2)](_0x3d0c92),_0x3ace97),_0x2cb125[_0x1fce80(0x342)]()['pipe'](_0x332e96(0x1));}const Is={'id':_0x58c35c['id'],'type':_0x84e8c5[_0xc11182(0x281)],'params':{}};var Ts=Object['defineProperty'],Cs=Object[_0xc11182(0x1ef)],be=(_0x359f05,_0x3deef7,_0x1c852b,_0x18bb96)=>{var _0x15da14=_0xc11182;for(var _0x2236fd=_0x18bb96>0x1?void 0x0:_0x18bb96?Cs(_0x3deef7,_0x1c852b):_0x3deef7,_0x2ca681=_0x359f05[_0x15da14(0x219)]-0x1,_0x3068a9;_0x2ca681>=0x0;_0x2ca681--)(_0x3068a9=_0x359f05[_0x2ca681])&&(_0x2236fd=(_0x18bb96?_0x3068a9(_0x3deef7,_0x1c852b,_0x2236fd):_0x3068a9(_0x2236fd))||_0x2236fd);return _0x18bb96&&_0x2236fd&&Ts(_0x3deef7,_0x1c852b,_0x2236fd),_0x2236fd;},A=(_0x220bb6,_0x5e7703)=>(_0x29350d,_0x304c45)=>_0x5e7703(_0x29350d,_0x304c45,_0x220bb6),Ni=(_0x181d29=>(_0x181d29[_0xc11182(0x276)]=_0xc11182(0x2fb),_0x181d29['SYNCED']=_0xc11182(0x33e),_0x181d29['PENDING']=_0xc11182(0x190),_0x181d29[_0xc11182(0x291)]=_0xc11182(0xca),_0x181d29[_0xc11182(0x39a)]='awaiting_with_pending',_0x181d29[_0xc11182(0x18f)]=_0xc11182(0x198),_0x181d29[_0xc11182(0x119)]='conflict',_0x181d29[_0xc11182(0x216)]='offline',_0x181d29))(Ni||{});const Pi=0xea60;class Re{constructor(_0x37fc7a,_0x258f38,_0x1ec87a,_0x54406d,_0x3ddd0d,_0xe00497,_0x4e0fa9,_0x4658c1,_0x50f57c){var _0x29ae81=_0xc11182;P(this,'_awaitingChangeset',null),P(this,_0x29ae81(0x1c1),[]),(this['unitID']=_0x37fc7a,this[_0x29ae81(0x151)]=_0x258f38,this[_0x29ae81(0x121)]=_0x3ddd0d,this[_0x29ae81(0x314)]=_0xe00497,this['_undoRedoService']=_0x4e0fa9,this[_0x29ae81(0x146)]=_0x4658c1,this[_0x29ae81(0x2a2)]=_0x50f57c,this['_awaitingChangeset']=_0x1ec87a,this[_0x29ae81(0x1c1)]=_0x54406d);}['_checkMissing'](_0x441def){var _0x6162b4=_0xc11182;const _0x3b8036=this['_revisionService'][_0x6162b4(0x268)](this[_0x6162b4(0x2ba)]);return _0x441def[_0x6162b4(0x13e)]>_0x3b8036+0x1?(this[_0x6162b4(0x121)]['onMissingChangesets']({'from':_0x3b8036,'to':_0x441def['revision']-0x1}),!0x0):!0x1;}[_0xc11182(0x175)](_0x10cd2d){var _0x2070dc=_0xc11182;this['_undoRedoService'][_0x2070dc(0x2cb)](this[_0x2070dc(0x2ba)],_0x10cd2d);}[_0xc11182(0x1bc)](_0x1721c0){var _0x4df886=_0xc11182,_0x3f30c5,_0x52cffe;(_0x52cffe=(_0x3f30c5=this[_0x4df886(0x121)])[_0x4df886(0x39d)])==null||_0x52cffe['call'](_0x3f30c5,_0x1721c0);}['_transformIMECache'](_0x30e6c2){var _0x52bd5f=_0xc11182,_0x559aa4,_0x2fb71f;return(_0x2fb71f=(_0x559aa4=this[_0x52bd5f(0x121)])[_0x52bd5f(0x2eb)])==null?void 0x0:_0x2fb71f[_0x52bd5f(0x2d6)](_0x559aa4,_0x30e6c2);}[_0xc11182(0x14f)](_0x135d61){var _0x55e040=_0xc11182,_0x2f6023,_0x5eb6d0;return(_0x5eb6d0=(_0x2f6023=this[_0x55e040(0x121)])[_0x55e040(0x171)])==null?void 0x0:_0x5eb6d0[_0x55e040(0x2d6)](_0x2f6023,_0x135d61);}[_0xc11182(0xf7)](_0xc8e578){var _0x56b9df=_0xc11182,_0x458db5,_0x532b7f,_0x60beb0;return(_0x60beb0=(_0x532b7f=(_0x458db5=this[_0x56b9df(0x121)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x532b7f[_0x56b9df(0x2d6)](_0x458db5,_0xc8e578))!=null?_0x60beb0:_0xc8e578;}[_0xc11182(0xb0)](_0x3b3524){var _0x44e650=_0xc11182,_0x58db38,_0x23f704,_0x62c535;return(_0x62c535=(_0x23f704=(_0x58db38=this[_0x44e650(0x121)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x23f704[_0x44e650(0x2d6)](_0x58db38,_0x3b3524))!=null?_0x62c535:_0x3b3524;}[_0xc11182(0x1c3)](_0x32d1f4){var _0x21406b=_0xc11182,_0x1488d5,_0x541e2c;if(this[_0x21406b(0x151)]===Q[_0x21406b(0x1b6)]){const {unitID:_0x43216a,mutations:_0x3df8b9,memberID:_0x43844c}=_0x32d1f4,_0x31f3e4=_0x3df8b9[0x0]['params'][_0x21406b(0xe2)];Array['isArray'](_0x31f3e4)&&_0x31f3e4['length']>0x0&&((_0x541e2c=(_0x1488d5=this[_0x21406b(0x121)])[_0x21406b(0x2ca)])==null||_0x541e2c['call'](_0x1488d5,{'unitID':_0x43216a,'memberID':_0x43844c,'textRanges':_0x31f3e4}));}}[_0xc11182(0x183)](){var _0x11247a=_0xc11182,_0x4304df;(_0x4304df=this[_0x11247a(0x2a2)])==null||_0x4304df[_0x11247a(0x20b)](this['unitID'],this[_0x11247a(0x151)],this[_0x11247a(0x14e)],this[_0x11247a(0x1c1)]);}[_0xc11182(0x13a)](){var _0x358d22=_0xc11182;return this[_0x358d22(0x146)]['getCurrentRevOfUnit'](this[_0x358d22(0x2ba)]);}[_0xc11182(0x2c4)](){var _0x20530b=_0xc11182;this[_0x20530b(0x146)][_0x20530b(0x2ab)](this[_0x20530b(0x2ba)]);}['_executeRemoteChangeset'](_0xe83dcc){var _0x56da1a=_0xc11182,_0x399aa9;let _0x1a07d9=this[_0x56da1a(0xf7)](_0xe83dcc);_0x1a07d9=this[_0x56da1a(0xb0)](_0x1a07d9);const _0xff38a7=_0x360b29(_0x1a07d9[_0x56da1a(0x1af)],this[_0x56da1a(0x314)],{'fromCollab':!0x0});if(!_0xff38a7[_0x56da1a(0x1be)])throw _0xff38a7[_0x56da1a(0x2dc)]instanceof Error?_0xff38a7[_0x56da1a(0x2dc)]:new Error((_0x399aa9=_0xff38a7[_0x56da1a(0x2dc)])!=null?_0x399aa9:_0x56da1a(0x1d3));this[_0x56da1a(0x23e)](_0x1a07d9),this[_0x56da1a(0x14f)](_0x1a07d9),this[_0x56da1a(0x175)](_0xe83dcc),this[_0x56da1a(0x1bc)](_0x1a07d9),this[_0x56da1a(0x1c3)](_0x1a07d9),this[_0x56da1a(0x2c4)]();}}let Pe=class extends Re{constructor(_0x377a90,_0x48ce4d,_0x39e676,_0xda04e,_0x10763f,_0x31aa06,_0x4e72ed,_0x16e24e,_0x53f9a1,_0x233e07){var _0x29aa08=_0xc11182;super(_0x377a90,_0x48ce4d,null,[],_0x39e676,_0x4e72ed,_0x31aa06,_0xda04e,_0x233e07),P(this,_0x29aa08(0x360),_0x29aa08(0x33e)),(this[_0x29aa08(0xd6)]=_0x10763f,this[_0x29aa08(0x1b0)]=_0x16e24e,this[_0x29aa08(0x335)]=_0x53f9a1,this[_0x29aa08(0x2cf)]=_0x233e07);}[_0xc11182(0x2b3)](_0x2c3efd){var _0x2b3270=_0xc11182;const _0x28d680=this[_0x2b3270(0xd6)][_0x2b3270(0x181)](oe,this[_0x2b3270(0x2ba)],this[_0x2b3270(0x151)],[_0x2c3efd],this[_0x2b3270(0x121)]);return _0x28d680[_0x2b3270(0xe8)](),_0x28d680[_0x2b3270(0x183)](),_0x28d680;}[_0xc11182(0x298)](_0x253a7f){var _0x5722e8=_0xc11182;if(this['_checkMissing'](_0x253a7f))return this[_0x5722e8(0xd6)][_0x5722e8(0x181)](te,this[_0x5722e8(0x2ba)],this[_0x5722e8(0x151)],null,[],null,[_0x253a7f],this[_0x5722e8(0x121)]);try{const _0xe0353f=this[_0x5722e8(0x335)][_0x5722e8(0x29d)](_0x253a7f,[Is]);if(_0x746fd9(_0xe0353f)){const {c1Prime:_0x1b1e1d}=_0xe0353f;return this[_0x5722e8(0x316)](_0x1b1e1d),this;}throw _0xe0353f[_0x5722e8(0x2dc)];}catch(_0x5335fb){return this['_logService'][_0x5722e8(0x2dc)](_0x5335fb),this['_onConflict'](!0x1);}}[_0xc11182(0x2c3)](_0x58f6c0){var _0x3500ab=_0xc11182;return this[_0x3500ab(0xd6)][_0x3500ab(0x181)](de,this[_0x3500ab(0x2ba)],this[_0x3500ab(0x151)],null,[],this['_handler'],_0x58f6c0);}[_0xc11182(0x2cc)](){var _0x201551=_0xc11182;throw new Error(_0x201551(0x2d4));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xc11182(0x111)](){return this;}[_0xc11182(0x11e)](){var _0x13a595=_0xc11182;return this[_0x13a595(0xd6)][_0x13a595(0x181)](fe,this['unitID'],this[_0x13a595(0x151)],null,[],this[_0x13a595(0x121)]);}['toggleOnline'](){return this;}[_0xc11182(0x2fd)](){var _0x1b2e4a=_0xc11182;throw new Error(_0x1b2e4a(0xff));}[_0xc11182(0x130)](){var _0x23e51d=_0xc11182;const _0x4f7885=this[_0x23e51d(0x146)]['getCurrentRevOfUnit'](this[_0x23e51d(0x2ba)]);return this['_handler'][_0x23e51d(0xd8)]({'from':_0x4f7885,'to':0x0}),this[_0x23e51d(0xd6)][_0x23e51d(0x181)](te,this[_0x23e51d(0x2ba)],this['type'],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x2d4781(_0x3db8bc)),A(0x4,_0x2d4781(_0x93988d)),A(0x5,_0x17da82),A(0x6,_0x30846c),A(0x7,_0x2bee51),A(0x8,_0x133ec2),A(0x9,_0x220a19(X))],Pe);let oe=class extends Re{constructor(_0xa28d6a,_0x27fd6a,_0x41bf5f,_0x14a6da,_0x5245b0,_0x27c58b,_0x37b52c,_0x48f336,_0x4d8cf2,_0x23c29e,_0x1fabde,_0x48047a,_0x288dc6,_0x4779ce){var _0x134851=_0xc11182;super(_0xa28d6a,_0x27fd6a,null,_0x41bf5f,_0x14a6da,_0x4d8cf2,_0x288dc6,_0x27c58b,_0x4779ce),P(this,'status',_0x134851(0x190)),P(this,_0x134851(0x1b2),null),P(this,_0x134851(0xf4),null),(this[_0x134851(0xd6)]=_0x5245b0,this[_0x134851(0x28d)]=_0x37b52c,this[_0x134851(0x1b0)]=_0x48f336,this[_0x134851(0x2a6)]=_0x23c29e,this[_0x134851(0x335)]=_0x1fabde,this[_0x134851(0x39f)]=_0x48047a);}[_0xc11182(0x2b3)](_0x524fb3){return this['_pendingMutations']['push'](_0x524fb3),this['_updateLocalCache'](),this;}[_0xc11182(0x298)](_0xd49a05){var _0xb3427d=_0xc11182;if(this[_0xb3427d(0xcd)](_0xd49a05))return this[_0xb3427d(0x325)](),this[_0xb3427d(0xd6)][_0xb3427d(0x181)](te,this[_0xb3427d(0x2ba)],this[_0xb3427d(0x151)],null,this[_0xb3427d(0x1c1)],null,[_0xd49a05],this[_0xb3427d(0x121)]);try{const _0x5b0d1b=this[_0xb3427d(0x335)][_0xb3427d(0x29d)](_0xd49a05,this[_0xb3427d(0x1c1)]);if(_0x746fd9(_0x5b0d1b)){const {c1Prime:_0x437328,m2Prime:_0x1700d5}=_0x5b0d1b;this['_executeRemoteChangeset'](_0x437328);const _0x49bb49=this[_0xb3427d(0xd6)][_0xb3427d(0x181)](oe,this[_0xb3427d(0x2ba)],this[_0xb3427d(0x151)],_0x1700d5,this[_0xb3427d(0x121)]);return this[_0xb3427d(0x325)](),_0x49bb49[_0xb3427d(0xe8)](this[_0xb3427d(0x1b2)]?Math['max'](0x0,new Date()['getTime']()-this[_0xb3427d(0x1b2)]):this['_getSendChangesetTimeout']()),_0x49bb49;}throw _0x5b0d1b['error'];}catch(_0x29ab66){return this[_0xb3427d(0x1b0)][_0xb3427d(0x2dc)](_0x29ab66),this['_onConflict'](!0x1);}}[_0xc11182(0x2cc)](){var _0x2aaa0f=_0xc11182;throw new Error(_0x2aaa0f(0x254));}['onRemoteRej'](){var _0x19355e=_0xc11182;throw new Error(_0x19355e(0xa6));}['onRemoteRetry'](){return this;}[_0xc11182(0x11e)](){var _0x575082=_0xc11182;return this[_0x575082(0x325)](),this[_0x575082(0xd6)]['createInstance'](fe,this[_0x575082(0x2ba)],this['type'],null,this[_0x575082(0x1c1)],this[_0x575082(0x121)]);}['toggleOnline'](){return this;}[_0xc11182(0xe8)](_0x2c17ff){var _0x1afc54=_0xc11182;const _0x5bc464=_0x2c17ff!=null?_0x2c17ff:this[_0x1afc54(0x357)]();this['_scheduleTimestamp']=new Date()[_0x1afc54(0x25d)](),this[_0x1afc54(0xf4)]=setTimeout(()=>{var _0x40f9a9=_0x1afc54;this[_0x40f9a9(0x325)]();let _0x2fcfa2=null;switch(this['type']){case Q[_0x40f9a9(0x131)]:{_0x2fcfa2=Jt(this[_0x40f9a9(0x1c1)],this['unitID'],this['_univerInstanceService'],this[_0x40f9a9(0x146)],this[_0x40f9a9(0x28d)]);break;}case Q[_0x40f9a9(0x1b6)]:{this['_pendingMutations'][_0x40f9a9(0x203)](_0x355b5d=>_0x355b5d['id']===_0x30587c['id'])?_0x2fcfa2=Es(this['_pendingMutations'],this[_0x40f9a9(0x2ba)],this['_univerInstanceService'],this[_0x40f9a9(0x146)],this[_0x40f9a9(0x28d)]):_0x2fcfa2=Jt(this[_0x40f9a9(0x1c1)],this[_0x40f9a9(0x2ba)],this[_0x40f9a9(0x39f)],this['_revisionService'],this[_0x40f9a9(0x28d)]);break;}default:throw new Error(_0x40f9a9(0x2ae)+this['type']+_0x40f9a9(0x28f));}const {changeset:_0x286d43,pendingMutations:_0x15a4ee}=_0x2fcfa2;this['_handler'][_0x40f9a9(0x2b5)](_0x286d43);const _0x6f4bdb=_0x15a4ee[_0x40f9a9(0x219)]?this[_0x40f9a9(0xd6)][_0x40f9a9(0x181)](ae,this['unitID'],this[_0x40f9a9(0x151)],_0x286d43,_0x15a4ee,this[_0x40f9a9(0x121)],void 0x0):this[_0x40f9a9(0xd6)][_0x40f9a9(0x181)](ue,this[_0x40f9a9(0x2ba)],this['type'],_0x286d43,this[_0x40f9a9(0x121)]);_0x6f4bdb[_0x40f9a9(0x183)](),this[_0x40f9a9(0x121)][_0x40f9a9(0x165)](this,_0x6f4bdb);},_0x5bc464);}[_0xc11182(0x357)](){var _0x3b5b08=_0xc11182,_0x2618a0;const _0x1922f4=this['_configService'][_0x3b5b08(0x242)](Y);return(_0x2618a0=_0x1922f4==null?void 0x0:_0x1922f4[_0x3b5b08(0xbc)])!=null?_0x2618a0:wn;}['resend'](){var _0x40f456=_0xc11182;throw new Error(_0x40f456(0x255));}['_clearScheduledTask'](){var _0x4d3222=_0xc11182;this[_0x4d3222(0xf4)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xc11182(0x2c3)](_0x8ad73c){var _0x4acb5c=_0xc11182;return this[_0x4acb5c(0x325)](),this[_0x4acb5c(0xd6)][_0x4acb5c(0x181)](de,this['unitID'],this['type'],null,this['_pendingMutations'],this['_handler'],_0x8ad73c);}};oe=be([A(0x4,_0x2d4781(_0x93988d)),A(0x5,_0x2d4781(_0x3db8bc)),A(0x6,_0x2d4781(xe)),A(0x7,_0x2bee51),A(0x8,_0x30846c),A(0x9,_0x4f3939),A(0xa,_0x133ec2),A(0xb,_0x414ec3),A(0xc,_0x17da82),A(0xd,_0x220a19(X))],oe);let ue=class extends Re{constructor(_0x2de486,_0x4fedfb,_0x826e54,_0x59442e,_0x376820,_0x350ecb,_0x25fe85,_0x479ac0,_0x36099e,_0x52561e,_0x5eec64){var _0xba40ea=_0xc11182;super(_0x2de486,_0x4fedfb,_0x826e54,[],_0x59442e,_0x25fe85,_0x52561e,_0x350ecb,_0x5eec64),P(this,_0xba40ea(0x360),'awaiting'),P(this,'_resendTimeout',0x0),P(this,_0xba40ea(0x233)),P(this,_0xba40ea(0x1b1)),(this[_0xba40ea(0xd6)]=_0x376820,this[_0xba40ea(0x1b0)]=_0x479ac0,this[_0xba40ea(0x335)]=_0x36099e);}[_0xc11182(0x2b3)](_0x420d41){var _0x2d8cb0=_0xc11182;this[_0x2d8cb0(0x325)]();const _0x4ef4f0=this[_0x2d8cb0(0xd6)][_0x2d8cb0(0x181)](ae,this[_0x2d8cb0(0x2ba)],this[_0x2d8cb0(0x151)],this[_0x2d8cb0(0x14e)],[_0x420d41],this[_0x2d8cb0(0x121)],this[_0x2d8cb0(0x233)]);return _0x4ef4f0[_0x2d8cb0(0x183)](),_0x4ef4f0;}[_0xc11182(0x298)](_0x49f583){var _0x103f12=_0xc11182;if(this['_checkMissing'](_0x49f583))return this['_clearScheduledTask'](),this[_0x103f12(0xd6)][_0x103f12(0x181)](te,this[_0x103f12(0x2ba)],this[_0x103f12(0x151)],this[_0x103f12(0x14e)],[],null,[_0x49f583],this[_0x103f12(0x121)]);try{const _0x56036a=this['_transformService'][_0x103f12(0x3a8)]([_0x49f583],[this['_awaitingChangeset']],!0x1);if(_0x4c878f(_0x56036a)){const {c1Prime:_0x451006,c2Prime:_0x168b92}=_0x56036a;this[_0x103f12(0x316)](_0x451006[0x0]),_0x168b92[0x0][_0x103f12(0x21f)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x32c685=this[_0x103f12(0xd6)][_0x103f12(0x181)](ue,this[_0x103f12(0x2ba)],this[_0x103f12(0x151)],_0x168b92[0x0],this[_0x103f12(0x121)]);return _0x32c685[_0x103f12(0x183)](),_0x32c685;}return this[_0x103f12(0x2c3)](!0x1);}catch(_0x5d894b){return this['_logService'][_0x103f12(0x2dc)](_0x5d894b),this[_0x103f12(0x2c3)](!0x1);}}[_0xc11182(0x2cc)](_0x2ef070){var _0x1a5412=_0xc11182;this['_clearScheduledTask']();const _0x2ddd45=this[_0x1a5412(0x146)][_0x1a5412(0x268)](this[_0x1a5412(0x2ba)]);if(_0x2ef070[_0x1a5412(0x13e)]<_0x2ddd45-0x1)return this;if(this[_0x1a5412(0xcd)](_0x2ef070))return this[_0x1a5412(0xd6)]['createInstance'](te,this[_0x1a5412(0x2ba)],this[_0x1a5412(0x151)],null,[],this[_0x1a5412(0x14e)],[],this['_handler']);this[_0x1a5412(0x2c4)]();const _0x344aa0=this['_injector'][_0x1a5412(0x181)](Pe,this[_0x1a5412(0x2ba)],this[_0x1a5412(0x151)],this['_handler']);return _0x344aa0[_0x1a5412(0x183)](),_0x344aa0;}[_0xc11182(0x160)](_0x1e8df3){var _0x2d1e60=_0xc11182;return this['_onConflict'](!!(_0x1e8df3!=null&&_0x1e8df3[_0x2d1e60(0x27f)]));}[_0xc11182(0x111)](_0x39d05b){var _0x326aab=_0xc11182;return this[_0x326aab(0xe3)]>Pi?this[_0x326aab(0x11e)]():(this['_resendTimer']=Oi(this[_0x326aab(0xe3)],{'timeout':this[_0x326aab(0xe3)],'reqId':_0x39d05b[_0x326aab(0xef)]}),this[_0x326aab(0x1b1)]=this['_resendTimer'][_0x326aab(0x2d1)](({reqId:_0x4d12c2,timeout:_0x234360})=>{var _0xf7380=_0x326aab;this[_0xf7380(0x1e4)](_0x4d12c2,_0x234360);}),this);}[_0xc11182(0x11e)](){var _0x5914a2=_0xc11182;return this['_clearScheduledTask'](),this[_0x5914a2(0xd6)][_0x5914a2(0x181)](fe,this[_0x5914a2(0x2ba)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0xc11182(0x35f)](){return this;}[_0xc11182(0x2fd)](){var _0x5c237b=_0xc11182;this['_handler'][_0x5c237b(0x2b5)](this[_0x5c237b(0x14e)]);}[_0xc11182(0x2c3)](_0x14eaea){var _0x4ad365=_0xc11182;return this[_0x4ad365(0x325)](),this['_injector'][_0x4ad365(0x181)](de,this['unitID'],this[_0x4ad365(0x151)],this[_0x4ad365(0x14e)],[],this[_0x4ad365(0x121)],_0x14eaea);}[_0xc11182(0x1e4)](_0x650926,_0x1a724b){var _0x3e584c=_0xc11182,_0x18ad63;_0x650926===((_0x18ad63=this['_awaitingChangeset'])==null?void 0x0:_0x18ad63[_0x3e584c(0xef)])&&(this['resend'](),this[_0x3e584c(0xe3)]=_0x1a724b===0x0?0x3e8:_0x1a724b*0x2);}[_0xc11182(0x325)](){var _0x5955fa=_0xc11182,_0x497ae5;(_0x497ae5=this[_0x5955fa(0x1b1)])==null||_0x497ae5[_0x5955fa(0xb8)](),this[_0x5955fa(0xe3)]=0x0;}};ue=be([A(0x4,_0x2d4781(_0x93988d)),A(0x5,_0x2d4781(_0x3db8bc)),A(0x6,_0x30846c),A(0x7,_0x2bee51),A(0x8,_0x133ec2),A(0x9,_0x17da82),A(0xa,_0x220a19(X))],ue);let ae=class extends Re{constructor(_0x3822fd,_0x429d57,_0x4e6d58,_0x2964ab,_0x3f718e,_0x354d5e,_0x4948aa,_0x1b4d01,_0x12a757,_0x419b20,_0xdec093,_0x1ae623,_0x329a80){var _0x56a3c0=_0xc11182;super(_0x3822fd,_0x429d57,_0x4e6d58,_0x2964ab,_0x3f718e,_0x12a757,_0x1ae623,_0x1b4d01,_0x329a80),P(this,_0x56a3c0(0x360),_0x56a3c0(0x234)),P(this,_0x56a3c0(0xe3),0x0),P(this,_0x56a3c0(0x233)),P(this,_0x56a3c0(0x1b1)),(this[_0x56a3c0(0xd6)]=_0x4948aa,this[_0x56a3c0(0x1b0)]=_0x419b20,this[_0x56a3c0(0x335)]=_0xdec093,this[_0x56a3c0(0x2cf)]=_0x329a80,_0x354d5e&&(this[_0x56a3c0(0x233)]=_0x354d5e,this[_0x56a3c0(0x1b1)]=this[_0x56a3c0(0x233)][_0x56a3c0(0x2d1)](({reqId:_0x6ed980,timeout:_0x4596c9})=>{var _0x3e4ae7=_0x56a3c0;this[_0x3e4ae7(0x1e4)](_0x6ed980,_0x4596c9);})));}['appendMutation'](_0x274bf5){var _0x244aff=_0xc11182;return this['_pendingMutations'][_0x244aff(0xfd)](_0x274bf5),this;}['onRemoteChangeset'](_0x3b28e9){var _0x5ed9e8=_0xc11182;if(this['_checkMissing'](_0x3b28e9))return this['_clearScheduledTask'](),this[_0x5ed9e8(0xd6)][_0x5ed9e8(0x181)](te,this[_0x5ed9e8(0x2ba)],this[_0x5ed9e8(0x151)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x3b28e9],this[_0x5ed9e8(0x121)]);try{const _0x3781ca=this[_0x5ed9e8(0x335)]['transformChangesets']([_0x3b28e9],[this[_0x5ed9e8(0x14e)]],!0x1);if(_0x4c878f(_0x3781ca)){const {c1Prime:_0x25d3e8,c2Prime:_0xd72199}=_0x3781ca,_0x22ba01=this[_0x5ed9e8(0x335)]['transformMutationsWithChangeset'](_0x25d3e8[0x0],this[_0x5ed9e8(0x1c1)]);if(_0x746fd9(_0x22ba01)){const {c1Prime:_0x23d43d,m2Prime:_0xaf5ec}=_0x22ba01;return this[_0x5ed9e8(0x316)](_0x23d43d),_0xd72199[0x0][_0x5ed9e8(0x21f)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x5ed9e8(0xd6)]['createInstance'](ae,this[_0x5ed9e8(0x2ba)],this[_0x5ed9e8(0x151)],_0xd72199[0x0],_0xaf5ec,this[_0x5ed9e8(0x121)],void 0x0);}throw _0x22ba01['error'];}throw _0x3781ca[_0x5ed9e8(0x2dc)];}catch(_0x19d9c7){return this[_0x5ed9e8(0x1b0)][_0x5ed9e8(0x2dc)](_0x19d9c7),this[_0x5ed9e8(0x2c3)](!0x1);}}[_0xc11182(0x2cc)](_0x4b31af){var _0x3288cc=_0xc11182;if(this['_clearScheduledTask'](),this[_0x3288cc(0xcd)](_0x4b31af))return this['_injector'][_0x3288cc(0x181)](te,this[_0x3288cc(0x2ba)],this[_0x3288cc(0x151)],null,this[_0x3288cc(0x1c1)],this[_0x3288cc(0x14e)],[],this[_0x3288cc(0x121)]);this['_incrementRevisionNumber']();const _0x1f31e2=this[_0x3288cc(0xd6)][_0x3288cc(0x181)](oe,this[_0x3288cc(0x2ba)],this[_0x3288cc(0x151)],this[_0x3288cc(0x1c1)],this[_0x3288cc(0x121)]);return _0x1f31e2[_0x3288cc(0xe8)](),_0x1f31e2[_0x3288cc(0x183)](),_0x1f31e2;}[_0xc11182(0x160)](_0x36088d){var _0x5e9b49=_0xc11182;return this[_0x5e9b49(0x2c3)](!!(_0x36088d!=null&&_0x36088d[_0x5e9b49(0x27f)]));}[_0xc11182(0x111)](_0x43097b){var _0x2d8165=_0xc11182;return this[_0x2d8165(0xe3)]>Pi?this['toggleOffline']():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x2d8165(0xe3)],'reqId':_0x43097b[_0x2d8165(0xef)]}),this[_0x2d8165(0x1b1)]=this[_0x2d8165(0x233)][_0x2d8165(0x2d1)](({reqId:_0x57aaf0,timeout:_0x25029e})=>{var _0x32a4c6=_0x2d8165;this[_0x32a4c6(0x1e4)](_0x57aaf0,_0x25029e);}),this);}[_0xc11182(0x11e)](){var _0x2f8d52=_0xc11182;return this[_0x2f8d52(0x325)](),this['_injector'][_0x2f8d52(0x181)](fe,this[_0x2f8d52(0x2ba)],this[_0x2f8d52(0x151)],this['_awaitingChangeset'],this[_0x2f8d52(0x1c1)],this[_0x2f8d52(0x121)]);}[_0xc11182(0x35f)](){return this;}['resend'](){var _0x179728=_0xc11182;this[_0x179728(0x121)][_0x179728(0x2b5)](this['_awaitingChangeset']);}[_0xc11182(0x2c3)](_0xd8dfe8){var _0x210d93=_0xc11182;return this[_0x210d93(0x325)](),this['_injector'][_0x210d93(0x181)](de,this[_0x210d93(0x2ba)],this[_0x210d93(0x151)],null,this[_0x210d93(0x1c1)],this[_0x210d93(0x121)],_0xd8dfe8);}[_0xc11182(0x1e4)](_0x32eb6d,_0x533f27){var _0x3d832c=_0xc11182,_0x470adb;_0x32eb6d===((_0x470adb=this[_0x3d832c(0x14e)])==null?void 0x0:_0x470adb[_0x3d832c(0xef)])&&(this[_0x3d832c(0x2fd)](),this[_0x3d832c(0xe3)]=_0x533f27===0x0?0x3e8:_0x533f27*0x2);}[_0xc11182(0x325)](){var _0x59fd44=_0xc11182,_0x219a5a;(_0x219a5a=this[_0x59fd44(0x1b1)])==null||_0x219a5a[_0x59fd44(0xb8)](),this[_0x59fd44(0xe3)]=0x0;}};ae=be([A(0x6,_0x2d4781(_0x93988d)),A(0x7,_0x2d4781(_0x3db8bc)),A(0x8,_0x30846c),A(0x9,_0x2bee51),A(0xa,_0x133ec2),A(0xb,_0x17da82),A(0xc,_0x220a19(X))],ae);let de=class extends Re{constructor(_0x3853f2,_0x329ed4,_0x433ef5,_0x48fed1,_0x4dfe5f,_0xe44794=!0x1,_0x31f8fe,_0x116ff5,_0x543bca,_0x4904de,_0xe38fbc,_0x475139,_0xf423a8){var _0x486a99=_0xc11182;super(_0x3853f2,_0x329ed4,_0x433ef5,_0x48fed1,_0x4dfe5f,_0x116ff5,_0x543bca,_0x4904de,_0xf423a8),P(this,_0x486a99(0x360),_0x486a99(0x1ea)),(this[_0x486a99(0x25b)]=_0xe44794,this['_permissionService']=_0x31f8fe,this[_0x486a99(0x249)]=_0xe38fbc,this['_collaborationUIEventService']=_0x475139,this[_0x486a99(0x2cf)]=_0xf423a8,this[_0x486a99(0x28e)](),this[_0x486a99(0x35e)](),this[_0x486a99(0x221)]());}[_0xc11182(0x2b3)](){return this;}[_0xc11182(0x298)](){return this;}[_0xc11182(0x2cc)](){return this;}[_0xc11182(0x160)](){return this;}[_0xc11182(0x111)](){return this;}[_0xc11182(0x11e)](){return this;}[_0xc11182(0x35f)](){return this;}[_0xc11182(0x2fd)](){var _0x5b9ba8=_0xc11182;throw new Error(_0x5b9ba8(0xc0));}[_0xc11182(0x35e)](){var _0x44df44=_0xc11182,_0x5abfb1;(_0x5abfb1=this['_localCacheService'])==null||_0x5abfb1[_0x44df44(0x20b)](this[_0x44df44(0x2ba)],this['type'],null,[]);}[_0xc11182(0x28e)](){var _0x18fd72=_0xc11182;this[_0x18fd72(0x25b)]?this['_collaborationUIEventService'][_0x18fd72(0x105)]({'id':re[_0x18fd72(0x378)]}):this[_0x18fd72(0x20d)]['emitEvent']({'id':re['CONFLICT']});}[_0xc11182(0x221)](){var _0x240a7c=_0xc11182;this[_0x240a7c(0x3a6)][_0x240a7c(0x1f4)](new _0x58fb3f(this[_0x240a7c(0x2ba)])['id'],!0x1);}};de=be([A(0x6,_0x2d4781(_0x501d43)),A(0x7,_0x30846c),A(0x8,_0x17da82),A(0x9,_0x2d4781(_0x3db8bc)),A(0xa,_0x2d4781(_0x180250)),A(0xb,_0x2d4781(pe)),A(0xc,_0x220a19(X))],de);let fe=class extends Re{constructor(_0x250fe9,_0x39018b,_0x827a,_0x1026c6,_0x56659b,_0x430f26,_0x3168c3,_0x2ff305,_0x51abb0,_0x16af94){var _0x6f54b5=_0xc11182;super(_0x250fe9,_0x39018b,_0x827a,_0x1026c6,_0x56659b,_0x2ff305,_0x51abb0,_0x3168c3,_0x16af94),P(this,_0x6f54b5(0x360),_0x6f54b5(0x1e3)),this['_injector']=_0x430f26;}[_0xc11182(0x2b3)](_0x3cdb3d){var _0x26f913=_0xc11182;return this[_0x26f913(0x1c1)][_0x26f913(0xfd)](_0x3cdb3d),this['_updateLocalCache'](),this;}[_0xc11182(0x298)](_0x3f2a1a){var _0x3bfda4=_0xc11182;throw new Error(_0x3bfda4(0x12c));}[_0xc11182(0x2cc)](){var _0x322bfe=_0xc11182;throw new Error(_0x322bfe(0x2fc));}[_0xc11182(0x160)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xc11182(0x111)](){return this;}['toggleOffline'](){return this;}[_0xc11182(0x35f)](){var _0x15bc36=_0xc11182;const {_injector:_0x425782,_pendingMutations:_0x1f853e,_awaitingChangeset:_0x15803f,unitID:_0x3cbf5d,_handler:_0x286bfc,type:_0x11f16c}=this,_0x5e6eca=Di(_0x425782,_0x3cbf5d,_0x11f16c,_0x15803f,_0x1f853e,_0x286bfc);return _0x5e6eca instanceof oe?_0x5e6eca[_0x15bc36(0xe8)]():(_0x5e6eca instanceof ae||_0x5e6eca instanceof ue)&&_0x5e6eca[_0x15bc36(0x2fd)](),_0x5e6eca;}['resend'](){var _0x3a21cd=_0xc11182;throw new Error(_0x3a21cd(0x239));}};fe=be([A(0x5,_0x2d4781(_0x93988d)),A(0x6,_0x2d4781(_0x3db8bc)),A(0x7,_0x30846c),A(0x8,_0x17da82),A(0x9,_0x220a19(X))],fe);let te=class extends Re{constructor(_0x1553e8,_0x4f858a,_0x5ae0a2,_0x339057,_0x3c3ced,_0x45d5fc,_0x215ffa,_0x1dfd62,_0x1b455b,_0xebbd48,_0x10b536,_0x1b4168,_0x33da20,_0x2d152b){var _0x731587=_0xc11182;super(_0x1553e8,_0x4f858a,_0x5ae0a2,_0x339057,_0x215ffa,_0x10b536,_0x1b4168,_0x1b455b,_0x2d152b),P(this,_0x731587(0x360),_0x731587(0x198)),(this[_0x731587(0x35d)]=_0x3c3ced,this[_0x731587(0xb5)]=_0x45d5fc,this[_0x731587(0xd6)]=_0x1dfd62,this['_logService']=_0xebbd48,this['_transformService']=_0x33da20,this['localCacheService']=_0x2d152b);}[_0xc11182(0x399)](_0x1ee203){var _0x31f12e=_0xc11182;try{const _0x2e85a9=[..._0x1ee203,...this[_0x31f12e(0xb5)]],_0x44bb5e=[this[_0x31f12e(0x14e)]||this[_0x31f12e(0x35d)]]['filter'](_0x2ec972=>!!_0x2ec972);let _0x4afc88,_0x396b37;if(_0x44bb5e['length']){const _0x210d13=this[_0x31f12e(0x335)]['transformChangesets'](_0x2e85a9,_0x44bb5e,!0x1);if(!_0x4c878f(_0x210d13))throw _0x210d13[_0x31f12e(0x2dc)];_0x4afc88=_0x210d13[_0x31f12e(0x38d)],_0x396b37=_0x210d13[_0x31f12e(0x112)];}else _0x4afc88=_0x2e85a9,_0x396b37=[];let _0x548999=this[_0x31f12e(0x1c1)];_0x4afc88['forEach'](_0x55ae00=>{var _0x2ecae9=_0x31f12e;let _0x456f3;if(_0x548999[_0x2ecae9(0x219)]){const _0x48c53a=this[_0x2ecae9(0x335)][_0x2ecae9(0x29d)](_0x55ae00,_0x548999);if(!_0x746fd9(_0x48c53a))throw _0x48c53a['error'];_0x456f3=_0x48c53a[_0x2ecae9(0x38d)],_0x548999=_0x48c53a[_0x2ecae9(0x37a)];}else _0x456f3=_0x55ae00;this[_0x2ecae9(0x316)](_0x456f3);}),this[_0x31f12e(0x35d)]&&this[_0x31f12e(0x2c4)](),this['_awaitingChangeset']&&_0x396b37[_0x31f12e(0x219)]&&(_0x396b37[0x0][_0x31f12e(0x21f)]=this[_0x31f12e(0x13a)]());let _0x39c902;if(this[_0x31f12e(0x14e)]&&_0x548999[_0x31f12e(0x219)]!==0x0)_0x39c902=this['_injector'][_0x31f12e(0x181)](ae,this['unitID'],this[_0x31f12e(0x151)],_0x396b37[0x0],_0x548999,this[_0x31f12e(0x121)],void 0x0);else{if(this[_0x31f12e(0x14e)]&&_0x548999[_0x31f12e(0x219)]===0x0)_0x396b37[0x0][_0x31f12e(0x21f)]=this[_0x31f12e(0x13a)](),_0x39c902=this[_0x31f12e(0xd6)][_0x31f12e(0x181)](ue,this[_0x31f12e(0x2ba)],this['type'],_0x396b37[0x0],this[_0x31f12e(0x121)]);else{if(_0x548999[_0x31f12e(0x219)]!==0x0){const _0x506510=this[_0x31f12e(0xd6)]['createInstance'](oe,this['unitID'],this[_0x31f12e(0x151)],_0x548999,this[_0x31f12e(0x121)]);_0x506510[_0x31f12e(0xe8)](),_0x39c902=_0x506510;}else _0x39c902=this[_0x31f12e(0xd6)][_0x31f12e(0x181)](Pe,this[_0x31f12e(0x2ba)],this[_0x31f12e(0x151)],this[_0x31f12e(0x121)]);}}return _0x39c902[_0x31f12e(0x183)](),_0x39c902;}catch(_0x4350df){return this[_0x31f12e(0x1b0)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x4350df),this[_0x31f12e(0xd6)][_0x31f12e(0x181)](de,this[_0x31f12e(0x2ba)],this[_0x31f12e(0x151)],this[_0x31f12e(0x14e)],this[_0x31f12e(0x1c1)],this['_handler'],!0x1);}}[_0xc11182(0x2fd)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x47d96d){var _0x460c37=_0xc11182;return this['_pendingMutations'][_0x460c37(0xfd)](_0x47d96d),this;}[_0xc11182(0x298)](_0x2e4573){return this['_queuedRemoteChangesets']['push'](_0x2e4573),this;}['onRemoteAck'](_0x585dfa){var _0xfc9157=_0xc11182;if(this[_0xfc9157(0x14e)])return this[_0xfc9157(0x35d)]=this[_0xfc9157(0x14e)],this[_0xfc9157(0x14e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xc11182(0x160)](_0x2a41d6){var _0x255939=_0xc11182;return this[_0x255939(0x2c3)](!!(_0x2a41d6!=null&&_0x2a41d6[_0x255939(0x27f)]));}[_0xc11182(0x111)](){return this;}[_0xc11182(0x11e)](){var _0x358739=_0xc11182;return this[_0x358739(0xd6)][_0x358739(0x181)](fe,this[_0x358739(0x2ba)],this['type'],this[_0x358739(0x14e)],this[_0x358739(0x1c1)],this['_handler']);}[_0xc11182(0x35f)](){return this;}[_0xc11182(0x2c3)](_0x34c091){var _0x38991d=_0xc11182;return this[_0x38991d(0xd6)][_0x38991d(0x181)](de,this[_0x38991d(0x2ba)],this['type'],this[_0x38991d(0x14e)],this[_0x38991d(0x1c1)],this[_0x38991d(0x121)],_0x34c091);}};te=be([A(0x7,_0x2d4781(_0x93988d)),A(0x8,_0x2d4781(_0x3db8bc)),A(0x9,_0x2bee51),A(0xa,_0x30846c),A(0xb,_0x17da82),A(0xc,_0x133ec2),A(0xd,_0x220a19(X))],te);function Di(_0x5e855c,_0x11cf4e,_0x5db2e3,_0x19689e,_0x3e69d7,_0x2526a1){var _0x4a6f03=_0xc11182;return _0x19689e&&_0x3e69d7['length']?_0x5e855c['createInstance'](ae,_0x11cf4e,_0x5db2e3,_0x19689e,_0x3e69d7,_0x2526a1,void 0x0):_0x19689e?_0x5e855c[_0x4a6f03(0x181)](ue,_0x11cf4e,_0x5db2e3,_0x19689e,_0x2526a1):_0x3e69d7[_0x4a6f03(0x219)]?_0x5e855c['createInstance'](oe,_0x11cf4e,_0x5db2e3,_0x3e69d7,_0x2526a1):_0x5e855c[_0x4a6f03(0x181)](Pe,_0x11cf4e,_0x5db2e3,_0x2526a1);}var bs=Object['defineProperty'],Rs=Object[_0xc11182(0x1ef)],Mt=(_0x44bc1f,_0x79168,_0x1d3c73,_0x5a4397)=>{var _0x2eb53e=_0xc11182;for(var _0x692b98=_0x5a4397>0x1?void 0x0:_0x5a4397?Rs(_0x79168,_0x1d3c73):_0x79168,_0x5c8052=_0x44bc1f[_0x2eb53e(0x219)]-0x1,_0x114283;_0x5c8052>=0x0;_0x5c8052--)(_0x114283=_0x44bc1f[_0x5c8052])&&(_0x692b98=(_0x5a4397?_0x114283(_0x79168,_0x1d3c73,_0x692b98):_0x114283(_0x692b98))||_0x692b98);return _0x5a4397&&_0x692b98&&bs(_0x79168,_0x1d3c73,_0x692b98),_0x692b98;},k=(_0x574f6d,_0x1bc74e)=>(_0x421e50,_0x3c329a)=>_0x1bc74e(_0x421e50,_0x3c329a,_0x574f6d);let st=class extends _0x3ca8c7{constructor(_0x45fc77,_0x1d2017,_0x34ecac,_0x26c1ae,_0x570f1a,_0x250e1d,_0x23d042,_0x5e40a1,_0x49316f,_0x4c1395,_0x2bfb68,_0xf3c8cd,_0x413935){var _0x175f85=_0xc11182;super(),P(this,_0x175f85(0x241),new _0x2d4500(null)),P(this,'state$',this[_0x175f85(0x241)][_0x175f85(0x342)]()),P(this,_0x175f85(0x3a5)),P(this,'_collaborationPaused',!0x1),P(this,_0x175f85(0x279),''),P(this,'_changesetReqId',0x0),P(this,'status$',this[_0x175f85(0x2d0)][_0x175f85(0x333)](_0x2ca05e(_0x29dc87=>_0x29dc87?_0x29dc87[_0x175f85(0x360)]:Ni[_0x175f85(0x216)]),_0x1d3c2b(0x1))),P(this,_0x175f85(0x2b1),!0x1),P(this,_0x175f85(0x2a1),[]),(this[_0x175f85(0x2ba)]=_0x45fc77,this[_0x175f85(0x17d)]=_0x1d2017,this[_0x175f85(0x100)]=_0x34ecac,this[_0x175f85(0xd6)]=_0x26c1ae,this[_0x175f85(0xb1)]=_0x570f1a,this[_0x175f85(0x249)]=_0x250e1d,this[_0x175f85(0x146)]=_0x23d042,this[_0x175f85(0x362)]=_0x5e40a1,this[_0x175f85(0x1b0)]=_0x49316f,this[_0x175f85(0x314)]=_0x4c1395,this[_0x175f85(0x3a6)]=_0x2bfb68,this[_0x175f85(0x311)]=_0xf3c8cd,this['_localCacheService']=_0x413935);}get[_0xc11182(0x1aa)](){return this['_state'];}async[_0xc11182(0xa9)](){var _0xe2e79=_0xc11182;if(this[_0xe2e79(0x1aa)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xe2e79(0x283)]();}['pauseCollaboration'](){var _0x577a79=_0xc11182;return this[_0x577a79(0x322)]=!0x0,_0x2d2866(()=>{var _0x5d4738=_0x577a79;this[_0x5d4738(0x322)]=!0x1,this[_0x5d4738(0x211)]();});}[_0xc11182(0x14a)](_0x11df23){this['_onLocalMutation'](_0x11df23);}[_0xc11182(0x395)](_0xb835f1){var _0x3e8889=_0xc11182;this[_0x3e8889(0x3a5)]=_0xb835f1,this['_state$'][_0x3e8889(0xc2)](_0xb835f1);}async[_0xc11182(0x283)](){var _0x1a4bab=_0xc11182,_0x4497f6;this[_0x1a4bab(0x395)](await this[_0x1a4bab(0x31b)]()),this['_singleActiveUnitService']&&((_0x4497f6=this[_0x1a4bab(0x311)])==null||_0x4497f6['editingUnit'](this[_0x1a4bab(0x2ba)]),this[_0x1a4bab(0x30c)](this['_singleActiveUnitService'][_0x1a4bab(0x29f)](this[_0x1a4bab(0x2ba)])[_0x1a4bab(0x2d1)](_0x2cd14b=>{var _0x2901b7=_0x1a4bab;this['_logService']['debug'](_0x2901b7(0x132),_0x2901b7(0x2f7),_0x2cd14b),_0x2cd14b===yi['OTHER_CLIENTS_EDITING']?(this[_0x2901b7(0x362)][_0x2901b7(0x105)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x2901b7(0x3a6)][_0x2901b7(0x1f4)](new _0x58fb3f(this[_0x2901b7(0x2ba)])['id'],!0x1),this[_0x2901b7(0x3a6)][_0x2901b7(0x386)](!0x1)):(this[_0x2901b7(0x3a6)][_0x2901b7(0x1f4)](new _0x58fb3f(this['unitID'])['id'],!0x0),this['_permissionService'][_0x2901b7(0x386)](!0x0));})));let _0x124e6b=!0x1;return this[_0x1a4bab(0x30c)](this[_0x1a4bab(0x17d)][_0x1a4bab(0xc1)][_0x1a4bab(0x2d1)](_0x1ae75e=>{var _0x1c7a13=_0x1a4bab;_0x1ae75e===Te['ONLINE']?this[_0x1c7a13(0x369)](_0x124e6b):_0x1ae75e===Te[_0x1c7a13(0x216)]&&(_0x124e6b=!0x0,this[_0x1c7a13(0x343)]());})),this[_0x1a4bab(0x30c)](this[_0x1a4bab(0x17d)][_0x1a4bab(0x135)][_0x1a4bab(0x2d1)](_0x444bf5=>{var _0x3c244e=_0x1a4bab;try{switch(_0x444bf5[_0x3c244e(0x16d)]){case _0x3909a7['NEW_CHANGESETS']:{this[_0x3c244e(0x17b)](_0x55f7ed(_0x444bf5[_0x3c244e(0x1b4)]));break;}case _0x3909a7[_0x3c244e(0x3a2)]:{this['_onRemoteACK'](_0x444bf5[_0x3c244e(0x1b4)]);break;}case _0x3909a7['CHANGESET_REJ']:{this[_0x3c244e(0x2f4)]();break;}case _0x3909a7[_0x3c244e(0x25c)]:{this[_0x3c244e(0x2e3)](_0x444bf5[_0x3c244e(0x1b4)]);break;}case _0x3909a7['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3c244e(0x202)](_0x444bf5[_0x3c244e(0x1b4)][_0x3c244e(0x137)][_0x3c244e(0xa7)](_0x43ced6=>_0x55f7ed(_0x43ced6)));break;}case _0x3909a7[_0x3c244e(0x1de)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3909a7[_0x3c244e(0x275)]:break;}}catch(_0xc0792a){throw console['error'](_0x3c244e(0x156),_0xc0792a),_0xc0792a;}})),this['_state'];}['_unlockTransition'](){var _0x159542=_0xc11182;this[_0x159542(0x2b1)]=!0x1;}['_lockTransition'](){var _0x3305ba=_0xc11182;if(this[_0x3305ba(0x2b1)])throw new Error(_0x3305ba(0x2ef));this[_0x3305ba(0x2b1)]=!0x0;}[_0xc11182(0x26a)](_0x566794){var _0x203266=_0xc11182;this[_0x203266(0x19d)](),this[_0x203266(0x395)](this[_0x203266(0x3a5)]['appendMutation'](_0x566794)),this[_0x203266(0x20e)]();}['_onRemoteChangeset'](_0x26b2fc){var _0x11c385=_0xc11182;if(!(_0x26b2fc[_0x11c385(0x13e)]<=this[_0x11c385(0x146)][_0x11c385(0x268)](this['unitID']))){if(this['_collaborationPaused']){this[_0x11c385(0x2a1)]['push'](_0x26b2fc);return;}this[_0x11c385(0x2a4)](_0x26b2fc);}}[_0xc11182(0x211)](){var _0x2d1a34=_0xc11182;this[_0x2d1a34(0x2a1)]['forEach'](_0x199e51=>this[_0x2d1a34(0x2a4)](_0x199e51)),this[_0x2d1a34(0x2a1)]=[];}['_applyRemoteChangeset'](_0x2c50b5){var _0x2b4f4f=_0xc11182;const _0x42924a=this[_0x2b4f4f(0xb1)][_0x2b4f4f(0xd2)]['fetchThroughInterceptors'](this[_0x2b4f4f(0xb1)][_0x2b4f4f(0xd2)]['getInterceptPoints']()[_0x2b4f4f(0x18a)])(_0x2c50b5[_0x2b4f4f(0x1af)],null)||_0x2c50b5[_0x2b4f4f(0x1af)],_0x1fbd7f={..._0x2c50b5,'mutations':_0x42924a};this[_0x2b4f4f(0x19d)](),this[_0x2b4f4f(0x395)](this[_0x2b4f4f(0x3a5)][_0x2b4f4f(0x298)](_0x1fbd7f)),this['_unlockTransition']();}[_0xc11182(0x2d3)](_0x42db89){var _0x3c9c95=_0xc11182;this[_0x3c9c95(0x19d)](),this[_0x3c9c95(0x395)](this[_0x3c9c95(0x3a5)]['onRemoteAck'](_0x42db89)),this[_0x3c9c95(0x20e)]();}[_0xc11182(0x2f4)](_0x26d19a){var _0x128bac=_0xc11182;this[_0x128bac(0x19d)](),this[_0x128bac(0x395)](this['_state'][_0x128bac(0x160)](_0x26d19a)),this[_0x128bac(0x20e)]();}[_0xc11182(0x2e3)](_0x5371bf){var _0x41ddd4=_0xc11182;this[_0x41ddd4(0x19d)](),this[_0x41ddd4(0x395)](this[_0x41ddd4(0x3a5)]['onRemoteRetry'](_0x5371bf)),this[_0x41ddd4(0x20e)]();}[_0xc11182(0x202)](_0x347054){var _0x213d7c=_0xc11182;if(!(this[_0x213d7c(0x3a5)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x38bc17=_0x347054['map'](_0x2eb18a=>{var _0x5c91ce=_0x213d7c;const _0x1c9ad8=this[_0x5c91ce(0xb1)]['interceptor'][_0x5c91ce(0x324)](this['_compressMutationService'][_0x5c91ce(0xd2)][_0x5c91ce(0x1a0)]()[_0x5c91ce(0x18a)])(_0x2eb18a[_0x5c91ce(0x1af)],null)||_0x2eb18a[_0x5c91ce(0x1af)];return{..._0x2eb18a,'mutations':_0x1c9ad8};});this[_0x213d7c(0x19d)](),this['_updateState'](this[_0x213d7c(0x3a5)][_0x213d7c(0x399)](_0x38bc17)),this['_unlockTransition']();}[_0xc11182(0x343)](){var _0xe6e4bd=_0xc11182;this[_0xe6e4bd(0x19d)](),this[_0xe6e4bd(0x395)](this[_0xe6e4bd(0x3a5)][_0xe6e4bd(0x11e)]()),this[_0xe6e4bd(0x20e)]();}['_toggleOnline'](_0x29212f=!0x1){var _0x687464=_0xc11182;this[_0x687464(0x19d)](),this[_0x687464(0x395)](this[_0x687464(0x3a5)]['toggleOnline']()),this[_0x687464(0x20e)]();const _0x1fa935=this[_0x687464(0x3a5)];_0x29212f&&_0x1fa935 instanceof Pe&&(this[_0x687464(0x19d)](),this[_0x687464(0x395)](_0x1fa935[_0x687464(0x130)]()),this['_unlockTransition']());}async[_0xc11182(0x31b)](){return new Promise(_0x52aa1e=>{var _0x474c0e=_0x7b62;this[_0x474c0e(0x17d)]['sessionStatus$'][_0x474c0e(0x333)](_0x332e96(0x1))['subscribe'](async _0x7d971=>{_0x52aa1e(await this['_createInitialStateImpl'](_0x7d971===Te['ONLINE']));});});}['_createHandler'](){var _0x223063=_0xc11182;const _0x21ce08=this[_0x223063(0x2ba)];return{'onStateChange':(_0x16dc7e,_0x3db05f)=>{var _0x14d812=_0x223063;if(_0x16dc7e!==this[_0x14d812(0x3a5)])throw new Error(_0x14d812(0x350)+_0x16dc7e[_0x14d812(0x360)]+_0x14d812(0x124)+_0x3db05f['status']+_0x14d812(0x13f)+this[_0x14d812(0x3a5)]['status']);this[_0x14d812(0x395)](_0x3db05f);},'onSendChangeset':_0x1429b3=>{var _0x2a085b=_0x223063;_0x1429b3[_0x2a085b(0x2fa)]||(_0x1429b3[_0x2a085b(0x2fa)]=this[_0x2a085b(0x279)],_0x1429b3[_0x2a085b(0xef)]=++this['_changesetReqId']);const _0x1d91c6={'eventID':_0x3909a7[_0x2a085b(0x27d)],'data':{'unitID':_0x1429b3[_0x2a085b(0x2ba)],'unitType':this['_type'],'changeset':_0x1429b3,'memberID':this[_0x2a085b(0x17d)][_0x2a085b(0x38a)]()}};this[_0x2a085b(0x17d)][_0x2a085b(0x364)](_0x1d91c6,this[_0x2a085b(0x2ba)]);},'onMissingChangesets':({from:_0x28a33f,to:_0x701a1a})=>{var _0x191d06=_0x223063;this['_logService'][_0x191d06(0x15a)](_0x191d06(0x132),_0x191d06(0x32a)+_0x28a33f+_0x191d06(0x29b)+_0x701a1a);const _0x396028={'eventID':_0x3909a7[_0x191d06(0x20f)],'data':{'unitID':_0x21ce08,'unitType':this[_0x191d06(0x100)],'from':_0x28a33f,'to':_0x701a1a}};this[_0x191d06(0x17d)]['send'](_0x396028,this[_0x191d06(0x2ba)]);}};}async[_0xc11182(0x32f)](_0x1d539c){var _0x5e63e3=_0xc11182,_0x9ea96,_0x540a2a,_0x4a8911;const _0x541e37=await((_0x9ea96=this[_0x5e63e3(0x2a2)])==null?void 0x0:_0x9ea96['loadOfflineData'](this['unitID'])),_0x52c953=(_0x540a2a=_0x541e37==null?void 0x0:_0x541e37[_0x5e63e3(0x1af)])!=null?_0x540a2a:[],_0x49a56c=(_0x4a8911=_0x541e37==null?void 0x0:_0x541e37[_0x5e63e3(0x10b)])!=null?_0x4a8911:null,_0x101472=!!(_0x49a56c!=null&&_0x49a56c['sid'])&&!!(_0x49a56c!=null&&_0x49a56c[_0x5e63e3(0xef)]);this[_0x5e63e3(0x279)]=_0x101472?_0x49a56c[_0x5e63e3(0x2fa)]:fs(),this[_0x5e63e3(0x261)]=_0x101472?_0x49a56c['reqId']:0x0;const _0x442ba3=this[_0x5e63e3(0x2ba)];try{this[_0x5e63e3(0x2aa)](_0x49a56c,_0x52c953);}catch(_0x21c31b){this[_0x5e63e3(0x1b0)][_0x5e63e3(0x2dc)](_0x21c31b);}const _0x33fa28=this['_createHandler']();if(_0x1d539c){const _0x1f64fd=Di(this[_0x5e63e3(0xd6)],_0x442ba3,this['_type'],_0x49a56c,_0x52c953,_0x33fa28);return _0x1f64fd instanceof oe?_0x1f64fd[_0x5e63e3(0xe8)]():(_0x1f64fd instanceof ae||_0x1f64fd instanceof ue)&&_0x1f64fd['resend'](),_0x1f64fd;}return this[_0x5e63e3(0xd6)][_0x5e63e3(0x181)](fe,_0x442ba3,this[_0x5e63e3(0x100)],_0x49a56c,_0x52c953,_0x33fa28);}['_replayCachedMutations'](_0x23808c,_0x87626e){var _0x576f74=_0xc11182,_0x217570,_0x24fad9;const _0x4490d4=this[_0x576f74(0xb1)][_0x576f74(0xd2)]['fetchThroughInterceptors'](this[_0x576f74(0xb1)][_0x576f74(0xd2)][_0x576f74(0x1a0)]()[_0x576f74(0x18a)]);(_0x217570=_0x4490d4((_0x23808c==null?void 0x0:_0x23808c[_0x576f74(0x1af)])||[],null))==null||_0x217570['forEach'](_0x45d499=>this[_0x576f74(0x314)][_0x576f74(0x195)](_0x45d499['id'],_0x45d499[_0x576f74(0x2af)])),(_0x24fad9=_0x4490d4(_0x87626e||[],null))==null||_0x24fad9[_0x576f74(0x1e5)](_0x4f56dd=>this['_commandService'][_0x576f74(0x195)](_0x4f56dd['id'],_0x4f56dd['params']));}};st=Mt([k(0x3,_0x2d4781(_0x93988d)),k(0x4,_0x2d4781(_0x204032)),k(0x5,_0x2d4781(_0x180250)),k(0x6,_0x2d4781(_0x3db8bc)),k(0x7,_0x2d4781(pe)),k(0x8,_0x2bee51),k(0x9,_0x30846c),k(0xa,_0x501d43),k(0xb,_0x220a19(_t)),k(0xc,_0x220a19(X))],st);let Ct=class extends st{constructor(_0x406243,_0x3115b1,_0x32f9ad,_0x8f41a3,_0x4fcf0b,_0x2869fa,_0x5bd2d8,_0x33f716,_0x435bd5,_0x3a0aad,_0x34d0d2,_0x1484af,_0x1dd8e0){var _0x199337=_0xc11182;super(_0x406243,_0x32f9ad,_0x3115b1,_0x8f41a3,_0x4fcf0b,_0x2869fa,_0x5bd2d8,_0x33f716,_0x435bd5,_0x3a0aad,_0x34d0d2,_0x1484af,_0x1dd8e0),P(this,_0x199337(0x2a7),null),(this['unitID']=_0x406243,this[_0x199337(0x151)]=_0x3115b1);}['addHandlerCallback'](_0x444ed5){var _0x4fd072=_0xc11182;this[_0x4fd072(0x2a7)]=_0x444ed5;}[_0xc11182(0x307)](){var _0x2d043d=_0xc11182;this[_0x2d043d(0x2a7)]=null,super[_0x2d043d(0x307)]();}['_createHandler'](){var _0x15fced=_0xc11182;const _0x22e8fc=super[_0x15fced(0xad)]();return _0x22e8fc['onTransformIME']=_0x245daa=>{var _0x5b86f2=_0x15fced,_0x1b5729,_0x390168;return(_0x390168=(_0x1b5729=this[_0x5b86f2(0x2a7)])==null?void 0x0:_0x1b5729[_0x5b86f2(0x2eb)])==null?void 0x0:_0x390168[_0x5b86f2(0x2d6)](_0x1b5729,_0x245daa);},_0x22e8fc[_0x15fced(0x171)]=_0x205f1b=>{var _0x5e1ce2=_0x15fced,_0x26c96c,_0x43c85a;return(_0x43c85a=(_0x26c96c=this[_0x5e1ce2(0x2a7)])==null?void 0x0:_0x26c96c[_0x5e1ce2(0x171)])==null?void 0x0:_0x43c85a['call'](_0x26c96c,_0x205f1b);},_0x22e8fc['onTransformSelections']=_0x32192f=>{var _0x3d032b=_0x15fced,_0x59ac9b,_0x4616bc;return(_0x4616bc=(_0x59ac9b=this[_0x3d032b(0x2a7)])==null?void 0x0:_0x59ac9b[_0x3d032b(0x39d)])==null?void 0x0:_0x4616bc[_0x3d032b(0x2d6)](_0x59ac9b,_0x32192f);},_0x22e8fc[_0x15fced(0x2ca)]=_0x1a6929=>{var _0xc520d7=_0x15fced,_0x42be49,_0x4881ed;return(_0x4881ed=(_0x42be49=this[_0xc520d7(0x2a7)])==null?void 0x0:_0x42be49[_0xc520d7(0x2ca)])==null?void 0x0:_0x4881ed['call'](_0x42be49,_0x1a6929);},_0x22e8fc[_0x15fced(0x256)]=_0x5a1611=>{var _0x416366=_0x15fced,_0x3548ee,_0x153842,_0x5e0961;if(!((_0x3548ee=this['_handlerCallback'])!=null&&_0x3548ee[_0x416366(0x256)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5e0961=(_0x153842=this[_0x416366(0x2a7)])==null?void 0x0:_0x153842['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5e0961['call'](_0x153842,_0x5a1611);},_0x22e8fc[_0x15fced(0x285)]=_0x161a04=>{var _0x2a1e65=_0x15fced,_0xcf1e83,_0x1b8ce1,_0x70c4a;if(!((_0xcf1e83=this[_0x2a1e65(0x2a7)])!=null&&_0xcf1e83[_0x2a1e65(0x285)]))throw new Error(_0x2a1e65(0x32e));return(_0x70c4a=(_0x1b8ce1=this[_0x2a1e65(0x2a7)])==null?void 0x0:_0x1b8ce1['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x70c4a['call'](_0x1b8ce1,_0x161a04);},_0x22e8fc;}async[_0xc11182(0x283)](){var _0x34f9c3=_0xc11182;const _0x5caee6=await super['_init']();return this[_0x34f9c3(0x30c)](this[_0x34f9c3(0x314)]['onCommandExecuted']((_0x10efe6,_0x1dc69e)=>{var _0xa3e5e0=_0x34f9c3;if(_0x10efe6[_0xa3e5e0(0x151)]!==_0x84e8c5[_0xa3e5e0(0x281)]||_0x1dc69e!=null&&_0x1dc69e[_0xa3e5e0(0xf3)]||_0x1dc69e!=null&&_0x1dc69e[_0xa3e5e0(0x36f)]||_0x10efe6['id']===_0x30587c['id'])return;const _0x4e6824=_0x10efe6[_0xa3e5e0(0x2af)];if((_0x4e6824==null?void 0x0:_0x4e6824['unitId'])!==this[_0xa3e5e0(0x2ba)])return;const _0x30a2cc=_0x10efe6,_0x591e1f=this['_compressMutationService'][_0xa3e5e0(0xd2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xa3e5e0(0xd2)]['getInterceptPoints']()[_0xa3e5e0(0x2f3)])([_0x30a2cc],null)||[_0x30a2cc];this[_0xa3e5e0(0x26a)](_0x591e1f[0x0]);})),_0x5caee6;}};Ct=Mt([k(0x3,_0x2d4781(_0x93988d)),k(0x4,_0x2d4781(_0x204032)),k(0x5,_0x2d4781(_0x180250)),k(0x6,_0x2d4781(_0x3db8bc)),k(0x7,_0x2d4781(pe)),k(0x8,_0x2bee51),k(0x9,_0x30846c),k(0xa,_0x501d43),k(0xb,_0x220a19(_t)),k(0xc,_0x220a19(X))],Ct);let bt=class extends st{constructor(_0x12515c,_0x126dfc,_0x2e055e,_0x34e628,_0x27bf1f,_0x42c28f,_0x5516cf,_0x4f7f30,_0x3c7807,_0x399357,_0x12abcc,_0xc4e442,_0x1c6713,_0x403756){var _0x444834=_0xc11182;super(_0x12515c,_0x2e055e,_0x126dfc,_0x34e628,_0x27bf1f,_0x42c28f,_0x5516cf,_0x3c7807,_0x399357,_0x12abcc,_0xc4e442,_0x1c6713,_0x403756),this[_0x444834(0x2ba)]=_0x12515c,this['type']=_0x126dfc,this['_sheetTransformSelectionsService']=_0x4f7f30;}[_0xc11182(0xad)](){var _0x3c934c=_0xc11182;const _0x2f69b2=super[_0x3c934c(0xad)]();return _0x2f69b2['onTransformSelections']=_0xff4123=>this[_0x3c934c(0x193)][_0x3c934c(0xf6)](_0xff4123),_0x2f69b2;}async[_0xc11182(0x283)](){var _0x3eb1f9=_0xc11182;const _0x2ce4d9=await super['_init']();return this[_0x3eb1f9(0x30c)](this[_0x3eb1f9(0x314)][_0x3eb1f9(0x161)]((_0x461dea,_0x3926da)=>{var _0x4e1026=_0x3eb1f9;if(_0x461dea[_0x4e1026(0x151)]!==_0x84e8c5[_0x4e1026(0x281)]||_0x3926da!=null&&_0x3926da['fromCollab']||_0x3926da!=null&&_0x3926da[_0x4e1026(0x36f)])return;const _0x27dd59=_0x461dea[_0x4e1026(0x2af)];if((_0x27dd59==null?void 0x0:_0x27dd59[_0x4e1026(0x153)])!==this['unitID'])return;const _0x5a33db=_0x461dea,_0x123b9c=this[_0x4e1026(0xb1)][_0x4e1026(0xd2)]['fetchThroughInterceptors'](this[_0x4e1026(0xb1)][_0x4e1026(0xd2)][_0x4e1026(0x1a0)]()['COMPRESS_MUTATION_SEND'])([_0x5a33db],null)||[_0x5a33db];this[_0x4e1026(0x26a)](_0x123b9c[0x0]);})),_0x2ce4d9;}};bt=Mt([k(0x3,_0x2d4781(_0x93988d)),k(0x4,_0x2d4781(_0x204032)),k(0x5,_0x2d4781(_0x180250)),k(0x6,_0x2d4781(_0x3db8bc)),k(0x7,_0x2d4781(nt)),k(0x8,_0x2d4781(pe)),k(0x9,_0x2bee51),k(0xa,_0x30846c),k(0xb,_0x501d43),k(0xc,_0x220a19(_t)),k(0xd,_0x220a19(X))],bt);var ys=Object[_0xc11182(0x1fb)],Os=Object['getOwnPropertyDescriptor'],Ns=(_0x581a0e,_0xc46121,_0x271d2e,_0x2e57f3)=>{var _0x35d721=_0xc11182;for(var _0x55bfe5=_0x2e57f3>0x1?void 0x0:_0x2e57f3?Os(_0xc46121,_0x271d2e):_0xc46121,_0x32e5f5=_0x581a0e[_0x35d721(0x219)]-0x1,_0x7271e9;_0x32e5f5>=0x0;_0x32e5f5--)(_0x7271e9=_0x581a0e[_0x32e5f5])&&(_0x55bfe5=(_0x2e57f3?_0x7271e9(_0xc46121,_0x271d2e,_0x55bfe5):_0x7271e9(_0x55bfe5))||_0x55bfe5);return _0x2e57f3&&_0x55bfe5&&ys(_0xc46121,_0x271d2e,_0x55bfe5),_0x55bfe5;},vt=(_0x12eeaf,_0x4ea1c5)=>(_0x5c2c2c,_0x1db5d3)=>_0x4ea1c5(_0x5c2c2c,_0x1db5d3,_0x12eeaf);let rt=class extends _0x3ca8c7{constructor(_0x1fe701,_0x974737,_0x3a0004){var _0x697537=_0xc11182;super(),P(this,_0x697537(0xbb),new Map()),P(this,_0x697537(0x15b),new _0x1b1515()),P(this,_0x697537(0x294),this['_entityInit$'][_0x697537(0x342)]()),(this[_0x697537(0xd6)]=_0x1fe701,this[_0x697537(0x14d)]=_0x974737,this[_0x697537(0x39f)]=_0x3a0004,this['_init']());}[_0xc11182(0x307)](){var _0x9cd98e=_0xc11182;super[_0x9cd98e(0x307)](),this[_0x9cd98e(0xbb)][_0x9cd98e(0x1e5)](_0x4a175a=>_0x4a175a[_0x9cd98e(0x307)]()),this[_0x9cd98e(0xbb)][_0x9cd98e(0x366)]();}[_0xc11182(0x37b)](_0x1488f3){var _0x4925f2=_0xc11182,_0x4111a7;return(_0x4111a7=this[_0x4925f2(0xbb)][_0x4925f2(0x122)](_0x1488f3))!=null?_0x4111a7:null;}[_0xc11182(0x1a4)](_0x593951){var _0x5d4f07=_0xc11182;const _0x566308=this[_0x5d4f07(0x37b)](_0x593951);return _0x566308?_0x31d54e(_0x566308):this[_0x5d4f07(0x15b)][_0x5d4f07(0x333)](_0x340423(_0x536449=>_0x536449[_0x5d4f07(0x2ba)]===_0x593951));}[_0xc11182(0xb7)](_0x1224ce){var _0x42866f=_0xc11182;return _0x3f9d90(this[_0x42866f(0x1a4)](_0x1224ce)['pipe'](_0x5dad37(()=>{})));}['_init'](){var _0x23465b=_0xc11182;this['_univerInstanceService'][_0x23465b(0x27b)](_0x2d546b[_0x23465b(0x131)])[_0x23465b(0x333)](_0x61ac9f(this[_0x23465b(0x1d0)]),_0x522d4e(0x10))[_0x23465b(0x2d1)](async _0x46fdf7=>{var _0x275c9a=_0x23465b;const _0x5a15f6=_0x46fdf7['getUnitId'](),_0x177520=await this[_0x275c9a(0xf0)](_0x5a15f6,Q['UNIVER_SHEET']);this[_0x275c9a(0xbb)][_0x275c9a(0x1eb)](_0x5a15f6,_0x177520);}),this[_0x23465b(0x39f)][_0x23465b(0x27b)](_0x2d546b[_0x23465b(0x1b6)])[_0x23465b(0x333)](_0x61ac9f(this[_0x23465b(0x1d0)]),_0x522d4e(0x10))[_0x23465b(0x333)](_0x340423(_0xfcdf22=>!_0xfcdf22[_0x23465b(0x332)]()[_0x23465b(0x21e)]('__')))[_0x23465b(0x2d1)](async _0x17b2e0=>{var _0xc9f308=_0x23465b;const _0x366fa4=_0x17b2e0[_0xc9f308(0x332)](),_0x384749=await this[_0xc9f308(0xf0)](_0x366fa4,Q['UNIVER_DOC']);this[_0xc9f308(0xbb)]['set'](_0x366fa4,_0x384749);}),_0xb986de(this[_0x23465b(0x39f)][_0x23465b(0x2e1)](_0x2d546b['UNIVER_SHEET']),this['_univerInstanceService'][_0x23465b(0x2e1)](_0x2d546b[_0x23465b(0x1b6)]))[_0x23465b(0x333)](_0x61ac9f(this['dispose$']))[_0x23465b(0x2d1)](_0x5cc533=>{var _0x46f6c2=_0x23465b;const _0x88b7e1=_0x5cc533[_0x46f6c2(0x332)](),_0x487d29=this[_0x46f6c2(0xbb)][_0x46f6c2(0x122)](_0x88b7e1);_0x487d29&&(_0x487d29['dispose'](),this[_0x46f6c2(0xbb)][_0x46f6c2(0x159)](_0x88b7e1));});}async[_0xc11182(0xf0)](_0x2b2e82,_0x1eca00){var _0x4e74bd=_0xc11182;const _0x536f34=await this[_0x4e74bd(0x14d)][_0x4e74bd(0xa3)](_0x2b2e82),_0x171974=this[_0x4e74bd(0xd6)][_0x4e74bd(0x181)](this['_getCtorByUniverType'](_0x1eca00),_0x2b2e82,_0x1eca00,_0x536f34);return await _0x171974[_0x4e74bd(0xa9)](),this[_0x4e74bd(0x15b)]['next'](_0x171974),_0x171974;}[_0xc11182(0x16e)](_0x73bf90){var _0x6cfcb4=_0xc11182;switch(_0x73bf90){case Q[_0x6cfcb4(0x1b6)]:return Ct;case Q[_0x6cfcb4(0x131)]:return bt;default:throw new Error(_0x6cfcb4(0x187)+_0x73bf90);}}};rt=Ns([vt(0x0,_0x2d4781(_0x93988d)),vt(0x1,_0x2d4781(Le)),vt(0x2,_0x414ec3)],rt);var Ps=Object[_0xc11182(0x1fb)],Ds=Object[_0xc11182(0x1ef)],ws=(_0x4c0c2c,_0x295088,_0x1dd77d,_0x15e30a)=>{var _0x39042a=_0xc11182;for(var _0x1023d9=_0x15e30a>0x1?void 0x0:_0x15e30a?Ds(_0x295088,_0x1dd77d):_0x295088,_0xa78ec2=_0x4c0c2c[_0x39042a(0x219)]-0x1,_0x3e377b;_0xa78ec2>=0x0;_0xa78ec2--)(_0x3e377b=_0x4c0c2c[_0xa78ec2])&&(_0x1023d9=(_0x15e30a?_0x3e377b(_0x295088,_0x1dd77d,_0x1023d9):_0x3e377b(_0x1023d9))||_0x1023d9);return _0x15e30a&&_0x1023d9&&Ps(_0x295088,_0x1dd77d,_0x1023d9),_0x1023d9;},Xt=(_0x33231c,_0x1cb1cd)=>(_0x368131,_0x5ace20)=>_0x1cb1cd(_0x368131,_0x5ace20,_0x33231c);const Us='DEFAULT_FILE_NAME',As=_0xc11182(0x2f0);let Rt=class extends _0x1c4f19{constructor(_0x5f0809,_0x2cc219){var _0x1d20e3=_0xc11182;super(),this[_0x1d20e3(0x39f)]=_0x5f0809,this[_0x1d20e3(0x2a6)]=_0x2cc219,this['_init']();}['_init'](){var _0x5e8f8d=_0xc11182;this[_0x5e8f8d(0x30c)](this[_0x5e8f8d(0x39f)][_0x5e8f8d(0x1ad)][_0x5e8f8d(0x2d1)](()=>{var _0x6b725c=_0x5e8f8d,_0x4cb89e;const _0x24168a=this[_0x6b725c(0x39f)][_0x6b725c(0x272)]();let _0x423197=(_0x4cb89e=this[_0x6b725c(0x2a6)][_0x6b725c(0x242)](Us))!=null?_0x4cb89e:As;_0x24168a instanceof _0x17921c&&(_0x423197=_0x24168a[_0x6b725c(0x1b3)]),document[_0x6b725c(0x1f8)]=_0x423197;}));}};Rt=ws([Xt(0x0,_0x414ec3),Xt(0x1,_0x4f3939)],Rt);var xs=Object[_0xc11182(0x1fb)],Ls=Object[_0xc11182(0x1ef)],Ms=(_0x37d887,_0x435c5b,_0x523b74,_0x11171b)=>{for(var _0x28ad4d=_0x11171b>0x1?void 0x0:_0x11171b?Ls(_0x435c5b,_0x523b74):_0x435c5b,_0x4a75d6=_0x37d887['length']-0x1,_0x44b33d;_0x4a75d6>=0x0;_0x4a75d6--)(_0x44b33d=_0x37d887[_0x4a75d6])&&(_0x28ad4d=(_0x11171b?_0x44b33d(_0x435c5b,_0x523b74,_0x28ad4d):_0x44b33d(_0x28ad4d))||_0x28ad4d);return _0x11171b&&_0x28ad4d&&xs(_0x435c5b,_0x523b74,_0x28ad4d),_0x28ad4d;},pt=(_0x49386f,_0x360df1)=>(_0x55e022,_0x29c226)=>_0x360df1(_0x55e022,_0x29c226,_0x49386f);let ot=class{constructor(_0x419a39,_0x3d3999,_0x388302){var _0x5acde4=_0xc11182;this['_configService']=_0x419a39,this[_0x5acde4(0x2f9)]=_0x3d3999,this[_0x5acde4(0x336)]=_0x388302,this['init']();}[_0xc11182(0xa9)](){var _0x4a26c4=_0xc11182;this[_0x4a26c4(0x2f9)][_0x4a26c4(0x1c4)]({'priority':0x1,'interceptor':(_0x8cad76,_0x425f4b)=>_0x425f4b(_0x8cad76)[_0x4a26c4(0x333)](_0x55386a(async _0x156fd5=>{var _0x2f18f2=_0x4a26c4;const _0x15c541=_0x156fd5;if(_0x15c541['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2f18f2(0x1bd)](this[_0x2f18f2(0x336)]['t'](_0x2f18f2(0xec)))){const _0x2ec476=window[_0x2f18f2(0x1ff)](window[_0x2f18f2(0x339)][_0x2f18f2(0x377)]);window[_0x2f18f2(0x339)][_0x2f18f2(0x377)]=this[_0x2f18f2(0x2c2)]()+'?url='+_0x2ec476;}}return _0x15c541;}))});}['_getLoginPath'](){var _0x3fe7f5=_0xc11182,_0x146e3f,_0x44461b;const _0x698c39=this[_0x3fe7f5(0x2a6)]['getConfig'](Fn),_0x5e9e09=this['_configService'][_0x3fe7f5(0x242)](Y);return(_0x44461b=(_0x146e3f=_0x5e9e09==null?void 0x0:_0x5e9e09[_0x3fe7f5(0xe9)])!=null?_0x146e3f:_0x698c39)!=null?_0x44461b:Vn;}};ot=Ms([pt(0x0,_0x4f3939),pt(0x1,_0x2d4781(_0x4b66e4)),pt(0x2,_0x2d4781(_0x180250))],ot);var $s=Object[_0xc11182(0x1fb)],Hs=Object[_0xc11182(0x1ef)],ks=(_0x58cfb3,_0x2b4df2,_0x578b94,_0x9ce0ec)=>{var _0x46f310=_0xc11182;for(var _0x15d125=_0x9ce0ec>0x1?void 0x0:_0x9ce0ec?Hs(_0x2b4df2,_0x578b94):_0x2b4df2,_0x4774f5=_0x58cfb3[_0x46f310(0x219)]-0x1,_0x31f1d1;_0x4774f5>=0x0;_0x4774f5--)(_0x31f1d1=_0x58cfb3[_0x4774f5])&&(_0x15d125=(_0x9ce0ec?_0x31f1d1(_0x2b4df2,_0x578b94,_0x15d125):_0x31f1d1(_0x15d125))||_0x15d125);return _0x9ce0ec&&_0x15d125&&$s(_0x2b4df2,_0x578b94,_0x15d125),_0x15d125;},Zt=(_0x190d44,_0x59efbc)=>(_0x195392,_0x28445e)=>_0x59efbc(_0x195392,_0x28445e,_0x190d44);const wi=_0xc11182(0x1a7),js=_0xc11182(0x1e9);let yt=class extends _0x1c4f19{constructor(_0x11e5b6,_0x17595f){var _0x4b70ea=_0xc11182;super(),this['_HTTPService']=_0x11e5b6,this['_configService']=_0x17595f,this[_0x4b70ea(0x16c)]();}[_0xc11182(0x16c)](){var _0x15c87e=_0xc11182;const _0x38f056=this;this['disposeWithMe'](this[_0x15c87e(0x34f)][_0x15c87e(0x1c4)]({'priority':0x3e7,'interceptor':_0x442157({'isMatch'(_0x1350de){var _0x8e1ac0=_0x15c87e,_0x20ea9d;if(_0x1350de[_0x8e1ac0(0x22e)]===_0x8e1ac0(0x185)&&((_0x20ea9d=_0x1350de['requestParams'])!=null&&_0x20ea9d[_0x8e1ac0(0x104)])){const {objectID:_0x30540b,objectType:_0x175fe2}=_0x1350de[_0x8e1ac0(0x217)][_0x8e1ac0(0x104)]||{};if(!_0x30540b||_0x175fe2===void 0x0)return!0x1;const _0x4ea1e8=_0x38f056[_0x8e1ac0(0xf2)]()+'/'+_0x175fe2+_0x8e1ac0(0x28b)+_0x30540b+_0x8e1ac0(0x13c);if(_0x1350de[_0x8e1ac0(0x1c2)]===_0x4ea1e8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3f6c15){var _0x5991f5=_0x15c87e,_0xdfdb76;return(_0xdfdb76=_0x3f6c15[_0x5991f5(0x217)])==null?void 0x0:_0xdfdb76[_0x5991f5(0x104)];},'mergeParamsToRequest'(_0x30763c,_0x548f64){var _0x310371=_0x15c87e;const _0x204b20=_0x38f056['_getAPIPrefixPath']()+_0x310371(0x226),_0x388b84=_0x30763c['reduce']((_0xef2879,_0xcd5f36)=>{var _0x4fab8c=_0x310371;const {unitID:_0x4bbd02,objectID:_0x514ce8,objectType:_0x42d45b,actions:_0x155fdd}=_0xcd5f36;return _0xef2879[_0x4bbd02]||(_0xef2879[_0x4bbd02]={}),_0xef2879[_0x4bbd02][_0x514ce8]||(_0xef2879[_0x4bbd02][_0x514ce8]={'objectID':_0x514ce8,'objectType':_0x42d45b,'actions':[]}),_0xef2879[_0x4bbd02][_0x514ce8][_0x4fab8c(0x133)][_0x4fab8c(0xfd)](..._0x155fdd),_0xef2879;},{}),_0x254105=[];for(const _0x2bc80f in _0x388b84)for(const _0x259904 in _0x388b84[_0x2bc80f]){const {actions:_0x5e0052,objectType:_0x14155e}=_0x388b84[_0x2bc80f][_0x259904],_0x11640b=[...new Set(_0x5e0052)];_0x254105[_0x310371(0xfd)]({'unitID':_0x2bc80f,'objectID':_0x259904,'objectType':_0x14155e,'actions':_0x11640b});}return new _0x205e2a(_0x310371(0x185),_0x204b20,{'headers':_0x548f64[_0x310371(0x14b)],'withCredentials':_0x548f64[_0x310371(0x310)],'responseType':_0x548f64['responseType'],'body':{'requests':_0x254105}});}},{'distributeResult'(_0x38eb10,_0x585c42){var _0x25fa98=_0x15c87e;const {objectActions:_0x53c55d}=_0x38eb10;return _0x585c42[_0x25fa98(0xa7)](_0x1640f1=>{var _0x48575d=_0x25fa98;const {unitID:_0x4d7249,objectID:_0x19e1bd,actions:_0x394ac3}=_0x1640f1,_0x2938cd=_0x53c55d[_0x48575d(0x180)](_0x4fdee2=>_0x4fdee2[_0x48575d(0x2ba)]===_0x4d7249&&_0x4fdee2[_0x48575d(0xe7)]===_0x19e1bd),_0x49f1ae=_0x394ac3['map'](_0x2ec139=>_0x2938cd==null?void 0x0:_0x2938cd[_0x48575d(0x133)]['find'](_0x22272e=>_0x22272e[_0x48575d(0x1e6)]===_0x2ec139))[_0x48575d(0x1dc)](_0x352e69=>!!_0x352e69);return{'config':_0x1640f1,'result':{'actions':_0x49f1ae,'error':_0x38eb10[_0x48575d(0x2dc)]}};});}})}));}[_0xc11182(0xf2)](){var _0x39cba1=_0xc11182,_0x533264,_0x2907b2;const _0x55b624=this[_0x39cba1(0x2a6)]['getConfig'](wi),_0x4c61c9=this['_configService']['getConfig'](Y);return(_0x2907b2=(_0x533264=_0x4c61c9==null?void 0x0:_0x4c61c9[_0x39cba1(0xb9)])!=null?_0x533264:_0x55b624)!=null?_0x2907b2:js;}async[_0xc11182(0x231)](_0x552720){var _0x234512=_0xc11182;const _0x56bfa9=this[_0x234512(0xf2)]()+'/'+_0x552720[_0x234512(0x125)]+_0x234512(0xf8);return(await this['_HTTPService'][_0x234512(0x12b)](_0x56bfa9,{'body':_0x552720}))[_0x234512(0x104)][_0x234512(0xe7)]||'';}async[_0xc11182(0x2be)](_0x49ae55){var _0x2d36ce=_0xc11182;const _0x3762fb=this[_0x2d36ce(0xf2)]()+_0x2d36ce(0x11a);return(await this[_0x2d36ce(0x34f)][_0x2d36ce(0x12b)](_0x3762fb,{'body':_0x49ae55}))[_0x2d36ce(0x104)][_0x2d36ce(0x1b9)];}async[_0xc11182(0x1cc)](_0x1666d9){var _0x41ebd7=_0xc11182;const _0x5bc231=this[_0x41ebd7(0xf2)]()+'/'+_0x1666d9[_0x41ebd7(0x125)]+_0x41ebd7(0x28b)+_0x1666d9[_0x41ebd7(0xe7)];await this[_0x41ebd7(0x34f)][_0x41ebd7(0x2fe)](_0x5bc231,{'body':_0x1666d9});}async[_0xc11182(0x164)](_0x2d7127){var _0x222060=_0xc11182;const _0xef3cb7=this[_0x222060(0xf2)]()+'/'+_0x2d7127[_0x222060(0x125)]+_0x222060(0x28b)+_0x2d7127[_0x222060(0xe7)]+_0x222060(0x13c);return(await this[_0x222060(0x34f)][_0x222060(0x12b)](_0xef3cb7,{'body':_0x2d7127}))['body']['actions'];}async[_0xc11182(0xc7)](_0x5cfc3b){var _0x23f79d=_0xc11182;const _0x29a1ce=this[_0x23f79d(0xf2)]()+_0x23f79d(0x226);return(await this[_0x23f79d(0x34f)][_0x23f79d(0x12b)](_0x29a1ce,{'body':{'requests':_0x5cfc3b}}))['body'][_0x23f79d(0xed)];}async['listRoles'](_0xe8a397){var _0xd2c57a=_0xc11182;const _0x25c62b=this['_getAPIPrefixPath']()+'/'+_0xe8a397[_0xd2c57a(0x125)]+_0xd2c57a(0x315),_0x5e4382=await this[_0xd2c57a(0x34f)][_0xd2c57a(0x12b)](_0x25c62b,{'body':_0xe8a397});return{'roles':_0x5e4382[_0xd2c57a(0x104)][_0xd2c57a(0x16b)],'actions':_0x5e4382[_0xd2c57a(0x104)][_0xd2c57a(0x133)]};}async[_0xc11182(0x269)](_0x5fc1cf){var _0x28451f=_0xc11182;const _0x2a9700=this[_0x28451f(0xf2)]()+_0x28451f(0x225);await this[_0x28451f(0x34f)][_0x28451f(0x159)](_0x2a9700,{'params':{'collaboratorID':_0x5fc1cf['collaboratorID'],'objectID':_0x5fc1cf['objectID'],'unitID':_0x5fc1cf['unitID']}});}async[_0xc11182(0x2e4)](_0x1211d0){var _0x51a181=_0xc11182;const _0x2a11a4=this[_0x51a181(0xf2)]()+_0x51a181(0x225);await this[_0x51a181(0x34f)][_0x51a181(0x106)](_0x2a11a4,{'body':_0x1211d0});}async[_0xc11182(0x309)](_0x37cb56){var _0x46cc56=_0xc11182;const _0x14a517=this[_0x46cc56(0xf2)]()+_0x46cc56(0x225);await this[_0x46cc56(0x34f)][_0x46cc56(0x12b)](_0x14a517,{'body':_0x37cb56});}async[_0xc11182(0x129)](_0x4a93e0){var _0x5164be=_0xc11182;const _0x29ab34=this[_0x5164be(0xf2)]()+_0x5164be(0x225);return(await this[_0x5164be(0x34f)]['get'](_0x29ab34,{'params':{'objectID':_0x4a93e0['objectID'],'unitID':_0x4a93e0[_0x5164be(0x2ba)]}}))['body']['collaborators'];}async[_0xc11182(0x170)](_0x3201dd){var _0x4b49c4=_0xc11182;const _0x320a93=this[_0x4b49c4(0xf2)]()+_0x4b49c4(0x225);await this[_0x4b49c4(0x34f)][_0x4b49c4(0x2fe)](_0x320a93,{'body':_0x3201dd});}};yt=ks([Zt(0x0,_0x2d4781(_0x4b66e4)),Zt(0x1,_0x2d4781(_0x4f3939))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1f5740){var _0x46bf3b=_0xc11182;return _0x1f5740&&_0x1f5740['__esModule']&&Object[_0x46bf3b(0x184)][_0x46bf3b(0x3ad)][_0x46bf3b(0x2d6)](_0x1f5740,'default')?_0x1f5740[_0x46bf3b(0x1fa)]:_0x1f5740;}var We={'exports':{}};function Bs(_0x35f868){var _0x5c9eb1=_0xc11182;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x35f868+_0x5c9eb1(0x3a0));}var Ge={'exports':{}},Fs=Ge[_0xc11182(0x33f)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x436b74,_0x5df8cd){(function(_0x485268,_0x2c08f7){var _0x1c94a7=_0x7b62;_0x436b74[_0x1c94a7(0x33f)]=_0x2c08f7();}(Fs,function(){var _0x483a1c=_0x483a1c||function(_0x499b65,_0x951c31){var _0x1190e4=_0x7b62,_0x49d1bb;if(typeof window<'u'&&window[_0x1190e4(0x340)]&&(_0x49d1bb=window[_0x1190e4(0x340)]),typeof self<'u'&&self[_0x1190e4(0x340)]&&(_0x49d1bb=self[_0x1190e4(0x340)]),typeof globalThis<'u'&&globalThis[_0x1190e4(0x340)]&&(_0x49d1bb=globalThis[_0x1190e4(0x340)]),!_0x49d1bb&&typeof window<'u'&&window[_0x1190e4(0x348)]&&(_0x49d1bb=window[_0x1190e4(0x348)]),!_0x49d1bb&&typeof mt<'u'&&mt['crypto']&&(_0x49d1bb=mt[_0x1190e4(0x340)]),!_0x49d1bb&&typeof Bs==_0x1190e4(0x10a))try{_0x49d1bb=require(_0x1190e4(0x340));}catch{}var _0xaac692=function(){var _0x39a964=_0x1190e4;if(_0x49d1bb){if(typeof _0x49d1bb[_0x39a964(0x36a)]==_0x39a964(0x10a))try{return _0x49d1bb['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x49d1bb[_0x39a964(0x288)]==_0x39a964(0x10a))try{return _0x49d1bb[_0x39a964(0x288)](0x4)[_0x39a964(0x1d9)]();}catch{}}throw new Error(_0x39a964(0x148));},_0x46c00e=Object[_0x1190e4(0x231)]||(function(){function _0x4f2037(){}return function(_0x12d410){var _0x144b1d=_0x7b62,_0x33faab;return _0x4f2037[_0x144b1d(0x184)]=_0x12d410,_0x33faab=new _0x4f2037(),_0x4f2037[_0x144b1d(0x184)]=null,_0x33faab;};}()),_0x106dff={},_0x3e8b08=_0x106dff[_0x1190e4(0x1fe)]={},_0x2a1330=_0x3e8b08[_0x1190e4(0x2b2)]=(function(){return{'extend':function(_0x1d83c6){var _0xaaeb7e=_0x7b62,_0xa5fd1d=_0x46c00e(this);return _0x1d83c6&&_0xa5fd1d[_0xaaeb7e(0x10c)](_0x1d83c6),(!_0xa5fd1d[_0xaaeb7e(0x3ad)](_0xaaeb7e(0xa9))||this['init']===_0xa5fd1d[_0xaaeb7e(0xa9)])&&(_0xa5fd1d[_0xaaeb7e(0xa9)]=function(){var _0x39e50b=_0xaaeb7e;_0xa5fd1d[_0x39e50b(0x345)]['init'][_0x39e50b(0x108)](this,arguments);}),_0xa5fd1d[_0xaaeb7e(0xa9)][_0xaaeb7e(0x184)]=_0xa5fd1d,_0xa5fd1d[_0xaaeb7e(0x345)]=this,_0xa5fd1d;},'create':function(){var _0x42d888=this['extend']();return _0x42d888['init']['apply'](_0x42d888,arguments),_0x42d888;},'init':function(){},'mixIn':function(_0x1c1184){var _0x1eadc9=_0x7b62;for(var _0xdc68c0 in _0x1c1184)_0x1c1184[_0x1eadc9(0x3ad)](_0xdc68c0)&&(this[_0xdc68c0]=_0x1c1184[_0xdc68c0]);_0x1c1184[_0x1eadc9(0x3ad)](_0x1eadc9(0x304))&&(this[_0x1eadc9(0x304)]=_0x1c1184[_0x1eadc9(0x304)]);},'clone':function(){var _0x22eaf3=_0x7b62;return this[_0x22eaf3(0xa9)][_0x22eaf3(0x184)][_0x22eaf3(0x15d)](this);}};}()),_0x2dd8a0=_0x3e8b08['WordArray']=_0x2a1330[_0x1190e4(0x15d)]({'init':function(_0x3c22c9,_0x220dec){var _0x250382=_0x1190e4;_0x3c22c9=this['words']=_0x3c22c9||[],_0x220dec!=_0x951c31?this[_0x250382(0x33c)]=_0x220dec:this[_0x250382(0x33c)]=_0x3c22c9[_0x250382(0x219)]*0x4;},'toString':function(_0x14f261){return(_0x14f261||_0x1b009f)['stringify'](this);},'concat':function(_0x3d3dde){var _0xe990af=_0x1190e4,_0xd96e73=this['words'],_0x2b3ebc=_0x3d3dde[_0xe990af(0x2d5)],_0x54ea0f=this[_0xe990af(0x33c)],_0x2a3cd6=_0x3d3dde[_0xe990af(0x33c)];if(this[_0xe990af(0x355)](),_0x54ea0f%0x4)for(var _0xcf16f8=0x0;_0xcf16f8<_0x2a3cd6;_0xcf16f8++){var _0x5ef91e=_0x2b3ebc[_0xcf16f8>>>0x2]>>>0x18-_0xcf16f8%0x4*0x8&0xff;_0xd96e73[_0x54ea0f+_0xcf16f8>>>0x2]|=_0x5ef91e<<0x18-(_0x54ea0f+_0xcf16f8)%0x4*0x8;}else{for(var _0x9a4f7e=0x0;_0x9a4f7e<_0x2a3cd6;_0x9a4f7e+=0x4)_0xd96e73[_0x54ea0f+_0x9a4f7e>>>0x2]=_0x2b3ebc[_0x9a4f7e>>>0x2];}return this[_0xe990af(0x33c)]+=_0x2a3cd6,this;},'clamp':function(){var _0x2d0fff=_0x1190e4,_0x792ba6=this['words'],_0x274dc2=this[_0x2d0fff(0x33c)];_0x792ba6[_0x274dc2>>>0x2]&=0xffffffff<<0x20-_0x274dc2%0x4*0x8,_0x792ba6[_0x2d0fff(0x219)]=_0x499b65[_0x2d0fff(0x34d)](_0x274dc2/0x4);},'clone':function(){var _0x1ec7c3=_0x1190e4,_0x4c089c=_0x2a1330[_0x1ec7c3(0xd1)][_0x1ec7c3(0x2d6)](this);return _0x4c089c[_0x1ec7c3(0x2d5)]=this[_0x1ec7c3(0x2d5)]['slice'](0x0),_0x4c089c;},'random':function(_0x23357f){var _0x4e2cdc=_0x1190e4;for(var _0x18198f=[],_0x4e98cb=0x0;_0x4e98cb<_0x23357f;_0x4e98cb+=0x4)_0x18198f[_0x4e2cdc(0xfd)](_0xaac692());return new _0x2dd8a0['init'](_0x18198f,_0x23357f);}}),_0xec83ee=_0x106dff[_0x1190e4(0x26b)]={},_0x1b009f=_0xec83ee[_0x1190e4(0x3ac)]={'stringify':function(_0x193460){var _0x1bba9b=_0x1190e4;for(var _0xcbd78d=_0x193460['words'],_0x34823f=_0x193460['sigBytes'],_0x257aa9=[],_0x23d7ae=0x0;_0x23d7ae<_0x34823f;_0x23d7ae++){var _0x39fb8c=_0xcbd78d[_0x23d7ae>>>0x2]>>>0x18-_0x23d7ae%0x4*0x8&0xff;_0x257aa9[_0x1bba9b(0xfd)]((_0x39fb8c>>>0x4)[_0x1bba9b(0x304)](0x10)),_0x257aa9[_0x1bba9b(0xfd)]((_0x39fb8c&0xf)[_0x1bba9b(0x304)](0x10));}return _0x257aa9[_0x1bba9b(0x38e)]('');},'parse':function(_0x56fe08){var _0x1806c0=_0x1190e4;for(var _0x2cac80=_0x56fe08[_0x1806c0(0x219)],_0x444dc3=[],_0x14b82d=0x0;_0x14b82d<_0x2cac80;_0x14b82d+=0x2)_0x444dc3[_0x14b82d>>>0x3]|=parseInt(_0x56fe08[_0x1806c0(0x2e5)](_0x14b82d,0x2),0x10)<<0x18-_0x14b82d%0x8*0x4;return new _0x2dd8a0['init'](_0x444dc3,_0x2cac80/0x2);}},_0x20956d=_0xec83ee[_0x1190e4(0x2b0)]={'stringify':function(_0x35e018){var _0x28a824=_0x1190e4;for(var _0x5afd50=_0x35e018[_0x28a824(0x2d5)],_0x30a272=_0x35e018[_0x28a824(0x33c)],_0x344de3=[],_0x42ddc2=0x0;_0x42ddc2<_0x30a272;_0x42ddc2++){var _0x9f84c2=_0x5afd50[_0x42ddc2>>>0x2]>>>0x18-_0x42ddc2%0x4*0x8&0xff;_0x344de3[_0x28a824(0xfd)](String['fromCharCode'](_0x9f84c2));}return _0x344de3[_0x28a824(0x38e)]('');},'parse':function(_0x30321c){var _0x4446fc=_0x1190e4;for(var _0x4d92ec=_0x30321c[_0x4446fc(0x219)],_0x2c4b16=[],_0x155f88=0x0;_0x155f88<_0x4d92ec;_0x155f88++)_0x2c4b16[_0x155f88>>>0x2]|=(_0x30321c[_0x4446fc(0x212)](_0x155f88)&0xff)<<0x18-_0x155f88%0x4*0x8;return new _0x2dd8a0[(_0x4446fc(0xa9))](_0x2c4b16,_0x4d92ec);}},_0x33864d=_0xec83ee[_0x1190e4(0x38c)]={'stringify':function(_0x3a0275){var _0x2ffb33=_0x1190e4;try{return decodeURIComponent(escape(_0x20956d[_0x2ffb33(0x228)](_0x3a0275)));}catch{throw new Error(_0x2ffb33(0x1ca));}},'parse':function(_0x453162){var _0x25d2ec=_0x1190e4;return _0x20956d[_0x25d2ec(0x154)](unescape(encodeURIComponent(_0x453162)));}},_0x31ba23=_0x3e8b08[_0x1190e4(0x31c)]=_0x2a1330[_0x1190e4(0x15d)]({'reset':function(){var _0x104ce5=_0x1190e4;this[_0x104ce5(0x2db)]=new _0x2dd8a0[(_0x104ce5(0xa9))](),this[_0x104ce5(0x168)]=0x0;},'_append':function(_0x360682){var _0x1c1941=_0x1190e4;typeof _0x360682==_0x1c1941(0x250)&&(_0x360682=_0x33864d['parse'](_0x360682)),this[_0x1c1941(0x2db)][_0x1c1941(0xc6)](_0x360682),this['_nDataBytes']+=_0x360682[_0x1c1941(0x33c)];},'_process':function(_0x29f54c){var _0xd7308d=_0x1190e4,_0x29eb7a,_0x9ffc69=this['_data'],_0x1f4e21=_0x9ffc69[_0xd7308d(0x2d5)],_0x589494=_0x9ffc69[_0xd7308d(0x33c)],_0x10cc2d=this[_0xd7308d(0x2c5)],_0x8e1fa9=_0x10cc2d*0x4,_0x54b13b=_0x589494/_0x8e1fa9;_0x29f54c?_0x54b13b=_0x499b65[_0xd7308d(0x34d)](_0x54b13b):_0x54b13b=_0x499b65[_0xd7308d(0x22d)]((_0x54b13b|0x0)-this[_0xd7308d(0xe6)],0x0);var _0x117431=_0x54b13b*_0x10cc2d,_0x3a3ace=_0x499b65['min'](_0x117431*0x4,_0x589494);if(_0x117431){for(var _0x3cd62d=0x0;_0x3cd62d<_0x117431;_0x3cd62d+=_0x10cc2d)this[_0xd7308d(0x1a8)](_0x1f4e21,_0x3cd62d);_0x29eb7a=_0x1f4e21[_0xd7308d(0x37f)](0x0,_0x117431),_0x9ffc69[_0xd7308d(0x33c)]-=_0x3a3ace;}return new _0x2dd8a0[(_0xd7308d(0xa9))](_0x29eb7a,_0x3a3ace);},'clone':function(){var _0x426929=_0x1190e4,_0x439e20=_0x2a1330[_0x426929(0xd1)]['call'](this);return _0x439e20[_0x426929(0x2db)]=this['_data'][_0x426929(0xd1)](),_0x439e20;},'_minBufferSize':0x0});_0x3e8b08[_0x1190e4(0x278)]=_0x31ba23[_0x1190e4(0x15d)]({'cfg':_0x2a1330[_0x1190e4(0x15d)](),'init':function(_0x386f1a){var _0xc65082=_0x1190e4;this[_0xc65082(0x331)]=this['cfg'][_0xc65082(0x15d)](_0x386f1a),this[_0xc65082(0x328)]();},'reset':function(){var _0x1a9c98=_0x1190e4;_0x31ba23[_0x1a9c98(0x328)]['call'](this),this[_0x1a9c98(0x338)]();},'update':function(_0x14b1f3){var _0x2caae2=_0x1190e4;return this[_0x2caae2(0x1b5)](_0x14b1f3),this[_0x2caae2(0x1cd)](),this;},'finalize':function(_0x3adcd1){var _0x340863=_0x1190e4;_0x3adcd1&&this[_0x340863(0x1b5)](_0x3adcd1);var _0x116e19=this[_0x340863(0x218)]();return _0x116e19;},'blockSize':0x10,'_createHelper':function(_0x1033db){return function(_0x3c8dba,_0xa7871c){var _0x4409e5=_0x7b62;return new _0x1033db[(_0x4409e5(0xa9))](_0xa7871c)[_0x4409e5(0xaa)](_0x3c8dba);};},'_createHmacHelper':function(_0x351882){return function(_0x4b5865,_0x4d02b4){var _0x21d8b2=_0x7b62;return new _0x4af049[(_0x21d8b2(0x286))][(_0x21d8b2(0xa9))](_0x351882,_0x4d02b4)[_0x21d8b2(0xaa)](_0x4b5865);};}});var _0x4af049=_0x106dff['algo']={};return _0x106dff;}(Math);return _0x483a1c;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0xc11182(0x33f)],ei;function Ui(){var _0xaf5051=_0xc11182;return ei||(ei=0x1,function(_0x1463fc,_0x59c4a4){(function(_0x55dff2,_0x4f783b){_0x1463fc['exports']=_0x4f783b(ne());}(Vs,function(_0x1fbd4f){var _0x219df1=_0x7b62;return(function(){var _0xa36419=_0x7b62,_0x5686d5=_0x1fbd4f,_0x2a8159=_0x5686d5[_0xa36419(0x1fe)],_0x37785c=_0x2a8159['WordArray'],_0x7a6470=_0x5686d5[_0xa36419(0x26b)];_0x7a6470[_0xa36419(0x347)]={'stringify':function(_0x344c7c){var _0x5c04ed=_0xa36419,_0x1f841f=_0x344c7c[_0x5c04ed(0x2d5)],_0x2b4d4b=_0x344c7c[_0x5c04ed(0x33c)],_0x5c57b6=this[_0x5c04ed(0x296)];_0x344c7c[_0x5c04ed(0x355)]();for(var _0xc6862e=[],_0x31819c=0x0;_0x31819c<_0x2b4d4b;_0x31819c+=0x3)for(var _0x21a329=_0x1f841f[_0x31819c>>>0x2]>>>0x18-_0x31819c%0x4*0x8&0xff,_0x45950c=_0x1f841f[_0x31819c+0x1>>>0x2]>>>0x18-(_0x31819c+0x1)%0x4*0x8&0xff,_0x3cc3ef=_0x1f841f[_0x31819c+0x2>>>0x2]>>>0x18-(_0x31819c+0x2)%0x4*0x8&0xff,_0xd09a38=_0x21a329<<0x10|_0x45950c<<0x8|_0x3cc3ef,_0x599e19=0x0;_0x599e19<0x4&&_0x31819c+_0x599e19*0.75<_0x2b4d4b;_0x599e19++)_0xc6862e['push'](_0x5c57b6[_0x5c04ed(0x24b)](_0xd09a38>>>0x6*(0x3-_0x599e19)&0x3f));var _0x2cc523=_0x5c57b6[_0x5c04ed(0x24b)](0x40);if(_0x2cc523){for(;_0xc6862e['length']%0x4;)_0xc6862e[_0x5c04ed(0xfd)](_0x2cc523);}return _0xc6862e[_0x5c04ed(0x38e)]('');},'parse':function(_0x470c04){var _0x569967=_0xa36419,_0x2059ee=_0x470c04[_0x569967(0x219)],_0x28897b=this[_0x569967(0x296)],_0x5f2624=this['_reverseMap'];if(!_0x5f2624){_0x5f2624=this[_0x569967(0x1da)]=[];for(var _0x4e8415=0x0;_0x4e8415<_0x28897b['length'];_0x4e8415++)_0x5f2624[_0x28897b[_0x569967(0x212)](_0x4e8415)]=_0x4e8415;}var _0x647e2e=_0x28897b[_0x569967(0x24b)](0x40);if(_0x647e2e){var _0x2c90ff=_0x470c04['indexOf'](_0x647e2e);_0x2c90ff!==-0x1&&(_0x2059ee=_0x2c90ff);}return _0x1293f8(_0x470c04,_0x2059ee,_0x5f2624);},'_map':_0xa36419(0x359)};function _0x1293f8(_0x27f5c8,_0x268d9e,_0x591395){var _0xbc9afb=_0xa36419;for(var _0xad37=[],_0x44fd64=0x0,_0x5baf9c=0x0;_0x5baf9c<_0x268d9e;_0x5baf9c++)if(_0x5baf9c%0x4){var _0x4d26bf=_0x591395[_0x27f5c8[_0xbc9afb(0x212)](_0x5baf9c-0x1)]<<_0x5baf9c%0x4*0x2,_0x464fb1=_0x591395[_0x27f5c8['charCodeAt'](_0x5baf9c)]>>>0x6-_0x5baf9c%0x4*0x2,_0x5b634a=_0x4d26bf|_0x464fb1;_0xad37[_0x44fd64>>>0x2]|=_0x5b634a<<0x18-_0x44fd64%0x4*0x8,_0x44fd64++;}return _0x37785c[_0xbc9afb(0x231)](_0xad37,_0x44fd64);}}()),_0x1fbd4f[_0x219df1(0x26b)][_0x219df1(0x347)];}));}(Ke)),Ke[_0xaf5051(0x33f)];}var ze={'exports':{}},Ws=ze['exports'],ti;function _0x7b62(_0x192987,_0x373e7c){var _0x4c8f91=_0x4c8f();return _0x7b62=function(_0x7b62bf,_0x2a10a8){_0x7b62bf=_0x7b62bf-0xa3;var _0x337b6c=_0x4c8f91[_0x7b62bf];return _0x337b6c;},_0x7b62(_0x192987,_0x373e7c);}function Gs(){var _0x2e019e=_0xc11182;return ti||(ti=0x1,function(_0x37ec42,_0x2cf079){(function(_0x13189f,_0x45687e){var _0x39bb32=_0x7b62;_0x37ec42[_0x39bb32(0x33f)]=_0x45687e(ne());}(Ws,function(_0x15ea2b){return function(_0x390044){var _0x3f3e4c=_0x7b62,_0x40653a=_0x15ea2b,_0x1e0bb0=_0x40653a[_0x3f3e4c(0x1fe)],_0x372213=_0x1e0bb0[_0x3f3e4c(0x15c)],_0x4244f9=_0x1e0bb0[_0x3f3e4c(0x278)],_0x49e7e0=_0x40653a['algo'],_0x1f0873=[];(function(){var _0x390515=_0x3f3e4c;for(var _0x2d6604=0x0;_0x2d6604<0x40;_0x2d6604++)_0x1f0873[_0x2d6604]=_0x390044[_0x390515(0x1ec)](_0x390044[_0x390515(0x2dd)](_0x2d6604+0x1))*0x100000000|0x0;}());var _0x2ff8a0=_0x49e7e0[_0x3f3e4c(0x21a)]=_0x4244f9[_0x3f3e4c(0x15d)]({'_doReset':function(){var _0x33460a=_0x3f3e4c;this[_0x33460a(0x3a9)]=new _0x372213['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b69d1,_0x2f858f){for(var _0x1d49bb=0x0;_0x1d49bb<0x10;_0x1d49bb++){var _0x2f9a43=_0x2f858f+_0x1d49bb,_0xb4c168=_0x4b69d1[_0x2f9a43];_0x4b69d1[_0x2f9a43]=(_0xb4c168<<0x8|_0xb4c168>>>0x18)&0xff00ff|(_0xb4c168<<0x18|_0xb4c168>>>0x8)&0xff00ff00;}var _0x53a796=this['_hash']['words'],_0x2b040c=_0x4b69d1[_0x2f858f+0x0],_0x2fc117=_0x4b69d1[_0x2f858f+0x1],_0x1b194f=_0x4b69d1[_0x2f858f+0x2],_0x186c64=_0x4b69d1[_0x2f858f+0x3],_0x2bef0c=_0x4b69d1[_0x2f858f+0x4],_0x289997=_0x4b69d1[_0x2f858f+0x5],_0x46a394=_0x4b69d1[_0x2f858f+0x6],_0xafa53d=_0x4b69d1[_0x2f858f+0x7],_0x5ee2ca=_0x4b69d1[_0x2f858f+0x8],_0x2229af=_0x4b69d1[_0x2f858f+0x9],_0x350216=_0x4b69d1[_0x2f858f+0xa],_0x23f967=_0x4b69d1[_0x2f858f+0xb],_0x182fd4=_0x4b69d1[_0x2f858f+0xc],_0x2a8a00=_0x4b69d1[_0x2f858f+0xd],_0x5ce03d=_0x4b69d1[_0x2f858f+0xe],_0x4115af=_0x4b69d1[_0x2f858f+0xf],_0x8b0f1c=_0x53a796[0x0],_0x3275d1=_0x53a796[0x1],_0x3c4083=_0x53a796[0x2],_0x275973=_0x53a796[0x3];_0x8b0f1c=_0x4c6294(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2b040c,0x7,_0x1f0873[0x0]),_0x275973=_0x4c6294(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x2fc117,0xc,_0x1f0873[0x1]),_0x3c4083=_0x4c6294(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x1b194f,0x11,_0x1f0873[0x2]),_0x3275d1=_0x4c6294(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x186c64,0x16,_0x1f0873[0x3]),_0x8b0f1c=_0x4c6294(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2bef0c,0x7,_0x1f0873[0x4]),_0x275973=_0x4c6294(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x289997,0xc,_0x1f0873[0x5]),_0x3c4083=_0x4c6294(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x46a394,0x11,_0x1f0873[0x6]),_0x3275d1=_0x4c6294(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0xafa53d,0x16,_0x1f0873[0x7]),_0x8b0f1c=_0x4c6294(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x5ee2ca,0x7,_0x1f0873[0x8]),_0x275973=_0x4c6294(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x2229af,0xc,_0x1f0873[0x9]),_0x3c4083=_0x4c6294(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x350216,0x11,_0x1f0873[0xa]),_0x3275d1=_0x4c6294(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x23f967,0x16,_0x1f0873[0xb]),_0x8b0f1c=_0x4c6294(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x182fd4,0x7,_0x1f0873[0xc]),_0x275973=_0x4c6294(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x2a8a00,0xc,_0x1f0873[0xd]),_0x3c4083=_0x4c6294(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x5ce03d,0x11,_0x1f0873[0xe]),_0x3275d1=_0x4c6294(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x4115af,0x16,_0x1f0873[0xf]),_0x8b0f1c=_0x3fe20d(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2fc117,0x5,_0x1f0873[0x10]),_0x275973=_0x3fe20d(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x46a394,0x9,_0x1f0873[0x11]),_0x3c4083=_0x3fe20d(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x23f967,0xe,_0x1f0873[0x12]),_0x3275d1=_0x3fe20d(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x2b040c,0x14,_0x1f0873[0x13]),_0x8b0f1c=_0x3fe20d(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x289997,0x5,_0x1f0873[0x14]),_0x275973=_0x3fe20d(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x350216,0x9,_0x1f0873[0x15]),_0x3c4083=_0x3fe20d(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x4115af,0xe,_0x1f0873[0x16]),_0x3275d1=_0x3fe20d(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x2bef0c,0x14,_0x1f0873[0x17]),_0x8b0f1c=_0x3fe20d(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2229af,0x5,_0x1f0873[0x18]),_0x275973=_0x3fe20d(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x5ce03d,0x9,_0x1f0873[0x19]),_0x3c4083=_0x3fe20d(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x186c64,0xe,_0x1f0873[0x1a]),_0x3275d1=_0x3fe20d(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x5ee2ca,0x14,_0x1f0873[0x1b]),_0x8b0f1c=_0x3fe20d(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2a8a00,0x5,_0x1f0873[0x1c]),_0x275973=_0x3fe20d(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x1b194f,0x9,_0x1f0873[0x1d]),_0x3c4083=_0x3fe20d(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0xafa53d,0xe,_0x1f0873[0x1e]),_0x3275d1=_0x3fe20d(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x182fd4,0x14,_0x1f0873[0x1f]),_0x8b0f1c=_0x5b39a4(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x289997,0x4,_0x1f0873[0x20]),_0x275973=_0x5b39a4(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x5ee2ca,0xb,_0x1f0873[0x21]),_0x3c4083=_0x5b39a4(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x23f967,0x10,_0x1f0873[0x22]),_0x3275d1=_0x5b39a4(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x5ce03d,0x17,_0x1f0873[0x23]),_0x8b0f1c=_0x5b39a4(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2fc117,0x4,_0x1f0873[0x24]),_0x275973=_0x5b39a4(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x2bef0c,0xb,_0x1f0873[0x25]),_0x3c4083=_0x5b39a4(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0xafa53d,0x10,_0x1f0873[0x26]),_0x3275d1=_0x5b39a4(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x350216,0x17,_0x1f0873[0x27]),_0x8b0f1c=_0x5b39a4(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2a8a00,0x4,_0x1f0873[0x28]),_0x275973=_0x5b39a4(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x2b040c,0xb,_0x1f0873[0x29]),_0x3c4083=_0x5b39a4(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x186c64,0x10,_0x1f0873[0x2a]),_0x3275d1=_0x5b39a4(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x46a394,0x17,_0x1f0873[0x2b]),_0x8b0f1c=_0x5b39a4(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2229af,0x4,_0x1f0873[0x2c]),_0x275973=_0x5b39a4(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x182fd4,0xb,_0x1f0873[0x2d]),_0x3c4083=_0x5b39a4(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x4115af,0x10,_0x1f0873[0x2e]),_0x3275d1=_0x5b39a4(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x1b194f,0x17,_0x1f0873[0x2f]),_0x8b0f1c=_0x375eb0(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2b040c,0x6,_0x1f0873[0x30]),_0x275973=_0x375eb0(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0xafa53d,0xa,_0x1f0873[0x31]),_0x3c4083=_0x375eb0(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x5ce03d,0xf,_0x1f0873[0x32]),_0x3275d1=_0x375eb0(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x289997,0x15,_0x1f0873[0x33]),_0x8b0f1c=_0x375eb0(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x182fd4,0x6,_0x1f0873[0x34]),_0x275973=_0x375eb0(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x186c64,0xa,_0x1f0873[0x35]),_0x3c4083=_0x375eb0(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x350216,0xf,_0x1f0873[0x36]),_0x3275d1=_0x375eb0(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x2fc117,0x15,_0x1f0873[0x37]),_0x8b0f1c=_0x375eb0(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x5ee2ca,0x6,_0x1f0873[0x38]),_0x275973=_0x375eb0(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x4115af,0xa,_0x1f0873[0x39]),_0x3c4083=_0x375eb0(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x46a394,0xf,_0x1f0873[0x3a]),_0x3275d1=_0x375eb0(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x2a8a00,0x15,_0x1f0873[0x3b]),_0x8b0f1c=_0x375eb0(_0x8b0f1c,_0x3275d1,_0x3c4083,_0x275973,_0x2bef0c,0x6,_0x1f0873[0x3c]),_0x275973=_0x375eb0(_0x275973,_0x8b0f1c,_0x3275d1,_0x3c4083,_0x23f967,0xa,_0x1f0873[0x3d]),_0x3c4083=_0x375eb0(_0x3c4083,_0x275973,_0x8b0f1c,_0x3275d1,_0x1b194f,0xf,_0x1f0873[0x3e]),_0x3275d1=_0x375eb0(_0x3275d1,_0x3c4083,_0x275973,_0x8b0f1c,_0x2229af,0x15,_0x1f0873[0x3f]),_0x53a796[0x0]=_0x53a796[0x0]+_0x8b0f1c|0x0,_0x53a796[0x1]=_0x53a796[0x1]+_0x3275d1|0x0,_0x53a796[0x2]=_0x53a796[0x2]+_0x3c4083|0x0,_0x53a796[0x3]=_0x53a796[0x3]+_0x275973|0x0;},'_doFinalize':function(){var _0x1e0ae8=_0x3f3e4c,_0x55706b=this[_0x1e0ae8(0x2db)],_0x47b15f=_0x55706b['words'],_0x222a85=this['_nDataBytes']*0x8,_0x4dd561=_0x55706b[_0x1e0ae8(0x33c)]*0x8;_0x47b15f[_0x4dd561>>>0x5]|=0x80<<0x18-_0x4dd561%0x20;var _0x3f3f16=_0x390044[_0x1e0ae8(0x208)](_0x222a85/0x100000000),_0x4110df=_0x222a85;_0x47b15f[(_0x4dd561+0x40>>>0x9<<0x4)+0xf]=(_0x3f3f16<<0x8|_0x3f3f16>>>0x18)&0xff00ff|(_0x3f3f16<<0x18|_0x3f3f16>>>0x8)&0xff00ff00,_0x47b15f[(_0x4dd561+0x40>>>0x9<<0x4)+0xe]=(_0x4110df<<0x8|_0x4110df>>>0x18)&0xff00ff|(_0x4110df<<0x18|_0x4110df>>>0x8)&0xff00ff00,_0x55706b[_0x1e0ae8(0x33c)]=(_0x47b15f['length']+0x1)*0x4,this[_0x1e0ae8(0x1cd)]();for(var _0x50b012=this['_hash'],_0x36c693=_0x50b012[_0x1e0ae8(0x2d5)],_0x225ab0=0x0;_0x225ab0<0x4;_0x225ab0++){var _0x7647db=_0x36c693[_0x225ab0];_0x36c693[_0x225ab0]=(_0x7647db<<0x8|_0x7647db>>>0x18)&0xff00ff|(_0x7647db<<0x18|_0x7647db>>>0x8)&0xff00ff00;}return _0x50b012;},'clone':function(){var _0xe08e5b=_0x3f3e4c,_0x1cc666=_0x4244f9[_0xe08e5b(0xd1)][_0xe08e5b(0x2d6)](this);return _0x1cc666[_0xe08e5b(0x3a9)]=this[_0xe08e5b(0x3a9)][_0xe08e5b(0xd1)](),_0x1cc666;}});function _0x4c6294(_0x32b8e8,_0x38374b,_0x4ef216,_0x4dec8c,_0x12329e,_0x254991,_0x30f81f){var _0x15bf90=_0x32b8e8+(_0x38374b&_0x4ef216|~_0x38374b&_0x4dec8c)+_0x12329e+_0x30f81f;return(_0x15bf90<<_0x254991|_0x15bf90>>>0x20-_0x254991)+_0x38374b;}function _0x3fe20d(_0xbea45d,_0x52ca12,_0x1e576f,_0x21cf1c,_0x10b96c,_0x4420e0,_0x228caf){var _0x29e5e8=_0xbea45d+(_0x52ca12&_0x21cf1c|_0x1e576f&~_0x21cf1c)+_0x10b96c+_0x228caf;return(_0x29e5e8<<_0x4420e0|_0x29e5e8>>>0x20-_0x4420e0)+_0x52ca12;}function _0x5b39a4(_0x40671f,_0x5caecc,_0x7d6373,_0x104d3e,_0x56b4a2,_0x1b7032,_0x27c44d){var _0x13a274=_0x40671f+(_0x5caecc^_0x7d6373^_0x104d3e)+_0x56b4a2+_0x27c44d;return(_0x13a274<<_0x1b7032|_0x13a274>>>0x20-_0x1b7032)+_0x5caecc;}function _0x375eb0(_0x25a8ac,_0x3cfeb3,_0x116c2c,_0x189572,_0x24fe76,_0x3f62d4,_0x1c0eca){var _0x5d4ea5=_0x25a8ac+(_0x116c2c^(_0x3cfeb3|~_0x189572))+_0x24fe76+_0x1c0eca;return(_0x5d4ea5<<_0x3f62d4|_0x5d4ea5>>>0x20-_0x3f62d4)+_0x3cfeb3;}_0x40653a[_0x3f3e4c(0x21a)]=_0x4244f9[_0x3f3e4c(0x349)](_0x2ff8a0),_0x40653a[_0x3f3e4c(0x2d8)]=_0x4244f9[_0x3f3e4c(0x179)](_0x2ff8a0);}(Math),_0x15ea2b['MD5'];}));}(ze)),ze[_0x2e019e(0x33f)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function zs(){return ii||(ii=0x1,function(_0x347c73,_0x5f462e){(function(_0x277032,_0x52b557){_0x347c73['exports']=_0x52b557(ne());}(Ks,function(_0x596d75){var _0x5f3697=_0x7b62;return(function(){var _0x41e28c=_0x7b62,_0x49c79f=_0x596d75,_0x4e8e44=_0x49c79f['lib'],_0x5d6065=_0x4e8e44['WordArray'],_0x598f2b=_0x4e8e44[_0x41e28c(0x278)],_0x21a0ed=_0x49c79f[_0x41e28c(0x34c)],_0x58d10f=[],_0x17ad6e=_0x21a0ed[_0x41e28c(0x30f)]=_0x598f2b[_0x41e28c(0x15d)]({'_doReset':function(){var _0x485d63=_0x41e28c;this[_0x485d63(0x3a9)]=new _0x5d6065['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55d5b1,_0x2cb18c){var _0x532742=_0x41e28c;for(var _0x5ae4a5=this[_0x532742(0x3a9)][_0x532742(0x2d5)],_0x36d75a=_0x5ae4a5[0x0],_0x35c87a=_0x5ae4a5[0x1],_0x36091d=_0x5ae4a5[0x2],_0x54970a=_0x5ae4a5[0x3],_0x57df63=_0x5ae4a5[0x4],_0x40d2b7=0x0;_0x40d2b7<0x50;_0x40d2b7++){if(_0x40d2b7<0x10)_0x58d10f[_0x40d2b7]=_0x55d5b1[_0x2cb18c+_0x40d2b7]|0x0;else{var _0x8054fa=_0x58d10f[_0x40d2b7-0x3]^_0x58d10f[_0x40d2b7-0x8]^_0x58d10f[_0x40d2b7-0xe]^_0x58d10f[_0x40d2b7-0x10];_0x58d10f[_0x40d2b7]=_0x8054fa<<0x1|_0x8054fa>>>0x1f;}var _0x26b24d=(_0x36d75a<<0x5|_0x36d75a>>>0x1b)+_0x57df63+_0x58d10f[_0x40d2b7];_0x40d2b7<0x14?_0x26b24d+=(_0x35c87a&_0x36091d|~_0x35c87a&_0x54970a)+0x5a827999:_0x40d2b7<0x28?_0x26b24d+=(_0x35c87a^_0x36091d^_0x54970a)+0x6ed9eba1:_0x40d2b7<0x3c?_0x26b24d+=(_0x35c87a&_0x36091d|_0x35c87a&_0x54970a|_0x36091d&_0x54970a)-0x70e44324:_0x26b24d+=(_0x35c87a^_0x36091d^_0x54970a)-0x359d3e2a,_0x57df63=_0x54970a,_0x54970a=_0x36091d,_0x36091d=_0x35c87a<<0x1e|_0x35c87a>>>0x2,_0x35c87a=_0x36d75a,_0x36d75a=_0x26b24d;}_0x5ae4a5[0x0]=_0x5ae4a5[0x0]+_0x36d75a|0x0,_0x5ae4a5[0x1]=_0x5ae4a5[0x1]+_0x35c87a|0x0,_0x5ae4a5[0x2]=_0x5ae4a5[0x2]+_0x36091d|0x0,_0x5ae4a5[0x3]=_0x5ae4a5[0x3]+_0x54970a|0x0,_0x5ae4a5[0x4]=_0x5ae4a5[0x4]+_0x57df63|0x0;},'_doFinalize':function(){var _0x5594ab=_0x41e28c,_0x2fdd1f=this[_0x5594ab(0x2db)],_0x9ed36d=_0x2fdd1f[_0x5594ab(0x2d5)],_0x5edbaf=this['_nDataBytes']*0x8,_0x1eb604=_0x2fdd1f[_0x5594ab(0x33c)]*0x8;return _0x9ed36d[_0x1eb604>>>0x5]|=0x80<<0x18-_0x1eb604%0x20,_0x9ed36d[(_0x1eb604+0x40>>>0x9<<0x4)+0xe]=Math[_0x5594ab(0x208)](_0x5edbaf/0x100000000),_0x9ed36d[(_0x1eb604+0x40>>>0x9<<0x4)+0xf]=_0x5edbaf,_0x2fdd1f[_0x5594ab(0x33c)]=_0x9ed36d[_0x5594ab(0x219)]*0x4,this[_0x5594ab(0x1cd)](),this[_0x5594ab(0x3a9)];},'clone':function(){var _0x462368=_0x41e28c,_0x1db9f6=_0x598f2b['clone'][_0x462368(0x2d6)](this);return _0x1db9f6[_0x462368(0x3a9)]=this[_0x462368(0x3a9)][_0x462368(0xd1)](),_0x1db9f6;}});_0x49c79f['SHA1']=_0x598f2b[_0x41e28c(0x349)](_0x17ad6e),_0x49c79f[_0x41e28c(0x2e0)]=_0x598f2b[_0x41e28c(0x179)](_0x17ad6e);}()),_0x596d75[_0x5f3697(0x30f)];}));}(qe)),qe['exports'];}var Je={'exports':{}},Ys=Je[_0xc11182(0x33f)],ni;function qs(){var _0x318e66=_0xc11182;return ni||(ni=0x1,function(_0x1462f2,_0x58e251){(function(_0x374db6,_0x4b2cb3){var _0xd6e5f9=_0x7b62;_0x1462f2[_0xd6e5f9(0x33f)]=_0x4b2cb3(ne());}(Ys,function(_0x105dfd){(function(){var _0x2bd4d4=_0x7b62,_0x2b9a71=_0x105dfd,_0x38f098=_0x2b9a71[_0x2bd4d4(0x1fe)],_0x541c32=_0x38f098['Base'],_0x435464=_0x2b9a71[_0x2bd4d4(0x26b)],_0xed9730=_0x435464[_0x2bd4d4(0x38c)],_0x298518=_0x2b9a71[_0x2bd4d4(0x34c)];_0x298518[_0x2bd4d4(0x286)]=_0x541c32['extend']({'init':function(_0x2b1df4,_0xfd529d){var _0x3e5d0d=_0x2bd4d4;_0x2b1df4=this[_0x3e5d0d(0x10e)]=new _0x2b1df4[(_0x3e5d0d(0xa9))](),typeof _0xfd529d==_0x3e5d0d(0x250)&&(_0xfd529d=_0xed9730[_0x3e5d0d(0x154)](_0xfd529d));var _0x1166ee=_0x2b1df4[_0x3e5d0d(0x2c5)],_0x15102c=_0x1166ee*0x4;_0xfd529d[_0x3e5d0d(0x33c)]>_0x15102c&&(_0xfd529d=_0x2b1df4[_0x3e5d0d(0xaa)](_0xfd529d)),_0xfd529d['clamp']();for(var _0x3d73d7=this['_oKey']=_0xfd529d['clone'](),_0x429212=this[_0x3e5d0d(0x127)]=_0xfd529d[_0x3e5d0d(0xd1)](),_0x336ae8=_0x3d73d7[_0x3e5d0d(0x2d5)],_0x4bfa04=_0x429212[_0x3e5d0d(0x2d5)],_0x4d9e2a=0x0;_0x4d9e2a<_0x1166ee;_0x4d9e2a++)_0x336ae8[_0x4d9e2a]^=0x5c5c5c5c,_0x4bfa04[_0x4d9e2a]^=0x36363636;_0x3d73d7[_0x3e5d0d(0x33c)]=_0x429212[_0x3e5d0d(0x33c)]=_0x15102c,this[_0x3e5d0d(0x328)]();},'reset':function(){var _0x35b689=_0x2bd4d4,_0x3a317f=this[_0x35b689(0x10e)];_0x3a317f['reset'](),_0x3a317f[_0x35b689(0x1cc)](this[_0x35b689(0x127)]);},'update':function(_0x5b1dc2){var _0x7371f7=_0x2bd4d4;return this[_0x7371f7(0x10e)][_0x7371f7(0x1cc)](_0x5b1dc2),this;},'finalize':function(_0x5eb097){var _0x5a0d71=_0x2bd4d4,_0x4f88ff=this[_0x5a0d71(0x10e)],_0x53ebf9=_0x4f88ff[_0x5a0d71(0xaa)](_0x5eb097);_0x4f88ff[_0x5a0d71(0x328)]();var _0x42a3c1=_0x4f88ff[_0x5a0d71(0xaa)](this[_0x5a0d71(0x329)][_0x5a0d71(0xd1)]()[_0x5a0d71(0xc6)](_0x53ebf9));return _0x42a3c1;}});}());}));}(Je)),Je[_0x318e66(0x33f)];}var Js=Ye[_0xc11182(0x33f)],si;function Ai(){var _0x505197=_0xc11182;return si||(si=0x1,function(_0x54cd3b,_0xd50587){(function(_0x79d983,_0x5ed968,_0x190d26){var _0x620751=_0x7b62;_0x54cd3b[_0x620751(0x33f)]=_0x5ed968(ne(),zs(),qs());}(Js,function(_0x52d18b){var _0x475cbd=_0x7b62;return(function(){var _0x5c47b5=_0x7b62,_0x32328c=_0x52d18b,_0x53997b=_0x32328c['lib'],_0x145c03=_0x53997b[_0x5c47b5(0x2b2)],_0x4a5739=_0x53997b['WordArray'],_0x45abcf=_0x32328c['algo'],_0x4647de=_0x45abcf[_0x5c47b5(0x21a)],_0x130f7b=_0x45abcf[_0x5c47b5(0x37d)]=_0x145c03[_0x5c47b5(0x15d)]({'cfg':_0x145c03[_0x5c47b5(0x15d)]({'keySize':0x80/0x20,'hasher':_0x4647de,'iterations':0x1}),'init':function(_0x54518e){var _0x3b6bc8=_0x5c47b5;this[_0x3b6bc8(0x331)]=this[_0x3b6bc8(0x331)][_0x3b6bc8(0x15d)](_0x54518e);},'compute':function(_0x506c11,_0x5a821a){var _0x1c4c69=_0x5c47b5;for(var _0x1a7ee9,_0x10fc55=this[_0x1c4c69(0x331)],_0x5e654b=_0x10fc55[_0x1c4c69(0x383)][_0x1c4c69(0x231)](),_0x303757=_0x4a5739['create'](),_0x417a17=_0x303757['words'],_0x3dd484=_0x10fc55[_0x1c4c69(0xc4)],_0x118008=_0x10fc55['iterations'];_0x417a17[_0x1c4c69(0x219)]<_0x3dd484;){_0x1a7ee9&&_0x5e654b[_0x1c4c69(0x1cc)](_0x1a7ee9),_0x1a7ee9=_0x5e654b[_0x1c4c69(0x1cc)](_0x506c11)[_0x1c4c69(0xaa)](_0x5a821a),_0x5e654b['reset']();for(var _0x373c47=0x1;_0x373c47<_0x118008;_0x373c47++)_0x1a7ee9=_0x5e654b['finalize'](_0x1a7ee9),_0x5e654b['reset']();_0x303757[_0x1c4c69(0xc6)](_0x1a7ee9);}return _0x303757['sigBytes']=_0x3dd484*0x4,_0x303757;}});_0x32328c[_0x5c47b5(0x37d)]=function(_0x323659,_0x408503,_0x1413c5){var _0x934935=_0x5c47b5;return _0x130f7b[_0x934935(0x231)](_0x1413c5)[_0x934935(0x376)](_0x323659,_0x408503);};}()),_0x52d18b[_0x475cbd(0x37d)];}));}(Ye)),Ye[_0x505197(0x33f)];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){var _0x19b19b=_0xc11182;return ri||(ri=0x1,function(_0x37eda2,_0x261608){(function(_0x39c757,_0xa3504,_0x4f9e50){var _0x59fa77=_0x7b62;_0x37eda2[_0x59fa77(0x33f)]=_0xa3504(ne(),Ai());}(Xs,function(_0x451e77){var _0x145354=_0x7b62;_0x451e77[_0x145354(0x1fe)]['Cipher']||function(_0x18d463){var _0x59c5c7=_0x145354,_0xa9a1b0=_0x451e77,_0xa24408=_0xa9a1b0[_0x59c5c7(0x1fe)],_0x3ae5d6=_0xa24408[_0x59c5c7(0x2b2)],_0x29dd8d=_0xa24408[_0x59c5c7(0x15c)],_0x1d2fca=_0xa24408['BufferedBlockAlgorithm'],_0x3c348f=_0xa9a1b0[_0x59c5c7(0x26b)];_0x3c348f[_0x59c5c7(0x38c)];var _0x4d4f1f=_0x3c348f[_0x59c5c7(0x347)],_0xe6d5aa=_0xa9a1b0['algo'],_0x271df5=_0xe6d5aa[_0x59c5c7(0x37d)],_0x160640=_0xa24408[_0x59c5c7(0x382)]=_0x1d2fca['extend']({'cfg':_0x3ae5d6[_0x59c5c7(0x15d)](),'createEncryptor':function(_0x177285,_0x21233e){return this['create'](this['_ENC_XFORM_MODE'],_0x177285,_0x21233e);},'createDecryptor':function(_0x44adee,_0x3cfc21){var _0x2ac03b=_0x59c5c7;return this[_0x2ac03b(0x231)](this[_0x2ac03b(0x2e9)],_0x44adee,_0x3cfc21);},'init':function(_0x344d90,_0x3deda0,_0x156d81){var _0x2def02=_0x59c5c7;this[_0x2def02(0x331)]=this[_0x2def02(0x331)][_0x2def02(0x15d)](_0x156d81),this[_0x2def02(0xac)]=_0x344d90,this[_0x2def02(0x2b6)]=_0x3deda0,this['reset']();},'reset':function(){var _0x25def6=_0x59c5c7;_0x1d2fca['reset'][_0x25def6(0x2d6)](this),this[_0x25def6(0x338)]();},'process':function(_0x2c4157){var _0x435385=_0x59c5c7;return this[_0x435385(0x1b5)](_0x2c4157),this[_0x435385(0x1cd)]();},'finalize':function(_0x216fd2){var _0x5800bb=_0x59c5c7;_0x216fd2&&this[_0x5800bb(0x1b5)](_0x216fd2);var _0x40f6f0=this[_0x5800bb(0x218)]();return _0x40f6f0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2f6ea9(_0x323e48){var _0x7f312c=_0x7b62;return typeof _0x323e48==_0x7f312c(0x250)?_0x146281:_0x3f8ca3;}return function(_0x41d803){return{'encrypt':function(_0x54e775,_0x32a4c4,_0x4e5968){var _0x2e32a7=_0x7b62;return _0x2f6ea9(_0x32a4c4)[_0x2e32a7(0x3ab)](_0x41d803,_0x54e775,_0x32a4c4,_0x4e5968);},'decrypt':function(_0x373f10,_0x33eb3a,_0x37ca7e){var _0xd9b502=_0x7b62;return _0x2f6ea9(_0x33eb3a)[_0xd9b502(0x24c)](_0x41d803,_0x373f10,_0x33eb3a,_0x37ca7e);}};};}())});_0xa24408[_0x59c5c7(0x263)]=_0x160640[_0x59c5c7(0x15d)]({'_doFinalize':function(){var _0x1b11a0=this['_process'](!0x0);return _0x1b11a0;},'blockSize':0x1});var _0x2c8729=_0xa9a1b0[_0x59c5c7(0x10d)]={},_0x649cf=_0xa24408['BlockCipherMode']=_0x3ae5d6[_0x59c5c7(0x15d)]({'createEncryptor':function(_0x22e17b,_0x231f67){var _0x2b4d8a=_0x59c5c7;return this[_0x2b4d8a(0x2b7)][_0x2b4d8a(0x231)](_0x22e17b,_0x231f67);},'createDecryptor':function(_0x4eaa6c,_0x3bec8f){var _0x2f6bb4=_0x59c5c7;return this[_0x2f6bb4(0x2ac)]['create'](_0x4eaa6c,_0x3bec8f);},'init':function(_0x556cbc,_0x3d636d){var _0x2fd744=_0x59c5c7;this[_0x2fd744(0x3aa)]=_0x556cbc,this[_0x2fd744(0x2e2)]=_0x3d636d;}}),_0x702fa4=_0x2c8729['CBC']=(function(){var _0x2f8c10=_0x59c5c7,_0x1cbbd9=_0x649cf[_0x2f8c10(0x15d)]();_0x1cbbd9['Encryptor']=_0x1cbbd9[_0x2f8c10(0x15d)]({'processBlock':function(_0x2b0e44,_0x3187af){var _0x1e1bfc=_0x2f8c10,_0xfea76b=this['_cipher'],_0x53b121=_0xfea76b[_0x1e1bfc(0x2c5)];_0x38e445[_0x1e1bfc(0x2d6)](this,_0x2b0e44,_0x3187af,_0x53b121),_0xfea76b[_0x1e1bfc(0x264)](_0x2b0e44,_0x3187af),this[_0x1e1bfc(0x117)]=_0x2b0e44[_0x1e1bfc(0x1fd)](_0x3187af,_0x3187af+_0x53b121);}}),_0x1cbbd9[_0x2f8c10(0x2ac)]=_0x1cbbd9['extend']({'processBlock':function(_0x18f33d,_0x2baf44){var _0x473910=_0x2f8c10,_0x5e8b9f=this[_0x473910(0x3aa)],_0x15ab2a=_0x5e8b9f[_0x473910(0x2c5)],_0x429a0c=_0x18f33d[_0x473910(0x1fd)](_0x2baf44,_0x2baf44+_0x15ab2a);_0x5e8b9f[_0x473910(0x101)](_0x18f33d,_0x2baf44),_0x38e445[_0x473910(0x2d6)](this,_0x18f33d,_0x2baf44,_0x15ab2a),this[_0x473910(0x117)]=_0x429a0c;}});function _0x38e445(_0x57514c,_0x2b7e10,_0x258b69){var _0x7c2127=_0x2f8c10,_0x364808,_0x57987f=this[_0x7c2127(0x2e2)];_0x57987f?(_0x364808=_0x57987f,this['_iv']=_0x18d463):_0x364808=this[_0x7c2127(0x117)];for(var _0x1e3663=0x0;_0x1e3663<_0x258b69;_0x1e3663++)_0x57514c[_0x2b7e10+_0x1e3663]^=_0x364808[_0x1e3663];}return _0x1cbbd9;}()),_0x3a63ca=_0xa9a1b0[_0x59c5c7(0x292)]={},_0x4dd317=_0x3a63ca[_0x59c5c7(0x143)]={'pad':function(_0x47c06a,_0x46d970){var _0xdd1cc2=_0x59c5c7;for(var _0x26b372=_0x46d970*0x4,_0x4794ee=_0x26b372-_0x47c06a[_0xdd1cc2(0x33c)]%_0x26b372,_0x3cebed=_0x4794ee<<0x18|_0x4794ee<<0x10|_0x4794ee<<0x8|_0x4794ee,_0x2f690a=[],_0x567e74=0x0;_0x567e74<_0x4794ee;_0x567e74+=0x4)_0x2f690a[_0xdd1cc2(0xfd)](_0x3cebed);var _0x44f6b6=_0x29dd8d['create'](_0x2f690a,_0x4794ee);_0x47c06a[_0xdd1cc2(0xc6)](_0x44f6b6);},'unpad':function(_0x524284){var _0x2423c4=_0x59c5c7,_0x3cd842=_0x524284[_0x2423c4(0x2d5)][_0x524284[_0x2423c4(0x33c)]-0x1>>>0x2]&0xff;_0x524284['sigBytes']-=_0x3cd842;}};_0xa24408[_0x59c5c7(0x149)]=_0x160640[_0x59c5c7(0x15d)]({'cfg':_0x160640[_0x59c5c7(0x331)][_0x59c5c7(0x15d)]({'mode':_0x702fa4,'padding':_0x4dd317}),'reset':function(){var _0x26429d=_0x59c5c7,_0x1aca30;_0x160640[_0x26429d(0x328)]['call'](this);var _0x5083fd=this[_0x26429d(0x331)],_0x1eef15=_0x5083fd['iv'],_0x4b8b6e=_0x5083fd['mode'];this[_0x26429d(0xac)]==this[_0x26429d(0x1c0)]?_0x1aca30=_0x4b8b6e[_0x26429d(0x363)]:(_0x1aca30=_0x4b8b6e[_0x26429d(0x22c)],this[_0x26429d(0xe6)]=0x1),this[_0x26429d(0xc9)]&&this[_0x26429d(0xc9)]['__creator']==_0x1aca30?this[_0x26429d(0xc9)]['init'](this,_0x1eef15&&_0x1eef15[_0x26429d(0x2d5)]):(this[_0x26429d(0xc9)]=_0x1aca30['call'](_0x4b8b6e,this,_0x1eef15&&_0x1eef15[_0x26429d(0x2d5)]),this[_0x26429d(0xc9)][_0x26429d(0x2d9)]=_0x1aca30);},'_doProcessBlock':function(_0x21f5b3,_0x3ab347){var _0x4b659f=_0x59c5c7;this['_mode'][_0x4b659f(0x384)](_0x21f5b3,_0x3ab347);},'_doFinalize':function(){var _0x1745d2=_0x59c5c7,_0xebf706,_0x40bd25=this['cfg']['padding'];return this[_0x1745d2(0xac)]==this['_ENC_XFORM_MODE']?(_0x40bd25[_0x1745d2(0x292)](this[_0x1745d2(0x2db)],this[_0x1745d2(0x2c5)]),_0xebf706=this[_0x1745d2(0x1cd)](!0x0)):(_0xebf706=this[_0x1745d2(0x1cd)](!0x0),_0x40bd25['unpad'](_0xebf706)),_0xebf706;},'blockSize':0x80/0x20});var _0x2c291d=_0xa24408[_0x59c5c7(0x176)]=_0x3ae5d6['extend']({'init':function(_0x5018ac){var _0x2e8228=_0x59c5c7;this[_0x2e8228(0x10c)](_0x5018ac);},'toString':function(_0x4984aa){return(_0x4984aa||this['formatter'])['stringify'](this);}}),_0x33ee34=_0xa9a1b0[_0x59c5c7(0x2ec)]={},_0x52b33f=_0x33ee34['OpenSSL']={'stringify':function(_0x55cee2){var _0x1e466f=_0x59c5c7,_0x5da05e,_0x2d9d80=_0x55cee2[_0x1e466f(0x380)],_0x96d2b9=_0x55cee2[_0x1e466f(0x365)];return _0x96d2b9?_0x5da05e=_0x29dd8d[_0x1e466f(0x231)]([0x53616c74,0x65645f5f])[_0x1e466f(0xc6)](_0x96d2b9)[_0x1e466f(0xc6)](_0x2d9d80):_0x5da05e=_0x2d9d80,_0x5da05e['toString'](_0x4d4f1f);},'parse':function(_0x125bae){var _0x43cc02=_0x59c5c7,_0x1c0983,_0x9ce650=_0x4d4f1f[_0x43cc02(0x154)](_0x125bae),_0x4ebe56=_0x9ce650[_0x43cc02(0x2d5)];return _0x4ebe56[0x0]==0x53616c74&&_0x4ebe56[0x1]==0x65645f5f&&(_0x1c0983=_0x29dd8d[_0x43cc02(0x231)](_0x4ebe56[_0x43cc02(0x1fd)](0x2,0x4)),_0x4ebe56[_0x43cc02(0x37f)](0x0,0x4),_0x9ce650['sigBytes']-=0x10),_0x2c291d[_0x43cc02(0x231)]({'ciphertext':_0x9ce650,'salt':_0x1c0983});}},_0x3f8ca3=_0xa24408[_0x59c5c7(0x26d)]=_0x3ae5d6[_0x59c5c7(0x15d)]({'cfg':_0x3ae5d6[_0x59c5c7(0x15d)]({'format':_0x52b33f}),'encrypt':function(_0x3ba0a2,_0x3d5bf5,_0x17f992,_0x27b434){var _0x1bfc55=_0x59c5c7;_0x27b434=this['cfg']['extend'](_0x27b434);var _0xa84f43=_0x3ba0a2[_0x1bfc55(0x363)](_0x17f992,_0x27b434),_0x4dd1f7=_0xa84f43[_0x1bfc55(0xaa)](_0x3d5bf5),_0x5a4e63=_0xa84f43[_0x1bfc55(0x331)];return _0x2c291d[_0x1bfc55(0x231)]({'ciphertext':_0x4dd1f7,'key':_0x17f992,'iv':_0x5a4e63['iv'],'algorithm':_0x3ba0a2,'mode':_0x5a4e63[_0x1bfc55(0x10d)],'padding':_0x5a4e63[_0x1bfc55(0x200)],'blockSize':_0x3ba0a2['blockSize'],'formatter':_0x27b434[_0x1bfc55(0x2ec)]});},'decrypt':function(_0x370ddd,_0x25c5e2,_0xd159b5,_0x52af04){var _0x43c897=_0x59c5c7;_0x52af04=this[_0x43c897(0x331)]['extend'](_0x52af04),_0x25c5e2=this[_0x43c897(0x3a3)](_0x25c5e2,_0x52af04['format']);var _0x4c7354=_0x370ddd[_0x43c897(0x22c)](_0xd159b5,_0x52af04)[_0x43c897(0xaa)](_0x25c5e2[_0x43c897(0x380)]);return _0x4c7354;},'_parse':function(_0x248f7f,_0x4ece12){var _0x3bc5b0=_0x59c5c7;return typeof _0x248f7f==_0x3bc5b0(0x250)?_0x4ece12[_0x3bc5b0(0x154)](_0x248f7f,this):_0x248f7f;}}),_0x5c8118=_0xa9a1b0[_0x59c5c7(0x1e2)]={},_0xda0895=_0x5c8118[_0x59c5c7(0x1ac)]={'execute':function(_0x5f1c62,_0x4b6d2d,_0x2a0fbd,_0x3eb40b,_0x3daf89){var _0x1a2fe2=_0x59c5c7;if(_0x3eb40b||(_0x3eb40b=_0x29dd8d[_0x1a2fe2(0x2f5)](0x40/0x8)),_0x3daf89)var _0x879296=_0x271df5[_0x1a2fe2(0x231)]({'keySize':_0x4b6d2d+_0x2a0fbd,'hasher':_0x3daf89})['compute'](_0x5f1c62,_0x3eb40b);else var _0x879296=_0x271df5[_0x1a2fe2(0x231)]({'keySize':_0x4b6d2d+_0x2a0fbd})['compute'](_0x5f1c62,_0x3eb40b);var _0x1dd5b0=_0x29dd8d[_0x1a2fe2(0x231)](_0x879296[_0x1a2fe2(0x2d5)][_0x1a2fe2(0x1fd)](_0x4b6d2d),_0x2a0fbd*0x4);return _0x879296[_0x1a2fe2(0x33c)]=_0x4b6d2d*0x4,_0x2c291d['create']({'key':_0x879296,'iv':_0x1dd5b0,'salt':_0x3eb40b});}},_0x146281=_0xa24408[_0x59c5c7(0x313)]=_0x3f8ca3[_0x59c5c7(0x15d)]({'cfg':_0x3f8ca3[_0x59c5c7(0x331)]['extend']({'kdf':_0xda0895}),'encrypt':function(_0x57ebab,_0x49d001,_0x222a86,_0x22e96c){var _0x4a11c5=_0x59c5c7;_0x22e96c=this[_0x4a11c5(0x331)][_0x4a11c5(0x15d)](_0x22e96c);var _0x5a4521=_0x22e96c[_0x4a11c5(0x1e2)][_0x4a11c5(0x31d)](_0x222a86,_0x57ebab['keySize'],_0x57ebab[_0x4a11c5(0x140)],_0x22e96c[_0x4a11c5(0x365)],_0x22e96c[_0x4a11c5(0x383)]);_0x22e96c['iv']=_0x5a4521['iv'];var _0x480b93=_0x3f8ca3['encrypt'][_0x4a11c5(0x2d6)](this,_0x57ebab,_0x49d001,_0x5a4521['key'],_0x22e96c);return _0x480b93[_0x4a11c5(0x10c)](_0x5a4521),_0x480b93;},'decrypt':function(_0x1a0b33,_0x343f11,_0x2da609,_0x37c7df){var _0x49742f=_0x59c5c7;_0x37c7df=this['cfg']['extend'](_0x37c7df),_0x343f11=this['_parse'](_0x343f11,_0x37c7df[_0x49742f(0x2ec)]);var _0x31f49f=_0x37c7df[_0x49742f(0x1e2)]['execute'](_0x2da609,_0x1a0b33[_0x49742f(0xc4)],_0x1a0b33[_0x49742f(0x140)],_0x343f11[_0x49742f(0x365)],_0x37c7df[_0x49742f(0x383)]);_0x37c7df['iv']=_0x31f49f['iv'];var _0x52451e=_0x3f8ca3['decrypt'][_0x49742f(0x2d6)](this,_0x1a0b33,_0x343f11,_0x31f49f[_0x49742f(0x371)],_0x37c7df);return _0x52451e;}});}();}));}(Xe)),Xe[_0x19b19b(0x33f)];}var Zs=We['exports'],oi;function Qs(){var _0x46398a=_0xc11182;return oi||(oi=0x1,function(_0x1029a3,_0x54ae66){(function(_0x3d7431,_0x580a21,_0x20d0c7){_0x1029a3['exports']=_0x580a21(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x522091){var _0x147c53=_0x7b62;return(function(){var _0x1cb69e=_0x7b62,_0x48ef47=_0x522091,_0x156c67=_0x48ef47[_0x1cb69e(0x1fe)],_0x442a00=_0x156c67[_0x1cb69e(0x149)],_0xf66904=_0x48ef47[_0x1cb69e(0x34c)],_0x3dcaf4=[],_0x47f3ff=[],_0x25369f=[],_0x49ee22=[],_0x4d70ed=[],_0x4212dd=[],_0xb64348=[],_0x52ca8=[],_0x2e006e=[],_0x37bb1c=[];(function(){for(var _0x19f878=[],_0x39870e=0x0;_0x39870e<0x100;_0x39870e++)_0x39870e<0x80?_0x19f878[_0x39870e]=_0x39870e<<0x1:_0x19f878[_0x39870e]=_0x39870e<<0x1^0x11b;for(var _0x4a12b7=0x0,_0x525bc6=0x0,_0x39870e=0x0;_0x39870e<0x100;_0x39870e++){var _0x43f80f=_0x525bc6^_0x525bc6<<0x1^_0x525bc6<<0x2^_0x525bc6<<0x3^_0x525bc6<<0x4;_0x43f80f=_0x43f80f>>>0x8^_0x43f80f&0xff^0x63,_0x3dcaf4[_0x4a12b7]=_0x43f80f,_0x47f3ff[_0x43f80f]=_0x4a12b7;var _0x2d03fb=_0x19f878[_0x4a12b7],_0x19101f=_0x19f878[_0x2d03fb],_0x3da56c=_0x19f878[_0x19101f],_0x3b49fb=_0x19f878[_0x43f80f]*0x101^_0x43f80f*0x1010100;_0x25369f[_0x4a12b7]=_0x3b49fb<<0x18|_0x3b49fb>>>0x8,_0x49ee22[_0x4a12b7]=_0x3b49fb<<0x10|_0x3b49fb>>>0x10,_0x4d70ed[_0x4a12b7]=_0x3b49fb<<0x8|_0x3b49fb>>>0x18,_0x4212dd[_0x4a12b7]=_0x3b49fb;var _0x3b49fb=_0x3da56c*0x1010101^_0x19101f*0x10001^_0x2d03fb*0x101^_0x4a12b7*0x1010100;_0xb64348[_0x43f80f]=_0x3b49fb<<0x18|_0x3b49fb>>>0x8,_0x52ca8[_0x43f80f]=_0x3b49fb<<0x10|_0x3b49fb>>>0x10,_0x2e006e[_0x43f80f]=_0x3b49fb<<0x8|_0x3b49fb>>>0x18,_0x37bb1c[_0x43f80f]=_0x3b49fb,_0x4a12b7?(_0x4a12b7=_0x2d03fb^_0x19f878[_0x19f878[_0x19f878[_0x3da56c^_0x2d03fb]]],_0x525bc6^=_0x19f878[_0x19f878[_0x525bc6]]):_0x4a12b7=_0x525bc6=0x1;}}());var _0x3b825e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x507378=_0xf66904[_0x1cb69e(0x352)]=_0x442a00[_0x1cb69e(0x15d)]({'_doReset':function(){var _0x5cdbde=_0x1cb69e,_0x4fce26;if(!(this[_0x5cdbde(0x33b)]&&this['_keyPriorReset']===this[_0x5cdbde(0x2b6)])){for(var _0x2d89b6=this[_0x5cdbde(0x28c)]=this[_0x5cdbde(0x2b6)],_0x287990=_0x2d89b6['words'],_0x55dcbb=_0x2d89b6[_0x5cdbde(0x33c)]/0x4,_0x5ca8b0=this[_0x5cdbde(0x33b)]=_0x55dcbb+0x6,_0x532d90=(_0x5ca8b0+0x1)*0x4,_0x58eccd=this[_0x5cdbde(0x152)]=[],_0x5534fa=0x0;_0x5534fa<_0x532d90;_0x5534fa++)_0x5534fa<_0x55dcbb?_0x58eccd[_0x5534fa]=_0x287990[_0x5534fa]:(_0x4fce26=_0x58eccd[_0x5534fa-0x1],_0x5534fa%_0x55dcbb?_0x55dcbb>0x6&&_0x5534fa%_0x55dcbb==0x4&&(_0x4fce26=_0x3dcaf4[_0x4fce26>>>0x18]<<0x18|_0x3dcaf4[_0x4fce26>>>0x10&0xff]<<0x10|_0x3dcaf4[_0x4fce26>>>0x8&0xff]<<0x8|_0x3dcaf4[_0x4fce26&0xff]):(_0x4fce26=_0x4fce26<<0x8|_0x4fce26>>>0x18,_0x4fce26=_0x3dcaf4[_0x4fce26>>>0x18]<<0x18|_0x3dcaf4[_0x4fce26>>>0x10&0xff]<<0x10|_0x3dcaf4[_0x4fce26>>>0x8&0xff]<<0x8|_0x3dcaf4[_0x4fce26&0xff],_0x4fce26^=_0x3b825e[_0x5534fa/_0x55dcbb|0x0]<<0x18),_0x58eccd[_0x5534fa]=_0x58eccd[_0x5534fa-_0x55dcbb]^_0x4fce26);for(var _0x38f879=this[_0x5cdbde(0xda)]=[],_0x9dc4e6=0x0;_0x9dc4e6<_0x532d90;_0x9dc4e6++){var _0x5534fa=_0x532d90-_0x9dc4e6;if(_0x9dc4e6%0x4)var _0x4fce26=_0x58eccd[_0x5534fa];else var _0x4fce26=_0x58eccd[_0x5534fa-0x4];_0x9dc4e6<0x4||_0x5534fa<=0x4?_0x38f879[_0x9dc4e6]=_0x4fce26:_0x38f879[_0x9dc4e6]=_0xb64348[_0x3dcaf4[_0x4fce26>>>0x18]]^_0x52ca8[_0x3dcaf4[_0x4fce26>>>0x10&0xff]]^_0x2e006e[_0x3dcaf4[_0x4fce26>>>0x8&0xff]]^_0x37bb1c[_0x3dcaf4[_0x4fce26&0xff]];}}},'encryptBlock':function(_0x57069b,_0xd3f2b1){var _0x1d5702=_0x1cb69e;this['_doCryptBlock'](_0x57069b,_0xd3f2b1,this[_0x1d5702(0x152)],_0x25369f,_0x49ee22,_0x4d70ed,_0x4212dd,_0x3dcaf4);},'decryptBlock':function(_0x14e32c,_0x35e3cb){var _0x4df645=_0x1cb69e,_0x41378b=_0x14e32c[_0x35e3cb+0x1];_0x14e32c[_0x35e3cb+0x1]=_0x14e32c[_0x35e3cb+0x3],_0x14e32c[_0x35e3cb+0x3]=_0x41378b,this['_doCryptBlock'](_0x14e32c,_0x35e3cb,this[_0x4df645(0xda)],_0xb64348,_0x52ca8,_0x2e006e,_0x37bb1c,_0x47f3ff);var _0x41378b=_0x14e32c[_0x35e3cb+0x1];_0x14e32c[_0x35e3cb+0x1]=_0x14e32c[_0x35e3cb+0x3],_0x14e32c[_0x35e3cb+0x3]=_0x41378b;},'_doCryptBlock':function(_0x4551e6,_0xfefbeb,_0x48ab30,_0x4615fa,_0x5ef14e,_0x425ada,_0x156aef,_0xb2ee1b){var _0xaecd7b=_0x1cb69e;for(var _0x2ed597=this[_0xaecd7b(0x33b)],_0x4e1a0a=_0x4551e6[_0xfefbeb]^_0x48ab30[0x0],_0x478065=_0x4551e6[_0xfefbeb+0x1]^_0x48ab30[0x1],_0x5e3bd4=_0x4551e6[_0xfefbeb+0x2]^_0x48ab30[0x2],_0x180864=_0x4551e6[_0xfefbeb+0x3]^_0x48ab30[0x3],_0x17e52e=0x4,_0x5bab33=0x1;_0x5bab33<_0x2ed597;_0x5bab33++){var _0x3a9827=_0x4615fa[_0x4e1a0a>>>0x18]^_0x5ef14e[_0x478065>>>0x10&0xff]^_0x425ada[_0x5e3bd4>>>0x8&0xff]^_0x156aef[_0x180864&0xff]^_0x48ab30[_0x17e52e++],_0x77aced=_0x4615fa[_0x478065>>>0x18]^_0x5ef14e[_0x5e3bd4>>>0x10&0xff]^_0x425ada[_0x180864>>>0x8&0xff]^_0x156aef[_0x4e1a0a&0xff]^_0x48ab30[_0x17e52e++],_0x1df8c1=_0x4615fa[_0x5e3bd4>>>0x18]^_0x5ef14e[_0x180864>>>0x10&0xff]^_0x425ada[_0x4e1a0a>>>0x8&0xff]^_0x156aef[_0x478065&0xff]^_0x48ab30[_0x17e52e++],_0x2bd51b=_0x4615fa[_0x180864>>>0x18]^_0x5ef14e[_0x4e1a0a>>>0x10&0xff]^_0x425ada[_0x478065>>>0x8&0xff]^_0x156aef[_0x5e3bd4&0xff]^_0x48ab30[_0x17e52e++];_0x4e1a0a=_0x3a9827,_0x478065=_0x77aced,_0x5e3bd4=_0x1df8c1,_0x180864=_0x2bd51b;}var _0x3a9827=(_0xb2ee1b[_0x4e1a0a>>>0x18]<<0x18|_0xb2ee1b[_0x478065>>>0x10&0xff]<<0x10|_0xb2ee1b[_0x5e3bd4>>>0x8&0xff]<<0x8|_0xb2ee1b[_0x180864&0xff])^_0x48ab30[_0x17e52e++],_0x77aced=(_0xb2ee1b[_0x478065>>>0x18]<<0x18|_0xb2ee1b[_0x5e3bd4>>>0x10&0xff]<<0x10|_0xb2ee1b[_0x180864>>>0x8&0xff]<<0x8|_0xb2ee1b[_0x4e1a0a&0xff])^_0x48ab30[_0x17e52e++],_0x1df8c1=(_0xb2ee1b[_0x5e3bd4>>>0x18]<<0x18|_0xb2ee1b[_0x180864>>>0x10&0xff]<<0x10|_0xb2ee1b[_0x4e1a0a>>>0x8&0xff]<<0x8|_0xb2ee1b[_0x478065&0xff])^_0x48ab30[_0x17e52e++],_0x2bd51b=(_0xb2ee1b[_0x180864>>>0x18]<<0x18|_0xb2ee1b[_0x4e1a0a>>>0x10&0xff]<<0x10|_0xb2ee1b[_0x478065>>>0x8&0xff]<<0x8|_0xb2ee1b[_0x5e3bd4&0xff])^_0x48ab30[_0x17e52e++];_0x4551e6[_0xfefbeb]=_0x3a9827,_0x4551e6[_0xfefbeb+0x1]=_0x77aced,_0x4551e6[_0xfefbeb+0x2]=_0x1df8c1,_0x4551e6[_0xfefbeb+0x3]=_0x2bd51b;},'keySize':0x100/0x20});_0x48ef47[_0x1cb69e(0x352)]=_0x442a00['_createHelper'](_0x507378);}()),_0x522091[_0x147c53(0x352)];}));}(We)),We[_0x46398a(0x33f)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0xc11182(0x33f)],ci;function sr(){var _0x4b6440=_0xc11182;return ci||(ci=0x1,function(_0xba8b72,_0x39ed8e){(function(_0x18a9c9,_0x115135){var _0x388056=_0x7b62;_0xba8b72[_0x388056(0x33f)]=_0x115135(ne());}(nr,function(_0x194566){var _0x16ff42=_0x7b62;return _0x194566['enc'][_0x16ff42(0x38c)];}));}(Ze)),Ze[_0x4b6440(0x33f)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe['exports'],hi;function cr(){var _0x306ebb=_0xc11182;return hi||(hi=0x1,function(_0x1aad11,_0x3dc099){(function(_0x40ef37,_0x2ca860){_0x1aad11['exports']=_0x2ca860(ne());}(ar,function(_0x1d7d1a){var _0x1775f9=_0x7b62;return(function(){var _0xca53b7=_0x7b62;if(typeof ArrayBuffer=='function'){var _0x3e1c5a=_0x1d7d1a,_0x842388=_0x3e1c5a[_0xca53b7(0x1fe)],_0x279793=_0x842388['WordArray'],_0x22fcd0=_0x279793[_0xca53b7(0xa9)],_0xf1d28d=_0x279793[_0xca53b7(0xa9)]=function(_0x239318){var _0x2212cc=_0xca53b7;if(_0x239318 instanceof ArrayBuffer&&(_0x239318=new Uint8Array(_0x239318)),(_0x239318 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x239318 instanceof Uint8ClampedArray||_0x239318 instanceof Int16Array||_0x239318 instanceof Uint16Array||_0x239318 instanceof Int32Array||_0x239318 instanceof Uint32Array||_0x239318 instanceof Float32Array||_0x239318 instanceof Float64Array)&&(_0x239318=new Uint8Array(_0x239318[_0x2212cc(0xd7)],_0x239318[_0x2212cc(0x17e)],_0x239318['byteLength'])),_0x239318 instanceof Uint8Array){for(var _0x5d22e7=_0x239318[_0x2212cc(0x19c)],_0xf45065=[],_0x1a708b=0x0;_0x1a708b<_0x5d22e7;_0x1a708b++)_0xf45065[_0x1a708b>>>0x2]|=_0x239318[_0x1a708b]<<0x18-_0x1a708b%0x4*0x8;_0x22fcd0[_0x2212cc(0x2d6)](this,_0xf45065,_0x5d22e7);}else _0x22fcd0['apply'](this,arguments);};_0xf1d28d[_0xca53b7(0x184)]=_0x279793;}}()),_0x1d7d1a['lib'][_0x1775f9(0x15c)];}));}(Qe)),Qe[_0x306ebb(0x33f)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x265b29=_0xc11182;return _i||(_i=0x1,function(_0x3ce98d,_0xf16ba2){(function(_0x15c4d6,_0x2e4b4d,_0x4bb390){var _0x290753=_0x7b62;_0x3ce98d[_0x290753(0x33f)]=_0x2e4b4d(ne(),xi());}(lr,function(_0x37c1f9){var _0x5611ca=_0x7b62;return _0x37c1f9[_0x5611ca(0x292)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x37c1f9[_0x5611ca(0x292)][_0x5611ca(0x2d2)];}));}(et)),et[_0x265b29(0x33f)];}var dr=ur();const fr=ke(dr);function vr(_0x5eb240,_0x48db33){var _0x44233b=_0xc11182;const _0x5502d7=_0x48db33-_0x5eb240[_0x44233b(0x219)]%_0x48db33,_0x5797a3=String[_0x44233b(0x270)](_0x5502d7)[_0x44233b(0x318)](_0x5502d7);return _0x5eb240+_0x5797a3;}function pr(_0x38d9fc,_0x44ee6f){var _0x50236b=_0xc11182;const _0x218b2a=_r[_0x50236b(0x2f5)](0x10),_0xf16322=vr(_0x38d9fc,0x10),_0x5678b6=tr[_0x50236b(0x3ab)](or[_0x50236b(0x154)](_0xf16322),ai['parse'](_0x44ee6f),{'iv':_0x218b2a,'padding':fr});return _0x218b2a[_0x50236b(0xc6)](_0x5678b6['ciphertext'])['toString'](ai);}function mr(){var _0x14eadb=_0xc11182;const _0x898d4f=_0x4a603a()['__Key__'];if(_0x898d4f){const _0x505307={'time':Math['floor'](Date[_0x14eadb(0x26c)]()/0x3e8),'domain':location[_0x14eadb(0x2e6)]};return pr(JSON['stringify'](_0x505307),_0x898d4f);}}var gr=Object[_0xc11182(0x1fb)],Sr=Object[_0xc11182(0x1ef)],Er=(_0xf01285,_0x2fd049,_0x1da18d,_0x264fbd)=>{var _0x1d63fc=_0xc11182;for(var _0x1cc859=_0x264fbd>0x1?void 0x0:_0x264fbd?Sr(_0x2fd049,_0x1da18d):_0x2fd049,_0x2f1685=_0xf01285[_0x1d63fc(0x219)]-0x1,_0x556413;_0x2f1685>=0x0;_0x2f1685--)(_0x556413=_0xf01285[_0x2f1685])&&(_0x1cc859=(_0x264fbd?_0x556413(_0x2fd049,_0x1da18d,_0x1cc859):_0x556413(_0x1cc859))||_0x1cc859);return _0x264fbd&&_0x1cc859&&gr(_0x2fd049,_0x1da18d,_0x1cc859),_0x1cc859;},Ir=(_0x13c5b0,_0xfafc7)=>(_0xcee021,_0x371f6b)=>_0xfafc7(_0xcee021,_0x371f6b,_0x13c5b0);let at=class{constructor(_0xaa198b){var _0x4e68d8=_0xc11182;this[_0x4e68d8(0x2f9)]=_0xaa198b,this['_initRequestHeader']();}[_0xc11182(0x253)](){var _0x962b0a=_0xc11182;this['_httpService'][_0x962b0a(0x1c4)]({'interceptor':(_0x3a6eb2,_0x5142b7)=>{var _0x38aa01=_0x962b0a;const _0x38bc10=_0x3a6eb2[_0x38aa01(0x14b)],_0x51711a=mr();return _0x51711a&&_0x38bc10[_0x38aa01(0x1eb)](_0x38aa01(0x215),_0x51711a),_0x5142b7(_0x3a6eb2);}});}};at=Er([Ir(0x0,_0x2d4781(_0x4b66e4))],at);var Tr=Object[_0xc11182(0x1fb)],Cr=Object[_0xc11182(0x1ef)],br=(_0x519eaa,_0x1c6381,_0x173049,_0x306d2e)=>{var _0x773a01=_0xc11182;for(var _0x136c7e=_0x306d2e>0x1?void 0x0:_0x306d2e?Cr(_0x1c6381,_0x173049):_0x1c6381,_0x193d95=_0x519eaa[_0x773a01(0x219)]-0x1,_0x2f96a1;_0x193d95>=0x0;_0x193d95--)(_0x2f96a1=_0x519eaa[_0x193d95])&&(_0x136c7e=(_0x306d2e?_0x2f96a1(_0x1c6381,_0x173049,_0x136c7e):_0x2f96a1(_0x136c7e))||_0x136c7e);return _0x306d2e&&_0x136c7e&&Tr(_0x1c6381,_0x173049,_0x136c7e),_0x136c7e;},gt=(_0x4a2e11,_0x488cf4)=>(_0x50a3bc,_0x4b0e9a)=>_0x488cf4(_0x50a3bc,_0x4b0e9a,_0x4a2e11);let Ot=class extends _0x3ca8c7{constructor(_0x239523,_0x442e14,_0x122f5e){var _0x106f38=_0xc11182;super(),P(this,'_unitInfo$',new _0x2d4500(null)),P(this,'unitInfo$',this[_0x106f38(0xcf)]['asObservable']()),(this[_0x106f38(0x1b0)]=_0x239523,this[_0x106f38(0x351)]=_0x442e14,this[_0x106f38(0x2a2)]=_0x122f5e);}async[_0xc11182(0x397)](_0x361327,_0x2da497,_0x5b1c42){var _0x17b45e=_0xc11182;this[_0x17b45e(0xcf)][_0x17b45e(0xc2)]({'unitId':_0x361327,'type':_0x2da497,'subUnitId':_0x5b1c42});let _0x2c239f=null;switch(_0x2da497){case Q[_0x17b45e(0x131)]:{_0x2c239f=await this[_0x17b45e(0x1e1)](_0x361327);break;}case Q['UNIVER_DOC']:{_0x2c239f=await this[_0x17b45e(0x1cb)](_0x361327);break;}default:{this[_0x17b45e(0x1b0)][_0x17b45e(0x2dc)]('[DataLoaderService]',_0x17b45e(0x25e));break;}}return _0x2c239f;}async[_0xc11182(0x1e1)](_0x383604){var _0x154edc=_0xc11182,_0x1711ab;let _0x45d713=0x0;const _0x325b78=await((_0x1711ab=this[_0x154edc(0x2a2)])==null?void 0x0:_0x1711ab[_0x154edc(0xd9)](_0x383604));return _0x325b78&&(_0x325b78['awaitingChangeset']||_0x325b78[_0x154edc(0x1af)][_0x154edc(0x219)]!==0x0)&&(_0x45d713=_0x325b78[_0x154edc(0x392)]),_0x45d713===0x0&&this[_0x154edc(0x1b0)]['debug']('[DataLoaderService]',_0x154edc(0x27a)),this[_0x154edc(0x351)][_0x154edc(0x2de)](_0x383604,_0x45d713);}async['_loadDoc'](_0x442cfd){var _0x358135=_0xc11182,_0x112317;let _0x496900=0x0;const _0x1633ce=await((_0x112317=this['_localCacheService'])==null?void 0x0:_0x112317[_0x358135(0xd9)](_0x442cfd));return _0x1633ce&&(_0x1633ce[_0x358135(0x10b)]||_0x1633ce[_0x358135(0x1af)]['length']!==0x0)&&(_0x496900=_0x1633ce[_0x358135(0x392)]),_0x496900===0x0&&this['_logService'][_0x358135(0x15a)](_0x358135(0x145),_0x358135(0x27a)),this['_snapshotService'][_0x358135(0xee)](_0x442cfd,_0x496900);}};Ot=br([gt(0x0,_0x2bee51),gt(0x1,_0x2d4781(_0x2b7a55)),gt(0x2,_0x220a19(X))],Ot);var Rr=Object[_0xc11182(0x1fb)],yr=Object[_0xc11182(0x1ef)],Or=(_0x3f36a7,_0x4f57f9,_0x50db8a,_0x102aac)=>{var _0x2f3da5=_0xc11182;for(var _0x3167cc=_0x102aac>0x1?void 0x0:_0x102aac?yr(_0x4f57f9,_0x50db8a):_0x4f57f9,_0x5b5bc4=_0x3f36a7[_0x2f3da5(0x219)]-0x1,_0x13c6a5;_0x5b5bc4>=0x0;_0x5b5bc4--)(_0x13c6a5=_0x3f36a7[_0x5b5bc4])&&(_0x3167cc=(_0x102aac?_0x13c6a5(_0x4f57f9,_0x50db8a,_0x3167cc):_0x13c6a5(_0x3167cc))||_0x3167cc);return _0x102aac&&_0x3167cc&&Rr(_0x4f57f9,_0x50db8a,_0x3167cc),_0x3167cc;},St=(_0x3b95a1,_0x568b6b)=>(_0x3e9568,_0x4fb0f5)=>_0x568b6b(_0x3e9568,_0x4fb0f5,_0x3b95a1);const Nr=[_0xc11182(0x320),_0xc11182(0x39c),'image/jpg',_0xc11182(0x18c),_0xc11182(0xbd)],Pr=0x5*0x400*0x400,Dr=_0xc11182(0x102),wr=_0xc11182(0xfa),Ur=_0xc11182(0x21d),Ar=_0xc11182(0xd3);let Nt=class{constructor(_0x4ac4ce,_0x54f897,_0x383000){var _0x36dc8b=_0xc11182;P(this,_0x36dc8b(0x31f),0x0),P(this,_0x36dc8b(0x142),new _0x1b1515()),P(this,_0x36dc8b(0x312),this[_0x36dc8b(0x142)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x4ac4ce,this[_0x36dc8b(0x2a6)]=_0x54f897,this[_0x36dc8b(0x39f)]=_0x383000);}['setWaitCount'](_0x1c22c1){var _0x4b73ba=_0xc11182;this[_0x4b73ba(0x31f)]=_0x1c22c1,this['_change$'][_0x4b73ba(0xc2)](_0x1c22c1);}[_0xc11182(0x24e)](_0x1964c2,_0x46ac42){var _0xb49899=_0xc11182;if(_0x46ac42===_0x5b848d[_0xb49899(0x1f0)]){const _0x1e7ba9=new Image();return _0x1e7ba9[_0xb49899(0x205)]=_0x1964c2,_0x1e7ba9;}return this['_imageSourceCache']['get'](_0x1964c2);}[_0xc11182(0x196)](_0x133cc3,_0x4caf03,_0x4996ac){var _0x49c5b0=_0xc11182;_0x4caf03===_0x5b848d['BASE64']||_0x4996ac==null||this[_0x49c5b0(0x2e8)]['set'](_0x133cc3,_0x4996ac);}async[_0xc11182(0x295)](_0x2d2c21){var _0x58c287=_0xc11182;try{const _0x4acbd2=this[_0x58c287(0xae)](this[_0x58c287(0xaf)](),''+_0x2d2c21),_0x5b9d63=(await this[_0x58c287(0x2f9)][_0x58c287(0x122)](_0x4acbd2))['body'];if(_0x5b9d63[_0x58c287(0x2dc)]&&_0x5b9d63[_0x58c287(0x2dc)][_0x58c287(0x1c9)]===Ti['OK']){const _0x79d10a=new URL(_0x5b9d63[_0x58c287(0x1c2)],this[_0x58c287(0x2ed)]())[_0x58c287(0x304)]();return Promise['resolve'](_0x79d10a);}return Promise[_0x58c287(0x206)](_0x5b9d63[_0x58c287(0x2dc)]);}catch(_0xa0dbc7){return Promise[_0x58c287(0x206)](_0xa0dbc7);}}async['saveImage'](_0x6b7975){var _0xff361f=_0xc11182;let _0x36a1bd='';if(!Nr[_0xff361f(0x207)](_0x6b7975['type']))return this[_0xff361f(0x247)](),Promise[_0xff361f(0x206)](new Error(_0x20f952['ERROR_IMAGE_TYPE']));if(_0x6b7975[_0xff361f(0xdb)]>Pr)return this[_0xff361f(0x247)](),Promise[_0xff361f(0x206)](new Error(_0x20f952[_0xff361f(0x23f)]));try{const _0x312af6=new FormData();_0x312af6[_0xff361f(0xd5)](_0xff361f(0x2ad),_0x6b7975);const _0x4af364=this[_0xff361f(0x39f)][_0xff361f(0x272)](),_0x494c73=_0x4af364==null?void 0x0:_0x4af364['getUnitId']();if(!_0x494c73)throw new Error('unitId\x20is\x20not\x20found');const _0x4fcc0b=this['_getUploadFileURL']()+_0xff361f(0x245)+_0x6b7975['size'][_0xff361f(0x304)]()+'&source='+Ci[_0xff361f(0x29e)]+_0xff361f(0x2c8)+encodeURIComponent(_0x494c73),_0x160a03=await(await fetch(_0x4fcc0b,{'method':'POST','body':_0x312af6}))[_0xff361f(0x394)]();if(typeof _0x160a03[_0xff361f(0x169)]!='string')return this[_0xff361f(0x247)](),Promise[_0xff361f(0x206)](new Error(_0x20f952[_0xff361f(0x33d)]));_0x36a1bd=_0x160a03['FileId'];}catch{return this[_0xff361f(0x247)](),Promise[_0xff361f(0x206)](new Error(_0x20f952[_0xff361f(0x33d)]));}return new Promise((_0xc8f6cf,_0x3751e2)=>{var _0x5a99c7=_0xff361f;const _0x27e07e=new FileReader();_0x27e07e[_0x5a99c7(0x246)](_0x6b7975),_0x27e07e['onload']=_0x4c59d4=>{var _0xe2627=_0x5a99c7,_0x2bfcd9;const _0x453222=(_0x2bfcd9=_0x4c59d4[_0xe2627(0x2bf)])==null?void 0x0:_0x2bfcd9['result'];if(_0x453222==null){this[_0xe2627(0x247)](),_0x3751e2(new Error(_0x20f952[_0xe2627(0x33d)]));return;}const _0xe1c9b6=_0x90d2e6['generateRandomId'](0x6);_0xc8f6cf({'imageId':_0xe1c9b6,'imageSourceType':_0x5b848d[_0xe2627(0x1d7)],'source':_0x36a1bd,'base64Cache':_0x453222,'status':_0x20f952[_0xe2627(0x23b)]}),this[_0xe2627(0x247)]();};});}['_getUploadFileURL'](){var _0x1b5e21=_0xc11182,_0x3a71ba,_0x275707;const _0x448280=this[_0x1b5e21(0x2a6)][_0x1b5e21(0x242)](Dr),_0x1d6cfe=this[_0x1b5e21(0x2a6)][_0x1b5e21(0x242)](Y);return(_0x275707=(_0x3a71ba=_0x1d6cfe==null?void 0x0:_0x1d6cfe['uploadFileServerUrl'])!=null?_0x3a71ba:_0x448280)!=null?_0x275707:wr;}[_0xc11182(0xaf)](){var _0x5d089c=_0xc11182,_0xa74ba5,_0x3b4752;const _0x377052=this[_0x5d089c(0x2a6)]['getConfig'](Ur),_0x18a3c1=this[_0x5d089c(0x2a6)][_0x5d089c(0x242)](Y);return(_0x3b4752=(_0xa74ba5=_0x18a3c1==null?void 0x0:_0x18a3c1['signUrlServerUrl'])!=null?_0xa74ba5:_0x377052)!=null?_0x3b4752:Ar;}[_0xc11182(0x2ed)](){var _0x57e07e=_0xc11182,_0x526322;const _0x12e08e=this[_0x57e07e(0x2a6)][_0x57e07e(0x242)](Y);return(_0x526322=_0x12e08e==null?void 0x0:_0x12e08e['downloadEndpointUrl'])!=null?_0x526322:location[_0x57e07e(0x35a)];}[_0xc11182(0xae)](_0x1fbd25,_0x1d7220){var _0x56ad65=_0xc11182;return _0x1fbd25['replace'](_0x56ad65(0x35b),_0x1d7220);}[_0xc11182(0x247)](){var _0x12583c=_0xc11182;this[_0x12583c(0x31f)]-=0x1,this['_change$'][_0x12583c(0xc2)](this[_0x12583c(0x31f)]);}};Nt=Or([St(0x0,_0x2d4781(_0x4b66e4)),St(0x1,_0x4f3939),St(0x2,_0x2d4781(_0x414ec3))],Nt);var xr=Object[_0xc11182(0x1fb)],Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x1ee324,_0x5aa74d,_0x21f6ce,_0x167214)=>{var _0x12118=_0xc11182;for(var _0x4d3a63=_0x167214>0x1?void 0x0:_0x167214?Lr(_0x5aa74d,_0x21f6ce):_0x5aa74d,_0x74d5a5=_0x1ee324[_0x12118(0x219)]-0x1,_0xe20444;_0x74d5a5>=0x0;_0x74d5a5--)(_0xe20444=_0x1ee324[_0x74d5a5])&&(_0x4d3a63=(_0x167214?_0xe20444(_0x5aa74d,_0x21f6ce,_0x4d3a63):_0xe20444(_0x4d3a63))||_0x4d3a63);return _0x167214&&_0x4d3a63&&xr(_0x5aa74d,_0x21f6ce,_0x4d3a63),_0x4d3a63;},li=(_0x3a2344,_0x56cbfe)=>(_0x64b0f9,_0x366438)=>_0x56cbfe(_0x64b0f9,_0x366438,_0x3a2344);const $r=_0xc11182(0x1e9);let Pt=class{constructor(_0x42b442,_0x5df394){var _0x5cc205=_0xc11182;this[_0x5cc205(0x2a6)]=_0x42b442,this[_0x5cc205(0x34f)]=_0x5df394;}['_getAPIPrefixPath'](){var _0x37f1f9=_0xc11182,_0xf5ceb4,_0x457fcc;const _0x3c92b8=this[_0x37f1f9(0x2a6)][_0x37f1f9(0x242)](wi),_0x25cc1f=this[_0x37f1f9(0x2a6)][_0x37f1f9(0x242)](Y);return(_0x457fcc=(_0xf5ceb4=_0x25cc1f==null?void 0x0:_0x25cc1f['authzUrl'])!=null?_0xf5ceb4:_0x3c92b8)!=null?_0x457fcc:$r;}async[_0xc11182(0x2be)](_0x1518f2){var _0xe09288=_0xc11182;const _0x1fbb57=this[_0xe09288(0xf2)]()+_0xe09288(0x225);return{'list':[{'title':_0xe09288(0x2c7),'mentions':(await this[_0xe09288(0x34f)][_0xe09288(0x122)](_0x1fbb57,{'params':{'objectID':_0x1518f2[_0xe09288(0x153)],'unitID':_0x1518f2[_0xe09288(0x153)]}}))[_0xe09288(0x104)][_0xe09288(0x157)][_0xe09288(0xa7)](_0xa11f80=>({'objectId':_0xa11f80['id'],'name':_0xa11f80['subject'][_0xe09288(0x1b3)],'metadata':{'icon':_0xa11f80[_0xe09288(0x303)][_0xe09288(0x27c)]},'label':_0xa11f80['subject'][_0xe09288(0x1b3)],'objectType':_0x5b2b40[_0xe09288(0x1bf)]})),'metadata':{},'type':_0x5b2b40[_0xe09288(0x1bf)]}]};}};Pt=Mr([li(0x0,_0x2d4781(_0x4f3939)),li(0x1,_0x2d4781(_0x4b66e4))],Pt);var Hr=Object[_0xc11182(0x1fb)],kr=Object[_0xc11182(0x1ef)],jr=(_0x5eb3d2,_0x32a6ca,_0x24c44d,_0x4e8952)=>{var _0x3dbcb3=_0xc11182;for(var _0xf03c3a=_0x4e8952>0x1?void 0x0:_0x4e8952?kr(_0x32a6ca,_0x24c44d):_0x32a6ca,_0x5ec71d=_0x5eb3d2[_0x3dbcb3(0x219)]-0x1,_0x50ccaf;_0x5ec71d>=0x0;_0x5ec71d--)(_0x50ccaf=_0x5eb3d2[_0x5ec71d])&&(_0xf03c3a=(_0x4e8952?_0x50ccaf(_0x32a6ca,_0x24c44d,_0xf03c3a):_0x50ccaf(_0xf03c3a))||_0xf03c3a);return _0x4e8952&&_0xf03c3a&&Hr(_0x32a6ca,_0x24c44d,_0xf03c3a),_0xf03c3a;},Se=(_0x378868,_0x957f26)=>(_0x186785,_0x19ef9c)=>_0x957f26(_0x186785,_0x19ef9c,_0x378868);let ct=class extends _0x3ca8c7{constructor(_0x406d87,_0x49de6a,_0x363854,_0x2091f6,_0x4044da,_0x148e9f,_0x47373e){var _0x1dce33=_0xc11182;super(),this[_0x1dce33(0xd6)]=_0x406d87,this[_0x1dce33(0x39f)]=_0x49de6a,this[_0x1dce33(0x3a6)]=_0x363854,this[_0x1dce33(0x1e0)]=_0x2091f6,this[_0x1dce33(0x20d)]=_0x4044da,this[_0x1dce33(0x30d)]=_0x148e9f,this[_0x1dce33(0x29c)]=_0x47373e,this[_0x1dce33(0x1f2)](),this[_0x1dce33(0x1c6)]();}[_0xc11182(0x1c6)](){var _0x32960a=_0xc11182;const _0x405832=async _0x4e54f0=>{var _0x9e67c6=_0x7b62;(await this[_0x9e67c6(0x1e0)][_0x9e67c6(0xa3)](_0x4e54f0))[_0x9e67c6(0x135)]['pipe'](_0x340423(_0x152d82=>_0x152d82[_0x9e67c6(0x16d)]===_0x3909a7[_0x9e67c6(0x1a6)]),_0x33f627(this[_0x9e67c6(0x1d0)]))[_0x9e67c6(0x2d1)](_0x1d9063=>{var _0x17503a=_0x9e67c6;const _0x32f084=_0x1d9063,{reason:_0x340663}=_0x32f084[_0x17503a(0x1b4)];this['_collaborationUIEventService'][_0x17503a(0x105)]({'id':re[_0x17503a(0x224)],'data':_0x340663}),this[_0x17503a(0x3a6)][_0x17503a(0x1f4)](new _0x58fb3f(_0x4e54f0)['id'],!0x1),this[_0x17503a(0x1e0)][_0x17503a(0x2a8)](_0x4e54f0);});};_0xb986de(this[_0x32960a(0x39f)]['getTypeOfUnitAdded$'](_0x2d546b[_0x32960a(0x131)]),this[_0x32960a(0x39f)]['getTypeOfUnitAdded$'](_0x2d546b[_0x32960a(0x1b6)]))[_0x32960a(0x333)](_0x5dad37(_0x76fa74=>_0x76fa74['getUnitId']()),_0x340423(_0x1b4530=>!_0x394afc(_0x1b4530)),_0x33f627(this[_0x32960a(0x1d0)]))[_0x32960a(0x2d1)](_0x2e27f1=>{_0x405832(_0x2e27f1);});}[_0xc11182(0x1f2)](){var _0x4c5365=_0xc11182;const _0x2aa298=async _0x587162=>{var _0x19f179=_0x7b62;(await this[_0x19f179(0x1e0)][_0x19f179(0xa3)](_0x587162))['event$'][_0x19f179(0x333)](_0x340423(_0x3c29a4=>_0x3c29a4[_0x19f179(0x16d)]===_0x3909a7[_0x19f179(0x182)]),_0x33f627(this[_0x19f179(0x1d0)]))[_0x19f179(0x2d1)](_0x3ed6fb=>{var _0xfb49cb=_0x19f179;const _0x570989=_0x3ed6fb,{objectId:_0x351e1e}=_0x570989['data'];_0x351e1e===_0x587162?this[_0xfb49cb(0x344)](_0x587162):this['refreshPermission'](_0x587162,_0x351e1e);});};_0xb986de(this[_0x4c5365(0x39f)][_0x4c5365(0x27b)](_0x2d546b['UNIVER_SHEET']),this[_0x4c5365(0x39f)]['getTypeOfUnitAdded$'](_0x2d546b[_0x4c5365(0x1b6)]))[_0x4c5365(0x333)](_0x5dad37(_0x164401=>_0x164401[_0x4c5365(0x332)]()),_0x340423(_0xf4f295=>!_0x394afc(_0xf4f295)),_0x33f627(this['dispose$']))[_0x4c5365(0x2d1)](_0x1187b4=>{_0x2aa298(_0x1187b4);});}async[_0xc11182(0x344)](_0x4245ac){var _0x22067d=_0xc11182,_0x5da871;const _0xca82fa=_0x4245ac||((_0x5da871=this[_0x22067d(0x39f)][_0x22067d(0x373)](_0x2d546b[_0x22067d(0x131)]))==null?void 0x0:_0x5da871[_0x22067d(0x332)]());_0xca82fa&&this[_0x22067d(0x30d)][_0x22067d(0x164)]({'objectID':_0xca82fa,'objectType':_0x4b41ca['Workbook'],'unitID':_0xca82fa,'actions':_0x808ac3})[_0x22067d(0x37e)](_0xeb4919=>{_0x41caee()['forEach'](_0x4f22c2=>{var _0x24cb0e=_0x7b62;const _0x5e30dd=new _0x4f22c2(_0xca82fa),_0x35e236=_0x5e30dd['subType'],_0x457c53=_0xeb4919[_0x24cb0e(0x180)](_0x27db64=>_0x27db64[_0x24cb0e(0x1e6)]===_0x35e236);_0x457c53&&this[_0x24cb0e(0x3a6)][_0x24cb0e(0x1f4)](_0x5e30dd['id'],_0x457c53[_0x24cb0e(0x164)]);});});}[_0xc11182(0x290)](_0x23f4d8,_0x525072){var _0x4eca80=_0xc11182;const _0x79d701=this[_0x4eca80(0xd6)]['get'](_0x464d7d),_0xc93000=_0x79d701[_0x4eca80(0x32d)](_0x23f4d8,_0x525072);let _0x3f29b0=!0x1;if(_0xc93000){const [_0x24b12e,_0x2072ea]=_0xc93000;this[_0x4eca80(0x30d)]['allowed']({'objectID':_0x525072,'unitID':_0x23f4d8,'objectType':_0x4b41ca['Worksheet'],'actions':_0x57dec4})['then'](_0xd6af79=>{var _0x29ac0e=_0x4eca80;let _0x4c1989='';_0x534616()['forEach'](_0x229a04=>{var _0x2fee1a=_0x7b62,_0x4c812e;const _0x40b0db=new _0x229a04(_0x23f4d8,_0x2072ea),_0x371b36=_0x40b0db[_0x2fee1a(0x372)],_0x2d91e9=_0xd6af79['find'](_0x38cde9=>_0x38cde9[_0x2fee1a(0x1e6)]===_0x371b36);_0x2d91e9&&(((_0x4c812e=this[_0x2fee1a(0x3a6)][_0x2fee1a(0x299)](_0x40b0db['id']))==null?void 0x0:_0x4c812e[_0x2fee1a(0x222)])!==_0x2d91e9[_0x2fee1a(0x164)]&&(_0x3f29b0=!0x0),this[_0x2fee1a(0x3a6)][_0x2fee1a(0x1f4)](_0x40b0db['id'],_0x2d91e9[_0x2fee1a(0x164)]),_0x4c1989+=_0x2d91e9[_0x2fee1a(0x1e6)]+'_'+_0x2d91e9[_0x2fee1a(0x164)]);}),_0x79d701['ruleRefresh'](_0x525072+'_'+_0x4c1989),_0x3f29b0&&this[_0x29ac0e(0x29c)][_0x29ac0e(0x19e)](_0x23f4d8);});}const _0x93c38b=this[_0x4eca80(0xd6)]['get'](_0x4a30b7)[_0x4eca80(0x32d)](_0x23f4d8,_0x525072);if(_0x93c38b){const [_0x44f39f,_0x14cf65]=_0x93c38b;this['_authzIoService'][_0x4eca80(0x164)]({'objectID':_0x525072,'unitID':_0x23f4d8,'objectType':_0x4b41ca['Worksheet'],'actions':_0x5bcd38})[_0x4eca80(0x37e)](_0x3716f5=>{var _0x536b4c=_0x4eca80;_0x22ed78()['forEach'](_0x4351dc=>{var _0x47ad82=_0x7b62,_0xe1a486;const _0x294b63=new _0x4351dc(_0x23f4d8,_0x14cf65),_0xd22ca6=_0x294b63[_0x47ad82(0x372)],_0x1194a9=_0x3716f5[_0x47ad82(0x180)](_0x46e812=>_0x46e812[_0x47ad82(0x1e6)]===_0xd22ca6);_0x1194a9&&(((_0xe1a486=this[_0x47ad82(0x3a6)][_0x47ad82(0x299)](_0x294b63['id']))==null?void 0x0:_0xe1a486[_0x47ad82(0x222)])!==_0x1194a9['allowed']&&(_0x3f29b0=!0x0),this[_0x47ad82(0x3a6)][_0x47ad82(0x1f4)](_0x294b63['id'],_0x1194a9[_0x47ad82(0x164)]));}),_0x3f29b0&&this[_0x536b4c(0x29c)][_0x536b4c(0x19e)](_0x23f4d8);});}const _0xc75e65=this[_0x4eca80(0xd6)]['get'](_0x14efa6),_0x4402cb=_0xc75e65['getTargetByPermissionId'](_0x23f4d8,_0x525072);if(_0x4402cb){const [_0x505647,_0x4819ae]=_0x4402cb;this['_authzIoService'][_0x4eca80(0x164)]({'objectID':_0x525072,'unitID':_0x23f4d8,'objectType':_0x4b41ca[_0x4eca80(0x36e)],'actions':_0x57dec4})[_0x4eca80(0x37e)](_0x3a69f0=>{var _0x1aaa8a=_0x4eca80;let _0x55e090='';_0x1c9d16()[_0x1aaa8a(0x1e5)](_0x4f96a9=>{var _0xd38374=_0x1aaa8a,_0x9594e1;const _0x1dc066=new _0x4f96a9(_0x23f4d8,_0x4819ae,_0x525072),_0x32a1dd=_0x1dc066[_0xd38374(0x372)],_0x34920e=_0x3a69f0[_0xd38374(0x180)](_0x5dc680=>_0x5dc680['action']===_0x32a1dd);_0x34920e&&(((_0x9594e1=this['_permissionService'][_0xd38374(0x299)](_0x1dc066['id']))==null?void 0x0:_0x9594e1['value'])!==_0x34920e['allowed']&&(_0x3f29b0=!0x0),this[_0xd38374(0x3a6)][_0xd38374(0x1f4)](_0x1dc066['id'],_0x34920e[_0xd38374(0x164)]),_0x55e090+=_0x34920e[_0xd38374(0x1e6)]+'_'+_0x34920e[_0xd38374(0x164)]);}),_0xc75e65[_0x1aaa8a(0xd4)](_0x525072+'_'+_0x55e090),_0x3f29b0&&this[_0x1aaa8a(0x29c)][_0x1aaa8a(0x19e)](_0x23f4d8);});}}};ct=jr([Se(0x0,_0x2d4781(_0x93988d)),Se(0x1,_0x414ec3),Se(0x2,_0x501d43),Se(0x3,_0x2d4781(Le)),Se(0x4,_0x2d4781(pe)),Se(0x5,_0x63cb44),Se(0x6,_0x17da82)],ct);var Br=Object[_0xc11182(0x1fb)],Fr=Object[_0xc11182(0x1ef)],Vr=(_0x5bc68b,_0x431285,_0x71cc28,_0x128a4f)=>{var _0x3c974b=_0xc11182;for(var _0x362501=_0x128a4f>0x1?void 0x0:_0x128a4f?Fr(_0x431285,_0x71cc28):_0x431285,_0xc72524=_0x5bc68b[_0x3c974b(0x219)]-0x1,_0x2218d9;_0xc72524>=0x0;_0xc72524--)(_0x2218d9=_0x5bc68b[_0xc72524])&&(_0x362501=(_0x128a4f?_0x2218d9(_0x431285,_0x71cc28,_0x362501):_0x2218d9(_0x362501))||_0x362501);return _0x128a4f&&_0x362501&&Br(_0x431285,_0x71cc28,_0x362501),_0x362501;},ui=(_0x9028c0,_0x1a2e41)=>(_0x4bd582,_0x142ffb)=>_0x1a2e41(_0x4bd582,_0x142ffb,_0x9028c0);let Dt=class{constructor(_0xc4ff8d,_0x4a9b1c){var _0x183f2f=_0xc11182;this[_0x183f2f(0x2a6)]=_0xc4ff8d,this['_httpService']=_0x4a9b1c;}async[_0xc11182(0x26f)](_0x2fb068,_0x5402c6){var _0x189cfc=_0xc11182,_0x561ef3;const {unitID:_0x5021e3,type:_0x5e6cf3,revision:_0x18add6=0x0}=_0x5402c6,_0x2f910d=this['getSnapshotAPIPath']()+'/'+_0x5e6cf3+'/unit/'+_0x5021e3+_0x189cfc(0x139)+_0x18add6,_0x175081=(await this[_0x189cfc(0x2f9)]['get'](_0x2f910d))['body'],_0x4a1c74=(_0x561ef3=_0x175081[_0x189cfc(0x334)])==null?void 0x0:_0x561ef3[_0x189cfc(0xb2)];if(_0x4a1c74){const _0x5ed4b8=_0x4a1c74==null?void 0x0:_0x4a1c74['originalMeta'],_0x228bd3=_0x27e51c[_0x189cfc(0x259)](_0x13e50f(_0x5ed4b8));_0x4a1c74['originalMeta']=_0x228bd3,Object[_0x189cfc(0x204)](_0x4a1c74[_0x189cfc(0x126)])[_0x189cfc(0x1e5)](([,_0x5e04f5])=>{var _0x203d01=_0x189cfc;const _0x4077ec=_0x5e04f5['originalMeta'],_0x1cb20=_0x27e51c['encode'](_0x13e50f(_0x4077ec));_0x5e04f5[_0x203d01(0x19f)]=_0x1cb20;});}return _0x175081;}async[_0xc11182(0x2a0)](_0xb19b9d,_0x370136){var _0x243bee=_0xc11182;const {unitID:_0x244043,type:_0x10ea1f,blockID:_0x8c643d}=_0x370136,_0x4ba703=this[_0x243bee(0x1b8)]()+'/'+_0x10ea1f+_0x243bee(0x282)+_0x244043+'/block/'+_0x8c643d;return(await this[_0x243bee(0x2f9)][_0x243bee(0x122)](_0x4ba703))[_0x243bee(0x104)];}async[_0xc11182(0x385)](_0x20998a,_0x43ff5d){var _0x40fa02=_0xc11182;const {unitID:_0x43f6fb,type:_0x3e1b7b,blockID:_0x5465b9}=_0x43ff5d,_0x360b58=this[_0x40fa02(0x1b8)]()+_0x40fa02(0x16a)+_0x3e1b7b+_0x40fa02(0x282)+_0x43f6fb+_0x40fa02(0x16a)+_0x5465b9;return(await this[_0x40fa02(0x2f9)]['get'](_0x360b58))[_0x40fa02(0x104)];}async[_0xc11182(0x381)](_0x20701f,_0x491244){var _0x68b599=_0xc11182;const {unitID:_0x33c3c2,type:_0x2ef220,from:_0x1cbcce,to:_0x2fd974}=_0x491244,_0x534661=this[_0x68b599(0x1b8)]()+'/'+_0x2ef220+_0x68b599(0x282)+_0x33c3c2+_0x68b599(0x12a)+_0x1cbcce+_0x68b599(0x289)+_0x2fd974;return(await this['_httpService'][_0x68b599(0x122)](_0x534661))[_0x68b599(0x104)];}[_0xc11182(0x273)](){var _0x47cb61=_0xc11182,_0x3e1cfa;return(_0x3e1cfa=this[_0x47cb61(0x2a6)][_0x47cb61(0x242)](Dn))!=null?_0x3e1cfa:this[_0x47cb61(0x1b8)]();}[_0xc11182(0x1b8)](){var _0x156e19=_0xc11182,_0x242e41,_0x58f2ef;const _0x520d90=this[_0x156e19(0x2a6)]['getConfig'](Nn),_0x35f55f=this[_0x156e19(0x2a6)]['getConfig'](Y);return(_0x58f2ef=(_0x242e41=_0x35f55f==null?void 0x0:_0x35f55f['snapshotServerUrl'])!=null?_0x242e41:_0x520d90)!=null?_0x58f2ef:Pn;}async[_0xc11182(0x297)](_0x4c9b22,_0xf24cda){var _0x5492b0=_0xc11182;const _0x399ff2=_0x5492b0(0x147)+_0xf24cda[_0x5492b0(0x151)]+'/unit/'+_0xf24cda['unitID']+_0x5492b0(0x243);return(await this['_httpService']['get'](_0x399ff2,{'params':{'resourceId':JSON[_0x5492b0(0x228)](_0xf24cda[_0x5492b0(0x3a7)])}}))['body'];}[_0xc11182(0x201)](){var _0x4aed81=_0xc11182;throw new Error(_0x4aed81(0x19a));}[_0xc11182(0x25a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc11182(0x162)](){var _0x4156cc=_0xc11182;throw new Error(_0x4156cc(0x19a));}['copyFileMeta'](){var _0x42b76e=_0xc11182;throw new Error(_0x42b76e(0x19a));}[_0xc11182(0xbf)](){var _0x59b3b0=_0xc11182;throw new Error(_0x59b3b0(0x19a));}};Dt=Vr([ui(0x0,_0x4f3939),ui(0x1,_0x2d4781(_0x4b66e4))],Dt);var Wr=Object['defineProperty'],Gr=Object[_0xc11182(0x1ef)],Kr=(_0x2d2a2f,_0x16349f,_0x213721,_0x2bbdf6)=>{var _0x24f821=_0xc11182;for(var _0x1d3263=_0x2bbdf6>0x1?void 0x0:_0x2bbdf6?Gr(_0x16349f,_0x213721):_0x16349f,_0x36706b=_0x2d2a2f[_0x24f821(0x219)]-0x1,_0x26520a;_0x36706b>=0x0;_0x36706b--)(_0x26520a=_0x2d2a2f[_0x36706b])&&(_0x1d3263=(_0x2bbdf6?_0x26520a(_0x16349f,_0x213721,_0x1d3263):_0x26520a(_0x1d3263))||_0x1d3263);return _0x2bbdf6&&_0x1d3263&&Wr(_0x16349f,_0x213721,_0x1d3263),_0x1d3263;},Ae=(_0x28e7a5,_0x58cfd5)=>(_0x12f265,_0x18ba34)=>_0x58cfd5(_0x12f265,_0x18ba34,_0x28e7a5);let wt=class extends _0x5cc187{constructor(_0x242c35,_0x317588,_0x5999be,_0xb50d34,_0x393428){var _0x5b90ad=_0xc11182;super(_0x242c35,_0x317588,_0x5999be),this[_0x5b90ad(0x335)]=_0xb50d34,this[_0x5b90ad(0x1b0)]=_0x393428;}[_0xc11182(0x2cb)](_0x37833b,_0x3497cc){var _0x10ad24=_0xc11182;const _0x38c389=this[_0x10ad24(0x36d)](_0x37833b);if(_0x38c389)try{const _0x2f2bd6=this[_0x10ad24(0x1d5)](_0x38c389,_0x3497cc);this[_0x10ad24(0x1f5)](_0x37833b,_0x2f2bd6);}catch(_0x68d215){this[_0x10ad24(0x1b0)][_0x10ad24(0x2dc)](_0x10ad24(0x2a9),_0x68d215),this['_clearUndo'](_0x37833b);}const _0x177c90=this[_0x10ad24(0x257)](_0x37833b);if(_0x177c90)try{const _0x32fa47=this[_0x10ad24(0x1d5)](_0x177c90,_0x3497cc);this[_0x10ad24(0x323)](_0x37833b,_0x32fa47);}catch(_0x50e876){this[_0x10ad24(0x1b0)][_0x10ad24(0x2dc)](_0x50e876),this['_clearRedo'](_0x37833b);}}['_clearUndo'](_0x1dc8ce){var _0x70d68e=_0xc11182;const _0x315012=this['_getUndoStack'](_0x1dc8ce);_0x315012&&(_0x315012[_0x70d68e(0x219)]=0x0,this[_0x70d68e(0x375)]());}['_clearRedo'](_0x192286){var _0x463e09=_0xc11182;const _0x4a9d2e=this[_0x463e09(0x257)](_0x192286);_0x4a9d2e&&(_0x4a9d2e['length']=0x0,this[_0x463e09(0x375)]());}[_0xc11182(0x1f5)](_0x215de2,_0x48b5b9){var _0x34bbc1=_0xc11182;this['_undoStacks'][_0x34bbc1(0x1eb)](_0x215de2,_0x48b5b9),this[_0x34bbc1(0x375)]();}[_0xc11182(0x323)](_0x485cee,_0x280df1){var _0x18fc32=_0xc11182;this[_0x18fc32(0x1a5)][_0x18fc32(0x1eb)](_0x485cee,_0x280df1),this[_0x18fc32(0x375)]();}['_transformStack'](_0x1bbe2b,_0x524fc9){var _0x1c4236=_0xc11182;const _0x860799=[];let _0x93505a=_0x524fc9,_0x2d2b3d=_0x524fc9;for(let _0x4e7261=_0x1bbe2b[_0x1c4236(0x219)]-0x1;_0x4e7261>=0x0;_0x4e7261--){const {unitID:_0x7a752b,undoMutations:_0x20f935,redoMutations:_0x411d16}=_0x1bbe2b[_0x4e7261],_0x2d1e43=this[_0x1c4236(0x335)][_0x1c4236(0x29d)](_0x93505a,_0x20f935),_0x2ca7d3=this['_transformService'][_0x1c4236(0x29d)](_0x2d2b3d,_0x411d16);if(_0x404b48(_0x2d1e43)||_0x404b48(_0x2ca7d3)){this[_0x1c4236(0x1b0)]['error'](_0x1c4236(0x2a9),_0x1c4236(0x287),_0x2d1e43,_0x2ca7d3);break;}_0x93505a=_0x2d1e43[_0x1c4236(0x38d)],_0x2d2b3d=_0x2ca7d3[_0x1c4236(0x38d)],_0x860799[_0x1c4236(0xfd)]({'unitID':_0x7a752b,'undoMutations':_0x2d1e43['m2Prime'],'redoMutations':_0x2ca7d3[_0x1c4236(0x37a)]});}return _0x860799['reverse']();}};wt=Kr([Ae(0x0,_0x414ec3),Ae(0x1,_0x30846c),Ae(0x2,_0x8a92f6),Ae(0x3,_0x133ec2),Ae(0x4,_0x2bee51)],wt);var Li=Object[_0xc11182(0x1fb)],zr=Object[_0xc11182(0x1ef)],Yr=(_0x5e0d57,_0x1e46c8,_0x5f5ab7)=>_0x1e46c8 in _0x5e0d57?Li(_0x5e0d57,_0x1e46c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f5ab7}):_0x5e0d57[_0x1e46c8]=_0x5f5ab7,qr=(_0x583cc2,_0x237997,_0x3a4649,_0x45bae4)=>{for(var _0xac826f=_0x45bae4>0x1?void 0x0:_0x45bae4?zr(_0x237997,_0x3a4649):_0x237997,_0x3accf6=_0x583cc2['length']-0x1,_0x56fefb;_0x3accf6>=0x0;_0x3accf6--)(_0x56fefb=_0x583cc2[_0x3accf6])&&(_0xac826f=(_0x45bae4?_0x56fefb(_0x237997,_0x3a4649,_0xac826f):_0x56fefb(_0xac826f))||_0xac826f);return _0x45bae4&&_0xac826f&&Li(_0x237997,_0x3a4649,_0xac826f),_0xac826f;},Et=(_0x1a2c66,_0x197c32)=>(_0x54ed5d,_0x52f5cc)=>_0x197c32(_0x54ed5d,_0x52f5cc,_0x1a2c66),Jr=(_0x2aa0b3,_0x27c60d,_0x11b2c6)=>Yr(_0x2aa0b3,_0x27c60d+'',_0x11b2c6);const Xr=_0xc11182(0xb3);let Ut=class extends _0x3668c4{constructor(_0x50b958=Wn,_0x1856ac,_0x23d81a,_0x5be10e){var _0x2f303a=_0xc11182;super(),this[_0x2f303a(0x23a)]=_0x50b958,this[_0x2f303a(0x1b0)]=_0x1856ac,this[_0x2f303a(0xd6)]=_0x23d81a,this[_0x2f303a(0x2a6)]=_0x5be10e;const {..._0x2262ed}=this[_0x2f303a(0x23a)];this[_0x2f303a(0x2a6)]['setConfig'](Y,_0x2262ed);}[_0xc11182(0x35c)](){var _0x144f4b=_0xc11182;this[_0x144f4b(0x361)](),this[_0x144f4b(0x189)]();}['_registerDependencies'](){var _0x1fbb0f=_0xc11182,_0x13e163,_0x56d374,_0x1c1a8f,_0x182354;this[_0x1fbb0f(0xd6)][_0x1fbb0f(0x258)](_0x17da82)&&this[_0x1fbb0f(0x1b0)][_0x1fbb0f(0x2dc)](_0x1fbb0f(0x12e),_0x1fbb0f(0x374));const _0x3ad1cc=_0x3861f4([[_0x17da82,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x56d374=(_0x13e163=this['_config'])==null?void 0x0:_0x13e163['socketService'])!=null?_0x56d374:It}],[_0x2a455d,{'useClass':Dt}],[_0x63cb44,{'useClass':yt}],[_0x586031,{'useClass':Nt}],[_0x2f45e6,{'useClass':Pt}],[rt],[Rt]],(_0x1c1a8f=this[_0x1fbb0f(0x23a)])==null?void 0x0:_0x1c1a8f[_0x1fbb0f(0x24a)]);if(!((_0x182354=this[_0x1fbb0f(0x23a)])!=null&&_0x182354['enableSingleActiveInstanceLock'])){const _0x97c402=_0x3ad1cc[_0x1fbb0f(0x174)](([_0x2bd12d])=>_0x2bd12d===_t);_0x97c402!==-0x1&&_0x3ad1cc[_0x1fbb0f(0x37f)](_0x97c402,0x1);}_0x38295d(this[_0x1fbb0f(0xd6)],_0x3ad1cc);}['_initDependencies'](){var _0x34b567=_0xc11182,_0x2bf6fd,_0x21f9a0,_0x54e147;this[_0x34b567(0xd6)][_0x34b567(0x122)](_0x4b66e4)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x483c2b({'maxParallel':0x6})}),(_0x2bf6fd=this[_0x34b567(0x23a)])!=null&&_0x2bf6fd[_0x34b567(0x12d)]||(_0x21f9a0=this[_0x34b567(0xd6)][_0x34b567(0x122)](X,_0x526256[_0x34b567(0x11b)]))==null||_0x21f9a0['disableLocalCache'](),(_0x54e147=this[_0x34b567(0x23a)])!=null&&_0x54e147[_0x34b567(0x252)]&&_0x2c5c87(this[_0x34b567(0xd6)],[[ot]]),_0x2c5c87(this[_0x34b567(0xd6)],[[at],[rt],[ct]]);}};Jr(Ut,_0xc11182(0xa8),Xr),Ut=qr([_0x3b9af9(_0xaee517,_0x1d9794,_0x1b73eb),Et(0x1,_0x2bee51),Et(0x2,_0x2d4781(_0x93988d)),Et(0x3,_0x4f3939)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
|