@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-d1f1879 → 0.6.7-experimental.20250331-1a09136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x7a64ab=_0x5205;(function(_0xb6f0ea,_0x383fb4){var _0x529546=_0x5205,_0x516e49=_0xb6f0ea();while(!![]){try{var _0x478cb0=parseInt(_0x529546(0x20d))/0x1+-parseInt(_0x529546(0x2b0))/0x2*(-parseInt(_0x529546(0x308))/0x3)+-parseInt(_0x529546(0x22f))/0x4+-parseInt(_0x529546(0x2c6))/0x5+-parseInt(_0x529546(0x41d))/0x6+parseInt(_0x529546(0x321))/0x7+parseInt(_0x529546(0x1df))/0x8*(parseInt(_0x529546(0x386))/0x9);if(_0x478cb0===_0x383fb4)break;else _0x516e49['push'](_0x516e49['shift']());}catch(_0x57a03e){_0x516e49['push'](_0x516e49['shift']());}}}(_0x27f5,0xa639f));var Ai=Object[_0x7a64ab(0x324)],Pi=(_0xa861f6,_0x5e79eb,_0x4fe1f0)=>_0x5e79eb in _0xa861f6?Ai(_0xa861f6,_0x5e79eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe1f0}):_0xa861f6[_0x5e79eb]=_0x4fe1f0,N=(_0x4d9233,_0x1306f9,_0x3a0eeb)=>Pi(_0x4d9233,typeof _0x1306f9!='symbol'?_0x1306f9+'':_0x1306f9,_0x3a0eeb);import{createIdentifier as _0x4bad4a,Inject as _0x2d7d4c,Injector as _0x135851,IConfigService as _0x5ce478,ILogService as _0x32ff17,Disposable as _0xc1fe79,DisposableCollection as _0x5b9edf,toDisposable as _0x2b08c3,IUniverInstanceService as _0xf65701,UserManagerService as _0x4fc8f7,UniverInstanceType as _0x4ed2ec,LocaleService as _0x229d1b,Optional as _0x104c75,RxDisposable as _0x33b33a,Tools as _0x21640e,Rectangle as _0x158b68,ICommandService as _0x6cb33f,JSONX as _0x176654,CommandType as _0x20785a,IUndoRedoService as _0x4ba99b,IPermissionService as _0x4d17f9,sequenceExecute as _0x57d964,Workbook as _0x25e0ae,MentionType as _0xbed3,isInternalEditorID as _0x29aab7,LocalUndoRedoService as _0x45fd7c,IContextService as _0x146dcf,DependentOn as _0x14e8c6,Plugin as _0x265206,merge as _0x19c621,mergeOverrideWithDependencies as _0x461d92,IAuthzIoService as _0xb0d16c,IMentionIOService as _0x5604e3,registerDependencies as _0x35b425,Quantity as _0x5847c1,touchDependencies as _0x53c435}from'@univerjs/core';import{Subject as _0x218c1f,merge as _0x949e09,of as _0x22c400,BehaviorSubject as _0x26007b,takeUntil as _0xee9ecd,ReplaySubject as _0x2b004e,take as _0xb8df33,map as _0x2db3ab,shareReplay as _0x15bfba,firstValueFrom as _0x4eea1f,concatMap as _0x583162}from'rxjs';import{map as _0x18def8,take as _0x425d88,filter as _0x18e19e,delay as _0x36eff6,takeUntil as _0x2af4a1}from'rxjs/operators';import{CollaborationEvent as _0x2331db,ISnapshotServerService as _0x13ca45,parseChangesetToProtocol as _0x175095,ITransformService as _0x173ba8,isTransformMutationsWithChangesetSuccess as _0x2ed178,mapDocumentTypeToUniverType as _0x49e306,RevisionService as _0x7ae9da,isTransformChangesetsSuccess as _0x483429,CompressMutationService as _0x44d124,parseProtocolChangeset as _0x1b792d,SnapshotService as _0x2cc028,textEncoder as _0x37df26,b64DecodeUnicode as _0x8320f5,isTransformMutationsWithChangesetFailure as _0xe4ecdd,UniverCollaborationPlugin as _0x3799b5}from'@univerjs-pro/collaboration';import{HTTPService as _0x3f3bac,ISocketService as _0x28ecd7,MergeInterceptorFactory as _0xb96c7a,HTTPRequest as _0x27c4d2,UniverNetworkPlugin as _0x3afc3d,ThresholdInterceptorFactory as _0x489c38}from'@univerjs/network';import{ITelemetryService as _0x3636ae}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4d58d8}from'@univerjs/docs';import{SheetsSelectionsService as _0x902cfe,SetSelectionsOperation as _0x174595,InsertSheetMutation as _0x33cd40,EmptyMutation as _0x211044,WorkbookEditablePermission as _0x4c9e1f,SheetPermissionInitController as _0x131dcd}from'@univerjs/sheets';import{ImageSourceType as _0x371f76,ImageUploadStatusType as _0x5063b3,IImageIoService as _0x21a573}from'@univerjs/drawing';import{getGlobalObject as _0x14e7f0}from'@univerjs-pro/license';const mn=_0x7a64ab(0x3bb),gn=_0x7a64ab(0x4c2),Sn=_0x7a64ab(0x2c0),xs=_0x7a64ab(0x3fe),En=0x7d0,In=_0x7a64ab(0x260),Tn=_0x7a64ab(0x419),Ls=_0x7a64ab(0x28b),Cn=_0x7a64ab(0x264),Rn=0x7530,mi=_0x7a64ab(0x339),gi=0x4e20,bn=0x4e20,yn=_0x7a64ab(0x478),On=0x3,Ms=_0x7a64ab(0x2db),ks=0x3e8,Nn=_0x7a64ab(0x2b1),Dn='/universer-api/comb',Un=_0x7a64ab(0x451),wn='/universer-api/oidc/authpage',$s=_0x7a64ab(0x391),Hs='/universer-api/uniscript';var Si=(_0x3383e8=>(_0x3383e8[_0x3383e8[_0x7a64ab(0x1dd)]=0x0]='UNDEFINED',_0x3383e8[_0x3383e8['OK']=0x1]='OK',_0x3383e8[_0x3383e8['INTERNAL_ERROR']=0x2]=_0x7a64ab(0x3a3),_0x3383e8[_0x3383e8[_0x7a64ab(0x2bf)]=0x3]=_0x7a64ab(0x2bf),_0x3383e8[_0x3383e8[_0x7a64ab(0x3f0)]=0x4]=_0x7a64ab(0x3f0),_0x3383e8[_0x3383e8[_0x7a64ab(0x275)]=0x5]=_0x7a64ab(0x275),_0x3383e8[_0x3383e8[_0x7a64ab(0x368)]=0x6]='ALREADY_EXISTS',_0x3383e8[_0x3383e8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3383e8[_0x3383e8[_0x7a64ab(0x3f9)]=0x8]=_0x7a64ab(0x3f9),_0x3383e8[_0x3383e8[_0x7a64ab(0x27e)]=0x9]=_0x7a64ab(0x27e),_0x3383e8[_0x3383e8[_0x7a64ab(0x4b5)]=0xa]=_0x7a64ab(0x4b5),_0x3383e8[_0x3383e8[_0x7a64ab(0x409)]=0x1389]=_0x7a64ab(0x409),_0x3383e8[_0x3383e8[_0x7a64ab(0x376)]=0x1771]=_0x7a64ab(0x376),_0x3383e8[_0x3383e8[_0x7a64ab(0x46f)]=0x1772]=_0x7a64ab(0x46f),_0x3383e8[_0x3383e8[_0x7a64ab(0x49d)]=0x1773]=_0x7a64ab(0x49d),_0x3383e8[_0x3383e8['APPLY_REJECT']=0x1b59]=_0x7a64ab(0x489),_0x3383e8[_0x3383e8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3383e8[_0x3383e8[_0x7a64ab(0x246)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3383e8[_0x3383e8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x7a64ab(0x3ad),_0x3383e8[_0x3383e8[_0x7a64ab(0x36f)]=0x1b5d]=_0x7a64ab(0x36f),_0x3383e8[_0x3383e8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x7a64ab(0x25e),_0x3383e8[_0x3383e8[_0x7a64ab(0x232)]=0x2329]=_0x7a64ab(0x232),_0x3383e8[_0x3383e8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3383e8[_0x3383e8[_0x7a64ab(0x477)]=0x232b]=_0x7a64ab(0x477),_0x3383e8[_0x3383e8[_0x7a64ab(0x265)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3383e8[_0x3383e8[_0x7a64ab(0x1f7)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3383e8[_0x3383e8[_0x7a64ab(0x441)]=0x2711]=_0x7a64ab(0x441),_0x3383e8[_0x3383e8[_0x7a64ab(0x3d9)]=0x2712]=_0x7a64ab(0x3d9),_0x3383e8[_0x3383e8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x7a64ab(0x414),_0x3383e8[_0x3383e8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x7a64ab(0x35e),_0x3383e8[_0x3383e8[_0x7a64ab(0x4bf)]=0x2af9]=_0x7a64ab(0x4bf),_0x3383e8[_0x3383e8[_0x7a64ab(0x243)]=0x2ee1]=_0x7a64ab(0x243),_0x3383e8[_0x3383e8[_0x7a64ab(0x39a)]=0x2ee2]=_0x7a64ab(0x39a),_0x3383e8[_0x3383e8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x7a64ab(0x37f),_0x3383e8[_0x3383e8[_0x7a64ab(0x31b)]=0x2ee4]=_0x7a64ab(0x31b),_0x3383e8[_0x3383e8[_0x7a64ab(0x455)]=0x2ee5]=_0x7a64ab(0x455),_0x3383e8[_0x3383e8['UNRECOGNIZED']=-0x1]=_0x7a64ab(0x3f6),_0x3383e8))(Si||{}),Q=(_0x5e55e0=>(_0x5e55e0[_0x5e55e0[_0x7a64ab(0x236)]=0x0]=_0x7a64ab(0x236),_0x5e55e0[_0x5e55e0['UNIVER_DOC']=0x1]=_0x7a64ab(0x258),_0x5e55e0[_0x5e55e0['UNIVER_SHEET']=0x2]=_0x7a64ab(0x239),_0x5e55e0[_0x5e55e0[_0x7a64ab(0x2c8)]=0x3]='UNIVER_SLIDE',_0x5e55e0[_0x5e55e0['UNIVER_PROJECT']=0x4]=_0x7a64ab(0x252),_0x5e55e0[_0x5e55e0['UNRECOGNIZED']=-0x1]=_0x7a64ab(0x3f6),_0x5e55e0))(Q||{}),F=(_0xeb4626=>(_0xeb4626[_0xeb4626['UNKNOWN_CMD']=0x0]=_0x7a64ab(0x34c),_0xeb4626[_0xeb4626[_0x7a64ab(0x346)]=0x1]=_0x7a64ab(0x346),_0xeb4626[_0xeb4626[_0x7a64ab(0x49a)]=0x2]=_0x7a64ab(0x49a),_0xeb4626[_0xeb4626[_0x7a64ab(0x44a)]=0x3]=_0x7a64ab(0x44a),_0xeb4626[_0xeb4626[_0x7a64ab(0x2f9)]=0x4]=_0x7a64ab(0x2f9),_0xeb4626[_0xeb4626[_0x7a64ab(0x245)]=0x5]=_0x7a64ab(0x245),_0xeb4626[_0xeb4626['RECV']=0x6]=_0x7a64ab(0x266),_0xeb4626[_0xeb4626['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xeb4626))(F||{}),ge=(_0x4cd09d=>(_0x4cd09d[_0x4cd09d[_0x7a64ab(0x3bf)]=0x0]=_0x7a64ab(0x3bf),_0x4cd09d[_0x4cd09d['OK']=0x1]='OK',_0x4cd09d[_0x4cd09d[_0x7a64ab(0x4d8)]=0x2]='FAIL',_0x4cd09d[_0x4cd09d['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4cd09d[_0x4cd09d['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4cd09d[_0x4cd09d[_0x7a64ab(0x408)]=0x3eb]=_0x7a64ab(0x408),_0x4cd09d[_0x4cd09d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x7a64ab(0x40b),_0x4cd09d[_0x4cd09d[_0x7a64ab(0x3f6)]=-0x1]=_0x7a64ab(0x3f6),_0x4cd09d))(ge||{}),Ei=(_0x35fa71=>(_0x35fa71[_0x35fa71[_0x7a64ab(0x34e)]=0x0]=_0x7a64ab(0x34e),_0x35fa71[_0x35fa71[_0x7a64ab(0x201)]=0x1]=_0x7a64ab(0x201),_0x35fa71[_0x35fa71[_0x7a64ab(0x241)]=0x2]=_0x7a64ab(0x241),_0x35fa71[_0x35fa71[_0x7a64ab(0x4bb)]=0x3]=_0x7a64ab(0x4bb),_0x35fa71[_0x35fa71['UnitSnapshot']=0x4]=_0x7a64ab(0x41a),_0x35fa71[_0x35fa71['UNRECOGNIZED']=-0x1]=_0x7a64ab(0x3f6),_0x35fa71))(Ei||{});const q=_0x7a64ab(0x2f7),An={};var se=(_0x51656f=>(_0x51656f[_0x7a64ab(0x460)]=_0x7a64ab(0x460),_0x51656f[_0x7a64ab(0x2bf)]='PERMISSION_DENIED',_0x51656f[_0x7a64ab(0x340)]=_0x7a64ab(0x340),_0x51656f[_0x7a64ab(0x2f0)]='CLOSE_ROOM',_0x51656f[_0x7a64ab(0x426)]=_0x7a64ab(0x426),_0x51656f['SOCKET_FAILED_RETRY']=_0x7a64ab(0x2b7),_0x51656f[_0x7a64ab(0x4a8)]=_0x7a64ab(0x4a8),_0x51656f['SUBMIT_CHANGESET_TIMEOUT']=_0x7a64ab(0x2b3),_0x51656f))(se||{});class pe{constructor(){var _0x4f52d8=_0x7a64ab;N(this,_0x4f52d8(0x3eb),new _0x218c1f()),N(this,_0x4f52d8(0x1e7),this['_event$'][_0x4f52d8(0x310)]());}[_0x7a64ab(0x2d7)](_0x5bf505){var _0x5d6980=_0x7a64ab;this['_event$'][_0x5d6980(0x4c3)](_0x5bf505);}}const Pn=_0x4bad4a('univer-pro.collaboration-client.network-condition.service');function xn(_0x3129a8){var _0x484261=_0x7a64ab,_0x1cbe66,_0x59356c,_0x1189c,_0x5054fd,_0x4d0896;const _0x550dd1=_0x3129a8['data'],_0x132b10=JSON[_0x484261(0x4ca)](_0x550dd1);switch(_0x132b10[_0x484261(0x316)]){case F[_0x484261(0x245)]:case F[_0x484261(0x346)]:{const _0x9dbf73=_0x132b10[_0x484261(0x25c)];return{..._0x132b10,'data':_0x9dbf73,'cmd':_0x132b10['cmd']};}case F[_0x484261(0x49a)]:{const _0x51f4f5=_0x132b10[_0x484261(0x28a)];return{..._0x132b10,'data':_0x51f4f5,'cmd':_0x132b10[_0x484261(0x316)]};}case F[_0x484261(0x266)]:{const _0x4e4144=_0x132b10[_0x484261(0x47d)];switch(_0x4e4144[_0x484261(0x1f5)]){case _0x2331db[_0x484261(0x404)]:return{..._0x132b10,'data':{..._0x4e4144,'data':(_0x1cbe66=_0x4e4144[_0x484261(0x29a)])==null?void 0x0:_0x1cbe66['cs']},'cmd':_0x132b10['cmd']};case _0x2331db[_0x484261(0x312)]:return{..._0x132b10,'data':{..._0x4e4144,'data':(_0x59356c=_0x4e4144['csAckEvent'])==null?void 0x0:_0x59356c['cs']},'cmd':_0x132b10['cmd']};case _0x2331db[_0x484261(0x23c)]:return{..._0x132b10,'data':{..._0x4e4144,'data':(_0x1189c=_0x4e4144[_0x484261(0x1fe)])==null?void 0x0:_0x1189c['cs']},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x3b9)]:return{..._0x132b10,'data':{..._0x4e4144,'data':(_0x5054fd=_0x4e4144[_0x484261(0x2ea)])==null?void 0x0:_0x5054fd['cs']},'cmd':_0x132b10['cmd']};case _0x2331db[_0x484261(0x349)]:return{..._0x132b10,'data':{..._0x4e4144,'data':(_0x4d0896=_0x4e4144[_0x484261(0x459)])==null?void 0x0:_0x4d0896['cs']},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x3d3)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144['updateCursorEvent']},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db['USERS_ENTER']:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x1d9)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db['USERS_LEAVE']:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x382)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x2d6)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x326)]},'cmd':_0x132b10['cmd']};case _0x2331db['LIVESHARE_FETCH_OPERATIONS']:case _0x2331db[_0x484261(0x20e)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x362)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x257)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x326)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x1e1)]:return{..._0x132b10,'data':_0x4e4144,'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x32d)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x25f)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x354)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x44b)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db['SHOULD_CLOSE_CONN']:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144[_0x484261(0x1f9)]},'cmd':_0x132b10[_0x484261(0x316)]};case _0x2331db[_0x484261(0x207)]:return{..._0x132b10,'data':{..._0x4e4144,'data':_0x4e4144['uniscriptRunEvent']},'cmd':_0x132b10[_0x484261(0x316)]};default:return _0x132b10;}}default:return _0x132b10;}}function Ln(_0x4017fe){var _0x1b66be=_0x7a64ab;switch(_0x4017fe[_0x1b66be(0x316)]){case F[_0x1b66be(0x245)]:case F[_0x1b66be(0x346)]:return JSON[_0x1b66be(0x433)]({'cmd':_0x4017fe[_0x1b66be(0x316)],'routeKey':_0x4017fe[_0x1b66be(0x2e1)]});case F[_0x1b66be(0x2f9)]:{let _0x15fd4d;switch(_0x4017fe['data'][_0x1b66be(0x1f5)]){case _0x2331db[_0x1b66be(0x3d3)]:{_0x15fd4d={'eventID':_0x2331db['UPDATE_CURSOR'],'updateCursorEvent':_0x4017fe[_0x1b66be(0x36e)]['data']};break;}case _0x2331db[_0x1b66be(0x3c7)]:{_0x15fd4d={'eventID':_0x2331db[_0x1b66be(0x3c7)],'leaveEvent':_0x4017fe['data']['data']};break;}case _0x2331db[_0x1b66be(0x27a)]:{_0x15fd4d={'eventID':_0x2331db['USERS_ENTER'],'joinEvent':_0x4017fe[_0x1b66be(0x36e)][_0x1b66be(0x36e)]};break;}case _0x2331db[_0x1b66be(0x2d6)]:{_0x15fd4d={'eventID':_0x2331db[_0x1b66be(0x2d6)],'liveShareNewHost':_0x4017fe[_0x1b66be(0x36e)]['data']};break;}case _0x2331db[_0x1b66be(0x20e)]:{_0x15fd4d={'eventID':_0x2331db[_0x1b66be(0x20e)],'liveShareOperation':_0x4017fe[_0x1b66be(0x36e)][_0x1b66be(0x36e)]};break;}case _0x2331db[_0x1b66be(0x257)]:{_0x15fd4d={'eventID':_0x2331db['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4017fe['data'][_0x1b66be(0x36e)]};break;}case _0x2331db[_0x1b66be(0x4c1)]:{_0x15fd4d={'eventID':_0x2331db['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x4017fe[_0x1b66be(0x36e)]['data']};break;}case _0x2331db[_0x1b66be(0x306)]:{_0x15fd4d={'eventID':_0x2331db['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x15fd4d={'eventID':_0x4017fe[_0x1b66be(0x36e)][_0x1b66be(0x1f5)]};}return JSON['stringify']({'cmd':_0x4017fe['cmd'],'routeKey':_0x4017fe[_0x1b66be(0x2e1)],'collaMsg':_0x15fd4d});}case F[_0x1b66be(0x49a)]:return JSON[_0x1b66be(0x433)]({'cmd':_0x4017fe[_0x1b66be(0x316)],'routeKey':_0x4017fe['routeKey'],'joinReq':_0x4017fe[_0x1b66be(0x36e)]});case F[_0x1b66be(0x44a)]:return JSON[_0x1b66be(0x433)]({'cmd':_0x4017fe[_0x1b66be(0x316)],'routeKey':_0x4017fe[_0x1b66be(0x2e1)],'leaveReq':_0x4017fe[_0x1b66be(0x36e)]});default:throw new Error(_0x1b66be(0x3f5));}}var Mn=Object[_0x7a64ab(0x374)],kn=(_0x1a6170,_0xaacf22,_0x50f491,_0x2ab611)=>{var _0x279b7f=_0x7a64ab;for(var _0x11044c=_0x2ab611>0x1?void 0x0:_0x2ab611?Mn(_0xaacf22,_0x50f491):_0xaacf22,_0x1cd71e=_0x1a6170[_0x279b7f(0x2a4)]-0x1,_0x53cb8b;_0x1cd71e>=0x0;_0x1cd71e--)(_0x53cb8b=_0x1a6170[_0x1cd71e])&&(_0x11044c=_0x53cb8b(_0x11044c)||_0x11044c);return _0x11044c;},we=(_0x5f26ca,_0x15f882)=>(_0x466264,_0x3abd30)=>_0x15f882(_0x466264,_0x3abd30,_0x5f26ca);const Ii=_0x4bad4a('univer-pro.collaboration-client-socket-service');function $n(_0x27ec9c,_0x40141e,_0x43957f){var _0x3806fe=_0x7a64ab;return _0x27ec9c+'/'+_0x40141e+_0x3806fe(0x294)+_0x43957f+_0x3806fe(0x330);}let Gt=class extends _0xc1fe79{constructor(_0x4c484b,_0x336adb,_0x34112b,_0x377538,_0x1300c6){var _0x3b70aa=_0x7a64ab;super(),this[_0x3b70aa(0x2bd)]=_0x4c484b,this[_0x3b70aa(0x4c9)]=_0x336adb,this[_0x3b70aa(0x417)]=_0x34112b,this['_logService']=_0x377538,this['_snapshotServerService']=_0x1300c6;}[_0x7a64ab(0x34f)](_0x4f5dc3){var _0xb35656=_0x7a64ab;const _0x2a6d52=this[_0xb35656(0x2bd)][_0xb35656(0x2f1)](_0x28ecd7);if(!_0x2a6d52)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4df1b9=_0x2a6d52['createSocket'](_0x4f5dc3);if(!_0x4df1b9)throw new Error(_0xb35656(0x383));const _0x5f25eb=new _0x5b9edf(),_0x52df4f=new _0x218c1f();_0x5f25eb[_0xb35656(0x495)](_0x4df1b9[_0xb35656(0x3b3)][_0xb35656(0x2cc)](_0xc4c1b7=>_0x52df4f['next'](_0xc4c1b7))),_0x5f25eb['add'](_0x2b08c3(()=>_0x52df4f[_0xb35656(0x2df)]()));const _0x4de682=new _0x218c1f();_0x5f25eb[_0xb35656(0x495)](_0x4df1b9[_0xb35656(0x2a6)]['subscribe'](_0x25d2e8=>_0x4de682[_0xb35656(0x4c3)](_0x25d2e8))),_0x5f25eb['add'](_0x2b08c3(()=>_0x4de682[_0xb35656(0x2df)]()));const _0x271d17=new _0x218c1f();_0x5f25eb[_0xb35656(0x495)](_0x4df1b9['message$'][_0xb35656(0x2cc)](_0x360c65=>{var _0x5c26e0=_0xb35656;const _0x4a2ba7=xn(_0x360c65);_0x271d17[_0x5c26e0(0x4c3)](_0x4a2ba7);})),_0x5f25eb[_0xb35656(0x495)](_0x2b08c3(()=>_0x271d17[_0xb35656(0x2df)]()));let _0x1294bc;const _0x153082=()=>{var _0x33563d=_0xb35656;_0x4de682['next'](new Event(_0x33563d(0x3ec))),_0x52df4f[_0x33563d(0x4c3)](new Event('connection\x20error')),_0x1294bc[_0x33563d(0x440)]();};return _0x1294bc={'memberID':'','close$':_0x52df4f['asObservable'](),'error$':_0x4de682[_0xb35656(0x310)](),'open$':_0x4df1b9['open$'],'message$':_0x271d17['asObservable'](),'send':_0x1ace98=>{var _0x2614e0=_0xb35656;if(_0x1ace98[_0x2614e0(0x316)]===F[_0x2614e0(0x2f9)]){if(_0x1ace98[_0x2614e0(0x36e)][_0x2614e0(0x1f5)]===_0x2331db[_0x2614e0(0x302)]){this['_submitChangeset'](_0x1294bc,_0x1ace98['data'])[_0x2614e0(0x2fc)](_0x5325ea=>{var _0x3a3fc5=_0x2614e0;this[_0x3a3fc5(0x485)]['error'](_0x5325ea),_0x153082();});return;}if(_0x1ace98[_0x2614e0(0x36e)][_0x2614e0(0x1f5)]===_0x2331db[_0x2614e0(0x2d5)]){const _0x3b83b9=_0x1ace98[_0x2614e0(0x36e)];this[_0x2614e0(0x38d)](_0x3b83b9)['then'](_0x173036=>{var _0x31be6e=_0x2614e0;_0x271d17[_0x31be6e(0x4c3)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x3b83b9['data']['unitID'],'routeType':'','data':{'eventID':_0x2331db[_0x31be6e(0x3a1)],'data':{'changesets':_0x173036}}});})['catch'](_0x589a85=>{var _0x1456c8=_0x2614e0;this[_0x1456c8(0x485)][_0x1456c8(0x3e9)](_0x589a85),_0x153082();});return;}}_0x4df1b9[_0x2614e0(0x490)](Ln(_0x1ace98));},'close':()=>{var _0x49de25=_0xb35656;_0x4df1b9[_0x49de25(0x440)](),_0x5f25eb[_0x49de25(0x301)]();}},_0x1294bc;}async[_0x7a64ab(0x410)](_0x1f6638,_0x4f251f){var _0x6c5104=_0x7a64ab,_0x438080,_0x54d264;const {unitType:_0x45983a,unitID:_0x8a060d,changeset:_0x47d1ae}=_0x4f251f[_0x6c5104(0x36e)],_0x5b266b={'unitID':_0x8a060d,'memberID':_0x1f6638[_0x6c5104(0x395)],'type':_0x45983a,'changeset':_0x175095(_0x47d1ae)},_0x5157ce=this[_0x6c5104(0x417)]['getConfig'](Nn),_0x4e248a=this[_0x6c5104(0x417)][_0x6c5104(0x366)](q),_0x3ee87f=$n((_0x54d264=(_0x438080=_0x4e248a==null?void 0x0:_0x4e248a[_0x6c5104(0x47a)])!=null?_0x438080:_0x5157ce)!=null?_0x54d264:Dn,_0x45983a,_0x8a060d);try{await this[_0x6c5104(0x4c9)][_0x6c5104(0x358)](_0x3ee87f,{'body':_0x5b266b});}catch(_0x1784e6){throw this[_0x6c5104(0x485)]['error'](_0x6c5104(0x43e),'submit\x20changeset\x20error!'),_0x1784e6;}}async[_0x7a64ab(0x38d)](_0xddb118){var _0x24e830=_0x7a64ab;const {unitID:_0x5c96e0,from:_0x2c49f3,to:_0x3f3385,unitType:_0x181577}=_0xddb118[_0x24e830(0x36e)];return(await this['_snapshotServerService'][_0x24e830(0x420)]({'metadata':void 0x0},{'unitID':_0x5c96e0,'type':_0x181577,'from':_0x2c49f3,'to':_0x3f3385}))[_0x24e830(0x364)];}};Gt=kn([we(0x0,_0x2d7d4c(_0x135851)),we(0x1,_0x2d7d4c(_0x3f3bac)),we(0x2,_0x5ce478),we(0x3,_0x32ff17),we(0x4,_0x13ca45)],Gt);const Hn=_0x7a64ab(0x472);function Bn(_0x37b356){var _0x51a2f4=_0x7a64ab;return JSON[_0x51a2f4(0x433)](_0x37b356)[_0x51a2f4(0x2a4)];}class Ti{constructor(){var _0x2c418c=_0x7a64ab;N(this,'_commentUpdate$',new _0x218c1f()),N(this,_0x2c418c(0x416),this[_0x2c418c(0x469)][_0x2c418c(0x310)]());}['onCommentUpdate'](_0x1e808a){var _0x26721b=_0x7a64ab;this['_commentUpdate$'][_0x26721b(0x4c3)](_0x1e808a);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x579231,_0x4ff386,_0x2d605a,_0x27b1f9)=>{var _0x518bb5=_0x7a64ab;for(var _0x17dc5a=_0x27b1f9>0x1?void 0x0:_0x27b1f9?jn(_0x4ff386,_0x2d605a):_0x4ff386,_0x41e169=_0x579231[_0x518bb5(0x2a4)]-0x1,_0x49abfe;_0x41e169>=0x0;_0x41e169--)(_0x49abfe=_0x579231[_0x41e169])&&(_0x17dc5a=_0x49abfe(_0x17dc5a)||_0x17dc5a);return _0x17dc5a;},Wt=(_0x53a04a,_0x3a82d5)=>(_0x2d9bac,_0x30c417)=>_0x3a82d5(_0x2d9bac,_0x30c417,_0x53a04a);let xe=class extends _0xc1fe79{constructor(_0x3eb966,_0x2b10b9){var _0x4b2bdf=_0x7a64ab;super(),N(this,_0x4b2bdf(0x3df),new Map()),N(this,_0x4b2bdf(0x2c4),new _0x218c1f()),(this['_univerInstanceService']=_0x3eb966,this['_userManagerService']=_0x2b10b9,this['disposeWithMe'](_0x949e09(this[_0x4b2bdf(0x40f)][_0x4b2bdf(0x2ad)](_0x4ed2ec[_0x4b2bdf(0x239)])[_0x4b2bdf(0x348)](_0x18def8(_0x25bfcc=>_0x25bfcc['getUnitId']())),this[_0x4b2bdf(0x40f)][_0x4b2bdf(0x2ad)](_0x4ed2ec['UNIVER_DOC'])[_0x4b2bdf(0x348)](_0x18def8(_0x2cd464=>_0x2cd464[_0x4b2bdf(0x461)]())),this['_univerInstanceService'][_0x4b2bdf(0x2ad)](_0x4ed2ec[_0x4b2bdf(0x2c8)])[_0x4b2bdf(0x348)](_0x18def8(_0x2aa051=>_0x2aa051[_0x4b2bdf(0x461)]())))['subscribe'](_0x34d748=>this[_0x4b2bdf(0x41b)](_0x34d748))));}['waitForRoom$'](_0x4dbf6a){var _0x3e56e4=_0x7a64ab;return this[_0x3e56e4(0x3df)][_0x3e56e4(0x262)](_0x4dbf6a)?_0x22c400(this[_0x3e56e4(0x3df)][_0x3e56e4(0x2f1)](_0x4dbf6a)):this[_0x3e56e4(0x2c4)][_0x3e56e4(0x348)](_0x18def8(_0x5c4550=>{var _0x129a95=_0x3e56e4;if(_0x5c4550===_0x4dbf6a)return this[_0x129a95(0x3df)]['get'](_0x5c4550);}));}[_0x7a64ab(0x4aa)](_0x5a691f){var _0x374b8c=_0x7a64ab;this['_userManagerService'][_0x374b8c(0x4aa)](_0x5a691f);}[_0x7a64ab(0x3af)](){var _0x50f57a=_0x7a64ab;return this[_0x50f57a(0x318)][_0x50f57a(0x3af)]();}[_0x7a64ab(0x25d)](_0x3d2464,_0x3c7bb6){var _0x3adabc=_0x7a64ab;let _0x1493da=this['_roomMembers'][_0x3adabc(0x2f1)](_0x3d2464);_0x1493da||(_0x1493da=new Vn(),this[_0x3adabc(0x3df)][_0x3adabc(0x20b)](_0x3d2464,_0x1493da),this[_0x3adabc(0x2c4)][_0x3adabc(0x4c3)](_0x3d2464)),_0x1493da['updateMember'](_0x3c7bb6);}[_0x7a64ab(0x38a)](_0x2ab18c,_0x315b06){var _0x3c4c08=_0x7a64ab;const _0x1350a5=this[_0x3c4c08(0x3df)][_0x3c4c08(0x2f1)](_0x2ab18c);_0x1350a5&&_0x1350a5['removeMember'](_0x315b06);}[_0x7a64ab(0x475)](_0x3a0a34){var _0x2cb042=_0x7a64ab;return this[_0x2cb042(0x3df)]['get'](_0x3a0a34);}['getMember'](_0x1880ee,_0x129138){var _0x2e8c83=_0x7a64ab;const _0xf6d933=this['_roomMembers'][_0x2e8c83(0x2f1)](_0x1880ee);if(_0xf6d933)return _0xf6d933[_0x2e8c83(0x40c)](_0x129138);}[_0x7a64ab(0x41b)](_0x2065c6){var _0x269f40=_0x7a64ab;const _0xa13c49=this[_0x269f40(0x3df)][_0x269f40(0x2f1)](_0x2065c6);_0xa13c49&&(_0xa13c49['dispose'](),this['_roomMembers'][_0x269f40(0x202)](_0x2065c6));}[_0x7a64ab(0x301)](){var _0x5c431b=_0x7a64ab;this[_0x5c431b(0x3df)]['forEach'](_0x34f2a5=>_0x34f2a5[_0x5c431b(0x301)]()),this[_0x5c431b(0x3df)][_0x5c431b(0x3a7)](),this['_roomCreated$'][_0x5c431b(0x2df)]();}};xe=Fn([Wt(0x0,_0xf65701),Wt(0x1,_0x2d7d4c(_0x4fc8f7))],xe);class Vn extends _0xc1fe79{constructor(){var _0x17fd83=_0x7a64ab;super(...arguments),N(this,'_members',new Map()),N(this,_0x17fd83(0x4be),new _0x26007b(this['_members'])),N(this,_0x17fd83(0x1f2),this[_0x17fd83(0x4be)][_0x17fd83(0x310)]());}[_0x7a64ab(0x301)](){var _0x3995c4=_0x7a64ab;this[_0x3995c4(0x2d0)]['clear']();}[_0x7a64ab(0x25d)](_0x5806a5){var _0x33ed16=_0x7a64ab;this['_members'][_0x33ed16(0x20b)](_0x5806a5[_0x33ed16(0x395)],_0x5806a5),this['_emitMembers']();}[_0x7a64ab(0x38a)](_0xdbe109){var _0x3b0f3f=_0x7a64ab;this[_0x3b0f3f(0x2d0)][_0x3b0f3f(0x202)](_0xdbe109);}[_0x7a64ab(0x40c)](_0x1c3ba4){var _0x46e617=_0x7a64ab;return this[_0x46e617(0x2d0)][_0x46e617(0x2f1)](_0x1c3ba4);}[_0x7a64ab(0x3f7)](){var _0x18a7c9=_0x7a64ab;return Array['from'](this['_members'][_0x18a7c9(0x230)]());}['_emitMembers'](){var _0xf94a63=_0x7a64ab;this['_members$'][_0xf94a63(0x4c3)](this[_0xf94a63(0x2d0)]);}}var Gn=Object[_0x7a64ab(0x374)],Wn=(_0x334a76,_0x5b3987,_0x1bbb36,_0x27301b)=>{var _0x5c085f=_0x7a64ab;for(var _0x4c471d=_0x27301b>0x1?void 0x0:_0x27301b?Gn(_0x5b3987,_0x1bbb36):_0x5b3987,_0x321534=_0x334a76[_0x5c085f(0x2a4)]-0x1,_0x531bd9;_0x321534>=0x0;_0x321534--)(_0x531bd9=_0x334a76[_0x321534])&&(_0x4c471d=_0x531bd9(_0x4c471d)||_0x4c471d);return _0x4c471d;},me=(_0xf18c22,_0x1dc599)=>(_0x562ab0,_0x294d4e)=>_0x1dc599(_0x562ab0,_0x294d4e,_0xf18c22),Ee=(_0x4b229e=>(_0x4b229e[_0x4b229e['IDLE']=0x0]=_0x7a64ab(0x2a8),_0x4b229e[_0x4b229e['JOINING']=0x1]=_0x7a64ab(0x2f4),_0x4b229e[_0x4b229e[_0x7a64ab(0x2af)]=0x2]=_0x7a64ab(0x2af),_0x4b229e[_0x4b229e[_0x7a64ab(0x32b)]=0x3]=_0x7a64ab(0x32b),_0x4b229e))(Ee||{});const Kt={[ge[_0x7a64ab(0x4d8)]]:_0x7a64ab(0x427),[ge[_0x7a64ab(0x4b1)]]:_0x7a64ab(0x33b),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x7a64ab(0x1fb),[ge[_0x7a64ab(0x408)]]:_0x7a64ab(0x4b6),[ge[_0x7a64ab(0x40b)]]:_0x7a64ab(0x2c3)};let Et=class extends _0x33b33a{constructor(_0x396208,_0x450194,_0x1652e7,_0x555919,_0x4faf31,_0x1506ac,_0x3e345b,_0x4f022c,_0x2538bd){var _0x2631bd=_0x7a64ab;super(),N(this,'_sessionStatus$',new _0x26007b(0x0)),N(this,_0x2631bd(0x45e),this[_0x2631bd(0x449)][_0x2631bd(0x310)]()),N(this,'_event$',new _0x218c1f()),N(this,_0x2631bd(0x1e7),this[_0x2631bd(0x3eb)][_0x2631bd(0x310)]()),N(this,_0x2631bd(0x474)),N(this,'_socketMessageSubscription'),N(this,_0x2631bd(0x375)),N(this,_0x2631bd(0x21c),!0x1),N(this,_0x2631bd(0x48e),null),(this[_0x2631bd(0x34b)]=_0x396208,this[_0x2631bd(0x485)]=_0x1652e7,this[_0x2631bd(0x417)]=_0x555919,this[_0x2631bd(0x256)]=_0x4faf31,this[_0x2631bd(0x200)]=_0x1506ac,this[_0x2631bd(0x1ee)]=_0x3e345b,this[_0x2631bd(0x287)]=_0x4f022c,this[_0x2631bd(0x491)]=_0x2538bd,this[_0x2631bd(0x21c)]=!!this[_0x2631bd(0x491)],_0x450194[_0x2631bd(0x348)](_0xee9ecd(this[_0x2631bd(0x351)]))['subscribe'](_0x18eaf3=>{var _0x2c66b6=_0x2631bd,_0x4af8e6;typeof _0x18eaf3>'u'||(this[_0x2c66b6(0x474)]=_0x18eaf3,_0x18eaf3?(this[_0x2c66b6(0x1f6)](_0x18eaf3),this[_0x2c66b6(0x2a9)]=_0x18eaf3[_0x2c66b6(0x442)][_0x2c66b6(0x2cc)](_0x307823=>{var _0x1d2c14=_0x2c66b6;_0x307823['routeKey']===this[_0x1d2c14(0x34b)]&&this[_0x1d2c14(0x219)](_0x307823);})):(this[_0x2c66b6(0x430)](),this['_sessionStatus$'][_0x2c66b6(0x4c3)](0x2),(_0x4af8e6=this['_socketMessageSubscription'])==null||_0x4af8e6[_0x2c66b6(0x2a7)](),this[_0x2c66b6(0x2a9)]=null));}));}get[_0x7a64ab(0x21a)](){return this['_sessionStatus$']['getValue']();}[_0x7a64ab(0x251)](){var _0x2a3f68=_0x7a64ab,_0xe1f18a,_0x249ad3;return(_0x249ad3=(_0xe1f18a=this[_0x2a3f68(0x474)])==null?void 0x0:_0xe1f18a[_0x2a3f68(0x395)])!=null?_0x249ad3:null;}['dispose'](){var _0x5c22be=_0x7a64ab;super[_0x5c22be(0x301)](),this['dispose$']['next'](),this[_0x5c22be(0x351)]['complete']();}['close'](){var _0x41ddc6=_0x7a64ab,_0xcd9cf8,_0xe104b5;this[_0x41ddc6(0x430)](),(_0xcd9cf8=this[_0x41ddc6(0x474)])==null||_0xcd9cf8['send']({'cmd':F[_0x41ddc6(0x44a)],'data':{'roomID':this[_0x41ddc6(0x34b)]}}),(_0xe104b5=this['_socket'])==null||_0xe104b5[_0x41ddc6(0x440)](),this[_0x41ddc6(0x3eb)][_0x41ddc6(0x2df)](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x38b1d2){var _0x136ce9=_0x7a64ab;_0x38b1d2[_0x136ce9(0x316)]===F[_0x136ce9(0x49a)]?this[_0x136ce9(0x31c)](_0x38b1d2):_0x38b1d2[_0x136ce9(0x316)]===F[_0x136ce9(0x266)]&&this[_0x136ce9(0x3cf)](_0x38b1d2);}['_joinRoom'](_0x1a44c6){var _0x2ceabc=_0x7a64ab;this[_0x2ceabc(0x449)]['next'](0x1),_0x1a44c6[_0x2ceabc(0x490)]({'cmd':F[_0x2ceabc(0x49a)],'routeKey':this[_0x2ceabc(0x34b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2ceabc(0x34b)]}]}});}[_0x7a64ab(0x31c)](_0x4fc636){var _0x194683=_0x7a64ab,_0x44af20;if(_0x4fc636[_0x194683(0x405)]in Kt){this[_0x194683(0x287)][_0x194683(0x2d7)]({'id':se[_0x194683(0x426)],'data':Kt[_0x4fc636[_0x194683(0x405)]]}),this[_0x194683(0x449)][_0x194683(0x4c3)](0x2);return;}this[_0x194683(0x449)][_0x194683(0x4c3)](0x3);const _0x51ec3d=(_0x44af20=_0x4fc636[_0x194683(0x36e)][_0x194683(0x3a4)][this[_0x194683(0x34b)]])==null?void 0x0:_0x44af20['members'];_0x51ec3d&&_0x51ec3d['forEach'](_0x3f48b0=>this['_memberService'][_0x194683(0x25d)](this[_0x194683(0x34b)],_0x3f48b0));}[_0x7a64ab(0x3cf)](_0x2cfd3f){var _0x4cb990=_0x7a64ab;try{const _0x2fda8f=_0x2cfd3f['data'];switch(_0x2fda8f[_0x4cb990(0x1f5)]){case _0x2331db[_0x4cb990(0x27a)]:this['_onUserJoin'](_0x2fda8f),this['_event$'][_0x4cb990(0x4c3)](_0x2fda8f);break;case _0x2331db['USERS_LEAVE']:this['_onUserLeave'](_0x2fda8f),this[_0x4cb990(0x3eb)][_0x4cb990(0x4c3)](_0x2fda8f);break;case _0x2331db[_0x4cb990(0x312)]:case _0x2331db[_0x4cb990(0x349)]:this[_0x4cb990(0x47f)](),this[_0x4cb990(0x36b)](),this[_0x4cb990(0x3eb)][_0x4cb990(0x4c3)](_0x2fda8f);break;case _0x2331db[_0x4cb990(0x1e1)]:this[_0x4cb990(0x485)][_0x4cb990(0x3e9)](_0x4cb990(0x325)+JSON[_0x4cb990(0x433)](_0x2fda8f)),this['_event$'][_0x4cb990(0x4c3)](_0x2fda8f);break;case _0x2331db[_0x4cb990(0x32d)]:this[_0x4cb990(0x1ee)][_0x4cb990(0x2a3)](_0x2fda8f[_0x4cb990(0x36e)]),this[_0x4cb990(0x3eb)]['next'](_0x2fda8f);break;default:this[_0x4cb990(0x3eb)][_0x4cb990(0x4c3)](_0x2fda8f);}}catch(_0x26c9a6){this[_0x4cb990(0x485)][_0x4cb990(0x3e9)](_0x26c9a6,_0x2cfd3f);}}[_0x7a64ab(0x480)](_0xd57b01){var _0x11c262=_0x7a64ab;this[_0x11c262(0x200)][_0x11c262(0x25d)](this['_unitID'],_0xd57b01[_0x11c262(0x36e)]);}[_0x7a64ab(0x304)](_0x12a893){var _0x1d4d8e=_0x7a64ab;this[_0x1d4d8e(0x200)][_0x1d4d8e(0x38a)](this['_unitID'],_0x12a893['data']['memberID']);}async['send'](_0x3ec97c,_0x42198e){var _0xe693d5=_0x7a64ab;if(this['sessionStatus']!==0x3||!this[_0xe693d5(0x474)])throw new Error(_0xe693d5(0x434));try{_0x3ec97c['eventID']===_0x2331db[_0xe693d5(0x302)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xe693d5(0x2f8)](_0x3ec97c)),this[_0xe693d5(0x474)][_0xe693d5(0x490)]({'cmd':F[_0xe693d5(0x2f9)],'routeKey':_0x42198e,'routeType':'','data':_0x3ec97c});}catch(_0x1fa65d){this['_logService'][_0xe693d5(0x3e9)](_0x1fa65d);}}[_0x7a64ab(0x2e6)](){var _0x49cede=_0x7a64ab,_0x38ed83;this[_0x49cede(0x375)]=setTimeout(()=>{var _0xfb5bb1=_0x49cede;this[_0xfb5bb1(0x375)]=null,this['_collaborationUIEventService'][_0xfb5bb1(0x2d7)]({'id':se[_0xfb5bb1(0x2b3)]});},(_0x38ed83=this[_0x49cede(0x417)][_0x49cede(0x366)](mi))!=null?_0x38ed83:gi);}[_0x7a64ab(0x36b)](){var _0x48c619=_0x7a64ab;this[_0x48c619(0x375)]&&(clearTimeout(this[_0x48c619(0x375)]),this['_collaborationTimeoutTimer']=null);}[_0x7a64ab(0x2f8)](_0x4b1008){var _0xde5c24=_0x7a64ab;if(!this['_shouldReportTelemetry'])return;const {data:_0x56213e}=_0x4b1008,{unitID:_0x29b09f,changeset:_0x34f59a}=_0x56213e,{mutations:_0x8b25a4,type:_0x224a7e}=_0x34f59a;this[_0xde5c24(0x48e)]={'unitId':_0x29b09f,'type':_0x224a7e,'startTime':performance[_0xde5c24(0x2d1)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x8b25a4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x36541c=_0x7a64ab;if(this[_0x36541c(0x21c)]){if(!this['_telemetryInfo']){this[_0x36541c(0x485)][_0x36541c(0x3e9)](_0x36541c(0x43e),_0x36541c(0x3c2));return;}this[_0x36541c(0x48e)]['stopTime']=performance['now'](),this[_0x36541c(0x48e)]['duration']=this[_0x36541c(0x48e)][_0x36541c(0x38c)]-this['_telemetryInfo'][_0x36541c(0x335)],this[_0x36541c(0x491)]['capture'](Hn,this['_telemetryInfo']),this[_0x36541c(0x48e)]=null;}}[_0x7a64ab(0x430)](){var _0x6dbc10=_0x7a64ab;this[_0x6dbc10(0x48e)]=null;}};Et=Wn([me(0x2,_0x32ff17),me(0x3,_0x5ce478),me(0x4,_0x2d7d4c(_0x229d1b)),me(0x5,_0x2d7d4c(xe)),me(0x6,_0x2d7d4c(Ti)),me(0x7,_0x2d7d4c(pe)),me(0x8,_0x104c75(_0x3636ae))],Et);var Kn=Object[_0x7a64ab(0x374)],Yn=(_0x1cacb1,_0x17cbc4,_0x539840,_0x22c204)=>{var _0x1ff525=_0x7a64ab;for(var _0xb2a24c=_0x22c204>0x1?void 0x0:_0x22c204?Kn(_0x17cbc4,_0x539840):_0x17cbc4,_0x3f9e28=_0x1cacb1[_0x1ff525(0x2a4)]-0x1,_0x4848b8;_0x3f9e28>=0x0;_0x3f9e28--)(_0x4848b8=_0x1cacb1[_0x3f9e28])&&(_0xb2a24c=_0x4848b8(_0xb2a24c)||_0xb2a24c);return _0xb2a24c;},be=(_0x1f2ace,_0x44efc5)=>(_0x152558,_0x2008c9)=>_0x44efc5(_0x152558,_0x2008c9,_0x1f2ace);let Le=class extends _0xc1fe79{constructor(_0x1beb34,_0x56b349,_0x38626b,_0xa33c1d,_0x52cddb,_0x1b39b9){var _0x5129a4=_0x7a64ab;super(),N(this,_0x5129a4(0x2b8),new _0x26007b(void 0x0)),N(this,'socket$',this['_socket$']['asObservable']()),N(this,_0x5129a4(0x35d),null),N(this,_0x5129a4(0x21f),new Map()),N(this,_0x5129a4(0x29c),new _0x26007b(Ee[_0x5129a4(0x2a8)])),N(this,'status$',this[_0x5129a4(0x29c)][_0x5129a4(0x310)]()),N(this,_0x5129a4(0x3fd),!0x1),N(this,_0x5129a4(0x2e8)),N(this,_0x5129a4(0x33e),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5129a4(0x329)),(this[_0x5129a4(0x2bd)]=_0x1beb34,this[_0x5129a4(0x485)]=_0x56b349,this[_0x5129a4(0x417)]=_0x38626b,this[_0x5129a4(0x1f8)]=_0xa33c1d,this[_0x5129a4(0x287)]=_0x52cddb,this['_networkConditionService']=_0x1b39b9,this[_0x5129a4(0x4cd)]());}get['_socket'](){var _0x1b3ee7=_0x7a64ab;return this['_socket$'][_0x1b3ee7(0x23f)]();}[_0x7a64ab(0x4cd)](){var _0x3680cc=_0x7a64ab;this[_0x3680cc(0x280)]&&this['disposeWithMe'](this['_networkConditionService']['online$'][_0x3680cc(0x2cc)](_0x47257d=>{var _0x3a4c5f=_0x3680cc;_0x47257d&&!this[_0x3a4c5f(0x474)]&&this['reconnect'](),_0x47257d||this[_0x3a4c5f(0x3b1)]();}));}[_0x7a64ab(0x301)](){var _0x47d7de=_0x7a64ab;super[_0x47d7de(0x301)](),this['_clearRetryConnectingTimer'](),this[_0x47d7de(0x49f)](),this[_0x47d7de(0x22d)](),this['_sessions'][_0x47d7de(0x424)](_0x1b4cb5=>_0x1b4cb5[_0x47d7de(0x301)]()),this[_0x47d7de(0x21f)][_0x47d7de(0x3a7)](),this[_0x47d7de(0x29c)][_0x47d7de(0x2df)]();}async['requireSession'](_0x387416){var _0x5b64d0=_0x7a64ab;if(this[_0x5b64d0(0x21f)][_0x5b64d0(0x262)](_0x387416))return this['_sessions'][_0x5b64d0(0x2f1)](_0x387416);this[_0x5b64d0(0x492)]();const _0x5ba488=this[_0x5b64d0(0x2bd)]['createInstance'](Et,_0x387416,this[_0x5b64d0(0x2b8)][_0x5b64d0(0x310)]());return this['_sessions'][_0x5b64d0(0x20b)](_0x387416,_0x5ba488),_0x5ba488;}[_0x7a64ab(0x37c)](_0x44033d){var _0x4a5db8=_0x7a64ab,_0x16492b;const _0x13a9cd=this[_0x4a5db8(0x21f)][_0x4a5db8(0x2f1)](_0x44033d);_0x13a9cd&&(this[_0x4a5db8(0x21f)][_0x4a5db8(0x202)](_0x44033d),_0x13a9cd[_0x4a5db8(0x440)]()),this['_sessions'][_0x4a5db8(0x3c8)]||(_0x16492b=this['_socket'])==null||_0x16492b[_0x4a5db8(0x440)]();}['reconnect'](){var _0x18c9f3=_0x7a64ab;this['_retryCount']=0x0,this[_0x18c9f3(0x24c)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x9e3c9=_0x7a64ab;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x9e3c9(0x2e8)]=null);}async[_0x7a64ab(0x261)](){var _0x344dfe=_0x7a64ab,_0x331204,_0x4cc253;const _0x277fa7=this[_0x344dfe(0x417)]['getConfig'](In),_0x4d2a6a=this[_0x344dfe(0x417)][_0x344dfe(0x366)](q),_0x1d1c63=(_0x4cc253=(_0x331204=_0x4d2a6a==null?void 0x0:_0x4d2a6a[_0x344dfe(0x26e)])!=null?_0x331204:_0x277fa7)!=null?_0x4cc253:Tn,_0xff6cfe=await this[_0x344dfe(0x1f8)][_0x344dfe(0x1e5)](_0x1d1c63);return this[_0x344dfe(0x35d)]=_0xff6cfe,_0xff6cfe;}async[_0x7a64ab(0x492)](){var _0x23344b=_0x7a64ab,_0x1ced1a,_0x31d3b3;try{const _0x7a3527=(_0x31d3b3=(_0x1ced1a=this[_0x23344b(0x474)])!=null?_0x1ced1a:this[_0x23344b(0x35d)])!=null?_0x31d3b3:await this[_0x23344b(0x261)]();if(_0x7a3527){const _0x127ef5=_0x7a3527['send'];_0x7a3527[_0x23344b(0x490)]=_0x2f9d82=>(this[_0x23344b(0x2d3)](),_0x127ef5[_0x23344b(0x3de)](_0x7a3527,[_0x2f9d82])),_0x7a3527['message$'][_0x23344b(0x2cc)](_0x1a2cd2=>this['_onMessage'](_0x7a3527,_0x1a2cd2)),_0x7a3527[_0x23344b(0x2a6)][_0x23344b(0x348)](_0x425d88(0x1))[_0x23344b(0x2cc)](_0x509646=>this[_0x23344b(0x485)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x509646)),_0x7a3527['open$']['pipe'](_0x425d88(0x1))[_0x23344b(0x2cc)](()=>{var _0x19d5f3=_0x23344b;this[_0x19d5f3(0x29b)](_0x7a3527);}),_0x7a3527[_0x23344b(0x3b3)][_0x23344b(0x348)](_0x425d88(0x1))[_0x23344b(0x2cc)](_0x4c6cee=>{var _0x1f6cf1=_0x23344b;this[_0x1f6cf1(0x485)][_0x1f6cf1(0x203)](_0x1f6cf1(0x3fb),_0x1f6cf1(0x2a0),_0x4c6cee),this[_0x1f6cf1(0x33c)]();});}}catch(_0x294daf){this[_0x23344b(0x485)][_0x23344b(0x3e9)](_0x294daf),this[_0x23344b(0x33c)]();}}[_0x7a64ab(0x29b)](_0x7cd6a6){var _0xac885d=_0x7a64ab;this['_logService']['debug'](_0xac885d(0x3fb),_0xac885d(0x33d)),_0x7cd6a6[_0xac885d(0x490)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x7a64ab(0x3b1)](){var _0xf312de=_0x7a64ab;this['_socketReady']=!0x1,this[_0xf312de(0x35d)]=null,this['_status$'][_0xf312de(0x4c3)](Ee[_0xf312de(0x2af)]),this[_0xf312de(0x2b8)]['next'](null),this[_0xf312de(0x49f)](),this['_clearHeartbeatTimer']();}[_0x7a64ab(0x33c)](){var _0xbaf222=_0x7a64ab,_0xc9857a;this[_0xbaf222(0x3b1)](),this[_0xbaf222(0x33e)]<((_0xc9857a=this[_0xbaf222(0x417)][_0xbaf222(0x366)](yn))!=null?_0xc9857a:On)?(this['_collaborationUIEventService'][_0xbaf222(0x2d7)]({'id':se[_0xbaf222(0x2b7)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0xbaf222(0x2d7)]({'id':se[_0xbaf222(0x4a8)]});}[_0x7a64ab(0x23e)](){var _0x3604a2=_0x7a64ab,_0x3a10c7;const _0x1c056d=this[_0x3604a2(0x33e)],_0x34c21b=this[_0x3604a2(0x417)][_0x3604a2(0x366)](q),_0x5c370f=_0x1c056d===0x0?0x0:((_0x3a10c7=_0x34c21b==null?void 0x0:_0x34c21b[_0x3604a2(0x378)])!=null?_0x3a10c7:bn)*0x2**_0x1c056d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x42f79b=_0x3604a2;clearTimeout(this[_0x42f79b(0x2e8)]),this[_0x42f79b(0x2e8)]=null,this[_0x42f79b(0x492)]();},_0x5c370f),this[_0x3604a2(0x33e)]+=0x1;}[_0x7a64ab(0x2d2)](_0x41aaf2,_0x31c20f){var _0x2d48d6=_0x7a64ab;const {cmd:_0x10a49d}=_0x31c20f;_0x10a49d===F[_0x2d48d6(0x346)]&&!this[_0x2d48d6(0x3fd)]&&(_0x41aaf2[_0x2d48d6(0x395)]=_0x31c20f['data']['memberID'],this[_0x2d48d6(0x2b8)]['next'](_0x41aaf2),this['_status$'][_0x2d48d6(0x4c3)](Ee[_0x2d48d6(0x32b)]),this[_0x2d48d6(0x3fd)]=!0x0,this[_0x2d48d6(0x35d)]=null),_0x10a49d===F['HEARTBEAT']&&this[_0x2d48d6(0x49f)](),this[_0x2d48d6(0x2d3)]();}['_rescheduleHeartbeat'](){var _0x3d9da3=_0x7a64ab,_0x2b1f03;this['_clearHeartbeatTimer'](),this[_0x3d9da3(0x3c6)]=setTimeout(()=>this[_0x3d9da3(0x48c)](),(_0x2b1f03=this[_0x3d9da3(0x417)][_0x3d9da3(0x366)](Cn))!=null?_0x2b1f03:Rn);}[_0x7a64ab(0x48c)](){var _0x237c81=_0x7a64ab;this[_0x237c81(0x474)][_0x237c81(0x490)]({'cmd':F[_0x237c81(0x245)]}),this[_0x237c81(0x1eb)]();}['_waitForHeartbeatResponse'](){var _0x2a6de4=_0x7a64ab,_0x3b9653;this['_timeoutTimer']=setTimeout(()=>this[_0x2a6de4(0x33c)](),(_0x3b9653=this[_0x2a6de4(0x417)][_0x2a6de4(0x366)](mi))!=null?_0x3b9653:gi);}[_0x7a64ab(0x22d)](){var _0x830f16=_0x7a64ab;this[_0x830f16(0x3c6)]!=null&&(clearTimeout(this[_0x830f16(0x3c6)]),this[_0x830f16(0x3c6)]=null);}[_0x7a64ab(0x49f)](){var _0x381d87=_0x7a64ab;this[_0x381d87(0x329)]!=null&&(clearTimeout(this[_0x381d87(0x329)]),this[_0x381d87(0x329)]=null);}};Le=Yn([be(0x0,_0x2d7d4c(_0x135851)),be(0x1,_0x32ff17),be(0x2,_0x5ce478),be(0x3,Ii),be(0x4,_0x2d7d4c(pe)),be(0x5,_0x104c75(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x7a64ab(0x452)]((t+0x100)[_0x7a64ab(0x44c)](0x10)[_0x7a64ab(0x214)](0x1));function qn(_0x1b6969,_0x2066cd=0x0){return(V[_0x1b6969[_0x2066cd+0x0]]+V[_0x1b6969[_0x2066cd+0x1]]+V[_0x1b6969[_0x2066cd+0x2]]+V[_0x1b6969[_0x2066cd+0x3]]+'-'+V[_0x1b6969[_0x2066cd+0x4]]+V[_0x1b6969[_0x2066cd+0x5]]+'-'+V[_0x1b6969[_0x2066cd+0x6]]+V[_0x1b6969[_0x2066cd+0x7]]+'-'+V[_0x1b6969[_0x2066cd+0x8]]+V[_0x1b6969[_0x2066cd+0x9]]+'-'+V[_0x1b6969[_0x2066cd+0xa]]+V[_0x1b6969[_0x2066cd+0xb]]+V[_0x1b6969[_0x2066cd+0xc]]+V[_0x1b6969[_0x2066cd+0xd]]+V[_0x1b6969[_0x2066cd+0xe]]+V[_0x1b6969[_0x2066cd+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x809332=_0x7a64ab;if(!ut){if(typeof crypto>'u'||!crypto[_0x809332(0x21b)])throw new Error(_0x809332(0x357));ut=crypto[_0x809332(0x21b)][_0x809332(0x473)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x7a64ab(0x341)]&&crypto[_0x7a64ab(0x341)][_0x7a64ab(0x473)](crypto),Yt={'randomUUID':Xn};function Zn(_0x260d6e,_0x44514e,_0x1b6582){var _0x27a80b=_0x7a64ab,_0xa0bab7,_0x5bf9d4,_0x53c54c;if(Yt[_0x27a80b(0x341)]&&!_0x260d6e)return Yt[_0x27a80b(0x341)]();_0x260d6e=_0x260d6e||{};const _0x33980c=(_0x53c54c=(_0x5bf9d4=_0x260d6e[_0x27a80b(0x281)])!=null?_0x5bf9d4:(_0xa0bab7=_0x260d6e[_0x27a80b(0x2fa)])==null?void 0x0:_0xa0bab7[_0x27a80b(0x31a)](_0x260d6e))!=null?_0x53c54c:Jn();if(_0x33980c[_0x27a80b(0x2a4)]<0x10)throw new Error(_0x27a80b(0x42d));return _0x33980c[0x6]=_0x33980c[0x6]&0xf|0x40,_0x33980c[0x8]=_0x33980c[0x8]&0x3f|0x80,qn(_0x33980c);}const J=_0x4bad4a('collaboration-client.local-cache-service');function Bs(_0x5ee988){var _0x5ec8fa=_0x7a64ab;return _0x5ec8fa(0x242)+_0x5ee988;}var Qn=Object['getOwnPropertyDescriptor'],er=(_0x1cec89,_0x5658aa,_0x1830db,_0x159ae2)=>{var _0x39e293=_0x7a64ab;for(var _0x43cb05=_0x159ae2>0x1?void 0x0:_0x159ae2?Qn(_0x5658aa,_0x1830db):_0x5658aa,_0x2831a7=_0x1cec89[_0x39e293(0x2a4)]-0x1,_0x616e8c;_0x2831a7>=0x0;_0x2831a7--)(_0x616e8c=_0x1cec89[_0x2831a7])&&(_0x43cb05=_0x616e8c(_0x43cb05)||_0x43cb05);return _0x43cb05;},dt=(_0x10cad0,_0x370b77)=>(_0x58ecde,_0x4cda34)=>_0x370b77(_0x58ecde,_0x4cda34,_0x10cad0);function tr(_0x748f40){var _0x19ef81=_0x7a64ab;const {unitID:_0x56bb07,mutations:_0x4cd423}=_0x748f40;return{'unitId':_0x56bb07,'subUnitId':_0x4cd423[0x0][_0x19ef81(0x2b2)]['subUnitId']};}let it=class{constructor(_0x311560,_0x1f962c,_0x49b143){var _0x23c5dc=_0x7a64ab;this[_0x23c5dc(0x2bd)]=_0x311560,this[_0x23c5dc(0x4b2)]=_0x1f962c,this[_0x23c5dc(0x4a0)]=_0x49b143;}[_0x7a64ab(0x303)](_0x3b9adf){var _0x1f88be=_0x7a64ab,_0x5b3534,_0x40da69,_0x1725ac,_0xac7431;const _0xee1b50=this[_0x1f88be(0x2bd)]['get'](_0x902cfe),{unitId:_0x3c553c,subUnitId:_0x21c88f}=tr(_0x3b9adf),_0xb19e91=_0xee1b50==null?void 0x0:_0xee1b50['getWorkbookSelections'](_0x3c553c)[_0x1f88be(0x253)](),_0x3ade56=(_0x40da69=(_0x5b3534=this[_0x1f88be(0x4a0)][_0x1f88be(0x397)](_0x3c553c))==null?void 0x0:_0x5b3534[_0x1f88be(0x3a8)]())==null?void 0x0:_0x40da69[_0x1f88be(0x2ed)]();if(_0xb19e91['length']===0x0||!_0x3c553c||!_0x21c88f)return;const _0x42308f=[{'id':_0x174595['id'],'params':{'unitId':_0x3c553c,'subUnitId':_0x3ade56,'selections':_0x21640e['deepClone'](_0xb19e91)}}],_0x94d343=this[_0x1f88be(0x4b2)][_0x1f88be(0x4bd)](_0x3b9adf,_0x42308f);if(!_0x2ed178(_0x94d343))throw _0x94d343[_0x1f88be(0x3e9)];const _0x468767=(_0xac7431=(_0x1725ac=_0x94d343['m2Prime'][0x0])==null?void 0x0:_0x1725ac[_0x1f88be(0x2b2)])==null?void 0x0:_0xac7431[_0x1f88be(0x4c5)];if(Array[_0x1f88be(0x369)](_0x468767)&&_0x468767[_0x1f88be(0x2a4)]){if(_0x468767[_0x1f88be(0x2a4)]===_0x42308f[0x0][_0x1f88be(0x2b2)]['selections'][_0x1f88be(0x2a4)]&&_0x468767[_0x1f88be(0x25b)]((_0x2e9bab,_0x10ace0)=>_0x158b68[_0x1f88be(0x1ec)](_0x2e9bab['range'],_0x42308f[0x0][_0x1f88be(0x2b2)][_0x1f88be(0x4c5)][_0x10ace0][_0x1f88be(0x458)])))return;this['_injector']['get'](_0x6cb33f)[_0x1f88be(0x322)](_0x174595['id'],{'unitId':_0x3c553c,'subUnitId':_0x3ade56,'selections':_0x468767});}}};it=er([dt(0x0,_0x2d7d4c(_0x135851)),dt(0x1,_0x173ba8),dt(0x2,_0xf65701)],it);const ht=_0x4bad4a(_0x7a64ab(0x48d));var Ci=(_0x1a5e2b=>(_0x1a5e2b[_0x1a5e2b[_0x7a64ab(0x3d0)]=0x0]=_0x7a64ab(0x3d0),_0x1a5e2b[_0x1a5e2b[_0x7a64ab(0x3dc)]=0x1]=_0x7a64ab(0x3dc),_0x1a5e2b))(Ci||{});const ir=new Set([_0x33cd40['id']]);function qt(_0x5ed02d,_0x425be4,_0x3335f8,_0x4774c3,_0x53ce7d){var _0x35b3cf=_0x7a64ab,_0x347c3d,_0x5b39f4,_0x4f509b,_0x4bbb42;const _0x43e17f=[];for(const _0x40439a of _0x5ed02d)if(ir[_0x35b3cf(0x262)](_0x40439a['id'])){if(_0x43e17f[_0x35b3cf(0x2a4)]>0x0)break;_0x43e17f[_0x35b3cf(0x452)](_0x40439a);break;}else _0x43e17f['push'](_0x40439a);const _0xfaafb2=(_0x5b39f4=(_0x347c3d=_0x53ce7d[_0x35b3cf(0x3af)]())==null?void 0x0:_0x347c3d[_0x35b3cf(0x4c7)])!=null?_0x5b39f4:_0x35b3cf(0x3a2),_0x41d736=(_0x4bbb42=(_0x4f509b=_0x53ce7d[_0x35b3cf(0x3af)]())==null?void 0x0:_0x4f509b['memberID'])!=null?_0x4bbb42:_0x35b3cf(0x3a2);return{'changeset':{'unitID':_0x425be4,'type':_0x49e306(_0x3335f8[_0x35b3cf(0x45f)](_0x425be4)),'baseRev':_0x4774c3[_0x35b3cf(0x28c)](_0x425be4),'revision':0x0,'userID':_0xfaafb2,'memberID':_0x41d736,'mutations':_0x43e17f},'pendingMutations':_0x5ed02d[_0x35b3cf(0x214)](_0x43e17f[_0x35b3cf(0x2a4)])};}function nr(_0x3cf15a,_0x2024a1,_0x44aec8,_0x1e59a2,_0x22c99f){var _0x5c81f8=_0x7a64ab,_0xd36f6,_0x3ae38a,_0x18d01e,_0x23ab38;const _0x2d3cab=[_0x3cf15a[_0x5c81f8(0x43f)]((_0x40cd37,_0xf013bf)=>{var _0x437205=_0x5c81f8,_0x14f1c0;const {id:_0x212a7c}=_0x40cd37,{id:_0x109c1e,type:_0x408133}=_0xf013bf,_0x558db4=(_0x14f1c0=_0x40cd37[_0x437205(0x2b2)])!=null?_0x14f1c0:{'actions':null},_0x36a75d=_0xf013bf[_0x437205(0x2b2)];if(_0x212a7c&&_0x212a7c!==_0x109c1e)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x212a7c+'\x20-\x20'+_0x109c1e+'.');return{..._0x40cd37,'id':_0x109c1e,'type':_0x408133,'params':{'unitId':_0x36a75d[_0x437205(0x1dc)],'textRanges':_0x36a75d[_0x437205(0x2d9)],'actions':_0x176654['compose'](_0x558db4['actions'],_0x36a75d[_0x437205(0x377)])}};},{})],_0x29183d=(_0x3ae38a=(_0xd36f6=_0x22c99f[_0x5c81f8(0x3af)]())==null?void 0x0:_0xd36f6[_0x5c81f8(0x4c7)])!=null?_0x3ae38a:_0x5c81f8(0x3a2),_0x4b7d09=(_0x23ab38=(_0x18d01e=_0x22c99f[_0x5c81f8(0x3af)]())==null?void 0x0:_0x18d01e[_0x5c81f8(0x395)])!=null?_0x23ab38:_0x5c81f8(0x3a2);return{'changeset':{'unitID':_0x2024a1,'type':_0x49e306(_0x44aec8['getUnitType'](_0x2024a1)),'baseRev':_0x1e59a2[_0x5c81f8(0x28c)](_0x2024a1),'revision':0x0,'userID':_0x29183d,'memberID':_0x4b7d09,'mutations':_0x2d3cab},'pendingMutations':[]};}function Ri(_0x13ddfb,_0x126985){var _0x2a4563=_0x7a64ab;const _0x5cb11f=new _0x2b004e(0x1);return setTimeout(()=>_0x5cb11f[_0x2a4563(0x4c3)](_0x126985),_0x13ddfb),_0x5cb11f[_0x2a4563(0x310)]()[_0x2a4563(0x348)](_0xb8df33(0x1));}const rr={'id':_0x211044['id'],'type':_0x20785a[_0x7a64ab(0x4ae)],'params':{}};var sr=Object['getOwnPropertyDescriptor'],Te=(_0x41332d,_0x141a58,_0x26fcb8,_0x56c7d1)=>{var _0x45a7bc=_0x7a64ab;for(var _0x5eefd9=_0x56c7d1>0x1?void 0x0:_0x56c7d1?sr(_0x141a58,_0x26fcb8):_0x141a58,_0x5f4d0b=_0x41332d[_0x45a7bc(0x2a4)]-0x1,_0x3ccf0c;_0x5f4d0b>=0x0;_0x5f4d0b--)(_0x3ccf0c=_0x41332d[_0x5f4d0b])&&(_0x5eefd9=_0x3ccf0c(_0x5eefd9)||_0x5eefd9);return _0x5eefd9;},P=(_0x34f955,_0x4c8c8e)=>(_0x76bba6,_0x4b6997)=>_0x4c8c8e(_0x76bba6,_0x4b6997,_0x34f955),bi=(_0x2b47d2=>(_0x2b47d2[_0x7a64ab(0x216)]='not_collab',_0x2b47d2[_0x7a64ab(0x447)]=_0x7a64ab(0x487),_0x2b47d2['PENDING']=_0x7a64ab(0x268),_0x2b47d2[_0x7a64ab(0x3ae)]=_0x7a64ab(0x41e),_0x2b47d2[_0x7a64ab(0x3f2)]='awaiting_with_pending',_0x2b47d2[_0x7a64ab(0x270)]=_0x7a64ab(0x333),_0x2b47d2['CONFLICT']=_0x7a64ab(0x28e),_0x2b47d2[_0x7a64ab(0x2af)]='offline',_0x2b47d2))(bi||{});const yi=0xea60;class Ce{constructor(_0x5d7f11,_0x4e5479,_0x3a4bcd,_0x109d9b,_0x48c4c9,_0x311f32,_0x21b50b,_0x31a286,_0x2ef169){var _0x1f132c=_0x7a64ab;N(this,_0x1f132c(0x425),null),N(this,_0x1f132c(0x2cd),[]),(this['unitID']=_0x5d7f11,this[_0x1f132c(0x267)]=_0x4e5479,this[_0x1f132c(0x403)]=_0x48c4c9,this[_0x1f132c(0x2ba)]=_0x311f32,this[_0x1f132c(0x2ab)]=_0x21b50b,this[_0x1f132c(0x233)]=_0x31a286,this[_0x1f132c(0x36c)]=_0x2ef169,this['_awaitingChangeset']=_0x3a4bcd,this['_pendingMutations']=_0x109d9b);}[_0x7a64ab(0x2e4)](_0x5cae1a){var _0x34a263=_0x7a64ab;const _0x4984=this[_0x34a263(0x233)]['getCurrentRevOfUnit'](this[_0x34a263(0x3aa)]);return _0x5cae1a[_0x34a263(0x336)]>_0x4984+0x1?(this[_0x34a263(0x403)][_0x34a263(0x3ac)]({'from':_0x4984,'to':_0x5cae1a[_0x34a263(0x336)]-0x1}),!0x0):!0x1;}[_0x7a64ab(0x494)](_0x745c02){var _0x5545ac=_0x7a64ab;this[_0x5545ac(0x2ab)][_0x5545ac(0x363)](this['unitID'],_0x745c02);}[_0x7a64ab(0x45b)](_0x3edee5){var _0x1a1708=_0x7a64ab,_0x32cdb4,_0x22e7d3;(_0x22e7d3=(_0x32cdb4=this[_0x1a1708(0x403)])[_0x1a1708(0x4ba)])==null||_0x22e7d3[_0x1a1708(0x31a)](_0x32cdb4,_0x3edee5);}[_0x7a64ab(0x3f4)](_0x5b9b9b){var _0x179437=_0x7a64ab,_0x1ae486,_0x293264;return(_0x293264=(_0x1ae486=this[_0x179437(0x403)])[_0x179437(0x2bc)])==null?void 0x0:_0x293264['call'](_0x1ae486,_0x5b9b9b);}['_transformStateCache'](_0x104d32){var _0x45cfeb=_0x7a64ab,_0x2e57f6,_0x197301;return(_0x197301=(_0x2e57f6=this[_0x45cfeb(0x403)])[_0x45cfeb(0x3f8)])==null?void 0x0:_0x197301[_0x45cfeb(0x31a)](_0x2e57f6,_0x104d32);}[_0x7a64ab(0x4b0)](_0x72c011){var _0x12dfd0=_0x7a64ab,_0x22f7aa,_0xcafafd,_0x47d3bd;return(_0x47d3bd=(_0xcafafd=(_0x22f7aa=this[_0x12dfd0(0x403)])[_0x12dfd0(0x37d)])==null?void 0x0:_0xcafafd[_0x12dfd0(0x31a)](_0x22f7aa,_0x72c011))!=null?_0x47d3bd:_0x72c011;}[_0x7a64ab(0x1e4)](_0x2e49c6){var _0x2430c0=_0x7a64ab,_0x2a0259,_0x1a1e9e,_0x59decd;return(_0x59decd=(_0x1a1e9e=(_0x2a0259=this[_0x2430c0(0x403)])[_0x2430c0(0x471)])==null?void 0x0:_0x1a1e9e[_0x2430c0(0x31a)](_0x2a0259,_0x2e49c6))!=null?_0x59decd:_0x2e49c6;}[_0x7a64ab(0x3ce)](_0x371e3e){var _0x176352=_0x7a64ab,_0x3c05bb,_0x53db75;if(this[_0x176352(0x267)]===Q[_0x176352(0x258)]){const {unitID:_0x1264cc,mutations:_0x3a9cb0,memberID:_0x2c8327}=_0x371e3e,_0x2ba4d0=_0x3a9cb0[0x0][_0x176352(0x2b2)][_0x176352(0x2d9)];Array[_0x176352(0x369)](_0x2ba4d0)&&_0x2ba4d0[_0x176352(0x2a4)]>0x0&&((_0x53db75=(_0x3c05bb=this[_0x176352(0x403)])['onSyncEditingCollabCursor'])==null||_0x53db75[_0x176352(0x31a)](_0x3c05bb,{'unitID':_0x1264cc,'memberID':_0x2c8327,'textRanges':_0x2ba4d0}));}}[_0x7a64ab(0x234)](){var _0x2d1fc8=_0x7a64ab,_0x5ec8d3;(_0x5ec8d3=this[_0x2d1fc8(0x36c)])==null||_0x5ec8d3[_0x2d1fc8(0x361)](this['unitID'],this[_0x2d1fc8(0x267)],this[_0x2d1fc8(0x425)],this[_0x2d1fc8(0x2cd)]);}[_0x7a64ab(0x2ef)](){var _0x859b40=_0x7a64ab;return this['_revisionService'][_0x859b40(0x28c)](this[_0x859b40(0x3aa)]);}[_0x7a64ab(0x263)](){var _0x351abe=_0x7a64ab;this[_0x351abe(0x233)]['incrementRevOfUnit'](this[_0x351abe(0x3aa)]);}[_0x7a64ab(0x3b8)](_0x1330ae){var _0x3b2ba1=_0x7a64ab,_0x4fffeb;let _0x3a3203=this[_0x3b2ba1(0x4b0)](_0x1330ae);_0x3a3203=this[_0x3b2ba1(0x1e4)](_0x3a3203);const _0x32ca17=_0x57d964(_0x3a3203['mutations'],this[_0x3b2ba1(0x2ba)],{'fromCollab':!0x0});if(!_0x32ca17[_0x3b2ba1(0x276)])throw _0x32ca17[_0x3b2ba1(0x3e9)]instanceof Error?_0x32ca17[_0x3b2ba1(0x3e9)]:new Error((_0x4fffeb=_0x32ca17[_0x3b2ba1(0x3e9)])!=null?_0x4fffeb:_0x3b2ba1(0x46d));this[_0x3b2ba1(0x3f4)](_0x3a3203),this[_0x3b2ba1(0x290)](_0x3a3203),this[_0x3b2ba1(0x494)](_0x1330ae),this[_0x3b2ba1(0x45b)](_0x3a3203),this['_syncEditingCollabCursor'](_0x3a3203),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x4a143e,_0x1780d5,_0x2e728b,_0x44d3b2,_0x1b5b8a,_0x227491,_0x1f175e,_0x1c652e,_0x2bd25c,_0x589d17){var _0x162ac5=_0x7a64ab;super(_0x4a143e,_0x1780d5,null,[],_0x2e728b,_0x1f175e,_0x227491,_0x44d3b2,_0x589d17),N(this,_0x162ac5(0x249),_0x162ac5(0x487)),(this[_0x162ac5(0x2bd)]=_0x1b5b8a,this[_0x162ac5(0x485)]=_0x1c652e,this[_0x162ac5(0x4b2)]=_0x2bd25c,this[_0x162ac5(0x20a)]=_0x589d17);}[_0x7a64ab(0x3cc)](_0x3ee4c9){var _0x275e4c=_0x7a64ab;const _0x50f6d1=this[_0x275e4c(0x2bd)][_0x275e4c(0x413)](ae,this[_0x275e4c(0x3aa)],this[_0x275e4c(0x267)],[_0x3ee4c9],this['_handler']);return _0x50f6d1['_schedule'](),_0x50f6d1[_0x275e4c(0x234)](),_0x50f6d1;}[_0x7a64ab(0x1f0)](_0x5b5215){var _0xe1814d=_0x7a64ab;if(this[_0xe1814d(0x2e4)](_0x5b5215))return this[_0xe1814d(0x2bd)][_0xe1814d(0x413)](ee,this[_0xe1814d(0x3aa)],this[_0xe1814d(0x267)],null,[],null,[_0x5b5215],this[_0xe1814d(0x403)]);try{const _0x2e8006=this[_0xe1814d(0x4b2)][_0xe1814d(0x4bd)](_0x5b5215,[rr]);if(_0x2ed178(_0x2e8006)){const {c1Prime:_0x351531}=_0x2e8006;return this[_0xe1814d(0x3b8)](_0x351531),this;}throw _0x2e8006[_0xe1814d(0x3e9)];}catch(_0xd6d112){return this[_0xe1814d(0x485)][_0xe1814d(0x3e9)](_0xd6d112),this['_onConflict'](!0x1);}}['_onConflict'](_0x6cc52a){var _0x564d6b=_0x7a64ab;return this[_0x564d6b(0x2bd)][_0x564d6b(0x413)](ue,this[_0x564d6b(0x3aa)],this[_0x564d6b(0x267)],null,[],this[_0x564d6b(0x403)],_0x6cc52a);}[_0x7a64ab(0x3d4)](){var _0x4f3537=_0x7a64ab;throw new Error(_0x4f3537(0x41c));}['onRemoteRej'](){var _0x6000cf=_0x7a64ab;throw new Error(_0x6000cf(0x3d8));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2110ac=_0x7a64ab;return this[_0x2110ac(0x2bd)][_0x2110ac(0x413)](de,this[_0x2110ac(0x3aa)],this[_0x2110ac(0x267)],null,[],this[_0x2110ac(0x403)]);}['toggleOnline'](){return this;}[_0x7a64ab(0x4b7)](){var _0x43eaf2=_0x7a64ab;throw new Error(_0x43eaf2(0x1e2));}['fetchMiss'](){var _0x5824bd=_0x7a64ab;const _0x24b22c=this[_0x5824bd(0x233)][_0x5824bd(0x28c)](this[_0x5824bd(0x3aa)]);return this['_handler'][_0x5824bd(0x3ac)]({'from':_0x24b22c,'to':0x0}),this[_0x5824bd(0x2bd)]['createInstance'](ee,this[_0x5824bd(0x3aa)],this[_0x5824bd(0x267)],null,[],null,[],this[_0x5824bd(0x403)]);}};Ne=Te([P(0x3,_0x2d7d4c(_0x7ae9da)),P(0x4,_0x2d7d4c(_0x135851)),P(0x5,_0x4ba99b),P(0x6,_0x6cb33f),P(0x7,_0x32ff17),P(0x8,_0x173ba8),P(0x9,_0x104c75(J))],Ne);let ae=class extends Ce{constructor(_0x159046,_0x33c89f,_0x21374c,_0x25caa0,_0x264333,_0x5556ed,_0x4e745e,_0x3154ac,_0x3286c7,_0x420542,_0x1bace5,_0x2ea58a,_0x555e92,_0x3ebaca){var _0x27a765=_0x7a64ab;super(_0x159046,_0x33c89f,null,_0x21374c,_0x25caa0,_0x3286c7,_0x555e92,_0x5556ed,_0x3ebaca),N(this,_0x27a765(0x249),_0x27a765(0x268)),N(this,_0x27a765(0x213),null),N(this,_0x27a765(0x4a6),null),(this[_0x27a765(0x2bd)]=_0x264333,this['_memberService']=_0x4e745e,this['_logService']=_0x3154ac,this['_configService']=_0x420542,this['_transformService']=_0x1bace5,this[_0x27a765(0x40f)]=_0x2ea58a);}[_0x7a64ab(0x3cc)](_0x8e2e4c){var _0x284d53=_0x7a64ab;return this['_pendingMutations'][_0x284d53(0x452)](_0x8e2e4c),this['_updateLocalCache'](),this;}[_0x7a64ab(0x1f0)](_0x125b8b){var _0x40f6ad=_0x7a64ab;if(this[_0x40f6ad(0x2e4)](_0x125b8b))return this[_0x40f6ad(0x4cf)](),this['_injector'][_0x40f6ad(0x413)](ee,this[_0x40f6ad(0x3aa)],this[_0x40f6ad(0x267)],null,this[_0x40f6ad(0x2cd)],null,[_0x125b8b],this[_0x40f6ad(0x403)]);try{const _0x1aa9aa=this[_0x40f6ad(0x4b2)][_0x40f6ad(0x4bd)](_0x125b8b,this[_0x40f6ad(0x2cd)]);if(_0x2ed178(_0x1aa9aa)){const {c1Prime:_0x5d047d,m2Prime:_0x341384}=_0x1aa9aa;this['_executeRemoteChangeset'](_0x5d047d);const _0x4c99ee=this['_injector'][_0x40f6ad(0x413)](ae,this[_0x40f6ad(0x3aa)],this[_0x40f6ad(0x267)],_0x341384,this[_0x40f6ad(0x403)]);this['_clearScheduledTask']();const _0x5af2cb=new Date()[_0x40f6ad(0x32c)](),_0x3da5f4=this[_0x40f6ad(0x213)]?Math[_0x40f6ad(0x2e2)](this['_scheduleCompleteTimestamp']-_0x5af2cb,0x0):this[_0x40f6ad(0x22e)]();return _0x4c99ee['_schedule'](_0x3da5f4),_0x4c99ee;}throw _0x1aa9aa[_0x40f6ad(0x3e9)];}catch(_0x163259){return this[_0x40f6ad(0x485)]['error'](_0x163259),this[_0x40f6ad(0x319)](!0x1);}}['onRemoteAck'](){var _0x3dc167=_0x7a64ab;throw new Error(_0x3dc167(0x343));}[_0x7a64ab(0x217)](){var _0x2a368e=_0x7a64ab;throw new Error(_0x2a368e(0x406));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x30be08=_0x7a64ab;return this[_0x30be08(0x4cf)](),this['_injector']['createInstance'](de,this[_0x30be08(0x3aa)],this[_0x30be08(0x267)],null,this[_0x30be08(0x2cd)],this[_0x30be08(0x403)]);}['toggleOnline'](){return this;}[_0x7a64ab(0x31d)](_0x3275eb){var _0x5b02f9=_0x7a64ab;const _0xa3127c=_0x3275eb!=null?_0x3275eb:this[_0x5b02f9(0x22e)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5b02f9(0x32c)]()+_0xa3127c,this[_0x5b02f9(0x4a6)]=setTimeout(()=>{var _0xeb19f3=_0x5b02f9;this['_clearScheduledTask']();let _0x4670d5=null;switch(this[_0xeb19f3(0x267)]){case Q[_0xeb19f3(0x239)]:{_0x4670d5=qt(this[_0xeb19f3(0x2cd)],this['unitID'],this[_0xeb19f3(0x40f)],this[_0xeb19f3(0x233)],this[_0xeb19f3(0x200)]);break;}case Q['UNIVER_DOC']:{this[_0xeb19f3(0x2cd)]['every'](_0x13f84e=>_0x13f84e['id']===_0x4d58d8['id'])?_0x4670d5=nr(this[_0xeb19f3(0x2cd)],this['unitID'],this[_0xeb19f3(0x40f)],this['_revisionService'],this[_0xeb19f3(0x200)]):_0x4670d5=qt(this['_pendingMutations'],this[_0xeb19f3(0x3aa)],this[_0xeb19f3(0x40f)],this[_0xeb19f3(0x233)],this[_0xeb19f3(0x200)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xeb19f3(0x22b));}const {changeset:_0x3e8915,pendingMutations:_0x12caeb}=_0x4670d5;this[_0xeb19f3(0x403)][_0xeb19f3(0x208)](_0x3e8915);const _0x170d30=_0x12caeb['length']?this[_0xeb19f3(0x2bd)]['createInstance'](oe,this[_0xeb19f3(0x3aa)],this['type'],_0x3e8915,_0x12caeb,this[_0xeb19f3(0x403)],void 0x0):this[_0xeb19f3(0x2bd)][_0xeb19f3(0x413)](le,this[_0xeb19f3(0x3aa)],this['type'],_0x3e8915,this['_handler']);_0x170d30[_0xeb19f3(0x234)](),this['_handler']['onStateChange'](this,_0x170d30);},_0xa3127c);}['_getSendChangesetTimeout'](){var _0xd58dc2=_0x7a64ab,_0x5c70cb;const _0x4abcac=this[_0xd58dc2(0x417)][_0xd58dc2(0x366)](q);return(_0x5c70cb=_0x4abcac==null?void 0x0:_0x4abcac[_0xd58dc2(0x4cc)])!=null?_0x5c70cb:En;}[_0x7a64ab(0x4b7)](){var _0x4e8262=_0x7a64ab;throw new Error(_0x4e8262(0x373));}['_clearScheduledTask'](){var _0x5c16ec=_0x7a64ab;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5c16ec(0x4a6)]),this[_0x5c16ec(0x4a6)]=null);}[_0x7a64ab(0x319)](_0x50d8c6){var _0x454f7a=_0x7a64ab;return this[_0x454f7a(0x4cf)](),this[_0x454f7a(0x2bd)][_0x454f7a(0x413)](ue,this['unitID'],this['type'],null,this[_0x454f7a(0x2cd)],this[_0x454f7a(0x403)],_0x50d8c6);}};ae=Te([P(0x4,_0x2d7d4c(_0x135851)),P(0x5,_0x2d7d4c(_0x7ae9da)),P(0x6,_0x2d7d4c(xe)),P(0x7,_0x32ff17),P(0x8,_0x6cb33f),P(0x9,_0x5ce478),P(0xa,_0x173ba8),P(0xb,_0xf65701),P(0xc,_0x4ba99b),P(0xd,_0x104c75(J))],ae);let le=class extends Ce{constructor(_0x5d3dfe,_0x479191,_0x54bf0c,_0x17f821,_0x418744,_0x571da3,_0x35d4b7,_0x22ecd3,_0x2cc703,_0x447cf6,_0x12d64e){var _0x56124b=_0x7a64ab;super(_0x5d3dfe,_0x479191,_0x54bf0c,[],_0x17f821,_0x35d4b7,_0x447cf6,_0x571da3,_0x12d64e),N(this,_0x56124b(0x249),'awaiting'),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x56124b(0x3d1)),(this['_injector']=_0x418744,this[_0x56124b(0x485)]=_0x22ecd3,this[_0x56124b(0x4b2)]=_0x2cc703);}['appendMutation'](_0x5a08bd){var _0x17ed35=_0x7a64ab;this['_clearScheduledTask']();const _0x3b12ed=this['_injector'][_0x17ed35(0x413)](oe,this[_0x17ed35(0x3aa)],this[_0x17ed35(0x267)],this['_awaitingChangeset'],[_0x5a08bd],this[_0x17ed35(0x403)],this['_resendTimer']);return _0x3b12ed['_updateLocalCache'](),_0x3b12ed;}[_0x7a64ab(0x1f0)](_0x50e869){var _0x512df1=_0x7a64ab;if(this[_0x512df1(0x2e4)](_0x50e869))return this['_clearScheduledTask'](),this[_0x512df1(0x2bd)]['createInstance'](ee,this['unitID'],this[_0x512df1(0x267)],this['_awaitingChangeset'],[],null,[_0x50e869],this[_0x512df1(0x403)]);try{const _0x3e42ac=this[_0x512df1(0x4b2)][_0x512df1(0x2a2)]([_0x50e869],[this[_0x512df1(0x425)]],!0x1);if(_0x483429(_0x3e42ac)){const {c1Prime:_0x34f4d6,c2Prime:_0x59755e}=_0x3e42ac;this['_executeRemoteChangeset'](_0x34f4d6[0x0]),_0x59755e[0x0]['baseRev']=this[_0x512df1(0x2ef)](),this[_0x512df1(0x4cf)]();const _0x5067e8=this['_injector'][_0x512df1(0x413)](le,this[_0x512df1(0x3aa)],this[_0x512df1(0x267)],_0x59755e[0x0],this[_0x512df1(0x403)]);return _0x5067e8[_0x512df1(0x234)](),_0x5067e8;}return this[_0x512df1(0x319)](!0x1);}catch(_0x29c2ce){return this[_0x512df1(0x485)][_0x512df1(0x3e9)](_0x29c2ce),this[_0x512df1(0x319)](!0x1);}}[_0x7a64ab(0x3d4)](_0x4af4f8){var _0x14a9b0=_0x7a64ab;this['_clearScheduledTask']();const _0x1fd1e9=this[_0x14a9b0(0x233)][_0x14a9b0(0x28c)](this[_0x14a9b0(0x3aa)]);if(_0x4af4f8[_0x14a9b0(0x336)]<_0x1fd1e9-0x1)return this;if(this[_0x14a9b0(0x2e4)](_0x4af4f8))return this[_0x14a9b0(0x2bd)][_0x14a9b0(0x413)](ee,this[_0x14a9b0(0x3aa)],this[_0x14a9b0(0x267)],null,[],this[_0x14a9b0(0x425)],[],this[_0x14a9b0(0x403)]);this[_0x14a9b0(0x263)]();const _0x233e04=this['_injector']['createInstance'](Ne,this['unitID'],this[_0x14a9b0(0x267)],this[_0x14a9b0(0x403)]);return _0x233e04[_0x14a9b0(0x234)](),_0x233e04;}[_0x7a64ab(0x217)](_0xac4b78){var _0x53c1c2=_0x7a64ab;return this['_onConflict'](!!(_0xac4b78!=null&&_0xac4b78[_0x53c1c2(0x296)]));}[_0x7a64ab(0x428)](_0x3dcbae){var _0x4fba47=_0x7a64ab;return this[_0x4fba47(0x3c0)]>yi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x4fba47(0x3c0)],{'timeout':this[_0x4fba47(0x3c0)],'reqId':_0x3dcbae['reqId']}),this['_sender']=this['_resendTimer'][_0x4fba47(0x2cc)](({reqId:_0x36df21,timeout:_0x158fcc})=>{var _0x5c6f58=_0x4fba47;this[_0x5c6f58(0x2a1)](_0x36df21,_0x158fcc);}),this);}['toggleOffline'](){var _0xc96ca9=_0x7a64ab;return this[_0xc96ca9(0x4cf)](),this[_0xc96ca9(0x2bd)][_0xc96ca9(0x413)](de,this[_0xc96ca9(0x3aa)],this[_0xc96ca9(0x267)],this['_awaitingChangeset'],[],this['_handler']);}[_0x7a64ab(0x1f1)](){return this;}[_0x7a64ab(0x4b7)](){var _0x123205=_0x7a64ab;this[_0x123205(0x403)][_0x123205(0x208)](this['_awaitingChangeset']);}[_0x7a64ab(0x319)](_0x1a79ea){var _0x2b36d4=_0x7a64ab;return this[_0x2b36d4(0x4cf)](),this[_0x2b36d4(0x2bd)][_0x2b36d4(0x413)](ue,this['unitID'],this[_0x2b36d4(0x267)],this[_0x2b36d4(0x425)],[],this[_0x2b36d4(0x403)],_0x1a79ea);}[_0x7a64ab(0x2a1)](_0x552124,_0x3f8e68){var _0x4f151e=_0x7a64ab,_0x543b1;_0x552124===((_0x543b1=this['_awaitingChangeset'])==null?void 0x0:_0x543b1[_0x4f151e(0x39b)])&&(this['resend'](),this['_resendTimeout']=_0x3f8e68===0x0?0x3e8:_0x3f8e68*0x2);}[_0x7a64ab(0x4cf)](){var _0x571212=_0x7a64ab,_0x2f7416;(_0x2f7416=this[_0x571212(0x3d1)])==null||_0x2f7416[_0x571212(0x2a7)](),this[_0x571212(0x3c0)]=0x0;}};le=Te([P(0x4,_0x2d7d4c(_0x135851)),P(0x5,_0x2d7d4c(_0x7ae9da)),P(0x6,_0x6cb33f),P(0x7,_0x32ff17),P(0x8,_0x173ba8),P(0x9,_0x4ba99b),P(0xa,_0x104c75(J))],le);let oe=class extends Ce{constructor(_0x329fbf,_0x442c20,_0x434014,_0x223faf,_0x4bc56a,_0x387421,_0x28d0ae,_0x49b327,_0x7f1771,_0x2ccfe8,_0x149aa7,_0x14afc2,_0x2bf856){var _0x299fac=_0x7a64ab;super(_0x329fbf,_0x442c20,_0x434014,_0x223faf,_0x4bc56a,_0x7f1771,_0x14afc2,_0x49b327,_0x2bf856),N(this,'status',_0x299fac(0x1e0)),N(this,_0x299fac(0x3c0),0x0),N(this,_0x299fac(0x289)),N(this,'_sender'),(this[_0x299fac(0x2bd)]=_0x28d0ae,this[_0x299fac(0x485)]=_0x2ccfe8,this['_transformService']=_0x149aa7,this['localCacheService']=_0x2bf856,_0x387421&&(this[_0x299fac(0x289)]=_0x387421,this[_0x299fac(0x3d1)]=this[_0x299fac(0x289)]['subscribe'](({reqId:_0x1dfc2c,timeout:_0x3f547d})=>{var _0x17fa00=_0x299fac;this[_0x17fa00(0x2a1)](_0x1dfc2c,_0x3f547d);})));}['appendMutation'](_0xc2894b){return this['_pendingMutations']['push'](_0xc2894b),this;}[_0x7a64ab(0x1f0)](_0x3d8ddd){var _0x4bf142=_0x7a64ab;if(this[_0x4bf142(0x2e4)](_0x3d8ddd))return this['_clearScheduledTask'](),this[_0x4bf142(0x2bd)]['createInstance'](ee,this[_0x4bf142(0x3aa)],this['type'],this[_0x4bf142(0x425)],this[_0x4bf142(0x2cd)],null,[_0x3d8ddd],this[_0x4bf142(0x403)]);try{const _0x3af0ac=this[_0x4bf142(0x4b2)][_0x4bf142(0x2a2)]([_0x3d8ddd],[this[_0x4bf142(0x425)]],!0x1);if(_0x483429(_0x3af0ac)){const {c1Prime:_0x29d12b,c2Prime:_0x26dcfd}=_0x3af0ac,_0x1e1b16=this['_transformService'][_0x4bf142(0x4bd)](_0x29d12b[0x0],this[_0x4bf142(0x2cd)]);if(_0x2ed178(_0x1e1b16)){const {c1Prime:_0x55ab35,m2Prime:_0x3b08f7}=_0x1e1b16;return this['_executeRemoteChangeset'](_0x55ab35),_0x26dcfd[0x0][_0x4bf142(0x412)]=this['_getCurrentRevision'](),this[_0x4bf142(0x4cf)](),this[_0x4bf142(0x2bd)][_0x4bf142(0x413)](oe,this[_0x4bf142(0x3aa)],this[_0x4bf142(0x267)],_0x26dcfd[0x0],_0x3b08f7,this[_0x4bf142(0x403)],void 0x0);}throw _0x1e1b16['error'];}throw _0x3af0ac[_0x4bf142(0x3e9)];}catch(_0x2a1dd3){return this[_0x4bf142(0x485)][_0x4bf142(0x3e9)](_0x2a1dd3),this[_0x4bf142(0x319)](!0x1);}}[_0x7a64ab(0x3d4)](_0x2e7da4){var _0x239211=_0x7a64ab;if(this[_0x239211(0x4cf)](),this[_0x239211(0x2e4)](_0x2e7da4))return this[_0x239211(0x2bd)][_0x239211(0x413)](ee,this[_0x239211(0x3aa)],this['type'],null,this['_pendingMutations'],this[_0x239211(0x425)],[],this[_0x239211(0x403)]);this[_0x239211(0x263)]();const _0x7c8823=this[_0x239211(0x2bd)][_0x239211(0x413)](ae,this['unitID'],this[_0x239211(0x267)],this['_pendingMutations'],this['_handler']);return _0x7c8823['_schedule'](),_0x7c8823['_updateLocalCache'](),_0x7c8823;}[_0x7a64ab(0x217)](_0x486f89){var _0x37b77e=_0x7a64ab;return this[_0x37b77e(0x319)](!!(_0x486f89!=null&&_0x486f89[_0x37b77e(0x296)]));}[_0x7a64ab(0x428)](_0x52e13f){var _0x113419=_0x7a64ab;return this['_resendTimeout']>yi?this[_0x113419(0x380)]():(this[_0x113419(0x289)]=Ri(this['_resendTimeout'],{'timeout':this[_0x113419(0x3c0)],'reqId':_0x52e13f['reqId']}),this[_0x113419(0x3d1)]=this[_0x113419(0x289)][_0x113419(0x2cc)](({reqId:_0x22de9f,timeout:_0x35da77})=>{this['_resendWithTimeout'](_0x22de9f,_0x35da77);}),this);}[_0x7a64ab(0x380)](){var _0x1ec7f5=_0x7a64ab;return this[_0x1ec7f5(0x4cf)](),this[_0x1ec7f5(0x2bd)][_0x1ec7f5(0x413)](de,this[_0x1ec7f5(0x3aa)],this[_0x1ec7f5(0x267)],this[_0x1ec7f5(0x425)],this['_pendingMutations'],this[_0x1ec7f5(0x403)]);}[_0x7a64ab(0x1f1)](){return this;}[_0x7a64ab(0x4b7)](){var _0x2e5732=_0x7a64ab;this[_0x2e5732(0x403)][_0x2e5732(0x208)](this[_0x2e5732(0x425)]);}[_0x7a64ab(0x319)](_0xeb8649){var _0x4756b0=_0x7a64ab;return this[_0x4756b0(0x4cf)](),this['_injector'][_0x4756b0(0x413)](ue,this['unitID'],this[_0x4756b0(0x267)],null,this['_pendingMutations'],this['_handler'],_0xeb8649);}[_0x7a64ab(0x2a1)](_0x8550b0,_0x1b016f){var _0x486627=_0x7a64ab,_0x2402b4;_0x8550b0===((_0x2402b4=this[_0x486627(0x425)])==null?void 0x0:_0x2402b4[_0x486627(0x39b)])&&(this['resend'](),this[_0x486627(0x3c0)]=_0x1b016f===0x0?0x3e8:_0x1b016f*0x2);}['_clearScheduledTask'](){var _0x2da3c2=_0x7a64ab,_0x2f20b0;(_0x2f20b0=this['_sender'])==null||_0x2f20b0[_0x2da3c2(0x2a7)](),this[_0x2da3c2(0x3c0)]=0x0;}};oe=Te([P(0x6,_0x2d7d4c(_0x135851)),P(0x7,_0x2d7d4c(_0x7ae9da)),P(0x8,_0x6cb33f),P(0x9,_0x32ff17),P(0xa,_0x173ba8),P(0xb,_0x4ba99b),P(0xc,_0x104c75(J))],oe);let ue=class extends Ce{constructor(_0x4b92f1,_0x4283b9,_0x13b727,_0x2ef6c7,_0x99aed8,_0x3b8ffd=!0x1,_0x56cf52,_0x4c60e3,_0x2eec63,_0x4fb088,_0x1533c7,_0x397300,_0x2d50a4){var _0x54feda=_0x7a64ab;super(_0x4b92f1,_0x4283b9,_0x13b727,_0x2ef6c7,_0x99aed8,_0x4c60e3,_0x2eec63,_0x4fb088,_0x2d50a4),N(this,_0x54feda(0x249),'conflict'),(this[_0x54feda(0x481)]=_0x3b8ffd,this['_permissionService']=_0x56cf52,this[_0x54feda(0x256)]=_0x1533c7,this[_0x54feda(0x287)]=_0x397300,this[_0x54feda(0x20a)]=_0x2d50a4,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x54feda(0x47e)]());}[_0x7a64ab(0x3cc)](){return this;}[_0x7a64ab(0x1f0)](){return this;}[_0x7a64ab(0x3d4)](){return this;}[_0x7a64ab(0x217)](){return this;}[_0x7a64ab(0x428)](){return this;}[_0x7a64ab(0x380)](){return this;}[_0x7a64ab(0x1f1)](){return this;}[_0x7a64ab(0x4b7)](){var _0x1e9a23=_0x7a64ab;throw new Error(_0x1e9a23(0x3b2));}[_0x7a64ab(0x337)](){var _0x5cd82b=_0x7a64ab,_0xa2aad8;(_0xa2aad8=this[_0x5cd82b(0x36c)])==null||_0xa2aad8[_0x5cd82b(0x361)](this[_0x5cd82b(0x3aa)],this['type'],null,[]);}[_0x7a64ab(0x48f)](){var _0x2a46c4=_0x7a64ab;this[_0x2a46c4(0x481)]?this[_0x2a46c4(0x287)][_0x2a46c4(0x2d7)]({'id':se[_0x2a46c4(0x2bf)]}):this['_collaborationUIEventService'][_0x2a46c4(0x2d7)]({'id':se[_0x2a46c4(0x340)]});}['_disableEditing'](){var _0x1df33d=_0x7a64ab;this['_permissionService'][_0x1df33d(0x44d)](new _0x4c9e1f(this[_0x1df33d(0x3aa)])['id'],!0x1);}};ue=Te([P(0x6,_0x2d7d4c(_0x4d17f9)),P(0x7,_0x6cb33f),P(0x8,_0x4ba99b),P(0x9,_0x2d7d4c(_0x7ae9da)),P(0xa,_0x2d7d4c(_0x229d1b)),P(0xb,_0x2d7d4c(pe)),P(0xc,_0x104c75(J))],ue);let de=class extends Ce{constructor(_0x5ab210,_0x75bac0,_0x2c575e,_0x3a7380,_0x6bef19,_0x214d36,_0x5e51c1,_0x1d503e,_0x44096b,_0x8b9b8b){var _0x478d73=_0x7a64ab;super(_0x5ab210,_0x75bac0,_0x2c575e,_0x3a7380,_0x6bef19,_0x1d503e,_0x44096b,_0x5e51c1,_0x8b9b8b),N(this,_0x478d73(0x249),_0x478d73(0x2e3)),this[_0x478d73(0x2bd)]=_0x214d36;}['appendMutation'](_0x3040ca){var _0x131ee9=_0x7a64ab;return this['_pendingMutations'][_0x131ee9(0x452)](_0x3040ca),this[_0x131ee9(0x234)](),this;}[_0x7a64ab(0x1f0)](_0x4a6eab){var _0x219d2a=_0x7a64ab;throw new Error(_0x219d2a(0x4c4));}[_0x7a64ab(0x3d4)](){var _0x4a3dd7=_0x7a64ab;throw new Error(_0x4a3dd7(0x2b4));}[_0x7a64ab(0x217)](){var _0x4dfa04=_0x7a64ab;throw new Error(_0x4dfa04(0x23a));}[_0x7a64ab(0x428)](){return this;}['toggleOffline'](){return this;}[_0x7a64ab(0x1f1)](){var _0x24a908=_0x7a64ab;const {_injector:_0x27284d,_pendingMutations:_0x3441f5,_awaitingChangeset:_0x4b879f,unitID:_0x3823f6,_handler:_0x42894c,type:_0xe049ff}=this,_0x38041b=Oi(_0x27284d,_0x3823f6,_0xe049ff,_0x4b879f,_0x3441f5,_0x42894c);return _0x38041b instanceof ae?_0x38041b[_0x24a908(0x31d)]():(_0x38041b instanceof oe||_0x38041b instanceof le)&&_0x38041b[_0x24a908(0x4b7)](),_0x38041b;}['resend'](){var _0x225a7d=_0x7a64ab;throw new Error(_0x225a7d(0x352));}};de=Te([P(0x5,_0x2d7d4c(_0x135851)),P(0x6,_0x2d7d4c(_0x7ae9da)),P(0x7,_0x6cb33f),P(0x8,_0x4ba99b),P(0x9,_0x104c75(J))],de);let ee=class extends Ce{constructor(_0x25a3d,_0x14cbaf,_0x36ec56,_0x2bb169,_0x34e251,_0xefad2f,_0x99a342,_0x2ecab9,_0xa29a47,_0xb6f2ca,_0x4ed998,_0x1093b5,_0x3c78c7,_0xe08a77){var _0x487059=_0x7a64ab;super(_0x25a3d,_0x14cbaf,_0x36ec56,_0x2bb169,_0x99a342,_0x4ed998,_0x1093b5,_0xa29a47,_0xe08a77),N(this,_0x487059(0x249),_0x487059(0x333)),(this['_acknowledgedAwaitingChangeset']=_0x34e251,this[_0x487059(0x32a)]=_0xefad2f,this[_0x487059(0x2bd)]=_0x2ecab9,this['_logService']=_0xb6f2ca,this[_0x487059(0x4b2)]=_0x3c78c7,this['localCacheService']=_0xe08a77);}[_0x7a64ab(0x450)](_0x1d1b6f){var _0xe917b5=_0x7a64ab;try{const _0x54438c=[..._0x1d1b6f,...this[_0xe917b5(0x32a)]],_0x5d8340=[this[_0xe917b5(0x425)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x47cd1f=>!!_0x47cd1f);let _0x13cb34,_0x565170;if(_0x5d8340[_0xe917b5(0x2a4)]){const _0x1bee1b=this[_0xe917b5(0x4b2)][_0xe917b5(0x2a2)](_0x54438c,_0x5d8340,!0x1);if(!_0x483429(_0x1bee1b))throw _0x1bee1b[_0xe917b5(0x3e9)];_0x13cb34=_0x1bee1b[_0xe917b5(0x3e1)],_0x565170=_0x1bee1b[_0xe917b5(0x21e)];}else _0x13cb34=_0x54438c,_0x565170=[];let _0x32c55e=this['_pendingMutations'];_0x13cb34[_0xe917b5(0x424)](_0x342c0a=>{var _0x5c773e=_0xe917b5;let _0x49bd9c;if(_0x32c55e[_0x5c773e(0x2a4)]){const _0x2cd0d4=this['_transformService'][_0x5c773e(0x4bd)](_0x342c0a,_0x32c55e);if(!_0x2ed178(_0x2cd0d4))throw _0x2cd0d4[_0x5c773e(0x3e9)];_0x49bd9c=_0x2cd0d4[_0x5c773e(0x3e1)],_0x32c55e=_0x2cd0d4[_0x5c773e(0x2c9)];}else _0x49bd9c=_0x342c0a;this[_0x5c773e(0x3b8)](_0x49bd9c);}),this['_acknowledgedAwaitingChangeset']&&this[_0xe917b5(0x263)](),this[_0xe917b5(0x425)]&&_0x565170['length']&&(_0x565170[0x0]['baseRev']=this['_getCurrentRevision']());let _0x34b014;if(this[_0xe917b5(0x425)]&&_0x32c55e[_0xe917b5(0x2a4)]!==0x0)_0x34b014=this[_0xe917b5(0x2bd)][_0xe917b5(0x413)](oe,this[_0xe917b5(0x3aa)],this[_0xe917b5(0x267)],_0x565170[0x0],_0x32c55e,this['_handler'],void 0x0);else{if(this[_0xe917b5(0x425)]&&_0x32c55e['length']===0x0)_0x565170[0x0]['baseRev']=this[_0xe917b5(0x2ef)](),_0x34b014=this[_0xe917b5(0x2bd)][_0xe917b5(0x413)](le,this[_0xe917b5(0x3aa)],this[_0xe917b5(0x267)],_0x565170[0x0],this[_0xe917b5(0x403)]);else{if(_0x32c55e['length']!==0x0){const _0x3b3961=this[_0xe917b5(0x2bd)][_0xe917b5(0x413)](ae,this[_0xe917b5(0x3aa)],this['type'],_0x32c55e,this[_0xe917b5(0x403)]);_0x3b3961[_0xe917b5(0x31d)](),_0x34b014=_0x3b3961;}else _0x34b014=this['_injector'][_0xe917b5(0x413)](Ne,this[_0xe917b5(0x3aa)],this[_0xe917b5(0x267)],this[_0xe917b5(0x403)]);}}return _0x34b014[_0xe917b5(0x234)](),_0x34b014;}catch(_0x190082){return this[_0xe917b5(0x485)]['error'](_0xe917b5(0x439),_0xe917b5(0x470),_0x190082),this[_0xe917b5(0x2bd)]['createInstance'](ue,this[_0xe917b5(0x3aa)],this['type'],this[_0xe917b5(0x425)],this[_0xe917b5(0x2cd)],this['_handler'],!0x1);}}[_0x7a64ab(0x4b7)](){var _0x2a0faf=_0x7a64ab;throw new Error(_0x2a0faf(0x209));}['appendMutation'](_0x57d2d1){var _0x3b9885=_0x7a64ab;return this['_pendingMutations'][_0x3b9885(0x452)](_0x57d2d1),this;}[_0x7a64ab(0x1f0)](_0x59a75f){var _0x275d48=_0x7a64ab;return this[_0x275d48(0x32a)]['push'](_0x59a75f),this;}[_0x7a64ab(0x3d4)](_0x34b574){var _0x5b3a16=_0x7a64ab;if(this['_awaitingChangeset'])return this[_0x5b3a16(0x4c8)]=this[_0x5b3a16(0x425)],this['_awaitingChangeset']=null,this;throw new Error(_0x5b3a16(0x1e6));}['onRemoteRej'](_0x33e9c1){var _0x2c298a=_0x7a64ab;return this[_0x2c298a(0x319)](!!(_0x33e9c1!=null&&_0x33e9c1[_0x2c298a(0x296)]));}['onRemoteRetry'](){return this;}[_0x7a64ab(0x380)](){var _0x1e4964=_0x7a64ab;return this[_0x1e4964(0x2bd)][_0x1e4964(0x413)](de,this['unitID'],this['type'],this[_0x1e4964(0x425)],this['_pendingMutations'],this['_handler']);}[_0x7a64ab(0x1f1)](){return this;}[_0x7a64ab(0x319)](_0x3f3e34){var _0x16e07b=_0x7a64ab;return this[_0x16e07b(0x2bd)][_0x16e07b(0x413)](ue,this['unitID'],this['type'],this[_0x16e07b(0x425)],this[_0x16e07b(0x2cd)],this[_0x16e07b(0x403)],_0x3f3e34);}};ee=Te([P(0x7,_0x2d7d4c(_0x135851)),P(0x8,_0x2d7d4c(_0x7ae9da)),P(0x9,_0x32ff17),P(0xa,_0x6cb33f),P(0xb,_0x4ba99b),P(0xc,_0x173ba8),P(0xd,_0x104c75(J))],ee);function Oi(_0x14e875,_0xe3ba04,_0x5c5575,_0x4033cd,_0xe0ee01,_0xfcbb7d){var _0x159f5e=_0x7a64ab;return _0x4033cd&&_0xe0ee01[_0x159f5e(0x2a4)]?_0x14e875[_0x159f5e(0x413)](oe,_0xe3ba04,_0x5c5575,_0x4033cd,_0xe0ee01,_0xfcbb7d,void 0x0):_0x4033cd?_0x14e875[_0x159f5e(0x413)](le,_0xe3ba04,_0x5c5575,_0x4033cd,_0xfcbb7d):_0xe0ee01[_0x159f5e(0x2a4)]?_0x14e875[_0x159f5e(0x413)](ae,_0xe3ba04,_0x5c5575,_0xe0ee01,_0xfcbb7d):_0x14e875['createInstance'](Ne,_0xe3ba04,_0x5c5575,_0xfcbb7d);}var ar=Object['getOwnPropertyDescriptor'],xt=(_0x51e19c,_0x3738e6,_0x2bc39a,_0x34bc27)=>{var _0xe42485=_0x7a64ab;for(var _0x39a868=_0x34bc27>0x1?void 0x0:_0x34bc27?ar(_0x3738e6,_0x2bc39a):_0x3738e6,_0x4262f9=_0x51e19c[_0xe42485(0x2a4)]-0x1,_0x334664;_0x4262f9>=0x0;_0x4262f9--)(_0x334664=_0x51e19c[_0x4262f9])&&(_0x39a868=_0x334664(_0x39a868)||_0x39a868);return _0x39a868;},H=(_0x56a39a,_0x55444e)=>(_0x10e83a,_0xa98e57)=>_0x55444e(_0x10e83a,_0xa98e57,_0x56a39a);let nt=class extends _0x33b33a{constructor(_0x299ce5,_0x418287,_0x31fab6,_0x57e17e,_0x416ee9,_0x2cfdef,_0x5e305c,_0x420c3d,_0x19aa59,_0xafc74f,_0x498b48,_0x4995eb,_0x5a8509){var _0x5e7da7=_0x7a64ab;super(),N(this,_0x5e7da7(0x212),new _0x26007b(null)),N(this,_0x5e7da7(0x2f5),this['_state$'][_0x5e7da7(0x310)]()),N(this,_0x5e7da7(0x423)),N(this,_0x5e7da7(0x3c9),!0x1),N(this,'_changesetSessionId',''),N(this,_0x5e7da7(0x247),0x0),N(this,_0x5e7da7(0x49e),this[_0x5e7da7(0x2f5)]['pipe'](_0x2db3ab(_0x22c034=>_0x22c034?_0x22c034['status']:bi['OFFLINE']),_0x15bfba(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x5e7da7(0x317),[]),(this[_0x5e7da7(0x3aa)]=_0x299ce5,this[_0x5e7da7(0x38e)]=_0x418287,this[_0x5e7da7(0x399)]=_0x31fab6,this[_0x5e7da7(0x2bd)]=_0x57e17e,this[_0x5e7da7(0x210)]=_0x416ee9,this['_localeService']=_0x2cfdef,this[_0x5e7da7(0x233)]=_0x5e305c,this[_0x5e7da7(0x402)]=_0x420c3d,this[_0x5e7da7(0x485)]=_0x19aa59,this[_0x5e7da7(0x2ba)]=_0xafc74f,this[_0x5e7da7(0x221)]=_0x498b48,this[_0x5e7da7(0x269)]=_0x4995eb,this[_0x5e7da7(0x36c)]=_0x5a8509);}get[_0x7a64ab(0x309)](){var _0x83bc0d=_0x7a64ab;return this[_0x83bc0d(0x423)];}async['init'](){var _0x8a593e=_0x7a64ab;if(this['state'])throw new Error(_0x8a593e(0x35f));await this[_0x8a593e(0x476)]();}[_0x7a64ab(0x206)](){var _0x4fa4a8=_0x7a64ab;return this[_0x4fa4a8(0x3c9)]=!0x0,_0x2b08c3(()=>{var _0x1ae3e9=_0x4fa4a8;this['_collaborationPaused']=!0x1,this[_0x1ae3e9(0x479)]();});}[_0x7a64ab(0x278)](_0x2fdf79){var _0x265e4c=_0x7a64ab;this[_0x265e4c(0x211)](_0x2fdf79);}[_0x7a64ab(0x46e)](_0x34bddf){var _0x263565=_0x7a64ab;this[_0x263565(0x423)]=_0x34bddf,this['_state$'][_0x263565(0x4c3)](_0x34bddf);}async[_0x7a64ab(0x476)](){var _0x3fd0fd=_0x7a64ab,_0x5bfc1f;this[_0x3fd0fd(0x46e)](await this[_0x3fd0fd(0x33a)]()),this[_0x3fd0fd(0x269)]&&((_0x5bfc1f=this[_0x3fd0fd(0x269)])==null||_0x5bfc1f[_0x3fd0fd(0x372)](this[_0x3fd0fd(0x3aa)]),this[_0x3fd0fd(0x4d0)](this[_0x3fd0fd(0x269)]['getUnitStatus$'](this['unitID'])[_0x3fd0fd(0x2cc)](_0x2dda82=>{var _0xe6e527=_0x3fd0fd;this['_logService'][_0xe6e527(0x203)](_0xe6e527(0x283),_0xe6e527(0x1e3),_0x2dda82),_0x2dda82===Ci[_0xe6e527(0x3dc)]?(this[_0xe6e527(0x402)][_0xe6e527(0x2d7)]({'id':se[_0xe6e527(0x460)]}),this['_permissionService']['updatePermissionPoint'](new _0x4c9e1f(this['unitID'])['id'],!0x1),this['_permissionService'][_0xe6e527(0x2ae)](!0x1)):(this[_0xe6e527(0x221)][_0xe6e527(0x44d)](new _0x4c9e1f(this[_0xe6e527(0x3aa)])['id'],!0x0),this['_permissionService'][_0xe6e527(0x2ae)](!0x0));})));let _0x1dffe7=!0x1;return this[_0x3fd0fd(0x4d0)](this[_0x3fd0fd(0x38e)][_0x3fd0fd(0x45e)]['subscribe'](_0x55ded8=>{var _0x327bdf=_0x3fd0fd;_0x55ded8===Ee['ONLINE']?this[_0x327bdf(0x454)](_0x1dffe7):_0x55ded8===Ee[_0x327bdf(0x2af)]&&(_0x1dffe7=!0x0,this[_0x327bdf(0x3d7)]());})),this[_0x3fd0fd(0x4d0)](this[_0x3fd0fd(0x38e)][_0x3fd0fd(0x1e7)][_0x3fd0fd(0x2cc)](_0x48044c=>{var _0x2bfcbe=_0x3fd0fd;try{switch(_0x48044c[_0x2bfcbe(0x1f5)]){case _0x2331db[_0x2bfcbe(0x23c)]:{this[_0x2bfcbe(0x334)](_0x1b792d(_0x48044c['data']));break;}case _0x2331db[_0x2bfcbe(0x312)]:{this['_onRemoteACK'](_0x48044c[_0x2bfcbe(0x36e)]);break;}case _0x2331db[_0x2bfcbe(0x3b9)]:{this[_0x2bfcbe(0x30a)]();break;}case _0x2331db[_0x2bfcbe(0x349)]:{this['_onRemoteRetry'](_0x48044c[_0x2bfcbe(0x36e)]);break;}case _0x2331db[_0x2bfcbe(0x3a1)]:{this[_0x2bfcbe(0x282)](_0x48044c[_0x2bfcbe(0x36e)][_0x2bfcbe(0x364)][_0x2bfcbe(0x2cb)](_0xbd8e13=>_0x1b792d(_0xbd8e13)));break;}case _0x2331db[_0x2bfcbe(0x404)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2331db['UNISCRIPT_RUN']:break;}}catch(_0x403b0f){throw console[_0x2bfcbe(0x3e9)](_0x2bfcbe(0x46c),_0x403b0f),_0x403b0f;}})),this[_0x3fd0fd(0x423)];}[_0x7a64ab(0x393)](){var _0x5449d0=_0x7a64ab;this[_0x5449d0(0x488)]=!0x1;}[_0x7a64ab(0x359)](){var _0x35241e=_0x7a64ab;if(this['_transitionLocked'])throw new Error(_0x35241e(0x4d7));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0xbb8d97){var _0x254d8a=_0x7a64ab;this[_0x254d8a(0x359)](),this['_updateState'](this['_state'][_0x254d8a(0x3cc)](_0xbb8d97)),this['_unlockTransition']();}[_0x7a64ab(0x334)](_0x3afaa6){var _0x22bb18=_0x7a64ab;if(!(_0x3afaa6[_0x22bb18(0x336)]<=this[_0x22bb18(0x233)][_0x22bb18(0x28c)](this[_0x22bb18(0x3aa)]))){if(this[_0x22bb18(0x3c9)]){this[_0x22bb18(0x317)][_0x22bb18(0x452)](_0x3afaa6);return;}this[_0x22bb18(0x493)](_0x3afaa6);}}[_0x7a64ab(0x479)](){var _0x4b043f=_0x7a64ab;this[_0x4b043f(0x317)][_0x4b043f(0x424)](_0x4e3b9e=>this[_0x4b043f(0x493)](_0x4e3b9e)),this[_0x4b043f(0x317)]=[];}[_0x7a64ab(0x493)](_0x1fc1bc){var _0x356b1a=_0x7a64ab;const _0x5660e6=this[_0x356b1a(0x210)][_0x356b1a(0x483)][_0x356b1a(0x3ab)](this[_0x356b1a(0x210)][_0x356b1a(0x483)][_0x356b1a(0x3b0)]()[_0x356b1a(0x40d)])(_0x1fc1bc['mutations'],null)||_0x1fc1bc[_0x356b1a(0x3c4)],_0x541442={..._0x1fc1bc,'mutations':_0x5660e6};this[_0x356b1a(0x359)](),this[_0x356b1a(0x46e)](this[_0x356b1a(0x423)]['onRemoteChangeset'](_0x541442)),this[_0x356b1a(0x393)]();}[_0x7a64ab(0x215)](_0x52d416){var _0x299690=_0x7a64ab;this[_0x299690(0x359)](),this[_0x299690(0x46e)](this['_state']['onRemoteAck'](_0x52d416)),this[_0x299690(0x393)]();}[_0x7a64ab(0x30a)](_0x323b50){var _0x2070bc=_0x7a64ab;this['_lockTransition'](),this[_0x2070bc(0x46e)](this[_0x2070bc(0x423)][_0x2070bc(0x217)](_0x323b50)),this['_unlockTransition']();}[_0x7a64ab(0x44e)](_0x10fdee){var _0x48a016=_0x7a64ab;this[_0x48a016(0x359)](),this[_0x48a016(0x46e)](this[_0x48a016(0x423)]['onRemoteRetry'](_0x10fdee)),this[_0x48a016(0x393)]();}[_0x7a64ab(0x282)](_0x587795){var _0x397685=_0x7a64ab;if(!(this['_state']instanceof ee))throw new TypeError(_0x397685(0x2e7));const _0x2b02ca=_0x587795[_0x397685(0x2cb)](_0x5705d5=>{var _0x585fd1=_0x397685;const _0x210c1a=this[_0x585fd1(0x210)][_0x585fd1(0x483)][_0x585fd1(0x3ab)](this['_compressMutationService'][_0x585fd1(0x483)][_0x585fd1(0x3b0)]()['COMPRESS_MUTATION_APPLY'])(_0x5705d5[_0x585fd1(0x3c4)],null)||_0x5705d5[_0x585fd1(0x3c4)];return{..._0x5705d5,'mutations':_0x210c1a};});this['_lockTransition'](),this[_0x397685(0x46e)](this[_0x397685(0x423)]['onMissedChangesetFetched'](_0x2b02ca)),this[_0x397685(0x393)]();}[_0x7a64ab(0x3d7)](){var _0x20ab4d=_0x7a64ab;this[_0x20ab4d(0x359)](),this[_0x20ab4d(0x46e)](this[_0x20ab4d(0x423)][_0x20ab4d(0x380)]()),this[_0x20ab4d(0x393)]();}[_0x7a64ab(0x454)](_0x5138d4=!0x1){var _0x2767a1=_0x7a64ab;this[_0x2767a1(0x359)](),this[_0x2767a1(0x46e)](this[_0x2767a1(0x423)][_0x2767a1(0x1f1)]()),this[_0x2767a1(0x393)]();const _0x41d6fc=this[_0x2767a1(0x423)];_0x5138d4&&_0x41d6fc instanceof Ne&&(this[_0x2767a1(0x359)](),this[_0x2767a1(0x46e)](_0x41d6fc['fetchMiss']()),this['_unlockTransition']());}async[_0x7a64ab(0x33a)](){return new Promise(_0x189ccb=>{var _0x1548f5=_0x5205;this['session'][_0x1548f5(0x45e)]['pipe'](_0xb8df33(0x1))['subscribe'](async _0x5f4043=>{var _0x5b0875=_0x1548f5;_0x189ccb(await this[_0x5b0875(0x3e8)](_0x5f4043===Ee[_0x5b0875(0x32b)]));});});}[_0x7a64ab(0x23b)](){var _0x2c9d49=_0x7a64ab;const _0xd68fb4=this[_0x2c9d49(0x3aa)];return{'onStateChange':(_0x6338a7,_0x9e8a80)=>{var _0x39f278=_0x2c9d49;if(_0x6338a7!==this[_0x39f278(0x423)])throw new Error(_0x39f278(0x26f)+_0x6338a7[_0x39f278(0x249)]+_0x39f278(0x448)+_0x9e8a80['status']+_0x39f278(0x225)+this[_0x39f278(0x423)][_0x39f278(0x249)]);this[_0x39f278(0x46e)](_0x9e8a80);},'onSendChangeset':_0x123b2f=>{var _0x28eb14=_0x2c9d49;_0x123b2f[_0x28eb14(0x24b)]||(_0x123b2f[_0x28eb14(0x24b)]=this['_changesetSessionId'],_0x123b2f[_0x28eb14(0x39b)]=++this[_0x28eb14(0x247)]);const _0x51f548={'eventID':_0x2331db[_0x28eb14(0x302)],'data':{'unitID':_0x123b2f[_0x28eb14(0x3aa)],'unitType':this[_0x28eb14(0x399)],'changeset':_0x123b2f,'memberID':this[_0x28eb14(0x38e)][_0x28eb14(0x251)]()}};this['session'][_0x28eb14(0x490)](_0x51f548,this[_0x28eb14(0x3aa)]);},'onMissingChangesets':({from:_0x195610,to:_0x4b3547})=>{var _0x4b10c0=_0x2c9d49;this[_0x4b10c0(0x485)][_0x4b10c0(0x203)](_0x4b10c0(0x283),'fetching\x20missing\x20changesets\x20from\x20'+_0x195610+_0x4b10c0(0x43a)+_0x4b3547);const _0x24625b={'eventID':_0x2331db['FETCH_MISSING'],'data':{'unitID':_0xd68fb4,'unitType':this[_0x4b10c0(0x399)],'from':_0x195610,'to':_0x4b3547}};this[_0x4b10c0(0x38e)][_0x4b10c0(0x490)](_0x24625b,this[_0x4b10c0(0x3aa)]);}};}async[_0x7a64ab(0x3e8)](_0x1ba38b){var _0x30fd99=_0x7a64ab,_0x50b8ea,_0x2e6e3d,_0x373bf5;const _0x29ebb0=await((_0x50b8ea=this[_0x30fd99(0x36c)])==null?void 0x0:_0x50b8ea[_0x30fd99(0x367)](this[_0x30fd99(0x3aa)])),_0x62ae46=(_0x2e6e3d=_0x29ebb0==null?void 0x0:_0x29ebb0[_0x30fd99(0x3c4)])!=null?_0x2e6e3d:[],_0x4a32c8=(_0x373bf5=_0x29ebb0==null?void 0x0:_0x29ebb0['awaitingChangeset'])!=null?_0x373bf5:null,_0x75022d=!!(_0x4a32c8!=null&&_0x4a32c8[_0x30fd99(0x24b)])&&!!(_0x4a32c8!=null&&_0x4a32c8[_0x30fd99(0x39b)]);this['_changesetSessionId']=_0x75022d?_0x4a32c8[_0x30fd99(0x24b)]:Zn(),this['_changesetReqId']=_0x75022d?_0x4a32c8[_0x30fd99(0x39b)]:0x0;const _0x3538d9=this['unitID'];try{this['_replayCachedMutations'](_0x4a32c8,_0x62ae46);}catch(_0x539c04){this['_logService']['error'](_0x539c04);}const _0x561597=this['_createHandler']();if(_0x1ba38b){const _0x37e74f=Oi(this[_0x30fd99(0x2bd)],_0x3538d9,this[_0x30fd99(0x399)],_0x4a32c8,_0x62ae46,_0x561597);return _0x37e74f instanceof ae?_0x37e74f[_0x30fd99(0x31d)]():(_0x37e74f instanceof oe||_0x37e74f instanceof le)&&_0x37e74f[_0x30fd99(0x4b7)](),_0x37e74f;}return this[_0x30fd99(0x2bd)][_0x30fd99(0x413)](de,_0x3538d9,this[_0x30fd99(0x399)],_0x4a32c8,_0x62ae46,_0x561597);}[_0x7a64ab(0x390)](_0x3b06b1,_0x3f1664){var _0x34afb9=_0x7a64ab,_0x33a20c,_0x3fbd09;const _0x28ad7e=this['_compressMutationService'][_0x34afb9(0x483)][_0x34afb9(0x3ab)](this[_0x34afb9(0x210)][_0x34afb9(0x483)][_0x34afb9(0x3b0)]()['COMPRESS_MUTATION_APPLY']);(_0x33a20c=_0x28ad7e((_0x3b06b1==null?void 0x0:_0x3b06b1[_0x34afb9(0x3c4)])||[],null))==null||_0x33a20c['forEach'](_0x2c73be=>this[_0x34afb9(0x2ba)][_0x34afb9(0x322)](_0x2c73be['id'],_0x2c73be[_0x34afb9(0x2b2)])),(_0x3fbd09=_0x28ad7e(_0x3f1664||[],null))==null||_0x3fbd09[_0x34afb9(0x424)](_0x5e1e02=>this['_commandService'][_0x34afb9(0x322)](_0x5e1e02['id'],_0x5e1e02['params']));}};nt=xt([H(0x3,_0x2d7d4c(_0x135851)),H(0x4,_0x2d7d4c(_0x44d124)),H(0x5,_0x2d7d4c(_0x229d1b)),H(0x6,_0x2d7d4c(_0x7ae9da)),H(0x7,_0x2d7d4c(pe)),H(0x8,_0x32ff17),H(0x9,_0x6cb33f),H(0xa,_0x4d17f9),H(0xb,_0x104c75(ht)),H(0xc,_0x104c75(J))],nt);let It=class extends nt{constructor(_0x3f1408,_0x33e5e1,_0x4b890d,_0x1aa854,_0x4d3053,_0x1b279b,_0x4f0498,_0xcf5666,_0x1db4fa,_0xa1148f,_0x1bb928,_0x3cf967,_0x2afb52){var _0x3261ef=_0x7a64ab;super(_0x3f1408,_0x4b890d,_0x33e5e1,_0x1aa854,_0x4d3053,_0x1b279b,_0x4f0498,_0xcf5666,_0x1db4fa,_0xa1148f,_0x1bb928,_0x3cf967,_0x2afb52),N(this,_0x3261ef(0x2be),null),(this[_0x3261ef(0x3aa)]=_0x3f1408,this[_0x3261ef(0x267)]=_0x33e5e1);}[_0x7a64ab(0x2ff)](_0xeed885){var _0xa59085=_0x7a64ab;this[_0xa59085(0x2be)]=_0xeed885;}[_0x7a64ab(0x301)](){var _0x349d14=_0x7a64ab;this[_0x349d14(0x2be)]=null,super['dispose']();}[_0x7a64ab(0x23b)](){var _0x53dd8a=_0x7a64ab;const _0x266557=super['_createHandler']();return _0x266557[_0x53dd8a(0x2bc)]=_0x5a4f8f=>{var _0x289547=_0x53dd8a,_0x26055f,_0x5575b3;return(_0x5575b3=(_0x26055f=this[_0x289547(0x2be)])==null?void 0x0:_0x26055f[_0x289547(0x2bc)])==null?void 0x0:_0x5575b3[_0x289547(0x31a)](_0x26055f,_0x5a4f8f);},_0x266557[_0x53dd8a(0x3f8)]=_0x1bf3ef=>{var _0x4fada8=_0x53dd8a,_0xe783,_0x58fd02;return(_0x58fd02=(_0xe783=this[_0x4fada8(0x2be)])==null?void 0x0:_0xe783[_0x4fada8(0x3f8)])==null?void 0x0:_0x58fd02[_0x4fada8(0x31a)](_0xe783,_0x1bf3ef);},_0x266557[_0x53dd8a(0x4ba)]=_0x1066a1=>{var _0x427c44=_0x53dd8a,_0x96b73,_0xf1d3c9;return(_0xf1d3c9=(_0x96b73=this[_0x427c44(0x2be)])==null?void 0x0:_0x96b73['onTransformSelections'])==null?void 0x0:_0xf1d3c9[_0x427c44(0x31a)](_0x96b73,_0x1066a1);},_0x266557[_0x53dd8a(0x2f2)]=_0x1709a=>{var _0x414269=_0x53dd8a,_0x1e82a4,_0x493c05;return(_0x493c05=(_0x1e82a4=this['_handlerCallback'])==null?void 0x0:_0x1e82a4[_0x414269(0x2f2)])==null?void 0x0:_0x493c05['call'](_0x1e82a4,_0x1709a);},_0x266557['onTransformRemoteChangesetByIMECache']=_0x54de21=>{var _0x57f737=_0x53dd8a,_0x2ee92e,_0x406ddd,_0x514c0a;if(!((_0x2ee92e=this[_0x57f737(0x2be)])!=null&&_0x2ee92e[_0x57f737(0x37d)]))throw new Error(_0x57f737(0x49c));return(_0x514c0a=(_0x406ddd=this[_0x57f737(0x2be)])==null?void 0x0:_0x406ddd[_0x57f737(0x37d)])==null?void 0x0:_0x514c0a[_0x57f737(0x31a)](_0x406ddd,_0x54de21);},_0x266557[_0x53dd8a(0x471)]=_0x375d47=>{var _0x65f663=_0x53dd8a,_0x17ff93,_0x1816d7,_0x38483c;if(!((_0x17ff93=this[_0x65f663(0x2be)])!=null&&_0x17ff93[_0x65f663(0x471)]))throw new Error(_0x65f663(0x3f3));return(_0x38483c=(_0x1816d7=this[_0x65f663(0x2be)])==null?void 0x0:_0x1816d7[_0x65f663(0x471)])==null?void 0x0:_0x38483c[_0x65f663(0x31a)](_0x1816d7,_0x375d47);},_0x266557;}async['_init'](){var _0x387e02=_0x7a64ab;const _0x12e364=await super[_0x387e02(0x476)]();return this[_0x387e02(0x4d0)](this[_0x387e02(0x2ba)][_0x387e02(0x3c3)]((_0x101911,_0x82490c)=>{var _0x983151=_0x387e02;if(_0x101911[_0x983151(0x267)]!==_0x20785a[_0x983151(0x4ae)]||_0x82490c!=null&&_0x82490c[_0x983151(0x238)]||_0x82490c!=null&&_0x82490c[_0x983151(0x31f)]||_0x101911['id']===_0x4d58d8['id'])return;const _0x251e5c=_0x101911[_0x983151(0x2b2)];if((_0x251e5c==null?void 0x0:_0x251e5c[_0x983151(0x1dc)])!==this[_0x983151(0x3aa)])return;const _0x537668=_0x101911,_0x2a8506=this['_compressMutationService'][_0x983151(0x483)]['fetchThroughInterceptors'](this[_0x983151(0x210)][_0x983151(0x483)][_0x983151(0x3b0)]()[_0x983151(0x226)])([_0x537668],null)||[_0x537668];this[_0x983151(0x211)](_0x2a8506[0x0]);})),_0x12e364;}};It=xt([H(0x3,_0x2d7d4c(_0x135851)),H(0x4,_0x2d7d4c(_0x44d124)),H(0x5,_0x2d7d4c(_0x229d1b)),H(0x6,_0x2d7d4c(_0x7ae9da)),H(0x7,_0x2d7d4c(pe)),H(0x8,_0x32ff17),H(0x9,_0x6cb33f),H(0xa,_0x4d17f9),H(0xb,_0x104c75(ht)),H(0xc,_0x104c75(J))],It);let Tt=class extends nt{constructor(_0x5e1251,_0x273987,_0x29771a,_0x466aa4,_0x514f63,_0x5945fe,_0x187a39,_0x240c47,_0x1e8872,_0x5e8192,_0x4fade1,_0x48b575,_0x32f1ee,_0x141fb1){var _0x222468=_0x7a64ab;super(_0x5e1251,_0x29771a,_0x273987,_0x466aa4,_0x514f63,_0x5945fe,_0x187a39,_0x1e8872,_0x5e8192,_0x4fade1,_0x48b575,_0x32f1ee,_0x141fb1),this[_0x222468(0x3aa)]=_0x5e1251,this['type']=_0x273987,this[_0x222468(0x2c7)]=_0x240c47;}[_0x7a64ab(0x23b)](){var _0x444920=_0x7a64ab;const _0x47f8ed=super[_0x444920(0x23b)]();return _0x47f8ed[_0x444920(0x4ba)]=_0x1dec84=>this[_0x444920(0x2c7)][_0x444920(0x303)](_0x1dec84),_0x47f8ed;}async[_0x7a64ab(0x476)](){var _0x2be47b=_0x7a64ab;const _0x26be2d=await super[_0x2be47b(0x476)]();return this['disposeWithMe'](this[_0x2be47b(0x2ba)][_0x2be47b(0x3c3)]((_0x9b113b,_0x343017)=>{var _0x2eeb14=_0x2be47b;if(_0x9b113b[_0x2eeb14(0x267)]!==_0x20785a[_0x2eeb14(0x4ae)]||_0x343017!=null&&_0x343017['fromCollab']||_0x343017!=null&&_0x343017[_0x2eeb14(0x31f)])return;const _0x483820=_0x9b113b[_0x2eeb14(0x2b2)];if((_0x483820==null?void 0x0:_0x483820[_0x2eeb14(0x1dc)])!==this[_0x2eeb14(0x3aa)])return;const _0x56001d=_0x9b113b,_0x398310=this[_0x2eeb14(0x210)]['interceptor'][_0x2eeb14(0x3ab)](this[_0x2eeb14(0x210)][_0x2eeb14(0x483)][_0x2eeb14(0x3b0)]()['COMPRESS_MUTATION_SEND'])([_0x56001d],null)||[_0x56001d];this[_0x2eeb14(0x211)](_0x398310[0x0]);})),_0x26be2d;}};Tt=xt([H(0x3,_0x2d7d4c(_0x135851)),H(0x4,_0x2d7d4c(_0x44d124)),H(0x5,_0x2d7d4c(_0x229d1b)),H(0x6,_0x2d7d4c(_0x7ae9da)),H(0x7,_0x2d7d4c(it)),H(0x8,_0x2d7d4c(pe)),H(0x9,_0x32ff17),H(0xa,_0x6cb33f),H(0xb,_0x4d17f9),H(0xc,_0x104c75(ht)),H(0xd,_0x104c75(J))],Tt);var or=Object[_0x7a64ab(0x374)],cr=(_0x414c02,_0x25db67,_0x117a1a,_0x5426be)=>{var _0x45faf5=_0x7a64ab;for(var _0x3f48a5=_0x5426be>0x1?void 0x0:_0x5426be?or(_0x25db67,_0x117a1a):_0x25db67,_0x1de57c=_0x414c02[_0x45faf5(0x2a4)]-0x1,_0x470050;_0x1de57c>=0x0;_0x1de57c--)(_0x470050=_0x414c02[_0x1de57c])&&(_0x3f48a5=_0x470050(_0x3f48a5)||_0x3f48a5);return _0x3f48a5;},ft=(_0x205e98,_0x14f92f)=>(_0x2a5ba2,_0x1562dd)=>_0x14f92f(_0x2a5ba2,_0x1562dd,_0x205e98);let rt=class extends _0x33b33a{constructor(_0x434a51,_0x11637f,_0x4281d9){var _0x1a0ef1=_0x7a64ab;super(),N(this,_0x1a0ef1(0x237),new Map()),N(this,'_entityInit$',new _0x218c1f()),N(this,_0x1a0ef1(0x43d),this[_0x1a0ef1(0x3ee)][_0x1a0ef1(0x310)]()),(this['_injector']=_0x434a51,this[_0x1a0ef1(0x1e9)]=_0x11637f,this[_0x1a0ef1(0x40f)]=_0x4281d9,this[_0x1a0ef1(0x476)]());}[_0x7a64ab(0x301)](){var _0xc2644e=_0x7a64ab;super[_0xc2644e(0x301)](),this[_0xc2644e(0x237)][_0xc2644e(0x424)](_0x3adbe7=>_0x3adbe7[_0xc2644e(0x301)]()),this[_0xc2644e(0x237)]['clear']();}[_0x7a64ab(0x338)](_0x11d7af){var _0x4e6099=_0x7a64ab,_0x3e235d;return(_0x3e235d=this[_0x4e6099(0x237)][_0x4e6099(0x2f1)](_0x11d7af))!=null?_0x3e235d:null;}['getCollabEntity$'](_0x4667e3){var _0x5a2a3=_0x7a64ab;const _0x4e976d=this[_0x5a2a3(0x338)](_0x4667e3);return _0x4e976d?_0x22c400(_0x4e976d):this['_entityInit$']['pipe'](_0x18e19e(_0x26fe46=>_0x26fe46['unitID']===_0x4667e3));}[_0x7a64ab(0x29e)](_0x5d16fd){var _0x4b6388=_0x7a64ab;return _0x4eea1f(this[_0x4b6388(0x45c)](_0x5d16fd)['pipe'](_0x18def8(()=>{})));}[_0x7a64ab(0x476)](){var _0x234de4=_0x7a64ab;this['_univerInstanceService'][_0x234de4(0x3ba)](_0x4ed2ec['UNIVER_SHEET'])[_0x234de4(0x348)](_0xee9ecd(this['dispose$']),_0x36eff6(0x10))[_0x234de4(0x2cc)](async _0x86ffaa=>{var _0x465ae0=_0x234de4;const _0x4ec684=_0x86ffaa[_0x465ae0(0x461)](),_0x32a3fc=await this[_0x465ae0(0x3e5)](_0x4ec684,Q['UNIVER_SHEET']);this[_0x465ae0(0x237)][_0x465ae0(0x20b)](_0x4ec684,_0x32a3fc);}),this[_0x234de4(0x40f)][_0x234de4(0x3ba)](_0x4ed2ec[_0x234de4(0x258)])['pipe'](_0xee9ecd(this[_0x234de4(0x351)]),_0x36eff6(0x10))[_0x234de4(0x348)](_0x18e19e(_0x5e7777=>!_0x5e7777['getUnitId']()[_0x234de4(0x27d)]('__')))[_0x234de4(0x2cc)](async _0x43df96=>{var _0xaa3251=_0x234de4;const _0x20c553=_0x43df96[_0xaa3251(0x461)](),_0x4bcd50=await this[_0xaa3251(0x3e5)](_0x20c553,Q[_0xaa3251(0x258)]);this[_0xaa3251(0x237)][_0xaa3251(0x20b)](_0x20c553,_0x4bcd50);}),_0x949e09(this[_0x234de4(0x40f)][_0x234de4(0x2ad)](_0x4ed2ec[_0x234de4(0x239)]),this[_0x234de4(0x40f)][_0x234de4(0x2ad)](_0x4ed2ec[_0x234de4(0x258)]))[_0x234de4(0x348)](_0xee9ecd(this['dispose$']))[_0x234de4(0x2cc)](_0x32bd28=>{var _0x3172c8=_0x234de4;const _0x2b75b9=_0x32bd28['getUnitId'](),_0x512d85=this[_0x3172c8(0x237)][_0x3172c8(0x2f1)](_0x2b75b9);_0x512d85&&(_0x512d85[_0x3172c8(0x301)](),this[_0x3172c8(0x237)][_0x3172c8(0x202)](_0x2b75b9));});}async[_0x7a64ab(0x3e5)](_0x3a3483,_0x47bc37){var _0x539d85=_0x7a64ab;const _0x36c24a=await this[_0x539d85(0x1e9)]['requireSession'](_0x3a3483),_0x1c2497=this[_0x539d85(0x2bd)][_0x539d85(0x413)](this[_0x539d85(0x4b8)](_0x47bc37),_0x3a3483,_0x47bc37,_0x36c24a);return await _0x1c2497[_0x539d85(0x327)](),this[_0x539d85(0x3ee)]['next'](_0x1c2497),_0x1c2497;}['_getCtorByUniverType'](_0x4773d7){var _0x329dcf=_0x7a64ab;switch(_0x4773d7){case Q[_0x329dcf(0x258)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x329dcf(0x462)+_0x4773d7);}}};rt=cr([ft(0x0,_0x2d7d4c(_0x135851)),ft(0x1,_0x2d7d4c(Le)),ft(0x2,_0xf65701)],rt);var hr=Object[_0x7a64ab(0x374)],_r=(_0x354b2b,_0x2890ec,_0x518da9,_0x2186f6)=>{var _0x2619d4=_0x7a64ab;for(var _0x2e7c39=_0x2186f6>0x1?void 0x0:_0x2186f6?hr(_0x2890ec,_0x518da9):_0x2890ec,_0x228ec6=_0x354b2b[_0x2619d4(0x2a4)]-0x1,_0x5ac2cf;_0x228ec6>=0x0;_0x228ec6--)(_0x5ac2cf=_0x354b2b[_0x228ec6])&&(_0x2e7c39=_0x5ac2cf(_0x2e7c39)||_0x2e7c39);return _0x2e7c39;},zt=(_0x24b008,_0x5c7beb)=>(_0x2a3af4,_0x33f8b3)=>_0x5c7beb(_0x2a3af4,_0x33f8b3,_0x24b008);const lr='DEFAULT_FILE_NAME',ur=_0x7a64ab(0x3ff);let Ct=class extends _0xc1fe79{constructor(_0x17dcfb,_0x5aad1b){var _0x5bedc3=_0x7a64ab;super(),this[_0x5bedc3(0x40f)]=_0x17dcfb,this['_configService']=_0x5aad1b,this[_0x5bedc3(0x476)]();}['_init'](){var _0x34b2fb=_0x7a64ab;this[_0x34b2fb(0x4d0)](this[_0x34b2fb(0x40f)][_0x34b2fb(0x431)][_0x34b2fb(0x2cc)](()=>{var _0x3bcc7f=_0x34b2fb,_0x1ed835;const _0xac1b69=this['_univerInstanceService'][_0x3bcc7f(0x47b)]();let _0x2ff1bc=(_0x1ed835=this[_0x3bcc7f(0x417)][_0x3bcc7f(0x366)](lr))!=null?_0x1ed835:ur;_0xac1b69 instanceof _0x25e0ae&&(_0x2ff1bc=_0xac1b69['name']),document[_0x3bcc7f(0x2c5)]=_0x2ff1bc;}));}};Ct=_r([zt(0x0,_0xf65701),zt(0x1,_0x5ce478)],Ct);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x18a456,_0x2d6b11,_0x237680,_0x34ce20)=>{for(var _0x380d67=_0x34ce20>0x1?void 0x0:_0x34ce20?dr(_0x2d6b11,_0x237680):_0x2d6b11,_0x481792=_0x18a456['length']-0x1,_0x264124;_0x481792>=0x0;_0x481792--)(_0x264124=_0x18a456[_0x481792])&&(_0x380d67=_0x264124(_0x380d67)||_0x380d67);return _0x380d67;},vt=(_0x531a61,_0x4bfd7e)=>(_0x44f51d,_0xd3dc62)=>_0x4bfd7e(_0x44f51d,_0xd3dc62,_0x531a61);let st=class{constructor(_0x4a885a,_0x2a3d1a,_0x2c8edd){var _0x269f5c=_0x7a64ab;this['_configService']=_0x4a885a,this[_0x269f5c(0x4c9)]=_0x2a3d1a,this['localeService']=_0x2c8edd,this[_0x269f5c(0x327)]();}[_0x7a64ab(0x327)](){var _0x2e1b97=_0x7a64ab;this['_httpService'][_0x2e1b97(0x42c)]({'priority':0x1,'interceptor':(_0x1ea4e3,_0x5362d3)=>_0x5362d3(_0x1ea4e3)[_0x2e1b97(0x348)](_0x583162(async _0xcc6b60=>{var _0x179109=_0x2e1b97;const _0xc99f3e=_0xcc6b60;if(_0xc99f3e[_0x179109(0x249)]===0x191){if(typeof window>'u')throw new Error(_0x179109(0x2b9));if(window[_0x179109(0x436)](this[_0x179109(0x41f)]['t']('auth.needGotoLoginAlert'))){const _0x910993=window['encodeURIComponent'](window[_0x179109(0x42f)][_0x179109(0x24e)]);window[_0x179109(0x42f)][_0x179109(0x24e)]=this['_getLoginPath']()+_0x179109(0x2f6)+_0x910993;}}return _0xc99f3e;}))});}[_0x7a64ab(0x279)](){var _0xaab762=_0x7a64ab,_0x17784d,_0x5985da;const _0x4f96ac=this[_0xaab762(0x417)]['getConfig'](Un),_0x4925a5=this[_0xaab762(0x417)][_0xaab762(0x366)](q);return(_0x5985da=(_0x17784d=_0x4925a5==null?void 0x0:_0x4925a5[_0xaab762(0x288)])!=null?_0x17784d:_0x4f96ac)!=null?_0x5985da:wn;}};st=fr([vt(0x0,_0x5ce478),vt(0x1,_0x2d7d4c(_0x3f3bac)),vt(0x2,_0x2d7d4c(_0x229d1b))],st);var vr=Object[_0x7a64ab(0x374)],pr=(_0x3662fd,_0x1db29e,_0x59a14c,_0x534e04)=>{var _0x50f649=_0x7a64ab;for(var _0x333de7=_0x534e04>0x1?void 0x0:_0x534e04?vr(_0x1db29e,_0x59a14c):_0x1db29e,_0x2f33f8=_0x3662fd[_0x50f649(0x2a4)]-0x1,_0x432af2;_0x2f33f8>=0x0;_0x2f33f8--)(_0x432af2=_0x3662fd[_0x2f33f8])&&(_0x333de7=_0x432af2(_0x333de7)||_0x333de7);return _0x333de7;},Jt=(_0xd49d9d,_0x491d09)=>(_0x15e97a,_0x463f9a)=>_0x491d09(_0x15e97a,_0x463f9a,_0xd49d9d);const Ni=_0x7a64ab(0x295),mr=_0x7a64ab(0x2ce);let Rt=class extends _0xc1fe79{constructor(_0x2c04bd,_0x27499f){var _0x135454=_0x7a64ab;super(),this['_HTTPService']=_0x2c04bd,this[_0x135454(0x417)]=_0x27499f,this[_0x135454(0x4a4)]();}[_0x7a64ab(0x4a4)](){var _0x550773=_0x7a64ab;const _0xc439dc=this;this['disposeWithMe'](this['_HTTPService'][_0x550773(0x42c)]({'priority':0x3e7,'interceptor':_0xb96c7a({'isMatch'(_0x1dca4f){var _0x17640a=_0x550773,_0x4a5d41;if(_0x1dca4f['method']===_0x17640a(0x1ef)&&((_0x4a5d41=_0x1dca4f['requestParams'])!=null&&_0x4a5d41['body'])){const {objectID:_0x26d66f,objectType:_0x54d22b}=_0x1dca4f[_0x17640a(0x34a)][_0x17640a(0x26a)]||{};if(!_0x26d66f||_0x54d22b===void 0x0)return!0x1;const _0xe18c4a=_0xc439dc[_0x17640a(0x2e9)]()+'/'+_0x54d22b+_0x17640a(0x444)+_0x26d66f+_0x17640a(0x24a);if(_0x1dca4f[_0x17640a(0x3b6)]===_0xe18c4a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19655b){var _0x8a9322=_0x550773,_0x3047c3;return(_0x3047c3=_0x19655b[_0x8a9322(0x34a)])==null?void 0x0:_0x3047c3[_0x8a9322(0x26a)];},'mergeParamsToRequest'(_0x81635c,_0x491a4a){var _0x404ad2=_0x550773;const _0x1c1c34=_0xc439dc[_0x404ad2(0x2e9)]()+_0x404ad2(0x1f4),_0x5af06c=_0x81635c[_0x404ad2(0x43f)]((_0x1c74fe,_0x22a557)=>{var _0x54742d=_0x404ad2;const {unitID:_0x441861,objectID:_0x2dff05,objectType:_0x242e27,actions:_0x4d916a}=_0x22a557;return _0x1c74fe[_0x441861]||(_0x1c74fe[_0x441861]={}),_0x1c74fe[_0x441861][_0x2dff05]||(_0x1c74fe[_0x441861][_0x2dff05]={'objectID':_0x2dff05,'objectType':_0x242e27,'actions':[]}),_0x1c74fe[_0x441861][_0x2dff05][_0x54742d(0x377)][_0x54742d(0x452)](..._0x4d916a),_0x1c74fe;},{}),_0x2adb63=[];for(const _0x44da8f in _0x5af06c)for(const _0x51c891 in _0x5af06c[_0x44da8f]){const {actions:_0x39885b,objectType:_0x5ac1ed}=_0x5af06c[_0x44da8f][_0x51c891],_0x597649=[...new Set(_0x39885b)];_0x2adb63[_0x404ad2(0x452)]({'unitID':_0x44da8f,'objectID':_0x51c891,'objectType':_0x5ac1ed,'actions':_0x597649});}return new _0x27c4d2(_0x404ad2(0x1ef),_0x1c1c34,{'headers':_0x491a4a['headers'],'withCredentials':_0x491a4a[_0x404ad2(0x2da)],'responseType':_0x491a4a['responseType'],'body':{'requests':_0x2adb63}});}},{'distributeResult'(_0x442120,_0x38abb5){const {objectActions:_0x1a3039}=_0x442120;return _0x38abb5['map'](_0xfb1110=>{var _0x2aad22=_0x5205;const {unitID:_0x589f58,objectID:_0x11012b,actions:_0x5a1289}=_0xfb1110,_0x7c2ee8=_0x1a3039[_0x2aad22(0x231)](_0x3b9a01=>_0x3b9a01[_0x2aad22(0x3aa)]===_0x589f58&&_0x3b9a01[_0x2aad22(0x23d)]===_0x11012b),_0x318d70=_0x5a1289[_0x2aad22(0x2cb)](_0x304443=>_0x7c2ee8==null?void 0x0:_0x7c2ee8['actions'][_0x2aad22(0x231)](_0x591b0f=>_0x591b0f[_0x2aad22(0x284)]===_0x304443))['filter'](_0x37d724=>!!_0x37d724);return{'config':_0xfb1110,'result':{'actions':_0x318d70,'error':_0x442120[_0x2aad22(0x3e9)]}};});}})}));}[_0x7a64ab(0x2e9)](){var _0x58aec2=_0x7a64ab,_0x779c4e,_0x540f44;const _0x157fc9=this[_0x58aec2(0x417)][_0x58aec2(0x366)](Ni),_0x2b8f2b=this[_0x58aec2(0x417)][_0x58aec2(0x366)](q);return(_0x540f44=(_0x779c4e=_0x2b8f2b==null?void 0x0:_0x2b8f2b[_0x58aec2(0x220)])!=null?_0x779c4e:_0x157fc9)!=null?_0x540f44:mr;}async[_0x7a64ab(0x342)](_0x17f6dc){var _0x1d5f71=_0x7a64ab;const _0x1b9137=this[_0x1d5f71(0x2e9)]()+'/'+_0x17f6dc[_0x1d5f71(0x35a)]+_0x1d5f71(0x2cf);return(await this[_0x1d5f71(0x47c)][_0x1d5f71(0x358)](_0x1b9137,{'body':_0x17f6dc}))[_0x1d5f71(0x26a)]['objectID']||'';}async[_0x7a64ab(0x2b5)](_0x97add5){var _0x4c448e=_0x7a64ab;const _0x85ecde=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x4c448e(0x47c)][_0x4c448e(0x358)](_0x85ecde,{'body':_0x97add5}))['body'][_0x4c448e(0x205)];}async['update'](_0xa8039){var _0x184bab=_0x7a64ab,_0x2c218c,_0x1b616f;const _0x4a03c9=this[_0x184bab(0x2e9)]()+'/'+_0xa8039[_0x184bab(0x35a)]+_0x184bab(0x444)+_0xa8039[_0x184bab(0x23d)],_0x3f7990=await this[_0x184bab(0x47c)][_0x184bab(0x3e2)](_0x4a03c9,{'body':_0xa8039});if(((_0x1b616f=(_0x2c218c=_0x3f7990==null?void 0x0:_0x3f7990['body'])==null?void 0x0:_0x2c218c[_0x184bab(0x3e9)])==null?void 0x0:_0x1b616f[_0x184bab(0x405)])!==0x1)throw new Error(_0x184bab(0x2eb));}async[_0x7a64ab(0x286)](_0x124e63){var _0x5c0cc3=_0x7a64ab;const _0x13a02c=this[_0x5c0cc3(0x2e9)]()+'/'+_0x124e63[_0x5c0cc3(0x35a)]+_0x5c0cc3(0x444)+_0x124e63[_0x5c0cc3(0x23d)]+'/allowed';return(await this[_0x5c0cc3(0x47c)]['post'](_0x13a02c,{'body':_0x124e63}))[_0x5c0cc3(0x26a)]['actions'];}async[_0x7a64ab(0x3e6)](_0x553045){var _0x165d91=_0x7a64ab;const _0x23a9dc=this[_0x165d91(0x2e9)]()+_0x165d91(0x1f4);return(await this[_0x165d91(0x47c)][_0x165d91(0x358)](_0x23a9dc,{'body':{'requests':_0x553045}}))['body'][_0x165d91(0x34d)];}async[_0x7a64ab(0x486)](_0x2e59bf){var _0x1fb3fa=_0x7a64ab;const _0x4b4af4=this[_0x1fb3fa(0x2e9)]()+'/'+_0x2e59bf['objectType']+'/role',_0x4801c5=await this[_0x1fb3fa(0x47c)][_0x1fb3fa(0x358)](_0x4b4af4,{'body':_0x2e59bf});return{'roles':_0x4801c5[_0x1fb3fa(0x26a)][_0x1fb3fa(0x484)],'actions':_0x4801c5[_0x1fb3fa(0x26a)][_0x1fb3fa(0x377)]};}async[_0x7a64ab(0x40e)](_0xb02827){var _0x4d4617=_0x7a64ab;const _0xfbb0bd=this[_0x4d4617(0x2e9)]()+_0x4d4617(0x2f3);await this[_0x4d4617(0x47c)][_0x4d4617(0x202)](_0xfbb0bd,{'params':{'collaboratorID':_0xb02827[_0x4d4617(0x3a5)],'objectID':_0xb02827[_0x4d4617(0x23d)],'unitID':_0xb02827[_0x4d4617(0x3aa)]}});}async['updateCollaborator'](_0x5378c7){var _0x364f8b=_0x7a64ab;const _0x25e629=this['_getAPIPrefixPath']()+_0x364f8b(0x2f3);await this['_HTTPService'][_0x364f8b(0x398)](_0x25e629,{'body':_0x5378c7});}async[_0x7a64ab(0x26c)](_0x134bc2){var _0x162a1e=_0x7a64ab;const _0x243b1d=this[_0x162a1e(0x2e9)]()+'/collaborator';await this[_0x162a1e(0x47c)][_0x162a1e(0x358)](_0x243b1d,{'body':_0x134bc2});}async[_0x7a64ab(0x298)](_0x590b61){var _0x1d2f6d=_0x7a64ab;const _0x23775c=this[_0x1d2f6d(0x2e9)]()+_0x1d2f6d(0x2f3);return(await this[_0x1d2f6d(0x47c)][_0x1d2f6d(0x2f1)](_0x23775c,{'params':{'objectID':_0x590b61[_0x1d2f6d(0x23d)],'unitID':_0x590b61[_0x1d2f6d(0x3aa)]}}))[_0x1d2f6d(0x26a)][_0x1d2f6d(0x4d6)];}async['putCollaborators'](_0x4dd2ab){var _0x2a27ef=_0x7a64ab;const _0x57f161=this[_0x2a27ef(0x2e9)]()+_0x2a27ef(0x2f3);await this[_0x2a27ef(0x47c)]['put'](_0x57f161,{'body':_0x4dd2ab});}};Rt=pr([Jt(0x0,_0x2d7d4c(_0x3f3bac)),Jt(0x1,_0x2d7d4c(_0x5ce478))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x27624e){var _0x3b643c=_0x7a64ab;return _0x27624e&&_0x27624e[_0x3b643c(0x2c2)]&&Object[_0x3b643c(0x292)][_0x3b643c(0x20f)]['call'](_0x27624e,_0x3b643c(0x3ef))?_0x27624e[_0x3b643c(0x3ef)]:_0x27624e;}var Ve={'exports':{}};function gr(_0xab0389){var _0x14831d=_0x7a64ab;throw new Error(_0x14831d(0x371)+_0xab0389+_0x14831d(0x2d8));}var Ge={'exports':{}},Sr=Ge[_0x7a64ab(0x313)],Xt;function ie(){var _0x58202d=_0x7a64ab;return Xt||(Xt=0x1,function(_0x42d1f5,_0x10fe20){(function(_0x41f0ee,_0x573846){var _0xc58e45=_0x5205;_0x42d1f5[_0xc58e45(0x313)]=_0x573846();}(Sr,function(){var _0x24bd3a=_0x24bd3a||function(_0x23edf0,_0x3e6c40){var _0x124b0d=_0x5205,_0x41657c;if(typeof window<'u'&&window[_0x124b0d(0x46b)]&&(_0x41657c=window[_0x124b0d(0x46b)]),typeof self<'u'&&self[_0x124b0d(0x46b)]&&(_0x41657c=self[_0x124b0d(0x46b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x41657c=globalThis['crypto']),!_0x41657c&&typeof window<'u'&&window[_0x124b0d(0x2e5)]&&(_0x41657c=window[_0x124b0d(0x2e5)]),!_0x41657c&&typeof pt<'u'&&pt['crypto']&&(_0x41657c=pt[_0x124b0d(0x46b)]),!_0x41657c&&typeof gr=='function')try{_0x41657c=require(_0x124b0d(0x46b));}catch{}var _0x516b56=function(){var _0x3edb4b=_0x124b0d;if(_0x41657c){if(typeof _0x41657c[_0x3edb4b(0x21b)]==_0x3edb4b(0x2fb))try{return _0x41657c[_0x3edb4b(0x21b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x41657c['randomBytes']==_0x3edb4b(0x2fb))try{return _0x41657c[_0x3edb4b(0x4ce)](0x4)[_0x3edb4b(0x4d3)]();}catch{}}throw new Error(_0x3edb4b(0x1de));},_0x304b70=Object[_0x124b0d(0x342)]||(function(){function _0x150d6d(){}return function(_0x2e217c){var _0x1d65dd=_0x5205,_0x3a41b8;return _0x150d6d['prototype']=_0x2e217c,_0x3a41b8=new _0x150d6d(),_0x150d6d[_0x1d65dd(0x292)]=null,_0x3a41b8;};}()),_0x49dc00={},_0x138afe=_0x49dc00[_0x124b0d(0x20c)]={},_0x5038ef=_0x138afe[_0x124b0d(0x2c1)]=(function(){return{'extend':function(_0x5b2125){var _0x4bd2d8=_0x5205,_0x587dac=_0x304b70(this);return _0x5b2125&&_0x587dac[_0x4bd2d8(0x24f)](_0x5b2125),(!_0x587dac[_0x4bd2d8(0x20f)]('init')||this[_0x4bd2d8(0x327)]===_0x587dac[_0x4bd2d8(0x327)])&&(_0x587dac[_0x4bd2d8(0x327)]=function(){var _0x36f64f=_0x4bd2d8;_0x587dac[_0x36f64f(0x3b7)][_0x36f64f(0x327)][_0x36f64f(0x3de)](this,arguments);}),_0x587dac[_0x4bd2d8(0x327)][_0x4bd2d8(0x292)]=_0x587dac,_0x587dac[_0x4bd2d8(0x3b7)]=this,_0x587dac;},'create':function(){var _0x1ee0f7=_0x5205,_0x930a48=this[_0x1ee0f7(0x497)]();return _0x930a48['init']['apply'](_0x930a48,arguments),_0x930a48;},'init':function(){},'mixIn':function(_0x42bdce){var _0x52087c=_0x5205;for(var _0xd6bad9 in _0x42bdce)_0x42bdce[_0x52087c(0x20f)](_0xd6bad9)&&(this[_0xd6bad9]=_0x42bdce[_0xd6bad9]);_0x42bdce[_0x52087c(0x20f)](_0x52087c(0x44c))&&(this[_0x52087c(0x44c)]=_0x42bdce[_0x52087c(0x44c)]);},'clone':function(){var _0x28346d=_0x5205;return this[_0x28346d(0x327)][_0x28346d(0x292)][_0x28346d(0x497)](this);}};}()),_0x498c16=_0x138afe[_0x124b0d(0x4b9)]=_0x5038ef['extend']({'init':function(_0x1416cb,_0x39c484){var _0x21bd57=_0x124b0d;_0x1416cb=this[_0x21bd57(0x388)]=_0x1416cb||[],_0x39c484!=_0x3e6c40?this[_0x21bd57(0x3bd)]=_0x39c484:this[_0x21bd57(0x3bd)]=_0x1416cb[_0x21bd57(0x2a4)]*0x4;},'toString':function(_0x33ec0a){var _0x4477b6=_0x124b0d;return(_0x33ec0a||_0x45faf9)[_0x4477b6(0x433)](this);},'concat':function(_0x2f6291){var _0x4b8a74=_0x124b0d,_0xb2c285=this[_0x4b8a74(0x388)],_0x51912d=_0x2f6291['words'],_0x2eecbe=this[_0x4b8a74(0x3bd)],_0x3118ed=_0x2f6291[_0x4b8a74(0x3bd)];if(this['clamp'](),_0x2eecbe%0x4)for(var _0x4225d8=0x0;_0x4225d8<_0x3118ed;_0x4225d8++){var _0x11432=_0x51912d[_0x4225d8>>>0x2]>>>0x18-_0x4225d8%0x4*0x8&0xff;_0xb2c285[_0x2eecbe+_0x4225d8>>>0x2]|=_0x11432<<0x18-(_0x2eecbe+_0x4225d8)%0x4*0x8;}else{for(var _0x279baa=0x0;_0x279baa<_0x3118ed;_0x279baa+=0x4)_0xb2c285[_0x2eecbe+_0x279baa>>>0x2]=_0x51912d[_0x279baa>>>0x2];}return this[_0x4b8a74(0x3bd)]+=_0x3118ed,this;},'clamp':function(){var _0x1bb5d5=_0x124b0d,_0xda038e=this[_0x1bb5d5(0x388)],_0x181f7b=this[_0x1bb5d5(0x3bd)];_0xda038e[_0x181f7b>>>0x2]&=0xffffffff<<0x20-_0x181f7b%0x4*0x8,_0xda038e[_0x1bb5d5(0x2a4)]=_0x23edf0[_0x1bb5d5(0x2ac)](_0x181f7b/0x4);},'clone':function(){var _0x24b817=_0x124b0d,_0x341313=_0x5038ef[_0x24b817(0x3a0)]['call'](this);return _0x341313[_0x24b817(0x388)]=this[_0x24b817(0x388)][_0x24b817(0x214)](0x0),_0x341313;},'random':function(_0x5cec2d){var _0x27ee59=_0x124b0d;for(var _0x5ff94d=[],_0xc11aac=0x0;_0xc11aac<_0x5cec2d;_0xc11aac+=0x4)_0x5ff94d['push'](_0x516b56());return new _0x498c16[(_0x27ee59(0x327))](_0x5ff94d,_0x5cec2d);}}),_0xfd6956=_0x49dc00[_0x124b0d(0x271)]={},_0x45faf9=_0xfd6956[_0x124b0d(0x2fe)]={'stringify':function(_0x4632ad){var _0x4523c2=_0x124b0d;for(var _0x18e966=_0x4632ad['words'],_0x5d8729=_0x4632ad[_0x4523c2(0x3bd)],_0x4c8bd0=[],_0x251bad=0x0;_0x251bad<_0x5d8729;_0x251bad++){var _0x534ec0=_0x18e966[_0x251bad>>>0x2]>>>0x18-_0x251bad%0x4*0x8&0xff;_0x4c8bd0[_0x4523c2(0x452)]((_0x534ec0>>>0x4)[_0x4523c2(0x44c)](0x10)),_0x4c8bd0[_0x4523c2(0x452)]((_0x534ec0&0xf)[_0x4523c2(0x44c)](0x10));}return _0x4c8bd0[_0x4523c2(0x4a3)]('');},'parse':function(_0x2b48ef){var _0x20646e=_0x124b0d;for(var _0xaa08e7=_0x2b48ef[_0x20646e(0x2a4)],_0xfa71b4=[],_0xe2d7b=0x0;_0xe2d7b<_0xaa08e7;_0xe2d7b+=0x2)_0xfa71b4[_0xe2d7b>>>0x3]|=parseInt(_0x2b48ef['substr'](_0xe2d7b,0x2),0x10)<<0x18-_0xe2d7b%0x8*0x4;return new _0x498c16[(_0x20646e(0x327))](_0xfa71b4,_0xaa08e7/0x2);}},_0x3b0f12=_0xfd6956['Latin1']={'stringify':function(_0x284b2f){var _0x5ab278=_0x124b0d;for(var _0x54df14=_0x284b2f[_0x5ab278(0x388)],_0x2e4e76=_0x284b2f[_0x5ab278(0x3bd)],_0x17a468=[],_0x3aa4b6=0x0;_0x3aa4b6<_0x2e4e76;_0x3aa4b6++){var _0xc0b3b6=_0x54df14[_0x3aa4b6>>>0x2]>>>0x18-_0x3aa4b6%0x4*0x8&0xff;_0x17a468['push'](String[_0x5ab278(0x32f)](_0xc0b3b6));}return _0x17a468['join']('');},'parse':function(_0x163f6e){var _0x376a4b=_0x124b0d;for(var _0x18ab78=_0x163f6e[_0x376a4b(0x2a4)],_0x3e5b3f=[],_0x5afcc1=0x0;_0x5afcc1<_0x18ab78;_0x5afcc1++)_0x3e5b3f[_0x5afcc1>>>0x2]|=(_0x163f6e[_0x376a4b(0x4a5)](_0x5afcc1)&0xff)<<0x18-_0x5afcc1%0x4*0x8;return new _0x498c16[(_0x376a4b(0x327))](_0x3e5b3f,_0x18ab78);}},_0xeb5367=_0xfd6956[_0x124b0d(0x305)]={'stringify':function(_0x14d87a){var _0x23bf13=_0x124b0d;try{return decodeURIComponent(escape(_0x3b0f12['stringify'](_0x14d87a)));}catch{throw new Error(_0x23bf13(0x384));}},'parse':function(_0x2d4e6c){var _0x5c5cc1=_0x124b0d;return _0x3b0f12[_0x5c5cc1(0x4ca)](unescape(encodeURIComponent(_0x2d4e6c)));}},_0x4777de=_0x138afe['BufferedBlockAlgorithm']=_0x5038ef[_0x124b0d(0x497)]({'reset':function(){var _0x294a45=_0x124b0d;this[_0x294a45(0x38f)]=new _0x498c16['init'](),this[_0x294a45(0x496)]=0x0;},'_append':function(_0x2d567e){var _0x181344=_0x124b0d;typeof _0x2d567e=='string'&&(_0x2d567e=_0xeb5367['parse'](_0x2d567e)),this[_0x181344(0x38f)]['concat'](_0x2d567e),this[_0x181344(0x496)]+=_0x2d567e['sigBytes'];},'_process':function(_0xc4cbed){var _0x2f669b=_0x124b0d,_0x4034bc,_0x4289ad=this[_0x2f669b(0x38f)],_0x509782=_0x4289ad[_0x2f669b(0x388)],_0x2b0b26=_0x4289ad['sigBytes'],_0x10ba2a=this[_0x2f669b(0x4bc)],_0xd6f6bb=_0x10ba2a*0x4,_0x10067e=_0x2b0b26/_0xd6f6bb;_0xc4cbed?_0x10067e=_0x23edf0[_0x2f669b(0x2ac)](_0x10067e):_0x10067e=_0x23edf0[_0x2f669b(0x2e2)]((_0x10067e|0x0)-this[_0x2f669b(0x2dd)],0x0);var _0x4588b0=_0x10067e*_0x10ba2a,_0x4907bf=_0x23edf0[_0x2f669b(0x465)](_0x4588b0*0x4,_0x2b0b26);if(_0x4588b0){for(var _0x1ac499=0x0;_0x1ac499<_0x4588b0;_0x1ac499+=_0x10ba2a)this['_doProcessBlock'](_0x509782,_0x1ac499);_0x4034bc=_0x509782[_0x2f669b(0x43c)](0x0,_0x4588b0),_0x4289ad['sigBytes']-=_0x4907bf;}return new _0x498c16[(_0x2f669b(0x327))](_0x4034bc,_0x4907bf);},'clone':function(){var _0x23337d=_0x124b0d,_0x57ca7=_0x5038ef[_0x23337d(0x3a0)][_0x23337d(0x31a)](this);return _0x57ca7[_0x23337d(0x38f)]=this[_0x23337d(0x38f)]['clone'](),_0x57ca7;},'_minBufferSize':0x0});_0x138afe[_0x124b0d(0x277)]=_0x4777de[_0x124b0d(0x497)]({'cfg':_0x5038ef['extend'](),'init':function(_0x4a06c1){var _0x1b5873=_0x124b0d;this['cfg']=this[_0x1b5873(0x468)][_0x1b5873(0x497)](_0x4a06c1),this[_0x1b5873(0x331)]();},'reset':function(){var _0x2cb0a9=_0x124b0d;_0x4777de[_0x2cb0a9(0x331)][_0x2cb0a9(0x31a)](this),this[_0x2cb0a9(0x2e0)]();},'update':function(_0xb41019){var _0x3ad4bb=_0x124b0d;return this[_0x3ad4bb(0x389)](_0xb41019),this[_0x3ad4bb(0x2b6)](),this;},'finalize':function(_0xd595aa){var _0x3963d9=_0x124b0d;_0xd595aa&&this[_0x3963d9(0x389)](_0xd595aa);var _0xd58bd6=this[_0x3963d9(0x29d)]();return _0xd58bd6;},'blockSize':0x10,'_createHelper':function(_0x51e652){return function(_0xf74935,_0x3b0249){return new _0x51e652['init'](_0x3b0249)['finalize'](_0xf74935);};},'_createHmacHelper':function(_0x3131e2){return function(_0x50e20d,_0x6e443c){var _0x45b80f=_0x5205;return new _0x328969[(_0x45b80f(0x33f))]['init'](_0x3131e2,_0x6e443c)[_0x45b80f(0x218)](_0x50e20d);};}});var _0x328969=_0x49dc00[_0x124b0d(0x456)]={};return _0x49dc00;}(Math);return _0x24bd3a;}));}(Ge)),Ge[_0x58202d(0x313)];}var We={'exports':{}},Er=We[_0x7a64ab(0x313)],Zt;function Di(){var _0x1cbc20=_0x7a64ab;return Zt||(Zt=0x1,function(_0xa230f7,_0x2a934c){(function(_0x1b5567,_0x3afd5c){var _0x58d6e1=_0x5205;_0xa230f7[_0x58d6e1(0x313)]=_0x3afd5c(ie());}(Er,function(_0x48ddec){var _0x25d982=_0x5205;return(function(){var _0x551ac8=_0x5205,_0x3c9a08=_0x48ddec,_0x5bbc4a=_0x3c9a08[_0x551ac8(0x20c)],_0x2611bd=_0x5bbc4a['WordArray'],_0x5c1939=_0x3c9a08[_0x551ac8(0x271)];_0x5c1939[_0x551ac8(0x37e)]={'stringify':function(_0x33e379){var _0x38f771=_0x551ac8,_0x3ced40=_0x33e379['words'],_0x58d284=_0x33e379[_0x38f771(0x3bd)],_0x34b3f7=this[_0x38f771(0x222)];_0x33e379[_0x38f771(0x394)]();for(var _0x577212=[],_0x8e2272=0x0;_0x8e2272<_0x58d284;_0x8e2272+=0x3)for(var _0x53feea=_0x3ced40[_0x8e2272>>>0x2]>>>0x18-_0x8e2272%0x4*0x8&0xff,_0x4f4943=_0x3ced40[_0x8e2272+0x1>>>0x2]>>>0x18-(_0x8e2272+0x1)%0x4*0x8&0xff,_0xed7a6e=_0x3ced40[_0x8e2272+0x2>>>0x2]>>>0x18-(_0x8e2272+0x2)%0x4*0x8&0xff,_0x1a6377=_0x53feea<<0x10|_0x4f4943<<0x8|_0xed7a6e,_0x4ca0bb=0x0;_0x4ca0bb<0x4&&_0x8e2272+_0x4ca0bb*0.75<_0x58d284;_0x4ca0bb++)_0x577212[_0x38f771(0x452)](_0x34b3f7[_0x38f771(0x353)](_0x1a6377>>>0x6*(0x3-_0x4ca0bb)&0x3f));var _0x148cb4=_0x34b3f7[_0x38f771(0x353)](0x40);if(_0x148cb4){for(;_0x577212[_0x38f771(0x2a4)]%0x4;)_0x577212[_0x38f771(0x452)](_0x148cb4);}return _0x577212[_0x38f771(0x4a3)]('');},'parse':function(_0x320696){var _0x3fd51f=_0x551ac8,_0x5ca6f1=_0x320696[_0x3fd51f(0x2a4)],_0x5b1361=this[_0x3fd51f(0x222)],_0xca8a63=this[_0x3fd51f(0x2ca)];if(!_0xca8a63){_0xca8a63=this['_reverseMap']=[];for(var _0xc428c1=0x0;_0xc428c1<_0x5b1361[_0x3fd51f(0x2a4)];_0xc428c1++)_0xca8a63[_0x5b1361[_0x3fd51f(0x4a5)](_0xc428c1)]=_0xc428c1;}var _0x5afafc=_0x5b1361[_0x3fd51f(0x353)](0x40);if(_0x5afafc){var _0x195081=_0x320696[_0x3fd51f(0x328)](_0x5afafc);_0x195081!==-0x1&&(_0x5ca6f1=_0x195081);}return _0x30e127(_0x320696,_0x5ca6f1,_0xca8a63);},'_map':_0x551ac8(0x4af)};function _0x30e127(_0x6b414b,_0x52fd79,_0xebfa14){var _0x5a37df=_0x551ac8;for(var _0x4e0ddf=[],_0x3ab6da=0x0,_0x1e9ee5=0x0;_0x1e9ee5<_0x52fd79;_0x1e9ee5++)if(_0x1e9ee5%0x4){var _0x5d9b3c=_0xebfa14[_0x6b414b[_0x5a37df(0x4a5)](_0x1e9ee5-0x1)]<<_0x1e9ee5%0x4*0x2,_0x305be3=_0xebfa14[_0x6b414b[_0x5a37df(0x4a5)](_0x1e9ee5)]>>>0x6-_0x1e9ee5%0x4*0x2,_0x29005f=_0x5d9b3c|_0x305be3;_0x4e0ddf[_0x3ab6da>>>0x2]|=_0x29005f<<0x18-_0x3ab6da%0x4*0x8,_0x3ab6da++;}return _0x2611bd[_0x5a37df(0x342)](_0x4e0ddf,_0x3ab6da);}}()),_0x48ddec[_0x25d982(0x271)][_0x25d982(0x37e)];}));}(We)),We[_0x1cbc20(0x313)];}var Ke={'exports':{}},Ir=Ke[_0x7a64ab(0x313)],Qt;function Tr(){var _0x26c263=_0x7a64ab;return Qt||(Qt=0x1,function(_0x4d7378,_0x3c8db7){(function(_0x560474,_0x31e4e9){var _0x167176=_0x5205;_0x4d7378[_0x167176(0x313)]=_0x31e4e9(ie());}(Ir,function(_0x300ec8){var _0x3700c0=_0x5205;return function(_0x1a77c3){var _0x3d3aaa=_0x5205,_0x442e62=_0x300ec8,_0x3ad935=_0x442e62['lib'],_0x476434=_0x3ad935['WordArray'],_0x18170d=_0x3ad935[_0x3d3aaa(0x277)],_0x140b40=_0x442e62[_0x3d3aaa(0x456)],_0x273862=[];(function(){var _0x17722b=_0x3d3aaa;for(var _0x1f92f0=0x0;_0x1f92f0<0x40;_0x1f92f0++)_0x273862[_0x1f92f0]=_0x1a77c3[_0x17722b(0x39f)](_0x1a77c3[_0x17722b(0x435)](_0x1f92f0+0x1))*0x100000000|0x0;}());var _0x1995eb=_0x140b40['MD5']=_0x18170d[_0x3d3aaa(0x497)]({'_doReset':function(){var _0x34b6cd=_0x3d3aaa;this[_0x34b6cd(0x39c)]=new _0x476434[(_0x34b6cd(0x327))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1784ac,_0x224a22){var _0x312fcb=_0x3d3aaa;for(var _0x4d34c1=0x0;_0x4d34c1<0x10;_0x4d34c1++){var _0x3127d7=_0x224a22+_0x4d34c1,_0x57403f=_0x1784ac[_0x3127d7];_0x1784ac[_0x3127d7]=(_0x57403f<<0x8|_0x57403f>>>0x18)&0xff00ff|(_0x57403f<<0x18|_0x57403f>>>0x8)&0xff00ff00;}var _0x63f759=this[_0x312fcb(0x39c)][_0x312fcb(0x388)],_0x28ccd0=_0x1784ac[_0x224a22+0x0],_0x533a20=_0x1784ac[_0x224a22+0x1],_0x5a7cad=_0x1784ac[_0x224a22+0x2],_0x486923=_0x1784ac[_0x224a22+0x3],_0x388962=_0x1784ac[_0x224a22+0x4],_0x82559d=_0x1784ac[_0x224a22+0x5],_0x197db4=_0x1784ac[_0x224a22+0x6],_0xa3736f=_0x1784ac[_0x224a22+0x7],_0x5b9cd0=_0x1784ac[_0x224a22+0x8],_0x4e0c90=_0x1784ac[_0x224a22+0x9],_0x8e32a=_0x1784ac[_0x224a22+0xa],_0x592691=_0x1784ac[_0x224a22+0xb],_0xeee503=_0x1784ac[_0x224a22+0xc],_0x3df63e=_0x1784ac[_0x224a22+0xd],_0x54ea71=_0x1784ac[_0x224a22+0xe],_0x5342e9=_0x1784ac[_0x224a22+0xf],_0x2c5ea6=_0x63f759[0x0],_0x2ecea4=_0x63f759[0x1],_0x54e88a=_0x63f759[0x2],_0x139ba7=_0x63f759[0x3];_0x2c5ea6=_0x2db065(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x28ccd0,0x7,_0x273862[0x0]),_0x139ba7=_0x2db065(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x533a20,0xc,_0x273862[0x1]),_0x54e88a=_0x2db065(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x5a7cad,0x11,_0x273862[0x2]),_0x2ecea4=_0x2db065(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x486923,0x16,_0x273862[0x3]),_0x2c5ea6=_0x2db065(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x388962,0x7,_0x273862[0x4]),_0x139ba7=_0x2db065(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x82559d,0xc,_0x273862[0x5]),_0x54e88a=_0x2db065(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x197db4,0x11,_0x273862[0x6]),_0x2ecea4=_0x2db065(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0xa3736f,0x16,_0x273862[0x7]),_0x2c5ea6=_0x2db065(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x5b9cd0,0x7,_0x273862[0x8]),_0x139ba7=_0x2db065(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x4e0c90,0xc,_0x273862[0x9]),_0x54e88a=_0x2db065(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x8e32a,0x11,_0x273862[0xa]),_0x2ecea4=_0x2db065(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x592691,0x16,_0x273862[0xb]),_0x2c5ea6=_0x2db065(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0xeee503,0x7,_0x273862[0xc]),_0x139ba7=_0x2db065(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x3df63e,0xc,_0x273862[0xd]),_0x54e88a=_0x2db065(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54ea71,0x11,_0x273862[0xe]),_0x2ecea4=_0x2db065(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x5342e9,0x16,_0x273862[0xf]),_0x2c5ea6=_0x35a72f(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x533a20,0x5,_0x273862[0x10]),_0x139ba7=_0x35a72f(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x197db4,0x9,_0x273862[0x11]),_0x54e88a=_0x35a72f(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x592691,0xe,_0x273862[0x12]),_0x2ecea4=_0x35a72f(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x28ccd0,0x14,_0x273862[0x13]),_0x2c5ea6=_0x35a72f(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x82559d,0x5,_0x273862[0x14]),_0x139ba7=_0x35a72f(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x8e32a,0x9,_0x273862[0x15]),_0x54e88a=_0x35a72f(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x5342e9,0xe,_0x273862[0x16]),_0x2ecea4=_0x35a72f(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x388962,0x14,_0x273862[0x17]),_0x2c5ea6=_0x35a72f(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x4e0c90,0x5,_0x273862[0x18]),_0x139ba7=_0x35a72f(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x54ea71,0x9,_0x273862[0x19]),_0x54e88a=_0x35a72f(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x486923,0xe,_0x273862[0x1a]),_0x2ecea4=_0x35a72f(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x5b9cd0,0x14,_0x273862[0x1b]),_0x2c5ea6=_0x35a72f(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x3df63e,0x5,_0x273862[0x1c]),_0x139ba7=_0x35a72f(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x5a7cad,0x9,_0x273862[0x1d]),_0x54e88a=_0x35a72f(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0xa3736f,0xe,_0x273862[0x1e]),_0x2ecea4=_0x35a72f(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0xeee503,0x14,_0x273862[0x1f]),_0x2c5ea6=_0x502510(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x82559d,0x4,_0x273862[0x20]),_0x139ba7=_0x502510(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x5b9cd0,0xb,_0x273862[0x21]),_0x54e88a=_0x502510(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x592691,0x10,_0x273862[0x22]),_0x2ecea4=_0x502510(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x54ea71,0x17,_0x273862[0x23]),_0x2c5ea6=_0x502510(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x533a20,0x4,_0x273862[0x24]),_0x139ba7=_0x502510(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x388962,0xb,_0x273862[0x25]),_0x54e88a=_0x502510(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0xa3736f,0x10,_0x273862[0x26]),_0x2ecea4=_0x502510(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x8e32a,0x17,_0x273862[0x27]),_0x2c5ea6=_0x502510(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x3df63e,0x4,_0x273862[0x28]),_0x139ba7=_0x502510(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x28ccd0,0xb,_0x273862[0x29]),_0x54e88a=_0x502510(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x486923,0x10,_0x273862[0x2a]),_0x2ecea4=_0x502510(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x197db4,0x17,_0x273862[0x2b]),_0x2c5ea6=_0x502510(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x4e0c90,0x4,_0x273862[0x2c]),_0x139ba7=_0x502510(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0xeee503,0xb,_0x273862[0x2d]),_0x54e88a=_0x502510(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x5342e9,0x10,_0x273862[0x2e]),_0x2ecea4=_0x502510(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x5a7cad,0x17,_0x273862[0x2f]),_0x2c5ea6=_0x20f3bf(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x28ccd0,0x6,_0x273862[0x30]),_0x139ba7=_0x20f3bf(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0xa3736f,0xa,_0x273862[0x31]),_0x54e88a=_0x20f3bf(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54ea71,0xf,_0x273862[0x32]),_0x2ecea4=_0x20f3bf(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x82559d,0x15,_0x273862[0x33]),_0x2c5ea6=_0x20f3bf(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0xeee503,0x6,_0x273862[0x34]),_0x139ba7=_0x20f3bf(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x486923,0xa,_0x273862[0x35]),_0x54e88a=_0x20f3bf(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x8e32a,0xf,_0x273862[0x36]),_0x2ecea4=_0x20f3bf(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x533a20,0x15,_0x273862[0x37]),_0x2c5ea6=_0x20f3bf(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x5b9cd0,0x6,_0x273862[0x38]),_0x139ba7=_0x20f3bf(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x5342e9,0xa,_0x273862[0x39]),_0x54e88a=_0x20f3bf(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x197db4,0xf,_0x273862[0x3a]),_0x2ecea4=_0x20f3bf(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x3df63e,0x15,_0x273862[0x3b]),_0x2c5ea6=_0x20f3bf(_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x139ba7,_0x388962,0x6,_0x273862[0x3c]),_0x139ba7=_0x20f3bf(_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x54e88a,_0x592691,0xa,_0x273862[0x3d]),_0x54e88a=_0x20f3bf(_0x54e88a,_0x139ba7,_0x2c5ea6,_0x2ecea4,_0x5a7cad,0xf,_0x273862[0x3e]),_0x2ecea4=_0x20f3bf(_0x2ecea4,_0x54e88a,_0x139ba7,_0x2c5ea6,_0x4e0c90,0x15,_0x273862[0x3f]),_0x63f759[0x0]=_0x63f759[0x0]+_0x2c5ea6|0x0,_0x63f759[0x1]=_0x63f759[0x1]+_0x2ecea4|0x0,_0x63f759[0x2]=_0x63f759[0x2]+_0x54e88a|0x0,_0x63f759[0x3]=_0x63f759[0x3]+_0x139ba7|0x0;},'_doFinalize':function(){var _0x37ba4b=_0x3d3aaa,_0x4826bb=this[_0x37ba4b(0x38f)],_0x71d642=_0x4826bb[_0x37ba4b(0x388)],_0x139bd0=this[_0x37ba4b(0x496)]*0x8,_0x563dbf=_0x4826bb[_0x37ba4b(0x3bd)]*0x8;_0x71d642[_0x563dbf>>>0x5]|=0x80<<0x18-_0x563dbf%0x20;var _0xdd6f8f=_0x1a77c3['floor'](_0x139bd0/0x100000000),_0x46c00e=_0x139bd0;_0x71d642[(_0x563dbf+0x40>>>0x9<<0x4)+0xf]=(_0xdd6f8f<<0x8|_0xdd6f8f>>>0x18)&0xff00ff|(_0xdd6f8f<<0x18|_0xdd6f8f>>>0x8)&0xff00ff00,_0x71d642[(_0x563dbf+0x40>>>0x9<<0x4)+0xe]=(_0x46c00e<<0x8|_0x46c00e>>>0x18)&0xff00ff|(_0x46c00e<<0x18|_0x46c00e>>>0x8)&0xff00ff00,_0x4826bb[_0x37ba4b(0x3bd)]=(_0x71d642[_0x37ba4b(0x2a4)]+0x1)*0x4,this[_0x37ba4b(0x2b6)]();for(var _0x3c1dd7=this[_0x37ba4b(0x39c)],_0x14a8e7=_0x3c1dd7[_0x37ba4b(0x388)],_0x1eac3d=0x0;_0x1eac3d<0x4;_0x1eac3d++){var _0x343bd4=_0x14a8e7[_0x1eac3d];_0x14a8e7[_0x1eac3d]=(_0x343bd4<<0x8|_0x343bd4>>>0x18)&0xff00ff|(_0x343bd4<<0x18|_0x343bd4>>>0x8)&0xff00ff00;}return _0x3c1dd7;},'clone':function(){var _0x4675c2=_0x3d3aaa,_0x33c0ec=_0x18170d[_0x4675c2(0x3a0)][_0x4675c2(0x31a)](this);return _0x33c0ec['_hash']=this[_0x4675c2(0x39c)][_0x4675c2(0x3a0)](),_0x33c0ec;}});function _0x2db065(_0x3338ac,_0x160c75,_0x1bc2ed,_0x1b2921,_0x5b8a2f,_0x10f146,_0x113b74){var _0x3d1c18=_0x3338ac+(_0x160c75&_0x1bc2ed|~_0x160c75&_0x1b2921)+_0x5b8a2f+_0x113b74;return(_0x3d1c18<<_0x10f146|_0x3d1c18>>>0x20-_0x10f146)+_0x160c75;}function _0x35a72f(_0xd85805,_0x109c14,_0x2503aa,_0x3bfac7,_0x55f4a2,_0xd19df3,_0x2d2636){var _0x1d8e6a=_0xd85805+(_0x109c14&_0x3bfac7|_0x2503aa&~_0x3bfac7)+_0x55f4a2+_0x2d2636;return(_0x1d8e6a<<_0xd19df3|_0x1d8e6a>>>0x20-_0xd19df3)+_0x109c14;}function _0x502510(_0x5c4fb6,_0x4c71aa,_0x50b4a5,_0x11606d,_0x1e0873,_0x220bcf,_0x531ab2){var _0x1a8fb3=_0x5c4fb6+(_0x4c71aa^_0x50b4a5^_0x11606d)+_0x1e0873+_0x531ab2;return(_0x1a8fb3<<_0x220bcf|_0x1a8fb3>>>0x20-_0x220bcf)+_0x4c71aa;}function _0x20f3bf(_0x45091f,_0x1f13f0,_0x25240e,_0x85f325,_0x36ffc6,_0x5720e8,_0x5dbc38){var _0x225fd6=_0x45091f+(_0x25240e^(_0x1f13f0|~_0x85f325))+_0x36ffc6+_0x5dbc38;return(_0x225fd6<<_0x5720e8|_0x225fd6>>>0x20-_0x5720e8)+_0x1f13f0;}_0x442e62['MD5']=_0x18170d[_0x3d3aaa(0x1fd)](_0x1995eb),_0x442e62['HmacMD5']=_0x18170d[_0x3d3aaa(0x285)](_0x1995eb);}(Math),_0x300ec8[_0x3700c0(0x27c)];}));}(Ke)),Ke[_0x26c263(0x313)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe['exports'],ei;function Rr(){return ei||(ei=0x1,function(_0x480013,_0x245872){(function(_0x300b91,_0x2ee480){var _0x2738eb=_0x5205;_0x480013[_0x2738eb(0x313)]=_0x2ee480(ie());}(Cr,function(_0x4e798e){var _0x217f8a=_0x5205;return(function(){var _0x4a7de5=_0x5205,_0x3fa099=_0x4e798e,_0x3a186f=_0x3fa099[_0x4a7de5(0x20c)],_0x15a6b3=_0x3a186f[_0x4a7de5(0x4b9)],_0x136968=_0x3a186f['Hasher'],_0x4dec3e=_0x3fa099[_0x4a7de5(0x456)],_0x30b845=[],_0x545ab6=_0x4dec3e[_0x4a7de5(0x28d)]=_0x136968[_0x4a7de5(0x497)]({'_doReset':function(){var _0x275860=_0x4a7de5;this[_0x275860(0x39c)]=new _0x15a6b3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x44e7aa,_0x1ac56f){var _0xe5d8f7=_0x4a7de5;for(var _0x5ae00c=this['_hash'][_0xe5d8f7(0x388)],_0x2bb64f=_0x5ae00c[0x0],_0x339552=_0x5ae00c[0x1],_0x222bc2=_0x5ae00c[0x2],_0x50cd61=_0x5ae00c[0x3],_0x3c5549=_0x5ae00c[0x4],_0x861cfa=0x0;_0x861cfa<0x50;_0x861cfa++){if(_0x861cfa<0x10)_0x30b845[_0x861cfa]=_0x44e7aa[_0x1ac56f+_0x861cfa]|0x0;else{var _0x387e70=_0x30b845[_0x861cfa-0x3]^_0x30b845[_0x861cfa-0x8]^_0x30b845[_0x861cfa-0xe]^_0x30b845[_0x861cfa-0x10];_0x30b845[_0x861cfa]=_0x387e70<<0x1|_0x387e70>>>0x1f;}var _0x23d986=(_0x2bb64f<<0x5|_0x2bb64f>>>0x1b)+_0x3c5549+_0x30b845[_0x861cfa];_0x861cfa<0x14?_0x23d986+=(_0x339552&_0x222bc2|~_0x339552&_0x50cd61)+0x5a827999:_0x861cfa<0x28?_0x23d986+=(_0x339552^_0x222bc2^_0x50cd61)+0x6ed9eba1:_0x861cfa<0x3c?_0x23d986+=(_0x339552&_0x222bc2|_0x339552&_0x50cd61|_0x222bc2&_0x50cd61)-0x70e44324:_0x23d986+=(_0x339552^_0x222bc2^_0x50cd61)-0x359d3e2a,_0x3c5549=_0x50cd61,_0x50cd61=_0x222bc2,_0x222bc2=_0x339552<<0x1e|_0x339552>>>0x2,_0x339552=_0x2bb64f,_0x2bb64f=_0x23d986;}_0x5ae00c[0x0]=_0x5ae00c[0x0]+_0x2bb64f|0x0,_0x5ae00c[0x1]=_0x5ae00c[0x1]+_0x339552|0x0,_0x5ae00c[0x2]=_0x5ae00c[0x2]+_0x222bc2|0x0,_0x5ae00c[0x3]=_0x5ae00c[0x3]+_0x50cd61|0x0,_0x5ae00c[0x4]=_0x5ae00c[0x4]+_0x3c5549|0x0;},'_doFinalize':function(){var _0x5e73b1=_0x4a7de5,_0x437b2f=this[_0x5e73b1(0x38f)],_0x27e9cd=_0x437b2f[_0x5e73b1(0x388)],_0x4651df=this['_nDataBytes']*0x8,_0x2bd6fb=_0x437b2f['sigBytes']*0x8;return _0x27e9cd[_0x2bd6fb>>>0x5]|=0x80<<0x18-_0x2bd6fb%0x20,_0x27e9cd[(_0x2bd6fb+0x40>>>0x9<<0x4)+0xe]=Math[_0x5e73b1(0x3d6)](_0x4651df/0x100000000),_0x27e9cd[(_0x2bd6fb+0x40>>>0x9<<0x4)+0xf]=_0x4651df,_0x437b2f[_0x5e73b1(0x3bd)]=_0x27e9cd[_0x5e73b1(0x2a4)]*0x4,this['_process'](),this[_0x5e73b1(0x39c)];},'clone':function(){var _0x4e2e88=_0x4a7de5,_0x3cab09=_0x136968[_0x4e2e88(0x3a0)][_0x4e2e88(0x31a)](this);return _0x3cab09[_0x4e2e88(0x39c)]=this[_0x4e2e88(0x39c)][_0x4e2e88(0x3a0)](),_0x3cab09;}});_0x3fa099[_0x4a7de5(0x28d)]=_0x136968[_0x4a7de5(0x1fd)](_0x545ab6),_0x3fa099[_0x4a7de5(0x2d4)]=_0x136968[_0x4a7de5(0x285)](_0x545ab6);}()),_0x4e798e[_0x217f8a(0x28d)];}));}(qe)),qe['exports'];}var ze={'exports':{}},br=ze[_0x7a64ab(0x313)],ti;function yr(){var _0x3f26ca=_0x7a64ab;return ti||(ti=0x1,function(_0x1cb0d7,_0x4d776d){(function(_0x156ebe,_0x34880e){var _0x4a963f=_0x5205;_0x1cb0d7[_0x4a963f(0x313)]=_0x34880e(ie());}(br,function(_0x30d692){(function(){var _0x53c565=_0x5205,_0x3767a7=_0x30d692,_0x4bff9c=_0x3767a7[_0x53c565(0x20c)],_0x1bc8ea=_0x4bff9c[_0x53c565(0x2c1)],_0x14d348=_0x3767a7[_0x53c565(0x271)],_0x210395=_0x14d348[_0x53c565(0x305)],_0x3ea8f0=_0x3767a7['algo'];_0x3ea8f0[_0x53c565(0x33f)]=_0x1bc8ea['extend']({'init':function(_0x83e0c6,_0x33bc03){var _0x5f28c9=_0x53c565;_0x83e0c6=this['_hasher']=new _0x83e0c6[(_0x5f28c9(0x327))](),typeof _0x33bc03==_0x5f28c9(0x37b)&&(_0x33bc03=_0x210395[_0x5f28c9(0x4ca)](_0x33bc03));var _0x4c2b55=_0x83e0c6[_0x5f28c9(0x4bc)],_0x3b386e=_0x4c2b55*0x4;_0x33bc03[_0x5f28c9(0x3bd)]>_0x3b386e&&(_0x33bc03=_0x83e0c6['finalize'](_0x33bc03)),_0x33bc03[_0x5f28c9(0x394)]();for(var _0x532b0e=this[_0x5f28c9(0x259)]=_0x33bc03[_0x5f28c9(0x3a0)](),_0x1a21ef=this['_iKey']=_0x33bc03['clone'](),_0x1a04f6=_0x532b0e[_0x5f28c9(0x388)],_0x561757=_0x1a21ef[_0x5f28c9(0x388)],_0x23cc33=0x0;_0x23cc33<_0x4c2b55;_0x23cc33++)_0x1a04f6[_0x23cc33]^=0x5c5c5c5c,_0x561757[_0x23cc33]^=0x36363636;_0x532b0e[_0x5f28c9(0x3bd)]=_0x1a21ef['sigBytes']=_0x3b386e,this[_0x5f28c9(0x331)]();},'reset':function(){var _0x4a6c23=_0x53c565,_0xc77f75=this[_0x4a6c23(0x48a)];_0xc77f75[_0x4a6c23(0x331)](),_0xc77f75['update'](this['_iKey']);},'update':function(_0x4d479d){var _0x43ce76=_0x53c565;return this[_0x43ce76(0x48a)][_0x43ce76(0x35b)](_0x4d479d),this;},'finalize':function(_0x391110){var _0x6da91b=_0x53c565,_0xa76d83=this[_0x6da91b(0x48a)],_0x66522b=_0xa76d83['finalize'](_0x391110);_0xa76d83[_0x6da91b(0x331)]();var _0x51478c=_0xa76d83[_0x6da91b(0x218)](this[_0x6da91b(0x259)]['clone']()[_0x6da91b(0x2a5)](_0x66522b));return _0x51478c;}});}());}));}(ze)),ze[_0x3f26ca(0x313)];}var Or=Ye[_0x7a64ab(0x313)],ii;function Ui(){var _0x117a9c=_0x7a64ab;return ii||(ii=0x1,function(_0x36fdc3,_0x15250a){(function(_0x1e32bc,_0x2ea299,_0x3a40b0){var _0x173268=_0x5205;_0x36fdc3[_0x173268(0x313)]=_0x2ea299(ie(),Rr(),yr());}(Or,function(_0x2bf4fa){var _0x87aee9=_0x5205;return(function(){var _0x294db2=_0x5205,_0x2b1d50=_0x2bf4fa,_0x533440=_0x2b1d50[_0x294db2(0x20c)],_0x145b81=_0x533440[_0x294db2(0x2c1)],_0x4c91b7=_0x533440[_0x294db2(0x4b9)],_0x412d39=_0x2b1d50[_0x294db2(0x456)],_0x3b0233=_0x412d39[_0x294db2(0x27c)],_0x45346b=_0x412d39[_0x294db2(0x38b)]=_0x145b81[_0x294db2(0x497)]({'cfg':_0x145b81['extend']({'keySize':0x80/0x20,'hasher':_0x3b0233,'iterations':0x1}),'init':function(_0x5539e2){var _0x5cdb79=_0x294db2;this[_0x5cdb79(0x468)]=this['cfg']['extend'](_0x5539e2);},'compute':function(_0x1ce4a9,_0x3c8a45){var _0x53c06b=_0x294db2;for(var _0x55c575,_0x1dea60=this['cfg'],_0x5d63e4=_0x1dea60[_0x53c06b(0x22a)]['create'](),_0x2f611a=_0x4c91b7[_0x53c06b(0x342)](),_0x4008b1=_0x2f611a[_0x53c06b(0x388)],_0x997ee4=_0x1dea60[_0x53c06b(0x438)],_0x2c8259=_0x1dea60[_0x53c06b(0x3e4)];_0x4008b1['length']<_0x997ee4;){_0x55c575&&_0x5d63e4[_0x53c06b(0x35b)](_0x55c575),_0x55c575=_0x5d63e4[_0x53c06b(0x35b)](_0x1ce4a9)[_0x53c06b(0x218)](_0x3c8a45),_0x5d63e4[_0x53c06b(0x331)]();for(var _0x338855=0x1;_0x338855<_0x2c8259;_0x338855++)_0x55c575=_0x5d63e4[_0x53c06b(0x218)](_0x55c575),_0x5d63e4[_0x53c06b(0x331)]();_0x2f611a[_0x53c06b(0x2a5)](_0x55c575);}return _0x2f611a[_0x53c06b(0x3bd)]=_0x997ee4*0x4,_0x2f611a;}});_0x2b1d50[_0x294db2(0x38b)]=function(_0x2f33f6,_0x25631c,_0x4410f6){var _0x3b83f4=_0x294db2;return _0x45346b[_0x3b83f4(0x342)](_0x4410f6)['compute'](_0x2f33f6,_0x25631c);};}()),_0x2bf4fa[_0x87aee9(0x38b)];}));}(Ye)),Ye[_0x117a9c(0x313)];}function _0x27f5(){var _0x344eb8=['roomInfos','collaboratorID','_xformMode','clear','getActiveSheet','_transformStack','unitID','fetchThroughInterceptors','onMissingChangesets','APPLY_PERMISSION_DENIED','AWAITING','getCurrentUser','getInterceptPoints','_onOffline','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','image/bmp','_substituteRedoStack','url','$super','_executeRemoteChangeset','CHANGESET_REJ','getTypeOfUnitAdded$','SNAPSHOT_SERVER_URL_KEY','_waitCount','sigBytes','Decryptor','UNKNOWN_CODE','_resendTimeout','_doCryptBlock','telemetry\x20info\x20is\x20not\x20initialized','onCommandExecuted','mutations','People','_sendHeartbeatTimer','USERS_LEAVE','size','_collaborationPaused','formatter','FileId','appendMutation','_clearRedo','_syncEditingCollabCursor','_onRecvEvent','NO_OTHER_CLIENTS_EDITING','_sender','encrypt','UPDATE_CURSOR','onRemoteAck','reject','floor','_toggleOffline','[SyncedState]:\x20received\x20rejection.','YUUMI_URL_COL_OUT_OF_RANGE','_getUndoStack','_undoStacks','OTHER_CLIENTS_EDITING','saveImage','apply','_roomMembers','_getAPIPrefix','c1Prime','put','StreamCipher','iterations','_startCollaboration','batchAllowed','encode','_createInitialStateImpl','error','ERROR_IMAGE','_event$','connection\x20error','_key','_entityInit$','default','NOT_FOUND','originalMeta','AWAITING_WITH_PENDING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformIMECache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNRECOGNIZED','getAllMembers','onTransformState','TOO_MANY_REQUESTS','OpenSSL','[CollaborationSessionService]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_socketReady','SEND_CHANGESET_TIMEOUT','Univer','_redoStacks','AES','_eventService','_handler','PERMISSION_REJ','code','[PendingState]:\x20received\x20rejection.','replace','JOIN_ROOM_PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','PERSON','GLOBAL_ROOMS_CNT_EXCEEDS','getMember','COMPRESS_MUTATION_APPLY','deleteCollaborator','_univerInstanceService','_submitChangeset','BufferedBlockAlgorithm','baseRev','createInstance','YUUMI_RATE_OVER_LIMIT','_getDownloadEndpointURL','commentUpdate$','_configService','execute','ws://127.0.0.1:8000/universer-api/comb/connect','UnitSnapshot','_removeRoom','[SyncedState]:\x20received\x20acknowledgement.','4385070dZnCmV','awaiting','localeService','fetchMissingChangesets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/fetchmissing?from=','_state','forEach','_awaitingChangeset','JOIN_ROOM_FAILED','session.join-failed','onRemoteRetry','padding','_keyPriorReset','signUrlServerUrl','registerHTTPInterceptor','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_prevBlock','location','_throwTelemetryCollaborationNewChangeset','focused$','subject','stringify','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','sin','confirm','target','keySize','[FetchMissState]','\x20to\x20','_ENC_XFORM_MODE','splice','entityInit$','[CollaborationSession]','reduce','close','YUUMI_UNABLE_LOAD_URL','message$','createEncryptor','/object/','_updateStatus','disableLocalCache','SYNCED','\x0aAfter:\x20','_sessionStatus$','LEAVE','updatePermissionObjEvent','toString','updatePermissionPoint','_onRemoteRetry','headers','onMissedChangesetFetched','LOGIN_URL_KEY','push','?size=','_toggleOnline','INVITE_CODE_ALREADY_BOUND','algo','onload','range','csShouldRetryEvent','{fileID}','_transformSelections','getCollabEntity$','name','sessionStatus$','getUnitType','OTHER_CLIENT_EDITING','getUnitId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_iv','src','min','unitInfo$','_keySchedule','cfg','_commentUpdate$','Cipher','crypto','Error\x20on\x20receiving\x20event','[CollaborationState]:\x20apply\x20error!','_updateState','SNAPSHOT_HAS_BEEN_REMOVED','failed\x20to\x20apply\x20missed\x20changesets!','onTransformRemoteChangesetByStateCache','collaboration_new_changeset','bind','_socket','getRoom','_init','LICENSE_IMPORT_SIZE_EXCEEDED','RETRY_CONNECTING_MAX_COUNT','_exhaustRemoteChangesetQueue','collabSubmitChangesetUrl','getFocusedUnit','_HTTPService','collaMsg','_disableEditing','_stopTelemetryCollaborationNewChangeset','_onUserJoin','_isPermissionRej','UNIVER_COLLABORATION_CLIENT_PLUGIN','interceptor','roles','_logService','listRoles','synced','_transitionLocked','APPLY_REJECT','_hasher','__creator','_sendHeartbeat','univer-pro.collaboration-client.single-active-unit-service','_telemetryInfo','_showConflictNotification','send','_telemetryService','_tryEnsureSocket','_applyRemoteChangeset','_transformUndoredo','add','_nDataBytes','extend','UUID','saveSheetBlock','JOIN','getSheetBlock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ENSURE_SNAPSHOT_EXECUTION','status$','_clearTimeoutTimer','_instanceService','_cipher','resourceIDs','join','_initMergeInterceptor','charCodeAt','_sendingTimer','BASE64','SOCKET_FAILED','_collaborationSessionService','setCurrentUser','enableOfflineEditing','CipherParams','/resources','MUTATION','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformRemoteChangesetByIMECache','JOIN_ROOM_FULL','_transformService','processBlock','enableAuthServer','LOGIN_FAILED','session.room-permission-denied','resend','_getCtorByUniverType','WordArray','onTransformSelections','UnitEmbedded','blockSize','transformMutationsWithChangeset','_members$','PY_RUNTIME_SCRIPT_ERROR','/block/','LIVESHARE_REQUEST_HOST','/universer-api/snapshot','next','[OfflineState]:\x20received\x20changeset.','selections','readAsDataURL','userID','_acknowledgedAwaitingChangeset','_httpService','parse','enableSingleActiveInstanceLock','sendChangesetTimeout','_listenToNetworkCondition','randomBytes','_clearScheduledTask','disposeWithMe','decryptBlock','/universer-api/stream/file/upload','readInt32LE','_getUploadFileURL','decrypt','collaborators','[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.','FAIL','uploadFileServerUrl','saveChangeset','joinEvent','[DataLoaderService]','loadUnit','unitId','UNDEFINED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','3651016MdQhYB','awaiting_with_pending','MSG_FOR_ERROR','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','createSocket','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','event$','socketService','_collabSessionService','refreshPermission','_waitForHeartbeatResponse','equals','downloadEndpointUrl','_commentService','POST','onRemoteChangeset','toggleOnline','members$','_invKeySchedule','/-/object/-/batch_allowed','eventID','_joinRoom','LICENSE_DISTRO_REJECTED','_socketService','shouldCloseConn','format','session.room-not-exists','SerializableCipher','_createHelper','newCsEvent','NoPadding','_memberService','HttpImport','delete','debug','unitId\x20is\x20not\x20found','objects','pauseCollaboration','UNISCRIPT_RUN','onSendChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','localCacheService','set','lib','1113813SHaMde','LIVESHARE_OPERATION','hasOwnProperty','_compressMutationService','_onLocalMutation','_state$','_scheduleCompleteTimestamp','slice','_onRemoteACK','NOT_COLLAB','onRemoteRej','finalize','_onCombEvent','sessionStatus','getRandomValues','_shouldReportTelemetry','Encryptor','c2Prime','_sessions','authzUrl','_permissionService','_map','_loadDoc','json','\x0aCurrent:\x20','COMPRESS_MUTATION_SEND','byteLength','getResourcesRequest','key','hasher','\x20in\x20_schedule.','&assign=','_clearHeartbeatTimer','_getSendChangesetTimeout','2548400wynVVs','values','find','LICENSE_MAX_UNITS_EXCEEDED','_revisionService','_updateLocalCache','avatar','UNIVER_UNKNOWN','_entities','fromCollab','UNIVER_SHEET','[OfflineState]:\x20received\x20rejection.','_createHandler','NEW_CHANGESETS','objectID','_tryReconnect','getValue','loadSheet','HttpExport','unit-cache-','INVITE_CODE_HAS_BEEN_UES','_DEC_XFORM_MODE','HEARTBEAT','APPLY_REVISION_CONFILICT','_changesetReqId','kdf','status','/allowed','sid','_clearRetryConnectingTimer','[CollaborationUndoRedoService]','href','mixIn','snapshotServerUrl','getMemberID','UNIVER_PROJECT','getCurrentSelections','_registerDependencies','ERROR_EXCEED_SIZE','_localeService','LIVESHARE_TERMINATE','UNIVER_DOC','_oKey','saveSnapshot','every','infoRsp','updateMember','CONNECTOR_DATA_TOO_LARGE','commentUpdateEvent','COLLAB_WEB_SOCKET_URL','_createSocket','has','_incrementRevisionNumber','HEARTBEAT_INTERVAL','LICENSE_EXPORT_SIZE_EXCEEDED','RECV','type','pending','_singleActiveUnitService','body','override','createCollaborator','_replaceFileID','collabWebSocketUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','FETCH_MISS','enc','ciphertext','_getSignURL','_imageSourceCache','UNAUTHENTICATED','result','Hasher','onLocalMutation','_getLoginPath','USERS_ENTER','copyFileMeta','MD5','startsWith','COMPLETION_FINISHED','initWorkbookPermissionChange','_networkConditionService','random','_onFetchMissResult','[CollaborationEntity]','action','_createHmacHelper','allowed','_collaborationUIEventService','loginUrlKey','_resendTimer','joinRsp','/universer-api/user/session-ticket','getCurrentRevOfUnit','SHA1','conflict','_nRounds','_transformStateCache','repeat','prototype','/universer-api/file/{fileID}/sign-url','/unit/','AUTHZ_URL_KEY','isPermissionRej','_decreaseWaiting','listCollaborators','salt','permissionRejEvent','_onConnectionOpen','_status$','_doFinalize','readyForCollab','transformStack\x20failed!','socket\x20close','_resendWithTimeout','transformChangesets','onCommentUpdate','length','concat','error$','unsubscribe','IDLE','_socketMessageSubscription','_config','_undoRedoService','ceil','getTypeOfUnitDisposed$','setShowComponents','OFFLINE','226kZfZHT','COLLAB_SUBMIT_CHANGESET_URL','params','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20acknowledgement.','list','_process','SOCKET_FAILED_RETRY','_socket$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_commandService','__Key__','onTransformIME','_injector','_handlerCallback','PERMISSION_DENIED','SNAPSHOT_URL_KEY','Base','__esModule','session.room-cnt-exceeds','_roomCreated$','title','4736540ecEOtC','_sheetTransformSelectionsService','UNIVER_SLIDE','m2Prime','_reverseMap','map','subscribe','_pendingMutations','/universer-api/authz','/object','_members','now','_onMessage','_rescheduleHeartbeat','HmacSHA1','FETCH_MISSING','LIVESHARE_NEW_HOST','emitEvent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','textRanges','withCredentials','LOCAL_CACHE_INTERVAL','compute','_minBufferSize','rev','complete','_doReset','routeKey','max','offline','_checkMissing','msCrypto','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_retryConnectingTimer','_getAPIPrefixPath','csRejEvent','Failed\x20to\x20update\x20permission\x20point','_substituteUndoStack','getSheetId','awaitingChangeset','_getCurrentRevision','CLOSE_ROOM','get','onSyncEditingCollabCursor','/collaborator','JOINING','state$','?url=','collaboration-client.config','_startTelemetryCollaborationNewChangeset','INGEST','rng','function','catch','snapshot','Hex','addHandlerCallback','requireSession','dispose','SUBMIT_CHANGESET','transformSelections','_onUserLeave','Utf8','LIVESHARE_FETCH_OPERATIONS','getImage','23433pEWVEX','state','_onRemoteRejected','file','BlockCipher','_initUnitPermissionChange','_unitInfo$','_initDependencies','asObservable','BlockCipherMode','CHANGESET_ACK','exports','_loadSheet','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cmd','_remoteChangesetQueue','_userManagerService','_onConflict','call','USER_NOT_INVITED_CODE','_onJoinRoomEvent','_schedule','getLatestCsReqIdBySid','onlyLocal','encryptBlock','608342vbZocy','executeCommand','_clearUndo','defineProperty','save\x20fail\x20reason\x20is\x20','liveShareNewHost','init','indexOf','_timeoutTimer','_queuedRemoteChangesets','ONLINE','getTime','COMMENT_UPDATE','resolve','fromCharCode','/new_changes','reset','CBC','fetch_missing','_onRemoteChangeset','startTime','revision','_clearLocalCache','getCollabEntity','HEARTBEAT_TIMEOUT','_createInitialState','session.room-full','_onConnectionFailed','socket\x20open.','_retryCount','HMAC','CONFLICT','randomUUID','create','[PendingState]:\x20received\x20acknowledgement.','ivSize','image/jpeg','HELLO','_initCloseConn','pipe','CHANGESET_SHOULD_RETRY','requestParams','_unitID','UNKNOWN_CMD','objectActions','Undefined','_doCreateSocket','append','dispose$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','UPDATE_PERMISSION_OBJ','entries','mode','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','post','_lockTransition','objectType','update','generateRandomId','_candidateSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','sheets','updateOfflineData','liveShareOperation','transformUndoRedo','changesets','pad','getConfig','loadOfflineData','ALREADY_EXISTS','isArray','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_clearCollaborationTimeoutTimer','_localCacheService','getSnapshotAPIPath','data','APPLY_DUPLICATED','pluginName','Could\x20not\x20dynamically\x20require\x20\x22','editingUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','_collaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','actions','retryConnectingInterval','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_change$','string','closeSession','onTransformRemoteChangesetByIMECache','Base64','INVITE_CODE_REQUIRED','toggleOffline','workbook','leaveEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Malformed\x20UTF-8\x20data','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','18LCEbJb','_mode','words','_append','removeMember','EvpKDF','stopTime','_fetchMissChangesets','session','_data','_replayCachedMutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setWaitCount','_unlockTransition','clamp','memberID','hostname','getUnit','patch','_type','INVALID_INVITE_CODE','reqId','_hash','addImageSourceCache','setConfig','abs','clone','PSEUDO_FETCH_MISSING_RESULT','unknown','INTERNAL_ERROR'];_0x27f5=function(){return _0x344eb8;};return _0x27f5();}var Je={'exports':{}},Nr=Je[_0x7a64ab(0x313)],ni;function wi(){var _0xd55dad=_0x7a64ab;return ni||(ni=0x1,function(_0x32242f,_0xf02321){(function(_0x4cd27d,_0x57a483,_0x1b4b19){var _0x50f4dd=_0x5205;_0x32242f[_0x50f4dd(0x313)]=_0x57a483(ie(),Ui());}(Nr,function(_0x41aa61){var _0x3e8594=_0x5205;_0x41aa61['lib'][_0x3e8594(0x46a)]||function(_0x12898b){var _0x2a75a3=_0x3e8594,_0x49d62d=_0x41aa61,_0x4473c6=_0x49d62d['lib'],_0x3894f5=_0x4473c6[_0x2a75a3(0x2c1)],_0x1d8816=_0x4473c6[_0x2a75a3(0x4b9)],_0x11b8a0=_0x4473c6[_0x2a75a3(0x411)],_0x158564=_0x49d62d[_0x2a75a3(0x271)];_0x158564[_0x2a75a3(0x305)];var _0x18a01a=_0x158564[_0x2a75a3(0x37e)],_0x48ee94=_0x49d62d[_0x2a75a3(0x456)],_0x4cc362=_0x48ee94[_0x2a75a3(0x38b)],_0x70d2ff=_0x4473c6[_0x2a75a3(0x46a)]=_0x11b8a0[_0x2a75a3(0x497)]({'cfg':_0x3894f5[_0x2a75a3(0x497)](),'createEncryptor':function(_0x3dad11,_0x344317){var _0x4e93b0=_0x2a75a3;return this[_0x4e93b0(0x342)](this[_0x4e93b0(0x43b)],_0x3dad11,_0x344317);},'createDecryptor':function(_0x522cba,_0x134733){var _0x22f7b3=_0x2a75a3;return this[_0x22f7b3(0x342)](this[_0x22f7b3(0x244)],_0x522cba,_0x134733);},'init':function(_0x5722ec,_0x2a4adb,_0x313eaa){var _0xabc180=_0x2a75a3;this[_0xabc180(0x468)]=this[_0xabc180(0x468)][_0xabc180(0x497)](_0x313eaa),this[_0xabc180(0x3a6)]=_0x5722ec,this[_0xabc180(0x3ed)]=_0x2a4adb,this[_0xabc180(0x331)]();},'reset':function(){var _0x3cd192=_0x2a75a3;_0x11b8a0[_0x3cd192(0x331)]['call'](this),this[_0x3cd192(0x2e0)]();},'process':function(_0xeefa6e){var _0x37449a=_0x2a75a3;return this[_0x37449a(0x389)](_0xeefa6e),this[_0x37449a(0x2b6)]();},'finalize':function(_0x3e469e){var _0x5d12a3=_0x2a75a3;_0x3e469e&&this[_0x5d12a3(0x389)](_0x3e469e);var _0x59a7bd=this['_doFinalize']();return _0x59a7bd;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x15adf2(_0x37cada){var _0xfe7ef7=_0x5205;return typeof _0x37cada==_0xfe7ef7(0x37b)?_0x269725:_0x35cf82;}return function(_0x22674c){return{'encrypt':function(_0x29b4ba,_0x5568d2,_0x36224a){var _0x49e10f=_0x5205;return _0x15adf2(_0x5568d2)[_0x49e10f(0x3d2)](_0x22674c,_0x29b4ba,_0x5568d2,_0x36224a);},'decrypt':function(_0x572dab,_0x258284,_0xd8f4b5){var _0xe67bc1=_0x5205;return _0x15adf2(_0x258284)[_0xe67bc1(0x4d5)](_0x22674c,_0x572dab,_0x258284,_0xd8f4b5);}};};}())});_0x4473c6[_0x2a75a3(0x3e3)]=_0x70d2ff['extend']({'_doFinalize':function(){var _0xb97758=this['_process'](!0x0);return _0xb97758;},'blockSize':0x1});var _0x57e7f5=_0x49d62d[_0x2a75a3(0x356)]={},_0x406f6d=_0x4473c6[_0x2a75a3(0x311)]=_0x3894f5[_0x2a75a3(0x497)]({'createEncryptor':function(_0x2de7f8,_0x5d829a){var _0x259256=_0x2a75a3;return this[_0x259256(0x21d)][_0x259256(0x342)](_0x2de7f8,_0x5d829a);},'createDecryptor':function(_0x25d4b7,_0x115fc0){var _0x29e244=_0x2a75a3;return this[_0x29e244(0x3be)]['create'](_0x25d4b7,_0x115fc0);},'init':function(_0x4936ea,_0x11e976){var _0x4943a3=_0x2a75a3;this['_cipher']=_0x4936ea,this[_0x4943a3(0x463)]=_0x11e976;}}),_0x4f6751=_0x57e7f5[_0x2a75a3(0x332)]=(function(){var _0x32e4ca=_0x2a75a3,_0x54f7f2=_0x406f6d['extend']();_0x54f7f2[_0x32e4ca(0x21d)]=_0x54f7f2[_0x32e4ca(0x497)]({'processBlock':function(_0x1d6b84,_0x395c84){var _0x5bfc40=_0x32e4ca,_0x11acbd=this['_cipher'],_0x305809=_0x11acbd[_0x5bfc40(0x4bc)];_0x33e447[_0x5bfc40(0x31a)](this,_0x1d6b84,_0x395c84,_0x305809),_0x11acbd[_0x5bfc40(0x320)](_0x1d6b84,_0x395c84),this[_0x5bfc40(0x42e)]=_0x1d6b84[_0x5bfc40(0x214)](_0x395c84,_0x395c84+_0x305809);}}),_0x54f7f2[_0x32e4ca(0x3be)]=_0x54f7f2[_0x32e4ca(0x497)]({'processBlock':function(_0x1229f5,_0x4ad07e){var _0x3da707=_0x32e4ca,_0x3f6fd6=this[_0x3da707(0x4a1)],_0x45d6b1=_0x3f6fd6[_0x3da707(0x4bc)],_0x3060fb=_0x1229f5[_0x3da707(0x214)](_0x4ad07e,_0x4ad07e+_0x45d6b1);_0x3f6fd6[_0x3da707(0x4d1)](_0x1229f5,_0x4ad07e),_0x33e447['call'](this,_0x1229f5,_0x4ad07e,_0x45d6b1),this['_prevBlock']=_0x3060fb;}});function _0x33e447(_0x4e8a27,_0x2bdcc0,_0x223562){var _0x1c0770=_0x32e4ca,_0x3b594c,_0x4437ea=this[_0x1c0770(0x463)];_0x4437ea?(_0x3b594c=_0x4437ea,this[_0x1c0770(0x463)]=_0x12898b):_0x3b594c=this['_prevBlock'];for(var _0x387844=0x0;_0x387844<_0x223562;_0x387844++)_0x4e8a27[_0x2bdcc0+_0x387844]^=_0x3b594c[_0x387844];}return _0x54f7f2;}()),_0x1871ca=_0x49d62d[_0x2a75a3(0x365)]={},_0x1de89e=_0x1871ca['Pkcs7']={'pad':function(_0x5cdfb3,_0x4bf5b0){var _0x3d0bb0=_0x2a75a3;for(var _0x20ffe6=_0x4bf5b0*0x4,_0x34d4bf=_0x20ffe6-_0x5cdfb3['sigBytes']%_0x20ffe6,_0x2c17d4=_0x34d4bf<<0x18|_0x34d4bf<<0x10|_0x34d4bf<<0x8|_0x34d4bf,_0x529f3a=[],_0x47752c=0x0;_0x47752c<_0x34d4bf;_0x47752c+=0x4)_0x529f3a['push'](_0x2c17d4);var _0x224642=_0x1d8816[_0x3d0bb0(0x342)](_0x529f3a,_0x34d4bf);_0x5cdfb3[_0x3d0bb0(0x2a5)](_0x224642);},'unpad':function(_0x2af4e2){var _0x57e90d=_0x2a75a3,_0x3d2a30=_0x2af4e2[_0x57e90d(0x388)][_0x2af4e2['sigBytes']-0x1>>>0x2]&0xff;_0x2af4e2[_0x57e90d(0x3bd)]-=_0x3d2a30;}};_0x4473c6[_0x2a75a3(0x30c)]=_0x70d2ff[_0x2a75a3(0x497)]({'cfg':_0x70d2ff[_0x2a75a3(0x468)][_0x2a75a3(0x497)]({'mode':_0x4f6751,'padding':_0x1de89e}),'reset':function(){var _0x3579d0=_0x2a75a3,_0x1b83f1;_0x70d2ff[_0x3579d0(0x331)][_0x3579d0(0x31a)](this);var _0x485b8e=this['cfg'],_0x8db113=_0x485b8e['iv'],_0x598096=_0x485b8e[_0x3579d0(0x356)];this[_0x3579d0(0x3a6)]==this['_ENC_XFORM_MODE']?_0x1b83f1=_0x598096[_0x3579d0(0x443)]:(_0x1b83f1=_0x598096['createDecryptor'],this[_0x3579d0(0x2dd)]=0x1),this[_0x3579d0(0x387)]&&this['_mode']['__creator']==_0x1b83f1?this[_0x3579d0(0x387)][_0x3579d0(0x327)](this,_0x8db113&&_0x8db113[_0x3579d0(0x388)]):(this[_0x3579d0(0x387)]=_0x1b83f1[_0x3579d0(0x31a)](_0x598096,this,_0x8db113&&_0x8db113['words']),this[_0x3579d0(0x387)][_0x3579d0(0x48b)]=_0x1b83f1);},'_doProcessBlock':function(_0x3dab9a,_0x4c345){var _0x3eaab8=_0x2a75a3;this[_0x3eaab8(0x387)][_0x3eaab8(0x4b3)](_0x3dab9a,_0x4c345);},'_doFinalize':function(){var _0x5d673f=_0x2a75a3,_0x3b46ee,_0x4b7d9e=this[_0x5d673f(0x468)][_0x5d673f(0x429)];return this[_0x5d673f(0x3a6)]==this[_0x5d673f(0x43b)]?(_0x4b7d9e[_0x5d673f(0x365)](this[_0x5d673f(0x38f)],this[_0x5d673f(0x4bc)]),_0x3b46ee=this[_0x5d673f(0x2b6)](!0x0)):(_0x3b46ee=this[_0x5d673f(0x2b6)](!0x0),_0x4b7d9e['unpad'](_0x3b46ee)),_0x3b46ee;},'blockSize':0x80/0x20});var _0x3c411d=_0x4473c6[_0x2a75a3(0x4ac)]=_0x3894f5[_0x2a75a3(0x497)]({'init':function(_0x1c7ff0){var _0x472c3e=_0x2a75a3;this[_0x472c3e(0x24f)](_0x1c7ff0);},'toString':function(_0x3a4a01){var _0x4544bc=_0x2a75a3;return(_0x3a4a01||this[_0x4544bc(0x3ca)])[_0x4544bc(0x433)](this);}}),_0x21b9b3=_0x49d62d[_0x2a75a3(0x1fa)]={},_0xc01da0=_0x21b9b3[_0x2a75a3(0x3fa)]={'stringify':function(_0x5cb62c){var _0x5d55bb=_0x2a75a3,_0x54583f,_0x37c067=_0x5cb62c[_0x5d55bb(0x272)],_0x19ff00=_0x5cb62c[_0x5d55bb(0x299)];return _0x19ff00?_0x54583f=_0x1d8816[_0x5d55bb(0x342)]([0x53616c74,0x65645f5f])[_0x5d55bb(0x2a5)](_0x19ff00)['concat'](_0x37c067):_0x54583f=_0x37c067,_0x54583f[_0x5d55bb(0x44c)](_0x18a01a);},'parse':function(_0x48fd85){var _0x2b01be=_0x2a75a3,_0x512164,_0x554e60=_0x18a01a[_0x2b01be(0x4ca)](_0x48fd85),_0xfba44=_0x554e60[_0x2b01be(0x388)];return _0xfba44[0x0]==0x53616c74&&_0xfba44[0x1]==0x65645f5f&&(_0x512164=_0x1d8816[_0x2b01be(0x342)](_0xfba44['slice'](0x2,0x4)),_0xfba44[_0x2b01be(0x43c)](0x0,0x4),_0x554e60['sigBytes']-=0x10),_0x3c411d[_0x2b01be(0x342)]({'ciphertext':_0x554e60,'salt':_0x512164});}},_0x35cf82=_0x4473c6[_0x2a75a3(0x1fc)]=_0x3894f5[_0x2a75a3(0x497)]({'cfg':_0x3894f5[_0x2a75a3(0x497)]({'format':_0xc01da0}),'encrypt':function(_0xd73578,_0x103e14,_0x29ae81,_0x43b707){var _0x43176f=_0x2a75a3;_0x43b707=this[_0x43176f(0x468)]['extend'](_0x43b707);var _0x2b189f=_0xd73578[_0x43176f(0x443)](_0x29ae81,_0x43b707),_0x5cbe35=_0x2b189f[_0x43176f(0x218)](_0x103e14),_0x414b54=_0x2b189f[_0x43176f(0x468)];return _0x3c411d['create']({'ciphertext':_0x5cbe35,'key':_0x29ae81,'iv':_0x414b54['iv'],'algorithm':_0xd73578,'mode':_0x414b54[_0x43176f(0x356)],'padding':_0x414b54['padding'],'blockSize':_0xd73578[_0x43176f(0x4bc)],'formatter':_0x43b707['format']});},'decrypt':function(_0x505ce1,_0x124fd5,_0x218539,_0x3e4220){var _0x457196=_0x2a75a3;_0x3e4220=this[_0x457196(0x468)][_0x457196(0x497)](_0x3e4220),_0x124fd5=this['_parse'](_0x124fd5,_0x3e4220['format']);var _0x41711e=_0x505ce1['createDecryptor'](_0x218539,_0x3e4220)[_0x457196(0x218)](_0x124fd5[_0x457196(0x272)]);return _0x41711e;},'_parse':function(_0x2e098e,_0x13b228){var _0x19126d=_0x2a75a3;return typeof _0x2e098e==_0x19126d(0x37b)?_0x13b228[_0x19126d(0x4ca)](_0x2e098e,this):_0x2e098e;}}),_0x6306b6=_0x49d62d['kdf']={},_0x5b0945=_0x6306b6[_0x2a75a3(0x3fa)]={'execute':function(_0x2ee47e,_0x5cdc15,_0x2e8998,_0x20ef7e,_0x3c9854){var _0x1a5241=_0x2a75a3;if(_0x20ef7e||(_0x20ef7e=_0x1d8816[_0x1a5241(0x281)](0x40/0x8)),_0x3c9854)var _0x7b595e=_0x4cc362[_0x1a5241(0x342)]({'keySize':_0x5cdc15+_0x2e8998,'hasher':_0x3c9854})['compute'](_0x2ee47e,_0x20ef7e);else var _0x7b595e=_0x4cc362[_0x1a5241(0x342)]({'keySize':_0x5cdc15+_0x2e8998})[_0x1a5241(0x2dc)](_0x2ee47e,_0x20ef7e);var _0xfc88a0=_0x1d8816['create'](_0x7b595e[_0x1a5241(0x388)][_0x1a5241(0x214)](_0x5cdc15),_0x2e8998*0x4);return _0x7b595e[_0x1a5241(0x3bd)]=_0x5cdc15*0x4,_0x3c411d[_0x1a5241(0x342)]({'key':_0x7b595e,'iv':_0xfc88a0,'salt':_0x20ef7e});}},_0x269725=_0x4473c6['PasswordBasedCipher']=_0x35cf82[_0x2a75a3(0x497)]({'cfg':_0x35cf82['cfg']['extend']({'kdf':_0x5b0945}),'encrypt':function(_0x52bffc,_0x9e7355,_0x3ee744,_0xb2a9ea){var _0x4e21a6=_0x2a75a3;_0xb2a9ea=this[_0x4e21a6(0x468)][_0x4e21a6(0x497)](_0xb2a9ea);var _0x5cb15a=_0xb2a9ea[_0x4e21a6(0x248)][_0x4e21a6(0x418)](_0x3ee744,_0x52bffc[_0x4e21a6(0x438)],_0x52bffc[_0x4e21a6(0x344)],_0xb2a9ea[_0x4e21a6(0x299)],_0xb2a9ea[_0x4e21a6(0x22a)]);_0xb2a9ea['iv']=_0x5cb15a['iv'];var _0x2e2b9d=_0x35cf82[_0x4e21a6(0x3d2)][_0x4e21a6(0x31a)](this,_0x52bffc,_0x9e7355,_0x5cb15a[_0x4e21a6(0x229)],_0xb2a9ea);return _0x2e2b9d[_0x4e21a6(0x24f)](_0x5cb15a),_0x2e2b9d;},'decrypt':function(_0xd1ce90,_0x22afae,_0x32e9ff,_0x88a36a){var _0x52c4e9=_0x2a75a3;_0x88a36a=this[_0x52c4e9(0x468)][_0x52c4e9(0x497)](_0x88a36a),_0x22afae=this['_parse'](_0x22afae,_0x88a36a[_0x52c4e9(0x1fa)]);var _0x1a439e=_0x88a36a[_0x52c4e9(0x248)][_0x52c4e9(0x418)](_0x32e9ff,_0xd1ce90['keySize'],_0xd1ce90['ivSize'],_0x22afae[_0x52c4e9(0x299)],_0x88a36a[_0x52c4e9(0x22a)]);_0x88a36a['iv']=_0x1a439e['iv'];var _0x5c021e=_0x35cf82[_0x52c4e9(0x4d5)][_0x52c4e9(0x31a)](this,_0xd1ce90,_0x22afae,_0x1a439e['key'],_0x88a36a);return _0x5c021e;}});}();}));}(Je)),Je[_0xd55dad(0x313)];}var Dr=Ve[_0x7a64ab(0x313)],ri;function Ur(){var _0x3aaada=_0x7a64ab;return ri||(ri=0x1,function(_0x2a102c,_0x340092){(function(_0x1e8aa5,_0x2df2d4,_0x3589e6){var _0x1e6918=_0x5205;_0x2a102c[_0x1e6918(0x313)]=_0x2df2d4(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x35179d){return(function(){var _0x49fd7b=_0x5205,_0xea4970=_0x35179d,_0x10e62c=_0xea4970[_0x49fd7b(0x20c)],_0x1689dc=_0x10e62c['BlockCipher'],_0x4fa289=_0xea4970[_0x49fd7b(0x456)],_0x409594=[],_0x467541=[],_0x527268=[],_0x2da13a=[],_0x1caed1=[],_0x31f59a=[],_0x307f69=[],_0x1c02ca=[],_0x2ec184=[],_0x3c77eb=[];(function(){for(var _0x1d317a=[],_0x4aaff8=0x0;_0x4aaff8<0x100;_0x4aaff8++)_0x4aaff8<0x80?_0x1d317a[_0x4aaff8]=_0x4aaff8<<0x1:_0x1d317a[_0x4aaff8]=_0x4aaff8<<0x1^0x11b;for(var _0x44fec2=0x0,_0x22e8c1=0x0,_0x4aaff8=0x0;_0x4aaff8<0x100;_0x4aaff8++){var _0x1cd272=_0x22e8c1^_0x22e8c1<<0x1^_0x22e8c1<<0x2^_0x22e8c1<<0x3^_0x22e8c1<<0x4;_0x1cd272=_0x1cd272>>>0x8^_0x1cd272&0xff^0x63,_0x409594[_0x44fec2]=_0x1cd272,_0x467541[_0x1cd272]=_0x44fec2;var _0xdc87c5=_0x1d317a[_0x44fec2],_0x46fd7e=_0x1d317a[_0xdc87c5],_0x286ef7=_0x1d317a[_0x46fd7e],_0x57e905=_0x1d317a[_0x1cd272]*0x101^_0x1cd272*0x1010100;_0x527268[_0x44fec2]=_0x57e905<<0x18|_0x57e905>>>0x8,_0x2da13a[_0x44fec2]=_0x57e905<<0x10|_0x57e905>>>0x10,_0x1caed1[_0x44fec2]=_0x57e905<<0x8|_0x57e905>>>0x18,_0x31f59a[_0x44fec2]=_0x57e905;var _0x57e905=_0x286ef7*0x1010101^_0x46fd7e*0x10001^_0xdc87c5*0x101^_0x44fec2*0x1010100;_0x307f69[_0x1cd272]=_0x57e905<<0x18|_0x57e905>>>0x8,_0x1c02ca[_0x1cd272]=_0x57e905<<0x10|_0x57e905>>>0x10,_0x2ec184[_0x1cd272]=_0x57e905<<0x8|_0x57e905>>>0x18,_0x3c77eb[_0x1cd272]=_0x57e905,_0x44fec2?(_0x44fec2=_0xdc87c5^_0x1d317a[_0x1d317a[_0x1d317a[_0x286ef7^_0xdc87c5]]],_0x22e8c1^=_0x1d317a[_0x1d317a[_0x22e8c1]]):_0x44fec2=_0x22e8c1=0x1;}}());var _0x4a0770=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4509cf=_0x4fa289['AES']=_0x1689dc['extend']({'_doReset':function(){var _0x2386d8=_0x49fd7b,_0x58e19a;if(!(this['_nRounds']&&this[_0x2386d8(0x42a)]===this[_0x2386d8(0x3ed)])){for(var _0x2f7d09=this[_0x2386d8(0x42a)]=this[_0x2386d8(0x3ed)],_0x149a0a=_0x2f7d09[_0x2386d8(0x388)],_0x4158a9=_0x2f7d09[_0x2386d8(0x3bd)]/0x4,_0x374d95=this[_0x2386d8(0x28f)]=_0x4158a9+0x6,_0x1f1533=(_0x374d95+0x1)*0x4,_0x297423=this[_0x2386d8(0x467)]=[],_0x21e4b6=0x0;_0x21e4b6<_0x1f1533;_0x21e4b6++)_0x21e4b6<_0x4158a9?_0x297423[_0x21e4b6]=_0x149a0a[_0x21e4b6]:(_0x58e19a=_0x297423[_0x21e4b6-0x1],_0x21e4b6%_0x4158a9?_0x4158a9>0x6&&_0x21e4b6%_0x4158a9==0x4&&(_0x58e19a=_0x409594[_0x58e19a>>>0x18]<<0x18|_0x409594[_0x58e19a>>>0x10&0xff]<<0x10|_0x409594[_0x58e19a>>>0x8&0xff]<<0x8|_0x409594[_0x58e19a&0xff]):(_0x58e19a=_0x58e19a<<0x8|_0x58e19a>>>0x18,_0x58e19a=_0x409594[_0x58e19a>>>0x18]<<0x18|_0x409594[_0x58e19a>>>0x10&0xff]<<0x10|_0x409594[_0x58e19a>>>0x8&0xff]<<0x8|_0x409594[_0x58e19a&0xff],_0x58e19a^=_0x4a0770[_0x21e4b6/_0x4158a9|0x0]<<0x18),_0x297423[_0x21e4b6]=_0x297423[_0x21e4b6-_0x4158a9]^_0x58e19a);for(var _0x1ecb8d=this[_0x2386d8(0x1f3)]=[],_0x2acdbf=0x0;_0x2acdbf<_0x1f1533;_0x2acdbf++){var _0x21e4b6=_0x1f1533-_0x2acdbf;if(_0x2acdbf%0x4)var _0x58e19a=_0x297423[_0x21e4b6];else var _0x58e19a=_0x297423[_0x21e4b6-0x4];_0x2acdbf<0x4||_0x21e4b6<=0x4?_0x1ecb8d[_0x2acdbf]=_0x58e19a:_0x1ecb8d[_0x2acdbf]=_0x307f69[_0x409594[_0x58e19a>>>0x18]]^_0x1c02ca[_0x409594[_0x58e19a>>>0x10&0xff]]^_0x2ec184[_0x409594[_0x58e19a>>>0x8&0xff]]^_0x3c77eb[_0x409594[_0x58e19a&0xff]];}}},'encryptBlock':function(_0x3e062a,_0x33163f){var _0x9384d1=_0x49fd7b;this['_doCryptBlock'](_0x3e062a,_0x33163f,this[_0x9384d1(0x467)],_0x527268,_0x2da13a,_0x1caed1,_0x31f59a,_0x409594);},'decryptBlock':function(_0x2a221f,_0xe52550){var _0xf474e8=_0x49fd7b,_0x5c3fa1=_0x2a221f[_0xe52550+0x1];_0x2a221f[_0xe52550+0x1]=_0x2a221f[_0xe52550+0x3],_0x2a221f[_0xe52550+0x3]=_0x5c3fa1,this[_0xf474e8(0x3c1)](_0x2a221f,_0xe52550,this[_0xf474e8(0x1f3)],_0x307f69,_0x1c02ca,_0x2ec184,_0x3c77eb,_0x467541);var _0x5c3fa1=_0x2a221f[_0xe52550+0x1];_0x2a221f[_0xe52550+0x1]=_0x2a221f[_0xe52550+0x3],_0x2a221f[_0xe52550+0x3]=_0x5c3fa1;},'_doCryptBlock':function(_0x4df2fc,_0x416dbb,_0x582ea8,_0x14ccef,_0x2bc149,_0x18568e,_0x3c751e,_0xa31d7e){var _0x2682f1=_0x49fd7b;for(var _0x2c2851=this[_0x2682f1(0x28f)],_0x23dc53=_0x4df2fc[_0x416dbb]^_0x582ea8[0x0],_0x478697=_0x4df2fc[_0x416dbb+0x1]^_0x582ea8[0x1],_0x586f92=_0x4df2fc[_0x416dbb+0x2]^_0x582ea8[0x2],_0x378b6b=_0x4df2fc[_0x416dbb+0x3]^_0x582ea8[0x3],_0x4047b9=0x4,_0x30fb2a=0x1;_0x30fb2a<_0x2c2851;_0x30fb2a++){var _0x4a7ec1=_0x14ccef[_0x23dc53>>>0x18]^_0x2bc149[_0x478697>>>0x10&0xff]^_0x18568e[_0x586f92>>>0x8&0xff]^_0x3c751e[_0x378b6b&0xff]^_0x582ea8[_0x4047b9++],_0x3423f3=_0x14ccef[_0x478697>>>0x18]^_0x2bc149[_0x586f92>>>0x10&0xff]^_0x18568e[_0x378b6b>>>0x8&0xff]^_0x3c751e[_0x23dc53&0xff]^_0x582ea8[_0x4047b9++],_0x5d7b5d=_0x14ccef[_0x586f92>>>0x18]^_0x2bc149[_0x378b6b>>>0x10&0xff]^_0x18568e[_0x23dc53>>>0x8&0xff]^_0x3c751e[_0x478697&0xff]^_0x582ea8[_0x4047b9++],_0x498898=_0x14ccef[_0x378b6b>>>0x18]^_0x2bc149[_0x23dc53>>>0x10&0xff]^_0x18568e[_0x478697>>>0x8&0xff]^_0x3c751e[_0x586f92&0xff]^_0x582ea8[_0x4047b9++];_0x23dc53=_0x4a7ec1,_0x478697=_0x3423f3,_0x586f92=_0x5d7b5d,_0x378b6b=_0x498898;}var _0x4a7ec1=(_0xa31d7e[_0x23dc53>>>0x18]<<0x18|_0xa31d7e[_0x478697>>>0x10&0xff]<<0x10|_0xa31d7e[_0x586f92>>>0x8&0xff]<<0x8|_0xa31d7e[_0x378b6b&0xff])^_0x582ea8[_0x4047b9++],_0x3423f3=(_0xa31d7e[_0x478697>>>0x18]<<0x18|_0xa31d7e[_0x586f92>>>0x10&0xff]<<0x10|_0xa31d7e[_0x378b6b>>>0x8&0xff]<<0x8|_0xa31d7e[_0x23dc53&0xff])^_0x582ea8[_0x4047b9++],_0x5d7b5d=(_0xa31d7e[_0x586f92>>>0x18]<<0x18|_0xa31d7e[_0x378b6b>>>0x10&0xff]<<0x10|_0xa31d7e[_0x23dc53>>>0x8&0xff]<<0x8|_0xa31d7e[_0x478697&0xff])^_0x582ea8[_0x4047b9++],_0x498898=(_0xa31d7e[_0x378b6b>>>0x18]<<0x18|_0xa31d7e[_0x23dc53>>>0x10&0xff]<<0x10|_0xa31d7e[_0x478697>>>0x8&0xff]<<0x8|_0xa31d7e[_0x586f92&0xff])^_0x582ea8[_0x4047b9++];_0x4df2fc[_0x416dbb]=_0x4a7ec1,_0x4df2fc[_0x416dbb+0x1]=_0x3423f3,_0x4df2fc[_0x416dbb+0x2]=_0x5d7b5d,_0x4df2fc[_0x416dbb+0x3]=_0x498898;},'keySize':0x100/0x20});_0xea4970[_0x49fd7b(0x401)]=_0x1689dc[_0x49fd7b(0x1fd)](_0x4509cf);}()),_0x35179d['AES'];}));}(Ve)),Ve[_0x3aaada(0x313)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x7a64ab(0x313)],ai;function Lr(){var _0x302a0f=_0x7a64ab;return ai||(ai=0x1,function(_0x4c3813,_0x1932f4){(function(_0x1f8f92,_0x371d38){_0x4c3813['exports']=_0x371d38(ie());}(xr,function(_0x41528a){var _0x342462=_0x5205;return _0x41528a[_0x342462(0x271)]['Utf8'];}));}(Xe)),Xe[_0x302a0f(0x313)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze['exports'],oi;function Hr(){return oi||(oi=0x1,function(_0x590fae,_0x9b6d65){(function(_0x155c8c,_0x40711c){_0x590fae['exports']=_0x40711c(ie());}($r,function(_0x409314){return(function(){var _0x273ee7=_0x5205;if(typeof ArrayBuffer==_0x273ee7(0x2fb)){var _0x41e0f8=_0x409314,_0x3e1c7a=_0x41e0f8[_0x273ee7(0x20c)],_0x595c22=_0x3e1c7a[_0x273ee7(0x4b9)],_0x537b63=_0x595c22['init'],_0x429e34=_0x595c22['init']=function(_0x14d005){var _0x53ff1e=_0x273ee7;if(_0x14d005 instanceof ArrayBuffer&&(_0x14d005=new Uint8Array(_0x14d005)),(_0x14d005 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x14d005 instanceof Uint8ClampedArray||_0x14d005 instanceof Int16Array||_0x14d005 instanceof Uint16Array||_0x14d005 instanceof Int32Array||_0x14d005 instanceof Uint32Array||_0x14d005 instanceof Float32Array||_0x14d005 instanceof Float64Array)&&(_0x14d005=new Uint8Array(_0x14d005['buffer'],_0x14d005['byteOffset'],_0x14d005[_0x53ff1e(0x227)])),_0x14d005 instanceof Uint8Array){for(var _0x73e129=_0x14d005['byteLength'],_0x1ecd63=[],_0x1b2d90=0x0;_0x1b2d90<_0x73e129;_0x1b2d90++)_0x1ecd63[_0x1b2d90>>>0x2]|=_0x14d005[_0x1b2d90]<<0x18-_0x1b2d90%0x4*0x8;_0x537b63[_0x53ff1e(0x31a)](this,_0x1ecd63,_0x73e129);}else _0x537b63['apply'](this,arguments);};_0x429e34[_0x273ee7(0x292)]=_0x595c22;}}()),_0x409314['lib']['WordArray'];}));}(Ze)),Ze['exports'];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x7a64ab(0x313)],ci;function Vr(){return ci||(ci=0x1,function(_0x2b5079,_0x2baa62){(function(_0x4ebd8e,_0x2b3815,_0x26fed2){_0x2b5079['exports']=_0x2b3815(ie(),wi());}(Fr,function(_0x1f1ad1){var _0x1e9a22=_0x5205;return _0x1f1ad1[_0x1e9a22(0x365)][_0x1e9a22(0x1ff)]={'pad':function(){},'unpad':function(){}},_0x1f1ad1[_0x1e9a22(0x365)][_0x1e9a22(0x1ff)];}));}(Qe)),Qe['exports'];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x3485aa,_0x15c265){var _0x344e97=_0x7a64ab;const _0x90126d=_0x15c265-_0x3485aa['length']%_0x15c265,_0x4fbf68=String['fromCharCode'](_0x90126d)[_0x344e97(0x291)](_0x90126d);return _0x3485aa+_0x4fbf68;}function Yr(_0x91e2cf,_0x355661){var _0x8e123c=_0x7a64ab;const _0x856654=jr['random'](0x10),_0x5a31e5=Kr(_0x91e2cf,0x10),_0x5617f1=Ar[_0x8e123c(0x3d2)](kr[_0x8e123c(0x4ca)](_0x5a31e5),si[_0x8e123c(0x4ca)](_0x355661),{'iv':_0x856654,'padding':Wr});return _0x856654[_0x8e123c(0x2a5)](_0x5617f1['ciphertext'])[_0x8e123c(0x44c)](si);}function qr(){var _0x524fd6=_0x7a64ab;const _0x1addd3=_0x14e7f0()[_0x524fd6(0x2bb)];if(_0x1addd3){const _0x55213={'time':Math[_0x524fd6(0x3d6)](Date['now']()/0x3e8),'domain':location[_0x524fd6(0x396)]};return Yr(JSON[_0x524fd6(0x433)](_0x55213),_0x1addd3);}}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x3a80d2,_0x1d28bd,_0x5ab442,_0x51e75f)=>{var _0x2504b7=_0x7a64ab;for(var _0x50e0c6=_0x51e75f>0x1?void 0x0:_0x51e75f?zr(_0x1d28bd,_0x5ab442):_0x1d28bd,_0x2598d2=_0x3a80d2[_0x2504b7(0x2a4)]-0x1,_0xf4fe44;_0x2598d2>=0x0;_0x2598d2--)(_0xf4fe44=_0x3a80d2[_0x2598d2])&&(_0x50e0c6=_0xf4fe44(_0x50e0c6)||_0x50e0c6);return _0x50e0c6;},Xr=(_0x1f3f18,_0x2a0895)=>(_0x182380,_0x3600a0)=>_0x2a0895(_0x182380,_0x3600a0,_0x1f3f18);let at=class{constructor(_0x23f375){var _0x413238=_0x7a64ab;this[_0x413238(0x4c9)]=_0x23f375,this['_initRequestHeader']();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2981b5,_0x431f20)=>{var _0x41d638=_0x5205;const _0x3eb68f=_0x2981b5[_0x41d638(0x44f)],_0x480792=qr();return _0x480792&&_0x3eb68f[_0x41d638(0x20b)]('x-univer-host',_0x480792),_0x431f20(_0x2981b5);}});}};at=Jr([Xr(0x0,_0x2d7d4c(_0x3f3bac))],at);var Zr=Object[_0x7a64ab(0x374)],Qr=(_0x33f101,_0x207be7,_0x4efb29,_0x201017)=>{var _0x3d1e53=_0x7a64ab;for(var _0x3dbfe3=_0x201017>0x1?void 0x0:_0x201017?Zr(_0x207be7,_0x4efb29):_0x207be7,_0x30392e=_0x33f101[_0x3d1e53(0x2a4)]-0x1,_0xa3f10a;_0x30392e>=0x0;_0x30392e--)(_0xa3f10a=_0x33f101[_0x30392e])&&(_0x3dbfe3=_0xa3f10a(_0x3dbfe3)||_0x3dbfe3);return _0x3dbfe3;},mt=(_0x4b9a65,_0x1f1f56)=>(_0x32baf2,_0x1f6a81)=>_0x1f1f56(_0x32baf2,_0x1f6a81,_0x4b9a65);let bt=class extends _0x33b33a{constructor(_0x4879a4,_0x13abe6,_0xace5a7){var _0x5d26ef=_0x7a64ab;super(),N(this,_0x5d26ef(0x30e),new _0x26007b(null)),N(this,_0x5d26ef(0x466),this[_0x5d26ef(0x30e)]['asObservable']()),(this['_logService']=_0x4879a4,this['_snapshotService']=_0x13abe6,this[_0x5d26ef(0x36c)]=_0xace5a7);}async[_0x7a64ab(0x1db)](_0x13ed38,_0x10e436,_0x68cb1d){var _0x2a6449=_0x7a64ab;this[_0x2a6449(0x30e)][_0x2a6449(0x4c3)]({'unitId':_0x13ed38,'type':_0x10e436,'subUnitId':_0x68cb1d});let _0x3a6886=null;switch(_0x10e436){case Q['UNIVER_SHEET']:{_0x3a6886=await this[_0x2a6449(0x314)](_0x13ed38);break;}case Q['UNIVER_DOC']:{_0x3a6886=await this[_0x2a6449(0x223)](_0x13ed38);break;}default:{this[_0x2a6449(0x485)][_0x2a6449(0x3e9)]('[DataLoaderService]',_0x2a6449(0x315));break;}}return _0x3a6886;}async['_loadSheet'](_0x477f9d){var _0x278aea=_0x7a64ab,_0x884770;let _0x381837=0x0;const _0x5bd3ee=await((_0x884770=this['_localCacheService'])==null?void 0x0:_0x884770[_0x278aea(0x367)](_0x477f9d));return _0x5bd3ee&&(_0x5bd3ee[_0x278aea(0x2ee)]||_0x5bd3ee[_0x278aea(0x3c4)][_0x278aea(0x2a4)]!==0x0)&&(_0x381837=_0x5bd3ee[_0x278aea(0x2de)]),_0x381837===0x0&&this['_logService'][_0x278aea(0x203)](_0x278aea(0x1da),_0x278aea(0x385)),this['_snapshotService'][_0x278aea(0x240)](_0x477f9d,_0x381837);}async[_0x7a64ab(0x223)](_0xd644b5){var _0x231128=_0x7a64ab,_0x50381c;let _0x56563c=0x0;const _0x14cedb=await((_0x50381c=this[_0x231128(0x36c)])==null?void 0x0:_0x50381c[_0x231128(0x367)](_0xd644b5));return _0x14cedb&&(_0x14cedb[_0x231128(0x2ee)]||_0x14cedb[_0x231128(0x3c4)]['length']!==0x0)&&(_0x56563c=_0x14cedb[_0x231128(0x2de)]),_0x56563c===0x0&&this[_0x231128(0x485)][_0x231128(0x203)](_0x231128(0x1da),_0x231128(0x385)),this['_snapshotService']['loadDoc'](_0xd644b5,_0x56563c);}};bt=Qr([mt(0x0,_0x32ff17),mt(0x1,_0x2d7d4c(_0x2cc028)),mt(0x2,_0x104c75(J))],bt);var es=Object['getOwnPropertyDescriptor'],ts=(_0x36a8b2,_0x32d555,_0x1d3582,_0x47c9f9)=>{for(var _0x3f4793=_0x47c9f9>0x1?void 0x0:_0x47c9f9?es(_0x32d555,_0x1d3582):_0x32d555,_0x3c8e33=_0x36a8b2['length']-0x1,_0xff1285;_0x3c8e33>=0x0;_0x3c8e33--)(_0xff1285=_0x36a8b2[_0x3c8e33])&&(_0x3f4793=_0xff1285(_0x3f4793)||_0x3f4793);return _0x3f4793;},gt=(_0x3c854e,_0x3a2559)=>(_0x541524,_0x27c10c)=>_0x3a2559(_0x541524,_0x27c10c,_0x3c854e);const is=['image/png',_0x7a64ab(0x345),'image/jpg','image/gif',_0x7a64ab(0x3b4)],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x7a64ab(0x4d2),as=_0x7a64ab(0x36a),os=_0x7a64ab(0x293);let yt=class{constructor(_0x327122,_0x103557,_0x14c989){var _0x1abb86=_0x7a64ab;N(this,_0x1abb86(0x3bc),0x0),N(this,_0x1abb86(0x37a),new _0x218c1f()),N(this,'change$',this[_0x1abb86(0x37a)]),N(this,_0x1abb86(0x274),new Map()),(this[_0x1abb86(0x4c9)]=_0x327122,this[_0x1abb86(0x417)]=_0x103557,this['_univerInstanceService']=_0x14c989);}[_0x7a64ab(0x392)](_0x25eea8){var _0x482620=_0x7a64ab;this[_0x482620(0x3bc)]=_0x25eea8,this[_0x482620(0x37a)][_0x482620(0x4c3)](_0x25eea8);}['getImageSourceCache'](_0x1a3a60,_0x103657){var _0x1a4d40=_0x7a64ab;if(_0x103657===_0x371f76['BASE64']){const _0x471dc1=new Image();return _0x471dc1[_0x1a4d40(0x464)]=_0x1a3a60,_0x471dc1;}return this[_0x1a4d40(0x274)][_0x1a4d40(0x2f1)](_0x1a3a60);}[_0x7a64ab(0x39d)](_0x5b370b,_0x1a9de5,_0x5a373f){var _0x2df312=_0x7a64ab;_0x1a9de5===_0x371f76[_0x2df312(0x4a7)]||_0x5a373f==null||this[_0x2df312(0x274)]['set'](_0x5b370b,_0x5a373f);}async[_0x7a64ab(0x307)](_0x5cc4e2){var _0x5653c7=_0x7a64ab;try{const _0x17c70f=this['_replaceFileID'](this['_getSignURL'](),''+_0x5cc4e2),_0xdc6d7=(await this[_0x5653c7(0x4c9)]['get'](_0x17c70f))[_0x5653c7(0x26a)];if(_0xdc6d7[_0x5653c7(0x3e9)]&&_0xdc6d7[_0x5653c7(0x3e9)][_0x5653c7(0x405)]===Si['OK']){const _0x1a9a5f=new URL(_0xdc6d7[_0x5653c7(0x3b6)],this['_getDownloadEndpointURL']())[_0x5653c7(0x44c)]();return Promise[_0x5653c7(0x32e)](_0x1a9a5f);}return Promise['reject'](_0xdc6d7[_0x5653c7(0x3e9)]);}catch(_0x3b4480){return Promise[_0x5653c7(0x3d5)](_0x3b4480);}}async[_0x7a64ab(0x3dd)](_0x3625dd){var _0x2673e2=_0x7a64ab;let _0x4987e5='';if(!is['includes'](_0x3625dd[_0x2673e2(0x267)]))return this[_0x2673e2(0x297)](),Promise[_0x2673e2(0x3d5)](new Error(_0x5063b3['ERROR_IMAGE_TYPE']));if(_0x3625dd[_0x2673e2(0x3c8)]>ns)return this['_decreaseWaiting'](),Promise[_0x2673e2(0x3d5)](new Error(_0x5063b3[_0x2673e2(0x255)]));try{const _0xabde5f=new FormData();_0xabde5f[_0x2673e2(0x350)](_0x2673e2(0x30b),_0x3625dd);const _0x2219fa=this['_univerInstanceService'][_0x2673e2(0x47b)](),_0x56bd04=_0x2219fa==null?void 0x0:_0x2219fa[_0x2673e2(0x461)]();if(!_0x56bd04)throw new Error(_0x2673e2(0x204));const _0x8ecf93=this[_0x2673e2(0x4d4)]()+_0x2673e2(0x453)+_0x3625dd[_0x2673e2(0x3c8)][_0x2673e2(0x44c)]()+'&source='+Ei[_0x2673e2(0x4bb)]+_0x2673e2(0x22c)+encodeURIComponent(_0x56bd04),_0x1c0951=await(await fetch(_0x8ecf93,{'method':_0x2673e2(0x1ef),'body':_0xabde5f}))[_0x2673e2(0x224)]();if(typeof _0x1c0951[_0x2673e2(0x3cb)]!='string')return this[_0x2673e2(0x297)](),Promise['reject'](new Error(_0x5063b3[_0x2673e2(0x3ea)]));_0x4987e5=_0x1c0951[_0x2673e2(0x3cb)];}catch{return this['_decreaseWaiting'](),Promise[_0x2673e2(0x3d5)](new Error(_0x5063b3[_0x2673e2(0x3ea)]));}return new Promise((_0x591a21,_0xf12901)=>{var _0xbd32b8=_0x2673e2;const _0x3d9876=new FileReader();_0x3d9876[_0xbd32b8(0x4c6)](_0x3625dd),_0x3d9876[_0xbd32b8(0x457)]=_0x4b1bd8=>{var _0x2490e8=_0xbd32b8,_0x116c95;const _0x10beed=(_0x116c95=_0x4b1bd8[_0x2490e8(0x437)])==null?void 0x0:_0x116c95[_0x2490e8(0x276)];if(_0x10beed==null){this[_0x2490e8(0x297)](),_0xf12901(new Error(_0x5063b3[_0x2490e8(0x3ea)]));return;}const _0xb428a5=_0x21640e[_0x2490e8(0x35c)](0x6);_0x591a21({'imageId':_0xb428a5,'imageSourceType':_0x371f76[_0x2490e8(0x498)],'source':_0x4987e5,'base64Cache':_0x10beed,'status':_0x5063b3['SUCCUSS']}),this[_0x2490e8(0x297)]();};});}['_getUploadFileURL'](){var _0x2bd96b=_0x7a64ab,_0x4b9a94,_0x2c3b1d;const _0xf47e7b=this[_0x2bd96b(0x417)][_0x2bd96b(0x366)](rs),_0x46c8d0=this[_0x2bd96b(0x417)][_0x2bd96b(0x366)](q);return(_0x2c3b1d=(_0x4b9a94=_0x46c8d0==null?void 0x0:_0x46c8d0[_0x2bd96b(0x4d9)])!=null?_0x4b9a94:_0xf47e7b)!=null?_0x2c3b1d:ss;}[_0x7a64ab(0x273)](){var _0x1f4b6d=_0x7a64ab,_0x3c0268,_0x3e5f03;const _0x469992=this[_0x1f4b6d(0x417)][_0x1f4b6d(0x366)](as),_0x50c0a9=this['_configService'][_0x1f4b6d(0x366)](q);return(_0x3e5f03=(_0x3c0268=_0x50c0a9==null?void 0x0:_0x50c0a9[_0x1f4b6d(0x42b)])!=null?_0x3c0268:_0x469992)!=null?_0x3e5f03:os;}[_0x7a64ab(0x415)](){var _0x55e84d=_0x7a64ab,_0x15ab85;const _0xe1ac0f=this[_0x55e84d(0x417)][_0x55e84d(0x366)](q);return(_0x15ab85=_0xe1ac0f==null?void 0x0:_0xe1ac0f[_0x55e84d(0x1ed)])!=null?_0x15ab85:location['origin'];}[_0x7a64ab(0x26d)](_0x2f28ca,_0x2bdc87){var _0x41590f=_0x7a64ab;return _0x2f28ca[_0x41590f(0x407)](_0x41590f(0x45a),_0x2bdc87);}[_0x7a64ab(0x297)](){var _0x40f768=_0x7a64ab;this[_0x40f768(0x3bc)]-=0x1,this['_change$']['next'](this['_waitCount']);}};yt=ts([gt(0x0,_0x2d7d4c(_0x3f3bac)),gt(0x1,_0x5ce478),gt(0x2,_0x2d7d4c(_0xf65701))],yt);var cs=Object[_0x7a64ab(0x374)],hs=(_0x18336c,_0x4599af,_0x43aa1e,_0x56a16f)=>{var _0x4554c6=_0x7a64ab;for(var _0x40c7ba=_0x56a16f>0x1?void 0x0:_0x56a16f?cs(_0x4599af,_0x43aa1e):_0x4599af,_0xc4177d=_0x18336c[_0x4554c6(0x2a4)]-0x1,_0x291769;_0xc4177d>=0x0;_0xc4177d--)(_0x291769=_0x18336c[_0xc4177d])&&(_0x40c7ba=_0x291769(_0x40c7ba)||_0x40c7ba);return _0x40c7ba;},hi=(_0x365c1f,_0x2014ce)=>(_0x23e160,_0x31aa62)=>_0x2014ce(_0x23e160,_0x31aa62,_0x365c1f);const _s=_0x7a64ab(0x2ce);let Ot=class{constructor(_0x561e44,_0x447659){var _0x216c52=_0x7a64ab;this['_configService']=_0x561e44,this[_0x216c52(0x47c)]=_0x447659;}[_0x7a64ab(0x2e9)](){var _0xdcc6ec=_0x7a64ab,_0x547a79,_0x118a48;const _0xf7857=this[_0xdcc6ec(0x417)][_0xdcc6ec(0x366)](Ni),_0x2af533=this['_configService']['getConfig'](q);return(_0x118a48=(_0x547a79=_0x2af533==null?void 0x0:_0x2af533['authzUrl'])!=null?_0x547a79:_0xf7857)!=null?_0x118a48:_s;}async['list'](_0x1b0179){var _0x26dc3a=_0x7a64ab;const _0x817e29=this[_0x26dc3a(0x2e9)]()+_0x26dc3a(0x2f3);return{'list':[{'title':_0x26dc3a(0x3c5),'mentions':(await this[_0x26dc3a(0x47c)][_0x26dc3a(0x2f1)](_0x817e29,{'params':{'objectID':_0x1b0179[_0x26dc3a(0x1dc)],'unitID':_0x1b0179['unitId']}}))[_0x26dc3a(0x26a)]['collaborators']['map'](_0x201af3=>({'objectId':_0x201af3['id'],'name':_0x201af3['subject'][_0x26dc3a(0x45d)],'metadata':{'icon':_0x201af3[_0x26dc3a(0x432)][_0x26dc3a(0x235)]},'label':_0x201af3[_0x26dc3a(0x432)][_0x26dc3a(0x45d)],'objectType':_0xbed3[_0x26dc3a(0x40a)]})),'metadata':{},'type':_0xbed3[_0x26dc3a(0x40a)]}]};}};Ot=hs([hi(0x0,_0x2d7d4c(_0x5ce478)),hi(0x1,_0x2d7d4c(_0x3f3bac))],Ot);var ls=Object[_0x7a64ab(0x374)],us=(_0x3deeb7,_0x448287,_0x925e86,_0x3eafab)=>{var _0x576d5f=_0x7a64ab;for(var _0x2f0a79=_0x3eafab>0x1?void 0x0:_0x3eafab?ls(_0x448287,_0x925e86):_0x448287,_0x5941d0=_0x3deeb7[_0x576d5f(0x2a4)]-0x1,_0x19bfdc;_0x5941d0>=0x0;_0x5941d0--)(_0x19bfdc=_0x3deeb7[_0x5941d0])&&(_0x2f0a79=_0x19bfdc(_0x2f0a79)||_0x2f0a79);return _0x2f0a79;},Ae=(_0x27f86a,_0x3edb2b)=>(_0xab2a4,_0x533135)=>_0x3edb2b(_0xab2a4,_0x533135,_0x27f86a);function _0x5205(_0x403222,_0x33260f){var _0x27f5ba=_0x27f5();return _0x5205=function(_0x520575,_0x322656){_0x520575=_0x520575-0x1d8;var _0x1317de=_0x27f5ba[_0x520575];return _0x1317de;},_0x5205(_0x403222,_0x33260f);}let ot=class extends _0x33b33a{constructor(_0x914a83,_0x5bc625,_0x8a465c,_0x57c0f6,_0x24003f){var _0x26ed80=_0x7a64ab;super(),this[_0x26ed80(0x2bd)]=_0x914a83,this[_0x26ed80(0x40f)]=_0x5bc625,this['_permissionService']=_0x8a465c,this[_0x26ed80(0x4a9)]=_0x57c0f6,this[_0x26ed80(0x287)]=_0x24003f,this[_0x26ed80(0x30d)](),this['_initCloseConn']();}[_0x7a64ab(0x347)](){var _0x1e0487=_0x7a64ab;const _0x3a5dc0=async _0x156ea7=>{var _0x558a6f=_0x5205;(await this[_0x558a6f(0x4a9)][_0x558a6f(0x300)](_0x156ea7))[_0x558a6f(0x1e7)][_0x558a6f(0x348)](_0x18e19e(_0x116b39=>_0x116b39[_0x558a6f(0x1f5)]===_0x2331db['SHOULD_CLOSE_CONN']),_0x2af4a1(this[_0x558a6f(0x351)]))['subscribe'](_0x6d1848=>{var _0x5261f8=_0x558a6f;const _0x4bb13e=_0x6d1848,{reason:_0x4a3ecb}=_0x4bb13e['data'];this[_0x5261f8(0x287)]['emitEvent']({'id':se[_0x5261f8(0x2f0)],'data':_0x4a3ecb}),this[_0x5261f8(0x221)][_0x5261f8(0x44d)](new _0x4c9e1f(_0x156ea7)['id'],!0x1),this[_0x5261f8(0x4a9)][_0x5261f8(0x37c)](_0x156ea7);});};_0x949e09(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4ed2ec[_0x1e0487(0x239)]),this[_0x1e0487(0x40f)][_0x1e0487(0x3ba)](_0x4ed2ec[_0x1e0487(0x258)]))[_0x1e0487(0x348)](_0x18def8(_0x3b31aa=>_0x3b31aa['getUnitId']()),_0x18e19e(_0x3cd1d6=>!_0x29aab7(_0x3cd1d6)),_0x2af4a1(this[_0x1e0487(0x351)]))[_0x1e0487(0x2cc)](_0xa04933=>{_0x3a5dc0(_0xa04933);});}['_initUnitPermissionChange'](){var _0x12d096=_0x7a64ab;const _0x433464=async _0x1ba307=>{var _0x40890f=_0x5205;const _0x4dbc51=await this['_collaborationSessionService']['requireSession'](_0x1ba307),_0x5eee56=this['_injector'][_0x40890f(0x2f1)](_0x131dcd);_0x4dbc51['event$'][_0x40890f(0x348)](_0x18e19e(_0x4e35b0=>_0x4e35b0['eventID']===_0x2331db['UPDATE_PERMISSION_OBJ']),_0x2af4a1(this['dispose$']))['subscribe'](_0x578607=>{var _0x1b6975=_0x40890f;const _0x21bf25=_0x578607,{objectId:_0x32df0d}=_0x21bf25[_0x1b6975(0x36e)];_0x32df0d===_0x1ba307?_0x5eee56[_0x1b6975(0x27f)](_0x1ba307):_0x5eee56[_0x1b6975(0x1ea)](_0x1ba307,_0x32df0d);});};_0x949e09(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4ed2ec[_0x12d096(0x239)]))[_0x12d096(0x348)](_0x18def8(_0x4b648b=>_0x4b648b[_0x12d096(0x461)]()),_0x18e19e(_0x373fd2=>!_0x29aab7(_0x373fd2)),_0x2af4a1(this[_0x12d096(0x351)]))[_0x12d096(0x2cc)](_0x103c0d=>{_0x433464(_0x103c0d);});}};ot=us([Ae(0x0,_0x2d7d4c(_0x135851)),Ae(0x1,_0xf65701),Ae(0x2,_0x4d17f9),Ae(0x3,_0x2d7d4c(Le)),Ae(0x4,_0x2d7d4c(pe))],ot);var ds=Object[_0x7a64ab(0x374)],fs=(_0x468193,_0x14880b,_0x31f107,_0x4e0e07)=>{var _0x39a9c1=_0x7a64ab;for(var _0x341ecd=_0x4e0e07>0x1?void 0x0:_0x4e0e07?ds(_0x14880b,_0x31f107):_0x14880b,_0x2db0d9=_0x468193[_0x39a9c1(0x2a4)]-0x1,_0x1517d9;_0x2db0d9>=0x0;_0x2db0d9--)(_0x1517d9=_0x468193[_0x2db0d9])&&(_0x341ecd=_0x1517d9(_0x341ecd)||_0x341ecd);return _0x341ecd;},_i=(_0x3bc58c,_0x4ee01f)=>(_0x15ae72,_0x5ad128)=>_0x4ee01f(_0x15ae72,_0x5ad128,_0x3bc58c);let Nt=class{constructor(_0x96b50d,_0x1e20cf){var _0x4831c4=_0x7a64ab;this[_0x4831c4(0x417)]=_0x96b50d,this['_httpService']=_0x1e20cf;}async['getUnitOnRev'](_0x612f6f,_0x5ad595){var _0x2e57b6=_0x7a64ab,_0x1e13cb;const {unitID:_0x4dd23a,type:_0x2eac84,revision:_0x4093b1=0x0}=_0x5ad595,_0x3f6b2d=this['getSnapshotAPIPath']()+'/'+_0x2eac84+_0x2e57b6(0x294)+_0x4dd23a+'/rev/'+_0x4093b1,_0x4a62ff=(await this[_0x2e57b6(0x4c9)][_0x2e57b6(0x2f1)](_0x3f6b2d))[_0x2e57b6(0x26a)],_0x5cb50a=(_0x1e13cb=_0x4a62ff[_0x2e57b6(0x2fd)])==null?void 0x0:_0x1e13cb[_0x2e57b6(0x381)];if(_0x5cb50a){const _0x31e9ce=_0x5cb50a==null?void 0x0:_0x5cb50a['originalMeta'],_0x23b73f=_0x37df26[_0x2e57b6(0x3e7)](_0x8320f5(_0x31e9ce));_0x5cb50a[_0x2e57b6(0x3f1)]=_0x23b73f,Object[_0x2e57b6(0x355)](_0x5cb50a[_0x2e57b6(0x360)])[_0x2e57b6(0x424)](([,_0x116dcb])=>{var _0x25489e=_0x2e57b6;const _0x20ce5c=_0x116dcb['originalMeta'],_0x33fd6e=_0x37df26[_0x25489e(0x3e7)](_0x8320f5(_0x20ce5c));_0x116dcb['originalMeta']=_0x33fd6e;});}return _0x4a62ff;}async[_0x7a64ab(0x49b)](_0x13a840,_0x5df709){var _0x311889=_0x7a64ab;const {unitID:_0x53c25b,type:_0x2a7283,blockID:_0x3a1718}=_0x5df709,_0x458af2=this[_0x311889(0x3e0)]()+'/'+_0x2a7283+_0x311889(0x294)+_0x53c25b+_0x311889(0x4c0)+_0x3a1718;return(await this[_0x311889(0x4c9)][_0x311889(0x2f1)](_0x458af2))[_0x311889(0x26a)];}async['getDeserializedSheetBlock'](_0x5dba59,_0x338304){var _0xc0d39f=_0x7a64ab;const {unitID:_0x407892,type:_0x215ad8,blockID:_0x5945c6}=_0x338304,_0x434ff5=this[_0xc0d39f(0x3e0)]()+_0xc0d39f(0x4c0)+_0x215ad8+_0xc0d39f(0x294)+_0x407892+_0xc0d39f(0x4c0)+_0x5945c6;return(await this[_0xc0d39f(0x4c9)][_0xc0d39f(0x2f1)](_0x434ff5))['body'];}async['fetchMissingChangesets'](_0x63d355,_0x5b6b69){var _0x4e7bf8=_0x7a64ab;const {unitID:_0x2d9d57,type:_0x420867,from:_0x10e0f2,to:_0x4715f3}=_0x5b6b69,_0x563e8e=this[_0x4e7bf8(0x3e0)]()+'/'+_0x420867+'/unit/'+_0x2d9d57+_0x4e7bf8(0x422)+_0x10e0f2+'&to='+_0x4715f3;return(await this[_0x4e7bf8(0x4c9)][_0x4e7bf8(0x2f1)](_0x563e8e))[_0x4e7bf8(0x26a)];}[_0x7a64ab(0x36d)](){var _0x34ce1e=_0x7a64ab,_0x345e81;return(_0x345e81=this['_configService'][_0x34ce1e(0x366)](Sn))!=null?_0x345e81:this[_0x34ce1e(0x3e0)]();}[_0x7a64ab(0x3e0)](){var _0xf11317=_0x7a64ab,_0x314c81,_0x521d31;const _0x4fb443=this[_0xf11317(0x417)][_0xf11317(0x366)](mn),_0x42d28a=this[_0xf11317(0x417)][_0xf11317(0x366)](q);return(_0x521d31=(_0x314c81=_0x42d28a==null?void 0x0:_0x42d28a[_0xf11317(0x250)])!=null?_0x314c81:_0x4fb443)!=null?_0x521d31:gn;}async[_0x7a64ab(0x228)](_0x397e13,_0x37a2d9){var _0x5e8a0f=_0x7a64ab;const _0x5627dd='/universer-api/snapshot/'+_0x37a2d9[_0x5e8a0f(0x267)]+_0x5e8a0f(0x294)+_0x37a2d9[_0x5e8a0f(0x3aa)]+_0x5e8a0f(0x4ad);return(await this[_0x5e8a0f(0x4c9)][_0x5e8a0f(0x2f1)](_0x5627dd,{'params':{'resourceId':JSON[_0x5e8a0f(0x433)](_0x37a2d9[_0x5e8a0f(0x4a2)])}}))[_0x5e8a0f(0x26a)];}[_0x7a64ab(0x25a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7a64ab(0x499)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7a64ab(0x1d8)](){var _0x1b4069=_0x7a64ab;throw new Error(_0x1b4069(0x421));}[_0x7a64ab(0x27b)](){var _0x1009de=_0x7a64ab;throw new Error(_0x1009de(0x421));}[_0x7a64ab(0x31e)](){var _0x55a3ed=_0x7a64ab;throw new Error(_0x55a3ed(0x421));}};Nt=fs([_i(0x0,_0x5ce478),_i(0x1,_0x2d7d4c(_0x3f3bac))],Nt);var vs=Object[_0x7a64ab(0x374)],ps=(_0x298c3c,_0x2425db,_0x1f1ab3,_0x26314a)=>{var _0x439cc4=_0x7a64ab;for(var _0x1b5647=_0x26314a>0x1?void 0x0:_0x26314a?vs(_0x2425db,_0x1f1ab3):_0x2425db,_0x456469=_0x298c3c[_0x439cc4(0x2a4)]-0x1,_0x14692a;_0x456469>=0x0;_0x456469--)(_0x14692a=_0x298c3c[_0x456469])&&(_0x1b5647=_0x14692a(_0x1b5647)||_0x1b5647);return _0x1b5647;},Pe=(_0x272314,_0x3c49de)=>(_0x2f06d7,_0xda61bd)=>_0x3c49de(_0x2f06d7,_0xda61bd,_0x272314);let Dt=class extends _0x45fd7c{constructor(_0x3ec762,_0x5226fe,_0x26e14d,_0x1e86e4,_0x32ef0a){super(_0x3ec762,_0x5226fe,_0x26e14d),this['_transformService']=_0x1e86e4,this['_logService']=_0x32ef0a;}['transformUndoRedo'](_0x40e671,_0x329286){var _0x26299c=_0x7a64ab;const _0x29461f=this[_0x26299c(0x3da)](_0x40e671);if(_0x29461f)try{const _0x17acb5=this['_transformStack'](_0x29461f,_0x329286);this[_0x26299c(0x2ec)](_0x40e671,_0x17acb5);}catch(_0x5e51aa){this[_0x26299c(0x485)][_0x26299c(0x3e9)]('[CollaborationUndoRedoService]',_0x5e51aa),this[_0x26299c(0x323)](_0x40e671);}const _0x192c08=this['_getRedoStack'](_0x40e671);if(_0x192c08)try{const _0x42933a=this[_0x26299c(0x3a9)](_0x192c08,_0x329286);this[_0x26299c(0x3b5)](_0x40e671,_0x42933a);}catch(_0x2f179a){this[_0x26299c(0x485)]['error'](_0x2f179a),this['_clearRedo'](_0x40e671);}}[_0x7a64ab(0x323)](_0x5ef678){var _0x18cfbc=_0x7a64ab;const _0x492c8e=this[_0x18cfbc(0x3da)](_0x5ef678);_0x492c8e&&(_0x492c8e[_0x18cfbc(0x2a4)]=0x0,this[_0x18cfbc(0x445)]());}[_0x7a64ab(0x3cd)](_0x1dd323){var _0x5e2e54=_0x7a64ab;const _0x41cf40=this['_getRedoStack'](_0x1dd323);_0x41cf40&&(_0x41cf40[_0x5e2e54(0x2a4)]=0x0,this[_0x5e2e54(0x445)]());}['_substituteUndoStack'](_0x2e6bac,_0x34f510){var _0x2c201d=_0x7a64ab;this[_0x2c201d(0x3db)][_0x2c201d(0x20b)](_0x2e6bac,_0x34f510),this[_0x2c201d(0x445)]();}['_substituteRedoStack'](_0x36eaac,_0x56f2d3){var _0x1f5c5f=_0x7a64ab;this[_0x1f5c5f(0x400)][_0x1f5c5f(0x20b)](_0x36eaac,_0x56f2d3),this['_updateStatus']();}[_0x7a64ab(0x3a9)](_0x5e468d,_0x4847a2){var _0x2f15d1=_0x7a64ab;const _0x69b6b1=[];let _0x4651a5=_0x4847a2,_0x11615a=_0x4847a2;for(let _0x395952=_0x5e468d['length']-0x1;_0x395952>=0x0;_0x395952--){const {unitID:_0x1b1477,undoMutations:_0x220bf0,redoMutations:_0x49b94a}=_0x5e468d[_0x395952],_0xce1045=this[_0x2f15d1(0x4b2)][_0x2f15d1(0x4bd)](_0x4651a5,_0x220bf0),_0x4eb67c=this[_0x2f15d1(0x4b2)][_0x2f15d1(0x4bd)](_0x11615a,_0x49b94a);if(_0xe4ecdd(_0xce1045)||_0xe4ecdd(_0x4eb67c)){this['_logService']['error'](_0x2f15d1(0x24d),_0x2f15d1(0x29f),_0xce1045,_0x4eb67c);break;}_0x4651a5=_0xce1045[_0x2f15d1(0x3e1)],_0x11615a=_0x4eb67c[_0x2f15d1(0x3e1)],_0x69b6b1[_0x2f15d1(0x452)]({'unitID':_0x1b1477,'undoMutations':_0xce1045['m2Prime'],'redoMutations':_0x4eb67c['m2Prime']});}return _0x69b6b1['reverse']();}};Dt=ps([Pe(0x0,_0xf65701),Pe(0x1,_0x6cb33f),Pe(0x2,_0x146dcf),Pe(0x3,_0x173ba8),Pe(0x4,_0x32ff17)],Dt);var ms=Object['defineProperty'],gs=Object[_0x7a64ab(0x374)],Ss=(_0x362139,_0x36a160,_0x1a3c6a)=>_0x36a160 in _0x362139?ms(_0x362139,_0x36a160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3c6a}):_0x362139[_0x36a160]=_0x1a3c6a,Es=(_0x27400d,_0x9b30a9,_0x5493a7,_0x143d3b)=>{var _0x18fd48=_0x7a64ab;for(var _0x21cb47=_0x143d3b>0x1?void 0x0:_0x143d3b?gs(_0x9b30a9,_0x5493a7):_0x9b30a9,_0x5a4cf5=_0x27400d[_0x18fd48(0x2a4)]-0x1,_0x1c3a88;_0x5a4cf5>=0x0;_0x5a4cf5--)(_0x1c3a88=_0x27400d[_0x5a4cf5])&&(_0x21cb47=_0x1c3a88(_0x21cb47)||_0x21cb47);return _0x21cb47;},St=(_0x3d922e,_0x237a97)=>(_0x5df371,_0x4946ce)=>_0x237a97(_0x5df371,_0x4946ce,_0x3d922e),Is=(_0x176abd,_0x28410a,_0x54feac)=>Ss(_0x176abd,_0x28410a+'',_0x54feac);const Ts=_0x7a64ab(0x482);let Ut=class extends _0x265206{constructor(_0x3e5797,_0x10c7ed,_0x4b5ab2,_0xb016dd){var _0x6f6650=_0x7a64ab;super(),N(this,_0x6f6650(0x2aa)),(this[_0x6f6650(0x485)]=_0x10c7ed,this[_0x6f6650(0x2bd)]=_0x4b5ab2,this[_0x6f6650(0x417)]=_0xb016dd);const {..._0x5c674d}=_0x19c621({},An,_0x3e5797);if(!_0x5c674d['socketService'])throw new Error(_0x6f6650(0x379));this['_config']=_0x5c674d,this[_0x6f6650(0x417)][_0x6f6650(0x39e)](q,_0x5c674d);}['onStarting'](){var _0x526a29=_0x7a64ab;this['_registerDependencies'](),this[_0x526a29(0x30f)]();}[_0x7a64ab(0x254)](){var _0xaf3a64=_0x7a64ab,_0xd4166,_0x18e792;this[_0xaf3a64(0x2bd)][_0xaf3a64(0x262)](_0x4ba99b)&&this['_logService'][_0xaf3a64(0x3e9)]('[UniverCollaborationClientPlugin]',_0xaf3a64(0x3fc));const _0x1b7e3a=_0x461d92([[_0x4ba99b,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0xaf3a64(0x1e8)]}],[_0x13ca45,{'useClass':Nt}],[_0xb0d16c,{'useClass':Rt}],[_0x21a573,{'useClass':yt}],[_0x5604e3,{'useClass':Ot}],[rt],[Ct]],(_0xd4166=this[_0xaf3a64(0x2aa)])==null?void 0x0:_0xd4166[_0xaf3a64(0x26b)]);if(!((_0x18e792=this[_0xaf3a64(0x2aa)])!=null&&_0x18e792[_0xaf3a64(0x4cb)])){const _0x258583=_0x1b7e3a['findIndex'](([_0x4d3461])=>_0x4d3461===ht);_0x258583!==-0x1&&_0x1b7e3a[_0xaf3a64(0x43c)](_0x258583,0x1);}_0x35b425(this[_0xaf3a64(0x2bd)],_0x1b7e3a);}[_0x7a64ab(0x30f)](){var _0x4ea831=_0x7a64ab,_0x4b5c89,_0x58e12c,_0x427f55;this[_0x4ea831(0x2bd)][_0x4ea831(0x2f1)](_0x3f3bac)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x489c38({'maxParallel':0x6})}),(_0x4b5c89=this[_0x4ea831(0x2aa)])!=null&&_0x4b5c89[_0x4ea831(0x4ab)]||(_0x58e12c=this[_0x4ea831(0x2bd)][_0x4ea831(0x2f1)](J,_0x5847c1['OPTIONAL']))==null||_0x58e12c[_0x4ea831(0x446)](),(_0x427f55=this[_0x4ea831(0x2aa)])!=null&&_0x427f55[_0x4ea831(0x4b4)]&&_0x53c435(this[_0x4ea831(0x2bd)],[[st]]),_0x53c435(this['_injector'],[[at],[rt],[ot]]);}};Is(Ut,_0x7a64ab(0x370),Ts),Ut=Es([_0x14e8c6(_0x3799b5,_0x3afc3d),St(0x1,_0x32ff17),St(0x2,_0x2d7d4c(_0x135851)),St(0x3,_0x5ce478)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|
1
|
+
var _0x1207a5=_0x4c70;(function(_0x376941,_0x5698f5){var _0x25f465=_0x4c70,_0x635018=_0x376941();while(!![]){try{var _0x168085=parseInt(_0x25f465(0x181))/0x1*(-parseInt(_0x25f465(0x378))/0x2)+parseInt(_0x25f465(0x3c7))/0x3*(-parseInt(_0x25f465(0x261))/0x4)+-parseInt(_0x25f465(0x121))/0x5+parseInt(_0x25f465(0x241))/0x6+parseInt(_0x25f465(0x163))/0x7*(parseInt(_0x25f465(0x1e3))/0x8)+parseInt(_0x25f465(0x2e6))/0x9+-parseInt(_0x25f465(0x402))/0xa;if(_0x168085===_0x5698f5)break;else _0x635018['push'](_0x635018['shift']());}catch(_0x290304){_0x635018['push'](_0x635018['shift']());}}}(_0x5a4f,0xeeb3a));var Ai=Object[_0x1207a5(0x3fa)],Pi=(_0x4f2f1d,_0x24ba28,_0x4156ac)=>_0x24ba28 in _0x4f2f1d?Ai(_0x4f2f1d,_0x24ba28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4156ac}):_0x4f2f1d[_0x24ba28]=_0x4156ac,N=(_0xc12278,_0x23e2f9,_0x46d683)=>Pi(_0xc12278,typeof _0x23e2f9!='symbol'?_0x23e2f9+'':_0x23e2f9,_0x46d683);import{createIdentifier as _0x392602,Inject as _0x1e1c30,Injector as _0x17b627,IConfigService as _0x273f4e,ILogService as _0x1ef61d,Disposable as _0x5efe2a,DisposableCollection as _0x1afcaf,toDisposable as _0x245617,IUniverInstanceService as _0x22f80b,UserManagerService as _0x4b82d2,UniverInstanceType as _0x19df23,LocaleService as _0x5a4070,Optional as _0x2359f1,RxDisposable as _0x1a81df,Tools as _0x287acc,Rectangle as _0x16c936,ICommandService as _0x44ef17,JSONX as _0x2f4404,CommandType as _0x18c923,IUndoRedoService as _0x3dda96,IPermissionService as _0xbef414,sequenceExecute as _0x51e1cf,Workbook as _0x2139b8,MentionType as _0x32763b,isInternalEditorID as _0x857d5a,LocalUndoRedoService as _0x5b34ce,IContextService as _0x128970,DependentOn as _0x4494d9,Plugin as _0x57cce3,merge as _0x59d206,mergeOverrideWithDependencies as _0x2dc9b3,IAuthzIoService as _0x24a621,IMentionIOService as _0x36dd4f,registerDependencies as _0x59cc4d,Quantity as _0x1afc67,touchDependencies as _0x2a4bbc}from'@univerjs/core';import{Subject as _0x4232a4,merge as _0x47b2b1,of as _0x5be91a,BehaviorSubject as _0x28aab7,takeUntil as _0x3a6de3,ReplaySubject as _0x100780,take as _0x22335f,map as _0x608b5,shareReplay as _0x3b7cbf,firstValueFrom as _0x40977a,concatMap as _0x88b9f3}from'rxjs';import{map as _0x5acb68,take as _0x488340,filter as _0x3ecb44,delay as _0x58f084,takeUntil as _0x14afb4}from'rxjs/operators';import{CollaborationEvent as _0x5601d9,ISnapshotServerService as _0x1e84a6,parseChangesetToProtocol as _0x2e87be,ITransformService as _0x274f21,isTransformMutationsWithChangesetSuccess as _0x3cfd7d,mapDocumentTypeToUniverType as _0x21a40e,RevisionService as _0x58db45,isTransformChangesetsSuccess as _0x4390d3,CompressMutationService as _0x25744d,parseProtocolChangeset as _0x599f44,SnapshotService as _0xe9eb00,textEncoder as _0x5051e1,b64DecodeUnicode as _0x59e12d,isTransformMutationsWithChangesetFailure as _0x5f0fe1,UniverCollaborationPlugin as _0x316063}from'@univerjs-pro/collaboration';import{HTTPService as _0x1e8654,ISocketService as _0x35f8c3,MergeInterceptorFactory as _0x3f0376,HTTPRequest as _0xf797f6,UniverNetworkPlugin as _0x20de47,ThresholdInterceptorFactory as _0x5ecd6a}from'@univerjs/network';import{ITelemetryService as _0x948102}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x89f276}from'@univerjs/docs';import{SheetsSelectionsService as _0x298713,SetSelectionsOperation as _0x2d7ee9,InsertSheetMutation as _0x434fe7,EmptyMutation as _0xf9544e,WorkbookEditablePermission as _0x32ecee,SheetPermissionInitController as _0x51492c}from'@univerjs/sheets';import{ImageSourceType as _0xb64101,ImageUploadStatusType as _0x39bfc7,IImageIoService as _0x3686b1}from'@univerjs/drawing';function _0x4c70(_0x36efe2,_0x1de3be){var _0x5a4f0e=_0x5a4f();return _0x4c70=function(_0x4c708c,_0x47c800){_0x4c708c=_0x4c708c-0x107;var _0x872a49=_0x5a4f0e[_0x4c708c];return _0x872a49;},_0x4c70(_0x36efe2,_0x1de3be);}import{getGlobalObject as _0x120822}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x1207a5(0x306),Sn=_0x1207a5(0x274),xs=_0x1207a5(0x199),En=0x7d0,In=_0x1207a5(0x14c),Tn=_0x1207a5(0x2bb),Ls=_0x1207a5(0x1de),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x1207a5(0x3ae),gi=0x4e20,bn=0x4e20,yn=_0x1207a5(0x3fd),On=0x3,Ms=_0x1207a5(0x1ec),ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x1207a5(0x2d0),Un=_0x1207a5(0x352),wn=_0x1207a5(0x31e),$s=_0x1207a5(0x2f1),Hs=_0x1207a5(0x371);var Si=(_0x99a49a=>(_0x99a49a[_0x99a49a[_0x1207a5(0x211)]=0x0]='UNDEFINED',_0x99a49a[_0x99a49a['OK']=0x1]='OK',_0x99a49a[_0x99a49a[_0x1207a5(0x235)]=0x2]=_0x1207a5(0x235),_0x99a49a[_0x99a49a[_0x1207a5(0x33e)]=0x3]='PERMISSION_DENIED',_0x99a49a[_0x99a49a[_0x1207a5(0x3ab)]=0x4]=_0x1207a5(0x3ab),_0x99a49a[_0x99a49a[_0x1207a5(0x2a8)]=0x5]=_0x1207a5(0x2a8),_0x99a49a[_0x99a49a[_0x1207a5(0x219)]=0x6]=_0x1207a5(0x219),_0x99a49a[_0x99a49a[_0x1207a5(0x29b)]=0x7]='INVALID_ARGUMENT',_0x99a49a[_0x99a49a['TOO_MANY_REQUESTS']=0x8]=_0x1207a5(0x30c),_0x99a49a[_0x99a49a['COMPLETION_FINISHED']=0x9]=_0x1207a5(0x31d),_0x99a49a[_0x99a49a[_0x1207a5(0x2e0)]=0xa]=_0x1207a5(0x2e0),_0x99a49a[_0x99a49a[_0x1207a5(0x373)]=0x1389]=_0x1207a5(0x373),_0x99a49a[_0x99a49a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1207a5(0x1c0),_0x99a49a[_0x99a49a[_0x1207a5(0x1d8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x99a49a[_0x99a49a[_0x1207a5(0x3d7)]=0x1773]=_0x1207a5(0x3d7),_0x99a49a[_0x99a49a[_0x1207a5(0x1cb)]=0x1b59]=_0x1207a5(0x1cb),_0x99a49a[_0x99a49a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1207a5(0x2c1),_0x99a49a[_0x99a49a[_0x1207a5(0x1a9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x99a49a[_0x99a49a[_0x1207a5(0x275)]=0x1b5c]=_0x1207a5(0x275),_0x99a49a[_0x99a49a[_0x1207a5(0x112)]=0x1b5d]='APPLY_DUPLICATED',_0x99a49a[_0x99a49a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1207a5(0x317),_0x99a49a[_0x99a49a[_0x1207a5(0x204)]=0x2329]=_0x1207a5(0x204),_0x99a49a[_0x99a49a[_0x1207a5(0x168)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x99a49a[_0x99a49a[_0x1207a5(0x129)]=0x232b]=_0x1207a5(0x129),_0x99a49a[_0x99a49a[_0x1207a5(0x389)]=0x232c]=_0x1207a5(0x389),_0x99a49a[_0x99a49a[_0x1207a5(0x16c)]=0x232d]=_0x1207a5(0x16c),_0x99a49a[_0x99a49a[_0x1207a5(0x311)]=0x2711]=_0x1207a5(0x311),_0x99a49a[_0x99a49a[_0x1207a5(0x1a3)]=0x2712]=_0x1207a5(0x1a3),_0x99a49a[_0x99a49a[_0x1207a5(0x122)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x99a49a[_0x99a49a[_0x1207a5(0x31b)]=0x2714]=_0x1207a5(0x31b),_0x99a49a[_0x99a49a[_0x1207a5(0x2df)]=0x2af9]=_0x1207a5(0x2df),_0x99a49a[_0x99a49a[_0x1207a5(0x1ab)]=0x2ee1]=_0x1207a5(0x1ab),_0x99a49a[_0x99a49a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x99a49a[_0x99a49a[_0x1207a5(0x288)]=0x2ee3]=_0x1207a5(0x288),_0x99a49a[_0x99a49a[_0x1207a5(0x120)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x99a49a[_0x99a49a[_0x1207a5(0x3a3)]=0x2ee5]=_0x1207a5(0x3a3),_0x99a49a[_0x99a49a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x99a49a))(Si||{}),Q=(_0x2c2b3c=>(_0x2c2b3c[_0x2c2b3c['UNIVER_UNKNOWN']=0x0]=_0x1207a5(0x2d9),_0x2c2b3c[_0x2c2b3c['UNIVER_DOC']=0x1]=_0x1207a5(0x3ff),_0x2c2b3c[_0x2c2b3c[_0x1207a5(0x1d1)]=0x2]=_0x1207a5(0x1d1),_0x2c2b3c[_0x2c2b3c[_0x1207a5(0x1f3)]=0x3]=_0x1207a5(0x1f3),_0x2c2b3c[_0x2c2b3c[_0x1207a5(0x1f0)]=0x4]=_0x1207a5(0x1f0),_0x2c2b3c[_0x2c2b3c[_0x1207a5(0x3eb)]=-0x1]=_0x1207a5(0x3eb),_0x2c2b3c))(Q||{}),F=(_0x38fc19=>(_0x38fc19[_0x38fc19[_0x1207a5(0x2a5)]=0x0]=_0x1207a5(0x2a5),_0x38fc19[_0x38fc19[_0x1207a5(0x128)]=0x1]='HELLO',_0x38fc19[_0x38fc19[_0x1207a5(0x35e)]=0x2]=_0x1207a5(0x35e),_0x38fc19[_0x38fc19[_0x1207a5(0x3c5)]=0x3]=_0x1207a5(0x3c5),_0x38fc19[_0x38fc19['INGEST']=0x4]=_0x1207a5(0x1dd),_0x38fc19[_0x38fc19['HEARTBEAT']=0x5]=_0x1207a5(0x118),_0x38fc19[_0x38fc19['RECV']=0x6]=_0x1207a5(0x192),_0x38fc19[_0x38fc19[_0x1207a5(0x3eb)]=-0x1]=_0x1207a5(0x3eb),_0x38fc19))(F||{}),ge=(_0x276f19=>(_0x276f19[_0x276f19[_0x1207a5(0x18c)]=0x0]=_0x1207a5(0x18c),_0x276f19[_0x276f19['OK']=0x1]='OK',_0x276f19[_0x276f19[_0x1207a5(0x194)]=0x2]='FAIL',_0x276f19[_0x276f19[_0x1207a5(0x207)]=0x3e9]=_0x1207a5(0x207),_0x276f19[_0x276f19['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1207a5(0x36a),_0x276f19[_0x276f19[_0x1207a5(0x243)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x276f19[_0x276f19[_0x1207a5(0x2a0)]=0x3ec]=_0x1207a5(0x2a0),_0x276f19[_0x276f19[_0x1207a5(0x3eb)]=-0x1]=_0x1207a5(0x3eb),_0x276f19))(ge||{}),Ei=(_0xb20f01=>(_0xb20f01[_0xb20f01[_0x1207a5(0x32c)]=0x0]=_0x1207a5(0x32c),_0xb20f01[_0xb20f01[_0x1207a5(0x37d)]=0x1]=_0x1207a5(0x37d),_0xb20f01[_0xb20f01['HttpExport']=0x2]='HttpExport',_0xb20f01[_0xb20f01[_0x1207a5(0x364)]=0x3]=_0x1207a5(0x364),_0xb20f01[_0xb20f01[_0x1207a5(0x295)]=0x4]='UnitSnapshot',_0xb20f01[_0xb20f01[_0x1207a5(0x3eb)]=-0x1]=_0x1207a5(0x3eb),_0xb20f01))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x4c275a=>(_0x4c275a[_0x1207a5(0x3d3)]=_0x1207a5(0x3d3),_0x4c275a[_0x1207a5(0x33e)]=_0x1207a5(0x33e),_0x4c275a['CONFLICT']=_0x1207a5(0x1bc),_0x4c275a[_0x1207a5(0x202)]=_0x1207a5(0x202),_0x4c275a[_0x1207a5(0x3ba)]='JOIN_ROOM_FAILED',_0x4c275a['SOCKET_FAILED_RETRY']=_0x1207a5(0x142),_0x4c275a[_0x1207a5(0x3b9)]=_0x1207a5(0x3b9),_0x4c275a[_0x1207a5(0x124)]=_0x1207a5(0x124),_0x4c275a))(se||{});class pe{constructor(){var _0x535e1e=_0x1207a5;N(this,_0x535e1e(0x2ea),new _0x4232a4()),N(this,_0x535e1e(0x2d3),this[_0x535e1e(0x2ea)][_0x535e1e(0x3a7)]());}[_0x1207a5(0x23e)](_0x4ec609){var _0x4ce75e=_0x1207a5;this[_0x4ce75e(0x2ea)][_0x4ce75e(0x10a)](_0x4ec609);}}const Pn=_0x392602(_0x1207a5(0x308));function xn(_0x19e278){var _0x5388bb=_0x1207a5,_0x5cc343,_0x59f1d2,_0x111cbf,_0x2703dd,_0x3f295c;const _0x4161ee=_0x19e278[_0x5388bb(0x212)],_0x120f06=JSON[_0x5388bb(0x215)](_0x4161ee);switch(_0x120f06[_0x5388bb(0x2db)]){case F['HEARTBEAT']:case F[_0x5388bb(0x128)]:{const _0x10785a=_0x120f06[_0x5388bb(0x2aa)];return{..._0x120f06,'data':_0x10785a,'cmd':_0x120f06[_0x5388bb(0x2db)]};}case F['JOIN']:{const _0x567809=_0x120f06[_0x5388bb(0x2ff)];return{..._0x120f06,'data':_0x567809,'cmd':_0x120f06['cmd']};}case F['RECV']:{const _0x1f27ab=_0x120f06[_0x5388bb(0x210)];switch(_0x1f27ab[_0x5388bb(0x284)]){case _0x5601d9['PERMISSION_REJ']:return{..._0x120f06,'data':{..._0x1f27ab,'data':(_0x5cc343=_0x1f27ab[_0x5388bb(0x36c)])==null?void 0x0:_0x5cc343['cs']},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9['CHANGESET_ACK']:return{..._0x120f06,'data':{..._0x1f27ab,'data':(_0x59f1d2=_0x1f27ab[_0x5388bb(0x3ac)])==null?void 0x0:_0x59f1d2['cs']},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x175)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':(_0x111cbf=_0x1f27ab['newCsEvent'])==null?void 0x0:_0x111cbf['cs']},'cmd':_0x120f06['cmd']};case _0x5601d9[_0x5388bb(0x386)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':(_0x2703dd=_0x1f27ab['csRejEvent'])==null?void 0x0:_0x2703dd['cs']},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x349)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':(_0x3f295c=_0x1f27ab[_0x5388bb(0x3e5)])==null?void 0x0:_0x3f295c['cs']},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x2b3)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x222)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x1e4)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x368)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x1bb)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x1d3)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x10b)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x1e1)]},'cmd':_0x120f06['cmd']};case _0x5601d9[_0x5388bb(0x1c9)]:case _0x5601d9['LIVESHARE_OPERATION']:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x302)]},'cmd':_0x120f06['cmd']};case _0x5601d9[_0x5388bb(0x1c1)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x1e1)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x21a)]:return{..._0x120f06,'data':_0x1f27ab,'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9['COMMENT_UPDATE']:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x26b)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x130)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab[_0x5388bb(0x258)]},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9['SHOULD_CLOSE_CONN']:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab['shouldCloseConn']},'cmd':_0x120f06[_0x5388bb(0x2db)]};case _0x5601d9[_0x5388bb(0x3a4)]:return{..._0x120f06,'data':{..._0x1f27ab,'data':_0x1f27ab['uniscriptRunEvent']},'cmd':_0x120f06[_0x5388bb(0x2db)]};default:return _0x120f06;}}default:return _0x120f06;}}function Ln(_0x54ecfa){var _0x5eacee=_0x1207a5;switch(_0x54ecfa[_0x5eacee(0x2db)]){case F['HEARTBEAT']:case F[_0x5eacee(0x128)]:return JSON['stringify']({'cmd':_0x54ecfa['cmd'],'routeKey':_0x54ecfa[_0x5eacee(0x361)]});case F['INGEST']:{let _0x4d404a;switch(_0x54ecfa[_0x5eacee(0x212)][_0x5eacee(0x284)]){case _0x5601d9[_0x5eacee(0x2b3)]:{_0x4d404a={'eventID':_0x5601d9[_0x5eacee(0x2b3)],'updateCursorEvent':_0x54ecfa['data'][_0x5eacee(0x212)]};break;}case _0x5601d9[_0x5eacee(0x1bb)]:{_0x4d404a={'eventID':_0x5601d9['USERS_LEAVE'],'leaveEvent':_0x54ecfa[_0x5eacee(0x212)][_0x5eacee(0x212)]};break;}case _0x5601d9[_0x5eacee(0x1e4)]:{_0x4d404a={'eventID':_0x5601d9[_0x5eacee(0x1e4)],'joinEvent':_0x54ecfa[_0x5eacee(0x212)]['data']};break;}case _0x5601d9[_0x5eacee(0x10b)]:{_0x4d404a={'eventID':_0x5601d9['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x54ecfa['data'][_0x5eacee(0x212)]};break;}case _0x5601d9[_0x5eacee(0x3ec)]:{_0x4d404a={'eventID':_0x5601d9[_0x5eacee(0x3ec)],'liveShareOperation':_0x54ecfa[_0x5eacee(0x212)][_0x5eacee(0x212)]};break;}case _0x5601d9[_0x5eacee(0x1c1)]:{_0x4d404a={'eventID':_0x5601d9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x54ecfa[_0x5eacee(0x212)][_0x5eacee(0x212)]};break;}case _0x5601d9[_0x5eacee(0x377)]:{_0x4d404a={'eventID':_0x5601d9[_0x5eacee(0x377)],'liveShareRequestHost':_0x54ecfa[_0x5eacee(0x212)][_0x5eacee(0x212)]};break;}case _0x5601d9['LIVESHARE_FETCH_OPERATIONS']:{_0x4d404a={'eventID':_0x5601d9[_0x5eacee(0x1c9)]};break;}default:_0x4d404a={'eventID':_0x54ecfa[_0x5eacee(0x212)]['eventID']};}return JSON['stringify']({'cmd':_0x54ecfa[_0x5eacee(0x2db)],'routeKey':_0x54ecfa[_0x5eacee(0x361)],'collaMsg':_0x4d404a});}case F[_0x5eacee(0x35e)]:return JSON['stringify']({'cmd':_0x54ecfa[_0x5eacee(0x2db)],'routeKey':_0x54ecfa[_0x5eacee(0x361)],'joinReq':_0x54ecfa[_0x5eacee(0x212)]});case F[_0x5eacee(0x3c5)]:return JSON[_0x5eacee(0x324)]({'cmd':_0x54ecfa[_0x5eacee(0x2db)],'routeKey':_0x54ecfa[_0x5eacee(0x361)],'leaveReq':_0x54ecfa['data']});default:throw new Error(_0x5eacee(0x33f));}}var Mn=Object[_0x1207a5(0x3dd)],kn=(_0x320233,_0x558eb7,_0x60195e,_0x3cf511)=>{var _0x3d71a4=_0x1207a5;for(var _0x53ed11=_0x3cf511>0x1?void 0x0:_0x3cf511?Mn(_0x558eb7,_0x60195e):_0x558eb7,_0x9f1093=_0x320233[_0x3d71a4(0x3a6)]-0x1,_0x22c356;_0x9f1093>=0x0;_0x9f1093--)(_0x22c356=_0x320233[_0x9f1093])&&(_0x53ed11=_0x22c356(_0x53ed11)||_0x53ed11);return _0x53ed11;},we=(_0xd7d664,_0xe01042)=>(_0x324ef5,_0x257299)=>_0xe01042(_0x324ef5,_0x257299,_0xd7d664);const Ii=_0x392602(_0x1207a5(0x12f));function $n(_0x5f27c9,_0x33b107,_0x4066dd){var _0x339ece=_0x1207a5;return _0x5f27c9+'/'+_0x33b107+_0x339ece(0x2f5)+_0x4066dd+_0x339ece(0x2b7);}let Gt=class extends _0x5efe2a{constructor(_0x4c2d20,_0x5bb64d,_0x4422e7,_0x265248,_0x281199){var _0x54d646=_0x1207a5;super(),this['_injector']=_0x4c2d20,this[_0x54d646(0x24a)]=_0x5bb64d,this[_0x54d646(0x114)]=_0x4422e7,this[_0x54d646(0x2de)]=_0x265248,this[_0x54d646(0x13a)]=_0x281199;}['_doCreateSocket'](_0x755997){var _0x5061af=_0x1207a5;const _0x3a2374=this[_0x5061af(0x173)][_0x5061af(0x23a)](_0x35f8c3);if(!_0x3a2374)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x554af4=_0x3a2374[_0x5061af(0x15a)](_0x755997);if(!_0x554af4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3808fb=new _0x1afcaf(),_0x2490ae=new _0x4232a4();_0x3808fb[_0x5061af(0x2c7)](_0x554af4[_0x5061af(0x1ce)][_0x5061af(0x24b)](_0x69ebf0=>_0x2490ae[_0x5061af(0x10a)](_0x69ebf0))),_0x3808fb[_0x5061af(0x2c7)](_0x245617(()=>_0x2490ae[_0x5061af(0x33c)]()));const _0x124405=new _0x4232a4();_0x3808fb['add'](_0x554af4[_0x5061af(0x2fe)]['subscribe'](_0xc5a2ba=>_0x124405[_0x5061af(0x10a)](_0xc5a2ba))),_0x3808fb['add'](_0x245617(()=>_0x124405['complete']()));const _0x17b403=new _0x4232a4();_0x3808fb[_0x5061af(0x2c7)](_0x554af4['message$'][_0x5061af(0x24b)](_0x585b5c=>{var _0x5d14b6=_0x5061af;const _0x391dad=xn(_0x585b5c);_0x17b403[_0x5d14b6(0x10a)](_0x391dad);})),_0x3808fb[_0x5061af(0x2c7)](_0x245617(()=>_0x17b403[_0x5061af(0x33c)]()));let _0x21be0a;const _0x58e361=()=>{var _0x5810d2=_0x5061af;_0x124405['next'](new Event('connection\x20error')),_0x2490ae['next'](new Event('connection\x20error')),_0x21be0a[_0x5810d2(0x18f)]();};return _0x21be0a={'memberID':'','close$':_0x2490ae[_0x5061af(0x3a7)](),'error$':_0x124405[_0x5061af(0x3a7)](),'open$':_0x554af4[_0x5061af(0x27c)],'message$':_0x17b403[_0x5061af(0x3a7)](),'send':_0x3b6e6e=>{var _0x59a9ba=_0x5061af;if(_0x3b6e6e[_0x59a9ba(0x2db)]===F[_0x59a9ba(0x1dd)]){if(_0x3b6e6e['data'][_0x59a9ba(0x284)]===_0x5601d9[_0x59a9ba(0x270)]){this[_0x59a9ba(0x1b4)](_0x21be0a,_0x3b6e6e[_0x59a9ba(0x212)])[_0x59a9ba(0x3bb)](_0x11da9d=>{var _0x3a0315=_0x59a9ba;this[_0x3a0315(0x2de)][_0x3a0315(0x291)](_0x11da9d),_0x58e361();});return;}if(_0x3b6e6e[_0x59a9ba(0x212)][_0x59a9ba(0x284)]===_0x5601d9['FETCH_MISSING']){const _0x3f3249=_0x3b6e6e[_0x59a9ba(0x212)];this[_0x59a9ba(0x25a)](_0x3f3249)[_0x59a9ba(0x127)](_0x3b02ae=>{var _0x26c762=_0x59a9ba;_0x17b403[_0x26c762(0x10a)]({'cmd':F[_0x26c762(0x192)],'code':ge['OK'],'routeKey':_0x3f3249[_0x26c762(0x212)]['unitID'],'routeType':'','data':{'eventID':_0x5601d9[_0x26c762(0x1eb)],'data':{'changesets':_0x3b02ae}}});})[_0x59a9ba(0x3bb)](_0x8a3d91=>{var _0x3ad3e8=_0x59a9ba;this[_0x3ad3e8(0x2de)][_0x3ad3e8(0x291)](_0x8a3d91),_0x58e361();});return;}}_0x554af4[_0x59a9ba(0x3c8)](Ln(_0x3b6e6e));},'close':()=>{var _0x254e6a=_0x5061af;_0x554af4[_0x254e6a(0x18f)](),_0x3808fb[_0x254e6a(0x23c)]();}},_0x21be0a;}async[_0x1207a5(0x1b4)](_0x4d83b6,_0x243712){var _0x23e328=_0x1207a5,_0x5e05ee,_0x55ba6a;const {unitType:_0x2dbbdc,unitID:_0x28dfb4,changeset:_0x14e6ce}=_0x243712[_0x23e328(0x212)],_0x52ae37={'unitID':_0x28dfb4,'memberID':_0x4d83b6[_0x23e328(0x206)],'type':_0x2dbbdc,'changeset':_0x2e87be(_0x14e6ce)},_0x23e93b=this['_configService']['getConfig'](Nn),_0x56705a=this['_configService'][_0x23e328(0x161)](q),_0x42adbc=$n((_0x55ba6a=(_0x5e05ee=_0x56705a==null?void 0x0:_0x56705a[_0x23e328(0x2cc)])!=null?_0x5e05ee:_0x23e93b)!=null?_0x55ba6a:Dn,_0x2dbbdc,_0x28dfb4);try{await this['_httpService'][_0x23e328(0x321)](_0x42adbc,{'body':_0x52ae37});}catch(_0x9d6d73){throw this[_0x23e328(0x2de)][_0x23e328(0x291)](_0x23e328(0x2ed),_0x23e328(0x21c)),_0x9d6d73;}}async[_0x1207a5(0x25a)](_0x50cdc){var _0x4bbce5=_0x1207a5;const {unitID:_0x5ee37d,from:_0x21274d,to:_0x2a9ca4,unitType:_0x4f90e4}=_0x50cdc[_0x4bbce5(0x212)];return(await this[_0x4bbce5(0x13a)][_0x4bbce5(0x1aa)]({'metadata':void 0x0},{'unitID':_0x5ee37d,'type':_0x4f90e4,'from':_0x21274d,'to':_0x2a9ca4}))[_0x4bbce5(0x190)];}};Gt=kn([we(0x0,_0x1e1c30(_0x17b627)),we(0x1,_0x1e1c30(_0x1e8654)),we(0x2,_0x273f4e),we(0x3,_0x1ef61d),we(0x4,_0x1e84a6)],Gt);const Hn=_0x1207a5(0x1ba);function Bn(_0x357023){var _0x14a935=_0x1207a5;return JSON[_0x14a935(0x324)](_0x357023)[_0x14a935(0x3a6)];}class Ti{constructor(){var _0x2926f5=_0x1207a5;N(this,_0x2926f5(0x19b),new _0x4232a4()),N(this,'commentUpdate$',this[_0x2926f5(0x19b)][_0x2926f5(0x3a7)]());}[_0x1207a5(0x2a6)](_0x426808){var _0x1be439=_0x1207a5;this[_0x1be439(0x19b)][_0x1be439(0x10a)](_0x426808);}}var jn=Object[_0x1207a5(0x3dd)],Fn=(_0x428dbd,_0x1fda23,_0x1c9df9,_0xda05f8)=>{var _0x277cbc=_0x1207a5;for(var _0x3b44b2=_0xda05f8>0x1?void 0x0:_0xda05f8?jn(_0x1fda23,_0x1c9df9):_0x1fda23,_0x3a9619=_0x428dbd[_0x277cbc(0x3a6)]-0x1,_0x490f36;_0x3a9619>=0x0;_0x3a9619--)(_0x490f36=_0x428dbd[_0x3a9619])&&(_0x3b44b2=_0x490f36(_0x3b44b2)||_0x3b44b2);return _0x3b44b2;},Wt=(_0x2ef1a7,_0x3be216)=>(_0x251a14,_0x2f113c)=>_0x3be216(_0x251a14,_0x2f113c,_0x2ef1a7);let xe=class extends _0x5efe2a{constructor(_0x3cf2ed,_0xc8ed03){var _0x51ab0a=_0x1207a5;super(),N(this,_0x51ab0a(0x36e),new Map()),N(this,_0x51ab0a(0x366),new _0x4232a4()),(this['_univerInstanceService']=_0x3cf2ed,this[_0x51ab0a(0x2fb)]=_0xc8ed03,this['disposeWithMe'](_0x47b2b1(this['_univerInstanceService'][_0x51ab0a(0x20c)](_0x19df23[_0x51ab0a(0x1d1)])['pipe'](_0x5acb68(_0x23297f=>_0x23297f['getUnitId']())),this[_0x51ab0a(0x269)][_0x51ab0a(0x20c)](_0x19df23['UNIVER_DOC'])[_0x51ab0a(0x36b)](_0x5acb68(_0x4afb58=>_0x4afb58[_0x51ab0a(0x3ca)]())),this[_0x51ab0a(0x269)][_0x51ab0a(0x20c)](_0x19df23[_0x51ab0a(0x1f3)])[_0x51ab0a(0x36b)](_0x5acb68(_0x2abb18=>_0x2abb18['getUnitId']())))['subscribe'](_0x3a284f=>this[_0x51ab0a(0x298)](_0x3a284f))));}[_0x1207a5(0x18e)](_0x398fa2){var _0x35fab8=_0x1207a5;return this[_0x35fab8(0x36e)][_0x35fab8(0x334)](_0x398fa2)?_0x5be91a(this['_roomMembers'][_0x35fab8(0x23a)](_0x398fa2)):this[_0x35fab8(0x366)][_0x35fab8(0x36b)](_0x5acb68(_0x54f693=>{var _0x494b73=_0x35fab8;if(_0x54f693===_0x398fa2)return this[_0x494b73(0x36e)][_0x494b73(0x23a)](_0x54f693);}));}[_0x1207a5(0x28a)](_0x53fc00){var _0x26c6a5=_0x1207a5;this[_0x26c6a5(0x2fb)][_0x26c6a5(0x28a)](_0x53fc00);}['getCurrentUser'](){var _0x3819b1=_0x1207a5;return this[_0x3819b1(0x2fb)][_0x3819b1(0x3d0)]();}[_0x1207a5(0x176)](_0x30dc2f,_0x54148c){var _0x4329de=_0x1207a5;let _0xaa83ac=this['_roomMembers']['get'](_0x30dc2f);_0xaa83ac||(_0xaa83ac=new Vn(),this[_0x4329de(0x36e)][_0x4329de(0x1f6)](_0x30dc2f,_0xaa83ac),this[_0x4329de(0x366)][_0x4329de(0x10a)](_0x30dc2f)),_0xaa83ac[_0x4329de(0x176)](_0x54148c);}[_0x1207a5(0x3c9)](_0x4ee281,_0x4ccd28){var _0xe4e350=_0x1207a5;const _0x231b74=this[_0xe4e350(0x36e)][_0xe4e350(0x23a)](_0x4ee281);_0x231b74&&_0x231b74[_0xe4e350(0x3c9)](_0x4ccd28);}[_0x1207a5(0x33a)](_0x13213f){var _0x5ea193=_0x1207a5;return this['_roomMembers'][_0x5ea193(0x23a)](_0x13213f);}[_0x1207a5(0x365)](_0x22e70e,_0x475c0b){var _0x7f619a=_0x1207a5;const _0x51cc6a=this['_roomMembers'][_0x7f619a(0x23a)](_0x22e70e);if(_0x51cc6a)return _0x51cc6a[_0x7f619a(0x365)](_0x475c0b);}['_removeRoom'](_0x3e3bbd){var _0x3d0671=_0x1207a5;const _0x42f6fd=this[_0x3d0671(0x36e)][_0x3d0671(0x23a)](_0x3e3bbd);_0x42f6fd&&(_0x42f6fd[_0x3d0671(0x23c)](),this['_roomMembers'][_0x3d0671(0x157)](_0x3e3bbd));}[_0x1207a5(0x23c)](){var _0x15039c=_0x1207a5;this[_0x15039c(0x36e)][_0x15039c(0x2d5)](_0x51589b=>_0x51589b['dispose']()),this['_roomMembers'][_0x15039c(0x1ad)](),this[_0x15039c(0x366)][_0x15039c(0x33c)]();}};xe=Fn([Wt(0x0,_0x22f80b),Wt(0x1,_0x1e1c30(_0x4b82d2))],xe);class Vn extends _0x5efe2a{constructor(){var _0xe328c0=_0x1207a5;super(...arguments),N(this,_0xe328c0(0x297),new Map()),N(this,_0xe328c0(0x15d),new _0x28aab7(this[_0xe328c0(0x297)])),N(this,_0xe328c0(0x147),this[_0xe328c0(0x15d)][_0xe328c0(0x3a7)]());}[_0x1207a5(0x23c)](){this['_members']['clear']();}['updateMember'](_0x5c44aa){var _0x121323=_0x1207a5;this[_0x121323(0x297)]['set'](_0x5c44aa['memberID'],_0x5c44aa),this[_0x121323(0x3d5)]();}[_0x1207a5(0x3c9)](_0x3d63ed){var _0x2357d8=_0x1207a5;this[_0x2357d8(0x297)]['delete'](_0x3d63ed);}['getMember'](_0x43a425){var _0x32b9c5=_0x1207a5;return this['_members'][_0x32b9c5(0x23a)](_0x43a425);}[_0x1207a5(0x276)](){var _0x134be8=_0x1207a5;return Array[_0x134be8(0x2f8)](this[_0x134be8(0x297)][_0x134be8(0x21d)]());}[_0x1207a5(0x3d5)](){var _0x255a17=_0x1207a5;this[_0x255a17(0x15d)][_0x255a17(0x10a)](this['_members']);}}var Gn=Object[_0x1207a5(0x3dd)],Wn=(_0x220eb0,_0x4270e1,_0x278f30,_0x29bb5f)=>{for(var _0x374247=_0x29bb5f>0x1?void 0x0:_0x29bb5f?Gn(_0x4270e1,_0x278f30):_0x4270e1,_0x4e8a68=_0x220eb0['length']-0x1,_0x18fb73;_0x4e8a68>=0x0;_0x4e8a68--)(_0x18fb73=_0x220eb0[_0x4e8a68])&&(_0x374247=_0x18fb73(_0x374247)||_0x374247);return _0x374247;},me=(_0x52f56b,_0x168cd0)=>(_0x193198,_0x26190a)=>_0x168cd0(_0x193198,_0x26190a,_0x52f56b),Ee=(_0xc420db=>(_0xc420db[_0xc420db[_0x1207a5(0x34e)]=0x0]=_0x1207a5(0x34e),_0xc420db[_0xc420db['JOINING']=0x1]=_0x1207a5(0x35b),_0xc420db[_0xc420db['OFFLINE']=0x2]='OFFLINE',_0xc420db[_0xc420db[_0x1207a5(0x119)]=0x3]=_0x1207a5(0x119),_0xc420db))(Ee||{});const Kt={[ge[_0x1207a5(0x194)]]:_0x1207a5(0x1ac),[ge['JOIN_ROOM_FULL']]:_0x1207a5(0x266),[ge[_0x1207a5(0x36a)]]:_0x1207a5(0x134),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x1207a5(0x293),[ge[_0x1207a5(0x2a0)]]:_0x1207a5(0x182)};let Et=class extends _0x1a81df{constructor(_0x7b16f5,_0x130d92,_0xb8df85,_0x7cb98f,_0x204cd1,_0x5313f5,_0x2dd9a6,_0x2d347f,_0x1bf20f){var _0x5cf425=_0x1207a5;super(),N(this,_0x5cf425(0x1b8),new _0x28aab7(0x0)),N(this,'sessionStatus$',this[_0x5cf425(0x1b8)][_0x5cf425(0x3a7)]()),N(this,_0x5cf425(0x2ea),new _0x4232a4()),N(this,_0x5cf425(0x2d3),this[_0x5cf425(0x2ea)]['asObservable']()),N(this,_0x5cf425(0x208)),N(this,_0x5cf425(0x1b7)),N(this,'_collaborationTimeoutTimer'),N(this,_0x5cf425(0x3bf),!0x1),N(this,_0x5cf425(0x1d5),null),(this[_0x5cf425(0x37c)]=_0x7b16f5,this[_0x5cf425(0x2de)]=_0xb8df85,this['_configService']=_0x7cb98f,this[_0x5cf425(0x1b2)]=_0x204cd1,this[_0x5cf425(0x2ba)]=_0x5313f5,this['_commentService']=_0x2dd9a6,this[_0x5cf425(0x22f)]=_0x2d347f,this[_0x5cf425(0x2b0)]=_0x1bf20f,this[_0x5cf425(0x3bf)]=!!this[_0x5cf425(0x2b0)],_0x130d92[_0x5cf425(0x36b)](_0x3a6de3(this[_0x5cf425(0x355)]))[_0x5cf425(0x24b)](_0x3098c3=>{var _0x4a86fd=_0x5cf425,_0x5eb23e;typeof _0x3098c3>'u'||(this[_0x4a86fd(0x208)]=_0x3098c3,_0x3098c3?(this['_joinRoom'](_0x3098c3),this[_0x4a86fd(0x1b7)]=_0x3098c3[_0x4a86fd(0x1f7)][_0x4a86fd(0x24b)](_0x30a7cd=>{var _0x38fa22=_0x4a86fd;_0x30a7cd['routeKey']===this[_0x38fa22(0x37c)]&&this['_onCombEvent'](_0x30a7cd);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4a86fd(0x1b8)]['next'](0x2),(_0x5eb23e=this[_0x4a86fd(0x1b7)])==null||_0x5eb23e[_0x4a86fd(0x3f7)](),this[_0x4a86fd(0x1b7)]=null));}));}get[_0x1207a5(0x1a5)](){var _0x5d18db=_0x1207a5;return this[_0x5d18db(0x1b8)][_0x5d18db(0x27d)]();}[_0x1207a5(0x3de)](){var _0x6e341=_0x1207a5,_0x55adbe,_0x3db6e8;return(_0x3db6e8=(_0x55adbe=this['_socket'])==null?void 0x0:_0x55adbe[_0x6e341(0x206)])!=null?_0x3db6e8:null;}[_0x1207a5(0x23c)](){var _0x37a911=_0x1207a5;super['dispose'](),this[_0x37a911(0x355)][_0x37a911(0x10a)](),this[_0x37a911(0x355)][_0x37a911(0x33c)]();}[_0x1207a5(0x18f)](){var _0x1927b3=_0x1207a5,_0x3982f8,_0x42d5ec;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3982f8=this[_0x1927b3(0x208)])==null||_0x3982f8[_0x1927b3(0x3c8)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x1927b3(0x37c)]}}),(_0x42d5ec=this[_0x1927b3(0x208)])==null||_0x42d5ec['close'](),this['_event$']['complete'](),this[_0x1927b3(0x1b8)]['complete'](),this['dispose']();}[_0x1207a5(0x1d6)](_0x135c86){var _0x58bd6e=_0x1207a5;_0x135c86['cmd']===F[_0x58bd6e(0x35e)]?this[_0x58bd6e(0x229)](_0x135c86):_0x135c86[_0x58bd6e(0x2db)]===F[_0x58bd6e(0x192)]&&this['_onRecvEvent'](_0x135c86);}[_0x1207a5(0x380)](_0x7f155c){var _0x5cd52f=_0x1207a5;this[_0x5cd52f(0x1b8)][_0x5cd52f(0x10a)](0x1),_0x7f155c[_0x5cd52f(0x3c8)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5cd52f(0x37c)]}]}});}['_onJoinRoomEvent'](_0xfc5e17){var _0x5cae28=_0x1207a5,_0x5c5485;if(_0xfc5e17[_0x5cae28(0x20d)]in Kt){this['_collaborationUIEventService']['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0xfc5e17[_0x5cae28(0x20d)]]}),this[_0x5cae28(0x1b8)][_0x5cae28(0x10a)](0x2);return;}this[_0x5cae28(0x1b8)]['next'](0x3);const _0x34c07e=(_0x5c5485=_0xfc5e17[_0x5cae28(0x212)][_0x5cae28(0x3ea)][this[_0x5cae28(0x37c)]])==null?void 0x0:_0x5c5485[_0x5cae28(0x1ef)];_0x34c07e&&_0x34c07e[_0x5cae28(0x2d5)](_0x3534cb=>this[_0x5cae28(0x2ba)]['updateMember'](this['_unitID'],_0x3534cb));}[_0x1207a5(0x372)](_0x100267){var _0x37b4af=_0x1207a5;try{const _0x183315=_0x100267[_0x37b4af(0x212)];switch(_0x183315[_0x37b4af(0x284)]){case _0x5601d9['USERS_ENTER']:this[_0x37b4af(0x282)](_0x183315),this[_0x37b4af(0x2ea)][_0x37b4af(0x10a)](_0x183315);break;case _0x5601d9[_0x37b4af(0x1bb)]:this[_0x37b4af(0x296)](_0x183315),this[_0x37b4af(0x2ea)]['next'](_0x183315);break;case _0x5601d9['CHANGESET_ACK']:case _0x5601d9[_0x37b4af(0x349)]:this[_0x37b4af(0x2dc)](),this[_0x37b4af(0x2c6)](),this['_event$'][_0x37b4af(0x10a)](_0x183315);break;case _0x5601d9['MSG_FOR_ERROR']:this['_logService'][_0x37b4af(0x291)](_0x37b4af(0x1af)+JSON[_0x37b4af(0x324)](_0x183315)),this['_event$'][_0x37b4af(0x10a)](_0x183315);break;case _0x5601d9['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x183315[_0x37b4af(0x212)]),this[_0x37b4af(0x2ea)][_0x37b4af(0x10a)](_0x183315);break;default:this['_event$'][_0x37b4af(0x10a)](_0x183315);}}catch(_0x3a7131){this[_0x37b4af(0x2de)][_0x37b4af(0x291)](_0x3a7131,_0x100267);}}[_0x1207a5(0x282)](_0x4ffbe1){var _0x169006=_0x1207a5;this['_memberService']['updateMember'](this[_0x169006(0x37c)],_0x4ffbe1[_0x169006(0x212)]);}[_0x1207a5(0x296)](_0x54caf1){var _0x3fff2a=_0x1207a5;this[_0x3fff2a(0x2ba)][_0x3fff2a(0x3c9)](this[_0x3fff2a(0x37c)],_0x54caf1[_0x3fff2a(0x212)][_0x3fff2a(0x206)]);}async[_0x1207a5(0x3c8)](_0x368abf,_0xa5b0e){var _0x22d07c=_0x1207a5;if(this[_0x22d07c(0x1a5)]!==0x3||!this['_socket'])throw new Error(_0x22d07c(0x2e2));try{_0x368abf[_0x22d07c(0x284)]===_0x5601d9[_0x22d07c(0x270)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x22d07c(0x330)](_0x368abf)),this[_0x22d07c(0x208)][_0x22d07c(0x3c8)]({'cmd':F[_0x22d07c(0x1dd)],'routeKey':_0xa5b0e,'routeType':'','data':_0x368abf});}catch(_0x5e8f6e){this['_logService'][_0x22d07c(0x291)](_0x5e8f6e);}}[_0x1207a5(0x356)](){var _0x2debb5=_0x1207a5,_0x314235;this[_0x2debb5(0x268)]=setTimeout(()=>{var _0x288a18=_0x2debb5;this['_collaborationTimeoutTimer']=null,this[_0x288a18(0x22f)][_0x288a18(0x23e)]({'id':se[_0x288a18(0x124)]});},(_0x314235=this[_0x2debb5(0x114)]['getConfig'](mi))!=null?_0x314235:gi);}[_0x1207a5(0x2c6)](){var _0x5abe4d=_0x1207a5;this[_0x5abe4d(0x268)]&&(clearTimeout(this[_0x5abe4d(0x268)]),this[_0x5abe4d(0x268)]=null);}[_0x1207a5(0x330)](_0x58a311){var _0x3f1025=_0x1207a5;if(!this[_0x3f1025(0x3bf)])return;const {data:_0x115831}=_0x58a311,{unitID:_0x45e76b,changeset:_0x5a1cd6}=_0x115831,{mutations:_0x2d57c8,type:_0x381b34}=_0x5a1cd6;this['_telemetryInfo']={'unitId':_0x45e76b,'type':_0x381b34,'startTime':performance[_0x3f1025(0x2f2)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x2d57c8)};}[_0x1207a5(0x2dc)](){var _0x517ab4=_0x1207a5;if(this['_shouldReportTelemetry']){if(!this[_0x517ab4(0x1d5)]){this[_0x517ab4(0x2de)]['error'](_0x517ab4(0x2ed),_0x517ab4(0x38a));return;}this[_0x517ab4(0x1d5)][_0x517ab4(0x23b)]=performance[_0x517ab4(0x2f2)](),this[_0x517ab4(0x1d5)]['duration']=this['_telemetryInfo'][_0x517ab4(0x23b)]-this[_0x517ab4(0x1d5)]['startTime'],this['_telemetryService'][_0x517ab4(0x1c6)](Hn,this[_0x517ab4(0x1d5)]),this[_0x517ab4(0x1d5)]=null;}}[_0x1207a5(0x29a)](){var _0x4c8545=_0x1207a5;this[_0x4c8545(0x1d5)]=null;}};Et=Wn([me(0x2,_0x1ef61d),me(0x3,_0x273f4e),me(0x4,_0x1e1c30(_0x5a4070)),me(0x5,_0x1e1c30(xe)),me(0x6,_0x1e1c30(Ti)),me(0x7,_0x1e1c30(pe)),me(0x8,_0x2359f1(_0x948102))],Et);var Kn=Object[_0x1207a5(0x3dd)],Yn=(_0x5a8005,_0x3d8025,_0x3e71af,_0x240ccb)=>{var _0x20ee73=_0x1207a5;for(var _0x429b1d=_0x240ccb>0x1?void 0x0:_0x240ccb?Kn(_0x3d8025,_0x3e71af):_0x3d8025,_0x2a40fb=_0x5a8005[_0x20ee73(0x3a6)]-0x1,_0x54fbf6;_0x2a40fb>=0x0;_0x2a40fb--)(_0x54fbf6=_0x5a8005[_0x2a40fb])&&(_0x429b1d=_0x54fbf6(_0x429b1d)||_0x429b1d);return _0x429b1d;},be=(_0x3b0f19,_0x484b4e)=>(_0x2a00e8,_0x8eedb6)=>_0x484b4e(_0x2a00e8,_0x8eedb6,_0x3b0f19);let Le=class extends _0x5efe2a{constructor(_0x20e4ef,_0xbb47cb,_0x3e49b1,_0x5d32eb,_0x2e3b5f,_0x19d8c6){var _0xd69c98=_0x1207a5;super(),N(this,_0xd69c98(0x24d),new _0x28aab7(void 0x0)),N(this,_0xd69c98(0x3cb),this['_socket$']['asObservable']()),N(this,_0xd69c98(0x328),null),N(this,'_sessions',new Map()),N(this,_0xd69c98(0x359),new _0x28aab7(Ee['IDLE'])),N(this,_0xd69c98(0x1a1),this[_0xd69c98(0x359)][_0xd69c98(0x3a7)]()),N(this,'_socketReady',!0x1),N(this,_0xd69c98(0x28b)),N(this,_0xd69c98(0x196),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x20e4ef,this[_0xd69c98(0x2de)]=_0xbb47cb,this['_configService']=_0x3e49b1,this['_socketService']=_0x5d32eb,this['_collaborationUIEventService']=_0x2e3b5f,this[_0xd69c98(0x369)]=_0x19d8c6,this[_0xd69c98(0x336)]());}get[_0x1207a5(0x208)](){var _0xe63820=_0x1207a5;return this[_0xe63820(0x24d)]['getValue']();}[_0x1207a5(0x336)](){var _0x53420a=_0x1207a5;this[_0x53420a(0x369)]&&this[_0x53420a(0x390)](this[_0x53420a(0x369)]['online$'][_0x53420a(0x24b)](_0x1b827a=>{var _0x56a306=_0x53420a;_0x1b827a&&!this[_0x56a306(0x208)]&&this[_0x56a306(0x3e0)](),_0x1b827a||this[_0x56a306(0x38b)]();}));}[_0x1207a5(0x23c)](){var _0x3cc291=_0x1207a5;super[_0x3cc291(0x23c)](),this[_0x3cc291(0x244)](),this[_0x3cc291(0x2d2)](),this['_clearHeartbeatTimer'](),this[_0x3cc291(0x2ca)][_0x3cc291(0x2d5)](_0x493590=>_0x493590['dispose']()),this['_sessions']['clear'](),this[_0x3cc291(0x359)]['complete']();}async['requireSession'](_0x33891d){var _0x3d2df8=_0x1207a5;if(this[_0x3d2df8(0x2ca)]['has'](_0x33891d))return this[_0x3d2df8(0x2ca)][_0x3d2df8(0x23a)](_0x33891d);this[_0x3d2df8(0x217)]();const _0x53cb03=this[_0x3d2df8(0x173)][_0x3d2df8(0x25c)](Et,_0x33891d,this['_socket$'][_0x3d2df8(0x3a7)]());return this[_0x3d2df8(0x2ca)][_0x3d2df8(0x1f6)](_0x33891d,_0x53cb03),_0x53cb03;}[_0x1207a5(0x3df)](_0x2b076e){var _0x1bf648=_0x1207a5,_0x544dd0;const _0xf55ba4=this[_0x1bf648(0x2ca)][_0x1bf648(0x23a)](_0x2b076e);_0xf55ba4&&(this[_0x1bf648(0x2ca)][_0x1bf648(0x157)](_0x2b076e),_0xf55ba4['close']()),this[_0x1bf648(0x2ca)][_0x1bf648(0x32a)]||(_0x544dd0=this[_0x1bf648(0x208)])==null||_0x544dd0[_0x1bf648(0x18f)]();}[_0x1207a5(0x3e0)](){var _0x465742=_0x1207a5;this[_0x465742(0x196)]=0x0,this[_0x465742(0x244)](),this[_0x465742(0x216)]();}['_clearRetryConnectingTimer'](){var _0x6a158=_0x1207a5;this[_0x6a158(0x28b)]!=null&&(clearTimeout(this[_0x6a158(0x28b)]),this[_0x6a158(0x28b)]=null);}async[_0x1207a5(0x400)](){var _0x698a86=_0x1207a5,_0x236a2a,_0x3500a3;const _0x237fc2=this[_0x698a86(0x114)][_0x698a86(0x161)](In),_0x1137fa=this['_configService']['getConfig'](q),_0xcf56d=(_0x3500a3=(_0x236a2a=_0x1137fa==null?void 0x0:_0x1137fa[_0x698a86(0x13c)])!=null?_0x236a2a:_0x237fc2)!=null?_0x3500a3:Tn,_0xd11edd=await this[_0x698a86(0x139)][_0x698a86(0x15a)](_0xcf56d);return this[_0x698a86(0x328)]=_0xd11edd,_0xd11edd;}async[_0x1207a5(0x217)](){var _0x24ec8f=_0x1207a5,_0x2c1d,_0x4669ca;try{const _0x1abb6c=(_0x4669ca=(_0x2c1d=this[_0x24ec8f(0x208)])!=null?_0x2c1d:this[_0x24ec8f(0x328)])!=null?_0x4669ca:await this[_0x24ec8f(0x400)]();if(_0x1abb6c){const _0x40debf=_0x1abb6c[_0x24ec8f(0x3c8)];_0x1abb6c['send']=_0x2d46c0=>(this[_0x24ec8f(0x300)](),_0x40debf[_0x24ec8f(0x1db)](_0x1abb6c,[_0x2d46c0])),_0x1abb6c[_0x24ec8f(0x1f7)]['subscribe'](_0x490245=>this[_0x24ec8f(0x31a)](_0x1abb6c,_0x490245)),_0x1abb6c['error$'][_0x24ec8f(0x36b)](_0x488340(0x1))[_0x24ec8f(0x24b)](_0xe33b20=>this[_0x24ec8f(0x2de)][_0x24ec8f(0x291)](_0x24ec8f(0x2fc),_0xe33b20)),_0x1abb6c['open$']['pipe'](_0x488340(0x1))['subscribe'](()=>{var _0x21a9a5=_0x24ec8f;this[_0x21a9a5(0x3bd)](_0x1abb6c);}),_0x1abb6c['close$'][_0x24ec8f(0x36b)](_0x488340(0x1))[_0x24ec8f(0x24b)](_0x5a99f5=>{var _0x20b9b8=_0x24ec8f;this[_0x20b9b8(0x2de)][_0x20b9b8(0x3d9)](_0x20b9b8(0x2cd),_0x20b9b8(0x260),_0x5a99f5),this['_onConnectionFailed']();});}}catch(_0x46357f){this[_0x24ec8f(0x2de)]['error'](_0x46357f),this[_0x24ec8f(0x16b)]();}}[_0x1207a5(0x3bd)](_0x41969){var _0x3161ae=_0x1207a5;this[_0x3161ae(0x2de)]['debug'](_0x3161ae(0x2cd),_0x3161ae(0x117)),_0x41969['send']({'cmd':F['HELLO']}),this[_0x3161ae(0x300)]();}[_0x1207a5(0x38b)](){var _0x5a5cc9=_0x1207a5;this[_0x5a5cc9(0x385)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x5a5cc9(0x10a)](Ee[_0x5a5cc9(0x252)]),this[_0x5a5cc9(0x24d)][_0x5a5cc9(0x10a)](null),this[_0x5a5cc9(0x2d2)](),this[_0x5a5cc9(0x187)]();}['_onConnectionFailed'](){var _0x436944=_0x1207a5,_0x2cf27b;this[_0x436944(0x38b)](),this['_retryCount']<((_0x2cf27b=this['_configService'][_0x436944(0x161)](yn))!=null?_0x2cf27b:On)?(this[_0x436944(0x22f)][_0x436944(0x23e)]({'id':se[_0x436944(0x142)]}),this[_0x436944(0x216)]()):this[_0x436944(0x22f)][_0x436944(0x23e)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x44c50e=_0x1207a5,_0x1dc833;const _0xcdf0f1=this[_0x44c50e(0x196)],_0x240103=this[_0x44c50e(0x114)][_0x44c50e(0x161)](q),_0x9479e6=_0xcdf0f1===0x0?0x0:((_0x1dc833=_0x240103==null?void 0x0:_0x240103['retryConnectingInterval'])!=null?_0x1dc833:bn)*0x2**_0xcdf0f1;this[_0x44c50e(0x28b)]=setTimeout(()=>{var _0x5c6e0e=_0x44c50e;clearTimeout(this[_0x5c6e0e(0x28b)]),this[_0x5c6e0e(0x28b)]=null,this[_0x5c6e0e(0x217)]();},_0x9479e6),this[_0x44c50e(0x196)]+=0x1;}[_0x1207a5(0x31a)](_0x57d92d,_0x52d9a0){var _0x12faa4=_0x1207a5;const {cmd:_0x4a090a}=_0x52d9a0;_0x4a090a===F[_0x12faa4(0x128)]&&!this[_0x12faa4(0x385)]&&(_0x57d92d[_0x12faa4(0x206)]=_0x52d9a0[_0x12faa4(0x212)]['memberID'],this[_0x12faa4(0x24d)][_0x12faa4(0x10a)](_0x57d92d),this[_0x12faa4(0x359)][_0x12faa4(0x10a)](Ee[_0x12faa4(0x119)]),this[_0x12faa4(0x385)]=!0x0,this[_0x12faa4(0x328)]=null),_0x4a090a===F[_0x12faa4(0x118)]&&this[_0x12faa4(0x2d2)](),this[_0x12faa4(0x300)]();}[_0x1207a5(0x300)](){var _0x38b847=_0x1207a5,_0xf0d568;this[_0x38b847(0x187)](),this[_0x38b847(0x2d8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xf0d568=this[_0x38b847(0x114)]['getConfig'](Cn))!=null?_0xf0d568:Rn);}[_0x1207a5(0x21f)](){var _0x24ab6b=_0x1207a5;this[_0x24ab6b(0x208)][_0x24ab6b(0x3c8)]({'cmd':F[_0x24ab6b(0x118)]}),this[_0x24ab6b(0x384)]();}['_waitForHeartbeatResponse'](){var _0x555818=_0x1207a5,_0x3376a4;this[_0x555818(0x10c)]=setTimeout(()=>this[_0x555818(0x16b)](),(_0x3376a4=this['_configService'][_0x555818(0x161)](mi))!=null?_0x3376a4:gi);}['_clearHeartbeatTimer'](){var _0x2b3857=_0x1207a5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2b3857(0x2d8)]),this[_0x2b3857(0x2d8)]=null);}[_0x1207a5(0x2d2)](){var _0x20da52=_0x1207a5;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x20da52(0x10c)]=null);}};Le=Yn([be(0x0,_0x1e1c30(_0x17b627)),be(0x1,_0x1ef61d),be(0x2,_0x273f4e),be(0x3,Ii),be(0x4,_0x1e1c30(pe)),be(0x5,_0x2359f1(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x1207a5(0x367)]((t+0x100)[_0x1207a5(0x34c)](0x10)[_0x1207a5(0x27e)](0x1));function qn(_0x275e59,_0x1ba6a5=0x0){var _0x4abbbb=_0x1207a5;return(V[_0x275e59[_0x1ba6a5+0x0]]+V[_0x275e59[_0x1ba6a5+0x1]]+V[_0x275e59[_0x1ba6a5+0x2]]+V[_0x275e59[_0x1ba6a5+0x3]]+'-'+V[_0x275e59[_0x1ba6a5+0x4]]+V[_0x275e59[_0x1ba6a5+0x5]]+'-'+V[_0x275e59[_0x1ba6a5+0x6]]+V[_0x275e59[_0x1ba6a5+0x7]]+'-'+V[_0x275e59[_0x1ba6a5+0x8]]+V[_0x275e59[_0x1ba6a5+0x9]]+'-'+V[_0x275e59[_0x1ba6a5+0xa]]+V[_0x275e59[_0x1ba6a5+0xb]]+V[_0x275e59[_0x1ba6a5+0xc]]+V[_0x275e59[_0x1ba6a5+0xd]]+V[_0x275e59[_0x1ba6a5+0xe]]+V[_0x275e59[_0x1ba6a5+0xf]])[_0x4abbbb(0x351)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x2f62ff=_0x1207a5;if(!ut){if(typeof crypto>'u'||!crypto[_0x2f62ff(0x273)])throw new Error(_0x2f62ff(0x11f));ut=crypto[_0x2f62ff(0x273)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x1207a5(0x2af)]&&crypto[_0x1207a5(0x2af)][_0x1207a5(0x348)](crypto),Yt={'randomUUID':Xn};function Zn(_0x5364e9,_0x1711cd,_0x2dc818){var _0x20d648=_0x1207a5,_0x55dc11,_0x1636aa,_0x28b864;if(Yt[_0x20d648(0x2af)]&&!_0x5364e9)return Yt[_0x20d648(0x2af)]();_0x5364e9=_0x5364e9||{};const _0x703688=(_0x28b864=(_0x1636aa=_0x5364e9[_0x20d648(0x35c)])!=null?_0x1636aa:(_0x55dc11=_0x5364e9[_0x20d648(0x27a)])==null?void 0x0:_0x55dc11['call'](_0x5364e9))!=null?_0x28b864:Jn();if(_0x703688[_0x20d648(0x3a6)]<0x10)throw new Error(_0x20d648(0x20e));return _0x703688[0x6]=_0x703688[0x6]&0xf|0x40,_0x703688[0x8]=_0x703688[0x8]&0x3f|0x80,qn(_0x703688);}const J=_0x392602('collaboration-client.local-cache-service');function Bs(_0x6e6642){var _0x5a4e69=_0x1207a5;return _0x5a4e69(0x1b1)+_0x6e6642;}var Qn=Object[_0x1207a5(0x3dd)],er=(_0x5d245b,_0x17d8af,_0x2f0fbc,_0x3677c5)=>{var _0x1f6ba3=_0x1207a5;for(var _0xcea1b2=_0x3677c5>0x1?void 0x0:_0x3677c5?Qn(_0x17d8af,_0x2f0fbc):_0x17d8af,_0xbfb176=_0x5d245b[_0x1f6ba3(0x3a6)]-0x1,_0x3c5b2d;_0xbfb176>=0x0;_0xbfb176--)(_0x3c5b2d=_0x5d245b[_0xbfb176])&&(_0xcea1b2=_0x3c5b2d(_0xcea1b2)||_0xcea1b2);return _0xcea1b2;},dt=(_0x41884f,_0x596663)=>(_0x59d6c4,_0x4d04be)=>_0x596663(_0x59d6c4,_0x4d04be,_0x41884f);function tr(_0x3a16b5){const {unitID:_0x3b524c,mutations:_0x2586bd}=_0x3a16b5;return{'unitId':_0x3b524c,'subUnitId':_0x2586bd[0x0]['params']['subUnitId']};}let it=class{constructor(_0x2e7162,_0x39a9c2,_0x266b74){var _0x5004f3=_0x1207a5;this[_0x5004f3(0x173)]=_0x2e7162,this[_0x5004f3(0x3ce)]=_0x39a9c2,this['_instanceService']=_0x266b74;}[_0x1207a5(0x327)](_0x5ca14d){var _0x16a4ce=_0x1207a5,_0x75caab,_0x5c3415,_0xad78b3,_0xfbdb0c;const _0x464414=this[_0x16a4ce(0x173)][_0x16a4ce(0x23a)](_0x298713),{unitId:_0x482bc7,subUnitId:_0x19d093}=tr(_0x5ca14d),_0x9029a0=_0x464414==null?void 0x0:_0x464414[_0x16a4ce(0x18a)](_0x482bc7)[_0x16a4ce(0x29e)](),_0x1cd825=(_0x5c3415=(_0x75caab=this['_instanceService']['getUnit'](_0x482bc7))==null?void 0x0:_0x75caab[_0x16a4ce(0x1d9)]())==null?void 0x0:_0x5c3415[_0x16a4ce(0x25f)]();if(_0x9029a0[_0x16a4ce(0x3a6)]===0x0||!_0x482bc7||!_0x19d093)return;const _0x521251=[{'id':_0x2d7ee9['id'],'params':{'unitId':_0x482bc7,'subUnitId':_0x1cd825,'selections':_0x287acc[_0x16a4ce(0x2bc)](_0x9029a0)}}],_0x85c57f=this['_transformService'][_0x16a4ce(0x2eb)](_0x5ca14d,_0x521251);if(!_0x3cfd7d(_0x85c57f))throw _0x85c57f['error'];const _0x2c0522=(_0xfbdb0c=(_0xad78b3=_0x85c57f[_0x16a4ce(0x3c6)][0x0])==null?void 0x0:_0xad78b3[_0x16a4ce(0x11c)])==null?void 0x0:_0xfbdb0c[_0x16a4ce(0x248)];if(Array[_0x16a4ce(0x35d)](_0x2c0522)&&_0x2c0522[_0x16a4ce(0x3a6)]){if(_0x2c0522[_0x16a4ce(0x3a6)]===_0x521251[0x0]['params']['selections'][_0x16a4ce(0x3a6)]&&_0x2c0522[_0x16a4ce(0x31c)]((_0x2a470b,_0x2f70d5)=>_0x16c936[_0x16a4ce(0x2bd)](_0x2a470b[_0x16a4ce(0x2a4)],_0x521251[0x0][_0x16a4ce(0x11c)]['selections'][_0x2f70d5][_0x16a4ce(0x2a4)])))return;this['_injector'][_0x16a4ce(0x23a)](_0x44ef17)[_0x16a4ce(0x26d)](_0x2d7ee9['id'],{'unitId':_0x482bc7,'subUnitId':_0x1cd825,'selections':_0x2c0522});}}};it=er([dt(0x0,_0x1e1c30(_0x17b627)),dt(0x1,_0x274f21),dt(0x2,_0x22f80b)],it);const ht=_0x392602(_0x1207a5(0x1e7));var Ci=(_0x440b9e=>(_0x440b9e[_0x440b9e[_0x1207a5(0x379)]=0x0]=_0x1207a5(0x379),_0x440b9e[_0x440b9e[_0x1207a5(0x342)]=0x1]='OTHER_CLIENTS_EDITING',_0x440b9e))(Ci||{});const ir=new Set([_0x434fe7['id']]);function qt(_0x30042a,_0x2e7f8f,_0x7516db,_0x1b0f7a,_0x2c0d9f){var _0x26b901=_0x1207a5,_0x17518f,_0x1652ea,_0x3066f8,_0x4fd179;const _0x1b94c2=[];for(const _0x4215b3 of _0x30042a)if(ir['has'](_0x4215b3['id'])){if(_0x1b94c2[_0x26b901(0x3a6)]>0x0)break;_0x1b94c2[_0x26b901(0x367)](_0x4215b3);break;}else _0x1b94c2['push'](_0x4215b3);const _0x2ae8d6=(_0x1652ea=(_0x17518f=_0x2c0d9f[_0x26b901(0x3d0)]())==null?void 0x0:_0x17518f[_0x26b901(0x3c3)])!=null?_0x1652ea:_0x26b901(0x14f),_0x2bb3d4=(_0x4fd179=(_0x3066f8=_0x2c0d9f[_0x26b901(0x3d0)]())==null?void 0x0:_0x3066f8[_0x26b901(0x206)])!=null?_0x4fd179:_0x26b901(0x14f);return{'changeset':{'unitID':_0x2e7f8f,'type':_0x21a40e(_0x7516db[_0x26b901(0x141)](_0x2e7f8f)),'baseRev':_0x1b0f7a['getCurrentRevOfUnit'](_0x2e7f8f),'revision':0x0,'userID':_0x2ae8d6,'memberID':_0x2bb3d4,'mutations':_0x1b94c2},'pendingMutations':_0x30042a[_0x26b901(0x27e)](_0x1b94c2['length'])};}function nr(_0x1ecb2a,_0x5f1c53,_0x5ee0f0,_0x4ee3eb,_0x22f4a1){var _0x25f884=_0x1207a5,_0xe5d9aa,_0x4706cc,_0x3506ac,_0x2a363a;const _0x48f58b=[_0x1ecb2a[_0x25f884(0x323)]((_0x1c7210,_0x4978a8)=>{var _0x32693b=_0x25f884,_0x4ba8b7;const {id:_0x12a198}=_0x1c7210,{id:_0x2f3453,type:_0x7d18a1}=_0x4978a8,_0x9bcd26=(_0x4ba8b7=_0x1c7210[_0x32693b(0x11c)])!=null?_0x4ba8b7:{'actions':null},_0x35acbc=_0x4978a8[_0x32693b(0x11c)];if(_0x12a198&&_0x12a198!==_0x2f3453)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x12a198+_0x32693b(0x3d1)+_0x2f3453+'.');return{..._0x1c7210,'id':_0x2f3453,'type':_0x7d18a1,'params':{'unitId':_0x35acbc[_0x32693b(0x223)],'textRanges':_0x35acbc[_0x32693b(0x230)],'actions':_0x2f4404['compose'](_0x9bcd26['actions'],_0x35acbc[_0x32693b(0x2c5)])}};},{})],_0x11186f=(_0x4706cc=(_0xe5d9aa=_0x22f4a1[_0x25f884(0x3d0)]())==null?void 0x0:_0xe5d9aa[_0x25f884(0x3c3)])!=null?_0x4706cc:_0x25f884(0x14f),_0x78fdb=(_0x2a363a=(_0x3506ac=_0x22f4a1[_0x25f884(0x3d0)]())==null?void 0x0:_0x3506ac[_0x25f884(0x206)])!=null?_0x2a363a:_0x25f884(0x14f);return{'changeset':{'unitID':_0x5f1c53,'type':_0x21a40e(_0x5ee0f0[_0x25f884(0x141)](_0x5f1c53)),'baseRev':_0x4ee3eb[_0x25f884(0x3e4)](_0x5f1c53),'revision':0x0,'userID':_0x11186f,'memberID':_0x78fdb,'mutations':_0x48f58b},'pendingMutations':[]};}function Ri(_0x2b9c7f,_0x69f81b){var _0xb95e8=_0x1207a5;const _0x294a66=new _0x100780(0x1);return setTimeout(()=>_0x294a66['next'](_0x69f81b),_0x2b9c7f),_0x294a66[_0xb95e8(0x3a7)]()['pipe'](_0x22335f(0x1));}function _0x5a4f(){var _0x3defa4=['_univerInstanceService','isPermissionRej','commentUpdateEvent','Latin1','executeCommand','file','reqId','SUBMIT_CHANGESET','max','FETCH_MISS','getRandomValues','SNAPSHOT_URL_KEY','APPLY_PERMISSION_DENIED','getAllMembers','__Key__','/role','collaboratorID','rng','pluginName','open$','getValue','slice','_clearScheduledTask','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','\x0aCurrent:\x20','_onUserJoin','CipherParams','eventID','interceptor','_onRemoteRejected','Malformed\x20UTF-8\x20data','INVITE_CODE_REQUIRED','_clearLocalCache','setCurrentUser','_retryConnectingTimer','abs','_updateStatus','_transformRemoteChangesetByStateCache','fromCollab','_doReset','error','_state','session.room-permission-denied','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UnitSnapshot','_onUserLeave','_members','_removeRoom','StreamCipher','_throwTelemetryCollaborationNewChangeset','INVALID_ARGUMENT','_process','_queuedRemoteChangesets','getCurrentSelections','listCollaborators','GLOBAL_ROOMS_CNT_EXCEEDS','batchAllowed','findIndex','baseRev','range','UNKNOWN_CMD','onCommentUpdate','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UNAUTHENTICATED','CHANGESET_ACK','infoRsp','_sendingTimer','mode','_executeRemoteChangeset','reverse','randomUUID','_telemetryService','focused$','loadOfflineData','UPDATE_CURSOR','algo','init','prototype','/new_changes','sid','[SyncedState]:\x20received\x20acknowledgement.','_memberService','ws://127.0.0.1:8000/universer-api/comb/connect','deepClone','equals','_hasher','snapshotServerUrl','_getLoginPath','APPLY_NON_SEQUENTIAL_REVISION','originalMeta','/-/object/list','update','actions','_clearCollaborationTimeoutTimer','add','_doCryptBlock','FETCH_MISSING','_sessions','ivSize','collabSubmitChangesetUrl','[CollaborationSessionService]','onSendChangeset','addImageSourceCache','/universer-api/comb','_sheetTransformSelectionsService','_clearTimeoutTimer','event$','clamp','forEach','_clearRedo','rev','_sendHeartbeatTimer','UNIVER_UNKNOWN','fromCharCode','cmd','_stopTelemetryCollaborationNewChangeset','call','_logService','PY_RUNTIME_SCRIPT_ERROR','LOGIN_FAILED','onRemoteAck','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_permissionService','_append','floor','14110407bRqZKu','SYNCED','HmacSHA1','?url=','_event$','transformMutationsWithChangeset','fetchThroughInterceptors','[CollaborationSession]','_unitInfo$','POST','Failed\x20to\x20update\x20permission\x20point','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','now','onTransformRemoteChangesetByIMECache','_getRedoStack','/unit/','toggleOnline','workbook','from','image/jpeg','_changesetReqId','_userManagerService','[CollaborationSessionService]:\x20socket\x20error','_oKey','error$','joinRsp','_rescheduleHeartbeat','charCodeAt','liveShareOperation','create','&assign=','getFocusedUnit','/universer-api/snapshot','_transformRemoteChangesetByIMECache','univer-pro.collaboration-client.network-condition.service','Univer','_getUploadFileURL','image/bmp','TOO_MANY_REQUESTS','NOT_COLLAB','_resendTimeout','objectActions','BufferedBlockAlgorithm','YUUMI_UNABLE_LOAD_URL','_changesetSessionId','_loadSheet','_substituteRedoStack','listRoles','Base','CONNECTOR_DATA_TOO_LARGE','NoPadding','Hasher','_onMessage','YUUMI_SUBSCRIPTION_NOT_FOUND','every','COMPLETION_FINISHED','/universer-api/oidc/authpage','_waitCount','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','post','mixIn','reduce','stringify','pending','encode','transformSelections','_candidateSocket','AWAITING_WITH_PENDING','size','[CollaborationState]:\x20apply\x20error!','Undefined','onMissingChangesets','reject','hostname','_startTelemetryCollaborationNewChangeset','readyForCollab','_keyPriorReset','origin','has','_transformIMECache','_listenToNetworkCondition','_onFetchMissResult','_parse','sigBytes','getRoom','_initRequestHeader','complete','_map','PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','unitId\x20is\x20not\x20found','_onConflict','OTHER_CLIENTS_EDITING','refreshPermission','filter','SHA1','COMPRESS_MUTATION_SEND','url','bind','CHANGESET_SHOULD_RETRY','keySize','fetchMiss','toString','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','IDLE','/object/','AES','toLowerCase','LOGIN_URL_KEY','session','/universer-api/stream/file/upload','dispose$','_scheduleCollaborationTimeoutTimer','_sender','_eventService','_status$','ERROR_IMAGE_TYPE','JOINING','random','isArray','JOIN','ceil','objectType','routeKey','onRemoteRetry','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UnitEmbedded','getMember','_roomCreated$','push','joinEvent','_networkConditionService','JOIN_ROOM_NOT_EXISTS','pipe','permissionRejEvent','_acknowledgedAwaitingChangeset','_roomMembers','enableOfflineEditing','confirm','/universer-api/uniscript','_onRecvEvent','CHANGESET_REVISION_CONFILICT','_config','extend','subject','LIVESHARE_REQUEST_HOST','311700AFOkOt','NO_OTHER_CLIENTS_EDITING','_clearUndo','/universer-api/snapshot/','_unitID','HttpImport','image/png','_init','_joinRoom','objectID','_handler','_createHmacHelper','_waitForHeartbeatResponse','_socketReady','CHANGESET_REJ','MD5','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','telemetry\x20info\x20is\x20not\x20initialized','_onOffline','/universer-api/file/{fileID}/sign-url','words','onCommandExecuted','onStateChange','disposeWithMe','OpenSSL','awaiting','UUID','requestParams','[UniverCollaborationClientPlugin]','transformUndoRedo','PERMISSION_REJ','registerHTTPInterceptor','loadUnit','COMPRESS_MUTATION_APPLY','createCollaborator','[OfflineState]:\x20received\x20rejection.','x-univer-host','getLatestCsReqIdBySid','OPTIONAL','not_collab','indexOf','_doFinalize','INVITE_CODE_ALREADY_BOUND','UNISCRIPT_RUN','mutations','length','asObservable','PERSON','_doProcessBlock','c2Prime','NOT_FOUND','csAckEvent','_applyRemoteChangeset','HEARTBEAT_TIMEOUT','_disableEditing','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_collaborationPaused','method','toggleOffline','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformSelections','authzUrl','clone','saveChangeset','SOCKET_FAILED','JOIN_ROOM_FAILED','catch','readInt32LE','_onConnectionOpen','location','_shouldReportTelemetry','_unlockTransition','getInterceptPoints','_remoteChangesetQueue','userID','_replaceFileID','LEAVE','m2Prime','3273Sehupl','send','removeMember','getUnitId','socket$','_DEC_XFORM_MODE','collaborators','_transformService','_pendingMutations','getCurrentUser','\x20-\x20','transformStack\x20failed!','OTHER_CLIENT_EDITING','crypto','_emitMembers','buffer','ENSURE_SNAPSHOT_EXECUTION','cfg','debug','_compressMutationService','BASE64','_isPermissionRej','getOwnPropertyDescriptor','getMemberID','closeSession','reconnect','awaiting_with_pending','resend','/fetchmissing?from=','getCurrentRevOfUnit','csShouldRetryEvent','list','/block/','state','includes','roomInfos','UNRECOGNIZED','LIVESHARE_OPERATION','_awaitingChangeset','href','_lockTransition','putCollaborators','onTransformIME','enableSingleActiveInstanceLock','MUTATION','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','default','map','unsubscribe','_initMergeInterceptor','onTransformSelections','defineProperty','incrementRevOfUnit','_updateLocalCache','RETRY_CONNECTING_MAX_COUNT','entries','UNIVER_DOC','_createSocket','_revisionService','10687090YdfHxu','_resendTimer','localeService','body','append','\x20to\x20','_getSignURL','compute','requireSession','updateOfflineData','startsWith','min','next','LIVESHARE_NEW_HOST','_timeoutTimer','getUnitStatus$','_onLocalMutation','roles','[OfflineState]:\x20received\x20changeset.','_getUndoStack','APPLY_DUPLICATED','_iv','_configService','_collaborationSessionService','enc','socket\x20open.','HEARTBEAT','ONLINE','_invKeySchedule','onTransformRemoteChangesetByStateCache','params','_createHelper','_state$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','USER_NOT_INVITED_CODE','6384425ALLbXW','YUUMI_RATE_OVER_LIMIT','failed\x20to\x20apply\x20missed\x20changesets!','SUBMIT_CHANGESET_TIMEOUT','encodeURIComponent','WordArray','then','HELLO','LICENSE_IMPORT_SIZE_EXCEEDED','onlyLocal','getTime','[CollaborationUndoRedoService]','Error\x20on\x20receiving\x20event','Cipher','univer-pro.collaboration-client-socket-service','UPDATE_PERMISSION_OBJ','_type','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','createEncryptor','session.room-not-exists','initWorkbookPermissionChange','type','processBlock','CBC','_socketService','_snapshotServerService','blockSize','collabWebSocketUrl','pad','_redoStacks','_decreaseWaiting','PasswordBasedCipher','getUnitType','SOCKET_FAILED_RETRY','_nRounds','image/gif','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','copyFileMeta','members$','downloadEndpointUrl','_createHandler','_key','key','COLLAB_WEB_SOCKET_URL','EvpKDF','randomBytes','unknown','saveImage','BlockCipher','_localCacheService','onRemoteRej','encryptBlock','format','status','delete','charAt','_onRemoteChangeset','createSocket','_schedule','_transformStateCache','_members$','_mode','_onRemoteACK','_transformStack','getConfig','unpad','7cbMjuv','_cipher','_HTTPService','\x0aAfter:\x20','createDecryptor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onRemoteRetry','withCredentials','_onConnectionFailed','LICENSE_DISTRO_REJECTED','avatar','ciphertext','_iKey','generateRandomId','salt','getCollabEntity$','_injector','_createInitialStateImpl','NEW_CHANGESETS','updateMember','onTransformState','_checkMissing','loadSheet','_singleActiveUnitService','enableAuthServer','/object','_getSendChangesetTimeout','byteOffset','_incrementRevisionNumber','ERROR_IMAGE','4LVLjjE','session.room-cnt-exceeds','[FetchMissState]','_startCollaboration','/resources','_imageSourceCache','_clearHeartbeatTimer','patch','kdf','getWorkbookSelections','revision','UNKNOWN_CODE','BlockCipherMode','waitForRoom$','close','changesets','/collaborator','RECV','_scheduleCompleteTimestamp','FAIL','unitInfo$','_retryCount','/allowed','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SEND_CHANGESET_TIMEOUT','sin','_commentUpdate$','_commandService','result','updatePermissionPoint','fetching\x20missing\x20changesets\x20from\x20','lib','status$','transformChangesets','YUUMI_URL_COL_OUT_OF_RANGE','_registerDependencies','sessionStatus','updateCollaborator','_substituteUndoStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_REVISION_CONFILICT','fetchMissingChangesets','INVITE_CODE_HAS_BEEN_UES','session.join-failed','clear','setWaitCount','save\x20fail\x20reason\x20is\x20','addHandlerCallback','unit-cache-','_localeService','_exhaustRemoteChangesetQueue','_submitChangeset','_data','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_socketMessageSubscription','_sessionStatus$','_getAPIPrefixPath','collaboration_new_changeset','USERS_LEAVE','CONFLICT','encrypt','Could\x20not\x20dynamically\x20require\x20\x22','headers','SNAPSHOT_INVALID_SNAPSHOT','LIVESHARE_TERMINATE','DEFAULT_FILE_NAME','_toggleOffline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTypeOfUnitAdded$','capture','getImageSourceCache','exports','LIVESHARE_FETCH_OPERATIONS','_undoRedoService','APPLY_REJECT','_transformUndoredo','concat','close$','function','_toggleOnline','UNIVER_SHEET','_hash','leaveEvent','readAsDataURL','_telemetryInfo','_onCombEvent','string','SNAPSHOT_HAS_BEEN_REMOVED','getActiveSheet','action','apply','/-/object/-/batch_allowed','INGEST','/universer-api/user/session-ticket','state$','Encryptor','liveShareNewHost','decryptBlock','15405536qvkfGr','USERS_ENTER','$super','appendMutation','univer-pro.collaboration-client.single-active-unit-service','unitID','_getDownloadEndpointURL','localCacheService','PSEUDO_FETCH_MISSING_RESULT','LOCAL_CACHE_INTERVAL','[PendingState]:\x20received\x20acknowledgement.','_entities','members','UNIVER_PROJECT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getImage','UNIVER_SLIDE','socketService','formatter','set','message$','_getAPIPrefix','allowed','Utf8','sessionStatus$','json','editingUnit','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteChangeset','join','_prevBlock','CLOSE_ROOM','[DataLoaderService]','LICENSE_MAX_UNITS_EXCEEDED','msCrypto','memberID','JOIN_ROOM_FULL','_socket','Decryptor','find','FileId','getTypeOfUnitDisposed$','code','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','collaMsg','UNDEFINED','data','_replayCachedMutations','c1Prime','parse','_tryReconnect','_tryEnsureSocket','_ENC_XFORM_MODE','ALREADY_EXISTS','MSG_FOR_ERROR','decrypt','submit\x20changeset\x20error!','values','sendChangesetTimeout','_sendHeartbeat','_snapshotService','signUrlServerUrl','updateCursorEvent','unitId','src','_change$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_handlerCallback','put','_onJoinRoomEvent','disableLocalCache','_getCurrentRevision','/rev/','HMAC','?size=','_collaborationUIEventService','textRanges','fetch_missing','&to=','_updateState','SUCCUSS','INTERNAL_ERROR','_createInitialState','_initUnitPermissionChange','/universer-api/authz','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','get','stopTime','dispose','splice','emitEvent','_resendWithTimeout','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','3511272arxfhK','reset','JOIN_ROOM_PERMISSION_DENIED','_clearRetryConnectingTimer','_transitionLocked','name','execute','selections','__esModule','_httpService','subscribe','hasher','_socket$','_nDataBytes','HmacMD5','Hex','saveSheetBlock','OFFLINE','target','onSyncEditingCollabCursor','change$','iterations','hasOwnProperty','updatePermissionObjEvent','_entityInit$','_fetchMissChangesets','__creator','createInstance','awaitingChangeset','_keySchedule','getSheetId','socket\x20close','484SVSbOy','[OfflineState]:\x20received\x20acknowledgement.','onMissedChangesetFetched','finalize','Base64','session.room-full','replace','_collaborationTimeoutTimer'];_0x5a4f=function(){return _0x3defa4;};return _0x5a4f();}const rr={'id':_0xf9544e['id'],'type':_0x18c923[_0x1207a5(0x3f3)],'params':{}};var sr=Object[_0x1207a5(0x3dd)],Te=(_0x25e9ee,_0x197b66,_0x4733df,_0x1d905b)=>{var _0x52382b=_0x1207a5;for(var _0x35469d=_0x1d905b>0x1?void 0x0:_0x1d905b?sr(_0x197b66,_0x4733df):_0x197b66,_0x13f3ec=_0x25e9ee[_0x52382b(0x3a6)]-0x1,_0x14dd27;_0x13f3ec>=0x0;_0x13f3ec--)(_0x14dd27=_0x25e9ee[_0x13f3ec])&&(_0x35469d=_0x14dd27(_0x35469d)||_0x35469d);return _0x35469d;},P=(_0xe24ff6,_0x117577)=>(_0x359099,_0x275e6c)=>_0x117577(_0x359099,_0x275e6c,_0xe24ff6),bi=(_0x5323b4=>(_0x5323b4[_0x1207a5(0x30d)]=_0x1207a5(0x3a0),_0x5323b4[_0x1207a5(0x2e7)]='synced',_0x5323b4['PENDING']=_0x1207a5(0x325),_0x5323b4['AWAITING']='awaiting',_0x5323b4[_0x1207a5(0x329)]=_0x1207a5(0x3e1),_0x5323b4[_0x1207a5(0x272)]=_0x1207a5(0x231),_0x5323b4['CONFLICT']='conflict',_0x5323b4[_0x1207a5(0x252)]='offline',_0x5323b4))(bi||{});const yi=0xea60;class Ce{constructor(_0x12ecba,_0x43a374,_0x6b1cd7,_0x2ba9ee,_0x3afd86,_0x4b17f6,_0x51492e,_0x353f23,_0x1634b5){var _0x2372b7=_0x1207a5;N(this,'_awaitingChangeset',null),N(this,_0x2372b7(0x3cf),[]),(this['unitID']=_0x12ecba,this[_0x2372b7(0x136)]=_0x43a374,this[_0x2372b7(0x382)]=_0x3afd86,this[_0x2372b7(0x19c)]=_0x4b17f6,this[_0x2372b7(0x1ca)]=_0x51492e,this[_0x2372b7(0x401)]=_0x353f23,this[_0x2372b7(0x152)]=_0x1634b5,this[_0x2372b7(0x3ed)]=_0x6b1cd7,this[_0x2372b7(0x3cf)]=_0x2ba9ee);}[_0x1207a5(0x178)](_0x48537a){var _0x1f23ae=_0x1207a5;const _0x35d54b=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x48537a[_0x1f23ae(0x18b)]>_0x35d54b+0x1?(this[_0x1f23ae(0x382)][_0x1f23ae(0x32d)]({'from':_0x35d54b,'to':_0x48537a[_0x1f23ae(0x18b)]-0x1}),!0x0):!0x1;}[_0x1207a5(0x1cc)](_0x1e65f1){var _0x1bae25=_0x1207a5;this['_undoRedoService'][_0x1bae25(0x396)](this['unitID'],_0x1e65f1);}[_0x1207a5(0x3b5)](_0x3f437e){var _0x46ada4=_0x1207a5,_0x414d27,_0x29c169;(_0x29c169=(_0x414d27=this[_0x46ada4(0x382)])[_0x46ada4(0x3f9)])==null||_0x29c169['call'](_0x414d27,_0x3f437e);}['_transformIMECache'](_0x2170ea){var _0x4e3cad=_0x1207a5,_0x27c94c,_0xf80466;return(_0xf80466=(_0x27c94c=this[_0x4e3cad(0x382)])[_0x4e3cad(0x3f1)])==null?void 0x0:_0xf80466['call'](_0x27c94c,_0x2170ea);}[_0x1207a5(0x15c)](_0x1d158e){var _0x5cbb11=_0x1207a5,_0x4b7609,_0x2fb7f4;return(_0x2fb7f4=(_0x4b7609=this[_0x5cbb11(0x382)])['onTransformState'])==null?void 0x0:_0x2fb7f4[_0x5cbb11(0x2dd)](_0x4b7609,_0x1d158e);}['_transformRemoteChangesetByIMECache'](_0x3b6ad7){var _0x24d82b=_0x1207a5,_0x4f271f,_0x587c2b,_0x230ecc;return(_0x230ecc=(_0x587c2b=(_0x4f271f=this[_0x24d82b(0x382)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x587c2b[_0x24d82b(0x2dd)](_0x4f271f,_0x3b6ad7))!=null?_0x230ecc:_0x3b6ad7;}[_0x1207a5(0x28e)](_0x15fdbb){var _0xb0994d=_0x1207a5,_0x44ce63,_0x1cc2aa,_0x1dfbd3;return(_0x1dfbd3=(_0x1cc2aa=(_0x44ce63=this[_0xb0994d(0x382)])[_0xb0994d(0x11b)])==null?void 0x0:_0x1cc2aa[_0xb0994d(0x2dd)](_0x44ce63,_0x15fdbb))!=null?_0x1dfbd3:_0x15fdbb;}['_syncEditingCollabCursor'](_0x21a97c){var _0x4fc406=_0x1207a5,_0x29bb63,_0x1cf67b;if(this[_0x4fc406(0x136)]===Q['UNIVER_DOC']){const {unitID:_0xfe0cf9,mutations:_0x54c7e0,memberID:_0x41655a}=_0x21a97c,_0x5104be=_0x54c7e0[0x0]['params'][_0x4fc406(0x230)];Array[_0x4fc406(0x35d)](_0x5104be)&&_0x5104be[_0x4fc406(0x3a6)]>0x0&&((_0x1cf67b=(_0x29bb63=this[_0x4fc406(0x382)])[_0x4fc406(0x254)])==null||_0x1cf67b['call'](_0x29bb63,{'unitID':_0xfe0cf9,'memberID':_0x41655a,'textRanges':_0x5104be}));}}['_updateLocalCache'](){var _0x2ac394=_0x1207a5,_0x2bc5f7;(_0x2bc5f7=this[_0x2ac394(0x152)])==null||_0x2bc5f7[_0x2ac394(0x107)](this[_0x2ac394(0x1e8)],this[_0x2ac394(0x136)],this[_0x2ac394(0x3ed)],this[_0x2ac394(0x3cf)]);}[_0x1207a5(0x22b)](){var _0x3f490b=_0x1207a5;return this[_0x3f490b(0x401)][_0x3f490b(0x3e4)](this[_0x3f490b(0x1e8)]);}[_0x1207a5(0x17f)](){var _0x28266a=_0x1207a5;this[_0x28266a(0x401)][_0x28266a(0x3fb)](this[_0x28266a(0x1e8)]);}['_executeRemoteChangeset'](_0x49bcdd){var _0x21f218=_0x1207a5,_0x1085ba;let _0x5be700=this[_0x21f218(0x307)](_0x49bcdd);_0x5be700=this[_0x21f218(0x28e)](_0x5be700);const _0x1ad736=_0x51e1cf(_0x5be700[_0x21f218(0x3a5)],this[_0x21f218(0x19c)],{'fromCollab':!0x0});if(!_0x1ad736[_0x21f218(0x19d)])throw _0x1ad736['error']instanceof Error?_0x1ad736[_0x21f218(0x291)]:new Error((_0x1085ba=_0x1ad736[_0x21f218(0x291)])!=null?_0x1085ba:_0x21f218(0x32b));this[_0x21f218(0x335)](_0x5be700),this[_0x21f218(0x15c)](_0x5be700),this[_0x21f218(0x1cc)](_0x49bcdd),this[_0x21f218(0x3b5)](_0x5be700),this['_syncEditingCollabCursor'](_0x5be700),this[_0x21f218(0x17f)]();}}let Ne=class extends Ce{constructor(_0x40d0e0,_0x32cf26,_0x28d37e,_0x81e79b,_0x107161,_0x45e991,_0x27a82f,_0x34e78b,_0x8b455d,_0x139d63){var _0x5b538=_0x1207a5;super(_0x40d0e0,_0x32cf26,null,[],_0x28d37e,_0x27a82f,_0x45e991,_0x81e79b,_0x139d63),N(this,_0x5b538(0x156),'synced'),(this[_0x5b538(0x173)]=_0x107161,this['_logService']=_0x34e78b,this[_0x5b538(0x3ce)]=_0x8b455d,this['localCacheService']=_0x139d63);}[_0x1207a5(0x1e6)](_0x3734b0){var _0x56f3cd=_0x1207a5;const _0x340339=this[_0x56f3cd(0x173)][_0x56f3cd(0x25c)](ae,this[_0x56f3cd(0x1e8)],this['type'],[_0x3734b0],this[_0x56f3cd(0x382)]);return _0x340339[_0x56f3cd(0x15b)](),_0x340339[_0x56f3cd(0x3fc)](),_0x340339;}[_0x1207a5(0x1ff)](_0x476b19){var _0x170ab9=_0x1207a5;if(this[_0x170ab9(0x178)](_0x476b19))return this[_0x170ab9(0x173)]['createInstance'](ee,this[_0x170ab9(0x1e8)],this[_0x170ab9(0x136)],null,[],null,[_0x476b19],this['_handler']);try{const _0xaca889=this[_0x170ab9(0x3ce)][_0x170ab9(0x2eb)](_0x476b19,[rr]);if(_0x3cfd7d(_0xaca889)){const {c1Prime:_0xf4e3e3}=_0xaca889;return this[_0x170ab9(0x2ad)](_0xf4e3e3),this;}throw _0xaca889['error'];}catch(_0x3443ed){return this[_0x170ab9(0x2de)][_0x170ab9(0x291)](_0x3443ed),this[_0x170ab9(0x341)](!0x1);}}[_0x1207a5(0x341)](_0x23a54d){var _0x53f680=_0x1207a5;return this['_injector'][_0x53f680(0x25c)](ue,this[_0x53f680(0x1e8)],this['type'],null,[],this[_0x53f680(0x382)],_0x23a54d);}[_0x1207a5(0x2e1)](){var _0x2fef19=_0x1207a5;throw new Error(_0x2fef19(0x2b9));}[_0x1207a5(0x153)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1207a5(0x362)](){return this;}[_0x1207a5(0x3b3)](){var _0x2dbd55=_0x1207a5;return this[_0x2dbd55(0x173)][_0x2dbd55(0x25c)](de,this[_0x2dbd55(0x1e8)],this[_0x2dbd55(0x136)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x1207a5(0x3e2)](){var _0x3a347c=_0x1207a5;throw new Error(_0x3a347c(0x34d));}[_0x1207a5(0x34b)](){var _0x36b596=_0x1207a5;const _0x331a9b=this['_revisionService'][_0x36b596(0x3e4)](this['unitID']);return this[_0x36b596(0x382)]['onMissingChangesets']({'from':_0x331a9b,'to':0x0}),this[_0x36b596(0x173)][_0x36b596(0x25c)](ee,this[_0x36b596(0x1e8)],this[_0x36b596(0x136)],null,[],null,[],this[_0x36b596(0x382)]);}};Ne=Te([P(0x3,_0x1e1c30(_0x58db45)),P(0x4,_0x1e1c30(_0x17b627)),P(0x5,_0x3dda96),P(0x6,_0x44ef17),P(0x7,_0x1ef61d),P(0x8,_0x274f21),P(0x9,_0x2359f1(J))],Ne);let ae=class extends Ce{constructor(_0x474c24,_0x5822e7,_0x1248dc,_0xb1b662,_0xf70eec,_0x1b3d18,_0x59f7f0,_0x12f990,_0x4f635d,_0x55819a,_0x17f0bf,_0x3611aa,_0x28cc9f,_0x2b5068){var _0x168c4b=_0x1207a5;super(_0x474c24,_0x5822e7,null,_0x1248dc,_0xb1b662,_0x4f635d,_0x28cc9f,_0x1b3d18,_0x2b5068),N(this,_0x168c4b(0x156),'pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this['_injector']=_0xf70eec,this['_memberService']=_0x59f7f0,this[_0x168c4b(0x2de)]=_0x12f990,this[_0x168c4b(0x114)]=_0x55819a,this[_0x168c4b(0x3ce)]=_0x17f0bf,this['_univerInstanceService']=_0x3611aa);}[_0x1207a5(0x1e6)](_0xdee829){var _0x2b78ef=_0x1207a5;return this['_pendingMutations'][_0x2b78ef(0x367)](_0xdee829),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x37fbd7){var _0x42500a=_0x1207a5;if(this['_checkMissing'](_0x37fbd7))return this[_0x42500a(0x27f)](),this[_0x42500a(0x173)][_0x42500a(0x25c)](ee,this[_0x42500a(0x1e8)],this['type'],null,this['_pendingMutations'],null,[_0x37fbd7],this[_0x42500a(0x382)]);try{const _0x1494bc=this['_transformService'][_0x42500a(0x2eb)](_0x37fbd7,this['_pendingMutations']);if(_0x3cfd7d(_0x1494bc)){const {c1Prime:_0x338828,m2Prime:_0x4e1243}=_0x1494bc;this[_0x42500a(0x2ad)](_0x338828);const _0x4db56c=this['_injector'][_0x42500a(0x25c)](ae,this[_0x42500a(0x1e8)],this[_0x42500a(0x136)],_0x4e1243,this[_0x42500a(0x382)]);this['_clearScheduledTask']();const _0x532824=new Date()[_0x42500a(0x12b)](),_0x24ac13=this[_0x42500a(0x193)]?Math[_0x42500a(0x271)](this[_0x42500a(0x193)]-_0x532824,0x0):this['_getSendChangesetTimeout']();return _0x4db56c[_0x42500a(0x15b)](_0x24ac13),_0x4db56c;}throw _0x1494bc['error'];}catch(_0x36460f){return this[_0x42500a(0x2de)]['error'](_0x36460f),this['_onConflict'](!0x1);}}[_0x1207a5(0x2e1)](){var _0x59ba8f=_0x1207a5;throw new Error(_0x59ba8f(0x1ed));}[_0x1207a5(0x153)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1207a5(0x362)](){return this;}[_0x1207a5(0x3b3)](){var _0x42782c=_0x1207a5;return this[_0x42782c(0x27f)](),this[_0x42782c(0x173)][_0x42782c(0x25c)](de,this[_0x42782c(0x1e8)],this[_0x42782c(0x136)],null,this[_0x42782c(0x3cf)],this['_handler']);}[_0x1207a5(0x2f6)](){return this;}[_0x1207a5(0x15b)](_0x42aff1){var _0x144b71=_0x1207a5;const _0x186647=_0x42aff1!=null?_0x42aff1:this[_0x144b71(0x17d)]();this[_0x144b71(0x193)]=new Date()[_0x144b71(0x12b)]()+_0x186647,this[_0x144b71(0x2ab)]=setTimeout(()=>{var _0x29b97c=_0x144b71;this[_0x29b97c(0x27f)]();let _0x566614=null;switch(this['type']){case Q[_0x29b97c(0x1d1)]:{_0x566614=qt(this['_pendingMutations'],this[_0x29b97c(0x1e8)],this[_0x29b97c(0x269)],this[_0x29b97c(0x401)],this[_0x29b97c(0x2ba)]);break;}case Q[_0x29b97c(0x3ff)]:{this[_0x29b97c(0x3cf)]['every'](_0x4e1c74=>_0x4e1c74['id']===_0x89f276['id'])?_0x566614=nr(this[_0x29b97c(0x3cf)],this[_0x29b97c(0x1e8)],this['_univerInstanceService'],this[_0x29b97c(0x401)],this[_0x29b97c(0x2ba)]):_0x566614=qt(this['_pendingMutations'],this[_0x29b97c(0x1e8)],this['_univerInstanceService'],this[_0x29b97c(0x401)],this['_memberService']);break;}default:throw new Error(_0x29b97c(0x363)+this[_0x29b97c(0x136)]+'\x20in\x20_schedule.');}const {changeset:_0x4ea6ad,pendingMutations:_0x5e53fb}=_0x566614;this['_handler'][_0x29b97c(0x2ce)](_0x4ea6ad);const _0x1b4929=_0x5e53fb[_0x29b97c(0x3a6)]?this[_0x29b97c(0x173)]['createInstance'](oe,this[_0x29b97c(0x1e8)],this[_0x29b97c(0x136)],_0x4ea6ad,_0x5e53fb,this[_0x29b97c(0x382)],void 0x0):this['_injector'][_0x29b97c(0x25c)](le,this['unitID'],this['type'],_0x4ea6ad,this[_0x29b97c(0x382)]);_0x1b4929[_0x29b97c(0x3fc)](),this[_0x29b97c(0x382)][_0x29b97c(0x38f)](this,_0x1b4929);},_0x186647);}[_0x1207a5(0x17d)](){var _0x16bb9c=_0x1207a5,_0x19365b;const _0x3322c8=this['_configService']['getConfig'](q);return(_0x19365b=_0x3322c8==null?void 0x0:_0x3322c8[_0x16bb9c(0x21e)])!=null?_0x19365b:En;}[_0x1207a5(0x3e2)](){var _0x430ea3=_0x1207a5;throw new Error(_0x430ea3(0x3f4));}[_0x1207a5(0x27f)](){var _0x568bf5=_0x1207a5;this[_0x568bf5(0x2ab)]!=null&&(clearTimeout(this[_0x568bf5(0x2ab)]),this[_0x568bf5(0x2ab)]=null);}[_0x1207a5(0x341)](_0x5d63d9){var _0x2fa855=_0x1207a5;return this[_0x2fa855(0x27f)](),this['_injector'][_0x2fa855(0x25c)](ue,this[_0x2fa855(0x1e8)],this[_0x2fa855(0x136)],null,this['_pendingMutations'],this[_0x2fa855(0x382)],_0x5d63d9);}};ae=Te([P(0x4,_0x1e1c30(_0x17b627)),P(0x5,_0x1e1c30(_0x58db45)),P(0x6,_0x1e1c30(xe)),P(0x7,_0x1ef61d),P(0x8,_0x44ef17),P(0x9,_0x273f4e),P(0xa,_0x274f21),P(0xb,_0x22f80b),P(0xc,_0x3dda96),P(0xd,_0x2359f1(J))],ae);let le=class extends Ce{constructor(_0x33866b,_0x18d089,_0x5a8c04,_0x4eb6ae,_0x6dcd1d,_0x4aa4e8,_0x2b219f,_0x3c870a,_0x1adabb,_0x4eae57,_0x3f5cec){var _0x4eb38b=_0x1207a5;super(_0x33866b,_0x18d089,_0x5a8c04,[],_0x4eb6ae,_0x2b219f,_0x4eae57,_0x4aa4e8,_0x3f5cec),N(this,_0x4eb38b(0x156),_0x4eb38b(0x392)),N(this,_0x4eb38b(0x30e),0x0),N(this,_0x4eb38b(0x403)),N(this,_0x4eb38b(0x357)),(this[_0x4eb38b(0x173)]=_0x6dcd1d,this[_0x4eb38b(0x2de)]=_0x3c870a,this[_0x4eb38b(0x3ce)]=_0x1adabb);}[_0x1207a5(0x1e6)](_0x387e63){var _0x31f40c=_0x1207a5;this[_0x31f40c(0x27f)]();const _0x268177=this[_0x31f40c(0x173)][_0x31f40c(0x25c)](oe,this[_0x31f40c(0x1e8)],this['type'],this[_0x31f40c(0x3ed)],[_0x387e63],this[_0x31f40c(0x382)],this[_0x31f40c(0x403)]);return _0x268177[_0x31f40c(0x3fc)](),_0x268177;}[_0x1207a5(0x1ff)](_0x3c248f){var _0x349950=_0x1207a5;if(this[_0x349950(0x178)](_0x3c248f))return this[_0x349950(0x27f)](),this[_0x349950(0x173)][_0x349950(0x25c)](ee,this[_0x349950(0x1e8)],this[_0x349950(0x136)],this[_0x349950(0x3ed)],[],null,[_0x3c248f],this['_handler']);try{const _0x35f902=this[_0x349950(0x3ce)][_0x349950(0x1a2)]([_0x3c248f],[this[_0x349950(0x3ed)]],!0x1);if(_0x4390d3(_0x35f902)){const {c1Prime:_0x2740b2,c2Prime:_0x1647da}=_0x35f902;this[_0x349950(0x2ad)](_0x2740b2[0x0]),_0x1647da[0x0][_0x349950(0x2a3)]=this[_0x349950(0x22b)](),this[_0x349950(0x27f)]();const _0x46d7d6=this[_0x349950(0x173)][_0x349950(0x25c)](le,this['unitID'],this[_0x349950(0x136)],_0x1647da[0x0],this['_handler']);return _0x46d7d6[_0x349950(0x3fc)](),_0x46d7d6;}return this[_0x349950(0x341)](!0x1);}catch(_0x51b557){return this['_logService']['error'](_0x51b557),this['_onConflict'](!0x1);}}[_0x1207a5(0x2e1)](_0x48a4c5){var _0x36f798=_0x1207a5;this[_0x36f798(0x27f)]();const _0x3a371f=this[_0x36f798(0x401)][_0x36f798(0x3e4)](this[_0x36f798(0x1e8)]);if(_0x48a4c5[_0x36f798(0x18b)]<_0x3a371f-0x1)return this;if(this[_0x36f798(0x178)](_0x48a4c5))return this[_0x36f798(0x173)][_0x36f798(0x25c)](ee,this[_0x36f798(0x1e8)],this[_0x36f798(0x136)],null,[],this[_0x36f798(0x3ed)],[],this[_0x36f798(0x382)]);this[_0x36f798(0x17f)]();const _0x15e05a=this['_injector']['createInstance'](Ne,this[_0x36f798(0x1e8)],this[_0x36f798(0x136)],this['_handler']);return _0x15e05a[_0x36f798(0x3fc)](),_0x15e05a;}[_0x1207a5(0x153)](_0xd94be5){var _0x4c6737=_0x1207a5;return this[_0x4c6737(0x341)](!!(_0xd94be5!=null&&_0xd94be5['isPermissionRej']));}[_0x1207a5(0x362)](_0x33ae90){var _0x35c811=_0x1207a5;return this['_resendTimeout']>yi?this[_0x35c811(0x3b3)]():(this[_0x35c811(0x403)]=Ri(this[_0x35c811(0x30e)],{'timeout':this[_0x35c811(0x30e)],'reqId':_0x33ae90['reqId']}),this[_0x35c811(0x357)]=this[_0x35c811(0x403)][_0x35c811(0x24b)](({reqId:_0x328639,timeout:_0x54d7e6})=>{var _0x96a4e1=_0x35c811;this[_0x96a4e1(0x23f)](_0x328639,_0x54d7e6);}),this);}['toggleOffline'](){var _0x35ab41=_0x1207a5;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this[_0x35ab41(0x136)],this[_0x35ab41(0x3ed)],[],this[_0x35ab41(0x382)]);}['toggleOnline'](){return this;}['resend'](){var _0x120271=_0x1207a5;this['_handler'][_0x120271(0x2ce)](this[_0x120271(0x3ed)]);}['_onConflict'](_0x5952e1){var _0x42a239=_0x1207a5;return this['_clearScheduledTask'](),this[_0x42a239(0x173)][_0x42a239(0x25c)](ue,this[_0x42a239(0x1e8)],this[_0x42a239(0x136)],this['_awaitingChangeset'],[],this['_handler'],_0x5952e1);}[_0x1207a5(0x23f)](_0xd47f5e,_0x5836e8){var _0xfde986=_0x1207a5,_0x440924;_0xd47f5e===((_0x440924=this['_awaitingChangeset'])==null?void 0x0:_0x440924[_0xfde986(0x26f)])&&(this['resend'](),this[_0xfde986(0x30e)]=_0x5836e8===0x0?0x3e8:_0x5836e8*0x2);}['_clearScheduledTask'](){var _0x14ffcd=_0x1207a5,_0xb45b95;(_0xb45b95=this[_0x14ffcd(0x357)])==null||_0xb45b95[_0x14ffcd(0x3f7)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x1e1c30(_0x17b627)),P(0x5,_0x1e1c30(_0x58db45)),P(0x6,_0x44ef17),P(0x7,_0x1ef61d),P(0x8,_0x274f21),P(0x9,_0x3dda96),P(0xa,_0x2359f1(J))],le);let oe=class extends Ce{constructor(_0x43c6e1,_0x303e2a,_0x24658b,_0x44a659,_0x85abef,_0x164072,_0x150ffa,_0x20c6f5,_0x42d233,_0x524ac6,_0x5be966,_0x581b75,_0x397d9d){var _0x3bdbbc=_0x1207a5;super(_0x43c6e1,_0x303e2a,_0x24658b,_0x44a659,_0x85abef,_0x42d233,_0x581b75,_0x20c6f5,_0x397d9d),N(this,'status',_0x3bdbbc(0x3e1)),N(this,'_resendTimeout',0x0),N(this,_0x3bdbbc(0x403)),N(this,_0x3bdbbc(0x357)),(this[_0x3bdbbc(0x173)]=_0x150ffa,this[_0x3bdbbc(0x2de)]=_0x524ac6,this['_transformService']=_0x5be966,this[_0x3bdbbc(0x1ea)]=_0x397d9d,_0x164072&&(this['_resendTimer']=_0x164072,this[_0x3bdbbc(0x357)]=this['_resendTimer'][_0x3bdbbc(0x24b)](({reqId:_0x129d7c,timeout:_0x534ba2})=>{var _0x4b5e82=_0x3bdbbc;this[_0x4b5e82(0x23f)](_0x129d7c,_0x534ba2);})));}[_0x1207a5(0x1e6)](_0x172c6b){var _0x20b6d3=_0x1207a5;return this[_0x20b6d3(0x3cf)][_0x20b6d3(0x367)](_0x172c6b),this;}[_0x1207a5(0x1ff)](_0x37f41c){var _0x3859ab=_0x1207a5;if(this[_0x3859ab(0x178)](_0x37f41c))return this['_clearScheduledTask'](),this[_0x3859ab(0x173)][_0x3859ab(0x25c)](ee,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3859ab(0x3cf)],null,[_0x37f41c],this['_handler']);try{const _0x39ecb9=this[_0x3859ab(0x3ce)]['transformChangesets']([_0x37f41c],[this[_0x3859ab(0x3ed)]],!0x1);if(_0x4390d3(_0x39ecb9)){const {c1Prime:_0x15ef34,c2Prime:_0x429fd3}=_0x39ecb9,_0x44de04=this[_0x3859ab(0x3ce)][_0x3859ab(0x2eb)](_0x15ef34[0x0],this['_pendingMutations']);if(_0x3cfd7d(_0x44de04)){const {c1Prime:_0x46cbcf,m2Prime:_0xcca76}=_0x44de04;return this['_executeRemoteChangeset'](_0x46cbcf),_0x429fd3[0x0][_0x3859ab(0x2a3)]=this[_0x3859ab(0x22b)](),this[_0x3859ab(0x27f)](),this['_injector'][_0x3859ab(0x25c)](oe,this[_0x3859ab(0x1e8)],this[_0x3859ab(0x136)],_0x429fd3[0x0],_0xcca76,this[_0x3859ab(0x382)],void 0x0);}throw _0x44de04['error'];}throw _0x39ecb9['error'];}catch(_0x5cfe9d){return this[_0x3859ab(0x2de)][_0x3859ab(0x291)](_0x5cfe9d),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x543108){var _0x22b8a3=_0x1207a5;if(this[_0x22b8a3(0x27f)](),this[_0x22b8a3(0x178)](_0x543108))return this[_0x22b8a3(0x173)][_0x22b8a3(0x25c)](ee,this[_0x22b8a3(0x1e8)],this[_0x22b8a3(0x136)],null,this[_0x22b8a3(0x3cf)],this[_0x22b8a3(0x3ed)],[],this['_handler']);this[_0x22b8a3(0x17f)]();const _0x416724=this['_injector'][_0x22b8a3(0x25c)](ae,this['unitID'],this[_0x22b8a3(0x136)],this['_pendingMutations'],this[_0x22b8a3(0x382)]);return _0x416724[_0x22b8a3(0x15b)](),_0x416724[_0x22b8a3(0x3fc)](),_0x416724;}[_0x1207a5(0x153)](_0x5c302f){var _0x241bdd=_0x1207a5;return this[_0x241bdd(0x341)](!!(_0x5c302f!=null&&_0x5c302f[_0x241bdd(0x26a)]));}[_0x1207a5(0x362)](_0x391caf){var _0x5d5430=_0x1207a5;return this[_0x5d5430(0x30e)]>yi?this[_0x5d5430(0x3b3)]():(this[_0x5d5430(0x403)]=Ri(this['_resendTimeout'],{'timeout':this[_0x5d5430(0x30e)],'reqId':_0x391caf[_0x5d5430(0x26f)]}),this[_0x5d5430(0x357)]=this[_0x5d5430(0x403)][_0x5d5430(0x24b)](({reqId:_0x374760,timeout:_0x100403})=>{var _0x4efbc9=_0x5d5430;this[_0x4efbc9(0x23f)](_0x374760,_0x100403);}),this);}[_0x1207a5(0x3b3)](){var _0x44f1c0=_0x1207a5;return this[_0x44f1c0(0x27f)](),this[_0x44f1c0(0x173)][_0x44f1c0(0x25c)](de,this['unitID'],this[_0x44f1c0(0x136)],this[_0x44f1c0(0x3ed)],this[_0x44f1c0(0x3cf)],this['_handler']);}[_0x1207a5(0x2f6)](){return this;}['resend'](){var _0x1294be=_0x1207a5;this[_0x1294be(0x382)][_0x1294be(0x2ce)](this[_0x1294be(0x3ed)]);}['_onConflict'](_0x244cd5){var _0x4b213d=_0x1207a5;return this[_0x4b213d(0x27f)](),this[_0x4b213d(0x173)][_0x4b213d(0x25c)](ue,this[_0x4b213d(0x1e8)],this[_0x4b213d(0x136)],null,this[_0x4b213d(0x3cf)],this[_0x4b213d(0x382)],_0x244cd5);}[_0x1207a5(0x23f)](_0x308be7,_0x296902){var _0x7ee438=_0x1207a5,_0x3beda9;_0x308be7===((_0x3beda9=this['_awaitingChangeset'])==null?void 0x0:_0x3beda9['reqId'])&&(this[_0x7ee438(0x3e2)](),this[_0x7ee438(0x30e)]=_0x296902===0x0?0x3e8:_0x296902*0x2);}['_clearScheduledTask'](){var _0x129164=_0x1207a5,_0x38e8ae;(_0x38e8ae=this['_sender'])==null||_0x38e8ae[_0x129164(0x3f7)](),this[_0x129164(0x30e)]=0x0;}};oe=Te([P(0x6,_0x1e1c30(_0x17b627)),P(0x7,_0x1e1c30(_0x58db45)),P(0x8,_0x44ef17),P(0x9,_0x1ef61d),P(0xa,_0x274f21),P(0xb,_0x3dda96),P(0xc,_0x2359f1(J))],oe);let ue=class extends Ce{constructor(_0x4513e1,_0x44d238,_0x281222,_0x263edc,_0xbebf65,_0x2758a8=!0x1,_0x18f5f6,_0x29196c,_0x8e6001,_0x5e153d,_0x2a9805,_0x203706,_0x19434d){var _0x1f508f=_0x1207a5;super(_0x4513e1,_0x44d238,_0x281222,_0x263edc,_0xbebf65,_0x29196c,_0x8e6001,_0x5e153d,_0x19434d),N(this,_0x1f508f(0x156),'conflict'),(this[_0x1f508f(0x3dc)]=_0x2758a8,this[_0x1f508f(0x2e3)]=_0x18f5f6,this[_0x1f508f(0x1b2)]=_0x2a9805,this[_0x1f508f(0x22f)]=_0x203706,this[_0x1f508f(0x1ea)]=_0x19434d,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x1f508f(0x3af)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1207a5(0x2e1)](){return this;}['onRemoteRej'](){return this;}[_0x1207a5(0x362)](){return this;}[_0x1207a5(0x3b3)](){return this;}[_0x1207a5(0x2f6)](){return this;}[_0x1207a5(0x3e2)](){var _0x17afcd=_0x1207a5;throw new Error(_0x17afcd(0x1fe));}[_0x1207a5(0x289)](){var _0x5c7259=_0x1207a5,_0x5abb99;(_0x5abb99=this[_0x5c7259(0x152)])==null||_0x5abb99[_0x5c7259(0x107)](this[_0x5c7259(0x1e8)],this[_0x5c7259(0x136)],null,[]);}['_showConflictNotification'](){var _0x54b8af=_0x1207a5;this['_isPermissionRej']?this[_0x54b8af(0x22f)][_0x54b8af(0x23e)]({'id':se[_0x54b8af(0x33e)]}):this[_0x54b8af(0x22f)]['emitEvent']({'id':se['CONFLICT']});}['_disableEditing'](){var _0xeb2f79=_0x1207a5;this[_0xeb2f79(0x2e3)]['updatePermissionPoint'](new _0x32ecee(this[_0xeb2f79(0x1e8)])['id'],!0x1);}};ue=Te([P(0x6,_0x1e1c30(_0xbef414)),P(0x7,_0x44ef17),P(0x8,_0x3dda96),P(0x9,_0x1e1c30(_0x58db45)),P(0xa,_0x1e1c30(_0x5a4070)),P(0xb,_0x1e1c30(pe)),P(0xc,_0x2359f1(J))],ue);let de=class extends Ce{constructor(_0x420a7e,_0x31aab,_0x49f73f,_0x62f6ba,_0x1ee7ec,_0x248231,_0x2abb71,_0x2dddcb,_0x4497a3,_0x5bd67b){super(_0x420a7e,_0x31aab,_0x49f73f,_0x62f6ba,_0x1ee7ec,_0x2dddcb,_0x4497a3,_0x2abb71,_0x5bd67b),N(this,'status','offline'),this['_injector']=_0x248231;}[_0x1207a5(0x1e6)](_0x14bf5f){var _0x42dda4=_0x1207a5;return this['_pendingMutations'][_0x42dda4(0x367)](_0x14bf5f),this[_0x42dda4(0x3fc)](),this;}[_0x1207a5(0x1ff)](_0xa87ffa){var _0x1620f2=_0x1207a5;throw new Error(_0x1620f2(0x110));}[_0x1207a5(0x2e1)](){var _0xedede7=_0x1207a5;throw new Error(_0xedede7(0x262));}[_0x1207a5(0x153)](){var _0x10a0dd=_0x1207a5;throw new Error(_0x10a0dd(0x39c));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1207a5(0x2f6)](){var _0x4ade7c=_0x1207a5;const {_injector:_0xdf083,_pendingMutations:_0x307bcd,_awaitingChangeset:_0x1eadd8,unitID:_0x38fb1b,_handler:_0x81ec0d,type:_0x4070b8}=this,_0x7bf552=Oi(_0xdf083,_0x38fb1b,_0x4070b8,_0x1eadd8,_0x307bcd,_0x81ec0d);return _0x7bf552 instanceof ae?_0x7bf552[_0x4ade7c(0x15b)]():(_0x7bf552 instanceof oe||_0x7bf552 instanceof le)&&_0x7bf552[_0x4ade7c(0x3e2)](),_0x7bf552;}[_0x1207a5(0x3e2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x1e1c30(_0x17b627)),P(0x6,_0x1e1c30(_0x58db45)),P(0x7,_0x44ef17),P(0x8,_0x3dda96),P(0x9,_0x2359f1(J))],de);let ee=class extends Ce{constructor(_0xec5c6f,_0x4e0d0d,_0xe89512,_0x1b4543,_0x25babb,_0x14e5de,_0x2deb82,_0x4b60b5,_0x556e67,_0x51012e,_0x5a9c44,_0x3bb350,_0x1fc930,_0x18f9bd){var _0x3a2a78=_0x1207a5;super(_0xec5c6f,_0x4e0d0d,_0xe89512,_0x1b4543,_0x2deb82,_0x5a9c44,_0x3bb350,_0x556e67,_0x18f9bd),N(this,'status',_0x3a2a78(0x231)),(this[_0x3a2a78(0x36d)]=_0x25babb,this[_0x3a2a78(0x29d)]=_0x14e5de,this[_0x3a2a78(0x173)]=_0x4b60b5,this[_0x3a2a78(0x2de)]=_0x51012e,this[_0x3a2a78(0x3ce)]=_0x1fc930,this[_0x3a2a78(0x1ea)]=_0x18f9bd);}[_0x1207a5(0x263)](_0x122678){var _0x3be09c=_0x1207a5;try{const _0x39c638=[..._0x122678,...this[_0x3be09c(0x29d)]],_0xea7369=[this[_0x3be09c(0x3ed)]||this[_0x3be09c(0x36d)]][_0x3be09c(0x344)](_0x9476a6=>!!_0x9476a6);let _0x1f4e96,_0xd294d0;if(_0xea7369[_0x3be09c(0x3a6)]){const _0x1284f5=this[_0x3be09c(0x3ce)]['transformChangesets'](_0x39c638,_0xea7369,!0x1);if(!_0x4390d3(_0x1284f5))throw _0x1284f5[_0x3be09c(0x291)];_0x1f4e96=_0x1284f5[_0x3be09c(0x214)],_0xd294d0=_0x1284f5[_0x3be09c(0x3aa)];}else _0x1f4e96=_0x39c638,_0xd294d0=[];let _0x52bac9=this[_0x3be09c(0x3cf)];_0x1f4e96['forEach'](_0x4da9c1=>{var _0x3c35ec=_0x3be09c;let _0x2af5d6;if(_0x52bac9['length']){const _0x4f952c=this[_0x3c35ec(0x3ce)][_0x3c35ec(0x2eb)](_0x4da9c1,_0x52bac9);if(!_0x3cfd7d(_0x4f952c))throw _0x4f952c[_0x3c35ec(0x291)];_0x2af5d6=_0x4f952c[_0x3c35ec(0x214)],_0x52bac9=_0x4f952c['m2Prime'];}else _0x2af5d6=_0x4da9c1;this[_0x3c35ec(0x2ad)](_0x2af5d6);}),this[_0x3be09c(0x36d)]&&this[_0x3be09c(0x17f)](),this[_0x3be09c(0x3ed)]&&_0xd294d0[_0x3be09c(0x3a6)]&&(_0xd294d0[0x0]['baseRev']=this['_getCurrentRevision']());let _0x2222ff;if(this[_0x3be09c(0x3ed)]&&_0x52bac9['length']!==0x0)_0x2222ff=this['_injector']['createInstance'](oe,this[_0x3be09c(0x1e8)],this[_0x3be09c(0x136)],_0xd294d0[0x0],_0x52bac9,this['_handler'],void 0x0);else{if(this[_0x3be09c(0x3ed)]&&_0x52bac9[_0x3be09c(0x3a6)]===0x0)_0xd294d0[0x0][_0x3be09c(0x2a3)]=this['_getCurrentRevision'](),_0x2222ff=this['_injector'][_0x3be09c(0x25c)](le,this[_0x3be09c(0x1e8)],this['type'],_0xd294d0[0x0],this[_0x3be09c(0x382)]);else{if(_0x52bac9[_0x3be09c(0x3a6)]!==0x0){const _0xe970d6=this['_injector'][_0x3be09c(0x25c)](ae,this[_0x3be09c(0x1e8)],this['type'],_0x52bac9,this['_handler']);_0xe970d6[_0x3be09c(0x15b)](),_0x2222ff=_0xe970d6;}else _0x2222ff=this[_0x3be09c(0x173)][_0x3be09c(0x25c)](Ne,this[_0x3be09c(0x1e8)],this[_0x3be09c(0x136)],this[_0x3be09c(0x382)]);}}return _0x2222ff[_0x3be09c(0x3fc)](),_0x2222ff;}catch(_0x4c92d8){return this['_logService'][_0x3be09c(0x291)](_0x3be09c(0x183),_0x3be09c(0x123),_0x4c92d8),this[_0x3be09c(0x173)][_0x3be09c(0x25c)](ue,this[_0x3be09c(0x1e8)],this[_0x3be09c(0x136)],this[_0x3be09c(0x3ed)],this[_0x3be09c(0x3cf)],this[_0x3be09c(0x382)],!0x1);}}[_0x1207a5(0x3e2)](){var _0x3b4e03=_0x1207a5;throw new Error(_0x3b4e03(0x226));}[_0x1207a5(0x1e6)](_0x5b7385){var _0x1ba2bd=_0x1207a5;return this['_pendingMutations'][_0x1ba2bd(0x367)](_0x5b7385),this;}['onRemoteChangeset'](_0x12fc41){var _0x36f93a=_0x1207a5;return this[_0x36f93a(0x29d)][_0x36f93a(0x367)](_0x12fc41),this;}['onRemoteAck'](_0x58339f){var _0x56ecf6=_0x1207a5;if(this[_0x56ecf6(0x3ed)])return this[_0x56ecf6(0x36d)]=this[_0x56ecf6(0x3ed)],this[_0x56ecf6(0x3ed)]=null,this;throw new Error(_0x56ecf6(0x294));}[_0x1207a5(0x153)](_0xf98494){var _0x3f1f57=_0x1207a5;return this['_onConflict'](!!(_0xf98494!=null&&_0xf98494[_0x3f1f57(0x26a)]));}[_0x1207a5(0x362)](){return this;}[_0x1207a5(0x3b3)](){var _0x10c028=_0x1207a5;return this[_0x10c028(0x173)][_0x10c028(0x25c)](de,this['unitID'],this[_0x10c028(0x136)],this[_0x10c028(0x3ed)],this[_0x10c028(0x3cf)],this[_0x10c028(0x382)]);}['toggleOnline'](){return this;}[_0x1207a5(0x341)](_0xa28978){var _0x2c8726=_0x1207a5;return this[_0x2c8726(0x173)][_0x2c8726(0x25c)](ue,this[_0x2c8726(0x1e8)],this[_0x2c8726(0x136)],this[_0x2c8726(0x3ed)],this[_0x2c8726(0x3cf)],this[_0x2c8726(0x382)],_0xa28978);}};ee=Te([P(0x7,_0x1e1c30(_0x17b627)),P(0x8,_0x1e1c30(_0x58db45)),P(0x9,_0x1ef61d),P(0xa,_0x44ef17),P(0xb,_0x3dda96),P(0xc,_0x274f21),P(0xd,_0x2359f1(J))],ee);function Oi(_0x59dea4,_0x2a3f59,_0x2a3c31,_0x2c78cb,_0x1eb49b,_0x12712e){var _0x47ad46=_0x1207a5;return _0x2c78cb&&_0x1eb49b[_0x47ad46(0x3a6)]?_0x59dea4[_0x47ad46(0x25c)](oe,_0x2a3f59,_0x2a3c31,_0x2c78cb,_0x1eb49b,_0x12712e,void 0x0):_0x2c78cb?_0x59dea4[_0x47ad46(0x25c)](le,_0x2a3f59,_0x2a3c31,_0x2c78cb,_0x12712e):_0x1eb49b[_0x47ad46(0x3a6)]?_0x59dea4[_0x47ad46(0x25c)](ae,_0x2a3f59,_0x2a3c31,_0x1eb49b,_0x12712e):_0x59dea4[_0x47ad46(0x25c)](Ne,_0x2a3f59,_0x2a3c31,_0x12712e);}var ar=Object[_0x1207a5(0x3dd)],xt=(_0x5c8d84,_0x25a6f3,_0x3fbe01,_0x131217)=>{var _0x11613a=_0x1207a5;for(var _0x2fa5fc=_0x131217>0x1?void 0x0:_0x131217?ar(_0x25a6f3,_0x3fbe01):_0x25a6f3,_0x46d1a3=_0x5c8d84[_0x11613a(0x3a6)]-0x1,_0x4d6460;_0x46d1a3>=0x0;_0x46d1a3--)(_0x4d6460=_0x5c8d84[_0x46d1a3])&&(_0x2fa5fc=_0x4d6460(_0x2fa5fc)||_0x2fa5fc);return _0x2fa5fc;},H=(_0x4c70c9,_0x4f3871)=>(_0x564917,_0x3993ca)=>_0x4f3871(_0x564917,_0x3993ca,_0x4c70c9);let nt=class extends _0x1a81df{constructor(_0x51cd4c,_0x4f2c0c,_0x5580a8,_0x50053b,_0x193fcc,_0x3ed37c,_0x428ad9,_0x2249f1,_0x5f5de5,_0x2585dc,_0x116eb7,_0x4c5709,_0x280537){var _0x586a1e=_0x1207a5;super(),N(this,'_state$',new _0x28aab7(null)),N(this,_0x586a1e(0x1df),this[_0x586a1e(0x11e)][_0x586a1e(0x3a7)]()),N(this,_0x586a1e(0x292)),N(this,_0x586a1e(0x3b1),!0x1),N(this,_0x586a1e(0x312),''),N(this,_0x586a1e(0x2fa),0x0),N(this,'status$',this['state$'][_0x586a1e(0x36b)](_0x608b5(_0x2009a8=>_0x2009a8?_0x2009a8[_0x586a1e(0x156)]:bi['OFFLINE']),_0x3b7cbf(0x1))),N(this,_0x586a1e(0x245),!0x1),N(this,_0x586a1e(0x3c2),[]),(this[_0x586a1e(0x1e8)]=_0x51cd4c,this[_0x586a1e(0x353)]=_0x4f2c0c,this[_0x586a1e(0x131)]=_0x5580a8,this[_0x586a1e(0x173)]=_0x50053b,this[_0x586a1e(0x3da)]=_0x193fcc,this['_localeService']=_0x3ed37c,this[_0x586a1e(0x401)]=_0x428ad9,this[_0x586a1e(0x358)]=_0x2249f1,this[_0x586a1e(0x2de)]=_0x5f5de5,this[_0x586a1e(0x19c)]=_0x2585dc,this[_0x586a1e(0x2e3)]=_0x116eb7,this[_0x586a1e(0x17a)]=_0x4c5709,this['_localCacheService']=_0x280537);}get[_0x1207a5(0x3e8)](){var _0x5c78b5=_0x1207a5;return this[_0x5c78b5(0x292)];}async[_0x1207a5(0x2b5)](){var _0x5d02f2=_0x1207a5;if(this[_0x5d02f2(0x3e8)])throw new Error(_0x5d02f2(0x239));await this[_0x5d02f2(0x37f)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x245617(()=>{var _0x3ca04b=_0x4c70;this[_0x3ca04b(0x3b1)]=!0x1,this[_0x3ca04b(0x1b3)]();});}['onLocalMutation'](_0x5de4c8){var _0x2ce7ea=_0x1207a5;this[_0x2ce7ea(0x10e)](_0x5de4c8);}['_updateState'](_0xae80b9){var _0x3dbcd6=_0x1207a5;this['_state']=_0xae80b9,this[_0x3dbcd6(0x11e)][_0x3dbcd6(0x10a)](_0xae80b9);}async[_0x1207a5(0x37f)](){var _0x12036c=_0x1207a5,_0x3e43b9;this[_0x12036c(0x233)](await this[_0x12036c(0x236)]()),this[_0x12036c(0x17a)]&&((_0x3e43b9=this['_singleActiveUnitService'])==null||_0x3e43b9[_0x12036c(0x1fd)](this['unitID']),this[_0x12036c(0x390)](this['_singleActiveUnitService'][_0x12036c(0x10d)](this[_0x12036c(0x1e8)])[_0x12036c(0x24b)](_0xb11d7b=>{var _0x3eb04c=_0x12036c;this['_logService']['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xb11d7b),_0xb11d7b===Ci['OTHER_CLIENTS_EDITING']?(this[_0x3eb04c(0x358)][_0x3eb04c(0x23e)]({'id':se[_0x3eb04c(0x3d3)]}),this[_0x3eb04c(0x2e3)][_0x3eb04c(0x19e)](new _0x32ecee(this[_0x3eb04c(0x1e8)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x3eb04c(0x2e3)][_0x3eb04c(0x19e)](new _0x32ecee(this[_0x3eb04c(0x1e8)])['id'],!0x0),this[_0x3eb04c(0x2e3)]['setShowComponents'](!0x0));})));let _0x39f658=!0x1;return this[_0x12036c(0x390)](this['session'][_0x12036c(0x1fb)][_0x12036c(0x24b)](_0x5b2fc8=>{var _0x58ebb5=_0x12036c;_0x5b2fc8===Ee[_0x58ebb5(0x119)]?this[_0x58ebb5(0x1d0)](_0x39f658):_0x5b2fc8===Ee[_0x58ebb5(0x252)]&&(_0x39f658=!0x0,this[_0x58ebb5(0x1c3)]());})),this[_0x12036c(0x390)](this[_0x12036c(0x353)][_0x12036c(0x2d3)]['subscribe'](_0x289479=>{var _0x4b02e2=_0x12036c;try{switch(_0x289479[_0x4b02e2(0x284)]){case _0x5601d9[_0x4b02e2(0x175)]:{this[_0x4b02e2(0x159)](_0x599f44(_0x289479[_0x4b02e2(0x212)]));break;}case _0x5601d9[_0x4b02e2(0x2a9)]:{this[_0x4b02e2(0x15f)](_0x289479[_0x4b02e2(0x212)]);break;}case _0x5601d9[_0x4b02e2(0x386)]:{this[_0x4b02e2(0x286)]();break;}case _0x5601d9['CHANGESET_SHOULD_RETRY']:{this[_0x4b02e2(0x169)](_0x289479[_0x4b02e2(0x212)]);break;}case _0x5601d9[_0x4b02e2(0x1eb)]:{this['_onFetchMissResult'](_0x289479[_0x4b02e2(0x212)][_0x4b02e2(0x190)]['map'](_0x2e5999=>_0x599f44(_0x2e5999)));break;}case _0x5601d9[_0x4b02e2(0x397)]:{this[_0x4b02e2(0x286)]({'isPermissionRej':!0x0});break;}case _0x5601d9['UNISCRIPT_RUN']:break;}}catch(_0x534fac){throw console[_0x4b02e2(0x291)](_0x4b02e2(0x12d),_0x534fac),_0x534fac;}})),this[_0x12036c(0x292)];}[_0x1207a5(0x3c0)](){var _0x494c0d=_0x1207a5;this[_0x494c0d(0x245)]=!0x1;}[_0x1207a5(0x3ef)](){var _0x4dd432=_0x1207a5;if(this[_0x4dd432(0x245)])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[_0x4dd432(0x245)]=!0x0;}[_0x1207a5(0x10e)](_0x4acd83){var _0x5413f7=_0x1207a5;this[_0x5413f7(0x3ef)](),this[_0x5413f7(0x233)](this[_0x5413f7(0x292)]['appendMutation'](_0x4acd83)),this[_0x5413f7(0x3c0)]();}['_onRemoteChangeset'](_0x2c6bdd){var _0x4dec10=_0x1207a5;if(!(_0x2c6bdd[_0x4dec10(0x18b)]<=this[_0x4dec10(0x401)][_0x4dec10(0x3e4)](this[_0x4dec10(0x1e8)]))){if(this[_0x4dec10(0x3b1)]){this['_remoteChangesetQueue'][_0x4dec10(0x367)](_0x2c6bdd);return;}this[_0x4dec10(0x3ad)](_0x2c6bdd);}}[_0x1207a5(0x1b3)](){var _0x58c74d=_0x1207a5;this[_0x58c74d(0x3c2)]['forEach'](_0x17f0a4=>this[_0x58c74d(0x3ad)](_0x17f0a4)),this[_0x58c74d(0x3c2)]=[];}['_applyRemoteChangeset'](_0x54d468){var _0x5342bb=_0x1207a5;const _0x2ed1ae=this['_compressMutationService']['interceptor'][_0x5342bb(0x2ec)](this[_0x5342bb(0x3da)]['interceptor'][_0x5342bb(0x3c1)]()[_0x5342bb(0x39a)])(_0x54d468[_0x5342bb(0x3a5)],null)||_0x54d468[_0x5342bb(0x3a5)],_0x24708a={..._0x54d468,'mutations':_0x2ed1ae};this['_lockTransition'](),this[_0x5342bb(0x233)](this['_state'][_0x5342bb(0x1ff)](_0x24708a)),this[_0x5342bb(0x3c0)]();}[_0x1207a5(0x15f)](_0x29f448){var _0x37ce49=_0x1207a5;this[_0x37ce49(0x3ef)](),this['_updateState'](this['_state']['onRemoteAck'](_0x29f448)),this[_0x37ce49(0x3c0)]();}[_0x1207a5(0x286)](_0x7881c2){var _0x434a96=_0x1207a5;this['_lockTransition'](),this[_0x434a96(0x233)](this[_0x434a96(0x292)][_0x434a96(0x153)](_0x7881c2)),this[_0x434a96(0x3c0)]();}[_0x1207a5(0x169)](_0x47ae52){var _0xdc47c3=_0x1207a5;this[_0xdc47c3(0x3ef)](),this[_0xdc47c3(0x233)](this[_0xdc47c3(0x292)]['onRemoteRetry'](_0x47ae52)),this[_0xdc47c3(0x3c0)]();}[_0x1207a5(0x337)](_0x46c6c1){var _0x37de58=_0x1207a5;if(!(this[_0x37de58(0x292)]instanceof ee))throw new TypeError(_0x37de58(0x198));const _0x2d3f2f=_0x46c6c1[_0x37de58(0x3f6)](_0x24e21a=>{var _0x26f868=_0x37de58;const _0x44e3c2=this['_compressMutationService'][_0x26f868(0x285)][_0x26f868(0x2ec)](this[_0x26f868(0x3da)][_0x26f868(0x285)]['getInterceptPoints']()[_0x26f868(0x39a)])(_0x24e21a[_0x26f868(0x3a5)],null)||_0x24e21a[_0x26f868(0x3a5)];return{..._0x24e21a,'mutations':_0x44e3c2};});this[_0x37de58(0x3ef)](),this[_0x37de58(0x233)](this[_0x37de58(0x292)][_0x37de58(0x263)](_0x2d3f2f)),this[_0x37de58(0x3c0)]();}['_toggleOffline'](){var _0x14e2ae=_0x1207a5;this['_lockTransition'](),this[_0x14e2ae(0x233)](this[_0x14e2ae(0x292)][_0x14e2ae(0x3b3)]()),this['_unlockTransition']();}['_toggleOnline'](_0x5a8e45=!0x1){var _0x254ebc=_0x1207a5;this[_0x254ebc(0x3ef)](),this[_0x254ebc(0x233)](this[_0x254ebc(0x292)]['toggleOnline']()),this[_0x254ebc(0x3c0)]();const _0x105e97=this[_0x254ebc(0x292)];_0x5a8e45&&_0x105e97 instanceof Ne&&(this[_0x254ebc(0x3ef)](),this['_updateState'](_0x105e97['fetchMiss']()),this[_0x254ebc(0x3c0)]());}async[_0x1207a5(0x236)](){return new Promise(_0x5add41=>{var _0x2b8cbf=_0x4c70;this[_0x2b8cbf(0x353)][_0x2b8cbf(0x1fb)][_0x2b8cbf(0x36b)](_0x22335f(0x1))[_0x2b8cbf(0x24b)](async _0x3bfcec=>{var _0x108051=_0x2b8cbf;_0x5add41(await this[_0x108051(0x174)](_0x3bfcec===Ee[_0x108051(0x119)]));});});}[_0x1207a5(0x149)](){var _0x744a60=_0x1207a5;const _0x25c97c=this[_0x744a60(0x1e8)];return{'onStateChange':(_0x1f3fd1,_0x13068f)=>{var _0x5ea2ab=_0x744a60;if(_0x1f3fd1!==this['_state'])throw new Error(_0x5ea2ab(0x280)+_0x1f3fd1[_0x5ea2ab(0x156)]+_0x5ea2ab(0x166)+_0x13068f[_0x5ea2ab(0x156)]+_0x5ea2ab(0x281)+this[_0x5ea2ab(0x292)][_0x5ea2ab(0x156)]);this[_0x5ea2ab(0x233)](_0x13068f);},'onSendChangeset':_0x2b36e2=>{var _0x401a8c=_0x744a60;_0x2b36e2[_0x401a8c(0x2b8)]||(_0x2b36e2[_0x401a8c(0x2b8)]=this[_0x401a8c(0x312)],_0x2b36e2['reqId']=++this[_0x401a8c(0x2fa)]);const _0x51533c={'eventID':_0x5601d9['SUBMIT_CHANGESET'],'data':{'unitID':_0x2b36e2[_0x401a8c(0x1e8)],'unitType':this[_0x401a8c(0x131)],'changeset':_0x2b36e2,'memberID':this[_0x401a8c(0x353)][_0x401a8c(0x3de)]()}};this['session'][_0x401a8c(0x3c8)](_0x51533c,this[_0x401a8c(0x1e8)]);},'onMissingChangesets':({from:_0x2bcb38,to:_0x1e030f})=>{var _0x85eea0=_0x744a60;this['_logService'][_0x85eea0(0x3d9)]('[CollaborationEntity]',_0x85eea0(0x19f)+_0x2bcb38+_0x85eea0(0x407)+_0x1e030f);const _0x4bb3ee={'eventID':_0x5601d9[_0x85eea0(0x2c9)],'data':{'unitID':_0x25c97c,'unitType':this[_0x85eea0(0x131)],'from':_0x2bcb38,'to':_0x1e030f}};this[_0x85eea0(0x353)][_0x85eea0(0x3c8)](_0x4bb3ee,this['unitID']);}};}async[_0x1207a5(0x174)](_0x3ba31c){var _0x438517=_0x1207a5,_0x36faa2,_0x2af709,_0x5d0aae;const _0x56900c=await((_0x36faa2=this[_0x438517(0x152)])==null?void 0x0:_0x36faa2[_0x438517(0x2b2)](this['unitID'])),_0x5cb40c=(_0x2af709=_0x56900c==null?void 0x0:_0x56900c['mutations'])!=null?_0x2af709:[],_0x2f2e96=(_0x5d0aae=_0x56900c==null?void 0x0:_0x56900c[_0x438517(0x25d)])!=null?_0x5d0aae:null,_0x26959b=!!(_0x2f2e96!=null&&_0x2f2e96[_0x438517(0x2b8)])&&!!(_0x2f2e96!=null&&_0x2f2e96[_0x438517(0x26f)]);this[_0x438517(0x312)]=_0x26959b?_0x2f2e96['sid']:Zn(),this['_changesetReqId']=_0x26959b?_0x2f2e96[_0x438517(0x26f)]:0x0;const _0x2842f9=this[_0x438517(0x1e8)];try{this['_replayCachedMutations'](_0x2f2e96,_0x5cb40c);}catch(_0x533a1e){this[_0x438517(0x2de)][_0x438517(0x291)](_0x533a1e);}const _0x4cd78f=this[_0x438517(0x149)]();if(_0x3ba31c){const _0x3a9257=Oi(this[_0x438517(0x173)],_0x2842f9,this['_type'],_0x2f2e96,_0x5cb40c,_0x4cd78f);return _0x3a9257 instanceof ae?_0x3a9257[_0x438517(0x15b)]():(_0x3a9257 instanceof oe||_0x3a9257 instanceof le)&&_0x3a9257[_0x438517(0x3e2)](),_0x3a9257;}return this['_injector'][_0x438517(0x25c)](de,_0x2842f9,this[_0x438517(0x131)],_0x2f2e96,_0x5cb40c,_0x4cd78f);}[_0x1207a5(0x213)](_0x199eb1,_0x1a0512){var _0xeb3b8b=_0x1207a5,_0x4ab555,_0x170807;const _0x3ff668=this['_compressMutationService'][_0xeb3b8b(0x285)]['fetchThroughInterceptors'](this[_0xeb3b8b(0x3da)][_0xeb3b8b(0x285)][_0xeb3b8b(0x3c1)]()[_0xeb3b8b(0x39a)]);(_0x4ab555=_0x3ff668((_0x199eb1==null?void 0x0:_0x199eb1[_0xeb3b8b(0x3a5)])||[],null))==null||_0x4ab555['forEach'](_0x255158=>this[_0xeb3b8b(0x19c)][_0xeb3b8b(0x26d)](_0x255158['id'],_0x255158['params'])),(_0x170807=_0x3ff668(_0x1a0512||[],null))==null||_0x170807[_0xeb3b8b(0x2d5)](_0x1a7477=>this['_commandService'][_0xeb3b8b(0x26d)](_0x1a7477['id'],_0x1a7477[_0xeb3b8b(0x11c)]));}};nt=xt([H(0x3,_0x1e1c30(_0x17b627)),H(0x4,_0x1e1c30(_0x25744d)),H(0x5,_0x1e1c30(_0x5a4070)),H(0x6,_0x1e1c30(_0x58db45)),H(0x7,_0x1e1c30(pe)),H(0x8,_0x1ef61d),H(0x9,_0x44ef17),H(0xa,_0xbef414),H(0xb,_0x2359f1(ht)),H(0xc,_0x2359f1(J))],nt);let It=class extends nt{constructor(_0x4c055f,_0x24e27c,_0x25ff9b,_0x5b18cb,_0x57a784,_0x11f9dc,_0xa73f1a,_0x26c6c0,_0x2362fb,_0x19bbd1,_0x3ae143,_0x92f5e4,_0x1119c0){var _0x5d2a7d=_0x1207a5;super(_0x4c055f,_0x25ff9b,_0x24e27c,_0x5b18cb,_0x57a784,_0x11f9dc,_0xa73f1a,_0x26c6c0,_0x2362fb,_0x19bbd1,_0x3ae143,_0x92f5e4,_0x1119c0),N(this,'_handlerCallback',null),(this[_0x5d2a7d(0x1e8)]=_0x4c055f,this[_0x5d2a7d(0x136)]=_0x24e27c);}[_0x1207a5(0x1b0)](_0x1fe40f){var _0x5f0eee=_0x1207a5;this[_0x5f0eee(0x227)]=_0x1fe40f;}['dispose'](){var _0x1d946a=_0x1207a5;this[_0x1d946a(0x227)]=null,super[_0x1d946a(0x23c)]();}[_0x1207a5(0x149)](){var _0x57b3a6=_0x1207a5;const _0x241927=super[_0x57b3a6(0x149)]();return _0x241927[_0x57b3a6(0x3f1)]=_0x15cf9c=>{var _0x41d5ad=_0x57b3a6,_0x4bb357,_0x59c9ec;return(_0x59c9ec=(_0x4bb357=this[_0x41d5ad(0x227)])==null?void 0x0:_0x4bb357[_0x41d5ad(0x3f1)])==null?void 0x0:_0x59c9ec[_0x41d5ad(0x2dd)](_0x4bb357,_0x15cf9c);},_0x241927[_0x57b3a6(0x177)]=_0x47ddb6=>{var _0x272ff0=_0x57b3a6,_0xdde393,_0x29043b;return(_0x29043b=(_0xdde393=this['_handlerCallback'])==null?void 0x0:_0xdde393[_0x272ff0(0x177)])==null?void 0x0:_0x29043b[_0x272ff0(0x2dd)](_0xdde393,_0x47ddb6);},_0x241927[_0x57b3a6(0x3f9)]=_0x1f866c=>{var _0x34c675=_0x57b3a6,_0x4950db,_0xc9f0a8;return(_0xc9f0a8=(_0x4950db=this[_0x34c675(0x227)])==null?void 0x0:_0x4950db[_0x34c675(0x3f9)])==null?void 0x0:_0xc9f0a8[_0x34c675(0x2dd)](_0x4950db,_0x1f866c);},_0x241927['onSyncEditingCollabCursor']=_0x130875=>{var _0x5a949c=_0x57b3a6,_0x5517fb,_0x5d3e81;return(_0x5d3e81=(_0x5517fb=this[_0x5a949c(0x227)])==null?void 0x0:_0x5517fb['onSyncEditingCollabCursor'])==null?void 0x0:_0x5d3e81[_0x5a949c(0x2dd)](_0x5517fb,_0x130875);},_0x241927['onTransformRemoteChangesetByIMECache']=_0x59ba0b=>{var _0x3f590a=_0x57b3a6,_0x2dce13,_0x141747,_0x39b80d;if(!((_0x2dce13=this[_0x3f590a(0x227)])!=null&&_0x2dce13[_0x3f590a(0x2f3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x39b80d=(_0x141747=this[_0x3f590a(0x227)])==null?void 0x0:_0x141747['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x39b80d[_0x3f590a(0x2dd)](_0x141747,_0x59ba0b);},_0x241927[_0x57b3a6(0x11b)]=_0x191372=>{var _0xb28ee9=_0x57b3a6,_0x7fd1e4,_0x1242c8,_0x1ccf33;if(!((_0x7fd1e4=this[_0xb28ee9(0x227)])!=null&&_0x7fd1e4['onTransformRemoteChangesetByStateCache']))throw new Error(_0xb28ee9(0x3b4));return(_0x1ccf33=(_0x1242c8=this[_0xb28ee9(0x227)])==null?void 0x0:_0x1242c8[_0xb28ee9(0x11b)])==null?void 0x0:_0x1ccf33[_0xb28ee9(0x2dd)](_0x1242c8,_0x191372);},_0x241927;}async['_init'](){var _0x2f96d6=_0x1207a5;const _0x33b125=await super['_init']();return this[_0x2f96d6(0x390)](this[_0x2f96d6(0x19c)][_0x2f96d6(0x38e)]((_0xb716c6,_0x56f9a0)=>{var _0x6e5dfd=_0x2f96d6;if(_0xb716c6[_0x6e5dfd(0x136)]!==_0x18c923[_0x6e5dfd(0x3f3)]||_0x56f9a0!=null&&_0x56f9a0[_0x6e5dfd(0x28f)]||_0x56f9a0!=null&&_0x56f9a0[_0x6e5dfd(0x12a)]||_0xb716c6['id']===_0x89f276['id'])return;const _0x57e60f=_0xb716c6[_0x6e5dfd(0x11c)];if((_0x57e60f==null?void 0x0:_0x57e60f['unitId'])!==this[_0x6e5dfd(0x1e8)])return;const _0xb03a6b=_0xb716c6,_0x504487=this[_0x6e5dfd(0x3da)][_0x6e5dfd(0x285)][_0x6e5dfd(0x2ec)](this[_0x6e5dfd(0x3da)]['interceptor'][_0x6e5dfd(0x3c1)]()[_0x6e5dfd(0x346)])([_0xb03a6b],null)||[_0xb03a6b];this[_0x6e5dfd(0x10e)](_0x504487[0x0]);})),_0x33b125;}};It=xt([H(0x3,_0x1e1c30(_0x17b627)),H(0x4,_0x1e1c30(_0x25744d)),H(0x5,_0x1e1c30(_0x5a4070)),H(0x6,_0x1e1c30(_0x58db45)),H(0x7,_0x1e1c30(pe)),H(0x8,_0x1ef61d),H(0x9,_0x44ef17),H(0xa,_0xbef414),H(0xb,_0x2359f1(ht)),H(0xc,_0x2359f1(J))],It);let Tt=class extends nt{constructor(_0x595dee,_0x4acb44,_0x10a613,_0x1f265e,_0x5d3596,_0x2617a9,_0x5adae0,_0x4c6953,_0x144fbb,_0x12dc8d,_0x5429fe,_0x545618,_0x2dee4d,_0x39ac69){var _0x9c49e3=_0x1207a5;super(_0x595dee,_0x10a613,_0x4acb44,_0x1f265e,_0x5d3596,_0x2617a9,_0x5adae0,_0x144fbb,_0x12dc8d,_0x5429fe,_0x545618,_0x2dee4d,_0x39ac69),this[_0x9c49e3(0x1e8)]=_0x595dee,this[_0x9c49e3(0x136)]=_0x4acb44,this[_0x9c49e3(0x2d1)]=_0x4c6953;}[_0x1207a5(0x149)](){var _0x30dfc0=_0x1207a5;const _0x3f4dc4=super['_createHandler']();return _0x3f4dc4[_0x30dfc0(0x3f9)]=_0x47c145=>this[_0x30dfc0(0x2d1)][_0x30dfc0(0x327)](_0x47c145),_0x3f4dc4;}async['_init'](){var _0x5248ad=_0x1207a5;const _0x328485=await super['_init']();return this[_0x5248ad(0x390)](this[_0x5248ad(0x19c)]['onCommandExecuted']((_0x56a3a8,_0x36ec2e)=>{var _0x14d919=_0x5248ad;if(_0x56a3a8[_0x14d919(0x136)]!==_0x18c923[_0x14d919(0x3f3)]||_0x36ec2e!=null&&_0x36ec2e[_0x14d919(0x28f)]||_0x36ec2e!=null&&_0x36ec2e['onlyLocal'])return;const _0x5c2a2d=_0x56a3a8[_0x14d919(0x11c)];if((_0x5c2a2d==null?void 0x0:_0x5c2a2d['unitId'])!==this[_0x14d919(0x1e8)])return;const _0x35f14b=_0x56a3a8,_0xe08efa=this['_compressMutationService'][_0x14d919(0x285)][_0x14d919(0x2ec)](this['_compressMutationService']['interceptor'][_0x14d919(0x3c1)]()[_0x14d919(0x346)])([_0x35f14b],null)||[_0x35f14b];this[_0x14d919(0x10e)](_0xe08efa[0x0]);})),_0x328485;}};Tt=xt([H(0x3,_0x1e1c30(_0x17b627)),H(0x4,_0x1e1c30(_0x25744d)),H(0x5,_0x1e1c30(_0x5a4070)),H(0x6,_0x1e1c30(_0x58db45)),H(0x7,_0x1e1c30(it)),H(0x8,_0x1e1c30(pe)),H(0x9,_0x1ef61d),H(0xa,_0x44ef17),H(0xb,_0xbef414),H(0xc,_0x2359f1(ht)),H(0xd,_0x2359f1(J))],Tt);var or=Object[_0x1207a5(0x3dd)],cr=(_0x224d4e,_0x418983,_0x5b935f,_0x364953)=>{var _0xae165c=_0x1207a5;for(var _0x420473=_0x364953>0x1?void 0x0:_0x364953?or(_0x418983,_0x5b935f):_0x418983,_0x221384=_0x224d4e[_0xae165c(0x3a6)]-0x1,_0x3c0266;_0x221384>=0x0;_0x221384--)(_0x3c0266=_0x224d4e[_0x221384])&&(_0x420473=_0x3c0266(_0x420473)||_0x420473);return _0x420473;},ft=(_0xdeb2e6,_0x96dcb8)=>(_0x5c8eea,_0x3535fd)=>_0x96dcb8(_0x5c8eea,_0x3535fd,_0xdeb2e6);let rt=class extends _0x1a81df{constructor(_0x33f127,_0x28b810,_0x5a1bed){var _0xda1794=_0x1207a5;super(),N(this,'_entities',new Map()),N(this,_0xda1794(0x259),new _0x4232a4()),N(this,'entityInit$',this[_0xda1794(0x259)]['asObservable']()),(this['_injector']=_0x33f127,this['_collabSessionService']=_0x28b810,this[_0xda1794(0x269)]=_0x5a1bed,this[_0xda1794(0x37f)]());}['dispose'](){var _0x150de9=_0x1207a5;super[_0x150de9(0x23c)](),this[_0x150de9(0x1ee)][_0x150de9(0x2d5)](_0x28d67e=>_0x28d67e['dispose']()),this['_entities'][_0x150de9(0x1ad)]();}['getCollabEntity'](_0x4b58e0){var _0x28357d=_0x1207a5,_0x2da3f9;return(_0x2da3f9=this[_0x28357d(0x1ee)][_0x28357d(0x23a)](_0x4b58e0))!=null?_0x2da3f9:null;}[_0x1207a5(0x172)](_0x395952){var _0x3ab417=_0x1207a5;const _0x3105b9=this['getCollabEntity'](_0x395952);return _0x3105b9?_0x5be91a(_0x3105b9):this[_0x3ab417(0x259)][_0x3ab417(0x36b)](_0x3ecb44(_0x24cdb4=>_0x24cdb4['unitID']===_0x395952));}[_0x1207a5(0x331)](_0x239bab){var _0x10c00f=_0x1207a5;return _0x40977a(this[_0x10c00f(0x172)](_0x239bab)[_0x10c00f(0x36b)](_0x5acb68(()=>{})));}['_init'](){var _0x5d1b20=_0x1207a5;this[_0x5d1b20(0x269)][_0x5d1b20(0x1c5)](_0x19df23['UNIVER_SHEET'])[_0x5d1b20(0x36b)](_0x3a6de3(this[_0x5d1b20(0x355)]),_0x58f084(0x10))[_0x5d1b20(0x24b)](async _0x586267=>{var _0x359126=_0x5d1b20;const _0x139599=_0x586267[_0x359126(0x3ca)](),_0x4a903d=await this['_startCollaboration'](_0x139599,Q[_0x359126(0x1d1)]);this['_entities'][_0x359126(0x1f6)](_0x139599,_0x4a903d);}),this[_0x5d1b20(0x269)][_0x5d1b20(0x1c5)](_0x19df23[_0x5d1b20(0x3ff)])['pipe'](_0x3a6de3(this[_0x5d1b20(0x355)]),_0x58f084(0x10))[_0x5d1b20(0x36b)](_0x3ecb44(_0x1818f6=>!_0x1818f6['getUnitId']()[_0x5d1b20(0x108)]('__')))[_0x5d1b20(0x24b)](async _0x23b9a7=>{var _0x4f1133=_0x5d1b20;const _0x48ce67=_0x23b9a7['getUnitId'](),_0x59c34f=await this['_startCollaboration'](_0x48ce67,Q['UNIVER_DOC']);this[_0x4f1133(0x1ee)][_0x4f1133(0x1f6)](_0x48ce67,_0x59c34f);}),_0x47b2b1(this[_0x5d1b20(0x269)][_0x5d1b20(0x20c)](_0x19df23['UNIVER_SHEET']),this[_0x5d1b20(0x269)][_0x5d1b20(0x20c)](_0x19df23[_0x5d1b20(0x3ff)]))[_0x5d1b20(0x36b)](_0x3a6de3(this[_0x5d1b20(0x355)]))['subscribe'](_0x2534b7=>{var _0x57ebd9=_0x5d1b20;const _0x5628a3=_0x2534b7['getUnitId'](),_0x1f76d4=this[_0x57ebd9(0x1ee)][_0x57ebd9(0x23a)](_0x5628a3);_0x1f76d4&&(_0x1f76d4[_0x57ebd9(0x23c)](),this[_0x57ebd9(0x1ee)]['delete'](_0x5628a3));});}async[_0x1207a5(0x184)](_0x3ed612,_0xdb259e){var _0x2ea87b=_0x1207a5;const _0xe9291e=await this['_collabSessionService'][_0x2ea87b(0x40a)](_0x3ed612),_0x542796=this[_0x2ea87b(0x173)]['createInstance'](this['_getCtorByUniverType'](_0xdb259e),_0x3ed612,_0xdb259e,_0xe9291e);return await _0x542796[_0x2ea87b(0x2b5)](),this[_0x2ea87b(0x259)][_0x2ea87b(0x10a)](_0x542796),_0x542796;}['_getCtorByUniverType'](_0xa675be){var _0x59aa15=_0x1207a5;switch(_0xa675be){case Q['UNIVER_DOC']:return It;case Q[_0x59aa15(0x1d1)]:return Tt;default:throw new Error(_0x59aa15(0x1f1)+_0xa675be);}}};rt=cr([ft(0x0,_0x1e1c30(_0x17b627)),ft(0x1,_0x1e1c30(Le)),ft(0x2,_0x22f80b)],rt);var hr=Object[_0x1207a5(0x3dd)],_r=(_0x40b2bc,_0x57a159,_0x4de063,_0x838901)=>{var _0x11f90c=_0x1207a5;for(var _0x2f6059=_0x838901>0x1?void 0x0:_0x838901?hr(_0x57a159,_0x4de063):_0x57a159,_0x287ac0=_0x40b2bc[_0x11f90c(0x3a6)]-0x1,_0x5866d0;_0x287ac0>=0x0;_0x287ac0--)(_0x5866d0=_0x40b2bc[_0x287ac0])&&(_0x2f6059=_0x5866d0(_0x2f6059)||_0x2f6059);return _0x2f6059;},zt=(_0x35eb92,_0x33635c)=>(_0x3efab8,_0x5d8805)=>_0x33635c(_0x3efab8,_0x5d8805,_0x35eb92);const lr=_0x1207a5(0x1c2),ur=_0x1207a5(0x309);let Ct=class extends _0x5efe2a{constructor(_0x5a9b74,_0x5090d9){var _0x4ab9ac=_0x1207a5;super(),this[_0x4ab9ac(0x269)]=_0x5a9b74,this[_0x4ab9ac(0x114)]=_0x5090d9,this[_0x4ab9ac(0x37f)]();}[_0x1207a5(0x37f)](){var _0x5db228=_0x1207a5;this[_0x5db228(0x390)](this[_0x5db228(0x269)][_0x5db228(0x2b1)]['subscribe'](()=>{var _0x1f0229=_0x5db228,_0x42b0da;const _0x5c045a=this['_univerInstanceService']['getFocusedUnit']();let _0x52d10f=(_0x42b0da=this[_0x1f0229(0x114)][_0x1f0229(0x161)](lr))!=null?_0x42b0da:ur;_0x5c045a instanceof _0x2139b8&&(_0x52d10f=_0x5c045a[_0x1f0229(0x246)]),document['title']=_0x52d10f;}));}};Ct=_r([zt(0x0,_0x22f80b),zt(0x1,_0x273f4e)],Ct);var dr=Object[_0x1207a5(0x3dd)],fr=(_0x37a9ee,_0x470fd7,_0x47b6a2,_0x36cccb)=>{var _0x58b331=_0x1207a5;for(var _0x30c9d7=_0x36cccb>0x1?void 0x0:_0x36cccb?dr(_0x470fd7,_0x47b6a2):_0x470fd7,_0xe03396=_0x37a9ee[_0x58b331(0x3a6)]-0x1,_0x43c85a;_0xe03396>=0x0;_0xe03396--)(_0x43c85a=_0x37a9ee[_0xe03396])&&(_0x30c9d7=_0x43c85a(_0x30c9d7)||_0x30c9d7);return _0x30c9d7;},vt=(_0x18d42d,_0x5e80ab)=>(_0x31de95,_0x3d0265)=>_0x5e80ab(_0x31de95,_0x3d0265,_0x18d42d);let st=class{constructor(_0x73dc0c,_0x3a2f2b,_0x8e75c1){var _0x37e822=_0x1207a5;this[_0x37e822(0x114)]=_0x73dc0c,this[_0x37e822(0x24a)]=_0x3a2f2b,this[_0x37e822(0x404)]=_0x8e75c1,this[_0x37e822(0x2b5)]();}[_0x1207a5(0x2b5)](){var _0x4507af=_0x1207a5;this[_0x4507af(0x24a)][_0x4507af(0x398)]({'priority':0x1,'interceptor':(_0x99a913,_0x406963)=>_0x406963(_0x99a913)[_0x4507af(0x36b)](_0x88b9f3(async _0x569a56=>{var _0x13d081=_0x4507af;const _0x439233=_0x569a56;if(_0x439233[_0x13d081(0x156)]===0x191){if(typeof window>'u')throw new Error(_0x13d081(0x3b0));if(window[_0x13d081(0x370)](this[_0x13d081(0x404)]['t']('auth.needGotoLoginAlert'))){const _0x36841f=window[_0x13d081(0x125)](window[_0x13d081(0x3be)][_0x13d081(0x3ee)]);window[_0x13d081(0x3be)][_0x13d081(0x3ee)]=this['_getLoginPath']()+_0x13d081(0x2e9)+_0x36841f;}}return _0x439233;}))});}[_0x1207a5(0x2c0)](){var _0x35616e=_0x1207a5,_0x35d1dc,_0x297497;const _0x33e886=this[_0x35616e(0x114)]['getConfig'](Un),_0x435762=this[_0x35616e(0x114)][_0x35616e(0x161)](q);return(_0x297497=(_0x35d1dc=_0x435762==null?void 0x0:_0x435762['loginUrlKey'])!=null?_0x35d1dc:_0x33e886)!=null?_0x297497:wn;}};st=fr([vt(0x0,_0x273f4e),vt(0x1,_0x1e1c30(_0x1e8654)),vt(0x2,_0x1e1c30(_0x5a4070))],st);var vr=Object[_0x1207a5(0x3dd)],pr=(_0xab656f,_0xbeaca9,_0x4f2d9e,_0x1984d4)=>{var _0x348d57=_0x1207a5;for(var _0x180e83=_0x1984d4>0x1?void 0x0:_0x1984d4?vr(_0xbeaca9,_0x4f2d9e):_0xbeaca9,_0x5540b0=_0xab656f[_0x348d57(0x3a6)]-0x1,_0x3df95c;_0x5540b0>=0x0;_0x5540b0--)(_0x3df95c=_0xab656f[_0x5540b0])&&(_0x180e83=_0x3df95c(_0x180e83)||_0x180e83);return _0x180e83;},Jt=(_0xdb6da9,_0x58dc67)=>(_0x69b075,_0x43cbfe)=>_0x58dc67(_0x69b075,_0x43cbfe,_0xdb6da9);const Ni='AUTHZ_URL_KEY',mr=_0x1207a5(0x238);let Rt=class extends _0x5efe2a{constructor(_0x55dfa8,_0x4ffc8f){var _0x12830a=_0x1207a5;super(),this[_0x12830a(0x165)]=_0x55dfa8,this[_0x12830a(0x114)]=_0x4ffc8f,this[_0x12830a(0x3f8)]();}[_0x1207a5(0x3f8)](){var _0x44990d=_0x1207a5;const _0x3a16c6=this;this[_0x44990d(0x390)](this[_0x44990d(0x165)][_0x44990d(0x398)]({'priority':0x3e7,'interceptor':_0x3f0376({'isMatch'(_0xb4ec2c){var _0x1b296e=_0x44990d,_0x55ba5e;if(_0xb4ec2c[_0x1b296e(0x3b2)]===_0x1b296e(0x2ef)&&((_0x55ba5e=_0xb4ec2c['requestParams'])!=null&&_0x55ba5e[_0x1b296e(0x405)])){const {objectID:_0x22147a,objectType:_0x591015}=_0xb4ec2c['requestParams']['body']||{};if(!_0x22147a||_0x591015===void 0x0)return!0x1;const _0x20df1e=_0x3a16c6[_0x1b296e(0x1b9)]()+'/'+_0x591015+_0x1b296e(0x34f)+_0x22147a+_0x1b296e(0x197);if(_0xb4ec2c[_0x1b296e(0x347)]===_0x20df1e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4587d5){var _0x4ff659=_0x44990d,_0x220373;return(_0x220373=_0x4587d5[_0x4ff659(0x394)])==null?void 0x0:_0x220373[_0x4ff659(0x405)];},'mergeParamsToRequest'(_0x1e3203,_0x44dc33){var _0x5c5f51=_0x44990d;const _0x18d784=_0x3a16c6['_getAPIPrefixPath']()+_0x5c5f51(0x1dc),_0x47d623=_0x1e3203['reduce']((_0x5044e0,_0x18b19a)=>{var _0x305a4d=_0x5c5f51;const {unitID:_0x5dc2c0,objectID:_0x52291c,objectType:_0x28d0f3,actions:_0x485e55}=_0x18b19a;return _0x5044e0[_0x5dc2c0]||(_0x5044e0[_0x5dc2c0]={}),_0x5044e0[_0x5dc2c0][_0x52291c]||(_0x5044e0[_0x5dc2c0][_0x52291c]={'objectID':_0x52291c,'objectType':_0x28d0f3,'actions':[]}),_0x5044e0[_0x5dc2c0][_0x52291c][_0x305a4d(0x2c5)][_0x305a4d(0x367)](..._0x485e55),_0x5044e0;},{}),_0x546fb9=[];for(const _0x47f046 in _0x47d623)for(const _0x16ff07 in _0x47d623[_0x47f046]){const {actions:_0x409205,objectType:_0xfb754e}=_0x47d623[_0x47f046][_0x16ff07],_0x61b8ad=[...new Set(_0x409205)];_0x546fb9[_0x5c5f51(0x367)]({'unitID':_0x47f046,'objectID':_0x16ff07,'objectType':_0xfb754e,'actions':_0x61b8ad});}return new _0xf797f6(_0x5c5f51(0x2ef),_0x18d784,{'headers':_0x44dc33['headers'],'withCredentials':_0x44dc33[_0x5c5f51(0x16a)],'responseType':_0x44dc33['responseType'],'body':{'requests':_0x546fb9}});}},{'distributeResult'(_0x39261f,_0x1aae6c){var _0x42ff9f=_0x44990d;const {objectActions:_0x2b45b9}=_0x39261f;return _0x1aae6c[_0x42ff9f(0x3f6)](_0x332c37=>{var _0x594f0d=_0x42ff9f;const {unitID:_0x3e50c4,objectID:_0x2b785b,actions:_0x29df02}=_0x332c37,_0x331970=_0x2b45b9[_0x594f0d(0x20a)](_0x56bf5e=>_0x56bf5e[_0x594f0d(0x1e8)]===_0x3e50c4&&_0x56bf5e[_0x594f0d(0x381)]===_0x2b785b),_0x33075c=_0x29df02[_0x594f0d(0x3f6)](_0x13a8be=>_0x331970==null?void 0x0:_0x331970[_0x594f0d(0x2c5)][_0x594f0d(0x20a)](_0x3fa064=>_0x3fa064[_0x594f0d(0x1da)]===_0x13a8be))[_0x594f0d(0x344)](_0x3d72fc=>!!_0x3d72fc);return{'config':_0x332c37,'result':{'actions':_0x33075c,'error':_0x39261f[_0x594f0d(0x291)]}};});}})}));}[_0x1207a5(0x1b9)](){var _0x217186=_0x1207a5,_0x2e3811,_0x18fe9f;const _0x4dd568=this['_configService'][_0x217186(0x161)](Ni),_0x5a219f=this[_0x217186(0x114)][_0x217186(0x161)](q);return(_0x18fe9f=(_0x2e3811=_0x5a219f==null?void 0x0:_0x5a219f['authzUrl'])!=null?_0x2e3811:_0x4dd568)!=null?_0x18fe9f:mr;}async[_0x1207a5(0x303)](_0x3f448b){var _0x4553ec=_0x1207a5;const _0x57d335=this[_0x4553ec(0x1b9)]()+'/'+_0x3f448b[_0x4553ec(0x360)]+_0x4553ec(0x17c);return(await this[_0x4553ec(0x165)][_0x4553ec(0x321)](_0x57d335,{'body':_0x3f448b}))['body'][_0x4553ec(0x381)]||'';}async[_0x1207a5(0x3e6)](_0x49106f){var _0x21efc9=_0x1207a5;const _0x259340=this[_0x21efc9(0x1b9)]()+_0x21efc9(0x2c3);return(await this[_0x21efc9(0x165)][_0x21efc9(0x321)](_0x259340,{'body':_0x49106f}))[_0x21efc9(0x405)]['objects'];}async[_0x1207a5(0x2c4)](_0x89f472){var _0x2af9bc=_0x1207a5,_0x2593f8,_0x43cd15;const _0x27fd88=this[_0x2af9bc(0x1b9)]()+'/'+_0x89f472['objectType']+_0x2af9bc(0x34f)+_0x89f472[_0x2af9bc(0x381)],_0x5b8099=await this['_HTTPService'][_0x2af9bc(0x228)](_0x27fd88,{'body':_0x89f472});if(((_0x43cd15=(_0x2593f8=_0x5b8099==null?void 0x0:_0x5b8099['body'])==null?void 0x0:_0x2593f8[_0x2af9bc(0x291)])==null?void 0x0:_0x43cd15[_0x2af9bc(0x20d)])!==0x1)throw new Error(_0x2af9bc(0x2f0));}async[_0x1207a5(0x1f9)](_0x29b6a9){var _0x1ed217=_0x1207a5;const _0x25fb74=this[_0x1ed217(0x1b9)]()+'/'+_0x29b6a9[_0x1ed217(0x360)]+_0x1ed217(0x34f)+_0x29b6a9['objectID']+_0x1ed217(0x197);return(await this[_0x1ed217(0x165)][_0x1ed217(0x321)](_0x25fb74,{'body':_0x29b6a9}))[_0x1ed217(0x405)][_0x1ed217(0x2c5)];}async[_0x1207a5(0x2a1)](_0x397a1f){var _0x4f8871=_0x1207a5;const _0x35a746=this[_0x4f8871(0x1b9)]()+'/-/object/-/batch_allowed';return(await this[_0x4f8871(0x165)][_0x4f8871(0x321)](_0x35a746,{'body':{'requests':_0x397a1f}}))[_0x4f8871(0x405)][_0x4f8871(0x30f)];}async[_0x1207a5(0x315)](_0x2bf479){var _0x116981=_0x1207a5;const _0x3af5ed=this[_0x116981(0x1b9)]()+'/'+_0x2bf479[_0x116981(0x360)]+_0x116981(0x278),_0xe044aa=await this[_0x116981(0x165)][_0x116981(0x321)](_0x3af5ed,{'body':_0x2bf479});return{'roles':_0xe044aa[_0x116981(0x405)][_0x116981(0x10f)],'actions':_0xe044aa['body'][_0x116981(0x2c5)]};}async['deleteCollaborator'](_0x2d111b){var _0x4931ab=_0x1207a5;const _0x24d02e=this[_0x4931ab(0x1b9)]()+_0x4931ab(0x191);await this[_0x4931ab(0x165)][_0x4931ab(0x157)](_0x24d02e,{'params':{'collaboratorID':_0x2d111b[_0x4931ab(0x279)],'objectID':_0x2d111b[_0x4931ab(0x381)],'unitID':_0x2d111b[_0x4931ab(0x1e8)]}});}async[_0x1207a5(0x1a6)](_0x28919c){var _0x45d6af=_0x1207a5;const _0x41e9ce=this[_0x45d6af(0x1b9)]()+_0x45d6af(0x191);await this[_0x45d6af(0x165)][_0x45d6af(0x188)](_0x41e9ce,{'body':_0x28919c});}async[_0x1207a5(0x39b)](_0x51e343){var _0x24c465=_0x1207a5;const _0x123ac0=this['_getAPIPrefixPath']()+_0x24c465(0x191);await this[_0x24c465(0x165)]['post'](_0x123ac0,{'body':_0x51e343});}async[_0x1207a5(0x29f)](_0x5d6c51){var _0x503876=_0x1207a5;const _0x1a4bad=this['_getAPIPrefixPath']()+_0x503876(0x191);return(await this[_0x503876(0x165)][_0x503876(0x23a)](_0x1a4bad,{'params':{'objectID':_0x5d6c51[_0x503876(0x381)],'unitID':_0x5d6c51[_0x503876(0x1e8)]}}))[_0x503876(0x405)]['collaborators'];}async[_0x1207a5(0x3f0)](_0x43d799){var _0xae2fe8=_0x1207a5;const _0x1318b2=this[_0xae2fe8(0x1b9)]()+'/collaborator';await this[_0xae2fe8(0x165)]['put'](_0x1318b2,{'body':_0x43d799});}};Rt=pr([Jt(0x0,_0x1e1c30(_0x1e8654)),Jt(0x1,_0x1e1c30(_0x273f4e))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5cc7c9){var _0x268502=_0x1207a5;return _0x5cc7c9&&_0x5cc7c9[_0x268502(0x249)]&&Object[_0x268502(0x2b6)][_0x268502(0x257)][_0x268502(0x2dd)](_0x5cc7c9,'default')?_0x5cc7c9[_0x268502(0x3f5)]:_0x5cc7c9;}var Ve={'exports':{}};function gr(_0x3a655c){var _0x1125ff=_0x1207a5;throw new Error(_0x1125ff(0x1be)+_0x3a655c+_0x1125ff(0x132));}var Ge={'exports':{}},Sr=Ge['exports'],Xt;function ie(){var _0x58ffc6=_0x1207a5;return Xt||(Xt=0x1,function(_0x279878,_0x640453){(function(_0x3fa751,_0x5ec8b5){var _0x474e86=_0x4c70;_0x279878[_0x474e86(0x1c8)]=_0x5ec8b5();}(Sr,function(){var _0x257dbf=_0x257dbf||function(_0xebdee2,_0x33c39a){var _0x1fc35e=_0x4c70,_0x179c52;if(typeof window<'u'&&window['crypto']&&(_0x179c52=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x179c52=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1fc35e(0x3d4)]&&(_0x179c52=globalThis[_0x1fc35e(0x3d4)]),!_0x179c52&&typeof window<'u'&&window['msCrypto']&&(_0x179c52=window[_0x1fc35e(0x205)]),!_0x179c52&&typeof pt<'u'&&pt['crypto']&&(_0x179c52=pt[_0x1fc35e(0x3d4)]),!_0x179c52&&typeof gr==_0x1fc35e(0x1cf))try{_0x179c52=require(_0x1fc35e(0x3d4));}catch{}var _0x1b33e2=function(){var _0x3b0fa7=_0x1fc35e;if(_0x179c52){if(typeof _0x179c52[_0x3b0fa7(0x273)]==_0x3b0fa7(0x1cf))try{return _0x179c52[_0x3b0fa7(0x273)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x179c52[_0x3b0fa7(0x14e)]==_0x3b0fa7(0x1cf))try{return _0x179c52[_0x3b0fa7(0x14e)](0x4)[_0x3b0fa7(0x3bc)]();}catch{}}throw new Error(_0x3b0fa7(0x240));},_0x1c6dfc=Object[_0x1fc35e(0x303)]||(function(){function _0x106238(){}return function(_0xeb83f9){var _0x21c0d7=_0x4c70,_0x41e676;return _0x106238[_0x21c0d7(0x2b6)]=_0xeb83f9,_0x41e676=new _0x106238(),_0x106238['prototype']=null,_0x41e676;};}()),_0x1a1524={},_0x4ff5cb=_0x1a1524[_0x1fc35e(0x1a0)]={},_0x16c1ae=_0x4ff5cb[_0x1fc35e(0x316)]=(function(){return{'extend':function(_0x9b75f1){var _0x190937=_0x4c70,_0xb9b622=_0x1c6dfc(this);return _0x9b75f1&&_0xb9b622['mixIn'](_0x9b75f1),(!_0xb9b622[_0x190937(0x257)](_0x190937(0x2b5))||this[_0x190937(0x2b5)]===_0xb9b622[_0x190937(0x2b5)])&&(_0xb9b622['init']=function(){var _0x13d3a2=_0x190937;_0xb9b622[_0x13d3a2(0x1e5)][_0x13d3a2(0x2b5)]['apply'](this,arguments);}),_0xb9b622[_0x190937(0x2b5)][_0x190937(0x2b6)]=_0xb9b622,_0xb9b622['$super']=this,_0xb9b622;},'create':function(){var _0x2bd321=_0x4c70,_0x3db669=this[_0x2bd321(0x375)]();return _0x3db669[_0x2bd321(0x2b5)]['apply'](_0x3db669,arguments),_0x3db669;},'init':function(){},'mixIn':function(_0x3fe792){var _0x5eb88f=_0x4c70;for(var _0x5067d6 in _0x3fe792)_0x3fe792[_0x5eb88f(0x257)](_0x5067d6)&&(this[_0x5067d6]=_0x3fe792[_0x5067d6]);_0x3fe792[_0x5eb88f(0x257)](_0x5eb88f(0x34c))&&(this['toString']=_0x3fe792[_0x5eb88f(0x34c)]);},'clone':function(){var _0x19c736=_0x4c70;return this[_0x19c736(0x2b5)][_0x19c736(0x2b6)][_0x19c736(0x375)](this);}};}()),_0x244f24=_0x4ff5cb['WordArray']=_0x16c1ae[_0x1fc35e(0x375)]({'init':function(_0x341e42,_0x9a09a2){var _0x4508d1=_0x1fc35e;_0x341e42=this[_0x4508d1(0x38d)]=_0x341e42||[],_0x9a09a2!=_0x33c39a?this[_0x4508d1(0x339)]=_0x9a09a2:this[_0x4508d1(0x339)]=_0x341e42[_0x4508d1(0x3a6)]*0x4;},'toString':function(_0x5de522){var _0x2f2366=_0x1fc35e;return(_0x5de522||_0x60c476)[_0x2f2366(0x324)](this);},'concat':function(_0x2a2a17){var _0x19a55f=_0x1fc35e,_0x289832=this[_0x19a55f(0x38d)],_0x14ac8c=_0x2a2a17[_0x19a55f(0x38d)],_0x20d6bc=this['sigBytes'],_0x3c3fef=_0x2a2a17['sigBytes'];if(this[_0x19a55f(0x2d4)](),_0x20d6bc%0x4)for(var _0x569667=0x0;_0x569667<_0x3c3fef;_0x569667++){var _0x246259=_0x14ac8c[_0x569667>>>0x2]>>>0x18-_0x569667%0x4*0x8&0xff;_0x289832[_0x20d6bc+_0x569667>>>0x2]|=_0x246259<<0x18-(_0x20d6bc+_0x569667)%0x4*0x8;}else{for(var _0xdecac9=0x0;_0xdecac9<_0x3c3fef;_0xdecac9+=0x4)_0x289832[_0x20d6bc+_0xdecac9>>>0x2]=_0x14ac8c[_0xdecac9>>>0x2];}return this[_0x19a55f(0x339)]+=_0x3c3fef,this;},'clamp':function(){var _0xff487a=_0x1fc35e,_0x248e72=this[_0xff487a(0x38d)],_0x1cb33a=this[_0xff487a(0x339)];_0x248e72[_0x1cb33a>>>0x2]&=0xffffffff<<0x20-_0x1cb33a%0x4*0x8,_0x248e72[_0xff487a(0x3a6)]=_0xebdee2[_0xff487a(0x35f)](_0x1cb33a/0x4);},'clone':function(){var _0x227ff3=_0x1fc35e,_0x48d35a=_0x16c1ae[_0x227ff3(0x3b7)]['call'](this);return _0x48d35a[_0x227ff3(0x38d)]=this[_0x227ff3(0x38d)][_0x227ff3(0x27e)](0x0),_0x48d35a;},'random':function(_0x3288fa){var _0x2d9c7c=_0x1fc35e;for(var _0x159dc2=[],_0x2ae2b7=0x0;_0x2ae2b7<_0x3288fa;_0x2ae2b7+=0x4)_0x159dc2['push'](_0x1b33e2());return new _0x244f24[(_0x2d9c7c(0x2b5))](_0x159dc2,_0x3288fa);}}),_0x20e8d6=_0x1a1524[_0x1fc35e(0x116)]={},_0x60c476=_0x20e8d6[_0x1fc35e(0x250)]={'stringify':function(_0x56571b){var _0xa2054e=_0x1fc35e;for(var _0x589917=_0x56571b[_0xa2054e(0x38d)],_0x2633b1=_0x56571b[_0xa2054e(0x339)],_0x54f328=[],_0x3d0d0e=0x0;_0x3d0d0e<_0x2633b1;_0x3d0d0e++){var _0x1ba720=_0x589917[_0x3d0d0e>>>0x2]>>>0x18-_0x3d0d0e%0x4*0x8&0xff;_0x54f328[_0xa2054e(0x367)]((_0x1ba720>>>0x4)[_0xa2054e(0x34c)](0x10)),_0x54f328[_0xa2054e(0x367)]((_0x1ba720&0xf)[_0xa2054e(0x34c)](0x10));}return _0x54f328[_0xa2054e(0x200)]('');},'parse':function(_0x4075a1){var _0x2ea931=_0x1fc35e;for(var _0x42c9e4=_0x4075a1[_0x2ea931(0x3a6)],_0x1fd909=[],_0x189f3e=0x0;_0x189f3e<_0x42c9e4;_0x189f3e+=0x2)_0x1fd909[_0x189f3e>>>0x3]|=parseInt(_0x4075a1['substr'](_0x189f3e,0x2),0x10)<<0x18-_0x189f3e%0x8*0x4;return new _0x244f24[(_0x2ea931(0x2b5))](_0x1fd909,_0x42c9e4/0x2);}},_0x16fc9f=_0x20e8d6[_0x1fc35e(0x26c)]={'stringify':function(_0x2d560b){var _0x4abb19=_0x1fc35e;for(var _0x4bba2c=_0x2d560b[_0x4abb19(0x38d)],_0xfea79d=_0x2d560b[_0x4abb19(0x339)],_0x31c75d=[],_0x4abe59=0x0;_0x4abe59<_0xfea79d;_0x4abe59++){var _0x1bdca1=_0x4bba2c[_0x4abe59>>>0x2]>>>0x18-_0x4abe59%0x4*0x8&0xff;_0x31c75d[_0x4abb19(0x367)](String[_0x4abb19(0x2da)](_0x1bdca1));}return _0x31c75d[_0x4abb19(0x200)]('');},'parse':function(_0x590161){var _0x316320=_0x1fc35e;for(var _0x58813d=_0x590161[_0x316320(0x3a6)],_0x2e3b80=[],_0x59b3bd=0x0;_0x59b3bd<_0x58813d;_0x59b3bd++)_0x2e3b80[_0x59b3bd>>>0x2]|=(_0x590161[_0x316320(0x301)](_0x59b3bd)&0xff)<<0x18-_0x59b3bd%0x4*0x8;return new _0x244f24[(_0x316320(0x2b5))](_0x2e3b80,_0x58813d);}},_0x9056d7=_0x20e8d6[_0x1fc35e(0x1fa)]={'stringify':function(_0x43349b){var _0x44ae14=_0x1fc35e;try{return decodeURIComponent(escape(_0x16fc9f[_0x44ae14(0x324)](_0x43349b)));}catch{throw new Error(_0x44ae14(0x287));}},'parse':function(_0x56fcfa){var _0x2062ba=_0x1fc35e;return _0x16fc9f[_0x2062ba(0x215)](unescape(encodeURIComponent(_0x56fcfa)));}},_0xc6fb85=_0x4ff5cb[_0x1fc35e(0x310)]=_0x16c1ae[_0x1fc35e(0x375)]({'reset':function(){var _0x4d2c34=_0x1fc35e;this[_0x4d2c34(0x1b5)]=new _0x244f24[(_0x4d2c34(0x2b5))](),this['_nDataBytes']=0x0;},'_append':function(_0x101486){var _0x3ebf91=_0x1fc35e;typeof _0x101486=='string'&&(_0x101486=_0x9056d7[_0x3ebf91(0x215)](_0x101486)),this[_0x3ebf91(0x1b5)][_0x3ebf91(0x1cd)](_0x101486),this['_nDataBytes']+=_0x101486[_0x3ebf91(0x339)];},'_process':function(_0x3233e0){var _0x22f3ac=_0x1fc35e,_0x23ebf7,_0x405c0b=this[_0x22f3ac(0x1b5)],_0x1051f8=_0x405c0b[_0x22f3ac(0x38d)],_0x135e8b=_0x405c0b[_0x22f3ac(0x339)],_0x213ec4=this[_0x22f3ac(0x13b)],_0x3937ad=_0x213ec4*0x4,_0x4c4ad5=_0x135e8b/_0x3937ad;_0x3233e0?_0x4c4ad5=_0xebdee2[_0x22f3ac(0x35f)](_0x4c4ad5):_0x4c4ad5=_0xebdee2[_0x22f3ac(0x271)]((_0x4c4ad5|0x0)-this['_minBufferSize'],0x0);var _0x588212=_0x4c4ad5*_0x213ec4,_0x3ffca7=_0xebdee2[_0x22f3ac(0x109)](_0x588212*0x4,_0x135e8b);if(_0x588212){for(var _0x1a126f=0x0;_0x1a126f<_0x588212;_0x1a126f+=_0x213ec4)this[_0x22f3ac(0x3a9)](_0x1051f8,_0x1a126f);_0x23ebf7=_0x1051f8['splice'](0x0,_0x588212),_0x405c0b[_0x22f3ac(0x339)]-=_0x3ffca7;}return new _0x244f24['init'](_0x23ebf7,_0x3ffca7);},'clone':function(){var _0x4bf78f=_0x1fc35e,_0x53552f=_0x16c1ae[_0x4bf78f(0x3b7)][_0x4bf78f(0x2dd)](this);return _0x53552f[_0x4bf78f(0x1b5)]=this[_0x4bf78f(0x1b5)]['clone'](),_0x53552f;},'_minBufferSize':0x0});_0x4ff5cb[_0x1fc35e(0x319)]=_0xc6fb85[_0x1fc35e(0x375)]({'cfg':_0x16c1ae[_0x1fc35e(0x375)](),'init':function(_0x5582d0){var _0x2f578f=_0x1fc35e;this['cfg']=this[_0x2f578f(0x3d8)][_0x2f578f(0x375)](_0x5582d0),this[_0x2f578f(0x242)]();},'reset':function(){var _0x46933a=_0x1fc35e;_0xc6fb85[_0x46933a(0x242)]['call'](this),this['_doReset']();},'update':function(_0x376d16){var _0x4f4e7d=_0x1fc35e;return this[_0x4f4e7d(0x2e4)](_0x376d16),this[_0x4f4e7d(0x29c)](),this;},'finalize':function(_0x347eba){var _0x24d6bc=_0x1fc35e;_0x347eba&&this[_0x24d6bc(0x2e4)](_0x347eba);var _0x2d9266=this[_0x24d6bc(0x3a2)]();return _0x2d9266;},'blockSize':0x10,'_createHelper':function(_0x51ea3b){return function(_0x5e3f79,_0x19fb69){var _0x2ef4b5=_0x4c70;return new _0x51ea3b[(_0x2ef4b5(0x2b5))](_0x19fb69)[_0x2ef4b5(0x264)](_0x5e3f79);};},'_createHmacHelper':function(_0x362758){return function(_0x133e00,_0x244503){var _0x85dc23=_0x4c70;return new _0x3c68cc['HMAC'][(_0x85dc23(0x2b5))](_0x362758,_0x244503)['finalize'](_0x133e00);};}});var _0x3c68cc=_0x1a1524['algo']={};return _0x1a1524;}(Math);return _0x257dbf;}));}(Ge)),Ge[_0x58ffc6(0x1c8)];}var We={'exports':{}},Er=We[_0x1207a5(0x1c8)],Zt;function Di(){var _0x12cdf9=_0x1207a5;return Zt||(Zt=0x1,function(_0x262057,_0x36f042){(function(_0x507d8c,_0x43462d){var _0x5995e6=_0x4c70;_0x262057[_0x5995e6(0x1c8)]=_0x43462d(ie());}(Er,function(_0x3b59fc){var _0x238540=_0x4c70;return(function(){var _0xd1f435=_0x4c70,_0x42426b=_0x3b59fc,_0x242202=_0x42426b['lib'],_0x436199=_0x242202[_0xd1f435(0x126)],_0x1d83f3=_0x42426b[_0xd1f435(0x116)];_0x1d83f3[_0xd1f435(0x265)]={'stringify':function(_0x5c02bc){var _0x2d304a=_0xd1f435,_0x3f941a=_0x5c02bc['words'],_0x1bcce9=_0x5c02bc[_0x2d304a(0x339)],_0x3cb567=this[_0x2d304a(0x33d)];_0x5c02bc[_0x2d304a(0x2d4)]();for(var _0x48f884=[],_0x1d1b8b=0x0;_0x1d1b8b<_0x1bcce9;_0x1d1b8b+=0x3)for(var _0x3d0009=_0x3f941a[_0x1d1b8b>>>0x2]>>>0x18-_0x1d1b8b%0x4*0x8&0xff,_0x3103ec=_0x3f941a[_0x1d1b8b+0x1>>>0x2]>>>0x18-(_0x1d1b8b+0x1)%0x4*0x8&0xff,_0x53c679=_0x3f941a[_0x1d1b8b+0x2>>>0x2]>>>0x18-(_0x1d1b8b+0x2)%0x4*0x8&0xff,_0x451608=_0x3d0009<<0x10|_0x3103ec<<0x8|_0x53c679,_0x3010b1=0x0;_0x3010b1<0x4&&_0x1d1b8b+_0x3010b1*0.75<_0x1bcce9;_0x3010b1++)_0x48f884[_0x2d304a(0x367)](_0x3cb567[_0x2d304a(0x158)](_0x451608>>>0x6*(0x3-_0x3010b1)&0x3f));var _0x120046=_0x3cb567[_0x2d304a(0x158)](0x40);if(_0x120046){for(;_0x48f884[_0x2d304a(0x3a6)]%0x4;)_0x48f884['push'](_0x120046);}return _0x48f884[_0x2d304a(0x200)]('');},'parse':function(_0x1bdcb9){var _0x471837=_0xd1f435,_0x2cb9be=_0x1bdcb9[_0x471837(0x3a6)],_0x50305f=this['_map'],_0x42122b=this['_reverseMap'];if(!_0x42122b){_0x42122b=this['_reverseMap']=[];for(var _0x1cb6c9=0x0;_0x1cb6c9<_0x50305f[_0x471837(0x3a6)];_0x1cb6c9++)_0x42122b[_0x50305f['charCodeAt'](_0x1cb6c9)]=_0x1cb6c9;}var _0x105f7d=_0x50305f[_0x471837(0x158)](0x40);if(_0x105f7d){var _0x4f1968=_0x1bdcb9[_0x471837(0x3a1)](_0x105f7d);_0x4f1968!==-0x1&&(_0x2cb9be=_0x4f1968);}return _0x4dea80(_0x1bdcb9,_0x2cb9be,_0x42122b);},'_map':_0xd1f435(0x2a7)};function _0x4dea80(_0x4b1b8d,_0xc32e8f,_0x1b45b4){var _0x2a4add=_0xd1f435;for(var _0x17332c=[],_0x10b4c6=0x0,_0xdf139c=0x0;_0xdf139c<_0xc32e8f;_0xdf139c++)if(_0xdf139c%0x4){var _0x24a745=_0x1b45b4[_0x4b1b8d['charCodeAt'](_0xdf139c-0x1)]<<_0xdf139c%0x4*0x2,_0x1485db=_0x1b45b4[_0x4b1b8d[_0x2a4add(0x301)](_0xdf139c)]>>>0x6-_0xdf139c%0x4*0x2,_0x41d90c=_0x24a745|_0x1485db;_0x17332c[_0x10b4c6>>>0x2]|=_0x41d90c<<0x18-_0x10b4c6%0x4*0x8,_0x10b4c6++;}return _0x436199[_0x2a4add(0x303)](_0x17332c,_0x10b4c6);}}()),_0x3b59fc[_0x238540(0x116)][_0x238540(0x265)];}));}(We)),We[_0x12cdf9(0x1c8)];}var Ke={'exports':{}},Ir=Ke['exports'],Qt;function Tr(){var _0x3373a5=_0x1207a5;return Qt||(Qt=0x1,function(_0x8b404c,_0x274620){(function(_0x53c99b,_0x3e8a44){_0x8b404c['exports']=_0x3e8a44(ie());}(Ir,function(_0x5627d){return function(_0x3d982e){var _0x2d17f2=_0x4c70,_0x32732e=_0x5627d,_0x40e61f=_0x32732e[_0x2d17f2(0x1a0)],_0x44d025=_0x40e61f[_0x2d17f2(0x126)],_0x7dfff9=_0x40e61f[_0x2d17f2(0x319)],_0x2c8bd0=_0x32732e['algo'],_0x2235f6=[];(function(){var _0x237c06=_0x2d17f2;for(var _0x8b62=0x0;_0x8b62<0x40;_0x8b62++)_0x2235f6[_0x8b62]=_0x3d982e[_0x237c06(0x28c)](_0x3d982e[_0x237c06(0x19a)](_0x8b62+0x1))*0x100000000|0x0;}());var _0x18c56e=_0x2c8bd0[_0x2d17f2(0x387)]=_0x7dfff9['extend']({'_doReset':function(){this['_hash']=new _0x44d025['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x142a7f,_0x56643b){var _0x3b7ab2=_0x2d17f2;for(var _0x3c748c=0x0;_0x3c748c<0x10;_0x3c748c++){var _0x18a690=_0x56643b+_0x3c748c,_0xfa3637=_0x142a7f[_0x18a690];_0x142a7f[_0x18a690]=(_0xfa3637<<0x8|_0xfa3637>>>0x18)&0xff00ff|(_0xfa3637<<0x18|_0xfa3637>>>0x8)&0xff00ff00;}var _0x194473=this[_0x3b7ab2(0x1d2)][_0x3b7ab2(0x38d)],_0x350446=_0x142a7f[_0x56643b+0x0],_0x16d03d=_0x142a7f[_0x56643b+0x1],_0x550d51=_0x142a7f[_0x56643b+0x2],_0x72c912=_0x142a7f[_0x56643b+0x3],_0x4df258=_0x142a7f[_0x56643b+0x4],_0x585631=_0x142a7f[_0x56643b+0x5],_0xe29367=_0x142a7f[_0x56643b+0x6],_0x276fe2=_0x142a7f[_0x56643b+0x7],_0x395452=_0x142a7f[_0x56643b+0x8],_0x118ef0=_0x142a7f[_0x56643b+0x9],_0x1cd295=_0x142a7f[_0x56643b+0xa],_0x2ea4e5=_0x142a7f[_0x56643b+0xb],_0x207681=_0x142a7f[_0x56643b+0xc],_0x457eee=_0x142a7f[_0x56643b+0xd],_0x2be473=_0x142a7f[_0x56643b+0xe],_0x5497a9=_0x142a7f[_0x56643b+0xf],_0x35d8fb=_0x194473[0x0],_0x2f4ea1=_0x194473[0x1],_0x498d6e=_0x194473[0x2],_0xf3951=_0x194473[0x3];_0x35d8fb=_0x207ca2(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x350446,0x7,_0x2235f6[0x0]),_0xf3951=_0x207ca2(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x16d03d,0xc,_0x2235f6[0x1]),_0x498d6e=_0x207ca2(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x550d51,0x11,_0x2235f6[0x2]),_0x2f4ea1=_0x207ca2(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x72c912,0x16,_0x2235f6[0x3]),_0x35d8fb=_0x207ca2(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x4df258,0x7,_0x2235f6[0x4]),_0xf3951=_0x207ca2(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x585631,0xc,_0x2235f6[0x5]),_0x498d6e=_0x207ca2(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0xe29367,0x11,_0x2235f6[0x6]),_0x2f4ea1=_0x207ca2(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x276fe2,0x16,_0x2235f6[0x7]),_0x35d8fb=_0x207ca2(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x395452,0x7,_0x2235f6[0x8]),_0xf3951=_0x207ca2(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x118ef0,0xc,_0x2235f6[0x9]),_0x498d6e=_0x207ca2(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x1cd295,0x11,_0x2235f6[0xa]),_0x2f4ea1=_0x207ca2(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x2ea4e5,0x16,_0x2235f6[0xb]),_0x35d8fb=_0x207ca2(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x207681,0x7,_0x2235f6[0xc]),_0xf3951=_0x207ca2(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x457eee,0xc,_0x2235f6[0xd]),_0x498d6e=_0x207ca2(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x2be473,0x11,_0x2235f6[0xe]),_0x2f4ea1=_0x207ca2(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x5497a9,0x16,_0x2235f6[0xf]),_0x35d8fb=_0x2b9a5d(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x16d03d,0x5,_0x2235f6[0x10]),_0xf3951=_0x2b9a5d(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xe29367,0x9,_0x2235f6[0x11]),_0x498d6e=_0x2b9a5d(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x2ea4e5,0xe,_0x2235f6[0x12]),_0x2f4ea1=_0x2b9a5d(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x350446,0x14,_0x2235f6[0x13]),_0x35d8fb=_0x2b9a5d(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x585631,0x5,_0x2235f6[0x14]),_0xf3951=_0x2b9a5d(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x1cd295,0x9,_0x2235f6[0x15]),_0x498d6e=_0x2b9a5d(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x5497a9,0xe,_0x2235f6[0x16]),_0x2f4ea1=_0x2b9a5d(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x4df258,0x14,_0x2235f6[0x17]),_0x35d8fb=_0x2b9a5d(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x118ef0,0x5,_0x2235f6[0x18]),_0xf3951=_0x2b9a5d(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x2be473,0x9,_0x2235f6[0x19]),_0x498d6e=_0x2b9a5d(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x72c912,0xe,_0x2235f6[0x1a]),_0x2f4ea1=_0x2b9a5d(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x395452,0x14,_0x2235f6[0x1b]),_0x35d8fb=_0x2b9a5d(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x457eee,0x5,_0x2235f6[0x1c]),_0xf3951=_0x2b9a5d(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x550d51,0x9,_0x2235f6[0x1d]),_0x498d6e=_0x2b9a5d(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x276fe2,0xe,_0x2235f6[0x1e]),_0x2f4ea1=_0x2b9a5d(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x207681,0x14,_0x2235f6[0x1f]),_0x35d8fb=_0x4d2108(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x585631,0x4,_0x2235f6[0x20]),_0xf3951=_0x4d2108(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x395452,0xb,_0x2235f6[0x21]),_0x498d6e=_0x4d2108(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x2ea4e5,0x10,_0x2235f6[0x22]),_0x2f4ea1=_0x4d2108(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x2be473,0x17,_0x2235f6[0x23]),_0x35d8fb=_0x4d2108(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x16d03d,0x4,_0x2235f6[0x24]),_0xf3951=_0x4d2108(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x4df258,0xb,_0x2235f6[0x25]),_0x498d6e=_0x4d2108(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x276fe2,0x10,_0x2235f6[0x26]),_0x2f4ea1=_0x4d2108(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x1cd295,0x17,_0x2235f6[0x27]),_0x35d8fb=_0x4d2108(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x457eee,0x4,_0x2235f6[0x28]),_0xf3951=_0x4d2108(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x350446,0xb,_0x2235f6[0x29]),_0x498d6e=_0x4d2108(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x72c912,0x10,_0x2235f6[0x2a]),_0x2f4ea1=_0x4d2108(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0xe29367,0x17,_0x2235f6[0x2b]),_0x35d8fb=_0x4d2108(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x118ef0,0x4,_0x2235f6[0x2c]),_0xf3951=_0x4d2108(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x207681,0xb,_0x2235f6[0x2d]),_0x498d6e=_0x4d2108(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x5497a9,0x10,_0x2235f6[0x2e]),_0x2f4ea1=_0x4d2108(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x550d51,0x17,_0x2235f6[0x2f]),_0x35d8fb=_0x3f8939(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x350446,0x6,_0x2235f6[0x30]),_0xf3951=_0x3f8939(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x276fe2,0xa,_0x2235f6[0x31]),_0x498d6e=_0x3f8939(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x2be473,0xf,_0x2235f6[0x32]),_0x2f4ea1=_0x3f8939(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x585631,0x15,_0x2235f6[0x33]),_0x35d8fb=_0x3f8939(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x207681,0x6,_0x2235f6[0x34]),_0xf3951=_0x3f8939(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x72c912,0xa,_0x2235f6[0x35]),_0x498d6e=_0x3f8939(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x1cd295,0xf,_0x2235f6[0x36]),_0x2f4ea1=_0x3f8939(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x16d03d,0x15,_0x2235f6[0x37]),_0x35d8fb=_0x3f8939(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x395452,0x6,_0x2235f6[0x38]),_0xf3951=_0x3f8939(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x5497a9,0xa,_0x2235f6[0x39]),_0x498d6e=_0x3f8939(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0xe29367,0xf,_0x2235f6[0x3a]),_0x2f4ea1=_0x3f8939(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x457eee,0x15,_0x2235f6[0x3b]),_0x35d8fb=_0x3f8939(_0x35d8fb,_0x2f4ea1,_0x498d6e,_0xf3951,_0x4df258,0x6,_0x2235f6[0x3c]),_0xf3951=_0x3f8939(_0xf3951,_0x35d8fb,_0x2f4ea1,_0x498d6e,_0x2ea4e5,0xa,_0x2235f6[0x3d]),_0x498d6e=_0x3f8939(_0x498d6e,_0xf3951,_0x35d8fb,_0x2f4ea1,_0x550d51,0xf,_0x2235f6[0x3e]),_0x2f4ea1=_0x3f8939(_0x2f4ea1,_0x498d6e,_0xf3951,_0x35d8fb,_0x118ef0,0x15,_0x2235f6[0x3f]),_0x194473[0x0]=_0x194473[0x0]+_0x35d8fb|0x0,_0x194473[0x1]=_0x194473[0x1]+_0x2f4ea1|0x0,_0x194473[0x2]=_0x194473[0x2]+_0x498d6e|0x0,_0x194473[0x3]=_0x194473[0x3]+_0xf3951|0x0;},'_doFinalize':function(){var _0x4b2d54=_0x2d17f2,_0x4b5476=this[_0x4b2d54(0x1b5)],_0x578476=_0x4b5476['words'],_0xe1d5c2=this[_0x4b2d54(0x24e)]*0x8,_0x34e808=_0x4b5476['sigBytes']*0x8;_0x578476[_0x34e808>>>0x5]|=0x80<<0x18-_0x34e808%0x20;var _0x471ca6=_0x3d982e[_0x4b2d54(0x2e5)](_0xe1d5c2/0x100000000),_0x5d70dd=_0xe1d5c2;_0x578476[(_0x34e808+0x40>>>0x9<<0x4)+0xf]=(_0x471ca6<<0x8|_0x471ca6>>>0x18)&0xff00ff|(_0x471ca6<<0x18|_0x471ca6>>>0x8)&0xff00ff00,_0x578476[(_0x34e808+0x40>>>0x9<<0x4)+0xe]=(_0x5d70dd<<0x8|_0x5d70dd>>>0x18)&0xff00ff|(_0x5d70dd<<0x18|_0x5d70dd>>>0x8)&0xff00ff00,_0x4b5476[_0x4b2d54(0x339)]=(_0x578476[_0x4b2d54(0x3a6)]+0x1)*0x4,this[_0x4b2d54(0x29c)]();for(var _0x41b4a5=this['_hash'],_0x27240e=_0x41b4a5['words'],_0x457950=0x0;_0x457950<0x4;_0x457950++){var _0x548826=_0x27240e[_0x457950];_0x27240e[_0x457950]=(_0x548826<<0x8|_0x548826>>>0x18)&0xff00ff|(_0x548826<<0x18|_0x548826>>>0x8)&0xff00ff00;}return _0x41b4a5;},'clone':function(){var _0x4abcb7=_0x2d17f2,_0x2e3901=_0x7dfff9[_0x4abcb7(0x3b7)][_0x4abcb7(0x2dd)](this);return _0x2e3901[_0x4abcb7(0x1d2)]=this[_0x4abcb7(0x1d2)][_0x4abcb7(0x3b7)](),_0x2e3901;}});function _0x207ca2(_0x327a3b,_0x5c1cec,_0x30427e,_0xe9808a,_0x310a9d,_0x1632b4,_0x3f56ac){var _0x547a8d=_0x327a3b+(_0x5c1cec&_0x30427e|~_0x5c1cec&_0xe9808a)+_0x310a9d+_0x3f56ac;return(_0x547a8d<<_0x1632b4|_0x547a8d>>>0x20-_0x1632b4)+_0x5c1cec;}function _0x2b9a5d(_0x349a76,_0x31bf4c,_0x63e373,_0x344162,_0x2fedd7,_0x28af02,_0x1719c2){var _0x1b2c67=_0x349a76+(_0x31bf4c&_0x344162|_0x63e373&~_0x344162)+_0x2fedd7+_0x1719c2;return(_0x1b2c67<<_0x28af02|_0x1b2c67>>>0x20-_0x28af02)+_0x31bf4c;}function _0x4d2108(_0x1c8b02,_0xcc0822,_0x2af576,_0x24176a,_0x36904f,_0x5d828f,_0x18109e){var _0x1f56fe=_0x1c8b02+(_0xcc0822^_0x2af576^_0x24176a)+_0x36904f+_0x18109e;return(_0x1f56fe<<_0x5d828f|_0x1f56fe>>>0x20-_0x5d828f)+_0xcc0822;}function _0x3f8939(_0x1b70ac,_0x30f9b1,_0x1be97d,_0x20f76e,_0xabdfce,_0x1bf226,_0x5e84af){var _0x1da12d=_0x1b70ac+(_0x1be97d^(_0x30f9b1|~_0x20f76e))+_0xabdfce+_0x5e84af;return(_0x1da12d<<_0x1bf226|_0x1da12d>>>0x20-_0x1bf226)+_0x30f9b1;}_0x32732e[_0x2d17f2(0x387)]=_0x7dfff9['_createHelper'](_0x18c56e),_0x32732e[_0x2d17f2(0x24f)]=_0x7dfff9['_createHmacHelper'](_0x18c56e);}(Math),_0x5627d['MD5'];}));}(Ke)),Ke[_0x3373a5(0x1c8)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x1207a5(0x1c8)],ei;function Rr(){var _0x56d9a3=_0x1207a5;return ei||(ei=0x1,function(_0x569813,_0x735577){(function(_0x4210e5,_0xfb2eee){var _0xa7d24=_0x4c70;_0x569813[_0xa7d24(0x1c8)]=_0xfb2eee(ie());}(Cr,function(_0x29817e){var _0x81d6ae=_0x4c70;return(function(){var _0x135918=_0x4c70,_0x34b65e=_0x29817e,_0x2c5fa7=_0x34b65e[_0x135918(0x1a0)],_0xbd9e48=_0x2c5fa7['WordArray'],_0xdb65d4=_0x2c5fa7[_0x135918(0x319)],_0x301e14=_0x34b65e[_0x135918(0x2b4)],_0x4a823c=[],_0x4bee4e=_0x301e14[_0x135918(0x345)]=_0xdb65d4['extend']({'_doReset':function(){var _0x1a5455=_0x135918;this[_0x1a5455(0x1d2)]=new _0xbd9e48[(_0x1a5455(0x2b5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x30af36,_0x4aef7d){var _0x5e94ae=_0x135918;for(var _0x41c3b0=this[_0x5e94ae(0x1d2)][_0x5e94ae(0x38d)],_0x57657b=_0x41c3b0[0x0],_0x3f0fa9=_0x41c3b0[0x1],_0x4299e6=_0x41c3b0[0x2],_0x1c5674=_0x41c3b0[0x3],_0x1d7395=_0x41c3b0[0x4],_0x130eb3=0x0;_0x130eb3<0x50;_0x130eb3++){if(_0x130eb3<0x10)_0x4a823c[_0x130eb3]=_0x30af36[_0x4aef7d+_0x130eb3]|0x0;else{var _0x31bda9=_0x4a823c[_0x130eb3-0x3]^_0x4a823c[_0x130eb3-0x8]^_0x4a823c[_0x130eb3-0xe]^_0x4a823c[_0x130eb3-0x10];_0x4a823c[_0x130eb3]=_0x31bda9<<0x1|_0x31bda9>>>0x1f;}var _0x2c9ca7=(_0x57657b<<0x5|_0x57657b>>>0x1b)+_0x1d7395+_0x4a823c[_0x130eb3];_0x130eb3<0x14?_0x2c9ca7+=(_0x3f0fa9&_0x4299e6|~_0x3f0fa9&_0x1c5674)+0x5a827999:_0x130eb3<0x28?_0x2c9ca7+=(_0x3f0fa9^_0x4299e6^_0x1c5674)+0x6ed9eba1:_0x130eb3<0x3c?_0x2c9ca7+=(_0x3f0fa9&_0x4299e6|_0x3f0fa9&_0x1c5674|_0x4299e6&_0x1c5674)-0x70e44324:_0x2c9ca7+=(_0x3f0fa9^_0x4299e6^_0x1c5674)-0x359d3e2a,_0x1d7395=_0x1c5674,_0x1c5674=_0x4299e6,_0x4299e6=_0x3f0fa9<<0x1e|_0x3f0fa9>>>0x2,_0x3f0fa9=_0x57657b,_0x57657b=_0x2c9ca7;}_0x41c3b0[0x0]=_0x41c3b0[0x0]+_0x57657b|0x0,_0x41c3b0[0x1]=_0x41c3b0[0x1]+_0x3f0fa9|0x0,_0x41c3b0[0x2]=_0x41c3b0[0x2]+_0x4299e6|0x0,_0x41c3b0[0x3]=_0x41c3b0[0x3]+_0x1c5674|0x0,_0x41c3b0[0x4]=_0x41c3b0[0x4]+_0x1d7395|0x0;},'_doFinalize':function(){var _0x67d1ca=_0x135918,_0x53fadb=this[_0x67d1ca(0x1b5)],_0x40b405=_0x53fadb[_0x67d1ca(0x38d)],_0x1b92b7=this[_0x67d1ca(0x24e)]*0x8,_0x4971a1=_0x53fadb[_0x67d1ca(0x339)]*0x8;return _0x40b405[_0x4971a1>>>0x5]|=0x80<<0x18-_0x4971a1%0x20,_0x40b405[(_0x4971a1+0x40>>>0x9<<0x4)+0xe]=Math[_0x67d1ca(0x2e5)](_0x1b92b7/0x100000000),_0x40b405[(_0x4971a1+0x40>>>0x9<<0x4)+0xf]=_0x1b92b7,_0x53fadb[_0x67d1ca(0x339)]=_0x40b405[_0x67d1ca(0x3a6)]*0x4,this[_0x67d1ca(0x29c)](),this[_0x67d1ca(0x1d2)];},'clone':function(){var _0xd4c3a4=_0x135918,_0x5151b1=_0xdb65d4[_0xd4c3a4(0x3b7)]['call'](this);return _0x5151b1[_0xd4c3a4(0x1d2)]=this[_0xd4c3a4(0x1d2)][_0xd4c3a4(0x3b7)](),_0x5151b1;}});_0x34b65e['SHA1']=_0xdb65d4[_0x135918(0x11d)](_0x4bee4e),_0x34b65e[_0x135918(0x2e8)]=_0xdb65d4[_0x135918(0x383)](_0x4bee4e);}()),_0x29817e[_0x81d6ae(0x345)];}));}(qe)),qe[_0x56d9a3(0x1c8)];}var ze={'exports':{}},br=ze[_0x1207a5(0x1c8)],ti;function yr(){var _0x3017f9=_0x1207a5;return ti||(ti=0x1,function(_0x4d2ca9,_0x464bc7){(function(_0x590cca,_0x3a92b7){var _0x529614=_0x4c70;_0x4d2ca9[_0x529614(0x1c8)]=_0x3a92b7(ie());}(br,function(_0x1f03b7){(function(){var _0x59dc9c=_0x4c70,_0x3ad613=_0x1f03b7,_0x160c9a=_0x3ad613['lib'],_0x3b2244=_0x160c9a[_0x59dc9c(0x316)],_0xd3266b=_0x3ad613[_0x59dc9c(0x116)],_0x2e7d94=_0xd3266b[_0x59dc9c(0x1fa)],_0x1257d5=_0x3ad613[_0x59dc9c(0x2b4)];_0x1257d5[_0x59dc9c(0x22d)]=_0x3b2244[_0x59dc9c(0x375)]({'init':function(_0xa4dd97,_0x19a19a){var _0x451ee2=_0x59dc9c;_0xa4dd97=this['_hasher']=new _0xa4dd97['init'](),typeof _0x19a19a==_0x451ee2(0x1d7)&&(_0x19a19a=_0x2e7d94['parse'](_0x19a19a));var _0x1c98da=_0xa4dd97[_0x451ee2(0x13b)],_0x16b83c=_0x1c98da*0x4;_0x19a19a[_0x451ee2(0x339)]>_0x16b83c&&(_0x19a19a=_0xa4dd97[_0x451ee2(0x264)](_0x19a19a)),_0x19a19a[_0x451ee2(0x2d4)]();for(var _0x2c1b61=this[_0x451ee2(0x2fd)]=_0x19a19a[_0x451ee2(0x3b7)](),_0x21b3e2=this[_0x451ee2(0x16f)]=_0x19a19a[_0x451ee2(0x3b7)](),_0x1262dd=_0x2c1b61['words'],_0x1e5073=_0x21b3e2[_0x451ee2(0x38d)],_0x1309ca=0x0;_0x1309ca<_0x1c98da;_0x1309ca++)_0x1262dd[_0x1309ca]^=0x5c5c5c5c,_0x1e5073[_0x1309ca]^=0x36363636;_0x2c1b61['sigBytes']=_0x21b3e2[_0x451ee2(0x339)]=_0x16b83c,this[_0x451ee2(0x242)]();},'reset':function(){var _0x306dd8=_0x59dc9c,_0x47feba=this[_0x306dd8(0x2be)];_0x47feba['reset'](),_0x47feba[_0x306dd8(0x2c4)](this['_iKey']);},'update':function(_0x502371){var _0x27a2b0=_0x59dc9c;return this[_0x27a2b0(0x2be)][_0x27a2b0(0x2c4)](_0x502371),this;},'finalize':function(_0x4f5aa5){var _0x56a35b=_0x59dc9c,_0x290bfd=this['_hasher'],_0x4137ee=_0x290bfd['finalize'](_0x4f5aa5);_0x290bfd[_0x56a35b(0x242)]();var _0x34150b=_0x290bfd[_0x56a35b(0x264)](this[_0x56a35b(0x2fd)][_0x56a35b(0x3b7)]()[_0x56a35b(0x1cd)](_0x4137ee));return _0x34150b;}});}());}));}(ze)),ze[_0x3017f9(0x1c8)];}var Or=Ye['exports'],ii;function Ui(){var _0x2ff5df=_0x1207a5;return ii||(ii=0x1,function(_0x427d94,_0x33e80d){(function(_0x28c83d,_0x14c887,_0x1355eb){var _0x3c08d5=_0x4c70;_0x427d94[_0x3c08d5(0x1c8)]=_0x14c887(ie(),Rr(),yr());}(Or,function(_0x272d97){var _0xd5d280=_0x4c70;return(function(){var _0x1c9eec=_0x4c70,_0x46a940=_0x272d97,_0x4e207f=_0x46a940[_0x1c9eec(0x1a0)],_0x32a713=_0x4e207f[_0x1c9eec(0x316)],_0x5d6180=_0x4e207f[_0x1c9eec(0x126)],_0x497ba6=_0x46a940[_0x1c9eec(0x2b4)],_0x594d8b=_0x497ba6[_0x1c9eec(0x387)],_0x3980ef=_0x497ba6[_0x1c9eec(0x14d)]=_0x32a713['extend']({'cfg':_0x32a713[_0x1c9eec(0x375)]({'keySize':0x80/0x20,'hasher':_0x594d8b,'iterations':0x1}),'init':function(_0x4e4b40){var _0x4232e2=_0x1c9eec;this['cfg']=this['cfg'][_0x4232e2(0x375)](_0x4e4b40);},'compute':function(_0x36a2b4,_0x6c198b){var _0x2aa580=_0x1c9eec;for(var _0x35ff4f,_0x52b628=this[_0x2aa580(0x3d8)],_0x174236=_0x52b628[_0x2aa580(0x24c)][_0x2aa580(0x303)](),_0x19dc2e=_0x5d6180[_0x2aa580(0x303)](),_0x335a46=_0x19dc2e[_0x2aa580(0x38d)],_0x25444e=_0x52b628['keySize'],_0x47304f=_0x52b628[_0x2aa580(0x256)];_0x335a46[_0x2aa580(0x3a6)]<_0x25444e;){_0x35ff4f&&_0x174236[_0x2aa580(0x2c4)](_0x35ff4f),_0x35ff4f=_0x174236[_0x2aa580(0x2c4)](_0x36a2b4)[_0x2aa580(0x264)](_0x6c198b),_0x174236[_0x2aa580(0x242)]();for(var _0x5d76c5=0x1;_0x5d76c5<_0x47304f;_0x5d76c5++)_0x35ff4f=_0x174236['finalize'](_0x35ff4f),_0x174236[_0x2aa580(0x242)]();_0x19dc2e[_0x2aa580(0x1cd)](_0x35ff4f);}return _0x19dc2e['sigBytes']=_0x25444e*0x4,_0x19dc2e;}});_0x46a940[_0x1c9eec(0x14d)]=function(_0x4034cc,_0x4aeec4,_0x4495a3){var _0x338370=_0x1c9eec;return _0x3980ef['create'](_0x4495a3)[_0x338370(0x409)](_0x4034cc,_0x4aeec4);};}()),_0x272d97[_0xd5d280(0x14d)];}));}(Ye)),Ye[_0x2ff5df(0x1c8)];}var Je={'exports':{}},Nr=Je[_0x1207a5(0x1c8)],ni;function wi(){var _0x96ebf6=_0x1207a5;return ni||(ni=0x1,function(_0x55578e,_0x259766){(function(_0x5ac267,_0x186e58,_0x4dbc98){var _0x186c2e=_0x4c70;_0x55578e[_0x186c2e(0x1c8)]=_0x186e58(ie(),Ui());}(Nr,function(_0x5bfff2){var _0x3000c2=_0x4c70;_0x5bfff2[_0x3000c2(0x1a0)][_0x3000c2(0x12e)]||function(_0x5925c7){var _0x5d63bc=_0x3000c2,_0x340494=_0x5bfff2,_0x388f0e=_0x340494[_0x5d63bc(0x1a0)],_0x41bf81=_0x388f0e['Base'],_0x591cd3=_0x388f0e['WordArray'],_0x379295=_0x388f0e['BufferedBlockAlgorithm'],_0x4a9489=_0x340494[_0x5d63bc(0x116)];_0x4a9489[_0x5d63bc(0x1fa)];var _0x155c6c=_0x4a9489[_0x5d63bc(0x265)],_0x44c457=_0x340494['algo'],_0x14b00b=_0x44c457['EvpKDF'],_0x4c3c2c=_0x388f0e['Cipher']=_0x379295['extend']({'cfg':_0x41bf81['extend'](),'createEncryptor':function(_0x5bd7dc,_0x26e463){var _0x137a5a=_0x5d63bc;return this[_0x137a5a(0x303)](this[_0x137a5a(0x218)],_0x5bd7dc,_0x26e463);},'createDecryptor':function(_0x2aff98,_0x166b0e){var _0x535477=_0x5d63bc;return this['create'](this[_0x535477(0x3cc)],_0x2aff98,_0x166b0e);},'init':function(_0x464435,_0x613d62,_0x50a6a7){var _0x285e55=_0x5d63bc;this[_0x285e55(0x3d8)]=this[_0x285e55(0x3d8)]['extend'](_0x50a6a7),this['_xformMode']=_0x464435,this['_key']=_0x613d62,this[_0x285e55(0x242)]();},'reset':function(){var _0x64156f=_0x5d63bc;_0x379295[_0x64156f(0x242)]['call'](this),this[_0x64156f(0x290)]();},'process':function(_0x470838){var _0x44d4a9=_0x5d63bc;return this[_0x44d4a9(0x2e4)](_0x470838),this[_0x44d4a9(0x29c)]();},'finalize':function(_0x3c304c){var _0x575103=_0x5d63bc;_0x3c304c&&this[_0x575103(0x2e4)](_0x3c304c);var _0x114527=this[_0x575103(0x3a2)]();return _0x114527;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2f5286(_0x4b2ecd){return typeof _0x4b2ecd=='string'?_0x5acc85:_0xcdc05a;}return function(_0x4cf1df){return{'encrypt':function(_0x18b2df,_0x17dd53,_0x5bc1f5){var _0xc05609=_0x4c70;return _0x2f5286(_0x17dd53)[_0xc05609(0x1bd)](_0x4cf1df,_0x18b2df,_0x17dd53,_0x5bc1f5);},'decrypt':function(_0x379c28,_0x1e6df5,_0xd49ad4){var _0x591298=_0x4c70;return _0x2f5286(_0x1e6df5)[_0x591298(0x21b)](_0x4cf1df,_0x379c28,_0x1e6df5,_0xd49ad4);}};};}())});_0x388f0e[_0x5d63bc(0x299)]=_0x4c3c2c[_0x5d63bc(0x375)]({'_doFinalize':function(){var _0x1fa13a=this['_process'](!0x0);return _0x1fa13a;},'blockSize':0x1});var _0x3e5685=_0x340494[_0x5d63bc(0x2ac)]={},_0xa4d761=_0x388f0e[_0x5d63bc(0x18d)]=_0x41bf81[_0x5d63bc(0x375)]({'createEncryptor':function(_0x263568,_0x40624d){var _0x4a9aea=_0x5d63bc;return this[_0x4a9aea(0x1e0)]['create'](_0x263568,_0x40624d);},'createDecryptor':function(_0x25738b,_0x43658f){var _0x27cedf=_0x5d63bc;return this[_0x27cedf(0x209)][_0x27cedf(0x303)](_0x25738b,_0x43658f);},'init':function(_0x5cdf53,_0x2bbbf4){var _0x5f29df=_0x5d63bc;this[_0x5f29df(0x164)]=_0x5cdf53,this[_0x5f29df(0x113)]=_0x2bbbf4;}}),_0x122cc2=_0x3e5685[_0x5d63bc(0x138)]=(function(){var _0x5b29d5=_0x5d63bc,_0x1a018e=_0xa4d761[_0x5b29d5(0x375)]();_0x1a018e[_0x5b29d5(0x1e0)]=_0x1a018e[_0x5b29d5(0x375)]({'processBlock':function(_0x2b8c92,_0x4c812e){var _0x3ec03c=_0x5b29d5,_0x54b01d=this[_0x3ec03c(0x164)],_0x33f0b2=_0x54b01d[_0x3ec03c(0x13b)];_0x44d451[_0x3ec03c(0x2dd)](this,_0x2b8c92,_0x4c812e,_0x33f0b2),_0x54b01d[_0x3ec03c(0x154)](_0x2b8c92,_0x4c812e),this[_0x3ec03c(0x201)]=_0x2b8c92[_0x3ec03c(0x27e)](_0x4c812e,_0x4c812e+_0x33f0b2);}}),_0x1a018e[_0x5b29d5(0x209)]=_0x1a018e[_0x5b29d5(0x375)]({'processBlock':function(_0x3d05a5,_0xde69ac){var _0x40eae2=_0x5b29d5,_0x4b4256=this[_0x40eae2(0x164)],_0x82d2dd=_0x4b4256[_0x40eae2(0x13b)],_0x2551e9=_0x3d05a5[_0x40eae2(0x27e)](_0xde69ac,_0xde69ac+_0x82d2dd);_0x4b4256[_0x40eae2(0x1e2)](_0x3d05a5,_0xde69ac),_0x44d451[_0x40eae2(0x2dd)](this,_0x3d05a5,_0xde69ac,_0x82d2dd),this[_0x40eae2(0x201)]=_0x2551e9;}});function _0x44d451(_0x5e46a9,_0x1d3ff5,_0x2f7ada){var _0x5526b0=_0x5b29d5,_0x56ad04,_0x2417c5=this[_0x5526b0(0x113)];_0x2417c5?(_0x56ad04=_0x2417c5,this[_0x5526b0(0x113)]=_0x5925c7):_0x56ad04=this['_prevBlock'];for(var _0x293b8a=0x0;_0x293b8a<_0x2f7ada;_0x293b8a++)_0x5e46a9[_0x1d3ff5+_0x293b8a]^=_0x56ad04[_0x293b8a];}return _0x1a018e;}()),_0x4d6582=_0x340494['pad']={},_0x300bc5=_0x4d6582['Pkcs7']={'pad':function(_0x424f42,_0xdf6d3d){var _0x4716f1=_0x5d63bc;for(var _0x22b087=_0xdf6d3d*0x4,_0x1f9c43=_0x22b087-_0x424f42[_0x4716f1(0x339)]%_0x22b087,_0x10a1a1=_0x1f9c43<<0x18|_0x1f9c43<<0x10|_0x1f9c43<<0x8|_0x1f9c43,_0x1315be=[],_0x412e19=0x0;_0x412e19<_0x1f9c43;_0x412e19+=0x4)_0x1315be[_0x4716f1(0x367)](_0x10a1a1);var _0x5123b1=_0x591cd3[_0x4716f1(0x303)](_0x1315be,_0x1f9c43);_0x424f42[_0x4716f1(0x1cd)](_0x5123b1);},'unpad':function(_0x1da5df){var _0x17c639=_0x5d63bc,_0x2d16a1=_0x1da5df[_0x17c639(0x38d)][_0x1da5df['sigBytes']-0x1>>>0x2]&0xff;_0x1da5df['sigBytes']-=_0x2d16a1;}};_0x388f0e[_0x5d63bc(0x151)]=_0x4c3c2c[_0x5d63bc(0x375)]({'cfg':_0x4c3c2c[_0x5d63bc(0x3d8)][_0x5d63bc(0x375)]({'mode':_0x122cc2,'padding':_0x300bc5}),'reset':function(){var _0x3f0d68=_0x5d63bc,_0x50c184;_0x4c3c2c[_0x3f0d68(0x242)]['call'](this);var _0x40cf04=this['cfg'],_0x2dff8c=_0x40cf04['iv'],_0x3d838d=_0x40cf04[_0x3f0d68(0x2ac)];this['_xformMode']==this[_0x3f0d68(0x218)]?_0x50c184=_0x3d838d[_0x3f0d68(0x133)]:(_0x50c184=_0x3d838d[_0x3f0d68(0x167)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x3f0d68(0x15e)][_0x3f0d68(0x25b)]==_0x50c184?this[_0x3f0d68(0x15e)][_0x3f0d68(0x2b5)](this,_0x2dff8c&&_0x2dff8c['words']):(this[_0x3f0d68(0x15e)]=_0x50c184[_0x3f0d68(0x2dd)](_0x3d838d,this,_0x2dff8c&&_0x2dff8c[_0x3f0d68(0x38d)]),this[_0x3f0d68(0x15e)][_0x3f0d68(0x25b)]=_0x50c184);},'_doProcessBlock':function(_0x47ed43,_0x13d8b8){var _0xebaa3e=_0x5d63bc;this[_0xebaa3e(0x15e)][_0xebaa3e(0x137)](_0x47ed43,_0x13d8b8);},'_doFinalize':function(){var _0x565e3a=_0x5d63bc,_0x5f0a49,_0x2fd0fe=this[_0x565e3a(0x3d8)]['padding'];return this['_xformMode']==this[_0x565e3a(0x218)]?(_0x2fd0fe[_0x565e3a(0x13d)](this[_0x565e3a(0x1b5)],this[_0x565e3a(0x13b)]),_0x5f0a49=this[_0x565e3a(0x29c)](!0x0)):(_0x5f0a49=this['_process'](!0x0),_0x2fd0fe[_0x565e3a(0x162)](_0x5f0a49)),_0x5f0a49;},'blockSize':0x80/0x20});var _0x16eae5=_0x388f0e[_0x5d63bc(0x283)]=_0x41bf81[_0x5d63bc(0x375)]({'init':function(_0x3a4b7d){this['mixIn'](_0x3a4b7d);},'toString':function(_0x434e98){var _0x2754dd=_0x5d63bc;return(_0x434e98||this[_0x2754dd(0x1f5)])[_0x2754dd(0x324)](this);}}),_0x55d2b5=_0x340494[_0x5d63bc(0x155)]={},_0x3969b8=_0x55d2b5[_0x5d63bc(0x391)]={'stringify':function(_0x333d9e){var _0x4bc17a=_0x5d63bc,_0x396de5,_0x524bb7=_0x333d9e[_0x4bc17a(0x16e)],_0x5a0314=_0x333d9e[_0x4bc17a(0x171)];return _0x5a0314?_0x396de5=_0x591cd3['create']([0x53616c74,0x65645f5f])[_0x4bc17a(0x1cd)](_0x5a0314)[_0x4bc17a(0x1cd)](_0x524bb7):_0x396de5=_0x524bb7,_0x396de5[_0x4bc17a(0x34c)](_0x155c6c);},'parse':function(_0x4479d0){var _0x2ddda4=_0x5d63bc,_0x2f1870,_0xa4e3f2=_0x155c6c['parse'](_0x4479d0),_0x563878=_0xa4e3f2['words'];return _0x563878[0x0]==0x53616c74&&_0x563878[0x1]==0x65645f5f&&(_0x2f1870=_0x591cd3[_0x2ddda4(0x303)](_0x563878[_0x2ddda4(0x27e)](0x2,0x4)),_0x563878[_0x2ddda4(0x23d)](0x0,0x4),_0xa4e3f2[_0x2ddda4(0x339)]-=0x10),_0x16eae5[_0x2ddda4(0x303)]({'ciphertext':_0xa4e3f2,'salt':_0x2f1870});}},_0xcdc05a=_0x388f0e['SerializableCipher']=_0x41bf81['extend']({'cfg':_0x41bf81['extend']({'format':_0x3969b8}),'encrypt':function(_0x4d9e66,_0x59ea08,_0x4b4077,_0x2d1b4d){var _0x149be8=_0x5d63bc;_0x2d1b4d=this[_0x149be8(0x3d8)][_0x149be8(0x375)](_0x2d1b4d);var _0x51d9e2=_0x4d9e66[_0x149be8(0x133)](_0x4b4077,_0x2d1b4d),_0x525cfb=_0x51d9e2[_0x149be8(0x264)](_0x59ea08),_0x5555fe=_0x51d9e2['cfg'];return _0x16eae5[_0x149be8(0x303)]({'ciphertext':_0x525cfb,'key':_0x4b4077,'iv':_0x5555fe['iv'],'algorithm':_0x4d9e66,'mode':_0x5555fe[_0x149be8(0x2ac)],'padding':_0x5555fe['padding'],'blockSize':_0x4d9e66[_0x149be8(0x13b)],'formatter':_0x2d1b4d['format']});},'decrypt':function(_0x2b6738,_0x12e0b5,_0x3535a1,_0x4a74c1){var _0x470c40=_0x5d63bc;_0x4a74c1=this[_0x470c40(0x3d8)][_0x470c40(0x375)](_0x4a74c1),_0x12e0b5=this[_0x470c40(0x338)](_0x12e0b5,_0x4a74c1[_0x470c40(0x155)]);var _0x229ddb=_0x2b6738[_0x470c40(0x167)](_0x3535a1,_0x4a74c1)['finalize'](_0x12e0b5[_0x470c40(0x16e)]);return _0x229ddb;},'_parse':function(_0x277a87,_0x4a124d){var _0x5582a5=_0x5d63bc;return typeof _0x277a87==_0x5582a5(0x1d7)?_0x4a124d[_0x5582a5(0x215)](_0x277a87,this):_0x277a87;}}),_0x14cdd7=_0x340494[_0x5d63bc(0x189)]={},_0x2ebee2=_0x14cdd7[_0x5d63bc(0x391)]={'execute':function(_0x1a73d7,_0xac3a3c,_0x5cde3c,_0x253f0e,_0x1540e){var _0x27b0fd=_0x5d63bc;if(_0x253f0e||(_0x253f0e=_0x591cd3['random'](0x40/0x8)),_0x1540e)var _0x1d73c4=_0x14b00b[_0x27b0fd(0x303)]({'keySize':_0xac3a3c+_0x5cde3c,'hasher':_0x1540e})['compute'](_0x1a73d7,_0x253f0e);else var _0x1d73c4=_0x14b00b[_0x27b0fd(0x303)]({'keySize':_0xac3a3c+_0x5cde3c})[_0x27b0fd(0x409)](_0x1a73d7,_0x253f0e);var _0x1680b9=_0x591cd3[_0x27b0fd(0x303)](_0x1d73c4[_0x27b0fd(0x38d)][_0x27b0fd(0x27e)](_0xac3a3c),_0x5cde3c*0x4);return _0x1d73c4['sigBytes']=_0xac3a3c*0x4,_0x16eae5['create']({'key':_0x1d73c4,'iv':_0x1680b9,'salt':_0x253f0e});}},_0x5acc85=_0x388f0e[_0x5d63bc(0x140)]=_0xcdc05a['extend']({'cfg':_0xcdc05a['cfg'][_0x5d63bc(0x375)]({'kdf':_0x2ebee2}),'encrypt':function(_0x3eb9d1,_0x573026,_0x910572,_0x50f159){var _0x10d3c8=_0x5d63bc;_0x50f159=this[_0x10d3c8(0x3d8)]['extend'](_0x50f159);var _0x19c88b=_0x50f159[_0x10d3c8(0x189)][_0x10d3c8(0x247)](_0x910572,_0x3eb9d1[_0x10d3c8(0x34a)],_0x3eb9d1[_0x10d3c8(0x2cb)],_0x50f159[_0x10d3c8(0x171)],_0x50f159[_0x10d3c8(0x24c)]);_0x50f159['iv']=_0x19c88b['iv'];var _0x29dcaf=_0xcdc05a[_0x10d3c8(0x1bd)][_0x10d3c8(0x2dd)](this,_0x3eb9d1,_0x573026,_0x19c88b['key'],_0x50f159);return _0x29dcaf[_0x10d3c8(0x322)](_0x19c88b),_0x29dcaf;},'decrypt':function(_0x14a2ab,_0x30c853,_0x267481,_0x1d54bc){var _0x3f69ac=_0x5d63bc;_0x1d54bc=this[_0x3f69ac(0x3d8)][_0x3f69ac(0x375)](_0x1d54bc),_0x30c853=this[_0x3f69ac(0x338)](_0x30c853,_0x1d54bc['format']);var _0x4fbb67=_0x1d54bc[_0x3f69ac(0x189)][_0x3f69ac(0x247)](_0x267481,_0x14a2ab[_0x3f69ac(0x34a)],_0x14a2ab[_0x3f69ac(0x2cb)],_0x30c853[_0x3f69ac(0x171)],_0x1d54bc[_0x3f69ac(0x24c)]);_0x1d54bc['iv']=_0x4fbb67['iv'];var _0x1f5b10=_0xcdc05a[_0x3f69ac(0x21b)][_0x3f69ac(0x2dd)](this,_0x14a2ab,_0x30c853,_0x4fbb67[_0x3f69ac(0x14b)],_0x1d54bc);return _0x1f5b10;}});}();}));}(Je)),Je[_0x96ebf6(0x1c8)];}var Dr=Ve[_0x1207a5(0x1c8)],ri;function Ur(){var _0x43a3bc=_0x1207a5;return ri||(ri=0x1,function(_0x220b7e,_0x25e93d){(function(_0x43aa40,_0x5db6ea,_0x5c1325){var _0x2e4f13=_0x4c70;_0x220b7e[_0x2e4f13(0x1c8)]=_0x5db6ea(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x434bb5){var _0x525903=_0x4c70;return(function(){var _0x255454=_0x4c70,_0x55fc4b=_0x434bb5,_0x2ad0a0=_0x55fc4b['lib'],_0x2f7bab=_0x2ad0a0['BlockCipher'],_0x239eed=_0x55fc4b['algo'],_0x2e475a=[],_0x1232cb=[],_0x1b816f=[],_0x1654c2=[],_0x25d518=[],_0x3d4cb4=[],_0x3bfc02=[],_0x394167=[],_0x36fd21=[],_0xdb646d=[];(function(){for(var _0x3de693=[],_0x44e589=0x0;_0x44e589<0x100;_0x44e589++)_0x44e589<0x80?_0x3de693[_0x44e589]=_0x44e589<<0x1:_0x3de693[_0x44e589]=_0x44e589<<0x1^0x11b;for(var _0x3dc11d=0x0,_0x47a506=0x0,_0x44e589=0x0;_0x44e589<0x100;_0x44e589++){var _0x3b099c=_0x47a506^_0x47a506<<0x1^_0x47a506<<0x2^_0x47a506<<0x3^_0x47a506<<0x4;_0x3b099c=_0x3b099c>>>0x8^_0x3b099c&0xff^0x63,_0x2e475a[_0x3dc11d]=_0x3b099c,_0x1232cb[_0x3b099c]=_0x3dc11d;var _0x4b703b=_0x3de693[_0x3dc11d],_0x46e639=_0x3de693[_0x4b703b],_0x2f9ade=_0x3de693[_0x46e639],_0x768dd0=_0x3de693[_0x3b099c]*0x101^_0x3b099c*0x1010100;_0x1b816f[_0x3dc11d]=_0x768dd0<<0x18|_0x768dd0>>>0x8,_0x1654c2[_0x3dc11d]=_0x768dd0<<0x10|_0x768dd0>>>0x10,_0x25d518[_0x3dc11d]=_0x768dd0<<0x8|_0x768dd0>>>0x18,_0x3d4cb4[_0x3dc11d]=_0x768dd0;var _0x768dd0=_0x2f9ade*0x1010101^_0x46e639*0x10001^_0x4b703b*0x101^_0x3dc11d*0x1010100;_0x3bfc02[_0x3b099c]=_0x768dd0<<0x18|_0x768dd0>>>0x8,_0x394167[_0x3b099c]=_0x768dd0<<0x10|_0x768dd0>>>0x10,_0x36fd21[_0x3b099c]=_0x768dd0<<0x8|_0x768dd0>>>0x18,_0xdb646d[_0x3b099c]=_0x768dd0,_0x3dc11d?(_0x3dc11d=_0x4b703b^_0x3de693[_0x3de693[_0x3de693[_0x2f9ade^_0x4b703b]]],_0x47a506^=_0x3de693[_0x3de693[_0x47a506]]):_0x3dc11d=_0x47a506=0x1;}}());var _0x5f0e44=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x33136a=_0x239eed[_0x255454(0x350)]=_0x2f7bab['extend']({'_doReset':function(){var _0x18625d=_0x255454,_0x2773ad;if(!(this[_0x18625d(0x143)]&&this[_0x18625d(0x332)]===this[_0x18625d(0x14a)])){for(var _0x7d4e3a=this[_0x18625d(0x332)]=this['_key'],_0x1687fb=_0x7d4e3a['words'],_0x2171ac=_0x7d4e3a['sigBytes']/0x4,_0x4bc798=this[_0x18625d(0x143)]=_0x2171ac+0x6,_0x603d91=(_0x4bc798+0x1)*0x4,_0x4202fd=this[_0x18625d(0x25e)]=[],_0x54e77e=0x0;_0x54e77e<_0x603d91;_0x54e77e++)_0x54e77e<_0x2171ac?_0x4202fd[_0x54e77e]=_0x1687fb[_0x54e77e]:(_0x2773ad=_0x4202fd[_0x54e77e-0x1],_0x54e77e%_0x2171ac?_0x2171ac>0x6&&_0x54e77e%_0x2171ac==0x4&&(_0x2773ad=_0x2e475a[_0x2773ad>>>0x18]<<0x18|_0x2e475a[_0x2773ad>>>0x10&0xff]<<0x10|_0x2e475a[_0x2773ad>>>0x8&0xff]<<0x8|_0x2e475a[_0x2773ad&0xff]):(_0x2773ad=_0x2773ad<<0x8|_0x2773ad>>>0x18,_0x2773ad=_0x2e475a[_0x2773ad>>>0x18]<<0x18|_0x2e475a[_0x2773ad>>>0x10&0xff]<<0x10|_0x2e475a[_0x2773ad>>>0x8&0xff]<<0x8|_0x2e475a[_0x2773ad&0xff],_0x2773ad^=_0x5f0e44[_0x54e77e/_0x2171ac|0x0]<<0x18),_0x4202fd[_0x54e77e]=_0x4202fd[_0x54e77e-_0x2171ac]^_0x2773ad);for(var _0x3ab87a=this[_0x18625d(0x11a)]=[],_0x559839=0x0;_0x559839<_0x603d91;_0x559839++){var _0x54e77e=_0x603d91-_0x559839;if(_0x559839%0x4)var _0x2773ad=_0x4202fd[_0x54e77e];else var _0x2773ad=_0x4202fd[_0x54e77e-0x4];_0x559839<0x4||_0x54e77e<=0x4?_0x3ab87a[_0x559839]=_0x2773ad:_0x3ab87a[_0x559839]=_0x3bfc02[_0x2e475a[_0x2773ad>>>0x18]]^_0x394167[_0x2e475a[_0x2773ad>>>0x10&0xff]]^_0x36fd21[_0x2e475a[_0x2773ad>>>0x8&0xff]]^_0xdb646d[_0x2e475a[_0x2773ad&0xff]];}}},'encryptBlock':function(_0x400f14,_0x2a0939){var _0x46d6d3=_0x255454;this['_doCryptBlock'](_0x400f14,_0x2a0939,this[_0x46d6d3(0x25e)],_0x1b816f,_0x1654c2,_0x25d518,_0x3d4cb4,_0x2e475a);},'decryptBlock':function(_0x3896f9,_0x57df03){var _0x14ab3d=_0x255454,_0x288e99=_0x3896f9[_0x57df03+0x1];_0x3896f9[_0x57df03+0x1]=_0x3896f9[_0x57df03+0x3],_0x3896f9[_0x57df03+0x3]=_0x288e99,this[_0x14ab3d(0x2c8)](_0x3896f9,_0x57df03,this['_invKeySchedule'],_0x3bfc02,_0x394167,_0x36fd21,_0xdb646d,_0x1232cb);var _0x288e99=_0x3896f9[_0x57df03+0x1];_0x3896f9[_0x57df03+0x1]=_0x3896f9[_0x57df03+0x3],_0x3896f9[_0x57df03+0x3]=_0x288e99;},'_doCryptBlock':function(_0x332991,_0x334fe0,_0x54297b,_0x2a16e5,_0x61ae60,_0x41480a,_0x286b54,_0x50b56f){var _0x2bdac0=_0x255454;for(var _0x17b89a=this[_0x2bdac0(0x143)],_0xf0916e=_0x332991[_0x334fe0]^_0x54297b[0x0],_0x2b4c9f=_0x332991[_0x334fe0+0x1]^_0x54297b[0x1],_0x1ff22e=_0x332991[_0x334fe0+0x2]^_0x54297b[0x2],_0x36f73f=_0x332991[_0x334fe0+0x3]^_0x54297b[0x3],_0x3ee0ca=0x4,_0x544569=0x1;_0x544569<_0x17b89a;_0x544569++){var _0x309bf6=_0x2a16e5[_0xf0916e>>>0x18]^_0x61ae60[_0x2b4c9f>>>0x10&0xff]^_0x41480a[_0x1ff22e>>>0x8&0xff]^_0x286b54[_0x36f73f&0xff]^_0x54297b[_0x3ee0ca++],_0x234035=_0x2a16e5[_0x2b4c9f>>>0x18]^_0x61ae60[_0x1ff22e>>>0x10&0xff]^_0x41480a[_0x36f73f>>>0x8&0xff]^_0x286b54[_0xf0916e&0xff]^_0x54297b[_0x3ee0ca++],_0x4630ee=_0x2a16e5[_0x1ff22e>>>0x18]^_0x61ae60[_0x36f73f>>>0x10&0xff]^_0x41480a[_0xf0916e>>>0x8&0xff]^_0x286b54[_0x2b4c9f&0xff]^_0x54297b[_0x3ee0ca++],_0x381b17=_0x2a16e5[_0x36f73f>>>0x18]^_0x61ae60[_0xf0916e>>>0x10&0xff]^_0x41480a[_0x2b4c9f>>>0x8&0xff]^_0x286b54[_0x1ff22e&0xff]^_0x54297b[_0x3ee0ca++];_0xf0916e=_0x309bf6,_0x2b4c9f=_0x234035,_0x1ff22e=_0x4630ee,_0x36f73f=_0x381b17;}var _0x309bf6=(_0x50b56f[_0xf0916e>>>0x18]<<0x18|_0x50b56f[_0x2b4c9f>>>0x10&0xff]<<0x10|_0x50b56f[_0x1ff22e>>>0x8&0xff]<<0x8|_0x50b56f[_0x36f73f&0xff])^_0x54297b[_0x3ee0ca++],_0x234035=(_0x50b56f[_0x2b4c9f>>>0x18]<<0x18|_0x50b56f[_0x1ff22e>>>0x10&0xff]<<0x10|_0x50b56f[_0x36f73f>>>0x8&0xff]<<0x8|_0x50b56f[_0xf0916e&0xff])^_0x54297b[_0x3ee0ca++],_0x4630ee=(_0x50b56f[_0x1ff22e>>>0x18]<<0x18|_0x50b56f[_0x36f73f>>>0x10&0xff]<<0x10|_0x50b56f[_0xf0916e>>>0x8&0xff]<<0x8|_0x50b56f[_0x2b4c9f&0xff])^_0x54297b[_0x3ee0ca++],_0x381b17=(_0x50b56f[_0x36f73f>>>0x18]<<0x18|_0x50b56f[_0xf0916e>>>0x10&0xff]<<0x10|_0x50b56f[_0x2b4c9f>>>0x8&0xff]<<0x8|_0x50b56f[_0x1ff22e&0xff])^_0x54297b[_0x3ee0ca++];_0x332991[_0x334fe0]=_0x309bf6,_0x332991[_0x334fe0+0x1]=_0x234035,_0x332991[_0x334fe0+0x2]=_0x4630ee,_0x332991[_0x334fe0+0x3]=_0x381b17;},'keySize':0x100/0x20});_0x55fc4b[_0x255454(0x350)]=_0x2f7bab[_0x255454(0x11d)](_0x33136a);}()),_0x434bb5[_0x525903(0x350)];}));}(Ve)),Ve[_0x43a3bc(0x1c8)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x1207a5(0x1c8)],ai;function Lr(){var _0x1d5397=_0x1207a5;return ai||(ai=0x1,function(_0x4ec555,_0x4a993d){(function(_0x43f03b,_0x5cada9){var _0x453cdd=_0x4c70;_0x4ec555[_0x453cdd(0x1c8)]=_0x5cada9(ie());}(xr,function(_0x356a74){var _0x449131=_0x4c70;return _0x356a74['enc'][_0x449131(0x1fa)];}));}(Xe)),Xe[_0x1d5397(0x1c8)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze['exports'],oi;function Hr(){var _0x242953=_0x1207a5;return oi||(oi=0x1,function(_0x4fb44d,_0x542ed7){(function(_0x1129b4,_0x4511af){_0x4fb44d['exports']=_0x4511af(ie());}($r,function(_0x2c6c0d){var _0x4a789c=_0x4c70;return(function(){var _0x1d0edd=_0x4c70;if(typeof ArrayBuffer==_0x1d0edd(0x1cf)){var _0x11ea61=_0x2c6c0d,_0x2e0239=_0x11ea61['lib'],_0x2c2c2c=_0x2e0239[_0x1d0edd(0x126)],_0x553663=_0x2c2c2c[_0x1d0edd(0x2b5)],_0x2a2c5a=_0x2c2c2c[_0x1d0edd(0x2b5)]=function(_0x4f124e){var _0x595347=_0x1d0edd;if(_0x4f124e instanceof ArrayBuffer&&(_0x4f124e=new Uint8Array(_0x4f124e)),(_0x4f124e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f124e instanceof Uint8ClampedArray||_0x4f124e instanceof Int16Array||_0x4f124e instanceof Uint16Array||_0x4f124e instanceof Int32Array||_0x4f124e instanceof Uint32Array||_0x4f124e instanceof Float32Array||_0x4f124e instanceof Float64Array)&&(_0x4f124e=new Uint8Array(_0x4f124e[_0x595347(0x3d6)],_0x4f124e[_0x595347(0x17e)],_0x4f124e['byteLength'])),_0x4f124e instanceof Uint8Array){for(var _0x4beb0b=_0x4f124e['byteLength'],_0x4f30b5=[],_0x318553=0x0;_0x318553<_0x4beb0b;_0x318553++)_0x4f30b5[_0x318553>>>0x2]|=_0x4f124e[_0x318553]<<0x18-_0x318553%0x4*0x8;_0x553663[_0x595347(0x2dd)](this,_0x4f30b5,_0x4beb0b);}else _0x553663[_0x595347(0x1db)](this,arguments);};_0x2a2c5a[_0x1d0edd(0x2b6)]=_0x2c2c2c;}}()),_0x2c6c0d[_0x4a789c(0x1a0)][_0x4a789c(0x126)];}));}(Ze)),Ze[_0x242953(0x1c8)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x1207a5(0x1c8)],ci;function Vr(){var _0x507fab=_0x1207a5;return ci||(ci=0x1,function(_0x8b76d4,_0x4c9c02){(function(_0x4dc98f,_0x5e6a51,_0x4a1f9f){_0x8b76d4['exports']=_0x5e6a51(ie(),wi());}(Fr,function(_0x73b0d6){var _0x865128=_0x4c70;return _0x73b0d6[_0x865128(0x13d)][_0x865128(0x318)]={'pad':function(){},'unpad':function(){}},_0x73b0d6[_0x865128(0x13d)]['NoPadding'];}));}(Qe)),Qe[_0x507fab(0x1c8)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x28095d,_0xf33581){var _0x3694e4=_0x1207a5;const _0x4d0564=_0xf33581-_0x28095d[_0x3694e4(0x3a6)]%_0xf33581,_0x3b039d=String[_0x3694e4(0x2da)](_0x4d0564)['repeat'](_0x4d0564);return _0x28095d+_0x3b039d;}function Yr(_0x3385b2,_0x137a60){var _0x503614=_0x1207a5;const _0x25de5c=jr[_0x503614(0x35c)](0x10),_0x30b010=Kr(_0x3385b2,0x10),_0x2ea570=Ar[_0x503614(0x1bd)](kr['parse'](_0x30b010),si[_0x503614(0x215)](_0x137a60),{'iv':_0x25de5c,'padding':Wr});return _0x25de5c[_0x503614(0x1cd)](_0x2ea570['ciphertext'])['toString'](si);}function qr(){var _0x40b6df=_0x1207a5;const _0x56bb91=_0x120822()[_0x40b6df(0x277)];if(_0x56bb91){const _0x1321b4={'time':Math[_0x40b6df(0x2e5)](Date[_0x40b6df(0x2f2)]()/0x3e8),'domain':location[_0x40b6df(0x32f)]};return Yr(JSON[_0x40b6df(0x324)](_0x1321b4),_0x56bb91);}}var zr=Object[_0x1207a5(0x3dd)],Jr=(_0x1821db,_0x23d8e1,_0x46c379,_0x9132fa)=>{var _0x3583e2=_0x1207a5;for(var _0x537f40=_0x9132fa>0x1?void 0x0:_0x9132fa?zr(_0x23d8e1,_0x46c379):_0x23d8e1,_0x2b5c74=_0x1821db[_0x3583e2(0x3a6)]-0x1,_0x3b9929;_0x2b5c74>=0x0;_0x2b5c74--)(_0x3b9929=_0x1821db[_0x2b5c74])&&(_0x537f40=_0x3b9929(_0x537f40)||_0x537f40);return _0x537f40;},Xr=(_0x434f8b,_0x2cad26)=>(_0x2e7141,_0x3dad3a)=>_0x2cad26(_0x2e7141,_0x3dad3a,_0x434f8b);let at=class{constructor(_0x449e94){var _0x3b988b=_0x1207a5;this[_0x3b988b(0x24a)]=_0x449e94,this['_initRequestHeader']();}[_0x1207a5(0x33b)](){var _0x448f7d=_0x1207a5;this[_0x448f7d(0x24a)][_0x448f7d(0x398)]({'interceptor':(_0x4fda0b,_0x465e6e)=>{var _0x109bf4=_0x448f7d;const _0x5ec841=_0x4fda0b[_0x109bf4(0x1bf)],_0x5d97f7=qr();return _0x5d97f7&&_0x5ec841[_0x109bf4(0x1f6)](_0x109bf4(0x39d),_0x5d97f7),_0x465e6e(_0x4fda0b);}});}};at=Jr([Xr(0x0,_0x1e1c30(_0x1e8654))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0xa48dbb,_0x5932a1,_0x193b61,_0x3521d3)=>{for(var _0x13a619=_0x3521d3>0x1?void 0x0:_0x3521d3?Zr(_0x5932a1,_0x193b61):_0x5932a1,_0xb18214=_0xa48dbb['length']-0x1,_0x3acfef;_0xb18214>=0x0;_0xb18214--)(_0x3acfef=_0xa48dbb[_0xb18214])&&(_0x13a619=_0x3acfef(_0x13a619)||_0x13a619);return _0x13a619;},mt=(_0x592fcf,_0x17461e)=>(_0x27808f,_0x5e4530)=>_0x17461e(_0x27808f,_0x5e4530,_0x592fcf);let bt=class extends _0x1a81df{constructor(_0x5d5a4f,_0x44d5ae,_0x17a9af){var _0x15a045=_0x1207a5;super(),N(this,_0x15a045(0x2ee),new _0x28aab7(null)),N(this,_0x15a045(0x195),this['_unitInfo$'][_0x15a045(0x3a7)]()),(this[_0x15a045(0x2de)]=_0x5d5a4f,this[_0x15a045(0x220)]=_0x44d5ae,this[_0x15a045(0x152)]=_0x17a9af);}async[_0x1207a5(0x399)](_0x1f09d9,_0x1cb38a,_0x24fbaa){var _0x17dedc=_0x1207a5;this[_0x17dedc(0x2ee)][_0x17dedc(0x10a)]({'unitId':_0x1f09d9,'type':_0x1cb38a,'subUnitId':_0x24fbaa});let _0x35112e=null;switch(_0x1cb38a){case Q[_0x17dedc(0x1d1)]:{_0x35112e=await this[_0x17dedc(0x313)](_0x1f09d9);break;}case Q[_0x17dedc(0x3ff)]:{_0x35112e=await this['_loadDoc'](_0x1f09d9);break;}default:{this[_0x17dedc(0x2de)][_0x17dedc(0x291)](_0x17dedc(0x203),_0x17dedc(0x1a8));break;}}return _0x35112e;}async[_0x1207a5(0x313)](_0x5577dc){var _0x192c2d=_0x1207a5,_0x1c3a83;let _0x34104f=0x0;const _0x2b4556=await((_0x1c3a83=this['_localCacheService'])==null?void 0x0:_0x1c3a83[_0x192c2d(0x2b2)](_0x5577dc));return _0x2b4556&&(_0x2b4556[_0x192c2d(0x25d)]||_0x2b4556[_0x192c2d(0x3a5)][_0x192c2d(0x3a6)]!==0x0)&&(_0x34104f=_0x2b4556[_0x192c2d(0x2d7)]),_0x34104f===0x0&&this[_0x192c2d(0x2de)][_0x192c2d(0x3d9)](_0x192c2d(0x203),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x192c2d(0x220)][_0x192c2d(0x179)](_0x5577dc,_0x34104f);}async['_loadDoc'](_0x2983c9){var _0x401a49=_0x1207a5,_0x21540f;let _0x23481e=0x0;const _0x3391cf=await((_0x21540f=this['_localCacheService'])==null?void 0x0:_0x21540f[_0x401a49(0x2b2)](_0x2983c9));return _0x3391cf&&(_0x3391cf[_0x401a49(0x25d)]||_0x3391cf['mutations'][_0x401a49(0x3a6)]!==0x0)&&(_0x23481e=_0x3391cf[_0x401a49(0x2d7)]),_0x23481e===0x0&&this[_0x401a49(0x2de)][_0x401a49(0x3d9)](_0x401a49(0x203),_0x401a49(0x1c4)),this['_snapshotService']['loadDoc'](_0x2983c9,_0x23481e);}};bt=Qr([mt(0x0,_0x1ef61d),mt(0x1,_0x1e1c30(_0xe9eb00)),mt(0x2,_0x2359f1(J))],bt);var es=Object[_0x1207a5(0x3dd)],ts=(_0x25ec9c,_0x25d811,_0x26fcd0,_0x33b2a4)=>{var _0xe43ba6=_0x1207a5;for(var _0x296b97=_0x33b2a4>0x1?void 0x0:_0x33b2a4?es(_0x25d811,_0x26fcd0):_0x25d811,_0x2e8050=_0x25ec9c[_0xe43ba6(0x3a6)]-0x1,_0x50dfee;_0x2e8050>=0x0;_0x2e8050--)(_0x50dfee=_0x25ec9c[_0x2e8050])&&(_0x296b97=_0x50dfee(_0x296b97)||_0x296b97);return _0x296b97;},gt=(_0x953ac,_0x24e1bf)=>(_0x25ebb2,_0x19bacb)=>_0x24e1bf(_0x25ebb2,_0x19bacb,_0x953ac);const is=[_0x1207a5(0x37e),_0x1207a5(0x2f9),'image/jpg',_0x1207a5(0x144),_0x1207a5(0x30b)],ns=0x5*0x400*0x400,rs=_0x1207a5(0x1b6),ss=_0x1207a5(0x354),as='EXCHANGE_SIGN_URL_SERVER_URL_KEY',os=_0x1207a5(0x38c);let yt=class{constructor(_0x2f1765,_0x576adb,_0xa9813d){var _0x47a12b=_0x1207a5;N(this,'_waitCount',0x0),N(this,'_change$',new _0x4232a4()),N(this,_0x47a12b(0x255),this['_change$']),N(this,_0x47a12b(0x186),new Map()),(this[_0x47a12b(0x24a)]=_0x2f1765,this[_0x47a12b(0x114)]=_0x576adb,this['_univerInstanceService']=_0xa9813d);}[_0x1207a5(0x1ae)](_0x12d737){var _0x2d14cf=_0x1207a5;this[_0x2d14cf(0x31f)]=_0x12d737,this[_0x2d14cf(0x225)][_0x2d14cf(0x10a)](_0x12d737);}[_0x1207a5(0x1c7)](_0x2a95de,_0xa416b9){var _0x12a931=_0x1207a5;if(_0xa416b9===_0xb64101[_0x12a931(0x3db)]){const _0x43e88f=new Image();return _0x43e88f[_0x12a931(0x224)]=_0x2a95de,_0x43e88f;}return this[_0x12a931(0x186)][_0x12a931(0x23a)](_0x2a95de);}[_0x1207a5(0x2cf)](_0x425524,_0x4942d5,_0x4b8176){var _0x3131ca=_0x1207a5;_0x4942d5===_0xb64101[_0x3131ca(0x3db)]||_0x4b8176==null||this[_0x3131ca(0x186)][_0x3131ca(0x1f6)](_0x425524,_0x4b8176);}async[_0x1207a5(0x1f2)](_0x15a15b){var _0x5894cb=_0x1207a5;try{const _0x87dc79=this[_0x5894cb(0x3c4)](this['_getSignURL'](),''+_0x15a15b),_0x516e7f=(await this[_0x5894cb(0x24a)][_0x5894cb(0x23a)](_0x87dc79))[_0x5894cb(0x405)];if(_0x516e7f[_0x5894cb(0x291)]&&_0x516e7f['error'][_0x5894cb(0x20d)]===Si['OK']){const _0x2c9cdc=new URL(_0x516e7f['url'],this['_getDownloadEndpointURL']())[_0x5894cb(0x34c)]();return Promise['resolve'](_0x2c9cdc);}return Promise[_0x5894cb(0x32e)](_0x516e7f['error']);}catch(_0x22e16a){return Promise[_0x5894cb(0x32e)](_0x22e16a);}}async[_0x1207a5(0x150)](_0x249d63){var _0x3a3b51=_0x1207a5;let _0x56910d='';if(!is[_0x3a3b51(0x3e9)](_0x249d63[_0x3a3b51(0x136)]))return this[_0x3a3b51(0x13f)](),Promise[_0x3a3b51(0x32e)](new Error(_0x39bfc7[_0x3a3b51(0x35a)]));if(_0x249d63[_0x3a3b51(0x32a)]>ns)return this[_0x3a3b51(0x13f)](),Promise[_0x3a3b51(0x32e)](new Error(_0x39bfc7['ERROR_EXCEED_SIZE']));try{const _0x5c4296=new FormData();_0x5c4296[_0x3a3b51(0x406)](_0x3a3b51(0x26e),_0x249d63);const _0x3d3448=this[_0x3a3b51(0x269)][_0x3a3b51(0x305)](),_0x56c219=_0x3d3448==null?void 0x0:_0x3d3448[_0x3a3b51(0x3ca)]();if(!_0x56c219)throw new Error(_0x3a3b51(0x340));const _0x38e5a3=this[_0x3a3b51(0x30a)]()+_0x3a3b51(0x22e)+_0x249d63[_0x3a3b51(0x32a)][_0x3a3b51(0x34c)]()+'&source='+Ei[_0x3a3b51(0x364)]+_0x3a3b51(0x304)+encodeURIComponent(_0x56c219),_0x322a4f=await(await fetch(_0x38e5a3,{'method':_0x3a3b51(0x2ef),'body':_0x5c4296}))[_0x3a3b51(0x1fc)]();if(typeof _0x322a4f[_0x3a3b51(0x20b)]!='string')return this[_0x3a3b51(0x13f)](),Promise['reject'](new Error(_0x39bfc7[_0x3a3b51(0x180)]));_0x56910d=_0x322a4f['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x39bfc7['ERROR_IMAGE']));}return new Promise((_0x2d8b19,_0x1d0399)=>{var _0x432e5a=_0x3a3b51;const _0x4a15e5=new FileReader();_0x4a15e5[_0x432e5a(0x1d4)](_0x249d63),_0x4a15e5['onload']=_0x5ad23d=>{var _0x5bbdeb=_0x432e5a,_0x13a074;const _0x359d25=(_0x13a074=_0x5ad23d[_0x5bbdeb(0x253)])==null?void 0x0:_0x13a074[_0x5bbdeb(0x19d)];if(_0x359d25==null){this[_0x5bbdeb(0x13f)](),_0x1d0399(new Error(_0x39bfc7[_0x5bbdeb(0x180)]));return;}const _0x54d276=_0x287acc[_0x5bbdeb(0x170)](0x6);_0x2d8b19({'imageId':_0x54d276,'imageSourceType':_0xb64101[_0x5bbdeb(0x393)],'source':_0x56910d,'base64Cache':_0x359d25,'status':_0x39bfc7[_0x5bbdeb(0x234)]}),this[_0x5bbdeb(0x13f)]();};});}[_0x1207a5(0x30a)](){var _0x4414c9=_0x1207a5,_0x4b46fd,_0x5541e4;const _0x32ccb9=this['_configService'][_0x4414c9(0x161)](rs),_0x376a1f=this['_configService']['getConfig'](q);return(_0x5541e4=(_0x4b46fd=_0x376a1f==null?void 0x0:_0x376a1f['uploadFileServerUrl'])!=null?_0x4b46fd:_0x32ccb9)!=null?_0x5541e4:ss;}[_0x1207a5(0x408)](){var _0x2f94e6=_0x1207a5,_0x227544,_0x42f7a2;const _0x74f66e=this[_0x2f94e6(0x114)][_0x2f94e6(0x161)](as),_0x22881a=this[_0x2f94e6(0x114)][_0x2f94e6(0x161)](q);return(_0x42f7a2=(_0x227544=_0x22881a==null?void 0x0:_0x22881a[_0x2f94e6(0x221)])!=null?_0x227544:_0x74f66e)!=null?_0x42f7a2:os;}[_0x1207a5(0x1e9)](){var _0x229ebc=_0x1207a5,_0x2ab1b4;const _0x18ca3c=this[_0x229ebc(0x114)]['getConfig'](q);return(_0x2ab1b4=_0x18ca3c==null?void 0x0:_0x18ca3c[_0x229ebc(0x148)])!=null?_0x2ab1b4:location[_0x229ebc(0x333)];}[_0x1207a5(0x3c4)](_0x3cd4bb,_0x3b064f){var _0xcae30=_0x1207a5;return _0x3cd4bb[_0xcae30(0x267)]('{fileID}',_0x3b064f);}['_decreaseWaiting'](){var _0x418082=_0x1207a5;this[_0x418082(0x31f)]-=0x1,this[_0x418082(0x225)]['next'](this['_waitCount']);}};yt=ts([gt(0x0,_0x1e1c30(_0x1e8654)),gt(0x1,_0x273f4e),gt(0x2,_0x1e1c30(_0x22f80b))],yt);var cs=Object[_0x1207a5(0x3dd)],hs=(_0x4576ef,_0x55d2c3,_0xb6b5a7,_0x184e63)=>{var _0x4e6d2f=_0x1207a5;for(var _0x47de9b=_0x184e63>0x1?void 0x0:_0x184e63?cs(_0x55d2c3,_0xb6b5a7):_0x55d2c3,_0x4eb9ee=_0x4576ef[_0x4e6d2f(0x3a6)]-0x1,_0xff3238;_0x4eb9ee>=0x0;_0x4eb9ee--)(_0xff3238=_0x4576ef[_0x4eb9ee])&&(_0x47de9b=_0xff3238(_0x47de9b)||_0x47de9b);return _0x47de9b;},hi=(_0x327e4d,_0x52259d)=>(_0x17d3f1,_0x4bab1a)=>_0x52259d(_0x17d3f1,_0x4bab1a,_0x327e4d);const _s='/universer-api/authz';let Ot=class{constructor(_0x1db41a,_0x9c05b1){var _0x16edc2=_0x1207a5;this['_configService']=_0x1db41a,this[_0x16edc2(0x165)]=_0x9c05b1;}[_0x1207a5(0x1b9)](){var _0x256da2=_0x1207a5,_0x3ae966,_0x122f2e;const _0x1b1d2c=this[_0x256da2(0x114)]['getConfig'](Ni),_0x4b8857=this[_0x256da2(0x114)][_0x256da2(0x161)](q);return(_0x122f2e=(_0x3ae966=_0x4b8857==null?void 0x0:_0x4b8857[_0x256da2(0x3b6)])!=null?_0x3ae966:_0x1b1d2c)!=null?_0x122f2e:_s;}async[_0x1207a5(0x3e6)](_0x6784cc){var _0xdda903=_0x1207a5;const _0x3c9b9f=this['_getAPIPrefixPath']()+_0xdda903(0x191);return{'list':[{'title':'People','mentions':(await this[_0xdda903(0x165)]['get'](_0x3c9b9f,{'params':{'objectID':_0x6784cc[_0xdda903(0x223)],'unitID':_0x6784cc[_0xdda903(0x223)]}}))['body'][_0xdda903(0x3cd)][_0xdda903(0x3f6)](_0x3dbb98=>({'objectId':_0x3dbb98['id'],'name':_0x3dbb98['subject'][_0xdda903(0x246)],'metadata':{'icon':_0x3dbb98[_0xdda903(0x376)][_0xdda903(0x16d)]},'label':_0x3dbb98['subject']['name'],'objectType':_0x32763b[_0xdda903(0x3a8)]})),'metadata':{},'type':_0x32763b[_0xdda903(0x3a8)]}]};}};Ot=hs([hi(0x0,_0x1e1c30(_0x273f4e)),hi(0x1,_0x1e1c30(_0x1e8654))],Ot);var ls=Object[_0x1207a5(0x3dd)],us=(_0x15bb90,_0x54ef77,_0x107552,_0x2215aa)=>{var _0x310e50=_0x1207a5;for(var _0x52d87e=_0x2215aa>0x1?void 0x0:_0x2215aa?ls(_0x54ef77,_0x107552):_0x54ef77,_0x153ee8=_0x15bb90[_0x310e50(0x3a6)]-0x1,_0x37c6d4;_0x153ee8>=0x0;_0x153ee8--)(_0x37c6d4=_0x15bb90[_0x153ee8])&&(_0x52d87e=_0x37c6d4(_0x52d87e)||_0x52d87e);return _0x52d87e;},Ae=(_0x2f826a,_0x227681)=>(_0x179d75,_0x26597a)=>_0x227681(_0x179d75,_0x26597a,_0x2f826a);let ot=class extends _0x1a81df{constructor(_0x5718fc,_0x47250a,_0x668c6c,_0x21ed81,_0xc4bd38){var _0xba117=_0x1207a5;super(),this[_0xba117(0x173)]=_0x5718fc,this['_univerInstanceService']=_0x47250a,this[_0xba117(0x2e3)]=_0x668c6c,this['_collaborationSessionService']=_0x21ed81,this[_0xba117(0x22f)]=_0xc4bd38,this[_0xba117(0x237)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x378e3d=_0x1207a5;const _0x20eb8a=async _0x4db3bc=>{var _0x581809=_0x4c70;(await this['_collaborationSessionService']['requireSession'](_0x4db3bc))['event$'][_0x581809(0x36b)](_0x3ecb44(_0x38c1f1=>_0x38c1f1['eventID']===_0x5601d9['SHOULD_CLOSE_CONN']),_0x14afb4(this['dispose$']))['subscribe'](_0x4fc4f3=>{var _0x2ba041=_0x581809;const _0x527dee=_0x4fc4f3,{reason:_0x59aa0c}=_0x527dee[_0x2ba041(0x212)];this['_collaborationUIEventService'][_0x2ba041(0x23e)]({'id':se[_0x2ba041(0x202)],'data':_0x59aa0c}),this[_0x2ba041(0x2e3)][_0x2ba041(0x19e)](new _0x32ecee(_0x4db3bc)['id'],!0x1),this[_0x2ba041(0x115)][_0x2ba041(0x3df)](_0x4db3bc);});};_0x47b2b1(this[_0x378e3d(0x269)][_0x378e3d(0x1c5)](_0x19df23[_0x378e3d(0x1d1)]),this[_0x378e3d(0x269)]['getTypeOfUnitAdded$'](_0x19df23[_0x378e3d(0x3ff)]))['pipe'](_0x5acb68(_0x24b6fd=>_0x24b6fd['getUnitId']()),_0x3ecb44(_0x1f495e=>!_0x857d5a(_0x1f495e)),_0x14afb4(this[_0x378e3d(0x355)]))[_0x378e3d(0x24b)](_0x7d0d37=>{_0x20eb8a(_0x7d0d37);});}['_initUnitPermissionChange'](){var _0x5e6a45=_0x1207a5;const _0x3a40e2=async _0x1e330a=>{var _0x54edfb=_0x4c70;const _0x5a4d27=await this[_0x54edfb(0x115)][_0x54edfb(0x40a)](_0x1e330a),_0x489caa=this['_injector']['get'](_0x51492c);_0x5a4d27[_0x54edfb(0x2d3)][_0x54edfb(0x36b)](_0x3ecb44(_0x4fbd1e=>_0x4fbd1e['eventID']===_0x5601d9[_0x54edfb(0x130)]),_0x14afb4(this[_0x54edfb(0x355)]))['subscribe'](_0x3456f6=>{var _0x394a49=_0x54edfb;const _0x243c95=_0x3456f6,{objectId:_0x1d328d}=_0x243c95['data'];_0x1d328d===_0x1e330a?_0x489caa[_0x394a49(0x135)](_0x1e330a):_0x489caa[_0x394a49(0x343)](_0x1e330a,_0x1d328d);});};_0x47b2b1(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x19df23[_0x5e6a45(0x1d1)]))['pipe'](_0x5acb68(_0x130b4e=>_0x130b4e[_0x5e6a45(0x3ca)]()),_0x3ecb44(_0x5aa455=>!_0x857d5a(_0x5aa455)),_0x14afb4(this[_0x5e6a45(0x355)]))[_0x5e6a45(0x24b)](_0x47217a=>{_0x3a40e2(_0x47217a);});}};ot=us([Ae(0x0,_0x1e1c30(_0x17b627)),Ae(0x1,_0x22f80b),Ae(0x2,_0xbef414),Ae(0x3,_0x1e1c30(Le)),Ae(0x4,_0x1e1c30(pe))],ot);var ds=Object[_0x1207a5(0x3dd)],fs=(_0x160f0a,_0x26b578,_0x55935f,_0x4a0e68)=>{var _0x2e170b=_0x1207a5;for(var _0x5ebf1a=_0x4a0e68>0x1?void 0x0:_0x4a0e68?ds(_0x26b578,_0x55935f):_0x26b578,_0x1ac501=_0x160f0a[_0x2e170b(0x3a6)]-0x1,_0x2402f6;_0x1ac501>=0x0;_0x1ac501--)(_0x2402f6=_0x160f0a[_0x1ac501])&&(_0x5ebf1a=_0x2402f6(_0x5ebf1a)||_0x5ebf1a);return _0x5ebf1a;},_i=(_0x7b1167,_0xbee874)=>(_0x155738,_0x10657b)=>_0xbee874(_0x155738,_0x10657b,_0x7b1167);let Nt=class{constructor(_0x569831,_0x55d84d){var _0x1d6766=_0x1207a5;this[_0x1d6766(0x114)]=_0x569831,this[_0x1d6766(0x24a)]=_0x55d84d;}async['getUnitOnRev'](_0x486abc,_0x40edf4){var _0x3cf747=_0x1207a5,_0x30eddd;const {unitID:_0x5ee982,type:_0x508150,revision:_0x28a51e=0x0}=_0x40edf4,_0x4dfd36=this['getSnapshotAPIPath']()+'/'+_0x508150+_0x3cf747(0x2f5)+_0x5ee982+_0x3cf747(0x22c)+_0x28a51e,_0x2915e7=(await this[_0x3cf747(0x24a)]['get'](_0x4dfd36))[_0x3cf747(0x405)],_0x4372c9=(_0x30eddd=_0x2915e7['snapshot'])==null?void 0x0:_0x30eddd[_0x3cf747(0x2f7)];if(_0x4372c9){const _0x54e537=_0x4372c9==null?void 0x0:_0x4372c9[_0x3cf747(0x2c2)],_0x5f2f15=_0x5051e1['encode'](_0x59e12d(_0x54e537));_0x4372c9[_0x3cf747(0x2c2)]=_0x5f2f15,Object[_0x3cf747(0x3fe)](_0x4372c9['sheets'])['forEach'](([,_0x45eadc])=>{var _0x58797c=_0x3cf747;const _0x344482=_0x45eadc[_0x58797c(0x2c2)],_0x33b0c5=_0x5051e1[_0x58797c(0x326)](_0x59e12d(_0x344482));_0x45eadc[_0x58797c(0x2c2)]=_0x33b0c5;});}return _0x2915e7;}async['getSheetBlock'](_0x546fbe,_0x3edca5){var _0x230b3a=_0x1207a5;const {unitID:_0x32767b,type:_0x1f3fc2,blockID:_0x1dd47f}=_0x3edca5,_0x4f4511=this[_0x230b3a(0x1f8)]()+'/'+_0x1f3fc2+'/unit/'+_0x32767b+'/block/'+_0x1dd47f;return(await this[_0x230b3a(0x24a)][_0x230b3a(0x23a)](_0x4f4511))[_0x230b3a(0x405)];}async['getDeserializedSheetBlock'](_0x52e707,_0xb8b42f){var _0x17c1b4=_0x1207a5;const {unitID:_0x13871d,type:_0x17a7db,blockID:_0x13b3f2}=_0xb8b42f,_0x436076=this[_0x17c1b4(0x1f8)]()+_0x17c1b4(0x3e7)+_0x17a7db+_0x17c1b4(0x2f5)+_0x13871d+_0x17c1b4(0x3e7)+_0x13b3f2;return(await this[_0x17c1b4(0x24a)][_0x17c1b4(0x23a)](_0x436076))[_0x17c1b4(0x405)];}async['fetchMissingChangesets'](_0x3a02ee,_0x483ac0){var _0x2a59d6=_0x1207a5;const {unitID:_0x13506f,type:_0x23bf17,from:_0x2784dc,to:_0x1ba1e1}=_0x483ac0,_0x40cdb0=this[_0x2a59d6(0x1f8)]()+'/'+_0x23bf17+_0x2a59d6(0x2f5)+_0x13506f+_0x2a59d6(0x3e3)+_0x2784dc+_0x2a59d6(0x232)+_0x1ba1e1;return(await this[_0x2a59d6(0x24a)][_0x2a59d6(0x23a)](_0x40cdb0))[_0x2a59d6(0x405)];}['getSnapshotAPIPath'](){var _0x35a8ef=_0x1207a5,_0x2e4f82;return(_0x2e4f82=this[_0x35a8ef(0x114)][_0x35a8ef(0x161)](Sn))!=null?_0x2e4f82:this[_0x35a8ef(0x1f8)]();}['_getAPIPrefix'](){var _0x15dd00=_0x1207a5,_0x49b74d,_0x122204;const _0x1eeedf=this[_0x15dd00(0x114)][_0x15dd00(0x161)](mn),_0x2cfa3c=this[_0x15dd00(0x114)][_0x15dd00(0x161)](q);return(_0x122204=(_0x49b74d=_0x2cfa3c==null?void 0x0:_0x2cfa3c[_0x15dd00(0x2bf)])!=null?_0x49b74d:_0x1eeedf)!=null?_0x122204:gn;}async['getResourcesRequest'](_0xc561a3,_0x5832b6){var _0x111c3e=_0x1207a5;const _0x52b557=_0x111c3e(0x37b)+_0x5832b6[_0x111c3e(0x136)]+_0x111c3e(0x2f5)+_0x5832b6[_0x111c3e(0x1e8)]+_0x111c3e(0x185);return(await this[_0x111c3e(0x24a)][_0x111c3e(0x23a)](_0x52b557,{'params':{'resourceId':JSON['stringify'](_0x5832b6['resourceIDs'])}}))[_0x111c3e(0x405)];}['saveSnapshot'](){var _0x346c6e=_0x1207a5;throw new Error(_0x346c6e(0x20f));}[_0x1207a5(0x251)](){var _0x5774b9=_0x1207a5;throw new Error(_0x5774b9(0x20f));}[_0x1207a5(0x3b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1207a5(0x146)](){var _0x30a4c0=_0x1207a5;throw new Error(_0x30a4c0(0x20f));}[_0x1207a5(0x39e)](){var _0xa775fa=_0x1207a5;throw new Error(_0xa775fa(0x20f));}};Nt=fs([_i(0x0,_0x273f4e),_i(0x1,_0x1e1c30(_0x1e8654))],Nt);var vs=Object[_0x1207a5(0x3dd)],ps=(_0x4b075b,_0x2bf7c5,_0x1eb7dd,_0x579798)=>{for(var _0x33559f=_0x579798>0x1?void 0x0:_0x579798?vs(_0x2bf7c5,_0x1eb7dd):_0x2bf7c5,_0x3b1d80=_0x4b075b['length']-0x1,_0x1f527e;_0x3b1d80>=0x0;_0x3b1d80--)(_0x1f527e=_0x4b075b[_0x3b1d80])&&(_0x33559f=_0x1f527e(_0x33559f)||_0x33559f);return _0x33559f;},Pe=(_0xf49237,_0x272151)=>(_0x2046d2,_0x1fd428)=>_0x272151(_0x2046d2,_0x1fd428,_0xf49237);let Dt=class extends _0x5b34ce{constructor(_0x1c1781,_0x52d021,_0x587a6a,_0x5d00d0,_0x18d766){var _0x302d93=_0x1207a5;super(_0x1c1781,_0x52d021,_0x587a6a),this[_0x302d93(0x3ce)]=_0x5d00d0,this['_logService']=_0x18d766;}[_0x1207a5(0x396)](_0x852277,_0x43bb98){var _0x505479=_0x1207a5;const _0x374b26=this[_0x505479(0x111)](_0x852277);if(_0x374b26)try{const _0x39678f=this[_0x505479(0x160)](_0x374b26,_0x43bb98);this[_0x505479(0x1a7)](_0x852277,_0x39678f);}catch(_0x13b428){this[_0x505479(0x2de)][_0x505479(0x291)](_0x505479(0x12c),_0x13b428),this[_0x505479(0x37a)](_0x852277);}const _0xdb6b12=this[_0x505479(0x2f4)](_0x852277);if(_0xdb6b12)try{const _0x1cb99c=this[_0x505479(0x160)](_0xdb6b12,_0x43bb98);this[_0x505479(0x314)](_0x852277,_0x1cb99c);}catch(_0x4423ea){this['_logService'][_0x505479(0x291)](_0x4423ea),this[_0x505479(0x2d6)](_0x852277);}}['_clearUndo'](_0xcfb8c6){var _0x13aa21=_0x1207a5;const _0x42a2a7=this['_getUndoStack'](_0xcfb8c6);_0x42a2a7&&(_0x42a2a7[_0x13aa21(0x3a6)]=0x0,this['_updateStatus']());}[_0x1207a5(0x2d6)](_0x18c835){var _0x10d0db=_0x1207a5;const _0x1563f4=this['_getRedoStack'](_0x18c835);_0x1563f4&&(_0x1563f4['length']=0x0,this[_0x10d0db(0x28d)]());}[_0x1207a5(0x1a7)](_0x26257e,_0x1e705f){var _0x57545d=_0x1207a5;this['_undoStacks'][_0x57545d(0x1f6)](_0x26257e,_0x1e705f),this[_0x57545d(0x28d)]();}['_substituteRedoStack'](_0x4445ef,_0x4ae1ee){var _0x3a0da4=_0x1207a5;this[_0x3a0da4(0x13e)][_0x3a0da4(0x1f6)](_0x4445ef,_0x4ae1ee),this['_updateStatus']();}[_0x1207a5(0x160)](_0x10da2d,_0x526eb3){var _0x29d5f9=_0x1207a5;const _0x8b7922=[];let _0x31196a=_0x526eb3,_0x1e8814=_0x526eb3;for(let _0x4e6710=_0x10da2d[_0x29d5f9(0x3a6)]-0x1;_0x4e6710>=0x0;_0x4e6710--){const {unitID:_0x1612d8,undoMutations:_0x4e9e0d,redoMutations:_0x2a96e9}=_0x10da2d[_0x4e6710],_0x1a2e27=this[_0x29d5f9(0x3ce)]['transformMutationsWithChangeset'](_0x31196a,_0x4e9e0d),_0x3534b9=this['_transformService'][_0x29d5f9(0x2eb)](_0x1e8814,_0x2a96e9);if(_0x5f0fe1(_0x1a2e27)||_0x5f0fe1(_0x3534b9)){this['_logService']['error'](_0x29d5f9(0x12c),_0x29d5f9(0x3d2),_0x1a2e27,_0x3534b9);break;}_0x31196a=_0x1a2e27['c1Prime'],_0x1e8814=_0x3534b9[_0x29d5f9(0x214)],_0x8b7922[_0x29d5f9(0x367)]({'unitID':_0x1612d8,'undoMutations':_0x1a2e27[_0x29d5f9(0x3c6)],'redoMutations':_0x3534b9[_0x29d5f9(0x3c6)]});}return _0x8b7922[_0x29d5f9(0x2ae)]();}};Dt=ps([Pe(0x0,_0x22f80b),Pe(0x1,_0x44ef17),Pe(0x2,_0x128970),Pe(0x3,_0x274f21),Pe(0x4,_0x1ef61d)],Dt);var ms=Object[_0x1207a5(0x3fa)],gs=Object[_0x1207a5(0x3dd)],Ss=(_0x4ced3c,_0x4b1843,_0xd7b047)=>_0x4b1843 in _0x4ced3c?ms(_0x4ced3c,_0x4b1843,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd7b047}):_0x4ced3c[_0x4b1843]=_0xd7b047,Es=(_0x23b5a9,_0x51f3d6,_0x1cc98f,_0x5cb298)=>{var _0x364c96=_0x1207a5;for(var _0x2d380f=_0x5cb298>0x1?void 0x0:_0x5cb298?gs(_0x51f3d6,_0x1cc98f):_0x51f3d6,_0x424e34=_0x23b5a9[_0x364c96(0x3a6)]-0x1,_0x364e38;_0x424e34>=0x0;_0x424e34--)(_0x364e38=_0x23b5a9[_0x424e34])&&(_0x2d380f=_0x364e38(_0x2d380f)||_0x2d380f);return _0x2d380f;},St=(_0x5d232c,_0xc4e96d)=>(_0x38ac55,_0x5a75c1)=>_0xc4e96d(_0x38ac55,_0x5a75c1,_0x5d232c),Is=(_0x1c9133,_0x543ec5,_0x449ef8)=>Ss(_0x1c9133,_0x543ec5+'',_0x449ef8);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x57cce3{constructor(_0x4307ba,_0x27ad6a,_0x5aca78,_0xbdd9e8){var _0x2d6cf2=_0x1207a5;super(),N(this,_0x2d6cf2(0x374)),(this[_0x2d6cf2(0x2de)]=_0x27ad6a,this[_0x2d6cf2(0x173)]=_0x5aca78,this[_0x2d6cf2(0x114)]=_0xbdd9e8);const {..._0x257b69}=_0x59d206({},An,_0x4307ba);if(!_0x257b69['socketService'])throw new Error(_0x2d6cf2(0x320));this['_config']=_0x257b69,this[_0x2d6cf2(0x114)]['setConfig'](q,_0x257b69);}['onStarting'](){var _0x36856c=_0x1207a5;this[_0x36856c(0x1a4)](),this[_0x36856c(0x388)]();}[_0x1207a5(0x1a4)](){var _0x5c4e2b=_0x1207a5,_0x4760d7,_0x348d51;this[_0x5c4e2b(0x173)][_0x5c4e2b(0x334)](_0x3dda96)&&this['_logService'][_0x5c4e2b(0x291)](_0x5c4e2b(0x395),_0x5c4e2b(0x145));const _0x32ed87=_0x2dc9b3([[_0x3dda96,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x5c4e2b(0x374)][_0x5c4e2b(0x1f4)]}],[_0x1e84a6,{'useClass':Nt}],[_0x24a621,{'useClass':Rt}],[_0x3686b1,{'useClass':yt}],[_0x36dd4f,{'useClass':Ot}],[rt],[Ct]],(_0x4760d7=this[_0x5c4e2b(0x374)])==null?void 0x0:_0x4760d7['override']);if(!((_0x348d51=this['_config'])!=null&&_0x348d51[_0x5c4e2b(0x3f2)])){const _0x280844=_0x32ed87[_0x5c4e2b(0x2a2)](([_0x305c9f])=>_0x305c9f===ht);_0x280844!==-0x1&&_0x32ed87[_0x5c4e2b(0x23d)](_0x280844,0x1);}_0x59cc4d(this[_0x5c4e2b(0x173)],_0x32ed87);}[_0x1207a5(0x388)](){var _0x9c0172=_0x1207a5,_0x54c582,_0x583667,_0x155eaf;this[_0x9c0172(0x173)][_0x9c0172(0x23a)](_0x1e8654)[_0x9c0172(0x398)]({'priority':0x14,'interceptor':_0x5ecd6a({'maxParallel':0x6})}),(_0x54c582=this[_0x9c0172(0x374)])!=null&&_0x54c582[_0x9c0172(0x36f)]||(_0x583667=this['_injector'][_0x9c0172(0x23a)](J,_0x1afc67[_0x9c0172(0x39f)]))==null||_0x583667[_0x9c0172(0x22a)](),(_0x155eaf=this[_0x9c0172(0x374)])!=null&&_0x155eaf[_0x9c0172(0x17b)]&&_0x2a4bbc(this[_0x9c0172(0x173)],[[st]]),_0x2a4bbc(this[_0x9c0172(0x173)],[[at],[rt],[ot]]);}};Is(Ut,_0x1207a5(0x27b),Ts),Ut=Es([_0x4494d9(_0x316063,_0x20de47),St(0x1,_0x1ef61d),St(0x2,_0x1e1c30(_0x17b627)),St(0x3,_0x273f4e)],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};
|