@univerjs-pro/collaboration-client 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- 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 +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x5c86d9=_0xbb9a;(function(_0x55370e,_0x2a01a9){var _0x573dad=_0xbb9a,_0x37422e=_0x55370e();while(!![]){try{var _0x2e2e62=-parseInt(_0x573dad(0x42c))/0x1+-parseInt(_0x573dad(0x327))/0x2*(parseInt(_0x573dad(0x29d))/0x3)+parseInt(_0x573dad(0x2c5))/0x4*(-parseInt(_0x573dad(0x232))/0x5)+-parseInt(_0x573dad(0x297))/0x6+-parseInt(_0x573dad(0x47c))/0x7+-parseInt(_0x573dad(0x32b))/0x8*(parseInt(_0x573dad(0x421))/0x9)+parseInt(_0x573dad(0x474))/0xa*(parseInt(_0x573dad(0x26f))/0xb);if(_0x2e2e62===_0x2a01a9)break;else _0x37422e['push'](_0x37422e['shift']());}catch(_0x1c8088){_0x37422e['push'](_0x37422e['shift']());}}}(_0x38c2,0x94c05));var Ai=Object[_0x5c86d9(0x2ae)],Pi=(_0x2ae93b,_0x18a7eb,_0x203982)=>_0x18a7eb in _0x2ae93b?Ai(_0x2ae93b,_0x18a7eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203982}):_0x2ae93b[_0x18a7eb]=_0x203982,N=(_0x551be7,_0x2f486f,_0x3473d3)=>Pi(_0x551be7,typeof _0x2f486f!='symbol'?_0x2f486f+'':_0x2f486f,_0x3473d3);import{createIdentifier as _0x1f8ad0,Inject as _0x5ebbff,Injector as _0x47b6c6,IConfigService as _0x3ada0c,ILogService as _0x274a32,Disposable as _0x160920,DisposableCollection as _0x3f7dc3,toDisposable as _0x23373e,IUniverInstanceService as _0x54a9fc,UserManagerService as _0x54fa0a,UniverInstanceType as _0x1b0f05,LocaleService as _0x369acd,Optional as _0xaad32d,RxDisposable as _0x26efdb,Tools as _0x37af3f,Rectangle as _0x2114f3,ICommandService as _0x247ed0,JSONX as _0x1b54fc,CommandType as _0x49999d,IUndoRedoService as _0x5c1562,IPermissionService as _0xfeb7f6,sequenceExecute as _0x347c98,Workbook as _0xf3f50c,MentionType as _0x3789f4,isInternalEditorID as _0x21f919,LocalUndoRedoService as _0x39145e,IContextService as _0xdbc806,DependentOn as _0x2fe84b,Plugin as _0x517d8b,merge as _0x3dd84d,mergeOverrideWithDependencies as _0x58503c,IAuthzIoService as _0x13f2c7,IMentionIOService as _0x4e42ed,registerDependencies as _0x526740,Quantity as _0x30110e,touchDependencies as _0x28de12}from'@univerjs/core';import{Subject as _0x338582,merge as _0x1ac615,of as _0x296c57,BehaviorSubject as _0x5352cc,takeUntil as _0xb60b95,ReplaySubject as _0x3b3a68,take as _0x2123d2,map as _0x1414db,shareReplay as _0x83df80,firstValueFrom as _0x157c10,concatMap as _0x202915}from'rxjs';import{map as _0x5d1df9,take as _0xbce555,filter as _0x53ece5,delay as _0x1039a6,takeUntil as _0x503203}from'rxjs/operators';import{CollaborationEvent as _0x271488,ISnapshotServerService as _0x840cb7,parseChangesetToProtocol as _0x5b98bd,ITransformService as _0x37f922,isTransformMutationsWithChangesetSuccess as _0x19d8fa,mapDocumentTypeToUniverType as _0x4b924a,RevisionService as _0x554a95,isTransformChangesetsSuccess as _0xebc62a,CompressMutationService as _0x5acbd2,parseProtocolChangeset as _0x19471a,SnapshotService as _0x4b7610,textEncoder as _0x5af8a4,b64DecodeUnicode as _0xa0feaa,isTransformMutationsWithChangesetFailure as _0x2b4c26,UniverCollaborationPlugin as _0x3b9695}from'@univerjs-pro/collaboration';import{HTTPService as _0x217687,ISocketService as _0x21714a,MergeInterceptorFactory as _0x2a1f26,HTTPRequest as _0xc0c5a8,UniverNetworkPlugin as _0x214502,ThresholdInterceptorFactory as _0xdac553}from'@univerjs/network';import{ITelemetryService as _0xae1289}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2612bb}from'@univerjs/docs';import{SheetsSelectionsService as _0x349b4e,SetSelectionsOperation as _0x466067,InsertSheetMutation as _0x4bdbff,EmptyMutation as _0x2f3870,WorkbookEditablePermission as _0x249291,SheetPermissionInitController as _0x5a6a3a}from'@univerjs/sheets';import{ImageSourceType as _0x33c225,ImageUploadStatusType as _0x49b9f1,IImageIoService as _0x31c8a7}from'@univerjs/drawing';import{getGlobalObject as _0x38f59e}from'@univerjs-pro/license';const mn=_0x5c86d9(0x215),gn='/universer-api/snapshot',Sn=_0x5c86d9(0x4c3),xs=_0x5c86d9(0x393),En=0x7d0,In=_0x5c86d9(0x482),Tn=_0x5c86d9(0x4c5),Ls=_0x5c86d9(0x38e),Cn=_0x5c86d9(0x22a),Rn=0x7530,mi=_0x5c86d9(0x45d),gi=0x4e20,bn=0x4e20,yn=_0x5c86d9(0x332),On=0x3,Ms=_0x5c86d9(0x3ea),ks=0x3e8,Nn=_0x5c86d9(0x362),Dn='/universer-api/comb',Un=_0x5c86d9(0x42a),wn=_0x5c86d9(0x37a),$s=_0x5c86d9(0x326),Hs=_0x5c86d9(0x2ea);var Si=(_0x442872=>(_0x442872[_0x442872[_0x5c86d9(0x394)]=0x0]=_0x5c86d9(0x394),_0x442872[_0x442872['OK']=0x1]='OK',_0x442872[_0x442872[_0x5c86d9(0x3dc)]=0x2]=_0x5c86d9(0x3dc),_0x442872[_0x442872[_0x5c86d9(0x41d)]=0x3]=_0x5c86d9(0x41d),_0x442872[_0x442872[_0x5c86d9(0x33e)]=0x4]='NOT_FOUND',_0x442872[_0x442872[_0x5c86d9(0x358)]=0x5]=_0x5c86d9(0x358),_0x442872[_0x442872['ALREADY_EXISTS']=0x6]=_0x5c86d9(0x428),_0x442872[_0x442872[_0x5c86d9(0x25a)]=0x7]=_0x5c86d9(0x25a),_0x442872[_0x442872['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x442872[_0x442872[_0x5c86d9(0x3d6)]=0x9]='COMPLETION_FINISHED',_0x442872[_0x442872[_0x5c86d9(0x438)]=0xa]=_0x5c86d9(0x438),_0x442872[_0x442872[_0x5c86d9(0x33d)]=0x1389]=_0x5c86d9(0x33d),_0x442872[_0x442872[_0x5c86d9(0x30a)]=0x1771]=_0x5c86d9(0x30a),_0x442872[_0x442872[_0x5c86d9(0x282)]=0x1772]=_0x5c86d9(0x282),_0x442872[_0x442872['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5c86d9(0x3a4),_0x442872[_0x442872[_0x5c86d9(0x4bc)]=0x1b59]='APPLY_REJECT',_0x442872[_0x442872[_0x5c86d9(0x3c1)]=0x1b5a]=_0x5c86d9(0x3c1),_0x442872[_0x442872[_0x5c86d9(0x40a)]=0x1b5b]=_0x5c86d9(0x40a),_0x442872[_0x442872[_0x5c86d9(0x268)]=0x1b5c]=_0x5c86d9(0x268),_0x442872[_0x442872['APPLY_DUPLICATED']=0x1b5d]=_0x5c86d9(0x27a),_0x442872[_0x442872[_0x5c86d9(0x3a9)]=0x1f41]=_0x5c86d9(0x3a9),_0x442872[_0x442872[_0x5c86d9(0x374)]=0x2329]=_0x5c86d9(0x374),_0x442872[_0x442872['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5c86d9(0x4cf),_0x442872[_0x442872[_0x5c86d9(0x288)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x442872[_0x442872['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5c86d9(0x24b),_0x442872[_0x442872[_0x5c86d9(0x1e8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x442872[_0x442872['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5c86d9(0x370),_0x442872[_0x442872[_0x5c86d9(0x3b8)]=0x2712]=_0x5c86d9(0x3b8),_0x442872[_0x442872['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x442872[_0x442872[_0x5c86d9(0x3a6)]=0x2714]=_0x5c86d9(0x3a6),_0x442872[_0x442872[_0x5c86d9(0x42f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x442872[_0x442872[_0x5c86d9(0x461)]=0x2ee1]=_0x5c86d9(0x461),_0x442872[_0x442872[_0x5c86d9(0x3f5)]=0x2ee2]=_0x5c86d9(0x3f5),_0x442872[_0x442872[_0x5c86d9(0x27d)]=0x2ee3]=_0x5c86d9(0x27d),_0x442872[_0x442872[_0x5c86d9(0x22b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x442872[_0x442872[_0x5c86d9(0x2b6)]=0x2ee5]=_0x5c86d9(0x2b6),_0x442872[_0x442872['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x442872))(Si||{}),Q=(_0x516dc3=>(_0x516dc3[_0x516dc3[_0x5c86d9(0x255)]=0x0]=_0x5c86d9(0x255),_0x516dc3[_0x516dc3[_0x5c86d9(0x356)]=0x1]=_0x5c86d9(0x356),_0x516dc3[_0x516dc3[_0x5c86d9(0x4bb)]=0x2]=_0x5c86d9(0x4bb),_0x516dc3[_0x516dc3[_0x5c86d9(0x2de)]=0x3]=_0x5c86d9(0x2de),_0x516dc3[_0x516dc3[_0x5c86d9(0x417)]=0x4]=_0x5c86d9(0x417),_0x516dc3[_0x516dc3[_0x5c86d9(0x2d5)]=-0x1]=_0x5c86d9(0x2d5),_0x516dc3))(Q||{}),F=(_0x2670f3=>(_0x2670f3[_0x2670f3[_0x5c86d9(0x1f8)]=0x0]='UNKNOWN_CMD',_0x2670f3[_0x2670f3['HELLO']=0x1]='HELLO',_0x2670f3[_0x2670f3[_0x5c86d9(0x2a3)]=0x2]=_0x5c86d9(0x2a3),_0x2670f3[_0x2670f3[_0x5c86d9(0x3d5)]=0x3]=_0x5c86d9(0x3d5),_0x2670f3[_0x2670f3[_0x5c86d9(0x26a)]=0x4]=_0x5c86d9(0x26a),_0x2670f3[_0x2670f3[_0x5c86d9(0x1d8)]=0x5]=_0x5c86d9(0x1d8),_0x2670f3[_0x2670f3[_0x5c86d9(0x457)]=0x6]=_0x5c86d9(0x457),_0x2670f3[_0x2670f3[_0x5c86d9(0x2d5)]=-0x1]=_0x5c86d9(0x2d5),_0x2670f3))(F||{}),ge=(_0x358087=>(_0x358087[_0x358087['UNKNOWN_CODE']=0x0]=_0x5c86d9(0x238),_0x358087[_0x358087['OK']=0x1]='OK',_0x358087[_0x358087[_0x5c86d9(0x4b7)]=0x2]=_0x5c86d9(0x4b7),_0x358087[_0x358087[_0x5c86d9(0x404)]=0x3e9]=_0x5c86d9(0x404),_0x358087[_0x358087[_0x5c86d9(0x1d2)]=0x3ea]=_0x5c86d9(0x1d2),_0x358087[_0x358087[_0x5c86d9(0x397)]=0x3eb]=_0x5c86d9(0x397),_0x358087[_0x358087[_0x5c86d9(0x1f3)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x358087[_0x358087['UNRECOGNIZED']=-0x1]=_0x5c86d9(0x2d5),_0x358087))(ge||{}),Ei=(_0x493f88=>(_0x493f88[_0x493f88[_0x5c86d9(0x4c7)]=0x0]=_0x5c86d9(0x4c7),_0x493f88[_0x493f88[_0x5c86d9(0x2fb)]=0x1]=_0x5c86d9(0x2fb),_0x493f88[_0x493f88[_0x5c86d9(0x350)]=0x2]='HttpExport',_0x493f88[_0x493f88[_0x5c86d9(0x4c8)]=0x3]=_0x5c86d9(0x4c8),_0x493f88[_0x493f88[_0x5c86d9(0x490)]=0x4]='UnitSnapshot',_0x493f88[_0x493f88[_0x5c86d9(0x2d5)]=-0x1]=_0x5c86d9(0x2d5),_0x493f88))(Ei||{});const q=_0x5c86d9(0x273),An={};var se=(_0x254739=>(_0x254739[_0x5c86d9(0x39a)]=_0x5c86d9(0x39a),_0x254739[_0x5c86d9(0x41d)]='PERMISSION_DENIED',_0x254739[_0x5c86d9(0x211)]=_0x5c86d9(0x211),_0x254739[_0x5c86d9(0x4da)]=_0x5c86d9(0x4da),_0x254739[_0x5c86d9(0x340)]=_0x5c86d9(0x340),_0x254739[_0x5c86d9(0x416)]=_0x5c86d9(0x416),_0x254739['SOCKET_FAILED']=_0x5c86d9(0x39b),_0x254739[_0x5c86d9(0x477)]=_0x5c86d9(0x477),_0x254739))(se||{});class pe{constructor(){var _0x22006c=_0x5c86d9;N(this,_0x22006c(0x219),new _0x338582()),N(this,_0x22006c(0x263),this[_0x22006c(0x219)][_0x22006c(0x24a)]());}[_0x5c86d9(0x1eb)](_0x1548d8){var _0x3a9386=_0x5c86d9;this[_0x3a9386(0x219)][_0x3a9386(0x34b)](_0x1548d8);}}const Pn=_0x1f8ad0(_0x5c86d9(0x4c4));function xn(_0x2a3bb2){var _0x27c744=_0x5c86d9,_0x531bc4,_0x3aced3,_0x53c58b,_0x2f9dd7,_0x3f5085;const _0xaa4e2d=_0x2a3bb2[_0x27c744(0x35c)],_0x3ab83a=JSON['parse'](_0xaa4e2d);switch(_0x3ab83a[_0x27c744(0x25c)]){case F['HEARTBEAT']:case F[_0x27c744(0x1e6)]:{const _0x54555f=_0x3ab83a[_0x27c744(0x43d)];return{..._0x3ab83a,'data':_0x54555f,'cmd':_0x3ab83a['cmd']};}case F[_0x27c744(0x2a3)]:{const _0x8c607c=_0x3ab83a[_0x27c744(0x2b7)];return{..._0x3ab83a,'data':_0x8c607c,'cmd':_0x3ab83a[_0x27c744(0x25c)]};}case F['RECV']:{const _0xb8472a=_0x3ab83a[_0x27c744(0x209)];switch(_0xb8472a['eventID']){case _0x271488['PERMISSION_REJ']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':(_0x531bc4=_0xb8472a[_0x27c744(0x2d1)])==null?void 0x0:_0x531bc4['cs']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488['CHANGESET_ACK']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':(_0x3aced3=_0xb8472a[_0x27c744(0x3e3)])==null?void 0x0:_0x3aced3['cs']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x49d)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':(_0x53c58b=_0xb8472a[_0x27c744(0x222)])==null?void 0x0:_0x53c58b['cs']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x496)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':(_0x2f9dd7=_0xb8472a[_0x27c744(0x48b)])==null?void 0x0:_0x2f9dd7['cs']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488['CHANGESET_SHOULD_RETRY']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':(_0x3f5085=_0xb8472a[_0x27c744(0x2e9)])==null?void 0x0:_0x3f5085['cs']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x31a)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x36b)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x250)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a['joinEvent']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x325)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x337)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488['LIVESHARE_NEW_HOST']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x1cc)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488['LIVESHARE_FETCH_OPERATIONS']:case _0x271488[_0x27c744(0x31b)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x280)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x480)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x1cc)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x4b4)]:return{..._0x3ab83a,'data':_0xb8472a,'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488['COMMENT_UPDATE']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x210)]},'cmd':_0x3ab83a['cmd']};case _0x271488['UPDATE_PERMISSION_OBJ']:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a['updatePermissionObjEvent']},'cmd':_0x3ab83a['cmd']};case _0x271488[_0x27c744(0x4d2)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a[_0x27c744(0x48f)]},'cmd':_0x3ab83a[_0x27c744(0x25c)]};case _0x271488[_0x27c744(0x398)]:return{..._0x3ab83a,'data':{..._0xb8472a,'data':_0xb8472a['uniscriptRunEvent']},'cmd':_0x3ab83a[_0x27c744(0x25c)]};default:return _0x3ab83a;}}default:return _0x3ab83a;}}function Ln(_0x163fbf){var _0x1c412c=_0x5c86d9;switch(_0x163fbf[_0x1c412c(0x25c)]){case F[_0x1c412c(0x1d8)]:case F[_0x1c412c(0x1e6)]:return JSON[_0x1c412c(0x448)]({'cmd':_0x163fbf[_0x1c412c(0x25c)],'routeKey':_0x163fbf[_0x1c412c(0x378)]});case F[_0x1c412c(0x26a)]:{let _0xf9bf74;switch(_0x163fbf['data'][_0x1c412c(0x441)]){case _0x271488['UPDATE_CURSOR']:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x31a)],'updateCursorEvent':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488['USERS_LEAVE']:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x325)],'leaveEvent':_0x163fbf['data'][_0x1c412c(0x35c)]};break;}case _0x271488['USERS_ENTER']:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x250)],'joinEvent':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488[_0x1c412c(0x324)]:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x324)],'liveShareNewHost':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488[_0x1c412c(0x31b)]:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x31b)],'liveShareOperation':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488[_0x1c412c(0x480)]:{_0xf9bf74={'eventID':_0x271488['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488[_0x1c412c(0x3cb)]:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x3cb)],'liveShareRequestHost':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x35c)]};break;}case _0x271488['LIVESHARE_FETCH_OPERATIONS']:{_0xf9bf74={'eventID':_0x271488[_0x1c412c(0x4cd)]};break;}default:_0xf9bf74={'eventID':_0x163fbf[_0x1c412c(0x35c)][_0x1c412c(0x441)]};}return JSON[_0x1c412c(0x448)]({'cmd':_0x163fbf[_0x1c412c(0x25c)],'routeKey':_0x163fbf[_0x1c412c(0x378)],'collaMsg':_0xf9bf74});}case F['JOIN']:return JSON['stringify']({'cmd':_0x163fbf[_0x1c412c(0x25c)],'routeKey':_0x163fbf[_0x1c412c(0x378)],'joinReq':_0x163fbf['data']});case F[_0x1c412c(0x3d5)]:return JSON[_0x1c412c(0x448)]({'cmd':_0x163fbf[_0x1c412c(0x25c)],'routeKey':_0x163fbf['routeKey'],'leaveReq':_0x163fbf['data']});default:throw new Error(_0x1c412c(0x380));}}var Mn=Object[_0x5c86d9(0x20c)],kn=(_0x421d96,_0x20c9a9,_0x27400c,_0x540360)=>{var _0x437abb=_0x5c86d9;for(var _0x12d1f8=_0x540360>0x1?void 0x0:_0x540360?Mn(_0x20c9a9,_0x27400c):_0x20c9a9,_0x373341=_0x421d96[_0x437abb(0x1f6)]-0x1,_0x4c69c0;_0x373341>=0x0;_0x373341--)(_0x4c69c0=_0x421d96[_0x373341])&&(_0x12d1f8=_0x4c69c0(_0x12d1f8)||_0x12d1f8);return _0x12d1f8;},we=(_0x34c3ed,_0x2d45a1)=>(_0x4af0c8,_0x4298dc)=>_0x2d45a1(_0x4af0c8,_0x4298dc,_0x34c3ed);const Ii=_0x1f8ad0(_0x5c86d9(0x2b2));function $n(_0x19c57d,_0x3d092e,_0xd74f9){var _0x1b93a2=_0x5c86d9;return _0x19c57d+'/'+_0x3d092e+_0x1b93a2(0x395)+_0xd74f9+_0x1b93a2(0x33a);}let Gt=class extends _0x160920{constructor(_0x21c4b1,_0x55eb05,_0x8032f7,_0x1aee5b,_0x56ae8e){var _0xb05014=_0x5c86d9;super(),this[_0xb05014(0x343)]=_0x21c4b1,this[_0xb05014(0x391)]=_0x55eb05,this[_0xb05014(0x2eb)]=_0x8032f7,this[_0xb05014(0x4ca)]=_0x1aee5b,this[_0xb05014(0x2c8)]=_0x56ae8e;}[_0x5c86d9(0x225)](_0x353050){var _0x5473f0=_0x5c86d9;const _0x1a1667=this[_0x5473f0(0x343)][_0x5473f0(0x308)](_0x21714a);if(!_0x1a1667)throw new Error(_0x5473f0(0x299));const _0x90e0f4=_0x1a1667['createSocket'](_0x353050);if(!_0x90e0f4)throw new Error(_0x5473f0(0x3da));const _0x1258e0=new _0x3f7dc3(),_0x77d64f=new _0x338582();_0x1258e0[_0x5473f0(0x28d)](_0x90e0f4[_0x5473f0(0x21d)][_0x5473f0(0x28f)](_0x237450=>_0x77d64f['next'](_0x237450))),_0x1258e0[_0x5473f0(0x28d)](_0x23373e(()=>_0x77d64f[_0x5473f0(0x3e5)]()));const _0x5b3f3c=new _0x338582();_0x1258e0['add'](_0x90e0f4[_0x5473f0(0x1dc)]['subscribe'](_0x1a9753=>_0x5b3f3c[_0x5473f0(0x34b)](_0x1a9753))),_0x1258e0[_0x5473f0(0x28d)](_0x23373e(()=>_0x5b3f3c['complete']()));const _0x37e94e=new _0x338582();_0x1258e0[_0x5473f0(0x28d)](_0x90e0f4[_0x5473f0(0x368)][_0x5473f0(0x28f)](_0x1a06b2=>{var _0x403b87=_0x5473f0;const _0x172cc2=xn(_0x1a06b2);_0x37e94e[_0x403b87(0x34b)](_0x172cc2);})),_0x1258e0[_0x5473f0(0x28d)](_0x23373e(()=>_0x37e94e[_0x5473f0(0x3e5)]()));let _0x4e24ca;const _0x58a1df=()=>{var _0x38c45a=_0x5473f0;_0x5b3f3c['next'](new Event('connection\x20error')),_0x77d64f[_0x38c45a(0x34b)](new Event(_0x38c45a(0x396))),_0x4e24ca[_0x38c45a(0x352)]();};return _0x4e24ca={'memberID':'','close$':_0x77d64f['asObservable'](),'error$':_0x5b3f3c[_0x5473f0(0x24a)](),'open$':_0x90e0f4[_0x5473f0(0x43f)],'message$':_0x37e94e['asObservable'](),'send':_0x397b09=>{var _0x2529eb=_0x5473f0;if(_0x397b09[_0x2529eb(0x25c)]===F[_0x2529eb(0x26a)]){if(_0x397b09[_0x2529eb(0x35c)][_0x2529eb(0x441)]===_0x271488[_0x2529eb(0x2d9)]){this[_0x2529eb(0x3f6)](_0x4e24ca,_0x397b09[_0x2529eb(0x35c)])[_0x2529eb(0x213)](_0x30e528=>{this['_logService']['error'](_0x30e528),_0x58a1df();});return;}if(_0x397b09[_0x2529eb(0x35c)][_0x2529eb(0x441)]===_0x271488['FETCH_MISSING']){const _0x5864d1=_0x397b09['data'];this[_0x2529eb(0x2ca)](_0x5864d1)['then'](_0x443821=>{var _0x525809=_0x2529eb;_0x37e94e[_0x525809(0x34b)]({'cmd':F[_0x525809(0x457)],'code':ge['OK'],'routeKey':_0x5864d1[_0x525809(0x35c)][_0x525809(0x3ef)],'routeType':'','data':{'eventID':_0x271488['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x443821}}});})['catch'](_0x10ab61=>{var _0x317413=_0x2529eb;this['_logService'][_0x317413(0x26d)](_0x10ab61),_0x58a1df();});return;}}_0x90e0f4[_0x2529eb(0x241)](Ln(_0x397b09));},'close':()=>{var _0x59e5f6=_0x5473f0;_0x90e0f4[_0x59e5f6(0x352)](),_0x1258e0[_0x59e5f6(0x2d4)]();}},_0x4e24ca;}async[_0x5c86d9(0x3f6)](_0x2e1ecc,_0xf468b9){var _0x136a28=_0x5c86d9,_0xb7d2f8,_0x1bb810;const {unitType:_0x5c1987,unitID:_0x2db1b3,changeset:_0x9feea}=_0xf468b9[_0x136a28(0x35c)],_0xc52aa8={'unitID':_0x2db1b3,'memberID':_0x2e1ecc[_0x136a28(0x2d7)],'type':_0x5c1987,'changeset':_0x5b98bd(_0x9feea)},_0x816fd5=this[_0x136a28(0x2eb)][_0x136a28(0x246)](Nn),_0x5001d0=this[_0x136a28(0x2eb)][_0x136a28(0x246)](q),_0x314017=$n((_0x1bb810=(_0xb7d2f8=_0x5001d0==null?void 0x0:_0x5001d0[_0x136a28(0x3f4)])!=null?_0xb7d2f8:_0x816fd5)!=null?_0x1bb810:Dn,_0x5c1987,_0x2db1b3);try{await this['_httpService']['post'](_0x314017,{'body':_0xc52aa8});}catch(_0x3adfb8){throw this[_0x136a28(0x4ca)][_0x136a28(0x26d)](_0x136a28(0x262),'submit\x20changeset\x20error!'),_0x3adfb8;}}async[_0x5c86d9(0x2ca)](_0x323c84){var _0xd086a=_0x5c86d9;const {unitID:_0x580712,from:_0x21bf74,to:_0x10e83c,unitType:_0x5c54f2}=_0x323c84[_0xd086a(0x35c)];return(await this[_0xd086a(0x2c8)][_0xd086a(0x4bf)]({'metadata':void 0x0},{'unitID':_0x580712,'type':_0x5c54f2,'from':_0x21bf74,'to':_0x10e83c}))[_0xd086a(0x420)];}};Gt=kn([we(0x0,_0x5ebbff(_0x47b6c6)),we(0x1,_0x5ebbff(_0x217687)),we(0x2,_0x3ada0c),we(0x3,_0x274a32),we(0x4,_0x840cb7)],Gt);const Hn=_0x5c86d9(0x41f);function Bn(_0x3c9f61){var _0x39ac88=_0x5c86d9;return JSON[_0x39ac88(0x448)](_0x3c9f61)[_0x39ac88(0x1f6)];}class Ti{constructor(){var _0x5a0ce9=_0x5c86d9;N(this,'_commentUpdate$',new _0x338582()),N(this,_0x5a0ce9(0x2a4),this[_0x5a0ce9(0x3b4)][_0x5a0ce9(0x24a)]());}['onCommentUpdate'](_0x4fea55){var _0x4991de=_0x5c86d9;this[_0x4991de(0x3b4)][_0x4991de(0x34b)](_0x4fea55);}}var jn=Object[_0x5c86d9(0x20c)],Fn=(_0x5e7f38,_0x2e2368,_0x50160e,_0x5a426c)=>{var _0x1de44e=_0x5c86d9;for(var _0x1a85ff=_0x5a426c>0x1?void 0x0:_0x5a426c?jn(_0x2e2368,_0x50160e):_0x2e2368,_0x232e43=_0x5e7f38[_0x1de44e(0x1f6)]-0x1,_0x509c3f;_0x232e43>=0x0;_0x232e43--)(_0x509c3f=_0x5e7f38[_0x232e43])&&(_0x1a85ff=_0x509c3f(_0x1a85ff)||_0x1a85ff);return _0x1a85ff;},Wt=(_0x5c8d05,_0xdad372)=>(_0xae6973,_0x24c951)=>_0xdad372(_0xae6973,_0x24c951,_0x5c8d05);let xe=class extends _0x160920{constructor(_0x2f766c,_0x43e545){var _0x41d1a3=_0x5c86d9;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x338582()),(this['_univerInstanceService']=_0x2f766c,this['_userManagerService']=_0x43e545,this[_0x41d1a3(0x27e)](_0x1ac615(this[_0x41d1a3(0x31e)][_0x41d1a3(0x1cb)](_0x1b0f05[_0x41d1a3(0x4bb)])[_0x41d1a3(0x207)](_0x5d1df9(_0x33e702=>_0x33e702[_0x41d1a3(0x3ae)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1b0f05[_0x41d1a3(0x356)])[_0x41d1a3(0x207)](_0x5d1df9(_0x194c60=>_0x194c60[_0x41d1a3(0x3ae)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1b0f05['UNIVER_SLIDE'])[_0x41d1a3(0x207)](_0x5d1df9(_0x43b34c=>_0x43b34c['getUnitId']())))[_0x41d1a3(0x28f)](_0x1715d6=>this[_0x41d1a3(0x30c)](_0x1715d6))));}[_0x5c86d9(0x298)](_0x4cf807){var _0x95e264=_0x5c86d9;return this[_0x95e264(0x23f)][_0x95e264(0x4a0)](_0x4cf807)?_0x296c57(this[_0x95e264(0x23f)][_0x95e264(0x308)](_0x4cf807)):this[_0x95e264(0x369)][_0x95e264(0x207)](_0x5d1df9(_0x2e0171=>{var _0x4fd11d=_0x95e264;if(_0x2e0171===_0x4cf807)return this[_0x4fd11d(0x23f)][_0x4fd11d(0x308)](_0x2e0171);}));}[_0x5c86d9(0x1ee)](_0x133c86){var _0x3a64f9=_0x5c86d9;this[_0x3a64f9(0x296)][_0x3a64f9(0x1ee)](_0x133c86);}[_0x5c86d9(0x348)](){var _0x148ccc=_0x5c86d9;return this[_0x148ccc(0x296)][_0x148ccc(0x348)]();}[_0x5c86d9(0x22e)](_0x9e4f76,_0x4c886d){var _0x1e341f=_0x5c86d9;let _0x2aa54c=this['_roomMembers'][_0x1e341f(0x308)](_0x9e4f76);_0x2aa54c||(_0x2aa54c=new Vn(),this['_roomMembers'][_0x1e341f(0x2cf)](_0x9e4f76,_0x2aa54c),this[_0x1e341f(0x369)]['next'](_0x9e4f76)),_0x2aa54c['updateMember'](_0x4c886d);}[_0x5c86d9(0x203)](_0x4056ca,_0x11de50){var _0x298059=_0x5c86d9;const _0x94cc31=this[_0x298059(0x23f)][_0x298059(0x308)](_0x4056ca);_0x94cc31&&_0x94cc31[_0x298059(0x203)](_0x11de50);}[_0x5c86d9(0x415)](_0x2b6cb0){var _0x47bb1f=_0x5c86d9;return this[_0x47bb1f(0x23f)][_0x47bb1f(0x308)](_0x2b6cb0);}[_0x5c86d9(0x35b)](_0x270d39,_0x2189c4){var _0x238d8b=_0x5c86d9;const _0x38f234=this[_0x238d8b(0x23f)][_0x238d8b(0x308)](_0x270d39);if(_0x38f234)return _0x38f234[_0x238d8b(0x35b)](_0x2189c4);}['_removeRoom'](_0x4c72e0){var _0x14e933=_0x5c86d9;const _0x21f1e4=this[_0x14e933(0x23f)][_0x14e933(0x308)](_0x4c72e0);_0x21f1e4&&(_0x21f1e4[_0x14e933(0x2d4)](),this['_roomMembers']['delete'](_0x4c72e0));}[_0x5c86d9(0x2d4)](){var _0xaab4f4=_0x5c86d9;this[_0xaab4f4(0x23f)]['forEach'](_0x57e239=>_0x57e239[_0xaab4f4(0x2d4)]()),this[_0xaab4f4(0x23f)][_0xaab4f4(0x38d)](),this[_0xaab4f4(0x369)][_0xaab4f4(0x3e5)]();}};xe=Fn([Wt(0x0,_0x54a9fc),Wt(0x1,_0x5ebbff(_0x54fa0a))],xe);class Vn extends _0x160920{constructor(){var _0x39d24f=_0x5c86d9;super(...arguments),N(this,_0x39d24f(0x445),new Map()),N(this,_0x39d24f(0x479),new _0x5352cc(this[_0x39d24f(0x445)])),N(this,'members$',this['_members$'][_0x39d24f(0x24a)]());}[_0x5c86d9(0x2d4)](){var _0x58ce8d=_0x5c86d9;this[_0x58ce8d(0x445)][_0x58ce8d(0x38d)]();}['updateMember'](_0x10a6ed){var _0x415041=_0x5c86d9;this[_0x415041(0x445)]['set'](_0x10a6ed['memberID'],_0x10a6ed),this[_0x415041(0x473)]();}[_0x5c86d9(0x203)](_0x1b19ff){var _0x1c70f3=_0x5c86d9;this[_0x1c70f3(0x445)][_0x1c70f3(0x3b9)](_0x1b19ff);}['getMember'](_0x3b7be0){var _0x1e1af3=_0x5c86d9;return this['_members'][_0x1e1af3(0x308)](_0x3b7be0);}[_0x5c86d9(0x256)](){var _0x2aef40=_0x5c86d9;return Array[_0x2aef40(0x42d)](this[_0x2aef40(0x445)][_0x2aef40(0x33f)]());}[_0x5c86d9(0x473)](){var _0x404230=_0x5c86d9;this['_members$']['next'](this[_0x404230(0x445)]);}}var Gn=Object[_0x5c86d9(0x20c)],Wn=(_0x1c1303,_0xfe527b,_0x13625e,_0x1f341a)=>{var _0x257805=_0x5c86d9;for(var _0x219e5e=_0x1f341a>0x1?void 0x0:_0x1f341a?Gn(_0xfe527b,_0x13625e):_0xfe527b,_0x446712=_0x1c1303[_0x257805(0x1f6)]-0x1,_0x4b2b16;_0x446712>=0x0;_0x446712--)(_0x4b2b16=_0x1c1303[_0x446712])&&(_0x219e5e=_0x4b2b16(_0x219e5e)||_0x219e5e);return _0x219e5e;},me=(_0x396857,_0x46aa51)=>(_0x5914a3,_0x18d5c5)=>_0x46aa51(_0x5914a3,_0x18d5c5,_0x396857),Ee=(_0x4c084f=>(_0x4c084f[_0x4c084f[_0x5c86d9(0x435)]=0x0]=_0x5c86d9(0x435),_0x4c084f[_0x4c084f[_0x5c86d9(0x354)]=0x1]=_0x5c86d9(0x354),_0x4c084f[_0x4c084f[_0x5c86d9(0x2ad)]=0x2]=_0x5c86d9(0x2ad),_0x4c084f[_0x4c084f['ONLINE']=0x3]=_0x5c86d9(0x3f1),_0x4c084f))(Ee||{});const Kt={[ge[_0x5c86d9(0x4b7)]]:'session.join-failed',[ge[_0x5c86d9(0x404)]]:_0x5c86d9(0x286),[ge[_0x5c86d9(0x1d2)]]:_0x5c86d9(0x1df),[ge[_0x5c86d9(0x397)]]:_0x5c86d9(0x45b),[ge[_0x5c86d9(0x1f3)]]:_0x5c86d9(0x4a7)};let Et=class extends _0x26efdb{constructor(_0x4e8464,_0x19b308,_0x28532b,_0x5906f6,_0x4393a9,_0x1df410,_0x3f9e8a,_0x26cbd3,_0x327089){var _0x450752=_0x5c86d9;super(),N(this,_0x450752(0x392),new _0x5352cc(0x0)),N(this,_0x450752(0x3b3),this[_0x450752(0x392)]['asObservable']()),N(this,_0x450752(0x219),new _0x338582()),N(this,_0x450752(0x263),this[_0x450752(0x219)][_0x450752(0x24a)]()),N(this,'_socket'),N(this,_0x450752(0x2f1)),N(this,_0x450752(0x1f4)),N(this,_0x450752(0x237),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x4e8464,this[_0x450752(0x4ca)]=_0x28532b,this[_0x450752(0x2eb)]=_0x5906f6,this[_0x450752(0x36c)]=_0x4393a9,this[_0x450752(0x3ee)]=_0x1df410,this[_0x450752(0x460)]=_0x3f9e8a,this['_collaborationUIEventService']=_0x26cbd3,this[_0x450752(0x1f9)]=_0x327089,this[_0x450752(0x237)]=!!this['_telemetryService'],_0x19b308[_0x450752(0x207)](_0xb60b95(this[_0x450752(0x243)]))[_0x450752(0x28f)](_0x33b75a=>{var _0x1a5737=_0x450752,_0x1df136;typeof _0x33b75a>'u'||(this[_0x1a5737(0x293)]=_0x33b75a,_0x33b75a?(this[_0x1a5737(0x494)](_0x33b75a),this[_0x1a5737(0x2f1)]=_0x33b75a[_0x1a5737(0x368)]['subscribe'](_0x134c33=>{var _0x5a58d5=_0x1a5737;_0x134c33['routeKey']===this['_unitID']&&this[_0x5a58d5(0x334)](_0x134c33);})):(this[_0x1a5737(0x21e)](),this[_0x1a5737(0x392)][_0x1a5737(0x34b)](0x2),(_0x1df136=this[_0x1a5737(0x2f1)])==null||_0x1df136['unsubscribe'](),this[_0x1a5737(0x2f1)]=null));}));}get[_0x5c86d9(0x236)](){var _0x26085c=_0x5c86d9;return this['_sessionStatus$'][_0x26085c(0x1d3)]();}[_0x5c86d9(0x360)](){var _0x2b58d4=_0x5c86d9,_0x327602,_0x2d3d70;return(_0x2d3d70=(_0x327602=this['_socket'])==null?void 0x0:_0x327602[_0x2b58d4(0x2d7)])!=null?_0x2d3d70:null;}[_0x5c86d9(0x2d4)](){var _0x34984f=_0x5c86d9;super[_0x34984f(0x2d4)](),this[_0x34984f(0x243)][_0x34984f(0x34b)](),this[_0x34984f(0x243)][_0x34984f(0x3e5)]();}[_0x5c86d9(0x352)](){var _0x2284f3=_0x5c86d9,_0x4532ae,_0x1af1b2;this[_0x2284f3(0x21e)](),(_0x4532ae=this[_0x2284f3(0x293)])==null||_0x4532ae[_0x2284f3(0x241)]({'cmd':F[_0x2284f3(0x3d5)],'data':{'roomID':this[_0x2284f3(0x206)]}}),(_0x1af1b2=this['_socket'])==null||_0x1af1b2['close'](),this[_0x2284f3(0x219)][_0x2284f3(0x3e5)](),this[_0x2284f3(0x392)][_0x2284f3(0x3e5)](),this['dispose']();}['_onCombEvent'](_0x477c83){var _0x22db72=_0x5c86d9;_0x477c83['cmd']===F[_0x22db72(0x2a3)]?this[_0x22db72(0x36e)](_0x477c83):_0x477c83[_0x22db72(0x25c)]===F[_0x22db72(0x457)]&&this['_onRecvEvent'](_0x477c83);}[_0x5c86d9(0x494)](_0xb6d36d){var _0x37f758=_0x5c86d9;this[_0x37f758(0x392)][_0x37f758(0x34b)](0x1),_0xb6d36d[_0x37f758(0x241)]({'cmd':F[_0x37f758(0x2a3)],'routeKey':this[_0x37f758(0x206)],'routeType':'','data':{'rooms':[{'roomID':this[_0x37f758(0x206)]}]}});}[_0x5c86d9(0x36e)](_0xb1cd5c){var _0x8ec137=_0x5c86d9,_0x1deeea;if(_0xb1cd5c[_0x8ec137(0x1d1)]in Kt){this[_0x8ec137(0x29b)][_0x8ec137(0x1eb)]({'id':se[_0x8ec137(0x340)],'data':Kt[_0xb1cd5c['code']]}),this[_0x8ec137(0x392)][_0x8ec137(0x34b)](0x2);return;}this[_0x8ec137(0x392)][_0x8ec137(0x34b)](0x3);const _0x9344b0=(_0x1deeea=_0xb1cd5c[_0x8ec137(0x35c)][_0x8ec137(0x2e1)][this[_0x8ec137(0x206)]])==null?void 0x0:_0x1deeea[_0x8ec137(0x46e)];_0x9344b0&&_0x9344b0[_0x8ec137(0x459)](_0x2232b1=>this[_0x8ec137(0x3ee)][_0x8ec137(0x22e)](this[_0x8ec137(0x206)],_0x2232b1));}[_0x5c86d9(0x26b)](_0x1463f3){var _0x3fb284=_0x5c86d9;try{const _0x45b60b=_0x1463f3[_0x3fb284(0x35c)];switch(_0x45b60b['eventID']){case _0x271488[_0x3fb284(0x250)]:this[_0x3fb284(0x323)](_0x45b60b),this[_0x3fb284(0x219)][_0x3fb284(0x34b)](_0x45b60b);break;case _0x271488[_0x3fb284(0x325)]:this['_onUserLeave'](_0x45b60b),this['_event$'][_0x3fb284(0x34b)](_0x45b60b);break;case _0x271488[_0x3fb284(0x439)]:case _0x271488[_0x3fb284(0x471)]:this[_0x3fb284(0x431)](),this[_0x3fb284(0x212)](),this['_event$']['next'](_0x45b60b);break;case _0x271488[_0x3fb284(0x4b4)]:this[_0x3fb284(0x4ca)][_0x3fb284(0x26d)](_0x3fb284(0x1dd)+JSON[_0x3fb284(0x448)](_0x45b60b)),this[_0x3fb284(0x219)]['next'](_0x45b60b);break;case _0x271488[_0x3fb284(0x23a)]:this[_0x3fb284(0x460)][_0x3fb284(0x4ae)](_0x45b60b[_0x3fb284(0x35c)]),this['_event$'][_0x3fb284(0x34b)](_0x45b60b);break;default:this[_0x3fb284(0x219)][_0x3fb284(0x34b)](_0x45b60b);}}catch(_0x225569){this[_0x3fb284(0x4ca)][_0x3fb284(0x26d)](_0x225569,_0x1463f3);}}[_0x5c86d9(0x323)](_0x536851){var _0xa0eee8=_0x5c86d9;this['_memberService'][_0xa0eee8(0x22e)](this[_0xa0eee8(0x206)],_0x536851[_0xa0eee8(0x35c)]);}['_onUserLeave'](_0x37c2a3){var _0x3c2b97=_0x5c86d9;this[_0x3c2b97(0x3ee)]['removeMember'](this['_unitID'],_0x37c2a3[_0x3c2b97(0x35c)][_0x3c2b97(0x2d7)]);}async[_0x5c86d9(0x241)](_0x2f54c0,_0x504347){var _0xd78f44=_0x5c86d9;if(this[_0xd78f44(0x236)]!==0x3||!this[_0xd78f44(0x293)])throw new Error(_0xd78f44(0x3fe));try{_0x2f54c0[_0xd78f44(0x441)]===_0x271488[_0xd78f44(0x2d9)]&&(this[_0xd78f44(0x472)](),this[_0xd78f44(0x32f)](_0x2f54c0)),this[_0xd78f44(0x293)][_0xd78f44(0x241)]({'cmd':F[_0xd78f44(0x26a)],'routeKey':_0x504347,'routeType':'','data':_0x2f54c0});}catch(_0x54a59c){this['_logService'][_0xd78f44(0x26d)](_0x54a59c);}}['_scheduleCollaborationTimeoutTimer'](){var _0x593664=_0x5c86d9,_0x455a93;this[_0x593664(0x1f4)]=setTimeout(()=>{var _0x3b8559=_0x593664;this[_0x3b8559(0x1f4)]=null,this[_0x3b8559(0x29b)]['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x455a93=this[_0x593664(0x2eb)][_0x593664(0x246)](mi))!=null?_0x455a93:gi);}[_0x5c86d9(0x212)](){var _0x1b5fb4=_0x5c86d9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1b5fb4(0x1f4)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x151acc){var _0x5c0032=_0x5c86d9;if(!this[_0x5c0032(0x237)])return;const {data:_0x17b488}=_0x151acc,{unitID:_0x17bd2c,changeset:_0x519ff2}=_0x17b488,{mutations:_0x5a3fae,type:_0x484efb}=_0x519ff2;this[_0x5c0032(0x249)]={'unitId':_0x17bd2c,'type':_0x484efb,'startTime':performance[_0x5c0032(0x4be)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5a3fae)};}[_0x5c86d9(0x431)](){var _0x132f58=_0x5c86d9;if(this['_shouldReportTelemetry']){if(!this[_0x132f58(0x249)]){this[_0x132f58(0x4ca)][_0x132f58(0x26d)](_0x132f58(0x262),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x132f58(0x249)][_0x132f58(0x31f)]=performance[_0x132f58(0x4be)](),this[_0x132f58(0x249)][_0x132f58(0x223)]=this[_0x132f58(0x249)]['stopTime']-this[_0x132f58(0x249)]['startTime'],this['_telemetryService'][_0x132f58(0x3c9)](Hn,this[_0x132f58(0x249)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x52b46f=_0x5c86d9;this[_0x52b46f(0x249)]=null;}};Et=Wn([me(0x2,_0x274a32),me(0x3,_0x3ada0c),me(0x4,_0x5ebbff(_0x369acd)),me(0x5,_0x5ebbff(xe)),me(0x6,_0x5ebbff(Ti)),me(0x7,_0x5ebbff(pe)),me(0x8,_0xaad32d(_0xae1289))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x28dbf6,_0x12c550,_0xf3f8,_0x394a42)=>{var _0x501559=_0x5c86d9;for(var _0x3d25d6=_0x394a42>0x1?void 0x0:_0x394a42?Kn(_0x12c550,_0xf3f8):_0x12c550,_0x318b31=_0x28dbf6[_0x501559(0x1f6)]-0x1,_0x136f2c;_0x318b31>=0x0;_0x318b31--)(_0x136f2c=_0x28dbf6[_0x318b31])&&(_0x3d25d6=_0x136f2c(_0x3d25d6)||_0x3d25d6);return _0x3d25d6;},be=(_0x27d0fc,_0x42e305)=>(_0x3bb543,_0x366d1b)=>_0x42e305(_0x3bb543,_0x366d1b,_0x27d0fc);let Le=class extends _0x160920{constructor(_0x299797,_0x426e67,_0x5b35ee,_0x391fcc,_0x3b21f5,_0x35041d){var _0x206e2c=_0x5c86d9;super(),N(this,_0x206e2c(0x3b7),new _0x5352cc(void 0x0)),N(this,_0x206e2c(0x3f0),this['_socket$'][_0x206e2c(0x24a)]()),N(this,_0x206e2c(0x3f8),null),N(this,_0x206e2c(0x468),new Map()),N(this,_0x206e2c(0x3ca),new _0x5352cc(Ee['IDLE'])),N(this,_0x206e2c(0x455),this[_0x206e2c(0x3ca)][_0x206e2c(0x24a)]()),N(this,'_socketReady',!0x1),N(this,_0x206e2c(0x1f2)),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x299797,this[_0x206e2c(0x4ca)]=_0x426e67,this[_0x206e2c(0x2eb)]=_0x5b35ee,this[_0x206e2c(0x37f)]=_0x391fcc,this[_0x206e2c(0x29b)]=_0x3b21f5,this['_networkConditionService']=_0x35041d,this[_0x206e2c(0x25e)]());}get[_0x5c86d9(0x293)](){var _0x4724af=_0x5c86d9;return this[_0x4724af(0x3b7)]['getValue']();}[_0x5c86d9(0x25e)](){var _0x21a092=_0x5c86d9;this[_0x21a092(0x2f8)]&&this[_0x21a092(0x27e)](this[_0x21a092(0x2f8)]['online$'][_0x21a092(0x28f)](_0x391cb7=>{var _0x4d5d8b=_0x21a092;_0x391cb7&&!this['_socket']&&this[_0x4d5d8b(0x464)](),_0x391cb7||this[_0x4d5d8b(0x2b8)]();}));}[_0x5c86d9(0x2d4)](){var _0x661e53=_0x5c86d9;super[_0x661e53(0x2d4)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x661e53(0x468)][_0x661e53(0x459)](_0x5b4869=>_0x5b4869['dispose']()),this[_0x661e53(0x468)][_0x661e53(0x38d)](),this[_0x661e53(0x3ca)]['complete']();}async['requireSession'](_0x155dd6){var _0x594973=_0x5c86d9;if(this[_0x594973(0x468)][_0x594973(0x4a0)](_0x155dd6))return this[_0x594973(0x468)][_0x594973(0x308)](_0x155dd6);this[_0x594973(0x2be)]();const _0x57b373=this[_0x594973(0x343)][_0x594973(0x4d7)](Et,_0x155dd6,this[_0x594973(0x3b7)]['asObservable']());return this[_0x594973(0x468)][_0x594973(0x2cf)](_0x155dd6,_0x57b373),_0x57b373;}[_0x5c86d9(0x1d0)](_0x2bb209){var _0x5213b3=_0x5c86d9,_0x1e6fca;const _0x463949=this[_0x5213b3(0x468)][_0x5213b3(0x308)](_0x2bb209);_0x463949&&(this[_0x5213b3(0x468)]['delete'](_0x2bb209),_0x463949[_0x5213b3(0x352)]()),this[_0x5213b3(0x468)][_0x5213b3(0x2c9)]||(_0x1e6fca=this[_0x5213b3(0x293)])==null||_0x1e6fca[_0x5213b3(0x352)]();}['reconnect'](){var _0x9a514d=_0x5c86d9;this['_retryCount']=0x0,this[_0x9a514d(0x371)](),this[_0x9a514d(0x1de)]();}[_0x5c86d9(0x371)](){var _0xb932d3=_0x5c86d9;this[_0xb932d3(0x1f2)]!=null&&(clearTimeout(this[_0xb932d3(0x1f2)]),this[_0xb932d3(0x1f2)]=null);}async[_0x5c86d9(0x330)](){var _0x4d9108=_0x5c86d9,_0x32960a,_0x1fdf3d;const _0x38325f=this[_0x4d9108(0x2eb)][_0x4d9108(0x246)](In),_0x449fec=this[_0x4d9108(0x2eb)][_0x4d9108(0x246)](q),_0x5de291=(_0x1fdf3d=(_0x32960a=_0x449fec==null?void 0x0:_0x449fec[_0x4d9108(0x28a)])!=null?_0x32960a:_0x38325f)!=null?_0x1fdf3d:Tn,_0x61e146=await this[_0x4d9108(0x37f)][_0x4d9108(0x1fc)](_0x5de291);return this[_0x4d9108(0x3f8)]=_0x61e146,_0x61e146;}async['_tryEnsureSocket'](){var _0x254251=_0x5c86d9,_0x136918,_0x118c46;try{const _0x18ea22=(_0x118c46=(_0x136918=this[_0x254251(0x293)])!=null?_0x136918:this[_0x254251(0x3f8)])!=null?_0x118c46:await this[_0x254251(0x330)]();if(_0x18ea22){const _0x79bdc3=_0x18ea22[_0x254251(0x241)];_0x18ea22['send']=_0x535645=>(this[_0x254251(0x39d)](),_0x79bdc3[_0x254251(0x276)](_0x18ea22,[_0x535645])),_0x18ea22['message$'][_0x254251(0x28f)](_0x994d72=>this[_0x254251(0x228)](_0x18ea22,_0x994d72)),_0x18ea22['error$'][_0x254251(0x207)](_0xbce555(0x1))[_0x254251(0x28f)](_0x382b07=>this[_0x254251(0x4ca)][_0x254251(0x26d)]('[CollaborationSessionService]:\x20socket\x20error',_0x382b07)),_0x18ea22['open$'][_0x254251(0x207)](_0xbce555(0x1))[_0x254251(0x28f)](()=>{var _0x120f8e=_0x254251;this[_0x120f8e(0x30e)](_0x18ea22);}),_0x18ea22[_0x254251(0x21d)][_0x254251(0x207)](_0xbce555(0x1))[_0x254251(0x28f)](_0x26c048=>{var _0x3e0231=_0x254251;this['_logService'][_0x3e0231(0x233)]('[CollaborationSessionService]',_0x3e0231(0x458),_0x26c048),this[_0x3e0231(0x4d0)]();});}}catch(_0x5bbfc8){this[_0x254251(0x4ca)][_0x254251(0x26d)](_0x5bbfc8),this[_0x254251(0x4d0)]();}}[_0x5c86d9(0x30e)](_0x4ee289){var _0x4fce09=_0x5c86d9;this[_0x4fce09(0x4ca)][_0x4fce09(0x233)](_0x4fce09(0x34a),_0x4fce09(0x4aa)),_0x4ee289[_0x4fce09(0x241)]({'cmd':F[_0x4fce09(0x1e6)]}),this['_rescheduleHeartbeat']();}[_0x5c86d9(0x2b8)](){var _0x5e38ad=_0x5c86d9;this['_socketReady']=!0x1,this[_0x5e38ad(0x3f8)]=null,this[_0x5e38ad(0x3ca)][_0x5e38ad(0x34b)](Ee[_0x5e38ad(0x2ad)]),this[_0x5e38ad(0x3b7)][_0x5e38ad(0x34b)](null),this[_0x5e38ad(0x498)](),this[_0x5e38ad(0x37c)]();}[_0x5c86d9(0x4d0)](){var _0x111869=_0x5c86d9,_0x329bb3;this[_0x111869(0x2b8)](),this[_0x111869(0x4d4)]<((_0x329bb3=this[_0x111869(0x2eb)][_0x111869(0x246)](yn))!=null?_0x329bb3:On)?(this[_0x111869(0x29b)][_0x111869(0x1eb)]({'id':se[_0x111869(0x416)]}),this['_tryReconnect']()):this[_0x111869(0x29b)][_0x111869(0x1eb)]({'id':se[_0x111869(0x39b)]});}['_tryReconnect'](){var _0x4ba222=_0x5c86d9,_0x3775a9;const _0x10849c=this[_0x4ba222(0x4d4)],_0x2fd49b=this[_0x4ba222(0x2eb)][_0x4ba222(0x246)](q),_0x540b6d=_0x10849c===0x0?0x0:((_0x3775a9=_0x2fd49b==null?void 0x0:_0x2fd49b[_0x4ba222(0x24c)])!=null?_0x3775a9:bn)*0x2**_0x10849c;this[_0x4ba222(0x1f2)]=setTimeout(()=>{var _0x2525c5=_0x4ba222;clearTimeout(this['_retryConnectingTimer']),this[_0x2525c5(0x1f2)]=null,this[_0x2525c5(0x2be)]();},_0x540b6d),this['_retryCount']+=0x1;}['_onMessage'](_0xb89719,_0x15a344){var _0x2f978a=_0x5c86d9;const {cmd:_0x399775}=_0x15a344;_0x399775===F['HELLO']&&!this[_0x2f978a(0x363)]&&(_0xb89719[_0x2f978a(0x2d7)]=_0x15a344[_0x2f978a(0x35c)][_0x2f978a(0x2d7)],this['_socket$']['next'](_0xb89719),this['_status$'][_0x2f978a(0x34b)](Ee[_0x2f978a(0x3f1)]),this[_0x2f978a(0x363)]=!0x0,this[_0x2f978a(0x3f8)]=null),_0x399775===F[_0x2f978a(0x1d8)]&&this[_0x2f978a(0x498)](),this[_0x2f978a(0x39d)]();}[_0x5c86d9(0x39d)](){var _0x2434db=_0x5c86d9,_0x355d4d;this[_0x2434db(0x37c)](),this[_0x2434db(0x418)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x355d4d=this[_0x2434db(0x2eb)][_0x2434db(0x246)](Cn))!=null?_0x355d4d:Rn);}[_0x5c86d9(0x1c7)](){var _0x471202=_0x5c86d9;this[_0x471202(0x293)][_0x471202(0x241)]({'cmd':F[_0x471202(0x1d8)]}),this[_0x471202(0x21a)]();}[_0x5c86d9(0x21a)](){var _0x154e3d=_0x5c86d9,_0x29cfb8;this[_0x154e3d(0x272)]=setTimeout(()=>this[_0x154e3d(0x4d0)](),(_0x29cfb8=this[_0x154e3d(0x2eb)][_0x154e3d(0x246)](mi))!=null?_0x29cfb8:gi);}[_0x5c86d9(0x37c)](){var _0x4f8bf8=_0x5c86d9;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4f8bf8(0x418)]),this[_0x4f8bf8(0x418)]=null);}[_0x5c86d9(0x498)](){var _0x4a5223=_0x5c86d9;this[_0x4a5223(0x272)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4a5223(0x272)]=null);}};Le=Yn([be(0x0,_0x5ebbff(_0x47b6c6)),be(0x1,_0x274a32),be(0x2,_0x3ada0c),be(0x3,Ii),be(0x4,_0x5ebbff(pe)),be(0x5,_0xaad32d(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x5c86d9(0x2d6)](0x10)[_0x5c86d9(0x4c2)](0x1));function qn(_0x2c6189,_0x47ad55=0x0){return(V[_0x2c6189[_0x47ad55+0x0]]+V[_0x2c6189[_0x47ad55+0x1]]+V[_0x2c6189[_0x47ad55+0x2]]+V[_0x2c6189[_0x47ad55+0x3]]+'-'+V[_0x2c6189[_0x47ad55+0x4]]+V[_0x2c6189[_0x47ad55+0x5]]+'-'+V[_0x2c6189[_0x47ad55+0x6]]+V[_0x2c6189[_0x47ad55+0x7]]+'-'+V[_0x2c6189[_0x47ad55+0x8]]+V[_0x2c6189[_0x47ad55+0x9]]+'-'+V[_0x2c6189[_0x47ad55+0xa]]+V[_0x2c6189[_0x47ad55+0xb]]+V[_0x2c6189[_0x47ad55+0xc]]+V[_0x2c6189[_0x47ad55+0xd]]+V[_0x2c6189[_0x47ad55+0xe]]+V[_0x2c6189[_0x47ad55+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x260377=_0x5c86d9;if(!ut){if(typeof crypto>'u'||!crypto[_0x260377(0x376)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x260377(0x376)][_0x260377(0x1fe)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x5c86d9(0x4bd)]&&crypto[_0x5c86d9(0x4bd)][_0x5c86d9(0x1fe)](crypto),Yt={'randomUUID':Xn};function Zn(_0x323b6b,_0x1916fc,_0x50b3c3){var _0x467eee=_0x5c86d9,_0x724533,_0x2876ee,_0x459bfd;if(Yt[_0x467eee(0x4bd)]&&!_0x323b6b)return Yt['randomUUID']();_0x323b6b=_0x323b6b||{};const _0x5cbe76=(_0x459bfd=(_0x2876ee=_0x323b6b[_0x467eee(0x414)])!=null?_0x2876ee:(_0x724533=_0x323b6b['rng'])==null?void 0x0:_0x724533['call'](_0x323b6b))!=null?_0x459bfd:Jn();if(_0x5cbe76['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5cbe76[0x6]=_0x5cbe76[0x6]&0xf|0x40,_0x5cbe76[0x8]=_0x5cbe76[0x8]&0x3f|0x80,qn(_0x5cbe76);}const J=_0x1f8ad0(_0x5c86d9(0x3eb));function Bs(_0x458f79){var _0x56c69b=_0x5c86d9;return _0x56c69b(0x383)+_0x458f79;}var Qn=Object[_0x5c86d9(0x20c)],er=(_0x54b419,_0x47e829,_0x1bad76,_0x3ba606)=>{for(var _0x5c540a=_0x3ba606>0x1?void 0x0:_0x3ba606?Qn(_0x47e829,_0x1bad76):_0x47e829,_0x3a31ab=_0x54b419['length']-0x1,_0x1d75c8;_0x3a31ab>=0x0;_0x3a31ab--)(_0x1d75c8=_0x54b419[_0x3a31ab])&&(_0x5c540a=_0x1d75c8(_0x5c540a)||_0x5c540a);return _0x5c540a;},dt=(_0x52cdd1,_0x2476bb)=>(_0x37b118,_0x3c82c7)=>_0x2476bb(_0x37b118,_0x3c82c7,_0x52cdd1);function tr(_0x100002){var _0x2b3e93=_0x5c86d9;const {unitID:_0x20be5d,mutations:_0x31922d}=_0x100002;return{'unitId':_0x20be5d,'subUnitId':_0x31922d[0x0]['params'][_0x2b3e93(0x329)]};}let it=class{constructor(_0x170108,_0x1ac184,_0x46027d){var _0x4829be=_0x5c86d9;this['_injector']=_0x170108,this[_0x4829be(0x22f)]=_0x1ac184,this['_instanceService']=_0x46027d;}[_0x5c86d9(0x406)](_0x442847){var _0x2113f8=_0x5c86d9,_0x1ea94c,_0x48ed0d,_0x3b3f35,_0x331cfc;const _0x11a896=this['_injector'][_0x2113f8(0x308)](_0x349b4e),{unitId:_0x34a639,subUnitId:_0x1a5461}=tr(_0x442847),_0x3fd20b=_0x11a896==null?void 0x0:_0x11a896[_0x2113f8(0x41e)](_0x34a639)[_0x2113f8(0x467)](),_0x58fc33=(_0x48ed0d=(_0x1ea94c=this['_instanceService']['getUnit'](_0x34a639))==null?void 0x0:_0x1ea94c[_0x2113f8(0x3fa)]())==null?void 0x0:_0x48ed0d[_0x2113f8(0x408)]();if(_0x3fd20b['length']===0x0||!_0x34a639||!_0x1a5461)return;const _0x554949=[{'id':_0x466067['id'],'params':{'unitId':_0x34a639,'subUnitId':_0x58fc33,'selections':_0x37af3f[_0x2113f8(0x3e7)](_0x3fd20b)}}],_0x3c5763=this[_0x2113f8(0x22f)][_0x2113f8(0x451)](_0x442847,_0x554949);if(!_0x19d8fa(_0x3c5763))throw _0x3c5763['error'];const _0x19bb21=(_0x331cfc=(_0x3b3f35=_0x3c5763[_0x2113f8(0x25d)][0x0])==null?void 0x0:_0x3b3f35[_0x2113f8(0x3db)])==null?void 0x0:_0x331cfc[_0x2113f8(0x475)];if(Array[_0x2113f8(0x24e)](_0x19bb21)&&_0x19bb21[_0x2113f8(0x1f6)]){if(_0x19bb21[_0x2113f8(0x1f6)]===_0x554949[0x0][_0x2113f8(0x3db)][_0x2113f8(0x475)][_0x2113f8(0x1f6)]&&_0x19bb21['every']((_0x2bb180,_0xc6239c)=>_0x2114f3[_0x2113f8(0x1da)](_0x2bb180[_0x2113f8(0x1e5)],_0x554949[0x0][_0x2113f8(0x3db)][_0x2113f8(0x475)][_0xc6239c][_0x2113f8(0x1e5)])))return;this['_injector'][_0x2113f8(0x308)](_0x247ed0)[_0x2113f8(0x45c)](_0x466067['id'],{'unitId':_0x34a639,'subUnitId':_0x58fc33,'selections':_0x19bb21});}}};it=er([dt(0x0,_0x5ebbff(_0x47b6c6)),dt(0x1,_0x37f922),dt(0x2,_0x54a9fc)],it);const ht=_0x1f8ad0('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x55661b=>(_0x55661b[_0x55661b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x5c86d9(0x379),_0x55661b[_0x55661b[_0x5c86d9(0x266)]=0x1]=_0x5c86d9(0x266),_0x55661b))(Ci||{});const ir=new Set([_0x4bdbff['id']]);function qt(_0xf2930,_0x2a9364,_0x20b294,_0x3bfd6b,_0x1a4729){var _0x22890a=_0x5c86d9,_0x4c909c,_0x10ccea,_0x7c40bc,_0x3d8a21;const _0x38049e=[];for(const _0x4812e1 of _0xf2930)if(ir['has'](_0x4812e1['id'])){if(_0x38049e[_0x22890a(0x1f6)]>0x0)break;_0x38049e[_0x22890a(0x2c3)](_0x4812e1);break;}else _0x38049e[_0x22890a(0x2c3)](_0x4812e1);const _0x73b9=(_0x10ccea=(_0x4c909c=_0x1a4729['getCurrentUser']())==null?void 0x0:_0x4c909c[_0x22890a(0x487)])!=null?_0x10ccea:_0x22890a(0x3be),_0x2e6391=(_0x3d8a21=(_0x7c40bc=_0x1a4729[_0x22890a(0x348)]())==null?void 0x0:_0x7c40bc['memberID'])!=null?_0x3d8a21:_0x22890a(0x3be);return{'changeset':{'unitID':_0x2a9364,'type':_0x4b924a(_0x20b294[_0x22890a(0x1e7)](_0x2a9364)),'baseRev':_0x3bfd6b['getCurrentRevOfUnit'](_0x2a9364),'revision':0x0,'userID':_0x73b9,'memberID':_0x2e6391,'mutations':_0x38049e},'pendingMutations':_0xf2930[_0x22890a(0x4c2)](_0x38049e['length'])};}function nr(_0x31a9cf,_0x4ccba8,_0x216e51,_0x40cfb5,_0x4e9222){var _0x2f7fdd=_0x5c86d9,_0x9e6531,_0x512ac9,_0x3a6866,_0x21c5c5;const _0x14fcf2=[_0x31a9cf[_0x2f7fdd(0x4b0)]((_0x5438de,_0x40e9b2)=>{var _0x1fd7ee=_0x2f7fdd,_0x58bb45;const {id:_0x4bf610}=_0x5438de,{id:_0x2b68cb,type:_0x3c7d4d}=_0x40e9b2,_0xf92732=(_0x58bb45=_0x5438de[_0x1fd7ee(0x3db)])!=null?_0x58bb45:{'actions':null},_0xec294b=_0x40e9b2[_0x1fd7ee(0x3db)];if(_0x4bf610&&_0x4bf610!==_0x2b68cb)throw new Error(_0x1fd7ee(0x407)+_0x4bf610+_0x1fd7ee(0x23d)+_0x2b68cb+'.');return{..._0x5438de,'id':_0x2b68cb,'type':_0x3c7d4d,'params':{'unitId':_0xec294b[_0x1fd7ee(0x4b3)],'textRanges':_0xec294b[_0x1fd7ee(0x499)],'actions':_0x1b54fc[_0x1fd7ee(0x3f7)](_0xf92732[_0x1fd7ee(0x44a)],_0xec294b[_0x1fd7ee(0x44a)])}};},{})],_0x3bb1db=(_0x512ac9=(_0x9e6531=_0x4e9222[_0x2f7fdd(0x348)]())==null?void 0x0:_0x9e6531[_0x2f7fdd(0x487)])!=null?_0x512ac9:_0x2f7fdd(0x3be),_0x292178=(_0x21c5c5=(_0x3a6866=_0x4e9222[_0x2f7fdd(0x348)]())==null?void 0x0:_0x3a6866['memberID'])!=null?_0x21c5c5:_0x2f7fdd(0x3be);return{'changeset':{'unitID':_0x4ccba8,'type':_0x4b924a(_0x216e51[_0x2f7fdd(0x1e7)](_0x4ccba8)),'baseRev':_0x40cfb5['getCurrentRevOfUnit'](_0x4ccba8),'revision':0x0,'userID':_0x3bb1db,'memberID':_0x292178,'mutations':_0x14fcf2},'pendingMutations':[]};}function Ri(_0x464288,_0x23a1b7){var _0x45d262=_0x5c86d9;const _0x165bae=new _0x3b3a68(0x1);return setTimeout(()=>_0x165bae[_0x45d262(0x34b)](_0x23a1b7),_0x464288),_0x165bae[_0x45d262(0x24a)]()[_0x45d262(0x207)](_0x2123d2(0x1));}const rr={'id':_0x2f3870['id'],'type':_0x49999d[_0x5c86d9(0x3ab)],'params':{}};var sr=Object[_0x5c86d9(0x20c)],Te=(_0x2e678d,_0x356d1d,_0x119a80,_0x2315f2)=>{var _0x59544a=_0x5c86d9;for(var _0x3c24b0=_0x2315f2>0x1?void 0x0:_0x2315f2?sr(_0x356d1d,_0x119a80):_0x356d1d,_0x1226fc=_0x2e678d[_0x59544a(0x1f6)]-0x1,_0x177c81;_0x1226fc>=0x0;_0x1226fc--)(_0x177c81=_0x2e678d[_0x1226fc])&&(_0x3c24b0=_0x177c81(_0x3c24b0)||_0x3c24b0);return _0x3c24b0;},P=(_0x159749,_0x45c9aa)=>(_0x582695,_0x51601b)=>_0x45c9aa(_0x582695,_0x51601b,_0x159749),bi=(_0x1ef14c=>(_0x1ef14c[_0x5c86d9(0x4a8)]=_0x5c86d9(0x40b),_0x1ef14c[_0x5c86d9(0x35d)]=_0x5c86d9(0x285),_0x1ef14c[_0x5c86d9(0x32e)]=_0x5c86d9(0x1ca),_0x1ef14c[_0x5c86d9(0x34f)]='awaiting',_0x1ef14c[_0x5c86d9(0x3c0)]=_0x5c86d9(0x39c),_0x1ef14c[_0x5c86d9(0x339)]=_0x5c86d9(0x366),_0x1ef14c[_0x5c86d9(0x211)]='conflict',_0x1ef14c[_0x5c86d9(0x2ad)]=_0x5c86d9(0x37d),_0x1ef14c))(bi||{});const yi=0xea60;class Ce{constructor(_0xa263f4,_0x59adc2,_0x1ad38b,_0x3bcd4d,_0xab4c73,_0x1ff836,_0x111cd4,_0xb633fc,_0x412047){var _0x26414c=_0x5c86d9;N(this,_0x26414c(0x2a8),null),N(this,_0x26414c(0x410),[]),(this[_0x26414c(0x3ef)]=_0xa263f4,this[_0x26414c(0x328)]=_0x59adc2,this['_handler']=_0xab4c73,this[_0x26414c(0x335)]=_0x1ff836,this['_undoRedoService']=_0x111cd4,this['_revisionService']=_0xb633fc,this[_0x26414c(0x313)]=_0x412047,this['_awaitingChangeset']=_0x1ad38b,this[_0x26414c(0x410)]=_0x3bcd4d);}[_0x5c86d9(0x462)](_0x2701e5){var _0x589a6d=_0x5c86d9;const _0x5c990f=this[_0x589a6d(0x342)][_0x589a6d(0x1ea)](this['unitID']);return _0x2701e5[_0x589a6d(0x305)]>_0x5c990f+0x1?(this[_0x589a6d(0x381)]['onMissingChangesets']({'from':_0x5c990f,'to':_0x2701e5[_0x589a6d(0x305)]-0x1}),!0x0):!0x1;}[_0x5c86d9(0x26e)](_0x59a714){var _0x11c5e3=_0x5c86d9;this['_undoRedoService'][_0x11c5e3(0x40c)](this[_0x11c5e3(0x3ef)],_0x59a714);}[_0x5c86d9(0x4b9)](_0x3aec7a){var _0x4ae3a1=_0x5c86d9,_0x47c1bf,_0xcd6999;(_0xcd6999=(_0x47c1bf=this[_0x4ae3a1(0x381)])[_0x4ae3a1(0x2ab)])==null||_0xcd6999['call'](_0x47c1bf,_0x3aec7a);}[_0x5c86d9(0x3d7)](_0x30412f){var _0x1717fa=_0x5c86d9,_0xd34639,_0xf78f4b;return(_0xf78f4b=(_0xd34639=this[_0x1717fa(0x381)])[_0x1717fa(0x34d)])==null?void 0x0:_0xf78f4b[_0x1717fa(0x49f)](_0xd34639,_0x30412f);}['_transformStateCache'](_0x42d6d1){var _0x146381=_0x5c86d9,_0x128087,_0x2c2c21;return(_0x2c2c21=(_0x128087=this['_handler'])[_0x146381(0x2e7)])==null?void 0x0:_0x2c2c21['call'](_0x128087,_0x42d6d1);}[_0x5c86d9(0x1ce)](_0x19a427){var _0x2d9c56=_0x5c86d9,_0x1a9bea,_0x32c567,_0x1d50f1;return(_0x1d50f1=(_0x32c567=(_0x1a9bea=this[_0x2d9c56(0x381)])[_0x2d9c56(0x271)])==null?void 0x0:_0x32c567[_0x2d9c56(0x49f)](_0x1a9bea,_0x19a427))!=null?_0x1d50f1:_0x19a427;}[_0x5c86d9(0x46d)](_0x22ad3c){var _0x4a6b8c=_0x5c86d9,_0x2659f4,_0x370edb,_0x565c08;return(_0x565c08=(_0x370edb=(_0x2659f4=this[_0x4a6b8c(0x381)])[_0x4a6b8c(0x402)])==null?void 0x0:_0x370edb[_0x4a6b8c(0x49f)](_0x2659f4,_0x22ad3c))!=null?_0x565c08:_0x22ad3c;}[_0x5c86d9(0x35f)](_0x2ea835){var _0x8bb57b=_0x5c86d9,_0x17c63e,_0x318e38;if(this[_0x8bb57b(0x328)]===Q[_0x8bb57b(0x356)]){const {unitID:_0x4529fe,mutations:_0x42fad8,memberID:_0x37a2af}=_0x2ea835,_0x1bc1e2=_0x42fad8[0x0]['params'][_0x8bb57b(0x499)];Array[_0x8bb57b(0x24e)](_0x1bc1e2)&&_0x1bc1e2[_0x8bb57b(0x1f6)]>0x0&&((_0x318e38=(_0x17c63e=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x318e38[_0x8bb57b(0x49f)](_0x17c63e,{'unitID':_0x4529fe,'memberID':_0x37a2af,'textRanges':_0x1bc1e2}));}}['_updateLocalCache'](){var _0x264c54=_0x5c86d9,_0x2257d3;(_0x2257d3=this[_0x264c54(0x313)])==null||_0x2257d3[_0x264c54(0x48d)](this[_0x264c54(0x3ef)],this['type'],this[_0x264c54(0x2a8)],this[_0x264c54(0x410)]);}[_0x5c86d9(0x224)](){var _0x407d59=_0x5c86d9;return this[_0x407d59(0x342)][_0x407d59(0x1ea)](this[_0x407d59(0x3ef)]);}[_0x5c86d9(0x4c1)](){var _0x22ae2a=_0x5c86d9;this[_0x22ae2a(0x342)][_0x22ae2a(0x48c)](this[_0x22ae2a(0x3ef)]);}[_0x5c86d9(0x424)](_0x43b69a){var _0x49d24b=_0x5c86d9,_0x4723ab;let _0x127ee5=this[_0x49d24b(0x1ce)](_0x43b69a);_0x127ee5=this[_0x49d24b(0x46d)](_0x127ee5);const _0x4c97bd=_0x347c98(_0x127ee5[_0x49d24b(0x1fa)],this[_0x49d24b(0x335)],{'fromCollab':!0x0});if(!_0x4c97bd[_0x49d24b(0x3c4)])throw _0x4c97bd[_0x49d24b(0x26d)]instanceof Error?_0x4c97bd[_0x49d24b(0x26d)]:new Error((_0x4723ab=_0x4c97bd[_0x49d24b(0x26d)])!=null?_0x4723ab:_0x49d24b(0x2c6));this[_0x49d24b(0x3d7)](_0x127ee5),this[_0x49d24b(0x4ab)](_0x127ee5),this[_0x49d24b(0x26e)](_0x43b69a),this['_transformSelections'](_0x127ee5),this[_0x49d24b(0x35f)](_0x127ee5),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x34093b,_0x234243,_0x57ae14,_0x4b9ba7,_0x14e974,_0x279f48,_0x587902,_0x1f9e41,_0x1d0ebf,_0x266e85){var _0x3376e1=_0x5c86d9;super(_0x34093b,_0x234243,null,[],_0x57ae14,_0x587902,_0x279f48,_0x4b9ba7,_0x266e85),N(this,_0x3376e1(0x2fa),_0x3376e1(0x285)),(this[_0x3376e1(0x343)]=_0x14e974,this[_0x3376e1(0x4ca)]=_0x1f9e41,this['_transformService']=_0x1d0ebf,this['localCacheService']=_0x266e85);}[_0x5c86d9(0x2c1)](_0x15aaff){var _0x40172a=_0x5c86d9;const _0x27701c=this['_injector']['createInstance'](ae,this[_0x40172a(0x3ef)],this[_0x40172a(0x328)],[_0x15aaff],this['_handler']);return _0x27701c['_schedule'](),_0x27701c[_0x40172a(0x43b)](),_0x27701c;}[_0x5c86d9(0x221)](_0xb3fcee){var _0x1a232e=_0x5c86d9;if(this[_0x1a232e(0x462)](_0xb3fcee))return this[_0x1a232e(0x343)][_0x1a232e(0x4d7)](ee,this[_0x1a232e(0x3ef)],this[_0x1a232e(0x328)],null,[],null,[_0xb3fcee],this[_0x1a232e(0x381)]);try{const _0x830880=this[_0x1a232e(0x22f)]['transformMutationsWithChangeset'](_0xb3fcee,[rr]);if(_0x19d8fa(_0x830880)){const {c1Prime:_0x221637}=_0x830880;return this[_0x1a232e(0x424)](_0x221637),this;}throw _0x830880[_0x1a232e(0x26d)];}catch(_0x9073e7){return this[_0x1a232e(0x4ca)][_0x1a232e(0x26d)](_0x9073e7),this['_onConflict'](!0x1);}}['_onConflict'](_0x2e0059){var _0xbad787=_0x5c86d9;return this[_0xbad787(0x343)][_0xbad787(0x4d7)](ue,this['unitID'],this[_0xbad787(0x328)],null,[],this['_handler'],_0x2e0059);}['onRemoteAck'](){var _0xf9eeec=_0x5c86d9;throw new Error(_0xf9eeec(0x3c5));}[_0x5c86d9(0x23b)](){var _0x26db3e=_0x5c86d9;throw new Error(_0x26db3e(0x4a9));}[_0x5c86d9(0x2d3)](){return this;}[_0x5c86d9(0x4b2)](){var _0x283bb7=_0x5c86d9;return this['_injector'][_0x283bb7(0x4d7)](de,this[_0x283bb7(0x3ef)],this[_0x283bb7(0x328)],null,[],this[_0x283bb7(0x381)]);}['toggleOnline'](){return this;}[_0x5c86d9(0x497)](){var _0x358fe7=_0x5c86d9;throw new Error(_0x358fe7(0x28e));}['fetchMiss'](){var _0x266fdb=_0x5c86d9;const _0x19d283=this['_revisionService'][_0x266fdb(0x1ea)](this['unitID']);return this[_0x266fdb(0x381)]['onMissingChangesets']({'from':_0x19d283,'to':0x0}),this[_0x266fdb(0x343)][_0x266fdb(0x4d7)](ee,this['unitID'],this[_0x266fdb(0x328)],null,[],null,[],this[_0x266fdb(0x381)]);}};Ne=Te([P(0x3,_0x5ebbff(_0x554a95)),P(0x4,_0x5ebbff(_0x47b6c6)),P(0x5,_0x5c1562),P(0x6,_0x247ed0),P(0x7,_0x274a32),P(0x8,_0x37f922),P(0x9,_0xaad32d(J))],Ne);let ae=class extends Ce{constructor(_0x829027,_0x59dae6,_0x2232df,_0x49957e,_0x3201a4,_0x349318,_0x54ccd3,_0x24e039,_0x3f14bf,_0x1743e5,_0x2a4488,_0x1a6c5c,_0xd2b81b,_0x32f62e){var _0x1be71b=_0x5c86d9;super(_0x829027,_0x59dae6,null,_0x2232df,_0x49957e,_0x3f14bf,_0xd2b81b,_0x349318,_0x32f62e),N(this,_0x1be71b(0x2fa),'pending'),N(this,_0x1be71b(0x28c),null),N(this,_0x1be71b(0x3a0),null),(this['_injector']=_0x3201a4,this[_0x1be71b(0x3ee)]=_0x54ccd3,this[_0x1be71b(0x4ca)]=_0x24e039,this[_0x1be71b(0x2eb)]=_0x1743e5,this[_0x1be71b(0x22f)]=_0x2a4488,this[_0x1be71b(0x31e)]=_0x1a6c5c);}['appendMutation'](_0x5c9277){var _0x57bf89=_0x5c86d9;return this['_pendingMutations']['push'](_0x5c9277),this[_0x57bf89(0x43b)](),this;}[_0x5c86d9(0x221)](_0x23c1ac){var _0x55f59b=_0x5c86d9;if(this['_checkMissing'](_0x23c1ac))return this[_0x55f59b(0x375)](),this[_0x55f59b(0x343)][_0x55f59b(0x4d7)](ee,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x23c1ac],this[_0x55f59b(0x381)]);try{const _0x2dc6af=this[_0x55f59b(0x22f)]['transformMutationsWithChangeset'](_0x23c1ac,this['_pendingMutations']);if(_0x19d8fa(_0x2dc6af)){const {c1Prime:_0x1638d9,m2Prime:_0x25fece}=_0x2dc6af;this['_executeRemoteChangeset'](_0x1638d9);const _0x4f3480=this[_0x55f59b(0x343)][_0x55f59b(0x4d7)](ae,this[_0x55f59b(0x3ef)],this[_0x55f59b(0x328)],_0x25fece,this[_0x55f59b(0x381)]);this[_0x55f59b(0x375)]();const _0x587ad5=new Date()[_0x55f59b(0x32a)](),_0x35202c=this['_scheduleCompleteTimestamp']?Math[_0x55f59b(0x35a)](this[_0x55f59b(0x28c)]-_0x587ad5,0x0):this['_getSendChangesetTimeout']();return _0x4f3480[_0x55f59b(0x303)](_0x35202c),_0x4f3480;}throw _0x2dc6af[_0x55f59b(0x26d)];}catch(_0x2a4414){return this[_0x55f59b(0x4ca)][_0x55f59b(0x26d)](_0x2a4414),this[_0x55f59b(0x37e)](!0x1);}}[_0x5c86d9(0x30f)](){var _0x15d1df=_0x5c86d9;throw new Error(_0x15d1df(0x1e0));}[_0x5c86d9(0x23b)](){var _0x42ba67=_0x5c86d9;throw new Error(_0x42ba67(0x3bc));}['onRemoteRetry'](){return this;}[_0x5c86d9(0x4b2)](){var _0x1deea2=_0x5c86d9;return this[_0x1deea2(0x375)](),this[_0x1deea2(0x343)]['createInstance'](de,this[_0x1deea2(0x3ef)],this['type'],null,this[_0x1deea2(0x410)],this[_0x1deea2(0x381)]);}['toggleOnline'](){return this;}[_0x5c86d9(0x303)](_0x3f623c){var _0xaa5852=_0x5c86d9;const _0x3a6934=_0x3f623c!=null?_0x3f623c:this[_0xaa5852(0x40e)]();this[_0xaa5852(0x28c)]=new Date()[_0xaa5852(0x32a)]()+_0x3a6934,this['_sendingTimer']=setTimeout(()=>{var _0x57b045=_0xaa5852;this[_0x57b045(0x375)]();let _0x2be8cd=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x2be8cd=qt(this[_0x57b045(0x410)],this['unitID'],this[_0x57b045(0x31e)],this[_0x57b045(0x342)],this[_0x57b045(0x3ee)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x57b045(0x425)](_0x181b65=>_0x181b65['id']===_0x2612bb['id'])?_0x2be8cd=nr(this[_0x57b045(0x410)],this[_0x57b045(0x3ef)],this[_0x57b045(0x31e)],this[_0x57b045(0x342)],this['_memberService']):_0x2be8cd=qt(this['_pendingMutations'],this[_0x57b045(0x3ef)],this[_0x57b045(0x31e)],this['_revisionService'],this[_0x57b045(0x3ee)]);break;}default:throw new Error(_0x57b045(0x484)+this[_0x57b045(0x328)]+_0x57b045(0x434));}const {changeset:_0x50f792,pendingMutations:_0x20c906}=_0x2be8cd;this[_0x57b045(0x381)][_0x57b045(0x320)](_0x50f792);const _0x577ab8=_0x20c906[_0x57b045(0x1f6)]?this[_0x57b045(0x343)][_0x57b045(0x4d7)](oe,this[_0x57b045(0x3ef)],this[_0x57b045(0x328)],_0x50f792,_0x20c906,this[_0x57b045(0x381)],void 0x0):this[_0x57b045(0x343)]['createInstance'](le,this[_0x57b045(0x3ef)],this[_0x57b045(0x328)],_0x50f792,this['_handler']);_0x577ab8[_0x57b045(0x43b)](),this['_handler'][_0x57b045(0x389)](this,_0x577ab8);},_0x3a6934);}[_0x5c86d9(0x40e)](){var _0x78e3d4=_0x5c86d9,_0x5e3404;const _0x398062=this[_0x78e3d4(0x2eb)]['getConfig'](q);return(_0x5e3404=_0x398062==null?void 0x0:_0x398062[_0x78e3d4(0x1e4)])!=null?_0x5e3404:En;}[_0x5c86d9(0x497)](){var _0x171855=_0x5c86d9;throw new Error(_0x171855(0x3a8));}[_0x5c86d9(0x375)](){var _0x4c67a2=_0x5c86d9;this[_0x4c67a2(0x3a0)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4c67a2(0x3a0)]=null);}[_0x5c86d9(0x37e)](_0x5a178e){var _0x39b410=_0x5c86d9;return this['_clearScheduledTask'](),this[_0x39b410(0x343)]['createInstance'](ue,this[_0x39b410(0x3ef)],this[_0x39b410(0x328)],null,this['_pendingMutations'],this['_handler'],_0x5a178e);}};ae=Te([P(0x4,_0x5ebbff(_0x47b6c6)),P(0x5,_0x5ebbff(_0x554a95)),P(0x6,_0x5ebbff(xe)),P(0x7,_0x274a32),P(0x8,_0x247ed0),P(0x9,_0x3ada0c),P(0xa,_0x37f922),P(0xb,_0x54a9fc),P(0xc,_0x5c1562),P(0xd,_0xaad32d(J))],ae);function _0xbb9a(_0x5cf71d,_0x6cf3ba){var _0x38c228=_0x38c2();return _0xbb9a=function(_0xbb9a6d,_0x391b23){_0xbb9a6d=_0xbb9a6d-0x1c6;var _0x5cade6=_0x38c228[_0xbb9a6d];return _0x5cade6;},_0xbb9a(_0x5cf71d,_0x6cf3ba);}let le=class extends Ce{constructor(_0x20f78d,_0x5b8951,_0x16ac19,_0x52b4b2,_0x4314dd,_0x379f88,_0x55e566,_0x4d977e,_0x3e9beb,_0x2d59cc,_0x60f4cd){var _0x4e7d0f=_0x5c86d9;super(_0x20f78d,_0x5b8951,_0x16ac19,[],_0x52b4b2,_0x55e566,_0x2d59cc,_0x379f88,_0x60f4cd),N(this,_0x4e7d0f(0x2fa),_0x4e7d0f(0x454)),N(this,_0x4e7d0f(0x317),0x0),N(this,'_resendTimer'),N(this,_0x4e7d0f(0x261)),(this[_0x4e7d0f(0x343)]=_0x4314dd,this[_0x4e7d0f(0x4ca)]=_0x4d977e,this[_0x4e7d0f(0x22f)]=_0x3e9beb);}[_0x5c86d9(0x2c1)](_0x441083){var _0x4c288c=_0x5c86d9;this[_0x4c288c(0x375)]();const _0x549d1a=this[_0x4c288c(0x343)][_0x4c288c(0x4d7)](oe,this[_0x4c288c(0x3ef)],this[_0x4c288c(0x328)],this[_0x4c288c(0x2a8)],[_0x441083],this[_0x4c288c(0x381)],this[_0x4c288c(0x3a2)]);return _0x549d1a[_0x4c288c(0x43b)](),_0x549d1a;}[_0x5c86d9(0x221)](_0x5e88e4){var _0x44777f=_0x5c86d9;if(this[_0x44777f(0x462)](_0x5e88e4))return this[_0x44777f(0x375)](),this[_0x44777f(0x343)][_0x44777f(0x4d7)](ee,this[_0x44777f(0x3ef)],this[_0x44777f(0x328)],this[_0x44777f(0x2a8)],[],null,[_0x5e88e4],this['_handler']);try{const _0xa3d90=this[_0x44777f(0x22f)][_0x44777f(0x33b)]([_0x5e88e4],[this[_0x44777f(0x2a8)]],!0x1);if(_0xebc62a(_0xa3d90)){const {c1Prime:_0x304c58,c2Prime:_0x4c7ac0}=_0xa3d90;this[_0x44777f(0x424)](_0x304c58[0x0]),_0x4c7ac0[0x0][_0x44777f(0x25b)]=this[_0x44777f(0x224)](),this[_0x44777f(0x375)]();const _0x2d457=this[_0x44777f(0x343)][_0x44777f(0x4d7)](le,this['unitID'],this[_0x44777f(0x328)],_0x4c7ac0[0x0],this[_0x44777f(0x381)]);return _0x2d457['_updateLocalCache'](),_0x2d457;}return this[_0x44777f(0x37e)](!0x1);}catch(_0xb19135){return this[_0x44777f(0x4ca)][_0x44777f(0x26d)](_0xb19135),this[_0x44777f(0x37e)](!0x1);}}[_0x5c86d9(0x30f)](_0x38dff7){var _0x2b5f06=_0x5c86d9;this[_0x2b5f06(0x375)]();const _0x1edf0d=this[_0x2b5f06(0x342)][_0x2b5f06(0x1ea)](this[_0x2b5f06(0x3ef)]);if(_0x38dff7[_0x2b5f06(0x305)]<_0x1edf0d-0x1)return this;if(this['_checkMissing'](_0x38dff7))return this[_0x2b5f06(0x343)][_0x2b5f06(0x4d7)](ee,this['unitID'],this['type'],null,[],this[_0x2b5f06(0x2a8)],[],this[_0x2b5f06(0x381)]);this['_incrementRevisionNumber']();const _0x257ad7=this['_injector']['createInstance'](Ne,this[_0x2b5f06(0x3ef)],this[_0x2b5f06(0x328)],this['_handler']);return _0x257ad7[_0x2b5f06(0x43b)](),_0x257ad7;}[_0x5c86d9(0x23b)](_0x5af4a7){var _0x1e2a60=_0x5c86d9;return this[_0x1e2a60(0x37e)](!!(_0x5af4a7!=null&&_0x5af4a7['isPermissionRej']));}[_0x5c86d9(0x2d3)](_0x49f1e5){var _0x43861c=_0x5c86d9;return this[_0x43861c(0x317)]>yi?this[_0x43861c(0x4b2)]():(this[_0x43861c(0x3a2)]=Ri(this[_0x43861c(0x317)],{'timeout':this[_0x43861c(0x317)],'reqId':_0x49f1e5[_0x43861c(0x4d8)]}),this[_0x43861c(0x261)]=this[_0x43861c(0x3a2)][_0x43861c(0x28f)](({reqId:_0x19266f,timeout:_0x3a8fa9})=>{var _0x5240fc=_0x43861c;this[_0x5240fc(0x26c)](_0x19266f,_0x3a8fa9);}),this);}['toggleOffline'](){var _0x2b48e7=_0x5c86d9;return this[_0x2b48e7(0x375)](),this[_0x2b48e7(0x343)]['createInstance'](de,this[_0x2b48e7(0x3ef)],this[_0x2b48e7(0x328)],this[_0x2b48e7(0x2a8)],[],this['_handler']);}[_0x5c86d9(0x3fd)](){return this;}[_0x5c86d9(0x497)](){var _0x2fd512=_0x5c86d9;this[_0x2fd512(0x381)]['onSendChangeset'](this[_0x2fd512(0x2a8)]);}['_onConflict'](_0x406a7){var _0x277f2c=_0x5c86d9;return this[_0x277f2c(0x375)](),this['_injector'][_0x277f2c(0x4d7)](ue,this[_0x277f2c(0x3ef)],this[_0x277f2c(0x328)],this[_0x277f2c(0x2a8)],[],this[_0x277f2c(0x381)],_0x406a7);}[_0x5c86d9(0x26c)](_0xfc95dd,_0x510f18){var _0x4b78e8=_0x5c86d9,_0x39fa90;_0xfc95dd===((_0x39fa90=this[_0x4b78e8(0x2a8)])==null?void 0x0:_0x39fa90[_0x4b78e8(0x4d8)])&&(this[_0x4b78e8(0x497)](),this[_0x4b78e8(0x317)]=_0x510f18===0x0?0x3e8:_0x510f18*0x2);}[_0x5c86d9(0x375)](){var _0x211b87=_0x5c86d9,_0x6ad7cb;(_0x6ad7cb=this[_0x211b87(0x261)])==null||_0x6ad7cb[_0x211b87(0x204)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x5ebbff(_0x47b6c6)),P(0x5,_0x5ebbff(_0x554a95)),P(0x6,_0x247ed0),P(0x7,_0x274a32),P(0x8,_0x37f922),P(0x9,_0x5c1562),P(0xa,_0xaad32d(J))],le);let oe=class extends Ce{constructor(_0x12cda9,_0x774f14,_0x1d4823,_0x298ff6,_0x11aeba,_0x311a92,_0x182f35,_0x266e43,_0x23064b,_0x297d9b,_0x5ae31c,_0x223b94,_0x35f40c){var _0x9c4690=_0x5c86d9;super(_0x12cda9,_0x774f14,_0x1d4823,_0x298ff6,_0x11aeba,_0x23064b,_0x223b94,_0x266e43,_0x35f40c),N(this,_0x9c4690(0x2fa),_0x9c4690(0x39c)),N(this,_0x9c4690(0x317),0x0),N(this,'_resendTimer'),N(this,_0x9c4690(0x261)),(this[_0x9c4690(0x343)]=_0x182f35,this[_0x9c4690(0x4ca)]=_0x297d9b,this[_0x9c4690(0x22f)]=_0x5ae31c,this[_0x9c4690(0x27c)]=_0x35f40c,_0x311a92&&(this[_0x9c4690(0x3a2)]=_0x311a92,this[_0x9c4690(0x261)]=this[_0x9c4690(0x3a2)][_0x9c4690(0x28f)](({reqId:_0x53b0e5,timeout:_0x2c25a5})=>{this['_resendWithTimeout'](_0x53b0e5,_0x2c25a5);})));}[_0x5c86d9(0x2c1)](_0x10c6ac){var _0x14e60d=_0x5c86d9;return this['_pendingMutations'][_0x14e60d(0x2c3)](_0x10c6ac),this;}[_0x5c86d9(0x221)](_0x2202b4){var _0x2269f5=_0x5c86d9;if(this[_0x2269f5(0x462)](_0x2202b4))return this[_0x2269f5(0x375)](),this['_injector'][_0x2269f5(0x4d7)](ee,this[_0x2269f5(0x3ef)],this[_0x2269f5(0x328)],this[_0x2269f5(0x2a8)],this['_pendingMutations'],null,[_0x2202b4],this['_handler']);try{const _0x8a3ea1=this['_transformService'][_0x2269f5(0x33b)]([_0x2202b4],[this['_awaitingChangeset']],!0x1);if(_0xebc62a(_0x8a3ea1)){const {c1Prime:_0x4b4592,c2Prime:_0x5159d2}=_0x8a3ea1,_0x9124cd=this[_0x2269f5(0x22f)][_0x2269f5(0x451)](_0x4b4592[0x0],this['_pendingMutations']);if(_0x19d8fa(_0x9124cd)){const {c1Prime:_0x5ca866,m2Prime:_0x3d2199}=_0x9124cd;return this[_0x2269f5(0x424)](_0x5ca866),_0x5159d2[0x0]['baseRev']=this[_0x2269f5(0x224)](),this['_clearScheduledTask'](),this[_0x2269f5(0x343)][_0x2269f5(0x4d7)](oe,this[_0x2269f5(0x3ef)],this[_0x2269f5(0x328)],_0x5159d2[0x0],_0x3d2199,this[_0x2269f5(0x381)],void 0x0);}throw _0x9124cd[_0x2269f5(0x26d)];}throw _0x8a3ea1['error'];}catch(_0x5049b2){return this[_0x2269f5(0x4ca)][_0x2269f5(0x26d)](_0x5049b2),this[_0x2269f5(0x37e)](!0x1);}}[_0x5c86d9(0x30f)](_0x32a89a){var _0x89c5ea=_0x5c86d9;if(this[_0x89c5ea(0x375)](),this['_checkMissing'](_0x32a89a))return this[_0x89c5ea(0x343)][_0x89c5ea(0x4d7)](ee,this[_0x89c5ea(0x3ef)],this[_0x89c5ea(0x328)],null,this[_0x89c5ea(0x410)],this[_0x89c5ea(0x2a8)],[],this[_0x89c5ea(0x381)]);this[_0x89c5ea(0x4c1)]();const _0x3b591d=this['_injector'][_0x89c5ea(0x4d7)](ae,this[_0x89c5ea(0x3ef)],this[_0x89c5ea(0x328)],this[_0x89c5ea(0x410)],this[_0x89c5ea(0x381)]);return _0x3b591d[_0x89c5ea(0x303)](),_0x3b591d[_0x89c5ea(0x43b)](),_0x3b591d;}[_0x5c86d9(0x23b)](_0x89b40e){var _0x4f1b99=_0x5c86d9;return this[_0x4f1b99(0x37e)](!!(_0x89b40e!=null&&_0x89b40e[_0x4f1b99(0x235)]));}['onRemoteRetry'](_0x5d49aa){var _0x303107=_0x5c86d9;return this[_0x303107(0x317)]>yi?this[_0x303107(0x4b2)]():(this[_0x303107(0x3a2)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5d49aa['reqId']}),this[_0x303107(0x261)]=this[_0x303107(0x3a2)]['subscribe'](({reqId:_0xafb74a,timeout:_0x7b75c8})=>{var _0x3d10d7=_0x303107;this[_0x3d10d7(0x26c)](_0xafb74a,_0x7b75c8);}),this);}[_0x5c86d9(0x4b2)](){var _0x514c11=_0x5c86d9;return this[_0x514c11(0x375)](),this['_injector'][_0x514c11(0x4d7)](de,this[_0x514c11(0x3ef)],this[_0x514c11(0x328)],this[_0x514c11(0x2a8)],this[_0x514c11(0x410)],this[_0x514c11(0x381)]);}['toggleOnline'](){return this;}[_0x5c86d9(0x497)](){var _0x29e2f0=_0x5c86d9;this[_0x29e2f0(0x381)]['onSendChangeset'](this[_0x29e2f0(0x2a8)]);}[_0x5c86d9(0x37e)](_0x250dda){var _0x22cea5=_0x5c86d9;return this[_0x22cea5(0x375)](),this[_0x22cea5(0x343)][_0x22cea5(0x4d7)](ue,this[_0x22cea5(0x3ef)],this[_0x22cea5(0x328)],null,this[_0x22cea5(0x410)],this[_0x22cea5(0x381)],_0x250dda);}[_0x5c86d9(0x26c)](_0x55bb1e,_0x3c7041){var _0x28932e=_0x5c86d9,_0x18e6e8;_0x55bb1e===((_0x18e6e8=this[_0x28932e(0x2a8)])==null?void 0x0:_0x18e6e8[_0x28932e(0x4d8)])&&(this[_0x28932e(0x497)](),this[_0x28932e(0x317)]=_0x3c7041===0x0?0x3e8:_0x3c7041*0x2);}[_0x5c86d9(0x375)](){var _0x5e7c0a=_0x5c86d9,_0x25e3b9;(_0x25e3b9=this[_0x5e7c0a(0x261)])==null||_0x25e3b9[_0x5e7c0a(0x204)](),this[_0x5e7c0a(0x317)]=0x0;}};oe=Te([P(0x6,_0x5ebbff(_0x47b6c6)),P(0x7,_0x5ebbff(_0x554a95)),P(0x8,_0x247ed0),P(0x9,_0x274a32),P(0xa,_0x37f922),P(0xb,_0x5c1562),P(0xc,_0xaad32d(J))],oe);let ue=class extends Ce{constructor(_0x2c0a53,_0x3ec62a,_0x5e2f8d,_0xf9c358,_0x213a8c,_0x178723=!0x1,_0x48023a,_0x22dafb,_0x39dd44,_0x352897,_0x2a6445,_0x5a1963,_0x68822a){var _0x409c8e=_0x5c86d9;super(_0x2c0a53,_0x3ec62a,_0x5e2f8d,_0xf9c358,_0x213a8c,_0x22dafb,_0x39dd44,_0x352897,_0x68822a),N(this,_0x409c8e(0x2fa),_0x409c8e(0x4ba)),(this['_isPermissionRej']=_0x178723,this[_0x409c8e(0x27b)]=_0x48023a,this[_0x409c8e(0x36c)]=_0x2a6445,this[_0x409c8e(0x29b)]=_0x5a1963,this['localCacheService']=_0x68822a,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x409c8e(0x2f5)]());}[_0x5c86d9(0x2c1)](){return this;}[_0x5c86d9(0x221)](){return this;}['onRemoteAck'](){return this;}[_0x5c86d9(0x23b)](){return this;}[_0x5c86d9(0x2d3)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x5c86d9(0x497)](){var _0x4bd344=_0x5c86d9;throw new Error(_0x4bd344(0x4a5));}[_0x5c86d9(0x2bc)](){var _0x4a9100=_0x5c86d9,_0x4a328b;(_0x4a328b=this[_0x4a9100(0x313)])==null||_0x4a328b[_0x4a9100(0x48d)](this['unitID'],this[_0x4a9100(0x328)],null,[]);}[_0x5c86d9(0x3c2)](){var _0x4e930b=_0x5c86d9;this[_0x4e930b(0x4a2)]?this[_0x4e930b(0x29b)][_0x4e930b(0x1eb)]({'id':se['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x4e930b(0x1eb)]({'id':se['CONFLICT']});}[_0x5c86d9(0x2f5)](){var _0x412e0e=_0x5c86d9;this[_0x412e0e(0x27b)][_0x412e0e(0x384)](new _0x249291(this[_0x412e0e(0x3ef)])['id'],!0x1);}};ue=Te([P(0x6,_0x5ebbff(_0xfeb7f6)),P(0x7,_0x247ed0),P(0x8,_0x5c1562),P(0x9,_0x5ebbff(_0x554a95)),P(0xa,_0x5ebbff(_0x369acd)),P(0xb,_0x5ebbff(pe)),P(0xc,_0xaad32d(J))],ue);let de=class extends Ce{constructor(_0x4ad686,_0x553dd5,_0x3823cf,_0x4da144,_0x2998ae,_0x511d20,_0xf1fed1,_0x2fc3df,_0x1ba3be,_0x46c23f){var _0x5e9260=_0x5c86d9;super(_0x4ad686,_0x553dd5,_0x3823cf,_0x4da144,_0x2998ae,_0x2fc3df,_0x1ba3be,_0xf1fed1,_0x46c23f),N(this,_0x5e9260(0x2fa),_0x5e9260(0x37d)),this[_0x5e9260(0x343)]=_0x511d20;}[_0x5c86d9(0x2c1)](_0x56885a){var _0x49be22=_0x5c86d9;return this[_0x49be22(0x410)][_0x49be22(0x2c3)](_0x56885a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x8705c){var _0xc5b069=_0x5c86d9;throw new Error(_0xc5b069(0x270));}[_0x5c86d9(0x30f)](){var _0x4d386e=_0x5c86d9;throw new Error(_0x4d386e(0x1fd));}[_0x5c86d9(0x23b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5c86d9(0x2d3)](){return this;}['toggleOffline'](){return this;}[_0x5c86d9(0x3fd)](){var _0xf945c0=_0x5c86d9;const {_injector:_0x2e9e1c,_pendingMutations:_0x450d8f,_awaitingChangeset:_0x17de99,unitID:_0x5c6528,_handler:_0x3ef375,type:_0x30a357}=this,_0x1d5683=Oi(_0x2e9e1c,_0x5c6528,_0x30a357,_0x17de99,_0x450d8f,_0x3ef375);return _0x1d5683 instanceof ae?_0x1d5683[_0xf945c0(0x303)]():(_0x1d5683 instanceof oe||_0x1d5683 instanceof le)&&_0x1d5683['resend'](),_0x1d5683;}[_0x5c86d9(0x497)](){var _0x4aa7e5=_0x5c86d9;throw new Error(_0x4aa7e5(0x2c4));}};de=Te([P(0x5,_0x5ebbff(_0x47b6c6)),P(0x6,_0x5ebbff(_0x554a95)),P(0x7,_0x247ed0),P(0x8,_0x5c1562),P(0x9,_0xaad32d(J))],de);let ee=class extends Ce{constructor(_0x48cc34,_0x59c626,_0x1f0b12,_0x14ad83,_0xb6813f,_0x6ea80b,_0x2add96,_0xe434b7,_0x29cd99,_0x31fc9d,_0x3c01c4,_0x4cf292,_0x3890e8,_0x281edf){var _0x570a90=_0x5c86d9;super(_0x48cc34,_0x59c626,_0x1f0b12,_0x14ad83,_0x2add96,_0x3c01c4,_0x4cf292,_0x29cd99,_0x281edf),N(this,'status',_0x570a90(0x366)),(this[_0x570a90(0x214)]=_0xb6813f,this[_0x570a90(0x2cd)]=_0x6ea80b,this[_0x570a90(0x343)]=_0xe434b7,this[_0x570a90(0x4ca)]=_0x31fc9d,this[_0x570a90(0x22f)]=_0x3890e8,this[_0x570a90(0x27c)]=_0x281edf);}['onMissedChangesetFetched'](_0x21854a){var _0x416ce1=_0x5c86d9;try{const _0x8134a9=[..._0x21854a,...this[_0x416ce1(0x2cd)]],_0x573b1c=[this[_0x416ce1(0x2a8)]||this[_0x416ce1(0x214)]][_0x416ce1(0x331)](_0x4905c0=>!!_0x4905c0);let _0x311565,_0x1519e9;if(_0x573b1c[_0x416ce1(0x1f6)]){const _0x2b426a=this[_0x416ce1(0x22f)][_0x416ce1(0x33b)](_0x8134a9,_0x573b1c,!0x1);if(!_0xebc62a(_0x2b426a))throw _0x2b426a[_0x416ce1(0x26d)];_0x311565=_0x2b426a[_0x416ce1(0x47f)],_0x1519e9=_0x2b426a['c2Prime'];}else _0x311565=_0x8134a9,_0x1519e9=[];let _0x1f4f8f=this[_0x416ce1(0x410)];_0x311565['forEach'](_0x128d5f=>{var _0x405d6f=_0x416ce1;let _0xf6ca79;if(_0x1f4f8f[_0x405d6f(0x1f6)]){const _0x1f5c66=this[_0x405d6f(0x22f)][_0x405d6f(0x451)](_0x128d5f,_0x1f4f8f);if(!_0x19d8fa(_0x1f5c66))throw _0x1f5c66['error'];_0xf6ca79=_0x1f5c66[_0x405d6f(0x47f)],_0x1f4f8f=_0x1f5c66[_0x405d6f(0x25d)];}else _0xf6ca79=_0x128d5f;this[_0x405d6f(0x424)](_0xf6ca79);}),this[_0x416ce1(0x214)]&&this[_0x416ce1(0x4c1)](),this['_awaitingChangeset']&&_0x1519e9[_0x416ce1(0x1f6)]&&(_0x1519e9[0x0][_0x416ce1(0x25b)]=this['_getCurrentRevision']());let _0x3740a4;if(this['_awaitingChangeset']&&_0x1f4f8f['length']!==0x0)_0x3740a4=this[_0x416ce1(0x343)][_0x416ce1(0x4d7)](oe,this[_0x416ce1(0x3ef)],this[_0x416ce1(0x328)],_0x1519e9[0x0],_0x1f4f8f,this[_0x416ce1(0x381)],void 0x0);else{if(this[_0x416ce1(0x2a8)]&&_0x1f4f8f['length']===0x0)_0x1519e9[0x0][_0x416ce1(0x25b)]=this[_0x416ce1(0x224)](),_0x3740a4=this[_0x416ce1(0x343)]['createInstance'](le,this[_0x416ce1(0x3ef)],this['type'],_0x1519e9[0x0],this[_0x416ce1(0x381)]);else{if(_0x1f4f8f[_0x416ce1(0x1f6)]!==0x0){const _0x25609f=this[_0x416ce1(0x343)][_0x416ce1(0x4d7)](ae,this[_0x416ce1(0x3ef)],this[_0x416ce1(0x328)],_0x1f4f8f,this[_0x416ce1(0x381)]);_0x25609f[_0x416ce1(0x303)](),_0x3740a4=_0x25609f;}else _0x3740a4=this['_injector'][_0x416ce1(0x4d7)](Ne,this[_0x416ce1(0x3ef)],this[_0x416ce1(0x328)],this[_0x416ce1(0x381)]);}}return _0x3740a4[_0x416ce1(0x43b)](),_0x3740a4;}catch(_0x218373){return this[_0x416ce1(0x4ca)][_0x416ce1(0x26d)](_0x416ce1(0x291),_0x416ce1(0x3e2),_0x218373),this[_0x416ce1(0x343)][_0x416ce1(0x4d7)](ue,this[_0x416ce1(0x3ef)],this['type'],this[_0x416ce1(0x2a8)],this['_pendingMutations'],this[_0x416ce1(0x381)],!0x1);}}[_0x5c86d9(0x497)](){var _0x561ee2=_0x5c86d9;throw new Error(_0x561ee2(0x3fb));}[_0x5c86d9(0x2c1)](_0x5d5387){var _0x1f63b5=_0x5c86d9;return this[_0x1f63b5(0x410)][_0x1f63b5(0x2c3)](_0x5d5387),this;}['onRemoteChangeset'](_0x4026b4){var _0x1a04ad=_0x5c86d9;return this[_0x1a04ad(0x2cd)][_0x1a04ad(0x2c3)](_0x4026b4),this;}[_0x5c86d9(0x30f)](_0x5b7078){var _0x2759d8=_0x5c86d9;if(this[_0x2759d8(0x2a8)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x2759d8(0x2bd));}[_0x5c86d9(0x23b)](_0x320d13){var _0x3f9e95=_0x5c86d9;return this[_0x3f9e95(0x37e)](!!(_0x320d13!=null&&_0x320d13[_0x3f9e95(0x235)]));}['onRemoteRetry'](){return this;}[_0x5c86d9(0x4b2)](){var _0x3ecce0=_0x5c86d9;return this[_0x3ecce0(0x343)][_0x3ecce0(0x4d7)](de,this['unitID'],this['type'],this[_0x3ecce0(0x2a8)],this[_0x3ecce0(0x410)],this[_0x3ecce0(0x381)]);}['toggleOnline'](){return this;}['_onConflict'](_0x285604){var _0x270e19=_0x5c86d9;return this[_0x270e19(0x343)][_0x270e19(0x4d7)](ue,this[_0x270e19(0x3ef)],this[_0x270e19(0x328)],this[_0x270e19(0x2a8)],this[_0x270e19(0x410)],this[_0x270e19(0x381)],_0x285604);}};ee=Te([P(0x7,_0x5ebbff(_0x47b6c6)),P(0x8,_0x5ebbff(_0x554a95)),P(0x9,_0x274a32),P(0xa,_0x247ed0),P(0xb,_0x5c1562),P(0xc,_0x37f922),P(0xd,_0xaad32d(J))],ee);function Oi(_0x1efab0,_0x91e2b4,_0x4d2508,_0xafd832,_0x27a42c,_0x5e7050){var _0x287eb8=_0x5c86d9;return _0xafd832&&_0x27a42c[_0x287eb8(0x1f6)]?_0x1efab0['createInstance'](oe,_0x91e2b4,_0x4d2508,_0xafd832,_0x27a42c,_0x5e7050,void 0x0):_0xafd832?_0x1efab0['createInstance'](le,_0x91e2b4,_0x4d2508,_0xafd832,_0x5e7050):_0x27a42c[_0x287eb8(0x1f6)]?_0x1efab0[_0x287eb8(0x4d7)](ae,_0x91e2b4,_0x4d2508,_0x27a42c,_0x5e7050):_0x1efab0[_0x287eb8(0x4d7)](Ne,_0x91e2b4,_0x4d2508,_0x5e7050);}var ar=Object[_0x5c86d9(0x20c)],xt=(_0x712fa0,_0x13faf1,_0x892d87,_0x568103)=>{var _0x2354d3=_0x5c86d9;for(var _0x1c292d=_0x568103>0x1?void 0x0:_0x568103?ar(_0x13faf1,_0x892d87):_0x13faf1,_0x5e8a3f=_0x712fa0[_0x2354d3(0x1f6)]-0x1,_0x909e22;_0x5e8a3f>=0x0;_0x5e8a3f--)(_0x909e22=_0x712fa0[_0x5e8a3f])&&(_0x1c292d=_0x909e22(_0x1c292d)||_0x1c292d);return _0x1c292d;},H=(_0x31dc58,_0x4da467)=>(_0x515ebe,_0x17fec1)=>_0x4da467(_0x515ebe,_0x17fec1,_0x31dc58);let nt=class extends _0x26efdb{constructor(_0x558dd5,_0xa95327,_0x1ee5f8,_0x229178,_0x1b690b,_0x4ed909,_0x31f694,_0x262074,_0xc0f895,_0x2069d2,_0x56429f,_0x32b3bf,_0x240fd4){var _0x54af28=_0x5c86d9;super(),N(this,_0x54af28(0x349),new _0x5352cc(null)),N(this,_0x54af28(0x312),this['_state$'][_0x54af28(0x24a)]()),N(this,_0x54af28(0x3cc)),N(this,'_collaborationPaused',!0x1),N(this,_0x54af28(0x217),''),N(this,'_changesetReqId',0x0),N(this,_0x54af28(0x455),this[_0x54af28(0x312)]['pipe'](_0x1414db(_0x8f7438=>_0x8f7438?_0x8f7438['status']:bi[_0x54af28(0x2ad)]),_0x83df80(0x1))),N(this,_0x54af28(0x388),!0x1),N(this,_0x54af28(0x2f9),[]),(this[_0x54af28(0x3ef)]=_0x558dd5,this[_0x54af28(0x364)]=_0xa95327,this['_type']=_0x1ee5f8,this[_0x54af28(0x343)]=_0x229178,this[_0x54af28(0x3c3)]=_0x1b690b,this['_localeService']=_0x4ed909,this[_0x54af28(0x342)]=_0x31f694,this[_0x54af28(0x412)]=_0x262074,this['_logService']=_0xc0f895,this[_0x54af28(0x335)]=_0x2069d2,this[_0x54af28(0x27b)]=_0x56429f,this[_0x54af28(0x39f)]=_0x32b3bf,this[_0x54af28(0x313)]=_0x240fd4);}get[_0x5c86d9(0x426)](){return this['_state'];}async[_0x5c86d9(0x463)](){var _0x41df2a=_0x5c86d9;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x41df2a(0x2a7)]();}[_0x5c86d9(0x4b5)](){var _0x16fce0=_0x5c86d9;return this[_0x16fce0(0x3c6)]=!0x0,_0x23373e(()=>{var _0x58d4a9=_0x16fce0;this[_0x58d4a9(0x3c6)]=!0x1,this[_0x58d4a9(0x29c)]();});}[_0x5c86d9(0x3d0)](_0x331a10){this['_onLocalMutation'](_0x331a10);}[_0x5c86d9(0x42b)](_0xefebb8){var _0x52ee09=_0x5c86d9;this['_state']=_0xefebb8,this[_0x52ee09(0x349)][_0x52ee09(0x34b)](_0xefebb8);}async[_0x5c86d9(0x2a7)](){var _0x252f03=_0x5c86d9,_0x53f332;this[_0x252f03(0x42b)](await this[_0x252f03(0x248)]()),this['_singleActiveUnitService']&&((_0x53f332=this[_0x252f03(0x39f)])==null||_0x53f332[_0x252f03(0x35e)](this['unitID']),this[_0x252f03(0x27e)](this['_singleActiveUnitService'][_0x252f03(0x2f7)](this[_0x252f03(0x3ef)])[_0x252f03(0x28f)](_0x1a58c2=>{var _0x4de815=_0x252f03;this[_0x4de815(0x4ca)][_0x4de815(0x233)](_0x4de815(0x245),_0x4de815(0x492),_0x1a58c2),_0x1a58c2===Ci[_0x4de815(0x266)]?(this[_0x4de815(0x412)][_0x4de815(0x1eb)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x4de815(0x27b)][_0x4de815(0x384)](new _0x249291(this[_0x4de815(0x3ef)])['id'],!0x1),this['_permissionService'][_0x4de815(0x44c)](!0x1)):(this[_0x4de815(0x27b)]['updatePermissionPoint'](new _0x249291(this[_0x4de815(0x3ef)])['id'],!0x0),this[_0x4de815(0x27b)]['setShowComponents'](!0x0));})));let _0x2e2dcb=!0x1;return this[_0x252f03(0x27e)](this[_0x252f03(0x364)][_0x252f03(0x3b3)][_0x252f03(0x28f)](_0x1ca1ae=>{var _0x4c5bf4=_0x252f03;_0x1ca1ae===Ee[_0x4c5bf4(0x3f1)]?this[_0x4c5bf4(0x413)](_0x2e2dcb):_0x1ca1ae===Ee[_0x4c5bf4(0x2ad)]&&(_0x2e2dcb=!0x0,this[_0x4c5bf4(0x436)]());})),this[_0x252f03(0x27e)](this[_0x252f03(0x364)]['event$'][_0x252f03(0x28f)](_0x3bf422=>{var _0x464b0e=_0x252f03;try{switch(_0x3bf422[_0x464b0e(0x441)]){case _0x271488[_0x464b0e(0x49d)]:{this[_0x464b0e(0x2df)](_0x19471a(_0x3bf422[_0x464b0e(0x35c)]));break;}case _0x271488[_0x464b0e(0x439)]:{this[_0x464b0e(0x2a0)](_0x3bf422[_0x464b0e(0x35c)]);break;}case _0x271488[_0x464b0e(0x496)]:{this[_0x464b0e(0x251)]();break;}case _0x271488[_0x464b0e(0x471)]:{this[_0x464b0e(0x283)](_0x3bf422[_0x464b0e(0x35c)]);break;}case _0x271488[_0x464b0e(0x301)]:{this[_0x464b0e(0x359)](_0x3bf422[_0x464b0e(0x35c)][_0x464b0e(0x420)]['map'](_0x43e6ae=>_0x19471a(_0x43e6ae)));break;}case _0x271488[_0x464b0e(0x3d3)]:{this[_0x464b0e(0x251)]({'isPermissionRej':!0x0});break;}case _0x271488[_0x464b0e(0x398)]:break;}}catch(_0xc9e17e){throw console[_0x464b0e(0x26d)](_0x464b0e(0x491),_0xc9e17e),_0xc9e17e;}})),this['_state'];}[_0x5c86d9(0x21f)](){var _0x2c7f8d=_0x5c86d9;this[_0x2c7f8d(0x388)]=!0x1;}[_0x5c86d9(0x2c0)](){var _0x1eea90=_0x5c86d9;if(this[_0x1eea90(0x388)])throw new Error(_0x1eea90(0x1c9));this[_0x1eea90(0x388)]=!0x0;}[_0x5c86d9(0x300)](_0x3c010e){var _0x19c8cb=_0x5c86d9;this[_0x19c8cb(0x2c0)](),this[_0x19c8cb(0x42b)](this[_0x19c8cb(0x3cc)][_0x19c8cb(0x2c1)](_0x3c010e)),this[_0x19c8cb(0x21f)]();}['_onRemoteChangeset'](_0x2457fc){var _0x1058db=_0x5c86d9;if(!(_0x2457fc[_0x1058db(0x305)]<=this[_0x1058db(0x342)][_0x1058db(0x1ea)](this[_0x1058db(0x3ef)]))){if(this[_0x1058db(0x3c6)]){this[_0x1058db(0x2f9)][_0x1058db(0x2c3)](_0x2457fc);return;}this[_0x1058db(0x3f9)](_0x2457fc);}}[_0x5c86d9(0x29c)](){var _0x3c4f9d=_0x5c86d9;this[_0x3c4f9d(0x2f9)][_0x3c4f9d(0x459)](_0x1de779=>this[_0x3c4f9d(0x3f9)](_0x1de779)),this[_0x3c4f9d(0x2f9)]=[];}[_0x5c86d9(0x3f9)](_0x1d1e9a){var _0x2cff9e=_0x5c86d9;const _0x3fe3ae=this['_compressMutationService'][_0x2cff9e(0x22d)][_0x2cff9e(0x278)](this[_0x2cff9e(0x3c3)][_0x2cff9e(0x22d)][_0x2cff9e(0x46b)]()[_0x2cff9e(0x41a)])(_0x1d1e9a[_0x2cff9e(0x1fa)],null)||_0x1d1e9a['mutations'],_0x53ee70={..._0x1d1e9a,'mutations':_0x3fe3ae};this['_lockTransition'](),this['_updateState'](this[_0x2cff9e(0x3cc)][_0x2cff9e(0x221)](_0x53ee70)),this[_0x2cff9e(0x21f)]();}[_0x5c86d9(0x2a0)](_0x334c56){var _0x1c9a4a=_0x5c86d9;this[_0x1c9a4a(0x2c0)](),this['_updateState'](this[_0x1c9a4a(0x3cc)][_0x1c9a4a(0x30f)](_0x334c56)),this[_0x1c9a4a(0x21f)]();}[_0x5c86d9(0x251)](_0x30a543){var _0x46c175=_0x5c86d9;this[_0x46c175(0x2c0)](),this['_updateState'](this[_0x46c175(0x3cc)][_0x46c175(0x23b)](_0x30a543)),this['_unlockTransition']();}[_0x5c86d9(0x283)](_0x11c63d){var _0x451977=_0x5c86d9;this[_0x451977(0x2c0)](),this[_0x451977(0x42b)](this[_0x451977(0x3cc)][_0x451977(0x2d3)](_0x11c63d)),this[_0x451977(0x21f)]();}[_0x5c86d9(0x359)](_0x49df68){var _0x3e8f47=_0x5c86d9;if(!(this[_0x3e8f47(0x3cc)]instanceof ee))throw new TypeError(_0x3e8f47(0x269));const _0x513f12=_0x49df68['map'](_0x201087=>{var _0x257893=_0x3e8f47;const _0x5111e6=this[_0x257893(0x3c3)]['interceptor'][_0x257893(0x278)](this[_0x257893(0x3c3)]['interceptor'][_0x257893(0x46b)]()['COMPRESS_MUTATION_APPLY'])(_0x201087[_0x257893(0x1fa)],null)||_0x201087[_0x257893(0x1fa)];return{..._0x201087,'mutations':_0x5111e6};});this[_0x3e8f47(0x2c0)](),this[_0x3e8f47(0x42b)](this['_state']['onMissedChangesetFetched'](_0x513f12)),this[_0x3e8f47(0x21f)]();}['_toggleOffline'](){var _0x29a7c4=_0x5c86d9;this['_lockTransition'](),this[_0x29a7c4(0x42b)](this[_0x29a7c4(0x3cc)][_0x29a7c4(0x4b2)]()),this[_0x29a7c4(0x21f)]();}[_0x5c86d9(0x413)](_0x1eb8aa=!0x1){var _0x55e05c=_0x5c86d9;this[_0x55e05c(0x2c0)](),this[_0x55e05c(0x42b)](this[_0x55e05c(0x3cc)][_0x55e05c(0x3fd)]()),this[_0x55e05c(0x21f)]();const _0x114d64=this['_state'];_0x1eb8aa&&_0x114d64 instanceof Ne&&(this[_0x55e05c(0x2c0)](),this['_updateState'](_0x114d64['fetchMiss']()),this[_0x55e05c(0x21f)]());}async[_0x5c86d9(0x248)](){return new Promise(_0x46a296=>{var _0x1b2832=_0xbb9a;this[_0x1b2832(0x364)][_0x1b2832(0x3b3)][_0x1b2832(0x207)](_0x2123d2(0x1))[_0x1b2832(0x28f)](async _0x31588b=>{var _0xf2ba65=_0x1b2832;_0x46a296(await this[_0xf2ba65(0x226)](_0x31588b===Ee[_0xf2ba65(0x3f1)]));});});}[_0x5c86d9(0x38c)](){var _0x1d265e=_0x5c86d9;const _0x93bcb6=this[_0x1d265e(0x3ef)];return{'onStateChange':(_0x2c645b,_0x1616f2)=>{var _0x2d112e=_0x1d265e;if(_0x2c645b!==this[_0x2d112e(0x3cc)])throw new Error(_0x2d112e(0x304)+_0x2c645b['status']+_0x2d112e(0x2c2)+_0x1616f2[_0x2d112e(0x2fa)]+'\x0aCurrent:\x20'+this[_0x2d112e(0x3cc)][_0x2d112e(0x2fa)]);this[_0x2d112e(0x42b)](_0x1616f2);},'onSendChangeset':_0x95100=>{var _0x364814=_0x1d265e;_0x95100[_0x364814(0x242)]||(_0x95100[_0x364814(0x242)]=this[_0x364814(0x217)],_0x95100['reqId']=++this[_0x364814(0x234)]);const _0x46fb23={'eventID':_0x271488[_0x364814(0x2d9)],'data':{'unitID':_0x95100[_0x364814(0x3ef)],'unitType':this[_0x364814(0x257)],'changeset':_0x95100,'memberID':this[_0x364814(0x364)]['getMemberID']()}};this[_0x364814(0x364)][_0x364814(0x241)](_0x46fb23,this[_0x364814(0x3ef)]);},'onMissingChangesets':({from:_0xc59b08,to:_0x89b9ef})=>{var _0x28969=_0x1d265e;this[_0x28969(0x4ca)][_0x28969(0x233)]('[CollaborationEntity]',_0x28969(0x41b)+_0xc59b08+_0x28969(0x23e)+_0x89b9ef);const _0x8e5d7a={'eventID':_0x271488[_0x28969(0x2f3)],'data':{'unitID':_0x93bcb6,'unitType':this['_type'],'from':_0xc59b08,'to':_0x89b9ef}};this[_0x28969(0x364)][_0x28969(0x241)](_0x8e5d7a,this[_0x28969(0x3ef)]);}};}async[_0x5c86d9(0x226)](_0x4e93d8){var _0x2bcf3b=_0x5c86d9,_0x117360,_0x5bffdb,_0x2ed7d8;const _0x20c345=await((_0x117360=this[_0x2bcf3b(0x313)])==null?void 0x0:_0x117360[_0x2bcf3b(0x260)](this['unitID'])),_0x3016e7=(_0x5bffdb=_0x20c345==null?void 0x0:_0x20c345[_0x2bcf3b(0x1fa)])!=null?_0x5bffdb:[],_0x4a7a82=(_0x2ed7d8=_0x20c345==null?void 0x0:_0x20c345[_0x2bcf3b(0x49b)])!=null?_0x2ed7d8:null,_0x5c67d5=!!(_0x4a7a82!=null&&_0x4a7a82[_0x2bcf3b(0x242)])&&!!(_0x4a7a82!=null&&_0x4a7a82[_0x2bcf3b(0x4d8)]);this['_changesetSessionId']=_0x5c67d5?_0x4a7a82[_0x2bcf3b(0x242)]:Zn(),this[_0x2bcf3b(0x234)]=_0x5c67d5?_0x4a7a82[_0x2bcf3b(0x4d8)]:0x0;const _0x6518af=this['unitID'];try{this[_0x2bcf3b(0x230)](_0x4a7a82,_0x3016e7);}catch(_0x38cfe9){this['_logService'][_0x2bcf3b(0x26d)](_0x38cfe9);}const _0x4dc9ad=this[_0x2bcf3b(0x38c)]();if(_0x4e93d8){const _0x84f4ab=Oi(this[_0x2bcf3b(0x343)],_0x6518af,this[_0x2bcf3b(0x257)],_0x4a7a82,_0x3016e7,_0x4dc9ad);return _0x84f4ab instanceof ae?_0x84f4ab[_0x2bcf3b(0x303)]():(_0x84f4ab instanceof oe||_0x84f4ab instanceof le)&&_0x84f4ab['resend'](),_0x84f4ab;}return this['_injector'][_0x2bcf3b(0x4d7)](de,_0x6518af,this[_0x2bcf3b(0x257)],_0x4a7a82,_0x3016e7,_0x4dc9ad);}[_0x5c86d9(0x230)](_0xbdcae5,_0x200610){var _0x1ae5e0=_0x5c86d9,_0x3db926,_0x9904a7;const _0xe9629d=this[_0x1ae5e0(0x3c3)][_0x1ae5e0(0x22d)][_0x1ae5e0(0x278)](this[_0x1ae5e0(0x3c3)][_0x1ae5e0(0x22d)][_0x1ae5e0(0x46b)]()[_0x1ae5e0(0x41a)]);(_0x3db926=_0xe9629d((_0xbdcae5==null?void 0x0:_0xbdcae5[_0x1ae5e0(0x1fa)])||[],null))==null||_0x3db926[_0x1ae5e0(0x459)](_0x34fd89=>this[_0x1ae5e0(0x335)][_0x1ae5e0(0x45c)](_0x34fd89['id'],_0x34fd89[_0x1ae5e0(0x3db)])),(_0x9904a7=_0xe9629d(_0x200610||[],null))==null||_0x9904a7[_0x1ae5e0(0x459)](_0x5cee6a=>this['_commandService'][_0x1ae5e0(0x45c)](_0x5cee6a['id'],_0x5cee6a[_0x1ae5e0(0x3db)]));}};nt=xt([H(0x3,_0x5ebbff(_0x47b6c6)),H(0x4,_0x5ebbff(_0x5acbd2)),H(0x5,_0x5ebbff(_0x369acd)),H(0x6,_0x5ebbff(_0x554a95)),H(0x7,_0x5ebbff(pe)),H(0x8,_0x274a32),H(0x9,_0x247ed0),H(0xa,_0xfeb7f6),H(0xb,_0xaad32d(ht)),H(0xc,_0xaad32d(J))],nt);let It=class extends nt{constructor(_0x159b6c,_0x4d2c68,_0x121894,_0x469e22,_0x10795b,_0x381ad5,_0x16b5f6,_0x4ea461,_0x2d9dcf,_0x1bd1d8,_0x321aad,_0x4e880c,_0x53dccf){var _0x2b6ce6=_0x5c86d9;super(_0x159b6c,_0x121894,_0x4d2c68,_0x469e22,_0x10795b,_0x381ad5,_0x16b5f6,_0x4ea461,_0x2d9dcf,_0x1bd1d8,_0x321aad,_0x4e880c,_0x53dccf),N(this,_0x2b6ce6(0x399),null),(this[_0x2b6ce6(0x3ef)]=_0x159b6c,this['type']=_0x4d2c68);}[_0x5c86d9(0x351)](_0x1adc5e){var _0x244416=_0x5c86d9;this[_0x244416(0x399)]=_0x1adc5e;}[_0x5c86d9(0x2d4)](){var _0x311329=_0x5c86d9;this[_0x311329(0x399)]=null,super[_0x311329(0x2d4)]();}[_0x5c86d9(0x38c)](){var _0x126709=_0x5c86d9;const _0x13ff8f=super[_0x126709(0x38c)]();return _0x13ff8f[_0x126709(0x34d)]=_0x5b124c=>{var _0x1a4dfa=_0x126709,_0x4e2f5c,_0x183e2f;return(_0x183e2f=(_0x4e2f5c=this[_0x1a4dfa(0x399)])==null?void 0x0:_0x4e2f5c['onTransformIME'])==null?void 0x0:_0x183e2f[_0x1a4dfa(0x49f)](_0x4e2f5c,_0x5b124c);},_0x13ff8f['onTransformState']=_0x9d2cc0=>{var _0x276e85=_0x126709,_0x4877b5,_0x1e1935;return(_0x1e1935=(_0x4877b5=this[_0x276e85(0x399)])==null?void 0x0:_0x4877b5[_0x276e85(0x2e7)])==null?void 0x0:_0x1e1935[_0x276e85(0x49f)](_0x4877b5,_0x9d2cc0);},_0x13ff8f['onTransformSelections']=_0x239cd3=>{var _0x586ccc=_0x126709,_0x5555c8,_0x33cd2c;return(_0x33cd2c=(_0x5555c8=this['_handlerCallback'])==null?void 0x0:_0x5555c8[_0x586ccc(0x2ab)])==null?void 0x0:_0x33cd2c[_0x586ccc(0x49f)](_0x5555c8,_0x239cd3);},_0x13ff8f[_0x126709(0x318)]=_0x3a4406=>{var _0x13df47=_0x126709,_0x4ab4ab,_0x2e8e7c;return(_0x2e8e7c=(_0x4ab4ab=this['_handlerCallback'])==null?void 0x0:_0x4ab4ab['onSyncEditingCollabCursor'])==null?void 0x0:_0x2e8e7c[_0x13df47(0x49f)](_0x4ab4ab,_0x3a4406);},_0x13ff8f[_0x126709(0x271)]=_0x170de4=>{var _0x1413df=_0x126709,_0x14f08e,_0x469e7b,_0x2e87ee;if(!((_0x14f08e=this['_handlerCallback'])!=null&&_0x14f08e['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2e87ee=(_0x469e7b=this[_0x1413df(0x399)])==null?void 0x0:_0x469e7b[_0x1413df(0x271)])==null?void 0x0:_0x2e87ee[_0x1413df(0x49f)](_0x469e7b,_0x170de4);},_0x13ff8f[_0x126709(0x402)]=_0x5b9363=>{var _0x89e551=_0x126709,_0x22b0cb,_0x569dd8,_0x552d30;if(!((_0x22b0cb=this['_handlerCallback'])!=null&&_0x22b0cb[_0x89e551(0x402)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x552d30=(_0x569dd8=this[_0x89e551(0x399)])==null?void 0x0:_0x569dd8[_0x89e551(0x402)])==null?void 0x0:_0x552d30[_0x89e551(0x49f)](_0x569dd8,_0x5b9363);},_0x13ff8f;}async['_init'](){var _0x20694c=_0x5c86d9;const _0x283265=await super[_0x20694c(0x2a7)]();return this[_0x20694c(0x27e)](this[_0x20694c(0x335)][_0x20694c(0x311)]((_0x432c8d,_0x4e02d9)=>{var _0x83c5d3=_0x20694c;if(_0x432c8d['type']!==_0x49999d[_0x83c5d3(0x3ab)]||_0x4e02d9!=null&&_0x4e02d9[_0x83c5d3(0x265)]||_0x4e02d9!=null&&_0x4e02d9[_0x83c5d3(0x36f)]||_0x432c8d['id']===_0x2612bb['id'])return;const _0xc4c581=_0x432c8d[_0x83c5d3(0x3db)];if((_0xc4c581==null?void 0x0:_0xc4c581['unitId'])!==this['unitID'])return;const _0x1450b8=_0x432c8d,_0x312a5b=this[_0x83c5d3(0x3c3)]['interceptor']['fetchThroughInterceptors'](this[_0x83c5d3(0x3c3)]['interceptor'][_0x83c5d3(0x46b)]()[_0x83c5d3(0x3df)])([_0x1450b8],null)||[_0x1450b8];this[_0x83c5d3(0x300)](_0x312a5b[0x0]);})),_0x283265;}};It=xt([H(0x3,_0x5ebbff(_0x47b6c6)),H(0x4,_0x5ebbff(_0x5acbd2)),H(0x5,_0x5ebbff(_0x369acd)),H(0x6,_0x5ebbff(_0x554a95)),H(0x7,_0x5ebbff(pe)),H(0x8,_0x274a32),H(0x9,_0x247ed0),H(0xa,_0xfeb7f6),H(0xb,_0xaad32d(ht)),H(0xc,_0xaad32d(J))],It);let Tt=class extends nt{constructor(_0xc6a4b8,_0x3df195,_0x35ac24,_0x2a80fa,_0x301149,_0x5c20e8,_0x2651cf,_0x13a45c,_0x381946,_0x5f4d85,_0xb10af1,_0x495daf,_0x4e2341,_0x2a166b){var _0x56b6bb=_0x5c86d9;super(_0xc6a4b8,_0x35ac24,_0x3df195,_0x2a80fa,_0x301149,_0x5c20e8,_0x2651cf,_0x381946,_0x5f4d85,_0xb10af1,_0x495daf,_0x4e2341,_0x2a166b),this[_0x56b6bb(0x3ef)]=_0xc6a4b8,this[_0x56b6bb(0x328)]=_0x3df195,this[_0x56b6bb(0x20e)]=_0x13a45c;}[_0x5c86d9(0x38c)](){var _0x352858=_0x5c86d9;const _0x7cd34c=super[_0x352858(0x38c)]();return _0x7cd34c[_0x352858(0x2ab)]=_0x532ce0=>this[_0x352858(0x20e)]['transformSelections'](_0x532ce0),_0x7cd34c;}async['_init'](){var _0x1ae922=_0x5c86d9;const _0x5971d4=await super[_0x1ae922(0x2a7)]();return this[_0x1ae922(0x27e)](this[_0x1ae922(0x335)][_0x1ae922(0x311)]((_0x5aaefe,_0x2842f6)=>{var _0x786156=_0x1ae922;if(_0x5aaefe[_0x786156(0x328)]!==_0x49999d[_0x786156(0x3ab)]||_0x2842f6!=null&&_0x2842f6['fromCollab']||_0x2842f6!=null&&_0x2842f6[_0x786156(0x36f)])return;const _0x5db456=_0x5aaefe[_0x786156(0x3db)];if((_0x5db456==null?void 0x0:_0x5db456[_0x786156(0x4b3)])!==this['unitID'])return;const _0x223d4a=_0x5aaefe,_0x30c1f4=this[_0x786156(0x3c3)][_0x786156(0x22d)][_0x786156(0x278)](this[_0x786156(0x3c3)][_0x786156(0x22d)]['getInterceptPoints']()[_0x786156(0x3df)])([_0x223d4a],null)||[_0x223d4a];this[_0x786156(0x300)](_0x30c1f4[0x0]);})),_0x5971d4;}};Tt=xt([H(0x3,_0x5ebbff(_0x47b6c6)),H(0x4,_0x5ebbff(_0x5acbd2)),H(0x5,_0x5ebbff(_0x369acd)),H(0x6,_0x5ebbff(_0x554a95)),H(0x7,_0x5ebbff(it)),H(0x8,_0x5ebbff(pe)),H(0x9,_0x274a32),H(0xa,_0x247ed0),H(0xb,_0xfeb7f6),H(0xc,_0xaad32d(ht)),H(0xd,_0xaad32d(J))],Tt);var or=Object['getOwnPropertyDescriptor'],cr=(_0x10b947,_0x16eff6,_0x8c698f,_0x10ed68)=>{var _0x53b930=_0x5c86d9;for(var _0x448242=_0x10ed68>0x1?void 0x0:_0x10ed68?or(_0x16eff6,_0x8c698f):_0x16eff6,_0x4d78b2=_0x10b947[_0x53b930(0x1f6)]-0x1,_0x18d08f;_0x4d78b2>=0x0;_0x4d78b2--)(_0x18d08f=_0x10b947[_0x4d78b2])&&(_0x448242=_0x18d08f(_0x448242)||_0x448242);return _0x448242;},ft=(_0x398735,_0x21e025)=>(_0x54ad57,_0x44e468)=>_0x21e025(_0x54ad57,_0x44e468,_0x398735);let rt=class extends _0x26efdb{constructor(_0x1009ce,_0x1def79,_0x4a0281){var _0x20b0bf=_0x5c86d9;super(),N(this,_0x20b0bf(0x254),new Map()),N(this,_0x20b0bf(0x2bb),new _0x338582()),N(this,_0x20b0bf(0x231),this[_0x20b0bf(0x2bb)]['asObservable']()),(this[_0x20b0bf(0x343)]=_0x1009ce,this[_0x20b0bf(0x3dd)]=_0x1def79,this[_0x20b0bf(0x31e)]=_0x4a0281,this[_0x20b0bf(0x2a7)]());}[_0x5c86d9(0x2d4)](){var _0x55a2a8=_0x5c86d9;super[_0x55a2a8(0x2d4)](),this[_0x55a2a8(0x254)][_0x55a2a8(0x459)](_0x4c5ad4=>_0x4c5ad4[_0x55a2a8(0x2d4)]()),this[_0x55a2a8(0x254)][_0x55a2a8(0x38d)]();}['getCollabEntity'](_0x103ed4){var _0x262e24=_0x5c86d9,_0x2d411a;return(_0x2d411a=this[_0x262e24(0x254)][_0x262e24(0x308)](_0x103ed4))!=null?_0x2d411a:null;}[_0x5c86d9(0x4d6)](_0x6b62f1){var _0x2f69ab=_0x5c86d9;const _0x1e09ea=this['getCollabEntity'](_0x6b62f1);return _0x1e09ea?_0x296c57(_0x1e09ea):this[_0x2f69ab(0x2bb)][_0x2f69ab(0x207)](_0x53ece5(_0x288ccb=>_0x288ccb[_0x2f69ab(0x3ef)]===_0x6b62f1));}[_0x5c86d9(0x1db)](_0x170988){var _0x45127c=_0x5c86d9;return _0x157c10(this[_0x45127c(0x4d6)](_0x170988)[_0x45127c(0x207)](_0x5d1df9(()=>{})));}[_0x5c86d9(0x2a7)](){var _0xbc581e=_0x5c86d9;this['_univerInstanceService'][_0xbc581e(0x2e3)](_0x1b0f05[_0xbc581e(0x4bb)])['pipe'](_0xb60b95(this['dispose$']),_0x1039a6(0x10))[_0xbc581e(0x28f)](async _0x5c5d61=>{var _0x324cd8=_0xbc581e;const _0x495742=_0x5c5d61[_0x324cd8(0x3ae)](),_0x4ffc42=await this[_0x324cd8(0x419)](_0x495742,Q[_0x324cd8(0x4bb)]);this[_0x324cd8(0x254)][_0x324cd8(0x2cf)](_0x495742,_0x4ffc42);}),this[_0xbc581e(0x31e)][_0xbc581e(0x2e3)](_0x1b0f05[_0xbc581e(0x356)])[_0xbc581e(0x207)](_0xb60b95(this[_0xbc581e(0x243)]),_0x1039a6(0x10))[_0xbc581e(0x207)](_0x53ece5(_0x5a2360=>!_0x5a2360['getUnitId']()[_0xbc581e(0x3cd)]('__')))[_0xbc581e(0x28f)](async _0x4ef595=>{var _0x192e50=_0xbc581e;const _0x30e6aa=_0x4ef595[_0x192e50(0x3ae)](),_0x17d444=await this[_0x192e50(0x419)](_0x30e6aa,Q[_0x192e50(0x356)]);this[_0x192e50(0x254)][_0x192e50(0x2cf)](_0x30e6aa,_0x17d444);}),_0x1ac615(this[_0xbc581e(0x31e)]['getTypeOfUnitDisposed$'](_0x1b0f05[_0xbc581e(0x4bb)]),this['_univerInstanceService'][_0xbc581e(0x1cb)](_0x1b0f05['UNIVER_DOC']))[_0xbc581e(0x207)](_0xb60b95(this['dispose$']))['subscribe'](_0x46c460=>{var _0x3dd703=_0xbc581e;const _0x58f89f=_0x46c460['getUnitId'](),_0x45b8dc=this[_0x3dd703(0x254)][_0x3dd703(0x308)](_0x58f89f);_0x45b8dc&&(_0x45b8dc[_0x3dd703(0x2d4)](),this['_entities'][_0x3dd703(0x3b9)](_0x58f89f));});}async[_0x5c86d9(0x419)](_0x2dd41f,_0x584a4b){var _0x21a1dd=_0x5c86d9;const _0x4b30e7=await this[_0x21a1dd(0x3dd)]['requireSession'](_0x2dd41f),_0x330c91=this[_0x21a1dd(0x343)][_0x21a1dd(0x4d7)](this[_0x21a1dd(0x1d6)](_0x584a4b),_0x2dd41f,_0x584a4b,_0x4b30e7);return await _0x330c91['init'](),this['_entityInit$'][_0x21a1dd(0x34b)](_0x330c91),_0x330c91;}[_0x5c86d9(0x1d6)](_0x30673c){var _0x1d1307=_0x5c86d9;switch(_0x30673c){case Q[_0x1d1307(0x356)]:return It;case Q[_0x1d1307(0x4bb)]:return Tt;default:throw new Error(_0x1d1307(0x3af)+_0x30673c);}}};rt=cr([ft(0x0,_0x5ebbff(_0x47b6c6)),ft(0x1,_0x5ebbff(Le)),ft(0x2,_0x54a9fc)],rt);var hr=Object[_0x5c86d9(0x20c)],_r=(_0x323376,_0x14fbb8,_0x1d22b0,_0x36169c)=>{for(var _0x5231e6=_0x36169c>0x1?void 0x0:_0x36169c?hr(_0x14fbb8,_0x1d22b0):_0x14fbb8,_0x1fddc2=_0x323376['length']-0x1,_0x1fafa8;_0x1fddc2>=0x0;_0x1fddc2--)(_0x1fafa8=_0x323376[_0x1fddc2])&&(_0x5231e6=_0x1fafa8(_0x5231e6)||_0x5231e6);return _0x5231e6;},zt=(_0x15ba53,_0x295aaa)=>(_0x3116eb,_0x1f4e40)=>_0x295aaa(_0x3116eb,_0x1f4e40,_0x15ba53);const lr=_0x5c86d9(0x21b),ur=_0x5c86d9(0x2da);let Ct=class extends _0x160920{constructor(_0x3f97df,_0xb20cd1){var _0x3138cf=_0x5c86d9;super(),this[_0x3138cf(0x31e)]=_0x3f97df,this[_0x3138cf(0x2eb)]=_0xb20cd1,this['_init']();}['_init'](){var _0x3234a2=_0x5c86d9;this[_0x3234a2(0x27e)](this[_0x3234a2(0x31e)][_0x3234a2(0x4cb)][_0x3234a2(0x28f)](()=>{var _0x34c5f2=_0x3234a2,_0x85b35c;const _0x84a14=this[_0x34c5f2(0x31e)][_0x34c5f2(0x373)]();let _0x302b91=(_0x85b35c=this[_0x34c5f2(0x2eb)][_0x34c5f2(0x246)](lr))!=null?_0x85b35c:ur;_0x84a14 instanceof _0xf3f50c&&(_0x302b91=_0x84a14[_0x34c5f2(0x48a)]),document['title']=_0x302b91;}));}};Ct=_r([zt(0x0,_0x54a9fc),zt(0x1,_0x3ada0c)],Ct);var dr=Object[_0x5c86d9(0x20c)],fr=(_0x2a8d4d,_0x4a8c9d,_0x486ac2,_0x38d522)=>{for(var _0x5f1565=_0x38d522>0x1?void 0x0:_0x38d522?dr(_0x4a8c9d,_0x486ac2):_0x4a8c9d,_0xd3e853=_0x2a8d4d['length']-0x1,_0x3ff1e2;_0xd3e853>=0x0;_0xd3e853--)(_0x3ff1e2=_0x2a8d4d[_0xd3e853])&&(_0x5f1565=_0x3ff1e2(_0x5f1565)||_0x5f1565);return _0x5f1565;},vt=(_0x276640,_0x5186da)=>(_0x5e8f4b,_0x5ec037)=>_0x5186da(_0x5e8f4b,_0x5ec037,_0x276640);let st=class{constructor(_0x4de0f8,_0x4a12e3,_0xbcb19b){var _0x340ab2=_0x5c86d9;this[_0x340ab2(0x2eb)]=_0x4de0f8,this['_httpService']=_0x4a12e3,this[_0x340ab2(0x4a4)]=_0xbcb19b,this['init']();}['init'](){var _0x18fa63=_0x5c86d9;this[_0x18fa63(0x391)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x21de32,_0xe29d56)=>_0xe29d56(_0x21de32)[_0x18fa63(0x207)](_0x202915(async _0x2d0c22=>{var _0x345a43=_0x18fa63;const _0xe427dd=_0x2d0c22;if(_0xe427dd[_0x345a43(0x2fa)]===0x191){if(typeof window>'u')throw new Error(_0x345a43(0x287));if(window[_0x345a43(0x294)](this['localeService']['t'](_0x345a43(0x2e0)))){const _0x2d5412=window[_0x345a43(0x3d9)](window[_0x345a43(0x44b)]['href']);window[_0x345a43(0x44b)][_0x345a43(0x41c)]=this[_0x345a43(0x307)]()+_0x345a43(0x2f4)+_0x2d5412;}}return _0xe427dd;}))});}[_0x5c86d9(0x307)](){var _0x34ee4e=_0x5c86d9,_0x3e4b3b,_0xed3238;const _0x1f70b6=this[_0x34ee4e(0x2eb)][_0x34ee4e(0x246)](Un),_0x3ba958=this['_configService'][_0x34ee4e(0x246)](q);return(_0xed3238=(_0x3e4b3b=_0x3ba958==null?void 0x0:_0x3ba958['loginUrlKey'])!=null?_0x3e4b3b:_0x1f70b6)!=null?_0xed3238:wn;}};st=fr([vt(0x0,_0x3ada0c),vt(0x1,_0x5ebbff(_0x217687)),vt(0x2,_0x5ebbff(_0x369acd))],st);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x4f94a4,_0x25bdb4,_0x3daa80,_0x55df53)=>{for(var _0x455cb8=_0x55df53>0x1?void 0x0:_0x55df53?vr(_0x25bdb4,_0x3daa80):_0x25bdb4,_0x2501f7=_0x4f94a4['length']-0x1,_0x5e8909;_0x2501f7>=0x0;_0x2501f7--)(_0x5e8909=_0x4f94a4[_0x2501f7])&&(_0x455cb8=_0x5e8909(_0x455cb8)||_0x455cb8);return _0x455cb8;},Jt=(_0x150587,_0x905298)=>(_0x3d2ed7,_0x52ae4b)=>_0x905298(_0x3d2ed7,_0x52ae4b,_0x150587);const Ni=_0x5c86d9(0x450),mr=_0x5c86d9(0x216);let Rt=class extends _0x160920{constructor(_0x90977,_0x118d1f){var _0x3d6239=_0x5c86d9;super(),this[_0x3d6239(0x429)]=_0x90977,this['_configService']=_0x118d1f,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x43d546=_0x5c86d9;const _0x1bcd4b=this;this['disposeWithMe'](this[_0x43d546(0x429)][_0x43d546(0x205)]({'priority':0x3e7,'interceptor':_0x2a1f26({'isMatch'(_0x2e02d9){var _0x5eec9f=_0x43d546,_0x4c0ed6;if(_0x2e02d9[_0x5eec9f(0x1d9)]===_0x5eec9f(0x1c8)&&((_0x4c0ed6=_0x2e02d9[_0x5eec9f(0x2c7)])!=null&&_0x4c0ed6['body'])){const {objectID:_0x51de00,objectType:_0x3f3b20}=_0x2e02d9[_0x5eec9f(0x2c7)]['body']||{};if(!_0x51de00||_0x3f3b20===void 0x0)return!0x1;const _0x476f6d=_0x1bcd4b[_0x5eec9f(0x202)]()+'/'+_0x3f3b20+_0x5eec9f(0x3bf)+_0x51de00+_0x5eec9f(0x2ec);if(_0x2e02d9[_0x5eec9f(0x258)]===_0x476f6d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x210c24){var _0x396e80=_0x43d546,_0x46b6ab;return(_0x46b6ab=_0x210c24[_0x396e80(0x2c7)])==null?void 0x0:_0x46b6ab[_0x396e80(0x47d)];},'mergeParamsToRequest'(_0x230c84,_0x426e49){var _0x11d576=_0x43d546;const _0x4a9920=_0x1bcd4b[_0x11d576(0x202)]()+_0x11d576(0x333),_0x5952c6=_0x230c84[_0x11d576(0x4b0)]((_0x1ccbf0,_0x3c6874)=>{var _0x5254f9=_0x11d576;const {unitID:_0x22567e,objectID:_0x3b7f42,objectType:_0x772b7e,actions:_0x3a18a7}=_0x3c6874;return _0x1ccbf0[_0x22567e]||(_0x1ccbf0[_0x22567e]={}),_0x1ccbf0[_0x22567e][_0x3b7f42]||(_0x1ccbf0[_0x22567e][_0x3b7f42]={'objectID':_0x3b7f42,'objectType':_0x772b7e,'actions':[]}),_0x1ccbf0[_0x22567e][_0x3b7f42][_0x5254f9(0x44a)][_0x5254f9(0x2c3)](..._0x3a18a7),_0x1ccbf0;},{}),_0x565b9e=[];for(const _0x1fbbc0 in _0x5952c6)for(const _0x3a3533 in _0x5952c6[_0x1fbbc0]){const {actions:_0x4e2234,objectType:_0x249d33}=_0x5952c6[_0x1fbbc0][_0x3a3533],_0x13b48d=[...new Set(_0x4e2234)];_0x565b9e[_0x11d576(0x2c3)]({'unitID':_0x1fbbc0,'objectID':_0x3a3533,'objectType':_0x249d33,'actions':_0x13b48d});}return new _0xc0c5a8('POST',_0x4a9920,{'headers':_0x426e49[_0x11d576(0x3de)],'withCredentials':_0x426e49[_0x11d576(0x33c)],'responseType':_0x426e49[_0x11d576(0x357)],'body':{'requests':_0x565b9e}});}},{'distributeResult'(_0x25a2b9,_0x2aefe8){var _0x5e000d=_0x43d546;const {objectActions:_0x13e3f8}=_0x25a2b9;return _0x2aefe8[_0x5e000d(0x1c6)](_0x20ede7=>{var _0x10b825=_0x5e000d;const {unitID:_0x406bcf,objectID:_0x1059a,actions:_0x38a80d}=_0x20ede7,_0x222546=_0x13e3f8[_0x10b825(0x2f0)](_0xf7bd25=>_0xf7bd25[_0x10b825(0x3ef)]===_0x406bcf&&_0xf7bd25[_0x10b825(0x1e1)]===_0x1059a),_0x3813e5=_0x38a80d[_0x10b825(0x1c6)](_0x1e59ed=>_0x222546==null?void 0x0:_0x222546[_0x10b825(0x44a)]['find'](_0x39aef0=>_0x39aef0[_0x10b825(0x3e0)]===_0x1e59ed))['filter'](_0x26d3ef=>!!_0x26d3ef);return{'config':_0x20ede7,'result':{'actions':_0x3813e5,'error':_0x25a2b9[_0x10b825(0x26d)]}};});}})}));}['_getAPIPrefixPath'](){var _0x151ea6=_0x5c86d9,_0xa67473,_0x33ea3f;const _0x85012d=this[_0x151ea6(0x2eb)]['getConfig'](Ni),_0x4d3b56=this[_0x151ea6(0x2eb)][_0x151ea6(0x246)](q);return(_0x33ea3f=(_0xa67473=_0x4d3b56==null?void 0x0:_0x4d3b56[_0x151ea6(0x22c)])!=null?_0xa67473:_0x85012d)!=null?_0x33ea3f:mr;}async[_0x5c86d9(0x20a)](_0x2582ad){var _0x47abfc=_0x5c86d9;const _0x3d26f0=this['_getAPIPrefixPath']()+'/'+_0x2582ad[_0x47abfc(0x3ec)]+_0x47abfc(0x453);return(await this[_0x47abfc(0x429)][_0x47abfc(0x322)](_0x3d26f0,{'body':_0x2582ad}))[_0x47abfc(0x47d)][_0x47abfc(0x1e1)]||'';}async['list'](_0x8e5568){var _0x21e04c=_0x5c86d9;const _0x2f39d1=this[_0x21e04c(0x202)]()+_0x21e04c(0x2e6);return(await this[_0x21e04c(0x429)]['post'](_0x2f39d1,{'body':_0x8e5568}))[_0x21e04c(0x47d)]['objects'];}async[_0x5c86d9(0x2fc)](_0x4af38f){var _0x8243dc=_0x5c86d9,_0x148f10,_0x2c4e2b;const _0x496011=this[_0x8243dc(0x202)]()+'/'+_0x4af38f['objectType']+_0x8243dc(0x3bf)+_0x4af38f[_0x8243dc(0x1e1)],_0xe18db=await this['_HTTPService'][_0x8243dc(0x28b)](_0x496011,{'body':_0x4af38f});if(((_0x2c4e2b=(_0x148f10=_0xe18db==null?void 0x0:_0xe18db[_0x8243dc(0x47d)])==null?void 0x0:_0x148f10[_0x8243dc(0x26d)])==null?void 0x0:_0x2c4e2b[_0x8243dc(0x1d1)])!==0x0)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x5c86d9(0x2a9)](_0xe1ec08){var _0x6ccd16=_0x5c86d9;const _0x4db4b8=this[_0x6ccd16(0x202)]()+'/'+_0xe1ec08['objectType']+_0x6ccd16(0x3bf)+_0xe1ec08[_0x6ccd16(0x1e1)]+'/allowed';return(await this[_0x6ccd16(0x429)][_0x6ccd16(0x322)](_0x4db4b8,{'body':_0xe1ec08}))[_0x6ccd16(0x47d)][_0x6ccd16(0x44a)];}async['batchAllowed'](_0x5214c0){var _0x48f229=_0x5c86d9;const _0x1208fd=this[_0x48f229(0x202)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x48f229(0x322)](_0x1208fd,{'body':{'requests':_0x5214c0}}))[_0x48f229(0x47d)]['objectActions'];}async[_0x5c86d9(0x2b1)](_0x469570){var _0x218c47=_0x5c86d9;const _0x3b2c25=this[_0x218c47(0x202)]()+'/'+_0x469570['objectType']+_0x218c47(0x3c8),_0x342fee=await this[_0x218c47(0x429)]['post'](_0x3b2c25,{'body':_0x469570});return{'roles':_0x342fee[_0x218c47(0x47d)][_0x218c47(0x3f3)],'actions':_0x342fee[_0x218c47(0x47d)][_0x218c47(0x44a)]};}async[_0x5c86d9(0x47b)](_0xc85847){var _0x2a1500=_0x5c86d9;const _0x51cb7a=this[_0x2a1500(0x202)]()+'/collaborator';await this['_HTTPService'][_0x2a1500(0x3b9)](_0x51cb7a,{'params':{'collaboratorID':_0xc85847['collaboratorID'],'objectID':_0xc85847['objectID'],'unitID':_0xc85847[_0x2a1500(0x3ef)]}});}async[_0x5c86d9(0x4b6)](_0x2947ab){var _0x5e3f10=_0x5c86d9;const _0x1d3a9b=this[_0x5e3f10(0x202)]()+'/collaborator';await this[_0x5e3f10(0x429)]['patch'](_0x1d3a9b,{'body':_0x2947ab});}async[_0x5c86d9(0x2ef)](_0x200fd5){var _0x254ab2=_0x5c86d9;const _0x4a6d34=this[_0x254ab2(0x202)]()+_0x254ab2(0x44d);await this[_0x254ab2(0x429)][_0x254ab2(0x322)](_0x4a6d34,{'body':_0x200fd5});}async[_0x5c86d9(0x452)](_0x322060){var _0x55d133=_0x5c86d9;const _0x57c041=this[_0x55d133(0x202)]()+_0x55d133(0x44d);return(await this['_HTTPService']['get'](_0x57c041,{'params':{'objectID':_0x322060[_0x55d133(0x1e1)],'unitID':_0x322060['unitID']}}))[_0x55d133(0x47d)]['collaborators'];}async[_0x5c86d9(0x2cb)](_0x34011e){var _0x568bc4=_0x5c86d9;const _0x127933=this[_0x568bc4(0x202)]()+_0x568bc4(0x44d);await this[_0x568bc4(0x429)]['put'](_0x127933,{'body':_0x34011e});}};Rt=pr([Jt(0x0,_0x5ebbff(_0x217687)),Jt(0x1,_0x5ebbff(_0x3ada0c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x1961a9){var _0x4c3516=_0x5c86d9;return _0x1961a9&&_0x1961a9['__esModule']&&Object[_0x4c3516(0x24f)][_0x4c3516(0x45e)][_0x4c3516(0x49f)](_0x1961a9,_0x4c3516(0x3bb))?_0x1961a9['default']:_0x1961a9;}var Ve={'exports':{}};function gr(_0x570401){var _0x3f91fd=_0x5c86d9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x570401+_0x3f91fd(0x2ee));}var Ge={'exports':{}},Sr=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x25aa3f,_0x18f568){(function(_0x1d4377,_0x4d1c69){var _0x17928d=_0xbb9a;_0x25aa3f[_0x17928d(0x365)]=_0x4d1c69();}(Sr,function(){var _0x32b0c0=_0x32b0c0||function(_0x142644,_0x58c3eb){var _0x174dee=_0xbb9a,_0x9ac77d;if(typeof window<'u'&&window['crypto']&&(_0x9ac77d=window[_0x174dee(0x20d)]),typeof self<'u'&&self['crypto']&&(_0x9ac77d=self[_0x174dee(0x20d)]),typeof globalThis<'u'&&globalThis[_0x174dee(0x20d)]&&(_0x9ac77d=globalThis[_0x174dee(0x20d)]),!_0x9ac77d&&typeof window<'u'&&window['msCrypto']&&(_0x9ac77d=window[_0x174dee(0x42e)]),!_0x9ac77d&&typeof pt<'u'&&pt[_0x174dee(0x20d)]&&(_0x9ac77d=pt['crypto']),!_0x9ac77d&&typeof gr==_0x174dee(0x44f))try{_0x9ac77d=require('crypto');}catch{}var _0x3ae060=function(){var _0x5398c7=_0x174dee;if(_0x9ac77d){if(typeof _0x9ac77d[_0x5398c7(0x376)]=='function')try{return _0x9ac77d[_0x5398c7(0x376)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x9ac77d[_0x5398c7(0x4cc)]=='function')try{return _0x9ac77d[_0x5398c7(0x4cc)](0x4)[_0x5398c7(0x2aa)]();}catch{}}throw new Error(_0x5398c7(0x476));},_0x20d5be=Object['create']||(function(){function _0x2ff61a(){}return function(_0x11b13c){var _0x492525=_0xbb9a,_0xe95ec;return _0x2ff61a[_0x492525(0x24f)]=_0x11b13c,_0xe95ec=new _0x2ff61a(),_0x2ff61a[_0x492525(0x24f)]=null,_0xe95ec;};}()),_0x2dd82a={},_0x1c9b77=_0x2dd82a[_0x174dee(0x1f5)]={},_0x2c29c7=_0x1c9b77[_0x174dee(0x44e)]=(function(){return{'extend':function(_0x58c616){var _0x1a9838=_0xbb9a,_0x594e6b=_0x20d5be(this);return _0x58c616&&_0x594e6b[_0x1a9838(0x2f2)](_0x58c616),(!_0x594e6b[_0x1a9838(0x45e)]('init')||this['init']===_0x594e6b[_0x1a9838(0x463)])&&(_0x594e6b[_0x1a9838(0x463)]=function(){var _0x4cba6e=_0x1a9838;_0x594e6b[_0x4cba6e(0x361)]['init'][_0x4cba6e(0x276)](this,arguments);}),_0x594e6b[_0x1a9838(0x463)][_0x1a9838(0x24f)]=_0x594e6b,_0x594e6b['$super']=this,_0x594e6b;},'create':function(){var _0x9ce879=_0xbb9a,_0xb11d6=this[_0x9ce879(0x244)]();return _0xb11d6[_0x9ce879(0x463)][_0x9ce879(0x276)](_0xb11d6,arguments),_0xb11d6;},'init':function(){},'mixIn':function(_0x334aad){var _0xa2603e=_0xbb9a;for(var _0x1989f5 in _0x334aad)_0x334aad[_0xa2603e(0x45e)](_0x1989f5)&&(this[_0x1989f5]=_0x334aad[_0x1989f5]);_0x334aad[_0xa2603e(0x45e)](_0xa2603e(0x2d6))&&(this[_0xa2603e(0x2d6)]=_0x334aad[_0xa2603e(0x2d6)]);},'clone':function(){var _0x25b003=_0xbb9a;return this['init'][_0x25b003(0x24f)][_0x25b003(0x244)](this);}};}()),_0xc187d0=_0x1c9b77[_0x174dee(0x3a5)]=_0x2c29c7['extend']({'init':function(_0x441654,_0x2472f6){var _0x291f44=_0x174dee;_0x441654=this[_0x291f44(0x2a2)]=_0x441654||[],_0x2472f6!=_0x58c3eb?this[_0x291f44(0x3b0)]=_0x2472f6:this['sigBytes']=_0x441654[_0x291f44(0x1f6)]*0x4;},'toString':function(_0x138247){var _0x47436a=_0x174dee;return(_0x138247||_0x52411d)[_0x47436a(0x448)](this);},'concat':function(_0x2ab6ef){var _0x21efa0=_0x174dee,_0x4f1c90=this['words'],_0x39d1b1=_0x2ab6ef[_0x21efa0(0x2a2)],_0x28714b=this['sigBytes'],_0xc5858=_0x2ab6ef[_0x21efa0(0x3b0)];if(this[_0x21efa0(0x38b)](),_0x28714b%0x4)for(var _0x3f4030=0x0;_0x3f4030<_0xc5858;_0x3f4030++){var _0x3e7fa4=_0x39d1b1[_0x3f4030>>>0x2]>>>0x18-_0x3f4030%0x4*0x8&0xff;_0x4f1c90[_0x28714b+_0x3f4030>>>0x2]|=_0x3e7fa4<<0x18-(_0x28714b+_0x3f4030)%0x4*0x8;}else{for(var _0x354fde=0x0;_0x354fde<_0xc5858;_0x354fde+=0x4)_0x4f1c90[_0x28714b+_0x354fde>>>0x2]=_0x39d1b1[_0x354fde>>>0x2];}return this[_0x21efa0(0x3b0)]+=_0xc5858,this;},'clamp':function(){var _0x5dc0fd=_0x174dee,_0x3792e4=this[_0x5dc0fd(0x2a2)],_0x420e36=this['sigBytes'];_0x3792e4[_0x420e36>>>0x2]&=0xffffffff<<0x20-_0x420e36%0x4*0x8,_0x3792e4[_0x5dc0fd(0x1f6)]=_0x142644[_0x5dc0fd(0x2ba)](_0x420e36/0x4);},'clone':function(){var _0x5b0abe=_0x174dee,_0x4aac78=_0x2c29c7[_0x5b0abe(0x2a5)][_0x5b0abe(0x49f)](this);return _0x4aac78[_0x5b0abe(0x2a2)]=this[_0x5b0abe(0x2a2)][_0x5b0abe(0x4c2)](0x0),_0x4aac78;},'random':function(_0x58be1f){var _0x559f15=_0x174dee;for(var _0xae7e83=[],_0x51a6ea=0x0;_0x51a6ea<_0x58be1f;_0x51a6ea+=0x4)_0xae7e83['push'](_0x3ae060());return new _0xc187d0[(_0x559f15(0x463))](_0xae7e83,_0x58be1f);}}),_0x2b0426=_0x2dd82a[_0x174dee(0x290)]={},_0x52411d=_0x2b0426[_0x174dee(0x309)]={'stringify':function(_0x55458){var _0x216ecb=_0x174dee;for(var _0x5ad918=_0x55458[_0x216ecb(0x2a2)],_0x4641f0=_0x55458[_0x216ecb(0x3b0)],_0x1f0115=[],_0x33714e=0x0;_0x33714e<_0x4641f0;_0x33714e++){var _0x15017e=_0x5ad918[_0x33714e>>>0x2]>>>0x18-_0x33714e%0x4*0x8&0xff;_0x1f0115['push']((_0x15017e>>>0x4)[_0x216ecb(0x2d6)](0x10)),_0x1f0115[_0x216ecb(0x2c3)]((_0x15017e&0xf)[_0x216ecb(0x2d6)](0x10));}return _0x1f0115[_0x216ecb(0x259)]('');},'parse':function(_0x4b4e79){var _0x2423c0=_0x174dee;for(var _0x497ee0=_0x4b4e79['length'],_0x2aca3b=[],_0x3f2564=0x0;_0x3f2564<_0x497ee0;_0x3f2564+=0x2)_0x2aca3b[_0x3f2564>>>0x3]|=parseInt(_0x4b4e79[_0x2423c0(0x39e)](_0x3f2564,0x2),0x10)<<0x18-_0x3f2564%0x8*0x4;return new _0xc187d0[(_0x2423c0(0x463))](_0x2aca3b,_0x497ee0/0x2);}},_0x2c364d=_0x2b0426[_0x174dee(0x427)]={'stringify':function(_0x450a05){var _0x44ec0d=_0x174dee;for(var _0x57c137=_0x450a05[_0x44ec0d(0x2a2)],_0x139ca5=_0x450a05['sigBytes'],_0x3e05cf=[],_0x7ac484=0x0;_0x7ac484<_0x139ca5;_0x7ac484++){var _0x12f02b=_0x57c137[_0x7ac484>>>0x2]>>>0x18-_0x7ac484%0x4*0x8&0xff;_0x3e05cf['push'](String[_0x44ec0d(0x372)](_0x12f02b));}return _0x3e05cf[_0x44ec0d(0x259)]('');},'parse':function(_0x3c6a96){var _0x24217e=_0x174dee;for(var _0x3a2907=_0x3c6a96[_0x24217e(0x1f6)],_0x1beca7=[],_0x588ba9=0x0;_0x588ba9<_0x3a2907;_0x588ba9++)_0x1beca7[_0x588ba9>>>0x2]|=(_0x3c6a96[_0x24217e(0x3e1)](_0x588ba9)&0xff)<<0x18-_0x588ba9%0x4*0x8;return new _0xc187d0[(_0x24217e(0x463))](_0x1beca7,_0x3a2907);}},_0x2d8011=_0x2b0426[_0x174dee(0x3bd)]={'stringify':function(_0x1984ac){var _0x4757c9=_0x174dee;try{return decodeURIComponent(escape(_0x2c364d['stringify'](_0x1984ac)));}catch{throw new Error(_0x4757c9(0x341));}},'parse':function(_0x16702c){return _0x2c364d['parse'](unescape(encodeURIComponent(_0x16702c)));}},_0x100a3d=_0x1c9b77[_0x174dee(0x465)]=_0x2c29c7[_0x174dee(0x244)]({'reset':function(){var _0x5970aa=_0x174dee;this[_0x5970aa(0x46a)]=new _0xc187d0[(_0x5970aa(0x463))](),this[_0x5970aa(0x4d5)]=0x0;},'_append':function(_0x4f9e0e){var _0x1ce83a=_0x174dee;typeof _0x4f9e0e==_0x1ce83a(0x4b1)&&(_0x4f9e0e=_0x2d8011[_0x1ce83a(0x4d1)](_0x4f9e0e)),this[_0x1ce83a(0x46a)][_0x1ce83a(0x447)](_0x4f9e0e),this['_nDataBytes']+=_0x4f9e0e[_0x1ce83a(0x3b0)];},'_process':function(_0xb3a015){var _0x2afaa6=_0x174dee,_0xdca1d6,_0x3e314d=this[_0x2afaa6(0x46a)],_0x3e0075=_0x3e314d['words'],_0x395982=_0x3e314d[_0x2afaa6(0x3b0)],_0x1a623d=this[_0x2afaa6(0x264)],_0xfb1274=_0x1a623d*0x4,_0x536173=_0x395982/_0xfb1274;_0xb3a015?_0x536173=_0x142644[_0x2afaa6(0x2ba)](_0x536173):_0x536173=_0x142644[_0x2afaa6(0x35a)]((_0x536173|0x0)-this[_0x2afaa6(0x387)],0x0);var _0x49f0e0=_0x536173*_0x1a623d,_0x45f380=_0x142644[_0x2afaa6(0x30d)](_0x49f0e0*0x4,_0x395982);if(_0x49f0e0){for(var _0x2329b8=0x0;_0x2329b8<_0x49f0e0;_0x2329b8+=_0x1a623d)this[_0x2afaa6(0x2d0)](_0x3e0075,_0x2329b8);_0xdca1d6=_0x3e0075['splice'](0x0,_0x49f0e0),_0x3e314d[_0x2afaa6(0x3b0)]-=_0x45f380;}return new _0xc187d0['init'](_0xdca1d6,_0x45f380);},'clone':function(){var _0x252069=_0x174dee,_0x75d299=_0x2c29c7[_0x252069(0x2a5)][_0x252069(0x49f)](this);return _0x75d299['_data']=this[_0x252069(0x46a)][_0x252069(0x2a5)](),_0x75d299;},'_minBufferSize':0x0});_0x1c9b77[_0x174dee(0x46c)]=_0x100a3d[_0x174dee(0x244)]({'cfg':_0x2c29c7[_0x174dee(0x244)](),'init':function(_0x45cd25){var _0x22ba6d=_0x174dee;this[_0x22ba6d(0x3fc)]=this[_0x22ba6d(0x3fc)]['extend'](_0x45cd25),this[_0x22ba6d(0x43a)]();},'reset':function(){var _0x4201df=_0x174dee;_0x100a3d[_0x4201df(0x43a)]['call'](this),this[_0x4201df(0x23c)]();},'update':function(_0x3280bd){var _0x33a36a=_0x174dee;return this[_0x33a36a(0x46f)](_0x3280bd),this[_0x33a36a(0x2cc)](),this;},'finalize':function(_0x4ca76d){var _0x4eadba=_0x174dee;_0x4ca76d&&this[_0x4eadba(0x46f)](_0x4ca76d);var _0x45167a=this['_doFinalize']();return _0x45167a;},'blockSize':0x10,'_createHelper':function(_0x1057d9){return function(_0xae58de,_0x27819a){var _0x4f0655=_0xbb9a;return new _0x1057d9[(_0x4f0655(0x463))](_0x27819a)[_0x4f0655(0x2dd)](_0xae58de);};},'_createHmacHelper':function(_0x83ffb3){return function(_0x4bda19,_0x4a8bdc){var _0x11f767=_0xbb9a;return new _0x4c3e61[(_0x11f767(0x36d))][(_0x11f767(0x463))](_0x83ffb3,_0x4a8bdc)[_0x11f767(0x2dd)](_0x4bda19);};}});var _0x4c3e61=_0x2dd82a[_0x174dee(0x2fe)]={};return _0x2dd82a;}(Math);return _0x32b0c0;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Er=We[_0x5c86d9(0x365)],Zt;function Di(){var _0x10d356=_0x5c86d9;return Zt||(Zt=0x1,function(_0x45c26e,_0xf96b44){(function(_0x308261,_0xa24d03){var _0x314e46=_0xbb9a;_0x45c26e[_0x314e46(0x365)]=_0xa24d03(ie());}(Er,function(_0x333498){var _0x8fdd3b=_0xbb9a;return(function(){var _0x1d0c90=_0xbb9a,_0x19c159=_0x333498,_0x2eb3a0=_0x19c159[_0x1d0c90(0x1f5)],_0x4424cc=_0x2eb3a0[_0x1d0c90(0x3a5)],_0x353f87=_0x19c159[_0x1d0c90(0x290)];_0x353f87[_0x1d0c90(0x45a)]={'stringify':function(_0xff78be){var _0xf5574a=_0x1d0c90,_0x5ca071=_0xff78be[_0xf5574a(0x2a2)],_0x14976e=_0xff78be['sigBytes'],_0x2f4f21=this['_map'];_0xff78be['clamp']();for(var _0x13c3e0=[],_0x209b66=0x0;_0x209b66<_0x14976e;_0x209b66+=0x3)for(var _0x225410=_0x5ca071[_0x209b66>>>0x2]>>>0x18-_0x209b66%0x4*0x8&0xff,_0x1f3b1b=_0x5ca071[_0x209b66+0x1>>>0x2]>>>0x18-(_0x209b66+0x1)%0x4*0x8&0xff,_0xd6981b=_0x5ca071[_0x209b66+0x2>>>0x2]>>>0x18-(_0x209b66+0x2)%0x4*0x8&0xff,_0x2e7d9c=_0x225410<<0x10|_0x1f3b1b<<0x8|_0xd6981b,_0x58f023=0x0;_0x58f023<0x4&&_0x209b66+_0x58f023*0.75<_0x14976e;_0x58f023++)_0x13c3e0[_0xf5574a(0x2c3)](_0x2f4f21[_0xf5574a(0x1f7)](_0x2e7d9c>>>0x6*(0x3-_0x58f023)&0x3f));var _0x12e51f=_0x2f4f21[_0xf5574a(0x1f7)](0x40);if(_0x12e51f){for(;_0x13c3e0[_0xf5574a(0x1f6)]%0x4;)_0x13c3e0[_0xf5574a(0x2c3)](_0x12e51f);}return _0x13c3e0[_0xf5574a(0x259)]('');},'parse':function(_0x19a91b){var _0x17168a=_0x1d0c90,_0x232bcb=_0x19a91b[_0x17168a(0x1f6)],_0x40b4cc=this['_map'],_0x20215a=this[_0x17168a(0x3b6)];if(!_0x20215a){_0x20215a=this[_0x17168a(0x3b6)]=[];for(var _0x141c64=0x0;_0x141c64<_0x40b4cc[_0x17168a(0x1f6)];_0x141c64++)_0x20215a[_0x40b4cc[_0x17168a(0x3e1)](_0x141c64)]=_0x141c64;}var _0x184b28=_0x40b4cc[_0x17168a(0x1f7)](0x40);if(_0x184b28){var _0x44d47b=_0x19a91b['indexOf'](_0x184b28);_0x44d47b!==-0x1&&(_0x232bcb=_0x44d47b);}return _0x5f4045(_0x19a91b,_0x232bcb,_0x20215a);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f4045(_0x3cd631,_0x58ec5e,_0x535eed){var _0x27c878=_0x1d0c90;for(var _0x20c91b=[],_0x164943=0x0,_0x4fdd87=0x0;_0x4fdd87<_0x58ec5e;_0x4fdd87++)if(_0x4fdd87%0x4){var _0x47f75d=_0x535eed[_0x3cd631[_0x27c878(0x3e1)](_0x4fdd87-0x1)]<<_0x4fdd87%0x4*0x2,_0x3f6e01=_0x535eed[_0x3cd631['charCodeAt'](_0x4fdd87)]>>>0x6-_0x4fdd87%0x4*0x2,_0x38df9a=_0x47f75d|_0x3f6e01;_0x20c91b[_0x164943>>>0x2]|=_0x38df9a<<0x18-_0x164943%0x4*0x8,_0x164943++;}return _0x4424cc[_0x27c878(0x20a)](_0x20c91b,_0x164943);}}()),_0x333498[_0x8fdd3b(0x290)][_0x8fdd3b(0x45a)];}));}(We)),We[_0x10d356(0x365)];}var Ke={'exports':{}},Ir=Ke[_0x5c86d9(0x365)],Qt;function Tr(){var _0x592866=_0x5c86d9;return Qt||(Qt=0x1,function(_0x396f0d,_0x1978ee){(function(_0x1c7d72,_0x2b0372){var _0x1f0172=_0xbb9a;_0x396f0d[_0x1f0172(0x365)]=_0x2b0372(ie());}(Ir,function(_0x23edd9){return function(_0x361b4c){var _0x528635=_0xbb9a,_0x7bcd9a=_0x23edd9,_0x5cd579=_0x7bcd9a[_0x528635(0x1f5)],_0x2590e6=_0x5cd579[_0x528635(0x3a5)],_0x424f5e=_0x5cd579[_0x528635(0x46c)],_0x1bea19=_0x7bcd9a['algo'],_0x49a174=[];(function(){var _0x408bf8=_0x528635;for(var _0x1ef291=0x0;_0x1ef291<0x40;_0x1ef291++)_0x49a174[_0x1ef291]=_0x361b4c[_0x408bf8(0x3e4)](_0x361b4c[_0x408bf8(0x3e6)](_0x1ef291+0x1))*0x100000000|0x0;}());var _0x42a4f8=_0x1bea19[_0x528635(0x1d4)]=_0x424f5e[_0x528635(0x244)]({'_doReset':function(){var _0x5d1c8e=_0x528635;this[_0x5d1c8e(0x2dc)]=new _0x2590e6[(_0x5d1c8e(0x463))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x16c1f1,_0x45573c){var _0x3bae0a=_0x528635;for(var _0x4baa6f=0x0;_0x4baa6f<0x10;_0x4baa6f++){var _0x4108dc=_0x45573c+_0x4baa6f,_0xf358e3=_0x16c1f1[_0x4108dc];_0x16c1f1[_0x4108dc]=(_0xf358e3<<0x8|_0xf358e3>>>0x18)&0xff00ff|(_0xf358e3<<0x18|_0xf358e3>>>0x8)&0xff00ff00;}var _0x26fe79=this[_0x3bae0a(0x2dc)][_0x3bae0a(0x2a2)],_0x234898=_0x16c1f1[_0x45573c+0x0],_0x48f563=_0x16c1f1[_0x45573c+0x1],_0x507755=_0x16c1f1[_0x45573c+0x2],_0x40f8f0=_0x16c1f1[_0x45573c+0x3],_0x2938db=_0x16c1f1[_0x45573c+0x4],_0xb7133f=_0x16c1f1[_0x45573c+0x5],_0x37c1c3=_0x16c1f1[_0x45573c+0x6],_0x4f7eb5=_0x16c1f1[_0x45573c+0x7],_0x79f56c=_0x16c1f1[_0x45573c+0x8],_0x5b3c13=_0x16c1f1[_0x45573c+0x9],_0x3bdc0b=_0x16c1f1[_0x45573c+0xa],_0x34e624=_0x16c1f1[_0x45573c+0xb],_0x1a1077=_0x16c1f1[_0x45573c+0xc],_0x3edb57=_0x16c1f1[_0x45573c+0xd],_0x496497=_0x16c1f1[_0x45573c+0xe],_0x200165=_0x16c1f1[_0x45573c+0xf],_0x28b20d=_0x26fe79[0x0],_0xb7e201=_0x26fe79[0x1],_0x10da0a=_0x26fe79[0x2],_0x178a21=_0x26fe79[0x3];_0x28b20d=_0x38dcf1(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x234898,0x7,_0x49a174[0x0]),_0x178a21=_0x38dcf1(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x48f563,0xc,_0x49a174[0x1]),_0x10da0a=_0x38dcf1(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x507755,0x11,_0x49a174[0x2]),_0xb7e201=_0x38dcf1(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x40f8f0,0x16,_0x49a174[0x3]),_0x28b20d=_0x38dcf1(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x2938db,0x7,_0x49a174[0x4]),_0x178a21=_0x38dcf1(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0xb7133f,0xc,_0x49a174[0x5]),_0x10da0a=_0x38dcf1(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x37c1c3,0x11,_0x49a174[0x6]),_0xb7e201=_0x38dcf1(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x4f7eb5,0x16,_0x49a174[0x7]),_0x28b20d=_0x38dcf1(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x79f56c,0x7,_0x49a174[0x8]),_0x178a21=_0x38dcf1(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x5b3c13,0xc,_0x49a174[0x9]),_0x10da0a=_0x38dcf1(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x3bdc0b,0x11,_0x49a174[0xa]),_0xb7e201=_0x38dcf1(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x34e624,0x16,_0x49a174[0xb]),_0x28b20d=_0x38dcf1(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x1a1077,0x7,_0x49a174[0xc]),_0x178a21=_0x38dcf1(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x3edb57,0xc,_0x49a174[0xd]),_0x10da0a=_0x38dcf1(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x496497,0x11,_0x49a174[0xe]),_0xb7e201=_0x38dcf1(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x200165,0x16,_0x49a174[0xf]),_0x28b20d=_0x2b63af(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x48f563,0x5,_0x49a174[0x10]),_0x178a21=_0x2b63af(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x37c1c3,0x9,_0x49a174[0x11]),_0x10da0a=_0x2b63af(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x34e624,0xe,_0x49a174[0x12]),_0xb7e201=_0x2b63af(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x234898,0x14,_0x49a174[0x13]),_0x28b20d=_0x2b63af(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0xb7133f,0x5,_0x49a174[0x14]),_0x178a21=_0x2b63af(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x3bdc0b,0x9,_0x49a174[0x15]),_0x10da0a=_0x2b63af(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x200165,0xe,_0x49a174[0x16]),_0xb7e201=_0x2b63af(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x2938db,0x14,_0x49a174[0x17]),_0x28b20d=_0x2b63af(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x5b3c13,0x5,_0x49a174[0x18]),_0x178a21=_0x2b63af(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x496497,0x9,_0x49a174[0x19]),_0x10da0a=_0x2b63af(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x40f8f0,0xe,_0x49a174[0x1a]),_0xb7e201=_0x2b63af(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x79f56c,0x14,_0x49a174[0x1b]),_0x28b20d=_0x2b63af(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x3edb57,0x5,_0x49a174[0x1c]),_0x178a21=_0x2b63af(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x507755,0x9,_0x49a174[0x1d]),_0x10da0a=_0x2b63af(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x4f7eb5,0xe,_0x49a174[0x1e]),_0xb7e201=_0x2b63af(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x1a1077,0x14,_0x49a174[0x1f]),_0x28b20d=_0x42dd30(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0xb7133f,0x4,_0x49a174[0x20]),_0x178a21=_0x42dd30(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x79f56c,0xb,_0x49a174[0x21]),_0x10da0a=_0x42dd30(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x34e624,0x10,_0x49a174[0x22]),_0xb7e201=_0x42dd30(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x496497,0x17,_0x49a174[0x23]),_0x28b20d=_0x42dd30(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x48f563,0x4,_0x49a174[0x24]),_0x178a21=_0x42dd30(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x2938db,0xb,_0x49a174[0x25]),_0x10da0a=_0x42dd30(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x4f7eb5,0x10,_0x49a174[0x26]),_0xb7e201=_0x42dd30(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x3bdc0b,0x17,_0x49a174[0x27]),_0x28b20d=_0x42dd30(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x3edb57,0x4,_0x49a174[0x28]),_0x178a21=_0x42dd30(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x234898,0xb,_0x49a174[0x29]),_0x10da0a=_0x42dd30(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x40f8f0,0x10,_0x49a174[0x2a]),_0xb7e201=_0x42dd30(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x37c1c3,0x17,_0x49a174[0x2b]),_0x28b20d=_0x42dd30(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x5b3c13,0x4,_0x49a174[0x2c]),_0x178a21=_0x42dd30(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x1a1077,0xb,_0x49a174[0x2d]),_0x10da0a=_0x42dd30(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x200165,0x10,_0x49a174[0x2e]),_0xb7e201=_0x42dd30(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x507755,0x17,_0x49a174[0x2f]),_0x28b20d=_0x5a1745(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x234898,0x6,_0x49a174[0x30]),_0x178a21=_0x5a1745(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x4f7eb5,0xa,_0x49a174[0x31]),_0x10da0a=_0x5a1745(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x496497,0xf,_0x49a174[0x32]),_0xb7e201=_0x5a1745(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0xb7133f,0x15,_0x49a174[0x33]),_0x28b20d=_0x5a1745(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x1a1077,0x6,_0x49a174[0x34]),_0x178a21=_0x5a1745(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x40f8f0,0xa,_0x49a174[0x35]),_0x10da0a=_0x5a1745(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x3bdc0b,0xf,_0x49a174[0x36]),_0xb7e201=_0x5a1745(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x48f563,0x15,_0x49a174[0x37]),_0x28b20d=_0x5a1745(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x79f56c,0x6,_0x49a174[0x38]),_0x178a21=_0x5a1745(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x200165,0xa,_0x49a174[0x39]),_0x10da0a=_0x5a1745(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x37c1c3,0xf,_0x49a174[0x3a]),_0xb7e201=_0x5a1745(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x3edb57,0x15,_0x49a174[0x3b]),_0x28b20d=_0x5a1745(_0x28b20d,_0xb7e201,_0x10da0a,_0x178a21,_0x2938db,0x6,_0x49a174[0x3c]),_0x178a21=_0x5a1745(_0x178a21,_0x28b20d,_0xb7e201,_0x10da0a,_0x34e624,0xa,_0x49a174[0x3d]),_0x10da0a=_0x5a1745(_0x10da0a,_0x178a21,_0x28b20d,_0xb7e201,_0x507755,0xf,_0x49a174[0x3e]),_0xb7e201=_0x5a1745(_0xb7e201,_0x10da0a,_0x178a21,_0x28b20d,_0x5b3c13,0x15,_0x49a174[0x3f]),_0x26fe79[0x0]=_0x26fe79[0x0]+_0x28b20d|0x0,_0x26fe79[0x1]=_0x26fe79[0x1]+_0xb7e201|0x0,_0x26fe79[0x2]=_0x26fe79[0x2]+_0x10da0a|0x0,_0x26fe79[0x3]=_0x26fe79[0x3]+_0x178a21|0x0;},'_doFinalize':function(){var _0x24fee2=_0x528635,_0x5eba13=this['_data'],_0x1eb418=_0x5eba13[_0x24fee2(0x2a2)],_0x16eaf5=this['_nDataBytes']*0x8,_0x5d3b33=_0x5eba13[_0x24fee2(0x3b0)]*0x8;_0x1eb418[_0x5d3b33>>>0x5]|=0x80<<0x18-_0x5d3b33%0x20;var _0x11f840=_0x361b4c[_0x24fee2(0x2b0)](_0x16eaf5/0x100000000),_0x24169=_0x16eaf5;_0x1eb418[(_0x5d3b33+0x40>>>0x9<<0x4)+0xf]=(_0x11f840<<0x8|_0x11f840>>>0x18)&0xff00ff|(_0x11f840<<0x18|_0x11f840>>>0x8)&0xff00ff00,_0x1eb418[(_0x5d3b33+0x40>>>0x9<<0x4)+0xe]=(_0x24169<<0x8|_0x24169>>>0x18)&0xff00ff|(_0x24169<<0x18|_0x24169>>>0x8)&0xff00ff00,_0x5eba13[_0x24fee2(0x3b0)]=(_0x1eb418['length']+0x1)*0x4,this[_0x24fee2(0x2cc)]();for(var _0x38b4fc=this[_0x24fee2(0x2dc)],_0x4a03b6=_0x38b4fc[_0x24fee2(0x2a2)],_0x3b0ab8=0x0;_0x3b0ab8<0x4;_0x3b0ab8++){var _0x26d22d=_0x4a03b6[_0x3b0ab8];_0x4a03b6[_0x3b0ab8]=(_0x26d22d<<0x8|_0x26d22d>>>0x18)&0xff00ff|(_0x26d22d<<0x18|_0x26d22d>>>0x8)&0xff00ff00;}return _0x38b4fc;},'clone':function(){var _0x31729e=_0x528635,_0x1399c2=_0x424f5e[_0x31729e(0x2a5)][_0x31729e(0x49f)](this);return _0x1399c2[_0x31729e(0x2dc)]=this['_hash'][_0x31729e(0x2a5)](),_0x1399c2;}});function _0x38dcf1(_0x499eaf,_0x7745a9,_0x553757,_0x160e89,_0xd23c3e,_0x2ec1cc,_0x5dfbf2){var _0x55064a=_0x499eaf+(_0x7745a9&_0x553757|~_0x7745a9&_0x160e89)+_0xd23c3e+_0x5dfbf2;return(_0x55064a<<_0x2ec1cc|_0x55064a>>>0x20-_0x2ec1cc)+_0x7745a9;}function _0x2b63af(_0x55cb8e,_0x3e6e66,_0x4cef86,_0x346109,_0xd75d10,_0x264962,_0x221d8b){var _0x5ea864=_0x55cb8e+(_0x3e6e66&_0x346109|_0x4cef86&~_0x346109)+_0xd75d10+_0x221d8b;return(_0x5ea864<<_0x264962|_0x5ea864>>>0x20-_0x264962)+_0x3e6e66;}function _0x42dd30(_0x123969,_0x286cd1,_0x9e13e4,_0x4eaac4,_0x23a3ec,_0x415a02,_0x15b7e9){var _0x29496d=_0x123969+(_0x286cd1^_0x9e13e4^_0x4eaac4)+_0x23a3ec+_0x15b7e9;return(_0x29496d<<_0x415a02|_0x29496d>>>0x20-_0x415a02)+_0x286cd1;}function _0x5a1745(_0x2e28fc,_0x2c6909,_0x58872d,_0x4d57d4,_0x359f3b,_0x428b74,_0x38d006){var _0x4983b1=_0x2e28fc+(_0x58872d^(_0x2c6909|~_0x4d57d4))+_0x359f3b+_0x38d006;return(_0x4983b1<<_0x428b74|_0x4983b1>>>0x20-_0x428b74)+_0x2c6909;}_0x7bcd9a[_0x528635(0x1d4)]=_0x424f5e[_0x528635(0x201)](_0x42a4f8),_0x7bcd9a['HmacMD5']=_0x424f5e[_0x528635(0x338)](_0x42a4f8);}(Math),_0x23edd9['MD5'];}));}(Ke)),Ke[_0x592866(0x365)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x5c86d9(0x365)],ei;function Rr(){var _0x294752=_0x5c86d9;return ei||(ei=0x1,function(_0x405aed,_0x46c160){(function(_0x3a8761,_0x17d63d){var _0x493e68=_0xbb9a;_0x405aed[_0x493e68(0x365)]=_0x17d63d(ie());}(Cr,function(_0x34b63a){return(function(){var _0x3d3829=_0xbb9a,_0x1bc3d1=_0x34b63a,_0x2c1afb=_0x1bc3d1['lib'],_0x14f23f=_0x2c1afb[_0x3d3829(0x3a5)],_0x1ecd67=_0x2c1afb['Hasher'],_0x3f9861=_0x1bc3d1[_0x3d3829(0x2fe)],_0x18d9e0=[],_0x4c80a9=_0x3f9861[_0x3d3829(0x295)]=_0x1ecd67[_0x3d3829(0x244)]({'_doReset':function(){var _0x5c56cb=_0x3d3829;this[_0x5c56cb(0x2dc)]=new _0x14f23f[(_0x5c56cb(0x463))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4931ef,_0x5b539d){var _0x27cce7=_0x3d3829;for(var _0x1e24ba=this[_0x27cce7(0x2dc)]['words'],_0x544159=_0x1e24ba[0x0],_0x22f134=_0x1e24ba[0x1],_0x3237f4=_0x1e24ba[0x2],_0x279d04=_0x1e24ba[0x3],_0x2bd1cd=_0x1e24ba[0x4],_0x590bd8=0x0;_0x590bd8<0x50;_0x590bd8++){if(_0x590bd8<0x10)_0x18d9e0[_0x590bd8]=_0x4931ef[_0x5b539d+_0x590bd8]|0x0;else{var _0x214567=_0x18d9e0[_0x590bd8-0x3]^_0x18d9e0[_0x590bd8-0x8]^_0x18d9e0[_0x590bd8-0xe]^_0x18d9e0[_0x590bd8-0x10];_0x18d9e0[_0x590bd8]=_0x214567<<0x1|_0x214567>>>0x1f;}var _0x1d91ba=(_0x544159<<0x5|_0x544159>>>0x1b)+_0x2bd1cd+_0x18d9e0[_0x590bd8];_0x590bd8<0x14?_0x1d91ba+=(_0x22f134&_0x3237f4|~_0x22f134&_0x279d04)+0x5a827999:_0x590bd8<0x28?_0x1d91ba+=(_0x22f134^_0x3237f4^_0x279d04)+0x6ed9eba1:_0x590bd8<0x3c?_0x1d91ba+=(_0x22f134&_0x3237f4|_0x22f134&_0x279d04|_0x3237f4&_0x279d04)-0x70e44324:_0x1d91ba+=(_0x22f134^_0x3237f4^_0x279d04)-0x359d3e2a,_0x2bd1cd=_0x279d04,_0x279d04=_0x3237f4,_0x3237f4=_0x22f134<<0x1e|_0x22f134>>>0x2,_0x22f134=_0x544159,_0x544159=_0x1d91ba;}_0x1e24ba[0x0]=_0x1e24ba[0x0]+_0x544159|0x0,_0x1e24ba[0x1]=_0x1e24ba[0x1]+_0x22f134|0x0,_0x1e24ba[0x2]=_0x1e24ba[0x2]+_0x3237f4|0x0,_0x1e24ba[0x3]=_0x1e24ba[0x3]+_0x279d04|0x0,_0x1e24ba[0x4]=_0x1e24ba[0x4]+_0x2bd1cd|0x0;},'_doFinalize':function(){var _0x16c83e=_0x3d3829,_0x2e07fd=this[_0x16c83e(0x46a)],_0x5417b0=_0x2e07fd[_0x16c83e(0x2a2)],_0x49e280=this['_nDataBytes']*0x8,_0x3d75b5=_0x2e07fd[_0x16c83e(0x3b0)]*0x8;return _0x5417b0[_0x3d75b5>>>0x5]|=0x80<<0x18-_0x3d75b5%0x20,_0x5417b0[(_0x3d75b5+0x40>>>0x9<<0x4)+0xe]=Math[_0x16c83e(0x2b0)](_0x49e280/0x100000000),_0x5417b0[(_0x3d75b5+0x40>>>0x9<<0x4)+0xf]=_0x49e280,_0x2e07fd[_0x16c83e(0x3b0)]=_0x5417b0[_0x16c83e(0x1f6)]*0x4,this[_0x16c83e(0x2cc)](),this[_0x16c83e(0x2dc)];},'clone':function(){var _0x5cdcd5=_0x3d3829,_0x500cbd=_0x1ecd67[_0x5cdcd5(0x2a5)][_0x5cdcd5(0x49f)](this);return _0x500cbd[_0x5cdcd5(0x2dc)]=this[_0x5cdcd5(0x2dc)][_0x5cdcd5(0x2a5)](),_0x500cbd;}});_0x1bc3d1['SHA1']=_0x1ecd67[_0x3d3829(0x201)](_0x4c80a9),_0x1bc3d1['HmacSHA1']=_0x1ecd67[_0x3d3829(0x338)](_0x4c80a9);}()),_0x34b63a['SHA1'];}));}(qe)),qe[_0x294752(0x365)];}var ze={'exports':{}},br=ze[_0x5c86d9(0x365)],ti;function yr(){var _0x58b4fe=_0x5c86d9;return ti||(ti=0x1,function(_0x5a1101,_0x3dcdd8){(function(_0x3daf45,_0x272c1b){_0x5a1101['exports']=_0x272c1b(ie());}(br,function(_0x56849c){(function(){var _0x827d8d=_0xbb9a,_0x4f3c18=_0x56849c,_0x27fe51=_0x4f3c18[_0x827d8d(0x1f5)],_0x274e90=_0x27fe51[_0x827d8d(0x44e)],_0x418dd5=_0x4f3c18[_0x827d8d(0x290)],_0x2b5da9=_0x418dd5[_0x827d8d(0x3bd)],_0x2f3688=_0x4f3c18[_0x827d8d(0x2fe)];_0x2f3688[_0x827d8d(0x36d)]=_0x274e90[_0x827d8d(0x244)]({'init':function(_0x1b688b,_0x4925a3){var _0x18d892=_0x827d8d;_0x1b688b=this[_0x18d892(0x382)]=new _0x1b688b[(_0x18d892(0x463))](),typeof _0x4925a3=='string'&&(_0x4925a3=_0x2b5da9[_0x18d892(0x4d1)](_0x4925a3));var _0x3d2f9c=_0x1b688b[_0x18d892(0x264)],_0x580e71=_0x3d2f9c*0x4;_0x4925a3['sigBytes']>_0x580e71&&(_0x4925a3=_0x1b688b[_0x18d892(0x2dd)](_0x4925a3)),_0x4925a3['clamp']();for(var _0x3609cc=this[_0x18d892(0x3aa)]=_0x4925a3['clone'](),_0x50ecf3=this[_0x18d892(0x367)]=_0x4925a3['clone'](),_0x33c5eb=_0x3609cc['words'],_0x57c610=_0x50ecf3[_0x18d892(0x2a2)],_0xb543b=0x0;_0xb543b<_0x3d2f9c;_0xb543b++)_0x33c5eb[_0xb543b]^=0x5c5c5c5c,_0x57c610[_0xb543b]^=0x36363636;_0x3609cc[_0x18d892(0x3b0)]=_0x50ecf3[_0x18d892(0x3b0)]=_0x580e71,this[_0x18d892(0x43a)]();},'reset':function(){var _0x44969c=_0x827d8d,_0x3cf5c4=this[_0x44969c(0x382)];_0x3cf5c4[_0x44969c(0x43a)](),_0x3cf5c4[_0x44969c(0x2fc)](this[_0x44969c(0x367)]);},'update':function(_0x5388ad){var _0x435cf1=_0x827d8d;return this[_0x435cf1(0x382)][_0x435cf1(0x2fc)](_0x5388ad),this;},'finalize':function(_0x3e0404){var _0x54ef97=_0x827d8d,_0xaf0673=this[_0x54ef97(0x382)],_0x2b6af2=_0xaf0673[_0x54ef97(0x2dd)](_0x3e0404);_0xaf0673[_0x54ef97(0x43a)]();var _0x469a50=_0xaf0673['finalize'](this[_0x54ef97(0x3aa)][_0x54ef97(0x2a5)]()[_0x54ef97(0x447)](_0x2b6af2));return _0x469a50;}});}());}));}(ze)),ze[_0x58b4fe(0x365)];}var Or=Ye[_0x5c86d9(0x365)],ii;function Ui(){var _0x2746ca=_0x5c86d9;return ii||(ii=0x1,function(_0x363b4a,_0x3a16c2){(function(_0x3d7ceb,_0x325a63,_0x1f9201){var _0x37c4aa=_0xbb9a;_0x363b4a[_0x37c4aa(0x365)]=_0x325a63(ie(),Rr(),yr());}(Or,function(_0x17a103){return(function(){var _0xffc096=_0xbb9a,_0x4592cd=_0x17a103,_0x2919ee=_0x4592cd[_0xffc096(0x1f5)],_0x4275a1=_0x2919ee[_0xffc096(0x44e)],_0x497102=_0x2919ee[_0xffc096(0x3a5)],_0x50c71a=_0x4592cd[_0xffc096(0x2fe)],_0x730623=_0x50c71a['MD5'],_0x23691b=_0x50c71a[_0xffc096(0x2d2)]=_0x4275a1[_0xffc096(0x244)]({'cfg':_0x4275a1[_0xffc096(0x244)]({'keySize':0x80/0x20,'hasher':_0x730623,'iterations':0x1}),'init':function(_0x35e887){var _0x3a8807=_0xffc096;this['cfg']=this[_0x3a8807(0x3fc)][_0x3a8807(0x244)](_0x35e887);},'compute':function(_0x5c495c,_0x2dc883){var _0x53da3d=_0xffc096;for(var _0x22ba3d,_0x262023=this[_0x53da3d(0x3fc)],_0x160905=_0x262023[_0x53da3d(0x48e)][_0x53da3d(0x20a)](),_0x20c236=_0x497102[_0x53da3d(0x20a)](),_0x4aff36=_0x20c236['words'],_0x455824=_0x262023[_0x53da3d(0x456)],_0x1387bf=_0x262023[_0x53da3d(0x423)];_0x4aff36[_0x53da3d(0x1f6)]<_0x455824;){_0x22ba3d&&_0x160905[_0x53da3d(0x2fc)](_0x22ba3d),_0x22ba3d=_0x160905['update'](_0x5c495c)[_0x53da3d(0x2dd)](_0x2dc883),_0x160905[_0x53da3d(0x43a)]();for(var _0x14ba41=0x1;_0x14ba41<_0x1387bf;_0x14ba41++)_0x22ba3d=_0x160905[_0x53da3d(0x2dd)](_0x22ba3d),_0x160905['reset']();_0x20c236['concat'](_0x22ba3d);}return _0x20c236['sigBytes']=_0x455824*0x4,_0x20c236;}});_0x4592cd[_0xffc096(0x2d2)]=function(_0x51c135,_0x12e4ea,_0x88867c){var _0x894cba=_0xffc096;return _0x23691b[_0x894cba(0x20a)](_0x88867c)[_0x894cba(0x446)](_0x51c135,_0x12e4ea);};}()),_0x17a103['EvpKDF'];}));}(Ye)),Ye[_0x2746ca(0x365)];}var Je={'exports':{}},Nr=Je[_0x5c86d9(0x365)],ni;function wi(){var _0x1c5d2e=_0x5c86d9;return ni||(ni=0x1,function(_0x7f0cb8,_0x4ec577){(function(_0xd1e76f,_0x348127,_0x5be4ae){var _0x1b55e0=_0xbb9a;_0x7f0cb8[_0x1b55e0(0x365)]=_0x348127(ie(),Ui());}(Nr,function(_0x21cada){var _0xa95c02=_0xbb9a;_0x21cada[_0xa95c02(0x1f5)][_0xa95c02(0x405)]||function(_0x287185){var _0xb191be=_0xa95c02,_0x274588=_0x21cada,_0x8b1172=_0x274588['lib'],_0x5a0c4a=_0x8b1172['Base'],_0x4ca81f=_0x8b1172[_0xb191be(0x3a5)],_0x19d181=_0x8b1172[_0xb191be(0x465)],_0x394e8c=_0x274588['enc'];_0x394e8c[_0xb191be(0x3bd)];var _0x4a4b19=_0x394e8c[_0xb191be(0x45a)],_0x46cf78=_0x274588[_0xb191be(0x2fe)],_0x541fe3=_0x46cf78[_0xb191be(0x2d2)],_0x5089f6=_0x8b1172['Cipher']=_0x19d181[_0xb191be(0x244)]({'cfg':_0x5a0c4a[_0xb191be(0x244)](),'createEncryptor':function(_0x5efe90,_0x515381){var _0x43d4f6=_0xb191be;return this[_0x43d4f6(0x20a)](this['_ENC_XFORM_MODE'],_0x5efe90,_0x515381);},'createDecryptor':function(_0x5e3716,_0x59c3b0){var _0xf30aa4=_0xb191be;return this[_0xf30aa4(0x20a)](this['_DEC_XFORM_MODE'],_0x5e3716,_0x59c3b0);},'init':function(_0x3e5485,_0x413490,_0x532741){var _0x46c892=_0xb191be;this[_0x46c892(0x3fc)]=this['cfg'][_0x46c892(0x244)](_0x532741),this[_0x46c892(0x2e8)]=_0x3e5485,this[_0x46c892(0x344)]=_0x413490,this[_0x46c892(0x43a)]();},'reset':function(){var _0x2f9e32=_0xb191be;_0x19d181[_0x2f9e32(0x43a)][_0x2f9e32(0x49f)](this),this[_0x2f9e32(0x23c)]();},'process':function(_0x424707){var _0x55b307=_0xb191be;return this['_append'](_0x424707),this[_0x55b307(0x2cc)]();},'finalize':function(_0x4ca365){var _0x3f2589=_0xb191be;_0x4ca365&&this[_0x3f2589(0x46f)](_0x4ca365);var _0x16109e=this[_0x3f2589(0x495)]();return _0x16109e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2f71fe(_0x4adc36){return typeof _0x4adc36=='string'?_0x58ea18:_0x590d97;}return function(_0x38c74f){return{'encrypt':function(_0x578c3d,_0x4a55e3,_0x5ebcb4){var _0x5f45bd=_0xbb9a;return _0x2f71fe(_0x4a55e3)[_0x5f45bd(0x409)](_0x38c74f,_0x578c3d,_0x4a55e3,_0x5ebcb4);},'decrypt':function(_0x39b765,_0x1e3ae1,_0x368762){return _0x2f71fe(_0x1e3ae1)['decrypt'](_0x38c74f,_0x39b765,_0x1e3ae1,_0x368762);}};};}())});_0x8b1172[_0xb191be(0x1e9)]=_0x5089f6[_0xb191be(0x244)]({'_doFinalize':function(){var _0x45968d=this['_process'](!0x0);return _0x45968d;},'blockSize':0x1});var _0x57b645=_0x274588[_0xb191be(0x292)]={},_0x2a2a43=_0x8b1172['BlockCipherMode']=_0x5a0c4a[_0xb191be(0x244)]({'createEncryptor':function(_0x34053b,_0x55820b){var _0x28e4ff=_0xb191be;return this['Encryptor'][_0x28e4ff(0x20a)](_0x34053b,_0x55820b);},'createDecryptor':function(_0x271bb3,_0x37a99c){var _0x1f1879=_0xb191be;return this[_0x1f1879(0x49e)][_0x1f1879(0x20a)](_0x271bb3,_0x37a99c);},'init':function(_0x505d3e,_0xa0b709){var _0x2ece96=_0xb191be;this[_0x2ece96(0x466)]=_0x505d3e,this[_0x2ece96(0x38f)]=_0xa0b709;}}),_0x27abd1=_0x57b645[_0xb191be(0x316)]=(function(){var _0x406a73=_0xb191be,_0x172ac6=_0x2a2a43[_0x406a73(0x244)]();_0x172ac6['Encryptor']=_0x172ac6['extend']({'processBlock':function(_0x343000,_0x3d389e){var _0xbb4019=_0x406a73,_0x301bf7=this[_0xbb4019(0x466)],_0x5126a5=_0x301bf7[_0xbb4019(0x264)];_0x5dda2b[_0xbb4019(0x49f)](this,_0x343000,_0x3d389e,_0x5126a5),_0x301bf7['encryptBlock'](_0x343000,_0x3d389e),this[_0xbb4019(0x377)]=_0x343000[_0xbb4019(0x4c2)](_0x3d389e,_0x3d389e+_0x5126a5);}}),_0x172ac6[_0x406a73(0x49e)]=_0x172ac6[_0x406a73(0x244)]({'processBlock':function(_0x148fcc,_0x58cb8b){var _0xff0821=_0x406a73,_0x3eade1=this['_cipher'],_0x11b9d4=_0x3eade1[_0xff0821(0x264)],_0x295e2c=_0x148fcc[_0xff0821(0x4c2)](_0x58cb8b,_0x58cb8b+_0x11b9d4);_0x3eade1['decryptBlock'](_0x148fcc,_0x58cb8b),_0x5dda2b[_0xff0821(0x49f)](this,_0x148fcc,_0x58cb8b,_0x11b9d4),this[_0xff0821(0x377)]=_0x295e2c;}});function _0x5dda2b(_0x7d069c,_0x3fde95,_0x309252){var _0x4401e1=_0x406a73,_0x5dfb19,_0x1cf459=this[_0x4401e1(0x38f)];_0x1cf459?(_0x5dfb19=_0x1cf459,this[_0x4401e1(0x38f)]=_0x287185):_0x5dfb19=this['_prevBlock'];for(var _0x1d45ef=0x0;_0x1d45ef<_0x309252;_0x1d45ef++)_0x7d069c[_0x3fde95+_0x1d45ef]^=_0x5dfb19[_0x1d45ef];}return _0x172ac6;}()),_0x5398e3=_0x274588[_0xb191be(0x45f)]={},_0x298ba7=_0x5398e3[_0xb191be(0x1fb)]={'pad':function(_0x6f517d,_0x31d544){var _0x18153d=_0xb191be;for(var _0x139e05=_0x31d544*0x4,_0x2935c8=_0x139e05-_0x6f517d[_0x18153d(0x3b0)]%_0x139e05,_0xef13af=_0x2935c8<<0x18|_0x2935c8<<0x10|_0x2935c8<<0x8|_0x2935c8,_0x2085ba=[],_0x508501=0x0;_0x508501<_0x2935c8;_0x508501+=0x4)_0x2085ba[_0x18153d(0x2c3)](_0xef13af);var _0x4295db=_0x4ca81f[_0x18153d(0x20a)](_0x2085ba,_0x2935c8);_0x6f517d[_0x18153d(0x447)](_0x4295db);},'unpad':function(_0x3bebf8){var _0x284cfe=_0xb191be,_0x220661=_0x3bebf8[_0x284cfe(0x2a2)][_0x3bebf8[_0x284cfe(0x3b0)]-0x1>>>0x2]&0xff;_0x3bebf8[_0x284cfe(0x3b0)]-=_0x220661;}};_0x8b1172[_0xb191be(0x284)]=_0x5089f6['extend']({'cfg':_0x5089f6[_0xb191be(0x3fc)][_0xb191be(0x244)]({'mode':_0x27abd1,'padding':_0x298ba7}),'reset':function(){var _0x25345c=_0xb191be,_0x16755a;_0x5089f6[_0x25345c(0x43a)][_0x25345c(0x49f)](this);var _0x16af52=this[_0x25345c(0x3fc)],_0x526a4b=_0x16af52['iv'],_0x57441a=_0x16af52[_0x25345c(0x292)];this[_0x25345c(0x2e8)]==this['_ENC_XFORM_MODE']?_0x16755a=_0x57441a['createEncryptor']:(_0x16755a=_0x57441a[_0x25345c(0x411)],this['_minBufferSize']=0x1),this[_0x25345c(0x1ed)]&&this['_mode'][_0x25345c(0x289)]==_0x16755a?this[_0x25345c(0x1ed)][_0x25345c(0x463)](this,_0x526a4b&&_0x526a4b[_0x25345c(0x2a2)]):(this[_0x25345c(0x1ed)]=_0x16755a[_0x25345c(0x49f)](_0x57441a,this,_0x526a4b&&_0x526a4b['words']),this[_0x25345c(0x1ed)][_0x25345c(0x289)]=_0x16755a);},'_doProcessBlock':function(_0x2eb0fd,_0x140b50){var _0x229b98=_0xb191be;this[_0x229b98(0x1ed)]['processBlock'](_0x2eb0fd,_0x140b50);},'_doFinalize':function(){var _0x50556c=_0xb191be,_0x56ddcc,_0xd53641=this['cfg']['padding'];return this[_0x50556c(0x2e8)]==this[_0x50556c(0x444)]?(_0xd53641[_0x50556c(0x45f)](this[_0x50556c(0x46a)],this[_0x50556c(0x264)]),_0x56ddcc=this[_0x50556c(0x2cc)](!0x0)):(_0x56ddcc=this[_0x50556c(0x2cc)](!0x0),_0xd53641[_0x50556c(0x2a1)](_0x56ddcc)),_0x56ddcc;},'blockSize':0x80/0x20});var _0x4f6273=_0x8b1172[_0xb191be(0x1cd)]=_0x5a0c4a[_0xb191be(0x244)]({'init':function(_0x4ad038){this['mixIn'](_0x4ad038);},'toString':function(_0x10392d){var _0x371ece=_0xb191be;return(_0x10392d||this[_0x371ece(0x3b2)])[_0x371ece(0x448)](this);}}),_0x33ddad=_0x274588[_0xb191be(0x3b5)]={},_0x337c4d=_0x33ddad['OpenSSL']={'stringify':function(_0xf987f5){var _0x37a5cd=_0xb191be,_0x64e9ef,_0x19ba99=_0xf987f5[_0x37a5cd(0x47a)],_0x9086f3=_0xf987f5[_0x37a5cd(0x2db)];return _0x9086f3?_0x64e9ef=_0x4ca81f['create']([0x53616c74,0x65645f5f])[_0x37a5cd(0x447)](_0x9086f3)['concat'](_0x19ba99):_0x64e9ef=_0x19ba99,_0x64e9ef[_0x37a5cd(0x2d6)](_0x4a4b19);},'parse':function(_0x4f975a){var _0x361eff=_0xb191be,_0xe7227e,_0x2e14ca=_0x4a4b19[_0x361eff(0x4d1)](_0x4f975a),_0x50e463=_0x2e14ca[_0x361eff(0x2a2)];return _0x50e463[0x0]==0x53616c74&&_0x50e463[0x1]==0x65645f5f&&(_0xe7227e=_0x4ca81f['create'](_0x50e463['slice'](0x2,0x4)),_0x50e463[_0x361eff(0x347)](0x0,0x4),_0x2e14ca[_0x361eff(0x3b0)]-=0x10),_0x4f6273['create']({'ciphertext':_0x2e14ca,'salt':_0xe7227e});}},_0x590d97=_0x8b1172[_0xb191be(0x49c)]=_0x5a0c4a[_0xb191be(0x244)]({'cfg':_0x5a0c4a['extend']({'format':_0x337c4d}),'encrypt':function(_0x58b736,_0x410bb2,_0x4ab793,_0x275359){var _0x127917=_0xb191be;_0x275359=this[_0x127917(0x3fc)][_0x127917(0x244)](_0x275359);var _0x3d3c07=_0x58b736[_0x127917(0x346)](_0x4ab793,_0x275359),_0x418a45=_0x3d3c07[_0x127917(0x2dd)](_0x410bb2),_0x5eea55=_0x3d3c07[_0x127917(0x3fc)];return _0x4f6273['create']({'ciphertext':_0x418a45,'key':_0x4ab793,'iv':_0x5eea55['iv'],'algorithm':_0x58b736,'mode':_0x5eea55[_0x127917(0x292)],'padding':_0x5eea55['padding'],'blockSize':_0x58b736['blockSize'],'formatter':_0x275359[_0x127917(0x3b5)]});},'decrypt':function(_0x3e6562,_0x504445,_0x5c516f,_0x4a6548){var _0xc01cd5=_0xb191be;_0x4a6548=this[_0xc01cd5(0x3fc)][_0xc01cd5(0x244)](_0x4a6548),_0x504445=this['_parse'](_0x504445,_0x4a6548[_0xc01cd5(0x3b5)]);var _0x2861d4=_0x3e6562[_0xc01cd5(0x411)](_0x5c516f,_0x4a6548)['finalize'](_0x504445[_0xc01cd5(0x47a)]);return _0x2861d4;},'_parse':function(_0x3e243a,_0x4093e6){var _0x36a377=_0xb191be;return typeof _0x3e243a==_0x36a377(0x4b1)?_0x4093e6[_0x36a377(0x4d1)](_0x3e243a,this):_0x3e243a;}}),_0x59e116=_0x274588['kdf']={},_0x305fa9=_0x59e116[_0xb191be(0x1d7)]={'execute':function(_0x353802,_0x31577c,_0x93f662,_0x5c4fc1,_0x311e08){var _0x3bc46b=_0xb191be;if(_0x5c4fc1||(_0x5c4fc1=_0x4ca81f[_0x3bc46b(0x414)](0x40/0x8)),_0x311e08)var _0x1671c5=_0x541fe3['create']({'keySize':_0x31577c+_0x93f662,'hasher':_0x311e08})['compute'](_0x353802,_0x5c4fc1);else var _0x1671c5=_0x541fe3[_0x3bc46b(0x20a)]({'keySize':_0x31577c+_0x93f662})[_0x3bc46b(0x446)](_0x353802,_0x5c4fc1);var _0x3697b1=_0x4ca81f[_0x3bc46b(0x20a)](_0x1671c5[_0x3bc46b(0x2a2)][_0x3bc46b(0x4c2)](_0x31577c),_0x93f662*0x4);return _0x1671c5['sigBytes']=_0x31577c*0x4,_0x4f6273[_0x3bc46b(0x20a)]({'key':_0x1671c5,'iv':_0x3697b1,'salt':_0x5c4fc1});}},_0x58ea18=_0x8b1172[_0xb191be(0x353)]=_0x590d97['extend']({'cfg':_0x590d97['cfg'][_0xb191be(0x244)]({'kdf':_0x305fa9}),'encrypt':function(_0x5e482f,_0x54fc14,_0x27ed20,_0x3d1198){var _0x415b7c=_0xb191be;_0x3d1198=this['cfg'][_0x415b7c(0x244)](_0x3d1198);var _0x4be55a=_0x3d1198[_0x415b7c(0x355)][_0x415b7c(0x2af)](_0x27ed20,_0x5e482f['keySize'],_0x5e482f[_0x415b7c(0x433)],_0x3d1198[_0x415b7c(0x2db)],_0x3d1198[_0x415b7c(0x48e)]);_0x3d1198['iv']=_0x4be55a['iv'];var _0x2f1d5b=_0x590d97[_0x415b7c(0x409)][_0x415b7c(0x49f)](this,_0x5e482f,_0x54fc14,_0x4be55a[_0x415b7c(0x275)],_0x3d1198);return _0x2f1d5b[_0x415b7c(0x2f2)](_0x4be55a),_0x2f1d5b;},'decrypt':function(_0x319833,_0x2763b7,_0x4dbe0d,_0x57a519){var _0x4724fd=_0xb191be;_0x57a519=this[_0x4724fd(0x3fc)][_0x4724fd(0x244)](_0x57a519),_0x2763b7=this['_parse'](_0x2763b7,_0x57a519['format']);var _0x592616=_0x57a519['kdf'][_0x4724fd(0x2af)](_0x4dbe0d,_0x319833['keySize'],_0x319833['ivSize'],_0x2763b7[_0x4724fd(0x2db)],_0x57a519['hasher']);_0x57a519['iv']=_0x592616['iv'];var _0x16670d=_0x590d97[_0x4724fd(0x3f2)][_0x4724fd(0x49f)](this,_0x319833,_0x2763b7,_0x592616[_0x4724fd(0x275)],_0x57a519);return _0x16670d;}});}();}));}(Je)),Je[_0x1c5d2e(0x365)];}var Dr=Ve[_0x5c86d9(0x365)],ri;function Ur(){var _0xf5f903=_0x5c86d9;return ri||(ri=0x1,function(_0x1e7540,_0x143809){(function(_0x4c6ac6,_0x1b851f,_0xb6ea2a){var _0x8fa3b4=_0xbb9a;_0x1e7540[_0x8fa3b4(0x365)]=_0x1b851f(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0xb22074){return(function(){var _0x35637b=_0xbb9a,_0x1129bb=_0xb22074,_0x4066c5=_0x1129bb['lib'],_0x2b83d6=_0x4066c5[_0x35637b(0x284)],_0x4d1738=_0x1129bb[_0x35637b(0x2fe)],_0x4f197d=[],_0x20ad7b=[],_0x13ba2c=[],_0x175659=[],_0x5b8335=[],_0x5c8346=[],_0x477898=[],_0x21599a=[],_0x50598f=[],_0x1ed563=[];(function(){for(var _0x4db708=[],_0x1140fd=0x0;_0x1140fd<0x100;_0x1140fd++)_0x1140fd<0x80?_0x4db708[_0x1140fd]=_0x1140fd<<0x1:_0x4db708[_0x1140fd]=_0x1140fd<<0x1^0x11b;for(var _0x47ff34=0x0,_0xb252ef=0x0,_0x1140fd=0x0;_0x1140fd<0x100;_0x1140fd++){var _0x1d7d0f=_0xb252ef^_0xb252ef<<0x1^_0xb252ef<<0x2^_0xb252ef<<0x3^_0xb252ef<<0x4;_0x1d7d0f=_0x1d7d0f>>>0x8^_0x1d7d0f&0xff^0x63,_0x4f197d[_0x47ff34]=_0x1d7d0f,_0x20ad7b[_0x1d7d0f]=_0x47ff34;var _0x47cb3c=_0x4db708[_0x47ff34],_0x1c5841=_0x4db708[_0x47cb3c],_0x2a0e3c=_0x4db708[_0x1c5841],_0x25615e=_0x4db708[_0x1d7d0f]*0x101^_0x1d7d0f*0x1010100;_0x13ba2c[_0x47ff34]=_0x25615e<<0x18|_0x25615e>>>0x8,_0x175659[_0x47ff34]=_0x25615e<<0x10|_0x25615e>>>0x10,_0x5b8335[_0x47ff34]=_0x25615e<<0x8|_0x25615e>>>0x18,_0x5c8346[_0x47ff34]=_0x25615e;var _0x25615e=_0x2a0e3c*0x1010101^_0x1c5841*0x10001^_0x47cb3c*0x101^_0x47ff34*0x1010100;_0x477898[_0x1d7d0f]=_0x25615e<<0x18|_0x25615e>>>0x8,_0x21599a[_0x1d7d0f]=_0x25615e<<0x10|_0x25615e>>>0x10,_0x50598f[_0x1d7d0f]=_0x25615e<<0x8|_0x25615e>>>0x18,_0x1ed563[_0x1d7d0f]=_0x25615e,_0x47ff34?(_0x47ff34=_0x47cb3c^_0x4db708[_0x4db708[_0x4db708[_0x2a0e3c^_0x47cb3c]]],_0xb252ef^=_0x4db708[_0x4db708[_0xb252ef]]):_0x47ff34=_0xb252ef=0x1;}}());var _0x33d75b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4e850c=_0x4d1738[_0x35637b(0x314)]=_0x2b83d6['extend']({'_doReset':function(){var _0x531f4e=_0x35637b,_0x4df924;if(!(this[_0x531f4e(0x4b8)]&&this[_0x531f4e(0x469)]===this[_0x531f4e(0x344)])){for(var _0x16f2b2=this[_0x531f4e(0x469)]=this['_key'],_0x1c4813=_0x16f2b2[_0x531f4e(0x2a2)],_0x12aaaf=_0x16f2b2['sigBytes']/0x4,_0x2cce9d=this[_0x531f4e(0x4b8)]=_0x12aaaf+0x6,_0x5ae445=(_0x2cce9d+0x1)*0x4,_0x346c10=this['_keySchedule']=[],_0x2e1751=0x0;_0x2e1751<_0x5ae445;_0x2e1751++)_0x2e1751<_0x12aaaf?_0x346c10[_0x2e1751]=_0x1c4813[_0x2e1751]:(_0x4df924=_0x346c10[_0x2e1751-0x1],_0x2e1751%_0x12aaaf?_0x12aaaf>0x6&&_0x2e1751%_0x12aaaf==0x4&&(_0x4df924=_0x4f197d[_0x4df924>>>0x18]<<0x18|_0x4f197d[_0x4df924>>>0x10&0xff]<<0x10|_0x4f197d[_0x4df924>>>0x8&0xff]<<0x8|_0x4f197d[_0x4df924&0xff]):(_0x4df924=_0x4df924<<0x8|_0x4df924>>>0x18,_0x4df924=_0x4f197d[_0x4df924>>>0x18]<<0x18|_0x4f197d[_0x4df924>>>0x10&0xff]<<0x10|_0x4f197d[_0x4df924>>>0x8&0xff]<<0x8|_0x4f197d[_0x4df924&0xff],_0x4df924^=_0x33d75b[_0x2e1751/_0x12aaaf|0x0]<<0x18),_0x346c10[_0x2e1751]=_0x346c10[_0x2e1751-_0x12aaaf]^_0x4df924);for(var _0x2b29e7=this[_0x531f4e(0x3ad)]=[],_0x3d8059=0x0;_0x3d8059<_0x5ae445;_0x3d8059++){var _0x2e1751=_0x5ae445-_0x3d8059;if(_0x3d8059%0x4)var _0x4df924=_0x346c10[_0x2e1751];else var _0x4df924=_0x346c10[_0x2e1751-0x4];_0x3d8059<0x4||_0x2e1751<=0x4?_0x2b29e7[_0x3d8059]=_0x4df924:_0x2b29e7[_0x3d8059]=_0x477898[_0x4f197d[_0x4df924>>>0x18]]^_0x21599a[_0x4f197d[_0x4df924>>>0x10&0xff]]^_0x50598f[_0x4f197d[_0x4df924>>>0x8&0xff]]^_0x1ed563[_0x4f197d[_0x4df924&0xff]];}}},'encryptBlock':function(_0x27f66b,_0x3457a5){var _0x50e97f=_0x35637b;this[_0x50e97f(0x403)](_0x27f66b,_0x3457a5,this[_0x50e97f(0x239)],_0x13ba2c,_0x175659,_0x5b8335,_0x5c8346,_0x4f197d);},'decryptBlock':function(_0xe53394,_0x311547){var _0x224fdc=_0x35637b,_0x124f16=_0xe53394[_0x311547+0x1];_0xe53394[_0x311547+0x1]=_0xe53394[_0x311547+0x3],_0xe53394[_0x311547+0x3]=_0x124f16,this['_doCryptBlock'](_0xe53394,_0x311547,this[_0x224fdc(0x3ad)],_0x477898,_0x21599a,_0x50598f,_0x1ed563,_0x20ad7b);var _0x124f16=_0xe53394[_0x311547+0x1];_0xe53394[_0x311547+0x1]=_0xe53394[_0x311547+0x3],_0xe53394[_0x311547+0x3]=_0x124f16;},'_doCryptBlock':function(_0x370247,_0x5e5368,_0x2c7bca,_0x232093,_0x5e42d5,_0x3ddc7f,_0x304369,_0x4f4ecb){for(var _0x587e01=this['_nRounds'],_0x3c4138=_0x370247[_0x5e5368]^_0x2c7bca[0x0],_0x2880bc=_0x370247[_0x5e5368+0x1]^_0x2c7bca[0x1],_0x1913b9=_0x370247[_0x5e5368+0x2]^_0x2c7bca[0x2],_0x50bac8=_0x370247[_0x5e5368+0x3]^_0x2c7bca[0x3],_0x224283=0x4,_0x4f3f67=0x1;_0x4f3f67<_0x587e01;_0x4f3f67++){var _0xd20c4b=_0x232093[_0x3c4138>>>0x18]^_0x5e42d5[_0x2880bc>>>0x10&0xff]^_0x3ddc7f[_0x1913b9>>>0x8&0xff]^_0x304369[_0x50bac8&0xff]^_0x2c7bca[_0x224283++],_0x1bf1f1=_0x232093[_0x2880bc>>>0x18]^_0x5e42d5[_0x1913b9>>>0x10&0xff]^_0x3ddc7f[_0x50bac8>>>0x8&0xff]^_0x304369[_0x3c4138&0xff]^_0x2c7bca[_0x224283++],_0x18fe19=_0x232093[_0x1913b9>>>0x18]^_0x5e42d5[_0x50bac8>>>0x10&0xff]^_0x3ddc7f[_0x3c4138>>>0x8&0xff]^_0x304369[_0x2880bc&0xff]^_0x2c7bca[_0x224283++],_0x29a5e3=_0x232093[_0x50bac8>>>0x18]^_0x5e42d5[_0x3c4138>>>0x10&0xff]^_0x3ddc7f[_0x2880bc>>>0x8&0xff]^_0x304369[_0x1913b9&0xff]^_0x2c7bca[_0x224283++];_0x3c4138=_0xd20c4b,_0x2880bc=_0x1bf1f1,_0x1913b9=_0x18fe19,_0x50bac8=_0x29a5e3;}var _0xd20c4b=(_0x4f4ecb[_0x3c4138>>>0x18]<<0x18|_0x4f4ecb[_0x2880bc>>>0x10&0xff]<<0x10|_0x4f4ecb[_0x1913b9>>>0x8&0xff]<<0x8|_0x4f4ecb[_0x50bac8&0xff])^_0x2c7bca[_0x224283++],_0x1bf1f1=(_0x4f4ecb[_0x2880bc>>>0x18]<<0x18|_0x4f4ecb[_0x1913b9>>>0x10&0xff]<<0x10|_0x4f4ecb[_0x50bac8>>>0x8&0xff]<<0x8|_0x4f4ecb[_0x3c4138&0xff])^_0x2c7bca[_0x224283++],_0x18fe19=(_0x4f4ecb[_0x1913b9>>>0x18]<<0x18|_0x4f4ecb[_0x50bac8>>>0x10&0xff]<<0x10|_0x4f4ecb[_0x3c4138>>>0x8&0xff]<<0x8|_0x4f4ecb[_0x2880bc&0xff])^_0x2c7bca[_0x224283++],_0x29a5e3=(_0x4f4ecb[_0x50bac8>>>0x18]<<0x18|_0x4f4ecb[_0x3c4138>>>0x10&0xff]<<0x10|_0x4f4ecb[_0x2880bc>>>0x8&0xff]<<0x8|_0x4f4ecb[_0x1913b9&0xff])^_0x2c7bca[_0x224283++];_0x370247[_0x5e5368]=_0xd20c4b,_0x370247[_0x5e5368+0x1]=_0x1bf1f1,_0x370247[_0x5e5368+0x2]=_0x18fe19,_0x370247[_0x5e5368+0x3]=_0x29a5e3;},'keySize':0x100/0x20});_0x1129bb['AES']=_0x2b83d6['_createHelper'](_0x4e850c);}()),_0xb22074['AES'];}));}(Ve)),Ve[_0xf5f903(0x365)];}var wr=Ur();function _0x38c2(){var _0x37d7e1=['sessionStatus$','_commentUpdate$','format','_reverseMap','_socket$','YUUMI_URL_COL_OUT_OF_RANGE','delete','FileId','default','[PendingState]:\x20received\x20rejection.','Utf8','unknown','/object/','AWAITING_WITH_PENDING','APPLY_NON_SEQUENTIAL_REVISION','_showConflictNotification','_compressMutationService','result','[SyncedState]:\x20received\x20acknowledgement.','_collaborationPaused','PERSON','/role','capture','_status$','LIVESHARE_REQUEST_HOST','_state','startsWith','append','loadUnit','onLocalMutation','downloadEndpointUrl','getImageSourceCache','PERMISSION_REJ','_updateStatus','LEAVE','COMPLETION_FINISHED','_transformIMECache','image/gif','encodeURIComponent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','params','INTERNAL_ERROR','_collabSessionService','headers','COMPRESS_MUTATION_SEND','action','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','csAckEvent','abs','complete','sin','deepClone','_initDependencies','getSnapshotAPIPath','LOCAL_CACHE_INTERVAL','collaboration-client.local-cache-service','objectType','file','_memberService','unitID','socket$','ONLINE','decrypt','roles','collabSubmitChangesetUrl','INVALID_INVITE_CODE','_submitChangeset','compose','_candidateSocket','_applyRemoteChangeset','getActiveSheet','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','cfg','toggleOnline','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRedo','getSheetBlock','[DataLoaderService]','onTransformRemoteChangesetByStateCache','_doCryptBlock','JOIN_ROOM_FULL','Cipher','transformSelections','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getSheetId','encrypt','APPLY_REVISION_CONFILICT','not_collab','transformUndoRedo','getLatestCsReqIdBySid','_getSendChangesetTimeout','generateRandomId','_pendingMutations','createDecryptor','_eventService','_toggleOnline','random','getRoom','SOCKET_FAILED_RETRY','UNIVER_PROJECT','_sendHeartbeatTimer','_startCollaboration','COMPRESS_MUTATION_APPLY','fetching\x20missing\x20changesets\x20from\x20','href','PERMISSION_DENIED','getWorkbookSelections','collaboration_new_changeset','changesets','9sbIuMy','saveSnapshot','iterations','_executeRemoteChangeset','every','state','Latin1','ALREADY_EXISTS','_HTTPService','LOGIN_URL_KEY','_updateState','626989QmAZGp','from','msCrypto','PY_RUNTIME_SCRIPT_ERROR','resourceIDs','_stopTelemetryCollaborationNewChangeset','hostname','ivSize','\x20in\x20_schedule.','IDLE','_toggleOffline','getImage','LOGIN_FAILED','CHANGESET_ACK','reset','_updateLocalCache','copyFileMeta','infoRsp','_snapshotService','open$','BASE64','eventID','reverse','_replaceFileID','_ENC_XFORM_MODE','_members','compute','concat','stringify','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','actions','location','setShowComponents','/collaborator','Base','function','AUTHZ_URL_KEY','transformMutationsWithChangeset','listCollaborators','/object','awaiting','status$','keySize','RECV','socket\x20close','forEach','Base64','session.room-permission-denied','executeCommand','HEARTBEAT_TIMEOUT','hasOwnProperty','pad','_commentService','INVITE_CODE_HAS_BEEN_UES','_checkMissing','init','reconnect','BufferedBlockAlgorithm','_cipher','getCurrentSelections','_sessions','_keyPriorReset','_data','getInterceptPoints','Hasher','_transformRemoteChangesetByStateCache','members','_append','pluginName','CHANGESET_SHOULD_RETRY','_scheduleCollaborationTimeoutTimer','_emitMembers','100fWodxm','selections','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SUBMIT_CHANGESET_TIMEOUT','/universer-api/snapshot/','_members$','ciphertext','deleteCollaborator','4444097cHwsOU','body','image/bmp','c1Prime','LIVESHARE_TERMINATE','/resources','COLLAB_WEB_SOCKET_URL','_unitInfo$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','saveImage','getDeserializedSheetBlock','userID','disableLocalCache','snapshot','name','csRejEvent','incrementRevOfUnit','updateOfflineData','hasher','shouldCloseConn','UnitSnapshot','Error\x20on\x20receiving\x20event','editing\x20status\x20changed\x20to','&assign=','_joinRoom','_doFinalize','CHANGESET_REJ','resend','_clearTimeoutTimer','textRanges','SUCCUSS','awaitingChangeset','SerializableCipher','NEW_CHANGESETS','Decryptor','call','has','enableAuthServer','_isPermissionRej','?size=','localeService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_COLLABORATION_CLIENT_PLUGIN','session.room-cnt-exceeds','NOT_COLLAB','[SyncedState]:\x20received\x20rejection.','socket\x20open.','_transformStateCache','enableOfflineEditing','resolve','onCommentUpdate','/fetchmissing?from=','reduce','string','toggleOffline','unitId','MSG_FOR_ERROR','pauseCollaboration','updateCollaborator','FAIL','_nRounds','_transformSelections','conflict','UNIVER_SHEET','APPLY_REJECT','randomUUID','now','fetchMissingChangesets','_change$','_incrementRevisionNumber','slice','SNAPSHOT_URL_KEY','univer-pro.collaboration-client.network-condition.service','ws://127.0.0.1:8000/universer-api/comb/connect','_registerDependencies','Undefined','UnitEmbedded','workbook','_logService','focused$','randomBytes','LIVESHARE_FETCH_OPERATIONS','&source=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConnectionFailed','parse','SHOULD_CLOSE_CONN','NoPadding','_retryCount','_nDataBytes','getCollabEntity$','createInstance','reqId','OPTIONAL','CLOSE_ROOM','map','_sendHeartbeat','POST','[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.','pending','getTypeOfUnitDisposed$','liveShareNewHost','CipherParams','_transformRemoteChangesetByIMECache','_substituteRedoStack','closeSession','code','JOIN_ROOM_NOT_EXISTS','getValue','MD5','saveChangeset','_getCtorByUniverType','OpenSSL','HEARTBEAT','method','equals','readyForCollab','error$','save\x20fail\x20reason\x20is\x20','_tryReconnect','session.room-not-exists','[PendingState]:\x20received\x20acknowledgement.','objectID','snapshotServerUrl','transformStack\x20failed!','sendChangesetTimeout','range','HELLO','getUnitType','LICENSE_DISTRO_REJECTED','StreamCipher','getCurrentRevOfUnit','emitEvent','_waitCount','_mode','setCurrentUser','unitId\x20is\x20not\x20found','_redoStacks','initWorkbookPermissionChange','_retryConnectingTimer','GLOBAL_ROOMS_CNT_EXCEEDS','_collaborationTimeoutTimer','lib','length','charAt','UNKNOWN_CMD','_telemetryService','mutations','Pkcs7','createSocket','[OfflineState]:\x20received\x20acknowledgement.','bind','rev','reject','_createHelper','_getAPIPrefixPath','removeMember','unsubscribe','registerHTTPInterceptor','_unitID','pipe','loadDoc','collaMsg','create','_clearUndo','getOwnPropertyDescriptor','crypto','_sheetTransformSelectionsService','src','commentUpdateEvent','CONFLICT','_clearCollaborationTimeoutTimer','catch','_acknowledgedAwaitingChangeset','SNAPSHOT_SERVER_URL_KEY','/universer-api/authz','_changesetSessionId','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_event$','_waitForHeartbeatResponse','DEFAULT_FILE_NAME','__Key__','close$','_throwTelemetryCollaborationNewChangeset','_unlockTransition','_collaborationSessionService','onRemoteChangeset','newCsEvent','duration','_getCurrentRevision','_doCreateSocket','_createInitialStateImpl','subject','_onMessage','signUrlServerUrl','HEARTBEAT_INTERVAL','USER_NOT_INVITED_CODE','authzUrl','interceptor','updateMember','_transformService','_replayCachedMutations','entityInit$','5975STHoYS','debug','_changesetReqId','isPermissionRej','sessionStatus','_shouldReportTelemetry','UNKNOWN_CODE','_keySchedule','COMMENT_UPDATE','onRemoteRej','_doReset','\x20-\x20','\x20to\x20','_roomMembers','/block/','send','sid','dispose$','extend','[CollaborationEntity]','getConfig','_initCloseConn','_createInitialState','_telemetryInfo','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','retryConnectingInterval','json','isArray','prototype','USERS_ENTER','_onRemoteRejected','encode','_undoStacks','_entities','UNIVER_UNKNOWN','getAllMembers','_type','url','join','INVALID_ARGUMENT','baseRev','cmd','m2Prime','_listenToNetworkCondition','socketService','loadOfflineData','_sender','[CollaborationSession]','event$','blockSize','fromCollab','OTHER_CLIENTS_EDITING','People','APPLY_PERMISSION_DENIED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','INGEST','_onRecvEvent','_resendWithTimeout','error','_transformUndoredo','4868996cphjMZ','[OfflineState]:\x20received\x20changeset.','onTransformRemoteChangesetByIMECache','_timeoutTimer','collaboration-client.config','enableSingleActiveInstanceLock','key','apply','_getUndoStack','fetchThroughInterceptors','_getSignURL','APPLY_DUPLICATED','_permissionService','localCacheService','INVITE_CODE_REQUIRED','disposeWithMe','override','liveShareOperation','uploadFileServerUrl','SNAPSHOT_HAS_BEEN_REMOVED','_onRemoteRetry','BlockCipher','synced','session.room-full','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LICENSE_IMPORT_SIZE_EXCEEDED','__creator','collabWebSocketUrl','put','_scheduleCompleteTimestamp','add','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','enc','[FetchMissState]','mode','_socket','confirm','SHA1','_userManagerService','6430506mitAKz','waitForRoom$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationUIEventService','_exhaustRemoteChangesetQueue','3DciMNX','target','_loadDoc','_onRemoteACK','unpad','words','JOIN','commentUpdate$','clone','/universer-api/file/{fileID}/sign-url','_init','_awaitingChangeset','allowed','readInt32LE','onTransformSelections','saveSheetBlock','OFFLINE','defineProperty','execute','floor','listRoles','univer-pro.collaboration-client-socket-service','byteLength','_imageSourceCache','_decreaseWaiting','INVITE_CODE_ALREADY_BOUND','joinRsp','_onOffline','_initRequestHeader','ceil','_entityInit$','_clearLocalCache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_tryEnsureSocket','_substituteUndoStack','_lockTransition','appendMutation','\x0aAfter:\x20','push','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','948GmCTWf','[CollaborationState]:\x20apply\x20error!','requestParams','_snapshotServerService','size','_fetchMissChangesets','putCollaborators','_process','_queuedRemoteChangesets','buffer','set','_doProcessBlock','permissionRejEvent','EvpKDF','onRemoteRetry','dispose','UNRECOGNIZED','toString','memberID','ERROR_IMAGE','SUBMIT_CHANGESET','Univer','salt','_hash','finalize','UNIVER_SLIDE','_onRemoteChangeset','auth.needGotoLoginAlert','roomInfos','origin','getTypeOfUnitAdded$','includes','unitInfo$','/-/object/list','onTransformState','_xformMode','csShouldRetryEvent','/universer-api/uniscript','_configService','/allowed','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','createCollaborator','find','_socketMessageSubscription','mixIn','FETCH_MISSING','?url=','_disableEditing','image/jpeg','getUnitStatus$','_networkConditionService','_remoteChangesetQueue','status','HttpImport','update','requireSession','algo','onStarting','_onLocalMutation','PSEUDO_FETCH_MISSING_RESULT','onload','_schedule','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','revision','_getAPIPrefix','_getLoginPath','get','Hex','SNAPSHOT_INVALID_SNAPSHOT','_transformStack','_removeRoom','min','_onConnectionOpen','onRemoteAck','list','onCommandExecuted','state$','_localCacheService','AES','[CollaborationUndoRedoService]','CBC','_resendTimeout','onSyncEditingCollabCursor','_getDownloadEndpointURL','UPDATE_CURSOR','LIVESHARE_OPERATION','/universer-api/stream/file/upload','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_univerInstanceService','stopTime','onSendChangeset','UUID','post','_onUserJoin','LIVESHARE_NEW_HOST','USERS_LEAVE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','805022LgQAsm','type','subUnitId','getTime','6381904xKWAej','_getUploadFileURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PENDING','_startTelemetryCollaborationNewChangeset','_createSocket','filter','RETRY_CONNECTING_MAX_COUNT','/-/object/-/batch_allowed','_onCombEvent','_commandService','sheets','leaveEvent','_createHmacHelper','FETCH_MISS','/new_changes','transformChangesets','withCredentials','CHANGESET_REVISION_CONFILICT','NOT_FOUND','values','JOIN_ROOM_FAILED','Malformed\x20UTF-8\x20data','_revisionService','_injector','_key','byteOffset','createEncryptor','splice','getCurrentUser','_state$','[CollaborationSessionService]','next','_initUnitPermissionChange','onTransformIME','_getRedoStack','AWAITING','HttpExport','addHandlerCallback','close','PasswordBasedCipher','JOINING','kdf','UNIVER_DOC','responseType','UNAUTHENTICATED','_onFetchMissResult','max','getMember','data','SYNCED','editingUnit','_syncEditingCollabCursor','getMemberID','$super','COLLAB_SUBMIT_CHANGESET_URL','_socketReady','session','exports','fetch_missing','_iKey','message$','_roomCreated$','{fileID}','updateCursorEvent','_localeService','HMAC','_onJoinRoomEvent','onlyLocal','YUUMI_UNABLE_LOAD_URL','_clearRetryConnectingTimer','fromCharCode','getFocusedUnit','LICENSE_MAX_UNITS_EXCEEDED','_clearScheduledTask','getRandomValues','_prevBlock','routeKey','NO_OTHER_CLIENTS_EDITING','/universer-api/oidc/authpage','_loadSheet','_clearHeartbeatTimer','offline','_onConflict','_socketService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_handler','_hasher','unit-cache-','updatePermissionPoint','entries','x-univer-host','_minBufferSize','_transitionLocked','onStateChange','setWaitCount','clamp','_createHandler','clear','/universer-api/user/session-ticket','_iv','_config','_httpService','_sessionStatus$','SEND_CHANGESET_TIMEOUT','UNDEFINED','/unit/','connection\x20error','JOIN_ROOM_PERMISSION_DENIED','UNISCRIPT_RUN','_handlerCallback','OTHER_CLIENT_EDITING','SOCKET_FAILED','awaiting_with_pending','_rescheduleHeartbeat','substr','_singleActiveUnitService','_sendingTimer','loadSheet','_resendTimer','originalMeta','ENSURE_SNAPSHOT_EXECUTION','WordArray','YUUMI_SUBSCRIPTION_NOT_FOUND','/rev/','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_oKey','MUTATION','change$','_invKeySchedule','getUnitId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sigBytes','[UniverCollaborationClientPlugin]','formatter'];_0x38c2=function(){return _0x37d7e1;};return _0x38c2();}const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x5c86d9(0x365)],ai;function Lr(){return ai||(ai=0x1,function(_0xfb214e,_0xa070db){(function(_0x40ae93,_0x36315e){_0xfb214e['exports']=_0x36315e(ie());}(xr,function(_0x29baf7){return _0x29baf7['enc']['Utf8'];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze['exports'],oi;function Hr(){var _0x331ae5=_0x5c86d9;return oi||(oi=0x1,function(_0x4608e0,_0x13623a){(function(_0x29e578,_0x1eab6c){var _0x1b6cee=_0xbb9a;_0x4608e0[_0x1b6cee(0x365)]=_0x1eab6c(ie());}($r,function(_0x2bde67){var _0x2e2fbf=_0xbb9a;return(function(){var _0x285d4c=_0xbb9a;if(typeof ArrayBuffer=='function'){var _0x189feb=_0x2bde67,_0x5d91d9=_0x189feb[_0x285d4c(0x1f5)],_0x53f8e6=_0x5d91d9['WordArray'],_0x5e531d=_0x53f8e6[_0x285d4c(0x463)],_0x1fbcda=_0x53f8e6['init']=function(_0x20d2b8){var _0x1fc793=_0x285d4c;if(_0x20d2b8 instanceof ArrayBuffer&&(_0x20d2b8=new Uint8Array(_0x20d2b8)),(_0x20d2b8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20d2b8 instanceof Uint8ClampedArray||_0x20d2b8 instanceof Int16Array||_0x20d2b8 instanceof Uint16Array||_0x20d2b8 instanceof Int32Array||_0x20d2b8 instanceof Uint32Array||_0x20d2b8 instanceof Float32Array||_0x20d2b8 instanceof Float64Array)&&(_0x20d2b8=new Uint8Array(_0x20d2b8[_0x1fc793(0x2ce)],_0x20d2b8[_0x1fc793(0x345)],_0x20d2b8[_0x1fc793(0x2b3)])),_0x20d2b8 instanceof Uint8Array){for(var _0x393178=_0x20d2b8[_0x1fc793(0x2b3)],_0xe759c2=[],_0x5e0469=0x0;_0x5e0469<_0x393178;_0x5e0469++)_0xe759c2[_0x5e0469>>>0x2]|=_0x20d2b8[_0x5e0469]<<0x18-_0x5e0469%0x4*0x8;_0x5e531d[_0x1fc793(0x49f)](this,_0xe759c2,_0x393178);}else _0x5e531d['apply'](this,arguments);};_0x1fbcda[_0x285d4c(0x24f)]=_0x53f8e6;}}()),_0x2bde67['lib'][_0x2e2fbf(0x3a5)];}));}(Ze)),Ze[_0x331ae5(0x365)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x5c86d9(0x365)],ci;function Vr(){var _0x46ee46=_0x5c86d9;return ci||(ci=0x1,function(_0x1be69a,_0x2a0440){(function(_0x467900,_0x299b17,_0x4feaff){var _0x1ff8bd=_0xbb9a;_0x1be69a[_0x1ff8bd(0x365)]=_0x299b17(ie(),wi());}(Fr,function(_0x492865){var _0x5dd71e=_0xbb9a;return _0x492865['pad'][_0x5dd71e(0x4d3)]={'pad':function(){},'unpad':function(){}},_0x492865['pad'][_0x5dd71e(0x4d3)];}));}(Qe)),Qe[_0x46ee46(0x365)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x425163,_0x40e6fa){var _0x412895=_0x5c86d9;const _0x22d037=_0x40e6fa-_0x425163[_0x412895(0x1f6)]%_0x40e6fa,_0x18a6ed=String[_0x412895(0x372)](_0x22d037)['repeat'](_0x22d037);return _0x425163+_0x18a6ed;}function Yr(_0x5a4783,_0xe96b0b){var _0xea00ad=_0x5c86d9;const _0x1765d1=jr['random'](0x10),_0x21c911=Kr(_0x5a4783,0x10),_0x4e77d0=Ar[_0xea00ad(0x409)](kr[_0xea00ad(0x4d1)](_0x21c911),si[_0xea00ad(0x4d1)](_0xe96b0b),{'iv':_0x1765d1,'padding':Wr});return _0x1765d1[_0xea00ad(0x447)](_0x4e77d0['ciphertext'])['toString'](si);}function qr(){var _0x485329=_0x5c86d9;const _0x31cc55=_0x38f59e()[_0x485329(0x21c)];if(_0x31cc55){const _0x5ef2e9={'time':Math[_0x485329(0x2b0)](Date[_0x485329(0x4be)]()/0x3e8),'domain':location[_0x485329(0x432)]};return Yr(JSON[_0x485329(0x448)](_0x5ef2e9),_0x31cc55);}}var zr=Object[_0x5c86d9(0x20c)],Jr=(_0x33d263,_0x37ad6c,_0x7de19,_0x3abae1)=>{for(var _0x2af134=_0x3abae1>0x1?void 0x0:_0x3abae1?zr(_0x37ad6c,_0x7de19):_0x37ad6c,_0x3f0027=_0x33d263['length']-0x1,_0x550c3b;_0x3f0027>=0x0;_0x3f0027--)(_0x550c3b=_0x33d263[_0x3f0027])&&(_0x2af134=_0x550c3b(_0x2af134)||_0x2af134);return _0x2af134;},Xr=(_0xfccf2d,_0x35a80c)=>(_0x36f68a,_0x100715)=>_0x35a80c(_0x36f68a,_0x100715,_0xfccf2d);let at=class{constructor(_0x214418){this['_httpService']=_0x214418,this['_initRequestHeader']();}[_0x5c86d9(0x2b9)](){var _0x1e8efa=_0x5c86d9;this[_0x1e8efa(0x391)]['registerHTTPInterceptor']({'interceptor':(_0xb34ef,_0x5ea364)=>{var _0x2c4e52=_0x1e8efa;const _0x31e651=_0xb34ef['headers'],_0x2b6b09=qr();return _0x2b6b09&&_0x31e651[_0x2c4e52(0x2cf)](_0x2c4e52(0x386),_0x2b6b09),_0x5ea364(_0xb34ef);}});}};at=Jr([Xr(0x0,_0x5ebbff(_0x217687))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x4afbdd,_0xa0993e,_0x4e9dad,_0x281a00)=>{var _0x50a498=_0x5c86d9;for(var _0x14b297=_0x281a00>0x1?void 0x0:_0x281a00?Zr(_0xa0993e,_0x4e9dad):_0xa0993e,_0x32fe8c=_0x4afbdd[_0x50a498(0x1f6)]-0x1,_0x34b7d3;_0x32fe8c>=0x0;_0x32fe8c--)(_0x34b7d3=_0x4afbdd[_0x32fe8c])&&(_0x14b297=_0x34b7d3(_0x14b297)||_0x14b297);return _0x14b297;},mt=(_0x4f27c4,_0x392924)=>(_0x59f36d,_0x2b3f89)=>_0x392924(_0x59f36d,_0x2b3f89,_0x4f27c4);let bt=class extends _0x26efdb{constructor(_0x587907,_0x2fc9e8,_0x2fef62){var _0x5c972b=_0x5c86d9;super(),N(this,_0x5c972b(0x483),new _0x5352cc(null)),N(this,_0x5c972b(0x2e5),this[_0x5c972b(0x483)][_0x5c972b(0x24a)]()),(this[_0x5c972b(0x4ca)]=_0x587907,this[_0x5c972b(0x43e)]=_0x2fc9e8,this['_localCacheService']=_0x2fef62);}async[_0x5c86d9(0x3cf)](_0x1e5d1b,_0x4976f6,_0x25e003){var _0x15c603=_0x5c86d9;this[_0x15c603(0x483)][_0x15c603(0x34b)]({'unitId':_0x1e5d1b,'type':_0x4976f6,'subUnitId':_0x25e003});let _0x2d6476=null;switch(_0x4976f6){case Q[_0x15c603(0x4bb)]:{_0x2d6476=await this['_loadSheet'](_0x1e5d1b);break;}case Q['UNIVER_DOC']:{_0x2d6476=await this['_loadDoc'](_0x1e5d1b);break;}default:{this['_logService'][_0x15c603(0x26d)](_0x15c603(0x401),_0x15c603(0x218));break;}}return _0x2d6476;}async[_0x5c86d9(0x37b)](_0x4eb656){var _0x3088f2=_0x5c86d9,_0x36e4d0;let _0x555dbf=0x0;const _0x5cdd75=await((_0x36e4d0=this[_0x3088f2(0x313)])==null?void 0x0:_0x36e4d0['loadOfflineData'](_0x4eb656));return _0x5cdd75&&(_0x5cdd75[_0x3088f2(0x49b)]||_0x5cdd75[_0x3088f2(0x1fa)][_0x3088f2(0x1f6)]!==0x0)&&(_0x555dbf=_0x5cdd75[_0x3088f2(0x1ff)]),_0x555dbf===0x0&&this[_0x3088f2(0x4ca)][_0x3088f2(0x233)]('[DataLoaderService]',_0x3088f2(0x449)),this[_0x3088f2(0x43e)][_0x3088f2(0x3a1)](_0x4eb656,_0x555dbf);}async[_0x5c86d9(0x29f)](_0x4d8735){var _0x29a29a=_0x5c86d9,_0x245775;let _0x1fb98e=0x0;const _0x413af2=await((_0x245775=this[_0x29a29a(0x313)])==null?void 0x0:_0x245775[_0x29a29a(0x260)](_0x4d8735));return _0x413af2&&(_0x413af2[_0x29a29a(0x49b)]||_0x413af2[_0x29a29a(0x1fa)]['length']!==0x0)&&(_0x1fb98e=_0x413af2[_0x29a29a(0x1ff)]),_0x1fb98e===0x0&&this[_0x29a29a(0x4ca)][_0x29a29a(0x233)](_0x29a29a(0x401),_0x29a29a(0x449)),this['_snapshotService'][_0x29a29a(0x208)](_0x4d8735,_0x1fb98e);}};bt=Qr([mt(0x0,_0x274a32),mt(0x1,_0x5ebbff(_0x4b7610)),mt(0x2,_0xaad32d(J))],bt);var es=Object[_0x5c86d9(0x20c)],ts=(_0x13dd8e,_0x4b9ffd,_0x3a1dc1,_0x302ca7)=>{var _0x17148b=_0x5c86d9;for(var _0x4132b9=_0x302ca7>0x1?void 0x0:_0x302ca7?es(_0x4b9ffd,_0x3a1dc1):_0x4b9ffd,_0x21543c=_0x13dd8e[_0x17148b(0x1f6)]-0x1,_0x57015f;_0x21543c>=0x0;_0x21543c--)(_0x57015f=_0x13dd8e[_0x21543c])&&(_0x4132b9=_0x57015f(_0x4132b9)||_0x4132b9);return _0x4132b9;},gt=(_0x545582,_0xaf7266)=>(_0x59a6f9,_0xa595cd)=>_0xaf7266(_0x59a6f9,_0xa595cd,_0x545582);const is=['image/png',_0x5c86d9(0x2f6),'image/jpg',_0x5c86d9(0x3d8),_0x5c86d9(0x47e)],ns=0x5*0x400*0x400,rs=_0x5c86d9(0x2ed),ss=_0x5c86d9(0x31c),as=_0x5c86d9(0x29a),os=_0x5c86d9(0x2a6);let yt=class{constructor(_0x29ae59,_0x31a57b,_0x209306){var _0x45a35c=_0x5c86d9;N(this,_0x45a35c(0x1ec),0x0),N(this,_0x45a35c(0x4c0),new _0x338582()),N(this,_0x45a35c(0x3ac),this[_0x45a35c(0x4c0)]),N(this,_0x45a35c(0x2b4),new Map()),(this[_0x45a35c(0x391)]=_0x29ae59,this[_0x45a35c(0x2eb)]=_0x31a57b,this[_0x45a35c(0x31e)]=_0x209306);}[_0x5c86d9(0x38a)](_0x4ba5c4){var _0x32e122=_0x5c86d9;this[_0x32e122(0x1ec)]=_0x4ba5c4,this[_0x32e122(0x4c0)][_0x32e122(0x34b)](_0x4ba5c4);}[_0x5c86d9(0x3d2)](_0x3b626f,_0x210f51){var _0xd4d587=_0x5c86d9;if(_0x210f51===_0x33c225[_0xd4d587(0x440)]){const _0x1e4cf1=new Image();return _0x1e4cf1[_0xd4d587(0x20f)]=_0x3b626f,_0x1e4cf1;}return this[_0xd4d587(0x2b4)][_0xd4d587(0x308)](_0x3b626f);}['addImageSourceCache'](_0xc510b6,_0x7f40e2,_0x917652){var _0x451531=_0x5c86d9;_0x7f40e2===_0x33c225[_0x451531(0x440)]||_0x917652==null||this[_0x451531(0x2b4)][_0x451531(0x2cf)](_0xc510b6,_0x917652);}async[_0x5c86d9(0x437)](_0x429b90){var _0x584834=_0x5c86d9;try{const _0x4e24e3=this['_replaceFileID'](this[_0x584834(0x279)](),''+_0x429b90),_0x421678=(await this['_httpService'][_0x584834(0x308)](_0x4e24e3))[_0x584834(0x47d)];if(_0x421678[_0x584834(0x26d)]&&_0x421678[_0x584834(0x26d)][_0x584834(0x1d1)]===Si['OK']){const _0x4c41ea=new URL(_0x421678[_0x584834(0x258)],this[_0x584834(0x319)]())[_0x584834(0x2d6)]();return Promise[_0x584834(0x4ad)](_0x4c41ea);}return Promise[_0x584834(0x200)](_0x421678[_0x584834(0x26d)]);}catch(_0x4baefe){return Promise[_0x584834(0x200)](_0x4baefe);}}async[_0x5c86d9(0x485)](_0x2bef60){var _0x4e82d5=_0x5c86d9;let _0x228b72='';if(!is[_0x4e82d5(0x2e4)](_0x2bef60[_0x4e82d5(0x328)]))return this[_0x4e82d5(0x2b5)](),Promise['reject'](new Error(_0x49b9f1['ERROR_IMAGE_TYPE']));if(_0x2bef60[_0x4e82d5(0x2c9)]>ns)return this[_0x4e82d5(0x2b5)](),Promise[_0x4e82d5(0x200)](new Error(_0x49b9f1['ERROR_EXCEED_SIZE']));try{const _0x256a0d=new FormData();_0x256a0d[_0x4e82d5(0x3ce)](_0x4e82d5(0x3ed),_0x2bef60);const _0x15675b=this[_0x4e82d5(0x31e)][_0x4e82d5(0x373)](),_0x46373e=_0x15675b==null?void 0x0:_0x15675b[_0x4e82d5(0x3ae)]();if(!_0x46373e)throw new Error(_0x4e82d5(0x1ef));const _0xe43159=this[_0x4e82d5(0x32c)]()+_0x4e82d5(0x4a3)+_0x2bef60['size'][_0x4e82d5(0x2d6)]()+_0x4e82d5(0x4ce)+Ei[_0x4e82d5(0x4c8)]+_0x4e82d5(0x493)+encodeURIComponent(_0x46373e),_0x36f61e=await(await fetch(_0xe43159,{'method':_0x4e82d5(0x1c8),'body':_0x256a0d}))[_0x4e82d5(0x24d)]();if(typeof _0x36f61e[_0x4e82d5(0x3ba)]!=_0x4e82d5(0x4b1))return this[_0x4e82d5(0x2b5)](),Promise[_0x4e82d5(0x200)](new Error(_0x49b9f1[_0x4e82d5(0x2d8)]));_0x228b72=_0x36f61e['FileId'];}catch{return this[_0x4e82d5(0x2b5)](),Promise['reject'](new Error(_0x49b9f1[_0x4e82d5(0x2d8)]));}return new Promise((_0x4689cf,_0x5c1c73)=>{var _0x44a82b=_0x4e82d5;const _0x49cd15=new FileReader();_0x49cd15['readAsDataURL'](_0x2bef60),_0x49cd15[_0x44a82b(0x302)]=_0x28d343=>{var _0x33ed64=_0x44a82b,_0x334bb3;const _0x4e9748=(_0x334bb3=_0x28d343[_0x33ed64(0x29e)])==null?void 0x0:_0x334bb3[_0x33ed64(0x3c4)];if(_0x4e9748==null){this['_decreaseWaiting'](),_0x5c1c73(new Error(_0x49b9f1[_0x33ed64(0x2d8)]));return;}const _0x3793ff=_0x37af3f[_0x33ed64(0x40f)](0x6);_0x4689cf({'imageId':_0x3793ff,'imageSourceType':_0x33c225[_0x33ed64(0x321)],'source':_0x228b72,'base64Cache':_0x4e9748,'status':_0x49b9f1[_0x33ed64(0x49a)]}),this[_0x33ed64(0x2b5)]();};});}[_0x5c86d9(0x32c)](){var _0x24f3d4=_0x5c86d9,_0x253708,_0x17f1b8;const _0x308916=this[_0x24f3d4(0x2eb)][_0x24f3d4(0x246)](rs),_0x232e0d=this[_0x24f3d4(0x2eb)][_0x24f3d4(0x246)](q);return(_0x17f1b8=(_0x253708=_0x232e0d==null?void 0x0:_0x232e0d[_0x24f3d4(0x281)])!=null?_0x253708:_0x308916)!=null?_0x17f1b8:ss;}[_0x5c86d9(0x279)](){var _0x31dd61=_0x5c86d9,_0x5054fd,_0x290458;const _0x177c4e=this[_0x31dd61(0x2eb)][_0x31dd61(0x246)](as),_0x29a3c7=this['_configService'][_0x31dd61(0x246)](q);return(_0x290458=(_0x5054fd=_0x29a3c7==null?void 0x0:_0x29a3c7[_0x31dd61(0x229)])!=null?_0x5054fd:_0x177c4e)!=null?_0x290458:os;}[_0x5c86d9(0x319)](){var _0x19e841=_0x5c86d9,_0x45611e;const _0xcd6bfa=this[_0x19e841(0x2eb)][_0x19e841(0x246)](q);return(_0x45611e=_0xcd6bfa==null?void 0x0:_0xcd6bfa[_0x19e841(0x3d1)])!=null?_0x45611e:location[_0x19e841(0x2e2)];}[_0x5c86d9(0x443)](_0x44399d,_0x30bee9){var _0x281f08=_0x5c86d9;return _0x44399d['replace'](_0x281f08(0x36a),_0x30bee9);}[_0x5c86d9(0x2b5)](){var _0x3949a3=_0x5c86d9;this[_0x3949a3(0x1ec)]-=0x1,this['_change$'][_0x3949a3(0x34b)](this[_0x3949a3(0x1ec)]);}};yt=ts([gt(0x0,_0x5ebbff(_0x217687)),gt(0x1,_0x3ada0c),gt(0x2,_0x5ebbff(_0x54a9fc))],yt);var cs=Object[_0x5c86d9(0x20c)],hs=(_0x4432da,_0x1bdfb5,_0x14bd8e,_0x4a4e8f)=>{var _0x7ce5b7=_0x5c86d9;for(var _0x102375=_0x4a4e8f>0x1?void 0x0:_0x4a4e8f?cs(_0x1bdfb5,_0x14bd8e):_0x1bdfb5,_0x25b7ab=_0x4432da[_0x7ce5b7(0x1f6)]-0x1,_0x412759;_0x25b7ab>=0x0;_0x25b7ab--)(_0x412759=_0x4432da[_0x25b7ab])&&(_0x102375=_0x412759(_0x102375)||_0x102375);return _0x102375;},hi=(_0x5f269c,_0x40097b)=>(_0x3bd700,_0x434829)=>_0x40097b(_0x3bd700,_0x434829,_0x5f269c);const _s='/universer-api/authz';let Ot=class{constructor(_0x401496,_0x41acf4){var _0x83b9f0=_0x5c86d9;this[_0x83b9f0(0x2eb)]=_0x401496,this[_0x83b9f0(0x429)]=_0x41acf4;}[_0x5c86d9(0x202)](){var _0x36dd07=_0x5c86d9,_0x370448,_0x33a961;const _0x248f31=this[_0x36dd07(0x2eb)][_0x36dd07(0x246)](Ni),_0x37099f=this[_0x36dd07(0x2eb)][_0x36dd07(0x246)](q);return(_0x33a961=(_0x370448=_0x37099f==null?void 0x0:_0x37099f[_0x36dd07(0x22c)])!=null?_0x370448:_0x248f31)!=null?_0x33a961:_s;}async[_0x5c86d9(0x310)](_0x3ce02b){var _0x11a975=_0x5c86d9;const _0x118f9f=this['_getAPIPrefixPath']()+_0x11a975(0x44d);return{'list':[{'title':_0x11a975(0x267),'mentions':(await this[_0x11a975(0x429)][_0x11a975(0x308)](_0x118f9f,{'params':{'objectID':_0x3ce02b[_0x11a975(0x4b3)],'unitID':_0x3ce02b[_0x11a975(0x4b3)]}}))['body']['collaborators'][_0x11a975(0x1c6)](_0xb1e4ef=>({'objectId':_0xb1e4ef['id'],'name':_0xb1e4ef[_0x11a975(0x227)][_0x11a975(0x48a)],'metadata':{'icon':_0xb1e4ef[_0x11a975(0x227)]['avatar']},'label':_0xb1e4ef[_0x11a975(0x227)][_0x11a975(0x48a)],'objectType':_0x3789f4[_0x11a975(0x3c7)]})),'metadata':{},'type':_0x3789f4[_0x11a975(0x3c7)]}]};}};Ot=hs([hi(0x0,_0x5ebbff(_0x3ada0c)),hi(0x1,_0x5ebbff(_0x217687))],Ot);var ls=Object[_0x5c86d9(0x20c)],us=(_0x1a2031,_0x537dde,_0x57984d,_0x431fa5)=>{var _0x53efd8=_0x5c86d9;for(var _0x52b419=_0x431fa5>0x1?void 0x0:_0x431fa5?ls(_0x537dde,_0x57984d):_0x537dde,_0x295ee7=_0x1a2031[_0x53efd8(0x1f6)]-0x1,_0x4e1bcd;_0x295ee7>=0x0;_0x295ee7--)(_0x4e1bcd=_0x1a2031[_0x295ee7])&&(_0x52b419=_0x4e1bcd(_0x52b419)||_0x52b419);return _0x52b419;},Ae=(_0x2ab973,_0xf15ac7)=>(_0x409ae0,_0x25c116)=>_0xf15ac7(_0x409ae0,_0x25c116,_0x2ab973);let ot=class extends _0x26efdb{constructor(_0x1b30a5,_0x1f673a,_0x3ba22d,_0x5f53d8,_0x1f0721){var _0x2a432e=_0x5c86d9;super(),this[_0x2a432e(0x343)]=_0x1b30a5,this[_0x2a432e(0x31e)]=_0x1f673a,this['_permissionService']=_0x3ba22d,this[_0x2a432e(0x220)]=_0x5f53d8,this[_0x2a432e(0x29b)]=_0x1f0721,this[_0x2a432e(0x34c)](),this[_0x2a432e(0x247)]();}[_0x5c86d9(0x247)](){var _0x2a0ae2=_0x5c86d9;const _0x58011d=async _0x571696=>{var _0x3ce227=_0xbb9a;(await this['_collaborationSessionService'][_0x3ce227(0x2fd)](_0x571696))[_0x3ce227(0x263)][_0x3ce227(0x207)](_0x53ece5(_0x32da12=>_0x32da12[_0x3ce227(0x441)]===_0x271488['SHOULD_CLOSE_CONN']),_0x503203(this['dispose$']))[_0x3ce227(0x28f)](_0x3a6d4f=>{var _0x54e677=_0x3ce227;const _0x2fd1bf=_0x3a6d4f,{reason:_0x14f27a}=_0x2fd1bf[_0x54e677(0x35c)];this['_collaborationUIEventService'][_0x54e677(0x1eb)]({'id':se[_0x54e677(0x4da)],'data':_0x14f27a}),this[_0x54e677(0x27b)][_0x54e677(0x384)](new _0x249291(_0x571696)['id'],!0x1),this['_collaborationSessionService'][_0x54e677(0x1d0)](_0x571696);});};_0x1ac615(this[_0x2a0ae2(0x31e)]['getTypeOfUnitAdded$'](_0x1b0f05[_0x2a0ae2(0x4bb)]),this[_0x2a0ae2(0x31e)][_0x2a0ae2(0x2e3)](_0x1b0f05['UNIVER_DOC']))[_0x2a0ae2(0x207)](_0x5d1df9(_0x759fa1=>_0x759fa1['getUnitId']()),_0x53ece5(_0x2a520b=>!_0x21f919(_0x2a520b)),_0x503203(this[_0x2a0ae2(0x243)]))[_0x2a0ae2(0x28f)](_0x2ce338=>{_0x58011d(_0x2ce338);});}[_0x5c86d9(0x34c)](){var _0x2e115f=_0x5c86d9;const _0x282866=async _0x3c7b16=>{var _0x27064a=_0xbb9a;const _0x3ce1b3=await this[_0x27064a(0x220)]['requireSession'](_0x3c7b16),_0x4b9c20=this[_0x27064a(0x343)][_0x27064a(0x308)](_0x5a6a3a);_0x3ce1b3[_0x27064a(0x263)][_0x27064a(0x207)](_0x53ece5(_0x1bdd33=>_0x1bdd33[_0x27064a(0x441)]===_0x271488['UPDATE_PERMISSION_OBJ']),_0x503203(this[_0x27064a(0x243)]))['subscribe'](_0x1c763f=>{var _0x2bdd9b=_0x27064a;const _0x1c59f2=_0x1c763f,{objectId:_0x3a242a}=_0x1c59f2[_0x2bdd9b(0x35c)];_0x3a242a===_0x3c7b16?_0x4b9c20[_0x2bdd9b(0x1f1)](_0x3c7b16):_0x4b9c20['refreshPermission'](_0x3c7b16,_0x3a242a);});};_0x1ac615(this['_univerInstanceService'][_0x2e115f(0x2e3)](_0x1b0f05[_0x2e115f(0x4bb)]))[_0x2e115f(0x207)](_0x5d1df9(_0x58b132=>_0x58b132['getUnitId']()),_0x53ece5(_0x9c696=>!_0x21f919(_0x9c696)),_0x503203(this[_0x2e115f(0x243)]))[_0x2e115f(0x28f)](_0x1f2640=>{_0x282866(_0x1f2640);});}};ot=us([Ae(0x0,_0x5ebbff(_0x47b6c6)),Ae(0x1,_0x54a9fc),Ae(0x2,_0xfeb7f6),Ae(0x3,_0x5ebbff(Le)),Ae(0x4,_0x5ebbff(pe))],ot);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x33ec3b,_0x12d6a6,_0x1995f2,_0x3259ee)=>{var _0x348d7f=_0x5c86d9;for(var _0x40e21c=_0x3259ee>0x1?void 0x0:_0x3259ee?ds(_0x12d6a6,_0x1995f2):_0x12d6a6,_0x165055=_0x33ec3b[_0x348d7f(0x1f6)]-0x1,_0x1e1b3c;_0x165055>=0x0;_0x165055--)(_0x1e1b3c=_0x33ec3b[_0x165055])&&(_0x40e21c=_0x1e1b3c(_0x40e21c)||_0x40e21c);return _0x40e21c;},_i=(_0x4b74b7,_0x24d3cd)=>(_0x269991,_0x164668)=>_0x24d3cd(_0x269991,_0x164668,_0x4b74b7);let Nt=class{constructor(_0x558491,_0x36f4de){var _0x4aeacc=_0x5c86d9;this['_configService']=_0x558491,this[_0x4aeacc(0x391)]=_0x36f4de;}async['getUnitOnRev'](_0x42c79b,_0x364de5){var _0xbbd40a=_0x5c86d9,_0xd0d238;const {unitID:_0x6c6bdc,type:_0x1eb127,revision:_0x24dbad=0x0}=_0x364de5,_0x2a6f8c=this[_0xbbd40a(0x3e9)]()+'/'+_0x1eb127+_0xbbd40a(0x395)+_0x6c6bdc+_0xbbd40a(0x3a7)+_0x24dbad,_0x1ef9ef=(await this[_0xbbd40a(0x391)][_0xbbd40a(0x308)](_0x2a6f8c))[_0xbbd40a(0x47d)],_0x399dc1=(_0xd0d238=_0x1ef9ef[_0xbbd40a(0x489)])==null?void 0x0:_0xd0d238[_0xbbd40a(0x4c9)];if(_0x399dc1){const _0x5b3069=_0x399dc1==null?void 0x0:_0x399dc1[_0xbbd40a(0x3a3)],_0x370894=_0x5af8a4[_0xbbd40a(0x252)](_0xa0feaa(_0x5b3069));_0x399dc1[_0xbbd40a(0x3a3)]=_0x370894,Object[_0xbbd40a(0x385)](_0x399dc1[_0xbbd40a(0x336)])['forEach'](([,_0x4d876d])=>{var _0x2731c4=_0xbbd40a;const _0x5e7ee2=_0x4d876d['originalMeta'],_0xf29aab=_0x5af8a4[_0x2731c4(0x252)](_0xa0feaa(_0x5e7ee2));_0x4d876d['originalMeta']=_0xf29aab;});}return _0x1ef9ef;}async[_0x5c86d9(0x400)](_0x315669,_0x8a6dd7){var _0x35f1df=_0x5c86d9;const {unitID:_0x157ee6,type:_0x334590,blockID:_0x5bf9b5}=_0x8a6dd7,_0x5654a1=this[_0x35f1df(0x306)]()+'/'+_0x334590+_0x35f1df(0x395)+_0x157ee6+_0x35f1df(0x240)+_0x5bf9b5;return(await this[_0x35f1df(0x391)][_0x35f1df(0x308)](_0x5654a1))[_0x35f1df(0x47d)];}async[_0x5c86d9(0x486)](_0x436dd5,_0x25864f){var _0x440d52=_0x5c86d9;const {unitID:_0x2d7934,type:_0x300508,blockID:_0x16f34d}=_0x25864f,_0x1164a9=this[_0x440d52(0x306)]()+_0x440d52(0x240)+_0x300508+_0x440d52(0x395)+_0x2d7934+_0x440d52(0x240)+_0x16f34d;return(await this[_0x440d52(0x391)][_0x440d52(0x308)](_0x1164a9))[_0x440d52(0x47d)];}async[_0x5c86d9(0x4bf)](_0x1ac1bf,_0x2992bb){var _0xc92469=_0x5c86d9;const {unitID:_0x46319c,type:_0x57bed2,from:_0x3fff39,to:_0x43475c}=_0x2992bb,_0x541b2e=this[_0xc92469(0x306)]()+'/'+_0x57bed2+_0xc92469(0x395)+_0x46319c+_0xc92469(0x4af)+_0x3fff39+'&to='+_0x43475c;return(await this[_0xc92469(0x391)][_0xc92469(0x308)](_0x541b2e))[_0xc92469(0x47d)];}[_0x5c86d9(0x3e9)](){var _0xed68f9=_0x5c86d9,_0x34bca5;return(_0x34bca5=this[_0xed68f9(0x2eb)]['getConfig'](Sn))!=null?_0x34bca5:this['_getAPIPrefix']();}[_0x5c86d9(0x306)](){var _0x4df6db=_0x5c86d9,_0x160ee0,_0x1b91f3;const _0x2d2b85=this[_0x4df6db(0x2eb)][_0x4df6db(0x246)](mn),_0x1e3071=this[_0x4df6db(0x2eb)][_0x4df6db(0x246)](q);return(_0x1b91f3=(_0x160ee0=_0x1e3071==null?void 0x0:_0x1e3071[_0x4df6db(0x1e2)])!=null?_0x160ee0:_0x2d2b85)!=null?_0x1b91f3:gn;}async['getResourcesRequest'](_0xbec123,_0x23fc9d){var _0x805543=_0x5c86d9;const _0x2c954f=_0x805543(0x478)+_0x23fc9d[_0x805543(0x328)]+_0x805543(0x395)+_0x23fc9d[_0x805543(0x3ef)]+_0x805543(0x481);return(await this[_0x805543(0x391)][_0x805543(0x308)](_0x2c954f,{'params':{'resourceId':JSON[_0x805543(0x448)](_0x23fc9d[_0x805543(0x430)])}}))['body'];}[_0x5c86d9(0x422)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c86d9(0x2ac)](){var _0x1fae7f=_0x5c86d9;throw new Error(_0x1fae7f(0x32d));}[_0x5c86d9(0x1d5)](){var _0x15fdbb=_0x5c86d9;throw new Error(_0x15fdbb(0x32d));}[_0x5c86d9(0x43c)](){var _0x5d9c44=_0x5c86d9;throw new Error(_0x5d9c44(0x32d));}[_0x5c86d9(0x40d)](){var _0x3727d8=_0x5c86d9;throw new Error(_0x3727d8(0x32d));}};Nt=fs([_i(0x0,_0x3ada0c),_i(0x1,_0x5ebbff(_0x217687))],Nt);var vs=Object[_0x5c86d9(0x20c)],ps=(_0x69a042,_0x15c3d2,_0x446c14,_0x2de872)=>{var _0x9729dd=_0x5c86d9;for(var _0x346298=_0x2de872>0x1?void 0x0:_0x2de872?vs(_0x15c3d2,_0x446c14):_0x15c3d2,_0xb72cd7=_0x69a042[_0x9729dd(0x1f6)]-0x1,_0x350347;_0xb72cd7>=0x0;_0xb72cd7--)(_0x350347=_0x69a042[_0xb72cd7])&&(_0x346298=_0x350347(_0x346298)||_0x346298);return _0x346298;},Pe=(_0x519867,_0x3d3597)=>(_0x4de88b,_0x181a17)=>_0x3d3597(_0x4de88b,_0x181a17,_0x519867);let Dt=class extends _0x39145e{constructor(_0x40b7e3,_0xce160a,_0x4ee1ce,_0x321eee,_0x23c52f){var _0x38e45a=_0x5c86d9;super(_0x40b7e3,_0xce160a,_0x4ee1ce),this[_0x38e45a(0x22f)]=_0x321eee,this[_0x38e45a(0x4ca)]=_0x23c52f;}['transformUndoRedo'](_0x353540,_0xa43a54){var _0x1bcbc9=_0x5c86d9;const _0x4843e5=this[_0x1bcbc9(0x277)](_0x353540);if(_0x4843e5)try{const _0x4fa1b7=this[_0x1bcbc9(0x30b)](_0x4843e5,_0xa43a54);this[_0x1bcbc9(0x2bf)](_0x353540,_0x4fa1b7);}catch(_0x2a0d65){this['_logService']['error']('[CollaborationUndoRedoService]',_0x2a0d65),this[_0x1bcbc9(0x20b)](_0x353540);}const _0x1fe0e5=this[_0x1bcbc9(0x34e)](_0x353540);if(_0x1fe0e5)try{const _0x23d395=this['_transformStack'](_0x1fe0e5,_0xa43a54);this[_0x1bcbc9(0x1cf)](_0x353540,_0x23d395);}catch(_0x2bca17){this[_0x1bcbc9(0x4ca)][_0x1bcbc9(0x26d)](_0x2bca17),this[_0x1bcbc9(0x3ff)](_0x353540);}}['_clearUndo'](_0x1d840b){var _0x3322bf=_0x5c86d9;const _0x46b269=this[_0x3322bf(0x277)](_0x1d840b);_0x46b269&&(_0x46b269[_0x3322bf(0x1f6)]=0x0,this['_updateStatus']());}[_0x5c86d9(0x3ff)](_0x487571){var _0x3b9033=_0x5c86d9;const _0x3bf319=this['_getRedoStack'](_0x487571);_0x3bf319&&(_0x3bf319[_0x3b9033(0x1f6)]=0x0,this[_0x3b9033(0x3d4)]());}['_substituteUndoStack'](_0x3b38ed,_0x575d16){var _0x28ab45=_0x5c86d9;this[_0x28ab45(0x253)][_0x28ab45(0x2cf)](_0x3b38ed,_0x575d16),this[_0x28ab45(0x3d4)]();}['_substituteRedoStack'](_0x86ab27,_0x1aa5fa){var _0x396739=_0x5c86d9;this[_0x396739(0x1f0)][_0x396739(0x2cf)](_0x86ab27,_0x1aa5fa),this[_0x396739(0x3d4)]();}[_0x5c86d9(0x30b)](_0x51cc2a,_0x53a3d2){var _0x1fdfdf=_0x5c86d9;const _0x2c4737=[];let _0x2f0da2=_0x53a3d2,_0x428696=_0x53a3d2;for(let _0x13edc8=_0x51cc2a[_0x1fdfdf(0x1f6)]-0x1;_0x13edc8>=0x0;_0x13edc8--){const {unitID:_0x14ceb2,undoMutations:_0x369a6c,redoMutations:_0x14be55}=_0x51cc2a[_0x13edc8],_0x3538fa=this[_0x1fdfdf(0x22f)]['transformMutationsWithChangeset'](_0x2f0da2,_0x369a6c),_0x21b3de=this[_0x1fdfdf(0x22f)][_0x1fdfdf(0x451)](_0x428696,_0x14be55);if(_0x2b4c26(_0x3538fa)||_0x2b4c26(_0x21b3de)){this[_0x1fdfdf(0x4ca)][_0x1fdfdf(0x26d)](_0x1fdfdf(0x315),_0x1fdfdf(0x1e3),_0x3538fa,_0x21b3de);break;}_0x2f0da2=_0x3538fa[_0x1fdfdf(0x47f)],_0x428696=_0x21b3de[_0x1fdfdf(0x47f)],_0x2c4737[_0x1fdfdf(0x2c3)]({'unitID':_0x14ceb2,'undoMutations':_0x3538fa[_0x1fdfdf(0x25d)],'redoMutations':_0x21b3de[_0x1fdfdf(0x25d)]});}return _0x2c4737[_0x1fdfdf(0x442)]();}};Dt=ps([Pe(0x0,_0x54a9fc),Pe(0x1,_0x247ed0),Pe(0x2,_0xdbc806),Pe(0x3,_0x37f922),Pe(0x4,_0x274a32)],Dt);var ms=Object[_0x5c86d9(0x2ae)],gs=Object[_0x5c86d9(0x20c)],Ss=(_0x3cfcde,_0x52a332,_0x2ef9d9)=>_0x52a332 in _0x3cfcde?ms(_0x3cfcde,_0x52a332,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ef9d9}):_0x3cfcde[_0x52a332]=_0x2ef9d9,Es=(_0x5bae89,_0x587b10,_0x5586f8,_0x1d9443)=>{for(var _0x1e1b38=_0x1d9443>0x1?void 0x0:_0x1d9443?gs(_0x587b10,_0x5586f8):_0x587b10,_0x29cddd=_0x5bae89['length']-0x1,_0x11724d;_0x29cddd>=0x0;_0x29cddd--)(_0x11724d=_0x5bae89[_0x29cddd])&&(_0x1e1b38=_0x11724d(_0x1e1b38)||_0x1e1b38);return _0x1e1b38;},St=(_0x3a1c5d,_0xad5e3d)=>(_0x3e402b,_0x2de8f8)=>_0xad5e3d(_0x3e402b,_0x2de8f8,_0x3a1c5d),Is=(_0x4ff4b2,_0x4ed1c9,_0x3b6458)=>Ss(_0x4ff4b2,_0x4ed1c9+'',_0x3b6458);const Ts=_0x5c86d9(0x4a6);let Ut=class extends _0x517d8b{constructor(_0x3f835f,_0x6f7c58,_0x9077c7,_0x531c72){var _0xc7d430=_0x5c86d9;super(),N(this,_0xc7d430(0x390)),(this[_0xc7d430(0x4ca)]=_0x6f7c58,this['_injector']=_0x9077c7,this[_0xc7d430(0x2eb)]=_0x531c72);const {..._0x5ed290}=_0x3dd84d({},An,_0x3f835f);if(!_0x5ed290[_0xc7d430(0x25f)])throw new Error(_0xc7d430(0x31d));this[_0xc7d430(0x390)]=_0x5ed290,this[_0xc7d430(0x2eb)]['setConfig'](q,_0x5ed290);}[_0x5c86d9(0x2ff)](){var _0x2a7eb3=_0x5c86d9;this[_0x2a7eb3(0x4c6)](),this[_0x2a7eb3(0x3e8)]();}[_0x5c86d9(0x4c6)](){var _0x5d60dc=_0x5c86d9,_0x290228,_0x13f992;this[_0x5d60dc(0x343)][_0x5d60dc(0x4a0)](_0x5c1562)&&this[_0x5d60dc(0x4ca)][_0x5d60dc(0x26d)](_0x5d60dc(0x3b1),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x316d16=_0x58503c([[_0x5c1562,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x5d60dc(0x390)][_0x5d60dc(0x25f)]}],[_0x840cb7,{'useClass':Nt}],[_0x13f2c7,{'useClass':Rt}],[_0x31c8a7,{'useClass':yt}],[_0x4e42ed,{'useClass':Ot}],[rt],[Ct]],(_0x290228=this['_config'])==null?void 0x0:_0x290228[_0x5d60dc(0x27f)]);if(!((_0x13f992=this[_0x5d60dc(0x390)])!=null&&_0x13f992[_0x5d60dc(0x274)])){const _0x2aa683=_0x316d16['findIndex'](([_0xd9acd6])=>_0xd9acd6===ht);_0x2aa683!==-0x1&&_0x316d16[_0x5d60dc(0x347)](_0x2aa683,0x1);}_0x526740(this[_0x5d60dc(0x343)],_0x316d16);}[_0x5c86d9(0x3e8)](){var _0x5c8b59=_0x5c86d9,_0xfca022,_0xdc1d63,_0x2f8ef1;this[_0x5c8b59(0x343)][_0x5c8b59(0x308)](_0x217687)[_0x5c8b59(0x205)]({'priority':0x14,'interceptor':_0xdac553({'maxParallel':0x6})}),(_0xfca022=this[_0x5c8b59(0x390)])!=null&&_0xfca022[_0x5c8b59(0x4ac)]||(_0xdc1d63=this[_0x5c8b59(0x343)]['get'](J,_0x30110e[_0x5c8b59(0x4d9)]))==null||_0xdc1d63[_0x5c8b59(0x488)](),(_0x2f8ef1=this['_config'])!=null&&_0x2f8ef1[_0x5c8b59(0x4a1)]&&_0x28de12(this[_0x5c8b59(0x343)],[[st]]),_0x28de12(this[_0x5c8b59(0x343)],[[at],[rt],[ot]]);}};Is(Ut,_0x5c86d9(0x470),Ts),Ut=Es([_0x2fe84b(_0x3b9695,_0x214502),St(0x1,_0x274a32),St(0x2,_0x5ebbff(_0x47b6c6)),St(0x3,_0x3ada0c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|
1
|
+
var _0x312368=_0x2088;(function(_0xb3340,_0x5624aa){var _0x5a88cc=_0x2088,_0x4880ee=_0xb3340();while(!![]){try{var _0x2525ca=parseInt(_0x5a88cc(0x179))/0x1*(-parseInt(_0x5a88cc(0x1dd))/0x2)+-parseInt(_0x5a88cc(0x240))/0x3*(parseInt(_0x5a88cc(0x1f6))/0x4)+parseInt(_0x5a88cc(0x450))/0x5+parseInt(_0x5a88cc(0x18c))/0x6*(-parseInt(_0x5a88cc(0x22b))/0x7)+-parseInt(_0x5a88cc(0x1ad))/0x8+parseInt(_0x5a88cc(0x2d0))/0x9+parseInt(_0x5a88cc(0x27e))/0xa*(parseInt(_0x5a88cc(0x37d))/0xb);if(_0x2525ca===_0x5624aa)break;else _0x4880ee['push'](_0x4880ee['shift']());}catch(_0xecb375){_0x4880ee['push'](_0x4880ee['shift']());}}}(_0x20d1,0xf2656));var Ai=Object[_0x312368(0x326)],Pi=(_0x4c70d7,_0x5accb7,_0x1ae90e)=>_0x5accb7 in _0x4c70d7?Ai(_0x4c70d7,_0x5accb7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ae90e}):_0x4c70d7[_0x5accb7]=_0x1ae90e,N=(_0x57c701,_0x40330d,_0x15794e)=>Pi(_0x57c701,typeof _0x40330d!=_0x312368(0x462)?_0x40330d+'':_0x40330d,_0x15794e);import{createIdentifier as _0x1da268,Inject as _0x2586f2,Injector as _0x4c9895,IConfigService as _0xf309d1,ILogService as _0x44b611,Disposable as _0x2cbf3a,DisposableCollection as _0x1eb33a,toDisposable as _0x4e74b7,IUniverInstanceService as _0x453383,UserManagerService as _0x242c04,UniverInstanceType as _0x3c7b45,LocaleService as _0x16779f,Optional as _0x2e05d5,RxDisposable as _0x35e9dc,Tools as _0x184ef7,Rectangle as _0x278587,ICommandService as _0x2b8c90,JSONX as _0x3b7bfc,CommandType as _0x39b955,IUndoRedoService as _0x25581e,IPermissionService as _0x581021,sequenceExecute as _0x219307,Workbook as _0x320c6e,MentionType as _0x40ef48,isInternalEditorID as _0xcdafac,LocalUndoRedoService as _0x45c14c,IContextService as _0x2b4f8f,DependentOn as _0x382467,Plugin as _0x2e3440,merge as _0x8bbac5,mergeOverrideWithDependencies as _0x124018,IAuthzIoService as _0x5d0556,IMentionIOService as _0x523149,registerDependencies as _0xe87f62,Quantity as _0x1aaf5c,touchDependencies as _0x243365}from'@univerjs/core';import{Subject as _0x58101f,merge as _0x258385,of as _0x533bcd,BehaviorSubject as _0x3ad7f8,takeUntil as _0x1e6d6f,ReplaySubject as _0x190168,take as _0x37864f,map as _0x1674bb,shareReplay as _0x2e68c8,firstValueFrom as _0x26c3b2,concatMap as _0x4801de}from'rxjs';import{map as _0x4d6eb1,take as _0x3049fd,filter as _0xcaa7c8,delay as _0x5e1de8,takeUntil as _0x5f0519}from'rxjs/operators';import{CollaborationEvent as _0x223f92,ISnapshotServerService as _0x6748ef,parseChangesetToProtocol as _0x33e1f2,ITransformService as _0x3e764d,isTransformMutationsWithChangesetSuccess as _0x222ed6,mapDocumentTypeToUniverType as _0x3d52eb,RevisionService as _0x3b5bf2,isTransformChangesetsSuccess as _0x196765,CompressMutationService as _0x5a6ac8,parseProtocolChangeset as _0x1e53d7,SnapshotService as _0x7dea19,textEncoder as _0xb56b2a,b64DecodeUnicode as _0xdf6e89,isTransformMutationsWithChangesetFailure as _0x9f7388,UniverCollaborationPlugin as _0x361b32}from'@univerjs-pro/collaboration';import{HTTPService as _0x38beb7,ISocketService as _0xe74632,MergeInterceptorFactory as _0x57beb4,HTTPRequest as _0x27b250,UniverNetworkPlugin as _0xc21ea8,ThresholdInterceptorFactory as _0x2351f2}from'@univerjs/network';import{ITelemetryService as _0x14203d}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x14bd8f}from'@univerjs/docs';import{SheetsSelectionsService as _0x5544a5,SetSelectionsOperation as _0x2498a3,InsertSheetMutation as _0x40ff5b,EmptyMutation as _0x3616f2,WorkbookEditablePermission as _0x57cfe9,SheetPermissionInitController as _0x4b157d}from'@univerjs/sheets';import{ImageSourceType as _0x280444,ImageUploadStatusType as _0x301feb,IImageIoService as _0x4f3330}from'@univerjs/drawing';import{getGlobalObject as _0xa5deca}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x312368(0x44d),Sn=_0x312368(0x20e),xs='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x312368(0x211),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x312368(0x204),Cn=_0x312368(0x203),Rn=0x7530,mi=_0x312368(0x17f),gi=0x4e20,bn=0x4e20,yn=_0x312368(0x41f),On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn=_0x312368(0x309),Dn=_0x312368(0x2ad),Un=_0x312368(0x416),wn='/universer-api/oidc/authpage',$s=_0x312368(0x36d),Hs=_0x312368(0x3d8);var Si=(_0x37d94e=>(_0x37d94e[_0x37d94e[_0x312368(0x489)]=0x0]=_0x312368(0x489),_0x37d94e[_0x37d94e['OK']=0x1]='OK',_0x37d94e[_0x37d94e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x37d94e[_0x37d94e[_0x312368(0x488)]=0x3]=_0x312368(0x488),_0x37d94e[_0x37d94e[_0x312368(0x44b)]=0x4]='NOT_FOUND',_0x37d94e[_0x37d94e[_0x312368(0x379)]=0x5]=_0x312368(0x379),_0x37d94e[_0x37d94e[_0x312368(0x1ba)]=0x6]=_0x312368(0x1ba),_0x37d94e[_0x37d94e['INVALID_ARGUMENT']=0x7]=_0x312368(0x39e),_0x37d94e[_0x37d94e[_0x312368(0x182)]=0x8]=_0x312368(0x182),_0x37d94e[_0x37d94e[_0x312368(0x17e)]=0x9]=_0x312368(0x17e),_0x37d94e[_0x37d94e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x37d94e[_0x37d94e[_0x312368(0x24f)]=0x1389]=_0x312368(0x24f),_0x37d94e[_0x37d94e[_0x312368(0x2a1)]=0x1771]=_0x312368(0x2a1),_0x37d94e[_0x37d94e[_0x312368(0x396)]=0x1772]=_0x312368(0x396),_0x37d94e[_0x37d94e[_0x312368(0x3ad)]=0x1773]=_0x312368(0x3ad),_0x37d94e[_0x37d94e[_0x312368(0x2a7)]=0x1b59]=_0x312368(0x2a7),_0x37d94e[_0x37d94e[_0x312368(0x2c3)]=0x1b5a]=_0x312368(0x2c3),_0x37d94e[_0x37d94e[_0x312368(0x1ea)]=0x1b5b]=_0x312368(0x1ea),_0x37d94e[_0x37d94e[_0x312368(0x2b6)]=0x1b5c]=_0x312368(0x2b6),_0x37d94e[_0x37d94e['APPLY_DUPLICATED']=0x1b5d]=_0x312368(0x1ab),_0x37d94e[_0x37d94e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x312368(0x20f),_0x37d94e[_0x37d94e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x312368(0x207),_0x37d94e[_0x37d94e[_0x312368(0x36c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x37d94e[_0x37d94e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x312368(0x323),_0x37d94e[_0x37d94e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x312368(0x176),_0x37d94e[_0x37d94e[_0x312368(0x474)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x37d94e[_0x37d94e[_0x312368(0x23f)]=0x2711]=_0x312368(0x23f),_0x37d94e[_0x37d94e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x312368(0x208),_0x37d94e[_0x37d94e[_0x312368(0x1b0)]=0x2713]=_0x312368(0x1b0),_0x37d94e[_0x37d94e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x312368(0x482),_0x37d94e[_0x37d94e[_0x312368(0x3ee)]=0x2af9]=_0x312368(0x3ee),_0x37d94e[_0x37d94e[_0x312368(0x1c8)]=0x2ee1]=_0x312368(0x1c8),_0x37d94e[_0x37d94e[_0x312368(0x1bf)]=0x2ee2]=_0x312368(0x1bf),_0x37d94e[_0x37d94e[_0x312368(0x1d1)]=0x2ee3]=_0x312368(0x1d1),_0x37d94e[_0x37d94e[_0x312368(0x336)]=0x2ee4]=_0x312368(0x336),_0x37d94e[_0x37d94e[_0x312368(0x3f0)]=0x2ee5]=_0x312368(0x3f0),_0x37d94e[_0x37d94e[_0x312368(0x300)]=-0x1]=_0x312368(0x300),_0x37d94e))(Si||{}),Q=(_0xdb3d10=>(_0xdb3d10[_0xdb3d10[_0x312368(0x310)]=0x0]='UNIVER_UNKNOWN',_0xdb3d10[_0xdb3d10['UNIVER_DOC']=0x1]=_0x312368(0x419),_0xdb3d10[_0xdb3d10[_0x312368(0x42b)]=0x2]='UNIVER_SHEET',_0xdb3d10[_0xdb3d10[_0x312368(0x387)]=0x3]=_0x312368(0x387),_0xdb3d10[_0xdb3d10[_0x312368(0x2aa)]=0x4]='UNIVER_PROJECT',_0xdb3d10[_0xdb3d10[_0x312368(0x300)]=-0x1]=_0x312368(0x300),_0xdb3d10))(Q||{}),F=(_0x492f6a=>(_0x492f6a[_0x492f6a[_0x312368(0x1cb)]=0x0]='UNKNOWN_CMD',_0x492f6a[_0x492f6a[_0x312368(0x435)]=0x1]=_0x312368(0x435),_0x492f6a[_0x492f6a[_0x312368(0x2e2)]=0x2]=_0x312368(0x2e2),_0x492f6a[_0x492f6a['LEAVE']=0x3]='LEAVE',_0x492f6a[_0x492f6a[_0x312368(0x360)]=0x4]=_0x312368(0x360),_0x492f6a[_0x492f6a[_0x312368(0x2b1)]=0x5]=_0x312368(0x2b1),_0x492f6a[_0x492f6a[_0x312368(0x279)]=0x6]=_0x312368(0x279),_0x492f6a[_0x492f6a[_0x312368(0x300)]=-0x1]=_0x312368(0x300),_0x492f6a))(F||{}),ge=(_0x5d3878=>(_0x5d3878[_0x5d3878[_0x312368(0x27c)]=0x0]=_0x312368(0x27c),_0x5d3878[_0x5d3878['OK']=0x1]='OK',_0x5d3878[_0x5d3878[_0x312368(0x3c0)]=0x2]='FAIL',_0x5d3878[_0x5d3878[_0x312368(0x367)]=0x3e9]='JOIN_ROOM_FULL',_0x5d3878[_0x5d3878[_0x312368(0x430)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5d3878[_0x5d3878[_0x312368(0x18a)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5d3878[_0x5d3878[_0x312368(0x178)]=0x3ec]=_0x312368(0x178),_0x5d3878[_0x5d3878[_0x312368(0x300)]=-0x1]=_0x312368(0x300),_0x5d3878))(ge||{}),Ei=(_0x75138f=>(_0x75138f[_0x75138f[_0x312368(0x2c5)]=0x0]='Undefined',_0x75138f[_0x75138f[_0x312368(0x1d8)]=0x1]=_0x312368(0x1d8),_0x75138f[_0x75138f[_0x312368(0x37f)]=0x2]='HttpExport',_0x75138f[_0x75138f[_0x312368(0x1e6)]=0x3]=_0x312368(0x1e6),_0x75138f[_0x75138f[_0x312368(0x2ca)]=0x4]=_0x312368(0x2ca),_0x75138f[_0x75138f[_0x312368(0x300)]=-0x1]=_0x312368(0x300),_0x75138f))(Ei||{});const q=_0x312368(0x405),An={};var se=(_0x114dcc=>(_0x114dcc[_0x312368(0x3c5)]=_0x312368(0x3c5),_0x114dcc['PERMISSION_DENIED']='PERMISSION_DENIED',_0x114dcc[_0x312368(0x32b)]=_0x312368(0x32b),_0x114dcc['CLOSE_ROOM']=_0x312368(0x463),_0x114dcc[_0x312368(0x19f)]='JOIN_ROOM_FAILED',_0x114dcc['SOCKET_FAILED_RETRY']=_0x312368(0x295),_0x114dcc[_0x312368(0x239)]='SOCKET_FAILED',_0x114dcc[_0x312368(0x274)]=_0x312368(0x274),_0x114dcc))(se||{});class pe{constructor(){var _0x22ccba=_0x312368;N(this,_0x22ccba(0x36e),new _0x58101f()),N(this,_0x22ccba(0x3f6),this[_0x22ccba(0x36e)][_0x22ccba(0x45e)]());}[_0x312368(0x225)](_0x3dff58){var _0x54e034=_0x312368;this[_0x54e034(0x36e)][_0x54e034(0x282)](_0x3dff58);}}const Pn=_0x1da268(_0x312368(0x3b3));function xn(_0x116380){var _0x3dbd43=_0x312368,_0x57b0c4,_0x1f6fff,_0xd0c84f,_0x46e648,_0x3fc0ee;const _0x256127=_0x116380[_0x3dbd43(0x30b)],_0xd17be0=JSON[_0x3dbd43(0x305)](_0x256127);switch(_0xd17be0[_0x3dbd43(0x46e)]){case F[_0x3dbd43(0x2b1)]:case F['HELLO']:{const _0xa3d820=_0xd17be0[_0x3dbd43(0x321)];return{..._0xd17be0,'data':_0xa3d820,'cmd':_0xd17be0[_0x3dbd43(0x46e)]};}case F[_0x3dbd43(0x2e2)]:{const _0x59b1ba=_0xd17be0['joinRsp'];return{..._0xd17be0,'data':_0x59b1ba,'cmd':_0xd17be0[_0x3dbd43(0x46e)]};}case F[_0x3dbd43(0x279)]:{const _0x46cb16=_0xd17be0[_0x3dbd43(0x313)];switch(_0x46cb16['eventID']){case _0x223f92[_0x3dbd43(0x39f)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':(_0x57b0c4=_0x46cb16[_0x3dbd43(0x332)])==null?void 0x0:_0x57b0c4['cs']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x227)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':(_0x1f6fff=_0x46cb16[_0x3dbd43(0x407)])==null?void 0x0:_0x1f6fff['cs']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x41d)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':(_0xd0c84f=_0x46cb16[_0x3dbd43(0x181)])==null?void 0x0:_0xd0c84f['cs']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x35c)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':(_0x46e648=_0x46cb16[_0x3dbd43(0x2d7)])==null?void 0x0:_0x46e648['cs']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x365)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':(_0x3fc0ee=_0x46cb16[_0x3dbd43(0x2ef)])==null?void 0x0:_0x3fc0ee['cs']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x459)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x186)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x3a5)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x44e)]},'cmd':_0xd17be0['cmd']};case _0x223f92[_0x3dbd43(0x233)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x2a8)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x3f8)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x27b)]},'cmd':_0xd17be0['cmd']};case _0x223f92[_0x3dbd43(0x302)]:case _0x223f92[_0x3dbd43(0x479)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x3ed)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x3c1)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x27b)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x467)]:return{..._0xd17be0,'data':_0x46cb16,'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x3c7)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x24c)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x27a)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x477)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92['SHOULD_CLOSE_CONN']:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16[_0x3dbd43(0x17a)]},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};case _0x223f92[_0x3dbd43(0x347)]:return{..._0xd17be0,'data':{..._0x46cb16,'data':_0x46cb16['uniscriptRunEvent']},'cmd':_0xd17be0[_0x3dbd43(0x46e)]};default:return _0xd17be0;}}default:return _0xd17be0;}}function Ln(_0x1b2fdc){var _0x348f9f=_0x312368;switch(_0x1b2fdc[_0x348f9f(0x46e)]){case F[_0x348f9f(0x2b1)]:case F[_0x348f9f(0x435)]:return JSON[_0x348f9f(0x267)]({'cmd':_0x1b2fdc[_0x348f9f(0x46e)],'routeKey':_0x1b2fdc[_0x348f9f(0x458)]});case F[_0x348f9f(0x360)]:{let _0x1f050a;switch(_0x1b2fdc[_0x348f9f(0x30b)][_0x348f9f(0x1e1)]){case _0x223f92['UPDATE_CURSOR']:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x459)],'updateCursorEvent':_0x1b2fdc['data']['data']};break;}case _0x223f92[_0x348f9f(0x233)]:{_0x1f050a={'eventID':_0x223f92['USERS_LEAVE'],'leaveEvent':_0x1b2fdc[_0x348f9f(0x30b)][_0x348f9f(0x30b)]};break;}case _0x223f92['USERS_ENTER']:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x3a5)],'joinEvent':_0x1b2fdc[_0x348f9f(0x30b)][_0x348f9f(0x30b)]};break;}case _0x223f92[_0x348f9f(0x3f8)]:{_0x1f050a={'eventID':_0x223f92['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1b2fdc[_0x348f9f(0x30b)][_0x348f9f(0x30b)]};break;}case _0x223f92['LIVESHARE_OPERATION']:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x479)],'liveShareOperation':_0x1b2fdc['data']['data']};break;}case _0x223f92[_0x348f9f(0x3c1)]:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x3c1)],'liveShareTerminate':_0x1b2fdc[_0x348f9f(0x30b)]['data']};break;}case _0x223f92['LIVESHARE_REQUEST_HOST']:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x1a6)],'liveShareRequestHost':_0x1b2fdc[_0x348f9f(0x30b)][_0x348f9f(0x30b)]};break;}case _0x223f92['LIVESHARE_FETCH_OPERATIONS']:{_0x1f050a={'eventID':_0x223f92[_0x348f9f(0x302)]};break;}default:_0x1f050a={'eventID':_0x1b2fdc['data'][_0x348f9f(0x1e1)]};}return JSON[_0x348f9f(0x267)]({'cmd':_0x1b2fdc[_0x348f9f(0x46e)],'routeKey':_0x1b2fdc[_0x348f9f(0x458)],'collaMsg':_0x1f050a});}case F[_0x348f9f(0x2e2)]:return JSON[_0x348f9f(0x267)]({'cmd':_0x1b2fdc['cmd'],'routeKey':_0x1b2fdc[_0x348f9f(0x458)],'joinReq':_0x1b2fdc[_0x348f9f(0x30b)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x1b2fdc[_0x348f9f(0x46e)],'routeKey':_0x1b2fdc[_0x348f9f(0x458)],'leaveReq':_0x1b2fdc[_0x348f9f(0x30b)]});default:throw new Error(_0x348f9f(0x384));}}var Mn=Object[_0x312368(0x2e8)],kn=(_0x2a70ae,_0x448200,_0x311eb7,_0x40160e)=>{var _0x3e4eb0=_0x312368;for(var _0x3928d6=_0x40160e>0x1?void 0x0:_0x40160e?Mn(_0x448200,_0x311eb7):_0x448200,_0x4f79dd=_0x2a70ae[_0x3e4eb0(0x441)]-0x1,_0xa5ad5c;_0x4f79dd>=0x0;_0x4f79dd--)(_0xa5ad5c=_0x2a70ae[_0x4f79dd])&&(_0x3928d6=_0xa5ad5c(_0x3928d6)||_0x3928d6);return _0x3928d6;},we=(_0x26664,_0x334890)=>(_0x3cd39c,_0xab0070)=>_0x334890(_0x3cd39c,_0xab0070,_0x26664);const Ii=_0x1da268('univer-pro.collaboration-client-socket-service');function $n(_0xf65aee,_0x53c3cd,_0x3f7365){var _0x289ee8=_0x312368;return _0xf65aee+'/'+_0x53c3cd+_0x289ee8(0x189)+_0x3f7365+'/new_changes';}let Gt=class extends _0x2cbf3a{constructor(_0x5ce338,_0x5600ae,_0x5ac458,_0x56cd2b,_0x47716f){var _0x2e0d50=_0x312368;super(),this[_0x2e0d50(0x393)]=_0x5ce338,this[_0x2e0d50(0x262)]=_0x5600ae,this[_0x2e0d50(0x1d0)]=_0x5ac458,this[_0x2e0d50(0x28b)]=_0x56cd2b,this[_0x2e0d50(0x1ce)]=_0x47716f;}[_0x312368(0x299)](_0x55ba65){var _0x1ba6f1=_0x312368;const _0x3b6c3e=this['_injector'][_0x1ba6f1(0x31d)](_0xe74632);if(!_0x3b6c3e)throw new Error(_0x1ba6f1(0x2c9));const _0x405eb0=_0x3b6c3e[_0x1ba6f1(0x289)](_0x55ba65);if(!_0x405eb0)throw new Error(_0x1ba6f1(0x2dc));const _0x417a6c=new _0x1eb33a(),_0xcbc267=new _0x58101f();_0x417a6c[_0x1ba6f1(0x3ea)](_0x405eb0[_0x1ba6f1(0x278)][_0x1ba6f1(0x322)](_0x50e801=>_0xcbc267[_0x1ba6f1(0x282)](_0x50e801))),_0x417a6c[_0x1ba6f1(0x3ea)](_0x4e74b7(()=>_0xcbc267[_0x1ba6f1(0x47f)]()));const _0x2a40b1=new _0x58101f();_0x417a6c['add'](_0x405eb0['error$']['subscribe'](_0x387a16=>_0x2a40b1['next'](_0x387a16))),_0x417a6c[_0x1ba6f1(0x3ea)](_0x4e74b7(()=>_0x2a40b1[_0x1ba6f1(0x47f)]()));const _0x5cce8d=new _0x58101f();_0x417a6c[_0x1ba6f1(0x3ea)](_0x405eb0['message$']['subscribe'](_0x47690f=>{var _0x10de02=_0x1ba6f1;const _0x46701e=xn(_0x47690f);_0x5cce8d[_0x10de02(0x282)](_0x46701e);})),_0x417a6c[_0x1ba6f1(0x3ea)](_0x4e74b7(()=>_0x5cce8d[_0x1ba6f1(0x47f)]()));let _0xc7a924;const _0x59d85c=()=>{var _0x517975=_0x1ba6f1;_0x2a40b1[_0x517975(0x282)](new Event(_0x517975(0x32c))),_0xcbc267[_0x517975(0x282)](new Event(_0x517975(0x32c))),_0xc7a924[_0x517975(0x411)]();};return _0xc7a924={'memberID':'','close$':_0xcbc267[_0x1ba6f1(0x45e)](),'error$':_0x2a40b1[_0x1ba6f1(0x45e)](),'open$':_0x405eb0[_0x1ba6f1(0x231)],'message$':_0x5cce8d[_0x1ba6f1(0x45e)](),'send':_0xad1516=>{var _0x2da02a=_0x1ba6f1;if(_0xad1516[_0x2da02a(0x46e)]===F[_0x2da02a(0x360)]){if(_0xad1516['data'][_0x2da02a(0x1e1)]===_0x223f92[_0x2da02a(0x42e)]){this[_0x2da02a(0x29f)](_0xc7a924,_0xad1516[_0x2da02a(0x30b)])[_0x2da02a(0x229)](_0xc98a66=>{var _0x2f8917=_0x2da02a;this[_0x2f8917(0x28b)][_0x2f8917(0x17d)](_0xc98a66),_0x59d85c();});return;}if(_0xad1516[_0x2da02a(0x30b)][_0x2da02a(0x1e1)]===_0x223f92['FETCH_MISSING']){const _0x122c72=_0xad1516[_0x2da02a(0x30b)];this[_0x2da02a(0x432)](_0x122c72)[_0x2da02a(0x27f)](_0x4726ca=>{var _0x151406=_0x2da02a;_0x5cce8d[_0x151406(0x282)]({'cmd':F[_0x151406(0x279)],'code':ge['OK'],'routeKey':_0x122c72[_0x151406(0x30b)][_0x151406(0x2f8)],'routeType':'','data':{'eventID':_0x223f92[_0x151406(0x2b4)],'data':{'changesets':_0x4726ca}}});})['catch'](_0x202c28=>{var _0x5552a5=_0x2da02a;this[_0x5552a5(0x28b)][_0x5552a5(0x17d)](_0x202c28),_0x59d85c();});return;}}_0x405eb0[_0x2da02a(0x425)](Ln(_0xad1516));},'close':()=>{var _0x348bcb=_0x1ba6f1;_0x405eb0[_0x348bcb(0x411)](),_0x417a6c[_0x348bcb(0x1b6)]();}},_0xc7a924;}async[_0x312368(0x29f)](_0x21f4b2,_0x33b99c){var _0x4eb618=_0x312368,_0x5bd8eb,_0x12d5ea;const {unitType:_0x47fdce,unitID:_0x1ab2c9,changeset:_0x19eff4}=_0x33b99c[_0x4eb618(0x30b)],_0x2ae0b0={'unitID':_0x1ab2c9,'memberID':_0x21f4b2[_0x4eb618(0x38f)],'type':_0x47fdce,'changeset':_0x33e1f2(_0x19eff4)},_0x2353fc=this[_0x4eb618(0x1d0)][_0x4eb618(0x1ef)](Nn),_0x215da8=this[_0x4eb618(0x1d0)][_0x4eb618(0x1ef)](q),_0x5c4000=$n((_0x12d5ea=(_0x5bd8eb=_0x215da8==null?void 0x0:_0x215da8[_0x4eb618(0x29a)])!=null?_0x5bd8eb:_0x2353fc)!=null?_0x12d5ea:Dn,_0x47fdce,_0x1ab2c9);try{await this['_httpService']['post'](_0x5c4000,{'body':_0x2ae0b0});}catch(_0x2a7fad){throw this['_logService'][_0x4eb618(0x17d)]('[CollaborationSession]',_0x4eb618(0x44f)),_0x2a7fad;}}async[_0x312368(0x432)](_0x33cb7b){var _0x476180=_0x312368;const {unitID:_0x3311b4,from:_0x3dcf74,to:_0x2bdb9e,unitType:_0x96ecd3}=_0x33cb7b[_0x476180(0x30b)];return(await this[_0x476180(0x1ce)][_0x476180(0x386)]({'metadata':void 0x0},{'unitID':_0x3311b4,'type':_0x96ecd3,'from':_0x3dcf74,'to':_0x2bdb9e}))[_0x476180(0x1da)];}};Gt=kn([we(0x0,_0x2586f2(_0x4c9895)),we(0x1,_0x2586f2(_0x38beb7)),we(0x2,_0xf309d1),we(0x3,_0x44b611),we(0x4,_0x6748ef)],Gt);const Hn=_0x312368(0x34f);function Bn(_0x126ffa){var _0x4fa5b8=_0x312368;return JSON[_0x4fa5b8(0x267)](_0x126ffa)[_0x4fa5b8(0x441)];}class Ti{constructor(){var _0x7f7078=_0x312368;N(this,'_commentUpdate$',new _0x58101f()),N(this,'commentUpdate$',this[_0x7f7078(0x297)][_0x7f7078(0x45e)]());}[_0x312368(0x369)](_0x3a2fb6){var _0x29fd21=_0x312368;this[_0x29fd21(0x297)][_0x29fd21(0x282)](_0x3a2fb6);}}var jn=Object[_0x312368(0x2e8)],Fn=(_0x49eb28,_0xaae081,_0x43f291,_0x2e8d93)=>{for(var _0x2e88b5=_0x2e8d93>0x1?void 0x0:_0x2e8d93?jn(_0xaae081,_0x43f291):_0xaae081,_0x5d982d=_0x49eb28['length']-0x1,_0x3b3ae0;_0x5d982d>=0x0;_0x5d982d--)(_0x3b3ae0=_0x49eb28[_0x5d982d])&&(_0x2e88b5=_0x3b3ae0(_0x2e88b5)||_0x2e88b5);return _0x2e88b5;},Wt=(_0x3f2c47,_0x32cc8e)=>(_0x1e1a00,_0x5c47a1)=>_0x32cc8e(_0x1e1a00,_0x5c47a1,_0x3f2c47);let xe=class extends _0x2cbf3a{constructor(_0x59723a,_0x5cbbdf){var _0x31c3a8=_0x312368;super(),N(this,_0x31c3a8(0x26f),new Map()),N(this,_0x31c3a8(0x2da),new _0x58101f()),(this[_0x31c3a8(0x251)]=_0x59723a,this[_0x31c3a8(0x38d)]=_0x5cbbdf,this[_0x31c3a8(0x33a)](_0x258385(this['_univerInstanceService'][_0x31c3a8(0x45f)](_0x3c7b45[_0x31c3a8(0x42b)])[_0x31c3a8(0x1e4)](_0x4d6eb1(_0x5b5fae=>_0x5b5fae[_0x31c3a8(0x184)]())),this[_0x31c3a8(0x251)][_0x31c3a8(0x45f)](_0x3c7b45[_0x31c3a8(0x419)])[_0x31c3a8(0x1e4)](_0x4d6eb1(_0x5ee40b=>_0x5ee40b['getUnitId']())),this[_0x31c3a8(0x251)][_0x31c3a8(0x45f)](_0x3c7b45[_0x31c3a8(0x387)])['pipe'](_0x4d6eb1(_0x56d08f=>_0x56d08f['getUnitId']())))[_0x31c3a8(0x322)](_0x3d3646=>this[_0x31c3a8(0x3ae)](_0x3d3646))));}[_0x312368(0x370)](_0x575ac8){var _0x52022e=_0x312368;return this[_0x52022e(0x26f)][_0x52022e(0x428)](_0x575ac8)?_0x533bcd(this[_0x52022e(0x26f)][_0x52022e(0x31d)](_0x575ac8)):this['_roomCreated$'][_0x52022e(0x1e4)](_0x4d6eb1(_0x443d72=>{var _0x46b876=_0x52022e;if(_0x443d72===_0x575ac8)return this[_0x46b876(0x26f)][_0x46b876(0x31d)](_0x443d72);}));}[_0x312368(0x2f0)](_0x409e95){var _0x36fe41=_0x312368;this[_0x36fe41(0x38d)][_0x36fe41(0x2f0)](_0x409e95);}[_0x312368(0x2f2)](){var _0x23bee5=_0x312368;return this[_0x23bee5(0x38d)][_0x23bee5(0x2f2)]();}[_0x312368(0x3e0)](_0x469010,_0x475d69){var _0x321c9d=_0x312368;let _0x25bc85=this[_0x321c9d(0x26f)]['get'](_0x469010);_0x25bc85||(_0x25bc85=new Vn(),this[_0x321c9d(0x26f)][_0x321c9d(0x304)](_0x469010,_0x25bc85),this['_roomCreated$'][_0x321c9d(0x282)](_0x469010)),_0x25bc85[_0x321c9d(0x3e0)](_0x475d69);}['removeMember'](_0x4df287,_0x4e7c89){var _0x53b9ec=_0x312368;const _0x3bb8e4=this[_0x53b9ec(0x26f)][_0x53b9ec(0x31d)](_0x4df287);_0x3bb8e4&&_0x3bb8e4[_0x53b9ec(0x364)](_0x4e7c89);}[_0x312368(0x287)](_0x4fe2ce){var _0x279a1a=_0x312368;return this[_0x279a1a(0x26f)][_0x279a1a(0x31d)](_0x4fe2ce);}[_0x312368(0x331)](_0x6d360e,_0x2d9306){var _0x4f63f1=_0x312368;const _0x204798=this[_0x4f63f1(0x26f)][_0x4f63f1(0x31d)](_0x6d360e);if(_0x204798)return _0x204798['getMember'](_0x2d9306);}[_0x312368(0x3ae)](_0x5d3054){var _0x39cb1e=_0x312368;const _0x2a4eb9=this['_roomMembers'][_0x39cb1e(0x31d)](_0x5d3054);_0x2a4eb9&&(_0x2a4eb9['dispose'](),this[_0x39cb1e(0x26f)]['delete'](_0x5d3054));}['dispose'](){var _0x258068=_0x312368;this[_0x258068(0x26f)]['forEach'](_0x4d57ed=>_0x4d57ed['dispose']()),this[_0x258068(0x26f)][_0x258068(0x25b)](),this[_0x258068(0x2da)][_0x258068(0x47f)]();}};xe=Fn([Wt(0x0,_0x453383),Wt(0x1,_0x2586f2(_0x242c04))],xe);class Vn extends _0x2cbf3a{constructor(){var _0xf159b1=_0x312368;super(...arguments),N(this,'_members',new Map()),N(this,_0xf159b1(0x1e0),new _0x3ad7f8(this['_members'])),N(this,_0xf159b1(0x3dc),this['_members$'][_0xf159b1(0x45e)]());}[_0x312368(0x1b6)](){var _0x4ad565=_0x312368;this['_members'][_0x4ad565(0x25b)]();}[_0x312368(0x3e0)](_0xd31263){var _0x56321a=_0x312368;this['_members'][_0x56321a(0x304)](_0xd31263[_0x56321a(0x38f)],_0xd31263),this[_0x56321a(0x1c0)]();}[_0x312368(0x364)](_0x36af05){var _0x2fc26a=_0x312368;this[_0x2fc26a(0x35d)][_0x2fc26a(0x21b)](_0x36af05);}[_0x312368(0x331)](_0x1d7768){var _0x32e8a1=_0x312368;return this[_0x32e8a1(0x35d)][_0x32e8a1(0x31d)](_0x1d7768);}['getAllMembers'](){var _0xac4761=_0x312368;return Array['from'](this[_0xac4761(0x35d)][_0xac4761(0x378)]());}[_0x312368(0x1c0)](){var _0x29013a=_0x312368;this[_0x29013a(0x1e0)]['next'](this[_0x29013a(0x35d)]);}}var Gn=Object[_0x312368(0x2e8)],Wn=(_0x26f91b,_0x546681,_0x1d9611,_0x3b4185)=>{var _0x340830=_0x312368;for(var _0x2857b6=_0x3b4185>0x1?void 0x0:_0x3b4185?Gn(_0x546681,_0x1d9611):_0x546681,_0x2fe4c4=_0x26f91b[_0x340830(0x441)]-0x1,_0x26815e;_0x2fe4c4>=0x0;_0x2fe4c4--)(_0x26815e=_0x26f91b[_0x2fe4c4])&&(_0x2857b6=_0x26815e(_0x2857b6)||_0x2857b6);return _0x2857b6;},me=(_0x5a8c90,_0x48dd3c)=>(_0x1cec4e,_0x1963d5)=>_0x48dd3c(_0x1cec4e,_0x1963d5,_0x5a8c90),Ee=(_0x3d6007=>(_0x3d6007[_0x3d6007['IDLE']=0x0]='IDLE',_0x3d6007[_0x3d6007[_0x312368(0x316)]=0x1]='JOINING',_0x3d6007[_0x3d6007[_0x312368(0x42a)]=0x2]=_0x312368(0x42a),_0x3d6007[_0x3d6007[_0x312368(0x29c)]=0x3]=_0x312368(0x29c),_0x3d6007))(Ee||{});const Kt={[ge['FAIL']]:_0x312368(0x1fb),[ge[_0x312368(0x367)]]:_0x312368(0x2df),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x312368(0x206),[ge[_0x312368(0x18a)]]:_0x312368(0x3c3),[ge[_0x312368(0x178)]]:_0x312368(0x34e)};let Et=class extends _0x35e9dc{constructor(_0x6cbec4,_0x3b177a,_0x49881d,_0x5ac4f2,_0x3cf17e,_0x1e2967,_0x35225a,_0x18628f,_0x372a73){var _0x321596=_0x312368;super(),N(this,_0x321596(0x250),new _0x3ad7f8(0x0)),N(this,_0x321596(0x315),this[_0x321596(0x250)][_0x321596(0x45e)]()),N(this,_0x321596(0x36e),new _0x58101f()),N(this,_0x321596(0x3f6),this[_0x321596(0x36e)][_0x321596(0x45e)]()),N(this,_0x321596(0x46f)),N(this,_0x321596(0x2b8)),N(this,_0x321596(0x3b4)),N(this,_0x321596(0x219),!0x1),N(this,_0x321596(0x48d),null),(this[_0x321596(0x2bf)]=_0x6cbec4,this[_0x321596(0x28b)]=_0x49881d,this[_0x321596(0x1d0)]=_0x5ac4f2,this[_0x321596(0x401)]=_0x3cf17e,this[_0x321596(0x31f)]=_0x1e2967,this['_commentService']=_0x35225a,this['_collaborationUIEventService']=_0x18628f,this['_telemetryService']=_0x372a73,this['_shouldReportTelemetry']=!!this[_0x321596(0x48a)],_0x3b177a['pipe'](_0x1e6d6f(this['dispose$']))['subscribe'](_0xc6d9dd=>{var _0xec3cd4=_0x321596,_0x126d5c;typeof _0xc6d9dd>'u'||(this[_0xec3cd4(0x46f)]=_0xc6d9dd,_0xc6d9dd?(this['_joinRoom'](_0xc6d9dd),this[_0xec3cd4(0x2b8)]=_0xc6d9dd[_0xec3cd4(0x362)][_0xec3cd4(0x322)](_0x2ebe2d=>{var _0x1e2681=_0xec3cd4;_0x2ebe2d[_0x1e2681(0x458)]===this[_0x1e2681(0x2bf)]&&this[_0x1e2681(0x3d2)](_0x2ebe2d);})):(this[_0xec3cd4(0x256)](),this[_0xec3cd4(0x250)][_0xec3cd4(0x282)](0x2),(_0x126d5c=this[_0xec3cd4(0x2b8)])==null||_0x126d5c[_0xec3cd4(0x303)](),this[_0xec3cd4(0x2b8)]=null));}));}get[_0x312368(0x1a9)](){var _0x51cd33=_0x312368;return this[_0x51cd33(0x250)][_0x51cd33(0x460)]();}[_0x312368(0x2bb)](){var _0x2c9f6b,_0x3fe613;return(_0x3fe613=(_0x2c9f6b=this['_socket'])==null?void 0x0:_0x2c9f6b['memberID'])!=null?_0x3fe613:null;}[_0x312368(0x1b6)](){var _0x5ad110=_0x312368;super[_0x5ad110(0x1b6)](),this[_0x5ad110(0x1c7)][_0x5ad110(0x282)](),this[_0x5ad110(0x1c7)][_0x5ad110(0x47f)]();}[_0x312368(0x411)](){var _0x289d90=_0x312368,_0x3bd123,_0x51b004;this[_0x289d90(0x256)](),(_0x3bd123=this[_0x289d90(0x46f)])==null||_0x3bd123[_0x289d90(0x425)]({'cmd':F[_0x289d90(0x324)],'data':{'roomID':this[_0x289d90(0x2bf)]}}),(_0x51b004=this['_socket'])==null||_0x51b004[_0x289d90(0x411)](),this['_event$'][_0x289d90(0x47f)](),this['_sessionStatus$'][_0x289d90(0x47f)](),this['dispose']();}['_onCombEvent'](_0x1dd8e0){var _0x6d7884=_0x312368;_0x1dd8e0[_0x6d7884(0x46e)]===F['JOIN']?this['_onJoinRoomEvent'](_0x1dd8e0):_0x1dd8e0[_0x6d7884(0x46e)]===F[_0x6d7884(0x279)]&&this['_onRecvEvent'](_0x1dd8e0);}[_0x312368(0x1b2)](_0x5d1100){var _0x3c24f9=_0x312368;this['_sessionStatus$'][_0x3c24f9(0x282)](0x1),_0x5d1100[_0x3c24f9(0x425)]({'cmd':F['JOIN'],'routeKey':this[_0x3c24f9(0x2bf)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c24f9(0x2bf)]}]}});}[_0x312368(0x352)](_0x1f2dbb){var _0x24ffa4=_0x312368,_0x4e8e24;if(_0x1f2dbb['code']in Kt){this[_0x24ffa4(0x1c2)][_0x24ffa4(0x225)]({'id':se[_0x24ffa4(0x19f)],'data':Kt[_0x1f2dbb['code']]}),this[_0x24ffa4(0x250)][_0x24ffa4(0x282)](0x2);return;}this['_sessionStatus$'][_0x24ffa4(0x282)](0x3);const _0x1676e6=(_0x4e8e24=_0x1f2dbb[_0x24ffa4(0x30b)][_0x24ffa4(0x3fe)][this[_0x24ffa4(0x2bf)]])==null?void 0x0:_0x4e8e24[_0x24ffa4(0x301)];_0x1676e6&&_0x1676e6[_0x24ffa4(0x46d)](_0x2a5830=>this[_0x24ffa4(0x31f)][_0x24ffa4(0x3e0)](this[_0x24ffa4(0x2bf)],_0x2a5830));}[_0x312368(0x21d)](_0x5b9ada){var _0xf89b0b=_0x312368;try{const _0x4ca365=_0x5b9ada[_0xf89b0b(0x30b)];switch(_0x4ca365[_0xf89b0b(0x1e1)]){case _0x223f92['USERS_ENTER']:this['_onUserJoin'](_0x4ca365),this[_0xf89b0b(0x36e)][_0xf89b0b(0x282)](_0x4ca365);break;case _0x223f92[_0xf89b0b(0x233)]:this['_onUserLeave'](_0x4ca365),this['_event$'][_0xf89b0b(0x282)](_0x4ca365);break;case _0x223f92[_0xf89b0b(0x227)]:case _0x223f92['CHANGESET_SHOULD_RETRY']:this[_0xf89b0b(0x33d)](),this[_0xf89b0b(0x3af)](),this[_0xf89b0b(0x36e)][_0xf89b0b(0x282)](_0x4ca365);break;case _0x223f92[_0xf89b0b(0x467)]:this[_0xf89b0b(0x28b)]['error'](_0xf89b0b(0x41a)+JSON[_0xf89b0b(0x267)](_0x4ca365)),this['_event$'][_0xf89b0b(0x282)](_0x4ca365);break;case _0x223f92[_0xf89b0b(0x3c7)]:this[_0xf89b0b(0x3f5)]['onCommentUpdate'](_0x4ca365[_0xf89b0b(0x30b)]),this[_0xf89b0b(0x36e)][_0xf89b0b(0x282)](_0x4ca365);break;default:this[_0xf89b0b(0x36e)][_0xf89b0b(0x282)](_0x4ca365);}}catch(_0x407122){this[_0xf89b0b(0x28b)][_0xf89b0b(0x17d)](_0x407122,_0x5b9ada);}}[_0x312368(0x21e)](_0x56818a){var _0x463fdc=_0x312368;this[_0x463fdc(0x31f)][_0x463fdc(0x3e0)](this[_0x463fdc(0x2bf)],_0x56818a[_0x463fdc(0x30b)]);}[_0x312368(0x470)](_0x47a46e){var _0x18349a=_0x312368;this[_0x18349a(0x31f)][_0x18349a(0x364)](this[_0x18349a(0x2bf)],_0x47a46e[_0x18349a(0x30b)][_0x18349a(0x38f)]);}async[_0x312368(0x425)](_0xef3150,_0xdacbbd){var _0x449c87=_0x312368;if(this[_0x449c87(0x1a9)]!==0x3||!this[_0x449c87(0x46f)])throw new Error(_0x449c87(0x258));try{_0xef3150[_0x449c87(0x1e1)]===_0x223f92['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0xef3150)),this[_0x449c87(0x46f)][_0x449c87(0x425)]({'cmd':F[_0x449c87(0x360)],'routeKey':_0xdacbbd,'routeType':'','data':_0xef3150});}catch(_0x557d47){this[_0x449c87(0x28b)][_0x449c87(0x17d)](_0x557d47);}}[_0x312368(0x25a)](){var _0x4d2110=_0x312368,_0x14e8da;this[_0x4d2110(0x3b4)]=setTimeout(()=>{var _0x51f193=_0x4d2110;this['_collaborationTimeoutTimer']=null,this[_0x51f193(0x1c2)]['emitEvent']({'id':se[_0x51f193(0x274)]});},(_0x14e8da=this[_0x4d2110(0x1d0)]['getConfig'](mi))!=null?_0x14e8da:gi);}[_0x312368(0x3af)](){var _0x290f47=_0x312368;this[_0x290f47(0x3b4)]&&(clearTimeout(this[_0x290f47(0x3b4)]),this['_collaborationTimeoutTimer']=null);}[_0x312368(0x29b)](_0x3e638c){var _0x2cc2ce=_0x312368;if(!this[_0x2cc2ce(0x219)])return;const {data:_0x1f334d}=_0x3e638c,{unitID:_0x2e5b34,changeset:_0x5cc801}=_0x1f334d,{mutations:_0x2e750b,type:_0x597f00}=_0x5cc801;this[_0x2cc2ce(0x48d)]={'unitId':_0x2e5b34,'type':_0x597f00,'startTime':performance[_0x2cc2ce(0x355)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x2e750b)};}[_0x312368(0x33d)](){var _0x32a1d6=_0x312368;if(this['_shouldReportTelemetry']){if(!this[_0x32a1d6(0x48d)]){this[_0x32a1d6(0x28b)][_0x32a1d6(0x17d)](_0x32a1d6(0x319),_0x32a1d6(0x28c));return;}this['_telemetryInfo']['stopTime']=performance[_0x32a1d6(0x355)](),this[_0x32a1d6(0x48d)][_0x32a1d6(0x216)]=this[_0x32a1d6(0x48d)]['stopTime']-this[_0x32a1d6(0x48d)][_0x32a1d6(0x2b7)],this[_0x32a1d6(0x48a)][_0x32a1d6(0x2ff)](Hn,this[_0x32a1d6(0x48d)]),this[_0x32a1d6(0x48d)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x932a2d=_0x312368;this[_0x932a2d(0x48d)]=null;}};Et=Wn([me(0x2,_0x44b611),me(0x3,_0xf309d1),me(0x4,_0x2586f2(_0x16779f)),me(0x5,_0x2586f2(xe)),me(0x6,_0x2586f2(Ti)),me(0x7,_0x2586f2(pe)),me(0x8,_0x2e05d5(_0x14203d))],Et);var Kn=Object[_0x312368(0x2e8)],Yn=(_0x1dc97e,_0x31c430,_0x221c10,_0x283f91)=>{var _0x4494e4=_0x312368;for(var _0x12502f=_0x283f91>0x1?void 0x0:_0x283f91?Kn(_0x31c430,_0x221c10):_0x31c430,_0x5ecefb=_0x1dc97e[_0x4494e4(0x441)]-0x1,_0x3ab1b4;_0x5ecefb>=0x0;_0x5ecefb--)(_0x3ab1b4=_0x1dc97e[_0x5ecefb])&&(_0x12502f=_0x3ab1b4(_0x12502f)||_0x12502f);return _0x12502f;},be=(_0xa06d9a,_0x57b258)=>(_0x23d3eb,_0x212c7f)=>_0x57b258(_0x23d3eb,_0x212c7f,_0xa06d9a);let Le=class extends _0x2cbf3a{constructor(_0x2223db,_0x4f662b,_0x4c3b6b,_0x593f33,_0x4b4d61,_0x5cbf84){var _0x3fc1e9=_0x312368;super(),N(this,_0x3fc1e9(0x329),new _0x3ad7f8(void 0x0)),N(this,_0x3fc1e9(0x1c4),this['_socket$'][_0x3fc1e9(0x45e)]()),N(this,_0x3fc1e9(0x3f4),null),N(this,_0x3fc1e9(0x25f),new Map()),N(this,_0x3fc1e9(0x33c),new _0x3ad7f8(Ee[_0x3fc1e9(0x28a)])),N(this,'status$',this[_0x3fc1e9(0x33c)]['asObservable']()),N(this,_0x3fc1e9(0x47b),!0x1),N(this,_0x3fc1e9(0x35e)),N(this,'_retryCount',0x0),N(this,_0x3fc1e9(0x44c)),N(this,_0x3fc1e9(0x2c6)),(this['_injector']=_0x2223db,this[_0x3fc1e9(0x28b)]=_0x4f662b,this[_0x3fc1e9(0x1d0)]=_0x4c3b6b,this['_socketService']=_0x593f33,this['_collaborationUIEventService']=_0x4b4d61,this[_0x3fc1e9(0x223)]=_0x5cbf84,this[_0x3fc1e9(0x3c4)]());}get[_0x312368(0x46f)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x2b55e9=_0x312368;this[_0x2b55e9(0x223)]&&this['disposeWithMe'](this[_0x2b55e9(0x223)][_0x2b55e9(0x31c)][_0x2b55e9(0x322)](_0x452c17=>{var _0x3d1808=_0x2b55e9;_0x452c17&&!this[_0x3d1808(0x46f)]&&this[_0x3d1808(0x372)](),_0x452c17||this[_0x3d1808(0x418)]();}));}[_0x312368(0x1b6)](){var _0x33d382=_0x312368;super[_0x33d382(0x1b6)](),this[_0x33d382(0x318)](),this['_clearTimeoutTimer'](),this[_0x33d382(0x327)](),this[_0x33d382(0x25f)][_0x33d382(0x46d)](_0x292fc9=>_0x292fc9[_0x33d382(0x1b6)]()),this[_0x33d382(0x25f)][_0x33d382(0x25b)](),this[_0x33d382(0x33c)][_0x33d382(0x47f)]();}async[_0x312368(0x1ca)](_0x67ee05){var _0x2e9084=_0x312368;if(this[_0x2e9084(0x25f)][_0x2e9084(0x428)](_0x67ee05))return this[_0x2e9084(0x25f)][_0x2e9084(0x31d)](_0x67ee05);this[_0x2e9084(0x22c)]();const _0x310361=this[_0x2e9084(0x393)]['createInstance'](Et,_0x67ee05,this[_0x2e9084(0x329)]['asObservable']());return this[_0x2e9084(0x25f)][_0x2e9084(0x304)](_0x67ee05,_0x310361),_0x310361;}[_0x312368(0x3d9)](_0x2baa83){var _0x4363b1=_0x312368,_0x31bbdb;const _0x348245=this[_0x4363b1(0x25f)][_0x4363b1(0x31d)](_0x2baa83);_0x348245&&(this[_0x4363b1(0x25f)][_0x4363b1(0x21b)](_0x2baa83),_0x348245[_0x4363b1(0x411)]()),this[_0x4363b1(0x25f)]['size']||(_0x31bbdb=this[_0x4363b1(0x46f)])==null||_0x31bbdb['close']();}['reconnect'](){var _0x378ad6=_0x312368;this[_0x378ad6(0x373)]=0x0,this[_0x378ad6(0x318)](),this[_0x378ad6(0x29d)]();}[_0x312368(0x318)](){var _0x257c33=_0x312368;this[_0x257c33(0x35e)]!=null&&(clearTimeout(this[_0x257c33(0x35e)]),this[_0x257c33(0x35e)]=null);}async[_0x312368(0x2cb)](){var _0x4023e4=_0x312368,_0x524691,_0x4322e4;const _0x498aeb=this['_configService'][_0x4023e4(0x1ef)](In),_0x1fd991=this['_configService'][_0x4023e4(0x1ef)](q),_0x3b2121=(_0x4322e4=(_0x524691=_0x1fd991==null?void 0x0:_0x1fd991['collabWebSocketUrl'])!=null?_0x524691:_0x498aeb)!=null?_0x4322e4:Tn,_0x3da5cb=await this[_0x4023e4(0x1e3)][_0x4023e4(0x289)](_0x3b2121);return this['_candidateSocket']=_0x3da5cb,_0x3da5cb;}async[_0x312368(0x22c)](){var _0x451454=_0x312368,_0x181263,_0x5cc078;try{const _0x263070=(_0x5cc078=(_0x181263=this[_0x451454(0x46f)])!=null?_0x181263:this[_0x451454(0x3f4)])!=null?_0x5cc078:await this[_0x451454(0x2cb)]();if(_0x263070){const _0x4896ce=_0x263070[_0x451454(0x425)];_0x263070[_0x451454(0x425)]=_0xd4b466=>(this['_rescheduleHeartbeat'](),_0x4896ce[_0x451454(0x1db)](_0x263070,[_0xd4b466])),_0x263070[_0x451454(0x362)][_0x451454(0x322)](_0x57ff61=>this[_0x451454(0x19a)](_0x263070,_0x57ff61)),_0x263070['error$']['pipe'](_0x3049fd(0x1))['subscribe'](_0xca3fd7=>this[_0x451454(0x28b)][_0x451454(0x17d)](_0x451454(0x2f5),_0xca3fd7)),_0x263070[_0x451454(0x231)][_0x451454(0x1e4)](_0x3049fd(0x1))['subscribe'](()=>{var _0x3e647c=_0x451454;this[_0x3e647c(0x375)](_0x263070);}),_0x263070[_0x451454(0x278)][_0x451454(0x1e4)](_0x3049fd(0x1))[_0x451454(0x322)](_0x2f85ec=>{var _0x2c8881=_0x451454;this[_0x2c8881(0x28b)][_0x2c8881(0x454)](_0x2c8881(0x1c6),_0x2c8881(0x446),_0x2f85ec),this['_onConnectionFailed']();});}}catch(_0x44eeda){this['_logService'][_0x451454(0x17d)](_0x44eeda),this[_0x451454(0x197)]();}}[_0x312368(0x375)](_0x181cb1){var _0x5d0ba1=_0x312368;this[_0x5d0ba1(0x28b)][_0x5d0ba1(0x454)](_0x5d0ba1(0x1c6),_0x5d0ba1(0x2cf)),_0x181cb1[_0x5d0ba1(0x425)]({'cmd':F[_0x5d0ba1(0x435)]}),this['_rescheduleHeartbeat']();}[_0x312368(0x418)](){var _0x2eb1cd=_0x312368;this['_socketReady']=!0x1,this[_0x2eb1cd(0x3f4)]=null,this[_0x2eb1cd(0x33c)][_0x2eb1cd(0x282)](Ee['OFFLINE']),this[_0x2eb1cd(0x329)][_0x2eb1cd(0x282)](null),this[_0x2eb1cd(0x47e)](),this[_0x2eb1cd(0x327)]();}[_0x312368(0x197)](){var _0x5d7a52=_0x312368,_0xc95029;this['_onOffline'](),this[_0x5d7a52(0x373)]<((_0xc95029=this[_0x5d7a52(0x1d0)][_0x5d7a52(0x1ef)](yn))!=null?_0xc95029:On)?(this[_0x5d7a52(0x1c2)][_0x5d7a52(0x225)]({'id':se[_0x5d7a52(0x295)]}),this[_0x5d7a52(0x29d)]()):this[_0x5d7a52(0x1c2)][_0x5d7a52(0x225)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x1a84a9=_0x312368,_0x46a55b;const _0x33e384=this['_retryCount'],_0x132243=this[_0x1a84a9(0x1d0)]['getConfig'](q),_0x1971cf=_0x33e384===0x0?0x0:((_0x46a55b=_0x132243==null?void 0x0:_0x132243[_0x1a84a9(0x412)])!=null?_0x46a55b:bn)*0x2**_0x33e384;this[_0x1a84a9(0x35e)]=setTimeout(()=>{var _0x422dac=_0x1a84a9;clearTimeout(this[_0x422dac(0x35e)]),this['_retryConnectingTimer']=null,this[_0x422dac(0x22c)]();},_0x1971cf),this[_0x1a84a9(0x373)]+=0x1;}[_0x312368(0x19a)](_0x52675b,_0x3c35ad){var _0x4571b1=_0x312368;const {cmd:_0x3079d9}=_0x3c35ad;_0x3079d9===F['HELLO']&&!this['_socketReady']&&(_0x52675b[_0x4571b1(0x38f)]=_0x3c35ad[_0x4571b1(0x30b)][_0x4571b1(0x38f)],this[_0x4571b1(0x329)]['next'](_0x52675b),this[_0x4571b1(0x33c)]['next'](Ee[_0x4571b1(0x29c)]),this['_socketReady']=!0x0,this[_0x4571b1(0x3f4)]=null),_0x3079d9===F[_0x4571b1(0x2b1)]&&this['_clearTimeoutTimer'](),this[_0x4571b1(0x1a0)]();}[_0x312368(0x1a0)](){var _0x28e354=_0x312368,_0x2089ff;this[_0x28e354(0x327)](),this[_0x28e354(0x44c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2089ff=this[_0x28e354(0x1d0)]['getConfig'](Cn))!=null?_0x2089ff:Rn);}[_0x312368(0x394)](){var _0x5bc997=_0x312368;this[_0x5bc997(0x46f)][_0x5bc997(0x425)]({'cmd':F['HEARTBEAT']}),this[_0x5bc997(0x1e5)]();}[_0x312368(0x1e5)](){var _0x311426=_0x312368,_0x25bdb6;this[_0x311426(0x2c6)]=setTimeout(()=>this[_0x311426(0x197)](),(_0x25bdb6=this[_0x311426(0x1d0)][_0x311426(0x1ef)](mi))!=null?_0x25bdb6:gi);}[_0x312368(0x327)](){var _0x378bbf=_0x312368;this[_0x378bbf(0x44c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x378bbf(0x44c)]=null);}[_0x312368(0x47e)](){var _0xe642de=_0x312368;this[_0xe642de(0x2c6)]!=null&&(clearTimeout(this[_0xe642de(0x2c6)]),this['_timeoutTimer']=null);}};Le=Yn([be(0x0,_0x2586f2(_0x4c9895)),be(0x1,_0x44b611),be(0x2,_0xf309d1),be(0x3,Ii),be(0x4,_0x2586f2(pe)),be(0x5,_0x2e05d5(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x312368(0x351)]((t+0x100)[_0x312368(0x42c)](0x10)['slice'](0x1));function qn(_0x1b6c7a,_0x37c60e=0x0){return(V[_0x1b6c7a[_0x37c60e+0x0]]+V[_0x1b6c7a[_0x37c60e+0x1]]+V[_0x1b6c7a[_0x37c60e+0x2]]+V[_0x1b6c7a[_0x37c60e+0x3]]+'-'+V[_0x1b6c7a[_0x37c60e+0x4]]+V[_0x1b6c7a[_0x37c60e+0x5]]+'-'+V[_0x1b6c7a[_0x37c60e+0x6]]+V[_0x1b6c7a[_0x37c60e+0x7]]+'-'+V[_0x1b6c7a[_0x37c60e+0x8]]+V[_0x1b6c7a[_0x37c60e+0x9]]+'-'+V[_0x1b6c7a[_0x37c60e+0xa]]+V[_0x1b6c7a[_0x37c60e+0xb]]+V[_0x1b6c7a[_0x37c60e+0xc]]+V[_0x1b6c7a[_0x37c60e+0xd]]+V[_0x1b6c7a[_0x37c60e+0xe]]+V[_0x1b6c7a[_0x37c60e+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3b7ab3=_0x312368;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b7ab3(0x422)])throw new Error(_0x3b7ab3(0x272));ut=crypto[_0x3b7ab3(0x422)][_0x3b7ab3(0x26a)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x312368(0x22e)]&&crypto[_0x312368(0x22e)][_0x312368(0x26a)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1f3413,_0x59f9e5,_0x51b277){var _0x4d02a7=_0x312368,_0x58db47,_0x231ccf,_0x1614a3;if(Yt[_0x4d02a7(0x22e)]&&!_0x1f3413)return Yt['randomUUID']();_0x1f3413=_0x1f3413||{};const _0x5eed5b=(_0x1614a3=(_0x231ccf=_0x1f3413['random'])!=null?_0x231ccf:(_0x58db47=_0x1f3413[_0x4d02a7(0x3cf)])==null?void 0x0:_0x58db47[_0x4d02a7(0x35b)](_0x1f3413))!=null?_0x1614a3:Jn();if(_0x5eed5b[_0x4d02a7(0x441)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5eed5b[0x6]=_0x5eed5b[0x6]&0xf|0x40,_0x5eed5b[0x8]=_0x5eed5b[0x8]&0x3f|0x80,qn(_0x5eed5b);}const J=_0x1da268(_0x312368(0x38a));function Bs(_0x548979){var _0x3972b8=_0x312368;return _0x3972b8(0x21f)+_0x548979;}var Qn=Object[_0x312368(0x2e8)],er=(_0x204aa7,_0xc0d484,_0x32f2df,_0x425916)=>{for(var _0x100a39=_0x425916>0x1?void 0x0:_0x425916?Qn(_0xc0d484,_0x32f2df):_0xc0d484,_0x2e8f59=_0x204aa7['length']-0x1,_0x2b8356;_0x2e8f59>=0x0;_0x2e8f59--)(_0x2b8356=_0x204aa7[_0x2e8f59])&&(_0x100a39=_0x2b8356(_0x100a39)||_0x100a39);return _0x100a39;},dt=(_0x4fe727,_0x4cd77d)=>(_0x44f63a,_0x27cfe9)=>_0x4cd77d(_0x44f63a,_0x27cfe9,_0x4fe727);function tr(_0x5a6cd1){var _0x3b6651=_0x312368;const {unitID:_0x2945de,mutations:_0x1fc1ec}=_0x5a6cd1;return{'unitId':_0x2945de,'subUnitId':_0x1fc1ec[0x0][_0x3b6651(0x371)][_0x3b6651(0x2eb)]};}let it=class{constructor(_0x1b86a4,_0x398e52,_0x3a9e3e){var _0xc5fceb=_0x312368;this[_0xc5fceb(0x393)]=_0x1b86a4,this[_0xc5fceb(0x2bc)]=_0x398e52,this['_instanceService']=_0x3a9e3e;}['transformSelections'](_0x272dc4){var _0x2c00c6=_0x312368,_0x5a3e6f,_0x2729c4,_0x2cd05a,_0x3da392;const _0x566b4f=this['_injector'][_0x2c00c6(0x31d)](_0x5544a5),{unitId:_0x565ec6,subUnitId:_0xd0e5f3}=tr(_0x272dc4),_0x4a6197=_0x566b4f==null?void 0x0:_0x566b4f['getWorkbookSelections'](_0x565ec6)['getCurrentSelections'](),_0x5cf2e3=(_0x2729c4=(_0x5a3e6f=this[_0x2c00c6(0x215)][_0x2c00c6(0x330)](_0x565ec6))==null?void 0x0:_0x5a3e6f['getActiveSheet']())==null?void 0x0:_0x2729c4[_0x2c00c6(0x198)]();if(_0x4a6197[_0x2c00c6(0x441)]===0x0||!_0x565ec6||!_0xd0e5f3)return;const _0xde6192=[{'id':_0x2498a3['id'],'params':{'unitId':_0x565ec6,'subUnitId':_0x5cf2e3,'selections':_0x184ef7[_0x2c00c6(0x3ce)](_0x4a6197)}}],_0x1a65c0=this[_0x2c00c6(0x2bc)][_0x2c00c6(0x1ec)](_0x272dc4,_0xde6192);if(!_0x222ed6(_0x1a65c0))throw _0x1a65c0['error'];const _0x46879d=(_0x3da392=(_0x2cd05a=_0x1a65c0['m2Prime'][0x0])==null?void 0x0:_0x2cd05a[_0x2c00c6(0x371)])==null?void 0x0:_0x3da392[_0x2c00c6(0x18f)];if(Array[_0x2c00c6(0x3e5)](_0x46879d)&&_0x46879d[_0x2c00c6(0x441)]){if(_0x46879d[_0x2c00c6(0x441)]===_0xde6192[0x0][_0x2c00c6(0x371)][_0x2c00c6(0x18f)]['length']&&_0x46879d[_0x2c00c6(0x1f1)]((_0x4d7321,_0x39a63c)=>_0x278587[_0x2c00c6(0x480)](_0x4d7321[_0x2c00c6(0x376)],_0xde6192[0x0][_0x2c00c6(0x371)][_0x2c00c6(0x18f)][_0x39a63c][_0x2c00c6(0x376)])))return;this[_0x2c00c6(0x393)][_0x2c00c6(0x31d)](_0x2b8c90)[_0x2c00c6(0x359)](_0x2498a3['id'],{'unitId':_0x565ec6,'subUnitId':_0x5cf2e3,'selections':_0x46879d});}}};it=er([dt(0x0,_0x2586f2(_0x4c9895)),dt(0x1,_0x3e764d),dt(0x2,_0x453383)],it);const ht=_0x1da268(_0x312368(0x3c8));var Ci=(_0x66f021=>(_0x66f021[_0x66f021[_0x312368(0x1be)]=0x0]=_0x312368(0x1be),_0x66f021[_0x66f021['OTHER_CLIENTS_EDITING']=0x1]=_0x312368(0x2e6),_0x66f021))(Ci||{});const ir=new Set([_0x40ff5b['id']]);function qt(_0x319937,_0x250aa4,_0x38f334,_0x8912a8,_0x2eb9f9){var _0x5eb2ad=_0x312368,_0x1fb3f5,_0x17c34a,_0x23772a,_0x45df67;const _0x45502d=[];for(const _0x476a9a of _0x319937)if(ir[_0x5eb2ad(0x428)](_0x476a9a['id'])){if(_0x45502d[_0x5eb2ad(0x441)]>0x0)break;_0x45502d[_0x5eb2ad(0x351)](_0x476a9a);break;}else _0x45502d[_0x5eb2ad(0x351)](_0x476a9a);const _0x10c0fd=(_0x17c34a=(_0x1fb3f5=_0x2eb9f9['getCurrentUser']())==null?void 0x0:_0x1fb3f5[_0x5eb2ad(0x381)])!=null?_0x17c34a:_0x5eb2ad(0x344),_0x15d1c7=(_0x45df67=(_0x23772a=_0x2eb9f9[_0x5eb2ad(0x2f2)]())==null?void 0x0:_0x23772a[_0x5eb2ad(0x38f)])!=null?_0x45df67:_0x5eb2ad(0x344);return{'changeset':{'unitID':_0x250aa4,'type':_0x3d52eb(_0x38f334[_0x5eb2ad(0x21c)](_0x250aa4)),'baseRev':_0x8912a8[_0x5eb2ad(0x1a2)](_0x250aa4),'revision':0x0,'userID':_0x10c0fd,'memberID':_0x15d1c7,'mutations':_0x45502d},'pendingMutations':_0x319937[_0x5eb2ad(0x397)](_0x45502d[_0x5eb2ad(0x441)])};}function nr(_0x5ec68c,_0x475873,_0x484dce,_0x521728,_0x185c3){var _0x117705=_0x312368,_0x1b3c1e,_0x389534,_0x59c513,_0x1ca059;const _0x4e1bf9=[_0x5ec68c[_0x117705(0x1bc)]((_0x12308a,_0x33edc8)=>{var _0x28f5ef=_0x117705,_0x380892;const {id:_0x2af2dd}=_0x12308a,{id:_0x6ad231,type:_0x3527a6}=_0x33edc8,_0x5caf89=(_0x380892=_0x12308a[_0x28f5ef(0x371)])!=null?_0x380892:{'actions':null},_0x3192c6=_0x33edc8[_0x28f5ef(0x371)];if(_0x2af2dd&&_0x2af2dd!==_0x6ad231)throw new Error(_0x28f5ef(0x3d5)+_0x2af2dd+_0x28f5ef(0x43c)+_0x6ad231+'.');return{..._0x12308a,'id':_0x6ad231,'type':_0x3527a6,'params':{'unitId':_0x3192c6[_0x28f5ef(0x452)],'textRanges':_0x3192c6['textRanges'],'actions':_0x3b7bfc[_0x28f5ef(0x464)](_0x5caf89[_0x28f5ef(0x264)],_0x3192c6[_0x28f5ef(0x264)])}};},{})],_0x4a188a=(_0x389534=(_0x1b3c1e=_0x185c3[_0x117705(0x2f2)]())==null?void 0x0:_0x1b3c1e[_0x117705(0x381)])!=null?_0x389534:_0x117705(0x344),_0x27a239=(_0x1ca059=(_0x59c513=_0x185c3[_0x117705(0x2f2)]())==null?void 0x0:_0x59c513['memberID'])!=null?_0x1ca059:_0x117705(0x344);return{'changeset':{'unitID':_0x475873,'type':_0x3d52eb(_0x484dce['getUnitType'](_0x475873)),'baseRev':_0x521728['getCurrentRevOfUnit'](_0x475873),'revision':0x0,'userID':_0x4a188a,'memberID':_0x27a239,'mutations':_0x4e1bf9},'pendingMutations':[]};}function Ri(_0x8ef184,_0x69b5e0){var _0x55e3a1=_0x312368;const _0x1809d4=new _0x190168(0x1);return setTimeout(()=>_0x1809d4[_0x55e3a1(0x282)](_0x69b5e0),_0x8ef184),_0x1809d4[_0x55e3a1(0x45e)]()[_0x55e3a1(0x1e4)](_0x37864f(0x1));}const rr={'id':_0x3616f2['id'],'type':_0x39b955[_0x312368(0x1fa)],'params':{}};var sr=Object[_0x312368(0x2e8)],Te=(_0xf08e3c,_0xb21f2b,_0x302927,_0xe30ec6)=>{var _0x53eb24=_0x312368;for(var _0x5e2195=_0xe30ec6>0x1?void 0x0:_0xe30ec6?sr(_0xb21f2b,_0x302927):_0xb21f2b,_0x47a461=_0xf08e3c[_0x53eb24(0x441)]-0x1,_0x3f6e0d;_0x47a461>=0x0;_0x47a461--)(_0x3f6e0d=_0xf08e3c[_0x47a461])&&(_0x5e2195=_0x3f6e0d(_0x5e2195)||_0x5e2195);return _0x5e2195;},P=(_0x1d9082,_0x195ec3)=>(_0x4f21a4,_0x368b62)=>_0x195ec3(_0x4f21a4,_0x368b62,_0x1d9082),bi=(_0x3f2ab4=>(_0x3f2ab4['NOT_COLLAB']=_0x312368(0x348),_0x3f2ab4[_0x312368(0x2f9)]=_0x312368(0x350),_0x3f2ab4[_0x312368(0x23d)]=_0x312368(0x3a2),_0x3f2ab4['AWAITING']=_0x312368(0x334),_0x3f2ab4['AWAITING_WITH_PENDING']=_0x312368(0x400),_0x3f2ab4['FETCH_MISS']=_0x312368(0x325),_0x3f2ab4[_0x312368(0x32b)]=_0x312368(0x35a),_0x3f2ab4[_0x312368(0x42a)]=_0x312368(0x260),_0x3f2ab4))(bi||{});const yi=0xea60;class Ce{constructor(_0x29687e,_0x3c5eb9,_0xf26189,_0x167107,_0x2d5887,_0x3d6f09,_0xeeb802,_0x2cb2b3,_0x2649c4){var _0x323562=_0x312368;N(this,_0x323562(0x284),null),N(this,_0x323562(0x2e1),[]),(this[_0x323562(0x2f8)]=_0x29687e,this[_0x323562(0x291)]=_0x3c5eb9,this[_0x323562(0x187)]=_0x2d5887,this[_0x323562(0x426)]=_0x3d6f09,this['_undoRedoService']=_0xeeb802,this[_0x323562(0x1d3)]=_0x2cb2b3,this['_localCacheService']=_0x2649c4,this[_0x323562(0x284)]=_0xf26189,this[_0x323562(0x2e1)]=_0x167107);}[_0x312368(0x1bd)](_0x48dadd){var _0x583237=_0x312368;const _0x1cf218=this[_0x583237(0x1d3)]['getCurrentRevOfUnit'](this['unitID']);return _0x48dadd['revision']>_0x1cf218+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1cf218,'to':_0x48dadd['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x329884){var _0x23eede=_0x312368;this[_0x23eede(0x410)]['transformUndoRedo'](this[_0x23eede(0x2f8)],_0x329884);}[_0x312368(0x3b2)](_0x1535b3){var _0x5ed136=_0x312368,_0x130ced,_0x55709a;(_0x55709a=(_0x130ced=this[_0x5ed136(0x187)])[_0x5ed136(0x354)])==null||_0x55709a[_0x5ed136(0x35b)](_0x130ced,_0x1535b3);}['_transformIMECache'](_0x32696f){var _0x4715c3=_0x312368,_0x47c3b9,_0x487ec3;return(_0x487ec3=(_0x47c3b9=this[_0x4715c3(0x187)])['onTransformIME'])==null?void 0x0:_0x487ec3[_0x4715c3(0x35b)](_0x47c3b9,_0x32696f);}['_transformStateCache'](_0x158fdb){var _0x41b176=_0x312368,_0x51a372,_0x5efa3a;return(_0x5efa3a=(_0x51a372=this[_0x41b176(0x187)])['onTransformState'])==null?void 0x0:_0x5efa3a[_0x41b176(0x35b)](_0x51a372,_0x158fdb);}[_0x312368(0x449)](_0x3a9a51){var _0xbd88a6=_0x312368,_0xcf6e3,_0x889e0d,_0x9903f3;return(_0x9903f3=(_0x889e0d=(_0xcf6e3=this['_handler'])[_0xbd88a6(0x235)])==null?void 0x0:_0x889e0d[_0xbd88a6(0x35b)](_0xcf6e3,_0x3a9a51))!=null?_0x9903f3:_0x3a9a51;}['_transformRemoteChangesetByStateCache'](_0x575ce5){var _0x48385e=_0x312368,_0xcb74af,_0x11a991,_0x4adce6;return(_0x4adce6=(_0x11a991=(_0xcb74af=this['_handler'])[_0x48385e(0x270)])==null?void 0x0:_0x11a991[_0x48385e(0x35b)](_0xcb74af,_0x575ce5))!=null?_0x4adce6:_0x575ce5;}[_0x312368(0x2e0)](_0x270627){var _0x4077e4=_0x312368,_0x564ef9,_0x1c96e5;if(this[_0x4077e4(0x291)]===Q['UNIVER_DOC']){const {unitID:_0x1a4d47,mutations:_0x30e29f,memberID:_0x80ff95}=_0x270627,_0x2201ba=_0x30e29f[0x0][_0x4077e4(0x371)]['textRanges'];Array['isArray'](_0x2201ba)&&_0x2201ba[_0x4077e4(0x441)]>0x0&&((_0x1c96e5=(_0x564ef9=this[_0x4077e4(0x187)])[_0x4077e4(0x214)])==null||_0x1c96e5[_0x4077e4(0x35b)](_0x564ef9,{'unitID':_0x1a4d47,'memberID':_0x80ff95,'textRanges':_0x2201ba}));}}[_0x312368(0x1d2)](){var _0x4107a2=_0x312368,_0x10ceb1;(_0x10ceb1=this[_0x4107a2(0x26d)])==null||_0x10ceb1[_0x4107a2(0x1c5)](this[_0x4107a2(0x2f8)],this[_0x4107a2(0x291)],this[_0x4107a2(0x284)],this[_0x4107a2(0x2e1)]);}[_0x312368(0x3f9)](){var _0x219bbe=_0x312368;return this[_0x219bbe(0x1d3)][_0x219bbe(0x1a2)](this[_0x219bbe(0x2f8)]);}['_incrementRevisionNumber'](){var _0x57b88f=_0x312368;this[_0x57b88f(0x1d3)][_0x57b88f(0x222)](this[_0x57b88f(0x2f8)]);}[_0x312368(0x413)](_0x41b080){var _0x29fc11=_0x312368,_0x1caf80;let _0x154da3=this[_0x29fc11(0x449)](_0x41b080);_0x154da3=this['_transformRemoteChangesetByStateCache'](_0x154da3);const _0x155058=_0x219307(_0x154da3[_0x29fc11(0x2a4)],this[_0x29fc11(0x426)],{'fromCollab':!0x0});if(!_0x155058[_0x29fc11(0x252)])throw _0x155058[_0x29fc11(0x17d)]instanceof Error?_0x155058[_0x29fc11(0x17d)]:new Error((_0x1caf80=_0x155058[_0x29fc11(0x17d)])!=null?_0x1caf80:'[CollaborationState]:\x20apply\x20error!');this[_0x29fc11(0x2a2)](_0x154da3),this[_0x29fc11(0x32f)](_0x154da3),this[_0x29fc11(0x3a1)](_0x41b080),this[_0x29fc11(0x3b2)](_0x154da3),this[_0x29fc11(0x2e0)](_0x154da3),this[_0x29fc11(0x28d)]();}}let Ne=class extends Ce{constructor(_0x37ae57,_0x4464c9,_0x3ee1e0,_0xc8762d,_0xd2c431,_0xfd175a,_0x52a928,_0x2d42bc,_0x55f040,_0x397d58){var _0x18ff2b=_0x312368;super(_0x37ae57,_0x4464c9,null,[],_0x3ee1e0,_0x52a928,_0xfd175a,_0xc8762d,_0x397d58),N(this,'status',_0x18ff2b(0x350)),(this[_0x18ff2b(0x393)]=_0xd2c431,this['_logService']=_0x2d42bc,this[_0x18ff2b(0x2bc)]=_0x55f040,this[_0x18ff2b(0x343)]=_0x397d58);}[_0x312368(0x476)](_0x3726d1){var _0x38ed4c=_0x312368;const _0x4e64f8=this[_0x38ed4c(0x393)][_0x38ed4c(0x1a4)](ae,this[_0x38ed4c(0x2f8)],this[_0x38ed4c(0x291)],[_0x3726d1],this[_0x38ed4c(0x187)]);return _0x4e64f8[_0x38ed4c(0x190)](),_0x4e64f8[_0x38ed4c(0x1d2)](),_0x4e64f8;}[_0x312368(0x259)](_0x634f8d){var _0x3288f4=_0x312368;if(this['_checkMissing'](_0x634f8d))return this[_0x3288f4(0x393)][_0x3288f4(0x1a4)](ee,this['unitID'],this[_0x3288f4(0x291)],null,[],null,[_0x634f8d],this[_0x3288f4(0x187)]);try{const _0x1f8b01=this[_0x3288f4(0x2bc)][_0x3288f4(0x1ec)](_0x634f8d,[rr]);if(_0x222ed6(_0x1f8b01)){const {c1Prime:_0x1044ed}=_0x1f8b01;return this[_0x3288f4(0x413)](_0x1044ed),this;}throw _0x1f8b01[_0x3288f4(0x17d)];}catch(_0x1641ec){return this[_0x3288f4(0x28b)]['error'](_0x1641ec),this['_onConflict'](!0x1);}}[_0x312368(0x2b9)](_0x725d4d){var _0xfcf5f2=_0x312368;return this[_0xfcf5f2(0x393)]['createInstance'](ue,this[_0xfcf5f2(0x2f8)],this['type'],null,[],this[_0xfcf5f2(0x187)],_0x725d4d);}['onRemoteAck'](){var _0x4d21bf=_0x312368;throw new Error(_0x4d21bf(0x25e));}[_0x312368(0x1d7)](){var _0x2100b2=_0x312368;throw new Error(_0x2100b2(0x36b));}['onRemoteRetry'](){return this;}[_0x312368(0x3ba)](){var _0x57fec0=_0x312368;return this['_injector'][_0x57fec0(0x1a4)](de,this['unitID'],this['type'],null,[],this[_0x57fec0(0x187)]);}[_0x312368(0x232)](){return this;}[_0x312368(0x3c6)](){var _0x37ab39=_0x312368;throw new Error(_0x37ab39(0x19b));}[_0x312368(0x1b4)](){var _0x4b6f6b=_0x312368;const _0x40e24a=this[_0x4b6f6b(0x1d3)]['getCurrentRevOfUnit'](this[_0x4b6f6b(0x2f8)]);return this[_0x4b6f6b(0x187)][_0x4b6f6b(0x475)]({'from':_0x40e24a,'to':0x0}),this[_0x4b6f6b(0x393)][_0x4b6f6b(0x1a4)](ee,this[_0x4b6f6b(0x2f8)],this['type'],null,[],null,[],this[_0x4b6f6b(0x187)]);}};Ne=Te([P(0x3,_0x2586f2(_0x3b5bf2)),P(0x4,_0x2586f2(_0x4c9895)),P(0x5,_0x25581e),P(0x6,_0x2b8c90),P(0x7,_0x44b611),P(0x8,_0x3e764d),P(0x9,_0x2e05d5(J))],Ne);let ae=class extends Ce{constructor(_0x54580c,_0x2e3fef,_0x443465,_0x90cb65,_0xd56b25,_0x51f304,_0x51d71e,_0x4e482c,_0x1623d5,_0x43b732,_0x438c3e,_0x5f7bfb,_0x3d67d5,_0x4d14ec){var _0x255cdf=_0x312368;super(_0x54580c,_0x2e3fef,null,_0x443465,_0x90cb65,_0x1623d5,_0x3d67d5,_0x51f304,_0x4d14ec),N(this,'status',_0x255cdf(0x3a2)),N(this,_0x255cdf(0x46a),null),N(this,_0x255cdf(0x43d),null),(this[_0x255cdf(0x393)]=_0xd56b25,this[_0x255cdf(0x31f)]=_0x51d71e,this[_0x255cdf(0x28b)]=_0x4e482c,this[_0x255cdf(0x1d0)]=_0x43b732,this['_transformService']=_0x438c3e,this[_0x255cdf(0x251)]=_0x5f7bfb);}[_0x312368(0x476)](_0x4fc536){var _0x285552=_0x312368;return this[_0x285552(0x2e1)][_0x285552(0x351)](_0x4fc536),this['_updateLocalCache'](),this;}[_0x312368(0x259)](_0x4bf329){var _0x50e3cb=_0x312368;if(this['_checkMissing'](_0x4bf329))return this[_0x50e3cb(0x2ac)](),this[_0x50e3cb(0x393)][_0x50e3cb(0x1a4)](ee,this[_0x50e3cb(0x2f8)],this[_0x50e3cb(0x291)],null,this[_0x50e3cb(0x2e1)],null,[_0x4bf329],this[_0x50e3cb(0x187)]);try{const _0x428ab9=this[_0x50e3cb(0x2bc)][_0x50e3cb(0x1ec)](_0x4bf329,this[_0x50e3cb(0x2e1)]);if(_0x222ed6(_0x428ab9)){const {c1Prime:_0x423c00,m2Prime:_0x69748d}=_0x428ab9;this[_0x50e3cb(0x413)](_0x423c00);const _0x530f39=this[_0x50e3cb(0x393)]['createInstance'](ae,this[_0x50e3cb(0x2f8)],this[_0x50e3cb(0x291)],_0x69748d,this[_0x50e3cb(0x187)]);this[_0x50e3cb(0x2ac)]();const _0x30282c=new Date()[_0x50e3cb(0x366)](),_0x2591fc=this[_0x50e3cb(0x46a)]?Math[_0x50e3cb(0x1a5)](this[_0x50e3cb(0x46a)]-_0x30282c,0x0):this[_0x50e3cb(0x335)]();return _0x530f39[_0x50e3cb(0x190)](_0x2591fc),_0x530f39;}throw _0x428ab9['error'];}catch(_0x4d8d53){return this[_0x50e3cb(0x28b)][_0x50e3cb(0x17d)](_0x4d8d53),this[_0x50e3cb(0x2b9)](!0x1);}}[_0x312368(0x202)](){var _0x2c5077=_0x312368;throw new Error(_0x2c5077(0x19c));}[_0x312368(0x1d7)](){var _0x2f6f5b=_0x312368;throw new Error(_0x2f6f5b(0x37e));}['onRemoteRetry'](){return this;}[_0x312368(0x3ba)](){var _0x1600be=_0x312368;return this['_clearScheduledTask'](),this[_0x1600be(0x393)][_0x1600be(0x1a4)](de,this[_0x1600be(0x2f8)],this[_0x1600be(0x291)],null,this['_pendingMutations'],this[_0x1600be(0x187)]);}[_0x312368(0x232)](){return this;}['_schedule'](_0x4a9ca4){var _0x2d277b=_0x312368;const _0x138e09=_0x4a9ca4!=null?_0x4a9ca4:this[_0x2d277b(0x335)]();this[_0x2d277b(0x46a)]=new Date()[_0x2d277b(0x366)]()+_0x138e09,this[_0x2d277b(0x43d)]=setTimeout(()=>{var _0x214c38=_0x2d277b;this[_0x214c38(0x2ac)]();let _0x5dd4c9=null;switch(this[_0x214c38(0x291)]){case Q[_0x214c38(0x42b)]:{_0x5dd4c9=qt(this[_0x214c38(0x2e1)],this[_0x214c38(0x2f8)],this[_0x214c38(0x251)],this[_0x214c38(0x1d3)],this[_0x214c38(0x31f)]);break;}case Q[_0x214c38(0x419)]:{this[_0x214c38(0x2e1)]['every'](_0x5234cf=>_0x5234cf['id']===_0x14bd8f['id'])?_0x5dd4c9=nr(this['_pendingMutations'],this['unitID'],this[_0x214c38(0x251)],this[_0x214c38(0x1d3)],this[_0x214c38(0x31f)]):_0x5dd4c9=qt(this[_0x214c38(0x2e1)],this[_0x214c38(0x2f8)],this[_0x214c38(0x251)],this[_0x214c38(0x1d3)],this[_0x214c38(0x31f)]);break;}default:throw new Error(_0x214c38(0x2cc)+this['type']+_0x214c38(0x1de));}const {changeset:_0x299e35,pendingMutations:_0x5c8595}=_0x5dd4c9;this[_0x214c38(0x187)]['onSendChangeset'](_0x299e35);const _0xa34ddb=_0x5c8595[_0x214c38(0x441)]?this[_0x214c38(0x393)][_0x214c38(0x1a4)](oe,this['unitID'],this[_0x214c38(0x291)],_0x299e35,_0x5c8595,this['_handler'],void 0x0):this['_injector']['createInstance'](le,this[_0x214c38(0x2f8)],this[_0x214c38(0x291)],_0x299e35,this[_0x214c38(0x187)]);_0xa34ddb[_0x214c38(0x1d2)](),this[_0x214c38(0x187)][_0x214c38(0x3aa)](this,_0xa34ddb);},_0x138e09);}['_getSendChangesetTimeout'](){var _0x2e0229=_0x312368,_0x1942d3;const _0xa52d5=this[_0x2e0229(0x1d0)][_0x2e0229(0x1ef)](q);return(_0x1942d3=_0xa52d5==null?void 0x0:_0xa52d5[_0x2e0229(0x194)])!=null?_0x1942d3:En;}['resend'](){var _0xa51a0e=_0x312368;throw new Error(_0xa51a0e(0x1b3));}[_0x312368(0x2ac)](){var _0x25b6d7=_0x312368;this['_sendingTimer']!=null&&(clearTimeout(this[_0x25b6d7(0x43d)]),this[_0x25b6d7(0x43d)]=null);}[_0x312368(0x2b9)](_0x1030c4){var _0x4816a7=_0x312368;return this[_0x4816a7(0x2ac)](),this[_0x4816a7(0x393)]['createInstance'](ue,this[_0x4816a7(0x2f8)],this['type'],null,this[_0x4816a7(0x2e1)],this[_0x4816a7(0x187)],_0x1030c4);}};ae=Te([P(0x4,_0x2586f2(_0x4c9895)),P(0x5,_0x2586f2(_0x3b5bf2)),P(0x6,_0x2586f2(xe)),P(0x7,_0x44b611),P(0x8,_0x2b8c90),P(0x9,_0xf309d1),P(0xa,_0x3e764d),P(0xb,_0x453383),P(0xc,_0x25581e),P(0xd,_0x2e05d5(J))],ae);let le=class extends Ce{constructor(_0x54a4ad,_0x57b28a,_0x509e8e,_0x347736,_0x3f392c,_0x5aac83,_0x1f01dc,_0x2e7890,_0x5be964,_0x1e158d,_0x59c460){var _0x26ef0a=_0x312368;super(_0x54a4ad,_0x57b28a,_0x509e8e,[],_0x347736,_0x1f01dc,_0x1e158d,_0x5aac83,_0x59c460),N(this,_0x26ef0a(0x271),_0x26ef0a(0x334)),N(this,_0x26ef0a(0x21a),0x0),N(this,_0x26ef0a(0x374)),N(this,_0x26ef0a(0x195)),(this[_0x26ef0a(0x393)]=_0x3f392c,this['_logService']=_0x2e7890,this[_0x26ef0a(0x2bc)]=_0x5be964);}[_0x312368(0x476)](_0x365848){var _0x1a2422=_0x312368;this[_0x1a2422(0x2ac)]();const _0x48beb0=this[_0x1a2422(0x393)][_0x1a2422(0x1a4)](oe,this[_0x1a2422(0x2f8)],this[_0x1a2422(0x291)],this[_0x1a2422(0x284)],[_0x365848],this[_0x1a2422(0x187)],this[_0x1a2422(0x374)]);return _0x48beb0[_0x1a2422(0x1d2)](),_0x48beb0;}['onRemoteChangeset'](_0x5a30b5){var _0x5a3747=_0x312368;if(this[_0x5a3747(0x1bd)](_0x5a30b5))return this['_clearScheduledTask'](),this['_injector'][_0x5a3747(0x1a4)](ee,this[_0x5a3747(0x2f8)],this[_0x5a3747(0x291)],this[_0x5a3747(0x284)],[],null,[_0x5a30b5],this[_0x5a3747(0x187)]);try{const _0x464eee=this['_transformService'][_0x5a3747(0x1b1)]([_0x5a30b5],[this['_awaitingChangeset']],!0x1);if(_0x196765(_0x464eee)){const {c1Prime:_0x1bb54a,c2Prime:_0x4af378}=_0x464eee;this[_0x5a3747(0x413)](_0x1bb54a[0x0]),_0x4af378[0x0][_0x5a3747(0x36a)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x4cdbb3=this[_0x5a3747(0x393)][_0x5a3747(0x1a4)](le,this['unitID'],this[_0x5a3747(0x291)],_0x4af378[0x0],this[_0x5a3747(0x187)]);return _0x4cdbb3[_0x5a3747(0x1d2)](),_0x4cdbb3;}return this[_0x5a3747(0x2b9)](!0x1);}catch(_0x57acf1){return this[_0x5a3747(0x28b)][_0x5a3747(0x17d)](_0x57acf1),this[_0x5a3747(0x2b9)](!0x1);}}[_0x312368(0x202)](_0x457d3b){var _0x1a36ed=_0x312368;this[_0x1a36ed(0x2ac)]();const _0x10775d=this[_0x1a36ed(0x1d3)][_0x1a36ed(0x1a2)](this[_0x1a36ed(0x2f8)]);if(_0x457d3b[_0x1a36ed(0x18d)]<_0x10775d-0x1)return this;if(this[_0x1a36ed(0x1bd)](_0x457d3b))return this[_0x1a36ed(0x393)][_0x1a36ed(0x1a4)](ee,this[_0x1a36ed(0x2f8)],this[_0x1a36ed(0x291)],null,[],this['_awaitingChangeset'],[],this[_0x1a36ed(0x187)]);this[_0x1a36ed(0x28d)]();const _0x935d5a=this[_0x1a36ed(0x393)]['createInstance'](Ne,this[_0x1a36ed(0x2f8)],this['type'],this['_handler']);return _0x935d5a[_0x1a36ed(0x1d2)](),_0x935d5a;}[_0x312368(0x1d7)](_0x30ea68){var _0x20a42e=_0x312368;return this[_0x20a42e(0x2b9)](!!(_0x30ea68!=null&&_0x30ea68[_0x20a42e(0x3d0)]));}[_0x312368(0x472)](_0x46250e){var _0x783ce0=_0x312368;return this[_0x783ce0(0x21a)]>yi?this['toggleOffline']():(this[_0x783ce0(0x374)]=Ri(this['_resendTimeout'],{'timeout':this[_0x783ce0(0x21a)],'reqId':_0x46250e[_0x783ce0(0x3e2)]}),this[_0x783ce0(0x195)]=this['_resendTimer']['subscribe'](({reqId:_0x2a8cd5,timeout:_0x101ac1})=>{var _0x26a931=_0x783ce0;this[_0x26a931(0x40d)](_0x2a8cd5,_0x101ac1);}),this);}[_0x312368(0x3ba)](){var _0x4f4890=_0x312368;return this['_clearScheduledTask'](),this[_0x4f4890(0x393)][_0x4f4890(0x1a4)](de,this['unitID'],this[_0x4f4890(0x291)],this[_0x4f4890(0x284)],[],this['_handler']);}[_0x312368(0x232)](){return this;}[_0x312368(0x3c6)](){var _0x2b0bbd=_0x312368;this[_0x2b0bbd(0x187)][_0x2b0bbd(0x2ba)](this[_0x2b0bbd(0x284)]);}['_onConflict'](_0x767e73){var _0x512b96=_0x312368;return this[_0x512b96(0x2ac)](),this['_injector'][_0x512b96(0x1a4)](ue,this[_0x512b96(0x2f8)],this['type'],this[_0x512b96(0x284)],[],this[_0x512b96(0x187)],_0x767e73);}[_0x312368(0x40d)](_0x34573f,_0x3b7f2b){var _0x3a7243=_0x312368,_0x5d6184;_0x34573f===((_0x5d6184=this[_0x3a7243(0x284)])==null?void 0x0:_0x5d6184[_0x3a7243(0x3e2)])&&(this[_0x3a7243(0x3c6)](),this[_0x3a7243(0x21a)]=_0x3b7f2b===0x0?0x3e8:_0x3b7f2b*0x2);}[_0x312368(0x2ac)](){var _0x4047bf=_0x312368,_0x2b86f1;(_0x2b86f1=this[_0x4047bf(0x195)])==null||_0x2b86f1[_0x4047bf(0x303)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x2586f2(_0x4c9895)),P(0x5,_0x2586f2(_0x3b5bf2)),P(0x6,_0x2b8c90),P(0x7,_0x44b611),P(0x8,_0x3e764d),P(0x9,_0x25581e),P(0xa,_0x2e05d5(J))],le);let oe=class extends Ce{constructor(_0x70e5c4,_0x2c6f26,_0xd8d84f,_0x4e3cde,_0x4458eb,_0x4abf7e,_0x358e4b,_0x5c1d2a,_0x31538a,_0x2e522d,_0x17ed3b,_0x4f2f85,_0x491b07){var _0x352121=_0x312368;super(_0x70e5c4,_0x2c6f26,_0xd8d84f,_0x4e3cde,_0x4458eb,_0x31538a,_0x4f2f85,_0x5c1d2a,_0x491b07),N(this,_0x352121(0x271),_0x352121(0x400)),N(this,_0x352121(0x21a),0x0),N(this,_0x352121(0x374)),N(this,_0x352121(0x195)),(this[_0x352121(0x393)]=_0x358e4b,this['_logService']=_0x2e522d,this['_transformService']=_0x17ed3b,this[_0x352121(0x343)]=_0x491b07,_0x4abf7e&&(this[_0x352121(0x374)]=_0x4abf7e,this[_0x352121(0x195)]=this[_0x352121(0x374)]['subscribe'](({reqId:_0x29dfe7,timeout:_0x494155})=>{var _0x5ad153=_0x352121;this[_0x5ad153(0x40d)](_0x29dfe7,_0x494155);})));}['appendMutation'](_0x50d1ad){var _0x4bc06f=_0x312368;return this[_0x4bc06f(0x2e1)][_0x4bc06f(0x351)](_0x50d1ad),this;}[_0x312368(0x259)](_0x36ffe0){var _0x5ca664=_0x312368;if(this[_0x5ca664(0x1bd)](_0x36ffe0))return this[_0x5ca664(0x2ac)](),this[_0x5ca664(0x393)][_0x5ca664(0x1a4)](ee,this[_0x5ca664(0x2f8)],this[_0x5ca664(0x291)],this[_0x5ca664(0x284)],this[_0x5ca664(0x2e1)],null,[_0x36ffe0],this[_0x5ca664(0x187)]);try{const _0x208dc2=this[_0x5ca664(0x2bc)]['transformChangesets']([_0x36ffe0],[this[_0x5ca664(0x284)]],!0x1);if(_0x196765(_0x208dc2)){const {c1Prime:_0x5abdae,c2Prime:_0x4aae65}=_0x208dc2,_0x294b5f=this[_0x5ca664(0x2bc)][_0x5ca664(0x1ec)](_0x5abdae[0x0],this[_0x5ca664(0x2e1)]);if(_0x222ed6(_0x294b5f)){const {c1Prime:_0x3e117e,m2Prime:_0x4187a9}=_0x294b5f;return this['_executeRemoteChangeset'](_0x3e117e),_0x4aae65[0x0][_0x5ca664(0x36a)]=this[_0x5ca664(0x3f9)](),this['_clearScheduledTask'](),this[_0x5ca664(0x393)][_0x5ca664(0x1a4)](oe,this[_0x5ca664(0x2f8)],this[_0x5ca664(0x291)],_0x4aae65[0x0],_0x4187a9,this[_0x5ca664(0x187)],void 0x0);}throw _0x294b5f['error'];}throw _0x208dc2[_0x5ca664(0x17d)];}catch(_0x38f0e9){return this['_logService'][_0x5ca664(0x17d)](_0x38f0e9),this[_0x5ca664(0x2b9)](!0x1);}}[_0x312368(0x202)](_0x216be3){var _0x25ae06=_0x312368;if(this['_clearScheduledTask'](),this[_0x25ae06(0x1bd)](_0x216be3))return this['_injector'][_0x25ae06(0x1a4)](ee,this[_0x25ae06(0x2f8)],this['type'],null,this[_0x25ae06(0x2e1)],this[_0x25ae06(0x284)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2bc5ea=this[_0x25ae06(0x393)]['createInstance'](ae,this[_0x25ae06(0x2f8)],this[_0x25ae06(0x291)],this['_pendingMutations'],this[_0x25ae06(0x187)]);return _0x2bc5ea[_0x25ae06(0x190)](),_0x2bc5ea[_0x25ae06(0x1d2)](),_0x2bc5ea;}[_0x312368(0x1d7)](_0xca1bda){var _0x57b90c=_0x312368;return this[_0x57b90c(0x2b9)](!!(_0xca1bda!=null&&_0xca1bda['isPermissionRej']));}[_0x312368(0x472)](_0xfc71a9){var _0x22e2fb=_0x312368;return this['_resendTimeout']>yi?this[_0x22e2fb(0x3ba)]():(this[_0x22e2fb(0x374)]=Ri(this[_0x22e2fb(0x21a)],{'timeout':this[_0x22e2fb(0x21a)],'reqId':_0xfc71a9[_0x22e2fb(0x3e2)]}),this['_sender']=this[_0x22e2fb(0x374)]['subscribe'](({reqId:_0x34d03b,timeout:_0xcf8a7c})=>{var _0x2049f3=_0x22e2fb;this[_0x2049f3(0x40d)](_0x34d03b,_0xcf8a7c);}),this);}[_0x312368(0x3ba)](){var _0xf78a02=_0x312368;return this['_clearScheduledTask'](),this[_0xf78a02(0x393)]['createInstance'](de,this[_0xf78a02(0x2f8)],this[_0xf78a02(0x291)],this[_0xf78a02(0x284)],this[_0xf78a02(0x2e1)],this['_handler']);}['toggleOnline'](){return this;}[_0x312368(0x3c6)](){var _0x4b749d=_0x312368;this[_0x4b749d(0x187)][_0x4b749d(0x2ba)](this[_0x4b749d(0x284)]);}[_0x312368(0x2b9)](_0x24bef3){var _0x151e85=_0x312368;return this[_0x151e85(0x2ac)](),this[_0x151e85(0x393)][_0x151e85(0x1a4)](ue,this[_0x151e85(0x2f8)],this[_0x151e85(0x291)],null,this['_pendingMutations'],this['_handler'],_0x24bef3);}[_0x312368(0x40d)](_0x3c9365,_0x29030a){var _0x2d4097=_0x312368,_0x385fc9;_0x3c9365===((_0x385fc9=this[_0x2d4097(0x284)])==null?void 0x0:_0x385fc9[_0x2d4097(0x3e2)])&&(this['resend'](),this[_0x2d4097(0x21a)]=_0x29030a===0x0?0x3e8:_0x29030a*0x2);}[_0x312368(0x2ac)](){var _0x2a575f=_0x312368,_0x9ae31f;(_0x9ae31f=this[_0x2a575f(0x195)])==null||_0x9ae31f[_0x2a575f(0x303)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x2586f2(_0x4c9895)),P(0x7,_0x2586f2(_0x3b5bf2)),P(0x8,_0x2b8c90),P(0x9,_0x44b611),P(0xa,_0x3e764d),P(0xb,_0x25581e),P(0xc,_0x2e05d5(J))],oe);let ue=class extends Ce{constructor(_0x3f1c9e,_0x5f4f4f,_0x130149,_0x384928,_0x1ed2e3,_0x45e5a5=!0x1,_0x46821c,_0x5d447d,_0x373a90,_0x469ebc,_0xed3cd5,_0x4420f0,_0xd38e26){var _0x52bf12=_0x312368;super(_0x3f1c9e,_0x5f4f4f,_0x130149,_0x384928,_0x1ed2e3,_0x5d447d,_0x373a90,_0x469ebc,_0xd38e26),N(this,_0x52bf12(0x271),_0x52bf12(0x35a)),(this[_0x52bf12(0x391)]=_0x45e5a5,this['_permissionService']=_0x46821c,this[_0x52bf12(0x401)]=_0xed3cd5,this['_collaborationUIEventService']=_0x4420f0,this[_0x52bf12(0x343)]=_0xd38e26,this[_0x52bf12(0x209)](),this[_0x52bf12(0x409)](),this[_0x52bf12(0x3fb)]());}[_0x312368(0x476)](){return this;}[_0x312368(0x259)](){return this;}['onRemoteAck'](){return this;}[_0x312368(0x1d7)](){return this;}['onRemoteRetry'](){return this;}[_0x312368(0x3ba)](){return this;}[_0x312368(0x232)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x312368(0x409)](){var _0x746ef8=_0x312368,_0x556365;(_0x556365=this['_localCacheService'])==null||_0x556365[_0x746ef8(0x1c5)](this[_0x746ef8(0x2f8)],this[_0x746ef8(0x291)],null,[]);}[_0x312368(0x209)](){var _0x5b4435=_0x312368;this[_0x5b4435(0x391)]?this[_0x5b4435(0x1c2)][_0x5b4435(0x225)]({'id':se[_0x5b4435(0x488)]}):this[_0x5b4435(0x1c2)][_0x5b4435(0x225)]({'id':se[_0x5b4435(0x32b)]});}[_0x312368(0x3fb)](){var _0x25083e=_0x312368;this['_permissionService'][_0x25083e(0x1b7)](new _0x57cfe9(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x2586f2(_0x581021)),P(0x7,_0x2b8c90),P(0x8,_0x25581e),P(0x9,_0x2586f2(_0x3b5bf2)),P(0xa,_0x2586f2(_0x16779f)),P(0xb,_0x2586f2(pe)),P(0xc,_0x2e05d5(J))],ue);let de=class extends Ce{constructor(_0x524866,_0x584447,_0x3cf09a,_0x47a9ab,_0x802acf,_0xf8541f,_0x1a24d9,_0x446489,_0x3d2d65,_0x32f562){var _0x402b02=_0x312368;super(_0x524866,_0x584447,_0x3cf09a,_0x47a9ab,_0x802acf,_0x446489,_0x3d2d65,_0x1a24d9,_0x32f562),N(this,_0x402b02(0x271),_0x402b02(0x260)),this[_0x402b02(0x393)]=_0xf8541f;}[_0x312368(0x476)](_0x112d2a){var _0x178f08=_0x312368;return this[_0x178f08(0x2e1)][_0x178f08(0x351)](_0x112d2a),this[_0x178f08(0x1d2)](),this;}[_0x312368(0x259)](_0x2567ab){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x312368(0x202)](){var _0x431e85=_0x312368;throw new Error(_0x431e85(0x263));}['onRemoteRej'](){var _0x507a4a=_0x312368;throw new Error(_0x507a4a(0x1df));}['onRemoteRetry'](){return this;}[_0x312368(0x3ba)](){return this;}[_0x312368(0x232)](){var _0x32d768=_0x312368;const {_injector:_0x46e885,_pendingMutations:_0x4ebafa,_awaitingChangeset:_0x15a083,unitID:_0x4066ba,_handler:_0x4e1e99,type:_0x36426c}=this,_0x2ac0de=Oi(_0x46e885,_0x4066ba,_0x36426c,_0x15a083,_0x4ebafa,_0x4e1e99);return _0x2ac0de instanceof ae?_0x2ac0de[_0x32d768(0x190)]():(_0x2ac0de instanceof oe||_0x2ac0de instanceof le)&&_0x2ac0de[_0x32d768(0x3c6)](),_0x2ac0de;}[_0x312368(0x3c6)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x2586f2(_0x4c9895)),P(0x6,_0x2586f2(_0x3b5bf2)),P(0x7,_0x2b8c90),P(0x8,_0x25581e),P(0x9,_0x2e05d5(J))],de);let ee=class extends Ce{constructor(_0x3efa21,_0x25cae9,_0x17a43d,_0x31b57d,_0x3cf2d2,_0x4d2ae9,_0x468faa,_0x13e5a2,_0x2e654e,_0x54884a,_0x16e2b5,_0x3d9d65,_0x4d2a98,_0x502475){var _0xa8ec19=_0x312368;super(_0x3efa21,_0x25cae9,_0x17a43d,_0x31b57d,_0x468faa,_0x16e2b5,_0x3d9d65,_0x2e654e,_0x502475),N(this,_0xa8ec19(0x271),_0xa8ec19(0x325)),(this[_0xa8ec19(0x42d)]=_0x3cf2d2,this[_0xa8ec19(0x20d)]=_0x4d2ae9,this[_0xa8ec19(0x393)]=_0x13e5a2,this[_0xa8ec19(0x28b)]=_0x54884a,this[_0xa8ec19(0x2bc)]=_0x4d2a98,this[_0xa8ec19(0x343)]=_0x502475);}[_0x312368(0x2fa)](_0x1ffb39){var _0x2aff64=_0x312368;try{const _0x384d26=[..._0x1ffb39,...this['_queuedRemoteChangesets']],_0xe238db=[this[_0x2aff64(0x284)]||this[_0x2aff64(0x42d)]][_0x2aff64(0x31a)](_0x258326=>!!_0x258326);let _0x13750c,_0xa895b5;if(_0xe238db[_0x2aff64(0x441)]){const _0x38aef9=this['_transformService'][_0x2aff64(0x1b1)](_0x384d26,_0xe238db,!0x1);if(!_0x196765(_0x38aef9))throw _0x38aef9[_0x2aff64(0x17d)];_0x13750c=_0x38aef9['c1Prime'],_0xa895b5=_0x38aef9[_0x2aff64(0x2d1)];}else _0x13750c=_0x384d26,_0xa895b5=[];let _0x3baf32=this['_pendingMutations'];_0x13750c['forEach'](_0x2c2c7e=>{var _0x3beb64=_0x2aff64;let _0x1d90eb;if(_0x3baf32[_0x3beb64(0x441)]){const _0x22045c=this['_transformService'][_0x3beb64(0x1ec)](_0x2c2c7e,_0x3baf32);if(!_0x222ed6(_0x22045c))throw _0x22045c[_0x3beb64(0x17d)];_0x1d90eb=_0x22045c[_0x3beb64(0x30a)],_0x3baf32=_0x22045c[_0x3beb64(0x3ca)];}else _0x1d90eb=_0x2c2c7e;this['_executeRemoteChangeset'](_0x1d90eb);}),this[_0x2aff64(0x42d)]&&this[_0x2aff64(0x28d)](),this[_0x2aff64(0x284)]&&_0xa895b5[_0x2aff64(0x441)]&&(_0xa895b5[0x0][_0x2aff64(0x36a)]=this['_getCurrentRevision']());let _0x4cec4a;if(this[_0x2aff64(0x284)]&&_0x3baf32[_0x2aff64(0x441)]!==0x0)_0x4cec4a=this[_0x2aff64(0x393)][_0x2aff64(0x1a4)](oe,this[_0x2aff64(0x2f8)],this[_0x2aff64(0x291)],_0xa895b5[0x0],_0x3baf32,this[_0x2aff64(0x187)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3baf32[_0x2aff64(0x441)]===0x0)_0xa895b5[0x0][_0x2aff64(0x36a)]=this[_0x2aff64(0x3f9)](),_0x4cec4a=this[_0x2aff64(0x393)][_0x2aff64(0x1a4)](le,this['unitID'],this[_0x2aff64(0x291)],_0xa895b5[0x0],this[_0x2aff64(0x187)]);else{if(_0x3baf32['length']!==0x0){const _0x5d4bf8=this[_0x2aff64(0x393)][_0x2aff64(0x1a4)](ae,this['unitID'],this['type'],_0x3baf32,this[_0x2aff64(0x187)]);_0x5d4bf8[_0x2aff64(0x190)](),_0x4cec4a=_0x5d4bf8;}else _0x4cec4a=this['_injector'][_0x2aff64(0x1a4)](Ne,this['unitID'],this[_0x2aff64(0x291)],this[_0x2aff64(0x187)]);}}return _0x4cec4a['_updateLocalCache'](),_0x4cec4a;}catch(_0x53047e){return this[_0x2aff64(0x28b)][_0x2aff64(0x17d)](_0x2aff64(0x468),'failed\x20to\x20apply\x20missed\x20changesets!',_0x53047e),this[_0x2aff64(0x393)][_0x2aff64(0x1a4)](ue,this[_0x2aff64(0x2f8)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2aff64(0x187)],!0x1);}}[_0x312368(0x3c6)](){var _0x21d168=_0x312368;throw new Error(_0x21d168(0x1f3));}[_0x312368(0x476)](_0x12554d){return this['_pendingMutations']['push'](_0x12554d),this;}['onRemoteChangeset'](_0x3a79e0){var _0x1854ff=_0x312368;return this[_0x1854ff(0x20d)][_0x1854ff(0x351)](_0x3a79e0),this;}['onRemoteAck'](_0x45ba02){var _0x150bd5=_0x312368;if(this[_0x150bd5(0x284)])return this[_0x150bd5(0x42d)]=this[_0x150bd5(0x284)],this[_0x150bd5(0x284)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1a8800){var _0x24801a=_0x312368;return this[_0x24801a(0x2b9)](!!(_0x1a8800!=null&&_0x1a8800[_0x24801a(0x3d0)]));}[_0x312368(0x472)](){return this;}[_0x312368(0x3ba)](){var _0x19b14d=_0x312368;return this[_0x19b14d(0x393)]['createInstance'](de,this['unitID'],this[_0x19b14d(0x291)],this[_0x19b14d(0x284)],this[_0x19b14d(0x2e1)],this[_0x19b14d(0x187)]);}['toggleOnline'](){return this;}['_onConflict'](_0x3594db){var _0x3bb64e=_0x312368;return this[_0x3bb64e(0x393)][_0x3bb64e(0x1a4)](ue,this[_0x3bb64e(0x2f8)],this[_0x3bb64e(0x291)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3bb64e(0x187)],_0x3594db);}};ee=Te([P(0x7,_0x2586f2(_0x4c9895)),P(0x8,_0x2586f2(_0x3b5bf2)),P(0x9,_0x44b611),P(0xa,_0x2b8c90),P(0xb,_0x25581e),P(0xc,_0x3e764d),P(0xd,_0x2e05d5(J))],ee);function Oi(_0x4a8c21,_0x2c8d34,_0x50bed4,_0x170c0e,_0x3b3cc4,_0x6841bc){var _0x5d1537=_0x312368;return _0x170c0e&&_0x3b3cc4[_0x5d1537(0x441)]?_0x4a8c21[_0x5d1537(0x1a4)](oe,_0x2c8d34,_0x50bed4,_0x170c0e,_0x3b3cc4,_0x6841bc,void 0x0):_0x170c0e?_0x4a8c21[_0x5d1537(0x1a4)](le,_0x2c8d34,_0x50bed4,_0x170c0e,_0x6841bc):_0x3b3cc4[_0x5d1537(0x441)]?_0x4a8c21[_0x5d1537(0x1a4)](ae,_0x2c8d34,_0x50bed4,_0x3b3cc4,_0x6841bc):_0x4a8c21[_0x5d1537(0x1a4)](Ne,_0x2c8d34,_0x50bed4,_0x6841bc);}var ar=Object[_0x312368(0x2e8)],xt=(_0x71cf76,_0x55fc7a,_0x6e6727,_0x5df944)=>{var _0x594cf5=_0x312368;for(var _0x12c74e=_0x5df944>0x1?void 0x0:_0x5df944?ar(_0x55fc7a,_0x6e6727):_0x55fc7a,_0x5bd3d6=_0x71cf76[_0x594cf5(0x441)]-0x1,_0x39aab7;_0x5bd3d6>=0x0;_0x5bd3d6--)(_0x39aab7=_0x71cf76[_0x5bd3d6])&&(_0x12c74e=_0x39aab7(_0x12c74e)||_0x12c74e);return _0x12c74e;},H=(_0x3c6fa4,_0x47af22)=>(_0x3a21d4,_0x2468f0)=>_0x47af22(_0x3a21d4,_0x2468f0,_0x3c6fa4);let nt=class extends _0x35e9dc{constructor(_0x5bfbad,_0x54c1af,_0xce5935,_0x218799,_0x5731c3,_0xbc870f,_0x4a6aec,_0x4fb2ba,_0x48937f,_0x53e047,_0x2eb69e,_0x1e713d,_0x4e7210){var _0x5c3597=_0x312368;super(),N(this,_0x5c3597(0x3ec),new _0x3ad7f8(null)),N(this,_0x5c3597(0x34b),this[_0x5c3597(0x3ec)][_0x5c3597(0x45e)]()),N(this,_0x5c3597(0x3e8)),N(this,_0x5c3597(0x183),!0x1),N(this,'_changesetSessionId',''),N(this,_0x5c3597(0x38c),0x0),N(this,_0x5c3597(0x427),this['state$'][_0x5c3597(0x1e4)](_0x1674bb(_0x382763=>_0x382763?_0x382763[_0x5c3597(0x271)]:bi[_0x5c3597(0x42a)]),_0x2e68c8(0x1))),N(this,_0x5c3597(0x2b0),!0x1),N(this,_0x5c3597(0x19d),[]),(this[_0x5c3597(0x2f8)]=_0x5bfbad,this[_0x5c3597(0x444)]=_0x54c1af,this['_type']=_0xce5935,this[_0x5c3597(0x393)]=_0x218799,this[_0x5c3597(0x243)]=_0x5731c3,this[_0x5c3597(0x401)]=_0xbc870f,this['_revisionService']=_0x4a6aec,this[_0x5c3597(0x442)]=_0x4fb2ba,this[_0x5c3597(0x28b)]=_0x48937f,this[_0x5c3597(0x426)]=_0x53e047,this[_0x5c3597(0x1e7)]=_0x2eb69e,this['_singleActiveUnitService']=_0x1e713d,this['_localCacheService']=_0x4e7210);}get[_0x312368(0x185)](){return this['_state'];}async[_0x312368(0x3e4)](){var _0x41ff41=_0x312368;if(this[_0x41ff41(0x185)])throw new Error(_0x41ff41(0x380));await this[_0x41ff41(0x2d5)]();}[_0x312368(0x392)](){var _0x244b59=_0x312368;return this[_0x244b59(0x183)]=!0x0,_0x4e74b7(()=>{var _0x11a472=_0x244b59;this[_0x11a472(0x183)]=!0x1,this[_0x11a472(0x3be)]();});}['onLocalMutation'](_0x540b50){this['_onLocalMutation'](_0x540b50);}[_0x312368(0x23e)](_0x34760e){var _0x50c731=_0x312368;this[_0x50c731(0x3e8)]=_0x34760e,this[_0x50c731(0x3ec)]['next'](_0x34760e);}async[_0x312368(0x2d5)](){var _0x52fb8a=_0x312368,_0x505313;this[_0x52fb8a(0x23e)](await this['_createInitialState']()),this[_0x52fb8a(0x3b6)]&&((_0x505313=this[_0x52fb8a(0x3b6)])==null||_0x505313[_0x52fb8a(0x314)](this[_0x52fb8a(0x2f8)]),this[_0x52fb8a(0x33a)](this['_singleActiveUnitService'][_0x52fb8a(0x273)](this[_0x52fb8a(0x2f8)])['subscribe'](_0x27bed4=>{var _0x565cdc=_0x52fb8a;this[_0x565cdc(0x28b)][_0x565cdc(0x454)](_0x565cdc(0x247),_0x565cdc(0x40c),_0x27bed4),_0x27bed4===Ci[_0x565cdc(0x2e6)]?(this[_0x565cdc(0x442)][_0x565cdc(0x225)]({'id':se[_0x565cdc(0x3c5)]}),this[_0x565cdc(0x1e7)]['updatePermissionPoint'](new _0x57cfe9(this[_0x565cdc(0x2f8)])['id'],!0x1),this['_permissionService'][_0x565cdc(0x30f)](!0x1)):(this['_permissionService'][_0x565cdc(0x1b7)](new _0x57cfe9(this[_0x565cdc(0x2f8)])['id'],!0x0),this[_0x565cdc(0x1e7)][_0x565cdc(0x30f)](!0x0));})));let _0xe41e88=!0x1;return this[_0x52fb8a(0x33a)](this[_0x52fb8a(0x444)][_0x52fb8a(0x315)][_0x52fb8a(0x322)](_0x4e59e4=>{var _0x110610=_0x52fb8a;_0x4e59e4===Ee[_0x110610(0x29c)]?this[_0x110610(0x40e)](_0xe41e88):_0x4e59e4===Ee['OFFLINE']&&(_0xe41e88=!0x0,this[_0x110610(0x423)]());})),this[_0x52fb8a(0x33a)](this[_0x52fb8a(0x444)]['event$'][_0x52fb8a(0x322)](_0x3e387c=>{var _0x22890f=_0x52fb8a;try{switch(_0x3e387c[_0x22890f(0x1e1)]){case _0x223f92[_0x22890f(0x41d)]:{this[_0x22890f(0x46b)](_0x1e53d7(_0x3e387c[_0x22890f(0x30b)]));break;}case _0x223f92['CHANGESET_ACK']:{this[_0x22890f(0x213)](_0x3e387c['data']);break;}case _0x223f92['CHANGESET_REJ']:{this[_0x22890f(0x3ab)]();break;}case _0x223f92['CHANGESET_SHOULD_RETRY']:{this[_0x22890f(0x320)](_0x3e387c[_0x22890f(0x30b)]);break;}case _0x223f92['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x22890f(0x2fe)](_0x3e387c[_0x22890f(0x30b)][_0x22890f(0x1da)][_0x22890f(0x29e)](_0x17cc5e=>_0x1e53d7(_0x17cc5e)));break;}case _0x223f92[_0x22890f(0x39f)]:{this[_0x22890f(0x3ab)]({'isPermissionRej':!0x0});break;}case _0x223f92['UNISCRIPT_RUN']:break;}}catch(_0x35fa4a){throw console[_0x22890f(0x17d)](_0x22890f(0x3b9),_0x35fa4a),_0x35fa4a;}})),this[_0x52fb8a(0x3e8)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x1d5057=_0x312368;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1d5057(0x2b0)]=!0x0;}[_0x312368(0x3d6)](_0x1a6f92){var _0xff4f0a=_0x312368;this[_0xff4f0a(0x383)](),this[_0xff4f0a(0x23e)](this['_state']['appendMutation'](_0x1a6f92)),this['_unlockTransition']();}[_0x312368(0x46b)](_0x2bb15d){var _0x58588d=_0x312368;if(!(_0x2bb15d['revision']<=this[_0x58588d(0x1d3)][_0x58588d(0x1a2)](this['unitID']))){if(this[_0x58588d(0x183)]){this[_0x58588d(0x19d)]['push'](_0x2bb15d);return;}this[_0x58588d(0x1f9)](_0x2bb15d);}}[_0x312368(0x3be)](){var _0x20c882=_0x312368;this['_remoteChangesetQueue']['forEach'](_0x267fb4=>this[_0x20c882(0x1f9)](_0x267fb4)),this[_0x20c882(0x19d)]=[];}[_0x312368(0x1f9)](_0xd784b1){var _0x4971d5=_0x312368;const _0x3fef57=this[_0x4971d5(0x243)][_0x4971d5(0x2a5)]['fetchThroughInterceptors'](this[_0x4971d5(0x243)][_0x4971d5(0x2a5)]['getInterceptPoints']()[_0x4971d5(0x39d)])(_0xd784b1[_0x4971d5(0x2a4)],null)||_0xd784b1[_0x4971d5(0x2a4)],_0x5d43de={..._0xd784b1,'mutations':_0x3fef57};this['_lockTransition'](),this[_0x4971d5(0x23e)](this[_0x4971d5(0x3e8)][_0x4971d5(0x259)](_0x5d43de)),this['_unlockTransition']();}[_0x312368(0x213)](_0x38b6b5){var _0x165e73=_0x312368;this[_0x165e73(0x383)](),this[_0x165e73(0x23e)](this[_0x165e73(0x3e8)]['onRemoteAck'](_0x38b6b5)),this[_0x165e73(0x205)]();}['_onRemoteRejected'](_0x48d4bc){var _0x39004d=_0x312368;this['_lockTransition'](),this[_0x39004d(0x23e)](this[_0x39004d(0x3e8)]['onRemoteRej'](_0x48d4bc)),this[_0x39004d(0x205)]();}[_0x312368(0x320)](_0x227fad){var _0x5e4e34=_0x312368;this[_0x5e4e34(0x383)](),this[_0x5e4e34(0x23e)](this[_0x5e4e34(0x3e8)][_0x5e4e34(0x472)](_0x227fad)),this[_0x5e4e34(0x205)]();}[_0x312368(0x2fe)](_0x5a0fe9){var _0x1ae8f3=_0x312368;if(!(this['_state']instanceof ee))throw new TypeError(_0x1ae8f3(0x28f));const _0x38901f=_0x5a0fe9[_0x1ae8f3(0x29e)](_0x138bd3=>{var _0x3e21bd=_0x1ae8f3;const _0x169049=this[_0x3e21bd(0x243)][_0x3e21bd(0x2a5)]['fetchThroughInterceptors'](this[_0x3e21bd(0x243)]['interceptor'][_0x3e21bd(0x230)]()['COMPRESS_MUTATION_APPLY'])(_0x138bd3[_0x3e21bd(0x2a4)],null)||_0x138bd3[_0x3e21bd(0x2a4)];return{..._0x138bd3,'mutations':_0x169049};});this[_0x1ae8f3(0x383)](),this['_updateState'](this[_0x1ae8f3(0x3e8)]['onMissedChangesetFetched'](_0x38901f)),this[_0x1ae8f3(0x205)]();}[_0x312368(0x423)](){var _0x1ac143=_0x312368;this['_lockTransition'](),this['_updateState'](this[_0x1ac143(0x3e8)]['toggleOffline']()),this[_0x1ac143(0x205)]();}['_toggleOnline'](_0x5399fa=!0x1){var _0x4fef3e=_0x312368;this['_lockTransition'](),this['_updateState'](this[_0x4fef3e(0x3e8)][_0x4fef3e(0x232)]()),this[_0x4fef3e(0x205)]();const _0x32d947=this['_state'];_0x5399fa&&_0x32d947 instanceof Ne&&(this[_0x4fef3e(0x383)](),this[_0x4fef3e(0x23e)](_0x32d947['fetchMiss']()),this[_0x4fef3e(0x205)]());}async[_0x312368(0x40f)](){return new Promise(_0xe0cea4=>{var _0x14eb8b=_0x2088;this[_0x14eb8b(0x444)]['sessionStatus$'][_0x14eb8b(0x1e4)](_0x37864f(0x1))[_0x14eb8b(0x322)](async _0x5a3f92=>{var _0x5356b3=_0x14eb8b;_0xe0cea4(await this[_0x5356b3(0x306)](_0x5a3f92===Ee[_0x5356b3(0x29c)]));});});}[_0x312368(0x47a)](){var _0x45c227=_0x312368;const _0x2f5693=this[_0x45c227(0x2f8)];return{'onStateChange':(_0x48c052,_0x789996)=>{var _0x47483f=_0x45c227;if(_0x48c052!==this[_0x47483f(0x3e8)])throw new Error(_0x47483f(0x1b9)+_0x48c052[_0x47483f(0x271)]+_0x47483f(0x47d)+_0x789996['status']+_0x47483f(0x368)+this['_state'][_0x47483f(0x271)]);this[_0x47483f(0x23e)](_0x789996);},'onSendChangeset':_0x37bf3a=>{var _0x21e2f2=_0x45c227;_0x37bf3a[_0x21e2f2(0x340)]||(_0x37bf3a[_0x21e2f2(0x340)]=this[_0x21e2f2(0x342)],_0x37bf3a['reqId']=++this['_changesetReqId']);const _0x455d41={'eventID':_0x223f92[_0x21e2f2(0x42e)],'data':{'unitID':_0x37bf3a[_0x21e2f2(0x2f8)],'unitType':this[_0x21e2f2(0x382)],'changeset':_0x37bf3a,'memberID':this[_0x21e2f2(0x444)][_0x21e2f2(0x2bb)]()}};this[_0x21e2f2(0x444)][_0x21e2f2(0x425)](_0x455d41,this['unitID']);},'onMissingChangesets':({from:_0x200687,to:_0x4dbb0d})=>{var _0x3e8468=_0x45c227;this[_0x3e8468(0x28b)][_0x3e8468(0x454)](_0x3e8468(0x247),_0x3e8468(0x455)+_0x200687+'\x20to\x20'+_0x4dbb0d);const _0x2fd02f={'eventID':_0x223f92['FETCH_MISSING'],'data':{'unitID':_0x2f5693,'unitType':this[_0x3e8468(0x382)],'from':_0x200687,'to':_0x4dbb0d}};this['session'][_0x3e8468(0x425)](_0x2fd02f,this[_0x3e8468(0x2f8)]);}};}async['_createInitialStateImpl'](_0x1c6ba5){var _0x2ab0d8=_0x312368,_0x285c3e,_0x243bb6,_0x4d2481;const _0x42f3e0=await((_0x285c3e=this[_0x2ab0d8(0x26d)])==null?void 0x0:_0x285c3e[_0x2ab0d8(0x2c8)](this['unitID'])),_0x3f333c=(_0x243bb6=_0x42f3e0==null?void 0x0:_0x42f3e0[_0x2ab0d8(0x2a4)])!=null?_0x243bb6:[],_0x5b351c=(_0x4d2481=_0x42f3e0==null?void 0x0:_0x42f3e0[_0x2ab0d8(0x395)])!=null?_0x4d2481:null,_0x41c8a8=!!(_0x5b351c!=null&&_0x5b351c[_0x2ab0d8(0x340)])&&!!(_0x5b351c!=null&&_0x5b351c[_0x2ab0d8(0x3e2)]);this[_0x2ab0d8(0x342)]=_0x41c8a8?_0x5b351c[_0x2ab0d8(0x340)]:Zn(),this[_0x2ab0d8(0x38c)]=_0x41c8a8?_0x5b351c['reqId']:0x0;const _0x2664dc=this[_0x2ab0d8(0x2f8)];try{this[_0x2ab0d8(0x414)](_0x5b351c,_0x3f333c);}catch(_0x40be2c){this['_logService'][_0x2ab0d8(0x17d)](_0x40be2c);}const _0x4adbee=this[_0x2ab0d8(0x47a)]();if(_0x1c6ba5){const _0x31088b=Oi(this['_injector'],_0x2664dc,this[_0x2ab0d8(0x382)],_0x5b351c,_0x3f333c,_0x4adbee);return _0x31088b instanceof ae?_0x31088b[_0x2ab0d8(0x190)]():(_0x31088b instanceof oe||_0x31088b instanceof le)&&_0x31088b[_0x2ab0d8(0x3c6)](),_0x31088b;}return this[_0x2ab0d8(0x393)]['createInstance'](de,_0x2664dc,this[_0x2ab0d8(0x382)],_0x5b351c,_0x3f333c,_0x4adbee);}[_0x312368(0x414)](_0x5c5344,_0x1a4469){var _0x293148=_0x312368,_0xe45997,_0x1c87a2;const _0xd550cf=this[_0x293148(0x243)][_0x293148(0x2a5)][_0x293148(0x22f)](this[_0x293148(0x243)]['interceptor'][_0x293148(0x230)]()[_0x293148(0x39d)]);(_0xe45997=_0xd550cf((_0x5c5344==null?void 0x0:_0x5c5344[_0x293148(0x2a4)])||[],null))==null||_0xe45997['forEach'](_0x28a072=>this[_0x293148(0x426)][_0x293148(0x359)](_0x28a072['id'],_0x28a072['params'])),(_0x1c87a2=_0xd550cf(_0x1a4469||[],null))==null||_0x1c87a2['forEach'](_0x18cbec=>this[_0x293148(0x426)][_0x293148(0x359)](_0x18cbec['id'],_0x18cbec[_0x293148(0x371)]));}};nt=xt([H(0x3,_0x2586f2(_0x4c9895)),H(0x4,_0x2586f2(_0x5a6ac8)),H(0x5,_0x2586f2(_0x16779f)),H(0x6,_0x2586f2(_0x3b5bf2)),H(0x7,_0x2586f2(pe)),H(0x8,_0x44b611),H(0x9,_0x2b8c90),H(0xa,_0x581021),H(0xb,_0x2e05d5(ht)),H(0xc,_0x2e05d5(J))],nt);let It=class extends nt{constructor(_0x1dd1ef,_0x1e3e68,_0x207fbf,_0x3963b7,_0x1eda4d,_0x36ed16,_0x235190,_0x353709,_0xe694f4,_0x5ea430,_0x20914f,_0x520b1b,_0x580162){var _0x41d447=_0x312368;super(_0x1dd1ef,_0x207fbf,_0x1e3e68,_0x3963b7,_0x1eda4d,_0x36ed16,_0x235190,_0x353709,_0xe694f4,_0x5ea430,_0x20914f,_0x520b1b,_0x580162),N(this,_0x41d447(0x2c7),null),(this[_0x41d447(0x2f8)]=_0x1dd1ef,this['type']=_0x1e3e68);}[_0x312368(0x1d5)](_0x5438b8){this['_handlerCallback']=_0x5438b8;}[_0x312368(0x1b6)](){var _0x5d9096=_0x312368;this[_0x5d9096(0x2c7)]=null,super[_0x5d9096(0x1b6)]();}['_createHandler'](){var _0x3d21b5=_0x312368;const _0x55d0ab=super[_0x3d21b5(0x47a)]();return _0x55d0ab[_0x3d21b5(0x2a3)]=_0x5bea87=>{var _0x166b8d=_0x3d21b5,_0x54b1f3,_0x50cf5d;return(_0x50cf5d=(_0x54b1f3=this['_handlerCallback'])==null?void 0x0:_0x54b1f3[_0x166b8d(0x2a3)])==null?void 0x0:_0x50cf5d[_0x166b8d(0x35b)](_0x54b1f3,_0x5bea87);},_0x55d0ab[_0x3d21b5(0x3db)]=_0x5048a2=>{var _0x4f856a=_0x3d21b5,_0xd55817,_0x1d065e;return(_0x1d065e=(_0xd55817=this[_0x4f856a(0x2c7)])==null?void 0x0:_0xd55817['onTransformState'])==null?void 0x0:_0x1d065e['call'](_0xd55817,_0x5048a2);},_0x55d0ab[_0x3d21b5(0x354)]=_0xf64778=>{var _0x1f1c56=_0x3d21b5,_0x4c0528,_0x54dbe9;return(_0x54dbe9=(_0x4c0528=this[_0x1f1c56(0x2c7)])==null?void 0x0:_0x4c0528['onTransformSelections'])==null?void 0x0:_0x54dbe9['call'](_0x4c0528,_0xf64778);},_0x55d0ab[_0x3d21b5(0x214)]=_0x1a5ed9=>{var _0xe5490b=_0x3d21b5,_0x4fc42b,_0x5a5f47;return(_0x5a5f47=(_0x4fc42b=this['_handlerCallback'])==null?void 0x0:_0x4fc42b[_0xe5490b(0x214)])==null?void 0x0:_0x5a5f47[_0xe5490b(0x35b)](_0x4fc42b,_0x1a5ed9);},_0x55d0ab[_0x3d21b5(0x235)]=_0x441260=>{var _0x488268=_0x3d21b5,_0xb72c3e,_0x8f900a,_0x4b0d57;if(!((_0xb72c3e=this[_0x488268(0x2c7)])!=null&&_0xb72c3e[_0x488268(0x235)]))throw new Error(_0x488268(0x47c));return(_0x4b0d57=(_0x8f900a=this[_0x488268(0x2c7)])==null?void 0x0:_0x8f900a[_0x488268(0x235)])==null?void 0x0:_0x4b0d57[_0x488268(0x35b)](_0x8f900a,_0x441260);},_0x55d0ab[_0x3d21b5(0x270)]=_0x271ec1=>{var _0x1d481e=_0x3d21b5,_0xb58342,_0x522f8d,_0x510049;if(!((_0xb58342=this[_0x1d481e(0x2c7)])!=null&&_0xb58342['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x510049=(_0x522f8d=this['_handlerCallback'])==null?void 0x0:_0x522f8d[_0x1d481e(0x270)])==null?void 0x0:_0x510049[_0x1d481e(0x35b)](_0x522f8d,_0x271ec1);},_0x55d0ab;}async[_0x312368(0x2d5)](){var _0x9bcf91=_0x312368;const _0x4faa58=await super[_0x9bcf91(0x2d5)]();return this[_0x9bcf91(0x33a)](this[_0x9bcf91(0x426)][_0x9bcf91(0x200)]((_0x1c83b2,_0x135834)=>{var _0x121f35=_0x9bcf91;if(_0x1c83b2[_0x121f35(0x291)]!==_0x39b955[_0x121f35(0x1fa)]||_0x135834!=null&&_0x135834[_0x121f35(0x177)]||_0x135834!=null&&_0x135834[_0x121f35(0x1ed)]||_0x1c83b2['id']===_0x14bd8f['id'])return;const _0x99e406=_0x1c83b2[_0x121f35(0x371)];if((_0x99e406==null?void 0x0:_0x99e406[_0x121f35(0x452)])!==this[_0x121f35(0x2f8)])return;const _0x4b0146=_0x1c83b2,_0x45f98e=this[_0x121f35(0x243)]['interceptor'][_0x121f35(0x22f)](this[_0x121f35(0x243)][_0x121f35(0x2a5)][_0x121f35(0x230)]()[_0x121f35(0x192)])([_0x4b0146],null)||[_0x4b0146];this[_0x121f35(0x3d6)](_0x45f98e[0x0]);})),_0x4faa58;}};It=xt([H(0x3,_0x2586f2(_0x4c9895)),H(0x4,_0x2586f2(_0x5a6ac8)),H(0x5,_0x2586f2(_0x16779f)),H(0x6,_0x2586f2(_0x3b5bf2)),H(0x7,_0x2586f2(pe)),H(0x8,_0x44b611),H(0x9,_0x2b8c90),H(0xa,_0x581021),H(0xb,_0x2e05d5(ht)),H(0xc,_0x2e05d5(J))],It);let Tt=class extends nt{constructor(_0x569e71,_0x353af3,_0x372b35,_0x281e79,_0x4a499f,_0x5692e6,_0x2f2371,_0x3d6467,_0x5c0acb,_0x1f9150,_0x7bff3c,_0x213422,_0x25f3d9,_0x2267df){var _0x10c3b8=_0x312368;super(_0x569e71,_0x372b35,_0x353af3,_0x281e79,_0x4a499f,_0x5692e6,_0x2f2371,_0x5c0acb,_0x1f9150,_0x7bff3c,_0x213422,_0x25f3d9,_0x2267df),this[_0x10c3b8(0x2f8)]=_0x569e71,this['type']=_0x353af3,this[_0x10c3b8(0x2e5)]=_0x3d6467;}[_0x312368(0x47a)](){var _0x4aeec2=_0x312368;const _0x214b9f=super[_0x4aeec2(0x47a)]();return _0x214b9f['onTransformSelections']=_0x4a7e99=>this[_0x4aeec2(0x2e5)][_0x4aeec2(0x1a7)](_0x4a7e99),_0x214b9f;}async[_0x312368(0x2d5)](){var _0x5ac52f=_0x312368;const _0x538265=await super['_init']();return this['disposeWithMe'](this[_0x5ac52f(0x426)]['onCommandExecuted']((_0x34b01d,_0x222192)=>{var _0x1d73d2=_0x5ac52f;if(_0x34b01d[_0x1d73d2(0x291)]!==_0x39b955[_0x1d73d2(0x1fa)]||_0x222192!=null&&_0x222192[_0x1d73d2(0x177)]||_0x222192!=null&&_0x222192[_0x1d73d2(0x1ed)])return;const _0x20c027=_0x34b01d['params'];if((_0x20c027==null?void 0x0:_0x20c027[_0x1d73d2(0x452)])!==this[_0x1d73d2(0x2f8)])return;const _0x2a998c=_0x34b01d,_0x543dfd=this['_compressMutationService']['interceptor'][_0x1d73d2(0x22f)](this[_0x1d73d2(0x243)]['interceptor'][_0x1d73d2(0x230)]()[_0x1d73d2(0x192)])([_0x2a998c],null)||[_0x2a998c];this['_onLocalMutation'](_0x543dfd[0x0]);})),_0x538265;}};Tt=xt([H(0x3,_0x2586f2(_0x4c9895)),H(0x4,_0x2586f2(_0x5a6ac8)),H(0x5,_0x2586f2(_0x16779f)),H(0x6,_0x2586f2(_0x3b5bf2)),H(0x7,_0x2586f2(it)),H(0x8,_0x2586f2(pe)),H(0x9,_0x44b611),H(0xa,_0x2b8c90),H(0xb,_0x581021),H(0xc,_0x2e05d5(ht)),H(0xd,_0x2e05d5(J))],Tt);var or=Object[_0x312368(0x2e8)],cr=(_0x8e20d3,_0x40461f,_0x52bd32,_0x4894d6)=>{var _0x10b669=_0x312368;for(var _0x30843a=_0x4894d6>0x1?void 0x0:_0x4894d6?or(_0x40461f,_0x52bd32):_0x40461f,_0x5905d8=_0x8e20d3[_0x10b669(0x441)]-0x1,_0x5dd98f;_0x5905d8>=0x0;_0x5905d8--)(_0x5dd98f=_0x8e20d3[_0x5905d8])&&(_0x30843a=_0x5dd98f(_0x30843a)||_0x30843a);return _0x30843a;},ft=(_0x40f7dc,_0x3bdd22)=>(_0x6c926e,_0x468ea3)=>_0x3bdd22(_0x6c926e,_0x468ea3,_0x40f7dc);let rt=class extends _0x35e9dc{constructor(_0xf4c15,_0x3fdd24,_0x5cde9a){var _0x431094=_0x312368;super(),N(this,_0x431094(0x193),new Map()),N(this,_0x431094(0x1ee),new _0x58101f()),N(this,_0x431094(0x2de),this[_0x431094(0x1ee)][_0x431094(0x45e)]()),(this[_0x431094(0x393)]=_0xf4c15,this[_0x431094(0x311)]=_0x3fdd24,this[_0x431094(0x251)]=_0x5cde9a,this['_init']());}['dispose'](){var _0x447d11=_0x312368;super[_0x447d11(0x1b6)](),this[_0x447d11(0x193)][_0x447d11(0x46d)](_0x554408=>_0x554408[_0x447d11(0x1b6)]()),this[_0x447d11(0x193)][_0x447d11(0x25b)]();}[_0x312368(0x1f0)](_0x2afd7e){var _0x103091=_0x312368,_0x950877;return(_0x950877=this['_entities'][_0x103091(0x31d)](_0x2afd7e))!=null?_0x950877:null;}[_0x312368(0x3d3)](_0x29cea0){var _0xd62556=_0x312368;const _0x411a46=this[_0xd62556(0x1f0)](_0x29cea0);return _0x411a46?_0x533bcd(_0x411a46):this[_0xd62556(0x1ee)][_0xd62556(0x1e4)](_0xcaa7c8(_0x2bc680=>_0x2bc680[_0xd62556(0x2f8)]===_0x29cea0));}[_0x312368(0x2d4)](_0x4eac0d){var _0x49f392=_0x312368;return _0x26c3b2(this['getCollabEntity$'](_0x4eac0d)[_0x49f392(0x1e4)](_0x4d6eb1(()=>{})));}[_0x312368(0x2d5)](){var _0x447bbc=_0x312368;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3c7b45[_0x447bbc(0x42b)])[_0x447bbc(0x1e4)](_0x1e6d6f(this[_0x447bbc(0x1c7)]),_0x5e1de8(0x10))['subscribe'](async _0x5e5409=>{var _0x3e0baf=_0x447bbc;const _0x50ae4f=_0x5e5409['getUnitId'](),_0xdc54c9=await this[_0x3e0baf(0x2bd)](_0x50ae4f,Q[_0x3e0baf(0x42b)]);this[_0x3e0baf(0x193)][_0x3e0baf(0x304)](_0x50ae4f,_0xdc54c9);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3c7b45[_0x447bbc(0x419)])[_0x447bbc(0x1e4)](_0x1e6d6f(this['dispose$']),_0x5e1de8(0x10))['pipe'](_0xcaa7c8(_0x587801=>!_0x587801[_0x447bbc(0x184)]()['startsWith']('__')))['subscribe'](async _0x2f5bea=>{var _0x15836f=_0x447bbc;const _0xcef30f=_0x2f5bea[_0x15836f(0x184)](),_0x3dcce4=await this[_0x15836f(0x2bd)](_0xcef30f,Q[_0x15836f(0x419)]);this['_entities'][_0x15836f(0x304)](_0xcef30f,_0x3dcce4);}),_0x258385(this[_0x447bbc(0x251)]['getTypeOfUnitDisposed$'](_0x3c7b45['UNIVER_SHEET']),this[_0x447bbc(0x251)][_0x447bbc(0x45f)](_0x3c7b45[_0x447bbc(0x419)]))[_0x447bbc(0x1e4)](_0x1e6d6f(this[_0x447bbc(0x1c7)]))['subscribe'](_0x1f525f=>{var _0x430236=_0x447bbc;const _0x12a9eb=_0x1f525f[_0x430236(0x184)](),_0x514344=this[_0x430236(0x193)][_0x430236(0x31d)](_0x12a9eb);_0x514344&&(_0x514344[_0x430236(0x1b6)](),this['_entities'][_0x430236(0x21b)](_0x12a9eb));});}async[_0x312368(0x2bd)](_0x241791,_0x4db221){var _0x16deca=_0x312368;const _0x4ca47d=await this[_0x16deca(0x311)][_0x16deca(0x1ca)](_0x241791),_0x28c371=this[_0x16deca(0x393)][_0x16deca(0x1a4)](this[_0x16deca(0x2c2)](_0x4db221),_0x241791,_0x4db221,_0x4ca47d);return await _0x28c371['init'](),this['_entityInit$']['next'](_0x28c371),_0x28c371;}[_0x312368(0x2c2)](_0x9fe083){var _0x45ce84=_0x312368;switch(_0x9fe083){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x45ce84(0x3bd)+_0x9fe083);}}};rt=cr([ft(0x0,_0x2586f2(_0x4c9895)),ft(0x1,_0x2586f2(Le)),ft(0x2,_0x453383)],rt);var hr=Object['getOwnPropertyDescriptor'],_r=(_0x3f8d13,_0x2f22f0,_0x21af49,_0x5c063f)=>{var _0x10d6ed=_0x312368;for(var _0xa1c4b9=_0x5c063f>0x1?void 0x0:_0x5c063f?hr(_0x2f22f0,_0x21af49):_0x2f22f0,_0x49df78=_0x3f8d13[_0x10d6ed(0x441)]-0x1,_0x4c88f1;_0x49df78>=0x0;_0x49df78--)(_0x4c88f1=_0x3f8d13[_0x49df78])&&(_0xa1c4b9=_0x4c88f1(_0xa1c4b9)||_0xa1c4b9);return _0xa1c4b9;},zt=(_0x376d5b,_0x285aa1)=>(_0x54dbdc,_0x1b2205)=>_0x285aa1(_0x54dbdc,_0x1b2205,_0x376d5b);const lr=_0x312368(0x1f5),ur='Univer';let Ct=class extends _0x2cbf3a{constructor(_0x30812f,_0xbf2c2f){var _0x92c4cd=_0x312368;super(),this[_0x92c4cd(0x251)]=_0x30812f,this['_configService']=_0xbf2c2f,this['_init']();}[_0x312368(0x2d5)](){var _0xaca92a=_0x312368;this[_0xaca92a(0x33a)](this[_0xaca92a(0x251)][_0xaca92a(0x402)][_0xaca92a(0x322)](()=>{var _0xab13ca=_0xaca92a,_0x219e12;const _0x5e7feb=this[_0xab13ca(0x251)][_0xab13ca(0x436)]();let _0x143740=(_0x219e12=this[_0xab13ca(0x1d0)]['getConfig'](lr))!=null?_0x219e12:ur;_0x5e7feb instanceof _0x320c6e&&(_0x143740=_0x5e7feb['name']),document[_0xab13ca(0x268)]=_0x143740;}));}};Ct=_r([zt(0x0,_0x453383),zt(0x1,_0xf309d1)],Ct);var dr=Object[_0x312368(0x2e8)],fr=(_0xe9846e,_0x565d19,_0x285647,_0x3b7e4c)=>{var _0x104a9e=_0x312368;for(var _0x41d29d=_0x3b7e4c>0x1?void 0x0:_0x3b7e4c?dr(_0x565d19,_0x285647):_0x565d19,_0x44a17e=_0xe9846e[_0x104a9e(0x441)]-0x1,_0x5730ef;_0x44a17e>=0x0;_0x44a17e--)(_0x5730ef=_0xe9846e[_0x44a17e])&&(_0x41d29d=_0x5730ef(_0x41d29d)||_0x41d29d);return _0x41d29d;},vt=(_0x352831,_0x2dd19f)=>(_0x2e4a6c,_0x499829)=>_0x2dd19f(_0x2e4a6c,_0x499829,_0x352831);let st=class{constructor(_0x388983,_0x3a5822,_0x5cedbf){var _0x4db1cb=_0x312368;this['_configService']=_0x388983,this[_0x4db1cb(0x262)]=_0x3a5822,this[_0x4db1cb(0x241)]=_0x5cedbf,this['init']();}['init'](){var _0x3c51a5=_0x312368;this[_0x3c51a5(0x262)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1c2bae,_0x5ae4ca)=>_0x5ae4ca(_0x1c2bae)[_0x3c51a5(0x1e4)](_0x4801de(async _0x58edc7=>{var _0x23cd52=_0x3c51a5;const _0x5caa33=_0x58edc7;if(_0x5caa33[_0x23cd52(0x271)]===0x191){if(typeof window>'u')throw new Error(_0x23cd52(0x2b3));if(window[_0x23cd52(0x249)](this[_0x23cd52(0x241)]['t'](_0x23cd52(0x36f)))){const _0x2bdad2=window[_0x23cd52(0x308)](window[_0x23cd52(0x417)][_0x23cd52(0x26b)]);window[_0x23cd52(0x417)]['href']=this[_0x23cd52(0x3da)]()+_0x23cd52(0x312)+_0x2bdad2;}}return _0x5caa33;}))});}['_getLoginPath'](){var _0x460b30=_0x312368,_0x114535,_0x15c452;const _0x5799ce=this[_0x460b30(0x1d0)]['getConfig'](Un),_0x136c7a=this[_0x460b30(0x1d0)][_0x460b30(0x1ef)](q);return(_0x15c452=(_0x114535=_0x136c7a==null?void 0x0:_0x136c7a[_0x460b30(0x1eb)])!=null?_0x114535:_0x5799ce)!=null?_0x15c452:wn;}};st=fr([vt(0x0,_0xf309d1),vt(0x1,_0x2586f2(_0x38beb7)),vt(0x2,_0x2586f2(_0x16779f))],st);var vr=Object[_0x312368(0x2e8)],pr=(_0x5bd402,_0x4336e2,_0x332c07,_0x572f4b)=>{var _0x34c1bf=_0x312368;for(var _0x2a3d04=_0x572f4b>0x1?void 0x0:_0x572f4b?vr(_0x4336e2,_0x332c07):_0x4336e2,_0x254e0e=_0x5bd402[_0x34c1bf(0x441)]-0x1,_0x5eb213;_0x254e0e>=0x0;_0x254e0e--)(_0x5eb213=_0x5bd402[_0x254e0e])&&(_0x2a3d04=_0x5eb213(_0x2a3d04)||_0x2a3d04);return _0x2a3d04;},Jt=(_0x40d84a,_0x5cd503)=>(_0x7f5837,_0x1c7eff)=>_0x5cd503(_0x7f5837,_0x1c7eff,_0x40d84a);const Ni='AUTHZ_URL_KEY',mr=_0x312368(0x3f7);let Rt=class extends _0x2cbf3a{constructor(_0x3a78c2,_0x5120f1){var _0x327f09=_0x312368;super(),this['_HTTPService']=_0x3a78c2,this[_0x327f09(0x1d0)]=_0x5120f1,this['_initMergeInterceptor']();}[_0x312368(0x3e9)](){var _0x23e790=_0x312368;const _0x57ba1b=this;this[_0x23e790(0x33a)](this[_0x23e790(0x3c2)][_0x23e790(0x218)]({'priority':0x3e7,'interceptor':_0x57beb4({'isMatch'(_0x47f368){var _0x4bf405=_0x23e790,_0x57707f;if(_0x47f368['method']==='POST'&&((_0x57707f=_0x47f368[_0x4bf405(0x266)])!=null&&_0x57707f[_0x4bf405(0x403)])){const {objectID:_0x5c787b,objectType:_0xf27b24}=_0x47f368['requestParams'][_0x4bf405(0x403)]||{};if(!_0x5c787b||_0xf27b24===void 0x0)return!0x1;const _0x2f8af9=_0x57ba1b[_0x4bf405(0x433)]()+'/'+_0xf27b24+'/object/'+_0x5c787b+_0x4bf405(0x43a);if(_0x47f368[_0x4bf405(0x3a4)]===_0x2f8af9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3fcb09){var _0x706cc6=_0x23e790,_0x4e4629;return(_0x4e4629=_0x3fcb09[_0x706cc6(0x266)])==null?void 0x0:_0x4e4629['body'];},'mergeParamsToRequest'(_0x352240,_0x161432){var _0x52d6b2=_0x23e790;const _0x551529=_0x57ba1b[_0x52d6b2(0x433)]()+_0x52d6b2(0x269),_0x2b6ed4=_0x352240[_0x52d6b2(0x1bc)]((_0x334391,_0x5f19cd)=>{var _0x25493b=_0x52d6b2;const {unitID:_0x2ae8ef,objectID:_0xf6c1e3,objectType:_0x418cc8,actions:_0x4c96d4}=_0x5f19cd;return _0x334391[_0x2ae8ef]||(_0x334391[_0x2ae8ef]={}),_0x334391[_0x2ae8ef][_0xf6c1e3]||(_0x334391[_0x2ae8ef][_0xf6c1e3]={'objectID':_0xf6c1e3,'objectType':_0x418cc8,'actions':[]}),_0x334391[_0x2ae8ef][_0xf6c1e3][_0x25493b(0x264)][_0x25493b(0x351)](..._0x4c96d4),_0x334391;},{}),_0x30dfe2=[];for(const _0x2dab4c in _0x2b6ed4)for(const _0x18811f in _0x2b6ed4[_0x2dab4c]){const {actions:_0x38fe88,objectType:_0x4c088b}=_0x2b6ed4[_0x2dab4c][_0x18811f],_0xa3b022=[...new Set(_0x38fe88)];_0x30dfe2[_0x52d6b2(0x351)]({'unitID':_0x2dab4c,'objectID':_0x18811f,'objectType':_0x4c088b,'actions':_0xa3b022});}return new _0x27b250(_0x52d6b2(0x2d6),_0x551529,{'headers':_0x161432[_0x52d6b2(0x26e)],'withCredentials':_0x161432[_0x52d6b2(0x3ef)],'responseType':_0x161432[_0x52d6b2(0x424)],'body':{'requests':_0x30dfe2}});}},{'distributeResult'(_0x265879,_0xbfc046){var _0x747cd=_0x23e790;const {objectActions:_0x5f5c9a}=_0x265879;return _0xbfc046[_0x747cd(0x29e)](_0xb5969d=>{var _0x2d0864=_0x747cd;const {unitID:_0x9bb971,objectID:_0x5488de,actions:_0x2cd947}=_0xb5969d,_0xd799df=_0x5f5c9a[_0x2d0864(0x2d9)](_0x28affa=>_0x28affa[_0x2d0864(0x2f8)]===_0x9bb971&&_0x28affa[_0x2d0864(0x3bf)]===_0x5488de),_0xc0eace=_0x2cd947[_0x2d0864(0x29e)](_0xa6446c=>_0xd799df==null?void 0x0:_0xd799df['actions'][_0x2d0864(0x2d9)](_0xd1d656=>_0xd1d656[_0x2d0864(0x22a)]===_0xa6446c))[_0x2d0864(0x31a)](_0x58d1e9=>!!_0x58d1e9);return{'config':_0xb5969d,'result':{'actions':_0xc0eace,'error':_0x265879[_0x2d0864(0x17d)]}};});}})}));}[_0x312368(0x433)](){var _0x280bac=_0x312368,_0x5e6908,_0x262425;const _0x41d8ba=this['_configService'][_0x280bac(0x1ef)](Ni),_0x4037ef=this[_0x280bac(0x1d0)][_0x280bac(0x1ef)](q);return(_0x262425=(_0x5e6908=_0x4037ef==null?void 0x0:_0x4037ef[_0x280bac(0x30c)])!=null?_0x5e6908:_0x41d8ba)!=null?_0x262425:mr;}async[_0x312368(0x196)](_0x579c1f){var _0x5646ff=_0x312368;const _0x4226d0=this[_0x5646ff(0x433)]()+'/'+_0x579c1f[_0x5646ff(0x358)]+'/object';return(await this['_HTTPService'][_0x5646ff(0x37a)](_0x4226d0,{'body':_0x579c1f}))[_0x5646ff(0x403)][_0x5646ff(0x3bf)]||'';}async['list'](_0x26d419){var _0x496729=_0x312368;const _0x49100f=this[_0x496729(0x433)]()+_0x496729(0x46c);return(await this[_0x496729(0x3c2)][_0x496729(0x37a)](_0x49100f,{'body':_0x26d419}))[_0x496729(0x403)][_0x496729(0x23a)];}async['update'](_0x1a8c96){var _0x57f25a=_0x312368,_0x25c7e8,_0x201761;const _0x4d404d=this['_getAPIPrefixPath']()+'/'+_0x1a8c96[_0x57f25a(0x358)]+_0x57f25a(0x32e)+_0x1a8c96[_0x57f25a(0x3bf)],_0x3da39f=await this[_0x57f25a(0x3c2)][_0x57f25a(0x191)](_0x4d404d,{'body':_0x1a8c96});if(((_0x201761=(_0x25c7e8=_0x3da39f==null?void 0x0:_0x3da39f[_0x57f25a(0x403)])==null?void 0x0:_0x25c7e8[_0x57f25a(0x17d)])==null?void 0x0:_0x201761[_0x57f25a(0x25d)])!==0x1)throw new Error(_0x57f25a(0x248));}async[_0x312368(0x439)](_0x70c994){var _0xfc841c=_0x312368;const _0x23bab4=this[_0xfc841c(0x433)]()+'/'+_0x70c994[_0xfc841c(0x358)]+_0xfc841c(0x32e)+_0x70c994['objectID']+_0xfc841c(0x43a);return(await this[_0xfc841c(0x3c2)][_0xfc841c(0x37a)](_0x23bab4,{'body':_0x70c994}))[_0xfc841c(0x403)][_0xfc841c(0x264)];}async[_0x312368(0x42f)](_0x30c5c9){var _0x514393=_0x312368;const _0x51271a=this['_getAPIPrefixPath']()+_0x514393(0x269);return(await this[_0x514393(0x3c2)]['post'](_0x51271a,{'body':{'requests':_0x30c5c9}}))[_0x514393(0x403)]['objectActions'];}async[_0x312368(0x2e9)](_0x1d1038){var _0x42690e=_0x312368;const _0x653bd5=this['_getAPIPrefixPath']()+'/'+_0x1d1038[_0x42690e(0x358)]+_0x42690e(0x2c4),_0x3f4635=await this[_0x42690e(0x3c2)]['post'](_0x653bd5,{'body':_0x1d1038});return{'roles':_0x3f4635[_0x42690e(0x403)][_0x42690e(0x1ff)],'actions':_0x3f4635[_0x42690e(0x403)][_0x42690e(0x264)]};}async['deleteCollaborator'](_0x31718b){var _0x334f97=_0x312368;const _0x5567b3=this[_0x334f97(0x433)]()+_0x334f97(0x341);await this[_0x334f97(0x3c2)][_0x334f97(0x21b)](_0x5567b3,{'params':{'collaboratorID':_0x31718b[_0x334f97(0x3cd)],'objectID':_0x31718b[_0x334f97(0x3bf)],'unitID':_0x31718b[_0x334f97(0x2f8)]}});}async['updateCollaborator'](_0x30f5ae){var _0x53932c=_0x312368;const _0xa3825=this[_0x53932c(0x433)]()+'/collaborator';await this[_0x53932c(0x3c2)][_0x53932c(0x290)](_0xa3825,{'body':_0x30f5ae});}async[_0x312368(0x37b)](_0x2ccbbc){var _0x36d1c3=_0x312368;const _0x32071a=this[_0x36d1c3(0x433)]()+_0x36d1c3(0x341);await this[_0x36d1c3(0x3c2)][_0x36d1c3(0x37a)](_0x32071a,{'body':_0x2ccbbc});}async[_0x312368(0x1d9)](_0x4f3f17){var _0x282b00=_0x312368;const _0x2ac3c2=this[_0x282b00(0x433)]()+_0x282b00(0x341);return(await this['_HTTPService'][_0x282b00(0x31d)](_0x2ac3c2,{'params':{'objectID':_0x4f3f17[_0x282b00(0x3bf)],'unitID':_0x4f3f17[_0x282b00(0x2f8)]}}))['body']['collaborators'];}async[_0x312368(0x39b)](_0x5dc14e){var _0x10eaed=_0x312368;const _0x22208f=this[_0x10eaed(0x433)]()+_0x10eaed(0x341);await this[_0x10eaed(0x3c2)]['put'](_0x22208f,{'body':_0x5dc14e});}};Rt=pr([Jt(0x0,_0x2586f2(_0x38beb7)),Jt(0x1,_0x2586f2(_0xf309d1))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2e80f4){var _0x3c91b6=_0x312368;return _0x2e80f4&&_0x2e80f4[_0x3c91b6(0x43b)]&&Object['prototype']['hasOwnProperty'][_0x3c91b6(0x35b)](_0x2e80f4,_0x3c91b6(0x1dc))?_0x2e80f4[_0x3c91b6(0x1dc)]:_0x2e80f4;}var Ve={'exports':{}};function gr(_0x2b4e8c){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2b4e8c+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Sr=Ge[_0x312368(0x24d)],Xt;function ie(){return Xt||(Xt=0x1,function(_0x581f79,_0x395f66){(function(_0x21b69f,_0x563758){var _0x11093b=_0x2088;_0x581f79[_0x11093b(0x24d)]=_0x563758();}(Sr,function(){var _0x3a08a4=_0x3a08a4||function(_0x4e5acf,_0x5ea20){var _0x18ed6b=_0x2088,_0x3cf708;if(typeof window<'u'&&window[_0x18ed6b(0x31b)]&&(_0x3cf708=window[_0x18ed6b(0x31b)]),typeof self<'u'&&self[_0x18ed6b(0x31b)]&&(_0x3cf708=self['crypto']),typeof globalThis<'u'&&globalThis[_0x18ed6b(0x31b)]&&(_0x3cf708=globalThis[_0x18ed6b(0x31b)]),!_0x3cf708&&typeof window<'u'&&window[_0x18ed6b(0x3a0)]&&(_0x3cf708=window[_0x18ed6b(0x3a0)]),!_0x3cf708&&typeof pt<'u'&&pt[_0x18ed6b(0x31b)]&&(_0x3cf708=pt[_0x18ed6b(0x31b)]),!_0x3cf708&&typeof gr==_0x18ed6b(0x261))try{_0x3cf708=require(_0x18ed6b(0x31b));}catch{}var _0x18ab9a=function(){var _0x5e12ce=_0x18ed6b;if(_0x3cf708){if(typeof _0x3cf708[_0x5e12ce(0x422)]==_0x5e12ce(0x261))try{return _0x3cf708[_0x5e12ce(0x422)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3cf708['randomBytes']==_0x5e12ce(0x261))try{return _0x3cf708[_0x5e12ce(0x17b)](0x4)[_0x5e12ce(0x3bb)]();}catch{}}throw new Error(_0x5e12ce(0x253));},_0x2fd294=Object[_0x18ed6b(0x196)]||(function(){function _0x416906(){}return function(_0x130ffc){var _0x3a5bec=_0x2088,_0x50e481;return _0x416906[_0x3a5bec(0x41c)]=_0x130ffc,_0x50e481=new _0x416906(),_0x416906['prototype']=null,_0x50e481;};}()),_0x355939={},_0x460af6=_0x355939[_0x18ed6b(0x40a)]={},_0x5d537e=_0x460af6[_0x18ed6b(0x443)]=(function(){return{'extend':function(_0x52997a){var _0xc75a51=_0x2088,_0x1b6f00=_0x2fd294(this);return _0x52997a&&_0x1b6f00[_0xc75a51(0x237)](_0x52997a),(!_0x1b6f00[_0xc75a51(0x280)](_0xc75a51(0x3e4))||this[_0xc75a51(0x3e4)]===_0x1b6f00[_0xc75a51(0x3e4)])&&(_0x1b6f00[_0xc75a51(0x3e4)]=function(){var _0x113961=_0xc75a51;_0x1b6f00['$super'][_0x113961(0x3e4)][_0x113961(0x1db)](this,arguments);}),_0x1b6f00['init']['prototype']=_0x1b6f00,_0x1b6f00[_0xc75a51(0x434)]=this,_0x1b6f00;},'create':function(){var _0x3df613=_0x2088,_0x92920=this[_0x3df613(0x41e)]();return _0x92920[_0x3df613(0x3e4)][_0x3df613(0x1db)](_0x92920,arguments),_0x92920;},'init':function(){},'mixIn':function(_0x574195){var _0x270d30=_0x2088;for(var _0xdcaeba in _0x574195)_0x574195[_0x270d30(0x280)](_0xdcaeba)&&(this[_0xdcaeba]=_0x574195[_0xdcaeba]);_0x574195[_0x270d30(0x280)](_0x270d30(0x42c))&&(this['toString']=_0x574195[_0x270d30(0x42c)]);},'clone':function(){var _0x4406d8=_0x2088;return this[_0x4406d8(0x3e4)][_0x4406d8(0x41c)][_0x4406d8(0x41e)](this);}};}()),_0xed0810=_0x460af6['WordArray']=_0x5d537e[_0x18ed6b(0x41e)]({'init':function(_0x4407d5,_0x5a47c4){var _0x4b2a59=_0x18ed6b;_0x4407d5=this['words']=_0x4407d5||[],_0x5a47c4!=_0x5ea20?this[_0x4b2a59(0x201)]=_0x5a47c4:this[_0x4b2a59(0x201)]=_0x4407d5[_0x4b2a59(0x441)]*0x4;},'toString':function(_0x260af5){return(_0x260af5||_0x2bceca)['stringify'](this);},'concat':function(_0x1366e9){var _0x512e07=_0x18ed6b,_0x5b80fe=this[_0x512e07(0x2ce)],_0x4a1a8c=_0x1366e9['words'],_0x15fd0c=this[_0x512e07(0x201)],_0x2d7730=_0x1366e9[_0x512e07(0x201)];if(this[_0x512e07(0x220)](),_0x15fd0c%0x4)for(var _0x5029ac=0x0;_0x5029ac<_0x2d7730;_0x5029ac++){var _0x238de9=_0x4a1a8c[_0x5029ac>>>0x2]>>>0x18-_0x5029ac%0x4*0x8&0xff;_0x5b80fe[_0x15fd0c+_0x5029ac>>>0x2]|=_0x238de9<<0x18-(_0x15fd0c+_0x5029ac)%0x4*0x8;}else{for(var _0x421f82=0x0;_0x421f82<_0x2d7730;_0x421f82+=0x4)_0x5b80fe[_0x15fd0c+_0x421f82>>>0x2]=_0x4a1a8c[_0x421f82>>>0x2];}return this[_0x512e07(0x201)]+=_0x2d7730,this;},'clamp':function(){var _0x37d3ca=_0x18ed6b,_0x4c938b=this[_0x37d3ca(0x2ce)],_0x789b6c=this['sigBytes'];_0x4c938b[_0x789b6c>>>0x2]&=0xffffffff<<0x20-_0x789b6c%0x4*0x8,_0x4c938b[_0x37d3ca(0x441)]=_0x4e5acf['ceil'](_0x789b6c/0x4);},'clone':function(){var _0x331fdb=_0x18ed6b,_0x56e068=_0x5d537e['clone']['call'](this);return _0x56e068[_0x331fdb(0x2ce)]=this[_0x331fdb(0x2ce)][_0x331fdb(0x397)](0x0),_0x56e068;},'random':function(_0x1750de){var _0x5ebbfc=_0x18ed6b;for(var _0x1676b1=[],_0x2163d4=0x0;_0x2163d4<_0x1750de;_0x2163d4+=0x4)_0x1676b1[_0x5ebbfc(0x351)](_0x18ab9a());return new _0xed0810['init'](_0x1676b1,_0x1750de);}}),_0x47f479=_0x355939[_0x18ed6b(0x1f4)]={},_0x2bceca=_0x47f479[_0x18ed6b(0x1c9)]={'stringify':function(_0x4e79fd){var _0x25054a=_0x18ed6b;for(var _0x5728d4=_0x4e79fd['words'],_0x435e50=_0x4e79fd[_0x25054a(0x201)],_0x58668e=[],_0x5c4d9f=0x0;_0x5c4d9f<_0x435e50;_0x5c4d9f++){var _0x4d228d=_0x5728d4[_0x5c4d9f>>>0x2]>>>0x18-_0x5c4d9f%0x4*0x8&0xff;_0x58668e[_0x25054a(0x351)]((_0x4d228d>>>0x4)['toString'](0x10)),_0x58668e[_0x25054a(0x351)]((_0x4d228d&0xf)[_0x25054a(0x42c)](0x10));}return _0x58668e[_0x25054a(0x245)]('');},'parse':function(_0x180d5f){var _0x1b9251=_0x18ed6b;for(var _0x2ddf5e=_0x180d5f[_0x1b9251(0x441)],_0xe71bc=[],_0x4ebae5=0x0;_0x4ebae5<_0x2ddf5e;_0x4ebae5+=0x2)_0xe71bc[_0x4ebae5>>>0x3]|=parseInt(_0x180d5f[_0x1b9251(0x188)](_0x4ebae5,0x2),0x10)<<0x18-_0x4ebae5%0x8*0x4;return new _0xed0810['init'](_0xe71bc,_0x2ddf5e/0x2);}},_0x2bd422=_0x47f479[_0x18ed6b(0x40b)]={'stringify':function(_0x2a7e0a){var _0x5b4da5=_0x18ed6b;for(var _0x400b0c=_0x2a7e0a['words'],_0x5c6629=_0x2a7e0a[_0x5b4da5(0x201)],_0x585737=[],_0x613ee5=0x0;_0x613ee5<_0x5c6629;_0x613ee5++){var _0x3832b7=_0x400b0c[_0x613ee5>>>0x2]>>>0x18-_0x613ee5%0x4*0x8&0xff;_0x585737['push'](String['fromCharCode'](_0x3832b7));}return _0x585737[_0x5b4da5(0x245)]('');},'parse':function(_0x4235a7){var _0x59bad0=_0x18ed6b;for(var _0x53d1ab=_0x4235a7['length'],_0x675688=[],_0x4cdd04=0x0;_0x4cdd04<_0x53d1ab;_0x4cdd04++)_0x675688[_0x4cdd04>>>0x2]|=(_0x4235a7[_0x59bad0(0x317)](_0x4cdd04)&0xff)<<0x18-_0x4cdd04%0x4*0x8;return new _0xed0810[(_0x59bad0(0x3e4))](_0x675688,_0x53d1ab);}},_0x5e4635=_0x47f479[_0x18ed6b(0x180)]={'stringify':function(_0x218f54){var _0x7030a0=_0x18ed6b;try{return decodeURIComponent(escape(_0x2bd422[_0x7030a0(0x267)](_0x218f54)));}catch{throw new Error(_0x7030a0(0x277));}},'parse':function(_0x519a45){return _0x2bd422['parse'](unescape(encodeURIComponent(_0x519a45)));}},_0x52c91a=_0x460af6[_0x18ed6b(0x224)]=_0x5d537e['extend']({'reset':function(){var _0x2daea4=_0x18ed6b;this[_0x2daea4(0x20b)]=new _0xed0810[(_0x2daea4(0x3e4))](),this[_0x2daea4(0x388)]=0x0;},'_append':function(_0x3fb253){var _0x5041c7=_0x18ed6b;typeof _0x3fb253==_0x5041c7(0x257)&&(_0x3fb253=_0x5e4635[_0x5041c7(0x305)](_0x3fb253)),this[_0x5041c7(0x20b)][_0x5041c7(0x45b)](_0x3fb253),this[_0x5041c7(0x388)]+=_0x3fb253[_0x5041c7(0x201)];},'_process':function(_0x57bcdc){var _0x2529d6=_0x18ed6b,_0x541cb4,_0x81e1c8=this[_0x2529d6(0x20b)],_0x356059=_0x81e1c8[_0x2529d6(0x2ce)],_0x5a7a03=_0x81e1c8[_0x2529d6(0x201)],_0x40bb84=this[_0x2529d6(0x1cc)],_0x296325=_0x40bb84*0x4,_0x36f2c6=_0x5a7a03/_0x296325;_0x57bcdc?_0x36f2c6=_0x4e5acf[_0x2529d6(0x2ae)](_0x36f2c6):_0x36f2c6=_0x4e5acf['max']((_0x36f2c6|0x0)-this[_0x2529d6(0x2a0)],0x0);var _0x434987=_0x36f2c6*_0x40bb84,_0x16567f=_0x4e5acf['min'](_0x434987*0x4,_0x5a7a03);if(_0x434987){for(var _0x2d7bf5=0x0;_0x2d7bf5<_0x434987;_0x2d7bf5+=_0x40bb84)this[_0x2529d6(0x431)](_0x356059,_0x2d7bf5);_0x541cb4=_0x356059[_0x2529d6(0x2e4)](0x0,_0x434987),_0x81e1c8['sigBytes']-=_0x16567f;}return new _0xed0810[(_0x2529d6(0x3e4))](_0x541cb4,_0x16567f);},'clone':function(){var _0x1de57c=_0x18ed6b,_0x5055ee=_0x5d537e[_0x1de57c(0x283)][_0x1de57c(0x35b)](this);return _0x5055ee['_data']=this[_0x1de57c(0x20b)][_0x1de57c(0x283)](),_0x5055ee;},'_minBufferSize':0x0});_0x460af6['Hasher']=_0x52c91a[_0x18ed6b(0x41e)]({'cfg':_0x5d537e[_0x18ed6b(0x41e)](),'init':function(_0x2665d9){var _0x5c21b9=_0x18ed6b;this[_0x5c21b9(0x292)]=this[_0x5c21b9(0x292)][_0x5c21b9(0x41e)](_0x2665d9),this['reset']();},'reset':function(){var _0x321dfc=_0x18ed6b;_0x52c91a[_0x321dfc(0x234)]['call'](this),this[_0x321dfc(0x415)]();},'update':function(_0x1fcad7){var _0x25e932=_0x18ed6b;return this[_0x25e932(0x293)](_0x1fcad7),this[_0x25e932(0x24a)](),this;},'finalize':function(_0x5dfe54){var _0x386396=_0x18ed6b;_0x5dfe54&&this[_0x386396(0x293)](_0x5dfe54);var _0x53d89d=this[_0x386396(0x48b)]();return _0x53d89d;},'blockSize':0x10,'_createHelper':function(_0x528b30){return function(_0x484fcb,_0x521a17){var _0x4721a4=_0x2088;return new _0x528b30[(_0x4721a4(0x3e4))](_0x521a17)['finalize'](_0x484fcb);};},'_createHmacHelper':function(_0x5529a3){return function(_0x2d5221,_0x37e8a0){var _0x1e6a91=_0x2088;return new _0x2a31d0[(_0x1e6a91(0x3ff))][(_0x1e6a91(0x3e4))](_0x5529a3,_0x37e8a0)[_0x1e6a91(0x3d4)](_0x2d5221);};}});var _0x2a31d0=_0x355939[_0x18ed6b(0x1ae)]={};return _0x355939;}(Math);return _0x3a08a4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Er=We[_0x312368(0x24d)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x5d2388,_0x3533ec){(function(_0x10fdae,_0x59c7a8){_0x5d2388['exports']=_0x59c7a8(ie());}(Er,function(_0x2b0aee){var _0x3d25f9=_0x2088;return(function(){var _0x475298=_0x2088,_0x178a03=_0x2b0aee,_0x4a9985=_0x178a03['lib'],_0x311495=_0x4a9985['WordArray'],_0x9a8194=_0x178a03[_0x475298(0x1f4)];_0x9a8194[_0x475298(0x2dd)]={'stringify':function(_0x38f4ad){var _0x3b52c5=_0x475298,_0x330f4f=_0x38f4ad[_0x3b52c5(0x2ce)],_0x10843d=_0x38f4ad['sigBytes'],_0x2fdb67=this[_0x3b52c5(0x3dd)];_0x38f4ad['clamp']();for(var _0x3a811a=[],_0x295e2c=0x0;_0x295e2c<_0x10843d;_0x295e2c+=0x3)for(var _0x5e5972=_0x330f4f[_0x295e2c>>>0x2]>>>0x18-_0x295e2c%0x4*0x8&0xff,_0x18b689=_0x330f4f[_0x295e2c+0x1>>>0x2]>>>0x18-(_0x295e2c+0x1)%0x4*0x8&0xff,_0x3bc43a=_0x330f4f[_0x295e2c+0x2>>>0x2]>>>0x18-(_0x295e2c+0x2)%0x4*0x8&0xff,_0xc95592=_0x5e5972<<0x10|_0x18b689<<0x8|_0x3bc43a,_0x26248b=0x0;_0x26248b<0x4&&_0x295e2c+_0x26248b*0.75<_0x10843d;_0x26248b++)_0x3a811a[_0x3b52c5(0x351)](_0x2fdb67['charAt'](_0xc95592>>>0x6*(0x3-_0x26248b)&0x3f));var _0x158a22=_0x2fdb67[_0x3b52c5(0x25c)](0x40);if(_0x158a22){for(;_0x3a811a[_0x3b52c5(0x441)]%0x4;)_0x3a811a[_0x3b52c5(0x351)](_0x158a22);}return _0x3a811a['join']('');},'parse':function(_0x2dfb73){var _0x8c7ebf=_0x475298,_0x32b44d=_0x2dfb73[_0x8c7ebf(0x441)],_0x44649a=this[_0x8c7ebf(0x3dd)],_0x341987=this[_0x8c7ebf(0x22d)];if(!_0x341987){_0x341987=this[_0x8c7ebf(0x22d)]=[];for(var _0x3b4e7a=0x0;_0x3b4e7a<_0x44649a[_0x8c7ebf(0x441)];_0x3b4e7a++)_0x341987[_0x44649a[_0x8c7ebf(0x317)](_0x3b4e7a)]=_0x3b4e7a;}var _0x38036b=_0x44649a['charAt'](0x40);if(_0x38036b){var _0x117103=_0x2dfb73[_0x8c7ebf(0x2b2)](_0x38036b);_0x117103!==-0x1&&(_0x32b44d=_0x117103);}return _0x2070f2(_0x2dfb73,_0x32b44d,_0x341987);},'_map':_0x475298(0x3cc)};function _0x2070f2(_0x2dbbcc,_0x1afb3e,_0x22225b){var _0x23b153=_0x475298;for(var _0x17179b=[],_0x4288cc=0x0,_0x2e9b41=0x0;_0x2e9b41<_0x1afb3e;_0x2e9b41++)if(_0x2e9b41%0x4){var _0x5c135c=_0x22225b[_0x2dbbcc[_0x23b153(0x317)](_0x2e9b41-0x1)]<<_0x2e9b41%0x4*0x2,_0x5013f8=_0x22225b[_0x2dbbcc[_0x23b153(0x317)](_0x2e9b41)]>>>0x6-_0x2e9b41%0x4*0x2,_0x2f3ada=_0x5c135c|_0x5013f8;_0x17179b[_0x4288cc>>>0x2]|=_0x2f3ada<<0x18-_0x4288cc%0x4*0x8,_0x4288cc++;}return _0x311495[_0x23b153(0x196)](_0x17179b,_0x4288cc);}}()),_0x2b0aee['enc'][_0x3d25f9(0x2dd)];}));}(We)),We['exports'];}var Ke={'exports':{}},Ir=Ke[_0x312368(0x24d)],Qt;function Tr(){var _0x43c564=_0x312368;return Qt||(Qt=0x1,function(_0x460fee,_0x2a77c8){(function(_0x114a2a,_0x1b6a12){_0x460fee['exports']=_0x1b6a12(ie());}(Ir,function(_0x3b0165){return function(_0x356dc7){var _0x378253=_0x2088,_0x5769b1=_0x3b0165,_0x2d0c8e=_0x5769b1[_0x378253(0x40a)],_0x26099a=_0x2d0c8e[_0x378253(0x34d)],_0x5cbf36=_0x2d0c8e[_0x378253(0x288)],_0xe22b81=_0x5769b1[_0x378253(0x1ae)],_0x5ac67d=[];(function(){var _0x1b3f2d=_0x378253;for(var _0x6b5da9=0x0;_0x6b5da9<0x40;_0x6b5da9++)_0x5ac67d[_0x6b5da9]=_0x356dc7[_0x1b3f2d(0x2ed)](_0x356dc7['sin'](_0x6b5da9+0x1))*0x100000000|0x0;}());var _0x32041e=_0xe22b81['MD5']=_0x5cbf36[_0x378253(0x41e)]({'_doReset':function(){this['_hash']=new _0x26099a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4714ef,_0x3803c9){var _0x3d6c5a=_0x378253;for(var _0x30f690=0x0;_0x30f690<0x10;_0x30f690++){var _0x363608=_0x3803c9+_0x30f690,_0x3d9a5a=_0x4714ef[_0x363608];_0x4714ef[_0x363608]=(_0x3d9a5a<<0x8|_0x3d9a5a>>>0x18)&0xff00ff|(_0x3d9a5a<<0x18|_0x3d9a5a>>>0x8)&0xff00ff00;}var _0x4eb50a=this[_0x3d6c5a(0x2c0)][_0x3d6c5a(0x2ce)],_0x5525be=_0x4714ef[_0x3803c9+0x0],_0x1840bc=_0x4714ef[_0x3803c9+0x1],_0x53feb1=_0x4714ef[_0x3803c9+0x2],_0x34176c=_0x4714ef[_0x3803c9+0x3],_0x505785=_0x4714ef[_0x3803c9+0x4],_0xec97d6=_0x4714ef[_0x3803c9+0x5],_0x469a72=_0x4714ef[_0x3803c9+0x6],_0x390f9a=_0x4714ef[_0x3803c9+0x7],_0x65c897=_0x4714ef[_0x3803c9+0x8],_0x11de6c=_0x4714ef[_0x3803c9+0x9],_0x3497fc=_0x4714ef[_0x3803c9+0xa],_0xab4697=_0x4714ef[_0x3803c9+0xb],_0x36129b=_0x4714ef[_0x3803c9+0xc],_0x3a15fb=_0x4714ef[_0x3803c9+0xd],_0x400c35=_0x4714ef[_0x3803c9+0xe],_0x1ee0be=_0x4714ef[_0x3803c9+0xf],_0x19d7fa=_0x4eb50a[0x0],_0x3a2cf7=_0x4eb50a[0x1],_0x5e9568=_0x4eb50a[0x2],_0x4bb22b=_0x4eb50a[0x3];_0x19d7fa=_0x1c6e34(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x5525be,0x7,_0x5ac67d[0x0]),_0x4bb22b=_0x1c6e34(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x1840bc,0xc,_0x5ac67d[0x1]),_0x5e9568=_0x1c6e34(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x53feb1,0x11,_0x5ac67d[0x2]),_0x3a2cf7=_0x1c6e34(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x34176c,0x16,_0x5ac67d[0x3]),_0x19d7fa=_0x1c6e34(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x505785,0x7,_0x5ac67d[0x4]),_0x4bb22b=_0x1c6e34(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0xec97d6,0xc,_0x5ac67d[0x5]),_0x5e9568=_0x1c6e34(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x469a72,0x11,_0x5ac67d[0x6]),_0x3a2cf7=_0x1c6e34(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x390f9a,0x16,_0x5ac67d[0x7]),_0x19d7fa=_0x1c6e34(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x65c897,0x7,_0x5ac67d[0x8]),_0x4bb22b=_0x1c6e34(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x11de6c,0xc,_0x5ac67d[0x9]),_0x5e9568=_0x1c6e34(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x3497fc,0x11,_0x5ac67d[0xa]),_0x3a2cf7=_0x1c6e34(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0xab4697,0x16,_0x5ac67d[0xb]),_0x19d7fa=_0x1c6e34(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x36129b,0x7,_0x5ac67d[0xc]),_0x4bb22b=_0x1c6e34(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x3a15fb,0xc,_0x5ac67d[0xd]),_0x5e9568=_0x1c6e34(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x400c35,0x11,_0x5ac67d[0xe]),_0x3a2cf7=_0x1c6e34(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x1ee0be,0x16,_0x5ac67d[0xf]),_0x19d7fa=_0x21ffaf(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x1840bc,0x5,_0x5ac67d[0x10]),_0x4bb22b=_0x21ffaf(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x469a72,0x9,_0x5ac67d[0x11]),_0x5e9568=_0x21ffaf(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0xab4697,0xe,_0x5ac67d[0x12]),_0x3a2cf7=_0x21ffaf(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x5525be,0x14,_0x5ac67d[0x13]),_0x19d7fa=_0x21ffaf(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0xec97d6,0x5,_0x5ac67d[0x14]),_0x4bb22b=_0x21ffaf(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x3497fc,0x9,_0x5ac67d[0x15]),_0x5e9568=_0x21ffaf(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x1ee0be,0xe,_0x5ac67d[0x16]),_0x3a2cf7=_0x21ffaf(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x505785,0x14,_0x5ac67d[0x17]),_0x19d7fa=_0x21ffaf(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x11de6c,0x5,_0x5ac67d[0x18]),_0x4bb22b=_0x21ffaf(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x400c35,0x9,_0x5ac67d[0x19]),_0x5e9568=_0x21ffaf(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x34176c,0xe,_0x5ac67d[0x1a]),_0x3a2cf7=_0x21ffaf(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x65c897,0x14,_0x5ac67d[0x1b]),_0x19d7fa=_0x21ffaf(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x3a15fb,0x5,_0x5ac67d[0x1c]),_0x4bb22b=_0x21ffaf(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x53feb1,0x9,_0x5ac67d[0x1d]),_0x5e9568=_0x21ffaf(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x390f9a,0xe,_0x5ac67d[0x1e]),_0x3a2cf7=_0x21ffaf(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x36129b,0x14,_0x5ac67d[0x1f]),_0x19d7fa=_0x11923d(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0xec97d6,0x4,_0x5ac67d[0x20]),_0x4bb22b=_0x11923d(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x65c897,0xb,_0x5ac67d[0x21]),_0x5e9568=_0x11923d(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0xab4697,0x10,_0x5ac67d[0x22]),_0x3a2cf7=_0x11923d(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x400c35,0x17,_0x5ac67d[0x23]),_0x19d7fa=_0x11923d(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x1840bc,0x4,_0x5ac67d[0x24]),_0x4bb22b=_0x11923d(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x505785,0xb,_0x5ac67d[0x25]),_0x5e9568=_0x11923d(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x390f9a,0x10,_0x5ac67d[0x26]),_0x3a2cf7=_0x11923d(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3497fc,0x17,_0x5ac67d[0x27]),_0x19d7fa=_0x11923d(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x3a15fb,0x4,_0x5ac67d[0x28]),_0x4bb22b=_0x11923d(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x5525be,0xb,_0x5ac67d[0x29]),_0x5e9568=_0x11923d(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x34176c,0x10,_0x5ac67d[0x2a]),_0x3a2cf7=_0x11923d(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x469a72,0x17,_0x5ac67d[0x2b]),_0x19d7fa=_0x11923d(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x11de6c,0x4,_0x5ac67d[0x2c]),_0x4bb22b=_0x11923d(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x36129b,0xb,_0x5ac67d[0x2d]),_0x5e9568=_0x11923d(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x1ee0be,0x10,_0x5ac67d[0x2e]),_0x3a2cf7=_0x11923d(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x53feb1,0x17,_0x5ac67d[0x2f]),_0x19d7fa=_0x36077f(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x5525be,0x6,_0x5ac67d[0x30]),_0x4bb22b=_0x36077f(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x390f9a,0xa,_0x5ac67d[0x31]),_0x5e9568=_0x36077f(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x400c35,0xf,_0x5ac67d[0x32]),_0x3a2cf7=_0x36077f(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0xec97d6,0x15,_0x5ac67d[0x33]),_0x19d7fa=_0x36077f(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x36129b,0x6,_0x5ac67d[0x34]),_0x4bb22b=_0x36077f(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x34176c,0xa,_0x5ac67d[0x35]),_0x5e9568=_0x36077f(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x3497fc,0xf,_0x5ac67d[0x36]),_0x3a2cf7=_0x36077f(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x1840bc,0x15,_0x5ac67d[0x37]),_0x19d7fa=_0x36077f(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x65c897,0x6,_0x5ac67d[0x38]),_0x4bb22b=_0x36077f(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x1ee0be,0xa,_0x5ac67d[0x39]),_0x5e9568=_0x36077f(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x469a72,0xf,_0x5ac67d[0x3a]),_0x3a2cf7=_0x36077f(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a15fb,0x15,_0x5ac67d[0x3b]),_0x19d7fa=_0x36077f(_0x19d7fa,_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x505785,0x6,_0x5ac67d[0x3c]),_0x4bb22b=_0x36077f(_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x5e9568,_0xab4697,0xa,_0x5ac67d[0x3d]),_0x5e9568=_0x36077f(_0x5e9568,_0x4bb22b,_0x19d7fa,_0x3a2cf7,_0x53feb1,0xf,_0x5ac67d[0x3e]),_0x3a2cf7=_0x36077f(_0x3a2cf7,_0x5e9568,_0x4bb22b,_0x19d7fa,_0x11de6c,0x15,_0x5ac67d[0x3f]),_0x4eb50a[0x0]=_0x4eb50a[0x0]+_0x19d7fa|0x0,_0x4eb50a[0x1]=_0x4eb50a[0x1]+_0x3a2cf7|0x0,_0x4eb50a[0x2]=_0x4eb50a[0x2]+_0x5e9568|0x0,_0x4eb50a[0x3]=_0x4eb50a[0x3]+_0x4bb22b|0x0;},'_doFinalize':function(){var _0x21bb84=_0x378253,_0x1fc5f4=this[_0x21bb84(0x20b)],_0x4deb3e=_0x1fc5f4['words'],_0x5e7029=this['_nDataBytes']*0x8,_0x27bb47=_0x1fc5f4[_0x21bb84(0x201)]*0x8;_0x4deb3e[_0x27bb47>>>0x5]|=0x80<<0x18-_0x27bb47%0x20;var _0x37d64a=_0x356dc7['floor'](_0x5e7029/0x100000000),_0x5e68eb=_0x5e7029;_0x4deb3e[(_0x27bb47+0x40>>>0x9<<0x4)+0xf]=(_0x37d64a<<0x8|_0x37d64a>>>0x18)&0xff00ff|(_0x37d64a<<0x18|_0x37d64a>>>0x8)&0xff00ff00,_0x4deb3e[(_0x27bb47+0x40>>>0x9<<0x4)+0xe]=(_0x5e68eb<<0x8|_0x5e68eb>>>0x18)&0xff00ff|(_0x5e68eb<<0x18|_0x5e68eb>>>0x8)&0xff00ff00,_0x1fc5f4[_0x21bb84(0x201)]=(_0x4deb3e[_0x21bb84(0x441)]+0x1)*0x4,this['_process']();for(var _0x4c4901=this[_0x21bb84(0x2c0)],_0x5e41ac=_0x4c4901['words'],_0x2300f8=0x0;_0x2300f8<0x4;_0x2300f8++){var _0xb1d2be=_0x5e41ac[_0x2300f8];_0x5e41ac[_0x2300f8]=(_0xb1d2be<<0x8|_0xb1d2be>>>0x18)&0xff00ff|(_0xb1d2be<<0x18|_0xb1d2be>>>0x8)&0xff00ff00;}return _0x4c4901;},'clone':function(){var _0x240bf4=_0x378253,_0x4f5c83=_0x5cbf36['clone'][_0x240bf4(0x35b)](this);return _0x4f5c83['_hash']=this[_0x240bf4(0x2c0)]['clone'](),_0x4f5c83;}});function _0x1c6e34(_0x56ade6,_0x224082,_0x5c82d0,_0x26af9d,_0x140737,_0x5911eb,_0x22851d){var _0x2a785b=_0x56ade6+(_0x224082&_0x5c82d0|~_0x224082&_0x26af9d)+_0x140737+_0x22851d;return(_0x2a785b<<_0x5911eb|_0x2a785b>>>0x20-_0x5911eb)+_0x224082;}function _0x21ffaf(_0x4a01a4,_0x16ef8c,_0x136f5f,_0x124b59,_0x272d41,_0x3790df,_0x384c3b){var _0x912bd2=_0x4a01a4+(_0x16ef8c&_0x124b59|_0x136f5f&~_0x124b59)+_0x272d41+_0x384c3b;return(_0x912bd2<<_0x3790df|_0x912bd2>>>0x20-_0x3790df)+_0x16ef8c;}function _0x11923d(_0x3a79a6,_0x3f2f81,_0x60e496,_0x50bd79,_0x1d42e1,_0xf2eaf2,_0x2abfbe){var _0x4a8dcd=_0x3a79a6+(_0x3f2f81^_0x60e496^_0x50bd79)+_0x1d42e1+_0x2abfbe;return(_0x4a8dcd<<_0xf2eaf2|_0x4a8dcd>>>0x20-_0xf2eaf2)+_0x3f2f81;}function _0x36077f(_0x99317e,_0x448f39,_0x318197,_0x4513af,_0x5b0ece,_0x4b52ab,_0x5d7d9b){var _0x23b429=_0x99317e+(_0x318197^(_0x448f39|~_0x4513af))+_0x5b0ece+_0x5d7d9b;return(_0x23b429<<_0x4b52ab|_0x23b429>>>0x20-_0x4b52ab)+_0x448f39;}_0x5769b1['MD5']=_0x5cbf36['_createHelper'](_0x32041e),_0x5769b1[_0x378253(0x345)]=_0x5cbf36[_0x378253(0x28e)](_0x32041e);}(Math),_0x3b0165['MD5'];}));}(Ke)),Ke[_0x43c564(0x24d)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x312368(0x24d)],ei;function Rr(){var _0x335682=_0x312368;return ei||(ei=0x1,function(_0xc5f9f6,_0x33ae23){(function(_0x1ffaf2,_0x4f3863){var _0x3ed8e3=_0x2088;_0xc5f9f6[_0x3ed8e3(0x24d)]=_0x4f3863(ie());}(Cr,function(_0x3a3462){var _0x114718=_0x2088;return(function(){var _0x50b2d7=_0x2088,_0x1531db=_0x3a3462,_0x41b315=_0x1531db[_0x50b2d7(0x40a)],_0x202b9c=_0x41b315[_0x50b2d7(0x34d)],_0x15d99e=_0x41b315[_0x50b2d7(0x288)],_0xb796b0=_0x1531db[_0x50b2d7(0x1ae)],_0x286c61=[],_0x2cbc36=_0xb796b0[_0x50b2d7(0x377)]=_0x15d99e[_0x50b2d7(0x41e)]({'_doReset':function(){var _0x4640b8=_0x50b2d7;this[_0x4640b8(0x2c0)]=new _0x202b9c[(_0x4640b8(0x3e4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x17a6fb,_0x728b26){var _0x7d4d50=_0x50b2d7;for(var _0x1e8f3d=this[_0x7d4d50(0x2c0)][_0x7d4d50(0x2ce)],_0x317bfb=_0x1e8f3d[0x0],_0x5103d2=_0x1e8f3d[0x1],_0x224ade=_0x1e8f3d[0x2],_0x3ec2a4=_0x1e8f3d[0x3],_0x985be0=_0x1e8f3d[0x4],_0x23b322=0x0;_0x23b322<0x50;_0x23b322++){if(_0x23b322<0x10)_0x286c61[_0x23b322]=_0x17a6fb[_0x728b26+_0x23b322]|0x0;else{var _0xe581e6=_0x286c61[_0x23b322-0x3]^_0x286c61[_0x23b322-0x8]^_0x286c61[_0x23b322-0xe]^_0x286c61[_0x23b322-0x10];_0x286c61[_0x23b322]=_0xe581e6<<0x1|_0xe581e6>>>0x1f;}var _0xd8aea0=(_0x317bfb<<0x5|_0x317bfb>>>0x1b)+_0x985be0+_0x286c61[_0x23b322];_0x23b322<0x14?_0xd8aea0+=(_0x5103d2&_0x224ade|~_0x5103d2&_0x3ec2a4)+0x5a827999:_0x23b322<0x28?_0xd8aea0+=(_0x5103d2^_0x224ade^_0x3ec2a4)+0x6ed9eba1:_0x23b322<0x3c?_0xd8aea0+=(_0x5103d2&_0x224ade|_0x5103d2&_0x3ec2a4|_0x224ade&_0x3ec2a4)-0x70e44324:_0xd8aea0+=(_0x5103d2^_0x224ade^_0x3ec2a4)-0x359d3e2a,_0x985be0=_0x3ec2a4,_0x3ec2a4=_0x224ade,_0x224ade=_0x5103d2<<0x1e|_0x5103d2>>>0x2,_0x5103d2=_0x317bfb,_0x317bfb=_0xd8aea0;}_0x1e8f3d[0x0]=_0x1e8f3d[0x0]+_0x317bfb|0x0,_0x1e8f3d[0x1]=_0x1e8f3d[0x1]+_0x5103d2|0x0,_0x1e8f3d[0x2]=_0x1e8f3d[0x2]+_0x224ade|0x0,_0x1e8f3d[0x3]=_0x1e8f3d[0x3]+_0x3ec2a4|0x0,_0x1e8f3d[0x4]=_0x1e8f3d[0x4]+_0x985be0|0x0;},'_doFinalize':function(){var _0x7abce=_0x50b2d7,_0x161c8a=this[_0x7abce(0x20b)],_0x21a090=_0x161c8a[_0x7abce(0x2ce)],_0x2d0792=this[_0x7abce(0x388)]*0x8,_0x126896=_0x161c8a[_0x7abce(0x201)]*0x8;return _0x21a090[_0x126896>>>0x5]|=0x80<<0x18-_0x126896%0x20,_0x21a090[(_0x126896+0x40>>>0x9<<0x4)+0xe]=Math[_0x7abce(0x2ec)](_0x2d0792/0x100000000),_0x21a090[(_0x126896+0x40>>>0x9<<0x4)+0xf]=_0x2d0792,_0x161c8a[_0x7abce(0x201)]=_0x21a090[_0x7abce(0x441)]*0x4,this[_0x7abce(0x24a)](),this['_hash'];},'clone':function(){var _0x1d1aba=_0x50b2d7,_0x4fe861=_0x15d99e[_0x1d1aba(0x283)][_0x1d1aba(0x35b)](this);return _0x4fe861[_0x1d1aba(0x2c0)]=this[_0x1d1aba(0x2c0)][_0x1d1aba(0x283)](),_0x4fe861;}});_0x1531db[_0x50b2d7(0x377)]=_0x15d99e[_0x50b2d7(0x221)](_0x2cbc36),_0x1531db['HmacSHA1']=_0x15d99e[_0x50b2d7(0x28e)](_0x2cbc36);}()),_0x3a3462[_0x114718(0x377)];}));}(qe)),qe[_0x335682(0x24d)];}var ze={'exports':{}},br=ze['exports'],ti;function yr(){var _0x477ba5=_0x312368;return ti||(ti=0x1,function(_0x447e59,_0xd8c1a6){(function(_0x5f423f,_0x57fa8f){var _0x1b6ba6=_0x2088;_0x447e59[_0x1b6ba6(0x24d)]=_0x57fa8f(ie());}(br,function(_0xd744f7){(function(){var _0x363421=_0x2088,_0x4f70f2=_0xd744f7,_0x4541cf=_0x4f70f2['lib'],_0x5ba36=_0x4541cf[_0x363421(0x443)],_0x1419b7=_0x4f70f2['enc'],_0x36ef0e=_0x1419b7[_0x363421(0x180)],_0x54f695=_0x4f70f2[_0x363421(0x1ae)];_0x54f695[_0x363421(0x3ff)]=_0x5ba36[_0x363421(0x41e)]({'init':function(_0x285101,_0x3185e7){var _0x55b380=_0x363421;_0x285101=this[_0x55b380(0x421)]=new _0x285101['init'](),typeof _0x3185e7==_0x55b380(0x257)&&(_0x3185e7=_0x36ef0e[_0x55b380(0x305)](_0x3185e7));var _0x2d8c05=_0x285101[_0x55b380(0x1cc)],_0x2bb014=_0x2d8c05*0x4;_0x3185e7[_0x55b380(0x201)]>_0x2bb014&&(_0x3185e7=_0x285101[_0x55b380(0x3d4)](_0x3185e7)),_0x3185e7['clamp']();for(var _0x2045b2=this[_0x55b380(0x3e3)]=_0x3185e7['clone'](),_0x4f6e1f=this['_iKey']=_0x3185e7[_0x55b380(0x283)](),_0x210cb2=_0x2045b2[_0x55b380(0x2ce)],_0xdcd3c9=_0x4f6e1f[_0x55b380(0x2ce)],_0x1133c5=0x0;_0x1133c5<_0x2d8c05;_0x1133c5++)_0x210cb2[_0x1133c5]^=0x5c5c5c5c,_0xdcd3c9[_0x1133c5]^=0x36363636;_0x2045b2[_0x55b380(0x201)]=_0x4f6e1f['sigBytes']=_0x2bb014,this['reset']();},'reset':function(){var _0x591537=_0x363421,_0x56753d=this['_hasher'];_0x56753d[_0x591537(0x234)](),_0x56753d['update'](this[_0x591537(0x2f4)]);},'update':function(_0x4b1fb6){var _0x444cdc=_0x363421;return this[_0x444cdc(0x421)][_0x444cdc(0x3ac)](_0x4b1fb6),this;},'finalize':function(_0xe5c910){var _0x2409eb=_0x363421,_0x411433=this[_0x2409eb(0x421)],_0x7271ff=_0x411433[_0x2409eb(0x3d4)](_0xe5c910);_0x411433[_0x2409eb(0x234)]();var _0x39595b=_0x411433[_0x2409eb(0x3d4)](this['_oKey'][_0x2409eb(0x283)]()[_0x2409eb(0x45b)](_0x7271ff));return _0x39595b;}});}());}));}(ze)),ze[_0x477ba5(0x24d)];}var Or=Ye[_0x312368(0x24d)],ii;function Ui(){var _0x3bf13f=_0x312368;return ii||(ii=0x1,function(_0x50f124,_0x19a975){(function(_0x12e21a,_0x3e6030,_0x596446){var _0x1ea119=_0x2088;_0x50f124[_0x1ea119(0x24d)]=_0x3e6030(ie(),Rr(),yr());}(Or,function(_0x5874ab){var _0x13988d=_0x2088;return(function(){var _0xbaa05f=_0x2088,_0x27b86c=_0x5874ab,_0x4c013a=_0x27b86c[_0xbaa05f(0x40a)],_0x25a64c=_0x4c013a[_0xbaa05f(0x443)],_0x2f575a=_0x4c013a['WordArray'],_0x22fd55=_0x27b86c[_0xbaa05f(0x1ae)],_0x2831fe=_0x22fd55[_0xbaa05f(0x2f7)],_0x22f938=_0x22fd55['EvpKDF']=_0x25a64c[_0xbaa05f(0x41e)]({'cfg':_0x25a64c[_0xbaa05f(0x41e)]({'keySize':0x80/0x20,'hasher':_0x2831fe,'iterations':0x1}),'init':function(_0x3feeb6){var _0x57663b=_0xbaa05f;this[_0x57663b(0x292)]=this[_0x57663b(0x292)][_0x57663b(0x41e)](_0x3feeb6);},'compute':function(_0x19dd8f,_0x591d58){var _0x41202e=_0xbaa05f;for(var _0x38a1e0,_0x468820=this[_0x41202e(0x292)],_0x518ca4=_0x468820[_0x41202e(0x1aa)][_0x41202e(0x196)](),_0x5a59b1=_0x2f575a['create'](),_0x490a95=_0x5a59b1[_0x41202e(0x2ce)],_0x4a6e85=_0x468820[_0x41202e(0x2a9)],_0x42786b=_0x468820[_0x41202e(0x3e7)];_0x490a95[_0x41202e(0x441)]<_0x4a6e85;){_0x38a1e0&&_0x518ca4['update'](_0x38a1e0),_0x38a1e0=_0x518ca4[_0x41202e(0x3ac)](_0x19dd8f)['finalize'](_0x591d58),_0x518ca4['reset']();for(var _0x3f9f5c=0x1;_0x3f9f5c<_0x42786b;_0x3f9f5c++)_0x38a1e0=_0x518ca4[_0x41202e(0x3d4)](_0x38a1e0),_0x518ca4[_0x41202e(0x234)]();_0x5a59b1[_0x41202e(0x45b)](_0x38a1e0);}return _0x5a59b1['sigBytes']=_0x4a6e85*0x4,_0x5a59b1;}});_0x27b86c[_0xbaa05f(0x38e)]=function(_0x5bdc4e,_0x34d726,_0x23abc3){var _0x503400=_0xbaa05f;return _0x22f938[_0x503400(0x196)](_0x23abc3)[_0x503400(0x41b)](_0x5bdc4e,_0x34d726);};}()),_0x5874ab[_0x13988d(0x38e)];}));}(Ye)),Ye[_0x3bf13f(0x24d)];}var Je={'exports':{}},Nr=Je['exports'],ni;function wi(){var _0x2de7b2=_0x312368;return ni||(ni=0x1,function(_0x50bd3a,_0xa32055){(function(_0x7648f1,_0x18d654,_0x1703dd){var _0x48da8=_0x2088;_0x50bd3a[_0x48da8(0x24d)]=_0x18d654(ie(),Ui());}(Nr,function(_0x47958e){var _0x11f3c9=_0x2088;_0x47958e[_0x11f3c9(0x40a)][_0x11f3c9(0x238)]||function(_0x514272){var _0x3116a1=_0x11f3c9,_0x367118=_0x47958e,_0x59968a=_0x367118[_0x3116a1(0x40a)],_0x18a413=_0x59968a['Base'],_0x53b50c=_0x59968a[_0x3116a1(0x34d)],_0x563e66=_0x59968a[_0x3116a1(0x224)],_0x4295d0=_0x367118[_0x3116a1(0x1f4)];_0x4295d0[_0x3116a1(0x180)];var _0x3e2873=_0x4295d0[_0x3116a1(0x2dd)],_0x2d326d=_0x367118[_0x3116a1(0x1ae)],_0x42d027=_0x2d326d['EvpKDF'],_0x565ce4=_0x59968a['Cipher']=_0x563e66['extend']({'cfg':_0x18a413[_0x3116a1(0x41e)](),'createEncryptor':function(_0x4cebe3,_0x533359){var _0x2c8d6e=_0x3116a1;return this[_0x2c8d6e(0x196)](this['_ENC_XFORM_MODE'],_0x4cebe3,_0x533359);},'createDecryptor':function(_0x34f61f,_0x48e1d1){var _0x194404=_0x3116a1;return this[_0x194404(0x196)](this[_0x194404(0x18e)],_0x34f61f,_0x48e1d1);},'init':function(_0x4d6239,_0x4c9418,_0x583962){var _0x531f54=_0x3116a1;this['cfg']=this[_0x531f54(0x292)][_0x531f54(0x41e)](_0x583962),this[_0x531f54(0x339)]=_0x4d6239,this['_key']=_0x4c9418,this['reset']();},'reset':function(){var _0x2ad0dc=_0x3116a1;_0x563e66[_0x2ad0dc(0x234)][_0x2ad0dc(0x35b)](this),this[_0x2ad0dc(0x415)]();},'process':function(_0xf36247){var _0x149f81=_0x3116a1;return this[_0x149f81(0x293)](_0xf36247),this['_process']();},'finalize':function(_0xc64616){var _0x54be37=_0x3116a1;_0xc64616&&this[_0x54be37(0x293)](_0xc64616);var _0x4e788b=this[_0x54be37(0x48b)]();return _0x4e788b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x534917(_0x438efe){return typeof _0x438efe=='string'?_0x2364ce:_0x1549be;}return function(_0x2fd373){return{'encrypt':function(_0x109d94,_0x5ddd25,_0x1a35f8){var _0x599cd5=_0x2088;return _0x534917(_0x5ddd25)[_0x599cd5(0x34c)](_0x2fd373,_0x109d94,_0x5ddd25,_0x1a35f8);},'decrypt':function(_0x543e29,_0x59f8d4,_0x23dffd){return _0x534917(_0x59f8d4)['decrypt'](_0x2fd373,_0x543e29,_0x59f8d4,_0x23dffd);}};};}())});_0x59968a[_0x3116a1(0x1c3)]=_0x565ce4[_0x3116a1(0x41e)]({'_doFinalize':function(){var _0x11fb66=_0x3116a1,_0x22ded7=this[_0x11fb66(0x24a)](!0x0);return _0x22ded7;},'blockSize':0x1});var _0xc2765a=_0x367118['mode']={},_0x5860ff=_0x59968a[_0x3116a1(0x485)]=_0x18a413[_0x3116a1(0x41e)]({'createEncryptor':function(_0xb248da,_0x8805b0){var _0x482161=_0x3116a1;return this['Encryptor'][_0x482161(0x196)](_0xb248da,_0x8805b0);},'createDecryptor':function(_0x1835fa,_0x21f20f){var _0x155d0f=_0x3116a1;return this[_0x155d0f(0x487)][_0x155d0f(0x196)](_0x1835fa,_0x21f20f);},'init':function(_0x2af885,_0x9e957b){var _0x36fb04=_0x3116a1;this[_0x36fb04(0x2ea)]=_0x2af885,this[_0x36fb04(0x265)]=_0x9e957b;}}),_0x2c49ef=_0xc2765a[_0x3116a1(0x3b7)]=(function(){var _0x429ce3=_0x3116a1,_0x128001=_0x5860ff[_0x429ce3(0x41e)]();_0x128001[_0x429ce3(0x2db)]=_0x128001[_0x429ce3(0x41e)]({'processBlock':function(_0x303278,_0x3bc0d8){var _0x2d65db=_0x429ce3,_0x3a486f=this[_0x2d65db(0x2ea)],_0x50562b=_0x3a486f['blockSize'];_0x3448f1[_0x2d65db(0x35b)](this,_0x303278,_0x3bc0d8,_0x50562b),_0x3a486f['encryptBlock'](_0x303278,_0x3bc0d8),this[_0x2d65db(0x2af)]=_0x303278[_0x2d65db(0x397)](_0x3bc0d8,_0x3bc0d8+_0x50562b);}}),_0x128001['Decryptor']=_0x128001[_0x429ce3(0x41e)]({'processBlock':function(_0x34fe2b,_0x2a0067){var _0xaba790=_0x429ce3,_0x43b155=this['_cipher'],_0x4c92d2=_0x43b155['blockSize'],_0x4ab258=_0x34fe2b['slice'](_0x2a0067,_0x2a0067+_0x4c92d2);_0x43b155[_0xaba790(0x2fc)](_0x34fe2b,_0x2a0067),_0x3448f1[_0xaba790(0x35b)](this,_0x34fe2b,_0x2a0067,_0x4c92d2),this['_prevBlock']=_0x4ab258;}});function _0x3448f1(_0x4f6014,_0x42b295,_0x378a73){var _0x15a006=_0x429ce3,_0x528046,_0x91f15e=this['_iv'];_0x91f15e?(_0x528046=_0x91f15e,this['_iv']=_0x514272):_0x528046=this[_0x15a006(0x2af)];for(var _0x3a8b62=0x0;_0x3a8b62<_0x378a73;_0x3a8b62++)_0x4f6014[_0x42b295+_0x3a8b62]^=_0x528046[_0x3a8b62];}return _0x128001;}()),_0x28d44c=_0x367118[_0x3116a1(0x30d)]={},_0x1dcaba=_0x28d44c[_0x3116a1(0x3a8)]={'pad':function(_0x1e6531,_0x277dfe){var _0x1f793c=_0x3116a1;for(var _0x2024f3=_0x277dfe*0x4,_0x3b1a22=_0x2024f3-_0x1e6531[_0x1f793c(0x201)]%_0x2024f3,_0x35342f=_0x3b1a22<<0x18|_0x3b1a22<<0x10|_0x3b1a22<<0x8|_0x3b1a22,_0x466fa4=[],_0x207511=0x0;_0x207511<_0x3b1a22;_0x207511+=0x4)_0x466fa4['push'](_0x35342f);var _0x51abb1=_0x53b50c[_0x1f793c(0x196)](_0x466fa4,_0x3b1a22);_0x1e6531[_0x1f793c(0x45b)](_0x51abb1);},'unpad':function(_0x3bd995){var _0x32e0b6=_0x3116a1,_0x50667f=_0x3bd995[_0x32e0b6(0x2ce)][_0x3bd995['sigBytes']-0x1>>>0x2]&0xff;_0x3bd995[_0x32e0b6(0x201)]-=_0x50667f;}};_0x59968a[_0x3116a1(0x3bc)]=_0x565ce4[_0x3116a1(0x41e)]({'cfg':_0x565ce4['cfg']['extend']({'mode':_0x2c49ef,'padding':_0x1dcaba}),'reset':function(){var _0x50f752=_0x3116a1,_0x270378;_0x565ce4[_0x50f752(0x234)]['call'](this);var _0x307adb=this['cfg'],_0x525e2a=_0x307adb['iv'],_0x187a51=_0x307adb[_0x50f752(0x437)];this[_0x50f752(0x339)]==this[_0x50f752(0x3f1)]?_0x270378=_0x187a51[_0x50f752(0x451)]:(_0x270378=_0x187a51[_0x50f752(0x1bb)],this[_0x50f752(0x2a0)]=0x1),this['_mode']&&this['_mode'][_0x50f752(0x228)]==_0x270378?this['_mode'][_0x50f752(0x3e4)](this,_0x525e2a&&_0x525e2a['words']):(this[_0x50f752(0x276)]=_0x270378[_0x50f752(0x35b)](_0x187a51,this,_0x525e2a&&_0x525e2a[_0x50f752(0x2ce)]),this['_mode']['__creator']=_0x270378);},'_doProcessBlock':function(_0x3c3110,_0x302d0d){var _0x5d4cd4=_0x3116a1;this[_0x5d4cd4(0x276)][_0x5d4cd4(0x389)](_0x3c3110,_0x302d0d);},'_doFinalize':function(){var _0x537030=_0x3116a1,_0x49a5d3,_0x154082=this['cfg']['padding'];return this[_0x537030(0x339)]==this[_0x537030(0x3f1)]?(_0x154082['pad'](this[_0x537030(0x20b)],this[_0x537030(0x1cc)]),_0x49a5d3=this[_0x537030(0x24a)](!0x0)):(_0x49a5d3=this['_process'](!0x0),_0x154082[_0x537030(0x2d2)](_0x49a5d3)),_0x49a5d3;},'blockSize':0x80/0x20});var _0x3dac20=_0x59968a[_0x3116a1(0x363)]=_0x18a413[_0x3116a1(0x41e)]({'init':function(_0x269ae9){var _0x1ca252=_0x3116a1;this[_0x1ca252(0x237)](_0x269ae9);},'toString':function(_0x480114){var _0x3cea38=_0x3116a1;return(_0x480114||this[_0x3cea38(0x37c)])[_0x3cea38(0x267)](this);}}),_0x346d57=_0x367118['format']={},_0x2b4003=_0x346d57[_0x3116a1(0x255)]={'stringify':function(_0x5b7823){var _0x20ef98=_0x3116a1,_0x4d01c3,_0x213e8a=_0x5b7823[_0x20ef98(0x1ac)],_0x247aba=_0x5b7823['salt'];return _0x247aba?_0x4d01c3=_0x53b50c[_0x20ef98(0x196)]([0x53616c74,0x65645f5f])[_0x20ef98(0x45b)](_0x247aba)[_0x20ef98(0x45b)](_0x213e8a):_0x4d01c3=_0x213e8a,_0x4d01c3[_0x20ef98(0x42c)](_0x3e2873);},'parse':function(_0x9ede29){var _0x3fad8d=_0x3116a1,_0x24f65f,_0x43fa17=_0x3e2873['parse'](_0x9ede29),_0x383588=_0x43fa17[_0x3fad8d(0x2ce)];return _0x383588[0x0]==0x53616c74&&_0x383588[0x1]==0x65645f5f&&(_0x24f65f=_0x53b50c['create'](_0x383588['slice'](0x2,0x4)),_0x383588[_0x3fad8d(0x2e4)](0x0,0x4),_0x43fa17[_0x3fad8d(0x201)]-=0x10),_0x3dac20[_0x3fad8d(0x196)]({'ciphertext':_0x43fa17,'salt':_0x24f65f});}},_0x1549be=_0x59968a[_0x3116a1(0x3fa)]=_0x18a413[_0x3116a1(0x41e)]({'cfg':_0x18a413['extend']({'format':_0x2b4003}),'encrypt':function(_0x417448,_0x44ea12,_0x1de11f,_0xf39dfe){var _0x48332c=_0x3116a1;_0xf39dfe=this['cfg'][_0x48332c(0x41e)](_0xf39dfe);var _0x226dae=_0x417448[_0x48332c(0x451)](_0x1de11f,_0xf39dfe),_0x2b44eb=_0x226dae[_0x48332c(0x3d4)](_0x44ea12),_0xddfc22=_0x226dae[_0x48332c(0x292)];return _0x3dac20[_0x48332c(0x196)]({'ciphertext':_0x2b44eb,'key':_0x1de11f,'iv':_0xddfc22['iv'],'algorithm':_0x417448,'mode':_0xddfc22[_0x48332c(0x437)],'padding':_0xddfc22[_0x48332c(0x33b)],'blockSize':_0x417448['blockSize'],'formatter':_0xf39dfe[_0x48332c(0x244)]});},'decrypt':function(_0x23d1c6,_0x4b22a6,_0x30c37e,_0xc0c582){var _0x5482af=_0x3116a1;_0xc0c582=this[_0x5482af(0x292)]['extend'](_0xc0c582),_0x4b22a6=this['_parse'](_0x4b22a6,_0xc0c582[_0x5482af(0x244)]);var _0x1edac2=_0x23d1c6[_0x5482af(0x1bb)](_0x30c37e,_0xc0c582)[_0x5482af(0x3d4)](_0x4b22a6[_0x5482af(0x1ac)]);return _0x1edac2;},'_parse':function(_0x4f9ccb,_0x58844c){var _0x20f58b=_0x3116a1;return typeof _0x4f9ccb==_0x20f58b(0x257)?_0x58844c[_0x20f58b(0x305)](_0x4f9ccb,this):_0x4f9ccb;}}),_0x572423=_0x367118['kdf']={},_0x4b0294=_0x572423[_0x3116a1(0x255)]={'execute':function(_0x30b921,_0x586675,_0xd702c0,_0x43550c,_0x4b7f3c){var _0x5a0440=_0x3116a1;if(_0x43550c||(_0x43550c=_0x53b50c[_0x5a0440(0x2d8)](0x40/0x8)),_0x4b7f3c)var _0x16ce63=_0x42d027['create']({'keySize':_0x586675+_0xd702c0,'hasher':_0x4b7f3c})[_0x5a0440(0x41b)](_0x30b921,_0x43550c);else var _0x16ce63=_0x42d027[_0x5a0440(0x196)]({'keySize':_0x586675+_0xd702c0})['compute'](_0x30b921,_0x43550c);var _0x5e2807=_0x53b50c[_0x5a0440(0x196)](_0x16ce63[_0x5a0440(0x2ce)][_0x5a0440(0x397)](_0x586675),_0xd702c0*0x4);return _0x16ce63[_0x5a0440(0x201)]=_0x586675*0x4,_0x3dac20['create']({'key':_0x16ce63,'iv':_0x5e2807,'salt':_0x43550c});}},_0x2364ce=_0x59968a['PasswordBasedCipher']=_0x1549be[_0x3116a1(0x41e)]({'cfg':_0x1549be['cfg'][_0x3116a1(0x41e)]({'kdf':_0x4b0294}),'encrypt':function(_0x2b5174,_0x38aca2,_0x3261a5,_0x51b781){var _0x38cbbe=_0x3116a1;_0x51b781=this[_0x38cbbe(0x292)][_0x38cbbe(0x41e)](_0x51b781);var _0x2f50dc=_0x51b781[_0x38cbbe(0x406)][_0x38cbbe(0x32a)](_0x3261a5,_0x2b5174[_0x38cbbe(0x2a9)],_0x2b5174[_0x38cbbe(0x1f2)],_0x51b781[_0x38cbbe(0x30e)],_0x51b781[_0x38cbbe(0x1aa)]);_0x51b781['iv']=_0x2f50dc['iv'];var _0x201978=_0x1549be['encrypt'][_0x38cbbe(0x35b)](this,_0x2b5174,_0x38aca2,_0x2f50dc[_0x38cbbe(0x33e)],_0x51b781);return _0x201978[_0x38cbbe(0x237)](_0x2f50dc),_0x201978;},'decrypt':function(_0x38feb6,_0x313a1c,_0x2c4b80,_0x305cb2){var _0x175d84=_0x3116a1;_0x305cb2=this['cfg'][_0x175d84(0x41e)](_0x305cb2),_0x313a1c=this[_0x175d84(0x1e9)](_0x313a1c,_0x305cb2[_0x175d84(0x244)]);var _0x1f09fe=_0x305cb2[_0x175d84(0x406)]['execute'](_0x2c4b80,_0x38feb6[_0x175d84(0x2a9)],_0x38feb6[_0x175d84(0x1f2)],_0x313a1c[_0x175d84(0x30e)],_0x305cb2[_0x175d84(0x1aa)]);_0x305cb2['iv']=_0x1f09fe['iv'];var _0x217337=_0x1549be[_0x175d84(0x398)][_0x175d84(0x35b)](this,_0x38feb6,_0x313a1c,_0x1f09fe[_0x175d84(0x33e)],_0x305cb2);return _0x217337;}});}();}));}(Je)),Je[_0x2de7b2(0x24d)];}var Dr=Ve[_0x312368(0x24d)],ri;function Ur(){var _0x16c356=_0x312368;return ri||(ri=0x1,function(_0x2f95c3,_0x4f5114){(function(_0x1b818c,_0x471e9a,_0x30874f){var _0x2f5b85=_0x2088;_0x2f95c3[_0x2f5b85(0x24d)]=_0x471e9a(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x125787){return(function(){var _0x39d9ad=_0x2088,_0x5ad022=_0x125787,_0x3d0570=_0x5ad022[_0x39d9ad(0x40a)],_0x294b23=_0x3d0570[_0x39d9ad(0x3bc)],_0x9c8c68=_0x5ad022[_0x39d9ad(0x1ae)],_0x3ea2c3=[],_0x1894fe=[],_0x4f144a=[],_0x46c208=[],_0x1f6765=[],_0x270db0=[],_0x227e1d=[],_0x3b93bf=[],_0x317098=[],_0x557f8f=[];(function(){for(var _0x510957=[],_0x2413e6=0x0;_0x2413e6<0x100;_0x2413e6++)_0x2413e6<0x80?_0x510957[_0x2413e6]=_0x2413e6<<0x1:_0x510957[_0x2413e6]=_0x2413e6<<0x1^0x11b;for(var _0x2d5043=0x0,_0x16126d=0x0,_0x2413e6=0x0;_0x2413e6<0x100;_0x2413e6++){var _0xa151fe=_0x16126d^_0x16126d<<0x1^_0x16126d<<0x2^_0x16126d<<0x3^_0x16126d<<0x4;_0xa151fe=_0xa151fe>>>0x8^_0xa151fe&0xff^0x63,_0x3ea2c3[_0x2d5043]=_0xa151fe,_0x1894fe[_0xa151fe]=_0x2d5043;var _0x12a675=_0x510957[_0x2d5043],_0xda4bec=_0x510957[_0x12a675],_0x38a841=_0x510957[_0xda4bec],_0x2ca0ef=_0x510957[_0xa151fe]*0x101^_0xa151fe*0x1010100;_0x4f144a[_0x2d5043]=_0x2ca0ef<<0x18|_0x2ca0ef>>>0x8,_0x46c208[_0x2d5043]=_0x2ca0ef<<0x10|_0x2ca0ef>>>0x10,_0x1f6765[_0x2d5043]=_0x2ca0ef<<0x8|_0x2ca0ef>>>0x18,_0x270db0[_0x2d5043]=_0x2ca0ef;var _0x2ca0ef=_0x38a841*0x1010101^_0xda4bec*0x10001^_0x12a675*0x101^_0x2d5043*0x1010100;_0x227e1d[_0xa151fe]=_0x2ca0ef<<0x18|_0x2ca0ef>>>0x8,_0x3b93bf[_0xa151fe]=_0x2ca0ef<<0x10|_0x2ca0ef>>>0x10,_0x317098[_0xa151fe]=_0x2ca0ef<<0x8|_0x2ca0ef>>>0x18,_0x557f8f[_0xa151fe]=_0x2ca0ef,_0x2d5043?(_0x2d5043=_0x12a675^_0x510957[_0x510957[_0x510957[_0x38a841^_0x12a675]]],_0x16126d^=_0x510957[_0x510957[_0x16126d]]):_0x2d5043=_0x16126d=0x1;}}());var _0x44a949=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37e587=_0x9c8c68[_0x39d9ad(0x1a3)]=_0x294b23['extend']({'_doReset':function(){var _0x10eb5c=_0x39d9ad,_0x32a3c3;if(!(this[_0x10eb5c(0x3fd)]&&this[_0x10eb5c(0x1fc)]===this[_0x10eb5c(0x356)])){for(var _0x133ac8=this[_0x10eb5c(0x1fc)]=this['_key'],_0x2b52e5=_0x133ac8[_0x10eb5c(0x2ce)],_0xd544cc=_0x133ac8['sigBytes']/0x4,_0x5ac668=this[_0x10eb5c(0x3fd)]=_0xd544cc+0x6,_0x35f76a=(_0x5ac668+0x1)*0x4,_0x1d6b7c=this[_0x10eb5c(0x1a1)]=[],_0x18efa6=0x0;_0x18efa6<_0x35f76a;_0x18efa6++)_0x18efa6<_0xd544cc?_0x1d6b7c[_0x18efa6]=_0x2b52e5[_0x18efa6]:(_0x32a3c3=_0x1d6b7c[_0x18efa6-0x1],_0x18efa6%_0xd544cc?_0xd544cc>0x6&&_0x18efa6%_0xd544cc==0x4&&(_0x32a3c3=_0x3ea2c3[_0x32a3c3>>>0x18]<<0x18|_0x3ea2c3[_0x32a3c3>>>0x10&0xff]<<0x10|_0x3ea2c3[_0x32a3c3>>>0x8&0xff]<<0x8|_0x3ea2c3[_0x32a3c3&0xff]):(_0x32a3c3=_0x32a3c3<<0x8|_0x32a3c3>>>0x18,_0x32a3c3=_0x3ea2c3[_0x32a3c3>>>0x18]<<0x18|_0x3ea2c3[_0x32a3c3>>>0x10&0xff]<<0x10|_0x3ea2c3[_0x32a3c3>>>0x8&0xff]<<0x8|_0x3ea2c3[_0x32a3c3&0xff],_0x32a3c3^=_0x44a949[_0x18efa6/_0xd544cc|0x0]<<0x18),_0x1d6b7c[_0x18efa6]=_0x1d6b7c[_0x18efa6-_0xd544cc]^_0x32a3c3);for(var _0x4a780b=this[_0x10eb5c(0x35f)]=[],_0x2fbd4d=0x0;_0x2fbd4d<_0x35f76a;_0x2fbd4d++){var _0x18efa6=_0x35f76a-_0x2fbd4d;if(_0x2fbd4d%0x4)var _0x32a3c3=_0x1d6b7c[_0x18efa6];else var _0x32a3c3=_0x1d6b7c[_0x18efa6-0x4];_0x2fbd4d<0x4||_0x18efa6<=0x4?_0x4a780b[_0x2fbd4d]=_0x32a3c3:_0x4a780b[_0x2fbd4d]=_0x227e1d[_0x3ea2c3[_0x32a3c3>>>0x18]]^_0x3b93bf[_0x3ea2c3[_0x32a3c3>>>0x10&0xff]]^_0x317098[_0x3ea2c3[_0x32a3c3>>>0x8&0xff]]^_0x557f8f[_0x3ea2c3[_0x32a3c3&0xff]];}}},'encryptBlock':function(_0x3cb023,_0x26913f){var _0x4310ae=_0x39d9ad;this[_0x4310ae(0x3a7)](_0x3cb023,_0x26913f,this[_0x4310ae(0x1a1)],_0x4f144a,_0x46c208,_0x1f6765,_0x270db0,_0x3ea2c3);},'decryptBlock':function(_0x240ef6,_0x1f89ee){var _0x4db3ab=_0x39d9ad,_0x30f6f5=_0x240ef6[_0x1f89ee+0x1];_0x240ef6[_0x1f89ee+0x1]=_0x240ef6[_0x1f89ee+0x3],_0x240ef6[_0x1f89ee+0x3]=_0x30f6f5,this[_0x4db3ab(0x3a7)](_0x240ef6,_0x1f89ee,this[_0x4db3ab(0x35f)],_0x227e1d,_0x3b93bf,_0x317098,_0x557f8f,_0x1894fe);var _0x30f6f5=_0x240ef6[_0x1f89ee+0x1];_0x240ef6[_0x1f89ee+0x1]=_0x240ef6[_0x1f89ee+0x3],_0x240ef6[_0x1f89ee+0x3]=_0x30f6f5;},'_doCryptBlock':function(_0x11a727,_0x4ea056,_0x30aad5,_0x15d727,_0x15d7d9,_0xaf5862,_0x1cad6e,_0x3a5cca){var _0xe1261a=_0x39d9ad;for(var _0x23b3c5=this[_0xe1261a(0x3fd)],_0x4172e6=_0x11a727[_0x4ea056]^_0x30aad5[0x0],_0x4cc79c=_0x11a727[_0x4ea056+0x1]^_0x30aad5[0x1],_0x32c8c5=_0x11a727[_0x4ea056+0x2]^_0x30aad5[0x2],_0x50cd1b=_0x11a727[_0x4ea056+0x3]^_0x30aad5[0x3],_0x329fe6=0x4,_0x177c9b=0x1;_0x177c9b<_0x23b3c5;_0x177c9b++){var _0x28abb7=_0x15d727[_0x4172e6>>>0x18]^_0x15d7d9[_0x4cc79c>>>0x10&0xff]^_0xaf5862[_0x32c8c5>>>0x8&0xff]^_0x1cad6e[_0x50cd1b&0xff]^_0x30aad5[_0x329fe6++],_0x25ce21=_0x15d727[_0x4cc79c>>>0x18]^_0x15d7d9[_0x32c8c5>>>0x10&0xff]^_0xaf5862[_0x50cd1b>>>0x8&0xff]^_0x1cad6e[_0x4172e6&0xff]^_0x30aad5[_0x329fe6++],_0x4ca4e4=_0x15d727[_0x32c8c5>>>0x18]^_0x15d7d9[_0x50cd1b>>>0x10&0xff]^_0xaf5862[_0x4172e6>>>0x8&0xff]^_0x1cad6e[_0x4cc79c&0xff]^_0x30aad5[_0x329fe6++],_0x5b9329=_0x15d727[_0x50cd1b>>>0x18]^_0x15d7d9[_0x4172e6>>>0x10&0xff]^_0xaf5862[_0x4cc79c>>>0x8&0xff]^_0x1cad6e[_0x32c8c5&0xff]^_0x30aad5[_0x329fe6++];_0x4172e6=_0x28abb7,_0x4cc79c=_0x25ce21,_0x32c8c5=_0x4ca4e4,_0x50cd1b=_0x5b9329;}var _0x28abb7=(_0x3a5cca[_0x4172e6>>>0x18]<<0x18|_0x3a5cca[_0x4cc79c>>>0x10&0xff]<<0x10|_0x3a5cca[_0x32c8c5>>>0x8&0xff]<<0x8|_0x3a5cca[_0x50cd1b&0xff])^_0x30aad5[_0x329fe6++],_0x25ce21=(_0x3a5cca[_0x4cc79c>>>0x18]<<0x18|_0x3a5cca[_0x32c8c5>>>0x10&0xff]<<0x10|_0x3a5cca[_0x50cd1b>>>0x8&0xff]<<0x8|_0x3a5cca[_0x4172e6&0xff])^_0x30aad5[_0x329fe6++],_0x4ca4e4=(_0x3a5cca[_0x32c8c5>>>0x18]<<0x18|_0x3a5cca[_0x50cd1b>>>0x10&0xff]<<0x10|_0x3a5cca[_0x4172e6>>>0x8&0xff]<<0x8|_0x3a5cca[_0x4cc79c&0xff])^_0x30aad5[_0x329fe6++],_0x5b9329=(_0x3a5cca[_0x50cd1b>>>0x18]<<0x18|_0x3a5cca[_0x4172e6>>>0x10&0xff]<<0x10|_0x3a5cca[_0x4cc79c>>>0x8&0xff]<<0x8|_0x3a5cca[_0x32c8c5&0xff])^_0x30aad5[_0x329fe6++];_0x11a727[_0x4ea056]=_0x28abb7,_0x11a727[_0x4ea056+0x1]=_0x25ce21,_0x11a727[_0x4ea056+0x2]=_0x4ca4e4,_0x11a727[_0x4ea056+0x3]=_0x5b9329;},'keySize':0x100/0x20});_0x5ad022[_0x39d9ad(0x1a3)]=_0x294b23[_0x39d9ad(0x221)](_0x37e587);}()),_0x125787['AES'];}));}(Ve)),Ve[_0x16c356(0x24d)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x312368(0x24d)],ai;function Lr(){return ai||(ai=0x1,function(_0x5cc8f0,_0x3bedba){(function(_0x477ee2,_0xa2f9e){var _0x1e1b47=_0x2088;_0x5cc8f0[_0x1e1b47(0x24d)]=_0xa2f9e(ie());}(xr,function(_0x137a51){var _0x1c864d=_0x2088;return _0x137a51[_0x1c864d(0x1f4)][_0x1c864d(0x180)];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x312368(0x24d)],oi;function Hr(){var _0x31938a=_0x312368;return oi||(oi=0x1,function(_0x5023c7,_0x470f66){(function(_0x44c597,_0x2e5eaa){var _0x414751=_0x2088;_0x5023c7[_0x414751(0x24d)]=_0x2e5eaa(ie());}($r,function(_0xd735bd){var _0xd298a3=_0x2088;return(function(){var _0x443d26=_0x2088;if(typeof ArrayBuffer==_0x443d26(0x261)){var _0x133762=_0xd735bd,_0x22f45b=_0x133762[_0x443d26(0x40a)],_0x505a85=_0x22f45b[_0x443d26(0x34d)],_0x10666e=_0x505a85['init'],_0x42ed25=_0x505a85[_0x443d26(0x3e4)]=function(_0x3fc425){var _0x275ffc=_0x443d26;if(_0x3fc425 instanceof ArrayBuffer&&(_0x3fc425=new Uint8Array(_0x3fc425)),(_0x3fc425 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fc425 instanceof Uint8ClampedArray||_0x3fc425 instanceof Int16Array||_0x3fc425 instanceof Uint16Array||_0x3fc425 instanceof Int32Array||_0x3fc425 instanceof Uint32Array||_0x3fc425 instanceof Float32Array||_0x3fc425 instanceof Float64Array)&&(_0x3fc425=new Uint8Array(_0x3fc425[_0x275ffc(0x26c)],_0x3fc425[_0x275ffc(0x3e6)],_0x3fc425[_0x275ffc(0x1af)])),_0x3fc425 instanceof Uint8Array){for(var _0x2d96e1=_0x3fc425['byteLength'],_0x8240f0=[],_0x1881d4=0x0;_0x1881d4<_0x2d96e1;_0x1881d4++)_0x8240f0[_0x1881d4>>>0x2]|=_0x3fc425[_0x1881d4]<<0x18-_0x1881d4%0x4*0x8;_0x10666e['call'](this,_0x8240f0,_0x2d96e1);}else _0x10666e[_0x275ffc(0x1db)](this,arguments);};_0x42ed25[_0x443d26(0x41c)]=_0x505a85;}}()),_0xd735bd[_0xd298a3(0x40a)][_0xd298a3(0x34d)];}));}(Ze)),Ze[_0x31938a(0x24d)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x312368(0x24d)],ci;function Vr(){var _0x717fb2=_0x312368;return ci||(ci=0x1,function(_0x5b3fc2,_0x38cf80){(function(_0x53b02,_0x95c6,_0x1c423d){var _0x2cc545=_0x2088;_0x5b3fc2[_0x2cc545(0x24d)]=_0x95c6(ie(),wi());}(Fr,function(_0x509a99){var _0x5aec3c=_0x2088;return _0x509a99[_0x5aec3c(0x30d)][_0x5aec3c(0x337)]={'pad':function(){},'unpad':function(){}},_0x509a99[_0x5aec3c(0x30d)][_0x5aec3c(0x337)];}));}(Qe)),Qe[_0x717fb2(0x24d)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x22c661,_0x2b97ce){var _0x4692da=_0x312368;const _0x4035ff=_0x2b97ce-_0x22c661[_0x4692da(0x441)]%_0x2b97ce,_0x26ebfb=String[_0x4692da(0x404)](_0x4035ff)[_0x4692da(0x27d)](_0x4035ff);return _0x22c661+_0x26ebfb;}function Yr(_0x1df8ef,_0x21abc4){var _0x1fa8d0=_0x312368;const _0x4f20de=jr[_0x1fa8d0(0x2d8)](0x10),_0x5ed02a=Kr(_0x1df8ef,0x10),_0x3ec912=Ar['encrypt'](kr['parse'](_0x5ed02a),si[_0x1fa8d0(0x305)](_0x21abc4),{'iv':_0x4f20de,'padding':Wr});return _0x4f20de[_0x1fa8d0(0x45b)](_0x3ec912['ciphertext'])['toString'](si);}function qr(){var _0xa3955e=_0x312368;const _0x36b39c=_0xa5deca()['__Key__'];if(_0x36b39c){const _0x534eb3={'time':Math[_0xa3955e(0x2ec)](Date[_0xa3955e(0x355)]()/0x3e8),'domain':location[_0xa3955e(0x3b1)]};return Yr(JSON[_0xa3955e(0x267)](_0x534eb3),_0x36b39c);}}var zr=Object[_0x312368(0x2e8)],Jr=(_0xf77461,_0x37833a,_0x2f9467,_0x2fa4bf)=>{for(var _0x2b240c=_0x2fa4bf>0x1?void 0x0:_0x2fa4bf?zr(_0x37833a,_0x2f9467):_0x37833a,_0x5e5bd1=_0xf77461['length']-0x1,_0x188204;_0x5e5bd1>=0x0;_0x5e5bd1--)(_0x188204=_0xf77461[_0x5e5bd1])&&(_0x2b240c=_0x188204(_0x2b240c)||_0x2b240c);return _0x2b240c;},Xr=(_0x43968a,_0x5c43a1)=>(_0x1fa87a,_0x127996)=>_0x5c43a1(_0x1fa87a,_0x127996,_0x43968a);let at=class{constructor(_0x28b836){var _0x4a87b2=_0x312368;this[_0x4a87b2(0x262)]=_0x28b836,this[_0x4a87b2(0x39a)]();}[_0x312368(0x39a)](){var _0x55a951=_0x312368;this[_0x55a951(0x262)]['registerHTTPInterceptor']({'interceptor':(_0x5353f2,_0x116a48)=>{var _0x1062e3=_0x55a951;const _0x5ba478=_0x5353f2['headers'],_0x5d2925=qr();return _0x5d2925&&_0x5ba478[_0x1062e3(0x304)]('x-univer-host',_0x5d2925),_0x116a48(_0x5353f2);}});}};at=Jr([Xr(0x0,_0x2586f2(_0x38beb7))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x17adae,_0xfb9b2b,_0x44ad7d,_0x421010)=>{for(var _0x13dcc5=_0x421010>0x1?void 0x0:_0x421010?Zr(_0xfb9b2b,_0x44ad7d):_0xfb9b2b,_0x106ceb=_0x17adae['length']-0x1,_0x3fa357;_0x106ceb>=0x0;_0x106ceb--)(_0x3fa357=_0x17adae[_0x106ceb])&&(_0x13dcc5=_0x3fa357(_0x13dcc5)||_0x13dcc5);return _0x13dcc5;},mt=(_0x2ddd38,_0x5ee917)=>(_0x4f4ee7,_0xc89722)=>_0x5ee917(_0x4f4ee7,_0xc89722,_0x2ddd38);let bt=class extends _0x35e9dc{constructor(_0x490bf2,_0xe85d2e,_0x464f07){var _0x13f99d=_0x312368;super(),N(this,'_unitInfo$',new _0x3ad7f8(null)),N(this,_0x13f99d(0x2a6),this['_unitInfo$'][_0x13f99d(0x45e)]()),(this[_0x13f99d(0x28b)]=_0x490bf2,this[_0x13f99d(0x246)]=_0xe85d2e,this[_0x13f99d(0x26d)]=_0x464f07);}async[_0x312368(0x1a8)](_0xec7e26,_0x398dfa,_0x4d9a03){var _0x2bb372=_0x312368;this[_0x2bb372(0x469)][_0x2bb372(0x282)]({'unitId':_0xec7e26,'type':_0x398dfa,'subUnitId':_0x4d9a03});let _0x286735=null;switch(_0x398dfa){case Q[_0x2bb372(0x42b)]:{_0x286735=await this['_loadSheet'](_0xec7e26);break;}case Q[_0x2bb372(0x419)]:{_0x286735=await this[_0x2bb372(0x2fb)](_0xec7e26);break;}default:{this[_0x2bb372(0x28b)][_0x2bb372(0x17d)]('[DataLoaderService]',_0x2bb372(0x24b));break;}}return _0x286735;}async[_0x312368(0x298)](_0x585297){var _0x2f4166=_0x312368,_0x44a813;let _0x36b55e=0x0;const _0x454820=await((_0x44a813=this[_0x2f4166(0x26d)])==null?void 0x0:_0x44a813[_0x2f4166(0x2c8)](_0x585297));return _0x454820&&(_0x454820[_0x2f4166(0x395)]||_0x454820[_0x2f4166(0x2a4)][_0x2f4166(0x441)]!==0x0)&&(_0x36b55e=_0x454820['rev']),_0x36b55e===0x0&&this[_0x2f4166(0x28b)][_0x2f4166(0x454)]('[DataLoaderService]',_0x2f4166(0x338)),this[_0x2f4166(0x246)][_0x2f4166(0x32d)](_0x585297,_0x36b55e);}async[_0x312368(0x2fb)](_0x3f052f){var _0x2c4c42=_0x312368,_0x3f07e3;let _0x53ecad=0x0;const _0x3c3e9f=await((_0x3f07e3=this['_localCacheService'])==null?void 0x0:_0x3f07e3[_0x2c4c42(0x2c8)](_0x3f052f));return _0x3c3e9f&&(_0x3c3e9f[_0x2c4c42(0x395)]||_0x3c3e9f[_0x2c4c42(0x2a4)]['length']!==0x0)&&(_0x53ecad=_0x3c3e9f['rev']),_0x53ecad===0x0&&this[_0x2c4c42(0x28b)][_0x2c4c42(0x454)](_0x2c4c42(0x399),_0x2c4c42(0x338)),this['_snapshotService']['loadDoc'](_0x3f052f,_0x53ecad);}};bt=Qr([mt(0x0,_0x44b611),mt(0x1,_0x2586f2(_0x7dea19)),mt(0x2,_0x2e05d5(J))],bt);var es=Object[_0x312368(0x2e8)],ts=(_0x2c9747,_0x2af1fa,_0x4ad3a5,_0x4ff1bb)=>{var _0x71cea4=_0x312368;for(var _0x242f67=_0x4ff1bb>0x1?void 0x0:_0x4ff1bb?es(_0x2af1fa,_0x4ad3a5):_0x2af1fa,_0x167dbc=_0x2c9747[_0x71cea4(0x441)]-0x1,_0x1d3bfc;_0x167dbc>=0x0;_0x167dbc--)(_0x1d3bfc=_0x2c9747[_0x167dbc])&&(_0x242f67=_0x1d3bfc(_0x242f67)||_0x242f67);return _0x242f67;},gt=(_0x4e866b,_0x367f72)=>(_0x18b67c,_0x2b21f9)=>_0x367f72(_0x18b67c,_0x2b21f9,_0x4e866b);const is=['image/png',_0x312368(0x45d),_0x312368(0x3f3),_0x312368(0x226),_0x312368(0x1f8)],ns=0x5*0x400*0x400,rs=_0x312368(0x328),ss=_0x312368(0x24e),as=_0x312368(0x420),os='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x114b96,_0x389039,_0x9990c3){var _0x50353d=_0x312368;N(this,'_waitCount',0x0),N(this,_0x50353d(0x48c),new _0x58101f()),N(this,_0x50353d(0x361),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x50353d(0x262)]=_0x114b96,this[_0x50353d(0x1d0)]=_0x389039,this[_0x50353d(0x251)]=_0x9990c3);}[_0x312368(0x466)](_0x107e49){var _0x48fe5b=_0x312368;this[_0x48fe5b(0x43e)]=_0x107e49,this[_0x48fe5b(0x48c)][_0x48fe5b(0x282)](_0x107e49);}[_0x312368(0x1b5)](_0x18411e,_0x4325f6){var _0x46499a=_0x312368;if(_0x4325f6===_0x280444[_0x46499a(0x1b8)]){const _0x119e5d=new Image();return _0x119e5d[_0x46499a(0x281)]=_0x18411e,_0x119e5d;}return this[_0x46499a(0x471)][_0x46499a(0x31d)](_0x18411e);}[_0x312368(0x294)](_0x539465,_0x167d0e,_0x24f5e8){var _0x4dad58=_0x312368;_0x167d0e===_0x280444[_0x4dad58(0x1b8)]||_0x24f5e8==null||this[_0x4dad58(0x471)][_0x4dad58(0x304)](_0x539465,_0x24f5e8);}async[_0x312368(0x254)](_0x4a6ccc){var _0xd3305f=_0x312368;try{const _0x46ad1d=this[_0xd3305f(0x1c1)](this[_0xd3305f(0x3f2)](),''+_0x4a6ccc),_0x168867=(await this[_0xd3305f(0x262)]['get'](_0x46ad1d))['body'];if(_0x168867[_0xd3305f(0x17d)]&&_0x168867['error'][_0xd3305f(0x25d)]===Si['OK']){const _0x220306=new URL(_0x168867['url'],this['_getDownloadEndpointURL']())[_0xd3305f(0x42c)]();return Promise[_0xd3305f(0x353)](_0x220306);}return Promise[_0xd3305f(0x481)](_0x168867[_0xd3305f(0x17d)]);}catch(_0x509ef0){return Promise['reject'](_0x509ef0);}}async['saveImage'](_0x35bd55){var _0x2d47a6=_0x312368;let _0x2e675c='';if(!is[_0x2d47a6(0x2ab)](_0x35bd55[_0x2d47a6(0x291)]))return this[_0x2d47a6(0x3a3)](),Promise['reject'](new Error(_0x301feb[_0x2d47a6(0x23b)]));if(_0x35bd55[_0x2d47a6(0x447)]>ns)return this[_0x2d47a6(0x3a3)](),Promise[_0x2d47a6(0x481)](new Error(_0x301feb['ERROR_EXCEED_SIZE']));try{const _0x1d51bc=new FormData();_0x1d51bc[_0x2d47a6(0x385)](_0x2d47a6(0x2fd),_0x35bd55);const _0x5f2438=this[_0x2d47a6(0x251)][_0x2d47a6(0x436)](),_0x575a79=_0x5f2438==null?void 0x0:_0x5f2438[_0x2d47a6(0x184)]();if(!_0x575a79)throw new Error(_0x2d47a6(0x3df));const _0x169bc2=this[_0x2d47a6(0x217)]()+'?size='+_0x35bd55[_0x2d47a6(0x447)][_0x2d47a6(0x42c)]()+_0x2d47a6(0x242)+Ei[_0x2d47a6(0x1e6)]+_0x2d47a6(0x175)+encodeURIComponent(_0x575a79),_0x18c4a2=await(await fetch(_0x169bc2,{'method':_0x2d47a6(0x2d6),'body':_0x1d51bc}))['json']();if(typeof _0x18c4a2[_0x2d47a6(0x438)]!=_0x2d47a6(0x257))return this[_0x2d47a6(0x3a3)](),Promise[_0x2d47a6(0x481)](new Error(_0x301feb[_0x2d47a6(0x408)]));_0x2e675c=_0x18c4a2[_0x2d47a6(0x438)];}catch{return this[_0x2d47a6(0x3a3)](),Promise[_0x2d47a6(0x481)](new Error(_0x301feb['ERROR_IMAGE']));}return new Promise((_0x2e4a58,_0x25dbbc)=>{var _0xc82574=_0x2d47a6;const _0x3f2499=new FileReader();_0x3f2499[_0xc82574(0x2cd)](_0x35bd55),_0x3f2499['onload']=_0x28100b=>{var _0x2babc8=_0xc82574,_0x53b2c2;const _0x1e1606=(_0x53b2c2=_0x28100b[_0x2babc8(0x346)])==null?void 0x0:_0x53b2c2[_0x2babc8(0x252)];if(_0x1e1606==null){this[_0x2babc8(0x3a3)](),_0x25dbbc(new Error(_0x301feb['ERROR_IMAGE']));return;}const _0xab5f16=_0x184ef7[_0x2babc8(0x38b)](0x6);_0x2e4a58({'imageId':_0xab5f16,'imageSourceType':_0x280444[_0x2babc8(0x457)],'source':_0x2e675c,'base64Cache':_0x1e1606,'status':_0x301feb[_0x2babc8(0x3c9)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x27c268=_0x312368,_0x5e9eab,_0x1fe1a5;const _0x16c7b6=this[_0x27c268(0x1d0)][_0x27c268(0x1ef)](rs),_0x59ff05=this[_0x27c268(0x1d0)][_0x27c268(0x1ef)](q);return(_0x1fe1a5=(_0x5e9eab=_0x59ff05==null?void 0x0:_0x59ff05[_0x27c268(0x19e)])!=null?_0x5e9eab:_0x16c7b6)!=null?_0x1fe1a5:ss;}[_0x312368(0x3f2)](){var _0x198002=_0x312368,_0x1c0139,_0x4a4eeb;const _0x18f289=this['_configService'][_0x198002(0x1ef)](as),_0x6b9624=this[_0x198002(0x1d0)][_0x198002(0x1ef)](q);return(_0x4a4eeb=(_0x1c0139=_0x6b9624==null?void 0x0:_0x6b9624[_0x198002(0x44a)])!=null?_0x1c0139:_0x18f289)!=null?_0x4a4eeb:os;}[_0x312368(0x39c)](){var _0x4e4597=_0x312368,_0xfb83f7;const _0x2b7010=this['_configService'][_0x4e4597(0x1ef)](q);return(_0xfb83f7=_0x2b7010==null?void 0x0:_0x2b7010[_0x4e4597(0x2ee)])!=null?_0xfb83f7:location[_0x4e4597(0x3b0)];}[_0x312368(0x1c1)](_0x5c5ab3,_0x22f36f){var _0x300bf8=_0x312368;return _0x5c5ab3[_0x300bf8(0x3d7)](_0x300bf8(0x448),_0x22f36f);}['_decreaseWaiting'](){var _0x579534=_0x312368;this[_0x579534(0x43e)]-=0x1,this['_change$'][_0x579534(0x282)](this[_0x579534(0x43e)]);}};yt=ts([gt(0x0,_0x2586f2(_0x38beb7)),gt(0x1,_0xf309d1),gt(0x2,_0x2586f2(_0x453383))],yt);var cs=Object[_0x312368(0x2e8)],hs=(_0x5ecc8a,_0x956a12,_0x224f63,_0xf4a158)=>{for(var _0x377cf2=_0xf4a158>0x1?void 0x0:_0xf4a158?cs(_0x956a12,_0x224f63):_0x956a12,_0xd2bc6b=_0x5ecc8a['length']-0x1,_0x56fcec;_0xd2bc6b>=0x0;_0xd2bc6b--)(_0x56fcec=_0x5ecc8a[_0xd2bc6b])&&(_0x377cf2=_0x56fcec(_0x377cf2)||_0x377cf2);return _0x377cf2;},hi=(_0x53cb84,_0x2a23e5)=>(_0x2ef38c,_0x56a621)=>_0x2a23e5(_0x2ef38c,_0x56a621,_0x53cb84);const _s='/universer-api/authz';let Ot=class{constructor(_0xf86970,_0x7cf22b){var _0xfd15dc=_0x312368;this[_0xfd15dc(0x1d0)]=_0xf86970,this[_0xfd15dc(0x3c2)]=_0x7cf22b;}['_getAPIPrefixPath'](){var _0x4bb352=_0x312368,_0x908c34,_0xcdcac4;const _0x379155=this['_configService'][_0x4bb352(0x1ef)](Ni),_0x59b433=this[_0x4bb352(0x1d0)][_0x4bb352(0x1ef)](q);return(_0xcdcac4=(_0x908c34=_0x59b433==null?void 0x0:_0x59b433[_0x4bb352(0x30c)])!=null?_0x908c34:_0x379155)!=null?_0xcdcac4:_s;}async[_0x312368(0x212)](_0x9e5a9c){var _0x183944=_0x312368;const _0x23d1c7=this['_getAPIPrefixPath']()+_0x183944(0x341);return{'list':[{'title':_0x183944(0x2f6),'mentions':(await this['_HTTPService'][_0x183944(0x31d)](_0x23d1c7,{'params':{'objectID':_0x9e5a9c[_0x183944(0x452)],'unitID':_0x9e5a9c['unitId']}}))[_0x183944(0x403)][_0x183944(0x1fd)]['map'](_0x2247f9=>({'objectId':_0x2247f9['id'],'name':_0x2247f9[_0x183944(0x473)]['name'],'metadata':{'icon':_0x2247f9[_0x183944(0x473)][_0x183944(0x486)]},'label':_0x2247f9['subject']['name'],'objectType':_0x40ef48[_0x183944(0x3b5)]})),'metadata':{},'type':_0x40ef48['PERSON']}]};}};Ot=hs([hi(0x0,_0x2586f2(_0xf309d1)),hi(0x1,_0x2586f2(_0x38beb7))],Ot);var ls=Object[_0x312368(0x2e8)],us=(_0x37fd01,_0x2c1f93,_0x5bb69e,_0x1775cb)=>{var _0x1e4f17=_0x312368;for(var _0xec819f=_0x1775cb>0x1?void 0x0:_0x1775cb?ls(_0x2c1f93,_0x5bb69e):_0x2c1f93,_0x2b467e=_0x37fd01[_0x1e4f17(0x441)]-0x1,_0x1afb78;_0x2b467e>=0x0;_0x2b467e--)(_0x1afb78=_0x37fd01[_0x2b467e])&&(_0xec819f=_0x1afb78(_0xec819f)||_0xec819f);return _0xec819f;},Ae=(_0x4002b3,_0x249121)=>(_0x21f454,_0x177798)=>_0x249121(_0x21f454,_0x177798,_0x4002b3);let ot=class extends _0x35e9dc{constructor(_0x242200,_0x3e8dd6,_0x26cff8,_0x237a4c,_0x23631){var _0x1d6879=_0x312368;super(),this['_injector']=_0x242200,this[_0x1d6879(0x251)]=_0x3e8dd6,this[_0x1d6879(0x1e7)]=_0x26cff8,this[_0x1d6879(0x2d3)]=_0x237a4c,this[_0x1d6879(0x1c2)]=_0x23631,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x312368(0x465)](){var _0x18edb1=_0x312368;const _0x2119e2=async _0x23ad37=>{var _0x1757ad=_0x2088;(await this[_0x1757ad(0x2d3)]['requireSession'](_0x23ad37))[_0x1757ad(0x3f6)][_0x1757ad(0x1e4)](_0xcaa7c8(_0x4349f4=>_0x4349f4['eventID']===_0x223f92[_0x1757ad(0x34a)]),_0x5f0519(this['dispose$']))[_0x1757ad(0x322)](_0x207ad7=>{var _0x542d30=_0x1757ad;const _0x965c31=_0x207ad7,{reason:_0x81b6e5}=_0x965c31[_0x542d30(0x30b)];this[_0x542d30(0x1c2)][_0x542d30(0x225)]({'id':se[_0x542d30(0x463)],'data':_0x81b6e5}),this[_0x542d30(0x1e7)][_0x542d30(0x1b7)](new _0x57cfe9(_0x23ad37)['id'],!0x1),this[_0x542d30(0x2d3)]['closeSession'](_0x23ad37);});};_0x258385(this[_0x18edb1(0x251)][_0x18edb1(0x1cd)](_0x3c7b45[_0x18edb1(0x42b)]),this['_univerInstanceService'][_0x18edb1(0x1cd)](_0x3c7b45['UNIVER_DOC']))[_0x18edb1(0x1e4)](_0x4d6eb1(_0x3a7b9f=>_0x3a7b9f['getUnitId']()),_0xcaa7c8(_0x48308c=>!_0xcdafac(_0x48308c)),_0x5f0519(this['dispose$']))[_0x18edb1(0x322)](_0x11fb37=>{_0x2119e2(_0x11fb37);});}[_0x312368(0x2be)](){var _0x157f93=_0x312368;const _0x325a81=async _0x419f58=>{var _0x5a389d=_0x2088;const _0x5ce558=await this['_collaborationSessionService'][_0x5a389d(0x1ca)](_0x419f58),_0x4b9d0f=this[_0x5a389d(0x393)][_0x5a389d(0x31d)](_0x4b157d);_0x5ce558['event$']['pipe'](_0xcaa7c8(_0x1b357f=>_0x1b357f[_0x5a389d(0x1e1)]===_0x223f92[_0x5a389d(0x27a)]),_0x5f0519(this[_0x5a389d(0x1c7)]))['subscribe'](_0x4632dd=>{var _0x411f3f=_0x5a389d;const _0x46c88a=_0x4632dd,{objectId:_0x23e481}=_0x46c88a['data'];_0x23e481===_0x419f58?_0x4b9d0f[_0x411f3f(0x2f1)](_0x419f58):_0x4b9d0f[_0x411f3f(0x445)](_0x419f58,_0x23e481);});};_0x258385(this[_0x157f93(0x251)][_0x157f93(0x1cd)](_0x3c7b45['UNIVER_SHEET']))[_0x157f93(0x1e4)](_0x4d6eb1(_0x3aba47=>_0x3aba47[_0x157f93(0x184)]()),_0xcaa7c8(_0x248bbd=>!_0xcdafac(_0x248bbd)),_0x5f0519(this['dispose$']))['subscribe'](_0x192ed1=>{_0x325a81(_0x192ed1);});}};ot=us([Ae(0x0,_0x2586f2(_0x4c9895)),Ae(0x1,_0x453383),Ae(0x2,_0x581021),Ae(0x3,_0x2586f2(Le)),Ae(0x4,_0x2586f2(pe))],ot);function _0x2088(_0x5c418e,_0x3bdf82){var _0x20d110=_0x20d1();return _0x2088=function(_0x208870,_0x300a8f){_0x208870=_0x208870-0x175;var _0xb577dd=_0x20d110[_0x208870];return _0xb577dd;},_0x2088(_0x5c418e,_0x3bdf82);}var ds=Object[_0x312368(0x2e8)],fs=(_0x130b96,_0x4e1819,_0x72b3da,_0x58f7c9)=>{var _0x199556=_0x312368;for(var _0x5a888f=_0x58f7c9>0x1?void 0x0:_0x58f7c9?ds(_0x4e1819,_0x72b3da):_0x4e1819,_0x13f801=_0x130b96[_0x199556(0x441)]-0x1,_0x25ee8b;_0x13f801>=0x0;_0x13f801--)(_0x25ee8b=_0x130b96[_0x13f801])&&(_0x5a888f=_0x25ee8b(_0x5a888f)||_0x5a888f);return _0x5a888f;},_i=(_0x386d17,_0x1b012e)=>(_0x291b92,_0x4bf3b3)=>_0x1b012e(_0x291b92,_0x4bf3b3,_0x386d17);let Nt=class{constructor(_0x109336,_0x36b41e){var _0x33f342=_0x312368;this[_0x33f342(0x1d0)]=_0x109336,this[_0x33f342(0x262)]=_0x36b41e;}async[_0x312368(0x199)](_0x86b21d,_0x30fc2b){var _0x436988=_0x312368,_0x54f7e4;const {unitID:_0x25f176,type:_0x1f51f2,revision:_0x5c53c4=0x0}=_0x30fc2b,_0x4ab731=this['getSnapshotAPIPath']()+'/'+_0x1f51f2+_0x436988(0x189)+_0x25f176+_0x436988(0x275)+_0x5c53c4,_0x2f87b2=(await this[_0x436988(0x262)][_0x436988(0x31d)](_0x4ab731))[_0x436988(0x403)],_0x3bead3=(_0x54f7e4=_0x2f87b2['snapshot'])==null?void 0x0:_0x54f7e4[_0x436988(0x349)];if(_0x3bead3){const _0x33abfc=_0x3bead3==null?void 0x0:_0x3bead3[_0x436988(0x236)],_0x3df4bd=_0xb56b2a[_0x436988(0x3d1)](_0xdf6e89(_0x33abfc));_0x3bead3[_0x436988(0x236)]=_0x3df4bd,Object[_0x436988(0x461)](_0x3bead3[_0x436988(0x296)])[_0x436988(0x46d)](([,_0x24b424])=>{var _0x62a6e5=_0x436988;const _0x1fd038=_0x24b424[_0x62a6e5(0x236)],_0xe64805=_0xb56b2a[_0x62a6e5(0x3d1)](_0xdf6e89(_0x1fd038));_0x24b424['originalMeta']=_0xe64805;});}return _0x2f87b2;}async[_0x312368(0x20a)](_0x2e6d7e,_0x421c1e){var _0x3aebfc=_0x312368;const {unitID:_0x501bdc,type:_0x58a3c8,blockID:_0x5a1dc7}=_0x421c1e,_0x32631f=this[_0x3aebfc(0x390)]()+'/'+_0x58a3c8+_0x3aebfc(0x189)+_0x501bdc+'/block/'+_0x5a1dc7;return(await this['_httpService'][_0x3aebfc(0x31d)](_0x32631f))[_0x3aebfc(0x403)];}async[_0x312368(0x1fe)](_0x1ce9f5,_0x56b12c){var _0x28e69e=_0x312368;const {unitID:_0x50dbb9,type:_0x1511be,blockID:_0x40d298}=_0x56b12c,_0x3a3914=this[_0x28e69e(0x390)]()+_0x28e69e(0x333)+_0x1511be+_0x28e69e(0x189)+_0x50dbb9+'/block/'+_0x40d298;return(await this['_httpService']['get'](_0x3a3914))['body'];}async[_0x312368(0x386)](_0x44fe3a,_0x2e284a){var _0x91fd93=_0x312368;const {unitID:_0x489dde,type:_0x31fac1,from:_0x46e14e,to:_0x57573c}=_0x2e284a,_0xc0d0ed=this[_0x91fd93(0x390)]()+'/'+_0x31fac1+_0x91fd93(0x189)+_0x489dde+_0x91fd93(0x286)+_0x46e14e+_0x91fd93(0x45c)+_0x57573c;return(await this['_httpService']['get'](_0xc0d0ed))[_0x91fd93(0x403)];}[_0x312368(0x17c)](){var _0x204a29=_0x312368,_0x539793;return(_0x539793=this[_0x204a29(0x1d0)][_0x204a29(0x1ef)](Sn))!=null?_0x539793:this[_0x204a29(0x390)]();}[_0x312368(0x390)](){var _0x1249ab=_0x312368,_0x8fc02f,_0x7b1c6f;const _0xd3e3d5=this[_0x1249ab(0x1d0)][_0x1249ab(0x1ef)](mn),_0x3b1e33=this[_0x1249ab(0x1d0)][_0x1249ab(0x1ef)](q);return(_0x7b1c6f=(_0x8fc02f=_0x3b1e33==null?void 0x0:_0x3b1e33[_0x1249ab(0x23c)])!=null?_0x8fc02f:_0xd3e3d5)!=null?_0x7b1c6f:gn;}async[_0x312368(0x1e8)](_0x572e90,_0xdedc99){var _0x3a7de7=_0x312368;const _0x86d7f8='/universer-api/snapshot/'+_0xdedc99['type']+_0x3a7de7(0x189)+_0xdedc99[_0x3a7de7(0x2f8)]+_0x3a7de7(0x1cf);return(await this[_0x3a7de7(0x262)]['get'](_0x86d7f8,{'params':{'resourceId':JSON[_0x3a7de7(0x267)](_0xdedc99['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x27f124=_0x312368;throw new Error(_0x27f124(0x285));}[_0x312368(0x429)](){var _0x4dd2f8=_0x312368;throw new Error(_0x4dd2f8(0x285));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x312368(0x3a6)](){var _0x79e6b1=_0x312368;throw new Error(_0x79e6b1(0x285));}[_0x312368(0x2e7)](){var _0x5c9082=_0x312368;throw new Error(_0x5c9082(0x285));}};function _0x20d1(){var _0x45803a=['putCollaborators','_getDownloadEndpointURL','COMPRESS_MUTATION_APPLY','INVALID_ARGUMENT','PERMISSION_REJ','msCrypto','_transformUndoredo','pending','_decreaseWaiting','url','USERS_ENTER','copyFileMeta','_doCryptBlock','Pkcs7','enableOfflineEditing','onStateChange','_onRemoteRejected','update','ENSURE_SNAPSHOT_EXECUTION','_removeRoom','_clearCollaborationTimeoutTimer','origin','hostname','_transformSelections','univer-pro.collaboration-client.network-condition.service','_collaborationTimeoutTimer','PERSON','_singleActiveUnitService','CBC','_substituteUndoStack','Error\x20on\x20receiving\x20event','toggleOffline','readInt32LE','BlockCipher','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_exhaustRemoteChangesetQueue','objectID','FAIL','LIVESHARE_TERMINATE','_HTTPService','session.room-permission-denied','_listenToNetworkCondition','OTHER_CLIENT_EDITING','resend','COMMENT_UPDATE','univer-pro.collaboration-client.single-active-unit-service','SUCCUSS','m2Prime','[UniverCollaborationClientPlugin]','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','collaboratorID','deepClone','rng','isPermissionRej','encode','_onCombEvent','getCollabEntity$','finalize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onLocalMutation','replace','/universer-api/uniscript','closeSession','_getLoginPath','onTransformState','members$','_map','enableSingleActiveInstanceLock','unitId\x20is\x20not\x20found','updateMember','OPTIONAL','reqId','_oKey','init','isArray','byteOffset','iterations','_state','_initMergeInterceptor','add','_substituteRedoStack','_state$','liveShareOperation','PY_RUNTIME_SCRIPT_ERROR','withCredentials','INVITE_CODE_ALREADY_BOUND','_ENC_XFORM_MODE','_getSignURL','image/jpg','_candidateSocket','_commentService','event$','/universer-api/authz','LIVESHARE_NEW_HOST','_getCurrentRevision','SerializableCipher','_disableEditing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_nRounds','roomInfos','HMAC','awaiting_with_pending','_localeService','focused$','body','fromCharCode','collaboration-client.config','kdf','csAckEvent','ERROR_IMAGE','_clearLocalCache','lib','Latin1','editing\x20status\x20changed\x20to','_resendWithTimeout','_toggleOnline','_createInitialState','_undoRedoService','close','retryConnectingInterval','_executeRemoteChangeset','_replayCachedMutations','_doReset','LOGIN_URL_KEY','location','_onOffline','UNIVER_DOC','save\x20fail\x20reason\x20is\x20','compute','prototype','NEW_CHANGESETS','extend','RETRY_CONNECTING_MAX_COUNT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_hasher','getRandomValues','_toggleOffline','responseType','send','_commandService','status$','has','saveSheetBlock','OFFLINE','UNIVER_SHEET','toString','_acknowledgedAwaitingChangeset','SUBMIT_CHANGESET','batchAllowed','JOIN_ROOM_NOT_EXISTS','_doProcessBlock','_fetchMissChangesets','_getAPIPrefixPath','$super','HELLO','getFocusedUnit','mode','FileId','allowed','/allowed','__esModule','\x20-\x20','_sendingTimer','_waitCount','_initDependencies','_config','length','_eventService','Base','session','refreshPermission','socket\x20close','size','{fileID}','_transformRemoteChangesetByIMECache','signUrlServerUrl','NOT_FOUND','_sendHeartbeatTimer','/universer-api/snapshot','joinEvent','submit\x20changeset\x20error!','1298565aNYBdv','createEncryptor','unitId','[CollaborationUndoRedoService]','debug','fetching\x20missing\x20changesets\x20from\x20','findIndex','UUID','routeKey','UPDATE_CURSOR','_clearUndo','concat','&to=','image/jpeg','asObservable','getTypeOfUnitDisposed$','getValue','entries','symbol','CLOSE_ROOM','compose','_initCloseConn','setWaitCount','MSG_FOR_ERROR','[FetchMissState]','_unitInfo$','_scheduleCompleteTimestamp','_onRemoteChangeset','/-/object/list','forEach','cmd','_socket','_onUserLeave','_imageSourceCache','onRemoteRetry','subject','LICENSE_DISTRO_REJECTED','onMissingChangesets','appendMutation','updatePermissionObjEvent','_updateStatus','LIVESHARE_OPERATION','_createHandler','_socketReady','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','\x0aAfter:\x20','_clearTimeoutTimer','complete','equals','reject','YUUMI_SUBSCRIPTION_NOT_FOUND','_getUndoStack','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','BlockCipherMode','avatar','Decryptor','PERMISSION_DENIED','UNDEFINED','_telemetryService','_doFinalize','_change$','_telemetryInfo','&assign=','LICENSE_EXPORT_SIZE_EXCEEDED','fromCollab','GLOBAL_ROOMS_CNT_EXCEEDS','83231AivvZU','shouldCloseConn','randomBytes','getSnapshotAPIPath','error','COMPLETION_FINISHED','HEARTBEAT_TIMEOUT','Utf8','newCsEvent','TOO_MANY_REQUESTS','_collaborationPaused','getUnitId','state','updateCursorEvent','_handler','substr','/unit/','JOIN_ROOM_PERMISSION_DENIED','_clearRedo','1386kfekXO','revision','_DEC_XFORM_MODE','selections','_schedule','put','COMPRESS_MUTATION_SEND','_entities','sendChangesetTimeout','_sender','create','_onConnectionFailed','getSheetId','getUnitOnRev','_onMessage','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20acknowledgement.','_remoteChangesetQueue','uploadFileServerUrl','JOIN_ROOM_FAILED','_rescheduleHeartbeat','_keySchedule','getCurrentRevOfUnit','AES','createInstance','max','LIVESHARE_REQUEST_HOST','transformSelections','loadUnit','sessionStatus','hasher','APPLY_DUPLICATED','ciphertext','6686688MtqHGZ','algo','byteLength','YUUMI_RATE_OVER_LIMIT','transformChangesets','_joinRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getImageSourceCache','dispose','updatePermissionPoint','BASE64','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ALREADY_EXISTS','createDecryptor','reduce','_checkMissing','NO_OTHER_CLIENTS_EDITING','INVALID_INVITE_CODE','_emitMembers','_replaceFileID','_collaborationUIEventService','StreamCipher','socket$','updateOfflineData','[CollaborationSessionService]','dispose$','INVITE_CODE_HAS_BEEN_UES','Hex','requireSession','UNKNOWN_CMD','blockSize','getTypeOfUnitAdded$','_snapshotServerService','/resources','_configService','INVITE_CODE_REQUIRED','_updateLocalCache','_revisionService','_undoStacks','addHandlerCallback','onStarting','onRemoteRej','HttpImport','listCollaborators','changesets','apply','default','44BybKTK','\x20in\x20_schedule.','[OfflineState]:\x20received\x20rejection.','_members$','eventID','_transformStack','_socketService','pipe','_waitForHeartbeatResponse','UnitEmbedded','_permissionService','getResourcesRequest','_parse','APPLY_REVISION_CONFILICT','loginUrlKey','transformMutationsWithChangeset','onlyLocal','_entityInit$','getConfig','getCollabEntity','every','ivSize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','enc','DEFAULT_FILE_NAME','8DQRtNn','transformStack\x20failed!','image/bmp','_applyRemoteChangeset','MUTATION','session.join-failed','_keyPriorReset','collaborators','getDeserializedSheetBlock','roles','onCommandExecuted','sigBytes','onRemoteAck','HEARTBEAT_INTERVAL','/universer-api/user/session-ticket','_unlockTransition','session.room-not-exists','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','_showConflictNotification','getSheetBlock','_data','disableLocalCache','_queuedRemoteChangesets','SNAPSHOT_URL_KEY','CONNECTOR_DATA_TOO_LARGE','_redoStacks','COLLAB_WEB_SOCKET_URL','list','_onRemoteACK','onSyncEditingCollabCursor','_instanceService','duration','_getUploadFileURL','registerHTTPInterceptor','_shouldReportTelemetry','_resendTimeout','delete','getUnitType','_onRecvEvent','_onUserJoin','unit-cache-','clamp','_createHelper','incrementRevOfUnit','_networkConditionService','BufferedBlockAlgorithm','emitEvent','image/gif','CHANGESET_ACK','__creator','catch','action','20930ZIiwtx','_tryEnsureSocket','_reverseMap','randomUUID','fetchThroughInterceptors','getInterceptPoints','open$','toggleOnline','USERS_LEAVE','reset','onTransformRemoteChangesetByIMECache','originalMeta','mixIn','Cipher','SOCKET_FAILED','objects','ERROR_IMAGE_TYPE','snapshotServerUrl','PENDING','_updateState','YUUMI_UNABLE_LOAD_URL','367749wLGOYc','localeService','&source=','_compressMutationService','format','join','_snapshotService','[CollaborationEntity]','Failed\x20to\x20update\x20permission\x20point','confirm','_process','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','commentUpdateEvent','exports','/universer-api/stream/file/upload','CHANGESET_REVISION_CONFILICT','_sessionStatus$','_univerInstanceService','result','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getImage','OpenSSL','_throwTelemetryCollaborationNewChangeset','string','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onRemoteChangeset','_scheduleCollaborationTimeoutTimer','clear','charAt','code','[SyncedState]:\x20received\x20acknowledgement.','_sessions','offline','function','_httpService','[OfflineState]:\x20received\x20acknowledgement.','actions','_iv','requestParams','stringify','title','/-/object/-/batch_allowed','bind','href','buffer','_localCacheService','headers','_roomMembers','onTransformRemoteChangesetByStateCache','status','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getUnitStatus$','SUBMIT_CHANGESET_TIMEOUT','/rev/','_mode','Malformed\x20UTF-8\x20data','close$','RECV','UPDATE_PERMISSION_OBJ','liveShareNewHost','UNKNOWN_CODE','repeat','19695530kDPETw','then','hasOwnProperty','src','next','clone','_awaitingChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/fetchmissing?from=','getRoom','Hasher','createSocket','IDLE','_logService','telemetry\x20info\x20is\x20not\x20initialized','_incrementRevisionNumber','_createHmacHelper','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','patch','type','cfg','_append','addImageSourceCache','SOCKET_FAILED_RETRY','sheets','_commentUpdate$','_loadSheet','_doCreateSocket','collabSubmitChangesetUrl','_startTelemetryCollaborationNewChangeset','ONLINE','_tryReconnect','map','_submitChangeset','_minBufferSize','SNAPSHOT_INVALID_SNAPSHOT','_transformIMECache','onTransformIME','mutations','interceptor','unitInfo$','APPLY_REJECT','leaveEvent','keySize','UNIVER_PROJECT','includes','_clearScheduledTask','/universer-api/comb','ceil','_prevBlock','_transitionLocked','HEARTBEAT','indexOf','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','PSEUDO_FETCH_MISSING_RESULT','reverse','APPLY_PERMISSION_DENIED','startTime','_socketMessageSubscription','_onConflict','onSendChangeset','getMemberID','_transformService','_startCollaboration','_initUnitPermissionChange','_unitID','_hash','pluginName','_getCtorByUniverType','APPLY_NON_SEQUENTIAL_REVISION','/role','Undefined','_timeoutTimer','_handlerCallback','loadOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UnitSnapshot','_createSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','readAsDataURL','words','socket\x20open.','3571281VxYaey','c2Prime','unpad','_collaborationSessionService','readyForCollab','_init','POST','csRejEvent','random','find','_roomCreated$','Encryptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Base64','entityInit$','session.room-full','_syncEditingCollabCursor','_pendingMutations','JOIN','transformUndoRedo','splice','_sheetTransformSelectionsService','OTHER_CLIENTS_EDITING','getLatestCsReqIdBySid','getOwnPropertyDescriptor','listRoles','_cipher','subUnitId','floor','abs','downloadEndpointUrl','csShouldRetryEvent','setCurrentUser','initWorkbookPermissionChange','getCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','_iKey','[CollaborationSessionService]:\x20socket\x20error','People','MD5','unitID','SYNCED','onMissedChangesetFetched','_loadDoc','decryptBlock','file','_onFetchMissResult','capture','UNRECOGNIZED','members','LIVESHARE_FETCH_OPERATIONS','unsubscribe','set','parse','_createInitialStateImpl','_getRedoStack','encodeURIComponent','COLLAB_SUBMIT_CHANGESET_URL','c1Prime','data','authzUrl','pad','salt','setShowComponents','UNIVER_UNKNOWN','_collabSessionService','?url=','collaMsg','editingUnit','sessionStatus$','JOINING','charCodeAt','_clearRetryConnectingTimer','[CollaborationSession]','filter','crypto','online$','get','socketService','_memberService','_onRemoteRetry','infoRsp','subscribe','LICENSE_IMPORT_SIZE_EXCEEDED','LEAVE','fetch_missing','defineProperty','_clearHeartbeatTimer','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_socket$','execute','CONFLICT','connection\x20error','loadSheet','/object/','_transformStateCache','getUnit','getMember','permissionRejEvent','/block/','awaiting','_getSendChangesetTimeout','USER_NOT_INVITED_CODE','NoPadding','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_xformMode','disposeWithMe','padding','_status$','_stopTelemetryCollaborationNewChangeset','key','enableAuthServer','sid','/collaborator','_changesetSessionId','localCacheService','unknown','HmacMD5','target','UNISCRIPT_RUN','not_collab','workbook','SHOULD_CLOSE_CONN','state$','encrypt','WordArray','session.room-cnt-exceeds','collaboration_new_changeset','synced','push','_onJoinRoomEvent','resolve','onTransformSelections','now','_key','_registerDependencies','objectType','executeCommand','conflict','call','CHANGESET_REJ','_members','_retryConnectingTimer','_invKeySchedule','INGEST','change$','message$','CipherParams','removeMember','CHANGESET_SHOULD_RETRY','getTime','JOIN_ROOM_FULL','\x0aCurrent:\x20','onCommentUpdate','baseRev','[SyncedState]:\x20received\x20rejection.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_event$','auth.needGotoLoginAlert','waitForRoom$','params','reconnect','_retryCount','_resendTimer','_onConnectionOpen','range','SHA1','values','UNAUTHENTICATED','post','createCollaborator','formatter','22FeKOSR','[PendingState]:\x20received\x20rejection.','HttpExport','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','userID','_type','_lockTransition','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','append','fetchMissingChangesets','UNIVER_SLIDE','_nDataBytes','processBlock','collaboration-client.local-cache-service','generateRandomId','_changesetReqId','_userManagerService','EvpKDF','memberID','_getAPIPrefix','_isPermissionRej','pauseCollaboration','_injector','_sendHeartbeat','awaitingChangeset','SNAPSHOT_HAS_BEEN_REMOVED','slice','decrypt','[DataLoaderService]','_initRequestHeader'];_0x20d1=function(){return _0x45803a;};return _0x20d1();}Nt=fs([_i(0x0,_0xf309d1),_i(0x1,_0x2586f2(_0x38beb7))],Nt);var vs=Object[_0x312368(0x2e8)],ps=(_0x38fdf1,_0x42dda9,_0x240b85,_0x3394b0)=>{for(var _0x4a80b7=_0x3394b0>0x1?void 0x0:_0x3394b0?vs(_0x42dda9,_0x240b85):_0x42dda9,_0x239cbe=_0x38fdf1['length']-0x1,_0x390dc4;_0x239cbe>=0x0;_0x239cbe--)(_0x390dc4=_0x38fdf1[_0x239cbe])&&(_0x4a80b7=_0x390dc4(_0x4a80b7)||_0x4a80b7);return _0x4a80b7;},Pe=(_0x1b0c2d,_0x3308a8)=>(_0x5f0823,_0x329156)=>_0x3308a8(_0x5f0823,_0x329156,_0x1b0c2d);let Dt=class extends _0x45c14c{constructor(_0x1d07ef,_0x4d770d,_0x4d2cdb,_0x216f18,_0x13646a){var _0x33d328=_0x312368;super(_0x1d07ef,_0x4d770d,_0x4d2cdb),this['_transformService']=_0x216f18,this[_0x33d328(0x28b)]=_0x13646a;}[_0x312368(0x2e3)](_0x2e3cff,_0x363dac){var _0x56ea43=_0x312368;const _0x7d670f=this['_getUndoStack'](_0x2e3cff);if(_0x7d670f)try{const _0x5cdcfa=this[_0x56ea43(0x1e2)](_0x7d670f,_0x363dac);this[_0x56ea43(0x3b8)](_0x2e3cff,_0x5cdcfa);}catch(_0x37652d){this[_0x56ea43(0x28b)]['error'](_0x56ea43(0x453),_0x37652d),this[_0x56ea43(0x45a)](_0x2e3cff);}const _0x1001eb=this['_getRedoStack'](_0x2e3cff);if(_0x1001eb)try{const _0x15b563=this[_0x56ea43(0x1e2)](_0x1001eb,_0x363dac);this[_0x56ea43(0x3eb)](_0x2e3cff,_0x15b563);}catch(_0xc3618b){this[_0x56ea43(0x28b)][_0x56ea43(0x17d)](_0xc3618b),this[_0x56ea43(0x18b)](_0x2e3cff);}}['_clearUndo'](_0x2a7dc6){var _0x1bcf0=_0x312368;const _0x2caab6=this[_0x1bcf0(0x483)](_0x2a7dc6);_0x2caab6&&(_0x2caab6['length']=0x0,this[_0x1bcf0(0x478)]());}[_0x312368(0x18b)](_0x32eb23){var _0x5b87fd=_0x312368;const _0x30e89a=this[_0x5b87fd(0x307)](_0x32eb23);_0x30e89a&&(_0x30e89a[_0x5b87fd(0x441)]=0x0,this[_0x5b87fd(0x478)]());}['_substituteUndoStack'](_0x1f8ac5,_0x395cd8){var _0x43bd95=_0x312368;this[_0x43bd95(0x1d4)][_0x43bd95(0x304)](_0x1f8ac5,_0x395cd8),this[_0x43bd95(0x478)]();}[_0x312368(0x3eb)](_0x57c0dc,_0x1e1b1a){var _0x167d89=_0x312368;this[_0x167d89(0x210)]['set'](_0x57c0dc,_0x1e1b1a),this[_0x167d89(0x478)]();}[_0x312368(0x1e2)](_0x16ce13,_0x3de671){var _0x41cfa2=_0x312368;const _0x491e73=[];let _0x38a7bc=_0x3de671,_0x5839df=_0x3de671;for(let _0x1263a3=_0x16ce13[_0x41cfa2(0x441)]-0x1;_0x1263a3>=0x0;_0x1263a3--){const {unitID:_0x578b8d,undoMutations:_0x338b87,redoMutations:_0x3b665c}=_0x16ce13[_0x1263a3],_0x5cf8e9=this['_transformService'][_0x41cfa2(0x1ec)](_0x38a7bc,_0x338b87),_0x3cd501=this['_transformService'][_0x41cfa2(0x1ec)](_0x5839df,_0x3b665c);if(_0x9f7388(_0x5cf8e9)||_0x9f7388(_0x3cd501)){this[_0x41cfa2(0x28b)][_0x41cfa2(0x17d)](_0x41cfa2(0x453),_0x41cfa2(0x1f7),_0x5cf8e9,_0x3cd501);break;}_0x38a7bc=_0x5cf8e9[_0x41cfa2(0x30a)],_0x5839df=_0x3cd501[_0x41cfa2(0x30a)],_0x491e73[_0x41cfa2(0x351)]({'unitID':_0x578b8d,'undoMutations':_0x5cf8e9[_0x41cfa2(0x3ca)],'redoMutations':_0x3cd501['m2Prime']});}return _0x491e73[_0x41cfa2(0x2b5)]();}};Dt=ps([Pe(0x0,_0x453383),Pe(0x1,_0x2b8c90),Pe(0x2,_0x2b4f8f),Pe(0x3,_0x3e764d),Pe(0x4,_0x44b611)],Dt);var ms=Object[_0x312368(0x326)],gs=Object[_0x312368(0x2e8)],Ss=(_0x2b464d,_0x4bf6c8,_0x5637aa)=>_0x4bf6c8 in _0x2b464d?ms(_0x2b464d,_0x4bf6c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5637aa}):_0x2b464d[_0x4bf6c8]=_0x5637aa,Es=(_0x2b604e,_0x3b5383,_0x3e5f1e,_0xbac11b)=>{for(var _0x592859=_0xbac11b>0x1?void 0x0:_0xbac11b?gs(_0x3b5383,_0x3e5f1e):_0x3b5383,_0x5b0ed7=_0x2b604e['length']-0x1,_0x4ecef5;_0x5b0ed7>=0x0;_0x5b0ed7--)(_0x4ecef5=_0x2b604e[_0x5b0ed7])&&(_0x592859=_0x4ecef5(_0x592859)||_0x592859);return _0x592859;},St=(_0x46a1ae,_0x4c8650)=>(_0x7595fa,_0x2f5511)=>_0x4c8650(_0x7595fa,_0x2f5511,_0x46a1ae),Is=(_0x58c8a2,_0x51822a,_0x3650aa)=>Ss(_0x58c8a2,_0x51822a+'',_0x3650aa);const Ts=_0x312368(0x2f3);let Ut=class extends _0x2e3440{constructor(_0xa92ac1,_0x432a83,_0x4d1bec,_0x3ec8fb){var _0x1d8d5e=_0x312368;super(),N(this,_0x1d8d5e(0x440)),(this['_logService']=_0x432a83,this[_0x1d8d5e(0x393)]=_0x4d1bec,this[_0x1d8d5e(0x1d0)]=_0x3ec8fb);const {..._0x341266}=_0x8bbac5({},An,_0xa92ac1);if(!_0x341266[_0x1d8d5e(0x31e)])throw new Error(_0x1d8d5e(0x484));this[_0x1d8d5e(0x440)]=_0x341266,this[_0x1d8d5e(0x1d0)]['setConfig'](q,_0x341266);}[_0x312368(0x1d6)](){var _0x5d7f3f=_0x312368;this['_registerDependencies'](),this[_0x5d7f3f(0x43f)]();}[_0x312368(0x357)](){var _0x18823b=_0x312368,_0xf3f4d,_0x57a76a;this[_0x18823b(0x393)][_0x18823b(0x428)](_0x25581e)&&this[_0x18823b(0x28b)]['error'](_0x18823b(0x3cb),_0x18823b(0x3fc));const _0x2cc533=_0x124018([[_0x25581e,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x18823b(0x440)][_0x18823b(0x31e)]}],[_0x6748ef,{'useClass':Nt}],[_0x5d0556,{'useClass':Rt}],[_0x4f3330,{'useClass':yt}],[_0x523149,{'useClass':Ot}],[rt],[Ct]],(_0xf3f4d=this['_config'])==null?void 0x0:_0xf3f4d['override']);if(!((_0x57a76a=this[_0x18823b(0x440)])!=null&&_0x57a76a[_0x18823b(0x3de)])){const _0x122298=_0x2cc533[_0x18823b(0x456)](([_0x2a18e1])=>_0x2a18e1===ht);_0x122298!==-0x1&&_0x2cc533[_0x18823b(0x2e4)](_0x122298,0x1);}_0xe87f62(this[_0x18823b(0x393)],_0x2cc533);}[_0x312368(0x43f)](){var _0x3bfcc1=_0x312368,_0xfaf699,_0x1a1a08,_0x219572;this[_0x3bfcc1(0x393)]['get'](_0x38beb7)[_0x3bfcc1(0x218)]({'priority':0x14,'interceptor':_0x2351f2({'maxParallel':0x6})}),(_0xfaf699=this[_0x3bfcc1(0x440)])!=null&&_0xfaf699[_0x3bfcc1(0x3a9)]||(_0x1a1a08=this[_0x3bfcc1(0x393)][_0x3bfcc1(0x31d)](J,_0x1aaf5c[_0x3bfcc1(0x3e1)]))==null||_0x1a1a08[_0x3bfcc1(0x20c)](),(_0x219572=this[_0x3bfcc1(0x440)])!=null&&_0x219572[_0x3bfcc1(0x33f)]&&_0x243365(this[_0x3bfcc1(0x393)],[[st]]),_0x243365(this[_0x3bfcc1(0x393)],[[at],[rt],[ot]]);}};Is(Ut,_0x312368(0x2c1),Ts),Ut=Es([_0x382467(_0x361b32,_0xc21ea8),St(0x1,_0x44b611),St(0x2,_0x2586f2(_0x4c9895)),St(0x3,_0xf309d1)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|