@univerjs-pro/collaboration-client 0.6.6-experimental.20250326-0a2cb0d → 0.6.6-experimental.20250326-cfbc9a5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1b1c1f=_0x5187;(function(_0xb29b28,_0x55a08f){var _0x50c282=_0x5187,_0x3a3ea1=_0xb29b28();while(!![]){try{var _0x4b3bad=parseInt(_0x50c282(0x321))/0x1+parseInt(_0x50c282(0x20b))/0x2+parseInt(_0x50c282(0xd3))/0x3*(parseInt(_0x50c282(0x19d))/0x4)+-parseInt(_0x50c282(0x25d))/0x5*(-parseInt(_0x50c282(0x3ad))/0x6)+-parseInt(_0x50c282(0x22f))/0x7+parseInt(_0x50c282(0x185))/0x8*(parseInt(_0x50c282(0x124))/0x9)+-parseInt(_0x50c282(0x161))/0xa;if(_0x4b3bad===_0x55a08f)break;else _0x3a3ea1['push'](_0x3a3ea1['shift']());}catch(_0x44bb0c){_0x3a3ea1['push'](_0x3a3ea1['shift']());}}}(_0x29db,0xe0ceb));var Ai=Object[_0x1b1c1f(0x36d)],Pi=(_0x3ff8cd,_0x6d564c,_0x4a7040)=>_0x6d564c in _0x3ff8cd?Ai(_0x3ff8cd,_0x6d564c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a7040}):_0x3ff8cd[_0x6d564c]=_0x4a7040,N=(_0x4db800,_0x5d5748,_0x724372)=>Pi(_0x4db800,typeof _0x5d5748!='symbol'?_0x5d5748+'':_0x5d5748,_0x724372);import{createIdentifier as _0x118f0f,Inject as _0x56699c,Injector as _0x5caeba,IConfigService as _0x47e21a,ILogService as _0x3b556e,Disposable as _0x3793ad,DisposableCollection as _0x2ae066,toDisposable as _0x1ac669,IUniverInstanceService as _0x409ee8,UserManagerService as _0x29998b,UniverInstanceType as _0x41e5a7,LocaleService as _0x40abe8,Optional as _0x34b961,RxDisposable as _0x5d4b24,Tools as _0x2069ff,Rectangle as _0x1d94dc,ICommandService as _0x157a00,JSONX as _0x223f99,CommandType as _0x12a7c6,IUndoRedoService as _0x3842ef,IPermissionService as _0x574aa9,sequenceExecute as _0x5c02c3,Workbook as _0x132f69,MentionType as _0x193776,isInternalEditorID as _0x7c794f,LocalUndoRedoService as _0x4ead90,IContextService as _0x15dc40,DependentOn as _0x39c1a7,Plugin as _0x29bd2e,merge as _0x1809b9,mergeOverrideWithDependencies as _0x2b71a7,IAuthzIoService as _0x3f4db3,IMentionIOService as _0x2d8634,registerDependencies as _0x25da33,Quantity as _0xd36bd0,touchDependencies as _0xc09ed3}from'@univerjs/core';import{Subject as _0x6d82f8,merge as _0x39fc2e,of as _0x4344fd,BehaviorSubject as _0xfe3385,takeUntil as _0x212dfd,ReplaySubject as _0x5af764,take as _0x14763f,map as _0x2a02f7,shareReplay as _0x36d7ba,firstValueFrom as _0x5418e3,concatMap as _0x51b054}from'rxjs';import{map as _0x497298,take as _0x3273fa,filter as _0x5c13bf,delay as _0x1e9d94,takeUntil as _0x222e32}from'rxjs/operators';import{CollaborationEvent as _0x4d3ee2,ISnapshotServerService as _0x76251b,parseChangesetToProtocol as _0x43eaaf,ITransformService as _0x591449,isTransformMutationsWithChangesetSuccess as _0x533588,mapDocumentTypeToUniverType as _0x31b41c,RevisionService as _0x131576,isTransformChangesetsSuccess as _0x573a9f,CompressMutationService as _0x219d40,parseProtocolChangeset as _0x30ba0b,SnapshotService as _0x1420bd,textEncoder as _0x95fff,b64DecodeUnicode as _0x2f5cb9,isTransformMutationsWithChangesetFailure as _0x3524fd,UniverCollaborationPlugin as _0x309a14}from'@univerjs-pro/collaboration';import{HTTPService as _0x1874ea,ISocketService as _0x5784aa,MergeInterceptorFactory as _0x216e01,HTTPRequest as _0x1dd3b1,UniverNetworkPlugin as _0x538f2c,ThresholdInterceptorFactory as _0x969bae}from'@univerjs/network';import{ITelemetryService as _0x182da9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x585b29}from'@univerjs/docs';import{SheetsSelectionsService as _0xfb2cad,SetSelectionsOperation as _0xee072d,InsertSheetMutation as _0x1a1615,EmptyMutation as _0x313840,WorkbookEditablePermission as _0x3925f8,SheetPermissionInitController as _0x467a95}from'@univerjs/sheets';import{ImageSourceType as _0x217e0a,ImageUploadStatusType as _0x1bf4c3,IImageIoService as _0x364d82}from'@univerjs/drawing';import{getGlobalObject as _0x10e6c4}from'@univerjs-pro/license';const pr=_0x1b1c1f(0x226),mr=_0x1b1c1f(0x2c8),gr=_0x1b1c1f(0x307),xs='SEND_CHANGESET_TIMEOUT',Sr=0x7d0,Er=_0x1b1c1f(0x15a),Ir=_0x1b1c1f(0x1cd),Ls=_0x1b1c1f(0x125),Tr=_0x1b1c1f(0x1ed),Cr=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x1b1c1f(0x1c3),ks=0x3e8,Or=_0x1b1c1f(0xe3),Nr=_0x1b1c1f(0x27e),Dr=_0x1b1c1f(0xcb),wr='/universer-api/oidc/authpage',$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x1b1c1f(0x2af);var Si=(_0x15439f=>(_0x15439f[_0x15439f[_0x1b1c1f(0xbb)]=0x0]=_0x1b1c1f(0xbb),_0x15439f[_0x15439f['OK']=0x1]='OK',_0x15439f[_0x15439f[_0x1b1c1f(0x104)]=0x2]=_0x1b1c1f(0x104),_0x15439f[_0x15439f[_0x1b1c1f(0x251)]=0x3]='PERMISSION_DENIED',_0x15439f[_0x15439f[_0x1b1c1f(0x385)]=0x4]=_0x1b1c1f(0x385),_0x15439f[_0x15439f['UNAUTHENTICATED']=0x5]=_0x1b1c1f(0x24d),_0x15439f[_0x15439f[_0x1b1c1f(0x37d)]=0x6]=_0x1b1c1f(0x37d),_0x15439f[_0x15439f[_0x1b1c1f(0x1dd)]=0x7]=_0x1b1c1f(0x1dd),_0x15439f[_0x15439f['TOO_MANY_REQUESTS']=0x8]=_0x1b1c1f(0x2b3),_0x15439f[_0x15439f[_0x1b1c1f(0x175)]=0x9]=_0x1b1c1f(0x175),_0x15439f[_0x15439f[_0x1b1c1f(0x110)]=0x1389]=_0x1b1c1f(0x110),_0x15439f[_0x15439f[_0x1b1c1f(0x1a2)]=0x1771]=_0x1b1c1f(0x1a2),_0x15439f[_0x15439f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x15439f[_0x15439f[_0x1b1c1f(0x27a)]=0x1773]=_0x1b1c1f(0x27a),_0x15439f[_0x15439f['APPLY_REJECT']=0x1b59]=_0x1b1c1f(0x1e3),_0x15439f[_0x15439f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1b1c1f(0xd6),_0x15439f[_0x15439f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b1c1f(0x325),_0x15439f[_0x15439f[_0x1b1c1f(0x1a1)]=0x1b5c]=_0x1b1c1f(0x1a1),_0x15439f[_0x15439f[_0x1b1c1f(0x14e)]=0x1b5d]=_0x1b1c1f(0x14e),_0x15439f[_0x15439f[_0x1b1c1f(0x31a)]=0x1f41]=_0x1b1c1f(0x31a),_0x15439f[_0x15439f[_0x1b1c1f(0x273)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x15439f[_0x15439f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1b1c1f(0x180),_0x15439f[_0x15439f[_0x1b1c1f(0x1a4)]=0x232b]=_0x1b1c1f(0x1a4),_0x15439f[_0x15439f[_0x1b1c1f(0x302)]=0x232c]=_0x1b1c1f(0x302),_0x15439f[_0x15439f[_0x1b1c1f(0x38a)]=0x232d]=_0x1b1c1f(0x38a),_0x15439f[_0x15439f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1b1c1f(0x2a3),_0x15439f[_0x15439f[_0x1b1c1f(0x2cf)]=0x2712]=_0x1b1c1f(0x2cf),_0x15439f[_0x15439f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1b1c1f(0x25c),_0x15439f[_0x15439f[_0x1b1c1f(0x269)]=0x2714]=_0x1b1c1f(0x269),_0x15439f[_0x15439f[_0x1b1c1f(0x304)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x15439f[_0x15439f['UNRECOGNIZED']=-0x1]=_0x1b1c1f(0xca),_0x15439f))(Si||{}),Q=(_0x3e4893=>(_0x3e4893[_0x3e4893['UNIVER_UNKNOWN']=0x0]=_0x1b1c1f(0x1a7),_0x3e4893[_0x3e4893[_0x1b1c1f(0xdf)]=0x1]='UNIVER_DOC',_0x3e4893[_0x3e4893[_0x1b1c1f(0x262)]=0x2]=_0x1b1c1f(0x262),_0x3e4893[_0x3e4893[_0x1b1c1f(0x31f)]=0x3]=_0x1b1c1f(0x31f),_0x3e4893[_0x3e4893[_0x1b1c1f(0x135)]=0x4]=_0x1b1c1f(0x135),_0x3e4893[_0x3e4893['UNRECOGNIZED']=-0x1]=_0x1b1c1f(0xca),_0x3e4893))(Q||{}),F=(_0x35ce18=>(_0x35ce18[_0x35ce18['UNKNOWN_CMD']=0x0]=_0x1b1c1f(0x2e9),_0x35ce18[_0x35ce18[_0x1b1c1f(0x397)]=0x1]=_0x1b1c1f(0x397),_0x35ce18[_0x35ce18['JOIN']=0x2]=_0x1b1c1f(0x1c0),_0x35ce18[_0x35ce18[_0x1b1c1f(0x130)]=0x3]=_0x1b1c1f(0x130),_0x35ce18[_0x35ce18['INGEST']=0x4]='INGEST',_0x35ce18[_0x35ce18[_0x1b1c1f(0x353)]=0x5]=_0x1b1c1f(0x353),_0x35ce18[_0x35ce18[_0x1b1c1f(0x216)]=0x6]=_0x1b1c1f(0x216),_0x35ce18[_0x35ce18[_0x1b1c1f(0xca)]=-0x1]=_0x1b1c1f(0xca),_0x35ce18))(F||{}),ge=(_0x301483=>(_0x301483[_0x301483[_0x1b1c1f(0x3a8)]=0x0]=_0x1b1c1f(0x3a8),_0x301483[_0x301483['OK']=0x1]='OK',_0x301483[_0x301483[_0x1b1c1f(0x12a)]=0x2]=_0x1b1c1f(0x12a),_0x301483[_0x301483[_0x1b1c1f(0x108)]=0x3e9]=_0x1b1c1f(0x108),_0x301483[_0x301483['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x301483[_0x301483[_0x1b1c1f(0x295)]=0x3eb]=_0x1b1c1f(0x295),_0x301483[_0x301483['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1b1c1f(0x299),_0x301483[_0x301483['UNRECOGNIZED']=-0x1]=_0x1b1c1f(0xca),_0x301483))(ge||{}),Ei=(_0x1fea35=>(_0x1fea35[_0x1fea35['Undefined']=0x0]=_0x1b1c1f(0x393),_0x1fea35[_0x1fea35['HttpImport']=0x1]=_0x1b1c1f(0x14b),_0x1fea35[_0x1fea35[_0x1b1c1f(0x1a5)]=0x2]='HttpExport',_0x1fea35[_0x1fea35[_0x1b1c1f(0x14d)]=0x3]=_0x1b1c1f(0x14d),_0x1fea35[_0x1fea35[_0x1b1c1f(0x14a)]=0x4]='UnitSnapshot',_0x1fea35[_0x1fea35[_0x1b1c1f(0xca)]=-0x1]='UNRECOGNIZED',_0x1fea35))(Ei||{});const q=_0x1b1c1f(0x1eb),Ur={};var se=(_0x6e126=>(_0x6e126[_0x1b1c1f(0x347)]=_0x1b1c1f(0x347),_0x6e126[_0x1b1c1f(0x251)]='PERMISSION_DENIED',_0x6e126['CONFLICT']=_0x1b1c1f(0x23f),_0x6e126['CLOSE_ROOM']=_0x1b1c1f(0x1c2),_0x6e126['JOIN_ROOM_FAILED']=_0x1b1c1f(0x395),_0x6e126['SOCKET_FAILED_RETRY']=_0x1b1c1f(0xf6),_0x6e126[_0x1b1c1f(0x225)]=_0x1b1c1f(0x225),_0x6e126[_0x1b1c1f(0x3a7)]='SUBMIT_CHANGESET_TIMEOUT',_0x6e126))(se||{});class pe{constructor(){var _0x3179a9=_0x1b1c1f;N(this,_0x3179a9(0x2bb),new _0x6d82f8()),N(this,_0x3179a9(0x1d6),this['_event$'][_0x3179a9(0xc5)]());}[_0x1b1c1f(0x320)](_0x28ecfd){var _0x303da0=_0x1b1c1f;this['_event$'][_0x303da0(0x34b)](_0x28ecfd);}}const Ar=_0x118f0f(_0x1b1c1f(0x296));function Pr(_0x110ce1){var _0x1c628e=_0x1b1c1f,_0x1ca3e3,_0x1982f2,_0x1a5c98,_0x50f2b4,_0x524408;const _0x301007=_0x110ce1['data'],_0x17c853=JSON[_0x1c628e(0x3a5)](_0x301007);switch(_0x17c853[_0x1c628e(0x268)]){case F[_0x1c628e(0x353)]:case F[_0x1c628e(0x397)]:{const _0x40201d=_0x17c853['infoRsp'];return{..._0x17c853,'data':_0x40201d,'cmd':_0x17c853['cmd']};}case F[_0x1c628e(0x1c0)]:{const _0x14e0f1=_0x17c853[_0x1c628e(0x2a2)];return{..._0x17c853,'data':_0x14e0f1,'cmd':_0x17c853['cmd']};}case F[_0x1c628e(0x216)]:{const _0x59c9ac=_0x17c853[_0x1c628e(0x1f4)];switch(_0x59c9ac[_0x1c628e(0x315)]){case _0x4d3ee2[_0x1c628e(0xd4)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':(_0x1ca3e3=_0x59c9ac[_0x1c628e(0x1b3)])==null?void 0x0:_0x1ca3e3['cs']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2['CHANGESET_ACK']:return{..._0x17c853,'data':{..._0x59c9ac,'data':(_0x1982f2=_0x59c9ac[_0x1c628e(0x311)])==null?void 0x0:_0x1982f2['cs']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2['NEW_CHANGESETS']:return{..._0x17c853,'data':{..._0x59c9ac,'data':(_0x1a5c98=_0x59c9ac['newCsEvent'])==null?void 0x0:_0x1a5c98['cs']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0xf4)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':(_0x50f2b4=_0x59c9ac['csRejEvent'])==null?void 0x0:_0x50f2b4['cs']},'cmd':_0x17c853['cmd']};case _0x4d3ee2['CHANGESET_SHOULD_RETRY']:return{..._0x17c853,'data':{..._0x59c9ac,'data':(_0x524408=_0x59c9ac[_0x1c628e(0xe2)])==null?void 0x0:_0x524408['cs']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x29c)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x329)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x1e6)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x381)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2['USERS_LEAVE']:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x274)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x2ac)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x173)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0xf8)]:case _0x4d3ee2[_0x1c628e(0x15f)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac['liveShareOperation']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x35e)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x173)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x2a5)]:return{..._0x17c853,'data':_0x59c9ac,'cmd':_0x17c853['cmd']};case _0x4d3ee2['COMMENT_UPDATE']:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac['commentUpdateEvent']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x33b)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac['updatePermissionObjEvent']},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x21c)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x392)]},'cmd':_0x17c853[_0x1c628e(0x268)]};case _0x4d3ee2[_0x1c628e(0x1d5)]:return{..._0x17c853,'data':{..._0x59c9ac,'data':_0x59c9ac[_0x1c628e(0x37c)]},'cmd':_0x17c853[_0x1c628e(0x268)]};default:return _0x17c853;}}default:return _0x17c853;}}function xr(_0x21f553){var _0x492b7c=_0x1b1c1f;switch(_0x21f553[_0x492b7c(0x268)]){case F[_0x492b7c(0x353)]:case F[_0x492b7c(0x397)]:return JSON[_0x492b7c(0x249)]({'cmd':_0x21f553[_0x492b7c(0x268)],'routeKey':_0x21f553[_0x492b7c(0x2ce)]});case F[_0x492b7c(0x230)]:{let _0x157161;switch(_0x21f553[_0x492b7c(0x23b)][_0x492b7c(0x315)]){case _0x4d3ee2[_0x492b7c(0x29c)]:{_0x157161={'eventID':_0x4d3ee2[_0x492b7c(0x29c)],'updateCursorEvent':_0x21f553['data'][_0x492b7c(0x23b)]};break;}case _0x4d3ee2[_0x492b7c(0x20e)]:{_0x157161={'eventID':_0x4d3ee2[_0x492b7c(0x20e)],'leaveEvent':_0x21f553[_0x492b7c(0x23b)]['data']};break;}case _0x4d3ee2['USERS_ENTER']:{_0x157161={'eventID':_0x4d3ee2['USERS_ENTER'],'joinEvent':_0x21f553[_0x492b7c(0x23b)][_0x492b7c(0x23b)]};break;}case _0x4d3ee2[_0x492b7c(0x2ac)]:{_0x157161={'eventID':_0x4d3ee2[_0x492b7c(0x2ac)],'liveShareNewHost':_0x21f553['data'][_0x492b7c(0x23b)]};break;}case _0x4d3ee2[_0x492b7c(0x15f)]:{_0x157161={'eventID':_0x4d3ee2['LIVESHARE_OPERATION'],'liveShareOperation':_0x21f553['data'][_0x492b7c(0x23b)]};break;}case _0x4d3ee2[_0x492b7c(0x35e)]:{_0x157161={'eventID':_0x4d3ee2['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x21f553[_0x492b7c(0x23b)]['data']};break;}case _0x4d3ee2[_0x492b7c(0xdd)]:{_0x157161={'eventID':_0x4d3ee2['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x21f553[_0x492b7c(0x23b)][_0x492b7c(0x23b)]};break;}case _0x4d3ee2[_0x492b7c(0xf8)]:{_0x157161={'eventID':_0x4d3ee2[_0x492b7c(0xf8)]};break;}default:_0x157161={'eventID':_0x21f553['data'][_0x492b7c(0x315)]};}return JSON['stringify']({'cmd':_0x21f553[_0x492b7c(0x268)],'routeKey':_0x21f553[_0x492b7c(0x2ce)],'collaMsg':_0x157161});}case F[_0x492b7c(0x1c0)]:return JSON[_0x492b7c(0x249)]({'cmd':_0x21f553[_0x492b7c(0x268)],'routeKey':_0x21f553[_0x492b7c(0x2ce)],'joinReq':_0x21f553[_0x492b7c(0x23b)]});case F[_0x492b7c(0x130)]:return JSON[_0x492b7c(0x249)]({'cmd':_0x21f553[_0x492b7c(0x268)],'routeKey':_0x21f553[_0x492b7c(0x2ce)],'leaveReq':_0x21f553[_0x492b7c(0x23b)]});default:throw new Error(_0x492b7c(0x16b));}}var Lr=Object[_0x1b1c1f(0x282)],Mr=(_0x1be11c,_0x530a13,_0x5e21e7,_0xdb41ad)=>{for(var _0x5667d2=_0xdb41ad>0x1?void 0x0:_0xdb41ad?Lr(_0x530a13,_0x5e21e7):_0x530a13,_0xce5b=_0x1be11c['length']-0x1,_0x398155;_0xce5b>=0x0;_0xce5b--)(_0x398155=_0x1be11c[_0xce5b])&&(_0x5667d2=_0x398155(_0x5667d2)||_0x5667d2);return _0x5667d2;},Ue=(_0x2f1e2d,_0x211615)=>(_0x243760,_0x1fcba0)=>_0x211615(_0x243760,_0x1fcba0,_0x2f1e2d);const Ii=_0x118f0f(_0x1b1c1f(0x112));function kr(_0x5824d9,_0x8dd1af,_0x7668ef){var _0x5a2657=_0x1b1c1f;return _0x5824d9+'/'+_0x8dd1af+_0x5a2657(0x33c)+_0x7668ef+_0x5a2657(0x2d4);}let Vt=class extends _0x3793ad{constructor(_0x400a63,_0x14855f,_0x399a46,_0x2de669,_0x3b1b67){var _0x374859=_0x1b1c1f;super(),this[_0x374859(0x165)]=_0x400a63,this[_0x374859(0x27d)]=_0x14855f,this[_0x374859(0xc7)]=_0x399a46,this[_0x374859(0xfe)]=_0x2de669,this[_0x374859(0x158)]=_0x3b1b67;}[_0x1b1c1f(0x338)](_0x135913){var _0x9033ba=_0x1b1c1f;const _0x51ed6b=this['_injector']['get'](_0x5784aa);if(!_0x51ed6b)throw new Error(_0x9033ba(0x222));const _0x4ebac1=_0x51ed6b[_0x9033ba(0x28c)](_0x135913);if(!_0x4ebac1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x88323c=new _0x2ae066(),_0x281869=new _0x6d82f8();_0x88323c[_0x9033ba(0x19a)](_0x4ebac1['close$'][_0x9033ba(0x257)](_0x1ea079=>_0x281869['next'](_0x1ea079))),_0x88323c[_0x9033ba(0x19a)](_0x1ac669(()=>_0x281869[_0x9033ba(0x2ba)]()));const _0x25c460=new _0x6d82f8();_0x88323c[_0x9033ba(0x19a)](_0x4ebac1['error$'][_0x9033ba(0x257)](_0x28d51e=>_0x25c460[_0x9033ba(0x34b)](_0x28d51e))),_0x88323c['add'](_0x1ac669(()=>_0x25c460[_0x9033ba(0x2ba)]()));const _0x4fbcd0=new _0x6d82f8();_0x88323c[_0x9033ba(0x19a)](_0x4ebac1[_0x9033ba(0x31d)][_0x9033ba(0x257)](_0x228570=>{var _0x18b485=_0x9033ba;const _0x5e67ca=Pr(_0x228570);_0x4fbcd0[_0x18b485(0x34b)](_0x5e67ca);})),_0x88323c[_0x9033ba(0x19a)](_0x1ac669(()=>_0x4fbcd0[_0x9033ba(0x2ba)]()));let _0x1ac91f;const _0x56cda5=()=>{var _0x3fed77=_0x9033ba;_0x25c460[_0x3fed77(0x34b)](new Event(_0x3fed77(0x350))),_0x281869[_0x3fed77(0x34b)](new Event(_0x3fed77(0x350))),_0x1ac91f['close']();};return _0x1ac91f={'memberID':'','close$':_0x281869[_0x9033ba(0xc5)](),'error$':_0x25c460['asObservable'](),'open$':_0x4ebac1[_0x9033ba(0xf2)],'message$':_0x4fbcd0[_0x9033ba(0xc5)](),'send':_0x5c5157=>{var _0x22a935=_0x9033ba;if(_0x5c5157['cmd']===F[_0x22a935(0x230)]){if(_0x5c5157[_0x22a935(0x23b)][_0x22a935(0x315)]===_0x4d3ee2['SUBMIT_CHANGESET']){this[_0x22a935(0x18a)](_0x1ac91f,_0x5c5157[_0x22a935(0x23b)])[_0x22a935(0x1e0)](_0x2b059e=>{var _0xbde185=_0x22a935;this['_logService'][_0xbde185(0x2f5)](_0x2b059e),_0x56cda5();});return;}if(_0x5c5157['data'][_0x22a935(0x315)]===_0x4d3ee2[_0x22a935(0x34c)]){const _0x46755c=_0x5c5157['data'];this[_0x22a935(0x2d8)](_0x46755c)['then'](_0x1faf42=>{var _0x1c3a9d=_0x22a935;_0x4fbcd0[_0x1c3a9d(0x34b)]({'cmd':F[_0x1c3a9d(0x216)],'code':ge['OK'],'routeKey':_0x46755c[_0x1c3a9d(0x23b)]['unitID'],'routeType':'','data':{'eventID':_0x4d3ee2['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1faf42}}});})[_0x22a935(0x1e0)](_0x4f649f=>{var _0x30ebb9=_0x22a935;this[_0x30ebb9(0xfe)]['error'](_0x4f649f),_0x56cda5();});return;}}_0x4ebac1[_0x22a935(0x394)](xr(_0x5c5157));},'close':()=>{var _0x1c43b2=_0x9033ba;_0x4ebac1[_0x1c43b2(0x248)](),_0x88323c[_0x1c43b2(0xc9)]();}},_0x1ac91f;}async[_0x1b1c1f(0x18a)](_0x1e3aa4,_0xcd326b){var _0x38a258=_0x1b1c1f,_0x2d3b2d,_0x4aed6a;const {unitType:_0x4b27ed,unitID:_0x3eaefa,changeset:_0x18a637}=_0xcd326b[_0x38a258(0x23b)],_0x4defd3={'unitID':_0x3eaefa,'memberID':_0x1e3aa4[_0x38a258(0x23a)],'type':_0x4b27ed,'changeset':_0x43eaaf(_0x18a637)},_0x1ab5d5=this[_0x38a258(0xc7)]['getConfig'](Or),_0x44c184=this[_0x38a258(0xc7)][_0x38a258(0x140)](q),_0x5a9de1=kr((_0x4aed6a=(_0x2d3b2d=_0x44c184==null?void 0x0:_0x44c184[_0x38a258(0x364)])!=null?_0x2d3b2d:_0x1ab5d5)!=null?_0x4aed6a:Nr,_0x4b27ed,_0x3eaefa);try{await this[_0x38a258(0x27d)][_0x38a258(0xc3)](_0x5a9de1,{'body':_0x4defd3});}catch(_0x485d52){throw this[_0x38a258(0xfe)][_0x38a258(0x2f5)](_0x38a258(0xcd),_0x38a258(0x2a6)),_0x485d52;}}async['_fetchMissChangesets'](_0x16360b){var _0x3adc4e=_0x1b1c1f;const {unitID:_0x57bbba,from:_0x1eb2ac,to:_0x26e0e0,unitType:_0x2fe6f6}=_0x16360b[_0x3adc4e(0x23b)];return(await this[_0x3adc4e(0x158)][_0x3adc4e(0x2a1)]({'metadata':void 0x0},{'unitID':_0x57bbba,'type':_0x2fe6f6,'from':_0x1eb2ac,'to':_0x26e0e0}))['changesets'];}};Vt=Mr([Ue(0x0,_0x56699c(_0x5caeba)),Ue(0x1,_0x56699c(_0x1874ea)),Ue(0x2,_0x47e21a),Ue(0x3,_0x3b556e),Ue(0x4,_0x76251b)],Vt);const $r='collaboration_new_changeset';function Hr(_0x3f0c99){var _0x3cb95d=_0x1b1c1f;return JSON[_0x3cb95d(0x249)](_0x3f0c99)[_0x3cb95d(0x371)];}class Ti{constructor(){var _0x5b915e=_0x1b1c1f;N(this,_0x5b915e(0xc4),new _0x6d82f8()),N(this,'commentUpdate$',this[_0x5b915e(0xc4)][_0x5b915e(0xc5)]());}['onCommentUpdate'](_0x3257f7){var _0x38d676=_0x1b1c1f;this[_0x38d676(0xc4)][_0x38d676(0x34b)](_0x3257f7);}}var Br=Object[_0x1b1c1f(0x282)],jr=(_0x5a8346,_0x1bba10,_0x379b9c,_0x201eba)=>{var _0x2caad1=_0x1b1c1f;for(var _0x4ca03f=_0x201eba>0x1?void 0x0:_0x201eba?Br(_0x1bba10,_0x379b9c):_0x1bba10,_0x3ceab4=_0x5a8346[_0x2caad1(0x371)]-0x1,_0x5f5cda;_0x3ceab4>=0x0;_0x3ceab4--)(_0x5f5cda=_0x5a8346[_0x3ceab4])&&(_0x4ca03f=_0x5f5cda(_0x4ca03f)||_0x4ca03f);return _0x4ca03f;},Wt=(_0x254c8c,_0x4d2c02)=>(_0x437096,_0x35e7bb)=>_0x4d2c02(_0x437096,_0x35e7bb,_0x254c8c);let xe=class extends _0x3793ad{constructor(_0x54dd72,_0x42a059){var _0x1c6183=_0x1b1c1f;super(),N(this,_0x1c6183(0x10b),new Map()),N(this,_0x1c6183(0x287),new _0x6d82f8()),(this[_0x1c6183(0x28f)]=_0x54dd72,this['_userManagerService']=_0x42a059,this[_0x1c6183(0x105)](_0x39fc2e(this['_univerInstanceService'][_0x1c6183(0x1b5)](_0x41e5a7[_0x1c6183(0x262)])['pipe'](_0x497298(_0x275e8a=>_0x275e8a[_0x1c6183(0xba)]())),this[_0x1c6183(0x28f)][_0x1c6183(0x1b5)](_0x41e5a7[_0x1c6183(0xdf)])[_0x1c6183(0x355)](_0x497298(_0x4891be=>_0x4891be[_0x1c6183(0xba)]())),this[_0x1c6183(0x28f)][_0x1c6183(0x1b5)](_0x41e5a7[_0x1c6183(0x31f)])[_0x1c6183(0x355)](_0x497298(_0x547b1e=>_0x547b1e[_0x1c6183(0xba)]())))[_0x1c6183(0x257)](_0x361e5b=>this['_removeRoom'](_0x361e5b))));}[_0x1b1c1f(0x2b9)](_0x3cc54b){var _0x40a594=_0x1b1c1f;return this[_0x40a594(0x10b)]['has'](_0x3cc54b)?_0x4344fd(this[_0x40a594(0x10b)]['get'](_0x3cc54b)):this[_0x40a594(0x287)]['pipe'](_0x497298(_0x1eec35=>{var _0x4de97b=_0x40a594;if(_0x1eec35===_0x3cc54b)return this[_0x4de97b(0x10b)][_0x4de97b(0x1df)](_0x1eec35);}));}[_0x1b1c1f(0x1e4)](_0x2c6633){var _0x1d5cea=_0x1b1c1f;this[_0x1d5cea(0x33d)][_0x1d5cea(0x1e4)](_0x2c6633);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x1b1c1f(0x144)](_0x493287,_0x3c9d80){var _0x5769e3=_0x1b1c1f;let _0x2d4b39=this[_0x5769e3(0x10b)][_0x5769e3(0x1df)](_0x493287);_0x2d4b39||(_0x2d4b39=new Fr(),this[_0x5769e3(0x10b)][_0x5769e3(0x39c)](_0x493287,_0x2d4b39),this[_0x5769e3(0x287)][_0x5769e3(0x34b)](_0x493287)),_0x2d4b39[_0x5769e3(0x144)](_0x3c9d80);}[_0x1b1c1f(0xf0)](_0x35589c,_0x4d1198){var _0xfd05c0=_0x1b1c1f;const _0x36aac5=this['_roomMembers'][_0xfd05c0(0x1df)](_0x35589c);_0x36aac5&&_0x36aac5['removeMember'](_0x4d1198);}[_0x1b1c1f(0x120)](_0x468d3d){var _0x26a284=_0x1b1c1f;return this['_roomMembers'][_0x26a284(0x1df)](_0x468d3d);}[_0x1b1c1f(0x1bf)](_0x4fe127,_0x19fa8e){var _0x4b58b9=_0x1b1c1f;const _0xb8e3c6=this[_0x4b58b9(0x10b)][_0x4b58b9(0x1df)](_0x4fe127);if(_0xb8e3c6)return _0xb8e3c6[_0x4b58b9(0x1bf)](_0x19fa8e);}[_0x1b1c1f(0x253)](_0x25fe10){var _0x50b7e6=_0x1b1c1f;const _0x5e268b=this[_0x50b7e6(0x10b)]['get'](_0x25fe10);_0x5e268b&&(_0x5e268b[_0x50b7e6(0xc9)](),this[_0x50b7e6(0x10b)][_0x50b7e6(0x2ed)](_0x25fe10));}[_0x1b1c1f(0xc9)](){var _0x590582=_0x1b1c1f;this[_0x590582(0x10b)][_0x590582(0x2dd)](_0xa16cbd=>_0xa16cbd[_0x590582(0xc9)]()),this[_0x590582(0x10b)][_0x590582(0x1fe)](),this[_0x590582(0x287)][_0x590582(0x2ba)]();}};xe=jr([Wt(0x0,_0x409ee8),Wt(0x1,_0x56699c(_0x29998b))],xe);class Fr extends _0x3793ad{constructor(){var _0x3995c5=_0x1b1c1f;super(...arguments),N(this,_0x3995c5(0x327),new Map()),N(this,'_members$',new _0xfe3385(this[_0x3995c5(0x327)])),N(this,_0x3995c5(0x286),this[_0x3995c5(0x334)][_0x3995c5(0xc5)]());}['dispose'](){var _0x3885ef=_0x1b1c1f;this[_0x3885ef(0x327)][_0x3885ef(0x1fe)]();}[_0x1b1c1f(0x144)](_0x1430c8){var _0x18faee=_0x1b1c1f;this[_0x18faee(0x327)][_0x18faee(0x39c)](_0x1430c8[_0x18faee(0x23a)],_0x1430c8),this[_0x18faee(0x363)]();}[_0x1b1c1f(0xf0)](_0x4c071b){var _0x2fc714=_0x1b1c1f;this['_members'][_0x2fc714(0x2ed)](_0x4c071b);}[_0x1b1c1f(0x1bf)](_0x372d0f){var _0x3718b8=_0x1b1c1f;return this[_0x3718b8(0x327)][_0x3718b8(0x1df)](_0x372d0f);}[_0x1b1c1f(0x303)](){var _0x171148=_0x1b1c1f;return Array['from'](this[_0x171148(0x327)]['values']());}[_0x1b1c1f(0x363)](){var _0x2ebea3=_0x1b1c1f;this[_0x2ebea3(0x334)][_0x2ebea3(0x34b)](this[_0x2ebea3(0x327)]);}}var Gr=Object[_0x1b1c1f(0x282)],Vr=(_0x15f973,_0x50a88e,_0x57f70f,_0x33b2bf)=>{for(var _0x4a6238=_0x33b2bf>0x1?void 0x0:_0x33b2bf?Gr(_0x50a88e,_0x57f70f):_0x50a88e,_0x3f214c=_0x15f973['length']-0x1,_0x1dbdd3;_0x3f214c>=0x0;_0x3f214c--)(_0x1dbdd3=_0x15f973[_0x3f214c])&&(_0x4a6238=_0x1dbdd3(_0x4a6238)||_0x4a6238);return _0x4a6238;},me=(_0x318005,_0x1388ba)=>(_0x2ea8b4,_0x2a15da)=>_0x1388ba(_0x2ea8b4,_0x2a15da,_0x318005),Ee=(_0x27dad2=>(_0x27dad2[_0x27dad2[_0x1b1c1f(0x26a)]=0x0]=_0x1b1c1f(0x26a),_0x27dad2[_0x27dad2['JOINING']=0x1]=_0x1b1c1f(0x169),_0x27dad2[_0x27dad2[_0x1b1c1f(0x1f1)]=0x2]=_0x1b1c1f(0x1f1),_0x27dad2[_0x27dad2[_0x1b1c1f(0x17e)]=0x3]=_0x1b1c1f(0x17e),_0x27dad2))(Ee||{});const Kt={[ge[_0x1b1c1f(0x12a)]]:_0x1b1c1f(0x184),[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x1b1c1f(0x10f)]]:_0x1b1c1f(0x2fc),[ge[_0x1b1c1f(0x295)]]:_0x1b1c1f(0x330),[ge[_0x1b1c1f(0x299)]]:_0x1b1c1f(0x106)};let Et=class extends _0x5d4b24{constructor(_0x1144ff,_0x2961d7,_0x29fcc9,_0x23c618,_0x1464e2,_0x34f488,_0x2700c3,_0x493794,_0x517504){var _0x440456=_0x1b1c1f;super(),N(this,_0x440456(0x352),new _0xfe3385(0x0)),N(this,'sessionStatus$',this[_0x440456(0x352)]['asObservable']()),N(this,_0x440456(0x2bb),new _0x6d82f8()),N(this,_0x440456(0x1d6),this[_0x440456(0x2bb)]['asObservable']()),N(this,_0x440456(0x1a6)),N(this,_0x440456(0x2a8)),N(this,_0x440456(0x143)),N(this,_0x440456(0x220),!0x1),N(this,'_telemetryInfo',null),(this[_0x440456(0x342)]=_0x1144ff,this[_0x440456(0xfe)]=_0x29fcc9,this['_configService']=_0x23c618,this[_0x440456(0x13d)]=_0x1464e2,this[_0x440456(0x399)]=_0x34f488,this['_commentService']=_0x2700c3,this[_0x440456(0x12f)]=_0x493794,this[_0x440456(0x18e)]=_0x517504,this[_0x440456(0x220)]=!!this['_telemetryService'],_0x2961d7[_0x440456(0x355)](_0x212dfd(this['dispose$']))[_0x440456(0x257)](_0x349f29=>{var _0x11661e=_0x440456,_0x148dd4;typeof _0x349f29>'u'||(this[_0x11661e(0x1a6)]=_0x349f29,_0x349f29?(this['_joinRoom'](_0x349f29),this[_0x11661e(0x2a8)]=_0x349f29[_0x11661e(0x31d)][_0x11661e(0x257)](_0x1aa21c=>{var _0x59c0cd=_0x11661e;_0x1aa21c['routeKey']===this[_0x59c0cd(0x342)]&&this[_0x59c0cd(0x134)](_0x1aa21c);})):(this[_0x11661e(0x23c)](),this[_0x11661e(0x352)]['next'](0x2),(_0x148dd4=this[_0x11661e(0x2a8)])==null||_0x148dd4[_0x11661e(0x231)](),this['_socketMessageSubscription']=null));}));}get[_0x1b1c1f(0x2de)](){var _0x750526=_0x1b1c1f;return this['_sessionStatus$'][_0x750526(0x1c7)]();}[_0x1b1c1f(0x10a)](){var _0x18e40c=_0x1b1c1f,_0x56b65f,_0x24ea6d;return(_0x24ea6d=(_0x56b65f=this[_0x18e40c(0x1a6)])==null?void 0x0:_0x56b65f[_0x18e40c(0x23a)])!=null?_0x24ea6d:null;}['dispose'](){var _0x281de8=_0x1b1c1f;super['dispose'](),this['dispose$']['next'](),this[_0x281de8(0x16c)][_0x281de8(0x2ba)]();}[_0x1b1c1f(0x248)](){var _0x205f68=_0x1b1c1f,_0x404991,_0xc6af39;this[_0x205f68(0x23c)](),(_0x404991=this[_0x205f68(0x1a6)])==null||_0x404991[_0x205f68(0x394)]({'cmd':F[_0x205f68(0x130)],'data':{'roomID':this[_0x205f68(0x342)]}}),(_0xc6af39=this[_0x205f68(0x1a6)])==null||_0xc6af39[_0x205f68(0x248)](),this[_0x205f68(0x2bb)][_0x205f68(0x2ba)](),this[_0x205f68(0x352)][_0x205f68(0x2ba)](),this[_0x205f68(0xc9)]();}[_0x1b1c1f(0x134)](_0x10ba96){var _0x18ae53=_0x1b1c1f;_0x10ba96['cmd']===F[_0x18ae53(0x1c0)]?this[_0x18ae53(0x33f)](_0x10ba96):_0x10ba96['cmd']===F[_0x18ae53(0x216)]&&this[_0x18ae53(0x309)](_0x10ba96);}['_joinRoom'](_0x4fefc5){var _0x13279a=_0x1b1c1f;this[_0x13279a(0x352)]['next'](0x1),_0x4fefc5[_0x13279a(0x394)]({'cmd':F['JOIN'],'routeKey':this[_0x13279a(0x342)],'routeType':'','data':{'rooms':[{'roomID':this[_0x13279a(0x342)]}]}});}[_0x1b1c1f(0x33f)](_0x1ecf88){var _0x4e6bff=_0x1b1c1f,_0x16b0e2;if(_0x1ecf88[_0x4e6bff(0xb5)]in Kt){this[_0x4e6bff(0x12f)][_0x4e6bff(0x320)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x1ecf88['code']]}),this[_0x4e6bff(0x352)][_0x4e6bff(0x34b)](0x2);return;}this[_0x4e6bff(0x352)][_0x4e6bff(0x34b)](0x3);const _0x2e67d2=(_0x16b0e2=_0x1ecf88[_0x4e6bff(0x23b)][_0x4e6bff(0x227)][this[_0x4e6bff(0x342)]])==null?void 0x0:_0x16b0e2[_0x4e6bff(0x32d)];_0x2e67d2&&_0x2e67d2['forEach'](_0x12f45a=>this[_0x4e6bff(0x399)][_0x4e6bff(0x144)](this['_unitID'],_0x12f45a));}['_onRecvEvent'](_0x133b91){var _0x120887=_0x1b1c1f;try{const _0x4cf4d2=_0x133b91['data'];switch(_0x4cf4d2['eventID']){case _0x4d3ee2['USERS_ENTER']:this['_onUserJoin'](_0x4cf4d2),this[_0x120887(0x2bb)][_0x120887(0x34b)](_0x4cf4d2);break;case _0x4d3ee2[_0x120887(0x20e)]:this['_onUserLeave'](_0x4cf4d2),this[_0x120887(0x2bb)][_0x120887(0x34b)](_0x4cf4d2);break;case _0x4d3ee2[_0x120887(0xd0)]:case _0x4d3ee2['CHANGESET_SHOULD_RETRY']:this[_0x120887(0x21a)](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x4cf4d2);break;case _0x4d3ee2[_0x120887(0x2a5)]:this[_0x120887(0xfe)][_0x120887(0x2f5)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x120887(0x249)](_0x4cf4d2)),this[_0x120887(0x2bb)]['next'](_0x4cf4d2);break;case _0x4d3ee2[_0x120887(0x306)]:this[_0x120887(0x229)][_0x120887(0x1ee)](_0x4cf4d2[_0x120887(0x23b)]),this[_0x120887(0x2bb)][_0x120887(0x34b)](_0x4cf4d2);break;default:this[_0x120887(0x2bb)]['next'](_0x4cf4d2);}}catch(_0x432cfb){this[_0x120887(0xfe)]['error'](_0x432cfb,_0x133b91);}}['_onUserJoin'](_0x5845a7){var _0x121ce2=_0x1b1c1f;this[_0x121ce2(0x399)][_0x121ce2(0x144)](this[_0x121ce2(0x342)],_0x5845a7[_0x121ce2(0x23b)]);}[_0x1b1c1f(0x1bb)](_0xa68943){var _0x579388=_0x1b1c1f;this[_0x579388(0x399)]['removeMember'](this[_0x579388(0x342)],_0xa68943[_0x579388(0x23b)][_0x579388(0x23a)]);}async['send'](_0x1384b3,_0x3a44e2){var _0x3cdc8a=_0x1b1c1f;if(this['sessionStatus']!==0x3||!this[_0x3cdc8a(0x1a6)])throw new Error(_0x3cdc8a(0xda));try{_0x1384b3[_0x3cdc8a(0x315)]===_0x4d3ee2['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3cdc8a(0x30b)](_0x1384b3)),this['_socket'][_0x3cdc8a(0x394)]({'cmd':F[_0x3cdc8a(0x230)],'routeKey':_0x3a44e2,'routeType':'','data':_0x1384b3});}catch(_0x5722b1){this[_0x3cdc8a(0xfe)][_0x3cdc8a(0x2f5)](_0x5722b1);}}[_0x1b1c1f(0x1c9)](){var _0x39723c=_0x1b1c1f,_0x2da0cc;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4341cc=_0x5187;this[_0x4341cc(0x143)]=null,this[_0x4341cc(0x12f)][_0x4341cc(0x320)]({'id':se[_0x4341cc(0x3a7)]});},(_0x2da0cc=this[_0x39723c(0xc7)]['getConfig'](mi))!=null?_0x2da0cc:gi);}[_0x1b1c1f(0x1bd)](){var _0x3cba45=_0x1b1c1f;this[_0x3cba45(0x143)]&&(clearTimeout(this[_0x3cba45(0x143)]),this[_0x3cba45(0x143)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x446ef1){var _0x3c326d=_0x1b1c1f;if(!this[_0x3c326d(0x220)])return;const {data:_0x47ba43}=_0x446ef1,{unitID:_0x2cd4d3,changeset:_0x41c702}=_0x47ba43,{mutations:_0x51701c,type:_0x3f27b1}=_0x41c702;this['_telemetryInfo']={'unitId':_0x2cd4d3,'type':_0x3f27b1,'startTime':performance[_0x3c326d(0x11f)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x51701c)};}[_0x1b1c1f(0x21a)](){var _0x15bd93=_0x1b1c1f;if(this[_0x15bd93(0x220)]){if(!this['_telemetryInfo']){this['_logService'][_0x15bd93(0x2f5)](_0x15bd93(0xcd),_0x15bd93(0x301));return;}this[_0x15bd93(0x284)]['stopTime']=performance[_0x15bd93(0x11f)](),this[_0x15bd93(0x284)][_0x15bd93(0x345)]=this['_telemetryInfo'][_0x15bd93(0x377)]-this[_0x15bd93(0x284)]['startTime'],this[_0x15bd93(0x18e)][_0x15bd93(0x333)]($r,this[_0x15bd93(0x284)]),this[_0x15bd93(0x284)]=null;}}[_0x1b1c1f(0x23c)](){this['_telemetryInfo']=null;}};Et=Vr([me(0x2,_0x3b556e),me(0x3,_0x47e21a),me(0x4,_0x56699c(_0x40abe8)),me(0x5,_0x56699c(xe)),me(0x6,_0x56699c(Ti)),me(0x7,_0x56699c(pe)),me(0x8,_0x34b961(_0x182da9))],Et);var Wr=Object[_0x1b1c1f(0x282)],Kr=(_0x476891,_0x5c0c4d,_0x2d889b,_0x1e2cda)=>{for(var _0x26d4da=_0x1e2cda>0x1?void 0x0:_0x1e2cda?Wr(_0x5c0c4d,_0x2d889b):_0x5c0c4d,_0x33ab61=_0x476891['length']-0x1,_0x1b751f;_0x33ab61>=0x0;_0x33ab61--)(_0x1b751f=_0x476891[_0x33ab61])&&(_0x26d4da=_0x1b751f(_0x26d4da)||_0x26d4da);return _0x26d4da;},be=(_0x50eae7,_0x104f7d)=>(_0x28f339,_0x164f36)=>_0x104f7d(_0x28f339,_0x164f36,_0x50eae7);let Le=class extends _0x3793ad{constructor(_0x4f8efd,_0x36d846,_0x3e8bff,_0x4009df,_0x5ed234,_0x37e39d){var _0x2fdc0a=_0x1b1c1f;super(),N(this,_0x2fdc0a(0x20f),new _0xfe3385(void 0x0)),N(this,_0x2fdc0a(0x215),this['_socket$'][_0x2fdc0a(0xc5)]()),N(this,_0x2fdc0a(0xfb),null),N(this,_0x2fdc0a(0x1ce),new Map()),N(this,_0x2fdc0a(0x27b),new _0xfe3385(Ee[_0x2fdc0a(0x26a)])),N(this,_0x2fdc0a(0x25f),this['_status$']['asObservable']()),N(this,_0x2fdc0a(0x214),!0x1),N(this,_0x2fdc0a(0x343)),N(this,'_retryCount',0x0),N(this,_0x2fdc0a(0x280)),N(this,'_timeoutTimer'),(this[_0x2fdc0a(0x165)]=_0x4f8efd,this[_0x2fdc0a(0xfe)]=_0x36d846,this[_0x2fdc0a(0xc7)]=_0x3e8bff,this['_socketService']=_0x4009df,this[_0x2fdc0a(0x12f)]=_0x5ed234,this[_0x2fdc0a(0x16a)]=_0x37e39d,this[_0x2fdc0a(0x160)]());}get[_0x1b1c1f(0x1a6)](){var _0xdf5e4=_0x1b1c1f;return this[_0xdf5e4(0x20f)][_0xdf5e4(0x1c7)]();}['_listenToNetworkCondition'](){var _0x21b11c=_0x1b1c1f;this['_networkConditionService']&&this[_0x21b11c(0x105)](this[_0x21b11c(0x16a)][_0x21b11c(0x25a)][_0x21b11c(0x257)](_0x146364=>{var _0x728462=_0x21b11c;_0x146364&&!this['_socket']&&this['reconnect'](),_0x146364||this[_0x728462(0x118)]();}));}[_0x1b1c1f(0xc9)](){var _0x2fec43=_0x1b1c1f;super[_0x2fec43(0xc9)](),this[_0x2fec43(0x1ae)](),this[_0x2fec43(0x293)](),this[_0x2fec43(0xe5)](),this[_0x2fec43(0x1ce)][_0x2fec43(0x2dd)](_0x22626a=>_0x22626a[_0x2fec43(0xc9)]()),this['_sessions'][_0x2fec43(0x1fe)](),this[_0x2fec43(0x27b)][_0x2fec43(0x2ba)]();}async[_0x1b1c1f(0x1ea)](_0x27f81b){var _0x472fec=_0x1b1c1f;if(this[_0x472fec(0x1ce)][_0x472fec(0x348)](_0x27f81b))return this[_0x472fec(0x1ce)][_0x472fec(0x1df)](_0x27f81b);this[_0x472fec(0x15e)]();const _0x5bdd37=this[_0x472fec(0x165)][_0x472fec(0x195)](Et,_0x27f81b,this[_0x472fec(0x20f)][_0x472fec(0xc5)]());return this[_0x472fec(0x1ce)][_0x472fec(0x39c)](_0x27f81b,_0x5bdd37),_0x5bdd37;}['closeSession'](_0x3c87df){var _0x5f033e=_0x1b1c1f,_0x7cc606;const _0x1821ed=this[_0x5f033e(0x1ce)][_0x5f033e(0x1df)](_0x3c87df);_0x1821ed&&(this[_0x5f033e(0x1ce)][_0x5f033e(0x2ed)](_0x3c87df),_0x1821ed[_0x5f033e(0x248)]()),this[_0x5f033e(0x1ce)][_0x5f033e(0x380)]||(_0x7cc606=this[_0x5f033e(0x1a6)])==null||_0x7cc606[_0x5f033e(0x248)]();}['reconnect'](){var _0x587b34=_0x1b1c1f;this[_0x587b34(0x209)]=0x0,this[_0x587b34(0x1ae)](),this[_0x587b34(0x196)]();}['_clearRetryConnectingTimer'](){var _0x2781cb=_0x1b1c1f;this[_0x2781cb(0x343)]!=null&&(clearTimeout(this[_0x2781cb(0x343)]),this[_0x2781cb(0x343)]=null);}async[_0x1b1c1f(0x13a)](){var _0x4c9ccf=_0x1b1c1f,_0x5ddd11,_0x2b9ae4;const _0x8911ed=this['_configService']['getConfig'](Er),_0x4c4951=this['_configService'][_0x4c9ccf(0x140)](q),_0x36d807=(_0x2b9ae4=(_0x5ddd11=_0x4c4951==null?void 0x0:_0x4c4951['collabWebSocketUrl'])!=null?_0x5ddd11:_0x8911ed)!=null?_0x2b9ae4:Ir,_0x496f51=await this[_0x4c9ccf(0x31b)]['createSocket'](_0x36d807);return this[_0x4c9ccf(0xfb)]=_0x496f51,_0x496f51;}async['_tryEnsureSocket'](){var _0x2df803=_0x1b1c1f,_0x5464bb,_0x1bc74f;try{const _0x2684c8=(_0x1bc74f=(_0x5464bb=this['_socket'])!=null?_0x5464bb:this[_0x2df803(0xfb)])!=null?_0x1bc74f:await this['_createSocket']();if(_0x2684c8){const _0x4dafc2=_0x2684c8[_0x2df803(0x394)];_0x2684c8[_0x2df803(0x394)]=_0x4e3721=>(this[_0x2df803(0x258)](),_0x4dafc2[_0x2df803(0x39d)](_0x2684c8,[_0x4e3721])),_0x2684c8[_0x2df803(0x31d)][_0x2df803(0x257)](_0x1a3fcf=>this[_0x2df803(0x2f4)](_0x2684c8,_0x1a3fcf)),_0x2684c8[_0x2df803(0x10e)][_0x2df803(0x355)](_0x3273fa(0x1))[_0x2df803(0x257)](_0x2f681c=>this[_0x2df803(0xfe)][_0x2df803(0x2f5)](_0x2df803(0x389),_0x2f681c)),_0x2684c8[_0x2df803(0xf2)][_0x2df803(0x355)](_0x3273fa(0x1))[_0x2df803(0x257)](()=>{var _0x2b9033=_0x2df803;this[_0x2b9033(0x127)](_0x2684c8);}),_0x2684c8['close$'][_0x2df803(0x355)](_0x3273fa(0x1))[_0x2df803(0x257)](_0x3a3bbf=>{var _0x426d44=_0x2df803;this[_0x426d44(0xfe)]['debug'](_0x426d44(0xeb),_0x426d44(0x1ef),_0x3a3bbf),this[_0x426d44(0xce)]();});}}catch(_0x39267b){this[_0x2df803(0xfe)][_0x2df803(0x2f5)](_0x39267b),this[_0x2df803(0xce)]();}}[_0x1b1c1f(0x127)](_0x309d0d){var _0x1bd6be=_0x1b1c1f;this['_logService'][_0x1bd6be(0x183)](_0x1bd6be(0xeb),_0x1bd6be(0x1aa)),_0x309d0d['send']({'cmd':F['HELLO']}),this[_0x1bd6be(0x258)]();}['_onOffline'](){var _0x54ddfe=_0x1b1c1f;this[_0x54ddfe(0x214)]=!0x1,this[_0x54ddfe(0xfb)]=null,this[_0x54ddfe(0x27b)][_0x54ddfe(0x34b)](Ee['OFFLINE']),this[_0x54ddfe(0x20f)][_0x54ddfe(0x34b)](null),this['_clearTimeoutTimer'](),this[_0x54ddfe(0xe5)]();}[_0x1b1c1f(0xce)](){var _0x42e600=_0x1b1c1f,_0x52df5a;this[_0x42e600(0x118)](),this[_0x42e600(0x209)]<((_0x52df5a=this[_0x42e600(0xc7)][_0x42e600(0x140)](br))!=null?_0x52df5a:yr)?(this[_0x42e600(0x12f)][_0x42e600(0x320)]({'id':se[_0x42e600(0xf6)]}),this[_0x42e600(0x196)]()):this[_0x42e600(0x12f)]['emitEvent']({'id':se[_0x42e600(0x225)]});}[_0x1b1c1f(0x196)](){var _0x41ff0e=_0x1b1c1f,_0x191692;const _0x59ec3f=this[_0x41ff0e(0x209)],_0x3de161=this[_0x41ff0e(0xc7)]['getConfig'](q),_0x2f6d03=_0x59ec3f===0x0?0x0:((_0x191692=_0x3de161==null?void 0x0:_0x3de161[_0x41ff0e(0x319)])!=null?_0x191692:Rr)*0x2**_0x59ec3f;this[_0x41ff0e(0x343)]=setTimeout(()=>{var _0x4d05e4=_0x41ff0e;clearTimeout(this[_0x4d05e4(0x343)]),this['_retryConnectingTimer']=null,this[_0x4d05e4(0x15e)]();},_0x2f6d03),this[_0x41ff0e(0x209)]+=0x1;}[_0x1b1c1f(0x2f4)](_0x56e56b,_0x823597){var _0x228338=_0x1b1c1f;const {cmd:_0x28c6ca}=_0x823597;_0x28c6ca===F[_0x228338(0x397)]&&!this['_socketReady']&&(_0x56e56b[_0x228338(0x23a)]=_0x823597[_0x228338(0x23b)][_0x228338(0x23a)],this[_0x228338(0x20f)][_0x228338(0x34b)](_0x56e56b),this[_0x228338(0x27b)][_0x228338(0x34b)](Ee[_0x228338(0x17e)]),this['_socketReady']=!0x0,this[_0x228338(0xfb)]=null),_0x28c6ca===F['HEARTBEAT']&&this[_0x228338(0x293)](),this[_0x228338(0x258)]();}[_0x1b1c1f(0x258)](){var _0x1144cf=_0x1b1c1f,_0x39ed1d;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1144cf(0x2d0)](),(_0x39ed1d=this[_0x1144cf(0xc7)][_0x1144cf(0x140)](Tr))!=null?_0x39ed1d:Cr);}[_0x1b1c1f(0x2d0)](){var _0x5ea9ec=_0x1b1c1f;this[_0x5ea9ec(0x1a6)][_0x5ea9ec(0x394)]({'cmd':F[_0x5ea9ec(0x353)]}),this['_waitForHeartbeatResponse']();}[_0x1b1c1f(0xb6)](){var _0x547954=_0x1b1c1f,_0x2c1088;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x2c1088=this[_0x547954(0xc7)][_0x547954(0x140)](mi))!=null?_0x2c1088:gi);}[_0x1b1c1f(0xe5)](){var _0x59c252=_0x1b1c1f;this[_0x59c252(0x280)]!=null&&(clearTimeout(this[_0x59c252(0x280)]),this[_0x59c252(0x280)]=null);}[_0x1b1c1f(0x293)](){var _0x407cb2=_0x1b1c1f;this[_0x407cb2(0x1b7)]!=null&&(clearTimeout(this[_0x407cb2(0x1b7)]),this[_0x407cb2(0x1b7)]=null);}};Le=Kr([be(0x0,_0x56699c(_0x5caeba)),be(0x1,_0x3b556e),be(0x2,_0x47e21a),be(0x3,Ii),be(0x4,_0x56699c(pe)),be(0x5,_0x34b961(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x1b1c1f(0xb8)]((i+0x100)[_0x1b1c1f(0x103)](0x10)[_0x1b1c1f(0x13f)](0x1));function Yr(_0xed7730,_0x336c8c=0x0){var _0x14260d=_0x1b1c1f;return(G[_0xed7730[_0x336c8c+0x0]]+G[_0xed7730[_0x336c8c+0x1]]+G[_0xed7730[_0x336c8c+0x2]]+G[_0xed7730[_0x336c8c+0x3]]+'-'+G[_0xed7730[_0x336c8c+0x4]]+G[_0xed7730[_0x336c8c+0x5]]+'-'+G[_0xed7730[_0x336c8c+0x6]]+G[_0xed7730[_0x336c8c+0x7]]+'-'+G[_0xed7730[_0x336c8c+0x8]]+G[_0xed7730[_0x336c8c+0x9]]+'-'+G[_0xed7730[_0x336c8c+0xa]]+G[_0xed7730[_0x336c8c+0xb]]+G[_0xed7730[_0x336c8c+0xc]]+G[_0xed7730[_0x336c8c+0xd]]+G[_0xed7730[_0x336c8c+0xe]]+G[_0xed7730[_0x336c8c+0xf]])[_0x14260d(0xde)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x281277=_0x1b1c1f;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x281277(0x2f2));ut=crypto[_0x281277(0x132)]['bind'](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x1b1c1f(0x2fa)][_0x1b1c1f(0x244)](crypto),Yt={'randomUUID':Jr};function Xr(_0x1ca4df,_0x29e7e1,_0x15dd12){var _0x64196=_0x1b1c1f,_0x537c57,_0x65d37c,_0x523ec6;if(Yt[_0x64196(0x2fa)]&&!_0x1ca4df)return Yt['randomUUID']();_0x1ca4df=_0x1ca4df||{};const _0x479421=(_0x523ec6=(_0x65d37c=_0x1ca4df[_0x64196(0x136)])!=null?_0x65d37c:(_0x537c57=_0x1ca4df[_0x64196(0x17b)])==null?void 0x0:_0x537c57[_0x64196(0xee)](_0x1ca4df))!=null?_0x523ec6:zr();if(_0x479421[_0x64196(0x371)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x479421[0x6]=_0x479421[0x6]&0xf|0x40,_0x479421[0x8]=_0x479421[0x8]&0x3f|0x80,Yr(_0x479421);}const J=_0x118f0f(_0x1b1c1f(0x2ff));function Bs(_0x491cc7){return'unit-cache-'+_0x491cc7;}var Zr=Object[_0x1b1c1f(0x282)],Qr=(_0x1a6364,_0x4690e6,_0x4556e3,_0x506e98)=>{var _0xf5af02=_0x1b1c1f;for(var _0x18c2ca=_0x506e98>0x1?void 0x0:_0x506e98?Zr(_0x4690e6,_0x4556e3):_0x4690e6,_0x590803=_0x1a6364[_0xf5af02(0x371)]-0x1,_0x3cfd95;_0x590803>=0x0;_0x590803--)(_0x3cfd95=_0x1a6364[_0x590803])&&(_0x18c2ca=_0x3cfd95(_0x18c2ca)||_0x18c2ca);return _0x18c2ca;},dt=(_0x2337cd,_0x475cb7)=>(_0x4363e0,_0x2f2c1a)=>_0x475cb7(_0x4363e0,_0x2f2c1a,_0x2337cd);function en(_0x2be61f){var _0x447699=_0x1b1c1f;const {unitID:_0x31fd77,mutations:_0x397223}=_0x2be61f;return{'unitId':_0x31fd77,'subUnitId':_0x397223[0x0][_0x447699(0xbe)][_0x447699(0x2df)]};}let it=class{constructor(_0x537968,_0x173650,_0x3fa9c3){var _0x343dda=_0x1b1c1f;this[_0x343dda(0x165)]=_0x537968,this['_transformService']=_0x173650,this['_instanceService']=_0x3fa9c3;}[_0x1b1c1f(0x25e)](_0x2672ca){var _0xdf9337=_0x1b1c1f,_0x8bd5bb,_0x3894cb,_0x2f63a4,_0x1b7099;const _0x45014b=this[_0xdf9337(0x165)][_0xdf9337(0x1df)](_0xfb2cad),{unitId:_0x55906a,subUnitId:_0x46544c}=en(_0x2672ca),_0x8307=_0x45014b==null?void 0x0:_0x45014b[_0xdf9337(0x23e)](_0x55906a)[_0xdf9337(0x1fb)](),_0x2e5260=(_0x3894cb=(_0x8bd5bb=this[_0xdf9337(0x336)][_0xdf9337(0x1fc)](_0x55906a))==null?void 0x0:_0x8bd5bb['getActiveSheet']())==null?void 0x0:_0x3894cb[_0xdf9337(0xd1)]();if(_0x8307[_0xdf9337(0x371)]===0x0||!_0x55906a||!_0x46544c)return;const _0x58d98d=[{'id':_0xee072d['id'],'params':{'unitId':_0x55906a,'subUnitId':_0x2e5260,'selections':_0x2069ff['deepClone'](_0x8307)}}],_0x246169=this[_0xdf9337(0x23d)]['transformMutationsWithChangeset'](_0x2672ca,_0x58d98d);if(!_0x533588(_0x246169))throw _0x246169[_0xdf9337(0x2f5)];const _0x5e1bb2=(_0x1b7099=(_0x2f63a4=_0x246169['m2Prime'][0x0])==null?void 0x0:_0x2f63a4[_0xdf9337(0xbe)])==null?void 0x0:_0x1b7099['selections'];if(Array[_0xdf9337(0x1f7)](_0x5e1bb2)&&_0x5e1bb2['length']){if(_0x5e1bb2['length']===_0x58d98d[0x0][_0xdf9337(0xbe)][_0xdf9337(0x3a2)][_0xdf9337(0x371)]&&_0x5e1bb2['every']((_0x2aadf4,_0xbfbb3a)=>_0x1d94dc[_0xdf9337(0x2d7)](_0x2aadf4[_0xdf9337(0x102)],_0x58d98d[0x0][_0xdf9337(0xbe)][_0xdf9337(0x3a2)][_0xbfbb3a][_0xdf9337(0x102)])))return;this[_0xdf9337(0x165)][_0xdf9337(0x1df)](_0x157a00)['executeCommand'](_0xee072d['id'],{'unitId':_0x55906a,'subUnitId':_0x2e5260,'selections':_0x5e1bb2});}}};it=Qr([dt(0x0,_0x56699c(_0x5caeba)),dt(0x1,_0x591449),dt(0x2,_0x409ee8)],it);const ht=_0x118f0f(_0x1b1c1f(0xd8));var Ci=(_0x3ae47c=>(_0x3ae47c[_0x3ae47c[_0x1b1c1f(0x16e)]=0x0]=_0x1b1c1f(0x16e),_0x3ae47c[_0x3ae47c[_0x1b1c1f(0x145)]=0x1]='OTHER_CLIENTS_EDITING',_0x3ae47c))(Ci||{});const tn=new Set([_0x1a1615['id']]);function qt(_0x71fa83,_0xb8e3c5,_0x54645b,_0x14ffff,_0x4b86a0){var _0x1d5647=_0x1b1c1f,_0x3a4799,_0x22a0a3,_0x5b4c72,_0x2fb94c;const _0x281c24=[];for(const _0x274176 of _0x71fa83)if(tn['has'](_0x274176['id'])){if(_0x281c24[_0x1d5647(0x371)]>0x0)break;_0x281c24[_0x1d5647(0xb8)](_0x274176);break;}else _0x281c24['push'](_0x274176);const _0x47f858=(_0x22a0a3=(_0x3a4799=_0x4b86a0[_0x1d5647(0x3a3)]())==null?void 0x0:_0x3a4799[_0x1d5647(0x276)])!=null?_0x22a0a3:_0x1d5647(0x2e0),_0x233c95=(_0x2fb94c=(_0x5b4c72=_0x4b86a0['getCurrentUser']())==null?void 0x0:_0x5b4c72[_0x1d5647(0x23a)])!=null?_0x2fb94c:_0x1d5647(0x2e0);return{'changeset':{'unitID':_0xb8e3c5,'type':_0x31b41c(_0x54645b['getUnitType'](_0xb8e3c5)),'baseRev':_0x14ffff[_0x1d5647(0x16d)](_0xb8e3c5),'revision':0x0,'userID':_0x47f858,'memberID':_0x233c95,'mutations':_0x281c24},'pendingMutations':_0x71fa83['slice'](_0x281c24['length'])};}function rn(_0x2b8c5b,_0x597275,_0x399fe9,_0x202c28,_0x7dae1e){var _0x101bc5=_0x1b1c1f,_0x13d166,_0x48f73b,_0x2b221c,_0x84b209;const _0x545944=[_0x2b8c5b[_0x101bc5(0x213)]((_0x48276b,_0x37d4c3)=>{var _0x355913=_0x101bc5,_0x4573c6;const {id:_0x42b447}=_0x48276b,{id:_0x2d77c9,type:_0x21c8b1}=_0x37d4c3,_0x2ccc87=(_0x4573c6=_0x48276b[_0x355913(0xbe)])!=null?_0x4573c6:{'actions':null},_0x585744=_0x37d4c3[_0x355913(0xbe)];if(_0x42b447&&_0x42b447!==_0x2d77c9)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x42b447+'\x20-\x20'+_0x2d77c9+'.');return{..._0x48276b,'id':_0x2d77c9,'type':_0x21c8b1,'params':{'unitId':_0x585744['unitId'],'textRanges':_0x585744[_0x355913(0x2cc)],'actions':_0x223f99[_0x355913(0x22c)](_0x2ccc87['actions'],_0x585744[_0x355913(0xe9)])}};},{})],_0x10a118=(_0x48f73b=(_0x13d166=_0x7dae1e[_0x101bc5(0x3a3)]())==null?void 0x0:_0x13d166[_0x101bc5(0x276)])!=null?_0x48f73b:_0x101bc5(0x2e0),_0x452945=(_0x84b209=(_0x2b221c=_0x7dae1e[_0x101bc5(0x3a3)]())==null?void 0x0:_0x2b221c[_0x101bc5(0x23a)])!=null?_0x84b209:_0x101bc5(0x2e0);return{'changeset':{'unitID':_0x597275,'type':_0x31b41c(_0x399fe9[_0x101bc5(0x297)](_0x597275)),'baseRev':_0x202c28['getCurrentRevOfUnit'](_0x597275),'revision':0x0,'userID':_0x10a118,'memberID':_0x452945,'mutations':_0x545944},'pendingMutations':[]};}function Ri(_0x3c318c,_0x1f4ad3){var _0x4def55=_0x1b1c1f;const _0x2ffbc1=new _0x5af764(0x1);return setTimeout(()=>_0x2ffbc1['next'](_0x1f4ad3),_0x3c318c),_0x2ffbc1[_0x4def55(0xc5)]()[_0x4def55(0x355)](_0x14763f(0x1));}const nn={'id':_0x313840['id'],'type':_0x12a7c6[_0x1b1c1f(0x2c0)],'params':{}};var sn=Object[_0x1b1c1f(0x282)],Te=(_0x53671c,_0x19e9f7,_0x1fddcb,_0x2855fe)=>{var _0x377d59=_0x1b1c1f;for(var _0x39b240=_0x2855fe>0x1?void 0x0:_0x2855fe?sn(_0x19e9f7,_0x1fddcb):_0x19e9f7,_0x5c14be=_0x53671c[_0x377d59(0x371)]-0x1,_0x24e87d;_0x5c14be>=0x0;_0x5c14be--)(_0x24e87d=_0x53671c[_0x5c14be])&&(_0x39b240=_0x24e87d(_0x39b240)||_0x39b240);return _0x39b240;},P=(_0xa1491a,_0x40f5da)=>(_0x277aac,_0x4be6f2)=>_0x40f5da(_0x277aac,_0x4be6f2,_0xa1491a),bi=(_0x49f60c=>(_0x49f60c[_0x1b1c1f(0x283)]=_0x1b1c1f(0x349),_0x49f60c['SYNCED']=_0x1b1c1f(0x149),_0x49f60c[_0x1b1c1f(0x18f)]=_0x1b1c1f(0x250),_0x49f60c[_0x1b1c1f(0x368)]=_0x1b1c1f(0x205),_0x49f60c['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x49f60c[_0x1b1c1f(0x290)]='fetch_missing',_0x49f60c[_0x1b1c1f(0x23f)]=_0x1b1c1f(0x39b),_0x49f60c[_0x1b1c1f(0x1f1)]=_0x1b1c1f(0x382),_0x49f60c))(bi||{});const yi=0xea60;class Ce{constructor(_0x1c8bda,_0x590c20,_0x588152,_0x43ba82,_0x473ea2,_0x1d1538,_0x3d79d2,_0x591740,_0x5a9aab){var _0x27cd8c=_0x1b1c1f;N(this,_0x27cd8c(0x36c),null),N(this,_0x27cd8c(0x2e2),[]),(this['unitID']=_0x1c8bda,this['type']=_0x590c20,this['_handler']=_0x473ea2,this['_commandService']=_0x1d1538,this['_undoRedoService']=_0x3d79d2,this[_0x27cd8c(0x22e)]=_0x591740,this[_0x27cd8c(0x2c9)]=_0x5a9aab,this[_0x27cd8c(0x36c)]=_0x588152,this['_pendingMutations']=_0x43ba82);}[_0x1b1c1f(0x233)](_0x4f0d15){var _0x273d2d=_0x1b1c1f;const _0x2de6c5=this[_0x273d2d(0x22e)][_0x273d2d(0x16d)](this['unitID']);return _0x4f0d15['revision']>_0x2de6c5+0x1?(this[_0x273d2d(0x176)]['onMissingChangesets']({'from':_0x2de6c5,'to':_0x4f0d15[_0x273d2d(0x317)]-0x1}),!0x0):!0x1;}[_0x1b1c1f(0x238)](_0x584e42){var _0x2816b1=_0x1b1c1f;this[_0x2816b1(0x313)][_0x2816b1(0x1cf)](this['unitID'],_0x584e42);}[_0x1b1c1f(0x113)](_0x3e5af3){var _0x263ffa=_0x1b1c1f,_0x24ac4c,_0x386cce;(_0x386cce=(_0x24ac4c=this[_0x263ffa(0x176)])[_0x263ffa(0x155)])==null||_0x386cce[_0x263ffa(0xee)](_0x24ac4c,_0x3e5af3);}['_transformIMECache'](_0x205bc7){var _0x178048=_0x1b1c1f,_0x32f970,_0x2e8267;return(_0x2e8267=(_0x32f970=this[_0x178048(0x176)])[_0x178048(0xfc)])==null?void 0x0:_0x2e8267[_0x178048(0xee)](_0x32f970,_0x205bc7);}['_transformStateCache'](_0x334e11){var _0x34e283=_0x1b1c1f,_0x15e8ad,_0x13e10a;return(_0x13e10a=(_0x15e8ad=this['_handler'])[_0x34e283(0x243)])==null?void 0x0:_0x13e10a[_0x34e283(0xee)](_0x15e8ad,_0x334e11);}[_0x1b1c1f(0x288)](_0x1deca5){var _0x189fb6=_0x1b1c1f,_0x6f6232,_0x10efd1,_0x4afb87;return(_0x4afb87=(_0x10efd1=(_0x6f6232=this[_0x189fb6(0x176)])[_0x189fb6(0x1f0)])==null?void 0x0:_0x10efd1[_0x189fb6(0xee)](_0x6f6232,_0x1deca5))!=null?_0x4afb87:_0x1deca5;}[_0x1b1c1f(0x148)](_0x269241){var _0x3ed036=_0x1b1c1f,_0x35ffb0,_0x53bc31,_0x25ee05;return(_0x25ee05=(_0x53bc31=(_0x35ffb0=this['_handler'])[_0x3ed036(0xd2)])==null?void 0x0:_0x53bc31[_0x3ed036(0xee)](_0x35ffb0,_0x269241))!=null?_0x25ee05:_0x269241;}['_syncEditingCollabCursor'](_0xc91604){var _0x4e7f6e=_0x1b1c1f,_0x346002,_0x571ed1;if(this['type']===Q[_0x4e7f6e(0xdf)]){const {unitID:_0x2903c,mutations:_0x347e4b,memberID:_0x30a73d}=_0xc91604,_0x5dcb51=_0x347e4b[0x0]['params']['textRanges'];Array[_0x4e7f6e(0x1f7)](_0x5dcb51)&&_0x5dcb51[_0x4e7f6e(0x371)]>0x0&&((_0x571ed1=(_0x346002=this['_handler'])[_0x4e7f6e(0x358)])==null||_0x571ed1['call'](_0x346002,{'unitID':_0x2903c,'memberID':_0x30a73d,'textRanges':_0x5dcb51}));}}[_0x1b1c1f(0x359)](){var _0x336529=_0x1b1c1f,_0x29c358;(_0x29c358=this[_0x336529(0x2c9)])==null||_0x29c358[_0x336529(0x2c5)](this['unitID'],this['type'],this[_0x336529(0x36c)],this['_pendingMutations']);}[_0x1b1c1f(0x38b)](){var _0xf73fda=_0x1b1c1f;return this[_0xf73fda(0x22e)][_0xf73fda(0x16d)](this['unitID']);}[_0x1b1c1f(0x2f3)](){var _0x44fdb6=_0x1b1c1f;this[_0x44fdb6(0x22e)]['incrementRevOfUnit'](this[_0x44fdb6(0x2da)]);}[_0x1b1c1f(0x30e)](_0x43b027){var _0x1c0485=_0x1b1c1f,_0x46f2a7;let _0x536dd4=this[_0x1c0485(0x288)](_0x43b027);_0x536dd4=this[_0x1c0485(0x148)](_0x536dd4);const _0x554914=_0x5c02c3(_0x536dd4[_0x1c0485(0x34f)],this[_0x1c0485(0x2d6)],{'fromCollab':!0x0});if(!_0x554914[_0x1c0485(0x2a0)])throw _0x554914[_0x1c0485(0x2f5)]instanceof Error?_0x554914[_0x1c0485(0x2f5)]:new Error((_0x46f2a7=_0x554914[_0x1c0485(0x2f5)])!=null?_0x46f2a7:_0x1c0485(0xc2));this[_0x1c0485(0x1ff)](_0x536dd4),this[_0x1c0485(0x39f)](_0x536dd4),this[_0x1c0485(0x238)](_0x43b027),this[_0x1c0485(0x113)](_0x536dd4),this['_syncEditingCollabCursor'](_0x536dd4),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x9f4308,_0x3523f5,_0x5e67ef,_0x19ee78,_0x4af8ab,_0x10831c,_0x703043,_0x1c83df,_0x32ebcd,_0x35d146){var _0x391912=_0x1b1c1f;super(_0x9f4308,_0x3523f5,null,[],_0x5e67ef,_0x703043,_0x10831c,_0x19ee78,_0x35d146),N(this,'status','synced'),(this[_0x391912(0x165)]=_0x4af8ab,this[_0x391912(0xfe)]=_0x1c83df,this['_transformService']=_0x32ebcd,this['localCacheService']=_0x35d146);}['appendMutation'](_0x1c5c12){var _0x40b233=_0x1b1c1f;const _0x19291f=this['_injector'][_0x40b233(0x195)](oe,this[_0x40b233(0x2da)],this['type'],[_0x1c5c12],this[_0x40b233(0x176)]);return _0x19291f[_0x40b233(0xfa)](),_0x19291f[_0x40b233(0x359)](),_0x19291f;}[_0x1b1c1f(0x264)](_0x449810){var _0x480c6f=_0x1b1c1f;if(this['_checkMissing'](_0x449810))return this[_0x480c6f(0x165)][_0x480c6f(0x195)](ee,this['unitID'],this[_0x480c6f(0x2b7)],null,[],null,[_0x449810],this[_0x480c6f(0x176)]);try{const _0x5bb915=this[_0x480c6f(0x23d)][_0x480c6f(0x2f7)](_0x449810,[nn]);if(_0x533588(_0x5bb915)){const {c1Prime:_0x14c734}=_0x5bb915;return this[_0x480c6f(0x30e)](_0x14c734),this;}throw _0x5bb915[_0x480c6f(0x2f5)];}catch(_0x470cb0){return this['_logService']['error'](_0x470cb0),this[_0x480c6f(0x265)](!0x1);}}['_onConflict'](_0x3acb90){var _0x2d57de=_0x1b1c1f;return this['_injector'][_0x2d57de(0x195)](ue,this['unitID'],this['type'],null,[],this[_0x2d57de(0x176)],_0x3acb90);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1b1c1f(0x3a9)](){var _0x46f600=_0x1b1c1f;throw new Error(_0x46f600(0x367));}[_0x1b1c1f(0x129)](){return this;}[_0x1b1c1f(0x322)](){var _0x19dcde=_0x1b1c1f;return this['_injector'][_0x19dcde(0x195)](de,this['unitID'],this[_0x19dcde(0x2b7)],null,[],this[_0x19dcde(0x176)]);}[_0x1b1c1f(0x25b)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x21a105=_0x1b1c1f;const _0x9e39c5=this['_revisionService']['getCurrentRevOfUnit'](this[_0x21a105(0x2da)]);return this[_0x21a105(0x176)][_0x21a105(0x2ad)]({'from':_0x9e39c5,'to':0x0}),this['_injector'][_0x21a105(0x195)](ee,this[_0x21a105(0x2da)],this[_0x21a105(0x2b7)],null,[],null,[],this[_0x21a105(0x176)]);}};Ne=Te([P(0x3,_0x56699c(_0x131576)),P(0x4,_0x56699c(_0x5caeba)),P(0x5,_0x3842ef),P(0x6,_0x157a00),P(0x7,_0x3b556e),P(0x8,_0x591449),P(0x9,_0x34b961(J))],Ne);let oe=class extends Ce{constructor(_0x2e594a,_0xbc8116,_0x2fe1e2,_0x4b899e,_0x52b53a,_0x85618b,_0x2e61a9,_0x2efdfa,_0x42cb01,_0x47289d,_0x440e2f,_0x4f0ef2,_0x22335f,_0x404b78){var _0x4d9c56=_0x1b1c1f;super(_0x2e594a,_0xbc8116,null,_0x2fe1e2,_0x4b899e,_0x42cb01,_0x22335f,_0x85618b,_0x404b78),N(this,_0x4d9c56(0x32a),'pending'),N(this,_0x4d9c56(0x30c),null),N(this,_0x4d9c56(0x24f),null),(this[_0x4d9c56(0x165)]=_0x52b53a,this['_memberService']=_0x2e61a9,this[_0x4d9c56(0xfe)]=_0x2efdfa,this[_0x4d9c56(0xc7)]=_0x47289d,this['_transformService']=_0x440e2f,this[_0x4d9c56(0x28f)]=_0x4f0ef2);}[_0x1b1c1f(0x21d)](_0x5b8802){var _0x2b1198=_0x1b1c1f;return this[_0x2b1198(0x2e2)][_0x2b1198(0xb8)](_0x5b8802),this['_updateLocalCache'](),this;}[_0x1b1c1f(0x264)](_0x50dda1){var _0x55e42f=_0x1b1c1f;if(this[_0x55e42f(0x233)](_0x50dda1))return this[_0x55e42f(0x2b6)](),this[_0x55e42f(0x165)][_0x55e42f(0x195)](ee,this['unitID'],this[_0x55e42f(0x2b7)],null,this[_0x55e42f(0x2e2)],null,[_0x50dda1],this['_handler']);try{const _0x170afd=this[_0x55e42f(0x23d)][_0x55e42f(0x2f7)](_0x50dda1,this['_pendingMutations']);if(_0x533588(_0x170afd)){const {c1Prime:_0xb8409b,m2Prime:_0x2221d8}=_0x170afd;this['_executeRemoteChangeset'](_0xb8409b);const _0x572af2=this[_0x55e42f(0x165)][_0x55e42f(0x195)](oe,this[_0x55e42f(0x2da)],this[_0x55e42f(0x2b7)],_0x2221d8,this[_0x55e42f(0x176)]);this[_0x55e42f(0x2b6)]();const _0x54bb55=new Date()[_0x55e42f(0x174)](),_0x4bf7ae=this[_0x55e42f(0x30c)]?Math[_0x55e42f(0x2b0)](this[_0x55e42f(0x30c)]-_0x54bb55,0x0):this[_0x55e42f(0x15b)]();return _0x572af2[_0x55e42f(0xfa)](_0x4bf7ae),_0x572af2;}throw _0x170afd[_0x55e42f(0x2f5)];}catch(_0x4e157a){return this['_logService'][_0x55e42f(0x2f5)](_0x4e157a),this[_0x55e42f(0x265)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1b1c1f(0x3a9)](){var _0xd20214=_0x1b1c1f;throw new Error(_0xd20214(0x278));}[_0x1b1c1f(0x129)](){return this;}['toggleOffline'](){var _0x1df9d5=_0x1b1c1f;return this[_0x1df9d5(0x2b6)](),this[_0x1df9d5(0x165)]['createInstance'](de,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x1df9d5(0x176)]);}['toggleOnline'](){return this;}[_0x1b1c1f(0xfa)](_0x1373e0){var _0x35a6ab=_0x1b1c1f;const _0x111f69=_0x1373e0!=null?_0x1373e0:this[_0x35a6ab(0x15b)]();this[_0x35a6ab(0x30c)]=new Date()[_0x35a6ab(0x174)]()+_0x111f69,this[_0x35a6ab(0x24f)]=setTimeout(()=>{var _0xa2254f=_0x35a6ab;this['_clearScheduledTask']();let _0x1964ae=null;switch(this[_0xa2254f(0x2b7)]){case Q[_0xa2254f(0x262)]:{_0x1964ae=qt(this[_0xa2254f(0x2e2)],this[_0xa2254f(0x2da)],this[_0xa2254f(0x28f)],this[_0xa2254f(0x22e)],this[_0xa2254f(0x399)]);break;}case Q[_0xa2254f(0xdf)]:{this['_pendingMutations'][_0xa2254f(0x29a)](_0x4dc917=>_0x4dc917['id']===_0x585b29['id'])?_0x1964ae=rn(this[_0xa2254f(0x2e2)],this[_0xa2254f(0x2da)],this[_0xa2254f(0x28f)],this[_0xa2254f(0x22e)],this[_0xa2254f(0x399)]):_0x1964ae=qt(this[_0xa2254f(0x2e2)],this['unitID'],this[_0xa2254f(0x28f)],this[_0xa2254f(0x22e)],this[_0xa2254f(0x399)]);break;}default:throw new Error(_0xa2254f(0x28a)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x432cff,pendingMutations:_0x267686}=_0x1964ae;this[_0xa2254f(0x176)]['onSendChangeset'](_0x432cff);const _0x593bc8=_0x267686[_0xa2254f(0x371)]?this[_0xa2254f(0x165)][_0xa2254f(0x195)](ae,this['unitID'],this[_0xa2254f(0x2b7)],_0x432cff,_0x267686,this[_0xa2254f(0x176)],void 0x0):this[_0xa2254f(0x165)][_0xa2254f(0x195)](le,this[_0xa2254f(0x2da)],this[_0xa2254f(0x2b7)],_0x432cff,this['_handler']);_0x593bc8[_0xa2254f(0x359)](),this[_0xa2254f(0x176)][_0xa2254f(0x331)](this,_0x593bc8);},_0x111f69);}['_getSendChangesetTimeout'](){var _0x49bf55=_0x1b1c1f,_0x3cbc25;const _0x37533f=this[_0x49bf55(0xc7)][_0x49bf55(0x140)](q);return(_0x3cbc25=_0x37533f==null?void 0x0:_0x37533f[_0x49bf55(0x26f)])!=null?_0x3cbc25:Sr;}[_0x1b1c1f(0x137)](){var _0xbcd948=_0x1b1c1f;throw new Error(_0xbcd948(0x14f));}[_0x1b1c1f(0x2b6)](){var _0x5399c7=_0x1b1c1f;this[_0x5399c7(0x24f)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5399c7(0x24f)]=null);}[_0x1b1c1f(0x265)](_0x240426){var _0x3e5718=_0x1b1c1f;return this[_0x3e5718(0x2b6)](),this['_injector']['createInstance'](ue,this[_0x3e5718(0x2da)],this[_0x3e5718(0x2b7)],null,this[_0x3e5718(0x2e2)],this['_handler'],_0x240426);}};oe=Te([P(0x4,_0x56699c(_0x5caeba)),P(0x5,_0x56699c(_0x131576)),P(0x6,_0x56699c(xe)),P(0x7,_0x3b556e),P(0x8,_0x157a00),P(0x9,_0x47e21a),P(0xa,_0x591449),P(0xb,_0x409ee8),P(0xc,_0x3842ef),P(0xd,_0x34b961(J))],oe);let le=class extends Ce{constructor(_0x157054,_0x1333f5,_0x12d85d,_0x3de988,_0x277b38,_0x282b1f,_0x3c9dbd,_0x574fe0,_0x3662db,_0x1ce9ac,_0x3e1e05){var _0x3e5b5c=_0x1b1c1f;super(_0x157054,_0x1333f5,_0x12d85d,[],_0x3de988,_0x3c9dbd,_0x1ce9ac,_0x282b1f,_0x3e1e05),N(this,_0x3e5b5c(0x32a),_0x3e5b5c(0x205)),N(this,_0x3e5b5c(0x13b),0x0),N(this,_0x3e5b5c(0xd5)),N(this,_0x3e5b5c(0x1b4)),(this[_0x3e5b5c(0x165)]=_0x277b38,this[_0x3e5b5c(0xfe)]=_0x574fe0,this['_transformService']=_0x3662db);}[_0x1b1c1f(0x21d)](_0x4ea5ae){var _0x33848b=_0x1b1c1f;this[_0x33848b(0x2b6)]();const _0x464132=this[_0x33848b(0x165)][_0x33848b(0x195)](ae,this[_0x33848b(0x2da)],this[_0x33848b(0x2b7)],this[_0x33848b(0x36c)],[_0x4ea5ae],this[_0x33848b(0x176)],this[_0x33848b(0xd5)]);return _0x464132[_0x33848b(0x359)](),_0x464132;}[_0x1b1c1f(0x264)](_0x32b86a){var _0x5028b2=_0x1b1c1f;if(this[_0x5028b2(0x233)](_0x32b86a))return this[_0x5028b2(0x2b6)](),this[_0x5028b2(0x165)][_0x5028b2(0x195)](ee,this[_0x5028b2(0x2da)],this[_0x5028b2(0x2b7)],this[_0x5028b2(0x36c)],[],null,[_0x32b86a],this[_0x5028b2(0x176)]);try{const _0x760c07=this[_0x5028b2(0x23d)][_0x5028b2(0x21e)]([_0x32b86a],[this[_0x5028b2(0x36c)]],!0x1);if(_0x573a9f(_0x760c07)){const {c1Prime:_0x374db3,c2Prime:_0x56d538}=_0x760c07;this[_0x5028b2(0x30e)](_0x374db3[0x0]),_0x56d538[0x0]['baseRev']=this[_0x5028b2(0x38b)](),this[_0x5028b2(0x2b6)]();const _0x462412=this[_0x5028b2(0x165)][_0x5028b2(0x195)](le,this[_0x5028b2(0x2da)],this[_0x5028b2(0x2b7)],_0x56d538[0x0],this['_handler']);return _0x462412[_0x5028b2(0x359)](),_0x462412;}return this['_onConflict'](!0x1);}catch(_0x4b6dcf){return this[_0x5028b2(0xfe)]['error'](_0x4b6dcf),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1526ea){var _0x3fc2d0=_0x1b1c1f;this[_0x3fc2d0(0x2b6)]();const _0x4e70e0=this[_0x3fc2d0(0x22e)][_0x3fc2d0(0x16d)](this[_0x3fc2d0(0x2da)]);if(_0x1526ea[_0x3fc2d0(0x317)]<_0x4e70e0-0x1)return this;if(this[_0x3fc2d0(0x233)](_0x1526ea))return this[_0x3fc2d0(0x165)][_0x3fc2d0(0x195)](ee,this[_0x3fc2d0(0x2da)],this[_0x3fc2d0(0x2b7)],null,[],this[_0x3fc2d0(0x36c)],[],this[_0x3fc2d0(0x176)]);this[_0x3fc2d0(0x2f3)]();const _0x21ea67=this['_injector'][_0x3fc2d0(0x195)](Ne,this[_0x3fc2d0(0x2da)],this[_0x3fc2d0(0x2b7)],this[_0x3fc2d0(0x176)]);return _0x21ea67[_0x3fc2d0(0x359)](),_0x21ea67;}[_0x1b1c1f(0x3a9)](_0x2d6d43){return this['_onConflict'](!!(_0x2d6d43!=null&&_0x2d6d43['isPermissionRej']));}[_0x1b1c1f(0x129)](_0x5e10ce){var _0x2270e3=_0x1b1c1f;return this[_0x2270e3(0x13b)]>yi?this['toggleOffline']():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5e10ce['reqId']}),this[_0x2270e3(0x1b4)]=this[_0x2270e3(0xd5)][_0x2270e3(0x257)](({reqId:_0x5aa56c,timeout:_0x495f56})=>{var _0x296684=_0x2270e3;this[_0x296684(0x154)](_0x5aa56c,_0x495f56);}),this);}[_0x1b1c1f(0x322)](){var _0x384d0d=_0x1b1c1f;return this[_0x384d0d(0x2b6)](),this[_0x384d0d(0x165)]['createInstance'](de,this[_0x384d0d(0x2da)],this[_0x384d0d(0x2b7)],this[_0x384d0d(0x36c)],[],this[_0x384d0d(0x176)]);}['toggleOnline'](){return this;}[_0x1b1c1f(0x137)](){var _0x545d75=_0x1b1c1f;this[_0x545d75(0x176)]['onSendChangeset'](this[_0x545d75(0x36c)]);}[_0x1b1c1f(0x265)](_0x19e60c){var _0x11adeb=_0x1b1c1f;return this['_clearScheduledTask'](),this[_0x11adeb(0x165)]['createInstance'](ue,this['unitID'],this[_0x11adeb(0x2b7)],this[_0x11adeb(0x36c)],[],this['_handler'],_0x19e60c);}[_0x1b1c1f(0x154)](_0x2b75ac,_0x543cc7){var _0x2d6779=_0x1b1c1f,_0x249725;_0x2b75ac===((_0x249725=this[_0x2d6779(0x36c)])==null?void 0x0:_0x249725[_0x2d6779(0x123)])&&(this['resend'](),this[_0x2d6779(0x13b)]=_0x543cc7===0x0?0x3e8:_0x543cc7*0x2);}[_0x1b1c1f(0x2b6)](){var _0xc519ec=_0x1b1c1f,_0x57e5fc;(_0x57e5fc=this[_0xc519ec(0x1b4)])==null||_0x57e5fc[_0xc519ec(0x231)](),this[_0xc519ec(0x13b)]=0x0;}};le=Te([P(0x4,_0x56699c(_0x5caeba)),P(0x5,_0x56699c(_0x131576)),P(0x6,_0x157a00),P(0x7,_0x3b556e),P(0x8,_0x591449),P(0x9,_0x3842ef),P(0xa,_0x34b961(J))],le);let ae=class extends Ce{constructor(_0x142f00,_0x366ea7,_0x4316f0,_0x595eaa,_0x9ad1fa,_0x407844,_0x1a116e,_0x1d6e23,_0x3a88a2,_0x3a0090,_0x32a92,_0x226553,_0x1fe61e){var _0x198f68=_0x1b1c1f;super(_0x142f00,_0x366ea7,_0x4316f0,_0x595eaa,_0x9ad1fa,_0x3a88a2,_0x226553,_0x1d6e23,_0x1fe61e),N(this,_0x198f68(0x32a),'awaiting_with_pending'),N(this,_0x198f68(0x13b),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x198f68(0x165)]=_0x1a116e,this[_0x198f68(0xfe)]=_0x3a0090,this['_transformService']=_0x32a92,this[_0x198f68(0x109)]=_0x1fe61e,_0x407844&&(this['_resendTimer']=_0x407844,this[_0x198f68(0x1b4)]=this[_0x198f68(0xd5)][_0x198f68(0x257)](({reqId:_0x1ec251,timeout:_0x4c65e6})=>{var _0x181f53=_0x198f68;this[_0x181f53(0x154)](_0x1ec251,_0x4c65e6);})));}['appendMutation'](_0x21ee26){var _0x10380e=_0x1b1c1f;return this[_0x10380e(0x2e2)][_0x10380e(0xb8)](_0x21ee26),this;}[_0x1b1c1f(0x264)](_0xe2e56a){var _0x54286b=_0x1b1c1f;if(this[_0x54286b(0x233)](_0xe2e56a))return this['_clearScheduledTask'](),this[_0x54286b(0x165)][_0x54286b(0x195)](ee,this[_0x54286b(0x2da)],this[_0x54286b(0x2b7)],this[_0x54286b(0x36c)],this[_0x54286b(0x2e2)],null,[_0xe2e56a],this[_0x54286b(0x176)]);try{const _0x230719=this[_0x54286b(0x23d)]['transformChangesets']([_0xe2e56a],[this['_awaitingChangeset']],!0x1);if(_0x573a9f(_0x230719)){const {c1Prime:_0x3443f3,c2Prime:_0x59fe65}=_0x230719,_0xa41a29=this[_0x54286b(0x23d)][_0x54286b(0x2f7)](_0x3443f3[0x0],this['_pendingMutations']);if(_0x533588(_0xa41a29)){const {c1Prime:_0x4843bf,m2Prime:_0x3b0bdf}=_0xa41a29;return this['_executeRemoteChangeset'](_0x4843bf),_0x59fe65[0x0][_0x54286b(0x26c)]=this['_getCurrentRevision'](),this[_0x54286b(0x2b6)](),this[_0x54286b(0x165)][_0x54286b(0x195)](ae,this[_0x54286b(0x2da)],this['type'],_0x59fe65[0x0],_0x3b0bdf,this[_0x54286b(0x176)],void 0x0);}throw _0xa41a29[_0x54286b(0x2f5)];}throw _0x230719[_0x54286b(0x2f5)];}catch(_0x4d016b){return this[_0x54286b(0xfe)]['error'](_0x4d016b),this[_0x54286b(0x265)](!0x1);}}['onRemoteAck'](_0x3ac147){var _0x348f94=_0x1b1c1f;if(this[_0x348f94(0x2b6)](),this[_0x348f94(0x233)](_0x3ac147))return this[_0x348f94(0x165)][_0x348f94(0x195)](ee,this['unitID'],this[_0x348f94(0x2b7)],null,this[_0x348f94(0x2e2)],this[_0x348f94(0x36c)],[],this[_0x348f94(0x176)]);this[_0x348f94(0x2f3)]();const _0x15b6d6=this['_injector'][_0x348f94(0x195)](oe,this[_0x348f94(0x2da)],this[_0x348f94(0x2b7)],this['_pendingMutations'],this['_handler']);return _0x15b6d6[_0x348f94(0xfa)](),_0x15b6d6['_updateLocalCache'](),_0x15b6d6;}['onRemoteRej'](_0x42a230){var _0x5b086f=_0x1b1c1f;return this['_onConflict'](!!(_0x42a230!=null&&_0x42a230[_0x5b086f(0x1f9)]));}[_0x1b1c1f(0x129)](_0x48ed53){var _0x3dc1d1=_0x1b1c1f;return this[_0x3dc1d1(0x13b)]>yi?this[_0x3dc1d1(0x322)]():(this[_0x3dc1d1(0xd5)]=Ri(this[_0x3dc1d1(0x13b)],{'timeout':this[_0x3dc1d1(0x13b)],'reqId':_0x48ed53[_0x3dc1d1(0x123)]}),this[_0x3dc1d1(0x1b4)]=this[_0x3dc1d1(0xd5)]['subscribe'](({reqId:_0x5dedcd,timeout:_0x594540})=>{var _0x1d9bd7=_0x3dc1d1;this[_0x1d9bd7(0x154)](_0x5dedcd,_0x594540);}),this);}[_0x1b1c1f(0x322)](){var _0x92009d=_0x1b1c1f;return this[_0x92009d(0x2b6)](),this[_0x92009d(0x165)][_0x92009d(0x195)](de,this[_0x92009d(0x2da)],this[_0x92009d(0x2b7)],this[_0x92009d(0x36c)],this[_0x92009d(0x2e2)],this[_0x92009d(0x176)]);}[_0x1b1c1f(0x25b)](){return this;}[_0x1b1c1f(0x137)](){var _0x2578c8=_0x1b1c1f;this[_0x2578c8(0x176)][_0x2578c8(0x138)](this[_0x2578c8(0x36c)]);}[_0x1b1c1f(0x265)](_0x519233){var _0x219c0c=_0x1b1c1f;return this[_0x219c0c(0x2b6)](),this[_0x219c0c(0x165)]['createInstance'](ue,this[_0x219c0c(0x2da)],this[_0x219c0c(0x2b7)],null,this['_pendingMutations'],this['_handler'],_0x519233);}['_resendWithTimeout'](_0x3783ff,_0x26c4a8){var _0x27346f=_0x1b1c1f,_0x288b64;_0x3783ff===((_0x288b64=this['_awaitingChangeset'])==null?void 0x0:_0x288b64[_0x27346f(0x123)])&&(this['resend'](),this[_0x27346f(0x13b)]=_0x26c4a8===0x0?0x3e8:_0x26c4a8*0x2);}['_clearScheduledTask'](){var _0x2e4d93=_0x1b1c1f,_0x288373;(_0x288373=this['_sender'])==null||_0x288373[_0x2e4d93(0x231)](),this[_0x2e4d93(0x13b)]=0x0;}};ae=Te([P(0x6,_0x56699c(_0x5caeba)),P(0x7,_0x56699c(_0x131576)),P(0x8,_0x157a00),P(0x9,_0x3b556e),P(0xa,_0x591449),P(0xb,_0x3842ef),P(0xc,_0x34b961(J))],ae);let ue=class extends Ce{constructor(_0x57c37b,_0x2bc538,_0x4baf53,_0x437933,_0x2e0ded,_0x4a1b3e=!0x1,_0x4a69b1,_0x170e0b,_0x45b515,_0x2c7868,_0x155cf2,_0x11fd73,_0x33b544){var _0x4f7eb7=_0x1b1c1f;super(_0x57c37b,_0x2bc538,_0x4baf53,_0x437933,_0x2e0ded,_0x170e0b,_0x45b515,_0x2c7868,_0x33b544),N(this,_0x4f7eb7(0x32a),'conflict'),(this[_0x4f7eb7(0x344)]=_0x4a1b3e,this[_0x4f7eb7(0x178)]=_0x4a69b1,this[_0x4f7eb7(0x13d)]=_0x155cf2,this[_0x4f7eb7(0x12f)]=_0x11fd73,this['localCacheService']=_0x33b544,this[_0x4f7eb7(0xdb)](),this[_0x4f7eb7(0x379)](),this[_0x4f7eb7(0x2ab)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1b1c1f(0x1d3)](){return this;}[_0x1b1c1f(0x3a9)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x1b1c1f(0x137)](){var _0x443e8d=_0x1b1c1f;throw new Error(_0x443e8d(0x275));}[_0x1b1c1f(0x379)](){var _0x474484=_0x1b1c1f,_0x59c9ad;(_0x59c9ad=this['_localCacheService'])==null||_0x59c9ad[_0x474484(0x2c5)](this[_0x474484(0x2da)],this[_0x474484(0x2b7)],null,[]);}[_0x1b1c1f(0xdb)](){var _0x2403c2=_0x1b1c1f;this[_0x2403c2(0x344)]?this[_0x2403c2(0x12f)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x2403c2(0x12f)]['emitEvent']({'id':se[_0x2403c2(0x23f)]});}[_0x1b1c1f(0x2ab)](){var _0x8df47f=_0x1b1c1f;this['_permissionService'][_0x8df47f(0x121)](new _0x3925f8(this[_0x8df47f(0x2da)])['id'],!0x1);}};ue=Te([P(0x6,_0x56699c(_0x574aa9)),P(0x7,_0x157a00),P(0x8,_0x3842ef),P(0x9,_0x56699c(_0x131576)),P(0xa,_0x56699c(_0x40abe8)),P(0xb,_0x56699c(pe)),P(0xc,_0x34b961(J))],ue);let de=class extends Ce{constructor(_0x54b518,_0x27d5aa,_0x48859f,_0x4d58cc,_0xa35793,_0x536dd9,_0x541cb4,_0x550f84,_0x381b25,_0x217786){var _0x4fb18c=_0x1b1c1f;super(_0x54b518,_0x27d5aa,_0x48859f,_0x4d58cc,_0xa35793,_0x550f84,_0x381b25,_0x541cb4,_0x217786),N(this,_0x4fb18c(0x32a),'offline'),this[_0x4fb18c(0x165)]=_0x536dd9;}[_0x1b1c1f(0x21d)](_0x53e320){var _0x34cb2d=_0x1b1c1f;return this['_pendingMutations'][_0x34cb2d(0xb8)](_0x53e320),this[_0x34cb2d(0x359)](),this;}[_0x1b1c1f(0x264)](_0x37dabb){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1b1c1f(0x1d3)](){var _0x3fbed0=_0x1b1c1f;throw new Error(_0x3fbed0(0x35a));}[_0x1b1c1f(0x3a9)](){var _0x47f264=_0x1b1c1f;throw new Error(_0x47f264(0x101));}[_0x1b1c1f(0x129)](){return this;}['toggleOffline'](){return this;}[_0x1b1c1f(0x25b)](){var _0x2b6aff=_0x1b1c1f;const {_injector:_0x1f55d6,_pendingMutations:_0x1f7793,_awaitingChangeset:_0x26d5ef,unitID:_0x47f367,_handler:_0x5a6e08,type:_0x95ffbd}=this,_0x1d5e94=Oi(_0x1f55d6,_0x47f367,_0x95ffbd,_0x26d5ef,_0x1f7793,_0x5a6e08);return _0x1d5e94 instanceof oe?_0x1d5e94[_0x2b6aff(0xfa)]():(_0x1d5e94 instanceof ae||_0x1d5e94 instanceof le)&&_0x1d5e94['resend'](),_0x1d5e94;}[_0x1b1c1f(0x137)](){var _0x588b47=_0x1b1c1f;throw new Error(_0x588b47(0x1e5));}};de=Te([P(0x5,_0x56699c(_0x5caeba)),P(0x6,_0x56699c(_0x131576)),P(0x7,_0x157a00),P(0x8,_0x3842ef),P(0x9,_0x34b961(J))],de);let ee=class extends Ce{constructor(_0x538425,_0x1a9207,_0x5d66c9,_0x1d1743,_0x9725c7,_0x3f246e,_0x4b43ac,_0x38ff39,_0x2012d8,_0x4372e3,_0x5cbe72,_0x3462f6,_0x10155e,_0x52edb1){var _0x517e10=_0x1b1c1f;super(_0x538425,_0x1a9207,_0x5d66c9,_0x1d1743,_0x4b43ac,_0x5cbe72,_0x3462f6,_0x2012d8,_0x52edb1),N(this,_0x517e10(0x32a),'fetch_missing'),(this[_0x517e10(0xe6)]=_0x9725c7,this[_0x517e10(0x10d)]=_0x3f246e,this[_0x517e10(0x165)]=_0x38ff39,this['_logService']=_0x4372e3,this['_transformService']=_0x10155e,this[_0x517e10(0x109)]=_0x52edb1);}[_0x1b1c1f(0x3ab)](_0x1d51ba){var _0xbf13b3=_0x1b1c1f;try{const _0x3085f7=[..._0x1d51ba,...this[_0xbf13b3(0x10d)]],_0x35a275=[this[_0xbf13b3(0x36c)]||this[_0xbf13b3(0xe6)]][_0xbf13b3(0x285)](_0x50b267=>!!_0x50b267);let _0x1ba7e2,_0x412197;if(_0x35a275[_0xbf13b3(0x371)]){const _0x59c43c=this[_0xbf13b3(0x23d)][_0xbf13b3(0x21e)](_0x3085f7,_0x35a275,!0x1);if(!_0x573a9f(_0x59c43c))throw _0x59c43c[_0xbf13b3(0x2f5)];_0x1ba7e2=_0x59c43c[_0xbf13b3(0x312)],_0x412197=_0x59c43c[_0xbf13b3(0x163)];}else _0x1ba7e2=_0x3085f7,_0x412197=[];let _0x1db39e=this[_0xbf13b3(0x2e2)];_0x1ba7e2[_0xbf13b3(0x2dd)](_0x1df20b=>{var _0x43988d=_0xbf13b3;let _0xa21246;if(_0x1db39e['length']){const _0x1f2aa7=this[_0x43988d(0x23d)][_0x43988d(0x2f7)](_0x1df20b,_0x1db39e);if(!_0x533588(_0x1f2aa7))throw _0x1f2aa7[_0x43988d(0x2f5)];_0xa21246=_0x1f2aa7['c1Prime'],_0x1db39e=_0x1f2aa7['m2Prime'];}else _0xa21246=_0x1df20b;this[_0x43988d(0x30e)](_0xa21246);}),this[_0xbf13b3(0xe6)]&&this[_0xbf13b3(0x2f3)](),this[_0xbf13b3(0x36c)]&&_0x412197[_0xbf13b3(0x371)]&&(_0x412197[0x0]['baseRev']=this[_0xbf13b3(0x38b)]());let _0x109ea5;if(this[_0xbf13b3(0x36c)]&&_0x1db39e[_0xbf13b3(0x371)]!==0x0)_0x109ea5=this['_injector'][_0xbf13b3(0x195)](ae,this[_0xbf13b3(0x2da)],this[_0xbf13b3(0x2b7)],_0x412197[0x0],_0x1db39e,this[_0xbf13b3(0x176)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1db39e[_0xbf13b3(0x371)]===0x0)_0x412197[0x0]['baseRev']=this[_0xbf13b3(0x38b)](),_0x109ea5=this[_0xbf13b3(0x165)]['createInstance'](le,this[_0xbf13b3(0x2da)],this['type'],_0x412197[0x0],this[_0xbf13b3(0x176)]);else{if(_0x1db39e[_0xbf13b3(0x371)]!==0x0){const _0x19ce69=this[_0xbf13b3(0x165)][_0xbf13b3(0x195)](oe,this['unitID'],this[_0xbf13b3(0x2b7)],_0x1db39e,this[_0xbf13b3(0x176)]);_0x19ce69[_0xbf13b3(0xfa)](),_0x109ea5=_0x19ce69;}else _0x109ea5=this['_injector'][_0xbf13b3(0x195)](Ne,this[_0xbf13b3(0x2da)],this[_0xbf13b3(0x2b7)],this['_handler']);}}return _0x109ea5[_0xbf13b3(0x359)](),_0x109ea5;}catch(_0x5116ef){return this[_0xbf13b3(0xfe)]['error'](_0xbf13b3(0x156),_0xbf13b3(0xe4),_0x5116ef),this[_0xbf13b3(0x165)][_0xbf13b3(0x195)](ue,this[_0xbf13b3(0x2da)],this['type'],this[_0xbf13b3(0x36c)],this[_0xbf13b3(0x2e2)],this['_handler'],!0x1);}}[_0x1b1c1f(0x137)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b1c1f(0x21d)](_0x16c8c5){var _0x24ee8d=_0x1b1c1f;return this[_0x24ee8d(0x2e2)][_0x24ee8d(0xb8)](_0x16c8c5),this;}[_0x1b1c1f(0x264)](_0x1b3f21){var _0x41acac=_0x1b1c1f;return this['_queuedRemoteChangesets'][_0x41acac(0xb8)](_0x1b3f21),this;}[_0x1b1c1f(0x1d3)](_0x44ee5c){var _0x5562cc=_0x1b1c1f;if(this[_0x5562cc(0x36c)])return this['_acknowledgedAwaitingChangeset']=this[_0x5562cc(0x36c)],this[_0x5562cc(0x36c)]=null,this;throw new Error(_0x5562cc(0x151));}['onRemoteRej'](_0xe58fd2){var _0x56b97a=_0x1b1c1f;return this[_0x56b97a(0x265)](!!(_0xe58fd2!=null&&_0xe58fd2[_0x56b97a(0x1f9)]));}[_0x1b1c1f(0x129)](){return this;}[_0x1b1c1f(0x322)](){var _0x2914e3=_0x1b1c1f;return this[_0x2914e3(0x165)][_0x2914e3(0x195)](de,this[_0x2914e3(0x2da)],this[_0x2914e3(0x2b7)],this['_awaitingChangeset'],this[_0x2914e3(0x2e2)],this[_0x2914e3(0x176)]);}['toggleOnline'](){return this;}[_0x1b1c1f(0x265)](_0x1d7347){var _0xb740b6=_0x1b1c1f;return this[_0xb740b6(0x165)][_0xb740b6(0x195)](ue,this[_0xb740b6(0x2da)],this[_0xb740b6(0x2b7)],this[_0xb740b6(0x36c)],this[_0xb740b6(0x2e2)],this[_0xb740b6(0x176)],_0x1d7347);}};ee=Te([P(0x7,_0x56699c(_0x5caeba)),P(0x8,_0x56699c(_0x131576)),P(0x9,_0x3b556e),P(0xa,_0x157a00),P(0xb,_0x3842ef),P(0xc,_0x591449),P(0xd,_0x34b961(J))],ee);function _0x29db(){var _0x5016cd=['session.room-permission-denied','onStateChange','&to=','capture','_members$','enableAuthServer','_instanceService','name','_doCreateSocket','m2Prime','_getDownloadEndpointURL','UPDATE_PERMISSION_OBJ','/unit/','_userManagerService','_onRemoteACK','_onJoinRoomEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','state$','_unitID','_retryConnectingTimer','_isPermissionRej','duration','unpad','OTHER_CLIENT_EDITING','has','not_collab','uploadFileServerUrl','next','FETCH_MISSING','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','create','mutations','connection\x20error','_clearUndo','_sessionStatus$','HEARTBEAT','_createHmacHelper','pipe','find','_createHelper','onSyncEditingCollabCursor','_updateLocalCache','[OfflineState]:\x20received\x20acknowledgement.','msCrypto','_cipher','padding','LIVESHARE_TERMINATE','_initRequestHeader','loadOfflineData','encode','enableSingleActiveInstanceLock','_emitMembers','collabSubmitChangesetUrl','_changesetReqId','_onLocalMutation','[SyncedState]:\x20received\x20rejection.','AWAITING','_onRemoteChangeset','exports','fetching\x20missing\x20changesets\x20from\x20','_awaitingChangeset','defineProperty','saveChangeset','snapshotServerUrl','addHandlerCallback','length','substr','_decreaseWaiting','__Key__','objectType','unitId\x20is\x20not\x20found','stopTime','/universer-api/snapshot/','_clearLocalCache','_updateState','onload','uniscriptRunEvent','ALREADY_EXISTS','lib','_data','size','joinEvent','offline','workbook','buffer','NOT_FOUND','session','decryptBlock','getFocusedUnit','[CollaborationSessionService]:\x20socket\x20error','LICENSE_DISTRO_REJECTED','_getCurrentRevision','?url=','key','\x0aAfter:\x20','SHA1','_ENC_XFORM_MODE','_append','shouldCloseConn','Undefined','send','JOIN_ROOM_FAILED','_eventService','HELLO','unitInfo$','_memberService','/-/object/-/batch_allowed','conflict','set','apply','hostname','_transformStateCache','COMPRESS_MUTATION_SEND','Decryptor','selections','getCurrentUser','state','parse','blockSize','SUBMIT_CHANGESET_TIMEOUT','UNKNOWN_CODE','onRemoteRej','_doProcessBlock','onMissedChangesetFetched','repeat','56694TQVXIs','fromCollab','indexOf','CHANGESET_SHOULD_RETRY','_collaborationPaused','code','_waitForHeartbeatResponse','sheets','push','_unlockTransition','getUnitId','UNDEFINED','_iv','_iKey','params','[DataLoaderService]','_sheetTransformSelectionsService','Utf8','[CollaborationState]:\x20apply\x20error!','post','_commentUpdate$','asObservable','pluginName','_configService','file','dispose','UNRECOGNIZED','LOGIN_URL_KEY','getDeserializedSheetBlock','[CollaborationSession]','_onConnectionFailed','mode','CHANGESET_ACK','getSheetId','onTransformRemoteChangesetByStateCache','3gUcazF','PERMISSION_REJ','_resendTimer','APPLY_NON_SEQUENTIAL_REVISION','SUCCUSS','univer-pro.collaboration-client.single-active-unit-service','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_showConflictNotification','executeCommand','LIVESHARE_REQUEST_HOST','toLowerCase','UNIVER_DOC','onCommandExecuted','min','csShouldRetryEvent','COLLAB_SUBMIT_CHANGESET_URL','failed\x20to\x20apply\x20missed\x20changesets!','_clearHeartbeatTimer','_acknowledgedAwaitingChangeset','kdf','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','actions','_process','[CollaborationSessionService]','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','unitId','call','PasswordBasedCipher','removeMember','extend','open$','snapshot','CHANGESET_REJ','_init','SOCKET_FAILED_RETRY','_substituteRedoStack','LIVESHARE_FETCH_OPERATIONS','_registerDependencies','_schedule','_candidateSocket','onTransformIME','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_logService','HMAC','_key','[OfflineState]:\x20received\x20rejection.','range','toString','INTERNAL_ERROR','disposeWithMe','session.room-cnt-exceeds','MD5','JOIN_ROOM_FULL','localCacheService','getMemberID','_roomMembers','EvpKDF','_queuedRemoteChangesets','error$','JOIN_ROOM_NOT_EXISTS','CHANGESET_REVISION_CONFILICT','AES','univer-pro.collaboration-client-socket-service','_transformSelections','_unitInfo$','sid','roles','fromCharCode','_onOffline','patch','_collabSessionService','splice','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','cfg','salt','now','getRoom','updatePermissionPoint','floor','reqId','9folQob','/universer-api/user/session-ticket','_map','_onConnectionOpen','ivSize','onRemoteRetry','FAIL','refreshPermission','DEFAULT_FILE_NAME','signUrlServerUrl','setConfig','_collaborationUIEventService','LEAVE','sin','getRandomValues','_redoStacks','_onCombEvent','UNIVER_PROJECT','random','resend','onSendChangeset','_parse','_createSocket','_resendTimeout','reset','_localeService','awaitingChangeset','slice','getConfig','_waitCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collaborationTimeoutTimer','updateMember','OTHER_CLIENTS_EDITING','deleteCollaborator','encrypt','_transformRemoteChangesetByStateCache','synced','UnitSnapshot','HttpImport','_onRemoteRejected','UnitEmbedded','APPLY_DUPLICATED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpg','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_oKey','putCollaborators','_resendWithTimeout','onTransformSelections','[FetchMissState]','PERSON','_snapshotServerService','authzUrl','COLLAB_WEB_SOCKET_URL','_getSendChangesetTimeout','/universer-api/stream/file/upload','_initCloseConn','_tryEnsureSocket','LIVESHARE_OPERATION','_listenToNetworkCondition','37552670NWPJBK','image/jpeg','c2Prime','createDecryptor','_injector','OPTIONAL','Could\x20not\x20dynamically\x20require\x20\x22','clamp','JOINING','_networkConditionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','dispose$','getCurrentRevOfUnit','NO_OTHER_CLIENTS_EDITING','readInt32LE','sigBytes','_doFinalize','includes','liveShareNewHost','getTime','COMPLETION_FINISHED','_handler','words','_permissionService','objectActions','origin','rng','image/bmp','_nDataBytes','ONLINE','/resources','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onStarting','_getUploadFileURL','debug','session.join-failed','743728YTNYFK','focused$','_entityInit$','disableLocalCache','join','_submitChangeset','editingUnit','_getAPIPrefixPath','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_telemetryService','PENDING','NoPadding','map','href','Error\x20on\x20receiving\x20event','execute','createInstance','_tryReconnect','_change$','abs','/object/','add','clone','People','6946260HBdBNo','prototype','addImageSourceCache','_snapshotService','APPLY_PERMISSION_DENIED','SNAPSHOT_INVALID_SNAPSHOT','BufferedBlockAlgorithm','LICENSE_IMPORT_SIZE_EXCEEDED','HttpExport','_socket','UNIVER_UNKNOWN','\x0aCurrent:\x20','action','socket\x20open.','editing\x20status\x20changed\x20to','ceil','initWorkbookPermissionChange','_clearRetryConnectingTimer','_state$','updateCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','_HTTPService','permissionRejEvent','_sender','getTypeOfUnitDisposed$','hasher','_timeoutTimer','_clearRedo','rev','_initDependencies','_onUserLeave','replace','_clearCollaborationTimeoutTimer','readyForCollab','getMember','JOIN','resourceIDs','CLOSE_ROOM','LOCAL_CACHE_INTERVAL','_hasher','Hex','getUnitOnRev','getValue','Malformed\x20UTF-8\x20data','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]','_replayCachedMutations','_transformStack','ws://127.0.0.1:8000/universer-api/comb/connect','_sessions','transformUndoRedo','getSheetBlock','_reverseMap','Base64','onRemoteAck','charAt','UNISCRIPT_RUN','event$','_transitionLocked','__creator','body','mixIn','_singleActiveUnitService','_type','INVALID_ARGUMENT','ERROR_IMAGE','get','catch','_imageSourceCache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','APPLY_REJECT','setCurrentUser','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_ENTER','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_toggleOnline','interceptor','requireSession','collaboration-client.config','_startCollaboration','HEARTBEAT_INTERVAL','onCommentUpdate','socket\x20close','onTransformRemoteChangesetByIMECache','OFFLINE','/allowed','crypto','collaMsg','_nRounds','requestParams','isArray','setWaitCount','isPermissionRej','/block/','getCurrentSelections','getUnit','copyFileMeta','clear','_transformIMECache','BlockCipher','getCollabEntity$','NEW_CHANGESETS','_createHandler','_getLoginPath','awaiting','ERROR_IMAGE_TYPE','list','hasOwnProperty','_retryCount','json','2675306vTaAAI','_getSignURL','target','USERS_LEAVE','_socket$','_collaborationSessionService','_getAPIPrefix','update','reduce','_socketReady','socket$','RECV','_applyRemoteChangeset','/fetchmissing?from=','ciphertext','_stopTelemetryCollaborationNewChangeset','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','appendMutation','transformChangesets','saveSnapshot','_shouldReportTelemetry','keySize','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/object','/collaborator','SOCKET_FAILED','SNAPSHOT_SERVER_URL_KEY','roomInfos','{fileID}','_commentService','encryptBlock','_toggleOffline','compose','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_revisionService','5376133GeQLmA','INGEST','unsubscribe','getSnapshotAPIPath','_checkMissing','_onFetchMissResult','downloadEndpointUrl','enableOfflineEditing','_compressMutationService','_transformUndoredo','AUTHZ_URL_KEY','memberID','data','_throwTelemetryCollaborationNewChangeset','_transformService','getWorkbookSelections','CONFLICT','byteLength','onLocalMutation','_initUnitPermissionChange','onTransformState','bind','Encryptor','Base','_prevBlock','close','stringify','string','SUBMIT_CHANGESET','/universer-api/authz','UNAUTHENTICATED','allowed','_sendingTimer','pending','PERMISSION_DENIED','sessionStatus$','_removeRoom','POST','url','?size=','subscribe','_rescheduleHeartbeat','_remoteChangesetQueue','online$','toggleOnline','YUUMI_RATE_OVER_LIMIT','955xMxgDy','transformSelections','status$','decrypt','finalize','UNIVER_SHEET','getTypeOfUnitAdded$','onRemoteChangeset','_onConflict','loadDoc','HmacMD5','cmd','YUUMI_SUBSCRIPTION_NOT_FOUND','IDLE','processBlock','baseRev','_hash','_loadSheet','sendChangesetTimeout','format','_initMergeInterceptor','entityInit$','LICENSE_MAX_UNITS_EXCEEDED','leaveEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','getInterceptPoints','[PendingState]:\x20received\x20rejection.','compute','ENSURE_SNAPSHOT_EXECUTION','_status$','image/gif','_httpService','/universer-api/comb','localeService','_sendHeartbeatTimer','src','getOwnPropertyDescriptor','NOT_COLLAB','_telemetryInfo','filter','members$','_roomCreated$','_transformRemoteChangesetByIMECache','_handlerCallback','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_xformMode','createSocket','_config','_doCryptBlock','_univerInstanceService','FETCH_MISS','registerHTTPInterceptor','pad','_clearTimeoutTimer','createEncryptor','JOIN_ROOM_PERMISSION_DENIED','univer-pro.collaboration-client.network-condition.service','getUnitType','[CollaborationUndoRedoService]','GLOBAL_ROOMS_CNT_EXCEEDS','every','Pkcs7','UPDATE_CURSOR','_state','CBC','getLatestCsReqIdBySid','result','fetchMissingChangesets','joinRsp','YUUMI_UNABLE_LOAD_URL','fetchThroughInterceptors','MSG_FOR_ERROR','submit\x20changeset\x20error!','loadSheet','_socketMessageSubscription','Cipher','_onRemoteRetry','_disableEditing','LIVESHARE_NEW_HOST','onMissingChangesets','CipherParams','/universer-api/uniscript','max','function','FileId','TOO_MANY_REQUESTS','_createInitialStateImpl','collaboratorID','_clearScheduledTask','type','_loadDoc','waitForRoom$','complete','_event$','originalMeta','_replaceFileID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','objectID','MUTATION','Hasher','charCodeAt','COMPRESS_MUTATION_APPLY','batchAllowed','updateOfflineData','concat','method','/universer-api/snapshot','_localCacheService','PSEUDO_FETCH_MISSING_RESULT','fetchMiss','textRanges','objects','routeKey','YUUMI_URL_COL_OUT_OF_RANGE','_sendHeartbeat','randomBytes','init','subject','/new_changes','BASE64','_commandService','equals','_fetchMissChangesets','socketService','unitID','EXCHANGE_SIGN_URL_SERVER_URL_KEY','reject','forEach','sessionStatus','subUnitId','unknown','getUnitStatus$','_pendingMutations','x-univer-host','_getRedoStack','WordArray','_getUndoStack','onlyLocal','getImageSourceCache','UNKNOWN_CMD','headers','_keyPriorReset','iterations','delete','enc','saveImage','_undoStacks','_minBufferSize','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_incrementRevisionNumber','_onMessage','error','auth.needGotoLoginAlert','transformMutationsWithChangeset','closeSession','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomUUID','avatar','session.room-not-exists','_doReset','algo','collaboration-client.local-cache-service','_entities','telemetry\x20info\x20is\x20not\x20initialized','LICENSE_EXPORT_SIZE_EXCEEDED','getAllMembers','PY_RUNTIME_SCRIPT_ERROR','__esModule','COMMENT_UPDATE','SNAPSHOT_URL_KEY','location','_onRecvEvent','_mode','_startTelemetryCollaborationNewChangeset','_scheduleCompleteTimestamp','findIndex','_executeRemoteChangeset','put','/role','csAckEvent','c1Prime','_undoRedoService','image/png','eventID','_createInitialState','revision','ERROR_EXCEED_SIZE','retryConnectingInterval','CONNECTOR_DATA_TOO_LARGE','_socketService','SerializableCipher','message$','_updateStatus','UNIVER_SLIDE','emitEvent','472154EGQgTN','toggleOffline','getCollabEntity','startsWith','APPLY_REVISION_CONFILICT','collaborators','_members','override','updateCursorEvent','status','OpenSSL','_substituteUndoStack','members','_lockTransition','&assign='];_0x29db=function(){return _0x5016cd;};return _0x29db();}function Oi(_0x4e9268,_0x441a50,_0x515c3e,_0x9b68f0,_0x409c9f,_0x5c1873){var _0x3c54cf=_0x1b1c1f;return _0x9b68f0&&_0x409c9f[_0x3c54cf(0x371)]?_0x4e9268[_0x3c54cf(0x195)](ae,_0x441a50,_0x515c3e,_0x9b68f0,_0x409c9f,_0x5c1873,void 0x0):_0x9b68f0?_0x4e9268['createInstance'](le,_0x441a50,_0x515c3e,_0x9b68f0,_0x5c1873):_0x409c9f['length']?_0x4e9268[_0x3c54cf(0x195)](oe,_0x441a50,_0x515c3e,_0x409c9f,_0x5c1873):_0x4e9268[_0x3c54cf(0x195)](Ne,_0x441a50,_0x515c3e,_0x5c1873);}var on=Object[_0x1b1c1f(0x282)],xt=(_0x398d5e,_0x4ab367,_0xc3902e,_0x78cf4e)=>{var _0x4673d9=_0x1b1c1f;for(var _0x947d65=_0x78cf4e>0x1?void 0x0:_0x78cf4e?on(_0x4ab367,_0xc3902e):_0x4ab367,_0x43f25a=_0x398d5e[_0x4673d9(0x371)]-0x1,_0x1180f4;_0x43f25a>=0x0;_0x43f25a--)(_0x1180f4=_0x398d5e[_0x43f25a])&&(_0x947d65=_0x1180f4(_0x947d65)||_0x947d65);return _0x947d65;},H=(_0xef01f4,_0x297eba)=>(_0x1d7213,_0x5ef474)=>_0x297eba(_0x1d7213,_0x5ef474,_0xef01f4);let rt=class extends _0x5d4b24{constructor(_0x359669,_0x49161e,_0x406ebc,_0x488480,_0x4037cd,_0x190a78,_0x425bcc,_0x45be82,_0x5babe8,_0x86f8b6,_0x3b1c7d,_0x8f693b,_0x4bac60){var _0x3c16dc=_0x1b1c1f;super(),N(this,_0x3c16dc(0x1af),new _0xfe3385(null)),N(this,'state$',this[_0x3c16dc(0x1af)][_0x3c16dc(0xc5)]()),N(this,_0x3c16dc(0x29d)),N(this,_0x3c16dc(0xb4),!0x1),N(this,'_changesetSessionId',''),N(this,_0x3c16dc(0x365),0x0),N(this,_0x3c16dc(0x25f),this[_0x3c16dc(0x341)][_0x3c16dc(0x355)](_0x2a02f7(_0x2876a7=>_0x2876a7?_0x2876a7['status']:bi[_0x3c16dc(0x1f1)]),_0x36d7ba(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x3c16dc(0x259),[]),(this['unitID']=_0x359669,this['session']=_0x49161e,this['_type']=_0x406ebc,this[_0x3c16dc(0x165)]=_0x488480,this[_0x3c16dc(0x237)]=_0x4037cd,this[_0x3c16dc(0x13d)]=_0x190a78,this[_0x3c16dc(0x22e)]=_0x425bcc,this[_0x3c16dc(0x396)]=_0x45be82,this[_0x3c16dc(0xfe)]=_0x5babe8,this[_0x3c16dc(0x2d6)]=_0x86f8b6,this[_0x3c16dc(0x178)]=_0x3b1c7d,this[_0x3c16dc(0x1db)]=_0x8f693b,this['_localCacheService']=_0x4bac60);}get[_0x1b1c1f(0x3a4)](){var _0x22b065=_0x1b1c1f;return this[_0x22b065(0x29d)];}async[_0x1b1c1f(0x2d2)](){var _0xbdc31e=_0x1b1c1f;if(this[_0xbdc31e(0x3a4)])throw new Error(_0xbdc31e(0x340));await this[_0xbdc31e(0xf5)]();}['pauseCollaboration'](){var _0x388e7a=_0x1b1c1f;return this[_0x388e7a(0xb4)]=!0x0,_0x1ac669(()=>{var _0x456faf=_0x388e7a;this['_collaborationPaused']=!0x1,this[_0x456faf(0x21b)]();});}[_0x1b1c1f(0x241)](_0x3ca00c){this['_onLocalMutation'](_0x3ca00c);}['_updateState'](_0x14c9b9){var _0x3336e2=_0x1b1c1f;this[_0x3336e2(0x29d)]=_0x14c9b9,this['_state$'][_0x3336e2(0x34b)](_0x14c9b9);}async[_0x1b1c1f(0xf5)](){var _0x94697d=_0x1b1c1f,_0x2c263e;this[_0x94697d(0x37a)](await this[_0x94697d(0x316)]()),this[_0x94697d(0x1db)]&&((_0x2c263e=this[_0x94697d(0x1db)])==null||_0x2c263e[_0x94697d(0x18b)](this[_0x94697d(0x2da)]),this[_0x94697d(0x105)](this[_0x94697d(0x1db)][_0x94697d(0x2e1)](this['unitID'])[_0x94697d(0x257)](_0x26958f=>{var _0x3067d0=_0x94697d;this[_0x3067d0(0xfe)]['debug']('[CollaborationEntity]',_0x3067d0(0x1ab),_0x26958f),_0x26958f===Ci[_0x3067d0(0x145)]?(this[_0x3067d0(0x396)][_0x3067d0(0x320)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x3067d0(0x178)]['updatePermissionPoint'](new _0x3925f8(this[_0x3067d0(0x2da)])['id'],!0x1),this[_0x3067d0(0x178)]['setShowComponents'](!0x1)):(this[_0x3067d0(0x178)][_0x3067d0(0x121)](new _0x3925f8(this[_0x3067d0(0x2da)])['id'],!0x0),this[_0x3067d0(0x178)]['setShowComponents'](!0x0));})));let _0x254ff7=!0x1;return this['disposeWithMe'](this['session'][_0x94697d(0x252)][_0x94697d(0x257)](_0x4b8222=>{var _0x3e4aef=_0x94697d;_0x4b8222===Ee[_0x3e4aef(0x17e)]?this[_0x3e4aef(0x1e8)](_0x254ff7):_0x4b8222===Ee[_0x3e4aef(0x1f1)]&&(_0x254ff7=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x94697d(0x386)]['event$']['subscribe'](_0x5d3d8d=>{var _0x2f0732=_0x94697d;try{switch(_0x5d3d8d['eventID']){case _0x4d3ee2[_0x2f0732(0x202)]:{this[_0x2f0732(0x369)](_0x30ba0b(_0x5d3d8d[_0x2f0732(0x23b)]));break;}case _0x4d3ee2[_0x2f0732(0xd0)]:{this['_onRemoteACK'](_0x5d3d8d[_0x2f0732(0x23b)]);break;}case _0x4d3ee2[_0x2f0732(0xf4)]:{this[_0x2f0732(0x14c)]();break;}case _0x4d3ee2[_0x2f0732(0xb3)]:{this['_onRemoteRetry'](_0x5d3d8d[_0x2f0732(0x23b)]);break;}case _0x4d3ee2[_0x2f0732(0x2ca)]:{this[_0x2f0732(0x234)](_0x5d3d8d[_0x2f0732(0x23b)]['changesets'][_0x2f0732(0x191)](_0x48a1b2=>_0x30ba0b(_0x48a1b2)));break;}case _0x4d3ee2[_0x2f0732(0xd4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4d3ee2[_0x2f0732(0x1d5)]:break;}}catch(_0x295b32){throw console[_0x2f0732(0x2f5)](_0x2f0732(0x193),_0x295b32),_0x295b32;}})),this[_0x94697d(0x29d)];}[_0x1b1c1f(0xb9)](){var _0x3beb91=_0x1b1c1f;this[_0x3beb91(0x1d7)]=!0x1;}[_0x1b1c1f(0x32e)](){var _0x4c0c1a=_0x1b1c1f;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[_0x4c0c1a(0x1d7)]=!0x0;}[_0x1b1c1f(0x366)](_0x3b6649){var _0x12583d=_0x1b1c1f;this[_0x12583d(0x32e)](),this['_updateState'](this[_0x12583d(0x29d)][_0x12583d(0x21d)](_0x3b6649)),this[_0x12583d(0xb9)]();}[_0x1b1c1f(0x369)](_0x1133fa){var _0x4b2ce0=_0x1b1c1f;if(!(_0x1133fa[_0x4b2ce0(0x317)]<=this[_0x4b2ce0(0x22e)][_0x4b2ce0(0x16d)](this[_0x4b2ce0(0x2da)]))){if(this[_0x4b2ce0(0xb4)]){this['_remoteChangesetQueue'][_0x4b2ce0(0xb8)](_0x1133fa);return;}this['_applyRemoteChangeset'](_0x1133fa);}}['_exhaustRemoteChangesetQueue'](){var _0x4913e5=_0x1b1c1f;this[_0x4913e5(0x259)][_0x4913e5(0x2dd)](_0x1cc3af=>this['_applyRemoteChangeset'](_0x1cc3af)),this[_0x4913e5(0x259)]=[];}[_0x1b1c1f(0x217)](_0x5719f3){var _0x3a47f3=_0x1b1c1f;const _0x56dab4=this['_compressMutationService'][_0x3a47f3(0x1e9)][_0x3a47f3(0x2a4)](this['_compressMutationService'][_0x3a47f3(0x1e9)]['getInterceptPoints']()[_0x3a47f3(0x2c3)])(_0x5719f3[_0x3a47f3(0x34f)],null)||_0x5719f3['mutations'],_0x11a4bd={..._0x5719f3,'mutations':_0x56dab4};this[_0x3a47f3(0x32e)](),this[_0x3a47f3(0x37a)](this[_0x3a47f3(0x29d)][_0x3a47f3(0x264)](_0x11a4bd)),this['_unlockTransition']();}[_0x1b1c1f(0x33e)](_0x2b86a4){this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteAck'](_0x2b86a4)),this['_unlockTransition']();}[_0x1b1c1f(0x14c)](_0x4bbadc){var _0x58fe09=_0x1b1c1f;this[_0x58fe09(0x32e)](),this[_0x58fe09(0x37a)](this[_0x58fe09(0x29d)][_0x58fe09(0x3a9)](_0x4bbadc)),this[_0x58fe09(0xb9)]();}[_0x1b1c1f(0x2aa)](_0x1c5bec){var _0xc7dc89=_0x1b1c1f;this[_0xc7dc89(0x32e)](),this[_0xc7dc89(0x37a)](this[_0xc7dc89(0x29d)][_0xc7dc89(0x129)](_0x1c5bec)),this[_0xc7dc89(0xb9)]();}['_onFetchMissResult'](_0x1a460d){var _0x2c26c0=_0x1b1c1f;if(!(this[_0x2c26c0(0x29d)]instanceof ee))throw new TypeError(_0x2c26c0(0xe8));const _0x5b005a=_0x1a460d[_0x2c26c0(0x191)](_0x55fd50=>{var _0x35ab5d=_0x2c26c0;const _0x1d146c=this['_compressMutationService'][_0x35ab5d(0x1e9)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x35ab5d(0x277)]()[_0x35ab5d(0x2c3)])(_0x55fd50['mutations'],null)||_0x55fd50[_0x35ab5d(0x34f)];return{..._0x55fd50,'mutations':_0x1d146c};});this[_0x2c26c0(0x32e)](),this[_0x2c26c0(0x37a)](this[_0x2c26c0(0x29d)][_0x2c26c0(0x3ab)](_0x5b005a)),this['_unlockTransition']();}[_0x1b1c1f(0x22b)](){var _0x34a195=_0x1b1c1f;this['_lockTransition'](),this[_0x34a195(0x37a)](this[_0x34a195(0x29d)][_0x34a195(0x322)]()),this[_0x34a195(0xb9)]();}[_0x1b1c1f(0x1e8)](_0x25f092=!0x1){var _0x2ba936=_0x1b1c1f;this['_lockTransition'](),this['_updateState'](this[_0x2ba936(0x29d)][_0x2ba936(0x25b)]()),this[_0x2ba936(0xb9)]();const _0x2e6a54=this[_0x2ba936(0x29d)];_0x25f092&&_0x2e6a54 instanceof Ne&&(this['_lockTransition'](),this[_0x2ba936(0x37a)](_0x2e6a54[_0x2ba936(0x2cb)]()),this[_0x2ba936(0xb9)]());}async[_0x1b1c1f(0x316)](){return new Promise(_0x54fdab=>{var _0x3f9cea=_0x5187;this[_0x3f9cea(0x386)]['sessionStatus$'][_0x3f9cea(0x355)](_0x14763f(0x1))[_0x3f9cea(0x257)](async _0x2a196f=>{var _0x40fbee=_0x3f9cea;_0x54fdab(await this['_createInitialStateImpl'](_0x2a196f===Ee[_0x40fbee(0x17e)]));});});}['_createHandler'](){var _0x1496ca=_0x1b1c1f;const _0x468e98=this[_0x1496ca(0x2da)];return{'onStateChange':(_0x176741,_0x4a42d9)=>{var _0x4e5a53=_0x1496ca;if(_0x176741!==this['_state'])throw new Error(_0x4e5a53(0xd9)+_0x176741[_0x4e5a53(0x32a)]+_0x4e5a53(0x38e)+_0x4a42d9['status']+_0x4e5a53(0x1a8)+this[_0x4e5a53(0x29d)][_0x4e5a53(0x32a)]);this[_0x4e5a53(0x37a)](_0x4a42d9);},'onSendChangeset':_0x18937d=>{var _0x4fd7aa=_0x1496ca;_0x18937d[_0x4fd7aa(0x115)]||(_0x18937d['sid']=this['_changesetSessionId'],_0x18937d[_0x4fd7aa(0x123)]=++this[_0x4fd7aa(0x365)]);const _0x2a50a3={'eventID':_0x4d3ee2[_0x4fd7aa(0x24b)],'data':{'unitID':_0x18937d[_0x4fd7aa(0x2da)],'unitType':this[_0x4fd7aa(0x1dc)],'changeset':_0x18937d,'memberID':this[_0x4fd7aa(0x386)][_0x4fd7aa(0x10a)]()}};this['session'][_0x4fd7aa(0x394)](_0x2a50a3,this[_0x4fd7aa(0x2da)]);},'onMissingChangesets':({from:_0x12df17,to:_0x537fc6})=>{var _0x2e79b4=_0x1496ca;this['_logService'][_0x2e79b4(0x183)](_0x2e79b4(0x1ca),_0x2e79b4(0x36b)+_0x12df17+'\x20to\x20'+_0x537fc6);const _0x4e5409={'eventID':_0x4d3ee2[_0x2e79b4(0x34c)],'data':{'unitID':_0x468e98,'unitType':this[_0x2e79b4(0x1dc)],'from':_0x12df17,'to':_0x537fc6}};this['session'][_0x2e79b4(0x394)](_0x4e5409,this['unitID']);}};}async[_0x1b1c1f(0x2b4)](_0x517808){var _0x3fd6cf=_0x1b1c1f,_0x1e4ceb,_0x9646b7,_0x1bbee2;const _0x1bc83e=await((_0x1e4ceb=this[_0x3fd6cf(0x2c9)])==null?void 0x0:_0x1e4ceb['loadOfflineData'](this[_0x3fd6cf(0x2da)])),_0x3dd1db=(_0x9646b7=_0x1bc83e==null?void 0x0:_0x1bc83e['mutations'])!=null?_0x9646b7:[],_0xb4326f=(_0x1bbee2=_0x1bc83e==null?void 0x0:_0x1bc83e['awaitingChangeset'])!=null?_0x1bbee2:null,_0x14e9de=!!(_0xb4326f!=null&&_0xb4326f[_0x3fd6cf(0x115)])&&!!(_0xb4326f!=null&&_0xb4326f['reqId']);this['_changesetSessionId']=_0x14e9de?_0xb4326f[_0x3fd6cf(0x115)]:Xr(),this[_0x3fd6cf(0x365)]=_0x14e9de?_0xb4326f[_0x3fd6cf(0x123)]:0x0;const _0x418681=this[_0x3fd6cf(0x2da)];try{this[_0x3fd6cf(0x1cb)](_0xb4326f,_0x3dd1db);}catch(_0xa0de31){this['_logService'][_0x3fd6cf(0x2f5)](_0xa0de31);}const _0x724e5f=this['_createHandler']();if(_0x517808){const _0x3249b8=Oi(this[_0x3fd6cf(0x165)],_0x418681,this[_0x3fd6cf(0x1dc)],_0xb4326f,_0x3dd1db,_0x724e5f);return _0x3249b8 instanceof oe?_0x3249b8['_schedule']():(_0x3249b8 instanceof ae||_0x3249b8 instanceof le)&&_0x3249b8[_0x3fd6cf(0x137)](),_0x3249b8;}return this[_0x3fd6cf(0x165)]['createInstance'](de,_0x418681,this[_0x3fd6cf(0x1dc)],_0xb4326f,_0x3dd1db,_0x724e5f);}['_replayCachedMutations'](_0x4a56d6,_0x5d4307){var _0x24bedf=_0x1b1c1f,_0x157da9,_0x218371;const _0x525b35=this[_0x24bedf(0x237)][_0x24bedf(0x1e9)]['fetchThroughInterceptors'](this[_0x24bedf(0x237)][_0x24bedf(0x1e9)][_0x24bedf(0x277)]()[_0x24bedf(0x2c3)]);(_0x157da9=_0x525b35((_0x4a56d6==null?void 0x0:_0x4a56d6[_0x24bedf(0x34f)])||[],null))==null||_0x157da9[_0x24bedf(0x2dd)](_0x6c82b5=>this[_0x24bedf(0x2d6)][_0x24bedf(0xdc)](_0x6c82b5['id'],_0x6c82b5['params'])),(_0x218371=_0x525b35(_0x5d4307||[],null))==null||_0x218371[_0x24bedf(0x2dd)](_0x54c64f=>this['_commandService']['executeCommand'](_0x54c64f['id'],_0x54c64f[_0x24bedf(0xbe)]));}};rt=xt([H(0x3,_0x56699c(_0x5caeba)),H(0x4,_0x56699c(_0x219d40)),H(0x5,_0x56699c(_0x40abe8)),H(0x6,_0x56699c(_0x131576)),H(0x7,_0x56699c(pe)),H(0x8,_0x3b556e),H(0x9,_0x157a00),H(0xa,_0x574aa9),H(0xb,_0x34b961(ht)),H(0xc,_0x34b961(J))],rt);let It=class extends rt{constructor(_0x45dfd2,_0x228e71,_0x11d70a,_0x370c7b,_0xe697aa,_0x1c37a2,_0x588424,_0x45c3bb,_0x30b162,_0x6ce689,_0x3383af,_0x5b9db8,_0x26a5d0){var _0x1bb842=_0x1b1c1f;super(_0x45dfd2,_0x11d70a,_0x228e71,_0x370c7b,_0xe697aa,_0x1c37a2,_0x588424,_0x45c3bb,_0x30b162,_0x6ce689,_0x3383af,_0x5b9db8,_0x26a5d0),N(this,'_handlerCallback',null),(this[_0x1bb842(0x2da)]=_0x45dfd2,this[_0x1bb842(0x2b7)]=_0x228e71);}[_0x1b1c1f(0x370)](_0x4f4382){this['_handlerCallback']=_0x4f4382;}[_0x1b1c1f(0xc9)](){var _0x4dcf70=_0x1b1c1f;this[_0x4dcf70(0x289)]=null,super[_0x4dcf70(0xc9)]();}['_createHandler'](){var _0x317f90=_0x1b1c1f;const _0x2d73a0=super[_0x317f90(0x203)]();return _0x2d73a0[_0x317f90(0xfc)]=_0xee49a3=>{var _0x3d039e=_0x317f90,_0x108f37,_0x32f20e;return(_0x32f20e=(_0x108f37=this['_handlerCallback'])==null?void 0x0:_0x108f37[_0x3d039e(0xfc)])==null?void 0x0:_0x32f20e['call'](_0x108f37,_0xee49a3);},_0x2d73a0['onTransformState']=_0xf80354=>{var _0x421471=_0x317f90,_0x200f0c,_0x1f46da;return(_0x1f46da=(_0x200f0c=this['_handlerCallback'])==null?void 0x0:_0x200f0c[_0x421471(0x243)])==null?void 0x0:_0x1f46da[_0x421471(0xee)](_0x200f0c,_0xf80354);},_0x2d73a0['onTransformSelections']=_0x2aac11=>{var _0x55a293=_0x317f90,_0x40e498,_0x18e58e;return(_0x18e58e=(_0x40e498=this[_0x55a293(0x289)])==null?void 0x0:_0x40e498[_0x55a293(0x155)])==null?void 0x0:_0x18e58e[_0x55a293(0xee)](_0x40e498,_0x2aac11);},_0x2d73a0[_0x317f90(0x358)]=_0xdd8acf=>{var _0x3e6c4b=_0x317f90,_0x4f919a,_0x502435;return(_0x502435=(_0x4f919a=this[_0x3e6c4b(0x289)])==null?void 0x0:_0x4f919a[_0x3e6c4b(0x358)])==null?void 0x0:_0x502435[_0x3e6c4b(0xee)](_0x4f919a,_0xdd8acf);},_0x2d73a0[_0x317f90(0x1f0)]=_0x4aa7f1=>{var _0x27140e=_0x317f90,_0x89567c,_0x2f665a,_0x57d4a1;if(!((_0x89567c=this[_0x27140e(0x289)])!=null&&_0x89567c[_0x27140e(0x1f0)]))throw new Error(_0x27140e(0x1e2));return(_0x57d4a1=(_0x2f665a=this[_0x27140e(0x289)])==null?void 0x0:_0x2f665a[_0x27140e(0x1f0)])==null?void 0x0:_0x57d4a1[_0x27140e(0xee)](_0x2f665a,_0x4aa7f1);},_0x2d73a0[_0x317f90(0xd2)]=_0x44d6c7=>{var _0x31e079=_0x317f90,_0x554555,_0x13ff6d,_0x1c02b2;if(!((_0x554555=this[_0x31e079(0x289)])!=null&&_0x554555[_0x31e079(0xd2)]))throw new Error(_0x31e079(0x2f9));return(_0x1c02b2=(_0x13ff6d=this[_0x31e079(0x289)])==null?void 0x0:_0x13ff6d[_0x31e079(0xd2)])==null?void 0x0:_0x1c02b2[_0x31e079(0xee)](_0x13ff6d,_0x44d6c7);},_0x2d73a0;}async[_0x1b1c1f(0xf5)](){var _0x4f0e32=_0x1b1c1f;const _0x4793ff=await super['_init']();return this[_0x4f0e32(0x105)](this[_0x4f0e32(0x2d6)][_0x4f0e32(0xe0)]((_0x43d10f,_0x284b90)=>{var _0x417531=_0x4f0e32;if(_0x43d10f[_0x417531(0x2b7)]!==_0x12a7c6[_0x417531(0x2c0)]||_0x284b90!=null&&_0x284b90[_0x417531(0x3ae)]||_0x284b90!=null&&_0x284b90[_0x417531(0x2e7)]||_0x43d10f['id']===_0x585b29['id'])return;const _0x4d06bb=_0x43d10f[_0x417531(0xbe)];if((_0x4d06bb==null?void 0x0:_0x4d06bb[_0x417531(0xed)])!==this[_0x417531(0x2da)])return;const _0x2e2d1a=_0x43d10f,_0x5e0262=this[_0x417531(0x237)][_0x417531(0x1e9)][_0x417531(0x2a4)](this[_0x417531(0x237)][_0x417531(0x1e9)][_0x417531(0x277)]()[_0x417531(0x3a0)])([_0x2e2d1a],null)||[_0x2e2d1a];this[_0x417531(0x366)](_0x5e0262[0x0]);})),_0x4793ff;}};It=xt([H(0x3,_0x56699c(_0x5caeba)),H(0x4,_0x56699c(_0x219d40)),H(0x5,_0x56699c(_0x40abe8)),H(0x6,_0x56699c(_0x131576)),H(0x7,_0x56699c(pe)),H(0x8,_0x3b556e),H(0x9,_0x157a00),H(0xa,_0x574aa9),H(0xb,_0x34b961(ht)),H(0xc,_0x34b961(J))],It);let Tt=class extends rt{constructor(_0x2182a0,_0xe87730,_0x26d2e4,_0xd6a3a0,_0xefe2f6,_0x4a657f,_0xe7d5df,_0x2f875b,_0x4029e3,_0x352735,_0x1c84d9,_0x438e36,_0x417a1e,_0x122c66){var _0x1ee7eb=_0x1b1c1f;super(_0x2182a0,_0x26d2e4,_0xe87730,_0xd6a3a0,_0xefe2f6,_0x4a657f,_0xe7d5df,_0x4029e3,_0x352735,_0x1c84d9,_0x438e36,_0x417a1e,_0x122c66),this['unitID']=_0x2182a0,this[_0x1ee7eb(0x2b7)]=_0xe87730,this[_0x1ee7eb(0xc0)]=_0x2f875b;}[_0x1b1c1f(0x203)](){var _0x1e12c1=_0x1b1c1f;const _0x57c787=super[_0x1e12c1(0x203)]();return _0x57c787['onTransformSelections']=_0x88d2aa=>this[_0x1e12c1(0xc0)][_0x1e12c1(0x25e)](_0x88d2aa),_0x57c787;}async[_0x1b1c1f(0xf5)](){var _0x153116=_0x1b1c1f;const _0x44d5a5=await super[_0x153116(0xf5)]();return this[_0x153116(0x105)](this['_commandService'][_0x153116(0xe0)]((_0x5eb7ae,_0xa1a609)=>{var _0x1e70a9=_0x153116;if(_0x5eb7ae[_0x1e70a9(0x2b7)]!==_0x12a7c6['MUTATION']||_0xa1a609!=null&&_0xa1a609[_0x1e70a9(0x3ae)]||_0xa1a609!=null&&_0xa1a609[_0x1e70a9(0x2e7)])return;const _0x428c8b=_0x5eb7ae[_0x1e70a9(0xbe)];if((_0x428c8b==null?void 0x0:_0x428c8b['unitId'])!==this[_0x1e70a9(0x2da)])return;const _0xca0651=_0x5eb7ae,_0x5c8d68=this['_compressMutationService'][_0x1e70a9(0x1e9)][_0x1e70a9(0x2a4)](this[_0x1e70a9(0x237)]['interceptor'][_0x1e70a9(0x277)]()[_0x1e70a9(0x3a0)])([_0xca0651],null)||[_0xca0651];this[_0x1e70a9(0x366)](_0x5c8d68[0x0]);})),_0x44d5a5;}};Tt=xt([H(0x3,_0x56699c(_0x5caeba)),H(0x4,_0x56699c(_0x219d40)),H(0x5,_0x56699c(_0x40abe8)),H(0x6,_0x56699c(_0x131576)),H(0x7,_0x56699c(it)),H(0x8,_0x56699c(pe)),H(0x9,_0x3b556e),H(0xa,_0x157a00),H(0xb,_0x574aa9),H(0xc,_0x34b961(ht)),H(0xd,_0x34b961(J))],Tt);var an=Object[_0x1b1c1f(0x282)],cn=(_0x4d76e0,_0x12a2f9,_0x54e5e3,_0x11e5d6)=>{var _0x414e78=_0x1b1c1f;for(var _0x4ef5d2=_0x11e5d6>0x1?void 0x0:_0x11e5d6?an(_0x12a2f9,_0x54e5e3):_0x12a2f9,_0x16dc5d=_0x4d76e0[_0x414e78(0x371)]-0x1,_0x3c25f2;_0x16dc5d>=0x0;_0x16dc5d--)(_0x3c25f2=_0x4d76e0[_0x16dc5d])&&(_0x4ef5d2=_0x3c25f2(_0x4ef5d2)||_0x4ef5d2);return _0x4ef5d2;},ft=(_0x1f10bf,_0x19dd0a)=>(_0x3831bc,_0x3dec4b)=>_0x19dd0a(_0x3831bc,_0x3dec4b,_0x1f10bf);let nt=class extends _0x5d4b24{constructor(_0x346a17,_0xe05ad3,_0x5a7090){var _0x21a8f0=_0x1b1c1f;super(),N(this,_0x21a8f0(0x300),new Map()),N(this,_0x21a8f0(0x187),new _0x6d82f8()),N(this,_0x21a8f0(0x272),this[_0x21a8f0(0x187)][_0x21a8f0(0xc5)]()),(this[_0x21a8f0(0x165)]=_0x346a17,this['_collabSessionService']=_0xe05ad3,this[_0x21a8f0(0x28f)]=_0x5a7090,this['_init']());}[_0x1b1c1f(0xc9)](){var _0x383428=_0x1b1c1f;super[_0x383428(0xc9)](),this[_0x383428(0x300)][_0x383428(0x2dd)](_0x141fcb=>_0x141fcb[_0x383428(0xc9)]()),this[_0x383428(0x300)][_0x383428(0x1fe)]();}[_0x1b1c1f(0x323)](_0x43efff){var _0x33049c=_0x1b1c1f,_0x6d10bc;return(_0x6d10bc=this[_0x33049c(0x300)]['get'](_0x43efff))!=null?_0x6d10bc:null;}[_0x1b1c1f(0x201)](_0x5653db){var _0xc7c326=_0x1b1c1f;const _0x23aa6d=this['getCollabEntity'](_0x5653db);return _0x23aa6d?_0x4344fd(_0x23aa6d):this[_0xc7c326(0x187)][_0xc7c326(0x355)](_0x5c13bf(_0x30103d=>_0x30103d[_0xc7c326(0x2da)]===_0x5653db));}[_0x1b1c1f(0x1be)](_0x45b7c0){var _0x1bb518=_0x1b1c1f;return _0x5418e3(this[_0x1bb518(0x201)](_0x45b7c0)[_0x1bb518(0x355)](_0x497298(()=>{})));}[_0x1b1c1f(0xf5)](){var _0x53ba84=_0x1b1c1f;this[_0x53ba84(0x28f)][_0x53ba84(0x263)](_0x41e5a7[_0x53ba84(0x262)])[_0x53ba84(0x355)](_0x212dfd(this[_0x53ba84(0x16c)]),_0x1e9d94(0x10))[_0x53ba84(0x257)](async _0x3b434d=>{var _0x380236=_0x53ba84;const _0x4e47ab=_0x3b434d[_0x380236(0xba)](),_0x515d5a=await this[_0x380236(0x1ec)](_0x4e47ab,Q[_0x380236(0x262)]);this[_0x380236(0x300)]['set'](_0x4e47ab,_0x515d5a);}),this[_0x53ba84(0x28f)][_0x53ba84(0x263)](_0x41e5a7[_0x53ba84(0xdf)])[_0x53ba84(0x355)](_0x212dfd(this[_0x53ba84(0x16c)]),_0x1e9d94(0x10))[_0x53ba84(0x355)](_0x5c13bf(_0x37a1c6=>!_0x37a1c6[_0x53ba84(0xba)]()[_0x53ba84(0x324)]('__')))[_0x53ba84(0x257)](async _0x27bee4=>{var _0x1a0bc5=_0x53ba84;const _0x56c913=_0x27bee4[_0x1a0bc5(0xba)](),_0x36dbdc=await this[_0x1a0bc5(0x1ec)](_0x56c913,Q['UNIVER_DOC']);this[_0x1a0bc5(0x300)][_0x1a0bc5(0x39c)](_0x56c913,_0x36dbdc);}),_0x39fc2e(this[_0x53ba84(0x28f)][_0x53ba84(0x1b5)](_0x41e5a7['UNIVER_SHEET']),this[_0x53ba84(0x28f)]['getTypeOfUnitDisposed$'](_0x41e5a7[_0x53ba84(0xdf)]))[_0x53ba84(0x355)](_0x212dfd(this[_0x53ba84(0x16c)]))[_0x53ba84(0x257)](_0x14e5d3=>{var _0x2cce51=_0x53ba84;const _0x4cd34f=_0x14e5d3[_0x2cce51(0xba)](),_0xb249c2=this['_entities'][_0x2cce51(0x1df)](_0x4cd34f);_0xb249c2&&(_0xb249c2[_0x2cce51(0xc9)](),this[_0x2cce51(0x300)]['delete'](_0x4cd34f));});}async['_startCollaboration'](_0x56ba7c,_0x1b5a5b){var _0x3a8405=_0x1b1c1f;const _0x3f55f3=await this[_0x3a8405(0x11a)]['requireSession'](_0x56ba7c),_0x536c97=this[_0x3a8405(0x165)][_0x3a8405(0x195)](this['_getCtorByUniverType'](_0x1b5a5b),_0x56ba7c,_0x1b5a5b,_0x3f55f3);return await _0x536c97['init'](),this[_0x3a8405(0x187)]['next'](_0x536c97),_0x536c97;}['_getCtorByUniverType'](_0x490a87){var _0x36a9a2=_0x1b1c1f;switch(_0x490a87){case Q[_0x36a9a2(0xdf)]:return It;case Q[_0x36a9a2(0x262)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x490a87);}}};nt=cn([ft(0x0,_0x56699c(_0x5caeba)),ft(0x1,_0x56699c(Le)),ft(0x2,_0x409ee8)],nt);var hn=Object[_0x1b1c1f(0x282)],_n=(_0x3da88b,_0xf38809,_0x47ec92,_0xead719)=>{var _0x5b2e85=_0x1b1c1f;for(var _0x485942=_0xead719>0x1?void 0x0:_0xead719?hn(_0xf38809,_0x47ec92):_0xf38809,_0x2b5c85=_0x3da88b[_0x5b2e85(0x371)]-0x1,_0x46e95d;_0x2b5c85>=0x0;_0x2b5c85--)(_0x46e95d=_0x3da88b[_0x2b5c85])&&(_0x485942=_0x46e95d(_0x485942)||_0x485942);return _0x485942;},zt=(_0x53765d,_0x2d4344)=>(_0xdbfad2,_0x4c82fa)=>_0x2d4344(_0xdbfad2,_0x4c82fa,_0x53765d);const ln=_0x1b1c1f(0x12c),un='Univer';let Ct=class extends _0x3793ad{constructor(_0x4d5e3f,_0x2ace82){var _0x7df2f2=_0x1b1c1f;super(),this[_0x7df2f2(0x28f)]=_0x4d5e3f,this['_configService']=_0x2ace82,this[_0x7df2f2(0xf5)]();}[_0x1b1c1f(0xf5)](){var _0x254889=_0x1b1c1f;this['disposeWithMe'](this[_0x254889(0x28f)][_0x254889(0x186)][_0x254889(0x257)](()=>{var _0x56e5d9=_0x254889,_0x4c2b81;const _0x3af518=this[_0x56e5d9(0x28f)][_0x56e5d9(0x388)]();let _0x25ee03=(_0x4c2b81=this['_configService'][_0x56e5d9(0x140)](ln))!=null?_0x4c2b81:un;_0x3af518 instanceof _0x132f69&&(_0x25ee03=_0x3af518[_0x56e5d9(0x337)]),document['title']=_0x25ee03;}));}};Ct=_n([zt(0x0,_0x409ee8),zt(0x1,_0x47e21a)],Ct);var dn=Object[_0x1b1c1f(0x282)],fn=(_0x1a016d,_0x1cede5,_0x20de8f,_0x5ecaf8)=>{for(var _0x201913=_0x5ecaf8>0x1?void 0x0:_0x5ecaf8?dn(_0x1cede5,_0x20de8f):_0x1cede5,_0x5b1c25=_0x1a016d['length']-0x1,_0x14503b;_0x5b1c25>=0x0;_0x5b1c25--)(_0x14503b=_0x1a016d[_0x5b1c25])&&(_0x201913=_0x14503b(_0x201913)||_0x201913);return _0x201913;},vt=(_0x575998,_0x1a62b1)=>(_0xdc1c66,_0x2232be)=>_0x1a62b1(_0xdc1c66,_0x2232be,_0x575998);let st=class{constructor(_0x17d16c,_0x5d2d7b,_0x2c6d8f){var _0x284f04=_0x1b1c1f;this[_0x284f04(0xc7)]=_0x17d16c,this[_0x284f04(0x27d)]=_0x5d2d7b,this[_0x284f04(0x27f)]=_0x2c6d8f,this[_0x284f04(0x2d2)]();}['init'](){var _0x596edb=_0x1b1c1f;this[_0x596edb(0x27d)][_0x596edb(0x291)]({'priority':0x1,'interceptor':(_0x20c0bd,_0x2477da)=>_0x2477da(_0x20c0bd)['pipe'](_0x51b054(async _0x423aa0=>{var _0x37a700=_0x596edb;const _0x2dde22=_0x423aa0;if(_0x2dde22[_0x37a700(0x32a)]===0x191){if(typeof window>'u')throw new Error(_0x37a700(0x34d));if(window['confirm'](this[_0x37a700(0x27f)]['t'](_0x37a700(0x2f6)))){const _0xf3f28b=window['encodeURIComponent'](window[_0x37a700(0x308)][_0x37a700(0x192)]);window[_0x37a700(0x308)]['href']=this[_0x37a700(0x204)]()+_0x37a700(0x38c)+_0xf3f28b;}}return _0x2dde22;}))});}[_0x1b1c1f(0x204)](){var _0x1e510e=_0x1b1c1f,_0x2b9845,_0x402d5c;const _0x1b7c90=this[_0x1e510e(0xc7)]['getConfig'](Dr),_0x1d0174=this['_configService'][_0x1e510e(0x140)](q);return(_0x402d5c=(_0x2b9845=_0x1d0174==null?void 0x0:_0x1d0174['loginUrlKey'])!=null?_0x2b9845:_0x1b7c90)!=null?_0x402d5c:wr;}};st=fn([vt(0x0,_0x47e21a),vt(0x1,_0x56699c(_0x1874ea)),vt(0x2,_0x56699c(_0x40abe8))],st);var vn=Object[_0x1b1c1f(0x282)],pn=(_0xbf509d,_0x319e15,_0x4fc848,_0x36a052)=>{var _0x38f196=_0x1b1c1f;for(var _0x58aa5=_0x36a052>0x1?void 0x0:_0x36a052?vn(_0x319e15,_0x4fc848):_0x319e15,_0x22e0a9=_0xbf509d[_0x38f196(0x371)]-0x1,_0x335b54;_0x22e0a9>=0x0;_0x22e0a9--)(_0x335b54=_0xbf509d[_0x22e0a9])&&(_0x58aa5=_0x335b54(_0x58aa5)||_0x58aa5);return _0x58aa5;},Jt=(_0x48cb01,_0x14ee54)=>(_0x206306,_0x1695f7)=>_0x14ee54(_0x206306,_0x1695f7,_0x48cb01);const Ni=_0x1b1c1f(0x239),mn=_0x1b1c1f(0x24c);let Rt=class extends _0x3793ad{constructor(_0xdf8621,_0x127849){var _0x135965=_0x1b1c1f;super(),this['_HTTPService']=_0xdf8621,this[_0x135965(0xc7)]=_0x127849,this[_0x135965(0x271)]();}[_0x1b1c1f(0x271)](){var _0x5401d0=_0x1b1c1f;const _0x245339=this;this[_0x5401d0(0x105)](this[_0x5401d0(0x1b2)][_0x5401d0(0x291)]({'priority':0x3e7,'interceptor':_0x216e01({'isMatch'(_0x3cbeb2){var _0x1f656f=_0x5401d0,_0x2b892c;if(_0x3cbeb2[_0x1f656f(0x2c7)]===_0x1f656f(0x254)&&((_0x2b892c=_0x3cbeb2[_0x1f656f(0x1f6)])!=null&&_0x2b892c[_0x1f656f(0x1d9)])){const {objectID:_0x5ba159,objectType:_0x4105e5}=_0x3cbeb2[_0x1f656f(0x1f6)][_0x1f656f(0x1d9)]||{};if(!_0x5ba159||_0x4105e5===void 0x0)return!0x1;const _0x2adf48=_0x245339[_0x1f656f(0x18c)]()+'/'+_0x4105e5+_0x1f656f(0x199)+_0x5ba159+_0x1f656f(0x1f2);if(_0x3cbeb2['url']===_0x2adf48)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x480bb4){var _0x32b6b8=_0x5401d0,_0x562301;return(_0x562301=_0x480bb4[_0x32b6b8(0x1f6)])==null?void 0x0:_0x562301[_0x32b6b8(0x1d9)];},'mergeParamsToRequest'(_0x1fedad,_0x120017){var _0x152079=_0x5401d0;const _0x3e55f=_0x245339['_getAPIPrefixPath']()+_0x152079(0x39a),_0x25ed0d=_0x1fedad[_0x152079(0x213)]((_0x348a8f,_0xd20284)=>{var _0x586fd7=_0x152079;const {unitID:_0x3530eb,objectID:_0x374ff3,objectType:_0x5e4884,actions:_0x3189a8}=_0xd20284;return _0x348a8f[_0x3530eb]||(_0x348a8f[_0x3530eb]={}),_0x348a8f[_0x3530eb][_0x374ff3]||(_0x348a8f[_0x3530eb][_0x374ff3]={'objectID':_0x374ff3,'objectType':_0x5e4884,'actions':[]}),_0x348a8f[_0x3530eb][_0x374ff3][_0x586fd7(0xe9)][_0x586fd7(0xb8)](..._0x3189a8),_0x348a8f;},{}),_0x381847=[];for(const _0x17606f in _0x25ed0d)for(const _0x258a29 in _0x25ed0d[_0x17606f]){const {actions:_0xc58cd9,objectType:_0x3b7354}=_0x25ed0d[_0x17606f][_0x258a29],_0x3bb461=[...new Set(_0xc58cd9)];_0x381847[_0x152079(0xb8)]({'unitID':_0x17606f,'objectID':_0x258a29,'objectType':_0x3b7354,'actions':_0x3bb461});}return new _0x1dd3b1(_0x152079(0x254),_0x3e55f,{'headers':_0x120017[_0x152079(0x2ea)],'withCredentials':_0x120017['withCredentials'],'responseType':_0x120017['responseType'],'body':{'requests':_0x381847}});}},{'distributeResult'(_0x4176ba,_0x131207){var _0x142dbc=_0x5401d0;const {objectActions:_0x1f7c0c}=_0x4176ba;return _0x131207[_0x142dbc(0x191)](_0x1edee4=>{var _0x39d0ee=_0x142dbc;const {unitID:_0x4e3a75,objectID:_0x28d6a1,actions:_0x405e04}=_0x1edee4,_0x581a9e=_0x1f7c0c['find'](_0x58fbd7=>_0x58fbd7[_0x39d0ee(0x2da)]===_0x4e3a75&&_0x58fbd7['objectID']===_0x28d6a1),_0x4aebd4=_0x405e04[_0x39d0ee(0x191)](_0x5d213f=>_0x581a9e==null?void 0x0:_0x581a9e[_0x39d0ee(0xe9)][_0x39d0ee(0x356)](_0x16e277=>_0x16e277[_0x39d0ee(0x1a9)]===_0x5d213f))['filter'](_0x11a859=>!!_0x11a859);return{'config':_0x1edee4,'result':{'actions':_0x4aebd4,'error':_0x4176ba[_0x39d0ee(0x2f5)]}};});}})}));}['_getAPIPrefixPath'](){var _0x446093=_0x1b1c1f,_0x35b9e9,_0x4d794a;const _0x5531f8=this['_configService'][_0x446093(0x140)](Ni),_0x39e5d6=this[_0x446093(0xc7)][_0x446093(0x140)](q);return(_0x4d794a=(_0x35b9e9=_0x39e5d6==null?void 0x0:_0x39e5d6[_0x446093(0x159)])!=null?_0x35b9e9:_0x5531f8)!=null?_0x4d794a:mn;}async[_0x1b1c1f(0x34e)](_0x544e27){var _0x72f922=_0x1b1c1f;const _0x5953fb=this[_0x72f922(0x18c)]()+'/'+_0x544e27[_0x72f922(0x375)]+_0x72f922(0x223);return(await this[_0x72f922(0x1b2)][_0x72f922(0xc3)](_0x5953fb,{'body':_0x544e27}))['body'][_0x72f922(0x2bf)]||'';}async[_0x1b1c1f(0x207)](_0x40bdb6){var _0x34a496=_0x1b1c1f;const _0x47f23f=this[_0x34a496(0x18c)]()+'/-/object/list';return(await this[_0x34a496(0x1b2)][_0x34a496(0xc3)](_0x47f23f,{'body':_0x40bdb6}))['body'][_0x34a496(0x2cd)];}async[_0x1b1c1f(0x212)](_0x268529){var _0x2b8380=_0x1b1c1f,_0x236b2b,_0x17232a;const _0x366be3=this[_0x2b8380(0x18c)]()+'/'+_0x268529['objectType']+_0x2b8380(0x199)+_0x268529[_0x2b8380(0x2bf)],_0x2782ec=await this[_0x2b8380(0x1b2)][_0x2b8380(0x30f)](_0x366be3,{'body':_0x268529});if(((_0x17232a=(_0x236b2b=_0x2782ec==null?void 0x0:_0x2782ec[_0x2b8380(0x1d9)])==null?void 0x0:_0x236b2b[_0x2b8380(0x2f5)])==null?void 0x0:_0x17232a[_0x2b8380(0xb5)])!==0x0)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x1b1c1f(0x24e)](_0x25c130){var _0x1140f6=_0x1b1c1f;const _0x456fa4=this[_0x1140f6(0x18c)]()+'/'+_0x25c130[_0x1140f6(0x375)]+_0x1140f6(0x199)+_0x25c130[_0x1140f6(0x2bf)]+_0x1140f6(0x1f2);return(await this[_0x1140f6(0x1b2)][_0x1140f6(0xc3)](_0x456fa4,{'body':_0x25c130}))[_0x1140f6(0x1d9)]['actions'];}async[_0x1b1c1f(0x2c4)](_0x33355f){var _0x3a5c70=_0x1b1c1f;const _0x473875=this[_0x3a5c70(0x18c)]()+'/-/object/-/batch_allowed';return(await this[_0x3a5c70(0x1b2)]['post'](_0x473875,{'body':{'requests':_0x33355f}}))[_0x3a5c70(0x1d9)][_0x3a5c70(0x179)];}async['listRoles'](_0x55eaca){var _0x10b159=_0x1b1c1f;const _0x5275c0=this[_0x10b159(0x18c)]()+'/'+_0x55eaca[_0x10b159(0x375)]+_0x10b159(0x310),_0x3d12fc=await this[_0x10b159(0x1b2)][_0x10b159(0xc3)](_0x5275c0,{'body':_0x55eaca});return{'roles':_0x3d12fc[_0x10b159(0x1d9)][_0x10b159(0x116)],'actions':_0x3d12fc[_0x10b159(0x1d9)][_0x10b159(0xe9)]};}async[_0x1b1c1f(0x146)](_0x514c9e){var _0x31facc=_0x1b1c1f;const _0x38ea8a=this[_0x31facc(0x18c)]()+'/collaborator';await this[_0x31facc(0x1b2)][_0x31facc(0x2ed)](_0x38ea8a,{'params':{'collaboratorID':_0x514c9e[_0x31facc(0x2b5)],'objectID':_0x514c9e['objectID'],'unitID':_0x514c9e['unitID']}});}async[_0x1b1c1f(0x1b0)](_0x3cbe5b){var _0x425edd=_0x1b1c1f;const _0x1ad858=this[_0x425edd(0x18c)]()+_0x425edd(0x224);await this[_0x425edd(0x1b2)][_0x425edd(0x119)](_0x1ad858,{'body':_0x3cbe5b});}async['createCollaborator'](_0x36be39){var _0x2c3dbb=_0x1b1c1f;const _0x2d6394=this[_0x2c3dbb(0x18c)]()+_0x2c3dbb(0x224);await this['_HTTPService'][_0x2c3dbb(0xc3)](_0x2d6394,{'body':_0x36be39});}async['listCollaborators'](_0x5a3f99){var _0x3399ff=_0x1b1c1f;const _0x503e7e=this['_getAPIPrefixPath']()+_0x3399ff(0x224);return(await this[_0x3399ff(0x1b2)][_0x3399ff(0x1df)](_0x503e7e,{'params':{'objectID':_0x5a3f99['objectID'],'unitID':_0x5a3f99[_0x3399ff(0x2da)]}}))[_0x3399ff(0x1d9)]['collaborators'];}async[_0x1b1c1f(0x153)](_0x5b8768){var _0x2813fa=_0x1b1c1f;const _0x4a08a6=this[_0x2813fa(0x18c)]()+'/collaborator';await this['_HTTPService']['put'](_0x4a08a6,{'body':_0x5b8768});}};Rt=pn([Jt(0x0,_0x56699c(_0x1874ea)),Jt(0x1,_0x56699c(_0x47e21a))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x178018){var _0x2ccd39=_0x1b1c1f;return _0x178018&&_0x178018[_0x2ccd39(0x305)]&&Object[_0x2ccd39(0x19e)]['hasOwnProperty'][_0x2ccd39(0xee)](_0x178018,'default')?_0x178018['default']:_0x178018;}var Ge={'exports':{}};function gn(_0x4caf8e){var _0x5b632e=_0x1b1c1f;throw new Error(_0x5b632e(0x167)+_0x4caf8e+_0x5b632e(0x11c));}var Ve={'exports':{}},Sn=Ve[_0x1b1c1f(0x36a)],Xt;function ie(){var _0xca7977=_0x1b1c1f;return Xt||(Xt=0x1,function(_0x27777a,_0x26c705){(function(_0xe682ed,_0x230d54){var _0x2b47b5=_0x5187;_0x27777a[_0x2b47b5(0x36a)]=_0x230d54();}(Sn,function(){var _0x489dce=_0x489dce||function(_0x185526,_0x2c92a6){var _0x11ac3f=_0x5187,_0x5f047b;if(typeof window<'u'&&window[_0x11ac3f(0x1f3)]&&(_0x5f047b=window[_0x11ac3f(0x1f3)]),typeof self<'u'&&self[_0x11ac3f(0x1f3)]&&(_0x5f047b=self[_0x11ac3f(0x1f3)]),typeof globalThis<'u'&&globalThis[_0x11ac3f(0x1f3)]&&(_0x5f047b=globalThis[_0x11ac3f(0x1f3)]),!_0x5f047b&&typeof window<'u'&&window[_0x11ac3f(0x35b)]&&(_0x5f047b=window[_0x11ac3f(0x35b)]),!_0x5f047b&&typeof pt<'u'&&pt[_0x11ac3f(0x1f3)]&&(_0x5f047b=pt[_0x11ac3f(0x1f3)]),!_0x5f047b&&typeof gn==_0x11ac3f(0x2b1))try{_0x5f047b=require(_0x11ac3f(0x1f3));}catch{}var _0x4f9005=function(){var _0x24905e=_0x11ac3f;if(_0x5f047b){if(typeof _0x5f047b[_0x24905e(0x132)]==_0x24905e(0x2b1))try{return _0x5f047b[_0x24905e(0x132)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5f047b[_0x24905e(0x2d1)]==_0x24905e(0x2b1))try{return _0x5f047b[_0x24905e(0x2d1)](0x4)[_0x24905e(0x16f)]();}catch{}}throw new Error(_0x24905e(0xec));},_0x5bfc52=Object[_0x11ac3f(0x34e)]||(function(){function _0x17830b(){}return function(_0x235757){var _0x1ce9a7=_0x5187,_0x5a8930;return _0x17830b[_0x1ce9a7(0x19e)]=_0x235757,_0x5a8930=new _0x17830b(),_0x17830b[_0x1ce9a7(0x19e)]=null,_0x5a8930;};}()),_0x2e93bc={},_0x286c25=_0x2e93bc['lib']={},_0x236e03=_0x286c25[_0x11ac3f(0x246)]=(function(){return{'extend':function(_0x1d13ce){var _0x27d8fc=_0x5187,_0xa0d31d=_0x5bfc52(this);return _0x1d13ce&&_0xa0d31d[_0x27d8fc(0x1da)](_0x1d13ce),(!_0xa0d31d[_0x27d8fc(0x208)]('init')||this['init']===_0xa0d31d[_0x27d8fc(0x2d2)])&&(_0xa0d31d[_0x27d8fc(0x2d2)]=function(){var _0x48c721=_0x27d8fc;_0xa0d31d['$super'][_0x48c721(0x2d2)][_0x48c721(0x39d)](this,arguments);}),_0xa0d31d['init'][_0x27d8fc(0x19e)]=_0xa0d31d,_0xa0d31d['$super']=this,_0xa0d31d;},'create':function(){var _0x3539c7=_0x5187,_0x2abfa7=this[_0x3539c7(0xf1)]();return _0x2abfa7[_0x3539c7(0x2d2)][_0x3539c7(0x39d)](_0x2abfa7,arguments),_0x2abfa7;},'init':function(){},'mixIn':function(_0x3e5fc1){var _0x5c8160=_0x5187;for(var _0x173def in _0x3e5fc1)_0x3e5fc1[_0x5c8160(0x208)](_0x173def)&&(this[_0x173def]=_0x3e5fc1[_0x173def]);_0x3e5fc1[_0x5c8160(0x208)](_0x5c8160(0x103))&&(this[_0x5c8160(0x103)]=_0x3e5fc1[_0x5c8160(0x103)]);},'clone':function(){var _0x194801=_0x5187;return this['init'][_0x194801(0x19e)][_0x194801(0xf1)](this);}};}()),_0x7969eb=_0x286c25[_0x11ac3f(0x2e5)]=_0x236e03[_0x11ac3f(0xf1)]({'init':function(_0xaf41eb,_0x8b8237){var _0x24d260=_0x11ac3f;_0xaf41eb=this['words']=_0xaf41eb||[],_0x8b8237!=_0x2c92a6?this[_0x24d260(0x170)]=_0x8b8237:this[_0x24d260(0x170)]=_0xaf41eb[_0x24d260(0x371)]*0x4;},'toString':function(_0xae7c32){return(_0xae7c32||_0x148631)['stringify'](this);},'concat':function(_0x5cabde){var _0x58982d=_0x11ac3f,_0x19c111=this[_0x58982d(0x177)],_0x5d0c91=_0x5cabde[_0x58982d(0x177)],_0x11d3b3=this[_0x58982d(0x170)],_0x2cd379=_0x5cabde[_0x58982d(0x170)];if(this[_0x58982d(0x168)](),_0x11d3b3%0x4)for(var _0xa5098b=0x0;_0xa5098b<_0x2cd379;_0xa5098b++){var _0x5a813f=_0x5d0c91[_0xa5098b>>>0x2]>>>0x18-_0xa5098b%0x4*0x8&0xff;_0x19c111[_0x11d3b3+_0xa5098b>>>0x2]|=_0x5a813f<<0x18-(_0x11d3b3+_0xa5098b)%0x4*0x8;}else{for(var _0x3b4738=0x0;_0x3b4738<_0x2cd379;_0x3b4738+=0x4)_0x19c111[_0x11d3b3+_0x3b4738>>>0x2]=_0x5d0c91[_0x3b4738>>>0x2];}return this[_0x58982d(0x170)]+=_0x2cd379,this;},'clamp':function(){var _0x1cd380=_0x11ac3f,_0x433322=this[_0x1cd380(0x177)],_0x5e3e33=this[_0x1cd380(0x170)];_0x433322[_0x5e3e33>>>0x2]&=0xffffffff<<0x20-_0x5e3e33%0x4*0x8,_0x433322['length']=_0x185526[_0x1cd380(0x1ac)](_0x5e3e33/0x4);},'clone':function(){var _0x412c4a=_0x11ac3f,_0x5be478=_0x236e03[_0x412c4a(0x19b)][_0x412c4a(0xee)](this);return _0x5be478['words']=this['words'][_0x412c4a(0x13f)](0x0),_0x5be478;},'random':function(_0x3f97c5){var _0x107385=_0x11ac3f;for(var _0x4bc051=[],_0x550329=0x0;_0x550329<_0x3f97c5;_0x550329+=0x4)_0x4bc051[_0x107385(0xb8)](_0x4f9005());return new _0x7969eb[(_0x107385(0x2d2))](_0x4bc051,_0x3f97c5);}}),_0x2b4136=_0x2e93bc[_0x11ac3f(0x2ee)]={},_0x148631=_0x2b4136[_0x11ac3f(0x1c5)]={'stringify':function(_0x73c30c){var _0x3c60da=_0x11ac3f;for(var _0x3799ac=_0x73c30c[_0x3c60da(0x177)],_0x24f08e=_0x73c30c[_0x3c60da(0x170)],_0x5725ba=[],_0x4fd5ca=0x0;_0x4fd5ca<_0x24f08e;_0x4fd5ca++){var _0x4d01dc=_0x3799ac[_0x4fd5ca>>>0x2]>>>0x18-_0x4fd5ca%0x4*0x8&0xff;_0x5725ba['push']((_0x4d01dc>>>0x4)[_0x3c60da(0x103)](0x10)),_0x5725ba[_0x3c60da(0xb8)]((_0x4d01dc&0xf)[_0x3c60da(0x103)](0x10));}return _0x5725ba[_0x3c60da(0x189)]('');},'parse':function(_0x2a9eb8){var _0x15b7d9=_0x11ac3f;for(var _0x1efd9c=_0x2a9eb8[_0x15b7d9(0x371)],_0x4be045=[],_0x24cc27=0x0;_0x24cc27<_0x1efd9c;_0x24cc27+=0x2)_0x4be045[_0x24cc27>>>0x3]|=parseInt(_0x2a9eb8[_0x15b7d9(0x372)](_0x24cc27,0x2),0x10)<<0x18-_0x24cc27%0x8*0x4;return new _0x7969eb[(_0x15b7d9(0x2d2))](_0x4be045,_0x1efd9c/0x2);}},_0x4fe75d=_0x2b4136['Latin1']={'stringify':function(_0x15248f){var _0x2e5923=_0x11ac3f;for(var _0x12deff=_0x15248f['words'],_0x1f177e=_0x15248f[_0x2e5923(0x170)],_0x4b88e0=[],_0x8242=0x0;_0x8242<_0x1f177e;_0x8242++){var _0x2c8c05=_0x12deff[_0x8242>>>0x2]>>>0x18-_0x8242%0x4*0x8&0xff;_0x4b88e0[_0x2e5923(0xb8)](String['fromCharCode'](_0x2c8c05));}return _0x4b88e0[_0x2e5923(0x189)]('');},'parse':function(_0x2782c1){var _0x354711=_0x11ac3f;for(var _0x36e988=_0x2782c1[_0x354711(0x371)],_0x4753d1=[],_0x17278e=0x0;_0x17278e<_0x36e988;_0x17278e++)_0x4753d1[_0x17278e>>>0x2]|=(_0x2782c1[_0x354711(0x2c2)](_0x17278e)&0xff)<<0x18-_0x17278e%0x4*0x8;return new _0x7969eb[(_0x354711(0x2d2))](_0x4753d1,_0x36e988);}},_0x36a58e=_0x2b4136['Utf8']={'stringify':function(_0x301794){var _0x46a4fc=_0x11ac3f;try{return decodeURIComponent(escape(_0x4fe75d[_0x46a4fc(0x249)](_0x301794)));}catch{throw new Error(_0x46a4fc(0x1c8));}},'parse':function(_0x7b32d){return _0x4fe75d['parse'](unescape(encodeURIComponent(_0x7b32d)));}},_0x114bf5=_0x286c25[_0x11ac3f(0x1a3)]=_0x236e03['extend']({'reset':function(){var _0xccd260=_0x11ac3f;this[_0xccd260(0x37f)]=new _0x7969eb['init'](),this[_0xccd260(0x17d)]=0x0;},'_append':function(_0x4e392d){var _0xb13baf=_0x11ac3f;typeof _0x4e392d=='string'&&(_0x4e392d=_0x36a58e['parse'](_0x4e392d)),this['_data'][_0xb13baf(0x2c6)](_0x4e392d),this[_0xb13baf(0x17d)]+=_0x4e392d[_0xb13baf(0x170)];},'_process':function(_0x3fc6ee){var _0x93c600=_0x11ac3f,_0x8f9d6c,_0x3c01f6=this[_0x93c600(0x37f)],_0x112883=_0x3c01f6[_0x93c600(0x177)],_0x592096=_0x3c01f6[_0x93c600(0x170)],_0x4af9b5=this[_0x93c600(0x3a6)],_0x542215=_0x4af9b5*0x4,_0x1a67be=_0x592096/_0x542215;_0x3fc6ee?_0x1a67be=_0x185526[_0x93c600(0x1ac)](_0x1a67be):_0x1a67be=_0x185526[_0x93c600(0x2b0)]((_0x1a67be|0x0)-this[_0x93c600(0x2f1)],0x0);var _0x3d5ed1=_0x1a67be*_0x4af9b5,_0xd4aabd=_0x185526[_0x93c600(0xe1)](_0x3d5ed1*0x4,_0x592096);if(_0x3d5ed1){for(var _0x33b9eb=0x0;_0x33b9eb<_0x3d5ed1;_0x33b9eb+=_0x4af9b5)this[_0x93c600(0x3aa)](_0x112883,_0x33b9eb);_0x8f9d6c=_0x112883[_0x93c600(0x11b)](0x0,_0x3d5ed1),_0x3c01f6[_0x93c600(0x170)]-=_0xd4aabd;}return new _0x7969eb[(_0x93c600(0x2d2))](_0x8f9d6c,_0xd4aabd);},'clone':function(){var _0x53027d=_0x11ac3f,_0x308682=_0x236e03['clone'][_0x53027d(0xee)](this);return _0x308682[_0x53027d(0x37f)]=this['_data'][_0x53027d(0x19b)](),_0x308682;},'_minBufferSize':0x0});_0x286c25['Hasher']=_0x114bf5[_0x11ac3f(0xf1)]({'cfg':_0x236e03[_0x11ac3f(0xf1)](),'init':function(_0x2bdcc5){var _0x3a945e=_0x11ac3f;this[_0x3a945e(0x11d)]=this['cfg'][_0x3a945e(0xf1)](_0x2bdcc5),this[_0x3a945e(0x13c)]();},'reset':function(){var _0x157d73=_0x11ac3f;_0x114bf5[_0x157d73(0x13c)]['call'](this),this[_0x157d73(0x2fd)]();},'update':function(_0x358ed){var _0x428024=_0x11ac3f;return this[_0x428024(0x391)](_0x358ed),this['_process'](),this;},'finalize':function(_0x16fb8c){var _0x3806c9=_0x11ac3f;_0x16fb8c&&this[_0x3806c9(0x391)](_0x16fb8c);var _0x330cd4=this[_0x3806c9(0x171)]();return _0x330cd4;},'blockSize':0x10,'_createHelper':function(_0x3af690){return function(_0x59bfc1,_0x248fb8){var _0x3026a4=_0x5187;return new _0x3af690[(_0x3026a4(0x2d2))](_0x248fb8)[_0x3026a4(0x261)](_0x59bfc1);};},'_createHmacHelper':function(_0x311751){return function(_0x3c53c4,_0x53ac94){var _0x1dc625=_0x5187;return new _0xa80bd0[(_0x1dc625(0xff))][(_0x1dc625(0x2d2))](_0x311751,_0x53ac94)['finalize'](_0x3c53c4);};}});var _0xa80bd0=_0x2e93bc[_0x11ac3f(0x2fe)]={};return _0x2e93bc;}(Math);return _0x489dce;}));}(Ve)),Ve[_0xca7977(0x36a)];}var We={'exports':{}},En=We[_0x1b1c1f(0x36a)],Zt;function Di(){var _0x128d87=_0x1b1c1f;return Zt||(Zt=0x1,function(_0x21164d,_0x361157){(function(_0x217ff1,_0x50c959){var _0x184bec=_0x5187;_0x21164d[_0x184bec(0x36a)]=_0x50c959(ie());}(En,function(_0x3315c4){var _0x579996=_0x5187;return(function(){var _0x132aa4=_0x5187,_0x103262=_0x3315c4,_0xec392f=_0x103262['lib'],_0x2f9c04=_0xec392f['WordArray'],_0x12a988=_0x103262['enc'];_0x12a988[_0x132aa4(0x1d2)]={'stringify':function(_0x1d83d2){var _0x3ac946=_0x132aa4,_0x5ac80f=_0x1d83d2[_0x3ac946(0x177)],_0x2f9541=_0x1d83d2[_0x3ac946(0x170)],_0x57372f=this[_0x3ac946(0x126)];_0x1d83d2['clamp']();for(var _0xe3a5c1=[],_0x1a080e=0x0;_0x1a080e<_0x2f9541;_0x1a080e+=0x3)for(var _0x535250=_0x5ac80f[_0x1a080e>>>0x2]>>>0x18-_0x1a080e%0x4*0x8&0xff,_0x9c28b8=_0x5ac80f[_0x1a080e+0x1>>>0x2]>>>0x18-(_0x1a080e+0x1)%0x4*0x8&0xff,_0x5a71b1=_0x5ac80f[_0x1a080e+0x2>>>0x2]>>>0x18-(_0x1a080e+0x2)%0x4*0x8&0xff,_0x9a7ede=_0x535250<<0x10|_0x9c28b8<<0x8|_0x5a71b1,_0x11e319=0x0;_0x11e319<0x4&&_0x1a080e+_0x11e319*0.75<_0x2f9541;_0x11e319++)_0xe3a5c1['push'](_0x57372f[_0x3ac946(0x1d4)](_0x9a7ede>>>0x6*(0x3-_0x11e319)&0x3f));var _0x48e329=_0x57372f[_0x3ac946(0x1d4)](0x40);if(_0x48e329){for(;_0xe3a5c1[_0x3ac946(0x371)]%0x4;)_0xe3a5c1[_0x3ac946(0xb8)](_0x48e329);}return _0xe3a5c1['join']('');},'parse':function(_0x59ce02){var _0x47ed8a=_0x132aa4,_0x5bdf5e=_0x59ce02[_0x47ed8a(0x371)],_0x4caf36=this[_0x47ed8a(0x126)],_0x438551=this[_0x47ed8a(0x1d1)];if(!_0x438551){_0x438551=this['_reverseMap']=[];for(var _0x507cbc=0x0;_0x507cbc<_0x4caf36[_0x47ed8a(0x371)];_0x507cbc++)_0x438551[_0x4caf36[_0x47ed8a(0x2c2)](_0x507cbc)]=_0x507cbc;}var _0x45fa31=_0x4caf36[_0x47ed8a(0x1d4)](0x40);if(_0x45fa31){var _0x11deb3=_0x59ce02[_0x47ed8a(0xb2)](_0x45fa31);_0x11deb3!==-0x1&&(_0x5bdf5e=_0x11deb3);}return _0x1f18b1(_0x59ce02,_0x5bdf5e,_0x438551);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1f18b1(_0x39e1e0,_0x2fb4ad,_0x12fdbc){var _0x505b62=_0x132aa4;for(var _0x34f75f=[],_0x2cc445=0x0,_0x50d5bd=0x0;_0x50d5bd<_0x2fb4ad;_0x50d5bd++)if(_0x50d5bd%0x4){var _0x247b47=_0x12fdbc[_0x39e1e0[_0x505b62(0x2c2)](_0x50d5bd-0x1)]<<_0x50d5bd%0x4*0x2,_0x5a9cfd=_0x12fdbc[_0x39e1e0[_0x505b62(0x2c2)](_0x50d5bd)]>>>0x6-_0x50d5bd%0x4*0x2,_0xd838f1=_0x247b47|_0x5a9cfd;_0x34f75f[_0x2cc445>>>0x2]|=_0xd838f1<<0x18-_0x2cc445%0x4*0x8,_0x2cc445++;}return _0x2f9c04[_0x505b62(0x34e)](_0x34f75f,_0x2cc445);}}()),_0x3315c4[_0x579996(0x2ee)][_0x579996(0x1d2)];}));}(We)),We[_0x128d87(0x36a)];}var Ke={'exports':{}},In=Ke[_0x1b1c1f(0x36a)],Qt;function Tn(){var _0xe9826f=_0x1b1c1f;return Qt||(Qt=0x1,function(_0x4157b5,_0x35f73a){(function(_0x15ac02,_0x157e00){_0x4157b5['exports']=_0x157e00(ie());}(In,function(_0x98dc63){var _0x16c18f=_0x5187;return function(_0x2264c8){var _0x4b61b1=_0x5187,_0x438ef4=_0x98dc63,_0x170967=_0x438ef4['lib'],_0x563cbc=_0x170967[_0x4b61b1(0x2e5)],_0x312023=_0x170967[_0x4b61b1(0x2c1)],_0x1714a7=_0x438ef4[_0x4b61b1(0x2fe)],_0x35aae1=[];(function(){var _0x3193d9=_0x4b61b1;for(var _0x5061ba=0x0;_0x5061ba<0x40;_0x5061ba++)_0x35aae1[_0x5061ba]=_0x2264c8[_0x3193d9(0x198)](_0x2264c8[_0x3193d9(0x131)](_0x5061ba+0x1))*0x100000000|0x0;}());var _0x5d24ff=_0x1714a7[_0x4b61b1(0x107)]=_0x312023[_0x4b61b1(0xf1)]({'_doReset':function(){var _0x102913=_0x4b61b1;this['_hash']=new _0x563cbc[(_0x102913(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x434dd7,_0x108652){var _0x65352=_0x4b61b1;for(var _0x310d6d=0x0;_0x310d6d<0x10;_0x310d6d++){var _0x4acf20=_0x108652+_0x310d6d,_0x470088=_0x434dd7[_0x4acf20];_0x434dd7[_0x4acf20]=(_0x470088<<0x8|_0x470088>>>0x18)&0xff00ff|(_0x470088<<0x18|_0x470088>>>0x8)&0xff00ff00;}var _0x21a709=this['_hash'][_0x65352(0x177)],_0x25b9e2=_0x434dd7[_0x108652+0x0],_0x5c384e=_0x434dd7[_0x108652+0x1],_0x491ecf=_0x434dd7[_0x108652+0x2],_0x44cbe8=_0x434dd7[_0x108652+0x3],_0x404563=_0x434dd7[_0x108652+0x4],_0x1dc70b=_0x434dd7[_0x108652+0x5],_0x2ed52b=_0x434dd7[_0x108652+0x6],_0x211a70=_0x434dd7[_0x108652+0x7],_0x4d0062=_0x434dd7[_0x108652+0x8],_0x3297ca=_0x434dd7[_0x108652+0x9],_0x4d9d9d=_0x434dd7[_0x108652+0xa],_0x4e00ff=_0x434dd7[_0x108652+0xb],_0xa314cf=_0x434dd7[_0x108652+0xc],_0x296eb3=_0x434dd7[_0x108652+0xd],_0x4adc18=_0x434dd7[_0x108652+0xe],_0x2ee1c3=_0x434dd7[_0x108652+0xf],_0x25fc7c=_0x21a709[0x0],_0x9cd67e=_0x21a709[0x1],_0x453042=_0x21a709[0x2],_0x35b0e4=_0x21a709[0x3];_0x25fc7c=_0xbe41a0(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x25b9e2,0x7,_0x35aae1[0x0]),_0x35b0e4=_0xbe41a0(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x5c384e,0xc,_0x35aae1[0x1]),_0x453042=_0xbe41a0(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x491ecf,0x11,_0x35aae1[0x2]),_0x9cd67e=_0xbe41a0(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x44cbe8,0x16,_0x35aae1[0x3]),_0x25fc7c=_0xbe41a0(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x404563,0x7,_0x35aae1[0x4]),_0x35b0e4=_0xbe41a0(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x1dc70b,0xc,_0x35aae1[0x5]),_0x453042=_0xbe41a0(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x2ed52b,0x11,_0x35aae1[0x6]),_0x9cd67e=_0xbe41a0(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x211a70,0x16,_0x35aae1[0x7]),_0x25fc7c=_0xbe41a0(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x4d0062,0x7,_0x35aae1[0x8]),_0x35b0e4=_0xbe41a0(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x3297ca,0xc,_0x35aae1[0x9]),_0x453042=_0xbe41a0(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4d9d9d,0x11,_0x35aae1[0xa]),_0x9cd67e=_0xbe41a0(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x4e00ff,0x16,_0x35aae1[0xb]),_0x25fc7c=_0xbe41a0(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0xa314cf,0x7,_0x35aae1[0xc]),_0x35b0e4=_0xbe41a0(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x296eb3,0xc,_0x35aae1[0xd]),_0x453042=_0xbe41a0(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4adc18,0x11,_0x35aae1[0xe]),_0x9cd67e=_0xbe41a0(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x2ee1c3,0x16,_0x35aae1[0xf]),_0x25fc7c=_0x28ce34(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x5c384e,0x5,_0x35aae1[0x10]),_0x35b0e4=_0x28ce34(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x2ed52b,0x9,_0x35aae1[0x11]),_0x453042=_0x28ce34(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4e00ff,0xe,_0x35aae1[0x12]),_0x9cd67e=_0x28ce34(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x25b9e2,0x14,_0x35aae1[0x13]),_0x25fc7c=_0x28ce34(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x1dc70b,0x5,_0x35aae1[0x14]),_0x35b0e4=_0x28ce34(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x4d9d9d,0x9,_0x35aae1[0x15]),_0x453042=_0x28ce34(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x2ee1c3,0xe,_0x35aae1[0x16]),_0x9cd67e=_0x28ce34(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x404563,0x14,_0x35aae1[0x17]),_0x25fc7c=_0x28ce34(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x3297ca,0x5,_0x35aae1[0x18]),_0x35b0e4=_0x28ce34(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x4adc18,0x9,_0x35aae1[0x19]),_0x453042=_0x28ce34(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x44cbe8,0xe,_0x35aae1[0x1a]),_0x9cd67e=_0x28ce34(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x4d0062,0x14,_0x35aae1[0x1b]),_0x25fc7c=_0x28ce34(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x296eb3,0x5,_0x35aae1[0x1c]),_0x35b0e4=_0x28ce34(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x491ecf,0x9,_0x35aae1[0x1d]),_0x453042=_0x28ce34(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x211a70,0xe,_0x35aae1[0x1e]),_0x9cd67e=_0x28ce34(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0xa314cf,0x14,_0x35aae1[0x1f]),_0x25fc7c=_0x473923(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x1dc70b,0x4,_0x35aae1[0x20]),_0x35b0e4=_0x473923(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x4d0062,0xb,_0x35aae1[0x21]),_0x453042=_0x473923(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4e00ff,0x10,_0x35aae1[0x22]),_0x9cd67e=_0x473923(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x4adc18,0x17,_0x35aae1[0x23]),_0x25fc7c=_0x473923(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x5c384e,0x4,_0x35aae1[0x24]),_0x35b0e4=_0x473923(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x404563,0xb,_0x35aae1[0x25]),_0x453042=_0x473923(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x211a70,0x10,_0x35aae1[0x26]),_0x9cd67e=_0x473923(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x4d9d9d,0x17,_0x35aae1[0x27]),_0x25fc7c=_0x473923(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x296eb3,0x4,_0x35aae1[0x28]),_0x35b0e4=_0x473923(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x25b9e2,0xb,_0x35aae1[0x29]),_0x453042=_0x473923(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x44cbe8,0x10,_0x35aae1[0x2a]),_0x9cd67e=_0x473923(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x2ed52b,0x17,_0x35aae1[0x2b]),_0x25fc7c=_0x473923(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x3297ca,0x4,_0x35aae1[0x2c]),_0x35b0e4=_0x473923(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0xa314cf,0xb,_0x35aae1[0x2d]),_0x453042=_0x473923(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x2ee1c3,0x10,_0x35aae1[0x2e]),_0x9cd67e=_0x473923(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x491ecf,0x17,_0x35aae1[0x2f]),_0x25fc7c=_0x33662b(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x25b9e2,0x6,_0x35aae1[0x30]),_0x35b0e4=_0x33662b(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x211a70,0xa,_0x35aae1[0x31]),_0x453042=_0x33662b(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4adc18,0xf,_0x35aae1[0x32]),_0x9cd67e=_0x33662b(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x1dc70b,0x15,_0x35aae1[0x33]),_0x25fc7c=_0x33662b(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0xa314cf,0x6,_0x35aae1[0x34]),_0x35b0e4=_0x33662b(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x44cbe8,0xa,_0x35aae1[0x35]),_0x453042=_0x33662b(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x4d9d9d,0xf,_0x35aae1[0x36]),_0x9cd67e=_0x33662b(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x5c384e,0x15,_0x35aae1[0x37]),_0x25fc7c=_0x33662b(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x4d0062,0x6,_0x35aae1[0x38]),_0x35b0e4=_0x33662b(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x2ee1c3,0xa,_0x35aae1[0x39]),_0x453042=_0x33662b(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x2ed52b,0xf,_0x35aae1[0x3a]),_0x9cd67e=_0x33662b(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x296eb3,0x15,_0x35aae1[0x3b]),_0x25fc7c=_0x33662b(_0x25fc7c,_0x9cd67e,_0x453042,_0x35b0e4,_0x404563,0x6,_0x35aae1[0x3c]),_0x35b0e4=_0x33662b(_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x453042,_0x4e00ff,0xa,_0x35aae1[0x3d]),_0x453042=_0x33662b(_0x453042,_0x35b0e4,_0x25fc7c,_0x9cd67e,_0x491ecf,0xf,_0x35aae1[0x3e]),_0x9cd67e=_0x33662b(_0x9cd67e,_0x453042,_0x35b0e4,_0x25fc7c,_0x3297ca,0x15,_0x35aae1[0x3f]),_0x21a709[0x0]=_0x21a709[0x0]+_0x25fc7c|0x0,_0x21a709[0x1]=_0x21a709[0x1]+_0x9cd67e|0x0,_0x21a709[0x2]=_0x21a709[0x2]+_0x453042|0x0,_0x21a709[0x3]=_0x21a709[0x3]+_0x35b0e4|0x0;},'_doFinalize':function(){var _0xccceb0=_0x4b61b1,_0x1326de=this[_0xccceb0(0x37f)],_0x5cacbc=_0x1326de[_0xccceb0(0x177)],_0x13f319=this['_nDataBytes']*0x8,_0x1fb49b=_0x1326de[_0xccceb0(0x170)]*0x8;_0x5cacbc[_0x1fb49b>>>0x5]|=0x80<<0x18-_0x1fb49b%0x20;var _0x4214f4=_0x2264c8[_0xccceb0(0x122)](_0x13f319/0x100000000),_0x378feb=_0x13f319;_0x5cacbc[(_0x1fb49b+0x40>>>0x9<<0x4)+0xf]=(_0x4214f4<<0x8|_0x4214f4>>>0x18)&0xff00ff|(_0x4214f4<<0x18|_0x4214f4>>>0x8)&0xff00ff00,_0x5cacbc[(_0x1fb49b+0x40>>>0x9<<0x4)+0xe]=(_0x378feb<<0x8|_0x378feb>>>0x18)&0xff00ff|(_0x378feb<<0x18|_0x378feb>>>0x8)&0xff00ff00,_0x1326de['sigBytes']=(_0x5cacbc[_0xccceb0(0x371)]+0x1)*0x4,this['_process']();for(var _0x499fbb=this['_hash'],_0x1d0297=_0x499fbb[_0xccceb0(0x177)],_0x2694a5=0x0;_0x2694a5<0x4;_0x2694a5++){var _0x84571d=_0x1d0297[_0x2694a5];_0x1d0297[_0x2694a5]=(_0x84571d<<0x8|_0x84571d>>>0x18)&0xff00ff|(_0x84571d<<0x18|_0x84571d>>>0x8)&0xff00ff00;}return _0x499fbb;},'clone':function(){var _0x3e5ef6=_0x4b61b1,_0x3ce5c5=_0x312023[_0x3e5ef6(0x19b)]['call'](this);return _0x3ce5c5[_0x3e5ef6(0x26d)]=this[_0x3e5ef6(0x26d)][_0x3e5ef6(0x19b)](),_0x3ce5c5;}});function _0xbe41a0(_0x274c6b,_0x1bf2df,_0x1784e2,_0x478451,_0x4b0ca6,_0x2773e5,_0x3dcf7c){var _0x1cd5e3=_0x274c6b+(_0x1bf2df&_0x1784e2|~_0x1bf2df&_0x478451)+_0x4b0ca6+_0x3dcf7c;return(_0x1cd5e3<<_0x2773e5|_0x1cd5e3>>>0x20-_0x2773e5)+_0x1bf2df;}function _0x28ce34(_0x228317,_0x467b0e,_0x4add0e,_0xa08f91,_0x5046a4,_0x4fa052,_0x44b7b3){var _0x119606=_0x228317+(_0x467b0e&_0xa08f91|_0x4add0e&~_0xa08f91)+_0x5046a4+_0x44b7b3;return(_0x119606<<_0x4fa052|_0x119606>>>0x20-_0x4fa052)+_0x467b0e;}function _0x473923(_0x5d0636,_0x498df6,_0x215cd5,_0x5a8b36,_0x583ac5,_0x41ca97,_0x3982b8){var _0x18476e=_0x5d0636+(_0x498df6^_0x215cd5^_0x5a8b36)+_0x583ac5+_0x3982b8;return(_0x18476e<<_0x41ca97|_0x18476e>>>0x20-_0x41ca97)+_0x498df6;}function _0x33662b(_0x4001ad,_0x2637c1,_0x309923,_0x435ed5,_0x528384,_0x407864,_0x3b43a6){var _0x3158f6=_0x4001ad+(_0x309923^(_0x2637c1|~_0x435ed5))+_0x528384+_0x3b43a6;return(_0x3158f6<<_0x407864|_0x3158f6>>>0x20-_0x407864)+_0x2637c1;}_0x438ef4['MD5']=_0x312023[_0x4b61b1(0x357)](_0x5d24ff),_0x438ef4[_0x4b61b1(0x267)]=_0x312023[_0x4b61b1(0x354)](_0x5d24ff);}(Math),_0x98dc63[_0x16c18f(0x107)];}));}(Ke)),Ke[_0xe9826f(0x36a)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe['exports'],ei;function Rn(){var _0x4f1e6a=_0x1b1c1f;return ei||(ei=0x1,function(_0x332890,_0x52a0df){(function(_0x5d6787,_0x341995){_0x332890['exports']=_0x341995(ie());}(Cn,function(_0x33ee28){var _0x9404bc=_0x5187;return(function(){var _0x25b568=_0x5187,_0xf68ce0=_0x33ee28,_0x486339=_0xf68ce0[_0x25b568(0x37e)],_0x29a633=_0x486339[_0x25b568(0x2e5)],_0x4b1735=_0x486339[_0x25b568(0x2c1)],_0x407114=_0xf68ce0[_0x25b568(0x2fe)],_0x21168f=[],_0x1f7324=_0x407114['SHA1']=_0x4b1735[_0x25b568(0xf1)]({'_doReset':function(){var _0x3f7ef5=_0x25b568;this[_0x3f7ef5(0x26d)]=new _0x29a633[(_0x3f7ef5(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58d023,_0x3a2088){var _0x52dd02=_0x25b568;for(var _0x37427a=this[_0x52dd02(0x26d)][_0x52dd02(0x177)],_0x1eab79=_0x37427a[0x0],_0x533a8c=_0x37427a[0x1],_0x366a01=_0x37427a[0x2],_0x458adc=_0x37427a[0x3],_0x319043=_0x37427a[0x4],_0x3612aa=0x0;_0x3612aa<0x50;_0x3612aa++){if(_0x3612aa<0x10)_0x21168f[_0x3612aa]=_0x58d023[_0x3a2088+_0x3612aa]|0x0;else{var _0x502f6d=_0x21168f[_0x3612aa-0x3]^_0x21168f[_0x3612aa-0x8]^_0x21168f[_0x3612aa-0xe]^_0x21168f[_0x3612aa-0x10];_0x21168f[_0x3612aa]=_0x502f6d<<0x1|_0x502f6d>>>0x1f;}var _0x5c553e=(_0x1eab79<<0x5|_0x1eab79>>>0x1b)+_0x319043+_0x21168f[_0x3612aa];_0x3612aa<0x14?_0x5c553e+=(_0x533a8c&_0x366a01|~_0x533a8c&_0x458adc)+0x5a827999:_0x3612aa<0x28?_0x5c553e+=(_0x533a8c^_0x366a01^_0x458adc)+0x6ed9eba1:_0x3612aa<0x3c?_0x5c553e+=(_0x533a8c&_0x366a01|_0x533a8c&_0x458adc|_0x366a01&_0x458adc)-0x70e44324:_0x5c553e+=(_0x533a8c^_0x366a01^_0x458adc)-0x359d3e2a,_0x319043=_0x458adc,_0x458adc=_0x366a01,_0x366a01=_0x533a8c<<0x1e|_0x533a8c>>>0x2,_0x533a8c=_0x1eab79,_0x1eab79=_0x5c553e;}_0x37427a[0x0]=_0x37427a[0x0]+_0x1eab79|0x0,_0x37427a[0x1]=_0x37427a[0x1]+_0x533a8c|0x0,_0x37427a[0x2]=_0x37427a[0x2]+_0x366a01|0x0,_0x37427a[0x3]=_0x37427a[0x3]+_0x458adc|0x0,_0x37427a[0x4]=_0x37427a[0x4]+_0x319043|0x0;},'_doFinalize':function(){var _0x5c9f8d=_0x25b568,_0x1c1313=this[_0x5c9f8d(0x37f)],_0x2ccbcb=_0x1c1313[_0x5c9f8d(0x177)],_0x16c617=this[_0x5c9f8d(0x17d)]*0x8,_0x2c5e65=_0x1c1313[_0x5c9f8d(0x170)]*0x8;return _0x2ccbcb[_0x2c5e65>>>0x5]|=0x80<<0x18-_0x2c5e65%0x20,_0x2ccbcb[(_0x2c5e65+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x16c617/0x100000000),_0x2ccbcb[(_0x2c5e65+0x40>>>0x9<<0x4)+0xf]=_0x16c617,_0x1c1313[_0x5c9f8d(0x170)]=_0x2ccbcb[_0x5c9f8d(0x371)]*0x4,this[_0x5c9f8d(0xea)](),this['_hash'];},'clone':function(){var _0x5242d1=_0x25b568,_0x476bac=_0x4b1735['clone'][_0x5242d1(0xee)](this);return _0x476bac['_hash']=this[_0x5242d1(0x26d)]['clone'](),_0x476bac;}});_0xf68ce0[_0x25b568(0x38f)]=_0x4b1735[_0x25b568(0x357)](_0x1f7324),_0xf68ce0['HmacSHA1']=_0x4b1735[_0x25b568(0x354)](_0x1f7324);}()),_0x33ee28[_0x9404bc(0x38f)];}));}(qe)),qe[_0x4f1e6a(0x36a)];}var ze={'exports':{}},bn=ze['exports'],ti;function yn(){var _0x41f17e=_0x1b1c1f;return ti||(ti=0x1,function(_0x6b9ed7,_0x1a021f){(function(_0xf196b,_0x15348c){var _0xdf9bec=_0x5187;_0x6b9ed7[_0xdf9bec(0x36a)]=_0x15348c(ie());}(bn,function(_0x29decb){(function(){var _0x334744=_0x5187,_0x3cc565=_0x29decb,_0x3a4f13=_0x3cc565[_0x334744(0x37e)],_0x50b06d=_0x3a4f13[_0x334744(0x246)],_0x578bc7=_0x3cc565[_0x334744(0x2ee)],_0x368dfa=_0x578bc7['Utf8'],_0x1a55a9=_0x3cc565['algo'];_0x1a55a9[_0x334744(0xff)]=_0x50b06d['extend']({'init':function(_0x5d10a9,_0x134226){var _0x2bf073=_0x334744;_0x5d10a9=this[_0x2bf073(0x1c4)]=new _0x5d10a9[(_0x2bf073(0x2d2))](),typeof _0x134226==_0x2bf073(0x24a)&&(_0x134226=_0x368dfa[_0x2bf073(0x3a5)](_0x134226));var _0x2e9b62=_0x5d10a9[_0x2bf073(0x3a6)],_0x2cf161=_0x2e9b62*0x4;_0x134226[_0x2bf073(0x170)]>_0x2cf161&&(_0x134226=_0x5d10a9[_0x2bf073(0x261)](_0x134226)),_0x134226[_0x2bf073(0x168)]();for(var _0x44bc7f=this['_oKey']=_0x134226[_0x2bf073(0x19b)](),_0xc06c44=this[_0x2bf073(0xbd)]=_0x134226['clone'](),_0x5c016c=_0x44bc7f[_0x2bf073(0x177)],_0x4fbf87=_0xc06c44[_0x2bf073(0x177)],_0x11c842=0x0;_0x11c842<_0x2e9b62;_0x11c842++)_0x5c016c[_0x11c842]^=0x5c5c5c5c,_0x4fbf87[_0x11c842]^=0x36363636;_0x44bc7f['sigBytes']=_0xc06c44[_0x2bf073(0x170)]=_0x2cf161,this[_0x2bf073(0x13c)]();},'reset':function(){var _0xbb27eb=_0x334744,_0x534f11=this[_0xbb27eb(0x1c4)];_0x534f11[_0xbb27eb(0x13c)](),_0x534f11[_0xbb27eb(0x212)](this[_0xbb27eb(0xbd)]);},'update':function(_0x57fb58){var _0x4d9277=_0x334744;return this[_0x4d9277(0x1c4)]['update'](_0x57fb58),this;},'finalize':function(_0x1c9ace){var _0x2dead3=_0x334744,_0x3dc340=this[_0x2dead3(0x1c4)],_0x35a384=_0x3dc340[_0x2dead3(0x261)](_0x1c9ace);_0x3dc340[_0x2dead3(0x13c)]();var _0x4d5bdc=_0x3dc340[_0x2dead3(0x261)](this[_0x2dead3(0x152)]['clone']()[_0x2dead3(0x2c6)](_0x35a384));return _0x4d5bdc;}});}());}));}(ze)),ze[_0x41f17e(0x36a)];}var On=Ye[_0x1b1c1f(0x36a)],ii;function wi(){var _0x5a3366=_0x1b1c1f;return ii||(ii=0x1,function(_0x48b3c1,_0x2b8666){(function(_0x1260da,_0x561668,_0x115238){var _0x5c4706=_0x5187;_0x48b3c1[_0x5c4706(0x36a)]=_0x561668(ie(),Rn(),yn());}(On,function(_0x2cf4b8){var _0x6ad36d=_0x5187;return(function(){var _0x172715=_0x5187,_0x472a52=_0x2cf4b8,_0xbed706=_0x472a52[_0x172715(0x37e)],_0x175c70=_0xbed706[_0x172715(0x246)],_0x1721c4=_0xbed706[_0x172715(0x2e5)],_0x37f9f5=_0x472a52[_0x172715(0x2fe)],_0x203240=_0x37f9f5[_0x172715(0x107)],_0x1e9239=_0x37f9f5[_0x172715(0x10c)]=_0x175c70[_0x172715(0xf1)]({'cfg':_0x175c70[_0x172715(0xf1)]({'keySize':0x80/0x20,'hasher':_0x203240,'iterations':0x1}),'init':function(_0x5e7b4b){var _0x77314f=_0x172715;this[_0x77314f(0x11d)]=this['cfg'][_0x77314f(0xf1)](_0x5e7b4b);},'compute':function(_0x12a04e,_0x3c97ce){var _0x4dbd09=_0x172715;for(var _0x38fe61,_0x45986e=this['cfg'],_0x3455cb=_0x45986e[_0x4dbd09(0x1b6)][_0x4dbd09(0x34e)](),_0x58e072=_0x1721c4['create'](),_0xd75ed8=_0x58e072[_0x4dbd09(0x177)],_0x2b5b82=_0x45986e[_0x4dbd09(0x221)],_0x455e2e=_0x45986e[_0x4dbd09(0x2ec)];_0xd75ed8[_0x4dbd09(0x371)]<_0x2b5b82;){_0x38fe61&&_0x3455cb['update'](_0x38fe61),_0x38fe61=_0x3455cb[_0x4dbd09(0x212)](_0x12a04e)[_0x4dbd09(0x261)](_0x3c97ce),_0x3455cb[_0x4dbd09(0x13c)]();for(var _0x20ca0c=0x1;_0x20ca0c<_0x455e2e;_0x20ca0c++)_0x38fe61=_0x3455cb[_0x4dbd09(0x261)](_0x38fe61),_0x3455cb[_0x4dbd09(0x13c)]();_0x58e072[_0x4dbd09(0x2c6)](_0x38fe61);}return _0x58e072[_0x4dbd09(0x170)]=_0x2b5b82*0x4,_0x58e072;}});_0x472a52['EvpKDF']=function(_0x408649,_0x54ed94,_0x127ce4){var _0x11bae3=_0x172715;return _0x1e9239[_0x11bae3(0x34e)](_0x127ce4)['compute'](_0x408649,_0x54ed94);};}()),_0x2cf4b8[_0x6ad36d(0x10c)];}));}(Ye)),Ye[_0x5a3366(0x36a)];}var Je={'exports':{}},Nn=Je['exports'],ri;function Ui(){return ri||(ri=0x1,function(_0x4f2b0c,_0xf25468){(function(_0x33f01c,_0x57e28e,_0x37bdef){var _0x272e45=_0x5187;_0x4f2b0c[_0x272e45(0x36a)]=_0x57e28e(ie(),wi());}(Nn,function(_0x3328ab){var _0x4df6e2=_0x5187;_0x3328ab[_0x4df6e2(0x37e)][_0x4df6e2(0x2a9)]||function(_0x59b507){var _0x68fdf3=_0x4df6e2,_0x3d0ca3=_0x3328ab,_0x1955c5=_0x3d0ca3[_0x68fdf3(0x37e)],_0x4e0cc8=_0x1955c5['Base'],_0xee8c49=_0x1955c5[_0x68fdf3(0x2e5)],_0x4289be=_0x1955c5['BufferedBlockAlgorithm'],_0x3e3552=_0x3d0ca3[_0x68fdf3(0x2ee)];_0x3e3552[_0x68fdf3(0xc1)];var _0x59a93b=_0x3e3552[_0x68fdf3(0x1d2)],_0x51bd49=_0x3d0ca3[_0x68fdf3(0x2fe)],_0x1eb9bc=_0x51bd49['EvpKDF'],_0x29df9f=_0x1955c5[_0x68fdf3(0x2a9)]=_0x4289be[_0x68fdf3(0xf1)]({'cfg':_0x4e0cc8[_0x68fdf3(0xf1)](),'createEncryptor':function(_0x37adee,_0x37c47d){var _0x30e49c=_0x68fdf3;return this[_0x30e49c(0x34e)](this[_0x30e49c(0x390)],_0x37adee,_0x37c47d);},'createDecryptor':function(_0x56d8eb,_0x452c02){var _0x49e0e2=_0x68fdf3;return this[_0x49e0e2(0x34e)](this['_DEC_XFORM_MODE'],_0x56d8eb,_0x452c02);},'init':function(_0x3a14ca,_0x53c3c8,_0x263ab7){var _0x29cce8=_0x68fdf3;this[_0x29cce8(0x11d)]=this['cfg'][_0x29cce8(0xf1)](_0x263ab7),this[_0x29cce8(0x28b)]=_0x3a14ca,this[_0x29cce8(0x100)]=_0x53c3c8,this[_0x29cce8(0x13c)]();},'reset':function(){var _0x516065=_0x68fdf3;_0x4289be[_0x516065(0x13c)][_0x516065(0xee)](this),this[_0x516065(0x2fd)]();},'process':function(_0x167cd6){var _0x1fa742=_0x68fdf3;return this[_0x1fa742(0x391)](_0x167cd6),this[_0x1fa742(0xea)]();},'finalize':function(_0x19f075){var _0x46f566=_0x68fdf3;_0x19f075&&this[_0x46f566(0x391)](_0x19f075);var _0xd5b83b=this[_0x46f566(0x171)]();return _0xd5b83b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x392d37(_0x550381){return typeof _0x550381=='string'?_0xe34686:_0x269fcd;}return function(_0x53ad15){return{'encrypt':function(_0x3fc61a,_0xc5c58a,_0x1b865e){return _0x392d37(_0xc5c58a)['encrypt'](_0x53ad15,_0x3fc61a,_0xc5c58a,_0x1b865e);},'decrypt':function(_0x4898b8,_0x4b1b6c,_0x598d49){var _0x16bd32=_0x5187;return _0x392d37(_0x4b1b6c)[_0x16bd32(0x260)](_0x53ad15,_0x4898b8,_0x4b1b6c,_0x598d49);}};};}())});_0x1955c5['StreamCipher']=_0x29df9f['extend']({'_doFinalize':function(){var _0xe0b73=_0x68fdf3,_0x51600f=this[_0xe0b73(0xea)](!0x0);return _0x51600f;},'blockSize':0x1});var _0x386df4=_0x3d0ca3[_0x68fdf3(0xcf)]={},_0x4536b0=_0x1955c5['BlockCipherMode']=_0x4e0cc8[_0x68fdf3(0xf1)]({'createEncryptor':function(_0x1fccab,_0x43c47b){var _0x3bc936=_0x68fdf3;return this[_0x3bc936(0x245)][_0x3bc936(0x34e)](_0x1fccab,_0x43c47b);},'createDecryptor':function(_0x206063,_0x5470a5){var _0x1eb312=_0x68fdf3;return this[_0x1eb312(0x3a1)][_0x1eb312(0x34e)](_0x206063,_0x5470a5);},'init':function(_0x3edad7,_0x3fc033){var _0x3f9f75=_0x68fdf3;this[_0x3f9f75(0x35c)]=_0x3edad7,this['_iv']=_0x3fc033;}}),_0x2dafab=_0x386df4[_0x68fdf3(0x29e)]=(function(){var _0x175804=_0x68fdf3,_0x1d8ff4=_0x4536b0[_0x175804(0xf1)]();_0x1d8ff4[_0x175804(0x245)]=_0x1d8ff4['extend']({'processBlock':function(_0x12e86b,_0x374271){var _0x32f715=_0x175804,_0xc3fbdb=this[_0x32f715(0x35c)],_0x70a4f4=_0xc3fbdb[_0x32f715(0x3a6)];_0x115345['call'](this,_0x12e86b,_0x374271,_0x70a4f4),_0xc3fbdb[_0x32f715(0x22a)](_0x12e86b,_0x374271),this['_prevBlock']=_0x12e86b[_0x32f715(0x13f)](_0x374271,_0x374271+_0x70a4f4);}}),_0x1d8ff4['Decryptor']=_0x1d8ff4[_0x175804(0xf1)]({'processBlock':function(_0x11426e,_0x5483f8){var _0x376e35=_0x175804,_0x33149e=this[_0x376e35(0x35c)],_0x224db2=_0x33149e[_0x376e35(0x3a6)],_0x42d4dc=_0x11426e[_0x376e35(0x13f)](_0x5483f8,_0x5483f8+_0x224db2);_0x33149e[_0x376e35(0x387)](_0x11426e,_0x5483f8),_0x115345[_0x376e35(0xee)](this,_0x11426e,_0x5483f8,_0x224db2),this[_0x376e35(0x247)]=_0x42d4dc;}});function _0x115345(_0x364b1e,_0x27531e,_0x1c122d){var _0x2e5d47=_0x175804,_0x3a6496,_0x4ea29f=this[_0x2e5d47(0xbc)];_0x4ea29f?(_0x3a6496=_0x4ea29f,this[_0x2e5d47(0xbc)]=_0x59b507):_0x3a6496=this[_0x2e5d47(0x247)];for(var _0x213425=0x0;_0x213425<_0x1c122d;_0x213425++)_0x364b1e[_0x27531e+_0x213425]^=_0x3a6496[_0x213425];}return _0x1d8ff4;}()),_0x27703b=_0x3d0ca3['pad']={},_0x47a024=_0x27703b[_0x68fdf3(0x29b)]={'pad':function(_0x5d4780,_0x30c9b7){var _0x368f92=_0x68fdf3;for(var _0x467eb2=_0x30c9b7*0x4,_0x1ca19e=_0x467eb2-_0x5d4780['sigBytes']%_0x467eb2,_0x386c2a=_0x1ca19e<<0x18|_0x1ca19e<<0x10|_0x1ca19e<<0x8|_0x1ca19e,_0x391634=[],_0x14130c=0x0;_0x14130c<_0x1ca19e;_0x14130c+=0x4)_0x391634[_0x368f92(0xb8)](_0x386c2a);var _0x3b8bfb=_0xee8c49[_0x368f92(0x34e)](_0x391634,_0x1ca19e);_0x5d4780[_0x368f92(0x2c6)](_0x3b8bfb);},'unpad':function(_0x3b6a46){var _0x2e69a0=_0x68fdf3,_0x369ff3=_0x3b6a46[_0x2e69a0(0x177)][_0x3b6a46[_0x2e69a0(0x170)]-0x1>>>0x2]&0xff;_0x3b6a46[_0x2e69a0(0x170)]-=_0x369ff3;}};_0x1955c5[_0x68fdf3(0x200)]=_0x29df9f['extend']({'cfg':_0x29df9f['cfg'][_0x68fdf3(0xf1)]({'mode':_0x2dafab,'padding':_0x47a024}),'reset':function(){var _0x5e6be0=_0x68fdf3,_0x3147b4;_0x29df9f[_0x5e6be0(0x13c)][_0x5e6be0(0xee)](this);var _0x595f13=this[_0x5e6be0(0x11d)],_0x1641c2=_0x595f13['iv'],_0xf5301c=_0x595f13[_0x5e6be0(0xcf)];this[_0x5e6be0(0x28b)]==this['_ENC_XFORM_MODE']?_0x3147b4=_0xf5301c[_0x5e6be0(0x294)]:(_0x3147b4=_0xf5301c[_0x5e6be0(0x164)],this['_minBufferSize']=0x1),this[_0x5e6be0(0x30a)]&&this[_0x5e6be0(0x30a)][_0x5e6be0(0x1d8)]==_0x3147b4?this[_0x5e6be0(0x30a)]['init'](this,_0x1641c2&&_0x1641c2[_0x5e6be0(0x177)]):(this['_mode']=_0x3147b4['call'](_0xf5301c,this,_0x1641c2&&_0x1641c2[_0x5e6be0(0x177)]),this[_0x5e6be0(0x30a)]['__creator']=_0x3147b4);},'_doProcessBlock':function(_0xce8d98,_0x4f2ad5){var _0x543449=_0x68fdf3;this[_0x543449(0x30a)][_0x543449(0x26b)](_0xce8d98,_0x4f2ad5);},'_doFinalize':function(){var _0x2f10de=_0x68fdf3,_0x533850,_0x1dc714=this[_0x2f10de(0x11d)]['padding'];return this[_0x2f10de(0x28b)]==this[_0x2f10de(0x390)]?(_0x1dc714[_0x2f10de(0x292)](this[_0x2f10de(0x37f)],this['blockSize']),_0x533850=this[_0x2f10de(0xea)](!0x0)):(_0x533850=this[_0x2f10de(0xea)](!0x0),_0x1dc714[_0x2f10de(0x346)](_0x533850)),_0x533850;},'blockSize':0x80/0x20});var _0xd2934e=_0x1955c5[_0x68fdf3(0x2ae)]=_0x4e0cc8[_0x68fdf3(0xf1)]({'init':function(_0x189ab9){var _0x184079=_0x68fdf3;this[_0x184079(0x1da)](_0x189ab9);},'toString':function(_0x23abe7){var _0xe1d9d7=_0x68fdf3;return(_0x23abe7||this['formatter'])[_0xe1d9d7(0x249)](this);}}),_0x43d3be=_0x3d0ca3['format']={},_0x478077=_0x43d3be['OpenSSL']={'stringify':function(_0x3a8f6c){var _0xdf333e=_0x68fdf3,_0x30e985,_0x165035=_0x3a8f6c[_0xdf333e(0x219)],_0x4c6a99=_0x3a8f6c[_0xdf333e(0x11e)];return _0x4c6a99?_0x30e985=_0xee8c49[_0xdf333e(0x34e)]([0x53616c74,0x65645f5f])['concat'](_0x4c6a99)[_0xdf333e(0x2c6)](_0x165035):_0x30e985=_0x165035,_0x30e985[_0xdf333e(0x103)](_0x59a93b);},'parse':function(_0x49169e){var _0x14c167=_0x68fdf3,_0x4f75f5,_0x34e5af=_0x59a93b[_0x14c167(0x3a5)](_0x49169e),_0x7fe54a=_0x34e5af['words'];return _0x7fe54a[0x0]==0x53616c74&&_0x7fe54a[0x1]==0x65645f5f&&(_0x4f75f5=_0xee8c49[_0x14c167(0x34e)](_0x7fe54a[_0x14c167(0x13f)](0x2,0x4)),_0x7fe54a[_0x14c167(0x11b)](0x0,0x4),_0x34e5af[_0x14c167(0x170)]-=0x10),_0xd2934e[_0x14c167(0x34e)]({'ciphertext':_0x34e5af,'salt':_0x4f75f5});}},_0x269fcd=_0x1955c5[_0x68fdf3(0x31c)]=_0x4e0cc8[_0x68fdf3(0xf1)]({'cfg':_0x4e0cc8['extend']({'format':_0x478077}),'encrypt':function(_0x51a72a,_0x5d6c0e,_0x5114bf,_0x41fe0b){var _0x2d809e=_0x68fdf3;_0x41fe0b=this[_0x2d809e(0x11d)][_0x2d809e(0xf1)](_0x41fe0b);var _0x23d51b=_0x51a72a['createEncryptor'](_0x5114bf,_0x41fe0b),_0x422530=_0x23d51b[_0x2d809e(0x261)](_0x5d6c0e),_0x1ab45b=_0x23d51b[_0x2d809e(0x11d)];return _0xd2934e[_0x2d809e(0x34e)]({'ciphertext':_0x422530,'key':_0x5114bf,'iv':_0x1ab45b['iv'],'algorithm':_0x51a72a,'mode':_0x1ab45b[_0x2d809e(0xcf)],'padding':_0x1ab45b[_0x2d809e(0x35d)],'blockSize':_0x51a72a[_0x2d809e(0x3a6)],'formatter':_0x41fe0b[_0x2d809e(0x270)]});},'decrypt':function(_0x1a72b5,_0x5f5abe,_0x1a0781,_0x2c0943){var _0x2d3c71=_0x68fdf3;_0x2c0943=this[_0x2d3c71(0x11d)][_0x2d3c71(0xf1)](_0x2c0943),_0x5f5abe=this[_0x2d3c71(0x139)](_0x5f5abe,_0x2c0943[_0x2d3c71(0x270)]);var _0xd63277=_0x1a72b5[_0x2d3c71(0x164)](_0x1a0781,_0x2c0943)['finalize'](_0x5f5abe[_0x2d3c71(0x219)]);return _0xd63277;},'_parse':function(_0x24dbf0,_0x1ef6b2){var _0x104ed4=_0x68fdf3;return typeof _0x24dbf0==_0x104ed4(0x24a)?_0x1ef6b2['parse'](_0x24dbf0,this):_0x24dbf0;}}),_0x32bdd8=_0x3d0ca3[_0x68fdf3(0xe7)]={},_0x13961b=_0x32bdd8[_0x68fdf3(0x32b)]={'execute':function(_0x20c8b3,_0x3128b9,_0x26d925,_0x5cf762,_0x290c5e){var _0x49253=_0x68fdf3;if(_0x5cf762||(_0x5cf762=_0xee8c49[_0x49253(0x136)](0x40/0x8)),_0x290c5e)var _0x36d656=_0x1eb9bc[_0x49253(0x34e)]({'keySize':_0x3128b9+_0x26d925,'hasher':_0x290c5e})[_0x49253(0x279)](_0x20c8b3,_0x5cf762);else var _0x36d656=_0x1eb9bc['create']({'keySize':_0x3128b9+_0x26d925})[_0x49253(0x279)](_0x20c8b3,_0x5cf762);var _0x58e341=_0xee8c49[_0x49253(0x34e)](_0x36d656['words'][_0x49253(0x13f)](_0x3128b9),_0x26d925*0x4);return _0x36d656['sigBytes']=_0x3128b9*0x4,_0xd2934e[_0x49253(0x34e)]({'key':_0x36d656,'iv':_0x58e341,'salt':_0x5cf762});}},_0xe34686=_0x1955c5[_0x68fdf3(0xef)]=_0x269fcd[_0x68fdf3(0xf1)]({'cfg':_0x269fcd[_0x68fdf3(0x11d)][_0x68fdf3(0xf1)]({'kdf':_0x13961b}),'encrypt':function(_0x5a8ebf,_0x3944f1,_0x5a346a,_0xe49069){var _0x5f0e93=_0x68fdf3;_0xe49069=this['cfg'][_0x5f0e93(0xf1)](_0xe49069);var _0x8efcc8=_0xe49069[_0x5f0e93(0xe7)][_0x5f0e93(0x194)](_0x5a346a,_0x5a8ebf['keySize'],_0x5a8ebf[_0x5f0e93(0x128)],_0xe49069[_0x5f0e93(0x11e)],_0xe49069[_0x5f0e93(0x1b6)]);_0xe49069['iv']=_0x8efcc8['iv'];var _0x257f65=_0x269fcd[_0x5f0e93(0x147)][_0x5f0e93(0xee)](this,_0x5a8ebf,_0x3944f1,_0x8efcc8[_0x5f0e93(0x38d)],_0xe49069);return _0x257f65[_0x5f0e93(0x1da)](_0x8efcc8),_0x257f65;},'decrypt':function(_0x44fcc4,_0x1e7dd1,_0xf9dda0,_0x38b4f9){var _0x2a3529=_0x68fdf3;_0x38b4f9=this[_0x2a3529(0x11d)][_0x2a3529(0xf1)](_0x38b4f9),_0x1e7dd1=this[_0x2a3529(0x139)](_0x1e7dd1,_0x38b4f9[_0x2a3529(0x270)]);var _0x1a7c2c=_0x38b4f9[_0x2a3529(0xe7)][_0x2a3529(0x194)](_0xf9dda0,_0x44fcc4[_0x2a3529(0x221)],_0x44fcc4['ivSize'],_0x1e7dd1['salt'],_0x38b4f9[_0x2a3529(0x1b6)]);_0x38b4f9['iv']=_0x1a7c2c['iv'];var _0x4d7165=_0x269fcd[_0x2a3529(0x260)][_0x2a3529(0xee)](this,_0x44fcc4,_0x1e7dd1,_0x1a7c2c['key'],_0x38b4f9);return _0x4d7165;}});}();}));}(Je)),Je['exports'];}var Dn=Ge[_0x1b1c1f(0x36a)],ni;function wn(){var _0xfbd94b=_0x1b1c1f;return ni||(ni=0x1,function(_0x18f3e7,_0xec319c){(function(_0x3a358c,_0x339f74,_0x4060f9){var _0x30dcb0=_0x5187;_0x18f3e7[_0x30dcb0(0x36a)]=_0x339f74(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x30639){return(function(){var _0x4101ad=_0x5187,_0x451cd7=_0x30639,_0x526506=_0x451cd7[_0x4101ad(0x37e)],_0x1ef1cf=_0x526506[_0x4101ad(0x200)],_0x8b8df1=_0x451cd7[_0x4101ad(0x2fe)],_0x3256b6=[],_0x48b841=[],_0x2132cc=[],_0x2efd3f=[],_0x4b921b=[],_0x3d9ecc=[],_0x577a85=[],_0x4536d8=[],_0x36330c=[],_0x308741=[];(function(){for(var _0x558186=[],_0x348277=0x0;_0x348277<0x100;_0x348277++)_0x348277<0x80?_0x558186[_0x348277]=_0x348277<<0x1:_0x558186[_0x348277]=_0x348277<<0x1^0x11b;for(var _0x4bdf30=0x0,_0x15aad5=0x0,_0x348277=0x0;_0x348277<0x100;_0x348277++){var _0x4fd8ca=_0x15aad5^_0x15aad5<<0x1^_0x15aad5<<0x2^_0x15aad5<<0x3^_0x15aad5<<0x4;_0x4fd8ca=_0x4fd8ca>>>0x8^_0x4fd8ca&0xff^0x63,_0x3256b6[_0x4bdf30]=_0x4fd8ca,_0x48b841[_0x4fd8ca]=_0x4bdf30;var _0x57ce18=_0x558186[_0x4bdf30],_0x5cd87a=_0x558186[_0x57ce18],_0x5301a6=_0x558186[_0x5cd87a],_0x28f262=_0x558186[_0x4fd8ca]*0x101^_0x4fd8ca*0x1010100;_0x2132cc[_0x4bdf30]=_0x28f262<<0x18|_0x28f262>>>0x8,_0x2efd3f[_0x4bdf30]=_0x28f262<<0x10|_0x28f262>>>0x10,_0x4b921b[_0x4bdf30]=_0x28f262<<0x8|_0x28f262>>>0x18,_0x3d9ecc[_0x4bdf30]=_0x28f262;var _0x28f262=_0x5301a6*0x1010101^_0x5cd87a*0x10001^_0x57ce18*0x101^_0x4bdf30*0x1010100;_0x577a85[_0x4fd8ca]=_0x28f262<<0x18|_0x28f262>>>0x8,_0x4536d8[_0x4fd8ca]=_0x28f262<<0x10|_0x28f262>>>0x10,_0x36330c[_0x4fd8ca]=_0x28f262<<0x8|_0x28f262>>>0x18,_0x308741[_0x4fd8ca]=_0x28f262,_0x4bdf30?(_0x4bdf30=_0x57ce18^_0x558186[_0x558186[_0x558186[_0x5301a6^_0x57ce18]]],_0x15aad5^=_0x558186[_0x558186[_0x15aad5]]):_0x4bdf30=_0x15aad5=0x1;}}());var _0x2d287d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x23b6ee=_0x8b8df1[_0x4101ad(0x111)]=_0x1ef1cf[_0x4101ad(0xf1)]({'_doReset':function(){var _0x2fe915=_0x4101ad,_0x4a9b46;if(!(this['_nRounds']&&this[_0x2fe915(0x2eb)]===this['_key'])){for(var _0x43855a=this[_0x2fe915(0x2eb)]=this[_0x2fe915(0x100)],_0x1ceb0f=_0x43855a[_0x2fe915(0x177)],_0x433d17=_0x43855a['sigBytes']/0x4,_0x377f89=this[_0x2fe915(0x1f5)]=_0x433d17+0x6,_0x429f35=(_0x377f89+0x1)*0x4,_0x31aa61=this['_keySchedule']=[],_0x31c023=0x0;_0x31c023<_0x429f35;_0x31c023++)_0x31c023<_0x433d17?_0x31aa61[_0x31c023]=_0x1ceb0f[_0x31c023]:(_0x4a9b46=_0x31aa61[_0x31c023-0x1],_0x31c023%_0x433d17?_0x433d17>0x6&&_0x31c023%_0x433d17==0x4&&(_0x4a9b46=_0x3256b6[_0x4a9b46>>>0x18]<<0x18|_0x3256b6[_0x4a9b46>>>0x10&0xff]<<0x10|_0x3256b6[_0x4a9b46>>>0x8&0xff]<<0x8|_0x3256b6[_0x4a9b46&0xff]):(_0x4a9b46=_0x4a9b46<<0x8|_0x4a9b46>>>0x18,_0x4a9b46=_0x3256b6[_0x4a9b46>>>0x18]<<0x18|_0x3256b6[_0x4a9b46>>>0x10&0xff]<<0x10|_0x3256b6[_0x4a9b46>>>0x8&0xff]<<0x8|_0x3256b6[_0x4a9b46&0xff],_0x4a9b46^=_0x2d287d[_0x31c023/_0x433d17|0x0]<<0x18),_0x31aa61[_0x31c023]=_0x31aa61[_0x31c023-_0x433d17]^_0x4a9b46);for(var _0x41772a=this['_invKeySchedule']=[],_0x5e2f37=0x0;_0x5e2f37<_0x429f35;_0x5e2f37++){var _0x31c023=_0x429f35-_0x5e2f37;if(_0x5e2f37%0x4)var _0x4a9b46=_0x31aa61[_0x31c023];else var _0x4a9b46=_0x31aa61[_0x31c023-0x4];_0x5e2f37<0x4||_0x31c023<=0x4?_0x41772a[_0x5e2f37]=_0x4a9b46:_0x41772a[_0x5e2f37]=_0x577a85[_0x3256b6[_0x4a9b46>>>0x18]]^_0x4536d8[_0x3256b6[_0x4a9b46>>>0x10&0xff]]^_0x36330c[_0x3256b6[_0x4a9b46>>>0x8&0xff]]^_0x308741[_0x3256b6[_0x4a9b46&0xff]];}}},'encryptBlock':function(_0x55f7df,_0x36ed8f){this['_doCryptBlock'](_0x55f7df,_0x36ed8f,this['_keySchedule'],_0x2132cc,_0x2efd3f,_0x4b921b,_0x3d9ecc,_0x3256b6);},'decryptBlock':function(_0x63276b,_0x2c8203){var _0x2124a5=_0x4101ad,_0x2775ee=_0x63276b[_0x2c8203+0x1];_0x63276b[_0x2c8203+0x1]=_0x63276b[_0x2c8203+0x3],_0x63276b[_0x2c8203+0x3]=_0x2775ee,this[_0x2124a5(0x28e)](_0x63276b,_0x2c8203,this['_invKeySchedule'],_0x577a85,_0x4536d8,_0x36330c,_0x308741,_0x48b841);var _0x2775ee=_0x63276b[_0x2c8203+0x1];_0x63276b[_0x2c8203+0x1]=_0x63276b[_0x2c8203+0x3],_0x63276b[_0x2c8203+0x3]=_0x2775ee;},'_doCryptBlock':function(_0x4893c3,_0xaa9beb,_0x3d0c2b,_0x489fc0,_0x20ee1e,_0x461053,_0x48bdf4,_0x3cd211){var _0x1bfad8=_0x4101ad;for(var _0x3b4845=this[_0x1bfad8(0x1f5)],_0x4f9071=_0x4893c3[_0xaa9beb]^_0x3d0c2b[0x0],_0x32458b=_0x4893c3[_0xaa9beb+0x1]^_0x3d0c2b[0x1],_0x182189=_0x4893c3[_0xaa9beb+0x2]^_0x3d0c2b[0x2],_0x4fe38e=_0x4893c3[_0xaa9beb+0x3]^_0x3d0c2b[0x3],_0x25fde2=0x4,_0x27fe07=0x1;_0x27fe07<_0x3b4845;_0x27fe07++){var _0x59808a=_0x489fc0[_0x4f9071>>>0x18]^_0x20ee1e[_0x32458b>>>0x10&0xff]^_0x461053[_0x182189>>>0x8&0xff]^_0x48bdf4[_0x4fe38e&0xff]^_0x3d0c2b[_0x25fde2++],_0x22b2e2=_0x489fc0[_0x32458b>>>0x18]^_0x20ee1e[_0x182189>>>0x10&0xff]^_0x461053[_0x4fe38e>>>0x8&0xff]^_0x48bdf4[_0x4f9071&0xff]^_0x3d0c2b[_0x25fde2++],_0x2b86d2=_0x489fc0[_0x182189>>>0x18]^_0x20ee1e[_0x4fe38e>>>0x10&0xff]^_0x461053[_0x4f9071>>>0x8&0xff]^_0x48bdf4[_0x32458b&0xff]^_0x3d0c2b[_0x25fde2++],_0x4bbf79=_0x489fc0[_0x4fe38e>>>0x18]^_0x20ee1e[_0x4f9071>>>0x10&0xff]^_0x461053[_0x32458b>>>0x8&0xff]^_0x48bdf4[_0x182189&0xff]^_0x3d0c2b[_0x25fde2++];_0x4f9071=_0x59808a,_0x32458b=_0x22b2e2,_0x182189=_0x2b86d2,_0x4fe38e=_0x4bbf79;}var _0x59808a=(_0x3cd211[_0x4f9071>>>0x18]<<0x18|_0x3cd211[_0x32458b>>>0x10&0xff]<<0x10|_0x3cd211[_0x182189>>>0x8&0xff]<<0x8|_0x3cd211[_0x4fe38e&0xff])^_0x3d0c2b[_0x25fde2++],_0x22b2e2=(_0x3cd211[_0x32458b>>>0x18]<<0x18|_0x3cd211[_0x182189>>>0x10&0xff]<<0x10|_0x3cd211[_0x4fe38e>>>0x8&0xff]<<0x8|_0x3cd211[_0x4f9071&0xff])^_0x3d0c2b[_0x25fde2++],_0x2b86d2=(_0x3cd211[_0x182189>>>0x18]<<0x18|_0x3cd211[_0x4fe38e>>>0x10&0xff]<<0x10|_0x3cd211[_0x4f9071>>>0x8&0xff]<<0x8|_0x3cd211[_0x32458b&0xff])^_0x3d0c2b[_0x25fde2++],_0x4bbf79=(_0x3cd211[_0x4fe38e>>>0x18]<<0x18|_0x3cd211[_0x4f9071>>>0x10&0xff]<<0x10|_0x3cd211[_0x32458b>>>0x8&0xff]<<0x8|_0x3cd211[_0x182189&0xff])^_0x3d0c2b[_0x25fde2++];_0x4893c3[_0xaa9beb]=_0x59808a,_0x4893c3[_0xaa9beb+0x1]=_0x22b2e2,_0x4893c3[_0xaa9beb+0x2]=_0x2b86d2,_0x4893c3[_0xaa9beb+0x3]=_0x4bbf79;},'keySize':0x100/0x20});_0x451cd7[_0x4101ad(0x111)]=_0x1ef1cf['_createHelper'](_0x23b6ee);}()),_0x30639['AES'];}));}(Ge)),Ge[_0xfbd94b(0x36a)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x1b1c1f(0x36a)],oi;function Ln(){var _0x1b2e14=_0x1b1c1f;return oi||(oi=0x1,function(_0x2c9639,_0x1e3c8d){(function(_0x55091a,_0x5ce7a0){var _0x5834ce=_0x5187;_0x2c9639[_0x5834ce(0x36a)]=_0x5ce7a0(ie());}(xn,function(_0x1d54eb){var _0x39feef=_0x5187;return _0x1d54eb['enc'][_0x39feef(0xc1)];}));}(Xe)),Xe[_0x1b2e14(0x36a)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){return ai||(ai=0x1,function(_0x5cde61,_0x3317a4){(function(_0x54f814,_0x5ab230){_0x5cde61['exports']=_0x5ab230(ie());}($n,function(_0x3d307f){var _0x4e4b10=_0x5187;return(function(){var _0x346f=_0x5187;if(typeof ArrayBuffer==_0x346f(0x2b1)){var _0x5e40b7=_0x3d307f,_0x372c33=_0x5e40b7['lib'],_0x394e1d=_0x372c33['WordArray'],_0x5acfbb=_0x394e1d[_0x346f(0x2d2)],_0x1bc1c7=_0x394e1d['init']=function(_0x25d118){var _0x257361=_0x346f;if(_0x25d118 instanceof ArrayBuffer&&(_0x25d118=new Uint8Array(_0x25d118)),(_0x25d118 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x25d118 instanceof Uint8ClampedArray||_0x25d118 instanceof Int16Array||_0x25d118 instanceof Uint16Array||_0x25d118 instanceof Int32Array||_0x25d118 instanceof Uint32Array||_0x25d118 instanceof Float32Array||_0x25d118 instanceof Float64Array)&&(_0x25d118=new Uint8Array(_0x25d118[_0x257361(0x384)],_0x25d118['byteOffset'],_0x25d118[_0x257361(0x240)])),_0x25d118 instanceof Uint8Array){for(var _0x33cff1=_0x25d118[_0x257361(0x240)],_0x18097b=[],_0x5ee98a=0x0;_0x5ee98a<_0x33cff1;_0x5ee98a++)_0x18097b[_0x5ee98a>>>0x2]|=_0x25d118[_0x5ee98a]<<0x18-_0x5ee98a%0x4*0x8;_0x5acfbb[_0x257361(0xee)](this,_0x18097b,_0x33cff1);}else _0x5acfbb[_0x257361(0x39d)](this,arguments);};_0x1bc1c7[_0x346f(0x19e)]=_0x394e1d;}}()),_0x3d307f['lib'][_0x4e4b10(0x2e5)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x1b1c1f(0x36a)],ci;function Gn(){var _0x108fe1=_0x1b1c1f;return ci||(ci=0x1,function(_0x46ca1a,_0x178ca3){(function(_0x190f0f,_0x6744df,_0x42a5b0){_0x46ca1a['exports']=_0x6744df(ie(),Ui());}(Fn,function(_0x43f277){var _0x24a780=_0x5187;return _0x43f277[_0x24a780(0x292)][_0x24a780(0x190)]={'pad':function(){},'unpad':function(){}},_0x43f277[_0x24a780(0x292)][_0x24a780(0x190)];}));}(Qe)),Qe[_0x108fe1(0x36a)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x7aea3a,_0x4797e0){var _0x359319=_0x1b1c1f;const _0x36cea3=_0x4797e0-_0x7aea3a[_0x359319(0x371)]%_0x4797e0,_0xb003cc=String[_0x359319(0x117)](_0x36cea3)[_0x359319(0x3ac)](_0x36cea3);return _0x7aea3a+_0xb003cc;}function Yn(_0xc779a8,_0x10e141){var _0x45babf=_0x1b1c1f;const _0x482249=jn[_0x45babf(0x136)](0x10),_0x4e9e4f=Kn(_0xc779a8,0x10),_0x2cb62c=An[_0x45babf(0x147)](kn[_0x45babf(0x3a5)](_0x4e9e4f),si[_0x45babf(0x3a5)](_0x10e141),{'iv':_0x482249,'padding':Wn});return _0x482249[_0x45babf(0x2c6)](_0x2cb62c[_0x45babf(0x219)])[_0x45babf(0x103)](si);}function qn(){var _0x279fcc=_0x1b1c1f;const _0x531cfd=_0x10e6c4()[_0x279fcc(0x374)];if(_0x531cfd){const _0x1023ea={'time':Math['floor'](Date[_0x279fcc(0x11f)]()/0x3e8),'domain':location[_0x279fcc(0x39e)]};return Yn(JSON[_0x279fcc(0x249)](_0x1023ea),_0x531cfd);}}var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x3398c2,_0x3d2826,_0xa92648,_0x456ad4)=>{for(var _0x44cb82=_0x456ad4>0x1?void 0x0:_0x456ad4?zn(_0x3d2826,_0xa92648):_0x3d2826,_0x136226=_0x3398c2['length']-0x1,_0x2b9ce6;_0x136226>=0x0;_0x136226--)(_0x2b9ce6=_0x3398c2[_0x136226])&&(_0x44cb82=_0x2b9ce6(_0x44cb82)||_0x44cb82);return _0x44cb82;},Xn=(_0x1b3df3,_0x3354fa)=>(_0x4a7f76,_0x1c90b2)=>_0x3354fa(_0x4a7f76,_0x1c90b2,_0x1b3df3);let ot=class{constructor(_0x1fce1c){var _0x571848=_0x1b1c1f;this[_0x571848(0x27d)]=_0x1fce1c,this[_0x571848(0x35f)]();}[_0x1b1c1f(0x35f)](){var _0x16476e=_0x1b1c1f;this[_0x16476e(0x27d)][_0x16476e(0x291)]({'interceptor':(_0x3657f0,_0x5a7e19)=>{var _0x151a85=_0x16476e;const _0xa3efbc=_0x3657f0[_0x151a85(0x2ea)],_0x18f8f6=qn();return _0x18f8f6&&_0xa3efbc[_0x151a85(0x39c)](_0x151a85(0x2e3),_0x18f8f6),_0x5a7e19(_0x3657f0);}});}};ot=Jn([Xn(0x0,_0x56699c(_0x1874ea))],ot);var Zn=Object[_0x1b1c1f(0x282)],Qn=(_0x489bc3,_0x4c675e,_0x10a6b4,_0x5bd5f4)=>{for(var _0x4d258f=_0x5bd5f4>0x1?void 0x0:_0x5bd5f4?Zn(_0x4c675e,_0x10a6b4):_0x4c675e,_0x32b050=_0x489bc3['length']-0x1,_0x4cc50f;_0x32b050>=0x0;_0x32b050--)(_0x4cc50f=_0x489bc3[_0x32b050])&&(_0x4d258f=_0x4cc50f(_0x4d258f)||_0x4d258f);return _0x4d258f;},mt=(_0x2ec0ca,_0x551f08)=>(_0xb721a7,_0x13bd7d)=>_0x551f08(_0xb721a7,_0x13bd7d,_0x2ec0ca);let bt=class extends _0x5d4b24{constructor(_0x47cf23,_0x24f0c6,_0x21e487){var _0x5c049b=_0x1b1c1f;super(),N(this,_0x5c049b(0x114),new _0xfe3385(null)),N(this,_0x5c049b(0x398),this[_0x5c049b(0x114)][_0x5c049b(0xc5)]()),(this[_0x5c049b(0xfe)]=_0x47cf23,this[_0x5c049b(0x1a0)]=_0x24f0c6,this['_localCacheService']=_0x21e487);}async['loadUnit'](_0x142434,_0x5e23d5,_0x2258a3){var _0x540ac3=_0x1b1c1f;this['_unitInfo$'][_0x540ac3(0x34b)]({'unitId':_0x142434,'type':_0x5e23d5,'subUnitId':_0x2258a3});let _0x507ae=null;switch(_0x5e23d5){case Q[_0x540ac3(0x262)]:{_0x507ae=await this[_0x540ac3(0x26e)](_0x142434);break;}case Q[_0x540ac3(0xdf)]:{_0x507ae=await this[_0x540ac3(0x2b8)](_0x142434);break;}default:{this[_0x540ac3(0xfe)][_0x540ac3(0x2f5)]('[DataLoaderService]',_0x540ac3(0xfd));break;}}return _0x507ae;}async['_loadSheet'](_0x28ad47){var _0x1f34d1=_0x1b1c1f,_0x231e26;let _0x4e4df5=0x0;const _0x52adf8=await((_0x231e26=this['_localCacheService'])==null?void 0x0:_0x231e26['loadOfflineData'](_0x28ad47));return _0x52adf8&&(_0x52adf8['awaitingChangeset']||_0x52adf8[_0x1f34d1(0x34f)]['length']!==0x0)&&(_0x4e4df5=_0x52adf8[_0x1f34d1(0x1b9)]),_0x4e4df5===0x0&&this[_0x1f34d1(0xfe)]['debug']('[DataLoaderService]',_0x1f34d1(0x22d)),this[_0x1f34d1(0x1a0)][_0x1f34d1(0x2a7)](_0x28ad47,_0x4e4df5);}async['_loadDoc'](_0x3050a3){var _0x191d3f=_0x1b1c1f,_0xf692ea;let _0x5a59fe=0x0;const _0x105178=await((_0xf692ea=this['_localCacheService'])==null?void 0x0:_0xf692ea[_0x191d3f(0x360)](_0x3050a3));return _0x105178&&(_0x105178[_0x191d3f(0x13e)]||_0x105178[_0x191d3f(0x34f)][_0x191d3f(0x371)]!==0x0)&&(_0x5a59fe=_0x105178[_0x191d3f(0x1b9)]),_0x5a59fe===0x0&&this[_0x191d3f(0xfe)]['debug'](_0x191d3f(0xbf),_0x191d3f(0x22d)),this[_0x191d3f(0x1a0)][_0x191d3f(0x266)](_0x3050a3,_0x5a59fe);}};bt=Qn([mt(0x0,_0x3b556e),mt(0x1,_0x56699c(_0x1420bd)),mt(0x2,_0x34b961(J))],bt);var es=Object[_0x1b1c1f(0x282)],ts=(_0x4c0b54,_0x1900e6,_0x361ba0,_0x4e4470)=>{var _0xd2c5b6=_0x1b1c1f;for(var _0x338e77=_0x4e4470>0x1?void 0x0:_0x4e4470?es(_0x1900e6,_0x361ba0):_0x1900e6,_0x58463d=_0x4c0b54[_0xd2c5b6(0x371)]-0x1,_0x581823;_0x58463d>=0x0;_0x58463d--)(_0x581823=_0x4c0b54[_0x58463d])&&(_0x338e77=_0x581823(_0x338e77)||_0x338e77);return _0x338e77;},gt=(_0x30cb19,_0xe57b2f)=>(_0xd718b0,_0x5afd1f)=>_0xe57b2f(_0xd718b0,_0x5afd1f,_0x30cb19);const is=[_0x1b1c1f(0x314),_0x1b1c1f(0x162),_0x1b1c1f(0x150),_0x1b1c1f(0x27c),_0x1b1c1f(0x17c)],rs=0x5*0x400*0x400,ns=_0x1b1c1f(0x142),ss=_0x1b1c1f(0x15c),os=_0x1b1c1f(0x2db),as='/universer-api/file/{fileID}/sign-url';function _0x5187(_0x380be8,_0x211067){var _0x29db43=_0x29db();return _0x5187=function(_0x51879b,_0x473055){_0x51879b=_0x51879b-0xb2;var _0x3b6571=_0x29db43[_0x51879b];return _0x3b6571;},_0x5187(_0x380be8,_0x211067);}let yt=class{constructor(_0x576ae7,_0x405cb4,_0x3b66c4){var _0x2a9209=_0x1b1c1f;N(this,_0x2a9209(0x141),0x0),N(this,_0x2a9209(0x197),new _0x6d82f8()),N(this,'change$',this[_0x2a9209(0x197)]),N(this,'_imageSourceCache',new Map()),(this[_0x2a9209(0x27d)]=_0x576ae7,this['_configService']=_0x405cb4,this[_0x2a9209(0x28f)]=_0x3b66c4);}[_0x1b1c1f(0x1f8)](_0xa8bf8e){var _0x15a6f8=_0x1b1c1f;this['_waitCount']=_0xa8bf8e,this[_0x15a6f8(0x197)][_0x15a6f8(0x34b)](_0xa8bf8e);}[_0x1b1c1f(0x2e8)](_0x11e4f5,_0x23febc){var _0x1d7486=_0x1b1c1f;if(_0x23febc===_0x217e0a['BASE64']){const _0x12f803=new Image();return _0x12f803[_0x1d7486(0x281)]=_0x11e4f5,_0x12f803;}return this[_0x1d7486(0x1e1)][_0x1d7486(0x1df)](_0x11e4f5);}[_0x1b1c1f(0x19f)](_0x2688c6,_0x4e9daa,_0x227d39){var _0x52ccbc=_0x1b1c1f;_0x4e9daa===_0x217e0a[_0x52ccbc(0x2d5)]||_0x227d39==null||this[_0x52ccbc(0x1e1)]['set'](_0x2688c6,_0x227d39);}async['getImage'](_0x2a1d14){var _0x1b5745=_0x1b1c1f;try{const _0x57dbcd=this[_0x1b5745(0x2bd)](this[_0x1b5745(0x20c)](),''+_0x2a1d14),_0x322f09=(await this['_httpService'][_0x1b5745(0x1df)](_0x57dbcd))['body'];if(_0x322f09[_0x1b5745(0x2f5)]&&_0x322f09['error'][_0x1b5745(0xb5)]===Si['OK']){const _0xd6e05=new URL(_0x322f09[_0x1b5745(0x255)],this[_0x1b5745(0x33a)]())[_0x1b5745(0x103)]();return Promise['resolve'](_0xd6e05);}return Promise[_0x1b5745(0x2dc)](_0x322f09[_0x1b5745(0x2f5)]);}catch(_0x19af7f){return Promise[_0x1b5745(0x2dc)](_0x19af7f);}}async[_0x1b1c1f(0x2ef)](_0x208198){var _0x4747af=_0x1b1c1f;let _0x22a195='';if(!is[_0x4747af(0x172)](_0x208198[_0x4747af(0x2b7)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1bf4c3[_0x4747af(0x206)]));if(_0x208198[_0x4747af(0x380)]>rs)return this[_0x4747af(0x373)](),Promise[_0x4747af(0x2dc)](new Error(_0x1bf4c3[_0x4747af(0x318)]));try{const _0x37e45b=new FormData();_0x37e45b['append'](_0x4747af(0xc8),_0x208198);const _0x151308=this[_0x4747af(0x28f)][_0x4747af(0x388)](),_0x35e095=_0x151308==null?void 0x0:_0x151308[_0x4747af(0xba)]();if(!_0x35e095)throw new Error(_0x4747af(0x376));const _0x4c3ffc=this[_0x4747af(0x182)]()+_0x4747af(0x256)+_0x208198['size'][_0x4747af(0x103)]()+'&source='+Ei[_0x4747af(0x14d)]+_0x4747af(0x32f)+encodeURIComponent(_0x35e095),_0x388939=await(await fetch(_0x4c3ffc,{'method':_0x4747af(0x254),'body':_0x37e45b}))[_0x4747af(0x20a)]();if(typeof _0x388939[_0x4747af(0x2b2)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1bf4c3[_0x4747af(0x1de)]));_0x22a195=_0x388939[_0x4747af(0x2b2)];}catch{return this[_0x4747af(0x373)](),Promise[_0x4747af(0x2dc)](new Error(_0x1bf4c3['ERROR_IMAGE']));}return new Promise((_0x28d6cd,_0x4b26a1)=>{var _0x15ba22=_0x4747af;const _0x3ab06a=new FileReader();_0x3ab06a['readAsDataURL'](_0x208198),_0x3ab06a[_0x15ba22(0x37b)]=_0x7ee88f=>{var _0x4332c3=_0x15ba22,_0x228d0c;const _0x1435c6=(_0x228d0c=_0x7ee88f[_0x4332c3(0x20d)])==null?void 0x0:_0x228d0c[_0x4332c3(0x2a0)];if(_0x1435c6==null){this[_0x4332c3(0x373)](),_0x4b26a1(new Error(_0x1bf4c3[_0x4332c3(0x1de)]));return;}const _0x32aa20=_0x2069ff['generateRandomId'](0x6);_0x28d6cd({'imageId':_0x32aa20,'imageSourceType':_0x217e0a['UUID'],'source':_0x22a195,'base64Cache':_0x1435c6,'status':_0x1bf4c3[_0x4332c3(0xd7)]}),this['_decreaseWaiting']();};});}[_0x1b1c1f(0x182)](){var _0x5be9cb=_0x1b1c1f,_0xf8f4f2,_0x2c618d;const _0x423850=this[_0x5be9cb(0xc7)][_0x5be9cb(0x140)](ns),_0x120020=this['_configService'][_0x5be9cb(0x140)](q);return(_0x2c618d=(_0xf8f4f2=_0x120020==null?void 0x0:_0x120020[_0x5be9cb(0x34a)])!=null?_0xf8f4f2:_0x423850)!=null?_0x2c618d:ss;}[_0x1b1c1f(0x20c)](){var _0x16fb78=_0x1b1c1f,_0x406c10,_0x596325;const _0x46aab4=this[_0x16fb78(0xc7)][_0x16fb78(0x140)](os),_0x5e4359=this[_0x16fb78(0xc7)][_0x16fb78(0x140)](q);return(_0x596325=(_0x406c10=_0x5e4359==null?void 0x0:_0x5e4359[_0x16fb78(0x12d)])!=null?_0x406c10:_0x46aab4)!=null?_0x596325:as;}[_0x1b1c1f(0x33a)](){var _0x1300b0=_0x1b1c1f,_0x354772;const _0xd98a2c=this['_configService']['getConfig'](q);return(_0x354772=_0xd98a2c==null?void 0x0:_0xd98a2c[_0x1300b0(0x235)])!=null?_0x354772:location[_0x1300b0(0x17a)];}['_replaceFileID'](_0x3e6ca6,_0x4dff9a){var _0x3de50f=_0x1b1c1f;return _0x3e6ca6[_0x3de50f(0x1bc)](_0x3de50f(0x228),_0x4dff9a);}[_0x1b1c1f(0x373)](){var _0x334552=_0x1b1c1f;this[_0x334552(0x141)]-=0x1,this[_0x334552(0x197)][_0x334552(0x34b)](this[_0x334552(0x141)]);}};yt=ts([gt(0x0,_0x56699c(_0x1874ea)),gt(0x1,_0x47e21a),gt(0x2,_0x56699c(_0x409ee8))],yt);var cs=Object[_0x1b1c1f(0x282)],hs=(_0x5ded1f,_0x3d52cd,_0x2855f3,_0x4fd600)=>{var _0x3b7690=_0x1b1c1f;for(var _0x34106a=_0x4fd600>0x1?void 0x0:_0x4fd600?cs(_0x3d52cd,_0x2855f3):_0x3d52cd,_0xd0baa8=_0x5ded1f[_0x3b7690(0x371)]-0x1,_0x4068e4;_0xd0baa8>=0x0;_0xd0baa8--)(_0x4068e4=_0x5ded1f[_0xd0baa8])&&(_0x34106a=_0x4068e4(_0x34106a)||_0x34106a);return _0x34106a;},hi=(_0x4cb2ba,_0x2af995)=>(_0x348e09,_0x1a8312)=>_0x2af995(_0x348e09,_0x1a8312,_0x4cb2ba);const _s=_0x1b1c1f(0x24c);let Ot=class{constructor(_0x326895,_0x5142ba){var _0x20d800=_0x1b1c1f;this[_0x20d800(0xc7)]=_0x326895,this['_HTTPService']=_0x5142ba;}[_0x1b1c1f(0x18c)](){var _0x3a7e93=_0x1b1c1f,_0x55681d,_0x2bf099;const _0x539d17=this[_0x3a7e93(0xc7)][_0x3a7e93(0x140)](Ni),_0x4ad2e8=this['_configService'][_0x3a7e93(0x140)](q);return(_0x2bf099=(_0x55681d=_0x4ad2e8==null?void 0x0:_0x4ad2e8[_0x3a7e93(0x159)])!=null?_0x55681d:_0x539d17)!=null?_0x2bf099:_s;}async[_0x1b1c1f(0x207)](_0x481378){var _0x24c8c6=_0x1b1c1f;const _0x4201fa=this['_getAPIPrefixPath']()+_0x24c8c6(0x224);return{'list':[{'title':_0x24c8c6(0x19c),'mentions':(await this[_0x24c8c6(0x1b2)][_0x24c8c6(0x1df)](_0x4201fa,{'params':{'objectID':_0x481378[_0x24c8c6(0xed)],'unitID':_0x481378[_0x24c8c6(0xed)]}}))[_0x24c8c6(0x1d9)][_0x24c8c6(0x326)][_0x24c8c6(0x191)](_0x2f02ed=>({'objectId':_0x2f02ed['id'],'name':_0x2f02ed[_0x24c8c6(0x2d3)][_0x24c8c6(0x337)],'metadata':{'icon':_0x2f02ed[_0x24c8c6(0x2d3)][_0x24c8c6(0x2fb)]},'label':_0x2f02ed[_0x24c8c6(0x2d3)][_0x24c8c6(0x337)],'objectType':_0x193776[_0x24c8c6(0x157)]})),'metadata':{},'type':_0x193776[_0x24c8c6(0x157)]}]};}};Ot=hs([hi(0x0,_0x56699c(_0x47e21a)),hi(0x1,_0x56699c(_0x1874ea))],Ot);var ls=Object[_0x1b1c1f(0x282)],us=(_0x22cdbe,_0xb36303,_0x250f41,_0x11ea41)=>{var _0x4245a8=_0x1b1c1f;for(var _0x1027ba=_0x11ea41>0x1?void 0x0:_0x11ea41?ls(_0xb36303,_0x250f41):_0xb36303,_0x4e6616=_0x22cdbe[_0x4245a8(0x371)]-0x1,_0x53b5dc;_0x4e6616>=0x0;_0x4e6616--)(_0x53b5dc=_0x22cdbe[_0x4e6616])&&(_0x1027ba=_0x53b5dc(_0x1027ba)||_0x1027ba);return _0x1027ba;},Ae=(_0x4113ff,_0x179c3d)=>(_0x5586a2,_0x5d989f)=>_0x179c3d(_0x5586a2,_0x5d989f,_0x4113ff);let at=class extends _0x5d4b24{constructor(_0x594731,_0x50e903,_0x4dcbdd,_0xf1b3b9,_0x4ff6fe){var _0x49b6c7=_0x1b1c1f;super(),this[_0x49b6c7(0x165)]=_0x594731,this[_0x49b6c7(0x28f)]=_0x50e903,this[_0x49b6c7(0x178)]=_0x4dcbdd,this[_0x49b6c7(0x210)]=_0xf1b3b9,this[_0x49b6c7(0x12f)]=_0x4ff6fe,this[_0x49b6c7(0x242)](),this['_initCloseConn']();}[_0x1b1c1f(0x15d)](){var _0x3c94a2=_0x1b1c1f;const _0x2c52dc=async _0x561953=>{var _0x26c58a=_0x5187;(await this[_0x26c58a(0x210)]['requireSession'](_0x561953))[_0x26c58a(0x1d6)][_0x26c58a(0x355)](_0x5c13bf(_0x919f0d=>_0x919f0d[_0x26c58a(0x315)]===_0x4d3ee2[_0x26c58a(0x21c)]),_0x222e32(this[_0x26c58a(0x16c)]))[_0x26c58a(0x257)](_0x589853=>{var _0x487cbf=_0x26c58a;const _0x4ff509=_0x589853,{reason:_0x281347}=_0x4ff509[_0x487cbf(0x23b)];this[_0x487cbf(0x12f)]['emitEvent']({'id':se[_0x487cbf(0x1c2)],'data':_0x281347}),this[_0x487cbf(0x178)]['updatePermissionPoint'](new _0x3925f8(_0x561953)['id'],!0x1),this[_0x487cbf(0x210)][_0x487cbf(0x2f8)](_0x561953);});};_0x39fc2e(this[_0x3c94a2(0x28f)][_0x3c94a2(0x263)](_0x41e5a7[_0x3c94a2(0x262)]),this['_univerInstanceService'][_0x3c94a2(0x263)](_0x41e5a7['UNIVER_DOC']))[_0x3c94a2(0x355)](_0x497298(_0x42a84b=>_0x42a84b[_0x3c94a2(0xba)]()),_0x5c13bf(_0x3b6402=>!_0x7c794f(_0x3b6402)),_0x222e32(this['dispose$']))[_0x3c94a2(0x257)](_0x3e781c=>{_0x2c52dc(_0x3e781c);});}[_0x1b1c1f(0x242)](){var _0x463e54=_0x1b1c1f;const _0x26946e=async _0x2136d2=>{var _0x275ddb=_0x5187;const _0x1d60d9=await this['_collaborationSessionService'][_0x275ddb(0x1ea)](_0x2136d2),_0x2169af=this[_0x275ddb(0x165)][_0x275ddb(0x1df)](_0x467a95);_0x1d60d9[_0x275ddb(0x1d6)][_0x275ddb(0x355)](_0x5c13bf(_0xc75710=>_0xc75710[_0x275ddb(0x315)]===_0x4d3ee2['UPDATE_PERMISSION_OBJ']),_0x222e32(this[_0x275ddb(0x16c)]))[_0x275ddb(0x257)](_0x219ac8=>{var _0x36ee29=_0x275ddb;const _0xb13bd6=_0x219ac8,{objectId:_0x411356}=_0xb13bd6[_0x36ee29(0x23b)];_0x411356===_0x2136d2?_0x2169af[_0x36ee29(0x1ad)](_0x2136d2):_0x2169af[_0x36ee29(0x12b)](_0x2136d2,_0x411356);});};_0x39fc2e(this[_0x463e54(0x28f)][_0x463e54(0x263)](_0x41e5a7[_0x463e54(0x262)]))[_0x463e54(0x355)](_0x497298(_0x1182c5=>_0x1182c5[_0x463e54(0xba)]()),_0x5c13bf(_0xd057d1=>!_0x7c794f(_0xd057d1)),_0x222e32(this[_0x463e54(0x16c)]))[_0x463e54(0x257)](_0x576f32=>{_0x26946e(_0x576f32);});}};at=us([Ae(0x0,_0x56699c(_0x5caeba)),Ae(0x1,_0x409ee8),Ae(0x2,_0x574aa9),Ae(0x3,_0x56699c(Le)),Ae(0x4,_0x56699c(pe))],at);var ds=Object[_0x1b1c1f(0x282)],fs=(_0x16ce76,_0x357021,_0x105965,_0x221ef1)=>{for(var _0x565df1=_0x221ef1>0x1?void 0x0:_0x221ef1?ds(_0x357021,_0x105965):_0x357021,_0x281a23=_0x16ce76['length']-0x1,_0x6586c8;_0x281a23>=0x0;_0x281a23--)(_0x6586c8=_0x16ce76[_0x281a23])&&(_0x565df1=_0x6586c8(_0x565df1)||_0x565df1);return _0x565df1;},_i=(_0x237f97,_0x33875f)=>(_0x2091ed,_0x254d35)=>_0x33875f(_0x2091ed,_0x254d35,_0x237f97);let Nt=class{constructor(_0x4c25c0,_0x425f0c){var _0x580401=_0x1b1c1f;this[_0x580401(0xc7)]=_0x4c25c0,this[_0x580401(0x27d)]=_0x425f0c;}async[_0x1b1c1f(0x1c6)](_0x4902c2,_0x36e200){var _0x80117a=_0x1b1c1f,_0x23513f;const {unitID:_0x407095,type:_0x21b8b3,revision:_0x514b0d=0x0}=_0x36e200,_0x3016b0=this[_0x80117a(0x232)]()+'/'+_0x21b8b3+_0x80117a(0x33c)+_0x407095+'/rev/'+_0x514b0d,_0x113353=(await this[_0x80117a(0x27d)]['get'](_0x3016b0))[_0x80117a(0x1d9)],_0x3a2708=(_0x23513f=_0x113353[_0x80117a(0xf3)])==null?void 0x0:_0x23513f[_0x80117a(0x383)];if(_0x3a2708){const _0x4fdf9d=_0x3a2708==null?void 0x0:_0x3a2708[_0x80117a(0x2bc)],_0x209342=_0x95fff[_0x80117a(0x361)](_0x2f5cb9(_0x4fdf9d));_0x3a2708['originalMeta']=_0x209342,Object['entries'](_0x3a2708[_0x80117a(0xb7)])['forEach'](([,_0x321526])=>{var _0x5b16e0=_0x80117a;const _0x5d5fb5=_0x321526[_0x5b16e0(0x2bc)],_0x39e202=_0x95fff[_0x5b16e0(0x361)](_0x2f5cb9(_0x5d5fb5));_0x321526[_0x5b16e0(0x2bc)]=_0x39e202;});}return _0x113353;}async[_0x1b1c1f(0x1d0)](_0x5102f6,_0x5b4562){var _0x277688=_0x1b1c1f;const {unitID:_0x42f1a6,type:_0x2fb20d,blockID:_0x2a1a8a}=_0x5b4562,_0x5b2875=this[_0x277688(0x211)]()+'/'+_0x2fb20d+_0x277688(0x33c)+_0x42f1a6+_0x277688(0x1fa)+_0x2a1a8a;return(await this['_httpService'][_0x277688(0x1df)](_0x5b2875))[_0x277688(0x1d9)];}async[_0x1b1c1f(0xcc)](_0x172263,_0x3a1d2e){var _0x37d6c9=_0x1b1c1f;const {unitID:_0x55083d,type:_0x36a117,blockID:_0x3c3e1e}=_0x3a1d2e,_0x380ddb=this[_0x37d6c9(0x211)]()+_0x37d6c9(0x1fa)+_0x36a117+_0x37d6c9(0x33c)+_0x55083d+'/block/'+_0x3c3e1e;return(await this[_0x37d6c9(0x27d)]['get'](_0x380ddb))[_0x37d6c9(0x1d9)];}async[_0x1b1c1f(0x2a1)](_0x2da16e,_0x4c908c){var _0x1a04b0=_0x1b1c1f;const {unitID:_0x2e0353,type:_0x4c4fd5,from:_0x2793bf,to:_0x4c21f2}=_0x4c908c,_0x5363e9=this[_0x1a04b0(0x211)]()+'/'+_0x4c4fd5+_0x1a04b0(0x33c)+_0x2e0353+_0x1a04b0(0x218)+_0x2793bf+_0x1a04b0(0x332)+_0x4c21f2;return(await this['_httpService']['get'](_0x5363e9))[_0x1a04b0(0x1d9)];}[_0x1b1c1f(0x232)](){var _0x28e0bc=_0x1b1c1f,_0x4a5bb3;return(_0x4a5bb3=this[_0x28e0bc(0xc7)]['getConfig'](gr))!=null?_0x4a5bb3:this[_0x28e0bc(0x211)]();}[_0x1b1c1f(0x211)](){var _0x1a91dc=_0x1b1c1f,_0x55d303,_0xd5fa92;const _0x19f40c=this[_0x1a91dc(0xc7)][_0x1a91dc(0x140)](pr),_0x557e5d=this[_0x1a91dc(0xc7)]['getConfig'](q);return(_0xd5fa92=(_0x55d303=_0x557e5d==null?void 0x0:_0x557e5d[_0x1a91dc(0x36f)])!=null?_0x55d303:_0x19f40c)!=null?_0xd5fa92:mr;}async['getResourcesRequest'](_0x5c0b24,_0xefd22b){var _0x726ed5=_0x1b1c1f;const _0x2fb98a=_0x726ed5(0x378)+_0xefd22b['type']+'/unit/'+_0xefd22b[_0x726ed5(0x2da)]+_0x726ed5(0x17f);return(await this[_0x726ed5(0x27d)]['get'](_0x2fb98a,{'params':{'resourceId':JSON['stringify'](_0xefd22b[_0x726ed5(0x1c1)])}}))[_0x726ed5(0x1d9)];}[_0x1b1c1f(0x21f)](){var _0x16e7b5=_0x1b1c1f;throw new Error(_0x16e7b5(0x1e7));}['saveSheetBlock'](){var _0x372c43=_0x1b1c1f;throw new Error(_0x372c43(0x1e7));}[_0x1b1c1f(0x36e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b1c1f(0x1fd)](){var _0x364bc5=_0x1b1c1f;throw new Error(_0x364bc5(0x1e7));}[_0x1b1c1f(0x29f)](){var _0x23e6a1=_0x1b1c1f;throw new Error(_0x23e6a1(0x1e7));}};Nt=fs([_i(0x0,_0x47e21a),_i(0x1,_0x56699c(_0x1874ea))],Nt);var vs=Object[_0x1b1c1f(0x282)],ps=(_0x38965e,_0x5acbf2,_0x4928cd,_0x18b146)=>{var _0xea43e1=_0x1b1c1f;for(var _0x517e72=_0x18b146>0x1?void 0x0:_0x18b146?vs(_0x5acbf2,_0x4928cd):_0x5acbf2,_0xa0b663=_0x38965e[_0xea43e1(0x371)]-0x1,_0x42b079;_0xa0b663>=0x0;_0xa0b663--)(_0x42b079=_0x38965e[_0xa0b663])&&(_0x517e72=_0x42b079(_0x517e72)||_0x517e72);return _0x517e72;},Pe=(_0x11ec4e,_0x1acc37)=>(_0x988ab6,_0x32d1d1)=>_0x1acc37(_0x988ab6,_0x32d1d1,_0x11ec4e);let Dt=class extends _0x4ead90{constructor(_0x4728ac,_0x1ff481,_0x288994,_0x247424,_0x32bfe4){var _0x43d2ba=_0x1b1c1f;super(_0x4728ac,_0x1ff481,_0x288994),this[_0x43d2ba(0x23d)]=_0x247424,this[_0x43d2ba(0xfe)]=_0x32bfe4;}[_0x1b1c1f(0x1cf)](_0x4fc6f4,_0x34441d){var _0x39ec4a=_0x1b1c1f;const _0x499e02=this['_getUndoStack'](_0x4fc6f4);if(_0x499e02)try{const _0x345eb9=this[_0x39ec4a(0x1cc)](_0x499e02,_0x34441d);this[_0x39ec4a(0x32c)](_0x4fc6f4,_0x345eb9);}catch(_0x1e1e75){this[_0x39ec4a(0xfe)][_0x39ec4a(0x2f5)](_0x39ec4a(0x298),_0x1e1e75),this['_clearUndo'](_0x4fc6f4);}const _0x178530=this[_0x39ec4a(0x2e4)](_0x4fc6f4);if(_0x178530)try{const _0x37460a=this['_transformStack'](_0x178530,_0x34441d);this['_substituteRedoStack'](_0x4fc6f4,_0x37460a);}catch(_0x39e289){this[_0x39ec4a(0xfe)]['error'](_0x39e289),this[_0x39ec4a(0x1b8)](_0x4fc6f4);}}[_0x1b1c1f(0x351)](_0x289004){var _0x227185=_0x1b1c1f;const _0x455d9e=this[_0x227185(0x2e6)](_0x289004);_0x455d9e&&(_0x455d9e[_0x227185(0x371)]=0x0,this[_0x227185(0x31e)]());}['_clearRedo'](_0x2e43d7){var _0x11fe2c=_0x1b1c1f;const _0x2b67cb=this['_getRedoStack'](_0x2e43d7);_0x2b67cb&&(_0x2b67cb['length']=0x0,this[_0x11fe2c(0x31e)]());}['_substituteUndoStack'](_0x245218,_0x136330){var _0x461b08=_0x1b1c1f;this[_0x461b08(0x2f0)][_0x461b08(0x39c)](_0x245218,_0x136330),this[_0x461b08(0x31e)]();}[_0x1b1c1f(0xf7)](_0x3af02e,_0x330ee3){var _0x404972=_0x1b1c1f;this[_0x404972(0x133)][_0x404972(0x39c)](_0x3af02e,_0x330ee3),this['_updateStatus']();}[_0x1b1c1f(0x1cc)](_0x362c5b,_0x5afd76){var _0x3c58dc=_0x1b1c1f;const _0x4c5c27=[];let _0xb95378=_0x5afd76,_0x989478=_0x5afd76;for(let _0x25e78a=_0x362c5b[_0x3c58dc(0x371)]-0x1;_0x25e78a>=0x0;_0x25e78a--){const {unitID:_0x1f6d6f,undoMutations:_0x26d57c,redoMutations:_0x55d7c5}=_0x362c5b[_0x25e78a],_0x2239a3=this['_transformService'][_0x3c58dc(0x2f7)](_0xb95378,_0x26d57c),_0x22130b=this['_transformService'][_0x3c58dc(0x2f7)](_0x989478,_0x55d7c5);if(_0x3524fd(_0x2239a3)||_0x3524fd(_0x22130b)){this[_0x3c58dc(0xfe)][_0x3c58dc(0x2f5)](_0x3c58dc(0x298),'transformStack\x20failed!',_0x2239a3,_0x22130b);break;}_0xb95378=_0x2239a3['c1Prime'],_0x989478=_0x22130b[_0x3c58dc(0x312)],_0x4c5c27[_0x3c58dc(0xb8)]({'unitID':_0x1f6d6f,'undoMutations':_0x2239a3[_0x3c58dc(0x339)],'redoMutations':_0x22130b[_0x3c58dc(0x339)]});}return _0x4c5c27['reverse']();}};Dt=ps([Pe(0x0,_0x409ee8),Pe(0x1,_0x157a00),Pe(0x2,_0x15dc40),Pe(0x3,_0x591449),Pe(0x4,_0x3b556e)],Dt);var ms=Object[_0x1b1c1f(0x36d)],gs=Object[_0x1b1c1f(0x282)],Ss=(_0x441f01,_0x2ff7a9,_0x3a4503)=>_0x2ff7a9 in _0x441f01?ms(_0x441f01,_0x2ff7a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a4503}):_0x441f01[_0x2ff7a9]=_0x3a4503,Es=(_0x58121e,_0x5c3361,_0x405fe2,_0x514e14)=>{var _0x27473b=_0x1b1c1f;for(var _0x130db5=_0x514e14>0x1?void 0x0:_0x514e14?gs(_0x5c3361,_0x405fe2):_0x5c3361,_0x322e2c=_0x58121e[_0x27473b(0x371)]-0x1,_0x4bf898;_0x322e2c>=0x0;_0x322e2c--)(_0x4bf898=_0x58121e[_0x322e2c])&&(_0x130db5=_0x4bf898(_0x130db5)||_0x130db5);return _0x130db5;},St=(_0x1d2f1d,_0x4bbb71)=>(_0x415936,_0x27fc0b)=>_0x4bbb71(_0x415936,_0x27fc0b,_0x1d2f1d),Is=(_0x2711c1,_0x22c258,_0x9c1b63)=>Ss(_0x2711c1,_0x22c258+'',_0x9c1b63);const Ts=_0x1b1c1f(0x1b1);let wt=class extends _0x29bd2e{constructor(_0xf0909b,_0x344c63,_0x380e9d,_0x50431d){var _0x441526=_0x1b1c1f;super(),N(this,_0x441526(0x28d)),(this[_0x441526(0xfe)]=_0x344c63,this['_injector']=_0x380e9d,this[_0x441526(0xc7)]=_0x50431d);const {..._0x5e6786}=_0x1809b9({},Ur,_0xf0909b);if(!_0x5e6786[_0x441526(0x2d9)])throw new Error(_0x441526(0x18d));this[_0x441526(0x28d)]=_0x5e6786,this[_0x441526(0xc7)][_0x441526(0x12e)](q,_0x5e6786);}[_0x1b1c1f(0x181)](){var _0x3d8fa1=_0x1b1c1f;this[_0x3d8fa1(0xf9)](),this[_0x3d8fa1(0x1ba)]();}[_0x1b1c1f(0xf9)](){var _0xb20dfc=_0x1b1c1f,_0x4fac76,_0x28897d;this['_injector'][_0xb20dfc(0x348)](_0x3842ef)&&this[_0xb20dfc(0xfe)][_0xb20dfc(0x2f5)]('[UniverCollaborationClientPlugin]',_0xb20dfc(0x2be));const _0x2d6175=_0x2b71a7([[_0x3842ef,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this['_config'][_0xb20dfc(0x2d9)]}],[_0x76251b,{'useClass':Nt}],[_0x3f4db3,{'useClass':Rt}],[_0x364d82,{'useClass':yt}],[_0x2d8634,{'useClass':Ot}],[nt],[Ct]],(_0x4fac76=this[_0xb20dfc(0x28d)])==null?void 0x0:_0x4fac76[_0xb20dfc(0x328)]);if(!((_0x28897d=this[_0xb20dfc(0x28d)])!=null&&_0x28897d[_0xb20dfc(0x362)])){const _0x20d4d9=_0x2d6175[_0xb20dfc(0x30d)](([_0x2b8aaf])=>_0x2b8aaf===ht);_0x20d4d9!==-0x1&&_0x2d6175[_0xb20dfc(0x11b)](_0x20d4d9,0x1);}_0x25da33(this['_injector'],_0x2d6175);}['_initDependencies'](){var _0xf970ab=_0x1b1c1f,_0x5551c5,_0x2b6fc4,_0x510606;this[_0xf970ab(0x165)][_0xf970ab(0x1df)](_0x1874ea)[_0xf970ab(0x291)]({'priority':0x14,'interceptor':_0x969bae({'maxParallel':0x6})}),(_0x5551c5=this[_0xf970ab(0x28d)])!=null&&_0x5551c5[_0xf970ab(0x236)]||(_0x2b6fc4=this[_0xf970ab(0x165)][_0xf970ab(0x1df)](J,_0xd36bd0[_0xf970ab(0x166)]))==null||_0x2b6fc4[_0xf970ab(0x188)](),(_0x510606=this[_0xf970ab(0x28d)])!=null&&_0x510606[_0xf970ab(0x335)]&&_0xc09ed3(this[_0xf970ab(0x165)],[[st]]),_0xc09ed3(this[_0xf970ab(0x165)],[[ot],[nt],[at]]);}};Is(wt,_0x1b1c1f(0xc6),Ts),wt=Es([_0x39c1a7(_0x309a14,_0x538f2c),St(0x1,_0x3b556e),St(0x2,_0x56699c(_0x5caeba)),St(0x3,_0x47e21a)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x1ca31a=_0xab3c;(function(_0x2cda1c,_0xc980b3){var _0x267a2d=_0xab3c,_0x541744=_0x2cda1c();while(!![]){try{var _0x43ee31=-parseInt(_0x267a2d(0x42d))/0x1+-parseInt(_0x267a2d(0x1db))/0x2+-parseInt(_0x267a2d(0x3f1))/0x3+parseInt(_0x267a2d(0x48b))/0x4*(parseInt(_0x267a2d(0x362))/0x5)+-parseInt(_0x267a2d(0x2ba))/0x6*(-parseInt(_0x267a2d(0x354))/0x7)+-parseInt(_0x267a2d(0x310))/0x8+parseInt(_0x267a2d(0x219))/0x9*(parseInt(_0x267a2d(0x358))/0xa);if(_0x43ee31===_0xc980b3)break;else _0x541744['push'](_0x541744['shift']());}catch(_0x1556ed){_0x541744['push'](_0x541744['shift']());}}}(_0x2613,0xea865));var Ai=Object['defineProperty'],Pi=(_0x20d5c3,_0x5d41c2,_0x42ba25)=>_0x5d41c2 in _0x20d5c3?Ai(_0x20d5c3,_0x5d41c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42ba25}):_0x20d5c3[_0x5d41c2]=_0x42ba25,N=(_0x396973,_0xe8d211,_0x5a29fa)=>Pi(_0x396973,typeof _0xe8d211!=_0x1ca31a(0x1cd)?_0xe8d211+'':_0xe8d211,_0x5a29fa);import{createIdentifier as _0x37cd51,Inject as _0x279201,Injector as _0x14bd7a,IConfigService as _0x15ab28,ILogService as _0xb82841,Disposable as _0x214e97,DisposableCollection as _0xea3f4,toDisposable as _0x21ba54,IUniverInstanceService as _0x5086cb,UserManagerService as _0x546c1b,UniverInstanceType as _0x2f61ed,LocaleService as _0x27d372,Optional as _0x26e2c8,RxDisposable as _0x149fed,Tools as _0x23f8db,Rectangle as _0x37e5e3,ICommandService as _0x2dccf5,JSONX as _0x358cbd,CommandType as _0x533d08,IUndoRedoService as _0x171cee,IPermissionService as _0x5e29c1,sequenceExecute as _0x1d7b9f,Workbook as _0x27f803,MentionType as _0x1a2a6d,isInternalEditorID as _0x1caaae,LocalUndoRedoService as _0x49e52a,IContextService as _0x5794f8,DependentOn as _0x1e6322,Plugin as _0x2c03c2,merge as _0x39c878,mergeOverrideWithDependencies as _0x108435,IAuthzIoService as _0x358198,IMentionIOService as _0x53a8e6,registerDependencies as _0xaf9b84,Quantity as _0x204aec,touchDependencies as _0x138dff}from'@univerjs/core';import{Subject as _0x17f7db,merge as _0x845fb5,of as _0x34156a,BehaviorSubject as _0x51f60c,takeUntil as _0x430588,ReplaySubject as _0x22e20b,take as _0x256b96,map as _0x2677b9,shareReplay as _0x24cb43,firstValueFrom as _0x2f13b9,concatMap as _0x3cb64e}from'rxjs';import{map as _0xcc06fc,take as _0x30677d,filter as _0x3e6a5f,delay as _0x4afb0a,takeUntil as _0x499019}from'rxjs/operators';import{CollaborationEvent as _0x35ad24,ISnapshotServerService as _0x218e63,parseChangesetToProtocol as _0x22dfb6,ITransformService as _0x2b2951,isTransformMutationsWithChangesetSuccess as _0x33394f,mapDocumentTypeToUniverType as _0x25f772,RevisionService as _0x5e9fed,isTransformChangesetsSuccess as _0x43eeab,CompressMutationService as _0x48803c,parseProtocolChangeset as _0xe006db,SnapshotService as _0x236f08,textEncoder as _0x1f3953,b64DecodeUnicode as _0x5575ef,isTransformMutationsWithChangesetFailure as _0x3926fb,UniverCollaborationPlugin as _0xd222c6}from'@univerjs-pro/collaboration';import{HTTPService as _0x196a2c,ISocketService as _0x229cef,MergeInterceptorFactory as _0xd77f71,HTTPRequest as _0x9421e5,UniverNetworkPlugin as _0x455717,ThresholdInterceptorFactory as _0x5f272f}from'@univerjs/network';import{ITelemetryService as _0x22d9c7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x347793}from'@univerjs/docs';import{SheetsSelectionsService as _0x4fadef,SetSelectionsOperation as _0x2771a5,InsertSheetMutation as _0x44eb31,EmptyMutation as _0x2330d9,WorkbookEditablePermission as _0x121da6,SheetPermissionInitController as _0x2506b0}from'@univerjs/sheets';import{ImageSourceType as _0x56a0ec,ImageUploadStatusType as _0x490e14,IImageIoService as _0x5a0e48}from'@univerjs/drawing';import{getGlobalObject as _0x46eb53}from'@univerjs-pro/license';const mn=_0x1ca31a(0x400),gn='/universer-api/snapshot',Sn='SNAPSHOT_URL_KEY',xs=_0x1ca31a(0x4a3),En=0x7d0,In=_0x1ca31a(0x1ec),Tn=_0x1ca31a(0x3fd),Ls=_0x1ca31a(0x411),Cn=_0x1ca31a(0x4a4),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn=_0x1ca31a(0x201),On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn='/universer-api/comb',Un=_0x1ca31a(0x3c3),wn='/universer-api/oidc/authpage',$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x1ca31a(0x297);var Si=(_0x182453=>(_0x182453[_0x182453['UNDEFINED']=0x0]=_0x1ca31a(0x3b7),_0x182453[_0x182453['OK']=0x1]='OK',_0x182453[_0x182453[_0x1ca31a(0x3cf)]=0x2]=_0x1ca31a(0x3cf),_0x182453[_0x182453[_0x1ca31a(0x27e)]=0x3]='PERMISSION_DENIED',_0x182453[_0x182453['NOT_FOUND']=0x4]=_0x1ca31a(0x3df),_0x182453[_0x182453[_0x1ca31a(0x2e3)]=0x5]='UNAUTHENTICATED',_0x182453[_0x182453['ALREADY_EXISTS']=0x6]=_0x1ca31a(0x3da),_0x182453[_0x182453[_0x1ca31a(0x225)]=0x7]=_0x1ca31a(0x225),_0x182453[_0x182453[_0x1ca31a(0x43d)]=0x8]=_0x1ca31a(0x43d),_0x182453[_0x182453[_0x1ca31a(0x271)]=0x9]=_0x1ca31a(0x271),_0x182453[_0x182453[_0x1ca31a(0x291)]=0xa]=_0x1ca31a(0x291),_0x182453[_0x182453[_0x1ca31a(0x41b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x182453[_0x182453[_0x1ca31a(0x2d4)]=0x1771]=_0x1ca31a(0x2d4),_0x182453[_0x182453['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1ca31a(0x337),_0x182453[_0x182453[_0x1ca31a(0x308)]=0x1773]=_0x1ca31a(0x308),_0x182453[_0x182453[_0x1ca31a(0x2c7)]=0x1b59]=_0x1ca31a(0x2c7),_0x182453[_0x182453[_0x1ca31a(0x36d)]=0x1b5a]=_0x1ca31a(0x36d),_0x182453[_0x182453[_0x1ca31a(0x4ac)]=0x1b5b]=_0x1ca31a(0x4ac),_0x182453[_0x182453[_0x1ca31a(0x2a1)]=0x1b5c]=_0x1ca31a(0x2a1),_0x182453[_0x182453[_0x1ca31a(0x1d5)]=0x1b5d]='APPLY_DUPLICATED',_0x182453[_0x182453[_0x1ca31a(0x303)]=0x1f41]=_0x1ca31a(0x303),_0x182453[_0x182453[_0x1ca31a(0x444)]=0x2329]=_0x1ca31a(0x444),_0x182453[_0x182453[_0x1ca31a(0x3ba)]=0x232a]=_0x1ca31a(0x3ba),_0x182453[_0x182453['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x182453[_0x182453['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1ca31a(0x49e),_0x182453[_0x182453[_0x1ca31a(0x397)]=0x232d]=_0x1ca31a(0x397),_0x182453[_0x182453[_0x1ca31a(0x316)]=0x2711]=_0x1ca31a(0x316),_0x182453[_0x182453[_0x1ca31a(0x32e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x182453[_0x182453['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x182453[_0x182453[_0x1ca31a(0x1dd)]=0x2714]=_0x1ca31a(0x1dd),_0x182453[_0x182453[_0x1ca31a(0x483)]=0x2af9]=_0x1ca31a(0x483),_0x182453[_0x182453['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1ca31a(0x2d3),_0x182453[_0x182453['INVALID_INVITE_CODE']=0x2ee2]=_0x1ca31a(0x1e8),_0x182453[_0x182453['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ca31a(0x221),_0x182453[_0x182453[_0x1ca31a(0x3f5)]=0x2ee4]=_0x1ca31a(0x3f5),_0x182453[_0x182453['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x182453[_0x182453['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x182453))(Si||{}),Q=(_0x10efb0=>(_0x10efb0[_0x10efb0[_0x1ca31a(0x22b)]=0x0]=_0x1ca31a(0x22b),_0x10efb0[_0x10efb0[_0x1ca31a(0x2b9)]=0x1]=_0x1ca31a(0x2b9),_0x10efb0[_0x10efb0['UNIVER_SHEET']=0x2]=_0x1ca31a(0x2c8),_0x10efb0[_0x10efb0[_0x1ca31a(0x212)]=0x3]=_0x1ca31a(0x212),_0x10efb0[_0x10efb0[_0x1ca31a(0x369)]=0x4]=_0x1ca31a(0x369),_0x10efb0[_0x10efb0[_0x1ca31a(0x2fb)]=-0x1]=_0x1ca31a(0x2fb),_0x10efb0))(Q||{}),F=(_0x4a27c6=>(_0x4a27c6[_0x4a27c6['UNKNOWN_CMD']=0x0]=_0x1ca31a(0x1c8),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x441)]=0x1]=_0x1ca31a(0x441),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x40b)]=0x2]=_0x1ca31a(0x40b),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x425)]=0x3]=_0x1ca31a(0x425),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x22f)]=0x4]=_0x1ca31a(0x22f),_0x4a27c6[_0x4a27c6['HEARTBEAT']=0x5]=_0x1ca31a(0x437),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x350)]=0x6]=_0x1ca31a(0x350),_0x4a27c6[_0x4a27c6[_0x1ca31a(0x2fb)]=-0x1]=_0x1ca31a(0x2fb),_0x4a27c6))(F||{}),ge=(_0x585066=>(_0x585066[_0x585066[_0x1ca31a(0x423)]=0x0]=_0x1ca31a(0x423),_0x585066[_0x585066['OK']=0x1]='OK',_0x585066[_0x585066[_0x1ca31a(0x4bd)]=0x2]=_0x1ca31a(0x4bd),_0x585066[_0x585066[_0x1ca31a(0x35d)]=0x3e9]='JOIN_ROOM_FULL',_0x585066[_0x585066[_0x1ca31a(0x1d4)]=0x3ea]=_0x1ca31a(0x1d4),_0x585066[_0x585066[_0x1ca31a(0x3c2)]=0x3eb]=_0x1ca31a(0x3c2),_0x585066[_0x585066['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x585066[_0x585066[_0x1ca31a(0x2fb)]=-0x1]=_0x1ca31a(0x2fb),_0x585066))(ge||{}),Ei=(_0x3036fc=>(_0x3036fc[_0x3036fc[_0x1ca31a(0x2a9)]=0x0]='Undefined',_0x3036fc[_0x3036fc[_0x1ca31a(0x2d1)]=0x1]='HttpImport',_0x3036fc[_0x3036fc[_0x1ca31a(0x281)]=0x2]=_0x1ca31a(0x281),_0x3036fc[_0x3036fc[_0x1ca31a(0x3af)]=0x3]=_0x1ca31a(0x3af),_0x3036fc[_0x3036fc[_0x1ca31a(0x3b5)]=0x4]='UnitSnapshot',_0x3036fc[_0x3036fc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3036fc))(Ei||{});const q=_0x1ca31a(0x464),An={};var se=(_0x5b462a=>(_0x5b462a['OTHER_CLIENT_EDITING']=_0x1ca31a(0x3b0),_0x5b462a[_0x1ca31a(0x27e)]=_0x1ca31a(0x27e),_0x5b462a['CONFLICT']='CONFLICT',_0x5b462a[_0x1ca31a(0x2e6)]='CLOSE_ROOM',_0x5b462a[_0x1ca31a(0x2ab)]=_0x1ca31a(0x2ab),_0x5b462a[_0x1ca31a(0x37d)]=_0x1ca31a(0x37d),_0x5b462a['SOCKET_FAILED']=_0x1ca31a(0x301),_0x5b462a['SUBMIT_CHANGESET_TIMEOUT']=_0x1ca31a(0x1fe),_0x5b462a))(se||{});class pe{constructor(){var _0x3bad2d=_0x1ca31a;N(this,_0x3bad2d(0x3d8),new _0x17f7db()),N(this,_0x3bad2d(0x443),this[_0x3bad2d(0x3d8)]['asObservable']());}[_0x1ca31a(0x338)](_0x395aa8){var _0x3c7872=_0x1ca31a;this[_0x3c7872(0x3d8)][_0x3c7872(0x46f)](_0x395aa8);}}const Pn=_0x37cd51(_0x1ca31a(0x36e));function xn(_0x103e16){var _0x4051a5=_0x1ca31a,_0x1dfdc5,_0x191b58,_0x3536ae,_0x3ed7aa,_0x2aa481;const _0x2477c5=_0x103e16['data'],_0x166216=JSON[_0x4051a5(0x254)](_0x2477c5);switch(_0x166216[_0x4051a5(0x3d1)]){case F[_0x4051a5(0x437)]:case F['HELLO']:{const _0x2bfe93=_0x166216['infoRsp'];return{..._0x166216,'data':_0x2bfe93,'cmd':_0x166216[_0x4051a5(0x3d1)]};}case F['JOIN']:{const _0x1beb6c=_0x166216['joinRsp'];return{..._0x166216,'data':_0x1beb6c,'cmd':_0x166216['cmd']};}case F[_0x4051a5(0x350)]:{const _0xd7777c=_0x166216[_0x4051a5(0x38d)];switch(_0xd7777c['eventID']){case _0x35ad24[_0x4051a5(0x2c6)]:return{..._0x166216,'data':{..._0xd7777c,'data':(_0x1dfdc5=_0xd7777c[_0x4051a5(0x449)])==null?void 0x0:_0x1dfdc5['cs']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24['CHANGESET_ACK']:return{..._0x166216,'data':{..._0xd7777c,'data':(_0x191b58=_0xd7777c[_0x4051a5(0x478)])==null?void 0x0:_0x191b58['cs']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x420)]:return{..._0x166216,'data':{..._0xd7777c,'data':(_0x3536ae=_0xd7777c[_0x4051a5(0x21a)])==null?void 0x0:_0x3536ae['cs']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x21e)]:return{..._0x166216,'data':{..._0xd7777c,'data':(_0x3ed7aa=_0xd7777c['csRejEvent'])==null?void 0x0:_0x3ed7aa['cs']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x3d7)]:return{..._0x166216,'data':{..._0xd7777c,'data':(_0x2aa481=_0xd7777c[_0x4051a5(0x396)])==null?void 0x0:_0x2aa481['cs']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24['UPDATE_CURSOR']:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c['updateCursorEvent']},'cmd':_0x166216['cmd']};case _0x35ad24[_0x4051a5(0x33a)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x488)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24['USERS_LEAVE']:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x422)]},'cmd':_0x166216['cmd']};case _0x35ad24[_0x4051a5(0x259)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x279)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x1e1)]:case _0x35ad24[_0x4051a5(0x1e3)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x47b)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x458)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x279)]},'cmd':_0x166216['cmd']};case _0x35ad24[_0x4051a5(0x26c)]:return{..._0x166216,'data':_0xd7777c,'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24['COMMENT_UPDATE']:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c['commentUpdateEvent']},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x3ab)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x34c)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x370)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x3fc)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};case _0x35ad24[_0x4051a5(0x237)]:return{..._0x166216,'data':{..._0xd7777c,'data':_0xd7777c[_0x4051a5(0x3d0)]},'cmd':_0x166216[_0x4051a5(0x3d1)]};default:return _0x166216;}}default:return _0x166216;}}function Ln(_0x47ac21){var _0x2857ab=_0x1ca31a;switch(_0x47ac21[_0x2857ab(0x3d1)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x2857ab(0x4b5)]({'cmd':_0x47ac21[_0x2857ab(0x3d1)],'routeKey':_0x47ac21[_0x2857ab(0x39a)]});case F[_0x2857ab(0x22f)]:{let _0xcba65a;switch(_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x277)]){case _0x35ad24[_0x2857ab(0x4a2)]:{_0xcba65a={'eventID':_0x35ad24['UPDATE_CURSOR'],'updateCursorEvent':_0x47ac21['data']['data']};break;}case _0x35ad24[_0x2857ab(0x1f3)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x1f3)],'leaveEvent':_0x47ac21['data'][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x33a)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x33a)],'joinEvent':_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x259)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x259)],'liveShareNewHost':_0x47ac21['data'][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x1e3)]:{_0xcba65a={'eventID':_0x35ad24['LIVESHARE_OPERATION'],'liveShareOperation':_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x458)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x458)],'liveShareTerminate':_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x24c)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x24c)],'liveShareRequestHost':_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x3b2)]};break;}case _0x35ad24[_0x2857ab(0x1e1)]:{_0xcba65a={'eventID':_0x35ad24[_0x2857ab(0x1e1)]};break;}default:_0xcba65a={'eventID':_0x47ac21[_0x2857ab(0x3b2)][_0x2857ab(0x277)]};}return JSON[_0x2857ab(0x4b5)]({'cmd':_0x47ac21['cmd'],'routeKey':_0x47ac21[_0x2857ab(0x39a)],'collaMsg':_0xcba65a});}case F['JOIN']:return JSON[_0x2857ab(0x4b5)]({'cmd':_0x47ac21[_0x2857ab(0x3d1)],'routeKey':_0x47ac21[_0x2857ab(0x39a)],'joinReq':_0x47ac21[_0x2857ab(0x3b2)]});case F['LEAVE']:return JSON[_0x2857ab(0x4b5)]({'cmd':_0x47ac21['cmd'],'routeKey':_0x47ac21[_0x2857ab(0x39a)],'leaveReq':_0x47ac21[_0x2857ab(0x3b2)]});default:throw new Error(_0x2857ab(0x3c0));}}var Mn=Object[_0x1ca31a(0x459)],kn=(_0x365b58,_0x4bfd92,_0x4b99f2,_0x1dba87)=>{var _0x1a0ce5=_0x1ca31a;for(var _0x3e2b21=_0x1dba87>0x1?void 0x0:_0x1dba87?Mn(_0x4bfd92,_0x4b99f2):_0x4bfd92,_0x1382e0=_0x365b58[_0x1a0ce5(0x272)]-0x1,_0x25237e;_0x1382e0>=0x0;_0x1382e0--)(_0x25237e=_0x365b58[_0x1382e0])&&(_0x3e2b21=_0x25237e(_0x3e2b21)||_0x3e2b21);return _0x3e2b21;},we=(_0x21189c,_0x2d552d)=>(_0x3fa4ed,_0x131d31)=>_0x2d552d(_0x3fa4ed,_0x131d31,_0x21189c);const Ii=_0x37cd51(_0x1ca31a(0x33e));function $n(_0x4f5e88,_0x186f8c,_0x4c28ce){var _0x2387f0=_0x1ca31a;return _0x4f5e88+'/'+_0x186f8c+_0x2387f0(0x4b2)+_0x4c28ce+_0x2387f0(0x30a);}let Gt=class extends _0x214e97{constructor(_0x3e97d5,_0x18775b,_0x3d1c5b,_0x4c76ec,_0x1ff390){var _0x457b82=_0x1ca31a;super(),this['_injector']=_0x3e97d5,this['_httpService']=_0x18775b,this['_configService']=_0x3d1c5b,this['_logService']=_0x4c76ec,this[_0x457b82(0x471)]=_0x1ff390;}[_0x1ca31a(0x20f)](_0x22773a){var _0x1ae494=_0x1ca31a;const _0x360541=this[_0x1ae494(0x2d8)]['get'](_0x229cef);if(!_0x360541)throw new Error(_0x1ae494(0x3fa));const _0x4c9fa7=_0x360541[_0x1ae494(0x415)](_0x22773a);if(!_0x4c9fa7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x538927=new _0xea3f4(),_0x23288d=new _0x17f7db();_0x538927[_0x1ae494(0x361)](_0x4c9fa7[_0x1ae494(0x32b)]['subscribe'](_0x5cbdee=>_0x23288d[_0x1ae494(0x46f)](_0x5cbdee))),_0x538927[_0x1ae494(0x361)](_0x21ba54(()=>_0x23288d[_0x1ae494(0x4a1)]()));const _0x85fb2c=new _0x17f7db();_0x538927[_0x1ae494(0x361)](_0x4c9fa7[_0x1ae494(0x47a)]['subscribe'](_0x176388=>_0x85fb2c['next'](_0x176388))),_0x538927[_0x1ae494(0x361)](_0x21ba54(()=>_0x85fb2c[_0x1ae494(0x4a1)]()));const _0x5116fa=new _0x17f7db();_0x538927[_0x1ae494(0x361)](_0x4c9fa7[_0x1ae494(0x29e)]['subscribe'](_0x128b85=>{var _0x476f61=_0x1ae494;const _0x3462da=xn(_0x128b85);_0x5116fa[_0x476f61(0x46f)](_0x3462da);})),_0x538927[_0x1ae494(0x361)](_0x21ba54(()=>_0x5116fa[_0x1ae494(0x4a1)]()));let _0x367838;const _0x6acd9f=()=>{var _0x57d4d6=_0x1ae494;_0x85fb2c['next'](new Event(_0x57d4d6(0x3c6))),_0x23288d['next'](new Event(_0x57d4d6(0x3c6))),_0x367838[_0x57d4d6(0x26f)]();};return _0x367838={'memberID':'','close$':_0x23288d[_0x1ae494(0x261)](),'error$':_0x85fb2c['asObservable'](),'open$':_0x4c9fa7[_0x1ae494(0x4b0)],'message$':_0x5116fa[_0x1ae494(0x261)](),'send':_0x29f0d1=>{var _0x3a8ef5=_0x1ae494;if(_0x29f0d1[_0x3a8ef5(0x3d1)]===F[_0x3a8ef5(0x22f)]){if(_0x29f0d1[_0x3a8ef5(0x3b2)][_0x3a8ef5(0x277)]===_0x35ad24[_0x3a8ef5(0x3f2)]){this[_0x3a8ef5(0x2bd)](_0x367838,_0x29f0d1['data'])[_0x3a8ef5(0x31d)](_0x3715db=>{var _0x5b944f=_0x3a8ef5;this[_0x5b944f(0x2a2)][_0x5b944f(0x2ea)](_0x3715db),_0x6acd9f();});return;}if(_0x29f0d1['data'][_0x3a8ef5(0x277)]===_0x35ad24[_0x3a8ef5(0x302)]){const _0x53e775=_0x29f0d1[_0x3a8ef5(0x3b2)];this[_0x3a8ef5(0x3f7)](_0x53e775)[_0x3a8ef5(0x215)](_0x30ed41=>{var _0x53c074=_0x3a8ef5;_0x5116fa['next']({'cmd':F[_0x53c074(0x350)],'code':ge['OK'],'routeKey':_0x53e775[_0x53c074(0x3b2)][_0x53c074(0x283)],'routeType':'','data':{'eventID':_0x35ad24[_0x53c074(0x355)],'data':{'changesets':_0x30ed41}}});})[_0x3a8ef5(0x31d)](_0x5aad75=>{var _0xa47be5=_0x3a8ef5;this[_0xa47be5(0x2a2)][_0xa47be5(0x2ea)](_0x5aad75),_0x6acd9f();});return;}}_0x4c9fa7[_0x3a8ef5(0x2dc)](Ln(_0x29f0d1));},'close':()=>{var _0x3835e3=_0x1ae494;_0x4c9fa7['close'](),_0x538927[_0x3835e3(0x4be)]();}},_0x367838;}async['_submitChangeset'](_0x6b551a,_0x1da72){var _0xf65743=_0x1ca31a,_0x531386,_0x2a75f8;const {unitType:_0x4e022c,unitID:_0x50cd7d,changeset:_0x272016}=_0x1da72['data'],_0x104ff9={'unitID':_0x50cd7d,'memberID':_0x6b551a['memberID'],'type':_0x4e022c,'changeset':_0x22dfb6(_0x272016)},_0x5bd50b=this['_configService'][_0xf65743(0x49f)](Nn),_0x51febd=this[_0xf65743(0x47e)][_0xf65743(0x49f)](q),_0x1d221f=$n((_0x2a75f8=(_0x531386=_0x51febd==null?void 0x0:_0x51febd['collabSubmitChangesetUrl'])!=null?_0x531386:_0x5bd50b)!=null?_0x2a75f8:Dn,_0x4e022c,_0x50cd7d);try{await this['_httpService'][_0xf65743(0x3a6)](_0x1d221f,{'body':_0x104ff9});}catch(_0x115fc7){throw this[_0xf65743(0x2a2)][_0xf65743(0x2ea)](_0xf65743(0x335),_0xf65743(0x348)),_0x115fc7;}}async[_0x1ca31a(0x3f7)](_0x282ff3){var _0x633c85=_0x1ca31a;const {unitID:_0x6403f1,from:_0x297376,to:_0x2eaffd,unitType:_0x5e907e}=_0x282ff3[_0x633c85(0x3b2)];return(await this[_0x633c85(0x471)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x6403f1,'type':_0x5e907e,'from':_0x297376,'to':_0x2eaffd}))['changesets'];}};Gt=kn([we(0x0,_0x279201(_0x14bd7a)),we(0x1,_0x279201(_0x196a2c)),we(0x2,_0x15ab28),we(0x3,_0xb82841),we(0x4,_0x218e63)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x479120){var _0x5b6d16=_0x1ca31a;return JSON[_0x5b6d16(0x4b5)](_0x479120)[_0x5b6d16(0x272)];}class Ti{constructor(){var _0x477c7d=_0x1ca31a;N(this,_0x477c7d(0x31b),new _0x17f7db()),N(this,_0x477c7d(0x414),this[_0x477c7d(0x31b)][_0x477c7d(0x261)]());}[_0x1ca31a(0x3bf)](_0x4c2710){var _0x8c97af=_0x1ca31a;this[_0x8c97af(0x31b)][_0x8c97af(0x46f)](_0x4c2710);}}var jn=Object[_0x1ca31a(0x459)],Fn=(_0x23cf9d,_0x435edf,_0x3bd685,_0x3cb359)=>{var _0x8327ef=_0x1ca31a;for(var _0x2353f6=_0x3cb359>0x1?void 0x0:_0x3cb359?jn(_0x435edf,_0x3bd685):_0x435edf,_0x11c2f5=_0x23cf9d[_0x8327ef(0x272)]-0x1,_0x1ec8a1;_0x11c2f5>=0x0;_0x11c2f5--)(_0x1ec8a1=_0x23cf9d[_0x11c2f5])&&(_0x2353f6=_0x1ec8a1(_0x2353f6)||_0x2353f6);return _0x2353f6;},Wt=(_0x3b5a26,_0x744f77)=>(_0x43ab47,_0x55e4b3)=>_0x744f77(_0x43ab47,_0x55e4b3,_0x3b5a26);let xe=class extends _0x214e97{constructor(_0x1d5697,_0x11bdd9){var _0x4ae8e7=_0x1ca31a;super(),N(this,_0x4ae8e7(0x2ec),new Map()),N(this,'_roomCreated$',new _0x17f7db()),(this[_0x4ae8e7(0x23f)]=_0x1d5697,this[_0x4ae8e7(0x439)]=_0x11bdd9,this[_0x4ae8e7(0x28c)](_0x845fb5(this[_0x4ae8e7(0x23f)][_0x4ae8e7(0x389)](_0x2f61ed[_0x4ae8e7(0x2c8)])['pipe'](_0xcc06fc(_0x2ce9c3=>_0x2ce9c3[_0x4ae8e7(0x3b1)]())),this[_0x4ae8e7(0x23f)][_0x4ae8e7(0x389)](_0x2f61ed[_0x4ae8e7(0x2b9)])[_0x4ae8e7(0x21b)](_0xcc06fc(_0x54a98d=>_0x54a98d[_0x4ae8e7(0x3b1)]())),this[_0x4ae8e7(0x23f)][_0x4ae8e7(0x389)](_0x2f61ed[_0x4ae8e7(0x212)])[_0x4ae8e7(0x21b)](_0xcc06fc(_0x5b510d=>_0x5b510d[_0x4ae8e7(0x3b1)]())))['subscribe'](_0x225dec=>this[_0x4ae8e7(0x228)](_0x225dec))));}[_0x1ca31a(0x2dd)](_0x1f9b7c){var _0x1290f3=_0x1ca31a;return this[_0x1290f3(0x2ec)][_0x1290f3(0x2f1)](_0x1f9b7c)?_0x34156a(this[_0x1290f3(0x2ec)][_0x1290f3(0x1d2)](_0x1f9b7c)):this[_0x1290f3(0x24d)][_0x1290f3(0x21b)](_0xcc06fc(_0x81c2e5=>{if(_0x81c2e5===_0x1f9b7c)return this['_roomMembers']['get'](_0x81c2e5);}));}['setCurrentUser'](_0xe69b27){var _0x37dbc4=_0x1ca31a;this[_0x37dbc4(0x439)]['setCurrentUser'](_0xe69b27);}[_0x1ca31a(0x1fa)](){var _0x175a5d=_0x1ca31a;return this[_0x175a5d(0x439)][_0x175a5d(0x1fa)]();}[_0x1ca31a(0x34b)](_0x54c414,_0x2a8e36){var _0x3db91f=_0x1ca31a;let _0x14288b=this[_0x3db91f(0x2ec)][_0x3db91f(0x1d2)](_0x54c414);_0x14288b||(_0x14288b=new Vn(),this[_0x3db91f(0x2ec)][_0x3db91f(0x319)](_0x54c414,_0x14288b),this[_0x3db91f(0x24d)][_0x3db91f(0x46f)](_0x54c414)),_0x14288b['updateMember'](_0x2a8e36);}[_0x1ca31a(0x47f)](_0x2612f3,_0x5a8b85){var _0x4d7889=_0x1ca31a;const _0x2e6caf=this[_0x4d7889(0x2ec)][_0x4d7889(0x1d2)](_0x2612f3);_0x2e6caf&&_0x2e6caf[_0x4d7889(0x47f)](_0x5a8b85);}['getRoom'](_0x4f27f0){var _0x4657f9=_0x1ca31a;return this[_0x4657f9(0x2ec)][_0x4657f9(0x1d2)](_0x4f27f0);}[_0x1ca31a(0x342)](_0x2d18d6,_0x4a71cb){var _0x39ebcf=_0x1ca31a;const _0xc44a9=this['_roomMembers'][_0x39ebcf(0x1d2)](_0x2d18d6);if(_0xc44a9)return _0xc44a9[_0x39ebcf(0x342)](_0x4a71cb);}[_0x1ca31a(0x228)](_0x9cd4d){var _0x1b6965=_0x1ca31a;const _0x571dd4=this['_roomMembers'][_0x1b6965(0x1d2)](_0x9cd4d);_0x571dd4&&(_0x571dd4['dispose'](),this['_roomMembers']['delete'](_0x9cd4d));}[_0x1ca31a(0x4be)](){var _0x752cd0=_0x1ca31a;this[_0x752cd0(0x2ec)][_0x752cd0(0x288)](_0x1b7fa3=>_0x1b7fa3['dispose']()),this[_0x752cd0(0x2ec)][_0x752cd0(0x3e2)](),this[_0x752cd0(0x24d)]['complete']();}};xe=Fn([Wt(0x0,_0x5086cb),Wt(0x1,_0x279201(_0x546c1b))],xe);class Vn extends _0x214e97{constructor(){var _0x1c61b0=_0x1ca31a;super(...arguments),N(this,_0x1c61b0(0x490),new Map()),N(this,'_members$',new _0x51f60c(this[_0x1c61b0(0x490)])),N(this,_0x1c61b0(0x3e1),this['_members$'][_0x1c61b0(0x261)]());}[_0x1ca31a(0x4be)](){var _0x6c40e1=_0x1ca31a;this[_0x6c40e1(0x490)][_0x6c40e1(0x3e2)]();}['updateMember'](_0x496122){var _0x29151d=_0x1ca31a;this[_0x29151d(0x490)][_0x29151d(0x319)](_0x496122['memberID'],_0x496122),this[_0x29151d(0x4aa)]();}[_0x1ca31a(0x47f)](_0x3d3182){var _0x3eb0a2=_0x1ca31a;this[_0x3eb0a2(0x490)][_0x3eb0a2(0x1df)](_0x3d3182);}['getMember'](_0x5b1be4){var _0x5638a2=_0x1ca31a;return this[_0x5638a2(0x490)][_0x5638a2(0x1d2)](_0x5b1be4);}[_0x1ca31a(0x401)](){var _0x245788=_0x1ca31a;return Array[_0x245788(0x204)](this[_0x245788(0x490)][_0x245788(0x399)]());}['_emitMembers'](){var _0x3989d4=_0x1ca31a;this[_0x3989d4(0x493)][_0x3989d4(0x46f)](this['_members']);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x41af13,_0x118c24,_0x252083,_0x2af617)=>{for(var _0x3a1ce6=_0x2af617>0x1?void 0x0:_0x2af617?Gn(_0x118c24,_0x252083):_0x118c24,_0x46a340=_0x41af13['length']-0x1,_0x5e51ed;_0x46a340>=0x0;_0x46a340--)(_0x5e51ed=_0x41af13[_0x46a340])&&(_0x3a1ce6=_0x5e51ed(_0x3a1ce6)||_0x3a1ce6);return _0x3a1ce6;},me=(_0x12c6bf,_0x1de4aa)=>(_0x327d50,_0x1f3859)=>_0x1de4aa(_0x327d50,_0x1f3859,_0x12c6bf),Ee=(_0x4eab72=>(_0x4eab72[_0x4eab72[_0x1ca31a(0x2b4)]=0x0]='IDLE',_0x4eab72[_0x4eab72[_0x1ca31a(0x428)]=0x1]=_0x1ca31a(0x428),_0x4eab72[_0x4eab72[_0x1ca31a(0x460)]=0x2]='OFFLINE',_0x4eab72[_0x4eab72['ONLINE']=0x3]=_0x1ca31a(0x3ee),_0x4eab72))(Ee||{});const Kt={[ge['FAIL']]:'session.join-failed',[ge[_0x1ca31a(0x35d)]]:_0x1ca31a(0x373),[ge[_0x1ca31a(0x1d4)]]:'session.room-not-exists',[ge[_0x1ca31a(0x3c2)]]:_0x1ca31a(0x20b),[ge[_0x1ca31a(0x278)]]:_0x1ca31a(0x433)};let Et=class extends _0x149fed{constructor(_0x2a8508,_0x58a969,_0x49f15f,_0x408aa4,_0x1490f1,_0xafe50a,_0x13195e,_0x3883e4,_0x388420){var _0x117e3d=_0x1ca31a;super(),N(this,_0x117e3d(0x35a),new _0x51f60c(0x0)),N(this,_0x117e3d(0x255),this[_0x117e3d(0x35a)][_0x117e3d(0x261)]()),N(this,_0x117e3d(0x3d8),new _0x17f7db()),N(this,_0x117e3d(0x443),this[_0x117e3d(0x3d8)][_0x117e3d(0x261)]()),N(this,'_socket'),N(this,_0x117e3d(0x49a)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x117e3d(0x413),null),(this['_unitID']=_0x2a8508,this[_0x117e3d(0x2a2)]=_0x49f15f,this['_configService']=_0x408aa4,this['_localeService']=_0x1490f1,this[_0x117e3d(0x440)]=_0xafe50a,this[_0x117e3d(0x217)]=_0x13195e,this[_0x117e3d(0x331)]=_0x3883e4,this[_0x117e3d(0x1e4)]=_0x388420,this['_shouldReportTelemetry']=!!this[_0x117e3d(0x1e4)],_0x58a969[_0x117e3d(0x21b)](_0x430588(this[_0x117e3d(0x3e4)]))['subscribe'](_0x306a48=>{var _0x59b0a8=_0x117e3d,_0x27587c;typeof _0x306a48>'u'||(this[_0x59b0a8(0x38a)]=_0x306a48,_0x306a48?(this[_0x59b0a8(0x365)](_0x306a48),this[_0x59b0a8(0x49a)]=_0x306a48[_0x59b0a8(0x29e)]['subscribe'](_0x297723=>{var _0x2ab923=_0x59b0a8;_0x297723[_0x2ab923(0x39a)]===this[_0x2ab923(0x202)]&&this[_0x2ab923(0x328)](_0x297723);})):(this[_0x59b0a8(0x380)](),this[_0x59b0a8(0x35a)][_0x59b0a8(0x46f)](0x2),(_0x27587c=this[_0x59b0a8(0x49a)])==null||_0x27587c['unsubscribe'](),this[_0x59b0a8(0x49a)]=null));}));}get[_0x1ca31a(0x39b)](){var _0x2c4b6e=_0x1ca31a;return this[_0x2c4b6e(0x35a)][_0x2c4b6e(0x222)]();}[_0x1ca31a(0x3be)](){var _0x511524=_0x1ca31a,_0x4ed402,_0x13a42b;return(_0x13a42b=(_0x4ed402=this[_0x511524(0x38a)])==null?void 0x0:_0x4ed402[_0x511524(0x23d)])!=null?_0x13a42b:null;}['dispose'](){var _0x2f1622=_0x1ca31a;super[_0x2f1622(0x4be)](),this[_0x2f1622(0x3e4)][_0x2f1622(0x46f)](),this[_0x2f1622(0x3e4)][_0x2f1622(0x4a1)]();}[_0x1ca31a(0x26f)](){var _0x28331e=_0x1ca31a,_0x344bbc,_0x1f5769;this[_0x28331e(0x380)](),(_0x344bbc=this['_socket'])==null||_0x344bbc[_0x28331e(0x2dc)]({'cmd':F[_0x28331e(0x425)],'data':{'roomID':this['_unitID']}}),(_0x1f5769=this[_0x28331e(0x38a)])==null||_0x1f5769[_0x28331e(0x26f)](),this[_0x28331e(0x3d8)][_0x28331e(0x4a1)](),this[_0x28331e(0x35a)][_0x28331e(0x4a1)](),this[_0x28331e(0x4be)]();}[_0x1ca31a(0x328)](_0x50a868){var _0x22fcf0=_0x1ca31a;_0x50a868['cmd']===F[_0x22fcf0(0x40b)]?this[_0x22fcf0(0x3ae)](_0x50a868):_0x50a868[_0x22fcf0(0x3d1)]===F[_0x22fcf0(0x350)]&&this[_0x22fcf0(0x3eb)](_0x50a868);}['_joinRoom'](_0x141dc7){var _0x5dfffe=_0x1ca31a;this[_0x5dfffe(0x35a)][_0x5dfffe(0x46f)](0x1),_0x141dc7['send']({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5dfffe(0x202)]}]}});}[_0x1ca31a(0x3ae)](_0x5c7950){var _0x5f10c4=_0x1ca31a,_0x265e25;if(_0x5c7950[_0x5f10c4(0x347)]in Kt){this[_0x5f10c4(0x331)][_0x5f10c4(0x338)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x5c7950['code']]}),this[_0x5f10c4(0x35a)]['next'](0x2);return;}this[_0x5f10c4(0x35a)]['next'](0x3);const _0x1545b1=(_0x265e25=_0x5c7950[_0x5f10c4(0x3b2)]['roomInfos'][this[_0x5f10c4(0x202)]])==null?void 0x0:_0x265e25[_0x5f10c4(0x28d)];_0x1545b1&&_0x1545b1['forEach'](_0x5610c6=>this[_0x5f10c4(0x440)][_0x5f10c4(0x34b)](this[_0x5f10c4(0x202)],_0x5610c6));}[_0x1ca31a(0x3eb)](_0x2cb413){var _0xe3a3e=_0x1ca31a;try{const _0x44eb68=_0x2cb413['data'];switch(_0x44eb68[_0xe3a3e(0x277)]){case _0x35ad24[_0xe3a3e(0x33a)]:this['_onUserJoin'](_0x44eb68),this['_event$'][_0xe3a3e(0x46f)](_0x44eb68);break;case _0x35ad24[_0xe3a3e(0x1f3)]:this['_onUserLeave'](_0x44eb68),this[_0xe3a3e(0x3d8)][_0xe3a3e(0x46f)](_0x44eb68);break;case _0x35ad24[_0xe3a3e(0x2be)]:case _0x35ad24['CHANGESET_SHOULD_RETRY']:this[_0xe3a3e(0x24a)](),this[_0xe3a3e(0x3dd)](),this[_0xe3a3e(0x3d8)][_0xe3a3e(0x46f)](_0x44eb68);break;case _0x35ad24[_0xe3a3e(0x26c)]:this[_0xe3a3e(0x2a2)][_0xe3a3e(0x2ea)](_0xe3a3e(0x3e7)+JSON[_0xe3a3e(0x4b5)](_0x44eb68)),this[_0xe3a3e(0x3d8)][_0xe3a3e(0x46f)](_0x44eb68);break;case _0x35ad24['COMMENT_UPDATE']:this[_0xe3a3e(0x217)][_0xe3a3e(0x3bf)](_0x44eb68[_0xe3a3e(0x3b2)]),this[_0xe3a3e(0x3d8)][_0xe3a3e(0x46f)](_0x44eb68);break;default:this[_0xe3a3e(0x3d8)][_0xe3a3e(0x46f)](_0x44eb68);}}catch(_0x44e5f3){this[_0xe3a3e(0x2a2)][_0xe3a3e(0x2ea)](_0x44e5f3,_0x2cb413);}}[_0x1ca31a(0x448)](_0x18f1fd){var _0x1e231c=_0x1ca31a;this[_0x1e231c(0x440)]['updateMember'](this['_unitID'],_0x18f1fd[_0x1e231c(0x3b2)]);}['_onUserLeave'](_0x29c467){var _0x29fdf4=_0x1ca31a;this[_0x29fdf4(0x440)]['removeMember'](this['_unitID'],_0x29c467['data'][_0x29fdf4(0x23d)]);}async['send'](_0x4b5d23,_0x40db91){var _0x3bd692=_0x1ca31a;if(this[_0x3bd692(0x39b)]!==0x3||!this[_0x3bd692(0x38a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4b5d23[_0x3bd692(0x277)]===_0x35ad24['SUBMIT_CHANGESET']&&(this[_0x3bd692(0x4bc)](),this[_0x3bd692(0x431)](_0x4b5d23)),this[_0x3bd692(0x38a)][_0x3bd692(0x2dc)]({'cmd':F[_0x3bd692(0x22f)],'routeKey':_0x40db91,'routeType':'','data':_0x4b5d23});}catch(_0x1fe6d1){this[_0x3bd692(0x2a2)]['error'](_0x1fe6d1);}}[_0x1ca31a(0x4bc)](){var _0x185b90=_0x1ca31a,_0x55609c;this[_0x185b90(0x426)]=setTimeout(()=>{var _0x431b17=_0x185b90;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x431b17(0x338)]({'id':se[_0x431b17(0x1fe)]});},(_0x55609c=this['_configService'][_0x185b90(0x49f)](mi))!=null?_0x55609c:gi);}['_clearCollaborationTimeoutTimer'](){var _0x23a989=_0x1ca31a;this[_0x23a989(0x426)]&&(clearTimeout(this[_0x23a989(0x426)]),this['_collaborationTimeoutTimer']=null);}[_0x1ca31a(0x431)](_0xb29fc3){var _0x347858=_0x1ca31a;if(!this[_0x347858(0x243)])return;const {data:_0x313589}=_0xb29fc3,{unitID:_0x116edd,changeset:_0x4af0f7}=_0x313589,{mutations:_0x421f5b,type:_0x2b24dd}=_0x4af0f7;this[_0x347858(0x413)]={'unitId':_0x116edd,'type':_0x2b24dd,'startTime':performance[_0x347858(0x33d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x421f5b)};}[_0x1ca31a(0x24a)](){var _0x5621cb=_0x1ca31a;if(this[_0x5621cb(0x243)]){if(!this[_0x5621cb(0x413)]){this[_0x5621cb(0x2a2)][_0x5621cb(0x2ea)](_0x5621cb(0x335),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x5621cb(0x435)]=performance[_0x5621cb(0x33d)](),this[_0x5621cb(0x413)][_0x5621cb(0x469)]=this[_0x5621cb(0x413)][_0x5621cb(0x435)]-this[_0x5621cb(0x413)][_0x5621cb(0x455)],this[_0x5621cb(0x1e4)]['capture'](Hn,this[_0x5621cb(0x413)]),this[_0x5621cb(0x413)]=null;}}[_0x1ca31a(0x380)](){var _0x5ced66=_0x1ca31a;this[_0x5ced66(0x413)]=null;}};Et=Wn([me(0x2,_0xb82841),me(0x3,_0x15ab28),me(0x4,_0x279201(_0x27d372)),me(0x5,_0x279201(xe)),me(0x6,_0x279201(Ti)),me(0x7,_0x279201(pe)),me(0x8,_0x26e2c8(_0x22d9c7))],Et);var Kn=Object[_0x1ca31a(0x459)],Yn=(_0x2eab0b,_0x1a816d,_0x529515,_0x259188)=>{for(var _0x377ba1=_0x259188>0x1?void 0x0:_0x259188?Kn(_0x1a816d,_0x529515):_0x1a816d,_0x5edfd0=_0x2eab0b['length']-0x1,_0x178830;_0x5edfd0>=0x0;_0x5edfd0--)(_0x178830=_0x2eab0b[_0x5edfd0])&&(_0x377ba1=_0x178830(_0x377ba1)||_0x377ba1);return _0x377ba1;},be=(_0x5109b1,_0x4b232a)=>(_0xfbe0f1,_0x25ddc9)=>_0x4b232a(_0xfbe0f1,_0x25ddc9,_0x5109b1);let Le=class extends _0x214e97{constructor(_0x2557dd,_0x1c45cc,_0x104ac7,_0x23b90f,_0x5bf81e,_0x4fe0b5){var _0x23c5c0=_0x1ca31a;super(),N(this,_0x23c5c0(0x3a3),new _0x51f60c(void 0x0)),N(this,_0x23c5c0(0x4a6),this['_socket$'][_0x23c5c0(0x261)]()),N(this,'_candidateSocket',null),N(this,_0x23c5c0(0x2e1),new Map()),N(this,_0x23c5c0(0x2cf),new _0x51f60c(Ee[_0x23c5c0(0x2b4)])),N(this,_0x23c5c0(0x226),this[_0x23c5c0(0x2cf)][_0x23c5c0(0x261)]()),N(this,'_socketReady',!0x1),N(this,_0x23c5c0(0x353)),N(this,_0x23c5c0(0x30b),0x0),N(this,_0x23c5c0(0x384)),N(this,_0x23c5c0(0x30d)),(this[_0x23c5c0(0x2d8)]=_0x2557dd,this[_0x23c5c0(0x2a2)]=_0x1c45cc,this[_0x23c5c0(0x47e)]=_0x104ac7,this[_0x23c5c0(0x497)]=_0x23b90f,this[_0x23c5c0(0x331)]=_0x5bf81e,this[_0x23c5c0(0x41f)]=_0x4fe0b5,this['_listenToNetworkCondition']());}get[_0x1ca31a(0x38a)](){var _0x122628=_0x1ca31a;return this[_0x122628(0x3a3)][_0x122628(0x222)]();}['_listenToNetworkCondition'](){var _0x1ebce1=_0x1ca31a;this['_networkConditionService']&&this[_0x1ebce1(0x28c)](this[_0x1ebce1(0x41f)][_0x1ebce1(0x3f3)]['subscribe'](_0x4e35fe=>{var _0x191599=_0x1ebce1;_0x4e35fe&&!this[_0x191599(0x38a)]&&this['reconnect'](),_0x4e35fe||this[_0x191599(0x3e8)]();}));}[_0x1ca31a(0x4be)](){var _0x40e924=_0x1ca31a;super['dispose'](),this[_0x40e924(0x20a)](),this[_0x40e924(0x43f)](),this[_0x40e924(0x3a4)](),this[_0x40e924(0x2e1)][_0x40e924(0x288)](_0x4e1943=>_0x4e1943['dispose']()),this[_0x40e924(0x2e1)][_0x40e924(0x3e2)](),this['_status$']['complete']();}async[_0x1ca31a(0x498)](_0x4c8aa9){var _0x5af9ad=_0x1ca31a;if(this[_0x5af9ad(0x2e1)][_0x5af9ad(0x2f1)](_0x4c8aa9))return this[_0x5af9ad(0x2e1)]['get'](_0x4c8aa9);this[_0x5af9ad(0x37a)]();const _0x3d1049=this['_injector'][_0x5af9ad(0x208)](Et,_0x4c8aa9,this[_0x5af9ad(0x3a3)][_0x5af9ad(0x261)]());return this['_sessions']['set'](_0x4c8aa9,_0x3d1049),_0x3d1049;}[_0x1ca31a(0x235)](_0x250806){var _0x4577f8=_0x1ca31a,_0x5af305;const _0x541544=this[_0x4577f8(0x2e1)]['get'](_0x250806);_0x541544&&(this[_0x4577f8(0x2e1)][_0x4577f8(0x1df)](_0x250806),_0x541544[_0x4577f8(0x26f)]()),this[_0x4577f8(0x2e1)][_0x4577f8(0x366)]||(_0x5af305=this[_0x4577f8(0x38a)])==null||_0x5af305[_0x4577f8(0x26f)]();}['reconnect'](){var _0x485e52=_0x1ca31a;this[_0x485e52(0x30b)]=0x0,this[_0x485e52(0x20a)](),this[_0x485e52(0x20d)]();}[_0x1ca31a(0x20a)](){var _0x238af8=_0x1ca31a;this[_0x238af8(0x353)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x238af8(0x353)]=null);}async['_createSocket'](){var _0xe9d1a=_0x1ca31a,_0x304138,_0x5c67b5;const _0xf43dae=this['_configService'][_0xe9d1a(0x49f)](In),_0x3a9857=this[_0xe9d1a(0x47e)][_0xe9d1a(0x49f)](q),_0xbcb2fe=(_0x5c67b5=(_0x304138=_0x3a9857==null?void 0x0:_0x3a9857['collabWebSocketUrl'])!=null?_0x304138:_0xf43dae)!=null?_0x5c67b5:Tn,_0x23b6d0=await this[_0xe9d1a(0x497)][_0xe9d1a(0x415)](_0xbcb2fe);return this['_candidateSocket']=_0x23b6d0,_0x23b6d0;}async[_0x1ca31a(0x37a)](){var _0x160ce9=_0x1ca31a,_0x34000a,_0x544988;try{const _0x2bcf63=(_0x544988=(_0x34000a=this[_0x160ce9(0x38a)])!=null?_0x34000a:this[_0x160ce9(0x3d5)])!=null?_0x544988:await this[_0x160ce9(0x285)]();if(_0x2bcf63){const _0x40c97f=_0x2bcf63['send'];_0x2bcf63[_0x160ce9(0x2dc)]=_0x207778=>(this[_0x160ce9(0x482)](),_0x40c97f['apply'](_0x2bcf63,[_0x207778])),_0x2bcf63[_0x160ce9(0x29e)][_0x160ce9(0x29d)](_0xc75e1d=>this[_0x160ce9(0x2fd)](_0x2bcf63,_0xc75e1d)),_0x2bcf63[_0x160ce9(0x47a)][_0x160ce9(0x21b)](_0x30677d(0x1))[_0x160ce9(0x29d)](_0x386b17=>this['_logService'][_0x160ce9(0x2ea)](_0x160ce9(0x1ff),_0x386b17)),_0x2bcf63[_0x160ce9(0x4b0)]['pipe'](_0x30677d(0x1))[_0x160ce9(0x29d)](()=>{var _0x2868c6=_0x160ce9;this[_0x2868c6(0x408)](_0x2bcf63);}),_0x2bcf63[_0x160ce9(0x32b)][_0x160ce9(0x21b)](_0x30677d(0x1))[_0x160ce9(0x29d)](_0x432b29=>{var _0x33116d=_0x160ce9;this['_logService'][_0x33116d(0x436)](_0x33116d(0x251),_0x33116d(0x276),_0x432b29),this[_0x33116d(0x481)]();});}}catch(_0x1d832b){this[_0x160ce9(0x2a2)][_0x160ce9(0x2ea)](_0x1d832b),this['_onConnectionFailed']();}}[_0x1ca31a(0x408)](_0x4ac075){var _0x4ff433=_0x1ca31a;this[_0x4ff433(0x2a2)][_0x4ff433(0x436)](_0x4ff433(0x251),_0x4ff433(0x3ac)),_0x4ac075[_0x4ff433(0x2dc)]({'cmd':F[_0x4ff433(0x441)]}),this['_rescheduleHeartbeat']();}[_0x1ca31a(0x3e8)](){var _0xa3006e=_0x1ca31a;this['_socketReady']=!0x1,this[_0xa3006e(0x3d5)]=null,this[_0xa3006e(0x2cf)][_0xa3006e(0x46f)](Ee['OFFLINE']),this[_0xa3006e(0x3a3)]['next'](null),this['_clearTimeoutTimer'](),this[_0xa3006e(0x3a4)]();}[_0x1ca31a(0x481)](){var _0x35cdcb=_0x1ca31a,_0xf52616;this['_onOffline'](),this[_0x35cdcb(0x30b)]<((_0xf52616=this['_configService'][_0x35cdcb(0x49f)](yn))!=null?_0xf52616:On)?(this[_0x35cdcb(0x331)][_0x35cdcb(0x338)]({'id':se[_0x35cdcb(0x37d)]}),this[_0x35cdcb(0x20d)]()):this['_collaborationUIEventService'][_0x35cdcb(0x338)]({'id':se['SOCKET_FAILED']});}[_0x1ca31a(0x20d)](){var _0x168c69=_0x1ca31a,_0x3625fb;const _0x4beb38=this[_0x168c69(0x30b)],_0x3489c8=this[_0x168c69(0x47e)][_0x168c69(0x49f)](q),_0x3e8790=_0x4beb38===0x0?0x0:((_0x3625fb=_0x3489c8==null?void 0x0:_0x3489c8[_0x168c69(0x203)])!=null?_0x3625fb:bn)*0x2**_0x4beb38;this[_0x168c69(0x353)]=setTimeout(()=>{var _0x4a2cf9=_0x168c69;clearTimeout(this[_0x4a2cf9(0x353)]),this[_0x4a2cf9(0x353)]=null,this[_0x4a2cf9(0x37a)]();},_0x3e8790),this['_retryCount']+=0x1;}[_0x1ca31a(0x2fd)](_0x31688c,_0x980e33){var _0x311519=_0x1ca31a;const {cmd:_0x35cebf}=_0x980e33;_0x35cebf===F[_0x311519(0x441)]&&!this[_0x311519(0x295)]&&(_0x31688c[_0x311519(0x23d)]=_0x980e33[_0x311519(0x3b2)][_0x311519(0x23d)],this[_0x311519(0x3a3)][_0x311519(0x46f)](_0x31688c),this[_0x311519(0x2cf)][_0x311519(0x46f)](Ee[_0x311519(0x3ee)]),this[_0x311519(0x295)]=!0x0,this[_0x311519(0x3d5)]=null),_0x35cebf===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x1ca31a(0x482)](){var _0x1ca7dc=_0x1ca31a,_0x2a6657;this[_0x1ca7dc(0x3a4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1ca7dc(0x39e)](),(_0x2a6657=this[_0x1ca7dc(0x47e)][_0x1ca7dc(0x49f)](Cn))!=null?_0x2a6657:Rn);}['_sendHeartbeat'](){var _0x515f2a=_0x1ca31a;this['_socket'][_0x515f2a(0x2dc)]({'cmd':F[_0x515f2a(0x437)]}),this[_0x515f2a(0x2bf)]();}[_0x1ca31a(0x2bf)](){var _0x56a792=_0x1ca31a,_0x2a584b;this[_0x56a792(0x30d)]=setTimeout(()=>this[_0x56a792(0x481)](),(_0x2a584b=this[_0x56a792(0x47e)][_0x56a792(0x49f)](mi))!=null?_0x2a584b:gi);}[_0x1ca31a(0x3a4)](){var _0x49dc54=_0x1ca31a;this[_0x49dc54(0x384)]!=null&&(clearTimeout(this[_0x49dc54(0x384)]),this[_0x49dc54(0x384)]=null);}[_0x1ca31a(0x43f)](){var _0xe5573f=_0x1ca31a;this[_0xe5573f(0x30d)]!=null&&(clearTimeout(this[_0xe5573f(0x30d)]),this['_timeoutTimer']=null);}};Le=Yn([be(0x0,_0x279201(_0x14bd7a)),be(0x1,_0xb82841),be(0x2,_0x15ab28),be(0x3,Ii),be(0x4,_0x279201(pe)),be(0x5,_0x26e2c8(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x1ca31a(0x20e)]((t+0x100)[_0x1ca31a(0x48a)](0x10)[_0x1ca31a(0x385)](0x1));function qn(_0x238d92,_0x12811a=0x0){var _0x27807e=_0x1ca31a;return(V[_0x238d92[_0x12811a+0x0]]+V[_0x238d92[_0x12811a+0x1]]+V[_0x238d92[_0x12811a+0x2]]+V[_0x238d92[_0x12811a+0x3]]+'-'+V[_0x238d92[_0x12811a+0x4]]+V[_0x238d92[_0x12811a+0x5]]+'-'+V[_0x238d92[_0x12811a+0x6]]+V[_0x238d92[_0x12811a+0x7]]+'-'+V[_0x238d92[_0x12811a+0x8]]+V[_0x238d92[_0x12811a+0x9]]+'-'+V[_0x238d92[_0x12811a+0xa]]+V[_0x238d92[_0x12811a+0xb]]+V[_0x238d92[_0x12811a+0xc]]+V[_0x238d92[_0x12811a+0xd]]+V[_0x238d92[_0x12811a+0xe]]+V[_0x238d92[_0x12811a+0xf]])[_0x27807e(0x2f9)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x44e307=_0x1ca31a;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x44e307(0x421));ut=crypto[_0x44e307(0x2f7)][_0x44e307(0x35e)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x1ca31a(0x2cb)]&&crypto[_0x1ca31a(0x2cb)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x10be6c,_0x558c18,_0x2e6df0){var _0xcd0376=_0x1ca31a,_0x3fa200,_0x3f1e63,_0x2c1ccc;if(Yt[_0xcd0376(0x2cb)]&&!_0x10be6c)return Yt['randomUUID']();_0x10be6c=_0x10be6c||{};const _0x40b0db=(_0x2c1ccc=(_0x3f1e63=_0x10be6c[_0xcd0376(0x1f6)])!=null?_0x3f1e63:(_0x3fa200=_0x10be6c['rng'])==null?void 0x0:_0x3fa200[_0xcd0376(0x1f5)](_0x10be6c))!=null?_0x2c1ccc:Jn();if(_0x40b0db[_0xcd0376(0x272)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x40b0db[0x6]=_0x40b0db[0x6]&0xf|0x40,_0x40b0db[0x8]=_0x40b0db[0x8]&0x3f|0x80,qn(_0x40b0db);}const J=_0x37cd51(_0x1ca31a(0x45a));function Bs(_0x2b4997){var _0x34b734=_0x1ca31a;return _0x34b734(0x312)+_0x2b4997;}var Qn=Object[_0x1ca31a(0x459)],er=(_0x4f6b2e,_0x6df8c9,_0x486cb5,_0x57eca9)=>{var _0x417100=_0x1ca31a;for(var _0x17edc6=_0x57eca9>0x1?void 0x0:_0x57eca9?Qn(_0x6df8c9,_0x486cb5):_0x6df8c9,_0x1d7e65=_0x4f6b2e[_0x417100(0x272)]-0x1,_0x1608c6;_0x1d7e65>=0x0;_0x1d7e65--)(_0x1608c6=_0x4f6b2e[_0x1d7e65])&&(_0x17edc6=_0x1608c6(_0x17edc6)||_0x17edc6);return _0x17edc6;},dt=(_0x3faa01,_0x3b0802)=>(_0x42d2f5,_0x1f63e7)=>_0x3b0802(_0x42d2f5,_0x1f63e7,_0x3faa01);function tr(_0x427b12){var _0x8dd565=_0x1ca31a;const {unitID:_0x251e05,mutations:_0x6d482b}=_0x427b12;return{'unitId':_0x251e05,'subUnitId':_0x6d482b[0x0][_0x8dd565(0x44a)]['subUnitId']};}let it=class{constructor(_0x30227c,_0x5411a5,_0x5c1c02){var _0x527751=_0x1ca31a;this['_injector']=_0x30227c,this[_0x527751(0x2d0)]=_0x5411a5,this[_0x527751(0x38b)]=_0x5c1c02;}[_0x1ca31a(0x218)](_0x42bb87){var _0x4a34b1=_0x1ca31a,_0x2783f6,_0x2262b6,_0x11c3fc,_0x2c7337;const _0x5eb7e9=this[_0x4a34b1(0x2d8)][_0x4a34b1(0x1d2)](_0x4fadef),{unitId:_0x52c031,subUnitId:_0x381d5a}=tr(_0x42bb87),_0xd4cf51=_0x5eb7e9==null?void 0x0:_0x5eb7e9['getWorkbookSelections'](_0x52c031)['getCurrentSelections'](),_0x49f62c=(_0x2262b6=(_0x2783f6=this[_0x4a34b1(0x38b)][_0x4a34b1(0x1f7)](_0x52c031))==null?void 0x0:_0x2783f6[_0x4a34b1(0x3b9)]())==null?void 0x0:_0x2262b6[_0x4a34b1(0x2c5)]();if(_0xd4cf51[_0x4a34b1(0x272)]===0x0||!_0x52c031||!_0x381d5a)return;const _0x1cab24=[{'id':_0x2771a5['id'],'params':{'unitId':_0x52c031,'subUnitId':_0x49f62c,'selections':_0x23f8db['deepClone'](_0xd4cf51)}}],_0x4c2dd4=this['_transformService']['transformMutationsWithChangeset'](_0x42bb87,_0x1cab24);if(!_0x33394f(_0x4c2dd4))throw _0x4c2dd4['error'];const _0x2a780f=(_0x2c7337=(_0x11c3fc=_0x4c2dd4[_0x4a34b1(0x329)][0x0])==null?void 0x0:_0x11c3fc[_0x4a34b1(0x44a)])==null?void 0x0:_0x2c7337['selections'];if(Array[_0x4a34b1(0x492)](_0x2a780f)&&_0x2a780f[_0x4a34b1(0x272)]){if(_0x2a780f[_0x4a34b1(0x272)]===_0x1cab24[0x0][_0x4a34b1(0x44a)][_0x4a34b1(0x4a7)][_0x4a34b1(0x272)]&&_0x2a780f[_0x4a34b1(0x4a0)]((_0x5a211a,_0x337815)=>_0x37e5e3[_0x4a34b1(0x3f6)](_0x5a211a[_0x4a34b1(0x220)],_0x1cab24[0x0][_0x4a34b1(0x44a)][_0x4a34b1(0x4a7)][_0x337815][_0x4a34b1(0x220)])))return;this[_0x4a34b1(0x2d8)][_0x4a34b1(0x1d2)](_0x2dccf5)['executeCommand'](_0x2771a5['id'],{'unitId':_0x52c031,'subUnitId':_0x49f62c,'selections':_0x2a780f});}}};it=er([dt(0x0,_0x279201(_0x14bd7a)),dt(0x1,_0x2b2951),dt(0x2,_0x5086cb)],it);const ht=_0x37cd51('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x34d145=>(_0x34d145[_0x34d145['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1ca31a(0x412),_0x34d145[_0x34d145[_0x1ca31a(0x42e)]=0x1]=_0x1ca31a(0x42e),_0x34d145))(Ci||{});const ir=new Set([_0x44eb31['id']]);function qt(_0x43d918,_0x1336a3,_0x6a9195,_0x42ce0c,_0x1afeba){var _0x3b3c84=_0x1ca31a,_0xc9805e,_0x3527ef,_0x148ebc,_0x3a4b7f;const _0x5755c0=[];for(const _0x1c40fa of _0x43d918)if(ir[_0x3b3c84(0x2f1)](_0x1c40fa['id'])){if(_0x5755c0[_0x3b3c84(0x272)]>0x0)break;_0x5755c0['push'](_0x1c40fa);break;}else _0x5755c0['push'](_0x1c40fa);const _0x1a01d5=(_0x3527ef=(_0xc9805e=_0x1afeba[_0x3b3c84(0x1fa)]())==null?void 0x0:_0xc9805e['userID'])!=null?_0x3527ef:_0x3b3c84(0x457),_0x2a6a82=(_0x3a4b7f=(_0x148ebc=_0x1afeba[_0x3b3c84(0x1fa)]())==null?void 0x0:_0x148ebc[_0x3b3c84(0x23d)])!=null?_0x3a4b7f:_0x3b3c84(0x457);return{'changeset':{'unitID':_0x1336a3,'type':_0x25f772(_0x6a9195[_0x3b3c84(0x207)](_0x1336a3)),'baseRev':_0x42ce0c['getCurrentRevOfUnit'](_0x1336a3),'revision':0x0,'userID':_0x1a01d5,'memberID':_0x2a6a82,'mutations':_0x5755c0},'pendingMutations':_0x43d918['slice'](_0x5755c0[_0x3b3c84(0x272)])};}function nr(_0x92847c,_0x489959,_0x48a269,_0x1fe4ed,_0x5ae750){var _0x4c9716=_0x1ca31a,_0x32112c,_0x22f413,_0x50e5c0,_0x5c5e09;const _0x5d630d=[_0x92847c[_0x4c9716(0x21f)]((_0x35a31e,_0x4a9d6e)=>{var _0x2a8a01=_0x4c9716,_0x530c0c;const {id:_0x5565b0}=_0x35a31e,{id:_0x5dcaa3,type:_0x86f142}=_0x4a9d6e,_0x233b2e=(_0x530c0c=_0x35a31e[_0x2a8a01(0x44a)])!=null?_0x530c0c:{'actions':null},_0x56c010=_0x4a9d6e[_0x2a8a01(0x44a)];if(_0x5565b0&&_0x5565b0!==_0x5dcaa3)throw new Error(_0x2a8a01(0x43a)+_0x5565b0+_0x2a8a01(0x3c1)+_0x5dcaa3+'.');return{..._0x35a31e,'id':_0x5dcaa3,'type':_0x86f142,'params':{'unitId':_0x56c010['unitId'],'textRanges':_0x56c010['textRanges'],'actions':_0x358cbd[_0x2a8a01(0x364)](_0x233b2e[_0x2a8a01(0x28e)],_0x56c010[_0x2a8a01(0x28e)])}};},{})],_0x21f72e=(_0x22f413=(_0x32112c=_0x5ae750[_0x4c9716(0x1fa)]())==null?void 0x0:_0x32112c['userID'])!=null?_0x22f413:_0x4c9716(0x457),_0x389aea=(_0x5c5e09=(_0x50e5c0=_0x5ae750[_0x4c9716(0x1fa)]())==null?void 0x0:_0x50e5c0['memberID'])!=null?_0x5c5e09:_0x4c9716(0x457);return{'changeset':{'unitID':_0x489959,'type':_0x25f772(_0x48a269[_0x4c9716(0x207)](_0x489959)),'baseRev':_0x1fe4ed['getCurrentRevOfUnit'](_0x489959),'revision':0x0,'userID':_0x21f72e,'memberID':_0x389aea,'mutations':_0x5d630d},'pendingMutations':[]};}function Ri(_0x1f3264,_0x3a8916){var _0x8d5893=_0x1ca31a;const _0x1aef71=new _0x22e20b(0x1);return setTimeout(()=>_0x1aef71[_0x8d5893(0x46f)](_0x3a8916),_0x1f3264),_0x1aef71[_0x8d5893(0x261)]()['pipe'](_0x256b96(0x1));}const rr={'id':_0x2330d9['id'],'type':_0x533d08['MUTATION'],'params':{}};var sr=Object[_0x1ca31a(0x459)],Te=(_0x567c2d,_0x39fa9c,_0x3ca93f,_0x3561fc)=>{var _0x285538=_0x1ca31a;for(var _0x3948ca=_0x3561fc>0x1?void 0x0:_0x3561fc?sr(_0x39fa9c,_0x3ca93f):_0x39fa9c,_0x4cf1d9=_0x567c2d[_0x285538(0x272)]-0x1,_0x5a885a;_0x4cf1d9>=0x0;_0x4cf1d9--)(_0x5a885a=_0x567c2d[_0x4cf1d9])&&(_0x3948ca=_0x5a885a(_0x3948ca)||_0x3948ca);return _0x3948ca;},P=(_0x3ad0d8,_0x54eed1)=>(_0x35e022,_0x1f4e10)=>_0x54eed1(_0x35e022,_0x1f4e10,_0x3ad0d8),bi=(_0x28dd3d=>(_0x28dd3d['NOT_COLLAB']=_0x1ca31a(0x479),_0x28dd3d[_0x1ca31a(0x34d)]='synced',_0x28dd3d['PENDING']=_0x1ca31a(0x1d1),_0x28dd3d['AWAITING']=_0x1ca31a(0x3b3),_0x28dd3d[_0x1ca31a(0x224)]='awaiting_with_pending',_0x28dd3d[_0x1ca31a(0x496)]=_0x1ca31a(0x239),_0x28dd3d['CONFLICT']=_0x1ca31a(0x2e4),_0x28dd3d['OFFLINE']=_0x1ca31a(0x231),_0x28dd3d))(bi||{});const yi=0xea60;class Ce{constructor(_0x3ef9ec,_0x1b2691,_0x456d96,_0x2f40e8,_0x2a8b81,_0x270e01,_0x516c28,_0x2c0d26,_0x1ef888){var _0xcd8b5c=_0x1ca31a;N(this,_0xcd8b5c(0x23a),null),N(this,'_pendingMutations',[]),(this[_0xcd8b5c(0x283)]=_0x3ef9ec,this['type']=_0x1b2691,this[_0xcd8b5c(0x351)]=_0x2a8b81,this[_0xcd8b5c(0x3cb)]=_0x270e01,this[_0xcd8b5c(0x427)]=_0x516c28,this[_0xcd8b5c(0x4b7)]=_0x2c0d26,this['_localCacheService']=_0x1ef888,this['_awaitingChangeset']=_0x456d96,this[_0xcd8b5c(0x454)]=_0x2f40e8);}['_checkMissing'](_0x12fdc5){var _0x382b07=_0x1ca31a;const _0x42acb8=this['_revisionService'][_0x382b07(0x25a)](this[_0x382b07(0x283)]);return _0x12fdc5['revision']>_0x42acb8+0x1?(this[_0x382b07(0x351)]['onMissingChangesets']({'from':_0x42acb8,'to':_0x12fdc5[_0x382b07(0x1e0)]-0x1}),!0x0):!0x1;}[_0x1ca31a(0x1f9)](_0x40ab10){var _0x537114=_0x1ca31a;this[_0x537114(0x427)][_0x537114(0x26b)](this[_0x537114(0x283)],_0x40ab10);}['_transformSelections'](_0x9ebbbf){var _0x5c492f=_0x1ca31a,_0x144344,_0x54ceca;(_0x54ceca=(_0x144344=this[_0x5c492f(0x351)])[_0x5c492f(0x4a5)])==null||_0x54ceca[_0x5c492f(0x1f5)](_0x144344,_0x9ebbbf);}['_transformIMECache'](_0x170090){var _0x1bac21=_0x1ca31a,_0x2aa23a,_0x1d4e25;return(_0x1d4e25=(_0x2aa23a=this[_0x1bac21(0x351)])[_0x1bac21(0x280)])==null?void 0x0:_0x1d4e25['call'](_0x2aa23a,_0x170090);}[_0x1ca31a(0x229)](_0x5ca891){var _0x37c8ae=_0x1ca31a,_0x2f565a,_0x5f3f3b;return(_0x5f3f3b=(_0x2f565a=this['_handler'])[_0x37c8ae(0x341)])==null?void 0x0:_0x5f3f3b[_0x37c8ae(0x1f5)](_0x2f565a,_0x5ca891);}[_0x1ca31a(0x44b)](_0x1ca9fe){var _0x4b692e=_0x1ca31a,_0x5134cb,_0x12335f,_0x3d964e;return(_0x3d964e=(_0x12335f=(_0x5134cb=this[_0x4b692e(0x351)])[_0x4b692e(0x40a)])==null?void 0x0:_0x12335f[_0x4b692e(0x1f5)](_0x5134cb,_0x1ca9fe))!=null?_0x3d964e:_0x1ca9fe;}[_0x1ca31a(0x42c)](_0xc1b592){var _0x193e7b=_0x1ca31a,_0x52809c,_0x34adf9,_0x4311bc;return(_0x4311bc=(_0x34adf9=(_0x52809c=this[_0x193e7b(0x351)])[_0x193e7b(0x244)])==null?void 0x0:_0x34adf9[_0x193e7b(0x1f5)](_0x52809c,_0xc1b592))!=null?_0x4311bc:_0xc1b592;}[_0x1ca31a(0x1dc)](_0x4057ee){var _0x4920ab=_0x1ca31a,_0x349cf7,_0x2a5648;if(this['type']===Q[_0x4920ab(0x2b9)]){const {unitID:_0x376343,mutations:_0x14dda2,memberID:_0x55270f}=_0x4057ee,_0x4adf54=_0x14dda2[0x0][_0x4920ab(0x44a)][_0x4920ab(0x402)];Array[_0x4920ab(0x492)](_0x4adf54)&&_0x4adf54['length']>0x0&&((_0x2a5648=(_0x349cf7=this[_0x4920ab(0x351)])[_0x4920ab(0x4b1)])==null||_0x2a5648[_0x4920ab(0x1f5)](_0x349cf7,{'unitID':_0x376343,'memberID':_0x55270f,'textRanges':_0x4adf54}));}}['_updateLocalCache'](){var _0x33cc3f=_0x1ca31a,_0xbdd613;(_0xbdd613=this[_0x33cc3f(0x1fc)])==null||_0xbdd613[_0x33cc3f(0x299)](this['unitID'],this[_0x33cc3f(0x409)],this['_awaitingChangeset'],this[_0x33cc3f(0x454)]);}[_0x1ca31a(0x1d0)](){var _0xb33fcc=_0x1ca31a;return this[_0xb33fcc(0x4b7)][_0xb33fcc(0x25a)](this[_0xb33fcc(0x283)]);}['_incrementRevisionNumber'](){var _0x565a86=_0x1ca31a;this[_0x565a86(0x4b7)][_0x565a86(0x47d)](this[_0x565a86(0x283)]);}['_executeRemoteChangeset'](_0x50d28f){var _0x5e29ca=_0x1ca31a,_0x6ed45;let _0x5100fe=this[_0x5e29ca(0x44b)](_0x50d28f);_0x5100fe=this[_0x5e29ca(0x42c)](_0x5100fe);const _0x1e5001=_0x1d7b9f(_0x5100fe[_0x5e29ca(0x23b)],this[_0x5e29ca(0x3cb)],{'fromCollab':!0x0});if(!_0x1e5001[_0x5e29ca(0x1d7)])throw _0x1e5001['error']instanceof Error?_0x1e5001[_0x5e29ca(0x2ea)]:new Error((_0x6ed45=_0x1e5001[_0x5e29ca(0x2ea)])!=null?_0x6ed45:_0x5e29ca(0x438));this['_transformIMECache'](_0x5100fe),this['_transformStateCache'](_0x5100fe),this['_transformUndoredo'](_0x50d28f),this[_0x5e29ca(0x26a)](_0x5100fe),this[_0x5e29ca(0x1dc)](_0x5100fe),this[_0x5e29ca(0x270)]();}}let Ne=class extends Ce{constructor(_0x572061,_0x326672,_0x17991b,_0x41295e,_0x10f8b2,_0x197eca,_0x49e850,_0x1446e2,_0xd6d7a5,_0x2bea84){var _0x28282e=_0x1ca31a;super(_0x572061,_0x326672,null,[],_0x17991b,_0x49e850,_0x197eca,_0x41295e,_0x2bea84),N(this,_0x28282e(0x30f),_0x28282e(0x200)),(this[_0x28282e(0x2d8)]=_0x10f8b2,this[_0x28282e(0x2a2)]=_0x1446e2,this[_0x28282e(0x2d0)]=_0xd6d7a5,this[_0x28282e(0x245)]=_0x2bea84);}['appendMutation'](_0x1a42b7){var _0xf01d08=_0x1ca31a;const _0x27e126=this['_injector'][_0xf01d08(0x208)](ae,this[_0xf01d08(0x283)],this[_0xf01d08(0x409)],[_0x1a42b7],this[_0xf01d08(0x351)]);return _0x27e126[_0xf01d08(0x451)](),_0x27e126['_updateLocalCache'](),_0x27e126;}[_0x1ca31a(0x27d)](_0x10d300){var _0x37cfbc=_0x1ca31a;if(this[_0x37cfbc(0x2ef)](_0x10d300))return this[_0x37cfbc(0x2d8)][_0x37cfbc(0x208)](ee,this[_0x37cfbc(0x283)],this['type'],null,[],null,[_0x10d300],this['_handler']);try{const _0x319395=this[_0x37cfbc(0x2d0)][_0x37cfbc(0x2ad)](_0x10d300,[rr]);if(_0x33394f(_0x319395)){const {c1Prime:_0x18092e}=_0x319395;return this['_executeRemoteChangeset'](_0x18092e),this;}throw _0x319395['error'];}catch(_0x28b0c3){return this[_0x37cfbc(0x2a2)][_0x37cfbc(0x2ea)](_0x28b0c3),this['_onConflict'](!0x1);}}[_0x1ca31a(0x29b)](_0x401e93){var _0x2b73ac=_0x1ca31a;return this[_0x2b73ac(0x2d8)]['createInstance'](ue,this['unitID'],this[_0x2b73ac(0x409)],null,[],this[_0x2b73ac(0x351)],_0x401e93);}[_0x1ca31a(0x386)](){var _0x3f3a29=_0x1ca31a;throw new Error(_0x3f3a29(0x247));}['onRemoteRej'](){var _0x11b1f3=_0x1ca31a;throw new Error(_0x11b1f3(0x466));}[_0x1ca31a(0x3a2)](){return this;}['toggleOffline'](){var _0x104953=_0x1ca31a;return this[_0x104953(0x2d8)][_0x104953(0x208)](de,this[_0x104953(0x283)],this[_0x104953(0x409)],null,[],this[_0x104953(0x351)]);}['toggleOnline'](){return this;}['resend'](){var _0x1d99d8=_0x1ca31a;throw new Error(_0x1d99d8(0x3bc));}[_0x1ca31a(0x236)](){var _0x2fc1d5=_0x1ca31a;const _0x70a1d4=this['_revisionService'][_0x2fc1d5(0x25a)](this['unitID']);return this[_0x2fc1d5(0x351)][_0x2fc1d5(0x368)]({'from':_0x70a1d4,'to':0x0}),this[_0x2fc1d5(0x2d8)][_0x2fc1d5(0x208)](ee,this[_0x2fc1d5(0x283)],this[_0x2fc1d5(0x409)],null,[],null,[],this[_0x2fc1d5(0x351)]);}};Ne=Te([P(0x3,_0x279201(_0x5e9fed)),P(0x4,_0x279201(_0x14bd7a)),P(0x5,_0x171cee),P(0x6,_0x2dccf5),P(0x7,_0xb82841),P(0x8,_0x2b2951),P(0x9,_0x26e2c8(J))],Ne);let ae=class extends Ce{constructor(_0x27f995,_0x18f6e8,_0x5c8b95,_0x2dbd4b,_0x39d717,_0x3ed610,_0x30b267,_0x1a00cd,_0x267388,_0x3268b5,_0xa1e75a,_0x1b2193,_0x1955d7,_0xd7054c){var _0x15ba09=_0x1ca31a;super(_0x27f995,_0x18f6e8,null,_0x5c8b95,_0x2dbd4b,_0x267388,_0x1955d7,_0x3ed610,_0xd7054c),N(this,'status',_0x15ba09(0x1d1)),N(this,_0x15ba09(0x3e3),null),N(this,_0x15ba09(0x292),null),(this[_0x15ba09(0x2d8)]=_0x39d717,this[_0x15ba09(0x440)]=_0x30b267,this[_0x15ba09(0x2a2)]=_0x1a00cd,this[_0x15ba09(0x47e)]=_0x3268b5,this[_0x15ba09(0x2d0)]=_0xa1e75a,this[_0x15ba09(0x23f)]=_0x1b2193);}['appendMutation'](_0x3f338c){var _0x9e04cf=_0x1ca31a;return this['_pendingMutations'][_0x9e04cf(0x20e)](_0x3f338c),this[_0x9e04cf(0x3d9)](),this;}[_0x1ca31a(0x27d)](_0x1745ae){var _0x3fe54e=_0x1ca31a;if(this['_checkMissing'](_0x1745ae))return this['_clearScheduledTask'](),this['_injector'][_0x3fe54e(0x208)](ee,this[_0x3fe54e(0x283)],this['type'],null,this['_pendingMutations'],null,[_0x1745ae],this[_0x3fe54e(0x351)]);try{const _0x38c54b=this[_0x3fe54e(0x2d0)][_0x3fe54e(0x2ad)](_0x1745ae,this[_0x3fe54e(0x454)]);if(_0x33394f(_0x38c54b)){const {c1Prime:_0x3743ff,m2Prime:_0x2a2f57}=_0x38c54b;this[_0x3fe54e(0x34a)](_0x3743ff);const _0x2067e9=this[_0x3fe54e(0x2d8)]['createInstance'](ae,this['unitID'],this[_0x3fe54e(0x409)],_0x2a2f57,this[_0x3fe54e(0x351)]);this[_0x3fe54e(0x49c)]();const _0x3c5d84=new Date()[_0x3fe54e(0x3bb)](),_0x17c2c2=this[_0x3fe54e(0x3e3)]?Math[_0x3fe54e(0x33b)](this[_0x3fe54e(0x3e3)]-_0x3c5d84,0x0):this['_getSendChangesetTimeout']();return _0x2067e9['_schedule'](_0x17c2c2),_0x2067e9;}throw _0x38c54b[_0x3fe54e(0x2ea)];}catch(_0x1dda92){return this[_0x3fe54e(0x2a2)][_0x3fe54e(0x2ea)](_0x1dda92),this['_onConflict'](!0x1);}}[_0x1ca31a(0x386)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4c0da7=_0x1ca31a;throw new Error(_0x4c0da7(0x398));}[_0x1ca31a(0x3a2)](){return this;}[_0x1ca31a(0x49b)](){var _0x4324ca=_0x1ca31a;return this[_0x4324ca(0x49c)](),this[_0x4324ca(0x2d8)]['createInstance'](de,this[_0x4324ca(0x283)],this[_0x4324ca(0x409)],null,this[_0x4324ca(0x454)],this[_0x4324ca(0x351)]);}[_0x1ca31a(0x330)](){return this;}['_schedule'](_0x4f5a4a){var _0x4865df=_0x1ca31a;const _0x17a7b9=_0x4f5a4a!=null?_0x4f5a4a:this[_0x4865df(0x1cb)]();this[_0x4865df(0x3e3)]=new Date()[_0x4865df(0x3bb)]()+_0x17a7b9,this[_0x4865df(0x292)]=setTimeout(()=>{var _0x5edebb=_0x4865df;this[_0x5edebb(0x49c)]();let _0x5e1a88=null;switch(this[_0x5edebb(0x409)]){case Q[_0x5edebb(0x2c8)]:{_0x5e1a88=qt(this[_0x5edebb(0x454)],this[_0x5edebb(0x283)],this[_0x5edebb(0x23f)],this[_0x5edebb(0x4b7)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x5edebb(0x454)][_0x5edebb(0x4a0)](_0x575815=>_0x575815['id']===_0x347793['id'])?_0x5e1a88=nr(this['_pendingMutations'],this[_0x5edebb(0x283)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x5e1a88=qt(this[_0x5edebb(0x454)],this[_0x5edebb(0x283)],this[_0x5edebb(0x23f)],this[_0x5edebb(0x4b7)],this[_0x5edebb(0x440)]);break;}default:throw new Error(_0x5edebb(0x246)+this[_0x5edebb(0x409)]+_0x5edebb(0x31f));}const {changeset:_0x3edbe3,pendingMutations:_0x27e0e2}=_0x5e1a88;this[_0x5edebb(0x351)][_0x5edebb(0x406)](_0x3edbe3);const _0x20650f=_0x27e0e2[_0x5edebb(0x272)]?this[_0x5edebb(0x2d8)][_0x5edebb(0x208)](oe,this[_0x5edebb(0x283)],this[_0x5edebb(0x409)],_0x3edbe3,_0x27e0e2,this[_0x5edebb(0x351)],void 0x0):this[_0x5edebb(0x2d8)][_0x5edebb(0x208)](le,this[_0x5edebb(0x283)],this[_0x5edebb(0x409)],_0x3edbe3,this[_0x5edebb(0x351)]);_0x20650f[_0x5edebb(0x3d9)](),this['_handler']['onStateChange'](this,_0x20650f);},_0x17a7b9);}['_getSendChangesetTimeout'](){var _0x1b5f37=_0x1ca31a,_0x58050a;const _0x5adfe1=this[_0x1b5f37(0x47e)][_0x1b5f37(0x49f)](q);return(_0x58050a=_0x5adfe1==null?void 0x0:_0x5adfe1[_0x1b5f37(0x274)])!=null?_0x58050a:En;}['resend'](){var _0x31e7b6=_0x1ca31a;throw new Error(_0x31e7b6(0x32f));}[_0x1ca31a(0x49c)](){var _0x4c8cd4=_0x1ca31a;this[_0x4c8cd4(0x292)]!=null&&(clearTimeout(this[_0x4c8cd4(0x292)]),this[_0x4c8cd4(0x292)]=null);}[_0x1ca31a(0x29b)](_0x41855d){var _0x39d373=_0x1ca31a;return this[_0x39d373(0x49c)](),this[_0x39d373(0x2d8)][_0x39d373(0x208)](ue,this[_0x39d373(0x283)],this[_0x39d373(0x409)],null,this[_0x39d373(0x454)],this[_0x39d373(0x351)],_0x41855d);}};ae=Te([P(0x4,_0x279201(_0x14bd7a)),P(0x5,_0x279201(_0x5e9fed)),P(0x6,_0x279201(xe)),P(0x7,_0xb82841),P(0x8,_0x2dccf5),P(0x9,_0x15ab28),P(0xa,_0x2b2951),P(0xb,_0x5086cb),P(0xc,_0x171cee),P(0xd,_0x26e2c8(J))],ae);let le=class extends Ce{constructor(_0x29cb4f,_0x3ec174,_0x207d3a,_0x1cbfef,_0x103957,_0x44ab07,_0x1d2cb4,_0x4d7998,_0x5c259a,_0xe0b3ae,_0x34d3bb){var _0x28b109=_0x1ca31a;super(_0x29cb4f,_0x3ec174,_0x207d3a,[],_0x1cbfef,_0x1d2cb4,_0xe0b3ae,_0x44ab07,_0x34d3bb),N(this,_0x28b109(0x30f),'awaiting'),N(this,_0x28b109(0x36a),0x0),N(this,_0x28b109(0x268)),N(this,'_sender'),(this[_0x28b109(0x2d8)]=_0x103957,this[_0x28b109(0x2a2)]=_0x4d7998,this[_0x28b109(0x2d0)]=_0x5c259a);}[_0x1ca31a(0x442)](_0x1a2ae5){var _0x50428f=_0x1ca31a;this['_clearScheduledTask']();const _0x24f5f2=this['_injector'][_0x50428f(0x208)](oe,this['unitID'],this[_0x50428f(0x409)],this['_awaitingChangeset'],[_0x1a2ae5],this[_0x50428f(0x351)],this['_resendTimer']);return _0x24f5f2[_0x50428f(0x3d9)](),_0x24f5f2;}['onRemoteChangeset'](_0x2e7347){var _0x2d655b=_0x1ca31a;if(this[_0x2d655b(0x2ef)](_0x2e7347))return this[_0x2d655b(0x49c)](),this[_0x2d655b(0x2d8)][_0x2d655b(0x208)](ee,this[_0x2d655b(0x283)],this[_0x2d655b(0x409)],this[_0x2d655b(0x23a)],[],null,[_0x2e7347],this[_0x2d655b(0x351)]);try{const _0x58e730=this[_0x2d655b(0x2d0)][_0x2d655b(0x391)]([_0x2e7347],[this['_awaitingChangeset']],!0x1);if(_0x43eeab(_0x58e730)){const {c1Prime:_0xfa50ee,c2Prime:_0x3fbb63}=_0x58e730;this[_0x2d655b(0x34a)](_0xfa50ee[0x0]),_0x3fbb63[0x0][_0x2d655b(0x282)]=this['_getCurrentRevision'](),this[_0x2d655b(0x49c)]();const _0x3b28de=this[_0x2d655b(0x2d8)][_0x2d655b(0x208)](le,this['unitID'],this[_0x2d655b(0x409)],_0x3fbb63[0x0],this[_0x2d655b(0x351)]);return _0x3b28de[_0x2d655b(0x3d9)](),_0x3b28de;}return this[_0x2d655b(0x29b)](!0x1);}catch(_0x47e21e){return this[_0x2d655b(0x2a2)]['error'](_0x47e21e),this[_0x2d655b(0x29b)](!0x1);}}[_0x1ca31a(0x386)](_0xb96af0){var _0x1f1883=_0x1ca31a;this[_0x1f1883(0x49c)]();const _0x34c0b3=this[_0x1f1883(0x4b7)][_0x1f1883(0x25a)](this['unitID']);if(_0xb96af0[_0x1f1883(0x1e0)]<_0x34c0b3-0x1)return this;if(this['_checkMissing'](_0xb96af0))return this[_0x1f1883(0x2d8)]['createInstance'](ee,this[_0x1f1883(0x283)],this[_0x1f1883(0x409)],null,[],this['_awaitingChangeset'],[],this[_0x1f1883(0x351)]);this['_incrementRevisionNumber']();const _0x146f3c=this[_0x1f1883(0x2d8)][_0x1f1883(0x208)](Ne,this['unitID'],this['type'],this['_handler']);return _0x146f3c['_updateLocalCache'](),_0x146f3c;}['onRemoteRej'](_0x596aa8){var _0x2f3210=_0x1ca31a;return this[_0x2f3210(0x29b)](!!(_0x596aa8!=null&&_0x596aa8[_0x2f3210(0x4b6)]));}[_0x1ca31a(0x3a2)](_0x334966){var _0x2f62b8=_0x1ca31a;return this['_resendTimeout']>yi?this['toggleOffline']():(this[_0x2f62b8(0x268)]=Ri(this[_0x2f62b8(0x36a)],{'timeout':this[_0x2f62b8(0x36a)],'reqId':_0x334966['reqId']}),this[_0x2f62b8(0x45d)]=this[_0x2f62b8(0x268)][_0x2f62b8(0x29d)](({reqId:_0x5c164a,timeout:_0x4a2ec4})=>{var _0x35e0fc=_0x2f62b8;this[_0x35e0fc(0x2b8)](_0x5c164a,_0x4a2ec4);}),this);}[_0x1ca31a(0x49b)](){var _0xeb43d9=_0x1ca31a;return this['_clearScheduledTask'](),this[_0xeb43d9(0x2d8)]['createInstance'](de,this['unitID'],this[_0xeb43d9(0x409)],this[_0xeb43d9(0x23a)],[],this[_0xeb43d9(0x351)]);}[_0x1ca31a(0x330)](){return this;}['resend'](){var _0x41195d=_0x1ca31a;this[_0x41195d(0x351)]['onSendChangeset'](this[_0x41195d(0x23a)]);}[_0x1ca31a(0x29b)](_0x44c60f){var _0x5c73eb=_0x1ca31a;return this[_0x5c73eb(0x49c)](),this['_injector'][_0x5c73eb(0x208)](ue,this[_0x5c73eb(0x283)],this['type'],this[_0x5c73eb(0x23a)],[],this[_0x5c73eb(0x351)],_0x44c60f);}[_0x1ca31a(0x2b8)](_0xb668d2,_0xb8e735){var _0x3e54e1=_0x1ca31a,_0x532769;_0xb668d2===((_0x532769=this[_0x3e54e1(0x23a)])==null?void 0x0:_0x532769[_0x3e54e1(0x470)])&&(this[_0x3e54e1(0x293)](),this['_resendTimeout']=_0xb8e735===0x0?0x3e8:_0xb8e735*0x2);}['_clearScheduledTask'](){var _0x1c311d=_0x1ca31a,_0x3013d4;(_0x3013d4=this[_0x1c311d(0x45d)])==null||_0x3013d4['unsubscribe'](),this[_0x1c311d(0x36a)]=0x0;}};le=Te([P(0x4,_0x279201(_0x14bd7a)),P(0x5,_0x279201(_0x5e9fed)),P(0x6,_0x2dccf5),P(0x7,_0xb82841),P(0x8,_0x2b2951),P(0x9,_0x171cee),P(0xa,_0x26e2c8(J))],le);let oe=class extends Ce{constructor(_0xa56b1d,_0x57337b,_0x794dea,_0x11afb1,_0x401efc,_0x5a82e0,_0x441faf,_0x486f69,_0x1e0e4a,_0x1ebdb5,_0x59ff2e,_0x51529c,_0x83cb1e){var _0x1fcfba=_0x1ca31a;super(_0xa56b1d,_0x57337b,_0x794dea,_0x11afb1,_0x401efc,_0x1e0e4a,_0x51529c,_0x486f69,_0x83cb1e),N(this,_0x1fcfba(0x30f),_0x1fcfba(0x2a7)),N(this,_0x1fcfba(0x36a),0x0),N(this,_0x1fcfba(0x268)),N(this,_0x1fcfba(0x45d)),(this['_injector']=_0x441faf,this['_logService']=_0x1ebdb5,this[_0x1fcfba(0x2d0)]=_0x59ff2e,this[_0x1fcfba(0x245)]=_0x83cb1e,_0x5a82e0&&(this[_0x1fcfba(0x268)]=_0x5a82e0,this[_0x1fcfba(0x45d)]=this[_0x1fcfba(0x268)][_0x1fcfba(0x29d)](({reqId:_0x482dfa,timeout:_0x58bf4a})=>{var _0x10408d=_0x1fcfba;this[_0x10408d(0x2b8)](_0x482dfa,_0x58bf4a);})));}[_0x1ca31a(0x442)](_0x2a8a63){var _0xf41bef=_0x1ca31a;return this[_0xf41bef(0x454)][_0xf41bef(0x20e)](_0x2a8a63),this;}[_0x1ca31a(0x27d)](_0x28c86e){var _0x2e9154=_0x1ca31a;if(this[_0x2e9154(0x2ef)](_0x28c86e))return this[_0x2e9154(0x49c)](),this[_0x2e9154(0x2d8)][_0x2e9154(0x208)](ee,this['unitID'],this['type'],this[_0x2e9154(0x23a)],this['_pendingMutations'],null,[_0x28c86e],this['_handler']);try{const _0x9815f7=this[_0x2e9154(0x2d0)]['transformChangesets']([_0x28c86e],[this[_0x2e9154(0x23a)]],!0x1);if(_0x43eeab(_0x9815f7)){const {c1Prime:_0x3b7926,c2Prime:_0x177b20}=_0x9815f7,_0x28ccb4=this[_0x2e9154(0x2d0)][_0x2e9154(0x2ad)](_0x3b7926[0x0],this[_0x2e9154(0x454)]);if(_0x33394f(_0x28ccb4)){const {c1Prime:_0x1b105a,m2Prime:_0x22937f}=_0x28ccb4;return this[_0x2e9154(0x34a)](_0x1b105a),_0x177b20[0x0][_0x2e9154(0x282)]=this[_0x2e9154(0x1d0)](),this[_0x2e9154(0x49c)](),this['_injector'][_0x2e9154(0x208)](oe,this[_0x2e9154(0x283)],this[_0x2e9154(0x409)],_0x177b20[0x0],_0x22937f,this[_0x2e9154(0x351)],void 0x0);}throw _0x28ccb4[_0x2e9154(0x2ea)];}throw _0x9815f7['error'];}catch(_0x4dad57){return this[_0x2e9154(0x2a2)][_0x2e9154(0x2ea)](_0x4dad57),this[_0x2e9154(0x29b)](!0x1);}}[_0x1ca31a(0x386)](_0x575e48){var _0x220fad=_0x1ca31a;if(this[_0x220fad(0x49c)](),this[_0x220fad(0x2ef)](_0x575e48))return this[_0x220fad(0x2d8)][_0x220fad(0x208)](ee,this[_0x220fad(0x283)],this[_0x220fad(0x409)],null,this['_pendingMutations'],this[_0x220fad(0x23a)],[],this['_handler']);this[_0x220fad(0x270)]();const _0x125611=this['_injector']['createInstance'](ae,this[_0x220fad(0x283)],this[_0x220fad(0x409)],this[_0x220fad(0x454)],this[_0x220fad(0x351)]);return _0x125611[_0x220fad(0x451)](),_0x125611['_updateLocalCache'](),_0x125611;}[_0x1ca31a(0x2a0)](_0x44a2ae){var _0x4cb1ad=_0x1ca31a;return this['_onConflict'](!!(_0x44a2ae!=null&&_0x44a2ae[_0x4cb1ad(0x4b6)]));}[_0x1ca31a(0x3a2)](_0x44edb5){var _0x49fb00=_0x1ca31a;return this[_0x49fb00(0x36a)]>yi?this[_0x49fb00(0x49b)]():(this[_0x49fb00(0x268)]=Ri(this[_0x49fb00(0x36a)],{'timeout':this[_0x49fb00(0x36a)],'reqId':_0x44edb5['reqId']}),this[_0x49fb00(0x45d)]=this['_resendTimer'][_0x49fb00(0x29d)](({reqId:_0x2086f5,timeout:_0x49e04e})=>{this['_resendWithTimeout'](_0x2086f5,_0x49e04e);}),this);}['toggleOffline'](){var _0x976539=_0x1ca31a;return this[_0x976539(0x49c)](),this['_injector'][_0x976539(0x208)](de,this[_0x976539(0x283)],this[_0x976539(0x409)],this[_0x976539(0x23a)],this[_0x976539(0x454)],this[_0x976539(0x351)]);}[_0x1ca31a(0x330)](){return this;}[_0x1ca31a(0x293)](){var _0x499ec0=_0x1ca31a;this['_handler'][_0x499ec0(0x406)](this[_0x499ec0(0x23a)]);}[_0x1ca31a(0x29b)](_0x2e7446){var _0x59beec=_0x1ca31a;return this[_0x59beec(0x49c)](),this[_0x59beec(0x2d8)][_0x59beec(0x208)](ue,this[_0x59beec(0x283)],this['type'],null,this[_0x59beec(0x454)],this[_0x59beec(0x351)],_0x2e7446);}['_resendWithTimeout'](_0x592051,_0x48aeb2){var _0x3337c0=_0x1ca31a,_0x93a644;_0x592051===((_0x93a644=this['_awaitingChangeset'])==null?void 0x0:_0x93a644[_0x3337c0(0x470)])&&(this[_0x3337c0(0x293)](),this[_0x3337c0(0x36a)]=_0x48aeb2===0x0?0x3e8:_0x48aeb2*0x2);}[_0x1ca31a(0x49c)](){var _0x5706b6=_0x1ca31a,_0x820cb3;(_0x820cb3=this[_0x5706b6(0x45d)])==null||_0x820cb3[_0x5706b6(0x332)](),this[_0x5706b6(0x36a)]=0x0;}};oe=Te([P(0x6,_0x279201(_0x14bd7a)),P(0x7,_0x279201(_0x5e9fed)),P(0x8,_0x2dccf5),P(0x9,_0xb82841),P(0xa,_0x2b2951),P(0xb,_0x171cee),P(0xc,_0x26e2c8(J))],oe);let ue=class extends Ce{constructor(_0x1bc0f1,_0x735eb9,_0x243d67,_0x3d5f94,_0x46b68b,_0x233e56=!0x1,_0x1e5a1c,_0x2b201a,_0x453d48,_0xfd80af,_0x5ca0bd,_0x307d9b,_0x308c4c){var _0x32cd8b=_0x1ca31a;super(_0x1bc0f1,_0x735eb9,_0x243d67,_0x3d5f94,_0x46b68b,_0x2b201a,_0x453d48,_0xfd80af,_0x308c4c),N(this,_0x32cd8b(0x30f),'conflict'),(this[_0x32cd8b(0x232)]=_0x233e56,this['_permissionService']=_0x1e5a1c,this[_0x32cd8b(0x2f8)]=_0x5ca0bd,this[_0x32cd8b(0x331)]=_0x307d9b,this[_0x32cd8b(0x245)]=_0x308c4c,this[_0x32cd8b(0x403)](),this['_clearLocalCache'](),this[_0x32cd8b(0x378)]());}['appendMutation'](){return this;}[_0x1ca31a(0x27d)](){return this;}[_0x1ca31a(0x386)](){return this;}[_0x1ca31a(0x2a0)](){return this;}[_0x1ca31a(0x3a2)](){return this;}[_0x1ca31a(0x49b)](){return this;}[_0x1ca31a(0x330)](){return this;}[_0x1ca31a(0x293)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ca31a(0x3f4)](){var _0x1aed1d=_0x1ca31a,_0x3be5e6;(_0x3be5e6=this[_0x1aed1d(0x1fc)])==null||_0x3be5e6[_0x1aed1d(0x299)](this[_0x1aed1d(0x283)],this[_0x1aed1d(0x409)],null,[]);}[_0x1ca31a(0x403)](){var _0x4bf139=_0x1ca31a;this[_0x4bf139(0x232)]?this[_0x4bf139(0x331)][_0x4bf139(0x338)]({'id':se[_0x4bf139(0x27e)]}):this['_collaborationUIEventService'][_0x4bf139(0x338)]({'id':se['CONFLICT']});}[_0x1ca31a(0x378)](){var _0x2bd17a=_0x1ca31a;this[_0x2bd17a(0x334)][_0x2bd17a(0x2c1)](new _0x121da6(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x279201(_0x5e29c1)),P(0x7,_0x2dccf5),P(0x8,_0x171cee),P(0x9,_0x279201(_0x5e9fed)),P(0xa,_0x279201(_0x27d372)),P(0xb,_0x279201(pe)),P(0xc,_0x26e2c8(J))],ue);let de=class extends Ce{constructor(_0x482057,_0x4db7d9,_0x14b2ef,_0x57dead,_0xf472ce,_0x55b578,_0x5decc1,_0x1007f9,_0x57036a,_0x557679){var _0x53a658=_0x1ca31a;super(_0x482057,_0x4db7d9,_0x14b2ef,_0x57dead,_0xf472ce,_0x1007f9,_0x57036a,_0x5decc1,_0x557679),N(this,_0x53a658(0x30f),'offline'),this[_0x53a658(0x2d8)]=_0x55b578;}[_0x1ca31a(0x442)](_0x4e1ee2){var _0x49c653=_0x1ca31a;return this[_0x49c653(0x454)][_0x49c653(0x20e)](_0x4e1ee2),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x52270c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1ca31a(0x386)](){var _0x409060=_0x1ca31a;throw new Error(_0x409060(0x286));}['onRemoteRej'](){var _0x372bff=_0x1ca31a;throw new Error(_0x372bff(0x2d7));}[_0x1ca31a(0x3a2)](){return this;}[_0x1ca31a(0x49b)](){return this;}[_0x1ca31a(0x330)](){var _0x4827a2=_0x1ca31a;const {_injector:_0x123bf2,_pendingMutations:_0x494af1,_awaitingChangeset:_0x2aff41,unitID:_0x59e718,_handler:_0xbc8b,type:_0x1a0969}=this,_0x85451c=Oi(_0x123bf2,_0x59e718,_0x1a0969,_0x2aff41,_0x494af1,_0xbc8b);return _0x85451c instanceof ae?_0x85451c['_schedule']():(_0x85451c instanceof oe||_0x85451c instanceof le)&&_0x85451c[_0x4827a2(0x293)](),_0x85451c;}[_0x1ca31a(0x293)](){var _0xbe6239=_0x1ca31a;throw new Error(_0xbe6239(0x37f));}};de=Te([P(0x5,_0x279201(_0x14bd7a)),P(0x6,_0x279201(_0x5e9fed)),P(0x7,_0x2dccf5),P(0x8,_0x171cee),P(0x9,_0x26e2c8(J))],de);let ee=class extends Ce{constructor(_0x1df2da,_0x553c27,_0x4ca472,_0x5ae43c,_0x1ade7f,_0x5e5191,_0x198408,_0x488aa4,_0xbf9c1b,_0x2a3478,_0x2c1231,_0x475087,_0x240c33,_0x41d47c){var _0x1c78e0=_0x1ca31a;super(_0x1df2da,_0x553c27,_0x4ca472,_0x5ae43c,_0x198408,_0x2c1231,_0x475087,_0xbf9c1b,_0x41d47c),N(this,'status',_0x1c78e0(0x239)),(this[_0x1c78e0(0x34e)]=_0x1ade7f,this[_0x1c78e0(0x4ae)]=_0x5e5191,this[_0x1c78e0(0x2d8)]=_0x488aa4,this[_0x1c78e0(0x2a2)]=_0x2a3478,this[_0x1c78e0(0x2d0)]=_0x240c33,this['localCacheService']=_0x41d47c);}[_0x1ca31a(0x3a9)](_0x52295a){var _0x3504a8=_0x1ca31a;try{const _0x4fbe25=[..._0x52295a,...this[_0x3504a8(0x4ae)]],_0xd71c6c=[this['_awaitingChangeset']||this[_0x3504a8(0x34e)]][_0x3504a8(0x26d)](_0x563478=>!!_0x563478);let _0x300055,_0x3c54f8;if(_0xd71c6c['length']){const _0x5f09fe=this[_0x3504a8(0x2d0)][_0x3504a8(0x391)](_0x4fbe25,_0xd71c6c,!0x1);if(!_0x43eeab(_0x5f09fe))throw _0x5f09fe['error'];_0x300055=_0x5f09fe['c1Prime'],_0x3c54f8=_0x5f09fe[_0x3504a8(0x452)];}else _0x300055=_0x4fbe25,_0x3c54f8=[];let _0x20acbc=this[_0x3504a8(0x454)];_0x300055[_0x3504a8(0x288)](_0x5e4a51=>{var _0xe5049=_0x3504a8;let _0x22e644;if(_0x20acbc[_0xe5049(0x272)]){const _0x570bc9=this[_0xe5049(0x2d0)][_0xe5049(0x2ad)](_0x5e4a51,_0x20acbc);if(!_0x33394f(_0x570bc9))throw _0x570bc9[_0xe5049(0x2ea)];_0x22e644=_0x570bc9[_0xe5049(0x322)],_0x20acbc=_0x570bc9[_0xe5049(0x329)];}else _0x22e644=_0x5e4a51;this[_0xe5049(0x34a)](_0x22e644);}),this[_0x3504a8(0x34e)]&&this['_incrementRevisionNumber'](),this[_0x3504a8(0x23a)]&&_0x3c54f8[_0x3504a8(0x272)]&&(_0x3c54f8[0x0]['baseRev']=this[_0x3504a8(0x1d0)]());let _0x5775ba;if(this[_0x3504a8(0x23a)]&&_0x20acbc['length']!==0x0)_0x5775ba=this[_0x3504a8(0x2d8)][_0x3504a8(0x208)](oe,this[_0x3504a8(0x283)],this[_0x3504a8(0x409)],_0x3c54f8[0x0],_0x20acbc,this[_0x3504a8(0x351)],void 0x0);else{if(this[_0x3504a8(0x23a)]&&_0x20acbc['length']===0x0)_0x3c54f8[0x0][_0x3504a8(0x282)]=this[_0x3504a8(0x1d0)](),_0x5775ba=this[_0x3504a8(0x2d8)][_0x3504a8(0x208)](le,this['unitID'],this['type'],_0x3c54f8[0x0],this[_0x3504a8(0x351)]);else{if(_0x20acbc[_0x3504a8(0x272)]!==0x0){const _0x307786=this['_injector'][_0x3504a8(0x208)](ae,this['unitID'],this[_0x3504a8(0x409)],_0x20acbc,this[_0x3504a8(0x351)]);_0x307786['_schedule'](),_0x5775ba=_0x307786;}else _0x5775ba=this[_0x3504a8(0x2d8)]['createInstance'](Ne,this[_0x3504a8(0x283)],this[_0x3504a8(0x409)],this['_handler']);}}return _0x5775ba[_0x3504a8(0x3d9)](),_0x5775ba;}catch(_0x1f1461){return this[_0x3504a8(0x2a2)][_0x3504a8(0x2ea)](_0x3504a8(0x1da),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1f1461),this[_0x3504a8(0x2d8)][_0x3504a8(0x208)](ue,this['unitID'],this[_0x3504a8(0x409)],this['_awaitingChangeset'],this[_0x3504a8(0x454)],this['_handler'],!0x1);}}[_0x1ca31a(0x293)](){var _0x64392=_0x1ca31a;throw new Error(_0x64392(0x317));}[_0x1ca31a(0x442)](_0x52dc8c){var _0x5ca751=_0x1ca31a;return this[_0x5ca751(0x454)][_0x5ca751(0x20e)](_0x52dc8c),this;}[_0x1ca31a(0x27d)](_0x3f0cbe){var _0x46fd73=_0x1ca31a;return this[_0x46fd73(0x4ae)][_0x46fd73(0x20e)](_0x3f0cbe),this;}[_0x1ca31a(0x386)](_0x1f1c52){var _0x35d391=_0x1ca31a;if(this[_0x35d391(0x23a)])return this[_0x35d391(0x34e)]=this['_awaitingChangeset'],this[_0x35d391(0x23a)]=null,this;throw new Error(_0x35d391(0x35c));}[_0x1ca31a(0x2a0)](_0x10ab59){var _0x322fac=_0x1ca31a;return this[_0x322fac(0x29b)](!!(_0x10ab59!=null&&_0x10ab59['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xdb3fee=_0x1ca31a;return this[_0xdb3fee(0x2d8)]['createInstance'](de,this[_0xdb3fee(0x283)],this[_0xdb3fee(0x409)],this[_0xdb3fee(0x23a)],this[_0xdb3fee(0x454)],this[_0xdb3fee(0x351)]);}[_0x1ca31a(0x330)](){return this;}['_onConflict'](_0x2af274){var _0x2bb961=_0x1ca31a;return this['_injector'][_0x2bb961(0x208)](ue,this[_0x2bb961(0x283)],this[_0x2bb961(0x409)],this[_0x2bb961(0x23a)],this[_0x2bb961(0x454)],this[_0x2bb961(0x351)],_0x2af274);}};ee=Te([P(0x7,_0x279201(_0x14bd7a)),P(0x8,_0x279201(_0x5e9fed)),P(0x9,_0xb82841),P(0xa,_0x2dccf5),P(0xb,_0x171cee),P(0xc,_0x2b2951),P(0xd,_0x26e2c8(J))],ee);function Oi(_0x49f4f6,_0x524625,_0x56eb1a,_0x18c39a,_0x865900,_0x48a9f9){var _0x4f6e2d=_0x1ca31a;return _0x18c39a&&_0x865900[_0x4f6e2d(0x272)]?_0x49f4f6[_0x4f6e2d(0x208)](oe,_0x524625,_0x56eb1a,_0x18c39a,_0x865900,_0x48a9f9,void 0x0):_0x18c39a?_0x49f4f6[_0x4f6e2d(0x208)](le,_0x524625,_0x56eb1a,_0x18c39a,_0x48a9f9):_0x865900[_0x4f6e2d(0x272)]?_0x49f4f6[_0x4f6e2d(0x208)](ae,_0x524625,_0x56eb1a,_0x865900,_0x48a9f9):_0x49f4f6['createInstance'](Ne,_0x524625,_0x56eb1a,_0x48a9f9);}var ar=Object[_0x1ca31a(0x459)],xt=(_0x390052,_0x557656,_0x1b09ac,_0x4fa993)=>{var _0x178cbe=_0x1ca31a;for(var _0x5ab2bd=_0x4fa993>0x1?void 0x0:_0x4fa993?ar(_0x557656,_0x1b09ac):_0x557656,_0x3d14e5=_0x390052[_0x178cbe(0x272)]-0x1,_0x3f2e17;_0x3d14e5>=0x0;_0x3d14e5--)(_0x3f2e17=_0x390052[_0x3d14e5])&&(_0x5ab2bd=_0x3f2e17(_0x5ab2bd)||_0x5ab2bd);return _0x5ab2bd;},H=(_0x4157b7,_0x4346b5)=>(_0xd60005,_0x156aad)=>_0x4346b5(_0xd60005,_0x156aad,_0x4157b7);let nt=class extends _0x149fed{constructor(_0x2b68be,_0x3c3e0d,_0x478d7c,_0x4e6337,_0x3873be,_0x2399e7,_0x458085,_0x47eddf,_0x3a86c7,_0x4778cd,_0x203334,_0x51761d,_0x57ec29){var _0x2a4232=_0x1ca31a;super(),N(this,'_state$',new _0x51f60c(null)),N(this,_0x2a4232(0x1ed),this[_0x2a4232(0x1d8)][_0x2a4232(0x261)]()),N(this,_0x2a4232(0x434)),N(this,_0x2a4232(0x260),!0x1),N(this,_0x2a4232(0x27b),''),N(this,_0x2a4232(0x2f4),0x0),N(this,_0x2a4232(0x226),this['state$']['pipe'](_0x2677b9(_0x53c11b=>_0x53c11b?_0x53c11b[_0x2a4232(0x30f)]:bi[_0x2a4232(0x460)]),_0x24cb43(0x1))),N(this,_0x2a4232(0x33f),!0x1),N(this,_0x2a4232(0x491),[]),(this[_0x2a4232(0x283)]=_0x2b68be,this[_0x2a4232(0x304)]=_0x3c3e0d,this['_type']=_0x478d7c,this[_0x2a4232(0x2d8)]=_0x4e6337,this[_0x2a4232(0x2a8)]=_0x3873be,this[_0x2a4232(0x2f8)]=_0x2399e7,this[_0x2a4232(0x4b7)]=_0x458085,this[_0x2a4232(0x463)]=_0x47eddf,this[_0x2a4232(0x2a2)]=_0x3a86c7,this[_0x2a4232(0x3cb)]=_0x4778cd,this['_permissionService']=_0x203334,this[_0x2a4232(0x40c)]=_0x51761d,this[_0x2a4232(0x1fc)]=_0x57ec29);}get[_0x1ca31a(0x2de)](){return this['_state'];}async[_0x1ca31a(0x2a5)](){var _0x15543c=_0x1ca31a;if(this[_0x15543c(0x2de)])throw new Error(_0x15543c(0x29a));await this[_0x15543c(0x343)]();}[_0x1ca31a(0x2ed)](){var _0x1e4f95=_0x1ca31a;return this[_0x1e4f95(0x260)]=!0x0,_0x21ba54(()=>{var _0x3bf210=_0x1e4f95;this[_0x3bf210(0x260)]=!0x1,this[_0x3bf210(0x3a5)]();});}[_0x1ca31a(0x2e2)](_0x7a6549){var _0x4b2cf5=_0x1ca31a;this[_0x4b2cf5(0x2d9)](_0x7a6549);}['_updateState'](_0x22289b){var _0x460bcb=_0x1ca31a;this['_state']=_0x22289b,this[_0x460bcb(0x1d8)][_0x460bcb(0x46f)](_0x22289b);}async['_init'](){var _0x43ed3b=_0x1ca31a,_0x2bd952;this['_updateState'](await this[_0x43ed3b(0x45f)]()),this['_singleActiveUnitService']&&((_0x2bd952=this['_singleActiveUnitService'])==null||_0x2bd952[_0x43ed3b(0x2fa)](this[_0x43ed3b(0x283)]),this[_0x43ed3b(0x28c)](this[_0x43ed3b(0x40c)]['getUnitStatus$'](this[_0x43ed3b(0x283)])['subscribe'](_0x48973f=>{var _0x35e063=_0x43ed3b;this[_0x35e063(0x2a2)][_0x35e063(0x436)](_0x35e063(0x326),_0x35e063(0x432),_0x48973f),_0x48973f===Ci['OTHER_CLIENTS_EDITING']?(this[_0x35e063(0x463)][_0x35e063(0x338)]({'id':se[_0x35e063(0x3b0)]}),this['_permissionService']['updatePermissionPoint'](new _0x121da6(this[_0x35e063(0x283)])['id'],!0x1),this[_0x35e063(0x334)][_0x35e063(0x1f0)](!0x1)):(this[_0x35e063(0x334)][_0x35e063(0x2c1)](new _0x121da6(this[_0x35e063(0x283)])['id'],!0x0),this[_0x35e063(0x334)]['setShowComponents'](!0x0));})));let _0x22fc77=!0x1;return this['disposeWithMe'](this[_0x43ed3b(0x304)]['sessionStatus$']['subscribe'](_0x1c6620=>{var _0x112b98=_0x43ed3b;_0x1c6620===Ee['ONLINE']?this['_toggleOnline'](_0x22fc77):_0x1c6620===Ee[_0x112b98(0x460)]&&(_0x22fc77=!0x0,this[_0x112b98(0x486)]());})),this[_0x43ed3b(0x28c)](this[_0x43ed3b(0x304)][_0x43ed3b(0x443)][_0x43ed3b(0x29d)](_0x3a1acd=>{var _0xe17b56=_0x43ed3b;try{switch(_0x3a1acd[_0xe17b56(0x277)]){case _0x35ad24['NEW_CHANGESETS']:{this[_0xe17b56(0x26e)](_0xe006db(_0x3a1acd[_0xe17b56(0x3b2)]));break;}case _0x35ad24[_0xe17b56(0x2be)]:{this[_0xe17b56(0x318)](_0x3a1acd[_0xe17b56(0x3b2)]);break;}case _0x35ad24['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x35ad24[_0xe17b56(0x3d7)]:{this[_0xe17b56(0x489)](_0x3a1acd[_0xe17b56(0x3b2)]);break;}case _0x35ad24['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x3a1acd[_0xe17b56(0x3b2)][_0xe17b56(0x32a)]['map'](_0x16da81=>_0xe006db(_0x16da81)));break;}case _0x35ad24[_0xe17b56(0x2c6)]:{this[_0xe17b56(0x266)]({'isPermissionRej':!0x0});break;}case _0x35ad24[_0xe17b56(0x237)]:break;}}catch(_0x32b4b2){throw console['error'](_0xe17b56(0x29f),_0x32b4b2),_0x32b4b2;}})),this[_0x43ed3b(0x434)];}[_0x1ca31a(0x1fb)](){this['_transitionLocked']=!0x1;}[_0x1ca31a(0x2da)](){var _0x58a915=_0x1ca31a;if(this[_0x58a915(0x33f)])throw new Error(_0x58a915(0x27f));this['_transitionLocked']=!0x0;}[_0x1ca31a(0x2d9)](_0x2f4979){var _0x5f15da=_0x1ca31a;this[_0x5f15da(0x2da)](),this[_0x5f15da(0x336)](this[_0x5f15da(0x434)][_0x5f15da(0x442)](_0x2f4979)),this[_0x5f15da(0x1fb)]();}[_0x1ca31a(0x26e)](_0x4b158b){var _0x2fc454=_0x1ca31a;if(!(_0x4b158b[_0x2fc454(0x1e0)]<=this['_revisionService'][_0x2fc454(0x25a)](this[_0x2fc454(0x283)]))){if(this[_0x2fc454(0x260)]){this[_0x2fc454(0x491)][_0x2fc454(0x20e)](_0x4b158b);return;}this[_0x2fc454(0x3a8)](_0x4b158b);}}[_0x1ca31a(0x3a5)](){var _0x51ed55=_0x1ca31a;this[_0x51ed55(0x491)][_0x51ed55(0x288)](_0x1cb6f3=>this[_0x51ed55(0x3a8)](_0x1cb6f3)),this['_remoteChangesetQueue']=[];}[_0x1ca31a(0x3a8)](_0x288f7a){var _0xbbbd57=_0x1ca31a;const _0x30b2ad=this[_0xbbbd57(0x2a8)][_0xbbbd57(0x241)][_0xbbbd57(0x2f3)](this[_0xbbbd57(0x2a8)][_0xbbbd57(0x241)][_0xbbbd57(0x289)]()[_0xbbbd57(0x3bd)])(_0x288f7a[_0xbbbd57(0x23b)],null)||_0x288f7a[_0xbbbd57(0x23b)],_0xa62a46={..._0x288f7a,'mutations':_0x30b2ad};this[_0xbbbd57(0x2da)](),this[_0xbbbd57(0x336)](this[_0xbbbd57(0x434)][_0xbbbd57(0x27d)](_0xa62a46)),this[_0xbbbd57(0x1fb)]();}[_0x1ca31a(0x318)](_0x49e62d){var _0x2ca930=_0x1ca31a;this[_0x2ca930(0x2da)](),this[_0x2ca930(0x336)](this[_0x2ca930(0x434)]['onRemoteAck'](_0x49e62d)),this[_0x2ca930(0x1fb)]();}[_0x1ca31a(0x266)](_0x1b3ad8){var _0x3a1a15=_0x1ca31a;this[_0x3a1a15(0x2da)](),this[_0x3a1a15(0x336)](this[_0x3a1a15(0x434)]['onRemoteRej'](_0x1b3ad8)),this[_0x3a1a15(0x1fb)]();}[_0x1ca31a(0x489)](_0x53a170){var _0x5ca5d4=_0x1ca31a;this['_lockTransition'](),this[_0x5ca5d4(0x336)](this[_0x5ca5d4(0x434)]['onRemoteRetry'](_0x53a170)),this[_0x5ca5d4(0x1fb)]();}[_0x1ca31a(0x42b)](_0x4f095a){var _0x5b8737=_0x1ca31a;if(!(this[_0x5b8737(0x434)]instanceof ee))throw new TypeError(_0x5b8737(0x363));const _0x4837a8=_0x4f095a[_0x5b8737(0x284)](_0x3806c0=>{var _0x207621=_0x5b8737;const _0x23ed6e=this['_compressMutationService'][_0x207621(0x241)]['fetchThroughInterceptors'](this[_0x207621(0x2a8)]['interceptor'][_0x207621(0x289)]()[_0x207621(0x3bd)])(_0x3806c0[_0x207621(0x23b)],null)||_0x3806c0[_0x207621(0x23b)];return{..._0x3806c0,'mutations':_0x23ed6e};});this['_lockTransition'](),this[_0x5b8737(0x336)](this[_0x5b8737(0x434)]['onMissedChangesetFetched'](_0x4837a8)),this['_unlockTransition']();}['_toggleOffline'](){var _0x133375=_0x1ca31a;this[_0x133375(0x2da)](),this[_0x133375(0x336)](this['_state'][_0x133375(0x49b)]()),this[_0x133375(0x1fb)]();}[_0x1ca31a(0x3c4)](_0x133f12=!0x1){var _0x284a09=_0x1ca31a;this['_lockTransition'](),this[_0x284a09(0x336)](this[_0x284a09(0x434)][_0x284a09(0x330)]()),this[_0x284a09(0x1fb)]();const _0x4af79c=this[_0x284a09(0x434)];_0x133f12&&_0x4af79c instanceof Ne&&(this[_0x284a09(0x2da)](),this[_0x284a09(0x336)](_0x4af79c[_0x284a09(0x236)]()),this['_unlockTransition']());}async[_0x1ca31a(0x45f)](){return new Promise(_0x5103c3=>{var _0x518423=_0xab3c;this['session'][_0x518423(0x255)][_0x518423(0x21b)](_0x256b96(0x1))[_0x518423(0x29d)](async _0x2b0168=>{var _0x583fae=_0x518423;_0x5103c3(await this[_0x583fae(0x429)](_0x2b0168===Ee[_0x583fae(0x3ee)]));});});}[_0x1ca31a(0x305)](){var _0x46858c=_0x1ca31a;const _0x44ecad=this[_0x46858c(0x283)];return{'onStateChange':(_0x173251,_0x6968c1)=>{var _0x2f83f4=_0x46858c;if(_0x173251!==this[_0x2f83f4(0x434)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x173251[_0x2f83f4(0x30f)]+_0x2f83f4(0x2aa)+_0x6968c1[_0x2f83f4(0x30f)]+'\x0aCurrent:\x20'+this[_0x2f83f4(0x434)]['status']);this[_0x2f83f4(0x336)](_0x6968c1);},'onSendChangeset':_0x45311b=>{var _0x590fc7=_0x46858c;_0x45311b['sid']||(_0x45311b['sid']=this[_0x590fc7(0x27b)],_0x45311b[_0x590fc7(0x470)]=++this[_0x590fc7(0x2f4)]);const _0x500086={'eventID':_0x35ad24[_0x590fc7(0x3f2)],'data':{'unitID':_0x45311b['unitID'],'unitType':this[_0x590fc7(0x375)],'changeset':_0x45311b,'memberID':this[_0x590fc7(0x304)][_0x590fc7(0x3be)]()}};this['session'][_0x590fc7(0x2dc)](_0x500086,this[_0x590fc7(0x283)]);},'onMissingChangesets':({from:_0x342381,to:_0x52e7e4})=>{var _0xa29c0f=_0x46858c;this['_logService'][_0xa29c0f(0x436)](_0xa29c0f(0x326),_0xa29c0f(0x477)+_0x342381+_0xa29c0f(0x32d)+_0x52e7e4);const _0x141882={'eventID':_0x35ad24[_0xa29c0f(0x302)],'data':{'unitID':_0x44ecad,'unitType':this[_0xa29c0f(0x375)],'from':_0x342381,'to':_0x52e7e4}};this[_0xa29c0f(0x304)][_0xa29c0f(0x2dc)](_0x141882,this[_0xa29c0f(0x283)]);}};}async[_0x1ca31a(0x429)](_0x1c43f5){var _0x13cf3e=_0x1ca31a,_0x3d157e,_0x8fbb04,_0x17f27f;const _0x2a3b6b=await((_0x3d157e=this[_0x13cf3e(0x1fc)])==null?void 0x0:_0x3d157e[_0x13cf3e(0x462)](this[_0x13cf3e(0x283)])),_0x366fdf=(_0x8fbb04=_0x2a3b6b==null?void 0x0:_0x2a3b6b['mutations'])!=null?_0x8fbb04:[],_0x2b7a91=(_0x17f27f=_0x2a3b6b==null?void 0x0:_0x2a3b6b[_0x13cf3e(0x45b)])!=null?_0x17f27f:null,_0x4442b1=!!(_0x2b7a91!=null&&_0x2b7a91['sid'])&&!!(_0x2b7a91!=null&&_0x2b7a91[_0x13cf3e(0x470)]);this[_0x13cf3e(0x27b)]=_0x4442b1?_0x2b7a91[_0x13cf3e(0x1eb)]:Zn(),this['_changesetReqId']=_0x4442b1?_0x2b7a91[_0x13cf3e(0x470)]:0x0;const _0x333a4b=this[_0x13cf3e(0x283)];try{this['_replayCachedMutations'](_0x2b7a91,_0x366fdf);}catch(_0x24ced3){this['_logService'][_0x13cf3e(0x2ea)](_0x24ced3);}const _0x472f44=this[_0x13cf3e(0x305)]();if(_0x1c43f5){const _0x527108=Oi(this[_0x13cf3e(0x2d8)],_0x333a4b,this[_0x13cf3e(0x375)],_0x2b7a91,_0x366fdf,_0x472f44);return _0x527108 instanceof ae?_0x527108[_0x13cf3e(0x451)]():(_0x527108 instanceof oe||_0x527108 instanceof le)&&_0x527108['resend'](),_0x527108;}return this['_injector']['createInstance'](de,_0x333a4b,this[_0x13cf3e(0x375)],_0x2b7a91,_0x366fdf,_0x472f44);}['_replayCachedMutations'](_0x49c772,_0x47d2ba){var _0x483bbd=_0x1ca31a,_0x3ba172,_0xc10bec;const _0x30fdb6=this[_0x483bbd(0x2a8)][_0x483bbd(0x241)][_0x483bbd(0x2f3)](this[_0x483bbd(0x2a8)][_0x483bbd(0x241)][_0x483bbd(0x289)]()[_0x483bbd(0x3bd)]);(_0x3ba172=_0x30fdb6((_0x49c772==null?void 0x0:_0x49c772['mutations'])||[],null))==null||_0x3ba172[_0x483bbd(0x288)](_0x1025e4=>this[_0x483bbd(0x3cb)][_0x483bbd(0x3b4)](_0x1025e4['id'],_0x1025e4[_0x483bbd(0x44a)])),(_0xc10bec=_0x30fdb6(_0x47d2ba||[],null))==null||_0xc10bec[_0x483bbd(0x288)](_0x2266a1=>this[_0x483bbd(0x3cb)][_0x483bbd(0x3b4)](_0x2266a1['id'],_0x2266a1[_0x483bbd(0x44a)]));}};nt=xt([H(0x3,_0x279201(_0x14bd7a)),H(0x4,_0x279201(_0x48803c)),H(0x5,_0x279201(_0x27d372)),H(0x6,_0x279201(_0x5e9fed)),H(0x7,_0x279201(pe)),H(0x8,_0xb82841),H(0x9,_0x2dccf5),H(0xa,_0x5e29c1),H(0xb,_0x26e2c8(ht)),H(0xc,_0x26e2c8(J))],nt);let It=class extends nt{constructor(_0x4a19b0,_0x4a19a5,_0x35b476,_0x3b0137,_0x4a5b7d,_0x2b743e,_0x47f9b1,_0x5ba1fb,_0x9845c3,_0x1028ea,_0x8d6bfe,_0x284fce,_0x4fb801){var _0x4d84f1=_0x1ca31a;super(_0x4a19b0,_0x35b476,_0x4a19a5,_0x3b0137,_0x4a5b7d,_0x2b743e,_0x47f9b1,_0x5ba1fb,_0x9845c3,_0x1028ea,_0x8d6bfe,_0x284fce,_0x4fb801),N(this,_0x4d84f1(0x1ce),null),(this[_0x4d84f1(0x283)]=_0x4a19b0,this[_0x4d84f1(0x409)]=_0x4a19a5);}[_0x1ca31a(0x484)](_0x4e9ba2){this['_handlerCallback']=_0x4e9ba2;}[_0x1ca31a(0x4be)](){var _0x475d3f=_0x1ca31a;this['_handlerCallback']=null,super[_0x475d3f(0x4be)]();}[_0x1ca31a(0x305)](){var _0xf16361=_0x1ca31a;const _0x17617=super[_0xf16361(0x305)]();return _0x17617[_0xf16361(0x280)]=_0x455697=>{var _0x58541f=_0xf16361,_0x297915,_0x43dec9;return(_0x43dec9=(_0x297915=this[_0x58541f(0x1ce)])==null?void 0x0:_0x297915[_0x58541f(0x280)])==null?void 0x0:_0x43dec9['call'](_0x297915,_0x455697);},_0x17617[_0xf16361(0x341)]=_0x596c09=>{var _0x222ec5=_0xf16361,_0x2f2da5,_0x1f46c1;return(_0x1f46c1=(_0x2f2da5=this[_0x222ec5(0x1ce)])==null?void 0x0:_0x2f2da5[_0x222ec5(0x341)])==null?void 0x0:_0x1f46c1[_0x222ec5(0x1f5)](_0x2f2da5,_0x596c09);},_0x17617[_0xf16361(0x4a5)]=_0x5e0a1a=>{var _0x50bfd2=_0xf16361,_0x194085,_0x431396;return(_0x431396=(_0x194085=this[_0x50bfd2(0x1ce)])==null?void 0x0:_0x194085['onTransformSelections'])==null?void 0x0:_0x431396['call'](_0x194085,_0x5e0a1a);},_0x17617[_0xf16361(0x4b1)]=_0x2f7229=>{var _0xa3e6c3=_0xf16361,_0x5d3fac,_0x245699;return(_0x245699=(_0x5d3fac=this['_handlerCallback'])==null?void 0x0:_0x5d3fac['onSyncEditingCollabCursor'])==null?void 0x0:_0x245699[_0xa3e6c3(0x1f5)](_0x5d3fac,_0x2f7229);},_0x17617[_0xf16361(0x40a)]=_0x3cd227=>{var _0x2b0f94=_0xf16361,_0x8700ce,_0x40ad06,_0x5b5d53;if(!((_0x8700ce=this[_0x2b0f94(0x1ce)])!=null&&_0x8700ce[_0x2b0f94(0x40a)]))throw new Error(_0x2b0f94(0x4bb));return(_0x5b5d53=(_0x40ad06=this[_0x2b0f94(0x1ce)])==null?void 0x0:_0x40ad06[_0x2b0f94(0x40a)])==null?void 0x0:_0x5b5d53[_0x2b0f94(0x1f5)](_0x40ad06,_0x3cd227);},_0x17617[_0xf16361(0x244)]=_0x47ba99=>{var _0xb64311=_0xf16361,_0xdf6c14,_0x2193d6,_0x4094e2;if(!((_0xdf6c14=this[_0xb64311(0x1ce)])!=null&&_0xdf6c14[_0xb64311(0x244)]))throw new Error(_0xb64311(0x1ee));return(_0x4094e2=(_0x2193d6=this[_0xb64311(0x1ce)])==null?void 0x0:_0x2193d6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4094e2['call'](_0x2193d6,_0x47ba99);},_0x17617;}async['_init'](){var _0x44394d=_0x1ca31a;const _0x3231de=await super[_0x44394d(0x343)]();return this['disposeWithMe'](this[_0x44394d(0x3cb)]['onCommandExecuted']((_0x2a682e,_0x1045a9)=>{var _0x14624d=_0x44394d;if(_0x2a682e[_0x14624d(0x409)]!==_0x533d08[_0x14624d(0x1ca)]||_0x1045a9!=null&&_0x1045a9[_0x14624d(0x3e0)]||_0x1045a9!=null&&_0x1045a9[_0x14624d(0x445)]||_0x2a682e['id']===_0x347793['id'])return;const _0x4131c8=_0x2a682e[_0x14624d(0x44a)];if((_0x4131c8==null?void 0x0:_0x4131c8[_0x14624d(0x48d)])!==this['unitID'])return;const _0x264388=_0x2a682e,_0x3169ae=this['_compressMutationService'][_0x14624d(0x241)][_0x14624d(0x2f3)](this[_0x14624d(0x2a8)][_0x14624d(0x241)]['getInterceptPoints']()[_0x14624d(0x377)])([_0x264388],null)||[_0x264388];this[_0x14624d(0x2d9)](_0x3169ae[0x0]);})),_0x3231de;}};It=xt([H(0x3,_0x279201(_0x14bd7a)),H(0x4,_0x279201(_0x48803c)),H(0x5,_0x279201(_0x27d372)),H(0x6,_0x279201(_0x5e9fed)),H(0x7,_0x279201(pe)),H(0x8,_0xb82841),H(0x9,_0x2dccf5),H(0xa,_0x5e29c1),H(0xb,_0x26e2c8(ht)),H(0xc,_0x26e2c8(J))],It);let Tt=class extends nt{constructor(_0xf01fd9,_0x471972,_0x85aecf,_0x503fb6,_0x3e5f2d,_0x2830ed,_0x16349e,_0x4eff56,_0x4bb54f,_0x3abca8,_0x46a21d,_0x167a24,_0x3fccb5,_0x41564c){var _0x4fe598=_0x1ca31a;super(_0xf01fd9,_0x85aecf,_0x471972,_0x503fb6,_0x3e5f2d,_0x2830ed,_0x16349e,_0x4bb54f,_0x3abca8,_0x46a21d,_0x167a24,_0x3fccb5,_0x41564c),this[_0x4fe598(0x283)]=_0xf01fd9,this[_0x4fe598(0x409)]=_0x471972,this['_sheetTransformSelectionsService']=_0x4eff56;}[_0x1ca31a(0x305)](){var _0x5ef39d=_0x1ca31a;const _0xbe06d4=super[_0x5ef39d(0x305)]();return _0xbe06d4[_0x5ef39d(0x4a5)]=_0x11a62a=>this['_sheetTransformSelectionsService'][_0x5ef39d(0x218)](_0x11a62a),_0xbe06d4;}async['_init'](){var _0xa987b8=_0x1ca31a;const _0x2b42cb=await super[_0xa987b8(0x343)]();return this[_0xa987b8(0x28c)](this[_0xa987b8(0x3cb)][_0xa987b8(0x2c4)]((_0x306f38,_0x5766fa)=>{var _0x13357a=_0xa987b8;if(_0x306f38[_0x13357a(0x409)]!==_0x533d08['MUTATION']||_0x5766fa!=null&&_0x5766fa['fromCollab']||_0x5766fa!=null&&_0x5766fa['onlyLocal'])return;const _0x9e58ba=_0x306f38[_0x13357a(0x44a)];if((_0x9e58ba==null?void 0x0:_0x9e58ba[_0x13357a(0x48d)])!==this[_0x13357a(0x283)])return;const _0x5d21aa=_0x306f38,_0xab9b69=this[_0x13357a(0x2a8)][_0x13357a(0x241)][_0x13357a(0x2f3)](this[_0x13357a(0x2a8)][_0x13357a(0x241)][_0x13357a(0x289)]()['COMPRESS_MUTATION_SEND'])([_0x5d21aa],null)||[_0x5d21aa];this['_onLocalMutation'](_0xab9b69[0x0]);})),_0x2b42cb;}};Tt=xt([H(0x3,_0x279201(_0x14bd7a)),H(0x4,_0x279201(_0x48803c)),H(0x5,_0x279201(_0x27d372)),H(0x6,_0x279201(_0x5e9fed)),H(0x7,_0x279201(it)),H(0x8,_0x279201(pe)),H(0x9,_0xb82841),H(0xa,_0x2dccf5),H(0xb,_0x5e29c1),H(0xc,_0x26e2c8(ht)),H(0xd,_0x26e2c8(J))],Tt);var or=Object[_0x1ca31a(0x459)],cr=(_0x3aaccb,_0x4eec90,_0x25d497,_0x12c9de)=>{var _0x5d5c35=_0x1ca31a;for(var _0x911b2=_0x12c9de>0x1?void 0x0:_0x12c9de?or(_0x4eec90,_0x25d497):_0x4eec90,_0x4d4134=_0x3aaccb[_0x5d5c35(0x272)]-0x1,_0x262822;_0x4d4134>=0x0;_0x4d4134--)(_0x262822=_0x3aaccb[_0x4d4134])&&(_0x911b2=_0x262822(_0x911b2)||_0x911b2);return _0x911b2;},ft=(_0x2e717d,_0x31e548)=>(_0x13c6f0,_0x5ed96f)=>_0x31e548(_0x13c6f0,_0x5ed96f,_0x2e717d);let rt=class extends _0x149fed{constructor(_0x8726e3,_0x44b98f,_0x29124b){var _0x2c869c=_0x1ca31a;super(),N(this,'_entities',new Map()),N(this,_0x2c869c(0x2d2),new _0x17f7db()),N(this,_0x2c869c(0x456),this['_entityInit$'][_0x2c869c(0x261)]()),(this[_0x2c869c(0x2d8)]=_0x8726e3,this['_collabSessionService']=_0x44b98f,this['_univerInstanceService']=_0x29124b,this['_init']());}[_0x1ca31a(0x4be)](){var _0x2c3311=_0x1ca31a;super['dispose'](),this[_0x2c3311(0x3c5)][_0x2c3311(0x288)](_0x1db1d8=>_0x1db1d8[_0x2c3311(0x4be)]()),this[_0x2c3311(0x3c5)][_0x2c3311(0x3e2)]();}[_0x1ca31a(0x387)](_0x326690){var _0x39c2d0=_0x1ca31a,_0x27112a;return(_0x27112a=this[_0x39c2d0(0x3c5)]['get'](_0x326690))!=null?_0x27112a:null;}[_0x1ca31a(0x309)](_0x1d7133){var _0x551523=_0x1ca31a;const _0x193852=this[_0x551523(0x387)](_0x1d7133);return _0x193852?_0x34156a(_0x193852):this[_0x551523(0x2d2)][_0x551523(0x21b)](_0x3e6a5f(_0x4c94a4=>_0x4c94a4['unitID']===_0x1d7133));}[_0x1ca31a(0x31c)](_0x754189){var _0x732972=_0x1ca31a;return _0x2f13b9(this[_0x732972(0x309)](_0x754189)['pipe'](_0xcc06fc(()=>{})));}['_init'](){var _0x3f8406=_0x1ca31a;this[_0x3f8406(0x23f)][_0x3f8406(0x3c8)](_0x2f61ed[_0x3f8406(0x2c8)])[_0x3f8406(0x21b)](_0x430588(this[_0x3f8406(0x3e4)]),_0x4afb0a(0x10))[_0x3f8406(0x29d)](async _0x2d8fac=>{var _0x236361=_0x3f8406;const _0x2cea30=_0x2d8fac[_0x236361(0x3b1)](),_0x41ce02=await this[_0x236361(0x376)](_0x2cea30,Q[_0x236361(0x2c8)]);this['_entities'][_0x236361(0x319)](_0x2cea30,_0x41ce02);}),this[_0x3f8406(0x23f)][_0x3f8406(0x3c8)](_0x2f61ed[_0x3f8406(0x2b9)])[_0x3f8406(0x21b)](_0x430588(this['dispose$']),_0x4afb0a(0x10))['pipe'](_0x3e6a5f(_0xb1eb39=>!_0xb1eb39[_0x3f8406(0x3b1)]()['startsWith']('__')))[_0x3f8406(0x29d)](async _0x211aa2=>{var _0x1c7992=_0x3f8406;const _0x12bf0d=_0x211aa2[_0x1c7992(0x3b1)](),_0x23bd41=await this[_0x1c7992(0x376)](_0x12bf0d,Q['UNIVER_DOC']);this['_entities'][_0x1c7992(0x319)](_0x12bf0d,_0x23bd41);}),_0x845fb5(this[_0x3f8406(0x23f)][_0x3f8406(0x389)](_0x2f61ed['UNIVER_SHEET']),this[_0x3f8406(0x23f)][_0x3f8406(0x389)](_0x2f61ed['UNIVER_DOC']))[_0x3f8406(0x21b)](_0x430588(this[_0x3f8406(0x3e4)]))[_0x3f8406(0x29d)](_0x325350=>{var _0x329cfc=_0x3f8406;const _0x582317=_0x325350['getUnitId'](),_0xc6d071=this['_entities']['get'](_0x582317);_0xc6d071&&(_0xc6d071[_0x329cfc(0x4be)](),this[_0x329cfc(0x3c5)][_0x329cfc(0x1df)](_0x582317));});}async[_0x1ca31a(0x376)](_0xc2c5b3,_0x459577){var _0x37e69e=_0x1ca31a;const _0x426ca6=await this['_collabSessionService']['requireSession'](_0xc2c5b3),_0x2c8cd7=this['_injector'][_0x37e69e(0x208)](this[_0x37e69e(0x404)](_0x459577),_0xc2c5b3,_0x459577,_0x426ca6);return await _0x2c8cd7[_0x37e69e(0x2a5)](),this[_0x37e69e(0x2d2)][_0x37e69e(0x46f)](_0x2c8cd7),_0x2c8cd7;}[_0x1ca31a(0x404)](_0x339181){var _0x1ddff2=_0x1ca31a;switch(_0x339181){case Q[_0x1ddff2(0x2b9)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x339181);}}};function _0xab3c(_0x26f24a,_0x59a645){var _0x261375=_0x2613();return _0xab3c=function(_0xab3c0c,_0x2851bd){_0xab3c0c=_0xab3c0c-0x1c8;var _0x2e0d45=_0x261375[_0xab3c0c];return _0x2e0d45;},_0xab3c(_0x26f24a,_0x59a645);}rt=cr([ft(0x0,_0x279201(_0x14bd7a)),ft(0x1,_0x279201(Le)),ft(0x2,_0x5086cb)],rt);var hr=Object[_0x1ca31a(0x459)],_r=(_0x5d5820,_0x4d3a0c,_0x202c11,_0x1e9bbb)=>{for(var _0x8bf333=_0x1e9bbb>0x1?void 0x0:_0x1e9bbb?hr(_0x4d3a0c,_0x202c11):_0x4d3a0c,_0x391311=_0x5d5820['length']-0x1,_0x547904;_0x391311>=0x0;_0x391311--)(_0x547904=_0x5d5820[_0x391311])&&(_0x8bf333=_0x547904(_0x8bf333)||_0x8bf333);return _0x8bf333;},zt=(_0x3a9de,_0x5649d8)=>(_0x407d1b,_0x2a7d3c)=>_0x5649d8(_0x407d1b,_0x2a7d3c,_0x3a9de);const lr=_0x1ca31a(0x3f0),ur=_0x1ca31a(0x40e);let Ct=class extends _0x214e97{constructor(_0x3e164b,_0x23e7a4){var _0x3c6f5b=_0x1ca31a;super(),this[_0x3c6f5b(0x23f)]=_0x3e164b,this[_0x3c6f5b(0x47e)]=_0x23e7a4,this[_0x3c6f5b(0x343)]();}['_init'](){var _0x13398d=_0x1ca31a;this[_0x13398d(0x28c)](this[_0x13398d(0x23f)][_0x13398d(0x33c)][_0x13398d(0x29d)](()=>{var _0x21865c=_0x13398d,_0x13cd9d;const _0x4515eb=this[_0x21865c(0x23f)][_0x21865c(0x315)]();let _0x59a98c=(_0x13cd9d=this[_0x21865c(0x47e)]['getConfig'](lr))!=null?_0x13cd9d:ur;_0x4515eb instanceof _0x27f803&&(_0x59a98c=_0x4515eb[_0x21865c(0x487)]),document['title']=_0x59a98c;}));}};Ct=_r([zt(0x0,_0x5086cb),zt(0x1,_0x15ab28)],Ct);var dr=Object[_0x1ca31a(0x459)],fr=(_0x10820e,_0x168308,_0x25aa0e,_0x1e2dbd)=>{var _0xa921c3=_0x1ca31a;for(var _0x4b98d7=_0x1e2dbd>0x1?void 0x0:_0x1e2dbd?dr(_0x168308,_0x25aa0e):_0x168308,_0x17e003=_0x10820e[_0xa921c3(0x272)]-0x1,_0x3422c3;_0x17e003>=0x0;_0x17e003--)(_0x3422c3=_0x10820e[_0x17e003])&&(_0x4b98d7=_0x3422c3(_0x4b98d7)||_0x4b98d7);return _0x4b98d7;},vt=(_0x12bf1c,_0x4917c2)=>(_0x30ee76,_0x2547b3)=>_0x4917c2(_0x30ee76,_0x2547b3,_0x12bf1c);let st=class{constructor(_0x2c08b3,_0x2c04ae,_0x3f42ed){var _0x587804=_0x1ca31a;this[_0x587804(0x47e)]=_0x2c08b3,this['_httpService']=_0x2c04ae,this[_0x587804(0x1cc)]=_0x3f42ed,this[_0x587804(0x2a5)]();}[_0x1ca31a(0x2a5)](){var _0x28712d=_0x1ca31a;this[_0x28712d(0x3dc)][_0x28712d(0x3c7)]({'priority':0x1,'interceptor':(_0x131fd9,_0x41405f)=>_0x41405f(_0x131fd9)[_0x28712d(0x21b)](_0x3cb64e(async _0x5a0d96=>{var _0x142041=_0x28712d;const _0x2fdfec=_0x5a0d96;if(_0x2fdfec[_0x142041(0x30f)]===0x191){if(typeof window>'u')throw new Error(_0x142041(0x352));if(window['confirm'](this[_0x142041(0x1cc)]['t']('auth.needGotoLoginAlert'))){const _0x5e010a=window['encodeURIComponent'](window[_0x142041(0x357)][_0x142041(0x475)]);window['location'][_0x142041(0x475)]=this[_0x142041(0x3ed)]()+_0x142041(0x3de)+_0x5e010a;}}return _0x2fdfec;}))});}['_getLoginPath'](){var _0x38b14b=_0x1ca31a,_0x4c45bc,_0x2f5424;const _0x334ed7=this['_configService'][_0x38b14b(0x49f)](Un),_0x57b7f3=this[_0x38b14b(0x47e)][_0x38b14b(0x49f)](q);return(_0x2f5424=(_0x4c45bc=_0x57b7f3==null?void 0x0:_0x57b7f3['loginUrlKey'])!=null?_0x4c45bc:_0x334ed7)!=null?_0x2f5424:wn;}};st=fr([vt(0x0,_0x15ab28),vt(0x1,_0x279201(_0x196a2c)),vt(0x2,_0x279201(_0x27d372))],st);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x2d981e,_0x2a1e77,_0x229646,_0x2e391a)=>{var _0x35b796=_0x1ca31a;for(var _0x3eb7fc=_0x2e391a>0x1?void 0x0:_0x2e391a?vr(_0x2a1e77,_0x229646):_0x2a1e77,_0x22f971=_0x2d981e[_0x35b796(0x272)]-0x1,_0x1af841;_0x22f971>=0x0;_0x22f971--)(_0x1af841=_0x2d981e[_0x22f971])&&(_0x3eb7fc=_0x1af841(_0x3eb7fc)||_0x3eb7fc);return _0x3eb7fc;},Jt=(_0x20f316,_0x9804f5)=>(_0x3346ea,_0xb0da72)=>_0x9804f5(_0x3346ea,_0xb0da72,_0x20f316);const Ni=_0x1ca31a(0x474),mr=_0x1ca31a(0x25e);let Rt=class extends _0x214e97{constructor(_0x3a4800,_0x31091f){var _0x1dae30=_0x1ca31a;super(),this['_HTTPService']=_0x3a4800,this[_0x1dae30(0x47e)]=_0x31091f,this[_0x1dae30(0x22e)]();}[_0x1ca31a(0x22e)](){var _0x140b90=_0x1ca31a;const _0x4bb5e4=this;this[_0x140b90(0x28c)](this[_0x140b90(0x28a)][_0x140b90(0x3c7)]({'priority':0x3e7,'interceptor':_0xd77f71({'isMatch'(_0x835c60){var _0x5429c3=_0x140b90,_0x5787d5;if(_0x835c60['method']==='POST'&&((_0x5787d5=_0x835c60['requestParams'])!=null&&_0x5787d5[_0x5429c3(0x3fb)])){const {objectID:_0x5c7ac7,objectType:_0x4b3e0c}=_0x835c60[_0x5429c3(0x4ba)]['body']||{};if(!_0x5c7ac7||_0x4b3e0c===void 0x0)return!0x1;const _0x2462ee=_0x4bb5e4['_getAPIPrefixPath']()+'/'+_0x4b3e0c+_0x5429c3(0x2af)+_0x5c7ac7+_0x5429c3(0x290);if(_0x835c60[_0x5429c3(0x480)]===_0x2462ee)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32ae1b){var _0x20299a=_0x140b90,_0x18c616;return(_0x18c616=_0x32ae1b['requestParams'])==null?void 0x0:_0x18c616[_0x20299a(0x3fb)];},'mergeParamsToRequest'(_0x3268d6,_0x5e4615){var _0x3e784f=_0x140b90;const _0xd1013d=_0x4bb5e4[_0x3e784f(0x495)]()+_0x3e784f(0x1ef),_0xb70f50=_0x3268d6[_0x3e784f(0x21f)]((_0x5c70b9,_0x29b30f)=>{var _0x5f0005=_0x3e784f;const {unitID:_0x45444c,objectID:_0x5ae2e6,objectType:_0x43d195,actions:_0xabf4a5}=_0x29b30f;return _0x5c70b9[_0x45444c]||(_0x5c70b9[_0x45444c]={}),_0x5c70b9[_0x45444c][_0x5ae2e6]||(_0x5c70b9[_0x45444c][_0x5ae2e6]={'objectID':_0x5ae2e6,'objectType':_0x43d195,'actions':[]}),_0x5c70b9[_0x45444c][_0x5ae2e6][_0x5f0005(0x28e)][_0x5f0005(0x20e)](..._0xabf4a5),_0x5c70b9;},{}),_0x1c21f1=[];for(const _0x5820a4 in _0xb70f50)for(const _0x191736 in _0xb70f50[_0x5820a4]){const {actions:_0x2045fb,objectType:_0x19db59}=_0xb70f50[_0x5820a4][_0x191736],_0xd4534c=[...new Set(_0x2045fb)];_0x1c21f1[_0x3e784f(0x20e)]({'unitID':_0x5820a4,'objectID':_0x191736,'objectType':_0x19db59,'actions':_0xd4534c});}return new _0x9421e5(_0x3e784f(0x314),_0xd1013d,{'headers':_0x5e4615[_0x3e784f(0x39d)],'withCredentials':_0x5e4615[_0x3e784f(0x21c)],'responseType':_0x5e4615[_0x3e784f(0x372)],'body':{'requests':_0x1c21f1}});}},{'distributeResult'(_0x480211,_0x18a8b2){var _0x14ffd6=_0x140b90;const {objectActions:_0x39f85a}=_0x480211;return _0x18a8b2[_0x14ffd6(0x284)](_0x49fe48=>{var _0x311ed2=_0x14ffd6;const {unitID:_0x500719,objectID:_0x59ffdd,actions:_0x1fcc48}=_0x49fe48,_0x336fde=_0x39f85a[_0x311ed2(0x3d6)](_0x181bb2=>_0x181bb2[_0x311ed2(0x283)]===_0x500719&&_0x181bb2['objectID']===_0x59ffdd),_0x3934a6=_0x1fcc48[_0x311ed2(0x284)](_0x2b003c=>_0x336fde==null?void 0x0:_0x336fde[_0x311ed2(0x28e)][_0x311ed2(0x3d6)](_0x215981=>_0x215981[_0x311ed2(0x2ff)]===_0x2b003c))[_0x311ed2(0x26d)](_0x118f27=>!!_0x118f27);return{'config':_0x49fe48,'result':{'actions':_0x3934a6,'error':_0x480211['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3d4d02=_0x1ca31a,_0x118d83,_0x122eff;const _0xf4e2fa=this['_configService'][_0x3d4d02(0x49f)](Ni),_0xa4114b=this[_0x3d4d02(0x47e)][_0x3d4d02(0x49f)](q);return(_0x122eff=(_0x118d83=_0xa4114b==null?void 0x0:_0xa4114b[_0x3d4d02(0x3ce)])!=null?_0x118d83:_0xf4e2fa)!=null?_0x122eff:mr;}async['create'](_0x5180e7){var _0x1c03cc=_0x1ca31a;const _0x3519ea=this[_0x1c03cc(0x495)]()+'/'+_0x5180e7['objectType']+'/object';return(await this[_0x1c03cc(0x28a)]['post'](_0x3519ea,{'body':_0x5180e7}))[_0x1c03cc(0x3fb)]['objectID']||'';}async[_0x1ca31a(0x1f4)](_0x2fc867){var _0x1b258c=_0x1ca31a;const _0x23219e=this[_0x1b258c(0x495)]()+'/-/object/list';return(await this[_0x1b258c(0x28a)][_0x1b258c(0x3a6)](_0x23219e,{'body':_0x2fc867}))[_0x1b258c(0x3fb)][_0x1b258c(0x258)];}async['update'](_0x451f07){var _0x3bb06d=_0x1ca31a,_0x1d0506,_0x55c375;const _0x2bf93a=this['_getAPIPrefixPath']()+'/'+_0x451f07[_0x3bb06d(0x4ad)]+_0x3bb06d(0x2af)+_0x451f07[_0x3bb06d(0x46e)],_0x300081=await this['_HTTPService']['put'](_0x2bf93a,{'body':_0x451f07});if(((_0x55c375=(_0x1d0506=_0x300081==null?void 0x0:_0x300081['body'])==null?void 0x0:_0x1d0506[_0x3bb06d(0x2ea)])==null?void 0x0:_0x55c375['code'])!==0x0)throw new Error(_0x3bb06d(0x3fe));}async[_0x1ca31a(0x43e)](_0x460063){var _0x46a3bd=_0x1ca31a;const _0xc5c073=this[_0x46a3bd(0x495)]()+'/'+_0x460063[_0x46a3bd(0x4ad)]+_0x46a3bd(0x2af)+_0x460063[_0x46a3bd(0x46e)]+'/allowed';return(await this[_0x46a3bd(0x28a)][_0x46a3bd(0x3a6)](_0xc5c073,{'body':_0x460063}))[_0x46a3bd(0x3fb)]['actions'];}async[_0x1ca31a(0x3b8)](_0x4c8046){var _0x84410f=_0x1ca31a;const _0x3dccb1=this[_0x84410f(0x495)]()+_0x84410f(0x1ef);return(await this[_0x84410f(0x28a)][_0x84410f(0x3a6)](_0x3dccb1,{'body':{'requests':_0x4c8046}}))[_0x84410f(0x3fb)][_0x84410f(0x48c)];}async['listRoles'](_0x4bee78){var _0x4d238a=_0x1ca31a;const _0x365186=this['_getAPIPrefixPath']()+'/'+_0x4bee78[_0x4d238a(0x4ad)]+_0x4d238a(0x424),_0x4f9740=await this[_0x4d238a(0x28a)][_0x4d238a(0x3a6)](_0x365186,{'body':_0x4bee78});return{'roles':_0x4f9740[_0x4d238a(0x3fb)][_0x4d238a(0x3ca)],'actions':_0x4f9740[_0x4d238a(0x3fb)][_0x4d238a(0x28e)]};}async[_0x1ca31a(0x36f)](_0x55849d){var _0x2372e8=_0x1ca31a;const _0xa3abe8=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x2372e8(0x1df)](_0xa3abe8,{'params':{'collaboratorID':_0x55849d[_0x2372e8(0x2b1)],'objectID':_0x55849d[_0x2372e8(0x46e)],'unitID':_0x55849d[_0x2372e8(0x283)]}});}async[_0x1ca31a(0x430)](_0x3cfd9b){var _0x4fa55d=_0x1ca31a;const _0x424925=this[_0x4fa55d(0x495)]()+'/collaborator';await this[_0x4fa55d(0x28a)][_0x4fa55d(0x40d)](_0x424925,{'body':_0x3cfd9b});}async[_0x1ca31a(0x44d)](_0x50c77c){var _0x364037=_0x1ca31a;const _0x55c59b=this[_0x364037(0x495)]()+_0x364037(0x40f);await this['_HTTPService'][_0x364037(0x3a6)](_0x55c59b,{'body':_0x50c77c});}async[_0x1ca31a(0x405)](_0x4c9772){var _0x5b19b0=_0x1ca31a;const _0x2d5132=this[_0x5b19b0(0x495)]()+_0x5b19b0(0x40f);return(await this[_0x5b19b0(0x28a)][_0x5b19b0(0x1d2)](_0x2d5132,{'params':{'objectID':_0x4c9772[_0x5b19b0(0x46e)],'unitID':_0x4c9772[_0x5b19b0(0x283)]}}))[_0x5b19b0(0x3fb)]['collaborators'];}async[_0x1ca31a(0x1f2)](_0x4471bd){var _0x5661d0=_0x1ca31a;const _0x4714ac=this[_0x5661d0(0x495)]()+_0x5661d0(0x40f);await this[_0x5661d0(0x28a)][_0x5661d0(0x39c)](_0x4714ac,{'body':_0x4471bd});}};Rt=pr([Jt(0x0,_0x279201(_0x196a2c)),Jt(0x1,_0x279201(_0x15ab28))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x12ab16){var _0x5a7e42=_0x1ca31a;return _0x12ab16&&_0x12ab16['__esModule']&&Object[_0x5a7e42(0x2b7)][_0x5a7e42(0x43b)][_0x5a7e42(0x1f5)](_0x12ab16,_0x5a7e42(0x22c))?_0x12ab16[_0x5a7e42(0x22c)]:_0x12ab16;}var Ve={'exports':{}};function gr(_0x590aff){var _0x5ba1ec=_0x1ca31a;throw new Error(_0x5ba1ec(0x324)+_0x590aff+_0x5ba1ec(0x2f0));}var Ge={'exports':{}},Sr=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x23aba2,_0x50070f){(function(_0x548435,_0x4a250e){var _0x18aaa9=_0xab3c;_0x23aba2[_0x18aaa9(0x467)]=_0x4a250e();}(Sr,function(){var _0x54e4ff=_0x54e4ff||function(_0x4b4d84,_0x240442){var _0x143f1e=_0xab3c,_0x6c2391;if(typeof window<'u'&&window[_0x143f1e(0x44c)]&&(_0x6c2391=window[_0x143f1e(0x44c)]),typeof self<'u'&&self[_0x143f1e(0x44c)]&&(_0x6c2391=self['crypto']),typeof globalThis<'u'&&globalThis[_0x143f1e(0x44c)]&&(_0x6c2391=globalThis['crypto']),!_0x6c2391&&typeof window<'u'&&window['msCrypto']&&(_0x6c2391=window[_0x143f1e(0x238)]),!_0x6c2391&&typeof pt<'u'&&pt[_0x143f1e(0x44c)]&&(_0x6c2391=pt[_0x143f1e(0x44c)]),!_0x6c2391&&typeof gr==_0x143f1e(0x1de))try{_0x6c2391=require(_0x143f1e(0x44c));}catch{}var _0x45c98a=function(){var _0x508cae=_0x143f1e;if(_0x6c2391){if(typeof _0x6c2391[_0x508cae(0x2f7)]==_0x508cae(0x1de))try{return _0x6c2391[_0x508cae(0x2f7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6c2391[_0x508cae(0x2bb)]==_0x508cae(0x1de))try{return _0x6c2391[_0x508cae(0x2bb)](0x4)[_0x508cae(0x1f1)]();}catch{}}throw new Error(_0x508cae(0x25d));},_0x4a04b6=Object['create']||(function(){function _0x131ad3(){}return function(_0x343003){var _0x641be1=_0xab3c,_0x4a51b2;return _0x131ad3['prototype']=_0x343003,_0x4a51b2=new _0x131ad3(),_0x131ad3[_0x641be1(0x2b7)]=null,_0x4a51b2;};}()),_0x366f03={},_0x47e78b=_0x366f03['lib']={},_0x50df5a=_0x47e78b[_0x143f1e(0x34f)]=(function(){return{'extend':function(_0x3aeb19){var _0x5cb000=_0xab3c,_0x1711c6=_0x4a04b6(this);return _0x3aeb19&&_0x1711c6[_0x5cb000(0x1e5)](_0x3aeb19),(!_0x1711c6['hasOwnProperty'](_0x5cb000(0x2a5))||this[_0x5cb000(0x2a5)]===_0x1711c6[_0x5cb000(0x2a5)])&&(_0x1711c6[_0x5cb000(0x2a5)]=function(){var _0x498623=_0x5cb000;_0x1711c6[_0x498623(0x461)]['init'][_0x498623(0x2fc)](this,arguments);}),_0x1711c6[_0x5cb000(0x2a5)]['prototype']=_0x1711c6,_0x1711c6[_0x5cb000(0x461)]=this,_0x1711c6;},'create':function(){var _0x3e5f6d=_0xab3c,_0x40835d=this[_0x3e5f6d(0x22d)]();return _0x40835d[_0x3e5f6d(0x2a5)][_0x3e5f6d(0x2fc)](_0x40835d,arguments),_0x40835d;},'init':function(){},'mixIn':function(_0x1b8db5){var _0x4a21ca=_0xab3c;for(var _0x7145bd in _0x1b8db5)_0x1b8db5[_0x4a21ca(0x43b)](_0x7145bd)&&(this[_0x7145bd]=_0x1b8db5[_0x7145bd]);_0x1b8db5[_0x4a21ca(0x43b)](_0x4a21ca(0x48a))&&(this['toString']=_0x1b8db5[_0x4a21ca(0x48a)]);},'clone':function(){var _0x38af39=_0xab3c;return this[_0x38af39(0x2a5)][_0x38af39(0x2b7)][_0x38af39(0x22d)](this);}};}()),_0x39d34a=_0x47e78b['WordArray']=_0x50df5a[_0x143f1e(0x22d)]({'init':function(_0x4e0015,_0x4b474d){var _0x5a708e=_0x143f1e;_0x4e0015=this['words']=_0x4e0015||[],_0x4b474d!=_0x240442?this[_0x5a708e(0x35b)]=_0x4b474d:this[_0x5a708e(0x35b)]=_0x4e0015[_0x5a708e(0x272)]*0x4;},'toString':function(_0xe07ea4){var _0x1cc15d=_0x143f1e;return(_0xe07ea4||_0x2587df)[_0x1cc15d(0x4b5)](this);},'concat':function(_0x2037bf){var _0x4d8350=_0x143f1e,_0x2942cd=this[_0x4d8350(0x213)],_0x58ed4a=_0x2037bf[_0x4d8350(0x213)],_0xf1be28=this[_0x4d8350(0x35b)],_0x18e4d5=_0x2037bf[_0x4d8350(0x35b)];if(this[_0x4d8350(0x2a6)](),_0xf1be28%0x4)for(var _0x24d8eb=0x0;_0x24d8eb<_0x18e4d5;_0x24d8eb++){var _0x20739c=_0x58ed4a[_0x24d8eb>>>0x2]>>>0x18-_0x24d8eb%0x4*0x8&0xff;_0x2942cd[_0xf1be28+_0x24d8eb>>>0x2]|=_0x20739c<<0x18-(_0xf1be28+_0x24d8eb)%0x4*0x8;}else{for(var _0x62a7ef=0x0;_0x62a7ef<_0x18e4d5;_0x62a7ef+=0x4)_0x2942cd[_0xf1be28+_0x62a7ef>>>0x2]=_0x58ed4a[_0x62a7ef>>>0x2];}return this[_0x4d8350(0x35b)]+=_0x18e4d5,this;},'clamp':function(){var _0x4c4399=_0x143f1e,_0x1feebb=this[_0x4c4399(0x213)],_0x3c048f=this[_0x4c4399(0x35b)];_0x1feebb[_0x3c048f>>>0x2]&=0xffffffff<<0x20-_0x3c048f%0x4*0x8,_0x1feebb[_0x4c4399(0x272)]=_0x4b4d84[_0x4c4399(0x2b2)](_0x3c048f/0x4);},'clone':function(){var _0xe7662b=_0x143f1e,_0x4fadb9=_0x50df5a['clone'][_0xe7662b(0x1f5)](this);return _0x4fadb9[_0xe7662b(0x213)]=this[_0xe7662b(0x213)][_0xe7662b(0x385)](0x0),_0x4fadb9;},'random':function(_0x18ab58){var _0x4828b8=_0x143f1e;for(var _0x17309f=[],_0x5dac68=0x0;_0x5dac68<_0x18ab58;_0x5dac68+=0x4)_0x17309f[_0x4828b8(0x20e)](_0x45c98a());return new _0x39d34a['init'](_0x17309f,_0x18ab58);}}),_0x15fff3=_0x366f03[_0x143f1e(0x294)]={},_0x2587df=_0x15fff3[_0x143f1e(0x494)]={'stringify':function(_0x24c669){var _0x325fe1=_0x143f1e;for(var _0x351dbe=_0x24c669['words'],_0x112d20=_0x24c669[_0x325fe1(0x35b)],_0xcf85eb=[],_0x44c194=0x0;_0x44c194<_0x112d20;_0x44c194++){var _0x123d1a=_0x351dbe[_0x44c194>>>0x2]>>>0x18-_0x44c194%0x4*0x8&0xff;_0xcf85eb['push']((_0x123d1a>>>0x4)[_0x325fe1(0x48a)](0x10)),_0xcf85eb[_0x325fe1(0x20e)]((_0x123d1a&0xf)[_0x325fe1(0x48a)](0x10));}return _0xcf85eb['join']('');},'parse':function(_0x4d08ff){var _0x56bdd6=_0x143f1e;for(var _0x34833d=_0x4d08ff[_0x56bdd6(0x272)],_0x574828=[],_0x866d6b=0x0;_0x866d6b<_0x34833d;_0x866d6b+=0x2)_0x574828[_0x866d6b>>>0x3]|=parseInt(_0x4d08ff[_0x56bdd6(0x2db)](_0x866d6b,0x2),0x10)<<0x18-_0x866d6b%0x8*0x4;return new _0x39d34a[(_0x56bdd6(0x2a5))](_0x574828,_0x34833d/0x2);}},_0x4b166b=_0x15fff3[_0x143f1e(0x3ad)]={'stringify':function(_0x49e0a8){var _0x3b699b=_0x143f1e;for(var _0x4a2531=_0x49e0a8['words'],_0xf559d3=_0x49e0a8[_0x3b699b(0x35b)],_0x450463=[],_0x6e438d=0x0;_0x6e438d<_0xf559d3;_0x6e438d++){var _0x5c4af2=_0x4a2531[_0x6e438d>>>0x2]>>>0x18-_0x6e438d%0x4*0x8&0xff;_0x450463['push'](String[_0x3b699b(0x1d9)](_0x5c4af2));}return _0x450463[_0x3b699b(0x3cc)]('');},'parse':function(_0x1cf888){var _0x1aa656=_0x143f1e;for(var _0x448998=_0x1cf888[_0x1aa656(0x272)],_0x115b9b=[],_0x53e79c=0x0;_0x53e79c<_0x448998;_0x53e79c++)_0x115b9b[_0x53e79c>>>0x2]|=(_0x1cf888[_0x1aa656(0x209)](_0x53e79c)&0xff)<<0x18-_0x53e79c%0x4*0x8;return new _0x39d34a[(_0x1aa656(0x2a5))](_0x115b9b,_0x448998);}},_0x27f2f5=_0x15fff3[_0x143f1e(0x321)]={'stringify':function(_0x149585){var _0xe80d89=_0x143f1e;try{return decodeURIComponent(escape(_0x4b166b[_0xe80d89(0x4b5)](_0x149585)));}catch{throw new Error(_0xe80d89(0x367));}},'parse':function(_0x37d03f){var _0x23cf64=_0x143f1e;return _0x4b166b[_0x23cf64(0x254)](unescape(encodeURIComponent(_0x37d03f)));}},_0x15e854=_0x47e78b[_0x143f1e(0x356)]=_0x50df5a[_0x143f1e(0x22d)]({'reset':function(){var _0x40e533=_0x143f1e;this['_data']=new _0x39d34a['init'](),this[_0x40e533(0x24e)]=0x0;},'_append':function(_0x122f4){var _0x583bc9=_0x143f1e;typeof _0x122f4==_0x583bc9(0x2d5)&&(_0x122f4=_0x27f2f5[_0x583bc9(0x254)](_0x122f4)),this[_0x583bc9(0x21d)][_0x583bc9(0x3e9)](_0x122f4),this['_nDataBytes']+=_0x122f4['sigBytes'];},'_process':function(_0x441697){var _0x17c29b=_0x143f1e,_0x58c033,_0x3dd6b6=this[_0x17c29b(0x21d)],_0x50cf8a=_0x3dd6b6[_0x17c29b(0x213)],_0x287ed4=_0x3dd6b6['sigBytes'],_0x9f3dc5=this[_0x17c29b(0x2cc)],_0x541251=_0x9f3dc5*0x4,_0x5a7e79=_0x287ed4/_0x541251;_0x441697?_0x5a7e79=_0x4b4d84[_0x17c29b(0x2b2)](_0x5a7e79):_0x5a7e79=_0x4b4d84[_0x17c29b(0x33b)]((_0x5a7e79|0x0)-this[_0x17c29b(0x3ea)],0x0);var _0x433276=_0x5a7e79*_0x9f3dc5,_0x38a0b8=_0x4b4d84[_0x17c29b(0x2ac)](_0x433276*0x4,_0x287ed4);if(_0x433276){for(var _0x42ead0=0x0;_0x42ead0<_0x433276;_0x42ead0+=_0x9f3dc5)this[_0x17c29b(0x2c2)](_0x50cf8a,_0x42ead0);_0x58c033=_0x50cf8a[_0x17c29b(0x3c9)](0x0,_0x433276),_0x3dd6b6[_0x17c29b(0x35b)]-=_0x38a0b8;}return new _0x39d34a['init'](_0x58c033,_0x38a0b8);},'clone':function(){var _0x3fc057=_0x143f1e,_0x444e5d=_0x50df5a[_0x3fc057(0x206)]['call'](this);return _0x444e5d[_0x3fc057(0x21d)]=this[_0x3fc057(0x21d)][_0x3fc057(0x206)](),_0x444e5d;},'_minBufferSize':0x0});_0x47e78b['Hasher']=_0x15e854[_0x143f1e(0x22d)]({'cfg':_0x50df5a['extend'](),'init':function(_0x1cde99){var _0xdff0f=_0x143f1e;this[_0xdff0f(0x379)]=this['cfg'][_0xdff0f(0x22d)](_0x1cde99),this[_0xdff0f(0x349)]();},'reset':function(){var _0x5553b4=_0x143f1e;_0x15e854['reset'][_0x5553b4(0x1f5)](this),this[_0x5553b4(0x381)]();},'update':function(_0x141f05){return this['_append'](_0x141f05),this['_process'](),this;},'finalize':function(_0x239ea7){var _0x55a24d=_0x143f1e;_0x239ea7&&this[_0x55a24d(0x1c9)](_0x239ea7);var _0x2aae18=this[_0x55a24d(0x300)]();return _0x2aae18;},'blockSize':0x10,'_createHelper':function(_0x12f10f){return function(_0x3fa57b,_0x1e9136){var _0xd7de6c=_0xab3c;return new _0x12f10f['init'](_0x1e9136)[_0xd7de6c(0x419)](_0x3fa57b);};},'_createHmacHelper':function(_0x48fc1c){return function(_0x692a0e,_0x109117){var _0x112851=_0xab3c;return new _0x1a16c7[(_0x112851(0x250))]['init'](_0x48fc1c,_0x109117)[_0x112851(0x419)](_0x692a0e);};}});var _0x1a16c7=_0x366f03[_0x143f1e(0x41c)]={};return _0x366f03;}(Math);return _0x54e4ff;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Er=We['exports'],Zt;function Di(){var _0x2d4137=_0x1ca31a;return Zt||(Zt=0x1,function(_0x32ac3b,_0x170988){(function(_0x101d67,_0x3093e3){var _0x28d108=_0xab3c;_0x32ac3b[_0x28d108(0x467)]=_0x3093e3(ie());}(Er,function(_0x46a195){var _0x411bfe=_0xab3c;return(function(){var _0x9b236d=_0xab3c,_0x163274=_0x46a195,_0x54fc4c=_0x163274['lib'],_0x3a31c5=_0x54fc4c[_0x9b236d(0x234)],_0x57da4f=_0x163274[_0x9b236d(0x294)];_0x57da4f['Base64']={'stringify':function(_0x110e42){var _0x90a673=_0x9b236d,_0x4e11b2=_0x110e42[_0x90a673(0x213)],_0x26fff6=_0x110e42[_0x90a673(0x35b)],_0xf8598e=this['_map'];_0x110e42[_0x90a673(0x2a6)]();for(var _0x14362f=[],_0x51f4f6=0x0;_0x51f4f6<_0x26fff6;_0x51f4f6+=0x3)for(var _0x25f13c=_0x4e11b2[_0x51f4f6>>>0x2]>>>0x18-_0x51f4f6%0x4*0x8&0xff,_0x5c7a1e=_0x4e11b2[_0x51f4f6+0x1>>>0x2]>>>0x18-(_0x51f4f6+0x1)%0x4*0x8&0xff,_0x446519=_0x4e11b2[_0x51f4f6+0x2>>>0x2]>>>0x18-(_0x51f4f6+0x2)%0x4*0x8&0xff,_0x42e569=_0x25f13c<<0x10|_0x5c7a1e<<0x8|_0x446519,_0x29aa27=0x0;_0x29aa27<0x4&&_0x51f4f6+_0x29aa27*0.75<_0x26fff6;_0x29aa27++)_0x14362f[_0x90a673(0x20e)](_0xf8598e['charAt'](_0x42e569>>>0x6*(0x3-_0x29aa27)&0x3f));var _0x53cf32=_0xf8598e[_0x90a673(0x36b)](0x40);if(_0x53cf32){for(;_0x14362f[_0x90a673(0x272)]%0x4;)_0x14362f[_0x90a673(0x20e)](_0x53cf32);}return _0x14362f[_0x90a673(0x3cc)]('');},'parse':function(_0xebd26f){var _0x31458c=_0x9b236d,_0x1868cf=_0xebd26f[_0x31458c(0x272)],_0x586df6=this[_0x31458c(0x30c)],_0x5cc0dd=this[_0x31458c(0x340)];if(!_0x5cc0dd){_0x5cc0dd=this[_0x31458c(0x340)]=[];for(var _0x5c3768=0x0;_0x5c3768<_0x586df6[_0x31458c(0x272)];_0x5c3768++)_0x5cc0dd[_0x586df6[_0x31458c(0x209)](_0x5c3768)]=_0x5c3768;}var _0x31f90b=_0x586df6['charAt'](0x40);if(_0x31f90b){var _0x19acce=_0xebd26f['indexOf'](_0x31f90b);_0x19acce!==-0x1&&(_0x1868cf=_0x19acce);}return _0x11c589(_0xebd26f,_0x1868cf,_0x5cc0dd);},'_map':_0x9b236d(0x418)};function _0x11c589(_0x290df6,_0x260626,_0x50ad6e){var _0xf33979=_0x9b236d;for(var _0x58673b=[],_0x358f87=0x0,_0x95e1ed=0x0;_0x95e1ed<_0x260626;_0x95e1ed++)if(_0x95e1ed%0x4){var _0x3c6fbb=_0x50ad6e[_0x290df6[_0xf33979(0x209)](_0x95e1ed-0x1)]<<_0x95e1ed%0x4*0x2,_0x411e34=_0x50ad6e[_0x290df6[_0xf33979(0x209)](_0x95e1ed)]>>>0x6-_0x95e1ed%0x4*0x2,_0x1d157e=_0x3c6fbb|_0x411e34;_0x58673b[_0x358f87>>>0x2]|=_0x1d157e<<0x18-_0x358f87%0x4*0x8,_0x358f87++;}return _0x3a31c5[_0xf33979(0x296)](_0x58673b,_0x358f87);}}()),_0x46a195[_0x411bfe(0x294)]['Base64'];}));}(We)),We[_0x2d4137(0x467)];}var Ke={'exports':{}},Ir=Ke[_0x1ca31a(0x467)],Qt;function Tr(){var _0x1c3a53=_0x1ca31a;return Qt||(Qt=0x1,function(_0x392a21,_0xbc9464){(function(_0x58bc20,_0x2305bd){_0x392a21['exports']=_0x2305bd(ie());}(Ir,function(_0x5d8412){return function(_0x1e1a47){var _0x46e1df=_0xab3c,_0x24269b=_0x5d8412,_0x377dc3=_0x24269b['lib'],_0x3017f6=_0x377dc3['WordArray'],_0x2ca79c=_0x377dc3[_0x46e1df(0x2df)],_0x2d2e5d=_0x24269b['algo'],_0x30f3d8=[];(function(){var _0x2be9e2=_0x46e1df;for(var _0x16ecbb=0x0;_0x16ecbb<0x40;_0x16ecbb++)_0x30f3d8[_0x16ecbb]=_0x1e1a47['abs'](_0x1e1a47[_0x2be9e2(0x27a)](_0x16ecbb+0x1))*0x100000000|0x0;}());var _0x19b08a=_0x2d2e5d['MD5']=_0x2ca79c[_0x46e1df(0x22d)]({'_doReset':function(){var _0x571cb1=_0x46e1df;this[_0x571cb1(0x38c)]=new _0x3017f6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x48253d,_0x553245){var _0x354f05=_0x46e1df;for(var _0x25d0a0=0x0;_0x25d0a0<0x10;_0x25d0a0++){var _0x21587b=_0x553245+_0x25d0a0,_0x596298=_0x48253d[_0x21587b];_0x48253d[_0x21587b]=(_0x596298<<0x8|_0x596298>>>0x18)&0xff00ff|(_0x596298<<0x18|_0x596298>>>0x8)&0xff00ff00;}var _0x2551c3=this[_0x354f05(0x38c)][_0x354f05(0x213)],_0x2a9e2e=_0x48253d[_0x553245+0x0],_0x12c34b=_0x48253d[_0x553245+0x1],_0x54855=_0x48253d[_0x553245+0x2],_0x37c055=_0x48253d[_0x553245+0x3],_0x34c5ba=_0x48253d[_0x553245+0x4],_0x15609e=_0x48253d[_0x553245+0x5],_0x8bd837=_0x48253d[_0x553245+0x6],_0x338d62=_0x48253d[_0x553245+0x7],_0xbc3db=_0x48253d[_0x553245+0x8],_0x5a1655=_0x48253d[_0x553245+0x9],_0x1a7ac0=_0x48253d[_0x553245+0xa],_0x4479fd=_0x48253d[_0x553245+0xb],_0x2f2790=_0x48253d[_0x553245+0xc],_0x4527bc=_0x48253d[_0x553245+0xd],_0x22f12c=_0x48253d[_0x553245+0xe],_0x4ea417=_0x48253d[_0x553245+0xf],_0x42a89d=_0x2551c3[0x0],_0xe8f05b=_0x2551c3[0x1],_0x34bedf=_0x2551c3[0x2],_0xc55fd5=_0x2551c3[0x3];_0x42a89d=_0x7b067f(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x2a9e2e,0x7,_0x30f3d8[0x0]),_0xc55fd5=_0x7b067f(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x12c34b,0xc,_0x30f3d8[0x1]),_0x34bedf=_0x7b067f(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x54855,0x11,_0x30f3d8[0x2]),_0xe8f05b=_0x7b067f(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x37c055,0x16,_0x30f3d8[0x3]),_0x42a89d=_0x7b067f(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x34c5ba,0x7,_0x30f3d8[0x4]),_0xc55fd5=_0x7b067f(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x15609e,0xc,_0x30f3d8[0x5]),_0x34bedf=_0x7b067f(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x8bd837,0x11,_0x30f3d8[0x6]),_0xe8f05b=_0x7b067f(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x338d62,0x16,_0x30f3d8[0x7]),_0x42a89d=_0x7b067f(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0xbc3db,0x7,_0x30f3d8[0x8]),_0xc55fd5=_0x7b067f(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x5a1655,0xc,_0x30f3d8[0x9]),_0x34bedf=_0x7b067f(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x1a7ac0,0x11,_0x30f3d8[0xa]),_0xe8f05b=_0x7b067f(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x4479fd,0x16,_0x30f3d8[0xb]),_0x42a89d=_0x7b067f(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x2f2790,0x7,_0x30f3d8[0xc]),_0xc55fd5=_0x7b067f(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x4527bc,0xc,_0x30f3d8[0xd]),_0x34bedf=_0x7b067f(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x22f12c,0x11,_0x30f3d8[0xe]),_0xe8f05b=_0x7b067f(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x4ea417,0x16,_0x30f3d8[0xf]),_0x42a89d=_0x200fec(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x12c34b,0x5,_0x30f3d8[0x10]),_0xc55fd5=_0x200fec(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x8bd837,0x9,_0x30f3d8[0x11]),_0x34bedf=_0x200fec(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x4479fd,0xe,_0x30f3d8[0x12]),_0xe8f05b=_0x200fec(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x2a9e2e,0x14,_0x30f3d8[0x13]),_0x42a89d=_0x200fec(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x15609e,0x5,_0x30f3d8[0x14]),_0xc55fd5=_0x200fec(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x1a7ac0,0x9,_0x30f3d8[0x15]),_0x34bedf=_0x200fec(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x4ea417,0xe,_0x30f3d8[0x16]),_0xe8f05b=_0x200fec(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x34c5ba,0x14,_0x30f3d8[0x17]),_0x42a89d=_0x200fec(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x5a1655,0x5,_0x30f3d8[0x18]),_0xc55fd5=_0x200fec(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x22f12c,0x9,_0x30f3d8[0x19]),_0x34bedf=_0x200fec(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x37c055,0xe,_0x30f3d8[0x1a]),_0xe8f05b=_0x200fec(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0xbc3db,0x14,_0x30f3d8[0x1b]),_0x42a89d=_0x200fec(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x4527bc,0x5,_0x30f3d8[0x1c]),_0xc55fd5=_0x200fec(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x54855,0x9,_0x30f3d8[0x1d]),_0x34bedf=_0x200fec(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x338d62,0xe,_0x30f3d8[0x1e]),_0xe8f05b=_0x200fec(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x2f2790,0x14,_0x30f3d8[0x1f]),_0x42a89d=_0x48c9ff(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x15609e,0x4,_0x30f3d8[0x20]),_0xc55fd5=_0x48c9ff(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0xbc3db,0xb,_0x30f3d8[0x21]),_0x34bedf=_0x48c9ff(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x4479fd,0x10,_0x30f3d8[0x22]),_0xe8f05b=_0x48c9ff(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x22f12c,0x17,_0x30f3d8[0x23]),_0x42a89d=_0x48c9ff(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x12c34b,0x4,_0x30f3d8[0x24]),_0xc55fd5=_0x48c9ff(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x34c5ba,0xb,_0x30f3d8[0x25]),_0x34bedf=_0x48c9ff(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x338d62,0x10,_0x30f3d8[0x26]),_0xe8f05b=_0x48c9ff(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x1a7ac0,0x17,_0x30f3d8[0x27]),_0x42a89d=_0x48c9ff(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x4527bc,0x4,_0x30f3d8[0x28]),_0xc55fd5=_0x48c9ff(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x2a9e2e,0xb,_0x30f3d8[0x29]),_0x34bedf=_0x48c9ff(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x37c055,0x10,_0x30f3d8[0x2a]),_0xe8f05b=_0x48c9ff(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x8bd837,0x17,_0x30f3d8[0x2b]),_0x42a89d=_0x48c9ff(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x5a1655,0x4,_0x30f3d8[0x2c]),_0xc55fd5=_0x48c9ff(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x2f2790,0xb,_0x30f3d8[0x2d]),_0x34bedf=_0x48c9ff(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x4ea417,0x10,_0x30f3d8[0x2e]),_0xe8f05b=_0x48c9ff(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x54855,0x17,_0x30f3d8[0x2f]),_0x42a89d=_0x5809d1(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x2a9e2e,0x6,_0x30f3d8[0x30]),_0xc55fd5=_0x5809d1(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x338d62,0xa,_0x30f3d8[0x31]),_0x34bedf=_0x5809d1(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x22f12c,0xf,_0x30f3d8[0x32]),_0xe8f05b=_0x5809d1(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x15609e,0x15,_0x30f3d8[0x33]),_0x42a89d=_0x5809d1(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x2f2790,0x6,_0x30f3d8[0x34]),_0xc55fd5=_0x5809d1(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x37c055,0xa,_0x30f3d8[0x35]),_0x34bedf=_0x5809d1(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x1a7ac0,0xf,_0x30f3d8[0x36]),_0xe8f05b=_0x5809d1(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x12c34b,0x15,_0x30f3d8[0x37]),_0x42a89d=_0x5809d1(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0xbc3db,0x6,_0x30f3d8[0x38]),_0xc55fd5=_0x5809d1(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x4ea417,0xa,_0x30f3d8[0x39]),_0x34bedf=_0x5809d1(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x8bd837,0xf,_0x30f3d8[0x3a]),_0xe8f05b=_0x5809d1(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x4527bc,0x15,_0x30f3d8[0x3b]),_0x42a89d=_0x5809d1(_0x42a89d,_0xe8f05b,_0x34bedf,_0xc55fd5,_0x34c5ba,0x6,_0x30f3d8[0x3c]),_0xc55fd5=_0x5809d1(_0xc55fd5,_0x42a89d,_0xe8f05b,_0x34bedf,_0x4479fd,0xa,_0x30f3d8[0x3d]),_0x34bedf=_0x5809d1(_0x34bedf,_0xc55fd5,_0x42a89d,_0xe8f05b,_0x54855,0xf,_0x30f3d8[0x3e]),_0xe8f05b=_0x5809d1(_0xe8f05b,_0x34bedf,_0xc55fd5,_0x42a89d,_0x5a1655,0x15,_0x30f3d8[0x3f]),_0x2551c3[0x0]=_0x2551c3[0x0]+_0x42a89d|0x0,_0x2551c3[0x1]=_0x2551c3[0x1]+_0xe8f05b|0x0,_0x2551c3[0x2]=_0x2551c3[0x2]+_0x34bedf|0x0,_0x2551c3[0x3]=_0x2551c3[0x3]+_0xc55fd5|0x0;},'_doFinalize':function(){var _0x3352ad=_0x46e1df,_0x5b3fe8=this[_0x3352ad(0x21d)],_0x394076=_0x5b3fe8['words'],_0x3aaf1f=this[_0x3352ad(0x24e)]*0x8,_0xd935ad=_0x5b3fe8['sigBytes']*0x8;_0x394076[_0xd935ad>>>0x5]|=0x80<<0x18-_0xd935ad%0x20;var _0x4182a3=_0x1e1a47[_0x3352ad(0x1e6)](_0x3aaf1f/0x100000000),_0x292221=_0x3aaf1f;_0x394076[(_0xd935ad+0x40>>>0x9<<0x4)+0xf]=(_0x4182a3<<0x8|_0x4182a3>>>0x18)&0xff00ff|(_0x4182a3<<0x18|_0x4182a3>>>0x8)&0xff00ff00,_0x394076[(_0xd935ad+0x40>>>0x9<<0x4)+0xe]=(_0x292221<<0x8|_0x292221>>>0x18)&0xff00ff|(_0x292221<<0x18|_0x292221>>>0x8)&0xff00ff00,_0x5b3fe8[_0x3352ad(0x35b)]=(_0x394076[_0x3352ad(0x272)]+0x1)*0x4,this[_0x3352ad(0x3a0)]();for(var _0x56694e=this[_0x3352ad(0x38c)],_0xf14d8d=_0x56694e[_0x3352ad(0x213)],_0x1091c6=0x0;_0x1091c6<0x4;_0x1091c6++){var _0x4fac3d=_0xf14d8d[_0x1091c6];_0xf14d8d[_0x1091c6]=(_0x4fac3d<<0x8|_0x4fac3d>>>0x18)&0xff00ff|(_0x4fac3d<<0x18|_0x4fac3d>>>0x8)&0xff00ff00;}return _0x56694e;},'clone':function(){var _0x290098=_0x46e1df,_0x27d9fe=_0x2ca79c[_0x290098(0x206)][_0x290098(0x1f5)](this);return _0x27d9fe['_hash']=this[_0x290098(0x38c)][_0x290098(0x206)](),_0x27d9fe;}});function _0x7b067f(_0x274584,_0x35ee94,_0x15dbb4,_0x46b16d,_0x58d15a,_0xbcb450,_0x99fd69){var _0x2adcfd=_0x274584+(_0x35ee94&_0x15dbb4|~_0x35ee94&_0x46b16d)+_0x58d15a+_0x99fd69;return(_0x2adcfd<<_0xbcb450|_0x2adcfd>>>0x20-_0xbcb450)+_0x35ee94;}function _0x200fec(_0x156bba,_0x4370b4,_0x250040,_0x2f1602,_0x4b872c,_0x36df76,_0x4371ca){var _0x4ddeb8=_0x156bba+(_0x4370b4&_0x2f1602|_0x250040&~_0x2f1602)+_0x4b872c+_0x4371ca;return(_0x4ddeb8<<_0x36df76|_0x4ddeb8>>>0x20-_0x36df76)+_0x4370b4;}function _0x48c9ff(_0x4f17d2,_0x309231,_0x5d0dc0,_0x3c640f,_0x3c44cc,_0xbdb6c,_0x3d2eb1){var _0x56047b=_0x4f17d2+(_0x309231^_0x5d0dc0^_0x3c640f)+_0x3c44cc+_0x3d2eb1;return(_0x56047b<<_0xbdb6c|_0x56047b>>>0x20-_0xbdb6c)+_0x309231;}function _0x5809d1(_0x54e6bf,_0x42542a,_0x50dcc5,_0x33fe45,_0x22855f,_0x24b4ae,_0x216163){var _0x258560=_0x54e6bf+(_0x50dcc5^(_0x42542a|~_0x33fe45))+_0x22855f+_0x216163;return(_0x258560<<_0x24b4ae|_0x258560>>>0x20-_0x24b4ae)+_0x42542a;}_0x24269b['MD5']=_0x2ca79c[_0x46e1df(0x23e)](_0x19b08a),_0x24269b[_0x46e1df(0x37c)]=_0x2ca79c['_createHmacHelper'](_0x19b08a);}(Math),_0x5d8412['MD5'];}));}(Ke)),Ke[_0x1c3a53(0x467)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x1ca31a(0x467)],ei;function Rr(){var _0x259600=_0x1ca31a;return ei||(ei=0x1,function(_0x4f524d,_0x1d506d){(function(_0x143b0c,_0x22c27c){var _0x387907=_0xab3c;_0x4f524d[_0x387907(0x467)]=_0x22c27c(ie());}(Cr,function(_0x2a36de){var _0x15d4ad=_0xab3c;return(function(){var _0x32466c=_0xab3c,_0x248a9d=_0x2a36de,_0x150ee5=_0x248a9d[_0x32466c(0x447)],_0x2ef8ff=_0x150ee5[_0x32466c(0x234)],_0x2339a4=_0x150ee5[_0x32466c(0x2df)],_0x5bb3c9=_0x248a9d[_0x32466c(0x41c)],_0x11ba2e=[],_0x4e8de2=_0x5bb3c9[_0x32466c(0x388)]=_0x2339a4[_0x32466c(0x22d)]({'_doReset':function(){var _0x4b87be=_0x32466c;this[_0x4b87be(0x38c)]=new _0x2ef8ff['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x459b7f,_0x4227c7){var _0x2c1efa=_0x32466c;for(var _0x10f8d6=this[_0x2c1efa(0x38c)][_0x2c1efa(0x213)],_0x489a9c=_0x10f8d6[0x0],_0x17ca6c=_0x10f8d6[0x1],_0x45b3ac=_0x10f8d6[0x2],_0x496bed=_0x10f8d6[0x3],_0x2de349=_0x10f8d6[0x4],_0x4dda27=0x0;_0x4dda27<0x50;_0x4dda27++){if(_0x4dda27<0x10)_0x11ba2e[_0x4dda27]=_0x459b7f[_0x4227c7+_0x4dda27]|0x0;else{var _0x1843a0=_0x11ba2e[_0x4dda27-0x3]^_0x11ba2e[_0x4dda27-0x8]^_0x11ba2e[_0x4dda27-0xe]^_0x11ba2e[_0x4dda27-0x10];_0x11ba2e[_0x4dda27]=_0x1843a0<<0x1|_0x1843a0>>>0x1f;}var _0xbce477=(_0x489a9c<<0x5|_0x489a9c>>>0x1b)+_0x2de349+_0x11ba2e[_0x4dda27];_0x4dda27<0x14?_0xbce477+=(_0x17ca6c&_0x45b3ac|~_0x17ca6c&_0x496bed)+0x5a827999:_0x4dda27<0x28?_0xbce477+=(_0x17ca6c^_0x45b3ac^_0x496bed)+0x6ed9eba1:_0x4dda27<0x3c?_0xbce477+=(_0x17ca6c&_0x45b3ac|_0x17ca6c&_0x496bed|_0x45b3ac&_0x496bed)-0x70e44324:_0xbce477+=(_0x17ca6c^_0x45b3ac^_0x496bed)-0x359d3e2a,_0x2de349=_0x496bed,_0x496bed=_0x45b3ac,_0x45b3ac=_0x17ca6c<<0x1e|_0x17ca6c>>>0x2,_0x17ca6c=_0x489a9c,_0x489a9c=_0xbce477;}_0x10f8d6[0x0]=_0x10f8d6[0x0]+_0x489a9c|0x0,_0x10f8d6[0x1]=_0x10f8d6[0x1]+_0x17ca6c|0x0,_0x10f8d6[0x2]=_0x10f8d6[0x2]+_0x45b3ac|0x0,_0x10f8d6[0x3]=_0x10f8d6[0x3]+_0x496bed|0x0,_0x10f8d6[0x4]=_0x10f8d6[0x4]+_0x2de349|0x0;},'_doFinalize':function(){var _0x2df8eb=_0x32466c,_0x25d26f=this['_data'],_0x12f2cf=_0x25d26f[_0x2df8eb(0x213)],_0xedaafb=this['_nDataBytes']*0x8,_0x1c32c4=_0x25d26f[_0x2df8eb(0x35b)]*0x8;return _0x12f2cf[_0x1c32c4>>>0x5]|=0x80<<0x18-_0x1c32c4%0x20,_0x12f2cf[(_0x1c32c4+0x40>>>0x9<<0x4)+0xe]=Math[_0x2df8eb(0x1e6)](_0xedaafb/0x100000000),_0x12f2cf[(_0x1c32c4+0x40>>>0x9<<0x4)+0xf]=_0xedaafb,_0x25d26f[_0x2df8eb(0x35b)]=_0x12f2cf[_0x2df8eb(0x272)]*0x4,this[_0x2df8eb(0x3a0)](),this[_0x2df8eb(0x38c)];},'clone':function(){var _0x58ddb8=_0x32466c,_0x406525=_0x2339a4[_0x58ddb8(0x206)][_0x58ddb8(0x1f5)](this);return _0x406525['_hash']=this[_0x58ddb8(0x38c)][_0x58ddb8(0x206)](),_0x406525;}});_0x248a9d['SHA1']=_0x2339a4[_0x32466c(0x23e)](_0x4e8de2),_0x248a9d[_0x32466c(0x306)]=_0x2339a4[_0x32466c(0x473)](_0x4e8de2);}()),_0x2a36de[_0x15d4ad(0x388)];}));}(qe)),qe[_0x259600(0x467)];}var ze={'exports':{}},br=ze[_0x1ca31a(0x467)],ti;function yr(){var _0x1c03a5=_0x1ca31a;return ti||(ti=0x1,function(_0x303f6f,_0x423b6d){(function(_0x4723d6,_0xafae9){var _0x57c821=_0xab3c;_0x303f6f[_0x57c821(0x467)]=_0xafae9(ie());}(br,function(_0x4cd28a){(function(){var _0x40106d=_0xab3c,_0x29bf21=_0x4cd28a,_0x31b449=_0x29bf21[_0x40106d(0x447)],_0x4f8ea0=_0x31b449[_0x40106d(0x34f)],_0x1805ed=_0x29bf21['enc'],_0x29076d=_0x1805ed['Utf8'],_0x2b0c8c=_0x29bf21[_0x40106d(0x41c)];_0x2b0c8c['HMAC']=_0x4f8ea0['extend']({'init':function(_0x56d56b,_0x59aeea){var _0x57f19c=_0x40106d;_0x56d56b=this[_0x57f19c(0x252)]=new _0x56d56b['init'](),typeof _0x59aeea==_0x57f19c(0x2d5)&&(_0x59aeea=_0x29076d[_0x57f19c(0x254)](_0x59aeea));var _0x3b782c=_0x56d56b[_0x57f19c(0x2cc)],_0x2eb24d=_0x3b782c*0x4;_0x59aeea[_0x57f19c(0x35b)]>_0x2eb24d&&(_0x59aeea=_0x56d56b[_0x57f19c(0x419)](_0x59aeea)),_0x59aeea[_0x57f19c(0x2a6)]();for(var _0x59abd4=this[_0x57f19c(0x46b)]=_0x59aeea[_0x57f19c(0x206)](),_0x17c82c=this[_0x57f19c(0x359)]=_0x59aeea[_0x57f19c(0x206)](),_0x569eb7=_0x59abd4['words'],_0x4656d2=_0x17c82c['words'],_0x3e3129=0x0;_0x3e3129<_0x3b782c;_0x3e3129++)_0x569eb7[_0x3e3129]^=0x5c5c5c5c,_0x4656d2[_0x3e3129]^=0x36363636;_0x59abd4[_0x57f19c(0x35b)]=_0x17c82c['sigBytes']=_0x2eb24d,this[_0x57f19c(0x349)]();},'reset':function(){var _0x2eb06b=_0x40106d,_0x3fc45c=this['_hasher'];_0x3fc45c[_0x2eb06b(0x349)](),_0x3fc45c[_0x2eb06b(0x3d4)](this[_0x2eb06b(0x359)]);},'update':function(_0x551968){var _0x13eb3f=_0x40106d;return this[_0x13eb3f(0x252)][_0x13eb3f(0x3d4)](_0x551968),this;},'finalize':function(_0x1b9728){var _0x4f3491=_0x40106d,_0x1feb62=this[_0x4f3491(0x252)],_0x2bc761=_0x1feb62['finalize'](_0x1b9728);_0x1feb62[_0x4f3491(0x349)]();var _0xead58b=_0x1feb62['finalize'](this[_0x4f3491(0x46b)][_0x4f3491(0x206)]()[_0x4f3491(0x3e9)](_0x2bc761));return _0xead58b;}});}());}));}(ze)),ze[_0x1c03a5(0x467)];}var Or=Ye['exports'],ii;function Ui(){var _0x81d4b2=_0x1ca31a;return ii||(ii=0x1,function(_0x40c9aa,_0xb93a01){(function(_0x227af8,_0x5e2a8a,_0x577655){var _0x475c11=_0xab3c;_0x40c9aa[_0x475c11(0x467)]=_0x5e2a8a(ie(),Rr(),yr());}(Or,function(_0x4aa78f){var _0x2ffd02=_0xab3c;return(function(){var _0xf48e5e=_0xab3c,_0x1357e5=_0x4aa78f,_0x3a6b4e=_0x1357e5['lib'],_0x26e33e=_0x3a6b4e[_0xf48e5e(0x34f)],_0x58613e=_0x3a6b4e['WordArray'],_0x222ce6=_0x1357e5[_0xf48e5e(0x41c)],_0x5dd080=_0x222ce6[_0xf48e5e(0x417)],_0x443d7b=_0x222ce6[_0xf48e5e(0x3f9)]=_0x26e33e[_0xf48e5e(0x22d)]({'cfg':_0x26e33e[_0xf48e5e(0x22d)]({'keySize':0x80/0x20,'hasher':_0x5dd080,'iterations':0x1}),'init':function(_0x345873){var _0x389d98=_0xf48e5e;this[_0x389d98(0x379)]=this['cfg'][_0x389d98(0x22d)](_0x345873);},'compute':function(_0x26590c,_0x3d5e11){var _0x398b3d=_0xf48e5e;for(var _0x243a64,_0x416dc2=this[_0x398b3d(0x379)],_0x2ab752=_0x416dc2['hasher'][_0x398b3d(0x296)](),_0x3f4519=_0x58613e[_0x398b3d(0x296)](),_0xa5a0e=_0x3f4519['words'],_0xa2ae3d=_0x416dc2[_0x398b3d(0x1d3)],_0x30d5a8=_0x416dc2[_0x398b3d(0x2c9)];_0xa5a0e[_0x398b3d(0x272)]<_0xa2ae3d;){_0x243a64&&_0x2ab752[_0x398b3d(0x3d4)](_0x243a64),_0x243a64=_0x2ab752[_0x398b3d(0x3d4)](_0x26590c)['finalize'](_0x3d5e11),_0x2ab752[_0x398b3d(0x349)]();for(var _0x4fff16=0x1;_0x4fff16<_0x30d5a8;_0x4fff16++)_0x243a64=_0x2ab752[_0x398b3d(0x419)](_0x243a64),_0x2ab752[_0x398b3d(0x349)]();_0x3f4519[_0x398b3d(0x3e9)](_0x243a64);}return _0x3f4519[_0x398b3d(0x35b)]=_0xa2ae3d*0x4,_0x3f4519;}});_0x1357e5[_0xf48e5e(0x3f9)]=function(_0x57de64,_0xddee58,_0x38acd3){var _0x2c06f3=_0xf48e5e;return _0x443d7b[_0x2c06f3(0x296)](_0x38acd3)[_0x2c06f3(0x257)](_0x57de64,_0xddee58);};}()),_0x4aa78f[_0x2ffd02(0x3f9)];}));}(Ye)),Ye[_0x81d4b2(0x467)];}var Je={'exports':{}},Nr=Je[_0x1ca31a(0x467)],ni;function wi(){return ni||(ni=0x1,function(_0x54259e,_0x29c3a1){(function(_0x15d023,_0x29de45,_0x18aa22){_0x54259e['exports']=_0x29de45(ie(),Ui());}(Nr,function(_0xe41d60){var _0x34d7d7=_0xab3c;_0xe41d60[_0x34d7d7(0x447)][_0x34d7d7(0x287)]||function(_0x5ca058){var _0x576e6e=_0x34d7d7,_0x300fa4=_0xe41d60,_0x414c4f=_0x300fa4[_0x576e6e(0x447)],_0x4bc2a8=_0x414c4f[_0x576e6e(0x34f)],_0x11e752=_0x414c4f['WordArray'],_0x19acab=_0x414c4f['BufferedBlockAlgorithm'],_0x20a73e=_0x300fa4[_0x576e6e(0x294)];_0x20a73e[_0x576e6e(0x321)];var _0x43a75d=_0x20a73e[_0x576e6e(0x4b3)],_0x2afa9e=_0x300fa4[_0x576e6e(0x41c)],_0x401ba4=_0x2afa9e[_0x576e6e(0x3f9)],_0x1f9aa3=_0x414c4f[_0x576e6e(0x287)]=_0x19acab[_0x576e6e(0x22d)]({'cfg':_0x4bc2a8[_0x576e6e(0x22d)](),'createEncryptor':function(_0x165e51,_0x232130){var _0x7832a5=_0x576e6e;return this[_0x7832a5(0x296)](this[_0x7832a5(0x2bc)],_0x165e51,_0x232130);},'createDecryptor':function(_0x56fa83,_0x5b506b){var _0x18a217=_0x576e6e;return this[_0x18a217(0x296)](this[_0x18a217(0x269)],_0x56fa83,_0x5b506b);},'init':function(_0x24b94b,_0x12a69e,_0x585b2c){var _0x1afcd8=_0x576e6e;this[_0x1afcd8(0x379)]=this[_0x1afcd8(0x379)][_0x1afcd8(0x22d)](_0x585b2c),this[_0x1afcd8(0x273)]=_0x24b94b,this['_key']=_0x12a69e,this[_0x1afcd8(0x349)]();},'reset':function(){var _0x168b77=_0x576e6e;_0x19acab['reset'][_0x168b77(0x1f5)](this),this[_0x168b77(0x381)]();},'process':function(_0x569409){var _0x3c3553=_0x576e6e;return this['_append'](_0x569409),this[_0x3c3553(0x3a0)]();},'finalize':function(_0xd4bc06){var _0x3a2ff0=_0x576e6e;_0xd4bc06&&this[_0x3a2ff0(0x1c9)](_0xd4bc06);var _0x323b6a=this['_doFinalize']();return _0x323b6a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11881f(_0xa21d9b){var _0x478be2=_0xab3c;return typeof _0xa21d9b==_0x478be2(0x2d5)?_0x16edf8:_0x2c4e82;}return function(_0x35d6a3){return{'encrypt':function(_0x315077,_0x38e0a5,_0x3317e0){var _0xe80cbc=_0xab3c;return _0x11881f(_0x38e0a5)[_0xe80cbc(0x22a)](_0x35d6a3,_0x315077,_0x38e0a5,_0x3317e0);},'decrypt':function(_0x372b48,_0x225638,_0x52003d){return _0x11881f(_0x225638)['decrypt'](_0x35d6a3,_0x372b48,_0x225638,_0x52003d);}};};}())});_0x414c4f[_0x576e6e(0x223)]=_0x1f9aa3[_0x576e6e(0x22d)]({'_doFinalize':function(){var _0x25cb70=this['_process'](!0x0);return _0x25cb70;},'blockSize':0x1});var _0x5e2447=_0x300fa4[_0x576e6e(0x37b)]={},_0x1c6c97=_0x414c4f['BlockCipherMode']=_0x4bc2a8[_0x576e6e(0x22d)]({'createEncryptor':function(_0x3968a6,_0x3b213b){var _0xf0b634=_0x576e6e;return this['Encryptor'][_0xf0b634(0x296)](_0x3968a6,_0x3b213b);},'createDecryptor':function(_0x101402,_0x82c4ae){var _0x48f0c7=_0x576e6e;return this[_0x48f0c7(0x216)]['create'](_0x101402,_0x82c4ae);},'init':function(_0x1f109b,_0x36d87c){var _0x48a7e4=_0x576e6e;this['_cipher']=_0x1f109b,this[_0x48a7e4(0x46d)]=_0x36d87c;}}),_0x3a7553=_0x5e2447['CBC']=(function(){var _0x3fc4f0=_0x576e6e,_0x2c34da=_0x1c6c97[_0x3fc4f0(0x22d)]();_0x2c34da['Encryptor']=_0x2c34da['extend']({'processBlock':function(_0x167bbf,_0x26600f){var _0x39bd88=_0x3fc4f0,_0x51d37a=this[_0x39bd88(0x395)],_0x5370bf=_0x51d37a['blockSize'];_0x2bf1d0[_0x39bd88(0x1f5)](this,_0x167bbf,_0x26600f,_0x5370bf),_0x51d37a[_0x39bd88(0x2a4)](_0x167bbf,_0x26600f),this[_0x39bd88(0x339)]=_0x167bbf['slice'](_0x26600f,_0x26600f+_0x5370bf);}}),_0x2c34da[_0x3fc4f0(0x216)]=_0x2c34da['extend']({'processBlock':function(_0x1d6e20,_0x44bc29){var _0x1b8aa1=_0x3fc4f0,_0x235fba=this[_0x1b8aa1(0x395)],_0x39446f=_0x235fba[_0x1b8aa1(0x2cc)],_0x4b4381=_0x1d6e20[_0x1b8aa1(0x385)](_0x44bc29,_0x44bc29+_0x39446f);_0x235fba['decryptBlock'](_0x1d6e20,_0x44bc29),_0x2bf1d0[_0x1b8aa1(0x1f5)](this,_0x1d6e20,_0x44bc29,_0x39446f),this[_0x1b8aa1(0x339)]=_0x4b4381;}});function _0x2bf1d0(_0x1461ee,_0x2d5d85,_0x506b87){var _0x4ef019=_0x3fc4f0,_0x39bb52,_0x324a8b=this[_0x4ef019(0x46d)];_0x324a8b?(_0x39bb52=_0x324a8b,this[_0x4ef019(0x46d)]=_0x5ca058):_0x39bb52=this[_0x4ef019(0x339)];for(var _0x3947da=0x0;_0x3947da<_0x506b87;_0x3947da++)_0x1461ee[_0x2d5d85+_0x3947da]^=_0x39bb52[_0x3947da];}return _0x2c34da;}()),_0x2541c3=_0x300fa4['pad']={},_0x3e3e84=_0x2541c3[_0x576e6e(0x256)]={'pad':function(_0x1810bd,_0x1a7928){var _0x2868d6=_0x576e6e;for(var _0x4a7597=_0x1a7928*0x4,_0x1c3ba5=_0x4a7597-_0x1810bd[_0x2868d6(0x35b)]%_0x4a7597,_0x210256=_0x1c3ba5<<0x18|_0x1c3ba5<<0x10|_0x1c3ba5<<0x8|_0x1c3ba5,_0x20e906=[],_0x1e55c1=0x0;_0x1e55c1<_0x1c3ba5;_0x1e55c1+=0x4)_0x20e906[_0x2868d6(0x20e)](_0x210256);var _0x4058d8=_0x11e752['create'](_0x20e906,_0x1c3ba5);_0x1810bd[_0x2868d6(0x3e9)](_0x4058d8);},'unpad':function(_0x52840a){var _0x117dda=_0x576e6e,_0x23fe84=_0x52840a[_0x117dda(0x213)][_0x52840a[_0x117dda(0x35b)]-0x1>>>0x2]&0xff;_0x52840a[_0x117dda(0x35b)]-=_0x23fe84;}};_0x414c4f['BlockCipher']=_0x1f9aa3[_0x576e6e(0x22d)]({'cfg':_0x1f9aa3[_0x576e6e(0x379)]['extend']({'mode':_0x3a7553,'padding':_0x3e3e84}),'reset':function(){var _0x2a96f1=_0x576e6e,_0x195dc7;_0x1f9aa3['reset'][_0x2a96f1(0x1f5)](this);var _0x32915e=this[_0x2a96f1(0x379)],_0xcc2abc=_0x32915e['iv'],_0x12ce24=_0x32915e['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x195dc7=_0x12ce24['createEncryptor']:(_0x195dc7=_0x12ce24[_0x2a96f1(0x240)],this[_0x2a96f1(0x3ea)]=0x1),this['_mode']&&this[_0x2a96f1(0x46a)]['__creator']==_0x195dc7?this['_mode']['init'](this,_0xcc2abc&&_0xcc2abc[_0x2a96f1(0x213)]):(this[_0x2a96f1(0x46a)]=_0x195dc7[_0x2a96f1(0x1f5)](_0x12ce24,this,_0xcc2abc&&_0xcc2abc['words']),this['_mode'][_0x2a96f1(0x275)]=_0x195dc7);},'_doProcessBlock':function(_0x1febaa,_0x4cd22e){var _0x5de78b=_0x576e6e;this[_0x5de78b(0x46a)]['processBlock'](_0x1febaa,_0x4cd22e);},'_doFinalize':function(){var _0x3d6d1f=_0x576e6e,_0x46f56b,_0x4431d9=this[_0x3d6d1f(0x379)][_0x3d6d1f(0x29c)];return this[_0x3d6d1f(0x273)]==this[_0x3d6d1f(0x2bc)]?(_0x4431d9[_0x3d6d1f(0x3e6)](this[_0x3d6d1f(0x21d)],this[_0x3d6d1f(0x2cc)]),_0x46f56b=this[_0x3d6d1f(0x3a0)](!0x0)):(_0x46f56b=this[_0x3d6d1f(0x3a0)](!0x0),_0x4431d9['unpad'](_0x46f56b)),_0x46f56b;},'blockSize':0x80/0x20});var _0x2bdb41=_0x414c4f['CipherParams']=_0x4bc2a8[_0x576e6e(0x22d)]({'init':function(_0x1d4420){var _0x5042cc=_0x576e6e;this[_0x5042cc(0x1e5)](_0x1d4420);},'toString':function(_0x3db5d4){var _0x1354e8=_0x576e6e;return(_0x3db5d4||this[_0x1354e8(0x44e)])[_0x1354e8(0x4b5)](this);}}),_0x35da5d=_0x300fa4[_0x576e6e(0x1ea)]={},_0x3ddfe9=_0x35da5d['OpenSSL']={'stringify':function(_0x49af3f){var _0x474d38=_0x576e6e,_0x96cff8,_0x45e14e=_0x49af3f[_0x474d38(0x311)],_0x13f25a=_0x49af3f[_0x474d38(0x25c)];return _0x13f25a?_0x96cff8=_0x11e752[_0x474d38(0x296)]([0x53616c74,0x65645f5f])[_0x474d38(0x3e9)](_0x13f25a)[_0x474d38(0x3e9)](_0x45e14e):_0x96cff8=_0x45e14e,_0x96cff8['toString'](_0x43a75d);},'parse':function(_0x47d6d8){var _0x55aed9=_0x576e6e,_0x1958f2,_0x22fc56=_0x43a75d[_0x55aed9(0x254)](_0x47d6d8),_0x45c926=_0x22fc56[_0x55aed9(0x213)];return _0x45c926[0x0]==0x53616c74&&_0x45c926[0x1]==0x65645f5f&&(_0x1958f2=_0x11e752[_0x55aed9(0x296)](_0x45c926[_0x55aed9(0x385)](0x2,0x4)),_0x45c926[_0x55aed9(0x3c9)](0x0,0x4),_0x22fc56[_0x55aed9(0x35b)]-=0x10),_0x2bdb41['create']({'ciphertext':_0x22fc56,'salt':_0x1958f2});}},_0x2c4e82=_0x414c4f['SerializableCipher']=_0x4bc2a8[_0x576e6e(0x22d)]({'cfg':_0x4bc2a8[_0x576e6e(0x22d)]({'format':_0x3ddfe9}),'encrypt':function(_0x29add6,_0x140dfe,_0x2920dc,_0x1cfb47){var _0x20c4f5=_0x576e6e;_0x1cfb47=this[_0x20c4f5(0x379)][_0x20c4f5(0x22d)](_0x1cfb47);var _0x659a5e=_0x29add6[_0x20c4f5(0x43c)](_0x2920dc,_0x1cfb47),_0x4a0c8f=_0x659a5e[_0x20c4f5(0x419)](_0x140dfe),_0x4b3c84=_0x659a5e[_0x20c4f5(0x379)];return _0x2bdb41[_0x20c4f5(0x296)]({'ciphertext':_0x4a0c8f,'key':_0x2920dc,'iv':_0x4b3c84['iv'],'algorithm':_0x29add6,'mode':_0x4b3c84[_0x20c4f5(0x37b)],'padding':_0x4b3c84['padding'],'blockSize':_0x29add6[_0x20c4f5(0x2cc)],'formatter':_0x1cfb47[_0x20c4f5(0x1ea)]});},'decrypt':function(_0x2765f5,_0x36e811,_0x4b6bed,_0x5b557c){var _0x46ac6b=_0x576e6e;_0x5b557c=this[_0x46ac6b(0x379)][_0x46ac6b(0x22d)](_0x5b557c),_0x36e811=this['_parse'](_0x36e811,_0x5b557c['format']);var _0x238456=_0x2765f5[_0x46ac6b(0x240)](_0x4b6bed,_0x5b557c)[_0x46ac6b(0x419)](_0x36e811['ciphertext']);return _0x238456;},'_parse':function(_0x1ae85e,_0x1655a2){var _0x2f43db=_0x576e6e;return typeof _0x1ae85e==_0x2f43db(0x2d5)?_0x1655a2[_0x2f43db(0x254)](_0x1ae85e,this):_0x1ae85e;}}),_0x441a85=_0x300fa4[_0x576e6e(0x2d6)]={},_0x4f3650=_0x441a85['OpenSSL']={'execute':function(_0x163328,_0x40b0af,_0x54cebd,_0x24f81f,_0x51fe7f){var _0x578d05=_0x576e6e;if(_0x24f81f||(_0x24f81f=_0x11e752['random'](0x40/0x8)),_0x51fe7f)var _0x5242c4=_0x401ba4['create']({'keySize':_0x40b0af+_0x54cebd,'hasher':_0x51fe7f})[_0x578d05(0x257)](_0x163328,_0x24f81f);else var _0x5242c4=_0x401ba4[_0x578d05(0x296)]({'keySize':_0x40b0af+_0x54cebd})[_0x578d05(0x257)](_0x163328,_0x24f81f);var _0x274cdb=_0x11e752[_0x578d05(0x296)](_0x5242c4[_0x578d05(0x213)][_0x578d05(0x385)](_0x40b0af),_0x54cebd*0x4);return _0x5242c4['sigBytes']=_0x40b0af*0x4,_0x2bdb41[_0x578d05(0x296)]({'key':_0x5242c4,'iv':_0x274cdb,'salt':_0x24f81f});}},_0x16edf8=_0x414c4f[_0x576e6e(0x48f)]=_0x2c4e82[_0x576e6e(0x22d)]({'cfg':_0x2c4e82[_0x576e6e(0x379)]['extend']({'kdf':_0x4f3650}),'encrypt':function(_0x5191c2,_0x1682b3,_0x586c51,_0x494136){var _0x41a5dc=_0x576e6e;_0x494136=this[_0x41a5dc(0x379)]['extend'](_0x494136);var _0x1f0b53=_0x494136[_0x41a5dc(0x2d6)]['execute'](_0x586c51,_0x5191c2[_0x41a5dc(0x1d3)],_0x5191c2['ivSize'],_0x494136[_0x41a5dc(0x25c)],_0x494136[_0x41a5dc(0x325)]);_0x494136['iv']=_0x1f0b53['iv'];var _0x49a574=_0x2c4e82[_0x41a5dc(0x22a)][_0x41a5dc(0x1f5)](this,_0x5191c2,_0x1682b3,_0x1f0b53[_0x41a5dc(0x3db)],_0x494136);return _0x49a574[_0x41a5dc(0x1e5)](_0x1f0b53),_0x49a574;},'decrypt':function(_0x521d66,_0x41a70,_0x1c9028,_0x33eef7){var _0x3d0103=_0x576e6e;_0x33eef7=this[_0x3d0103(0x379)][_0x3d0103(0x22d)](_0x33eef7),_0x41a70=this[_0x3d0103(0x249)](_0x41a70,_0x33eef7[_0x3d0103(0x1ea)]);var _0x52f9a7=_0x33eef7[_0x3d0103(0x2d6)][_0x3d0103(0x3ec)](_0x1c9028,_0x521d66[_0x3d0103(0x1d3)],_0x521d66[_0x3d0103(0x446)],_0x41a70[_0x3d0103(0x25c)],_0x33eef7[_0x3d0103(0x325)]);_0x33eef7['iv']=_0x52f9a7['iv'];var _0x3351d8=_0x2c4e82['decrypt'][_0x3d0103(0x1f5)](this,_0x521d66,_0x41a70,_0x52f9a7[_0x3d0103(0x3db)],_0x33eef7);return _0x3351d8;}});}();}));}(Je)),Je['exports'];}var Dr=Ve[_0x1ca31a(0x467)],ri;function Ur(){var _0x59a47c=_0x1ca31a;return ri||(ri=0x1,function(_0x318fc2,_0x31c473){(function(_0x1e0cd3,_0x4f1224,_0x4ad919){_0x318fc2['exports']=_0x4f1224(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x1baf74){var _0x211195=_0xab3c;return(function(){var _0x234cde=_0xab3c,_0x4ddebf=_0x1baf74,_0x3edac8=_0x4ddebf[_0x234cde(0x447)],_0x5bb5c4=_0x3edac8[_0x234cde(0x262)],_0x175d1f=_0x4ddebf[_0x234cde(0x41c)],_0x2db672=[],_0x5f0e7e=[],_0x6a8670=[],_0x143e6a=[],_0x247f5d=[],_0x459ab0=[],_0x333c34=[],_0x39604a=[],_0x495f09=[],_0x17a821=[];(function(){for(var _0x477f1e=[],_0x46b7d5=0x0;_0x46b7d5<0x100;_0x46b7d5++)_0x46b7d5<0x80?_0x477f1e[_0x46b7d5]=_0x46b7d5<<0x1:_0x477f1e[_0x46b7d5]=_0x46b7d5<<0x1^0x11b;for(var _0x259ce9=0x0,_0x27849e=0x0,_0x46b7d5=0x0;_0x46b7d5<0x100;_0x46b7d5++){var _0x5972a7=_0x27849e^_0x27849e<<0x1^_0x27849e<<0x2^_0x27849e<<0x3^_0x27849e<<0x4;_0x5972a7=_0x5972a7>>>0x8^_0x5972a7&0xff^0x63,_0x2db672[_0x259ce9]=_0x5972a7,_0x5f0e7e[_0x5972a7]=_0x259ce9;var _0x1318b2=_0x477f1e[_0x259ce9],_0x428c8e=_0x477f1e[_0x1318b2],_0x52a0b3=_0x477f1e[_0x428c8e],_0x17f9cc=_0x477f1e[_0x5972a7]*0x101^_0x5972a7*0x1010100;_0x6a8670[_0x259ce9]=_0x17f9cc<<0x18|_0x17f9cc>>>0x8,_0x143e6a[_0x259ce9]=_0x17f9cc<<0x10|_0x17f9cc>>>0x10,_0x247f5d[_0x259ce9]=_0x17f9cc<<0x8|_0x17f9cc>>>0x18,_0x459ab0[_0x259ce9]=_0x17f9cc;var _0x17f9cc=_0x52a0b3*0x1010101^_0x428c8e*0x10001^_0x1318b2*0x101^_0x259ce9*0x1010100;_0x333c34[_0x5972a7]=_0x17f9cc<<0x18|_0x17f9cc>>>0x8,_0x39604a[_0x5972a7]=_0x17f9cc<<0x10|_0x17f9cc>>>0x10,_0x495f09[_0x5972a7]=_0x17f9cc<<0x8|_0x17f9cc>>>0x18,_0x17a821[_0x5972a7]=_0x17f9cc,_0x259ce9?(_0x259ce9=_0x1318b2^_0x477f1e[_0x477f1e[_0x477f1e[_0x52a0b3^_0x1318b2]]],_0x27849e^=_0x477f1e[_0x477f1e[_0x27849e]]):_0x259ce9=_0x27849e=0x1;}}());var _0x535480=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51d11d=_0x175d1f[_0x234cde(0x45c)]=_0x5bb5c4[_0x234cde(0x22d)]({'_doReset':function(){var _0x5189e4=_0x234cde,_0x103376;if(!(this[_0x5189e4(0x2b0)]&&this[_0x5189e4(0x4a8)]===this[_0x5189e4(0x267)])){for(var _0x18e69e=this[_0x5189e4(0x4a8)]=this['_key'],_0x44db24=_0x18e69e[_0x5189e4(0x213)],_0x4b6d42=_0x18e69e[_0x5189e4(0x35b)]/0x4,_0x385c66=this[_0x5189e4(0x2b0)]=_0x4b6d42+0x6,_0x1ad320=(_0x385c66+0x1)*0x4,_0x1c618c=this[_0x5189e4(0x472)]=[],_0x2fd87b=0x0;_0x2fd87b<_0x1ad320;_0x2fd87b++)_0x2fd87b<_0x4b6d42?_0x1c618c[_0x2fd87b]=_0x44db24[_0x2fd87b]:(_0x103376=_0x1c618c[_0x2fd87b-0x1],_0x2fd87b%_0x4b6d42?_0x4b6d42>0x6&&_0x2fd87b%_0x4b6d42==0x4&&(_0x103376=_0x2db672[_0x103376>>>0x18]<<0x18|_0x2db672[_0x103376>>>0x10&0xff]<<0x10|_0x2db672[_0x103376>>>0x8&0xff]<<0x8|_0x2db672[_0x103376&0xff]):(_0x103376=_0x103376<<0x8|_0x103376>>>0x18,_0x103376=_0x2db672[_0x103376>>>0x18]<<0x18|_0x2db672[_0x103376>>>0x10&0xff]<<0x10|_0x2db672[_0x103376>>>0x8&0xff]<<0x8|_0x2db672[_0x103376&0xff],_0x103376^=_0x535480[_0x2fd87b/_0x4b6d42|0x0]<<0x18),_0x1c618c[_0x2fd87b]=_0x1c618c[_0x2fd87b-_0x4b6d42]^_0x103376);for(var _0x27252a=this[_0x5189e4(0x4b9)]=[],_0x5c0356=0x0;_0x5c0356<_0x1ad320;_0x5c0356++){var _0x2fd87b=_0x1ad320-_0x5c0356;if(_0x5c0356%0x4)var _0x103376=_0x1c618c[_0x2fd87b];else var _0x103376=_0x1c618c[_0x2fd87b-0x4];_0x5c0356<0x4||_0x2fd87b<=0x4?_0x27252a[_0x5c0356]=_0x103376:_0x27252a[_0x5c0356]=_0x333c34[_0x2db672[_0x103376>>>0x18]]^_0x39604a[_0x2db672[_0x103376>>>0x10&0xff]]^_0x495f09[_0x2db672[_0x103376>>>0x8&0xff]]^_0x17a821[_0x2db672[_0x103376&0xff]];}}},'encryptBlock':function(_0x21dd8e,_0x417451){this['_doCryptBlock'](_0x21dd8e,_0x417451,this['_keySchedule'],_0x6a8670,_0x143e6a,_0x247f5d,_0x459ab0,_0x2db672);},'decryptBlock':function(_0x33e48d,_0xdbf235){var _0x229a0a=_0x234cde,_0x1ddee0=_0x33e48d[_0xdbf235+0x1];_0x33e48d[_0xdbf235+0x1]=_0x33e48d[_0xdbf235+0x3],_0x33e48d[_0xdbf235+0x3]=_0x1ddee0,this[_0x229a0a(0x485)](_0x33e48d,_0xdbf235,this[_0x229a0a(0x4b9)],_0x333c34,_0x39604a,_0x495f09,_0x17a821,_0x5f0e7e);var _0x1ddee0=_0x33e48d[_0xdbf235+0x1];_0x33e48d[_0xdbf235+0x1]=_0x33e48d[_0xdbf235+0x3],_0x33e48d[_0xdbf235+0x3]=_0x1ddee0;},'_doCryptBlock':function(_0x5b0a4,_0x1c878f,_0x33d6bc,_0x45645f,_0x344b4c,_0x56d203,_0x162b1c,_0x5d09a2){for(var _0x505643=this['_nRounds'],_0x2bf28c=_0x5b0a4[_0x1c878f]^_0x33d6bc[0x0],_0x950e5e=_0x5b0a4[_0x1c878f+0x1]^_0x33d6bc[0x1],_0xb44dea=_0x5b0a4[_0x1c878f+0x2]^_0x33d6bc[0x2],_0x284eb1=_0x5b0a4[_0x1c878f+0x3]^_0x33d6bc[0x3],_0x436811=0x4,_0x51f706=0x1;_0x51f706<_0x505643;_0x51f706++){var _0x123c13=_0x45645f[_0x2bf28c>>>0x18]^_0x344b4c[_0x950e5e>>>0x10&0xff]^_0x56d203[_0xb44dea>>>0x8&0xff]^_0x162b1c[_0x284eb1&0xff]^_0x33d6bc[_0x436811++],_0x542bf5=_0x45645f[_0x950e5e>>>0x18]^_0x344b4c[_0xb44dea>>>0x10&0xff]^_0x56d203[_0x284eb1>>>0x8&0xff]^_0x162b1c[_0x2bf28c&0xff]^_0x33d6bc[_0x436811++],_0x415a31=_0x45645f[_0xb44dea>>>0x18]^_0x344b4c[_0x284eb1>>>0x10&0xff]^_0x56d203[_0x2bf28c>>>0x8&0xff]^_0x162b1c[_0x950e5e&0xff]^_0x33d6bc[_0x436811++],_0x2f643c=_0x45645f[_0x284eb1>>>0x18]^_0x344b4c[_0x2bf28c>>>0x10&0xff]^_0x56d203[_0x950e5e>>>0x8&0xff]^_0x162b1c[_0xb44dea&0xff]^_0x33d6bc[_0x436811++];_0x2bf28c=_0x123c13,_0x950e5e=_0x542bf5,_0xb44dea=_0x415a31,_0x284eb1=_0x2f643c;}var _0x123c13=(_0x5d09a2[_0x2bf28c>>>0x18]<<0x18|_0x5d09a2[_0x950e5e>>>0x10&0xff]<<0x10|_0x5d09a2[_0xb44dea>>>0x8&0xff]<<0x8|_0x5d09a2[_0x284eb1&0xff])^_0x33d6bc[_0x436811++],_0x542bf5=(_0x5d09a2[_0x950e5e>>>0x18]<<0x18|_0x5d09a2[_0xb44dea>>>0x10&0xff]<<0x10|_0x5d09a2[_0x284eb1>>>0x8&0xff]<<0x8|_0x5d09a2[_0x2bf28c&0xff])^_0x33d6bc[_0x436811++],_0x415a31=(_0x5d09a2[_0xb44dea>>>0x18]<<0x18|_0x5d09a2[_0x284eb1>>>0x10&0xff]<<0x10|_0x5d09a2[_0x2bf28c>>>0x8&0xff]<<0x8|_0x5d09a2[_0x950e5e&0xff])^_0x33d6bc[_0x436811++],_0x2f643c=(_0x5d09a2[_0x284eb1>>>0x18]<<0x18|_0x5d09a2[_0x2bf28c>>>0x10&0xff]<<0x10|_0x5d09a2[_0x950e5e>>>0x8&0xff]<<0x8|_0x5d09a2[_0xb44dea&0xff])^_0x33d6bc[_0x436811++];_0x5b0a4[_0x1c878f]=_0x123c13,_0x5b0a4[_0x1c878f+0x1]=_0x542bf5,_0x5b0a4[_0x1c878f+0x2]=_0x415a31,_0x5b0a4[_0x1c878f+0x3]=_0x2f643c;},'keySize':0x100/0x20});_0x4ddebf[_0x234cde(0x45c)]=_0x5bb5c4[_0x234cde(0x23e)](_0x51d11d);}()),_0x1baf74[_0x211195(0x45c)];}));}(Ve)),Ve[_0x59a47c(0x467)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x1ca31a(0x467)],ai;function Lr(){var _0x53f8fc=_0x1ca31a;return ai||(ai=0x1,function(_0x8ddc9d,_0x4ce444){(function(_0x5de527,_0x320f68){var _0x41846d=_0xab3c;_0x8ddc9d[_0x41846d(0x467)]=_0x320f68(ie());}(xr,function(_0xac1388){var _0x2f55f2=_0xab3c;return _0xac1388[_0x2f55f2(0x294)][_0x2f55f2(0x321)];}));}(Xe)),Xe[_0x53f8fc(0x467)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x1ca31a(0x467)],oi;function Hr(){var _0x5f3ff6=_0x1ca31a;return oi||(oi=0x1,function(_0x10ba60,_0x237a04){(function(_0x4e9d4e,_0x45aefe){var _0x4bb125=_0xab3c;_0x10ba60[_0x4bb125(0x467)]=_0x45aefe(ie());}($r,function(_0x5c1658){var _0x25e72c=_0xab3c;return(function(){var _0x46fb5e=_0xab3c;if(typeof ArrayBuffer==_0x46fb5e(0x1de)){var _0x26005b=_0x5c1658,_0x81f542=_0x26005b[_0x46fb5e(0x447)],_0x48a368=_0x81f542[_0x46fb5e(0x234)],_0x50bf15=_0x48a368['init'],_0x509546=_0x48a368[_0x46fb5e(0x2a5)]=function(_0x13e5e9){var _0x2a09e1=_0x46fb5e;if(_0x13e5e9 instanceof ArrayBuffer&&(_0x13e5e9=new Uint8Array(_0x13e5e9)),(_0x13e5e9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x13e5e9 instanceof Uint8ClampedArray||_0x13e5e9 instanceof Int16Array||_0x13e5e9 instanceof Uint16Array||_0x13e5e9 instanceof Int32Array||_0x13e5e9 instanceof Uint32Array||_0x13e5e9 instanceof Float32Array||_0x13e5e9 instanceof Float64Array)&&(_0x13e5e9=new Uint8Array(_0x13e5e9['buffer'],_0x13e5e9[_0x2a09e1(0x3ff)],_0x13e5e9[_0x2a09e1(0x2b5)])),_0x13e5e9 instanceof Uint8Array){for(var _0x2aa81e=_0x13e5e9[_0x2a09e1(0x2b5)],_0x2411ae=[],_0x3acf20=0x0;_0x3acf20<_0x2aa81e;_0x3acf20++)_0x2411ae[_0x3acf20>>>0x2]|=_0x13e5e9[_0x3acf20]<<0x18-_0x3acf20%0x4*0x8;_0x50bf15['call'](this,_0x2411ae,_0x2aa81e);}else _0x50bf15[_0x2a09e1(0x2fc)](this,arguments);};_0x509546[_0x46fb5e(0x2b7)]=_0x48a368;}}()),_0x5c1658[_0x25e72c(0x447)]['WordArray'];}));}(Ze)),Ze[_0x5f3ff6(0x467)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x1ca31a(0x467)],ci;function Vr(){var _0x5bf087=_0x1ca31a;return ci||(ci=0x1,function(_0x1a24aa,_0x9d0a23){(function(_0x124628,_0x1a22c3,_0x1036b5){_0x1a24aa['exports']=_0x1a22c3(ie(),wi());}(Fr,function(_0xb770b4){var _0x45fc47=_0xab3c;return _0xb770b4[_0x45fc47(0x3e6)][_0x45fc47(0x2ee)]={'pad':function(){},'unpad':function(){}},_0xb770b4[_0x45fc47(0x3e6)][_0x45fc47(0x2ee)];}));}(Qe)),Qe[_0x5bf087(0x467)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x4da22f,_0x243901){var _0x2611a9=_0x1ca31a;const _0x28be32=_0x243901-_0x4da22f[_0x2611a9(0x272)]%_0x243901,_0x52b8ab=String[_0x2611a9(0x1d9)](_0x28be32)[_0x2611a9(0x253)](_0x28be32);return _0x4da22f+_0x52b8ab;}function Yr(_0x42dc04,_0x25b431){var _0x7bee22=_0x1ca31a;const _0x1eb879=jr[_0x7bee22(0x1f6)](0x10),_0x47205f=Kr(_0x42dc04,0x10),_0x4f92ae=Ar[_0x7bee22(0x22a)](kr[_0x7bee22(0x254)](_0x47205f),si[_0x7bee22(0x254)](_0x25b431),{'iv':_0x1eb879,'padding':Wr});return _0x1eb879[_0x7bee22(0x3e9)](_0x4f92ae['ciphertext'])['toString'](si);}function qr(){var _0x100a11=_0x1ca31a;const _0x4f26ba=_0x46eb53()[_0x100a11(0x2eb)];if(_0x4f26ba){const _0x1945aa={'time':Math[_0x100a11(0x1e6)](Date[_0x100a11(0x33d)]()/0x3e8),'domain':location[_0x100a11(0x345)]};return Yr(JSON[_0x100a11(0x4b5)](_0x1945aa),_0x4f26ba);}}function _0x2613(){var _0x4e5004=['reset','_executeRemoteChangeset','updateMember','updatePermissionObjEvent','SYNCED','_acknowledgedAwaitingChangeset','Base','RECV','_handler','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_retryConnectingTimer','7EGfigu','PSEUDO_FETCH_MISSING_RESULT','BufferedBlockAlgorithm','location','6677400dxtYCR','_iKey','_sessionStatus$','sigBytes','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN_ROOM_FULL','bind','_updateStatus','append','add','675XTdnGY','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','compose','_joinRoom','size','Malformed\x20UTF-8\x20data','onMissingChangesets','UNIVER_PROJECT','_resendTimeout','charAt','/universer-api/stream/file/upload','APPLY_NON_SEQUENTIAL_REVISION','univer-pro.collaboration-client.network-condition.service','deleteCollaborator','SHOULD_CLOSE_CONN','downloadEndpointUrl','responseType','session.room-full','_getSignURL','_type','_startCollaboration','COMPRESS_MUTATION_SEND','_disableEditing','cfg','_tryEnsureSocket','mode','HmacMD5','SOCKET_FAILED_RETRY','&assign=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','_doReset','setConfig','file','_sendHeartbeatTimer','slice','onRemoteAck','getCollabEntity','SHA1','getTypeOfUnitDisposed$','_socket','_instanceService','_hash','collaMsg','_config','ERROR_IMAGE_TYPE','encode','transformChangesets','_undoStacks','image/png','ERROR_IMAGE','_cipher','csShouldRetryEvent','LICENSE_DISTRO_REJECTED','[PendingState]:\x20received\x20rejection.','values','routeKey','sessionStatus','put','headers','_sendHeartbeat','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_process','&source=','onRemoteRetry','_socket$','_clearHeartbeatTimer','_exhaustRemoteChangesetQueue','post','_imageSourceCache','_applyRemoteChangeset','onMissedChangesetFetched','saveSnapshot','UPDATE_PERMISSION_OBJ','socket\x20open.','Latin1','_onJoinRoomEvent','UnitEmbedded','OTHER_CLIENT_EDITING','getUnitId','data','awaiting','executeCommand','UnitSnapshot','_snapshotService','UNDEFINED','batchAllowed','getActiveSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTime','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','getMemberID','onCommentUpdate','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','\x20-\x20','JOIN_ROOM_PERMISSION_DENIED','LOGIN_URL_KEY','_toggleOnline','_entities','connection\x20error','registerHTTPInterceptor','getTypeOfUnitAdded$','splice','roles','_commandService','join','FileId','authzUrl','INTERNAL_ERROR','uniscriptRunEvent','cmd','image/bmp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','update','_candidateSocket','find','CHANGESET_SHOULD_RETRY','_event$','_updateLocalCache','ALREADY_EXISTS','key','_httpService','_clearCollaborationTimeoutTimer','?url=','NOT_FOUND','fromCollab','members$','clear','_scheduleCompleteTimestamp','dispose$','snapshotServerUrl','pad','save\x20fail\x20reason\x20is\x20','_onOffline','concat','_minBufferSize','_onRecvEvent','execute','_getLoginPath','ONLINE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DEFAULT_FILE_NAME','24231eulyBu','SUBMIT_CHANGESET','online$','_clearLocalCache','USER_NOT_INVITED_CODE','equals','_fetchMissChangesets','_getUploadFileURL','EvpKDF','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','body','shouldCloseConn','ws://127.0.0.1:8000/universer-api/comb/connect','Failed\x20to\x20update\x20permission\x20point','byteOffset','SNAPSHOT_SERVER_URL_KEY','getAllMembers','textRanges','_showConflictNotification','_getCtorByUniverType','listCollaborators','onSendChangeset','_substituteUndoStack','_onConnectionOpen','type','onTransformRemoteChangesetByIMECache','JOIN','_singleActiveUnitService','patch','Univer','/collaborator','_registerDependencies','/universer-api/user/session-ticket','NO_OTHER_CLIENTS_EDITING','_telemetryInfo','commentUpdate$','createSocket','resolve','MD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','finalize','_waitCount','CHANGESET_REVISION_CONFILICT','algo','BASE64','_getUndoStack','_networkConditionService','NEW_CHANGESETS','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','leaveEvent','UNKNOWN_CODE','/role','LEAVE','_collaborationTimeoutTimer','_undoRedoService','JOINING','_createInitialStateImpl','fetchMissingChangesets','_onFetchMissResult','_transformRemoteChangesetByStateCache','1605175CdbRLA','OTHER_CLIENTS_EDITING','/rev/','updateCollaborator','_startTelemetryCollaborationNewChangeset','editing\x20status\x20changed\x20to','session.room-cnt-exceeds','_state','stopTime','debug','HEARTBEAT','[CollaborationState]:\x20apply\x20error!','_userManagerService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','hasOwnProperty','createEncryptor','TOO_MANY_REQUESTS','allowed','_clearTimeoutTimer','_memberService','HELLO','appendMutation','event$','LICENSE_MAX_UNITS_EXCEEDED','onlyLocal','ivSize','lib','_onUserJoin','permissionRejEvent','params','_transformRemoteChangesetByIMECache','crypto','createCollaborator','formatter','OPTIONAL','unitId\x20is\x20not\x20found','_schedule','c2Prime','_getDownloadEndpointURL','_pendingMutations','startTime','entityInit$','unknown','LIVESHARE_TERMINATE','getOwnPropertyDescriptor','collaboration-client.local-cache-service','awaitingChangeset','AES','_sender','_clearUndo','_createInitialState','OFFLINE','$super','loadOfflineData','_eventService','collaboration-client.config','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','exports','unitInfo$','duration','_mode','_oKey','subject','_iv','objectID','next','reqId','_snapshotServerService','_keySchedule','_createHmacHelper','AUTHZ_URL_KEY','href','getImageSourceCache','fetching\x20missing\x20changesets\x20from\x20','csAckEvent','not_collab','error$','liveShareOperation','copyFileMeta','incrementRevOfUnit','_configService','removeMember','url','_onConnectionFailed','_rescheduleHeartbeat','PY_RUNTIME_SCRIPT_ERROR','addHandlerCallback','_doCryptBlock','_toggleOffline','name','joinEvent','_onRemoteRetry','toString','37452fDGDLu','objectActions','unitId','enableAuthServer','PasswordBasedCipher','_members','_remoteChangesetQueue','isArray','_members$','Hex','_getAPIPrefixPath','FETCH_MISS','_socketService','requireSession','_collaborationSessionService','_socketMessageSubscription','toggleOffline','_clearScheduledTask','image/jpg','LICENSE_EXPORT_SIZE_EXCEEDED','getConfig','every','complete','UPDATE_CURSOR','SEND_CHANGESET_TIMEOUT','HEARTBEAT_INTERVAL','onTransformSelections','socket$','selections','_keyPriorReset','[DataLoaderService]','_emitMembers','refreshPermission','APPLY_REVISION_CONFILICT','objectType','_queuedRemoteChangesets','_loadSheet','open$','onSyncEditingCollabCursor','/unit/','Base64','getSnapshotAPIPath','stringify','isPermissionRej','_revisionService','pluginName','_invKeySchedule','requestParams','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_scheduleCollaborationTimeoutTimer','FAIL','dispose','PERSON','UNKNOWN_CMD','_append','MUTATION','_getSendChangesetTimeout','localeService','symbol','_handlerCallback','/fetchmissing?from=','_getCurrentRevision','pending','get','keySize','JOIN_ROOM_NOT_EXISTS','APPLY_DUPLICATED','getUnitOnRev','result','_state$','fromCharCode','[FetchMissState]','619080FHyplY','_syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','function','delete','revision','LIVESHARE_FETCH_OPERATIONS','transformStack\x20failed!','LIVESHARE_OPERATION','_telemetryService','mixIn','floor','SUCCUSS','INVALID_INVITE_CODE','uploadFileServerUrl','format','sid','COLLAB_WEB_SOCKET_URL','state$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/-/object/-/batch_allowed','setShowComponents','readInt32LE','putCollaborators','USERS_LEAVE','list','call','random','getUnit','_change$','_transformUndoredo','getCurrentUser','_unlockTransition','_localCacheService','[CollaborationUndoRedoService]','SUBMIT_CHANGESET_TIMEOUT','[CollaborationSessionService]:\x20socket\x20error','synced','RETRY_CONNECTING_MAX_COUNT','_unitID','retryConnectingInterval','from','_substituteRedoStack','clone','getUnitType','createInstance','charCodeAt','_clearRetryConnectingTimer','session.room-permission-denied','generateRandomId','_tryReconnect','push','_doCreateSocket','getLatestCsReqIdBySid','_initRequestHeader','UNIVER_SLIDE','words','UNIVER_COLLABORATION_CLIENT_PLUGIN','then','Decryptor','_commentService','transformSelections','18hWVkLw','newCsEvent','pipe','withCredentials','_data','CHANGESET_REJ','reduce','range','INVITE_CODE_REQUIRED','getValue','StreamCipher','AWAITING_WITH_PENDING','INVALID_ARGUMENT','status$','getImage','_removeRoom','_transformStateCache','encrypt','UNIVER_UNKNOWN','default','extend','_initMergeInterceptor','INGEST','collaborators','offline','_isPermissionRej','enableOfflineEditing','WordArray','closeSession','fetchMiss','UNISCRIPT_RUN','msCrypto','fetch_missing','_awaitingChangeset','mutations','_replaceFileID','memberID','_createHelper','_univerInstanceService','createDecryptor','interceptor','ERROR_EXCEED_SIZE','_shouldReportTelemetry','onTransformRemoteChangesetByStateCache','localCacheService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[SyncedState]:\x20received\x20acknowledgement.','originalMeta','_parse','_stopTelemetryCollaborationNewChangeset','image/gif','LIVESHARE_REQUEST_HOST','_roomCreated$','_nDataBytes','/universer-api/file/{fileID}/sign-url','HMAC','[CollaborationSessionService]','_hasher','repeat','parse','sessionStatus$','Pkcs7','compute','objects','LIVESHARE_NEW_HOST','getCurrentRevOfUnit','People','salt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/authz','getDeserializedSheetBlock','_collaborationPaused','asObservable','BlockCipher','defineProperty','saveImage','_transformStack','_onRemoteRejected','_key','_resendTimer','_DEC_XFORM_MODE','_transformSelections','transformUndoRedo','MSG_FOR_ERROR','filter','_onRemoteChangeset','close','_incrementRevisionNumber','COMPLETION_FINISHED','length','_xformMode','sendChangesetTimeout','__creator','socket\x20close','eventID','GLOBAL_ROOMS_CNT_EXCEEDS','liveShareNewHost','sin','_changesetSessionId','enableSingleActiveInstanceLock','onRemoteChangeset','PERMISSION_DENIED','[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.','onTransformIME','HttpExport','baseRev','unitID','map','_createSocket','[OfflineState]:\x20received\x20acknowledgement.','Cipher','forEach','getInterceptPoints','_HTTPService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','disposeWithMe','members','actions','snapshot','/allowed','LOGIN_FAILED','_sendingTimer','resend','enc','_socketReady','create','/universer-api/uniscript','findIndex','updateOfflineData','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onConflict','padding','subscribe','message$','Error\x20on\x20receiving\x20event','onRemoteRej','APPLY_PERMISSION_DENIED','_logService','workbook','encryptBlock','init','clamp','awaiting_with_pending','_compressMutationService','Undefined','\x0aAfter:\x20','JOIN_ROOM_FAILED','min','transformMutationsWithChangeset','includes','/object/','_nRounds','collaboratorID','ceil','avatar','IDLE','byteLength','_unitInfo$','prototype','_resendWithTimeout','UNIVER_DOC','2151462lhSYTl','randomBytes','_ENC_XFORM_MODE','_submitChangeset','CHANGESET_ACK','_waitForHeartbeatResponse','_decreaseWaiting','updatePermissionPoint','_doProcessBlock','src','onCommandExecuted','getSheetId','PERMISSION_REJ','APPLY_REJECT','UNIVER_SHEET','iterations','image/jpeg','randomUUID','blockSize','override','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_status$','_transformService','HttpImport','_entityInit$','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','string','kdf','[OfflineState]:\x20received\x20rejection.','_injector','_onLocalMutation','_lockTransition','substr','send','waitForRoom$','state','Hasher','readAsDataURL','_sessions','onLocalMutation','UNAUTHENTICATED','conflict','loadSheet','CLOSE_ROOM','saveChangeset','_getAPIPrefix','initWorkbookPermissionChange','error','__Key__','_roomMembers','pauseCollaboration','NoPadding','_checkMissing','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','has','sheets','fetchThroughInterceptors','_changesetReqId','/resources','target','getRandomValues','_localeService','toLowerCase','editingUnit','UNRECOGNIZED','apply','_onMessage','getSheetBlock','action','_doFinalize','SOCKET_FAILED','FETCH_MISSING','CONNECTOR_DATA_TOO_LARGE','session','_createHandler','HmacSHA1','getResourcesRequest','ENSURE_SNAPSHOT_EXECUTION','getCollabEntity$','/new_changes','_retryCount','_map','_timeoutTimer','change$','status','597256QvFqbi','ciphertext','unit-cache-','_initUnitPermissionChange','POST','getFocusedUnit','YUUMI_UNABLE_LOAD_URL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteACK','set','&to=','_commentUpdate$','readyForCollab','catch','_clearRedo','\x20in\x20_schedule.','UUID','Utf8','c1Prime','_initDependencies','Could\x20not\x20dynamically\x20require\x20\x22','hasher','[CollaborationEntity]','/block/','_onCombEvent','m2Prime','changesets','close$','x-univer-host','\x20to\x20','YUUMI_URL_COL_OUT_OF_RANGE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOnline','_collaborationUIEventService','unsubscribe','reject','_permissionService','[CollaborationSession]','_updateState','SNAPSHOT_HAS_BEEN_REMOVED','emitEvent','_prevBlock','USERS_ENTER','max','focused$','now','univer-pro.collaboration-client-socket-service','_transitionLocked','_reverseMap','onTransformState','getMember','_init','rev','hostname','[UniverCollaborationClientPlugin]','code','submit\x20changeset\x20error!'];_0x2613=function(){return _0x4e5004;};return _0x2613();}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x1c68a0,_0x20922e,_0x2da652,_0x2f7202)=>{var _0x13f851=_0x1ca31a;for(var _0x43f56f=_0x2f7202>0x1?void 0x0:_0x2f7202?zr(_0x20922e,_0x2da652):_0x20922e,_0xd47d9c=_0x1c68a0[_0x13f851(0x272)]-0x1,_0xa49818;_0xd47d9c>=0x0;_0xd47d9c--)(_0xa49818=_0x1c68a0[_0xd47d9c])&&(_0x43f56f=_0xa49818(_0x43f56f)||_0x43f56f);return _0x43f56f;},Xr=(_0x5005fe,_0x448983)=>(_0x509989,_0x172a91)=>_0x448983(_0x509989,_0x172a91,_0x5005fe);let at=class{constructor(_0x295507){var _0x149a9d=_0x1ca31a;this[_0x149a9d(0x3dc)]=_0x295507,this[_0x149a9d(0x211)]();}[_0x1ca31a(0x211)](){var _0x916304=_0x1ca31a;this[_0x916304(0x3dc)]['registerHTTPInterceptor']({'interceptor':(_0x2b2796,_0x9f8116)=>{var _0x44f73d=_0x916304;const _0xad0de7=_0x2b2796[_0x44f73d(0x39d)],_0x293510=qr();return _0x293510&&_0xad0de7[_0x44f73d(0x319)](_0x44f73d(0x32c),_0x293510),_0x9f8116(_0x2b2796);}});}};at=Jr([Xr(0x0,_0x279201(_0x196a2c))],at);var Zr=Object[_0x1ca31a(0x459)],Qr=(_0x20e5d5,_0x4479ad,_0x2a1c62,_0x1b0f9d)=>{for(var _0x3fa8e4=_0x1b0f9d>0x1?void 0x0:_0x1b0f9d?Zr(_0x4479ad,_0x2a1c62):_0x4479ad,_0x35ea2d=_0x20e5d5['length']-0x1,_0x139b3;_0x35ea2d>=0x0;_0x35ea2d--)(_0x139b3=_0x20e5d5[_0x35ea2d])&&(_0x3fa8e4=_0x139b3(_0x3fa8e4)||_0x3fa8e4);return _0x3fa8e4;},mt=(_0xfa8f41,_0x15ced0)=>(_0x50c885,_0xac66eb)=>_0x15ced0(_0x50c885,_0xac66eb,_0xfa8f41);let bt=class extends _0x149fed{constructor(_0x3d7db9,_0x4e7027,_0x2f9d73){var _0x30974e=_0x1ca31a;super(),N(this,_0x30974e(0x2b6),new _0x51f60c(null)),N(this,_0x30974e(0x468),this[_0x30974e(0x2b6)][_0x30974e(0x261)]()),(this[_0x30974e(0x2a2)]=_0x3d7db9,this[_0x30974e(0x3b6)]=_0x4e7027,this[_0x30974e(0x1fc)]=_0x2f9d73);}async['loadUnit'](_0x229854,_0x5e53de,_0xeef443){var _0x3d88c7=_0x1ca31a;this[_0x3d88c7(0x2b6)][_0x3d88c7(0x46f)]({'unitId':_0x229854,'type':_0x5e53de,'subUnitId':_0xeef443});let _0x3f9017=null;switch(_0x5e53de){case Q['UNIVER_SHEET']:{_0x3f9017=await this[_0x3d88c7(0x4af)](_0x229854);break;}case Q[_0x3d88c7(0x2b9)]:{_0x3f9017=await this['_loadDoc'](_0x229854);break;}default:{this[_0x3d88c7(0x2a2)]['error'](_0x3d88c7(0x4a9),_0x3d88c7(0x3ef));break;}}return _0x3f9017;}async[_0x1ca31a(0x4af)](_0x10ee22){var _0x5951b3=_0x1ca31a,_0x3fa0d0;let _0x3da307=0x0;const _0x4d8070=await((_0x3fa0d0=this['_localCacheService'])==null?void 0x0:_0x3fa0d0[_0x5951b3(0x462)](_0x10ee22));return _0x4d8070&&(_0x4d8070['awaitingChangeset']||_0x4d8070[_0x5951b3(0x23b)][_0x5951b3(0x272)]!==0x0)&&(_0x3da307=_0x4d8070[_0x5951b3(0x344)]),_0x3da307===0x0&&this[_0x5951b3(0x2a2)]['debug'](_0x5951b3(0x4a9),_0x5951b3(0x2ce)),this[_0x5951b3(0x3b6)][_0x5951b3(0x2e5)](_0x10ee22,_0x3da307);}async['_loadDoc'](_0x5b7cca){var _0x1bf2bc=_0x1ca31a,_0x22372d;let _0x1b635e=0x0;const _0x395c59=await((_0x22372d=this[_0x1bf2bc(0x1fc)])==null?void 0x0:_0x22372d[_0x1bf2bc(0x462)](_0x5b7cca));return _0x395c59&&(_0x395c59['awaitingChangeset']||_0x395c59[_0x1bf2bc(0x23b)][_0x1bf2bc(0x272)]!==0x0)&&(_0x1b635e=_0x395c59[_0x1bf2bc(0x344)]),_0x1b635e===0x0&&this[_0x1bf2bc(0x2a2)][_0x1bf2bc(0x436)](_0x1bf2bc(0x4a9),_0x1bf2bc(0x2ce)),this[_0x1bf2bc(0x3b6)]['loadDoc'](_0x5b7cca,_0x1b635e);}};bt=Qr([mt(0x0,_0xb82841),mt(0x1,_0x279201(_0x236f08)),mt(0x2,_0x26e2c8(J))],bt);var es=Object['getOwnPropertyDescriptor'],ts=(_0x409d31,_0x141baf,_0x4cf54a,_0x10548a)=>{var _0x25a390=_0x1ca31a;for(var _0x35fcd6=_0x10548a>0x1?void 0x0:_0x10548a?es(_0x141baf,_0x4cf54a):_0x141baf,_0x270e0e=_0x409d31[_0x25a390(0x272)]-0x1,_0x20b2ad;_0x270e0e>=0x0;_0x270e0e--)(_0x20b2ad=_0x409d31[_0x270e0e])&&(_0x35fcd6=_0x20b2ad(_0x35fcd6)||_0x35fcd6);return _0x35fcd6;},gt=(_0x3b4974,_0x5ec09f)=>(_0x46edb7,_0x23cc38)=>_0x5ec09f(_0x46edb7,_0x23cc38,_0x3b4974);const is=[_0x1ca31a(0x393),_0x1ca31a(0x2ca),_0x1ca31a(0x49d),_0x1ca31a(0x24b),_0x1ca31a(0x3d2)],ns=0x5*0x400*0x400,rs=_0x1ca31a(0x3d3),ss=_0x1ca31a(0x36c),as=_0x1ca31a(0x465),os=_0x1ca31a(0x24f);let yt=class{constructor(_0x56c594,_0x47731d,_0x3c5036){var _0x3171ab=_0x1ca31a;N(this,_0x3171ab(0x41a),0x0),N(this,_0x3171ab(0x1f8),new _0x17f7db()),N(this,_0x3171ab(0x30e),this[_0x3171ab(0x1f8)]),N(this,_0x3171ab(0x3a7),new Map()),(this['_httpService']=_0x56c594,this[_0x3171ab(0x47e)]=_0x47731d,this[_0x3171ab(0x23f)]=_0x3c5036);}['setWaitCount'](_0x528b75){var _0xff0c98=_0x1ca31a;this[_0xff0c98(0x41a)]=_0x528b75,this[_0xff0c98(0x1f8)][_0xff0c98(0x46f)](_0x528b75);}[_0x1ca31a(0x476)](_0x254211,_0x55cdd5){var _0x47a705=_0x1ca31a;if(_0x55cdd5===_0x56a0ec[_0x47a705(0x41d)]){const _0x20acc4=new Image();return _0x20acc4[_0x47a705(0x2c3)]=_0x254211,_0x20acc4;}return this[_0x47a705(0x3a7)][_0x47a705(0x1d2)](_0x254211);}['addImageSourceCache'](_0x25a000,_0x11f9fb,_0x15537f){var _0x27f770=_0x1ca31a;_0x11f9fb===_0x56a0ec[_0x27f770(0x41d)]||_0x15537f==null||this['_imageSourceCache']['set'](_0x25a000,_0x15537f);}async[_0x1ca31a(0x227)](_0x47f301){var _0x3bdbc6=_0x1ca31a;try{const _0xf8feb8=this[_0x3bdbc6(0x23c)](this['_getSignURL'](),''+_0x47f301),_0x40c8f7=(await this[_0x3bdbc6(0x3dc)][_0x3bdbc6(0x1d2)](_0xf8feb8))[_0x3bdbc6(0x3fb)];if(_0x40c8f7['error']&&_0x40c8f7[_0x3bdbc6(0x2ea)]['code']===Si['OK']){const _0x258dd9=new URL(_0x40c8f7['url'],this[_0x3bdbc6(0x453)]())[_0x3bdbc6(0x48a)]();return Promise[_0x3bdbc6(0x416)](_0x258dd9);}return Promise[_0x3bdbc6(0x333)](_0x40c8f7['error']);}catch(_0x2cb805){return Promise[_0x3bdbc6(0x333)](_0x2cb805);}}async[_0x1ca31a(0x264)](_0x1f1d44){var _0x476d9d=_0x1ca31a;let _0x2be3d2='';if(!is[_0x476d9d(0x2ae)](_0x1f1d44['type']))return this[_0x476d9d(0x2c0)](),Promise[_0x476d9d(0x333)](new Error(_0x490e14[_0x476d9d(0x38f)]));if(_0x1f1d44[_0x476d9d(0x366)]>ns)return this['_decreaseWaiting'](),Promise[_0x476d9d(0x333)](new Error(_0x490e14[_0x476d9d(0x242)]));try{const _0x327892=new FormData();_0x327892[_0x476d9d(0x360)](_0x476d9d(0x383),_0x1f1d44);const _0x33b2e2=this['_univerInstanceService'][_0x476d9d(0x315)](),_0x189961=_0x33b2e2==null?void 0x0:_0x33b2e2['getUnitId']();if(!_0x189961)throw new Error(_0x476d9d(0x450));const _0x55b5cf=this['_getUploadFileURL']()+'?size='+_0x1f1d44[_0x476d9d(0x366)][_0x476d9d(0x48a)]()+_0x476d9d(0x3a1)+Ei[_0x476d9d(0x3af)]+_0x476d9d(0x37e)+encodeURIComponent(_0x189961),_0x3bb5dc=await(await fetch(_0x55b5cf,{'method':_0x476d9d(0x314),'body':_0x327892}))['json']();if(typeof _0x3bb5dc[_0x476d9d(0x3cd)]!=_0x476d9d(0x2d5))return this['_decreaseWaiting'](),Promise[_0x476d9d(0x333)](new Error(_0x490e14[_0x476d9d(0x394)]));_0x2be3d2=_0x3bb5dc[_0x476d9d(0x3cd)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x490e14[_0x476d9d(0x394)]));}return new Promise((_0x29e2dd,_0x58fc23)=>{var _0x500ee1=_0x476d9d;const _0x103730=new FileReader();_0x103730[_0x500ee1(0x2e0)](_0x1f1d44),_0x103730['onload']=_0x1a3d3b=>{var _0x370d83=_0x500ee1,_0x349507;const _0x3a2790=(_0x349507=_0x1a3d3b[_0x370d83(0x2f6)])==null?void 0x0:_0x349507[_0x370d83(0x1d7)];if(_0x3a2790==null){this[_0x370d83(0x2c0)](),_0x58fc23(new Error(_0x490e14[_0x370d83(0x394)]));return;}const _0x1fa274=_0x23f8db[_0x370d83(0x20c)](0x6);_0x29e2dd({'imageId':_0x1fa274,'imageSourceType':_0x56a0ec[_0x370d83(0x320)],'source':_0x2be3d2,'base64Cache':_0x3a2790,'status':_0x490e14[_0x370d83(0x1e7)]}),this[_0x370d83(0x2c0)]();};});}[_0x1ca31a(0x3f8)](){var _0x2d8c54=_0x1ca31a,_0x5b3bfe,_0x2fca16;const _0x1fe471=this['_configService'][_0x2d8c54(0x49f)](rs),_0x3c02e3=this[_0x2d8c54(0x47e)]['getConfig'](q);return(_0x2fca16=(_0x5b3bfe=_0x3c02e3==null?void 0x0:_0x3c02e3[_0x2d8c54(0x1e9)])!=null?_0x5b3bfe:_0x1fe471)!=null?_0x2fca16:ss;}[_0x1ca31a(0x374)](){var _0x58a75a=_0x1ca31a,_0xc972f9,_0x9fb882;const _0x13261b=this[_0x58a75a(0x47e)][_0x58a75a(0x49f)](as),_0x2409d4=this['_configService'][_0x58a75a(0x49f)](q);return(_0x9fb882=(_0xc972f9=_0x2409d4==null?void 0x0:_0x2409d4['signUrlServerUrl'])!=null?_0xc972f9:_0x13261b)!=null?_0x9fb882:os;}[_0x1ca31a(0x453)](){var _0x5d96aa=_0x1ca31a,_0xb3fc30;const _0x534e14=this[_0x5d96aa(0x47e)]['getConfig'](q);return(_0xb3fc30=_0x534e14==null?void 0x0:_0x534e14[_0x5d96aa(0x371)])!=null?_0xb3fc30:location['origin'];}[_0x1ca31a(0x23c)](_0x3e20e,_0x1b6cb3){return _0x3e20e['replace']('{fileID}',_0x1b6cb3);}[_0x1ca31a(0x2c0)](){var _0x448484=_0x1ca31a;this[_0x448484(0x41a)]-=0x1,this[_0x448484(0x1f8)][_0x448484(0x46f)](this[_0x448484(0x41a)]);}};yt=ts([gt(0x0,_0x279201(_0x196a2c)),gt(0x1,_0x15ab28),gt(0x2,_0x279201(_0x5086cb))],yt);var cs=Object[_0x1ca31a(0x459)],hs=(_0x147735,_0xce91fd,_0x3008e9,_0x18ce8b)=>{var _0x21a229=_0x1ca31a;for(var _0x676c39=_0x18ce8b>0x1?void 0x0:_0x18ce8b?cs(_0xce91fd,_0x3008e9):_0xce91fd,_0x41d42a=_0x147735[_0x21a229(0x272)]-0x1,_0x1c6df7;_0x41d42a>=0x0;_0x41d42a--)(_0x1c6df7=_0x147735[_0x41d42a])&&(_0x676c39=_0x1c6df7(_0x676c39)||_0x676c39);return _0x676c39;},hi=(_0x762f1b,_0x5c0e86)=>(_0x2ea2cf,_0x39d9b5)=>_0x5c0e86(_0x2ea2cf,_0x39d9b5,_0x762f1b);const _s=_0x1ca31a(0x25e);let Ot=class{constructor(_0x37e20b,_0x239312){var _0x1983cb=_0x1ca31a;this[_0x1983cb(0x47e)]=_0x37e20b,this[_0x1983cb(0x28a)]=_0x239312;}[_0x1ca31a(0x495)](){var _0xe24b9e=_0x1ca31a,_0x4380ed,_0x1c7081;const _0x3eb2d4=this[_0xe24b9e(0x47e)][_0xe24b9e(0x49f)](Ni),_0x41816c=this[_0xe24b9e(0x47e)][_0xe24b9e(0x49f)](q);return(_0x1c7081=(_0x4380ed=_0x41816c==null?void 0x0:_0x41816c[_0xe24b9e(0x3ce)])!=null?_0x4380ed:_0x3eb2d4)!=null?_0x1c7081:_s;}async[_0x1ca31a(0x1f4)](_0x3c581a){var _0x2f2e87=_0x1ca31a;const _0x5f2625=this['_getAPIPrefixPath']()+_0x2f2e87(0x40f);return{'list':[{'title':_0x2f2e87(0x25b),'mentions':(await this[_0x2f2e87(0x28a)][_0x2f2e87(0x1d2)](_0x5f2625,{'params':{'objectID':_0x3c581a[_0x2f2e87(0x48d)],'unitID':_0x3c581a[_0x2f2e87(0x48d)]}}))[_0x2f2e87(0x3fb)][_0x2f2e87(0x230)][_0x2f2e87(0x284)](_0x27f56d=>({'objectId':_0x27f56d['id'],'name':_0x27f56d['subject'][_0x2f2e87(0x487)],'metadata':{'icon':_0x27f56d[_0x2f2e87(0x46c)][_0x2f2e87(0x2b3)]},'label':_0x27f56d[_0x2f2e87(0x46c)][_0x2f2e87(0x487)],'objectType':_0x1a2a6d[_0x2f2e87(0x4bf)]})),'metadata':{},'type':_0x1a2a6d[_0x2f2e87(0x4bf)]}]};}};Ot=hs([hi(0x0,_0x279201(_0x15ab28)),hi(0x1,_0x279201(_0x196a2c))],Ot);var ls=Object[_0x1ca31a(0x459)],us=(_0x575f05,_0x58c139,_0x4c66f0,_0x30c3e6)=>{var _0x5ead50=_0x1ca31a;for(var _0x32b5a7=_0x30c3e6>0x1?void 0x0:_0x30c3e6?ls(_0x58c139,_0x4c66f0):_0x58c139,_0x5e729a=_0x575f05[_0x5ead50(0x272)]-0x1,_0xb5daa5;_0x5e729a>=0x0;_0x5e729a--)(_0xb5daa5=_0x575f05[_0x5e729a])&&(_0x32b5a7=_0xb5daa5(_0x32b5a7)||_0x32b5a7);return _0x32b5a7;},Ae=(_0x34d8e8,_0x39c112)=>(_0x20dfe6,_0x30dd29)=>_0x39c112(_0x20dfe6,_0x30dd29,_0x34d8e8);let ot=class extends _0x149fed{constructor(_0x5b1b3a,_0x2c3073,_0x2bd128,_0x53764c,_0x31868a){var _0x46d955=_0x1ca31a;super(),this[_0x46d955(0x2d8)]=_0x5b1b3a,this['_univerInstanceService']=_0x2c3073,this[_0x46d955(0x334)]=_0x2bd128,this[_0x46d955(0x499)]=_0x53764c,this[_0x46d955(0x331)]=_0x31868a,this[_0x46d955(0x313)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x493653=_0x1ca31a;const _0x1027e7=async _0x28cbab=>{var _0x285d7b=_0xab3c;(await this[_0x285d7b(0x499)]['requireSession'](_0x28cbab))[_0x285d7b(0x443)][_0x285d7b(0x21b)](_0x3e6a5f(_0x2b72c7=>_0x2b72c7[_0x285d7b(0x277)]===_0x35ad24['SHOULD_CLOSE_CONN']),_0x499019(this[_0x285d7b(0x3e4)]))[_0x285d7b(0x29d)](_0x59175c=>{var _0x31a632=_0x285d7b;const _0x56c667=_0x59175c,{reason:_0x44656f}=_0x56c667[_0x31a632(0x3b2)];this[_0x31a632(0x331)][_0x31a632(0x338)]({'id':se[_0x31a632(0x2e6)],'data':_0x44656f}),this[_0x31a632(0x334)][_0x31a632(0x2c1)](new _0x121da6(_0x28cbab)['id'],!0x1),this[_0x31a632(0x499)]['closeSession'](_0x28cbab);});};_0x845fb5(this['_univerInstanceService'][_0x493653(0x3c8)](_0x2f61ed[_0x493653(0x2c8)]),this['_univerInstanceService'][_0x493653(0x3c8)](_0x2f61ed['UNIVER_DOC']))[_0x493653(0x21b)](_0xcc06fc(_0x5f091e=>_0x5f091e[_0x493653(0x3b1)]()),_0x3e6a5f(_0x5acc95=>!_0x1caaae(_0x5acc95)),_0x499019(this[_0x493653(0x3e4)]))[_0x493653(0x29d)](_0x75482a=>{_0x1027e7(_0x75482a);});}[_0x1ca31a(0x313)](){var _0x50a227=_0x1ca31a;const _0x25ba2a=async _0x55dec8=>{var _0x49910f=_0xab3c;const _0x585765=await this['_collaborationSessionService']['requireSession'](_0x55dec8),_0x174189=this[_0x49910f(0x2d8)][_0x49910f(0x1d2)](_0x2506b0);_0x585765['event$'][_0x49910f(0x21b)](_0x3e6a5f(_0x138b25=>_0x138b25[_0x49910f(0x277)]===_0x35ad24[_0x49910f(0x3ab)]),_0x499019(this[_0x49910f(0x3e4)]))[_0x49910f(0x29d)](_0x34a835=>{var _0x4ef15c=_0x49910f;const _0x499954=_0x34a835,{objectId:_0x4b4be2}=_0x499954[_0x4ef15c(0x3b2)];_0x4b4be2===_0x55dec8?_0x174189[_0x4ef15c(0x2e9)](_0x55dec8):_0x174189[_0x4ef15c(0x4ab)](_0x55dec8,_0x4b4be2);});};_0x845fb5(this['_univerInstanceService'][_0x50a227(0x3c8)](_0x2f61ed[_0x50a227(0x2c8)]))[_0x50a227(0x21b)](_0xcc06fc(_0x32ce26=>_0x32ce26[_0x50a227(0x3b1)]()),_0x3e6a5f(_0x3c044e=>!_0x1caaae(_0x3c044e)),_0x499019(this['dispose$']))[_0x50a227(0x29d)](_0xa7f741=>{_0x25ba2a(_0xa7f741);});}};ot=us([Ae(0x0,_0x279201(_0x14bd7a)),Ae(0x1,_0x5086cb),Ae(0x2,_0x5e29c1),Ae(0x3,_0x279201(Le)),Ae(0x4,_0x279201(pe))],ot);var ds=Object[_0x1ca31a(0x459)],fs=(_0x3d97fc,_0x1a93d2,_0x5a9c4f,_0x533417)=>{var _0x178c22=_0x1ca31a;for(var _0x419e33=_0x533417>0x1?void 0x0:_0x533417?ds(_0x1a93d2,_0x5a9c4f):_0x1a93d2,_0x8a45ac=_0x3d97fc[_0x178c22(0x272)]-0x1,_0x106a7f;_0x8a45ac>=0x0;_0x8a45ac--)(_0x106a7f=_0x3d97fc[_0x8a45ac])&&(_0x419e33=_0x106a7f(_0x419e33)||_0x419e33);return _0x419e33;},_i=(_0x13c8ca,_0x1d966d)=>(_0x230d96,_0x4e4c15)=>_0x1d966d(_0x230d96,_0x4e4c15,_0x13c8ca);let Nt=class{constructor(_0x5bf162,_0x44ec06){var _0x4395d4=_0x1ca31a;this[_0x4395d4(0x47e)]=_0x5bf162,this['_httpService']=_0x44ec06;}async[_0x1ca31a(0x1d6)](_0x4022a3,_0x12b73b){var _0x525be2=_0x1ca31a,_0x3406d5;const {unitID:_0x3fdf52,type:_0x3e3c16,revision:_0x39fdbd=0x0}=_0x12b73b,_0x196c6e=this[_0x525be2(0x4b4)]()+'/'+_0x3e3c16+_0x525be2(0x4b2)+_0x3fdf52+_0x525be2(0x42f)+_0x39fdbd,_0x4fd30e=(await this[_0x525be2(0x3dc)][_0x525be2(0x1d2)](_0x196c6e))[_0x525be2(0x3fb)],_0x2a814f=(_0x3406d5=_0x4fd30e[_0x525be2(0x28f)])==null?void 0x0:_0x3406d5[_0x525be2(0x2a3)];if(_0x2a814f){const _0x352b82=_0x2a814f==null?void 0x0:_0x2a814f[_0x525be2(0x248)],_0x216c3a=_0x1f3953[_0x525be2(0x390)](_0x5575ef(_0x352b82));_0x2a814f['originalMeta']=_0x216c3a,Object['entries'](_0x2a814f[_0x525be2(0x2f2)])['forEach'](([,_0x4be84b])=>{var _0x19deb1=_0x525be2;const _0x10b792=_0x4be84b[_0x19deb1(0x248)],_0x34d91f=_0x1f3953['encode'](_0x5575ef(_0x10b792));_0x4be84b[_0x19deb1(0x248)]=_0x34d91f;});}return _0x4fd30e;}async[_0x1ca31a(0x2fe)](_0x19ccb6,_0x3c6f8d){var _0x3971a9=_0x1ca31a;const {unitID:_0x5c5227,type:_0x1ff70d,blockID:_0xb38ffe}=_0x3c6f8d,_0x4c93a1=this[_0x3971a9(0x2e8)]()+'/'+_0x1ff70d+_0x3971a9(0x4b2)+_0x5c5227+_0x3971a9(0x327)+_0xb38ffe;return(await this['_httpService'][_0x3971a9(0x1d2)](_0x4c93a1))['body'];}async[_0x1ca31a(0x25f)](_0x11a471,_0x604e9){var _0x317a89=_0x1ca31a;const {unitID:_0x2ea4b2,type:_0x383996,blockID:_0x525767}=_0x604e9,_0x6e5bc9=this[_0x317a89(0x2e8)]()+'/block/'+_0x383996+_0x317a89(0x4b2)+_0x2ea4b2+_0x317a89(0x327)+_0x525767;return(await this[_0x317a89(0x3dc)][_0x317a89(0x1d2)](_0x6e5bc9))[_0x317a89(0x3fb)];}async[_0x1ca31a(0x42a)](_0x280713,_0x43019f){var _0x428be5=_0x1ca31a;const {unitID:_0x3dbc57,type:_0x4333f9,from:_0x134856,to:_0x398c0a}=_0x43019f,_0x49be33=this[_0x428be5(0x2e8)]()+'/'+_0x4333f9+_0x428be5(0x4b2)+_0x3dbc57+_0x428be5(0x1cf)+_0x134856+_0x428be5(0x31a)+_0x398c0a;return(await this[_0x428be5(0x3dc)][_0x428be5(0x1d2)](_0x49be33))[_0x428be5(0x3fb)];}[_0x1ca31a(0x4b4)](){var _0x482502=_0x1ca31a,_0x42b17a;return(_0x42b17a=this[_0x482502(0x47e)][_0x482502(0x49f)](Sn))!=null?_0x42b17a:this[_0x482502(0x2e8)]();}[_0x1ca31a(0x2e8)](){var _0x3dbe40=_0x1ca31a,_0x4fbf,_0x24f8f6;const _0x1ab8f7=this[_0x3dbe40(0x47e)][_0x3dbe40(0x49f)](mn),_0x734b45=this[_0x3dbe40(0x47e)][_0x3dbe40(0x49f)](q);return(_0x24f8f6=(_0x4fbf=_0x734b45==null?void 0x0:_0x734b45[_0x3dbe40(0x3e5)])!=null?_0x4fbf:_0x1ab8f7)!=null?_0x24f8f6:gn;}async[_0x1ca31a(0x307)](_0x2d76fb,_0x400de3){var _0x1ad7e6=_0x1ca31a;const _0x520e34='/universer-api/snapshot/'+_0x400de3[_0x1ad7e6(0x409)]+_0x1ad7e6(0x4b2)+_0x400de3['unitID']+_0x1ad7e6(0x2f5);return(await this[_0x1ad7e6(0x3dc)][_0x1ad7e6(0x1d2)](_0x520e34,{'params':{'resourceId':JSON[_0x1ad7e6(0x4b5)](_0x400de3['resourceIDs'])}}))[_0x1ad7e6(0x3fb)];}[_0x1ca31a(0x3aa)](){var _0x57e5db=_0x1ca31a;throw new Error(_0x57e5db(0x39f));}['saveSheetBlock'](){var _0x40a08c=_0x1ca31a;throw new Error(_0x40a08c(0x39f));}[_0x1ca31a(0x2e7)](){var _0x2cd23a=_0x1ca31a;throw new Error(_0x2cd23a(0x39f));}[_0x1ca31a(0x47c)](){var _0x13b030=_0x1ca31a;throw new Error(_0x13b030(0x39f));}[_0x1ca31a(0x210)](){var _0x51ba0e=_0x1ca31a;throw new Error(_0x51ba0e(0x39f));}};Nt=fs([_i(0x0,_0x15ab28),_i(0x1,_0x279201(_0x196a2c))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x5d6b77,_0x53beba,_0x3891cb,_0x5bfb5e)=>{var _0x134afb=_0x1ca31a;for(var _0x5614fd=_0x5bfb5e>0x1?void 0x0:_0x5bfb5e?vs(_0x53beba,_0x3891cb):_0x53beba,_0x46befa=_0x5d6b77[_0x134afb(0x272)]-0x1,_0x4129b6;_0x46befa>=0x0;_0x46befa--)(_0x4129b6=_0x5d6b77[_0x46befa])&&(_0x5614fd=_0x4129b6(_0x5614fd)||_0x5614fd);return _0x5614fd;},Pe=(_0x166215,_0x334ee6)=>(_0x329a8b,_0x53dc77)=>_0x334ee6(_0x329a8b,_0x53dc77,_0x166215);let Dt=class extends _0x49e52a{constructor(_0x1ef308,_0x86a89c,_0x4e4383,_0x1a9290,_0x4579fb){var _0x3b3dae=_0x1ca31a;super(_0x1ef308,_0x86a89c,_0x4e4383),this[_0x3b3dae(0x2d0)]=_0x1a9290,this['_logService']=_0x4579fb;}[_0x1ca31a(0x26b)](_0x2bf562,_0x5c3e5f){var _0xa4e231=_0x1ca31a;const _0x14b753=this[_0xa4e231(0x41e)](_0x2bf562);if(_0x14b753)try{const _0x9fca12=this['_transformStack'](_0x14b753,_0x5c3e5f);this[_0xa4e231(0x407)](_0x2bf562,_0x9fca12);}catch(_0x267fee){this[_0xa4e231(0x2a2)][_0xa4e231(0x2ea)](_0xa4e231(0x1fd),_0x267fee),this[_0xa4e231(0x45e)](_0x2bf562);}const _0x2c6c77=this['_getRedoStack'](_0x2bf562);if(_0x2c6c77)try{const _0x31d8b4=this['_transformStack'](_0x2c6c77,_0x5c3e5f);this[_0xa4e231(0x205)](_0x2bf562,_0x31d8b4);}catch(_0x4136e1){this[_0xa4e231(0x2a2)][_0xa4e231(0x2ea)](_0x4136e1),this[_0xa4e231(0x31e)](_0x2bf562);}}[_0x1ca31a(0x45e)](_0x7ff81c){var _0x3a17ca=_0x1ca31a;const _0x1bd4cf=this[_0x3a17ca(0x41e)](_0x7ff81c);_0x1bd4cf&&(_0x1bd4cf[_0x3a17ca(0x272)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x12f5bd){var _0x23853a=_0x1ca31a;const _0x4e2c17=this['_getRedoStack'](_0x12f5bd);_0x4e2c17&&(_0x4e2c17[_0x23853a(0x272)]=0x0,this[_0x23853a(0x35f)]());}[_0x1ca31a(0x407)](_0x3edb2d,_0x413250){var _0x4a14f2=_0x1ca31a;this[_0x4a14f2(0x392)][_0x4a14f2(0x319)](_0x3edb2d,_0x413250),this[_0x4a14f2(0x35f)]();}[_0x1ca31a(0x205)](_0x1c962d,_0x1cf476){var _0xed04e=_0x1ca31a;this['_redoStacks'][_0xed04e(0x319)](_0x1c962d,_0x1cf476),this['_updateStatus']();}[_0x1ca31a(0x265)](_0xb7c7aa,_0x7e52ff){var _0x1c0db5=_0x1ca31a;const _0x20bdd4=[];let _0x233dc0=_0x7e52ff,_0x10553a=_0x7e52ff;for(let _0x964082=_0xb7c7aa[_0x1c0db5(0x272)]-0x1;_0x964082>=0x0;_0x964082--){const {unitID:_0x156855,undoMutations:_0x26647b,redoMutations:_0x5cc977}=_0xb7c7aa[_0x964082],_0x544ec4=this['_transformService'][_0x1c0db5(0x2ad)](_0x233dc0,_0x26647b),_0x4f1c18=this[_0x1c0db5(0x2d0)][_0x1c0db5(0x2ad)](_0x10553a,_0x5cc977);if(_0x3926fb(_0x544ec4)||_0x3926fb(_0x4f1c18)){this[_0x1c0db5(0x2a2)][_0x1c0db5(0x2ea)]('[CollaborationUndoRedoService]',_0x1c0db5(0x1e2),_0x544ec4,_0x4f1c18);break;}_0x233dc0=_0x544ec4[_0x1c0db5(0x322)],_0x10553a=_0x4f1c18['c1Prime'],_0x20bdd4['push']({'unitID':_0x156855,'undoMutations':_0x544ec4[_0x1c0db5(0x329)],'redoMutations':_0x4f1c18[_0x1c0db5(0x329)]});}return _0x20bdd4['reverse']();}};Dt=ps([Pe(0x0,_0x5086cb),Pe(0x1,_0x2dccf5),Pe(0x2,_0x5794f8),Pe(0x3,_0x2b2951),Pe(0x4,_0xb82841)],Dt);var ms=Object[_0x1ca31a(0x263)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x2e3449,_0x5c8d54,_0x3bc210)=>_0x5c8d54 in _0x2e3449?ms(_0x2e3449,_0x5c8d54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bc210}):_0x2e3449[_0x5c8d54]=_0x3bc210,Es=(_0x2ea484,_0x39d4fd,_0x2f8eb8,_0x359895)=>{var _0x2ff00a=_0x1ca31a;for(var _0x39afea=_0x359895>0x1?void 0x0:_0x359895?gs(_0x39d4fd,_0x2f8eb8):_0x39d4fd,_0x40a8f5=_0x2ea484[_0x2ff00a(0x272)]-0x1,_0x99904b;_0x40a8f5>=0x0;_0x40a8f5--)(_0x99904b=_0x2ea484[_0x40a8f5])&&(_0x39afea=_0x99904b(_0x39afea)||_0x39afea);return _0x39afea;},St=(_0x2edf74,_0x2cc1fc)=>(_0x2d5a8c,_0x3121c0)=>_0x2cc1fc(_0x2d5a8c,_0x3121c0,_0x2edf74),Is=(_0x86412b,_0x19bee8,_0x4c4c71)=>Ss(_0x86412b,_0x19bee8+'',_0x4c4c71);const Ts=_0x1ca31a(0x214);let Ut=class extends _0x2c03c2{constructor(_0x5c1e61,_0x1786da,_0x14e332,_0x4c59c2){var _0x2e6b94=_0x1ca31a;super(),N(this,_0x2e6b94(0x38e)),(this[_0x2e6b94(0x2a2)]=_0x1786da,this['_injector']=_0x14e332,this[_0x2e6b94(0x47e)]=_0x4c59c2);const {..._0x3a1144}=_0x39c878({},An,_0x5c1e61);if(!_0x3a1144['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e6b94(0x38e)]=_0x3a1144,this['_configService'][_0x2e6b94(0x382)](q,_0x3a1144);}['onStarting'](){var _0x341373=_0x1ca31a;this[_0x341373(0x410)](),this['_initDependencies']();}[_0x1ca31a(0x410)](){var _0x417d5a=_0x1ca31a,_0x41e80d,_0x2d8909;this[_0x417d5a(0x2d8)][_0x417d5a(0x2f1)](_0x171cee)&&this[_0x417d5a(0x2a2)][_0x417d5a(0x2ea)](_0x417d5a(0x346),_0x417d5a(0x28b));const _0x11c34d=_0x108435([[_0x171cee,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x417d5a(0x38e)]['socketService']}],[_0x218e63,{'useClass':Nt}],[_0x358198,{'useClass':Rt}],[_0x5a0e48,{'useClass':yt}],[_0x53a8e6,{'useClass':Ot}],[rt],[Ct]],(_0x41e80d=this[_0x417d5a(0x38e)])==null?void 0x0:_0x41e80d[_0x417d5a(0x2cd)]);if(!((_0x2d8909=this[_0x417d5a(0x38e)])!=null&&_0x2d8909[_0x417d5a(0x27c)])){const _0x1d902c=_0x11c34d[_0x417d5a(0x298)](([_0x386a94])=>_0x386a94===ht);_0x1d902c!==-0x1&&_0x11c34d['splice'](_0x1d902c,0x1);}_0xaf9b84(this[_0x417d5a(0x2d8)],_0x11c34d);}[_0x1ca31a(0x323)](){var _0x245091=_0x1ca31a,_0x429059,_0x2c2d24,_0x32a71f;this[_0x245091(0x2d8)]['get'](_0x196a2c)[_0x245091(0x3c7)]({'priority':0x14,'interceptor':_0x5f272f({'maxParallel':0x6})}),(_0x429059=this['_config'])!=null&&_0x429059[_0x245091(0x233)]||(_0x2c2d24=this['_injector'][_0x245091(0x1d2)](J,_0x204aec[_0x245091(0x44f)]))==null||_0x2c2d24['disableLocalCache'](),(_0x32a71f=this['_config'])!=null&&_0x32a71f[_0x245091(0x48e)]&&_0x138dff(this[_0x245091(0x2d8)],[[st]]),_0x138dff(this[_0x245091(0x2d8)],[[at],[rt],[ot]]);}};Is(Ut,_0x1ca31a(0x4b8),Ts),Ut=Es([_0x1e6322(_0xd222c6,_0x455717),St(0x1,_0xb82841),St(0x2,_0x279201(_0x14bd7a)),St(0x3,_0x15ab28)],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};
|