@univerjs-pro/collaboration-client 0.6.0-nightly.202501281606 → 0.6.0-nightly.202501291606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x5b64d2=_0x341f;(function(_0x5a6068,_0x197413){var _0x21f74d=_0x341f,_0x450726=_0x5a6068();while(!![]){try{var _0x2d09a3=-parseInt(_0x21f74d(0x182))/0x1+-parseInt(_0x21f74d(0x1be))/0x2+parseInt(_0x21f74d(0x178))/0x3*(-parseInt(_0x21f74d(0x2b1))/0x4)+parseInt(_0x21f74d(0x2cd))/0x5*(parseInt(_0x21f74d(0x2d8))/0x6)+parseInt(_0x21f74d(0x27c))/0x7*(parseInt(_0x21f74d(0x31c))/0x8)+-parseInt(_0x21f74d(0x296))/0x9*(-parseInt(_0x21f74d(0x20b))/0xa)+parseInt(_0x21f74d(0x1ae))/0xb*(-parseInt(_0x21f74d(0x11f))/0xc);if(_0x2d09a3===_0x197413)break;else _0x450726['push'](_0x450726['shift']());}catch(_0x4c6386){_0x450726['push'](_0x450726['shift']());}}}(_0x1281,0xe4ca5));var Li=Object['defineProperty'],Mi=(_0x2e2c1e,_0x510710,_0x3e13ea)=>_0x510710 in _0x2e2c1e?Li(_0x2e2c1e,_0x510710,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e13ea}):_0x2e2c1e[_0x510710]=_0x3e13ea,N=(_0x5f23e9,_0x29c2d4,_0x8dc935)=>Mi(_0x5f23e9,typeof _0x29c2d4!=_0x5b64d2(0xd5)?_0x29c2d4+'':_0x29c2d4,_0x8dc935);import{createIdentifier as _0x5415a9,Inject as _0x51009b,Injector as _0x4bfd06,Disposable as _0xf149c,DisposableCollection as _0x576eff,toDisposable as _0x28ba2f,IConfigService as _0xb5719d,ILogService as _0x2b52c2,UserManagerService as _0x2a04aa,UniverInstanceType as _0x47ffbb,IUniverInstanceService as _0x54f72a,LocaleService as _0x36359a,Optional as _0x2ddb4f,RxDisposable as _0x53c65a,Tools as _0x2326ae,Rectangle as _0x3306db,ICommandService as _0x178bdd,JSONX as _0x392a1f,CommandType as _0x154df6,IPermissionService as _0x1864f2,IUndoRedoService as _0x4b516f,sequenceExecute as _0x585945,Workbook as _0x131802,MentionType as _0x4abdcc,IAuthzIoService as _0x3d28ab,isInternalEditorID as _0x347b00,LocalUndoRedoService as _0x4d31ff,IContextService as _0x3fdc75,DependentOn as _0x2eb928,Plugin as _0x316076,merge as _0x30bb92,mergeOverrideWithDependencies as _0x1af04f,IMentionIOService as _0x5b949e,registerDependencies as _0xaad062,Quantity as _0x366e74,touchDependencies as _0x22b06b}from'@univerjs/core';import{Subject as _0x4bd802,merge as _0x5e5f0f,of as _0x24682b,BehaviorSubject as _0x4d30c8,takeUntil as _0x534dde,ReplaySubject as _0x18fab2,take as _0x321742,map as _0x58d7a9,shareReplay as _0x5a1165,firstValueFrom as _0x8a8ba8,concatMap as _0x99c149}from'rxjs';import{map as _0x168999,take as _0x381326,filter as _0x4b8e50,delay as _0x3e5690,takeUntil as _0x24e13f}from'rxjs/operators';import{HTTPService as _0x3793f1,ISocketService as _0x248444,MergeInterceptorFactory as _0x4e1c76,HTTPRequest as _0x4ffdde,UniverNetworkPlugin as _0x5aa85d,ThresholdInterceptorFactory as _0x4de157}from'@univerjs/network';import{CollaborationEvent as _0x40d0bd,parseChangesetToProtocol as _0x1d7c57,ISnapshotServerService as _0x18e625,isTransformMutationsWithChangesetSuccess as _0x19571e,ITransformService as _0x3e3f20,mapDocumentTypeToUniverType as _0x41f3d3,RevisionService as _0x9b51c5,isTransformChangesetsSuccess as _0x457216,CompressMutationService as _0x33c4d0,parseProtocolChangeset as _0x14584e,SnapshotService as _0x47bc9b,textEncoder as _0x851053,b64DecodeUnicode as _0x558688,isTransformMutationsWithChangesetFailure as _0x4ab218,UniverCollaborationPlugin as _0x22cc72}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5542dc}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x59ab95}from'@univerjs/docs';import{SheetsSelectionsService as _0x5159dc,SetSelectionsOperation as _0xed9b39,InsertSheetMutation as _0x2eeb5a,EmptyMutation as _0x31d820,WorkbookEditablePermission as _0x9ce7fb,SheetPermissionInitController as _0x23c403,UniverSheetsPlugin as _0x4b0515}from'@univerjs/sheets';import{ImageSourceType as _0x53941d,ImageUploadStatusType as _0x579201,IImageIoService as _0x33bcd7}from'@univerjs/drawing';import{getGlobalObject as _0x27079f}from'@univerjs-pro/license';const En=_0x5b64d2(0x12f),In=_0x5b64d2(0xdc),Tn='SNAPSHOT_URL_KEY',eo=_0x5b64d2(0x13f),Cn=0x7d0,Rn=_0x5b64d2(0x21c),bn=_0x5b64d2(0xb9),On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x5b64d2(0x37e),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x5b64d2(0x18f),io=0x3e8,Un=_0x5b64d2(0x2b2),An=_0x5b64d2(0x2f3),xn=_0x5b64d2(0x231),Ln=_0x5b64d2(0x373),no=_0x5b64d2(0x1ec),ro=_0x5b64d2(0x242);var Ii=(_0x1e3944=>(_0x1e3944[_0x1e3944[_0x5b64d2(0x32e)]=0x0]=_0x5b64d2(0x32e),_0x1e3944[_0x1e3944['OK']=0x1]='OK',_0x1e3944[_0x1e3944['INTERNAL_ERROR']=0x2]=_0x5b64d2(0xd0),_0x1e3944[_0x1e3944[_0x5b64d2(0x31d)]=0x3]='PERMISSION_DENIED',_0x1e3944[_0x1e3944[_0x5b64d2(0x2ff)]=0x4]=_0x5b64d2(0x2ff),_0x1e3944[_0x1e3944[_0x5b64d2(0x19d)]=0x5]='UNAUTHENTICATED',_0x1e3944[_0x1e3944[_0x5b64d2(0x34b)]=0x6]=_0x5b64d2(0x34b),_0x1e3944[_0x1e3944[_0x5b64d2(0x25c)]=0x7]=_0x5b64d2(0x25c),_0x1e3944[_0x1e3944['TOO_MANY_REQUESTS']=0x8]=_0x5b64d2(0x17b),_0x1e3944[_0x1e3944[_0x5b64d2(0x149)]=0x9]=_0x5b64d2(0x149),_0x1e3944[_0x1e3944['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5b64d2(0x327),_0x1e3944[_0x1e3944[_0x5b64d2(0x1a8)]=0x1771]=_0x5b64d2(0x1a8),_0x1e3944[_0x1e3944[_0x5b64d2(0x1f9)]=0x1772]=_0x5b64d2(0x1f9),_0x1e3944[_0x1e3944[_0x5b64d2(0x2ca)]=0x1773]=_0x5b64d2(0x2ca),_0x1e3944[_0x1e3944[_0x5b64d2(0xee)]=0x1b59]=_0x5b64d2(0xee),_0x1e3944[_0x1e3944[_0x5b64d2(0x351)]=0x1b5a]=_0x5b64d2(0x351),_0x1e3944[_0x1e3944[_0x5b64d2(0x24e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e3944[_0x1e3944[_0x5b64d2(0x2ce)]=0x1b5c]=_0x5b64d2(0x2ce),_0x1e3944[_0x1e3944[_0x5b64d2(0x138)]=0x1b5d]=_0x5b64d2(0x138),_0x1e3944[_0x1e3944[_0x5b64d2(0x209)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1e3944[_0x1e3944[_0x5b64d2(0x24f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1e3944[_0x1e3944[_0x5b64d2(0xd8)]=0x232a]=_0x5b64d2(0xd8),_0x1e3944[_0x1e3944[_0x5b64d2(0x1c6)]=0x232b]=_0x5b64d2(0x1c6),_0x1e3944[_0x1e3944[_0x5b64d2(0x345)]=0x232c]=_0x5b64d2(0x345),_0x1e3944[_0x1e3944[_0x5b64d2(0x18b)]=0x232d]=_0x5b64d2(0x18b),_0x1e3944[_0x1e3944['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5b64d2(0x228),_0x1e3944[_0x1e3944['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e3944[_0x1e3944[_0x5b64d2(0x281)]=0x2713]=_0x5b64d2(0x281),_0x1e3944[_0x1e3944[_0x5b64d2(0x244)]=0x2714]=_0x5b64d2(0x244),_0x1e3944[_0x1e3944[_0x5b64d2(0x1f4)]=0x2af9]=_0x5b64d2(0x1f4),_0x1e3944[_0x1e3944['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1e3944))(Ii||{}),Q=(_0x4af5aa=>(_0x4af5aa[_0x4af5aa['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4af5aa[_0x4af5aa[_0x5b64d2(0x185)]=0x1]=_0x5b64d2(0x185),_0x4af5aa[_0x4af5aa[_0x5b64d2(0x37c)]=0x2]=_0x5b64d2(0x37c),_0x4af5aa[_0x4af5aa[_0x5b64d2(0x1fb)]=0x3]=_0x5b64d2(0x1fb),_0x4af5aa[_0x4af5aa[_0x5b64d2(0x283)]=0x4]='UNIVER_PROJECT',_0x4af5aa[_0x4af5aa[_0x5b64d2(0x2f6)]=-0x1]='UNRECOGNIZED',_0x4af5aa))(Q||{}),F=(_0x459798=>(_0x459798[_0x459798[_0x5b64d2(0x145)]=0x0]=_0x5b64d2(0x145),_0x459798[_0x459798[_0x5b64d2(0x30f)]=0x1]=_0x5b64d2(0x30f),_0x459798[_0x459798[_0x5b64d2(0x1c1)]=0x2]=_0x5b64d2(0x1c1),_0x459798[_0x459798['LEAVE']=0x3]=_0x5b64d2(0x1cf),_0x459798[_0x459798['INGEST']=0x4]=_0x5b64d2(0x1ed),_0x459798[_0x459798[_0x5b64d2(0x25e)]=0x5]='HEARTBEAT',_0x459798[_0x459798[_0x5b64d2(0x278)]=0x6]=_0x5b64d2(0x278),_0x459798[_0x459798['UNRECOGNIZED']=-0x1]=_0x5b64d2(0x2f6),_0x459798))(F||{}),Ee=(_0x50352e=>(_0x50352e[_0x50352e[_0x5b64d2(0x338)]=0x0]=_0x5b64d2(0x338),_0x50352e[_0x50352e['OK']=0x1]='OK',_0x50352e[_0x50352e[_0x5b64d2(0x307)]=0x2]=_0x5b64d2(0x307),_0x50352e[_0x50352e[_0x5b64d2(0x15a)]=0x3e9]=_0x5b64d2(0x15a),_0x50352e[_0x50352e[_0x5b64d2(0x394)]=0x3ea]=_0x5b64d2(0x394),_0x50352e[_0x50352e[_0x5b64d2(0x19a)]=0x3eb]=_0x5b64d2(0x19a),_0x50352e[_0x50352e[_0x5b64d2(0x14f)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x50352e[_0x50352e[_0x5b64d2(0x2f6)]=-0x1]=_0x5b64d2(0x2f6),_0x50352e))(Ee||{}),Ti=(_0x44212a=>(_0x44212a[_0x44212a['Undefined']=0x0]='Undefined',_0x44212a[_0x44212a[_0x5b64d2(0x28b)]=0x1]=_0x5b64d2(0x28b),_0x44212a[_0x44212a['HttpExport']=0x2]='HttpExport',_0x44212a[_0x44212a[_0x5b64d2(0x297)]=0x3]='UnitEmbedded',_0x44212a[_0x44212a['UnitSnapshot']=0x4]=_0x5b64d2(0xfa),_0x44212a[_0x44212a[_0x5b64d2(0x2f6)]=-0x1]=_0x5b64d2(0x2f6),_0x44212a))(Ti||{});const q=_0x5b64d2(0x302),Wt={};var se=(_0x503321=>(_0x503321[_0x5b64d2(0xf4)]=_0x5b64d2(0xf4),_0x503321[_0x5b64d2(0x31d)]=_0x5b64d2(0x31d),_0x503321[_0x5b64d2(0x15f)]='CONFLICT',_0x503321['CLOSE_ROOM']=_0x5b64d2(0x2a2),_0x503321['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x503321[_0x5b64d2(0xe0)]='SOCKET_FAILED_RETRY',_0x503321[_0x5b64d2(0x1d1)]=_0x5b64d2(0x1d1),_0x503321[_0x5b64d2(0x336)]='SUBMIT_CHANGESET_TIMEOUT',_0x503321))(se||{});class pe{constructor(){var _0x315018=_0x5b64d2;N(this,_0x315018(0x200),new _0x4bd802()),N(this,_0x315018(0x22e),this[_0x315018(0x200)][_0x315018(0x30b)]());}[_0x5b64d2(0x211)](_0x3fa837){var _0x5af443=_0x5b64d2;this[_0x5af443(0x200)]['next'](_0x3fa837);}}const Mn=_0x5415a9(_0x5b64d2(0xa5));function $n(_0x2901b8){var _0x4c5c73=_0x5b64d2,_0x197513,_0x4dc25a,_0x5a537f,_0x2777aa,_0x54b1e3;const _0x364fce=_0x2901b8[_0x4c5c73(0x262)],_0x1f7f0d=JSON[_0x4c5c73(0x164)](_0x364fce);switch(_0x1f7f0d['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x2a0662=_0x1f7f0d['infoRsp'];return{..._0x1f7f0d,'data':_0x2a0662,'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};}case F[_0x4c5c73(0x1c1)]:{const _0x439a8a=_0x1f7f0d['joinRsp'];return{..._0x1f7f0d,'data':_0x439a8a,'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};}case F[_0x4c5c73(0x278)]:{const _0x357bdf=_0x1f7f0d['collaMsg'];switch(_0x357bdf[_0x4c5c73(0x11d)]){case _0x40d0bd[_0x4c5c73(0x24b)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':(_0x197513=_0x357bdf[_0x4c5c73(0x37a)])==null?void 0x0:_0x197513['cs']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0x119)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':(_0x4dc25a=_0x357bdf[_0x4c5c73(0xcb)])==null?void 0x0:_0x4dc25a['cs']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd['NEW_CHANGESETS']:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':(_0x5a537f=_0x357bdf[_0x4c5c73(0xf5)])==null?void 0x0:_0x5a537f['cs']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd['CHANGESET_REJ']:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':(_0x2777aa=_0x357bdf[_0x4c5c73(0x1e9)])==null?void 0x0:_0x2777aa['cs']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd['CHANGESET_SHOULD_RETRY']:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':(_0x54b1e3=_0x357bdf[_0x4c5c73(0x38e)])==null?void 0x0:_0x54b1e3['cs']},'cmd':_0x1f7f0d['cmd']};case _0x40d0bd[_0x4c5c73(0x201)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x335)]},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0x1b1)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf['joinEvent']},'cmd':_0x1f7f0d['cmd']};case _0x40d0bd[_0x4c5c73(0x133)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf['leaveEvent']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd['LIVESHARE_NEW_HOST']:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x1da)]},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0x317)]:case _0x40d0bd[_0x4c5c73(0x282)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf['liveShareOperation']},'cmd':_0x1f7f0d['cmd']};case _0x40d0bd[_0x4c5c73(0xe6)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x1da)]},'cmd':_0x1f7f0d['cmd']};case _0x40d0bd[_0x4c5c73(0x1ee)]:return{..._0x1f7f0d,'data':_0x357bdf,'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0x2b0)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x328)]},'cmd':_0x1f7f0d['cmd']};case _0x40d0bd['UPDATE_PERMISSION_OBJ']:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x26b)]},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0xb2)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf[_0x4c5c73(0x319)]},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};case _0x40d0bd[_0x4c5c73(0x1e2)]:return{..._0x1f7f0d,'data':{..._0x357bdf,'data':_0x357bdf['uniscriptRunEvent']},'cmd':_0x1f7f0d[_0x4c5c73(0xaf)]};default:return _0x1f7f0d;}}default:return _0x1f7f0d;}}function Hn(_0xb74cd4){var _0x5365a8=_0x5b64d2;switch(_0xb74cd4[_0x5365a8(0xaf)]){case F[_0x5365a8(0x25e)]:case F[_0x5365a8(0x30f)]:return JSON['stringify']({'cmd':_0xb74cd4['cmd'],'routeKey':_0xb74cd4[_0x5365a8(0x2fb)]});case F[_0x5365a8(0x1ed)]:{let _0x1a50ed;switch(_0xb74cd4['data'][_0x5365a8(0x11d)]){case _0x40d0bd[_0x5365a8(0x201)]:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0x201)],'updateCursorEvent':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd[_0x5365a8(0x133)]:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0x133)],'leaveEvent':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd[_0x5365a8(0x1b1)]:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0x1b1)],'joinEvent':_0xb74cd4[_0x5365a8(0x262)]['data']};break;}case _0x40d0bd['LIVESHARE_NEW_HOST']:{_0x1a50ed={'eventID':_0x40d0bd['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd[_0x5365a8(0x282)]:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0x282)],'liveShareOperation':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd[_0x5365a8(0xe6)]:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0xe6)],'liveShareTerminate':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd['LIVESHARE_REQUEST_HOST']:{_0x1a50ed={'eventID':_0x40d0bd['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xb74cd4[_0x5365a8(0x262)][_0x5365a8(0x262)]};break;}case _0x40d0bd['LIVESHARE_FETCH_OPERATIONS']:{_0x1a50ed={'eventID':_0x40d0bd[_0x5365a8(0x317)]};break;}default:_0x1a50ed={'eventID':_0xb74cd4[_0x5365a8(0x262)]['eventID']};}return JSON[_0x5365a8(0x21f)]({'cmd':_0xb74cd4['cmd'],'routeKey':_0xb74cd4[_0x5365a8(0x2fb)],'collaMsg':_0x1a50ed});}case F[_0x5365a8(0x1c1)]:return JSON['stringify']({'cmd':_0xb74cd4[_0x5365a8(0xaf)],'routeKey':_0xb74cd4['routeKey'],'joinReq':_0xb74cd4['data']});case F[_0x5365a8(0x1cf)]:return JSON[_0x5365a8(0x21f)]({'cmd':_0xb74cd4[_0x5365a8(0xaf)],'routeKey':_0xb74cd4[_0x5365a8(0x2fb)],'leaveReq':_0xb74cd4[_0x5365a8(0x262)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x5b64d2(0x25a)],jn=Object[_0x5b64d2(0x267)],Bn=(_0x164012,_0x130e3e,_0x4c1ecb,_0x2ff737)=>{for(var _0x554a59=_0x2ff737>0x1?void 0x0:_0x2ff737?jn(_0x130e3e,_0x4c1ecb):_0x130e3e,_0x4cd038=_0x164012['length']-0x1,_0x14ed56;_0x4cd038>=0x0;_0x4cd038--)(_0x14ed56=_0x164012[_0x4cd038])&&(_0x554a59=(_0x2ff737?_0x14ed56(_0x130e3e,_0x4c1ecb,_0x554a59):_0x14ed56(_0x554a59))||_0x554a59);return _0x2ff737&&_0x554a59&&kn(_0x130e3e,_0x4c1ecb,_0x554a59),_0x554a59;},Ue=(_0x4cf5b9,_0x5aac91)=>(_0x1efca9,_0xfba8da)=>_0x5aac91(_0x1efca9,_0xfba8da,_0x4cf5b9);const Ci=_0x5415a9(_0x5b64d2(0x353));function Fn(_0xe11199,_0x1a0dac,_0x462720){var _0x30b542=_0x5b64d2;return _0xe11199+'/'+_0x1a0dac+_0x30b542(0x27f)+_0x462720+_0x30b542(0x26f);}let Et=class extends _0xf149c{constructor(_0x1fcf33,_0x2f535a,_0x2253e5,_0x20d061,_0x4a8efa){var _0x33ec89=_0x5b64d2;super(),this[_0x33ec89(0x248)]=_0x1fcf33,this[_0x33ec89(0x36c)]=_0x2f535a,this['_configService']=_0x2253e5,this[_0x33ec89(0x131)]=_0x20d061,this['_snapshotServerService']=_0x4a8efa;}[_0x5b64d2(0x21d)](_0x33338e){var _0x1b1ac9=_0x5b64d2;const _0x280dfb=this[_0x1b1ac9(0x248)]['get'](_0x248444);if(!_0x280dfb)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3e615e=_0x280dfb[_0x1b1ac9(0x21d)](_0x33338e);if(!_0x3e615e)throw new Error(_0x1b1ac9(0x158));const _0xa957f8=new _0x576eff(),_0x53831f=new _0x4bd802();_0xa957f8[_0x1b1ac9(0x37b)](_0x3e615e[_0x1b1ac9(0xb7)]['subscribe'](_0x6029df=>_0x53831f['next'](_0x6029df))),_0xa957f8['add'](_0x28ba2f(()=>_0x53831f['complete']()));const _0x287cee=new _0x4bd802();_0xa957f8[_0x1b1ac9(0x37b)](_0x3e615e[_0x1b1ac9(0x189)]['subscribe'](_0x2d3cc9=>_0x287cee[_0x1b1ac9(0x199)](_0x2d3cc9))),_0xa957f8[_0x1b1ac9(0x37b)](_0x28ba2f(()=>_0x287cee[_0x1b1ac9(0x1a4)]()));const _0x924e60=new _0x4bd802();_0xa957f8[_0x1b1ac9(0x37b)](_0x3e615e[_0x1b1ac9(0x245)]['subscribe'](_0x1b3d22=>{const _0x3212d7=$n(_0x1b3d22);_0x924e60['next'](_0x3212d7);})),_0xa957f8[_0x1b1ac9(0x37b)](_0x28ba2f(()=>_0x924e60[_0x1b1ac9(0x1a4)]()));let _0x347b39;const _0xb0c865=()=>{var _0x329b3b=_0x1b1ac9;_0x287cee[_0x329b3b(0x199)](new Event(_0x329b3b(0x208))),_0x53831f[_0x329b3b(0x199)](new CloseEvent(_0x329b3b(0x208))),_0x347b39[_0x329b3b(0x238)]();};return _0x347b39={'memberID':'','close$':_0x53831f[_0x1b1ac9(0x30b)](),'error$':_0x287cee[_0x1b1ac9(0x30b)](),'open$':_0x3e615e[_0x1b1ac9(0x22c)],'message$':_0x924e60[_0x1b1ac9(0x30b)](),'send':_0x110ecd=>{var _0x3ab98f=_0x1b1ac9;if(_0x110ecd['cmd']===F[_0x3ab98f(0x1ed)]){if(_0x110ecd[_0x3ab98f(0x262)][_0x3ab98f(0x11d)]===_0x40d0bd[_0x3ab98f(0x2f7)]){this['_submitChangeset'](_0x347b39,_0x110ecd['data'])['catch'](_0x443c34=>{var _0x2a4939=_0x3ab98f;this['_logService'][_0x2a4939(0xbd)](_0x443c34),_0xb0c865();});return;}if(_0x110ecd[_0x3ab98f(0x262)][_0x3ab98f(0x11d)]===_0x40d0bd[_0x3ab98f(0x216)]){const _0x395285=_0x110ecd['data'];this[_0x3ab98f(0x130)](_0x395285)['then'](_0x39d173=>{var _0xcb9cce=_0x3ab98f;_0x924e60[_0xcb9cce(0x199)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x395285[_0xcb9cce(0x262)][_0xcb9cce(0x35c)],'routeType':'','data':{'eventID':_0x40d0bd[_0xcb9cce(0x377)],'data':{'changesets':_0x39d173}}});})[_0x3ab98f(0x9d)](_0x31b977=>{this['_logService']['error'](_0x31b977),_0xb0c865();});return;}}_0x3e615e[_0x3ab98f(0x196)](Hn(_0x110ecd));},'close':()=>{var _0x4f7f83=_0x1b1ac9;_0x3e615e[_0x4f7f83(0x238)](),_0xa957f8['dispose']();}},_0x347b39;}async[_0x5b64d2(0x27a)](_0x4e030f,_0x36bfd2){var _0x11a3ed=_0x5b64d2,_0x397608,_0x541c4b;const {unitType:_0x74180,unitID:_0x59b04c,changeset:_0x5b671f}=_0x36bfd2[_0x11a3ed(0x262)],_0x5bc0cf={'unitID':_0x59b04c,'memberID':_0x4e030f[_0x11a3ed(0xae)],'type':_0x74180,'changeset':_0x1d7c57(_0x5b671f)},_0x4492d1=this[_0x11a3ed(0x9e)][_0x11a3ed(0x35a)](Un),_0x5aeda3=this['_configService'][_0x11a3ed(0x35a)](q),_0x38d9e1=Fn((_0x541c4b=(_0x397608=_0x5aeda3==null?void 0x0:_0x5aeda3[_0x11a3ed(0x165)])!=null?_0x397608:_0x4492d1)!=null?_0x541c4b:An,_0x74180,_0x59b04c);try{await this[_0x11a3ed(0x36c)][_0x11a3ed(0x247)](_0x38d9e1,{'body':_0x5bc0cf});}catch(_0x83677b){throw this[_0x11a3ed(0x131)][_0x11a3ed(0xbd)]('[CollaborationSession]',_0x11a3ed(0x94)),_0x83677b;}}async['_fetchMissChangesets'](_0x44941e){var _0x20b58c=_0x5b64d2;const {unitID:_0xe3875b,from:_0x5f428e,to:_0x23f794,unitType:_0x35004a}=_0x44941e[_0x20b58c(0x262)];return(await this['_snapshotServerService'][_0x20b58c(0x31a)]({'metadata':void 0x0},{'unitID':_0xe3875b,'type':_0x35004a,'from':_0x5f428e,'to':_0x23f794}))[_0x20b58c(0x96)];}};Et=Bn([Ue(0x0,_0x51009b(_0x4bfd06)),Ue(0x1,_0x51009b(_0x3793f1)),Ue(0x2,_0xb5719d),Ue(0x3,_0x2b52c2),Ue(0x4,_0x18e625)],Et);const Vn=_0x5b64d2(0x1a2);function Gn(_0x2180e2){var _0x2f0863=_0x5b64d2;return JSON[_0x2f0863(0x21f)](_0x2180e2)[_0x2f0863(0x1a1)];}class Ri{constructor(){var _0x419ad8=_0x5b64d2;N(this,_0x419ad8(0x20a),new _0x4bd802()),N(this,'commentUpdate$',this[_0x419ad8(0x20a)]['asObservable']());}[_0x5b64d2(0x179)](_0x315a07){var _0x3ea22d=_0x5b64d2;this[_0x3ea22d(0x20a)][_0x3ea22d(0x199)](_0x315a07);}}var Wn=Object[_0x5b64d2(0x25a)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x6c5052,_0x47c08c,_0x19089c,_0x4979ad)=>{for(var _0x5bba76=_0x4979ad>0x1?void 0x0:_0x4979ad?Kn(_0x47c08c,_0x19089c):_0x47c08c,_0x2615cb=_0x6c5052['length']-0x1,_0x474d5d;_0x2615cb>=0x0;_0x2615cb--)(_0x474d5d=_0x6c5052[_0x2615cb])&&(_0x5bba76=(_0x4979ad?_0x474d5d(_0x47c08c,_0x19089c,_0x5bba76):_0x474d5d(_0x5bba76))||_0x5bba76);return _0x4979ad&&_0x5bba76&&Wn(_0x47c08c,_0x19089c,_0x5bba76),_0x5bba76;},Kt=(_0x1977ac,_0x21e10b)=>(_0x40df09,_0x575a30)=>_0x21e10b(_0x40df09,_0x575a30,_0x1977ac);let xe=class extends _0xf149c{constructor(_0x13e8bb,_0x4dec59){var _0x41b695=_0x5b64d2;super(),N(this,_0x41b695(0x1a7),new Map()),N(this,_0x41b695(0x2c6),new _0x4bd802()),(this[_0x41b695(0x1f0)]=_0x13e8bb,this['_userManagerService']=_0x4dec59,this[_0x41b695(0x396)](_0x5e5f0f(this[_0x41b695(0x1f0)][_0x41b695(0x2c8)](_0x47ffbb['UNIVER_SHEET'])[_0x41b695(0x1f8)](_0x168999(_0x416575=>_0x416575['getUnitId']())),this[_0x41b695(0x1f0)][_0x41b695(0x2c8)](_0x47ffbb[_0x41b695(0x185)])['pipe'](_0x168999(_0x1f1e95=>_0x1f1e95[_0x41b695(0x2da)]())),this[_0x41b695(0x1f0)][_0x41b695(0x2c8)](_0x47ffbb['UNIVER_SLIDE'])[_0x41b695(0x1f8)](_0x168999(_0x5058a1=>_0x5058a1[_0x41b695(0x2da)]())))[_0x41b695(0x229)](_0x5af321=>this['_removeRoom'](_0x5af321))));}[_0x5b64d2(0xa6)](_0x371354){var _0x55f06a=_0x5b64d2;return this[_0x55f06a(0x1a7)][_0x55f06a(0xeb)](_0x371354)?_0x24682b(this[_0x55f06a(0x1a7)][_0x55f06a(0x295)](_0x371354)):this[_0x55f06a(0x2c6)][_0x55f06a(0x1f8)](_0x168999(_0x57f0a2=>{var _0x2aa5e5=_0x55f06a;if(_0x57f0a2===_0x371354)return this[_0x2aa5e5(0x1a7)][_0x2aa5e5(0x295)](_0x57f0a2);}));}['setCurrentUser'](_0x21171e){var _0xce9d87=_0x5b64d2;this[_0xce9d87(0x325)]['setCurrentUser'](_0x21171e);}[_0x5b64d2(0x1a3)](){var _0x4789b8=_0x5b64d2;return this['_userManagerService'][_0x4789b8(0x1a3)]();}[_0x5b64d2(0x1b0)](_0x1ad4fd,_0x2fcd37){var _0x2f3c83=_0x5b64d2;let _0x32a384=this[_0x2f3c83(0x1a7)]['get'](_0x1ad4fd);_0x32a384||(_0x32a384=new qn(),this[_0x2f3c83(0x1a7)][_0x2f3c83(0x250)](_0x1ad4fd,_0x32a384),this[_0x2f3c83(0x2c6)][_0x2f3c83(0x199)](_0x1ad4fd)),_0x32a384[_0x2f3c83(0x1b0)](_0x2fcd37);}[_0x5b64d2(0x11b)](_0x535bfb,_0x2eb757){var _0x4e356e=_0x5b64d2;const _0x3b3209=this['_roomMembers'][_0x4e356e(0x295)](_0x535bfb);_0x3b3209&&_0x3b3209[_0x4e356e(0x11b)](_0x2eb757);}[_0x5b64d2(0x2f2)](_0x35a9ab){var _0x45a816=_0x5b64d2;return this['_roomMembers'][_0x45a816(0x295)](_0x35a9ab);}[_0x5b64d2(0x113)](_0x4251ec,_0x5d3eb4){var _0x3eda66=_0x5b64d2;const _0x1bd0f9=this[_0x3eda66(0x1a7)]['get'](_0x4251ec);if(_0x1bd0f9)return _0x1bd0f9[_0x3eda66(0x113)](_0x5d3eb4);}[_0x5b64d2(0x170)](_0x580509){var _0x22ad8b=_0x5b64d2;const _0x27d238=this[_0x22ad8b(0x1a7)][_0x22ad8b(0x295)](_0x580509);_0x27d238&&(_0x27d238[_0x22ad8b(0x28e)](),this[_0x22ad8b(0x1a7)][_0x22ad8b(0x1d0)](_0x580509));}[_0x5b64d2(0x28e)](){var _0x4de052=_0x5b64d2;this[_0x4de052(0x1a7)][_0x4de052(0x2e0)](_0xe2440c=>_0xe2440c[_0x4de052(0x28e)]()),this[_0x4de052(0x1a7)]['clear'](),this[_0x4de052(0x2c6)][_0x4de052(0x1a4)]();}};xe=Yn([Kt(0x0,_0x54f72a),Kt(0x1,_0x51009b(_0x2a04aa))],xe);class qn extends _0xf149c{constructor(){var _0x3e765b=_0x5b64d2;super(...arguments),N(this,_0x3e765b(0x356),new Map()),N(this,_0x3e765b(0x18e),new _0x4d30c8(this[_0x3e765b(0x356)])),N(this,_0x3e765b(0x2f5),this['_members$']['asObservable']());}[_0x5b64d2(0x28e)](){var _0xcbb033=_0x5b64d2;this[_0xcbb033(0x356)][_0xcbb033(0xed)]();}['updateMember'](_0x344626){var _0x125fc7=_0x5b64d2;this[_0x125fc7(0x356)]['set'](_0x344626[_0x125fc7(0xae)],_0x344626),this['_emitMembers']();}[_0x5b64d2(0x11b)](_0x3fa107){var _0x23a0ae=_0x5b64d2;this[_0x23a0ae(0x356)][_0x23a0ae(0x1d0)](_0x3fa107);}['getMember'](_0x342bfc){var _0x3d41a5=_0x5b64d2;return this[_0x3d41a5(0x356)]['get'](_0x342bfc);}[_0x5b64d2(0x309)](){var _0x52f1ff=_0x5b64d2;return Array[_0x52f1ff(0xba)](this['_members']['values']());}[_0x5b64d2(0x256)](){var _0x2e4909=_0x5b64d2;this[_0x2e4909(0x18e)][_0x2e4909(0x199)](this['_members']);}}var zn=Object[_0x5b64d2(0x25a)],Jn=Object[_0x5b64d2(0x267)],Xn=(_0x534757,_0x386d01,_0x3fac79,_0x48c138)=>{var _0xba568f=_0x5b64d2;for(var _0x38dadd=_0x48c138>0x1?void 0x0:_0x48c138?Jn(_0x386d01,_0x3fac79):_0x386d01,_0x5997b1=_0x534757[_0xba568f(0x1a1)]-0x1,_0x2dc81a;_0x5997b1>=0x0;_0x5997b1--)(_0x2dc81a=_0x534757[_0x5997b1])&&(_0x38dadd=(_0x48c138?_0x2dc81a(_0x386d01,_0x3fac79,_0x38dadd):_0x2dc81a(_0x38dadd))||_0x38dadd);return _0x48c138&&_0x38dadd&&zn(_0x386d01,_0x3fac79,_0x38dadd),_0x38dadd;},me=(_0x2dfcef,_0x204e87)=>(_0x2249da,_0x1d0603)=>_0x204e87(_0x2249da,_0x1d0603,_0x2dfcef),Te=(_0x474900=>(_0x474900[_0x474900[_0x5b64d2(0x23f)]=0x0]=_0x5b64d2(0x23f),_0x474900[_0x474900['JOINING']=0x1]=_0x5b64d2(0x34a),_0x474900[_0x474900[_0x5b64d2(0x220)]=0x2]=_0x5b64d2(0x220),_0x474900[_0x474900['ONLINE']=0x3]=_0x5b64d2(0x1d2),_0x474900))(Te||{});const Yt={[Ee[_0x5b64d2(0x307)]]:_0x5b64d2(0xaa),[Ee['JOIN_ROOM_FULL']]:_0x5b64d2(0x35f),[Ee[_0x5b64d2(0x394)]]:_0x5b64d2(0x221),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x5b64d2(0x1cd),[Ee[_0x5b64d2(0x14f)]]:_0x5b64d2(0x156)};let It=class extends _0x53c65a{constructor(_0x3844a1,_0x2796bf,_0x8f0a77,_0x50d121,_0x1213d4,_0x3ad9d8,_0xfd0bd8,_0x2e2aed,_0x2e5bd6){var _0x165c2c=_0x5b64d2;super(),N(this,_0x165c2c(0x2de),new _0x4d30c8(0x0)),N(this,_0x165c2c(0x305),this['_sessionStatus$'][_0x165c2c(0x30b)]()),N(this,'_event$',new _0x4bd802()),N(this,'event$',this[_0x165c2c(0x200)][_0x165c2c(0x30b)]()),N(this,'_socket'),N(this,_0x165c2c(0x17c)),N(this,_0x165c2c(0xa2)),N(this,_0x165c2c(0x1ce),!0x1),N(this,_0x165c2c(0x232),null),(this[_0x165c2c(0x2d6)]=_0x3844a1,this[_0x165c2c(0x131)]=_0x8f0a77,this[_0x165c2c(0x9e)]=_0x50d121,this[_0x165c2c(0xd7)]=_0x1213d4,this[_0x165c2c(0x343)]=_0x3ad9d8,this[_0x165c2c(0x225)]=_0xfd0bd8,this[_0x165c2c(0x2b9)]=_0x2e2aed,this[_0x165c2c(0x306)]=_0x2e5bd6,this['_shouldReportTelemetry']=!!this[_0x165c2c(0x306)],_0x2796bf[_0x165c2c(0x1f8)](_0x534dde(this['dispose$']))[_0x165c2c(0x229)](_0x1ea2d5=>{var _0x41ccc7=_0x165c2c,_0x1d7a18;typeof _0x1ea2d5>'u'||(this['_socket']=_0x1ea2d5,_0x1ea2d5?(this[_0x41ccc7(0xf9)](_0x1ea2d5),this[_0x41ccc7(0x17c)]=_0x1ea2d5[_0x41ccc7(0x245)]['subscribe'](_0x276158=>{var _0x288e5d=_0x41ccc7;_0x276158[_0x288e5d(0x2fb)]===this[_0x288e5d(0x2d6)]&&this['_onCombEvent'](_0x276158);})):(this[_0x41ccc7(0x355)](),this[_0x41ccc7(0x2de)]['next'](0x2),(_0x1d7a18=this[_0x41ccc7(0x17c)])==null||_0x1d7a18[_0x41ccc7(0x1ef)](),this[_0x41ccc7(0x17c)]=null));}));}get['sessionStatus'](){var _0x1fa18b=_0x5b64d2;return this[_0x1fa18b(0x2de)][_0x1fa18b(0x219)]();}[_0x5b64d2(0x1e3)](){var _0x4d0c8c=_0x5b64d2,_0x3ff0d7,_0x56213b;return(_0x56213b=(_0x3ff0d7=this[_0x4d0c8c(0x15e)])==null?void 0x0:_0x3ff0d7['memberID'])!=null?_0x56213b:null;}[_0x5b64d2(0x28e)](){var _0x5e57b9=_0x5b64d2;super[_0x5e57b9(0x28e)](),this[_0x5e57b9(0x354)][_0x5e57b9(0x199)](),this['dispose$'][_0x5e57b9(0x1a4)]();}[_0x5b64d2(0x238)](){var _0x34c849=_0x5b64d2,_0x6d2be4,_0x44e634;this[_0x34c849(0x355)](),(_0x6d2be4=this[_0x34c849(0x15e)])==null||_0x6d2be4[_0x34c849(0x196)]({'cmd':F[_0x34c849(0x1cf)],'data':{'roomID':this[_0x34c849(0x2d6)]}}),(_0x44e634=this['_socket'])==null||_0x44e634[_0x34c849(0x238)](),this['_event$'][_0x34c849(0x1a4)](),this[_0x34c849(0x2de)][_0x34c849(0x1a4)](),this['dispose']();}[_0x5b64d2(0x332)](_0x51a960){var _0x441359=_0x5b64d2;_0x51a960[_0x441359(0xaf)]===F[_0x441359(0x1c1)]?this[_0x441359(0x270)](_0x51a960):_0x51a960['cmd']===F[_0x441359(0x278)]&&this[_0x441359(0xc5)](_0x51a960);}[_0x5b64d2(0xf9)](_0x4a08c4){var _0x223909=_0x5b64d2;this[_0x223909(0x2de)][_0x223909(0x199)](0x1),_0x4a08c4['send']({'cmd':F[_0x223909(0x1c1)],'routeKey':this[_0x223909(0x2d6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x223909(0x2d6)]}]}});}[_0x5b64d2(0x270)](_0x34c5ba){var _0x1dddf7=_0x5b64d2,_0x5e4e6d;if(_0x34c5ba[_0x1dddf7(0x1cb)]in Yt){this['_collaborationUIEventService'][_0x1dddf7(0x211)]({'id':se[_0x1dddf7(0x140)],'data':Yt[_0x34c5ba[_0x1dddf7(0x1cb)]]}),this[_0x1dddf7(0x2de)][_0x1dddf7(0x199)](0x2);return;}this[_0x1dddf7(0x2de)]['next'](0x3);const _0x3bb3ea=(_0x5e4e6d=_0x34c5ba[_0x1dddf7(0x262)]['roomInfos'][this[_0x1dddf7(0x2d6)]])==null?void 0x0:_0x5e4e6d[_0x1dddf7(0x330)];_0x3bb3ea&&_0x3bb3ea[_0x1dddf7(0x2e0)](_0x2f935d=>this[_0x1dddf7(0x343)][_0x1dddf7(0x1b0)](this[_0x1dddf7(0x2d6)],_0x2f935d));}[_0x5b64d2(0xc5)](_0x3b1555){var _0x35d245=_0x5b64d2;try{const _0x19742c=_0x3b1555[_0x35d245(0x262)];switch(_0x19742c[_0x35d245(0x11d)]){case _0x40d0bd[_0x35d245(0x1b1)]:this[_0x35d245(0x192)](_0x19742c),this['_event$'][_0x35d245(0x199)](_0x19742c);break;case _0x40d0bd['USERS_LEAVE']:this[_0x35d245(0x1fa)](_0x19742c),this[_0x35d245(0x200)][_0x35d245(0x199)](_0x19742c);break;case _0x40d0bd[_0x35d245(0x119)]:case _0x40d0bd[_0x35d245(0x36b)]:this[_0x35d245(0x10b)](),this[_0x35d245(0xcd)](),this[_0x35d245(0x200)][_0x35d245(0x199)](_0x19742c);break;case _0x40d0bd[_0x35d245(0x1ee)]:this[_0x35d245(0x131)][_0x35d245(0xbd)](_0x35d245(0x171)+JSON[_0x35d245(0x21f)](_0x19742c)),this[_0x35d245(0x200)]['next'](_0x19742c);break;case _0x40d0bd[_0x35d245(0x2b0)]:this[_0x35d245(0x225)][_0x35d245(0x179)](_0x19742c[_0x35d245(0x262)]),this[_0x35d245(0x200)][_0x35d245(0x199)](_0x19742c);break;default:this[_0x35d245(0x200)][_0x35d245(0x199)](_0x19742c);}}catch(_0x4e39b3){this[_0x35d245(0x131)][_0x35d245(0xbd)](_0x4e39b3,_0x3b1555);}}[_0x5b64d2(0x192)](_0x3ec18f){var _0x4fdf62=_0x5b64d2;this[_0x4fdf62(0x343)]['updateMember'](this[_0x4fdf62(0x2d6)],_0x3ec18f[_0x4fdf62(0x262)]);}[_0x5b64d2(0x1fa)](_0x35e0e4){var _0x492924=_0x5b64d2;this[_0x492924(0x343)][_0x492924(0x11b)](this[_0x492924(0x2d6)],_0x35e0e4[_0x492924(0x262)][_0x492924(0xae)]);}async['send'](_0x157fec,_0x6dacf6){var _0xc17052=_0x5b64d2;if(this['sessionStatus']!==0x3||!this[_0xc17052(0x15e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x157fec[_0xc17052(0x11d)]===_0x40d0bd[_0xc17052(0x2f7)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xc17052(0x379)](_0x157fec)),this[_0xc17052(0x15e)]['send']({'cmd':F[_0xc17052(0x1ed)],'routeKey':_0x6dacf6,'routeType':'','data':_0x157fec});}catch(_0x42037f){this[_0xc17052(0x131)][_0xc17052(0xbd)](_0x42037f);}}[_0x5b64d2(0x25d)](){var _0x23e5e7=_0x5b64d2,_0x4c7ff3;this[_0x23e5e7(0xa2)]=setTimeout(()=>{var _0x3b0059=_0x23e5e7;this[_0x3b0059(0xa2)]=null,this['_collaborationUIEventService']['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4c7ff3=this[_0x23e5e7(0x9e)][_0x23e5e7(0x35a)](Si))!=null?_0x4c7ff3:Ei);}[_0x5b64d2(0xcd)](){var _0x184c43=_0x5b64d2;this[_0x184c43(0xa2)]&&(clearTimeout(this[_0x184c43(0xa2)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x4aaeff){var _0x49a96d=_0x5b64d2;if(!this[_0x49a96d(0x1ce)])return;const {data:_0xffc60b}=_0x4aaeff,{unitID:_0x579076,changeset:_0x3b7cab}=_0xffc60b,{mutations:_0x578e21,type:_0x4f727c}=_0x3b7cab;this[_0x49a96d(0x232)]={'unitId':_0x579076,'type':_0x4f727c,'startTime':performance[_0x49a96d(0x2e3)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x578e21)};}[_0x5b64d2(0x10b)](){var _0x33dbea=_0x5b64d2;if(this['_shouldReportTelemetry']){if(!this[_0x33dbea(0x232)]){this[_0x33dbea(0x131)][_0x33dbea(0xbd)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x33dbea(0x232)][_0x33dbea(0x361)]=performance[_0x33dbea(0x2e3)](),this[_0x33dbea(0x232)][_0x33dbea(0x1e5)]=this[_0x33dbea(0x232)][_0x33dbea(0x361)]-this[_0x33dbea(0x232)][_0x33dbea(0xbf)],this['_telemetryService'][_0x33dbea(0x347)](Vn,this[_0x33dbea(0x232)]),this[_0x33dbea(0x232)]=null;}}[_0x5b64d2(0x355)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x2b52c2),me(0x3,_0xb5719d),me(0x4,_0x51009b(_0x36359a)),me(0x5,_0x51009b(xe)),me(0x6,_0x51009b(Ri)),me(0x7,_0x51009b(pe)),me(0x8,_0x2ddb4f(_0x5542dc))],It);var Zn=Object[_0x5b64d2(0x25a)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x54744c,_0x2edf78,_0x3bc27d,_0x330978)=>{var _0x34eabb=_0x5b64d2;for(var _0x38902d=_0x330978>0x1?void 0x0:_0x330978?Qn(_0x2edf78,_0x3bc27d):_0x2edf78,_0x498931=_0x54744c[_0x34eabb(0x1a1)]-0x1,_0x359d97;_0x498931>=0x0;_0x498931--)(_0x359d97=_0x54744c[_0x498931])&&(_0x38902d=(_0x330978?_0x359d97(_0x2edf78,_0x3bc27d,_0x38902d):_0x359d97(_0x38902d))||_0x38902d);return _0x330978&&_0x38902d&&Zn(_0x2edf78,_0x3bc27d,_0x38902d),_0x38902d;},ge=(_0x2c1f95,_0x159a4f)=>(_0x45956e,_0x45c756)=>_0x159a4f(_0x45956e,_0x45c756,_0x2c1f95);let Le=class extends _0xf149c{constructor(_0x38662e,_0x23717b,_0x404dad,_0x5ee892,_0x2c48a5,_0x4858d2,_0x44f9bd){var _0x414f76=_0x5b64d2;super(),N(this,_0x414f76(0x2bc),new _0x4d30c8(void 0x0)),N(this,_0x414f76(0xe5),this[_0x414f76(0x2bc)][_0x414f76(0x30b)]()),N(this,_0x414f76(0xc7),null),N(this,'_sessions',new Map()),N(this,_0x414f76(0x326),new _0x4d30c8(Te['IDLE'])),N(this,_0x414f76(0x2dd),this[_0x414f76(0x326)]['asObservable']()),N(this,_0x414f76(0x348),!0x1),N(this,_0x414f76(0x33e)),N(this,_0x414f76(0x226),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x414f76(0x350)),(this[_0x414f76(0x248)]=_0x38662e,this[_0x414f76(0x131)]=_0x23717b,this[_0x414f76(0x9e)]=_0x404dad,this[_0x414f76(0x1c9)]=_0x5ee892,this[_0x414f76(0x114)]=_0x2c48a5,this['_collaborationUIEventService']=_0x4858d2,this[_0x414f76(0x293)]=_0x44f9bd,this[_0x414f76(0x2db)]());}get[_0x5b64d2(0x15e)](){var _0x4312ec=_0x5b64d2;return this[_0x4312ec(0x2bc)]['getValue']();}[_0x5b64d2(0x2db)](){var _0x54d2fc=_0x5b64d2;this[_0x54d2fc(0x293)]&&this[_0x54d2fc(0x396)](this[_0x54d2fc(0x293)][_0x54d2fc(0x18d)][_0x54d2fc(0x229)](_0x7e48a4=>{var _0x54360b=_0x54d2fc;_0x7e48a4&&!this['_socket']&&this['reconnect'](),_0x7e48a4||this[_0x54360b(0x10c)]();}));}['dispose'](){var _0x481840=_0x5b64d2;super[_0x481840(0x28e)](),this[_0x481840(0x324)][_0x481840(0x2e0)](_0x38b8ee=>_0x38b8ee['dispose']()),this['_sessions']['clear'](),this[_0x481840(0x326)]['complete']();}async[_0x5b64d2(0x352)](_0x38ff87){var _0x228565=_0x5b64d2;if(this[_0x228565(0x324)]['has'](_0x38ff87))return this[_0x228565(0x324)][_0x228565(0x295)](_0x38ff87);this[_0x228565(0x321)]();const _0x21518d=this[_0x228565(0x248)]['createInstance'](It,_0x38ff87,this[_0x228565(0x2bc)][_0x228565(0x30b)]());return this[_0x228565(0x324)][_0x228565(0x250)](_0x38ff87,_0x21518d),_0x21518d;}['closeSession'](_0x3ed67e){var _0x40530c=_0x5b64d2,_0x325b70;const _0x33760d=this[_0x40530c(0x324)]['get'](_0x3ed67e);_0x33760d&&(this[_0x40530c(0x324)][_0x40530c(0x1d0)](_0x3ed67e),_0x33760d[_0x40530c(0x238)]()),this['_sessions'][_0x40530c(0x261)]||(_0x325b70=this['_socket'])==null||_0x325b70[_0x40530c(0x238)]();}['reconnect'](){var _0x5424e5=_0x5b64d2;this[_0x5424e5(0x226)]=0x0,this[_0x5424e5(0x33e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5424e5(0x33e)]=null),this[_0x5424e5(0x21b)]();}async['_getSessionTicket'](){var _0x2792be=_0x5b64d2,_0x24699f,_0x2ca648,_0x4018ba;const _0x29c495=this['_configService'][_0x2792be(0x35a)](q),_0x1e01a1=(_0x24699f=_0x29c495==null?void 0x0:_0x29c495[_0x2792be(0x311)])!=null?_0x24699f:On;return(_0x4018ba=(_0x2ca648=(await this[_0x2792be(0x114)][_0x2792be(0x295)](_0x1e01a1,{'headers':{'Content-Type':_0x2792be(0x2cc)}}))[_0x2792be(0xf2)])==null?void 0x0:_0x2ca648[_0x2792be(0x349)])!=null?_0x4018ba:'';}['_createSocketURL'](_0x5cd23c){var _0x7194ed=_0x5b64d2,_0x3b0940,_0x1c1852;const _0x98029=this[_0x7194ed(0x9e)][_0x7194ed(0x35a)](Rn),_0x27b4f9=this['_configService'][_0x7194ed(0x35a)](q),_0xa9b90b=(_0x1c1852=(_0x3b0940=_0x27b4f9==null?void 0x0:_0x27b4f9['collabWebSocketUrl'])!=null?_0x3b0940:_0x98029)!=null?_0x1c1852:bn,_0x16ef77=typeof window>'u'?new URL(_0xa9b90b):new URL(_0xa9b90b,window[_0x7194ed(0x1b6)][_0x7194ed(0x11c)]);_0x16ef77['searchParams'][_0x7194ed(0x250)](_0x7194ed(0x110),_0x5cd23c);const _0x47e218=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7194ed(0x1b6)]['search']);return _0x47e218[_0x7194ed(0x295)](_0x7194ed(0x33f))&&_0x16ef77['searchParams'][_0x7194ed(0x250)]('runId',_0x47e218[_0x7194ed(0x295)](_0x7194ed(0x33f))),_0x16ef77[_0x7194ed(0x1ba)]();}async[_0x5b64d2(0xcf)](){var _0x4fd1c2=_0x5b64d2;const _0x25c6bf=await this[_0x4fd1c2(0x286)](),_0x4abc6a=this[_0x4fd1c2(0xe1)](_0x25c6bf),_0x5aa7aa=this[_0x4fd1c2(0x1c9)]['createSocket'](_0x4abc6a);return this[_0x4fd1c2(0xc7)]=_0x5aa7aa,_0x5aa7aa;}async[_0x5b64d2(0x321)](){var _0x39b5ac=_0x5b64d2,_0x2ae86c,_0x3df7c0;try{const _0x39b434=(_0x3df7c0=(_0x2ae86c=this[_0x39b5ac(0x15e)])!=null?_0x2ae86c:this['_candidateSocket'])!=null?_0x3df7c0:await this[_0x39b5ac(0xcf)]();if(_0x39b434){const _0x44db90=_0x39b434[_0x39b5ac(0x196)];_0x39b434[_0x39b5ac(0x196)]=_0x10c035=>(this['_rescheduleHeartbeat'](),_0x44db90[_0x39b5ac(0x2d5)](_0x39b434,[_0x10c035])),_0x39b434[_0x39b5ac(0x245)][_0x39b5ac(0x229)](_0x2aa4d9=>this[_0x39b5ac(0x31b)](_0x39b434,_0x2aa4d9)),_0x39b434['error$']['pipe'](_0x381326(0x1))[_0x39b5ac(0x229)](_0xcefe3f=>this[_0x39b5ac(0x131)][_0x39b5ac(0xbd)](_0x39b5ac(0x1f1),_0xcefe3f)),_0x39b434[_0x39b5ac(0x22c)][_0x39b5ac(0x1f8)](_0x381326(0x1))[_0x39b5ac(0x229)](()=>{var _0x36b261=_0x39b5ac;this[_0x36b261(0xab)](_0x39b434);}),_0x39b434[_0x39b5ac(0xb7)]['pipe'](_0x381326(0x1))[_0x39b5ac(0x229)](_0x30f614=>{var _0x460710=_0x39b5ac;this[_0x460710(0x131)]['debug'](_0x460710(0xc1),'socket\x20close',_0x30f614),this['_onConnectionFailed']();});}}catch(_0x2ac4da){this['_logService'][_0x39b5ac(0xbd)](_0x2ac4da),this[_0x39b5ac(0x315)]();}}[_0x5b64d2(0xab)](_0x825366){var _0x24dab7=_0x5b64d2;this[_0x24dab7(0x131)]['debug']('[CollaborationSessionService]',_0x24dab7(0xd2)),_0x825366['send']({'cmd':F[_0x24dab7(0x30f)]}),this[_0x24dab7(0x2a9)]();}[_0x5b64d2(0x10c)](){var _0x4b6c00=_0x5b64d2;this[_0x4b6c00(0x348)]=!0x1,this[_0x4b6c00(0xc7)]=null,this[_0x4b6c00(0x326)][_0x4b6c00(0x199)](Te[_0x4b6c00(0x220)]),this[_0x4b6c00(0x2bc)][_0x4b6c00(0x199)](null),this['_clearTimeoutTimer'](),this[_0x4b6c00(0xd9)]();}[_0x5b64d2(0x315)](){var _0x33a4f1=_0x5b64d2,_0x244bc2;this['_onOffline'](),this['_retryCount']<((_0x244bc2=this[_0x33a4f1(0x9e)][_0x33a4f1(0x35a)](Pn))!=null?_0x244bc2:wn)?(this[_0x33a4f1(0x2b9)][_0x33a4f1(0x211)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x33a4f1(0x21b)]()):this[_0x33a4f1(0x2b9)][_0x33a4f1(0x211)]({'id':se[_0x33a4f1(0x1d1)]});}[_0x5b64d2(0x21b)](){var _0x5c40d9=_0x5b64d2,_0x9f75bf;const _0xdf06df=this[_0x5c40d9(0x226)],_0x18f719=this[_0x5c40d9(0x9e)][_0x5c40d9(0x35a)](q),_0x466ce8=_0xdf06df===0x0?0x0:((_0x9f75bf=_0x18f719==null?void 0x0:_0x18f719['retryConnectingInterval'])!=null?_0x9f75bf:Dn)*0x2**_0xdf06df;this['_retryConnectingTimer']=setTimeout(()=>{var _0x558eee=_0x5c40d9;clearTimeout(this['_retryConnectingTimer']),this[_0x558eee(0x33e)]=null,this[_0x558eee(0x321)]();},_0x466ce8),this['_retryCount']+=0x1;}[_0x5b64d2(0x31b)](_0x486205,_0x46d323){var _0x1b2d94=_0x5b64d2;const {cmd:_0x6581d2}=_0x46d323;_0x6581d2===F[_0x1b2d94(0x30f)]&&!this[_0x1b2d94(0x348)]&&(_0x486205[_0x1b2d94(0xae)]=_0x46d323['data']['memberID'],this[_0x1b2d94(0x2bc)][_0x1b2d94(0x199)](_0x486205),this['_status$'][_0x1b2d94(0x199)](Te[_0x1b2d94(0x1d2)]),this[_0x1b2d94(0x348)]=!0x0,this[_0x1b2d94(0xc7)]=null),_0x6581d2===F[_0x1b2d94(0x25e)]&&this[_0x1b2d94(0x24d)](),this[_0x1b2d94(0x2a9)]();}['_rescheduleHeartbeat'](){var _0x3cf5fc=_0x5b64d2,_0x32915f;this[_0x3cf5fc(0xd9)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x32915f=this[_0x3cf5fc(0x9e)][_0x3cf5fc(0x35a)](yn))!=null?_0x32915f:Nn);}[_0x5b64d2(0xda)](){var _0x439d39=_0x5b64d2;this[_0x439d39(0x15e)]['send']({'cmd':F[_0x439d39(0x25e)]}),this[_0x439d39(0x1eb)]();}['_waitForHeartbeatResponse'](){var _0x1581dd=_0x5b64d2,_0x2f912e;this['_timeoutTimer']=setTimeout(()=>this[_0x1581dd(0x315)](),(_0x2f912e=this[_0x1581dd(0x9e)][_0x1581dd(0x35a)](Si))!=null?_0x2f912e:Ei);}['_clearHeartbeatTimer'](){var _0x2a2f4b=_0x5b64d2;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2a2f4b(0x198)]),this[_0x2a2f4b(0x198)]=null);}[_0x5b64d2(0x24d)](){var _0x555941=_0x5b64d2;this[_0x555941(0x350)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x555941(0x350)]=null);}};Le=er([ge(0x0,_0x51009b(_0x4bfd06)),ge(0x1,_0x2b52c2),ge(0x2,_0xb5719d),ge(0x3,Ci),ge(0x4,_0x51009b(_0x3793f1)),ge(0x5,_0x51009b(pe)),ge(0x6,_0x2ddb4f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5b64d2(0x124)]((n+0x100)[_0x5b64d2(0x1ba)](0x10)['slice'](0x1));function tr(_0x13e664,_0x21585a=0x0){return(V[_0x13e664[_0x21585a+0x0]]+V[_0x13e664[_0x21585a+0x1]]+V[_0x13e664[_0x21585a+0x2]]+V[_0x13e664[_0x21585a+0x3]]+'-'+V[_0x13e664[_0x21585a+0x4]]+V[_0x13e664[_0x21585a+0x5]]+'-'+V[_0x13e664[_0x21585a+0x6]]+V[_0x13e664[_0x21585a+0x7]]+'-'+V[_0x13e664[_0x21585a+0x8]]+V[_0x13e664[_0x21585a+0x9]]+'-'+V[_0x13e664[_0x21585a+0xa]]+V[_0x13e664[_0x21585a+0xb]]+V[_0x13e664[_0x21585a+0xc]]+V[_0x13e664[_0x21585a+0xd]]+V[_0x13e664[_0x21585a+0xe]]+V[_0x13e664[_0x21585a+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x1cf35c=_0x5b64d2;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cf35c(0xc0));ut=crypto[_0x1cf35c(0x125)][_0x1cf35c(0x1ad)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x5b64d2(0x2ef)]&&crypto[_0x5b64d2(0x2ef)][_0x5b64d2(0x1ad)](crypto),qt={'randomUUID':rr};function sr(_0x2c2fe7,_0x276e82,_0x2283f1){var _0xe8f1b4=_0x5b64d2,_0x38a0c9,_0x107dd8,_0x3ab938;if(qt[_0xe8f1b4(0x2ef)]&&!_0x2c2fe7)return qt[_0xe8f1b4(0x2ef)]();_0x2c2fe7=_0x2c2fe7||{};const _0x5bfafa=(_0x3ab938=(_0x107dd8=_0x2c2fe7['random'])!=null?_0x107dd8:(_0x38a0c9=_0x2c2fe7[_0xe8f1b4(0x259)])==null?void 0x0:_0x38a0c9[_0xe8f1b4(0x290)](_0x2c2fe7))!=null?_0x3ab938:nr();if(_0x5bfafa[_0xe8f1b4(0x1a1)]<0x10)throw new Error(_0xe8f1b4(0x38f));return _0x5bfafa[0x6]=_0x5bfafa[0x6]&0xf|0x40,_0x5bfafa[0x8]=_0x5bfafa[0x8]&0x3f|0x80,tr(_0x5bfafa);}const J=_0x5415a9(_0x5b64d2(0x166));function so(_0x4972bf){var _0x40e438=_0x5b64d2;return _0x40e438(0x1e8)+_0x4972bf;}var or=Object[_0x5b64d2(0x25a)],ar=Object[_0x5b64d2(0x267)],cr=(_0x578c08,_0x428b61,_0x53e87c,_0x1b7632)=>{var _0x4c37c8=_0x5b64d2;for(var _0x2d4d2d=_0x1b7632>0x1?void 0x0:_0x1b7632?ar(_0x428b61,_0x53e87c):_0x428b61,_0x371df1=_0x578c08[_0x4c37c8(0x1a1)]-0x1,_0x54c7d5;_0x371df1>=0x0;_0x371df1--)(_0x54c7d5=_0x578c08[_0x371df1])&&(_0x2d4d2d=(_0x1b7632?_0x54c7d5(_0x428b61,_0x53e87c,_0x2d4d2d):_0x54c7d5(_0x2d4d2d))||_0x2d4d2d);return _0x1b7632&&_0x2d4d2d&&or(_0x428b61,_0x53e87c,_0x2d4d2d),_0x2d4d2d;},dt=(_0x5ebcee,_0x3c96fe)=>(_0x5c44d0,_0x224ef2)=>_0x3c96fe(_0x5c44d0,_0x224ef2,_0x5ebcee);function hr(_0x5314b6){var _0x4fb83c=_0x5b64d2;const {unitID:_0x4ebbc7,mutations:_0x2ff3d4}=_0x5314b6;return{'unitId':_0x4ebbc7,'subUnitId':_0x2ff3d4[0x0][_0x4fb83c(0x1af)][_0x4fb83c(0x37d)]};}let it=class{constructor(_0x4d80d5,_0x45f7a0,_0x79e502){var _0x3e14e6=_0x5b64d2;this[_0x3e14e6(0x248)]=_0x4d80d5,this[_0x3e14e6(0x150)]=_0x45f7a0,this['_instanceService']=_0x79e502;}[_0x5b64d2(0x176)](_0x51b436){var _0x5a472a=_0x5b64d2,_0x3cba53,_0x4fa8b4,_0x2d8872,_0x1e0738;const _0x52ea55=this[_0x5a472a(0x248)][_0x5a472a(0x295)](_0x5159dc),{unitId:_0x265aac,subUnitId:_0x1676b0}=hr(_0x51b436),_0x3f4f67=_0x52ea55==null?void 0x0:_0x52ea55[_0x5a472a(0xff)](_0x265aac)['getCurrentSelections'](),_0x4415d2=(_0x4fa8b4=(_0x3cba53=this[_0x5a472a(0x2a4)][_0x5a472a(0x344)](_0x265aac))==null?void 0x0:_0x3cba53['getActiveSheet']())==null?void 0x0:_0x4fa8b4[_0x5a472a(0x380)]();if(_0x3f4f67[_0x5a472a(0x1a1)]===0x0||!_0x265aac||!_0x1676b0)return;const _0x2d0f0b=[{'id':_0xed9b39['id'],'params':{'unitId':_0x265aac,'subUnitId':_0x4415d2,'selections':_0x2326ae[_0x5a472a(0x191)](_0x3f4f67)}}],_0x340285=this['_transformService']['transformMutationsWithChangeset'](_0x51b436,_0x2d0f0b);if(!_0x19571e(_0x340285))throw _0x340285[_0x5a472a(0xbd)];const _0xf7fdab=(_0x1e0738=(_0x2d8872=_0x340285[_0x5a472a(0x2a1)][0x0])==null?void 0x0:_0x2d8872[_0x5a472a(0x1af)])==null?void 0x0:_0x1e0738['selections'];if(Array[_0x5a472a(0x1dc)](_0xf7fdab)&&_0xf7fdab[_0x5a472a(0x1a1)]){if(_0xf7fdab[_0x5a472a(0x1a1)]===_0x2d0f0b[0x0][_0x5a472a(0x1af)]['selections'][_0x5a472a(0x1a1)]&&_0xf7fdab[_0x5a472a(0x387)]((_0x2cce44,_0x1c5210)=>_0x3306db[_0x5a472a(0x1cc)](_0x2cce44[_0x5a472a(0x23e)],_0x2d0f0b[0x0][_0x5a472a(0x1af)]['selections'][_0x1c5210][_0x5a472a(0x23e)])))return;this[_0x5a472a(0x248)][_0x5a472a(0x295)](_0x178bdd)['executeCommand'](_0xed9b39['id'],{'unitId':_0x265aac,'subUnitId':_0x4415d2,'selections':_0xf7fdab});}}};it=cr([dt(0x0,_0x51009b(_0x4bfd06)),dt(0x1,_0x3e3f20),dt(0x2,_0x54f72a)],it);const ht=_0x5415a9(_0x5b64d2(0x197));var bi=(_0x7bc096=>(_0x7bc096[_0x7bc096[_0x5b64d2(0x376)]=0x0]=_0x5b64d2(0x376),_0x7bc096[_0x7bc096['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x7bc096))(bi||{});const _r=new Set([_0x2eeb5a['id']]);function zt(_0x1adf76,_0x3abf29,_0x56582e,_0x34cc85,_0x558824){var _0x26f31d=_0x5b64d2,_0x3a54aa,_0x302b81,_0x135b35,_0x5406b4;const _0x5a1855=[];for(const _0x4c8f83 of _0x1adf76)if(_r[_0x26f31d(0xeb)](_0x4c8f83['id'])){if(_0x5a1855[_0x26f31d(0x1a1)]>0x0)break;_0x5a1855[_0x26f31d(0x124)](_0x4c8f83);break;}else _0x5a1855[_0x26f31d(0x124)](_0x4c8f83);const _0x1eaf7f=(_0x302b81=(_0x3a54aa=_0x558824['getCurrentUser']())==null?void 0x0:_0x3a54aa[_0x26f31d(0x184)])!=null?_0x302b81:'unknown',_0x3fe873=(_0x5406b4=(_0x135b35=_0x558824[_0x26f31d(0x1a3)]())==null?void 0x0:_0x135b35['memberID'])!=null?_0x5406b4:'unknown';return{'changeset':{'unitID':_0x3abf29,'type':_0x41f3d3(_0x56582e[_0x26f31d(0x134)](_0x3abf29)),'baseRev':_0x34cc85[_0x26f31d(0x367)](_0x3abf29),'revision':0x0,'userID':_0x1eaf7f,'memberID':_0x3fe873,'mutations':_0x5a1855},'pendingMutations':_0x1adf76['slice'](_0x5a1855[_0x26f31d(0x1a1)])};}function lr(_0x37ab85,_0x2822d9,_0x913e96,_0x14f275,_0x22d9cc){var _0x2bfe5c=_0x5b64d2,_0x1cc99b,_0x3bfd09,_0x11a31a,_0x1d4d25;const _0x3cd533=[_0x37ab85[_0x2bfe5c(0xdd)]((_0x228224,_0x1d5a25)=>{var _0x4dcd31=_0x2bfe5c,_0x421474;const {id:_0x3545c6}=_0x228224,{id:_0x335d38,type:_0x36a1f4}=_0x1d5a25,_0x2b906c=(_0x421474=_0x228224[_0x4dcd31(0x1af)])!=null?_0x421474:{'actions':null},_0x386a39=_0x1d5a25['params'];if(_0x3545c6&&_0x3545c6!==_0x335d38)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3545c6+_0x4dcd31(0x141)+_0x335d38+'.');return{..._0x228224,'id':_0x335d38,'type':_0x36a1f4,'params':{'unitId':_0x386a39[_0x4dcd31(0x371)],'textRanges':_0x386a39[_0x4dcd31(0x1b3)],'actions':_0x392a1f[_0x4dcd31(0x213)](_0x2b906c[_0x4dcd31(0x32b)],_0x386a39[_0x4dcd31(0x32b)])}};},{})],_0x57ed98=(_0x3bfd09=(_0x1cc99b=_0x22d9cc['getCurrentUser']())==null?void 0x0:_0x1cc99b[_0x2bfe5c(0x184)])!=null?_0x3bfd09:'unknown',_0x576456=(_0x1d4d25=(_0x11a31a=_0x22d9cc[_0x2bfe5c(0x1a3)]())==null?void 0x0:_0x11a31a[_0x2bfe5c(0xae)])!=null?_0x1d4d25:_0x2bfe5c(0xca);return{'changeset':{'unitID':_0x2822d9,'type':_0x41f3d3(_0x913e96[_0x2bfe5c(0x134)](_0x2822d9)),'baseRev':_0x14f275['getCurrentRevOfUnit'](_0x2822d9),'revision':0x0,'userID':_0x57ed98,'memberID':_0x576456,'mutations':_0x3cd533},'pendingMutations':[]};}function Oi(_0x26af01,_0x36e05b){var _0x44ee7a=_0x5b64d2;const _0x742680=new _0x18fab2(0x1);return setTimeout(()=>_0x742680[_0x44ee7a(0x199)](_0x36e05b),_0x26af01),_0x742680[_0x44ee7a(0x30b)]()['pipe'](_0x321742(0x1));}const ur={'id':_0x31d820['id'],'type':_0x154df6['MUTATION'],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x42d2b5,_0x1c7c88,_0x36d98a,_0x4893f2)=>{for(var _0x5445ef=_0x4893f2>0x1?void 0x0:_0x4893f2?fr(_0x1c7c88,_0x36d98a):_0x1c7c88,_0x34656b=_0x42d2b5['length']-0x1,_0x2818d2;_0x34656b>=0x0;_0x34656b--)(_0x2818d2=_0x42d2b5[_0x34656b])&&(_0x5445ef=(_0x4893f2?_0x2818d2(_0x1c7c88,_0x36d98a,_0x5445ef):_0x2818d2(_0x5445ef))||_0x5445ef);return _0x4893f2&&_0x5445ef&&dr(_0x1c7c88,_0x36d98a,_0x5445ef),_0x5445ef;},A=(_0x3e341e,_0x4f6937)=>(_0x20056d,_0x142fc3)=>_0x4f6937(_0x20056d,_0x142fc3,_0x3e341e),yi=(_0x3b173f=>(_0x3b173f[_0x5b64d2(0x1c4)]='not_collab',_0x3b173f[_0x5b64d2(0x187)]=_0x5b64d2(0x127),_0x3b173f[_0x5b64d2(0x389)]=_0x5b64d2(0x1d7),_0x3b173f[_0x5b64d2(0x194)]=_0x5b64d2(0x151),_0x3b173f[_0x5b64d2(0x1c8)]=_0x5b64d2(0x193),_0x3b173f[_0x5b64d2(0x16f)]=_0x5b64d2(0x15c),_0x3b173f[_0x5b64d2(0x15f)]='conflict',_0x3b173f['OFFLINE']='offline',_0x3b173f))(yi||{});const Ni=0xea60;class be{constructor(_0x274b7f,_0x137360,_0x299e37,_0x3dfbb2,_0x104ca3,_0x534a1c,_0x408b8b,_0x2ca53c,_0x5e47f3){var _0x190b92=_0x5b64d2;N(this,_0x190b92(0x32c),null),N(this,_0x190b92(0x16c),[]),(this[_0x190b92(0x35c)]=_0x274b7f,this['type']=_0x137360,this['_handler']=_0x104ca3,this[_0x190b92(0x251)]=_0x534a1c,this[_0x190b92(0x273)]=_0x408b8b,this[_0x190b92(0x22a)]=_0x2ca53c,this['_localCacheService']=_0x5e47f3,this[_0x190b92(0x32c)]=_0x299e37,this[_0x190b92(0x16c)]=_0x3dfbb2);}[_0x5b64d2(0x112)](_0xd5df58){var _0x5ef7c1=_0x5b64d2;const _0x3fdbc=this[_0x5ef7c1(0x22a)]['getCurrentRevOfUnit'](this['unitID']);return _0xd5df58[_0x5ef7c1(0x181)]>_0x3fdbc+0x1?(this[_0x5ef7c1(0x214)][_0x5ef7c1(0x203)]({'from':_0x3fdbc,'to':_0xd5df58[_0x5ef7c1(0x181)]-0x1}),!0x0):!0x1;}[_0x5b64d2(0x322)](_0x3a6232){var _0x1a0b03=_0x5b64d2;this[_0x1a0b03(0x273)][_0x1a0b03(0x276)](this[_0x1a0b03(0x35c)],_0x3a6232);}[_0x5b64d2(0x1aa)](_0x3479d9){var _0x59cab7=_0x5b64d2,_0x2f1c16,_0xe1797;(_0xe1797=(_0x2f1c16=this[_0x59cab7(0x214)])[_0x59cab7(0x314)])==null||_0xe1797[_0x59cab7(0x290)](_0x2f1c16,_0x3479d9);}[_0x5b64d2(0x107)](_0x185598){var _0x40ad3e=_0x5b64d2,_0x7c0348,_0x57fc41;return(_0x57fc41=(_0x7c0348=this[_0x40ad3e(0x214)])[_0x40ad3e(0x177)])==null?void 0x0:_0x57fc41[_0x40ad3e(0x290)](_0x7c0348,_0x185598);}[_0x5b64d2(0x212)](_0xaa50fc){var _0x16dca4=_0x5b64d2,_0x5a3e09,_0xca25d4;return(_0xca25d4=(_0x5a3e09=this[_0x16dca4(0x214)])[_0x16dca4(0x2e5)])==null?void 0x0:_0xca25d4[_0x16dca4(0x290)](_0x5a3e09,_0xaa50fc);}[_0x5b64d2(0x237)](_0x1b723c){var _0x2dea34=_0x5b64d2,_0x3d9084,_0x51baf9,_0x11484b;return(_0x11484b=(_0x51baf9=(_0x3d9084=this[_0x2dea34(0x214)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x51baf9[_0x2dea34(0x290)](_0x3d9084,_0x1b723c))!=null?_0x11484b:_0x1b723c;}[_0x5b64d2(0x1c3)](_0x525561){var _0x846cb5=_0x5b64d2,_0x1a27bb,_0x369d04,_0x1f47d6;return(_0x1f47d6=(_0x369d04=(_0x1a27bb=this['_handler'])[_0x846cb5(0x1d9)])==null?void 0x0:_0x369d04['call'](_0x1a27bb,_0x525561))!=null?_0x1f47d6:_0x525561;}[_0x5b64d2(0xa7)](_0x79eb6e){var _0xa55d32=_0x5b64d2,_0x5675f9,_0x825047;if(this[_0xa55d32(0x240)]===Q['UNIVER_DOC']){const {unitID:_0x22b4ee,mutations:_0x22705d,memberID:_0x31562b}=_0x79eb6e,_0x428873=_0x22705d[0x0]['params'][_0xa55d32(0x1b3)];Array[_0xa55d32(0x1dc)](_0x428873)&&_0x428873[_0xa55d32(0x1a1)]>0x0&&((_0x825047=(_0x5675f9=this[_0xa55d32(0x214)])[_0xa55d32(0x36f)])==null||_0x825047[_0xa55d32(0x290)](_0x5675f9,{'unitID':_0x22b4ee,'memberID':_0x31562b,'textRanges':_0x428873}));}}[_0x5b64d2(0x118)](){var _0x7cbd55=_0x5b64d2,_0x11e305;(_0x11e305=this['_localCacheService'])==null||_0x11e305[_0x7cbd55(0x1c2)](this[_0x7cbd55(0x35c)],this[_0x7cbd55(0x240)],this[_0x7cbd55(0x32c)],this[_0x7cbd55(0x16c)]);}[_0x5b64d2(0x168)](){var _0x379b3b=_0x5b64d2;return this[_0x379b3b(0x22a)][_0x379b3b(0x367)](this[_0x379b3b(0x35c)]);}[_0x5b64d2(0x33d)](){var _0x13542d=_0x5b64d2;this[_0x13542d(0x22a)][_0x13542d(0xd4)](this[_0x13542d(0x35c)]);}[_0x5b64d2(0x1d3)](_0x5779b3){var _0x3cfc2c=_0x5b64d2,_0x3e819b;let _0x5a78c8=this[_0x3cfc2c(0x237)](_0x5779b3);_0x5a78c8=this[_0x3cfc2c(0x1c3)](_0x5a78c8);const _0x3eecbb=_0x585945(_0x5a78c8['mutations'],this[_0x3cfc2c(0x251)],{'fromCollab':!0x0});if(!_0x3eecbb[_0x3cfc2c(0x2ba)])throw _0x3eecbb[_0x3cfc2c(0xbd)]instanceof Error?_0x3eecbb['error']:new Error((_0x3e819b=_0x3eecbb['error'])!=null?_0x3e819b:'[CollaborationState]:\x20apply\x20error!');this[_0x3cfc2c(0x107)](_0x5a78c8),this[_0x3cfc2c(0x212)](_0x5a78c8),this[_0x3cfc2c(0x322)](_0x5779b3),this[_0x3cfc2c(0x1aa)](_0x5a78c8),this['_syncEditingCollabCursor'](_0x5a78c8),this[_0x3cfc2c(0x33d)]();}}let De=class extends be{constructor(_0x52463c,_0x2ca9d5,_0x3fff5a,_0x3d7da1,_0x38bde7,_0x3471f3,_0x4844f9,_0x5d9856,_0xf89cb2,_0x522af5){var _0x1ea838=_0x5b64d2;super(_0x52463c,_0x2ca9d5,null,[],_0x3fff5a,_0x4844f9,_0x3471f3,_0x3d7da1,_0x522af5),N(this,_0x1ea838(0x1b9),_0x1ea838(0x127)),(this[_0x1ea838(0x248)]=_0x38bde7,this[_0x1ea838(0x131)]=_0x5d9856,this[_0x1ea838(0x150)]=_0xf89cb2,this[_0x1ea838(0x22d)]=_0x522af5);}[_0x5b64d2(0x34e)](_0x1bfb8f){var _0x5b5cb6=_0x5b64d2;const _0x11e22f=this[_0x5b5cb6(0x248)]['createInstance'](oe,this[_0x5b5cb6(0x35c)],this['type'],[_0x1bfb8f],this[_0x5b5cb6(0x214)]);return _0x11e22f[_0x5b5cb6(0x359)](),_0x11e22f[_0x5b5cb6(0x118)](),_0x11e22f;}[_0x5b64d2(0x1e6)](_0x422922){var _0x50c8b1=_0x5b64d2;if(this[_0x50c8b1(0x112)](_0x422922))return this['_injector'][_0x50c8b1(0x308)](te,this[_0x50c8b1(0x35c)],this[_0x50c8b1(0x240)],null,[],null,[_0x422922],this[_0x50c8b1(0x214)]);try{const _0x5debb6=this[_0x50c8b1(0x150)]['transformMutationsWithChangeset'](_0x422922,[ur]);if(_0x19571e(_0x5debb6)){const {c1Prime:_0x4b1585}=_0x5debb6;return this['_executeRemoteChangeset'](_0x4b1585),this;}throw _0x5debb6[_0x50c8b1(0xbd)];}catch(_0x378d67){return this['_logService']['error'](_0x378d67),this['_onConflict'](!0x1);}}[_0x5b64d2(0xf7)](_0x56430e){var _0x16c24f=_0x5b64d2;return this[_0x16c24f(0x248)]['createInstance'](de,this['unitID'],this[_0x16c24f(0x240)],null,[],this[_0x16c24f(0x214)],_0x56430e);}[_0x5b64d2(0x2c9)](){var _0x283938=_0x5b64d2;throw new Error(_0x283938(0x17f));}[_0x5b64d2(0x1f2)](){var _0x18334d=_0x5b64d2;throw new Error(_0x18334d(0x20d));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x310f7d=_0x5b64d2;return this[_0x310f7d(0x248)][_0x310f7d(0x308)](fe,this[_0x310f7d(0x35c)],this[_0x310f7d(0x240)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x2b9811=_0x5b64d2;throw new Error(_0x2b9811(0x1bf));}['fetchMiss'](){var _0x1828fd=_0x5b64d2;const _0x516dd6=this[_0x1828fd(0x22a)][_0x1828fd(0x367)](this['unitID']);return this[_0x1828fd(0x214)]['onMissingChangesets']({'from':_0x516dd6,'to':0x0}),this[_0x1828fd(0x248)][_0x1828fd(0x308)](te,this[_0x1828fd(0x35c)],this[_0x1828fd(0x240)],null,[],null,[],this[_0x1828fd(0x214)]);}};De=Re([A(0x3,_0x51009b(_0x9b51c5)),A(0x4,_0x51009b(_0x4bfd06)),A(0x5,_0x4b516f),A(0x6,_0x178bdd),A(0x7,_0x2b52c2),A(0x8,_0x3e3f20),A(0x9,_0x2ddb4f(J))],De);let oe=class extends be{constructor(_0xb821d1,_0x2b0442,_0x269743,_0xdac2a4,_0x11a87c,_0x8ffac5,_0xa0dd00,_0x5b50ca,_0x3f389b,_0x4602ea,_0x1771b2,_0x123376,_0x3f6c6c,_0x1d330b){var _0x40c60d=_0x5b64d2;super(_0xb821d1,_0x2b0442,null,_0x269743,_0xdac2a4,_0x3f389b,_0x3f6c6c,_0x8ffac5,_0x1d330b),N(this,_0x40c60d(0x1b9),_0x40c60d(0x1d7)),N(this,_0x40c60d(0x19e),null),N(this,_0x40c60d(0x98),null),(this[_0x40c60d(0x248)]=_0x11a87c,this[_0x40c60d(0x343)]=_0xa0dd00,this['_logService']=_0x5b50ca,this[_0x40c60d(0x9e)]=_0x4602ea,this[_0x40c60d(0x150)]=_0x1771b2,this['_univerInstanceService']=_0x123376);}[_0x5b64d2(0x34e)](_0x84f034){var _0xffd5f4=_0x5b64d2;return this[_0xffd5f4(0x16c)][_0xffd5f4(0x124)](_0x84f034),this['_updateLocalCache'](),this;}[_0x5b64d2(0x1e6)](_0x402085){var _0x36a717=_0x5b64d2;if(this['_checkMissing'](_0x402085))return this[_0x36a717(0x257)](),this['_injector']['createInstance'](te,this[_0x36a717(0x35c)],this[_0x36a717(0x240)],null,this[_0x36a717(0x16c)],null,[_0x402085],this[_0x36a717(0x214)]);try{const _0x7de5ad=this['_transformService'][_0x36a717(0x288)](_0x402085,this[_0x36a717(0x16c)]);if(_0x19571e(_0x7de5ad)){const {c1Prime:_0x5a93e8,m2Prime:_0x58dc84}=_0x7de5ad;this[_0x36a717(0x1d3)](_0x5a93e8);const _0x330bb1=this[_0x36a717(0x248)]['createInstance'](oe,this[_0x36a717(0x35c)],this['type'],_0x58dc84,this['_handler']);this['_clearScheduledTask']();const _0x38e7f2=new Date()[_0x36a717(0x301)](),_0x1ac2ee=this[_0x36a717(0x19e)]?Math[_0x36a717(0x2c4)](this[_0x36a717(0x19e)]-_0x38e7f2,0x0):this[_0x36a717(0x2e2)]();return _0x330bb1[_0x36a717(0x359)](_0x1ac2ee),_0x330bb1;}throw _0x7de5ad['error'];}catch(_0x4f8d92){return this[_0x36a717(0x131)][_0x36a717(0xbd)](_0x4f8d92),this[_0x36a717(0xf7)](!0x1);}}['onRemoteAck'](){var _0x33883c=_0x5b64d2;throw new Error(_0x33883c(0xe3));}[_0x5b64d2(0x1f2)](){var _0x1a4133=_0x5b64d2;throw new Error(_0x1a4133(0xfb));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3156a6=_0x5b64d2;return this[_0x3156a6(0x257)](),this[_0x3156a6(0x248)][_0x3156a6(0x308)](fe,this['unitID'],this['type'],null,this[_0x3156a6(0x16c)],this[_0x3156a6(0x214)]);}[_0x5b64d2(0x26a)](){return this;}[_0x5b64d2(0x359)](_0x563018){var _0x219915=_0x5b64d2;const _0x1c9a52=_0x563018!=null?_0x563018:this[_0x219915(0x2e2)]();this[_0x219915(0x19e)]=new Date()[_0x219915(0x301)]()+_0x1c9a52,this[_0x219915(0x98)]=setTimeout(()=>{var _0x341386=_0x219915;this[_0x341386(0x257)]();let _0x5e0a12=null;switch(this['type']){case Q[_0x341386(0x37c)]:{_0x5e0a12=zt(this[_0x341386(0x16c)],this[_0x341386(0x35c)],this[_0x341386(0x1f0)],this[_0x341386(0x22a)],this[_0x341386(0x343)]);break;}case Q[_0x341386(0x185)]:{this[_0x341386(0x16c)]['every'](_0x28da3e=>_0x28da3e['id']===_0x59ab95['id'])?_0x5e0a12=lr(this[_0x341386(0x16c)],this[_0x341386(0x35c)],this[_0x341386(0x1f0)],this[_0x341386(0x22a)],this[_0x341386(0x343)]):_0x5e0a12=zt(this['_pendingMutations'],this[_0x341386(0x35c)],this[_0x341386(0x1f0)],this[_0x341386(0x22a)],this['_memberService']);break;}default:throw new Error(_0x341386(0x13e)+this['type']+_0x341386(0x1ab));}const {changeset:_0x2e2bdf,pendingMutations:_0x370136}=_0x5e0a12;this[_0x341386(0x214)]['onSendChangeset'](_0x2e2bdf);const _0x4ff127=_0x370136[_0x341386(0x1a1)]?this[_0x341386(0x248)][_0x341386(0x308)](ae,this[_0x341386(0x35c)],this['type'],_0x2e2bdf,_0x370136,this[_0x341386(0x214)],void 0x0):this[_0x341386(0x248)]['createInstance'](ue,this[_0x341386(0x35c)],this[_0x341386(0x240)],_0x2e2bdf,this[_0x341386(0x214)]);_0x4ff127[_0x341386(0x118)](),this[_0x341386(0x214)][_0x341386(0x24c)](this,_0x4ff127);},_0x1c9a52);}[_0x5b64d2(0x2e2)](){var _0x44b5bb=_0x5b64d2,_0x47ed2c;const _0x887243=this[_0x44b5bb(0x9e)][_0x44b5bb(0x35a)](q);return(_0x47ed2c=_0x887243==null?void 0x0:_0x887243[_0x44b5bb(0x190)])!=null?_0x47ed2c:Cn;}[_0x5b64d2(0x92)](){var _0x84d83c=_0x5b64d2;throw new Error(_0x84d83c(0x22b));}[_0x5b64d2(0x257)](){var _0x34098e=_0x5b64d2;this[_0x34098e(0x98)]!=null&&(clearTimeout(this[_0x34098e(0x98)]),this[_0x34098e(0x98)]=null);}['_onConflict'](_0x396744){var _0x3ab038=_0x5b64d2;return this[_0x3ab038(0x257)](),this[_0x3ab038(0x248)][_0x3ab038(0x308)](de,this[_0x3ab038(0x35c)],this[_0x3ab038(0x240)],null,this[_0x3ab038(0x16c)],this[_0x3ab038(0x214)],_0x396744);}};oe=Re([A(0x4,_0x51009b(_0x4bfd06)),A(0x5,_0x51009b(_0x9b51c5)),A(0x6,_0x51009b(xe)),A(0x7,_0x2b52c2),A(0x8,_0x178bdd),A(0x9,_0xb5719d),A(0xa,_0x3e3f20),A(0xb,_0x54f72a),A(0xc,_0x4b516f),A(0xd,_0x2ddb4f(J))],oe);let ue=class extends be{constructor(_0x3a764d,_0x444042,_0x27305a,_0x5c0037,_0x50774d,_0x27005d,_0x40d81b,_0x538126,_0x319fb5,_0x5cdeb,_0x506709){var _0x459e67=_0x5b64d2;super(_0x3a764d,_0x444042,_0x27305a,[],_0x5c0037,_0x40d81b,_0x5cdeb,_0x27005d,_0x506709),N(this,'status',_0x459e67(0x151)),N(this,_0x459e67(0x30a),0x0),N(this,'_resendTimer'),N(this,_0x459e67(0x157)),(this[_0x459e67(0x248)]=_0x50774d,this[_0x459e67(0x131)]=_0x538126,this[_0x459e67(0x150)]=_0x319fb5);}[_0x5b64d2(0x34e)](_0x33dd39){var _0x5e2818=_0x5b64d2;this[_0x5e2818(0x257)]();const _0x257762=this[_0x5e2818(0x248)]['createInstance'](ae,this['unitID'],this[_0x5e2818(0x240)],this[_0x5e2818(0x32c)],[_0x33dd39],this[_0x5e2818(0x214)],this[_0x5e2818(0x2c3)]);return _0x257762[_0x5e2818(0x118)](),_0x257762;}[_0x5b64d2(0x1e6)](_0x247f60){var _0x5e682e=_0x5b64d2;if(this[_0x5e682e(0x112)](_0x247f60))return this[_0x5e682e(0x257)](),this['_injector'][_0x5e682e(0x308)](te,this['unitID'],this['type'],this[_0x5e682e(0x32c)],[],null,[_0x247f60],this['_handler']);try{const _0x295704=this[_0x5e682e(0x150)][_0x5e682e(0xa0)]([_0x247f60],[this[_0x5e682e(0x32c)]],!0x1);if(_0x457216(_0x295704)){const {c1Prime:_0x15b9ef,c2Prime:_0x1f4670}=_0x295704;this[_0x5e682e(0x1d3)](_0x15b9ef[0x0]),_0x1f4670[0x0][_0x5e682e(0x339)]=this[_0x5e682e(0x168)](),this[_0x5e682e(0x257)]();const _0x47f1cf=this[_0x5e682e(0x248)][_0x5e682e(0x308)](ue,this[_0x5e682e(0x35c)],this[_0x5e682e(0x240)],_0x1f4670[0x0],this['_handler']);return _0x47f1cf['_updateLocalCache'](),_0x47f1cf;}return this[_0x5e682e(0xf7)](!0x1);}catch(_0x4a3a3c){return this['_logService']['error'](_0x4a3a3c),this[_0x5e682e(0xf7)](!0x1);}}[_0x5b64d2(0x2c9)](_0x31c83a){var _0x3d6462=_0x5b64d2;this[_0x3d6462(0x257)]();const _0x573e7f=this[_0x3d6462(0x22a)][_0x3d6462(0x367)](this[_0x3d6462(0x35c)]);if(_0x31c83a[_0x3d6462(0x181)]<_0x573e7f-0x1)return this;if(this[_0x3d6462(0x112)](_0x31c83a))return this['_injector'][_0x3d6462(0x308)](te,this[_0x3d6462(0x35c)],this[_0x3d6462(0x240)],null,[],this[_0x3d6462(0x32c)],[],this[_0x3d6462(0x214)]);this[_0x3d6462(0x33d)]();const _0x1f3052=this['_injector'][_0x3d6462(0x308)](De,this[_0x3d6462(0x35c)],this[_0x3d6462(0x240)],this[_0x3d6462(0x214)]);return _0x1f3052[_0x3d6462(0x118)](),_0x1f3052;}[_0x5b64d2(0x1f2)](_0xeadc46){var _0x110532=_0x5b64d2;return this['_onConflict'](!!(_0xeadc46!=null&&_0xeadc46[_0x110532(0x207)]));}['onRemoteRetry'](_0x37e5d6){var _0x409906=_0x5b64d2;return this[_0x409906(0x30a)]>Ni?this[_0x409906(0x31e)]():(this['_resendTimer']=Oi(this[_0x409906(0x30a)],{'timeout':this[_0x409906(0x30a)],'reqId':_0x37e5d6[_0x409906(0x1a0)]}),this[_0x409906(0x157)]=this[_0x409906(0x2c3)][_0x409906(0x229)](({reqId:_0x4c61bb,timeout:_0x171d1a})=>{var _0x1ba5a1=_0x409906;this[_0x1ba5a1(0x103)](_0x4c61bb,_0x171d1a);}),this);}[_0x5b64d2(0x31e)](){var _0x574997=_0x5b64d2;return this[_0x574997(0x257)](),this[_0x574997(0x248)]['createInstance'](fe,this[_0x574997(0x35c)],this[_0x574997(0x240)],this['_awaitingChangeset'],[],this[_0x574997(0x214)]);}['toggleOnline'](){return this;}[_0x5b64d2(0x92)](){var _0x27cafa=_0x5b64d2;this[_0x27cafa(0x214)][_0x27cafa(0x1b4)](this[_0x27cafa(0x32c)]);}['_onConflict'](_0xbf00f3){var _0x15bde1=_0x5b64d2;return this['_clearScheduledTask'](),this[_0x15bde1(0x248)][_0x15bde1(0x308)](de,this[_0x15bde1(0x35c)],this[_0x15bde1(0x240)],this[_0x15bde1(0x32c)],[],this[_0x15bde1(0x214)],_0xbf00f3);}[_0x5b64d2(0x103)](_0x37f9bd,_0x523074){var _0x528e5a=_0x5b64d2,_0x125c57;_0x37f9bd===((_0x125c57=this[_0x528e5a(0x32c)])==null?void 0x0:_0x125c57[_0x528e5a(0x1a0)])&&(this['resend'](),this[_0x528e5a(0x30a)]=_0x523074===0x0?0x3e8:_0x523074*0x2);}[_0x5b64d2(0x257)](){var _0x42db28=_0x5b64d2,_0x21a5d7;(_0x21a5d7=this['_sender'])==null||_0x21a5d7[_0x42db28(0x1ef)](),this[_0x42db28(0x30a)]=0x0;}};ue=Re([A(0x4,_0x51009b(_0x4bfd06)),A(0x5,_0x51009b(_0x9b51c5)),A(0x6,_0x178bdd),A(0x7,_0x2b52c2),A(0x8,_0x3e3f20),A(0x9,_0x4b516f),A(0xa,_0x2ddb4f(J))],ue);let ae=class extends be{constructor(_0x3d0f7a,_0x6d9e2e,_0x324d23,_0x5b9adf,_0x275db6,_0x49f206,_0x574fda,_0x4217f5,_0x4da5fa,_0x45e233,_0x20b096,_0x5a2e8e,_0x2c6753){var _0x3c32a8=_0x5b64d2;super(_0x3d0f7a,_0x6d9e2e,_0x324d23,_0x5b9adf,_0x275db6,_0x4da5fa,_0x5a2e8e,_0x4217f5,_0x2c6753),N(this,_0x3c32a8(0x1b9),_0x3c32a8(0x193)),N(this,_0x3c32a8(0x30a),0x0),N(this,_0x3c32a8(0x2c3)),N(this,_0x3c32a8(0x157)),(this[_0x3c32a8(0x248)]=_0x574fda,this[_0x3c32a8(0x131)]=_0x45e233,this[_0x3c32a8(0x150)]=_0x20b096,this[_0x3c32a8(0x22d)]=_0x2c6753,_0x49f206&&(this[_0x3c32a8(0x2c3)]=_0x49f206,this[_0x3c32a8(0x157)]=this[_0x3c32a8(0x2c3)][_0x3c32a8(0x229)](({reqId:_0x27adbf,timeout:_0x1dff4f})=>{var _0x10b089=_0x3c32a8;this[_0x10b089(0x103)](_0x27adbf,_0x1dff4f);})));}[_0x5b64d2(0x34e)](_0x2a21d6){var _0x591325=_0x5b64d2;return this[_0x591325(0x16c)][_0x591325(0x124)](_0x2a21d6),this;}['onRemoteChangeset'](_0x5845f2){var _0x1f2c1e=_0x5b64d2;if(this[_0x1f2c1e(0x112)](_0x5845f2))return this[_0x1f2c1e(0x257)](),this[_0x1f2c1e(0x248)][_0x1f2c1e(0x308)](te,this[_0x1f2c1e(0x35c)],this[_0x1f2c1e(0x240)],this[_0x1f2c1e(0x32c)],this[_0x1f2c1e(0x16c)],null,[_0x5845f2],this['_handler']);try{const _0x59f305=this[_0x1f2c1e(0x150)][_0x1f2c1e(0xa0)]([_0x5845f2],[this[_0x1f2c1e(0x32c)]],!0x1);if(_0x457216(_0x59f305)){const {c1Prime:_0x5e097c,c2Prime:_0x1c3a1c}=_0x59f305,_0x200c0d=this[_0x1f2c1e(0x150)][_0x1f2c1e(0x288)](_0x5e097c[0x0],this[_0x1f2c1e(0x16c)]);if(_0x19571e(_0x200c0d)){const {c1Prime:_0x2efc09,m2Prime:_0x5949e9}=_0x200c0d;return this[_0x1f2c1e(0x1d3)](_0x2efc09),_0x1c3a1c[0x0][_0x1f2c1e(0x339)]=this[_0x1f2c1e(0x168)](),this[_0x1f2c1e(0x257)](),this[_0x1f2c1e(0x248)]['createInstance'](ae,this[_0x1f2c1e(0x35c)],this[_0x1f2c1e(0x240)],_0x1c3a1c[0x0],_0x5949e9,this['_handler'],void 0x0);}throw _0x200c0d[_0x1f2c1e(0xbd)];}throw _0x59f305[_0x1f2c1e(0xbd)];}catch(_0x4d9fec){return this[_0x1f2c1e(0x131)][_0x1f2c1e(0xbd)](_0x4d9fec),this['_onConflict'](!0x1);}}[_0x5b64d2(0x2c9)](_0x39d282){var _0x125baf=_0x5b64d2;if(this[_0x125baf(0x257)](),this['_checkMissing'](_0x39d282))return this[_0x125baf(0x248)]['createInstance'](te,this[_0x125baf(0x35c)],this[_0x125baf(0x240)],null,this[_0x125baf(0x16c)],this[_0x125baf(0x32c)],[],this[_0x125baf(0x214)]);this['_incrementRevisionNumber']();const _0x48f40e=this['_injector'][_0x125baf(0x308)](oe,this[_0x125baf(0x35c)],this[_0x125baf(0x240)],this[_0x125baf(0x16c)],this[_0x125baf(0x214)]);return _0x48f40e[_0x125baf(0x359)](),_0x48f40e[_0x125baf(0x118)](),_0x48f40e;}[_0x5b64d2(0x1f2)](_0x16cac4){var _0x3d85dc=_0x5b64d2;return this[_0x3d85dc(0xf7)](!!(_0x16cac4!=null&&_0x16cac4[_0x3d85dc(0x207)]));}[_0x5b64d2(0x1d8)](_0x5f0dc1){var _0xa01601=_0x5b64d2;return this[_0xa01601(0x30a)]>Ni?this['toggleOffline']():(this[_0xa01601(0x2c3)]=Oi(this['_resendTimeout'],{'timeout':this[_0xa01601(0x30a)],'reqId':_0x5f0dc1['reqId']}),this[_0xa01601(0x157)]=this['_resendTimer']['subscribe'](({reqId:_0x4bd222,timeout:_0x44b0b2})=>{this['_resendWithTimeout'](_0x4bd222,_0x44b0b2);}),this);}[_0x5b64d2(0x31e)](){var _0x247f93=_0x5b64d2;return this[_0x247f93(0x257)](),this[_0x247f93(0x248)][_0x247f93(0x308)](fe,this['unitID'],this[_0x247f93(0x240)],this[_0x247f93(0x32c)],this['_pendingMutations'],this[_0x247f93(0x214)]);}[_0x5b64d2(0x26a)](){return this;}[_0x5b64d2(0x92)](){var _0x4056e2=_0x5b64d2;this[_0x4056e2(0x214)]['onSendChangeset'](this[_0x4056e2(0x32c)]);}[_0x5b64d2(0xf7)](_0x1609e3){var _0x2d588a=_0x5b64d2;return this[_0x2d588a(0x257)](),this[_0x2d588a(0x248)][_0x2d588a(0x308)](de,this[_0x2d588a(0x35c)],this[_0x2d588a(0x240)],null,this['_pendingMutations'],this[_0x2d588a(0x214)],_0x1609e3);}[_0x5b64d2(0x103)](_0x532460,_0x106a7e){var _0x19fc91=_0x5b64d2,_0x52800e;_0x532460===((_0x52800e=this[_0x19fc91(0x32c)])==null?void 0x0:_0x52800e[_0x19fc91(0x1a0)])&&(this[_0x19fc91(0x92)](),this[_0x19fc91(0x30a)]=_0x106a7e===0x0?0x3e8:_0x106a7e*0x2);}[_0x5b64d2(0x257)](){var _0x3676eb=_0x5b64d2,_0x1015f6;(_0x1015f6=this[_0x3676eb(0x157)])==null||_0x1015f6[_0x3676eb(0x1ef)](),this[_0x3676eb(0x30a)]=0x0;}};ae=Re([A(0x6,_0x51009b(_0x4bfd06)),A(0x7,_0x51009b(_0x9b51c5)),A(0x8,_0x178bdd),A(0x9,_0x2b52c2),A(0xa,_0x3e3f20),A(0xb,_0x4b516f),A(0xc,_0x2ddb4f(J))],ae);let de=class extends be{constructor(_0x404c9a,_0x529124,_0x26436c,_0x385bbf,_0x54de87,_0x28a5aa=!0x1,_0x257ae2,_0xeab0cd,_0x906c2,_0x105127,_0x199ba3,_0x175601,_0x34583b){var _0x577bf0=_0x5b64d2;super(_0x404c9a,_0x529124,_0x26436c,_0x385bbf,_0x54de87,_0xeab0cd,_0x906c2,_0x105127,_0x34583b),N(this,'status',_0x577bf0(0x397)),(this[_0x577bf0(0x2bb)]=_0x28a5aa,this[_0x577bf0(0xc2)]=_0x257ae2,this[_0x577bf0(0xd7)]=_0x199ba3,this['_collaborationUIEventService']=_0x175601,this[_0x577bf0(0x22d)]=_0x34583b,this[_0x577bf0(0x2e4)](),this[_0x577bf0(0x13b)](),this['_disableEditing']());}[_0x5b64d2(0x34e)](){return this;}[_0x5b64d2(0x1e6)](){return this;}[_0x5b64d2(0x2c9)](){return this;}[_0x5b64d2(0x1f2)](){return this;}[_0x5b64d2(0x1d8)](){return this;}[_0x5b64d2(0x31e)](){return this;}[_0x5b64d2(0x26a)](){return this;}[_0x5b64d2(0x92)](){var _0x41c865=_0x5b64d2;throw new Error(_0x41c865(0x1a6));}['_clearLocalCache'](){var _0x6f6970=_0x5b64d2,_0x4bb26d;(_0x4bb26d=this['_localCacheService'])==null||_0x4bb26d[_0x6f6970(0x1c2)](this[_0x6f6970(0x35c)],this[_0x6f6970(0x240)],null,[]);}[_0x5b64d2(0x2e4)](){var _0x288f5f=_0x5b64d2;this[_0x288f5f(0x2bb)]?this[_0x288f5f(0x2b9)][_0x288f5f(0x211)]({'id':se[_0x288f5f(0x31d)]}):this[_0x288f5f(0x2b9)][_0x288f5f(0x211)]({'id':se[_0x288f5f(0x15f)]});}['_disableEditing'](){var _0x4d71a9=_0x5b64d2;this[_0x4d71a9(0xc2)][_0x4d71a9(0x2fc)](new _0x9ce7fb(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x51009b(_0x1864f2)),A(0x7,_0x178bdd),A(0x8,_0x4b516f),A(0x9,_0x51009b(_0x9b51c5)),A(0xa,_0x51009b(_0x36359a)),A(0xb,_0x51009b(pe)),A(0xc,_0x2ddb4f(J))],de);let fe=class extends be{constructor(_0x5da1d3,_0x53d264,_0x242f45,_0x38fabc,_0x40c916,_0x580987,_0x10f311,_0xac9cff,_0x1d30f0,_0x1f679d){var _0x25a360=_0x5b64d2;super(_0x5da1d3,_0x53d264,_0x242f45,_0x38fabc,_0x40c916,_0xac9cff,_0x1d30f0,_0x10f311,_0x1f679d),N(this,_0x25a360(0x1b9),_0x25a360(0x2b6)),this[_0x25a360(0x248)]=_0x580987;}[_0x5b64d2(0x34e)](_0x2ab456){var _0x5477a7=_0x5b64d2;return this[_0x5477a7(0x16c)][_0x5477a7(0x124)](_0x2ab456),this[_0x5477a7(0x118)](),this;}[_0x5b64d2(0x1e6)](_0x5ee69d){var _0xfd0b3a=_0x5b64d2;throw new Error(_0xfd0b3a(0x33a));}[_0x5b64d2(0x2c9)](){var _0x1115a0=_0x5b64d2;throw new Error(_0x1115a0(0xc9));}[_0x5b64d2(0x1f2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5b64d2(0x1d8)](){return this;}[_0x5b64d2(0x31e)](){return this;}['toggleOnline'](){var _0x6d1b12=_0x5b64d2;const {_injector:_0x4ac258,_pendingMutations:_0x495ca3,_awaitingChangeset:_0x1ef80f,unitID:_0x56d2cb,_handler:_0x1c172b,type:_0x544d48}=this,_0x5c7d4a=Di(_0x4ac258,_0x56d2cb,_0x544d48,_0x1ef80f,_0x495ca3,_0x1c172b);return _0x5c7d4a instanceof oe?_0x5c7d4a[_0x6d1b12(0x359)]():(_0x5c7d4a instanceof ae||_0x5c7d4a instanceof ue)&&_0x5c7d4a['resend'](),_0x5c7d4a;}[_0x5b64d2(0x92)](){var _0xf04925=_0x5b64d2;throw new Error(_0xf04925(0x391));}};fe=Re([A(0x5,_0x51009b(_0x4bfd06)),A(0x6,_0x51009b(_0x9b51c5)),A(0x7,_0x178bdd),A(0x8,_0x4b516f),A(0x9,_0x2ddb4f(J))],fe);let te=class extends be{constructor(_0x1059bb,_0x408226,_0x3a7a9d,_0x14adba,_0x16313c,_0x9d3cd2,_0x4372e9,_0x282605,_0x88be7,_0x23e3c2,_0x2ad7db,_0x43bbb0,_0xdd8d06,_0x16bd6e){var _0x5ba71a=_0x5b64d2;super(_0x1059bb,_0x408226,_0x3a7a9d,_0x14adba,_0x4372e9,_0x2ad7db,_0x43bbb0,_0x88be7,_0x16bd6e),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x16313c,this[_0x5ba71a(0xf8)]=_0x9d3cd2,this[_0x5ba71a(0x248)]=_0x282605,this['_logService']=_0x23e3c2,this[_0x5ba71a(0x150)]=_0xdd8d06,this[_0x5ba71a(0x22d)]=_0x16bd6e);}[_0x5b64d2(0x235)](_0x2d1cda){var _0x211135=_0x5b64d2;try{const _0x272762=[..._0x2d1cda,...this['_queuedRemoteChangesets']],_0x41b335=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x18d5d7=>!!_0x18d5d7);let _0x4d42cd,_0x4fc1ff;if(_0x41b335[_0x211135(0x1a1)]){const _0x1e3fdc=this['_transformService'][_0x211135(0xa0)](_0x272762,_0x41b335,!0x1);if(!_0x457216(_0x1e3fdc))throw _0x1e3fdc['error'];_0x4d42cd=_0x1e3fdc['c1Prime'],_0x4fc1ff=_0x1e3fdc[_0x211135(0x320)];}else _0x4d42cd=_0x272762,_0x4fc1ff=[];let _0xf26fa0=this['_pendingMutations'];_0x4d42cd[_0x211135(0x2e0)](_0xe57a9=>{var _0x53e216=_0x211135;let _0x5bd159;if(_0xf26fa0[_0x53e216(0x1a1)]){const _0x369285=this[_0x53e216(0x150)][_0x53e216(0x288)](_0xe57a9,_0xf26fa0);if(!_0x19571e(_0x369285))throw _0x369285[_0x53e216(0xbd)];_0x5bd159=_0x369285[_0x53e216(0x33c)],_0xf26fa0=_0x369285[_0x53e216(0x2a1)];}else _0x5bd159=_0xe57a9;this[_0x53e216(0x1d3)](_0x5bd159);}),this[_0x211135(0x106)]&&this[_0x211135(0x33d)](),this[_0x211135(0x32c)]&&_0x4fc1ff['length']&&(_0x4fc1ff[0x0][_0x211135(0x339)]=this['_getCurrentRevision']());let _0x2edb55;if(this['_awaitingChangeset']&&_0xf26fa0['length']!==0x0)_0x2edb55=this[_0x211135(0x248)]['createInstance'](ae,this[_0x211135(0x35c)],this['type'],_0x4fc1ff[0x0],_0xf26fa0,this['_handler'],void 0x0);else{if(this[_0x211135(0x32c)]&&_0xf26fa0[_0x211135(0x1a1)]===0x0)_0x4fc1ff[0x0][_0x211135(0x339)]=this[_0x211135(0x168)](),_0x2edb55=this['_injector'][_0x211135(0x308)](ue,this[_0x211135(0x35c)],this[_0x211135(0x240)],_0x4fc1ff[0x0],this['_handler']);else{if(_0xf26fa0['length']!==0x0){const _0x242a38=this[_0x211135(0x248)][_0x211135(0x308)](oe,this[_0x211135(0x35c)],this[_0x211135(0x240)],_0xf26fa0,this[_0x211135(0x214)]);_0x242a38['_schedule'](),_0x2edb55=_0x242a38;}else _0x2edb55=this[_0x211135(0x248)][_0x211135(0x308)](De,this[_0x211135(0x35c)],this[_0x211135(0x240)],this[_0x211135(0x214)]);}}return _0x2edb55[_0x211135(0x118)](),_0x2edb55;}catch(_0x543412){return this['_logService'][_0x211135(0xbd)]('[FetchMissState]',_0x211135(0x148),_0x543412),this[_0x211135(0x248)][_0x211135(0x308)](de,this['unitID'],this[_0x211135(0x240)],this['_awaitingChangeset'],this[_0x211135(0x16c)],this[_0x211135(0x214)],!0x1);}}[_0x5b64d2(0x92)](){var _0x5c4bfe=_0x5b64d2;throw new Error(_0x5c4bfe(0x93));}[_0x5b64d2(0x34e)](_0x3fd4ea){var _0x45ab7b=_0x5b64d2;return this[_0x45ab7b(0x16c)]['push'](_0x3fd4ea),this;}['onRemoteChangeset'](_0x463bcb){var _0x12f695=_0x5b64d2;return this[_0x12f695(0xf8)][_0x12f695(0x124)](_0x463bcb),this;}['onRemoteAck'](_0x26b183){var _0x9bb06c=_0x5b64d2;if(this[_0x9bb06c(0x32c)])return this[_0x9bb06c(0x106)]=this[_0x9bb06c(0x32c)],this['_awaitingChangeset']=null,this;throw new Error(_0x9bb06c(0x263));}[_0x5b64d2(0x1f2)](_0x336804){var _0x15c256=_0x5b64d2;return this[_0x15c256(0xf7)](!!(_0x336804!=null&&_0x336804[_0x15c256(0x207)]));}[_0x5b64d2(0x1d8)](){return this;}[_0x5b64d2(0x31e)](){var _0x1bf456=_0x5b64d2;return this[_0x1bf456(0x248)][_0x1bf456(0x308)](fe,this['unitID'],this[_0x1bf456(0x240)],this[_0x1bf456(0x32c)],this[_0x1bf456(0x16c)],this[_0x1bf456(0x214)]);}[_0x5b64d2(0x26a)](){return this;}[_0x5b64d2(0xf7)](_0x123f8a){var _0x45bb99=_0x5b64d2;return this[_0x45bb99(0x248)]['createInstance'](de,this[_0x45bb99(0x35c)],this['type'],this[_0x45bb99(0x32c)],this['_pendingMutations'],this[_0x45bb99(0x214)],_0x123f8a);}};te=Re([A(0x7,_0x51009b(_0x4bfd06)),A(0x8,_0x51009b(_0x9b51c5)),A(0x9,_0x2b52c2),A(0xa,_0x178bdd),A(0xb,_0x4b516f),A(0xc,_0x3e3f20),A(0xd,_0x2ddb4f(J))],te);function Di(_0x2657c2,_0x61bd1a,_0x48fa9e,_0x439785,_0x5975d8,_0x45190d){var _0x3248d3=_0x5b64d2;return _0x439785&&_0x5975d8[_0x3248d3(0x1a1)]?_0x2657c2[_0x3248d3(0x308)](ae,_0x61bd1a,_0x48fa9e,_0x439785,_0x5975d8,_0x45190d,void 0x0):_0x439785?_0x2657c2[_0x3248d3(0x308)](ue,_0x61bd1a,_0x48fa9e,_0x439785,_0x45190d):_0x5975d8[_0x3248d3(0x1a1)]?_0x2657c2['createInstance'](oe,_0x61bd1a,_0x48fa9e,_0x5975d8,_0x45190d):_0x2657c2[_0x3248d3(0x308)](De,_0x61bd1a,_0x48fa9e,_0x45190d);}var vr=Object[_0x5b64d2(0x25a)],pr=Object[_0x5b64d2(0x267)],Lt=(_0x36cf4a,_0x6b2d1e,_0xa20ad4,_0x3d5867)=>{var _0x29147b=_0x5b64d2;for(var _0x5b448d=_0x3d5867>0x1?void 0x0:_0x3d5867?pr(_0x6b2d1e,_0xa20ad4):_0x6b2d1e,_0x479846=_0x36cf4a[_0x29147b(0x1a1)]-0x1,_0x3498ce;_0x479846>=0x0;_0x479846--)(_0x3498ce=_0x36cf4a[_0x479846])&&(_0x5b448d=(_0x3d5867?_0x3498ce(_0x6b2d1e,_0xa20ad4,_0x5b448d):_0x3498ce(_0x5b448d))||_0x5b448d);return _0x3d5867&&_0x5b448d&&vr(_0x6b2d1e,_0xa20ad4,_0x5b448d),_0x5b448d;},k=(_0x5499b6,_0x13bdd0)=>(_0x84bd28,_0x273668)=>_0x13bdd0(_0x84bd28,_0x273668,_0x5499b6);let nt=class extends _0x53c65a{constructor(_0x270991,_0x1efcf8,_0x2e545c,_0x5478aa,_0x17ce95,_0x11b661,_0x972ac6,_0x311aa2,_0x53b16f,_0x2a349a,_0x41d801,_0x4ac1d6,_0x33cef0){var _0x391574=_0x5b64d2;super(),N(this,_0x391574(0x1dd),new _0x4d30c8(null)),N(this,_0x391574(0x173),this[_0x391574(0x1dd)][_0x391574(0x30b)]()),N(this,'_state'),N(this,_0x391574(0x14d),!0x1),N(this,'_changesetSessionId',''),N(this,_0x391574(0x217),0x0),N(this,_0x391574(0x2dd),this[_0x391574(0x173)][_0x391574(0x1f8)](_0x58d7a9(_0x15a46f=>_0x15a46f?_0x15a46f['status']:yi[_0x391574(0x220)]),_0x5a1165(0x1))),N(this,_0x391574(0x386),!0x1),N(this,_0x391574(0xf1),[]),(this[_0x391574(0x35c)]=_0x270991,this[_0x391574(0x388)]=_0x1efcf8,this[_0x391574(0xbb)]=_0x2e545c,this[_0x391574(0x248)]=_0x5478aa,this[_0x391574(0x21e)]=_0x17ce95,this[_0x391574(0xd7)]=_0x11b661,this[_0x391574(0x22a)]=_0x972ac6,this[_0x391574(0x23a)]=_0x311aa2,this[_0x391574(0x131)]=_0x53b16f,this['_commandService']=_0x2a349a,this[_0x391574(0xc2)]=_0x41d801,this[_0x391574(0x1e1)]=_0x4ac1d6,this[_0x391574(0xbc)]=_0x33cef0);}get[_0x5b64d2(0xf6)](){var _0x1d3f3b=_0x5b64d2;return this[_0x1d3f3b(0x147)];}async[_0x5b64d2(0xc4)](){var _0x53b1f1=_0x5b64d2;if(this[_0x53b1f1(0xf6)])throw new Error(_0x53b1f1(0x215));await this['_init']();}[_0x5b64d2(0x385)](){var _0x4b4bee=_0x5b64d2;return this[_0x4b4bee(0x14d)]=!0x0,_0x28ba2f(()=>{var _0x584fea=_0x4b4bee;this[_0x584fea(0x14d)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x436e26){var _0x1f1d98=_0x5b64d2;this[_0x1f1d98(0xbe)](_0x436e26);}[_0x5b64d2(0x2c5)](_0x30a8cf){var _0x1f4f8f=_0x5b64d2;this[_0x1f4f8f(0x147)]=_0x30a8cf,this[_0x1f4f8f(0x1dd)][_0x1f4f8f(0x199)](_0x30a8cf);}async[_0x5b64d2(0xdf)](){var _0x546f8e=_0x5b64d2,_0x3e9c68;this[_0x546f8e(0x2c5)](await this['_createInitialState']()),this[_0x546f8e(0x1e1)]&&((_0x3e9c68=this[_0x546f8e(0x1e1)])==null||_0x3e9c68['editingUnit'](this[_0x546f8e(0x35c)]),this[_0x546f8e(0x396)](this[_0x546f8e(0x1e1)]['getUnitStatus$'](this[_0x546f8e(0x35c)])[_0x546f8e(0x229)](_0x6b9b07=>{var _0x2ecac8=_0x546f8e;this['_logService'][_0x2ecac8(0x2af)]('[CollaborationEntity]',_0x2ecac8(0xfd),_0x6b9b07),_0x6b9b07===bi[_0x2ecac8(0x2f1)]?(this[_0x2ecac8(0x23a)][_0x2ecac8(0x211)]({'id':se[_0x2ecac8(0xf4)]}),this[_0x2ecac8(0xc2)][_0x2ecac8(0x2fc)](new _0x9ce7fb(this['unitID'])['id'],!0x1),this['_permissionService'][_0x2ecac8(0x341)](!0x1)):(this[_0x2ecac8(0xc2)][_0x2ecac8(0x2fc)](new _0x9ce7fb(this['unitID'])['id'],!0x0),this[_0x2ecac8(0xc2)][_0x2ecac8(0x341)](!0x0));})));let _0x239059=!0x1;return this[_0x546f8e(0x396)](this[_0x546f8e(0x388)][_0x546f8e(0x305)][_0x546f8e(0x229)](_0x56798b=>{var _0x18744b=_0x546f8e;_0x56798b===Te[_0x18744b(0x1d2)]?this[_0x18744b(0x272)](_0x239059):_0x56798b===Te['OFFLINE']&&(_0x239059=!0x0,this[_0x18744b(0x104)]());})),this[_0x546f8e(0x396)](this['session']['event$'][_0x546f8e(0x229)](_0x924473=>{var _0x2f0da2=_0x546f8e;try{switch(_0x924473['eventID']){case _0x40d0bd[_0x2f0da2(0x269)]:{this[_0x2f0da2(0x183)](_0x14584e(_0x924473[_0x2f0da2(0x262)]));break;}case _0x40d0bd['CHANGESET_ACK']:{this[_0x2f0da2(0x1b5)](_0x924473[_0x2f0da2(0x262)]);break;}case _0x40d0bd[_0x2f0da2(0x366)]:{this[_0x2f0da2(0x1fe)]();break;}case _0x40d0bd[_0x2f0da2(0x36b)]:{this[_0x2f0da2(0x1c0)](_0x924473[_0x2f0da2(0x262)]);break;}case _0x40d0bd[_0x2f0da2(0x377)]:{this[_0x2f0da2(0x163)](_0x924473[_0x2f0da2(0x262)][_0x2f0da2(0x96)]['map'](_0x2e4966=>_0x14584e(_0x2e4966)));break;}case _0x40d0bd[_0x2f0da2(0x24b)]:{this[_0x2f0da2(0x1fe)]({'isPermissionRej':!0x0});break;}case _0x40d0bd['UNISCRIPT_RUN']:break;}}catch(_0x5b6666){throw console['error']('Error\x20on\x20receiving\x20event',_0x5b6666),_0x5b6666;}})),this[_0x546f8e(0x147)];}[_0x5b64d2(0x180)](){var _0x46ca3b=_0x5b64d2;this[_0x46ca3b(0x386)]=!0x1;}[_0x5b64d2(0x34f)](){var _0x156ac0=_0x5b64d2;if(this['_transitionLocked'])throw new Error(_0x156ac0(0x102));this[_0x156ac0(0x386)]=!0x0;}[_0x5b64d2(0xbe)](_0x52c834){var _0xd0554d=_0x5b64d2;this[_0xd0554d(0x34f)](),this[_0xd0554d(0x2c5)](this[_0xd0554d(0x147)][_0xd0554d(0x34e)](_0x52c834)),this[_0xd0554d(0x180)]();}['_onRemoteChangeset'](_0x3c5a27){var _0x3e15d1=_0x5b64d2;if(!(_0x3c5a27[_0x3e15d1(0x181)]<=this[_0x3e15d1(0x22a)][_0x3e15d1(0x367)](this['unitID']))){if(this[_0x3e15d1(0x14d)]){this[_0x3e15d1(0xf1)]['push'](_0x3c5a27);return;}this[_0x3e15d1(0x2d4)](_0x3c5a27);}}[_0x5b64d2(0x2d1)](){var _0x591f8d=_0x5b64d2;this[_0x591f8d(0xf1)][_0x591f8d(0x2e0)](_0x336e9d=>this[_0x591f8d(0x2d4)](_0x336e9d)),this[_0x591f8d(0xf1)]=[];}[_0x5b64d2(0x2d4)](_0x49b12f){var _0x3fcd73=_0x5b64d2;const _0xead57b=this[_0x3fcd73(0x21e)][_0x3fcd73(0x13a)]['fetchThroughInterceptors'](this[_0x3fcd73(0x21e)][_0x3fcd73(0x13a)][_0x3fcd73(0x2ee)]()[_0x3fcd73(0x1e0)])(_0x49b12f[_0x3fcd73(0x2b7)],null)||_0x49b12f['mutations'],_0x129539={..._0x49b12f,'mutations':_0xead57b};this[_0x3fcd73(0x34f)](),this[_0x3fcd73(0x2c5)](this[_0x3fcd73(0x147)]['onRemoteChangeset'](_0x129539)),this[_0x3fcd73(0x180)]();}[_0x5b64d2(0x1b5)](_0xf7b568){var _0x24c216=_0x5b64d2;this[_0x24c216(0x34f)](),this['_updateState'](this[_0x24c216(0x147)][_0x24c216(0x2c9)](_0xf7b568)),this[_0x24c216(0x180)]();}['_onRemoteRejected'](_0xd892d4){var _0x50c7c1=_0x5b64d2;this['_lockTransition'](),this[_0x50c7c1(0x2c5)](this['_state'][_0x50c7c1(0x1f2)](_0xd892d4)),this[_0x50c7c1(0x180)]();}[_0x5b64d2(0x1c0)](_0xcff59c){var _0x26679a=_0x5b64d2;this['_lockTransition'](),this[_0x26679a(0x2c5)](this[_0x26679a(0x147)]['onRemoteRetry'](_0xcff59c)),this[_0x26679a(0x180)]();}[_0x5b64d2(0x163)](_0x1eb170){var _0x58430c=_0x5b64d2;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2cbeec=_0x1eb170['map'](_0x4154a4=>{var _0x56629a=_0x341f;const _0x2b23df=this[_0x56629a(0x21e)]['interceptor'][_0x56629a(0x206)](this[_0x56629a(0x21e)][_0x56629a(0x13a)][_0x56629a(0x2ee)]()['COMPRESS_MUTATION_APPLY'])(_0x4154a4[_0x56629a(0x2b7)],null)||_0x4154a4[_0x56629a(0x2b7)];return{..._0x4154a4,'mutations':_0x2b23df};});this[_0x58430c(0x34f)](),this['_updateState'](this[_0x58430c(0x147)][_0x58430c(0x235)](_0x2cbeec)),this[_0x58430c(0x180)]();}[_0x5b64d2(0x104)](){var _0x145b94=_0x5b64d2;this[_0x145b94(0x34f)](),this[_0x145b94(0x2c5)](this['_state']['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x48b76b=!0x1){var _0x15ce74=_0x5b64d2;this[_0x15ce74(0x34f)](),this[_0x15ce74(0x2c5)](this[_0x15ce74(0x147)][_0x15ce74(0x26a)]()),this[_0x15ce74(0x180)]();const _0x1c24e9=this[_0x15ce74(0x147)];_0x48b76b&&_0x1c24e9 instanceof De&&(this[_0x15ce74(0x34f)](),this[_0x15ce74(0x2c5)](_0x1c24e9[_0x15ce74(0x154)]()),this[_0x15ce74(0x180)]());}async[_0x5b64d2(0x23b)](){return new Promise(_0x3c3993=>{var _0x31aafc=_0x341f;this[_0x31aafc(0x388)][_0x31aafc(0x305)][_0x31aafc(0x1f8)](_0x321742(0x1))['subscribe'](async _0x500083=>{var _0x5373e8=_0x31aafc;_0x3c3993(await this[_0x5373e8(0x167)](_0x500083===Te[_0x5373e8(0x1d2)]));});});}[_0x5b64d2(0x204)](){var _0x4775ae=_0x5b64d2;const _0x1965ba=this[_0x4775ae(0x35c)];return{'onStateChange':(_0x1090df,_0x2dc13f)=>{var _0x14cd70=_0x4775ae;if(_0x1090df!==this[_0x14cd70(0x147)])throw new Error(_0x14cd70(0x318)+_0x1090df[_0x14cd70(0x1b9)]+_0x14cd70(0x1c7)+_0x2dc13f[_0x14cd70(0x1b9)]+'\x0aCurrent:\x20'+this[_0x14cd70(0x147)][_0x14cd70(0x1b9)]);this[_0x14cd70(0x2c5)](_0x2dc13f);},'onSendChangeset':_0x31c31f=>{var _0x1d164b=_0x4775ae;_0x31c31f['sid']||(_0x31c31f['sid']=this[_0x1d164b(0x135)],_0x31c31f[_0x1d164b(0x1a0)]=++this[_0x1d164b(0x217)]);const _0x51463e={'eventID':_0x40d0bd[_0x1d164b(0x2f7)],'data':{'unitID':_0x31c31f['unitID'],'unitType':this['_type'],'changeset':_0x31c31f,'memberID':this['session'][_0x1d164b(0x1e3)]()}};this[_0x1d164b(0x388)][_0x1d164b(0x196)](_0x51463e,this['unitID']);},'onMissingChangesets':({from:_0x397544,to:_0x2136a4})=>{var _0x4ed4a4=_0x4775ae;this[_0x4ed4a4(0x131)][_0x4ed4a4(0x2af)]('[CollaborationEntity]',_0x4ed4a4(0x360)+_0x397544+_0x4ed4a4(0x337)+_0x2136a4);const _0x49ab85={'eventID':_0x40d0bd[_0x4ed4a4(0x216)],'data':{'unitID':_0x1965ba,'unitType':this[_0x4ed4a4(0xbb)],'from':_0x397544,'to':_0x2136a4}};this[_0x4ed4a4(0x388)]['send'](_0x49ab85,this['unitID']);}};}async[_0x5b64d2(0x167)](_0x45dffa){var _0x3a0970=_0x5b64d2,_0x351596,_0x4c3a2b,_0x44cb5f;const _0x1e66a5=await((_0x351596=this[_0x3a0970(0xbc)])==null?void 0x0:_0x351596[_0x3a0970(0x368)](this[_0x3a0970(0x35c)])),_0x199953=(_0x4c3a2b=_0x1e66a5==null?void 0x0:_0x1e66a5[_0x3a0970(0x2b7)])!=null?_0x4c3a2b:[],_0x872fa5=(_0x44cb5f=_0x1e66a5==null?void 0x0:_0x1e66a5['awaitingChangeset'])!=null?_0x44cb5f:null,_0x3e6f60=!!(_0x872fa5!=null&&_0x872fa5[_0x3a0970(0x390)])&&!!(_0x872fa5!=null&&_0x872fa5['reqId']);this['_changesetSessionId']=_0x3e6f60?_0x872fa5['sid']:sr(),this[_0x3a0970(0x217)]=_0x3e6f60?_0x872fa5['reqId']:0x0;const _0x5e71d4=this[_0x3a0970(0x35c)];try{this[_0x3a0970(0xa1)](_0x872fa5,_0x199953);}catch(_0x406b4e){this[_0x3a0970(0x131)][_0x3a0970(0xbd)](_0x406b4e);}const _0xffe1a2=this[_0x3a0970(0x204)]();if(_0x45dffa){const _0xb45f23=Di(this[_0x3a0970(0x248)],_0x5e71d4,this[_0x3a0970(0xbb)],_0x872fa5,_0x199953,_0xffe1a2);return _0xb45f23 instanceof oe?_0xb45f23[_0x3a0970(0x359)]():(_0xb45f23 instanceof ae||_0xb45f23 instanceof ue)&&_0xb45f23[_0x3a0970(0x92)](),_0xb45f23;}return this[_0x3a0970(0x248)]['createInstance'](fe,_0x5e71d4,this[_0x3a0970(0xbb)],_0x872fa5,_0x199953,_0xffe1a2);}[_0x5b64d2(0xa1)](_0xfa0efe,_0x215123){var _0x227ee8=_0x5b64d2,_0x2abea5,_0x1a05ef;const _0x1ec390=this['_compressMutationService'][_0x227ee8(0x13a)][_0x227ee8(0x206)](this[_0x227ee8(0x21e)][_0x227ee8(0x13a)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2abea5=_0x1ec390((_0xfa0efe==null?void 0x0:_0xfa0efe[_0x227ee8(0x2b7)])||[],null))==null||_0x2abea5[_0x227ee8(0x2e0)](_0x480ea8=>this[_0x227ee8(0x251)][_0x227ee8(0x275)](_0x480ea8['id'],_0x480ea8['params'])),(_0x1a05ef=_0x1ec390(_0x215123||[],null))==null||_0x1a05ef[_0x227ee8(0x2e0)](_0x153034=>this['_commandService'][_0x227ee8(0x275)](_0x153034['id'],_0x153034[_0x227ee8(0x1af)]));}};nt=Lt([k(0x3,_0x51009b(_0x4bfd06)),k(0x4,_0x51009b(_0x33c4d0)),k(0x5,_0x51009b(_0x36359a)),k(0x6,_0x51009b(_0x9b51c5)),k(0x7,_0x51009b(pe)),k(0x8,_0x2b52c2),k(0x9,_0x178bdd),k(0xa,_0x1864f2),k(0xb,_0x2ddb4f(ht)),k(0xc,_0x2ddb4f(J))],nt);let Tt=class extends nt{constructor(_0x505b14,_0x949d50,_0x3b64f0,_0x2e3336,_0x2cd50e,_0x34b166,_0x2d6292,_0x46ffb6,_0x539f1d,_0x1cb2da,_0x1cf81b,_0x485b7a,_0x132430){var _0x3d7342=_0x5b64d2;super(_0x505b14,_0x3b64f0,_0x949d50,_0x2e3336,_0x2cd50e,_0x34b166,_0x2d6292,_0x46ffb6,_0x539f1d,_0x1cb2da,_0x1cf81b,_0x485b7a,_0x132430),N(this,_0x3d7342(0x2bd),null),(this['unitID']=_0x505b14,this['type']=_0x949d50);}['addHandlerCallback'](_0x1da9ef){this['_handlerCallback']=_0x1da9ef;}[_0x5b64d2(0x28e)](){this['_handlerCallback']=null,super['dispose']();}[_0x5b64d2(0x204)](){var _0x1472d8=_0x5b64d2;const _0x444c71=super[_0x1472d8(0x204)]();return _0x444c71['onTransformIME']=_0x58364a=>{var _0x10763b=_0x1472d8,_0x23723f,_0x561c60;return(_0x561c60=(_0x23723f=this['_handlerCallback'])==null?void 0x0:_0x23723f[_0x10763b(0x177)])==null?void 0x0:_0x561c60['call'](_0x23723f,_0x58364a);},_0x444c71[_0x1472d8(0x2e5)]=_0x33e8e0=>{var _0x354938=_0x1472d8,_0x483209,_0x3f2851;return(_0x3f2851=(_0x483209=this[_0x354938(0x2bd)])==null?void 0x0:_0x483209[_0x354938(0x2e5)])==null?void 0x0:_0x3f2851['call'](_0x483209,_0x33e8e0);},_0x444c71[_0x1472d8(0x314)]=_0x88054b=>{var _0x277349=_0x1472d8,_0x3e31e,_0x4d724e;return(_0x4d724e=(_0x3e31e=this['_handlerCallback'])==null?void 0x0:_0x3e31e[_0x277349(0x314)])==null?void 0x0:_0x4d724e[_0x277349(0x290)](_0x3e31e,_0x88054b);},_0x444c71[_0x1472d8(0x36f)]=_0x300fbd=>{var _0x4e4670=_0x1472d8,_0x36d174,_0x564d94;return(_0x564d94=(_0x36d174=this[_0x4e4670(0x2bd)])==null?void 0x0:_0x36d174[_0x4e4670(0x36f)])==null?void 0x0:_0x564d94[_0x4e4670(0x290)](_0x36d174,_0x300fbd);},_0x444c71[_0x1472d8(0x205)]=_0x1832b2=>{var _0x49e1c6=_0x1472d8,_0x1d086e,_0x373a8,_0x20c84f;if(!((_0x1d086e=this[_0x49e1c6(0x2bd)])!=null&&_0x1d086e[_0x49e1c6(0x205)]))throw new Error(_0x49e1c6(0x1b8));return(_0x20c84f=(_0x373a8=this[_0x49e1c6(0x2bd)])==null?void 0x0:_0x373a8['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x20c84f[_0x49e1c6(0x290)](_0x373a8,_0x1832b2);},_0x444c71['onTransformRemoteChangesetByStateCache']=_0x4c2a46=>{var _0x1c387d=_0x1472d8,_0x596d12,_0x4cb01f,_0x34a3cc;if(!((_0x596d12=this[_0x1c387d(0x2bd)])!=null&&_0x596d12['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1c387d(0x254));return(_0x34a3cc=(_0x4cb01f=this[_0x1c387d(0x2bd)])==null?void 0x0:_0x4cb01f[_0x1c387d(0x1d9)])==null?void 0x0:_0x34a3cc[_0x1c387d(0x290)](_0x4cb01f,_0x4c2a46);},_0x444c71;}async[_0x5b64d2(0xdf)](){var _0x56c95a=_0x5b64d2;const _0x53cb37=await super[_0x56c95a(0xdf)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x298754,_0x162637)=>{var _0x47f2d2=_0x56c95a;if(_0x298754[_0x47f2d2(0x240)]!==_0x154df6['MUTATION']||_0x162637!=null&&_0x162637[_0x47f2d2(0x2f8)]||_0x162637!=null&&_0x162637[_0x47f2d2(0x143)]||_0x298754['id']===_0x59ab95['id'])return;const _0x2d65ad=_0x298754[_0x47f2d2(0x1af)];if((_0x2d65ad==null?void 0x0:_0x2d65ad['unitId'])!==this[_0x47f2d2(0x35c)])return;const _0x17becb=_0x298754,_0x4bd020=this['_compressMutationService']['interceptor'][_0x47f2d2(0x206)](this[_0x47f2d2(0x21e)][_0x47f2d2(0x13a)][_0x47f2d2(0x2ee)]()[_0x47f2d2(0x10d)])([_0x17becb],null)||[_0x17becb];this[_0x47f2d2(0xbe)](_0x4bd020[0x0]);})),_0x53cb37;}};Tt=Lt([k(0x3,_0x51009b(_0x4bfd06)),k(0x4,_0x51009b(_0x33c4d0)),k(0x5,_0x51009b(_0x36359a)),k(0x6,_0x51009b(_0x9b51c5)),k(0x7,_0x51009b(pe)),k(0x8,_0x2b52c2),k(0x9,_0x178bdd),k(0xa,_0x1864f2),k(0xb,_0x2ddb4f(ht)),k(0xc,_0x2ddb4f(J))],Tt);let Ct=class extends nt{constructor(_0x79f1de,_0x38fc92,_0xc64fc3,_0x2eb874,_0x212711,_0x565c02,_0x26f2c9,_0x15d5c7,_0x411e52,_0x1d5720,_0x3ef8c1,_0x5797e8,_0x305239,_0x3a867b){var _0x117f54=_0x5b64d2;super(_0x79f1de,_0xc64fc3,_0x38fc92,_0x2eb874,_0x212711,_0x565c02,_0x26f2c9,_0x411e52,_0x1d5720,_0x3ef8c1,_0x5797e8,_0x305239,_0x3a867b),this[_0x117f54(0x35c)]=_0x79f1de,this[_0x117f54(0x240)]=_0x38fc92,this[_0x117f54(0x323)]=_0x15d5c7;}['_createHandler'](){var _0x22c305=_0x5b64d2;const _0x4cad7e=super['_createHandler']();return _0x4cad7e[_0x22c305(0x314)]=_0x593712=>this[_0x22c305(0x323)][_0x22c305(0x176)](_0x593712),_0x4cad7e;}async['_init'](){var _0x5967b5=_0x5b64d2;const _0x260985=await super[_0x5967b5(0xdf)]();return this[_0x5967b5(0x396)](this[_0x5967b5(0x251)][_0x5967b5(0xe8)]((_0xff4867,_0x2c5d57)=>{var _0x4da980=_0x5967b5;if(_0xff4867[_0x4da980(0x240)]!==_0x154df6[_0x4da980(0x393)]||_0x2c5d57!=null&&_0x2c5d57[_0x4da980(0x2f8)]||_0x2c5d57!=null&&_0x2c5d57[_0x4da980(0x143)])return;const _0x2db4ab=_0xff4867[_0x4da980(0x1af)];if((_0x2db4ab==null?void 0x0:_0x2db4ab[_0x4da980(0x371)])!==this['unitID'])return;const _0x2f8e55=_0xff4867,_0x294bac=this['_compressMutationService'][_0x4da980(0x13a)][_0x4da980(0x206)](this['_compressMutationService'][_0x4da980(0x13a)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x2f8e55],null)||[_0x2f8e55];this[_0x4da980(0xbe)](_0x294bac[0x0]);})),_0x260985;}};Ct=Lt([k(0x3,_0x51009b(_0x4bfd06)),k(0x4,_0x51009b(_0x33c4d0)),k(0x5,_0x51009b(_0x36359a)),k(0x6,_0x51009b(_0x9b51c5)),k(0x7,_0x51009b(it)),k(0x8,_0x51009b(pe)),k(0x9,_0x2b52c2),k(0xa,_0x178bdd),k(0xb,_0x1864f2),k(0xc,_0x2ddb4f(ht)),k(0xd,_0x2ddb4f(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x5b64d2(0x267)],Sr=(_0x1f25b1,_0x38446a,_0x2a1a76,_0x23a5ae)=>{var _0x4f35aa=_0x5b64d2;for(var _0x5ac2f8=_0x23a5ae>0x1?void 0x0:_0x23a5ae?gr(_0x38446a,_0x2a1a76):_0x38446a,_0x2a83d0=_0x1f25b1[_0x4f35aa(0x1a1)]-0x1,_0x2b5c02;_0x2a83d0>=0x0;_0x2a83d0--)(_0x2b5c02=_0x1f25b1[_0x2a83d0])&&(_0x5ac2f8=(_0x23a5ae?_0x2b5c02(_0x38446a,_0x2a1a76,_0x5ac2f8):_0x2b5c02(_0x5ac2f8))||_0x5ac2f8);return _0x23a5ae&&_0x5ac2f8&&mr(_0x38446a,_0x2a1a76,_0x5ac2f8),_0x5ac2f8;},ft=(_0x1249d4,_0x49561e)=>(_0x491523,_0x5e02e0)=>_0x49561e(_0x491523,_0x5e02e0,_0x1249d4);let rt=class extends _0x53c65a{constructor(_0x17c3e6,_0xff3795,_0x27c44){var _0x4ce175=_0x5b64d2;super(),N(this,_0x4ce175(0xa3),new Map()),N(this,_0x4ce175(0x280),new _0x4bd802()),N(this,_0x4ce175(0x162),this[_0x4ce175(0x280)][_0x4ce175(0x30b)]()),(this[_0x4ce175(0x248)]=_0x17c3e6,this['_collabSessionService']=_0xff3795,this[_0x4ce175(0x1f0)]=_0x27c44,this[_0x4ce175(0xdf)]());}['dispose'](){var _0x54a449=_0x5b64d2;super[_0x54a449(0x28e)](),this[_0x54a449(0xa3)]['forEach'](_0x3dda3b=>_0x3dda3b[_0x54a449(0x28e)]()),this[_0x54a449(0xa3)][_0x54a449(0xed)]();}[_0x5b64d2(0x9c)](_0x8acecf){var _0x2c72a2=_0x5b64d2,_0x23178c;return(_0x23178c=this['_entities'][_0x2c72a2(0x295)](_0x8acecf))!=null?_0x23178c:null;}[_0x5b64d2(0x287)](_0x2d1e4e){var _0x192082=_0x5b64d2;const _0x5bba88=this[_0x192082(0x9c)](_0x2d1e4e);return _0x5bba88?_0x24682b(_0x5bba88):this['_entityInit$'][_0x192082(0x1f8)](_0x4b8e50(_0x20382d=>_0x20382d[_0x192082(0x35c)]===_0x2d1e4e));}[_0x5b64d2(0x174)](_0x37ea9c){var _0x2143d3=_0x5b64d2;return _0x8a8ba8(this['getCollabEntity$'](_0x37ea9c)[_0x2143d3(0x1f8)](_0x168999(()=>{})));}['_init'](){var _0x5b6455=_0x5b64d2;this['_univerInstanceService'][_0x5b6455(0x2ec)](_0x47ffbb[_0x5b6455(0x37c)])[_0x5b6455(0x1f8)](_0x534dde(this[_0x5b6455(0x354)]),_0x3e5690(0x10))[_0x5b6455(0x229)](async _0x3f0f19=>{var _0x3359a3=_0x5b6455;const _0x3756bb=_0x3f0f19[_0x3359a3(0x2da)](),_0x53605f=await this[_0x3359a3(0x249)](_0x3756bb,Q['UNIVER_SHEET']);this[_0x3359a3(0xa3)][_0x3359a3(0x250)](_0x3756bb,_0x53605f);}),this[_0x5b6455(0x1f0)][_0x5b6455(0x2ec)](_0x47ffbb['UNIVER_DOC'])[_0x5b6455(0x1f8)](_0x534dde(this['dispose$']),_0x3e5690(0x10))[_0x5b6455(0x1f8)](_0x4b8e50(_0x12acf7=>!_0x12acf7['getUnitId']()['startsWith']('__')))[_0x5b6455(0x229)](async _0x15f57a=>{var _0x31b842=_0x5b6455;const _0x29c68f=_0x15f57a[_0x31b842(0x2da)](),_0x48757e=await this[_0x31b842(0x249)](_0x29c68f,Q[_0x31b842(0x185)]);this['_entities'][_0x31b842(0x250)](_0x29c68f,_0x48757e);}),_0x5e5f0f(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x47ffbb['UNIVER_SHEET']),this[_0x5b6455(0x1f0)][_0x5b6455(0x2c8)](_0x47ffbb[_0x5b6455(0x185)]))[_0x5b6455(0x1f8)](_0x534dde(this[_0x5b6455(0x354)]))[_0x5b6455(0x229)](_0x50fa9b=>{var _0x10fc18=_0x5b6455;const _0x2c44bd=_0x50fa9b[_0x10fc18(0x2da)](),_0x3b2ed9=this[_0x10fc18(0xa3)][_0x10fc18(0x295)](_0x2c44bd);_0x3b2ed9&&(_0x3b2ed9[_0x10fc18(0x28e)](),this[_0x10fc18(0xa3)]['delete'](_0x2c44bd));});}async['_startCollaboration'](_0x4b1438,_0x130645){var _0x383f41=_0x5b64d2;const _0x4fc416=await this[_0x383f41(0x1a9)][_0x383f41(0x352)](_0x4b1438),_0x2de3f7=this[_0x383f41(0x248)]['createInstance'](this[_0x383f41(0x136)](_0x130645),_0x4b1438,_0x130645,_0x4fc416);return await _0x2de3f7[_0x383f41(0xc4)](),this[_0x383f41(0x280)][_0x383f41(0x199)](_0x2de3f7),_0x2de3f7;}[_0x5b64d2(0x136)](_0x41a80f){var _0x2e842d=_0x5b64d2;switch(_0x41a80f){case Q[_0x2e842d(0x185)]:return Tt;case Q[_0x2e842d(0x37c)]:return Ct;default:throw new Error(_0x2e842d(0x27d)+_0x41a80f);}}};rt=Sr([ft(0x0,_0x51009b(_0x4bfd06)),ft(0x1,_0x51009b(Le)),ft(0x2,_0x54f72a)],rt);var Er=Object[_0x5b64d2(0x25a)],Ir=Object[_0x5b64d2(0x267)],Tr=(_0x432408,_0x45bd22,_0x3fcc87,_0xd6a22b)=>{for(var _0x115226=_0xd6a22b>0x1?void 0x0:_0xd6a22b?Ir(_0x45bd22,_0x3fcc87):_0x45bd22,_0x2cff70=_0x432408['length']-0x1,_0x4c20aa;_0x2cff70>=0x0;_0x2cff70--)(_0x4c20aa=_0x432408[_0x2cff70])&&(_0x115226=(_0xd6a22b?_0x4c20aa(_0x45bd22,_0x3fcc87,_0x115226):_0x4c20aa(_0x115226))||_0x115226);return _0xd6a22b&&_0x115226&&Er(_0x45bd22,_0x3fcc87,_0x115226),_0x115226;},Jt=(_0x209728,_0x71d2e8)=>(_0x44510d,_0x51c13b)=>_0x71d2e8(_0x44510d,_0x51c13b,_0x209728);const Cr=_0x5b64d2(0x2a7),Rr=_0x5b64d2(0x362);let Rt=class extends _0xf149c{constructor(_0x3936bc,_0x154405){var _0xa46727=_0x5b64d2;super(),this[_0xa46727(0x1f0)]=_0x3936bc,this[_0xa46727(0x9e)]=_0x154405,this['_init']();}[_0x5b64d2(0xdf)](){var _0x77657a=_0x5b64d2;this[_0x77657a(0x396)](this[_0x77657a(0x1f0)][_0x77657a(0x2c0)][_0x77657a(0x229)](()=>{var _0xff10e6=_0x77657a,_0xd51251;const _0x42fa18=this[_0xff10e6(0x1f0)][_0xff10e6(0x210)]();let _0x3b095a=(_0xd51251=this[_0xff10e6(0x9e)][_0xff10e6(0x35a)](Cr))!=null?_0xd51251:Rr;_0x42fa18 instanceof _0x131802&&(_0x3b095a=_0x42fa18[_0xff10e6(0x23c)]),document[_0xff10e6(0x126)]=_0x3b095a;}));}};Rt=Tr([Jt(0x0,_0x54f72a),Jt(0x1,_0xb5719d)],Rt);var br=Object[_0x5b64d2(0x25a)],Or=Object[_0x5b64d2(0x267)],yr=(_0xb7b403,_0x24f4c4,_0x32f9e8,_0x174848)=>{var _0x1ce891=_0x5b64d2;for(var _0x463b44=_0x174848>0x1?void 0x0:_0x174848?Or(_0x24f4c4,_0x32f9e8):_0x24f4c4,_0x37778f=_0xb7b403[_0x1ce891(0x1a1)]-0x1,_0x1f5d91;_0x37778f>=0x0;_0x37778f--)(_0x1f5d91=_0xb7b403[_0x37778f])&&(_0x463b44=(_0x174848?_0x1f5d91(_0x24f4c4,_0x32f9e8,_0x463b44):_0x1f5d91(_0x463b44))||_0x463b44);return _0x174848&&_0x463b44&&br(_0x24f4c4,_0x32f9e8,_0x463b44),_0x463b44;},vt=(_0x2aa40a,_0x263bca)=>(_0xa78de2,_0x3b8ee5)=>_0x263bca(_0xa78de2,_0x3b8ee5,_0x2aa40a);let st=class{constructor(_0x520eae,_0x596889,_0x22477c){var _0x4c335b=_0x5b64d2;this[_0x4c335b(0x9e)]=_0x520eae,this[_0x4c335b(0x114)]=_0x596889,this[_0x4c335b(0x18a)]=_0x22477c,this[_0x4c335b(0xc4)]();}['init'](){var _0x4385c5=_0x5b64d2;this[_0x4385c5(0x114)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x52d680,_0x28836d)=>_0x28836d(_0x52d680)[_0x4385c5(0x1f8)](_0x99c149(async _0x438d16=>{var _0x9b3b3d=_0x4385c5;const _0x45249c=_0x438d16;if(_0x45249c[_0x9b3b3d(0x1b9)]===0x191){if(typeof window>'u')throw new Error(_0x9b3b3d(0x188));if(window[_0x9b3b3d(0x1b2)](this[_0x9b3b3d(0x18a)]['t'](_0x9b3b3d(0x1fc)))){const _0x48abce=window['encodeURIComponent'](window[_0x9b3b3d(0x1b6)]['href']);window[_0x9b3b3d(0x1b6)]['href']=this[_0x9b3b3d(0x11a)]()+_0x9b3b3d(0x202)+_0x48abce;}}return _0x45249c;}))});}[_0x5b64d2(0x11a)](){var _0x37d899=_0x5b64d2,_0x44dc05,_0x4a0835;const _0x18fe54=this[_0x37d899(0x9e)][_0x37d899(0x35a)](xn),_0x1d24fe=this[_0x37d899(0x9e)][_0x37d899(0x35a)](q);return(_0x4a0835=(_0x44dc05=_0x1d24fe==null?void 0x0:_0x1d24fe[_0x37d899(0x271)])!=null?_0x44dc05:_0x18fe54)!=null?_0x4a0835:Ln;}};st=yr([vt(0x0,_0xb5719d),vt(0x1,_0x51009b(_0x3793f1)),vt(0x2,_0x51009b(_0x36359a))],st);var Nr=Object[_0x5b64d2(0x25a)],Dr=Object[_0x5b64d2(0x267)],Pr=(_0x3f9db3,_0x59a192,_0x3925dc,_0x415c87)=>{var _0x38ff5d=_0x5b64d2;for(var _0x23f562=_0x415c87>0x1?void 0x0:_0x415c87?Dr(_0x59a192,_0x3925dc):_0x59a192,_0x29843a=_0x3f9db3[_0x38ff5d(0x1a1)]-0x1,_0xf60872;_0x29843a>=0x0;_0x29843a--)(_0xf60872=_0x3f9db3[_0x29843a])&&(_0x23f562=(_0x415c87?_0xf60872(_0x59a192,_0x3925dc,_0x23f562):_0xf60872(_0x23f562))||_0x23f562);return _0x415c87&&_0x23f562&&Nr(_0x59a192,_0x3925dc,_0x23f562),_0x23f562;},Xt=(_0x563abc,_0x3162c6)=>(_0x3e3f68,_0x4f21af)=>_0x3162c6(_0x3e3f68,_0x4f21af,_0x563abc);const Pi=_0x5b64d2(0x2ad),wr=_0x5b64d2(0x38b);let bt=class extends _0xf149c{constructor(_0xfc2ee3,_0x58ce6b){var _0x550c39=_0x5b64d2;super(),this['_HTTPService']=_0xfc2ee3,this[_0x550c39(0x9e)]=_0x58ce6b,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1b977d=_0x5b64d2;const _0x598a70=this;this[_0x1b977d(0x396)](this['_HTTPService'][_0x1b977d(0x255)]({'priority':0x3e7,'interceptor':_0x4e1c76({'isMatch'(_0x2f93b8){var _0xb842a2=_0x1b977d,_0x55a3b1;if(_0x2f93b8[_0xb842a2(0x116)]===_0xb842a2(0x111)&&((_0x55a3b1=_0x2f93b8['requestParams'])!=null&&_0x55a3b1[_0xb842a2(0xf2)])){const {objectID:_0x427bfc,objectType:_0x2e6174}=_0x2f93b8[_0xb842a2(0xea)]['body']||{};if(!_0x427bfc||_0x2e6174===void 0x0)return!0x1;const _0x2bd41e=_0x598a70[_0xb842a2(0x382)]()+'/'+_0x2e6174+_0xb842a2(0x155)+_0x427bfc+_0xb842a2(0x277);if(_0x2f93b8[_0xb842a2(0xf0)]===_0x2bd41e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5aaac1){var _0x362069=_0x1b977d,_0x26a1af;return(_0x26a1af=_0x5aaac1[_0x362069(0xea)])==null?void 0x0:_0x26a1af[_0x362069(0xf2)];},'mergeParamsToRequest'(_0x3eba97,_0x405eb3){var _0x34df37=_0x1b977d;const _0x4ef03d=_0x598a70[_0x34df37(0x382)]()+'/-/object/-/batch_allowed',_0x2a2bc5=_0x3eba97[_0x34df37(0xdd)]((_0x5a1f7a,_0x138e94)=>{const {unitID:_0x5d4e0d,objectID:_0x31a1e2,objectType:_0x44bd17,actions:_0x2a1276}=_0x138e94;return _0x5a1f7a[_0x5d4e0d]||(_0x5a1f7a[_0x5d4e0d]={}),_0x5a1f7a[_0x5d4e0d][_0x31a1e2]||(_0x5a1f7a[_0x5d4e0d][_0x31a1e2]={'objectID':_0x31a1e2,'objectType':_0x44bd17,'actions':[]}),_0x5a1f7a[_0x5d4e0d][_0x31a1e2]['actions']['push'](..._0x2a1276),_0x5a1f7a;},{}),_0x195601=[];for(const _0x2d31bd in _0x2a2bc5)for(const _0x489cfc in _0x2a2bc5[_0x2d31bd]){const {actions:_0x5ec3f8,objectType:_0x153460}=_0x2a2bc5[_0x2d31bd][_0x489cfc],_0x25c2d0=[...new Set(_0x5ec3f8)];_0x195601[_0x34df37(0x124)]({'unitID':_0x2d31bd,'objectID':_0x489cfc,'objectType':_0x153460,'actions':_0x25c2d0});}return new _0x4ffdde(_0x34df37(0x111),_0x4ef03d,{'headers':_0x405eb3[_0x34df37(0x20e)],'withCredentials':_0x405eb3[_0x34df37(0x2df)],'responseType':_0x405eb3[_0x34df37(0x36e)],'body':{'requests':_0x195601}});}},{'distributeResult'(_0x1d2302,_0x1ea2a9){var _0x4eac04=_0x1b977d;const {objectActions:_0x59dd6f}=_0x1d2302;return _0x1ea2a9[_0x4eac04(0xad)](_0x2b08b4=>{var _0x448b46=_0x4eac04;const {unitID:_0x3e7e21,objectID:_0x146fe1,actions:_0x31ffa4}=_0x2b08b4,_0x46ca09=_0x59dd6f[_0x448b46(0x2e8)](_0x275b2e=>_0x275b2e[_0x448b46(0x35c)]===_0x3e7e21&&_0x275b2e['objectID']===_0x146fe1),_0x8f2201=_0x31ffa4[_0x448b46(0xad)](_0x32d7b5=>_0x46ca09==null?void 0x0:_0x46ca09[_0x448b46(0x32b)]['find'](_0x540634=>_0x540634[_0x448b46(0x340)]===_0x32d7b5))[_0x448b46(0x1d4)](_0x33577c=>!!_0x33577c);return{'config':_0x2b08b4,'result':{'actions':_0x8f2201,'error':_0x1d2302[_0x448b46(0xbd)]}};});}})}));}[_0x5b64d2(0x382)](){var _0x48e661=_0x5b64d2,_0x40dafc,_0x21cd9f;const _0x1a6b6e=this[_0x48e661(0x9e)][_0x48e661(0x35a)](Pi),_0x452817=this[_0x48e661(0x9e)][_0x48e661(0x35a)](q);return(_0x21cd9f=(_0x40dafc=_0x452817==null?void 0x0:_0x452817[_0x48e661(0x115)])!=null?_0x40dafc:_0x1a6b6e)!=null?_0x21cd9f:wr;}async[_0x5b64d2(0x14c)](_0x5c7eb6){var _0xac2793=_0x5b64d2;const _0x2f221c=this[_0xac2793(0x382)]()+'/'+_0x5c7eb6['objectType']+_0xac2793(0x153);return(await this[_0xac2793(0x19c)]['post'](_0x2f221c,{'body':_0x5c7eb6}))[_0xac2793(0xf2)][_0xac2793(0x2c1)]||'';}async[_0x5b64d2(0x2ab)](_0xe862cf){var _0x143357=_0x5b64d2;const _0x3371dd=this[_0x143357(0x382)]()+'/-/object/list';return(await this[_0x143357(0x19c)][_0x143357(0x247)](_0x3371dd,{'body':_0xe862cf}))[_0x143357(0xf2)][_0x143357(0x14b)];}async[_0x5b64d2(0x29f)](_0x577617){var _0x9ccb43=_0x5b64d2;const _0x49e650=this[_0x9ccb43(0x382)]()+'/'+_0x577617[_0x9ccb43(0x222)]+'/object/'+_0x577617['objectID'];await this['_HTTPService'][_0x9ccb43(0x169)](_0x49e650,{'body':_0x577617});}async[_0x5b64d2(0x253)](_0x5d7be4){var _0x40c637=_0x5b64d2;const _0x546b17=this[_0x40c637(0x382)]()+'/'+_0x5d7be4[_0x40c637(0x222)]+_0x40c637(0x155)+_0x5d7be4[_0x40c637(0x2c1)]+'/allowed';return(await this[_0x40c637(0x19c)][_0x40c637(0x247)](_0x546b17,{'body':_0x5d7be4}))[_0x40c637(0xf2)][_0x40c637(0x32b)];}async[_0x5b64d2(0x381)](_0x5f543a){var _0x4d6e2b=_0x5b64d2;const _0xbf565b=this[_0x4d6e2b(0x382)]()+_0x4d6e2b(0x1b7);return(await this['_HTTPService'][_0x4d6e2b(0x247)](_0xbf565b,{'body':{'requests':_0x5f543a}}))[_0x4d6e2b(0xf2)][_0x4d6e2b(0x29c)];}async['listRoles'](_0x2b4c44){var _0x52d876=_0x5b64d2;const _0x595929=this[_0x52d876(0x382)]()+'/'+_0x2b4c44[_0x52d876(0x222)]+_0x52d876(0x2b3),_0x5c128d=await this[_0x52d876(0x19c)][_0x52d876(0x247)](_0x595929,{'body':_0x2b4c44});return{'roles':_0x5c128d[_0x52d876(0xf2)][_0x52d876(0x298)],'actions':_0x5c128d[_0x52d876(0xf2)][_0x52d876(0x32b)]};}async[_0x5b64d2(0x346)](_0x599316){var _0x44b468=_0x5b64d2;const _0xa6d9cd=this[_0x44b468(0x382)]()+_0x44b468(0x27e);await this[_0x44b468(0x19c)][_0x44b468(0x1d0)](_0xa6d9cd,{'params':{'collaboratorID':_0x599316[_0x44b468(0x1db)],'objectID':_0x599316[_0x44b468(0x2c1)],'unitID':_0x599316[_0x44b468(0x35c)]}});}async[_0x5b64d2(0xa8)](_0x3bd81d){var _0x1c4968=_0x5b64d2;const _0x5dee51=this[_0x1c4968(0x382)]()+_0x1c4968(0x27e);await this['_HTTPService'][_0x1c4968(0x19f)](_0x5dee51,{'body':_0x3bd81d});}async[_0x5b64d2(0x2a0)](_0x3f326b){var _0x2ef5a6=_0x5b64d2;const _0x2fa6c3=this['_getAPIPrefixPath']()+_0x2ef5a6(0x27e);await this['_HTTPService'][_0x2ef5a6(0x247)](_0x2fa6c3,{'body':_0x3f326b});}async[_0x5b64d2(0xe2)](_0x1cd3ee){var _0x50fc9c=_0x5b64d2;const _0x533fcc=this[_0x50fc9c(0x382)]()+'/collaborator';return(await this['_HTTPService'][_0x50fc9c(0x295)](_0x533fcc,{'params':{'objectID':_0x1cd3ee['objectID'],'unitID':_0x1cd3ee[_0x50fc9c(0x35c)]}}))['body']['collaborators'];}async[_0x5b64d2(0x279)](_0x2e90d8){var _0x53d79e=_0x5b64d2;const _0x311b98=this[_0x53d79e(0x382)]()+_0x53d79e(0x27e);await this[_0x53d79e(0x19c)][_0x53d79e(0x169)](_0x311b98,{'body':_0x2e90d8});}};bt=Pr([Xt(0x0,_0x51009b(_0x3793f1)),Xt(0x1,_0x51009b(_0xb5719d))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x413904){var _0x130a62=_0x5b64d2;return _0x413904&&_0x413904[_0x130a62(0x20c)]&&Object[_0x130a62(0x1ea)][_0x130a62(0x12e)][_0x130a62(0x290)](_0x413904,_0x130a62(0x374))?_0x413904[_0x130a62(0x374)]:_0x413904;}var Ve={'exports':{}};function Ur(_0x1c8729){var _0x4998f0=_0x5b64d2;throw new Error(_0x4998f0(0x285)+_0x1c8729+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x5b64d2(0x32a)],Zt;function ne(){return Zt||(Zt=0x1,function(_0xaecf77,_0x59463a){(function(_0x4908c5,_0x16f388){_0xaecf77['exports']=_0x16f388();}(Ar,function(){var _0x3812ec=_0x3812ec||function(_0x32233f,_0x1ff130){var _0x5481ae=_0x341f,_0x4f41da;if(typeof window<'u'&&window[_0x5481ae(0x99)]&&(_0x4f41da=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x4f41da=self[_0x5481ae(0x99)]),typeof globalThis<'u'&&globalThis[_0x5481ae(0x99)]&&(_0x4f41da=globalThis[_0x5481ae(0x99)]),!_0x4f41da&&typeof window<'u'&&window['msCrypto']&&(_0x4f41da=window[_0x5481ae(0xfe)]),!_0x4f41da&&typeof pt<'u'&&pt['crypto']&&(_0x4f41da=pt[_0x5481ae(0x99)]),!_0x4f41da&&typeof Ur==_0x5481ae(0x27b))try{_0x4f41da=require(_0x5481ae(0x99));}catch{}var _0x271e61=function(){var _0x2a787a=_0x5481ae;if(_0x4f41da){if(typeof _0x4f41da[_0x2a787a(0x125)]==_0x2a787a(0x27b))try{return _0x4f41da[_0x2a787a(0x125)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f41da[_0x2a787a(0xd3)]=='function')try{return _0x4f41da[_0x2a787a(0xd3)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2a787a(0x32f));},_0x5521ee=Object[_0x5481ae(0x14c)]||(function(){function _0x2503bc(){}return function(_0x2a7a4d){var _0x5303b9=_0x341f,_0x52ce9f;return _0x2503bc[_0x5303b9(0x1ea)]=_0x2a7a4d,_0x52ce9f=new _0x2503bc(),_0x2503bc[_0x5303b9(0x1ea)]=null,_0x52ce9f;};}()),_0x5a97fa={},_0xd35745=_0x5a97fa[_0x5481ae(0x2c2)]={},_0x296595=_0xd35745['Base']=(function(){return{'extend':function(_0x1c7c1e){var _0x305984=_0x341f,_0x5e6a0e=_0x5521ee(this);return _0x1c7c1e&&_0x5e6a0e[_0x305984(0x2ea)](_0x1c7c1e),(!_0x5e6a0e[_0x305984(0x12e)](_0x305984(0xc4))||this[_0x305984(0xc4)]===_0x5e6a0e['init'])&&(_0x5e6a0e['init']=function(){var _0x284af5=_0x305984;_0x5e6a0e[_0x284af5(0x2cf)]['init']['apply'](this,arguments);}),_0x5e6a0e[_0x305984(0xc4)][_0x305984(0x1ea)]=_0x5e6a0e,_0x5e6a0e['$super']=this,_0x5e6a0e;},'create':function(){var _0x57dccb=_0x341f,_0x2176e=this[_0x57dccb(0x132)]();return _0x2176e[_0x57dccb(0xc4)][_0x57dccb(0x2d5)](_0x2176e,arguments),_0x2176e;},'init':function(){},'mixIn':function(_0xb3b7d3){var _0x5ecb6e=_0x341f;for(var _0x15626d in _0xb3b7d3)_0xb3b7d3[_0x5ecb6e(0x12e)](_0x15626d)&&(this[_0x15626d]=_0xb3b7d3[_0x15626d]);_0xb3b7d3['hasOwnProperty'](_0x5ecb6e(0x1ba))&&(this['toString']=_0xb3b7d3[_0x5ecb6e(0x1ba)]);},'clone':function(){var _0x1ef6db=_0x341f;return this['init'][_0x1ef6db(0x1ea)][_0x1ef6db(0x132)](this);}};}()),_0x412aef=_0xd35745[_0x5481ae(0x2be)]=_0x296595[_0x5481ae(0x132)]({'init':function(_0x4f29cf,_0x48234d){var _0x6a95f5=_0x5481ae;_0x4f29cf=this[_0x6a95f5(0x160)]=_0x4f29cf||[],_0x48234d!=_0x1ff130?this[_0x6a95f5(0x159)]=_0x48234d:this[_0x6a95f5(0x159)]=_0x4f29cf[_0x6a95f5(0x1a1)]*0x4;},'toString':function(_0x1fe931){var _0x48976d=_0x5481ae;return(_0x1fe931||_0x7895ba)[_0x48976d(0x21f)](this);},'concat':function(_0x227243){var _0x183ce8=_0x5481ae,_0x5e07d0=this[_0x183ce8(0x160)],_0x304372=_0x227243[_0x183ce8(0x160)],_0x3e2f38=this['sigBytes'],_0x31b6b4=_0x227243['sigBytes'];if(this['clamp'](),_0x3e2f38%0x4)for(var _0x2c4d5c=0x0;_0x2c4d5c<_0x31b6b4;_0x2c4d5c++){var _0x31dbc2=_0x304372[_0x2c4d5c>>>0x2]>>>0x18-_0x2c4d5c%0x4*0x8&0xff;_0x5e07d0[_0x3e2f38+_0x2c4d5c>>>0x2]|=_0x31dbc2<<0x18-(_0x3e2f38+_0x2c4d5c)%0x4*0x8;}else{for(var _0x5d615=0x0;_0x5d615<_0x31b6b4;_0x5d615+=0x4)_0x5e07d0[_0x3e2f38+_0x5d615>>>0x2]=_0x304372[_0x5d615>>>0x2];}return this[_0x183ce8(0x159)]+=_0x31b6b4,this;},'clamp':function(){var _0x421e42=_0x5481ae,_0xc43937=this[_0x421e42(0x160)],_0x5cda24=this[_0x421e42(0x159)];_0xc43937[_0x5cda24>>>0x2]&=0xffffffff<<0x20-_0x5cda24%0x4*0x8,_0xc43937['length']=_0x32233f[_0x421e42(0x258)](_0x5cda24/0x4);},'clone':function(){var _0x598f57=_0x5481ae,_0x43ef64=_0x296595[_0x598f57(0x2a6)]['call'](this);return _0x43ef64['words']=this['words'][_0x598f57(0x234)](0x0),_0x43ef64;},'random':function(_0x360639){var _0x1f87e8=_0x5481ae;for(var _0x40c89f=[],_0x3b5aef=0x0;_0x3b5aef<_0x360639;_0x3b5aef+=0x4)_0x40c89f[_0x1f87e8(0x124)](_0x271e61());return new _0x412aef[(_0x1f87e8(0xc4))](_0x40c89f,_0x360639);}}),_0x3862e4=_0x5a97fa['enc']={},_0x7895ba=_0x3862e4[_0x5481ae(0xb1)]={'stringify':function(_0x553c4e){var _0x276faa=_0x5481ae;for(var _0x4cb4de=_0x553c4e[_0x276faa(0x160)],_0x40d7a7=_0x553c4e[_0x276faa(0x159)],_0x16129c=[],_0x14a9ad=0x0;_0x14a9ad<_0x40d7a7;_0x14a9ad++){var _0x1cecaf=_0x4cb4de[_0x14a9ad>>>0x2]>>>0x18-_0x14a9ad%0x4*0x8&0xff;_0x16129c[_0x276faa(0x124)]((_0x1cecaf>>>0x4)[_0x276faa(0x1ba)](0x10)),_0x16129c[_0x276faa(0x124)]((_0x1cecaf&0xf)[_0x276faa(0x1ba)](0x10));}return _0x16129c[_0x276faa(0x121)]('');},'parse':function(_0x25fe79){var _0x3813d7=_0x5481ae;for(var _0x5f4a05=_0x25fe79[_0x3813d7(0x1a1)],_0x10e29b=[],_0x25d657=0x0;_0x25d657<_0x5f4a05;_0x25d657+=0x2)_0x10e29b[_0x25d657>>>0x3]|=parseInt(_0x25fe79[_0x3813d7(0x10a)](_0x25d657,0x2),0x10)<<0x18-_0x25d657%0x8*0x4;return new _0x412aef[(_0x3813d7(0xc4))](_0x10e29b,_0x5f4a05/0x2);}},_0xfd4265=_0x3862e4[_0x5481ae(0x2d9)]={'stringify':function(_0x29a18d){var _0x5b6eed=_0x5481ae;for(var _0x31dc63=_0x29a18d['words'],_0x28fb6f=_0x29a18d[_0x5b6eed(0x159)],_0x486acd=[],_0x24efc2=0x0;_0x24efc2<_0x28fb6f;_0x24efc2++){var _0x2cdea7=_0x31dc63[_0x24efc2>>>0x2]>>>0x18-_0x24efc2%0x4*0x8&0xff;_0x486acd[_0x5b6eed(0x124)](String[_0x5b6eed(0x264)](_0x2cdea7));}return _0x486acd[_0x5b6eed(0x121)]('');},'parse':function(_0x575231){var _0x22b609=_0x5481ae;for(var _0x2880b5=_0x575231['length'],_0x38afe0=[],_0x2a0632=0x0;_0x2a0632<_0x2880b5;_0x2a0632++)_0x38afe0[_0x2a0632>>>0x2]|=(_0x575231[_0x22b609(0xe7)](_0x2a0632)&0xff)<<0x18-_0x2a0632%0x4*0x8;return new _0x412aef[(_0x22b609(0xc4))](_0x38afe0,_0x2880b5);}},_0x415a7f=_0x3862e4[_0x5481ae(0x17d)]={'stringify':function(_0x5e76e4){var _0x3cb928=_0x5481ae;try{return decodeURIComponent(escape(_0xfd4265[_0x3cb928(0x21f)](_0x5e76e4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x110059){var _0x33e701=_0x5481ae;return _0xfd4265[_0x33e701(0x164)](unescape(encodeURIComponent(_0x110059)));}},_0x4b1381=_0xd35745[_0x5481ae(0x383)]=_0x296595[_0x5481ae(0x132)]({'reset':function(){var _0x2d9752=_0x5481ae;this['_data']=new _0x412aef[(_0x2d9752(0xc4))](),this[_0x2d9752(0x16a)]=0x0;},'_append':function(_0x349626){var _0x310a8=_0x5481ae;typeof _0x349626=='string'&&(_0x349626=_0x415a7f[_0x310a8(0x164)](_0x349626)),this[_0x310a8(0x378)][_0x310a8(0x38c)](_0x349626),this[_0x310a8(0x16a)]+=_0x349626[_0x310a8(0x159)];},'_process':function(_0x52341a){var _0x13bf13=_0x5481ae,_0x4a026a,_0x3d6e82=this['_data'],_0x57f3e1=_0x3d6e82[_0x13bf13(0x160)],_0x14cb2c=_0x3d6e82[_0x13bf13(0x159)],_0x36faa8=this['blockSize'],_0x30157c=_0x36faa8*0x4,_0x448cbe=_0x14cb2c/_0x30157c;_0x52341a?_0x448cbe=_0x32233f[_0x13bf13(0x258)](_0x448cbe):_0x448cbe=_0x32233f['max']((_0x448cbe|0x0)-this['_minBufferSize'],0x0);var _0x2e20df=_0x448cbe*_0x36faa8,_0x4dd7d6=_0x32233f['min'](_0x2e20df*0x4,_0x14cb2c);if(_0x2e20df){for(var _0x3c5aa1=0x0;_0x3c5aa1<_0x2e20df;_0x3c5aa1+=_0x36faa8)this[_0x13bf13(0x32d)](_0x57f3e1,_0x3c5aa1);_0x4a026a=_0x57f3e1[_0x13bf13(0x195)](0x0,_0x2e20df),_0x3d6e82[_0x13bf13(0x159)]-=_0x4dd7d6;}return new _0x412aef[(_0x13bf13(0xc4))](_0x4a026a,_0x4dd7d6);},'clone':function(){var _0x1f8303=_0x5481ae,_0x16f2df=_0x296595[_0x1f8303(0x2a6)][_0x1f8303(0x290)](this);return _0x16f2df['_data']=this[_0x1f8303(0x378)][_0x1f8303(0x2a6)](),_0x16f2df;},'_minBufferSize':0x0});_0xd35745[_0x5481ae(0x28a)]=_0x4b1381[_0x5481ae(0x132)]({'cfg':_0x296595['extend'](),'init':function(_0x46ba93){var _0x48cf06=_0x5481ae;this['cfg']=this[_0x48cf06(0x333)][_0x48cf06(0x132)](_0x46ba93),this[_0x48cf06(0xd6)]();},'reset':function(){var _0x598a59=_0x5481ae;_0x4b1381['reset'][_0x598a59(0x290)](this),this[_0x598a59(0x109)]();},'update':function(_0x4d2d5d){var _0xa4613c=_0x5481ae;return this['_append'](_0x4d2d5d),this[_0xa4613c(0xc3)](),this;},'finalize':function(_0x2f93c5){var _0x41765a=_0x5481ae;_0x2f93c5&&this[_0x41765a(0x29a)](_0x2f93c5);var _0x47bd1c=this[_0x41765a(0x29b)]();return _0x47bd1c;},'blockSize':0x10,'_createHelper':function(_0x3017e9){return function(_0x4d229b,_0x70e55c){var _0x5d1354=_0x341f;return new _0x3017e9[(_0x5d1354(0xc4))](_0x70e55c)['finalize'](_0x4d229b);};},'_createHmacHelper':function(_0x5d6054){return function(_0x3ce3cd,_0x2ef1f5){var _0x33c67d=_0x341f;return new _0x4ebc8b[(_0x33c67d(0x144))][(_0x33c67d(0xc4))](_0x5d6054,_0x2ef1f5)['finalize'](_0x3ce3cd);};}});var _0x4ebc8b=_0x5a97fa[_0x5481ae(0x223)]={};return _0x5a97fa;}(Math);return _0x3812ec;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x5b64d2(0x32a)],Qt;function wi(){var _0x5793dd=_0x5b64d2;return Qt||(Qt=0x1,function(_0x1ddc53,_0x32b0d4){(function(_0x5301cc,_0x5c72cd){var _0x546369=_0x341f;_0x1ddc53[_0x546369(0x32a)]=_0x5c72cd(ne());}(xr,function(_0x388c29){var _0x5e2870=_0x341f;return(function(){var _0x914373=_0x341f,_0x39e8d5=_0x388c29,_0xc74c0=_0x39e8d5[_0x914373(0x2c2)],_0x2039b3=_0xc74c0[_0x914373(0x2be)],_0x11ad55=_0x39e8d5[_0x914373(0xb0)];_0x11ad55[_0x914373(0xcc)]={'stringify':function(_0x56a72d){var _0x1d7a4d=_0x914373,_0x3ea1d4=_0x56a72d[_0x1d7a4d(0x160)],_0x5e7604=_0x56a72d[_0x1d7a4d(0x159)],_0xf9557c=this[_0x1d7a4d(0x21a)];_0x56a72d[_0x1d7a4d(0x120)]();for(var _0x25d557=[],_0x473520=0x0;_0x473520<_0x5e7604;_0x473520+=0x3)for(var _0x168f66=_0x3ea1d4[_0x473520>>>0x2]>>>0x18-_0x473520%0x4*0x8&0xff,_0x5009e8=_0x3ea1d4[_0x473520+0x1>>>0x2]>>>0x18-(_0x473520+0x1)%0x4*0x8&0xff,_0x21fb4f=_0x3ea1d4[_0x473520+0x2>>>0x2]>>>0x18-(_0x473520+0x2)%0x4*0x8&0xff,_0x24796f=_0x168f66<<0x10|_0x5009e8<<0x8|_0x21fb4f,_0x537939=0x0;_0x537939<0x4&&_0x473520+_0x537939*0.75<_0x5e7604;_0x537939++)_0x25d557[_0x1d7a4d(0x124)](_0xf9557c[_0x1d7a4d(0xe9)](_0x24796f>>>0x6*(0x3-_0x537939)&0x3f));var _0x1bad35=_0xf9557c[_0x1d7a4d(0xe9)](0x40);if(_0x1bad35){for(;_0x25d557['length']%0x4;)_0x25d557[_0x1d7a4d(0x124)](_0x1bad35);}return _0x25d557[_0x1d7a4d(0x121)]('');},'parse':function(_0x167c88){var _0x77e4cf=_0x914373,_0x4e1a58=_0x167c88[_0x77e4cf(0x1a1)],_0xf36f4d=this[_0x77e4cf(0x21a)],_0x3d3813=this[_0x77e4cf(0x38d)];if(!_0x3d3813){_0x3d3813=this['_reverseMap']=[];for(var _0x159135=0x0;_0x159135<_0xf36f4d['length'];_0x159135++)_0x3d3813[_0xf36f4d[_0x77e4cf(0xe7)](_0x159135)]=_0x159135;}var _0x3fc8e6=_0xf36f4d[_0x77e4cf(0xe9)](0x40);if(_0x3fc8e6){var _0x4b0e7a=_0x167c88[_0x77e4cf(0x370)](_0x3fc8e6);_0x4b0e7a!==-0x1&&(_0x4e1a58=_0x4b0e7a);}return _0x240e48(_0x167c88,_0x4e1a58,_0x3d3813);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x240e48(_0x1307b8,_0xe186f9,_0x1ed784){var _0x4fb754=_0x914373;for(var _0x4bfdf2=[],_0x36c176=0x0,_0x31d3a6=0x0;_0x31d3a6<_0xe186f9;_0x31d3a6++)if(_0x31d3a6%0x4){var _0x1cffd9=_0x1ed784[_0x1307b8[_0x4fb754(0xe7)](_0x31d3a6-0x1)]<<_0x31d3a6%0x4*0x2,_0x8c4864=_0x1ed784[_0x1307b8['charCodeAt'](_0x31d3a6)]>>>0x6-_0x31d3a6%0x4*0x2,_0x2af2a7=_0x1cffd9|_0x8c4864;_0x4bfdf2[_0x36c176>>>0x2]|=_0x2af2a7<<0x18-_0x36c176%0x4*0x8,_0x36c176++;}return _0x2039b3[_0x4fb754(0x14c)](_0x4bfdf2,_0x36c176);}}()),_0x388c29[_0x5e2870(0xb0)]['Base64'];}));}(We)),We[_0x5793dd(0x32a)];}var Ke={'exports':{}},Lr=Ke[_0x5b64d2(0x32a)],ei;function Mr(){var _0x4125b9=_0x5b64d2;return ei||(ei=0x1,function(_0x1c4f36,_0x239c96){(function(_0x9b99fa,_0x3afe88){var _0x2d5d6d=_0x341f;_0x1c4f36[_0x2d5d6d(0x32a)]=_0x3afe88(ne());}(Lr,function(_0x33fd7f){return function(_0x479501){var _0x6de021=_0x341f,_0x35eaf1=_0x33fd7f,_0x1f6be9=_0x35eaf1[_0x6de021(0x2c2)],_0xf98b07=_0x1f6be9[_0x6de021(0x2be)],_0x20f1fd=_0x1f6be9[_0x6de021(0x28a)],_0x23600e=_0x35eaf1[_0x6de021(0x223)],_0x4b9f49=[];(function(){var _0x21f012=_0x6de021;for(var _0x339c73=0x0;_0x339c73<0x40;_0x339c73++)_0x4b9f49[_0x339c73]=_0x479501[_0x21f012(0x2a3)](_0x479501[_0x21f012(0x30d)](_0x339c73+0x1))*0x100000000|0x0;}());var _0x2d3a4c=_0x23600e[_0x6de021(0x284)]=_0x20f1fd[_0x6de021(0x132)]({'_doReset':function(){var _0x28caf3=_0x6de021;this[_0x28caf3(0x100)]=new _0xf98b07[(_0x28caf3(0xc4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a5487,_0x5c2b95){var _0xf10252=_0x6de021;for(var _0x29b6dd=0x0;_0x29b6dd<0x10;_0x29b6dd++){var _0x4d2b9e=_0x5c2b95+_0x29b6dd,_0xb59db9=_0x2a5487[_0x4d2b9e];_0x2a5487[_0x4d2b9e]=(_0xb59db9<<0x8|_0xb59db9>>>0x18)&0xff00ff|(_0xb59db9<<0x18|_0xb59db9>>>0x8)&0xff00ff00;}var _0x2e68c9=this[_0xf10252(0x100)][_0xf10252(0x160)],_0x115f41=_0x2a5487[_0x5c2b95+0x0],_0x2ee56a=_0x2a5487[_0x5c2b95+0x1],_0x5595c0=_0x2a5487[_0x5c2b95+0x2],_0x5f0e9f=_0x2a5487[_0x5c2b95+0x3],_0x4f850a=_0x2a5487[_0x5c2b95+0x4],_0x1ec1f0=_0x2a5487[_0x5c2b95+0x5],_0x2a4671=_0x2a5487[_0x5c2b95+0x6],_0xb3e3ea=_0x2a5487[_0x5c2b95+0x7],_0xb48f3a=_0x2a5487[_0x5c2b95+0x8],_0x29079d=_0x2a5487[_0x5c2b95+0x9],_0x19839f=_0x2a5487[_0x5c2b95+0xa],_0x67b2a3=_0x2a5487[_0x5c2b95+0xb],_0x160eef=_0x2a5487[_0x5c2b95+0xc],_0x5e4872=_0x2a5487[_0x5c2b95+0xd],_0x283a3d=_0x2a5487[_0x5c2b95+0xe],_0xd4c074=_0x2a5487[_0x5c2b95+0xf],_0x1e85c7=_0x2e68c9[0x0],_0x1477ea=_0x2e68c9[0x1],_0x4252bd=_0x2e68c9[0x2],_0x45addf=_0x2e68c9[0x3];_0x1e85c7=_0x3b8a7e(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x115f41,0x7,_0x4b9f49[0x0]),_0x45addf=_0x3b8a7e(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x2ee56a,0xc,_0x4b9f49[0x1]),_0x4252bd=_0x3b8a7e(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x5595c0,0x11,_0x4b9f49[0x2]),_0x1477ea=_0x3b8a7e(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x5f0e9f,0x16,_0x4b9f49[0x3]),_0x1e85c7=_0x3b8a7e(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x4f850a,0x7,_0x4b9f49[0x4]),_0x45addf=_0x3b8a7e(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x1ec1f0,0xc,_0x4b9f49[0x5]),_0x4252bd=_0x3b8a7e(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x2a4671,0x11,_0x4b9f49[0x6]),_0x1477ea=_0x3b8a7e(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0xb3e3ea,0x16,_0x4b9f49[0x7]),_0x1e85c7=_0x3b8a7e(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0xb48f3a,0x7,_0x4b9f49[0x8]),_0x45addf=_0x3b8a7e(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x29079d,0xc,_0x4b9f49[0x9]),_0x4252bd=_0x3b8a7e(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x19839f,0x11,_0x4b9f49[0xa]),_0x1477ea=_0x3b8a7e(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x67b2a3,0x16,_0x4b9f49[0xb]),_0x1e85c7=_0x3b8a7e(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x160eef,0x7,_0x4b9f49[0xc]),_0x45addf=_0x3b8a7e(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x5e4872,0xc,_0x4b9f49[0xd]),_0x4252bd=_0x3b8a7e(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x283a3d,0x11,_0x4b9f49[0xe]),_0x1477ea=_0x3b8a7e(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0xd4c074,0x16,_0x4b9f49[0xf]),_0x1e85c7=_0x1c3010(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x2ee56a,0x5,_0x4b9f49[0x10]),_0x45addf=_0x1c3010(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x2a4671,0x9,_0x4b9f49[0x11]),_0x4252bd=_0x1c3010(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x67b2a3,0xe,_0x4b9f49[0x12]),_0x1477ea=_0x1c3010(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x115f41,0x14,_0x4b9f49[0x13]),_0x1e85c7=_0x1c3010(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x1ec1f0,0x5,_0x4b9f49[0x14]),_0x45addf=_0x1c3010(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x19839f,0x9,_0x4b9f49[0x15]),_0x4252bd=_0x1c3010(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0xd4c074,0xe,_0x4b9f49[0x16]),_0x1477ea=_0x1c3010(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x4f850a,0x14,_0x4b9f49[0x17]),_0x1e85c7=_0x1c3010(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x29079d,0x5,_0x4b9f49[0x18]),_0x45addf=_0x1c3010(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x283a3d,0x9,_0x4b9f49[0x19]),_0x4252bd=_0x1c3010(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x5f0e9f,0xe,_0x4b9f49[0x1a]),_0x1477ea=_0x1c3010(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0xb48f3a,0x14,_0x4b9f49[0x1b]),_0x1e85c7=_0x1c3010(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x5e4872,0x5,_0x4b9f49[0x1c]),_0x45addf=_0x1c3010(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x5595c0,0x9,_0x4b9f49[0x1d]),_0x4252bd=_0x1c3010(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0xb3e3ea,0xe,_0x4b9f49[0x1e]),_0x1477ea=_0x1c3010(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x160eef,0x14,_0x4b9f49[0x1f]),_0x1e85c7=_0x5a2a96(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x1ec1f0,0x4,_0x4b9f49[0x20]),_0x45addf=_0x5a2a96(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0xb48f3a,0xb,_0x4b9f49[0x21]),_0x4252bd=_0x5a2a96(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x67b2a3,0x10,_0x4b9f49[0x22]),_0x1477ea=_0x5a2a96(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x283a3d,0x17,_0x4b9f49[0x23]),_0x1e85c7=_0x5a2a96(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x2ee56a,0x4,_0x4b9f49[0x24]),_0x45addf=_0x5a2a96(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x4f850a,0xb,_0x4b9f49[0x25]),_0x4252bd=_0x5a2a96(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0xb3e3ea,0x10,_0x4b9f49[0x26]),_0x1477ea=_0x5a2a96(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x19839f,0x17,_0x4b9f49[0x27]),_0x1e85c7=_0x5a2a96(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x5e4872,0x4,_0x4b9f49[0x28]),_0x45addf=_0x5a2a96(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x115f41,0xb,_0x4b9f49[0x29]),_0x4252bd=_0x5a2a96(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x5f0e9f,0x10,_0x4b9f49[0x2a]),_0x1477ea=_0x5a2a96(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x2a4671,0x17,_0x4b9f49[0x2b]),_0x1e85c7=_0x5a2a96(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x29079d,0x4,_0x4b9f49[0x2c]),_0x45addf=_0x5a2a96(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x160eef,0xb,_0x4b9f49[0x2d]),_0x4252bd=_0x5a2a96(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0xd4c074,0x10,_0x4b9f49[0x2e]),_0x1477ea=_0x5a2a96(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x5595c0,0x17,_0x4b9f49[0x2f]),_0x1e85c7=_0x2f7a52(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x115f41,0x6,_0x4b9f49[0x30]),_0x45addf=_0x2f7a52(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0xb3e3ea,0xa,_0x4b9f49[0x31]),_0x4252bd=_0x2f7a52(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x283a3d,0xf,_0x4b9f49[0x32]),_0x1477ea=_0x2f7a52(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x1ec1f0,0x15,_0x4b9f49[0x33]),_0x1e85c7=_0x2f7a52(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x160eef,0x6,_0x4b9f49[0x34]),_0x45addf=_0x2f7a52(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x5f0e9f,0xa,_0x4b9f49[0x35]),_0x4252bd=_0x2f7a52(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x19839f,0xf,_0x4b9f49[0x36]),_0x1477ea=_0x2f7a52(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x2ee56a,0x15,_0x4b9f49[0x37]),_0x1e85c7=_0x2f7a52(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0xb48f3a,0x6,_0x4b9f49[0x38]),_0x45addf=_0x2f7a52(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0xd4c074,0xa,_0x4b9f49[0x39]),_0x4252bd=_0x2f7a52(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x2a4671,0xf,_0x4b9f49[0x3a]),_0x1477ea=_0x2f7a52(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x5e4872,0x15,_0x4b9f49[0x3b]),_0x1e85c7=_0x2f7a52(_0x1e85c7,_0x1477ea,_0x4252bd,_0x45addf,_0x4f850a,0x6,_0x4b9f49[0x3c]),_0x45addf=_0x2f7a52(_0x45addf,_0x1e85c7,_0x1477ea,_0x4252bd,_0x67b2a3,0xa,_0x4b9f49[0x3d]),_0x4252bd=_0x2f7a52(_0x4252bd,_0x45addf,_0x1e85c7,_0x1477ea,_0x5595c0,0xf,_0x4b9f49[0x3e]),_0x1477ea=_0x2f7a52(_0x1477ea,_0x4252bd,_0x45addf,_0x1e85c7,_0x29079d,0x15,_0x4b9f49[0x3f]),_0x2e68c9[0x0]=_0x2e68c9[0x0]+_0x1e85c7|0x0,_0x2e68c9[0x1]=_0x2e68c9[0x1]+_0x1477ea|0x0,_0x2e68c9[0x2]=_0x2e68c9[0x2]+_0x4252bd|0x0,_0x2e68c9[0x3]=_0x2e68c9[0x3]+_0x45addf|0x0;},'_doFinalize':function(){var _0xfaee77=_0x6de021,_0x3384e5=this['_data'],_0x44a6d0=_0x3384e5[_0xfaee77(0x160)],_0x40a1e5=this[_0xfaee77(0x16a)]*0x8,_0x544dae=_0x3384e5[_0xfaee77(0x159)]*0x8;_0x44a6d0[_0x544dae>>>0x5]|=0x80<<0x18-_0x544dae%0x20;var _0x17d080=_0x479501[_0xfaee77(0x15b)](_0x40a1e5/0x100000000),_0x60caa3=_0x40a1e5;_0x44a6d0[(_0x544dae+0x40>>>0x9<<0x4)+0xf]=(_0x17d080<<0x8|_0x17d080>>>0x18)&0xff00ff|(_0x17d080<<0x18|_0x17d080>>>0x8)&0xff00ff00,_0x44a6d0[(_0x544dae+0x40>>>0x9<<0x4)+0xe]=(_0x60caa3<<0x8|_0x60caa3>>>0x18)&0xff00ff|(_0x60caa3<<0x18|_0x60caa3>>>0x8)&0xff00ff00,_0x3384e5[_0xfaee77(0x159)]=(_0x44a6d0[_0xfaee77(0x1a1)]+0x1)*0x4,this['_process']();for(var _0x4ba3c3=this[_0xfaee77(0x100)],_0x262172=_0x4ba3c3[_0xfaee77(0x160)],_0xef2519=0x0;_0xef2519<0x4;_0xef2519++){var _0xf1662=_0x262172[_0xef2519];_0x262172[_0xef2519]=(_0xf1662<<0x8|_0xf1662>>>0x18)&0xff00ff|(_0xf1662<<0x18|_0xf1662>>>0x8)&0xff00ff00;}return _0x4ba3c3;},'clone':function(){var _0x1306c0=_0x6de021,_0x208590=_0x20f1fd[_0x1306c0(0x2a6)][_0x1306c0(0x290)](this);return _0x208590[_0x1306c0(0x100)]=this[_0x1306c0(0x100)][_0x1306c0(0x2a6)](),_0x208590;}});function _0x3b8a7e(_0x4ce0e4,_0x3f4559,_0x54fdcd,_0x3c3bdf,_0x3e02d6,_0x324854,_0x421406){var _0x1f4f1c=_0x4ce0e4+(_0x3f4559&_0x54fdcd|~_0x3f4559&_0x3c3bdf)+_0x3e02d6+_0x421406;return(_0x1f4f1c<<_0x324854|_0x1f4f1c>>>0x20-_0x324854)+_0x3f4559;}function _0x1c3010(_0x3b651c,_0x1d9c1d,_0x1f603b,_0x1cfe2e,_0x2734c8,_0x1bb616,_0x14643f){var _0x24df5f=_0x3b651c+(_0x1d9c1d&_0x1cfe2e|_0x1f603b&~_0x1cfe2e)+_0x2734c8+_0x14643f;return(_0x24df5f<<_0x1bb616|_0x24df5f>>>0x20-_0x1bb616)+_0x1d9c1d;}function _0x5a2a96(_0x3bdd20,_0x1c95ee,_0x2aa869,_0x41c94c,_0x4f8c8f,_0x151a2d,_0x9bb1e4){var _0x1c517f=_0x3bdd20+(_0x1c95ee^_0x2aa869^_0x41c94c)+_0x4f8c8f+_0x9bb1e4;return(_0x1c517f<<_0x151a2d|_0x1c517f>>>0x20-_0x151a2d)+_0x1c95ee;}function _0x2f7a52(_0x31543c,_0x3d34ff,_0x541e23,_0x48cd22,_0x520746,_0x13de33,_0x23bbcc){var _0x46b592=_0x31543c+(_0x541e23^(_0x3d34ff|~_0x48cd22))+_0x520746+_0x23bbcc;return(_0x46b592<<_0x13de33|_0x46b592>>>0x20-_0x13de33)+_0x3d34ff;}_0x35eaf1['MD5']=_0x20f1fd[_0x6de021(0x91)](_0x2d3a4c),_0x35eaf1[_0x6de021(0x1a5)]=_0x20f1fd['_createHmacHelper'](_0x2d3a4c);}(Math),_0x33fd7f['MD5'];}));}(Ke)),Ke[_0x4125b9(0x32a)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x5b64d2(0x32a)],ti;function Hr(){var _0x4f61b7=_0x5b64d2;return ti||(ti=0x1,function(_0x3d0248,_0x52ed23){(function(_0x2a2a85,_0x26cd68){var _0x180352=_0x341f;_0x3d0248[_0x180352(0x32a)]=_0x26cd68(ne());}($r,function(_0x405169){var _0x352e68=_0x341f;return(function(){var _0x436020=_0x341f,_0x51f3c6=_0x405169,_0x31bf6b=_0x51f3c6[_0x436020(0x2c2)],_0xea3f9b=_0x31bf6b[_0x436020(0x2be)],_0x46a3c8=_0x31bf6b[_0x436020(0x28a)],_0x1915da=_0x51f3c6['algo'],_0x391fed=[],_0x46d791=_0x1915da['SHA1']=_0x46a3c8[_0x436020(0x132)]({'_doReset':function(){var _0x3d1f9f=_0x436020;this[_0x3d1f9f(0x100)]=new _0xea3f9b[(_0x3d1f9f(0xc4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2b2664,_0x142f05){var _0xf2763f=_0x436020;for(var _0xa63892=this[_0xf2763f(0x100)][_0xf2763f(0x160)],_0x3f50f1=_0xa63892[0x0],_0x867f2b=_0xa63892[0x1],_0x416e93=_0xa63892[0x2],_0x5b060b=_0xa63892[0x3],_0x289dc9=_0xa63892[0x4],_0x499a4a=0x0;_0x499a4a<0x50;_0x499a4a++){if(_0x499a4a<0x10)_0x391fed[_0x499a4a]=_0x2b2664[_0x142f05+_0x499a4a]|0x0;else{var _0xb72e26=_0x391fed[_0x499a4a-0x3]^_0x391fed[_0x499a4a-0x8]^_0x391fed[_0x499a4a-0xe]^_0x391fed[_0x499a4a-0x10];_0x391fed[_0x499a4a]=_0xb72e26<<0x1|_0xb72e26>>>0x1f;}var _0x4131fc=(_0x3f50f1<<0x5|_0x3f50f1>>>0x1b)+_0x289dc9+_0x391fed[_0x499a4a];_0x499a4a<0x14?_0x4131fc+=(_0x867f2b&_0x416e93|~_0x867f2b&_0x5b060b)+0x5a827999:_0x499a4a<0x28?_0x4131fc+=(_0x867f2b^_0x416e93^_0x5b060b)+0x6ed9eba1:_0x499a4a<0x3c?_0x4131fc+=(_0x867f2b&_0x416e93|_0x867f2b&_0x5b060b|_0x416e93&_0x5b060b)-0x70e44324:_0x4131fc+=(_0x867f2b^_0x416e93^_0x5b060b)-0x359d3e2a,_0x289dc9=_0x5b060b,_0x5b060b=_0x416e93,_0x416e93=_0x867f2b<<0x1e|_0x867f2b>>>0x2,_0x867f2b=_0x3f50f1,_0x3f50f1=_0x4131fc;}_0xa63892[0x0]=_0xa63892[0x0]+_0x3f50f1|0x0,_0xa63892[0x1]=_0xa63892[0x1]+_0x867f2b|0x0,_0xa63892[0x2]=_0xa63892[0x2]+_0x416e93|0x0,_0xa63892[0x3]=_0xa63892[0x3]+_0x5b060b|0x0,_0xa63892[0x4]=_0xa63892[0x4]+_0x289dc9|0x0;},'_doFinalize':function(){var _0x1bef93=_0x436020,_0x47c583=this[_0x1bef93(0x378)],_0x3001f8=_0x47c583[_0x1bef93(0x160)],_0x3c301e=this[_0x1bef93(0x16a)]*0x8,_0x5109af=_0x47c583['sigBytes']*0x8;return _0x3001f8[_0x5109af>>>0x5]|=0x80<<0x18-_0x5109af%0x20,_0x3001f8[(_0x5109af+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bef93(0x15b)](_0x3c301e/0x100000000),_0x3001f8[(_0x5109af+0x40>>>0x9<<0x4)+0xf]=_0x3c301e,_0x47c583[_0x1bef93(0x159)]=_0x3001f8[_0x1bef93(0x1a1)]*0x4,this[_0x1bef93(0xc3)](),this[_0x1bef93(0x100)];},'clone':function(){var _0x261ea5=_0x436020,_0x2e9420=_0x46a3c8[_0x261ea5(0x2a6)][_0x261ea5(0x290)](this);return _0x2e9420[_0x261ea5(0x100)]=this[_0x261ea5(0x100)][_0x261ea5(0x2a6)](),_0x2e9420;}});_0x51f3c6[_0x436020(0x15d)]=_0x46a3c8[_0x436020(0x91)](_0x46d791),_0x51f3c6[_0x436020(0x289)]=_0x46a3c8['_createHmacHelper'](_0x46d791);}()),_0x405169[_0x352e68(0x15d)];}));}(qe)),qe[_0x4f61b7(0x32a)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x327dd3=_0x5b64d2;return ii||(ii=0x1,function(_0x46bff4,_0x49c1b8){(function(_0x1ecce9,_0x4a6676){var _0x213674=_0x341f;_0x46bff4[_0x213674(0x32a)]=_0x4a6676(ne());}(kr,function(_0x55f98a){(function(){var _0x2658ca=_0x341f,_0x27292a=_0x55f98a,_0x490fab=_0x27292a['lib'],_0x44f587=_0x490fab[_0x2658ca(0x37f)],_0xd5f436=_0x27292a[_0x2658ca(0xb0)],_0x1a5e6c=_0xd5f436[_0x2658ca(0x17d)],_0x4d5269=_0x27292a[_0x2658ca(0x223)];_0x4d5269[_0x2658ca(0x144)]=_0x44f587[_0x2658ca(0x132)]({'init':function(_0x1b21da,_0x341697){var _0x4061de=_0x2658ca;_0x1b21da=this[_0x4061de(0x13c)]=new _0x1b21da['init'](),typeof _0x341697=='string'&&(_0x341697=_0x1a5e6c['parse'](_0x341697));var _0x27f85e=_0x1b21da[_0x4061de(0x2fa)],_0x36f309=_0x27f85e*0x4;_0x341697[_0x4061de(0x159)]>_0x36f309&&(_0x341697=_0x1b21da[_0x4061de(0x2fe)](_0x341697)),_0x341697['clamp']();for(var _0x2aec45=this[_0x4061de(0x365)]=_0x341697['clone'](),_0x1f4b3c=this[_0x4061de(0x2e1)]=_0x341697[_0x4061de(0x2a6)](),_0x48acac=_0x2aec45['words'],_0x49d3a3=_0x1f4b3c[_0x4061de(0x160)],_0x2e52cf=0x0;_0x2e52cf<_0x27f85e;_0x2e52cf++)_0x48acac[_0x2e52cf]^=0x5c5c5c5c,_0x49d3a3[_0x2e52cf]^=0x36363636;_0x2aec45[_0x4061de(0x159)]=_0x1f4b3c['sigBytes']=_0x36f309,this[_0x4061de(0xd6)]();},'reset':function(){var _0x58a3a8=_0x2658ca,_0x5caa96=this[_0x58a3a8(0x13c)];_0x5caa96[_0x58a3a8(0xd6)](),_0x5caa96['update'](this['_iKey']);},'update':function(_0x39cc40){var _0x4570db=_0x2658ca;return this['_hasher'][_0x4570db(0x29f)](_0x39cc40),this;},'finalize':function(_0x3ef08d){var _0x22064e=_0x2658ca,_0x56c86d=this[_0x22064e(0x13c)],_0x7727ef=_0x56c86d[_0x22064e(0x2fe)](_0x3ef08d);_0x56c86d[_0x22064e(0xd6)]();var _0x5876de=_0x56c86d[_0x22064e(0x2fe)](this[_0x22064e(0x365)][_0x22064e(0x2a6)]()[_0x22064e(0x38c)](_0x7727ef));return _0x5876de;}});}());}));}(ze)),ze[_0x327dd3(0x32a)];}var Br=Ye[_0x5b64d2(0x32a)],ni;function Ui(){var _0x449fca=_0x5b64d2;return ni||(ni=0x1,function(_0x12f2b8,_0x187d69){(function(_0xff9158,_0x21c9ce,_0x4edf50){var _0x54d43d=_0x341f;_0x12f2b8[_0x54d43d(0x32a)]=_0x21c9ce(ne(),Hr(),jr());}(Br,function(_0x262b2e){return(function(){var _0x12dd2b=_0x341f,_0x18b383=_0x262b2e,_0x332de7=_0x18b383[_0x12dd2b(0x2c2)],_0x165f1d=_0x332de7['Base'],_0x295fe1=_0x332de7[_0x12dd2b(0x2be)],_0x1a8058=_0x18b383[_0x12dd2b(0x223)],_0x5c6349=_0x1a8058[_0x12dd2b(0x284)],_0x2ebc08=_0x1a8058[_0x12dd2b(0x265)]=_0x165f1d[_0x12dd2b(0x132)]({'cfg':_0x165f1d[_0x12dd2b(0x132)]({'keySize':0x80/0x20,'hasher':_0x5c6349,'iterations':0x1}),'init':function(_0x9cb184){var _0x4c9a84=_0x12dd2b;this[_0x4c9a84(0x333)]=this[_0x4c9a84(0x333)]['extend'](_0x9cb184);},'compute':function(_0x2cea57,_0x1d0c8b){var _0x38c65f=_0x12dd2b;for(var _0x2362a2,_0x2a7e9f=this[_0x38c65f(0x333)],_0x1d78f2=_0x2a7e9f[_0x38c65f(0x1d6)][_0x38c65f(0x14c)](),_0x3b2019=_0x295fe1[_0x38c65f(0x14c)](),_0x3fcca7=_0x3b2019[_0x38c65f(0x160)],_0x138815=_0x2a7e9f['keySize'],_0x4483d2=_0x2a7e9f[_0x38c65f(0xb6)];_0x3fcca7[_0x38c65f(0x1a1)]<_0x138815;){_0x2362a2&&_0x1d78f2[_0x38c65f(0x29f)](_0x2362a2),_0x2362a2=_0x1d78f2['update'](_0x2cea57)['finalize'](_0x1d0c8b),_0x1d78f2[_0x38c65f(0xd6)]();for(var _0x10101b=0x1;_0x10101b<_0x4483d2;_0x10101b++)_0x2362a2=_0x1d78f2['finalize'](_0x2362a2),_0x1d78f2[_0x38c65f(0xd6)]();_0x3b2019['concat'](_0x2362a2);}return _0x3b2019[_0x38c65f(0x159)]=_0x138815*0x4,_0x3b2019;}});_0x18b383[_0x12dd2b(0x265)]=function(_0x5b0f3a,_0x5aa873,_0x1852fa){var _0x476d8d=_0x12dd2b;return _0x2ebc08[_0x476d8d(0x14c)](_0x1852fa)[_0x476d8d(0xb5)](_0x5b0f3a,_0x5aa873);};}()),_0x262b2e['EvpKDF'];}));}(Ye)),Ye[_0x449fca(0x32a)];}var Je={'exports':{}},Fr=Je[_0x5b64d2(0x32a)],ri;function _0x341f(_0x1ad2a8,_0x178eb3){var _0x12812d=_0x1281();return _0x341f=function(_0x341fcd,_0x12b4ea){_0x341fcd=_0x341fcd-0x91;var _0x579112=_0x12812d[_0x341fcd];return _0x579112;},_0x341f(_0x1ad2a8,_0x178eb3);}function Ai(){var _0x2d59a5=_0x5b64d2;return ri||(ri=0x1,function(_0x2faa0c,_0x594dd3){(function(_0x1b9642,_0x921478,_0x5504ce){var _0x248904=_0x341f;_0x2faa0c[_0x248904(0x32a)]=_0x921478(ne(),Ui());}(Fr,function(_0x517993){var _0x42e6c5=_0x341f;_0x517993[_0x42e6c5(0x2c2)][_0x42e6c5(0x18c)]||function(_0x56f9b4){var _0x1e56cc=_0x42e6c5,_0x22774a=_0x517993,_0x1b0a56=_0x22774a[_0x1e56cc(0x2c2)],_0x115b3a=_0x1b0a56[_0x1e56cc(0x37f)],_0x51fc65=_0x1b0a56['WordArray'],_0x5cec56=_0x1b0a56[_0x1e56cc(0x383)],_0x2f3816=_0x22774a['enc'];_0x2f3816['Utf8'];var _0x72506e=_0x2f3816[_0x1e56cc(0xcc)],_0x3a45d7=_0x22774a[_0x1e56cc(0x223)],_0x542781=_0x3a45d7[_0x1e56cc(0x265)],_0x2692cf=_0x1b0a56[_0x1e56cc(0x18c)]=_0x5cec56[_0x1e56cc(0x132)]({'cfg':_0x115b3a[_0x1e56cc(0x132)](),'createEncryptor':function(_0x509dda,_0x2b9164){var _0x816a0=_0x1e56cc;return this['create'](this[_0x816a0(0x36d)],_0x509dda,_0x2b9164);},'createDecryptor':function(_0x129d5a,_0x2e440c){var _0x13e10d=_0x1e56cc;return this[_0x13e10d(0x14c)](this['_DEC_XFORM_MODE'],_0x129d5a,_0x2e440c);},'init':function(_0x2d6e3a,_0x10294d,_0x1c4695){var _0x1ed8cc=_0x1e56cc;this[_0x1ed8cc(0x333)]=this[_0x1ed8cc(0x333)]['extend'](_0x1c4695),this[_0x1ed8cc(0x291)]=_0x2d6e3a,this[_0x1ed8cc(0x227)]=_0x10294d,this[_0x1ed8cc(0xd6)]();},'reset':function(){var _0xdadfb4=_0x1e56cc;_0x5cec56[_0xdadfb4(0xd6)][_0xdadfb4(0x290)](this),this[_0xdadfb4(0x109)]();},'process':function(_0xf6d6f7){var _0x3af7e7=_0x1e56cc;return this[_0x3af7e7(0x29a)](_0xf6d6f7),this['_process']();},'finalize':function(_0x38c6f7){var _0x4e5df0=_0x1e56cc;_0x38c6f7&&this[_0x4e5df0(0x29a)](_0x38c6f7);var _0x5d32ab=this['_doFinalize']();return _0x5d32ab;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x566d17(_0xb85fa2){var _0x1857c7=_0x341f;return typeof _0xb85fa2==_0x1857c7(0x10f)?_0x2c4eae:_0x53ca23;}return function(_0x3c950f){return{'encrypt':function(_0x561db5,_0x18ba0b,_0x20a0e4){var _0x53277c=_0x341f;return _0x566d17(_0x18ba0b)[_0x53277c(0x33b)](_0x3c950f,_0x561db5,_0x18ba0b,_0x20a0e4);},'decrypt':function(_0x4c2568,_0x4748fa,_0x22b044){return _0x566d17(_0x4748fa)['decrypt'](_0x3c950f,_0x4c2568,_0x4748fa,_0x22b044);}};};}())});_0x1b0a56[_0x1e56cc(0xfc)]=_0x2692cf['extend']({'_doFinalize':function(){var _0x56e3a0=this['_process'](!0x0);return _0x56e3a0;},'blockSize':0x1});var _0x29482b=_0x22774a[_0x1e56cc(0x299)]={},_0x3c0170=_0x1b0a56[_0x1e56cc(0x25b)]=_0x115b3a[_0x1e56cc(0x132)]({'createEncryptor':function(_0x400f6c,_0x483d04){var _0x2a6f21=_0x1e56cc;return this[_0x2a6f21(0x1e7)][_0x2a6f21(0x14c)](_0x400f6c,_0x483d04);},'createDecryptor':function(_0x43d045,_0x2a69a4){var _0x2910bb=_0x1e56cc;return this[_0x2910bb(0x369)][_0x2910bb(0x14c)](_0x43d045,_0x2a69a4);},'init':function(_0x37f70e,_0x14e4ab){var _0x5c05d4=_0x1e56cc;this[_0x5c05d4(0x300)]=_0x37f70e,this[_0x5c05d4(0x2ae)]=_0x14e4ab;}}),_0x57acc6=_0x29482b[_0x1e56cc(0x12b)]=(function(){var _0x1287fe=_0x1e56cc,_0x48cab0=_0x3c0170[_0x1287fe(0x132)]();_0x48cab0[_0x1287fe(0x1e7)]=_0x48cab0['extend']({'processBlock':function(_0xc660fc,_0x5a6561){var _0x39ede4=_0x1287fe,_0x5d2dc8=this[_0x39ede4(0x300)],_0x25e366=_0x5d2dc8[_0x39ede4(0x2fa)];_0x4c401b[_0x39ede4(0x290)](this,_0xc660fc,_0x5a6561,_0x25e366),_0x5d2dc8[_0x39ede4(0x260)](_0xc660fc,_0x5a6561),this[_0x39ede4(0x19b)]=_0xc660fc[_0x39ede4(0x234)](_0x5a6561,_0x5a6561+_0x25e366);}}),_0x48cab0[_0x1287fe(0x369)]=_0x48cab0['extend']({'processBlock':function(_0x5b5dc0,_0x440f0b){var _0x5aa0da=_0x1287fe,_0x5b3b85=this[_0x5aa0da(0x300)],_0x40ea59=_0x5b3b85[_0x5aa0da(0x2fa)],_0x219def=_0x5b5dc0[_0x5aa0da(0x234)](_0x440f0b,_0x440f0b+_0x40ea59);_0x5b3b85[_0x5aa0da(0xb4)](_0x5b5dc0,_0x440f0b),_0x4c401b[_0x5aa0da(0x290)](this,_0x5b5dc0,_0x440f0b,_0x40ea59),this['_prevBlock']=_0x219def;}});function _0x4c401b(_0x4ff883,_0x4f1583,_0x1cb0bb){var _0x5e05b7=_0x1287fe,_0x1e10a7,_0x20fc9e=this[_0x5e05b7(0x2ae)];_0x20fc9e?(_0x1e10a7=_0x20fc9e,this['_iv']=_0x56f9b4):_0x1e10a7=this[_0x5e05b7(0x19b)];for(var _0x342907=0x0;_0x342907<_0x1cb0bb;_0x342907++)_0x4ff883[_0x4f1583+_0x342907]^=_0x1e10a7[_0x342907];}return _0x48cab0;}()),_0x3f536a=_0x22774a[_0x1e56cc(0x34d)]={},_0x381365=_0x3f536a[_0x1e56cc(0x172)]={'pad':function(_0x4d65a3,_0x3b347d){var _0x40cc13=_0x1e56cc;for(var _0x5e35b6=_0x3b347d*0x4,_0xba450c=_0x5e35b6-_0x4d65a3[_0x40cc13(0x159)]%_0x5e35b6,_0x3f3516=_0xba450c<<0x18|_0xba450c<<0x10|_0xba450c<<0x8|_0xba450c,_0x18a24b=[],_0x225f6c=0x0;_0x225f6c<_0xba450c;_0x225f6c+=0x4)_0x18a24b['push'](_0x3f3516);var _0x48de89=_0x51fc65[_0x40cc13(0x14c)](_0x18a24b,_0xba450c);_0x4d65a3['concat'](_0x48de89);},'unpad':function(_0x5c18d3){var _0x32307b=_0x1e56cc,_0x5256ec=_0x5c18d3[_0x32307b(0x160)][_0x5c18d3[_0x32307b(0x159)]-0x1>>>0x2]&0xff;_0x5c18d3[_0x32307b(0x159)]-=_0x5256ec;}};_0x1b0a56['BlockCipher']=_0x2692cf[_0x1e56cc(0x132)]({'cfg':_0x2692cf['cfg'][_0x1e56cc(0x132)]({'mode':_0x57acc6,'padding':_0x381365}),'reset':function(){var _0x4f6a13=_0x1e56cc,_0x333d01;_0x2692cf[_0x4f6a13(0xd6)][_0x4f6a13(0x290)](this);var _0xdafbb6=this['cfg'],_0x408423=_0xdafbb6['iv'],_0x257e72=_0xdafbb6[_0x4f6a13(0x299)];this['_xformMode']==this[_0x4f6a13(0x36d)]?_0x333d01=_0x257e72[_0x4f6a13(0x95)]:(_0x333d01=_0x257e72['createDecryptor'],this[_0x4f6a13(0xe4)]=0x1),this[_0x4f6a13(0x1ff)]&&this[_0x4f6a13(0x1ff)][_0x4f6a13(0x9b)]==_0x333d01?this[_0x4f6a13(0x1ff)][_0x4f6a13(0xc4)](this,_0x408423&&_0x408423[_0x4f6a13(0x160)]):(this[_0x4f6a13(0x1ff)]=_0x333d01[_0x4f6a13(0x290)](_0x257e72,this,_0x408423&&_0x408423[_0x4f6a13(0x160)]),this[_0x4f6a13(0x1ff)]['__creator']=_0x333d01);},'_doProcessBlock':function(_0x147989,_0x58aa3a){var _0x5e462f=_0x1e56cc;this[_0x5e462f(0x1ff)][_0x5e462f(0x1c5)](_0x147989,_0x58aa3a);},'_doFinalize':function(){var _0x5f450a=_0x1e56cc,_0x482a2a,_0x17a955=this[_0x5f450a(0x333)][_0x5f450a(0x97)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x17a955[_0x5f450a(0x34d)](this['_data'],this[_0x5f450a(0x2fa)]),_0x482a2a=this[_0x5f450a(0xc3)](!0x0)):(_0x482a2a=this[_0x5f450a(0xc3)](!0x0),_0x17a955['unpad'](_0x482a2a)),_0x482a2a;},'blockSize':0x80/0x20});var _0x59a9f6=_0x1b0a56[_0x1e56cc(0x1f5)]=_0x115b3a['extend']({'init':function(_0x449787){this['mixIn'](_0x449787);},'toString':function(_0x5b2042){var _0x24c77e=_0x1e56cc;return(_0x5b2042||this[_0x24c77e(0x2d7)])[_0x24c77e(0x21f)](this);}}),_0xeb3bab=_0x22774a['format']={},_0x22b26a=_0xeb3bab[_0x1e56cc(0x224)]={'stringify':function(_0x14799c){var _0x50e7d0=_0x1e56cc,_0x2a8f18,_0x34a9d1=_0x14799c[_0x50e7d0(0x16e)],_0x18fedf=_0x14799c[_0x50e7d0(0x246)];return _0x18fedf?_0x2a8f18=_0x51fc65[_0x50e7d0(0x14c)]([0x53616c74,0x65645f5f])['concat'](_0x18fedf)[_0x50e7d0(0x38c)](_0x34a9d1):_0x2a8f18=_0x34a9d1,_0x2a8f18['toString'](_0x72506e);},'parse':function(_0x359411){var _0x30f06b=_0x1e56cc,_0x53b863,_0x212524=_0x72506e[_0x30f06b(0x164)](_0x359411),_0x173a1e=_0x212524['words'];return _0x173a1e[0x0]==0x53616c74&&_0x173a1e[0x1]==0x65645f5f&&(_0x53b863=_0x51fc65[_0x30f06b(0x14c)](_0x173a1e[_0x30f06b(0x234)](0x2,0x4)),_0x173a1e['splice'](0x0,0x4),_0x212524['sigBytes']-=0x10),_0x59a9f6[_0x30f06b(0x14c)]({'ciphertext':_0x212524,'salt':_0x53b863});}},_0x53ca23=_0x1b0a56[_0x1e56cc(0x11e)]=_0x115b3a[_0x1e56cc(0x132)]({'cfg':_0x115b3a['extend']({'format':_0x22b26a}),'encrypt':function(_0x9d423,_0x20f1d2,_0x403b0f,_0x546fb0){var _0x1b6294=_0x1e56cc;_0x546fb0=this[_0x1b6294(0x333)][_0x1b6294(0x132)](_0x546fb0);var _0x56a2a1=_0x9d423[_0x1b6294(0x95)](_0x403b0f,_0x546fb0),_0x15e788=_0x56a2a1[_0x1b6294(0x2fe)](_0x20f1d2),_0x5985c4=_0x56a2a1['cfg'];return _0x59a9f6['create']({'ciphertext':_0x15e788,'key':_0x403b0f,'iv':_0x5985c4['iv'],'algorithm':_0x9d423,'mode':_0x5985c4[_0x1b6294(0x299)],'padding':_0x5985c4['padding'],'blockSize':_0x9d423[_0x1b6294(0x2fa)],'formatter':_0x546fb0[_0x1b6294(0x108)]});},'decrypt':function(_0x29e1ea,_0x445523,_0x5ddbd8,_0xf95826){var _0x50b127=_0x1e56cc;_0xf95826=this[_0x50b127(0x333)][_0x50b127(0x132)](_0xf95826),_0x445523=this[_0x50b127(0x1d5)](_0x445523,_0xf95826[_0x50b127(0x108)]);var _0x50a618=_0x29e1ea[_0x50b127(0x2f0)](_0x5ddbd8,_0xf95826)['finalize'](_0x445523[_0x50b127(0x16e)]);return _0x50a618;},'_parse':function(_0x858d0c,_0x3efb0d){var _0x3854e1=_0x1e56cc;return typeof _0x858d0c==_0x3854e1(0x10f)?_0x3efb0d[_0x3854e1(0x164)](_0x858d0c,this):_0x858d0c;}}),_0x1ca394=_0x22774a[_0x1e56cc(0x1df)]={},_0x3b0423=_0x1ca394[_0x1e56cc(0x224)]={'execute':function(_0x2eeddf,_0x355e97,_0x21061f,_0x5e501d,_0xec82c4){var _0x53254c=_0x1e56cc;if(_0x5e501d||(_0x5e501d=_0x51fc65[_0x53254c(0x28c)](0x40/0x8)),_0xec82c4)var _0xe052ae=_0x542781['create']({'keySize':_0x355e97+_0x21061f,'hasher':_0xec82c4})[_0x53254c(0xb5)](_0x2eeddf,_0x5e501d);else var _0xe052ae=_0x542781['create']({'keySize':_0x355e97+_0x21061f})[_0x53254c(0xb5)](_0x2eeddf,_0x5e501d);var _0x485cec=_0x51fc65[_0x53254c(0x14c)](_0xe052ae[_0x53254c(0x160)][_0x53254c(0x234)](_0x355e97),_0x21061f*0x4);return _0xe052ae[_0x53254c(0x159)]=_0x355e97*0x4,_0x59a9f6[_0x53254c(0x14c)]({'key':_0xe052ae,'iv':_0x485cec,'salt':_0x5e501d});}},_0x2c4eae=_0x1b0a56[_0x1e56cc(0x384)]=_0x53ca23[_0x1e56cc(0x132)]({'cfg':_0x53ca23[_0x1e56cc(0x333)][_0x1e56cc(0x132)]({'kdf':_0x3b0423}),'encrypt':function(_0x19767c,_0x449cb7,_0xa31116,_0x4b57e9){var _0x2cd6bc=_0x1e56cc;_0x4b57e9=this[_0x2cd6bc(0x333)][_0x2cd6bc(0x132)](_0x4b57e9);var _0x4cb4e9=_0x4b57e9['kdf'][_0x2cd6bc(0xc8)](_0xa31116,_0x19767c[_0x2cd6bc(0x10e)],_0x19767c[_0x2cd6bc(0x16d)],_0x4b57e9[_0x2cd6bc(0x246)],_0x4b57e9[_0x2cd6bc(0x1d6)]);_0x4b57e9['iv']=_0x4cb4e9['iv'];var _0x35297b=_0x53ca23[_0x2cd6bc(0x33b)][_0x2cd6bc(0x290)](this,_0x19767c,_0x449cb7,_0x4cb4e9['key'],_0x4b57e9);return _0x35297b[_0x2cd6bc(0x2ea)](_0x4cb4e9),_0x35297b;},'decrypt':function(_0xe700a2,_0x4885cf,_0x1685b9,_0x2f7e87){var _0x54be9c=_0x1e56cc;_0x2f7e87=this[_0x54be9c(0x333)][_0x54be9c(0x132)](_0x2f7e87),_0x4885cf=this[_0x54be9c(0x1d5)](_0x4885cf,_0x2f7e87[_0x54be9c(0x108)]);var _0x324fd3=_0x2f7e87[_0x54be9c(0x1df)][_0x54be9c(0xc8)](_0x1685b9,_0xe700a2[_0x54be9c(0x10e)],_0xe700a2[_0x54be9c(0x16d)],_0x4885cf[_0x54be9c(0x246)],_0x2f7e87[_0x54be9c(0x1d6)]);_0x2f7e87['iv']=_0x324fd3['iv'];var _0xbfa143=_0x53ca23[_0x54be9c(0x329)][_0x54be9c(0x290)](this,_0xe700a2,_0x4885cf,_0x324fd3[_0x54be9c(0x12d)],_0x2f7e87);return _0xbfa143;}});}();}));}(Je)),Je[_0x2d59a5(0x32a)];}var Vr=Ve[_0x5b64d2(0x32a)],si;function Gr(){var _0x45bb6d=_0x5b64d2;return si||(si=0x1,function(_0x3057f4,_0x4c0362){(function(_0x18abfc,_0x2cd287,_0x37dfcb){var _0x24b98d=_0x341f;_0x3057f4[_0x24b98d(0x32a)]=_0x2cd287(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x527ed1){var _0xc23f7e=_0x341f;return(function(){var _0x4a2917=_0x341f,_0x5c680d=_0x527ed1,_0x48e403=_0x5c680d[_0x4a2917(0x2c2)],_0x1ea346=_0x48e403[_0x4a2917(0x139)],_0x434260=_0x5c680d[_0x4a2917(0x223)],_0x56788a=[],_0x1e25ea=[],_0x251cfa=[],_0x448d1d=[],_0x3d5347=[],_0x50f9ef=[],_0x2a1653=[],_0x2bffef=[],_0x3e29a5=[],_0x661043=[];(function(){for(var _0x23062d=[],_0x4b096b=0x0;_0x4b096b<0x100;_0x4b096b++)_0x4b096b<0x80?_0x23062d[_0x4b096b]=_0x4b096b<<0x1:_0x23062d[_0x4b096b]=_0x4b096b<<0x1^0x11b;for(var _0x3ff216=0x0,_0x244259=0x0,_0x4b096b=0x0;_0x4b096b<0x100;_0x4b096b++){var _0x5413ba=_0x244259^_0x244259<<0x1^_0x244259<<0x2^_0x244259<<0x3^_0x244259<<0x4;_0x5413ba=_0x5413ba>>>0x8^_0x5413ba&0xff^0x63,_0x56788a[_0x3ff216]=_0x5413ba,_0x1e25ea[_0x5413ba]=_0x3ff216;var _0x5c4d1a=_0x23062d[_0x3ff216],_0x4863d8=_0x23062d[_0x5c4d1a],_0x53413f=_0x23062d[_0x4863d8],_0x3b10db=_0x23062d[_0x5413ba]*0x101^_0x5413ba*0x1010100;_0x251cfa[_0x3ff216]=_0x3b10db<<0x18|_0x3b10db>>>0x8,_0x448d1d[_0x3ff216]=_0x3b10db<<0x10|_0x3b10db>>>0x10,_0x3d5347[_0x3ff216]=_0x3b10db<<0x8|_0x3b10db>>>0x18,_0x50f9ef[_0x3ff216]=_0x3b10db;var _0x3b10db=_0x53413f*0x1010101^_0x4863d8*0x10001^_0x5c4d1a*0x101^_0x3ff216*0x1010100;_0x2a1653[_0x5413ba]=_0x3b10db<<0x18|_0x3b10db>>>0x8,_0x2bffef[_0x5413ba]=_0x3b10db<<0x10|_0x3b10db>>>0x10,_0x3e29a5[_0x5413ba]=_0x3b10db<<0x8|_0x3b10db>>>0x18,_0x661043[_0x5413ba]=_0x3b10db,_0x3ff216?(_0x3ff216=_0x5c4d1a^_0x23062d[_0x23062d[_0x23062d[_0x53413f^_0x5c4d1a]]],_0x244259^=_0x23062d[_0x23062d[_0x244259]]):_0x3ff216=_0x244259=0x1;}}());var _0x27ba01=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x343fbd=_0x434260[_0x4a2917(0x2aa)]=_0x1ea346['extend']({'_doReset':function(){var _0x51cbf8=_0x4a2917,_0x491388;if(!(this[_0x51cbf8(0x2b4)]&&this['_keyPriorReset']===this[_0x51cbf8(0x227)])){for(var _0x16c8c7=this['_keyPriorReset']=this[_0x51cbf8(0x227)],_0x1783e0=_0x16c8c7[_0x51cbf8(0x160)],_0x5ca2df=_0x16c8c7[_0x51cbf8(0x159)]/0x4,_0x15300f=this[_0x51cbf8(0x2b4)]=_0x5ca2df+0x6,_0x2fa01e=(_0x15300f+0x1)*0x4,_0x5247ce=this[_0x51cbf8(0xce)]=[],_0x4199cb=0x0;_0x4199cb<_0x2fa01e;_0x4199cb++)_0x4199cb<_0x5ca2df?_0x5247ce[_0x4199cb]=_0x1783e0[_0x4199cb]:(_0x491388=_0x5247ce[_0x4199cb-0x1],_0x4199cb%_0x5ca2df?_0x5ca2df>0x6&&_0x4199cb%_0x5ca2df==0x4&&(_0x491388=_0x56788a[_0x491388>>>0x18]<<0x18|_0x56788a[_0x491388>>>0x10&0xff]<<0x10|_0x56788a[_0x491388>>>0x8&0xff]<<0x8|_0x56788a[_0x491388&0xff]):(_0x491388=_0x491388<<0x8|_0x491388>>>0x18,_0x491388=_0x56788a[_0x491388>>>0x18]<<0x18|_0x56788a[_0x491388>>>0x10&0xff]<<0x10|_0x56788a[_0x491388>>>0x8&0xff]<<0x8|_0x56788a[_0x491388&0xff],_0x491388^=_0x27ba01[_0x4199cb/_0x5ca2df|0x0]<<0x18),_0x5247ce[_0x4199cb]=_0x5247ce[_0x4199cb-_0x5ca2df]^_0x491388);for(var _0x4fb940=this[_0x51cbf8(0x17e)]=[],_0x52320d=0x0;_0x52320d<_0x2fa01e;_0x52320d++){var _0x4199cb=_0x2fa01e-_0x52320d;if(_0x52320d%0x4)var _0x491388=_0x5247ce[_0x4199cb];else var _0x491388=_0x5247ce[_0x4199cb-0x4];_0x52320d<0x4||_0x4199cb<=0x4?_0x4fb940[_0x52320d]=_0x491388:_0x4fb940[_0x52320d]=_0x2a1653[_0x56788a[_0x491388>>>0x18]]^_0x2bffef[_0x56788a[_0x491388>>>0x10&0xff]]^_0x3e29a5[_0x56788a[_0x491388>>>0x8&0xff]]^_0x661043[_0x56788a[_0x491388&0xff]];}}},'encryptBlock':function(_0x572168,_0x1d5e19){var _0x230a01=_0x4a2917;this[_0x230a01(0x1fd)](_0x572168,_0x1d5e19,this[_0x230a01(0xce)],_0x251cfa,_0x448d1d,_0x3d5347,_0x50f9ef,_0x56788a);},'decryptBlock':function(_0x2a55d3,_0x4e6b1f){var _0x33ad6b=_0x4a2917,_0xdfdf87=_0x2a55d3[_0x4e6b1f+0x1];_0x2a55d3[_0x4e6b1f+0x1]=_0x2a55d3[_0x4e6b1f+0x3],_0x2a55d3[_0x4e6b1f+0x3]=_0xdfdf87,this['_doCryptBlock'](_0x2a55d3,_0x4e6b1f,this[_0x33ad6b(0x17e)],_0x2a1653,_0x2bffef,_0x3e29a5,_0x661043,_0x1e25ea);var _0xdfdf87=_0x2a55d3[_0x4e6b1f+0x1];_0x2a55d3[_0x4e6b1f+0x1]=_0x2a55d3[_0x4e6b1f+0x3],_0x2a55d3[_0x4e6b1f+0x3]=_0xdfdf87;},'_doCryptBlock':function(_0x4a5312,_0x48650b,_0x43e282,_0x4c60b4,_0x17e685,_0x2c4cf2,_0x150753,_0xef5d96){for(var _0x32385b=this['_nRounds'],_0x43bb0a=_0x4a5312[_0x48650b]^_0x43e282[0x0],_0x2f9808=_0x4a5312[_0x48650b+0x1]^_0x43e282[0x1],_0x6e5786=_0x4a5312[_0x48650b+0x2]^_0x43e282[0x2],_0x3c094c=_0x4a5312[_0x48650b+0x3]^_0x43e282[0x3],_0xb79d23=0x4,_0x4506ed=0x1;_0x4506ed<_0x32385b;_0x4506ed++){var _0x43c7c7=_0x4c60b4[_0x43bb0a>>>0x18]^_0x17e685[_0x2f9808>>>0x10&0xff]^_0x2c4cf2[_0x6e5786>>>0x8&0xff]^_0x150753[_0x3c094c&0xff]^_0x43e282[_0xb79d23++],_0x2d9cd9=_0x4c60b4[_0x2f9808>>>0x18]^_0x17e685[_0x6e5786>>>0x10&0xff]^_0x2c4cf2[_0x3c094c>>>0x8&0xff]^_0x150753[_0x43bb0a&0xff]^_0x43e282[_0xb79d23++],_0x54ec0f=_0x4c60b4[_0x6e5786>>>0x18]^_0x17e685[_0x3c094c>>>0x10&0xff]^_0x2c4cf2[_0x43bb0a>>>0x8&0xff]^_0x150753[_0x2f9808&0xff]^_0x43e282[_0xb79d23++],_0x3e36a1=_0x4c60b4[_0x3c094c>>>0x18]^_0x17e685[_0x43bb0a>>>0x10&0xff]^_0x2c4cf2[_0x2f9808>>>0x8&0xff]^_0x150753[_0x6e5786&0xff]^_0x43e282[_0xb79d23++];_0x43bb0a=_0x43c7c7,_0x2f9808=_0x2d9cd9,_0x6e5786=_0x54ec0f,_0x3c094c=_0x3e36a1;}var _0x43c7c7=(_0xef5d96[_0x43bb0a>>>0x18]<<0x18|_0xef5d96[_0x2f9808>>>0x10&0xff]<<0x10|_0xef5d96[_0x6e5786>>>0x8&0xff]<<0x8|_0xef5d96[_0x3c094c&0xff])^_0x43e282[_0xb79d23++],_0x2d9cd9=(_0xef5d96[_0x2f9808>>>0x18]<<0x18|_0xef5d96[_0x6e5786>>>0x10&0xff]<<0x10|_0xef5d96[_0x3c094c>>>0x8&0xff]<<0x8|_0xef5d96[_0x43bb0a&0xff])^_0x43e282[_0xb79d23++],_0x54ec0f=(_0xef5d96[_0x6e5786>>>0x18]<<0x18|_0xef5d96[_0x3c094c>>>0x10&0xff]<<0x10|_0xef5d96[_0x43bb0a>>>0x8&0xff]<<0x8|_0xef5d96[_0x2f9808&0xff])^_0x43e282[_0xb79d23++],_0x3e36a1=(_0xef5d96[_0x3c094c>>>0x18]<<0x18|_0xef5d96[_0x43bb0a>>>0x10&0xff]<<0x10|_0xef5d96[_0x2f9808>>>0x8&0xff]<<0x8|_0xef5d96[_0x6e5786&0xff])^_0x43e282[_0xb79d23++];_0x4a5312[_0x48650b]=_0x43c7c7,_0x4a5312[_0x48650b+0x1]=_0x2d9cd9,_0x4a5312[_0x48650b+0x2]=_0x54ec0f,_0x4a5312[_0x48650b+0x3]=_0x3e36a1;},'keySize':0x100/0x20});_0x5c680d[_0x4a2917(0x2aa)]=_0x1ea346[_0x4a2917(0x91)](_0x343fbd);}()),_0x527ed1[_0xc23f7e(0x2aa)];}));}(Ve)),Ve[_0x45bb6d(0x32a)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){var _0x2264ec=_0x5b64d2;return ai||(ai=0x1,function(_0x4bbfaf,_0x49d3fb){(function(_0x282ffb,_0x59c8ea){var _0x4da6d5=_0x341f;_0x4bbfaf[_0x4da6d5(0x32a)]=_0x59c8ea(ne());}(qr,function(_0xb14a39){var _0x31a9bd=_0x341f;return _0xb14a39['enc'][_0x31a9bd(0x17d)];}));}(Xe)),Xe[_0x2264ec(0x32a)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x5b64d2(0x32a)],ci;function Qr(){var _0x19a29d=_0x5b64d2;return ci||(ci=0x1,function(_0x24600e,_0x52fad6){(function(_0x4ad642,_0x109003){_0x24600e['exports']=_0x109003(ne());}(Zr,function(_0x5c2690){var _0x5a1fa6=_0x341f;return(function(){var _0x458c23=_0x341f;if(typeof ArrayBuffer==_0x458c23(0x27b)){var _0x1894c4=_0x5c2690,_0x30274e=_0x1894c4[_0x458c23(0x2c2)],_0x1c2eca=_0x30274e['WordArray'],_0x4edf79=_0x1c2eca[_0x458c23(0xc4)],_0x32aec2=_0x1c2eca[_0x458c23(0xc4)]=function(_0x48ca50){var _0x508a0b=_0x458c23;if(_0x48ca50 instanceof ArrayBuffer&&(_0x48ca50=new Uint8Array(_0x48ca50)),(_0x48ca50 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x48ca50 instanceof Uint8ClampedArray||_0x48ca50 instanceof Int16Array||_0x48ca50 instanceof Uint16Array||_0x48ca50 instanceof Int32Array||_0x48ca50 instanceof Uint32Array||_0x48ca50 instanceof Float32Array||_0x48ca50 instanceof Float64Array)&&(_0x48ca50=new Uint8Array(_0x48ca50[_0x508a0b(0x2d0)],_0x48ca50[_0x508a0b(0x129)],_0x48ca50[_0x508a0b(0x2fd)])),_0x48ca50 instanceof Uint8Array){for(var _0x15ea24=_0x48ca50[_0x508a0b(0x2fd)],_0x11eab4=[],_0x28fcf0=0x0;_0x28fcf0<_0x15ea24;_0x28fcf0++)_0x11eab4[_0x28fcf0>>>0x2]|=_0x48ca50[_0x28fcf0]<<0x18-_0x28fcf0%0x4*0x8;_0x4edf79['call'](this,_0x11eab4,_0x15ea24);}else _0x4edf79['apply'](this,arguments);};_0x32aec2[_0x458c23(0x1ea)]=_0x1c2eca;}}()),_0x5c2690[_0x5a1fa6(0x2c2)]['WordArray'];}));}(Ze)),Ze[_0x19a29d(0x32a)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){return hi||(hi=0x1,function(_0x67f310,_0x4d2391){(function(_0x1ee41c,_0x3451f5,_0x329c28){_0x67f310['exports']=_0x3451f5(ne(),Ai());}(is,function(_0xffafd5){var _0x5c307e=_0x341f;return _0xffafd5['pad'][_0x5c307e(0x101)]={'pad':function(){},'unpad':function(){}},_0xffafd5[_0x5c307e(0x34d)][_0x5c307e(0x101)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x489e0b,_0x1c423d){var _0x461ba1=_0x5b64d2;const _0x37062e=_0x1c423d-_0x489e0b[_0x461ba1(0x1a1)]%_0x1c423d,_0x516d35=String['fromCharCode'](_0x37062e)[_0x461ba1(0x2ed)](_0x37062e);return _0x489e0b+_0x516d35;}function as(_0x51156c,_0x40c1fa){var _0x5dcfab=_0x5b64d2;const _0x1e75f2=ts[_0x5dcfab(0x28c)](0x10),_0x18bb37=os(_0x51156c,0x10),_0x575a6a=Kr[_0x5dcfab(0x33b)](Xr[_0x5dcfab(0x164)](_0x18bb37),oi['parse'](_0x40c1fa),{'iv':_0x1e75f2,'padding':ss});return _0x1e75f2[_0x5dcfab(0x38c)](_0x575a6a[_0x5dcfab(0x16e)])[_0x5dcfab(0x1ba)](oi);}function cs(){var _0x4ebfb5=_0x5b64d2;const _0x2a6629=_0x27079f()[_0x4ebfb5(0x241)];if(_0x2a6629){const _0x5e4ed6={'time':Math[_0x4ebfb5(0x15b)](Date['now']()/0x3e8),'domain':location['hostname']};return as(JSON[_0x4ebfb5(0x21f)](_0x5e4ed6),_0x2a6629);}}var hs=Object[_0x5b64d2(0x25a)],_s=Object[_0x5b64d2(0x267)],ls=(_0x393482,_0x3452e8,_0x2d406b,_0x41d7b5)=>{for(var _0x15127a=_0x41d7b5>0x1?void 0x0:_0x41d7b5?_s(_0x3452e8,_0x2d406b):_0x3452e8,_0x5e3739=_0x393482['length']-0x1,_0x6997fa;_0x5e3739>=0x0;_0x5e3739--)(_0x6997fa=_0x393482[_0x5e3739])&&(_0x15127a=(_0x41d7b5?_0x6997fa(_0x3452e8,_0x2d406b,_0x15127a):_0x6997fa(_0x15127a))||_0x15127a);return _0x41d7b5&&_0x15127a&&hs(_0x3452e8,_0x2d406b,_0x15127a),_0x15127a;},us=(_0x52c42e,_0x299df0)=>(_0x182198,_0x37a18d)=>_0x299df0(_0x182198,_0x37a18d,_0x52c42e);function _0x1281(){var _0x2d1092=['unitId\x20is\x20not\x20found','duration','onRemoteChangeset','Encryptor','unit-cache-','csRejEvent','prototype','_waitForHeartbeatResponse','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INGEST','MSG_FOR_ERROR','unsubscribe','_univerInstanceService','[CollaborationSessionService]:\x20socket\x20error','onRemoteRej','onStarting','PY_RUNTIME_SCRIPT_ERROR','CipherParams','refreshPermission','x-univer-host','pipe','SNAPSHOT_HAS_BEEN_REMOVED','_onUserLeave','UNIVER_SLIDE','auth.needGotoLoginAlert','_doCryptBlock','_onRemoteRejected','_mode','_event$','UPDATE_CURSOR','?url=','onMissingChangesets','_createHandler','onTransformRemoteChangesetByIMECache','fetchThroughInterceptors','isPermissionRej','connection\x20error','CONNECTOR_DATA_TOO_LARGE','_commentUpdate$','400ivRlcQ','__esModule','[SyncedState]:\x20received\x20rejection.','headers','addImageSourceCache','getFocusedUnit','emitEvent','_transformStateCache','compose','_handler','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','FETCH_MISSING','_changesetReqId','ERROR_EXCEED_SIZE','getValue','_map','_tryReconnect','COLLAB_WEB_SOCKET_URL','createSocket','_compressMutationService','stringify','OFFLINE','session.room-not-exists','objectType','algo','OpenSSL','_commentService','_retryCount','_key','YUUMI_UNABLE_LOAD_URL','subscribe','_revisionService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','open$','localCacheService','event$','append','_getDownloadEndpointURL','LOGIN_URL_KEY','_telemetryInfo','change$','slice','onMissedChangesetFetched','/universer-api/file/{fileID}/sign-url','_transformRemoteChangesetByIMECache','close','getResourcesRequest','_eventService','_createInitialState','name','/block/','range','IDLE','type','__Key__','/universer-api/uniscript','saveImage','YUUMI_SUBSCRIPTION_NOT_FOUND','message$','salt','post','_injector','_startCollaboration','PERSON','PERMISSION_REJ','onStateChange','_clearTimeoutTimer','APPLY_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','set','_commandService','setConfig','allowed','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','registerHTTPInterceptor','_emitMembers','_clearScheduledTask','ceil','rng','defineProperty','BlockCipherMode','INVALID_ARGUMENT','_scheduleCollaborationTimeoutTimer','HEARTBEAT','socketService','encryptBlock','size','data','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fromCharCode','EvpKDF','_loadSheet','getOwnPropertyDescriptor','readAsDataURL','NEW_CHANGESETS','toggleOnline','updatePermissionObjEvent','FileId','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getLatestCsReqIdBySid','/new_changes','_onJoinRoomEvent','loginUrlKey','_toggleOnline','_undoRedoService','_updateStatus','executeCommand','transformUndoRedo','/allowed','RECV','putCollaborators','_submitChangeset','function','525YvoBpN','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/collaborator','/unit/','_entityInit$','YUUMI_RATE_OVER_LIMIT','LIVESHARE_OPERATION','UNIVER_PROJECT','MD5','Could\x20not\x20dynamically\x20require\x20\x22','_getSessionTicket','getCollabEntity$','transformMutationsWithChangeset','HmacSHA1','Hasher','HttpImport','random','&source=','dispose','enableSingleActiveInstanceLock','call','_xformMode','uploadFileServerUrl','_networkConditionService','src','get','216711bytwYd','UnitEmbedded','roles','mode','_append','_doFinalize','objectActions','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitOnRev','update','createCollaborator','m2Prime','CLOSE_ROOM','abs','_instanceService','{fileID}','clone','DEFAULT_FILE_NAME','getDeserializedSheetBlock','_rescheduleHeartbeat','AES','list','BASE64','AUTHZ_URL_KEY','_iv','debug','COMMENT_UPDATE','4FQocCT','COLLAB_SUBMIT_CHANGESET_URL','/role','_nRounds','_clearRedo','offline','mutations','UPDATE_PERMISSION_OBJ','_collaborationUIEventService','result','_isPermissionRej','_socket$','_handlerCallback','WordArray','&to=','focused$','objectID','lib','_resendTimer','max','_updateState','_roomCreated$','rev','getTypeOfUnitDisposed$','onRemoteAck','ENSURE_SNAPSHOT_EXECUTION','awaitingChangeset','application/json','5OVDlzN','APPLY_PERMISSION_DENIED','$super','buffer','_exhaustRemoteChangesetQueue','/resources','signUrlServerUrl','_applyRemoteChangeset','apply','_unitID','formatter','9807978ThVgVt','Latin1','getUnitId','_listenToNetworkCondition','setWaitCount','status$','_sessionStatus$','withCredentials','forEach','_iKey','_getSendChangesetTimeout','now','_showConflictNotification','onTransformState','image/jpg','_initCloseConn','find','_substituteUndoStack','mixIn','loadUnit','getTypeOfUnitAdded$','repeat','getInterceptPoints','randomUUID','createDecryptor','OTHER_CLIENTS_EDITING','getRoom','/universer-api/comb','_change$','members$','UNRECOGNIZED','SUBMIT_CHANGESET','fromCollab','_initUnitPermissionChange','blockSize','routeKey','updatePermissionPoint','byteLength','finalize','NOT_FOUND','_cipher','getTime','collaboration-client.config','UUID','?size=','sessionStatus$','_telemetryService','FAIL','createInstance','getAllMembers','_resendTimeout','asObservable','ERROR_IMAGE','sin','enableOfflineEditing','HELLO','_snapshotService','wsSessionTicketUrl','file','&assign=','onTransformSelections','_onConnectionFailed','closeSession','LIVESHARE_FETCH_OPERATIONS','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','shouldCloseConn','fetchMissingChangesets','_onMessage','70888BEHves','PERMISSION_DENIED','toggleOffline','People','c2Prime','_tryEnsureSocket','_transformUndoredo','_sheetTransformSelectionsService','_sessions','_userManagerService','_status$','CHANGESET_REVISION_CONFILICT','commentUpdateEvent','decrypt','exports','actions','_awaitingChangeset','_doProcessBlock','UNDEFINED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','members','_getSignURL','_onCombEvent','cfg','getSheetBlock','updateCursorEvent','SUBMIT_CHANGESET_TIMEOUT','\x20to\x20','UNKNOWN_CODE','baseRev','[OfflineState]:\x20received\x20changeset.','encrypt','c1Prime','_incrementRevisionNumber','_retryConnectingTimer','runId','action','setShowComponents','_unitInfo$','_memberService','getUnit','LICENSE_EXPORT_SIZE_EXCEEDED','deleteCollaborator','capture','_socketReady','ticket','JOINING','ALREADY_EXISTS','UNIVER_COLLABORATION_CLIENT_PLUGIN','pad','appendMutation','_lockTransition','_timeoutTimer','APPLY_NON_SEQUENTIAL_REVISION','requireSession','univer-pro.collaboration-client-socket-service','dispose$','_throwTelemetryCollaborationNewChangeset','_members','onload','image/bmp','_schedule','getConfig','/fetchmissing?from=','unitID','image/jpeg','_replaceFileID','session.room-full','fetching\x20missing\x20changesets\x20from\x20','stopTime','Univer','_decreaseWaiting','override','_oKey','CHANGESET_REJ','getCurrentRevOfUnit','loadOfflineData','Decryptor','snapshot','CHANGESET_SHOULD_RETRY','_http','_ENC_XFORM_MODE','responseType','onSyncEditingCollabCursor','indexOf','unitId','resolve','/universer-api/oidc/authpage','default','_config','NO_OTHER_CLIENTS_EDITING','PSEUDO_FETCH_MISSING_RESULT','_data','_startTelemetryCollaborationNewChangeset','permissionRejEvent','add','UNIVER_SHEET','subUnitId','HEARTBEAT_TIMEOUT','Base','getSheetId','batchAllowed','_getAPIPrefixPath','BufferedBlockAlgorithm','PasswordBasedCipher','pauseCollaboration','_transitionLocked','every','session','PENDING','unitInfo$','/universer-api/authz','concat','_reverseMap','csShouldRetryEvent','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','sid','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','MUTATION','JOIN_ROOM_NOT_EXISTS','reverse','disposeWithMe','conflict','_createHelper','resend','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','submit\x20changeset\x20error!','createEncryptor','changesets','padding','_sendingTimer','crypto','_getRedoStack','__creator','getCollabEntity','catch','_configService','getSnapshotAPIPath','transformChangesets','_replayCachedMutations','_collaborationTimeoutTimer','_entities','_collaborationSessionService','univer-pro.collaboration-client.network-condition.service','waitForRoom$','_syncEditingCollabCursor','updateCollaborator','image/gif','session.join-failed','_onConnectionOpen','snapshotServerUrl','map','memberID','cmd','enc','Hex','SHOULD_CLOSE_CONN','loadDoc','decryptBlock','compute','iterations','close$','_substituteRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','from','_type','_localCacheService','error','_onLocalMutation','startTime','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationSessionService]','_permissionService','_process','init','_onRecvEvent','_loadDoc','_candidateSocket','execute','[OfflineState]:\x20received\x20acknowledgement.','unknown','csAckEvent','Base64','_clearCollaborationTimeoutTimer','_keySchedule','_createSocket','INTERNAL_ERROR','transformStack\x20failed!','socket\x20open.','randomBytes','incrementRevOfUnit','symbol','reset','_localeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_clearHeartbeatTimer','_sendHeartbeat','_getUndoStack','/universer-api/snapshot','reduce','getImageSourceCache','_init','SOCKET_FAILED_RETRY','_createSocketURL','listCollaborators','[PendingState]:\x20received\x20acknowledgement.','_minBufferSize','socket$','LIVESHARE_TERMINATE','charCodeAt','onCommandExecuted','charAt','requestParams','has','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','clear','APPLY_REJECT','_initRequestHeader','url','_remoteChangesetQueue','body','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','OTHER_CLIENT_EDITING','newCsEvent','state','_onConflict','_queuedRemoteChangesets','_joinRoom','UnitSnapshot','[PendingState]:\x20received\x20rejection.','StreamCipher','editing\x20status\x20changed\x20to','msCrypto','getWorkbookSelections','_hash','NoPadding','[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.','_resendWithTimeout','_toggleOffline','[DataLoaderService]','_acknowledgedAwaitingChangeset','_transformIMECache','format','_doReset','substr','_stopTelemetryCollaborationNewChangeset','_onOffline','COMPRESS_MUTATION_SEND','keySize','string','sessionTicket','POST','_checkMissing','getMember','_httpService','authzUrl','method','[UniverCollaborationClientPlugin]','_updateLocalCache','CHANGESET_ACK','_getLoginPath','removeMember','origin','eventID','SerializableCipher','4737072poYJHF','clamp','join','[CollaborationUndoRedoService]','originalMeta','push','getRandomValues','title','synced','_clearUndo','byteOffset','image/png','CBC','_transformStack','key','hasOwnProperty','SNAPSHOT_SERVER_URL_KEY','_fetchMissChangesets','_logService','extend','USERS_LEAVE','getUnitType','_changesetSessionId','_getCtorByUniverType','_getUploadFileURL','APPLY_DUPLICATED','BlockCipher','interceptor','_clearLocalCache','_hasher','_imageSourceCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SEND_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','\x20-\x20','_registerDependencies','onlyLocal','HMAC','UNKNOWN_CMD','/universer-api/stream/file/upload','_state','failed\x20to\x20apply\x20missed\x20changesets!','COMPLETION_FINISHED','reject','objects','create','_collaborationPaused','OPTIONAL','GLOBAL_ROOMS_CNT_EXCEEDS','_transformService','awaiting','collaborators','/object','fetchMiss','/object/','session.room-cnt-exceeds','_sender','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','sigBytes','JOIN_ROOM_FULL','floor','fetch_missing','SHA1','_socket','CONFLICT','words','_initDependencies','entityInit$','_onFetchMissResult','parse','collabSubmitChangesetUrl','collaboration-client.local-cache-service','_createInitialStateImpl','_getCurrentRevision','put','_nDataBytes','loadSheet','_pendingMutations','ivSize','ciphertext','FETCH_MISS','_removeRoom','save\x20fail\x20reason\x20is\x20','Pkcs7','state$','readyForCollab','entries','transformSelections','onTransformIME','4090992JkgVLD','onCommentUpdate','initWorkbookPermissionChange','TOO_MANY_REQUESTS','_socketMessageSubscription','Utf8','_invKeySchedule','[SyncedState]:\x20received\x20acknowledgement.','_unlockTransition','revision','136934aqByBp','_onRemoteChangeset','userID','UNIVER_DOC','target','SYNCED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','error$','localeService','LICENSE_DISTRO_REJECTED','Cipher','online$','_members$','LOCAL_CACHE_INTERVAL','sendChangesetTimeout','deepClone','_onUserJoin','awaiting_with_pending','AWAITING','splice','send','univer-pro.collaboration-client.single-active-unit-service','_sendHeartbeatTimer','next','JOIN_ROOM_PERMISSION_DENIED','_prevBlock','_HTTPService','UNAUTHENTICATED','_scheduleCompleteTimestamp','patch','reqId','length','collaboration_new_changeset','getCurrentUser','complete','HmacMD5','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_roomMembers','SNAPSHOT_INVALID_SNAPSHOT','_collabSessionService','_transformSelections','\x20in\x20_schedule.','replace','bind','11PqmrCm','params','updateMember','USERS_ENTER','confirm','textRanges','onSendChangeset','_onRemoteACK','location','/-/object/-/batch_allowed','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','status','toString','ERROR_IMAGE_TYPE','_getAPIPrefix','disableLocalCache','859838roGFcQ','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRetry','JOIN','updateOfflineData','_transformRemoteChangesetByStateCache','NOT_COLLAB','processBlock','LICENSE_IMPORT_SIZE_EXCEEDED','\x0aAfter:\x20','AWAITING_WITH_PENDING','_socketService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','code','equals','session.room-permission-denied','_shouldReportTelemetry','LEAVE','delete','SOCKET_FAILED','ONLINE','_executeRemoteChangeset','filter','_parse','hasher','pending','onRemoteRetry','onTransformRemoteChangesetByStateCache','liveShareNewHost','collaboratorID','isArray','_state$','subject','kdf','COMPRESS_MUTATION_APPLY','_singleActiveUnitService','UNISCRIPT_RUN','getMemberID'];_0x1281=function(){return _0x2d1092;};return _0x1281();}let ot=class{constructor(_0x3e131c){var _0x536ff1=_0x5b64d2;this[_0x536ff1(0x114)]=_0x3e131c,this[_0x536ff1(0xef)]();}[_0x5b64d2(0xef)](){var _0x59d11a=_0x5b64d2;this[_0x59d11a(0x114)]['registerHTTPInterceptor']({'interceptor':(_0x33f994,_0x2334ce)=>{var _0x34bac1=_0x59d11a;const _0x385114=_0x33f994['headers'],_0x4494e5=cs();return _0x4494e5&&_0x385114['set'](_0x34bac1(0x1f7),_0x4494e5),_0x2334ce(_0x33f994);}});}};ot=ls([us(0x0,_0x51009b(_0x3793f1))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x552c08,_0x12a3ee,_0x402baf,_0x2b0a7d)=>{for(var _0x36c04a=_0x2b0a7d>0x1?void 0x0:_0x2b0a7d?fs(_0x12a3ee,_0x402baf):_0x12a3ee,_0x5f13ae=_0x552c08['length']-0x1,_0x5964c0;_0x5f13ae>=0x0;_0x5f13ae--)(_0x5964c0=_0x552c08[_0x5f13ae])&&(_0x36c04a=(_0x2b0a7d?_0x5964c0(_0x12a3ee,_0x402baf,_0x36c04a):_0x5964c0(_0x36c04a))||_0x36c04a);return _0x2b0a7d&&_0x36c04a&&ds(_0x12a3ee,_0x402baf,_0x36c04a),_0x36c04a;},mt=(_0x4ba12b,_0x2d2bad)=>(_0x14a7b6,_0x2c946d)=>_0x2d2bad(_0x14a7b6,_0x2c946d,_0x4ba12b);let Ot=class extends _0x53c65a{constructor(_0x131ef2,_0x20de7d,_0x4a6045){var _0x1fcfc9=_0x5b64d2;super(),N(this,'_unitInfo$',new _0x4d30c8(null)),N(this,_0x1fcfc9(0x38a),this[_0x1fcfc9(0x342)][_0x1fcfc9(0x30b)]()),(this[_0x1fcfc9(0x131)]=_0x131ef2,this[_0x1fcfc9(0x310)]=_0x20de7d,this[_0x1fcfc9(0xbc)]=_0x4a6045);}async[_0x5b64d2(0x2eb)](_0x37f7f4,_0x1ae7ad,_0x2b978c){var _0x245d04=_0x5b64d2;this['_unitInfo$']['next']({'unitId':_0x37f7f4,'type':_0x1ae7ad,'subUnitId':_0x2b978c});let _0x4aa545=null;switch(_0x1ae7ad){case Q[_0x245d04(0x37c)]:{_0x4aa545=await this['_loadSheet'](_0x37f7f4);break;}case Q['UNIVER_DOC']:{_0x4aa545=await this[_0x245d04(0xc6)](_0x37f7f4);break;}default:{this[_0x245d04(0x131)][_0x245d04(0xbd)](_0x245d04(0x105),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4aa545;}async[_0x5b64d2(0x266)](_0x1c65c3){var _0x17deb7=_0x5b64d2,_0x351d10;let _0x4a5ef1=0x0;const _0x270a98=await((_0x351d10=this[_0x17deb7(0xbc)])==null?void 0x0:_0x351d10[_0x17deb7(0x368)](_0x1c65c3));return _0x270a98&&(_0x270a98[_0x17deb7(0x2cb)]||_0x270a98[_0x17deb7(0x2b7)][_0x17deb7(0x1a1)]!==0x0)&&(_0x4a5ef1=_0x270a98[_0x17deb7(0x2c7)]),_0x4a5ef1===0x0&&this['_logService'][_0x17deb7(0x2af)](_0x17deb7(0x105),_0x17deb7(0xf3)),this[_0x17deb7(0x310)][_0x17deb7(0x16b)](_0x1c65c3,_0x4a5ef1);}async['_loadDoc'](_0x3ccab4){var _0xfbdeb0=_0x5b64d2,_0x524655;let _0xddcb6b=0x0;const _0x19cdea=await((_0x524655=this[_0xfbdeb0(0xbc)])==null?void 0x0:_0x524655['loadOfflineData'](_0x3ccab4));return _0x19cdea&&(_0x19cdea['awaitingChangeset']||_0x19cdea['mutations'][_0xfbdeb0(0x1a1)]!==0x0)&&(_0xddcb6b=_0x19cdea[_0xfbdeb0(0x2c7)]),_0xddcb6b===0x0&&this[_0xfbdeb0(0x131)][_0xfbdeb0(0x2af)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0xfbdeb0(0xb3)](_0x3ccab4,_0xddcb6b);}};Ot=vs([mt(0x0,_0x2b52c2),mt(0x1,_0x51009b(_0x47bc9b)),mt(0x2,_0x2ddb4f(J))],Ot);var ps=Object[_0x5b64d2(0x25a)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x3be88e,_0x57cb6e,_0x41b00a,_0x4fd58b)=>{var _0x213a72=_0x5b64d2;for(var _0x413e5f=_0x4fd58b>0x1?void 0x0:_0x4fd58b?ms(_0x57cb6e,_0x41b00a):_0x57cb6e,_0x2f5aa0=_0x3be88e[_0x213a72(0x1a1)]-0x1,_0x2b80ca;_0x2f5aa0>=0x0;_0x2f5aa0--)(_0x2b80ca=_0x3be88e[_0x2f5aa0])&&(_0x413e5f=(_0x4fd58b?_0x2b80ca(_0x57cb6e,_0x41b00a,_0x413e5f):_0x2b80ca(_0x413e5f))||_0x413e5f);return _0x4fd58b&&_0x413e5f&&ps(_0x57cb6e,_0x41b00a,_0x413e5f),_0x413e5f;},gt=(_0x503bea,_0x8de348)=>(_0x5c8f27,_0x253bf6)=>_0x8de348(_0x5c8f27,_0x253bf6,_0x503bea);const Ss=[_0x5b64d2(0x12a),_0x5b64d2(0x35d),_0x5b64d2(0x2e6),_0x5b64d2(0xa9),_0x5b64d2(0x358)],Es=0x5*0x400*0x400,Is=_0x5b64d2(0x26d),Ts=_0x5b64d2(0x146),Cs=_0x5b64d2(0x1ca),Rs=_0x5b64d2(0x236);let yt=class{constructor(_0x8634bd,_0xddef6b,_0x3a1cbd){var _0x357ee6=_0x5b64d2;N(this,_0x357ee6(0x392),0x0),N(this,_0x357ee6(0x2f4),new _0x4bd802()),N(this,_0x357ee6(0x233),this[_0x357ee6(0x2f4)]),N(this,_0x357ee6(0x13d),new Map()),(this[_0x357ee6(0x114)]=_0x8634bd,this[_0x357ee6(0x9e)]=_0xddef6b,this['_univerInstanceService']=_0x3a1cbd);}[_0x5b64d2(0x2dc)](_0x327b93){var _0x547058=_0x5b64d2;this['_waitCount']=_0x327b93,this[_0x547058(0x2f4)]['next'](_0x327b93);}[_0x5b64d2(0xde)](_0x5118f3,_0x39a8c2){var _0x1bd77f=_0x5b64d2;if(_0x39a8c2===_0x53941d[_0x1bd77f(0x2ac)]){const _0x5f3e2e=new Image();return _0x5f3e2e[_0x1bd77f(0x294)]=_0x5118f3,_0x5f3e2e;}return this[_0x1bd77f(0x13d)][_0x1bd77f(0x295)](_0x5118f3);}[_0x5b64d2(0x20f)](_0x215fa1,_0x48e555,_0x282ff1){var _0x466656=_0x5b64d2;_0x48e555===_0x53941d[_0x466656(0x2ac)]||_0x282ff1==null||this[_0x466656(0x13d)]['set'](_0x215fa1,_0x282ff1);}async['getImage'](_0x16810c){var _0x4bf09f=_0x5b64d2;try{const _0x582cec=this[_0x4bf09f(0x35e)](this['_getSignURL'](),''+_0x16810c),_0x507b63=(await this[_0x4bf09f(0x114)]['get'](_0x582cec))[_0x4bf09f(0xf2)];if(_0x507b63[_0x4bf09f(0xbd)]&&_0x507b63[_0x4bf09f(0xbd)][_0x4bf09f(0x1cb)]===Ii['OK']){const _0x596a07=new URL(_0x507b63[_0x4bf09f(0xf0)],this['_getDownloadEndpointURL']())[_0x4bf09f(0x1ba)]();return Promise[_0x4bf09f(0x372)](_0x596a07);}return Promise[_0x4bf09f(0x14a)](_0x507b63[_0x4bf09f(0xbd)]);}catch(_0x2fe718){return Promise[_0x4bf09f(0x14a)](_0x2fe718);}}async[_0x5b64d2(0x243)](_0x12fd43){var _0x93758=_0x5b64d2;let _0x13cdf3='';if(!Ss['includes'](_0x12fd43[_0x93758(0x240)]))return this[_0x93758(0x363)](),Promise[_0x93758(0x14a)](new Error(_0x579201[_0x93758(0x1bb)]));if(_0x12fd43['size']>Es)return this[_0x93758(0x363)](),Promise[_0x93758(0x14a)](new Error(_0x579201[_0x93758(0x218)]));try{const _0x298e10=new FormData();_0x298e10[_0x93758(0x22f)](_0x93758(0x312),_0x12fd43);const _0x79a983=this[_0x93758(0x1f0)][_0x93758(0x210)](),_0x1a1a2d=_0x79a983==null?void 0x0:_0x79a983[_0x93758(0x2da)]();if(!_0x1a1a2d)throw new Error(_0x93758(0x1e4));const _0x296da6=this[_0x93758(0x137)]()+_0x93758(0x304)+_0x12fd43['size']['toString']()+_0x93758(0x28d)+Ti[_0x93758(0x297)]+_0x93758(0x313)+encodeURIComponent(_0x1a1a2d),_0x4a0485=await(await fetch(_0x296da6,{'method':'POST','body':_0x298e10}))['json']();if(typeof _0x4a0485[_0x93758(0x26c)]!=_0x93758(0x10f))return this['_decreaseWaiting'](),Promise[_0x93758(0x14a)](new Error(_0x579201[_0x93758(0x30c)]));_0x13cdf3=_0x4a0485[_0x93758(0x26c)];}catch{return this[_0x93758(0x363)](),Promise['reject'](new Error(_0x579201[_0x93758(0x30c)]));}return new Promise((_0x2a3ab9,_0x4bd84a)=>{var _0x5a83d8=_0x93758;const _0xc56986=new FileReader();_0xc56986[_0x5a83d8(0x268)](_0x12fd43),_0xc56986[_0x5a83d8(0x357)]=_0x4ce6ba=>{var _0x4fc0dd=_0x5a83d8,_0x245554;const _0x3fd1cb=(_0x245554=_0x4ce6ba[_0x4fc0dd(0x186)])==null?void 0x0:_0x245554[_0x4fc0dd(0x2ba)];if(_0x3fd1cb==null){this['_decreaseWaiting'](),_0x4bd84a(new Error(_0x579201[_0x4fc0dd(0x30c)]));return;}const _0x5a00cb=_0x2326ae['generateRandomId'](0x6);_0x2a3ab9({'imageId':_0x5a00cb,'imageSourceType':_0x53941d[_0x4fc0dd(0x303)],'source':_0x13cdf3,'base64Cache':_0x3fd1cb,'status':_0x579201['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x35efde=_0x5b64d2,_0x32906d,_0x3de745;const _0x549450=this[_0x35efde(0x9e)][_0x35efde(0x35a)](Is),_0x51d71f=this[_0x35efde(0x9e)]['getConfig'](q);return(_0x3de745=(_0x32906d=_0x51d71f==null?void 0x0:_0x51d71f[_0x35efde(0x292)])!=null?_0x32906d:_0x549450)!=null?_0x3de745:Ts;}[_0x5b64d2(0x331)](){var _0x820009=_0x5b64d2,_0xdaa4ab,_0x531f9e;const _0x50fea0=this[_0x820009(0x9e)][_0x820009(0x35a)](Cs),_0xa6f2fe=this[_0x820009(0x9e)]['getConfig'](q);return(_0x531f9e=(_0xdaa4ab=_0xa6f2fe==null?void 0x0:_0xa6f2fe[_0x820009(0x2d3)])!=null?_0xdaa4ab:_0x50fea0)!=null?_0x531f9e:Rs;}[_0x5b64d2(0x230)](){var _0x4f784e;const _0x2b97c8=this['_configService']['getConfig'](q);return(_0x4f784e=_0x2b97c8==null?void 0x0:_0x2b97c8['downloadEndpointUrl'])!=null?_0x4f784e:location['origin'];}[_0x5b64d2(0x35e)](_0x50b4f4,_0x525284){var _0xe5d18=_0x5b64d2;return _0x50b4f4[_0xe5d18(0x1ac)](_0xe5d18(0x2a5),_0x525284);}['_decreaseWaiting'](){var _0x492c7b=_0x5b64d2;this['_waitCount']-=0x1,this[_0x492c7b(0x2f4)][_0x492c7b(0x199)](this[_0x492c7b(0x392)]);}};yt=gs([gt(0x0,_0x51009b(_0x3793f1)),gt(0x1,_0xb5719d),gt(0x2,_0x51009b(_0x54f72a))],yt);var bs=Object[_0x5b64d2(0x25a)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x96d1f9,_0x53dc9f,_0x12a516,_0x583e88)=>{var _0x3170d4=_0x5b64d2;for(var _0x533fb7=_0x583e88>0x1?void 0x0:_0x583e88?Os(_0x53dc9f,_0x12a516):_0x53dc9f,_0x110e29=_0x96d1f9[_0x3170d4(0x1a1)]-0x1,_0x47881c;_0x110e29>=0x0;_0x110e29--)(_0x47881c=_0x96d1f9[_0x110e29])&&(_0x533fb7=(_0x583e88?_0x47881c(_0x53dc9f,_0x12a516,_0x533fb7):_0x47881c(_0x533fb7))||_0x533fb7);return _0x583e88&&_0x533fb7&&bs(_0x53dc9f,_0x12a516,_0x533fb7),_0x533fb7;},_i=(_0x4ccbbc,_0x28baa1)=>(_0x470121,_0x4059bf)=>_0x28baa1(_0x470121,_0x4059bf,_0x4ccbbc);const Ns=_0x5b64d2(0x38b);let Nt=class{constructor(_0x2d4fc7,_0x278d81){var _0x2d9db4=_0x5b64d2;this[_0x2d9db4(0x9e)]=_0x2d4fc7,this[_0x2d9db4(0x19c)]=_0x278d81;}['_getAPIPrefixPath'](){var _0xa0b864=_0x5b64d2,_0x2b1752,_0x1c0d69;const _0x18ef03=this['_configService'][_0xa0b864(0x35a)](Pi),_0x54bc86=this[_0xa0b864(0x9e)]['getConfig'](q);return(_0x1c0d69=(_0x2b1752=_0x54bc86==null?void 0x0:_0x54bc86['authzUrl'])!=null?_0x2b1752:_0x18ef03)!=null?_0x1c0d69:Ns;}async[_0x5b64d2(0x2ab)](_0x558079){var _0xc583f1=_0x5b64d2;const _0xa7a026=this[_0xc583f1(0x382)]()+_0xc583f1(0x27e);return{'list':[{'title':_0xc583f1(0x31f),'mentions':(await this[_0xc583f1(0x19c)][_0xc583f1(0x295)](_0xa7a026,{'params':{'objectID':_0x558079[_0xc583f1(0x371)],'unitID':_0x558079['unitId']}}))[_0xc583f1(0xf2)][_0xc583f1(0x152)][_0xc583f1(0xad)](_0x34f873=>({'objectId':_0x34f873['id'],'name':_0x34f873[_0xc583f1(0x1de)]['name'],'metadata':{'icon':_0x34f873[_0xc583f1(0x1de)]['avatar']},'label':_0x34f873[_0xc583f1(0x1de)]['name'],'objectType':_0x4abdcc[_0xc583f1(0x24a)]})),'metadata':{},'type':_0x4abdcc[_0xc583f1(0x24a)]}]};}};Nt=ys([_i(0x0,_0x51009b(_0xb5719d)),_i(0x1,_0x51009b(_0x3793f1))],Nt);var Ds=Object[_0x5b64d2(0x25a)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x3445db,_0x3712bc,_0x166cd2,_0x48b2de)=>{var _0x19edd4=_0x5b64d2;for(var _0x2784ae=_0x48b2de>0x1?void 0x0:_0x48b2de?Ps(_0x3712bc,_0x166cd2):_0x3712bc,_0x3794ee=_0x3445db[_0x19edd4(0x1a1)]-0x1,_0x650b73;_0x3794ee>=0x0;_0x3794ee--)(_0x650b73=_0x3445db[_0x3794ee])&&(_0x2784ae=(_0x48b2de?_0x650b73(_0x3712bc,_0x166cd2,_0x2784ae):_0x650b73(_0x2784ae))||_0x2784ae);return _0x48b2de&&_0x2784ae&&Ds(_0x3712bc,_0x166cd2,_0x2784ae),_0x2784ae;},Se=(_0x533708,_0x99aafa)=>(_0x25975b,_0x547b2c)=>_0x99aafa(_0x25975b,_0x547b2c,_0x533708);let at=class extends _0x53c65a{constructor(_0x409505,_0x3dec25,_0x5b9c91,_0x2f70da,_0x2e749b,_0xccffde,_0x51c55e){var _0x20923c=_0x5b64d2;super(),this[_0x20923c(0x248)]=_0x409505,this[_0x20923c(0x1f0)]=_0x3dec25,this[_0x20923c(0xc2)]=_0x5b9c91,this['_collaborationSessionService']=_0x2f70da,this[_0x20923c(0x2b9)]=_0x2e749b,this['_authzIoService']=_0xccffde,this['_undoRedoService']=_0x51c55e,this[_0x20923c(0x2f9)](),this['_initCloseConn']();}[_0x5b64d2(0x2e7)](){var _0x4de96e=_0x5b64d2;const _0x46ac27=async _0xd69e5b=>{var _0x574e8e=_0x341f;(await this[_0x574e8e(0xa4)][_0x574e8e(0x352)](_0xd69e5b))[_0x574e8e(0x22e)][_0x574e8e(0x1f8)](_0x4b8e50(_0x265c77=>_0x265c77[_0x574e8e(0x11d)]===_0x40d0bd[_0x574e8e(0xb2)]),_0x24e13f(this['dispose$']))[_0x574e8e(0x229)](_0x8d492=>{var _0x3150e6=_0x574e8e;const _0x7411af=_0x8d492,{reason:_0x650df1}=_0x7411af[_0x3150e6(0x262)];this[_0x3150e6(0x2b9)][_0x3150e6(0x211)]({'id':se['CLOSE_ROOM'],'data':_0x650df1}),this['_permissionService'][_0x3150e6(0x2fc)](new _0x9ce7fb(_0xd69e5b)['id'],!0x1),this[_0x3150e6(0xa4)][_0x3150e6(0x316)](_0xd69e5b);});};_0x5e5f0f(this[_0x4de96e(0x1f0)][_0x4de96e(0x2ec)](_0x47ffbb[_0x4de96e(0x37c)]),this[_0x4de96e(0x1f0)][_0x4de96e(0x2ec)](_0x47ffbb[_0x4de96e(0x185)]))[_0x4de96e(0x1f8)](_0x168999(_0x32f4c5=>_0x32f4c5[_0x4de96e(0x2da)]()),_0x4b8e50(_0x3721eb=>!_0x347b00(_0x3721eb)),_0x24e13f(this['dispose$']))[_0x4de96e(0x229)](_0x59aef0=>{_0x46ac27(_0x59aef0);});}['_initUnitPermissionChange'](){var _0x365f90=_0x5b64d2;const _0x3fe2fa=async _0x3d981b=>{var _0x21e3f3=_0x341f;const _0x1fe5f3=await this[_0x21e3f3(0xa4)][_0x21e3f3(0x352)](_0x3d981b),_0x4cc7c5=this[_0x21e3f3(0x248)]['get'](_0x23c403);_0x1fe5f3['event$'][_0x21e3f3(0x1f8)](_0x4b8e50(_0x312af4=>_0x312af4[_0x21e3f3(0x11d)]===_0x40d0bd[_0x21e3f3(0x2b8)]),_0x24e13f(this[_0x21e3f3(0x354)]))[_0x21e3f3(0x229)](_0xc7e75d=>{var _0xf29f8a=_0x21e3f3;const _0x13f94c=_0xc7e75d,{objectId:_0x40bba4}=_0x13f94c['data'];_0x40bba4===_0x3d981b?_0x4cc7c5[_0xf29f8a(0x17a)](_0x3d981b):_0x4cc7c5[_0xf29f8a(0x1f6)](_0x3d981b,_0x40bba4);});};_0x5e5f0f(this[_0x365f90(0x1f0)][_0x365f90(0x2ec)](_0x47ffbb['UNIVER_SHEET']),this[_0x365f90(0x1f0)]['getTypeOfUnitAdded$'](_0x47ffbb['UNIVER_DOC']))['pipe'](_0x168999(_0x340e06=>_0x340e06[_0x365f90(0x2da)]()),_0x4b8e50(_0x5cca7b=>!_0x347b00(_0x5cca7b)),_0x24e13f(this[_0x365f90(0x354)]))['subscribe'](_0x34037c=>{_0x3fe2fa(_0x34037c);});}};at=ws([Se(0x0,_0x51009b(_0x4bfd06)),Se(0x1,_0x54f72a),Se(0x2,_0x1864f2),Se(0x3,_0x51009b(Le)),Se(0x4,_0x51009b(pe)),Se(0x5,_0x3d28ab),Se(0x6,_0x4b516f)],at);var Us=Object[_0x5b64d2(0x25a)],As=Object['getOwnPropertyDescriptor'],xs=(_0x38ed7e,_0x26c98b,_0x5ec59f,_0x403736)=>{var _0x4ea6ce=_0x5b64d2;for(var _0x126338=_0x403736>0x1?void 0x0:_0x403736?As(_0x26c98b,_0x5ec59f):_0x26c98b,_0x49384b=_0x38ed7e[_0x4ea6ce(0x1a1)]-0x1,_0x508520;_0x49384b>=0x0;_0x49384b--)(_0x508520=_0x38ed7e[_0x49384b])&&(_0x126338=(_0x403736?_0x508520(_0x26c98b,_0x5ec59f,_0x126338):_0x508520(_0x126338))||_0x126338);return _0x403736&&_0x126338&&Us(_0x26c98b,_0x5ec59f,_0x126338),_0x126338;},li=(_0x12e2f5,_0x3d2a11)=>(_0x29c951,_0x3f7b41)=>_0x3d2a11(_0x29c951,_0x3f7b41,_0x12e2f5);let Dt=class{constructor(_0x565784,_0x3b509d){var _0x14e2d4=_0x5b64d2;this['_configService']=_0x565784,this[_0x14e2d4(0x114)]=_0x3b509d;}async[_0x5b64d2(0x29e)](_0x525116,_0x3ace7a){var _0x5d342c=_0x5b64d2,_0x5eb212;const {unitID:_0x10ddbc,type:_0x3f199e,revision:_0x31e3fe=0x0}=_0x3ace7a,_0x4d6c5e=this[_0x5d342c(0x9f)]()+'/'+_0x3f199e+'/unit/'+_0x10ddbc+'/rev/'+_0x31e3fe,_0xc8eb44=(await this[_0x5d342c(0x114)]['get'](_0x4d6c5e))[_0x5d342c(0xf2)],_0x2db371=(_0x5eb212=_0xc8eb44[_0x5d342c(0x36a)])==null?void 0x0:_0x5eb212['workbook'];if(_0x2db371){const _0x52942f=_0x2db371==null?void 0x0:_0x2db371[_0x5d342c(0x123)],_0x36b7cf=_0x851053['encode'](_0x558688(_0x52942f));_0x2db371[_0x5d342c(0x123)]=_0x36b7cf,Object[_0x5d342c(0x175)](_0x2db371['sheets'])[_0x5d342c(0x2e0)](([,_0xae9a38])=>{var _0x2520b9=_0x5d342c;const _0x4a99f5=_0xae9a38[_0x2520b9(0x123)],_0x5a4ce8=_0x851053['encode'](_0x558688(_0x4a99f5));_0xae9a38[_0x2520b9(0x123)]=_0x5a4ce8;});}return _0xc8eb44;}async[_0x5b64d2(0x334)](_0x4c6563,_0x189ffd){var _0x38b2aa=_0x5b64d2;const {unitID:_0x398532,type:_0xb57056,blockID:_0x2bdf87}=_0x189ffd,_0x1e9910=this['_getAPIPrefix']()+'/'+_0xb57056+_0x38b2aa(0x27f)+_0x398532+_0x38b2aa(0x23d)+_0x2bdf87;return(await this[_0x38b2aa(0x114)][_0x38b2aa(0x295)](_0x1e9910))[_0x38b2aa(0xf2)];}async[_0x5b64d2(0x2a8)](_0x3dba65,_0x332cb5){var _0x505dc4=_0x5b64d2;const {unitID:_0x1dd33c,type:_0x47ce07,blockID:_0x3e4dec}=_0x332cb5,_0x398b08=this[_0x505dc4(0x1bc)]()+_0x505dc4(0x23d)+_0x47ce07+_0x505dc4(0x27f)+_0x1dd33c+_0x505dc4(0x23d)+_0x3e4dec;return(await this[_0x505dc4(0x114)]['get'](_0x398b08))[_0x505dc4(0xf2)];}async[_0x5b64d2(0x31a)](_0x126b8e,_0x31c583){var _0x18ca56=_0x5b64d2;const {unitID:_0x14758c,type:_0x4a0cb1,from:_0x14870c,to:_0x318a77}=_0x31c583,_0x17f17a=this[_0x18ca56(0x1bc)]()+'/'+_0x4a0cb1+_0x18ca56(0x27f)+_0x14758c+_0x18ca56(0x35b)+_0x14870c+_0x18ca56(0x2bf)+_0x318a77;return(await this[_0x18ca56(0x114)]['get'](_0x17f17a))[_0x18ca56(0xf2)];}[_0x5b64d2(0x9f)](){var _0x238957=_0x5b64d2,_0x3214ce;return(_0x3214ce=this[_0x238957(0x9e)][_0x238957(0x35a)](Tn))!=null?_0x3214ce:this[_0x238957(0x1bc)]();}[_0x5b64d2(0x1bc)](){var _0x12333d=_0x5b64d2,_0x3bc674,_0x4b57f8;const _0x2232c3=this[_0x12333d(0x9e)]['getConfig'](En),_0xc5f503=this[_0x12333d(0x9e)][_0x12333d(0x35a)](q);return(_0x4b57f8=(_0x3bc674=_0xc5f503==null?void 0x0:_0xc5f503[_0x12333d(0xac)])!=null?_0x3bc674:_0x2232c3)!=null?_0x4b57f8:In;}async[_0x5b64d2(0x239)](_0x444755,_0x251089){var _0x161ce1=_0x5b64d2;const _0x140101='/universer-api/snapshot/'+_0x251089['type']+_0x161ce1(0x27f)+_0x251089[_0x161ce1(0x35c)]+_0x161ce1(0x2d2);return(await this[_0x161ce1(0x114)][_0x161ce1(0x295)](_0x140101,{'params':{'resourceId':JSON[_0x161ce1(0x21f)](_0x251089['resourceIDs'])}}))[_0x161ce1(0xf2)];}['saveSnapshot'](){var _0x4dab9c=_0x5b64d2;throw new Error(_0x4dab9c(0x29d));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x399a9d=_0x5b64d2;throw new Error(_0x399a9d(0x29d));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5b64d2(0x26e)](){var _0x568c54=_0x5b64d2;throw new Error(_0x568c54(0x29d));}};Dt=xs([li(0x0,_0xb5719d),li(0x1,_0x51009b(_0x3793f1))],Dt);var Ls=Object[_0x5b64d2(0x25a)],Ms=Object[_0x5b64d2(0x267)],$s=(_0x40690c,_0x409bdd,_0x1fd518,_0x15c08f)=>{var _0x579e34=_0x5b64d2;for(var _0x4a09ab=_0x15c08f>0x1?void 0x0:_0x15c08f?Ms(_0x409bdd,_0x1fd518):_0x409bdd,_0x130a4d=_0x40690c[_0x579e34(0x1a1)]-0x1,_0x494c8c;_0x130a4d>=0x0;_0x130a4d--)(_0x494c8c=_0x40690c[_0x130a4d])&&(_0x4a09ab=(_0x15c08f?_0x494c8c(_0x409bdd,_0x1fd518,_0x4a09ab):_0x494c8c(_0x4a09ab))||_0x4a09ab);return _0x15c08f&&_0x4a09ab&&Ls(_0x409bdd,_0x1fd518,_0x4a09ab),_0x4a09ab;},Ae=(_0x38b785,_0x59e439)=>(_0x238f4b,_0x1b9aa4)=>_0x59e439(_0x238f4b,_0x1b9aa4,_0x38b785);let Pt=class extends _0x4d31ff{constructor(_0x51b482,_0x4f28c7,_0xa63ef9,_0xff2bf4,_0x47838c){var _0x45bd4b=_0x5b64d2;super(_0x51b482,_0x4f28c7,_0xa63ef9),this['_transformService']=_0xff2bf4,this[_0x45bd4b(0x131)]=_0x47838c;}[_0x5b64d2(0x276)](_0x2960b1,_0x227e1d){var _0x259c1f=_0x5b64d2;const _0x3c1979=this['_getUndoStack'](_0x2960b1);if(_0x3c1979)try{const _0x101fcd=this[_0x259c1f(0x12c)](_0x3c1979,_0x227e1d);this[_0x259c1f(0x2e9)](_0x2960b1,_0x101fcd);}catch(_0x4502c6){this['_logService']['error'](_0x259c1f(0x122),_0x4502c6),this[_0x259c1f(0x128)](_0x2960b1);}const _0x50a892=this[_0x259c1f(0x9a)](_0x2960b1);if(_0x50a892)try{const _0x47a901=this['_transformStack'](_0x50a892,_0x227e1d);this[_0x259c1f(0xb8)](_0x2960b1,_0x47a901);}catch(_0x3781c5){this[_0x259c1f(0x131)][_0x259c1f(0xbd)](_0x3781c5),this['_clearRedo'](_0x2960b1);}}[_0x5b64d2(0x128)](_0x42131a){var _0x41cddb=_0x5b64d2;const _0x1fd81b=this[_0x41cddb(0xdb)](_0x42131a);_0x1fd81b&&(_0x1fd81b[_0x41cddb(0x1a1)]=0x0,this[_0x41cddb(0x274)]());}[_0x5b64d2(0x2b5)](_0x3538b7){var _0x976e19=_0x5b64d2;const _0x32cfb4=this[_0x976e19(0x9a)](_0x3538b7);_0x32cfb4&&(_0x32cfb4[_0x976e19(0x1a1)]=0x0,this[_0x976e19(0x274)]());}[_0x5b64d2(0x2e9)](_0x2f10a9,_0x465ec7){var _0x57771a=_0x5b64d2;this['_undoStacks']['set'](_0x2f10a9,_0x465ec7),this[_0x57771a(0x274)]();}['_substituteRedoStack'](_0x234c23,_0x496b7d){var _0x1da3d3=_0x5b64d2;this['_redoStacks'][_0x1da3d3(0x250)](_0x234c23,_0x496b7d),this[_0x1da3d3(0x274)]();}[_0x5b64d2(0x12c)](_0xa946dd,_0x41868f){var _0x367216=_0x5b64d2;const _0x1178e8=[];let _0x12181c=_0x41868f,_0x2b627e=_0x41868f;for(let _0x13acff=_0xa946dd[_0x367216(0x1a1)]-0x1;_0x13acff>=0x0;_0x13acff--){const {unitID:_0x540ddb,undoMutations:_0x4256c4,redoMutations:_0x3b2f1e}=_0xa946dd[_0x13acff],_0x372093=this[_0x367216(0x150)]['transformMutationsWithChangeset'](_0x12181c,_0x4256c4),_0x11dd99=this['_transformService']['transformMutationsWithChangeset'](_0x2b627e,_0x3b2f1e);if(_0x4ab218(_0x372093)||_0x4ab218(_0x11dd99)){this['_logService']['error'](_0x367216(0x122),_0x367216(0xd1),_0x372093,_0x11dd99);break;}_0x12181c=_0x372093[_0x367216(0x33c)],_0x2b627e=_0x11dd99['c1Prime'],_0x1178e8[_0x367216(0x124)]({'unitID':_0x540ddb,'undoMutations':_0x372093[_0x367216(0x2a1)],'redoMutations':_0x11dd99[_0x367216(0x2a1)]});}return _0x1178e8[_0x367216(0x395)]();}};Pt=$s([Ae(0x0,_0x54f72a),Ae(0x1,_0x178bdd),Ae(0x2,_0x3fdc75),Ae(0x3,_0x3e3f20),Ae(0x4,_0x2b52c2)],Pt);var xi=Object[_0x5b64d2(0x25a)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x51d2f6,_0x3eedd5,_0x195b5a)=>_0x3eedd5 in _0x51d2f6?xi(_0x51d2f6,_0x3eedd5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x195b5a}):_0x51d2f6[_0x3eedd5]=_0x195b5a,js=(_0x48b346,_0x5be90c,_0x4f6ee6,_0x1013f3)=>{var _0x530653=_0x5b64d2;for(var _0x3d212f=_0x1013f3>0x1?void 0x0:_0x1013f3?Hs(_0x5be90c,_0x4f6ee6):_0x5be90c,_0x42ed13=_0x48b346[_0x530653(0x1a1)]-0x1,_0x1e0d33;_0x42ed13>=0x0;_0x42ed13--)(_0x1e0d33=_0x48b346[_0x42ed13])&&(_0x3d212f=(_0x1013f3?_0x1e0d33(_0x5be90c,_0x4f6ee6,_0x3d212f):_0x1e0d33(_0x3d212f))||_0x3d212f);return _0x1013f3&&_0x3d212f&&xi(_0x5be90c,_0x4f6ee6,_0x3d212f),_0x3d212f;},St=(_0x61c02e,_0x4ab16e)=>(_0x158c41,_0x10184f)=>_0x4ab16e(_0x158c41,_0x10184f,_0x61c02e),Bs=(_0x408ff7,_0x5ad920,_0x54e8c8)=>ks(_0x408ff7,_0x5ad920+'',_0x54e8c8);const Fs=_0x5b64d2(0x34c);let wt=class extends _0x316076{constructor(_0x222397=Wt,_0x63b54f,_0x18de2e,_0x5432fb){var _0xe91f1c=_0x5b64d2;super(),this[_0xe91f1c(0x375)]=_0x222397,this['_logService']=_0x63b54f,this[_0xe91f1c(0x248)]=_0x18de2e,this[_0xe91f1c(0x9e)]=_0x5432fb;const {..._0x14ff55}=_0x30bb92({},Wt,this[_0xe91f1c(0x375)]);this[_0xe91f1c(0x9e)][_0xe91f1c(0x252)](q,_0x14ff55);}[_0x5b64d2(0x1f3)](){var _0x2b37ae=_0x5b64d2;this[_0x2b37ae(0x142)](),this[_0x2b37ae(0x161)]();}['_registerDependencies'](){var _0x35febe=_0x5b64d2,_0x4b035f,_0x26bb36,_0x2690d3,_0x335095;this[_0x35febe(0x248)][_0x35febe(0xeb)](_0x4b516f)&&this['_logService'][_0x35febe(0xbd)](_0x35febe(0x117),_0x35febe(0xec));const _0x2e1d00=_0x1af04f([[_0x4b516f,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x26bb36=(_0x4b035f=this['_config'])==null?void 0x0:_0x4b035f[_0x35febe(0x25f)])!=null?_0x26bb36:Et}],[_0x18e625,{'useClass':Dt}],[_0x3d28ab,{'useClass':bt}],[_0x33bcd7,{'useClass':yt}],[_0x5b949e,{'useClass':Nt}],[rt],[Rt]],(_0x2690d3=this[_0x35febe(0x375)])==null?void 0x0:_0x2690d3[_0x35febe(0x364)]);if(!((_0x335095=this[_0x35febe(0x375)])!=null&&_0x335095[_0x35febe(0x28f)])){const _0x423008=_0x2e1d00['findIndex'](([_0x5ed885])=>_0x5ed885===ht);_0x423008!==-0x1&&_0x2e1d00[_0x35febe(0x195)](_0x423008,0x1);}_0xaad062(this['_injector'],_0x2e1d00);}[_0x5b64d2(0x161)](){var _0x4c5a2c=_0x5b64d2,_0x3c8a5a,_0x83dd63,_0x5b88eb;this[_0x4c5a2c(0x248)]['get'](_0x3793f1)[_0x4c5a2c(0x255)]({'priority':0x14,'interceptor':_0x4de157({'maxParallel':0x6})}),(_0x3c8a5a=this['_config'])!=null&&_0x3c8a5a[_0x4c5a2c(0x30e)]||(_0x83dd63=this[_0x4c5a2c(0x248)][_0x4c5a2c(0x295)](J,_0x366e74[_0x4c5a2c(0x14e)]))==null||_0x83dd63[_0x4c5a2c(0x1bd)](),(_0x5b88eb=this[_0x4c5a2c(0x375)])!=null&&_0x5b88eb['enableAuthServer']&&_0x22b06b(this[_0x4c5a2c(0x248)],[[st]]),_0x22b06b(this[_0x4c5a2c(0x248)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x2eb928(_0x22cc72,_0x4b0515,_0x5aa85d),St(0x1,_0x2b52c2),St(0x2,_0x51009b(_0x4bfd06)),St(0x3,_0xb5719d)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x1af128=_0x596d;(function(_0x54357c,_0x277910){var _0x419faf=_0x596d,_0x7d8800=_0x54357c();while(!![]){try{var _0x64e8d=parseInt(_0x419faf(0x46a))/0x1+parseInt(_0x419faf(0x411))/0x2*(parseInt(_0x419faf(0x489))/0x3)+parseInt(_0x419faf(0x225))/0x4+parseInt(_0x419faf(0x27f))/0x5+parseInt(_0x419faf(0x3cc))/0x6+-parseInt(_0x419faf(0x2d6))/0x7*(-parseInt(_0x419faf(0x491))/0x8)+-parseInt(_0x419faf(0x482))/0x9;if(_0x64e8d===_0x277910)break;else _0x7d8800['push'](_0x7d8800['shift']());}catch(_0x554bbf){_0x7d8800['push'](_0x7d8800['shift']());}}}(_0x6aa3,0xce6f8));var Li=Object[_0x1af128(0x4ba)],Mi=(_0x346783,_0x2b74e0,_0x3580c8)=>_0x2b74e0 in _0x346783?Li(_0x346783,_0x2b74e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3580c8}):_0x346783[_0x2b74e0]=_0x3580c8,N=(_0x560993,_0x3726a6,_0x30e255)=>Mi(_0x560993,typeof _0x3726a6!=_0x1af128(0x27b)?_0x3726a6+'':_0x3726a6,_0x30e255);import{createIdentifier as _0x22f5cd,Inject as _0x50b881,Injector as _0x339edd,Disposable as _0x1ec030,DisposableCollection as _0x39d6d0,toDisposable as _0x1943de,IConfigService as _0xb3f6ba,ILogService as _0x334ed4,UserManagerService as _0x3c3b47,UniverInstanceType as _0x7a0f38,IUniverInstanceService as _0x42b8e7,LocaleService as _0x3d3898,Optional as _0x325bd4,RxDisposable as _0x4273f8,Tools as _0x15157c,Rectangle as _0x47e43a,ICommandService as _0x4f3e11,JSONX as _0x4890ac,CommandType as _0x572a97,IPermissionService as _0xea2b61,IUndoRedoService as _0x16445d,sequenceExecute as _0x596acb,Workbook as _0x331611,MentionType as _0x4389d9,IAuthzIoService as _0x298ad2,isInternalEditorID as _0xc3ccf8,LocalUndoRedoService as _0x40707b,IContextService as _0x215270,DependentOn as _0x3fade5,Plugin as _0x58ba77,merge as _0x1686f7,mergeOverrideWithDependencies as _0x3b1a20,IMentionIOService as _0x478e21,registerDependencies as _0x48774b,Quantity as _0x8bb0cb,touchDependencies as _0x150a5f}from'@univerjs/core';import{Subject as _0x10c59f,merge as _0x19107a,of as _0x4586b0,BehaviorSubject as _0x230061,takeUntil as _0x1b190a,ReplaySubject as _0x55eb7f,take as _0x2a8f0e,map as _0x3bf594,shareReplay as _0x2b76e9,firstValueFrom as _0x5acfb6,concatMap as _0x196fe2}from'rxjs';import{map as _0x3c96ad,take as _0x41f024,filter as _0x226f92,delay as _0x2468e4,takeUntil as _0x4387d8}from'rxjs/operators';import{HTTPService as _0x51273b,ISocketService as _0x23e178,MergeInterceptorFactory as _0x8ebddf,HTTPRequest as _0x4ca06d,UniverNetworkPlugin as _0x22d427,ThresholdInterceptorFactory as _0x105533}from'@univerjs/network';import{CollaborationEvent as _0x1d08ca,parseChangesetToProtocol as _0x5c8585,ISnapshotServerService as _0x2687e0,isTransformMutationsWithChangesetSuccess as _0x49a34e,ITransformService as _0x207f44,mapDocumentTypeToUniverType as _0x3450b7,RevisionService as _0x1c117d,isTransformChangesetsSuccess as _0x397f0a,CompressMutationService as _0x4651e0,parseProtocolChangeset as _0x1db08e,SnapshotService as _0x2ec050,textEncoder as _0x20eefa,b64DecodeUnicode as _0x55b68d,isTransformMutationsWithChangesetFailure as _0x3abcdb,UniverCollaborationPlugin as _0x1ce121}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3dbc3c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x582104}from'@univerjs/docs';import{SheetsSelectionsService as _0x370139,SetSelectionsOperation as _0x2d5539,InsertSheetMutation as _0x361fa7,EmptyMutation as _0x1a6a86,WorkbookEditablePermission as _0x3ff24a,SheetPermissionInitController as _0x2ba33e,UniverSheetsPlugin as _0x376c94}from'@univerjs/sheets';import{ImageSourceType as _0x544571,ImageUploadStatusType as _0x509a09,IImageIoService as _0x5b5ab5}from'@univerjs/drawing';import{getGlobalObject as _0x58e8fb}from'@univerjs-pro/license';const En=_0x1af128(0x215),In='/universer-api/snapshot',Tn=_0x1af128(0x2ff),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1af128(0x338),bn=_0x1af128(0x3d2),On='/universer-api/user/session-ticket',yn=_0x1af128(0x3f0),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x1af128(0x1e9),wn=0x3,to=_0x1af128(0x413),io=0x3e8,Un=_0x1af128(0x36f),An=_0x1af128(0x1d5),xn=_0x1af128(0x307),Ln=_0x1af128(0x42e),no=_0x1af128(0x2b6),ro=_0x1af128(0x450);var Ii=(_0x52849a=>(_0x52849a[_0x52849a[_0x1af128(0x3d4)]=0x0]=_0x1af128(0x3d4),_0x52849a[_0x52849a['OK']=0x1]='OK',_0x52849a[_0x52849a[_0x1af128(0x335)]=0x2]=_0x1af128(0x335),_0x52849a[_0x52849a['PERMISSION_DENIED']=0x3]=_0x1af128(0x47d),_0x52849a[_0x52849a[_0x1af128(0x3c2)]=0x4]='NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x267)]=0x5]='UNAUTHENTICATED',_0x52849a[_0x52849a[_0x1af128(0x40f)]=0x6]=_0x1af128(0x40f),_0x52849a[_0x52849a[_0x1af128(0x38c)]=0x7]=_0x1af128(0x38c),_0x52849a[_0x52849a[_0x1af128(0x3e5)]=0x8]=_0x1af128(0x3e5),_0x52849a[_0x52849a['COMPLETION_FINISHED']=0x9]=_0x1af128(0x238),_0x52849a[_0x52849a[_0x1af128(0x341)]=0x1389]=_0x1af128(0x341),_0x52849a[_0x52849a[_0x1af128(0x27a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x52849a[_0x52849a[_0x1af128(0x449)]=0x1772]=_0x1af128(0x449),_0x52849a[_0x52849a[_0x1af128(0x361)]=0x1773]=_0x1af128(0x361),_0x52849a[_0x52849a[_0x1af128(0x28b)]=0x1b59]=_0x1af128(0x28b),_0x52849a[_0x52849a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x52849a[_0x52849a[_0x1af128(0x2d3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x52849a[_0x52849a[_0x1af128(0x47b)]=0x1b5c]=_0x1af128(0x47b),_0x52849a[_0x52849a[_0x1af128(0x4b4)]=0x1b5d]='APPLY_DUPLICATED',_0x52849a[_0x52849a[_0x1af128(0x2ba)]=0x1f41]=_0x1af128(0x2ba),_0x52849a[_0x52849a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1af128(0x4bb),_0x52849a[_0x52849a[_0x1af128(0x354)]=0x232a]=_0x1af128(0x354),_0x52849a[_0x52849a[_0x1af128(0x377)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x52849a[_0x52849a[_0x1af128(0x432)]=0x232c]=_0x1af128(0x432),_0x52849a[_0x52849a[_0x1af128(0x2b3)]=0x232d]=_0x1af128(0x2b3),_0x52849a[_0x52849a[_0x1af128(0x3a2)]=0x2711]=_0x1af128(0x3a2),_0x52849a[_0x52849a[_0x1af128(0x24c)]=0x2712]=_0x1af128(0x24c),_0x52849a[_0x52849a[_0x1af128(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x52849a[_0x52849a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x42c)]=0x2af9]=_0x1af128(0x42c),_0x52849a[_0x52849a[_0x1af128(0x46d)]=-0x1]='UNRECOGNIZED',_0x52849a))(Ii||{}),Q=(_0x463b19=>(_0x463b19[_0x463b19[_0x1af128(0x37a)]=0x0]='UNIVER_UNKNOWN',_0x463b19[_0x463b19[_0x1af128(0x43b)]=0x1]=_0x1af128(0x43b),_0x463b19[_0x463b19[_0x1af128(0x3c7)]=0x2]=_0x1af128(0x3c7),_0x463b19[_0x463b19[_0x1af128(0x351)]=0x3]=_0x1af128(0x351),_0x463b19[_0x463b19[_0x1af128(0x33f)]=0x4]=_0x1af128(0x33f),_0x463b19[_0x463b19[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x463b19))(Q||{}),F=(_0x1ef7c9=>(_0x1ef7c9[_0x1ef7c9[_0x1af128(0x2bb)]=0x0]='UNKNOWN_CMD',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x3f4)]=0x1]='HELLO',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x483)]=0x2]=_0x1af128(0x483),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x493)]=0x3]=_0x1af128(0x493),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x373)]=0x4]=_0x1af128(0x373),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x475)]=0x5]=_0x1af128(0x475),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x217)]=0x6]=_0x1af128(0x217),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x1ef7c9))(F||{}),Ee=(_0x24b361=>(_0x24b361[_0x24b361[_0x1af128(0x2d8)]=0x0]=_0x1af128(0x2d8),_0x24b361[_0x24b361['OK']=0x1]='OK',_0x24b361[_0x24b361[_0x1af128(0x1d1)]=0x2]=_0x1af128(0x1d1),_0x24b361[_0x24b361[_0x1af128(0x23b)]=0x3e9]=_0x1af128(0x23b),_0x24b361[_0x24b361[_0x1af128(0x48e)]=0x3ea]=_0x1af128(0x48e),_0x24b361[_0x24b361[_0x1af128(0x422)]=0x3eb]=_0x1af128(0x422),_0x24b361[_0x24b361[_0x1af128(0x4af)]=0x3ec]=_0x1af128(0x4af),_0x24b361[_0x24b361[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x24b361))(Ee||{}),Ti=(_0x59553d=>(_0x59553d[_0x59553d[_0x1af128(0x40a)]=0x0]=_0x1af128(0x40a),_0x59553d[_0x59553d[_0x1af128(0x32a)]=0x1]='HttpImport',_0x59553d[_0x59553d[_0x1af128(0x446)]=0x2]=_0x1af128(0x446),_0x59553d[_0x59553d[_0x1af128(0x41c)]=0x3]=_0x1af128(0x41c),_0x59553d[_0x59553d[_0x1af128(0x4b5)]=0x4]=_0x1af128(0x4b5),_0x59553d[_0x59553d[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x59553d))(Ti||{});const q=_0x1af128(0x319),Wt={};var se=(_0x36532e=>(_0x36532e[_0x1af128(0x302)]='OTHER_CLIENT_EDITING',_0x36532e[_0x1af128(0x47d)]=_0x1af128(0x47d),_0x36532e[_0x1af128(0x3dc)]=_0x1af128(0x3dc),_0x36532e['CLOSE_ROOM']=_0x1af128(0x4d3),_0x36532e[_0x1af128(0x209)]='JOIN_ROOM_FAILED',_0x36532e['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x36532e[_0x1af128(0x4bc)]=_0x1af128(0x4bc),_0x36532e[_0x1af128(0x3af)]=_0x1af128(0x3af),_0x36532e))(se||{});class pe{constructor(){var _0x17c1b2=_0x1af128;N(this,_0x17c1b2(0x3b9),new _0x10c59f()),N(this,_0x17c1b2(0x22e),this['_event$'][_0x17c1b2(0x2c7)]());}[_0x1af128(0x258)](_0x5707dc){var _0x85941d=_0x1af128;this[_0x85941d(0x3b9)][_0x85941d(0x2cb)](_0x5707dc);}}const Mn=_0x22f5cd(_0x1af128(0x2b1));function $n(_0x5511c1){var _0x5b8fd6=_0x1af128,_0x572705,_0x2fe831,_0x5a2fad,_0x37b483,_0x447698;const _0x439784=_0x5511c1[_0x5b8fd6(0x345)],_0xd1e37f=JSON[_0x5b8fd6(0x3df)](_0x439784);switch(_0xd1e37f[_0x5b8fd6(0x223)]){case F[_0x5b8fd6(0x475)]:case F[_0x5b8fd6(0x3f4)]:{const _0x6f612c=_0xd1e37f[_0x5b8fd6(0x2dd)];return{..._0xd1e37f,'data':_0x6f612c,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F[_0x5b8fd6(0x483)]:{const _0x303f0d=_0xd1e37f[_0x5b8fd6(0x2ee)];return{..._0xd1e37f,'data':_0x303f0d,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F['RECV']:{const _0x4f1392=_0xd1e37f[_0x5b8fd6(0x2c4)];switch(_0x4f1392[_0x5b8fd6(0x492)]){case _0x1d08ca['PERMISSION_REJ']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x572705=_0x4f1392[_0x5b8fd6(0x2a2)])==null?void 0x0:_0x572705['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x333)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x2fe831=_0x4f1392[_0x5b8fd6(0x342)])==null?void 0x0:_0x2fe831['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x405)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x5a2fad=_0x4f1392[_0x5b8fd6(0x39b)])==null?void 0x0:_0x5a2fad['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x4a5)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x37b483=_0x4f1392[_0x5b8fd6(0x276)])==null?void 0x0:_0x37b483['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca[_0x5b8fd6(0x4c4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x447698=_0x4f1392[_0x5b8fd6(0x242)])==null?void 0x0:_0x447698['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca['UPDATE_CURSOR']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x3f7)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['USERS_ENTER']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x260)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x33d)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x344)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['LIVESHARE_NEW_HOST']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x41a)]:case _0x1d08ca[_0x5b8fd6(0x2a8)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['liveShareOperation']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x2f4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x222)]:return{..._0xd1e37f,'data':_0x4f1392,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['COMMENT_UPDATE']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x2a3)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x28f)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x362)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x368)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['shouldCloseConn']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x226)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x288)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};default:return _0xd1e37f;}}default:return _0xd1e37f;}}function Hn(_0x1f83c1){var _0x358b6c=_0x1af128;switch(_0x1f83c1[_0x358b6c(0x223)]){case F[_0x358b6c(0x475)]:case F[_0x358b6c(0x3f4)]:return JSON['stringify']({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)]});case F[_0x358b6c(0x373)]:{let _0x4ab46c;switch(_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]){case _0x1d08ca[_0x358b6c(0x3f1)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x3f1)],'updateCursorEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x33d)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x33d)],'leaveEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x418)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x418)],'joinEvent':_0x1f83c1[_0x358b6c(0x345)]['data']};break;}case _0x1d08ca['LIVESHARE_NEW_HOST']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x356)],'liveShareNewHost':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2a8)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2a8)],'liveShareOperation':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2f4)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2f4)],'liveShareTerminate':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x462)]:{_0x4ab46c={'eventID':_0x1d08ca['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca['LIVESHARE_FETCH_OPERATIONS']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x41a)]};break;}default:_0x4ab46c={'eventID':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]};}return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'collaMsg':_0x4ab46c});}case F[_0x358b6c(0x483)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'joinReq':_0x1f83c1['data']});case F[_0x358b6c(0x493)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'leaveReq':_0x1f83c1[_0x358b6c(0x345)]});default:throw new Error(_0x358b6c(0x36b));}}var kn=Object[_0x1af128(0x4ba)],jn=Object[_0x1af128(0x3d3)],Bn=(_0x57eaa9,_0x3a292c,_0x509a67,_0x2995ba)=>{var _0x34e870=_0x1af128;for(var _0x5296bb=_0x2995ba>0x1?void 0x0:_0x2995ba?jn(_0x3a292c,_0x509a67):_0x3a292c,_0x71d241=_0x57eaa9[_0x34e870(0x431)]-0x1,_0x2b1771;_0x71d241>=0x0;_0x71d241--)(_0x2b1771=_0x57eaa9[_0x71d241])&&(_0x5296bb=(_0x2995ba?_0x2b1771(_0x3a292c,_0x509a67,_0x5296bb):_0x2b1771(_0x5296bb))||_0x5296bb);return _0x2995ba&&_0x5296bb&&kn(_0x3a292c,_0x509a67,_0x5296bb),_0x5296bb;},Ue=(_0x386271,_0x3932d7)=>(_0x11bfd1,_0x2c9e01)=>_0x3932d7(_0x11bfd1,_0x2c9e01,_0x386271);const Ci=_0x22f5cd(_0x1af128(0x3bb));function Fn(_0x1581d6,_0x45afe4,_0x13d267){var _0x3b26af=_0x1af128;return _0x1581d6+'/'+_0x45afe4+_0x3b26af(0x29a)+_0x13d267+_0x3b26af(0x4ae);}let Et=class extends _0x1ec030{constructor(_0xd8e413,_0x4a17a6,_0x312a15,_0x5172bb,_0x2f8b3f){var _0x13bcd1=_0x1af128;super(),this['_injector']=_0xd8e413,this[_0x13bcd1(0x437)]=_0x4a17a6,this[_0x13bcd1(0x4d1)]=_0x312a15,this[_0x13bcd1(0x485)]=_0x5172bb,this[_0x13bcd1(0x408)]=_0x2f8b3f;}[_0x1af128(0x252)](_0x2f61b0){var _0xcf4ffd=_0x1af128;const _0x675365=this[_0xcf4ffd(0x367)][_0xcf4ffd(0x416)](_0x23e178);if(!_0x675365)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x35df56=_0x675365[_0xcf4ffd(0x252)](_0x2f61b0);if(!_0x35df56)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5709cf=new _0x39d6d0(),_0x53e358=new _0x10c59f();_0x5709cf['add'](_0x35df56[_0xcf4ffd(0x409)][_0xcf4ffd(0x26c)](_0x919613=>_0x53e358['next'](_0x919613))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x53e358[_0xcf4ffd(0x3b1)]()));const _0x3f1900=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56[_0xcf4ffd(0x414)][_0xcf4ffd(0x26c)](_0xc212e4=>_0x3f1900['next'](_0xc212e4))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x3f1900[_0xcf4ffd(0x3b1)]()));const _0x3caef9=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56['message$'][_0xcf4ffd(0x26c)](_0x126f09=>{var _0x210eb7=_0xcf4ffd;const _0x542c33=$n(_0x126f09);_0x3caef9[_0x210eb7(0x2cb)](_0x542c33);})),_0x5709cf['add'](_0x1943de(()=>_0x3caef9[_0xcf4ffd(0x3b1)]()));let _0xe7b539;const _0x42aae3=()=>{var _0x97b3a9=_0xcf4ffd;_0x3f1900[_0x97b3a9(0x2cb)](new Event('connection\x20error')),_0x53e358[_0x97b3a9(0x2cb)](new CloseEvent('connection\x20error')),_0xe7b539[_0x97b3a9(0x3c0)]();};return _0xe7b539={'memberID':'','close$':_0x53e358[_0xcf4ffd(0x2c7)](),'error$':_0x3f1900['asObservable'](),'open$':_0x35df56[_0xcf4ffd(0x23e)],'message$':_0x3caef9[_0xcf4ffd(0x2c7)](),'send':_0x2de057=>{var _0x4c62dc=_0xcf4ffd;if(_0x2de057[_0x4c62dc(0x223)]===F[_0x4c62dc(0x373)]){if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca['SUBMIT_CHANGESET']){this[_0x4c62dc(0x29c)](_0xe7b539,_0x2de057[_0x4c62dc(0x345)])[_0x4c62dc(0x474)](_0x53e5d8=>{var _0x1a7f52=_0x4c62dc;this[_0x1a7f52(0x485)][_0x1a7f52(0x479)](_0x53e5d8),_0x42aae3();});return;}if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca[_0x4c62dc(0x249)]){const _0x4d2358=_0x2de057['data'];this[_0x4c62dc(0x400)](_0x4d2358)[_0x4c62dc(0x1d4)](_0x1f5bb3=>{var _0x572e82=_0x4c62dc;_0x3caef9['next']({'cmd':F[_0x572e82(0x217)],'code':Ee['OK'],'routeKey':_0x4d2358[_0x572e82(0x345)][_0x572e82(0x1fa)],'routeType':'','data':{'eventID':_0x1d08ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1f5bb3}}});})[_0x4c62dc(0x474)](_0x166639=>{this['_logService']['error'](_0x166639),_0x42aae3();});return;}}_0x35df56['send'](Hn(_0x2de057));},'close':()=>{var _0x3a1b17=_0xcf4ffd;_0x35df56[_0x3a1b17(0x3c0)](),_0x5709cf[_0x3a1b17(0x1d3)]();}},_0xe7b539;}async[_0x1af128(0x29c)](_0x203e97,_0x3cf917){var _0x3f07a0=_0x1af128,_0x33b58e,_0x132429;const {unitType:_0x1c1ed3,unitID:_0x117a8c,changeset:_0x148512}=_0x3cf917['data'],_0x1da415={'unitID':_0x117a8c,'memberID':_0x203e97[_0x3f07a0(0x2a4)],'type':_0x1c1ed3,'changeset':_0x5c8585(_0x148512)},_0x3f8dd2=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](Un),_0x353c5e=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](q),_0x3a8d6c=Fn((_0x132429=(_0x33b58e=_0x353c5e==null?void 0x0:_0x353c5e[_0x3f07a0(0x241)])!=null?_0x33b58e:_0x3f8dd2)!=null?_0x132429:An,_0x1c1ed3,_0x117a8c);try{await this[_0x3f07a0(0x437)][_0x3f07a0(0x4cc)](_0x3a8d6c,{'body':_0x1da415});}catch(_0x4af3be){throw this[_0x3f07a0(0x485)][_0x3f07a0(0x479)](_0x3f07a0(0x259),'submit\x20changeset\x20error!'),_0x4af3be;}}async[_0x1af128(0x400)](_0x53db0f){var _0x1f0975=_0x1af128;const {unitID:_0x494e8b,from:_0x1da37b,to:_0x57fcbb,unitType:_0x3e5a6d}=_0x53db0f[_0x1f0975(0x345)];return(await this[_0x1f0975(0x408)][_0x1f0975(0x33b)]({'metadata':void 0x0},{'unitID':_0x494e8b,'type':_0x3e5a6d,'from':_0x1da37b,'to':_0x57fcbb}))[_0x1f0975(0x3e4)];}};Et=Bn([Ue(0x0,_0x50b881(_0x339edd)),Ue(0x1,_0x50b881(_0x51273b)),Ue(0x2,_0xb3f6ba),Ue(0x3,_0x334ed4),Ue(0x4,_0x2687e0)],Et);const Vn=_0x1af128(0x243);function Gn(_0x534eee){var _0x25dd02=_0x1af128;return JSON[_0x25dd02(0x44b)](_0x534eee)[_0x25dd02(0x431)];}class Ri{constructor(){var _0x5bdfa1=_0x1af128;N(this,_0x5bdfa1(0x421),new _0x10c59f()),N(this,'commentUpdate$',this[_0x5bdfa1(0x421)][_0x5bdfa1(0x2c7)]());}['onCommentUpdate'](_0x8ac70e){var _0x35f5f9=_0x1af128;this[_0x35f5f9(0x421)][_0x35f5f9(0x2cb)](_0x8ac70e);}}var Wn=Object[_0x1af128(0x4ba)],Kn=Object[_0x1af128(0x3d3)],Yn=(_0x29eaa4,_0x1da03c,_0x12be84,_0x3b5b23)=>{var _0x211440=_0x1af128;for(var _0x1ab7a9=_0x3b5b23>0x1?void 0x0:_0x3b5b23?Kn(_0x1da03c,_0x12be84):_0x1da03c,_0x2392f2=_0x29eaa4[_0x211440(0x431)]-0x1,_0x405952;_0x2392f2>=0x0;_0x2392f2--)(_0x405952=_0x29eaa4[_0x2392f2])&&(_0x1ab7a9=(_0x3b5b23?_0x405952(_0x1da03c,_0x12be84,_0x1ab7a9):_0x405952(_0x1ab7a9))||_0x1ab7a9);return _0x3b5b23&&_0x1ab7a9&&Wn(_0x1da03c,_0x12be84,_0x1ab7a9),_0x1ab7a9;},Kt=(_0x12ac19,_0x2da4a8)=>(_0x33293d,_0x2b6583)=>_0x2da4a8(_0x33293d,_0x2b6583,_0x12ac19);let xe=class extends _0x1ec030{constructor(_0x2f5bd5,_0x6db48d){var _0xe4cbf=_0x1af128;super(),N(this,_0xe4cbf(0x291),new Map()),N(this,_0xe4cbf(0x3e3),new _0x10c59f()),(this['_univerInstanceService']=_0x2f5bd5,this[_0xe4cbf(0x3c4)]=_0x6db48d,this['disposeWithMe'](_0x19107a(this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x3c7)])[_0xe4cbf(0x463)](_0x3c96ad(_0x1f044c=>_0x1f044c[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x43b)])['pipe'](_0x3c96ad(_0x3041b2=>_0x3041b2[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38['UNIVER_SLIDE'])[_0xe4cbf(0x463)](_0x3c96ad(_0x1226a1=>_0x1226a1[_0xe4cbf(0x26b)]())))['subscribe'](_0x57824d=>this[_0xe4cbf(0x2d7)](_0x57824d))));}['waitForRoom$'](_0x4cd296){var _0x598f15=_0x1af128;return this[_0x598f15(0x291)]['has'](_0x4cd296)?_0x4586b0(this[_0x598f15(0x291)][_0x598f15(0x416)](_0x4cd296)):this['_roomCreated$'][_0x598f15(0x463)](_0x3c96ad(_0x33c9e9=>{var _0x175fe9=_0x598f15;if(_0x33c9e9===_0x4cd296)return this['_roomMembers'][_0x175fe9(0x416)](_0x33c9e9);}));}[_0x1af128(0x39f)](_0x29497b){var _0x495c76=_0x1af128;this['_userManagerService'][_0x495c76(0x39f)](_0x29497b);}[_0x1af128(0x1dc)](){var _0x11bf15=_0x1af128;return this[_0x11bf15(0x3c4)][_0x11bf15(0x1dc)]();}['updateMember'](_0x10fd5a,_0x2ec813){var _0x324dcb=_0x1af128;let _0x25a4fe=this[_0x324dcb(0x291)]['get'](_0x10fd5a);_0x25a4fe||(_0x25a4fe=new qn(),this[_0x324dcb(0x291)][_0x324dcb(0x255)](_0x10fd5a,_0x25a4fe),this['_roomCreated$'][_0x324dcb(0x2cb)](_0x10fd5a)),_0x25a4fe[_0x324dcb(0x20a)](_0x2ec813);}[_0x1af128(0x3e2)](_0x72e4b5,_0x24efd8){var _0x2a0014=_0x1af128;const _0xde819a=this[_0x2a0014(0x291)][_0x2a0014(0x416)](_0x72e4b5);_0xde819a&&_0xde819a['removeMember'](_0x24efd8);}[_0x1af128(0x419)](_0x1fc310){var _0x54aa3a=_0x1af128;return this[_0x54aa3a(0x291)][_0x54aa3a(0x416)](_0x1fc310);}[_0x1af128(0x41f)](_0xed560c,_0x4c8e31){var _0x12f386=_0x1af128;const _0x1279c7=this[_0x12f386(0x291)]['get'](_0xed560c);if(_0x1279c7)return _0x1279c7[_0x12f386(0x41f)](_0x4c8e31);}[_0x1af128(0x2d7)](_0x51a9b0){var _0x2c2344=_0x1af128;const _0x11c721=this[_0x2c2344(0x291)][_0x2c2344(0x416)](_0x51a9b0);_0x11c721&&(_0x11c721[_0x2c2344(0x1d3)](),this[_0x2c2344(0x291)]['delete'](_0x51a9b0));}[_0x1af128(0x1d3)](){var _0x5946ff=_0x1af128;this[_0x5946ff(0x291)][_0x5946ff(0x30f)](_0x1cb119=>_0x1cb119[_0x5946ff(0x1d3)]()),this['_roomMembers'][_0x5946ff(0x348)](),this[_0x5946ff(0x3e3)][_0x5946ff(0x3b1)]();}};xe=Yn([Kt(0x0,_0x42b8e7),Kt(0x1,_0x50b881(_0x3c3b47))],xe);class qn extends _0x1ec030{constructor(){var _0x2bf24f=_0x1af128;super(...arguments),N(this,_0x2bf24f(0x451),new Map()),N(this,_0x2bf24f(0x295),new _0x230061(this[_0x2bf24f(0x451)])),N(this,'members$',this[_0x2bf24f(0x295)][_0x2bf24f(0x2c7)]());}[_0x1af128(0x1d3)](){var _0x31b19c=_0x1af128;this['_members'][_0x31b19c(0x348)]();}['updateMember'](_0x5be122){var _0x5d2c2a=_0x1af128;this['_members'][_0x5d2c2a(0x255)](_0x5be122[_0x5d2c2a(0x2a4)],_0x5be122),this['_emitMembers']();}[_0x1af128(0x3e2)](_0x291ace){var _0x4c0159=_0x1af128;this[_0x4c0159(0x451)][_0x4c0159(0x31f)](_0x291ace);}['getMember'](_0x13a470){var _0x2d8812=_0x1af128;return this[_0x2d8812(0x451)]['get'](_0x13a470);}[_0x1af128(0x272)](){var _0x5dd64d=_0x1af128;return Array['from'](this[_0x5dd64d(0x451)][_0x5dd64d(0x355)]());}[_0x1af128(0x3ae)](){var _0x16f330=_0x1af128;this[_0x16f330(0x295)][_0x16f330(0x2cb)](this[_0x16f330(0x451)]);}}var zn=Object[_0x1af128(0x4ba)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x3c84ea,_0x2877ed,_0x25567c,_0x176d03)=>{var _0xeb4b78=_0x1af128;for(var _0x39b33c=_0x176d03>0x1?void 0x0:_0x176d03?Jn(_0x2877ed,_0x25567c):_0x2877ed,_0x319bd3=_0x3c84ea[_0xeb4b78(0x431)]-0x1,_0x45dc48;_0x319bd3>=0x0;_0x319bd3--)(_0x45dc48=_0x3c84ea[_0x319bd3])&&(_0x39b33c=(_0x176d03?_0x45dc48(_0x2877ed,_0x25567c,_0x39b33c):_0x45dc48(_0x39b33c))||_0x39b33c);return _0x176d03&&_0x39b33c&&zn(_0x2877ed,_0x25567c,_0x39b33c),_0x39b33c;},me=(_0x23281d,_0x1dd725)=>(_0x1b14ce,_0x3507d6)=>_0x1dd725(_0x1b14ce,_0x3507d6,_0x23281d),Te=(_0x1718ff=>(_0x1718ff[_0x1718ff[_0x1af128(0x220)]=0x0]=_0x1af128(0x220),_0x1718ff[_0x1718ff[_0x1af128(0x48d)]=0x1]='JOINING',_0x1718ff[_0x1718ff['OFFLINE']=0x2]=_0x1af128(0x2b8),_0x1718ff[_0x1718ff[_0x1af128(0x336)]=0x3]='ONLINE',_0x1718ff))(Te||{});const Yt={[Ee[_0x1af128(0x1d1)]]:_0x1af128(0x3da),[Ee['JOIN_ROOM_FULL']]:_0x1af128(0x229),[Ee[_0x1af128(0x48e)]]:_0x1af128(0x3d9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x1af128(0x20c),[Ee[_0x1af128(0x4af)]]:_0x1af128(0x37d)};let It=class extends _0x4273f8{constructor(_0x57e68d,_0x373c49,_0x3b8a9d,_0x361615,_0x4c15cc,_0x1aed72,_0x5d3517,_0xe01458,_0x1ce16f){var _0x5b238e=_0x1af128;super(),N(this,'_sessionStatus$',new _0x230061(0x0)),N(this,_0x5b238e(0x214),this[_0x5b238e(0x434)][_0x5b238e(0x2c7)]()),N(this,_0x5b238e(0x3b9),new _0x10c59f()),N(this,'event$',this[_0x5b238e(0x3b9)][_0x5b238e(0x2c7)]()),N(this,'_socket'),N(this,_0x5b238e(0x1db)),N(this,_0x5b238e(0x28c)),N(this,_0x5b238e(0x254),!0x1),N(this,_0x5b238e(0x37b),null),(this[_0x5b238e(0x2e3)]=_0x57e68d,this['_logService']=_0x3b8a9d,this[_0x5b238e(0x4d1)]=_0x361615,this[_0x5b238e(0x4c2)]=_0x4c15cc,this[_0x5b238e(0x37c)]=_0x1aed72,this[_0x5b238e(0x314)]=_0x5d3517,this[_0x5b238e(0x4b1)]=_0xe01458,this[_0x5b238e(0x394)]=_0x1ce16f,this[_0x5b238e(0x254)]=!!this['_telemetryService'],_0x373c49[_0x5b238e(0x463)](_0x1b190a(this['dispose$']))[_0x5b238e(0x26c)](_0x95d0be=>{var _0x260215=_0x5b238e,_0xf88e2f;typeof _0x95d0be>'u'||(this[_0x260215(0x31d)]=_0x95d0be,_0x95d0be?(this['_joinRoom'](_0x95d0be),this[_0x260215(0x1db)]=_0x95d0be[_0x260215(0x45e)]['subscribe'](_0x1b2153=>{var _0x51b50b=_0x260215;_0x1b2153['routeKey']===this[_0x51b50b(0x2e3)]&&this['_onCombEvent'](_0x1b2153);})):(this[_0x260215(0x3d0)](),this[_0x260215(0x434)][_0x260215(0x2cb)](0x2),(_0xf88e2f=this['_socketMessageSubscription'])==null||_0xf88e2f[_0x260215(0x1f6)](),this[_0x260215(0x1db)]=null));}));}get[_0x1af128(0x495)](){var _0x340704=_0x1af128;return this['_sessionStatus$'][_0x340704(0x2f7)]();}[_0x1af128(0x435)](){var _0x4f8b1a=_0x1af128,_0x29a04a,_0x36fda0;return(_0x36fda0=(_0x29a04a=this[_0x4f8b1a(0x31d)])==null?void 0x0:_0x29a04a['memberID'])!=null?_0x36fda0:null;}['dispose'](){var _0x59151c=_0x1af128;super[_0x59151c(0x1d3)](),this[_0x59151c(0x2f3)][_0x59151c(0x2cb)](),this['dispose$'][_0x59151c(0x3b1)]();}[_0x1af128(0x3c0)](){var _0x153ece=_0x1af128,_0x50c18e,_0x1e91f8;this[_0x153ece(0x3d0)](),(_0x50c18e=this[_0x153ece(0x31d)])==null||_0x50c18e[_0x153ece(0x444)]({'cmd':F[_0x153ece(0x493)],'data':{'roomID':this[_0x153ece(0x2e3)]}}),(_0x1e91f8=this[_0x153ece(0x31d)])==null||_0x1e91f8[_0x153ece(0x3c0)](),this[_0x153ece(0x3b9)][_0x153ece(0x3b1)](),this[_0x153ece(0x434)]['complete'](),this['dispose']();}['_onCombEvent'](_0x59bb61){var _0x21df86=_0x1af128;_0x59bb61[_0x21df86(0x223)]===F[_0x21df86(0x483)]?this[_0x21df86(0x34f)](_0x59bb61):_0x59bb61['cmd']===F[_0x21df86(0x217)]&&this[_0x21df86(0x33e)](_0x59bb61);}[_0x1af128(0x2fb)](_0xce0a15){var _0x39f688=_0x1af128;this[_0x39f688(0x434)]['next'](0x1),_0xce0a15[_0x39f688(0x444)]({'cmd':F[_0x39f688(0x483)],'routeKey':this[_0x39f688(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x39f688(0x2e3)]}]}});}[_0x1af128(0x34f)](_0xead141){var _0x20a79b=_0x1af128,_0x36f846;if(_0xead141['code']in Yt){this[_0x20a79b(0x4b1)]['emitEvent']({'id':se[_0x20a79b(0x209)],'data':Yt[_0xead141[_0x20a79b(0x2c3)]]}),this['_sessionStatus$'][_0x20a79b(0x2cb)](0x2);return;}this[_0x20a79b(0x434)][_0x20a79b(0x2cb)](0x3);const _0x35ce16=(_0x36f846=_0xead141[_0x20a79b(0x345)][_0x20a79b(0x31b)][this['_unitID']])==null?void 0x0:_0x36f846[_0x20a79b(0x268)];_0x35ce16&&_0x35ce16[_0x20a79b(0x30f)](_0x7df805=>this[_0x20a79b(0x37c)][_0x20a79b(0x20a)](this[_0x20a79b(0x2e3)],_0x7df805));}[_0x1af128(0x33e)](_0x290133){var _0x83fc99=_0x1af128;try{const _0x400591=_0x290133['data'];switch(_0x400591[_0x83fc99(0x492)]){case _0x1d08ca[_0x83fc99(0x418)]:this['_onUserJoin'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x33d)]:this['_onUserLeave'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x333)]:case _0x1d08ca[_0x83fc99(0x4c4)]:this[_0x83fc99(0x378)](),this[_0x83fc99(0x4ad)](),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x222)]:this[_0x83fc99(0x485)][_0x83fc99(0x479)](_0x83fc99(0x39d)+JSON[_0x83fc99(0x44b)](_0x400591)),this[_0x83fc99(0x3b9)]['next'](_0x400591);break;case _0x1d08ca[_0x83fc99(0x1fc)]:this[_0x83fc99(0x314)]['onCommentUpdate'](_0x400591[_0x83fc99(0x345)]),this['_event$'][_0x83fc99(0x2cb)](_0x400591);break;default:this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);}}catch(_0x230ae3){this['_logService'][_0x83fc99(0x479)](_0x230ae3,_0x290133);}}[_0x1af128(0x45b)](_0x1f0a8e){var _0x188923=_0x1af128;this[_0x188923(0x37c)][_0x188923(0x20a)](this[_0x188923(0x2e3)],_0x1f0a8e[_0x188923(0x345)]);}['_onUserLeave'](_0x56cb83){var _0x13ec04=_0x1af128;this['_memberService'][_0x13ec04(0x3e2)](this['_unitID'],_0x56cb83[_0x13ec04(0x345)][_0x13ec04(0x2a4)]);}async[_0x1af128(0x444)](_0x80a34e,_0x53f338){var _0x5c5ea8=_0x1af128;if(this[_0x5c5ea8(0x495)]!==0x3||!this['_socket'])throw new Error(_0x5c5ea8(0x3fd));try{_0x80a34e[_0x5c5ea8(0x492)]===_0x1d08ca[_0x5c5ea8(0x2b2)]&&(this[_0x5c5ea8(0x2ab)](),this[_0x5c5ea8(0x213)](_0x80a34e)),this[_0x5c5ea8(0x31d)][_0x5c5ea8(0x444)]({'cmd':F[_0x5c5ea8(0x373)],'routeKey':_0x53f338,'routeType':'','data':_0x80a34e});}catch(_0x3e088b){this[_0x5c5ea8(0x485)]['error'](_0x3e088b);}}[_0x1af128(0x2ab)](){var _0x23cca4=_0x1af128,_0x1633be;this[_0x23cca4(0x28c)]=setTimeout(()=>{var _0xc396d1=_0x23cca4;this[_0xc396d1(0x28c)]=null,this[_0xc396d1(0x4b1)][_0xc396d1(0x258)]({'id':se[_0xc396d1(0x3af)]});},(_0x1633be=this['_configService'][_0x23cca4(0x49e)](Si))!=null?_0x1633be:Ei);}[_0x1af128(0x4ad)](){var _0x491710=_0x1af128;this[_0x491710(0x28c)]&&(clearTimeout(this[_0x491710(0x28c)]),this[_0x491710(0x28c)]=null);}[_0x1af128(0x213)](_0x190c14){var _0x57c2e1=_0x1af128;if(!this[_0x57c2e1(0x254)])return;const {data:_0x2c8543}=_0x190c14,{unitID:_0x37a386,changeset:_0x135382}=_0x2c8543,{mutations:_0x581425,type:_0x16daaf}=_0x135382;this[_0x57c2e1(0x37b)]={'unitId':_0x37a386,'type':_0x16daaf,'startTime':performance[_0x57c2e1(0x428)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x581425)};}[_0x1af128(0x378)](){var _0x1b7aed=_0x1af128;if(this[_0x1b7aed(0x254)]){if(!this['_telemetryInfo']){this[_0x1b7aed(0x485)][_0x1b7aed(0x479)](_0x1b7aed(0x259),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1b7aed(0x37b)]['stopTime']=performance[_0x1b7aed(0x428)](),this[_0x1b7aed(0x37b)][_0x1b7aed(0x233)]=this[_0x1b7aed(0x37b)]['stopTime']-this[_0x1b7aed(0x37b)][_0x1b7aed(0x285)],this[_0x1b7aed(0x394)][_0x1b7aed(0x391)](Vn,this[_0x1b7aed(0x37b)]),this[_0x1b7aed(0x37b)]=null;}}[_0x1af128(0x3d0)](){var _0xdb2166=_0x1af128;this[_0xdb2166(0x37b)]=null;}};It=Xn([me(0x2,_0x334ed4),me(0x3,_0xb3f6ba),me(0x4,_0x50b881(_0x3d3898)),me(0x5,_0x50b881(xe)),me(0x6,_0x50b881(Ri)),me(0x7,_0x50b881(pe)),me(0x8,_0x325bd4(_0x3dbc3c))],It);var Zn=Object[_0x1af128(0x4ba)],Qn=Object[_0x1af128(0x3d3)],er=(_0x29a323,_0x52abcd,_0x56da52,_0x67f6e7)=>{for(var _0x53987b=_0x67f6e7>0x1?void 0x0:_0x67f6e7?Qn(_0x52abcd,_0x56da52):_0x52abcd,_0x5efb02=_0x29a323['length']-0x1,_0xda1e06;_0x5efb02>=0x0;_0x5efb02--)(_0xda1e06=_0x29a323[_0x5efb02])&&(_0x53987b=(_0x67f6e7?_0xda1e06(_0x52abcd,_0x56da52,_0x53987b):_0xda1e06(_0x53987b))||_0x53987b);return _0x67f6e7&&_0x53987b&&Zn(_0x52abcd,_0x56da52,_0x53987b),_0x53987b;},ge=(_0x3bfb91,_0xa98021)=>(_0x4b4fc4,_0x1963f3)=>_0xa98021(_0x4b4fc4,_0x1963f3,_0x3bfb91);let Le=class extends _0x1ec030{constructor(_0x49bd31,_0x177a1c,_0x59d771,_0x32b823,_0x5b1ef7,_0x3f506b,_0x1a34ca){var _0x3de4fb=_0x1af128;super(),N(this,_0x3de4fb(0x2bc),new _0x230061(void 0x0)),N(this,_0x3de4fb(0x443),this['_socket$'][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x350),null),N(this,'_sessions',new Map()),N(this,_0x3de4fb(0x3c8),new _0x230061(Te[_0x3de4fb(0x220)])),N(this,_0x3de4fb(0x388),this[_0x3de4fb(0x3c8)][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x415),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3de4fb(0x20d),0x0),N(this,_0x3de4fb(0x27e)),N(this,'_timeoutTimer'),(this[_0x3de4fb(0x367)]=_0x49bd31,this['_logService']=_0x177a1c,this[_0x3de4fb(0x4d1)]=_0x59d771,this[_0x3de4fb(0x44f)]=_0x32b823,this[_0x3de4fb(0x1ea)]=_0x5b1ef7,this[_0x3de4fb(0x4b1)]=_0x3f506b,this[_0x3de4fb(0x204)]=_0x1a34ca,this['_listenToNetworkCondition']());}get[_0x1af128(0x31d)](){var _0x2c911d=_0x1af128;return this[_0x2c911d(0x2bc)][_0x2c911d(0x2f7)]();}[_0x1af128(0x433)](){var _0x42e027=_0x1af128;this[_0x42e027(0x204)]&&this[_0x42e027(0x3b0)](this[_0x42e027(0x204)][_0x42e027(0x429)][_0x42e027(0x26c)](_0x2f0566=>{var _0x40f7df=_0x42e027;_0x2f0566&&!this[_0x40f7df(0x31d)]&&this[_0x40f7df(0x2c9)](),_0x2f0566||this[_0x40f7df(0x359)]();}));}[_0x1af128(0x1d3)](){var _0x2e6ec3=_0x1af128;super[_0x2e6ec3(0x1d3)](),this['_sessions'][_0x2e6ec3(0x30f)](_0x219671=>_0x219671[_0x2e6ec3(0x1d3)]()),this[_0x2e6ec3(0x36d)][_0x2e6ec3(0x348)](),this[_0x2e6ec3(0x3c8)][_0x2e6ec3(0x3b1)]();}async['requireSession'](_0x442f0c){var _0x2443ca=_0x1af128;if(this['_sessions'][_0x2443ca(0x278)](_0x442f0c))return this[_0x2443ca(0x36d)][_0x2443ca(0x416)](_0x442f0c);this[_0x2443ca(0x331)]();const _0x2fea0c=this[_0x2443ca(0x367)][_0x2443ca(0x372)](It,_0x442f0c,this[_0x2443ca(0x2bc)][_0x2443ca(0x2c7)]());return this[_0x2443ca(0x36d)][_0x2443ca(0x255)](_0x442f0c,_0x2fea0c),_0x2fea0c;}[_0x1af128(0x3e9)](_0x2c6a29){var _0x334af3=_0x1af128,_0x2e2cb2;const _0x18e877=this['_sessions'][_0x334af3(0x416)](_0x2c6a29);_0x18e877&&(this['_sessions'][_0x334af3(0x31f)](_0x2c6a29),_0x18e877[_0x334af3(0x3c0)]()),this[_0x334af3(0x36d)][_0x334af3(0x363)]||(_0x2e2cb2=this['_socket'])==null||_0x2e2cb2[_0x334af3(0x3c0)]();}[_0x1af128(0x2c9)](){var _0x4bbd28=_0x1af128;this[_0x4bbd28(0x20d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4bbd28(0x277)]),this['_retryConnectingTimer']=null),this[_0x4bbd28(0x2f5)]();}async[_0x1af128(0x325)](){var _0x1a5e13=_0x1af128,_0x291c71,_0x71e03c,_0x422431;const _0x36c69f=this[_0x1a5e13(0x4d1)]['getConfig'](q),_0x19d4b4=(_0x291c71=_0x36c69f==null?void 0x0:_0x36c69f['wsSessionTicketUrl'])!=null?_0x291c71:On;return(_0x422431=(_0x71e03c=(await this['_httpService'][_0x1a5e13(0x416)](_0x19d4b4,{'headers':{'Content-Type':_0x1a5e13(0x216)}}))['body'])==null?void 0x0:_0x71e03c[_0x1a5e13(0x2e5)])!=null?_0x422431:'';}['_createSocketURL'](_0xb3815a){var _0x239663=_0x1af128,_0x3dbb17,_0x171fdd;const _0x528851=this[_0x239663(0x4d1)]['getConfig'](Rn),_0x556973=this['_configService']['getConfig'](q),_0x1ad877=(_0x171fdd=(_0x3dbb17=_0x556973==null?void 0x0:_0x556973['collabWebSocketUrl'])!=null?_0x3dbb17:_0x528851)!=null?_0x171fdd:bn,_0x735a98=typeof window>'u'?new URL(_0x1ad877):new URL(_0x1ad877,window[_0x239663(0x25e)][_0x239663(0x21a)]);_0x735a98[_0x239663(0x3b4)][_0x239663(0x255)](_0x239663(0x1f5),_0xb3815a);const _0x565908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x239663(0x25e)][_0x239663(0x2f6)]);return _0x565908['get'](_0x239663(0x264))&&_0x735a98['searchParams'][_0x239663(0x255)](_0x239663(0x264),_0x565908['get']('runId')),_0x735a98['toString']();}async[_0x1af128(0x36c)](){var _0xb5aa97=_0x1af128;const _0x9a69ae=await this[_0xb5aa97(0x325)](),_0x42be40=this['_createSocketURL'](_0x9a69ae),_0x26ec61=this[_0xb5aa97(0x44f)][_0xb5aa97(0x252)](_0x42be40);return this[_0xb5aa97(0x350)]=_0x26ec61,_0x26ec61;}async['_tryEnsureSocket'](){var _0x5e93c6=_0x1af128,_0x18b492,_0xb09e36;try{const _0x5a9f73=(_0xb09e36=(_0x18b492=this[_0x5e93c6(0x31d)])!=null?_0x18b492:this[_0x5e93c6(0x350)])!=null?_0xb09e36:await this[_0x5e93c6(0x36c)]();if(_0x5a9f73){const _0x2b1f7b=_0x5a9f73[_0x5e93c6(0x444)];_0x5a9f73[_0x5e93c6(0x444)]=_0x37394d=>(this[_0x5e93c6(0x1eb)](),_0x2b1f7b['apply'](_0x5a9f73,[_0x37394d])),_0x5a9f73[_0x5e93c6(0x45e)]['subscribe'](_0x3970da=>this['_onMessage'](_0x5a9f73,_0x3970da)),_0x5a9f73[_0x5e93c6(0x414)]['pipe'](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0x22f730=>this[_0x5e93c6(0x485)]['error'](_0x5e93c6(0x2d5),_0x22f730)),_0x5a9f73[_0x5e93c6(0x23e)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](()=>{this['_onConnectionOpen'](_0x5a9f73);}),_0x5a9f73[_0x5e93c6(0x409)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0xf3f952=>{var _0xfdaf72=_0x5e93c6;this[_0xfdaf72(0x485)]['debug'](_0xfdaf72(0x3e1),_0xfdaf72(0x43a),_0xf3f952),this[_0xfdaf72(0x33a)]();});}}catch(_0x992d87){this[_0x5e93c6(0x485)][_0x5e93c6(0x479)](_0x992d87),this[_0x5e93c6(0x33a)]();}}[_0x1af128(0x3d5)](_0x1f03e0){var _0x24eecf=_0x1af128;this[_0x24eecf(0x485)]['debug'](_0x24eecf(0x3e1),_0x24eecf(0x4c8)),_0x1f03e0['send']({'cmd':F[_0x24eecf(0x3f4)]}),this[_0x24eecf(0x1eb)]();}[_0x1af128(0x359)](){var _0x65b36d=_0x1af128;this[_0x65b36d(0x415)]=!0x1,this[_0x65b36d(0x350)]=null,this[_0x65b36d(0x3c8)]['next'](Te['OFFLINE']),this[_0x65b36d(0x2bc)][_0x65b36d(0x2cb)](null),this[_0x65b36d(0x203)](),this['_clearHeartbeatTimer']();}[_0x1af128(0x33a)](){var _0xf5a411=_0x1af128,_0x271aba;this[_0xf5a411(0x359)](),this[_0xf5a411(0x20d)]<((_0x271aba=this[_0xf5a411(0x4d1)][_0xf5a411(0x49e)](Pn))!=null?_0x271aba:wn)?(this['_collaborationUIEventService'][_0xf5a411(0x258)]({'id':se[_0xf5a411(0x420)]}),this[_0xf5a411(0x2f5)]()):this[_0xf5a411(0x4b1)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x1af128(0x2f5)](){var _0x40129f=_0x1af128,_0x53b224;const _0x162d80=this[_0x40129f(0x20d)],_0x19d3fc=this[_0x40129f(0x4d1)][_0x40129f(0x49e)](q),_0x5e01e4=_0x162d80===0x0?0x0:((_0x53b224=_0x19d3fc==null?void 0x0:_0x19d3fc[_0x40129f(0x496)])!=null?_0x53b224:Dn)*0x2**_0x162d80;this['_retryConnectingTimer']=setTimeout(()=>{var _0x547c70=_0x40129f;clearTimeout(this[_0x547c70(0x277)]),this[_0x547c70(0x277)]=null,this['_tryEnsureSocket']();},_0x5e01e4),this[_0x40129f(0x20d)]+=0x1;}[_0x1af128(0x44d)](_0x4fa5f9,_0x48bed8){var _0x4cc1e4=_0x1af128;const {cmd:_0x2255d3}=_0x48bed8;_0x2255d3===F['HELLO']&&!this[_0x4cc1e4(0x415)]&&(_0x4fa5f9[_0x4cc1e4(0x2a4)]=_0x48bed8[_0x4cc1e4(0x345)]['memberID'],this[_0x4cc1e4(0x2bc)][_0x4cc1e4(0x2cb)](_0x4fa5f9),this[_0x4cc1e4(0x3c8)][_0x4cc1e4(0x2cb)](Te[_0x4cc1e4(0x336)]),this[_0x4cc1e4(0x415)]=!0x0,this[_0x4cc1e4(0x350)]=null),_0x2255d3===F['HEARTBEAT']&&this[_0x4cc1e4(0x203)](),this['_rescheduleHeartbeat']();}[_0x1af128(0x1eb)](){var _0x50c041=_0x1af128,_0x5cb7c7;this[_0x50c041(0x43c)](),this[_0x50c041(0x27e)]=setTimeout(()=>this[_0x50c041(0x470)](),(_0x5cb7c7=this['_configService'][_0x50c041(0x49e)](yn))!=null?_0x5cb7c7:Nn);}['_sendHeartbeat'](){var _0x5ccd9c=_0x1af128;this[_0x5ccd9c(0x31d)]['send']({'cmd':F[_0x5ccd9c(0x475)]}),this['_waitForHeartbeatResponse']();}[_0x1af128(0x3cd)](){var _0x694731=_0x1af128,_0x19a885;this[_0x694731(0x49a)]=setTimeout(()=>this[_0x694731(0x33a)](),(_0x19a885=this[_0x694731(0x4d1)][_0x694731(0x49e)](Si))!=null?_0x19a885:Ei);}['_clearHeartbeatTimer'](){var _0x20cec5=_0x1af128;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20cec5(0x27e)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x369bf5=_0x1af128;this[_0x369bf5(0x49a)]!=null&&(clearTimeout(this[_0x369bf5(0x49a)]),this[_0x369bf5(0x49a)]=null);}};Le=er([ge(0x0,_0x50b881(_0x339edd)),ge(0x1,_0x334ed4),ge(0x2,_0xb3f6ba),ge(0x3,Ci),ge(0x4,_0x50b881(_0x51273b)),ge(0x5,_0x50b881(pe)),ge(0x6,_0x325bd4(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1af128(0x2ad)]((n+0x100)[_0x1af128(0x4d5)](0x10)[_0x1af128(0x386)](0x1));function tr(_0x520935,_0x30c155=0x0){var _0x54938e=_0x1af128;return(V[_0x520935[_0x30c155+0x0]]+V[_0x520935[_0x30c155+0x1]]+V[_0x520935[_0x30c155+0x2]]+V[_0x520935[_0x30c155+0x3]]+'-'+V[_0x520935[_0x30c155+0x4]]+V[_0x520935[_0x30c155+0x5]]+'-'+V[_0x520935[_0x30c155+0x6]]+V[_0x520935[_0x30c155+0x7]]+'-'+V[_0x520935[_0x30c155+0x8]]+V[_0x520935[_0x30c155+0x9]]+'-'+V[_0x520935[_0x30c155+0xa]]+V[_0x520935[_0x30c155+0xb]]+V[_0x520935[_0x30c155+0xc]]+V[_0x520935[_0x30c155+0xd]]+V[_0x520935[_0x30c155+0xe]]+V[_0x520935[_0x30c155+0xf]])[_0x54938e(0x3fb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x5ddab2=_0x1af128;if(!ut){if(typeof crypto>'u'||!crypto[_0x5ddab2(0x25c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5ddab2(0x25c)][_0x5ddab2(0x1f1)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x1af128(0x2aa)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x12ac45,_0x5c9654,_0x2a4b71){var _0x1ff54e=_0x1af128,_0x34b635,_0x36372e,_0x8298f8;if(qt[_0x1ff54e(0x2aa)]&&!_0x12ac45)return qt[_0x1ff54e(0x2aa)]();_0x12ac45=_0x12ac45||{};const _0x475763=(_0x8298f8=(_0x36372e=_0x12ac45[_0x1ff54e(0x1d7)])!=null?_0x36372e:(_0x34b635=_0x12ac45[_0x1ff54e(0x2be)])==null?void 0x0:_0x34b635[_0x1ff54e(0x3f9)](_0x12ac45))!=null?_0x8298f8:nr();if(_0x475763[_0x1ff54e(0x431)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x475763[0x6]=_0x475763[0x6]&0xf|0x40,_0x475763[0x8]=_0x475763[0x8]&0x3f|0x80,tr(_0x475763);}const J=_0x22f5cd(_0x1af128(0x304));function so(_0x213a4d){var _0x38f52b=_0x1af128;return _0x38f52b(0x20b)+_0x213a4d;}var or=Object[_0x1af128(0x4ba)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x56aad5,_0x38c743,_0x3c6ef6,_0x3e226a)=>{var _0x15f44c=_0x1af128;for(var _0x481e7e=_0x3e226a>0x1?void 0x0:_0x3e226a?ar(_0x38c743,_0x3c6ef6):_0x38c743,_0x131cba=_0x56aad5[_0x15f44c(0x431)]-0x1,_0x33d203;_0x131cba>=0x0;_0x131cba--)(_0x33d203=_0x56aad5[_0x131cba])&&(_0x481e7e=(_0x3e226a?_0x33d203(_0x38c743,_0x3c6ef6,_0x481e7e):_0x33d203(_0x481e7e))||_0x481e7e);return _0x3e226a&&_0x481e7e&&or(_0x38c743,_0x3c6ef6,_0x481e7e),_0x481e7e;},dt=(_0x4fc5db,_0xa363bf)=>(_0x15576d,_0xc3ea2)=>_0xa363bf(_0x15576d,_0xc3ea2,_0x4fc5db);function hr(_0x4a0c70){var _0x5a7596=_0x1af128;const {unitID:_0x154626,mutations:_0x354658}=_0x4a0c70;return{'unitId':_0x154626,'subUnitId':_0x354658[0x0][_0x5a7596(0x311)]['subUnitId']};}let it=class{constructor(_0x3ccea9,_0x17883e,_0x25239f){var _0x5e837b=_0x1af128;this[_0x5e837b(0x367)]=_0x3ccea9,this[_0x5e837b(0x44a)]=_0x17883e,this['_instanceService']=_0x25239f;}[_0x1af128(0x3aa)](_0x3ea5fa){var _0x3f7256=_0x1af128,_0xa6e842,_0xa507a5,_0xcd0041,_0x506449;const _0x327398=this[_0x3f7256(0x367)]['get'](_0x370139),{unitId:_0x564ab2,subUnitId:_0x46a322}=hr(_0x3ea5fa),_0x5d5f89=_0x327398==null?void 0x0:_0x327398[_0x3f7256(0x4cd)](_0x564ab2)[_0x3f7256(0x3bf)](),_0x5227b9=(_0xa507a5=(_0xa6e842=this[_0x3f7256(0x310)][_0x3f7256(0x396)](_0x564ab2))==null?void 0x0:_0xa6e842['getActiveSheet']())==null?void 0x0:_0xa507a5[_0x3f7256(0x44e)]();if(_0x5d5f89['length']===0x0||!_0x564ab2||!_0x46a322)return;const _0x3b4012=[{'id':_0x2d5539['id'],'params':{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x15157c[_0x3f7256(0x2fc)](_0x5d5f89)}}],_0x5e5136=this['_transformService'][_0x3f7256(0x29f)](_0x3ea5fa,_0x3b4012);if(!_0x49a34e(_0x5e5136))throw _0x5e5136[_0x3f7256(0x479)];const _0x1383fe=(_0x506449=(_0xcd0041=_0x5e5136['m2Prime'][0x0])==null?void 0x0:_0xcd0041[_0x3f7256(0x311)])==null?void 0x0:_0x506449[_0x3f7256(0x275)];if(Array[_0x3f7256(0x22f)](_0x1383fe)&&_0x1383fe[_0x3f7256(0x431)]){if(_0x1383fe[_0x3f7256(0x431)]===_0x3b4012[0x0][_0x3f7256(0x311)]['selections'][_0x3f7256(0x431)]&&_0x1383fe[_0x3f7256(0x481)]((_0x2fcf7a,_0x37d130)=>_0x47e43a[_0x3f7256(0x454)](_0x2fcf7a[_0x3f7256(0x25b)],_0x3b4012[0x0][_0x3f7256(0x311)][_0x3f7256(0x275)][_0x37d130][_0x3f7256(0x25b)])))return;this[_0x3f7256(0x367)][_0x3f7256(0x416)](_0x4f3e11)[_0x3f7256(0x283)](_0x2d5539['id'],{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x1383fe});}}};it=cr([dt(0x0,_0x50b881(_0x339edd)),dt(0x1,_0x207f44),dt(0x2,_0x42b8e7)],it);const ht=_0x22f5cd('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4bef2d=>(_0x4bef2d[_0x4bef2d[_0x1af128(0x456)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4bef2d[_0x4bef2d[_0x1af128(0x212)]=0x1]='OTHER_CLIENTS_EDITING',_0x4bef2d))(bi||{});const _r=new Set([_0x361fa7['id']]);function zt(_0x144034,_0x1060e5,_0x3a7ed4,_0xdef30,_0x2564d8){var _0x365fcc=_0x1af128,_0xb44493,_0x6898fc,_0x2f2ed9,_0x236de7;const _0x154c46=[];for(const _0x2ce3f3 of _0x144034)if(_r[_0x365fcc(0x278)](_0x2ce3f3['id'])){if(_0x154c46['length']>0x0)break;_0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);break;}else _0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);const _0x138525=(_0x6898fc=(_0xb44493=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0xb44493[_0x365fcc(0x2c6)])!=null?_0x6898fc:'unknown',_0x33fda6=(_0x236de7=(_0x2f2ed9=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0x2f2ed9[_0x365fcc(0x2a4)])!=null?_0x236de7:'unknown';return{'changeset':{'unitID':_0x1060e5,'type':_0x3450b7(_0x3a7ed4[_0x365fcc(0x26a)](_0x1060e5)),'baseRev':_0xdef30[_0x365fcc(0x224)](_0x1060e5),'revision':0x0,'userID':_0x138525,'memberID':_0x33fda6,'mutations':_0x154c46},'pendingMutations':_0x144034[_0x365fcc(0x386)](_0x154c46[_0x365fcc(0x431)])};}function lr(_0x48e31e,_0x5d643e,_0x1b3807,_0x5ba7e4,_0x58f67c){var _0x1ff6d9=_0x1af128,_0x378d0b,_0x1be4bc,_0x922ef4,_0x321676;const _0x584fea=[_0x48e31e[_0x1ff6d9(0x327)]((_0x5688b2,_0x5db1d8)=>{var _0x4a8315=_0x1ff6d9,_0x4b670f;const {id:_0x1b4f6d}=_0x5688b2,{id:_0x27841b,type:_0x990842}=_0x5db1d8,_0x4c47de=(_0x4b670f=_0x5688b2[_0x4a8315(0x311)])!=null?_0x4b670f:{'actions':null},_0x19a4e3=_0x5db1d8[_0x4a8315(0x311)];if(_0x1b4f6d&&_0x1b4f6d!==_0x27841b)throw new Error(_0x4a8315(0x309)+_0x1b4f6d+'\x20-\x20'+_0x27841b+'.');return{..._0x5688b2,'id':_0x27841b,'type':_0x990842,'params':{'unitId':_0x19a4e3[_0x4a8315(0x379)],'textRanges':_0x19a4e3[_0x4a8315(0x3c1)],'actions':_0x4890ac[_0x4a8315(0x398)](_0x4c47de['actions'],_0x19a4e3[_0x4a8315(0x366)])}};},{})],_0x179378=(_0x1be4bc=(_0x378d0b=_0x58f67c[_0x1ff6d9(0x1dc)]())==null?void 0x0:_0x378d0b[_0x1ff6d9(0x2c6)])!=null?_0x1be4bc:_0x1ff6d9(0x2a7),_0x3f9e72=(_0x321676=(_0x922ef4=_0x58f67c['getCurrentUser']())==null?void 0x0:_0x922ef4[_0x1ff6d9(0x2a4)])!=null?_0x321676:'unknown';return{'changeset':{'unitID':_0x5d643e,'type':_0x3450b7(_0x1b3807[_0x1ff6d9(0x26a)](_0x5d643e)),'baseRev':_0x5ba7e4[_0x1ff6d9(0x224)](_0x5d643e),'revision':0x0,'userID':_0x179378,'memberID':_0x3f9e72,'mutations':_0x584fea},'pendingMutations':[]};}function Oi(_0x11efea,_0x184cad){var _0xf434e4=_0x1af128;const _0x2ed9ed=new _0x55eb7f(0x1);return setTimeout(()=>_0x2ed9ed[_0xf434e4(0x2cb)](_0x184cad),_0x11efea),_0x2ed9ed[_0xf434e4(0x2c7)]()['pipe'](_0x2a8f0e(0x1));}const ur={'id':_0x1a6a86['id'],'type':_0x572a97[_0x1af128(0x480)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x1af128(0x3d3)],Re=(_0xcf857a,_0x1cc08e,_0x33c596,_0x590512)=>{var _0x309fc5=_0x1af128;for(var _0x4d7ddb=_0x590512>0x1?void 0x0:_0x590512?fr(_0x1cc08e,_0x33c596):_0x1cc08e,_0x8ee662=_0xcf857a[_0x309fc5(0x431)]-0x1,_0x118ce3;_0x8ee662>=0x0;_0x8ee662--)(_0x118ce3=_0xcf857a[_0x8ee662])&&(_0x4d7ddb=(_0x590512?_0x118ce3(_0x1cc08e,_0x33c596,_0x4d7ddb):_0x118ce3(_0x4d7ddb))||_0x4d7ddb);return _0x590512&&_0x4d7ddb&&dr(_0x1cc08e,_0x33c596,_0x4d7ddb),_0x4d7ddb;},A=(_0xfcb904,_0x4bcc74)=>(_0x5c1cc9,_0x4e2d62)=>_0x4bcc74(_0x5c1cc9,_0x4e2d62,_0xfcb904),yi=(_0x1a8b2b=>(_0x1a8b2b[_0x1af128(0x22a)]='not_collab',_0x1a8b2b[_0x1af128(0x380)]=_0x1af128(0x49f),_0x1a8b2b['PENDING']='pending',_0x1a8b2b[_0x1af128(0x384)]=_0x1af128(0x3fe),_0x1a8b2b['AWAITING_WITH_PENDING']=_0x1af128(0x34c),_0x1a8b2b[_0x1af128(0x1ff)]=_0x1af128(0x4cb),_0x1a8b2b[_0x1af128(0x3dc)]=_0x1af128(0x47e),_0x1a8b2b[_0x1af128(0x2b8)]=_0x1af128(0x375),_0x1a8b2b))(yi||{});const Ni=0xea60;class be{constructor(_0x5452d5,_0x19fc95,_0x626838,_0x418af8,_0x4b06de,_0x5cfa51,_0x1ac612,_0x561631,_0x28701a){var _0x2b687f=_0x1af128;N(this,_0x2b687f(0x4d0),null),N(this,_0x2b687f(0x28d),[]),(this[_0x2b687f(0x1fa)]=_0x5452d5,this[_0x2b687f(0x417)]=_0x19fc95,this['_handler']=_0x4b06de,this[_0x2b687f(0x32c)]=_0x5cfa51,this[_0x2b687f(0x1ee)]=_0x1ac612,this['_revisionService']=_0x561631,this[_0x2b687f(0x1e8)]=_0x28701a,this['_awaitingChangeset']=_0x626838,this[_0x2b687f(0x28d)]=_0x418af8);}[_0x1af128(0x274)](_0x5b956b){var _0x30c0af=_0x1af128;const _0x227a47=this[_0x30c0af(0x1f3)][_0x30c0af(0x224)](this[_0x30c0af(0x1fa)]);return _0x5b956b[_0x30c0af(0x244)]>_0x227a47+0x1?(this[_0x30c0af(0x321)]['onMissingChangesets']({'from':_0x227a47,'to':_0x5b956b[_0x30c0af(0x244)]-0x1}),!0x0):!0x1;}[_0x1af128(0x2f9)](_0x134ec1){var _0x3a7924=_0x1af128;this['_undoRedoService'][_0x3a7924(0x2de)](this['unitID'],_0x134ec1);}[_0x1af128(0x353)](_0xe19362){var _0x2f9d66=_0x1af128,_0x36b68b,_0x243c67;(_0x243c67=(_0x36b68b=this['_handler'])['onTransformSelections'])==null||_0x243c67[_0x2f9d66(0x3f9)](_0x36b68b,_0xe19362);}[_0x1af128(0x2b5)](_0x53ecc1){var _0x5c280a=_0x1af128,_0x37d63a,_0x1ef900;return(_0x1ef900=(_0x37d63a=this[_0x5c280a(0x321)])[_0x5c280a(0x457)])==null?void 0x0:_0x1ef900['call'](_0x37d63a,_0x53ecc1);}[_0x1af128(0x343)](_0x5c509e){var _0x29d7e7=_0x1af128,_0x4fc22d,_0x585d9e;return(_0x585d9e=(_0x4fc22d=this[_0x29d7e7(0x321)])[_0x29d7e7(0x36e)])==null?void 0x0:_0x585d9e[_0x29d7e7(0x3f9)](_0x4fc22d,_0x5c509e);}[_0x1af128(0x4d6)](_0x4db1cf){var _0x2e5dc8=_0x1af128,_0x3c8b19,_0xbfdfb2,_0x5131fb;return(_0x5131fb=(_0xbfdfb2=(_0x3c8b19=this[_0x2e5dc8(0x321)])[_0x2e5dc8(0x45d)])==null?void 0x0:_0xbfdfb2[_0x2e5dc8(0x3f9)](_0x3c8b19,_0x4db1cf))!=null?_0x5131fb:_0x4db1cf;}[_0x1af128(0x3a4)](_0x2f355b){var _0x3612c9=_0x1af128,_0x20f550,_0x256ea9,_0xccc4b;return(_0xccc4b=(_0x256ea9=(_0x20f550=this[_0x3612c9(0x321)])[_0x3612c9(0x2c1)])==null?void 0x0:_0x256ea9[_0x3612c9(0x3f9)](_0x20f550,_0x2f355b))!=null?_0xccc4b:_0x2f355b;}[_0x1af128(0x3a8)](_0xb540d8){var _0x515809=_0x1af128,_0x191589,_0x87a6b7;if(this[_0x515809(0x417)]===Q[_0x515809(0x43b)]){const {unitID:_0x4c6871,mutations:_0x4eef9b,memberID:_0x11935b}=_0xb540d8,_0x244317=_0x4eef9b[0x0][_0x515809(0x311)]['textRanges'];Array['isArray'](_0x244317)&&_0x244317['length']>0x0&&((_0x87a6b7=(_0x191589=this[_0x515809(0x321)])[_0x515809(0x221)])==null||_0x87a6b7['call'](_0x191589,{'unitID':_0x4c6871,'memberID':_0x11935b,'textRanges':_0x244317}));}}['_updateLocalCache'](){var _0x298343=_0x1af128,_0x2ccae2;(_0x2ccae2=this[_0x298343(0x1e8)])==null||_0x2ccae2['updateOfflineData'](this['unitID'],this['type'],this[_0x298343(0x4d0)],this['_pendingMutations']);}[_0x1af128(0x490)](){var _0x49bb82=_0x1af128;return this[_0x49bb82(0x1f3)][_0x49bb82(0x224)](this[_0x49bb82(0x1fa)]);}[_0x1af128(0x28e)](){var _0x146c45=_0x1af128;this[_0x146c45(0x1f3)][_0x146c45(0x236)](this['unitID']);}[_0x1af128(0x464)](_0x45993e){var _0x38eabd=_0x1af128,_0x461da1;let _0x24a6fe=this[_0x38eabd(0x4d6)](_0x45993e);_0x24a6fe=this[_0x38eabd(0x3a4)](_0x24a6fe);const _0x3bc693=_0x596acb(_0x24a6fe[_0x38eabd(0x4a4)],this[_0x38eabd(0x32c)],{'fromCollab':!0x0});if(!_0x3bc693[_0x38eabd(0x371)])throw _0x3bc693['error']instanceof Error?_0x3bc693[_0x38eabd(0x479)]:new Error((_0x461da1=_0x3bc693['error'])!=null?_0x461da1:_0x38eabd(0x4a0));this[_0x38eabd(0x2b5)](_0x24a6fe),this[_0x38eabd(0x343)](_0x24a6fe),this[_0x38eabd(0x2f9)](_0x45993e),this[_0x38eabd(0x353)](_0x24a6fe),this['_syncEditingCollabCursor'](_0x24a6fe),this[_0x38eabd(0x28e)]();}}let De=class extends be{constructor(_0xc5cb0f,_0x5207c1,_0x56807e,_0x5b688a,_0x33cf44,_0x42253b,_0x30d3ae,_0x548dcc,_0x55ba4b,_0x407aac){var _0xcf747e=_0x1af128;super(_0xc5cb0f,_0x5207c1,null,[],_0x56807e,_0x30d3ae,_0x42253b,_0x5b688a,_0x407aac),N(this,_0xcf747e(0x29e),_0xcf747e(0x49f)),(this[_0xcf747e(0x367)]=_0x33cf44,this[_0xcf747e(0x485)]=_0x548dcc,this['_transformService']=_0x55ba4b,this[_0xcf747e(0x2e8)]=_0x407aac);}[_0x1af128(0x2a1)](_0x272b55){var _0x523f3e=_0x1af128;const _0x126074=this['_injector']['createInstance'](oe,this[_0x523f3e(0x1fa)],this[_0x523f3e(0x417)],[_0x272b55],this[_0x523f3e(0x321)]);return _0x126074[_0x523f3e(0x4b7)](),_0x126074[_0x523f3e(0x1ed)](),_0x126074;}[_0x1af128(0x22b)](_0x3d395b){var _0x5591a8=_0x1af128;if(this[_0x5591a8(0x274)](_0x3d395b))return this['_injector'][_0x5591a8(0x372)](te,this[_0x5591a8(0x1fa)],this[_0x5591a8(0x417)],null,[],null,[_0x3d395b],this['_handler']);try{const _0x409bbe=this[_0x5591a8(0x44a)][_0x5591a8(0x29f)](_0x3d395b,[ur]);if(_0x49a34e(_0x409bbe)){const {c1Prime:_0x4a6813}=_0x409bbe;return this[_0x5591a8(0x464)](_0x4a6813),this;}throw _0x409bbe[_0x5591a8(0x479)];}catch(_0x1cdf7a){return this[_0x5591a8(0x485)][_0x5591a8(0x479)](_0x1cdf7a),this[_0x5591a8(0x438)](!0x1);}}[_0x1af128(0x438)](_0x385f46){var _0x2a6040=_0x1af128;return this[_0x2a6040(0x367)][_0x2a6040(0x372)](de,this[_0x2a6040(0x1fa)],this[_0x2a6040(0x417)],null,[],this[_0x2a6040(0x321)],_0x385f46);}[_0x1af128(0x4b0)](){var _0x618c34=_0x1af128;throw new Error(_0x618c34(0x3ad));}[_0x1af128(0x37e)](){var _0x52bee9=_0x1af128;throw new Error(_0x52bee9(0x26e));}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x4007c4=_0x1af128;return this[_0x4007c4(0x367)][_0x4007c4(0x372)](fe,this[_0x4007c4(0x1fa)],this[_0x4007c4(0x417)],null,[],this[_0x4007c4(0x321)]);}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x264132=_0x1af128;throw new Error(_0x264132(0x466));}[_0x1af128(0x261)](){var _0xe75e67=_0x1af128;const _0x221a38=this[_0xe75e67(0x1f3)][_0xe75e67(0x224)](this['unitID']);return this[_0xe75e67(0x321)][_0xe75e67(0x269)]({'from':_0x221a38,'to':0x0}),this[_0xe75e67(0x367)][_0xe75e67(0x372)](te,this[_0xe75e67(0x1fa)],this['type'],null,[],null,[],this[_0xe75e67(0x321)]);}};De=Re([A(0x3,_0x50b881(_0x1c117d)),A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x16445d),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x325bd4(J))],De);let oe=class extends be{constructor(_0x2caa22,_0x24ba8c,_0x1a160a,_0x27920a,_0x1ed471,_0x488a75,_0x4d3fbb,_0x119206,_0xcfb6d9,_0x1a572e,_0x76ddcd,_0x669117,_0x245ec4,_0x43ac96){var _0x566615=_0x1af128;super(_0x2caa22,_0x24ba8c,null,_0x1a160a,_0x27920a,_0xcfb6d9,_0x245ec4,_0x488a75,_0x43ac96),N(this,_0x566615(0x29e),_0x566615(0x486)),N(this,_0x566615(0x32f),null),N(this,_0x566615(0x43f),null),(this[_0x566615(0x367)]=_0x1ed471,this[_0x566615(0x37c)]=_0x4d3fbb,this[_0x566615(0x485)]=_0x119206,this[_0x566615(0x4d1)]=_0x1a572e,this['_transformService']=_0x76ddcd,this[_0x566615(0x332)]=_0x669117);}[_0x1af128(0x2a1)](_0x4a70ac){var _0xe686bb=_0x1af128;return this['_pendingMutations'][_0xe686bb(0x2ad)](_0x4a70ac),this[_0xe686bb(0x1ed)](),this;}[_0x1af128(0x22b)](_0x295ec6){var _0x491d2f=_0x1af128;if(this[_0x491d2f(0x274)](_0x295ec6))return this[_0x491d2f(0x1e0)](),this['_injector'][_0x491d2f(0x372)](te,this[_0x491d2f(0x1fa)],this[_0x491d2f(0x417)],null,this['_pendingMutations'],null,[_0x295ec6],this['_handler']);try{const _0x281e52=this[_0x491d2f(0x44a)][_0x491d2f(0x29f)](_0x295ec6,this[_0x491d2f(0x28d)]);if(_0x49a34e(_0x281e52)){const {c1Prime:_0x3bd7f9,m2Prime:_0x5937e2}=_0x281e52;this[_0x491d2f(0x464)](_0x3bd7f9);const _0x19b492=this[_0x491d2f(0x367)][_0x491d2f(0x372)](oe,this['unitID'],this[_0x491d2f(0x417)],_0x5937e2,this['_handler']);this['_clearScheduledTask']();const _0xa0e110=new Date()[_0x491d2f(0x219)](),_0x921ea1=this[_0x491d2f(0x32f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xa0e110,0x0):this[_0x491d2f(0x2ec)]();return _0x19b492[_0x491d2f(0x4b7)](_0x921ea1),_0x19b492;}throw _0x281e52[_0x491d2f(0x479)];}catch(_0x2e7838){return this['_logService'][_0x491d2f(0x479)](_0x2e7838),this[_0x491d2f(0x438)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1af128(0x37e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x1ba3e1=_0x1af128;return this['_clearScheduledTask'](),this[_0x1ba3e1(0x367)][_0x1ba3e1(0x372)](fe,this[_0x1ba3e1(0x1fa)],this['type'],null,this[_0x1ba3e1(0x28d)],this[_0x1ba3e1(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x4b7)](_0x2f9cdf){var _0x49af8a=_0x1af128;const _0x46ac41=_0x2f9cdf!=null?_0x2f9cdf:this['_getSendChangesetTimeout']();this[_0x49af8a(0x32f)]=new Date()[_0x49af8a(0x219)]()+_0x46ac41,this[_0x49af8a(0x43f)]=setTimeout(()=>{var _0x1ebecc=_0x49af8a;this[_0x1ebecc(0x1e0)]();let _0x4b988f=null;switch(this[_0x1ebecc(0x417)]){case Q['UNIVER_SHEET']:{_0x4b988f=zt(this['_pendingMutations'],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}case Q[_0x1ebecc(0x43b)]:{this[_0x1ebecc(0x28d)][_0x1ebecc(0x481)](_0x22b333=>_0x22b333['id']===_0x582104['id'])?_0x4b988f=lr(this[_0x1ebecc(0x28d)],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this[_0x1ebecc(0x37c)]):_0x4b988f=zt(this['_pendingMutations'],this[_0x1ebecc(0x1fa)],this['_univerInstanceService'],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}default:throw new Error(_0x1ebecc(0x385)+this[_0x1ebecc(0x417)]+_0x1ebecc(0x406));}const {changeset:_0x21432f,pendingMutations:_0x19f671}=_0x4b988f;this['_handler'][_0x1ebecc(0x22c)](_0x21432f);const _0x18ae4f=_0x19f671[_0x1ebecc(0x431)]?this[_0x1ebecc(0x367)]['createInstance'](ae,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,_0x19f671,this[_0x1ebecc(0x321)],void 0x0):this[_0x1ebecc(0x367)][_0x1ebecc(0x372)](ue,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,this[_0x1ebecc(0x321)]);_0x18ae4f[_0x1ebecc(0x1ed)](),this[_0x1ebecc(0x321)][_0x1ebecc(0x248)](this,_0x18ae4f);},_0x46ac41);}[_0x1af128(0x2ec)](){var _0x308b26=_0x1af128,_0x2af338;const _0x2b8d04=this['_configService']['getConfig'](q);return(_0x2af338=_0x2b8d04==null?void 0x0:_0x2b8d04[_0x308b26(0x25a)])!=null?_0x2af338:Cn;}[_0x1af128(0x2b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1af128(0x1e0)](){var _0x3cc3d2=_0x1af128;this[_0x3cc3d2(0x43f)]!=null&&(clearTimeout(this[_0x3cc3d2(0x43f)]),this['_sendingTimer']=null);}[_0x1af128(0x438)](_0x291f2e){var _0x279457=_0x1af128;return this['_clearScheduledTask'](),this[_0x279457(0x367)][_0x279457(0x372)](de,this[_0x279457(0x1fa)],this['type'],null,this[_0x279457(0x28d)],this['_handler'],_0x291f2e);}};oe=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x50b881(xe)),A(0x7,_0x334ed4),A(0x8,_0x4f3e11),A(0x9,_0xb3f6ba),A(0xa,_0x207f44),A(0xb,_0x42b8e7),A(0xc,_0x16445d),A(0xd,_0x325bd4(J))],oe);let ue=class extends be{constructor(_0x55d0a2,_0x243cd0,_0x55b659,_0x28e219,_0x4af1c9,_0x210a34,_0x23db15,_0x4fde02,_0x43537f,_0x4a67a2,_0xacccc8){var _0x56d2d7=_0x1af128;super(_0x55d0a2,_0x243cd0,_0x55b659,[],_0x28e219,_0x23db15,_0x4a67a2,_0x210a34,_0xacccc8),N(this,_0x56d2d7(0x29e),_0x56d2d7(0x3fe)),N(this,'_resendTimeout',0x0),N(this,_0x56d2d7(0x21c)),N(this,_0x56d2d7(0x33c)),(this['_injector']=_0x4af1c9,this[_0x56d2d7(0x485)]=_0x4fde02,this[_0x56d2d7(0x44a)]=_0x43537f);}['appendMutation'](_0x56bfbc){var _0x18aa0e=_0x1af128;this['_clearScheduledTask']();const _0x890be3=this[_0x18aa0e(0x367)]['createInstance'](ae,this[_0x18aa0e(0x1fa)],this['type'],this['_awaitingChangeset'],[_0x56bfbc],this[_0x18aa0e(0x321)],this['_resendTimer']);return _0x890be3[_0x18aa0e(0x1ed)](),_0x890be3;}[_0x1af128(0x22b)](_0x1e8534){var _0x10a45c=_0x1af128;if(this['_checkMissing'](_0x1e8534))return this[_0x10a45c(0x1e0)](),this['_injector']['createInstance'](te,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],this[_0x10a45c(0x4d0)],[],null,[_0x1e8534],this[_0x10a45c(0x321)]);try{const _0x3e405f=this[_0x10a45c(0x44a)][_0x10a45c(0x45f)]([_0x1e8534],[this[_0x10a45c(0x4d0)]],!0x1);if(_0x397f0a(_0x3e405f)){const {c1Prime:_0x283a7a,c2Prime:_0x5aaa27}=_0x3e405f;this[_0x10a45c(0x464)](_0x283a7a[0x0]),_0x5aaa27[0x0][_0x10a45c(0x2d2)]=this['_getCurrentRevision'](),this[_0x10a45c(0x1e0)]();const _0x343eba=this[_0x10a45c(0x367)][_0x10a45c(0x372)](ue,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],_0x5aaa27[0x0],this['_handler']);return _0x343eba[_0x10a45c(0x1ed)](),_0x343eba;}return this[_0x10a45c(0x438)](!0x1);}catch(_0x2628d3){return this[_0x10a45c(0x485)][_0x10a45c(0x479)](_0x2628d3),this[_0x10a45c(0x438)](!0x1);}}[_0x1af128(0x4b0)](_0x4ce7c5){var _0x3df313=_0x1af128;this[_0x3df313(0x1e0)]();const _0x28d079=this['_revisionService'][_0x3df313(0x224)](this[_0x3df313(0x1fa)]);if(_0x4ce7c5[_0x3df313(0x244)]<_0x28d079-0x1)return this;if(this[_0x3df313(0x274)](_0x4ce7c5))return this[_0x3df313(0x367)][_0x3df313(0x372)](te,this[_0x3df313(0x1fa)],this[_0x3df313(0x417)],null,[],this[_0x3df313(0x4d0)],[],this['_handler']);this[_0x3df313(0x28e)]();const _0x377af5=this[_0x3df313(0x367)]['createInstance'](De,this['unitID'],this[_0x3df313(0x417)],this[_0x3df313(0x321)]);return _0x377af5[_0x3df313(0x1ed)](),_0x377af5;}[_0x1af128(0x37e)](_0x3b8826){var _0x4fd6fb=_0x1af128;return this['_onConflict'](!!(_0x3b8826!=null&&_0x3b8826[_0x4fd6fb(0x3ec)]));}[_0x1af128(0x1d9)](_0x5764b1){var _0xd12ca9=_0x1af128;return this[_0xd12ca9(0x20e)]>Ni?this[_0xd12ca9(0x24e)]():(this['_resendTimer']=Oi(this[_0xd12ca9(0x20e)],{'timeout':this['_resendTimeout'],'reqId':_0x5764b1[_0xd12ca9(0x467)]}),this['_sender']=this[_0xd12ca9(0x21c)][_0xd12ca9(0x26c)](({reqId:_0x13a7ab,timeout:_0x452649})=>{var _0x1f83a1=_0xd12ca9;this[_0x1f83a1(0x455)](_0x13a7ab,_0x452649);}),this);}['toggleOffline'](){var _0x43b3a7=_0x1af128;return this[_0x43b3a7(0x1e0)](),this[_0x43b3a7(0x367)][_0x43b3a7(0x372)](fe,this[_0x43b3a7(0x1fa)],this[_0x43b3a7(0x417)],this['_awaitingChangeset'],[],this[_0x43b3a7(0x321)]);}['toggleOnline'](){return this;}[_0x1af128(0x2b9)](){var _0x4bf26e=_0x1af128;this[_0x4bf26e(0x321)]['onSendChangeset'](this[_0x4bf26e(0x4d0)]);}[_0x1af128(0x438)](_0xd521){var _0x2e7ffd=_0x1af128;return this[_0x2e7ffd(0x1e0)](),this[_0x2e7ffd(0x367)][_0x2e7ffd(0x372)](de,this[_0x2e7ffd(0x1fa)],this['type'],this[_0x2e7ffd(0x4d0)],[],this['_handler'],_0xd521);}['_resendWithTimeout'](_0x1145a6,_0x2fcd8d){var _0x111507=_0x1af128,_0x2331c1;_0x1145a6===((_0x2331c1=this['_awaitingChangeset'])==null?void 0x0:_0x2331c1[_0x111507(0x467)])&&(this[_0x111507(0x2b9)](),this[_0x111507(0x20e)]=_0x2fcd8d===0x0?0x3e8:_0x2fcd8d*0x2);}[_0x1af128(0x1e0)](){var _0x2926cc=_0x1af128,_0xf68538;(_0xf68538=this[_0x2926cc(0x33c)])==null||_0xf68538[_0x2926cc(0x1f6)](),this[_0x2926cc(0x20e)]=0x0;}};ue=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x16445d),A(0xa,_0x325bd4(J))],ue);let ae=class extends be{constructor(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x3d0499,_0xbe8f19,_0x867186,_0x49aa0f,_0x28bb49,_0x1bf708,_0x161f65,_0x513ee9){var _0x2917e1=_0x1af128;super(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x49aa0f,_0x161f65,_0x867186,_0x513ee9),N(this,_0x2917e1(0x29e),_0x2917e1(0x34c)),N(this,_0x2917e1(0x20e),0x0),N(this,_0x2917e1(0x21c)),N(this,_0x2917e1(0x33c)),(this[_0x2917e1(0x367)]=_0xbe8f19,this[_0x2917e1(0x485)]=_0x28bb49,this[_0x2917e1(0x44a)]=_0x1bf708,this[_0x2917e1(0x2e8)]=_0x513ee9,_0x3d0499&&(this[_0x2917e1(0x21c)]=_0x3d0499,this[_0x2917e1(0x33c)]=this[_0x2917e1(0x21c)][_0x2917e1(0x26c)](({reqId:_0x4d9e82,timeout:_0x27bbd6})=>{this['_resendWithTimeout'](_0x4d9e82,_0x27bbd6);})));}[_0x1af128(0x2a1)](_0x169b43){var _0x39f2ce=_0x1af128;return this[_0x39f2ce(0x28d)]['push'](_0x169b43),this;}[_0x1af128(0x22b)](_0x33f308){var _0x8e7c51=_0x1af128;if(this[_0x8e7c51(0x274)](_0x33f308))return this[_0x8e7c51(0x1e0)](),this[_0x8e7c51(0x367)]['createInstance'](te,this[_0x8e7c51(0x1fa)],this[_0x8e7c51(0x417)],this[_0x8e7c51(0x4d0)],this[_0x8e7c51(0x28d)],null,[_0x33f308],this[_0x8e7c51(0x321)]);try{const _0x14bbbf=this['_transformService'][_0x8e7c51(0x45f)]([_0x33f308],[this[_0x8e7c51(0x4d0)]],!0x1);if(_0x397f0a(_0x14bbbf)){const {c1Prime:_0x542f83,c2Prime:_0x38abbb}=_0x14bbbf,_0x5b3357=this['_transformService']['transformMutationsWithChangeset'](_0x542f83[0x0],this[_0x8e7c51(0x28d)]);if(_0x49a34e(_0x5b3357)){const {c1Prime:_0x11095f,m2Prime:_0x4c2376}=_0x5b3357;return this['_executeRemoteChangeset'](_0x11095f),_0x38abbb[0x0]['baseRev']=this[_0x8e7c51(0x490)](),this[_0x8e7c51(0x1e0)](),this['_injector'][_0x8e7c51(0x372)](ae,this['unitID'],this['type'],_0x38abbb[0x0],_0x4c2376,this['_handler'],void 0x0);}throw _0x5b3357[_0x8e7c51(0x479)];}throw _0x14bbbf[_0x8e7c51(0x479)];}catch(_0x20f44b){return this['_logService'][_0x8e7c51(0x479)](_0x20f44b),this['_onConflict'](!0x1);}}[_0x1af128(0x4b0)](_0x1d75f5){var _0x527237=_0x1af128;if(this[_0x527237(0x1e0)](),this[_0x527237(0x274)](_0x1d75f5))return this[_0x527237(0x367)][_0x527237(0x372)](te,this[_0x527237(0x1fa)],this[_0x527237(0x417)],null,this[_0x527237(0x28d)],this[_0x527237(0x4d0)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x57138d=this['_injector'][_0x527237(0x372)](oe,this[_0x527237(0x1fa)],this[_0x527237(0x417)],this[_0x527237(0x28d)],this[_0x527237(0x321)]);return _0x57138d[_0x527237(0x4b7)](),_0x57138d['_updateLocalCache'](),_0x57138d;}['onRemoteRej'](_0x26de52){var _0x52ce30=_0x1af128;return this[_0x52ce30(0x438)](!!(_0x26de52!=null&&_0x26de52['isPermissionRej']));}[_0x1af128(0x1d9)](_0x2c516f){var _0x50bdec=_0x1af128;return this[_0x50bdec(0x20e)]>Ni?this['toggleOffline']():(this[_0x50bdec(0x21c)]=Oi(this['_resendTimeout'],{'timeout':this[_0x50bdec(0x20e)],'reqId':_0x2c516f['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x39d8ea,timeout:_0x241cde})=>{this['_resendWithTimeout'](_0x39d8ea,_0x241cde);}),this);}[_0x1af128(0x24e)](){var _0x5e4fa6=_0x1af128;return this[_0x5e4fa6(0x1e0)](),this[_0x5e4fa6(0x367)][_0x5e4fa6(0x372)](fe,this[_0x5e4fa6(0x1fa)],this['type'],this[_0x5e4fa6(0x4d0)],this[_0x5e4fa6(0x28d)],this[_0x5e4fa6(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x2b9)](){var _0x4028af=_0x1af128;this[_0x4028af(0x321)][_0x4028af(0x22c)](this[_0x4028af(0x4d0)]);}[_0x1af128(0x438)](_0x35860a){var _0x959105=_0x1af128;return this['_clearScheduledTask'](),this[_0x959105(0x367)][_0x959105(0x372)](de,this['unitID'],this[_0x959105(0x417)],null,this[_0x959105(0x28d)],this['_handler'],_0x35860a);}[_0x1af128(0x455)](_0x4004ad,_0x49d8e4){var _0xb449eb=_0x1af128,_0x5e1c74;_0x4004ad===((_0x5e1c74=this['_awaitingChangeset'])==null?void 0x0:_0x5e1c74[_0xb449eb(0x467)])&&(this[_0xb449eb(0x2b9)](),this['_resendTimeout']=_0x49d8e4===0x0?0x3e8:_0x49d8e4*0x2);}[_0x1af128(0x1e0)](){var _0x1f48ba=_0x1af128,_0x4a1ca7;(_0x4a1ca7=this[_0x1f48ba(0x33c)])==null||_0x4a1ca7['unsubscribe'](),this[_0x1f48ba(0x20e)]=0x0;}};ae=Re([A(0x6,_0x50b881(_0x339edd)),A(0x7,_0x50b881(_0x1c117d)),A(0x8,_0x4f3e11),A(0x9,_0x334ed4),A(0xa,_0x207f44),A(0xb,_0x16445d),A(0xc,_0x325bd4(J))],ae);let de=class extends be{constructor(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x5a7555=!0x1,_0x4e2bf3,_0x39fa02,_0x483409,_0x317f14,_0x554848,_0x5fdd6b,_0x1cba7f){var _0x3ff97d=_0x1af128;super(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x39fa02,_0x483409,_0x317f14,_0x1cba7f),N(this,'status',_0x3ff97d(0x47e)),(this[_0x3ff97d(0x334)]=_0x5a7555,this['_permissionService']=_0x4e2bf3,this[_0x3ff97d(0x4c2)]=_0x554848,this['_collaborationUIEventService']=_0x5fdd6b,this[_0x3ff97d(0x2e8)]=_0x1cba7f,this[_0x3ff97d(0x4c3)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x1af128(0x22b)](){return this;}['onRemoteAck'](){return this;}[_0x1af128(0x37e)](){return this;}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x388775=_0x1af128;throw new Error(_0x388775(0x34a));}['_clearLocalCache'](){var _0xd9bee5=_0x1af128,_0x5ad1cf;(_0x5ad1cf=this[_0xd9bee5(0x1e8)])==null||_0x5ad1cf[_0xd9bee5(0x30b)](this['unitID'],this[_0xd9bee5(0x417)],null,[]);}[_0x1af128(0x4c3)](){var _0x543d3f=_0x1af128;this[_0x543d3f(0x334)]?this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se['PERMISSION_DENIED']}):this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se[_0x543d3f(0x3dc)]});}['_disableEditing'](){var _0x33b1f3=_0x1af128;this[_0x33b1f3(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x33b1f3(0x1fa)])['id'],!0x1);}};de=Re([A(0x6,_0x50b881(_0xea2b61)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x50b881(_0x1c117d)),A(0xa,_0x50b881(_0x3d3898)),A(0xb,_0x50b881(pe)),A(0xc,_0x325bd4(J))],de);let fe=class extends be{constructor(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x5c5c29,_0x2b9b02,_0x593268,_0xb970e,_0x3ef1db){var _0x56cd9c=_0x1af128;super(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x593268,_0xb970e,_0x2b9b02,_0x3ef1db),N(this,'status',_0x56cd9c(0x375)),this['_injector']=_0x5c5c29;}[_0x1af128(0x2a1)](_0x1b71ee){var _0x1a6396=_0x1af128;return this[_0x1a6396(0x28d)]['push'](_0x1b71ee),this[_0x1a6396(0x1ed)](),this;}[_0x1af128(0x22b)](_0x1e7123){var _0x434ed8=_0x1af128;throw new Error(_0x434ed8(0x426));}[_0x1af128(0x4b0)](){var _0x5bc771=_0x1af128;throw new Error(_0x5bc771(0x47a));}[_0x1af128(0x37e)](){var _0x45f176=_0x1af128;throw new Error(_0x45f176(0x4c1));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}['toggleOnline'](){var _0x2fe74f=_0x1af128;const {_injector:_0x351365,_pendingMutations:_0x54042f,_awaitingChangeset:_0x4c4957,unitID:_0x57e23d,_handler:_0x162e8b,type:_0x1a2d06}=this,_0x3d5863=Di(_0x351365,_0x57e23d,_0x1a2d06,_0x4c4957,_0x54042f,_0x162e8b);return _0x3d5863 instanceof oe?_0x3d5863[_0x2fe74f(0x4b7)]():(_0x3d5863 instanceof ae||_0x3d5863 instanceof ue)&&_0x3d5863[_0x2fe74f(0x2b9)](),_0x3d5863;}[_0x1af128(0x2b9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x50b881(_0x339edd)),A(0x6,_0x50b881(_0x1c117d)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x325bd4(J))],fe);let te=class extends be{constructor(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x307de1,_0x528942,_0x5bfa93,_0x586a96,_0x3f2eda,_0x393456,_0x2cea7b,_0x5f0ece,_0x595c82,_0x3bbe13){var _0x20873c=_0x1af128;super(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x5bfa93,_0x2cea7b,_0x5f0ece,_0x3f2eda,_0x3bbe13),N(this,_0x20873c(0x29e),_0x20873c(0x4cb)),(this[_0x20873c(0x21e)]=_0x307de1,this[_0x20873c(0x299)]=_0x528942,this[_0x20873c(0x367)]=_0x586a96,this[_0x20873c(0x485)]=_0x393456,this[_0x20873c(0x44a)]=_0x595c82,this[_0x20873c(0x2e8)]=_0x3bbe13);}[_0x1af128(0x24b)](_0x151aaa){var _0x5dbb0e=_0x1af128;try{const _0x39d858=[..._0x151aaa,...this[_0x5dbb0e(0x299)]],_0x9899d8=[this[_0x5dbb0e(0x4d0)]||this[_0x5dbb0e(0x21e)]][_0x5dbb0e(0x448)](_0x16d677=>!!_0x16d677);let _0x192afd,_0x389db2;if(_0x9899d8[_0x5dbb0e(0x431)]){const _0x16935d=this[_0x5dbb0e(0x44a)][_0x5dbb0e(0x45f)](_0x39d858,_0x9899d8,!0x1);if(!_0x397f0a(_0x16935d))throw _0x16935d[_0x5dbb0e(0x479)];_0x192afd=_0x16935d[_0x5dbb0e(0x2cd)],_0x389db2=_0x16935d[_0x5dbb0e(0x4c7)];}else _0x192afd=_0x39d858,_0x389db2=[];let _0x13140e=this[_0x5dbb0e(0x28d)];_0x192afd[_0x5dbb0e(0x30f)](_0x5ca5aa=>{var _0x447063=_0x5dbb0e;let _0x5d56ed;if(_0x13140e[_0x447063(0x431)]){const _0x501641=this['_transformService'][_0x447063(0x29f)](_0x5ca5aa,_0x13140e);if(!_0x49a34e(_0x501641))throw _0x501641[_0x447063(0x479)];_0x5d56ed=_0x501641['c1Prime'],_0x13140e=_0x501641[_0x447063(0x2b0)];}else _0x5d56ed=_0x5ca5aa;this['_executeRemoteChangeset'](_0x5d56ed);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5dbb0e(0x28e)](),this[_0x5dbb0e(0x4d0)]&&_0x389db2[_0x5dbb0e(0x431)]&&(_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this[_0x5dbb0e(0x490)]());let _0x4e3d3b;if(this[_0x5dbb0e(0x4d0)]&&_0x13140e['length']!==0x0)_0x4e3d3b=this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](ae,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x389db2[0x0],_0x13140e,this[_0x5dbb0e(0x321)],void 0x0);else{if(this[_0x5dbb0e(0x4d0)]&&_0x13140e[_0x5dbb0e(0x431)]===0x0)_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this['_getCurrentRevision'](),_0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](ue,this['unitID'],this[_0x5dbb0e(0x417)],_0x389db2[0x0],this[_0x5dbb0e(0x321)]);else{if(_0x13140e[_0x5dbb0e(0x431)]!==0x0){const _0x3b7406=this[_0x5dbb0e(0x367)]['createInstance'](oe,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x13140e,this[_0x5dbb0e(0x321)]);_0x3b7406[_0x5dbb0e(0x4b7)](),_0x4e3d3b=_0x3b7406;}else _0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](De,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],this[_0x5dbb0e(0x321)]);}}return _0x4e3d3b[_0x5dbb0e(0x1ed)](),_0x4e3d3b;}catch(_0x5102de){return this[_0x5dbb0e(0x485)]['error'](_0x5dbb0e(0x38f),_0x5dbb0e(0x46f),_0x5102de),this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](de,this[_0x5dbb0e(0x1fa)],this['type'],this['_awaitingChangeset'],this[_0x5dbb0e(0x28d)],this[_0x5dbb0e(0x321)],!0x1);}}[_0x1af128(0x2b9)](){var _0x259709=_0x1af128;throw new Error(_0x259709(0x42b));}[_0x1af128(0x2a1)](_0x3fa37a){var _0x3a0bcf=_0x1af128;return this[_0x3a0bcf(0x28d)][_0x3a0bcf(0x2ad)](_0x3fa37a),this;}['onRemoteChangeset'](_0x4e7eab){var _0x2efad9=_0x1af128;return this[_0x2efad9(0x299)]['push'](_0x4e7eab),this;}[_0x1af128(0x4b0)](_0x471758){var _0x44c2bb=_0x1af128;if(this[_0x44c2bb(0x4d0)])return this[_0x44c2bb(0x21e)]=this[_0x44c2bb(0x4d0)],this[_0x44c2bb(0x4d0)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1af128(0x37e)](_0x23adf3){var _0x4bdd4d=_0x1af128;return this[_0x4bdd4d(0x438)](!!(_0x23adf3!=null&&_0x23adf3['isPermissionRej']));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){var _0x212007=_0x1af128;return this[_0x212007(0x367)]['createInstance'](fe,this['unitID'],this[_0x212007(0x417)],this[_0x212007(0x4d0)],this[_0x212007(0x28d)],this[_0x212007(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x438)](_0x187eb0){var _0x2c0d8e=_0x1af128;return this[_0x2c0d8e(0x367)][_0x2c0d8e(0x372)](de,this['unitID'],this[_0x2c0d8e(0x417)],this[_0x2c0d8e(0x4d0)],this[_0x2c0d8e(0x28d)],this[_0x2c0d8e(0x321)],_0x187eb0);}};te=Re([A(0x7,_0x50b881(_0x339edd)),A(0x8,_0x50b881(_0x1c117d)),A(0x9,_0x334ed4),A(0xa,_0x4f3e11),A(0xb,_0x16445d),A(0xc,_0x207f44),A(0xd,_0x325bd4(J))],te);function Di(_0x3fc489,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5){var _0x2c78b4=_0x1af128;return _0x2a6dd6&&_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](ae,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5,void 0x0):_0x2a6dd6?_0x3fc489[_0x2c78b4(0x372)](ue,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x17c2e5):_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](oe,_0x37c09d,_0xaa5b1f,_0x33d439,_0x17c2e5):_0x3fc489['createInstance'](De,_0x37c09d,_0xaa5b1f,_0x17c2e5);}var vr=Object[_0x1af128(0x4ba)],pr=Object[_0x1af128(0x3d3)],Lt=(_0x4c1fcd,_0x32c682,_0x2dd36d,_0x2c8d17)=>{var _0x547ad2=_0x1af128;for(var _0x18955e=_0x2c8d17>0x1?void 0x0:_0x2c8d17?pr(_0x32c682,_0x2dd36d):_0x32c682,_0x83d555=_0x4c1fcd[_0x547ad2(0x431)]-0x1,_0x2ce583;_0x83d555>=0x0;_0x83d555--)(_0x2ce583=_0x4c1fcd[_0x83d555])&&(_0x18955e=(_0x2c8d17?_0x2ce583(_0x32c682,_0x2dd36d,_0x18955e):_0x2ce583(_0x18955e))||_0x18955e);return _0x2c8d17&&_0x18955e&&vr(_0x32c682,_0x2dd36d,_0x18955e),_0x18955e;},k=(_0x1a4409,_0x3c56bb)=>(_0x308ffb,_0xc6f24d)=>_0x3c56bb(_0x308ffb,_0xc6f24d,_0x1a4409);let nt=class extends _0x4273f8{constructor(_0x1723a1,_0x1ed058,_0x1d55a8,_0x2b9d22,_0xc7b632,_0x20ac93,_0x1e04ad,_0x219074,_0x1426e9,_0x1a059d,_0x2d388a,_0x1117fc,_0x110095){var _0x10d242=_0x1af128;super(),N(this,'_state$',new _0x230061(null)),N(this,_0x10d242(0x4aa),this['_state$']['asObservable']()),N(this,'_state'),N(this,_0x10d242(0x298),!0x1),N(this,_0x10d242(0x2a9),''),N(this,_0x10d242(0x488),0x0),N(this,'status$',this[_0x10d242(0x4aa)]['pipe'](_0x3bf594(_0x3ca3eb=>_0x3ca3eb?_0x3ca3eb[_0x10d242(0x29e)]:yi[_0x10d242(0x2b8)]),_0x2b76e9(0x1))),N(this,_0x10d242(0x471),!0x1),N(this,_0x10d242(0x322),[]),(this['unitID']=_0x1723a1,this[_0x10d242(0x320)]=_0x1ed058,this[_0x10d242(0x202)]=_0x1d55a8,this[_0x10d242(0x367)]=_0x2b9d22,this[_0x10d242(0x3c9)]=_0xc7b632,this[_0x10d242(0x4c2)]=_0x20ac93,this[_0x10d242(0x1f3)]=_0x1e04ad,this[_0x10d242(0x2ef)]=_0x219074,this['_logService']=_0x1426e9,this[_0x10d242(0x32c)]=_0x1a059d,this['_permissionService']=_0x2d388a,this['_singleActiveUnitService']=_0x1117fc,this[_0x10d242(0x1e8)]=_0x110095);}get[_0x1af128(0x24d)](){return this['_state'];}async['init'](){var _0x2b4ff1=_0x1af128;if(this[_0x2b4ff1(0x24d)])throw new Error(_0x2b4ff1(0x476));await this['_init']();}[_0x1af128(0x4ca)](){var _0x273eed=_0x1af128;return this[_0x273eed(0x298)]=!0x0,_0x1943de(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1af128(0x477)](_0x4667ad){var _0x538c6a=_0x1af128;this[_0x538c6a(0x369)](_0x4667ad);}['_updateState'](_0x2d11ce){var _0x239cc1=_0x1af128;this[_0x239cc1(0x3b5)]=_0x2d11ce,this[_0x239cc1(0x40c)][_0x239cc1(0x2cb)](_0x2d11ce);}async['_init'](){var _0x5e9979=_0x1af128,_0x4161ee;this[_0x5e9979(0x32b)](await this[_0x5e9979(0x313)]()),this[_0x5e9979(0x1e4)]&&((_0x4161ee=this[_0x5e9979(0x1e4)])==null||_0x4161ee[_0x5e9979(0x35f)](this[_0x5e9979(0x1fa)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5e9979(0x26c)](_0x2a6092=>{var _0x290db9=_0x5e9979;this['_logService'][_0x290db9(0x247)](_0x290db9(0x3a9),'editing\x20status\x20changed\x20to',_0x2a6092),_0x2a6092===bi['OTHER_CLIENTS_EDITING']?(this[_0x290db9(0x2ef)][_0x290db9(0x258)]({'id':se[_0x290db9(0x302)]}),this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x1),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x1)):(this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x0),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x0));})));let _0x413eb3=!0x1;return this['disposeWithMe'](this[_0x5e9979(0x320)][_0x5e9979(0x214)][_0x5e9979(0x26c)](_0x1f9521=>{var _0x148e17=_0x5e9979;_0x1f9521===Te[_0x148e17(0x336)]?this[_0x148e17(0x3bd)](_0x413eb3):_0x1f9521===Te['OFFLINE']&&(_0x413eb3=!0x0,this['_toggleOffline']());})),this[_0x5e9979(0x3b0)](this['session']['event$'][_0x5e9979(0x26c)](_0x5738e1=>{var _0x339e5d=_0x5e9979;try{switch(_0x5738e1[_0x339e5d(0x492)]){case _0x1d08ca[_0x339e5d(0x405)]:{this[_0x339e5d(0x287)](_0x1db08e(_0x5738e1[_0x339e5d(0x345)]));break;}case _0x1d08ca[_0x339e5d(0x333)]:{this[_0x339e5d(0x430)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca[_0x339e5d(0x4a5)]:{this[_0x339e5d(0x352)]();break;}case _0x1d08ca[_0x339e5d(0x4c4)]:{this[_0x339e5d(0x200)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x339e5d(0x49b)](_0x5738e1[_0x339e5d(0x345)][_0x339e5d(0x3e4)]['map'](_0x2d7be3=>_0x1db08e(_0x2d7be3)));break;}case _0x1d08ca[_0x339e5d(0x40b)]:{this[_0x339e5d(0x352)]({'isPermissionRej':!0x0});break;}case _0x1d08ca['UNISCRIPT_RUN']:break;}}catch(_0x5c7523){throw console[_0x339e5d(0x479)](_0x339e5d(0x2df),_0x5c7523),_0x5c7523;}})),this['_state'];}['_unlockTransition'](){var _0x2eb633=_0x1af128;this[_0x2eb633(0x471)]=!0x1;}['_lockTransition'](){var _0x27a968=_0x1af128;if(this['_transitionLocked'])throw new Error(_0x27a968(0x3e6));this['_transitionLocked']=!0x0;}[_0x1af128(0x369)](_0x4b24e2){var _0x51647c=_0x1af128;this[_0x51647c(0x2c0)](),this['_updateState'](this[_0x51647c(0x3b5)][_0x51647c(0x2a1)](_0x4b24e2)),this['_unlockTransition']();}[_0x1af128(0x287)](_0x23089b){var _0x133adc=_0x1af128;if(!(_0x23089b['revision']<=this[_0x133adc(0x1f3)]['getCurrentRevOfUnit'](this[_0x133adc(0x1fa)]))){if(this[_0x133adc(0x298)]){this[_0x133adc(0x322)]['push'](_0x23089b);return;}this[_0x133adc(0x245)](_0x23089b);}}[_0x1af128(0x3b2)](){var _0x320c40=_0x1af128;this[_0x320c40(0x322)][_0x320c40(0x30f)](_0x17604b=>this[_0x320c40(0x245)](_0x17604b)),this[_0x320c40(0x322)]=[];}[_0x1af128(0x245)](_0x140f92){var _0x5a4bb6=_0x1af128;const _0x208e94=this['_compressMutationService']['interceptor'][_0x5a4bb6(0x399)](this[_0x5a4bb6(0x3c9)][_0x5a4bb6(0x3a6)]['getInterceptPoints']()[_0x5a4bb6(0x23a)])(_0x140f92[_0x5a4bb6(0x4a4)],null)||_0x140f92[_0x5a4bb6(0x4a4)],_0x369052={..._0x140f92,'mutations':_0x208e94};this[_0x5a4bb6(0x2c0)](),this['_updateState'](this[_0x5a4bb6(0x3b5)]['onRemoteChangeset'](_0x369052)),this[_0x5a4bb6(0x2ce)]();}[_0x1af128(0x430)](_0x5c0e2f){var _0x114bcd=_0x1af128;this[_0x114bcd(0x2c0)](),this[_0x114bcd(0x32b)](this[_0x114bcd(0x3b5)][_0x114bcd(0x4b0)](_0x5c0e2f)),this['_unlockTransition']();}[_0x1af128(0x352)](_0xaa728d){var _0x231fb1=_0x1af128;this[_0x231fb1(0x2c0)](),this[_0x231fb1(0x32b)](this[_0x231fb1(0x3b5)]['onRemoteRej'](_0xaa728d)),this[_0x231fb1(0x2ce)]();}[_0x1af128(0x200)](_0x417acf){var _0x5d5bfc=_0x1af128;this[_0x5d5bfc(0x2c0)](),this[_0x5d5bfc(0x32b)](this[_0x5d5bfc(0x3b5)][_0x5d5bfc(0x1d9)](_0x417acf)),this['_unlockTransition']();}[_0x1af128(0x49b)](_0x2d71e4){var _0x1baada=_0x1af128;if(!(this[_0x1baada(0x3b5)]instanceof te))throw new TypeError(_0x1baada(0x237));const _0x33a508=_0x2d71e4[_0x1baada(0x453)](_0x2afe91=>{var _0x500e34=_0x1baada;const _0x577b7d=this[_0x500e34(0x3c9)][_0x500e34(0x3a6)]['fetchThroughInterceptors'](this[_0x500e34(0x3c9)][_0x500e34(0x3a6)][_0x500e34(0x211)]()[_0x500e34(0x23a)])(_0x2afe91[_0x500e34(0x4a4)],null)||_0x2afe91[_0x500e34(0x4a4)];return{..._0x2afe91,'mutations':_0x577b7d};});this[_0x1baada(0x2c0)](),this[_0x1baada(0x32b)](this[_0x1baada(0x3b5)][_0x1baada(0x24b)](_0x33a508)),this[_0x1baada(0x2ce)]();}[_0x1af128(0x35c)](){var _0xdf4853=_0x1af128;this['_lockTransition'](),this[_0xdf4853(0x32b)](this[_0xdf4853(0x3b5)]['toggleOffline']()),this[_0xdf4853(0x2ce)]();}[_0x1af128(0x3bd)](_0xcd937d=!0x1){var _0x55aada=_0x1af128;this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](this['_state'][_0x55aada(0x2a5)]()),this[_0x55aada(0x2ce)]();const _0x209d16=this[_0x55aada(0x3b5)];_0xcd937d&&_0x209d16 instanceof De&&(this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](_0x209d16[_0x55aada(0x261)]()),this['_unlockTransition']());}async[_0x1af128(0x313)](){return new Promise(_0x5f3cd2=>{var _0x3268a8=_0x596d;this['session'][_0x3268a8(0x214)][_0x3268a8(0x463)](_0x2a8f0e(0x1))[_0x3268a8(0x26c)](async _0x18afc9=>{var _0x2ff127=_0x3268a8;_0x5f3cd2(await this[_0x2ff127(0x346)](_0x18afc9===Te['ONLINE']));});});}[_0x1af128(0x317)](){var _0x32d37e=_0x1af128;const _0xfc90de=this[_0x32d37e(0x1fa)];return{'onStateChange':(_0x5b786d,_0x119775)=>{var _0x5860cb=_0x32d37e;if(_0x5b786d!==this[_0x5860cb(0x3b5)])throw new Error(_0x5860cb(0x43e)+_0x5b786d['status']+_0x5860cb(0x37f)+_0x119775['status']+'\x0aCurrent:\x20'+this[_0x5860cb(0x3b5)][_0x5860cb(0x29e)]);this[_0x5860cb(0x32b)](_0x119775);},'onSendChangeset':_0x2865cb=>{var _0x105836=_0x32d37e;_0x2865cb['sid']||(_0x2865cb[_0x105836(0x38a)]=this[_0x105836(0x2a9)],_0x2865cb[_0x105836(0x467)]=++this[_0x105836(0x488)]);const _0x3f5c1d={'eventID':_0x1d08ca[_0x105836(0x2b2)],'data':{'unitID':_0x2865cb['unitID'],'unitType':this[_0x105836(0x202)],'changeset':_0x2865cb,'memberID':this['session']['getMemberID']()}};this['session'][_0x105836(0x444)](_0x3f5c1d,this[_0x105836(0x1fa)]);},'onMissingChangesets':({from:_0x80a9a3,to:_0x31c059})=>{var _0x7cd203=_0x32d37e;this[_0x7cd203(0x485)]['debug'](_0x7cd203(0x3a9),_0x7cd203(0x49d)+_0x80a9a3+_0x7cd203(0x2e6)+_0x31c059);const _0x355ae6={'eventID':_0x1d08ca['FETCH_MISSING'],'data':{'unitID':_0xfc90de,'unitType':this[_0x7cd203(0x202)],'from':_0x80a9a3,'to':_0x31c059}};this[_0x7cd203(0x320)][_0x7cd203(0x444)](_0x355ae6,this[_0x7cd203(0x1fa)]);}};}async['_createInitialStateImpl'](_0x22affb){var _0x170398=_0x1af128,_0x497ebd,_0x2ee431,_0x560c35;const _0x1c6a4f=await((_0x497ebd=this['_localCacheService'])==null?void 0x0:_0x497ebd[_0x170398(0x4ac)](this[_0x170398(0x1fa)])),_0x465e95=(_0x2ee431=_0x1c6a4f==null?void 0x0:_0x1c6a4f['mutations'])!=null?_0x2ee431:[],_0x17939d=(_0x560c35=_0x1c6a4f==null?void 0x0:_0x1c6a4f[_0x170398(0x387)])!=null?_0x560c35:null,_0x9a0653=!!(_0x17939d!=null&&_0x17939d[_0x170398(0x38a)])&&!!(_0x17939d!=null&&_0x17939d['reqId']);this[_0x170398(0x2a9)]=_0x9a0653?_0x17939d[_0x170398(0x38a)]:sr(),this[_0x170398(0x488)]=_0x9a0653?_0x17939d[_0x170398(0x467)]:0x0;const _0xb0f794=this[_0x170398(0x1fa)];try{this[_0x170398(0x469)](_0x17939d,_0x465e95);}catch(_0xc92b73){this[_0x170398(0x485)][_0x170398(0x479)](_0xc92b73);}const _0x1984bc=this[_0x170398(0x317)]();if(_0x22affb){const _0x39c959=Di(this[_0x170398(0x367)],_0xb0f794,this[_0x170398(0x202)],_0x17939d,_0x465e95,_0x1984bc);return _0x39c959 instanceof oe?_0x39c959[_0x170398(0x4b7)]():(_0x39c959 instanceof ae||_0x39c959 instanceof ue)&&_0x39c959['resend'](),_0x39c959;}return this['_injector'][_0x170398(0x372)](fe,_0xb0f794,this['_type'],_0x17939d,_0x465e95,_0x1984bc);}['_replayCachedMutations'](_0x3ec35c,_0x705e09){var _0x56b33e=_0x1af128,_0x20df83,_0x472294;const _0x41d095=this[_0x56b33e(0x3c9)][_0x56b33e(0x3a6)][_0x56b33e(0x399)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x20df83=_0x41d095((_0x3ec35c==null?void 0x0:_0x3ec35c['mutations'])||[],null))==null||_0x20df83[_0x56b33e(0x30f)](_0x6aabfe=>this[_0x56b33e(0x32c)]['executeCommand'](_0x6aabfe['id'],_0x6aabfe['params'])),(_0x472294=_0x41d095(_0x705e09||[],null))==null||_0x472294['forEach'](_0xbf140=>this['_commandService'][_0x56b33e(0x283)](_0xbf140['id'],_0xbf140[_0x56b33e(0x311)]));}};nt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],nt);let Tt=class extends nt{constructor(_0x2e4554,_0x270708,_0x495cf8,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9){var _0x41891=_0x1af128;super(_0x2e4554,_0x495cf8,_0x270708,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9),N(this,_0x41891(0x3f6),null),(this[_0x41891(0x1fa)]=_0x2e4554,this['type']=_0x270708);}[_0x1af128(0x26d)](_0x5c2ce6){this['_handlerCallback']=_0x5c2ce6;}[_0x1af128(0x1d3)](){var _0x53adf9=_0x1af128;this[_0x53adf9(0x3f6)]=null,super[_0x53adf9(0x1d3)]();}[_0x1af128(0x317)](){var _0x2a0972=_0x1af128;const _0x147f85=super[_0x2a0972(0x317)]();return _0x147f85[_0x2a0972(0x457)]=_0x542b9b=>{var _0x154a9b=_0x2a0972,_0x1e8736,_0x2c1fa8;return(_0x2c1fa8=(_0x1e8736=this[_0x154a9b(0x3f6)])==null?void 0x0:_0x1e8736['onTransformIME'])==null?void 0x0:_0x2c1fa8[_0x154a9b(0x3f9)](_0x1e8736,_0x542b9b);},_0x147f85['onTransformState']=_0x5f3a59=>{var _0xb881d6=_0x2a0972,_0x3522e1,_0x47599f;return(_0x47599f=(_0x3522e1=this[_0xb881d6(0x3f6)])==null?void 0x0:_0x3522e1[_0xb881d6(0x36e)])==null?void 0x0:_0x47599f[_0xb881d6(0x3f9)](_0x3522e1,_0x5f3a59);},_0x147f85[_0x2a0972(0x42a)]=_0x42a4a7=>{var _0x419b60=_0x2a0972,_0x546699,_0x3584b2;return(_0x3584b2=(_0x546699=this[_0x419b60(0x3f6)])==null?void 0x0:_0x546699[_0x419b60(0x42a)])==null?void 0x0:_0x3584b2['call'](_0x546699,_0x42a4a7);},_0x147f85['onSyncEditingCollabCursor']=_0x56d9db=>{var _0x971b92=_0x2a0972,_0x4770f6,_0x4da2b0;return(_0x4da2b0=(_0x4770f6=this['_handlerCallback'])==null?void 0x0:_0x4770f6[_0x971b92(0x221)])==null?void 0x0:_0x4da2b0[_0x971b92(0x3f9)](_0x4770f6,_0x56d9db);},_0x147f85[_0x2a0972(0x45d)]=_0x3e93a1=>{var _0x47cc6f=_0x2a0972,_0x381114,_0x349fb4,_0xa53b99;if(!((_0x381114=this[_0x47cc6f(0x3f6)])!=null&&_0x381114[_0x47cc6f(0x45d)]))throw new Error(_0x47cc6f(0x330));return(_0xa53b99=(_0x349fb4=this[_0x47cc6f(0x3f6)])==null?void 0x0:_0x349fb4[_0x47cc6f(0x45d)])==null?void 0x0:_0xa53b99[_0x47cc6f(0x3f9)](_0x349fb4,_0x3e93a1);},_0x147f85[_0x2a0972(0x2c1)]=_0x396ee8=>{var _0x1c7b2e=_0x2a0972,_0x565ef4,_0x2c8088,_0x2f09bd;if(!((_0x565ef4=this[_0x1c7b2e(0x3f6)])!=null&&_0x565ef4['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f09bd=(_0x2c8088=this[_0x1c7b2e(0x3f6)])==null?void 0x0:_0x2c8088['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f09bd[_0x1c7b2e(0x3f9)](_0x2c8088,_0x396ee8);},_0x147f85;}async[_0x1af128(0x4d4)](){var _0x1263b2=_0x1af128;const _0xfe3275=await super[_0x1263b2(0x4d4)]();return this[_0x1263b2(0x3b0)](this['_commandService'][_0x1263b2(0x2cc)]((_0xeb9b55,_0x59a33f)=>{var _0x3de2e2=_0x1263b2;if(_0xeb9b55['type']!==_0x572a97['MUTATION']||_0x59a33f!=null&&_0x59a33f['fromCollab']||_0x59a33f!=null&&_0x59a33f[_0x3de2e2(0x253)]||_0xeb9b55['id']===_0x582104['id'])return;const _0x224981=_0xeb9b55['params'];if((_0x224981==null?void 0x0:_0x224981[_0x3de2e2(0x379)])!==this['unitID'])return;const _0x3f5bc2=_0xeb9b55,_0x575ab9=this[_0x3de2e2(0x3c9)]['interceptor']['fetchThroughInterceptors'](this[_0x3de2e2(0x3c9)][_0x3de2e2(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3f5bc2],null)||[_0x3f5bc2];this[_0x3de2e2(0x369)](_0x575ab9[0x0]);})),_0xfe3275;}};Tt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],Tt);let Ct=class extends nt{constructor(_0xb41954,_0x1bbb1e,_0x244cbf,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3f7ba4,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6){var _0x1dee69=_0x1af128;super(_0xb41954,_0x244cbf,_0x1bbb1e,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6),this[_0x1dee69(0x1fa)]=_0xb41954,this[_0x1dee69(0x417)]=_0x1bbb1e,this[_0x1dee69(0x4ab)]=_0x3f7ba4;}[_0x1af128(0x317)](){var _0x97c34=_0x1af128;const _0x3ea236=super['_createHandler']();return _0x3ea236['onTransformSelections']=_0x2a10bb=>this[_0x97c34(0x4ab)][_0x97c34(0x3aa)](_0x2a10bb),_0x3ea236;}async[_0x1af128(0x4d4)](){var _0x5cd2a2=_0x1af128;const _0x856342=await super[_0x5cd2a2(0x4d4)]();return this['disposeWithMe'](this[_0x5cd2a2(0x32c)][_0x5cd2a2(0x2cc)]((_0x176a4f,_0x4d7e5b)=>{var _0x89c24e=_0x5cd2a2;if(_0x176a4f[_0x89c24e(0x417)]!==_0x572a97['MUTATION']||_0x4d7e5b!=null&&_0x4d7e5b['fromCollab']||_0x4d7e5b!=null&&_0x4d7e5b['onlyLocal'])return;const _0xcb5875=_0x176a4f['params'];if((_0xcb5875==null?void 0x0:_0xcb5875[_0x89c24e(0x379)])!==this[_0x89c24e(0x1fa)])return;const _0x3dc288=_0x176a4f,_0x9d1388=this[_0x89c24e(0x3c9)][_0x89c24e(0x3a6)][_0x89c24e(0x399)](this['_compressMutationService'][_0x89c24e(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3dc288],null)||[_0x3dc288];this[_0x89c24e(0x369)](_0x9d1388[0x0]);})),_0x856342;}};Ct=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(it)),k(0x8,_0x50b881(pe)),k(0x9,_0x334ed4),k(0xa,_0x4f3e11),k(0xb,_0xea2b61),k(0xc,_0x325bd4(ht)),k(0xd,_0x325bd4(J))],Ct);var mr=Object[_0x1af128(0x4ba)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x30e11b,_0x5c1689,_0x54e287,_0x2dc57e)=>{var _0x2250d6=_0x1af128;for(var _0x5b5652=_0x2dc57e>0x1?void 0x0:_0x2dc57e?gr(_0x5c1689,_0x54e287):_0x5c1689,_0x14fe2f=_0x30e11b[_0x2250d6(0x431)]-0x1,_0x566884;_0x14fe2f>=0x0;_0x14fe2f--)(_0x566884=_0x30e11b[_0x14fe2f])&&(_0x5b5652=(_0x2dc57e?_0x566884(_0x5c1689,_0x54e287,_0x5b5652):_0x566884(_0x5b5652))||_0x5b5652);return _0x2dc57e&&_0x5b5652&&mr(_0x5c1689,_0x54e287,_0x5b5652),_0x5b5652;},ft=(_0x22a372,_0x2c5c02)=>(_0xb584cd,_0x48dff1)=>_0x2c5c02(_0xb584cd,_0x48dff1,_0x22a372);let rt=class extends _0x4273f8{constructor(_0x14ffdd,_0x4e977b,_0x58aba9){var _0x6bcc44=_0x1af128;super(),N(this,_0x6bcc44(0x1df),new Map()),N(this,'_entityInit$',new _0x10c59f()),N(this,_0x6bcc44(0x1d8),this[_0x6bcc44(0x39c)]['asObservable']()),(this[_0x6bcc44(0x367)]=_0x14ffdd,this[_0x6bcc44(0x412)]=_0x4e977b,this[_0x6bcc44(0x332)]=_0x58aba9,this[_0x6bcc44(0x4d4)]());}[_0x1af128(0x1d3)](){var _0x1ea11e=_0x1af128;super[_0x1ea11e(0x1d3)](),this[_0x1ea11e(0x1df)]['forEach'](_0xb4fd47=>_0xb4fd47[_0x1ea11e(0x1d3)]()),this[_0x1ea11e(0x1df)][_0x1ea11e(0x348)]();}[_0x1af128(0x339)](_0x204208){var _0x4d0896=_0x1af128,_0x588357;return(_0x588357=this[_0x4d0896(0x1df)]['get'](_0x204208))!=null?_0x588357:null;}['getCollabEntity$'](_0x4b2355){var _0x4a631e=_0x1af128;const _0x588033=this['getCollabEntity'](_0x4b2355);return _0x588033?_0x4586b0(_0x588033):this[_0x4a631e(0x39c)][_0x4a631e(0x463)](_0x226f92(_0x431318=>_0x431318[_0x4a631e(0x1fa)]===_0x4b2355));}[_0x1af128(0x357)](_0x47753c){var _0x3d58df=_0x1af128;return _0x5acfb6(this[_0x3d58df(0x397)](_0x47753c)['pipe'](_0x3c96ad(()=>{})));}[_0x1af128(0x4d4)](){var _0x48515b=_0x1af128;this[_0x48515b(0x332)][_0x48515b(0x2e0)](_0x7a0f38['UNIVER_SHEET'])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x26c)](async _0x43f273=>{var _0x1ad2be=_0x48515b;const _0xeb1052=_0x43f273['getUnitId'](),_0x13e582=await this[_0x1ad2be(0x4a9)](_0xeb1052,Q[_0x1ad2be(0x3c7)]);this['_entities'][_0x1ad2be(0x255)](_0xeb1052,_0x13e582);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x7a0f38[_0x48515b(0x43b)])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x463)](_0x226f92(_0x567f25=>!_0x567f25[_0x48515b(0x26b)]()['startsWith']('__')))['subscribe'](async _0x407c90=>{var _0x79ccf1=_0x48515b;const _0x2365be=_0x407c90[_0x79ccf1(0x26b)](),_0x573ed4=await this[_0x79ccf1(0x4a9)](_0x2365be,Q[_0x79ccf1(0x43b)]);this[_0x79ccf1(0x1df)][_0x79ccf1(0x255)](_0x2365be,_0x573ed4);}),_0x19107a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7a0f38['UNIVER_SHEET']),this[_0x48515b(0x332)][_0x48515b(0x41d)](_0x7a0f38['UNIVER_DOC']))[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]))[_0x48515b(0x26c)](_0x486b0b=>{var _0x4fe7a4=_0x48515b;const _0x3319f5=_0x486b0b['getUnitId'](),_0x366933=this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x416)](_0x3319f5);_0x366933&&(_0x366933[_0x4fe7a4(0x1d3)](),this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x31f)](_0x3319f5));});}async[_0x1af128(0x4a9)](_0x362268,_0x4ee0f5){var _0x1a697f=_0x1af128;const _0x3faf8d=await this[_0x1a697f(0x412)][_0x1a697f(0x3e7)](_0x362268),_0x5858bd=this[_0x1a697f(0x367)]['createInstance'](this[_0x1a697f(0x364)](_0x4ee0f5),_0x362268,_0x4ee0f5,_0x3faf8d);return await _0x5858bd['init'](),this[_0x1a697f(0x39c)]['next'](_0x5858bd),_0x5858bd;}[_0x1af128(0x364)](_0xb0dd7f){var _0x20988b=_0x1af128;switch(_0xb0dd7f){case Q[_0x20988b(0x43b)]:return Tt;case Q[_0x20988b(0x3c7)]:return Ct;default:throw new Error(_0x20988b(0x473)+_0xb0dd7f);}}};rt=Sr([ft(0x0,_0x50b881(_0x339edd)),ft(0x1,_0x50b881(Le)),ft(0x2,_0x42b8e7)],rt);var Er=Object[_0x1af128(0x4ba)],Ir=Object[_0x1af128(0x3d3)],Tr=(_0x45692e,_0x42d327,_0xee6807,_0x4587e5)=>{for(var _0x21fbc2=_0x4587e5>0x1?void 0x0:_0x4587e5?Ir(_0x42d327,_0xee6807):_0x42d327,_0x5c3acd=_0x45692e['length']-0x1,_0x194bd8;_0x5c3acd>=0x0;_0x5c3acd--)(_0x194bd8=_0x45692e[_0x5c3acd])&&(_0x21fbc2=(_0x4587e5?_0x194bd8(_0x42d327,_0xee6807,_0x21fbc2):_0x194bd8(_0x21fbc2))||_0x21fbc2);return _0x4587e5&&_0x21fbc2&&Er(_0x42d327,_0xee6807,_0x21fbc2),_0x21fbc2;},Jt=(_0x1ddfa9,_0x2baf28)=>(_0x3b97f8,_0x237211)=>_0x2baf28(_0x3b97f8,_0x237211,_0x1ddfa9);const Cr=_0x1af128(0x4ce),Rr=_0x1af128(0x3d8);let Rt=class extends _0x1ec030{constructor(_0x57a7f8,_0x4979d9){var _0x11725c=_0x1af128;super(),this[_0x11725c(0x332)]=_0x57a7f8,this[_0x11725c(0x4d1)]=_0x4979d9,this[_0x11725c(0x4d4)]();}[_0x1af128(0x4d4)](){var _0x51f1e2=_0x1af128;this[_0x51f1e2(0x3b0)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x5539a8=_0x51f1e2,_0xaf5f49;const _0x1e312d=this['_univerInstanceService'][_0x5539a8(0x328)]();let _0x140b41=(_0xaf5f49=this[_0x5539a8(0x4d1)][_0x5539a8(0x49e)](Cr))!=null?_0xaf5f49:Rr;_0x1e312d instanceof _0x331611&&(_0x140b41=_0x1e312d[_0x5539a8(0x3fa)]),document[_0x5539a8(0x41e)]=_0x140b41;}));}};Rt=Tr([Jt(0x0,_0x42b8e7),Jt(0x1,_0xb3f6ba)],Rt);var br=Object[_0x1af128(0x4ba)],Or=Object[_0x1af128(0x3d3)],yr=(_0x5441b4,_0x16219b,_0xebc0e1,_0x59b66c)=>{var _0x1d626b=_0x1af128;for(var _0xcc1101=_0x59b66c>0x1?void 0x0:_0x59b66c?Or(_0x16219b,_0xebc0e1):_0x16219b,_0x1e2219=_0x5441b4[_0x1d626b(0x431)]-0x1,_0x2163a8;_0x1e2219>=0x0;_0x1e2219--)(_0x2163a8=_0x5441b4[_0x1e2219])&&(_0xcc1101=(_0x59b66c?_0x2163a8(_0x16219b,_0xebc0e1,_0xcc1101):_0x2163a8(_0xcc1101))||_0xcc1101);return _0x59b66c&&_0xcc1101&&br(_0x16219b,_0xebc0e1,_0xcc1101),_0xcc1101;},vt=(_0x2d9606,_0x246cd5)=>(_0x1b6513,_0x16514b)=>_0x246cd5(_0x1b6513,_0x16514b,_0x2d9606);let st=class{constructor(_0x3180a2,_0xa64171,_0x3061ca){var _0x146fae=_0x1af128;this[_0x146fae(0x4d1)]=_0x3180a2,this[_0x146fae(0x1ea)]=_0xa64171,this[_0x146fae(0x246)]=_0x3061ca,this[_0x146fae(0x3fc)]();}[_0x1af128(0x3fc)](){var _0x323f2f=_0x1af128;this['_httpService'][_0x323f2f(0x340)]({'priority':0x1,'interceptor':(_0x307307,_0x240a44)=>_0x240a44(_0x307307)[_0x323f2f(0x463)](_0x196fe2(async _0xb5ee9=>{var _0x163a16=_0x323f2f;const _0x3f8b39=_0xb5ee9;if(_0x3f8b39[_0x163a16(0x29e)]===0x191){if(typeof window>'u')throw new Error(_0x163a16(0x34d));if(window[_0x163a16(0x44c)](this['localeService']['t'](_0x163a16(0x1d0)))){const _0x3f57fa=window[_0x163a16(0x2ed)](window[_0x163a16(0x25e)][_0x163a16(0x4be)]);window['location'][_0x163a16(0x4be)]=this[_0x163a16(0x2bf)]()+_0x163a16(0x349)+_0x3f57fa;}}return _0x3f8b39;}))});}[_0x1af128(0x2bf)](){var _0x5cec19=_0x1af128,_0x49e521,_0x2e143b;const _0x5c72ce=this[_0x5cec19(0x4d1)][_0x5cec19(0x49e)](xn),_0x57519f=this['_configService'][_0x5cec19(0x49e)](q);return(_0x2e143b=(_0x49e521=_0x57519f==null?void 0x0:_0x57519f[_0x5cec19(0x48a)])!=null?_0x49e521:_0x5c72ce)!=null?_0x2e143b:Ln;}};st=yr([vt(0x0,_0xb3f6ba),vt(0x1,_0x50b881(_0x51273b)),vt(0x2,_0x50b881(_0x3d3898))],st);var Nr=Object[_0x1af128(0x4ba)],Dr=Object[_0x1af128(0x3d3)],Pr=(_0x20957b,_0x418e7d,_0x251f41,_0x333635)=>{var _0x4a6b88=_0x1af128;for(var _0x451541=_0x333635>0x1?void 0x0:_0x333635?Dr(_0x418e7d,_0x251f41):_0x418e7d,_0x21c337=_0x20957b[_0x4a6b88(0x431)]-0x1,_0x9e3490;_0x21c337>=0x0;_0x21c337--)(_0x9e3490=_0x20957b[_0x21c337])&&(_0x451541=(_0x333635?_0x9e3490(_0x418e7d,_0x251f41,_0x451541):_0x9e3490(_0x451541))||_0x451541);return _0x333635&&_0x451541&&Nr(_0x418e7d,_0x251f41,_0x451541),_0x451541;},Xt=(_0x44f0b7,_0x142718)=>(_0x1f60b3,_0x3ec281)=>_0x142718(_0x1f60b3,_0x3ec281,_0x44f0b7);function _0x6aa3(){var _0x3c277c=['min','socket\x20close','UNIVER_DOC','_clearHeartbeatTimer','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendingTimer','image/png','_createHmacHelper','_cipher','socket$','send','mixIn','HttpExport','hasher','filter','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','stringify','confirm','_onMessage','getSheetId','_socketService','/universer-api/uniscript','_members','&source=','map','equals','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','onTransformIME','_reverseMap','NoPadding','_getSignURL','_onUserJoin','uploadFileServerUrl','onTransformRemoteChangesetByIMECache','message$','transformChangesets','hostname','UUID','LIVESHARE_REQUEST_HOST','pipe','_executeRemoteChangeset','_minBufferSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','includes','_replayCachedMutations','417711XYNxmY','/-/object/-/batch_allowed','Pkcs7','UNRECOGNIZED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','failed\x20to\x20apply\x20missed\x20changesets!','_sendHeartbeat','_transitionLocked','image/bmp','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','catch','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onLocalMutation','image/jpg','error','[OfflineState]:\x20received\x20acknowledgement.','APPLY_PERMISSION_DENIED','__esModule','PERMISSION_DENIED','conflict','resourceIDs','MUTATION','every','54135288GWzNFF','JOIN','headers','_logService','pending','words','_changesetReqId','3GMIsgR','loginUrlKey','__creator','BufferedBlockAlgorithm','JOINING','JOIN_ROOM_NOT_EXISTS','EvpKDF','_getCurrentRevision','2776KqrUOx','eventID','LEAVE','createEncryptor','sessionStatus','retryConnectingInterval','Base64','apply','_getRedoStack','_timeoutTimer','_onFetchMissResult','readAsDataURL','fetching\x20missing\x20changesets\x20from\x20','getConfig','synced','[CollaborationState]:\x20apply\x20error!','_decreaseWaiting','extend','_doFinalize','mutations','CHANGESET_REJ','ceil','subject','roles','_startCollaboration','state$','_sheetTransformSelectionsService','loadOfflineData','_clearCollaborationTimeoutTimer','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteAck','_collaborationUIEventService','create','_undoStacks','APPLY_DUPLICATED','UnitSnapshot','addImageSourceCache','_schedule','execute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','defineProperty','LICENSE_MAX_UNITS_EXCEEDED','SOCKET_FAILED','listCollaborators','href','encrypt','_initUnitPermissionChange','[OfflineState]:\x20received\x20rejection.','_localeService','_showConflictNotification','CHANGESET_SHOULD_RETRY','transformStack\x20failed!','formatter','c2Prime','socket\x20open.','initWorkbookPermissionChange','pauseCollaboration','fetch_missing','post','getWorkbookSelections','DEFAULT_FILE_NAME','BlockCipher','_awaitingChangeset','_configService','_getAPIPrefix','CLOSE_ROOM','_init','toString','_transformRemoteChangesetByIMECache','MD5','_data','auth.needGotoLoginAlert','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','dispose','then','/universer-api/comb','exports','random','entityInit$','onRemoteRetry','getImage','_socketMessageSubscription','getCurrentUser','createCollaborator','clone','_entities','_clearScheduledTask','/block/','max','_authzIoService','_singleActiveUnitService','processBlock','/universer-api/authz','Decryptor','_localCacheService','RETRY_CONNECTING_MAX_COUNT','_httpService','_rescheduleHeartbeat','_initCloseConn','_updateLocalCache','_undoRedoService','ERROR_EXCEED_SIZE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','bind','saveImage','_revisionService','_waitCount','sessionTicket','unsubscribe','_createHelper','url','repeat','unitID','_registerDependencies','COMMENT_UPDATE','_keySchedule','enc','FETCH_MISS','_onRemoteRetry','_permissionService','_type','_clearTimeoutTimer','_networkConditionService','Hex','Latin1','_DEC_XFORM_MODE','byteLength','JOIN_ROOM_FAILED','updateMember','unit-cache-','session.room-permission-denied','_retryCount','_resendTimeout','image/jpeg','OpenSSL','getInterceptPoints','OTHER_CLIENTS_EDITING','_startTelemetryCollaborationNewChangeset','sessionStatus$','SNAPSHOT_SERVER_URL_KEY','application/json','RECV','_keyPriorReset','getTime','origin','override','_resendTimer','concat','_acknowledgedAwaitingChangeset','enableOfflineEditing','IDLE','onSyncEditingCollabCursor','MSG_FOR_ERROR','cmd','getCurrentRevOfUnit','6084256NNihXr','UNISCRIPT_RUN','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','key','session.room-full','NOT_COLLAB','onRemoteChangeset','onSendChangeset','reset','event$','isArray','[DataLoaderService]','mode','default','duration','POST','saveChangeset','incrementRevOfUnit','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COMPLETION_FINISHED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','JOIN_ROOM_FULL','CBC','_getUndoStack','open$','loadSheet','originalMeta','collabSubmitChangesetUrl','csShouldRetryEvent','collaboration_new_changeset','revision','_applyRemoteChangeset','localeService','debug','onStateChange','FETCH_MISSING','indexOf','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','state','toggleOffline','createDecryptor','join','/rev/','createSocket','onlyLocal','_shouldReportTelemetry','set','_nDataBytes','src','emitEvent','[CollaborationSession]','sendChangesetTimeout','range','getRandomValues','/-/object/list','location','_iv','joinEvent','fetchMiss','iterations','getSheetBlock','runId','clamp','AES','UNAUTHENTICATED','members','onMissingChangesets','getUnitType','getUnitId','subscribe','addHandlerCallback','[SyncedState]:\x20received\x20rejection.','_hasher','_initMergeInterceptor','PasswordBasedCipher','getAllMembers','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_checkMissing','selections','csRejEvent','_retryConnectingTimer','has','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','symbol','_xformMode','avatar','_sendHeartbeatTimer','3307675jLpcwf','HMAC','SerializableCipher','decrypt','executeCommand','signUrlServerUrl','startTime','workbook','_onRemoteChangeset','uniscriptRunEvent','method','getSnapshotAPIPath','APPLY_REJECT','_collaborationTimeoutTimer','_pendingMutations','_incrementRevisionNumber','UPDATE_PERMISSION_OBJ','list','_roomMembers','/allowed','_doProcessBlock','_oKey','_members$','target','pluginName','_collaborationPaused','_queuedRemoteChangesets','/unit/','_nRounds','_submitChangeset','People','status','transformMutationsWithChangeset','socketService','appendMutation','permissionRejEvent','commentUpdateEvent','memberID','toggleOnline','_loadDoc','unknown','LIVESHARE_OPERATION','_changesetSessionId','randomUUID','_scheduleCollaborationTimeoutTimer','format','push','StreamCipher','algo','m2Prime','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','LICENSE_DISTRO_REJECTED','unitId\x20is\x20not\x20found','_transformIMECache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','finalize','OFFLINE','resend','CONNECTOR_DATA_TOO_LARGE','UNKNOWN_CMD','_socket$','AUTHZ_URL_KEY','rng','_getLoginPath','_lockTransition','onTransformRemoteChangesetByStateCache','json','code','collaMsg','put','userID','asObservable','resolve','reconnect','_clearRedo','next','onCommandExecuted','c1Prime','_unlockTransition','x-univer-host','add','charCodeAt','baseRev','APPLY_REVISION_CONFILICT','/universer-api/snapshot/','[CollaborationSessionService]:\x20socket\x20error','29582phwVwL','_removeRoom','UNKNOWN_CODE','/universer-api/file/{fileID}/sign-url','ciphertext','_mode','_initDependencies','infoRsp','transformUndoRedo','Error\x20on\x20receiving\x20event','getTypeOfUnitAdded$','_transformStack','sigBytes','_unitID','_map','ticket','\x20to\x20','objectID','localCacheService','copyFileMeta','sin','prototype','_getSendChangesetTimeout','encodeURIComponent','joinRsp','_eventService','encode','_imageSourceCache','saveSnapshot','dispose$','LIVESHARE_TERMINATE','_tryReconnect','search','getValue','blockSize','_transformUndoredo','unitInfo$','_joinRoom','deepClone','rev','padding','SNAPSHOT_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','WordArray','OTHER_CLIENT_EDITING','getLatestCsReqIdBySid','collaboration-client.local-cache-service','buffer','UNIVER_COLLABORATION_CLIENT_PLUGIN','LOGIN_URL_KEY','/role','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','requestParams','updateOfflineData','_getAPIPrefixPath','_substituteUndoStack','pad','forEach','_instanceService','params','allowed','_createInitialState','_commentService','batchAllowed','_hash','_createHandler','_key','collaboration-client.config','BASE64','roomInfos','objectType','_socket','getImageSourceCache','delete','session','_handler','_remoteChangesetQueue','_getDownloadEndpointURL','byteOffset','_getSessionTicket','enableAuthServer','reduce','getFocusedUnit','_doReset','HttpImport','_updateState','_commandService','change$','SHA1','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_univerInstanceService','CHANGESET_ACK','_isPermissionRej','INTERNAL_ERROR','ONLINE','/object','COLLAB_WEB_SOCKET_URL','getCollabEntity','_onConnectionFailed','fetchMissingChangesets','_sender','USERS_LEAVE','_onRecvEvent','UNIVER_PROJECT','registerHTTPInterceptor','CHANGESET_REVISION_CONFILICT','csAckEvent','_transformStateCache','leaveEvent','data','_createInitialStateImpl','authzUrl','clear','?url=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','awaiting_with_pending','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','listRoles','_onJoinRoomEvent','_candidateSocket','UNIVER_SLIDE','_onRemoteRejected','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','values','LIVESHARE_NEW_HOST','readyForCollab','_config','_onOffline','substr','objectActions','_toggleOffline','_snapshotService','/fetchmissing?from=','editingUnit','routeKey','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','size','_getCtorByUniverType','downloadEndpointUrl','actions','_injector','SHOULD_CLOSE_CONN','_onLocalMutation','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createSocket','_sessions','onTransformState','COLLAB_SUBMIT_CHANGESET_URL','update','result','createInstance','INGEST','salt','offline','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','_stopTelemetryCollaborationNewChangeset','unitId','UNIVER_UNKNOWN','_telemetryInfo','_memberService','session.room-cnt-exceeds','onRemoteRej','\x0aAfter:\x20','SYNCED','_getUploadFileURL','OPTIONAL','$super','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','awaitingChangeset','status$','loadUnit','sid','[UniverCollaborationClientPlugin]','INVALID_ARGUMENT','append','lib','[FetchMissState]','cfg','capture','reject','_HTTPService','_telemetryService','ivSize','getUnit','getCollabEntity$','compose','fetchThroughInterceptors','randomBytes','newCsEvent','_entityInit$','save\x20fail\x20reason\x20is\x20','ERROR_IMAGE','setCurrentUser','[CollaborationUndoRedoService]','kdf','YUUMI_UNABLE_LOAD_URL','readInt32LE','_transformRemoteChangesetByStateCache','PERSON','interceptor','sheets','_syncEditingCollabCursor','[CollaborationEntity]','transformSelections','floor','Base','[SyncedState]:\x20received\x20acknowledgement.','_emitMembers','SUBMIT_CHANGESET_TIMEOUT','disposeWithMe','complete','_exhaustRemoteChangesetQueue','abs','searchParams','_state','encryptBlock','updatePermissionPoint','_parse','_event$','/resources','univer-pro.collaboration-client-socket-service','_collaborationSessionService','_toggleOnline','_updateStatus','getCurrentSelections','close','textRanges','NOT_FOUND','__Key__','_userManagerService','_replaceFileID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_SHEET','_status$','_compressMutationService','splice','_invKeySchedule','8472096ASejRX','_waitForHeartbeatResponse','_change$','setShowComponents','_throwTelemetryCollaborationNewChangeset','_doCryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','UNDEFINED','_onConnectionOpen','keySize','function','Univer','session.room-not-exists','session.join-failed','_iKey','CONFLICT','charAt','crypto','parse','findIndex','[CollaborationSessionService]','removeMember','_roomCreated$','changesets','TOO_MANY_REQUESTS','[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.','requireSession','Malformed\x20UTF-8\x20data','closeSession','getDeserializedSheetBlock','_initRequestHeader','isPermissionRej','HmacSHA1','_loadSheet','/object/','HEARTBEAT_INTERVAL','UPDATE_CURSOR','/collaborator','Cipher','HELLO','HmacMD5','_handlerCallback','updateCursorEvent','compute','call','name','toLowerCase','init','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaiting','_prevBlock','_fetchMissChangesets','liveShareNewHost','_clearUndo','Utf8','_substituteRedoStack','NEW_CHANGESETS','\x20in\x20_schedule.','Encryptor','_snapshotServerService','close$','Undefined','PERMISSION_REJ','_state$','_process','refreshPermission','ALREADY_EXISTS','find','2763688BTbrSJ','_collabSessionService','LOCAL_CACHE_INTERVAL','error$','_socketReady','get','type','USERS_ENTER','getRoom','LIVESHARE_FETCH_OPERATIONS','collaborators','UnitEmbedded','getTypeOfUnitDisposed$','title','getMember','SOCKET_FAILED_RETRY','_commentUpdate$','JOIN_ROOM_PERMISSION_DENIED','updateCollaborator','_append','body','[OfflineState]:\x20received\x20changeset.','string','now','online$','onTransformSelections','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PY_RUNTIME_SCRIPT_ERROR','FileId','/universer-api/oidc/authpage','ERROR_IMAGE_TYPE','_onRemoteACK','length','LICENSE_EXPORT_SIZE_EXCEEDED','_listenToNetworkCondition','_sessionStatus$','getMemberID','_ENC_XFORM_MODE','_http','_onConflict'];_0x6aa3=function(){return _0x3c277c;};return _0x6aa3();}const Pi=_0x1af128(0x2bd),wr=_0x1af128(0x1e6);let bt=class extends _0x1ec030{constructor(_0x57d8bc,_0x49cbc1){var _0x10ab04=_0x1af128;super(),this[_0x10ab04(0x393)]=_0x57d8bc,this[_0x10ab04(0x4d1)]=_0x49cbc1,this[_0x10ab04(0x270)]();}[_0x1af128(0x270)](){var _0x47a96a=_0x1af128;const _0x51598e=this;this[_0x47a96a(0x3b0)](this[_0x47a96a(0x393)][_0x47a96a(0x340)]({'priority':0x3e7,'interceptor':_0x8ebddf({'isMatch'(_0x5c48fe){var _0x4064c4=_0x47a96a,_0x33ce1f;if(_0x5c48fe[_0x4064c4(0x289)]===_0x4064c4(0x234)&&((_0x33ce1f=_0x5c48fe['requestParams'])!=null&&_0x33ce1f[_0x4064c4(0x425)])){const {objectID:_0x53873e,objectType:_0x7907d8}=_0x5c48fe[_0x4064c4(0x30a)][_0x4064c4(0x425)]||{};if(!_0x53873e||_0x7907d8===void 0x0)return!0x1;const _0x23c2ed=_0x51598e['_getAPIPrefixPath']()+'/'+_0x7907d8+'/object/'+_0x53873e+'/allowed';if(_0x5c48fe[_0x4064c4(0x1f8)]===_0x23c2ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5abdc2){var _0x8887ac=_0x47a96a,_0x1e6a14;return(_0x1e6a14=_0x5abdc2['requestParams'])==null?void 0x0:_0x1e6a14[_0x8887ac(0x425)];},'mergeParamsToRequest'(_0x121c13,_0x545c1d){var _0x1bbed0=_0x47a96a;const _0x2bc8f6=_0x51598e['_getAPIPrefixPath']()+_0x1bbed0(0x46b),_0x223d2b=_0x121c13[_0x1bbed0(0x327)]((_0x11dc9c,_0x3ee9d3)=>{var _0x3abd70=_0x1bbed0;const {unitID:_0x5a7440,objectID:_0x136ca0,objectType:_0x4d52d1,actions:_0x2aee9d}=_0x3ee9d3;return _0x11dc9c[_0x5a7440]||(_0x11dc9c[_0x5a7440]={}),_0x11dc9c[_0x5a7440][_0x136ca0]||(_0x11dc9c[_0x5a7440][_0x136ca0]={'objectID':_0x136ca0,'objectType':_0x4d52d1,'actions':[]}),_0x11dc9c[_0x5a7440][_0x136ca0][_0x3abd70(0x366)]['push'](..._0x2aee9d),_0x11dc9c;},{}),_0x65a60c=[];for(const _0x19ed99 in _0x223d2b)for(const _0x36734f in _0x223d2b[_0x19ed99]){const {actions:_0x4fca87,objectType:_0x14e748}=_0x223d2b[_0x19ed99][_0x36734f],_0x47a582=[...new Set(_0x4fca87)];_0x65a60c['push']({'unitID':_0x19ed99,'objectID':_0x36734f,'objectType':_0x14e748,'actions':_0x47a582});}return new _0x4ca06d(_0x1bbed0(0x234),_0x2bc8f6,{'headers':_0x545c1d[_0x1bbed0(0x484)],'withCredentials':_0x545c1d['withCredentials'],'responseType':_0x545c1d['responseType'],'body':{'requests':_0x65a60c}});}},{'distributeResult'(_0x5e5604,_0x1b9ca9){var _0x3543b0=_0x47a96a;const {objectActions:_0x2195d1}=_0x5e5604;return _0x1b9ca9[_0x3543b0(0x453)](_0x1bbcb7=>{var _0x288d3d=_0x3543b0;const {unitID:_0x3778f2,objectID:_0x28b054,actions:_0x2d17d1}=_0x1bbcb7,_0x38d262=_0x2195d1[_0x288d3d(0x410)](_0x37d3b1=>_0x37d3b1[_0x288d3d(0x1fa)]===_0x3778f2&&_0x37d3b1[_0x288d3d(0x2e7)]===_0x28b054),_0x4c74c3=_0x2d17d1[_0x288d3d(0x453)](_0x5bb2f1=>_0x38d262==null?void 0x0:_0x38d262[_0x288d3d(0x366)][_0x288d3d(0x410)](_0xc792e8=>_0xc792e8['action']===_0x5bb2f1))['filter'](_0x2d719e=>!!_0x2d719e);return{'config':_0x1bbcb7,'result':{'actions':_0x4c74c3,'error':_0x5e5604[_0x288d3d(0x479)]}};});}})}));}[_0x1af128(0x30c)](){var _0x18f744=_0x1af128,_0x816606,_0x45e0f7;const _0x3c74fe=this['_configService'][_0x18f744(0x49e)](Pi),_0x29a906=this[_0x18f744(0x4d1)][_0x18f744(0x49e)](q);return(_0x45e0f7=(_0x816606=_0x29a906==null?void 0x0:_0x29a906[_0x18f744(0x347)])!=null?_0x816606:_0x3c74fe)!=null?_0x45e0f7:wr;}async[_0x1af128(0x4b2)](_0xa0602e){var _0x38922f=_0x1af128;const _0x1270e7=this['_getAPIPrefixPath']()+'/'+_0xa0602e[_0x38922f(0x31c)]+_0x38922f(0x337);return(await this[_0x38922f(0x393)][_0x38922f(0x4cc)](_0x1270e7,{'body':_0xa0602e}))['body']['objectID']||'';}async['list'](_0x1869a9){var _0x4da3c4=_0x1af128;const _0x1f391d=this['_getAPIPrefixPath']()+_0x4da3c4(0x25d);return(await this['_HTTPService'][_0x4da3c4(0x4cc)](_0x1f391d,{'body':_0x1869a9}))[_0x4da3c4(0x425)]['objects'];}async[_0x1af128(0x370)](_0xb4dd55){var _0x9077f2=_0x1af128;const _0x25e3d7=this[_0x9077f2(0x30c)]()+'/'+_0xb4dd55[_0x9077f2(0x31c)]+_0x9077f2(0x3ef)+_0xb4dd55[_0x9077f2(0x2e7)];await this['_HTTPService'][_0x9077f2(0x2c5)](_0x25e3d7,{'body':_0xb4dd55});}async[_0x1af128(0x312)](_0x5ba9f9){var _0x11f922=_0x1af128;const _0x2167b9=this[_0x11f922(0x30c)]()+'/'+_0x5ba9f9['objectType']+_0x11f922(0x3ef)+_0x5ba9f9[_0x11f922(0x2e7)]+_0x11f922(0x292);return(await this[_0x11f922(0x393)]['post'](_0x2167b9,{'body':_0x5ba9f9}))[_0x11f922(0x425)]['actions'];}async[_0x1af128(0x315)](_0x19ed53){var _0x530030=_0x1af128;const _0x16a52a=this[_0x530030(0x30c)]()+_0x530030(0x46b);return(await this[_0x530030(0x393)][_0x530030(0x4cc)](_0x16a52a,{'body':{'requests':_0x19ed53}}))[_0x530030(0x425)][_0x530030(0x35b)];}async[_0x1af128(0x34e)](_0x57df8b){var _0x2b3c00=_0x1af128;const _0x7aaca0=this['_getAPIPrefixPath']()+'/'+_0x57df8b[_0x2b3c00(0x31c)]+_0x2b3c00(0x308),_0x1867b8=await this['_HTTPService']['post'](_0x7aaca0,{'body':_0x57df8b});return{'roles':_0x1867b8[_0x2b3c00(0x425)][_0x2b3c00(0x4a8)],'actions':_0x1867b8['body']['actions']};}async['deleteCollaborator'](_0x275ddd){var _0x1f0d3a=_0x1af128;const _0x3cfeb6=this[_0x1f0d3a(0x30c)]()+_0x1f0d3a(0x3f2);await this[_0x1f0d3a(0x393)][_0x1f0d3a(0x31f)](_0x3cfeb6,{'params':{'collaboratorID':_0x275ddd['collaboratorID'],'objectID':_0x275ddd['objectID'],'unitID':_0x275ddd['unitID']}});}async[_0x1af128(0x423)](_0x46b496){var _0x359ad2=_0x1af128;const _0x189557=this[_0x359ad2(0x30c)]()+_0x359ad2(0x3f2);await this[_0x359ad2(0x393)]['patch'](_0x189557,{'body':_0x46b496});}async[_0x1af128(0x1dd)](_0x4e8a31){var _0x301307=_0x1af128;const _0x42454c=this[_0x301307(0x30c)]()+'/collaborator';await this[_0x301307(0x393)][_0x301307(0x4cc)](_0x42454c,{'body':_0x4e8a31});}async[_0x1af128(0x4bd)](_0x26126d){var _0x19f4d1=_0x1af128;const _0x278ad3=this[_0x19f4d1(0x30c)]()+_0x19f4d1(0x3f2);return(await this[_0x19f4d1(0x393)][_0x19f4d1(0x416)](_0x278ad3,{'params':{'objectID':_0x26126d[_0x19f4d1(0x2e7)],'unitID':_0x26126d[_0x19f4d1(0x1fa)]}}))[_0x19f4d1(0x425)][_0x19f4d1(0x41b)];}async['putCollaborators'](_0x318b2c){var _0x4fca6c=_0x1af128;const _0x4493a0=this[_0x4fca6c(0x30c)]()+'/collaborator';await this[_0x4fca6c(0x393)][_0x4fca6c(0x2c5)](_0x4493a0,{'body':_0x318b2c});}};bt=Pr([Xt(0x0,_0x50b881(_0x51273b)),Xt(0x1,_0x50b881(_0xb3f6ba))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x552113){var _0x3be1fd=_0x1af128;return _0x552113&&_0x552113[_0x3be1fd(0x47c)]&&Object[_0x3be1fd(0x2eb)][_0x3be1fd(0x279)][_0x3be1fd(0x3f9)](_0x552113,_0x3be1fd(0x232))?_0x552113[_0x3be1fd(0x232)]:_0x552113;}var Ve={'exports':{}};function Ur(_0x2e5fd5){var _0x304bd7=_0x1af128;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2e5fd5+_0x304bd7(0x300));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x48a56b,_0x314c04){(function(_0x5a5d90,_0x2b0f24){var _0x118ebe=_0x596d;_0x48a56b[_0x118ebe(0x1d6)]=_0x2b0f24();}(Ar,function(){var _0x280bb4=_0x280bb4||function(_0x4a9a82,_0x4c29b1){var _0x37e20c=_0x596d,_0x3bab31;if(typeof window<'u'&&window['crypto']&&(_0x3bab31=window[_0x37e20c(0x3de)]),typeof self<'u'&&self[_0x37e20c(0x3de)]&&(_0x3bab31=self[_0x37e20c(0x3de)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3bab31=globalThis[_0x37e20c(0x3de)]),!_0x3bab31&&typeof window<'u'&&window[_0x37e20c(0x43d)]&&(_0x3bab31=window['msCrypto']),!_0x3bab31&&typeof pt<'u'&&pt[_0x37e20c(0x3de)]&&(_0x3bab31=pt[_0x37e20c(0x3de)]),!_0x3bab31&&typeof Ur=='function')try{_0x3bab31=require(_0x37e20c(0x3de));}catch{}var _0xc4e0eb=function(){var _0x50f3b7=_0x37e20c;if(_0x3bab31){if(typeof _0x3bab31[_0x50f3b7(0x25c)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x25c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3bab31[_0x50f3b7(0x39a)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x39a)](0x4)[_0x50f3b7(0x3a3)]();}catch{}}throw new Error(_0x50f3b7(0x4b9));},_0x4b17aa=Object['create']||(function(){function _0x32ef65(){}return function(_0x6d804){var _0x2a9916=_0x596d,_0x3647bf;return _0x32ef65['prototype']=_0x6d804,_0x3647bf=new _0x32ef65(),_0x32ef65[_0x2a9916(0x2eb)]=null,_0x3647bf;};}()),_0x1c143c={},_0x5f7b10=_0x1c143c[_0x37e20c(0x38e)]={},_0x5becf1=_0x5f7b10[_0x37e20c(0x3ac)]=(function(){return{'extend':function(_0x34b0c8){var _0x4233c0=_0x596d,_0x14ef6f=_0x4b17aa(this);return _0x34b0c8&&_0x14ef6f[_0x4233c0(0x445)](_0x34b0c8),(!_0x14ef6f[_0x4233c0(0x279)](_0x4233c0(0x3fc))||this[_0x4233c0(0x3fc)]===_0x14ef6f['init'])&&(_0x14ef6f[_0x4233c0(0x3fc)]=function(){var _0x4a6856=_0x4233c0;_0x14ef6f['$super'][_0x4a6856(0x3fc)][_0x4a6856(0x498)](this,arguments);}),_0x14ef6f[_0x4233c0(0x3fc)][_0x4233c0(0x2eb)]=_0x14ef6f,_0x14ef6f[_0x4233c0(0x383)]=this,_0x14ef6f;},'create':function(){var _0x2b25c6=_0x596d,_0x6abba6=this['extend']();return _0x6abba6['init'][_0x2b25c6(0x498)](_0x6abba6,arguments),_0x6abba6;},'init':function(){},'mixIn':function(_0x157af6){var _0x4742fa=_0x596d;for(var _0x522b82 in _0x157af6)_0x157af6[_0x4742fa(0x279)](_0x522b82)&&(this[_0x522b82]=_0x157af6[_0x522b82]);_0x157af6[_0x4742fa(0x279)](_0x4742fa(0x4d5))&&(this[_0x4742fa(0x4d5)]=_0x157af6[_0x4742fa(0x4d5)]);},'clone':function(){var _0x496970=_0x596d;return this[_0x496970(0x3fc)]['prototype'][_0x496970(0x4a2)](this);}};}()),_0x213313=_0x5f7b10[_0x37e20c(0x301)]=_0x5becf1['extend']({'init':function(_0x24fb5e,_0x56093c){var _0x301d4f=_0x37e20c;_0x24fb5e=this[_0x301d4f(0x487)]=_0x24fb5e||[],_0x56093c!=_0x4c29b1?this[_0x301d4f(0x2e2)]=_0x56093c:this['sigBytes']=_0x24fb5e[_0x301d4f(0x431)]*0x4;},'toString':function(_0x5d14dc){return(_0x5d14dc||_0x3fc6c9)['stringify'](this);},'concat':function(_0x2d731f){var _0x3f5157=_0x37e20c,_0x243b17=this[_0x3f5157(0x487)],_0x364e0c=_0x2d731f[_0x3f5157(0x487)],_0x57fcf5=this[_0x3f5157(0x2e2)],_0x3a4c64=_0x2d731f[_0x3f5157(0x2e2)];if(this[_0x3f5157(0x265)](),_0x57fcf5%0x4)for(var _0x413209=0x0;_0x413209<_0x3a4c64;_0x413209++){var _0x251ee8=_0x364e0c[_0x413209>>>0x2]>>>0x18-_0x413209%0x4*0x8&0xff;_0x243b17[_0x57fcf5+_0x413209>>>0x2]|=_0x251ee8<<0x18-(_0x57fcf5+_0x413209)%0x4*0x8;}else{for(var _0x588d7b=0x0;_0x588d7b<_0x3a4c64;_0x588d7b+=0x4)_0x243b17[_0x57fcf5+_0x588d7b>>>0x2]=_0x364e0c[_0x588d7b>>>0x2];}return this[_0x3f5157(0x2e2)]+=_0x3a4c64,this;},'clamp':function(){var _0x56ba8e=_0x37e20c,_0x3c37e7=this[_0x56ba8e(0x487)],_0x56409b=this[_0x56ba8e(0x2e2)];_0x3c37e7[_0x56409b>>>0x2]&=0xffffffff<<0x20-_0x56409b%0x4*0x8,_0x3c37e7[_0x56ba8e(0x431)]=_0x4a9a82[_0x56ba8e(0x4a6)](_0x56409b/0x4);},'clone':function(){var _0x13616b=_0x37e20c,_0x30e4fb=_0x5becf1[_0x13616b(0x1de)]['call'](this);return _0x30e4fb[_0x13616b(0x487)]=this['words'][_0x13616b(0x386)](0x0),_0x30e4fb;},'random':function(_0x906c8){var _0x35d5b6=_0x37e20c;for(var _0x3c0348=[],_0x529f72=0x0;_0x529f72<_0x906c8;_0x529f72+=0x4)_0x3c0348['push'](_0xc4e0eb());return new _0x213313[(_0x35d5b6(0x3fc))](_0x3c0348,_0x906c8);}}),_0xa88831=_0x1c143c['enc']={},_0x3fc6c9=_0xa88831[_0x37e20c(0x205)]={'stringify':function(_0x3ce5b9){var _0x4e558c=_0x37e20c;for(var _0x7bfc74=_0x3ce5b9[_0x4e558c(0x487)],_0x19a5ce=_0x3ce5b9[_0x4e558c(0x2e2)],_0x907164=[],_0x1bd737=0x0;_0x1bd737<_0x19a5ce;_0x1bd737++){var _0x5a2618=_0x7bfc74[_0x1bd737>>>0x2]>>>0x18-_0x1bd737%0x4*0x8&0xff;_0x907164[_0x4e558c(0x2ad)]((_0x5a2618>>>0x4)['toString'](0x10)),_0x907164[_0x4e558c(0x2ad)]((_0x5a2618&0xf)[_0x4e558c(0x4d5)](0x10));}return _0x907164[_0x4e558c(0x250)]('');},'parse':function(_0x27d3ab){var _0x3b0a51=_0x37e20c;for(var _0x1d2558=_0x27d3ab[_0x3b0a51(0x431)],_0xaff7d9=[],_0x165ddf=0x0;_0x165ddf<_0x1d2558;_0x165ddf+=0x2)_0xaff7d9[_0x165ddf>>>0x3]|=parseInt(_0x27d3ab[_0x3b0a51(0x35a)](_0x165ddf,0x2),0x10)<<0x18-_0x165ddf%0x8*0x4;return new _0x213313['init'](_0xaff7d9,_0x1d2558/0x2);}},_0x390f1d=_0xa88831[_0x37e20c(0x206)]={'stringify':function(_0x3fd973){var _0x26869f=_0x37e20c;for(var _0x1bab15=_0x3fd973['words'],_0x1cfa7c=_0x3fd973[_0x26869f(0x2e2)],_0xdc4287=[],_0x202405=0x0;_0x202405<_0x1cfa7c;_0x202405++){var _0x469a3d=_0x1bab15[_0x202405>>>0x2]>>>0x18-_0x202405%0x4*0x8&0xff;_0xdc4287['push'](String['fromCharCode'](_0x469a3d));}return _0xdc4287[_0x26869f(0x250)]('');},'parse':function(_0x450496){var _0x33ce96=_0x37e20c;for(var _0x2ffcf7=_0x450496[_0x33ce96(0x431)],_0x3364a2=[],_0x3a0313=0x0;_0x3a0313<_0x2ffcf7;_0x3a0313++)_0x3364a2[_0x3a0313>>>0x2]|=(_0x450496['charCodeAt'](_0x3a0313)&0xff)<<0x18-_0x3a0313%0x4*0x8;return new _0x213313[(_0x33ce96(0x3fc))](_0x3364a2,_0x2ffcf7);}},_0x53f9c3=_0xa88831[_0x37e20c(0x403)]={'stringify':function(_0x2787aa){var _0x586c53=_0x37e20c;try{return decodeURIComponent(escape(_0x390f1d['stringify'](_0x2787aa)));}catch{throw new Error(_0x586c53(0x3e8));}},'parse':function(_0x3ed9c1){var _0x2806a3=_0x37e20c;return _0x390f1d[_0x2806a3(0x3df)](unescape(encodeURIComponent(_0x3ed9c1)));}},_0x11fa61=_0x5f7b10['BufferedBlockAlgorithm']=_0x5becf1['extend']({'reset':function(){var _0x4012d2=_0x37e20c;this[_0x4012d2(0x4d8)]=new _0x213313[(_0x4012d2(0x3fc))](),this[_0x4012d2(0x256)]=0x0;},'_append':function(_0x106cfd){var _0x3988f2=_0x37e20c;typeof _0x106cfd==_0x3988f2(0x427)&&(_0x106cfd=_0x53f9c3[_0x3988f2(0x3df)](_0x106cfd)),this[_0x3988f2(0x4d8)][_0x3988f2(0x21d)](_0x106cfd),this['_nDataBytes']+=_0x106cfd[_0x3988f2(0x2e2)];},'_process':function(_0x4b561c){var _0x2bdaca=_0x37e20c,_0x5bc40b,_0x487b47=this[_0x2bdaca(0x4d8)],_0x37fc4e=_0x487b47[_0x2bdaca(0x487)],_0xb1f32d=_0x487b47[_0x2bdaca(0x2e2)],_0x56280e=this['blockSize'],_0xa231db=_0x56280e*0x4,_0x361b25=_0xb1f32d/_0xa231db;_0x4b561c?_0x361b25=_0x4a9a82[_0x2bdaca(0x4a6)](_0x361b25):_0x361b25=_0x4a9a82[_0x2bdaca(0x1e2)]((_0x361b25|0x0)-this['_minBufferSize'],0x0);var _0x596736=_0x361b25*_0x56280e,_0x5c5f27=_0x4a9a82[_0x2bdaca(0x439)](_0x596736*0x4,_0xb1f32d);if(_0x596736){for(var _0x1a8425=0x0;_0x1a8425<_0x596736;_0x1a8425+=_0x56280e)this[_0x2bdaca(0x293)](_0x37fc4e,_0x1a8425);_0x5bc40b=_0x37fc4e['splice'](0x0,_0x596736),_0x487b47[_0x2bdaca(0x2e2)]-=_0x5c5f27;}return new _0x213313[(_0x2bdaca(0x3fc))](_0x5bc40b,_0x5c5f27);},'clone':function(){var _0x104f62=_0x37e20c,_0x2f7109=_0x5becf1['clone'][_0x104f62(0x3f9)](this);return _0x2f7109[_0x104f62(0x4d8)]=this[_0x104f62(0x4d8)][_0x104f62(0x1de)](),_0x2f7109;},'_minBufferSize':0x0});_0x5f7b10['Hasher']=_0x11fa61[_0x37e20c(0x4a2)]({'cfg':_0x5becf1[_0x37e20c(0x4a2)](),'init':function(_0x33d8d1){var _0x2f1384=_0x37e20c;this[_0x2f1384(0x390)]=this[_0x2f1384(0x390)][_0x2f1384(0x4a2)](_0x33d8d1),this[_0x2f1384(0x22d)]();},'reset':function(){var _0x7d9669=_0x37e20c;_0x11fa61[_0x7d9669(0x22d)][_0x7d9669(0x3f9)](this),this[_0x7d9669(0x329)]();},'update':function(_0x5458c4){var _0x4689ae=_0x37e20c;return this[_0x4689ae(0x424)](_0x5458c4),this[_0x4689ae(0x40d)](),this;},'finalize':function(_0x4c8a03){var _0x3f4b6e=_0x37e20c;_0x4c8a03&&this[_0x3f4b6e(0x424)](_0x4c8a03);var _0x2e69b2=this[_0x3f4b6e(0x4a3)]();return _0x2e69b2;},'blockSize':0x10,'_createHelper':function(_0x222b35){return function(_0x593d8,_0x2932ec){var _0x1a4ec7=_0x596d;return new _0x222b35['init'](_0x2932ec)[_0x1a4ec7(0x2b7)](_0x593d8);};},'_createHmacHelper':function(_0x3877f4){return function(_0x3089d0,_0x509973){var _0x43eba0=_0x596d;return new _0x589f1e[(_0x43eba0(0x280))][(_0x43eba0(0x3fc))](_0x3877f4,_0x509973)[_0x43eba0(0x2b7)](_0x3089d0);};}});var _0x589f1e=_0x1c143c['algo']={};return _0x1c143c;}(Math);return _0x280bb4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1af128(0x1d6)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x11881c,_0xdd206b){(function(_0x336033,_0x46e412){var _0x11fd9c=_0x596d;_0x11881c[_0x11fd9c(0x1d6)]=_0x46e412(ne());}(xr,function(_0x4c7b3e){var _0x37b411=_0x596d;return(function(){var _0xa7735e=_0x596d,_0x1a1be8=_0x4c7b3e,_0x1c3b07=_0x1a1be8[_0xa7735e(0x38e)],_0x294c0f=_0x1c3b07[_0xa7735e(0x301)],_0x3439cc=_0x1a1be8['enc'];_0x3439cc['Base64']={'stringify':function(_0x28f918){var _0x201c4e=_0xa7735e,_0x3f3091=_0x28f918[_0x201c4e(0x487)],_0x3e5b10=_0x28f918[_0x201c4e(0x2e2)],_0x137553=this[_0x201c4e(0x2e4)];_0x28f918[_0x201c4e(0x265)]();for(var _0x3fc56e=[],_0x486189=0x0;_0x486189<_0x3e5b10;_0x486189+=0x3)for(var _0x1fcb00=_0x3f3091[_0x486189>>>0x2]>>>0x18-_0x486189%0x4*0x8&0xff,_0x4411a9=_0x3f3091[_0x486189+0x1>>>0x2]>>>0x18-(_0x486189+0x1)%0x4*0x8&0xff,_0x43fa0e=_0x3f3091[_0x486189+0x2>>>0x2]>>>0x18-(_0x486189+0x2)%0x4*0x8&0xff,_0x5db6d7=_0x1fcb00<<0x10|_0x4411a9<<0x8|_0x43fa0e,_0x173eba=0x0;_0x173eba<0x4&&_0x486189+_0x173eba*0.75<_0x3e5b10;_0x173eba++)_0x3fc56e['push'](_0x137553[_0x201c4e(0x3dd)](_0x5db6d7>>>0x6*(0x3-_0x173eba)&0x3f));var _0x56d568=_0x137553[_0x201c4e(0x3dd)](0x40);if(_0x56d568){for(;_0x3fc56e['length']%0x4;)_0x3fc56e[_0x201c4e(0x2ad)](_0x56d568);}return _0x3fc56e[_0x201c4e(0x250)]('');},'parse':function(_0x5f6127){var _0x1893f7=_0xa7735e,_0x213210=_0x5f6127[_0x1893f7(0x431)],_0x5f30c9=this[_0x1893f7(0x2e4)],_0x6ee06d=this[_0x1893f7(0x458)];if(!_0x6ee06d){_0x6ee06d=this[_0x1893f7(0x458)]=[];for(var _0x89f914=0x0;_0x89f914<_0x5f30c9[_0x1893f7(0x431)];_0x89f914++)_0x6ee06d[_0x5f30c9[_0x1893f7(0x2d1)](_0x89f914)]=_0x89f914;}var _0x106663=_0x5f30c9[_0x1893f7(0x3dd)](0x40);if(_0x106663){var _0x1fc414=_0x5f6127[_0x1893f7(0x24a)](_0x106663);_0x1fc414!==-0x1&&(_0x213210=_0x1fc414);}return _0x41c13d(_0x5f6127,_0x213210,_0x6ee06d);},'_map':_0xa7735e(0x227)};function _0x41c13d(_0x20aa83,_0x594448,_0xd3c7a3){var _0x3def0d=_0xa7735e;for(var _0x5da843=[],_0x159ddf=0x0,_0x5b407d=0x0;_0x5b407d<_0x594448;_0x5b407d++)if(_0x5b407d%0x4){var _0x689f96=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d-0x1)]<<_0x5b407d%0x4*0x2,_0x5079d2=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d)]>>>0x6-_0x5b407d%0x4*0x2,_0x5db391=_0x689f96|_0x5079d2;_0x5da843[_0x159ddf>>>0x2]|=_0x5db391<<0x18-_0x159ddf%0x4*0x8,_0x159ddf++;}return _0x294c0f[_0x3def0d(0x4b2)](_0x5da843,_0x159ddf);}}()),_0x4c7b3e[_0x37b411(0x1fe)][_0x37b411(0x497)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x473fbd=_0x1af128;return ei||(ei=0x1,function(_0x7ee48c,_0x547e34){(function(_0x184f95,_0x20a655){var _0x1f6494=_0x596d;_0x7ee48c[_0x1f6494(0x1d6)]=_0x20a655(ne());}(Lr,function(_0x52080a){return function(_0x537a9a){var _0x133cbd=_0x596d,_0xdeeb8d=_0x52080a,_0x10f43a=_0xdeeb8d[_0x133cbd(0x38e)],_0x311b7c=_0x10f43a['WordArray'],_0x266371=_0x10f43a['Hasher'],_0x381e5d=_0xdeeb8d[_0x133cbd(0x2af)],_0x38e293=[];(function(){var _0x214e0=_0x133cbd;for(var _0xe8776f=0x0;_0xe8776f<0x40;_0xe8776f++)_0x38e293[_0xe8776f]=_0x537a9a[_0x214e0(0x3b3)](_0x537a9a[_0x214e0(0x2ea)](_0xe8776f+0x1))*0x100000000|0x0;}());var _0x1e1837=_0x381e5d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x4a2)]({'_doReset':function(){var _0x2dbb7d=_0x133cbd;this[_0x2dbb7d(0x316)]=new _0x311b7c[(_0x2dbb7d(0x3fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ac0c0,_0x502076){var _0x330187=_0x133cbd;for(var _0x5286f2=0x0;_0x5286f2<0x10;_0x5286f2++){var _0xde7572=_0x502076+_0x5286f2,_0x3e57a2=_0x4ac0c0[_0xde7572];_0x4ac0c0[_0xde7572]=(_0x3e57a2<<0x8|_0x3e57a2>>>0x18)&0xff00ff|(_0x3e57a2<<0x18|_0x3e57a2>>>0x8)&0xff00ff00;}var _0x291bba=this[_0x330187(0x316)][_0x330187(0x487)],_0x2476b3=_0x4ac0c0[_0x502076+0x0],_0x55be43=_0x4ac0c0[_0x502076+0x1],_0x4541bb=_0x4ac0c0[_0x502076+0x2],_0x75d4aa=_0x4ac0c0[_0x502076+0x3],_0x3f2094=_0x4ac0c0[_0x502076+0x4],_0x56e834=_0x4ac0c0[_0x502076+0x5],_0x3a114e=_0x4ac0c0[_0x502076+0x6],_0x36b380=_0x4ac0c0[_0x502076+0x7],_0x376622=_0x4ac0c0[_0x502076+0x8],_0x161533=_0x4ac0c0[_0x502076+0x9],_0x3c917a=_0x4ac0c0[_0x502076+0xa],_0x53391c=_0x4ac0c0[_0x502076+0xb],_0x2e9b0a=_0x4ac0c0[_0x502076+0xc],_0x945a71=_0x4ac0c0[_0x502076+0xd],_0x112621=_0x4ac0c0[_0x502076+0xe],_0xd41543=_0x4ac0c0[_0x502076+0xf],_0x244937=_0x291bba[0x0],_0x5eb74c=_0x291bba[0x1],_0x1bbe88=_0x291bba[0x2],_0x508c2e=_0x291bba[0x3];_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x7,_0x38e293[0x0]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x55be43,0xc,_0x38e293[0x1]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0x11,_0x38e293[0x2]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x75d4aa,0x16,_0x38e293[0x3]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x7,_0x38e293[0x4]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x56e834,0xc,_0x38e293[0x5]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0x11,_0x38e293[0x6]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x36b380,0x16,_0x38e293[0x7]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x7,_0x38e293[0x8]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x161533,0xc,_0x38e293[0x9]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0x11,_0x38e293[0xa]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x53391c,0x16,_0x38e293[0xb]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x7,_0x38e293[0xc]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x945a71,0xc,_0x38e293[0xd]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0x11,_0x38e293[0xe]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0xd41543,0x16,_0x38e293[0xf]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x5,_0x38e293[0x10]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3a114e,0x9,_0x38e293[0x11]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0xe,_0x38e293[0x12]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2476b3,0x14,_0x38e293[0x13]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x5,_0x38e293[0x14]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3c917a,0x9,_0x38e293[0x15]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0xe,_0x38e293[0x16]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3f2094,0x14,_0x38e293[0x17]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x5,_0x38e293[0x18]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x112621,0x9,_0x38e293[0x19]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0xe,_0x38e293[0x1a]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x376622,0x14,_0x38e293[0x1b]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x5,_0x38e293[0x1c]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x4541bb,0x9,_0x38e293[0x1d]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0xe,_0x38e293[0x1e]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2e9b0a,0x14,_0x38e293[0x1f]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x4,_0x38e293[0x20]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x376622,0xb,_0x38e293[0x21]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0x10,_0x38e293[0x22]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x112621,0x17,_0x38e293[0x23]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x4,_0x38e293[0x24]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3f2094,0xb,_0x38e293[0x25]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0x10,_0x38e293[0x26]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3c917a,0x17,_0x38e293[0x27]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x4,_0x38e293[0x28]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2476b3,0xb,_0x38e293[0x29]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0x10,_0x38e293[0x2a]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3a114e,0x17,_0x38e293[0x2b]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x4,_0x38e293[0x2c]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2e9b0a,0xb,_0x38e293[0x2d]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0x10,_0x38e293[0x2e]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x4541bb,0x17,_0x38e293[0x2f]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x6,_0x38e293[0x30]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x36b380,0xa,_0x38e293[0x31]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0xf,_0x38e293[0x32]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x56e834,0x15,_0x38e293[0x33]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x6,_0x38e293[0x34]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x75d4aa,0xa,_0x38e293[0x35]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0xf,_0x38e293[0x36]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x55be43,0x15,_0x38e293[0x37]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x6,_0x38e293[0x38]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0xd41543,0xa,_0x38e293[0x39]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0xf,_0x38e293[0x3a]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x945a71,0x15,_0x38e293[0x3b]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x6,_0x38e293[0x3c]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x53391c,0xa,_0x38e293[0x3d]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0xf,_0x38e293[0x3e]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x161533,0x15,_0x38e293[0x3f]),_0x291bba[0x0]=_0x291bba[0x0]+_0x244937|0x0,_0x291bba[0x1]=_0x291bba[0x1]+_0x5eb74c|0x0,_0x291bba[0x2]=_0x291bba[0x2]+_0x1bbe88|0x0,_0x291bba[0x3]=_0x291bba[0x3]+_0x508c2e|0x0;},'_doFinalize':function(){var _0xdfdff7=_0x133cbd,_0x2c44cd=this[_0xdfdff7(0x4d8)],_0x4aa320=_0x2c44cd[_0xdfdff7(0x487)],_0x1af8c8=this['_nDataBytes']*0x8,_0x11ac8b=_0x2c44cd[_0xdfdff7(0x2e2)]*0x8;_0x4aa320[_0x11ac8b>>>0x5]|=0x80<<0x18-_0x11ac8b%0x20;var _0x52f35c=_0x537a9a['floor'](_0x1af8c8/0x100000000),_0x405819=_0x1af8c8;_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xf]=(_0x52f35c<<0x8|_0x52f35c>>>0x18)&0xff00ff|(_0x52f35c<<0x18|_0x52f35c>>>0x8)&0xff00ff00,_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xe]=(_0x405819<<0x8|_0x405819>>>0x18)&0xff00ff|(_0x405819<<0x18|_0x405819>>>0x8)&0xff00ff00,_0x2c44cd[_0xdfdff7(0x2e2)]=(_0x4aa320['length']+0x1)*0x4,this['_process']();for(var _0x3841f7=this[_0xdfdff7(0x316)],_0x5387cf=_0x3841f7[_0xdfdff7(0x487)],_0x51aaa4=0x0;_0x51aaa4<0x4;_0x51aaa4++){var _0x396919=_0x5387cf[_0x51aaa4];_0x5387cf[_0x51aaa4]=(_0x396919<<0x8|_0x396919>>>0x18)&0xff00ff|(_0x396919<<0x18|_0x396919>>>0x8)&0xff00ff00;}return _0x3841f7;},'clone':function(){var _0x37c524=_0x133cbd,_0x29c11d=_0x266371[_0x37c524(0x1de)][_0x37c524(0x3f9)](this);return _0x29c11d['_hash']=this['_hash'][_0x37c524(0x1de)](),_0x29c11d;}});function _0xdc5d3c(_0x5be382,_0x37b7ce,_0x567736,_0x2b5df4,_0x6ccbe5,_0x284bad,_0x1b0d94){var _0x184652=_0x5be382+(_0x37b7ce&_0x567736|~_0x37b7ce&_0x2b5df4)+_0x6ccbe5+_0x1b0d94;return(_0x184652<<_0x284bad|_0x184652>>>0x20-_0x284bad)+_0x37b7ce;}function _0x3855f6(_0x50a123,_0x106bf7,_0x4e75df,_0x2a9c05,_0x3a43da,_0x16bbf4,_0x3abef4){var _0x430c30=_0x50a123+(_0x106bf7&_0x2a9c05|_0x4e75df&~_0x2a9c05)+_0x3a43da+_0x3abef4;return(_0x430c30<<_0x16bbf4|_0x430c30>>>0x20-_0x16bbf4)+_0x106bf7;}function _0x84d727(_0x27f2b5,_0x2759bf,_0x195ef8,_0x2bed17,_0x1246b3,_0x105a8c,_0xf1b546){var _0x156def=_0x27f2b5+(_0x2759bf^_0x195ef8^_0x2bed17)+_0x1246b3+_0xf1b546;return(_0x156def<<_0x105a8c|_0x156def>>>0x20-_0x105a8c)+_0x2759bf;}function _0x29239c(_0x139863,_0x27d06c,_0x5d999d,_0x4fee5a,_0xea0eaf,_0x5be690,_0x5b6d03){var _0x47c1bb=_0x139863+(_0x5d999d^(_0x27d06c|~_0x4fee5a))+_0xea0eaf+_0x5b6d03;return(_0x47c1bb<<_0x5be690|_0x47c1bb>>>0x20-_0x5be690)+_0x27d06c;}_0xdeeb8d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x1f7)](_0x1e1837),_0xdeeb8d[_0x133cbd(0x3f5)]=_0x266371[_0x133cbd(0x441)](_0x1e1837);}(Math),_0x52080a['MD5'];}));}(Ke)),Ke[_0x473fbd(0x1d6)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1af128(0x1d6)],ti;function Hr(){var _0x4a71c=_0x1af128;return ti||(ti=0x1,function(_0x30a665,_0x1d8dfb){(function(_0x36036c,_0x31f482){var _0x4fc0eb=_0x596d;_0x30a665[_0x4fc0eb(0x1d6)]=_0x31f482(ne());}($r,function(_0x32e95e){return(function(){var _0x52b658=_0x596d,_0x272dab=_0x32e95e,_0xbbf018=_0x272dab[_0x52b658(0x38e)],_0x291a37=_0xbbf018[_0x52b658(0x301)],_0x294f34=_0xbbf018['Hasher'],_0x81cfcd=_0x272dab[_0x52b658(0x2af)],_0x29a0f7=[],_0x3cef03=_0x81cfcd[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x4a2)]({'_doReset':function(){var _0x4b8d6d=_0x52b658;this[_0x4b8d6d(0x316)]=new _0x291a37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x593cc2,_0x2ab868){var _0x4e979b=_0x52b658;for(var _0x2cd74d=this[_0x4e979b(0x316)]['words'],_0x3497be=_0x2cd74d[0x0],_0x5b9af9=_0x2cd74d[0x1],_0x32e200=_0x2cd74d[0x2],_0x2b3dbb=_0x2cd74d[0x3],_0x36c539=_0x2cd74d[0x4],_0x12f25=0x0;_0x12f25<0x50;_0x12f25++){if(_0x12f25<0x10)_0x29a0f7[_0x12f25]=_0x593cc2[_0x2ab868+_0x12f25]|0x0;else{var _0x94cd35=_0x29a0f7[_0x12f25-0x3]^_0x29a0f7[_0x12f25-0x8]^_0x29a0f7[_0x12f25-0xe]^_0x29a0f7[_0x12f25-0x10];_0x29a0f7[_0x12f25]=_0x94cd35<<0x1|_0x94cd35>>>0x1f;}var _0x59b534=(_0x3497be<<0x5|_0x3497be>>>0x1b)+_0x36c539+_0x29a0f7[_0x12f25];_0x12f25<0x14?_0x59b534+=(_0x5b9af9&_0x32e200|~_0x5b9af9&_0x2b3dbb)+0x5a827999:_0x12f25<0x28?_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)+0x6ed9eba1:_0x12f25<0x3c?_0x59b534+=(_0x5b9af9&_0x32e200|_0x5b9af9&_0x2b3dbb|_0x32e200&_0x2b3dbb)-0x70e44324:_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)-0x359d3e2a,_0x36c539=_0x2b3dbb,_0x2b3dbb=_0x32e200,_0x32e200=_0x5b9af9<<0x1e|_0x5b9af9>>>0x2,_0x5b9af9=_0x3497be,_0x3497be=_0x59b534;}_0x2cd74d[0x0]=_0x2cd74d[0x0]+_0x3497be|0x0,_0x2cd74d[0x1]=_0x2cd74d[0x1]+_0x5b9af9|0x0,_0x2cd74d[0x2]=_0x2cd74d[0x2]+_0x32e200|0x0,_0x2cd74d[0x3]=_0x2cd74d[0x3]+_0x2b3dbb|0x0,_0x2cd74d[0x4]=_0x2cd74d[0x4]+_0x36c539|0x0;},'_doFinalize':function(){var _0x919228=_0x52b658,_0x39a81c=this['_data'],_0x13bdfc=_0x39a81c[_0x919228(0x487)],_0x298c60=this['_nDataBytes']*0x8,_0x10f09f=_0x39a81c['sigBytes']*0x8;return _0x13bdfc[_0x10f09f>>>0x5]|=0x80<<0x18-_0x10f09f%0x20,_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xe]=Math[_0x919228(0x3ab)](_0x298c60/0x100000000),_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xf]=_0x298c60,_0x39a81c[_0x919228(0x2e2)]=_0x13bdfc[_0x919228(0x431)]*0x4,this[_0x919228(0x40d)](),this[_0x919228(0x316)];},'clone':function(){var _0x8e1539=_0x52b658,_0x187b23=_0x294f34[_0x8e1539(0x1de)]['call'](this);return _0x187b23[_0x8e1539(0x316)]=this[_0x8e1539(0x316)][_0x8e1539(0x1de)](),_0x187b23;}});_0x272dab[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x1f7)](_0x3cef03),_0x272dab[_0x52b658(0x3ed)]=_0x294f34[_0x52b658(0x441)](_0x3cef03);}()),_0x32e95e['SHA1'];}));}(qe)),qe[_0x4a71c(0x1d6)];}var ze={'exports':{}},kr=ze[_0x1af128(0x1d6)],ii;function jr(){var _0x4d1fad=_0x1af128;return ii||(ii=0x1,function(_0x4fc494,_0x561379){(function(_0x194213,_0x535d31){_0x4fc494['exports']=_0x535d31(ne());}(kr,function(_0x79793c){(function(){var _0x402120=_0x596d,_0x1262ba=_0x79793c,_0x43966e=_0x1262ba[_0x402120(0x38e)],_0x2bff77=_0x43966e['Base'],_0x27e5de=_0x1262ba['enc'],_0x4bf706=_0x27e5de[_0x402120(0x403)],_0x3510cb=_0x1262ba[_0x402120(0x2af)];_0x3510cb[_0x402120(0x280)]=_0x2bff77['extend']({'init':function(_0x1d6424,_0x252353){var _0x494d81=_0x402120;_0x1d6424=this[_0x494d81(0x26f)]=new _0x1d6424[(_0x494d81(0x3fc))](),typeof _0x252353=='string'&&(_0x252353=_0x4bf706[_0x494d81(0x3df)](_0x252353));var _0x15c884=_0x1d6424[_0x494d81(0x2f8)],_0x5b4aea=_0x15c884*0x4;_0x252353[_0x494d81(0x2e2)]>_0x5b4aea&&(_0x252353=_0x1d6424[_0x494d81(0x2b7)](_0x252353)),_0x252353['clamp']();for(var _0x127735=this[_0x494d81(0x294)]=_0x252353['clone'](),_0x1582a1=this['_iKey']=_0x252353[_0x494d81(0x1de)](),_0x4f3890=_0x127735[_0x494d81(0x487)],_0x2435e1=_0x1582a1['words'],_0x29bac8=0x0;_0x29bac8<_0x15c884;_0x29bac8++)_0x4f3890[_0x29bac8]^=0x5c5c5c5c,_0x2435e1[_0x29bac8]^=0x36363636;_0x127735[_0x494d81(0x2e2)]=_0x1582a1['sigBytes']=_0x5b4aea,this[_0x494d81(0x22d)]();},'reset':function(){var _0x3feddb=_0x402120,_0x3626f6=this[_0x3feddb(0x26f)];_0x3626f6['reset'](),_0x3626f6[_0x3feddb(0x370)](this[_0x3feddb(0x3db)]);},'update':function(_0x555c89){var _0x93aae0=_0x402120;return this[_0x93aae0(0x26f)][_0x93aae0(0x370)](_0x555c89),this;},'finalize':function(_0x3f4ab8){var _0x3af6e4=_0x402120,_0x32db97=this[_0x3af6e4(0x26f)],_0x3b4b64=_0x32db97[_0x3af6e4(0x2b7)](_0x3f4ab8);_0x32db97['reset']();var _0x293363=_0x32db97[_0x3af6e4(0x2b7)](this[_0x3af6e4(0x294)][_0x3af6e4(0x1de)]()[_0x3af6e4(0x21d)](_0x3b4b64));return _0x293363;}});}());}));}(ze)),ze[_0x4d1fad(0x1d6)];}var Br=Ye[_0x1af128(0x1d6)],ni;function Ui(){var _0x51b167=_0x1af128;return ni||(ni=0x1,function(_0x21e618,_0xe53cbb){(function(_0x4fdf7d,_0x313f0e,_0x203c9f){var _0x484538=_0x596d;_0x21e618[_0x484538(0x1d6)]=_0x313f0e(ne(),Hr(),jr());}(Br,function(_0x18a74f){var _0x41c08d=_0x596d;return(function(){var _0xc89938=_0x596d,_0x5a52f9=_0x18a74f,_0x59614e=_0x5a52f9[_0xc89938(0x38e)],_0x1fda88=_0x59614e[_0xc89938(0x3ac)],_0x466169=_0x59614e[_0xc89938(0x301)],_0x4e3d04=_0x5a52f9[_0xc89938(0x2af)],_0xa2cc14=_0x4e3d04[_0xc89938(0x4d7)],_0x359970=_0x4e3d04[_0xc89938(0x48f)]=_0x1fda88[_0xc89938(0x4a2)]({'cfg':_0x1fda88[_0xc89938(0x4a2)]({'keySize':0x80/0x20,'hasher':_0xa2cc14,'iterations':0x1}),'init':function(_0x272fef){var _0x2337c2=_0xc89938;this[_0x2337c2(0x390)]=this['cfg'][_0x2337c2(0x4a2)](_0x272fef);},'compute':function(_0x50d7d4,_0x4abd7d){var _0x252a82=_0xc89938;for(var _0x1bb8f6,_0xc4c43c=this[_0x252a82(0x390)],_0x32f35b=_0xc4c43c[_0x252a82(0x447)][_0x252a82(0x4b2)](),_0x429847=_0x466169[_0x252a82(0x4b2)](),_0x177a6c=_0x429847[_0x252a82(0x487)],_0xe9ae0e=_0xc4c43c[_0x252a82(0x3d6)],_0x1f3737=_0xc4c43c[_0x252a82(0x262)];_0x177a6c[_0x252a82(0x431)]<_0xe9ae0e;){_0x1bb8f6&&_0x32f35b['update'](_0x1bb8f6),_0x1bb8f6=_0x32f35b['update'](_0x50d7d4)[_0x252a82(0x2b7)](_0x4abd7d),_0x32f35b['reset']();for(var _0x1e8ef2=0x1;_0x1e8ef2<_0x1f3737;_0x1e8ef2++)_0x1bb8f6=_0x32f35b[_0x252a82(0x2b7)](_0x1bb8f6),_0x32f35b[_0x252a82(0x22d)]();_0x429847['concat'](_0x1bb8f6);}return _0x429847['sigBytes']=_0xe9ae0e*0x4,_0x429847;}});_0x5a52f9[_0xc89938(0x48f)]=function(_0x1d62b3,_0x48bea3,_0x38024e){var _0xe7f39a=_0xc89938;return _0x359970[_0xe7f39a(0x4b2)](_0x38024e)[_0xe7f39a(0x3f8)](_0x1d62b3,_0x48bea3);};}()),_0x18a74f[_0x41c08d(0x48f)];}));}(Ye)),Ye[_0x51b167(0x1d6)];}var Je={'exports':{}},Fr=Je[_0x1af128(0x1d6)],ri;function Ai(){return ri||(ri=0x1,function(_0x4d622a,_0x24ef57){(function(_0x3331c8,_0x3ac5a8,_0x264f85){var _0x30fdad=_0x596d;_0x4d622a[_0x30fdad(0x1d6)]=_0x3ac5a8(ne(),Ui());}(Fr,function(_0x111f1d){var _0x18b65c=_0x596d;_0x111f1d[_0x18b65c(0x38e)][_0x18b65c(0x3f3)]||function(_0x31a63e){var _0x51cb57=_0x18b65c,_0x16e9ae=_0x111f1d,_0x326008=_0x16e9ae[_0x51cb57(0x38e)],_0x373344=_0x326008['Base'],_0xb28977=_0x326008[_0x51cb57(0x301)],_0x1e0a8b=_0x326008[_0x51cb57(0x48c)],_0x5344cc=_0x16e9ae['enc'];_0x5344cc[_0x51cb57(0x403)];var _0x12b014=_0x5344cc[_0x51cb57(0x497)],_0x2211ed=_0x16e9ae[_0x51cb57(0x2af)],_0x54ada5=_0x2211ed[_0x51cb57(0x48f)],_0x464d55=_0x326008[_0x51cb57(0x3f3)]=_0x1e0a8b[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)](),'createEncryptor':function(_0x865b4e,_0x18f012){var _0x12ca7a=_0x51cb57;return this[_0x12ca7a(0x4b2)](this['_ENC_XFORM_MODE'],_0x865b4e,_0x18f012);},'createDecryptor':function(_0x317a5a,_0x5bf923){var _0x23ea81=_0x51cb57;return this[_0x23ea81(0x4b2)](this[_0x23ea81(0x207)],_0x317a5a,_0x5bf923);},'init':function(_0x427658,_0x3c141f,_0x5e26b5){var _0x11607c=_0x51cb57;this[_0x11607c(0x390)]=this['cfg']['extend'](_0x5e26b5),this[_0x11607c(0x27c)]=_0x427658,this[_0x11607c(0x318)]=_0x3c141f,this['reset']();},'reset':function(){var _0x4c8658=_0x51cb57;_0x1e0a8b[_0x4c8658(0x22d)]['call'](this),this[_0x4c8658(0x329)]();},'process':function(_0x2a788e){var _0x1ad368=_0x51cb57;return this[_0x1ad368(0x424)](_0x2a788e),this[_0x1ad368(0x40d)]();},'finalize':function(_0x3aa143){var _0x2e1e9b=_0x51cb57;_0x3aa143&&this[_0x2e1e9b(0x424)](_0x3aa143);var _0x20b3b0=this[_0x2e1e9b(0x4a3)]();return _0x20b3b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x423ad7(_0xb6f771){return typeof _0xb6f771=='string'?_0x1515d5:_0xc3566;}return function(_0x3ab687){return{'encrypt':function(_0x26306e,_0x2ed8fc,_0x278f66){var _0x5edec7=_0x596d;return _0x423ad7(_0x2ed8fc)[_0x5edec7(0x4bf)](_0x3ab687,_0x26306e,_0x2ed8fc,_0x278f66);},'decrypt':function(_0x3e253b,_0x3633f0,_0x4f2a45){return _0x423ad7(_0x3633f0)['decrypt'](_0x3ab687,_0x3e253b,_0x3633f0,_0x4f2a45);}};};}())});_0x326008[_0x51cb57(0x2ae)]=_0x464d55[_0x51cb57(0x4a2)]({'_doFinalize':function(){var _0x3f9dae=this['_process'](!0x0);return _0x3f9dae;},'blockSize':0x1});var _0x5f35e5=_0x16e9ae[_0x51cb57(0x231)]={},_0x5cf44c=_0x326008['BlockCipherMode']=_0x373344[_0x51cb57(0x4a2)]({'createEncryptor':function(_0x20e2d3,_0x115b3d){var _0x1cfcde=_0x51cb57;return this[_0x1cfcde(0x407)][_0x1cfcde(0x4b2)](_0x20e2d3,_0x115b3d);},'createDecryptor':function(_0x2abcbf,_0xd461a){var _0x37f5a2=_0x51cb57;return this[_0x37f5a2(0x1e7)]['create'](_0x2abcbf,_0xd461a);},'init':function(_0x5b7bd7,_0x45d5ee){var _0x578943=_0x51cb57;this[_0x578943(0x442)]=_0x5b7bd7,this['_iv']=_0x45d5ee;}}),_0x3132f5=_0x5f35e5[_0x51cb57(0x23c)]=(function(){var _0x9b8ea9=_0x51cb57,_0x589506=_0x5cf44c[_0x9b8ea9(0x4a2)]();_0x589506['Encryptor']=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x4ba117,_0x5e40ac){var _0x290461=_0x9b8ea9,_0x1fcbf2=this[_0x290461(0x442)],_0x798908=_0x1fcbf2[_0x290461(0x2f8)];_0x3c574f[_0x290461(0x3f9)](this,_0x4ba117,_0x5e40ac,_0x798908),_0x1fcbf2[_0x290461(0x3b6)](_0x4ba117,_0x5e40ac),this['_prevBlock']=_0x4ba117[_0x290461(0x386)](_0x5e40ac,_0x5e40ac+_0x798908);}}),_0x589506[_0x9b8ea9(0x1e7)]=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x38ffa6,_0x1ebbba){var _0x557341=_0x9b8ea9,_0xc10e97=this[_0x557341(0x442)],_0x18aec9=_0xc10e97[_0x557341(0x2f8)],_0x560f95=_0x38ffa6['slice'](_0x1ebbba,_0x1ebbba+_0x18aec9);_0xc10e97['decryptBlock'](_0x38ffa6,_0x1ebbba),_0x3c574f[_0x557341(0x3f9)](this,_0x38ffa6,_0x1ebbba,_0x18aec9),this[_0x557341(0x3ff)]=_0x560f95;}});function _0x3c574f(_0x133bb2,_0xa85c23,_0x335eec){var _0x9e6019=_0x9b8ea9,_0x1067e9,_0x53e5b6=this[_0x9e6019(0x25f)];_0x53e5b6?(_0x1067e9=_0x53e5b6,this['_iv']=_0x31a63e):_0x1067e9=this[_0x9e6019(0x3ff)];for(var _0x31840c=0x0;_0x31840c<_0x335eec;_0x31840c++)_0x133bb2[_0xa85c23+_0x31840c]^=_0x1067e9[_0x31840c];}return _0x589506;}()),_0x3a9cfe=_0x16e9ae[_0x51cb57(0x30e)]={},_0x309845=_0x3a9cfe[_0x51cb57(0x46c)]={'pad':function(_0x525e74,_0x5eb755){var _0x59fe3b=_0x51cb57;for(var _0x4c38f1=_0x5eb755*0x4,_0x58db63=_0x4c38f1-_0x525e74[_0x59fe3b(0x2e2)]%_0x4c38f1,_0x2cbad8=_0x58db63<<0x18|_0x58db63<<0x10|_0x58db63<<0x8|_0x58db63,_0x57975b=[],_0x1d109d=0x0;_0x1d109d<_0x58db63;_0x1d109d+=0x4)_0x57975b['push'](_0x2cbad8);var _0x388d83=_0xb28977[_0x59fe3b(0x4b2)](_0x57975b,_0x58db63);_0x525e74['concat'](_0x388d83);},'unpad':function(_0x5b28bc){var _0x1700f9=_0x51cb57,_0x11331d=_0x5b28bc[_0x1700f9(0x487)][_0x5b28bc[_0x1700f9(0x2e2)]-0x1>>>0x2]&0xff;_0x5b28bc['sigBytes']-=_0x11331d;}};_0x326008[_0x51cb57(0x4cf)]=_0x464d55[_0x51cb57(0x4a2)]({'cfg':_0x464d55[_0x51cb57(0x390)][_0x51cb57(0x4a2)]({'mode':_0x3132f5,'padding':_0x309845}),'reset':function(){var _0x37ec00=_0x51cb57,_0x5b2e6a;_0x464d55[_0x37ec00(0x22d)][_0x37ec00(0x3f9)](this);var _0x53c01e=this[_0x37ec00(0x390)],_0x3e865=_0x53c01e['iv'],_0x3471ed=_0x53c01e['mode'];this[_0x37ec00(0x27c)]==this[_0x37ec00(0x436)]?_0x5b2e6a=_0x3471ed['createEncryptor']:(_0x5b2e6a=_0x3471ed[_0x37ec00(0x24f)],this[_0x37ec00(0x465)]=0x1),this[_0x37ec00(0x2db)]&&this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]==_0x5b2e6a?this[_0x37ec00(0x2db)][_0x37ec00(0x3fc)](this,_0x3e865&&_0x3e865['words']):(this['_mode']=_0x5b2e6a[_0x37ec00(0x3f9)](_0x3471ed,this,_0x3e865&&_0x3e865[_0x37ec00(0x487)]),this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]=_0x5b2e6a);},'_doProcessBlock':function(_0x464df1,_0x3dd517){var _0x3c3f64=_0x51cb57;this['_mode'][_0x3c3f64(0x1e5)](_0x464df1,_0x3dd517);},'_doFinalize':function(){var _0x420153=_0x51cb57,_0x309f12,_0x5b3057=this['cfg'][_0x420153(0x2fe)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5b3057[_0x420153(0x30e)](this['_data'],this[_0x420153(0x2f8)]),_0x309f12=this[_0x420153(0x40d)](!0x0)):(_0x309f12=this[_0x420153(0x40d)](!0x0),_0x5b3057['unpad'](_0x309f12)),_0x309f12;},'blockSize':0x80/0x20});var _0x4d7a47=_0x326008['CipherParams']=_0x373344[_0x51cb57(0x4a2)]({'init':function(_0x33dd4e){var _0x5bd1af=_0x51cb57;this[_0x5bd1af(0x445)](_0x33dd4e);},'toString':function(_0x542f61){var _0x5b2888=_0x51cb57;return(_0x542f61||this[_0x5b2888(0x4c6)])[_0x5b2888(0x44b)](this);}}),_0x161034=_0x16e9ae[_0x51cb57(0x2ac)]={},_0x53224e=_0x161034[_0x51cb57(0x210)]={'stringify':function(_0x591d5f){var _0x18c64e=_0x51cb57,_0x194454,_0x491c85=_0x591d5f[_0x18c64e(0x2da)],_0x450f91=_0x591d5f[_0x18c64e(0x374)];return _0x450f91?_0x194454=_0xb28977[_0x18c64e(0x4b2)]([0x53616c74,0x65645f5f])[_0x18c64e(0x21d)](_0x450f91)[_0x18c64e(0x21d)](_0x491c85):_0x194454=_0x491c85,_0x194454['toString'](_0x12b014);},'parse':function(_0x5c1b6e){var _0x48532f=_0x51cb57,_0x1dff3f,_0x343c7b=_0x12b014['parse'](_0x5c1b6e),_0x1ae3fc=_0x343c7b[_0x48532f(0x487)];return _0x1ae3fc[0x0]==0x53616c74&&_0x1ae3fc[0x1]==0x65645f5f&&(_0x1dff3f=_0xb28977[_0x48532f(0x4b2)](_0x1ae3fc[_0x48532f(0x386)](0x2,0x4)),_0x1ae3fc[_0x48532f(0x3ca)](0x0,0x4),_0x343c7b[_0x48532f(0x2e2)]-=0x10),_0x4d7a47[_0x48532f(0x4b2)]({'ciphertext':_0x343c7b,'salt':_0x1dff3f});}},_0xc3566=_0x326008[_0x51cb57(0x281)]=_0x373344[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)]({'format':_0x53224e}),'encrypt':function(_0x2d9782,_0x43d528,_0x257191,_0x4fac91){var _0x556c7d=_0x51cb57;_0x4fac91=this['cfg']['extend'](_0x4fac91);var _0x1db048=_0x2d9782[_0x556c7d(0x494)](_0x257191,_0x4fac91),_0x39e041=_0x1db048['finalize'](_0x43d528),_0x5b73fe=_0x1db048['cfg'];return _0x4d7a47[_0x556c7d(0x4b2)]({'ciphertext':_0x39e041,'key':_0x257191,'iv':_0x5b73fe['iv'],'algorithm':_0x2d9782,'mode':_0x5b73fe[_0x556c7d(0x231)],'padding':_0x5b73fe[_0x556c7d(0x2fe)],'blockSize':_0x2d9782[_0x556c7d(0x2f8)],'formatter':_0x4fac91[_0x556c7d(0x2ac)]});},'decrypt':function(_0x738985,_0x5cb78f,_0x13292f,_0x48145f){var _0x4b1dac=_0x51cb57;_0x48145f=this['cfg']['extend'](_0x48145f),_0x5cb78f=this[_0x4b1dac(0x3b8)](_0x5cb78f,_0x48145f[_0x4b1dac(0x2ac)]);var _0x229c66=_0x738985[_0x4b1dac(0x24f)](_0x13292f,_0x48145f)['finalize'](_0x5cb78f[_0x4b1dac(0x2da)]);return _0x229c66;},'_parse':function(_0x21e7af,_0x63b7c1){var _0x2f6a5f=_0x51cb57;return typeof _0x21e7af==_0x2f6a5f(0x427)?_0x63b7c1[_0x2f6a5f(0x3df)](_0x21e7af,this):_0x21e7af;}}),_0xc66a16=_0x16e9ae[_0x51cb57(0x3a1)]={},_0x436371=_0xc66a16[_0x51cb57(0x210)]={'execute':function(_0x5df856,_0x105185,_0x527a59,_0x2454c5,_0x5c454c){var _0x447e31=_0x51cb57;if(_0x2454c5||(_0x2454c5=_0xb28977[_0x447e31(0x1d7)](0x40/0x8)),_0x5c454c)var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59,'hasher':_0x5c454c})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);else var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);var _0x1f9f52=_0xb28977[_0x447e31(0x4b2)](_0x5c6923[_0x447e31(0x487)][_0x447e31(0x386)](_0x105185),_0x527a59*0x4);return _0x5c6923[_0x447e31(0x2e2)]=_0x105185*0x4,_0x4d7a47[_0x447e31(0x4b2)]({'key':_0x5c6923,'iv':_0x1f9f52,'salt':_0x2454c5});}},_0x1515d5=_0x326008[_0x51cb57(0x271)]=_0xc3566['extend']({'cfg':_0xc3566[_0x51cb57(0x390)]['extend']({'kdf':_0x436371}),'encrypt':function(_0x201787,_0x582cc5,_0x1cfe1c,_0x5532b8){var _0x2d1751=_0x51cb57;_0x5532b8=this[_0x2d1751(0x390)][_0x2d1751(0x4a2)](_0x5532b8);var _0xda7c66=_0x5532b8['kdf'][_0x2d1751(0x4b8)](_0x1cfe1c,_0x201787[_0x2d1751(0x3d6)],_0x201787['ivSize'],_0x5532b8[_0x2d1751(0x374)],_0x5532b8[_0x2d1751(0x447)]);_0x5532b8['iv']=_0xda7c66['iv'];var _0x57812c=_0xc3566[_0x2d1751(0x4bf)][_0x2d1751(0x3f9)](this,_0x201787,_0x582cc5,_0xda7c66[_0x2d1751(0x228)],_0x5532b8);return _0x57812c[_0x2d1751(0x445)](_0xda7c66),_0x57812c;},'decrypt':function(_0x5ac895,_0xb8aa54,_0x4aba26,_0x3a9fa0){var _0x39af83=_0x51cb57;_0x3a9fa0=this[_0x39af83(0x390)][_0x39af83(0x4a2)](_0x3a9fa0),_0xb8aa54=this['_parse'](_0xb8aa54,_0x3a9fa0['format']);var _0x1fad98=_0x3a9fa0[_0x39af83(0x3a1)][_0x39af83(0x4b8)](_0x4aba26,_0x5ac895[_0x39af83(0x3d6)],_0x5ac895[_0x39af83(0x395)],_0xb8aa54[_0x39af83(0x374)],_0x3a9fa0[_0x39af83(0x447)]);_0x3a9fa0['iv']=_0x1fad98['iv'];var _0xf3cb24=_0xc3566[_0x39af83(0x282)][_0x39af83(0x3f9)](this,_0x5ac895,_0xb8aa54,_0x1fad98[_0x39af83(0x228)],_0x3a9fa0);return _0xf3cb24;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x2f0b11=_0x1af128;return si||(si=0x1,function(_0x25c05f,_0x1d2d41){(function(_0x94b03b,_0x295442,_0x2b64e1){var _0x539f79=_0x596d;_0x25c05f[_0x539f79(0x1d6)]=_0x295442(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2a56a9){var _0x3f25a8=_0x596d;return(function(){var _0x4464ff=_0x596d,_0x57b550=_0x2a56a9,_0x485bf7=_0x57b550[_0x4464ff(0x38e)],_0x1eb7f9=_0x485bf7[_0x4464ff(0x4cf)],_0x10fd66=_0x57b550[_0x4464ff(0x2af)],_0x3aa8d1=[],_0x428322=[],_0x31e510=[],_0x4789d9=[],_0xab9e49=[],_0x4ece89=[],_0x494800=[],_0x58160c=[],_0x70708e=[],_0x4086b9=[];(function(){for(var _0x46b858=[],_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++)_0x37bac9<0x80?_0x46b858[_0x37bac9]=_0x37bac9<<0x1:_0x46b858[_0x37bac9]=_0x37bac9<<0x1^0x11b;for(var _0x1f3b7a=0x0,_0x6bd485=0x0,_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++){var _0x158af6=_0x6bd485^_0x6bd485<<0x1^_0x6bd485<<0x2^_0x6bd485<<0x3^_0x6bd485<<0x4;_0x158af6=_0x158af6>>>0x8^_0x158af6&0xff^0x63,_0x3aa8d1[_0x1f3b7a]=_0x158af6,_0x428322[_0x158af6]=_0x1f3b7a;var _0x4350df=_0x46b858[_0x1f3b7a],_0x293bd4=_0x46b858[_0x4350df],_0x499b8e=_0x46b858[_0x293bd4],_0x2402c3=_0x46b858[_0x158af6]*0x101^_0x158af6*0x1010100;_0x31e510[_0x1f3b7a]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x4789d9[_0x1f3b7a]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0xab9e49[_0x1f3b7a]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4ece89[_0x1f3b7a]=_0x2402c3;var _0x2402c3=_0x499b8e*0x1010101^_0x293bd4*0x10001^_0x4350df*0x101^_0x1f3b7a*0x1010100;_0x494800[_0x158af6]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x58160c[_0x158af6]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0x70708e[_0x158af6]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4086b9[_0x158af6]=_0x2402c3,_0x1f3b7a?(_0x1f3b7a=_0x4350df^_0x46b858[_0x46b858[_0x46b858[_0x499b8e^_0x4350df]]],_0x6bd485^=_0x46b858[_0x46b858[_0x6bd485]]):_0x1f3b7a=_0x6bd485=0x1;}}());var _0x565348=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bfa21=_0x10fd66[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x4a2)]({'_doReset':function(){var _0x2161ba=_0x4464ff,_0x238a97;if(!(this[_0x2161ba(0x29b)]&&this[_0x2161ba(0x218)]===this['_key'])){for(var _0x3fb93c=this[_0x2161ba(0x218)]=this[_0x2161ba(0x318)],_0x3b77ce=_0x3fb93c[_0x2161ba(0x487)],_0xd10272=_0x3fb93c[_0x2161ba(0x2e2)]/0x4,_0x8f5c03=this['_nRounds']=_0xd10272+0x6,_0x297126=(_0x8f5c03+0x1)*0x4,_0x552856=this[_0x2161ba(0x1fd)]=[],_0xb5e507=0x0;_0xb5e507<_0x297126;_0xb5e507++)_0xb5e507<_0xd10272?_0x552856[_0xb5e507]=_0x3b77ce[_0xb5e507]:(_0x238a97=_0x552856[_0xb5e507-0x1],_0xb5e507%_0xd10272?_0xd10272>0x6&&_0xb5e507%_0xd10272==0x4&&(_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff]):(_0x238a97=_0x238a97<<0x8|_0x238a97>>>0x18,_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff],_0x238a97^=_0x565348[_0xb5e507/_0xd10272|0x0]<<0x18),_0x552856[_0xb5e507]=_0x552856[_0xb5e507-_0xd10272]^_0x238a97);for(var _0x257f66=this[_0x2161ba(0x3cb)]=[],_0x36808a=0x0;_0x36808a<_0x297126;_0x36808a++){var _0xb5e507=_0x297126-_0x36808a;if(_0x36808a%0x4)var _0x238a97=_0x552856[_0xb5e507];else var _0x238a97=_0x552856[_0xb5e507-0x4];_0x36808a<0x4||_0xb5e507<=0x4?_0x257f66[_0x36808a]=_0x238a97:_0x257f66[_0x36808a]=_0x494800[_0x3aa8d1[_0x238a97>>>0x18]]^_0x58160c[_0x3aa8d1[_0x238a97>>>0x10&0xff]]^_0x70708e[_0x3aa8d1[_0x238a97>>>0x8&0xff]]^_0x4086b9[_0x3aa8d1[_0x238a97&0xff]];}}},'encryptBlock':function(_0x278757,_0x2e404e){var _0x4956ae=_0x4464ff;this[_0x4956ae(0x3d1)](_0x278757,_0x2e404e,this[_0x4956ae(0x1fd)],_0x31e510,_0x4789d9,_0xab9e49,_0x4ece89,_0x3aa8d1);},'decryptBlock':function(_0x58c416,_0xf5ac01){var _0x32e201=_0x4464ff,_0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a,this[_0x32e201(0x3d1)](_0x58c416,_0xf5ac01,this[_0x32e201(0x3cb)],_0x494800,_0x58160c,_0x70708e,_0x4086b9,_0x428322);var _0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a;},'_doCryptBlock':function(_0x3902ea,_0xb26c83,_0x3581b8,_0x4189f6,_0x4d3bfa,_0x2d1ec8,_0x18964b,_0x3aaac1){var _0x50ed45=_0x4464ff;for(var _0x74f255=this[_0x50ed45(0x29b)],_0x273bfc=_0x3902ea[_0xb26c83]^_0x3581b8[0x0],_0x122c02=_0x3902ea[_0xb26c83+0x1]^_0x3581b8[0x1],_0x4e4962=_0x3902ea[_0xb26c83+0x2]^_0x3581b8[0x2],_0x282d68=_0x3902ea[_0xb26c83+0x3]^_0x3581b8[0x3],_0x413cbd=0x4,_0x56b309=0x1;_0x56b309<_0x74f255;_0x56b309++){var _0x440d4c=_0x4189f6[_0x273bfc>>>0x18]^_0x4d3bfa[_0x122c02>>>0x10&0xff]^_0x2d1ec8[_0x4e4962>>>0x8&0xff]^_0x18964b[_0x282d68&0xff]^_0x3581b8[_0x413cbd++],_0x29c2dd=_0x4189f6[_0x122c02>>>0x18]^_0x4d3bfa[_0x4e4962>>>0x10&0xff]^_0x2d1ec8[_0x282d68>>>0x8&0xff]^_0x18964b[_0x273bfc&0xff]^_0x3581b8[_0x413cbd++],_0x3fccd6=_0x4189f6[_0x4e4962>>>0x18]^_0x4d3bfa[_0x282d68>>>0x10&0xff]^_0x2d1ec8[_0x273bfc>>>0x8&0xff]^_0x18964b[_0x122c02&0xff]^_0x3581b8[_0x413cbd++],_0x406ee3=_0x4189f6[_0x282d68>>>0x18]^_0x4d3bfa[_0x273bfc>>>0x10&0xff]^_0x2d1ec8[_0x122c02>>>0x8&0xff]^_0x18964b[_0x4e4962&0xff]^_0x3581b8[_0x413cbd++];_0x273bfc=_0x440d4c,_0x122c02=_0x29c2dd,_0x4e4962=_0x3fccd6,_0x282d68=_0x406ee3;}var _0x440d4c=(_0x3aaac1[_0x273bfc>>>0x18]<<0x18|_0x3aaac1[_0x122c02>>>0x10&0xff]<<0x10|_0x3aaac1[_0x4e4962>>>0x8&0xff]<<0x8|_0x3aaac1[_0x282d68&0xff])^_0x3581b8[_0x413cbd++],_0x29c2dd=(_0x3aaac1[_0x122c02>>>0x18]<<0x18|_0x3aaac1[_0x4e4962>>>0x10&0xff]<<0x10|_0x3aaac1[_0x282d68>>>0x8&0xff]<<0x8|_0x3aaac1[_0x273bfc&0xff])^_0x3581b8[_0x413cbd++],_0x3fccd6=(_0x3aaac1[_0x4e4962>>>0x18]<<0x18|_0x3aaac1[_0x282d68>>>0x10&0xff]<<0x10|_0x3aaac1[_0x273bfc>>>0x8&0xff]<<0x8|_0x3aaac1[_0x122c02&0xff])^_0x3581b8[_0x413cbd++],_0x406ee3=(_0x3aaac1[_0x282d68>>>0x18]<<0x18|_0x3aaac1[_0x273bfc>>>0x10&0xff]<<0x10|_0x3aaac1[_0x122c02>>>0x8&0xff]<<0x8|_0x3aaac1[_0x4e4962&0xff])^_0x3581b8[_0x413cbd++];_0x3902ea[_0xb26c83]=_0x440d4c,_0x3902ea[_0xb26c83+0x1]=_0x29c2dd,_0x3902ea[_0xb26c83+0x2]=_0x3fccd6,_0x3902ea[_0xb26c83+0x3]=_0x406ee3;},'keySize':0x100/0x20});_0x57b550[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x1f7)](_0x1bfa21);}()),_0x2a56a9[_0x3f25a8(0x266)];}));}(Ve)),Ve[_0x2f0b11(0x1d6)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1af128(0x1d6)],ai;function zr(){var _0x12d48b=_0x1af128;return ai||(ai=0x1,function(_0x184f42,_0x19f4b5){(function(_0x45c6a3,_0x2e0fb0){_0x184f42['exports']=_0x2e0fb0(ne());}(qr,function(_0x545400){var _0x4bb2e5=_0x596d;return _0x545400['enc'][_0x4bb2e5(0x403)];}));}(Xe)),Xe[_0x12d48b(0x1d6)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x4731c7,_0x2249b1){(function(_0x5a80b5,_0x4b1cd3){_0x4731c7['exports']=_0x4b1cd3(ne());}(Zr,function(_0x15361a){var _0x525bad=_0x596d;return(function(){var _0x7d14c7=_0x596d;if(typeof ArrayBuffer==_0x7d14c7(0x3d7)){var _0x2ffcce=_0x15361a,_0x5ab6d1=_0x2ffcce[_0x7d14c7(0x38e)],_0x40be38=_0x5ab6d1[_0x7d14c7(0x301)],_0x373e5=_0x40be38[_0x7d14c7(0x3fc)],_0x5024d1=_0x40be38['init']=function(_0x533d82){var _0x590cca=_0x7d14c7;if(_0x533d82 instanceof ArrayBuffer&&(_0x533d82=new Uint8Array(_0x533d82)),(_0x533d82 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x533d82 instanceof Uint8ClampedArray||_0x533d82 instanceof Int16Array||_0x533d82 instanceof Uint16Array||_0x533d82 instanceof Int32Array||_0x533d82 instanceof Uint32Array||_0x533d82 instanceof Float32Array||_0x533d82 instanceof Float64Array)&&(_0x533d82=new Uint8Array(_0x533d82[_0x590cca(0x305)],_0x533d82[_0x590cca(0x324)],_0x533d82[_0x590cca(0x208)])),_0x533d82 instanceof Uint8Array){for(var _0x10ec51=_0x533d82[_0x590cca(0x208)],_0xb65d30=[],_0x3d7955=0x0;_0x3d7955<_0x10ec51;_0x3d7955++)_0xb65d30[_0x3d7955>>>0x2]|=_0x533d82[_0x3d7955]<<0x18-_0x3d7955%0x4*0x8;_0x373e5[_0x590cca(0x3f9)](this,_0xb65d30,_0x10ec51);}else _0x373e5[_0x590cca(0x498)](this,arguments);};_0x5024d1[_0x7d14c7(0x2eb)]=_0x40be38;}}()),_0x15361a[_0x525bad(0x38e)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4e5d0d=_0x1af128;return hi||(hi=0x1,function(_0x19013d,_0x51217f){(function(_0x49d24d,_0x3b2ae5,_0x447261){_0x19013d['exports']=_0x3b2ae5(ne(),Ai());}(is,function(_0x3beaef){var _0x5e8822=_0x596d;return _0x3beaef[_0x5e8822(0x30e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3beaef[_0x5e8822(0x30e)][_0x5e8822(0x459)];}));}(Qe)),Qe[_0x4e5d0d(0x1d6)];}var rs=ns();const ss=ke(rs);function os(_0xa3abb6,_0x570662){var _0x50be5c=_0x1af128;const _0x39f22b=_0x570662-_0xa3abb6[_0x50be5c(0x431)]%_0x570662,_0x154e7f=String['fromCharCode'](_0x39f22b)[_0x50be5c(0x1f9)](_0x39f22b);return _0xa3abb6+_0x154e7f;}function as(_0x180a5c,_0x1477cd){var _0x191588=_0x1af128;const _0x4a0ee1=ts[_0x191588(0x1d7)](0x10),_0xab0d18=os(_0x180a5c,0x10),_0x49135e=Kr[_0x191588(0x4bf)](Xr[_0x191588(0x3df)](_0xab0d18),oi[_0x191588(0x3df)](_0x1477cd),{'iv':_0x4a0ee1,'padding':ss});return _0x4a0ee1[_0x191588(0x21d)](_0x49135e['ciphertext'])[_0x191588(0x4d5)](oi);}function cs(){var _0x2ff212=_0x1af128;const _0x2f42d6=_0x58e8fb()[_0x2ff212(0x3c3)];if(_0x2f42d6){const _0x73968e={'time':Math[_0x2ff212(0x3ab)](Date[_0x2ff212(0x428)]()/0x3e8),'domain':location[_0x2ff212(0x460)]};return as(JSON[_0x2ff212(0x44b)](_0x73968e),_0x2f42d6);}}var hs=Object[_0x1af128(0x4ba)],_s=Object[_0x1af128(0x3d3)],ls=(_0x16fe88,_0x3be521,_0x11ac81,_0x4007cf)=>{var _0x1eba68=_0x1af128;for(var _0x1ec684=_0x4007cf>0x1?void 0x0:_0x4007cf?_s(_0x3be521,_0x11ac81):_0x3be521,_0x282f2e=_0x16fe88[_0x1eba68(0x431)]-0x1,_0x2c102b;_0x282f2e>=0x0;_0x282f2e--)(_0x2c102b=_0x16fe88[_0x282f2e])&&(_0x1ec684=(_0x4007cf?_0x2c102b(_0x3be521,_0x11ac81,_0x1ec684):_0x2c102b(_0x1ec684))||_0x1ec684);return _0x4007cf&&_0x1ec684&&hs(_0x3be521,_0x11ac81,_0x1ec684),_0x1ec684;},us=(_0x2f3445,_0xd90760)=>(_0xc60259,_0xe62e0)=>_0xd90760(_0xc60259,_0xe62e0,_0x2f3445);let ot=class{constructor(_0x59de6d){var _0x237ba5=_0x1af128;this[_0x237ba5(0x1ea)]=_0x59de6d,this[_0x237ba5(0x3eb)]();}[_0x1af128(0x3eb)](){var _0x26a727=_0x1af128;this[_0x26a727(0x1ea)][_0x26a727(0x340)]({'interceptor':(_0x320188,_0x1fb191)=>{var _0x2d38e7=_0x26a727;const _0x34d9ad=_0x320188[_0x2d38e7(0x484)],_0x480465=cs();return _0x480465&&_0x34d9ad['set'](_0x2d38e7(0x2cf),_0x480465),_0x1fb191(_0x320188);}});}};ot=ls([us(0x0,_0x50b881(_0x51273b))],ot);var ds=Object[_0x1af128(0x4ba)],fs=Object[_0x1af128(0x3d3)],vs=(_0x5cdc98,_0x32b083,_0x2e0045,_0x398b61)=>{var _0x31c27e=_0x1af128;for(var _0x2a56c5=_0x398b61>0x1?void 0x0:_0x398b61?fs(_0x32b083,_0x2e0045):_0x32b083,_0x1fc541=_0x5cdc98[_0x31c27e(0x431)]-0x1,_0x3900be;_0x1fc541>=0x0;_0x1fc541--)(_0x3900be=_0x5cdc98[_0x1fc541])&&(_0x2a56c5=(_0x398b61?_0x3900be(_0x32b083,_0x2e0045,_0x2a56c5):_0x3900be(_0x2a56c5))||_0x2a56c5);return _0x398b61&&_0x2a56c5&&ds(_0x32b083,_0x2e0045,_0x2a56c5),_0x2a56c5;},mt=(_0x1d47bd,_0x411bf4)=>(_0x18f695,_0x1a1957)=>_0x411bf4(_0x18f695,_0x1a1957,_0x1d47bd);let Ot=class extends _0x4273f8{constructor(_0x497869,_0x3ea252,_0x5c28f8){var _0xb9a738=_0x1af128;super(),N(this,_0xb9a738(0x34b),new _0x230061(null)),N(this,_0xb9a738(0x2fa),this['_unitInfo$'][_0xb9a738(0x2c7)]()),(this[_0xb9a738(0x485)]=_0x497869,this[_0xb9a738(0x35d)]=_0x3ea252,this[_0xb9a738(0x1e8)]=_0x5c28f8);}async[_0x1af128(0x389)](_0x2f2556,_0x5e6f2b,_0x59f933){var _0x43d648=_0x1af128;this['_unitInfo$'][_0x43d648(0x2cb)]({'unitId':_0x2f2556,'type':_0x5e6f2b,'subUnitId':_0x59f933});let _0x18aaf4=null;switch(_0x5e6f2b){case Q[_0x43d648(0x3c7)]:{_0x18aaf4=await this[_0x43d648(0x3ee)](_0x2f2556);break;}case Q[_0x43d648(0x43b)]:{_0x18aaf4=await this[_0x43d648(0x2a6)](_0x2f2556);break;}default:{this[_0x43d648(0x485)]['error'](_0x43d648(0x230),_0x43d648(0x273));break;}}return _0x18aaf4;}async[_0x1af128(0x3ee)](_0x5b162e){var _0x1270a5=_0x1af128,_0x467ebf;let _0xb6b1cb=0x0;const _0x5e2cd1=await((_0x467ebf=this[_0x1270a5(0x1e8)])==null?void 0x0:_0x467ebf[_0x1270a5(0x4ac)](_0x5b162e));return _0x5e2cd1&&(_0x5e2cd1[_0x1270a5(0x387)]||_0x5e2cd1[_0x1270a5(0x4a4)][_0x1270a5(0x431)]!==0x0)&&(_0xb6b1cb=_0x5e2cd1[_0x1270a5(0x2fd)]),_0xb6b1cb===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1270a5(0x35d)][_0x1270a5(0x23f)](_0x5b162e,_0xb6b1cb);}async[_0x1af128(0x2a6)](_0x2d36d8){var _0x4ce69e=_0x1af128,_0x8af2a4;let _0x1e2209=0x0;const _0x14084e=await((_0x8af2a4=this['_localCacheService'])==null?void 0x0:_0x8af2a4['loadOfflineData'](_0x2d36d8));return _0x14084e&&(_0x14084e[_0x4ce69e(0x387)]||_0x14084e[_0x4ce69e(0x4a4)]['length']!==0x0)&&(_0x1e2209=_0x14084e[_0x4ce69e(0x2fd)]),_0x1e2209===0x0&&this['_logService'][_0x4ce69e(0x247)]('[DataLoaderService]',_0x4ce69e(0x3c6)),this[_0x4ce69e(0x35d)]['loadDoc'](_0x2d36d8,_0x1e2209);}};Ot=vs([mt(0x0,_0x334ed4),mt(0x1,_0x50b881(_0x2ec050)),mt(0x2,_0x325bd4(J))],Ot);var ps=Object[_0x1af128(0x4ba)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x352167,_0x27679b,_0x4a34fe,_0x221867)=>{var _0x46a0d4=_0x1af128;for(var _0x41d2c8=_0x221867>0x1?void 0x0:_0x221867?ms(_0x27679b,_0x4a34fe):_0x27679b,_0x18fdb=_0x352167[_0x46a0d4(0x431)]-0x1,_0x23ce09;_0x18fdb>=0x0;_0x18fdb--)(_0x23ce09=_0x352167[_0x18fdb])&&(_0x41d2c8=(_0x221867?_0x23ce09(_0x27679b,_0x4a34fe,_0x41d2c8):_0x23ce09(_0x41d2c8))||_0x41d2c8);return _0x221867&&_0x41d2c8&&ps(_0x27679b,_0x4a34fe,_0x41d2c8),_0x41d2c8;},gt=(_0x2b3ab6,_0x19795f)=>(_0x7a77b7,_0x259f68)=>_0x19795f(_0x7a77b7,_0x259f68,_0x2b3ab6);const Ss=[_0x1af128(0x440),_0x1af128(0x20f),_0x1af128(0x478),'image/gif',_0x1af128(0x472)],Es=0x5*0x400*0x400,Is=_0x1af128(0x239),Ts='/universer-api/stream/file/upload',Cs=_0x1af128(0x1f0),Rs=_0x1af128(0x2d9);let yt=class{constructor(_0x18c0ed,_0x7dc939,_0x53adfc){var _0x4c2bf3=_0x1af128;N(this,_0x4c2bf3(0x1f4),0x0),N(this,_0x4c2bf3(0x3ce),new _0x10c59f()),N(this,_0x4c2bf3(0x32d),this[_0x4c2bf3(0x3ce)]),N(this,_0x4c2bf3(0x2f1),new Map()),(this[_0x4c2bf3(0x1ea)]=_0x18c0ed,this['_configService']=_0x7dc939,this[_0x4c2bf3(0x332)]=_0x53adfc);}['setWaitCount'](_0x46e72a){var _0x5eca65=_0x1af128;this[_0x5eca65(0x1f4)]=_0x46e72a,this['_change$'][_0x5eca65(0x2cb)](_0x46e72a);}[_0x1af128(0x31e)](_0x287795,_0x7ab224){var _0x41cad7=_0x1af128;if(_0x7ab224===_0x544571[_0x41cad7(0x31a)]){const _0x12cb5a=new Image();return _0x12cb5a[_0x41cad7(0x257)]=_0x287795,_0x12cb5a;}return this[_0x41cad7(0x2f1)][_0x41cad7(0x416)](_0x287795);}[_0x1af128(0x4b6)](_0x413dcc,_0x1ab857,_0x2903f7){var _0x368fad=_0x1af128;_0x1ab857===_0x544571[_0x368fad(0x31a)]||_0x2903f7==null||this[_0x368fad(0x2f1)][_0x368fad(0x255)](_0x413dcc,_0x2903f7);}async[_0x1af128(0x1da)](_0x3a4986){var _0x48677f=_0x1af128;try{const _0x541f90=this[_0x48677f(0x3c5)](this['_getSignURL'](),''+_0x3a4986),_0x21dd58=(await this[_0x48677f(0x1ea)]['get'](_0x541f90))[_0x48677f(0x425)];if(_0x21dd58[_0x48677f(0x479)]&&_0x21dd58[_0x48677f(0x479)][_0x48677f(0x2c3)]===Ii['OK']){const _0x18f781=new URL(_0x21dd58[_0x48677f(0x1f8)],this[_0x48677f(0x323)]())[_0x48677f(0x4d5)]();return Promise[_0x48677f(0x2c8)](_0x18f781);}return Promise[_0x48677f(0x392)](_0x21dd58[_0x48677f(0x479)]);}catch(_0x3f8bd1){return Promise[_0x48677f(0x392)](_0x3f8bd1);}}async[_0x1af128(0x1f2)](_0x7e309c){var _0x261c7a=_0x1af128;let _0x151dac='';if(!Ss[_0x261c7a(0x468)](_0x7e309c['type']))return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x42f)]));if(_0x7e309c[_0x261c7a(0x363)]>Es)return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x1ef)]));try{const _0x38fb30=new FormData();_0x38fb30[_0x261c7a(0x38d)]('file',_0x7e309c);const _0x3d8984=this[_0x261c7a(0x332)][_0x261c7a(0x328)](),_0x381856=_0x3d8984==null?void 0x0:_0x3d8984[_0x261c7a(0x26b)]();if(!_0x381856)throw new Error(_0x261c7a(0x2b4));const _0x48bc63=this[_0x261c7a(0x381)]()+'?size='+_0x7e309c[_0x261c7a(0x363)][_0x261c7a(0x4d5)]()+_0x261c7a(0x452)+Ti['UnitEmbedded']+_0x261c7a(0x36a)+encodeURIComponent(_0x381856),_0x119eef=await(await fetch(_0x48bc63,{'method':_0x261c7a(0x234),'body':_0x38fb30}))[_0x261c7a(0x2c2)]();if(typeof _0x119eef[_0x261c7a(0x42d)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x509a09[_0x261c7a(0x39e)]));_0x151dac=_0x119eef[_0x261c7a(0x42d)];}catch{return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09['ERROR_IMAGE']));}return new Promise((_0x43cf13,_0x3952b2)=>{var _0x5a607b=_0x261c7a;const _0x4f8de1=new FileReader();_0x4f8de1[_0x5a607b(0x49c)](_0x7e309c),_0x4f8de1['onload']=_0x38b6fc=>{var _0x2956c9=_0x5a607b,_0x3483a6;const _0x132b2b=(_0x3483a6=_0x38b6fc[_0x2956c9(0x296)])==null?void 0x0:_0x3483a6[_0x2956c9(0x371)];if(_0x132b2b==null){this[_0x2956c9(0x4a1)](),_0x3952b2(new Error(_0x509a09['ERROR_IMAGE']));return;}const _0x21395e=_0x15157c['generateRandomId'](0x6);_0x43cf13({'imageId':_0x21395e,'imageSourceType':_0x544571[_0x2956c9(0x461)],'source':_0x151dac,'base64Cache':_0x132b2b,'status':_0x509a09['SUCCUSS']}),this[_0x2956c9(0x4a1)]();};});}[_0x1af128(0x381)](){var _0x273d71=_0x1af128,_0x1e4577,_0x13f5f0;const _0x18db8d=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](Is),_0x2ec516=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](q);return(_0x13f5f0=(_0x1e4577=_0x2ec516==null?void 0x0:_0x2ec516[_0x273d71(0x45c)])!=null?_0x1e4577:_0x18db8d)!=null?_0x13f5f0:Ts;}[_0x1af128(0x45a)](){var _0xa1a900=_0x1af128,_0x5a17e4,_0x362ad5;const _0x489d90=this['_configService'][_0xa1a900(0x49e)](Cs),_0x4608b0=this[_0xa1a900(0x4d1)][_0xa1a900(0x49e)](q);return(_0x362ad5=(_0x5a17e4=_0x4608b0==null?void 0x0:_0x4608b0[_0xa1a900(0x284)])!=null?_0x5a17e4:_0x489d90)!=null?_0x362ad5:Rs;}[_0x1af128(0x323)](){var _0x37bd30=_0x1af128,_0x444522;const _0x2cc327=this[_0x37bd30(0x4d1)][_0x37bd30(0x49e)](q);return(_0x444522=_0x2cc327==null?void 0x0:_0x2cc327[_0x37bd30(0x365)])!=null?_0x444522:location['origin'];}[_0x1af128(0x3c5)](_0x5c6068,_0xc7739e){return _0x5c6068['replace']('{fileID}',_0xc7739e);}[_0x1af128(0x4a1)](){var _0x432957=_0x1af128;this[_0x432957(0x1f4)]-=0x1,this[_0x432957(0x3ce)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x50b881(_0x51273b)),gt(0x1,_0xb3f6ba),gt(0x2,_0x50b881(_0x42b8e7))],yt);var bs=Object[_0x1af128(0x4ba)],Os=Object[_0x1af128(0x3d3)],ys=(_0x4cc287,_0x1faa31,_0xa7c8c6,_0x34efd5)=>{var _0x2502d2=_0x1af128;for(var _0x1bb667=_0x34efd5>0x1?void 0x0:_0x34efd5?Os(_0x1faa31,_0xa7c8c6):_0x1faa31,_0x1cd666=_0x4cc287[_0x2502d2(0x431)]-0x1,_0x2c9807;_0x1cd666>=0x0;_0x1cd666--)(_0x2c9807=_0x4cc287[_0x1cd666])&&(_0x1bb667=(_0x34efd5?_0x2c9807(_0x1faa31,_0xa7c8c6,_0x1bb667):_0x2c9807(_0x1bb667))||_0x1bb667);return _0x34efd5&&_0x1bb667&&bs(_0x1faa31,_0xa7c8c6,_0x1bb667),_0x1bb667;},_i=(_0x255dc4,_0x55d05a)=>(_0x325aa1,_0xeccec7)=>_0x55d05a(_0x325aa1,_0xeccec7,_0x255dc4);const Ns=_0x1af128(0x1e6);let Nt=class{constructor(_0x134059,_0x1045ff){this['_configService']=_0x134059,this['_HTTPService']=_0x1045ff;}[_0x1af128(0x30c)](){var _0x5e1d39=_0x1af128,_0x135a19,_0xb56eab;const _0x4f59af=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](Pi),_0x4cb291=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](q);return(_0xb56eab=(_0x135a19=_0x4cb291==null?void 0x0:_0x4cb291[_0x5e1d39(0x347)])!=null?_0x135a19:_0x4f59af)!=null?_0xb56eab:Ns;}async[_0x1af128(0x290)](_0xccbcb5){var _0x234e8d=_0x1af128;const _0x98ba2b=this[_0x234e8d(0x30c)]()+'/collaborator';return{'list':[{'title':_0x234e8d(0x29d),'mentions':(await this[_0x234e8d(0x393)][_0x234e8d(0x416)](_0x98ba2b,{'params':{'objectID':_0xccbcb5[_0x234e8d(0x379)],'unitID':_0xccbcb5[_0x234e8d(0x379)]}}))[_0x234e8d(0x425)][_0x234e8d(0x41b)][_0x234e8d(0x453)](_0x46d9d5=>({'objectId':_0x46d9d5['id'],'name':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'metadata':{'icon':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x27d)]},'label':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'objectType':_0x4389d9[_0x234e8d(0x3a5)]})),'metadata':{},'type':_0x4389d9[_0x234e8d(0x3a5)]}]};}};Nt=ys([_i(0x0,_0x50b881(_0xb3f6ba)),_i(0x1,_0x50b881(_0x51273b))],Nt);var Ds=Object[_0x1af128(0x4ba)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1eeb93,_0x54ff7c,_0x257c6a,_0x17f789)=>{var _0x285939=_0x1af128;for(var _0x543bab=_0x17f789>0x1?void 0x0:_0x17f789?Ps(_0x54ff7c,_0x257c6a):_0x54ff7c,_0x47cbe2=_0x1eeb93[_0x285939(0x431)]-0x1,_0x47d708;_0x47cbe2>=0x0;_0x47cbe2--)(_0x47d708=_0x1eeb93[_0x47cbe2])&&(_0x543bab=(_0x17f789?_0x47d708(_0x54ff7c,_0x257c6a,_0x543bab):_0x47d708(_0x543bab))||_0x543bab);return _0x17f789&&_0x543bab&&Ds(_0x54ff7c,_0x257c6a,_0x543bab),_0x543bab;},Se=(_0x114e06,_0x1e95d8)=>(_0x5a1c57,_0x1f26ae)=>_0x1e95d8(_0x5a1c57,_0x1f26ae,_0x114e06);let at=class extends _0x4273f8{constructor(_0x385b01,_0x9233e0,_0x396bc3,_0x363257,_0x14556f,_0x2ce2ee,_0xe4bbdb){var _0x2f1657=_0x1af128;super(),this[_0x2f1657(0x367)]=_0x385b01,this['_univerInstanceService']=_0x9233e0,this[_0x2f1657(0x201)]=_0x396bc3,this[_0x2f1657(0x3bc)]=_0x363257,this[_0x2f1657(0x4b1)]=_0x14556f,this[_0x2f1657(0x1e3)]=_0x2ce2ee,this['_undoRedoService']=_0xe4bbdb,this[_0x2f1657(0x4c0)](),this['_initCloseConn']();}[_0x1af128(0x1ec)](){var _0x44998a=_0x1af128;const _0x44853c=async _0x29bc99=>{var _0x4782cd=_0x596d;(await this[_0x4782cd(0x3bc)][_0x4782cd(0x3e7)](_0x29bc99))[_0x4782cd(0x22e)]['pipe'](_0x226f92(_0x2aded2=>_0x2aded2['eventID']===_0x1d08ca[_0x4782cd(0x368)]),_0x4387d8(this[_0x4782cd(0x2f3)]))[_0x4782cd(0x26c)](_0x60481b=>{var _0x2a9fbe=_0x4782cd;const _0x513adb=_0x60481b,{reason:_0x265995}=_0x513adb[_0x2a9fbe(0x345)];this[_0x2a9fbe(0x4b1)][_0x2a9fbe(0x258)]({'id':se[_0x2a9fbe(0x4d3)],'data':_0x265995}),this[_0x2a9fbe(0x201)][_0x2a9fbe(0x3b7)](new _0x3ff24a(_0x29bc99)['id'],!0x1),this[_0x2a9fbe(0x3bc)][_0x2a9fbe(0x3e9)](_0x29bc99);});};_0x19107a(this[_0x44998a(0x332)][_0x44998a(0x2e0)](_0x7a0f38[_0x44998a(0x3c7)]),this[_0x44998a(0x332)]['getTypeOfUnitAdded$'](_0x7a0f38[_0x44998a(0x43b)]))['pipe'](_0x3c96ad(_0x5d990d=>_0x5d990d['getUnitId']()),_0x226f92(_0xb99bac=>!_0xc3ccf8(_0xb99bac)),_0x4387d8(this['dispose$']))['subscribe'](_0x5a0f39=>{_0x44853c(_0x5a0f39);});}[_0x1af128(0x4c0)](){var _0x327807=_0x1af128;const _0x35dca9=async _0x2bc3cf=>{var _0x254f78=_0x596d;const _0x4a3bf9=await this['_collaborationSessionService'][_0x254f78(0x3e7)](_0x2bc3cf),_0x49f7dd=this['_injector'][_0x254f78(0x416)](_0x2ba33e);_0x4a3bf9[_0x254f78(0x22e)][_0x254f78(0x463)](_0x226f92(_0x5c6f5a=>_0x5c6f5a['eventID']===_0x1d08ca[_0x254f78(0x28f)]),_0x4387d8(this[_0x254f78(0x2f3)]))['subscribe'](_0x4c65c9=>{var _0x1e8196=_0x254f78;const _0x4bb863=_0x4c65c9,{objectId:_0x1d2268}=_0x4bb863[_0x1e8196(0x345)];_0x1d2268===_0x2bc3cf?_0x49f7dd[_0x1e8196(0x4c9)](_0x2bc3cf):_0x49f7dd[_0x1e8196(0x40e)](_0x2bc3cf,_0x1d2268);});};_0x19107a(this['_univerInstanceService'][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x3c7)]),this[_0x327807(0x332)][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x43b)]))[_0x327807(0x463)](_0x3c96ad(_0x194f82=>_0x194f82['getUnitId']()),_0x226f92(_0x3fcf60=>!_0xc3ccf8(_0x3fcf60)),_0x4387d8(this[_0x327807(0x2f3)]))[_0x327807(0x26c)](_0x5e04b8=>{_0x35dca9(_0x5e04b8);});}};function _0x596d(_0x2f762a,_0x5ae8e2){var _0x6aa32=_0x6aa3();return _0x596d=function(_0x596df4,_0x2e2efe){_0x596df4=_0x596df4-0x1d0;var _0x4a5f9f=_0x6aa32[_0x596df4];return _0x4a5f9f;},_0x596d(_0x2f762a,_0x5ae8e2);}at=ws([Se(0x0,_0x50b881(_0x339edd)),Se(0x1,_0x42b8e7),Se(0x2,_0xea2b61),Se(0x3,_0x50b881(Le)),Se(0x4,_0x50b881(pe)),Se(0x5,_0x298ad2),Se(0x6,_0x16445d)],at);var Us=Object[_0x1af128(0x4ba)],As=Object[_0x1af128(0x3d3)],xs=(_0x1278d2,_0xcba28,_0x3de9cb,_0x12aa49)=>{for(var _0x580e37=_0x12aa49>0x1?void 0x0:_0x12aa49?As(_0xcba28,_0x3de9cb):_0xcba28,_0xe2593d=_0x1278d2['length']-0x1,_0x206fdf;_0xe2593d>=0x0;_0xe2593d--)(_0x206fdf=_0x1278d2[_0xe2593d])&&(_0x580e37=(_0x12aa49?_0x206fdf(_0xcba28,_0x3de9cb,_0x580e37):_0x206fdf(_0x580e37))||_0x580e37);return _0x12aa49&&_0x580e37&&Us(_0xcba28,_0x3de9cb,_0x580e37),_0x580e37;},li=(_0x494487,_0x5c7c0f)=>(_0x47005c,_0x32dc41)=>_0x5c7c0f(_0x47005c,_0x32dc41,_0x494487);let Dt=class{constructor(_0x3bc861,_0x1d4cf3){var _0x4c551e=_0x1af128;this[_0x4c551e(0x4d1)]=_0x3bc861,this[_0x4c551e(0x1ea)]=_0x1d4cf3;}async['getUnitOnRev'](_0x587139,_0x1a7826){var _0x5772db=_0x1af128,_0x49c3f6;const {unitID:_0x3bc903,type:_0x12194f,revision:_0x222902=0x0}=_0x1a7826,_0x29d114=this['getSnapshotAPIPath']()+'/'+_0x12194f+_0x5772db(0x29a)+_0x3bc903+_0x5772db(0x251)+_0x222902,_0x149899=(await this[_0x5772db(0x1ea)]['get'](_0x29d114))[_0x5772db(0x425)],_0x5b1652=(_0x49c3f6=_0x149899['snapshot'])==null?void 0x0:_0x49c3f6[_0x5772db(0x286)];if(_0x5b1652){const _0xeacb8a=_0x5b1652==null?void 0x0:_0x5b1652[_0x5772db(0x240)],_0x483e74=_0x20eefa[_0x5772db(0x2f0)](_0x55b68d(_0xeacb8a));_0x5b1652[_0x5772db(0x240)]=_0x483e74,Object['entries'](_0x5b1652[_0x5772db(0x3a7)])[_0x5772db(0x30f)](([,_0x32796b])=>{var _0x258547=_0x5772db;const _0x736ced=_0x32796b[_0x258547(0x240)],_0x38cb12=_0x20eefa[_0x258547(0x2f0)](_0x55b68d(_0x736ced));_0x32796b['originalMeta']=_0x38cb12;});}return _0x149899;}async[_0x1af128(0x263)](_0x5414f9,_0x483e57){var _0x45aded=_0x1af128;const {unitID:_0x5f2913,type:_0x451567,blockID:_0x48fac8}=_0x483e57,_0x1feb50=this[_0x45aded(0x4d2)]()+'/'+_0x451567+_0x45aded(0x29a)+_0x5f2913+_0x45aded(0x1e1)+_0x48fac8;return(await this[_0x45aded(0x1ea)][_0x45aded(0x416)](_0x1feb50))[_0x45aded(0x425)];}async[_0x1af128(0x3ea)](_0x187a60,_0x10de6d){var _0x498ad5=_0x1af128;const {unitID:_0x4a928a,type:_0xef53df,blockID:_0x196991}=_0x10de6d,_0x11704d=this[_0x498ad5(0x4d2)]()+'/block/'+_0xef53df+_0x498ad5(0x29a)+_0x4a928a+_0x498ad5(0x1e1)+_0x196991;return(await this[_0x498ad5(0x1ea)]['get'](_0x11704d))['body'];}async['fetchMissingChangesets'](_0x416921,_0x285f70){var _0x465509=_0x1af128;const {unitID:_0x572694,type:_0x8d1df1,from:_0x569765,to:_0x427ab4}=_0x285f70,_0x4f747e=this[_0x465509(0x4d2)]()+'/'+_0x8d1df1+_0x465509(0x29a)+_0x572694+_0x465509(0x35e)+_0x569765+'&to='+_0x427ab4;return(await this[_0x465509(0x1ea)]['get'](_0x4f747e))[_0x465509(0x425)];}[_0x1af128(0x28a)](){var _0x1d899b=_0x1af128,_0x1a8a4e;return(_0x1a8a4e=this[_0x1d899b(0x4d1)][_0x1d899b(0x49e)](Tn))!=null?_0x1a8a4e:this[_0x1d899b(0x4d2)]();}[_0x1af128(0x4d2)](){var _0x455011=_0x1af128,_0xaa8095,_0x55e0f4;const _0x1e7841=this[_0x455011(0x4d1)][_0x455011(0x49e)](En),_0x56a3fe=this['_configService'][_0x455011(0x49e)](q);return(_0x55e0f4=(_0xaa8095=_0x56a3fe==null?void 0x0:_0x56a3fe['snapshotServerUrl'])!=null?_0xaa8095:_0x1e7841)!=null?_0x55e0f4:In;}async['getResourcesRequest'](_0x225666,_0x250632){var _0x19fdbe=_0x1af128;const _0x26f28e=_0x19fdbe(0x2d4)+_0x250632['type']+_0x19fdbe(0x29a)+_0x250632[_0x19fdbe(0x1fa)]+_0x19fdbe(0x3ba);return(await this[_0x19fdbe(0x1ea)][_0x19fdbe(0x416)](_0x26f28e,{'params':{'resourceId':JSON[_0x19fdbe(0x44b)](_0x250632[_0x19fdbe(0x47f)])}}))['body'];}[_0x1af128(0x2f2)](){var _0x48f322=_0x1af128;throw new Error(_0x48f322(0x1d2));}['saveSheetBlock'](){var _0x2c08a4=_0x1af128;throw new Error(_0x2c08a4(0x1d2));}[_0x1af128(0x235)](){var _0x45d479=_0x1af128;throw new Error(_0x45d479(0x1d2));}[_0x1af128(0x2e9)](){var _0x2bd3ec=_0x1af128;throw new Error(_0x2bd3ec(0x1d2));}[_0x1af128(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0xb3f6ba),li(0x1,_0x50b881(_0x51273b))],Dt);var Ls=Object[_0x1af128(0x4ba)],Ms=Object[_0x1af128(0x3d3)],$s=(_0x37d8f5,_0x23442d,_0x1ed29,_0x5543ea)=>{var _0x5bfc9f=_0x1af128;for(var _0xd751bd=_0x5543ea>0x1?void 0x0:_0x5543ea?Ms(_0x23442d,_0x1ed29):_0x23442d,_0x531d71=_0x37d8f5[_0x5bfc9f(0x431)]-0x1,_0x395191;_0x531d71>=0x0;_0x531d71--)(_0x395191=_0x37d8f5[_0x531d71])&&(_0xd751bd=(_0x5543ea?_0x395191(_0x23442d,_0x1ed29,_0xd751bd):_0x395191(_0xd751bd))||_0xd751bd);return _0x5543ea&&_0xd751bd&&Ls(_0x23442d,_0x1ed29,_0xd751bd),_0xd751bd;},Ae=(_0x3034a6,_0x6ca804)=>(_0x58b2c0,_0x41d6b0)=>_0x6ca804(_0x58b2c0,_0x41d6b0,_0x3034a6);let Pt=class extends _0x40707b{constructor(_0xa88093,_0x5c1fa8,_0x5ca08d,_0x455eff,_0x40a082){var _0x16f928=_0x1af128;super(_0xa88093,_0x5c1fa8,_0x5ca08d),this[_0x16f928(0x44a)]=_0x455eff,this['_logService']=_0x40a082;}[_0x1af128(0x2de)](_0xd2cbac,_0x5aa7b7){var _0x404b07=_0x1af128;const _0xc64686=this[_0x404b07(0x23d)](_0xd2cbac);if(_0xc64686)try{const _0x3167d7=this[_0x404b07(0x2e1)](_0xc64686,_0x5aa7b7);this['_substituteUndoStack'](_0xd2cbac,_0x3167d7);}catch(_0x2445a9){this[_0x404b07(0x485)]['error'](_0x404b07(0x3a0),_0x2445a9),this[_0x404b07(0x402)](_0xd2cbac);}const _0x5c560f=this[_0x404b07(0x499)](_0xd2cbac);if(_0x5c560f)try{const _0x40b839=this[_0x404b07(0x2e1)](_0x5c560f,_0x5aa7b7);this[_0x404b07(0x404)](_0xd2cbac,_0x40b839);}catch(_0x30013f){this['_logService'][_0x404b07(0x479)](_0x30013f),this[_0x404b07(0x2ca)](_0xd2cbac);}}[_0x1af128(0x402)](_0x3cd5cb){var _0x35bb3a=_0x1af128;const _0x2183ae=this[_0x35bb3a(0x23d)](_0x3cd5cb);_0x2183ae&&(_0x2183ae[_0x35bb3a(0x431)]=0x0,this[_0x35bb3a(0x3be)]());}[_0x1af128(0x2ca)](_0x47dc62){var _0x17bf34=_0x1af128;const _0x4c0a6d=this['_getRedoStack'](_0x47dc62);_0x4c0a6d&&(_0x4c0a6d[_0x17bf34(0x431)]=0x0,this[_0x17bf34(0x3be)]());}[_0x1af128(0x30d)](_0x89e1fe,_0x1949c1){var _0x17fa21=_0x1af128;this[_0x17fa21(0x4b3)]['set'](_0x89e1fe,_0x1949c1),this[_0x17fa21(0x3be)]();}['_substituteRedoStack'](_0x544193,_0x2c208f){var _0x3fba00=_0x1af128;this['_redoStacks'][_0x3fba00(0x255)](_0x544193,_0x2c208f),this[_0x3fba00(0x3be)]();}[_0x1af128(0x2e1)](_0x393040,_0x5da609){var _0x48f3ae=_0x1af128;const _0x3cf3bc=[];let _0x4cbf93=_0x5da609,_0x202070=_0x5da609;for(let _0x5b7133=_0x393040[_0x48f3ae(0x431)]-0x1;_0x5b7133>=0x0;_0x5b7133--){const {unitID:_0x307365,undoMutations:_0x15b6a6,redoMutations:_0x3af41a}=_0x393040[_0x5b7133],_0x52ddaf=this[_0x48f3ae(0x44a)]['transformMutationsWithChangeset'](_0x4cbf93,_0x15b6a6),_0x2c2c37=this[_0x48f3ae(0x44a)][_0x48f3ae(0x29f)](_0x202070,_0x3af41a);if(_0x3abcdb(_0x52ddaf)||_0x3abcdb(_0x2c2c37)){this[_0x48f3ae(0x485)]['error'](_0x48f3ae(0x3a0),_0x48f3ae(0x4c5),_0x52ddaf,_0x2c2c37);break;}_0x4cbf93=_0x52ddaf[_0x48f3ae(0x2cd)],_0x202070=_0x2c2c37[_0x48f3ae(0x2cd)],_0x3cf3bc[_0x48f3ae(0x2ad)]({'unitID':_0x307365,'undoMutations':_0x52ddaf[_0x48f3ae(0x2b0)],'redoMutations':_0x2c2c37[_0x48f3ae(0x2b0)]});}return _0x3cf3bc['reverse']();}};Pt=$s([Ae(0x0,_0x42b8e7),Ae(0x1,_0x4f3e11),Ae(0x2,_0x215270),Ae(0x3,_0x207f44),Ae(0x4,_0x334ed4)],Pt);var xi=Object[_0x1af128(0x4ba)],Hs=Object[_0x1af128(0x3d3)],ks=(_0x576577,_0x599215,_0x10881b)=>_0x599215 in _0x576577?xi(_0x576577,_0x599215,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10881b}):_0x576577[_0x599215]=_0x10881b,js=(_0x249d65,_0xe06207,_0x497045,_0x2140fa)=>{var _0x2cf9c9=_0x1af128;for(var _0x39ceee=_0x2140fa>0x1?void 0x0:_0x2140fa?Hs(_0xe06207,_0x497045):_0xe06207,_0x4c6c58=_0x249d65[_0x2cf9c9(0x431)]-0x1,_0x572d11;_0x4c6c58>=0x0;_0x4c6c58--)(_0x572d11=_0x249d65[_0x4c6c58])&&(_0x39ceee=(_0x2140fa?_0x572d11(_0xe06207,_0x497045,_0x39ceee):_0x572d11(_0x39ceee))||_0x39ceee);return _0x2140fa&&_0x39ceee&&xi(_0xe06207,_0x497045,_0x39ceee),_0x39ceee;},St=(_0x574307,_0x489698)=>(_0x32cb78,_0x5cb2d6)=>_0x489698(_0x32cb78,_0x5cb2d6,_0x574307),Bs=(_0x298c18,_0x71fe72,_0x5cead2)=>ks(_0x298c18,_0x71fe72+'',_0x5cead2);const Fs=_0x1af128(0x306);let wt=class extends _0x58ba77{constructor(_0x1a036b=Wt,_0x43fe1a,_0x26dddb,_0x5588f5){var _0x42d766=_0x1af128;super(),this['_config']=_0x1a036b,this[_0x42d766(0x485)]=_0x43fe1a,this[_0x42d766(0x367)]=_0x26dddb,this[_0x42d766(0x4d1)]=_0x5588f5;const {..._0x587125}=_0x1686f7({},Wt,this[_0x42d766(0x358)]);this[_0x42d766(0x4d1)]['setConfig'](q,_0x587125);}['onStarting'](){var _0x443f95=_0x1af128;this[_0x443f95(0x1fb)](),this[_0x443f95(0x2dc)]();}[_0x1af128(0x1fb)](){var _0x16edfb=_0x1af128,_0x2febc0,_0x5b397a,_0x14012e,_0x592198;this[_0x16edfb(0x367)][_0x16edfb(0x278)](_0x16445d)&&this['_logService']['error'](_0x16edfb(0x38b),_0x16edfb(0x46e));const _0x295ef7=_0x3b1a20([[_0x16445d,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5b397a=(_0x2febc0=this[_0x16edfb(0x358)])==null?void 0x0:_0x2febc0[_0x16edfb(0x2a0)])!=null?_0x5b397a:Et}],[_0x2687e0,{'useClass':Dt}],[_0x298ad2,{'useClass':bt}],[_0x5b5ab5,{'useClass':yt}],[_0x478e21,{'useClass':Nt}],[rt],[Rt]],(_0x14012e=this[_0x16edfb(0x358)])==null?void 0x0:_0x14012e[_0x16edfb(0x21b)]);if(!((_0x592198=this[_0x16edfb(0x358)])!=null&&_0x592198['enableSingleActiveInstanceLock'])){const _0x4ba3ee=_0x295ef7[_0x16edfb(0x3e0)](([_0x23833d])=>_0x23833d===ht);_0x4ba3ee!==-0x1&&_0x295ef7[_0x16edfb(0x3ca)](_0x4ba3ee,0x1);}_0x48774b(this['_injector'],_0x295ef7);}[_0x1af128(0x2dc)](){var _0x1e7ae7=_0x1af128,_0x3bbc71,_0x160b42,_0x55f922;this['_injector'][_0x1e7ae7(0x416)](_0x51273b)[_0x1e7ae7(0x340)]({'priority':0x14,'interceptor':_0x105533({'maxParallel':0x6})}),(_0x3bbc71=this['_config'])!=null&&_0x3bbc71[_0x1e7ae7(0x21f)]||(_0x160b42=this[_0x1e7ae7(0x367)]['get'](J,_0x8bb0cb[_0x1e7ae7(0x382)]))==null||_0x160b42['disableLocalCache'](),(_0x55f922=this[_0x1e7ae7(0x358)])!=null&&_0x55f922[_0x1e7ae7(0x326)]&&_0x150a5f(this[_0x1e7ae7(0x367)],[[st]]),_0x150a5f(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x1af128(0x297),Fs),wt=js([_0x3fade5(_0x1ce121,_0x376c94,_0x22d427),St(0x1,_0x334ed4),St(0x2,_0x50b881(_0x339edd)),St(0x3,_0xb3f6ba)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};