@univerjs-pro/collaboration-client 0.5.5-nightly.202501210734 → 0.5.5-nightly.202501210925
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x409aab=_0x5cef;(function(_0x53e03f,_0xc1915b){var _0x53ea49=_0x5cef,_0x4b8935=_0x53e03f();while(!![]){try{var _0x5f42c0=-parseInt(_0x53ea49(0x1cb))/0x1*(-parseInt(_0x53ea49(0x2c9))/0x2)+-parseInt(_0x53ea49(0xda))/0x3*(parseInt(_0x53ea49(0x125))/0x4)+-parseInt(_0x53ea49(0x2f7))/0x5+-parseInt(_0x53ea49(0x30c))/0x6*(-parseInt(_0x53ea49(0x1a5))/0x7)+parseInt(_0x53ea49(0x2fe))/0x8*(parseInt(_0x53ea49(0x280))/0x9)+parseInt(_0x53ea49(0x357))/0xa+-parseInt(_0x53ea49(0x26f))/0xb*(-parseInt(_0x53ea49(0x378))/0xc);if(_0x5f42c0===_0xc1915b)break;else _0x4b8935['push'](_0x4b8935['shift']());}catch(_0x17a28e){_0x4b8935['push'](_0x4b8935['shift']());}}}(_0x43da,0xe5fdf));var Li=Object['defineProperty'],Mi=(_0x235e12,_0x38d2c1,_0x462fc8)=>_0x38d2c1 in _0x235e12?Li(_0x235e12,_0x38d2c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x462fc8}):_0x235e12[_0x38d2c1]=_0x462fc8,N=(_0x4023a3,_0x3f8671,_0x15a5df)=>Mi(_0x4023a3,typeof _0x3f8671!='symbol'?_0x3f8671+'':_0x3f8671,_0x15a5df);import{createIdentifier as _0x28cd97,Inject as _0x301a99,Injector as _0x2b67f5,Disposable as _0x237ec8,DisposableCollection as _0x427350,toDisposable as _0x27b28a,IConfigService as _0x424efc,ILogService as _0x51fdc8,UserManagerService as _0x60bf25,UniverInstanceType as _0x1105ca,IUniverInstanceService as _0x5b9095,LocaleService as _0x226151,Optional as _0x59bb9f,RxDisposable as _0x5432f0,Tools as _0x4cedbb,Rectangle as _0x43756b,ICommandService as _0x38398c,JSONX as _0x4adf09,CommandType as _0x32bab5,IPermissionService as _0x53aaa3,IUndoRedoService as _0x347dd8,sequenceExecute as _0x4d0624,Workbook as _0x2c57dc,MentionType as _0xd2767b,IAuthzIoService as _0x66d78d,isInternalEditorID as _0x3ae67a,LocalUndoRedoService as _0xd72f3,IContextService as _0x529d62,DependentOn as _0x23c9bf,Plugin as _0x54061f,merge as _0x2d3938,mergeOverrideWithDependencies as _0x2f074d,IMentionIOService as _0xc08431,registerDependencies as _0x32949a,Quantity as _0x35bf48,touchDependencies as _0x235076}from'@univerjs/core';import{Subject as _0x221b68,merge as _0xd1cd7d,of as _0xb5d9ed,BehaviorSubject as _0x4d6645,takeUntil as _0x42b577,ReplaySubject as _0x30bf6e,take as _0x114191,map as _0x2e303b,shareReplay as _0x5a4e87,firstValueFrom as _0x14671f,concatMap as _0xef4fa5}from'rxjs';import{map as _0x1033eb,take as _0x4c4cf4,filter as _0x12594c,delay as _0x4f1603,takeUntil as _0x25b559}from'rxjs/operators';import{HTTPService as _0x160d38,ISocketService as _0x2acf92,MergeInterceptorFactory as _0x172571,HTTPRequest as _0x31cab0,UniverNetworkPlugin as _0x3a4980,ThresholdInterceptorFactory as _0x3cd65e}from'@univerjs/network';import{CollaborationEvent as _0x4dbda1,parseChangesetToProtocol as _0x1c1efb,ISnapshotServerService as _0x56b9d4,isTransformMutationsWithChangesetSuccess as _0x3b7428,ITransformService as _0x21beed,mapDocumentTypeToUniverType as _0x1ef88f,RevisionService as _0x5c64fe,isTransformChangesetsSuccess as _0x1a2c23,CompressMutationService as _0x24d2cc,parseProtocolChangeset as _0x36b852,SnapshotService as _0x37ccd2,textEncoder as _0x164eab,b64DecodeUnicode as _0x2f7481,isTransformMutationsWithChangesetFailure as _0x38d193,UniverCollaborationPlugin as _0x259d1f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1c6a20}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x27c4da}from'@univerjs/docs';import{SheetsSelectionsService as _0x3f9f4a,SetSelectionsOperation as _0x30be4e,InsertSheetMutation as _0x229cee,EmptyMutation as _0x540daa,WorkbookEditablePermission as _0x4e3789,SheetPermissionInitController as _0x377187,UniverSheetsPlugin as _0x2152ff}from'@univerjs/sheets';import{ImageSourceType as _0x5d518d,ImageUploadStatusType as _0x46e417,IImageIoService as _0x261313}from'@univerjs/drawing';import{getGlobalObject as _0x27e758}from'@univerjs-pro/license';const En=_0x409aab(0x2ba),In='/universer-api/snapshot',Tn=_0x409aab(0x14f),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x409aab(0x310),On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x409aab(0x141),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x409aab(0x362),io=0x3e8,Un=_0x409aab(0xbb),An='/universer-api/comb',xn=_0x409aab(0x299),Ln=_0x409aab(0x154),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x409aab(0xe1);var Ii=(_0x51569f=>(_0x51569f[_0x51569f[_0x409aab(0x1e6)]=0x0]=_0x409aab(0x1e6),_0x51569f[_0x51569f['OK']=0x1]='OK',_0x51569f[_0x51569f[_0x409aab(0x19e)]=0x2]=_0x409aab(0x19e),_0x51569f[_0x51569f[_0x409aab(0x220)]=0x3]=_0x409aab(0x220),_0x51569f[_0x51569f[_0x409aab(0x26b)]=0x4]=_0x409aab(0x26b),_0x51569f[_0x51569f[_0x409aab(0x1b5)]=0x5]='UNAUTHENTICATED',_0x51569f[_0x51569f[_0x409aab(0x293)]=0x6]=_0x409aab(0x293),_0x51569f[_0x51569f['INVALID_ARGUMENT']=0x7]=_0x409aab(0x16f),_0x51569f[_0x51569f[_0x409aab(0x25b)]=0x8]=_0x409aab(0x25b),_0x51569f[_0x51569f['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x51569f[_0x51569f[_0x409aab(0x167)]=0x1389]=_0x409aab(0x167),_0x51569f[_0x51569f[_0x409aab(0x2a6)]=0x1771]=_0x409aab(0x2a6),_0x51569f[_0x51569f[_0x409aab(0x300)]=0x1772]=_0x409aab(0x300),_0x51569f[_0x51569f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x409aab(0x21a),_0x51569f[_0x51569f['APPLY_REJECT']=0x1b59]=_0x409aab(0x344),_0x51569f[_0x51569f[_0x409aab(0x1a3)]=0x1b5a]=_0x409aab(0x1a3),_0x51569f[_0x51569f[_0x409aab(0xc1)]=0x1b5b]=_0x409aab(0xc1),_0x51569f[_0x51569f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51569f[_0x51569f[_0x409aab(0x313)]=0x1b5d]=_0x409aab(0x313),_0x51569f[_0x51569f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x51569f[_0x51569f[_0x409aab(0xc6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51569f[_0x51569f[_0x409aab(0x2f8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x51569f[_0x51569f['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x409aab(0x277),_0x51569f[_0x51569f[_0x409aab(0x322)]=0x232c]=_0x409aab(0x322),_0x51569f[_0x51569f[_0x409aab(0x2c6)]=0x232d]=_0x409aab(0x2c6),_0x51569f[_0x51569f[_0x409aab(0xcf)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x51569f[_0x51569f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x409aab(0x382),_0x51569f[_0x51569f[_0x409aab(0x276)]=0x2713]=_0x409aab(0x276),_0x51569f[_0x51569f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x409aab(0x9b),_0x51569f[_0x51569f[_0x409aab(0x105)]=0x2af9]=_0x409aab(0x105),_0x51569f[_0x51569f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x51569f))(Ii||{}),Q=(_0x5aba49=>(_0x5aba49[_0x5aba49[_0x409aab(0x151)]=0x0]=_0x409aab(0x151),_0x5aba49[_0x5aba49[_0x409aab(0x20f)]=0x1]='UNIVER_DOC',_0x5aba49[_0x5aba49[_0x409aab(0x8e)]=0x2]=_0x409aab(0x8e),_0x5aba49[_0x5aba49['UNIVER_SLIDE']=0x3]=_0x409aab(0x355),_0x5aba49[_0x5aba49['UNIVER_PROJECT']=0x4]=_0x409aab(0x35f),_0x5aba49[_0x5aba49[_0x409aab(0x279)]=-0x1]=_0x409aab(0x279),_0x5aba49))(Q||{}),F=(_0x3513ff=>(_0x3513ff[_0x3513ff['UNKNOWN_CMD']=0x0]=_0x409aab(0xc2),_0x3513ff[_0x3513ff['HELLO']=0x1]='HELLO',_0x3513ff[_0x3513ff['JOIN']=0x2]=_0x409aab(0x212),_0x3513ff[_0x3513ff[_0x409aab(0x182)]=0x3]=_0x409aab(0x182),_0x3513ff[_0x3513ff['INGEST']=0x4]=_0x409aab(0x17c),_0x3513ff[_0x3513ff[_0x409aab(0x19d)]=0x5]=_0x409aab(0x19d),_0x3513ff[_0x3513ff[_0x409aab(0x264)]=0x6]=_0x409aab(0x264),_0x3513ff[_0x3513ff[_0x409aab(0x279)]=-0x1]=_0x409aab(0x279),_0x3513ff))(F||{}),Ee=(_0x40930f=>(_0x40930f[_0x40930f['UNKNOWN_CODE']=0x0]=_0x409aab(0x14d),_0x40930f[_0x40930f['OK']=0x1]='OK',_0x40930f[_0x40930f[_0x409aab(0x268)]=0x2]='FAIL',_0x40930f[_0x40930f[_0x409aab(0xe8)]=0x3e9]='JOIN_ROOM_FULL',_0x40930f[_0x40930f[_0x409aab(0x33b)]=0x3ea]=_0x409aab(0x33b),_0x40930f[_0x40930f[_0x409aab(0x2b4)]=0x3eb]=_0x409aab(0x2b4),_0x40930f[_0x40930f[_0x409aab(0x253)]=0x3ec]=_0x409aab(0x253),_0x40930f[_0x40930f[_0x409aab(0x279)]=-0x1]='UNRECOGNIZED',_0x40930f))(Ee||{}),Ti=(_0x512e65=>(_0x512e65[_0x512e65[_0x409aab(0x291)]=0x0]=_0x409aab(0x291),_0x512e65[_0x512e65[_0x409aab(0x243)]=0x1]=_0x409aab(0x243),_0x512e65[_0x512e65[_0x409aab(0xa0)]=0x2]=_0x409aab(0xa0),_0x512e65[_0x512e65[_0x409aab(0xa5)]=0x3]='UnitEmbedded',_0x512e65[_0x512e65[_0x409aab(0x223)]=0x4]=_0x409aab(0x223),_0x512e65[_0x512e65[_0x409aab(0x279)]=-0x1]='UNRECOGNIZED',_0x512e65))(Ti||{});const q=_0x409aab(0x2be),Wt={};var se=(_0x3a6426=>(_0x3a6426[_0x409aab(0x247)]='OTHER_CLIENT_EDITING',_0x3a6426[_0x409aab(0x220)]='PERMISSION_DENIED',_0x3a6426[_0x409aab(0x1e1)]=_0x409aab(0x1e1),_0x3a6426['CLOSE_ROOM']='CLOSE_ROOM',_0x3a6426[_0x409aab(0x91)]=_0x409aab(0x91),_0x3a6426[_0x409aab(0xfb)]=_0x409aab(0xfb),_0x3a6426[_0x409aab(0x270)]=_0x409aab(0x270),_0x3a6426['SUBMIT_CHANGESET_TIMEOUT']=_0x409aab(0x34d),_0x3a6426))(se||{});class pe{constructor(){var _0x12da9f=_0x409aab;N(this,_0x12da9f(0x2fb),new _0x221b68()),N(this,_0x12da9f(0x30b),this['_event$'][_0x12da9f(0x1cd)]());}[_0x409aab(0x207)](_0x2f00e0){var _0x537938=_0x409aab;this[_0x537938(0x2fb)][_0x537938(0x10a)](_0x2f00e0);}}const Mn=_0x28cd97('univer-pro.collaboration-client.network-condition.service');function $n(_0x4e2e0a){var _0x1f8954=_0x409aab,_0x5bd380,_0x490185,_0x466d5d,_0x6e7dbb,_0x4508a5;const _0x5acac4=_0x4e2e0a['data'],_0xd6305e=JSON[_0x1f8954(0x377)](_0x5acac4);switch(_0xd6305e[_0x1f8954(0xb3)]){case F['HEARTBEAT']:case F[_0x1f8954(0x1ba)]:{const _0x3200fa=_0xd6305e[_0x1f8954(0x383)];return{..._0xd6305e,'data':_0x3200fa,'cmd':_0xd6305e[_0x1f8954(0xb3)]};}case F[_0x1f8954(0x212)]:{const _0x3af054=_0xd6305e[_0x1f8954(0x210)];return{..._0xd6305e,'data':_0x3af054,'cmd':_0xd6305e['cmd']};}case F[_0x1f8954(0x264)]:{const _0x1ab423=_0xd6305e['collaMsg'];switch(_0x1ab423['eventID']){case _0x4dbda1[_0x1f8954(0x31c)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x5bd380=_0x1ab423['permissionRejEvent'])==null?void 0x0:_0x5bd380['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['CHANGESET_ACK']:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x490185=_0x1ab423[_0x1f8954(0x2af)])==null?void 0x0:_0x490185['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x376)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x466d5d=_0x1ab423[_0x1f8954(0x372)])==null?void 0x0:_0x466d5d['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x285)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x6e7dbb=_0x1ab423['csRejEvent'])==null?void 0x0:_0x6e7dbb['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['CHANGESET_SHOULD_RETRY']:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x4508a5=_0x1ab423[_0x1f8954(0x28f)])==null?void 0x0:_0x4508a5['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x188)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x28a)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1e7)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x15a)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1c7)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0xee)]},'cmd':_0xd6305e['cmd']};case _0x4dbda1[_0x1f8954(0x2cb)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x227)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['LIVESHARE_FETCH_OPERATIONS']:case _0x4dbda1['LIVESHARE_OPERATION']:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['liveShareOperation']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x140)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x227)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x2a0)]:return{..._0xd6305e,'data':_0x1ab423,'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1c3)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['commentUpdateEvent']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x97)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['updatePermissionObjEvent']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x28c)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x165)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['UNISCRIPT_RUN']:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x135)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};default:return _0xd6305e;}}default:return _0xd6305e;}}function Hn(_0x1c6898){var _0xc75599=_0x409aab;switch(_0x1c6898[_0xc75599(0xb3)]){case F[_0xc75599(0x19d)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)]});case F[_0xc75599(0x17c)]:{let _0xc5903a;switch(_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0xe0)]){case _0x4dbda1[_0xc75599(0x188)]:{_0xc5903a={'eventID':_0x4dbda1['UPDATE_CURSOR'],'updateCursorEvent':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x1c7)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x1c7)],'leaveEvent':_0x1c6898[_0xc75599(0x2bd)]['data']};break;}case _0x4dbda1[_0xc75599(0x1e7)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x1e7)],'joinEvent':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x2cb)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x2cb)],'liveShareNewHost':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x32e)]:{_0xc5903a={'eventID':_0x4dbda1['LIVESHARE_OPERATION'],'liveShareOperation':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1['LIVESHARE_TERMINATE']:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x140)],'liveShareTerminate':_0x1c6898['data'][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x2a9)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x2a9)],'liveShareRequestHost':_0x1c6898[_0xc75599(0x2bd)]['data']};break;}case _0x4dbda1['LIVESHARE_FETCH_OPERATIONS']:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0xb5)]};break;}default:_0xc5903a={'eventID':_0x1c6898['data'][_0xc75599(0xe0)]};}return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)],'collaMsg':_0xc5903a});}case F[_0xc75599(0x212)]:return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)],'joinReq':_0x1c6898['data']});case F[_0xc75599(0x182)]:return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898['cmd'],'routeKey':_0x1c6898['routeKey'],'leaveReq':_0x1c6898[_0xc75599(0x2bd)]});default:throw new Error(_0xc75599(0x1bc));}}var kn=Object[_0x409aab(0x1b3)],jn=Object[_0x409aab(0x308)],Bn=(_0x567383,_0x144cf4,_0x4cae45,_0x200968)=>{var _0x475338=_0x409aab;for(var _0xb6ffe6=_0x200968>0x1?void 0x0:_0x200968?jn(_0x144cf4,_0x4cae45):_0x144cf4,_0x19b84e=_0x567383[_0x475338(0xb8)]-0x1,_0xb2b727;_0x19b84e>=0x0;_0x19b84e--)(_0xb2b727=_0x567383[_0x19b84e])&&(_0xb6ffe6=(_0x200968?_0xb2b727(_0x144cf4,_0x4cae45,_0xb6ffe6):_0xb2b727(_0xb6ffe6))||_0xb6ffe6);return _0x200968&&_0xb6ffe6&&kn(_0x144cf4,_0x4cae45,_0xb6ffe6),_0xb6ffe6;},Ue=(_0x57706d,_0x5b6037)=>(_0x17cdeb,_0x31a71a)=>_0x5b6037(_0x17cdeb,_0x31a71a,_0x57706d);const Ci=_0x28cd97(_0x409aab(0x2dd));function Fn(_0xaee52c,_0x85c4b9,_0x2def41){var _0x28be46=_0x409aab;return _0xaee52c+'/'+_0x85c4b9+_0x28be46(0x273)+_0x2def41+'/new_changes';}let Et=class extends _0x237ec8{constructor(_0x14ae6f,_0x48593e,_0x540c1a,_0x3e5a36,_0x1299d0){var _0x4dc19d=_0x409aab;super(),this['_injector']=_0x14ae6f,this[_0x4dc19d(0x19b)]=_0x48593e,this['_configService']=_0x540c1a,this[_0x4dc19d(0x21d)]=_0x3e5a36,this[_0x4dc19d(0x17b)]=_0x1299d0;}[_0x409aab(0x278)](_0x19142d){var _0x1bf807=_0x409aab;const _0x34f732=this[_0x1bf807(0x8c)][_0x1bf807(0x24c)](_0x2acf92);if(!_0x34f732)throw new Error(_0x1bf807(0x2ec));const _0x20b181=_0x34f732[_0x1bf807(0x278)](_0x19142d);if(!_0x20b181)throw new Error(_0x1bf807(0x2e7));const _0x12b093=new _0x427350(),_0x22d0ef=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181[_0x1bf807(0x1ab)]['subscribe'](_0x44917c=>_0x22d0ef['next'](_0x44917c))),_0x12b093['add'](_0x27b28a(()=>_0x22d0ef[_0x1bf807(0x37a)]()));const _0x9de1a0=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181['error$']['subscribe'](_0x19c3d1=>_0x9de1a0['next'](_0x19c3d1))),_0x12b093[_0x1bf807(0x24a)](_0x27b28a(()=>_0x9de1a0['complete']()));const _0x4fa1e5=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181['message$'][_0x1bf807(0x136)](_0x3f04a6=>{const _0x596e25=$n(_0x3f04a6);_0x4fa1e5['next'](_0x596e25);})),_0x12b093[_0x1bf807(0x24a)](_0x27b28a(()=>_0x4fa1e5[_0x1bf807(0x37a)]()));let _0x5e12d1;const _0x9b8cdf=()=>{var _0x215f35=_0x1bf807;_0x9de1a0[_0x215f35(0x10a)](new Event(_0x215f35(0x202))),_0x22d0ef[_0x215f35(0x10a)](new CloseEvent(_0x215f35(0x202))),_0x5e12d1['close']();};return _0x5e12d1={'memberID':'','close$':_0x22d0ef[_0x1bf807(0x1cd)](),'error$':_0x9de1a0['asObservable'](),'open$':_0x20b181[_0x1bf807(0x10b)],'message$':_0x4fa1e5[_0x1bf807(0x1cd)](),'send':_0x48a3e1=>{var _0x572865=_0x1bf807;if(_0x48a3e1[_0x572865(0xb3)]===F[_0x572865(0x17c)]){if(_0x48a3e1[_0x572865(0x2bd)][_0x572865(0xe0)]===_0x4dbda1['SUBMIT_CHANGESET']){this[_0x572865(0xba)](_0x5e12d1,_0x48a3e1[_0x572865(0x2bd)])[_0x572865(0x33c)](_0x2ce59e=>{var _0x24c66b=_0x572865;this[_0x24c66b(0x21d)][_0x24c66b(0x36f)](_0x2ce59e),_0x9b8cdf();});return;}if(_0x48a3e1[_0x572865(0x2bd)][_0x572865(0xe0)]===_0x4dbda1[_0x572865(0x290)]){const _0x3b4ba1=_0x48a3e1[_0x572865(0x2bd)];this[_0x572865(0x196)](_0x3b4ba1)['then'](_0x44dc78=>{var _0x5eaa11=_0x572865;_0x4fa1e5[_0x5eaa11(0x10a)]({'cmd':F[_0x5eaa11(0x264)],'code':Ee['OK'],'routeKey':_0x3b4ba1[_0x5eaa11(0x2bd)][_0x5eaa11(0x8d)],'routeType':'','data':{'eventID':_0x4dbda1[_0x5eaa11(0x288)],'data':{'changesets':_0x44dc78}}});})[_0x572865(0x33c)](_0x1d0cb7=>{var _0x43bfc4=_0x572865;this[_0x43bfc4(0x21d)][_0x43bfc4(0x36f)](_0x1d0cb7),_0x9b8cdf();});return;}}_0x20b181[_0x572865(0x2cc)](Hn(_0x48a3e1));},'close':()=>{_0x20b181['close'](),_0x12b093['dispose']();}},_0x5e12d1;}async['_submitChangeset'](_0x20d79c,_0x524038){var _0x2ba280=_0x409aab,_0x3bbb57,_0xe6215e;const {unitType:_0x3fe3a5,unitID:_0x9bec29,changeset:_0x6a4d6b}=_0x524038[_0x2ba280(0x2bd)],_0x968f1f={'unitID':_0x9bec29,'memberID':_0x20d79c[_0x2ba280(0x331)],'type':_0x3fe3a5,'changeset':_0x1c1efb(_0x6a4d6b)},_0x31379e=this[_0x2ba280(0xd2)][_0x2ba280(0x294)](Un),_0x4308f7=this[_0x2ba280(0xd2)][_0x2ba280(0x294)](q),_0x203427=Fn((_0xe6215e=(_0x3bbb57=_0x4308f7==null?void 0x0:_0x4308f7['collabSubmitChangesetUrl'])!=null?_0x3bbb57:_0x31379e)!=null?_0xe6215e:An,_0x3fe3a5,_0x9bec29);try{await this['_http'][_0x2ba280(0x215)](_0x203427,{'body':_0x968f1f});}catch(_0x4f61f3){throw this[_0x2ba280(0x21d)][_0x2ba280(0x36f)](_0x2ba280(0x226),_0x2ba280(0xdc)),_0x4f61f3;}}async['_fetchMissChangesets'](_0x53f1f3){var _0x2e45b4=_0x409aab;const {unitID:_0x399141,from:_0x5941fb,to:_0x7e000f,unitType:_0x84f336}=_0x53f1f3[_0x2e45b4(0x2bd)];return(await this[_0x2e45b4(0x17b)][_0x2e45b4(0x1e0)]({'metadata':void 0x0},{'unitID':_0x399141,'type':_0x84f336,'from':_0x5941fb,'to':_0x7e000f}))['changesets'];}};Et=Bn([Ue(0x0,_0x301a99(_0x2b67f5)),Ue(0x1,_0x301a99(_0x160d38)),Ue(0x2,_0x424efc),Ue(0x3,_0x51fdc8),Ue(0x4,_0x56b9d4)],Et);function _0x43da(){var _0xaf0f1e=['code','updateOfflineData','_hasher','stopTime','_getUploadFileURL','collaboration-client.local-cache-service','updateCollaborator','entityInit$','snapshotServerUrl','size','error$','_collaborationUIEventService','action','_onConnectionOpen','indexOf','getWorkbookSelections','univer-pro.collaboration-client-socket-service','encode','sessionStatus$','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sessionStatus$','/collaborator','_applyRemoteChangeset','_getRedoStack','from','signUrlServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onRemoteRetry','_nDataBytes','\x20to\x20','_isPermissionRej','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','OpenSSL','_updateStatus','_resendTimeout','dispose$','mode','CBC','bind','HmacMD5','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','3319560EVDwMn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRemoteRej','url','_event$','Cipher','FETCH_MISS','7472NiovCE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SNAPSHOT_HAS_BEEN_REMOVED','MD5','transformSelections','resend','status$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_map','getOwnPropertyDescriptor','result','_showConflictNotification','event$','1006524HDDnsN','rev','[CollaborationEntity]','exports','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_SHOULD_RETRY','onload','APPLY_DUPLICATED','_authzIoService','randomUUID','localCacheService','_getSendChangesetTimeout','conflict','update','session.room-permission-denied','$super','PERMISSION_REJ','_telemetryInfo','randomBytes','_commandService','_change$','key','LICENSE_EXPORT_SIZE_EXCEEDED','members','_revisionService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','Hasher','_httpService','execute','salt','responseType','origin','_scheduleCompleteTimestamp','session.room-full','LIVESHARE_OPERATION','PasswordBasedCipher','_getLoginPath','memberID','[CollaborationSessionService]:\x20socket\x20error','_config','sid','_unitID','_clearLocalCache','onTransformRemoteChangesetByStateCache','_toggleOnline','_changesetSessionId','_onConnectionFailed','JOIN_ROOM_NOT_EXISTS','catch','_oKey','lib','_roomMembers','baseRev','confirm','runId','_createInitialState','APPLY_REJECT','addHandlerCallback','dispose','putCollaborators','function','loadOfflineData','unit-cache-','_retryCount','[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.','SUBMIT_CHANGESET_TIMEOUT','not_collab','charCodeAt','loadUnit','actions','_loadDoc','onlyLocal','charAt','UNIVER_SLIDE','_state','11542080qYDycL','Base64','_process','ivSize','max','getTime','_collaborationSessionService','onTransformRemoteChangesetByIMECache','UNIVER_PROJECT','/universer-api/file/{fileID}/sign-url','objects','LOCAL_CACHE_INTERVAL','padding','_scheduleCollaborationTimeoutTimer','readInt32LE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','refreshPermission','OFFLINE','_unlockTransition','_telemetryService','Error\x20on\x20receiving\x20event','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_substituteRedoStack','onLocalMutation','error','_registerDependencies','m2Prime','newCsEvent','_roomCreated$','repeat','_onRecvEvent','NEW_CHANGESETS','parse','1433148qQWzhX','awaitingChangeset','complete','/universer-api/authz','_unitInfo$','unknown','_transformIMECache','_pendingMutations','_sender','_socketReady','YUUMI_URL_COL_OUT_OF_RANGE','infoRsp','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_executeRemoteChangeset','toLowerCase','getValue','_injector','unitID','UNIVER_SHEET','push','getImageSourceCache','JOIN_ROOM_FAILED','textRanges','_HTTPService','_onCombEvent','Malformed\x20UTF-8\x20data','equals','UPDATE_PERMISSION_OBJ','UUID','getUnitStatus$','SUBMIT_CHANGESET','YUUMI_SUBSCRIPTION_NOT_FOUND','_remoteChangesetQueue','kdf','socketService','_instanceService','HttpExport','onMissingChangesets','getInterceptPoints','updatePermissionPoint','awaiting_with_pending','UnitEmbedded','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','executeCommand','getRoom','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','encrypt','onCommandExecuted','addImageSourceCache','headers','[SyncedState]:\x20received\x20acknowledgement.','getSnapshotAPIPath','_cipher','_init','cmd','CHANGESET_ACK','LIVESHARE_FETCH_OPERATIONS','search','_clearHeartbeatTimer','length','apply','_submitChangeset','COLLAB_SUBMIT_CHANGESET_URL','startTime','_entities','/fetchmissing?from=','enableOfflineEditing','univer-pro.collaboration-client.single-active-unit-service','APPLY_REVISION_CONFILICT','UNKNOWN_CMD','selections','disposeWithMe','wsSessionTicketUrl','LICENSE_MAX_UNITS_EXCEEDED','src','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','focused$','compose','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_initMergeInterceptor','_onLocalMutation','substr','YUUMI_UNABLE_LOAD_URL','People','\x0aCurrent:\x20','_configService','[FetchMissState]','_permissionService','keySize','_socket$','_updateState','patch','concat','5157033GxYERT','change$','submit\x20changeset\x20error!','_queuedRemoteChangesets','_loadSheet','HMAC','eventID','/universer-api/uniscript','_state$','_clearTimeoutTimer','_socketService','slice','_onUserLeave','reverse','JOIN_ROOM_FULL','getSheetBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','readyForCollab','deleteCollaborator','saveChangeset','leaveEvent','_waitCount','COMPRESS_MUTATION_SEND','unpad','_compressMutationService','ciphertext','_redoStacks','roomInfos','MUTATION','close','AWAITING','_entityInit$','NOT_COLLAB','SOCKET_FAILED_RETRY','stringify','_waitForHeartbeatResponse','_initUnitPermissionChange','pad','blockSize','createEncryptor','subject','call','Encryptor','PY_RUNTIME_SCRIPT_ERROR','[OfflineState]:\x20received\x20rejection.','range','_undoRedoService','_clearUndo','next','open$','subUnitId','_append','originalMeta','_startCollaboration','_createSocketURL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','objectID','_onConflict','toggleOnline','enableSingleActiveInstanceLock','location','requireSession','commentUpdate$','failed\x20to\x20apply\x20missed\x20changesets!','debug','synced','createDecryptor','&source=','OTHER_CLIENTS_EDITING','_undoStacks','getAllMembers','override','_sendHeartbeatTimer','find','clamp','4EkZzMR','setWaitCount','reqId','unitInfo$','default','Base','createInstance','_handler','message$','_transitionLocked','_clearRedo','_createHelper','params','splice','_rescheduleHeartbeat','_onFetchMissResult','uniscriptRunEvent','subscribe','_createHandler','_parse','online$','localeService','PERSON','generateRandomId','_keySchedule','unsubscribe','_key','LIVESHARE_TERMINATE','HEARTBEAT_TIMEOUT','Decryptor','removeMember','c1Prime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','collaborators','_resendWithTimeout','_substituteUndoStack','COMPRESS_MUTATION_APPLY','JOINING','onCommentUpdate','_doFinalize','UNKNOWN_CODE','title','SNAPSHOT_URL_KEY','getTypeOfUnitDisposed$','UNIVER_UNKNOWN','interceptor','_mode','/universer-api/oidc/authpage','algo','_getUndoStack','roles','CLOSE_ROOM','_commentUpdate$','joinEvent','onRemoteChangeset','fetch_missing','getCollabEntity','_prevBlock','_getAPIPrefix','transformUndoRedo','_minBufferSize','reconnect','reject','_onRemoteRejected','shouldCloseConn','extend','CHANGESET_REVISION_CONFILICT','toggleOffline','saveSnapshot','transformMutationsWithChangeset','/role','_transformRemoteChangesetByStateCache','mixIn','setCurrentUser','INVALID_ARGUMENT','join','words','sigBytes','ticket','AES','getActiveSheet','loadSheet','readAsDataURL','onTransformIME','_getSignURL','_checkMissing','_snapshotServerService','INGEST','_snapshotService','PENDING','state$','onStarting','_transformStack','LEAVE','_sendingTimer','_startTelemetryCollaborationNewChangeset','onSyncEditingCollabCursor','_collabSessionService','_clearScheduledTask','UPDATE_CURSOR','_changesetReqId','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','startsWith','listRoles','transformStack\x20failed!','sessionStatus','_univerInstanceService','Utf8','save\x20fail\x20reason\x20is\x20','searchParams','SerializableCipher','_doProcessBlock','_decreaseWaiting','_fetchMissChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/bmp','buffer','onTransformSelections','_http','[PendingState]:\x20received\x20rejection.','HEARTBEAT','INTERNAL_ERROR','_getDownloadEndpointURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','objectActions','APPLY_NON_SEQUENTIAL_REVISION','onMissedChangesetFetched','14iXKBSM','downloadEndpointUrl','_retryConnectingTimer','pipe','_clearCollaborationTimeoutTimer','incrementRevOfUnit','close$','_transformSelections','_initRequestHeader','_nRounds','workbook','/block/','updateMember','init','defineProperty','getCollabEntity$','UNAUTHENTICATED','/object/','reset','&assign=','image/jpeg','HELLO','file','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socketMessageSubscription','[OfflineState]:\x20received\x20changeset.','_getCurrentRevision','_sendHeartbeat','[DataLoaderService]','prototype','COMMENT_UPDATE','_disableEditing','_replaceFileID','_socket','USERS_LEAVE','withCredentials','now','every','2732cRcobx','_handlerCallback','asObservable','floor','Pkcs7','getRandomValues','_userManagerService','ceil','_members$','capture','__creator','unitId','_transformRemoteChangesetByIMECache','decrypt','_iKey','uploadFileServerUrl','_ENC_XFORM_MODE','_tryEnsureSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_removeRoom','forEach','fetchMissingChangesets','CONFLICT','_memberService','session','socket\x20close','hostname','UNDEFINED','USERS_ENTER','getUnitId','members$','Latin1','put','_replayCachedMutations','compute','includes','cfg','_onJoinRoomEvent','values','/object','_hash','_shouldReportTelemetry','BASE64','_imageSourceCache','SHA1','_onRemoteChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','objectType','create','_type','mutations','StreamCipher','enc','_getCtorByUniverType','abs','connection\x20error','Univer','body','getCurrentRevOfUnit','_singleActiveUnitService','emitEvent','clear','_members','Hex','copyFileMeta','msCrypto','image/jpg','auth.needGotoLoginAlert','UNIVER_DOC','joinRsp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','JOIN','_transformService','has','post','_sessions','_schedule','registerHTTPInterceptor','_data','ENSURE_SNAPSHOT_EXECUTION','fromCharCode','getImage','_logService','_commentService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_DENIED','_syncEditingCollabCursor','getMemberID','UnitSnapshot','x-univer-host','_resendTimer','[CollaborationSession]','liveShareNewHost','clone','string','fetchThroughInterceptors','/-/object/list','isPermissionRej','isArray','_doCryptBlock','DEFAULT_FILE_NAME','getFocusedUnit','_transformStateCache','onSendChangeset','editingUnit','_invKeySchedule','routeKey','byteLength','_createSocket','toString','list','appendMutation','userID','OPTIONAL','/universer-api/stream/file/upload','_stopTelemetryCollaborationNewChangeset','getUnitType','encodeURIComponent','_updateLocalCache','socket$','HttpImport','BlockCipher','href','crypto','OTHER_CLIENT_EDITING','filter','decryptBlock','add','BufferedBlockAlgorithm','get','\x20in\x20_schedule.','_collaborationPaused','c2Prime','state','_awaitingChangeset','onTransformState','GLOBAL_ROOMS_CNT_EXCEEDS','entries','type','revision','requestParams','_exhaustRemoteChangesetQueue','_emitMembers','listCollaborators','TOO_MANY_REQUESTS','WordArray','loadDoc','_lockTransition','_doReset','_initCloseConn','hasOwnProperty','onRemoteAck','_throwTelemetryCollaborationNewChangeset','RECV','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','transformChangesets','\x20-\x20','FAIL','[OfflineState]:\x20received\x20acknowledgement.','name','NOT_FOUND','_incrementRevisionNumber','telemetry\x20info\x20is\x20not\x20initialized','_networkConditionService','22WYtUWM','SOCKET_FAILED','getSheetId','_iv','/unit/','createCollaborator','random','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','createSocket','UNRECOGNIZED','session.room-cnt-exceeds','[SyncedState]:\x20received\x20rejection.','IDLE','_xformMode','fromCollab','setShowComponents','1404SPtekX','map','offline','pauseCollaboration','_reverseMap','CHANGESET_REJ','format','disableLocalCache','PSEUDO_FETCH_MISSING_RESULT','_createHmacHelper','updateCursorEvent','hasher','SHOULD_CLOSE_CONN','?url=','POST','csShouldRetryEvent','FETCH_MISSING','Undefined','delete','ALREADY_EXISTS','getConfig','target','sin','duration','_acknowledgedAwaitingChangeset','LOGIN_URL_KEY','_localCacheService','fetchMiss','collaboratorID','ONLINE','NO_OTHER_CLIENTS_EDITING','_createInitialStateImpl','MSG_FOR_ERROR','/rev/','set','getCurrentUser','awaiting','batchAllowed','SNAPSHOT_INVALID_SNAPSHOT','_onOffline','/resources','LIVESHARE_REQUEST_HOST','_onRemoteACK','setConfig','[CollaborationSessionService]','ERROR_IMAGE','finalize','csAckEvent','_tryReconnect','_getSessionTicket','_candidateSocket','deepClone','JOIN_ROOM_PERMISSION_DENIED','waitForRoom$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','findIndex','getMember','SYNCED','SNAPSHOT_SERVER_URL_KEY','_getAPIPrefixPath','_collaborationTimeoutTimer','data','collaboration-client.config','_joinRoom','authzUrl','onRemoteRetry','_status$','NoPadding','getTypeOfUnitAdded$','_timeoutTimer','LICENSE_DISTRO_REJECTED','_localeService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','1062ZtNtsx','reduce','LIVESHARE_NEW_HOST','send'];_0x43da=function(){return _0xaf0f1e;};return _0x43da();}const Vn='collaboration_new_changeset';function Gn(_0x2dc74f){var _0x54de0d=_0x409aab;return JSON[_0x54de0d(0xfc)](_0x2dc74f)[_0x54de0d(0xb8)];}class Ri{constructor(){var _0xd1a73b=_0x409aab;N(this,_0xd1a73b(0x159),new _0x221b68()),N(this,_0xd1a73b(0x118),this[_0xd1a73b(0x159)]['asObservable']());}['onCommentUpdate'](_0x5a9a6b){var _0x12cb3e=_0x409aab;this[_0x12cb3e(0x159)]['next'](_0x5a9a6b);}}var Wn=Object[_0x409aab(0x1b3)],Kn=Object[_0x409aab(0x308)],Yn=(_0x2a4195,_0x4f5b07,_0x49e680,_0x4c54b5)=>{var _0x1c450a=_0x409aab;for(var _0x548427=_0x4c54b5>0x1?void 0x0:_0x4c54b5?Kn(_0x4f5b07,_0x49e680):_0x4f5b07,_0x14a245=_0x2a4195[_0x1c450a(0xb8)]-0x1,_0x4e3056;_0x14a245>=0x0;_0x14a245--)(_0x4e3056=_0x2a4195[_0x14a245])&&(_0x548427=(_0x4c54b5?_0x4e3056(_0x4f5b07,_0x49e680,_0x548427):_0x4e3056(_0x548427))||_0x548427);return _0x4c54b5&&_0x548427&&Wn(_0x4f5b07,_0x49e680,_0x548427),_0x548427;},Kt=(_0x1b821c,_0x4f7b36)=>(_0x886eb8,_0x4aa1bc)=>_0x4f7b36(_0x886eb8,_0x4aa1bc,_0x1b821c);let xe=class extends _0x237ec8{constructor(_0x147d2,_0x3c74a2){var _0x42e5ac=_0x409aab;super(),N(this,'_roomMembers',new Map()),N(this,_0x42e5ac(0x373),new _0x221b68()),(this[_0x42e5ac(0x18f)]=_0x147d2,this['_userManagerService']=_0x3c74a2,this['disposeWithMe'](_0xd1cd7d(this[_0x42e5ac(0x18f)]['getTypeOfUnitDisposed$'](_0x1105ca[_0x42e5ac(0x8e)])[_0x42e5ac(0x1a8)](_0x1033eb(_0x58de6d=>_0x58de6d[_0x42e5ac(0x1e8)]())),this[_0x42e5ac(0x18f)][_0x42e5ac(0x150)](_0x1105ca[_0x42e5ac(0x20f)])['pipe'](_0x1033eb(_0x4b8535=>_0x4b8535[_0x42e5ac(0x1e8)]())),this[_0x42e5ac(0x18f)][_0x42e5ac(0x150)](_0x1105ca[_0x42e5ac(0x355)])[_0x42e5ac(0x1a8)](_0x1033eb(_0x8f003d=>_0x8f003d[_0x42e5ac(0x1e8)]())))[_0x42e5ac(0x136)](_0x206bd0=>this[_0x42e5ac(0x1de)](_0x206bd0))));}[_0x409aab(0x2b5)](_0x3e1255){var _0x126d2b=_0x409aab;return this['_roomMembers'][_0x126d2b(0x214)](_0x3e1255)?_0xb5d9ed(this[_0x126d2b(0x33f)]['get'](_0x3e1255)):this[_0x126d2b(0x373)]['pipe'](_0x1033eb(_0x569407=>{var _0x125af7=_0x126d2b;if(_0x569407===_0x3e1255)return this[_0x125af7(0x33f)][_0x125af7(0x24c)](_0x569407);}));}['setCurrentUser'](_0x3b9b7e){var _0x1a8890=_0x409aab;this[_0x1a8890(0x1d1)][_0x1a8890(0x16e)](_0x3b9b7e);}[_0x409aab(0x2a3)](){var _0x4f43d6=_0x409aab;return this[_0x4f43d6(0x1d1)][_0x4f43d6(0x2a3)]();}[_0x409aab(0x1b1)](_0x3c4562,_0x285b0a){var _0x58ed17=_0x409aab;let _0x547a1e=this['_roomMembers'][_0x58ed17(0x24c)](_0x3c4562);_0x547a1e||(_0x547a1e=new qn(),this[_0x58ed17(0x33f)][_0x58ed17(0x2a2)](_0x3c4562,_0x547a1e),this[_0x58ed17(0x373)]['next'](_0x3c4562)),_0x547a1e[_0x58ed17(0x1b1)](_0x285b0a);}['removeMember'](_0x3b0c75,_0x2d00f1){var _0xe21b3b=_0x409aab;const _0x4a5d8e=this['_roomMembers'][_0xe21b3b(0x24c)](_0x3b0c75);_0x4a5d8e&&_0x4a5d8e['removeMember'](_0x2d00f1);}[_0x409aab(0xa9)](_0x338063){var _0x462cdc=_0x409aab;return this[_0x462cdc(0x33f)][_0x462cdc(0x24c)](_0x338063);}[_0x409aab(0x2b8)](_0x719be1,_0x342910){var _0x181fd9=_0x409aab;const _0x25ee34=this[_0x181fd9(0x33f)][_0x181fd9(0x24c)](_0x719be1);if(_0x25ee34)return _0x25ee34['getMember'](_0x342910);}['_removeRoom'](_0x4f5743){var _0x3a2ca9=_0x409aab;const _0x21e373=this['_roomMembers']['get'](_0x4f5743);_0x21e373&&(_0x21e373[_0x3a2ca9(0x346)](),this[_0x3a2ca9(0x33f)]['delete'](_0x4f5743));}[_0x409aab(0x346)](){var _0xf29b59=_0x409aab;this[_0xf29b59(0x33f)]['forEach'](_0x569a1f=>_0x569a1f[_0xf29b59(0x346)]()),this[_0xf29b59(0x33f)][_0xf29b59(0x208)](),this[_0xf29b59(0x373)][_0xf29b59(0x37a)]();}};xe=Yn([Kt(0x0,_0x5b9095),Kt(0x1,_0x301a99(_0x60bf25))],xe);class qn extends _0x237ec8{constructor(){var _0x4df5b2=_0x409aab;super(...arguments),N(this,_0x4df5b2(0x209),new Map()),N(this,_0x4df5b2(0x1d3),new _0x4d6645(this[_0x4df5b2(0x209)])),N(this,_0x4df5b2(0x1e9),this[_0x4df5b2(0x1d3)][_0x4df5b2(0x1cd)]());}[_0x409aab(0x346)](){var _0x5a5c90=_0x409aab;this[_0x5a5c90(0x209)][_0x5a5c90(0x208)]();}['updateMember'](_0x3dae2a){var _0x5c2c33=_0x409aab;this['_members'][_0x5c2c33(0x2a2)](_0x3dae2a[_0x5c2c33(0x331)],_0x3dae2a),this[_0x5c2c33(0x259)]();}[_0x409aab(0x143)](_0x52bf9c){var _0x1a791d=_0x409aab;this[_0x1a791d(0x209)][_0x1a791d(0x292)](_0x52bf9c);}[_0x409aab(0x2b8)](_0x273b08){var _0x3d0a9b=_0x409aab;return this[_0x3d0a9b(0x209)]['get'](_0x273b08);}[_0x409aab(0x120)](){var _0x53bd1d=_0x409aab;return Array[_0x53bd1d(0x2e5)](this['_members'][_0x53bd1d(0x1f1)]());}['_emitMembers'](){var _0x1cc4ba=_0x409aab;this[_0x1cc4ba(0x1d3)]['next'](this[_0x1cc4ba(0x209)]);}}var zn=Object[_0x409aab(0x1b3)],Jn=Object[_0x409aab(0x308)],Xn=(_0x5e4dc9,_0x1eb770,_0xc62aba,_0x254da2)=>{var _0x1ea10a=_0x409aab;for(var _0x3fb253=_0x254da2>0x1?void 0x0:_0x254da2?Jn(_0x1eb770,_0xc62aba):_0x1eb770,_0x5c2bfe=_0x5e4dc9[_0x1ea10a(0xb8)]-0x1,_0x13a1e0;_0x5c2bfe>=0x0;_0x5c2bfe--)(_0x13a1e0=_0x5e4dc9[_0x5c2bfe])&&(_0x3fb253=(_0x254da2?_0x13a1e0(_0x1eb770,_0xc62aba,_0x3fb253):_0x13a1e0(_0x3fb253))||_0x3fb253);return _0x254da2&&_0x3fb253&&zn(_0x1eb770,_0xc62aba,_0x3fb253),_0x3fb253;},me=(_0xf4fea4,_0x42dac5)=>(_0xc91aca,_0x4649ac)=>_0x42dac5(_0xc91aca,_0x4649ac,_0xf4fea4),Te=(_0x41565a=>(_0x41565a[_0x41565a[_0x409aab(0x27c)]=0x0]='IDLE',_0x41565a[_0x41565a[_0x409aab(0x14a)]=0x1]=_0x409aab(0x14a),_0x41565a[_0x41565a[_0x409aab(0x368)]=0x2]=_0x409aab(0x368),_0x41565a[_0x41565a[_0x409aab(0x29d)]=0x3]=_0x409aab(0x29d),_0x41565a))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x409aab(0xe8)]]:_0x409aab(0x32d),[Ee[_0x409aab(0x33b)]]:'session.room-not-exists',[Ee[_0x409aab(0x2b4)]]:_0x409aab(0x31a),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x409aab(0x27a)};let It=class extends _0x5432f0{constructor(_0x42f564,_0x112dec,_0xbcae65,_0x82a3de,_0x378491,_0xb231f1,_0x2d94cf,_0x1f56dd,_0x4a6fc3){var _0x141af5=_0x409aab;super(),N(this,_0x141af5(0x2e1),new _0x4d6645(0x0)),N(this,'sessionStatus$',this[_0x141af5(0x2e1)][_0x141af5(0x1cd)]()),N(this,_0x141af5(0x2fb),new _0x221b68()),N(this,_0x141af5(0x30b),this[_0x141af5(0x2fb)][_0x141af5(0x1cd)]()),N(this,_0x141af5(0x1c6)),N(this,_0x141af5(0x1bd)),N(this,_0x141af5(0x2bc)),N(this,_0x141af5(0x1f4),!0x1),N(this,_0x141af5(0x31d),null),(this[_0x141af5(0x335)]=_0x42f564,this['_logService']=_0xbcae65,this['_configService']=_0x82a3de,this['_localeService']=_0x378491,this[_0x141af5(0x1e2)]=_0xb231f1,this['_commentService']=_0x2d94cf,this['_collaborationUIEventService']=_0x1f56dd,this['_telemetryService']=_0x4a6fc3,this[_0x141af5(0x1f4)]=!!this['_telemetryService'],_0x112dec[_0x141af5(0x1a8)](_0x42b577(this['dispose$']))[_0x141af5(0x136)](_0x2aee01=>{var _0x2c66a5=_0x141af5,_0x2f595c;typeof _0x2aee01>'u'||(this[_0x2c66a5(0x1c6)]=_0x2aee01,_0x2aee01?(this[_0x2c66a5(0x2bf)](_0x2aee01),this['_socketMessageSubscription']=_0x2aee01[_0x2c66a5(0x12d)]['subscribe'](_0x2145d9=>{var _0x2bb95d=_0x2c66a5;_0x2145d9[_0x2bb95d(0x235)]===this[_0x2bb95d(0x335)]&&this[_0x2bb95d(0x94)](_0x2145d9);})):(this[_0x2c66a5(0x263)](),this[_0x2c66a5(0x2e1)]['next'](0x2),(_0x2f595c=this[_0x2c66a5(0x1bd)])==null||_0x2f595c['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x409aab(0x18e)](){var _0x52b37a=_0x409aab;return this['_sessionStatus$'][_0x52b37a(0x8b)]();}[_0x409aab(0x222)](){var _0x447ee7=_0x409aab,_0x62e9d1,_0x19bfc1;return(_0x19bfc1=(_0x62e9d1=this[_0x447ee7(0x1c6)])==null?void 0x0:_0x62e9d1[_0x447ee7(0x331)])!=null?_0x19bfc1:null;}['dispose'](){var _0x5bc8ee=_0x409aab;super[_0x5bc8ee(0x346)](),this['dispose$'][_0x5bc8ee(0x10a)](),this['dispose$'][_0x5bc8ee(0x37a)]();}[_0x409aab(0xf7)](){var _0x2f4fce=_0x409aab,_0x32629e,_0x52d92a;this[_0x2f4fce(0x263)](),(_0x32629e=this[_0x2f4fce(0x1c6)])==null||_0x32629e['send']({'cmd':F[_0x2f4fce(0x182)],'data':{'roomID':this[_0x2f4fce(0x335)]}}),(_0x52d92a=this['_socket'])==null||_0x52d92a[_0x2f4fce(0xf7)](),this[_0x2f4fce(0x2fb)]['complete'](),this['_sessionStatus$'][_0x2f4fce(0x37a)](),this[_0x2f4fce(0x346)]();}[_0x409aab(0x94)](_0x2b014b){var _0x173d6f=_0x409aab;_0x2b014b[_0x173d6f(0xb3)]===F['JOIN']?this[_0x173d6f(0x1f0)](_0x2b014b):_0x2b014b[_0x173d6f(0xb3)]===F[_0x173d6f(0x264)]&&this[_0x173d6f(0x375)](_0x2b014b);}[_0x409aab(0x2bf)](_0x12e84f){var _0x35bfdd=_0x409aab;this[_0x35bfdd(0x2e1)][_0x35bfdd(0x10a)](0x1),_0x12e84f[_0x35bfdd(0x2cc)]({'cmd':F[_0x35bfdd(0x212)],'routeKey':this[_0x35bfdd(0x335)],'routeType':'','data':{'rooms':[{'roomID':this[_0x35bfdd(0x335)]}]}});}[_0x409aab(0x1f0)](_0x5346bf){var _0x29bf60=_0x409aab,_0x2021ab;if(_0x5346bf[_0x29bf60(0x2cd)]in Yt){this[_0x29bf60(0x2d8)][_0x29bf60(0x207)]({'id':se[_0x29bf60(0x91)],'data':Yt[_0x5346bf[_0x29bf60(0x2cd)]]}),this[_0x29bf60(0x2e1)]['next'](0x2);return;}this[_0x29bf60(0x2e1)]['next'](0x3);const _0xc9045=(_0x2021ab=_0x5346bf[_0x29bf60(0x2bd)][_0x29bf60(0xf5)][this['_unitID']])==null?void 0x0:_0x2021ab[_0x29bf60(0x323)];_0xc9045&&_0xc9045['forEach'](_0x3a92d4=>this['_memberService'][_0x29bf60(0x1b1)](this['_unitID'],_0x3a92d4));}[_0x409aab(0x375)](_0x354fed){var _0x41ef2c=_0x409aab;try{const _0x597655=_0x354fed[_0x41ef2c(0x2bd)];switch(_0x597655[_0x41ef2c(0xe0)]){case _0x4dbda1[_0x41ef2c(0x1e7)]:this['_onUserJoin'](_0x597655),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1['USERS_LEAVE']:this[_0x41ef2c(0xe6)](_0x597655),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1[_0x41ef2c(0xb4)]:case _0x4dbda1[_0x41ef2c(0x311)]:this[_0x41ef2c(0x23e)](),this[_0x41ef2c(0x1a9)](),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1[_0x41ef2c(0x2a0)]:this[_0x41ef2c(0x21d)][_0x41ef2c(0x36f)](_0x41ef2c(0x191)+JSON[_0x41ef2c(0xfc)](_0x597655)),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1['COMMENT_UPDATE']:this[_0x41ef2c(0x21e)][_0x41ef2c(0x14b)](_0x597655[_0x41ef2c(0x2bd)]),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;default:this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);}}catch(_0x926620){this['_logService'][_0x41ef2c(0x36f)](_0x926620,_0x354fed);}}['_onUserJoin'](_0x2570b2){var _0x525461=_0x409aab;this[_0x525461(0x1e2)]['updateMember'](this[_0x525461(0x335)],_0x2570b2[_0x525461(0x2bd)]);}[_0x409aab(0xe6)](_0x5137dc){var _0x55872f=_0x409aab;this['_memberService'][_0x55872f(0x143)](this['_unitID'],_0x5137dc[_0x55872f(0x2bd)][_0x55872f(0x331)]);}async[_0x409aab(0x2cc)](_0x38ff5c,_0x28648b){var _0x335db3=_0x409aab;if(this[_0x335db3(0x18e)]!==0x3||!this[_0x335db3(0x1c6)])throw new Error(_0x335db3(0x145));try{_0x38ff5c[_0x335db3(0xe0)]===_0x4dbda1[_0x335db3(0x9a)]&&(this[_0x335db3(0x364)](),this[_0x335db3(0x184)](_0x38ff5c)),this['_socket'][_0x335db3(0x2cc)]({'cmd':F[_0x335db3(0x17c)],'routeKey':_0x28648b,'routeType':'','data':_0x38ff5c});}catch(_0x4366bb){this['_logService']['error'](_0x4366bb);}}[_0x409aab(0x364)](){var _0xab3197=_0x409aab,_0x5ed36a;this[_0xab3197(0x2bc)]=setTimeout(()=>{var _0x58390b=_0xab3197;this[_0x58390b(0x2bc)]=null,this[_0x58390b(0x2d8)][_0x58390b(0x207)]({'id':se[_0x58390b(0x34d)]});},(_0x5ed36a=this[_0xab3197(0xd2)][_0xab3197(0x294)](Si))!=null?_0x5ed36a:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x45e2fd=_0x409aab;this[_0x45e2fd(0x2bc)]&&(clearTimeout(this[_0x45e2fd(0x2bc)]),this['_collaborationTimeoutTimer']=null);}[_0x409aab(0x184)](_0x47e571){var _0x2fc430=_0x409aab;if(!this[_0x2fc430(0x1f4)])return;const {data:_0x38dab2}=_0x47e571,{unitID:_0x2694ad,changeset:_0x14af18}=_0x38dab2,{mutations:_0xffea9b,type:_0x27305b}=_0x14af18;this[_0x2fc430(0x31d)]={'unitId':_0x2694ad,'type':_0x27305b,'startTime':performance[_0x2fc430(0x1c9)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0xffea9b)};}[_0x409aab(0x23e)](){var _0x416870=_0x409aab;if(this['_shouldReportTelemetry']){if(!this[_0x416870(0x31d)]){this['_logService'][_0x416870(0x36f)]('[CollaborationSession]',_0x416870(0x26d));return;}this[_0x416870(0x31d)][_0x416870(0x2d0)]=performance[_0x416870(0x1c9)](),this[_0x416870(0x31d)][_0x416870(0x297)]=this[_0x416870(0x31d)][_0x416870(0x2d0)]-this['_telemetryInfo'][_0x416870(0xbc)],this[_0x416870(0x36a)][_0x416870(0x1d4)](Vn,this['_telemetryInfo']),this[_0x416870(0x31d)]=null;}}[_0x409aab(0x263)](){var _0x1678ce=_0x409aab;this[_0x1678ce(0x31d)]=null;}};It=Xn([me(0x2,_0x51fdc8),me(0x3,_0x424efc),me(0x4,_0x301a99(_0x226151)),me(0x5,_0x301a99(xe)),me(0x6,_0x301a99(Ri)),me(0x7,_0x301a99(pe)),me(0x8,_0x59bb9f(_0x1c6a20))],It);var Zn=Object[_0x409aab(0x1b3)],Qn=Object[_0x409aab(0x308)],er=(_0x155462,_0x172302,_0x1bdace,_0x4c9e20)=>{for(var _0x4739bc=_0x4c9e20>0x1?void 0x0:_0x4c9e20?Qn(_0x172302,_0x1bdace):_0x172302,_0x35a873=_0x155462['length']-0x1,_0x178321;_0x35a873>=0x0;_0x35a873--)(_0x178321=_0x155462[_0x35a873])&&(_0x4739bc=(_0x4c9e20?_0x178321(_0x172302,_0x1bdace,_0x4739bc):_0x178321(_0x4739bc))||_0x4739bc);return _0x4c9e20&&_0x4739bc&&Zn(_0x172302,_0x1bdace,_0x4739bc),_0x4739bc;},ge=(_0x362ae6,_0x2a153a)=>(_0x3be44d,_0x27cebb)=>_0x2a153a(_0x3be44d,_0x27cebb,_0x362ae6);let Le=class extends _0x237ec8{constructor(_0x3ef42b,_0x4ca008,_0x559a38,_0xcff68a,_0x250a99,_0x3d5633,_0x565202){var _0x32f134=_0x409aab;super(),N(this,_0x32f134(0xd6),new _0x4d6645(void 0x0)),N(this,_0x32f134(0x242),this[_0x32f134(0xd6)][_0x32f134(0x1cd)]()),N(this,_0x32f134(0x2b2),null),N(this,_0x32f134(0x216),new Map()),N(this,_0x32f134(0x2c2),new _0x4d6645(Te[_0x32f134(0x27c)])),N(this,_0x32f134(0x304),this[_0x32f134(0x2c2)][_0x32f134(0x1cd)]()),N(this,_0x32f134(0x381),!0x1),N(this,_0x32f134(0x1a7)),N(this,_0x32f134(0x34b),0x0),N(this,_0x32f134(0x122)),N(this,'_timeoutTimer'),(this[_0x32f134(0x8c)]=_0x3ef42b,this[_0x32f134(0x21d)]=_0x4ca008,this[_0x32f134(0xd2)]=_0x559a38,this[_0x32f134(0xe4)]=_0xcff68a,this['_httpService']=_0x250a99,this[_0x32f134(0x2d8)]=_0x3d5633,this['_networkConditionService']=_0x565202,this['_listenToNetworkCondition']());}get[_0x409aab(0x1c6)](){var _0x250785=_0x409aab;return this[_0x250785(0xd6)][_0x250785(0x8b)]();}['_listenToNetworkCondition'](){var _0x4b8d09=_0x409aab;this['_networkConditionService']&&this[_0x4b8d09(0xc4)](this[_0x4b8d09(0x26e)][_0x4b8d09(0x139)][_0x4b8d09(0x136)](_0x257bcc=>{var _0x4d32b5=_0x4b8d09;_0x257bcc&&!this['_socket']&&this[_0x4d32b5(0x162)](),_0x257bcc||this[_0x4d32b5(0x2a7)]();}));}['dispose'](){var _0x226eed=_0x409aab;super[_0x226eed(0x346)](),this[_0x226eed(0x216)][_0x226eed(0x1df)](_0x2700b8=>_0x2700b8[_0x226eed(0x346)]()),this['_sessions'][_0x226eed(0x208)](),this[_0x226eed(0x2c2)][_0x226eed(0x37a)]();}async['requireSession'](_0x2f26e9){var _0x2a380c=_0x409aab;if(this[_0x2a380c(0x216)][_0x2a380c(0x214)](_0x2f26e9))return this[_0x2a380c(0x216)][_0x2a380c(0x24c)](_0x2f26e9);this[_0x2a380c(0x1dc)]();const _0x26412c=this[_0x2a380c(0x8c)][_0x2a380c(0x12b)](It,_0x2f26e9,this['_socket$']['asObservable']());return this[_0x2a380c(0x216)][_0x2a380c(0x2a2)](_0x2f26e9,_0x26412c),_0x26412c;}['closeSession'](_0x197d0b){var _0x49aa5d=_0x409aab,_0x1a08ab;const _0x3055cb=this[_0x49aa5d(0x216)][_0x49aa5d(0x24c)](_0x197d0b);_0x3055cb&&(this[_0x49aa5d(0x216)]['delete'](_0x197d0b),_0x3055cb[_0x49aa5d(0xf7)]()),this[_0x49aa5d(0x216)]['size']||(_0x1a08ab=this[_0x49aa5d(0x1c6)])==null||_0x1a08ab[_0x49aa5d(0xf7)]();}[_0x409aab(0x162)](){var _0xafc0f5=_0x409aab;this[_0xafc0f5(0x34b)]=0x0,this[_0xafc0f5(0x1a7)]!=null&&(clearTimeout(this[_0xafc0f5(0x1a7)]),this[_0xafc0f5(0x1a7)]=null),this[_0xafc0f5(0x2b0)]();}async['_getSessionTicket'](){var _0x5e3785=_0x409aab,_0x55852a,_0x324430,_0x36a2bd;const _0x3331bf=this[_0x5e3785(0xd2)][_0x5e3785(0x294)](q),_0x2afe94=(_0x55852a=_0x3331bf==null?void 0x0:_0x3331bf[_0x5e3785(0xc5)])!=null?_0x55852a:On;return(_0x36a2bd=(_0x324430=(await this[_0x5e3785(0x327)]['get'](_0x2afe94,{'headers':{'Content-Type':'application/json'}}))[_0x5e3785(0x204)])==null?void 0x0:_0x324430[_0x5e3785(0x173)])!=null?_0x36a2bd:'';}[_0x409aab(0x110)](_0xe83e46){var _0x17a58c=_0x409aab,_0x17a239,_0x354fdc;const _0x154eb5=this[_0x17a58c(0xd2)][_0x17a58c(0x294)](Rn),_0x39e999=this[_0x17a58c(0xd2)][_0x17a58c(0x294)](q),_0x1b4bbf=(_0x354fdc=(_0x17a239=_0x39e999==null?void 0x0:_0x39e999['collabWebSocketUrl'])!=null?_0x17a239:_0x154eb5)!=null?_0x354fdc:bn,_0xdf51c5=typeof window>'u'?new URL(_0x1b4bbf):new URL(_0x1b4bbf,window[_0x17a58c(0x116)][_0x17a58c(0x32b)]);_0xdf51c5[_0x17a58c(0x192)][_0x17a58c(0x2a2)]('sessionTicket',_0xe83e46);const _0x401851=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x17a58c(0x116)][_0x17a58c(0xb6)]);return _0x401851[_0x17a58c(0x24c)](_0x17a58c(0x342))&&_0xdf51c5['searchParams'][_0x17a58c(0x2a2)]('runId',_0x401851[_0x17a58c(0x24c)](_0x17a58c(0x342))),_0xdf51c5[_0x17a58c(0x238)]();}async['_createSocket'](){var _0x48a692=_0x409aab;const _0xf712d5=await this[_0x48a692(0x2b1)](),_0xb44acd=this['_createSocketURL'](_0xf712d5),_0x17942a=this[_0x48a692(0xe4)]['createSocket'](_0xb44acd);return this['_candidateSocket']=_0x17942a,_0x17942a;}async[_0x409aab(0x1dc)](){var _0x1882e3=_0x409aab,_0x40fc73,_0x29ec09;try{const _0x27df41=(_0x29ec09=(_0x40fc73=this['_socket'])!=null?_0x40fc73:this[_0x1882e3(0x2b2)])!=null?_0x29ec09:await this[_0x1882e3(0x237)]();if(_0x27df41){const _0x46c60b=_0x27df41[_0x1882e3(0x2cc)];_0x27df41[_0x1882e3(0x2cc)]=_0x16f034=>(this[_0x1882e3(0x133)](),_0x46c60b[_0x1882e3(0xb9)](_0x27df41,[_0x16f034])),_0x27df41[_0x1882e3(0x12d)][_0x1882e3(0x136)](_0x94a823=>this['_onMessage'](_0x27df41,_0x94a823)),_0x27df41[_0x1882e3(0x2d7)][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](_0x19ab8d=>this[_0x1882e3(0x21d)]['error'](_0x1882e3(0x332),_0x19ab8d)),_0x27df41[_0x1882e3(0x10b)][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](()=>{var _0x55d2e5=_0x1882e3;this[_0x55d2e5(0x2da)](_0x27df41);}),_0x27df41['close$'][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](_0x71f173=>{var _0x54adb9=_0x1882e3;this[_0x54adb9(0x21d)][_0x54adb9(0x11a)](_0x54adb9(0x2ac),_0x54adb9(0x1e4),_0x71f173),this[_0x54adb9(0x33a)]();});}}catch(_0x3585fd){this[_0x1882e3(0x21d)][_0x1882e3(0x36f)](_0x3585fd),this[_0x1882e3(0x33a)]();}}[_0x409aab(0x2da)](_0x1a4099){var _0x26f76d=_0x409aab;this[_0x26f76d(0x21d)][_0x26f76d(0x11a)](_0x26f76d(0x2ac),'socket\x20open.'),_0x1a4099[_0x26f76d(0x2cc)]({'cmd':F[_0x26f76d(0x1ba)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x44128c=_0x409aab;this[_0x44128c(0x381)]=!0x1,this[_0x44128c(0x2b2)]=null,this[_0x44128c(0x2c2)][_0x44128c(0x10a)](Te[_0x44128c(0x368)]),this[_0x44128c(0xd6)][_0x44128c(0x10a)](null),this[_0x44128c(0xe3)](),this['_clearHeartbeatTimer']();}[_0x409aab(0x33a)](){var _0x1ef002=_0x409aab,_0x28ca9c;this['_onOffline'](),this[_0x1ef002(0x34b)]<((_0x28ca9c=this[_0x1ef002(0xd2)][_0x1ef002(0x294)](Pn))!=null?_0x28ca9c:wn)?(this[_0x1ef002(0x2d8)][_0x1ef002(0x207)]({'id':se[_0x1ef002(0xfb)]}),this[_0x1ef002(0x2b0)]()):this[_0x1ef002(0x2d8)][_0x1ef002(0x207)]({'id':se['SOCKET_FAILED']});}[_0x409aab(0x2b0)](){var _0x4f339d=_0x409aab,_0x5446e1;const _0x4dbb37=this[_0x4f339d(0x34b)],_0x283ce6=this[_0x4f339d(0xd2)][_0x4f339d(0x294)](q),_0x2554e8=_0x4dbb37===0x0?0x0:((_0x5446e1=_0x283ce6==null?void 0x0:_0x283ce6['retryConnectingInterval'])!=null?_0x5446e1:Dn)*0x2**_0x4dbb37;this[_0x4f339d(0x1a7)]=setTimeout(()=>{var _0x1b9394=_0x4f339d;clearTimeout(this[_0x1b9394(0x1a7)]),this[_0x1b9394(0x1a7)]=null,this[_0x1b9394(0x1dc)]();},_0x2554e8),this[_0x4f339d(0x34b)]+=0x1;}['_onMessage'](_0x25708e,_0x48ce9e){var _0x26f98a=_0x409aab;const {cmd:_0x4bd6d2}=_0x48ce9e;_0x4bd6d2===F[_0x26f98a(0x1ba)]&&!this[_0x26f98a(0x381)]&&(_0x25708e[_0x26f98a(0x331)]=_0x48ce9e[_0x26f98a(0x2bd)]['memberID'],this[_0x26f98a(0xd6)][_0x26f98a(0x10a)](_0x25708e),this[_0x26f98a(0x2c2)][_0x26f98a(0x10a)](Te[_0x26f98a(0x29d)]),this[_0x26f98a(0x381)]=!0x0,this[_0x26f98a(0x2b2)]=null),_0x4bd6d2===F[_0x26f98a(0x19d)]&&this[_0x26f98a(0xe3)](),this[_0x26f98a(0x133)]();}[_0x409aab(0x133)](){var _0x1715f1=_0x409aab,_0x532f5e;this['_clearHeartbeatTimer'](),this[_0x1715f1(0x122)]=setTimeout(()=>this[_0x1715f1(0x1c0)](),(_0x532f5e=this[_0x1715f1(0xd2)][_0x1715f1(0x294)](yn))!=null?_0x532f5e:Nn);}['_sendHeartbeat'](){var _0x22ccb9=_0x409aab;this[_0x22ccb9(0x1c6)][_0x22ccb9(0x2cc)]({'cmd':F['HEARTBEAT']}),this[_0x22ccb9(0xfd)]();}[_0x409aab(0xfd)](){var _0x5860f5=_0x409aab,_0x626bcf;this[_0x5860f5(0x2c5)]=setTimeout(()=>this[_0x5860f5(0x33a)](),(_0x626bcf=this[_0x5860f5(0xd2)]['getConfig'](Si))!=null?_0x626bcf:Ei);}[_0x409aab(0xb7)](){var _0x57cc2b=_0x409aab;this[_0x57cc2b(0x122)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x57cc2b(0x122)]=null);}['_clearTimeoutTimer'](){var _0x370aef=_0x409aab;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x370aef(0x2c5)]),this[_0x370aef(0x2c5)]=null);}};Le=er([ge(0x0,_0x301a99(_0x2b67f5)),ge(0x1,_0x51fdc8),ge(0x2,_0x424efc),ge(0x3,Ci),ge(0x4,_0x301a99(_0x160d38)),ge(0x5,_0x301a99(pe)),ge(0x6,_0x59bb9f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x409aab(0x8f)]((n+0x100)[_0x409aab(0x238)](0x10)[_0x409aab(0xe5)](0x1));function tr(_0xc20e0e,_0x5f0508=0x0){var _0x36e6ee=_0x409aab;return(V[_0xc20e0e[_0x5f0508+0x0]]+V[_0xc20e0e[_0x5f0508+0x1]]+V[_0xc20e0e[_0x5f0508+0x2]]+V[_0xc20e0e[_0x5f0508+0x3]]+'-'+V[_0xc20e0e[_0x5f0508+0x4]]+V[_0xc20e0e[_0x5f0508+0x5]]+'-'+V[_0xc20e0e[_0x5f0508+0x6]]+V[_0xc20e0e[_0x5f0508+0x7]]+'-'+V[_0xc20e0e[_0x5f0508+0x8]]+V[_0xc20e0e[_0x5f0508+0x9]]+'-'+V[_0xc20e0e[_0x5f0508+0xa]]+V[_0xc20e0e[_0x5f0508+0xb]]+V[_0xc20e0e[_0x5f0508+0xc]]+V[_0xc20e0e[_0x5f0508+0xd]]+V[_0xc20e0e[_0x5f0508+0xe]]+V[_0xc20e0e[_0x5f0508+0xf]])[_0x36e6ee(0x8a)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x110ce7=_0x409aab;if(!ut){if(typeof crypto>'u'||!crypto[_0x110ce7(0x1d0)])throw new Error(_0x110ce7(0x325));ut=crypto[_0x110ce7(0x1d0)][_0x110ce7(0x2f3)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x409aab(0x315)][_0x409aab(0x2f3)](crypto),qt={'randomUUID':rr};function sr(_0x44426b,_0x4b77c3,_0x388f70){var _0x2bbcb7=_0x409aab,_0x1d84f1,_0x4582d5,_0x2e9023;if(qt[_0x2bbcb7(0x315)]&&!_0x44426b)return qt[_0x2bbcb7(0x315)]();_0x44426b=_0x44426b||{};const _0x3108e2=(_0x2e9023=(_0x4582d5=_0x44426b['random'])!=null?_0x4582d5:(_0x1d84f1=_0x44426b['rng'])==null?void 0x0:_0x1d84f1[_0x2bbcb7(0x103)](_0x44426b))!=null?_0x2e9023:nr();if(_0x3108e2['length']<0x10)throw new Error(_0x2bbcb7(0x111));return _0x3108e2[0x6]=_0x3108e2[0x6]&0xf|0x40,_0x3108e2[0x8]=_0x3108e2[0x8]&0x3f|0x80,tr(_0x3108e2);}const J=_0x28cd97(_0x409aab(0x2d2));function so(_0x4da929){var _0x13afde=_0x409aab;return _0x13afde(0x34a)+_0x4da929;}var or=Object[_0x409aab(0x1b3)],ar=Object['getOwnPropertyDescriptor'],cr=(_0xd50db8,_0x24e6d4,_0x39f365,_0x1f6b6d)=>{var _0x2dc2e9=_0x409aab;for(var _0x2972a0=_0x1f6b6d>0x1?void 0x0:_0x1f6b6d?ar(_0x24e6d4,_0x39f365):_0x24e6d4,_0x1d7274=_0xd50db8[_0x2dc2e9(0xb8)]-0x1,_0x3039f5;_0x1d7274>=0x0;_0x1d7274--)(_0x3039f5=_0xd50db8[_0x1d7274])&&(_0x2972a0=(_0x1f6b6d?_0x3039f5(_0x24e6d4,_0x39f365,_0x2972a0):_0x3039f5(_0x2972a0))||_0x2972a0);return _0x1f6b6d&&_0x2972a0&&or(_0x24e6d4,_0x39f365,_0x2972a0),_0x2972a0;},dt=(_0x17c48b,_0x504a55)=>(_0x53659f,_0x3dd215)=>_0x504a55(_0x53659f,_0x3dd215,_0x17c48b);function hr(_0x2ed06e){var _0x28beb6=_0x409aab;const {unitID:_0x556645,mutations:_0x348538}=_0x2ed06e;return{'unitId':_0x556645,'subUnitId':_0x348538[0x0][_0x28beb6(0x131)][_0x28beb6(0x10c)]};}let it=class{constructor(_0xf10ad,_0x2177c2,_0x9cb245){var _0x23459e=_0x409aab;this[_0x23459e(0x8c)]=_0xf10ad,this['_transformService']=_0x2177c2,this['_instanceService']=_0x9cb245;}[_0x409aab(0x302)](_0xe161ab){var _0x1da8ca=_0x409aab,_0x476ebb,_0x176e2b,_0xe11a96,_0x31bd79;const _0x4fb2c6=this['_injector']['get'](_0x3f9f4a),{unitId:_0x2e43fa,subUnitId:_0x3802f2}=hr(_0xe161ab),_0x1ea682=_0x4fb2c6==null?void 0x0:_0x4fb2c6[_0x1da8ca(0x2dc)](_0x2e43fa)['getCurrentSelections'](),_0x162c63=(_0x176e2b=(_0x476ebb=this[_0x1da8ca(0x9f)]['getUnit'](_0x2e43fa))==null?void 0x0:_0x476ebb[_0x1da8ca(0x175)]())==null?void 0x0:_0x176e2b[_0x1da8ca(0x271)]();if(_0x1ea682[_0x1da8ca(0xb8)]===0x0||!_0x2e43fa||!_0x3802f2)return;const _0xfa7b63=[{'id':_0x30be4e['id'],'params':{'unitId':_0x2e43fa,'subUnitId':_0x162c63,'selections':_0x4cedbb[_0x1da8ca(0x2b3)](_0x1ea682)}}],_0x310a20=this[_0x1da8ca(0x213)][_0x1da8ca(0x16a)](_0xe161ab,_0xfa7b63);if(!_0x3b7428(_0x310a20))throw _0x310a20[_0x1da8ca(0x36f)];const _0xd27bc5=(_0x31bd79=(_0xe11a96=_0x310a20[_0x1da8ca(0x371)][0x0])==null?void 0x0:_0xe11a96[_0x1da8ca(0x131)])==null?void 0x0:_0x31bd79[_0x1da8ca(0xc3)];if(Array[_0x1da8ca(0x22d)](_0xd27bc5)&&_0xd27bc5['length']){if(_0xd27bc5[_0x1da8ca(0xb8)]===_0xfa7b63[0x0][_0x1da8ca(0x131)][_0x1da8ca(0xc3)][_0x1da8ca(0xb8)]&&_0xd27bc5[_0x1da8ca(0x1ca)]((_0x44498b,_0x408e51)=>_0x43756b[_0x1da8ca(0x96)](_0x44498b['range'],_0xfa7b63[0x0][_0x1da8ca(0x131)][_0x1da8ca(0xc3)][_0x408e51][_0x1da8ca(0x107)])))return;this[_0x1da8ca(0x8c)][_0x1da8ca(0x24c)](_0x38398c)[_0x1da8ca(0xa8)](_0x30be4e['id'],{'unitId':_0x2e43fa,'subUnitId':_0x162c63,'selections':_0xd27bc5});}}};it=cr([dt(0x0,_0x301a99(_0x2b67f5)),dt(0x1,_0x21beed),dt(0x2,_0x5b9095)],it);const ht=_0x28cd97(_0x409aab(0xc0));var bi=(_0x55a8cf=>(_0x55a8cf[_0x55a8cf[_0x409aab(0x29e)]=0x0]=_0x409aab(0x29e),_0x55a8cf[_0x55a8cf['OTHER_CLIENTS_EDITING']=0x1]=_0x409aab(0x11e),_0x55a8cf))(bi||{});const _r=new Set([_0x229cee['id']]);function zt(_0x574548,_0x2d726a,_0x207737,_0xe502b5,_0x32f9b9){var _0x1b4e61=_0x409aab,_0xf470ac,_0x49865d,_0x1759db,_0x30c436;const _0x23af52=[];for(const _0x4762df of _0x574548)if(_r[_0x1b4e61(0x214)](_0x4762df['id'])){if(_0x23af52[_0x1b4e61(0xb8)]>0x0)break;_0x23af52[_0x1b4e61(0x8f)](_0x4762df);break;}else _0x23af52['push'](_0x4762df);const _0x357166=(_0x49865d=(_0xf470ac=_0x32f9b9['getCurrentUser']())==null?void 0x0:_0xf470ac[_0x1b4e61(0x23b)])!=null?_0x49865d:_0x1b4e61(0x37d),_0x355afd=(_0x30c436=(_0x1759db=_0x32f9b9[_0x1b4e61(0x2a3)]())==null?void 0x0:_0x1759db[_0x1b4e61(0x331)])!=null?_0x30c436:_0x1b4e61(0x37d);return{'changeset':{'unitID':_0x2d726a,'type':_0x1ef88f(_0x207737['getUnitType'](_0x2d726a)),'baseRev':_0xe502b5[_0x1b4e61(0x205)](_0x2d726a),'revision':0x0,'userID':_0x357166,'memberID':_0x355afd,'mutations':_0x23af52},'pendingMutations':_0x574548['slice'](_0x23af52[_0x1b4e61(0xb8)])};}function lr(_0x1614b8,_0x877c44,_0x35a258,_0x2e6d6c,_0x4558a7){var _0xb3330c=_0x409aab,_0x5f17d2,_0x55b37e,_0x3f73d8,_0x10a728;const _0x37bcae=[_0x1614b8[_0xb3330c(0x2ca)]((_0x3f8e28,_0x32ea1c)=>{var _0x261dfe=_0xb3330c,_0x229048;const {id:_0x29c714}=_0x3f8e28,{id:_0xde30b4,type:_0x4729b7}=_0x32ea1c,_0x321565=(_0x229048=_0x3f8e28[_0x261dfe(0x131)])!=null?_0x229048:{'actions':null},_0x4b1d14=_0x32ea1c['params'];if(_0x29c714&&_0x29c714!==_0xde30b4)throw new Error(_0x261dfe(0x36c)+_0x29c714+_0x261dfe(0x267)+_0xde30b4+'.');return{..._0x3f8e28,'id':_0xde30b4,'type':_0x4729b7,'params':{'unitId':_0x4b1d14[_0x261dfe(0x1d6)],'textRanges':_0x4b1d14[_0x261dfe(0x92)],'actions':_0x4adf09[_0x261dfe(0xca)](_0x321565[_0x261dfe(0x351)],_0x4b1d14[_0x261dfe(0x351)])}};},{})],_0x44544e=(_0x55b37e=(_0x5f17d2=_0x4558a7[_0xb3330c(0x2a3)]())==null?void 0x0:_0x5f17d2[_0xb3330c(0x23b)])!=null?_0x55b37e:_0xb3330c(0x37d),_0x37a0ce=(_0x10a728=(_0x3f73d8=_0x4558a7[_0xb3330c(0x2a3)]())==null?void 0x0:_0x3f73d8['memberID'])!=null?_0x10a728:_0xb3330c(0x37d);return{'changeset':{'unitID':_0x877c44,'type':_0x1ef88f(_0x35a258[_0xb3330c(0x23f)](_0x877c44)),'baseRev':_0x2e6d6c[_0xb3330c(0x205)](_0x877c44),'revision':0x0,'userID':_0x44544e,'memberID':_0x37a0ce,'mutations':_0x37bcae},'pendingMutations':[]};}function _0x5cef(_0x29b16f,_0x293849){var _0x43da33=_0x43da();return _0x5cef=function(_0x5cef70,_0x389d5f){_0x5cef70=_0x5cef70-0x89;var _0x1f5981=_0x43da33[_0x5cef70];return _0x1f5981;},_0x5cef(_0x29b16f,_0x293849);}function Oi(_0x19c6af,_0x4a8cf5){var _0x2ce034=_0x409aab;const _0x188b64=new _0x30bf6e(0x1);return setTimeout(()=>_0x188b64[_0x2ce034(0x10a)](_0x4a8cf5),_0x19c6af),_0x188b64[_0x2ce034(0x1cd)]()[_0x2ce034(0x1a8)](_0x114191(0x1));}const ur={'id':_0x540daa['id'],'type':_0x32bab5[_0x409aab(0xf6)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x409aab(0x308)],Re=(_0x4beca1,_0x45a8b2,_0x4b95bb,_0xc40597)=>{var _0x4c2039=_0x409aab;for(var _0x3d520f=_0xc40597>0x1?void 0x0:_0xc40597?fr(_0x45a8b2,_0x4b95bb):_0x45a8b2,_0x70dd78=_0x4beca1[_0x4c2039(0xb8)]-0x1,_0x3f16d0;_0x70dd78>=0x0;_0x70dd78--)(_0x3f16d0=_0x4beca1[_0x70dd78])&&(_0x3d520f=(_0xc40597?_0x3f16d0(_0x45a8b2,_0x4b95bb,_0x3d520f):_0x3f16d0(_0x3d520f))||_0x3d520f);return _0xc40597&&_0x3d520f&&dr(_0x45a8b2,_0x4b95bb,_0x3d520f),_0x3d520f;},A=(_0xe0ebba,_0x233ca2)=>(_0x12fe2a,_0x5296dc)=>_0x233ca2(_0x12fe2a,_0x5296dc,_0xe0ebba),yi=(_0xe61577=>(_0xe61577[_0x409aab(0xfa)]=_0x409aab(0x34e),_0xe61577[_0x409aab(0x2b9)]=_0x409aab(0x11b),_0xe61577[_0x409aab(0x17e)]='pending',_0xe61577[_0x409aab(0xf8)]='awaiting',_0xe61577['AWAITING_WITH_PENDING']=_0x409aab(0xa4),_0xe61577[_0x409aab(0x2fd)]=_0x409aab(0x15c),_0xe61577[_0x409aab(0x1e1)]='conflict',_0xe61577['OFFLINE']=_0x409aab(0x282),_0xe61577))(yi||{});const Ni=0xea60;class be{constructor(_0x5ae183,_0x3130c4,_0xc13cb5,_0x3ed01a,_0x300142,_0x5c1720,_0x712277,_0x1a6642,_0x4f1579){var _0x532280=_0x409aab;N(this,_0x532280(0x251),null),N(this,_0x532280(0x37f),[]),(this[_0x532280(0x8d)]=_0x5ae183,this['type']=_0x3130c4,this[_0x532280(0x12c)]=_0x300142,this[_0x532280(0x31f)]=_0x5c1720,this[_0x532280(0x108)]=_0x712277,this[_0x532280(0x324)]=_0x1a6642,this['_localCacheService']=_0x4f1579,this['_awaitingChangeset']=_0xc13cb5,this[_0x532280(0x37f)]=_0x3ed01a);}[_0x409aab(0x17a)](_0x332668){var _0x55bce2=_0x409aab;const _0x2f4b82=this[_0x55bce2(0x324)]['getCurrentRevOfUnit'](this[_0x55bce2(0x8d)]);return _0x332668[_0x55bce2(0x256)]>_0x2f4b82+0x1?(this[_0x55bce2(0x12c)][_0x55bce2(0xa1)]({'from':_0x2f4b82,'to':_0x332668['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3c2e18){var _0x120caa=_0x409aab;this[_0x120caa(0x108)][_0x120caa(0x160)](this['unitID'],_0x3c2e18);}[_0x409aab(0x1ac)](_0x2b6786){var _0x5c435f=_0x409aab,_0x299980,_0x4676f2;(_0x4676f2=(_0x299980=this['_handler'])['onTransformSelections'])==null||_0x4676f2[_0x5c435f(0x103)](_0x299980,_0x2b6786);}[_0x409aab(0x37e)](_0x5913b8){var _0x4fc97d=_0x409aab,_0x56ce5c,_0x503d57;return(_0x503d57=(_0x56ce5c=this['_handler'])[_0x4fc97d(0x178)])==null?void 0x0:_0x503d57['call'](_0x56ce5c,_0x5913b8);}[_0x409aab(0x231)](_0x50ede3){var _0x3f09e4=_0x409aab,_0x72f345,_0x19dc93;return(_0x19dc93=(_0x72f345=this[_0x3f09e4(0x12c)])[_0x3f09e4(0x252)])==null?void 0x0:_0x19dc93['call'](_0x72f345,_0x50ede3);}[_0x409aab(0x1d7)](_0x5edb6a){var _0x2213cf=_0x409aab,_0x51acc6,_0x479fed,_0x3d6be2;return(_0x3d6be2=(_0x479fed=(_0x51acc6=this[_0x2213cf(0x12c)])[_0x2213cf(0x35e)])==null?void 0x0:_0x479fed[_0x2213cf(0x103)](_0x51acc6,_0x5edb6a))!=null?_0x3d6be2:_0x5edb6a;}[_0x409aab(0x16c)](_0x3493ea){var _0xc5d74b=_0x409aab,_0x40c12b,_0x474e01,_0x1c3716;return(_0x1c3716=(_0x474e01=(_0x40c12b=this[_0xc5d74b(0x12c)])[_0xc5d74b(0x337)])==null?void 0x0:_0x474e01[_0xc5d74b(0x103)](_0x40c12b,_0x3493ea))!=null?_0x1c3716:_0x3493ea;}['_syncEditingCollabCursor'](_0x53ecfa){var _0x7692a0=_0x409aab,_0x4e5502,_0x4e397c;if(this[_0x7692a0(0x255)]===Q[_0x7692a0(0x20f)]){const {unitID:_0x74c75c,mutations:_0x55ec6c,memberID:_0xe6dcef}=_0x53ecfa,_0x16470a=_0x55ec6c[0x0][_0x7692a0(0x131)][_0x7692a0(0x92)];Array[_0x7692a0(0x22d)](_0x16470a)&&_0x16470a[_0x7692a0(0xb8)]>0x0&&((_0x4e397c=(_0x4e5502=this[_0x7692a0(0x12c)])[_0x7692a0(0x185)])==null||_0x4e397c[_0x7692a0(0x103)](_0x4e5502,{'unitID':_0x74c75c,'memberID':_0xe6dcef,'textRanges':_0x16470a}));}}[_0x409aab(0x241)](){var _0x2fdbfa=_0x409aab,_0x3beb0c;(_0x3beb0c=this[_0x2fdbfa(0x29a)])==null||_0x3beb0c['updateOfflineData'](this[_0x2fdbfa(0x8d)],this[_0x2fdbfa(0x255)],this[_0x2fdbfa(0x251)],this['_pendingMutations']);}[_0x409aab(0x1bf)](){var _0x382d5e=_0x409aab;return this[_0x382d5e(0x324)][_0x382d5e(0x205)](this['unitID']);}['_incrementRevisionNumber'](){var _0x137536=_0x409aab;this[_0x137536(0x324)][_0x137536(0x1aa)](this[_0x137536(0x8d)]);}[_0x409aab(0x89)](_0x5f2529){var _0x231298=_0x409aab,_0x19cc56;let _0x4152da=this[_0x231298(0x1d7)](_0x5f2529);_0x4152da=this['_transformRemoteChangesetByStateCache'](_0x4152da);const _0x1da824=_0x4d0624(_0x4152da[_0x231298(0x1fd)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1da824['result'])throw _0x1da824['error']instanceof Error?_0x1da824['error']:new Error((_0x19cc56=_0x1da824[_0x231298(0x36f)])!=null?_0x19cc56:'[CollaborationState]:\x20apply\x20error!');this[_0x231298(0x37e)](_0x4152da),this[_0x231298(0x231)](_0x4152da),this['_transformUndoredo'](_0x5f2529),this[_0x231298(0x1ac)](_0x4152da),this[_0x231298(0x221)](_0x4152da),this[_0x231298(0x26c)]();}}let De=class extends be{constructor(_0x5c05ca,_0x13549e,_0x31c075,_0x2311fb,_0x1fd6ec,_0x4f80bf,_0x46e59c,_0x2229f7,_0x1f1b3d,_0x2b236a){var _0x22b322=_0x409aab;super(_0x5c05ca,_0x13549e,null,[],_0x31c075,_0x46e59c,_0x4f80bf,_0x2311fb,_0x2b236a),N(this,_0x22b322(0x1a1),'synced'),(this[_0x22b322(0x8c)]=_0x1fd6ec,this[_0x22b322(0x21d)]=_0x2229f7,this[_0x22b322(0x213)]=_0x1f1b3d,this[_0x22b322(0x316)]=_0x2b236a);}['appendMutation'](_0x31a81c){var _0xe6c26d=_0x409aab;const _0x22230a=this['_injector'][_0xe6c26d(0x12b)](oe,this[_0xe6c26d(0x8d)],this[_0xe6c26d(0x255)],[_0x31a81c],this[_0xe6c26d(0x12c)]);return _0x22230a[_0xe6c26d(0x217)](),_0x22230a[_0xe6c26d(0x241)](),_0x22230a;}[_0x409aab(0x15b)](_0x10d57c){var _0x54728f=_0x409aab;if(this[_0x54728f(0x17a)](_0x10d57c))return this[_0x54728f(0x8c)][_0x54728f(0x12b)](te,this['unitID'],this[_0x54728f(0x255)],null,[],null,[_0x10d57c],this[_0x54728f(0x12c)]);try{const _0x1d68b3=this[_0x54728f(0x213)][_0x54728f(0x16a)](_0x10d57c,[ur]);if(_0x3b7428(_0x1d68b3)){const {c1Prime:_0x3ea4cd}=_0x1d68b3;return this[_0x54728f(0x89)](_0x3ea4cd),this;}throw _0x1d68b3['error'];}catch(_0x463090){return this[_0x54728f(0x21d)][_0x54728f(0x36f)](_0x463090),this[_0x54728f(0x113)](!0x1);}}[_0x409aab(0x113)](_0x4d89d3){var _0x3bfa77=_0x409aab;return this[_0x3bfa77(0x8c)][_0x3bfa77(0x12b)](de,this[_0x3bfa77(0x8d)],this['type'],null,[],this[_0x3bfa77(0x12c)],_0x4d89d3);}[_0x409aab(0x262)](){var _0x1f0318=_0x409aab;throw new Error(_0x1f0318(0xaf));}['onRemoteRej'](){var _0x1feabf=_0x409aab;throw new Error(_0x1feabf(0x27b));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x3d1bc4=_0x409aab;return this[_0x3d1bc4(0x8c)][_0x3d1bc4(0x12b)](fe,this['unitID'],this[_0x3d1bc4(0x255)],null,[],this[_0x3d1bc4(0x12c)]);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x303)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x2fe741=_0x409aab;const _0x1c8717=this['_revisionService'][_0x2fe741(0x205)](this[_0x2fe741(0x8d)]);return this[_0x2fe741(0x12c)][_0x2fe741(0xa1)]({'from':_0x1c8717,'to':0x0}),this[_0x2fe741(0x8c)][_0x2fe741(0x12b)](te,this[_0x2fe741(0x8d)],this['type'],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x301a99(_0x5c64fe)),A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x347dd8),A(0x6,_0x38398c),A(0x7,_0x51fdc8),A(0x8,_0x21beed),A(0x9,_0x59bb9f(J))],De);let oe=class extends be{constructor(_0x2225f7,_0x2f8179,_0x4871a1,_0x16c94d,_0x385063,_0xabb210,_0x5d3b46,_0x23fa2c,_0x483b99,_0x3f8807,_0x136bb7,_0x591504,_0x3e688d,_0x44b015){var _0x5cbfba=_0x409aab;super(_0x2225f7,_0x2f8179,null,_0x4871a1,_0x16c94d,_0x483b99,_0x3e688d,_0xabb210,_0x44b015),N(this,_0x5cbfba(0x1a1),'pending'),N(this,_0x5cbfba(0x32c),null),N(this,_0x5cbfba(0x183),null),(this[_0x5cbfba(0x8c)]=_0x385063,this[_0x5cbfba(0x1e2)]=_0x5d3b46,this[_0x5cbfba(0x21d)]=_0x23fa2c,this[_0x5cbfba(0xd2)]=_0x3f8807,this['_transformService']=_0x136bb7,this[_0x5cbfba(0x18f)]=_0x591504);}['appendMutation'](_0x309ab1){var _0x509c8b=_0x409aab;return this['_pendingMutations'][_0x509c8b(0x8f)](_0x309ab1),this[_0x509c8b(0x241)](),this;}[_0x409aab(0x15b)](_0x2b02df){var _0x45f86a=_0x409aab;if(this[_0x45f86a(0x17a)](_0x2b02df))return this[_0x45f86a(0x187)](),this[_0x45f86a(0x8c)][_0x45f86a(0x12b)](te,this[_0x45f86a(0x8d)],this['type'],null,this[_0x45f86a(0x37f)],null,[_0x2b02df],this[_0x45f86a(0x12c)]);try{const _0x5e5754=this[_0x45f86a(0x213)][_0x45f86a(0x16a)](_0x2b02df,this[_0x45f86a(0x37f)]);if(_0x3b7428(_0x5e5754)){const {c1Prime:_0x4f0ddb,m2Prime:_0x11fcef}=_0x5e5754;this[_0x45f86a(0x89)](_0x4f0ddb);const _0x2ad6c8=this['_injector'][_0x45f86a(0x12b)](oe,this[_0x45f86a(0x8d)],this['type'],_0x11fcef,this[_0x45f86a(0x12c)]);this[_0x45f86a(0x187)]();const _0x4476b9=new Date()['getTime'](),_0xd46373=this[_0x45f86a(0x32c)]?Math[_0x45f86a(0x35b)](this['_scheduleCompleteTimestamp']-_0x4476b9,0x0):this[_0x45f86a(0x317)]();return _0x2ad6c8[_0x45f86a(0x217)](_0xd46373),_0x2ad6c8;}throw _0x5e5754[_0x45f86a(0x36f)];}catch(_0x8c05b6){return this[_0x45f86a(0x21d)][_0x45f86a(0x36f)](_0x8c05b6),this[_0x45f86a(0x113)](!0x1);}}[_0x409aab(0x262)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x33a45b=_0x409aab;throw new Error(_0x33a45b(0x19c));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x2fa594=_0x409aab;return this['_clearScheduledTask'](),this['_injector'][_0x2fa594(0x12b)](fe,this[_0x2fa594(0x8d)],this[_0x2fa594(0x255)],null,this[_0x2fa594(0x37f)],this['_handler']);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x217)](_0x594ccd){var _0x3425a9=_0x409aab;const _0x2f763c=_0x594ccd!=null?_0x594ccd:this[_0x3425a9(0x317)]();this[_0x3425a9(0x32c)]=new Date()[_0x3425a9(0x35c)]()+_0x2f763c,this['_sendingTimer']=setTimeout(()=>{var _0x56aa4b=_0x3425a9;this[_0x56aa4b(0x187)]();let _0x4c788a=null;switch(this[_0x56aa4b(0x255)]){case Q[_0x56aa4b(0x8e)]:{_0x4c788a=zt(this['_pendingMutations'],this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x18f)],this[_0x56aa4b(0x324)],this[_0x56aa4b(0x1e2)]);break;}case Q[_0x56aa4b(0x20f)]:{this['_pendingMutations']['every'](_0x48597b=>_0x48597b['id']===_0x27c4da['id'])?_0x4c788a=lr(this[_0x56aa4b(0x37f)],this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x18f)],this['_revisionService'],this[_0x56aa4b(0x1e2)]):_0x4c788a=zt(this['_pendingMutations'],this[_0x56aa4b(0x8d)],this['_univerInstanceService'],this['_revisionService'],this[_0x56aa4b(0x1e2)]);break;}default:throw new Error(_0x56aa4b(0x1f9)+this[_0x56aa4b(0x255)]+_0x56aa4b(0x24d));}const {changeset:_0x33dcba,pendingMutations:_0x55d5ed}=_0x4c788a;this[_0x56aa4b(0x12c)][_0x56aa4b(0x232)](_0x33dcba);const _0x34c151=_0x55d5ed[_0x56aa4b(0xb8)]?this[_0x56aa4b(0x8c)][_0x56aa4b(0x12b)](ae,this[_0x56aa4b(0x8d)],this['type'],_0x33dcba,_0x55d5ed,this[_0x56aa4b(0x12c)],void 0x0):this[_0x56aa4b(0x8c)][_0x56aa4b(0x12b)](ue,this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x255)],_0x33dcba,this[_0x56aa4b(0x12c)]);_0x34c151['_updateLocalCache'](),this[_0x56aa4b(0x12c)]['onStateChange'](this,_0x34c151);},_0x2f763c);}[_0x409aab(0x317)](){var _0x5133d8=_0x409aab,_0x541c3a;const _0x701c9b=this[_0x5133d8(0xd2)][_0x5133d8(0x294)](q);return(_0x541c3a=_0x701c9b==null?void 0x0:_0x701c9b['sendChangesetTimeout'])!=null?_0x541c3a:Cn;}[_0x409aab(0x303)](){var _0x25ef6f=_0x409aab;throw new Error(_0x25ef6f(0x1a0));}[_0x409aab(0x187)](){var _0x3a80a9=_0x409aab;this[_0x3a80a9(0x183)]!=null&&(clearTimeout(this[_0x3a80a9(0x183)]),this[_0x3a80a9(0x183)]=null);}['_onConflict'](_0x4a8bde){var _0x3e4bb4=_0x409aab;return this[_0x3e4bb4(0x187)](),this['_injector']['createInstance'](de,this[_0x3e4bb4(0x8d)],this['type'],null,this[_0x3e4bb4(0x37f)],this[_0x3e4bb4(0x12c)],_0x4a8bde);}};oe=Re([A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x301a99(_0x5c64fe)),A(0x6,_0x301a99(xe)),A(0x7,_0x51fdc8),A(0x8,_0x38398c),A(0x9,_0x424efc),A(0xa,_0x21beed),A(0xb,_0x5b9095),A(0xc,_0x347dd8),A(0xd,_0x59bb9f(J))],oe);let ue=class extends be{constructor(_0x5dfdde,_0x5a54d5,_0x44f3d9,_0x5287b4,_0xfa6fe6,_0x26d492,_0x4f7b15,_0x3fde45,_0x3d7dc4,_0x199196,_0x21f77e){var _0x8eec83=_0x409aab;super(_0x5dfdde,_0x5a54d5,_0x44f3d9,[],_0x5287b4,_0x4f7b15,_0x199196,_0x26d492,_0x21f77e),N(this,'status',_0x8eec83(0x2a4)),N(this,_0x8eec83(0x2ef),0x0),N(this,_0x8eec83(0x225)),N(this,'_sender'),(this['_injector']=_0xfa6fe6,this[_0x8eec83(0x21d)]=_0x3fde45,this[_0x8eec83(0x213)]=_0x3d7dc4);}[_0x409aab(0x23a)](_0x543201){var _0x1f1975=_0x409aab;this['_clearScheduledTask']();const _0x2aaeac=this[_0x1f1975(0x8c)][_0x1f1975(0x12b)](ae,this[_0x1f1975(0x8d)],this[_0x1f1975(0x255)],this[_0x1f1975(0x251)],[_0x543201],this['_handler'],this[_0x1f1975(0x225)]);return _0x2aaeac[_0x1f1975(0x241)](),_0x2aaeac;}['onRemoteChangeset'](_0x5b3fcb){var _0x1d6b24=_0x409aab;if(this[_0x1d6b24(0x17a)](_0x5b3fcb))return this[_0x1d6b24(0x187)](),this['_injector'][_0x1d6b24(0x12b)](te,this['unitID'],this[_0x1d6b24(0x255)],this[_0x1d6b24(0x251)],[],null,[_0x5b3fcb],this[_0x1d6b24(0x12c)]);try{const _0x2305fd=this['_transformService'][_0x1d6b24(0x266)]([_0x5b3fcb],[this[_0x1d6b24(0x251)]],!0x1);if(_0x1a2c23(_0x2305fd)){const {c1Prime:_0x4d8369,c2Prime:_0x2a252a}=_0x2305fd;this['_executeRemoteChangeset'](_0x4d8369[0x0]),_0x2a252a[0x0]['baseRev']=this[_0x1d6b24(0x1bf)](),this['_clearScheduledTask']();const _0x4461d7=this[_0x1d6b24(0x8c)][_0x1d6b24(0x12b)](ue,this[_0x1d6b24(0x8d)],this['type'],_0x2a252a[0x0],this[_0x1d6b24(0x12c)]);return _0x4461d7[_0x1d6b24(0x241)](),_0x4461d7;}return this['_onConflict'](!0x1);}catch(_0x5d5fcf){return this[_0x1d6b24(0x21d)][_0x1d6b24(0x36f)](_0x5d5fcf),this[_0x1d6b24(0x113)](!0x1);}}[_0x409aab(0x262)](_0x5af37d){var _0x28aacf=_0x409aab;this['_clearScheduledTask']();const _0x563b93=this[_0x28aacf(0x324)]['getCurrentRevOfUnit'](this[_0x28aacf(0x8d)]);if(_0x5af37d[_0x28aacf(0x256)]<_0x563b93-0x1)return this;if(this[_0x28aacf(0x17a)](_0x5af37d))return this['_injector']['createInstance'](te,this[_0x28aacf(0x8d)],this[_0x28aacf(0x255)],null,[],this[_0x28aacf(0x251)],[],this['_handler']);this[_0x28aacf(0x26c)]();const _0x4617f6=this[_0x28aacf(0x8c)][_0x28aacf(0x12b)](De,this[_0x28aacf(0x8d)],this['type'],this[_0x28aacf(0x12c)]);return _0x4617f6[_0x28aacf(0x241)](),_0x4617f6;}[_0x409aab(0x2f9)](_0x4d6968){var _0x1d4650=_0x409aab;return this[_0x1d4650(0x113)](!!(_0x4d6968!=null&&_0x4d6968[_0x1d4650(0x22c)]));}['onRemoteRetry'](_0x1c683d){var _0x2d2f56=_0x409aab;return this[_0x2d2f56(0x2ef)]>Ni?this[_0x2d2f56(0x168)]():(this[_0x2d2f56(0x225)]=Oi(this[_0x2d2f56(0x2ef)],{'timeout':this[_0x2d2f56(0x2ef)],'reqId':_0x1c683d[_0x2d2f56(0x127)]}),this[_0x2d2f56(0x380)]=this[_0x2d2f56(0x225)]['subscribe'](({reqId:_0x4d2d42,timeout:_0x1749c7})=>{var _0x8bb304=_0x2d2f56;this[_0x8bb304(0x147)](_0x4d2d42,_0x1749c7);}),this);}['toggleOffline'](){var _0x35b64a=_0x409aab;return this[_0x35b64a(0x187)](),this[_0x35b64a(0x8c)][_0x35b64a(0x12b)](fe,this[_0x35b64a(0x8d)],this[_0x35b64a(0x255)],this[_0x35b64a(0x251)],[],this[_0x35b64a(0x12c)]);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x303)](){var _0x1de873=_0x409aab;this[_0x1de873(0x12c)][_0x1de873(0x232)](this[_0x1de873(0x251)]);}['_onConflict'](_0x22709d){var _0x29424b=_0x409aab;return this[_0x29424b(0x187)](),this['_injector'][_0x29424b(0x12b)](de,this[_0x29424b(0x8d)],this[_0x29424b(0x255)],this[_0x29424b(0x251)],[],this[_0x29424b(0x12c)],_0x22709d);}[_0x409aab(0x147)](_0x912e08,_0x15f661){var _0x1b34fb=_0x409aab,_0x5eb0eb;_0x912e08===((_0x5eb0eb=this[_0x1b34fb(0x251)])==null?void 0x0:_0x5eb0eb[_0x1b34fb(0x127)])&&(this[_0x1b34fb(0x303)](),this[_0x1b34fb(0x2ef)]=_0x15f661===0x0?0x3e8:_0x15f661*0x2);}[_0x409aab(0x187)](){var _0xdd7c4f=_0x409aab,_0x3cf62d;(_0x3cf62d=this[_0xdd7c4f(0x380)])==null||_0x3cf62d['unsubscribe'](),this[_0xdd7c4f(0x2ef)]=0x0;}};ue=Re([A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x301a99(_0x5c64fe)),A(0x6,_0x38398c),A(0x7,_0x51fdc8),A(0x8,_0x21beed),A(0x9,_0x347dd8),A(0xa,_0x59bb9f(J))],ue);let ae=class extends be{constructor(_0x5836da,_0x15d67a,_0x51bf00,_0x6d1d3b,_0xc821dc,_0x8bc4e6,_0x3c7460,_0x59eade,_0x599dd0,_0x26a57d,_0x411b06,_0x3e29f8,_0x45d0d5){var _0x1f223d=_0x409aab;super(_0x5836da,_0x15d67a,_0x51bf00,_0x6d1d3b,_0xc821dc,_0x599dd0,_0x3e29f8,_0x59eade,_0x45d0d5),N(this,_0x1f223d(0x1a1),_0x1f223d(0xa4)),N(this,_0x1f223d(0x2ef),0x0),N(this,_0x1f223d(0x225)),N(this,'_sender'),(this['_injector']=_0x3c7460,this['_logService']=_0x26a57d,this['_transformService']=_0x411b06,this['localCacheService']=_0x45d0d5,_0x8bc4e6&&(this[_0x1f223d(0x225)]=_0x8bc4e6,this[_0x1f223d(0x380)]=this[_0x1f223d(0x225)][_0x1f223d(0x136)](({reqId:_0x2c87cd,timeout:_0x4c5507})=>{var _0x3b8070=_0x1f223d;this[_0x3b8070(0x147)](_0x2c87cd,_0x4c5507);})));}['appendMutation'](_0x58b5c5){return this['_pendingMutations']['push'](_0x58b5c5),this;}['onRemoteChangeset'](_0x232c92){var _0xe7f5fb=_0x409aab;if(this[_0xe7f5fb(0x17a)](_0x232c92))return this[_0xe7f5fb(0x187)](),this[_0xe7f5fb(0x8c)][_0xe7f5fb(0x12b)](te,this[_0xe7f5fb(0x8d)],this[_0xe7f5fb(0x255)],this[_0xe7f5fb(0x251)],this[_0xe7f5fb(0x37f)],null,[_0x232c92],this[_0xe7f5fb(0x12c)]);try{const _0xba48c6=this[_0xe7f5fb(0x213)][_0xe7f5fb(0x266)]([_0x232c92],[this[_0xe7f5fb(0x251)]],!0x1);if(_0x1a2c23(_0xba48c6)){const {c1Prime:_0x47aab3,c2Prime:_0x380522}=_0xba48c6,_0x424269=this[_0xe7f5fb(0x213)][_0xe7f5fb(0x16a)](_0x47aab3[0x0],this[_0xe7f5fb(0x37f)]);if(_0x3b7428(_0x424269)){const {c1Prime:_0x3ed302,m2Prime:_0x1b3b2c}=_0x424269;return this[_0xe7f5fb(0x89)](_0x3ed302),_0x380522[0x0]['baseRev']=this[_0xe7f5fb(0x1bf)](),this[_0xe7f5fb(0x187)](),this[_0xe7f5fb(0x8c)][_0xe7f5fb(0x12b)](ae,this[_0xe7f5fb(0x8d)],this[_0xe7f5fb(0x255)],_0x380522[0x0],_0x1b3b2c,this['_handler'],void 0x0);}throw _0x424269[_0xe7f5fb(0x36f)];}throw _0xba48c6[_0xe7f5fb(0x36f)];}catch(_0x4156c4){return this['_logService'][_0xe7f5fb(0x36f)](_0x4156c4),this[_0xe7f5fb(0x113)](!0x1);}}[_0x409aab(0x262)](_0x42aa86){var _0x3c0324=_0x409aab;if(this[_0x3c0324(0x187)](),this['_checkMissing'](_0x42aa86))return this[_0x3c0324(0x8c)]['createInstance'](te,this['unitID'],this[_0x3c0324(0x255)],null,this[_0x3c0324(0x37f)],this[_0x3c0324(0x251)],[],this[_0x3c0324(0x12c)]);this['_incrementRevisionNumber']();const _0x522a6d=this[_0x3c0324(0x8c)][_0x3c0324(0x12b)](oe,this[_0x3c0324(0x8d)],this['type'],this[_0x3c0324(0x37f)],this[_0x3c0324(0x12c)]);return _0x522a6d[_0x3c0324(0x217)](),_0x522a6d['_updateLocalCache'](),_0x522a6d;}[_0x409aab(0x2f9)](_0x49aac5){var _0xc137c2=_0x409aab;return this[_0xc137c2(0x113)](!!(_0x49aac5!=null&&_0x49aac5['isPermissionRej']));}['onRemoteRetry'](_0x428ccd){var _0x2a1e12=_0x409aab;return this[_0x2a1e12(0x2ef)]>Ni?this[_0x2a1e12(0x168)]():(this[_0x2a1e12(0x225)]=Oi(this[_0x2a1e12(0x2ef)],{'timeout':this[_0x2a1e12(0x2ef)],'reqId':_0x428ccd['reqId']}),this[_0x2a1e12(0x380)]=this[_0x2a1e12(0x225)][_0x2a1e12(0x136)](({reqId:_0x1ae970,timeout:_0x5dc9b6})=>{var _0x3559e6=_0x2a1e12;this[_0x3559e6(0x147)](_0x1ae970,_0x5dc9b6);}),this);}[_0x409aab(0x168)](){var _0x4dc524=_0x409aab;return this[_0x4dc524(0x187)](),this[_0x4dc524(0x8c)]['createInstance'](fe,this[_0x4dc524(0x8d)],this[_0x4dc524(0x255)],this[_0x4dc524(0x251)],this[_0x4dc524(0x37f)],this[_0x4dc524(0x12c)]);}['toggleOnline'](){return this;}[_0x409aab(0x303)](){var _0x29fb07=_0x409aab;this[_0x29fb07(0x12c)]['onSendChangeset'](this[_0x29fb07(0x251)]);}['_onConflict'](_0x113356){var _0x1697a1=_0x409aab;return this[_0x1697a1(0x187)](),this[_0x1697a1(0x8c)][_0x1697a1(0x12b)](de,this['unitID'],this[_0x1697a1(0x255)],null,this[_0x1697a1(0x37f)],this[_0x1697a1(0x12c)],_0x113356);}['_resendWithTimeout'](_0x48810b,_0x5ee996){var _0x5281a6=_0x409aab,_0x111988;_0x48810b===((_0x111988=this[_0x5281a6(0x251)])==null?void 0x0:_0x111988[_0x5281a6(0x127)])&&(this[_0x5281a6(0x303)](),this[_0x5281a6(0x2ef)]=_0x5ee996===0x0?0x3e8:_0x5ee996*0x2);}['_clearScheduledTask'](){var _0x14f077=_0x409aab,_0x21c0a0;(_0x21c0a0=this['_sender'])==null||_0x21c0a0[_0x14f077(0x13e)](),this[_0x14f077(0x2ef)]=0x0;}};ae=Re([A(0x6,_0x301a99(_0x2b67f5)),A(0x7,_0x301a99(_0x5c64fe)),A(0x8,_0x38398c),A(0x9,_0x51fdc8),A(0xa,_0x21beed),A(0xb,_0x347dd8),A(0xc,_0x59bb9f(J))],ae);let de=class extends be{constructor(_0x5ca314,_0x56d156,_0x2d3086,_0x3d3489,_0x21cbf2,_0x13f874=!0x1,_0x13de0e,_0x36ceec,_0x3a00f1,_0x5f13ec,_0x1406e4,_0x318c00,_0x2733ff){var _0x3e91eb=_0x409aab;super(_0x5ca314,_0x56d156,_0x2d3086,_0x3d3489,_0x21cbf2,_0x36ceec,_0x3a00f1,_0x5f13ec,_0x2733ff),N(this,'status',_0x3e91eb(0x318)),(this[_0x3e91eb(0x2eb)]=_0x13f874,this['_permissionService']=_0x13de0e,this[_0x3e91eb(0x2c7)]=_0x1406e4,this[_0x3e91eb(0x2d8)]=_0x318c00,this[_0x3e91eb(0x316)]=_0x2733ff,this['_showConflictNotification'](),this[_0x3e91eb(0x336)](),this['_disableEditing']());}[_0x409aab(0x23a)](){return this;}[_0x409aab(0x15b)](){return this;}[_0x409aab(0x262)](){return this;}[_0x409aab(0x2f9)](){return this;}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){return this;}[_0x409aab(0x114)](){return this;}['resend'](){var _0x210133=_0x409aab;throw new Error(_0x210133(0x2ff));}[_0x409aab(0x336)](){var _0x320bdf=_0x409aab,_0x2b47e5;(_0x2b47e5=this[_0x320bdf(0x29a)])==null||_0x2b47e5[_0x320bdf(0x2ce)](this['unitID'],this[_0x320bdf(0x255)],null,[]);}[_0x409aab(0x30a)](){var _0x3fbdc5=_0x409aab;this[_0x3fbdc5(0x2eb)]?this[_0x3fbdc5(0x2d8)][_0x3fbdc5(0x207)]({'id':se[_0x3fbdc5(0x220)]}):this['_collaborationUIEventService']['emitEvent']({'id':se['CONFLICT']});}[_0x409aab(0x1c4)](){var _0x42a0a3=_0x409aab;this[_0x42a0a3(0xd4)][_0x42a0a3(0xa3)](new _0x4e3789(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x301a99(_0x53aaa3)),A(0x7,_0x38398c),A(0x8,_0x347dd8),A(0x9,_0x301a99(_0x5c64fe)),A(0xa,_0x301a99(_0x226151)),A(0xb,_0x301a99(pe)),A(0xc,_0x59bb9f(J))],de);let fe=class extends be{constructor(_0x1fbe17,_0x1cfb3a,_0x5d1533,_0x3b8784,_0x5b3f1c,_0x5443a2,_0x57ea3a,_0x17740f,_0x4a7ef7,_0xdbd551){var _0x438936=_0x409aab;super(_0x1fbe17,_0x1cfb3a,_0x5d1533,_0x3b8784,_0x5b3f1c,_0x17740f,_0x4a7ef7,_0x57ea3a,_0xdbd551),N(this,_0x438936(0x1a1),_0x438936(0x282)),this[_0x438936(0x8c)]=_0x5443a2;}[_0x409aab(0x23a)](_0xf4807b){var _0x1a2458=_0x409aab;return this['_pendingMutations'][_0x1a2458(0x8f)](_0xf4807b),this[_0x1a2458(0x241)](),this;}[_0x409aab(0x15b)](_0x358f1b){var _0x4483c8=_0x409aab;throw new Error(_0x4483c8(0x1be));}[_0x409aab(0x262)](){var _0x82a7bf=_0x409aab;throw new Error(_0x82a7bf(0x269));}[_0x409aab(0x2f9)](){var _0x46f73c=_0x409aab;throw new Error(_0x46f73c(0x106));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){return this;}[_0x409aab(0x114)](){var _0x18a52e=_0x409aab;const {_injector:_0x826ee1,_pendingMutations:_0x153471,_awaitingChangeset:_0x28593f,unitID:_0x328e35,_handler:_0xf2f811,type:_0x4baa60}=this,_0x5dc88a=Di(_0x826ee1,_0x328e35,_0x4baa60,_0x28593f,_0x153471,_0xf2f811);return _0x5dc88a instanceof oe?_0x5dc88a[_0x18a52e(0x217)]():(_0x5dc88a instanceof ae||_0x5dc88a instanceof ue)&&_0x5dc88a[_0x18a52e(0x303)](),_0x5dc88a;}[_0x409aab(0x303)](){var _0x20acfb=_0x409aab;throw new Error(_0x20acfb(0xc8));}};fe=Re([A(0x5,_0x301a99(_0x2b67f5)),A(0x6,_0x301a99(_0x5c64fe)),A(0x7,_0x38398c),A(0x8,_0x347dd8),A(0x9,_0x59bb9f(J))],fe);let te=class extends be{constructor(_0x3b019c,_0xd80d53,_0x11f6ee,_0x33dd77,_0x36bce8,_0x54f8f1,_0x458b10,_0x11b819,_0x536fb8,_0x247e6b,_0x39c999,_0x32bebf,_0x4ea87e,_0x558d92){var _0x4cd158=_0x409aab;super(_0x3b019c,_0xd80d53,_0x11f6ee,_0x33dd77,_0x458b10,_0x39c999,_0x32bebf,_0x536fb8,_0x558d92),N(this,_0x4cd158(0x1a1),_0x4cd158(0x15c)),(this[_0x4cd158(0x298)]=_0x36bce8,this[_0x4cd158(0xdd)]=_0x54f8f1,this[_0x4cd158(0x8c)]=_0x11b819,this[_0x4cd158(0x21d)]=_0x247e6b,this[_0x4cd158(0x213)]=_0x4ea87e,this[_0x4cd158(0x316)]=_0x558d92);}['onMissedChangesetFetched'](_0x1d92e2){var _0xd7b1bc=_0x409aab;try{const _0x10427a=[..._0x1d92e2,...this['_queuedRemoteChangesets']],_0xd7a0ef=[this[_0xd7b1bc(0x251)]||this['_acknowledgedAwaitingChangeset']][_0xd7b1bc(0x248)](_0x1c85f7=>!!_0x1c85f7);let _0x219086,_0x51a49c;if(_0xd7a0ef[_0xd7b1bc(0xb8)]){const _0x5b07e2=this[_0xd7b1bc(0x213)][_0xd7b1bc(0x266)](_0x10427a,_0xd7a0ef,!0x1);if(!_0x1a2c23(_0x5b07e2))throw _0x5b07e2[_0xd7b1bc(0x36f)];_0x219086=_0x5b07e2[_0xd7b1bc(0x144)],_0x51a49c=_0x5b07e2[_0xd7b1bc(0x24f)];}else _0x219086=_0x10427a,_0x51a49c=[];let _0x2e49ce=this[_0xd7b1bc(0x37f)];_0x219086['forEach'](_0x4d1196=>{var _0x10f5ee=_0xd7b1bc;let _0x204834;if(_0x2e49ce[_0x10f5ee(0xb8)]){const _0x8095b0=this['_transformService'][_0x10f5ee(0x16a)](_0x4d1196,_0x2e49ce);if(!_0x3b7428(_0x8095b0))throw _0x8095b0[_0x10f5ee(0x36f)];_0x204834=_0x8095b0[_0x10f5ee(0x144)],_0x2e49ce=_0x8095b0[_0x10f5ee(0x371)];}else _0x204834=_0x4d1196;this[_0x10f5ee(0x89)](_0x204834);}),this[_0xd7b1bc(0x298)]&&this[_0xd7b1bc(0x26c)](),this[_0xd7b1bc(0x251)]&&_0x51a49c[_0xd7b1bc(0xb8)]&&(_0x51a49c[0x0][_0xd7b1bc(0x340)]=this[_0xd7b1bc(0x1bf)]());let _0x395d91;if(this[_0xd7b1bc(0x251)]&&_0x2e49ce[_0xd7b1bc(0xb8)]!==0x0)_0x395d91=this['_injector'][_0xd7b1bc(0x12b)](ae,this[_0xd7b1bc(0x8d)],this[_0xd7b1bc(0x255)],_0x51a49c[0x0],_0x2e49ce,this[_0xd7b1bc(0x12c)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2e49ce['length']===0x0)_0x51a49c[0x0]['baseRev']=this['_getCurrentRevision'](),_0x395d91=this[_0xd7b1bc(0x8c)][_0xd7b1bc(0x12b)](ue,this['unitID'],this[_0xd7b1bc(0x255)],_0x51a49c[0x0],this[_0xd7b1bc(0x12c)]);else{if(_0x2e49ce['length']!==0x0){const _0x436ed9=this['_injector']['createInstance'](oe,this['unitID'],this['type'],_0x2e49ce,this[_0xd7b1bc(0x12c)]);_0x436ed9[_0xd7b1bc(0x217)](),_0x395d91=_0x436ed9;}else _0x395d91=this[_0xd7b1bc(0x8c)][_0xd7b1bc(0x12b)](De,this[_0xd7b1bc(0x8d)],this[_0xd7b1bc(0x255)],this[_0xd7b1bc(0x12c)]);}}return _0x395d91['_updateLocalCache'](),_0x395d91;}catch(_0x7dc32){return this[_0xd7b1bc(0x21d)][_0xd7b1bc(0x36f)](_0xd7b1bc(0xd3),_0xd7b1bc(0x119),_0x7dc32),this[_0xd7b1bc(0x8c)]['createInstance'](de,this[_0xd7b1bc(0x8d)],this['type'],this['_awaitingChangeset'],this[_0xd7b1bc(0x37f)],this[_0xd7b1bc(0x12c)],!0x1);}}[_0x409aab(0x303)](){var _0xbb266d=_0x409aab;throw new Error(_0xbb266d(0x21f));}[_0x409aab(0x23a)](_0x337d97){var _0x474a83=_0x409aab;return this[_0x474a83(0x37f)]['push'](_0x337d97),this;}['onRemoteChangeset'](_0x455f5a){var _0x23f947=_0x409aab;return this[_0x23f947(0xdd)][_0x23f947(0x8f)](_0x455f5a),this;}[_0x409aab(0x262)](_0x5286b6){var _0x3293a0=_0x409aab;if(this[_0x3293a0(0x251)])return this[_0x3293a0(0x298)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x3293a0(0x2f6));}['onRemoteRej'](_0xaa2087){var _0x262f30=_0x409aab;return this['_onConflict'](!!(_0xaa2087!=null&&_0xaa2087[_0x262f30(0x22c)]));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x40713e=_0x409aab;return this['_injector'][_0x40713e(0x12b)](fe,this[_0x40713e(0x8d)],this[_0x40713e(0x255)],this[_0x40713e(0x251)],this['_pendingMutations'],this[_0x40713e(0x12c)]);}[_0x409aab(0x114)](){return this;}['_onConflict'](_0x21b442){var _0x3c1a06=_0x409aab;return this[_0x3c1a06(0x8c)][_0x3c1a06(0x12b)](de,this[_0x3c1a06(0x8d)],this[_0x3c1a06(0x255)],this['_awaitingChangeset'],this[_0x3c1a06(0x37f)],this[_0x3c1a06(0x12c)],_0x21b442);}};te=Re([A(0x7,_0x301a99(_0x2b67f5)),A(0x8,_0x301a99(_0x5c64fe)),A(0x9,_0x51fdc8),A(0xa,_0x38398c),A(0xb,_0x347dd8),A(0xc,_0x21beed),A(0xd,_0x59bb9f(J))],te);function Di(_0xa186b7,_0xf606bc,_0x32849e,_0x11a7de,_0x20d725,_0x1e1c20){var _0x2de5e2=_0x409aab;return _0x11a7de&&_0x20d725['length']?_0xa186b7[_0x2de5e2(0x12b)](ae,_0xf606bc,_0x32849e,_0x11a7de,_0x20d725,_0x1e1c20,void 0x0):_0x11a7de?_0xa186b7[_0x2de5e2(0x12b)](ue,_0xf606bc,_0x32849e,_0x11a7de,_0x1e1c20):_0x20d725[_0x2de5e2(0xb8)]?_0xa186b7[_0x2de5e2(0x12b)](oe,_0xf606bc,_0x32849e,_0x20d725,_0x1e1c20):_0xa186b7['createInstance'](De,_0xf606bc,_0x32849e,_0x1e1c20);}var vr=Object[_0x409aab(0x1b3)],pr=Object[_0x409aab(0x308)],Lt=(_0x5b300c,_0x274cd3,_0xf4f876,_0x4e7fa4)=>{var _0x42a53f=_0x409aab;for(var _0x4c7148=_0x4e7fa4>0x1?void 0x0:_0x4e7fa4?pr(_0x274cd3,_0xf4f876):_0x274cd3,_0xa47718=_0x5b300c[_0x42a53f(0xb8)]-0x1,_0x10263c;_0xa47718>=0x0;_0xa47718--)(_0x10263c=_0x5b300c[_0xa47718])&&(_0x4c7148=(_0x4e7fa4?_0x10263c(_0x274cd3,_0xf4f876,_0x4c7148):_0x10263c(_0x4c7148))||_0x4c7148);return _0x4e7fa4&&_0x4c7148&&vr(_0x274cd3,_0xf4f876,_0x4c7148),_0x4c7148;},k=(_0x5b2d73,_0xa666f6)=>(_0x5c17b3,_0x405b21)=>_0xa666f6(_0x5c17b3,_0x405b21,_0x5b2d73);let nt=class extends _0x5432f0{constructor(_0x4c669d,_0x4e0170,_0x7cc7da,_0x21ce7f,_0x2e2287,_0x429097,_0x365fa1,_0x2e17c3,_0x44d286,_0x4f0720,_0x29302a,_0x5a5068,_0x17adad){var _0x579dc7=_0x409aab;super(),N(this,_0x579dc7(0xe2),new _0x4d6645(null)),N(this,'state$',this[_0x579dc7(0xe2)][_0x579dc7(0x1cd)]()),N(this,_0x579dc7(0x356)),N(this,_0x579dc7(0x24e),!0x1),N(this,_0x579dc7(0x339),''),N(this,_0x579dc7(0x189),0x0),N(this,_0x579dc7(0x304),this[_0x579dc7(0x17f)][_0x579dc7(0x1a8)](_0x2e303b(_0x4914f2=>_0x4914f2?_0x4914f2[_0x579dc7(0x1a1)]:yi[_0x579dc7(0x368)]),_0x5a4e87(0x1))),N(this,_0x579dc7(0x12e),!0x1),N(this,_0x579dc7(0x9c),[]),(this[_0x579dc7(0x8d)]=_0x4c669d,this[_0x579dc7(0x1e3)]=_0x4e0170,this['_type']=_0x7cc7da,this['_injector']=_0x21ce7f,this[_0x579dc7(0xf2)]=_0x2e2287,this['_localeService']=_0x429097,this[_0x579dc7(0x324)]=_0x365fa1,this['_eventService']=_0x2e17c3,this['_logService']=_0x44d286,this[_0x579dc7(0x31f)]=_0x4f0720,this[_0x579dc7(0xd4)]=_0x29302a,this[_0x579dc7(0x206)]=_0x5a5068,this[_0x579dc7(0x29a)]=_0x17adad);}get[_0x409aab(0x250)](){var _0x5a28b0=_0x409aab;return this[_0x5a28b0(0x356)];}async[_0x409aab(0x1b2)](){var _0x5d577a=_0x409aab;if(this[_0x5d577a(0x250)])throw new Error(_0x5d577a(0x265));await this[_0x5d577a(0xb2)]();}[_0x409aab(0x283)](){var _0x597ada=_0x409aab;return this[_0x597ada(0x24e)]=!0x0,_0x27b28a(()=>{var _0x25bce7=_0x597ada;this[_0x25bce7(0x24e)]=!0x1,this[_0x25bce7(0x258)]();});}[_0x409aab(0x36e)](_0x3660cf){var _0x3613b0=_0x409aab;this[_0x3613b0(0xcd)](_0x3660cf);}[_0x409aab(0xd7)](_0x497669){var _0x221260=_0x409aab;this['_state']=_0x497669,this[_0x221260(0xe2)][_0x221260(0x10a)](_0x497669);}async[_0x409aab(0xb2)](){var _0x4d556f=_0x409aab,_0x4176b0;this[_0x4d556f(0xd7)](await this[_0x4d556f(0x343)]()),this[_0x4d556f(0x206)]&&((_0x4176b0=this['_singleActiveUnitService'])==null||_0x4176b0[_0x4d556f(0x233)](this[_0x4d556f(0x8d)]),this[_0x4d556f(0xc4)](this['_singleActiveUnitService'][_0x4d556f(0x99)](this['unitID'])[_0x4d556f(0x136)](_0x27d225=>{var _0x18fabe=_0x4d556f;this[_0x18fabe(0x21d)][_0x18fabe(0x11a)](_0x18fabe(0x30e),'editing\x20status\x20changed\x20to',_0x27d225),_0x27d225===bi[_0x18fabe(0x11e)]?(this['_eventService']['emitEvent']({'id':se[_0x18fabe(0x247)]}),this[_0x18fabe(0xd4)]['updatePermissionPoint'](new _0x4e3789(this[_0x18fabe(0x8d)])['id'],!0x1),this[_0x18fabe(0xd4)][_0x18fabe(0x27f)](!0x1)):(this[_0x18fabe(0xd4)]['updatePermissionPoint'](new _0x4e3789(this[_0x18fabe(0x8d)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x29fbf4=!0x1;return this['disposeWithMe'](this[_0x4d556f(0x1e3)][_0x4d556f(0x2df)][_0x4d556f(0x136)](_0x2e54e3=>{var _0x33759b=_0x4d556f;_0x2e54e3===Te[_0x33759b(0x29d)]?this[_0x33759b(0x338)](_0x29fbf4):_0x2e54e3===Te[_0x33759b(0x368)]&&(_0x29fbf4=!0x0,this['_toggleOffline']());})),this[_0x4d556f(0xc4)](this['session'][_0x4d556f(0x30b)][_0x4d556f(0x136)](_0x1254e4=>{var _0x28a594=_0x4d556f;try{switch(_0x1254e4[_0x28a594(0xe0)]){case _0x4dbda1['NEW_CHANGESETS']:{this[_0x28a594(0x1f8)](_0x36b852(_0x1254e4[_0x28a594(0x2bd)]));break;}case _0x4dbda1['CHANGESET_ACK']:{this[_0x28a594(0x2aa)](_0x1254e4[_0x28a594(0x2bd)]);break;}case _0x4dbda1['CHANGESET_REJ']:{this[_0x28a594(0x164)]();break;}case _0x4dbda1[_0x28a594(0x311)]:{this['_onRemoteRetry'](_0x1254e4[_0x28a594(0x2bd)]);break;}case _0x4dbda1[_0x28a594(0x288)]:{this[_0x28a594(0x134)](_0x1254e4['data']['changesets'][_0x28a594(0x281)](_0x166229=>_0x36b852(_0x166229)));break;}case _0x4dbda1[_0x28a594(0x31c)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4dbda1['UNISCRIPT_RUN']:break;}}catch(_0x499d3d){throw console['error'](_0x28a594(0x36b),_0x499d3d),_0x499d3d;}})),this[_0x4d556f(0x356)];}[_0x409aab(0x369)](){var _0x5b25ca=_0x409aab;this[_0x5b25ca(0x12e)]=!0x1;}[_0x409aab(0x25e)](){var _0x2b64e8=_0x409aab;if(this[_0x2b64e8(0x12e)])throw new Error(_0x2b64e8(0x34c));this[_0x2b64e8(0x12e)]=!0x0;}[_0x409aab(0xcd)](_0x3ab976){var _0x3c91cd=_0x409aab;this[_0x3c91cd(0x25e)](),this['_updateState'](this['_state'][_0x3c91cd(0x23a)](_0x3ab976)),this[_0x3c91cd(0x369)]();}[_0x409aab(0x1f8)](_0x16a15d){var _0x4994e9=_0x409aab;if(!(_0x16a15d['revision']<=this[_0x4994e9(0x324)][_0x4994e9(0x205)](this[_0x4994e9(0x8d)]))){if(this['_collaborationPaused']){this[_0x4994e9(0x9c)][_0x4994e9(0x8f)](_0x16a15d);return;}this['_applyRemoteChangeset'](_0x16a15d);}}[_0x409aab(0x258)](){var _0x4c896e=_0x409aab;this[_0x4c896e(0x9c)][_0x4c896e(0x1df)](_0x330391=>this[_0x4c896e(0x2e3)](_0x330391)),this[_0x4c896e(0x9c)]=[];}[_0x409aab(0x2e3)](_0x56d2e4){var _0x20a2f1=_0x409aab;const _0x3bb26b=this['_compressMutationService']['interceptor'][_0x20a2f1(0x22a)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x56d2e4[_0x20a2f1(0x1fd)],null)||_0x56d2e4[_0x20a2f1(0x1fd)],_0xec7966={..._0x56d2e4,'mutations':_0x3bb26b};this[_0x20a2f1(0x25e)](),this[_0x20a2f1(0xd7)](this[_0x20a2f1(0x356)][_0x20a2f1(0x15b)](_0xec7966)),this[_0x20a2f1(0x369)]();}['_onRemoteACK'](_0x5668e1){var _0x4f0aff=_0x409aab;this[_0x4f0aff(0x25e)](),this[_0x4f0aff(0xd7)](this[_0x4f0aff(0x356)][_0x4f0aff(0x262)](_0x5668e1)),this[_0x4f0aff(0x369)]();}[_0x409aab(0x164)](_0x15fbda){var _0x132bb6=_0x409aab;this[_0x132bb6(0x25e)](),this[_0x132bb6(0xd7)](this[_0x132bb6(0x356)][_0x132bb6(0x2f9)](_0x15fbda)),this[_0x132bb6(0x369)]();}[_0x409aab(0x2e8)](_0x345069){var _0xa77487=_0x409aab;this[_0xa77487(0x25e)](),this[_0xa77487(0xd7)](this[_0xa77487(0x356)][_0xa77487(0x2c1)](_0x345069)),this[_0xa77487(0x369)]();}[_0x409aab(0x134)](_0x274085){var _0x2bc0c4=_0x409aab;if(!(this[_0x2bc0c4(0x356)]instanceof te))throw new TypeError(_0x2bc0c4(0x197));const _0x177632=_0x274085[_0x2bc0c4(0x281)](_0x411d13=>{var _0xc5cc4=_0x2bc0c4;const _0x146e58=this[_0xc5cc4(0xf2)]['interceptor'][_0xc5cc4(0x22a)](this['_compressMutationService'][_0xc5cc4(0x152)][_0xc5cc4(0xa2)]()[_0xc5cc4(0x149)])(_0x411d13['mutations'],null)||_0x411d13['mutations'];return{..._0x411d13,'mutations':_0x146e58};});this[_0x2bc0c4(0x25e)](),this['_updateState'](this['_state'][_0x2bc0c4(0x1a4)](_0x177632)),this['_unlockTransition']();}['_toggleOffline'](){var _0x685f65=_0x409aab;this[_0x685f65(0x25e)](),this[_0x685f65(0xd7)](this[_0x685f65(0x356)]['toggleOffline']()),this[_0x685f65(0x369)]();}['_toggleOnline'](_0x106a38=!0x1){var _0x2cbe04=_0x409aab;this[_0x2cbe04(0x25e)](),this[_0x2cbe04(0xd7)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x35e66c=this[_0x2cbe04(0x356)];_0x106a38&&_0x35e66c instanceof De&&(this['_lockTransition'](),this[_0x2cbe04(0xd7)](_0x35e66c[_0x2cbe04(0x29b)]()),this[_0x2cbe04(0x369)]());}async[_0x409aab(0x343)](){return new Promise(_0x165148=>{var _0x4abae9=_0x5cef;this['session']['sessionStatus$']['pipe'](_0x114191(0x1))[_0x4abae9(0x136)](async _0x32660d=>{var _0x35c955=_0x4abae9;_0x165148(await this[_0x35c955(0x29f)](_0x32660d===Te[_0x35c955(0x29d)]));});});}[_0x409aab(0x137)](){var _0x181f1c=_0x409aab;const _0x3abed2=this[_0x181f1c(0x8d)];return{'onStateChange':(_0x9fc95b,_0xf2fd12)=>{var _0x214c28=_0x181f1c;if(_0x9fc95b!==this['_state'])throw new Error(_0x214c28(0x18a)+_0x9fc95b[_0x214c28(0x1a1)]+'\x0aAfter:\x20'+_0xf2fd12['status']+_0x214c28(0xd1)+this[_0x214c28(0x356)][_0x214c28(0x1a1)]);this[_0x214c28(0xd7)](_0xf2fd12);},'onSendChangeset':_0x1225a5=>{var _0x4abcb4=_0x181f1c;_0x1225a5[_0x4abcb4(0x334)]||(_0x1225a5['sid']=this[_0x4abcb4(0x339)],_0x1225a5[_0x4abcb4(0x127)]=++this[_0x4abcb4(0x189)]);const _0x4225d3={'eventID':_0x4dbda1[_0x4abcb4(0x9a)],'data':{'unitID':_0x1225a5['unitID'],'unitType':this[_0x4abcb4(0x1fc)],'changeset':_0x1225a5,'memberID':this[_0x4abcb4(0x1e3)][_0x4abcb4(0x222)]()}};this['session']['send'](_0x4225d3,this[_0x4abcb4(0x8d)]);},'onMissingChangesets':({from:_0x6c183c,to:_0x26730b})=>{var _0x281f83=_0x181f1c;this['_logService'][_0x281f83(0x11a)](_0x281f83(0x30e),'fetching\x20missing\x20changesets\x20from\x20'+_0x6c183c+_0x281f83(0x2ea)+_0x26730b);const _0x1ee452={'eventID':_0x4dbda1['FETCH_MISSING'],'data':{'unitID':_0x3abed2,'unitType':this[_0x281f83(0x1fc)],'from':_0x6c183c,'to':_0x26730b}};this[_0x281f83(0x1e3)]['send'](_0x1ee452,this[_0x281f83(0x8d)]);}};}async['_createInitialStateImpl'](_0x3bd32d){var _0x34dce3=_0x409aab,_0x5781a4,_0x14dee2,_0x205805;const _0x438ec6=await((_0x5781a4=this[_0x34dce3(0x29a)])==null?void 0x0:_0x5781a4[_0x34dce3(0x349)](this['unitID'])),_0x567901=(_0x14dee2=_0x438ec6==null?void 0x0:_0x438ec6[_0x34dce3(0x1fd)])!=null?_0x14dee2:[],_0x3acaa8=(_0x205805=_0x438ec6==null?void 0x0:_0x438ec6[_0x34dce3(0x379)])!=null?_0x205805:null,_0x5d8c82=!!(_0x3acaa8!=null&&_0x3acaa8[_0x34dce3(0x334)])&&!!(_0x3acaa8!=null&&_0x3acaa8['reqId']);this[_0x34dce3(0x339)]=_0x5d8c82?_0x3acaa8[_0x34dce3(0x334)]:sr(),this['_changesetReqId']=_0x5d8c82?_0x3acaa8['reqId']:0x0;const _0x2ec4a7=this[_0x34dce3(0x8d)];try{this[_0x34dce3(0x1ec)](_0x3acaa8,_0x567901);}catch(_0x223a77){this[_0x34dce3(0x21d)][_0x34dce3(0x36f)](_0x223a77);}const _0x25a620=this[_0x34dce3(0x137)]();if(_0x3bd32d){const _0x21f0b4=Di(this[_0x34dce3(0x8c)],_0x2ec4a7,this[_0x34dce3(0x1fc)],_0x3acaa8,_0x567901,_0x25a620);return _0x21f0b4 instanceof oe?_0x21f0b4[_0x34dce3(0x217)]():(_0x21f0b4 instanceof ae||_0x21f0b4 instanceof ue)&&_0x21f0b4[_0x34dce3(0x303)](),_0x21f0b4;}return this['_injector'][_0x34dce3(0x12b)](fe,_0x2ec4a7,this[_0x34dce3(0x1fc)],_0x3acaa8,_0x567901,_0x25a620);}[_0x409aab(0x1ec)](_0x4e6cd2,_0x334631){var _0x1375a1=_0x409aab,_0x1aca26,_0x4a6b6f;const _0x529a03=this[_0x1375a1(0xf2)][_0x1375a1(0x152)][_0x1375a1(0x22a)](this[_0x1375a1(0xf2)]['interceptor'][_0x1375a1(0xa2)]()['COMPRESS_MUTATION_APPLY']);(_0x1aca26=_0x529a03((_0x4e6cd2==null?void 0x0:_0x4e6cd2[_0x1375a1(0x1fd)])||[],null))==null||_0x1aca26['forEach'](_0x47499c=>this[_0x1375a1(0x31f)][_0x1375a1(0xa8)](_0x47499c['id'],_0x47499c[_0x1375a1(0x131)])),(_0x4a6b6f=_0x529a03(_0x334631||[],null))==null||_0x4a6b6f[_0x1375a1(0x1df)](_0x5abdbb=>this[_0x1375a1(0x31f)]['executeCommand'](_0x5abdbb['id'],_0x5abdbb[_0x1375a1(0x131)]));}};nt=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(pe)),k(0x8,_0x51fdc8),k(0x9,_0x38398c),k(0xa,_0x53aaa3),k(0xb,_0x59bb9f(ht)),k(0xc,_0x59bb9f(J))],nt);let Tt=class extends nt{constructor(_0x58066c,_0x296fb0,_0x497c0c,_0x581272,_0x2bee00,_0x466f1c,_0x8c90a7,_0x426a6a,_0x97c94b,_0x25d3d3,_0x5b5991,_0x34beaf,_0x44fb6a){var _0x485cec=_0x409aab;super(_0x58066c,_0x497c0c,_0x296fb0,_0x581272,_0x2bee00,_0x466f1c,_0x8c90a7,_0x426a6a,_0x97c94b,_0x25d3d3,_0x5b5991,_0x34beaf,_0x44fb6a),N(this,'_handlerCallback',null),(this[_0x485cec(0x8d)]=_0x58066c,this[_0x485cec(0x255)]=_0x296fb0);}[_0x409aab(0x345)](_0x372bc4){this['_handlerCallback']=_0x372bc4;}[_0x409aab(0x346)](){var _0x47dddb=_0x409aab;this[_0x47dddb(0x1cc)]=null,super[_0x47dddb(0x346)]();}['_createHandler'](){var _0x2ddcf7=_0x409aab;const _0x19bbfb=super[_0x2ddcf7(0x137)]();return _0x19bbfb['onTransformIME']=_0x571111=>{var _0x151eac=_0x2ddcf7,_0x3070e5,_0x4b5b93;return(_0x4b5b93=(_0x3070e5=this[_0x151eac(0x1cc)])==null?void 0x0:_0x3070e5[_0x151eac(0x178)])==null?void 0x0:_0x4b5b93[_0x151eac(0x103)](_0x3070e5,_0x571111);},_0x19bbfb[_0x2ddcf7(0x252)]=_0x34f150=>{var _0x58ff16=_0x2ddcf7,_0x36bc23,_0x51d3f7;return(_0x51d3f7=(_0x36bc23=this[_0x58ff16(0x1cc)])==null?void 0x0:_0x36bc23[_0x58ff16(0x252)])==null?void 0x0:_0x51d3f7[_0x58ff16(0x103)](_0x36bc23,_0x34f150);},_0x19bbfb[_0x2ddcf7(0x19a)]=_0x1790c3=>{var _0x2736b0=_0x2ddcf7,_0x331ef3,_0x266312;return(_0x266312=(_0x331ef3=this[_0x2736b0(0x1cc)])==null?void 0x0:_0x331ef3[_0x2736b0(0x19a)])==null?void 0x0:_0x266312['call'](_0x331ef3,_0x1790c3);},_0x19bbfb[_0x2ddcf7(0x185)]=_0x509114=>{var _0xfa425e=_0x2ddcf7,_0x362840,_0x2f763e;return(_0x2f763e=(_0x362840=this['_handlerCallback'])==null?void 0x0:_0x362840[_0xfa425e(0x185)])==null?void 0x0:_0x2f763e[_0xfa425e(0x103)](_0x362840,_0x509114);},_0x19bbfb['onTransformRemoteChangesetByIMECache']=_0x32510d=>{var _0x394947=_0x2ddcf7,_0x52a9de,_0x47b8c8,_0x37c971;if(!((_0x52a9de=this[_0x394947(0x1cc)])!=null&&_0x52a9de['onTransformRemoteChangesetByIMECache']))throw new Error(_0x394947(0x1dd));return(_0x37c971=(_0x47b8c8=this['_handlerCallback'])==null?void 0x0:_0x47b8c8[_0x394947(0x35e)])==null?void 0x0:_0x37c971[_0x394947(0x103)](_0x47b8c8,_0x32510d);},_0x19bbfb[_0x2ddcf7(0x337)]=_0x3e9552=>{var _0x5bc69e=_0x2ddcf7,_0x409d41,_0x584183,_0xf1beef;if(!((_0x409d41=this[_0x5bc69e(0x1cc)])!=null&&_0x409d41['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5bc69e(0xcb));return(_0xf1beef=(_0x584183=this[_0x5bc69e(0x1cc)])==null?void 0x0:_0x584183[_0x5bc69e(0x337)])==null?void 0x0:_0xf1beef['call'](_0x584183,_0x3e9552);},_0x19bbfb;}async[_0x409aab(0xb2)](){var _0x496867=_0x409aab;const _0x3c3465=await super[_0x496867(0xb2)]();return this[_0x496867(0xc4)](this[_0x496867(0x31f)]['onCommandExecuted']((_0x5ce00d,_0xe48786)=>{var _0x4d4682=_0x496867;if(_0x5ce00d[_0x4d4682(0x255)]!==_0x32bab5['MUTATION']||_0xe48786!=null&&_0xe48786[_0x4d4682(0x27e)]||_0xe48786!=null&&_0xe48786[_0x4d4682(0x353)]||_0x5ce00d['id']===_0x27c4da['id'])return;const _0x33fea=_0x5ce00d[_0x4d4682(0x131)];if((_0x33fea==null?void 0x0:_0x33fea[_0x4d4682(0x1d6)])!==this[_0x4d4682(0x8d)])return;const _0x6551a1=_0x5ce00d,_0x25de2e=this[_0x4d4682(0xf2)][_0x4d4682(0x152)][_0x4d4682(0x22a)](this[_0x4d4682(0xf2)][_0x4d4682(0x152)][_0x4d4682(0xa2)]()[_0x4d4682(0xf0)])([_0x6551a1],null)||[_0x6551a1];this[_0x4d4682(0xcd)](_0x25de2e[0x0]);})),_0x3c3465;}};Tt=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(pe)),k(0x8,_0x51fdc8),k(0x9,_0x38398c),k(0xa,_0x53aaa3),k(0xb,_0x59bb9f(ht)),k(0xc,_0x59bb9f(J))],Tt);let Ct=class extends nt{constructor(_0x4f6334,_0x4f4260,_0x235ea9,_0xb768d9,_0x1e4d6d,_0x398899,_0x30d699,_0x5a435d,_0xc8e7f2,_0x44481d,_0x2d996a,_0x31d763,_0x129516,_0x5c097b){var _0x47e0c6=_0x409aab;super(_0x4f6334,_0x235ea9,_0x4f4260,_0xb768d9,_0x1e4d6d,_0x398899,_0x30d699,_0xc8e7f2,_0x44481d,_0x2d996a,_0x31d763,_0x129516,_0x5c097b),this[_0x47e0c6(0x8d)]=_0x4f6334,this[_0x47e0c6(0x255)]=_0x4f4260,this['_sheetTransformSelectionsService']=_0x5a435d;}[_0x409aab(0x137)](){var _0x9960c9=_0x409aab;const _0x291aa9=super[_0x9960c9(0x137)]();return _0x291aa9[_0x9960c9(0x19a)]=_0x8773a7=>this['_sheetTransformSelectionsService']['transformSelections'](_0x8773a7),_0x291aa9;}async[_0x409aab(0xb2)](){var _0x534a8f=_0x409aab;const _0x491843=await super[_0x534a8f(0xb2)]();return this[_0x534a8f(0xc4)](this['_commandService'][_0x534a8f(0xac)]((_0x5006b4,_0x31614e)=>{var _0x4d4257=_0x534a8f;if(_0x5006b4[_0x4d4257(0x255)]!==_0x32bab5[_0x4d4257(0xf6)]||_0x31614e!=null&&_0x31614e[_0x4d4257(0x27e)]||_0x31614e!=null&&_0x31614e[_0x4d4257(0x353)])return;const _0x1da6e8=_0x5006b4[_0x4d4257(0x131)];if((_0x1da6e8==null?void 0x0:_0x1da6e8[_0x4d4257(0x1d6)])!==this[_0x4d4257(0x8d)])return;const _0x57929e=_0x5006b4,_0x2988b3=this[_0x4d4257(0xf2)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4d4257(0x152)][_0x4d4257(0xa2)]()[_0x4d4257(0xf0)])([_0x57929e],null)||[_0x57929e];this[_0x4d4257(0xcd)](_0x2988b3[0x0]);})),_0x491843;}};Ct=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(it)),k(0x8,_0x301a99(pe)),k(0x9,_0x51fdc8),k(0xa,_0x38398c),k(0xb,_0x53aaa3),k(0xc,_0x59bb9f(ht)),k(0xd,_0x59bb9f(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x409aab(0x308)],Sr=(_0x36cda0,_0x498aeb,_0x120d1b,_0x43753e)=>{var _0x56ef34=_0x409aab;for(var _0x38b643=_0x43753e>0x1?void 0x0:_0x43753e?gr(_0x498aeb,_0x120d1b):_0x498aeb,_0x3ab38b=_0x36cda0[_0x56ef34(0xb8)]-0x1,_0x5c4a5e;_0x3ab38b>=0x0;_0x3ab38b--)(_0x5c4a5e=_0x36cda0[_0x3ab38b])&&(_0x38b643=(_0x43753e?_0x5c4a5e(_0x498aeb,_0x120d1b,_0x38b643):_0x5c4a5e(_0x38b643))||_0x38b643);return _0x43753e&&_0x38b643&&mr(_0x498aeb,_0x120d1b,_0x38b643),_0x38b643;},ft=(_0x4ce527,_0x47e5c9)=>(_0x533cb9,_0x3d6754)=>_0x47e5c9(_0x533cb9,_0x3d6754,_0x4ce527);let rt=class extends _0x5432f0{constructor(_0x100897,_0x491e88,_0x21a47c){var _0x488808=_0x409aab;super(),N(this,_0x488808(0xbd),new Map()),N(this,_0x488808(0xf9),new _0x221b68()),N(this,_0x488808(0x2d4),this[_0x488808(0xf9)][_0x488808(0x1cd)]()),(this['_injector']=_0x100897,this[_0x488808(0x186)]=_0x491e88,this['_univerInstanceService']=_0x21a47c,this['_init']());}[_0x409aab(0x346)](){var _0x1c4ef6=_0x409aab;super[_0x1c4ef6(0x346)](),this[_0x1c4ef6(0xbd)][_0x1c4ef6(0x1df)](_0x181854=>_0x181854['dispose']()),this[_0x1c4ef6(0xbd)][_0x1c4ef6(0x208)]();}['getCollabEntity'](_0x25351d){var _0xb90210=_0x409aab,_0x4fc75b;return(_0x4fc75b=this['_entities'][_0xb90210(0x24c)](_0x25351d))!=null?_0x4fc75b:null;}[_0x409aab(0x1b4)](_0x3fb0e3){var _0x4c8276=_0x409aab;const _0x547ec1=this[_0x4c8276(0x15d)](_0x3fb0e3);return _0x547ec1?_0xb5d9ed(_0x547ec1):this[_0x4c8276(0xf9)]['pipe'](_0x12594c(_0x57a0ce=>_0x57a0ce[_0x4c8276(0x8d)]===_0x3fb0e3));}[_0x409aab(0xeb)](_0x2b19e0){var _0x323943=_0x409aab;return _0x14671f(this['getCollabEntity$'](_0x2b19e0)[_0x323943(0x1a8)](_0x1033eb(()=>{})));}['_init'](){var _0x391f0e=_0x409aab;this[_0x391f0e(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x391f0e(0x8e)])[_0x391f0e(0x1a8)](_0x42b577(this[_0x391f0e(0x2f0)]),_0x4f1603(0x10))[_0x391f0e(0x136)](async _0x7030f8=>{var _0x4e786e=_0x391f0e;const _0x1b4038=_0x7030f8['getUnitId'](),_0x34a72e=await this[_0x4e786e(0x10f)](_0x1b4038,Q['UNIVER_SHEET']);this[_0x4e786e(0xbd)][_0x4e786e(0x2a2)](_0x1b4038,_0x34a72e);}),this[_0x391f0e(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x391f0e(0x20f)])[_0x391f0e(0x1a8)](_0x42b577(this['dispose$']),_0x4f1603(0x10))[_0x391f0e(0x1a8)](_0x12594c(_0x3a3da3=>!_0x3a3da3[_0x391f0e(0x1e8)]()[_0x391f0e(0x18b)]('__')))[_0x391f0e(0x136)](async _0x3f10cb=>{var _0x17b827=_0x391f0e;const _0x921445=_0x3f10cb['getUnitId'](),_0x94b24a=await this[_0x17b827(0x10f)](_0x921445,Q[_0x17b827(0x20f)]);this[_0x17b827(0xbd)][_0x17b827(0x2a2)](_0x921445,_0x94b24a);}),_0xd1cd7d(this[_0x391f0e(0x18f)][_0x391f0e(0x150)](_0x1105ca[_0x391f0e(0x8e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1105ca[_0x391f0e(0x20f)]))['pipe'](_0x42b577(this[_0x391f0e(0x2f0)]))['subscribe'](_0x48f54e=>{var _0x211ae4=_0x391f0e;const _0xec5c19=_0x48f54e[_0x211ae4(0x1e8)](),_0x37c05d=this[_0x211ae4(0xbd)]['get'](_0xec5c19);_0x37c05d&&(_0x37c05d['dispose'](),this[_0x211ae4(0xbd)][_0x211ae4(0x292)](_0xec5c19));});}async[_0x409aab(0x10f)](_0x5af1a1,_0x477a66){var _0x45e86b=_0x409aab;const _0x9ff263=await this[_0x45e86b(0x186)][_0x45e86b(0x117)](_0x5af1a1),_0x3ccc1c=this[_0x45e86b(0x8c)][_0x45e86b(0x12b)](this['_getCtorByUniverType'](_0x477a66),_0x5af1a1,_0x477a66,_0x9ff263);return await _0x3ccc1c['init'](),this[_0x45e86b(0xf9)][_0x45e86b(0x10a)](_0x3ccc1c),_0x3ccc1c;}[_0x409aab(0x200)](_0x47afd9){var _0x2f0f45=_0x409aab;switch(_0x47afd9){case Q[_0x2f0f45(0x20f)]:return Tt;case Q[_0x2f0f45(0x8e)]:return Ct;default:throw new Error(_0x2f0f45(0x306)+_0x47afd9);}}};rt=Sr([ft(0x0,_0x301a99(_0x2b67f5)),ft(0x1,_0x301a99(Le)),ft(0x2,_0x5b9095)],rt);var Er=Object['defineProperty'],Ir=Object[_0x409aab(0x308)],Tr=(_0x2ae5c7,_0xccc3a9,_0x254d96,_0x141c95)=>{var _0x2cf564=_0x409aab;for(var _0x1e171c=_0x141c95>0x1?void 0x0:_0x141c95?Ir(_0xccc3a9,_0x254d96):_0xccc3a9,_0x209591=_0x2ae5c7[_0x2cf564(0xb8)]-0x1,_0xc31c11;_0x209591>=0x0;_0x209591--)(_0xc31c11=_0x2ae5c7[_0x209591])&&(_0x1e171c=(_0x141c95?_0xc31c11(_0xccc3a9,_0x254d96,_0x1e171c):_0xc31c11(_0x1e171c))||_0x1e171c);return _0x141c95&&_0x1e171c&&Er(_0xccc3a9,_0x254d96,_0x1e171c),_0x1e171c;},Jt=(_0x438a95,_0x397893)=>(_0x6fd2a4,_0x4a8358)=>_0x397893(_0x6fd2a4,_0x4a8358,_0x438a95);const Cr=_0x409aab(0x22f),Rr=_0x409aab(0x203);let Rt=class extends _0x237ec8{constructor(_0xbdddf4,_0x1b7c25){var _0x2fbb87=_0x409aab;super(),this['_univerInstanceService']=_0xbdddf4,this[_0x2fbb87(0xd2)]=_0x1b7c25,this[_0x2fbb87(0xb2)]();}[_0x409aab(0xb2)](){var _0x234611=_0x409aab;this[_0x234611(0xc4)](this[_0x234611(0x18f)][_0x234611(0xc9)][_0x234611(0x136)](()=>{var _0x478805=_0x234611,_0x2d4776;const _0x17cb5b=this[_0x478805(0x18f)][_0x478805(0x230)]();let _0x32e5dd=(_0x2d4776=this['_configService'][_0x478805(0x294)](Cr))!=null?_0x2d4776:Rr;_0x17cb5b instanceof _0x2c57dc&&(_0x32e5dd=_0x17cb5b[_0x478805(0x26a)]),document[_0x478805(0x14e)]=_0x32e5dd;}));}};Rt=Tr([Jt(0x0,_0x5b9095),Jt(0x1,_0x424efc)],Rt);var br=Object[_0x409aab(0x1b3)],Or=Object[_0x409aab(0x308)],yr=(_0x22269a,_0x93b9ba,_0x107e18,_0x418a9a)=>{var _0x229776=_0x409aab;for(var _0x5a4257=_0x418a9a>0x1?void 0x0:_0x418a9a?Or(_0x93b9ba,_0x107e18):_0x93b9ba,_0x428eb1=_0x22269a[_0x229776(0xb8)]-0x1,_0x3ec10e;_0x428eb1>=0x0;_0x428eb1--)(_0x3ec10e=_0x22269a[_0x428eb1])&&(_0x5a4257=(_0x418a9a?_0x3ec10e(_0x93b9ba,_0x107e18,_0x5a4257):_0x3ec10e(_0x5a4257))||_0x5a4257);return _0x418a9a&&_0x5a4257&&br(_0x93b9ba,_0x107e18,_0x5a4257),_0x5a4257;},vt=(_0xd094c,_0x578b57)=>(_0x37da85,_0x592f9b)=>_0x578b57(_0x37da85,_0x592f9b,_0xd094c);let st=class{constructor(_0x93467d,_0x1b3d6a,_0x5040d6){var _0x2de2b0=_0x409aab;this[_0x2de2b0(0xd2)]=_0x93467d,this[_0x2de2b0(0x327)]=_0x1b3d6a,this[_0x2de2b0(0x13a)]=_0x5040d6,this[_0x2de2b0(0x1b2)]();}[_0x409aab(0x1b2)](){var _0x1748c3=_0x409aab;this['_httpService'][_0x1748c3(0x218)]({'priority':0x1,'interceptor':(_0x4ce37b,_0x2f5d71)=>_0x2f5d71(_0x4ce37b)['pipe'](_0xef4fa5(async _0x4d630b=>{var _0x19790b=_0x1748c3;const _0x487b9b=_0x4d630b;if(_0x487b9b['status']===0x191){if(typeof window>'u')throw new Error(_0x19790b(0x2b6));if(window[_0x19790b(0x341)](this[_0x19790b(0x13a)]['t'](_0x19790b(0x20e)))){const _0x3b8b3f=window[_0x19790b(0x240)](window[_0x19790b(0x116)][_0x19790b(0x245)]);window[_0x19790b(0x116)]['href']=this[_0x19790b(0x330)]()+_0x19790b(0x28d)+_0x3b8b3f;}}return _0x487b9b;}))});}[_0x409aab(0x330)](){var _0x45ab1c=_0x409aab,_0x40c1f0,_0x12ba32;const _0x59a46c=this['_configService'][_0x45ab1c(0x294)](xn),_0x4216b1=this['_configService'][_0x45ab1c(0x294)](q);return(_0x12ba32=(_0x40c1f0=_0x4216b1==null?void 0x0:_0x4216b1['loginUrlKey'])!=null?_0x40c1f0:_0x59a46c)!=null?_0x12ba32:Ln;}};st=yr([vt(0x0,_0x424efc),vt(0x1,_0x301a99(_0x160d38)),vt(0x2,_0x301a99(_0x226151))],st);var Nr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0xcc99e2,_0x2b8f86,_0x484cdd,_0x4ac178)=>{for(var _0x52488b=_0x4ac178>0x1?void 0x0:_0x4ac178?Dr(_0x2b8f86,_0x484cdd):_0x2b8f86,_0x13a836=_0xcc99e2['length']-0x1,_0x4166ef;_0x13a836>=0x0;_0x13a836--)(_0x4166ef=_0xcc99e2[_0x13a836])&&(_0x52488b=(_0x4ac178?_0x4166ef(_0x2b8f86,_0x484cdd,_0x52488b):_0x4166ef(_0x52488b))||_0x52488b);return _0x4ac178&&_0x52488b&&Nr(_0x2b8f86,_0x484cdd,_0x52488b),_0x52488b;},Xt=(_0x1841bd,_0x33e3c2)=>(_0x3db317,_0x454eb9)=>_0x33e3c2(_0x3db317,_0x454eb9,_0x1841bd);const Pi='AUTHZ_URL_KEY',wr=_0x409aab(0x37b);let bt=class extends _0x237ec8{constructor(_0x2375d9,_0x155eb1){var _0x4483fa=_0x409aab;super(),this[_0x4483fa(0x93)]=_0x2375d9,this[_0x4483fa(0xd2)]=_0x155eb1,this[_0x4483fa(0xcc)]();}[_0x409aab(0xcc)](){var _0x164fff=_0x409aab;const _0xc55041=this;this[_0x164fff(0xc4)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x172571({'isMatch'(_0x51e08f){var _0x14bb0e=_0x164fff,_0x349632;if(_0x51e08f['method']===_0x14bb0e(0x28e)&&((_0x349632=_0x51e08f[_0x14bb0e(0x257)])!=null&&_0x349632['body'])){const {objectID:_0x42b37f,objectType:_0x3b4ec0}=_0x51e08f[_0x14bb0e(0x257)][_0x14bb0e(0x204)]||{};if(!_0x42b37f||_0x3b4ec0===void 0x0)return!0x1;const _0x3cc00b=_0xc55041[_0x14bb0e(0x2bb)]()+'/'+_0x3b4ec0+_0x14bb0e(0x1b6)+_0x42b37f+'/allowed';if(_0x51e08f[_0x14bb0e(0x2fa)]===_0x3cc00b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ddde9){var _0x31d7b0=_0x164fff,_0x27dc21;return(_0x27dc21=_0x4ddde9[_0x31d7b0(0x257)])==null?void 0x0:_0x27dc21[_0x31d7b0(0x204)];},'mergeParamsToRequest'(_0xc25ec6,_0x1db3b4){var _0x53a5f5=_0x164fff;const _0x1db1fa=_0xc55041[_0x53a5f5(0x2bb)]()+'/-/object/-/batch_allowed',_0x48b76e=_0xc25ec6[_0x53a5f5(0x2ca)]((_0x2c1145,_0x33a4dc)=>{var _0x4e2ae2=_0x53a5f5;const {unitID:_0x4ad949,objectID:_0x3b1fed,objectType:_0x51b7e8,actions:_0x21ed1a}=_0x33a4dc;return _0x2c1145[_0x4ad949]||(_0x2c1145[_0x4ad949]={}),_0x2c1145[_0x4ad949][_0x3b1fed]||(_0x2c1145[_0x4ad949][_0x3b1fed]={'objectID':_0x3b1fed,'objectType':_0x51b7e8,'actions':[]}),_0x2c1145[_0x4ad949][_0x3b1fed]['actions'][_0x4e2ae2(0x8f)](..._0x21ed1a),_0x2c1145;},{}),_0x3032ed=[];for(const _0x3b3aa1 in _0x48b76e)for(const _0x360c32 in _0x48b76e[_0x3b3aa1]){const {actions:_0x185a2f,objectType:_0x2ca56c}=_0x48b76e[_0x3b3aa1][_0x360c32],_0x1838c6=[...new Set(_0x185a2f)];_0x3032ed[_0x53a5f5(0x8f)]({'unitID':_0x3b3aa1,'objectID':_0x360c32,'objectType':_0x2ca56c,'actions':_0x1838c6});}return new _0x31cab0(_0x53a5f5(0x28e),_0x1db1fa,{'headers':_0x1db3b4[_0x53a5f5(0xae)],'withCredentials':_0x1db3b4[_0x53a5f5(0x1c8)],'responseType':_0x1db3b4[_0x53a5f5(0x32a)],'body':{'requests':_0x3032ed}});}},{'distributeResult'(_0x29d2f3,_0x49824b){var _0x5f3433=_0x164fff;const {objectActions:_0x2116cc}=_0x29d2f3;return _0x49824b[_0x5f3433(0x281)](_0x24caa6=>{var _0x543ece=_0x5f3433;const {unitID:_0x2c5c0c,objectID:_0x5e4df2,actions:_0x5b7c96}=_0x24caa6,_0x35ee02=_0x2116cc['find'](_0x5037a0=>_0x5037a0[_0x543ece(0x8d)]===_0x2c5c0c&&_0x5037a0[_0x543ece(0x112)]===_0x5e4df2),_0x44c410=_0x5b7c96[_0x543ece(0x281)](_0x11a218=>_0x35ee02==null?void 0x0:_0x35ee02[_0x543ece(0x351)][_0x543ece(0x123)](_0x3930e3=>_0x3930e3[_0x543ece(0x2d9)]===_0x11a218))['filter'](_0x4b12ce=>!!_0x4b12ce);return{'config':_0x24caa6,'result':{'actions':_0x44c410,'error':_0x29d2f3[_0x543ece(0x36f)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2b8057=_0x409aab,_0x3e0b53,_0x426117;const _0x54b4f6=this[_0x2b8057(0xd2)][_0x2b8057(0x294)](Pi),_0x5c0d4d=this[_0x2b8057(0xd2)][_0x2b8057(0x294)](q);return(_0x426117=(_0x3e0b53=_0x5c0d4d==null?void 0x0:_0x5c0d4d[_0x2b8057(0x2c0)])!=null?_0x3e0b53:_0x54b4f6)!=null?_0x426117:wr;}async[_0x409aab(0x1fb)](_0x2d4a7a){var _0x5b8bd9=_0x409aab;const _0xca4e6c=this['_getAPIPrefixPath']()+'/'+_0x2d4a7a[_0x5b8bd9(0x1fa)]+_0x5b8bd9(0x1f2);return(await this[_0x5b8bd9(0x93)][_0x5b8bd9(0x215)](_0xca4e6c,{'body':_0x2d4a7a}))['body'][_0x5b8bd9(0x112)]||'';}async[_0x409aab(0x239)](_0x46ea39){var _0x23d36a=_0x409aab;const _0x340491=this[_0x23d36a(0x2bb)]()+_0x23d36a(0x22b);return(await this[_0x23d36a(0x93)][_0x23d36a(0x215)](_0x340491,{'body':_0x46ea39}))['body'][_0x23d36a(0x361)];}async[_0x409aab(0x319)](_0x4e962a){var _0x18773c=_0x409aab;const _0x246022=this[_0x18773c(0x2bb)]()+'/'+_0x4e962a['objectType']+_0x18773c(0x1b6)+_0x4e962a[_0x18773c(0x112)];await this['_HTTPService'][_0x18773c(0x1eb)](_0x246022,{'body':_0x4e962a});}async['allowed'](_0x4b87b2){var _0x39b47f=_0x409aab;const _0x38c8fd=this[_0x39b47f(0x2bb)]()+'/'+_0x4b87b2[_0x39b47f(0x1fa)]+'/object/'+_0x4b87b2[_0x39b47f(0x112)]+'/allowed';return(await this['_HTTPService'][_0x39b47f(0x215)](_0x38c8fd,{'body':_0x4b87b2}))[_0x39b47f(0x204)][_0x39b47f(0x351)];}async[_0x409aab(0x2a5)](_0x5d7325){var _0x4c5948=_0x409aab;const _0x5695bc=this[_0x4c5948(0x2bb)]()+'/-/object/-/batch_allowed';return(await this[_0x4c5948(0x93)][_0x4c5948(0x215)](_0x5695bc,{'body':{'requests':_0x5d7325}}))[_0x4c5948(0x204)][_0x4c5948(0x1a2)];}async[_0x409aab(0x18c)](_0x56321b){var _0x3358b6=_0x409aab;const _0x480d22=this[_0x3358b6(0x2bb)]()+'/'+_0x56321b[_0x3358b6(0x1fa)]+_0x3358b6(0x16b),_0x2fe527=await this[_0x3358b6(0x93)]['post'](_0x480d22,{'body':_0x56321b});return{'roles':_0x2fe527[_0x3358b6(0x204)][_0x3358b6(0x157)],'actions':_0x2fe527[_0x3358b6(0x204)]['actions']};}async[_0x409aab(0xec)](_0x25991d){var _0xa3542f=_0x409aab;const _0x268443=this[_0xa3542f(0x2bb)]()+'/collaborator';await this[_0xa3542f(0x93)][_0xa3542f(0x292)](_0x268443,{'params':{'collaboratorID':_0x25991d[_0xa3542f(0x29c)],'objectID':_0x25991d[_0xa3542f(0x112)],'unitID':_0x25991d[_0xa3542f(0x8d)]}});}async[_0x409aab(0x2d3)](_0x1703a7){var _0x2a30b8=_0x409aab;const _0x2ce0c4=this[_0x2a30b8(0x2bb)]()+_0x2a30b8(0x2e2);await this[_0x2a30b8(0x93)][_0x2a30b8(0xd8)](_0x2ce0c4,{'body':_0x1703a7});}async[_0x409aab(0x274)](_0x364444){var _0x36e3e6=_0x409aab;const _0x2491b6=this[_0x36e3e6(0x2bb)]()+_0x36e3e6(0x2e2);await this[_0x36e3e6(0x93)][_0x36e3e6(0x215)](_0x2491b6,{'body':_0x364444});}async[_0x409aab(0x25a)](_0x26a512){var _0x4b4562=_0x409aab;const _0xefa66d=this[_0x4b4562(0x2bb)]()+'/collaborator';return(await this[_0x4b4562(0x93)][_0x4b4562(0x24c)](_0xefa66d,{'params':{'objectID':_0x26a512[_0x4b4562(0x112)],'unitID':_0x26a512['unitID']}}))[_0x4b4562(0x204)]['collaborators'];}async[_0x409aab(0x347)](_0x50a95e){var _0x26b5b6=_0x409aab;const _0x30990b=this[_0x26b5b6(0x2bb)]()+_0x26b5b6(0x2e2);await this[_0x26b5b6(0x93)][_0x26b5b6(0x1eb)](_0x30990b,{'body':_0x50a95e});}};bt=Pr([Xt(0x0,_0x301a99(_0x160d38)),Xt(0x1,_0x301a99(_0x424efc))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x22a8d5){var _0x22fad7=_0x409aab;return _0x22a8d5&&_0x22a8d5['__esModule']&&Object[_0x22fad7(0x1c2)][_0x22fad7(0x261)]['call'](_0x22a8d5,'default')?_0x22a8d5[_0x22fad7(0x129)]:_0x22a8d5;}var Ve={'exports':{}};function Ur(_0x13e4b9){var _0x24fa5d=_0x409aab;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x13e4b9+_0x24fa5d(0x305));}var Ge={'exports':{}},Ar=Ge[_0x409aab(0x30f)],Zt;function ne(){var _0x204929=_0x409aab;return Zt||(Zt=0x1,function(_0x4def15,_0x4403f2){(function(_0x2885b5,_0x1ea26c){var _0x43fe82=_0x5cef;_0x4def15[_0x43fe82(0x30f)]=_0x1ea26c();}(Ar,function(){var _0xd275b6=_0xd275b6||function(_0x204f64,_0x2120aa){var _0x50ba2b=_0x5cef,_0x220d67;if(typeof window<'u'&&window['crypto']&&(_0x220d67=window[_0x50ba2b(0x246)]),typeof self<'u'&&self['crypto']&&(_0x220d67=self[_0x50ba2b(0x246)]),typeof globalThis<'u'&&globalThis[_0x50ba2b(0x246)]&&(_0x220d67=globalThis[_0x50ba2b(0x246)]),!_0x220d67&&typeof window<'u'&&window[_0x50ba2b(0x20c)]&&(_0x220d67=window['msCrypto']),!_0x220d67&&typeof pt<'u'&&pt[_0x50ba2b(0x246)]&&(_0x220d67=pt[_0x50ba2b(0x246)]),!_0x220d67&&typeof Ur==_0x50ba2b(0x348))try{_0x220d67=require(_0x50ba2b(0x246));}catch{}var _0x2f6a5e=function(){var _0x15c84a=_0x50ba2b;if(_0x220d67){if(typeof _0x220d67['getRandomValues']==_0x15c84a(0x348))try{return _0x220d67['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x220d67[_0x15c84a(0x31e)]==_0x15c84a(0x348))try{return _0x220d67[_0x15c84a(0x31e)](0x4)[_0x15c84a(0x365)]();}catch{}}throw new Error(_0x15c84a(0xaa));},_0x4d0889=Object[_0x50ba2b(0x1fb)]||(function(){function _0x1cf96a(){}return function(_0x13fb02){var _0x58212e=_0x5cef,_0x3435e3;return _0x1cf96a[_0x58212e(0x1c2)]=_0x13fb02,_0x3435e3=new _0x1cf96a(),_0x1cf96a['prototype']=null,_0x3435e3;};}()),_0x25e834={},_0x1bdca2=_0x25e834[_0x50ba2b(0x33e)]={},_0x4d4740=_0x1bdca2[_0x50ba2b(0x12a)]=(function(){return{'extend':function(_0x5ae25d){var _0x2564bb=_0x5cef,_0x26d9db=_0x4d0889(this);return _0x5ae25d&&_0x26d9db[_0x2564bb(0x16d)](_0x5ae25d),(!_0x26d9db[_0x2564bb(0x261)](_0x2564bb(0x1b2))||this[_0x2564bb(0x1b2)]===_0x26d9db['init'])&&(_0x26d9db[_0x2564bb(0x1b2)]=function(){var _0x15848a=_0x2564bb;_0x26d9db[_0x15848a(0x31b)]['init'][_0x15848a(0xb9)](this,arguments);}),_0x26d9db[_0x2564bb(0x1b2)][_0x2564bb(0x1c2)]=_0x26d9db,_0x26d9db[_0x2564bb(0x31b)]=this,_0x26d9db;},'create':function(){var _0x132914=_0x5cef,_0x10318d=this['extend']();return _0x10318d[_0x132914(0x1b2)][_0x132914(0xb9)](_0x10318d,arguments),_0x10318d;},'init':function(){},'mixIn':function(_0x14a5f1){var _0x53a63a=_0x5cef;for(var _0x5c0a13 in _0x14a5f1)_0x14a5f1[_0x53a63a(0x261)](_0x5c0a13)&&(this[_0x5c0a13]=_0x14a5f1[_0x5c0a13]);_0x14a5f1[_0x53a63a(0x261)](_0x53a63a(0x238))&&(this[_0x53a63a(0x238)]=_0x14a5f1['toString']);},'clone':function(){var _0x2492fb=_0x5cef;return this[_0x2492fb(0x1b2)]['prototype'][_0x2492fb(0x166)](this);}};}()),_0x1bfb7e=_0x1bdca2['WordArray']=_0x4d4740[_0x50ba2b(0x166)]({'init':function(_0x23f262,_0x29b4d9){var _0x5755bf=_0x50ba2b;_0x23f262=this[_0x5755bf(0x171)]=_0x23f262||[],_0x29b4d9!=_0x2120aa?this[_0x5755bf(0x172)]=_0x29b4d9:this['sigBytes']=_0x23f262['length']*0x4;},'toString':function(_0x588fac){return(_0x588fac||_0x5c53ce)['stringify'](this);},'concat':function(_0x39d90d){var _0x285f20=_0x50ba2b,_0x592347=this[_0x285f20(0x171)],_0x2b82c5=_0x39d90d[_0x285f20(0x171)],_0x2eb3ce=this['sigBytes'],_0x4a10da=_0x39d90d[_0x285f20(0x172)];if(this[_0x285f20(0x124)](),_0x2eb3ce%0x4)for(var _0x30634f=0x0;_0x30634f<_0x4a10da;_0x30634f++){var _0xef333e=_0x2b82c5[_0x30634f>>>0x2]>>>0x18-_0x30634f%0x4*0x8&0xff;_0x592347[_0x2eb3ce+_0x30634f>>>0x2]|=_0xef333e<<0x18-(_0x2eb3ce+_0x30634f)%0x4*0x8;}else{for(var _0x315c5f=0x0;_0x315c5f<_0x4a10da;_0x315c5f+=0x4)_0x592347[_0x2eb3ce+_0x315c5f>>>0x2]=_0x2b82c5[_0x315c5f>>>0x2];}return this[_0x285f20(0x172)]+=_0x4a10da,this;},'clamp':function(){var _0x26de70=_0x50ba2b,_0x51f5bb=this['words'],_0x3e641d=this['sigBytes'];_0x51f5bb[_0x3e641d>>>0x2]&=0xffffffff<<0x20-_0x3e641d%0x4*0x8,_0x51f5bb['length']=_0x204f64[_0x26de70(0x1d2)](_0x3e641d/0x4);},'clone':function(){var _0x160dbd=_0x50ba2b,_0x4cc61f=_0x4d4740[_0x160dbd(0x228)][_0x160dbd(0x103)](this);return _0x4cc61f[_0x160dbd(0x171)]=this[_0x160dbd(0x171)][_0x160dbd(0xe5)](0x0),_0x4cc61f;},'random':function(_0x11e3d9){var _0x452e3d=_0x50ba2b;for(var _0x18eb4a=[],_0xedb056=0x0;_0xedb056<_0x11e3d9;_0xedb056+=0x4)_0x18eb4a[_0x452e3d(0x8f)](_0x2f6a5e());return new _0x1bfb7e[(_0x452e3d(0x1b2))](_0x18eb4a,_0x11e3d9);}}),_0x4d1b18=_0x25e834[_0x50ba2b(0x1ff)]={},_0x5c53ce=_0x4d1b18[_0x50ba2b(0x20a)]={'stringify':function(_0x545efd){var _0x14ec2c=_0x50ba2b;for(var _0x22517f=_0x545efd[_0x14ec2c(0x171)],_0x227591=_0x545efd['sigBytes'],_0x14fa2f=[],_0x601834=0x0;_0x601834<_0x227591;_0x601834++){var _0x472bff=_0x22517f[_0x601834>>>0x2]>>>0x18-_0x601834%0x4*0x8&0xff;_0x14fa2f[_0x14ec2c(0x8f)]((_0x472bff>>>0x4)['toString'](0x10)),_0x14fa2f[_0x14ec2c(0x8f)]((_0x472bff&0xf)[_0x14ec2c(0x238)](0x10));}return _0x14fa2f[_0x14ec2c(0x170)]('');},'parse':function(_0x332097){var _0xb1a790=_0x50ba2b;for(var _0x1664b0=_0x332097[_0xb1a790(0xb8)],_0x5e16aa=[],_0x387810=0x0;_0x387810<_0x1664b0;_0x387810+=0x2)_0x5e16aa[_0x387810>>>0x3]|=parseInt(_0x332097[_0xb1a790(0xce)](_0x387810,0x2),0x10)<<0x18-_0x387810%0x8*0x4;return new _0x1bfb7e[(_0xb1a790(0x1b2))](_0x5e16aa,_0x1664b0/0x2);}},_0x16b462=_0x4d1b18[_0x50ba2b(0x1ea)]={'stringify':function(_0x4659ef){var _0x40fc08=_0x50ba2b;for(var _0x5671cb=_0x4659ef[_0x40fc08(0x171)],_0x4ab833=_0x4659ef[_0x40fc08(0x172)],_0x524cf0=[],_0x18648a=0x0;_0x18648a<_0x4ab833;_0x18648a++){var _0x24ab41=_0x5671cb[_0x18648a>>>0x2]>>>0x18-_0x18648a%0x4*0x8&0xff;_0x524cf0[_0x40fc08(0x8f)](String['fromCharCode'](_0x24ab41));}return _0x524cf0[_0x40fc08(0x170)]('');},'parse':function(_0x3ae833){var _0x512e38=_0x50ba2b;for(var _0x1b2615=_0x3ae833[_0x512e38(0xb8)],_0x31961e=[],_0x4ee05e=0x0;_0x4ee05e<_0x1b2615;_0x4ee05e++)_0x31961e[_0x4ee05e>>>0x2]|=(_0x3ae833[_0x512e38(0x34f)](_0x4ee05e)&0xff)<<0x18-_0x4ee05e%0x4*0x8;return new _0x1bfb7e[(_0x512e38(0x1b2))](_0x31961e,_0x1b2615);}},_0x124e44=_0x4d1b18['Utf8']={'stringify':function(_0x73c752){var _0x5d038a=_0x50ba2b;try{return decodeURIComponent(escape(_0x16b462[_0x5d038a(0xfc)](_0x73c752)));}catch{throw new Error(_0x5d038a(0x95));}},'parse':function(_0x16c2eb){return _0x16b462['parse'](unescape(encodeURIComponent(_0x16c2eb)));}},_0x2dc772=_0x1bdca2[_0x50ba2b(0x24b)]=_0x4d4740[_0x50ba2b(0x166)]({'reset':function(){var _0x90d11d=_0x50ba2b;this[_0x90d11d(0x219)]=new _0x1bfb7e[(_0x90d11d(0x1b2))](),this[_0x90d11d(0x2e9)]=0x0;},'_append':function(_0x206a44){var _0x44e7b8=_0x50ba2b;typeof _0x206a44==_0x44e7b8(0x229)&&(_0x206a44=_0x124e44[_0x44e7b8(0x377)](_0x206a44)),this['_data']['concat'](_0x206a44),this[_0x44e7b8(0x2e9)]+=_0x206a44[_0x44e7b8(0x172)];},'_process':function(_0x1c129a){var _0x306411=_0x50ba2b,_0x403c58,_0x11acfc=this[_0x306411(0x219)],_0x4b79f3=_0x11acfc[_0x306411(0x171)],_0xa9de28=_0x11acfc['sigBytes'],_0x4eac06=this[_0x306411(0x100)],_0x3ea3db=_0x4eac06*0x4,_0x2ff335=_0xa9de28/_0x3ea3db;_0x1c129a?_0x2ff335=_0x204f64[_0x306411(0x1d2)](_0x2ff335):_0x2ff335=_0x204f64[_0x306411(0x35b)]((_0x2ff335|0x0)-this[_0x306411(0x161)],0x0);var _0x5d7cbc=_0x2ff335*_0x4eac06,_0x51915e=_0x204f64['min'](_0x5d7cbc*0x4,_0xa9de28);if(_0x5d7cbc){for(var _0x121a8b=0x0;_0x121a8b<_0x5d7cbc;_0x121a8b+=_0x4eac06)this[_0x306411(0x194)](_0x4b79f3,_0x121a8b);_0x403c58=_0x4b79f3[_0x306411(0x132)](0x0,_0x5d7cbc),_0x11acfc['sigBytes']-=_0x51915e;}return new _0x1bfb7e[(_0x306411(0x1b2))](_0x403c58,_0x51915e);},'clone':function(){var _0x3063b6=_0x50ba2b,_0x2445f1=_0x4d4740[_0x3063b6(0x228)][_0x3063b6(0x103)](this);return _0x2445f1[_0x3063b6(0x219)]=this[_0x3063b6(0x219)][_0x3063b6(0x228)](),_0x2445f1;},'_minBufferSize':0x0});_0x1bdca2['Hasher']=_0x2dc772[_0x50ba2b(0x166)]({'cfg':_0x4d4740[_0x50ba2b(0x166)](),'init':function(_0x432fa3){var _0x385e70=_0x50ba2b;this[_0x385e70(0x1ef)]=this[_0x385e70(0x1ef)]['extend'](_0x432fa3),this[_0x385e70(0x1b7)]();},'reset':function(){var _0x3267bd=_0x50ba2b;_0x2dc772[_0x3267bd(0x1b7)][_0x3267bd(0x103)](this),this[_0x3267bd(0x25f)]();},'update':function(_0x1c7fe1){var _0x46f108=_0x50ba2b;return this[_0x46f108(0x10d)](_0x1c7fe1),this[_0x46f108(0x359)](),this;},'finalize':function(_0x6c66c9){var _0x549be7=_0x50ba2b;_0x6c66c9&&this[_0x549be7(0x10d)](_0x6c66c9);var _0xa95d5b=this[_0x549be7(0x14c)]();return _0xa95d5b;},'blockSize':0x10,'_createHelper':function(_0x25072d){return function(_0x30a79c,_0xe4ec1f){var _0x56a68a=_0x5cef;return new _0x25072d[(_0x56a68a(0x1b2))](_0xe4ec1f)[_0x56a68a(0x2ae)](_0x30a79c);};},'_createHmacHelper':function(_0x1cff05){return function(_0x1afd5e,_0x1e557b){var _0x470681=_0x5cef;return new _0x332a0b[(_0x470681(0xdf))][(_0x470681(0x1b2))](_0x1cff05,_0x1e557b)[_0x470681(0x2ae)](_0x1afd5e);};}});var _0x332a0b=_0x25e834[_0x50ba2b(0x155)]={};return _0x25e834;}(Math);return _0xd275b6;}));}(Ge)),Ge[_0x204929(0x30f)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x52b8d1=_0x409aab;return Qt||(Qt=0x1,function(_0x392176,_0x92c721){(function(_0x49e6a5,_0x17edac){var _0xadcfb3=_0x5cef;_0x392176[_0xadcfb3(0x30f)]=_0x17edac(ne());}(xr,function(_0x46f435){var _0x524d49=_0x5cef;return(function(){var _0x41cfa4=_0x5cef,_0x102f59=_0x46f435,_0x58b78e=_0x102f59[_0x41cfa4(0x33e)],_0x24baa1=_0x58b78e[_0x41cfa4(0x25c)],_0x533690=_0x102f59[_0x41cfa4(0x1ff)];_0x533690['Base64']={'stringify':function(_0x532cf0){var _0x2c6ea6=_0x41cfa4,_0x2b6fec=_0x532cf0[_0x2c6ea6(0x171)],_0x2b3a52=_0x532cf0[_0x2c6ea6(0x172)],_0x1f869c=this[_0x2c6ea6(0x307)];_0x532cf0['clamp']();for(var _0xe62a4e=[],_0x5a77c8=0x0;_0x5a77c8<_0x2b3a52;_0x5a77c8+=0x3)for(var _0x352c7f=_0x2b6fec[_0x5a77c8>>>0x2]>>>0x18-_0x5a77c8%0x4*0x8&0xff,_0x36b3e7=_0x2b6fec[_0x5a77c8+0x1>>>0x2]>>>0x18-(_0x5a77c8+0x1)%0x4*0x8&0xff,_0x2cf4d6=_0x2b6fec[_0x5a77c8+0x2>>>0x2]>>>0x18-(_0x5a77c8+0x2)%0x4*0x8&0xff,_0x3a81f6=_0x352c7f<<0x10|_0x36b3e7<<0x8|_0x2cf4d6,_0x128ef9=0x0;_0x128ef9<0x4&&_0x5a77c8+_0x128ef9*0.75<_0x2b3a52;_0x128ef9++)_0xe62a4e['push'](_0x1f869c[_0x2c6ea6(0x354)](_0x3a81f6>>>0x6*(0x3-_0x128ef9)&0x3f));var _0x5e5439=_0x1f869c[_0x2c6ea6(0x354)](0x40);if(_0x5e5439){for(;_0xe62a4e['length']%0x4;)_0xe62a4e['push'](_0x5e5439);}return _0xe62a4e[_0x2c6ea6(0x170)]('');},'parse':function(_0x58cc8){var _0x4046bc=_0x41cfa4,_0x325617=_0x58cc8[_0x4046bc(0xb8)],_0x1f84f3=this[_0x4046bc(0x307)],_0x257b35=this[_0x4046bc(0x284)];if(!_0x257b35){_0x257b35=this[_0x4046bc(0x284)]=[];for(var _0x362593=0x0;_0x362593<_0x1f84f3[_0x4046bc(0xb8)];_0x362593++)_0x257b35[_0x1f84f3[_0x4046bc(0x34f)](_0x362593)]=_0x362593;}var _0x43b0f4=_0x1f84f3['charAt'](0x40);if(_0x43b0f4){var _0xa5eac=_0x58cc8[_0x4046bc(0x2db)](_0x43b0f4);_0xa5eac!==-0x1&&(_0x325617=_0xa5eac);}return _0x1206cd(_0x58cc8,_0x325617,_0x257b35);},'_map':_0x41cfa4(0x2c8)};function _0x1206cd(_0x267d6a,_0x4da08d,_0x2210c0){var _0x5d0e32=_0x41cfa4;for(var _0x56deda=[],_0x8f77a5=0x0,_0x2c1873=0x0;_0x2c1873<_0x4da08d;_0x2c1873++)if(_0x2c1873%0x4){var _0x38cd89=_0x2210c0[_0x267d6a['charCodeAt'](_0x2c1873-0x1)]<<_0x2c1873%0x4*0x2,_0x22c1d9=_0x2210c0[_0x267d6a['charCodeAt'](_0x2c1873)]>>>0x6-_0x2c1873%0x4*0x2,_0x28fe33=_0x38cd89|_0x22c1d9;_0x56deda[_0x8f77a5>>>0x2]|=_0x28fe33<<0x18-_0x8f77a5%0x4*0x8,_0x8f77a5++;}return _0x24baa1[_0x5d0e32(0x1fb)](_0x56deda,_0x8f77a5);}}()),_0x46f435[_0x524d49(0x1ff)][_0x524d49(0x358)];}));}(We)),We[_0x52b8d1(0x30f)];}var Ke={'exports':{}},Lr=Ke[_0x409aab(0x30f)],ei;function Mr(){var _0x2c0e45=_0x409aab;return ei||(ei=0x1,function(_0x566bde,_0x4b924e){(function(_0x1a466b,_0x15d069){var _0x36082c=_0x5cef;_0x566bde[_0x36082c(0x30f)]=_0x15d069(ne());}(Lr,function(_0x27a287){return function(_0x80b3ad){var _0x4ec1ab=_0x5cef,_0x42d35b=_0x27a287,_0x1c4928=_0x42d35b['lib'],_0x590b68=_0x1c4928[_0x4ec1ab(0x25c)],_0x317648=_0x1c4928[_0x4ec1ab(0x326)],_0x1543d7=_0x42d35b['algo'],_0x5c9c4f=[];(function(){var _0x363192=_0x4ec1ab;for(var _0x3c281c=0x0;_0x3c281c<0x40;_0x3c281c++)_0x5c9c4f[_0x3c281c]=_0x80b3ad[_0x363192(0x201)](_0x80b3ad[_0x363192(0x296)](_0x3c281c+0x1))*0x100000000|0x0;}());var _0x2b481b=_0x1543d7['MD5']=_0x317648['extend']({'_doReset':function(){var _0x24f886=_0x4ec1ab;this[_0x24f886(0x1f3)]=new _0x590b68[(_0x24f886(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59368a,_0xde6bd7){var _0x5e308d=_0x4ec1ab;for(var _0x7328d7=0x0;_0x7328d7<0x10;_0x7328d7++){var _0x1cc418=_0xde6bd7+_0x7328d7,_0x2cfa6f=_0x59368a[_0x1cc418];_0x59368a[_0x1cc418]=(_0x2cfa6f<<0x8|_0x2cfa6f>>>0x18)&0xff00ff|(_0x2cfa6f<<0x18|_0x2cfa6f>>>0x8)&0xff00ff00;}var _0x3fd4aa=this[_0x5e308d(0x1f3)][_0x5e308d(0x171)],_0x296f55=_0x59368a[_0xde6bd7+0x0],_0xa52324=_0x59368a[_0xde6bd7+0x1],_0x175298=_0x59368a[_0xde6bd7+0x2],_0x1d66a8=_0x59368a[_0xde6bd7+0x3],_0x18f42e=_0x59368a[_0xde6bd7+0x4],_0x2594ed=_0x59368a[_0xde6bd7+0x5],_0x387dfa=_0x59368a[_0xde6bd7+0x6],_0x3ab139=_0x59368a[_0xde6bd7+0x7],_0x423011=_0x59368a[_0xde6bd7+0x8],_0x4d524e=_0x59368a[_0xde6bd7+0x9],_0x33482d=_0x59368a[_0xde6bd7+0xa],_0x22cd2c=_0x59368a[_0xde6bd7+0xb],_0x16704f=_0x59368a[_0xde6bd7+0xc],_0x520035=_0x59368a[_0xde6bd7+0xd],_0x3ae116=_0x59368a[_0xde6bd7+0xe],_0x322406=_0x59368a[_0xde6bd7+0xf],_0x4403ec=_0x3fd4aa[0x0],_0x48b249=_0x3fd4aa[0x1],_0x4e55a9=_0x3fd4aa[0x2],_0x25e1cc=_0x3fd4aa[0x3];_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x296f55,0x7,_0x5c9c4f[0x0]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0xa52324,0xc,_0x5c9c4f[0x1]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x175298,0x11,_0x5c9c4f[0x2]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x1d66a8,0x16,_0x5c9c4f[0x3]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x18f42e,0x7,_0x5c9c4f[0x4]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x2594ed,0xc,_0x5c9c4f[0x5]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x387dfa,0x11,_0x5c9c4f[0x6]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x3ab139,0x16,_0x5c9c4f[0x7]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x423011,0x7,_0x5c9c4f[0x8]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x4d524e,0xc,_0x5c9c4f[0x9]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x33482d,0x11,_0x5c9c4f[0xa]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x22cd2c,0x16,_0x5c9c4f[0xb]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x16704f,0x7,_0x5c9c4f[0xc]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x520035,0xc,_0x5c9c4f[0xd]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ae116,0x11,_0x5c9c4f[0xe]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x322406,0x16,_0x5c9c4f[0xf]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0xa52324,0x5,_0x5c9c4f[0x10]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x387dfa,0x9,_0x5c9c4f[0x11]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x22cd2c,0xe,_0x5c9c4f[0x12]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x296f55,0x14,_0x5c9c4f[0x13]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x2594ed,0x5,_0x5c9c4f[0x14]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x33482d,0x9,_0x5c9c4f[0x15]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x322406,0xe,_0x5c9c4f[0x16]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x18f42e,0x14,_0x5c9c4f[0x17]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x4d524e,0x5,_0x5c9c4f[0x18]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x3ae116,0x9,_0x5c9c4f[0x19]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x1d66a8,0xe,_0x5c9c4f[0x1a]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x423011,0x14,_0x5c9c4f[0x1b]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x520035,0x5,_0x5c9c4f[0x1c]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x175298,0x9,_0x5c9c4f[0x1d]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ab139,0xe,_0x5c9c4f[0x1e]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x16704f,0x14,_0x5c9c4f[0x1f]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x2594ed,0x4,_0x5c9c4f[0x20]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x423011,0xb,_0x5c9c4f[0x21]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x22cd2c,0x10,_0x5c9c4f[0x22]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x3ae116,0x17,_0x5c9c4f[0x23]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0xa52324,0x4,_0x5c9c4f[0x24]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x18f42e,0xb,_0x5c9c4f[0x25]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ab139,0x10,_0x5c9c4f[0x26]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x33482d,0x17,_0x5c9c4f[0x27]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x520035,0x4,_0x5c9c4f[0x28]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x296f55,0xb,_0x5c9c4f[0x29]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x1d66a8,0x10,_0x5c9c4f[0x2a]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x387dfa,0x17,_0x5c9c4f[0x2b]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x4d524e,0x4,_0x5c9c4f[0x2c]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x16704f,0xb,_0x5c9c4f[0x2d]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x322406,0x10,_0x5c9c4f[0x2e]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x175298,0x17,_0x5c9c4f[0x2f]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x296f55,0x6,_0x5c9c4f[0x30]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x3ab139,0xa,_0x5c9c4f[0x31]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ae116,0xf,_0x5c9c4f[0x32]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x2594ed,0x15,_0x5c9c4f[0x33]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x16704f,0x6,_0x5c9c4f[0x34]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x1d66a8,0xa,_0x5c9c4f[0x35]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x33482d,0xf,_0x5c9c4f[0x36]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0xa52324,0x15,_0x5c9c4f[0x37]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x423011,0x6,_0x5c9c4f[0x38]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x322406,0xa,_0x5c9c4f[0x39]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x387dfa,0xf,_0x5c9c4f[0x3a]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x520035,0x15,_0x5c9c4f[0x3b]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x18f42e,0x6,_0x5c9c4f[0x3c]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x22cd2c,0xa,_0x5c9c4f[0x3d]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x175298,0xf,_0x5c9c4f[0x3e]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x4d524e,0x15,_0x5c9c4f[0x3f]),_0x3fd4aa[0x0]=_0x3fd4aa[0x0]+_0x4403ec|0x0,_0x3fd4aa[0x1]=_0x3fd4aa[0x1]+_0x48b249|0x0,_0x3fd4aa[0x2]=_0x3fd4aa[0x2]+_0x4e55a9|0x0,_0x3fd4aa[0x3]=_0x3fd4aa[0x3]+_0x25e1cc|0x0;},'_doFinalize':function(){var _0x427324=_0x4ec1ab,_0x1acaa6=this[_0x427324(0x219)],_0x394d3d=_0x1acaa6[_0x427324(0x171)],_0x2dd8a7=this[_0x427324(0x2e9)]*0x8,_0x1202b5=_0x1acaa6[_0x427324(0x172)]*0x8;_0x394d3d[_0x1202b5>>>0x5]|=0x80<<0x18-_0x1202b5%0x20;var _0x1076c1=_0x80b3ad[_0x427324(0x1ce)](_0x2dd8a7/0x100000000),_0x2d4930=_0x2dd8a7;_0x394d3d[(_0x1202b5+0x40>>>0x9<<0x4)+0xf]=(_0x1076c1<<0x8|_0x1076c1>>>0x18)&0xff00ff|(_0x1076c1<<0x18|_0x1076c1>>>0x8)&0xff00ff00,_0x394d3d[(_0x1202b5+0x40>>>0x9<<0x4)+0xe]=(_0x2d4930<<0x8|_0x2d4930>>>0x18)&0xff00ff|(_0x2d4930<<0x18|_0x2d4930>>>0x8)&0xff00ff00,_0x1acaa6[_0x427324(0x172)]=(_0x394d3d[_0x427324(0xb8)]+0x1)*0x4,this[_0x427324(0x359)]();for(var _0x115abc=this[_0x427324(0x1f3)],_0x769030=_0x115abc['words'],_0x43cc93=0x0;_0x43cc93<0x4;_0x43cc93++){var _0x355b45=_0x769030[_0x43cc93];_0x769030[_0x43cc93]=(_0x355b45<<0x8|_0x355b45>>>0x18)&0xff00ff|(_0x355b45<<0x18|_0x355b45>>>0x8)&0xff00ff00;}return _0x115abc;},'clone':function(){var _0x4e1e0c=_0x4ec1ab,_0x4055bf=_0x317648[_0x4e1e0c(0x228)][_0x4e1e0c(0x103)](this);return _0x4055bf['_hash']=this[_0x4e1e0c(0x1f3)][_0x4e1e0c(0x228)](),_0x4055bf;}});function _0x162622(_0x29d2f2,_0x18e3da,_0x3ebe7f,_0x5166ca,_0x4c5537,_0x2dbb6d,_0x35bffb){var _0x3b7975=_0x29d2f2+(_0x18e3da&_0x3ebe7f|~_0x18e3da&_0x5166ca)+_0x4c5537+_0x35bffb;return(_0x3b7975<<_0x2dbb6d|_0x3b7975>>>0x20-_0x2dbb6d)+_0x18e3da;}function _0x115501(_0x4e951d,_0x3aaa04,_0x17b794,_0x4a5bed,_0x33d341,_0x4bdbd1,_0x4a8a32){var _0x58ebba=_0x4e951d+(_0x3aaa04&_0x4a5bed|_0x17b794&~_0x4a5bed)+_0x33d341+_0x4a8a32;return(_0x58ebba<<_0x4bdbd1|_0x58ebba>>>0x20-_0x4bdbd1)+_0x3aaa04;}function _0x723826(_0x3bee5c,_0x2aed62,_0x435312,_0x2179fc,_0x4cef44,_0x37d330,_0x4dbb98){var _0xe38120=_0x3bee5c+(_0x2aed62^_0x435312^_0x2179fc)+_0x4cef44+_0x4dbb98;return(_0xe38120<<_0x37d330|_0xe38120>>>0x20-_0x37d330)+_0x2aed62;}function _0x297ba4(_0x5412d4,_0x525959,_0x52b21d,_0x1260f9,_0x23e1ed,_0x48a80b,_0x3d6233){var _0x20c6ef=_0x5412d4+(_0x52b21d^(_0x525959|~_0x1260f9))+_0x23e1ed+_0x3d6233;return(_0x20c6ef<<_0x48a80b|_0x20c6ef>>>0x20-_0x48a80b)+_0x525959;}_0x42d35b[_0x4ec1ab(0x301)]=_0x317648['_createHelper'](_0x2b481b),_0x42d35b[_0x4ec1ab(0x2f4)]=_0x317648[_0x4ec1ab(0x289)](_0x2b481b);}(Math),_0x27a287['MD5'];}));}(Ke)),Ke[_0x2c0e45(0x30f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x409aab(0x30f)],ti;function Hr(){var _0xbc205f=_0x409aab;return ti||(ti=0x1,function(_0x23d7e1,_0x53ab28){(function(_0x5cc317,_0x461278){_0x23d7e1['exports']=_0x461278(ne());}($r,function(_0x1469ba){var _0x406d19=_0x5cef;return(function(){var _0x5f3afe=_0x5cef,_0x884728=_0x1469ba,_0x29530f=_0x884728[_0x5f3afe(0x33e)],_0x288e06=_0x29530f[_0x5f3afe(0x25c)],_0x4443e4=_0x29530f[_0x5f3afe(0x326)],_0xa19492=_0x884728[_0x5f3afe(0x155)],_0x384658=[],_0xb61d10=_0xa19492[_0x5f3afe(0x1f7)]=_0x4443e4['extend']({'_doReset':function(){var _0x4b5f0a=_0x5f3afe;this['_hash']=new _0x288e06[(_0x4b5f0a(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c02e2,_0xccd1d9){var _0x1ad033=_0x5f3afe;for(var _0x48edc7=this['_hash'][_0x1ad033(0x171)],_0x125073=_0x48edc7[0x0],_0x4beb5d=_0x48edc7[0x1],_0x3a127b=_0x48edc7[0x2],_0x4f74a5=_0x48edc7[0x3],_0x3d5e94=_0x48edc7[0x4],_0x1a5094=0x0;_0x1a5094<0x50;_0x1a5094++){if(_0x1a5094<0x10)_0x384658[_0x1a5094]=_0x3c02e2[_0xccd1d9+_0x1a5094]|0x0;else{var _0x1997c3=_0x384658[_0x1a5094-0x3]^_0x384658[_0x1a5094-0x8]^_0x384658[_0x1a5094-0xe]^_0x384658[_0x1a5094-0x10];_0x384658[_0x1a5094]=_0x1997c3<<0x1|_0x1997c3>>>0x1f;}var _0x2caf10=(_0x125073<<0x5|_0x125073>>>0x1b)+_0x3d5e94+_0x384658[_0x1a5094];_0x1a5094<0x14?_0x2caf10+=(_0x4beb5d&_0x3a127b|~_0x4beb5d&_0x4f74a5)+0x5a827999:_0x1a5094<0x28?_0x2caf10+=(_0x4beb5d^_0x3a127b^_0x4f74a5)+0x6ed9eba1:_0x1a5094<0x3c?_0x2caf10+=(_0x4beb5d&_0x3a127b|_0x4beb5d&_0x4f74a5|_0x3a127b&_0x4f74a5)-0x70e44324:_0x2caf10+=(_0x4beb5d^_0x3a127b^_0x4f74a5)-0x359d3e2a,_0x3d5e94=_0x4f74a5,_0x4f74a5=_0x3a127b,_0x3a127b=_0x4beb5d<<0x1e|_0x4beb5d>>>0x2,_0x4beb5d=_0x125073,_0x125073=_0x2caf10;}_0x48edc7[0x0]=_0x48edc7[0x0]+_0x125073|0x0,_0x48edc7[0x1]=_0x48edc7[0x1]+_0x4beb5d|0x0,_0x48edc7[0x2]=_0x48edc7[0x2]+_0x3a127b|0x0,_0x48edc7[0x3]=_0x48edc7[0x3]+_0x4f74a5|0x0,_0x48edc7[0x4]=_0x48edc7[0x4]+_0x3d5e94|0x0;},'_doFinalize':function(){var _0x3f1198=_0x5f3afe,_0x5add78=this[_0x3f1198(0x219)],_0x5b0e15=_0x5add78[_0x3f1198(0x171)],_0x4911cc=this[_0x3f1198(0x2e9)]*0x8,_0x3ebd8e=_0x5add78[_0x3f1198(0x172)]*0x8;return _0x5b0e15[_0x3ebd8e>>>0x5]|=0x80<<0x18-_0x3ebd8e%0x20,_0x5b0e15[(_0x3ebd8e+0x40>>>0x9<<0x4)+0xe]=Math[_0x3f1198(0x1ce)](_0x4911cc/0x100000000),_0x5b0e15[(_0x3ebd8e+0x40>>>0x9<<0x4)+0xf]=_0x4911cc,_0x5add78['sigBytes']=_0x5b0e15[_0x3f1198(0xb8)]*0x4,this[_0x3f1198(0x359)](),this[_0x3f1198(0x1f3)];},'clone':function(){var _0x416bcc=_0x5f3afe,_0x4d9677=_0x4443e4[_0x416bcc(0x228)][_0x416bcc(0x103)](this);return _0x4d9677[_0x416bcc(0x1f3)]=this['_hash'][_0x416bcc(0x228)](),_0x4d9677;}});_0x884728[_0x5f3afe(0x1f7)]=_0x4443e4[_0x5f3afe(0x130)](_0xb61d10),_0x884728['HmacSHA1']=_0x4443e4['_createHmacHelper'](_0xb61d10);}()),_0x1469ba[_0x406d19(0x1f7)];}));}(qe)),qe[_0xbc205f(0x30f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x252646=_0x409aab;return ii||(ii=0x1,function(_0x2bd5c7,_0x25505f){(function(_0x2cb5d4,_0x48dde4){var _0xc949a8=_0x5cef;_0x2bd5c7[_0xc949a8(0x30f)]=_0x48dde4(ne());}(kr,function(_0x4f2cdc){(function(){var _0x4bfde4=_0x5cef,_0x33955a=_0x4f2cdc,_0x51771b=_0x33955a[_0x4bfde4(0x33e)],_0x42d1a0=_0x51771b[_0x4bfde4(0x12a)],_0x419969=_0x33955a[_0x4bfde4(0x1ff)],_0x4d5e2c=_0x419969['Utf8'],_0x4dec32=_0x33955a[_0x4bfde4(0x155)];_0x4dec32['HMAC']=_0x42d1a0[_0x4bfde4(0x166)]({'init':function(_0x177cdb,_0x1be2f3){var _0x3cf624=_0x4bfde4;_0x177cdb=this[_0x3cf624(0x2cf)]=new _0x177cdb[(_0x3cf624(0x1b2))](),typeof _0x1be2f3==_0x3cf624(0x229)&&(_0x1be2f3=_0x4d5e2c[_0x3cf624(0x377)](_0x1be2f3));var _0x4ae30b=_0x177cdb['blockSize'],_0x1bb6af=_0x4ae30b*0x4;_0x1be2f3[_0x3cf624(0x172)]>_0x1bb6af&&(_0x1be2f3=_0x177cdb['finalize'](_0x1be2f3)),_0x1be2f3[_0x3cf624(0x124)]();for(var _0xf869d8=this[_0x3cf624(0x33d)]=_0x1be2f3[_0x3cf624(0x228)](),_0x3a96a4=this[_0x3cf624(0x1d9)]=_0x1be2f3[_0x3cf624(0x228)](),_0x3628cf=_0xf869d8['words'],_0x384503=_0x3a96a4['words'],_0x3ca6b3=0x0;_0x3ca6b3<_0x4ae30b;_0x3ca6b3++)_0x3628cf[_0x3ca6b3]^=0x5c5c5c5c,_0x384503[_0x3ca6b3]^=0x36363636;_0xf869d8['sigBytes']=_0x3a96a4[_0x3cf624(0x172)]=_0x1bb6af,this[_0x3cf624(0x1b7)]();},'reset':function(){var _0x15eee2=_0x4bfde4,_0x39135f=this[_0x15eee2(0x2cf)];_0x39135f['reset'](),_0x39135f[_0x15eee2(0x319)](this['_iKey']);},'update':function(_0x2d6dd1){return this['_hasher']['update'](_0x2d6dd1),this;},'finalize':function(_0x8d1177){var _0x28068a=_0x4bfde4,_0x19e3b3=this[_0x28068a(0x2cf)],_0x5cdf9b=_0x19e3b3[_0x28068a(0x2ae)](_0x8d1177);_0x19e3b3[_0x28068a(0x1b7)]();var _0x3c7efd=_0x19e3b3['finalize'](this[_0x28068a(0x33d)][_0x28068a(0x228)]()[_0x28068a(0xd9)](_0x5cdf9b));return _0x3c7efd;}});}());}));}(ze)),ze[_0x252646(0x30f)];}var Br=Ye[_0x409aab(0x30f)],ni;function Ui(){var _0xa60faf=_0x409aab;return ni||(ni=0x1,function(_0x4f4879,_0x803fb0){(function(_0x5a58e6,_0x194b2b,_0x523db4){var _0x187709=_0x5cef;_0x4f4879[_0x187709(0x30f)]=_0x194b2b(ne(),Hr(),jr());}(Br,function(_0x546f9e){return(function(){var _0x534f03=_0x5cef,_0x2b65d5=_0x546f9e,_0x482d8b=_0x2b65d5[_0x534f03(0x33e)],_0x23033c=_0x482d8b[_0x534f03(0x12a)],_0x508579=_0x482d8b[_0x534f03(0x25c)],_0x526b21=_0x2b65d5['algo'],_0xa17f06=_0x526b21['MD5'],_0x2003a7=_0x526b21['EvpKDF']=_0x23033c['extend']({'cfg':_0x23033c['extend']({'keySize':0x80/0x20,'hasher':_0xa17f06,'iterations':0x1}),'init':function(_0x41b846){var _0x3511bb=_0x534f03;this[_0x3511bb(0x1ef)]=this[_0x3511bb(0x1ef)][_0x3511bb(0x166)](_0x41b846);},'compute':function(_0x5eefd8,_0x4b8c4b){var _0x3b772e=_0x534f03;for(var _0x35a04a,_0x48eacd=this['cfg'],_0x36bba8=_0x48eacd[_0x3b772e(0x28b)][_0x3b772e(0x1fb)](),_0x5b5df5=_0x508579[_0x3b772e(0x1fb)](),_0xec8d78=_0x5b5df5[_0x3b772e(0x171)],_0x5dc7ce=_0x48eacd[_0x3b772e(0xd5)],_0x5bbf9a=_0x48eacd['iterations'];_0xec8d78[_0x3b772e(0xb8)]<_0x5dc7ce;){_0x35a04a&&_0x36bba8[_0x3b772e(0x319)](_0x35a04a),_0x35a04a=_0x36bba8[_0x3b772e(0x319)](_0x5eefd8)[_0x3b772e(0x2ae)](_0x4b8c4b),_0x36bba8[_0x3b772e(0x1b7)]();for(var _0x3f03ee=0x1;_0x3f03ee<_0x5bbf9a;_0x3f03ee++)_0x35a04a=_0x36bba8[_0x3b772e(0x2ae)](_0x35a04a),_0x36bba8[_0x3b772e(0x1b7)]();_0x5b5df5[_0x3b772e(0xd9)](_0x35a04a);}return _0x5b5df5[_0x3b772e(0x172)]=_0x5dc7ce*0x4,_0x5b5df5;}});_0x2b65d5['EvpKDF']=function(_0x1344e0,_0x41ff40,_0x4a2522){var _0x74c98=_0x534f03;return _0x2003a7[_0x74c98(0x1fb)](_0x4a2522)['compute'](_0x1344e0,_0x41ff40);};}()),_0x546f9e['EvpKDF'];}));}(Ye)),Ye[_0xa60faf(0x30f)];}var Je={'exports':{}},Fr=Je[_0x409aab(0x30f)],ri;function Ai(){var _0x42bc0f=_0x409aab;return ri||(ri=0x1,function(_0x402e45,_0x30600e){(function(_0x1cee4f,_0x4e8212,_0x244da0){var _0x5e3fc6=_0x5cef;_0x402e45[_0x5e3fc6(0x30f)]=_0x4e8212(ne(),Ui());}(Fr,function(_0xac349){var _0x50aa28=_0x5cef;_0xac349[_0x50aa28(0x33e)][_0x50aa28(0x2fc)]||function(_0x702cdb){var _0x429a86=_0x50aa28,_0x341bbc=_0xac349,_0x8ec72c=_0x341bbc[_0x429a86(0x33e)],_0x58e928=_0x8ec72c[_0x429a86(0x12a)],_0x138bba=_0x8ec72c[_0x429a86(0x25c)],_0x2435f7=_0x8ec72c[_0x429a86(0x24b)],_0x48766d=_0x341bbc[_0x429a86(0x1ff)];_0x48766d['Utf8'];var _0x5f3bb3=_0x48766d[_0x429a86(0x358)],_0x330c03=_0x341bbc['algo'],_0x5d72ea=_0x330c03['EvpKDF'],_0x4eda07=_0x8ec72c['Cipher']=_0x2435f7[_0x429a86(0x166)]({'cfg':_0x58e928[_0x429a86(0x166)](),'createEncryptor':function(_0x2a195a,_0x43a886){var _0x320767=_0x429a86;return this[_0x320767(0x1fb)](this[_0x320767(0x1db)],_0x2a195a,_0x43a886);},'createDecryptor':function(_0x33de41,_0xee718b){var _0x862947=_0x429a86;return this[_0x862947(0x1fb)](this['_DEC_XFORM_MODE'],_0x33de41,_0xee718b);},'init':function(_0x5aba78,_0x222b7e,_0xe0746e){var _0x4bd163=_0x429a86;this[_0x4bd163(0x1ef)]=this[_0x4bd163(0x1ef)][_0x4bd163(0x166)](_0xe0746e),this['_xformMode']=_0x5aba78,this[_0x4bd163(0x13f)]=_0x222b7e,this['reset']();},'reset':function(){var _0x4bdf05=_0x429a86;_0x2435f7['reset'][_0x4bdf05(0x103)](this),this[_0x4bdf05(0x25f)]();},'process':function(_0xb0c65e){var _0x59f079=_0x429a86;return this[_0x59f079(0x10d)](_0xb0c65e),this['_process']();},'finalize':function(_0x1492da){var _0x17995e=_0x429a86;_0x1492da&&this['_append'](_0x1492da);var _0x3c71c3=this[_0x17995e(0x14c)]();return _0x3c71c3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2229c4(_0x126cf0){var _0x4dddff=_0x5cef;return typeof _0x126cf0==_0x4dddff(0x229)?_0x3c1f59:_0x4af7b9;}return function(_0x5d9649){return{'encrypt':function(_0x4938ca,_0x12cbe1,_0x15d92a){var _0x4df175=_0x5cef;return _0x2229c4(_0x12cbe1)[_0x4df175(0xab)](_0x5d9649,_0x4938ca,_0x12cbe1,_0x15d92a);},'decrypt':function(_0xb01a32,_0x41de92,_0x15c9a3){var _0x39f1cd=_0x5cef;return _0x2229c4(_0x41de92)[_0x39f1cd(0x1d8)](_0x5d9649,_0xb01a32,_0x41de92,_0x15c9a3);}};};}())});_0x8ec72c[_0x429a86(0x1fe)]=_0x4eda07['extend']({'_doFinalize':function(){var _0x3f9859=this['_process'](!0x0);return _0x3f9859;},'blockSize':0x1});var _0x440a97=_0x341bbc[_0x429a86(0x2f1)]={},_0x91b473=_0x8ec72c['BlockCipherMode']=_0x58e928[_0x429a86(0x166)]({'createEncryptor':function(_0x1c1461,_0xd12166){return this['Encryptor']['create'](_0x1c1461,_0xd12166);},'createDecryptor':function(_0xbade5d,_0x335fd9){var _0x1a657a=_0x429a86;return this[_0x1a657a(0x142)]['create'](_0xbade5d,_0x335fd9);},'init':function(_0x18cb01,_0x312590){var _0x5ba013=_0x429a86;this[_0x5ba013(0xb1)]=_0x18cb01,this[_0x5ba013(0x272)]=_0x312590;}}),_0x138dcf=_0x440a97[_0x429a86(0x2f2)]=(function(){var _0xc57232=_0x429a86,_0x1dae77=_0x91b473[_0xc57232(0x166)]();_0x1dae77[_0xc57232(0x104)]=_0x1dae77[_0xc57232(0x166)]({'processBlock':function(_0x2c39ba,_0x594815){var _0x1c815b=_0xc57232,_0x30f94b=this[_0x1c815b(0xb1)],_0x981cda=_0x30f94b[_0x1c815b(0x100)];_0x2d9f3f[_0x1c815b(0x103)](this,_0x2c39ba,_0x594815,_0x981cda),_0x30f94b['encryptBlock'](_0x2c39ba,_0x594815),this[_0x1c815b(0x15e)]=_0x2c39ba[_0x1c815b(0xe5)](_0x594815,_0x594815+_0x981cda);}}),_0x1dae77[_0xc57232(0x142)]=_0x1dae77['extend']({'processBlock':function(_0x3e9303,_0x254b4f){var _0x5388ba=_0xc57232,_0x35248b=this[_0x5388ba(0xb1)],_0x32d366=_0x35248b['blockSize'],_0x169616=_0x3e9303['slice'](_0x254b4f,_0x254b4f+_0x32d366);_0x35248b[_0x5388ba(0x249)](_0x3e9303,_0x254b4f),_0x2d9f3f[_0x5388ba(0x103)](this,_0x3e9303,_0x254b4f,_0x32d366),this[_0x5388ba(0x15e)]=_0x169616;}});function _0x2d9f3f(_0x2e184d,_0x3947b3,_0x17a10a){var _0x377140=_0xc57232,_0x4019bc,_0x2c4a89=this['_iv'];_0x2c4a89?(_0x4019bc=_0x2c4a89,this[_0x377140(0x272)]=_0x702cdb):_0x4019bc=this[_0x377140(0x15e)];for(var _0x53dceb=0x0;_0x53dceb<_0x17a10a;_0x53dceb++)_0x2e184d[_0x3947b3+_0x53dceb]^=_0x4019bc[_0x53dceb];}return _0x1dae77;}()),_0x1bbff0=_0x341bbc[_0x429a86(0xff)]={},_0x2cf6c5=_0x1bbff0[_0x429a86(0x1cf)]={'pad':function(_0x198935,_0x28f236){var _0x6aeb2a=_0x429a86;for(var _0x1b328a=_0x28f236*0x4,_0x4dddcc=_0x1b328a-_0x198935[_0x6aeb2a(0x172)]%_0x1b328a,_0x336766=_0x4dddcc<<0x18|_0x4dddcc<<0x10|_0x4dddcc<<0x8|_0x4dddcc,_0x7b1ace=[],_0x7aa40c=0x0;_0x7aa40c<_0x4dddcc;_0x7aa40c+=0x4)_0x7b1ace[_0x6aeb2a(0x8f)](_0x336766);var _0x43508e=_0x138bba['create'](_0x7b1ace,_0x4dddcc);_0x198935[_0x6aeb2a(0xd9)](_0x43508e);},'unpad':function(_0x3ea904){var _0x1593ca=_0x429a86,_0x4b4116=_0x3ea904['words'][_0x3ea904[_0x1593ca(0x172)]-0x1>>>0x2]&0xff;_0x3ea904[_0x1593ca(0x172)]-=_0x4b4116;}};_0x8ec72c[_0x429a86(0x244)]=_0x4eda07[_0x429a86(0x166)]({'cfg':_0x4eda07['cfg'][_0x429a86(0x166)]({'mode':_0x138dcf,'padding':_0x2cf6c5}),'reset':function(){var _0xc49b2=_0x429a86,_0x2ea4f0;_0x4eda07[_0xc49b2(0x1b7)][_0xc49b2(0x103)](this);var _0x5a092e=this[_0xc49b2(0x1ef)],_0x17efb1=_0x5a092e['iv'],_0x5661bd=_0x5a092e['mode'];this[_0xc49b2(0x27d)]==this[_0xc49b2(0x1db)]?_0x2ea4f0=_0x5661bd['createEncryptor']:(_0x2ea4f0=_0x5661bd[_0xc49b2(0x11c)],this[_0xc49b2(0x161)]=0x1),this[_0xc49b2(0x153)]&&this[_0xc49b2(0x153)][_0xc49b2(0x1d5)]==_0x2ea4f0?this[_0xc49b2(0x153)][_0xc49b2(0x1b2)](this,_0x17efb1&&_0x17efb1['words']):(this[_0xc49b2(0x153)]=_0x2ea4f0[_0xc49b2(0x103)](_0x5661bd,this,_0x17efb1&&_0x17efb1['words']),this[_0xc49b2(0x153)][_0xc49b2(0x1d5)]=_0x2ea4f0);},'_doProcessBlock':function(_0x271f23,_0x575344){var _0x105668=_0x429a86;this[_0x105668(0x153)]['processBlock'](_0x271f23,_0x575344);},'_doFinalize':function(){var _0x105cf2=_0x429a86,_0x1d9b25,_0x553098=this[_0x105cf2(0x1ef)][_0x105cf2(0x363)];return this[_0x105cf2(0x27d)]==this[_0x105cf2(0x1db)]?(_0x553098[_0x105cf2(0xff)](this[_0x105cf2(0x219)],this['blockSize']),_0x1d9b25=this[_0x105cf2(0x359)](!0x0)):(_0x1d9b25=this['_process'](!0x0),_0x553098[_0x105cf2(0xf1)](_0x1d9b25)),_0x1d9b25;},'blockSize':0x80/0x20});var _0x3b3a3a=_0x8ec72c['CipherParams']=_0x58e928[_0x429a86(0x166)]({'init':function(_0x3b801a){var _0x5adbc5=_0x429a86;this[_0x5adbc5(0x16d)](_0x3b801a);},'toString':function(_0x18298c){var _0x4c4942=_0x429a86;return(_0x18298c||this['formatter'])[_0x4c4942(0xfc)](this);}}),_0xefac0b=_0x341bbc[_0x429a86(0x286)]={},_0x4be0d4=_0xefac0b[_0x429a86(0x2ed)]={'stringify':function(_0x47c9dc){var _0x3761f7=_0x429a86,_0x5b2223,_0x13af0f=_0x47c9dc[_0x3761f7(0xf3)],_0x5cd78e=_0x47c9dc[_0x3761f7(0x329)];return _0x5cd78e?_0x5b2223=_0x138bba[_0x3761f7(0x1fb)]([0x53616c74,0x65645f5f])[_0x3761f7(0xd9)](_0x5cd78e)[_0x3761f7(0xd9)](_0x13af0f):_0x5b2223=_0x13af0f,_0x5b2223[_0x3761f7(0x238)](_0x5f3bb3);},'parse':function(_0x22a8e0){var _0x58ff53=_0x429a86,_0x43251e,_0x3ceb2e=_0x5f3bb3[_0x58ff53(0x377)](_0x22a8e0),_0x3b6ed0=_0x3ceb2e[_0x58ff53(0x171)];return _0x3b6ed0[0x0]==0x53616c74&&_0x3b6ed0[0x1]==0x65645f5f&&(_0x43251e=_0x138bba[_0x58ff53(0x1fb)](_0x3b6ed0[_0x58ff53(0xe5)](0x2,0x4)),_0x3b6ed0['splice'](0x0,0x4),_0x3ceb2e[_0x58ff53(0x172)]-=0x10),_0x3b3a3a[_0x58ff53(0x1fb)]({'ciphertext':_0x3ceb2e,'salt':_0x43251e});}},_0x4af7b9=_0x8ec72c[_0x429a86(0x193)]=_0x58e928[_0x429a86(0x166)]({'cfg':_0x58e928[_0x429a86(0x166)]({'format':_0x4be0d4}),'encrypt':function(_0x50dd29,_0x3e1b42,_0x4dc9c0,_0x14c855){var _0x3bddff=_0x429a86;_0x14c855=this[_0x3bddff(0x1ef)][_0x3bddff(0x166)](_0x14c855);var _0x525896=_0x50dd29[_0x3bddff(0x101)](_0x4dc9c0,_0x14c855),_0x14f2fb=_0x525896[_0x3bddff(0x2ae)](_0x3e1b42),_0x345a89=_0x525896[_0x3bddff(0x1ef)];return _0x3b3a3a[_0x3bddff(0x1fb)]({'ciphertext':_0x14f2fb,'key':_0x4dc9c0,'iv':_0x345a89['iv'],'algorithm':_0x50dd29,'mode':_0x345a89['mode'],'padding':_0x345a89[_0x3bddff(0x363)],'blockSize':_0x50dd29[_0x3bddff(0x100)],'formatter':_0x14c855[_0x3bddff(0x286)]});},'decrypt':function(_0x1a1fa9,_0x5ae3b0,_0x57e760,_0x454668){var _0x5a0271=_0x429a86;_0x454668=this['cfg'][_0x5a0271(0x166)](_0x454668),_0x5ae3b0=this[_0x5a0271(0x138)](_0x5ae3b0,_0x454668[_0x5a0271(0x286)]);var _0x51f83f=_0x1a1fa9['createDecryptor'](_0x57e760,_0x454668)[_0x5a0271(0x2ae)](_0x5ae3b0[_0x5a0271(0xf3)]);return _0x51f83f;},'_parse':function(_0x2815ca,_0x4aa850){var _0x18f6d1=_0x429a86;return typeof _0x2815ca==_0x18f6d1(0x229)?_0x4aa850[_0x18f6d1(0x377)](_0x2815ca,this):_0x2815ca;}}),_0x5266d7=_0x341bbc[_0x429a86(0x9d)]={},_0x46c541=_0x5266d7[_0x429a86(0x2ed)]={'execute':function(_0x54b240,_0x94249c,_0x16257d,_0x17a6cf,_0xd580c){var _0xb83fe4=_0x429a86;if(_0x17a6cf||(_0x17a6cf=_0x138bba[_0xb83fe4(0x275)](0x40/0x8)),_0xd580c)var _0x599dbd=_0x5d72ea[_0xb83fe4(0x1fb)]({'keySize':_0x94249c+_0x16257d,'hasher':_0xd580c})[_0xb83fe4(0x1ed)](_0x54b240,_0x17a6cf);else var _0x599dbd=_0x5d72ea[_0xb83fe4(0x1fb)]({'keySize':_0x94249c+_0x16257d})[_0xb83fe4(0x1ed)](_0x54b240,_0x17a6cf);var _0x5be645=_0x138bba[_0xb83fe4(0x1fb)](_0x599dbd[_0xb83fe4(0x171)]['slice'](_0x94249c),_0x16257d*0x4);return _0x599dbd[_0xb83fe4(0x172)]=_0x94249c*0x4,_0x3b3a3a[_0xb83fe4(0x1fb)]({'key':_0x599dbd,'iv':_0x5be645,'salt':_0x17a6cf});}},_0x3c1f59=_0x8ec72c[_0x429a86(0x32f)]=_0x4af7b9[_0x429a86(0x166)]({'cfg':_0x4af7b9[_0x429a86(0x1ef)][_0x429a86(0x166)]({'kdf':_0x46c541}),'encrypt':function(_0x542ac3,_0x2f4c40,_0x1240e9,_0x37aa65){var _0x319f67=_0x429a86;_0x37aa65=this[_0x319f67(0x1ef)][_0x319f67(0x166)](_0x37aa65);var _0x46c17b=_0x37aa65[_0x319f67(0x9d)][_0x319f67(0x328)](_0x1240e9,_0x542ac3[_0x319f67(0xd5)],_0x542ac3[_0x319f67(0x35a)],_0x37aa65['salt'],_0x37aa65[_0x319f67(0x28b)]);_0x37aa65['iv']=_0x46c17b['iv'];var _0x18f579=_0x4af7b9[_0x319f67(0xab)][_0x319f67(0x103)](this,_0x542ac3,_0x2f4c40,_0x46c17b[_0x319f67(0x321)],_0x37aa65);return _0x18f579[_0x319f67(0x16d)](_0x46c17b),_0x18f579;},'decrypt':function(_0x16d8d9,_0x2c71c5,_0x24d987,_0x184b05){var _0x94f26f=_0x429a86;_0x184b05=this['cfg']['extend'](_0x184b05),_0x2c71c5=this[_0x94f26f(0x138)](_0x2c71c5,_0x184b05[_0x94f26f(0x286)]);var _0x3df3ac=_0x184b05[_0x94f26f(0x9d)][_0x94f26f(0x328)](_0x24d987,_0x16d8d9[_0x94f26f(0xd5)],_0x16d8d9[_0x94f26f(0x35a)],_0x2c71c5[_0x94f26f(0x329)],_0x184b05[_0x94f26f(0x28b)]);_0x184b05['iv']=_0x3df3ac['iv'];var _0x99127f=_0x4af7b9[_0x94f26f(0x1d8)][_0x94f26f(0x103)](this,_0x16d8d9,_0x2c71c5,_0x3df3ac[_0x94f26f(0x321)],_0x184b05);return _0x99127f;}});}();}));}(Je)),Je[_0x42bc0f(0x30f)];}var Vr=Ve[_0x409aab(0x30f)],si;function Gr(){return si||(si=0x1,function(_0xb6f4a,_0x434b2b){(function(_0x1d62b5,_0x416581,_0x54f054){var _0x406a72=_0x5cef;_0xb6f4a[_0x406a72(0x30f)]=_0x416581(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x61b40){var _0x1ff129=_0x5cef;return(function(){var _0x47e2dd=_0x5cef,_0x1a3c0f=_0x61b40,_0x195ec2=_0x1a3c0f['lib'],_0xb64015=_0x195ec2['BlockCipher'],_0x407340=_0x1a3c0f[_0x47e2dd(0x155)],_0x322ae1=[],_0xc88938=[],_0x49e4b3=[],_0x44d21d=[],_0xcdd2bf=[],_0x1c2f67=[],_0x331a90=[],_0x2424e8=[],_0x2c5170=[],_0x394dab=[];(function(){for(var _0x16444f=[],_0x504a94=0x0;_0x504a94<0x100;_0x504a94++)_0x504a94<0x80?_0x16444f[_0x504a94]=_0x504a94<<0x1:_0x16444f[_0x504a94]=_0x504a94<<0x1^0x11b;for(var _0x24aab8=0x0,_0x5dfcc6=0x0,_0x504a94=0x0;_0x504a94<0x100;_0x504a94++){var _0x5af30e=_0x5dfcc6^_0x5dfcc6<<0x1^_0x5dfcc6<<0x2^_0x5dfcc6<<0x3^_0x5dfcc6<<0x4;_0x5af30e=_0x5af30e>>>0x8^_0x5af30e&0xff^0x63,_0x322ae1[_0x24aab8]=_0x5af30e,_0xc88938[_0x5af30e]=_0x24aab8;var _0x469230=_0x16444f[_0x24aab8],_0x52d0c5=_0x16444f[_0x469230],_0x2c627f=_0x16444f[_0x52d0c5],_0x312cd6=_0x16444f[_0x5af30e]*0x101^_0x5af30e*0x1010100;_0x49e4b3[_0x24aab8]=_0x312cd6<<0x18|_0x312cd6>>>0x8,_0x44d21d[_0x24aab8]=_0x312cd6<<0x10|_0x312cd6>>>0x10,_0xcdd2bf[_0x24aab8]=_0x312cd6<<0x8|_0x312cd6>>>0x18,_0x1c2f67[_0x24aab8]=_0x312cd6;var _0x312cd6=_0x2c627f*0x1010101^_0x52d0c5*0x10001^_0x469230*0x101^_0x24aab8*0x1010100;_0x331a90[_0x5af30e]=_0x312cd6<<0x18|_0x312cd6>>>0x8,_0x2424e8[_0x5af30e]=_0x312cd6<<0x10|_0x312cd6>>>0x10,_0x2c5170[_0x5af30e]=_0x312cd6<<0x8|_0x312cd6>>>0x18,_0x394dab[_0x5af30e]=_0x312cd6,_0x24aab8?(_0x24aab8=_0x469230^_0x16444f[_0x16444f[_0x16444f[_0x2c627f^_0x469230]]],_0x5dfcc6^=_0x16444f[_0x16444f[_0x5dfcc6]]):_0x24aab8=_0x5dfcc6=0x1;}}());var _0x1870af=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x336241=_0x407340[_0x47e2dd(0x174)]=_0xb64015['extend']({'_doReset':function(){var _0x1f11c4=_0x47e2dd,_0x1d48c6;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x32e6d4=this['_keyPriorReset']=this[_0x1f11c4(0x13f)],_0x4b10c0=_0x32e6d4[_0x1f11c4(0x171)],_0x29d8f2=_0x32e6d4[_0x1f11c4(0x172)]/0x4,_0x57f81e=this[_0x1f11c4(0x1ae)]=_0x29d8f2+0x6,_0x4c6972=(_0x57f81e+0x1)*0x4,_0x36c0aa=this[_0x1f11c4(0x13d)]=[],_0x15724e=0x0;_0x15724e<_0x4c6972;_0x15724e++)_0x15724e<_0x29d8f2?_0x36c0aa[_0x15724e]=_0x4b10c0[_0x15724e]:(_0x1d48c6=_0x36c0aa[_0x15724e-0x1],_0x15724e%_0x29d8f2?_0x29d8f2>0x6&&_0x15724e%_0x29d8f2==0x4&&(_0x1d48c6=_0x322ae1[_0x1d48c6>>>0x18]<<0x18|_0x322ae1[_0x1d48c6>>>0x10&0xff]<<0x10|_0x322ae1[_0x1d48c6>>>0x8&0xff]<<0x8|_0x322ae1[_0x1d48c6&0xff]):(_0x1d48c6=_0x1d48c6<<0x8|_0x1d48c6>>>0x18,_0x1d48c6=_0x322ae1[_0x1d48c6>>>0x18]<<0x18|_0x322ae1[_0x1d48c6>>>0x10&0xff]<<0x10|_0x322ae1[_0x1d48c6>>>0x8&0xff]<<0x8|_0x322ae1[_0x1d48c6&0xff],_0x1d48c6^=_0x1870af[_0x15724e/_0x29d8f2|0x0]<<0x18),_0x36c0aa[_0x15724e]=_0x36c0aa[_0x15724e-_0x29d8f2]^_0x1d48c6);for(var _0x3838f9=this['_invKeySchedule']=[],_0x22408f=0x0;_0x22408f<_0x4c6972;_0x22408f++){var _0x15724e=_0x4c6972-_0x22408f;if(_0x22408f%0x4)var _0x1d48c6=_0x36c0aa[_0x15724e];else var _0x1d48c6=_0x36c0aa[_0x15724e-0x4];_0x22408f<0x4||_0x15724e<=0x4?_0x3838f9[_0x22408f]=_0x1d48c6:_0x3838f9[_0x22408f]=_0x331a90[_0x322ae1[_0x1d48c6>>>0x18]]^_0x2424e8[_0x322ae1[_0x1d48c6>>>0x10&0xff]]^_0x2c5170[_0x322ae1[_0x1d48c6>>>0x8&0xff]]^_0x394dab[_0x322ae1[_0x1d48c6&0xff]];}}},'encryptBlock':function(_0x393089,_0x29615a){var _0x366b8d=_0x47e2dd;this[_0x366b8d(0x22e)](_0x393089,_0x29615a,this['_keySchedule'],_0x49e4b3,_0x44d21d,_0xcdd2bf,_0x1c2f67,_0x322ae1);},'decryptBlock':function(_0x2dac1d,_0x13a1c4){var _0x5edfdc=_0x47e2dd,_0x4fd9cf=_0x2dac1d[_0x13a1c4+0x1];_0x2dac1d[_0x13a1c4+0x1]=_0x2dac1d[_0x13a1c4+0x3],_0x2dac1d[_0x13a1c4+0x3]=_0x4fd9cf,this[_0x5edfdc(0x22e)](_0x2dac1d,_0x13a1c4,this[_0x5edfdc(0x234)],_0x331a90,_0x2424e8,_0x2c5170,_0x394dab,_0xc88938);var _0x4fd9cf=_0x2dac1d[_0x13a1c4+0x1];_0x2dac1d[_0x13a1c4+0x1]=_0x2dac1d[_0x13a1c4+0x3],_0x2dac1d[_0x13a1c4+0x3]=_0x4fd9cf;},'_doCryptBlock':function(_0x33e273,_0x3ff767,_0x576bd7,_0x5f12b2,_0x16d8f8,_0xc01496,_0x488dac,_0x50da4c){var _0x14e819=_0x47e2dd;for(var _0x40cc6f=this[_0x14e819(0x1ae)],_0xbcb694=_0x33e273[_0x3ff767]^_0x576bd7[0x0],_0x256ece=_0x33e273[_0x3ff767+0x1]^_0x576bd7[0x1],_0xe97baa=_0x33e273[_0x3ff767+0x2]^_0x576bd7[0x2],_0x5b4ede=_0x33e273[_0x3ff767+0x3]^_0x576bd7[0x3],_0x540c08=0x4,_0x10e543=0x1;_0x10e543<_0x40cc6f;_0x10e543++){var _0x35c207=_0x5f12b2[_0xbcb694>>>0x18]^_0x16d8f8[_0x256ece>>>0x10&0xff]^_0xc01496[_0xe97baa>>>0x8&0xff]^_0x488dac[_0x5b4ede&0xff]^_0x576bd7[_0x540c08++],_0x551aa1=_0x5f12b2[_0x256ece>>>0x18]^_0x16d8f8[_0xe97baa>>>0x10&0xff]^_0xc01496[_0x5b4ede>>>0x8&0xff]^_0x488dac[_0xbcb694&0xff]^_0x576bd7[_0x540c08++],_0x256de1=_0x5f12b2[_0xe97baa>>>0x18]^_0x16d8f8[_0x5b4ede>>>0x10&0xff]^_0xc01496[_0xbcb694>>>0x8&0xff]^_0x488dac[_0x256ece&0xff]^_0x576bd7[_0x540c08++],_0x4f0333=_0x5f12b2[_0x5b4ede>>>0x18]^_0x16d8f8[_0xbcb694>>>0x10&0xff]^_0xc01496[_0x256ece>>>0x8&0xff]^_0x488dac[_0xe97baa&0xff]^_0x576bd7[_0x540c08++];_0xbcb694=_0x35c207,_0x256ece=_0x551aa1,_0xe97baa=_0x256de1,_0x5b4ede=_0x4f0333;}var _0x35c207=(_0x50da4c[_0xbcb694>>>0x18]<<0x18|_0x50da4c[_0x256ece>>>0x10&0xff]<<0x10|_0x50da4c[_0xe97baa>>>0x8&0xff]<<0x8|_0x50da4c[_0x5b4ede&0xff])^_0x576bd7[_0x540c08++],_0x551aa1=(_0x50da4c[_0x256ece>>>0x18]<<0x18|_0x50da4c[_0xe97baa>>>0x10&0xff]<<0x10|_0x50da4c[_0x5b4ede>>>0x8&0xff]<<0x8|_0x50da4c[_0xbcb694&0xff])^_0x576bd7[_0x540c08++],_0x256de1=(_0x50da4c[_0xe97baa>>>0x18]<<0x18|_0x50da4c[_0x5b4ede>>>0x10&0xff]<<0x10|_0x50da4c[_0xbcb694>>>0x8&0xff]<<0x8|_0x50da4c[_0x256ece&0xff])^_0x576bd7[_0x540c08++],_0x4f0333=(_0x50da4c[_0x5b4ede>>>0x18]<<0x18|_0x50da4c[_0xbcb694>>>0x10&0xff]<<0x10|_0x50da4c[_0x256ece>>>0x8&0xff]<<0x8|_0x50da4c[_0xe97baa&0xff])^_0x576bd7[_0x540c08++];_0x33e273[_0x3ff767]=_0x35c207,_0x33e273[_0x3ff767+0x1]=_0x551aa1,_0x33e273[_0x3ff767+0x2]=_0x256de1,_0x33e273[_0x3ff767+0x3]=_0x4f0333;},'keySize':0x100/0x20});_0x1a3c0f[_0x47e2dd(0x174)]=_0xb64015[_0x47e2dd(0x130)](_0x336241);}()),_0x61b40[_0x1ff129(0x174)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x409aab(0x30f)],ai;function zr(){var _0x24e685=_0x409aab;return ai||(ai=0x1,function(_0x24f046,_0x5a9aab){(function(_0x3d106f,_0x507cfe){var _0x316e4d=_0x5cef;_0x24f046[_0x316e4d(0x30f)]=_0x507cfe(ne());}(qr,function(_0x3dbe85){var _0xfa46ed=_0x5cef;return _0x3dbe85[_0xfa46ed(0x1ff)][_0xfa46ed(0x190)];}));}(Xe)),Xe[_0x24e685(0x30f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x409aab(0x30f)],ci;function Qr(){var _0x43459f=_0x409aab;return ci||(ci=0x1,function(_0x50a6d0,_0x6d4d35){(function(_0x30bf84,_0x1d72d5){var _0x9fd777=_0x5cef;_0x50a6d0[_0x9fd777(0x30f)]=_0x1d72d5(ne());}(Zr,function(_0x53af68){var _0x55e753=_0x5cef;return(function(){var _0x1e4ada=_0x5cef;if(typeof ArrayBuffer==_0x1e4ada(0x348)){var _0x4764e2=_0x53af68,_0x17ee66=_0x4764e2[_0x1e4ada(0x33e)],_0x651277=_0x17ee66[_0x1e4ada(0x25c)],_0x2d6e8c=_0x651277[_0x1e4ada(0x1b2)],_0x4e2918=_0x651277[_0x1e4ada(0x1b2)]=function(_0x27a37a){var _0x1df833=_0x1e4ada;if(_0x27a37a instanceof ArrayBuffer&&(_0x27a37a=new Uint8Array(_0x27a37a)),(_0x27a37a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27a37a instanceof Uint8ClampedArray||_0x27a37a instanceof Int16Array||_0x27a37a instanceof Uint16Array||_0x27a37a instanceof Int32Array||_0x27a37a instanceof Uint32Array||_0x27a37a instanceof Float32Array||_0x27a37a instanceof Float64Array)&&(_0x27a37a=new Uint8Array(_0x27a37a[_0x1df833(0x199)],_0x27a37a['byteOffset'],_0x27a37a[_0x1df833(0x236)])),_0x27a37a instanceof Uint8Array){for(var _0x2580ff=_0x27a37a[_0x1df833(0x236)],_0x3eeef9=[],_0x44d17a=0x0;_0x44d17a<_0x2580ff;_0x44d17a++)_0x3eeef9[_0x44d17a>>>0x2]|=_0x27a37a[_0x44d17a]<<0x18-_0x44d17a%0x4*0x8;_0x2d6e8c[_0x1df833(0x103)](this,_0x3eeef9,_0x2580ff);}else _0x2d6e8c[_0x1df833(0xb9)](this,arguments);};_0x4e2918[_0x1e4ada(0x1c2)]=_0x651277;}}()),_0x53af68[_0x55e753(0x33e)][_0x55e753(0x25c)];}));}(Ze)),Ze[_0x43459f(0x30f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x1fc61c=_0x409aab;return hi||(hi=0x1,function(_0x594014,_0x594329){(function(_0x1ffbd5,_0xaa9221,_0xbe550d){var _0x15b34e=_0x5cef;_0x594014[_0x15b34e(0x30f)]=_0xaa9221(ne(),Ai());}(is,function(_0x7ddba1){var _0x45a9a7=_0x5cef;return _0x7ddba1[_0x45a9a7(0xff)][_0x45a9a7(0x2c3)]={'pad':function(){},'unpad':function(){}},_0x7ddba1['pad'][_0x45a9a7(0x2c3)];}));}(Qe)),Qe[_0x1fc61c(0x30f)];}var rs=ns();const ss=ke(rs);function os(_0x3bc882,_0x4ff263){var _0x38a809=_0x409aab;const _0x4d09b4=_0x4ff263-_0x3bc882[_0x38a809(0xb8)]%_0x4ff263,_0x465049=String[_0x38a809(0x21b)](_0x4d09b4)[_0x38a809(0x374)](_0x4d09b4);return _0x3bc882+_0x465049;}function as(_0x519c00,_0x51f809){var _0x25b024=_0x409aab;const _0xa80460=ts[_0x25b024(0x275)](0x10),_0x38bcd9=os(_0x519c00,0x10),_0x549760=Kr[_0x25b024(0xab)](Xr['parse'](_0x38bcd9),oi[_0x25b024(0x377)](_0x51f809),{'iv':_0xa80460,'padding':ss});return _0xa80460['concat'](_0x549760['ciphertext'])['toString'](oi);}function cs(){var _0x28d647=_0x409aab;const _0x1f7e44=_0x27e758()['__Key__'];if(_0x1f7e44){const _0x3552d0={'time':Math[_0x28d647(0x1ce)](Date[_0x28d647(0x1c9)]()/0x3e8),'domain':location[_0x28d647(0x1e5)]};return as(JSON['stringify'](_0x3552d0),_0x1f7e44);}}var hs=Object[_0x409aab(0x1b3)],_s=Object[_0x409aab(0x308)],ls=(_0x58f438,_0x56f9de,_0x5999d9,_0x490326)=>{var _0x343bf5=_0x409aab;for(var _0x28ecf5=_0x490326>0x1?void 0x0:_0x490326?_s(_0x56f9de,_0x5999d9):_0x56f9de,_0x3b7281=_0x58f438[_0x343bf5(0xb8)]-0x1,_0x54d4ca;_0x3b7281>=0x0;_0x3b7281--)(_0x54d4ca=_0x58f438[_0x3b7281])&&(_0x28ecf5=(_0x490326?_0x54d4ca(_0x56f9de,_0x5999d9,_0x28ecf5):_0x54d4ca(_0x28ecf5))||_0x28ecf5);return _0x490326&&_0x28ecf5&&hs(_0x56f9de,_0x5999d9,_0x28ecf5),_0x28ecf5;},us=(_0x2d6229,_0x4ed5ce)=>(_0x286012,_0xf87068)=>_0x4ed5ce(_0x286012,_0xf87068,_0x2d6229);let ot=class{constructor(_0x2a1f99){var _0x33f572=_0x409aab;this['_httpService']=_0x2a1f99,this[_0x33f572(0x1ad)]();}[_0x409aab(0x1ad)](){var _0x32f900=_0x409aab;this[_0x32f900(0x327)]['registerHTTPInterceptor']({'interceptor':(_0x3a933d,_0x4a3c01)=>{var _0xf8e7ce=_0x32f900;const _0x213126=_0x3a933d[_0xf8e7ce(0xae)],_0xca8255=cs();return _0xca8255&&_0x213126[_0xf8e7ce(0x2a2)](_0xf8e7ce(0x224),_0xca8255),_0x4a3c01(_0x3a933d);}});}};ot=ls([us(0x0,_0x301a99(_0x160d38))],ot);var ds=Object[_0x409aab(0x1b3)],fs=Object[_0x409aab(0x308)],vs=(_0x4f1dab,_0xbcf962,_0x18ccb6,_0x4b5bb3)=>{var _0x345c=_0x409aab;for(var _0x58b5a8=_0x4b5bb3>0x1?void 0x0:_0x4b5bb3?fs(_0xbcf962,_0x18ccb6):_0xbcf962,_0x2c9db8=_0x4f1dab[_0x345c(0xb8)]-0x1,_0x4bde44;_0x2c9db8>=0x0;_0x2c9db8--)(_0x4bde44=_0x4f1dab[_0x2c9db8])&&(_0x58b5a8=(_0x4b5bb3?_0x4bde44(_0xbcf962,_0x18ccb6,_0x58b5a8):_0x4bde44(_0x58b5a8))||_0x58b5a8);return _0x4b5bb3&&_0x58b5a8&&ds(_0xbcf962,_0x18ccb6,_0x58b5a8),_0x58b5a8;},mt=(_0x4aa6bc,_0x4d8e96)=>(_0x199ab8,_0x5e9bde)=>_0x4d8e96(_0x199ab8,_0x5e9bde,_0x4aa6bc);let Ot=class extends _0x5432f0{constructor(_0x5197c3,_0xc27df0,_0xe7816c){var _0x426598=_0x409aab;super(),N(this,'_unitInfo$',new _0x4d6645(null)),N(this,_0x426598(0x128),this['_unitInfo$'][_0x426598(0x1cd)]()),(this[_0x426598(0x21d)]=_0x5197c3,this[_0x426598(0x17d)]=_0xc27df0,this[_0x426598(0x29a)]=_0xe7816c);}async[_0x409aab(0x350)](_0x1bf9d,_0xb3771c,_0x47b42f){var _0x37abb8=_0x409aab;this[_0x37abb8(0x37c)]['next']({'unitId':_0x1bf9d,'type':_0xb3771c,'subUnitId':_0x47b42f});let _0x2d52dd=null;switch(_0xb3771c){case Q[_0x37abb8(0x8e)]:{_0x2d52dd=await this[_0x37abb8(0xde)](_0x1bf9d);break;}case Q[_0x37abb8(0x20f)]:{_0x2d52dd=await this['_loadDoc'](_0x1bf9d);break;}default:{this[_0x37abb8(0x21d)][_0x37abb8(0x36f)](_0x37abb8(0x1c1),_0x37abb8(0x384));break;}}return _0x2d52dd;}async[_0x409aab(0xde)](_0x3f2af2){var _0x2f234d=_0x409aab,_0x7c8b44;let _0x161918=0x0;const _0x9c4a1e=await((_0x7c8b44=this[_0x2f234d(0x29a)])==null?void 0x0:_0x7c8b44['loadOfflineData'](_0x3f2af2));return _0x9c4a1e&&(_0x9c4a1e[_0x2f234d(0x379)]||_0x9c4a1e[_0x2f234d(0x1fd)][_0x2f234d(0xb8)]!==0x0)&&(_0x161918=_0x9c4a1e[_0x2f234d(0x30d)]),_0x161918===0x0&&this[_0x2f234d(0x21d)]['debug'](_0x2f234d(0x1c1),_0x2f234d(0x211)),this['_snapshotService'][_0x2f234d(0x176)](_0x3f2af2,_0x161918);}async[_0x409aab(0x352)](_0x12d360){var _0x463d69=_0x409aab,_0x5aa369;let _0x56526f=0x0;const _0x3561d5=await((_0x5aa369=this[_0x463d69(0x29a)])==null?void 0x0:_0x5aa369[_0x463d69(0x349)](_0x12d360));return _0x3561d5&&(_0x3561d5['awaitingChangeset']||_0x3561d5['mutations']['length']!==0x0)&&(_0x56526f=_0x3561d5[_0x463d69(0x30d)]),_0x56526f===0x0&&this[_0x463d69(0x21d)][_0x463d69(0x11a)](_0x463d69(0x1c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x463d69(0x17d)][_0x463d69(0x25d)](_0x12d360,_0x56526f);}};Ot=vs([mt(0x0,_0x51fdc8),mt(0x1,_0x301a99(_0x37ccd2)),mt(0x2,_0x59bb9f(J))],Ot);var ps=Object[_0x409aab(0x1b3)],ms=Object[_0x409aab(0x308)],gs=(_0x8dc106,_0x55bcdf,_0x19427d,_0x5046d1)=>{var _0x346840=_0x409aab;for(var _0x462f63=_0x5046d1>0x1?void 0x0:_0x5046d1?ms(_0x55bcdf,_0x19427d):_0x55bcdf,_0x5a3ffb=_0x8dc106[_0x346840(0xb8)]-0x1,_0x37ce71;_0x5a3ffb>=0x0;_0x5a3ffb--)(_0x37ce71=_0x8dc106[_0x5a3ffb])&&(_0x462f63=(_0x5046d1?_0x37ce71(_0x55bcdf,_0x19427d,_0x462f63):_0x37ce71(_0x462f63))||_0x462f63);return _0x5046d1&&_0x462f63&&ps(_0x55bcdf,_0x19427d,_0x462f63),_0x462f63;},gt=(_0x4c0fa2,_0x368593)=>(_0x4c4307,_0x13a0dc)=>_0x368593(_0x4c4307,_0x13a0dc,_0x4c0fa2);const Ss=['image/png',_0x409aab(0x1b9),_0x409aab(0x20d),'image/gif',_0x409aab(0x198)],Es=0x5*0x400*0x400,Is=_0x409aab(0x366),Ts=_0x409aab(0x23d),Cs=_0x409aab(0x2f5),Rs=_0x409aab(0x360);let yt=class{constructor(_0x2586d5,_0x1b4e88,_0x2efae6){var _0x12212f=_0x409aab;N(this,_0x12212f(0xef),0x0),N(this,_0x12212f(0x320),new _0x221b68()),N(this,_0x12212f(0xdb),this[_0x12212f(0x320)]),N(this,'_imageSourceCache',new Map()),(this[_0x12212f(0x327)]=_0x2586d5,this[_0x12212f(0xd2)]=_0x1b4e88,this[_0x12212f(0x18f)]=_0x2efae6);}[_0x409aab(0x126)](_0x8b80a6){var _0x171be3=_0x409aab;this[_0x171be3(0xef)]=_0x8b80a6,this[_0x171be3(0x320)][_0x171be3(0x10a)](_0x8b80a6);}[_0x409aab(0x90)](_0x3c5e1c,_0x49d2b){var _0x2daf0b=_0x409aab;if(_0x49d2b===_0x5d518d[_0x2daf0b(0x1f5)]){const _0xe001d6=new Image();return _0xe001d6[_0x2daf0b(0xc7)]=_0x3c5e1c,_0xe001d6;}return this[_0x2daf0b(0x1f6)][_0x2daf0b(0x24c)](_0x3c5e1c);}[_0x409aab(0xad)](_0x1260fb,_0x53a36b,_0x2c3e4a){var _0x54fcac=_0x409aab;_0x53a36b===_0x5d518d[_0x54fcac(0x1f5)]||_0x2c3e4a==null||this['_imageSourceCache'][_0x54fcac(0x2a2)](_0x1260fb,_0x2c3e4a);}async[_0x409aab(0x21c)](_0xc3e9c0){var _0x51e126=_0x409aab;try{const _0x269ff9=this[_0x51e126(0x1c5)](this[_0x51e126(0x179)](),''+_0xc3e9c0),_0x4ac26a=(await this[_0x51e126(0x327)][_0x51e126(0x24c)](_0x269ff9))['body'];if(_0x4ac26a[_0x51e126(0x36f)]&&_0x4ac26a[_0x51e126(0x36f)][_0x51e126(0x2cd)]===Ii['OK']){const _0x51b253=new URL(_0x4ac26a[_0x51e126(0x2fa)],this[_0x51e126(0x19f)]())[_0x51e126(0x238)]();return Promise['resolve'](_0x51b253);}return Promise[_0x51e126(0x163)](_0x4ac26a[_0x51e126(0x36f)]);}catch(_0xe9d92c){return Promise[_0x51e126(0x163)](_0xe9d92c);}}async['saveImage'](_0x1a40e5){var _0x3539c4=_0x409aab;let _0x58d621='';if(!Ss[_0x3539c4(0x1ee)](_0x1a40e5['type']))return this[_0x3539c4(0x195)](),Promise['reject'](new Error(_0x46e417['ERROR_IMAGE_TYPE']));if(_0x1a40e5[_0x3539c4(0x2d6)]>Es)return this[_0x3539c4(0x195)](),Promise[_0x3539c4(0x163)](new Error(_0x46e417['ERROR_EXCEED_SIZE']));try{const _0x36b166=new FormData();_0x36b166['append'](_0x3539c4(0x1bb),_0x1a40e5);const _0x1b20f6=this['_univerInstanceService']['getFocusedUnit'](),_0x39a13a=_0x1b20f6==null?void 0x0:_0x1b20f6[_0x3539c4(0x1e8)]();if(!_0x39a13a)throw new Error('unitId\x20is\x20not\x20found');const _0x12e0d1=this['_getUploadFileURL']()+'?size='+_0x1a40e5[_0x3539c4(0x2d6)][_0x3539c4(0x238)]()+_0x3539c4(0x11d)+Ti[_0x3539c4(0xa5)]+_0x3539c4(0x1b8)+encodeURIComponent(_0x39a13a),_0x4afb4f=await(await fetch(_0x12e0d1,{'method':_0x3539c4(0x28e),'body':_0x36b166}))['json']();if(typeof _0x4afb4f['FileId']!=_0x3539c4(0x229))return this[_0x3539c4(0x195)](),Promise['reject'](new Error(_0x46e417[_0x3539c4(0x2ad)]));_0x58d621=_0x4afb4f['FileId'];}catch{return this[_0x3539c4(0x195)](),Promise[_0x3539c4(0x163)](new Error(_0x46e417[_0x3539c4(0x2ad)]));}return new Promise((_0x4d7713,_0x5ad651)=>{var _0x40b7cc=_0x3539c4;const _0x2c309e=new FileReader();_0x2c309e[_0x40b7cc(0x177)](_0x1a40e5),_0x2c309e[_0x40b7cc(0x312)]=_0x5b4404=>{var _0x5401bc=_0x40b7cc,_0x1497b2;const _0x1faea5=(_0x1497b2=_0x5b4404[_0x5401bc(0x295)])==null?void 0x0:_0x1497b2[_0x5401bc(0x309)];if(_0x1faea5==null){this[_0x5401bc(0x195)](),_0x5ad651(new Error(_0x46e417['ERROR_IMAGE']));return;}const _0x3973b9=_0x4cedbb[_0x5401bc(0x13c)](0x6);_0x4d7713({'imageId':_0x3973b9,'imageSourceType':_0x5d518d[_0x5401bc(0x98)],'source':_0x58d621,'base64Cache':_0x1faea5,'status':_0x46e417['SUCCUSS']}),this[_0x5401bc(0x195)]();};});}[_0x409aab(0x2d1)](){var _0x3502df=_0x409aab,_0x1fda46,_0x536d3b;const _0x45d84b=this[_0x3502df(0xd2)][_0x3502df(0x294)](Is),_0x2dfa42=this[_0x3502df(0xd2)]['getConfig'](q);return(_0x536d3b=(_0x1fda46=_0x2dfa42==null?void 0x0:_0x2dfa42[_0x3502df(0x1da)])!=null?_0x1fda46:_0x45d84b)!=null?_0x536d3b:Ts;}[_0x409aab(0x179)](){var _0x3d966c=_0x409aab,_0x375273,_0x4a5d2c;const _0x34a9bc=this['_configService'][_0x3d966c(0x294)](Cs),_0x2a385c=this[_0x3d966c(0xd2)][_0x3d966c(0x294)](q);return(_0x4a5d2c=(_0x375273=_0x2a385c==null?void 0x0:_0x2a385c[_0x3d966c(0x2e6)])!=null?_0x375273:_0x34a9bc)!=null?_0x4a5d2c:Rs;}[_0x409aab(0x19f)](){var _0x50bef3=_0x409aab,_0x1706f6;const _0x31d126=this['_configService']['getConfig'](q);return(_0x1706f6=_0x31d126==null?void 0x0:_0x31d126[_0x50bef3(0x1a6)])!=null?_0x1706f6:location[_0x50bef3(0x32b)];}[_0x409aab(0x1c5)](_0x583e0f,_0x131923){return _0x583e0f['replace']('{fileID}',_0x131923);}['_decreaseWaiting'](){var _0x3250d1=_0x409aab;this[_0x3250d1(0xef)]-=0x1,this['_change$'][_0x3250d1(0x10a)](this[_0x3250d1(0xef)]);}};yt=gs([gt(0x0,_0x301a99(_0x160d38)),gt(0x1,_0x424efc),gt(0x2,_0x301a99(_0x5b9095))],yt);var bs=Object[_0x409aab(0x1b3)],Os=Object[_0x409aab(0x308)],ys=(_0x2ec25c,_0x30aeb4,_0x252db8,_0x19d6c6)=>{var _0x3b1599=_0x409aab;for(var _0x1be713=_0x19d6c6>0x1?void 0x0:_0x19d6c6?Os(_0x30aeb4,_0x252db8):_0x30aeb4,_0x4c5158=_0x2ec25c[_0x3b1599(0xb8)]-0x1,_0x6d0c9a;_0x4c5158>=0x0;_0x4c5158--)(_0x6d0c9a=_0x2ec25c[_0x4c5158])&&(_0x1be713=(_0x19d6c6?_0x6d0c9a(_0x30aeb4,_0x252db8,_0x1be713):_0x6d0c9a(_0x1be713))||_0x1be713);return _0x19d6c6&&_0x1be713&&bs(_0x30aeb4,_0x252db8,_0x1be713),_0x1be713;},_i=(_0x437300,_0x54c5e1)=>(_0xcc15cb,_0x5909fb)=>_0x54c5e1(_0xcc15cb,_0x5909fb,_0x437300);const Ns=_0x409aab(0x37b);let Nt=class{constructor(_0x34bb81,_0x26dc16){var _0x1192e9=_0x409aab;this['_configService']=_0x34bb81,this[_0x1192e9(0x93)]=_0x26dc16;}[_0x409aab(0x2bb)](){var _0x3b78b2=_0x409aab,_0x5c6c99,_0x1e187f;const _0x5dbb79=this[_0x3b78b2(0xd2)][_0x3b78b2(0x294)](Pi),_0x3e24e7=this[_0x3b78b2(0xd2)][_0x3b78b2(0x294)](q);return(_0x1e187f=(_0x5c6c99=_0x3e24e7==null?void 0x0:_0x3e24e7[_0x3b78b2(0x2c0)])!=null?_0x5c6c99:_0x5dbb79)!=null?_0x1e187f:Ns;}async['list'](_0x385915){var _0x289499=_0x409aab;const _0x9bd456=this[_0x289499(0x2bb)]()+'/collaborator';return{'list':[{'title':_0x289499(0xd0),'mentions':(await this[_0x289499(0x93)]['get'](_0x9bd456,{'params':{'objectID':_0x385915[_0x289499(0x1d6)],'unitID':_0x385915['unitId']}}))[_0x289499(0x204)][_0x289499(0x146)][_0x289499(0x281)](_0x13fa00=>({'objectId':_0x13fa00['id'],'name':_0x13fa00[_0x289499(0x102)][_0x289499(0x26a)],'metadata':{'icon':_0x13fa00[_0x289499(0x102)]['avatar']},'label':_0x13fa00['subject']['name'],'objectType':_0xd2767b[_0x289499(0x13b)]})),'metadata':{},'type':_0xd2767b[_0x289499(0x13b)]}]};}};Nt=ys([_i(0x0,_0x301a99(_0x424efc)),_i(0x1,_0x301a99(_0x160d38))],Nt);var Ds=Object[_0x409aab(0x1b3)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1c7e71,_0x579d00,_0x39253b,_0x31b065)=>{var _0x47bb41=_0x409aab;for(var _0xfb8bd9=_0x31b065>0x1?void 0x0:_0x31b065?Ps(_0x579d00,_0x39253b):_0x579d00,_0x380579=_0x1c7e71[_0x47bb41(0xb8)]-0x1,_0x1eb302;_0x380579>=0x0;_0x380579--)(_0x1eb302=_0x1c7e71[_0x380579])&&(_0xfb8bd9=(_0x31b065?_0x1eb302(_0x579d00,_0x39253b,_0xfb8bd9):_0x1eb302(_0xfb8bd9))||_0xfb8bd9);return _0x31b065&&_0xfb8bd9&&Ds(_0x579d00,_0x39253b,_0xfb8bd9),_0xfb8bd9;},Se=(_0x16b3f0,_0x4b2343)=>(_0x4d85dc,_0x54b08a)=>_0x4b2343(_0x4d85dc,_0x54b08a,_0x16b3f0);let at=class extends _0x5432f0{constructor(_0x978d45,_0x49c9cd,_0x22ed77,_0x1dbea1,_0x50a111,_0x33a192,_0x5ec11e){var _0x5228a9=_0x409aab;super(),this['_injector']=_0x978d45,this['_univerInstanceService']=_0x49c9cd,this[_0x5228a9(0xd4)]=_0x22ed77,this[_0x5228a9(0x35d)]=_0x1dbea1,this[_0x5228a9(0x2d8)]=_0x50a111,this[_0x5228a9(0x314)]=_0x33a192,this['_undoRedoService']=_0x5ec11e,this['_initUnitPermissionChange'](),this[_0x5228a9(0x260)]();}[_0x409aab(0x260)](){var _0x3a9b64=_0x409aab;const _0x55c99f=async _0x5706bc=>{var _0x563c5c=_0x5cef;(await this[_0x563c5c(0x35d)]['requireSession'](_0x5706bc))[_0x563c5c(0x30b)][_0x563c5c(0x1a8)](_0x12594c(_0x1b8a92=>_0x1b8a92[_0x563c5c(0xe0)]===_0x4dbda1[_0x563c5c(0x28c)]),_0x25b559(this[_0x563c5c(0x2f0)]))['subscribe'](_0x332379=>{var _0x2945a5=_0x563c5c;const _0x41fa77=_0x332379,{reason:_0x47de89}=_0x41fa77[_0x2945a5(0x2bd)];this[_0x2945a5(0x2d8)][_0x2945a5(0x207)]({'id':se[_0x2945a5(0x158)],'data':_0x47de89}),this[_0x2945a5(0xd4)]['updatePermissionPoint'](new _0x4e3789(_0x5706bc)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5706bc);});};_0xd1cd7d(this[_0x3a9b64(0x18f)][_0x3a9b64(0x2c4)](_0x1105ca[_0x3a9b64(0x8e)]),this[_0x3a9b64(0x18f)][_0x3a9b64(0x2c4)](_0x1105ca['UNIVER_DOC']))[_0x3a9b64(0x1a8)](_0x1033eb(_0x3f2d22=>_0x3f2d22['getUnitId']()),_0x12594c(_0x44f2fa=>!_0x3ae67a(_0x44f2fa)),_0x25b559(this[_0x3a9b64(0x2f0)]))[_0x3a9b64(0x136)](_0x4654e8=>{_0x55c99f(_0x4654e8);});}[_0x409aab(0xfe)](){var _0x536663=_0x409aab;const _0x6445c3=async _0x5d3b98=>{var _0x1bd6ff=_0x5cef;const _0x51163b=await this['_collaborationSessionService'][_0x1bd6ff(0x117)](_0x5d3b98),_0x240c41=this[_0x1bd6ff(0x8c)]['get'](_0x377187);_0x51163b[_0x1bd6ff(0x30b)]['pipe'](_0x12594c(_0x35be6c=>_0x35be6c['eventID']===_0x4dbda1[_0x1bd6ff(0x97)]),_0x25b559(this[_0x1bd6ff(0x2f0)]))[_0x1bd6ff(0x136)](_0x45e26a=>{var _0x4192ac=_0x1bd6ff;const _0x4bdad0=_0x45e26a,{objectId:_0x136597}=_0x4bdad0[_0x4192ac(0x2bd)];_0x136597===_0x5d3b98?_0x240c41['initWorkbookPermissionChange'](_0x5d3b98):_0x240c41[_0x4192ac(0x367)](_0x5d3b98,_0x136597);});};_0xd1cd7d(this[_0x536663(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x536663(0x8e)]),this[_0x536663(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x536663(0x20f)]))[_0x536663(0x1a8)](_0x1033eb(_0x44379b=>_0x44379b[_0x536663(0x1e8)]()),_0x12594c(_0x247431=>!_0x3ae67a(_0x247431)),_0x25b559(this[_0x536663(0x2f0)]))[_0x536663(0x136)](_0x1eecf2=>{_0x6445c3(_0x1eecf2);});}};at=ws([Se(0x0,_0x301a99(_0x2b67f5)),Se(0x1,_0x5b9095),Se(0x2,_0x53aaa3),Se(0x3,_0x301a99(Le)),Se(0x4,_0x301a99(pe)),Se(0x5,_0x66d78d),Se(0x6,_0x347dd8)],at);var Us=Object[_0x409aab(0x1b3)],As=Object['getOwnPropertyDescriptor'],xs=(_0x10f639,_0x3a639c,_0x41e14a,_0x6c7785)=>{var _0x2aab45=_0x409aab;for(var _0x39c263=_0x6c7785>0x1?void 0x0:_0x6c7785?As(_0x3a639c,_0x41e14a):_0x3a639c,_0x2663f8=_0x10f639[_0x2aab45(0xb8)]-0x1,_0x11b174;_0x2663f8>=0x0;_0x2663f8--)(_0x11b174=_0x10f639[_0x2663f8])&&(_0x39c263=(_0x6c7785?_0x11b174(_0x3a639c,_0x41e14a,_0x39c263):_0x11b174(_0x39c263))||_0x39c263);return _0x6c7785&&_0x39c263&&Us(_0x3a639c,_0x41e14a,_0x39c263),_0x39c263;},li=(_0x19733c,_0x47b369)=>(_0x3cd859,_0x2d8130)=>_0x47b369(_0x3cd859,_0x2d8130,_0x19733c);let Dt=class{constructor(_0x396e73,_0x2e68de){var _0x50954e=_0x409aab;this[_0x50954e(0xd2)]=_0x396e73,this[_0x50954e(0x327)]=_0x2e68de;}async['getUnitOnRev'](_0xdcd474,_0x51c303){var _0x5f31a8=_0x409aab,_0x10145a;const {unitID:_0x5964fc,type:_0x347fdf,revision:_0x3d0dd7=0x0}=_0x51c303,_0x8faf57=this[_0x5f31a8(0xb0)]()+'/'+_0x347fdf+_0x5f31a8(0x273)+_0x5964fc+_0x5f31a8(0x2a1)+_0x3d0dd7,_0x289231=(await this['_httpService'][_0x5f31a8(0x24c)](_0x8faf57))[_0x5f31a8(0x204)],_0x192551=(_0x10145a=_0x289231['snapshot'])==null?void 0x0:_0x10145a[_0x5f31a8(0x1af)];if(_0x192551){const _0x4106e2=_0x192551==null?void 0x0:_0x192551[_0x5f31a8(0x10e)],_0x5f5588=_0x164eab[_0x5f31a8(0x2de)](_0x2f7481(_0x4106e2));_0x192551[_0x5f31a8(0x10e)]=_0x5f5588,Object[_0x5f31a8(0x254)](_0x192551['sheets'])[_0x5f31a8(0x1df)](([,_0x392669])=>{var _0x4af7e9=_0x5f31a8;const _0x3b46f5=_0x392669[_0x4af7e9(0x10e)],_0x314cd2=_0x164eab['encode'](_0x2f7481(_0x3b46f5));_0x392669[_0x4af7e9(0x10e)]=_0x314cd2;});}return _0x289231;}async[_0x409aab(0xe9)](_0x1b7cbd,_0x4b1d3c){var _0x14ea1b=_0x409aab;const {unitID:_0x578a4d,type:_0xe37556,blockID:_0x44f969}=_0x4b1d3c,_0x1064b5=this[_0x14ea1b(0x15f)]()+'/'+_0xe37556+_0x14ea1b(0x273)+_0x578a4d+'/block/'+_0x44f969;return(await this['_httpService']['get'](_0x1064b5))[_0x14ea1b(0x204)];}async['getDeserializedSheetBlock'](_0x4b4479,_0x4de861){var _0x298f32=_0x409aab;const {unitID:_0xc6eead,type:_0xd2105f,blockID:_0x2b3657}=_0x4de861,_0x30a1bf=this[_0x298f32(0x15f)]()+_0x298f32(0x1b0)+_0xd2105f+'/unit/'+_0xc6eead+_0x298f32(0x1b0)+_0x2b3657;return(await this[_0x298f32(0x327)]['get'](_0x30a1bf))['body'];}async[_0x409aab(0x1e0)](_0x3c55ed,_0x4d9efd){var _0x53f880=_0x409aab;const {unitID:_0x506465,type:_0xab8395,from:_0x1eab9d,to:_0x162b38}=_0x4d9efd,_0x50fb16=this[_0x53f880(0x15f)]()+'/'+_0xab8395+'/unit/'+_0x506465+_0x53f880(0xbe)+_0x1eab9d+'&to='+_0x162b38;return(await this['_httpService'][_0x53f880(0x24c)](_0x50fb16))['body'];}[_0x409aab(0xb0)](){var _0x52f38e=_0x409aab,_0x206b17;return(_0x206b17=this['_configService']['getConfig'](Tn))!=null?_0x206b17:this[_0x52f38e(0x15f)]();}['_getAPIPrefix'](){var _0x20cceb=_0x409aab,_0x3ba5aa,_0x51f20d;const _0x28c147=this['_configService'][_0x20cceb(0x294)](En),_0x33eba4=this['_configService'][_0x20cceb(0x294)](q);return(_0x51f20d=(_0x3ba5aa=_0x33eba4==null?void 0x0:_0x33eba4[_0x20cceb(0x2d5)])!=null?_0x3ba5aa:_0x28c147)!=null?_0x51f20d:In;}async['getResourcesRequest'](_0x28891f,_0x2c36e1){var _0x288166=_0x409aab;const _0xe64fef='/universer-api/snapshot/'+_0x2c36e1[_0x288166(0x255)]+'/unit/'+_0x2c36e1['unitID']+_0x288166(0x2a8);return(await this['_httpService']['get'](_0xe64fef,{'params':{'resourceId':JSON[_0x288166(0xfc)](_0x2c36e1['resourceIDs'])}}))[_0x288166(0x204)];}[_0x409aab(0x169)](){var _0x12f6f0=_0x409aab;throw new Error(_0x12f6f0(0xa6));}[_0x409aab(0xa7)](){var _0x325955=_0x409aab;throw new Error(_0x325955(0xa6));}[_0x409aab(0xed)](){var _0x22163f=_0x409aab;throw new Error(_0x22163f(0xa6));}[_0x409aab(0x20b)](){var _0x43a70a=_0x409aab;throw new Error(_0x43a70a(0xa6));}['getLatestCsReqIdBySid'](){var _0xe45a91=_0x409aab;throw new Error(_0xe45a91(0xa6));}};Dt=xs([li(0x0,_0x424efc),li(0x1,_0x301a99(_0x160d38))],Dt);var Ls=Object[_0x409aab(0x1b3)],Ms=Object[_0x409aab(0x308)],$s=(_0x248b7f,_0x451863,_0x5e9448,_0x1cd29a)=>{for(var _0x56cea1=_0x1cd29a>0x1?void 0x0:_0x1cd29a?Ms(_0x451863,_0x5e9448):_0x451863,_0x4102eb=_0x248b7f['length']-0x1,_0x464ca1;_0x4102eb>=0x0;_0x4102eb--)(_0x464ca1=_0x248b7f[_0x4102eb])&&(_0x56cea1=(_0x1cd29a?_0x464ca1(_0x451863,_0x5e9448,_0x56cea1):_0x464ca1(_0x56cea1))||_0x56cea1);return _0x1cd29a&&_0x56cea1&&Ls(_0x451863,_0x5e9448,_0x56cea1),_0x56cea1;},Ae=(_0x2d97d4,_0x26300a)=>(_0xd0ea36,_0xfd6849)=>_0x26300a(_0xd0ea36,_0xfd6849,_0x2d97d4);let Pt=class extends _0xd72f3{constructor(_0x4fd423,_0x664978,_0x4e8b86,_0x6ffd7e,_0x35ac00){var _0x411b1d=_0x409aab;super(_0x4fd423,_0x664978,_0x4e8b86),this[_0x411b1d(0x213)]=_0x6ffd7e,this[_0x411b1d(0x21d)]=_0x35ac00;}[_0x409aab(0x160)](_0x35b051,_0x3da17d){var _0x4c1f7c=_0x409aab;const _0xfc2ce1=this[_0x4c1f7c(0x156)](_0x35b051);if(_0xfc2ce1)try{const _0x887e13=this['_transformStack'](_0xfc2ce1,_0x3da17d);this[_0x4c1f7c(0x148)](_0x35b051,_0x887e13);}catch(_0x23b096){this[_0x4c1f7c(0x21d)][_0x4c1f7c(0x36f)]('[CollaborationUndoRedoService]',_0x23b096),this[_0x4c1f7c(0x109)](_0x35b051);}const _0x3ecac1=this['_getRedoStack'](_0x35b051);if(_0x3ecac1)try{const _0x1e9b8d=this[_0x4c1f7c(0x181)](_0x3ecac1,_0x3da17d);this[_0x4c1f7c(0x36d)](_0x35b051,_0x1e9b8d);}catch(_0xb46a5a){this[_0x4c1f7c(0x21d)][_0x4c1f7c(0x36f)](_0xb46a5a),this['_clearRedo'](_0x35b051);}}[_0x409aab(0x109)](_0x27f2a4){var _0x44bb98=_0x409aab;const _0x3039f3=this[_0x44bb98(0x156)](_0x27f2a4);_0x3039f3&&(_0x3039f3[_0x44bb98(0xb8)]=0x0,this['_updateStatus']());}[_0x409aab(0x12f)](_0x3d1443){var _0x23b4a5=_0x409aab;const _0x364bb0=this[_0x23b4a5(0x2e4)](_0x3d1443);_0x364bb0&&(_0x364bb0[_0x23b4a5(0xb8)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2ad7a5,_0x4f97a3){var _0xb8c2e1=_0x409aab;this[_0xb8c2e1(0x11f)][_0xb8c2e1(0x2a2)](_0x2ad7a5,_0x4f97a3),this[_0xb8c2e1(0x2ee)]();}[_0x409aab(0x36d)](_0x2731b0,_0x3a07c1){var _0x47d4f0=_0x409aab;this[_0x47d4f0(0xf4)][_0x47d4f0(0x2a2)](_0x2731b0,_0x3a07c1),this[_0x47d4f0(0x2ee)]();}['_transformStack'](_0x554c04,_0x2b64aa){var _0x1a3af4=_0x409aab;const _0x2ff651=[];let _0x5e7083=_0x2b64aa,_0x216e75=_0x2b64aa;for(let _0x357299=_0x554c04[_0x1a3af4(0xb8)]-0x1;_0x357299>=0x0;_0x357299--){const {unitID:_0x12d5b9,undoMutations:_0x5279a8,redoMutations:_0x3593f8}=_0x554c04[_0x357299],_0xe73f8d=this[_0x1a3af4(0x213)]['transformMutationsWithChangeset'](_0x5e7083,_0x5279a8),_0x17c9d3=this[_0x1a3af4(0x213)][_0x1a3af4(0x16a)](_0x216e75,_0x3593f8);if(_0x38d193(_0xe73f8d)||_0x38d193(_0x17c9d3)){this[_0x1a3af4(0x21d)]['error']('[CollaborationUndoRedoService]',_0x1a3af4(0x18d),_0xe73f8d,_0x17c9d3);break;}_0x5e7083=_0xe73f8d[_0x1a3af4(0x144)],_0x216e75=_0x17c9d3[_0x1a3af4(0x144)],_0x2ff651[_0x1a3af4(0x8f)]({'unitID':_0x12d5b9,'undoMutations':_0xe73f8d['m2Prime'],'redoMutations':_0x17c9d3[_0x1a3af4(0x371)]});}return _0x2ff651[_0x1a3af4(0xe7)]();}};Pt=$s([Ae(0x0,_0x5b9095),Ae(0x1,_0x38398c),Ae(0x2,_0x529d62),Ae(0x3,_0x21beed),Ae(0x4,_0x51fdc8)],Pt);var xi=Object[_0x409aab(0x1b3)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x52e54f,_0xc814a0,_0x5e2565)=>_0xc814a0 in _0x52e54f?xi(_0x52e54f,_0xc814a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e2565}):_0x52e54f[_0xc814a0]=_0x5e2565,js=(_0x3b224f,_0x49d422,_0x4fd25e,_0xb1613)=>{var _0x1258c7=_0x409aab;for(var _0x2c78f6=_0xb1613>0x1?void 0x0:_0xb1613?Hs(_0x49d422,_0x4fd25e):_0x49d422,_0x3c612b=_0x3b224f[_0x1258c7(0xb8)]-0x1,_0x4e60b7;_0x3c612b>=0x0;_0x3c612b--)(_0x4e60b7=_0x3b224f[_0x3c612b])&&(_0x2c78f6=(_0xb1613?_0x4e60b7(_0x49d422,_0x4fd25e,_0x2c78f6):_0x4e60b7(_0x2c78f6))||_0x2c78f6);return _0xb1613&&_0x2c78f6&&xi(_0x49d422,_0x4fd25e,_0x2c78f6),_0x2c78f6;},St=(_0x322dfe,_0x3ab3ae)=>(_0x330d3d,_0x3d9a1b)=>_0x3ab3ae(_0x330d3d,_0x3d9a1b,_0x322dfe),Bs=(_0x28ede1,_0x5599bc,_0x1d9d89)=>ks(_0x28ede1,_0x5599bc+'',_0x1d9d89);const Fs=_0x409aab(0x2e0);let wt=class extends _0x54061f{constructor(_0x71ab32=Wt,_0x47cd98,_0x173777,_0x79ee61){var _0x3be9d7=_0x409aab;super(),this[_0x3be9d7(0x333)]=_0x71ab32,this[_0x3be9d7(0x21d)]=_0x47cd98,this['_injector']=_0x173777,this[_0x3be9d7(0xd2)]=_0x79ee61;const {..._0x110123}=_0x2d3938({},Wt,this[_0x3be9d7(0x333)]);this[_0x3be9d7(0xd2)][_0x3be9d7(0x2ab)](q,_0x110123);}[_0x409aab(0x180)](){var _0x1bb166=_0x409aab;this[_0x1bb166(0x370)](),this['_initDependencies']();}[_0x409aab(0x370)](){var _0x4c8cbb=_0x409aab,_0x39dfd6,_0x1ac854,_0x4cee38,_0x108832;this['_injector'][_0x4c8cbb(0x214)](_0x347dd8)&&this[_0x4c8cbb(0x21d)]['error']('[UniverCollaborationClientPlugin]',_0x4c8cbb(0xea));const _0x4b97ba=_0x2f074d([[_0x347dd8,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1ac854=(_0x39dfd6=this[_0x4c8cbb(0x333)])==null?void 0x0:_0x39dfd6[_0x4c8cbb(0x9e)])!=null?_0x1ac854:Et}],[_0x56b9d4,{'useClass':Dt}],[_0x66d78d,{'useClass':bt}],[_0x261313,{'useClass':yt}],[_0xc08431,{'useClass':Nt}],[rt],[Rt]],(_0x4cee38=this[_0x4c8cbb(0x333)])==null?void 0x0:_0x4cee38[_0x4c8cbb(0x121)]);if(!((_0x108832=this['_config'])!=null&&_0x108832[_0x4c8cbb(0x115)])){const _0x49f97e=_0x4b97ba[_0x4c8cbb(0x2b7)](([_0x153479])=>_0x153479===ht);_0x49f97e!==-0x1&&_0x4b97ba[_0x4c8cbb(0x132)](_0x49f97e,0x1);}_0x32949a(this[_0x4c8cbb(0x8c)],_0x4b97ba);}['_initDependencies'](){var _0x26f096=_0x409aab,_0x33498d,_0x5eef03,_0x18e55f;this['_injector'][_0x26f096(0x24c)](_0x160d38)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3cd65e({'maxParallel':0x6})}),(_0x33498d=this[_0x26f096(0x333)])!=null&&_0x33498d[_0x26f096(0xbf)]||(_0x5eef03=this[_0x26f096(0x8c)][_0x26f096(0x24c)](J,_0x35bf48[_0x26f096(0x23c)]))==null||_0x5eef03[_0x26f096(0x287)](),(_0x18e55f=this['_config'])!=null&&_0x18e55f['enableAuthServer']&&_0x235076(this[_0x26f096(0x8c)],[[st]]),_0x235076(this[_0x26f096(0x8c)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x23c9bf(_0x259d1f,_0x2152ff,_0x3a4980),St(0x1,_0x51fdc8),St(0x2,_0x301a99(_0x2b67f5)),St(0x3,_0x424efc)],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 _0x4b7416=_0x1bf9;(function(_0x16f092,_0xf8aa9d){var _0x1fa72f=_0x1bf9,_0x3ce58d=_0x16f092();while(!![]){try{var _0x27c437=-parseInt(_0x1fa72f(0x193))/0x1+-parseInt(_0x1fa72f(0x23d))/0x2*(-parseInt(_0x1fa72f(0x23a))/0x3)+parseInt(_0x1fa72f(0x231))/0x4*(-parseInt(_0x1fa72f(0x3a8))/0x5)+parseInt(_0x1fa72f(0x259))/0x6*(-parseInt(_0x1fa72f(0x272))/0x7)+-parseInt(_0x1fa72f(0x153))/0x8+-parseInt(_0x1fa72f(0x261))/0x9*(-parseInt(_0x1fa72f(0x2a0))/0xa)+parseInt(_0x1fa72f(0x1d5))/0xb*(parseInt(_0x1fa72f(0x3b8))/0xc);if(_0x27c437===_0xf8aa9d)break;else _0x3ce58d['push'](_0x3ce58d['shift']());}catch(_0x50824b){_0x3ce58d['push'](_0x3ce58d['shift']());}}}(_0x1977,0xe35be));var Li=Object[_0x4b7416(0x2cb)],Mi=(_0x4cb905,_0x4be949,_0x55620a)=>_0x4be949 in _0x4cb905?Li(_0x4cb905,_0x4be949,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55620a}):_0x4cb905[_0x4be949]=_0x55620a,N=(_0x57377e,_0x1b5240,_0x458719)=>Mi(_0x57377e,typeof _0x1b5240!='symbol'?_0x1b5240+'':_0x1b5240,_0x458719);import{createIdentifier as _0x3009aa,Inject as _0x33e245,Injector as _0x5596e1,Disposable as _0x325afd,DisposableCollection as _0x19c122,toDisposable as _0x2f82a7,IConfigService as _0x1218c6,ILogService as _0x46cc09,UserManagerService as _0x586694,UniverInstanceType as _0x26d1dc,IUniverInstanceService as _0x280bc0,LocaleService as _0x377f39,Optional as _0x30fb77,RxDisposable as _0x1ebecf,Tools as _0x12b872,Rectangle as _0x383a7d,ICommandService as _0x44e191,JSONX as _0x3eb9dc,CommandType as _0x26c610,IPermissionService as _0x3d23e7,IUndoRedoService as _0x1e3c7e,sequenceExecute as _0x156deb,Workbook as _0x29269e,MentionType as _0x45c7b6,IAuthzIoService as _0x33b7ff,isInternalEditorID as _0xdfb37d,LocalUndoRedoService as _0x1cdab7,IContextService as _0x2847d8,DependentOn as _0x5ba38c,Plugin as _0x60228e,merge as _0x8efa46,mergeOverrideWithDependencies as _0x1911e0,IMentionIOService as _0x4b92c5,registerDependencies as _0x31994b,Quantity as _0x34630d,touchDependencies as _0x4a6f6f}from'@univerjs/core';import{Subject as _0x9f6386,merge as _0xddea8f,of as _0x4f9ee1,BehaviorSubject as _0x4a0b1c,takeUntil as _0x1045a6,ReplaySubject as _0x501bd8,take as _0x2501f0,map as _0x5b8ccd,shareReplay as _0x1e81c2,firstValueFrom as _0xec409a,concatMap as _0x44ace6}from'rxjs';import{map as _0x30b411,take as _0x5a9f4b,filter as _0x2478c4,delay as _0x436533,takeUntil as _0x15e5da}from'rxjs/operators';import{HTTPService as _0x313ce8,ISocketService as _0xebca31,MergeInterceptorFactory as _0x479e5e,HTTPRequest as _0x539577,UniverNetworkPlugin as _0x2e22fe,ThresholdInterceptorFactory as _0x57e8c3}from'@univerjs/network';import{CollaborationEvent as _0x424b4b,parseChangesetToProtocol as _0xcf1c2,ISnapshotServerService as _0x411302,isTransformMutationsWithChangesetSuccess as _0x3469f3,ITransformService as _0x1186f3,mapDocumentTypeToUniverType as _0x2df773,RevisionService as _0x4d1984,isTransformChangesetsSuccess as _0x3fcc9a,CompressMutationService as _0x2628bf,parseProtocolChangeset as _0x4c3c85,SnapshotService as _0x24b93f,textEncoder as _0x21a1ca,b64DecodeUnicode as _0x54478a,isTransformMutationsWithChangesetFailure as _0x2a62be,UniverCollaborationPlugin as _0x403bdd}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5e9635}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3b7e98}from'@univerjs/docs';import{SheetsSelectionsService as _0x3c531e,SetSelectionsOperation as _0xd89e59,InsertSheetMutation as _0xe3eea5,EmptyMutation as _0x44b477,WorkbookEditablePermission as _0x2e755a,SheetPermissionInitController as _0x5044e0,UniverSheetsPlugin as _0x525489}from'@univerjs/sheets';import{ImageSourceType as _0x5922b2,ImageUploadStatusType as _0x5b5449,IImageIoService as _0x5e0b5e}from'@univerjs/drawing';import{getGlobalObject as _0x2be3a0}from'@univerjs-pro/license';const En=_0x4b7416(0x145),In=_0x4b7416(0x3f6),Tn='SNAPSHOT_URL_KEY',eo=_0x4b7416(0x2fd),Cn=0x7d0,Rn=_0x4b7416(0x354),bn=_0x4b7416(0x404),On='/universer-api/user/session-ticket',yn=_0x4b7416(0x2b4),Nn=0x7530,Si=_0x4b7416(0x201),Ei=0x4e20,Dn=0x4e20,Pn=_0x4b7416(0x19c),wn=0x3,to=_0x4b7416(0x1e0),io=0x3e8,Un=_0x4b7416(0x244),An=_0x4b7416(0x2f3),xn=_0x4b7416(0x2df),Ln=_0x4b7416(0x407),no=_0x4b7416(0x2bd),ro=_0x4b7416(0x14b);var Ii=(_0x216318=>(_0x216318[_0x216318[_0x4b7416(0x27f)]=0x0]=_0x4b7416(0x27f),_0x216318[_0x216318['OK']=0x1]='OK',_0x216318[_0x216318[_0x4b7416(0x1a1)]=0x2]=_0x4b7416(0x1a1),_0x216318[_0x216318[_0x4b7416(0x2b6)]=0x3]='PERMISSION_DENIED',_0x216318[_0x216318[_0x4b7416(0x172)]=0x4]=_0x4b7416(0x172),_0x216318[_0x216318[_0x4b7416(0x216)]=0x5]=_0x4b7416(0x216),_0x216318[_0x216318[_0x4b7416(0x33b)]=0x6]=_0x4b7416(0x33b),_0x216318[_0x216318[_0x4b7416(0x305)]=0x7]=_0x4b7416(0x305),_0x216318[_0x216318['TOO_MANY_REQUESTS']=0x8]=_0x4b7416(0x1ee),_0x216318[_0x216318[_0x4b7416(0x2f7)]=0x9]='COMPLETION_FINISHED',_0x216318[_0x216318[_0x4b7416(0x232)]=0x1389]=_0x4b7416(0x232),_0x216318[_0x216318[_0x4b7416(0x296)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x216318[_0x216318[_0x4b7416(0x446)]=0x1772]=_0x4b7416(0x446),_0x216318[_0x216318[_0x4b7416(0x3c5)]=0x1773]=_0x4b7416(0x3c5),_0x216318[_0x216318[_0x4b7416(0x443)]=0x1b59]=_0x4b7416(0x443),_0x216318[_0x216318['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4b7416(0x158),_0x216318[_0x216318[_0x4b7416(0x347)]=0x1b5b]=_0x4b7416(0x347),_0x216318[_0x216318[_0x4b7416(0x1ef)]=0x1b5c]=_0x4b7416(0x1ef),_0x216318[_0x216318[_0x4b7416(0x24f)]=0x1b5d]=_0x4b7416(0x24f),_0x216318[_0x216318[_0x4b7416(0x37f)]=0x1f41]=_0x4b7416(0x37f),_0x216318[_0x216318[_0x4b7416(0x2c8)]=0x2329]=_0x4b7416(0x2c8),_0x216318[_0x216318[_0x4b7416(0x3a6)]=0x232a]=_0x4b7416(0x3a6),_0x216318[_0x216318[_0x4b7416(0x2bf)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x216318[_0x216318[_0x4b7416(0x423)]=0x232c]=_0x4b7416(0x423),_0x216318[_0x216318['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x216318[_0x216318[_0x4b7416(0x214)]=0x2711]=_0x4b7416(0x214),_0x216318[_0x216318['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4b7416(0x221),_0x216318[_0x216318[_0x4b7416(0x2be)]=0x2713]=_0x4b7416(0x2be),_0x216318[_0x216318[_0x4b7416(0x402)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x216318[_0x216318[_0x4b7416(0x2e7)]=0x2af9]=_0x4b7416(0x2e7),_0x216318[_0x216318[_0x4b7416(0x327)]=-0x1]=_0x4b7416(0x327),_0x216318))(Ii||{}),Q=(_0x30e477=>(_0x30e477[_0x30e477[_0x4b7416(0x40c)]=0x0]='UNIVER_UNKNOWN',_0x30e477[_0x30e477['UNIVER_DOC']=0x1]=_0x4b7416(0x3a9),_0x30e477[_0x30e477[_0x4b7416(0x409)]=0x2]=_0x4b7416(0x409),_0x30e477[_0x30e477['UNIVER_SLIDE']=0x3]=_0x4b7416(0x400),_0x30e477[_0x30e477[_0x4b7416(0x320)]=0x4]=_0x4b7416(0x320),_0x30e477[_0x30e477['UNRECOGNIZED']=-0x1]=_0x4b7416(0x327),_0x30e477))(Q||{}),F=(_0x284835=>(_0x284835[_0x284835[_0x4b7416(0x2cc)]=0x0]='UNKNOWN_CMD',_0x284835[_0x284835[_0x4b7416(0x273)]=0x1]='HELLO',_0x284835[_0x284835[_0x4b7416(0x300)]=0x2]=_0x4b7416(0x300),_0x284835[_0x284835[_0x4b7416(0x355)]=0x3]='LEAVE',_0x284835[_0x284835['INGEST']=0x4]=_0x4b7416(0x1b5),_0x284835[_0x284835['HEARTBEAT']=0x5]='HEARTBEAT',_0x284835[_0x284835[_0x4b7416(0x42b)]=0x6]=_0x4b7416(0x42b),_0x284835[_0x284835[_0x4b7416(0x327)]=-0x1]=_0x4b7416(0x327),_0x284835))(F||{}),Ee=(_0x2bfa34=>(_0x2bfa34[_0x2bfa34[_0x4b7416(0x3e4)]=0x0]=_0x4b7416(0x3e4),_0x2bfa34[_0x2bfa34['OK']=0x1]='OK',_0x2bfa34[_0x2bfa34[_0x4b7416(0x381)]=0x2]=_0x4b7416(0x381),_0x2bfa34[_0x2bfa34[_0x4b7416(0x30a)]=0x3e9]='JOIN_ROOM_FULL',_0x2bfa34[_0x2bfa34[_0x4b7416(0x16e)]=0x3ea]=_0x4b7416(0x16e),_0x2bfa34[_0x2bfa34[_0x4b7416(0x22c)]=0x3eb]=_0x4b7416(0x22c),_0x2bfa34[_0x2bfa34['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4b7416(0x2b7),_0x2bfa34[_0x2bfa34[_0x4b7416(0x327)]=-0x1]=_0x4b7416(0x327),_0x2bfa34))(Ee||{}),Ti=(_0x38f978=>(_0x38f978[_0x38f978[_0x4b7416(0x382)]=0x0]=_0x4b7416(0x382),_0x38f978[_0x38f978[_0x4b7416(0x3b4)]=0x1]=_0x4b7416(0x3b4),_0x38f978[_0x38f978[_0x4b7416(0x16a)]=0x2]=_0x4b7416(0x16a),_0x38f978[_0x38f978[_0x4b7416(0x3d7)]=0x3]=_0x4b7416(0x3d7),_0x38f978[_0x38f978[_0x4b7416(0x3d4)]=0x4]='UnitSnapshot',_0x38f978[_0x38f978[_0x4b7416(0x327)]=-0x1]='UNRECOGNIZED',_0x38f978))(Ti||{});const q=_0x4b7416(0x20a),Wt={};var se=(_0x557b67=>(_0x557b67[_0x4b7416(0x3ae)]=_0x4b7416(0x3ae),_0x557b67[_0x4b7416(0x2b6)]=_0x4b7416(0x2b6),_0x557b67[_0x4b7416(0x31f)]='CONFLICT',_0x557b67[_0x4b7416(0x246)]=_0x4b7416(0x246),_0x557b67[_0x4b7416(0x2ba)]='JOIN_ROOM_FAILED',_0x557b67[_0x4b7416(0x189)]=_0x4b7416(0x189),_0x557b67[_0x4b7416(0x26e)]=_0x4b7416(0x26e),_0x557b67[_0x4b7416(0x222)]=_0x4b7416(0x222),_0x557b67))(se||{});class pe{constructor(){var _0x4d4dd6=_0x4b7416;N(this,_0x4d4dd6(0x3ce),new _0x9f6386()),N(this,_0x4d4dd6(0x2ee),this[_0x4d4dd6(0x3ce)][_0x4d4dd6(0x32c)]());}['emitEvent'](_0xda672a){var _0xbe8744=_0x4b7416;this[_0xbe8744(0x3ce)][_0xbe8744(0x1b8)](_0xda672a);}}const Mn=_0x3009aa(_0x4b7416(0x410));function $n(_0x22d3a8){var _0x1ef7b0=_0x4b7416,_0x1c5df1,_0x2e032e,_0x4d829a,_0x588dc0,_0x43e001;const _0x18b8e5=_0x22d3a8[_0x1ef7b0(0x19a)],_0x4e308c=JSON[_0x1ef7b0(0x1c1)](_0x18b8e5);switch(_0x4e308c[_0x1ef7b0(0x383)]){case F[_0x1ef7b0(0x28f)]:case F['HELLO']:{const _0x1ac8e2=_0x4e308c['infoRsp'];return{..._0x4e308c,'data':_0x1ac8e2,'cmd':_0x4e308c['cmd']};}case F[_0x1ef7b0(0x300)]:{const _0x3e3520=_0x4e308c[_0x1ef7b0(0x2d2)];return{..._0x4e308c,'data':_0x3e3520,'cmd':_0x4e308c[_0x1ef7b0(0x383)]};}case F[_0x1ef7b0(0x42b)]:{const _0x2758e4=_0x4e308c['collaMsg'];switch(_0x2758e4[_0x1ef7b0(0x1f7)]){case _0x424b4b['PERMISSION_REJ']:return{..._0x4e308c,'data':{..._0x2758e4,'data':(_0x1c5df1=_0x2758e4[_0x1ef7b0(0x379)])==null?void 0x0:_0x1c5df1['cs']},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x2fe)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':(_0x2e032e=_0x2758e4[_0x1ef7b0(0x2e2)])==null?void 0x0:_0x2e032e['cs']},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x37a)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':(_0x4d829a=_0x2758e4[_0x1ef7b0(0x380)])==null?void 0x0:_0x4d829a['cs']},'cmd':_0x4e308c['cmd']};case _0x424b4b[_0x1ef7b0(0x3d2)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':(_0x588dc0=_0x2758e4[_0x1ef7b0(0x385)])==null?void 0x0:_0x588dc0['cs']},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x179)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':(_0x43e001=_0x2758e4[_0x1ef7b0(0x34a)])==null?void 0x0:_0x43e001['cs']},'cmd':_0x4e308c['cmd']};case _0x424b4b[_0x1ef7b0(0x411)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x43c)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x25f)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4['joinEvent']},'cmd':_0x4e308c['cmd']};case _0x424b4b[_0x1ef7b0(0x1f0)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4['leaveEvent']},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x301)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x1a3)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b['LIVESHARE_FETCH_OPERATIONS']:case _0x424b4b[_0x1ef7b0(0x218)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x195)]},'cmd':_0x4e308c['cmd']};case _0x424b4b['LIVESHARE_TERMINATE']:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x1a3)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x28e)]:return{..._0x4e308c,'data':_0x2758e4,'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b['COMMENT_UPDATE']:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x364)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b['UPDATE_PERMISSION_OBJ']:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x32d)]},'cmd':_0x4e308c['cmd']};case _0x424b4b[_0x1ef7b0(0x335)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x1c9)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};case _0x424b4b[_0x1ef7b0(0x230)]:return{..._0x4e308c,'data':{..._0x2758e4,'data':_0x2758e4[_0x1ef7b0(0x448)]},'cmd':_0x4e308c[_0x1ef7b0(0x383)]};default:return _0x4e308c;}}default:return _0x4e308c;}}function Hn(_0x5d7dc2){var _0x48292c=_0x4b7416;switch(_0x5d7dc2['cmd']){case F[_0x48292c(0x28f)]:case F[_0x48292c(0x273)]:return JSON[_0x48292c(0x418)]({'cmd':_0x5d7dc2[_0x48292c(0x383)],'routeKey':_0x5d7dc2[_0x48292c(0x1be)]});case F[_0x48292c(0x1b5)]:{let _0x303989;switch(_0x5d7dc2[_0x48292c(0x19a)][_0x48292c(0x1f7)]){case _0x424b4b['UPDATE_CURSOR']:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x411)],'updateCursorEvent':_0x5d7dc2[_0x48292c(0x19a)]['data']};break;}case _0x424b4b[_0x48292c(0x1f0)]:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x1f0)],'leaveEvent':_0x5d7dc2[_0x48292c(0x19a)]['data']};break;}case _0x424b4b[_0x48292c(0x25f)]:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x25f)],'joinEvent':_0x5d7dc2[_0x48292c(0x19a)][_0x48292c(0x19a)]};break;}case _0x424b4b[_0x48292c(0x301)]:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x301)],'liveShareNewHost':_0x5d7dc2[_0x48292c(0x19a)][_0x48292c(0x19a)]};break;}case _0x424b4b[_0x48292c(0x218)]:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x218)],'liveShareOperation':_0x5d7dc2[_0x48292c(0x19a)][_0x48292c(0x19a)]};break;}case _0x424b4b[_0x48292c(0x365)]:{_0x303989={'eventID':_0x424b4b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5d7dc2[_0x48292c(0x19a)][_0x48292c(0x19a)]};break;}case _0x424b4b[_0x48292c(0x26a)]:{_0x303989={'eventID':_0x424b4b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5d7dc2['data'][_0x48292c(0x19a)]};break;}case _0x424b4b[_0x48292c(0x3a0)]:{_0x303989={'eventID':_0x424b4b[_0x48292c(0x3a0)]};break;}default:_0x303989={'eventID':_0x5d7dc2[_0x48292c(0x19a)]['eventID']};}return JSON[_0x48292c(0x418)]({'cmd':_0x5d7dc2[_0x48292c(0x383)],'routeKey':_0x5d7dc2['routeKey'],'collaMsg':_0x303989});}case F[_0x48292c(0x300)]:return JSON['stringify']({'cmd':_0x5d7dc2[_0x48292c(0x383)],'routeKey':_0x5d7dc2[_0x48292c(0x1be)],'joinReq':_0x5d7dc2[_0x48292c(0x19a)]});case F[_0x48292c(0x355)]:return JSON[_0x48292c(0x418)]({'cmd':_0x5d7dc2['cmd'],'routeKey':_0x5d7dc2['routeKey'],'leaveReq':_0x5d7dc2[_0x48292c(0x19a)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x4b7416(0x2cb)],jn=Object[_0x4b7416(0x26b)],Bn=(_0x23aa20,_0x117584,_0x3b7230,_0x26e0e9)=>{var _0x90b909=_0x4b7416;for(var _0x3882d4=_0x26e0e9>0x1?void 0x0:_0x26e0e9?jn(_0x117584,_0x3b7230):_0x117584,_0x35f1a7=_0x23aa20[_0x90b909(0x39c)]-0x1,_0x149b0f;_0x35f1a7>=0x0;_0x35f1a7--)(_0x149b0f=_0x23aa20[_0x35f1a7])&&(_0x3882d4=(_0x26e0e9?_0x149b0f(_0x117584,_0x3b7230,_0x3882d4):_0x149b0f(_0x3882d4))||_0x3882d4);return _0x26e0e9&&_0x3882d4&&kn(_0x117584,_0x3b7230,_0x3882d4),_0x3882d4;},Ue=(_0x5a83fd,_0x16f280)=>(_0xadfc3e,_0x23a155)=>_0x16f280(_0xadfc3e,_0x23a155,_0x5a83fd);const Ci=_0x3009aa(_0x4b7416(0x28b));function Fn(_0x534456,_0x2fab1b,_0x5deb70){var _0x75329=_0x4b7416;return _0x534456+'/'+_0x2fab1b+_0x75329(0x3ac)+_0x5deb70+_0x75329(0x3f2);}let Et=class extends _0x325afd{constructor(_0xaad6a3,_0x386214,_0x110e1e,_0xb0961d,_0x4bb0dc){var _0x2ad0be=_0x4b7416;super(),this['_injector']=_0xaad6a3,this[_0x2ad0be(0x280)]=_0x386214,this['_configService']=_0x110e1e,this['_logService']=_0xb0961d,this[_0x2ad0be(0x2fb)]=_0x4bb0dc;}[_0x4b7416(0x23b)](_0x147283){var _0x5ccbf0=_0x4b7416;const _0x3e5813=this['_injector'][_0x5ccbf0(0x279)](_0xebca31);if(!_0x3e5813)throw new Error(_0x5ccbf0(0x249));const _0x215a88=_0x3e5813[_0x5ccbf0(0x23b)](_0x147283);if(!_0x215a88)throw new Error(_0x5ccbf0(0x29e));const _0x5678b1=new _0x19c122(),_0x1ceadc=new _0x9f6386();_0x5678b1[_0x5ccbf0(0x263)](_0x215a88[_0x5ccbf0(0x399)][_0x5ccbf0(0x435)](_0x2b9d59=>_0x1ceadc[_0x5ccbf0(0x1b8)](_0x2b9d59))),_0x5678b1[_0x5ccbf0(0x263)](_0x2f82a7(()=>_0x1ceadc[_0x5ccbf0(0x3b2)]()));const _0x4a84c2=new _0x9f6386();_0x5678b1[_0x5ccbf0(0x263)](_0x215a88[_0x5ccbf0(0x163)][_0x5ccbf0(0x435)](_0x128481=>_0x4a84c2[_0x5ccbf0(0x1b8)](_0x128481))),_0x5678b1[_0x5ccbf0(0x263)](_0x2f82a7(()=>_0x4a84c2['complete']()));const _0x4d37a9=new _0x9f6386();_0x5678b1[_0x5ccbf0(0x263)](_0x215a88[_0x5ccbf0(0x37c)][_0x5ccbf0(0x435)](_0x181abf=>{var _0x1b1b0e=_0x5ccbf0;const _0x2c0136=$n(_0x181abf);_0x4d37a9[_0x1b1b0e(0x1b8)](_0x2c0136);})),_0x5678b1[_0x5ccbf0(0x263)](_0x2f82a7(()=>_0x4d37a9['complete']()));let _0x5cfcaa;const _0x523053=()=>{var _0x156b9c=_0x5ccbf0;_0x4a84c2[_0x156b9c(0x1b8)](new Event(_0x156b9c(0x16f))),_0x1ceadc[_0x156b9c(0x1b8)](new CloseEvent(_0x156b9c(0x16f))),_0x5cfcaa[_0x156b9c(0x340)]();};return _0x5cfcaa={'memberID':'','close$':_0x1ceadc[_0x5ccbf0(0x32c)](),'error$':_0x4a84c2[_0x5ccbf0(0x32c)](),'open$':_0x215a88[_0x5ccbf0(0x285)],'message$':_0x4d37a9['asObservable'](),'send':_0x2c07e9=>{var _0x228e32=_0x5ccbf0;if(_0x2c07e9[_0x228e32(0x383)]===F['INGEST']){if(_0x2c07e9[_0x228e32(0x19a)]['eventID']===_0x424b4b[_0x228e32(0x3f5)]){this['_submitChangeset'](_0x5cfcaa,_0x2c07e9[_0x228e32(0x19a)])[_0x228e32(0x2c0)](_0x4b3688=>{var _0x38f1f5=_0x228e32;this[_0x38f1f5(0x38f)][_0x38f1f5(0x2bc)](_0x4b3688),_0x523053();});return;}if(_0x2c07e9[_0x228e32(0x19a)]['eventID']===_0x424b4b[_0x228e32(0x199)]){const _0xe8ad0c=_0x2c07e9[_0x228e32(0x19a)];this[_0x228e32(0x2b2)](_0xe8ad0c)[_0x228e32(0x37d)](_0x19f173=>{var _0x5a4b8e=_0x228e32;_0x4d37a9['next']({'cmd':F[_0x5a4b8e(0x42b)],'code':Ee['OK'],'routeKey':_0xe8ad0c[_0x5a4b8e(0x19a)][_0x5a4b8e(0x311)],'routeType':'','data':{'eventID':_0x424b4b[_0x5a4b8e(0x24a)],'data':{'changesets':_0x19f173}}});})[_0x228e32(0x2c0)](_0x27af23=>{var _0x48bd06=_0x228e32;this[_0x48bd06(0x38f)][_0x48bd06(0x2bc)](_0x27af23),_0x523053();});return;}}_0x215a88['send'](Hn(_0x2c07e9));},'close':()=>{var _0x38a551=_0x5ccbf0;_0x215a88[_0x38a551(0x340)](),_0x5678b1[_0x38a551(0x363)]();}},_0x5cfcaa;}async[_0x4b7416(0x1e9)](_0x37a65b,_0xec5333){var _0x12f380=_0x4b7416,_0x5c140a,_0x1994e9;const {unitType:_0x90bf94,unitID:_0x31bb53,changeset:_0x303509}=_0xec5333['data'],_0x915387={'unitID':_0x31bb53,'memberID':_0x37a65b[_0x12f380(0x1ea)],'type':_0x90bf94,'changeset':_0xcf1c2(_0x303509)},_0x48a8a3=this[_0x12f380(0x152)]['getConfig'](Un),_0x2f06d6=this[_0x12f380(0x152)][_0x12f380(0x40e)](q),_0x1f3978=Fn((_0x1994e9=(_0x5c140a=_0x2f06d6==null?void 0x0:_0x2f06d6[_0x12f380(0x26c)])!=null?_0x5c140a:_0x48a8a3)!=null?_0x1994e9:An,_0x90bf94,_0x31bb53);try{await this[_0x12f380(0x280)]['post'](_0x1f3978,{'body':_0x915387});}catch(_0x4064e8){throw this[_0x12f380(0x38f)][_0x12f380(0x2bc)](_0x12f380(0x35e),_0x12f380(0x362)),_0x4064e8;}}async[_0x4b7416(0x2b2)](_0x515eae){var _0x55cd3b=_0x4b7416;const {unitID:_0x2e3dbd,from:_0x4de93f,to:_0x3fdb64,unitType:_0x4df35e}=_0x515eae[_0x55cd3b(0x19a)];return(await this[_0x55cd3b(0x2fb)][_0x55cd3b(0x3b7)]({'metadata':void 0x0},{'unitID':_0x2e3dbd,'type':_0x4df35e,'from':_0x4de93f,'to':_0x3fdb64}))['changesets'];}};Et=Bn([Ue(0x0,_0x33e245(_0x5596e1)),Ue(0x1,_0x33e245(_0x313ce8)),Ue(0x2,_0x1218c6),Ue(0x3,_0x46cc09),Ue(0x4,_0x411302)],Et);const Vn='collaboration_new_changeset';function Gn(_0x591a5e){return JSON['stringify'](_0x591a5e)['length'];}class Ri{constructor(){var _0xda04fa=_0x4b7416;N(this,_0xda04fa(0x16c),new _0x9f6386()),N(this,_0xda04fa(0x419),this[_0xda04fa(0x16c)][_0xda04fa(0x32c)]());}['onCommentUpdate'](_0x5030fc){var _0x283017=_0x4b7416;this[_0x283017(0x16c)][_0x283017(0x1b8)](_0x5030fc);}}var Wn=Object[_0x4b7416(0x2cb)],Kn=Object[_0x4b7416(0x26b)],Yn=(_0x393a36,_0x2700b7,_0x1237c8,_0x265c94)=>{var _0x53f176=_0x4b7416;for(var _0x26f410=_0x265c94>0x1?void 0x0:_0x265c94?Kn(_0x2700b7,_0x1237c8):_0x2700b7,_0x552c78=_0x393a36[_0x53f176(0x39c)]-0x1,_0x5b0025;_0x552c78>=0x0;_0x552c78--)(_0x5b0025=_0x393a36[_0x552c78])&&(_0x26f410=(_0x265c94?_0x5b0025(_0x2700b7,_0x1237c8,_0x26f410):_0x5b0025(_0x26f410))||_0x26f410);return _0x265c94&&_0x26f410&&Wn(_0x2700b7,_0x1237c8,_0x26f410),_0x26f410;},Kt=(_0xa12c28,_0xd8d4ce)=>(_0x5e46b6,_0x17b114)=>_0xd8d4ce(_0x5e46b6,_0x17b114,_0xa12c28);let xe=class extends _0x325afd{constructor(_0xc46e92,_0x1d54d8){var _0x6a75e3=_0x4b7416;super(),N(this,_0x6a75e3(0x24b),new Map()),N(this,_0x6a75e3(0x28a),new _0x9f6386()),(this[_0x6a75e3(0x3cb)]=_0xc46e92,this[_0x6a75e3(0x420)]=_0x1d54d8,this['disposeWithMe'](_0xddea8f(this[_0x6a75e3(0x3cb)][_0x6a75e3(0x30b)](_0x26d1dc['UNIVER_SHEET'])[_0x6a75e3(0x182)](_0x30b411(_0x50e29a=>_0x50e29a[_0x6a75e3(0x314)]())),this[_0x6a75e3(0x3cb)]['getTypeOfUnitDisposed$'](_0x26d1dc[_0x6a75e3(0x3a9)])['pipe'](_0x30b411(_0x30813d=>_0x30813d[_0x6a75e3(0x314)]())),this['_univerInstanceService'][_0x6a75e3(0x30b)](_0x26d1dc[_0x6a75e3(0x400)])[_0x6a75e3(0x182)](_0x30b411(_0x2cb07e=>_0x2cb07e[_0x6a75e3(0x314)]())))['subscribe'](_0x31a76b=>this[_0x6a75e3(0x275)](_0x31a76b))));}['waitForRoom$'](_0x199f6b){var _0x3b5b50=_0x4b7416;return this[_0x3b5b50(0x24b)]['has'](_0x199f6b)?_0x4f9ee1(this[_0x3b5b50(0x24b)][_0x3b5b50(0x279)](_0x199f6b)):this[_0x3b5b50(0x28a)][_0x3b5b50(0x182)](_0x30b411(_0x1d38e9=>{var _0x1ffe8c=_0x3b5b50;if(_0x1d38e9===_0x199f6b)return this[_0x1ffe8c(0x24b)][_0x1ffe8c(0x279)](_0x1d38e9);}));}[_0x4b7416(0x414)](_0x521459){var _0x502de0=_0x4b7416;this[_0x502de0(0x420)][_0x502de0(0x414)](_0x521459);}[_0x4b7416(0x237)](){var _0x2ac139=_0x4b7416;return this[_0x2ac139(0x420)][_0x2ac139(0x237)]();}[_0x4b7416(0x21e)](_0x14ccc1,_0x1dc140){var _0x384059=_0x4b7416;let _0x300251=this[_0x384059(0x24b)]['get'](_0x14ccc1);_0x300251||(_0x300251=new qn(),this['_roomMembers'][_0x384059(0x329)](_0x14ccc1,_0x300251),this[_0x384059(0x28a)][_0x384059(0x1b8)](_0x14ccc1)),_0x300251[_0x384059(0x21e)](_0x1dc140);}['removeMember'](_0x1007f5,_0xdf16a3){var _0xde5243=_0x4b7416;const _0x399e98=this[_0xde5243(0x24b)][_0xde5243(0x279)](_0x1007f5);_0x399e98&&_0x399e98['removeMember'](_0xdf16a3);}['getRoom'](_0x2c7a1a){var _0x14feb1=_0x4b7416;return this[_0x14feb1(0x24b)][_0x14feb1(0x279)](_0x2c7a1a);}['getMember'](_0x55aa7a,_0x4cbe78){var _0xe41c76=_0x4b7416;const _0x291748=this[_0xe41c76(0x24b)][_0xe41c76(0x279)](_0x55aa7a);if(_0x291748)return _0x291748[_0xe41c76(0x197)](_0x4cbe78);}[_0x4b7416(0x275)](_0x1e4093){var _0xf409eb=_0x4b7416;const _0x284448=this[_0xf409eb(0x24b)][_0xf409eb(0x279)](_0x1e4093);_0x284448&&(_0x284448[_0xf409eb(0x363)](),this[_0xf409eb(0x24b)][_0xf409eb(0x3fd)](_0x1e4093));}[_0x4b7416(0x363)](){var _0x31468c=_0x4b7416;this[_0x31468c(0x24b)][_0x31468c(0x1d1)](_0x1cf8af=>_0x1cf8af[_0x31468c(0x363)]()),this[_0x31468c(0x24b)][_0x31468c(0x29b)](),this['_roomCreated$'][_0x31468c(0x3b2)]();}};xe=Yn([Kt(0x0,_0x280bc0),Kt(0x1,_0x33e245(_0x586694))],xe);class qn extends _0x325afd{constructor(){var _0x416a9b=_0x4b7416;super(...arguments),N(this,_0x416a9b(0x326),new Map()),N(this,_0x416a9b(0x2af),new _0x4a0b1c(this['_members'])),N(this,_0x416a9b(0x1f9),this[_0x416a9b(0x2af)][_0x416a9b(0x32c)]());}[_0x4b7416(0x363)](){var _0xd3729f=_0x4b7416;this[_0xd3729f(0x326)][_0xd3729f(0x29b)]();}[_0x4b7416(0x21e)](_0x5821a4){var _0x3f8bd3=_0x4b7416;this['_members'][_0x3f8bd3(0x329)](_0x5821a4['memberID'],_0x5821a4),this[_0x3f8bd3(0x440)]();}[_0x4b7416(0x268)](_0x1421a5){var _0x477d69=_0x4b7416;this[_0x477d69(0x326)][_0x477d69(0x3fd)](_0x1421a5);}[_0x4b7416(0x197)](_0x3af3c9){var _0x485991=_0x4b7416;return this[_0x485991(0x326)][_0x485991(0x279)](_0x3af3c9);}['getAllMembers'](){var _0x4ab89e=_0x4b7416;return Array[_0x4ab89e(0x266)](this[_0x4ab89e(0x326)][_0x4ab89e(0x250)]());}[_0x4b7416(0x440)](){var _0x17fadf=_0x4b7416;this[_0x17fadf(0x2af)][_0x17fadf(0x1b8)](this['_members']);}}var zn=Object[_0x4b7416(0x2cb)],Jn=Object[_0x4b7416(0x26b)],Xn=(_0x80a273,_0x3a890f,_0x3b271b,_0x24babe)=>{for(var _0x532a28=_0x24babe>0x1?void 0x0:_0x24babe?Jn(_0x3a890f,_0x3b271b):_0x3a890f,_0x1bf6a5=_0x80a273['length']-0x1,_0xe51f61;_0x1bf6a5>=0x0;_0x1bf6a5--)(_0xe51f61=_0x80a273[_0x1bf6a5])&&(_0x532a28=(_0x24babe?_0xe51f61(_0x3a890f,_0x3b271b,_0x532a28):_0xe51f61(_0x532a28))||_0x532a28);return _0x24babe&&_0x532a28&&zn(_0x3a890f,_0x3b271b,_0x532a28),_0x532a28;},me=(_0x150889,_0xa02cc)=>(_0x381eff,_0x5919e7)=>_0xa02cc(_0x381eff,_0x5919e7,_0x150889),Te=(_0x49e096=>(_0x49e096[_0x49e096['IDLE']=0x0]=_0x4b7416(0x325),_0x49e096[_0x49e096[_0x4b7416(0x377)]=0x1]=_0x4b7416(0x377),_0x49e096[_0x49e096[_0x4b7416(0x252)]=0x2]=_0x4b7416(0x252),_0x49e096[_0x49e096[_0x4b7416(0x3d1)]=0x3]='ONLINE',_0x49e096))(Te||{});const Yt={[Ee[_0x4b7416(0x381)]]:_0x4b7416(0x328),[Ee[_0x4b7416(0x30a)]]:'session.room-full',[Ee[_0x4b7416(0x16e)]]:'session.room-not-exists',[Ee[_0x4b7416(0x22c)]]:_0x4b7416(0x206),[Ee[_0x4b7416(0x2b7)]]:_0x4b7416(0x154)};let It=class extends _0x1ebecf{constructor(_0x210897,_0x59d184,_0x4dd873,_0x365ea0,_0x35f2cd,_0x1a72cc,_0x44ba0b,_0xb7550d,_0x197318){var _0x194c74=_0x4b7416;super(),N(this,'_sessionStatus$',new _0x4a0b1c(0x0)),N(this,_0x194c74(0x27d),this['_sessionStatus$'][_0x194c74(0x32c)]()),N(this,'_event$',new _0x9f6386()),N(this,_0x194c74(0x2ee),this[_0x194c74(0x3ce)][_0x194c74(0x32c)]()),N(this,'_socket'),N(this,_0x194c74(0x15e)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x210897,this['_logService']=_0x4dd873,this['_configService']=_0x365ea0,this[_0x194c74(0x1f1)]=_0x35f2cd,this[_0x194c74(0x277)]=_0x1a72cc,this['_commentService']=_0x44ba0b,this['_collaborationUIEventService']=_0xb7550d,this[_0x194c74(0x150)]=_0x197318,this[_0x194c74(0x333)]=!!this[_0x194c74(0x150)],_0x59d184['pipe'](_0x1045a6(this[_0x194c74(0x43d)]))[_0x194c74(0x435)](_0x1f3549=>{var _0x2e8576=_0x194c74,_0xedde65;typeof _0x1f3549>'u'||(this['_socket']=_0x1f3549,_0x1f3549?(this[_0x2e8576(0x294)](_0x1f3549),this[_0x2e8576(0x15e)]=_0x1f3549[_0x2e8576(0x37c)]['subscribe'](_0x4e95bc=>{var _0x1935a8=_0x2e8576;_0x4e95bc[_0x1935a8(0x1be)]===this[_0x1935a8(0x412)]&&this[_0x1935a8(0x352)](_0x4e95bc);})):(this[_0x2e8576(0x2db)](),this[_0x2e8576(0x3bb)]['next'](0x2),(_0xedde65=this[_0x2e8576(0x15e)])==null||_0xedde65[_0x2e8576(0x219)](),this['_socketMessageSubscription']=null));}));}get[_0x4b7416(0x1d9)](){var _0x45630c=_0x4b7416;return this[_0x45630c(0x3bb)][_0x45630c(0x1a4)]();}[_0x4b7416(0x360)](){var _0x23ef57,_0x495075;return(_0x495075=(_0x23ef57=this['_socket'])==null?void 0x0:_0x23ef57['memberID'])!=null?_0x495075:null;}[_0x4b7416(0x363)](){var _0x4a10d4=_0x4b7416;super[_0x4a10d4(0x363)](),this[_0x4a10d4(0x43d)]['next'](),this[_0x4a10d4(0x43d)][_0x4a10d4(0x3b2)]();}[_0x4b7416(0x340)](){var _0x507f40=_0x4b7416,_0x180f56,_0x4122a7;this[_0x507f40(0x2db)](),(_0x180f56=this[_0x507f40(0x1e1)])==null||_0x180f56[_0x507f40(0x3e9)]({'cmd':F[_0x507f40(0x355)],'data':{'roomID':this[_0x507f40(0x412)]}}),(_0x4122a7=this[_0x507f40(0x1e1)])==null||_0x4122a7[_0x507f40(0x340)](),this[_0x507f40(0x3ce)][_0x507f40(0x3b2)](),this['_sessionStatus$'][_0x507f40(0x3b2)](),this[_0x507f40(0x363)]();}[_0x4b7416(0x352)](_0x667c0d){var _0x384849=_0x4b7416;_0x667c0d[_0x384849(0x383)]===F[_0x384849(0x300)]?this[_0x384849(0x3c3)](_0x667c0d):_0x667c0d[_0x384849(0x383)]===F[_0x384849(0x42b)]&&this[_0x384849(0x191)](_0x667c0d);}[_0x4b7416(0x294)](_0x2fc16b){var _0x14e35c=_0x4b7416;this['_sessionStatus$'][_0x14e35c(0x1b8)](0x1),_0x2fc16b['send']({'cmd':F[_0x14e35c(0x300)],'routeKey':this[_0x14e35c(0x412)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14e35c(0x412)]}]}});}[_0x4b7416(0x3c3)](_0x49c59c){var _0x493c0f=_0x4b7416,_0x20c20d;if(_0x49c59c['code']in Yt){this[_0x493c0f(0x43a)][_0x493c0f(0x213)]({'id':se[_0x493c0f(0x2ba)],'data':Yt[_0x49c59c[_0x493c0f(0x25b)]]}),this[_0x493c0f(0x3bb)][_0x493c0f(0x1b8)](0x2);return;}this[_0x493c0f(0x3bb)][_0x493c0f(0x1b8)](0x3);const _0x268657=(_0x20c20d=_0x49c59c[_0x493c0f(0x19a)]['roomInfos'][this[_0x493c0f(0x412)]])==null?void 0x0:_0x20c20d['members'];_0x268657&&_0x268657[_0x493c0f(0x1d1)](_0x10d08b=>this[_0x493c0f(0x277)][_0x493c0f(0x21e)](this[_0x493c0f(0x412)],_0x10d08b));}[_0x4b7416(0x191)](_0x139e91){var _0x59b876=_0x4b7416;try{const _0x17c67b=_0x139e91[_0x59b876(0x19a)];switch(_0x17c67b['eventID']){case _0x424b4b[_0x59b876(0x25f)]:this['_onUserJoin'](_0x17c67b),this[_0x59b876(0x3ce)][_0x59b876(0x1b8)](_0x17c67b);break;case _0x424b4b[_0x59b876(0x1f0)]:this['_onUserLeave'](_0x17c67b),this[_0x59b876(0x3ce)][_0x59b876(0x1b8)](_0x17c67b);break;case _0x424b4b['CHANGESET_ACK']:case _0x424b4b[_0x59b876(0x179)]:this[_0x59b876(0x159)](),this[_0x59b876(0x276)](),this[_0x59b876(0x3ce)][_0x59b876(0x1b8)](_0x17c67b);break;case _0x424b4b[_0x59b876(0x28e)]:this[_0x59b876(0x38f)][_0x59b876(0x2bc)](_0x59b876(0x227)+JSON['stringify'](_0x17c67b)),this['_event$']['next'](_0x17c67b);break;case _0x424b4b[_0x59b876(0x2d6)]:this[_0x59b876(0x2c5)]['onCommentUpdate'](_0x17c67b['data']),this[_0x59b876(0x3ce)][_0x59b876(0x1b8)](_0x17c67b);break;default:this[_0x59b876(0x3ce)][_0x59b876(0x1b8)](_0x17c67b);}}catch(_0x13cf4d){this[_0x59b876(0x38f)][_0x59b876(0x2bc)](_0x13cf4d,_0x139e91);}}['_onUserJoin'](_0x390cbb){var _0x56bff4=_0x4b7416;this[_0x56bff4(0x277)][_0x56bff4(0x21e)](this['_unitID'],_0x390cbb['data']);}[_0x4b7416(0x247)](_0x4c4065){var _0x58454d=_0x4b7416;this['_memberService'][_0x58454d(0x268)](this[_0x58454d(0x412)],_0x4c4065[_0x58454d(0x19a)][_0x58454d(0x1ea)]);}async[_0x4b7416(0x3e9)](_0x1c1b30,_0x47cc46){var _0x3f9fc5=_0x4b7416;if(this[_0x3f9fc5(0x1d9)]!==0x3||!this['_socket'])throw new Error(_0x3f9fc5(0x1d3));try{_0x1c1b30[_0x3f9fc5(0x1f7)]===_0x424b4b['SUBMIT_CHANGESET']&&(this[_0x3f9fc5(0x353)](),this[_0x3f9fc5(0x188)](_0x1c1b30)),this['_socket']['send']({'cmd':F[_0x3f9fc5(0x1b5)],'routeKey':_0x47cc46,'routeType':'','data':_0x1c1b30});}catch(_0x2666ac){this[_0x3f9fc5(0x38f)][_0x3f9fc5(0x2bc)](_0x2666ac);}}[_0x4b7416(0x353)](){var _0x20867c=_0x4b7416,_0x135a0a;this[_0x20867c(0x3cd)]=setTimeout(()=>{var _0x4f7b11=_0x20867c;this['_collaborationTimeoutTimer']=null,this[_0x4f7b11(0x43a)][_0x4f7b11(0x213)]({'id':se[_0x4f7b11(0x222)]});},(_0x135a0a=this['_configService'][_0x20867c(0x40e)](Si))!=null?_0x135a0a:Ei);}[_0x4b7416(0x276)](){var _0x12e774=_0x4b7416;this[_0x12e774(0x3cd)]&&(clearTimeout(this[_0x12e774(0x3cd)]),this[_0x12e774(0x3cd)]=null);}[_0x4b7416(0x188)](_0x2f5b84){var _0x156373=_0x4b7416;if(!this[_0x156373(0x333)])return;const {data:_0x38db16}=_0x2f5b84,{unitID:_0x5a87f3,changeset:_0x509a2f}=_0x38db16,{mutations:_0x4ced9b,type:_0x3abd0b}=_0x509a2f;this[_0x156373(0x155)]={'unitId':_0x5a87f3,'type':_0x3abd0b,'startTime':performance[_0x156373(0x33a)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4ced9b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2ee15c=_0x4b7416;if(this[_0x2ee15c(0x333)]){if(!this['_telemetryInfo']){this[_0x2ee15c(0x38f)][_0x2ee15c(0x2bc)](_0x2ee15c(0x35e),_0x2ee15c(0x260));return;}this['_telemetryInfo']['stopTime']=performance[_0x2ee15c(0x33a)](),this[_0x2ee15c(0x155)]['duration']=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x2ee15c(0x2aa)],this[_0x2ee15c(0x150)][_0x2ee15c(0x3c9)](Vn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x4b7416(0x2db)](){var _0x471ba4=_0x4b7416;this[_0x471ba4(0x155)]=null;}};It=Xn([me(0x2,_0x46cc09),me(0x3,_0x1218c6),me(0x4,_0x33e245(_0x377f39)),me(0x5,_0x33e245(xe)),me(0x6,_0x33e245(Ri)),me(0x7,_0x33e245(pe)),me(0x8,_0x30fb77(_0x5e9635))],It);var Zn=Object[_0x4b7416(0x2cb)],Qn=Object[_0x4b7416(0x26b)],er=(_0xf31670,_0x2f851e,_0x230d04,_0x4f955c)=>{var _0x12fcc1=_0x4b7416;for(var _0x484511=_0x4f955c>0x1?void 0x0:_0x4f955c?Qn(_0x2f851e,_0x230d04):_0x2f851e,_0x192b2e=_0xf31670[_0x12fcc1(0x39c)]-0x1,_0x3f9288;_0x192b2e>=0x0;_0x192b2e--)(_0x3f9288=_0xf31670[_0x192b2e])&&(_0x484511=(_0x4f955c?_0x3f9288(_0x2f851e,_0x230d04,_0x484511):_0x3f9288(_0x484511))||_0x484511);return _0x4f955c&&_0x484511&&Zn(_0x2f851e,_0x230d04,_0x484511),_0x484511;},ge=(_0x5beef9,_0x42a711)=>(_0x15e3b7,_0x4bf0c5)=>_0x42a711(_0x15e3b7,_0x4bf0c5,_0x5beef9);let Le=class extends _0x325afd{constructor(_0x5f1a3f,_0x292675,_0x43051f,_0x33ab6f,_0x38477f,_0x2f60f0,_0x45f041){var _0x282cf5=_0x4b7416;super(),N(this,_0x282cf5(0x3f4),new _0x4a0b1c(void 0x0)),N(this,_0x282cf5(0x186),this[_0x282cf5(0x3f4)][_0x282cf5(0x32c)]()),N(this,_0x282cf5(0x31e),null),N(this,_0x282cf5(0x1d2),new Map()),N(this,'_status$',new _0x4a0b1c(Te['IDLE'])),N(this,'status$',this[_0x282cf5(0x234)]['asObservable']()),N(this,_0x282cf5(0x257),!0x1),N(this,_0x282cf5(0x1c0)),N(this,_0x282cf5(0x17e),0x0),N(this,_0x282cf5(0x1e2)),N(this,_0x282cf5(0x3c2)),(this[_0x282cf5(0x3e3)]=_0x5f1a3f,this[_0x282cf5(0x38f)]=_0x292675,this[_0x282cf5(0x152)]=_0x43051f,this[_0x282cf5(0x405)]=_0x33ab6f,this['_httpService']=_0x38477f,this[_0x282cf5(0x43a)]=_0x2f60f0,this[_0x282cf5(0x162)]=_0x45f041,this[_0x282cf5(0x439)]());}get[_0x4b7416(0x1e1)](){var _0x1720ab=_0x4b7416;return this[_0x1720ab(0x3f4)][_0x1720ab(0x1a4)]();}[_0x4b7416(0x439)](){var _0x582aad=_0x4b7416;this['_networkConditionService']&&this[_0x582aad(0x20d)](this['_networkConditionService']['online$'][_0x582aad(0x435)](_0x56e641=>{var _0x25d4f8=_0x582aad;_0x56e641&&!this[_0x25d4f8(0x1e1)]&&this['reconnect'](),_0x56e641||this[_0x25d4f8(0x166)]();}));}[_0x4b7416(0x363)](){var _0x4b915e=_0x4b7416;super[_0x4b915e(0x363)](),this['_sessions']['forEach'](_0x31c2fa=>_0x31c2fa['dispose']()),this['_sessions'][_0x4b915e(0x29b)](),this[_0x4b915e(0x234)][_0x4b915e(0x3b2)]();}async[_0x4b7416(0x3fb)](_0x20656a){var _0xa0ff6d=_0x4b7416;if(this[_0xa0ff6d(0x1d2)][_0xa0ff6d(0x3e2)](_0x20656a))return this['_sessions'][_0xa0ff6d(0x279)](_0x20656a);this['_tryEnsureSocket']();const _0xac0aec=this[_0xa0ff6d(0x3e3)][_0xa0ff6d(0x2ff)](It,_0x20656a,this['_socket$']['asObservable']());return this['_sessions'][_0xa0ff6d(0x329)](_0x20656a,_0xac0aec),_0xac0aec;}['closeSession'](_0x21e597){var _0x1c3586=_0x4b7416,_0x22f520;const _0x5116b3=this[_0x1c3586(0x1d2)]['get'](_0x21e597);_0x5116b3&&(this[_0x1c3586(0x1d2)][_0x1c3586(0x3fd)](_0x21e597),_0x5116b3[_0x1c3586(0x340)]()),this['_sessions']['size']||(_0x22f520=this['_socket'])==null||_0x22f520['close']();}[_0x4b7416(0x331)](){var _0x750de4=_0x4b7416;this[_0x750de4(0x17e)]=0x0,this[_0x750de4(0x1c0)]!=null&&(clearTimeout(this[_0x750de4(0x1c0)]),this['_retryConnectingTimer']=null),this[_0x750de4(0x236)]();}async[_0x4b7416(0x1c7)](){var _0xf7c09=_0x4b7416,_0x54c849,_0x5bda49,_0x1262b7;const _0x246c4d=this['_configService'][_0xf7c09(0x40e)](q),_0x22c176=(_0x54c849=_0x246c4d==null?void 0x0:_0x246c4d['wsSessionTicketUrl'])!=null?_0x54c849:On;return(_0x1262b7=(_0x5bda49=(await this[_0xf7c09(0x15a)][_0xf7c09(0x279)](_0x22c176,{'headers':{'Content-Type':_0xf7c09(0x238)}}))['body'])==null?void 0x0:_0x5bda49[_0xf7c09(0x321)])!=null?_0x1262b7:'';}[_0x4b7416(0x349)](_0x521bbe){var _0x2e4599=_0x4b7416,_0x85fcd3,_0x13d167;const _0x5a56cf=this[_0x2e4599(0x152)]['getConfig'](Rn),_0x33bf8b=this[_0x2e4599(0x152)][_0x2e4599(0x40e)](q),_0x6bde5b=(_0x13d167=(_0x85fcd3=_0x33bf8b==null?void 0x0:_0x33bf8b[_0x2e4599(0x3f3)])!=null?_0x85fcd3:_0x5a56cf)!=null?_0x13d167:bn,_0xe5fd48=typeof window>'u'?new URL(_0x6bde5b):new URL(_0x6bde5b,window[_0x2e4599(0x2c4)][_0x2e4599(0x14f)]);_0xe5fd48[_0x2e4599(0x2b1)][_0x2e4599(0x329)](_0x2e4599(0x2d4),_0x521bbe);const _0x1a3432=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2e4599(0x2c4)]['search']);return _0x1a3432[_0x2e4599(0x279)](_0x2e4599(0x38d))&&_0xe5fd48[_0x2e4599(0x2b1)][_0x2e4599(0x329)](_0x2e4599(0x38d),_0x1a3432[_0x2e4599(0x279)](_0x2e4599(0x38d))),_0xe5fd48[_0x2e4599(0x148)]();}async['_createSocket'](){var _0x2ca33c=_0x4b7416;const _0x6e9c03=await this[_0x2ca33c(0x1c7)](),_0x4aa58b=this['_createSocketURL'](_0x6e9c03),_0x16062c=this[_0x2ca33c(0x405)]['createSocket'](_0x4aa58b);return this[_0x2ca33c(0x31e)]=_0x16062c,_0x16062c;}async[_0x4b7416(0x318)](){var _0x1b7ccc=_0x4b7416,_0x14fecc,_0x5d8663;try{const _0x19701b=(_0x5d8663=(_0x14fecc=this[_0x1b7ccc(0x1e1)])!=null?_0x14fecc:this[_0x1b7ccc(0x31e)])!=null?_0x5d8663:await this[_0x1b7ccc(0x19b)]();if(_0x19701b){const _0x4854dc=_0x19701b[_0x1b7ccc(0x3e9)];_0x19701b[_0x1b7ccc(0x3e9)]=_0x22ed74=>(this[_0x1b7ccc(0x36e)](),_0x4854dc['apply'](_0x19701b,[_0x22ed74])),_0x19701b[_0x1b7ccc(0x37c)][_0x1b7ccc(0x435)](_0x3fb12a=>this['_onMessage'](_0x19701b,_0x3fb12a)),_0x19701b[_0x1b7ccc(0x163)][_0x1b7ccc(0x182)](_0x5a9f4b(0x1))['subscribe'](_0x32e942=>this[_0x1b7ccc(0x38f)][_0x1b7ccc(0x2bc)]('[CollaborationSessionService]:\x20socket\x20error',_0x32e942)),_0x19701b['open$'][_0x1b7ccc(0x182)](_0x5a9f4b(0x1))[_0x1b7ccc(0x435)](()=>{var _0x3b30ac=_0x1b7ccc;this[_0x3b30ac(0x1fa)](_0x19701b);}),_0x19701b[_0x1b7ccc(0x399)]['pipe'](_0x5a9f4b(0x1))[_0x1b7ccc(0x435)](_0x5221ae=>{var _0x20384f=_0x1b7ccc;this[_0x20384f(0x38f)][_0x20384f(0x1c3)](_0x20384f(0x3f7),_0x20384f(0x303),_0x5221ae),this['_onConnectionFailed']();});}}catch(_0x3020e4){this[_0x1b7ccc(0x38f)][_0x1b7ccc(0x2bc)](_0x3020e4),this['_onConnectionFailed']();}}[_0x4b7416(0x1fa)](_0x3be0c9){var _0x213134=_0x4b7416;this[_0x213134(0x38f)][_0x213134(0x1c3)](_0x213134(0x3f7),_0x213134(0x1f3)),_0x3be0c9[_0x213134(0x3e9)]({'cmd':F[_0x213134(0x273)]}),this[_0x213134(0x36e)]();}[_0x4b7416(0x166)](){var _0x35ee82=_0x4b7416;this[_0x35ee82(0x257)]=!0x1,this[_0x35ee82(0x31e)]=null,this[_0x35ee82(0x234)]['next'](Te[_0x35ee82(0x252)]),this[_0x35ee82(0x3f4)]['next'](null),this[_0x35ee82(0x357)](),this[_0x35ee82(0x415)]();}[_0x4b7416(0x421)](){var _0x574556=_0x4b7416,_0x34fbae;this[_0x574556(0x166)](),this[_0x574556(0x17e)]<((_0x34fbae=this['_configService']['getConfig'](Pn))!=null?_0x34fbae:wn)?(this['_collaborationUIEventService'][_0x574556(0x213)]({'id':se[_0x574556(0x189)]}),this[_0x574556(0x236)]()):this['_collaborationUIEventService'][_0x574556(0x213)]({'id':se[_0x574556(0x26e)]});}[_0x4b7416(0x236)](){var _0x2e9790=_0x4b7416,_0x500d24;const _0xd01066=this['_retryCount'],_0x3a3bd8=this['_configService'][_0x2e9790(0x40e)](q),_0x177282=_0xd01066===0x0?0x0:((_0x500d24=_0x3a3bd8==null?void 0x0:_0x3a3bd8[_0x2e9790(0x1b6)])!=null?_0x500d24:Dn)*0x2**_0xd01066;this[_0x2e9790(0x1c0)]=setTimeout(()=>{var _0x5a8f9f=_0x2e9790;clearTimeout(this['_retryConnectingTimer']),this[_0x5a8f9f(0x1c0)]=null,this[_0x5a8f9f(0x318)]();},_0x177282),this[_0x2e9790(0x17e)]+=0x1;}[_0x4b7416(0x316)](_0x4fbfa1,_0x1da952){var _0x1086c5=_0x4b7416;const {cmd:_0x37573d}=_0x1da952;_0x37573d===F['HELLO']&&!this[_0x1086c5(0x257)]&&(_0x4fbfa1['memberID']=_0x1da952[_0x1086c5(0x19a)][_0x1086c5(0x1ea)],this[_0x1086c5(0x3f4)][_0x1086c5(0x1b8)](_0x4fbfa1),this[_0x1086c5(0x234)][_0x1086c5(0x1b8)](Te[_0x1086c5(0x3d1)]),this['_socketReady']=!0x0,this[_0x1086c5(0x31e)]=null),_0x37573d===F[_0x1086c5(0x28f)]&&this[_0x1086c5(0x357)](),this[_0x1086c5(0x36e)]();}[_0x4b7416(0x36e)](){var _0x41f3ed=_0x4b7416,_0x2bb08b;this[_0x41f3ed(0x415)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x41f3ed(0x1d0)](),(_0x2bb08b=this[_0x41f3ed(0x152)][_0x41f3ed(0x40e)](yn))!=null?_0x2bb08b:Nn);}[_0x4b7416(0x1d0)](){var _0x1d57a0=_0x4b7416;this[_0x1d57a0(0x1e1)][_0x1d57a0(0x3e9)]({'cmd':F['HEARTBEAT']}),this[_0x1d57a0(0x424)]();}[_0x4b7416(0x424)](){var _0x32ccb0=_0x4b7416,_0x23b87b;this[_0x32ccb0(0x3c2)]=setTimeout(()=>this[_0x32ccb0(0x421)](),(_0x23b87b=this[_0x32ccb0(0x152)]['getConfig'](Si))!=null?_0x23b87b:Ei);}['_clearHeartbeatTimer'](){var _0x34d033=_0x4b7416;this[_0x34d033(0x1e2)]!=null&&(clearTimeout(this[_0x34d033(0x1e2)]),this[_0x34d033(0x1e2)]=null);}[_0x4b7416(0x357)](){var _0x1e0bbe=_0x4b7416;this[_0x1e0bbe(0x3c2)]!=null&&(clearTimeout(this[_0x1e0bbe(0x3c2)]),this[_0x1e0bbe(0x3c2)]=null);}};Le=er([ge(0x0,_0x33e245(_0x5596e1)),ge(0x1,_0x46cc09),ge(0x2,_0x1218c6),ge(0x3,Ci),ge(0x4,_0x33e245(_0x313ce8)),ge(0x5,_0x33e245(pe)),ge(0x6,_0x30fb77(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4b7416(0x148)](0x10)[_0x4b7416(0x367)](0x1));function tr(_0x597412,_0x25ef62=0x0){var _0x2275f5=_0x4b7416;return(V[_0x597412[_0x25ef62+0x0]]+V[_0x597412[_0x25ef62+0x1]]+V[_0x597412[_0x25ef62+0x2]]+V[_0x597412[_0x25ef62+0x3]]+'-'+V[_0x597412[_0x25ef62+0x4]]+V[_0x597412[_0x25ef62+0x5]]+'-'+V[_0x597412[_0x25ef62+0x6]]+V[_0x597412[_0x25ef62+0x7]]+'-'+V[_0x597412[_0x25ef62+0x8]]+V[_0x597412[_0x25ef62+0x9]]+'-'+V[_0x597412[_0x25ef62+0xa]]+V[_0x597412[_0x25ef62+0xb]]+V[_0x597412[_0x25ef62+0xc]]+V[_0x597412[_0x25ef62+0xd]]+V[_0x597412[_0x25ef62+0xe]]+V[_0x597412[_0x25ef62+0xf]])[_0x2275f5(0x386)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x38be65=_0x4b7416;if(!ut){if(typeof crypto>'u'||!crypto[_0x38be65(0x1a7)])throw new Error(_0x38be65(0x2ce));ut=crypto['getRandomValues']['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x10ce3c,_0x3377f5,_0x163868){var _0x3366b3=_0x4b7416,_0x1026f1,_0x5f3b5c,_0x1bbc2f;if(qt[_0x3366b3(0x1af)]&&!_0x10ce3c)return qt[_0x3366b3(0x1af)]();_0x10ce3c=_0x10ce3c||{};const _0x29f956=(_0x1bbc2f=(_0x5f3b5c=_0x10ce3c['random'])!=null?_0x5f3b5c:(_0x1026f1=_0x10ce3c[_0x3366b3(0x224)])==null?void 0x0:_0x1026f1[_0x3366b3(0x3f8)](_0x10ce3c))!=null?_0x1bbc2f:nr();if(_0x29f956['length']<0x10)throw new Error(_0x3366b3(0x3d6));return _0x29f956[0x6]=_0x29f956[0x6]&0xf|0x40,_0x29f956[0x8]=_0x29f956[0x8]&0x3f|0x80,tr(_0x29f956);}const J=_0x3009aa(_0x4b7416(0x1c6));function so(_0x3d0c20){var _0x514b61=_0x4b7416;return _0x514b61(0x2a3)+_0x3d0c20;}var or=Object[_0x4b7416(0x2cb)],ar=Object[_0x4b7416(0x26b)],cr=(_0x3b4779,_0x42214c,_0xdddad5,_0x20e6e9)=>{var _0x3df13c=_0x4b7416;for(var _0x584bb1=_0x20e6e9>0x1?void 0x0:_0x20e6e9?ar(_0x42214c,_0xdddad5):_0x42214c,_0x16e9ee=_0x3b4779[_0x3df13c(0x39c)]-0x1,_0x5372a0;_0x16e9ee>=0x0;_0x16e9ee--)(_0x5372a0=_0x3b4779[_0x16e9ee])&&(_0x584bb1=(_0x20e6e9?_0x5372a0(_0x42214c,_0xdddad5,_0x584bb1):_0x5372a0(_0x584bb1))||_0x584bb1);return _0x20e6e9&&_0x584bb1&&or(_0x42214c,_0xdddad5,_0x584bb1),_0x584bb1;},dt=(_0x12c5d1,_0x54379d)=>(_0x35f781,_0xa7f534)=>_0x54379d(_0x35f781,_0xa7f534,_0x12c5d1);function hr(_0x14db12){var _0x65f27d=_0x4b7416;const {unitID:_0x260d49,mutations:_0x496338}=_0x14db12;return{'unitId':_0x260d49,'subUnitId':_0x496338[0x0][_0x65f27d(0x228)][_0x65f27d(0x3eb)]};}let it=class{constructor(_0x2ef3c1,_0x30d292,_0x37ac0b){var _0x4e763e=_0x4b7416;this[_0x4e763e(0x3e3)]=_0x2ef3c1,this[_0x4e763e(0x24d)]=_0x30d292,this[_0x4e763e(0x31d)]=_0x37ac0b;}[_0x4b7416(0x20b)](_0x264cc8){var _0xd31a61=_0x4b7416,_0x3160b8,_0x47f9df,_0x4d1b50,_0xa515c6;const _0x39e485=this['_injector'][_0xd31a61(0x279)](_0x3c531e),{unitId:_0x7810fd,subUnitId:_0x2b302b}=hr(_0x264cc8),_0x558c7f=_0x39e485==null?void 0x0:_0x39e485[_0xd31a61(0x295)](_0x7810fd)['getCurrentSelections'](),_0x4db0eb=(_0x47f9df=(_0x3160b8=this['_instanceService'][_0xd31a61(0x13f)](_0x7810fd))==null?void 0x0:_0x3160b8[_0xd31a61(0x444)]())==null?void 0x0:_0x47f9df['getSheetId']();if(_0x558c7f[_0xd31a61(0x39c)]===0x0||!_0x7810fd||!_0x2b302b)return;const _0x1a00af=[{'id':_0xd89e59['id'],'params':{'unitId':_0x7810fd,'subUnitId':_0x4db0eb,'selections':_0x12b872[_0xd31a61(0x3c6)](_0x558c7f)}}],_0x14f39a=this[_0xd31a61(0x24d)][_0xd31a61(0x332)](_0x264cc8,_0x1a00af);if(!_0x3469f3(_0x14f39a))throw _0x14f39a[_0xd31a61(0x2bc)];const _0x342094=(_0xa515c6=(_0x4d1b50=_0x14f39a[_0xd31a61(0x3b1)][0x0])==null?void 0x0:_0x4d1b50[_0xd31a61(0x228)])==null?void 0x0:_0xa515c6[_0xd31a61(0x24e)];if(Array['isArray'](_0x342094)&&_0x342094[_0xd31a61(0x39c)]){if(_0x342094[_0xd31a61(0x39c)]===_0x1a00af[0x0][_0xd31a61(0x228)]['selections'][_0xd31a61(0x39c)]&&_0x342094[_0xd31a61(0x1c2)]((_0x2e4423,_0x48baff)=>_0x383a7d['equals'](_0x2e4423[_0xd31a61(0x361)],_0x1a00af[0x0][_0xd31a61(0x228)]['selections'][_0x48baff][_0xd31a61(0x361)])))return;this[_0xd31a61(0x3e3)][_0xd31a61(0x279)](_0x44e191)[_0xd31a61(0x437)](_0xd89e59['id'],{'unitId':_0x7810fd,'subUnitId':_0x4db0eb,'selections':_0x342094});}}};it=cr([dt(0x0,_0x33e245(_0x5596e1)),dt(0x1,_0x1186f3),dt(0x2,_0x280bc0)],it);const ht=_0x3009aa(_0x4b7416(0x144));var bi=(_0x55a1ff=>(_0x55a1ff[_0x55a1ff['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4b7416(0x2e4),_0x55a1ff[_0x55a1ff[_0x4b7416(0x200)]=0x1]=_0x4b7416(0x200),_0x55a1ff))(bi||{});const _r=new Set([_0xe3eea5['id']]);function zt(_0xc7f92c,_0x44ef18,_0x25a59f,_0x4a233c,_0x3d4fe5){var _0x137f92=_0x4b7416,_0x2dc4c6,_0x1786ff,_0x4b5e1c,_0x27500a;const _0x5c5e41=[];for(const _0x344db5 of _0xc7f92c)if(_r[_0x137f92(0x3e2)](_0x344db5['id'])){if(_0x5c5e41['length']>0x0)break;_0x5c5e41[_0x137f92(0x2fa)](_0x344db5);break;}else _0x5c5e41['push'](_0x344db5);const _0x57c03e=(_0x1786ff=(_0x2dc4c6=_0x3d4fe5[_0x137f92(0x237)]())==null?void 0x0:_0x2dc4c6[_0x137f92(0x157)])!=null?_0x1786ff:_0x137f92(0x3fe),_0x170933=(_0x27500a=(_0x4b5e1c=_0x3d4fe5[_0x137f92(0x237)]())==null?void 0x0:_0x4b5e1c['memberID'])!=null?_0x27500a:_0x137f92(0x3fe);return{'changeset':{'unitID':_0x44ef18,'type':_0x2df773(_0x25a59f[_0x137f92(0x2a5)](_0x44ef18)),'baseRev':_0x4a233c[_0x137f92(0x264)](_0x44ef18),'revision':0x0,'userID':_0x57c03e,'memberID':_0x170933,'mutations':_0x5c5e41},'pendingMutations':_0xc7f92c[_0x137f92(0x367)](_0x5c5e41[_0x137f92(0x39c)])};}function lr(_0x3d4356,_0x1720e2,_0x3e0c00,_0x5a20a3,_0x6ab509){var _0x4bac0c=_0x4b7416,_0x53e571,_0xdcf354,_0x33437b,_0x52685d;const _0x306aee=[_0x3d4356[_0x4bac0c(0x422)]((_0x59be32,_0x1e7739)=>{var _0x7730bf=_0x4bac0c,_0x6e00e2;const {id:_0x592837}=_0x59be32,{id:_0x1467dd,type:_0x436b27}=_0x1e7739,_0x4f0d17=(_0x6e00e2=_0x59be32['params'])!=null?_0x6e00e2:{'actions':null},_0x574877=_0x1e7739['params'];if(_0x592837&&_0x592837!==_0x1467dd)throw new Error(_0x7730bf(0x180)+_0x592837+_0x7730bf(0x2bb)+_0x1467dd+'.');return{..._0x59be32,'id':_0x1467dd,'type':_0x436b27,'params':{'unitId':_0x574877[_0x7730bf(0x18c)],'textRanges':_0x574877[_0x7730bf(0x177)],'actions':_0x3eb9dc['compose'](_0x4f0d17[_0x7730bf(0x2b0)],_0x574877['actions'])}};},{})],_0x30d6b7=(_0xdcf354=(_0x53e571=_0x6ab509[_0x4bac0c(0x237)]())==null?void 0x0:_0x53e571[_0x4bac0c(0x157)])!=null?_0xdcf354:'unknown',_0x5da425=(_0x52685d=(_0x33437b=_0x6ab509[_0x4bac0c(0x237)]())==null?void 0x0:_0x33437b[_0x4bac0c(0x1ea)])!=null?_0x52685d:'unknown';return{'changeset':{'unitID':_0x1720e2,'type':_0x2df773(_0x3e0c00['getUnitType'](_0x1720e2)),'baseRev':_0x5a20a3[_0x4bac0c(0x264)](_0x1720e2),'revision':0x0,'userID':_0x30d6b7,'memberID':_0x5da425,'mutations':_0x306aee},'pendingMutations':[]};}function Oi(_0x53f4e1,_0x1da4b3){var _0x1871d8=_0x4b7416;const _0x231274=new _0x501bd8(0x1);return setTimeout(()=>_0x231274['next'](_0x1da4b3),_0x53f4e1),_0x231274['asObservable']()[_0x1871d8(0x182)](_0x2501f0(0x1));}const ur={'id':_0x44b477['id'],'type':_0x26c610[_0x4b7416(0x13d)],'params':{}};function _0x1bf9(_0x3db1da,_0x403d7b){var _0x1977fe=_0x1977();return _0x1bf9=function(_0x1bf974,_0x5bd875){_0x1bf974=_0x1bf974-0x13d;var _0x17a01d=_0x1977fe[_0x1bf974];return _0x17a01d;},_0x1bf9(_0x3db1da,_0x403d7b);}var dr=Object['defineProperty'],fr=Object[_0x4b7416(0x26b)],Re=(_0x458421,_0x185ec4,_0x3da567,_0xe6e8f1)=>{var _0x24fb7f=_0x4b7416;for(var _0x225fde=_0xe6e8f1>0x1?void 0x0:_0xe6e8f1?fr(_0x185ec4,_0x3da567):_0x185ec4,_0x1e0f3f=_0x458421[_0x24fb7f(0x39c)]-0x1,_0x555e5a;_0x1e0f3f>=0x0;_0x1e0f3f--)(_0x555e5a=_0x458421[_0x1e0f3f])&&(_0x225fde=(_0xe6e8f1?_0x555e5a(_0x185ec4,_0x3da567,_0x225fde):_0x555e5a(_0x225fde))||_0x225fde);return _0xe6e8f1&&_0x225fde&&dr(_0x185ec4,_0x3da567,_0x225fde),_0x225fde;},A=(_0x27ee73,_0x56ab0b)=>(_0x500ca3,_0x2e499b)=>_0x56ab0b(_0x500ca3,_0x2e499b,_0x27ee73),yi=(_0x44c858=>(_0x44c858[_0x4b7416(0x31c)]='not_collab',_0x44c858[_0x4b7416(0x3aa)]=_0x4b7416(0x31b),_0x44c858[_0x4b7416(0x346)]=_0x4b7416(0x183),_0x44c858['AWAITING']=_0x4b7416(0x3de),_0x44c858['AWAITING_WITH_PENDING']=_0x4b7416(0x387),_0x44c858[_0x4b7416(0x1d7)]=_0x4b7416(0x371),_0x44c858[_0x4b7416(0x31f)]='conflict',_0x44c858['OFFLINE']=_0x4b7416(0x2da),_0x44c858))(yi||{});const Ni=0xea60;class be{constructor(_0x235f00,_0x420e82,_0x1d2037,_0x990a43,_0x5a1ae3,_0x191d6b,_0x13450e,_0x59b709,_0xbc35f2){var _0x4952de=_0x4b7416;N(this,_0x4952de(0x18a),null),N(this,_0x4952de(0x225),[]),(this[_0x4952de(0x311)]=_0x235f00,this[_0x4952de(0x38e)]=_0x420e82,this['_handler']=_0x5a1ae3,this[_0x4952de(0x30e)]=_0x191d6b,this[_0x4952de(0x33c)]=_0x13450e,this[_0x4952de(0x39f)]=_0x59b709,this[_0x4952de(0x341)]=_0xbc35f2,this['_awaitingChangeset']=_0x1d2037,this[_0x4952de(0x225)]=_0x990a43);}[_0x4b7416(0x2a1)](_0x58f1d0){var _0x5a9391=_0x4b7416;const _0x2f3f5f=this[_0x5a9391(0x39f)][_0x5a9391(0x264)](this[_0x5a9391(0x311)]);return _0x58f1d0[_0x5a9391(0x297)]>_0x2f3f5f+0x1?(this[_0x5a9391(0x14a)][_0x5a9391(0x39d)]({'from':_0x2f3f5f,'to':_0x58f1d0[_0x5a9391(0x297)]-0x1}),!0x0):!0x1;}[_0x4b7416(0x2ea)](_0x45983c){var _0x448ae4=_0x4b7416;this[_0x448ae4(0x33c)]['transformUndoRedo'](this[_0x448ae4(0x311)],_0x45983c);}[_0x4b7416(0x372)](_0x3ee462){var _0x3c3ce=_0x4b7416,_0x431ece,_0x22af9b;(_0x22af9b=(_0x431ece=this[_0x3c3ce(0x14a)])[_0x3c3ce(0x35f)])==null||_0x22af9b['call'](_0x431ece,_0x3ee462);}[_0x4b7416(0x25a)](_0x58e08b){var _0x5e20b7=_0x4b7416,_0xdc714b,_0x22e131;return(_0x22e131=(_0xdc714b=this[_0x5e20b7(0x14a)])[_0x5e20b7(0x1cd)])==null?void 0x0:_0x22e131[_0x5e20b7(0x3f8)](_0xdc714b,_0x58e08b);}[_0x4b7416(0x430)](_0x19de7e){var _0x334b7f=_0x4b7416,_0x3472fc,_0x140325;return(_0x140325=(_0x3472fc=this[_0x334b7f(0x14a)])[_0x334b7f(0x1d4)])==null?void 0x0:_0x140325['call'](_0x3472fc,_0x19de7e);}[_0x4b7416(0x42f)](_0x100aa9){var _0x4983af=_0x4b7416,_0x229eea,_0x3cc930,_0x51e223;return(_0x51e223=(_0x3cc930=(_0x229eea=this[_0x4983af(0x14a)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3cc930[_0x4983af(0x3f8)](_0x229eea,_0x100aa9))!=null?_0x51e223:_0x100aa9;}[_0x4b7416(0x2b5)](_0x5e4b02){var _0x52a88c=_0x4b7416,_0x53a9e1,_0x10ae6d,_0x547ec9;return(_0x547ec9=(_0x10ae6d=(_0x53a9e1=this[_0x52a88c(0x14a)])[_0x52a88c(0x2c3)])==null?void 0x0:_0x10ae6d[_0x52a88c(0x3f8)](_0x53a9e1,_0x5e4b02))!=null?_0x547ec9:_0x5e4b02;}[_0x4b7416(0x27a)](_0x373418){var _0x133fff=_0x4b7416,_0x3bd39e,_0x44fdcd;if(this['type']===Q[_0x133fff(0x3a9)]){const {unitID:_0x2aaf06,mutations:_0x4bbe45,memberID:_0x1d2258}=_0x373418,_0x3a013b=_0x4bbe45[0x0]['params'][_0x133fff(0x177)];Array[_0x133fff(0x39a)](_0x3a013b)&&_0x3a013b[_0x133fff(0x39c)]>0x0&&((_0x44fdcd=(_0x3bd39e=this[_0x133fff(0x14a)])[_0x133fff(0x32a)])==null||_0x44fdcd[_0x133fff(0x3f8)](_0x3bd39e,{'unitID':_0x2aaf06,'memberID':_0x1d2258,'textRanges':_0x3a013b}));}}['_updateLocalCache'](){var _0x127c27=_0x4b7416,_0x1945da;(_0x1945da=this[_0x127c27(0x341)])==null||_0x1945da[_0x127c27(0x21b)](this[_0x127c27(0x311)],this[_0x127c27(0x38e)],this[_0x127c27(0x18a)],this[_0x127c27(0x225)]);}['_getCurrentRevision'](){var _0x55d4cb=_0x4b7416;return this[_0x55d4cb(0x39f)][_0x55d4cb(0x264)](this[_0x55d4cb(0x311)]);}[_0x4b7416(0x42d)](){var _0x38e9ec=_0x4b7416;this[_0x38e9ec(0x39f)][_0x38e9ec(0x2ad)](this['unitID']);}[_0x4b7416(0x147)](_0x19b606){var _0x169636=_0x4b7416,_0x8d5aa7;let _0x10009f=this[_0x169636(0x42f)](_0x19b606);_0x10009f=this[_0x169636(0x2b5)](_0x10009f);const _0x5a92cf=_0x156deb(_0x10009f['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x5a92cf[_0x169636(0x1bc)])throw _0x5a92cf[_0x169636(0x2bc)]instanceof Error?_0x5a92cf['error']:new Error((_0x8d5aa7=_0x5a92cf[_0x169636(0x2bc)])!=null?_0x8d5aa7:_0x169636(0x20e));this[_0x169636(0x25a)](_0x10009f),this[_0x169636(0x430)](_0x10009f),this['_transformUndoredo'](_0x19b606),this['_transformSelections'](_0x10009f),this[_0x169636(0x27a)](_0x10009f),this[_0x169636(0x42d)]();}}let De=class extends be{constructor(_0x16add7,_0x528c8e,_0x510b2e,_0x455cd8,_0x8ad8fa,_0x1f1d5c,_0x3094f4,_0x23763d,_0x2c3a29,_0x4a286a){var _0x54276f=_0x4b7416;super(_0x16add7,_0x528c8e,null,[],_0x510b2e,_0x3094f4,_0x1f1d5c,_0x455cd8,_0x4a286a),N(this,_0x54276f(0x2ca),'synced'),(this[_0x54276f(0x3e3)]=_0x8ad8fa,this[_0x54276f(0x38f)]=_0x23763d,this[_0x54276f(0x24d)]=_0x2c3a29,this['localCacheService']=_0x4a286a);}[_0x4b7416(0x2f1)](_0x48c46d){var _0x1ff7b3=_0x4b7416;const _0x18fe3d=this['_injector'][_0x1ff7b3(0x2ff)](oe,this[_0x1ff7b3(0x311)],this['type'],[_0x48c46d],this[_0x1ff7b3(0x14a)]);return _0x18fe3d[_0x1ff7b3(0x2d8)](),_0x18fe3d[_0x1ff7b3(0x17c)](),_0x18fe3d;}[_0x4b7416(0x41e)](_0x2a87ff){var _0x909d7=_0x4b7416;if(this['_checkMissing'](_0x2a87ff))return this[_0x909d7(0x3e3)][_0x909d7(0x2ff)](te,this[_0x909d7(0x311)],this[_0x909d7(0x38e)],null,[],null,[_0x2a87ff],this[_0x909d7(0x14a)]);try{const _0x3a7668=this[_0x909d7(0x24d)]['transformMutationsWithChangeset'](_0x2a87ff,[ur]);if(_0x3469f3(_0x3a7668)){const {c1Prime:_0xede0f4}=_0x3a7668;return this['_executeRemoteChangeset'](_0xede0f4),this;}throw _0x3a7668[_0x909d7(0x2bc)];}catch(_0x3be447){return this[_0x909d7(0x38f)]['error'](_0x3be447),this[_0x909d7(0x2ae)](!0x1);}}[_0x4b7416(0x2ae)](_0x59fd8d){var _0x3ed034=_0x4b7416;return this['_injector'][_0x3ed034(0x2ff)](de,this[_0x3ed034(0x311)],this[_0x3ed034(0x38e)],null,[],this[_0x3ed034(0x14a)],_0x59fd8d);}['onRemoteAck'](){var _0x2863a0=_0x4b7416;throw new Error(_0x2863a0(0x2e5));}[_0x4b7416(0x41d)](){var _0x5a7941=_0x4b7416;throw new Error(_0x5a7941(0x1fb));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x28c30f=_0x4b7416;return this[_0x28c30f(0x3e3)][_0x28c30f(0x2ff)](fe,this[_0x28c30f(0x311)],this['type'],null,[],this[_0x28c30f(0x14a)]);}['toggleOnline'](){return this;}[_0x4b7416(0x173)](){var _0x2c1261=_0x4b7416;throw new Error(_0x2c1261(0x1dc));}[_0x4b7416(0x336)](){var _0x16c979=_0x4b7416;const _0x5e2753=this[_0x16c979(0x39f)]['getCurrentRevOfUnit'](this[_0x16c979(0x311)]);return this[_0x16c979(0x14a)][_0x16c979(0x39d)]({'from':_0x5e2753,'to':0x0}),this[_0x16c979(0x3e3)][_0x16c979(0x2ff)](te,this['unitID'],this[_0x16c979(0x38e)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x33e245(_0x4d1984)),A(0x4,_0x33e245(_0x5596e1)),A(0x5,_0x1e3c7e),A(0x6,_0x44e191),A(0x7,_0x46cc09),A(0x8,_0x1186f3),A(0x9,_0x30fb77(J))],De);let oe=class extends be{constructor(_0x1b6293,_0x58e3f8,_0x149cf6,_0xd17ab4,_0x4dcb82,_0x3639c1,_0x18227e,_0x39ab8a,_0xc8edc1,_0x3e658f,_0x2e82cf,_0xa00be6,_0x458258,_0x480d7f){var _0x18095d=_0x4b7416;super(_0x1b6293,_0x58e3f8,null,_0x149cf6,_0xd17ab4,_0xc8edc1,_0x458258,_0x3639c1,_0x480d7f),N(this,_0x18095d(0x2ca),_0x18095d(0x183)),N(this,_0x18095d(0x1a8),null),N(this,_0x18095d(0x1f6),null),(this[_0x18095d(0x3e3)]=_0x4dcb82,this[_0x18095d(0x277)]=_0x18227e,this[_0x18095d(0x38f)]=_0x39ab8a,this[_0x18095d(0x152)]=_0x3e658f,this[_0x18095d(0x24d)]=_0x2e82cf,this[_0x18095d(0x3cb)]=_0xa00be6);}['appendMutation'](_0x54dd1d){var _0x35a7f7=_0x4b7416;return this[_0x35a7f7(0x225)][_0x35a7f7(0x2fa)](_0x54dd1d),this[_0x35a7f7(0x17c)](),this;}[_0x4b7416(0x41e)](_0x2d65ef){var _0x83ee1b=_0x4b7416;if(this['_checkMissing'](_0x2d65ef))return this[_0x83ee1b(0x3b9)](),this[_0x83ee1b(0x3e3)][_0x83ee1b(0x2ff)](te,this[_0x83ee1b(0x311)],this[_0x83ee1b(0x38e)],null,this[_0x83ee1b(0x225)],null,[_0x2d65ef],this[_0x83ee1b(0x14a)]);try{const _0x1c82e9=this[_0x83ee1b(0x24d)]['transformMutationsWithChangeset'](_0x2d65ef,this[_0x83ee1b(0x225)]);if(_0x3469f3(_0x1c82e9)){const {c1Prime:_0x23f0d3,m2Prime:_0x483ed1}=_0x1c82e9;this[_0x83ee1b(0x147)](_0x23f0d3);const _0x4684f5=this[_0x83ee1b(0x3e3)]['createInstance'](oe,this[_0x83ee1b(0x311)],this[_0x83ee1b(0x38e)],_0x483ed1,this[_0x83ee1b(0x14a)]);this['_clearScheduledTask']();const _0x24e69b=new Date()[_0x83ee1b(0x2d9)](),_0x1260d8=this[_0x83ee1b(0x1a8)]?Math[_0x83ee1b(0x32e)](this[_0x83ee1b(0x1a8)]-_0x24e69b,0x0):this[_0x83ee1b(0x2dc)]();return _0x4684f5['_schedule'](_0x1260d8),_0x4684f5;}throw _0x1c82e9['error'];}catch(_0x27ed95){return this['_logService']['error'](_0x27ed95),this[_0x83ee1b(0x2ae)](!0x1);}}[_0x4b7416(0x21c)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4b7416(0x41d)](){var _0x5ab1db=_0x4b7416;throw new Error(_0x5ab1db(0x330));}['onRemoteRetry'](){return this;}[_0x4b7416(0x25e)](){var _0x44412a=_0x4b7416;return this['_clearScheduledTask'](),this['_injector'][_0x44412a(0x2ff)](fe,this[_0x44412a(0x311)],this[_0x44412a(0x38e)],null,this['_pendingMutations'],this[_0x44412a(0x14a)]);}['toggleOnline'](){return this;}[_0x4b7416(0x2d8)](_0x2e7d41){var _0x39887a=_0x4b7416;const _0xe6bdaa=_0x2e7d41!=null?_0x2e7d41:this[_0x39887a(0x2dc)]();this[_0x39887a(0x1a8)]=new Date()['getTime']()+_0xe6bdaa,this[_0x39887a(0x1f6)]=setTimeout(()=>{var _0x23e16f=_0x39887a;this[_0x23e16f(0x3b9)]();let _0x1d78cc=null;switch(this[_0x23e16f(0x38e)]){case Q[_0x23e16f(0x409)]:{_0x1d78cc=zt(this[_0x23e16f(0x225)],this[_0x23e16f(0x311)],this[_0x23e16f(0x3cb)],this['_revisionService'],this['_memberService']);break;}case Q[_0x23e16f(0x3a9)]:{this[_0x23e16f(0x225)][_0x23e16f(0x1c2)](_0x4acfae=>_0x4acfae['id']===_0x3b7e98['id'])?_0x1d78cc=lr(this[_0x23e16f(0x225)],this[_0x23e16f(0x311)],this[_0x23e16f(0x3cb)],this[_0x23e16f(0x39f)],this[_0x23e16f(0x277)]):_0x1d78cc=zt(this[_0x23e16f(0x225)],this[_0x23e16f(0x311)],this[_0x23e16f(0x3cb)],this[_0x23e16f(0x39f)],this['_memberService']);break;}default:throw new Error(_0x23e16f(0x1ae)+this[_0x23e16f(0x38e)]+_0x23e16f(0x3b0));}const {changeset:_0x55d31e,pendingMutations:_0x10ce93}=_0x1d78cc;this['_handler']['onSendChangeset'](_0x55d31e);const _0x3d5789=_0x10ce93['length']?this['_injector'][_0x23e16f(0x2ff)](ae,this['unitID'],this['type'],_0x55d31e,_0x10ce93,this[_0x23e16f(0x14a)],void 0x0):this[_0x23e16f(0x3e3)]['createInstance'](ue,this[_0x23e16f(0x311)],this[_0x23e16f(0x38e)],_0x55d31e,this[_0x23e16f(0x14a)]);_0x3d5789[_0x23e16f(0x17c)](),this[_0x23e16f(0x14a)]['onStateChange'](this,_0x3d5789);},_0xe6bdaa);}[_0x4b7416(0x2dc)](){var _0x202e28=_0x4b7416,_0x7d8a7e;const _0x598a62=this[_0x202e28(0x152)][_0x202e28(0x40e)](q);return(_0x7d8a7e=_0x598a62==null?void 0x0:_0x598a62[_0x202e28(0x3ea)])!=null?_0x7d8a7e:Cn;}[_0x4b7416(0x173)](){var _0x3ee31f=_0x4b7416;throw new Error(_0x3ee31f(0x2d5));}[_0x4b7416(0x3b9)](){var _0x5d180f=_0x4b7416;this[_0x5d180f(0x1f6)]!=null&&(clearTimeout(this[_0x5d180f(0x1f6)]),this[_0x5d180f(0x1f6)]=null);}[_0x4b7416(0x2ae)](_0x1e6a24){var _0x1fd7dc=_0x4b7416;return this[_0x1fd7dc(0x3b9)](),this['_injector'][_0x1fd7dc(0x2ff)](de,this['unitID'],this['type'],null,this[_0x1fd7dc(0x225)],this[_0x1fd7dc(0x14a)],_0x1e6a24);}};oe=Re([A(0x4,_0x33e245(_0x5596e1)),A(0x5,_0x33e245(_0x4d1984)),A(0x6,_0x33e245(xe)),A(0x7,_0x46cc09),A(0x8,_0x44e191),A(0x9,_0x1218c6),A(0xa,_0x1186f3),A(0xb,_0x280bc0),A(0xc,_0x1e3c7e),A(0xd,_0x30fb77(J))],oe);let ue=class extends be{constructor(_0x5ddc8c,_0x17091f,_0x212ccd,_0x10a258,_0x21f807,_0x28a464,_0x5747d1,_0x4cb6cc,_0x13c602,_0x313312,_0x148691){var _0x278347=_0x4b7416;super(_0x5ddc8c,_0x17091f,_0x212ccd,[],_0x10a258,_0x5747d1,_0x313312,_0x28a464,_0x148691),N(this,'status',_0x278347(0x3de)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x278347(0x3a7)),(this['_injector']=_0x21f807,this[_0x278347(0x38f)]=_0x4cb6cc,this[_0x278347(0x24d)]=_0x13c602);}[_0x4b7416(0x2f1)](_0x32e3f8){var _0x5e1a24=_0x4b7416;this[_0x5e1a24(0x3b9)]();const _0x4bdb82=this[_0x5e1a24(0x3e3)][_0x5e1a24(0x2ff)](ae,this[_0x5e1a24(0x311)],this[_0x5e1a24(0x38e)],this[_0x5e1a24(0x18a)],[_0x32e3f8],this[_0x5e1a24(0x14a)],this[_0x5e1a24(0x42a)]);return _0x4bdb82['_updateLocalCache'](),_0x4bdb82;}[_0x4b7416(0x41e)](_0x1df51f){var _0x53d4d0=_0x4b7416;if(this[_0x53d4d0(0x2a1)](_0x1df51f))return this[_0x53d4d0(0x3b9)](),this[_0x53d4d0(0x3e3)][_0x53d4d0(0x2ff)](te,this[_0x53d4d0(0x311)],this[_0x53d4d0(0x38e)],this[_0x53d4d0(0x18a)],[],null,[_0x1df51f],this[_0x53d4d0(0x14a)]);try{const _0x42b810=this['_transformService'][_0x53d4d0(0x43e)]([_0x1df51f],[this['_awaitingChangeset']],!0x1);if(_0x3fcc9a(_0x42b810)){const {c1Prime:_0x525d95,c2Prime:_0x7c3c2e}=_0x42b810;this[_0x53d4d0(0x147)](_0x525d95[0x0]),_0x7c3c2e[0x0][_0x53d4d0(0x2ec)]=this[_0x53d4d0(0x18e)](),this[_0x53d4d0(0x3b9)]();const _0x7093ba=this['_injector'][_0x53d4d0(0x2ff)](ue,this[_0x53d4d0(0x311)],this[_0x53d4d0(0x38e)],_0x7c3c2e[0x0],this[_0x53d4d0(0x14a)]);return _0x7093ba[_0x53d4d0(0x17c)](),_0x7093ba;}return this[_0x53d4d0(0x2ae)](!0x1);}catch(_0x2a0686){return this[_0x53d4d0(0x38f)][_0x53d4d0(0x2bc)](_0x2a0686),this[_0x53d4d0(0x2ae)](!0x1);}}['onRemoteAck'](_0x433c18){var _0x15115c=_0x4b7416;this[_0x15115c(0x3b9)]();const _0x549b55=this[_0x15115c(0x39f)][_0x15115c(0x264)](this[_0x15115c(0x311)]);if(_0x433c18[_0x15115c(0x297)]<_0x549b55-0x1)return this;if(this[_0x15115c(0x2a1)](_0x433c18))return this[_0x15115c(0x3e3)]['createInstance'](te,this[_0x15115c(0x311)],this[_0x15115c(0x38e)],null,[],this[_0x15115c(0x18a)],[],this[_0x15115c(0x14a)]);this[_0x15115c(0x42d)]();const _0x3f20c3=this[_0x15115c(0x3e3)][_0x15115c(0x2ff)](De,this[_0x15115c(0x311)],this[_0x15115c(0x38e)],this[_0x15115c(0x14a)]);return _0x3f20c3[_0x15115c(0x17c)](),_0x3f20c3;}[_0x4b7416(0x41d)](_0x204be0){var _0x39f43b=_0x4b7416;return this[_0x39f43b(0x2ae)](!!(_0x204be0!=null&&_0x204be0[_0x39f43b(0x18f)]));}['onRemoteRetry'](_0x53e648){var _0x59a41d=_0x4b7416;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x59a41d(0x42a)]=Oi(this[_0x59a41d(0x1d6)],{'timeout':this['_resendTimeout'],'reqId':_0x53e648[_0x59a41d(0x34d)]}),this[_0x59a41d(0x3a7)]=this[_0x59a41d(0x42a)][_0x59a41d(0x435)](({reqId:_0xf2f4d1,timeout:_0x4bb16f})=>{var _0x458c51=_0x59a41d;this[_0x458c51(0x32b)](_0xf2f4d1,_0x4bb16f);}),this);}[_0x4b7416(0x25e)](){var _0x41ead3=_0x4b7416;return this[_0x41ead3(0x3b9)](),this[_0x41ead3(0x3e3)]['createInstance'](fe,this[_0x41ead3(0x311)],this[_0x41ead3(0x38e)],this[_0x41ead3(0x18a)],[],this['_handler']);}[_0x4b7416(0x397)](){return this;}[_0x4b7416(0x173)](){var _0x4e2873=_0x4b7416;this[_0x4e2873(0x14a)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x4b7416(0x2ae)](_0x66187){var _0x14e37f=_0x4b7416;return this['_clearScheduledTask'](),this[_0x14e37f(0x3e3)][_0x14e37f(0x2ff)](de,this[_0x14e37f(0x311)],this[_0x14e37f(0x38e)],this[_0x14e37f(0x18a)],[],this[_0x14e37f(0x14a)],_0x66187);}[_0x4b7416(0x32b)](_0x53c1d8,_0x1c012b){var _0x5100ec=_0x4b7416,_0x43bb24;_0x53c1d8===((_0x43bb24=this[_0x5100ec(0x18a)])==null?void 0x0:_0x43bb24['reqId'])&&(this['resend'](),this[_0x5100ec(0x1d6)]=_0x1c012b===0x0?0x3e8:_0x1c012b*0x2);}['_clearScheduledTask'](){var _0x34b96c=_0x4b7416,_0x4a65c4;(_0x4a65c4=this['_sender'])==null||_0x4a65c4['unsubscribe'](),this[_0x34b96c(0x1d6)]=0x0;}};ue=Re([A(0x4,_0x33e245(_0x5596e1)),A(0x5,_0x33e245(_0x4d1984)),A(0x6,_0x44e191),A(0x7,_0x46cc09),A(0x8,_0x1186f3),A(0x9,_0x1e3c7e),A(0xa,_0x30fb77(J))],ue);let ae=class extends be{constructor(_0x1e241e,_0x561cfe,_0x43d97f,_0x49c671,_0x4562ee,_0xea37b2,_0x4db9d9,_0x50f139,_0x591423,_0x24a76b,_0x1a62f7,_0x4e48a4,_0x4e7c0e){var _0x2732ee=_0x4b7416;super(_0x1e241e,_0x561cfe,_0x43d97f,_0x49c671,_0x4562ee,_0x591423,_0x4e48a4,_0x50f139,_0x4e7c0e),N(this,_0x2732ee(0x2ca),_0x2732ee(0x387)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x2732ee(0x3a7)),(this['_injector']=_0x4db9d9,this[_0x2732ee(0x38f)]=_0x24a76b,this[_0x2732ee(0x24d)]=_0x1a62f7,this['localCacheService']=_0x4e7c0e,_0xea37b2&&(this[_0x2732ee(0x42a)]=_0xea37b2,this[_0x2732ee(0x3a7)]=this[_0x2732ee(0x42a)]['subscribe'](({reqId:_0x1e011c,timeout:_0x41b4a9})=>{this['_resendWithTimeout'](_0x1e011c,_0x41b4a9);})));}['appendMutation'](_0x355f0d){var _0x1c6f48=_0x4b7416;return this[_0x1c6f48(0x225)][_0x1c6f48(0x2fa)](_0x355f0d),this;}[_0x4b7416(0x41e)](_0x38aea8){var _0x24091c=_0x4b7416;if(this[_0x24091c(0x2a1)](_0x38aea8))return this[_0x24091c(0x3b9)](),this[_0x24091c(0x3e3)]['createInstance'](te,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x24091c(0x225)],null,[_0x38aea8],this[_0x24091c(0x14a)]);try{const _0x277978=this['_transformService']['transformChangesets']([_0x38aea8],[this[_0x24091c(0x18a)]],!0x1);if(_0x3fcc9a(_0x277978)){const {c1Prime:_0x52bd12,c2Prime:_0x2b7f77}=_0x277978,_0x25d61a=this[_0x24091c(0x24d)][_0x24091c(0x332)](_0x52bd12[0x0],this[_0x24091c(0x225)]);if(_0x3469f3(_0x25d61a)){const {c1Prime:_0x2e8ac3,m2Prime:_0x43722d}=_0x25d61a;return this[_0x24091c(0x147)](_0x2e8ac3),_0x2b7f77[0x0][_0x24091c(0x2ec)]=this[_0x24091c(0x18e)](),this[_0x24091c(0x3b9)](),this[_0x24091c(0x3e3)][_0x24091c(0x2ff)](ae,this['unitID'],this['type'],_0x2b7f77[0x0],_0x43722d,this[_0x24091c(0x14a)],void 0x0);}throw _0x25d61a['error'];}throw _0x277978[_0x24091c(0x2bc)];}catch(_0x2094e7){return this[_0x24091c(0x38f)][_0x24091c(0x2bc)](_0x2094e7),this[_0x24091c(0x2ae)](!0x1);}}[_0x4b7416(0x21c)](_0x136891){var _0x4672c9=_0x4b7416;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x136891))return this[_0x4672c9(0x3e3)][_0x4672c9(0x2ff)](te,this[_0x4672c9(0x311)],this['type'],null,this[_0x4672c9(0x225)],this[_0x4672c9(0x18a)],[],this[_0x4672c9(0x14a)]);this[_0x4672c9(0x42d)]();const _0x37e8b2=this[_0x4672c9(0x3e3)][_0x4672c9(0x2ff)](oe,this[_0x4672c9(0x311)],this[_0x4672c9(0x38e)],this[_0x4672c9(0x225)],this['_handler']);return _0x37e8b2[_0x4672c9(0x2d8)](),_0x37e8b2[_0x4672c9(0x17c)](),_0x37e8b2;}['onRemoteRej'](_0x155c09){var _0x7753d6=_0x4b7416;return this[_0x7753d6(0x2ae)](!!(_0x155c09!=null&&_0x155c09['isPermissionRej']));}[_0x4b7416(0x3ca)](_0x4e1329){var _0xb76f8d=_0x4b7416;return this[_0xb76f8d(0x1d6)]>Ni?this[_0xb76f8d(0x25e)]():(this[_0xb76f8d(0x42a)]=Oi(this[_0xb76f8d(0x1d6)],{'timeout':this[_0xb76f8d(0x1d6)],'reqId':_0x4e1329[_0xb76f8d(0x34d)]}),this['_sender']=this[_0xb76f8d(0x42a)][_0xb76f8d(0x435)](({reqId:_0x229f89,timeout:_0x101f2d})=>{var _0x5b0700=_0xb76f8d;this[_0x5b0700(0x32b)](_0x229f89,_0x101f2d);}),this);}[_0x4b7416(0x25e)](){var _0x586c71=_0x4b7416;return this[_0x586c71(0x3b9)](),this['_injector'][_0x586c71(0x2ff)](fe,this[_0x586c71(0x311)],this['type'],this[_0x586c71(0x18a)],this[_0x586c71(0x225)],this['_handler']);}[_0x4b7416(0x397)](){return this;}[_0x4b7416(0x173)](){var _0x4bace9=_0x4b7416;this['_handler'][_0x4bace9(0x178)](this[_0x4bace9(0x18a)]);}[_0x4b7416(0x2ae)](_0x537917){var _0x405462=_0x4b7416;return this[_0x405462(0x3b9)](),this[_0x405462(0x3e3)][_0x405462(0x2ff)](de,this['unitID'],this[_0x405462(0x38e)],null,this[_0x405462(0x225)],this['_handler'],_0x537917);}['_resendWithTimeout'](_0x58e6b6,_0x99c240){var _0x53cc42=_0x4b7416,_0x4041f3;_0x58e6b6===((_0x4041f3=this[_0x53cc42(0x18a)])==null?void 0x0:_0x4041f3['reqId'])&&(this[_0x53cc42(0x173)](),this[_0x53cc42(0x1d6)]=_0x99c240===0x0?0x3e8:_0x99c240*0x2);}[_0x4b7416(0x3b9)](){var _0x5e5a15=_0x4b7416,_0x2aa193;(_0x2aa193=this[_0x5e5a15(0x3a7)])==null||_0x2aa193[_0x5e5a15(0x219)](),this[_0x5e5a15(0x1d6)]=0x0;}};ae=Re([A(0x6,_0x33e245(_0x5596e1)),A(0x7,_0x33e245(_0x4d1984)),A(0x8,_0x44e191),A(0x9,_0x46cc09),A(0xa,_0x1186f3),A(0xb,_0x1e3c7e),A(0xc,_0x30fb77(J))],ae);let de=class extends be{constructor(_0x283c04,_0x81b36f,_0x23a44e,_0x4cdde6,_0x2b5e97,_0x430427=!0x1,_0x198c5c,_0x80b8af,_0x307f65,_0x2d5917,_0x1903b3,_0x13f02e,_0x51e0b9){var _0x3f3302=_0x4b7416;super(_0x283c04,_0x81b36f,_0x23a44e,_0x4cdde6,_0x2b5e97,_0x80b8af,_0x307f65,_0x2d5917,_0x51e0b9),N(this,_0x3f3302(0x2ca),_0x3f3302(0x42c)),(this[_0x3f3302(0x23f)]=_0x430427,this[_0x3f3302(0x3cc)]=_0x198c5c,this[_0x3f3302(0x1f1)]=_0x1903b3,this[_0x3f3302(0x43a)]=_0x13f02e,this[_0x3f3302(0x1a2)]=_0x51e0b9,this[_0x3f3302(0x342)](),this[_0x3f3302(0x3da)](),this[_0x3f3302(0x3a2)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x4b7416(0x21c)](){return this;}[_0x4b7416(0x41d)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x4b7416(0x397)](){return this;}[_0x4b7416(0x173)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4b7416(0x3da)](){var _0x1da166=_0x4b7416,_0x298b57;(_0x298b57=this[_0x1da166(0x341)])==null||_0x298b57[_0x1da166(0x21b)](this['unitID'],this[_0x1da166(0x38e)],null,[]);}[_0x4b7416(0x342)](){var _0x9ebe06=_0x4b7416;this[_0x9ebe06(0x23f)]?this[_0x9ebe06(0x43a)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x9ebe06(0x213)]({'id':se[_0x9ebe06(0x31f)]});}[_0x4b7416(0x3a2)](){var _0x3ade4d=_0x4b7416;this['_permissionService'][_0x3ade4d(0x282)](new _0x2e755a(this[_0x3ade4d(0x311)])['id'],!0x1);}};de=Re([A(0x6,_0x33e245(_0x3d23e7)),A(0x7,_0x44e191),A(0x8,_0x1e3c7e),A(0x9,_0x33e245(_0x4d1984)),A(0xa,_0x33e245(_0x377f39)),A(0xb,_0x33e245(pe)),A(0xc,_0x30fb77(J))],de);let fe=class extends be{constructor(_0x3a3e84,_0x174b73,_0xa606b,_0x9c2d96,_0x2675bd,_0x373f4,_0x415efe,_0x423bc8,_0x358f2c,_0x43d7a5){var _0x297138=_0x4b7416;super(_0x3a3e84,_0x174b73,_0xa606b,_0x9c2d96,_0x2675bd,_0x423bc8,_0x358f2c,_0x415efe,_0x43d7a5),N(this,_0x297138(0x2ca),_0x297138(0x2da)),this[_0x297138(0x3e3)]=_0x373f4;}['appendMutation'](_0x3c4870){var _0x2d9d39=_0x4b7416;return this[_0x2d9d39(0x225)]['push'](_0x3c4870),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x38fd99){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4b7416(0x21c)](){var _0x23f391=_0x4b7416;throw new Error(_0x23f391(0x23c));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4b7416(0x3ca)](){return this;}[_0x4b7416(0x25e)](){return this;}[_0x4b7416(0x397)](){var _0x2014f1=_0x4b7416;const {_injector:_0xbbdde5,_pendingMutations:_0x39e5df,_awaitingChangeset:_0x3e2fa0,unitID:_0x11bff2,_handler:_0x28bdb0,type:_0x4e2ed7}=this,_0x3ce0dc=Di(_0xbbdde5,_0x11bff2,_0x4e2ed7,_0x3e2fa0,_0x39e5df,_0x28bdb0);return _0x3ce0dc instanceof oe?_0x3ce0dc[_0x2014f1(0x2d8)]():(_0x3ce0dc instanceof ae||_0x3ce0dc instanceof ue)&&_0x3ce0dc['resend'](),_0x3ce0dc;}['resend'](){var _0x5751f6=_0x4b7416;throw new Error(_0x5751f6(0x3e6));}};fe=Re([A(0x5,_0x33e245(_0x5596e1)),A(0x6,_0x33e245(_0x4d1984)),A(0x7,_0x44e191),A(0x8,_0x1e3c7e),A(0x9,_0x30fb77(J))],fe);let te=class extends be{constructor(_0x3ebdf2,_0x5d3ed9,_0x1928e6,_0x1cbc58,_0x33b4e3,_0x59a155,_0x42752d,_0xea3377,_0xd7dee8,_0x27c507,_0x4a239a,_0x3dda8f,_0x477222,_0x20facf){var _0xc68f1b=_0x4b7416;super(_0x3ebdf2,_0x5d3ed9,_0x1928e6,_0x1cbc58,_0x42752d,_0x4a239a,_0x3dda8f,_0xd7dee8,_0x20facf),N(this,_0xc68f1b(0x2ca),_0xc68f1b(0x371)),(this[_0xc68f1b(0x1ca)]=_0x33b4e3,this[_0xc68f1b(0x1e8)]=_0x59a155,this[_0xc68f1b(0x3e3)]=_0xea3377,this[_0xc68f1b(0x38f)]=_0x27c507,this[_0xc68f1b(0x24d)]=_0x477222,this[_0xc68f1b(0x1a2)]=_0x20facf);}[_0x4b7416(0x2a7)](_0x24e1a8){var _0xd5ceda=_0x4b7416;try{const _0x1c8abe=[..._0x24e1a8,...this['_queuedRemoteChangesets']],_0x2f9d58=[this[_0xd5ceda(0x18a)]||this['_acknowledgedAwaitingChangeset']][_0xd5ceda(0x2c9)](_0x345526=>!!_0x345526);let _0x3c3e16,_0x67bb7a;if(_0x2f9d58['length']){const _0x40afba=this[_0xd5ceda(0x24d)][_0xd5ceda(0x43e)](_0x1c8abe,_0x2f9d58,!0x1);if(!_0x3fcc9a(_0x40afba))throw _0x40afba[_0xd5ceda(0x2bc)];_0x3c3e16=_0x40afba[_0xd5ceda(0x3bc)],_0x67bb7a=_0x40afba[_0xd5ceda(0x2f0)];}else _0x3c3e16=_0x1c8abe,_0x67bb7a=[];let _0x28810c=this['_pendingMutations'];_0x3c3e16[_0xd5ceda(0x1d1)](_0x1e6fe7=>{var _0x2d74c3=_0xd5ceda;let _0x2e8b90;if(_0x28810c[_0x2d74c3(0x39c)]){const _0x2fe1ce=this[_0x2d74c3(0x24d)][_0x2d74c3(0x332)](_0x1e6fe7,_0x28810c);if(!_0x3469f3(_0x2fe1ce))throw _0x2fe1ce[_0x2d74c3(0x2bc)];_0x2e8b90=_0x2fe1ce['c1Prime'],_0x28810c=_0x2fe1ce['m2Prime'];}else _0x2e8b90=_0x1e6fe7;this[_0x2d74c3(0x147)](_0x2e8b90);}),this[_0xd5ceda(0x1ca)]&&this['_incrementRevisionNumber'](),this[_0xd5ceda(0x18a)]&&_0x67bb7a[_0xd5ceda(0x39c)]&&(_0x67bb7a[0x0]['baseRev']=this[_0xd5ceda(0x18e)]());let _0x31bf4;if(this[_0xd5ceda(0x18a)]&&_0x28810c[_0xd5ceda(0x39c)]!==0x0)_0x31bf4=this[_0xd5ceda(0x3e3)][_0xd5ceda(0x2ff)](ae,this['unitID'],this[_0xd5ceda(0x38e)],_0x67bb7a[0x0],_0x28810c,this[_0xd5ceda(0x14a)],void 0x0);else{if(this[_0xd5ceda(0x18a)]&&_0x28810c[_0xd5ceda(0x39c)]===0x0)_0x67bb7a[0x0][_0xd5ceda(0x2ec)]=this['_getCurrentRevision'](),_0x31bf4=this[_0xd5ceda(0x3e3)][_0xd5ceda(0x2ff)](ue,this[_0xd5ceda(0x311)],this[_0xd5ceda(0x38e)],_0x67bb7a[0x0],this[_0xd5ceda(0x14a)]);else{if(_0x28810c[_0xd5ceda(0x39c)]!==0x0){const _0x19381d=this['_injector'][_0xd5ceda(0x2ff)](oe,this[_0xd5ceda(0x311)],this['type'],_0x28810c,this[_0xd5ceda(0x14a)]);_0x19381d['_schedule'](),_0x31bf4=_0x19381d;}else _0x31bf4=this[_0xd5ceda(0x3e3)][_0xd5ceda(0x2ff)](De,this[_0xd5ceda(0x311)],this['type'],this[_0xd5ceda(0x14a)]);}}return _0x31bf4[_0xd5ceda(0x17c)](),_0x31bf4;}catch(_0x45b7dc){return this[_0xd5ceda(0x38f)]['error'](_0xd5ceda(0x15d),_0xd5ceda(0x1a5),_0x45b7dc),this['_injector'][_0xd5ceda(0x2ff)](de,this[_0xd5ceda(0x311)],this[_0xd5ceda(0x38e)],this[_0xd5ceda(0x18a)],this['_pendingMutations'],this[_0xd5ceda(0x14a)],!0x1);}}[_0x4b7416(0x173)](){var _0x53a4e8=_0x4b7416;throw new Error(_0x53a4e8(0x35b));}['appendMutation'](_0x3737a4){var _0x53a584=_0x4b7416;return this['_pendingMutations'][_0x53a584(0x2fa)](_0x3737a4),this;}[_0x4b7416(0x41e)](_0x1c0c93){var _0xdd1235=_0x4b7416;return this[_0xdd1235(0x1e8)]['push'](_0x1c0c93),this;}['onRemoteAck'](_0x9ab6c2){var _0x1e3f2d=_0x4b7416;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1e3f2d(0x18a)],this[_0x1e3f2d(0x18a)]=null,this;throw new Error(_0x1e3f2d(0x37b));}[_0x4b7416(0x41d)](_0x4d4900){var _0x238146=_0x4b7416;return this[_0x238146(0x2ae)](!!(_0x4d4900!=null&&_0x4d4900['isPermissionRej']));}[_0x4b7416(0x3ca)](){return this;}[_0x4b7416(0x25e)](){var _0x50bf5c=_0x4b7416;return this[_0x50bf5c(0x3e3)][_0x50bf5c(0x2ff)](fe,this['unitID'],this['type'],this[_0x50bf5c(0x18a)],this['_pendingMutations'],this['_handler']);}[_0x4b7416(0x397)](){return this;}[_0x4b7416(0x2ae)](_0x302dd2){var _0x4a3e94=_0x4b7416;return this[_0x4a3e94(0x3e3)][_0x4a3e94(0x2ff)](de,this[_0x4a3e94(0x311)],this[_0x4a3e94(0x38e)],this[_0x4a3e94(0x18a)],this[_0x4a3e94(0x225)],this['_handler'],_0x302dd2);}};te=Re([A(0x7,_0x33e245(_0x5596e1)),A(0x8,_0x33e245(_0x4d1984)),A(0x9,_0x46cc09),A(0xa,_0x44e191),A(0xb,_0x1e3c7e),A(0xc,_0x1186f3),A(0xd,_0x30fb77(J))],te);function Di(_0x5b76c5,_0x829c17,_0x5015d2,_0x267075,_0x3fe8b9,_0x46b40c){var _0x278957=_0x4b7416;return _0x267075&&_0x3fe8b9['length']?_0x5b76c5[_0x278957(0x2ff)](ae,_0x829c17,_0x5015d2,_0x267075,_0x3fe8b9,_0x46b40c,void 0x0):_0x267075?_0x5b76c5[_0x278957(0x2ff)](ue,_0x829c17,_0x5015d2,_0x267075,_0x46b40c):_0x3fe8b9[_0x278957(0x39c)]?_0x5b76c5[_0x278957(0x2ff)](oe,_0x829c17,_0x5015d2,_0x3fe8b9,_0x46b40c):_0x5b76c5[_0x278957(0x2ff)](De,_0x829c17,_0x5015d2,_0x46b40c);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1b894f,_0x3688e4,_0x13ddcc,_0x7c92de)=>{for(var _0x141216=_0x7c92de>0x1?void 0x0:_0x7c92de?pr(_0x3688e4,_0x13ddcc):_0x3688e4,_0x179099=_0x1b894f['length']-0x1,_0x95c8f1;_0x179099>=0x0;_0x179099--)(_0x95c8f1=_0x1b894f[_0x179099])&&(_0x141216=(_0x7c92de?_0x95c8f1(_0x3688e4,_0x13ddcc,_0x141216):_0x95c8f1(_0x141216))||_0x141216);return _0x7c92de&&_0x141216&&vr(_0x3688e4,_0x13ddcc,_0x141216),_0x141216;},k=(_0x1debf2,_0x5f0462)=>(_0x31fc72,_0x4dafff)=>_0x5f0462(_0x31fc72,_0x4dafff,_0x1debf2);let nt=class extends _0x1ebecf{constructor(_0x2ac996,_0x4ad7b9,_0x232ce4,_0x4c671a,_0x3f53c4,_0x1fc542,_0x1d0ed2,_0x509672,_0x109bb8,_0x5440ea,_0x5095ce,_0x2a15ce,_0x348a51){var _0x10241d=_0x4b7416;super(),N(this,_0x10241d(0x2d0),new _0x4a0b1c(null)),N(this,_0x10241d(0x3bd),this[_0x10241d(0x2d0)][_0x10241d(0x32c)]()),N(this,_0x10241d(0x41f)),N(this,_0x10241d(0x1a0),!0x1),N(this,'_changesetSessionId',''),N(this,_0x10241d(0x38a),0x0),N(this,_0x10241d(0x34f),this[_0x10241d(0x3bd)][_0x10241d(0x182)](_0x5b8ccd(_0x1b1311=>_0x1b1311?_0x1b1311[_0x10241d(0x2ca)]:yi['OFFLINE']),_0x1e81c2(0x1))),N(this,_0x10241d(0x1da),!0x1),N(this,_0x10241d(0x22a),[]),(this[_0x10241d(0x311)]=_0x2ac996,this[_0x10241d(0x1cf)]=_0x4ad7b9,this[_0x10241d(0x34c)]=_0x232ce4,this[_0x10241d(0x3e3)]=_0x4c671a,this[_0x10241d(0x3d3)]=_0x3f53c4,this[_0x10241d(0x1f1)]=_0x1fc542,this[_0x10241d(0x39f)]=_0x1d0ed2,this[_0x10241d(0x3a3)]=_0x509672,this['_logService']=_0x109bb8,this[_0x10241d(0x30e)]=_0x5440ea,this[_0x10241d(0x3cc)]=_0x5095ce,this['_singleActiveUnitService']=_0x2a15ce,this[_0x10241d(0x341)]=_0x348a51);}get[_0x4b7416(0x3e7)](){var _0x59cc69=_0x4b7416;return this[_0x59cc69(0x41f)];}async[_0x4b7416(0x390)](){var _0x30388c=_0x4b7416;if(this[_0x30388c(0x3e7)])throw new Error(_0x30388c(0x2d1));await this[_0x30388c(0x22d)]();}[_0x4b7416(0x293)](){return this['_collaborationPaused']=!0x0,_0x2f82a7(()=>{var _0x2955fe=_0x1bf9;this['_collaborationPaused']=!0x1,this[_0x2955fe(0x40f)]();});}[_0x4b7416(0x2cd)](_0x321b54){var _0x5f4e40=_0x4b7416;this[_0x5f4e40(0x3af)](_0x321b54);}['_updateState'](_0x6fb375){var _0x430659=_0x4b7416;this[_0x430659(0x41f)]=_0x6fb375,this[_0x430659(0x2d0)]['next'](_0x6fb375);}async[_0x4b7416(0x22d)](){var _0x17c595=_0x4b7416,_0x501365;this[_0x17c595(0x21f)](await this[_0x17c595(0x239)]()),this['_singleActiveUnitService']&&((_0x501365=this[_0x17c595(0x2d3)])==null||_0x501365[_0x17c595(0x394)](this['unitID']),this[_0x17c595(0x20d)](this['_singleActiveUnitService'][_0x17c595(0x434)](this['unitID'])['subscribe'](_0x55a7b7=>{var _0x246f48=_0x17c595;this[_0x246f48(0x38f)]['debug'](_0x246f48(0x290),'editing\x20status\x20changed\x20to',_0x55a7b7),_0x55a7b7===bi[_0x246f48(0x200)]?(this[_0x246f48(0x3a3)][_0x246f48(0x213)]({'id':se[_0x246f48(0x3ae)]}),this[_0x246f48(0x3cc)][_0x246f48(0x282)](new _0x2e755a(this[_0x246f48(0x311)])['id'],!0x1),this[_0x246f48(0x3cc)][_0x246f48(0x3d9)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x2e755a(this[_0x246f48(0x311)])['id'],!0x0),this[_0x246f48(0x3cc)][_0x246f48(0x3d9)](!0x0));})));let _0x299aec=!0x1;return this['disposeWithMe'](this[_0x17c595(0x1cf)]['sessionStatus$'][_0x17c595(0x435)](_0x5104c6=>{var _0x1ee073=_0x17c595;_0x5104c6===Te[_0x1ee073(0x3d1)]?this[_0x1ee073(0x308)](_0x299aec):_0x5104c6===Te[_0x1ee073(0x252)]&&(_0x299aec=!0x0,this[_0x1ee073(0x2cf)]());})),this[_0x17c595(0x20d)](this[_0x17c595(0x1cf)][_0x17c595(0x2ee)][_0x17c595(0x435)](_0x3bb93b=>{var _0x340330=_0x17c595;try{switch(_0x3bb93b[_0x340330(0x1f7)]){case _0x424b4b[_0x340330(0x37a)]:{this[_0x340330(0x3f0)](_0x4c3c85(_0x3bb93b[_0x340330(0x19a)]));break;}case _0x424b4b[_0x340330(0x2fe)]:{this['_onRemoteACK'](_0x3bb93b['data']);break;}case _0x424b4b[_0x340330(0x3d2)]:{this[_0x340330(0x156)]();break;}case _0x424b4b[_0x340330(0x179)]:{this[_0x340330(0x388)](_0x3bb93b[_0x340330(0x19a)]);break;}case _0x424b4b['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x340330(0x1b1)](_0x3bb93b[_0x340330(0x19a)][_0x340330(0x35a)]['map'](_0x428562=>_0x4c3c85(_0x428562)));break;}case _0x424b4b['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x424b4b['UNISCRIPT_RUN']:break;}}catch(_0x20a8c1){throw console[_0x340330(0x2bc)](_0x340330(0x13e),_0x20a8c1),_0x20a8c1;}})),this[_0x17c595(0x41f)];}[_0x4b7416(0x19d)](){this['_transitionLocked']=!0x1;}[_0x4b7416(0x26d)](){var _0x4ec92d=_0x4b7416;if(this['_transitionLocked'])throw new Error(_0x4ec92d(0x358));this[_0x4ec92d(0x1da)]=!0x0;}['_onLocalMutation'](_0x53236d){var _0x50b908=_0x4b7416;this[_0x50b908(0x26d)](),this[_0x50b908(0x21f)](this[_0x50b908(0x41f)][_0x50b908(0x2f1)](_0x53236d)),this[_0x50b908(0x19d)]();}[_0x4b7416(0x3f0)](_0x129a44){var _0x38587e=_0x4b7416;if(!(_0x129a44[_0x38587e(0x297)]<=this[_0x38587e(0x39f)][_0x38587e(0x264)](this['unitID']))){if(this[_0x38587e(0x1a0)]){this['_remoteChangesetQueue'][_0x38587e(0x2fa)](_0x129a44);return;}this['_applyRemoteChangeset'](_0x129a44);}}[_0x4b7416(0x40f)](){var _0x50ee70=_0x4b7416;this[_0x50ee70(0x22a)][_0x50ee70(0x1d1)](_0x45451a=>this['_applyRemoteChangeset'](_0x45451a)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x45985e){var _0x485b2c=_0x4b7416;const _0x441a04=this[_0x485b2c(0x3d3)][_0x485b2c(0x223)][_0x485b2c(0x307)](this[_0x485b2c(0x3d3)][_0x485b2c(0x223)]['getInterceptPoints']()[_0x485b2c(0x35c)])(_0x45985e[_0x485b2c(0x40a)],null)||_0x45985e[_0x485b2c(0x40a)],_0x467be3={..._0x45985e,'mutations':_0x441a04};this[_0x485b2c(0x26d)](),this[_0x485b2c(0x21f)](this[_0x485b2c(0x41f)]['onRemoteChangeset'](_0x467be3)),this[_0x485b2c(0x19d)]();}[_0x4b7416(0x269)](_0x27b054){var _0x5b07b6=_0x4b7416;this[_0x5b07b6(0x26d)](),this[_0x5b07b6(0x21f)](this[_0x5b07b6(0x41f)][_0x5b07b6(0x21c)](_0x27b054)),this[_0x5b07b6(0x19d)]();}[_0x4b7416(0x156)](_0x45649e){var _0x336fd8=_0x4b7416;this['_lockTransition'](),this[_0x336fd8(0x21f)](this['_state'][_0x336fd8(0x41d)](_0x45649e)),this[_0x336fd8(0x19d)]();}['_onRemoteRetry'](_0x48fd6d){var _0x196e75=_0x4b7416;this[_0x196e75(0x26d)](),this[_0x196e75(0x21f)](this[_0x196e75(0x41f)]['onRemoteRetry'](_0x48fd6d)),this[_0x196e75(0x19d)]();}[_0x4b7416(0x1b1)](_0x5eea48){var _0x27af22=_0x4b7416;if(!(this['_state']instanceof te))throw new TypeError(_0x27af22(0x2ef));const _0x1855e8=_0x5eea48[_0x27af22(0x378)](_0x318fe5=>{var _0x5cff05=_0x27af22;const _0x930ffd=this[_0x5cff05(0x3d3)][_0x5cff05(0x223)][_0x5cff05(0x307)](this[_0x5cff05(0x3d3)][_0x5cff05(0x223)][_0x5cff05(0x3e5)]()[_0x5cff05(0x35c)])(_0x318fe5[_0x5cff05(0x40a)],null)||_0x318fe5[_0x5cff05(0x40a)];return{..._0x318fe5,'mutations':_0x930ffd};});this[_0x27af22(0x26d)](),this[_0x27af22(0x21f)](this[_0x27af22(0x41f)]['onMissedChangesetFetched'](_0x1855e8)),this[_0x27af22(0x19d)]();}[_0x4b7416(0x2cf)](){var _0x4ff9b8=_0x4b7416;this['_lockTransition'](),this[_0x4ff9b8(0x21f)](this[_0x4ff9b8(0x41f)]['toggleOffline']()),this[_0x4ff9b8(0x19d)]();}['_toggleOnline'](_0x288e51=!0x1){var _0x2076b2=_0x4b7416;this['_lockTransition'](),this['_updateState'](this[_0x2076b2(0x41f)]['toggleOnline']()),this['_unlockTransition']();const _0x13283a=this[_0x2076b2(0x41f)];_0x288e51&&_0x13283a instanceof De&&(this['_lockTransition'](),this[_0x2076b2(0x21f)](_0x13283a[_0x2076b2(0x336)]()),this[_0x2076b2(0x19d)]());}async[_0x4b7416(0x239)](){return new Promise(_0x315372=>{var _0x2c1a18=_0x1bf9;this[_0x2c1a18(0x1cf)][_0x2c1a18(0x27d)][_0x2c1a18(0x182)](_0x2501f0(0x1))['subscribe'](async _0x2c623c=>{var _0x3a59d9=_0x2c1a18;_0x315372(await this[_0x3a59d9(0x43f)](_0x2c623c===Te[_0x3a59d9(0x3d1)]));});});}[_0x4b7416(0x190)](){var _0x40139b=_0x4b7416;const _0x4f94e0=this[_0x40139b(0x311)];return{'onStateChange':(_0x401a49,_0x367147)=>{var _0x56e65d=_0x40139b;if(_0x401a49!==this[_0x56e65d(0x41f)])throw new Error(_0x56e65d(0x267)+_0x401a49[_0x56e65d(0x2ca)]+'\x0aAfter:\x20'+_0x367147[_0x56e65d(0x2ca)]+_0x56e65d(0x30f)+this['_state']['status']);this['_updateState'](_0x367147);},'onSendChangeset':_0x465b9f=>{var _0x1b142a=_0x40139b;_0x465b9f[_0x1b142a(0x428)]||(_0x465b9f[_0x1b142a(0x428)]=this['_changesetSessionId'],_0x465b9f[_0x1b142a(0x34d)]=++this[_0x1b142a(0x38a)]);const _0x42535f={'eventID':_0x424b4b[_0x1b142a(0x3f5)],'data':{'unitID':_0x465b9f[_0x1b142a(0x311)],'unitType':this[_0x1b142a(0x34c)],'changeset':_0x465b9f,'memberID':this[_0x1b142a(0x1cf)][_0x1b142a(0x360)]()}};this[_0x1b142a(0x1cf)][_0x1b142a(0x3e9)](_0x42535f,this[_0x1b142a(0x311)]);},'onMissingChangesets':({from:_0xe12841,to:_0x352e53})=>{var _0x44dfda=_0x40139b;this[_0x44dfda(0x38f)][_0x44dfda(0x1c3)](_0x44dfda(0x290),_0x44dfda(0x391)+_0xe12841+_0x44dfda(0x271)+_0x352e53);const _0x4fed90={'eventID':_0x424b4b[_0x44dfda(0x199)],'data':{'unitID':_0x4f94e0,'unitType':this[_0x44dfda(0x34c)],'from':_0xe12841,'to':_0x352e53}};this['session'][_0x44dfda(0x3e9)](_0x4fed90,this[_0x44dfda(0x311)]);}};}async[_0x4b7416(0x43f)](_0x4de9dd){var _0x28daf6=_0x4b7416,_0x1e0a63,_0x183f9d,_0x3f8984;const _0x40b88b=await((_0x1e0a63=this['_localCacheService'])==null?void 0x0:_0x1e0a63['loadOfflineData'](this[_0x28daf6(0x311)])),_0x21bd3e=(_0x183f9d=_0x40b88b==null?void 0x0:_0x40b88b[_0x28daf6(0x40a)])!=null?_0x183f9d:[],_0x496932=(_0x3f8984=_0x40b88b==null?void 0x0:_0x40b88b[_0x28daf6(0x34e)])!=null?_0x3f8984:null,_0x2c70f6=!!(_0x496932!=null&&_0x496932[_0x28daf6(0x428)])&&!!(_0x496932!=null&&_0x496932['reqId']);this[_0x28daf6(0x2a8)]=_0x2c70f6?_0x496932[_0x28daf6(0x428)]:sr(),this[_0x28daf6(0x38a)]=_0x2c70f6?_0x496932[_0x28daf6(0x34d)]:0x0;const _0x21ed0e=this[_0x28daf6(0x311)];try{this['_replayCachedMutations'](_0x496932,_0x21bd3e);}catch(_0x1d4603){this[_0x28daf6(0x38f)]['error'](_0x1d4603);}const _0x2c1fbb=this[_0x28daf6(0x190)]();if(_0x4de9dd){const _0x1aebe2=Di(this[_0x28daf6(0x3e3)],_0x21ed0e,this[_0x28daf6(0x34c)],_0x496932,_0x21bd3e,_0x2c1fbb);return _0x1aebe2 instanceof oe?_0x1aebe2[_0x28daf6(0x2d8)]():(_0x1aebe2 instanceof ae||_0x1aebe2 instanceof ue)&&_0x1aebe2['resend'](),_0x1aebe2;}return this[_0x28daf6(0x3e3)][_0x28daf6(0x2ff)](fe,_0x21ed0e,this['_type'],_0x496932,_0x21bd3e,_0x2c1fbb);}[_0x4b7416(0x176)](_0x566eff,_0x5bc520){var _0x18331b=_0x4b7416,_0x1fd63f,_0x2dd348;const _0x2db606=this[_0x18331b(0x3d3)][_0x18331b(0x223)][_0x18331b(0x307)](this[_0x18331b(0x3d3)]['interceptor'][_0x18331b(0x3e5)]()[_0x18331b(0x35c)]);(_0x1fd63f=_0x2db606((_0x566eff==null?void 0x0:_0x566eff[_0x18331b(0x40a)])||[],null))==null||_0x1fd63f['forEach'](_0x2d83b4=>this[_0x18331b(0x30e)]['executeCommand'](_0x2d83b4['id'],_0x2d83b4[_0x18331b(0x228)])),(_0x2dd348=_0x2db606(_0x5bc520||[],null))==null||_0x2dd348['forEach'](_0xef3ee2=>this['_commandService'][_0x18331b(0x437)](_0xef3ee2['id'],_0xef3ee2[_0x18331b(0x228)]));}};nt=Lt([k(0x3,_0x33e245(_0x5596e1)),k(0x4,_0x33e245(_0x2628bf)),k(0x5,_0x33e245(_0x377f39)),k(0x6,_0x33e245(_0x4d1984)),k(0x7,_0x33e245(pe)),k(0x8,_0x46cc09),k(0x9,_0x44e191),k(0xa,_0x3d23e7),k(0xb,_0x30fb77(ht)),k(0xc,_0x30fb77(J))],nt);let Tt=class extends nt{constructor(_0x44c397,_0x292ce2,_0x1d9d11,_0x48e36b,_0x234fec,_0x209898,_0x1bb6c8,_0x2b9284,_0x52d36d,_0xcff403,_0x2a14f7,_0x331564,_0x188a2c){var _0x4f0153=_0x4b7416;super(_0x44c397,_0x1d9d11,_0x292ce2,_0x48e36b,_0x234fec,_0x209898,_0x1bb6c8,_0x2b9284,_0x52d36d,_0xcff403,_0x2a14f7,_0x331564,_0x188a2c),N(this,_0x4f0153(0x359),null),(this[_0x4f0153(0x311)]=_0x44c397,this[_0x4f0153(0x38e)]=_0x292ce2);}['addHandlerCallback'](_0x49a12b){this['_handlerCallback']=_0x49a12b;}[_0x4b7416(0x363)](){var _0x286053=_0x4b7416;this[_0x286053(0x359)]=null,super[_0x286053(0x363)]();}['_createHandler'](){var _0x427563=_0x4b7416;const _0x3e9ecd=super['_createHandler']();return _0x3e9ecd[_0x427563(0x1cd)]=_0x2dd852=>{var _0x468d5f=_0x427563,_0x470036,_0x7d6275;return(_0x7d6275=(_0x470036=this['_handlerCallback'])==null?void 0x0:_0x470036[_0x468d5f(0x1cd)])==null?void 0x0:_0x7d6275[_0x468d5f(0x3f8)](_0x470036,_0x2dd852);},_0x3e9ecd[_0x427563(0x1d4)]=_0x5076b8=>{var _0xc2ecc2=_0x427563,_0x21a727,_0x29fad9;return(_0x29fad9=(_0x21a727=this[_0xc2ecc2(0x359)])==null?void 0x0:_0x21a727['onTransformState'])==null?void 0x0:_0x29fad9['call'](_0x21a727,_0x5076b8);},_0x3e9ecd['onTransformSelections']=_0x193919=>{var _0x3f074c=_0x427563,_0x1ceb74,_0x4db60b;return(_0x4db60b=(_0x1ceb74=this[_0x3f074c(0x359)])==null?void 0x0:_0x1ceb74[_0x3f074c(0x35f)])==null?void 0x0:_0x4db60b[_0x3f074c(0x3f8)](_0x1ceb74,_0x193919);},_0x3e9ecd[_0x427563(0x32a)]=_0x41f3d0=>{var _0x5bd5ea=_0x427563,_0x3f32b5,_0x22c9d8;return(_0x22c9d8=(_0x3f32b5=this[_0x5bd5ea(0x359)])==null?void 0x0:_0x3f32b5[_0x5bd5ea(0x32a)])==null?void 0x0:_0x22c9d8[_0x5bd5ea(0x3f8)](_0x3f32b5,_0x41f3d0);},_0x3e9ecd[_0x427563(0x204)]=_0xadb5a2=>{var _0xd358da=_0x427563,_0x15776c,_0x4368cc,_0xd61680;if(!((_0x15776c=this[_0xd358da(0x359)])!=null&&_0x15776c['onTransformRemoteChangesetByIMECache']))throw new Error(_0xd358da(0x369));return(_0xd61680=(_0x4368cc=this[_0xd358da(0x359)])==null?void 0x0:_0x4368cc[_0xd358da(0x204)])==null?void 0x0:_0xd61680[_0xd358da(0x3f8)](_0x4368cc,_0xadb5a2);},_0x3e9ecd[_0x427563(0x2c3)]=_0x4e273a=>{var _0x18ad0c=_0x427563,_0x43b341,_0x4f7b49,_0x4ccf69;if(!((_0x43b341=this[_0x18ad0c(0x359)])!=null&&_0x43b341[_0x18ad0c(0x2c3)]))throw new Error(_0x18ad0c(0x315));return(_0x4ccf69=(_0x4f7b49=this[_0x18ad0c(0x359)])==null?void 0x0:_0x4f7b49[_0x18ad0c(0x2c3)])==null?void 0x0:_0x4ccf69[_0x18ad0c(0x3f8)](_0x4f7b49,_0x4e273a);},_0x3e9ecd;}async[_0x4b7416(0x22d)](){var _0x47bc66=_0x4b7416;const _0x558927=await super[_0x47bc66(0x22d)]();return this[_0x47bc66(0x20d)](this[_0x47bc66(0x30e)]['onCommandExecuted']((_0x4b6c11,_0x25b4f9)=>{var _0x4a7bef=_0x47bc66;if(_0x4b6c11['type']!==_0x26c610[_0x4a7bef(0x13d)]||_0x25b4f9!=null&&_0x25b4f9[_0x4a7bef(0x220)]||_0x25b4f9!=null&&_0x25b4f9['onlyLocal']||_0x4b6c11['id']===_0x3b7e98['id'])return;const _0x1ffba6=_0x4b6c11[_0x4a7bef(0x228)];if((_0x1ffba6==null?void 0x0:_0x1ffba6['unitId'])!==this[_0x4a7bef(0x311)])return;const _0x5e8bbd=_0x4b6c11,_0x1ea191=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4a7bef(0x3d3)][_0x4a7bef(0x223)][_0x4a7bef(0x3e5)]()[_0x4a7bef(0x2eb)])([_0x5e8bbd],null)||[_0x5e8bbd];this[_0x4a7bef(0x3af)](_0x1ea191[0x0]);})),_0x558927;}};Tt=Lt([k(0x3,_0x33e245(_0x5596e1)),k(0x4,_0x33e245(_0x2628bf)),k(0x5,_0x33e245(_0x377f39)),k(0x6,_0x33e245(_0x4d1984)),k(0x7,_0x33e245(pe)),k(0x8,_0x46cc09),k(0x9,_0x44e191),k(0xa,_0x3d23e7),k(0xb,_0x30fb77(ht)),k(0xc,_0x30fb77(J))],Tt);let Ct=class extends nt{constructor(_0x11145f,_0x2441a5,_0x1cf76a,_0x17eff0,_0x347635,_0x4c1b12,_0x2de5a4,_0x2ff186,_0x56c355,_0x3b0fc3,_0x44870a,_0x54e93a,_0x3fd277,_0x561663){var _0x5185dc=_0x4b7416;super(_0x11145f,_0x1cf76a,_0x2441a5,_0x17eff0,_0x347635,_0x4c1b12,_0x2de5a4,_0x56c355,_0x3b0fc3,_0x44870a,_0x54e93a,_0x3fd277,_0x561663),this[_0x5185dc(0x311)]=_0x11145f,this['type']=_0x2441a5,this['_sheetTransformSelectionsService']=_0x2ff186;}[_0x4b7416(0x190)](){var _0x458d3c=_0x4b7416;const _0x3df217=super[_0x458d3c(0x190)]();return _0x3df217[_0x458d3c(0x35f)]=_0x5bb96e=>this[_0x458d3c(0x233)]['transformSelections'](_0x5bb96e),_0x3df217;}async[_0x4b7416(0x22d)](){var _0x3e4076=_0x4b7416;const _0x252260=await super[_0x3e4076(0x22d)]();return this['disposeWithMe'](this[_0x3e4076(0x30e)][_0x3e4076(0x149)]((_0x1fe498,_0x5781bc)=>{var _0x21f240=_0x3e4076;if(_0x1fe498['type']!==_0x26c610[_0x21f240(0x13d)]||_0x5781bc!=null&&_0x5781bc['fromCollab']||_0x5781bc!=null&&_0x5781bc[_0x21f240(0x27e)])return;const _0x53c146=_0x1fe498[_0x21f240(0x228)];if((_0x53c146==null?void 0x0:_0x53c146[_0x21f240(0x18c)])!==this[_0x21f240(0x311)])return;const _0x4b4b5c=_0x1fe498,_0x32e98b=this[_0x21f240(0x3d3)]['interceptor'][_0x21f240(0x307)](this['_compressMutationService'][_0x21f240(0x223)][_0x21f240(0x3e5)]()[_0x21f240(0x2eb)])([_0x4b4b5c],null)||[_0x4b4b5c];this[_0x21f240(0x3af)](_0x32e98b[0x0]);})),_0x252260;}};Ct=Lt([k(0x3,_0x33e245(_0x5596e1)),k(0x4,_0x33e245(_0x2628bf)),k(0x5,_0x33e245(_0x377f39)),k(0x6,_0x33e245(_0x4d1984)),k(0x7,_0x33e245(it)),k(0x8,_0x33e245(pe)),k(0x9,_0x46cc09),k(0xa,_0x44e191),k(0xb,_0x3d23e7),k(0xc,_0x30fb77(ht)),k(0xd,_0x30fb77(J))],Ct);var mr=Object['defineProperty'],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x21f22f,_0x32527c,_0x106b2e,_0x3311df)=>{var _0x4dece6=_0x4b7416;for(var _0x58b51d=_0x3311df>0x1?void 0x0:_0x3311df?gr(_0x32527c,_0x106b2e):_0x32527c,_0x12aa32=_0x21f22f[_0x4dece6(0x39c)]-0x1,_0x3f8cbe;_0x12aa32>=0x0;_0x12aa32--)(_0x3f8cbe=_0x21f22f[_0x12aa32])&&(_0x58b51d=(_0x3311df?_0x3f8cbe(_0x32527c,_0x106b2e,_0x58b51d):_0x3f8cbe(_0x58b51d))||_0x58b51d);return _0x3311df&&_0x58b51d&&mr(_0x32527c,_0x106b2e,_0x58b51d),_0x58b51d;},ft=(_0x30f6a2,_0x346c77)=>(_0x25e573,_0x16e3b7)=>_0x346c77(_0x25e573,_0x16e3b7,_0x30f6a2);let rt=class extends _0x1ebecf{constructor(_0x529615,_0x45fcf9,_0x344c8f){var _0x22a7b6=_0x4b7416;super(),N(this,'_entities',new Map()),N(this,_0x22a7b6(0x396),new _0x9f6386()),N(this,_0x22a7b6(0x258),this[_0x22a7b6(0x396)]['asObservable']()),(this[_0x22a7b6(0x3e3)]=_0x529615,this[_0x22a7b6(0x376)]=_0x45fcf9,this[_0x22a7b6(0x3cb)]=_0x344c8f,this[_0x22a7b6(0x22d)]());}[_0x4b7416(0x363)](){var _0x50285d=_0x4b7416;super[_0x50285d(0x363)](),this[_0x50285d(0x1eb)][_0x50285d(0x1d1)](_0xe66704=>_0xe66704['dispose']()),this['_entities'][_0x50285d(0x29b)]();}[_0x4b7416(0x1dd)](_0x1bcfbd){var _0x400861=_0x4b7416,_0x5bae5f;return(_0x5bae5f=this['_entities'][_0x400861(0x279)](_0x1bcfbd))!=null?_0x5bae5f:null;}[_0x4b7416(0x322)](_0x4fc099){var _0x1dfd4f=_0x4b7416;const _0x2fd7f8=this[_0x1dfd4f(0x1dd)](_0x4fc099);return _0x2fd7f8?_0x4f9ee1(_0x2fd7f8):this[_0x1dfd4f(0x396)][_0x1dfd4f(0x182)](_0x2478c4(_0x28eeed=>_0x28eeed[_0x1dfd4f(0x311)]===_0x4fc099));}[_0x4b7416(0x165)](_0x47e8f4){var _0x522615=_0x4b7416;return _0xec409a(this['getCollabEntity$'](_0x47e8f4)[_0x522615(0x182)](_0x30b411(()=>{})));}[_0x4b7416(0x22d)](){var _0x4381bb=_0x4b7416;this[_0x4381bb(0x3cb)]['getTypeOfUnitAdded$'](_0x26d1dc[_0x4381bb(0x409)])[_0x4381bb(0x182)](_0x1045a6(this[_0x4381bb(0x43d)]),_0x436533(0x10))[_0x4381bb(0x435)](async _0x165a2e=>{var _0x6b4c3c=_0x4381bb;const _0x38e80e=_0x165a2e['getUnitId'](),_0x3b10d2=await this['_startCollaboration'](_0x38e80e,Q[_0x6b4c3c(0x409)]);this[_0x6b4c3c(0x1eb)][_0x6b4c3c(0x329)](_0x38e80e,_0x3b10d2);}),this[_0x4381bb(0x3cb)][_0x4381bb(0x338)](_0x26d1dc[_0x4381bb(0x3a9)])[_0x4381bb(0x182)](_0x1045a6(this['dispose$']),_0x436533(0x10))['pipe'](_0x2478c4(_0x2a947c=>!_0x2a947c['getUnitId']()['startsWith']('__')))[_0x4381bb(0x435)](async _0x306cba=>{var _0x4d225d=_0x4381bb;const _0x5dafd0=_0x306cba['getUnitId'](),_0x35ff6c=await this[_0x4d225d(0x1fc)](_0x5dafd0,Q[_0x4d225d(0x3a9)]);this[_0x4d225d(0x1eb)][_0x4d225d(0x329)](_0x5dafd0,_0x35ff6c);}),_0xddea8f(this[_0x4381bb(0x3cb)][_0x4381bb(0x30b)](_0x26d1dc[_0x4381bb(0x409)]),this[_0x4381bb(0x3cb)]['getTypeOfUnitDisposed$'](_0x26d1dc[_0x4381bb(0x3a9)]))[_0x4381bb(0x182)](_0x1045a6(this[_0x4381bb(0x43d)]))['subscribe'](_0x2c6498=>{var _0x35c33f=_0x4381bb;const _0x338f53=_0x2c6498['getUnitId'](),_0x495813=this[_0x35c33f(0x1eb)][_0x35c33f(0x279)](_0x338f53);_0x495813&&(_0x495813[_0x35c33f(0x363)](),this['_entities']['delete'](_0x338f53));});}async[_0x4b7416(0x1fc)](_0x556b4e,_0x497542){var _0x218d54=_0x4b7416;const _0x30a258=await this[_0x218d54(0x376)][_0x218d54(0x3fb)](_0x556b4e),_0x1e2e82=this[_0x218d54(0x3e3)][_0x218d54(0x2ff)](this['_getCtorByUniverType'](_0x497542),_0x556b4e,_0x497542,_0x30a258);return await _0x1e2e82['init'](),this[_0x218d54(0x396)]['next'](_0x1e2e82),_0x1e2e82;}[_0x4b7416(0x403)](_0x1964ac){var _0xff04d1=_0x4b7416;switch(_0x1964ac){case Q[_0xff04d1(0x3a9)]:return Tt;case Q[_0xff04d1(0x409)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1964ac);}}};rt=Sr([ft(0x0,_0x33e245(_0x5596e1)),ft(0x1,_0x33e245(Le)),ft(0x2,_0x280bc0)],rt);var Er=Object[_0x4b7416(0x2cb)],Ir=Object[_0x4b7416(0x26b)],Tr=(_0x426562,_0x52ed02,_0x2fb249,_0x1168cf)=>{var _0x5f0c53=_0x4b7416;for(var _0x495ddb=_0x1168cf>0x1?void 0x0:_0x1168cf?Ir(_0x52ed02,_0x2fb249):_0x52ed02,_0x8f212a=_0x426562[_0x5f0c53(0x39c)]-0x1,_0x136d2c;_0x8f212a>=0x0;_0x8f212a--)(_0x136d2c=_0x426562[_0x8f212a])&&(_0x495ddb=(_0x1168cf?_0x136d2c(_0x52ed02,_0x2fb249,_0x495ddb):_0x136d2c(_0x495ddb))||_0x495ddb);return _0x1168cf&&_0x495ddb&&Er(_0x52ed02,_0x2fb249,_0x495ddb),_0x495ddb;},Jt=(_0xf6e512,_0x356389)=>(_0x5f6d7a,_0x1038af)=>_0x356389(_0x5f6d7a,_0x1038af,_0xf6e512);const Cr=_0x4b7416(0x373),Rr='Univer';let Rt=class extends _0x325afd{constructor(_0x1422d0,_0x344407){var _0x2d83a6=_0x4b7416;super(),this[_0x2d83a6(0x3cb)]=_0x1422d0,this[_0x2d83a6(0x152)]=_0x344407,this[_0x2d83a6(0x22d)]();}[_0x4b7416(0x22d)](){var _0x52dca5=_0x4b7416;this['disposeWithMe'](this['_univerInstanceService'][_0x52dca5(0x21a)][_0x52dca5(0x435)](()=>{var _0x535292=_0x52dca5,_0x4a5f30;const _0x335569=this['_univerInstanceService'][_0x535292(0x313)]();let _0x2f31b7=(_0x4a5f30=this[_0x535292(0x152)]['getConfig'](Cr))!=null?_0x4a5f30:Rr;_0x335569 instanceof _0x29269e&&(_0x2f31b7=_0x335569[_0x535292(0x39b)]),document['title']=_0x2f31b7;}));}};Rt=Tr([Jt(0x0,_0x280bc0),Jt(0x1,_0x1218c6)],Rt);var br=Object['defineProperty'],Or=Object[_0x4b7416(0x26b)],yr=(_0x3f233e,_0x2ec4b5,_0x365940,_0x1fce12)=>{for(var _0x4e2968=_0x1fce12>0x1?void 0x0:_0x1fce12?Or(_0x2ec4b5,_0x365940):_0x2ec4b5,_0x4b4eb2=_0x3f233e['length']-0x1,_0x21a4f3;_0x4b4eb2>=0x0;_0x4b4eb2--)(_0x21a4f3=_0x3f233e[_0x4b4eb2])&&(_0x4e2968=(_0x1fce12?_0x21a4f3(_0x2ec4b5,_0x365940,_0x4e2968):_0x21a4f3(_0x4e2968))||_0x4e2968);return _0x1fce12&&_0x4e2968&&br(_0x2ec4b5,_0x365940,_0x4e2968),_0x4e2968;},vt=(_0x4aea86,_0x136908)=>(_0x4650b7,_0x1f1caa)=>_0x136908(_0x4650b7,_0x1f1caa,_0x4aea86);let st=class{constructor(_0x29cf10,_0x36188f,_0x4d56da){var _0x54de9f=_0x4b7416;this[_0x54de9f(0x152)]=_0x29cf10,this[_0x54de9f(0x15a)]=_0x36188f,this[_0x54de9f(0x2a9)]=_0x4d56da,this['init']();}[_0x4b7416(0x390)](){var _0x4300ab=_0x4b7416;this[_0x4300ab(0x15a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x528314,_0x593869)=>_0x593869(_0x528314)[_0x4300ab(0x182)](_0x44ace6(async _0x42f2c6=>{var _0x53b2e8=_0x4300ab;const _0x539e0f=_0x42f2c6;if(_0x539e0f[_0x53b2e8(0x2ca)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x53b2e8(0x2a9)]['t'](_0x53b2e8(0x3ab)))){const _0x3caa16=window[_0x53b2e8(0x235)](window['location']['href']);window[_0x53b2e8(0x2c4)][_0x53b2e8(0x1b3)]=this['_getLoginPath']()+_0x53b2e8(0x3df)+_0x3caa16;}}return _0x539e0f;}))});}[_0x4b7416(0x1ed)](){var _0x4e29f8=_0x4b7416,_0x1f8a74,_0x1fc227;const _0x57e2de=this[_0x4e29f8(0x152)][_0x4e29f8(0x40e)](xn),_0x6330a8=this[_0x4e29f8(0x152)][_0x4e29f8(0x40e)](q);return(_0x1fc227=(_0x1f8a74=_0x6330a8==null?void 0x0:_0x6330a8[_0x4e29f8(0x393)])!=null?_0x1f8a74:_0x57e2de)!=null?_0x1fc227:Ln;}};st=yr([vt(0x0,_0x1218c6),vt(0x1,_0x33e245(_0x313ce8)),vt(0x2,_0x33e245(_0x377f39))],st);var Nr=Object[_0x4b7416(0x2cb)],Dr=Object[_0x4b7416(0x26b)],Pr=(_0xcefef3,_0x594c95,_0x3b1415,_0x916e87)=>{var _0x49839b=_0x4b7416;for(var _0x5d3e95=_0x916e87>0x1?void 0x0:_0x916e87?Dr(_0x594c95,_0x3b1415):_0x594c95,_0x250c45=_0xcefef3[_0x49839b(0x39c)]-0x1,_0x395efa;_0x250c45>=0x0;_0x250c45--)(_0x395efa=_0xcefef3[_0x250c45])&&(_0x5d3e95=(_0x916e87?_0x395efa(_0x594c95,_0x3b1415,_0x5d3e95):_0x395efa(_0x5d3e95))||_0x5d3e95);return _0x916e87&&_0x5d3e95&&Nr(_0x594c95,_0x3b1415,_0x5d3e95),_0x5d3e95;},Xt=(_0x162feb,_0x566d52)=>(_0x3548ae,_0x485798)=>_0x566d52(_0x3548ae,_0x485798,_0x162feb);const Pi=_0x4b7416(0x3e1),wr=_0x4b7416(0x1e4);let bt=class extends _0x325afd{constructor(_0x9f1049,_0x239fdb){var _0x3361f3=_0x4b7416;super(),this[_0x3361f3(0x22b)]=_0x9f1049,this['_configService']=_0x239fdb,this[_0x3361f3(0x1e3)]();}[_0x4b7416(0x1e3)](){var _0x1b9d9a=_0x4b7416;const _0x1a9bf2=this;this['disposeWithMe'](this[_0x1b9d9a(0x22b)][_0x1b9d9a(0x3c1)]({'priority':0x3e7,'interceptor':_0x479e5e({'isMatch'(_0x235707){var _0x18f979=_0x1b9d9a,_0x31baeb;if(_0x235707[_0x18f979(0x202)]===_0x18f979(0x292)&&((_0x31baeb=_0x235707[_0x18f979(0x3fa)])!=null&&_0x31baeb['body'])){const {objectID:_0x242335,objectType:_0x5d347d}=_0x235707[_0x18f979(0x3fa)][_0x18f979(0x14e)]||{};if(!_0x242335||_0x5d347d===void 0x0)return!0x1;const _0x2ecb24=_0x1a9bf2[_0x18f979(0x196)]()+'/'+_0x5d347d+_0x18f979(0x243)+_0x242335+_0x18f979(0x22f);if(_0x235707[_0x18f979(0x17b)]===_0x2ecb24)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x621370){var _0x330e82=_0x1b9d9a,_0xf5d3da;return(_0xf5d3da=_0x621370['requestParams'])==null?void 0x0:_0xf5d3da[_0x330e82(0x14e)];},'mergeParamsToRequest'(_0x4b66ae,_0x35926c){var _0x8c949e=_0x1b9d9a;const _0x12b42f=_0x1a9bf2[_0x8c949e(0x196)]()+_0x8c949e(0x417),_0x205418=_0x4b66ae[_0x8c949e(0x422)]((_0x152a39,_0x2921fe)=>{var _0x24b8b8=_0x8c949e;const {unitID:_0x88a465,objectID:_0x57b487,objectType:_0x28b3cf,actions:_0x2c6e29}=_0x2921fe;return _0x152a39[_0x88a465]||(_0x152a39[_0x88a465]={}),_0x152a39[_0x88a465][_0x57b487]||(_0x152a39[_0x88a465][_0x57b487]={'objectID':_0x57b487,'objectType':_0x28b3cf,'actions':[]}),_0x152a39[_0x88a465][_0x57b487][_0x24b8b8(0x2b0)][_0x24b8b8(0x2fa)](..._0x2c6e29),_0x152a39;},{}),_0x55a3bb=[];for(const _0x405c96 in _0x205418)for(const _0x58002f in _0x205418[_0x405c96]){const {actions:_0xbf6fa,objectType:_0x5ecd35}=_0x205418[_0x405c96][_0x58002f],_0xfc0330=[...new Set(_0xbf6fa)];_0x55a3bb[_0x8c949e(0x2fa)]({'unitID':_0x405c96,'objectID':_0x58002f,'objectType':_0x5ecd35,'actions':_0xfc0330});}return new _0x539577(_0x8c949e(0x292),_0x12b42f,{'headers':_0x35926c[_0x8c949e(0x3d0)],'withCredentials':_0x35926c[_0x8c949e(0x3dd)],'responseType':_0x35926c['responseType'],'body':{'requests':_0x55a3bb}});}},{'distributeResult'(_0x87285c,_0x28af99){var _0x51fa1b=_0x1b9d9a;const {objectActions:_0x4e188c}=_0x87285c;return _0x28af99[_0x51fa1b(0x378)](_0x38465b=>{var _0x3fc67d=_0x51fa1b;const {unitID:_0x1519fb,objectID:_0x50f58f,actions:_0x14e38d}=_0x38465b,_0x5976d8=_0x4e188c[_0x3fc67d(0x398)](_0x13934f=>_0x13934f['unitID']===_0x1519fb&&_0x13934f[_0x3fc67d(0x184)]===_0x50f58f),_0x16f660=_0x14e38d[_0x3fc67d(0x378)](_0x2231d1=>_0x5976d8==null?void 0x0:_0x5976d8[_0x3fc67d(0x2b0)]['find'](_0x1809c1=>_0x1809c1[_0x3fc67d(0x1ad)]===_0x2231d1))[_0x3fc67d(0x2c9)](_0x58733b=>!!_0x58733b);return{'config':_0x38465b,'result':{'actions':_0x16f660,'error':_0x87285c[_0x3fc67d(0x2bc)]}};});}})}));}[_0x4b7416(0x196)](){var _0x383681=_0x4b7416,_0x1dca97,_0x434d76;const _0x4d7bdb=this[_0x383681(0x152)][_0x383681(0x40e)](Pi),_0x324acb=this[_0x383681(0x152)][_0x383681(0x40e)](q);return(_0x434d76=(_0x1dca97=_0x324acb==null?void 0x0:_0x324acb[_0x383681(0x1c4)])!=null?_0x1dca97:_0x4d7bdb)!=null?_0x434d76:wr;}async[_0x4b7416(0x319)](_0x401a36){var _0x449813=_0x4b7416;const _0x335b31=this[_0x449813(0x196)]()+'/'+_0x401a36['objectType']+'/object';return(await this[_0x449813(0x22b)]['post'](_0x335b31,{'body':_0x401a36}))[_0x449813(0x14e)][_0x449813(0x184)]||'';}async[_0x4b7416(0x2f4)](_0x78e206){var _0x45d129=_0x4b7416;const _0x49bd59=this[_0x45d129(0x196)]()+_0x45d129(0x1b9);return(await this['_HTTPService']['post'](_0x49bd59,{'body':_0x78e206}))['body'][_0x45d129(0x36d)];}async[_0x4b7416(0x3c4)](_0x2290b6){var _0x2c9251=_0x4b7416;const _0x2a7889=this[_0x2c9251(0x196)]()+'/'+_0x2290b6[_0x2c9251(0x255)]+'/object/'+_0x2290b6[_0x2c9251(0x184)];await this['_HTTPService'][_0x2c9251(0x25c)](_0x2a7889,{'body':_0x2290b6});}async['allowed'](_0xd9cbcd){var _0x2b2445=_0x4b7416;const _0x176d8f=this['_getAPIPrefixPath']()+'/'+_0xd9cbcd[_0x2b2445(0x255)]+_0x2b2445(0x243)+_0xd9cbcd[_0x2b2445(0x184)]+_0x2b2445(0x22f);return(await this[_0x2b2445(0x22b)][_0x2b2445(0x19e)](_0x176d8f,{'body':_0xd9cbcd}))['body'][_0x2b2445(0x2b0)];}async[_0x4b7416(0x151)](_0x541d1e){var _0x53373d=_0x4b7416;const _0x5a5898=this[_0x53373d(0x196)]()+_0x53373d(0x417);return(await this[_0x53373d(0x22b)][_0x53373d(0x19e)](_0x5a5898,{'body':{'requests':_0x541d1e}}))[_0x53373d(0x14e)][_0x53373d(0x171)];}async['listRoles'](_0x960016){var _0x971869=_0x4b7416;const _0x35272=this[_0x971869(0x196)]()+'/'+_0x960016[_0x971869(0x255)]+_0x971869(0x447),_0x5c0117=await this[_0x971869(0x22b)][_0x971869(0x19e)](_0x35272,{'body':_0x960016});return{'roles':_0x5c0117[_0x971869(0x14e)][_0x971869(0x286)],'actions':_0x5c0117[_0x971869(0x14e)][_0x971869(0x2b0)]};}async[_0x4b7416(0x181)](_0x1d9033){var _0x1f5879=_0x4b7416;const _0x62610d=this['_getAPIPrefixPath']()+_0x1f5879(0x2e8);await this[_0x1f5879(0x22b)][_0x1f5879(0x3fd)](_0x62610d,{'params':{'collaboratorID':_0x1d9033[_0x1f5879(0x445)],'objectID':_0x1d9033['objectID'],'unitID':_0x1d9033[_0x1f5879(0x311)]}});}async['updateCollaborator'](_0x2e508a){var _0x1e95ac=_0x4b7416;const _0x33b2d0=this[_0x1e95ac(0x196)]()+'/collaborator';await this['_HTTPService'][_0x1e95ac(0x274)](_0x33b2d0,{'body':_0x2e508a});}async[_0x4b7416(0x395)](_0x524dec){var _0x33141e=_0x4b7416;const _0x28451b=this[_0x33141e(0x196)]()+_0x33141e(0x2e8);await this['_HTTPService']['post'](_0x28451b,{'body':_0x524dec});}async[_0x4b7416(0x168)](_0x4fa26e){var _0x554ec1=_0x4b7416;const _0x301037=this[_0x554ec1(0x196)]()+_0x554ec1(0x2e8);return(await this[_0x554ec1(0x22b)][_0x554ec1(0x279)](_0x301037,{'params':{'objectID':_0x4fa26e[_0x554ec1(0x184)],'unitID':_0x4fa26e[_0x554ec1(0x311)]}}))[_0x554ec1(0x14e)][_0x554ec1(0x3ad)];}async[_0x4b7416(0x242)](_0x3470ee){var _0x53595c=_0x4b7416;const _0x54aaba=this[_0x53595c(0x196)]()+_0x53595c(0x2e8);await this[_0x53595c(0x22b)][_0x53595c(0x25c)](_0x54aaba,{'body':_0x3470ee});}};bt=Pr([Xt(0x0,_0x33e245(_0x313ce8)),Xt(0x1,_0x33e245(_0x1218c6))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x58adfc){var _0x1a8001=_0x4b7416;return _0x58adfc&&_0x58adfc[_0x1a8001(0x283)]&&Object[_0x1a8001(0x2b8)][_0x1a8001(0x174)][_0x1a8001(0x3f8)](_0x58adfc,_0x1a8001(0x2c2))?_0x58adfc[_0x1a8001(0x2c2)]:_0x58adfc;}var Ve={'exports':{}};function Ur(_0x3496fe){var _0x5c8212=_0x4b7416;throw new Error(_0x5c8212(0x3f9)+_0x3496fe+'\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['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x2957cc,_0x599de5){(function(_0x10ef7a,_0x192953){_0x2957cc['exports']=_0x192953();}(Ar,function(){var _0x284ea7=_0x284ea7||function(_0x5c4f87,_0x408f4d){var _0x338635=_0x1bf9,_0x1fb20f;if(typeof window<'u'&&window['crypto']&&(_0x1fb20f=window[_0x338635(0x309)]),typeof self<'u'&&self[_0x338635(0x309)]&&(_0x1fb20f=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1fb20f=globalThis[_0x338635(0x309)]),!_0x1fb20f&&typeof window<'u'&&window[_0x338635(0x2e1)]&&(_0x1fb20f=window[_0x338635(0x2e1)]),!_0x1fb20f&&typeof pt<'u'&&pt[_0x338635(0x309)]&&(_0x1fb20f=pt[_0x338635(0x309)]),!_0x1fb20f&&typeof Ur==_0x338635(0x1d8))try{_0x1fb20f=require(_0x338635(0x309));}catch{}var _0x367375=function(){var _0x1d9674=_0x338635;if(_0x1fb20f){if(typeof _0x1fb20f[_0x1d9674(0x1a7)]==_0x1d9674(0x1d8))try{return _0x1fb20f[_0x1d9674(0x1a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fb20f[_0x1d9674(0x449)]==_0x1d9674(0x1d8))try{return _0x1fb20f[_0x1d9674(0x449)](0x4)[_0x1d9674(0x416)]();}catch{}}throw new Error(_0x1d9674(0x3a5));},_0x243f6d=Object[_0x338635(0x319)]||(function(){function _0x50fff7(){}return function(_0x438fc0){var _0xe465a7=_0x1bf9,_0x5e6d1e;return _0x50fff7['prototype']=_0x438fc0,_0x5e6d1e=new _0x50fff7(),_0x50fff7[_0xe465a7(0x2b8)]=null,_0x5e6d1e;};}()),_0x481c14={},_0x4bc8ed=_0x481c14[_0x338635(0x229)]={},_0x30736f=_0x4bc8ed[_0x338635(0x29a)]=(function(){return{'extend':function(_0x26aef3){var _0x105e97=_0x1bf9,_0x105843=_0x243f6d(this);return _0x26aef3&&_0x105843['mixIn'](_0x26aef3),(!_0x105843[_0x105e97(0x174)](_0x105e97(0x390))||this[_0x105e97(0x390)]===_0x105843[_0x105e97(0x390)])&&(_0x105843['init']=function(){var _0x57c5c1=_0x105e97;_0x105843[_0x57c5c1(0x29c)][_0x57c5c1(0x390)][_0x57c5c1(0x1b4)](this,arguments);}),_0x105843['init'][_0x105e97(0x2b8)]=_0x105843,_0x105843[_0x105e97(0x29c)]=this,_0x105843;},'create':function(){var _0x55b2b6=_0x1bf9,_0x4415a3=this[_0x55b2b6(0x431)]();return _0x4415a3[_0x55b2b6(0x390)][_0x55b2b6(0x1b4)](_0x4415a3,arguments),_0x4415a3;},'init':function(){},'mixIn':function(_0x3a402f){var _0x291b5d=_0x1bf9;for(var _0x4c1a09 in _0x3a402f)_0x3a402f[_0x291b5d(0x174)](_0x4c1a09)&&(this[_0x4c1a09]=_0x3a402f[_0x4c1a09]);_0x3a402f[_0x291b5d(0x174)](_0x291b5d(0x148))&&(this[_0x291b5d(0x148)]=_0x3a402f[_0x291b5d(0x148)]);},'clone':function(){var _0x1a2219=_0x1bf9;return this[_0x1a2219(0x390)][_0x1a2219(0x2b8)][_0x1a2219(0x431)](this);}};}()),_0x4169fd=_0x4bc8ed[_0x338635(0x30d)]=_0x30736f[_0x338635(0x431)]({'init':function(_0x1eb97d,_0x2f230c){var _0x1e8152=_0x338635;_0x1eb97d=this[_0x1e8152(0x2ab)]=_0x1eb97d||[],_0x2f230c!=_0x408f4d?this[_0x1e8152(0x2a4)]=_0x2f230c:this[_0x1e8152(0x2a4)]=_0x1eb97d['length']*0x4;},'toString':function(_0x5747fc){var _0x4bf6bf=_0x338635;return(_0x5747fc||_0x26c8f8)[_0x4bf6bf(0x418)](this);},'concat':function(_0x90389e){var _0x4ad87c=_0x338635,_0x1ef276=this[_0x4ad87c(0x2ab)],_0x355e74=_0x90389e[_0x4ad87c(0x2ab)],_0x2626ce=this['sigBytes'],_0xa7e5ba=_0x90389e[_0x4ad87c(0x2a4)];if(this[_0x4ad87c(0x29d)](),_0x2626ce%0x4)for(var _0x4aa485=0x0;_0x4aa485<_0xa7e5ba;_0x4aa485++){var _0x35c07e=_0x355e74[_0x4aa485>>>0x2]>>>0x18-_0x4aa485%0x4*0x8&0xff;_0x1ef276[_0x2626ce+_0x4aa485>>>0x2]|=_0x35c07e<<0x18-(_0x2626ce+_0x4aa485)%0x4*0x8;}else{for(var _0x1929c6=0x0;_0x1929c6<_0xa7e5ba;_0x1929c6+=0x4)_0x1ef276[_0x2626ce+_0x1929c6>>>0x2]=_0x355e74[_0x1929c6>>>0x2];}return this['sigBytes']+=_0xa7e5ba,this;},'clamp':function(){var _0x4ba34c=_0x338635,_0x2c65c1=this[_0x4ba34c(0x2ab)],_0x5b67cb=this[_0x4ba34c(0x2a4)];_0x2c65c1[_0x5b67cb>>>0x2]&=0xffffffff<<0x20-_0x5b67cb%0x4*0x8,_0x2c65c1[_0x4ba34c(0x39c)]=_0x5c4f87[_0x4ba34c(0x389)](_0x5b67cb/0x4);},'clone':function(){var _0x11ed67=_0x338635,_0xd10439=_0x30736f[_0x11ed67(0x408)][_0x11ed67(0x3f8)](this);return _0xd10439[_0x11ed67(0x2ab)]=this[_0x11ed67(0x2ab)][_0x11ed67(0x367)](0x0),_0xd10439;},'random':function(_0x35c3f9){var _0x1742e9=_0x338635;for(var _0x46d91b=[],_0x5295f0=0x0;_0x5295f0<_0x35c3f9;_0x5295f0+=0x4)_0x46d91b[_0x1742e9(0x2fa)](_0x367375());return new _0x4169fd[(_0x1742e9(0x390))](_0x46d91b,_0x35c3f9);}}),_0xa80c14=_0x481c14[_0x338635(0x3f1)]={},_0x26c8f8=_0xa80c14[_0x338635(0x160)]={'stringify':function(_0x5100b9){var _0x3476d8=_0x338635;for(var _0x315089=_0x5100b9[_0x3476d8(0x2ab)],_0x21b2d2=_0x5100b9['sigBytes'],_0x583a72=[],_0x5052f3=0x0;_0x5052f3<_0x21b2d2;_0x5052f3++){var _0x247e37=_0x315089[_0x5052f3>>>0x2]>>>0x18-_0x5052f3%0x4*0x8&0xff;_0x583a72[_0x3476d8(0x2fa)]((_0x247e37>>>0x4)[_0x3476d8(0x148)](0x10)),_0x583a72[_0x3476d8(0x2fa)]((_0x247e37&0xf)[_0x3476d8(0x148)](0x10));}return _0x583a72[_0x3476d8(0x350)]('');},'parse':function(_0x4442ed){var _0x6f9bf4=_0x338635;for(var _0x30b143=_0x4442ed[_0x6f9bf4(0x39c)],_0x1877b1=[],_0x39b968=0x0;_0x39b968<_0x30b143;_0x39b968+=0x2)_0x1877b1[_0x39b968>>>0x3]|=parseInt(_0x4442ed[_0x6f9bf4(0x140)](_0x39b968,0x2),0x10)<<0x18-_0x39b968%0x8*0x4;return new _0x4169fd[(_0x6f9bf4(0x390))](_0x1877b1,_0x30b143/0x2);}},_0x20e108=_0xa80c14[_0x338635(0x14d)]={'stringify':function(_0x14b4ed){var _0x1ac108=_0x338635;for(var _0x311feb=_0x14b4ed[_0x1ac108(0x2ab)],_0x26a474=_0x14b4ed[_0x1ac108(0x2a4)],_0x1a18b0=[],_0x3f90d4=0x0;_0x3f90d4<_0x26a474;_0x3f90d4++){var _0x17df48=_0x311feb[_0x3f90d4>>>0x2]>>>0x18-_0x3f90d4%0x4*0x8&0xff;_0x1a18b0[_0x1ac108(0x2fa)](String[_0x1ac108(0x1b7)](_0x17df48));}return _0x1a18b0[_0x1ac108(0x350)]('');},'parse':function(_0x41d9e3){var _0x1bf8e4=_0x338635;for(var _0x4ed3c2=_0x41d9e3[_0x1bf8e4(0x39c)],_0x31bdaf=[],_0x2eaad4=0x0;_0x2eaad4<_0x4ed3c2;_0x2eaad4++)_0x31bdaf[_0x2eaad4>>>0x2]|=(_0x41d9e3[_0x1bf8e4(0x2a6)](_0x2eaad4)&0xff)<<0x18-_0x2eaad4%0x4*0x8;return new _0x4169fd[(_0x1bf8e4(0x390))](_0x31bdaf,_0x4ed3c2);}},_0x2fd476=_0xa80c14[_0x338635(0x2c1)]={'stringify':function(_0x7b4c0d){var _0x4935a7=_0x338635;try{return decodeURIComponent(escape(_0x20e108['stringify'](_0x7b4c0d)));}catch{throw new Error(_0x4935a7(0x146));}},'parse':function(_0x58b6f9){var _0x12f3f0=_0x338635;return _0x20e108[_0x12f3f0(0x1c1)](unescape(encodeURIComponent(_0x58b6f9)));}},_0x599f2e=_0x4bc8ed[_0x338635(0x245)]=_0x30736f[_0x338635(0x431)]({'reset':function(){var _0x55e842=_0x338635;this[_0x55e842(0x433)]=new _0x4169fd['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x36a325){var _0x2f876f=_0x338635;typeof _0x36a325=='string'&&(_0x36a325=_0x2fd476['parse'](_0x36a325)),this['_data']['concat'](_0x36a325),this[_0x2f876f(0x141)]+=_0x36a325[_0x2f876f(0x2a4)];},'_process':function(_0x1f5a70){var _0x4d5b8b=_0x338635,_0x2a0125,_0x19d96a=this['_data'],_0xa2a49a=_0x19d96a[_0x4d5b8b(0x2ab)],_0x5ca0da=_0x19d96a[_0x4d5b8b(0x2a4)],_0x2daf86=this[_0x4d5b8b(0x370)],_0x2c712b=_0x2daf86*0x4,_0x2615a7=_0x5ca0da/_0x2c712b;_0x1f5a70?_0x2615a7=_0x5c4f87[_0x4d5b8b(0x389)](_0x2615a7):_0x2615a7=_0x5c4f87[_0x4d5b8b(0x32e)]((_0x2615a7|0x0)-this['_minBufferSize'],0x0);var _0x48c844=_0x2615a7*_0x2daf86,_0x430dbb=_0x5c4f87[_0x4d5b8b(0x429)](_0x48c844*0x4,_0x5ca0da);if(_0x48c844){for(var _0x23a1cb=0x0;_0x23a1cb<_0x48c844;_0x23a1cb+=_0x2daf86)this[_0x4d5b8b(0x33d)](_0xa2a49a,_0x23a1cb);_0x2a0125=_0xa2a49a['splice'](0x0,_0x48c844),_0x19d96a['sigBytes']-=_0x430dbb;}return new _0x4169fd[(_0x4d5b8b(0x390))](_0x2a0125,_0x430dbb);},'clone':function(){var _0x509bc6=_0x338635,_0x53efc7=_0x30736f['clone'][_0x509bc6(0x3f8)](this);return _0x53efc7[_0x509bc6(0x433)]=this[_0x509bc6(0x433)][_0x509bc6(0x408)](),_0x53efc7;},'_minBufferSize':0x0});_0x4bc8ed[_0x338635(0x427)]=_0x599f2e[_0x338635(0x431)]({'cfg':_0x30736f[_0x338635(0x431)](),'init':function(_0x46cb63){var _0x77b9bc=_0x338635;this[_0x77b9bc(0x299)]=this['cfg'][_0x77b9bc(0x431)](_0x46cb63),this[_0x77b9bc(0x366)]();},'reset':function(){var _0x48a5df=_0x338635;_0x599f2e[_0x48a5df(0x366)]['call'](this),this['_doReset']();},'update':function(_0xf0c08d){var _0x514dcb=_0x338635;return this[_0x514dcb(0x248)](_0xf0c08d),this[_0x514dcb(0x15f)](),this;},'finalize':function(_0x4b124f){var _0x596e46=_0x338635;_0x4b124f&&this[_0x596e46(0x248)](_0x4b124f);var _0x13fb5f=this[_0x596e46(0x27c)]();return _0x13fb5f;},'blockSize':0x10,'_createHelper':function(_0x1fcec3){return function(_0x30071a,_0x27d876){var _0x46bfc9=_0x1bf9;return new _0x1fcec3[(_0x46bfc9(0x390))](_0x27d876)[_0x46bfc9(0x1ab)](_0x30071a);};},'_createHmacHelper':function(_0x1b675f){return function(_0x1a1f68,_0x31a143){var _0x59123b=_0x1bf9;return new _0x58591f[(_0x59123b(0x36b))]['init'](_0x1b675f,_0x31a143)[_0x59123b(0x1ab)](_0x1a1f68);};}});var _0x58591f=_0x481c14['algo']={};return _0x481c14;}(Math);return _0x284ea7;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x4b7416(0x2c6)],Qt;function wi(){var _0xb9c4d8=_0x4b7416;return Qt||(Qt=0x1,function(_0x2fb0a6,_0x5cba2f){(function(_0x195de1,_0x183da8){var _0x2eda01=_0x1bf9;_0x2fb0a6[_0x2eda01(0x2c6)]=_0x183da8(ne());}(xr,function(_0x5e7554){var _0x154854=_0x1bf9;return(function(){var _0x341a81=_0x1bf9,_0x4f0a77=_0x5e7554,_0x4163ec=_0x4f0a77[_0x341a81(0x229)],_0x1b1e0f=_0x4163ec[_0x341a81(0x30d)],_0x2c98d7=_0x4f0a77[_0x341a81(0x3f1)];_0x2c98d7['Base64']={'stringify':function(_0x3ba99b){var _0x8b3855=_0x341a81,_0x116164=_0x3ba99b[_0x8b3855(0x2ab)],_0x17e956=_0x3ba99b[_0x8b3855(0x2a4)],_0x377544=this[_0x8b3855(0x288)];_0x3ba99b[_0x8b3855(0x29d)]();for(var _0x526f75=[],_0xdab55f=0x0;_0xdab55f<_0x17e956;_0xdab55f+=0x3)for(var _0x374d0b=_0x116164[_0xdab55f>>>0x2]>>>0x18-_0xdab55f%0x4*0x8&0xff,_0x80c1e=_0x116164[_0xdab55f+0x1>>>0x2]>>>0x18-(_0xdab55f+0x1)%0x4*0x8&0xff,_0x34ee25=_0x116164[_0xdab55f+0x2>>>0x2]>>>0x18-(_0xdab55f+0x2)%0x4*0x8&0xff,_0x8b119a=_0x374d0b<<0x10|_0x80c1e<<0x8|_0x34ee25,_0x187482=0x0;_0x187482<0x4&&_0xdab55f+_0x187482*0.75<_0x17e956;_0x187482++)_0x526f75[_0x8b3855(0x2fa)](_0x377544[_0x8b3855(0x392)](_0x8b119a>>>0x6*(0x3-_0x187482)&0x3f));var _0x4be6a4=_0x377544[_0x8b3855(0x392)](0x40);if(_0x4be6a4){for(;_0x526f75[_0x8b3855(0x39c)]%0x4;)_0x526f75['push'](_0x4be6a4);}return _0x526f75[_0x8b3855(0x350)]('');},'parse':function(_0x3d44fc){var _0x16d1ec=_0x341a81,_0x335389=_0x3d44fc[_0x16d1ec(0x39c)],_0x362c4e=this['_map'],_0x2c9de9=this['_reverseMap'];if(!_0x2c9de9){_0x2c9de9=this[_0x16d1ec(0x348)]=[];for(var _0xc8c55c=0x0;_0xc8c55c<_0x362c4e[_0x16d1ec(0x39c)];_0xc8c55c++)_0x2c9de9[_0x362c4e[_0x16d1ec(0x2a6)](_0xc8c55c)]=_0xc8c55c;}var _0x3f6758=_0x362c4e[_0x16d1ec(0x392)](0x40);if(_0x3f6758){var _0x35d8c9=_0x3d44fc[_0x16d1ec(0x3bf)](_0x3f6758);_0x35d8c9!==-0x1&&(_0x335389=_0x35d8c9);}return _0x2b6cc4(_0x3d44fc,_0x335389,_0x2c9de9);},'_map':_0x341a81(0x16b)};function _0x2b6cc4(_0x471af6,_0x4072d6,_0x4bebff){var _0x56ced9=_0x341a81;for(var _0x2329d7=[],_0xbe392e=0x0,_0x51a417=0x0;_0x51a417<_0x4072d6;_0x51a417++)if(_0x51a417%0x4){var _0x77a028=_0x4bebff[_0x471af6[_0x56ced9(0x2a6)](_0x51a417-0x1)]<<_0x51a417%0x4*0x2,_0x482dda=_0x4bebff[_0x471af6[_0x56ced9(0x2a6)](_0x51a417)]>>>0x6-_0x51a417%0x4*0x2,_0x7f2898=_0x77a028|_0x482dda;_0x2329d7[_0xbe392e>>>0x2]|=_0x7f2898<<0x18-_0xbe392e%0x4*0x8,_0xbe392e++;}return _0x1b1e0f[_0x56ced9(0x319)](_0x2329d7,_0xbe392e);}}()),_0x5e7554[_0x154854(0x3f1)][_0x154854(0x170)];}));}(We)),We[_0xb9c4d8(0x2c6)];}var Ke={'exports':{}},Lr=Ke[_0x4b7416(0x2c6)],ei;function Mr(){var _0x45eff1=_0x4b7416;return ei||(ei=0x1,function(_0x18999b,_0x688cec){(function(_0x175572,_0x3eb981){var _0x1cf662=_0x1bf9;_0x18999b[_0x1cf662(0x2c6)]=_0x3eb981(ne());}(Lr,function(_0x4a4170){var _0x3ed17e=_0x1bf9;return function(_0x3e7439){var _0x108c86=_0x1bf9,_0x4ebbe8=_0x4a4170,_0x49d7aa=_0x4ebbe8[_0x108c86(0x229)],_0x4c958c=_0x49d7aa[_0x108c86(0x30d)],_0x251151=_0x49d7aa[_0x108c86(0x427)],_0x305a60=_0x4ebbe8[_0x108c86(0x1de)],_0x5bf817=[];(function(){var _0x167172=_0x108c86;for(var _0x19e4e6=0x0;_0x19e4e6<0x40;_0x19e4e6++)_0x5bf817[_0x19e4e6]=_0x3e7439[_0x167172(0x44a)](_0x3e7439['sin'](_0x19e4e6+0x1))*0x100000000|0x0;}());var _0x29dba9=_0x305a60['MD5']=_0x251151[_0x108c86(0x431)]({'_doReset':function(){var _0x4082ec=_0x108c86;this[_0x4082ec(0x3b5)]=new _0x4c958c[(_0x4082ec(0x390))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x257137,_0x1733a1){var _0x2c7805=_0x108c86;for(var _0x16b61d=0x0;_0x16b61d<0x10;_0x16b61d++){var _0x3cfb7b=_0x1733a1+_0x16b61d,_0x3f1e39=_0x257137[_0x3cfb7b];_0x257137[_0x3cfb7b]=(_0x3f1e39<<0x8|_0x3f1e39>>>0x18)&0xff00ff|(_0x3f1e39<<0x18|_0x3f1e39>>>0x8)&0xff00ff00;}var _0x192e0b=this[_0x2c7805(0x3b5)]['words'],_0x8d2db2=_0x257137[_0x1733a1+0x0],_0x3536ac=_0x257137[_0x1733a1+0x1],_0x2cd997=_0x257137[_0x1733a1+0x2],_0x4dd300=_0x257137[_0x1733a1+0x3],_0x2da1b2=_0x257137[_0x1733a1+0x4],_0x5d3485=_0x257137[_0x1733a1+0x5],_0x282f41=_0x257137[_0x1733a1+0x6],_0x135edf=_0x257137[_0x1733a1+0x7],_0x1535f8=_0x257137[_0x1733a1+0x8],_0x1e388c=_0x257137[_0x1733a1+0x9],_0x10f568=_0x257137[_0x1733a1+0xa],_0x6c8262=_0x257137[_0x1733a1+0xb],_0x4b0474=_0x257137[_0x1733a1+0xc],_0x535e48=_0x257137[_0x1733a1+0xd],_0x3963e5=_0x257137[_0x1733a1+0xe],_0x399983=_0x257137[_0x1733a1+0xf],_0x3d23d9=_0x192e0b[0x0],_0x2dd2fa=_0x192e0b[0x1],_0x4a0fa3=_0x192e0b[0x2],_0x5ecb9e=_0x192e0b[0x3];_0x3d23d9=_0xb0e3ff(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x8d2db2,0x7,_0x5bf817[0x0]),_0x5ecb9e=_0xb0e3ff(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x3536ac,0xc,_0x5bf817[0x1]),_0x4a0fa3=_0xb0e3ff(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x2cd997,0x11,_0x5bf817[0x2]),_0x2dd2fa=_0xb0e3ff(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x4dd300,0x16,_0x5bf817[0x3]),_0x3d23d9=_0xb0e3ff(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x2da1b2,0x7,_0x5bf817[0x4]),_0x5ecb9e=_0xb0e3ff(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5d3485,0xc,_0x5bf817[0x5]),_0x4a0fa3=_0xb0e3ff(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x282f41,0x11,_0x5bf817[0x6]),_0x2dd2fa=_0xb0e3ff(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x135edf,0x16,_0x5bf817[0x7]),_0x3d23d9=_0xb0e3ff(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x1535f8,0x7,_0x5bf817[0x8]),_0x5ecb9e=_0xb0e3ff(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x1e388c,0xc,_0x5bf817[0x9]),_0x4a0fa3=_0xb0e3ff(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x10f568,0x11,_0x5bf817[0xa]),_0x2dd2fa=_0xb0e3ff(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x6c8262,0x16,_0x5bf817[0xb]),_0x3d23d9=_0xb0e3ff(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x4b0474,0x7,_0x5bf817[0xc]),_0x5ecb9e=_0xb0e3ff(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x535e48,0xc,_0x5bf817[0xd]),_0x4a0fa3=_0xb0e3ff(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x3963e5,0x11,_0x5bf817[0xe]),_0x2dd2fa=_0xb0e3ff(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x399983,0x16,_0x5bf817[0xf]),_0x3d23d9=_0x21a601(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3536ac,0x5,_0x5bf817[0x10]),_0x5ecb9e=_0x21a601(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x282f41,0x9,_0x5bf817[0x11]),_0x4a0fa3=_0x21a601(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x6c8262,0xe,_0x5bf817[0x12]),_0x2dd2fa=_0x21a601(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x8d2db2,0x14,_0x5bf817[0x13]),_0x3d23d9=_0x21a601(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x5d3485,0x5,_0x5bf817[0x14]),_0x5ecb9e=_0x21a601(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x10f568,0x9,_0x5bf817[0x15]),_0x4a0fa3=_0x21a601(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x399983,0xe,_0x5bf817[0x16]),_0x2dd2fa=_0x21a601(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2da1b2,0x14,_0x5bf817[0x17]),_0x3d23d9=_0x21a601(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x1e388c,0x5,_0x5bf817[0x18]),_0x5ecb9e=_0x21a601(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x3963e5,0x9,_0x5bf817[0x19]),_0x4a0fa3=_0x21a601(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4dd300,0xe,_0x5bf817[0x1a]),_0x2dd2fa=_0x21a601(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x1535f8,0x14,_0x5bf817[0x1b]),_0x3d23d9=_0x21a601(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x535e48,0x5,_0x5bf817[0x1c]),_0x5ecb9e=_0x21a601(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x2cd997,0x9,_0x5bf817[0x1d]),_0x4a0fa3=_0x21a601(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x135edf,0xe,_0x5bf817[0x1e]),_0x2dd2fa=_0x21a601(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x4b0474,0x14,_0x5bf817[0x1f]),_0x3d23d9=_0x262bdd(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x5d3485,0x4,_0x5bf817[0x20]),_0x5ecb9e=_0x262bdd(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x1535f8,0xb,_0x5bf817[0x21]),_0x4a0fa3=_0x262bdd(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x6c8262,0x10,_0x5bf817[0x22]),_0x2dd2fa=_0x262bdd(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x3963e5,0x17,_0x5bf817[0x23]),_0x3d23d9=_0x262bdd(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3536ac,0x4,_0x5bf817[0x24]),_0x5ecb9e=_0x262bdd(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x2da1b2,0xb,_0x5bf817[0x25]),_0x4a0fa3=_0x262bdd(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x135edf,0x10,_0x5bf817[0x26]),_0x2dd2fa=_0x262bdd(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x10f568,0x17,_0x5bf817[0x27]),_0x3d23d9=_0x262bdd(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x535e48,0x4,_0x5bf817[0x28]),_0x5ecb9e=_0x262bdd(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x8d2db2,0xb,_0x5bf817[0x29]),_0x4a0fa3=_0x262bdd(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4dd300,0x10,_0x5bf817[0x2a]),_0x2dd2fa=_0x262bdd(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x282f41,0x17,_0x5bf817[0x2b]),_0x3d23d9=_0x262bdd(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x1e388c,0x4,_0x5bf817[0x2c]),_0x5ecb9e=_0x262bdd(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x4b0474,0xb,_0x5bf817[0x2d]),_0x4a0fa3=_0x262bdd(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x399983,0x10,_0x5bf817[0x2e]),_0x2dd2fa=_0x262bdd(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2cd997,0x17,_0x5bf817[0x2f]),_0x3d23d9=_0x2c36ba(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x8d2db2,0x6,_0x5bf817[0x30]),_0x5ecb9e=_0x2c36ba(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x135edf,0xa,_0x5bf817[0x31]),_0x4a0fa3=_0x2c36ba(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x3963e5,0xf,_0x5bf817[0x32]),_0x2dd2fa=_0x2c36ba(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x5d3485,0x15,_0x5bf817[0x33]),_0x3d23d9=_0x2c36ba(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x4b0474,0x6,_0x5bf817[0x34]),_0x5ecb9e=_0x2c36ba(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x4dd300,0xa,_0x5bf817[0x35]),_0x4a0fa3=_0x2c36ba(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x10f568,0xf,_0x5bf817[0x36]),_0x2dd2fa=_0x2c36ba(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x3536ac,0x15,_0x5bf817[0x37]),_0x3d23d9=_0x2c36ba(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x1535f8,0x6,_0x5bf817[0x38]),_0x5ecb9e=_0x2c36ba(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x399983,0xa,_0x5bf817[0x39]),_0x4a0fa3=_0x2c36ba(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x282f41,0xf,_0x5bf817[0x3a]),_0x2dd2fa=_0x2c36ba(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x535e48,0x15,_0x5bf817[0x3b]),_0x3d23d9=_0x2c36ba(_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x2da1b2,0x6,_0x5bf817[0x3c]),_0x5ecb9e=_0x2c36ba(_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x4a0fa3,_0x6c8262,0xa,_0x5bf817[0x3d]),_0x4a0fa3=_0x2c36ba(_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x2dd2fa,_0x2cd997,0xf,_0x5bf817[0x3e]),_0x2dd2fa=_0x2c36ba(_0x2dd2fa,_0x4a0fa3,_0x5ecb9e,_0x3d23d9,_0x1e388c,0x15,_0x5bf817[0x3f]),_0x192e0b[0x0]=_0x192e0b[0x0]+_0x3d23d9|0x0,_0x192e0b[0x1]=_0x192e0b[0x1]+_0x2dd2fa|0x0,_0x192e0b[0x2]=_0x192e0b[0x2]+_0x4a0fa3|0x0,_0x192e0b[0x3]=_0x192e0b[0x3]+_0x5ecb9e|0x0;},'_doFinalize':function(){var _0x7f221e=_0x108c86,_0x5ee485=this[_0x7f221e(0x433)],_0x4ca22d=_0x5ee485[_0x7f221e(0x2ab)],_0x16c232=this['_nDataBytes']*0x8,_0x3138b5=_0x5ee485[_0x7f221e(0x2a4)]*0x8;_0x4ca22d[_0x3138b5>>>0x5]|=0x80<<0x18-_0x3138b5%0x20;var _0x5e8f9d=_0x3e7439[_0x7f221e(0x41b)](_0x16c232/0x100000000),_0x23d749=_0x16c232;_0x4ca22d[(_0x3138b5+0x40>>>0x9<<0x4)+0xf]=(_0x5e8f9d<<0x8|_0x5e8f9d>>>0x18)&0xff00ff|(_0x5e8f9d<<0x18|_0x5e8f9d>>>0x8)&0xff00ff00,_0x4ca22d[(_0x3138b5+0x40>>>0x9<<0x4)+0xe]=(_0x23d749<<0x8|_0x23d749>>>0x18)&0xff00ff|(_0x23d749<<0x18|_0x23d749>>>0x8)&0xff00ff00,_0x5ee485[_0x7f221e(0x2a4)]=(_0x4ca22d[_0x7f221e(0x39c)]+0x1)*0x4,this[_0x7f221e(0x15f)]();for(var _0x153cf1=this[_0x7f221e(0x3b5)],_0x28b3d6=_0x153cf1[_0x7f221e(0x2ab)],_0xfb9c4a=0x0;_0xfb9c4a<0x4;_0xfb9c4a++){var _0x4df9f1=_0x28b3d6[_0xfb9c4a];_0x28b3d6[_0xfb9c4a]=(_0x4df9f1<<0x8|_0x4df9f1>>>0x18)&0xff00ff|(_0x4df9f1<<0x18|_0x4df9f1>>>0x8)&0xff00ff00;}return _0x153cf1;},'clone':function(){var _0x4d589d=_0x108c86,_0x17fcd5=_0x251151[_0x4d589d(0x408)][_0x4d589d(0x3f8)](this);return _0x17fcd5['_hash']=this['_hash']['clone'](),_0x17fcd5;}});function _0xb0e3ff(_0x3aac2a,_0x2cf3d3,_0xbbdc7e,_0x29b6b0,_0xc52300,_0xff5c50,_0x463692){var _0x4dffae=_0x3aac2a+(_0x2cf3d3&_0xbbdc7e|~_0x2cf3d3&_0x29b6b0)+_0xc52300+_0x463692;return(_0x4dffae<<_0xff5c50|_0x4dffae>>>0x20-_0xff5c50)+_0x2cf3d3;}function _0x21a601(_0x4ff955,_0x378ecc,_0x4c3c2e,_0xc156fb,_0x33298e,_0x4cb2a1,_0x4067c2){var _0x459820=_0x4ff955+(_0x378ecc&_0xc156fb|_0x4c3c2e&~_0xc156fb)+_0x33298e+_0x4067c2;return(_0x459820<<_0x4cb2a1|_0x459820>>>0x20-_0x4cb2a1)+_0x378ecc;}function _0x262bdd(_0x5cef04,_0x2990d9,_0x2faa9,_0x56fb28,_0x304f3e,_0x6b6f28,_0x1e64d0){var _0x412d49=_0x5cef04+(_0x2990d9^_0x2faa9^_0x56fb28)+_0x304f3e+_0x1e64d0;return(_0x412d49<<_0x6b6f28|_0x412d49>>>0x20-_0x6b6f28)+_0x2990d9;}function _0x2c36ba(_0x463980,_0x2b1bb4,_0x14d421,_0x2aef3c,_0x335adf,_0x42ab62,_0x456a18){var _0x5a9913=_0x463980+(_0x14d421^(_0x2b1bb4|~_0x2aef3c))+_0x335adf+_0x456a18;return(_0x5a9913<<_0x42ab62|_0x5a9913>>>0x20-_0x42ab62)+_0x2b1bb4;}_0x4ebbe8[_0x108c86(0x442)]=_0x251151[_0x108c86(0x38c)](_0x29dba9),_0x4ebbe8[_0x108c86(0x438)]=_0x251151['_createHmacHelper'](_0x29dba9);}(Math),_0x4a4170[_0x3ed17e(0x442)];}));}(Ke)),Ke[_0x45eff1(0x2c6)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x4b7416(0x2c6)],ti;function Hr(){var _0x2029c1=_0x4b7416;return ti||(ti=0x1,function(_0x4e53c8,_0xc2446c){(function(_0x53df84,_0x2d54c4){var _0x231cbe=_0x1bf9;_0x4e53c8[_0x231cbe(0x2c6)]=_0x2d54c4(ne());}($r,function(_0x388f7d){var _0x170394=_0x1bf9;return(function(){var _0x31cac9=_0x1bf9,_0x30f673=_0x388f7d,_0x41d3eb=_0x30f673[_0x31cac9(0x229)],_0x5cbb25=_0x41d3eb['WordArray'],_0x95fa6c=_0x41d3eb[_0x31cac9(0x427)],_0x343873=_0x30f673[_0x31cac9(0x1de)],_0x1bbabb=[],_0x120043=_0x343873[_0x31cac9(0x1bb)]=_0x95fa6c[_0x31cac9(0x431)]({'_doReset':function(){var _0x456631=_0x31cac9;this['_hash']=new _0x5cbb25[(_0x456631(0x390))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x239747,_0x1e00d0){var _0x1d5ff=_0x31cac9;for(var _0x5d7ed2=this[_0x1d5ff(0x3b5)][_0x1d5ff(0x2ab)],_0x5b7bbc=_0x5d7ed2[0x0],_0x40b8b6=_0x5d7ed2[0x1],_0x3e2fb3=_0x5d7ed2[0x2],_0x30da12=_0x5d7ed2[0x3],_0x2aefbd=_0x5d7ed2[0x4],_0x2a06ee=0x0;_0x2a06ee<0x50;_0x2a06ee++){if(_0x2a06ee<0x10)_0x1bbabb[_0x2a06ee]=_0x239747[_0x1e00d0+_0x2a06ee]|0x0;else{var _0x5cb241=_0x1bbabb[_0x2a06ee-0x3]^_0x1bbabb[_0x2a06ee-0x8]^_0x1bbabb[_0x2a06ee-0xe]^_0x1bbabb[_0x2a06ee-0x10];_0x1bbabb[_0x2a06ee]=_0x5cb241<<0x1|_0x5cb241>>>0x1f;}var _0x6b67=(_0x5b7bbc<<0x5|_0x5b7bbc>>>0x1b)+_0x2aefbd+_0x1bbabb[_0x2a06ee];_0x2a06ee<0x14?_0x6b67+=(_0x40b8b6&_0x3e2fb3|~_0x40b8b6&_0x30da12)+0x5a827999:_0x2a06ee<0x28?_0x6b67+=(_0x40b8b6^_0x3e2fb3^_0x30da12)+0x6ed9eba1:_0x2a06ee<0x3c?_0x6b67+=(_0x40b8b6&_0x3e2fb3|_0x40b8b6&_0x30da12|_0x3e2fb3&_0x30da12)-0x70e44324:_0x6b67+=(_0x40b8b6^_0x3e2fb3^_0x30da12)-0x359d3e2a,_0x2aefbd=_0x30da12,_0x30da12=_0x3e2fb3,_0x3e2fb3=_0x40b8b6<<0x1e|_0x40b8b6>>>0x2,_0x40b8b6=_0x5b7bbc,_0x5b7bbc=_0x6b67;}_0x5d7ed2[0x0]=_0x5d7ed2[0x0]+_0x5b7bbc|0x0,_0x5d7ed2[0x1]=_0x5d7ed2[0x1]+_0x40b8b6|0x0,_0x5d7ed2[0x2]=_0x5d7ed2[0x2]+_0x3e2fb3|0x0,_0x5d7ed2[0x3]=_0x5d7ed2[0x3]+_0x30da12|0x0,_0x5d7ed2[0x4]=_0x5d7ed2[0x4]+_0x2aefbd|0x0;},'_doFinalize':function(){var _0xa75eb8=_0x31cac9,_0x483fa0=this[_0xa75eb8(0x433)],_0x4b1e92=_0x483fa0[_0xa75eb8(0x2ab)],_0x3a1662=this[_0xa75eb8(0x141)]*0x8,_0x2ef8e0=_0x483fa0[_0xa75eb8(0x2a4)]*0x8;return _0x4b1e92[_0x2ef8e0>>>0x5]|=0x80<<0x18-_0x2ef8e0%0x20,_0x4b1e92[(_0x2ef8e0+0x40>>>0x9<<0x4)+0xe]=Math[_0xa75eb8(0x41b)](_0x3a1662/0x100000000),_0x4b1e92[(_0x2ef8e0+0x40>>>0x9<<0x4)+0xf]=_0x3a1662,_0x483fa0['sigBytes']=_0x4b1e92[_0xa75eb8(0x39c)]*0x4,this[_0xa75eb8(0x15f)](),this['_hash'];},'clone':function(){var _0x2adbde=_0x31cac9,_0x31ec2d=_0x95fa6c[_0x2adbde(0x408)][_0x2adbde(0x3f8)](this);return _0x31ec2d[_0x2adbde(0x3b5)]=this[_0x2adbde(0x3b5)][_0x2adbde(0x408)](),_0x31ec2d;}});_0x30f673['SHA1']=_0x95fa6c[_0x31cac9(0x38c)](_0x120043),_0x30f673[_0x31cac9(0x210)]=_0x95fa6c[_0x31cac9(0x302)](_0x120043);}()),_0x388f7d[_0x170394(0x1bb)];}));}(qe)),qe[_0x2029c1(0x2c6)];}var ze={'exports':{}},kr=ze[_0x4b7416(0x2c6)],ii;function jr(){var _0x574652=_0x4b7416;return ii||(ii=0x1,function(_0x78bfbe,_0x4e042f){(function(_0x17620f,_0xfef77b){var _0x5533c3=_0x1bf9;_0x78bfbe[_0x5533c3(0x2c6)]=_0xfef77b(ne());}(kr,function(_0xb5277){(function(){var _0x359082=_0x1bf9,_0x132b70=_0xb5277,_0x2b9e1a=_0x132b70['lib'],_0x2db8ff=_0x2b9e1a[_0x359082(0x29a)],_0x3f77bc=_0x132b70[_0x359082(0x3f1)],_0x3e2680=_0x3f77bc['Utf8'],_0x393252=_0x132b70[_0x359082(0x1de)];_0x393252[_0x359082(0x36b)]=_0x2db8ff[_0x359082(0x431)]({'init':function(_0x242d30,_0x33b8e3){var _0x145c98=_0x359082;_0x242d30=this[_0x145c98(0x23e)]=new _0x242d30[(_0x145c98(0x390))](),typeof _0x33b8e3=='string'&&(_0x33b8e3=_0x3e2680[_0x145c98(0x1c1)](_0x33b8e3));var _0x1dc590=_0x242d30[_0x145c98(0x370)],_0x55d4fa=_0x1dc590*0x4;_0x33b8e3['sigBytes']>_0x55d4fa&&(_0x33b8e3=_0x242d30[_0x145c98(0x1ab)](_0x33b8e3)),_0x33b8e3[_0x145c98(0x29d)]();for(var _0x1be72d=this[_0x145c98(0x20f)]=_0x33b8e3['clone'](),_0x431e8d=this['_iKey']=_0x33b8e3[_0x145c98(0x408)](),_0x40c3b1=_0x1be72d[_0x145c98(0x2ab)],_0x2a9e4f=_0x431e8d[_0x145c98(0x2ab)],_0x4f9be1=0x0;_0x4f9be1<_0x1dc590;_0x4f9be1++)_0x40c3b1[_0x4f9be1]^=0x5c5c5c5c,_0x2a9e4f[_0x4f9be1]^=0x36363636;_0x1be72d[_0x145c98(0x2a4)]=_0x431e8d[_0x145c98(0x2a4)]=_0x55d4fa,this[_0x145c98(0x366)]();},'reset':function(){var _0x39b326=_0x359082,_0x4e8a45=this[_0x39b326(0x23e)];_0x4e8a45[_0x39b326(0x366)](),_0x4e8a45[_0x39b326(0x3c4)](this[_0x39b326(0x1f4)]);},'update':function(_0x188294){var _0x45bfc3=_0x359082;return this[_0x45bfc3(0x23e)][_0x45bfc3(0x3c4)](_0x188294),this;},'finalize':function(_0x32551a){var _0x309537=_0x359082,_0x26885d=this[_0x309537(0x23e)],_0x29b244=_0x26885d[_0x309537(0x1ab)](_0x32551a);_0x26885d['reset']();var _0x1ce28d=_0x26885d[_0x309537(0x1ab)](this[_0x309537(0x20f)][_0x309537(0x408)]()['concat'](_0x29b244));return _0x1ce28d;}});}());}));}(ze)),ze[_0x574652(0x2c6)];}var Br=Ye['exports'],ni;function Ui(){var _0x558069=_0x4b7416;return ni||(ni=0x1,function(_0x228ca3,_0xccdfc0){(function(_0xc37c8f,_0x3a5498,_0x3bcffb){var _0x5232a5=_0x1bf9;_0x228ca3[_0x5232a5(0x2c6)]=_0x3a5498(ne(),Hr(),jr());}(Br,function(_0x455c62){var _0x8dd503=_0x1bf9;return(function(){var _0xa6ec4b=_0x1bf9,_0x3ff54d=_0x455c62,_0x5b3e32=_0x3ff54d[_0xa6ec4b(0x229)],_0x4a4152=_0x5b3e32[_0xa6ec4b(0x29a)],_0x2f39a3=_0x5b3e32[_0xa6ec4b(0x30d)],_0x1a8e5f=_0x3ff54d[_0xa6ec4b(0x1de)],_0x3eb248=_0x1a8e5f[_0xa6ec4b(0x442)],_0x5986a9=_0x1a8e5f['EvpKDF']=_0x4a4152['extend']({'cfg':_0x4a4152[_0xa6ec4b(0x431)]({'keySize':0x80/0x20,'hasher':_0x3eb248,'iterations':0x1}),'init':function(_0x55f145){var _0x385178=_0xa6ec4b;this[_0x385178(0x299)]=this[_0x385178(0x299)]['extend'](_0x55f145);},'compute':function(_0x33e157,_0x1a19dd){var _0x4bffd5=_0xa6ec4b;for(var _0x4f87d8,_0x2852e0=this[_0x4bffd5(0x299)],_0x34cd68=_0x2852e0['hasher'][_0x4bffd5(0x319)](),_0x11055e=_0x2f39a3[_0x4bffd5(0x319)](),_0x5bb254=_0x11055e[_0x4bffd5(0x2ab)],_0xee4183=_0x2852e0['keySize'],_0x223859=_0x2852e0['iterations'];_0x5bb254[_0x4bffd5(0x39c)]<_0xee4183;){_0x4f87d8&&_0x34cd68[_0x4bffd5(0x3c4)](_0x4f87d8),_0x4f87d8=_0x34cd68[_0x4bffd5(0x3c4)](_0x33e157)[_0x4bffd5(0x1ab)](_0x1a19dd),_0x34cd68[_0x4bffd5(0x366)]();for(var _0x41e43c=0x1;_0x41e43c<_0x223859;_0x41e43c++)_0x4f87d8=_0x34cd68[_0x4bffd5(0x1ab)](_0x4f87d8),_0x34cd68[_0x4bffd5(0x366)]();_0x11055e[_0x4bffd5(0x16d)](_0x4f87d8);}return _0x11055e[_0x4bffd5(0x2a4)]=_0xee4183*0x4,_0x11055e;}});_0x3ff54d[_0xa6ec4b(0x2a2)]=function(_0x2962ff,_0x5047cc,_0x278c31){var _0x50db57=_0xa6ec4b;return _0x5986a9['create'](_0x278c31)[_0x50db57(0x31a)](_0x2962ff,_0x5047cc);};}()),_0x455c62[_0x8dd503(0x2a2)];}));}(Ye)),Ye[_0x558069(0x2c6)];}var Je={'exports':{}},Fr=Je[_0x4b7416(0x2c6)],ri;function _0x1977(){var _0x5c476b=['_onConflict','_members$','actions','searchParams','_fetchMissChangesets','getDeserializedSheetBlock','HEARTBEAT_INTERVAL','_transformRemoteChangesetByStateCache','PERMISSION_DENIED','GLOBAL_ROOMS_CNT_EXCEEDS','prototype','/universer-api/file/{fileID}/sign-url','JOIN_ROOM_FAILED','\x20-\x20','error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','catch','Utf8','default','onTransformRemoteChangesetByStateCache','location','_commentService','exports','SerializableCipher','LICENSE_MAX_UNITS_EXCEEDED','filter','status','defineProperty','UNKNOWN_CMD','onLocalMutation','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_toggleOffline','_state$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','joinRsp','_singleActiveUnitService','sessionTicket','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMMENT_UPDATE','createDecryptor','_schedule','getTime','offline','_throwTelemetryCollaborationNewChangeset','_getSendChangesetTimeout','entries','setWaitCount','LOGIN_URL_KEY','_getDownloadEndpointURL','msCrypto','csAckEvent','Decryptor','NO_OTHER_CLIENTS_EDITING','[SyncedState]:\x20received\x20acknowledgement.','enableAuthServer','PY_RUNTIME_SCRIPT_ERROR','/collaborator','&assign=','_transformUndoredo','COMPRESS_MUTATION_SEND','baseRev','_decreaseWaiting','event$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','c2Prime','appendMutation','_getSignURL','/universer-api/comb','list','/fetchmissing?from=','_initDependencies','COMPLETION_FINISHED','string','/universer-api/snapshot/','push','_snapshotServerService','unitInfo$','SEND_CHANGESET_TIMEOUT','CHANGESET_ACK','createInstance','JOIN','LIVESHARE_NEW_HOST','_createHmacHelper','socket\x20close','loadSheet','INVALID_ARGUMENT','hasher','fetchThroughInterceptors','_toggleOnline','crypto','JOIN_ROOM_FULL','getTypeOfUnitDisposed$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','WordArray','_commandService','\x0aCurrent:\x20','_initRequestHeader','unitID','decrypt','getFocusedUnit','getUnitId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onMessage','src','_tryEnsureSocket','create','compute','synced','NOT_COLLAB','_instanceService','_candidateSocket','CONFLICT','UNIVER_PROJECT','ticket','getCollabEntity$','findIndex','replace','IDLE','_members','UNRECOGNIZED','session.join-failed','set','onSyncEditingCollabCursor','_resendWithTimeout','asObservable','updatePermissionObjEvent','max','_getUndoStack','[PendingState]:\x20received\x20rejection.','reconnect','transformMutationsWithChangeset','_shouldReportTelemetry','&source=','SHOULD_CLOSE_CONN','fetchMiss','_replaceFileID','getTypeOfUnitAdded$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','now','ALREADY_EXISTS','_undoRedoService','_doProcessBlock','getImage','_waitCount','close','_localCacheService','_showConflictNotification','byteLength','EXCHANGE_SIGN_URL_SERVER_URL_KEY','size','PENDING','APPLY_REVISION_CONFILICT','_reverseMap','_createSocketURL','csShouldRetryEvent','_clearUndo','_type','reqId','awaitingChangeset','status$','join','image/jpg','_onCombEvent','_scheduleCollaborationTimeoutTimer','COLLAB_WEB_SOCKET_URL','LEAVE','encode','_clearTimeoutTimer','[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.','_handlerCallback','changesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','reverse','[CollaborationSession]','onTransformSelections','getMemberID','range','submit\x20changeset\x20error!','dispose','commentUpdateEvent','LIVESHARE_TERMINATE','reset','slice','_cipher','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','image/gif','HMAC','reject','objects','_rescheduleHeartbeat','_getAPIPrefix','blockSize','fetch_missing','_transformSelections','DEFAULT_FILE_NAME','Cipher','keySize','_collabSessionService','JOINING','map','permissionRejEvent','NEW_CHANGESETS','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','message$','then','createEncryptor','CONNECTOR_DATA_TOO_LARGE','newCsEvent','FAIL','Undefined','cmd','readAsDataURL','csRejEvent','toLowerCase','awaiting_with_pending','_onRemoteRetry','ceil','_changesetReqId','unpad','_createHelper','runId','type','_logService','init','fetching\x20missing\x20changesets\x20from\x20','charAt','loginUrlKey','editingUnit','createCollaborator','_entityInit$','toggleOnline','find','close$','isArray','name','length','onMissingChangesets','_iv','_revisionService','LIVESHARE_FETCH_OPERATIONS','BASE64','_disableEditing','_eventService','transformUndoRedo','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sender','1580405UOnavR','UNIVER_DOC','SYNCED','auth.needGotoLoginAlert','/unit/','collaborators','OTHER_CLIENT_EDITING','_onLocalMutation','\x20in\x20_schedule.','m2Prime','complete','salt','HttpImport','_hash','_mode','fetchMissingChangesets','32304fKkmJe','_clearScheduledTask','__Key__','_sessionStatus$','c1Prime','state$','pluginName','indexOf','[CollaborationUndoRedoService]','registerHTTPInterceptor','_timeoutTimer','_onJoinRoomEvent','update','ENSURE_SNAPSHOT_EXECUTION','deepClone','_keyPriorReset','_substituteRedoStack','capture','onRemoteRetry','_univerInstanceService','_permissionService','_collaborationTimeoutTimer','_event$','_prevBlock','headers','ONLINE','CHANGESET_REJ','_compressMutationService','UnitSnapshot','transformStack\x20failed!','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','UnitEmbedded','_registerDependencies','setShowComponents','_clearLocalCache','image/png','override','withCredentials','awaiting','?url=','_collaborationSessionService','AUTHZ_URL_KEY','has','_injector','UNKNOWN_CODE','getInterceptPoints','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','state','loadOfflineData','send','sendChangesetTimeout','subUnitId','_invKeySchedule','repeat','subject','_minBufferSize','_onRemoteChangeset','enc','/new_changes','collabWebSocketUrl','_socket$','SUBMIT_CHANGESET','/universer-api/snapshot','[CollaborationSessionService]','call','Could\x20not\x20dynamically\x20require\x20\x22','requestParams','requireSession','SUCCUSS','delete','unknown','encrypt','UNIVER_SLIDE','padding','YUUMI_SUBSCRIPTION_NOT_FOUND','_getCtorByUniverType','ws://127.0.0.1:8000/universer-api/comb/connect','_socketService','_undoStacks','/universer-api/oidc/authpage','clone','UNIVER_SHEET','mutations','_getRedoStack','UNIVER_UNKNOWN','disableLocalCache','getConfig','_exhaustRemoteChangesetQueue','univer-pro.collaboration-client.network-condition.service','UPDATE_CURSOR','_unitID','x-univer-host','setCurrentUser','_clearHeartbeatTimer','readInt32LE','/-/object/-/batch_allowed','stringify','commentUpdate$','_config','floor','_key','onRemoteRej','onRemoteChangeset','_state','_userManagerService','_onConnectionFailed','reduce','LICENSE_EXPORT_SIZE_EXCEEDED','_waitForHeartbeatResponse','Pkcs7','random','Hasher','sid','min','_resendTimer','RECV','conflict','_incrementRevisionNumber','_keySchedule','_transformRemoteChangesetByIMECache','_transformStateCache','extend','_clearRedo','_data','getUnitStatus$','subscribe','UPDATE_PERMISSION_OBJ','executeCommand','HmacMD5','_listenToNetworkCondition','_collaborationUIEventService','People','updateCursorEvent','dispose$','transformChangesets','_createInitialStateImpl','_emitMembers','byteOffset','MD5','APPLY_REJECT','getActiveSheet','collaboratorID','SNAPSHOT_HAS_BEEN_REMOVED','/role','uniscriptRunEvent','randomBytes','abs','MUTATION','Error\x20on\x20receiving\x20event','getUnit','substr','_nDataBytes','/block/','socketService','univer-pro.collaboration-client.single-active-unit-service','SNAPSHOT_SERVER_URL_KEY','Malformed\x20UTF-8\x20data','_executeRemoteChangeset','toString','onCommandExecuted','_handler','/universer-api/uniscript','change$','Latin1','body','origin','_telemetryService','batchAllowed','_configService','13881224dXKSND','session.room-cnt-exceeds','_telemetryInfo','_onRemoteRejected','userID','APPLY_NON_SEQUENTIAL_REVISION','_stopTelemetryCollaborationNewChangeset','_httpService','ivSize','[DataLoaderService]','[FetchMissState]','_socketMessageSubscription','_process','Hex','CBC','_networkConditionService','error$','UNIVER_COLLABORATION_CLIENT_PLUGIN','readyForCollab','_onOffline','file','listCollaborators','getSnapshotAPIPath','HttpExport','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_commentUpdate$','concat','JOIN_ROOM_NOT_EXISTS','connection\x20error','Base64','objectActions','NOT_FOUND','resend','hasOwnProperty','Encryptor','_replayCachedMutations','textRanges','onSendChangeset','CHANGESET_SHOULD_RETRY','mixIn','url','_updateLocalCache','getLatestCsReqIdBySid','_retryCount','image/jpeg','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','deleteCollaborator','pipe','pending','objectID','BlockCipher','socket$','setConfig','_startTelemetryCollaborationNewChangeset','SOCKET_FAILED_RETRY','_awaitingChangeset','rev','unitId','snapshot','_getCurrentRevision','isPermissionRej','_createHandler','_onRecvEvent','_DEC_XFORM_MODE','1452483buJtex','onStarting','liveShareOperation','_getAPIPrefixPath','getMember','saveSnapshot','FETCH_MISSING','data','_createSocket','RETRY_CONNECTING_MAX_COUNT','_unlockTransition','post','PERSON','_collaborationPaused','INTERNAL_ERROR','localCacheService','liveShareNewHost','getValue','failed\x20to\x20apply\x20missed\x20changesets!','_initUnitPermissionChange','getRandomValues','_scheduleCompleteTimestamp','ERROR_EXCEED_SIZE','saveSheetBlock','finalize','/resources','action','[PendingState]:\x20unhandled\x20univer\x20type:\x20','randomUUID','_xformMode','_onFetchMissResult','pad','href','apply','INGEST','retryConnectingInterval','fromCharCode','next','/-/object/list','image/bmp','SHA1','result','_initCloseConn','routeKey','OpenSSL','_retryConnectingTimer','parse','every','debug','authzUrl','execute','collaboration-client.local-cache-service','_getSessionTicket','enableOfflineEditing','shouldCloseConn','_acknowledgedAwaitingChangeset','kdf','_transformStack','onTransformIME','originalMeta','session','_sendHeartbeat','forEach','_sessions','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onTransformState','21769rLVInU','_resendTimeout','FETCH_MISS','function','sessionStatus','_transitionLocked','refreshPermission','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity','algo','FileId','LOCAL_CACHE_INTERVAL','_socket','_sendHeartbeatTimer','_initMergeInterceptor','/universer-api/authz','getUnitOnRev','addImageSourceCache','_loadDoc','_queuedRemoteChangesets','_submitChangeset','memberID','_entities','avatar','_getLoginPath','TOO_MANY_REQUESTS','APPLY_PERMISSION_DENIED','USERS_LEAVE','_localeService','_nRounds','socket\x20open.','_iKey','closeSession','_sendingTimer','eventID','?size=','members$','_onConnectionOpen','[SyncedState]:\x20received\x20rejection.','_startCollaboration','resourceIDs','processBlock','format','OTHER_CLIENTS_EDITING','HEARTBEAT_TIMEOUT','method','ciphertext','onTransformRemoteChangesetByIMECache','_snapshotService','session.room-permission-denied','BlockCipherMode','_ENC_XFORM_MODE','splice','collaboration-client.config','transformSelections','_updateStatus','disposeWithMe','[CollaborationState]:\x20apply\x20error!','_oKey','HmacSHA1','key','_doCryptBlock','emitEvent','YUUMI_UNABLE_LOAD_URL','_imageSourceCache','UNAUTHENTICATED','sheets','LIVESHARE_OPERATION','unsubscribe','focused$','updateOfflineData','onRemoteAck','__creator','updateMember','_updateState','fromCollab','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','interceptor','rng','_pendingMutations','_loadSheet','save\x20fail\x20reason\x20is\x20','params','lib','_remoteChangesetQueue','_HTTPService','JOIN_ROOM_PERMISSION_DENIED','_init','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/allowed','UNISCRIPT_RUN','12CkeLsy','CHANGESET_REVISION_CONFILICT','_sheetTransformSelectionsService','_status$','encodeURIComponent','_tryReconnect','getCurrentUser','application/json','_createInitialState','3pZPTzI','createSocket','[OfflineState]:\x20received\x20acknowledgement.','56710WTtpoL','_hasher','_isPermissionRej','OPTIONAL','StreamCipher','putCollaborators','/object/','COLLAB_SUBMIT_CHANGESET_URL','BufferedBlockAlgorithm','CLOSE_ROOM','_onUserLeave','_append','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','PSEUDO_FETCH_MISSING_RESULT','_roomMembers','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_transformService','selections','APPLY_DUPLICATED','values','resolve','OFFLINE','getSheetBlock','AES','objectType','PasswordBasedCipher','_socketReady','entityInit$','6HUrtqL','_transformIMECache','code','put','_substituteUndoStack','toggleOffline','USERS_ENTER','telemetry\x20info\x20is\x20not\x20initialized','69318XoMGFl','_change$','add','getCurrentRevOfUnit','uploadFileServerUrl','from','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','removeMember','_onRemoteACK','LIVESHARE_REQUEST_HOST','getOwnPropertyDescriptor','collabSubmitChangesetUrl','_lockTransition','SOCKET_FAILED','unitId\x20is\x20not\x20found','_unitInfo$','\x20to\x20','8059142hkyQsX','HELLO','patch','_removeRoom','_clearCollaborationTimeoutTimer','_memberService','encryptBlock','get','_syncEditingCollabCursor','decryptBlock','_doFinalize','sessionStatus$','onlyLocal','UNDEFINED','_http','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','updatePermissionPoint','__esModule','UUID','open$','roles','enableSingleActiveInstanceLock','_map','&to=','_roomCreated$','univer-pro.collaboration-client-socket-service','{fileID}','saveImage','MSG_FOR_ERROR','HEARTBEAT','[CollaborationEntity]','NoPadding','POST','pauseCollaboration','_joinRoom','getWorkbookSelections','SNAPSHOT_INVALID_SNAPSHOT','revision','onload','cfg','Base','clear','$super','clamp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','target','1120ZkmJDc','_checkMissing','EvpKDF','unit-cache-','sigBytes','getUnitType','charCodeAt','onMissedChangesetFetched','_changesetSessionId','localeService','startTime','words','loadDoc','incrementRevOfUnit'];_0x1977=function(){return _0x5c476b;};return _0x1977();}function Ai(){var _0x29ee04=_0x4b7416;return ri||(ri=0x1,function(_0x4c6379,_0x3a8996){(function(_0x3ab1cf,_0x5260f1,_0x38ed39){var _0x3d6831=_0x1bf9;_0x4c6379[_0x3d6831(0x2c6)]=_0x5260f1(ne(),Ui());}(Fr,function(_0x19331f){var _0x339836=_0x1bf9;_0x19331f[_0x339836(0x229)][_0x339836(0x374)]||function(_0x172437){var _0x23d5ca=_0x339836,_0x564ff7=_0x19331f,_0x163cd8=_0x564ff7['lib'],_0x5bee73=_0x163cd8[_0x23d5ca(0x29a)],_0x5ac222=_0x163cd8['WordArray'],_0x3149b0=_0x163cd8[_0x23d5ca(0x245)],_0x4a61bb=_0x564ff7[_0x23d5ca(0x3f1)];_0x4a61bb[_0x23d5ca(0x2c1)];var _0x445498=_0x4a61bb[_0x23d5ca(0x170)],_0x599016=_0x564ff7[_0x23d5ca(0x1de)],_0x49a884=_0x599016[_0x23d5ca(0x2a2)],_0x19acaf=_0x163cd8[_0x23d5ca(0x374)]=_0x3149b0[_0x23d5ca(0x431)]({'cfg':_0x5bee73['extend'](),'createEncryptor':function(_0x5e86f4,_0x3761cd){var _0x4bdaee=_0x23d5ca;return this[_0x4bdaee(0x319)](this[_0x4bdaee(0x208)],_0x5e86f4,_0x3761cd);},'createDecryptor':function(_0x258832,_0x5c2be3){var _0x47d47c=_0x23d5ca;return this['create'](this[_0x47d47c(0x192)],_0x258832,_0x5c2be3);},'init':function(_0x58e040,_0x5a7d6e,_0xc58550){var _0x48f176=_0x23d5ca;this['cfg']=this[_0x48f176(0x299)][_0x48f176(0x431)](_0xc58550),this[_0x48f176(0x1b0)]=_0x58e040,this[_0x48f176(0x41c)]=_0x5a7d6e,this[_0x48f176(0x366)]();},'reset':function(){var _0x1e34f6=_0x23d5ca;_0x3149b0['reset'][_0x1e34f6(0x3f8)](this),this['_doReset']();},'process':function(_0x1e6900){var _0x3fede8=_0x23d5ca;return this[_0x3fede8(0x248)](_0x1e6900),this['_process']();},'finalize':function(_0x1cfafa){var _0x13b2a4=_0x23d5ca;_0x1cfafa&&this['_append'](_0x1cfafa);var _0x563ca7=this[_0x13b2a4(0x27c)]();return _0x563ca7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1ea5f8(_0x756dcc){var _0x43cf19=_0x1bf9;return typeof _0x756dcc==_0x43cf19(0x2f8)?_0x2d1d6e:_0x345ded;}return function(_0x1980df){return{'encrypt':function(_0x93ee3f,_0x4d2930,_0x3346c8){return _0x1ea5f8(_0x4d2930)['encrypt'](_0x1980df,_0x93ee3f,_0x4d2930,_0x3346c8);},'decrypt':function(_0x3d9b4b,_0x83f43b,_0x175f5c){var _0x27cf76=_0x1bf9;return _0x1ea5f8(_0x83f43b)[_0x27cf76(0x312)](_0x1980df,_0x3d9b4b,_0x83f43b,_0x175f5c);}};};}())});_0x163cd8[_0x23d5ca(0x241)]=_0x19acaf[_0x23d5ca(0x431)]({'_doFinalize':function(){var _0x1d413c=_0x23d5ca,_0x1f3134=this[_0x1d413c(0x15f)](!0x0);return _0x1f3134;},'blockSize':0x1});var _0x54eea3=_0x564ff7['mode']={},_0x127f78=_0x163cd8[_0x23d5ca(0x207)]=_0x5bee73[_0x23d5ca(0x431)]({'createEncryptor':function(_0x4c5aab,_0x56d0e7){var _0x580bdc=_0x23d5ca;return this['Encryptor'][_0x580bdc(0x319)](_0x4c5aab,_0x56d0e7);},'createDecryptor':function(_0x1b14b5,_0x330275){var _0x371f05=_0x23d5ca;return this['Decryptor'][_0x371f05(0x319)](_0x1b14b5,_0x330275);},'init':function(_0x2054c8,_0x592158){var _0x20ab40=_0x23d5ca;this[_0x20ab40(0x368)]=_0x2054c8,this[_0x20ab40(0x39e)]=_0x592158;}}),_0x5bb716=_0x54eea3[_0x23d5ca(0x161)]=(function(){var _0x2fc47a=_0x23d5ca,_0x22bfd5=_0x127f78[_0x2fc47a(0x431)]();_0x22bfd5[_0x2fc47a(0x175)]=_0x22bfd5['extend']({'processBlock':function(_0x25252e,_0x2fe4c5){var _0x23f881=_0x2fc47a,_0x169276=this[_0x23f881(0x368)],_0x335b34=_0x169276[_0x23f881(0x370)];_0xf6d3e6[_0x23f881(0x3f8)](this,_0x25252e,_0x2fe4c5,_0x335b34),_0x169276[_0x23f881(0x278)](_0x25252e,_0x2fe4c5),this['_prevBlock']=_0x25252e['slice'](_0x2fe4c5,_0x2fe4c5+_0x335b34);}}),_0x22bfd5[_0x2fc47a(0x2e3)]=_0x22bfd5[_0x2fc47a(0x431)]({'processBlock':function(_0xf6b832,_0x42b0ec){var _0x25edaf=_0x2fc47a,_0x3605fc=this[_0x25edaf(0x368)],_0x596623=_0x3605fc[_0x25edaf(0x370)],_0x90c797=_0xf6b832[_0x25edaf(0x367)](_0x42b0ec,_0x42b0ec+_0x596623);_0x3605fc[_0x25edaf(0x27b)](_0xf6b832,_0x42b0ec),_0xf6d3e6[_0x25edaf(0x3f8)](this,_0xf6b832,_0x42b0ec,_0x596623),this[_0x25edaf(0x3cf)]=_0x90c797;}});function _0xf6d3e6(_0x3302f5,_0x39ca42,_0x3103ea){var _0x1a8441=_0x2fc47a,_0x496e23,_0x156dcf=this[_0x1a8441(0x39e)];_0x156dcf?(_0x496e23=_0x156dcf,this[_0x1a8441(0x39e)]=_0x172437):_0x496e23=this[_0x1a8441(0x3cf)];for(var _0x236e9c=0x0;_0x236e9c<_0x3103ea;_0x236e9c++)_0x3302f5[_0x39ca42+_0x236e9c]^=_0x496e23[_0x236e9c];}return _0x22bfd5;}()),_0x3f2a14=_0x564ff7[_0x23d5ca(0x1b2)]={},_0x2599e3=_0x3f2a14[_0x23d5ca(0x425)]={'pad':function(_0x1847e9,_0xecf8cd){var _0x40a74a=_0x23d5ca;for(var _0x49c764=_0xecf8cd*0x4,_0x8bf3bc=_0x49c764-_0x1847e9['sigBytes']%_0x49c764,_0x52c8bc=_0x8bf3bc<<0x18|_0x8bf3bc<<0x10|_0x8bf3bc<<0x8|_0x8bf3bc,_0x25dd54=[],_0x5c0326=0x0;_0x5c0326<_0x8bf3bc;_0x5c0326+=0x4)_0x25dd54[_0x40a74a(0x2fa)](_0x52c8bc);var _0xf0f3d4=_0x5ac222[_0x40a74a(0x319)](_0x25dd54,_0x8bf3bc);_0x1847e9[_0x40a74a(0x16d)](_0xf0f3d4);},'unpad':function(_0x1ca031){var _0x269141=_0x23d5ca,_0x5572af=_0x1ca031[_0x269141(0x2ab)][_0x1ca031[_0x269141(0x2a4)]-0x1>>>0x2]&0xff;_0x1ca031[_0x269141(0x2a4)]-=_0x5572af;}};_0x163cd8[_0x23d5ca(0x185)]=_0x19acaf[_0x23d5ca(0x431)]({'cfg':_0x19acaf[_0x23d5ca(0x299)][_0x23d5ca(0x431)]({'mode':_0x5bb716,'padding':_0x2599e3}),'reset':function(){var _0x5145c2=_0x23d5ca,_0x53e18e;_0x19acaf['reset'][_0x5145c2(0x3f8)](this);var _0x366c95=this[_0x5145c2(0x299)],_0x42c674=_0x366c95['iv'],_0x59dc20=_0x366c95['mode'];this[_0x5145c2(0x1b0)]==this[_0x5145c2(0x208)]?_0x53e18e=_0x59dc20[_0x5145c2(0x37e)]:(_0x53e18e=_0x59dc20['createDecryptor'],this[_0x5145c2(0x3ef)]=0x1),this[_0x5145c2(0x3b6)]&&this[_0x5145c2(0x3b6)][_0x5145c2(0x21d)]==_0x53e18e?this[_0x5145c2(0x3b6)][_0x5145c2(0x390)](this,_0x42c674&&_0x42c674[_0x5145c2(0x2ab)]):(this[_0x5145c2(0x3b6)]=_0x53e18e[_0x5145c2(0x3f8)](_0x59dc20,this,_0x42c674&&_0x42c674[_0x5145c2(0x2ab)]),this[_0x5145c2(0x3b6)][_0x5145c2(0x21d)]=_0x53e18e);},'_doProcessBlock':function(_0xf54fc2,_0x13b650){var _0x1001d0=_0x23d5ca;this[_0x1001d0(0x3b6)][_0x1001d0(0x1fe)](_0xf54fc2,_0x13b650);},'_doFinalize':function(){var _0x1f73bc=_0x23d5ca,_0x463a58,_0x47f1d4=this[_0x1f73bc(0x299)][_0x1f73bc(0x401)];return this[_0x1f73bc(0x1b0)]==this[_0x1f73bc(0x208)]?(_0x47f1d4[_0x1f73bc(0x1b2)](this['_data'],this[_0x1f73bc(0x370)]),_0x463a58=this[_0x1f73bc(0x15f)](!0x0)):(_0x463a58=this[_0x1f73bc(0x15f)](!0x0),_0x47f1d4[_0x1f73bc(0x38b)](_0x463a58)),_0x463a58;},'blockSize':0x80/0x20});var _0x33d420=_0x163cd8['CipherParams']=_0x5bee73[_0x23d5ca(0x431)]({'init':function(_0xb8c2a2){var _0x100f0a=_0x23d5ca;this[_0x100f0a(0x17a)](_0xb8c2a2);},'toString':function(_0x309bf0){var _0xcdd3d3=_0x23d5ca;return(_0x309bf0||this['formatter'])[_0xcdd3d3(0x418)](this);}}),_0x3ad951=_0x564ff7['format']={},_0x1ad4e5=_0x3ad951[_0x23d5ca(0x1bf)]={'stringify':function(_0x2c7411){var _0x565e8f=_0x23d5ca,_0x57f423,_0xd3024e=_0x2c7411['ciphertext'],_0x3c08dd=_0x2c7411[_0x565e8f(0x3b3)];return _0x3c08dd?_0x57f423=_0x5ac222[_0x565e8f(0x319)]([0x53616c74,0x65645f5f])['concat'](_0x3c08dd)[_0x565e8f(0x16d)](_0xd3024e):_0x57f423=_0xd3024e,_0x57f423[_0x565e8f(0x148)](_0x445498);},'parse':function(_0x175a80){var _0x5b5827=_0x23d5ca,_0x15a0be,_0xdb937c=_0x445498['parse'](_0x175a80),_0x11e574=_0xdb937c[_0x5b5827(0x2ab)];return _0x11e574[0x0]==0x53616c74&&_0x11e574[0x1]==0x65645f5f&&(_0x15a0be=_0x5ac222['create'](_0x11e574[_0x5b5827(0x367)](0x2,0x4)),_0x11e574[_0x5b5827(0x209)](0x0,0x4),_0xdb937c[_0x5b5827(0x2a4)]-=0x10),_0x33d420[_0x5b5827(0x319)]({'ciphertext':_0xdb937c,'salt':_0x15a0be});}},_0x345ded=_0x163cd8[_0x23d5ca(0x2c7)]=_0x5bee73[_0x23d5ca(0x431)]({'cfg':_0x5bee73[_0x23d5ca(0x431)]({'format':_0x1ad4e5}),'encrypt':function(_0x1ed328,_0x2e2fd6,_0x31ea9b,_0x34a386){var _0x52433a=_0x23d5ca;_0x34a386=this[_0x52433a(0x299)][_0x52433a(0x431)](_0x34a386);var _0x56395b=_0x1ed328[_0x52433a(0x37e)](_0x31ea9b,_0x34a386),_0xcb8614=_0x56395b[_0x52433a(0x1ab)](_0x2e2fd6),_0x5c0e5d=_0x56395b[_0x52433a(0x299)];return _0x33d420['create']({'ciphertext':_0xcb8614,'key':_0x31ea9b,'iv':_0x5c0e5d['iv'],'algorithm':_0x1ed328,'mode':_0x5c0e5d['mode'],'padding':_0x5c0e5d[_0x52433a(0x401)],'blockSize':_0x1ed328[_0x52433a(0x370)],'formatter':_0x34a386[_0x52433a(0x1ff)]});},'decrypt':function(_0x9aa25,_0x3d19e1,_0x4f7e12,_0x4ea4e1){var _0x233114=_0x23d5ca;_0x4ea4e1=this[_0x233114(0x299)][_0x233114(0x431)](_0x4ea4e1),_0x3d19e1=this['_parse'](_0x3d19e1,_0x4ea4e1[_0x233114(0x1ff)]);var _0x1f2355=_0x9aa25[_0x233114(0x2d7)](_0x4f7e12,_0x4ea4e1)[_0x233114(0x1ab)](_0x3d19e1[_0x233114(0x203)]);return _0x1f2355;},'_parse':function(_0x216012,_0x544c32){var _0x470379=_0x23d5ca;return typeof _0x216012==_0x470379(0x2f8)?_0x544c32[_0x470379(0x1c1)](_0x216012,this):_0x216012;}}),_0x56a193=_0x564ff7[_0x23d5ca(0x1cb)]={},_0x5b2db8=_0x56a193['OpenSSL']={'execute':function(_0x42ce29,_0x53cc19,_0x1b25ce,_0xe00eac,_0x12df6c){var _0x47e090=_0x23d5ca;if(_0xe00eac||(_0xe00eac=_0x5ac222[_0x47e090(0x426)](0x40/0x8)),_0x12df6c)var _0xfa4dc3=_0x49a884[_0x47e090(0x319)]({'keySize':_0x53cc19+_0x1b25ce,'hasher':_0x12df6c})['compute'](_0x42ce29,_0xe00eac);else var _0xfa4dc3=_0x49a884[_0x47e090(0x319)]({'keySize':_0x53cc19+_0x1b25ce})[_0x47e090(0x31a)](_0x42ce29,_0xe00eac);var _0xf4c901=_0x5ac222[_0x47e090(0x319)](_0xfa4dc3['words'][_0x47e090(0x367)](_0x53cc19),_0x1b25ce*0x4);return _0xfa4dc3['sigBytes']=_0x53cc19*0x4,_0x33d420[_0x47e090(0x319)]({'key':_0xfa4dc3,'iv':_0xf4c901,'salt':_0xe00eac});}},_0x2d1d6e=_0x163cd8[_0x23d5ca(0x256)]=_0x345ded[_0x23d5ca(0x431)]({'cfg':_0x345ded['cfg'][_0x23d5ca(0x431)]({'kdf':_0x5b2db8}),'encrypt':function(_0x1cc652,_0x473a05,_0x4dac77,_0x48c195){var _0x2a84ea=_0x23d5ca;_0x48c195=this[_0x2a84ea(0x299)][_0x2a84ea(0x431)](_0x48c195);var _0x3179e4=_0x48c195[_0x2a84ea(0x1cb)][_0x2a84ea(0x1c5)](_0x4dac77,_0x1cc652[_0x2a84ea(0x375)],_0x1cc652['ivSize'],_0x48c195['salt'],_0x48c195['hasher']);_0x48c195['iv']=_0x3179e4['iv'];var _0x36f162=_0x345ded[_0x2a84ea(0x3ff)][_0x2a84ea(0x3f8)](this,_0x1cc652,_0x473a05,_0x3179e4[_0x2a84ea(0x211)],_0x48c195);return _0x36f162['mixIn'](_0x3179e4),_0x36f162;},'decrypt':function(_0x58a15e,_0x228cf8,_0x5d2fc2,_0x328d30){var _0x1024cd=_0x23d5ca;_0x328d30=this['cfg'][_0x1024cd(0x431)](_0x328d30),_0x228cf8=this['_parse'](_0x228cf8,_0x328d30[_0x1024cd(0x1ff)]);var _0x3ea92a=_0x328d30[_0x1024cd(0x1cb)]['execute'](_0x5d2fc2,_0x58a15e[_0x1024cd(0x375)],_0x58a15e[_0x1024cd(0x15b)],_0x228cf8[_0x1024cd(0x3b3)],_0x328d30[_0x1024cd(0x306)]);_0x328d30['iv']=_0x3ea92a['iv'];var _0x161f56=_0x345ded[_0x1024cd(0x312)][_0x1024cd(0x3f8)](this,_0x58a15e,_0x228cf8,_0x3ea92a[_0x1024cd(0x211)],_0x328d30);return _0x161f56;}});}();}));}(Je)),Je[_0x29ee04(0x2c6)];}var Vr=Ve[_0x4b7416(0x2c6)],si;function Gr(){return si||(si=0x1,function(_0x425c48,_0x2f9d45){(function(_0x1b31b7,_0x42c91b,_0x18b25d){var _0x5f1b4d=_0x1bf9;_0x425c48[_0x5f1b4d(0x2c6)]=_0x42c91b(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x274069){return(function(){var _0x6bb6ad=_0x1bf9,_0x268a77=_0x274069,_0x50c741=_0x268a77[_0x6bb6ad(0x229)],_0x1c96a8=_0x50c741['BlockCipher'],_0x87ce2c=_0x268a77[_0x6bb6ad(0x1de)],_0x17c15c=[],_0x26e882=[],_0x53ace2=[],_0xafc586=[],_0x14173a=[],_0x5c016d=[],_0x1491ca=[],_0x4ca0f4=[],_0x2a5d81=[],_0x19bbfc=[];(function(){for(var _0x538bc5=[],_0x308fd2=0x0;_0x308fd2<0x100;_0x308fd2++)_0x308fd2<0x80?_0x538bc5[_0x308fd2]=_0x308fd2<<0x1:_0x538bc5[_0x308fd2]=_0x308fd2<<0x1^0x11b;for(var _0x145f06=0x0,_0x13a211=0x0,_0x308fd2=0x0;_0x308fd2<0x100;_0x308fd2++){var _0x134724=_0x13a211^_0x13a211<<0x1^_0x13a211<<0x2^_0x13a211<<0x3^_0x13a211<<0x4;_0x134724=_0x134724>>>0x8^_0x134724&0xff^0x63,_0x17c15c[_0x145f06]=_0x134724,_0x26e882[_0x134724]=_0x145f06;var _0x59f654=_0x538bc5[_0x145f06],_0x3a8ff2=_0x538bc5[_0x59f654],_0x5b3db6=_0x538bc5[_0x3a8ff2],_0x38d5cb=_0x538bc5[_0x134724]*0x101^_0x134724*0x1010100;_0x53ace2[_0x145f06]=_0x38d5cb<<0x18|_0x38d5cb>>>0x8,_0xafc586[_0x145f06]=_0x38d5cb<<0x10|_0x38d5cb>>>0x10,_0x14173a[_0x145f06]=_0x38d5cb<<0x8|_0x38d5cb>>>0x18,_0x5c016d[_0x145f06]=_0x38d5cb;var _0x38d5cb=_0x5b3db6*0x1010101^_0x3a8ff2*0x10001^_0x59f654*0x101^_0x145f06*0x1010100;_0x1491ca[_0x134724]=_0x38d5cb<<0x18|_0x38d5cb>>>0x8,_0x4ca0f4[_0x134724]=_0x38d5cb<<0x10|_0x38d5cb>>>0x10,_0x2a5d81[_0x134724]=_0x38d5cb<<0x8|_0x38d5cb>>>0x18,_0x19bbfc[_0x134724]=_0x38d5cb,_0x145f06?(_0x145f06=_0x59f654^_0x538bc5[_0x538bc5[_0x538bc5[_0x5b3db6^_0x59f654]]],_0x13a211^=_0x538bc5[_0x538bc5[_0x13a211]]):_0x145f06=_0x13a211=0x1;}}());var _0x376bb3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14045c=_0x87ce2c[_0x6bb6ad(0x254)]=_0x1c96a8[_0x6bb6ad(0x431)]({'_doReset':function(){var _0x5c05b4=_0x6bb6ad,_0x58578b;if(!(this[_0x5c05b4(0x1f2)]&&this[_0x5c05b4(0x3c7)]===this[_0x5c05b4(0x41c)])){for(var _0x256815=this[_0x5c05b4(0x3c7)]=this[_0x5c05b4(0x41c)],_0x2e75fc=_0x256815[_0x5c05b4(0x2ab)],_0x37f85e=_0x256815['sigBytes']/0x4,_0x24a13f=this['_nRounds']=_0x37f85e+0x6,_0x36e89e=(_0x24a13f+0x1)*0x4,_0x2bd718=this[_0x5c05b4(0x42e)]=[],_0x8446fa=0x0;_0x8446fa<_0x36e89e;_0x8446fa++)_0x8446fa<_0x37f85e?_0x2bd718[_0x8446fa]=_0x2e75fc[_0x8446fa]:(_0x58578b=_0x2bd718[_0x8446fa-0x1],_0x8446fa%_0x37f85e?_0x37f85e>0x6&&_0x8446fa%_0x37f85e==0x4&&(_0x58578b=_0x17c15c[_0x58578b>>>0x18]<<0x18|_0x17c15c[_0x58578b>>>0x10&0xff]<<0x10|_0x17c15c[_0x58578b>>>0x8&0xff]<<0x8|_0x17c15c[_0x58578b&0xff]):(_0x58578b=_0x58578b<<0x8|_0x58578b>>>0x18,_0x58578b=_0x17c15c[_0x58578b>>>0x18]<<0x18|_0x17c15c[_0x58578b>>>0x10&0xff]<<0x10|_0x17c15c[_0x58578b>>>0x8&0xff]<<0x8|_0x17c15c[_0x58578b&0xff],_0x58578b^=_0x376bb3[_0x8446fa/_0x37f85e|0x0]<<0x18),_0x2bd718[_0x8446fa]=_0x2bd718[_0x8446fa-_0x37f85e]^_0x58578b);for(var _0x56001c=this[_0x5c05b4(0x3ec)]=[],_0x7b6acf=0x0;_0x7b6acf<_0x36e89e;_0x7b6acf++){var _0x8446fa=_0x36e89e-_0x7b6acf;if(_0x7b6acf%0x4)var _0x58578b=_0x2bd718[_0x8446fa];else var _0x58578b=_0x2bd718[_0x8446fa-0x4];_0x7b6acf<0x4||_0x8446fa<=0x4?_0x56001c[_0x7b6acf]=_0x58578b:_0x56001c[_0x7b6acf]=_0x1491ca[_0x17c15c[_0x58578b>>>0x18]]^_0x4ca0f4[_0x17c15c[_0x58578b>>>0x10&0xff]]^_0x2a5d81[_0x17c15c[_0x58578b>>>0x8&0xff]]^_0x19bbfc[_0x17c15c[_0x58578b&0xff]];}}},'encryptBlock':function(_0x456180,_0xf52e70){var _0x57cc54=_0x6bb6ad;this[_0x57cc54(0x212)](_0x456180,_0xf52e70,this['_keySchedule'],_0x53ace2,_0xafc586,_0x14173a,_0x5c016d,_0x17c15c);},'decryptBlock':function(_0xe1b2cb,_0x177454){var _0x1ddb46=_0x6bb6ad,_0x184319=_0xe1b2cb[_0x177454+0x1];_0xe1b2cb[_0x177454+0x1]=_0xe1b2cb[_0x177454+0x3],_0xe1b2cb[_0x177454+0x3]=_0x184319,this[_0x1ddb46(0x212)](_0xe1b2cb,_0x177454,this[_0x1ddb46(0x3ec)],_0x1491ca,_0x4ca0f4,_0x2a5d81,_0x19bbfc,_0x26e882);var _0x184319=_0xe1b2cb[_0x177454+0x1];_0xe1b2cb[_0x177454+0x1]=_0xe1b2cb[_0x177454+0x3],_0xe1b2cb[_0x177454+0x3]=_0x184319;},'_doCryptBlock':function(_0x4c3aa1,_0x5b7712,_0x1a24a0,_0x4eda37,_0xbb664e,_0x4700cf,_0x548678,_0x86e8a2){var _0x3e3313=_0x6bb6ad;for(var _0x167fb2=this[_0x3e3313(0x1f2)],_0x2514be=_0x4c3aa1[_0x5b7712]^_0x1a24a0[0x0],_0x5aa3ee=_0x4c3aa1[_0x5b7712+0x1]^_0x1a24a0[0x1],_0x5a44f2=_0x4c3aa1[_0x5b7712+0x2]^_0x1a24a0[0x2],_0x144321=_0x4c3aa1[_0x5b7712+0x3]^_0x1a24a0[0x3],_0x1615dc=0x4,_0x3814f8=0x1;_0x3814f8<_0x167fb2;_0x3814f8++){var _0x55a742=_0x4eda37[_0x2514be>>>0x18]^_0xbb664e[_0x5aa3ee>>>0x10&0xff]^_0x4700cf[_0x5a44f2>>>0x8&0xff]^_0x548678[_0x144321&0xff]^_0x1a24a0[_0x1615dc++],_0x3b2507=_0x4eda37[_0x5aa3ee>>>0x18]^_0xbb664e[_0x5a44f2>>>0x10&0xff]^_0x4700cf[_0x144321>>>0x8&0xff]^_0x548678[_0x2514be&0xff]^_0x1a24a0[_0x1615dc++],_0x205068=_0x4eda37[_0x5a44f2>>>0x18]^_0xbb664e[_0x144321>>>0x10&0xff]^_0x4700cf[_0x2514be>>>0x8&0xff]^_0x548678[_0x5aa3ee&0xff]^_0x1a24a0[_0x1615dc++],_0x1667f4=_0x4eda37[_0x144321>>>0x18]^_0xbb664e[_0x2514be>>>0x10&0xff]^_0x4700cf[_0x5aa3ee>>>0x8&0xff]^_0x548678[_0x5a44f2&0xff]^_0x1a24a0[_0x1615dc++];_0x2514be=_0x55a742,_0x5aa3ee=_0x3b2507,_0x5a44f2=_0x205068,_0x144321=_0x1667f4;}var _0x55a742=(_0x86e8a2[_0x2514be>>>0x18]<<0x18|_0x86e8a2[_0x5aa3ee>>>0x10&0xff]<<0x10|_0x86e8a2[_0x5a44f2>>>0x8&0xff]<<0x8|_0x86e8a2[_0x144321&0xff])^_0x1a24a0[_0x1615dc++],_0x3b2507=(_0x86e8a2[_0x5aa3ee>>>0x18]<<0x18|_0x86e8a2[_0x5a44f2>>>0x10&0xff]<<0x10|_0x86e8a2[_0x144321>>>0x8&0xff]<<0x8|_0x86e8a2[_0x2514be&0xff])^_0x1a24a0[_0x1615dc++],_0x205068=(_0x86e8a2[_0x5a44f2>>>0x18]<<0x18|_0x86e8a2[_0x144321>>>0x10&0xff]<<0x10|_0x86e8a2[_0x2514be>>>0x8&0xff]<<0x8|_0x86e8a2[_0x5aa3ee&0xff])^_0x1a24a0[_0x1615dc++],_0x1667f4=(_0x86e8a2[_0x144321>>>0x18]<<0x18|_0x86e8a2[_0x2514be>>>0x10&0xff]<<0x10|_0x86e8a2[_0x5aa3ee>>>0x8&0xff]<<0x8|_0x86e8a2[_0x5a44f2&0xff])^_0x1a24a0[_0x1615dc++];_0x4c3aa1[_0x5b7712]=_0x55a742,_0x4c3aa1[_0x5b7712+0x1]=_0x3b2507,_0x4c3aa1[_0x5b7712+0x2]=_0x205068,_0x4c3aa1[_0x5b7712+0x3]=_0x1667f4;},'keySize':0x100/0x20});_0x268a77[_0x6bb6ad(0x254)]=_0x1c96a8[_0x6bb6ad(0x38c)](_0x14045c);}()),_0x274069['AES'];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x4b7416(0x2c6)],ai;function zr(){var _0x199ca9=_0x4b7416;return ai||(ai=0x1,function(_0x4e92ba,_0x327402){(function(_0x41d516,_0x45afc2){_0x4e92ba['exports']=_0x45afc2(ne());}(qr,function(_0x58f076){var _0x241530=_0x1bf9;return _0x58f076[_0x241530(0x3f1)][_0x241530(0x2c1)];}));}(Xe)),Xe[_0x199ca9(0x2c6)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x4b7416(0x2c6)],ci;function Qr(){return ci||(ci=0x1,function(_0x2a4485,_0x3f319f){(function(_0x51fda5,_0x1ca5e2){_0x2a4485['exports']=_0x1ca5e2(ne());}(Zr,function(_0x3dd848){var _0x583137=_0x1bf9;return(function(){var _0x468f0b=_0x1bf9;if(typeof ArrayBuffer=='function'){var _0x4b6755=_0x3dd848,_0x1c8415=_0x4b6755[_0x468f0b(0x229)],_0x9ad39c=_0x1c8415[_0x468f0b(0x30d)],_0x42cf7a=_0x9ad39c[_0x468f0b(0x390)],_0x362d4e=_0x9ad39c['init']=function(_0x328930){var _0x984391=_0x468f0b;if(_0x328930 instanceof ArrayBuffer&&(_0x328930=new Uint8Array(_0x328930)),(_0x328930 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x328930 instanceof Uint8ClampedArray||_0x328930 instanceof Int16Array||_0x328930 instanceof Uint16Array||_0x328930 instanceof Int32Array||_0x328930 instanceof Uint32Array||_0x328930 instanceof Float32Array||_0x328930 instanceof Float64Array)&&(_0x328930=new Uint8Array(_0x328930['buffer'],_0x328930[_0x984391(0x441)],_0x328930[_0x984391(0x343)])),_0x328930 instanceof Uint8Array){for(var _0x31caad=_0x328930['byteLength'],_0x1ec800=[],_0x326b3b=0x0;_0x326b3b<_0x31caad;_0x326b3b++)_0x1ec800[_0x326b3b>>>0x2]|=_0x328930[_0x326b3b]<<0x18-_0x326b3b%0x4*0x8;_0x42cf7a['call'](this,_0x1ec800,_0x31caad);}else _0x42cf7a[_0x984391(0x1b4)](this,arguments);};_0x362d4e[_0x468f0b(0x2b8)]=_0x9ad39c;}}()),_0x3dd848[_0x583137(0x229)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x4b7416(0x2c6)],hi;function ns(){var _0x1b56b9=_0x4b7416;return hi||(hi=0x1,function(_0x64c4be,_0x508735){(function(_0x59998b,_0xd57d41,_0x16e331){var _0x54e1af=_0x1bf9;_0x64c4be[_0x54e1af(0x2c6)]=_0xd57d41(ne(),Ai());}(is,function(_0x2dc827){var _0x39c964=_0x1bf9;return _0x2dc827['pad'][_0x39c964(0x291)]={'pad':function(){},'unpad':function(){}},_0x2dc827[_0x39c964(0x1b2)][_0x39c964(0x291)];}));}(Qe)),Qe[_0x1b56b9(0x2c6)];}var rs=ns();const ss=ke(rs);function os(_0x226569,_0x19f7e3){var _0x55568a=_0x4b7416;const _0x43d586=_0x19f7e3-_0x226569[_0x55568a(0x39c)]%_0x19f7e3,_0x4919c2=String[_0x55568a(0x1b7)](_0x43d586)[_0x55568a(0x3ed)](_0x43d586);return _0x226569+_0x4919c2;}function as(_0x24906,_0x34c746){var _0x436492=_0x4b7416;const _0x12af09=ts[_0x436492(0x426)](0x10),_0x3520b4=os(_0x24906,0x10),_0x593425=Kr[_0x436492(0x3ff)](Xr[_0x436492(0x1c1)](_0x3520b4),oi[_0x436492(0x1c1)](_0x34c746),{'iv':_0x12af09,'padding':ss});return _0x12af09[_0x436492(0x16d)](_0x593425[_0x436492(0x203)])[_0x436492(0x148)](oi);}function cs(){var _0x4f632a=_0x4b7416;const _0x15192c=_0x2be3a0()[_0x4f632a(0x3ba)];if(_0x15192c){const _0x4d08fd={'time':Math[_0x4f632a(0x41b)](Date[_0x4f632a(0x33a)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x4f632a(0x418)](_0x4d08fd),_0x15192c);}}var hs=Object['defineProperty'],_s=Object[_0x4b7416(0x26b)],ls=(_0x2ab0ac,_0x4c1c80,_0x31a8b2,_0x240bef)=>{for(var _0x3c2127=_0x240bef>0x1?void 0x0:_0x240bef?_s(_0x4c1c80,_0x31a8b2):_0x4c1c80,_0x51b779=_0x2ab0ac['length']-0x1,_0x474f78;_0x51b779>=0x0;_0x51b779--)(_0x474f78=_0x2ab0ac[_0x51b779])&&(_0x3c2127=(_0x240bef?_0x474f78(_0x4c1c80,_0x31a8b2,_0x3c2127):_0x474f78(_0x3c2127))||_0x3c2127);return _0x240bef&&_0x3c2127&&hs(_0x4c1c80,_0x31a8b2,_0x3c2127),_0x3c2127;},us=(_0x4ceba7,_0x353b1c)=>(_0x3095b3,_0x167031)=>_0x353b1c(_0x3095b3,_0x167031,_0x4ceba7);let ot=class{constructor(_0x2d0f87){var _0xa92899=_0x4b7416;this[_0xa92899(0x15a)]=_0x2d0f87,this[_0xa92899(0x310)]();}[_0x4b7416(0x310)](){var _0x1cb7c1=_0x4b7416;this['_httpService'][_0x1cb7c1(0x3c1)]({'interceptor':(_0x52a1c0,_0x588fc1)=>{var _0xa763d0=_0x1cb7c1;const _0x92aa6e=_0x52a1c0[_0xa763d0(0x3d0)],_0x47c2a8=cs();return _0x47c2a8&&_0x92aa6e[_0xa763d0(0x329)](_0xa763d0(0x413),_0x47c2a8),_0x588fc1(_0x52a1c0);}});}};ot=ls([us(0x0,_0x33e245(_0x313ce8))],ot);var ds=Object['defineProperty'],fs=Object[_0x4b7416(0x26b)],vs=(_0x5e1882,_0x9afb1f,_0x4a7cfb,_0x452388)=>{var _0x4ed0e4=_0x4b7416;for(var _0x493e1e=_0x452388>0x1?void 0x0:_0x452388?fs(_0x9afb1f,_0x4a7cfb):_0x9afb1f,_0x2ad940=_0x5e1882[_0x4ed0e4(0x39c)]-0x1,_0x226ab5;_0x2ad940>=0x0;_0x2ad940--)(_0x226ab5=_0x5e1882[_0x2ad940])&&(_0x493e1e=(_0x452388?_0x226ab5(_0x9afb1f,_0x4a7cfb,_0x493e1e):_0x226ab5(_0x493e1e))||_0x493e1e);return _0x452388&&_0x493e1e&&ds(_0x9afb1f,_0x4a7cfb,_0x493e1e),_0x493e1e;},mt=(_0x6fa583,_0x46b4a2)=>(_0x5edaec,_0x14aff2)=>_0x46b4a2(_0x5edaec,_0x14aff2,_0x6fa583);let Ot=class extends _0x1ebecf{constructor(_0x32100c,_0x1d599b,_0x4a63b3){var _0x1f4678=_0x4b7416;super(),N(this,_0x1f4678(0x270),new _0x4a0b1c(null)),N(this,_0x1f4678(0x2fc),this['_unitInfo$'][_0x1f4678(0x32c)]()),(this['_logService']=_0x32100c,this[_0x1f4678(0x205)]=_0x1d599b,this[_0x1f4678(0x341)]=_0x4a63b3);}async['loadUnit'](_0xa674c3,_0x217a09,_0x43754e){var _0x15bb8d=_0x4b7416;this[_0x15bb8d(0x270)][_0x15bb8d(0x1b8)]({'unitId':_0xa674c3,'type':_0x217a09,'subUnitId':_0x43754e});let _0x2fb482=null;switch(_0x217a09){case Q[_0x15bb8d(0x409)]:{_0x2fb482=await this[_0x15bb8d(0x226)](_0xa674c3);break;}case Q['UNIVER_DOC']:{_0x2fb482=await this['_loadDoc'](_0xa674c3);break;}default:{this['_logService'][_0x15bb8d(0x2bc)](_0x15bb8d(0x15c),_0x15bb8d(0x281));break;}}return _0x2fb482;}async[_0x4b7416(0x226)](_0x2aec2c){var _0x66ce0c=_0x4b7416,_0x42e018;let _0x4c8395=0x0;const _0x535fdd=await((_0x42e018=this[_0x66ce0c(0x341)])==null?void 0x0:_0x42e018[_0x66ce0c(0x3e8)](_0x2aec2c));return _0x535fdd&&(_0x535fdd[_0x66ce0c(0x34e)]||_0x535fdd[_0x66ce0c(0x40a)][_0x66ce0c(0x39c)]!==0x0)&&(_0x4c8395=_0x535fdd[_0x66ce0c(0x18b)]),_0x4c8395===0x0&&this[_0x66ce0c(0x38f)][_0x66ce0c(0x1c3)](_0x66ce0c(0x15c),_0x66ce0c(0x24c)),this[_0x66ce0c(0x205)][_0x66ce0c(0x304)](_0x2aec2c,_0x4c8395);}async[_0x4b7416(0x1e7)](_0x3b8886){var _0x56106e=_0x4b7416,_0x337747;let _0xd70968=0x0;const _0x4ee40d=await((_0x337747=this[_0x56106e(0x341)])==null?void 0x0:_0x337747[_0x56106e(0x3e8)](_0x3b8886));return _0x4ee40d&&(_0x4ee40d[_0x56106e(0x34e)]||_0x4ee40d[_0x56106e(0x40a)]['length']!==0x0)&&(_0xd70968=_0x4ee40d[_0x56106e(0x18b)]),_0xd70968===0x0&&this[_0x56106e(0x38f)][_0x56106e(0x1c3)](_0x56106e(0x15c),_0x56106e(0x24c)),this[_0x56106e(0x205)][_0x56106e(0x2ac)](_0x3b8886,_0xd70968);}};Ot=vs([mt(0x0,_0x46cc09),mt(0x1,_0x33e245(_0x24b93f)),mt(0x2,_0x30fb77(J))],Ot);var ps=Object[_0x4b7416(0x2cb)],ms=Object[_0x4b7416(0x26b)],gs=(_0x4f3945,_0x290f00,_0x2d0b20,_0x4ac988)=>{var _0x34b0d9=_0x4b7416;for(var _0x2eba8e=_0x4ac988>0x1?void 0x0:_0x4ac988?ms(_0x290f00,_0x2d0b20):_0x290f00,_0x20bfa0=_0x4f3945[_0x34b0d9(0x39c)]-0x1,_0x31d1ba;_0x20bfa0>=0x0;_0x20bfa0--)(_0x31d1ba=_0x4f3945[_0x20bfa0])&&(_0x2eba8e=(_0x4ac988?_0x31d1ba(_0x290f00,_0x2d0b20,_0x2eba8e):_0x31d1ba(_0x2eba8e))||_0x2eba8e);return _0x4ac988&&_0x2eba8e&&ps(_0x290f00,_0x2d0b20,_0x2eba8e),_0x2eba8e;},gt=(_0x402515,_0x20386d)=>(_0x242e3d,_0x498b48)=>_0x20386d(_0x242e3d,_0x498b48,_0x402515);const Ss=[_0x4b7416(0x3db),_0x4b7416(0x17f),_0x4b7416(0x351),_0x4b7416(0x36a),_0x4b7416(0x1ba)],Es=0x5*0x400*0x400,Is=_0x4b7416(0x22e),Ts='/universer-api/stream/file/upload',Cs=_0x4b7416(0x344),Rs=_0x4b7416(0x2b9);let yt=class{constructor(_0x10c579,_0xeebf8,_0x232fc0){var _0xa3cc7e=_0x4b7416;N(this,'_waitCount',0x0),N(this,_0xa3cc7e(0x262),new _0x9f6386()),N(this,_0xa3cc7e(0x14c),this[_0xa3cc7e(0x262)]),N(this,_0xa3cc7e(0x215),new Map()),(this[_0xa3cc7e(0x15a)]=_0x10c579,this[_0xa3cc7e(0x152)]=_0xeebf8,this[_0xa3cc7e(0x3cb)]=_0x232fc0);}[_0x4b7416(0x2de)](_0x2aac68){var _0x407f38=_0x4b7416;this[_0x407f38(0x33f)]=_0x2aac68,this[_0x407f38(0x262)]['next'](_0x2aac68);}['getImageSourceCache'](_0x401e3a,_0x2a1570){var _0x2d31ab=_0x4b7416;if(_0x2a1570===_0x5922b2[_0x2d31ab(0x3a1)]){const _0x3d61d2=new Image();return _0x3d61d2[_0x2d31ab(0x317)]=_0x401e3a,_0x3d61d2;}return this[_0x2d31ab(0x215)][_0x2d31ab(0x279)](_0x401e3a);}[_0x4b7416(0x1e6)](_0x14be41,_0x7e08da,_0x246035){var _0x533239=_0x4b7416;_0x7e08da===_0x5922b2[_0x533239(0x3a1)]||_0x246035==null||this['_imageSourceCache'][_0x533239(0x329)](_0x14be41,_0x246035);}async[_0x4b7416(0x33e)](_0x53797a){var _0x5cac95=_0x4b7416;try{const _0x4e1d9e=this[_0x5cac95(0x337)](this['_getSignURL'](),''+_0x53797a),_0x1bb582=(await this[_0x5cac95(0x15a)][_0x5cac95(0x279)](_0x4e1d9e))['body'];if(_0x1bb582[_0x5cac95(0x2bc)]&&_0x1bb582[_0x5cac95(0x2bc)]['code']===Ii['OK']){const _0x547b78=new URL(_0x1bb582[_0x5cac95(0x17b)],this[_0x5cac95(0x2e0)]())[_0x5cac95(0x148)]();return Promise[_0x5cac95(0x251)](_0x547b78);}return Promise[_0x5cac95(0x36c)](_0x1bb582[_0x5cac95(0x2bc)]);}catch(_0x15917f){return Promise['reject'](_0x15917f);}}async[_0x4b7416(0x28d)](_0x112028){var _0x213fb=_0x4b7416;let _0x1dc48b='';if(!Ss['includes'](_0x112028[_0x213fb(0x38e)]))return this[_0x213fb(0x2ed)](),Promise[_0x213fb(0x36c)](new Error(_0x5b5449['ERROR_IMAGE_TYPE']));if(_0x112028[_0x213fb(0x345)]>Es)return this[_0x213fb(0x2ed)](),Promise['reject'](new Error(_0x5b5449[_0x213fb(0x1a9)]));try{const _0x239f79=new FormData();_0x239f79['append'](_0x213fb(0x167),_0x112028);const _0x453c74=this[_0x213fb(0x3cb)][_0x213fb(0x313)](),_0x1035f1=_0x453c74==null?void 0x0:_0x453c74[_0x213fb(0x314)]();if(!_0x1035f1)throw new Error(_0x213fb(0x26f));const _0x4d1c4a=this['_getUploadFileURL']()+_0x213fb(0x1f8)+_0x112028[_0x213fb(0x345)][_0x213fb(0x148)]()+_0x213fb(0x334)+Ti['UnitEmbedded']+_0x213fb(0x2e9)+encodeURIComponent(_0x1035f1),_0x2ff0c2=await(await fetch(_0x4d1c4a,{'method':'POST','body':_0x239f79}))['json']();if(typeof _0x2ff0c2[_0x213fb(0x1df)]!='string')return this[_0x213fb(0x2ed)](),Promise[_0x213fb(0x36c)](new Error(_0x5b5449['ERROR_IMAGE']));_0x1dc48b=_0x2ff0c2[_0x213fb(0x1df)];}catch{return this[_0x213fb(0x2ed)](),Promise[_0x213fb(0x36c)](new Error(_0x5b5449['ERROR_IMAGE']));}return new Promise((_0x39b945,_0x43c609)=>{var _0x2fcad7=_0x213fb;const _0x13612a=new FileReader();_0x13612a[_0x2fcad7(0x384)](_0x112028),_0x13612a[_0x2fcad7(0x298)]=_0x4659b1=>{var _0x2e3570=_0x2fcad7,_0x56345c;const _0x4501b2=(_0x56345c=_0x4659b1[_0x2e3570(0x29f)])==null?void 0x0:_0x56345c[_0x2e3570(0x1bc)];if(_0x4501b2==null){this[_0x2e3570(0x2ed)](),_0x43c609(new Error(_0x5b5449['ERROR_IMAGE']));return;}const _0x4aa0c7=_0x12b872['generateRandomId'](0x6);_0x39b945({'imageId':_0x4aa0c7,'imageSourceType':_0x5922b2[_0x2e3570(0x284)],'source':_0x1dc48b,'base64Cache':_0x4501b2,'status':_0x5b5449[_0x2e3570(0x3fc)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x544d82=_0x4b7416,_0xa52cd2,_0x42360c;const _0x413ad8=this[_0x544d82(0x152)][_0x544d82(0x40e)](Is),_0x53fd56=this['_configService']['getConfig'](q);return(_0x42360c=(_0xa52cd2=_0x53fd56==null?void 0x0:_0x53fd56[_0x544d82(0x265)])!=null?_0xa52cd2:_0x413ad8)!=null?_0x42360c:Ts;}[_0x4b7416(0x2f2)](){var _0x2c5826=_0x4b7416,_0x1b8afb,_0x242262;const _0xd97335=this[_0x2c5826(0x152)][_0x2c5826(0x40e)](Cs),_0xb4ad46=this[_0x2c5826(0x152)][_0x2c5826(0x40e)](q);return(_0x242262=(_0x1b8afb=_0xb4ad46==null?void 0x0:_0xb4ad46['signUrlServerUrl'])!=null?_0x1b8afb:_0xd97335)!=null?_0x242262:Rs;}[_0x4b7416(0x2e0)](){var _0xc6218a=_0x4b7416,_0x50f41c;const _0x374dde=this[_0xc6218a(0x152)]['getConfig'](q);return(_0x50f41c=_0x374dde==null?void 0x0:_0x374dde['downloadEndpointUrl'])!=null?_0x50f41c:location[_0xc6218a(0x14f)];}['_replaceFileID'](_0x595704,_0x545ef2){var _0xede9e3=_0x4b7416;return _0x595704[_0xede9e3(0x324)](_0xede9e3(0x28c),_0x545ef2);}[_0x4b7416(0x2ed)](){var _0x48a47e=_0x4b7416;this['_waitCount']-=0x1,this['_change$'][_0x48a47e(0x1b8)](this[_0x48a47e(0x33f)]);}};yt=gs([gt(0x0,_0x33e245(_0x313ce8)),gt(0x1,_0x1218c6),gt(0x2,_0x33e245(_0x280bc0))],yt);var bs=Object[_0x4b7416(0x2cb)],Os=Object[_0x4b7416(0x26b)],ys=(_0x204ad2,_0x778b5a,_0x2ffaa7,_0x1fa61e)=>{var _0x341f11=_0x4b7416;for(var _0x3ad7fe=_0x1fa61e>0x1?void 0x0:_0x1fa61e?Os(_0x778b5a,_0x2ffaa7):_0x778b5a,_0x3d1b27=_0x204ad2[_0x341f11(0x39c)]-0x1,_0x55c27a;_0x3d1b27>=0x0;_0x3d1b27--)(_0x55c27a=_0x204ad2[_0x3d1b27])&&(_0x3ad7fe=(_0x1fa61e?_0x55c27a(_0x778b5a,_0x2ffaa7,_0x3ad7fe):_0x55c27a(_0x3ad7fe))||_0x3ad7fe);return _0x1fa61e&&_0x3ad7fe&&bs(_0x778b5a,_0x2ffaa7,_0x3ad7fe),_0x3ad7fe;},_i=(_0x29f25e,_0x1a9068)=>(_0x2a5d46,_0x28dc2a)=>_0x1a9068(_0x2a5d46,_0x28dc2a,_0x29f25e);const Ns='/universer-api/authz';let Nt=class{constructor(_0x53ad82,_0x41ec26){var _0x21758d=_0x4b7416;this['_configService']=_0x53ad82,this[_0x21758d(0x22b)]=_0x41ec26;}[_0x4b7416(0x196)](){var _0x58e504=_0x4b7416,_0x79728,_0x378733;const _0x2bdfd2=this[_0x58e504(0x152)][_0x58e504(0x40e)](Pi),_0x31c4ae=this['_configService'][_0x58e504(0x40e)](q);return(_0x378733=(_0x79728=_0x31c4ae==null?void 0x0:_0x31c4ae[_0x58e504(0x1c4)])!=null?_0x79728:_0x2bdfd2)!=null?_0x378733:Ns;}async[_0x4b7416(0x2f4)](_0x369e01){var _0x1b339c=_0x4b7416;const _0x149b5c=this[_0x1b339c(0x196)]()+_0x1b339c(0x2e8);return{'list':[{'title':_0x1b339c(0x43b),'mentions':(await this[_0x1b339c(0x22b)][_0x1b339c(0x279)](_0x149b5c,{'params':{'objectID':_0x369e01[_0x1b339c(0x18c)],'unitID':_0x369e01[_0x1b339c(0x18c)]}}))['body'][_0x1b339c(0x3ad)]['map'](_0x553c63=>({'objectId':_0x553c63['id'],'name':_0x553c63[_0x1b339c(0x3ee)][_0x1b339c(0x39b)],'metadata':{'icon':_0x553c63[_0x1b339c(0x3ee)][_0x1b339c(0x1ec)]},'label':_0x553c63['subject'][_0x1b339c(0x39b)],'objectType':_0x45c7b6['PERSON']})),'metadata':{},'type':_0x45c7b6[_0x1b339c(0x19f)]}]};}};Nt=ys([_i(0x0,_0x33e245(_0x1218c6)),_i(0x1,_0x33e245(_0x313ce8))],Nt);var Ds=Object[_0x4b7416(0x2cb)],Ps=Object[_0x4b7416(0x26b)],ws=(_0x50c9f2,_0x34ccee,_0x389ee5,_0x3fbdac)=>{var _0x19872f=_0x4b7416;for(var _0x577af0=_0x3fbdac>0x1?void 0x0:_0x3fbdac?Ps(_0x34ccee,_0x389ee5):_0x34ccee,_0x22c93e=_0x50c9f2[_0x19872f(0x39c)]-0x1,_0x807f11;_0x22c93e>=0x0;_0x22c93e--)(_0x807f11=_0x50c9f2[_0x22c93e])&&(_0x577af0=(_0x3fbdac?_0x807f11(_0x34ccee,_0x389ee5,_0x577af0):_0x807f11(_0x577af0))||_0x577af0);return _0x3fbdac&&_0x577af0&&Ds(_0x34ccee,_0x389ee5,_0x577af0),_0x577af0;},Se=(_0x421a6f,_0x4a39de)=>(_0x4098f8,_0x1005d9)=>_0x4a39de(_0x4098f8,_0x1005d9,_0x421a6f);let at=class extends _0x1ebecf{constructor(_0x572265,_0x314b85,_0x5e0e73,_0x2caddd,_0x68facb,_0x1c4034,_0x2d22a2){var _0x33ade6=_0x4b7416;super(),this['_injector']=_0x572265,this[_0x33ade6(0x3cb)]=_0x314b85,this[_0x33ade6(0x3cc)]=_0x5e0e73,this[_0x33ade6(0x3e0)]=_0x2caddd,this[_0x33ade6(0x43a)]=_0x68facb,this['_authzIoService']=_0x1c4034,this[_0x33ade6(0x33c)]=_0x2d22a2,this[_0x33ade6(0x1a6)](),this[_0x33ade6(0x1bd)]();}[_0x4b7416(0x1bd)](){var _0x10b690=_0x4b7416;const _0x14ae2d=async _0x369f8d=>{var _0x1e5dec=_0x1bf9;(await this[_0x1e5dec(0x3e0)][_0x1e5dec(0x3fb)](_0x369f8d))[_0x1e5dec(0x2ee)][_0x1e5dec(0x182)](_0x2478c4(_0x86a253=>_0x86a253['eventID']===_0x424b4b[_0x1e5dec(0x335)]),_0x15e5da(this[_0x1e5dec(0x43d)]))['subscribe'](_0x1a4a3e=>{var _0xfc1950=_0x1e5dec;const _0x11b5b6=_0x1a4a3e,{reason:_0x47eed2}=_0x11b5b6[_0xfc1950(0x19a)];this[_0xfc1950(0x43a)][_0xfc1950(0x213)]({'id':se[_0xfc1950(0x246)],'data':_0x47eed2}),this[_0xfc1950(0x3cc)][_0xfc1950(0x282)](new _0x2e755a(_0x369f8d)['id'],!0x1),this[_0xfc1950(0x3e0)][_0xfc1950(0x1f5)](_0x369f8d);});};_0xddea8f(this[_0x10b690(0x3cb)][_0x10b690(0x338)](_0x26d1dc[_0x10b690(0x409)]),this['_univerInstanceService'][_0x10b690(0x338)](_0x26d1dc[_0x10b690(0x3a9)]))[_0x10b690(0x182)](_0x30b411(_0x4d7315=>_0x4d7315[_0x10b690(0x314)]()),_0x2478c4(_0x55154e=>!_0xdfb37d(_0x55154e)),_0x15e5da(this[_0x10b690(0x43d)]))[_0x10b690(0x435)](_0x1b059c=>{_0x14ae2d(_0x1b059c);});}['_initUnitPermissionChange'](){var _0x19ad63=_0x4b7416;const _0x289d98=async _0x45edc9=>{var _0x271ed8=_0x1bf9;const _0x3312b9=await this[_0x271ed8(0x3e0)][_0x271ed8(0x3fb)](_0x45edc9),_0x3fba15=this[_0x271ed8(0x3e3)][_0x271ed8(0x279)](_0x5044e0);_0x3312b9[_0x271ed8(0x2ee)]['pipe'](_0x2478c4(_0x2a0d72=>_0x2a0d72[_0x271ed8(0x1f7)]===_0x424b4b[_0x271ed8(0x436)]),_0x15e5da(this[_0x271ed8(0x43d)]))[_0x271ed8(0x435)](_0x2c4fc2=>{var _0x1302d9=_0x271ed8;const _0x38b472=_0x2c4fc2,{objectId:_0x282f4a}=_0x38b472['data'];_0x282f4a===_0x45edc9?_0x3fba15['initWorkbookPermissionChange'](_0x45edc9):_0x3fba15[_0x1302d9(0x1db)](_0x45edc9,_0x282f4a);});};_0xddea8f(this[_0x19ad63(0x3cb)]['getTypeOfUnitAdded$'](_0x26d1dc[_0x19ad63(0x409)]),this[_0x19ad63(0x3cb)][_0x19ad63(0x338)](_0x26d1dc[_0x19ad63(0x3a9)]))[_0x19ad63(0x182)](_0x30b411(_0x43a875=>_0x43a875['getUnitId']()),_0x2478c4(_0xd51327=>!_0xdfb37d(_0xd51327)),_0x15e5da(this[_0x19ad63(0x43d)]))[_0x19ad63(0x435)](_0x19b6ac=>{_0x289d98(_0x19b6ac);});}};at=ws([Se(0x0,_0x33e245(_0x5596e1)),Se(0x1,_0x280bc0),Se(0x2,_0x3d23e7),Se(0x3,_0x33e245(Le)),Se(0x4,_0x33e245(pe)),Se(0x5,_0x33b7ff),Se(0x6,_0x1e3c7e)],at);var Us=Object[_0x4b7416(0x2cb)],As=Object[_0x4b7416(0x26b)],xs=(_0x52367f,_0x44e21c,_0x7141ab,_0xbe526c)=>{for(var _0x73871d=_0xbe526c>0x1?void 0x0:_0xbe526c?As(_0x44e21c,_0x7141ab):_0x44e21c,_0x219b8a=_0x52367f['length']-0x1,_0x25a27c;_0x219b8a>=0x0;_0x219b8a--)(_0x25a27c=_0x52367f[_0x219b8a])&&(_0x73871d=(_0xbe526c?_0x25a27c(_0x44e21c,_0x7141ab,_0x73871d):_0x25a27c(_0x73871d))||_0x73871d);return _0xbe526c&&_0x73871d&&Us(_0x44e21c,_0x7141ab,_0x73871d),_0x73871d;},li=(_0x4c2ddb,_0x30d69b)=>(_0x25dbef,_0x553040)=>_0x30d69b(_0x25dbef,_0x553040,_0x4c2ddb);let Dt=class{constructor(_0x212aa5,_0x50cbf8){this['_configService']=_0x212aa5,this['_httpService']=_0x50cbf8;}async[_0x4b7416(0x1e5)](_0x27ad0d,_0x534c0f){var _0x5dbd4f=_0x4b7416,_0x57332e;const {unitID:_0x34bf7b,type:_0x4a6ed2,revision:_0x16c4d9=0x0}=_0x534c0f,_0x5c1130=this['getSnapshotAPIPath']()+'/'+_0x4a6ed2+_0x5dbd4f(0x3ac)+_0x34bf7b+'/rev/'+_0x16c4d9,_0xae42c5=(await this[_0x5dbd4f(0x15a)][_0x5dbd4f(0x279)](_0x5c1130))[_0x5dbd4f(0x14e)],_0x3d8ead=(_0x57332e=_0xae42c5[_0x5dbd4f(0x18d)])==null?void 0x0:_0x57332e['workbook'];if(_0x3d8ead){const _0x413757=_0x3d8ead==null?void 0x0:_0x3d8ead['originalMeta'],_0x412b7c=_0x21a1ca[_0x5dbd4f(0x356)](_0x54478a(_0x413757));_0x3d8ead[_0x5dbd4f(0x1ce)]=_0x412b7c,Object[_0x5dbd4f(0x2dd)](_0x3d8ead[_0x5dbd4f(0x217)])[_0x5dbd4f(0x1d1)](([,_0x12dbfc])=>{var _0x38962f=_0x5dbd4f;const _0x925613=_0x12dbfc[_0x38962f(0x1ce)],_0x2de5ec=_0x21a1ca['encode'](_0x54478a(_0x925613));_0x12dbfc[_0x38962f(0x1ce)]=_0x2de5ec;});}return _0xae42c5;}async[_0x4b7416(0x253)](_0x2458e7,_0x413cd4){var _0x32d552=_0x4b7416;const {unitID:_0x5dc2f4,type:_0x704967,blockID:_0xb89b4f}=_0x413cd4,_0x466d61=this['_getAPIPrefix']()+'/'+_0x704967+'/unit/'+_0x5dc2f4+_0x32d552(0x142)+_0xb89b4f;return(await this[_0x32d552(0x15a)][_0x32d552(0x279)](_0x466d61))['body'];}async[_0x4b7416(0x2b3)](_0x20dbb6,_0x1ff8e8){var _0x433acf=_0x4b7416;const {unitID:_0x35c776,type:_0xe4d5a7,blockID:_0x1c6821}=_0x1ff8e8,_0x543366=this[_0x433acf(0x36f)]()+_0x433acf(0x142)+_0xe4d5a7+_0x433acf(0x3ac)+_0x35c776+_0x433acf(0x142)+_0x1c6821;return(await this[_0x433acf(0x15a)]['get'](_0x543366))[_0x433acf(0x14e)];}async[_0x4b7416(0x3b7)](_0x41d19c,_0x17a2f3){var _0x11e25a=_0x4b7416;const {unitID:_0x4dddaa,type:_0x4d6066,from:_0x4971de,to:_0x2498c0}=_0x17a2f3,_0x360ca0=this[_0x11e25a(0x36f)]()+'/'+_0x4d6066+_0x11e25a(0x3ac)+_0x4dddaa+_0x11e25a(0x2f5)+_0x4971de+_0x11e25a(0x289)+_0x2498c0;return(await this[_0x11e25a(0x15a)]['get'](_0x360ca0))[_0x11e25a(0x14e)];}[_0x4b7416(0x169)](){var _0x1a9aa9=_0x4b7416,_0x45b026;return(_0x45b026=this[_0x1a9aa9(0x152)][_0x1a9aa9(0x40e)](Tn))!=null?_0x45b026:this[_0x1a9aa9(0x36f)]();}['_getAPIPrefix'](){var _0x26048a=_0x4b7416,_0x1c2bc8,_0x5d6719;const _0x3da9f7=this[_0x26048a(0x152)][_0x26048a(0x40e)](En),_0x22c8cd=this[_0x26048a(0x152)][_0x26048a(0x40e)](q);return(_0x5d6719=(_0x1c2bc8=_0x22c8cd==null?void 0x0:_0x22c8cd['snapshotServerUrl'])!=null?_0x1c2bc8:_0x3da9f7)!=null?_0x5d6719:In;}async['getResourcesRequest'](_0x20eb0e,_0x384820){var _0x82087=_0x4b7416;const _0x1cf5d9=_0x82087(0x2f9)+_0x384820[_0x82087(0x38e)]+_0x82087(0x3ac)+_0x384820[_0x82087(0x311)]+_0x82087(0x1ac);return(await this['_httpService'][_0x82087(0x279)](_0x1cf5d9,{'params':{'resourceId':JSON[_0x82087(0x418)](_0x384820[_0x82087(0x1fd)])}}))[_0x82087(0x14e)];}[_0x4b7416(0x198)](){var _0x12c3b6=_0x4b7416;throw new Error(_0x12c3b6(0x30c));}[_0x4b7416(0x1aa)](){var _0x1ff4a3=_0x4b7416;throw new Error(_0x1ff4a3(0x30c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x44f71d=_0x4b7416;throw new Error(_0x44f71d(0x30c));}[_0x4b7416(0x17d)](){var _0x47f4c2=_0x4b7416;throw new Error(_0x47f4c2(0x30c));}};Dt=xs([li(0x0,_0x1218c6),li(0x1,_0x33e245(_0x313ce8))],Dt);var Ls=Object['defineProperty'],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x5da360,_0x2a0dc9,_0x29562f,_0x5566cd)=>{var _0x283f13=_0x4b7416;for(var _0x56b561=_0x5566cd>0x1?void 0x0:_0x5566cd?Ms(_0x2a0dc9,_0x29562f):_0x2a0dc9,_0x5a26c6=_0x5da360[_0x283f13(0x39c)]-0x1,_0x4f904a;_0x5a26c6>=0x0;_0x5a26c6--)(_0x4f904a=_0x5da360[_0x5a26c6])&&(_0x56b561=(_0x5566cd?_0x4f904a(_0x2a0dc9,_0x29562f,_0x56b561):_0x4f904a(_0x56b561))||_0x56b561);return _0x5566cd&&_0x56b561&&Ls(_0x2a0dc9,_0x29562f,_0x56b561),_0x56b561;},Ae=(_0x4c17e7,_0xf24bfe)=>(_0xcca731,_0x467341)=>_0xf24bfe(_0xcca731,_0x467341,_0x4c17e7);let Pt=class extends _0x1cdab7{constructor(_0x26ce3f,_0x55441f,_0x53c3ae,_0x313f35,_0xe6a866){var _0x25623a=_0x4b7416;super(_0x26ce3f,_0x55441f,_0x53c3ae),this[_0x25623a(0x24d)]=_0x313f35,this[_0x25623a(0x38f)]=_0xe6a866;}[_0x4b7416(0x3a4)](_0x3cd3ac,_0x244205){var _0x47988f=_0x4b7416;const _0x205a2f=this[_0x47988f(0x32f)](_0x3cd3ac);if(_0x205a2f)try{const _0x2b2510=this[_0x47988f(0x1cc)](_0x205a2f,_0x244205);this[_0x47988f(0x25d)](_0x3cd3ac,_0x2b2510);}catch(_0x2ebc7c){this['_logService']['error'](_0x47988f(0x3c0),_0x2ebc7c),this['_clearUndo'](_0x3cd3ac);}const _0x4eb70b=this[_0x47988f(0x40b)](_0x3cd3ac);if(_0x4eb70b)try{const _0x2cc3f4=this['_transformStack'](_0x4eb70b,_0x244205);this[_0x47988f(0x3c8)](_0x3cd3ac,_0x2cc3f4);}catch(_0x1de340){this['_logService']['error'](_0x1de340),this['_clearRedo'](_0x3cd3ac);}}[_0x4b7416(0x34b)](_0x4491d5){var _0x289a2c=_0x4b7416;const _0x1d4091=this[_0x289a2c(0x32f)](_0x4491d5);_0x1d4091&&(_0x1d4091[_0x289a2c(0x39c)]=0x0,this[_0x289a2c(0x20c)]());}[_0x4b7416(0x432)](_0x1b8209){var _0x4ef209=_0x4b7416;const _0x4d6bdc=this['_getRedoStack'](_0x1b8209);_0x4d6bdc&&(_0x4d6bdc[_0x4ef209(0x39c)]=0x0,this[_0x4ef209(0x20c)]());}[_0x4b7416(0x25d)](_0xecc809,_0x206775){var _0x284d44=_0x4b7416;this[_0x284d44(0x406)][_0x284d44(0x329)](_0xecc809,_0x206775),this['_updateStatus']();}['_substituteRedoStack'](_0x390bf2,_0x1f5e76){var _0x5024f3=_0x4b7416;this['_redoStacks'][_0x5024f3(0x329)](_0x390bf2,_0x1f5e76),this['_updateStatus']();}[_0x4b7416(0x1cc)](_0x32132a,_0x15146f){var _0x37b5cb=_0x4b7416;const _0x10a386=[];let _0x160e7d=_0x15146f,_0x5705a6=_0x15146f;for(let _0x27810e=_0x32132a[_0x37b5cb(0x39c)]-0x1;_0x27810e>=0x0;_0x27810e--){const {unitID:_0xdb0a91,undoMutations:_0x9099d5,redoMutations:_0x1d1850}=_0x32132a[_0x27810e],_0x5ce90d=this[_0x37b5cb(0x24d)][_0x37b5cb(0x332)](_0x160e7d,_0x9099d5),_0xb6142d=this['_transformService'][_0x37b5cb(0x332)](_0x5705a6,_0x1d1850);if(_0x2a62be(_0x5ce90d)||_0x2a62be(_0xb6142d)){this[_0x37b5cb(0x38f)][_0x37b5cb(0x2bc)](_0x37b5cb(0x3c0),_0x37b5cb(0x3d5),_0x5ce90d,_0xb6142d);break;}_0x160e7d=_0x5ce90d[_0x37b5cb(0x3bc)],_0x5705a6=_0xb6142d[_0x37b5cb(0x3bc)],_0x10a386[_0x37b5cb(0x2fa)]({'unitID':_0xdb0a91,'undoMutations':_0x5ce90d[_0x37b5cb(0x3b1)],'redoMutations':_0xb6142d[_0x37b5cb(0x3b1)]});}return _0x10a386[_0x37b5cb(0x35d)]();}};Pt=$s([Ae(0x0,_0x280bc0),Ae(0x1,_0x44e191),Ae(0x2,_0x2847d8),Ae(0x3,_0x1186f3),Ae(0x4,_0x46cc09)],Pt);var xi=Object[_0x4b7416(0x2cb)],Hs=Object[_0x4b7416(0x26b)],ks=(_0x3efcb9,_0x1b36fd,_0x425523)=>_0x1b36fd in _0x3efcb9?xi(_0x3efcb9,_0x1b36fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425523}):_0x3efcb9[_0x1b36fd]=_0x425523,js=(_0xf10c6d,_0x423fa7,_0x54ad09,_0x31e8ae)=>{var _0x28ffaf=_0x4b7416;for(var _0x2a6c51=_0x31e8ae>0x1?void 0x0:_0x31e8ae?Hs(_0x423fa7,_0x54ad09):_0x423fa7,_0x361d6f=_0xf10c6d[_0x28ffaf(0x39c)]-0x1,_0x24d79f;_0x361d6f>=0x0;_0x361d6f--)(_0x24d79f=_0xf10c6d[_0x361d6f])&&(_0x2a6c51=(_0x31e8ae?_0x24d79f(_0x423fa7,_0x54ad09,_0x2a6c51):_0x24d79f(_0x2a6c51))||_0x2a6c51);return _0x31e8ae&&_0x2a6c51&&xi(_0x423fa7,_0x54ad09,_0x2a6c51),_0x2a6c51;},St=(_0x2675a6,_0x2fcc97)=>(_0x597a21,_0x2a38ee)=>_0x2fcc97(_0x597a21,_0x2a38ee,_0x2675a6),Bs=(_0x326195,_0xaaaa3a,_0x4b9557)=>ks(_0x326195,_0xaaaa3a+'',_0x4b9557);const Fs=_0x4b7416(0x164);let wt=class extends _0x60228e{constructor(_0x45216d=Wt,_0x413b8a,_0x44f3eb,_0x54bb24){var _0x48e3ca=_0x4b7416;super(),this[_0x48e3ca(0x41a)]=_0x45216d,this[_0x48e3ca(0x38f)]=_0x413b8a,this[_0x48e3ca(0x3e3)]=_0x44f3eb,this[_0x48e3ca(0x152)]=_0x54bb24;const {..._0x1c8ba8}=_0x8efa46({},Wt,this[_0x48e3ca(0x41a)]);this[_0x48e3ca(0x152)][_0x48e3ca(0x187)](q,_0x1c8ba8);}[_0x4b7416(0x194)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x4b7416(0x3d8)](){var _0xece2d4=_0x4b7416,_0x13de54,_0x2711e3,_0x134417,_0x5c9682;this['_injector'][_0xece2d4(0x3e2)](_0x1e3c7e)&&this['_logService'][_0xece2d4(0x2bc)]('[UniverCollaborationClientPlugin]',_0xece2d4(0x339));const _0x34a805=_0x1911e0([[_0x1e3c7e,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2711e3=(_0x13de54=this[_0xece2d4(0x41a)])==null?void 0x0:_0x13de54[_0xece2d4(0x143)])!=null?_0x2711e3:Et}],[_0x411302,{'useClass':Dt}],[_0x33b7ff,{'useClass':bt}],[_0x5e0b5e,{'useClass':yt}],[_0x4b92c5,{'useClass':Nt}],[rt],[Rt]],(_0x134417=this[_0xece2d4(0x41a)])==null?void 0x0:_0x134417[_0xece2d4(0x3dc)]);if(!((_0x5c9682=this[_0xece2d4(0x41a)])!=null&&_0x5c9682[_0xece2d4(0x287)])){const _0x491da4=_0x34a805[_0xece2d4(0x323)](([_0x4bfc04])=>_0x4bfc04===ht);_0x491da4!==-0x1&&_0x34a805[_0xece2d4(0x209)](_0x491da4,0x1);}_0x31994b(this[_0xece2d4(0x3e3)],_0x34a805);}[_0x4b7416(0x2f6)](){var _0x5436e2=_0x4b7416,_0x23dfba,_0x244d2c,_0x245211;this['_injector'][_0x5436e2(0x279)](_0x313ce8)[_0x5436e2(0x3c1)]({'priority':0x14,'interceptor':_0x57e8c3({'maxParallel':0x6})}),(_0x23dfba=this[_0x5436e2(0x41a)])!=null&&_0x23dfba[_0x5436e2(0x1c8)]||(_0x244d2c=this['_injector']['get'](J,_0x34630d[_0x5436e2(0x240)]))==null||_0x244d2c[_0x5436e2(0x40d)](),(_0x245211=this[_0x5436e2(0x41a)])!=null&&_0x245211[_0x5436e2(0x2e6)]&&_0x4a6f6f(this[_0x5436e2(0x3e3)],[[st]]),_0x4a6f6f(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x4b7416(0x3be),Fs),wt=js([_0x5ba38c(_0x403bdd,_0x525489,_0x2e22fe),St(0x1,_0x46cc09),St(0x2,_0x33e245(_0x5596e1)),St(0x3,_0x1218c6)],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};
|