@univerjs-pro/collaboration-client 0.6.0-nightly.202502021605 → 0.6.0-nightly.202502041606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x51303a=_0x1f09;(function(_0x4c6d51,_0xe6a3aa){var _0x46cf86=_0x1f09,_0x2ceaff=_0x4c6d51();while(!![]){try{var _0x2bd2d0=parseInt(_0x46cf86(0x218))/0x1+-parseInt(_0x46cf86(0x184))/0x2*(parseInt(_0x46cf86(0x2cc))/0x3)+parseInt(_0x46cf86(0x1a6))/0x4*(-parseInt(_0x46cf86(0x22c))/0x5)+-parseInt(_0x46cf86(0x1bb))/0x6*(parseInt(_0x46cf86(0x1ce))/0x7)+-parseInt(_0x46cf86(0x26d))/0x8+-parseInt(_0x46cf86(0x2cb))/0x9*(-parseInt(_0x46cf86(0x44a))/0xa)+parseInt(_0x46cf86(0x200))/0xb;if(_0x2bd2d0===_0xe6a3aa)break;else _0x2ceaff['push'](_0x2ceaff['shift']());}catch(_0x5d670f){_0x2ceaff['push'](_0x2ceaff['shift']());}}}(_0x1f79,0x45e40));var Li=Object[_0x51303a(0x281)],Mi=(_0x3c156c,_0x27c99d,_0x2d93f2)=>_0x27c99d in _0x3c156c?Li(_0x3c156c,_0x27c99d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d93f2}):_0x3c156c[_0x27c99d]=_0x2d93f2,N=(_0x40d421,_0x2cd257,_0x1f41c3)=>Mi(_0x40d421,typeof _0x2cd257!=_0x51303a(0x2c6)?_0x2cd257+'':_0x2cd257,_0x1f41c3);import{createIdentifier as _0x32ae6a,Inject as _0x2a2c27,Injector as _0x2ac98c,Disposable as _0x47cec6,DisposableCollection as _0x53658a,toDisposable as _0x24575e,IConfigService as _0x197b9e,ILogService as _0x7c7e3b,UserManagerService as _0x1dee39,UniverInstanceType as _0x500bf2,IUniverInstanceService as _0xd9ad76,LocaleService as _0x414916,Optional as _0x1a8278,RxDisposable as _0x2127fb,Tools as _0x299834,Rectangle as _0x81784f,ICommandService as _0x5c01af,JSONX as _0x8c9ea0,CommandType as _0x42bf5d,IPermissionService as _0xc50f2c,IUndoRedoService as _0x277f73,sequenceExecute as _0x26a0b3,Workbook as _0x14e09d,MentionType as _0x370726,IAuthzIoService as _0x289d4b,isInternalEditorID as _0x2f272e,LocalUndoRedoService as _0x3122ca,IContextService as _0x1f9cf4,DependentOn as _0x1b343a,Plugin as _0x2faba4,merge as _0x123239,mergeOverrideWithDependencies as _0x596fab,IMentionIOService as _0x5b09c9,registerDependencies as _0x55b7fd,Quantity as _0x5a06dd,touchDependencies as _0x351b51}from'@univerjs/core';import{Subject as _0x4973d7,merge as _0x204d3a,of as _0x56aeb4,BehaviorSubject as _0x5e258f,takeUntil as _0x2fe2c4,ReplaySubject as _0x5d8dc9,take as _0x81314e,map as _0x29778d,shareReplay as _0x3e88b4,firstValueFrom as _0x31a3a6,concatMap as _0x536272}from'rxjs';import{map as _0x21067b,take as _0x1a04c9,filter as _0x3cf649,delay as _0x506462,takeUntil as _0x26b065}from'rxjs/operators';import{HTTPService as _0x43259a,ISocketService as _0x2f9d08,MergeInterceptorFactory as _0x2d7c72,HTTPRequest as _0x24cdfb,UniverNetworkPlugin as _0x3f6290,ThresholdInterceptorFactory as _0x3d1b06}from'@univerjs/network';import{CollaborationEvent as _0x247b59,parseChangesetToProtocol as _0x4c01ce,ISnapshotServerService as _0x22279b,isTransformMutationsWithChangesetSuccess as _0x122f14,ITransformService as _0x1aa332,mapDocumentTypeToUniverType as _0x24f5bb,RevisionService as _0x408fec,isTransformChangesetsSuccess as _0x4d0c02,CompressMutationService as _0x3f7f69,parseProtocolChangeset as _0xf0555b,SnapshotService as _0x101ed4,textEncoder as _0x1eecf7,b64DecodeUnicode as _0x142033,isTransformMutationsWithChangesetFailure as _0x5c45d7,UniverCollaborationPlugin as _0x12509d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x27e094}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4e9af9}from'@univerjs/docs';import{SheetsSelectionsService as _0x112b24,SetSelectionsOperation as _0xf5e32b,InsertSheetMutation as _0x2ce3d3,EmptyMutation as _0x8ec12b,WorkbookEditablePermission as _0x8a0fbb,SheetPermissionInitController as _0x4e37fd,UniverSheetsPlugin as _0x511a9f}from'@univerjs/sheets';import{ImageSourceType as _0x5948a6,ImageUploadStatusType as _0xb9841d,IImageIoService as _0x2dfdfa}from'@univerjs/drawing';import{getGlobalObject as _0x581218}from'@univerjs-pro/license';const En=_0x51303a(0x3f5),In=_0x51303a(0x33a),Tn=_0x51303a(0x261),eo=_0x51303a(0x378),Cn=0x7d0,Rn=_0x51303a(0x2f3),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x51303a(0x221),yn=_0x51303a(0x396),Nn=0x7530,Si=_0x51303a(0x256),Ei=0x4e20,Dn=0x4e20,Pn=_0x51303a(0x1b3),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x51303a(0x228),An=_0x51303a(0x2e2),xn=_0x51303a(0x23e),Ln=_0x51303a(0x2d7),no=_0x51303a(0x317),ro=_0x51303a(0x23f);var Ii=(_0x179980=>(_0x179980[_0x179980['UNDEFINED']=0x0]=_0x51303a(0x15e),_0x179980[_0x179980['OK']=0x1]='OK',_0x179980[_0x179980['INTERNAL_ERROR']=0x2]=_0x51303a(0x213),_0x179980[_0x179980[_0x51303a(0x309)]=0x3]=_0x51303a(0x309),_0x179980[_0x179980['NOT_FOUND']=0x4]=_0x51303a(0x211),_0x179980[_0x179980[_0x51303a(0x428)]=0x5]=_0x51303a(0x428),_0x179980[_0x179980[_0x51303a(0x1f4)]=0x6]=_0x51303a(0x1f4),_0x179980[_0x179980[_0x51303a(0x37b)]=0x7]=_0x51303a(0x37b),_0x179980[_0x179980[_0x51303a(0x1e5)]=0x8]=_0x51303a(0x1e5),_0x179980[_0x179980['COMPLETION_FINISHED']=0x9]=_0x51303a(0x1f9),_0x179980[_0x179980[_0x51303a(0x39a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x23d)]=0x1771]=_0x51303a(0x23d),_0x179980[_0x179980['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x51303a(0x3fb),_0x179980[_0x179980[_0x51303a(0x230)]=0x1773]=_0x51303a(0x230),_0x179980[_0x179980[_0x51303a(0x31b)]=0x1b59]='APPLY_REJECT',_0x179980[_0x179980[_0x51303a(0x290)]=0x1b5a]=_0x51303a(0x290),_0x179980[_0x179980['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x185)]=0x1b5c]=_0x51303a(0x185),_0x179980[_0x179980[_0x51303a(0x232)]=0x1b5d]=_0x51303a(0x232),_0x179980[_0x179980['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x179980[_0x179980[_0x51303a(0x447)]=0x2329]=_0x51303a(0x447),_0x179980[_0x179980[_0x51303a(0x265)]=0x232a]=_0x51303a(0x265),_0x179980[_0x179980[_0x51303a(0x367)]=0x232b]=_0x51303a(0x367),_0x179980[_0x179980['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x51303a(0x26e),_0x179980[_0x179980[_0x51303a(0x3a9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x179980[_0x179980[_0x51303a(0x282)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x179980[_0x179980[_0x51303a(0x3ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x179980[_0x179980[_0x51303a(0x1f6)]=0x2713]=_0x51303a(0x1f6),_0x179980[_0x179980[_0x51303a(0x1ed)]=0x2714]=_0x51303a(0x1ed),_0x179980[_0x179980[_0x51303a(0x25a)]=0x2af9]=_0x51303a(0x25a),_0x179980[_0x179980[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x179980))(Ii||{}),Q=(_0x2caaac=>(_0x2caaac[_0x2caaac[_0x51303a(0x369)]=0x0]=_0x51303a(0x369),_0x2caaac[_0x2caaac[_0x51303a(0x31f)]=0x1]=_0x51303a(0x31f),_0x2caaac[_0x2caaac[_0x51303a(0x43d)]=0x2]=_0x51303a(0x43d),_0x2caaac[_0x2caaac['UNIVER_SLIDE']=0x3]=_0x51303a(0x231),_0x2caaac[_0x2caaac[_0x51303a(0x366)]=0x4]='UNIVER_PROJECT',_0x2caaac[_0x2caaac[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2caaac))(Q||{}),F=(_0x2e64aa=>(_0x2e64aa[_0x2e64aa[_0x51303a(0x406)]=0x0]='UNKNOWN_CMD',_0x2e64aa[_0x2e64aa[_0x51303a(0x204)]=0x1]=_0x51303a(0x204),_0x2e64aa[_0x2e64aa['JOIN']=0x2]=_0x51303a(0x3a3),_0x2e64aa[_0x2e64aa[_0x51303a(0x195)]=0x3]='LEAVE',_0x2e64aa[_0x2e64aa[_0x51303a(0x263)]=0x4]=_0x51303a(0x263),_0x2e64aa[_0x2e64aa[_0x51303a(0x342)]=0x5]=_0x51303a(0x342),_0x2e64aa[_0x2e64aa[_0x51303a(0x3d8)]=0x6]=_0x51303a(0x3d8),_0x2e64aa[_0x2e64aa[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2e64aa))(F||{}),Ee=(_0x503bf0=>(_0x503bf0[_0x503bf0[_0x51303a(0x386)]=0x0]=_0x51303a(0x386),_0x503bf0[_0x503bf0['OK']=0x1]='OK',_0x503bf0[_0x503bf0[_0x51303a(0x3ac)]=0x2]=_0x51303a(0x3ac),_0x503bf0[_0x503bf0['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x503bf0[_0x503bf0[_0x51303a(0x3fd)]=0x3ea]=_0x51303a(0x3fd),_0x503bf0[_0x503bf0['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x51303a(0x327),_0x503bf0[_0x503bf0[_0x51303a(0x2fb)]=0x3ec]=_0x51303a(0x2fb),_0x503bf0[_0x503bf0[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x503bf0))(Ee||{}),Ti=(_0x25a52f=>(_0x25a52f[_0x25a52f['Undefined']=0x0]='Undefined',_0x25a52f[_0x25a52f[_0x51303a(0x166)]=0x1]='HttpImport',_0x25a52f[_0x25a52f[_0x51303a(0x187)]=0x2]=_0x51303a(0x187),_0x25a52f[_0x25a52f[_0x51303a(0x28b)]=0x3]=_0x51303a(0x28b),_0x25a52f[_0x25a52f['UnitSnapshot']=0x4]=_0x51303a(0x41e),_0x25a52f[_0x25a52f[_0x51303a(0x1dc)]=-0x1]='UNRECOGNIZED',_0x25a52f))(Ti||{});const q=_0x51303a(0x27e),Wt={};var se=(_0x2f303c=>(_0x2f303c[_0x51303a(0x1ef)]=_0x51303a(0x1ef),_0x2f303c[_0x51303a(0x309)]=_0x51303a(0x309),_0x2f303c[_0x51303a(0x30e)]=_0x51303a(0x30e),_0x2f303c['CLOSE_ROOM']=_0x51303a(0x149),_0x2f303c['JOIN_ROOM_FAILED']=_0x51303a(0x387),_0x2f303c['SOCKET_FAILED_RETRY']=_0x51303a(0x3ba),_0x2f303c[_0x51303a(0x1e6)]=_0x51303a(0x1e6),_0x2f303c[_0x51303a(0x435)]=_0x51303a(0x435),_0x2f303c))(se||{});class pe{constructor(){var _0x117d0e=_0x51303a;N(this,_0x117d0e(0x3f3),new _0x4973d7()),N(this,_0x117d0e(0x3d0),this['_event$'][_0x117d0e(0x212)]());}[_0x51303a(0x313)](_0x454e7f){var _0x22e54a=_0x51303a;this[_0x22e54a(0x3f3)]['next'](_0x454e7f);}}const Mn=_0x32ae6a(_0x51303a(0x34d));function $n(_0x3876c9){var _0x57cca2=_0x51303a,_0x437194,_0x3c4707,_0x391d77,_0x28c609,_0x3e6dd1;const _0x5ab1a9=_0x3876c9[_0x57cca2(0x1cd)],_0xbad663=JSON[_0x57cca2(0x354)](_0x5ab1a9);switch(_0xbad663[_0x57cca2(0x1e8)]){case F['HEARTBEAT']:case F[_0x57cca2(0x204)]:{const _0x2806ef=_0xbad663[_0x57cca2(0x3b3)];return{..._0xbad663,'data':_0x2806ef,'cmd':_0xbad663[_0x57cca2(0x1e8)]};}case F[_0x57cca2(0x3a3)]:{const _0x26d33f=_0xbad663[_0x57cca2(0x16b)];return{..._0xbad663,'data':_0x26d33f,'cmd':_0xbad663['cmd']};}case F[_0x57cca2(0x3d8)]:{const _0x206595=_0xbad663['collaMsg'];switch(_0x206595[_0x57cca2(0x262)]){case _0x247b59[_0x57cca2(0x42f)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x437194=_0x206595['permissionRejEvent'])==null?void 0x0:_0x437194['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['CHANGESET_ACK']:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3c4707=_0x206595[_0x57cca2(0x2d6)])==null?void 0x0:_0x3c4707['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2df)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x391d77=_0x206595[_0x57cca2(0x359)])==null?void 0x0:_0x391d77['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x1d4)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x28c609=_0x206595['csRejEvent'])==null?void 0x0:_0x28c609['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x446)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3e6dd1=_0x206595[_0x57cca2(0x188)])==null?void 0x0:_0x3e6dd1['cs']},'cmd':_0xbad663['cmd']};case _0x247b59['UPDATE_CURSOR']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x1d2)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['USERS_ENTER']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x419)]},'cmd':_0xbad663['cmd']};case _0x247b59[_0x57cca2(0x3a7)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x3c5)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2bc)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x35d)]:case _0x247b59['LIVESHARE_OPERATION']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x160)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2de)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x3c3)]:return{..._0xbad663,'data':_0x206595,'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x268)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x423)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x425)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x279)]},'cmd':_0xbad663['cmd']};case _0x247b59['SHOULD_CLOSE_CONN']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x2a6)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2a3)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595['uniscriptRunEvent']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};default:return _0xbad663;}}default:return _0xbad663;}}function Hn(_0x4fcdbc){var _0x4ebaf3=_0x51303a;switch(_0x4fcdbc[_0x4ebaf3(0x1e8)]){case F[_0x4ebaf3(0x342)]:case F['HELLO']:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc['cmd'],'routeKey':_0x4fcdbc['routeKey']});case F[_0x4ebaf3(0x263)]:{let _0x1e6805;switch(_0x4fcdbc[_0x4ebaf3(0x1cd)]['eventID']){case _0x247b59[_0x4ebaf3(0x21b)]:{_0x1e6805={'eventID':_0x247b59['UPDATE_CURSOR'],'updateCursorEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x3a7)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x3a7)],'leaveEvent':_0x4fcdbc['data']['data']};break;}case _0x247b59[_0x4ebaf3(0x29c)]:{_0x1e6805={'eventID':_0x247b59['USERS_ENTER'],'joinEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x2bc)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2bc)],'liveShareNewHost':_0x4fcdbc[_0x4ebaf3(0x1cd)]['data']};break;}case _0x247b59[_0x4ebaf3(0x296)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x296)],'liveShareOperation':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59['LIVESHARE_TERMINATE']:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2de)],'liveShareTerminate':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x1b4)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x1b4)],'liveShareRequestHost':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x35d)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x35d)]};break;}default:_0x1e6805={'eventID':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x262)]};}return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'collaMsg':_0x1e6805});}case F[_0x4ebaf3(0x3a3)]:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'joinReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});case F[_0x4ebaf3(0x195)]:return JSON['stringify']({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc['routeKey'],'leaveReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x51303a(0x281)],jn=Object[_0x51303a(0x150)],Bn=(_0x6e21fb,_0x4f2f2c,_0x113962,_0x820666)=>{for(var _0x1ce108=_0x820666>0x1?void 0x0:_0x820666?jn(_0x4f2f2c,_0x113962):_0x4f2f2c,_0x14b691=_0x6e21fb['length']-0x1,_0x3736ac;_0x14b691>=0x0;_0x14b691--)(_0x3736ac=_0x6e21fb[_0x14b691])&&(_0x1ce108=(_0x820666?_0x3736ac(_0x4f2f2c,_0x113962,_0x1ce108):_0x3736ac(_0x1ce108))||_0x1ce108);return _0x820666&&_0x1ce108&&kn(_0x4f2f2c,_0x113962,_0x1ce108),_0x1ce108;},Ue=(_0xca64ec,_0x5825eb)=>(_0x5896da,_0x282c6e)=>_0x5825eb(_0x5896da,_0x282c6e,_0xca64ec);const Ci=_0x32ae6a('univer-pro.collaboration-client-socket-service');function Fn(_0x302d11,_0xa49ba4,_0x17e8a3){var _0x141d3b=_0x51303a;return _0x302d11+'/'+_0xa49ba4+_0x141d3b(0x38d)+_0x17e8a3+'/new_changes';}let Et=class extends _0x47cec6{constructor(_0xc420b9,_0x581222,_0x476321,_0x3e6e36,_0x2feb29){var _0x100490=_0x51303a;super(),this['_injector']=_0xc420b9,this[_0x100490(0x224)]=_0x581222,this[_0x100490(0x2c0)]=_0x476321,this[_0x100490(0x257)]=_0x3e6e36,this[_0x100490(0x20f)]=_0x2feb29;}[_0x51303a(0x2b0)](_0x340e5e){var _0x4bf3e3=_0x51303a;const _0x184cb7=this['_injector'][_0x4bf3e3(0x227)](_0x2f9d08);if(!_0x184cb7)throw new Error(_0x4bf3e3(0x18e));const _0x53ddb7=_0x184cb7[_0x4bf3e3(0x2b0)](_0x340e5e);if(!_0x53ddb7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5274f9=new _0x53658a(),_0x2f01bd=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x27d)][_0x4bf3e3(0x315)](_0x4c4082=>_0x2f01bd[_0x4bf3e3(0x334)](_0x4c4082))),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x2f01bd[_0x4bf3e3(0x147)]()));const _0x4c33d5=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7['error$']['subscribe'](_0x37c39c=>_0x4c33d5['next'](_0x37c39c))),_0x5274f9['add'](_0x24575e(()=>_0x4c33d5[_0x4bf3e3(0x147)]()));const _0x4ea49b=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x179)][_0x4bf3e3(0x315)](_0x2d3bc1=>{var _0x15b670=_0x4bf3e3;const _0x30f40c=$n(_0x2d3bc1);_0x4ea49b[_0x15b670(0x334)](_0x30f40c);})),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x4ea49b['complete']()));let _0x8e2f5;const _0x70328a=()=>{var _0x4afb76=_0x4bf3e3;_0x4c33d5[_0x4afb76(0x334)](new Event(_0x4afb76(0x395))),_0x2f01bd['next'](new CloseEvent(_0x4afb76(0x395))),_0x8e2f5[_0x4afb76(0x3cc)]();};return _0x8e2f5={'memberID':'','close$':_0x2f01bd[_0x4bf3e3(0x212)](),'error$':_0x4c33d5['asObservable'](),'open$':_0x53ddb7[_0x4bf3e3(0x16c)],'message$':_0x4ea49b[_0x4bf3e3(0x212)](),'send':_0x174496=>{var _0x1cc345=_0x4bf3e3;if(_0x174496[_0x1cc345(0x1e8)]===F['INGEST']){if(_0x174496['data'][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x28d)]){this[_0x1cc345(0x22d)](_0x8e2f5,_0x174496[_0x1cc345(0x1cd)])[_0x1cc345(0x3b5)](_0xb6ff83=>{var _0x31ba1c=_0x1cc345;this[_0x31ba1c(0x257)][_0x31ba1c(0x16e)](_0xb6ff83),_0x70328a();});return;}if(_0x174496[_0x1cc345(0x1cd)][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x2ca)]){const _0x20667f=_0x174496[_0x1cc345(0x1cd)];this[_0x1cc345(0x415)](_0x20667f)['then'](_0x59475e=>{var _0x54d9fb=_0x1cc345;_0x4ea49b[_0x54d9fb(0x334)]({'cmd':F[_0x54d9fb(0x3d8)],'code':Ee['OK'],'routeKey':_0x20667f['data'][_0x54d9fb(0x40d)],'routeType':'','data':{'eventID':_0x247b59[_0x54d9fb(0x3b1)],'data':{'changesets':_0x59475e}}});})[_0x1cc345(0x3b5)](_0x3e9153=>{var _0x50ca43=_0x1cc345;this[_0x50ca43(0x257)][_0x50ca43(0x16e)](_0x3e9153),_0x70328a();});return;}}_0x53ddb7[_0x1cc345(0x229)](Hn(_0x174496));},'close':()=>{var _0x3f919e=_0x4bf3e3;_0x53ddb7[_0x3f919e(0x3cc)](),_0x5274f9[_0x3f919e(0x421)]();}},_0x8e2f5;}async[_0x51303a(0x22d)](_0x5834a7,_0x4947d3){var _0x4a2788=_0x51303a,_0x1ab4c0,_0x1ecc57;const {unitType:_0x191802,unitID:_0x3d2de4,changeset:_0x573e2e}=_0x4947d3[_0x4a2788(0x1cd)],_0x1499e8={'unitID':_0x3d2de4,'memberID':_0x5834a7[_0x4a2788(0x2e5)],'type':_0x191802,'changeset':_0x4c01ce(_0x573e2e)},_0x1724de=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](Un),_0x25a861=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](q),_0x12a818=Fn((_0x1ecc57=(_0x1ab4c0=_0x25a861==null?void 0x0:_0x25a861[_0x4a2788(0x3c8)])!=null?_0x1ab4c0:_0x1724de)!=null?_0x1ecc57:An,_0x191802,_0x3d2de4);try{await this[_0x4a2788(0x224)][_0x4a2788(0x40b)](_0x12a818,{'body':_0x1499e8});}catch(_0x290f9f){throw this[_0x4a2788(0x257)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x290f9f;}}async[_0x51303a(0x415)](_0x4d51aa){var _0x5509bf=_0x51303a;const {unitID:_0x268d20,from:_0x497b06,to:_0x4d96d2,unitType:_0x321373}=_0x4d51aa[_0x5509bf(0x1cd)];return(await this[_0x5509bf(0x20f)][_0x5509bf(0x20b)]({'metadata':void 0x0},{'unitID':_0x268d20,'type':_0x321373,'from':_0x497b06,'to':_0x4d96d2}))['changesets'];}};Et=Bn([Ue(0x0,_0x2a2c27(_0x2ac98c)),Ue(0x1,_0x2a2c27(_0x43259a)),Ue(0x2,_0x197b9e),Ue(0x3,_0x7c7e3b),Ue(0x4,_0x22279b)],Et);const Vn='collaboration_new_changeset';function Gn(_0x1c0490){var _0xffddb1=_0x51303a;return JSON[_0xffddb1(0x235)](_0x1c0490)['length'];}class Ri{constructor(){var _0x51156f=_0x51303a;N(this,_0x51156f(0x2ba),new _0x4973d7()),N(this,'commentUpdate$',this[_0x51156f(0x2ba)][_0x51156f(0x212)]());}[_0x51303a(0x22e)](_0x5001d5){var _0x15272e=_0x51303a;this[_0x15272e(0x2ba)][_0x15272e(0x334)](_0x5001d5);}}var Wn=Object[_0x51303a(0x281)],Kn=Object[_0x51303a(0x150)],Yn=(_0x1c04fc,_0xe5978f,_0x20d123,_0x3ebe26)=>{var _0x5081a6=_0x51303a;for(var _0x5aef21=_0x3ebe26>0x1?void 0x0:_0x3ebe26?Kn(_0xe5978f,_0x20d123):_0xe5978f,_0x55a995=_0x1c04fc[_0x5081a6(0x2b9)]-0x1,_0x2044d7;_0x55a995>=0x0;_0x55a995--)(_0x2044d7=_0x1c04fc[_0x55a995])&&(_0x5aef21=(_0x3ebe26?_0x2044d7(_0xe5978f,_0x20d123,_0x5aef21):_0x2044d7(_0x5aef21))||_0x5aef21);return _0x3ebe26&&_0x5aef21&&Wn(_0xe5978f,_0x20d123,_0x5aef21),_0x5aef21;},Kt=(_0x1c6b93,_0x4bcb04)=>(_0x4fc9db,_0x542fe9)=>_0x4bcb04(_0x4fc9db,_0x542fe9,_0x1c6b93);let xe=class extends _0x47cec6{constructor(_0x256a58,_0x12986e){var _0x4b4a2c=_0x51303a;super(),N(this,_0x4b4a2c(0x2bf),new Map()),N(this,_0x4b4a2c(0x17a),new _0x4973d7()),(this[_0x4b4a2c(0x365)]=_0x256a58,this[_0x4b4a2c(0x253)]=_0x12986e,this['disposeWithMe'](_0x204d3a(this[_0x4b4a2c(0x365)]['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x43d)])[_0x4b4a2c(0x380)](_0x21067b(_0x2a5650=>_0x2a5650[_0x4b4a2c(0x438)]())),this[_0x4b4a2c(0x365)][_0x4b4a2c(0x43b)](_0x500bf2[_0x4b4a2c(0x31f)])['pipe'](_0x21067b(_0x2198aa=>_0x2198aa['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x231)])[_0x4b4a2c(0x380)](_0x21067b(_0x3ee3df=>_0x3ee3df[_0x4b4a2c(0x438)]())))[_0x4b4a2c(0x315)](_0x115c6d=>this[_0x4b4a2c(0x1a8)](_0x115c6d))));}['waitForRoom$'](_0xc5cc89){var _0x19bfd2=_0x51303a;return this[_0x19bfd2(0x2bf)][_0x19bfd2(0x371)](_0xc5cc89)?_0x56aeb4(this[_0x19bfd2(0x2bf)]['get'](_0xc5cc89)):this['_roomCreated$'][_0x19bfd2(0x380)](_0x21067b(_0x53fb06=>{var _0x487c93=_0x19bfd2;if(_0x53fb06===_0xc5cc89)return this['_roomMembers'][_0x487c93(0x227)](_0x53fb06);}));}['setCurrentUser'](_0xd4be76){var _0x354f2c=_0x51303a;this['_userManagerService'][_0x354f2c(0x2a8)](_0xd4be76);}['getCurrentUser'](){var _0x3ed5db=_0x51303a;return this[_0x3ed5db(0x253)]['getCurrentUser']();}[_0x51303a(0x245)](_0x19cdc7,_0x5b8f36){var _0x5b60a5=_0x51303a;let _0x2678e1=this['_roomMembers'][_0x5b60a5(0x227)](_0x19cdc7);_0x2678e1||(_0x2678e1=new qn(),this[_0x5b60a5(0x2bf)][_0x5b60a5(0x34c)](_0x19cdc7,_0x2678e1),this[_0x5b60a5(0x17a)][_0x5b60a5(0x334)](_0x19cdc7)),_0x2678e1[_0x5b60a5(0x245)](_0x5b8f36);}[_0x51303a(0x3c9)](_0x4d1336,_0x5c3331){var _0x3c91c3=_0x51303a;const _0x144787=this[_0x3c91c3(0x2bf)][_0x3c91c3(0x227)](_0x4d1336);_0x144787&&_0x144787[_0x3c91c3(0x3c9)](_0x5c3331);}[_0x51303a(0x32d)](_0x1deb4f){var _0x48c25b=_0x51303a;return this[_0x48c25b(0x2bf)][_0x48c25b(0x227)](_0x1deb4f);}[_0x51303a(0x3da)](_0x532cb8,_0x205eed){var _0x2d04d2=_0x51303a;const _0x71fcf0=this['_roomMembers'][_0x2d04d2(0x227)](_0x532cb8);if(_0x71fcf0)return _0x71fcf0[_0x2d04d2(0x3da)](_0x205eed);}[_0x51303a(0x1a8)](_0x5bab2a){var _0x4f0c5c=_0x51303a;const _0x148c0f=this[_0x4f0c5c(0x2bf)][_0x4f0c5c(0x227)](_0x5bab2a);_0x148c0f&&(_0x148c0f['dispose'](),this[_0x4f0c5c(0x2bf)]['delete'](_0x5bab2a));}['dispose'](){var _0xcd234c=_0x51303a;this[_0xcd234c(0x2bf)][_0xcd234c(0x2ed)](_0x15556b=>_0x15556b[_0xcd234c(0x421)]()),this[_0xcd234c(0x2bf)][_0xcd234c(0x346)](),this[_0xcd234c(0x17a)][_0xcd234c(0x147)]();}};xe=Yn([Kt(0x0,_0xd9ad76),Kt(0x1,_0x2a2c27(_0x1dee39))],xe);class qn extends _0x47cec6{constructor(){var _0x5aa001=_0x51303a;super(...arguments),N(this,_0x5aa001(0x178),new Map()),N(this,_0x5aa001(0x153),new _0x5e258f(this[_0x5aa001(0x178)])),N(this,_0x5aa001(0x2e9),this['_members$']['asObservable']());}['dispose'](){var _0x478a4a=_0x51303a;this[_0x478a4a(0x178)][_0x478a4a(0x346)]();}[_0x51303a(0x245)](_0x5c4ce9){var _0x3cc236=_0x51303a;this[_0x3cc236(0x178)][_0x3cc236(0x34c)](_0x5c4ce9[_0x3cc236(0x2e5)],_0x5c4ce9),this[_0x3cc236(0x15a)]();}['removeMember'](_0x682450){var _0x58daff=_0x51303a;this[_0x58daff(0x178)][_0x58daff(0x182)](_0x682450);}[_0x51303a(0x3da)](_0x39b994){var _0x1d1af0=_0x51303a;return this[_0x1d1af0(0x178)][_0x1d1af0(0x227)](_0x39b994);}[_0x51303a(0x35a)](){var _0x114823=_0x51303a;return Array[_0x114823(0x19d)](this[_0x114823(0x178)][_0x114823(0x413)]());}[_0x51303a(0x15a)](){var _0xb5f13a=_0x51303a;this[_0xb5f13a(0x153)][_0xb5f13a(0x334)](this[_0xb5f13a(0x178)]);}}var zn=Object[_0x51303a(0x281)],Jn=Object[_0x51303a(0x150)],Xn=(_0x135e9d,_0x1e75ed,_0x1fca79,_0x2540a4)=>{var _0x1d4f4e=_0x51303a;for(var _0x4935af=_0x2540a4>0x1?void 0x0:_0x2540a4?Jn(_0x1e75ed,_0x1fca79):_0x1e75ed,_0x31f11e=_0x135e9d[_0x1d4f4e(0x2b9)]-0x1,_0x165385;_0x31f11e>=0x0;_0x31f11e--)(_0x165385=_0x135e9d[_0x31f11e])&&(_0x4935af=(_0x2540a4?_0x165385(_0x1e75ed,_0x1fca79,_0x4935af):_0x165385(_0x4935af))||_0x4935af);return _0x2540a4&&_0x4935af&&zn(_0x1e75ed,_0x1fca79,_0x4935af),_0x4935af;},me=(_0x59e438,_0x2d5ebb)=>(_0x23141e,_0x1177c0)=>_0x2d5ebb(_0x23141e,_0x1177c0,_0x59e438),Te=(_0x483651=>(_0x483651[_0x483651['IDLE']=0x0]=_0x51303a(0x15f),_0x483651[_0x483651[_0x51303a(0x2b5)]=0x1]=_0x51303a(0x2b5),_0x483651[_0x483651[_0x51303a(0x2dd)]=0x2]='OFFLINE',_0x483651[_0x483651['ONLINE']=0x3]=_0x51303a(0x3e9),_0x483651))(Te||{});const Yt={[Ee['FAIL']]:_0x51303a(0x19f),[Ee[_0x51303a(0x1a5)]]:'session.room-full',[Ee[_0x51303a(0x3fd)]]:'session.room-not-exists',[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x51303a(0x410),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x51303a(0x27c)};let It=class extends _0x2127fb{constructor(_0x5248da,_0x31e3d2,_0x47e775,_0x30bf14,_0x407294,_0x19f4dc,_0x1c1650,_0x5602f9,_0x19b03c){var _0x42edcf=_0x51303a;super(),N(this,_0x42edcf(0x148),new _0x5e258f(0x0)),N(this,_0x42edcf(0x314),this[_0x42edcf(0x148)]['asObservable']()),N(this,_0x42edcf(0x3f3),new _0x4973d7()),N(this,'event$',this[_0x42edcf(0x3f3)]['asObservable']()),N(this,_0x42edcf(0x247)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x42edcf(0x418),!0x1),N(this,'_telemetryInfo',null),(this[_0x42edcf(0x2f9)]=_0x5248da,this[_0x42edcf(0x257)]=_0x47e775,this['_configService']=_0x30bf14,this[_0x42edcf(0x3fc)]=_0x407294,this[_0x42edcf(0x3b9)]=_0x19f4dc,this['_commentService']=_0x1c1650,this['_collaborationUIEventService']=_0x5602f9,this[_0x42edcf(0x28f)]=_0x19b03c,this[_0x42edcf(0x418)]=!!this[_0x42edcf(0x28f)],_0x31e3d2[_0x42edcf(0x380)](_0x2fe2c4(this['dispose$']))['subscribe'](_0x12d505=>{var _0x216c81=_0x42edcf,_0x2049da;typeof _0x12d505>'u'||(this[_0x216c81(0x247)]=_0x12d505,_0x12d505?(this[_0x216c81(0x1f0)](_0x12d505),this[_0x216c81(0x43a)]=_0x12d505['message$'][_0x216c81(0x315)](_0x149985=>{var _0x4ae5df=_0x216c81;_0x149985[_0x4ae5df(0x1e3)]===this[_0x4ae5df(0x2f9)]&&this[_0x4ae5df(0x3d5)](_0x149985);})):(this[_0x216c81(0x1f3)](),this[_0x216c81(0x148)][_0x216c81(0x334)](0x2),(_0x2049da=this['_socketMessageSubscription'])==null||_0x2049da[_0x216c81(0x29d)](),this[_0x216c81(0x43a)]=null));}));}get['sessionStatus'](){var _0x20e130=_0x51303a;return this['_sessionStatus$'][_0x20e130(0x173)]();}[_0x51303a(0x297)](){var _0xcde786,_0x45d34f;return(_0x45d34f=(_0xcde786=this['_socket'])==null?void 0x0:_0xcde786['memberID'])!=null?_0x45d34f:null;}[_0x51303a(0x421)](){var _0x453c03=_0x51303a;super[_0x453c03(0x421)](),this[_0x453c03(0x402)][_0x453c03(0x334)](),this[_0x453c03(0x402)][_0x453c03(0x147)]();}[_0x51303a(0x3cc)](){var _0x4fa7b0=_0x51303a,_0x3c991e,_0xc46651;this[_0x4fa7b0(0x1f3)](),(_0x3c991e=this['_socket'])==null||_0x3c991e['send']({'cmd':F[_0x4fa7b0(0x195)],'data':{'roomID':this[_0x4fa7b0(0x2f9)]}}),(_0xc46651=this[_0x4fa7b0(0x247)])==null||_0xc46651[_0x4fa7b0(0x3cc)](),this[_0x4fa7b0(0x3f3)][_0x4fa7b0(0x147)](),this[_0x4fa7b0(0x148)]['complete'](),this[_0x4fa7b0(0x421)]();}[_0x51303a(0x3d5)](_0x707611){var _0x4ff1fb=_0x51303a;_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3a3)]?this[_0x4ff1fb(0x1cb)](_0x707611):_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3d8)]&&this[_0x4ff1fb(0x370)](_0x707611);}['_joinRoom'](_0x4f2a0d){var _0x37bbc6=_0x51303a;this['_sessionStatus$'][_0x37bbc6(0x334)](0x1),_0x4f2a0d['send']({'cmd':F[_0x37bbc6(0x3a3)],'routeKey':this[_0x37bbc6(0x2f9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x37bbc6(0x2f9)]}]}});}['_onJoinRoomEvent'](_0x55b51e){var _0x48dcc3=_0x51303a,_0x158023;if(_0x55b51e[_0x48dcc3(0x175)]in Yt){this[_0x48dcc3(0x31e)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x55b51e[_0x48dcc3(0x175)]]}),this[_0x48dcc3(0x148)][_0x48dcc3(0x334)](0x2);return;}this[_0x48dcc3(0x148)]['next'](0x3);const _0x176c06=(_0x158023=_0x55b51e[_0x48dcc3(0x1cd)][_0x48dcc3(0x375)][this[_0x48dcc3(0x2f9)]])==null?void 0x0:_0x158023['members'];_0x176c06&&_0x176c06[_0x48dcc3(0x2ed)](_0x4ec68f=>this[_0x48dcc3(0x3b9)][_0x48dcc3(0x245)](this['_unitID'],_0x4ec68f));}[_0x51303a(0x370)](_0x5d05af){var _0x3244c7=_0x51303a;try{const _0x2d60b8=_0x5d05af['data'];switch(_0x2d60b8[_0x3244c7(0x262)]){case _0x247b59[_0x3244c7(0x29c)]:this[_0x3244c7(0x316)](_0x2d60b8),this[_0x3244c7(0x3f3)][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59['USERS_LEAVE']:this[_0x3244c7(0x157)](_0x2d60b8),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x2cd)]:case _0x247b59[_0x3244c7(0x446)]:this[_0x3244c7(0x17c)](),this[_0x3244c7(0x307)](),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x3c3)]:this[_0x3244c7(0x257)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x3244c7(0x235)](_0x2d60b8)),this['_event$'][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x268)]:this[_0x3244c7(0x3e8)]['onCommentUpdate'](_0x2d60b8[_0x3244c7(0x1cd)]),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;default:this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);}}catch(_0x4cf954){this[_0x3244c7(0x257)][_0x3244c7(0x16e)](_0x4cf954,_0x5d05af);}}[_0x51303a(0x316)](_0x1a8712){var _0x55084a=_0x51303a;this[_0x55084a(0x3b9)][_0x55084a(0x245)](this['_unitID'],_0x1a8712[_0x55084a(0x1cd)]);}[_0x51303a(0x157)](_0x3ded1e){var _0x30a334=_0x51303a;this[_0x30a334(0x3b9)][_0x30a334(0x3c9)](this[_0x30a334(0x2f9)],_0x3ded1e[_0x30a334(0x1cd)]['memberID']);}async[_0x51303a(0x229)](_0x286b00,_0x3e787b){var _0x2ca876=_0x51303a;if(this[_0x2ca876(0x2e7)]!==0x3||!this[_0x2ca876(0x247)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x286b00[_0x2ca876(0x262)]===_0x247b59['SUBMIT_CHANGESET']&&(this[_0x2ca876(0x17f)](),this[_0x2ca876(0x2af)](_0x286b00)),this[_0x2ca876(0x247)][_0x2ca876(0x229)]({'cmd':F[_0x2ca876(0x263)],'routeKey':_0x3e787b,'routeType':'','data':_0x286b00});}catch(_0x14f436){this['_logService']['error'](_0x14f436);}}[_0x51303a(0x17f)](){var _0x5ec6be=_0x51303a,_0x13642c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x338aa1=_0x1f09;this[_0x338aa1(0x1d5)]=null,this[_0x338aa1(0x31e)][_0x338aa1(0x313)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x13642c=this[_0x5ec6be(0x2c0)][_0x5ec6be(0x2ec)](Si))!=null?_0x13642c:Ei);}[_0x51303a(0x307)](){var _0x164909=_0x51303a;this[_0x164909(0x1d5)]&&(clearTimeout(this[_0x164909(0x1d5)]),this[_0x164909(0x1d5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x53380e){var _0x59756b=_0x51303a;if(!this[_0x59756b(0x418)])return;const {data:_0x13dc65}=_0x53380e,{unitID:_0x710e46,changeset:_0x10f098}=_0x13dc65,{mutations:_0x4235a2,type:_0x2febab}=_0x10f098;this[_0x59756b(0x39f)]={'unitId':_0x710e46,'type':_0x2febab,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4235a2)};}[_0x51303a(0x17c)](){var _0x44a36e=_0x51303a;if(this['_shouldReportTelemetry']){if(!this[_0x44a36e(0x39f)]){this[_0x44a36e(0x257)][_0x44a36e(0x16e)](_0x44a36e(0x162),_0x44a36e(0x37d));return;}this[_0x44a36e(0x39f)]['stopTime']=performance[_0x44a36e(0x35f)](),this[_0x44a36e(0x39f)][_0x44a36e(0x411)]=this[_0x44a36e(0x39f)][_0x44a36e(0x164)]-this[_0x44a36e(0x39f)][_0x44a36e(0x368)],this[_0x44a36e(0x28f)][_0x44a36e(0x42b)](Vn,this[_0x44a36e(0x39f)]),this[_0x44a36e(0x39f)]=null;}}[_0x51303a(0x1f3)](){var _0x99e134=_0x51303a;this[_0x99e134(0x39f)]=null;}};It=Xn([me(0x2,_0x7c7e3b),me(0x3,_0x197b9e),me(0x4,_0x2a2c27(_0x414916)),me(0x5,_0x2a2c27(xe)),me(0x6,_0x2a2c27(Ri)),me(0x7,_0x2a2c27(pe)),me(0x8,_0x1a8278(_0x27e094))],It);var Zn=Object[_0x51303a(0x281)],Qn=Object[_0x51303a(0x150)],er=(_0x13253b,_0x44ff2e,_0xc135c8,_0x41d4bf)=>{var _0x438b22=_0x51303a;for(var _0xcdbb27=_0x41d4bf>0x1?void 0x0:_0x41d4bf?Qn(_0x44ff2e,_0xc135c8):_0x44ff2e,_0x1d3c98=_0x13253b[_0x438b22(0x2b9)]-0x1,_0x13f99f;_0x1d3c98>=0x0;_0x1d3c98--)(_0x13f99f=_0x13253b[_0x1d3c98])&&(_0xcdbb27=(_0x41d4bf?_0x13f99f(_0x44ff2e,_0xc135c8,_0xcdbb27):_0x13f99f(_0xcdbb27))||_0xcdbb27);return _0x41d4bf&&_0xcdbb27&&Zn(_0x44ff2e,_0xc135c8,_0xcdbb27),_0xcdbb27;},ge=(_0x12c7ec,_0x44639f)=>(_0x5e75fc,_0x4523bf)=>_0x44639f(_0x5e75fc,_0x4523bf,_0x12c7ec);let Le=class extends _0x47cec6{constructor(_0x516698,_0x27958f,_0x230c4f,_0x309ed2,_0x3caa34,_0x1df7ea,_0x565776){var _0x225ab3=_0x51303a;super(),N(this,'_socket$',new _0x5e258f(void 0x0)),N(this,'socket$',this[_0x225ab3(0x272)][_0x225ab3(0x212)]()),N(this,'_candidateSocket',null),N(this,_0x225ab3(0x39d),new Map()),N(this,'_status$',new _0x5e258f(Te[_0x225ab3(0x15f)])),N(this,_0x225ab3(0x3a4),this[_0x225ab3(0x176)][_0x225ab3(0x212)]()),N(this,'_socketReady',!0x1),N(this,_0x225ab3(0x168)),N(this,'_retryCount',0x0),N(this,_0x225ab3(0x18b)),N(this,_0x225ab3(0x2a7)),(this[_0x225ab3(0x1ff)]=_0x516698,this[_0x225ab3(0x257)]=_0x27958f,this['_configService']=_0x230c4f,this['_socketService']=_0x309ed2,this[_0x225ab3(0x42c)]=_0x3caa34,this[_0x225ab3(0x31e)]=_0x1df7ea,this['_networkConditionService']=_0x565776,this[_0x225ab3(0x20c)]());}get[_0x51303a(0x247)](){var _0x318529=_0x51303a;return this[_0x318529(0x272)]['getValue']();}[_0x51303a(0x20c)](){var _0x4b5d16=_0x51303a;this[_0x4b5d16(0x26f)]&&this[_0x4b5d16(0x434)](this[_0x4b5d16(0x26f)]['online$'][_0x4b5d16(0x315)](_0xb9932=>{var _0x3271ab=_0x4b5d16;_0xb9932&&!this[_0x3271ab(0x247)]&&this['reconnect'](),_0xb9932||this['_onOffline']();}));}[_0x51303a(0x421)](){var _0xe0687d=_0x51303a;super[_0xe0687d(0x421)](),this[_0xe0687d(0x39d)][_0xe0687d(0x2ed)](_0x3ae367=>_0x3ae367[_0xe0687d(0x421)]()),this[_0xe0687d(0x39d)][_0xe0687d(0x346)](),this['_status$'][_0xe0687d(0x147)]();}async[_0x51303a(0x193)](_0x43ac7a){var _0x5f1915=_0x51303a;if(this[_0x5f1915(0x39d)][_0x5f1915(0x371)](_0x43ac7a))return this['_sessions']['get'](_0x43ac7a);this[_0x5f1915(0x3eb)]();const _0x5cf153=this[_0x5f1915(0x1ff)][_0x5f1915(0x372)](It,_0x43ac7a,this[_0x5f1915(0x272)][_0x5f1915(0x212)]());return this['_sessions'][_0x5f1915(0x34c)](_0x43ac7a,_0x5cf153),_0x5cf153;}[_0x51303a(0x407)](_0x4a5879){var _0x140312=_0x51303a,_0x1c5b29;const _0x4de70b=this[_0x140312(0x39d)][_0x140312(0x227)](_0x4a5879);_0x4de70b&&(this[_0x140312(0x39d)]['delete'](_0x4a5879),_0x4de70b[_0x140312(0x3cc)]()),this[_0x140312(0x39d)][_0x140312(0x1ad)]||(_0x1c5b29=this[_0x140312(0x247)])==null||_0x1c5b29['close']();}[_0x51303a(0x31a)](){var _0x21f6b8=_0x51303a;this[_0x21f6b8(0x2d5)]=0x0,this[_0x21f6b8(0x168)]!=null&&(clearTimeout(this[_0x21f6b8(0x168)]),this[_0x21f6b8(0x168)]=null),this[_0x21f6b8(0x3d7)]();}async[_0x51303a(0x3f1)](){var _0x4f645b=_0x51303a,_0x3a9135,_0xc3b876,_0x241302;const _0x4afcdd=this['_configService'][_0x4f645b(0x2ec)](q),_0xb1496b=(_0x3a9135=_0x4afcdd==null?void 0x0:_0x4afcdd[_0x4f645b(0x2c3)])!=null?_0x3a9135:On;return(_0x241302=(_0xc3b876=(await this[_0x4f645b(0x42c)][_0x4f645b(0x227)](_0xb1496b,{'headers':{'Content-Type':_0x4f645b(0x437)}}))[_0x4f645b(0x1df)])==null?void 0x0:_0xc3b876[_0x4f645b(0x3e4)])!=null?_0x241302:'';}[_0x51303a(0x217)](_0x413b42){var _0x1b6144=_0x51303a,_0x143efc,_0x333595;const _0x41956b=this[_0x1b6144(0x2c0)][_0x1b6144(0x2ec)](Rn),_0x333725=this['_configService'][_0x1b6144(0x2ec)](q),_0x3fa79b=(_0x333595=(_0x143efc=_0x333725==null?void 0x0:_0x333725[_0x1b6144(0x2ce)])!=null?_0x143efc:_0x41956b)!=null?_0x333595:bn,_0x527294=typeof window>'u'?new URL(_0x3fa79b):new URL(_0x3fa79b,window[_0x1b6144(0x215)][_0x1b6144(0x37f)]);_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)](_0x1b6144(0x1f2),_0x413b42);const _0x230088=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b6144(0x215)]['search']);return _0x230088[_0x1b6144(0x227)]('runId')&&_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)]('runId',_0x230088['get']('runId')),_0x527294[_0x1b6144(0x1d9)]();}async[_0x51303a(0x177)](){var _0x1c6dbc=_0x51303a;const _0x4dff5c=await this[_0x1c6dbc(0x3f1)](),_0x4d5ccd=this[_0x1c6dbc(0x217)](_0x4dff5c),_0x5036d3=this['_socketService']['createSocket'](_0x4d5ccd);return this[_0x1c6dbc(0x2eb)]=_0x5036d3,_0x5036d3;}async['_tryEnsureSocket'](){var _0x1f8fab=_0x51303a,_0x3af82d,_0x19bcb0;try{const _0xe98d7b=(_0x19bcb0=(_0x3af82d=this[_0x1f8fab(0x247)])!=null?_0x3af82d:this[_0x1f8fab(0x2eb)])!=null?_0x19bcb0:await this[_0x1f8fab(0x177)]();if(_0xe98d7b){const _0x42e2ac=_0xe98d7b['send'];_0xe98d7b['send']=_0x3a65b5=>(this[_0x1f8fab(0x449)](),_0x42e2ac[_0x1f8fab(0x277)](_0xe98d7b,[_0x3a65b5])),_0xe98d7b[_0x1f8fab(0x179)]['subscribe'](_0x3f46e5=>this['_onMessage'](_0xe98d7b,_0x3f46e5)),_0xe98d7b[_0x1f8fab(0x344)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x5944af=>this['_logService'][_0x1f8fab(0x16e)](_0x1f8fab(0x15d),_0x5944af)),_0xe98d7b[_0x1f8fab(0x16c)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](()=>{var _0x326730=_0x1f8fab;this[_0x326730(0x2d9)](_0xe98d7b);}),_0xe98d7b[_0x1f8fab(0x27d)][_0x1f8fab(0x380)](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x2177d5=>{var _0x59e6f6=_0x1f8fab;this['_logService'][_0x59e6f6(0x1cf)](_0x59e6f6(0x1be),'socket\x20close',_0x2177d5),this[_0x59e6f6(0x381)]();});}}catch(_0x3e0ccf){this[_0x1f8fab(0x257)]['error'](_0x3e0ccf),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3eda72){var _0x329bd5=_0x51303a;this['_logService'][_0x329bd5(0x1cf)](_0x329bd5(0x1be),_0x329bd5(0x181)),_0x3eda72[_0x329bd5(0x229)]({'cmd':F['HELLO']}),this[_0x329bd5(0x449)]();}['_onOffline'](){var _0xb2cd1b=_0x51303a;this[_0xb2cd1b(0x27f)]=!0x1,this[_0xb2cd1b(0x2eb)]=null,this['_status$']['next'](Te[_0xb2cd1b(0x2dd)]),this['_socket$'][_0xb2cd1b(0x334)](null),this[_0xb2cd1b(0x22a)](),this[_0xb2cd1b(0x308)]();}[_0x51303a(0x381)](){var _0x19f764=_0x51303a,_0x4bf6bd;this['_onOffline'](),this['_retryCount']<((_0x4bf6bd=this[_0x19f764(0x2c0)][_0x19f764(0x2ec)](Pn))!=null?_0x4bf6bd:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x19f764(0x3d7)]()):this[_0x19f764(0x31e)][_0x19f764(0x313)]({'id':se['SOCKET_FAILED']});}[_0x51303a(0x3d7)](){var _0x1e1282=_0x51303a,_0x578f5e;const _0x27d549=this[_0x1e1282(0x2d5)],_0x4a57ca=this[_0x1e1282(0x2c0)][_0x1e1282(0x2ec)](q),_0x13b060=_0x27d549===0x0?0x0:((_0x578f5e=_0x4a57ca==null?void 0x0:_0x4a57ca[_0x1e1282(0x1a1)])!=null?_0x578f5e:Dn)*0x2**_0x27d549;this[_0x1e1282(0x168)]=setTimeout(()=>{var _0x5d8a00=_0x1e1282;clearTimeout(this[_0x5d8a00(0x168)]),this[_0x5d8a00(0x168)]=null,this[_0x5d8a00(0x3eb)]();},_0x13b060),this[_0x1e1282(0x2d5)]+=0x1;}['_onMessage'](_0x425e96,_0xcb53e2){var _0x1dceba=_0x51303a;const {cmd:_0x51b8e9}=_0xcb53e2;_0x51b8e9===F[_0x1dceba(0x204)]&&!this[_0x1dceba(0x27f)]&&(_0x425e96['memberID']=_0xcb53e2[_0x1dceba(0x1cd)][_0x1dceba(0x2e5)],this[_0x1dceba(0x272)][_0x1dceba(0x334)](_0x425e96),this['_status$'][_0x1dceba(0x334)](Te[_0x1dceba(0x3e9)]),this['_socketReady']=!0x0,this[_0x1dceba(0x2eb)]=null),_0x51b8e9===F[_0x1dceba(0x342)]&&this['_clearTimeoutTimer'](),this[_0x1dceba(0x449)]();}[_0x51303a(0x449)](){var _0x31369b=_0x51303a,_0x5ed4b9;this['_clearHeartbeatTimer'](),this[_0x31369b(0x18b)]=setTimeout(()=>this[_0x31369b(0x29f)](),(_0x5ed4b9=this['_configService'][_0x31369b(0x2ec)](yn))!=null?_0x5ed4b9:Nn);}['_sendHeartbeat'](){var _0x25b451=_0x51303a;this[_0x25b451(0x247)][_0x25b451(0x229)]({'cmd':F[_0x25b451(0x342)]}),this[_0x25b451(0x3ea)]();}[_0x51303a(0x3ea)](){var _0x48d717=_0x51303a,_0x5defe8;this['_timeoutTimer']=setTimeout(()=>this[_0x48d717(0x381)](),(_0x5defe8=this['_configService'][_0x48d717(0x2ec)](Si))!=null?_0x5defe8:Ei);}[_0x51303a(0x308)](){var _0x3a10c5=_0x51303a;this[_0x3a10c5(0x18b)]!=null&&(clearTimeout(this[_0x3a10c5(0x18b)]),this[_0x3a10c5(0x18b)]=null);}['_clearTimeoutTimer'](){var _0x3355cf=_0x51303a;this[_0x3355cf(0x2a7)]!=null&&(clearTimeout(this[_0x3355cf(0x2a7)]),this[_0x3355cf(0x2a7)]=null);}};Le=er([ge(0x0,_0x2a2c27(_0x2ac98c)),ge(0x1,_0x7c7e3b),ge(0x2,_0x197b9e),ge(0x3,Ci),ge(0x4,_0x2a2c27(_0x43259a)),ge(0x5,_0x2a2c27(pe)),ge(0x6,_0x1a8278(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x51303a(0x1d9)](0x10)[_0x51303a(0x172)](0x1));function tr(_0x56569e,_0x46407=0x0){var _0x2c05a9=_0x51303a;return(V[_0x56569e[_0x46407+0x0]]+V[_0x56569e[_0x46407+0x1]]+V[_0x56569e[_0x46407+0x2]]+V[_0x56569e[_0x46407+0x3]]+'-'+V[_0x56569e[_0x46407+0x4]]+V[_0x56569e[_0x46407+0x5]]+'-'+V[_0x56569e[_0x46407+0x6]]+V[_0x56569e[_0x46407+0x7]]+'-'+V[_0x56569e[_0x46407+0x8]]+V[_0x56569e[_0x46407+0x9]]+'-'+V[_0x56569e[_0x46407+0xa]]+V[_0x56569e[_0x46407+0xb]]+V[_0x56569e[_0x46407+0xc]]+V[_0x56569e[_0x46407+0xd]]+V[_0x56569e[_0x46407+0xe]]+V[_0x56569e[_0x46407+0xf]])[_0x2c05a9(0x2c4)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x31bb9c=_0x51303a;if(!ut){if(typeof crypto>'u'||!crypto[_0x31bb9c(0x1dd)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x31bb9c(0x1dd)][_0x31bb9c(0x1af)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x51303a(0x2d2)]&&crypto[_0x51303a(0x2d2)][_0x51303a(0x1af)](crypto),qt={'randomUUID':rr};function sr(_0x44f6c2,_0x28ddb6,_0x563757){var _0x4b57aa=_0x51303a,_0x3b3813,_0x5ab98a,_0x50a85a;if(qt[_0x4b57aa(0x2d2)]&&!_0x44f6c2)return qt[_0x4b57aa(0x2d2)]();_0x44f6c2=_0x44f6c2||{};const _0x43e4af=(_0x50a85a=(_0x5ab98a=_0x44f6c2['random'])!=null?_0x5ab98a:(_0x3b3813=_0x44f6c2['rng'])==null?void 0x0:_0x3b3813[_0x4b57aa(0x270)](_0x44f6c2))!=null?_0x50a85a:nr();if(_0x43e4af[_0x4b57aa(0x2b9)]<0x10)throw new Error(_0x4b57aa(0x226));return _0x43e4af[0x6]=_0x43e4af[0x6]&0xf|0x40,_0x43e4af[0x8]=_0x43e4af[0x8]&0x3f|0x80,tr(_0x43e4af);}const J=_0x32ae6a(_0x51303a(0x255));function so(_0x4f549d){var _0x2eda7b=_0x51303a;return _0x2eda7b(0x1fd)+_0x4f549d;}var or=Object[_0x51303a(0x281)],ar=Object[_0x51303a(0x150)],cr=(_0x415712,_0x36cda9,_0x4d29a2,_0x4459c6)=>{for(var _0x3743d7=_0x4459c6>0x1?void 0x0:_0x4459c6?ar(_0x36cda9,_0x4d29a2):_0x36cda9,_0xfa2918=_0x415712['length']-0x1,_0x510d80;_0xfa2918>=0x0;_0xfa2918--)(_0x510d80=_0x415712[_0xfa2918])&&(_0x3743d7=(_0x4459c6?_0x510d80(_0x36cda9,_0x4d29a2,_0x3743d7):_0x510d80(_0x3743d7))||_0x3743d7);return _0x4459c6&&_0x3743d7&&or(_0x36cda9,_0x4d29a2,_0x3743d7),_0x3743d7;},dt=(_0x4fb969,_0xf529bb)=>(_0x272c67,_0x5d7894)=>_0xf529bb(_0x272c67,_0x5d7894,_0x4fb969);function hr(_0x5e9b62){var _0x24811a=_0x51303a;const {unitID:_0x501c8d,mutations:_0x3d5ffb}=_0x5e9b62;return{'unitId':_0x501c8d,'subUnitId':_0x3d5ffb[0x0]['params'][_0x24811a(0x3d4)]};}let it=class{constructor(_0x1478fc,_0x566759,_0xcccdbb){var _0x40a5e5=_0x51303a;this[_0x40a5e5(0x1ff)]=_0x1478fc,this[_0x40a5e5(0x223)]=_0x566759,this['_instanceService']=_0xcccdbb;}[_0x51303a(0x24f)](_0x238104){var _0x23a15a=_0x51303a,_0xd5b635,_0x44775d,_0x566d98,_0x27236a;const _0x22d23c=this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x112b24),{unitId:_0x265b78,subUnitId:_0x3c3cc2}=hr(_0x238104),_0x4f6152=_0x22d23c==null?void 0x0:_0x22d23c[_0x23a15a(0x3dc)](_0x265b78)[_0x23a15a(0x431)](),_0x52b145=(_0x44775d=(_0xd5b635=this[_0x23a15a(0x43f)]['getUnit'](_0x265b78))==null?void 0x0:_0xd5b635[_0x23a15a(0x420)]())==null?void 0x0:_0x44775d[_0x23a15a(0x324)]();if(_0x4f6152['length']===0x0||!_0x265b78||!_0x3c3cc2)return;const _0xa42453=[{'id':_0xf5e32b['id'],'params':{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x299834[_0x23a15a(0x35b)](_0x4f6152)}}],_0x570aae=this['_transformService'][_0x23a15a(0x405)](_0x238104,_0xa42453);if(!_0x122f14(_0x570aae))throw _0x570aae[_0x23a15a(0x16e)];const _0x1640f8=(_0x27236a=(_0x566d98=_0x570aae['m2Prime'][0x0])==null?void 0x0:_0x566d98[_0x23a15a(0x1b5)])==null?void 0x0:_0x27236a[_0x23a15a(0x362)];if(Array[_0x23a15a(0x3e6)](_0x1640f8)&&_0x1640f8[_0x23a15a(0x2b9)]){if(_0x1640f8[_0x23a15a(0x2b9)]===_0xa42453[0x0][_0x23a15a(0x1b5)][_0x23a15a(0x362)][_0x23a15a(0x2b9)]&&_0x1640f8['every']((_0x10d5ee,_0x365877)=>_0x81784f['equals'](_0x10d5ee[_0x23a15a(0x3d9)],_0xa42453[0x0]['params'][_0x23a15a(0x362)][_0x365877][_0x23a15a(0x3d9)])))return;this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x5c01af)[_0x23a15a(0x252)](_0xf5e32b['id'],{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x1640f8});}}};it=cr([dt(0x0,_0x2a2c27(_0x2ac98c)),dt(0x1,_0x1aa332),dt(0x2,_0xd9ad76)],it);const ht=_0x32ae6a(_0x51303a(0x25f));var bi=(_0x4766b5=>(_0x4766b5[_0x4766b5[_0x51303a(0x2c9)]=0x0]=_0x51303a(0x2c9),_0x4766b5[_0x4766b5[_0x51303a(0x151)]=0x1]='OTHER_CLIENTS_EDITING',_0x4766b5))(bi||{});const _r=new Set([_0x2ce3d3['id']]);function zt(_0x966489,_0x4a7023,_0x24daa4,_0x358e1f,_0x36f52d){var _0x5518ba=_0x51303a,_0x51b7df,_0x5acab8,_0x15978c,_0x467244;const _0x29a3b7=[];for(const _0x1bb17d of _0x966489)if(_r[_0x5518ba(0x371)](_0x1bb17d['id'])){if(_0x29a3b7[_0x5518ba(0x2b9)]>0x0)break;_0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);break;}else _0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);const _0x19dc50=(_0x5acab8=(_0x51b7df=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x51b7df['userID'])!=null?_0x5acab8:_0x5518ba(0x326),_0xeda030=(_0x467244=(_0x15978c=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x15978c[_0x5518ba(0x2e5)])!=null?_0x467244:_0x5518ba(0x326);return{'changeset':{'unitID':_0x4a7023,'type':_0x24f5bb(_0x24daa4[_0x5518ba(0x291)](_0x4a7023)),'baseRev':_0x358e1f['getCurrentRevOfUnit'](_0x4a7023),'revision':0x0,'userID':_0x19dc50,'memberID':_0xeda030,'mutations':_0x29a3b7},'pendingMutations':_0x966489[_0x5518ba(0x172)](_0x29a3b7[_0x5518ba(0x2b9)])};}function lr(_0x4fac70,_0x109b19,_0x11a001,_0x276c24,_0x387b8d){var _0x33af34=_0x51303a,_0x456cce,_0x49496d,_0x4b9bad,_0x4de248;const _0x2a85d5=[_0x4fac70['reduce']((_0x21bf4d,_0x48d41b)=>{var _0x55e860=_0x1f09,_0x26ae55;const {id:_0x4156f6}=_0x21bf4d,{id:_0x116d76,type:_0x583fe4}=_0x48d41b,_0x6f1fcc=(_0x26ae55=_0x21bf4d[_0x55e860(0x1b5)])!=null?_0x26ae55:{'actions':null},_0xb30497=_0x48d41b[_0x55e860(0x1b5)];if(_0x4156f6&&_0x4156f6!==_0x116d76)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4156f6+_0x55e860(0x304)+_0x116d76+'.');return{..._0x21bf4d,'id':_0x116d76,'type':_0x583fe4,'params':{'unitId':_0xb30497['unitId'],'textRanges':_0xb30497['textRanges'],'actions':_0x8c9ea0[_0x55e860(0x15b)](_0x6f1fcc[_0x55e860(0x398)],_0xb30497[_0x55e860(0x398)])}};},{})],_0x56dba8=(_0x49496d=(_0x456cce=_0x387b8d['getCurrentUser']())==null?void 0x0:_0x456cce[_0x33af34(0x433)])!=null?_0x49496d:_0x33af34(0x326),_0x22ee91=(_0x4de248=(_0x4b9bad=_0x387b8d[_0x33af34(0x432)]())==null?void 0x0:_0x4b9bad[_0x33af34(0x2e5)])!=null?_0x4de248:_0x33af34(0x326);return{'changeset':{'unitID':_0x109b19,'type':_0x24f5bb(_0x11a001['getUnitType'](_0x109b19)),'baseRev':_0x276c24[_0x33af34(0x1de)](_0x109b19),'revision':0x0,'userID':_0x56dba8,'memberID':_0x22ee91,'mutations':_0x2a85d5},'pendingMutations':[]};}function Oi(_0x544383,_0x3114dc){var _0x1a1a8c=_0x51303a;const _0x3b25ed=new _0x5d8dc9(0x1);return setTimeout(()=>_0x3b25ed['next'](_0x3114dc),_0x544383),_0x3b25ed[_0x1a1a8c(0x212)]()[_0x1a1a8c(0x380)](_0x81314e(0x1));}const ur={'id':_0x8ec12b['id'],'type':_0x42bf5d[_0x51303a(0x1fb)],'params':{}};var dr=Object[_0x51303a(0x281)],fr=Object[_0x51303a(0x150)],Re=(_0x1e248d,_0x10d496,_0x212998,_0x30081a)=>{var _0x4dbc65=_0x51303a;for(var _0x13b5ce=_0x30081a>0x1?void 0x0:_0x30081a?fr(_0x10d496,_0x212998):_0x10d496,_0x11bfe5=_0x1e248d[_0x4dbc65(0x2b9)]-0x1,_0x3de7b8;_0x11bfe5>=0x0;_0x11bfe5--)(_0x3de7b8=_0x1e248d[_0x11bfe5])&&(_0x13b5ce=(_0x30081a?_0x3de7b8(_0x10d496,_0x212998,_0x13b5ce):_0x3de7b8(_0x13b5ce))||_0x13b5ce);return _0x30081a&&_0x13b5ce&&dr(_0x10d496,_0x212998,_0x13b5ce),_0x13b5ce;},A=(_0x3b0330,_0x75b90a)=>(_0x195dcb,_0xcda67c)=>_0x75b90a(_0x195dcb,_0xcda67c,_0x3b0330),yi=(_0x58a0d4=>(_0x58a0d4[_0x51303a(0x329)]='not_collab',_0x58a0d4[_0x51303a(0x39c)]=_0x51303a(0x20e),_0x58a0d4['PENDING']=_0x51303a(0x15c),_0x58a0d4['AWAITING']='awaiting',_0x58a0d4[_0x51303a(0x41d)]=_0x51303a(0x1fe),_0x58a0d4[_0x51303a(0x343)]=_0x51303a(0x206),_0x58a0d4[_0x51303a(0x30e)]=_0x51303a(0x210),_0x58a0d4[_0x51303a(0x2dd)]=_0x51303a(0x3f2),_0x58a0d4))(yi||{});const Ni=0xea60;class be{constructor(_0x35b943,_0xa195cd,_0x5d34ef,_0x4eb19c,_0x3cfc91,_0x47435e,_0x198810,_0x27693e,_0x3b7da9){var _0x4da3a2=_0x51303a;N(this,_0x4da3a2(0x3cf),null),N(this,_0x4da3a2(0x1ea),[]),(this[_0x4da3a2(0x40d)]=_0x35b943,this[_0x4da3a2(0x390)]=_0xa195cd,this['_handler']=_0x3cfc91,this[_0x4da3a2(0x321)]=_0x47435e,this[_0x4da3a2(0x448)]=_0x198810,this['_revisionService']=_0x27693e,this[_0x4da3a2(0x303)]=_0x3b7da9,this['_awaitingChangeset']=_0x5d34ef,this[_0x4da3a2(0x1ea)]=_0x4eb19c);}['_checkMissing'](_0x15ee1a){var _0x499a12=_0x51303a;const _0x7f790d=this['_revisionService'][_0x499a12(0x1de)](this[_0x499a12(0x40d)]);return _0x15ee1a['revision']>_0x7f790d+0x1?(this[_0x499a12(0x392)][_0x499a12(0x3f4)]({'from':_0x7f790d,'to':_0x15ee1a[_0x499a12(0x1db)]-0x1}),!0x0):!0x1;}[_0x51303a(0x2e4)](_0x5dd6e0){var _0x376d92=_0x51303a;this[_0x376d92(0x448)][_0x376d92(0x2ad)](this[_0x376d92(0x40d)],_0x5dd6e0);}[_0x51303a(0x2d3)](_0x6af358){var _0x24242b=_0x51303a,_0x4b816a,_0x1863ca;(_0x1863ca=(_0x4b816a=this[_0x24242b(0x392)])[_0x24242b(0x1d7)])==null||_0x1863ca[_0x24242b(0x270)](_0x4b816a,_0x6af358);}[_0x51303a(0x2ab)](_0x1e5c74){var _0x2316a6=_0x51303a,_0x2c458b,_0x419bd5;return(_0x419bd5=(_0x2c458b=this[_0x2316a6(0x392)])[_0x2316a6(0x32c)])==null?void 0x0:_0x419bd5[_0x2316a6(0x270)](_0x2c458b,_0x1e5c74);}[_0x51303a(0x21d)](_0x5562fa){var _0x54249d=_0x51303a,_0x3379e4,_0x35e556;return(_0x35e556=(_0x3379e4=this[_0x54249d(0x392)])[_0x54249d(0x3a0)])==null?void 0x0:_0x35e556[_0x54249d(0x270)](_0x3379e4,_0x5562fa);}[_0x51303a(0x286)](_0x4c532c){var _0xcc1a74=_0x51303a,_0x1ff344,_0x496682,_0x594387;return(_0x594387=(_0x496682=(_0x1ff344=this['_handler'])[_0xcc1a74(0x1e2)])==null?void 0x0:_0x496682[_0xcc1a74(0x270)](_0x1ff344,_0x4c532c))!=null?_0x594387:_0x4c532c;}[_0x51303a(0x191)](_0x15d1ba){var _0x2fa108=_0x51303a,_0x19e02e,_0x517f2e,_0x287b1d;return(_0x287b1d=(_0x517f2e=(_0x19e02e=this[_0x2fa108(0x392)])[_0x2fa108(0x36a)])==null?void 0x0:_0x517f2e[_0x2fa108(0x270)](_0x19e02e,_0x15d1ba))!=null?_0x287b1d:_0x15d1ba;}[_0x51303a(0x2d0)](_0x5cbf04){var _0x5107d3=_0x51303a,_0x4d8686,_0x4d2d8f;if(this[_0x5107d3(0x390)]===Q['UNIVER_DOC']){const {unitID:_0x27293c,mutations:_0x3bddab,memberID:_0x3ac773}=_0x5cbf04,_0x5c285f=_0x3bddab[0x0][_0x5107d3(0x1b5)][_0x5107d3(0x336)];Array['isArray'](_0x5c285f)&&_0x5c285f[_0x5107d3(0x2b9)]>0x0&&((_0x4d2d8f=(_0x4d8686=this[_0x5107d3(0x392)])[_0x5107d3(0x161)])==null||_0x4d2d8f[_0x5107d3(0x270)](_0x4d8686,{'unitID':_0x27293c,'memberID':_0x3ac773,'textRanges':_0x5c285f}));}}[_0x51303a(0x3d2)](){var _0x25417a=_0x51303a,_0x394cb1;(_0x394cb1=this[_0x25417a(0x303)])==null||_0x394cb1['updateOfflineData'](this[_0x25417a(0x40d)],this[_0x25417a(0x390)],this[_0x25417a(0x3cf)],this[_0x25417a(0x1ea)]);}[_0x51303a(0x2f5)](){var _0x33ff9e=_0x51303a;return this[_0x33ff9e(0x3e1)][_0x33ff9e(0x1de)](this['unitID']);}[_0x51303a(0x3a2)](){var _0x1d1cfe=_0x51303a;this['_revisionService'][_0x1d1cfe(0x2ff)](this[_0x1d1cfe(0x40d)]);}[_0x51303a(0x1a3)](_0x2ec1e1){var _0x5af713=_0x51303a,_0x4144ce;let _0x2105ea=this[_0x5af713(0x286)](_0x2ec1e1);_0x2105ea=this['_transformRemoteChangesetByStateCache'](_0x2105ea);const _0x518a12=_0x26a0b3(_0x2105ea[_0x5af713(0x325)],this[_0x5af713(0x321)],{'fromCollab':!0x0});if(!_0x518a12[_0x5af713(0x2cf)])throw _0x518a12[_0x5af713(0x16e)]instanceof Error?_0x518a12[_0x5af713(0x16e)]:new Error((_0x4144ce=_0x518a12['error'])!=null?_0x4144ce:_0x5af713(0x1eb));this[_0x5af713(0x2ab)](_0x2105ea),this[_0x5af713(0x21d)](_0x2105ea),this[_0x5af713(0x2e4)](_0x2ec1e1),this['_transformSelections'](_0x2105ea),this['_syncEditingCollabCursor'](_0x2105ea),this[_0x5af713(0x3a2)]();}}let De=class extends be{constructor(_0x4f0fe4,_0x19b554,_0x19f71e,_0x34c565,_0x1d096a,_0x5df649,_0xc2e9e3,_0x2c3c9d,_0x3598c2,_0x796c47){var _0xc5aabf=_0x51303a;super(_0x4f0fe4,_0x19b554,null,[],_0x19f71e,_0xc2e9e3,_0x5df649,_0x34c565,_0x796c47),N(this,_0xc5aabf(0x3c2),'synced'),(this[_0xc5aabf(0x1ff)]=_0x1d096a,this[_0xc5aabf(0x257)]=_0x2c3c9d,this[_0xc5aabf(0x223)]=_0x3598c2,this[_0xc5aabf(0x19c)]=_0x796c47);}['appendMutation'](_0x203d32){var _0x4486d2=_0x51303a;const _0x44db0d=this[_0x4486d2(0x1ff)]['createInstance'](oe,this[_0x4486d2(0x40d)],this['type'],[_0x203d32],this['_handler']);return _0x44db0d[_0x4486d2(0x1d0)](),_0x44db0d['_updateLocalCache'](),_0x44db0d;}['onRemoteChangeset'](_0x1fae49){var _0x4e4b4e=_0x51303a;if(this[_0x4e4b4e(0x38f)](_0x1fae49))return this[_0x4e4b4e(0x1ff)][_0x4e4b4e(0x372)](te,this[_0x4e4b4e(0x40d)],this[_0x4e4b4e(0x390)],null,[],null,[_0x1fae49],this[_0x4e4b4e(0x392)]);try{const _0x32db3b=this[_0x4e4b4e(0x223)][_0x4e4b4e(0x405)](_0x1fae49,[ur]);if(_0x122f14(_0x32db3b)){const {c1Prime:_0x7ff38}=_0x32db3b;return this['_executeRemoteChangeset'](_0x7ff38),this;}throw _0x32db3b[_0x4e4b4e(0x16e)];}catch(_0x30df32){return this[_0x4e4b4e(0x257)]['error'](_0x30df32),this['_onConflict'](!0x1);}}['_onConflict'](_0x57ecda){var _0x300ee8=_0x51303a;return this[_0x300ee8(0x1ff)][_0x300ee8(0x372)](de,this[_0x300ee8(0x40d)],this[_0x300ee8(0x390)],null,[],this[_0x300ee8(0x392)],_0x57ecda);}[_0x51303a(0x3bd)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5d461f=_0x51303a;throw new Error(_0x5d461f(0x1ba));}['onRemoteRetry'](){return this;}[_0x51303a(0x37a)](){var _0x2e45c6=_0x51303a;return this['_injector']['createInstance'](fe,this[_0x2e45c6(0x40d)],this[_0x2e45c6(0x390)],null,[],this[_0x2e45c6(0x392)]);}[_0x51303a(0x267)](){return this;}['resend'](){var _0x132dcb=_0x51303a;throw new Error(_0x132dcb(0x29e));}['fetchMiss'](){var _0x2c5fcf=_0x51303a;const _0x5682b0=this['_revisionService'][_0x2c5fcf(0x1de)](this[_0x2c5fcf(0x40d)]);return this['_handler'][_0x2c5fcf(0x3f4)]({'from':_0x5682b0,'to':0x0}),this[_0x2c5fcf(0x1ff)][_0x2c5fcf(0x372)](te,this[_0x2c5fcf(0x40d)],this[_0x2c5fcf(0x390)],null,[],null,[],this[_0x2c5fcf(0x392)]);}};De=Re([A(0x3,_0x2a2c27(_0x408fec)),A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x277f73),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x1a8278(J))],De);let oe=class extends be{constructor(_0x4929d6,_0x59169d,_0x34322a,_0x2961ba,_0x346726,_0x1e35ee,_0x4f02d3,_0x274e94,_0x4b837f,_0x381057,_0x16a804,_0x2e56a5,_0x36f275,_0x5ccc39){var _0xe747a=_0x51303a;super(_0x4929d6,_0x59169d,null,_0x34322a,_0x2961ba,_0x4b837f,_0x36f275,_0x1e35ee,_0x5ccc39),N(this,_0xe747a(0x3c2),_0xe747a(0x15c)),N(this,_0xe747a(0x3a1),null),N(this,_0xe747a(0x361),null),(this[_0xe747a(0x1ff)]=_0x346726,this['_memberService']=_0x4f02d3,this[_0xe747a(0x257)]=_0x274e94,this['_configService']=_0x381057,this[_0xe747a(0x223)]=_0x16a804,this[_0xe747a(0x365)]=_0x2e56a5);}['appendMutation'](_0x1eb7fd){var _0x34c7ac=_0x51303a;return this['_pendingMutations']['push'](_0x1eb7fd),this[_0x34c7ac(0x3d2)](),this;}[_0x51303a(0x33d)](_0x774b4b){var _0x392f28=_0x51303a;if(this['_checkMissing'](_0x774b4b))return this[_0x392f28(0x26a)](),this['_injector']['createInstance'](te,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],null,this[_0x392f28(0x1ea)],null,[_0x774b4b],this[_0x392f28(0x392)]);try{const _0x1e0534=this[_0x392f28(0x223)]['transformMutationsWithChangeset'](_0x774b4b,this['_pendingMutations']);if(_0x122f14(_0x1e0534)){const {c1Prime:_0x281fa3,m2Prime:_0x1dc4d2}=_0x1e0534;this[_0x392f28(0x1a3)](_0x281fa3);const _0x14a32c=this['_injector'][_0x392f28(0x372)](oe,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],_0x1dc4d2,this[_0x392f28(0x392)]);this[_0x392f28(0x26a)]();const _0x59021c=new Date()[_0x392f28(0x198)](),_0x22368c=this[_0x392f28(0x3a1)]?Math[_0x392f28(0x298)](this[_0x392f28(0x3a1)]-_0x59021c,0x0):this[_0x392f28(0x248)]();return _0x14a32c[_0x392f28(0x1d0)](_0x22368c),_0x14a32c;}throw _0x1e0534[_0x392f28(0x16e)];}catch(_0x47b35a){return this[_0x392f28(0x257)]['error'](_0x47b35a),this[_0x392f28(0x14c)](!0x1);}}['onRemoteAck'](){var _0x25abcf=_0x51303a;throw new Error(_0x25abcf(0x39b));}[_0x51303a(0x216)](){var _0x9e647e=_0x51303a;throw new Error(_0x9e647e(0x1c6));}[_0x51303a(0x18d)](){return this;}[_0x51303a(0x37a)](){var _0x2cfe0c=_0x51303a;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0x2cfe0c(0x40d)],this[_0x2cfe0c(0x390)],null,this[_0x2cfe0c(0x1ea)],this[_0x2cfe0c(0x392)]);}['toggleOnline'](){return this;}[_0x51303a(0x1d0)](_0x4a5c3a){var _0x4ac5ad=_0x51303a;const _0x9c4e25=_0x4a5c3a!=null?_0x4a5c3a:this[_0x4ac5ad(0x248)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4ac5ad(0x198)]()+_0x9c4e25,this['_sendingTimer']=setTimeout(()=>{var _0x346adf=_0x4ac5ad;this[_0x346adf(0x26a)]();let _0x4cb6e3=null;switch(this[_0x346adf(0x390)]){case Q[_0x346adf(0x43d)]:{_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this[_0x346adf(0x365)],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x346adf(0x351)](_0x22e488=>_0x22e488['id']===_0x4e9af9['id'])?_0x4cb6e3=lr(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this['_memberService']):_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}default:throw new Error(_0x346adf(0x331)+this[_0x346adf(0x390)]+_0x346adf(0x1ac));}const {changeset:_0x4fa4aa,pendingMutations:_0x755937}=_0x4cb6e3;this['_handler'][_0x346adf(0x3f7)](_0x4fa4aa);const _0x297c0e=_0x755937[_0x346adf(0x2b9)]?this[_0x346adf(0x1ff)][_0x346adf(0x372)](ae,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,_0x755937,this[_0x346adf(0x392)],void 0x0):this[_0x346adf(0x1ff)][_0x346adf(0x372)](ue,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,this['_handler']);_0x297c0e['_updateLocalCache'](),this[_0x346adf(0x392)][_0x346adf(0x30f)](this,_0x297c0e);},_0x9c4e25);}[_0x51303a(0x248)](){var _0x3f69a7=_0x51303a,_0x353088;const _0x9c1233=this[_0x3f69a7(0x2c0)]['getConfig'](q);return(_0x353088=_0x9c1233==null?void 0x0:_0x9c1233[_0x3f69a7(0x350)])!=null?_0x353088:Cn;}[_0x51303a(0x39e)](){var _0x37469d=_0x51303a;throw new Error(_0x37469d(0x2c5));}[_0x51303a(0x26a)](){var _0x3af469=_0x51303a;this[_0x3af469(0x361)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3af469(0x361)]=null);}['_onConflict'](_0x591ef1){var _0x2e696e=_0x51303a;return this[_0x2e696e(0x26a)](),this[_0x2e696e(0x1ff)][_0x2e696e(0x372)](de,this[_0x2e696e(0x40d)],this[_0x2e696e(0x390)],null,this[_0x2e696e(0x1ea)],this['_handler'],_0x591ef1);}};oe=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x2a2c27(xe)),A(0x7,_0x7c7e3b),A(0x8,_0x5c01af),A(0x9,_0x197b9e),A(0xa,_0x1aa332),A(0xb,_0xd9ad76),A(0xc,_0x277f73),A(0xd,_0x1a8278(J))],oe);let ue=class extends be{constructor(_0x67f95f,_0x45e468,_0x24fde8,_0x34900b,_0x3d8e1b,_0x5d2f37,_0x30072e,_0x4215ca,_0xcd4fc0,_0x1403e1,_0x476fbc){var _0x3e49fe=_0x51303a;super(_0x67f95f,_0x45e468,_0x24fde8,[],_0x34900b,_0x30072e,_0x1403e1,_0x5d2f37,_0x476fbc),N(this,_0x3e49fe(0x3c2),_0x3e49fe(0x312)),N(this,_0x3e49fe(0x275),0x0),N(this,_0x3e49fe(0x155)),N(this,_0x3e49fe(0x28a)),(this[_0x3e49fe(0x1ff)]=_0x3d8e1b,this['_logService']=_0x4215ca,this[_0x3e49fe(0x223)]=_0xcd4fc0);}['appendMutation'](_0x102dd4){var _0x2bdad5=_0x51303a;this[_0x2bdad5(0x26a)]();const _0x370b7d=this[_0x2bdad5(0x1ff)][_0x2bdad5(0x372)](ae,this[_0x2bdad5(0x40d)],this[_0x2bdad5(0x390)],this[_0x2bdad5(0x3cf)],[_0x102dd4],this['_handler'],this['_resendTimer']);return _0x370b7d['_updateLocalCache'](),_0x370b7d;}[_0x51303a(0x33d)](_0x3f31ee){var _0x3af78a=_0x51303a;if(this[_0x3af78a(0x38f)](_0x3f31ee))return this[_0x3af78a(0x26a)](),this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](te,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],this[_0x3af78a(0x3cf)],[],null,[_0x3f31ee],this[_0x3af78a(0x392)]);try{const _0x5e80be=this[_0x3af78a(0x223)][_0x3af78a(0x335)]([_0x3f31ee],[this[_0x3af78a(0x3cf)]],!0x1);if(_0x4d0c02(_0x5e80be)){const {c1Prime:_0x46694e,c2Prime:_0x583391}=_0x5e80be;this['_executeRemoteChangeset'](_0x46694e[0x0]),_0x583391[0x0][_0x3af78a(0x2fc)]=this['_getCurrentRevision'](),this[_0x3af78a(0x26a)]();const _0x55be63=this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](ue,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],_0x583391[0x0],this[_0x3af78a(0x392)]);return _0x55be63[_0x3af78a(0x3d2)](),_0x55be63;}return this['_onConflict'](!0x1);}catch(_0x3edfbe){return this[_0x3af78a(0x257)][_0x3af78a(0x16e)](_0x3edfbe),this[_0x3af78a(0x14c)](!0x1);}}['onRemoteAck'](_0x5d77a4){var _0x2f3188=_0x51303a;this[_0x2f3188(0x26a)]();const _0x110b0f=this[_0x2f3188(0x3e1)][_0x2f3188(0x1de)](this[_0x2f3188(0x40d)]);if(_0x5d77a4[_0x2f3188(0x1db)]<_0x110b0f-0x1)return this;if(this[_0x2f3188(0x38f)](_0x5d77a4))return this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](te,this[_0x2f3188(0x40d)],this[_0x2f3188(0x390)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x2f3188(0x3a2)]();const _0x5e5b25=this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](De,this[_0x2f3188(0x40d)],this['type'],this[_0x2f3188(0x392)]);return _0x5e5b25[_0x2f3188(0x3d2)](),_0x5e5b25;}[_0x51303a(0x216)](_0x50fb2b){var _0x54ae03=_0x51303a;return this[_0x54ae03(0x14c)](!!(_0x50fb2b!=null&&_0x50fb2b[_0x54ae03(0x18a)]));}['onRemoteRetry'](_0x1e1028){var _0x26d5f2=_0x51303a;return this[_0x26d5f2(0x275)]>Ni?this[_0x26d5f2(0x37a)]():(this[_0x26d5f2(0x155)]=Oi(this[_0x26d5f2(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x1e1028[_0x26d5f2(0x24c)]}),this['_sender']=this[_0x26d5f2(0x155)][_0x26d5f2(0x315)](({reqId:_0x467dcd,timeout:_0x1b0605})=>{var _0x29162c=_0x26d5f2;this[_0x29162c(0x2f6)](_0x467dcd,_0x1b0605);}),this);}[_0x51303a(0x37a)](){var _0x2e69cd=_0x51303a;return this[_0x2e69cd(0x26a)](),this[_0x2e69cd(0x1ff)][_0x2e69cd(0x372)](fe,this['unitID'],this[_0x2e69cd(0x390)],this[_0x2e69cd(0x3cf)],[],this[_0x2e69cd(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x2ecc53=_0x51303a;this['_handler'][_0x2ecc53(0x3f7)](this[_0x2ecc53(0x3cf)]);}['_onConflict'](_0x306b8c){var _0x3ed88a=_0x51303a;return this['_clearScheduledTask'](),this[_0x3ed88a(0x1ff)]['createInstance'](de,this[_0x3ed88a(0x40d)],this[_0x3ed88a(0x390)],this['_awaitingChangeset'],[],this[_0x3ed88a(0x392)],_0x306b8c);}['_resendWithTimeout'](_0x5552cd,_0x5c8635){var _0x322889=_0x51303a,_0x3cdaa9;_0x5552cd===((_0x3cdaa9=this[_0x322889(0x3cf)])==null?void 0x0:_0x3cdaa9[_0x322889(0x24c)])&&(this[_0x322889(0x39e)](),this['_resendTimeout']=_0x5c8635===0x0?0x3e8:_0x5c8635*0x2);}[_0x51303a(0x26a)](){var _0x136315=_0x51303a,_0x468895;(_0x468895=this[_0x136315(0x28a)])==null||_0x468895[_0x136315(0x29d)](),this[_0x136315(0x275)]=0x0;}};ue=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x277f73),A(0xa,_0x1a8278(J))],ue);let ae=class extends be{constructor(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x2feab4,_0x1ccc38,_0x5bfb8d,_0x474c4c,_0x3fb970,_0x596eea,_0xeaaf7c,_0x591746){var _0x2d7b10=_0x51303a;super(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x474c4c,_0xeaaf7c,_0x5bfb8d,_0x591746),N(this,'status',_0x2d7b10(0x1fe)),N(this,_0x2d7b10(0x275),0x0),N(this,'_resendTimer'),N(this,_0x2d7b10(0x28a)),(this[_0x2d7b10(0x1ff)]=_0x1ccc38,this[_0x2d7b10(0x257)]=_0x3fb970,this[_0x2d7b10(0x223)]=_0x596eea,this['localCacheService']=_0x591746,_0x2feab4&&(this[_0x2d7b10(0x155)]=_0x2feab4,this[_0x2d7b10(0x28a)]=this['_resendTimer'][_0x2d7b10(0x315)](({reqId:_0x3510ed,timeout:_0x4026d9})=>{this['_resendWithTimeout'](_0x3510ed,_0x4026d9);})));}[_0x51303a(0x3e7)](_0x139d55){return this['_pendingMutations']['push'](_0x139d55),this;}[_0x51303a(0x33d)](_0x5c1a7){var _0x2e381a=_0x51303a;if(this[_0x2e381a(0x38f)](_0x5c1a7))return this[_0x2e381a(0x26a)](),this['_injector']['createInstance'](te,this['unitID'],this['type'],this[_0x2e381a(0x3cf)],this[_0x2e381a(0x1ea)],null,[_0x5c1a7],this[_0x2e381a(0x392)]);try{const _0x23bf99=this[_0x2e381a(0x223)]['transformChangesets']([_0x5c1a7],[this['_awaitingChangeset']],!0x1);if(_0x4d0c02(_0x23bf99)){const {c1Prime:_0x4f04bd,c2Prime:_0xf39a}=_0x23bf99,_0x10b2f9=this['_transformService'][_0x2e381a(0x405)](_0x4f04bd[0x0],this[_0x2e381a(0x1ea)]);if(_0x122f14(_0x10b2f9)){const {c1Prime:_0x567a7c,m2Prime:_0xa2622}=_0x10b2f9;return this[_0x2e381a(0x1a3)](_0x567a7c),_0xf39a[0x0][_0x2e381a(0x2fc)]=this[_0x2e381a(0x2f5)](),this['_clearScheduledTask'](),this[_0x2e381a(0x1ff)][_0x2e381a(0x372)](ae,this[_0x2e381a(0x40d)],this['type'],_0xf39a[0x0],_0xa2622,this[_0x2e381a(0x392)],void 0x0);}throw _0x10b2f9[_0x2e381a(0x16e)];}throw _0x23bf99[_0x2e381a(0x16e)];}catch(_0x4954cc){return this[_0x2e381a(0x257)][_0x2e381a(0x16e)](_0x4954cc),this[_0x2e381a(0x14c)](!0x1);}}['onRemoteAck'](_0xd9eeca){var _0x191b2a=_0x51303a;if(this[_0x191b2a(0x26a)](),this[_0x191b2a(0x38f)](_0xd9eeca))return this[_0x191b2a(0x1ff)][_0x191b2a(0x372)](te,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],null,this[_0x191b2a(0x1ea)],this[_0x191b2a(0x3cf)],[],this[_0x191b2a(0x392)]);this[_0x191b2a(0x3a2)]();const _0x166adb=this['_injector']['createInstance'](oe,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],this[_0x191b2a(0x1ea)],this[_0x191b2a(0x392)]);return _0x166adb[_0x191b2a(0x1d0)](),_0x166adb[_0x191b2a(0x3d2)](),_0x166adb;}[_0x51303a(0x216)](_0x42fcb9){var _0x27560e=_0x51303a;return this['_onConflict'](!!(_0x42fcb9!=null&&_0x42fcb9[_0x27560e(0x18a)]));}['onRemoteRetry'](_0x4c1cc4){var _0x1dc7a5=_0x51303a;return this[_0x1dc7a5(0x275)]>Ni?this[_0x1dc7a5(0x37a)]():(this[_0x1dc7a5(0x155)]=Oi(this[_0x1dc7a5(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x4c1cc4[_0x1dc7a5(0x24c)]}),this[_0x1dc7a5(0x28a)]=this['_resendTimer'][_0x1dc7a5(0x315)](({reqId:_0x524724,timeout:_0x21c8b9})=>{this['_resendWithTimeout'](_0x524724,_0x21c8b9);}),this);}[_0x51303a(0x37a)](){var _0x549152=_0x51303a;return this[_0x549152(0x26a)](),this[_0x549152(0x1ff)]['createInstance'](fe,this['unitID'],this[_0x549152(0x390)],this[_0x549152(0x3cf)],this['_pendingMutations'],this[_0x549152(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x106811=_0x51303a;this['_handler']['onSendChangeset'](this[_0x106811(0x3cf)]);}[_0x51303a(0x14c)](_0x295d52){var _0x2a03cf=_0x51303a;return this[_0x2a03cf(0x26a)](),this[_0x2a03cf(0x1ff)][_0x2a03cf(0x372)](de,this['unitID'],this[_0x2a03cf(0x390)],null,this[_0x2a03cf(0x1ea)],this[_0x2a03cf(0x392)],_0x295d52);}[_0x51303a(0x2f6)](_0x2a0ef5,_0x1d3f4b){var _0x5760fc=_0x51303a,_0x113bea;_0x2a0ef5===((_0x113bea=this['_awaitingChangeset'])==null?void 0x0:_0x113bea['reqId'])&&(this[_0x5760fc(0x39e)](),this[_0x5760fc(0x275)]=_0x1d3f4b===0x0?0x3e8:_0x1d3f4b*0x2);}['_clearScheduledTask'](){var _0x37cd49=_0x51303a,_0x3ff36c;(_0x3ff36c=this[_0x37cd49(0x28a)])==null||_0x3ff36c['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x2a2c27(_0x2ac98c)),A(0x7,_0x2a2c27(_0x408fec)),A(0x8,_0x5c01af),A(0x9,_0x7c7e3b),A(0xa,_0x1aa332),A(0xb,_0x277f73),A(0xc,_0x1a8278(J))],ae);let de=class extends be{constructor(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x73f786=!0x1,_0x3d35c3,_0x39ec6d,_0x5d3ef3,_0x19422f,_0xeb0357,_0x27003c,_0x4da2a2){var _0x3a35d0=_0x51303a;super(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x39ec6d,_0x5d3ef3,_0x19422f,_0x4da2a2),N(this,_0x3a35d0(0x3c2),_0x3a35d0(0x210)),(this['_isPermissionRej']=_0x73f786,this[_0x3a35d0(0x2e0)]=_0x3d35c3,this[_0x3a35d0(0x3fc)]=_0xeb0357,this[_0x3a35d0(0x31e)]=_0x27003c,this[_0x3a35d0(0x19c)]=_0x4da2a2,this[_0x3a35d0(0x299)](),this[_0x3a35d0(0x34b)](),this[_0x3a35d0(0x163)]());}['appendMutation'](){return this;}[_0x51303a(0x33d)](){return this;}[_0x51303a(0x3bd)](){return this;}[_0x51303a(0x216)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x110f25=_0x51303a;throw new Error(_0x110f25(0x358));}['_clearLocalCache'](){var _0x56586a=_0x51303a,_0x5d4f5a;(_0x5d4f5a=this['_localCacheService'])==null||_0x5d4f5a[_0x56586a(0x34e)](this[_0x56586a(0x40d)],this[_0x56586a(0x390)],null,[]);}['_showConflictNotification'](){var _0x5ea764=_0x51303a;this['_isPermissionRej']?this[_0x5ea764(0x31e)][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x309)]}):this['_collaborationUIEventService'][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x30e)]});}['_disableEditing'](){var _0x1fa412=_0x51303a;this[_0x1fa412(0x2e0)][_0x1fa412(0x238)](new _0x8a0fbb(this[_0x1fa412(0x40d)])['id'],!0x1);}};de=Re([A(0x6,_0x2a2c27(_0xc50f2c)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x2a2c27(_0x408fec)),A(0xa,_0x2a2c27(_0x414916)),A(0xb,_0x2a2c27(pe)),A(0xc,_0x1a8278(J))],de);let fe=class extends be{constructor(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x2be899,_0xe7e160,_0x4cae95,_0x1dfb83,_0x4cf1d4){super(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x4cae95,_0x1dfb83,_0xe7e160,_0x4cf1d4),N(this,'status','offline'),this['_injector']=_0x2be899;}[_0x51303a(0x3e7)](_0x168049){var _0x358147=_0x51303a;return this[_0x358147(0x1ea)][_0x358147(0x1c9)](_0x168049),this['_updateLocalCache'](),this;}[_0x51303a(0x33d)](_0x23aed2){var _0x2f4c12=_0x51303a;throw new Error(_0x2f4c12(0x21f));}[_0x51303a(0x3bd)](){var _0x22ca6b=_0x51303a;throw new Error(_0x22ca6b(0x25e));}[_0x51303a(0x216)](){var _0x44ad67=_0x51303a;throw new Error(_0x44ad67(0x21e));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){const {_injector:_0x3a8d99,_pendingMutations:_0x50b444,_awaitingChangeset:_0x805c3,unitID:_0x5de058,_handler:_0x5be689,type:_0x17456e}=this,_0x2e8af6=Di(_0x3a8d99,_0x5de058,_0x17456e,_0x805c3,_0x50b444,_0x5be689);return _0x2e8af6 instanceof oe?_0x2e8af6['_schedule']():(_0x2e8af6 instanceof ae||_0x2e8af6 instanceof ue)&&_0x2e8af6['resend'](),_0x2e8af6;}[_0x51303a(0x39e)](){var _0x22418b=_0x51303a;throw new Error(_0x22418b(0x2b8));}};fe=Re([A(0x5,_0x2a2c27(_0x2ac98c)),A(0x6,_0x2a2c27(_0x408fec)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x1a8278(J))],fe);let te=class extends be{constructor(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x46844b,_0x28a417,_0x5219e7,_0x4508b4,_0x2a53b4,_0x2557c1,_0x1fdbe2,_0x1366ef,_0xa9ccea,_0xddb39f){var _0x50b5d9=_0x51303a;super(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x5219e7,_0x1fdbe2,_0x1366ef,_0x2a53b4,_0xddb39f),N(this,'status',_0x50b5d9(0x206)),(this[_0x50b5d9(0x2e6)]=_0x46844b,this[_0x50b5d9(0x266)]=_0x28a417,this[_0x50b5d9(0x1ff)]=_0x4508b4,this[_0x50b5d9(0x257)]=_0x2557c1,this[_0x50b5d9(0x223)]=_0xa9ccea,this[_0x50b5d9(0x19c)]=_0xddb39f);}[_0x51303a(0x1ae)](_0x3ee865){var _0x17b13b=_0x51303a;try{const _0x2cf06f=[..._0x3ee865,...this[_0x17b13b(0x266)]],_0x29a16c=[this['_awaitingChangeset']||this[_0x17b13b(0x2e6)]][_0x17b13b(0x1bc)](_0x3d5daa=>!!_0x3d5daa);let _0x3bc448,_0x4b55bd;if(_0x29a16c['length']){const _0x9ffccb=this['_transformService'][_0x17b13b(0x335)](_0x2cf06f,_0x29a16c,!0x1);if(!_0x4d0c02(_0x9ffccb))throw _0x9ffccb['error'];_0x3bc448=_0x9ffccb[_0x17b13b(0x1c1)],_0x4b55bd=_0x9ffccb[_0x17b13b(0x203)];}else _0x3bc448=_0x2cf06f,_0x4b55bd=[];let _0x52d135=this[_0x17b13b(0x1ea)];_0x3bc448[_0x17b13b(0x2ed)](_0x449825=>{var _0x4d2e04=_0x17b13b;let _0x5d49e6;if(_0x52d135[_0x4d2e04(0x2b9)]){const _0x465076=this[_0x4d2e04(0x223)]['transformMutationsWithChangeset'](_0x449825,_0x52d135);if(!_0x122f14(_0x465076))throw _0x465076['error'];_0x5d49e6=_0x465076[_0x4d2e04(0x1c1)],_0x52d135=_0x465076['m2Prime'];}else _0x5d49e6=_0x449825;this[_0x4d2e04(0x1a3)](_0x5d49e6);}),this[_0x17b13b(0x2e6)]&&this[_0x17b13b(0x3a2)](),this[_0x17b13b(0x3cf)]&&_0x4b55bd['length']&&(_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)]());let _0x324d0d;if(this[_0x17b13b(0x3cf)]&&_0x52d135['length']!==0x0)_0x324d0d=this['_injector']['createInstance'](ae,this[_0x17b13b(0x40d)],this['type'],_0x4b55bd[0x0],_0x52d135,this[_0x17b13b(0x392)],void 0x0);else{if(this['_awaitingChangeset']&&_0x52d135[_0x17b13b(0x2b9)]===0x0)_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)](),_0x324d0d=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](ue,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x4b55bd[0x0],this[_0x17b13b(0x392)]);else{if(_0x52d135[_0x17b13b(0x2b9)]!==0x0){const _0x3ee1ce=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](oe,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x52d135,this[_0x17b13b(0x392)]);_0x3ee1ce['_schedule'](),_0x324d0d=_0x3ee1ce;}else _0x324d0d=this['_injector'][_0x17b13b(0x372)](De,this[_0x17b13b(0x40d)],this['type'],this[_0x17b13b(0x392)]);}}return _0x324d0d[_0x17b13b(0x3d2)](),_0x324d0d;}catch(_0x4ae3b0){return this[_0x17b13b(0x257)][_0x17b13b(0x16e)](_0x17b13b(0x205),_0x17b13b(0x443),_0x4ae3b0),this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](de,this[_0x17b13b(0x40d)],this['type'],this['_awaitingChangeset'],this[_0x17b13b(0x1ea)],this[_0x17b13b(0x392)],!0x1);}}['resend'](){var _0x4f948c=_0x51303a;throw new Error(_0x4f948c(0x33b));}[_0x51303a(0x3e7)](_0x33ba7f){var _0x3fe1f8=_0x51303a;return this[_0x3fe1f8(0x1ea)][_0x3fe1f8(0x1c9)](_0x33ba7f),this;}[_0x51303a(0x33d)](_0x4c7698){var _0x342761=_0x51303a;return this[_0x342761(0x266)][_0x342761(0x1c9)](_0x4c7698),this;}[_0x51303a(0x3bd)](_0x5dcc53){var _0x417bc9=_0x51303a;if(this[_0x417bc9(0x3cf)])return this[_0x417bc9(0x2e6)]=this[_0x417bc9(0x3cf)],this['_awaitingChangeset']=null,this;throw new Error(_0x417bc9(0x3c7));}[_0x51303a(0x216)](_0x5ca8d2){var _0x4e8bd7=_0x51303a;return this[_0x4e8bd7(0x14c)](!!(_0x5ca8d2!=null&&_0x5ca8d2['isPermissionRej']));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){var _0x30a942=_0x51303a;return this[_0x30a942(0x1ff)][_0x30a942(0x372)](fe,this[_0x30a942(0x40d)],this[_0x30a942(0x390)],this[_0x30a942(0x3cf)],this['_pendingMutations'],this[_0x30a942(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x14c)](_0x40909b){var _0x427177=_0x51303a;return this['_injector'][_0x427177(0x372)](de,this[_0x427177(0x40d)],this[_0x427177(0x390)],this[_0x427177(0x3cf)],this[_0x427177(0x1ea)],this[_0x427177(0x392)],_0x40909b);}};te=Re([A(0x7,_0x2a2c27(_0x2ac98c)),A(0x8,_0x2a2c27(_0x408fec)),A(0x9,_0x7c7e3b),A(0xa,_0x5c01af),A(0xb,_0x277f73),A(0xc,_0x1aa332),A(0xd,_0x1a8278(J))],te);function Di(_0x154613,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e){var _0x5d6a63=_0x51303a;return _0x2b13b1&&_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](ae,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e,void 0x0):_0x2b13b1?_0x154613[_0x5d6a63(0x372)](ue,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x19195e):_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](oe,_0x3b8fe8,_0x59dfcc,_0x16eaa2,_0x19195e):_0x154613[_0x5d6a63(0x372)](De,_0x3b8fe8,_0x59dfcc,_0x19195e);}var vr=Object['defineProperty'],pr=Object[_0x51303a(0x150)],Lt=(_0x6453a1,_0x160323,_0x457439,_0x111517)=>{var _0x5aea91=_0x51303a;for(var _0x36cf09=_0x111517>0x1?void 0x0:_0x111517?pr(_0x160323,_0x457439):_0x160323,_0x1f32dd=_0x6453a1[_0x5aea91(0x2b9)]-0x1,_0x3997db;_0x1f32dd>=0x0;_0x1f32dd--)(_0x3997db=_0x6453a1[_0x1f32dd])&&(_0x36cf09=(_0x111517?_0x3997db(_0x160323,_0x457439,_0x36cf09):_0x3997db(_0x36cf09))||_0x36cf09);return _0x111517&&_0x36cf09&&vr(_0x160323,_0x457439,_0x36cf09),_0x36cf09;},k=(_0x50b364,_0x18bd2e)=>(_0x1a449c,_0x3fa54a)=>_0x18bd2e(_0x1a449c,_0x3fa54a,_0x50b364);let nt=class extends _0x2127fb{constructor(_0x483d28,_0x3ef293,_0x5afed4,_0x1b66be,_0x5b8d12,_0xa34cf5,_0x23ffa4,_0x352fe2,_0x580645,_0x51e118,_0x4c3e25,_0x12a027,_0xf90251){var _0x32885a=_0x51303a;super(),N(this,'_state$',new _0x5e258f(null)),N(this,'state$',this[_0x32885a(0x33c)]['asObservable']()),N(this,_0x32885a(0x17d)),N(this,_0x32885a(0x3ce),!0x1),N(this,'_changesetSessionId',''),N(this,_0x32885a(0x1c3),0x0),N(this,'status$',this[_0x32885a(0x360)][_0x32885a(0x380)](_0x29778d(_0x2a5721=>_0x2a5721?_0x2a5721[_0x32885a(0x3c2)]:yi[_0x32885a(0x2dd)]),_0x3e88b4(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x32885a(0x408),[]),(this[_0x32885a(0x40d)]=_0x483d28,this[_0x32885a(0x306)]=_0x3ef293,this[_0x32885a(0x353)]=_0x5afed4,this[_0x32885a(0x1ff)]=_0x1b66be,this['_compressMutationService']=_0x5b8d12,this[_0x32885a(0x3fc)]=_0xa34cf5,this['_revisionService']=_0x23ffa4,this['_eventService']=_0x352fe2,this[_0x32885a(0x257)]=_0x580645,this[_0x32885a(0x321)]=_0x51e118,this[_0x32885a(0x2e0)]=_0x4c3e25,this[_0x32885a(0x374)]=_0x12a027,this[_0x32885a(0x303)]=_0xf90251);}get[_0x51303a(0x348)](){return this['_state'];}async[_0x51303a(0x239)](){var _0x56e53e=_0x51303a;if(this['state'])throw new Error(_0x56e53e(0x152));await this[_0x56e53e(0x25b)]();}[_0x51303a(0x349)](){var _0x40d704=_0x51303a;return this[_0x40d704(0x3ce)]=!0x0,_0x24575e(()=>{var _0x4abc45=_0x40d704;this[_0x4abc45(0x3ce)]=!0x1,this[_0x4abc45(0x300)]();});}['onLocalMutation'](_0x19be18){this['_onLocalMutation'](_0x19be18);}[_0x51303a(0x383)](_0x24b5be){var _0x5442cd=_0x51303a;this['_state']=_0x24b5be,this[_0x5442cd(0x33c)][_0x5442cd(0x334)](_0x24b5be);}async['_init'](){var _0x2f33ec=_0x51303a,_0x512aad;this[_0x2f33ec(0x383)](await this['_createInitialState']()),this[_0x2f33ec(0x374)]&&((_0x512aad=this[_0x2f33ec(0x374)])==null||_0x512aad[_0x2f33ec(0x2a2)](this[_0x2f33ec(0x40d)]),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x374)][_0x2f33ec(0x328)](this[_0x2f33ec(0x40d)])[_0x2f33ec(0x315)](_0x3621bb=>{var _0x2e994a=_0x2f33ec;this[_0x2e994a(0x257)][_0x2e994a(0x1cf)]('[CollaborationEntity]',_0x2e994a(0x341),_0x3621bb),_0x3621bb===bi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x2e994a(0x313)]({'id':se[_0x2e994a(0x1ef)]}),this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this[_0x2e994a(0x40d)])['id'],!0x1),this[_0x2e994a(0x2e0)][_0x2e994a(0x32e)](!0x1)):(this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ccd44=!0x1;return this['disposeWithMe'](this[_0x2f33ec(0x306)][_0x2f33ec(0x314)][_0x2f33ec(0x315)](_0x4dabad=>{var _0x630591=_0x2f33ec;_0x4dabad===Te[_0x630591(0x3e9)]?this['_toggleOnline'](_0x5ccd44):_0x4dabad===Te[_0x630591(0x2dd)]&&(_0x5ccd44=!0x0,this[_0x630591(0x2ac)]());})),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x306)][_0x2f33ec(0x3d0)][_0x2f33ec(0x315)](_0x324916=>{var _0x1af8f3=_0x2f33ec;try{switch(_0x324916[_0x1af8f3(0x262)]){case _0x247b59[_0x1af8f3(0x2df)]:{this['_onRemoteChangeset'](_0xf0555b(_0x324916[_0x1af8f3(0x1cd)]));break;}case _0x247b59['CHANGESET_ACK']:{this[_0x1af8f3(0x1c7)](_0x324916['data']);break;}case _0x247b59['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x247b59[_0x1af8f3(0x446)]:{this[_0x1af8f3(0x42a)](_0x324916['data']);break;}case _0x247b59[_0x1af8f3(0x3b1)]:{this[_0x1af8f3(0x412)](_0x324916[_0x1af8f3(0x1cd)]['changesets'][_0x1af8f3(0x2ea)](_0x324017=>_0xf0555b(_0x324017)));break;}case _0x247b59[_0x1af8f3(0x42f)]:{this[_0x1af8f3(0x302)]({'isPermissionRej':!0x0});break;}case _0x247b59['UNISCRIPT_RUN']:break;}}catch(_0x561a9f){throw console[_0x1af8f3(0x16e)](_0x1af8f3(0x1b1),_0x561a9f),_0x561a9f;}})),this['_state'];}[_0x51303a(0x3a6)](){var _0x437814=_0x51303a;this[_0x437814(0x339)]=!0x1;}[_0x51303a(0x26b)](){var _0x41d8fc=_0x51303a;if(this[_0x41d8fc(0x339)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x4d38e2){var _0x439c9f=_0x51303a;this[_0x439c9f(0x26b)](),this[_0x439c9f(0x383)](this[_0x439c9f(0x17d)][_0x439c9f(0x3e7)](_0x4d38e2)),this[_0x439c9f(0x3a6)]();}[_0x51303a(0x426)](_0x1c2b48){var _0x4de17d=_0x51303a;if(!(_0x1c2b48[_0x4de17d(0x1db)]<=this[_0x4de17d(0x3e1)][_0x4de17d(0x1de)](this['unitID']))){if(this[_0x4de17d(0x3ce)]){this[_0x4de17d(0x408)][_0x4de17d(0x1c9)](_0x1c2b48);return;}this[_0x4de17d(0x3ca)](_0x1c2b48);}}[_0x51303a(0x300)](){var _0x583e8b=_0x51303a;this[_0x583e8b(0x408)][_0x583e8b(0x2ed)](_0x44e648=>this[_0x583e8b(0x3ca)](_0x44e648)),this[_0x583e8b(0x408)]=[];}[_0x51303a(0x3ca)](_0x14277b){var _0x2188d6=_0x51303a;const _0x4fb28f=this[_0x2188d6(0x3b2)]['interceptor'][_0x2188d6(0x400)](this[_0x2188d6(0x3b2)][_0x2188d6(0x2f8)]['getInterceptPoints']()[_0x2188d6(0x382)])(_0x14277b[_0x2188d6(0x325)],null)||_0x14277b[_0x2188d6(0x325)],_0x1263b7={..._0x14277b,'mutations':_0x4fb28f};this[_0x2188d6(0x26b)](),this[_0x2188d6(0x383)](this[_0x2188d6(0x17d)]['onRemoteChangeset'](_0x1263b7)),this['_unlockTransition']();}['_onRemoteACK'](_0x4d7027){var _0x3569ef=_0x51303a;this[_0x3569ef(0x26b)](),this['_updateState'](this['_state'][_0x3569ef(0x3bd)](_0x4d7027)),this[_0x3569ef(0x3a6)]();}['_onRemoteRejected'](_0x3db391){var _0x1aecc3=_0x51303a;this[_0x1aecc3(0x26b)](),this[_0x1aecc3(0x383)](this[_0x1aecc3(0x17d)][_0x1aecc3(0x216)](_0x3db391)),this['_unlockTransition']();}[_0x51303a(0x42a)](_0x37e58a){var _0x20ff41=_0x51303a;this[_0x20ff41(0x26b)](),this[_0x20ff41(0x383)](this[_0x20ff41(0x17d)][_0x20ff41(0x18d)](_0x37e58a)),this[_0x20ff41(0x3a6)]();}[_0x51303a(0x412)](_0x1dde53){var _0x3349df=_0x51303a;if(!(this[_0x3349df(0x17d)]instanceof te))throw new TypeError(_0x3349df(0x3dd));const _0x40e263=_0x1dde53[_0x3349df(0x2ea)](_0x386701=>{var _0x45f0e2=_0x3349df;const _0xf61d29=this[_0x45f0e2(0x3b2)][_0x45f0e2(0x2f8)][_0x45f0e2(0x400)](this['_compressMutationService'][_0x45f0e2(0x2f8)][_0x45f0e2(0x2b2)]()[_0x45f0e2(0x382)])(_0x386701['mutations'],null)||_0x386701[_0x45f0e2(0x325)];return{..._0x386701,'mutations':_0xf61d29};});this[_0x3349df(0x26b)](),this[_0x3349df(0x383)](this[_0x3349df(0x17d)][_0x3349df(0x1ae)](_0x40e263)),this['_unlockTransition']();}[_0x51303a(0x2ac)](){var _0xf0d343=_0x51303a;this[_0xf0d343(0x26b)](),this['_updateState'](this[_0xf0d343(0x17d)][_0xf0d343(0x37a)]()),this[_0xf0d343(0x3a6)]();}[_0x51303a(0x436)](_0x4e3ef1=!0x1){var _0x42414c=_0x51303a;this[_0x42414c(0x26b)](),this[_0x42414c(0x383)](this[_0x42414c(0x17d)][_0x42414c(0x267)]()),this[_0x42414c(0x3a6)]();const _0x3a126e=this[_0x42414c(0x17d)];_0x4e3ef1&&_0x3a126e instanceof De&&(this[_0x42414c(0x26b)](),this['_updateState'](_0x3a126e[_0x42414c(0x260)]()),this[_0x42414c(0x3a6)]());}async[_0x51303a(0x169)](){return new Promise(_0x3d2de0=>{var _0x1e4079=_0x1f09;this['session'][_0x1e4079(0x314)][_0x1e4079(0x380)](_0x81314e(0x1))[_0x1e4079(0x315)](async _0x20e540=>{var _0x84a329=_0x1e4079;_0x3d2de0(await this[_0x84a329(0x36e)](_0x20e540===Te['ONLINE']));});});}[_0x51303a(0x41c)](){const _0x16b09e=this['unitID'];return{'onStateChange':(_0x8d5161,_0x153a00)=>{var _0x41f585=_0x1f09;if(_0x8d5161!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x8d5161[_0x41f585(0x3c2)]+'\x0aAfter:\x20'+_0x153a00[_0x41f585(0x3c2)]+'\x0aCurrent:\x20'+this[_0x41f585(0x17d)][_0x41f585(0x3c2)]);this['_updateState'](_0x153a00);},'onSendChangeset':_0x395603=>{var _0x5ecef3=_0x1f09;_0x395603[_0x5ecef3(0x3d6)]||(_0x395603[_0x5ecef3(0x3d6)]=this[_0x5ecef3(0x401)],_0x395603[_0x5ecef3(0x24c)]=++this[_0x5ecef3(0x1c3)]);const _0x20bffd={'eventID':_0x247b59[_0x5ecef3(0x28d)],'data':{'unitID':_0x395603[_0x5ecef3(0x40d)],'unitType':this[_0x5ecef3(0x353)],'changeset':_0x395603,'memberID':this[_0x5ecef3(0x306)][_0x5ecef3(0x297)]()}};this['session'][_0x5ecef3(0x229)](_0x20bffd,this['unitID']);},'onMissingChangesets':({from:_0x2adc22,to:_0x58f3ce})=>{var _0x1042e2=_0x1f09;this['_logService'][_0x1042e2(0x1cf)](_0x1042e2(0x237),_0x1042e2(0x1e1)+_0x2adc22+_0x1042e2(0x23a)+_0x58f3ce);const _0x360766={'eventID':_0x247b59[_0x1042e2(0x2ca)],'data':{'unitID':_0x16b09e,'unitType':this['_type'],'from':_0x2adc22,'to':_0x58f3ce}};this[_0x1042e2(0x306)][_0x1042e2(0x229)](_0x360766,this[_0x1042e2(0x40d)]);}};}async[_0x51303a(0x36e)](_0x31a92c){var _0x1dbc8c=_0x51303a,_0x4b6fcb,_0x507c7a,_0x3303a4;const _0x56556f=await((_0x4b6fcb=this['_localCacheService'])==null?void 0x0:_0x4b6fcb['loadOfflineData'](this[_0x1dbc8c(0x40d)])),_0x260701=(_0x507c7a=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x325)])!=null?_0x507c7a:[],_0x4701bd=(_0x3303a4=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x3ec)])!=null?_0x3303a4:null,_0x49dfb1=!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x3d6)])&&!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x24c)]);this[_0x1dbc8c(0x401)]=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x3d6)]:sr(),this['_changesetReqId']=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x24c)]:0x0;const _0x5c054c=this['unitID'];try{this['_replayCachedMutations'](_0x4701bd,_0x260701);}catch(_0x47bf26){this[_0x1dbc8c(0x257)][_0x1dbc8c(0x16e)](_0x47bf26);}const _0x2f951e=this[_0x1dbc8c(0x41c)]();if(_0x31a92c){const _0xebdcf4=Di(this['_injector'],_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);return _0xebdcf4 instanceof oe?_0xebdcf4[_0x1dbc8c(0x1d0)]():(_0xebdcf4 instanceof ae||_0xebdcf4 instanceof ue)&&_0xebdcf4[_0x1dbc8c(0x39e)](),_0xebdcf4;}return this[_0x1dbc8c(0x1ff)][_0x1dbc8c(0x372)](fe,_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);}[_0x51303a(0x1d8)](_0x204df4,_0xa6727b){var _0x3473cc=_0x51303a,_0x159f4b,_0x56f91b;const _0x478f6=this['_compressMutationService'][_0x3473cc(0x2f8)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3473cc(0x2b2)]()['COMPRESS_MUTATION_APPLY']);(_0x159f4b=_0x478f6((_0x204df4==null?void 0x0:_0x204df4[_0x3473cc(0x325)])||[],null))==null||_0x159f4b[_0x3473cc(0x2ed)](_0x41dbad=>this[_0x3473cc(0x321)][_0x3473cc(0x252)](_0x41dbad['id'],_0x41dbad['params'])),(_0x56f91b=_0x478f6(_0xa6727b||[],null))==null||_0x56f91b[_0x3473cc(0x2ed)](_0x2619b0=>this['_commandService'][_0x3473cc(0x252)](_0x2619b0['id'],_0x2619b0[_0x3473cc(0x1b5)]));}};nt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],nt);let Tt=class extends nt{constructor(_0x4b7345,_0x5e9371,_0x4d6817,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185){var _0x32e0d6=_0x51303a;super(_0x4b7345,_0x4d6817,_0x5e9371,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185),N(this,_0x32e0d6(0x2a1),null),(this[_0x32e0d6(0x40d)]=_0x4b7345,this[_0x32e0d6(0x390)]=_0x5e9371);}[_0x51303a(0x1b8)](_0x16e686){var _0x5e81d4=_0x51303a;this[_0x5e81d4(0x2a1)]=_0x16e686;}[_0x51303a(0x421)](){var _0xdf4ef7=_0x51303a;this['_handlerCallback']=null,super[_0xdf4ef7(0x421)]();}['_createHandler'](){var _0x57c7cc=_0x51303a;const _0x3a49b3=super[_0x57c7cc(0x41c)]();return _0x3a49b3[_0x57c7cc(0x32c)]=_0x11161b=>{var _0x58fc7e=_0x57c7cc,_0x824ae6,_0x4b1dd3;return(_0x4b1dd3=(_0x824ae6=this[_0x58fc7e(0x2a1)])==null?void 0x0:_0x824ae6[_0x58fc7e(0x32c)])==null?void 0x0:_0x4b1dd3[_0x58fc7e(0x270)](_0x824ae6,_0x11161b);},_0x3a49b3[_0x57c7cc(0x3a0)]=_0x2c2a0b=>{var _0x3bf3e9=_0x57c7cc,_0x10fc16,_0x3701b0;return(_0x3701b0=(_0x10fc16=this[_0x3bf3e9(0x2a1)])==null?void 0x0:_0x10fc16[_0x3bf3e9(0x3a0)])==null?void 0x0:_0x3701b0['call'](_0x10fc16,_0x2c2a0b);},_0x3a49b3[_0x57c7cc(0x1d7)]=_0x196ada=>{var _0x4e3578=_0x57c7cc,_0xff3e5e,_0x15e13c;return(_0x15e13c=(_0xff3e5e=this['_handlerCallback'])==null?void 0x0:_0xff3e5e[_0x4e3578(0x1d7)])==null?void 0x0:_0x15e13c[_0x4e3578(0x270)](_0xff3e5e,_0x196ada);},_0x3a49b3['onSyncEditingCollabCursor']=_0x4ad5a8=>{var _0x3e57f3=_0x57c7cc,_0x372f79,_0xeab5d0;return(_0xeab5d0=(_0x372f79=this[_0x3e57f3(0x2a1)])==null?void 0x0:_0x372f79[_0x3e57f3(0x161)])==null?void 0x0:_0xeab5d0[_0x3e57f3(0x270)](_0x372f79,_0x4ad5a8);},_0x3a49b3[_0x57c7cc(0x1e2)]=_0x69555a=>{var _0x3e858c=_0x57c7cc,_0x50f7d2,_0x248577,_0x259cb0;if(!((_0x50f7d2=this['_handlerCallback'])!=null&&_0x50f7d2[_0x3e858c(0x1e2)]))throw new Error(_0x3e858c(0x29b));return(_0x259cb0=(_0x248577=this[_0x3e858c(0x2a1)])==null?void 0x0:_0x248577[_0x3e858c(0x1e2)])==null?void 0x0:_0x259cb0[_0x3e858c(0x270)](_0x248577,_0x69555a);},_0x3a49b3['onTransformRemoteChangesetByStateCache']=_0xdfd2d6=>{var _0x16836d=_0x57c7cc,_0x294e51,_0x574caf,_0x3a0b54;if(!((_0x294e51=this[_0x16836d(0x2a1)])!=null&&_0x294e51[_0x16836d(0x36a)]))throw new Error(_0x16836d(0x43c));return(_0x3a0b54=(_0x574caf=this[_0x16836d(0x2a1)])==null?void 0x0:_0x574caf[_0x16836d(0x36a)])==null?void 0x0:_0x3a0b54[_0x16836d(0x270)](_0x574caf,_0xdfd2d6);},_0x3a49b3;}async['_init'](){var _0x5b1fc7=_0x51303a;const _0x3fd713=await super[_0x5b1fc7(0x25b)]();return this[_0x5b1fc7(0x434)](this[_0x5b1fc7(0x321)][_0x5b1fc7(0x23b)]((_0x2221bc,_0x49002b)=>{var _0x5e16d4=_0x5b1fc7;if(_0x2221bc[_0x5e16d4(0x390)]!==_0x42bf5d[_0x5e16d4(0x1fb)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x40f)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x258)]||_0x2221bc['id']===_0x4e9af9['id'])return;const _0x4e0764=_0x2221bc['params'];if((_0x4e0764==null?void 0x0:_0x4e0764[_0x5e16d4(0x2f4)])!==this['unitID'])return;const _0x2bc390=_0x2221bc,_0x35983c=this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x400)](this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x2b2)]()[_0x5e16d4(0x37c)])([_0x2bc390],null)||[_0x2bc390];this[_0x5e16d4(0x202)](_0x35983c[0x0]);})),_0x3fd713;}};Tt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],Tt);let Ct=class extends nt{constructor(_0xb72fec,_0x2254d3,_0x4f454e,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x3dd5ed,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2){var _0x4009c0=_0x51303a;super(_0xb72fec,_0x4f454e,_0x2254d3,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2),this['unitID']=_0xb72fec,this['type']=_0x2254d3,this[_0x4009c0(0x251)]=_0x3dd5ed;}['_createHandler'](){var _0x5530b9=_0x51303a;const _0x180cfc=super['_createHandler']();return _0x180cfc[_0x5530b9(0x1d7)]=_0x26e457=>this['_sheetTransformSelectionsService'][_0x5530b9(0x24f)](_0x26e457),_0x180cfc;}async[_0x51303a(0x25b)](){var _0x42af4b=_0x51303a;const _0xb6f085=await super['_init']();return this[_0x42af4b(0x434)](this['_commandService'][_0x42af4b(0x23b)]((_0x58aa08,_0xef1803)=>{var _0x13595a=_0x42af4b;if(_0x58aa08[_0x13595a(0x390)]!==_0x42bf5d['MUTATION']||_0xef1803!=null&&_0xef1803[_0x13595a(0x40f)]||_0xef1803!=null&&_0xef1803[_0x13595a(0x258)])return;const _0x6c4931=_0x58aa08[_0x13595a(0x1b5)];if((_0x6c4931==null?void 0x0:_0x6c4931[_0x13595a(0x2f4)])!==this[_0x13595a(0x40d)])return;const _0x3dcd1f=_0x58aa08,_0x248f56=this[_0x13595a(0x3b2)][_0x13595a(0x2f8)][_0x13595a(0x400)](this[_0x13595a(0x3b2)]['interceptor'][_0x13595a(0x2b2)]()['COMPRESS_MUTATION_SEND'])([_0x3dcd1f],null)||[_0x3dcd1f];this[_0x13595a(0x202)](_0x248f56[0x0]);})),_0xb6f085;}};Ct=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(it)),k(0x8,_0x2a2c27(pe)),k(0x9,_0x7c7e3b),k(0xa,_0x5c01af),k(0xb,_0xc50f2c),k(0xc,_0x1a8278(ht)),k(0xd,_0x1a8278(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x51303a(0x150)],Sr=(_0x1dfa0f,_0x193074,_0x5541c8,_0x40d2ce)=>{var _0x5ad141=_0x51303a;for(var _0x5705aa=_0x40d2ce>0x1?void 0x0:_0x40d2ce?gr(_0x193074,_0x5541c8):_0x193074,_0x2ef516=_0x1dfa0f[_0x5ad141(0x2b9)]-0x1,_0xebceaa;_0x2ef516>=0x0;_0x2ef516--)(_0xebceaa=_0x1dfa0f[_0x2ef516])&&(_0x5705aa=(_0x40d2ce?_0xebceaa(_0x193074,_0x5541c8,_0x5705aa):_0xebceaa(_0x5705aa))||_0x5705aa);return _0x40d2ce&&_0x5705aa&&mr(_0x193074,_0x5541c8,_0x5705aa),_0x5705aa;},ft=(_0x2a54bb,_0x42ca6f)=>(_0xb6f3aa,_0x15ea8b)=>_0x42ca6f(_0xb6f3aa,_0x15ea8b,_0x2a54bb);let rt=class extends _0x2127fb{constructor(_0x26cb82,_0x3b90a3,_0x18dd6){var _0x27e67f=_0x51303a;super(),N(this,_0x27e67f(0x33f),new Map()),N(this,'_entityInit$',new _0x4973d7()),N(this,_0x27e67f(0x2a4),this[_0x27e67f(0x1f1)][_0x27e67f(0x212)]()),(this[_0x27e67f(0x1ff)]=_0x26cb82,this['_collabSessionService']=_0x3b90a3,this[_0x27e67f(0x365)]=_0x18dd6,this[_0x27e67f(0x25b)]());}[_0x51303a(0x421)](){var _0x51a1f2=_0x51303a;super[_0x51a1f2(0x421)](),this['_entities'][_0x51a1f2(0x2ed)](_0x5dc6ac=>_0x5dc6ac[_0x51a1f2(0x421)]()),this['_entities'][_0x51a1f2(0x346)]();}['getCollabEntity'](_0x56a5a3){var _0x5b0939=_0x51303a,_0xe3c0cc;return(_0xe3c0cc=this[_0x5b0939(0x33f)][_0x5b0939(0x227)](_0x56a5a3))!=null?_0xe3c0cc:null;}['getCollabEntity$'](_0x51c34b){var _0x173474=_0x51303a;const _0x124a50=this[_0x173474(0x3bf)](_0x51c34b);return _0x124a50?_0x56aeb4(_0x124a50):this[_0x173474(0x1f1)][_0x173474(0x380)](_0x3cf649(_0x2fad2d=>_0x2fad2d[_0x173474(0x40d)]===_0x51c34b));}[_0x51303a(0x384)](_0x19051c){var _0x5001c1=_0x51303a;return _0x31a3a6(this['getCollabEntity$'](_0x19051c)[_0x5001c1(0x380)](_0x21067b(()=>{})));}['_init'](){var _0x2580c0=_0x51303a;this[_0x2580c0(0x365)][_0x2580c0(0x18f)](_0x500bf2[_0x2580c0(0x43d)])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x315)](async _0x14c6cd=>{var _0x4bedbd=_0x2580c0;const _0xa49ee8=_0x14c6cd[_0x4bedbd(0x438)](),_0x245171=await this[_0x4bedbd(0x285)](_0xa49ee8,Q[_0x4bedbd(0x43d)]);this[_0x4bedbd(0x33f)]['set'](_0xa49ee8,_0x245171);}),this['_univerInstanceService'][_0x2580c0(0x18f)](_0x500bf2['UNIVER_DOC'])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x380)](_0x3cf649(_0x96d6f9=>!_0x96d6f9[_0x2580c0(0x438)]()[_0x2580c0(0x1f5)]('__')))[_0x2580c0(0x315)](async _0x2882a4=>{var _0x558d90=_0x2580c0;const _0x1f478e=_0x2882a4[_0x558d90(0x438)](),_0x26335a=await this[_0x558d90(0x285)](_0x1f478e,Q[_0x558d90(0x31f)]);this[_0x558d90(0x33f)][_0x558d90(0x34c)](_0x1f478e,_0x26335a);}),_0x204d3a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x43d)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x31f)]))['pipe'](_0x2fe2c4(this['dispose$']))['subscribe'](_0x90879=>{var _0x26567b=_0x2580c0;const _0x1eaff0=_0x90879[_0x26567b(0x438)](),_0x5aeede=this['_entities'][_0x26567b(0x227)](_0x1eaff0);_0x5aeede&&(_0x5aeede[_0x26567b(0x421)](),this[_0x26567b(0x33f)]['delete'](_0x1eaff0));});}async['_startCollaboration'](_0x9dfc4d,_0x3e532d){var _0x588484=_0x51303a;const _0x562465=await this[_0x588484(0x42e)][_0x588484(0x193)](_0x9dfc4d),_0x49064f=this[_0x588484(0x1ff)][_0x588484(0x372)](this['_getCtorByUniverType'](_0x3e532d),_0x9dfc4d,_0x3e532d,_0x562465);return await _0x49064f['init'](),this[_0x588484(0x1f1)][_0x588484(0x334)](_0x49064f),_0x49064f;}[_0x51303a(0x414)](_0x56129c){var _0x4db960=_0x51303a;switch(_0x56129c){case Q[_0x4db960(0x31f)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x4db960(0x154)+_0x56129c);}}};rt=Sr([ft(0x0,_0x2a2c27(_0x2ac98c)),ft(0x1,_0x2a2c27(Le)),ft(0x2,_0xd9ad76)],rt);var Er=Object['defineProperty'],Ir=Object[_0x51303a(0x150)],Tr=(_0x3e4560,_0x45fff6,_0x51adee,_0x5ea791)=>{var _0x48a454=_0x51303a;for(var _0x356ac6=_0x5ea791>0x1?void 0x0:_0x5ea791?Ir(_0x45fff6,_0x51adee):_0x45fff6,_0x129610=_0x3e4560[_0x48a454(0x2b9)]-0x1,_0x17c42e;_0x129610>=0x0;_0x129610--)(_0x17c42e=_0x3e4560[_0x129610])&&(_0x356ac6=(_0x5ea791?_0x17c42e(_0x45fff6,_0x51adee,_0x356ac6):_0x17c42e(_0x356ac6))||_0x356ac6);return _0x5ea791&&_0x356ac6&&Er(_0x45fff6,_0x51adee,_0x356ac6),_0x356ac6;},Jt=(_0x2fa1b4,_0x446a0f)=>(_0x42f0ad,_0xb402b)=>_0x446a0f(_0x42f0ad,_0xb402b,_0x2fa1b4);const Cr=_0x51303a(0x2d1),Rr=_0x51303a(0x37e);let Rt=class extends _0x47cec6{constructor(_0x5671a7,_0x2935d6){var _0x2fa6bc=_0x51303a;super(),this[_0x2fa6bc(0x365)]=_0x5671a7,this['_configService']=_0x2935d6,this[_0x2fa6bc(0x25b)]();}[_0x51303a(0x25b)](){var _0x3277d7=_0x51303a;this[_0x3277d7(0x434)](this[_0x3277d7(0x365)][_0x3277d7(0x2c2)][_0x3277d7(0x315)](()=>{var _0x39cde1=_0x3277d7,_0x2b7496;const _0x6a32ad=this[_0x39cde1(0x365)][_0x39cde1(0x422)]();let _0x15ce36=(_0x2b7496=this[_0x39cde1(0x2c0)]['getConfig'](Cr))!=null?_0x2b7496:Rr;_0x6a32ad instanceof _0x14e09d&&(_0x15ce36=_0x6a32ad['name']),document[_0x39cde1(0x32a)]=_0x15ce36;}));}};Rt=Tr([Jt(0x0,_0xd9ad76),Jt(0x1,_0x197b9e)],Rt);var br=Object[_0x51303a(0x281)],Or=Object[_0x51303a(0x150)],yr=(_0x2f4119,_0x21f919,_0x431075,_0x507287)=>{var _0x20d57d=_0x51303a;for(var _0x332416=_0x507287>0x1?void 0x0:_0x507287?Or(_0x21f919,_0x431075):_0x21f919,_0x1e117d=_0x2f4119[_0x20d57d(0x2b9)]-0x1,_0x2a07ee;_0x1e117d>=0x0;_0x1e117d--)(_0x2a07ee=_0x2f4119[_0x1e117d])&&(_0x332416=(_0x507287?_0x2a07ee(_0x21f919,_0x431075,_0x332416):_0x2a07ee(_0x332416))||_0x332416);return _0x507287&&_0x332416&&br(_0x21f919,_0x431075,_0x332416),_0x332416;},vt=(_0x49483c,_0x8a32c4)=>(_0x3c1c1a,_0x31369f)=>_0x8a32c4(_0x3c1c1a,_0x31369f,_0x49483c);let st=class{constructor(_0x124b5a,_0x2c4404,_0x29b889){var _0x52207d=_0x51303a;this[_0x52207d(0x2c0)]=_0x124b5a,this['_httpService']=_0x2c4404,this[_0x52207d(0x236)]=_0x29b889,this['init']();}[_0x51303a(0x239)](){var _0x569ed3=_0x51303a;this[_0x569ed3(0x42c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30b566,_0x311e73)=>_0x311e73(_0x30b566)['pipe'](_0x536272(async _0x16aae3=>{var _0x1a5221=_0x569ed3;const _0x18d534=_0x16aae3;if(_0x18d534[_0x1a5221(0x3c2)]===0x191){if(typeof window>'u')throw new Error(_0x1a5221(0x264));if(window[_0x1a5221(0x2a9)](this[_0x1a5221(0x236)]['t']('auth.needGotoLoginAlert'))){const _0x3907c4=window['encodeURIComponent'](window[_0x1a5221(0x215)][_0x1a5221(0x2a0)]);window[_0x1a5221(0x215)]['href']=this[_0x1a5221(0x30d)]()+_0x1a5221(0x40c)+_0x3907c4;}}return _0x18d534;}))});}[_0x51303a(0x30d)](){var _0x1e3d52=_0x51303a,_0x3cd97b,_0x584acc;const _0x360f28=this['_configService'][_0x1e3d52(0x2ec)](xn),_0x51965a=this[_0x1e3d52(0x2c0)]['getConfig'](q);return(_0x584acc=(_0x3cd97b=_0x51965a==null?void 0x0:_0x51965a[_0x1e3d52(0x246)])!=null?_0x3cd97b:_0x360f28)!=null?_0x584acc:Ln;}};st=yr([vt(0x0,_0x197b9e),vt(0x1,_0x2a2c27(_0x43259a)),vt(0x2,_0x2a2c27(_0x414916))],st);var Nr=Object[_0x51303a(0x281)],Dr=Object[_0x51303a(0x150)],Pr=(_0x35043a,_0x4d4422,_0x371555,_0x272caa)=>{var _0x245f23=_0x51303a;for(var _0x3d6edd=_0x272caa>0x1?void 0x0:_0x272caa?Dr(_0x4d4422,_0x371555):_0x4d4422,_0x1baa0d=_0x35043a[_0x245f23(0x2b9)]-0x1,_0x3dfa3a;_0x1baa0d>=0x0;_0x1baa0d--)(_0x3dfa3a=_0x35043a[_0x1baa0d])&&(_0x3d6edd=(_0x272caa?_0x3dfa3a(_0x4d4422,_0x371555,_0x3d6edd):_0x3dfa3a(_0x3d6edd))||_0x3d6edd);return _0x272caa&&_0x3d6edd&&Nr(_0x4d4422,_0x371555,_0x3d6edd),_0x3d6edd;},Xt=(_0x319e70,_0x21a82d)=>(_0x3fc119,_0xb09af5)=>_0x21a82d(_0x3fc119,_0xb09af5,_0x319e70);const Pi='AUTHZ_URL_KEY',wr='/universer-api/authz';let bt=class extends _0x47cec6{constructor(_0x4a5d4d,_0x398668){var _0x1d964c=_0x51303a;super(),this[_0x1d964c(0x36f)]=_0x4a5d4d,this[_0x1d964c(0x2c0)]=_0x398668,this['_initMergeInterceptor']();}[_0x51303a(0x293)](){var _0x484791=_0x51303a;const _0x2209b7=this;this[_0x484791(0x434)](this[_0x484791(0x36f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2d7c72({'isMatch'(_0x50a7f6){var _0x15abb2=_0x484791,_0x1aac98;if(_0x50a7f6[_0x15abb2(0x219)]==='POST'&&((_0x1aac98=_0x50a7f6['requestParams'])!=null&&_0x1aac98[_0x15abb2(0x1df)])){const {objectID:_0x34a562,objectType:_0x176f2a}=_0x50a7f6[_0x15abb2(0x201)][_0x15abb2(0x1df)]||{};if(!_0x34a562||_0x176f2a===void 0x0)return!0x1;const _0x2caec8=_0x2209b7[_0x15abb2(0x1b2)]()+'/'+_0x176f2a+_0x15abb2(0x180)+_0x34a562+'/allowed';if(_0x50a7f6[_0x15abb2(0x3fe)]===_0x2caec8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2506f0){var _0x16ff39=_0x484791,_0x176c36;return(_0x176c36=_0x2506f0[_0x16ff39(0x201)])==null?void 0x0:_0x176c36[_0x16ff39(0x1df)];},'mergeParamsToRequest'(_0x48b8a7,_0x44fdcd){var _0x203633=_0x484791;const _0x3584b6=_0x2209b7[_0x203633(0x1b2)]()+'/-/object/-/batch_allowed',_0x51e9f4=_0x48b8a7[_0x203633(0x20a)]((_0x218e8f,_0xdfefd3)=>{var _0x257225=_0x203633;const {unitID:_0x75b785,objectID:_0x3eb97c,objectType:_0x4fda02,actions:_0x1460bf}=_0xdfefd3;return _0x218e8f[_0x75b785]||(_0x218e8f[_0x75b785]={}),_0x218e8f[_0x75b785][_0x3eb97c]||(_0x218e8f[_0x75b785][_0x3eb97c]={'objectID':_0x3eb97c,'objectType':_0x4fda02,'actions':[]}),_0x218e8f[_0x75b785][_0x3eb97c][_0x257225(0x398)][_0x257225(0x1c9)](..._0x1460bf),_0x218e8f;},{}),_0x15b864=[];for(const _0x2d5a91 in _0x51e9f4)for(const _0x3d220e in _0x51e9f4[_0x2d5a91]){const {actions:_0x28b302,objectType:_0x360161}=_0x51e9f4[_0x2d5a91][_0x3d220e],_0x3e7a01=[...new Set(_0x28b302)];_0x15b864[_0x203633(0x1c9)]({'unitID':_0x2d5a91,'objectID':_0x3d220e,'objectType':_0x360161,'actions':_0x3e7a01});}return new _0x24cdfb(_0x203633(0x36d),_0x3584b6,{'headers':_0x44fdcd['headers'],'withCredentials':_0x44fdcd['withCredentials'],'responseType':_0x44fdcd[_0x203633(0x14b)],'body':{'requests':_0x15b864}});}},{'distributeResult'(_0x46146a,_0x51699a){var _0x1cdc04=_0x484791;const {objectActions:_0x33e14c}=_0x46146a;return _0x51699a[_0x1cdc04(0x2ea)](_0x3a1444=>{var _0x42b1ca=_0x1cdc04;const {unitID:_0x130b81,objectID:_0x3f98c3,actions:_0x4cefcf}=_0x3a1444,_0x1df230=_0x33e14c[_0x42b1ca(0x269)](_0x3737bc=>_0x3737bc[_0x42b1ca(0x40d)]===_0x130b81&&_0x3737bc['objectID']===_0x3f98c3),_0x3ca2bb=_0x4cefcf[_0x42b1ca(0x2ea)](_0x434bb1=>_0x1df230==null?void 0x0:_0x1df230[_0x42b1ca(0x398)][_0x42b1ca(0x269)](_0x451fff=>_0x451fff[_0x42b1ca(0x389)]===_0x434bb1))[_0x42b1ca(0x1bc)](_0x57aebf=>!!_0x57aebf);return{'config':_0x3a1444,'result':{'actions':_0x3ca2bb,'error':_0x46146a[_0x42b1ca(0x16e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x50e8f2=_0x51303a,_0x1e86ac,_0x55e4f6;const _0x23e7a3=this[_0x50e8f2(0x2c0)][_0x50e8f2(0x2ec)](Pi),_0x412d8a=this['_configService']['getConfig'](q);return(_0x55e4f6=(_0x1e86ac=_0x412d8a==null?void 0x0:_0x412d8a[_0x50e8f2(0x22f)])!=null?_0x1e86ac:_0x23e7a3)!=null?_0x55e4f6:wr;}async['create'](_0x1215db){var _0x48f91d=_0x51303a;const _0x5725f6=this[_0x48f91d(0x1b2)]()+'/'+_0x1215db[_0x48f91d(0x167)]+_0x48f91d(0x3fa);return(await this[_0x48f91d(0x36f)][_0x48f91d(0x40b)](_0x5725f6,{'body':_0x1215db}))[_0x48f91d(0x1df)]['objectID']||'';}async[_0x51303a(0x3f0)](_0x500294){var _0x4bfaa5=_0x51303a;const _0x550bd6=this[_0x4bfaa5(0x1b2)]()+_0x4bfaa5(0x1e9);return(await this[_0x4bfaa5(0x36f)]['post'](_0x550bd6,{'body':_0x500294}))[_0x4bfaa5(0x1df)][_0x4bfaa5(0x399)];}async['update'](_0x5cec73){var _0x2c3c09=_0x51303a;const _0x321f2a=this[_0x2c3c09(0x1b2)]()+'/'+_0x5cec73[_0x2c3c09(0x167)]+_0x2c3c09(0x180)+_0x5cec73['objectID'];await this[_0x2c3c09(0x36f)][_0x2c3c09(0x393)](_0x321f2a,{'body':_0x5cec73});}async[_0x51303a(0x294)](_0x4ced85){var _0x1e3205=_0x51303a;const _0x35ad07=this['_getAPIPrefixPath']()+'/'+_0x4ced85[_0x1e3205(0x167)]+_0x1e3205(0x180)+_0x4ced85[_0x1e3205(0x2f1)]+_0x1e3205(0x241);return(await this[_0x1e3205(0x36f)][_0x1e3205(0x40b)](_0x35ad07,{'body':_0x4ced85}))['body'][_0x1e3205(0x398)];}async[_0x51303a(0x3be)](_0x324a0d){var _0x2a799a=_0x51303a;const _0x465d05=this[_0x2a799a(0x1b2)]()+_0x2a799a(0x250);return(await this['_HTTPService']['post'](_0x465d05,{'body':{'requests':_0x324a0d}}))[_0x2a799a(0x1df)]['objectActions'];}async[_0x51303a(0x35e)](_0x44d592){var _0x488eef=_0x51303a;const _0xde2055=this['_getAPIPrefixPath']()+'/'+_0x44d592['objectType']+_0x488eef(0x1a9),_0x22f034=await this[_0x488eef(0x36f)][_0x488eef(0x40b)](_0xde2055,{'body':_0x44d592});return{'roles':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x340)],'actions':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x398)]};}async[_0x51303a(0x417)](_0x583af1){var _0x219585=_0x51303a;const _0x7053f6=this[_0x219585(0x1b2)]()+'/collaborator';await this[_0x219585(0x36f)][_0x219585(0x182)](_0x7053f6,{'params':{'collaboratorID':_0x583af1[_0x219585(0x1e0)],'objectID':_0x583af1[_0x219585(0x2f1)],'unitID':_0x583af1[_0x219585(0x40d)]}});}async[_0x51303a(0x2ae)](_0x5cf9db){var _0x1465f2=_0x51303a;const _0x1416dc=this[_0x1465f2(0x1b2)]()+_0x1465f2(0x1bf);await this[_0x1465f2(0x36f)][_0x1465f2(0x3b8)](_0x1416dc,{'body':_0x5cf9db});}async[_0x51303a(0x3e0)](_0x1ad251){var _0x276eb4=_0x51303a;const _0x41d98c=this[_0x276eb4(0x1b2)]()+_0x276eb4(0x1bf);await this[_0x276eb4(0x36f)][_0x276eb4(0x40b)](_0x41d98c,{'body':_0x1ad251});}async[_0x51303a(0x2be)](_0x97f7e7){var _0x39d239=_0x51303a;const _0x4d2569=this[_0x39d239(0x1b2)]()+_0x39d239(0x1bf);return(await this[_0x39d239(0x36f)][_0x39d239(0x227)](_0x4d2569,{'params':{'objectID':_0x97f7e7[_0x39d239(0x2f1)],'unitID':_0x97f7e7[_0x39d239(0x40d)]}}))[_0x39d239(0x1df)][_0x39d239(0x409)];}async[_0x51303a(0x3af)](_0x4cdab0){var _0x34b723=_0x51303a;const _0x5d2f3b=this[_0x34b723(0x1b2)]()+_0x34b723(0x1bf);await this['_HTTPService']['put'](_0x5d2f3b,{'body':_0x4cdab0});}};bt=Pr([Xt(0x0,_0x2a2c27(_0x43259a)),Xt(0x1,_0x2a2c27(_0x197b9e))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5bd351){var _0x3b349d=_0x51303a;return _0x5bd351&&_0x5bd351[_0x3b349d(0x2c8)]&&Object[_0x3b349d(0x445)]['hasOwnProperty'][_0x3b349d(0x270)](_0x5bd351,'default')?_0x5bd351['default']:_0x5bd351;}var Ve={'exports':{}};function Ur(_0x2c4fe4){var _0x5395fd=_0x51303a;throw new Error(_0x5395fd(0x174)+_0x2c4fe4+'\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[_0x51303a(0x34f)],Zt;function ne(){var _0x4a179d=_0x51303a;return Zt||(Zt=0x1,function(_0x26242c,_0x1c4b57){(function(_0x491710,_0x3f8909){_0x26242c['exports']=_0x3f8909();}(Ar,function(){var _0x388384=_0x388384||function(_0x38f389,_0x4c69c5){var _0x3c34de=_0x1f09,_0x1d82f7;if(typeof window<'u'&&window[_0x3c34de(0x2dc)]&&(_0x1d82f7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d82f7=self[_0x3c34de(0x2dc)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d82f7=globalThis[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof window<'u'&&window['msCrypto']&&(_0x1d82f7=window['msCrypto']),!_0x1d82f7&&typeof pt<'u'&&pt['crypto']&&(_0x1d82f7=pt[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof Ur==_0x3c34de(0x3bb))try{_0x1d82f7=require(_0x3c34de(0x2dc));}catch{}var _0x480fec=function(){var _0xafdf4f=_0x3c34de;if(_0x1d82f7){if(typeof _0x1d82f7[_0xafdf4f(0x1dd)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1dd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d82f7[_0xafdf4f(0x1a2)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1a2)](0x4)[_0xafdf4f(0x3ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3cb9d8=Object[_0x3c34de(0x16d)]||(function(){function _0x5a71d5(){}return function(_0x5f25d7){var _0x2154b9=_0x1f09,_0x300980;return _0x5a71d5[_0x2154b9(0x445)]=_0x5f25d7,_0x300980=new _0x5a71d5(),_0x5a71d5['prototype']=null,_0x300980;};}()),_0x517f34={},_0x3621ed=_0x517f34[_0x3c34de(0x186)]={},_0x318742=_0x3621ed[_0x3c34de(0x338)]=(function(){return{'extend':function(_0x2dc0c4){var _0x24d75b=_0x1f09,_0xae1d85=_0x3cb9d8(this);return _0x2dc0c4&&_0xae1d85['mixIn'](_0x2dc0c4),(!_0xae1d85['hasOwnProperty'](_0x24d75b(0x239))||this[_0x24d75b(0x239)]===_0xae1d85[_0x24d75b(0x239)])&&(_0xae1d85[_0x24d75b(0x239)]=function(){var _0x54f90b=_0x24d75b;_0xae1d85[_0x54f90b(0x3e2)][_0x54f90b(0x239)][_0x54f90b(0x277)](this,arguments);}),_0xae1d85['init'][_0x24d75b(0x445)]=_0xae1d85,_0xae1d85[_0x24d75b(0x3e2)]=this,_0xae1d85;},'create':function(){var _0x563ba6=_0x1f09,_0x3457e8=this['extend']();return _0x3457e8[_0x563ba6(0x239)]['apply'](_0x3457e8,arguments),_0x3457e8;},'init':function(){},'mixIn':function(_0xefb22d){var _0x5acbd8=_0x1f09;for(var _0x1706e8 in _0xefb22d)_0xefb22d[_0x5acbd8(0x3c1)](_0x1706e8)&&(this[_0x1706e8]=_0xefb22d[_0x1706e8]);_0xefb22d[_0x5acbd8(0x3c1)](_0x5acbd8(0x1d9))&&(this[_0x5acbd8(0x1d9)]=_0xefb22d[_0x5acbd8(0x1d9)]);},'clone':function(){var _0x55d286=_0x1f09;return this[_0x55d286(0x239)][_0x55d286(0x445)][_0x55d286(0x305)](this);}};}()),_0x31f7f3=_0x3621ed['WordArray']=_0x318742[_0x3c34de(0x305)]({'init':function(_0x7f8214,_0x39d91f){var _0x2d2c45=_0x3c34de;_0x7f8214=this['words']=_0x7f8214||[],_0x39d91f!=_0x4c69c5?this[_0x2d2c45(0x36c)]=_0x39d91f:this['sigBytes']=_0x7f8214[_0x2d2c45(0x2b9)]*0x4;},'toString':function(_0x5a20f4){var _0x172a20=_0x3c34de;return(_0x5a20f4||_0x223721)[_0x172a20(0x235)](this);},'concat':function(_0x2a055a){var _0x532d44=_0x3c34de,_0x28c0a9=this['words'],_0x4c808d=_0x2a055a[_0x532d44(0x3ff)],_0xbcdb70=this[_0x532d44(0x36c)],_0x6a4303=_0x2a055a[_0x532d44(0x36c)];if(this['clamp'](),_0xbcdb70%0x4)for(var _0x47d84e=0x0;_0x47d84e<_0x6a4303;_0x47d84e++){var _0x270b3f=_0x4c808d[_0x47d84e>>>0x2]>>>0x18-_0x47d84e%0x4*0x8&0xff;_0x28c0a9[_0xbcdb70+_0x47d84e>>>0x2]|=_0x270b3f<<0x18-(_0xbcdb70+_0x47d84e)%0x4*0x8;}else{for(var _0x2c1d0a=0x0;_0x2c1d0a<_0x6a4303;_0x2c1d0a+=0x4)_0x28c0a9[_0xbcdb70+_0x2c1d0a>>>0x2]=_0x4c808d[_0x2c1d0a>>>0x2];}return this[_0x532d44(0x36c)]+=_0x6a4303,this;},'clamp':function(){var _0x276ef4=_0x3c34de,_0x43765c=this[_0x276ef4(0x3ff)],_0x13f112=this[_0x276ef4(0x36c)];_0x43765c[_0x13f112>>>0x2]&=0xffffffff<<0x20-_0x13f112%0x4*0x8,_0x43765c[_0x276ef4(0x2b9)]=_0x38f389[_0x276ef4(0x190)](_0x13f112/0x4);},'clone':function(){var _0x4a45f8=_0x3c34de,_0x118dcd=_0x318742[_0x4a45f8(0x352)][_0x4a45f8(0x270)](this);return _0x118dcd['words']=this[_0x4a45f8(0x3ff)]['slice'](0x0),_0x118dcd;},'random':function(_0x3957e2){var _0x46f4bc=_0x3c34de;for(var _0x501334=[],_0x572142=0x0;_0x572142<_0x3957e2;_0x572142+=0x4)_0x501334[_0x46f4bc(0x1c9)](_0x480fec());return new _0x31f7f3[(_0x46f4bc(0x239))](_0x501334,_0x3957e2);}}),_0x13a01b=_0x517f34[_0x3c34de(0x364)]={},_0x223721=_0x13a01b['Hex']={'stringify':function(_0x5369f3){var _0x2b6faf=_0x3c34de;for(var _0x46d5d5=_0x5369f3['words'],_0x236dc5=_0x5369f3[_0x2b6faf(0x36c)],_0x3e913d=[],_0x5c97f5=0x0;_0x5c97f5<_0x236dc5;_0x5c97f5++){var _0x4445d4=_0x46d5d5[_0x5c97f5>>>0x2]>>>0x18-_0x5c97f5%0x4*0x8&0xff;_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4>>>0x4)[_0x2b6faf(0x1d9)](0x10)),_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4&0xf)[_0x2b6faf(0x1d9)](0x10));}return _0x3e913d[_0x2b6faf(0x1b7)]('');},'parse':function(_0x4e1da3){var _0x350dd4=_0x3c34de;for(var _0x206b8a=_0x4e1da3['length'],_0x556c37=[],_0x7f96bf=0x0;_0x7f96bf<_0x206b8a;_0x7f96bf+=0x2)_0x556c37[_0x7f96bf>>>0x3]|=parseInt(_0x4e1da3[_0x350dd4(0x41b)](_0x7f96bf,0x2),0x10)<<0x18-_0x7f96bf%0x8*0x4;return new _0x31f7f3[(_0x350dd4(0x239))](_0x556c37,_0x206b8a/0x2);}},_0x1fc8d5=_0x13a01b[_0x3c34de(0x363)]={'stringify':function(_0x185795){var _0x2e6039=_0x3c34de;for(var _0x317bd7=_0x185795[_0x2e6039(0x3ff)],_0x2a4920=_0x185795['sigBytes'],_0x2109f9=[],_0x45d954=0x0;_0x45d954<_0x2a4920;_0x45d954++){var _0x2adb48=_0x317bd7[_0x45d954>>>0x2]>>>0x18-_0x45d954%0x4*0x8&0xff;_0x2109f9[_0x2e6039(0x1c9)](String[_0x2e6039(0x34a)](_0x2adb48));}return _0x2109f9[_0x2e6039(0x1b7)]('');},'parse':function(_0x21464c){var _0x428262=_0x3c34de;for(var _0x20c8c0=_0x21464c[_0x428262(0x2b9)],_0xee43e7=[],_0x1f3408=0x0;_0x1f3408<_0x20c8c0;_0x1f3408++)_0xee43e7[_0x1f3408>>>0x2]|=(_0x21464c[_0x428262(0x28e)](_0x1f3408)&0xff)<<0x18-_0x1f3408%0x4*0x8;return new _0x31f7f3['init'](_0xee43e7,_0x20c8c0);}},_0x3eab57=_0x13a01b[_0x3c34de(0x3b0)]={'stringify':function(_0x229c31){var _0x5e9efd=_0x3c34de;try{return decodeURIComponent(escape(_0x1fc8d5[_0x5e9efd(0x235)](_0x229c31)));}catch{throw new Error(_0x5e9efd(0x429));}},'parse':function(_0x427d7e){return _0x1fc8d5['parse'](unescape(encodeURIComponent(_0x427d7e)));}},_0x1cf724=_0x3621ed[_0x3c34de(0x3c4)]=_0x318742[_0x3c34de(0x305)]({'reset':function(){var _0x53b074=_0x3c34de;this[_0x53b074(0x2d4)]=new _0x31f7f3['init'](),this[_0x53b074(0x170)]=0x0;},'_append':function(_0x597346){var _0x417b39=_0x3c34de;typeof _0x597346==_0x417b39(0x1a0)&&(_0x597346=_0x3eab57[_0x417b39(0x354)](_0x597346)),this[_0x417b39(0x2d4)]['concat'](_0x597346),this[_0x417b39(0x170)]+=_0x597346['sigBytes'];},'_process':function(_0x4f542c){var _0x46ea02=_0x3c34de,_0x5688c7,_0x5bd8ce=this[_0x46ea02(0x2d4)],_0x3cc874=_0x5bd8ce[_0x46ea02(0x3ff)],_0x37c97c=_0x5bd8ce['sigBytes'],_0x49f0b6=this[_0x46ea02(0x31d)],_0x1b1362=_0x49f0b6*0x4,_0x1be403=_0x37c97c/_0x1b1362;_0x4f542c?_0x1be403=_0x38f389[_0x46ea02(0x190)](_0x1be403):_0x1be403=_0x38f389[_0x46ea02(0x298)]((_0x1be403|0x0)-this[_0x46ea02(0x439)],0x0);var _0x3fa6c1=_0x1be403*_0x49f0b6,_0x18df06=_0x38f389['min'](_0x3fa6c1*0x4,_0x37c97c);if(_0x3fa6c1){for(var _0x5960c1=0x0;_0x5960c1<_0x3fa6c1;_0x5960c1+=_0x49f0b6)this[_0x46ea02(0x19a)](_0x3cc874,_0x5960c1);_0x5688c7=_0x3cc874['splice'](0x0,_0x3fa6c1),_0x5bd8ce[_0x46ea02(0x36c)]-=_0x18df06;}return new _0x31f7f3[(_0x46ea02(0x239))](_0x5688c7,_0x18df06);},'clone':function(){var _0xe77a15=_0x3c34de,_0x16a390=_0x318742[_0xe77a15(0x352)][_0xe77a15(0x270)](this);return _0x16a390['_data']=this[_0xe77a15(0x2d4)][_0xe77a15(0x352)](),_0x16a390;},'_minBufferSize':0x0});_0x3621ed[_0x3c34de(0x3d3)]=_0x1cf724['extend']({'cfg':_0x318742[_0x3c34de(0x305)](),'init':function(_0x456bd1){var _0x423735=_0x3c34de;this['cfg']=this[_0x423735(0x21a)][_0x423735(0x305)](_0x456bd1),this[_0x423735(0x1bd)]();},'reset':function(){var _0x1d73f4=_0x3c34de;_0x1cf724['reset'][_0x1d73f4(0x270)](this),this['_doReset']();},'update':function(_0x2438e5){var _0x160cac=_0x3c34de;return this[_0x160cac(0x289)](_0x2438e5),this[_0x160cac(0x276)](),this;},'finalize':function(_0x21d7b6){var _0x537134=_0x3c34de;_0x21d7b6&&this[_0x537134(0x289)](_0x21d7b6);var _0x4893a1=this['_doFinalize']();return _0x4893a1;},'blockSize':0x10,'_createHelper':function(_0x514412){return function(_0x21bd32,_0x4205e3){var _0xb646e2=_0x1f09;return new _0x514412[(_0xb646e2(0x239))](_0x4205e3)[_0xb646e2(0x441)](_0x21bd32);};},'_createHmacHelper':function(_0x4f228e){return function(_0x14369e,_0x1685a5){var _0x5d5f4c=_0x1f09;return new _0x455b16[(_0x5d5f4c(0x28c))][(_0x5d5f4c(0x239))](_0x4f228e,_0x1685a5)[_0x5d5f4c(0x441)](_0x14369e);};}});var _0x455b16=_0x517f34[_0x3c34de(0x301)]={};return _0x517f34;}(Math);return _0x388384;}));}(Ge)),Ge[_0x4a179d(0x34f)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x59f1ae=_0x51303a;return Qt||(Qt=0x1,function(_0x3c11cb,_0x3684d8){(function(_0x2878d0,_0x31ff06){var _0x839608=_0x1f09;_0x3c11cb[_0x839608(0x34f)]=_0x31ff06(ne());}(xr,function(_0x119f6c){var _0x43832b=_0x1f09;return(function(){var _0x22ebc9=_0x1f09,_0x5ae909=_0x119f6c,_0xd3a42b=_0x5ae909['lib'],_0x59b532=_0xd3a42b[_0x22ebc9(0x274)],_0x3559b1=_0x5ae909[_0x22ebc9(0x364)];_0x3559b1[_0x22ebc9(0x2c7)]={'stringify':function(_0x532fe1){var _0x4fd887=_0x22ebc9,_0x4aea9e=_0x532fe1[_0x4fd887(0x3ff)],_0x546bbb=_0x532fe1['sigBytes'],_0x237b6d=this[_0x4fd887(0x1c2)];_0x532fe1[_0x4fd887(0x21c)]();for(var _0x54c2e3=[],_0x437b62=0x0;_0x437b62<_0x546bbb;_0x437b62+=0x3)for(var _0x18824a=_0x4aea9e[_0x437b62>>>0x2]>>>0x18-_0x437b62%0x4*0x8&0xff,_0x9bbadd=_0x4aea9e[_0x437b62+0x1>>>0x2]>>>0x18-(_0x437b62+0x1)%0x4*0x8&0xff,_0x3c1eda=_0x4aea9e[_0x437b62+0x2>>>0x2]>>>0x18-(_0x437b62+0x2)%0x4*0x8&0xff,_0x2fa648=_0x18824a<<0x10|_0x9bbadd<<0x8|_0x3c1eda,_0x298a1f=0x0;_0x298a1f<0x4&&_0x437b62+_0x298a1f*0.75<_0x546bbb;_0x298a1f++)_0x54c2e3['push'](_0x237b6d[_0x4fd887(0x38a)](_0x2fa648>>>0x6*(0x3-_0x298a1f)&0x3f));var _0x3f8d6b=_0x237b6d[_0x4fd887(0x38a)](0x40);if(_0x3f8d6b){for(;_0x54c2e3['length']%0x4;)_0x54c2e3[_0x4fd887(0x1c9)](_0x3f8d6b);}return _0x54c2e3[_0x4fd887(0x1b7)]('');},'parse':function(_0x12cea2){var _0x2e7932=_0x22ebc9,_0x1920b8=_0x12cea2['length'],_0x580b45=this['_map'],_0x1fb60b=this[_0x2e7932(0x2b3)];if(!_0x1fb60b){_0x1fb60b=this['_reverseMap']=[];for(var _0x3e8da7=0x0;_0x3e8da7<_0x580b45[_0x2e7932(0x2b9)];_0x3e8da7++)_0x1fb60b[_0x580b45[_0x2e7932(0x28e)](_0x3e8da7)]=_0x3e8da7;}var _0x47c86a=_0x580b45['charAt'](0x40);if(_0x47c86a){var _0x34472f=_0x12cea2[_0x2e7932(0x16a)](_0x47c86a);_0x34472f!==-0x1&&(_0x1920b8=_0x34472f);}return _0x47acc7(_0x12cea2,_0x1920b8,_0x1fb60b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x47acc7(_0x2793d1,_0x45a33a,_0x3941af){var _0x337c1b=_0x22ebc9;for(var _0x47829f=[],_0x446755=0x0,_0x3bac8=0x0;_0x3bac8<_0x45a33a;_0x3bac8++)if(_0x3bac8%0x4){var _0x55820e=_0x3941af[_0x2793d1[_0x337c1b(0x28e)](_0x3bac8-0x1)]<<_0x3bac8%0x4*0x2,_0x574b79=_0x3941af[_0x2793d1['charCodeAt'](_0x3bac8)]>>>0x6-_0x3bac8%0x4*0x2,_0x272b57=_0x55820e|_0x574b79;_0x47829f[_0x446755>>>0x2]|=_0x272b57<<0x18-_0x446755%0x4*0x8,_0x446755++;}return _0x59b532[_0x337c1b(0x16d)](_0x47829f,_0x446755);}}()),_0x119f6c[_0x43832b(0x364)][_0x43832b(0x2c7)];}));}(We)),We[_0x59f1ae(0x34f)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function _0x1f09(_0x4d222f,_0xd197aa){var _0x1f79d3=_0x1f79();return _0x1f09=function(_0x1f09bc,_0x386cb3){_0x1f09bc=_0x1f09bc-0x147;var _0x4d1af2=_0x1f79d3[_0x1f09bc];return _0x4d1af2;},_0x1f09(_0x4d222f,_0xd197aa);}function Mr(){var _0x157476=_0x51303a;return ei||(ei=0x1,function(_0x5c1402,_0xd9dfa8){(function(_0x177135,_0x3a4da2){var _0x9d4263=_0x1f09;_0x5c1402[_0x9d4263(0x34f)]=_0x3a4da2(ne());}(Lr,function(_0x1981f0){return function(_0x323e64){var _0x35aaa1=_0x1f09,_0x90ac7d=_0x1981f0,_0x117792=_0x90ac7d[_0x35aaa1(0x186)],_0x207e8c=_0x117792[_0x35aaa1(0x274)],_0x3f9f52=_0x117792['Hasher'],_0xfc3e8d=_0x90ac7d[_0x35aaa1(0x301)],_0x4a972=[];(function(){var _0x493935=_0x35aaa1;for(var _0x4ff178=0x0;_0x4ff178<0x40;_0x4ff178++)_0x4a972[_0x4ff178]=_0x323e64[_0x493935(0x377)](_0x323e64['sin'](_0x4ff178+0x1))*0x100000000|0x0;}());var _0xe7d460=_0xfc3e8d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x305)]({'_doReset':function(){var _0x11db31=_0x35aaa1;this[_0x11db31(0x27a)]=new _0x207e8c[(_0x11db31(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x408717,_0xee065f){for(var _0x27a0ab=0x0;_0x27a0ab<0x10;_0x27a0ab++){var _0x41b4c8=_0xee065f+_0x27a0ab,_0x1bd740=_0x408717[_0x41b4c8];_0x408717[_0x41b4c8]=(_0x1bd740<<0x8|_0x1bd740>>>0x18)&0xff00ff|(_0x1bd740<<0x18|_0x1bd740>>>0x8)&0xff00ff00;}var _0x439c18=this['_hash']['words'],_0x2ff794=_0x408717[_0xee065f+0x0],_0x99bacc=_0x408717[_0xee065f+0x1],_0x2e64fd=_0x408717[_0xee065f+0x2],_0x537823=_0x408717[_0xee065f+0x3],_0x3e3a59=_0x408717[_0xee065f+0x4],_0xe168d3=_0x408717[_0xee065f+0x5],_0x12806c=_0x408717[_0xee065f+0x6],_0x45e62c=_0x408717[_0xee065f+0x7],_0x3cbcf8=_0x408717[_0xee065f+0x8],_0x358e5e=_0x408717[_0xee065f+0x9],_0x492476=_0x408717[_0xee065f+0xa],_0x2c7d7b=_0x408717[_0xee065f+0xb],_0x214d86=_0x408717[_0xee065f+0xc],_0x4bad60=_0x408717[_0xee065f+0xd],_0x5cc588=_0x408717[_0xee065f+0xe],_0x3104b6=_0x408717[_0xee065f+0xf],_0x591883=_0x439c18[0x0],_0x43df94=_0x439c18[0x1],_0x4e7bc3=_0x439c18[0x2],_0x391fe5=_0x439c18[0x3];_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x7,_0x4a972[0x0]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x99bacc,0xc,_0x4a972[0x1]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0x11,_0x4a972[0x2]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x537823,0x16,_0x4a972[0x3]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x7,_0x4a972[0x4]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0xe168d3,0xc,_0x4a972[0x5]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0x11,_0x4a972[0x6]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x45e62c,0x16,_0x4a972[0x7]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x7,_0x4a972[0x8]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x358e5e,0xc,_0x4a972[0x9]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0x11,_0x4a972[0xa]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2c7d7b,0x16,_0x4a972[0xb]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x7,_0x4a972[0xc]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x4bad60,0xc,_0x4a972[0xd]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0x11,_0x4a972[0xe]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3104b6,0x16,_0x4a972[0xf]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x5,_0x4a972[0x10]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x12806c,0x9,_0x4a972[0x11]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0xe,_0x4a972[0x12]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2ff794,0x14,_0x4a972[0x13]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x5,_0x4a972[0x14]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x492476,0x9,_0x4a972[0x15]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0xe,_0x4a972[0x16]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3e3a59,0x14,_0x4a972[0x17]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x5,_0x4a972[0x18]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x5cc588,0x9,_0x4a972[0x19]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0xe,_0x4a972[0x1a]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3cbcf8,0x14,_0x4a972[0x1b]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x5,_0x4a972[0x1c]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2e64fd,0x9,_0x4a972[0x1d]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0xe,_0x4a972[0x1e]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x214d86,0x14,_0x4a972[0x1f]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x4,_0x4a972[0x20]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3cbcf8,0xb,_0x4a972[0x21]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0x10,_0x4a972[0x22]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x5cc588,0x17,_0x4a972[0x23]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x4,_0x4a972[0x24]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3e3a59,0xb,_0x4a972[0x25]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0x10,_0x4a972[0x26]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x492476,0x17,_0x4a972[0x27]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x4,_0x4a972[0x28]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2ff794,0xb,_0x4a972[0x29]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0x10,_0x4a972[0x2a]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x12806c,0x17,_0x4a972[0x2b]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x4,_0x4a972[0x2c]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x214d86,0xb,_0x4a972[0x2d]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0x10,_0x4a972[0x2e]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2e64fd,0x17,_0x4a972[0x2f]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x6,_0x4a972[0x30]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x45e62c,0xa,_0x4a972[0x31]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0xf,_0x4a972[0x32]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0xe168d3,0x15,_0x4a972[0x33]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x6,_0x4a972[0x34]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x537823,0xa,_0x4a972[0x35]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0xf,_0x4a972[0x36]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x99bacc,0x15,_0x4a972[0x37]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x6,_0x4a972[0x38]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3104b6,0xa,_0x4a972[0x39]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0xf,_0x4a972[0x3a]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x4bad60,0x15,_0x4a972[0x3b]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x6,_0x4a972[0x3c]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2c7d7b,0xa,_0x4a972[0x3d]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0xf,_0x4a972[0x3e]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x358e5e,0x15,_0x4a972[0x3f]),_0x439c18[0x0]=_0x439c18[0x0]+_0x591883|0x0,_0x439c18[0x1]=_0x439c18[0x1]+_0x43df94|0x0,_0x439c18[0x2]=_0x439c18[0x2]+_0x4e7bc3|0x0,_0x439c18[0x3]=_0x439c18[0x3]+_0x391fe5|0x0;},'_doFinalize':function(){var _0x2c3055=_0x35aaa1,_0x5963a4=this[_0x2c3055(0x2d4)],_0x38f472=_0x5963a4[_0x2c3055(0x3ff)],_0x29f8fd=this['_nDataBytes']*0x8,_0x115137=_0x5963a4[_0x2c3055(0x36c)]*0x8;_0x38f472[_0x115137>>>0x5]|=0x80<<0x18-_0x115137%0x20;var _0x5eeef0=_0x323e64[_0x2c3055(0x20d)](_0x29f8fd/0x100000000),_0x36e157=_0x29f8fd;_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xf]=(_0x5eeef0<<0x8|_0x5eeef0>>>0x18)&0xff00ff|(_0x5eeef0<<0x18|_0x5eeef0>>>0x8)&0xff00ff00,_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xe]=(_0x36e157<<0x8|_0x36e157>>>0x18)&0xff00ff|(_0x36e157<<0x18|_0x36e157>>>0x8)&0xff00ff00,_0x5963a4[_0x2c3055(0x36c)]=(_0x38f472[_0x2c3055(0x2b9)]+0x1)*0x4,this[_0x2c3055(0x276)]();for(var _0x57d897=this[_0x2c3055(0x27a)],_0x11d94c=_0x57d897[_0x2c3055(0x3ff)],_0x59f001=0x0;_0x59f001<0x4;_0x59f001++){var _0x26a16=_0x11d94c[_0x59f001];_0x11d94c[_0x59f001]=(_0x26a16<<0x8|_0x26a16>>>0x18)&0xff00ff|(_0x26a16<<0x18|_0x26a16>>>0x8)&0xff00ff00;}return _0x57d897;},'clone':function(){var _0x193fc1=_0x35aaa1,_0x5957b2=_0x3f9f52['clone'][_0x193fc1(0x270)](this);return _0x5957b2['_hash']=this[_0x193fc1(0x27a)][_0x193fc1(0x352)](),_0x5957b2;}});function _0x1bcd73(_0x5ead1a,_0x98b3b8,_0x1d81f3,_0x43b034,_0xe65fa3,_0x5f247e,_0x2e37d0){var _0x1ad43c=_0x5ead1a+(_0x98b3b8&_0x1d81f3|~_0x98b3b8&_0x43b034)+_0xe65fa3+_0x2e37d0;return(_0x1ad43c<<_0x5f247e|_0x1ad43c>>>0x20-_0x5f247e)+_0x98b3b8;}function _0x1d492d(_0x5bdf05,_0x19b8f4,_0x971e0f,_0x22cc93,_0x781769,_0x91eb52,_0x3d27b2){var _0x1e75ee=_0x5bdf05+(_0x19b8f4&_0x22cc93|_0x971e0f&~_0x22cc93)+_0x781769+_0x3d27b2;return(_0x1e75ee<<_0x91eb52|_0x1e75ee>>>0x20-_0x91eb52)+_0x19b8f4;}function _0x3915a8(_0x3f121e,_0x2ab77e,_0x39d85b,_0x144d8d,_0x47ec02,_0x451862,_0xd9b001){var _0x54d4e3=_0x3f121e+(_0x2ab77e^_0x39d85b^_0x144d8d)+_0x47ec02+_0xd9b001;return(_0x54d4e3<<_0x451862|_0x54d4e3>>>0x20-_0x451862)+_0x2ab77e;}function _0xfaade(_0x287187,_0x264df6,_0x4c1a78,_0x1451c5,_0x343b24,_0x2b34ce,_0x11cd82){var _0x27d969=_0x287187+(_0x4c1a78^(_0x264df6|~_0x1451c5))+_0x343b24+_0x11cd82;return(_0x27d969<<_0x2b34ce|_0x27d969>>>0x20-_0x2b34ce)+_0x264df6;}_0x90ac7d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x332)](_0xe7d460),_0x90ac7d[_0x35aaa1(0x254)]=_0x3f9f52[_0x35aaa1(0x32b)](_0xe7d460);}(Math),_0x1981f0['MD5'];}));}(Ke)),Ke[_0x157476(0x34f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x1e0bb4=_0x51303a;return ti||(ti=0x1,function(_0x2cc3d7,_0xdd02aa){(function(_0x98320c,_0x430f82){var _0x4b661b=_0x1f09;_0x2cc3d7[_0x4b661b(0x34f)]=_0x430f82(ne());}($r,function(_0x1a5e27){var _0x1a4673=_0x1f09;return(function(){var _0x44d6d2=_0x1f09,_0x498502=_0x1a5e27,_0x3f82cd=_0x498502['lib'],_0x3391ea=_0x3f82cd[_0x44d6d2(0x274)],_0x2d2793=_0x3f82cd[_0x44d6d2(0x3d3)],_0x46f08f=_0x498502[_0x44d6d2(0x301)],_0x24cc14=[],_0x411b19=_0x46f08f[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x305)]({'_doReset':function(){var _0x359830=_0x44d6d2;this[_0x359830(0x27a)]=new _0x3391ea[(_0x359830(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1481d3,_0xbfca34){var _0x3ae58a=_0x44d6d2;for(var _0x2d750b=this[_0x3ae58a(0x27a)][_0x3ae58a(0x3ff)],_0x54241b=_0x2d750b[0x0],_0x1f0716=_0x2d750b[0x1],_0x255c10=_0x2d750b[0x2],_0x481113=_0x2d750b[0x3],_0x361c5f=_0x2d750b[0x4],_0x236e38=0x0;_0x236e38<0x50;_0x236e38++){if(_0x236e38<0x10)_0x24cc14[_0x236e38]=_0x1481d3[_0xbfca34+_0x236e38]|0x0;else{var _0x27b0c5=_0x24cc14[_0x236e38-0x3]^_0x24cc14[_0x236e38-0x8]^_0x24cc14[_0x236e38-0xe]^_0x24cc14[_0x236e38-0x10];_0x24cc14[_0x236e38]=_0x27b0c5<<0x1|_0x27b0c5>>>0x1f;}var _0x77e714=(_0x54241b<<0x5|_0x54241b>>>0x1b)+_0x361c5f+_0x24cc14[_0x236e38];_0x236e38<0x14?_0x77e714+=(_0x1f0716&_0x255c10|~_0x1f0716&_0x481113)+0x5a827999:_0x236e38<0x28?_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)+0x6ed9eba1:_0x236e38<0x3c?_0x77e714+=(_0x1f0716&_0x255c10|_0x1f0716&_0x481113|_0x255c10&_0x481113)-0x70e44324:_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)-0x359d3e2a,_0x361c5f=_0x481113,_0x481113=_0x255c10,_0x255c10=_0x1f0716<<0x1e|_0x1f0716>>>0x2,_0x1f0716=_0x54241b,_0x54241b=_0x77e714;}_0x2d750b[0x0]=_0x2d750b[0x0]+_0x54241b|0x0,_0x2d750b[0x1]=_0x2d750b[0x1]+_0x1f0716|0x0,_0x2d750b[0x2]=_0x2d750b[0x2]+_0x255c10|0x0,_0x2d750b[0x3]=_0x2d750b[0x3]+_0x481113|0x0,_0x2d750b[0x4]=_0x2d750b[0x4]+_0x361c5f|0x0;},'_doFinalize':function(){var _0x4943ba=_0x44d6d2,_0x256d4a=this[_0x4943ba(0x2d4)],_0x58edf2=_0x256d4a[_0x4943ba(0x3ff)],_0x22fe80=this[_0x4943ba(0x170)]*0x8,_0x419ffa=_0x256d4a['sigBytes']*0x8;return _0x58edf2[_0x419ffa>>>0x5]|=0x80<<0x18-_0x419ffa%0x20,_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x22fe80/0x100000000),_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xf]=_0x22fe80,_0x256d4a[_0x4943ba(0x36c)]=_0x58edf2[_0x4943ba(0x2b9)]*0x4,this[_0x4943ba(0x276)](),this['_hash'];},'clone':function(){var _0x53f3d6=_0x44d6d2,_0x420a63=_0x2d2793['clone'][_0x53f3d6(0x270)](this);return _0x420a63[_0x53f3d6(0x27a)]=this[_0x53f3d6(0x27a)][_0x53f3d6(0x352)](),_0x420a63;}});_0x498502[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x332)](_0x411b19),_0x498502[_0x44d6d2(0x2bd)]=_0x2d2793[_0x44d6d2(0x32b)](_0x411b19);}()),_0x1a5e27[_0x1a4673(0x1b0)];}));}(qe)),qe[_0x1e0bb4(0x34f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x45a5e6,_0x5cb9f4){(function(_0x323a8a,_0xd4874c){var _0x40fbf3=_0x1f09;_0x45a5e6[_0x40fbf3(0x34f)]=_0xd4874c(ne());}(kr,function(_0x392f0b){(function(){var _0x552a6c=_0x1f09,_0x57ecd3=_0x392f0b,_0x43c12a=_0x57ecd3[_0x552a6c(0x186)],_0x4b5d2d=_0x43c12a[_0x552a6c(0x338)],_0x1bf9f1=_0x57ecd3[_0x552a6c(0x364)],_0x591286=_0x1bf9f1[_0x552a6c(0x3b0)],_0x18d37e=_0x57ecd3['algo'];_0x18d37e[_0x552a6c(0x28c)]=_0x4b5d2d['extend']({'init':function(_0x1ff434,_0xa3dace){var _0x2b33b5=_0x552a6c;_0x1ff434=this[_0x2b33b5(0x1b9)]=new _0x1ff434[(_0x2b33b5(0x239))](),typeof _0xa3dace==_0x2b33b5(0x1a0)&&(_0xa3dace=_0x591286[_0x2b33b5(0x354)](_0xa3dace));var _0x55f4c0=_0x1ff434[_0x2b33b5(0x31d)],_0x2a5fc4=_0x55f4c0*0x4;_0xa3dace['sigBytes']>_0x2a5fc4&&(_0xa3dace=_0x1ff434[_0x2b33b5(0x441)](_0xa3dace)),_0xa3dace['clamp']();for(var _0x227794=this['_oKey']=_0xa3dace[_0x2b33b5(0x352)](),_0x1491de=this[_0x2b33b5(0x209)]=_0xa3dace[_0x2b33b5(0x352)](),_0x5b7e5e=_0x227794[_0x2b33b5(0x3ff)],_0x268914=_0x1491de[_0x2b33b5(0x3ff)],_0x2e34b8=0x0;_0x2e34b8<_0x55f4c0;_0x2e34b8++)_0x5b7e5e[_0x2e34b8]^=0x5c5c5c5c,_0x268914[_0x2e34b8]^=0x36363636;_0x227794[_0x2b33b5(0x36c)]=_0x1491de[_0x2b33b5(0x36c)]=_0x2a5fc4,this[_0x2b33b5(0x1bd)]();},'reset':function(){var _0x5c9e89=_0x552a6c,_0x35b9f1=this[_0x5c9e89(0x1b9)];_0x35b9f1[_0x5c9e89(0x1bd)](),_0x35b9f1['update'](this['_iKey']);},'update':function(_0x313877){var _0x260636=_0x552a6c;return this[_0x260636(0x1b9)][_0x260636(0x1e4)](_0x313877),this;},'finalize':function(_0x5b46c2){var _0xdd0946=_0x552a6c,_0x3bf425=this[_0xdd0946(0x1b9)],_0x28e36c=_0x3bf425[_0xdd0946(0x441)](_0x5b46c2);_0x3bf425['reset']();var _0x56b1df=_0x3bf425[_0xdd0946(0x441)](this[_0xdd0946(0x3f9)]['clone']()[_0xdd0946(0x249)](_0x28e36c));return _0x56b1df;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x51303a(0x34f)],ni;function Ui(){var _0x5be32e=_0x51303a;return ni||(ni=0x1,function(_0x134454,_0x1da539){(function(_0x5f05c2,_0x5ed828,_0x58c0e0){_0x134454['exports']=_0x5ed828(ne(),Hr(),jr());}(Br,function(_0x2f472c){var _0x28a511=_0x1f09;return(function(){var _0x26f9c3=_0x1f09,_0xd8e50e=_0x2f472c,_0x19e64b=_0xd8e50e[_0x26f9c3(0x186)],_0x309f53=_0x19e64b[_0x26f9c3(0x338)],_0x28067e=_0x19e64b['WordArray'],_0x2b8573=_0xd8e50e[_0x26f9c3(0x301)],_0x154600=_0x2b8573[_0x26f9c3(0x373)],_0x3c52bf=_0x2b8573[_0x26f9c3(0x192)]=_0x309f53[_0x26f9c3(0x305)]({'cfg':_0x309f53[_0x26f9c3(0x305)]({'keySize':0x80/0x20,'hasher':_0x154600,'iterations':0x1}),'init':function(_0x1b1d9b){var _0x5099a1=_0x26f9c3;this[_0x5099a1(0x21a)]=this[_0x5099a1(0x21a)]['extend'](_0x1b1d9b);},'compute':function(_0x490faa,_0x556c07){var _0x5d3268=_0x26f9c3;for(var _0x55af69,_0x1e0514=this[_0x5d3268(0x21a)],_0x198d57=_0x1e0514[_0x5d3268(0x3bc)][_0x5d3268(0x16d)](),_0x16a965=_0x28067e[_0x5d3268(0x16d)](),_0x24d905=_0x16a965[_0x5d3268(0x3ff)],_0x371470=_0x1e0514[_0x5d3268(0x2a5)],_0x3051d8=_0x1e0514[_0x5d3268(0x43e)];_0x24d905[_0x5d3268(0x2b9)]<_0x371470;){_0x55af69&&_0x198d57[_0x5d3268(0x1e4)](_0x55af69),_0x55af69=_0x198d57[_0x5d3268(0x1e4)](_0x490faa)['finalize'](_0x556c07),_0x198d57[_0x5d3268(0x1bd)]();for(var _0x3e16cf=0x1;_0x3e16cf<_0x3051d8;_0x3e16cf++)_0x55af69=_0x198d57['finalize'](_0x55af69),_0x198d57[_0x5d3268(0x1bd)]();_0x16a965[_0x5d3268(0x249)](_0x55af69);}return _0x16a965['sigBytes']=_0x371470*0x4,_0x16a965;}});_0xd8e50e[_0x26f9c3(0x192)]=function(_0x57831e,_0x4f9576,_0xdac66b){return _0x3c52bf['create'](_0xdac66b)['compute'](_0x57831e,_0x4f9576);};}()),_0x2f472c[_0x28a511(0x192)];}));}(Ye)),Ye[_0x5be32e(0x34f)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0xc803cc=_0x51303a;return ri||(ri=0x1,function(_0x44ccf9,_0x2ba8cf){(function(_0x478cca,_0x16fac6,_0x3c2965){var _0x450c3c=_0x1f09;_0x44ccf9[_0x450c3c(0x34f)]=_0x16fac6(ne(),Ui());}(Fr,function(_0x5db707){var _0x3233fc=_0x1f09;_0x5db707['lib'][_0x3233fc(0x189)]||function(_0x1e183c){var _0x1df056=_0x3233fc,_0xe370ac=_0x5db707,_0x229c59=_0xe370ac[_0x1df056(0x186)],_0x2b5e7e=_0x229c59['Base'],_0x271a26=_0x229c59[_0x1df056(0x274)],_0x4a6c05=_0x229c59[_0x1df056(0x3c4)],_0x4b11b4=_0xe370ac['enc'];_0x4b11b4['Utf8'];var _0x18ea9f=_0x4b11b4['Base64'],_0x2bd379=_0xe370ac[_0x1df056(0x301)],_0x356192=_0x2bd379['EvpKDF'],_0x27ec9d=_0x229c59['Cipher']=_0x4a6c05[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)](),'createEncryptor':function(_0x3f3d3c,_0x53c17e){var _0x58b04d=_0x1df056;return this[_0x58b04d(0x16d)](this[_0x58b04d(0x222)],_0x3f3d3c,_0x53c17e);},'createDecryptor':function(_0x5af0b8,_0xdea671){var _0x34b43e=_0x1df056;return this['create'](this[_0x34b43e(0x1aa)],_0x5af0b8,_0xdea671);},'init':function(_0x492d7a,_0x117f49,_0x743911){var _0x5aa810=_0x1df056;this[_0x5aa810(0x21a)]=this[_0x5aa810(0x21a)][_0x5aa810(0x305)](_0x743911),this[_0x5aa810(0x14d)]=_0x492d7a,this[_0x5aa810(0x159)]=_0x117f49,this['reset']();},'reset':function(){var _0x418dce=_0x1df056;_0x4a6c05[_0x418dce(0x1bd)][_0x418dce(0x270)](this),this[_0x418dce(0x2b1)]();},'process':function(_0x5ceb68){var _0x453c28=_0x1df056;return this[_0x453c28(0x289)](_0x5ceb68),this[_0x453c28(0x276)]();},'finalize':function(_0x232c15){var _0x4bafb7=_0x1df056;_0x232c15&&this[_0x4bafb7(0x289)](_0x232c15);var _0x224063=this[_0x4bafb7(0x376)]();return _0x224063;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x23425b(_0x5ecdf6){var _0x27c5f9=_0x1f09;return typeof _0x5ecdf6==_0x27c5f9(0x1a0)?_0x541eaa:_0x2a06ee;}return function(_0x4b3afd){return{'encrypt':function(_0xf2ea7e,_0x3db551,_0x3df183){var _0x30533c=_0x1f09;return _0x23425b(_0x3db551)[_0x30533c(0x295)](_0x4b3afd,_0xf2ea7e,_0x3db551,_0x3df183);},'decrypt':function(_0x35d589,_0xc880cf,_0x582e4a){return _0x23425b(_0xc880cf)['decrypt'](_0x4b3afd,_0x35d589,_0xc880cf,_0x582e4a);}};};}())});_0x229c59[_0x1df056(0x356)]=_0x27ec9d['extend']({'_doFinalize':function(){var _0x27ea2f=this['_process'](!0x0);return _0x27ea2f;},'blockSize':0x1});var _0x15dfe6=_0xe370ac[_0x1df056(0x244)]={},_0x5ae2aa=_0x229c59[_0x1df056(0x1a7)]=_0x2b5e7e[_0x1df056(0x305)]({'createEncryptor':function(_0x1d4bac,_0x12eb83){var _0xb1dda2=_0x1df056;return this[_0xb1dda2(0x278)]['create'](_0x1d4bac,_0x12eb83);},'createDecryptor':function(_0x193abc,_0xcabdaf){var _0x18be5c=_0x1df056;return this[_0x18be5c(0x1cc)][_0x18be5c(0x16d)](_0x193abc,_0xcabdaf);},'init':function(_0x5720f7,_0x2fded0){var _0x36fb11=_0x1df056;this[_0x36fb11(0x1c4)]=_0x5720f7,this[_0x36fb11(0x30b)]=_0x2fded0;}}),_0x47e23d=_0x15dfe6[_0x1df056(0x38e)]=(function(){var _0x2e9d94=_0x1df056,_0x3b8e65=_0x5ae2aa[_0x2e9d94(0x305)]();_0x3b8e65[_0x2e9d94(0x278)]=_0x3b8e65[_0x2e9d94(0x305)]({'processBlock':function(_0x3f334e,_0x4421df){var _0x4db0ab=_0x2e9d94,_0x3a2be8=this[_0x4db0ab(0x1c4)],_0x5610a7=_0x3a2be8[_0x4db0ab(0x31d)];_0x2f4716['call'](this,_0x3f334e,_0x4421df,_0x5610a7),_0x3a2be8[_0x4db0ab(0x427)](_0x3f334e,_0x4421df),this[_0x4db0ab(0x3de)]=_0x3f334e[_0x4db0ab(0x172)](_0x4421df,_0x4421df+_0x5610a7);}}),_0x3b8e65[_0x2e9d94(0x1cc)]=_0x3b8e65['extend']({'processBlock':function(_0x92becb,_0x590bac){var _0x20314d=_0x2e9d94,_0x3db968=this[_0x20314d(0x1c4)],_0x18f187=_0x3db968[_0x20314d(0x31d)],_0x3113b3=_0x92becb[_0x20314d(0x172)](_0x590bac,_0x590bac+_0x18f187);_0x3db968[_0x20314d(0x14e)](_0x92becb,_0x590bac),_0x2f4716[_0x20314d(0x270)](this,_0x92becb,_0x590bac,_0x18f187),this[_0x20314d(0x3de)]=_0x3113b3;}});function _0x2f4716(_0x566cf9,_0x2a4ea6,_0x3baf73){var _0x270e60=_0x2e9d94,_0x446fec,_0x2904a0=this[_0x270e60(0x30b)];_0x2904a0?(_0x446fec=_0x2904a0,this[_0x270e60(0x30b)]=_0x1e183c):_0x446fec=this[_0x270e60(0x3de)];for(var _0x5532df=0x0;_0x5532df<_0x3baf73;_0x5532df++)_0x566cf9[_0x2a4ea6+_0x5532df]^=_0x446fec[_0x5532df];}return _0x3b8e65;}()),_0x2bf88e=_0xe370ac[_0x1df056(0x442)]={},_0x30bb23=_0x2bf88e['Pkcs7']={'pad':function(_0x4cefd5,_0x2e7250){var _0x3f4c27=_0x1df056;for(var _0x1203a0=_0x2e7250*0x4,_0x5d7c42=_0x1203a0-_0x4cefd5['sigBytes']%_0x1203a0,_0x5e6112=_0x5d7c42<<0x18|_0x5d7c42<<0x10|_0x5d7c42<<0x8|_0x5d7c42,_0x9367a1=[],_0x467684=0x0;_0x467684<_0x5d7c42;_0x467684+=0x4)_0x9367a1[_0x3f4c27(0x1c9)](_0x5e6112);var _0x505b93=_0x271a26[_0x3f4c27(0x16d)](_0x9367a1,_0x5d7c42);_0x4cefd5['concat'](_0x505b93);},'unpad':function(_0x35676e){var _0x3ffb23=_0x1df056,_0x172062=_0x35676e[_0x3ffb23(0x3ff)][_0x35676e[_0x3ffb23(0x36c)]-0x1>>>0x2]&0xff;_0x35676e[_0x3ffb23(0x36c)]-=_0x172062;}};_0x229c59[_0x1df056(0x19e)]=_0x27ec9d[_0x1df056(0x305)]({'cfg':_0x27ec9d[_0x1df056(0x21a)][_0x1df056(0x305)]({'mode':_0x47e23d,'padding':_0x30bb23}),'reset':function(){var _0x7156e=_0x1df056,_0x63b90f;_0x27ec9d[_0x7156e(0x1bd)][_0x7156e(0x270)](this);var _0x4237da=this[_0x7156e(0x21a)],_0x59f6dd=_0x4237da['iv'],_0xdf8839=_0x4237da[_0x7156e(0x244)];this[_0x7156e(0x14d)]==this[_0x7156e(0x222)]?_0x63b90f=_0xdf8839[_0x7156e(0x1e7)]:(_0x63b90f=_0xdf8839[_0x7156e(0x1d6)],this['_minBufferSize']=0x1),this[_0x7156e(0x318)]&&this[_0x7156e(0x318)][_0x7156e(0x31c)]==_0x63b90f?this[_0x7156e(0x318)]['init'](this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]):(this[_0x7156e(0x318)]=_0x63b90f[_0x7156e(0x270)](_0xdf8839,this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]),this['_mode'][_0x7156e(0x31c)]=_0x63b90f);},'_doProcessBlock':function(_0x4ac300,_0x1b75b6){var _0x2e8882=_0x1df056;this[_0x2e8882(0x318)][_0x2e8882(0x208)](_0x4ac300,_0x1b75b6);},'_doFinalize':function(){var _0x3ccc24=_0x1df056,_0x5192ad,_0x14dcdd=this['cfg'][_0x3ccc24(0x355)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x14dcdd[_0x3ccc24(0x442)](this[_0x3ccc24(0x2d4)],this['blockSize']),_0x5192ad=this[_0x3ccc24(0x276)](!0x0)):(_0x5192ad=this['_process'](!0x0),_0x14dcdd[_0x3ccc24(0x330)](_0x5192ad)),_0x5192ad;},'blockSize':0x80/0x20});var _0x133e78=_0x229c59[_0x1df056(0x2ee)]=_0x2b5e7e[_0x1df056(0x305)]({'init':function(_0x473f90){this['mixIn'](_0x473f90);},'toString':function(_0x4f049f){var _0x4d7ed7=_0x1df056;return(_0x4f049f||this[_0x4d7ed7(0x197)])[_0x4d7ed7(0x235)](this);}}),_0x3980e5=_0xe370ac[_0x1df056(0x32f)]={},_0x1cb33b=_0x3980e5['OpenSSL']={'stringify':function(_0x41db7c){var _0x1aa81d=_0x1df056,_0x5a6662,_0x1ed8a1=_0x41db7c[_0x1aa81d(0x430)],_0x55a4a4=_0x41db7c[_0x1aa81d(0x3df)];return _0x55a4a4?_0x5a6662=_0x271a26[_0x1aa81d(0x16d)]([0x53616c74,0x65645f5f])['concat'](_0x55a4a4)[_0x1aa81d(0x249)](_0x1ed8a1):_0x5a6662=_0x1ed8a1,_0x5a6662[_0x1aa81d(0x1d9)](_0x18ea9f);},'parse':function(_0x57ccf3){var _0x32633a=_0x1df056,_0x151a21,_0x4214ae=_0x18ea9f[_0x32633a(0x354)](_0x57ccf3),_0x3ba2ed=_0x4214ae[_0x32633a(0x3ff)];return _0x3ba2ed[0x0]==0x53616c74&&_0x3ba2ed[0x1]==0x65645f5f&&(_0x151a21=_0x271a26[_0x32633a(0x16d)](_0x3ba2ed[_0x32633a(0x172)](0x2,0x4)),_0x3ba2ed[_0x32633a(0x271)](0x0,0x4),_0x4214ae[_0x32633a(0x36c)]-=0x10),_0x133e78[_0x32633a(0x16d)]({'ciphertext':_0x4214ae,'salt':_0x151a21});}},_0x2a06ee=_0x229c59[_0x1df056(0x2aa)]=_0x2b5e7e[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)]({'format':_0x1cb33b}),'encrypt':function(_0x24c025,_0x15d861,_0x45a984,_0x5f165a){var _0x4ece15=_0x1df056;_0x5f165a=this[_0x4ece15(0x21a)][_0x4ece15(0x305)](_0x5f165a);var _0x20835f=_0x24c025['createEncryptor'](_0x45a984,_0x5f165a),_0x5b700c=_0x20835f[_0x4ece15(0x441)](_0x15d861),_0x12cf6d=_0x20835f['cfg'];return _0x133e78[_0x4ece15(0x16d)]({'ciphertext':_0x5b700c,'key':_0x45a984,'iv':_0x12cf6d['iv'],'algorithm':_0x24c025,'mode':_0x12cf6d[_0x4ece15(0x244)],'padding':_0x12cf6d[_0x4ece15(0x355)],'blockSize':_0x24c025['blockSize'],'formatter':_0x5f165a[_0x4ece15(0x32f)]});},'decrypt':function(_0x32f832,_0x5a14b2,_0xd3b053,_0x439677){var _0x3dd757=_0x1df056;_0x439677=this[_0x3dd757(0x21a)]['extend'](_0x439677),_0x5a14b2=this[_0x3dd757(0x337)](_0x5a14b2,_0x439677[_0x3dd757(0x32f)]);var _0x50dd8a=_0x32f832[_0x3dd757(0x1d6)](_0xd3b053,_0x439677)['finalize'](_0x5a14b2[_0x3dd757(0x430)]);return _0x50dd8a;},'_parse':function(_0x5becb7,_0x50562a){var _0x5b6adf=_0x1df056;return typeof _0x5becb7==_0x5b6adf(0x1a0)?_0x50562a[_0x5b6adf(0x354)](_0x5becb7,this):_0x5becb7;}}),_0x5bdee8=_0xe370ac[_0x1df056(0x323)]={},_0x3f19ca=_0x5bdee8[_0x1df056(0x357)]={'execute':function(_0xd0b322,_0x4f1a4c,_0x179b96,_0x472e78,_0x1e807f){var _0x3ea7bb=_0x1df056;if(_0x472e78||(_0x472e78=_0x271a26[_0x3ea7bb(0x24a)](0x40/0x8)),_0x1e807f)var _0x5958c0=_0x356192['create']({'keySize':_0x4f1a4c+_0x179b96,'hasher':_0x1e807f})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);else var _0x5958c0=_0x356192[_0x3ea7bb(0x16d)]({'keySize':_0x4f1a4c+_0x179b96})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);var _0x1bf52a=_0x271a26[_0x3ea7bb(0x16d)](_0x5958c0[_0x3ea7bb(0x3ff)][_0x3ea7bb(0x172)](_0x4f1a4c),_0x179b96*0x4);return _0x5958c0[_0x3ea7bb(0x36c)]=_0x4f1a4c*0x4,_0x133e78[_0x3ea7bb(0x16d)]({'key':_0x5958c0,'iv':_0x1bf52a,'salt':_0x472e78});}},_0x541eaa=_0x229c59[_0x1df056(0x333)]=_0x2a06ee['extend']({'cfg':_0x2a06ee[_0x1df056(0x21a)][_0x1df056(0x305)]({'kdf':_0x3f19ca}),'encrypt':function(_0x99f2af,_0x1d7694,_0x4c82e2,_0x881b0d){var _0x582f87=_0x1df056;_0x881b0d=this[_0x582f87(0x21a)]['extend'](_0x881b0d);var _0x175241=_0x881b0d['kdf'][_0x582f87(0x17b)](_0x4c82e2,_0x99f2af[_0x582f87(0x2a5)],_0x99f2af['ivSize'],_0x881b0d[_0x582f87(0x3df)],_0x881b0d['hasher']);_0x881b0d['iv']=_0x175241['iv'];var _0x57e012=_0x2a06ee[_0x582f87(0x295)][_0x582f87(0x270)](this,_0x99f2af,_0x1d7694,_0x175241[_0x582f87(0x404)],_0x881b0d);return _0x57e012[_0x582f87(0x40a)](_0x175241),_0x57e012;},'decrypt':function(_0xb247f7,_0x1cdef0,_0x2ed157,_0x5dec92){var _0x1f5fc2=_0x1df056;_0x5dec92=this['cfg'][_0x1f5fc2(0x305)](_0x5dec92),_0x1cdef0=this[_0x1f5fc2(0x337)](_0x1cdef0,_0x5dec92[_0x1f5fc2(0x32f)]);var _0x282169=_0x5dec92[_0x1f5fc2(0x323)][_0x1f5fc2(0x17b)](_0x2ed157,_0xb247f7['keySize'],_0xb247f7[_0x1f5fc2(0x288)],_0x1cdef0['salt'],_0x5dec92[_0x1f5fc2(0x3bc)]);_0x5dec92['iv']=_0x282169['iv'];var _0x38f214=_0x2a06ee[_0x1f5fc2(0x41a)]['call'](this,_0xb247f7,_0x1cdef0,_0x282169[_0x1f5fc2(0x404)],_0x5dec92);return _0x38f214;}});}();}));}(Je)),Je[_0xc803cc(0x34f)];}var Vr=Ve[_0x51303a(0x34f)],si;function Gr(){var _0x5ecc9c=_0x51303a;return si||(si=0x1,function(_0x3e0bc8,_0x305bb4){(function(_0x13fd30,_0x3a69a6,_0x3d7323){_0x3e0bc8['exports']=_0x3a69a6(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x12dc8a){var _0x4bcde1=_0x1f09;return(function(){var _0x546082=_0x1f09,_0x5e4a68=_0x12dc8a,_0x54a9aa=_0x5e4a68[_0x546082(0x186)],_0x29b178=_0x54a9aa[_0x546082(0x19e)],_0x23229d=_0x5e4a68[_0x546082(0x301)],_0x5670d8=[],_0x20439f=[],_0x885976=[],_0x24d021=[],_0x2f7a17=[],_0x4c952d=[],_0xb6cfbd=[],_0x5f153a=[],_0x55c807=[],_0x3dd6dd=[];(function(){for(var _0x3138dc=[],_0x210f15=0x0;_0x210f15<0x100;_0x210f15++)_0x210f15<0x80?_0x3138dc[_0x210f15]=_0x210f15<<0x1:_0x3138dc[_0x210f15]=_0x210f15<<0x1^0x11b;for(var _0x2199e2=0x0,_0xbc28ee=0x0,_0x210f15=0x0;_0x210f15<0x100;_0x210f15++){var _0x344107=_0xbc28ee^_0xbc28ee<<0x1^_0xbc28ee<<0x2^_0xbc28ee<<0x3^_0xbc28ee<<0x4;_0x344107=_0x344107>>>0x8^_0x344107&0xff^0x63,_0x5670d8[_0x2199e2]=_0x344107,_0x20439f[_0x344107]=_0x2199e2;var _0x43efb2=_0x3138dc[_0x2199e2],_0x54dc8e=_0x3138dc[_0x43efb2],_0x3e3ac8=_0x3138dc[_0x54dc8e],_0x1b5aeb=_0x3138dc[_0x344107]*0x101^_0x344107*0x1010100;_0x885976[_0x2199e2]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x24d021[_0x2199e2]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x2f7a17[_0x2199e2]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x4c952d[_0x2199e2]=_0x1b5aeb;var _0x1b5aeb=_0x3e3ac8*0x1010101^_0x54dc8e*0x10001^_0x43efb2*0x101^_0x2199e2*0x1010100;_0xb6cfbd[_0x344107]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x5f153a[_0x344107]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x55c807[_0x344107]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x3dd6dd[_0x344107]=_0x1b5aeb,_0x2199e2?(_0x2199e2=_0x43efb2^_0x3138dc[_0x3138dc[_0x3138dc[_0x3e3ac8^_0x43efb2]]],_0xbc28ee^=_0x3138dc[_0x3138dc[_0xbc28ee]]):_0x2199e2=_0xbc28ee=0x1;}}());var _0x2c3dcd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x465b19=_0x23229d[_0x546082(0x3a8)]=_0x29b178['extend']({'_doReset':function(){var _0x367333=_0x546082,_0x46379f;if(!(this[_0x367333(0x2e3)]&&this['_keyPriorReset']===this['_key'])){for(var _0x1ca371=this[_0x367333(0x319)]=this[_0x367333(0x159)],_0x3ee31b=_0x1ca371[_0x367333(0x3ff)],_0x3c5276=_0x1ca371[_0x367333(0x36c)]/0x4,_0x5db419=this[_0x367333(0x2e3)]=_0x3c5276+0x6,_0x31fffc=(_0x5db419+0x1)*0x4,_0x1d41ba=this[_0x367333(0x16f)]=[],_0x1a323f=0x0;_0x1a323f<_0x31fffc;_0x1a323f++)_0x1a323f<_0x3c5276?_0x1d41ba[_0x1a323f]=_0x3ee31b[_0x1a323f]:(_0x46379f=_0x1d41ba[_0x1a323f-0x1],_0x1a323f%_0x3c5276?_0x3c5276>0x6&&_0x1a323f%_0x3c5276==0x4&&(_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff]):(_0x46379f=_0x46379f<<0x8|_0x46379f>>>0x18,_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff],_0x46379f^=_0x2c3dcd[_0x1a323f/_0x3c5276|0x0]<<0x18),_0x1d41ba[_0x1a323f]=_0x1d41ba[_0x1a323f-_0x3c5276]^_0x46379f);for(var _0x5aab06=this[_0x367333(0x214)]=[],_0xbc662=0x0;_0xbc662<_0x31fffc;_0xbc662++){var _0x1a323f=_0x31fffc-_0xbc662;if(_0xbc662%0x4)var _0x46379f=_0x1d41ba[_0x1a323f];else var _0x46379f=_0x1d41ba[_0x1a323f-0x4];_0xbc662<0x4||_0x1a323f<=0x4?_0x5aab06[_0xbc662]=_0x46379f:_0x5aab06[_0xbc662]=_0xb6cfbd[_0x5670d8[_0x46379f>>>0x18]]^_0x5f153a[_0x5670d8[_0x46379f>>>0x10&0xff]]^_0x55c807[_0x5670d8[_0x46379f>>>0x8&0xff]]^_0x3dd6dd[_0x5670d8[_0x46379f&0xff]];}}},'encryptBlock':function(_0x5d653c,_0x116a75){var _0x429775=_0x546082;this['_doCryptBlock'](_0x5d653c,_0x116a75,this[_0x429775(0x16f)],_0x885976,_0x24d021,_0x2f7a17,_0x4c952d,_0x5670d8);},'decryptBlock':function(_0x3b9e2e,_0x287cc6){var _0x31cf0a=_0x546082,_0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd,this[_0x31cf0a(0x2e8)](_0x3b9e2e,_0x287cc6,this['_invKeySchedule'],_0xb6cfbd,_0x5f153a,_0x55c807,_0x3dd6dd,_0x20439f);var _0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd;},'_doCryptBlock':function(_0x151995,_0x3e703d,_0x57524b,_0x4d49cd,_0x35cb93,_0x31726b,_0x181f76,_0x28fdeb){var _0x4c5c6a=_0x546082;for(var _0x14f4bd=this[_0x4c5c6a(0x2e3)],_0x384169=_0x151995[_0x3e703d]^_0x57524b[0x0],_0x40ed71=_0x151995[_0x3e703d+0x1]^_0x57524b[0x1],_0x2e3f5c=_0x151995[_0x3e703d+0x2]^_0x57524b[0x2],_0x1c10bc=_0x151995[_0x3e703d+0x3]^_0x57524b[0x3],_0x40555e=0x4,_0x406adf=0x1;_0x406adf<_0x14f4bd;_0x406adf++){var _0x26ff8e=_0x4d49cd[_0x384169>>>0x18]^_0x35cb93[_0x40ed71>>>0x10&0xff]^_0x31726b[_0x2e3f5c>>>0x8&0xff]^_0x181f76[_0x1c10bc&0xff]^_0x57524b[_0x40555e++],_0x31779a=_0x4d49cd[_0x40ed71>>>0x18]^_0x35cb93[_0x2e3f5c>>>0x10&0xff]^_0x31726b[_0x1c10bc>>>0x8&0xff]^_0x181f76[_0x384169&0xff]^_0x57524b[_0x40555e++],_0x4c6b02=_0x4d49cd[_0x2e3f5c>>>0x18]^_0x35cb93[_0x1c10bc>>>0x10&0xff]^_0x31726b[_0x384169>>>0x8&0xff]^_0x181f76[_0x40ed71&0xff]^_0x57524b[_0x40555e++],_0x236b14=_0x4d49cd[_0x1c10bc>>>0x18]^_0x35cb93[_0x384169>>>0x10&0xff]^_0x31726b[_0x40ed71>>>0x8&0xff]^_0x181f76[_0x2e3f5c&0xff]^_0x57524b[_0x40555e++];_0x384169=_0x26ff8e,_0x40ed71=_0x31779a,_0x2e3f5c=_0x4c6b02,_0x1c10bc=_0x236b14;}var _0x26ff8e=(_0x28fdeb[_0x384169>>>0x18]<<0x18|_0x28fdeb[_0x40ed71>>>0x10&0xff]<<0x10|_0x28fdeb[_0x2e3f5c>>>0x8&0xff]<<0x8|_0x28fdeb[_0x1c10bc&0xff])^_0x57524b[_0x40555e++],_0x31779a=(_0x28fdeb[_0x40ed71>>>0x18]<<0x18|_0x28fdeb[_0x2e3f5c>>>0x10&0xff]<<0x10|_0x28fdeb[_0x1c10bc>>>0x8&0xff]<<0x8|_0x28fdeb[_0x384169&0xff])^_0x57524b[_0x40555e++],_0x4c6b02=(_0x28fdeb[_0x2e3f5c>>>0x18]<<0x18|_0x28fdeb[_0x1c10bc>>>0x10&0xff]<<0x10|_0x28fdeb[_0x384169>>>0x8&0xff]<<0x8|_0x28fdeb[_0x40ed71&0xff])^_0x57524b[_0x40555e++],_0x236b14=(_0x28fdeb[_0x1c10bc>>>0x18]<<0x18|_0x28fdeb[_0x384169>>>0x10&0xff]<<0x10|_0x28fdeb[_0x40ed71>>>0x8&0xff]<<0x8|_0x28fdeb[_0x2e3f5c&0xff])^_0x57524b[_0x40555e++];_0x151995[_0x3e703d]=_0x26ff8e,_0x151995[_0x3e703d+0x1]=_0x31779a,_0x151995[_0x3e703d+0x2]=_0x4c6b02,_0x151995[_0x3e703d+0x3]=_0x236b14;},'keySize':0x100/0x20});_0x5e4a68['AES']=_0x29b178[_0x546082(0x332)](_0x465b19);}()),_0x12dc8a[_0x4bcde1(0x3a8)];}));}(Ve)),Ve[_0x5ecc9c(0x34f)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x51303a(0x34f)],ai;function zr(){var _0x5a9375=_0x51303a;return ai||(ai=0x1,function(_0x5c3d06,_0xefbdf1){(function(_0x5a8809,_0x3f6624){var _0x43a546=_0x1f09;_0x5c3d06[_0x43a546(0x34f)]=_0x3f6624(ne());}(qr,function(_0x147817){var _0x270a32=_0x1f09;return _0x147817[_0x270a32(0x364)]['Utf8'];}));}(Xe)),Xe[_0x5a9375(0x34f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x51303a(0x34f)],ci;function Qr(){var _0x23efbb=_0x51303a;return ci||(ci=0x1,function(_0x2598f1,_0x3e9175){(function(_0x3eb816,_0x4dbe1c){var _0x15ce0a=_0x1f09;_0x2598f1[_0x15ce0a(0x34f)]=_0x4dbe1c(ne());}(Zr,function(_0x1018da){var _0x3b8091=_0x1f09;return(function(){var _0xfa6b7c=_0x1f09;if(typeof ArrayBuffer==_0xfa6b7c(0x3bb)){var _0x3b0edb=_0x1018da,_0x4f9c42=_0x3b0edb[_0xfa6b7c(0x186)],_0x58eeb7=_0x4f9c42[_0xfa6b7c(0x274)],_0x51b17e=_0x58eeb7[_0xfa6b7c(0x239)],_0x39c6ff=_0x58eeb7[_0xfa6b7c(0x239)]=function(_0x78c5b3){var _0x3e95b4=_0xfa6b7c;if(_0x78c5b3 instanceof ArrayBuffer&&(_0x78c5b3=new Uint8Array(_0x78c5b3)),(_0x78c5b3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x78c5b3 instanceof Uint8ClampedArray||_0x78c5b3 instanceof Int16Array||_0x78c5b3 instanceof Uint16Array||_0x78c5b3 instanceof Int32Array||_0x78c5b3 instanceof Uint32Array||_0x78c5b3 instanceof Float32Array||_0x78c5b3 instanceof Float64Array)&&(_0x78c5b3=new Uint8Array(_0x78c5b3[_0x3e95b4(0x242)],_0x78c5b3[_0x3e95b4(0x403)],_0x78c5b3[_0x3e95b4(0x1c0)])),_0x78c5b3 instanceof Uint8Array){for(var _0x4540eb=_0x78c5b3[_0x3e95b4(0x1c0)],_0x177cb3=[],_0x11a6a8=0x0;_0x11a6a8<_0x4540eb;_0x11a6a8++)_0x177cb3[_0x11a6a8>>>0x2]|=_0x78c5b3[_0x11a6a8]<<0x18-_0x11a6a8%0x4*0x8;_0x51b17e[_0x3e95b4(0x270)](this,_0x177cb3,_0x4540eb);}else _0x51b17e[_0x3e95b4(0x277)](this,arguments);};_0x39c6ff['prototype']=_0x58eeb7;}}()),_0x1018da['lib'][_0x3b8091(0x274)];}));}(Ze)),Ze[_0x23efbb(0x34f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x384e65=_0x51303a;return hi||(hi=0x1,function(_0x11adb6,_0x29f918){(function(_0x4d0260,_0xe1ec03,_0x401616){_0x11adb6['exports']=_0xe1ec03(ne(),Ai());}(is,function(_0x287916){var _0x2df35b=_0x1f09;return _0x287916['pad'][_0x2df35b(0x2d8)]={'pad':function(){},'unpad':function(){}},_0x287916[_0x2df35b(0x442)][_0x2df35b(0x2d8)];}));}(Qe)),Qe[_0x384e65(0x34f)];}var rs=ns();const ss=ke(rs);function os(_0x28b43b,_0x1fbf3b){var _0x457500=_0x51303a;const _0x496b32=_0x1fbf3b-_0x28b43b[_0x457500(0x2b9)]%_0x1fbf3b,_0x5f464a=String[_0x457500(0x34a)](_0x496b32)[_0x457500(0x36b)](_0x496b32);return _0x28b43b+_0x5f464a;}function as(_0x13dd78,_0x24cbab){var _0x12abab=_0x51303a;const _0x14f2de=ts[_0x12abab(0x24a)](0x10),_0x5c077a=os(_0x13dd78,0x10),_0x2da29f=Kr[_0x12abab(0x295)](Xr[_0x12abab(0x354)](_0x5c077a),oi[_0x12abab(0x354)](_0x24cbab),{'iv':_0x14f2de,'padding':ss});return _0x14f2de[_0x12abab(0x249)](_0x2da29f[_0x12abab(0x430)])['toString'](oi);}function cs(){var _0x56bf86=_0x51303a;const _0x397764=_0x581218()[_0x56bf86(0x42d)];if(_0x397764){const _0x3ea6d9={'time':Math[_0x56bf86(0x20d)](Date[_0x56bf86(0x35f)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x56bf86(0x235)](_0x3ea6d9),_0x397764);}}var hs=Object[_0x51303a(0x281)],_s=Object[_0x51303a(0x150)],ls=(_0x11d05f,_0x425966,_0x326ff7,_0x2103df)=>{var _0x35251e=_0x51303a;for(var _0x20e23a=_0x2103df>0x1?void 0x0:_0x2103df?_s(_0x425966,_0x326ff7):_0x425966,_0x278ec2=_0x11d05f[_0x35251e(0x2b9)]-0x1,_0x13b05e;_0x278ec2>=0x0;_0x278ec2--)(_0x13b05e=_0x11d05f[_0x278ec2])&&(_0x20e23a=(_0x2103df?_0x13b05e(_0x425966,_0x326ff7,_0x20e23a):_0x13b05e(_0x20e23a))||_0x20e23a);return _0x2103df&&_0x20e23a&&hs(_0x425966,_0x326ff7,_0x20e23a),_0x20e23a;},us=(_0xec1f3b,_0x16e85f)=>(_0x43b46e,_0x556c72)=>_0x16e85f(_0x43b46e,_0x556c72,_0xec1f3b);let ot=class{constructor(_0x149648){var _0x1ed6d5=_0x51303a;this[_0x1ed6d5(0x42c)]=_0x149648,this[_0x1ed6d5(0x38c)]();}[_0x51303a(0x38c)](){var _0x533665=_0x51303a;this['_httpService'][_0x533665(0x14f)]({'interceptor':(_0x1ebce8,_0x35448e)=>{var _0x40795c=_0x533665;const _0x59d527=_0x1ebce8[_0x40795c(0x27b)],_0xa6b5a1=cs();return _0xa6b5a1&&_0x59d527['set'](_0x40795c(0x171),_0xa6b5a1),_0x35448e(_0x1ebce8);}});}};ot=ls([us(0x0,_0x2a2c27(_0x43259a))],ot);var ds=Object[_0x51303a(0x281)],fs=Object[_0x51303a(0x150)],vs=(_0x4ac732,_0x554a02,_0x46ab39,_0x3dc448)=>{var _0x56eb31=_0x51303a;for(var _0x193dbd=_0x3dc448>0x1?void 0x0:_0x3dc448?fs(_0x554a02,_0x46ab39):_0x554a02,_0xa8cfa=_0x4ac732[_0x56eb31(0x2b9)]-0x1,_0x2b19f6;_0xa8cfa>=0x0;_0xa8cfa--)(_0x2b19f6=_0x4ac732[_0xa8cfa])&&(_0x193dbd=(_0x3dc448?_0x2b19f6(_0x554a02,_0x46ab39,_0x193dbd):_0x2b19f6(_0x193dbd))||_0x193dbd);return _0x3dc448&&_0x193dbd&&ds(_0x554a02,_0x46ab39,_0x193dbd),_0x193dbd;},mt=(_0x2163d7,_0x1f9155)=>(_0x321be0,_0x40d15c)=>_0x1f9155(_0x321be0,_0x40d15c,_0x2163d7);let Ot=class extends _0x2127fb{constructor(_0x38a10f,_0x9087eb,_0x7a38fa){var _0x577c1b=_0x51303a;super(),N(this,_0x577c1b(0x207),new _0x5e258f(null)),N(this,_0x577c1b(0x322),this[_0x577c1b(0x207)][_0x577c1b(0x212)]()),(this['_logService']=_0x38a10f,this[_0x577c1b(0x284)]=_0x9087eb,this[_0x577c1b(0x303)]=_0x7a38fa);}async[_0x51303a(0x3b6)](_0x473515,_0x157b16,_0x377bdb){var _0x31ea1b=_0x51303a;this[_0x31ea1b(0x207)][_0x31ea1b(0x334)]({'unitId':_0x473515,'type':_0x157b16,'subUnitId':_0x377bdb});let _0x38cf25=null;switch(_0x157b16){case Q['UNIVER_SHEET']:{_0x38cf25=await this[_0x31ea1b(0x3b4)](_0x473515);break;}case Q[_0x31ea1b(0x31f)]:{_0x38cf25=await this[_0x31ea1b(0x1ca)](_0x473515);break;}default:{this[_0x31ea1b(0x257)][_0x31ea1b(0x16e)](_0x31ea1b(0x3cd),_0x31ea1b(0x3c6));break;}}return _0x38cf25;}async['_loadSheet'](_0x299857){var _0x5d1d8e=_0x51303a,_0x3c203a;let _0x1c1d67=0x0;const _0x35be77=await((_0x3c203a=this[_0x5d1d8e(0x303)])==null?void 0x0:_0x3c203a[_0x5d1d8e(0x2f7)](_0x299857));return _0x35be77&&(_0x35be77[_0x5d1d8e(0x3ec)]||_0x35be77['mutations']['length']!==0x0)&&(_0x1c1d67=_0x35be77[_0x5d1d8e(0x26c)]),_0x1c1d67===0x0&&this[_0x5d1d8e(0x257)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5d1d8e(0x284)][_0x5d1d8e(0x2fa)](_0x299857,_0x1c1d67);}async['_loadDoc'](_0x390298){var _0x5225e0=_0x51303a,_0x4458ab;let _0x333bb7=0x0;const _0x25e8fb=await((_0x4458ab=this[_0x5225e0(0x303)])==null?void 0x0:_0x4458ab['loadOfflineData'](_0x390298));return _0x25e8fb&&(_0x25e8fb[_0x5225e0(0x3ec)]||_0x25e8fb[_0x5225e0(0x325)][_0x5225e0(0x2b9)]!==0x0)&&(_0x333bb7=_0x25e8fb[_0x5225e0(0x26c)]),_0x333bb7===0x0&&this[_0x5225e0(0x257)][_0x5225e0(0x1cf)](_0x5225e0(0x3cd),_0x5225e0(0x243)),this['_snapshotService'][_0x5225e0(0x30a)](_0x390298,_0x333bb7);}};Ot=vs([mt(0x0,_0x7c7e3b),mt(0x1,_0x2a2c27(_0x101ed4)),mt(0x2,_0x1a8278(J))],Ot);var ps=Object[_0x51303a(0x281)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x1075e3,_0x42d540,_0x3e08d2,_0x19128d)=>{var _0x2d26d2=_0x51303a;for(var _0x3a0962=_0x19128d>0x1?void 0x0:_0x19128d?ms(_0x42d540,_0x3e08d2):_0x42d540,_0x2d22ce=_0x1075e3[_0x2d26d2(0x2b9)]-0x1,_0x13628d;_0x2d22ce>=0x0;_0x2d22ce--)(_0x13628d=_0x1075e3[_0x2d22ce])&&(_0x3a0962=(_0x19128d?_0x13628d(_0x42d540,_0x3e08d2,_0x3a0962):_0x13628d(_0x3a0962))||_0x3a0962);return _0x19128d&&_0x3a0962&&ps(_0x42d540,_0x3e08d2,_0x3a0962),_0x3a0962;},gt=(_0x513ea0,_0xd658f2)=>(_0x38ea80,_0x2c0599)=>_0xd658f2(_0x38ea80,_0x2c0599,_0x513ea0);const Ss=[_0x51303a(0x194),_0x51303a(0x165),'image/jpg',_0x51303a(0x3e3),_0x51303a(0x1c5)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x51303a(0x41f),Cs=_0x51303a(0x29a),Rs=_0x51303a(0x2f0);let yt=class{constructor(_0x323e86,_0x3ba1d4,_0x30c04d){var _0x5dcc37=_0x51303a;N(this,_0x5dcc37(0x1fc),0x0),N(this,'_change$',new _0x4973d7()),N(this,_0x5dcc37(0x220),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x5dcc37(0x42c)]=_0x323e86,this[_0x5dcc37(0x2c0)]=_0x3ba1d4,this[_0x5dcc37(0x365)]=_0x30c04d);}[_0x51303a(0x183)](_0x256ea6){var _0x3036dc=_0x51303a;this[_0x3036dc(0x1fc)]=_0x256ea6,this[_0x3036dc(0x240)]['next'](_0x256ea6);}[_0x51303a(0x3ad)](_0x313958,_0x496bd6){var _0x5d9076=_0x51303a;if(_0x496bd6===_0x5948a6[_0x5d9076(0x2b4)]){const _0x58066d=new Image();return _0x58066d[_0x5d9076(0x385)]=_0x313958,_0x58066d;}return this[_0x5d9076(0x2e1)][_0x5d9076(0x227)](_0x313958);}[_0x51303a(0x30c)](_0x338f40,_0x38ebc2,_0x3e0e8a){var _0x54aacb=_0x51303a;_0x38ebc2===_0x5948a6[_0x54aacb(0x2b4)]||_0x3e0e8a==null||this[_0x54aacb(0x2e1)][_0x54aacb(0x34c)](_0x338f40,_0x3e0e8a);}async[_0x51303a(0x416)](_0xdf1149){var _0x3edd6a=_0x51303a;try{const _0x5c4f01=this['_replaceFileID'](this[_0x3edd6a(0x2ef)](),''+_0xdf1149),_0xac9150=(await this[_0x3edd6a(0x42c)][_0x3edd6a(0x227)](_0x5c4f01))[_0x3edd6a(0x1df)];if(_0xac9150[_0x3edd6a(0x16e)]&&_0xac9150[_0x3edd6a(0x16e)][_0x3edd6a(0x175)]===Ii['OK']){const _0x5adc79=new URL(_0xac9150[_0x3edd6a(0x3fe)],this[_0x3edd6a(0x2f2)]())[_0x3edd6a(0x1d9)]();return Promise['resolve'](_0x5adc79);}return Promise[_0x3edd6a(0x158)](_0xac9150[_0x3edd6a(0x16e)]);}catch(_0x4e6107){return Promise['reject'](_0x4e6107);}}async[_0x51303a(0x345)](_0x5a8bf9){var _0x9d5a95=_0x51303a;let _0x401abf='';if(!Ss['includes'](_0x5a8bf9['type']))return this[_0x9d5a95(0x199)](),Promise['reject'](new Error(_0xb9841d[_0x9d5a95(0x1f8)]));if(_0x5a8bf9['size']>Es)return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_EXCEED_SIZE']));try{const _0x42efc7=new FormData();_0x42efc7['append'](_0x9d5a95(0x40e),_0x5a8bf9);const _0x2592dc=this['_univerInstanceService'][_0x9d5a95(0x422)](),_0x50be6e=_0x2592dc==null?void 0x0:_0x2592dc[_0x9d5a95(0x438)]();if(!_0x50be6e)throw new Error(_0x9d5a95(0x3a5));const _0x3744aa=this[_0x9d5a95(0x35c)]()+_0x9d5a95(0x2b7)+_0x5a8bf9[_0x9d5a95(0x1ad)][_0x9d5a95(0x1d9)]()+_0x9d5a95(0x379)+Ti[_0x9d5a95(0x28b)]+'&assign='+encodeURIComponent(_0x50be6e),_0x2b0d2c=await(await fetch(_0x3744aa,{'method':_0x9d5a95(0x36d),'body':_0x42efc7}))[_0x9d5a95(0x1f7)]();if(typeof _0x2b0d2c[_0x9d5a95(0x394)]!=_0x9d5a95(0x1a0))return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d[_0x9d5a95(0x1d3)]));_0x401abf=_0x2b0d2c['FileId'];}catch{return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_IMAGE']));}return new Promise((_0x196dfc,_0x5f240b)=>{const _0x29b26d=new FileReader();_0x29b26d['readAsDataURL'](_0x5a8bf9),_0x29b26d['onload']=_0x448b82=>{var _0x5d0cf1=_0x1f09,_0x382dec;const _0xd40f21=(_0x382dec=_0x448b82['target'])==null?void 0x0:_0x382dec[_0x5d0cf1(0x2cf)];if(_0xd40f21==null){this[_0x5d0cf1(0x199)](),_0x5f240b(new Error(_0xb9841d[_0x5d0cf1(0x1d3)]));return;}const _0x8531ec=_0x299834['generateRandomId'](0x6);_0x196dfc({'imageId':_0x8531ec,'imageSourceType':_0x5948a6['UUID'],'source':_0x401abf,'base64Cache':_0xd40f21,'status':_0xb9841d[_0x5d0cf1(0x156)]}),this[_0x5d0cf1(0x199)]();};});}['_getUploadFileURL'](){var _0x586255=_0x51303a,_0x543ccb,_0x27fae2;const _0x26ee35=this[_0x586255(0x2c0)][_0x586255(0x2ec)](Is),_0x17a872=this[_0x586255(0x2c0)]['getConfig'](q);return(_0x27fae2=(_0x543ccb=_0x17a872==null?void 0x0:_0x17a872[_0x586255(0x3f6)])!=null?_0x543ccb:_0x26ee35)!=null?_0x27fae2:Ts;}[_0x51303a(0x2ef)](){var _0x2c3916=_0x51303a,_0x5cf2e0,_0x770a52;const _0x47264b=this[_0x2c3916(0x2c0)][_0x2c3916(0x2ec)](Cs),_0x5bce9d=this['_configService'][_0x2c3916(0x2ec)](q);return(_0x770a52=(_0x5cf2e0=_0x5bce9d==null?void 0x0:_0x5bce9d[_0x2c3916(0x196)])!=null?_0x5cf2e0:_0x47264b)!=null?_0x770a52:Rs;}[_0x51303a(0x2f2)](){var _0x304d27=_0x51303a,_0x1dd083;const _0x23abb8=this[_0x304d27(0x2c0)][_0x304d27(0x2ec)](q);return(_0x1dd083=_0x23abb8==null?void 0x0:_0x23abb8['downloadEndpointUrl'])!=null?_0x1dd083:location['origin'];}['_replaceFileID'](_0x1f1b91,_0x2195a3){var _0x91f340=_0x51303a;return _0x1f1b91[_0x91f340(0x33e)]('{fileID}',_0x2195a3);}[_0x51303a(0x199)](){var _0x77526c=_0x51303a;this['_waitCount']-=0x1,this[_0x77526c(0x240)][_0x77526c(0x334)](this[_0x77526c(0x1fc)]);}};yt=gs([gt(0x0,_0x2a2c27(_0x43259a)),gt(0x1,_0x197b9e),gt(0x2,_0x2a2c27(_0xd9ad76))],yt);var bs=Object[_0x51303a(0x281)],Os=Object[_0x51303a(0x150)],ys=(_0x559ee1,_0x4cbf93,_0x37b312,_0x170975)=>{for(var _0xe25bf=_0x170975>0x1?void 0x0:_0x170975?Os(_0x4cbf93,_0x37b312):_0x4cbf93,_0x357463=_0x559ee1['length']-0x1,_0xffaa70;_0x357463>=0x0;_0x357463--)(_0xffaa70=_0x559ee1[_0x357463])&&(_0xe25bf=(_0x170975?_0xffaa70(_0x4cbf93,_0x37b312,_0xe25bf):_0xffaa70(_0xe25bf))||_0xe25bf);return _0x170975&&_0xe25bf&&bs(_0x4cbf93,_0x37b312,_0xe25bf),_0xe25bf;},_i=(_0x287d99,_0x63890d)=>(_0x1bd64e,_0x2d0932)=>_0x63890d(_0x1bd64e,_0x2d0932,_0x287d99);const Ns=_0x51303a(0x1b6);let Nt=class{constructor(_0x454e5c,_0x5af666){var _0x5d817c=_0x51303a;this[_0x5d817c(0x2c0)]=_0x454e5c,this[_0x5d817c(0x36f)]=_0x5af666;}[_0x51303a(0x1b2)](){var _0x5a55fe=_0x51303a,_0x156940,_0x163b20;const _0x585b70=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](Pi),_0x2a13d8=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](q);return(_0x163b20=(_0x156940=_0x2a13d8==null?void 0x0:_0x2a13d8[_0x5a55fe(0x22f)])!=null?_0x156940:_0x585b70)!=null?_0x163b20:Ns;}async[_0x51303a(0x3f0)](_0x2a3d65){var _0xac1380=_0x51303a;const _0x23924b=this[_0xac1380(0x1b2)]()+_0xac1380(0x1bf);return{'list':[{'title':'People','mentions':(await this[_0xac1380(0x36f)][_0xac1380(0x227)](_0x23924b,{'params':{'objectID':_0x2a3d65[_0xac1380(0x2f4)],'unitID':_0x2a3d65[_0xac1380(0x2f4)]}}))[_0xac1380(0x1df)][_0xac1380(0x409)][_0xac1380(0x2ea)](_0x2d6544=>({'objectId':_0x2d6544['id'],'name':_0x2d6544[_0xac1380(0x388)]['name'],'metadata':{'icon':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x391)]},'label':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x292)],'objectType':_0x370726[_0xac1380(0x17e)]})),'metadata':{},'type':_0x370726[_0xac1380(0x17e)]}]};}};Nt=ys([_i(0x0,_0x2a2c27(_0x197b9e)),_i(0x1,_0x2a2c27(_0x43259a))],Nt);var Ds=Object[_0x51303a(0x281)],Ps=Object[_0x51303a(0x150)],ws=(_0x46ccc6,_0x3042fd,_0x586e93,_0x3c7733)=>{var _0x1915bd=_0x51303a;for(var _0x5a1eca=_0x3c7733>0x1?void 0x0:_0x3c7733?Ps(_0x3042fd,_0x586e93):_0x3042fd,_0x4da9eb=_0x46ccc6[_0x1915bd(0x2b9)]-0x1,_0x302a2c;_0x4da9eb>=0x0;_0x4da9eb--)(_0x302a2c=_0x46ccc6[_0x4da9eb])&&(_0x5a1eca=(_0x3c7733?_0x302a2c(_0x3042fd,_0x586e93,_0x5a1eca):_0x302a2c(_0x5a1eca))||_0x5a1eca);return _0x3c7733&&_0x5a1eca&&Ds(_0x3042fd,_0x586e93,_0x5a1eca),_0x5a1eca;},Se=(_0x5b0441,_0x4ef802)=>(_0x1d8b55,_0x2b90ba)=>_0x4ef802(_0x1d8b55,_0x2b90ba,_0x5b0441);let at=class extends _0x2127fb{constructor(_0x3a37e5,_0x381b86,_0x959a17,_0x384fbe,_0x382b00,_0x28feb1,_0x536a90){var _0x34d56f=_0x51303a;super(),this[_0x34d56f(0x1ff)]=_0x3a37e5,this[_0x34d56f(0x365)]=_0x381b86,this['_permissionService']=_0x959a17,this[_0x34d56f(0x233)]=_0x384fbe,this[_0x34d56f(0x31e)]=_0x382b00,this[_0x34d56f(0x3b7)]=_0x28feb1,this[_0x34d56f(0x448)]=_0x536a90,this[_0x34d56f(0x23c)](),this['_initCloseConn']();}[_0x51303a(0x1ab)](){var _0x48c921=_0x51303a;const _0x7574f6=async _0x21a71b=>{var _0x194d9c=_0x1f09;(await this[_0x194d9c(0x233)][_0x194d9c(0x193)](_0x21a71b))[_0x194d9c(0x3d0)][_0x194d9c(0x380)](_0x3cf649(_0x5ab885=>_0x5ab885[_0x194d9c(0x262)]===_0x247b59['SHOULD_CLOSE_CONN']),_0x26b065(this['dispose$']))[_0x194d9c(0x315)](_0x39ab7d=>{var _0x59f465=_0x194d9c;const _0x49d315=_0x39ab7d,{reason:_0x152843}=_0x49d315[_0x59f465(0x1cd)];this['_collaborationUIEventService'][_0x59f465(0x313)]({'id':se[_0x59f465(0x149)],'data':_0x152843}),this[_0x59f465(0x2e0)]['updatePermissionPoint'](new _0x8a0fbb(_0x21a71b)['id'],!0x1),this[_0x59f465(0x233)][_0x59f465(0x407)](_0x21a71b);});};_0x204d3a(this[_0x48c921(0x365)][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x43d)]),this['_univerInstanceService'][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x31f)]))[_0x48c921(0x380)](_0x21067b(_0x700866=>_0x700866[_0x48c921(0x438)]()),_0x3cf649(_0x2c4ad6=>!_0x2f272e(_0x2c4ad6)),_0x26b065(this['dispose$']))[_0x48c921(0x315)](_0x133d57=>{_0x7574f6(_0x133d57);});}[_0x51303a(0x23c)](){var _0x4db972=_0x51303a;const _0x399932=async _0x2a0e23=>{var _0x5b88f3=_0x1f09;const _0x8e7867=await this['_collaborationSessionService'][_0x5b88f3(0x193)](_0x2a0e23),_0x525b8e=this['_injector'][_0x5b88f3(0x227)](_0x4e37fd);_0x8e7867[_0x5b88f3(0x3d0)][_0x5b88f3(0x380)](_0x3cf649(_0x5db196=>_0x5db196[_0x5b88f3(0x262)]===_0x247b59[_0x5b88f3(0x425)]),_0x26b065(this[_0x5b88f3(0x402)]))[_0x5b88f3(0x315)](_0x3423c7=>{var _0x2a645b=_0x5b88f3;const _0x5006af=_0x3423c7,{objectId:_0x301954}=_0x5006af[_0x2a645b(0x1cd)];_0x301954===_0x2a0e23?_0x525b8e[_0x2a645b(0x3db)](_0x2a0e23):_0x525b8e[_0x2a645b(0x2b6)](_0x2a0e23,_0x301954);});};_0x204d3a(this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2[_0x4db972(0x43d)]),this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2['UNIVER_DOC']))['pipe'](_0x21067b(_0x5822ac=>_0x5822ac[_0x4db972(0x438)]()),_0x3cf649(_0x18e690=>!_0x2f272e(_0x18e690)),_0x26b065(this[_0x4db972(0x402)]))['subscribe'](_0x39a6ad=>{_0x399932(_0x39a6ad);});}};at=ws([Se(0x0,_0x2a2c27(_0x2ac98c)),Se(0x1,_0xd9ad76),Se(0x2,_0xc50f2c),Se(0x3,_0x2a2c27(Le)),Se(0x4,_0x2a2c27(pe)),Se(0x5,_0x289d4b),Se(0x6,_0x277f73)],at);var Us=Object[_0x51303a(0x281)],As=Object[_0x51303a(0x150)],xs=(_0x29ef76,_0x35c732,_0x1476e8,_0x31d2de)=>{for(var _0x1b95b2=_0x31d2de>0x1?void 0x0:_0x31d2de?As(_0x35c732,_0x1476e8):_0x35c732,_0x5765f2=_0x29ef76['length']-0x1,_0x50d294;_0x5765f2>=0x0;_0x5765f2--)(_0x50d294=_0x29ef76[_0x5765f2])&&(_0x1b95b2=(_0x31d2de?_0x50d294(_0x35c732,_0x1476e8,_0x1b95b2):_0x50d294(_0x1b95b2))||_0x1b95b2);return _0x31d2de&&_0x1b95b2&&Us(_0x35c732,_0x1476e8,_0x1b95b2),_0x1b95b2;},li=(_0x2ea886,_0x39f3c3)=>(_0x226398,_0x34da4d)=>_0x39f3c3(_0x226398,_0x34da4d,_0x2ea886);function _0x1f79(){var _0x3e9024=['interceptor','_unitID','loadSheet','GLOBAL_ROOMS_CNT_EXCEEDS','baseRev','pluginName','copyFileMeta','incrementRevOfUnit','_exhaustRemoteChangesetQueue','algo','_onRemoteRejected','_localCacheService','\x20-\x20','extend','session','_clearCollaborationTimeoutTimer','_clearHeartbeatTimer','PERMISSION_DENIED','loadDoc','_iv','addImageSourceCache','_getLoginPath','CONFLICT','onStateChange','resourceIDs','enableOfflineEditing','awaiting','emitEvent','sessionStatus$','subscribe','_onUserJoin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_mode','_keyPriorReset','reconnect','APPLY_REJECT','__creator','blockSize','_collaborationUIEventService','UNIVER_DOC','_undoStacks','_commandService','unitInfo$','kdf','getSheetId','mutations','unknown','JOIN_ROOM_PERMISSION_DENIED','getUnitStatus$','NOT_COLLAB','title','_createHmacHelper','onTransformIME','getRoom','setShowComponents','format','unpad','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_createHelper','PasswordBasedCipher','next','transformChangesets','textRanges','_parse','Base','_transitionLocked','/universer-api/snapshot','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','onRemoteChangeset','replace','_entities','roles','editing\x20status\x20changed\x20to','HEARTBEAT','FETCH_MISS','error$','saveImage','clear','_clearUndo','state','pauseCollaboration','fromCharCode','_clearLocalCache','set','univer-pro.collaboration-client.network-condition.service','updateOfflineData','exports','sendChangesetTimeout','every','clone','_type','parse','padding','StreamCipher','OpenSSL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','newCsEvent','getAllMembers','deepClone','_getUploadFileURL','LIVESHARE_FETCH_OPERATIONS','listRoles','now','state$','_sendingTimer','selections','Latin1','enc','_univerInstanceService','UNIVER_PROJECT','LICENSE_IMPORT_SIZE_EXCEEDED','startTime','UNIVER_UNKNOWN','onTransformRemoteChangesetByStateCache','repeat','sigBytes','POST','_createInitialStateImpl','_HTTPService','_onRecvEvent','has','createInstance','MD5','_singleActiveUnitService','roomInfos','_doFinalize','abs','SEND_CHANGESET_TIMEOUT','&source=','toggleOffline','INVALID_ARGUMENT','COMPRESS_MUTATION_SEND','telemetry\x20info\x20is\x20not\x20initialized','Univer','origin','pipe','_onConnectionFailed','COMPRESS_MUTATION_APPLY','_updateState','readyForCollab','src','UNKNOWN_CODE','JOIN_ROOM_FAILED','subject','action','charAt','m2Prime','_initRequestHeader','/unit/','CBC','_checkMissing','type','avatar','_handler','put','FileId','connection\x20error','HEARTBEAT_INTERVAL','originalMeta','actions','objects','CHANGESET_REVISION_CONFILICT','[PendingState]:\x20received\x20acknowledgement.','SYNCED','_sessions','resend','_telemetryInfo','onTransformState','_scheduleCompleteTimestamp','_incrementRevisionNumber','JOIN','status$','unitId\x20is\x20not\x20found','_unlockTransition','USERS_LEAVE','AES','LICENSE_DISTRO_REJECTED','_getUndoStack','transformStack\x20failed!','FAIL','getImageSourceCache','sheets','putCollaborators','Utf8','PSEUDO_FETCH_MISSING_RESULT','_compressMutationService','infoRsp','_loadSheet','catch','loadUnit','_authzIoService','patch','_memberService','SOCKET_FAILED_RETRY','function','hasher','onRemoteAck','batchAllowed','getCollabEntity','_config','hasOwnProperty','status','MSG_FOR_ERROR','BufferedBlockAlgorithm','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collabSubmitChangesetUrl','removeMember','_applyRemoteChangeset','encode','close','[DataLoaderService]','_collaborationPaused','_awaitingChangeset','event$','findIndex','_updateLocalCache','Hasher','subUnitId','_onCombEvent','sid','_tryReconnect','RECV','range','getMember','initWorkbookPermissionChange','getWorkbookSelections','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_prevBlock','salt','createCollaborator','_revisionService','$super','image/gif','ticket','_updateStatus','isArray','appendMutation','_commentService','ONLINE','_waitForHeartbeatResponse','_tryEnsureSocket','awaitingChangeset','YUUMI_URL_COL_OUT_OF_RANGE','searchParams','readInt32LE','list','_getSessionTicket','offline','_event$','onMissingChangesets','SNAPSHOT_SERVER_URL_KEY','uploadFileServerUrl','onSendChangeset','_substituteRedoStack','_oKey','/object','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','JOIN_ROOM_NOT_EXISTS','url','words','fetchThroughInterceptors','_changesetSessionId','dispose$','byteOffset','key','transformMutationsWithChangeset','UNKNOWN_CMD','closeSession','_remoteChangesetQueue','collaborators','mixIn','post','?url=','unitID','file','fromCollab','session.room-permission-denied','duration','_onFetchMissResult','values','_getCtorByUniverType','_fetchMissChangesets','getImage','deleteCollaborator','_shouldReportTelemetry','joinEvent','decrypt','substr','_createHandler','AWAITING_WITH_PENDING','UnitSnapshot','/universer-api/stream/file/upload','getActiveSheet','dispose','getFocusedUnit','commentUpdateEvent','/fetchmissing?from=','UPDATE_PERMISSION_OBJ','_onRemoteChangeset','encryptBlock','UNAUTHENTICATED','Malformed\x20UTF-8\x20data','_onRemoteRetry','capture','_httpService','__Key__','_collabSessionService','PERMISSION_REJ','ciphertext','getCurrentSelections','getCurrentUser','userID','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','_toggleOnline','application/json','getUnitId','_minBufferSize','_socketMessageSubscription','getTypeOfUnitDisposed$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNIVER_SHEET','iterations','_instanceService','_initDependencies','finalize','pad','failed\x20to\x20apply\x20missed\x20changesets!','override','prototype','CHANGESET_SHOULD_RETRY','LICENSE_MAX_UNITS_EXCEEDED','_undoRedoService','_rescheduleHeartbeat','110UibBRK','complete','_sessionStatus$','CLOSE_ROOM','[UniverCollaborationClientPlugin]','responseType','_onConflict','_xformMode','decryptBlock','registerHTTPInterceptor','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_members$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_resendTimer','SUCCUSS','_onUserLeave','reject','_key','_emitMembers','compose','pending','[CollaborationSessionService]:\x20socket\x20error','UNDEFINED','IDLE','liveShareOperation','onSyncEditingCollabCursor','[CollaborationSession]','_disableEditing','stopTime','image/jpeg','HttpImport','objectType','_retryConnectingTimer','_createInitialState','indexOf','joinRsp','open$','create','error','_keySchedule','_nDataBytes','x-univer-host','slice','getValue','Could\x20not\x20dynamically\x20require\x20\x22','code','_status$','_createSocket','_members','message$','_roomCreated$','execute','_stopTelemetryCollaborationNewChangeset','_state','PERSON','_scheduleCollaborationTimeoutTimer','/object/','socket\x20open.','delete','setWaitCount','1962EblsVT','APPLY_PERMISSION_DENIED','lib','HttpExport','csShouldRetryEvent','Cipher','isPermissionRej','_sendHeartbeatTimer','&to=','onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getTypeOfUnitAdded$','ceil','_transformRemoteChangesetByStateCache','EvpKDF','requireSession','image/png','LEAVE','signUrlServerUrl','formatter','getTime','_decreaseWaiting','_doProcessBlock','/universer-api/snapshot/','localCacheService','from','BlockCipher','session.join-failed','string','retryConnectingInterval','randomBytes','_executeRemoteChangeset','getLatestCsReqIdBySid','JOIN_ROOM_FULL','904VtpeZw','BlockCipherMode','_removeRoom','/role','_DEC_XFORM_MODE','_initCloseConn','\x20in\x20_schedule.','size','onMissedChangesetFetched','bind','SHA1','Error\x20on\x20receiving\x20event','_getAPIPrefixPath','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_REQUEST_HOST','params','/universer-api/authz','join','addHandlerCallback','_hasher','[SyncedState]:\x20received\x20rejection.','1673832GodlJt','filter','reset','[CollaborationSessionService]','/collaborator','byteLength','c1Prime','_map','_changesetReqId','_cipher','image/bmp','[PendingState]:\x20received\x20rejection.','_onRemoteACK','_redoStacks','push','_loadDoc','_onJoinRoomEvent','Decryptor','data','7JgPUJO','debug','_schedule','getSnapshotAPIPath','updateCursorEvent','ERROR_IMAGE','CHANGESET_REJ','_collaborationTimeoutTimer','createDecryptor','onTransformSelections','_replayCachedMutations','toString','UNIVER_COLLABORATION_CLIENT_PLUGIN','revision','UNRECOGNIZED','getRandomValues','getCurrentRevOfUnit','body','collaboratorID','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByIMECache','routeKey','update','TOO_MANY_REQUESTS','SOCKET_FAILED','createEncryptor','cmd','/-/object/list','_pendingMutations','[CollaborationState]:\x20apply\x20error!','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','getUnitOnRev','OTHER_CLIENT_EDITING','_joinRoom','_entityInit$','sessionTicket','_throwTelemetryCollaborationNewChangeset','ALREADY_EXISTS','startsWith','YUUMI_RATE_OVER_LIMIT','json','ERROR_IMAGE_TYPE','COMPLETION_FINISHED','workbook','MUTATION','_waitCount','unit-cache-','awaiting_with_pending','_injector','8513197RpJDFX','requestParams','_onLocalMutation','c2Prime','HELLO','[FetchMissState]','fetch_missing','_unitInfo$','processBlock','_iKey','reduce','fetchMissingChangesets','_listenToNetworkCondition','floor','synced','_snapshotServerService','conflict','NOT_FOUND','asObservable','INTERNAL_ERROR','_invKeySchedule','location','onRemoteRej','_createSocketURL','79128OIVDrk','method','cfg','UPDATE_CURSOR','clamp','_transformStateCache','[OfflineState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20changeset.','change$','/universer-api/user/session-ticket','_ENC_XFORM_MODE','_transformService','_http','socketService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','get','COLLAB_SUBMIT_CHANGESET_URL','send','_clearTimeoutTimer','entries','7745Cirogn','_submitChangeset','onCommentUpdate','authzUrl','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SLIDE','APPLY_DUPLICATED','_collaborationSessionService','getResourcesRequest','stringify','localeService','[CollaborationEntity]','updatePermissionPoint','init','\x20to\x20','onCommandExecuted','_initUnitPermissionChange','SNAPSHOT_INVALID_SNAPSHOT','LOGIN_URL_KEY','/universer-api/uniscript','_change$','/allowed','buffer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','mode','updateMember','loginUrlKey','_socket','_getSendChangesetTimeout','concat','random','compute','reqId','_getAPIPrefix','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/-/object/-/batch_allowed','_sheetTransformSelectionsService','executeCommand','_userManagerService','HmacMD5','collaboration-client.local-cache-service','HEARTBEAT_TIMEOUT','_logService','onlyLocal','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','_init','/resources','_transformStack','[OfflineState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','fetchMiss','SNAPSHOT_URL_KEY','eventID','INGEST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','toggleOnline','COMMENT_UPDATE','find','_clearScheduledTask','_lockTransition','rev','333024sLrmEu','LICENSE_EXPORT_SIZE_EXCEEDED','_networkConditionService','call','splice','_socket$','getDeserializedSheetBlock','WordArray','_resendTimeout','_process','apply','Encryptor','updatePermissionObjEvent','_hash','headers','session.room-cnt-exceeds','close$','collaboration-client.config','_socketReady','liveShareNewHost','defineProperty','YUUMI_UNABLE_LOAD_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_snapshotService','_startCollaboration','_transformRemoteChangesetByIMECache','_clearRedo','ivSize','_append','_sender','UnitEmbedded','HMAC','SUBMIT_CHANGESET','charCodeAt','_telemetryService','APPLY_NON_SEQUENTIAL_REVISION','getUnitType','name','_initMergeInterceptor','allowed','encrypt','LIVESHARE_OPERATION','getMemberID','max','_showConflictNotification','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendHeartbeat','href','_handlerCallback','editingUnit','UNISCRIPT_RUN','entityInit$','keySize','shouldCloseConn','_timeoutTimer','setCurrentUser','confirm','SerializableCipher','_transformIMECache','_toggleOffline','transformUndoRedo','updateCollaborator','_startTelemetryCollaborationNewChangeset','createSocket','_doReset','getInterceptPoints','_reverseMap','BASE64','JOINING','refreshPermission','?size=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','length','_commentUpdate$','_substituteUndoStack','LIVESHARE_NEW_HOST','HmacSHA1','listCollaborators','_roomMembers','_configService','/block/','focused$','wsSessionTicketUrl','toLowerCase','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','Base64','__esModule','NO_OTHER_CLIENTS_EDITING','FETCH_MISSING','174897JhKcoN','336TyGthH','CHANGESET_ACK','collabWebSocketUrl','result','_syncEditingCollabCursor','DEFAULT_FILE_NAME','randomUUID','_transformSelections','_data','_retryCount','csAckEvent','/universer-api/oidc/authpage','NoPadding','_onConnectionOpen','saveSheetBlock','add','crypto','OFFLINE','LIVESHARE_TERMINATE','NEW_CHANGESETS','_permissionService','_imageSourceCache','/universer-api/comb','_nRounds','_transformUndoredo','memberID','_acknowledgedAwaitingChangeset','sessionStatus','_doCryptBlock','members$','map','_candidateSocket','getConfig','forEach','CipherParams','_getSignURL','/universer-api/file/{fileID}/sign-url','objectID','_getDownloadEndpointURL','COLLAB_WEB_SOCKET_URL','unitId','_getCurrentRevision','_resendWithTimeout','loadOfflineData'];_0x1f79=function(){return _0x3e9024;};return _0x1f79();}let Dt=class{constructor(_0x474842,_0x18f1da){var _0x92d3d3=_0x51303a;this[_0x92d3d3(0x2c0)]=_0x474842,this[_0x92d3d3(0x42c)]=_0x18f1da;}async[_0x51303a(0x1ee)](_0x2cbca3,_0x3ee937){var _0x502e31=_0x51303a,_0x30e554;const {unitID:_0x4cc55b,type:_0x59b7c7,revision:_0xbcb43c=0x0}=_0x3ee937,_0x167a7e=this[_0x502e31(0x1d1)]()+'/'+_0x59b7c7+_0x502e31(0x38d)+_0x4cc55b+'/rev/'+_0xbcb43c,_0x22e548=(await this[_0x502e31(0x42c)][_0x502e31(0x227)](_0x167a7e))[_0x502e31(0x1df)],_0x21a2ee=(_0x30e554=_0x22e548['snapshot'])==null?void 0x0:_0x30e554[_0x502e31(0x1fa)];if(_0x21a2ee){const _0x143e96=_0x21a2ee==null?void 0x0:_0x21a2ee[_0x502e31(0x397)],_0x636810=_0x1eecf7[_0x502e31(0x3cb)](_0x142033(_0x143e96));_0x21a2ee[_0x502e31(0x397)]=_0x636810,Object[_0x502e31(0x22b)](_0x21a2ee[_0x502e31(0x3ae)])[_0x502e31(0x2ed)](([,_0x3f6e6f])=>{var _0x2a4d60=_0x502e31;const _0x1d5e33=_0x3f6e6f[_0x2a4d60(0x397)],_0x2da8ca=_0x1eecf7[_0x2a4d60(0x3cb)](_0x142033(_0x1d5e33));_0x3f6e6f[_0x2a4d60(0x397)]=_0x2da8ca;});}return _0x22e548;}async['getSheetBlock'](_0xf28e3e,_0x1c8d97){var _0x7f7ec8=_0x51303a;const {unitID:_0x115be1,type:_0x5c114f,blockID:_0x4f44d6}=_0x1c8d97,_0x33397e=this[_0x7f7ec8(0x24d)]()+'/'+_0x5c114f+_0x7f7ec8(0x38d)+_0x115be1+_0x7f7ec8(0x2c1)+_0x4f44d6;return(await this[_0x7f7ec8(0x42c)][_0x7f7ec8(0x227)](_0x33397e))[_0x7f7ec8(0x1df)];}async[_0x51303a(0x273)](_0x179fbb,_0x5353ae){var _0x44297e=_0x51303a;const {unitID:_0x5449ee,type:_0x516f5b,blockID:_0x34fe95}=_0x5353ae,_0x20ba4d=this[_0x44297e(0x24d)]()+_0x44297e(0x2c1)+_0x516f5b+_0x44297e(0x38d)+_0x5449ee+_0x44297e(0x2c1)+_0x34fe95;return(await this[_0x44297e(0x42c)][_0x44297e(0x227)](_0x20ba4d))[_0x44297e(0x1df)];}async[_0x51303a(0x20b)](_0x3f6ef6,_0x354a3f){var _0x4d967d=_0x51303a;const {unitID:_0x4024d6,type:_0x388821,from:_0x309857,to:_0x1ca88d}=_0x354a3f,_0x1c91f9=this[_0x4d967d(0x24d)]()+'/'+_0x388821+_0x4d967d(0x38d)+_0x4024d6+_0x4d967d(0x424)+_0x309857+_0x4d967d(0x18c)+_0x1ca88d;return(await this[_0x4d967d(0x42c)]['get'](_0x1c91f9))[_0x4d967d(0x1df)];}[_0x51303a(0x1d1)](){var _0x54ea3e=_0x51303a,_0x71c10f;return(_0x71c10f=this[_0x54ea3e(0x2c0)][_0x54ea3e(0x2ec)](Tn))!=null?_0x71c10f:this['_getAPIPrefix']();}[_0x51303a(0x24d)](){var _0x4b337b=_0x51303a,_0x197f60,_0x2bc25a;const _0x29781c=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](En),_0x5d01fa=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](q);return(_0x2bc25a=(_0x197f60=_0x5d01fa==null?void 0x0:_0x5d01fa['snapshotServerUrl'])!=null?_0x197f60:_0x29781c)!=null?_0x2bc25a:In;}async[_0x51303a(0x234)](_0x1f8987,_0x2bb40b){var _0x17fe03=_0x51303a;const _0x13333b=_0x17fe03(0x19b)+_0x2bb40b['type']+_0x17fe03(0x38d)+_0x2bb40b[_0x17fe03(0x40d)]+_0x17fe03(0x25c);return(await this[_0x17fe03(0x42c)][_0x17fe03(0x227)](_0x13333b,{'params':{'resourceId':JSON[_0x17fe03(0x235)](_0x2bb40b[_0x17fe03(0x310)])}}))[_0x17fe03(0x1df)];}['saveSnapshot'](){var _0x4b9002=_0x51303a;throw new Error(_0x4b9002(0x24e));}[_0x51303a(0x2da)](){var _0x5b9783=_0x51303a;throw new Error(_0x5b9783(0x24e));}['saveChangeset'](){var _0x135d67=_0x51303a;throw new Error(_0x135d67(0x24e));}[_0x51303a(0x2fe)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51303a(0x1a4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x197b9e),li(0x1,_0x2a2c27(_0x43259a))],Dt);var Ls=Object[_0x51303a(0x281)],Ms=Object[_0x51303a(0x150)],$s=(_0x4c8d97,_0x1d5263,_0x29cba3,_0x556df3)=>{for(var _0x11598f=_0x556df3>0x1?void 0x0:_0x556df3?Ms(_0x1d5263,_0x29cba3):_0x1d5263,_0x47c887=_0x4c8d97['length']-0x1,_0x367da8;_0x47c887>=0x0;_0x47c887--)(_0x367da8=_0x4c8d97[_0x47c887])&&(_0x11598f=(_0x556df3?_0x367da8(_0x1d5263,_0x29cba3,_0x11598f):_0x367da8(_0x11598f))||_0x11598f);return _0x556df3&&_0x11598f&&Ls(_0x1d5263,_0x29cba3,_0x11598f),_0x11598f;},Ae=(_0x1bb24c,_0x546506)=>(_0x2128d5,_0x3ce6c1)=>_0x546506(_0x2128d5,_0x3ce6c1,_0x1bb24c);let Pt=class extends _0x3122ca{constructor(_0x14278c,_0x2bc16f,_0x58630f,_0x33a099,_0x27bd0d){var _0x3808a3=_0x51303a;super(_0x14278c,_0x2bc16f,_0x58630f),this[_0x3808a3(0x223)]=_0x33a099,this[_0x3808a3(0x257)]=_0x27bd0d;}[_0x51303a(0x2ad)](_0x4b6c26,_0x3e1341){var _0xd8ba69=_0x51303a;const _0x383d1b=this['_getUndoStack'](_0x4b6c26);if(_0x383d1b)try{const _0x5d31c8=this['_transformStack'](_0x383d1b,_0x3e1341);this[_0xd8ba69(0x2bb)](_0x4b6c26,_0x5d31c8);}catch(_0x45d655){this[_0xd8ba69(0x257)][_0xd8ba69(0x16e)]('[CollaborationUndoRedoService]',_0x45d655),this[_0xd8ba69(0x347)](_0x4b6c26);}const _0x5bbf35=this['_getRedoStack'](_0x4b6c26);if(_0x5bbf35)try{const _0x59bc18=this[_0xd8ba69(0x25d)](_0x5bbf35,_0x3e1341);this[_0xd8ba69(0x3f8)](_0x4b6c26,_0x59bc18);}catch(_0x42d437){this['_logService']['error'](_0x42d437),this['_clearRedo'](_0x4b6c26);}}[_0x51303a(0x347)](_0x698dd7){var _0x2b35a9=_0x51303a;const _0x3e1b1f=this[_0x2b35a9(0x3aa)](_0x698dd7);_0x3e1b1f&&(_0x3e1b1f['length']=0x0,this[_0x2b35a9(0x3e5)]());}[_0x51303a(0x287)](_0x56b782){var _0x233378=_0x51303a;const _0x196659=this['_getRedoStack'](_0x56b782);_0x196659&&(_0x196659[_0x233378(0x2b9)]=0x0,this[_0x233378(0x3e5)]());}['_substituteUndoStack'](_0x5318f1,_0x58bf6e){var _0x136e06=_0x51303a;this[_0x136e06(0x320)]['set'](_0x5318f1,_0x58bf6e),this[_0x136e06(0x3e5)]();}[_0x51303a(0x3f8)](_0x3b8472,_0x148198){var _0x705d91=_0x51303a;this[_0x705d91(0x1c8)]['set'](_0x3b8472,_0x148198),this['_updateStatus']();}[_0x51303a(0x25d)](_0x18951d,_0x6d7861){var _0x2090db=_0x51303a;const _0x184623=[];let _0xda6e4c=_0x6d7861,_0x156064=_0x6d7861;for(let _0x433097=_0x18951d[_0x2090db(0x2b9)]-0x1;_0x433097>=0x0;_0x433097--){const {unitID:_0x192b81,undoMutations:_0x399ed1,redoMutations:_0x1f6692}=_0x18951d[_0x433097],_0x1a37ed=this[_0x2090db(0x223)][_0x2090db(0x405)](_0xda6e4c,_0x399ed1),_0x4add18=this[_0x2090db(0x223)][_0x2090db(0x405)](_0x156064,_0x1f6692);if(_0x5c45d7(_0x1a37ed)||_0x5c45d7(_0x4add18)){this[_0x2090db(0x257)]['error']('[CollaborationUndoRedoService]',_0x2090db(0x3ab),_0x1a37ed,_0x4add18);break;}_0xda6e4c=_0x1a37ed[_0x2090db(0x1c1)],_0x156064=_0x4add18[_0x2090db(0x1c1)],_0x184623[_0x2090db(0x1c9)]({'unitID':_0x192b81,'undoMutations':_0x1a37ed[_0x2090db(0x38b)],'redoMutations':_0x4add18[_0x2090db(0x38b)]});}return _0x184623['reverse']();}};Pt=$s([Ae(0x0,_0xd9ad76),Ae(0x1,_0x5c01af),Ae(0x2,_0x1f9cf4),Ae(0x3,_0x1aa332),Ae(0x4,_0x7c7e3b)],Pt);var xi=Object[_0x51303a(0x281)],Hs=Object[_0x51303a(0x150)],ks=(_0x36f5ee,_0x4045f3,_0x1be19a)=>_0x4045f3 in _0x36f5ee?xi(_0x36f5ee,_0x4045f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1be19a}):_0x36f5ee[_0x4045f3]=_0x1be19a,js=(_0x518661,_0xcf6f83,_0x4c4735,_0x2bc85a)=>{var _0x5007bd=_0x51303a;for(var _0x47ce60=_0x2bc85a>0x1?void 0x0:_0x2bc85a?Hs(_0xcf6f83,_0x4c4735):_0xcf6f83,_0x925819=_0x518661[_0x5007bd(0x2b9)]-0x1,_0x4c8198;_0x925819>=0x0;_0x925819--)(_0x4c8198=_0x518661[_0x925819])&&(_0x47ce60=(_0x2bc85a?_0x4c8198(_0xcf6f83,_0x4c4735,_0x47ce60):_0x4c8198(_0x47ce60))||_0x47ce60);return _0x2bc85a&&_0x47ce60&&xi(_0xcf6f83,_0x4c4735,_0x47ce60),_0x47ce60;},St=(_0xe0d378,_0x10fe46)=>(_0x55286a,_0x3913c3)=>_0x10fe46(_0x55286a,_0x3913c3,_0xe0d378),Bs=(_0xbf2531,_0x5cff12,_0x53ee20)=>ks(_0xbf2531,_0x5cff12+'',_0x53ee20);const Fs=_0x51303a(0x1da);let wt=class extends _0x2faba4{constructor(_0x310f9a=Wt,_0x27e6a0,_0x31fea0,_0x27abd5){var _0x3635b8=_0x51303a;super(),this[_0x3635b8(0x3c0)]=_0x310f9a,this['_logService']=_0x27e6a0,this[_0x3635b8(0x1ff)]=_0x31fea0,this['_configService']=_0x27abd5;const {..._0x242d61}=_0x123239({},Wt,this[_0x3635b8(0x3c0)]);this[_0x3635b8(0x2c0)]['setConfig'](q,_0x242d61);}['onStarting'](){var _0x50bcc0=_0x51303a;this['_registerDependencies'](),this[_0x50bcc0(0x440)]();}[_0x51303a(0x259)](){var _0xf1a83a=_0x51303a,_0x1fa8d5,_0x5bbb81,_0x1b4ff1,_0x3a270d;this[_0xf1a83a(0x1ff)][_0xf1a83a(0x371)](_0x277f73)&&this[_0xf1a83a(0x257)][_0xf1a83a(0x16e)](_0xf1a83a(0x14a),_0xf1a83a(0x283));const _0x23384=_0x596fab([[_0x277f73,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5bbb81=(_0x1fa8d5=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1fa8d5[_0xf1a83a(0x225)])!=null?_0x5bbb81:Et}],[_0x22279b,{'useClass':Dt}],[_0x289d4b,{'useClass':bt}],[_0x2dfdfa,{'useClass':yt}],[_0x5b09c9,{'useClass':Nt}],[rt],[Rt]],(_0x1b4ff1=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1b4ff1[_0xf1a83a(0x444)]);if(!((_0x3a270d=this[_0xf1a83a(0x3c0)])!=null&&_0x3a270d[_0xf1a83a(0x1ec)])){const _0x5b0d8c=_0x23384[_0xf1a83a(0x3d1)](([_0x4f76b1])=>_0x4f76b1===ht);_0x5b0d8c!==-0x1&&_0x23384[_0xf1a83a(0x271)](_0x5b0d8c,0x1);}_0x55b7fd(this[_0xf1a83a(0x1ff)],_0x23384);}[_0x51303a(0x440)](){var _0x459b3c=_0x51303a,_0x2f74b3,_0x439e3d,_0x2438ab;this['_injector'][_0x459b3c(0x227)](_0x43259a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3d1b06({'maxParallel':0x6})}),(_0x2f74b3=this[_0x459b3c(0x3c0)])!=null&&_0x2f74b3[_0x459b3c(0x311)]||(_0x439e3d=this[_0x459b3c(0x1ff)][_0x459b3c(0x227)](J,_0x5a06dd['OPTIONAL']))==null||_0x439e3d['disableLocalCache'](),(_0x2438ab=this[_0x459b3c(0x3c0)])!=null&&_0x2438ab['enableAuthServer']&&_0x351b51(this[_0x459b3c(0x1ff)],[[st]]),_0x351b51(this[_0x459b3c(0x1ff)],[[ot],[rt],[at]]);}};Bs(wt,_0x51303a(0x2fd),Fs),wt=js([_0x1b343a(_0x12509d,_0x511a9f,_0x3f6290),St(0x1,_0x7c7e3b),St(0x2,_0x2a2c27(_0x2ac98c)),St(0x3,_0x197b9e)],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 _0xe5cf50=_0x6808;function _0x6808(_0xf0cee0,_0x4ab8f6){var _0x4e7cb4=_0x4e7c();return _0x6808=function(_0x68080b,_0x367854){_0x68080b=_0x68080b-0x1ab;var _0x1dc10b=_0x4e7cb4[_0x68080b];return _0x1dc10b;},_0x6808(_0xf0cee0,_0x4ab8f6);}(function(_0x421743,_0x4b6d2b){var _0x5c0013=_0x6808,_0x1a6f3f=_0x421743();while(!![]){try{var _0x121d00=-parseInt(_0x5c0013(0x49f))/0x1+-parseInt(_0x5c0013(0x457))/0x2+parseInt(_0x5c0013(0x2ed))/0x3+-parseInt(_0x5c0013(0x24c))/0x4+parseInt(_0x5c0013(0x294))/0x5*(parseInt(_0x5c0013(0x370))/0x6)+parseInt(_0x5c0013(0x474))/0x7*(-parseInt(_0x5c0013(0x37d))/0x8)+-parseInt(_0x5c0013(0x291))/0x9*(-parseInt(_0x5c0013(0x24e))/0xa);if(_0x121d00===_0x4b6d2b)break;else _0x1a6f3f['push'](_0x1a6f3f['shift']());}catch(_0x3d8704){_0x1a6f3f['push'](_0x1a6f3f['shift']());}}}(_0x4e7c,0x3ce0d));var Li=Object[_0xe5cf50(0x4a7)],Mi=(_0x5ebc3a,_0x5a76cc,_0x37b2f0)=>_0x5a76cc in _0x5ebc3a?Li(_0x5ebc3a,_0x5a76cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37b2f0}):_0x5ebc3a[_0x5a76cc]=_0x37b2f0,N=(_0x3bce97,_0x4fc25d,_0x4c0f8d)=>Mi(_0x3bce97,typeof _0x4fc25d!='symbol'?_0x4fc25d+'':_0x4fc25d,_0x4c0f8d);import{createIdentifier as _0x1b7aa9,Inject as _0x1d51a6,Injector as _0x1edb1c,Disposable as _0x15bb7e,DisposableCollection as _0x2d1ba5,toDisposable as _0x33728b,IConfigService as _0x22ebb9,ILogService as _0x4597d7,UserManagerService as _0x2ba410,UniverInstanceType as _0xed9f94,IUniverInstanceService as _0x25173e,LocaleService as _0x3e1840,Optional as _0x32cef0,RxDisposable as _0x155349,Tools as _0x338369,Rectangle as _0x1362d2,ICommandService as _0x40e4b8,JSONX as _0x325cc3,CommandType as _0x7679c4,IPermissionService as _0x1f54fc,IUndoRedoService as _0x512149,sequenceExecute as _0x9fe256,Workbook as _0x4fa49c,MentionType as _0x342389,IAuthzIoService as _0x3f47ca,isInternalEditorID as _0x23cdd9,LocalUndoRedoService as _0x31f8ae,IContextService as _0x305114,DependentOn as _0x41e936,Plugin as _0x4be1fd,merge as _0x4deb4a,mergeOverrideWithDependencies as _0x22c189,IMentionIOService as _0x463542,registerDependencies as _0x5e0e01,Quantity as _0x45574e,touchDependencies as _0x466650}from'@univerjs/core';import{Subject as _0x355bd5,merge as _0x25b517,of as _0x6fb856,BehaviorSubject as _0xd2a8b4,takeUntil as _0x349e1a,ReplaySubject as _0x515433,take as _0x49d364,map as _0x1605e5,shareReplay as _0x363918,firstValueFrom as _0x5ae48c,concatMap as _0x1b2c8c}from'rxjs';import{map as _0x137573,take as _0x54a384,filter as _0x2c2600,delay as _0x513ef8,takeUntil as _0x196a7c}from'rxjs/operators';import{HTTPService as _0x2e5962,ISocketService as _0x28e355,MergeInterceptorFactory as _0x9f0991,HTTPRequest as _0x18d74a,UniverNetworkPlugin as _0x46aee4,ThresholdInterceptorFactory as _0x5d45a2}from'@univerjs/network';import{CollaborationEvent as _0x11ed3f,parseChangesetToProtocol as _0x22419a,ISnapshotServerService as _0x288584,isTransformMutationsWithChangesetSuccess as _0x4ab4da,ITransformService as _0x45bd1b,mapDocumentTypeToUniverType as _0x10416f,RevisionService as _0x3410cd,isTransformChangesetsSuccess as _0x38e180,CompressMutationService as _0x56682d,parseProtocolChangeset as _0x8516cb,SnapshotService as _0x1ce1d6,textEncoder as _0x248498,b64DecodeUnicode as _0x548551,isTransformMutationsWithChangesetFailure as _0x255dba,UniverCollaborationPlugin as _0x4962f3}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4fdfa4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x23b106}from'@univerjs/docs';import{SheetsSelectionsService as _0x3ccb14,SetSelectionsOperation as _0x44f79c,InsertSheetMutation as _0x5b33a5,EmptyMutation as _0x30a27c,WorkbookEditablePermission as _0x3d42b8,SheetPermissionInitController as _0x531427,UniverSheetsPlugin as _0xd99729}from'@univerjs/sheets';import{ImageSourceType as _0x2061c6,ImageUploadStatusType as _0x554c83,IImageIoService as _0x3dc1a0}from'@univerjs/drawing';import{getGlobalObject as _0x15c967}from'@univerjs-pro/license';const En=_0xe5cf50(0x439),In=_0xe5cf50(0x429),Tn=_0xe5cf50(0x238),eo=_0xe5cf50(0x1b2),Cn=0x7d0,Rn=_0xe5cf50(0x392),bn=_0xe5cf50(0x29e),On=_0xe5cf50(0x2e4),yn=_0xe5cf50(0x342),Nn=0x7530,Si=_0xe5cf50(0x33a),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0xe5cf50(0x466),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An='/universer-api/comb',xn=_0xe5cf50(0x397),Ln=_0xe5cf50(0x33e),no=_0xe5cf50(0x376),ro='/universer-api/uniscript';var Ii=(_0x2a978d=>(_0x2a978d[_0x2a978d['UNDEFINED']=0x0]=_0xe5cf50(0x482),_0x2a978d[_0x2a978d['OK']=0x1]='OK',_0x2a978d[_0x2a978d['INTERNAL_ERROR']=0x2]=_0xe5cf50(0x1cc),_0x2a978d[_0x2a978d[_0xe5cf50(0x42e)]=0x3]=_0xe5cf50(0x42e),_0x2a978d[_0x2a978d[_0xe5cf50(0x343)]=0x4]='NOT_FOUND',_0x2a978d[_0x2a978d[_0xe5cf50(0x337)]=0x5]=_0xe5cf50(0x337),_0x2a978d[_0x2a978d[_0xe5cf50(0x418)]=0x6]=_0xe5cf50(0x418),_0x2a978d[_0x2a978d[_0xe5cf50(0x382)]=0x7]=_0xe5cf50(0x382),_0x2a978d[_0x2a978d[_0xe5cf50(0x240)]=0x8]=_0xe5cf50(0x240),_0x2a978d[_0x2a978d[_0xe5cf50(0x496)]=0x9]='COMPLETION_FINISHED',_0x2a978d[_0x2a978d[_0xe5cf50(0x2f8)]=0x1389]=_0xe5cf50(0x2f8),_0x2a978d[_0x2a978d[_0xe5cf50(0x422)]=0x1771]=_0xe5cf50(0x422),_0x2a978d[_0x2a978d[_0xe5cf50(0x40e)]=0x1772]=_0xe5cf50(0x40e),_0x2a978d[_0x2a978d[_0xe5cf50(0x44c)]=0x1773]=_0xe5cf50(0x44c),_0x2a978d[_0x2a978d[_0xe5cf50(0x4a2)]=0x1b59]=_0xe5cf50(0x4a2),_0x2a978d[_0x2a978d[_0xe5cf50(0x3ab)]=0x1b5a]=_0xe5cf50(0x3ab),_0x2a978d[_0x2a978d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xe5cf50(0x349),_0x2a978d[_0x2a978d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xe5cf50(0x398),_0x2a978d[_0x2a978d[_0xe5cf50(0x467)]=0x1b5d]='APPLY_DUPLICATED',_0x2a978d[_0x2a978d[_0xe5cf50(0x375)]=0x1f41]=_0xe5cf50(0x375),_0x2a978d[_0x2a978d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xe5cf50(0x451),_0x2a978d[_0x2a978d[_0xe5cf50(0x348)]=0x232a]=_0xe5cf50(0x348),_0x2a978d[_0x2a978d[_0xe5cf50(0x46c)]=0x232b]=_0xe5cf50(0x46c),_0x2a978d[_0x2a978d[_0xe5cf50(0x301)]=0x232c]=_0xe5cf50(0x301),_0x2a978d[_0x2a978d[_0xe5cf50(0x45a)]=0x232d]=_0xe5cf50(0x45a),_0x2a978d[_0x2a978d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xe5cf50(0x229),_0x2a978d[_0x2a978d[_0xe5cf50(0x485)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2a978d[_0x2a978d[_0xe5cf50(0x311)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a978d[_0x2a978d[_0xe5cf50(0x38c)]=0x2714]=_0xe5cf50(0x38c),_0x2a978d[_0x2a978d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xe5cf50(0x3f1),_0x2a978d[_0x2a978d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2a978d))(Ii||{}),Q=(_0x19ae05=>(_0x19ae05[_0x19ae05[_0xe5cf50(0x23d)]=0x0]=_0xe5cf50(0x23d),_0x19ae05[_0x19ae05[_0xe5cf50(0x2cf)]=0x1]='UNIVER_DOC',_0x19ae05[_0x19ae05['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x19ae05[_0x19ae05[_0xe5cf50(0x2ee)]=0x3]=_0xe5cf50(0x2ee),_0x19ae05[_0x19ae05['UNIVER_PROJECT']=0x4]=_0xe5cf50(0x211),_0x19ae05[_0x19ae05[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x19ae05))(Q||{}),F=(_0x2ae13b=>(_0x2ae13b[_0x2ae13b[_0xe5cf50(0x2dd)]=0x0]=_0xe5cf50(0x2dd),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x45c)]=0x1]=_0xe5cf50(0x45c),_0x2ae13b[_0x2ae13b['JOIN']=0x2]='JOIN',_0x2ae13b[_0x2ae13b[_0xe5cf50(0x34f)]=0x3]=_0xe5cf50(0x34f),_0x2ae13b[_0x2ae13b['INGEST']=0x4]=_0xe5cf50(0x250),_0x2ae13b[_0x2ae13b['HEARTBEAT']=0x5]=_0xe5cf50(0x409),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x373)]=0x6]=_0xe5cf50(0x373),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x2ae13b))(F||{}),Ee=(_0x595115=>(_0x595115[_0x595115[_0xe5cf50(0x232)]=0x0]=_0xe5cf50(0x232),_0x595115[_0x595115['OK']=0x1]='OK',_0x595115[_0x595115[_0xe5cf50(0x32f)]=0x2]=_0xe5cf50(0x32f),_0x595115[_0x595115[_0xe5cf50(0x368)]=0x3e9]='JOIN_ROOM_FULL',_0x595115[_0x595115['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xe5cf50(0x416),_0x595115[_0x595115['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x595115[_0x595115[_0xe5cf50(0x26a)]=0x3ec]=_0xe5cf50(0x26a),_0x595115[_0x595115[_0xe5cf50(0x1bc)]=-0x1]='UNRECOGNIZED',_0x595115))(Ee||{}),Ti=(_0x58fa1d=>(_0x58fa1d[_0x58fa1d[_0xe5cf50(0x2fe)]=0x0]='Undefined',_0x58fa1d[_0x58fa1d['HttpImport']=0x1]='HttpImport',_0x58fa1d[_0x58fa1d[_0xe5cf50(0x41b)]=0x2]=_0xe5cf50(0x41b),_0x58fa1d[_0x58fa1d[_0xe5cf50(0x3a1)]=0x3]=_0xe5cf50(0x3a1),_0x58fa1d[_0x58fa1d['UnitSnapshot']=0x4]=_0xe5cf50(0x310),_0x58fa1d[_0x58fa1d[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x58fa1d))(Ti||{});const q=_0xe5cf50(0x412),Wt={};var se=(_0x3b3f14=>(_0x3b3f14[_0xe5cf50(0x371)]=_0xe5cf50(0x371),_0x3b3f14[_0xe5cf50(0x42e)]=_0xe5cf50(0x42e),_0x3b3f14[_0xe5cf50(0x2f6)]=_0xe5cf50(0x2f6),_0x3b3f14[_0xe5cf50(0x40d)]=_0xe5cf50(0x40d),_0x3b3f14[_0xe5cf50(0x40a)]=_0xe5cf50(0x40a),_0x3b3f14[_0xe5cf50(0x34c)]=_0xe5cf50(0x34c),_0x3b3f14['SOCKET_FAILED']='SOCKET_FAILED',_0x3b3f14[_0xe5cf50(0x4ad)]=_0xe5cf50(0x4ad),_0x3b3f14))(se||{});class pe{constructor(){var _0x5dde66=_0xe5cf50;N(this,_0x5dde66(0x420),new _0x355bd5()),N(this,_0x5dde66(0x40c),this[_0x5dde66(0x420)][_0x5dde66(0x1f9)]());}[_0xe5cf50(0x4ae)](_0x17556a){var _0x48f170=_0xe5cf50;this['_event$'][_0x48f170(0x1dd)](_0x17556a);}}const Mn=_0x1b7aa9(_0xe5cf50(0x253));function $n(_0x196688){var _0x15cb28=_0xe5cf50,_0x1c6709,_0x5dcc75,_0x233cbc,_0x2045e3,_0x48325e;const _0x1bbd13=_0x196688[_0x15cb28(0x1d5)],_0x465962=JSON[_0x15cb28(0x44e)](_0x1bbd13);switch(_0x465962['cmd']){case F[_0x15cb28(0x409)]:case F[_0x15cb28(0x45c)]:{const _0x5e5dd4=_0x465962[_0x15cb28(0x3bf)];return{..._0x465962,'data':_0x5e5dd4,'cmd':_0x465962[_0x15cb28(0x363)]};}case F[_0x15cb28(0x260)]:{const _0x49ec5c=_0x465962[_0x15cb28(0x437)];return{..._0x465962,'data':_0x49ec5c,'cmd':_0x465962[_0x15cb28(0x363)]};}case F[_0x15cb28(0x373)]:{const _0x5c71f1=_0x465962[_0x15cb28(0x3e6)];switch(_0x5c71f1[_0x15cb28(0x23e)]){case _0x11ed3f[_0x15cb28(0x21b)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x1c6709=_0x5c71f1[_0x15cb28(0x39b)])==null?void 0x0:_0x1c6709['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f['CHANGESET_ACK']:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x5dcc75=_0x5c71f1[_0x15cb28(0x259)])==null?void 0x0:_0x5dcc75['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x22c)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x233cbc=_0x5c71f1['newCsEvent'])==null?void 0x0:_0x233cbc['cs']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f['CHANGESET_REJ']:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x2045e3=_0x5c71f1['csRejEvent'])==null?void 0x0:_0x2045e3['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x498)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x48325e=_0x5c71f1[_0x15cb28(0x296)])==null?void 0x0:_0x48325e['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x2b8)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x25a)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3bd)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x393)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f['USERS_LEAVE']:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['leaveEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x274)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x354)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3ee)]:case _0x11ed3f[_0x15cb28(0x2fb)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x249)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x2e2)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['liveShareNewHost']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x257)]:return{..._0x465962,'data':_0x5c71f1,'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x41a)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['commentUpdateEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3d6)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x2c7)]},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x23a)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x1c0)]},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x369)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['uniscriptRunEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};default:return _0x465962;}}default:return _0x465962;}}function Hn(_0x5c5e80){var _0x10a5c1=_0xe5cf50;switch(_0x5c5e80[_0x10a5c1(0x363)]){case F['HEARTBEAT']:case F[_0x10a5c1(0x45c)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80['routeKey']});case F[_0x10a5c1(0x250)]:{let _0x4647b6;switch(_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x23e)]){case _0x11ed3f[_0x10a5c1(0x2b8)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2b8)],'updateCursorEvent':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x27c)]:{_0x4647b6={'eventID':_0x11ed3f['USERS_LEAVE'],'leaveEvent':_0x5c5e80[_0x10a5c1(0x1d5)]['data']};break;}case _0x11ed3f[_0x10a5c1(0x3bd)]:{_0x4647b6={'eventID':_0x11ed3f['USERS_ENTER'],'joinEvent':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_NEW_HOST']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x274)],'liveShareNewHost':_0x5c5e80['data'][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_OPERATION']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2fb)],'liveShareOperation':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x2e2)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2e2)],'liveShareTerminate':_0x5c5e80['data'][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_REQUEST_HOST']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x3f2)],'liveShareRequestHost':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x3ee)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x3ee)]};break;}default:_0x4647b6={'eventID':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x23e)]};}return JSON['stringify']({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'collaMsg':_0x4647b6});}case F[_0x10a5c1(0x260)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'joinReq':_0x5c5e80['data']});case F[_0x10a5c1(0x34f)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80['cmd'],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'leaveReq':_0x5c5e80[_0x10a5c1(0x1d5)]});default:throw new Error(_0x10a5c1(0x263));}}var kn=Object[_0xe5cf50(0x4a7)],jn=Object[_0xe5cf50(0x324)],Bn=(_0x59a7dc,_0x280cbe,_0x3e1a5a,_0x1ceb6c)=>{var _0xd437f7=_0xe5cf50;for(var _0x1da1fd=_0x1ceb6c>0x1?void 0x0:_0x1ceb6c?jn(_0x280cbe,_0x3e1a5a):_0x280cbe,_0x255df4=_0x59a7dc[_0xd437f7(0x2da)]-0x1,_0x2f8bf3;_0x255df4>=0x0;_0x255df4--)(_0x2f8bf3=_0x59a7dc[_0x255df4])&&(_0x1da1fd=(_0x1ceb6c?_0x2f8bf3(_0x280cbe,_0x3e1a5a,_0x1da1fd):_0x2f8bf3(_0x1da1fd))||_0x1da1fd);return _0x1ceb6c&&_0x1da1fd&&kn(_0x280cbe,_0x3e1a5a,_0x1da1fd),_0x1da1fd;},Ue=(_0x572726,_0x34d53d)=>(_0x1f8665,_0x56ec7d)=>_0x34d53d(_0x1f8665,_0x56ec7d,_0x572726);const Ci=_0x1b7aa9('univer-pro.collaboration-client-socket-service');function Fn(_0x4f8639,_0x58a2cd,_0x554755){var _0x4f3ea3=_0xe5cf50;return _0x4f8639+'/'+_0x58a2cd+'/unit/'+_0x554755+_0x4f3ea3(0x29f);}let Et=class extends _0x15bb7e{constructor(_0x2f364d,_0x2be342,_0x5c0395,_0x4058c5,_0x24f689){var _0x586e5c=_0xe5cf50;super(),this[_0x586e5c(0x49d)]=_0x2f364d,this[_0x586e5c(0x30a)]=_0x2be342,this[_0x586e5c(0x3ae)]=_0x5c0395,this[_0x586e5c(0x32c)]=_0x4058c5,this['_snapshotServerService']=_0x24f689;}['createSocket'](_0x26c992){var _0x4be1b2=_0xe5cf50;const _0x3a0271=this[_0x4be1b2(0x49d)][_0x4be1b2(0x442)](_0x28e355);if(!_0x3a0271)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5b5db6=_0x3a0271[_0x4be1b2(0x31d)](_0x26c992);if(!_0x5b5db6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x326ee1=new _0x2d1ba5(),_0x446f96=new _0x355bd5();_0x326ee1[_0x4be1b2(0x1fd)](_0x5b5db6[_0x4be1b2(0x388)][_0x4be1b2(0x1e9)](_0x2c6cab=>_0x446f96[_0x4be1b2(0x1dd)](_0x2c6cab))),_0x326ee1['add'](_0x33728b(()=>_0x446f96[_0x4be1b2(0x3a2)]()));const _0x29b410=new _0x355bd5();_0x326ee1['add'](_0x5b5db6['error$'][_0x4be1b2(0x1e9)](_0x9b3216=>_0x29b410[_0x4be1b2(0x1dd)](_0x9b3216))),_0x326ee1[_0x4be1b2(0x1fd)](_0x33728b(()=>_0x29b410[_0x4be1b2(0x3a2)]()));const _0x3d5d08=new _0x355bd5();_0x326ee1['add'](_0x5b5db6[_0x4be1b2(0x357)]['subscribe'](_0x10251d=>{var _0x2564a8=_0x4be1b2;const _0x36ad12=$n(_0x10251d);_0x3d5d08[_0x2564a8(0x1dd)](_0x36ad12);})),_0x326ee1[_0x4be1b2(0x1fd)](_0x33728b(()=>_0x3d5d08['complete']()));let _0x49f926;const _0x3f3b9a=()=>{var _0x40c212=_0x4be1b2;_0x29b410[_0x40c212(0x1dd)](new Event(_0x40c212(0x2f1))),_0x446f96[_0x40c212(0x1dd)](new CloseEvent(_0x40c212(0x2f1))),_0x49f926[_0x40c212(0x234)]();};return _0x49f926={'memberID':'','close$':_0x446f96['asObservable'](),'error$':_0x29b410['asObservable'](),'open$':_0x5b5db6['open$'],'message$':_0x3d5d08[_0x4be1b2(0x1f9)](),'send':_0x98aee2=>{var _0x5ef4eb=_0x4be1b2;if(_0x98aee2[_0x5ef4eb(0x363)]===F[_0x5ef4eb(0x250)]){if(_0x98aee2['data'][_0x5ef4eb(0x23e)]===_0x11ed3f[_0x5ef4eb(0x3c3)]){this[_0x5ef4eb(0x3b5)](_0x49f926,_0x98aee2[_0x5ef4eb(0x1d5)])[_0x5ef4eb(0x35a)](_0x547967=>{var _0x824231=_0x5ef4eb;this[_0x824231(0x32c)]['error'](_0x547967),_0x3f3b9a();});return;}if(_0x98aee2['data'][_0x5ef4eb(0x23e)]===_0x11ed3f[_0x5ef4eb(0x490)]){const _0x3daae5=_0x98aee2['data'];this['_fetchMissChangesets'](_0x3daae5)[_0x5ef4eb(0x1d2)](_0x444931=>{var _0x1f8593=_0x5ef4eb;_0x3d5d08['next']({'cmd':F[_0x1f8593(0x373)],'code':Ee['OK'],'routeKey':_0x3daae5[_0x1f8593(0x1d5)]['unitID'],'routeType':'','data':{'eventID':_0x11ed3f[_0x1f8593(0x49a)],'data':{'changesets':_0x444931}}});})[_0x5ef4eb(0x35a)](_0x28d83d=>{var _0x5614d2=_0x5ef4eb;this[_0x5614d2(0x32c)][_0x5614d2(0x21e)](_0x28d83d),_0x3f3b9a();});return;}}_0x5b5db6['send'](Hn(_0x98aee2));},'close':()=>{_0x5b5db6['close'](),_0x326ee1['dispose']();}},_0x49f926;}async['_submitChangeset'](_0x4425f0,_0x4b4396){var _0x2c2cc1=_0xe5cf50,_0x9e38ec,_0x8fe0b9;const {unitType:_0x4e4816,unitID:_0x71e63b,changeset:_0x1c8f82}=_0x4b4396[_0x2c2cc1(0x1d5)],_0x36b953={'unitID':_0x71e63b,'memberID':_0x4425f0[_0x2c2cc1(0x45d)],'type':_0x4e4816,'changeset':_0x22419a(_0x1c8f82)},_0x44f106=this[_0x2c2cc1(0x3ae)][_0x2c2cc1(0x2ae)](Un),_0x1c96a2=this[_0x2c2cc1(0x3ae)][_0x2c2cc1(0x2ae)](q),_0x2654a2=Fn((_0x8fe0b9=(_0x9e38ec=_0x1c96a2==null?void 0x0:_0x1c96a2[_0x2c2cc1(0x1af)])!=null?_0x9e38ec:_0x44f106)!=null?_0x8fe0b9:An,_0x4e4816,_0x71e63b);try{await this[_0x2c2cc1(0x30a)]['post'](_0x2654a2,{'body':_0x36b953});}catch(_0x47d0c6){throw this[_0x2c2cc1(0x32c)][_0x2c2cc1(0x21e)](_0x2c2cc1(0x251),'submit\x20changeset\x20error!'),_0x47d0c6;}}async[_0xe5cf50(0x1fc)](_0x1f68c3){var _0x3dc04e=_0xe5cf50;const {unitID:_0x72de70,from:_0x5a0427,to:_0x5b87b3,unitType:_0x4cd880}=_0x1f68c3[_0x3dc04e(0x1d5)];return(await this[_0x3dc04e(0x275)][_0x3dc04e(0x401)]({'metadata':void 0x0},{'unitID':_0x72de70,'type':_0x4cd880,'from':_0x5a0427,'to':_0x5b87b3}))[_0x3dc04e(0x325)];}};Et=Bn([Ue(0x0,_0x1d51a6(_0x1edb1c)),Ue(0x1,_0x1d51a6(_0x2e5962)),Ue(0x2,_0x22ebb9),Ue(0x3,_0x4597d7),Ue(0x4,_0x288584)],Et);const Vn=_0xe5cf50(0x352);function Gn(_0x5df221){var _0xdd1d06=_0xe5cf50;return JSON[_0xdd1d06(0x3e1)](_0x5df221)[_0xdd1d06(0x2da)];}class Ri{constructor(){var _0x17d7da=_0xe5cf50;N(this,_0x17d7da(0x38a),new _0x355bd5()),N(this,_0x17d7da(0x39d),this[_0x17d7da(0x38a)]['asObservable']());}[_0xe5cf50(0x386)](_0x3fa04e){var _0x57c0cc=_0xe5cf50;this['_commentUpdate$'][_0x57c0cc(0x1dd)](_0x3fa04e);}}var Wn=Object[_0xe5cf50(0x4a7)],Kn=Object[_0xe5cf50(0x324)],Yn=(_0x59bf50,_0x4a2c4c,_0x18bb91,_0x465815)=>{var _0x389ec2=_0xe5cf50;for(var _0x322f93=_0x465815>0x1?void 0x0:_0x465815?Kn(_0x4a2c4c,_0x18bb91):_0x4a2c4c,_0x3c5a8b=_0x59bf50[_0x389ec2(0x2da)]-0x1,_0x5b5ad2;_0x3c5a8b>=0x0;_0x3c5a8b--)(_0x5b5ad2=_0x59bf50[_0x3c5a8b])&&(_0x322f93=(_0x465815?_0x5b5ad2(_0x4a2c4c,_0x18bb91,_0x322f93):_0x5b5ad2(_0x322f93))||_0x322f93);return _0x465815&&_0x322f93&&Wn(_0x4a2c4c,_0x18bb91,_0x322f93),_0x322f93;},Kt=(_0x31cd63,_0x3fe74e)=>(_0x2f25f1,_0x18e557)=>_0x3fe74e(_0x2f25f1,_0x18e557,_0x31cd63);let xe=class extends _0x15bb7e{constructor(_0x152132,_0x3fff51){var _0x228f2d=_0xe5cf50;super(),N(this,_0x228f2d(0x438),new Map()),N(this,_0x228f2d(0x20f),new _0x355bd5()),(this[_0x228f2d(0x1f3)]=_0x152132,this['_userManagerService']=_0x3fff51,this[_0x228f2d(0x1fa)](_0x25b517(this[_0x228f2d(0x1f3)][_0x228f2d(0x1ff)](_0xed9f94['UNIVER_SHEET'])[_0x228f2d(0x34d)](_0x137573(_0x4b0367=>_0x4b0367['getUnitId']())),this[_0x228f2d(0x1f3)]['getTypeOfUnitDisposed$'](_0xed9f94[_0x228f2d(0x2cf)])[_0x228f2d(0x34d)](_0x137573(_0x541871=>_0x541871[_0x228f2d(0x326)]())),this[_0x228f2d(0x1f3)][_0x228f2d(0x1ff)](_0xed9f94['UNIVER_SLIDE'])[_0x228f2d(0x34d)](_0x137573(_0x1f442b=>_0x1f442b['getUnitId']())))['subscribe'](_0x171bd6=>this['_removeRoom'](_0x171bd6))));}[_0xe5cf50(0x29d)](_0x1b53bb){var _0x3a5fec=_0xe5cf50;return this[_0x3a5fec(0x438)]['has'](_0x1b53bb)?_0x6fb856(this['_roomMembers'][_0x3a5fec(0x442)](_0x1b53bb)):this[_0x3a5fec(0x20f)][_0x3a5fec(0x34d)](_0x137573(_0x129c81=>{var _0x85f57d=_0x3a5fec;if(_0x129c81===_0x1b53bb)return this['_roomMembers'][_0x85f57d(0x442)](_0x129c81);}));}[_0xe5cf50(0x1da)](_0x1e1c16){var _0x277a3f=_0xe5cf50;this[_0x277a3f(0x1bf)][_0x277a3f(0x1da)](_0x1e1c16);}[_0xe5cf50(0x1d3)](){var _0x1f6586=_0xe5cf50;return this[_0x1f6586(0x1bf)][_0x1f6586(0x1d3)]();}[_0xe5cf50(0x41c)](_0x292aee,_0x47612e){var _0x3696e5=_0xe5cf50;let _0x2c0892=this[_0x3696e5(0x438)][_0x3696e5(0x442)](_0x292aee);_0x2c0892||(_0x2c0892=new qn(),this[_0x3696e5(0x438)][_0x3696e5(0x458)](_0x292aee,_0x2c0892),this[_0x3696e5(0x20f)][_0x3696e5(0x1dd)](_0x292aee)),_0x2c0892[_0x3696e5(0x41c)](_0x47612e);}[_0xe5cf50(0x1df)](_0x174759,_0x1db859){var _0x50989d=_0xe5cf50;const _0x1dfd58=this[_0x50989d(0x438)][_0x50989d(0x442)](_0x174759);_0x1dfd58&&_0x1dfd58[_0x50989d(0x1df)](_0x1db859);}['getRoom'](_0x27ef62){var _0x29258e=_0xe5cf50;return this[_0x29258e(0x438)][_0x29258e(0x442)](_0x27ef62);}[_0xe5cf50(0x46a)](_0x53cebc,_0xa2959f){var _0x2f836b=_0xe5cf50;const _0x2801e6=this['_roomMembers'][_0x2f836b(0x442)](_0x53cebc);if(_0x2801e6)return _0x2801e6[_0x2f836b(0x46a)](_0xa2959f);}['_removeRoom'](_0x688c6b){var _0x1c753e=_0xe5cf50;const _0x10e87a=this[_0x1c753e(0x438)][_0x1c753e(0x442)](_0x688c6b);_0x10e87a&&(_0x10e87a[_0x1c753e(0x410)](),this[_0x1c753e(0x438)][_0x1c753e(0x494)](_0x688c6b));}['dispose'](){var _0x22379c=_0xe5cf50;this['_roomMembers'][_0x22379c(0x21a)](_0x29a43e=>_0x29a43e[_0x22379c(0x410)]()),this[_0x22379c(0x438)][_0x22379c(0x314)](),this[_0x22379c(0x20f)][_0x22379c(0x3a2)]();}};xe=Yn([Kt(0x0,_0x25173e),Kt(0x1,_0x1d51a6(_0x2ba410))],xe);class qn extends _0x15bb7e{constructor(){var _0x3359d5=_0xe5cf50;super(...arguments),N(this,_0x3359d5(0x39c),new Map()),N(this,_0x3359d5(0x322),new _0xd2a8b4(this[_0x3359d5(0x39c)])),N(this,_0x3359d5(0x440),this[_0x3359d5(0x322)][_0x3359d5(0x1f9)]());}[_0xe5cf50(0x410)](){var _0x1a92e4=_0xe5cf50;this[_0x1a92e4(0x39c)]['clear']();}[_0xe5cf50(0x41c)](_0x3802f3){var _0x424974=_0xe5cf50;this['_members'][_0x424974(0x458)](_0x3802f3[_0x424974(0x45d)],_0x3802f3),this['_emitMembers']();}[_0xe5cf50(0x1df)](_0x7e67ad){var _0x5cd477=_0xe5cf50;this['_members'][_0x5cd477(0x494)](_0x7e67ad);}[_0xe5cf50(0x46a)](_0xc00777){var _0x24aa04=_0xe5cf50;return this[_0x24aa04(0x39c)][_0x24aa04(0x442)](_0xc00777);}[_0xe5cf50(0x266)](){var _0xaf0fc8=_0xe5cf50;return Array[_0xaf0fc8(0x35f)](this['_members'][_0xaf0fc8(0x480)]());}[_0xe5cf50(0x3d8)](){var _0xe84f54=_0xe5cf50;this[_0xe84f54(0x322)][_0xe84f54(0x1dd)](this[_0xe84f54(0x39c)]);}}var zn=Object['defineProperty'],Jn=Object[_0xe5cf50(0x324)],Xn=(_0x3fa0e4,_0x2a3d2b,_0x26c00c,_0x1ef8d8)=>{var _0x4d4880=_0xe5cf50;for(var _0xf83673=_0x1ef8d8>0x1?void 0x0:_0x1ef8d8?Jn(_0x2a3d2b,_0x26c00c):_0x2a3d2b,_0x8effd0=_0x3fa0e4[_0x4d4880(0x2da)]-0x1,_0x1a7110;_0x8effd0>=0x0;_0x8effd0--)(_0x1a7110=_0x3fa0e4[_0x8effd0])&&(_0xf83673=(_0x1ef8d8?_0x1a7110(_0x2a3d2b,_0x26c00c,_0xf83673):_0x1a7110(_0xf83673))||_0xf83673);return _0x1ef8d8&&_0xf83673&&zn(_0x2a3d2b,_0x26c00c,_0xf83673),_0xf83673;},me=(_0x204d07,_0x22f3ea)=>(_0x2eae28,_0x2cd9fd)=>_0x22f3ea(_0x2eae28,_0x2cd9fd,_0x204d07),Te=(_0x3b3e5b=>(_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x1d4)]=0x0]='IDLE',_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x2c0)]=0x1]=_0xe5cf50(0x2c0),_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x2f2)]=0x2]=_0xe5cf50(0x2f2),_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x292)]=0x3]=_0xe5cf50(0x292),_0x3b3e5b))(Te||{});const Yt={[Ee[_0xe5cf50(0x32f)]]:_0xe5cf50(0x22b),[Ee[_0xe5cf50(0x368)]]:_0xe5cf50(0x3eb),[Ee[_0xe5cf50(0x416)]]:_0xe5cf50(0x1f2),[Ee[_0xe5cf50(0x2d2)]]:_0xe5cf50(0x473),[Ee[_0xe5cf50(0x26a)]]:_0xe5cf50(0x3e7)};let It=class extends _0x155349{constructor(_0x18c9ee,_0x28eb06,_0x8decf4,_0x2ff699,_0x501d1d,_0x1224b1,_0x2051ea,_0x1abee3,_0x56cf8d){var _0x2f3f31=_0xe5cf50;super(),N(this,_0x2f3f31(0x37b),new _0xd2a8b4(0x0)),N(this,_0x2f3f31(0x341),this[_0x2f3f31(0x37b)][_0x2f3f31(0x1f9)]()),N(this,_0x2f3f31(0x420),new _0x355bd5()),N(this,'event$',this[_0x2f3f31(0x420)][_0x2f3f31(0x1f9)]()),N(this,_0x2f3f31(0x408)),N(this,_0x2f3f31(0x28c)),N(this,_0x2f3f31(0x403)),N(this,_0x2f3f31(0x469),!0x1),N(this,_0x2f3f31(0x2c8),null),(this['_unitID']=_0x18c9ee,this[_0x2f3f31(0x32c)]=_0x8decf4,this[_0x2f3f31(0x3ae)]=_0x2ff699,this[_0x2f3f31(0x203)]=_0x501d1d,this[_0x2f3f31(0x336)]=_0x1224b1,this[_0x2f3f31(0x215)]=_0x2051ea,this[_0x2f3f31(0x29a)]=_0x1abee3,this[_0x2f3f31(0x3e5)]=_0x56cf8d,this['_shouldReportTelemetry']=!!this[_0x2f3f31(0x3e5)],_0x28eb06[_0x2f3f31(0x34d)](_0x349e1a(this[_0x2f3f31(0x3a7)]))[_0x2f3f31(0x1e9)](_0x466b08=>{var _0x341185=_0x2f3f31,_0x1273e3;typeof _0x466b08>'u'||(this[_0x341185(0x408)]=_0x466b08,_0x466b08?(this[_0x341185(0x289)](_0x466b08),this[_0x341185(0x28c)]=_0x466b08[_0x341185(0x357)][_0x341185(0x1e9)](_0x221f10=>{var _0x47801c=_0x341185;_0x221f10[_0x47801c(0x2fd)]===this[_0x47801c(0x1ee)]&&this[_0x47801c(0x4a6)](_0x221f10);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x341185(0x37b)]['next'](0x2),(_0x1273e3=this[_0x341185(0x28c)])==null||_0x1273e3[_0x341185(0x31c)](),this[_0x341185(0x28c)]=null));}));}get[_0xe5cf50(0x2aa)](){var _0x2c3f6b=_0xe5cf50;return this[_0x2c3f6b(0x37b)]['getValue']();}[_0xe5cf50(0x3f6)](){var _0x82a99b=_0xe5cf50,_0x454912,_0x5d4cbe;return(_0x5d4cbe=(_0x454912=this[_0x82a99b(0x408)])==null?void 0x0:_0x454912[_0x82a99b(0x45d)])!=null?_0x5d4cbe:null;}[_0xe5cf50(0x410)](){var _0xe9bf20=_0xe5cf50;super[_0xe9bf20(0x410)](),this[_0xe9bf20(0x3a7)][_0xe9bf20(0x1dd)](),this['dispose$'][_0xe9bf20(0x3a2)]();}[_0xe5cf50(0x234)](){var _0x32a823=_0xe5cf50,_0x23b6a8,_0x360fea;this[_0x32a823(0x3d9)](),(_0x23b6a8=this[_0x32a823(0x408)])==null||_0x23b6a8[_0x32a823(0x484)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x32a823(0x1ee)]}}),(_0x360fea=this[_0x32a823(0x408)])==null||_0x360fea[_0x32a823(0x234)](),this[_0x32a823(0x420)][_0x32a823(0x3a2)](),this[_0x32a823(0x37b)]['complete'](),this['dispose']();}[_0xe5cf50(0x4a6)](_0x5ee376){var _0x15a355=_0xe5cf50;_0x5ee376['cmd']===F[_0x15a355(0x260)]?this[_0x15a355(0x3c7)](_0x5ee376):_0x5ee376['cmd']===F[_0x15a355(0x373)]&&this[_0x15a355(0x2d5)](_0x5ee376);}[_0xe5cf50(0x289)](_0x27fc06){var _0x570b36=_0xe5cf50;this['_sessionStatus$'][_0x570b36(0x1dd)](0x1),_0x27fc06['send']({'cmd':F['JOIN'],'routeKey':this[_0x570b36(0x1ee)],'routeType':'','data':{'rooms':[{'roomID':this[_0x570b36(0x1ee)]}]}});}['_onJoinRoomEvent'](_0x52d52f){var _0x1f2ecb=_0xe5cf50,_0x45e414;if(_0x52d52f[_0x1f2ecb(0x1de)]in Yt){this[_0x1f2ecb(0x29a)][_0x1f2ecb(0x4ae)]({'id':se[_0x1f2ecb(0x40a)],'data':Yt[_0x52d52f[_0x1f2ecb(0x1de)]]}),this['_sessionStatus$'][_0x1f2ecb(0x1dd)](0x2);return;}this[_0x1f2ecb(0x37b)][_0x1f2ecb(0x1dd)](0x3);const _0x3e67e4=(_0x45e414=_0x52d52f['data']['roomInfos'][this[_0x1f2ecb(0x1ee)]])==null?void 0x0:_0x45e414[_0x1f2ecb(0x252)];_0x3e67e4&&_0x3e67e4['forEach'](_0x4155d3=>this[_0x1f2ecb(0x336)][_0x1f2ecb(0x41c)](this['_unitID'],_0x4155d3));}['_onRecvEvent'](_0x33ee8e){var _0x29a71a=_0xe5cf50;try{const _0x35aeb9=_0x33ee8e['data'];switch(_0x35aeb9[_0x29a71a(0x23e)]){case _0x11ed3f[_0x29a71a(0x3bd)]:this[_0x29a71a(0x1cf)](_0x35aeb9),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x27c)]:this['_onUserLeave'](_0x35aeb9),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f['CHANGESET_ACK']:case _0x11ed3f[_0x29a71a(0x498)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x29a71a(0x3c6)](),this[_0x29a71a(0x420)]['next'](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x257)]:this[_0x29a71a(0x32c)][_0x29a71a(0x21e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x29a71a(0x3e1)](_0x35aeb9)),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x41a)]:this['_commentService'][_0x29a71a(0x386)](_0x35aeb9[_0x29a71a(0x1d5)]),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;default:this['_event$'][_0x29a71a(0x1dd)](_0x35aeb9);}}catch(_0x491e00){this[_0x29a71a(0x32c)][_0x29a71a(0x21e)](_0x491e00,_0x33ee8e);}}[_0xe5cf50(0x1cf)](_0x240faf){var _0x225f35=_0xe5cf50;this[_0x225f35(0x336)][_0x225f35(0x41c)](this[_0x225f35(0x1ee)],_0x240faf[_0x225f35(0x1d5)]);}['_onUserLeave'](_0xe09995){var _0x16ce41=_0xe5cf50;this[_0x16ce41(0x336)]['removeMember'](this['_unitID'],_0xe09995[_0x16ce41(0x1d5)][_0x16ce41(0x45d)]);}async[_0xe5cf50(0x484)](_0x3dc2e2,_0x4b1987){var _0x575e27=_0xe5cf50;if(this[_0x575e27(0x2aa)]!==0x3||!this[_0x575e27(0x408)])throw new Error(_0x575e27(0x29c));try{_0x3dc2e2[_0x575e27(0x23e)]===_0x11ed3f[_0x575e27(0x3c3)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x575e27(0x3be)](_0x3dc2e2)),this[_0x575e27(0x408)][_0x575e27(0x484)]({'cmd':F[_0x575e27(0x250)],'routeKey':_0x4b1987,'routeType':'','data':_0x3dc2e2});}catch(_0x7bc626){this[_0x575e27(0x32c)][_0x575e27(0x21e)](_0x7bc626);}}[_0xe5cf50(0x3e8)](){var _0x4028c6=_0xe5cf50,_0x3d8f6b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x6472e0=_0x6808;this[_0x6472e0(0x403)]=null,this[_0x6472e0(0x29a)][_0x6472e0(0x4ae)]({'id':se[_0x6472e0(0x4ad)]});},(_0x3d8f6b=this[_0x4028c6(0x3ae)][_0x4028c6(0x2ae)](Si))!=null?_0x3d8f6b:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x2f4b5c=_0xe5cf50;this[_0x2f4b5c(0x403)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2f4b5c(0x403)]=null);}[_0xe5cf50(0x3be)](_0x977a74){var _0x5e6181=_0xe5cf50;if(!this[_0x5e6181(0x469)])return;const {data:_0x34e1af}=_0x977a74,{unitID:_0x4de594,changeset:_0xb4bcd6}=_0x34e1af,{mutations:_0x53b33f,type:_0x53c1f2}=_0xb4bcd6;this[_0x5e6181(0x2c8)]={'unitId':_0x4de594,'type':_0x53c1f2,'startTime':performance[_0x5e6181(0x48b)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x53b33f)};}[_0xe5cf50(0x2cc)](){var _0x16ba4e=_0xe5cf50;if(this[_0x16ba4e(0x469)]){if(!this[_0x16ba4e(0x2c8)]){this[_0x16ba4e(0x32c)][_0x16ba4e(0x21e)]('[CollaborationSession]',_0x16ba4e(0x2b6));return;}this['_telemetryInfo'][_0x16ba4e(0x226)]=performance['now'](),this[_0x16ba4e(0x2c8)]['duration']=this[_0x16ba4e(0x2c8)][_0x16ba4e(0x226)]-this[_0x16ba4e(0x2c8)]['startTime'],this[_0x16ba4e(0x3e5)][_0x16ba4e(0x42a)](Vn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0xe5cf50(0x3d9)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x4597d7),me(0x3,_0x22ebb9),me(0x4,_0x1d51a6(_0x3e1840)),me(0x5,_0x1d51a6(xe)),me(0x6,_0x1d51a6(Ri)),me(0x7,_0x1d51a6(pe)),me(0x8,_0x32cef0(_0x4fdfa4))],It);var Zn=Object[_0xe5cf50(0x4a7)],Qn=Object[_0xe5cf50(0x324)],er=(_0x5d7183,_0x1ece71,_0x16e395,_0x2c2681)=>{for(var _0x435709=_0x2c2681>0x1?void 0x0:_0x2c2681?Qn(_0x1ece71,_0x16e395):_0x1ece71,_0x3da92a=_0x5d7183['length']-0x1,_0x2ec8f7;_0x3da92a>=0x0;_0x3da92a--)(_0x2ec8f7=_0x5d7183[_0x3da92a])&&(_0x435709=(_0x2c2681?_0x2ec8f7(_0x1ece71,_0x16e395,_0x435709):_0x2ec8f7(_0x435709))||_0x435709);return _0x2c2681&&_0x435709&&Zn(_0x1ece71,_0x16e395,_0x435709),_0x435709;},ge=(_0x17775d,_0x2ab3db)=>(_0x297384,_0x47cccc)=>_0x2ab3db(_0x297384,_0x47cccc,_0x17775d);let Le=class extends _0x15bb7e{constructor(_0x672319,_0x40d27c,_0x5ca89b,_0x20cd58,_0x1bc462,_0x59a341,_0x5787fe){var _0xbe3d2e=_0xe5cf50;super(),N(this,'_socket$',new _0xd2a8b4(void 0x0)),N(this,'socket$',this['_socket$']['asObservable']()),N(this,_0xbe3d2e(0x43b),null),N(this,_0xbe3d2e(0x407),new Map()),N(this,_0xbe3d2e(0x48f),new _0xd2a8b4(Te[_0xbe3d2e(0x1d4)])),N(this,_0xbe3d2e(0x2c2),this[_0xbe3d2e(0x48f)][_0xbe3d2e(0x1f9)]()),N(this,_0xbe3d2e(0x2a9),!0x1),N(this,_0xbe3d2e(0x385)),N(this,_0xbe3d2e(0x1f0),0x0),N(this,_0xbe3d2e(0x36d)),N(this,_0xbe3d2e(0x42b)),(this[_0xbe3d2e(0x49d)]=_0x672319,this[_0xbe3d2e(0x32c)]=_0x40d27c,this[_0xbe3d2e(0x3ae)]=_0x5ca89b,this[_0xbe3d2e(0x41f)]=_0x20cd58,this[_0xbe3d2e(0x36e)]=_0x1bc462,this[_0xbe3d2e(0x29a)]=_0x59a341,this[_0xbe3d2e(0x31e)]=_0x5787fe,this[_0xbe3d2e(0x3e4)]());}get['_socket'](){var _0x5d9ad4=_0xe5cf50;return this[_0x5d9ad4(0x330)]['getValue']();}[_0xe5cf50(0x3e4)](){var _0x4b4677=_0xe5cf50;this[_0x4b4677(0x31e)]&&this['disposeWithMe'](this[_0x4b4677(0x31e)][_0x4b4677(0x285)][_0x4b4677(0x1e9)](_0x1c9aef=>{var _0x104e06=_0x4b4677;_0x1c9aef&&!this[_0x104e06(0x408)]&&this[_0x104e06(0x1cb)](),_0x1c9aef||this['_onOffline']();}));}[_0xe5cf50(0x410)](){var _0x49dd31=_0xe5cf50;super[_0x49dd31(0x410)](),this['_sessions'][_0x49dd31(0x21a)](_0x3666ab=>_0x3666ab['dispose']()),this[_0x49dd31(0x407)][_0x49dd31(0x314)](),this[_0x49dd31(0x48f)][_0x49dd31(0x3a2)]();}async['requireSession'](_0xf9eebc){var _0xc87c4f=_0xe5cf50;if(this[_0xc87c4f(0x407)]['has'](_0xf9eebc))return this[_0xc87c4f(0x407)][_0xc87c4f(0x442)](_0xf9eebc);this['_tryEnsureSocket']();const _0x3b9daa=this[_0xc87c4f(0x49d)][_0xc87c4f(0x3c4)](It,_0xf9eebc,this[_0xc87c4f(0x330)][_0xc87c4f(0x1f9)]());return this[_0xc87c4f(0x407)][_0xc87c4f(0x458)](_0xf9eebc,_0x3b9daa),_0x3b9daa;}[_0xe5cf50(0x212)](_0x10f6ba){var _0x462b78=_0xe5cf50,_0x17a394;const _0x21a006=this[_0x462b78(0x407)][_0x462b78(0x442)](_0x10f6ba);_0x21a006&&(this[_0x462b78(0x407)][_0x462b78(0x494)](_0x10f6ba),_0x21a006[_0x462b78(0x234)]()),this['_sessions'][_0x462b78(0x268)]||(_0x17a394=this[_0x462b78(0x408)])==null||_0x17a394[_0x462b78(0x234)]();}['reconnect'](){var _0x4c7a0c=_0xe5cf50;this[_0x4c7a0c(0x1f0)]=0x0,this[_0x4c7a0c(0x385)]!=null&&(clearTimeout(this[_0x4c7a0c(0x385)]),this['_retryConnectingTimer']=null),this[_0x4c7a0c(0x25d)]();}async['_getSessionTicket'](){var _0x23ecde=_0xe5cf50,_0x5045e4,_0x359d62,_0x302442;const _0xd216d4=this[_0x23ecde(0x3ae)][_0x23ecde(0x2ae)](q),_0x486ef1=(_0x5045e4=_0xd216d4==null?void 0x0:_0xd216d4[_0x23ecde(0x383)])!=null?_0x5045e4:On;return(_0x302442=(_0x359d62=(await this[_0x23ecde(0x36e)]['get'](_0x486ef1,{'headers':{'Content-Type':_0x23ecde(0x3ba)}}))[_0x23ecde(0x2f7)])==null?void 0x0:_0x359d62[_0x23ecde(0x1d7)])!=null?_0x302442:'';}[_0xe5cf50(0x478)](_0x30fa11){var _0x41d85c=_0xe5cf50,_0x3a14e9,_0x55cfd7;const _0x37d884=this[_0x41d85c(0x3ae)][_0x41d85c(0x2ae)](Rn),_0x2ae0eb=this[_0x41d85c(0x3ae)]['getConfig'](q),_0x1b110c=(_0x55cfd7=(_0x3a14e9=_0x2ae0eb==null?void 0x0:_0x2ae0eb[_0x41d85c(0x34b)])!=null?_0x3a14e9:_0x37d884)!=null?_0x55cfd7:bn,_0x47b0ca=typeof window>'u'?new URL(_0x1b110c):new URL(_0x1b110c,window[_0x41d85c(0x3f5)][_0x41d85c(0x44f)]);_0x47b0ca[_0x41d85c(0x3d1)][_0x41d85c(0x458)](_0x41d85c(0x404),_0x30fa11);const _0xfee55f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0xfee55f[_0x41d85c(0x442)]('runId')&&_0x47b0ca[_0x41d85c(0x3d1)]['set'](_0x41d85c(0x27e),_0xfee55f[_0x41d85c(0x442)](_0x41d85c(0x27e))),_0x47b0ca[_0x41d85c(0x1c1)]();}async['_createSocket'](){var _0x1fd2fd=_0xe5cf50;const _0x154cf1=await this[_0x1fd2fd(0x1dc)](),_0x1a716b=this[_0x1fd2fd(0x478)](_0x154cf1),_0x5b95e5=this['_socketService'][_0x1fd2fd(0x31d)](_0x1a716b);return this[_0x1fd2fd(0x43b)]=_0x5b95e5,_0x5b95e5;}async[_0xe5cf50(0x2b9)](){var _0x14e33c=_0xe5cf50,_0x3d5573,_0x4c89f1;try{const _0x2bf63b=(_0x4c89f1=(_0x3d5573=this[_0x14e33c(0x408)])!=null?_0x3d5573:this[_0x14e33c(0x43b)])!=null?_0x4c89f1:await this['_createSocket']();if(_0x2bf63b){const _0x69a073=_0x2bf63b[_0x14e33c(0x484)];_0x2bf63b['send']=_0x3322b6=>(this[_0x14e33c(0x43a)](),_0x69a073[_0x14e33c(0x1e5)](_0x2bf63b,[_0x3322b6])),_0x2bf63b[_0x14e33c(0x357)][_0x14e33c(0x1e9)](_0x12376d=>this[_0x14e33c(0x405)](_0x2bf63b,_0x12376d)),_0x2bf63b[_0x14e33c(0x37c)][_0x14e33c(0x34d)](_0x54a384(0x1))['subscribe'](_0xa4f4fc=>this[_0x14e33c(0x32c)][_0x14e33c(0x21e)](_0x14e33c(0x205),_0xa4f4fc)),_0x2bf63b[_0x14e33c(0x2a8)][_0x14e33c(0x34d)](_0x54a384(0x1))[_0x14e33c(0x1e9)](()=>{var _0x2a0749=_0x14e33c;this[_0x2a0749(0x499)](_0x2bf63b);}),_0x2bf63b[_0x14e33c(0x388)]['pipe'](_0x54a384(0x1))[_0x14e33c(0x1e9)](_0x58d481=>{var _0xf84930=_0x14e33c;this['_logService'][_0xf84930(0x340)]('[CollaborationSessionService]',_0xf84930(0x2de),_0x58d481),this[_0xf84930(0x2d9)]();});}}catch(_0x5873c0){this['_logService'][_0x14e33c(0x21e)](_0x5873c0),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x71643a){var _0x4788f9=_0xe5cf50;this['_logService']['debug'](_0x4788f9(0x2c5),'socket\x20open.'),_0x71643a[_0x4788f9(0x484)]({'cmd':F[_0x4788f9(0x45c)]}),this['_rescheduleHeartbeat']();}[_0xe5cf50(0x377)](){var _0x303aa7=_0xe5cf50;this[_0x303aa7(0x2a9)]=!0x1,this['_candidateSocket']=null,this[_0x303aa7(0x48f)][_0x303aa7(0x1dd)](Te['OFFLINE']),this[_0x303aa7(0x330)]['next'](null),this['_clearTimeoutTimer'](),this[_0x303aa7(0x279)]();}['_onConnectionFailed'](){var _0x5e3b29=_0xe5cf50,_0x1d4493;this['_onOffline'](),this[_0x5e3b29(0x1f0)]<((_0x1d4493=this[_0x5e3b29(0x3ae)]['getConfig'](Pn))!=null?_0x1d4493:wn)?(this[_0x5e3b29(0x29a)][_0x5e3b29(0x4ae)]({'id':se['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x5e3b29(0x29a)][_0x5e3b29(0x4ae)]({'id':se[_0x5e3b29(0x483)]});}['_tryReconnect'](){var _0x41db82=_0xe5cf50,_0x49d1ec;const _0xa244b=this[_0x41db82(0x1f0)],_0x3d9bf2=this[_0x41db82(0x3ae)]['getConfig'](q),_0x3d2d07=_0xa244b===0x0?0x0:((_0x49d1ec=_0x3d9bf2==null?void 0x0:_0x3d9bf2[_0x41db82(0x335)])!=null?_0x49d1ec:Dn)*0x2**_0xa244b;this[_0x41db82(0x385)]=setTimeout(()=>{var _0x445b13=_0x41db82;clearTimeout(this[_0x445b13(0x385)]),this[_0x445b13(0x385)]=null,this[_0x445b13(0x2b9)]();},_0x3d2d07),this[_0x41db82(0x1f0)]+=0x1;}[_0xe5cf50(0x405)](_0x23eb9c,_0x372e99){var _0x4f8896=_0xe5cf50;const {cmd:_0x2fe263}=_0x372e99;_0x2fe263===F[_0x4f8896(0x45c)]&&!this[_0x4f8896(0x2a9)]&&(_0x23eb9c['memberID']=_0x372e99[_0x4f8896(0x1d5)][_0x4f8896(0x45d)],this['_socket$'][_0x4f8896(0x1dd)](_0x23eb9c),this[_0x4f8896(0x48f)]['next'](Te[_0x4f8896(0x292)]),this['_socketReady']=!0x0,this[_0x4f8896(0x43b)]=null),_0x2fe263===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x4f8896(0x43a)]();}[_0xe5cf50(0x43a)](){var _0x514270=_0xe5cf50,_0x14552d;this[_0x514270(0x279)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x514270(0x434)](),(_0x14552d=this[_0x514270(0x3ae)][_0x514270(0x2ae)](yn))!=null?_0x14552d:Nn);}[_0xe5cf50(0x434)](){var _0x2239ca=_0xe5cf50;this[_0x2239ca(0x408)][_0x2239ca(0x484)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0xe5cf50(0x453)](){var _0xdfb6cc=_0xe5cf50,_0x1ccbe5;this[_0xdfb6cc(0x42b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1ccbe5=this['_configService'][_0xdfb6cc(0x2ae)](Si))!=null?_0x1ccbe5:Ei);}[_0xe5cf50(0x279)](){var _0x19d1da=_0xe5cf50;this[_0x19d1da(0x36d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x19d1da(0x36d)]=null);}[_0xe5cf50(0x201)](){var _0x15c5a9=_0xe5cf50;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x15c5a9(0x42b)]=null);}};Le=er([ge(0x0,_0x1d51a6(_0x1edb1c)),ge(0x1,_0x4597d7),ge(0x2,_0x22ebb9),ge(0x3,Ci),ge(0x4,_0x1d51a6(_0x2e5962)),ge(0x5,_0x1d51a6(pe)),ge(0x6,_0x32cef0(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0xe5cf50(0x1c1)](0x10)[_0xe5cf50(0x3aa)](0x1));function tr(_0x1ca513,_0x439264=0x0){var _0x4778bd=_0xe5cf50;return(V[_0x1ca513[_0x439264+0x0]]+V[_0x1ca513[_0x439264+0x1]]+V[_0x1ca513[_0x439264+0x2]]+V[_0x1ca513[_0x439264+0x3]]+'-'+V[_0x1ca513[_0x439264+0x4]]+V[_0x1ca513[_0x439264+0x5]]+'-'+V[_0x1ca513[_0x439264+0x6]]+V[_0x1ca513[_0x439264+0x7]]+'-'+V[_0x1ca513[_0x439264+0x8]]+V[_0x1ca513[_0x439264+0x9]]+'-'+V[_0x1ca513[_0x439264+0xa]]+V[_0x1ca513[_0x439264+0xb]]+V[_0x1ca513[_0x439264+0xc]]+V[_0x1ca513[_0x439264+0xd]]+V[_0x1ca513[_0x439264+0xe]]+V[_0x1ca513[_0x439264+0xf]])[_0x4778bd(0x302)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x531e2f=_0xe5cf50;if(!ut){if(typeof crypto>'u'||!crypto[_0x531e2f(0x331)])throw new Error(_0x531e2f(0x31a));ut=crypto[_0x531e2f(0x331)][_0x531e2f(0x261)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xe5cf50(0x280)][_0xe5cf50(0x261)](crypto),qt={'randomUUID':rr};function sr(_0x3d9420,_0x5636cd,_0x24bcb0){var _0x43e0ef=_0xe5cf50,_0x42b2a4,_0x3c0a3b,_0x133b97;if(qt[_0x43e0ef(0x280)]&&!_0x3d9420)return qt[_0x43e0ef(0x280)]();_0x3d9420=_0x3d9420||{};const _0x5d8a22=(_0x133b97=(_0x3c0a3b=_0x3d9420[_0x43e0ef(0x1c2)])!=null?_0x3c0a3b:(_0x42b2a4=_0x3d9420[_0x43e0ef(0x38f)])==null?void 0x0:_0x42b2a4[_0x43e0ef(0x20b)](_0x3d9420))!=null?_0x133b97:nr();if(_0x5d8a22['length']<0x10)throw new Error(_0x43e0ef(0x2db));return _0x5d8a22[0x6]=_0x5d8a22[0x6]&0xf|0x40,_0x5d8a22[0x8]=_0x5d8a22[0x8]&0x3f|0x80,tr(_0x5d8a22);}const J=_0x1b7aa9(_0xe5cf50(0x2a7));function so(_0x193e61){var _0x254578=_0xe5cf50;return _0x254578(0x3c8)+_0x193e61;}var or=Object[_0xe5cf50(0x4a7)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x1ce8cf,_0xb91049,_0x4ac19b,_0xd96c2c)=>{var _0x251cbb=_0xe5cf50;for(var _0x57f78f=_0xd96c2c>0x1?void 0x0:_0xd96c2c?ar(_0xb91049,_0x4ac19b):_0xb91049,_0x5930ad=_0x1ce8cf[_0x251cbb(0x2da)]-0x1,_0x3add46;_0x5930ad>=0x0;_0x5930ad--)(_0x3add46=_0x1ce8cf[_0x5930ad])&&(_0x57f78f=(_0xd96c2c?_0x3add46(_0xb91049,_0x4ac19b,_0x57f78f):_0x3add46(_0x57f78f))||_0x57f78f);return _0xd96c2c&&_0x57f78f&&or(_0xb91049,_0x4ac19b,_0x57f78f),_0x57f78f;},dt=(_0x4e5a03,_0x131aae)=>(_0x4024d3,_0x5de9fe)=>_0x131aae(_0x4024d3,_0x5de9fe,_0x4e5a03);function hr(_0x310aa0){var _0x88c3b3=_0xe5cf50;const {unitID:_0x5729c2,mutations:_0x3e915b}=_0x310aa0;return{'unitId':_0x5729c2,'subUnitId':_0x3e915b[0x0][_0x88c3b3(0x365)][_0x88c3b3(0x26b)]};}let it=class{constructor(_0x2b78db,_0xc0fa3e,_0x107768){var _0x25da98=_0xe5cf50;this[_0x25da98(0x49d)]=_0x2b78db,this[_0x25da98(0x3a3)]=_0xc0fa3e,this[_0x25da98(0x209)]=_0x107768;}[_0xe5cf50(0x321)](_0x49187a){var _0x4e4ba2=_0xe5cf50,_0x18a888,_0x57c5bd,_0x3b036d,_0x4f8d55;const _0x292fb8=this[_0x4e4ba2(0x49d)][_0x4e4ba2(0x442)](_0x3ccb14),{unitId:_0x27dfac,subUnitId:_0x4b04d3}=hr(_0x49187a),_0x49fa24=_0x292fb8==null?void 0x0:_0x292fb8[_0x4e4ba2(0x3b1)](_0x27dfac)['getCurrentSelections'](),_0x35a63f=(_0x57c5bd=(_0x18a888=this[_0x4e4ba2(0x209)][_0x4e4ba2(0x1b6)](_0x27dfac))==null?void 0x0:_0x18a888[_0x4e4ba2(0x2b4)]())==null?void 0x0:_0x57c5bd[_0x4e4ba2(0x47f)]();if(_0x49fa24[_0x4e4ba2(0x2da)]===0x0||!_0x27dfac||!_0x4b04d3)return;const _0x1840a4=[{'id':_0x44f79c['id'],'params':{'unitId':_0x27dfac,'subUnitId':_0x35a63f,'selections':_0x338369[_0x4e4ba2(0x3a9)](_0x49fa24)}}],_0x4285ae=this[_0x4e4ba2(0x3a3)][_0x4e4ba2(0x3b0)](_0x49187a,_0x1840a4);if(!_0x4ab4da(_0x4285ae))throw _0x4285ae[_0x4e4ba2(0x21e)];const _0x28a1ab=(_0x4f8d55=(_0x3b036d=_0x4285ae['m2Prime'][0x0])==null?void 0x0:_0x3b036d[_0x4e4ba2(0x365)])==null?void 0x0:_0x4f8d55['selections'];if(Array['isArray'](_0x28a1ab)&&_0x28a1ab[_0x4e4ba2(0x2da)]){if(_0x28a1ab[_0x4e4ba2(0x2da)]===_0x1840a4[0x0][_0x4e4ba2(0x365)]['selections'][_0x4e4ba2(0x2da)]&&_0x28a1ab['every']((_0x2e7cf4,_0x5f1484)=>_0x1362d2[_0x4e4ba2(0x2a4)](_0x2e7cf4[_0x4e4ba2(0x24d)],_0x1840a4[0x0][_0x4e4ba2(0x365)]['selections'][_0x5f1484]['range'])))return;this[_0x4e4ba2(0x49d)][_0x4e4ba2(0x442)](_0x40e4b8)[_0x4e4ba2(0x3cd)](_0x44f79c['id'],{'unitId':_0x27dfac,'subUnitId':_0x35a63f,'selections':_0x28a1ab});}}};it=cr([dt(0x0,_0x1d51a6(_0x1edb1c)),dt(0x1,_0x45bd1b),dt(0x2,_0x25173e)],it);const ht=_0x1b7aa9(_0xe5cf50(0x334));var bi=(_0x51c6a2=>(_0x51c6a2[_0x51c6a2[_0xe5cf50(0x273)]=0x0]=_0xe5cf50(0x273),_0x51c6a2[_0x51c6a2[_0xe5cf50(0x3ef)]=0x1]=_0xe5cf50(0x3ef),_0x51c6a2))(bi||{});const _r=new Set([_0x5b33a5['id']]);function zt(_0x3ccb8,_0x25cbbf,_0x1bf5c6,_0x52e2c6,_0x57a9c4){var _0x303532=_0xe5cf50,_0x27bce4,_0x4527b6,_0x1fe2f2,_0x157446;const _0x454a47=[];for(const _0x4316bf of _0x3ccb8)if(_r['has'](_0x4316bf['id'])){if(_0x454a47[_0x303532(0x2da)]>0x0)break;_0x454a47[_0x303532(0x430)](_0x4316bf);break;}else _0x454a47[_0x303532(0x430)](_0x4316bf);const _0x21fc43=(_0x4527b6=(_0x27bce4=_0x57a9c4[_0x303532(0x1d3)]())==null?void 0x0:_0x27bce4[_0x303532(0x452)])!=null?_0x4527b6:_0x303532(0x3f8),_0x57ea9c=(_0x157446=(_0x1fe2f2=_0x57a9c4[_0x303532(0x1d3)]())==null?void 0x0:_0x1fe2f2['memberID'])!=null?_0x157446:'unknown';return{'changeset':{'unitID':_0x25cbbf,'type':_0x10416f(_0x1bf5c6[_0x303532(0x477)](_0x25cbbf)),'baseRev':_0x52e2c6['getCurrentRevOfUnit'](_0x25cbbf),'revision':0x0,'userID':_0x21fc43,'memberID':_0x57ea9c,'mutations':_0x454a47},'pendingMutations':_0x3ccb8[_0x303532(0x3aa)](_0x454a47[_0x303532(0x2da)])};}function lr(_0x28f055,_0x28ef6d,_0x223cc6,_0x5e0596,_0x59cac2){var _0x5ace16=_0xe5cf50,_0x3b27ef,_0xd322d,_0x544b1c,_0x30ec6d;const _0x55424e=[_0x28f055['reduce']((_0x183f46,_0x25fcd3)=>{var _0x399f84=_0x6808,_0xbd65cf;const {id:_0x1590ae}=_0x183f46,{id:_0x3bd87d,type:_0x495db3}=_0x25fcd3,_0x296cbb=(_0xbd65cf=_0x183f46[_0x399f84(0x365)])!=null?_0xbd65cf:{'actions':null},_0x22c12f=_0x25fcd3[_0x399f84(0x365)];if(_0x1590ae&&_0x1590ae!==_0x3bd87d)throw new Error(_0x399f84(0x36b)+_0x1590ae+_0x399f84(0x1e8)+_0x3bd87d+'.');return{..._0x183f46,'id':_0x3bd87d,'type':_0x495db3,'params':{'unitId':_0x22c12f[_0x399f84(0x358)],'textRanges':_0x22c12f[_0x399f84(0x413)],'actions':_0x325cc3['compose'](_0x296cbb[_0x399f84(0x2ea)],_0x22c12f[_0x399f84(0x2ea)])}};},{})],_0x4b5880=(_0xd322d=(_0x3b27ef=_0x59cac2['getCurrentUser']())==null?void 0x0:_0x3b27ef[_0x5ace16(0x452)])!=null?_0xd322d:'unknown',_0xcc539f=(_0x30ec6d=(_0x544b1c=_0x59cac2['getCurrentUser']())==null?void 0x0:_0x544b1c[_0x5ace16(0x45d)])!=null?_0x30ec6d:_0x5ace16(0x3f8);return{'changeset':{'unitID':_0x28ef6d,'type':_0x10416f(_0x223cc6[_0x5ace16(0x477)](_0x28ef6d)),'baseRev':_0x5e0596['getCurrentRevOfUnit'](_0x28ef6d),'revision':0x0,'userID':_0x4b5880,'memberID':_0xcc539f,'mutations':_0x55424e},'pendingMutations':[]};}function Oi(_0x4b049d,_0x518fd7){var _0x4e130a=_0xe5cf50;const _0x4c068b=new _0x515433(0x1);return setTimeout(()=>_0x4c068b[_0x4e130a(0x1dd)](_0x518fd7),_0x4b049d),_0x4c068b[_0x4e130a(0x1f9)]()[_0x4e130a(0x34d)](_0x49d364(0x1));}const ur={'id':_0x30a27c['id'],'type':_0x7679c4[_0xe5cf50(0x288)],'params':{}};var dr=Object[_0xe5cf50(0x4a7)],fr=Object[_0xe5cf50(0x324)],Re=(_0x52a90a,_0x36ce2a,_0x49f2af,_0x5e43b0)=>{var _0x506c33=_0xe5cf50;for(var _0x35feba=_0x5e43b0>0x1?void 0x0:_0x5e43b0?fr(_0x36ce2a,_0x49f2af):_0x36ce2a,_0x5edefd=_0x52a90a[_0x506c33(0x2da)]-0x1,_0x2992e4;_0x5edefd>=0x0;_0x5edefd--)(_0x2992e4=_0x52a90a[_0x5edefd])&&(_0x35feba=(_0x5e43b0?_0x2992e4(_0x36ce2a,_0x49f2af,_0x35feba):_0x2992e4(_0x35feba))||_0x35feba);return _0x5e43b0&&_0x35feba&&dr(_0x36ce2a,_0x49f2af,_0x35feba),_0x35feba;},A=(_0x1d1917,_0xa8387b)=>(_0x466423,_0x52767e)=>_0xa8387b(_0x466423,_0x52767e,_0x1d1917),yi=(_0x112a26=>(_0x112a26['NOT_COLLAB']=_0xe5cf50(0x219),_0x112a26['SYNCED']=_0xe5cf50(0x2f5),_0x112a26['PENDING']=_0xe5cf50(0x26e),_0x112a26[_0xe5cf50(0x479)]='awaiting',_0x112a26[_0xe5cf50(0x46d)]=_0xe5cf50(0x4ab),_0x112a26[_0xe5cf50(0x277)]=_0xe5cf50(0x22a),_0x112a26[_0xe5cf50(0x2f6)]=_0xe5cf50(0x446),_0x112a26[_0xe5cf50(0x2f2)]=_0xe5cf50(0x1b3),_0x112a26))(yi||{});const Ni=0xea60;class be{constructor(_0x4b6ce2,_0x24ee09,_0x21072b,_0x46d1af,_0x51d63d,_0x359048,_0x80fefa,_0x1e3b59,_0x252f82){var _0x301a54=_0xe5cf50;N(this,_0x301a54(0x360),null),N(this,_0x301a54(0x276),[]),(this[_0x301a54(0x45f)]=_0x4b6ce2,this['type']=_0x24ee09,this['_handler']=_0x51d63d,this['_commandService']=_0x359048,this['_undoRedoService']=_0x80fefa,this[_0x301a54(0x3fa)]=_0x1e3b59,this['_localCacheService']=_0x252f82,this[_0x301a54(0x360)]=_0x21072b,this[_0x301a54(0x276)]=_0x46d1af);}[_0xe5cf50(0x36f)](_0x42ecfa){var _0x50e56d=_0xe5cf50;const _0x1c650a=this[_0x50e56d(0x3fa)][_0x50e56d(0x2c6)](this['unitID']);return _0x42ecfa[_0x50e56d(0x2d4)]>_0x1c650a+0x1?(this['_handler'][_0x50e56d(0x399)]({'from':_0x1c650a,'to':_0x42ecfa['revision']-0x1}),!0x0):!0x1;}[_0xe5cf50(0x1cd)](_0x261eb3){var _0x264089=_0xe5cf50;this[_0x264089(0x284)][_0x264089(0x269)](this[_0x264089(0x45f)],_0x261eb3);}['_transformSelections'](_0x4472e2){var _0x50cb3b=_0xe5cf50,_0x414221,_0x2dbbc8;(_0x2dbbc8=(_0x414221=this[_0x50cb3b(0x3c0)])[_0x50cb3b(0x1bb)])==null||_0x2dbbc8[_0x50cb3b(0x20b)](_0x414221,_0x4472e2);}[_0xe5cf50(0x48c)](_0x3ea0a9){var _0x36ce32=_0xe5cf50,_0x22062e,_0x1a7707;return(_0x1a7707=(_0x22062e=this[_0x36ce32(0x3c0)])[_0x36ce32(0x2f9)])==null?void 0x0:_0x1a7707[_0x36ce32(0x20b)](_0x22062e,_0x3ea0a9);}[_0xe5cf50(0x441)](_0x3aa4e9){var _0x43cec7=_0xe5cf50,_0x11a065,_0x48ecdb;return(_0x48ecdb=(_0x11a065=this[_0x43cec7(0x3c0)])['onTransformState'])==null?void 0x0:_0x48ecdb['call'](_0x11a065,_0x3aa4e9);}[_0xe5cf50(0x206)](_0x1f9a5c){var _0x513eb5=_0xe5cf50,_0x145e56,_0x3e4653,_0xe52a5;return(_0xe52a5=(_0x3e4653=(_0x145e56=this[_0x513eb5(0x3c0)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3e4653[_0x513eb5(0x20b)](_0x145e56,_0x1f9a5c))!=null?_0xe52a5:_0x1f9a5c;}['_transformRemoteChangesetByStateCache'](_0x54711d){var _0x42b03f=_0xe5cf50,_0x37c991,_0x52dff6,_0xf8a61a;return(_0xf8a61a=(_0x52dff6=(_0x37c991=this[_0x42b03f(0x3c0)])[_0x42b03f(0x470)])==null?void 0x0:_0x52dff6[_0x42b03f(0x20b)](_0x37c991,_0x54711d))!=null?_0xf8a61a:_0x54711d;}['_syncEditingCollabCursor'](_0x485de9){var _0x2ea716=_0xe5cf50,_0x5cbe96,_0x150af9;if(this[_0x2ea716(0x33d)]===Q[_0x2ea716(0x2cf)]){const {unitID:_0x185375,mutations:_0x13b860,memberID:_0x219f18}=_0x485de9,_0x21a018=_0x13b860[0x0][_0x2ea716(0x365)][_0x2ea716(0x413)];Array['isArray'](_0x21a018)&&_0x21a018[_0x2ea716(0x2da)]>0x0&&((_0x150af9=(_0x5cbe96=this[_0x2ea716(0x3c0)])[_0x2ea716(0x38d)])==null||_0x150af9['call'](_0x5cbe96,{'unitID':_0x185375,'memberID':_0x219f18,'textRanges':_0x21a018}));}}['_updateLocalCache'](){var _0x29a2e7=_0xe5cf50,_0xae4ffd;(_0xae4ffd=this[_0x29a2e7(0x225)])==null||_0xae4ffd[_0x29a2e7(0x1fe)](this[_0x29a2e7(0x45f)],this[_0x29a2e7(0x33d)],this[_0x29a2e7(0x360)],this[_0x29a2e7(0x276)]);}[_0xe5cf50(0x1fb)](){var _0xe6d7fd=_0xe5cf50;return this['_revisionService'][_0xe6d7fd(0x2c6)](this[_0xe6d7fd(0x45f)]);}[_0xe5cf50(0x26d)](){var _0x145327=_0xe5cf50;this['_revisionService'][_0x145327(0x272)](this[_0x145327(0x45f)]);}[_0xe5cf50(0x415)](_0x425d60){var _0x3561d8=_0xe5cf50,_0x3b848c;let _0x1d4703=this[_0x3561d8(0x206)](_0x425d60);_0x1d4703=this['_transformRemoteChangesetByStateCache'](_0x1d4703);const _0x49a51d=_0x9fe256(_0x1d4703[_0x3561d8(0x306)],this[_0x3561d8(0x1f5)],{'fromCollab':!0x0});if(!_0x49a51d[_0x3561d8(0x417)])throw _0x49a51d[_0x3561d8(0x21e)]instanceof Error?_0x49a51d[_0x3561d8(0x21e)]:new Error((_0x3b848c=_0x49a51d[_0x3561d8(0x21e)])!=null?_0x3b848c:_0x3561d8(0x43d));this['_transformIMECache'](_0x1d4703),this[_0x3561d8(0x441)](_0x1d4703),this['_transformUndoredo'](_0x425d60),this[_0x3561d8(0x33b)](_0x1d4703),this[_0x3561d8(0x23c)](_0x1d4703),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x5e8edb,_0x139fc6,_0x4a621f,_0x54a5c7,_0xdf7d,_0x13e376,_0x2d1aea,_0xad8235,_0x174b4e,_0x5a38ce){var _0x26d589=_0xe5cf50;super(_0x5e8edb,_0x139fc6,null,[],_0x4a621f,_0x2d1aea,_0x13e376,_0x54a5c7,_0x5a38ce),N(this,_0x26d589(0x3fb),_0x26d589(0x2f5)),(this[_0x26d589(0x49d)]=_0xdf7d,this['_logService']=_0xad8235,this[_0x26d589(0x3a3)]=_0x174b4e,this[_0x26d589(0x207)]=_0x5a38ce);}[_0xe5cf50(0x471)](_0x2d3b9e){var _0x8557e3=_0xe5cf50;const _0x2191dd=this[_0x8557e3(0x49d)]['createInstance'](oe,this['unitID'],this['type'],[_0x2d3b9e],this[_0x8557e3(0x3c0)]);return _0x2191dd[_0x8557e3(0x4a3)](),_0x2191dd[_0x8557e3(0x49c)](),_0x2191dd;}[_0xe5cf50(0x23f)](_0x237ecc){var _0x20c94=_0xe5cf50;if(this[_0x20c94(0x36f)](_0x237ecc))return this['_injector'][_0x20c94(0x3c4)](te,this[_0x20c94(0x45f)],this[_0x20c94(0x33d)],null,[],null,[_0x237ecc],this[_0x20c94(0x3c0)]);try{const _0x3a8720=this[_0x20c94(0x3a3)][_0x20c94(0x3b0)](_0x237ecc,[ur]);if(_0x4ab4da(_0x3a8720)){const {c1Prime:_0x13dcb8}=_0x3a8720;return this[_0x20c94(0x415)](_0x13dcb8),this;}throw _0x3a8720[_0x20c94(0x21e)];}catch(_0x541aa9){return this[_0x20c94(0x32c)][_0x20c94(0x21e)](_0x541aa9),this[_0x20c94(0x425)](!0x1);}}[_0xe5cf50(0x425)](_0x34e39e){var _0x23f3db=_0xe5cf50;return this[_0x23f3db(0x49d)][_0x23f3db(0x3c4)](de,this[_0x23f3db(0x45f)],this[_0x23f3db(0x33d)],null,[],this[_0x23f3db(0x3c0)],_0x34e39e);}[_0xe5cf50(0x278)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xe5cf50(0x4a8)](){return this;}['toggleOffline'](){var _0x36be70=_0xe5cf50;return this['_injector'][_0x36be70(0x3c4)](fe,this['unitID'],this[_0x36be70(0x33d)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe5cf50(0x221)](){var _0x5df1ad=_0xe5cf50;throw new Error(_0x5df1ad(0x2a2));}[_0xe5cf50(0x2ce)](){var _0x4015a2=_0xe5cf50;const _0x29a6ba=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4015a2(0x3c0)][_0x4015a2(0x399)]({'from':_0x29a6ba,'to':0x0}),this[_0x4015a2(0x49d)][_0x4015a2(0x3c4)](te,this[_0x4015a2(0x45f)],this[_0x4015a2(0x33d)],null,[],null,[],this[_0x4015a2(0x3c0)]);}};De=Re([A(0x3,_0x1d51a6(_0x3410cd)),A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x512149),A(0x6,_0x40e4b8),A(0x7,_0x4597d7),A(0x8,_0x45bd1b),A(0x9,_0x32cef0(J))],De);let oe=class extends be{constructor(_0x29a1dc,_0xa57967,_0x362a8c,_0x379f36,_0x499b73,_0x2ac012,_0x51cb3d,_0x1ad08b,_0x1c8d0a,_0x4d41e5,_0x206584,_0x645d23,_0x5d9e66,_0x272f5e){var _0x20dede=_0xe5cf50;super(_0x29a1dc,_0xa57967,null,_0x362a8c,_0x379f36,_0x1c8d0a,_0x5d9e66,_0x2ac012,_0x272f5e),N(this,_0x20dede(0x3fb),_0x20dede(0x26e)),N(this,_0x20dede(0x447),null),N(this,_0x20dede(0x319),null),(this[_0x20dede(0x49d)]=_0x499b73,this[_0x20dede(0x336)]=_0x51cb3d,this[_0x20dede(0x32c)]=_0x1ad08b,this[_0x20dede(0x3ae)]=_0x4d41e5,this[_0x20dede(0x3a3)]=_0x206584,this['_univerInstanceService']=_0x645d23);}['appendMutation'](_0x3415a9){var _0x28dbfb=_0xe5cf50;return this[_0x28dbfb(0x276)]['push'](_0x3415a9),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x49fd96){var _0x18622f=_0xe5cf50;if(this['_checkMissing'](_0x49fd96))return this[_0x18622f(0x282)](),this[_0x18622f(0x49d)][_0x18622f(0x3c4)](te,this[_0x18622f(0x45f)],this[_0x18622f(0x33d)],null,this[_0x18622f(0x276)],null,[_0x49fd96],this['_handler']);try{const _0x5e0944=this[_0x18622f(0x3a3)]['transformMutationsWithChangeset'](_0x49fd96,this['_pendingMutations']);if(_0x4ab4da(_0x5e0944)){const {c1Prime:_0x478d2b,m2Prime:_0x38794a}=_0x5e0944;this['_executeRemoteChangeset'](_0x478d2b);const _0x35cc1d=this['_injector'][_0x18622f(0x3c4)](oe,this[_0x18622f(0x45f)],this[_0x18622f(0x33d)],_0x38794a,this[_0x18622f(0x3c0)]);this[_0x18622f(0x282)]();const _0x415810=new Date()['getTime'](),_0x3f96cd=this[_0x18622f(0x447)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x415810,0x0):this['_getSendChangesetTimeout']();return _0x35cc1d['_schedule'](_0x3f96cd),_0x35cc1d;}throw _0x5e0944[_0x18622f(0x21e)];}catch(_0x525813){return this['_logService'][_0x18622f(0x21e)](_0x525813),this[_0x18622f(0x425)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x222d2b=_0xe5cf50;throw new Error(_0x222d2b(0x26f));}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){var _0x161bd1=_0xe5cf50;return this[_0x161bd1(0x282)](),this[_0x161bd1(0x49d)][_0x161bd1(0x3c4)](fe,this['unitID'],this['type'],null,this[_0x161bd1(0x276)],this[_0x161bd1(0x3c0)]);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x4a3)](_0x42cdc7){var _0x55044a=_0xe5cf50;const _0x2351c=_0x42cdc7!=null?_0x42cdc7:this[_0x55044a(0x21f)]();this[_0x55044a(0x447)]=new Date()[_0x55044a(0x34e)]()+_0x2351c,this[_0x55044a(0x319)]=setTimeout(()=>{var _0x125093=_0x55044a;this[_0x125093(0x282)]();let _0x2a6212=null;switch(this[_0x125093(0x33d)]){case Q[_0x125093(0x427)]:{_0x2a6212=zt(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this[_0x125093(0x3fa)],this['_memberService']);break;}case Q[_0x125093(0x2cf)]:{this[_0x125093(0x276)]['every'](_0x560392=>_0x560392['id']===_0x23b106['id'])?_0x2a6212=lr(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this['_revisionService'],this[_0x125093(0x336)]):_0x2a6212=zt(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this['_revisionService'],this[_0x125093(0x336)]);break;}default:throw new Error(_0x125093(0x2f3)+this['type']+_0x125093(0x31f));}const {changeset:_0x3204da,pendingMutations:_0x1c8b18}=_0x2a6212;this['_handler'][_0x125093(0x2e8)](_0x3204da);const _0x391555=_0x1c8b18[_0x125093(0x2da)]?this['_injector'][_0x125093(0x3c4)](ae,this[_0x125093(0x45f)],this[_0x125093(0x33d)],_0x3204da,_0x1c8b18,this[_0x125093(0x3c0)],void 0x0):this['_injector']['createInstance'](ue,this[_0x125093(0x45f)],this[_0x125093(0x33d)],_0x3204da,this['_handler']);_0x391555[_0x125093(0x49c)](),this['_handler'][_0x125093(0x1bd)](this,_0x391555);},_0x2351c);}['_getSendChangesetTimeout'](){var _0x430bcd=_0xe5cf50,_0x3f1058;const _0x2769ff=this[_0x430bcd(0x3ae)][_0x430bcd(0x2ae)](q);return(_0x3f1058=_0x2769ff==null?void 0x0:_0x2769ff[_0x430bcd(0x3a5)])!=null?_0x3f1058:Cn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe5cf50(0x282)](){var _0x434626=_0xe5cf50;this[_0x434626(0x319)]!=null&&(clearTimeout(this[_0x434626(0x319)]),this[_0x434626(0x319)]=null);}[_0xe5cf50(0x425)](_0x5b6eea){var _0x523b5b=_0xe5cf50;return this[_0x523b5b(0x282)](),this[_0x523b5b(0x49d)][_0x523b5b(0x3c4)](de,this['unitID'],this[_0x523b5b(0x33d)],null,this[_0x523b5b(0x276)],this['_handler'],_0x5b6eea);}};oe=Re([A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x1d51a6(_0x3410cd)),A(0x6,_0x1d51a6(xe)),A(0x7,_0x4597d7),A(0x8,_0x40e4b8),A(0x9,_0x22ebb9),A(0xa,_0x45bd1b),A(0xb,_0x25173e),A(0xc,_0x512149),A(0xd,_0x32cef0(J))],oe);let ue=class extends be{constructor(_0x333e48,_0xc21e47,_0x56534c,_0x62d9db,_0x34aa14,_0x2b082b,_0x28953c,_0x490830,_0x48bb63,_0x2161f2,_0x294691){var _0x4d3621=_0xe5cf50;super(_0x333e48,_0xc21e47,_0x56534c,[],_0x62d9db,_0x28953c,_0x2161f2,_0x2b082b,_0x294691),N(this,'status',_0x4d3621(0x3ce)),N(this,_0x4d3621(0x1e7),0x0),N(this,_0x4d3621(0x33f)),N(this,'_sender'),(this['_injector']=_0x34aa14,this['_logService']=_0x490830,this[_0x4d3621(0x3a3)]=_0x48bb63);}['appendMutation'](_0x540ee8){var _0x5c5583=_0xe5cf50;this['_clearScheduledTask']();const _0x2ca71e=this[_0x5c5583(0x49d)][_0x5c5583(0x3c4)](ae,this[_0x5c5583(0x45f)],this[_0x5c5583(0x33d)],this[_0x5c5583(0x360)],[_0x540ee8],this['_handler'],this['_resendTimer']);return _0x2ca71e[_0x5c5583(0x49c)](),_0x2ca71e;}[_0xe5cf50(0x23f)](_0x4322c7){var _0xf8257b=_0xe5cf50;if(this['_checkMissing'](_0x4322c7))return this['_clearScheduledTask'](),this[_0xf8257b(0x49d)][_0xf8257b(0x3c4)](te,this[_0xf8257b(0x45f)],this[_0xf8257b(0x33d)],this[_0xf8257b(0x360)],[],null,[_0x4322c7],this[_0xf8257b(0x3c0)]);try{const _0x163236=this['_transformService'][_0xf8257b(0x459)]([_0x4322c7],[this[_0xf8257b(0x360)]],!0x1);if(_0x38e180(_0x163236)){const {c1Prime:_0x2fb284,c2Prime:_0x41d0ec}=_0x163236;this[_0xf8257b(0x415)](_0x2fb284[0x0]),_0x41d0ec[0x0][_0xf8257b(0x227)]=this['_getCurrentRevision'](),this[_0xf8257b(0x282)]();const _0x46f86a=this[_0xf8257b(0x49d)][_0xf8257b(0x3c4)](ue,this[_0xf8257b(0x45f)],this[_0xf8257b(0x33d)],_0x41d0ec[0x0],this[_0xf8257b(0x3c0)]);return _0x46f86a[_0xf8257b(0x49c)](),_0x46f86a;}return this['_onConflict'](!0x1);}catch(_0x3c036c){return this['_logService'][_0xf8257b(0x21e)](_0x3c036c),this['_onConflict'](!0x1);}}[_0xe5cf50(0x278)](_0x4b17bc){var _0x195e38=_0xe5cf50;this[_0x195e38(0x282)]();const _0x2910ce=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x4b17bc[_0x195e38(0x2d4)]<_0x2910ce-0x1)return this;if(this['_checkMissing'](_0x4b17bc))return this['_injector'][_0x195e38(0x3c4)](te,this[_0x195e38(0x45f)],this[_0x195e38(0x33d)],null,[],this[_0x195e38(0x360)],[],this['_handler']);this[_0x195e38(0x26d)]();const _0x290786=this[_0x195e38(0x49d)]['createInstance'](De,this[_0x195e38(0x45f)],this[_0x195e38(0x33d)],this[_0x195e38(0x3c0)]);return _0x290786[_0x195e38(0x49c)](),_0x290786;}[_0xe5cf50(0x4a1)](_0x26a27e){var _0x3f312c=_0xe5cf50;return this['_onConflict'](!!(_0x26a27e!=null&&_0x26a27e[_0x3f312c(0x320)]));}[_0xe5cf50(0x4a8)](_0x5eea8b){var _0x5442d3=_0xe5cf50;return this[_0x5442d3(0x1e7)]>Ni?this[_0x5442d3(0x22e)]():(this['_resendTimer']=Oi(this[_0x5442d3(0x1e7)],{'timeout':this['_resendTimeout'],'reqId':_0x5eea8b[_0x5442d3(0x39a)]}),this['_sender']=this['_resendTimer'][_0x5442d3(0x1e9)](({reqId:_0x46fcf7,timeout:_0x2ba38a})=>{this['_resendWithTimeout'](_0x46fcf7,_0x2ba38a);}),this);}[_0xe5cf50(0x22e)](){var _0x390c17=_0xe5cf50;return this[_0x390c17(0x282)](),this[_0x390c17(0x49d)][_0x390c17(0x3c4)](fe,this[_0x390c17(0x45f)],this['type'],this[_0x390c17(0x360)],[],this[_0x390c17(0x3c0)]);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x221)](){var _0x51baa4=_0xe5cf50;this[_0x51baa4(0x3c0)][_0x51baa4(0x2e8)](this[_0x51baa4(0x360)]);}['_onConflict'](_0x2f24f1){var _0x140690=_0xe5cf50;return this['_clearScheduledTask'](),this['_injector'][_0x140690(0x3c4)](de,this['unitID'],this[_0x140690(0x33d)],this['_awaitingChangeset'],[],this[_0x140690(0x3c0)],_0x2f24f1);}[_0xe5cf50(0x222)](_0x1895d5,_0x1a306a){var _0xe6d9f6=_0xe5cf50,_0x28db3b;_0x1895d5===((_0x28db3b=this['_awaitingChangeset'])==null?void 0x0:_0x28db3b[_0xe6d9f6(0x39a)])&&(this['resend'](),this[_0xe6d9f6(0x1e7)]=_0x1a306a===0x0?0x3e8:_0x1a306a*0x2);}[_0xe5cf50(0x282)](){var _0x46298e=_0xe5cf50,_0x5aabbd;(_0x5aabbd=this[_0x46298e(0x402)])==null||_0x5aabbd[_0x46298e(0x31c)](),this[_0x46298e(0x1e7)]=0x0;}};ue=Re([A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x1d51a6(_0x3410cd)),A(0x6,_0x40e4b8),A(0x7,_0x4597d7),A(0x8,_0x45bd1b),A(0x9,_0x512149),A(0xa,_0x32cef0(J))],ue);let ae=class extends be{constructor(_0x5d79d9,_0xca0039,_0x7737ce,_0x40214a,_0x5e6377,_0x910b5e,_0x2dced8,_0xfdc136,_0xb25eeb,_0x1d59d7,_0x2e489c,_0x50a6c3,_0x5527da){var _0x18eec7=_0xe5cf50;super(_0x5d79d9,_0xca0039,_0x7737ce,_0x40214a,_0x5e6377,_0xb25eeb,_0x50a6c3,_0xfdc136,_0x5527da),N(this,'status','awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x18eec7(0x33f)),N(this,_0x18eec7(0x402)),(this['_injector']=_0x2dced8,this['_logService']=_0x1d59d7,this['_transformService']=_0x2e489c,this['localCacheService']=_0x5527da,_0x910b5e&&(this[_0x18eec7(0x33f)]=_0x910b5e,this[_0x18eec7(0x402)]=this[_0x18eec7(0x33f)][_0x18eec7(0x1e9)](({reqId:_0x413914,timeout:_0x2eea43})=>{var _0x5dcfa0=_0x18eec7;this[_0x5dcfa0(0x222)](_0x413914,_0x2eea43);})));}[_0xe5cf50(0x471)](_0x56ce65){return this['_pendingMutations']['push'](_0x56ce65),this;}[_0xe5cf50(0x23f)](_0x28e708){var _0x3c8137=_0xe5cf50;if(this[_0x3c8137(0x36f)](_0x28e708))return this[_0x3c8137(0x282)](),this[_0x3c8137(0x49d)][_0x3c8137(0x3c4)](te,this['unitID'],this[_0x3c8137(0x33d)],this[_0x3c8137(0x360)],this['_pendingMutations'],null,[_0x28e708],this['_handler']);try{const _0x4380d0=this['_transformService'][_0x3c8137(0x459)]([_0x28e708],[this['_awaitingChangeset']],!0x1);if(_0x38e180(_0x4380d0)){const {c1Prime:_0x2279c6,c2Prime:_0x5e7030}=_0x4380d0,_0x1bd101=this['_transformService'][_0x3c8137(0x3b0)](_0x2279c6[0x0],this[_0x3c8137(0x276)]);if(_0x4ab4da(_0x1bd101)){const {c1Prime:_0x1e91cd,m2Prime:_0x392fa7}=_0x1bd101;return this[_0x3c8137(0x415)](_0x1e91cd),_0x5e7030[0x0][_0x3c8137(0x227)]=this['_getCurrentRevision'](),this[_0x3c8137(0x282)](),this['_injector'][_0x3c8137(0x3c4)](ae,this['unitID'],this[_0x3c8137(0x33d)],_0x5e7030[0x0],_0x392fa7,this['_handler'],void 0x0);}throw _0x1bd101[_0x3c8137(0x21e)];}throw _0x4380d0[_0x3c8137(0x21e)];}catch(_0x47ab7d){return this['_logService']['error'](_0x47ab7d),this['_onConflict'](!0x1);}}[_0xe5cf50(0x278)](_0x90f1b1){var _0x52049e=_0xe5cf50;if(this[_0x52049e(0x282)](),this[_0x52049e(0x36f)](_0x90f1b1))return this[_0x52049e(0x49d)][_0x52049e(0x3c4)](te,this['unitID'],this[_0x52049e(0x33d)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x52049e(0x3c0)]);this[_0x52049e(0x26d)]();const _0x47662d=this[_0x52049e(0x49d)]['createInstance'](oe,this[_0x52049e(0x45f)],this[_0x52049e(0x33d)],this[_0x52049e(0x276)],this[_0x52049e(0x3c0)]);return _0x47662d[_0x52049e(0x4a3)](),_0x47662d[_0x52049e(0x49c)](),_0x47662d;}[_0xe5cf50(0x4a1)](_0x18e984){var _0x1dd895=_0xe5cf50;return this[_0x1dd895(0x425)](!!(_0x18e984!=null&&_0x18e984[_0x1dd895(0x320)]));}[_0xe5cf50(0x4a8)](_0x5f5c23){var _0x34f59b=_0xe5cf50;return this[_0x34f59b(0x1e7)]>Ni?this['toggleOffline']():(this[_0x34f59b(0x33f)]=Oi(this['_resendTimeout'],{'timeout':this[_0x34f59b(0x1e7)],'reqId':_0x5f5c23[_0x34f59b(0x39a)]}),this[_0x34f59b(0x402)]=this['_resendTimer']['subscribe'](({reqId:_0x859d23,timeout:_0x377171})=>{this['_resendWithTimeout'](_0x859d23,_0x377171);}),this);}[_0xe5cf50(0x22e)](){var _0x5e9f69=_0xe5cf50;return this[_0x5e9f69(0x282)](),this['_injector'][_0x5e9f69(0x3c4)](fe,this[_0x5e9f69(0x45f)],this[_0x5e9f69(0x33d)],this[_0x5e9f69(0x360)],this[_0x5e9f69(0x276)],this[_0x5e9f69(0x3c0)]);}['toggleOnline'](){return this;}[_0xe5cf50(0x221)](){var _0x57db0a=_0xe5cf50;this['_handler'][_0x57db0a(0x2e8)](this['_awaitingChangeset']);}[_0xe5cf50(0x425)](_0x48abf1){var _0x5f00a1=_0xe5cf50;return this[_0x5f00a1(0x282)](),this[_0x5f00a1(0x49d)]['createInstance'](de,this[_0x5f00a1(0x45f)],this[_0x5f00a1(0x33d)],null,this[_0x5f00a1(0x276)],this[_0x5f00a1(0x3c0)],_0x48abf1);}[_0xe5cf50(0x222)](_0x52e9e8,_0x462a1a){var _0xbbdab0=_0xe5cf50,_0x49a9ef;_0x52e9e8===((_0x49a9ef=this[_0xbbdab0(0x360)])==null?void 0x0:_0x49a9ef[_0xbbdab0(0x39a)])&&(this[_0xbbdab0(0x221)](),this[_0xbbdab0(0x1e7)]=_0x462a1a===0x0?0x3e8:_0x462a1a*0x2);}['_clearScheduledTask'](){var _0x4b3b03=_0xe5cf50,_0x1895ef;(_0x1895ef=this[_0x4b3b03(0x402)])==null||_0x1895ef[_0x4b3b03(0x31c)](),this[_0x4b3b03(0x1e7)]=0x0;}};ae=Re([A(0x6,_0x1d51a6(_0x1edb1c)),A(0x7,_0x1d51a6(_0x3410cd)),A(0x8,_0x40e4b8),A(0x9,_0x4597d7),A(0xa,_0x45bd1b),A(0xb,_0x512149),A(0xc,_0x32cef0(J))],ae);let de=class extends be{constructor(_0x44eda7,_0x490c0c,_0x4fc1c5,_0x5d66da,_0x10601f,_0x258099=!0x1,_0x3b1fad,_0x58a2f1,_0x56e534,_0x57119f,_0xd84227,_0x29e225,_0x366f27){var _0x5c498a=_0xe5cf50;super(_0x44eda7,_0x490c0c,_0x4fc1c5,_0x5d66da,_0x10601f,_0x58a2f1,_0x56e534,_0x57119f,_0x366f27),N(this,_0x5c498a(0x3fb),_0x5c498a(0x446)),(this[_0x5c498a(0x2dc)]=_0x258099,this[_0x5c498a(0x1ac)]=_0x3b1fad,this[_0x5c498a(0x203)]=_0xd84227,this['_collaborationUIEventService']=_0x29e225,this[_0x5c498a(0x207)]=_0x366f27,this[_0x5c498a(0x3ff)](),this[_0x5c498a(0x2e7)](),this[_0x5c498a(0x2ff)]());}[_0xe5cf50(0x471)](){return this;}['onRemoteChangeset'](){return this;}[_0xe5cf50(0x278)](){return this;}[_0xe5cf50(0x4a1)](){return this;}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){return this;}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x221)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x53b442=_0xe5cf50,_0x460ead;(_0x460ead=this[_0x53b442(0x225)])==null||_0x460ead[_0x53b442(0x1fe)](this[_0x53b442(0x45f)],this[_0x53b442(0x33d)],null,[]);}['_showConflictNotification'](){var _0x21856a=_0xe5cf50;this['_isPermissionRej']?this[_0x21856a(0x29a)]['emitEvent']({'id':se[_0x21856a(0x42e)]}):this[_0x21856a(0x29a)][_0x21856a(0x4ae)]({'id':se[_0x21856a(0x2f6)]});}[_0xe5cf50(0x2ff)](){var _0x2b032d=_0xe5cf50;this['_permissionService'][_0x2b032d(0x3ec)](new _0x3d42b8(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x1d51a6(_0x1f54fc)),A(0x7,_0x40e4b8),A(0x8,_0x512149),A(0x9,_0x1d51a6(_0x3410cd)),A(0xa,_0x1d51a6(_0x3e1840)),A(0xb,_0x1d51a6(pe)),A(0xc,_0x32cef0(J))],de);let fe=class extends be{constructor(_0x1e4d5f,_0x555567,_0x43b7ba,_0x37f1f5,_0x32d9a1,_0x32e9ad,_0x4c967c,_0x39e768,_0x3845bb,_0xdae23f){var _0x3a84d0=_0xe5cf50;super(_0x1e4d5f,_0x555567,_0x43b7ba,_0x37f1f5,_0x32d9a1,_0x39e768,_0x3845bb,_0x4c967c,_0xdae23f),N(this,'status',_0x3a84d0(0x1b3)),this[_0x3a84d0(0x49d)]=_0x32e9ad;}[_0xe5cf50(0x471)](_0x11f27f){var _0x297bb2=_0xe5cf50;return this[_0x297bb2(0x276)]['push'](_0x11f27f),this['_updateLocalCache'](),this;}[_0xe5cf50(0x23f)](_0x2c5f83){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xe5cf50(0x278)](){var _0x12c2b4=_0xe5cf50;throw new Error(_0x12c2b4(0x3e0));}['onRemoteRej'](){var _0x4ee2b5=_0xe5cf50;throw new Error(_0x4ee2b5(0x472));}[_0xe5cf50(0x4a8)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x26ad92=_0xe5cf50;const {_injector:_0x2ae705,_pendingMutations:_0xe648e,_awaitingChangeset:_0x4a5ad4,unitID:_0x56b392,_handler:_0x19176d,type:_0x55bcab}=this,_0x50b67d=Di(_0x2ae705,_0x56b392,_0x55bcab,_0x4a5ad4,_0xe648e,_0x19176d);return _0x50b67d instanceof oe?_0x50b67d['_schedule']():(_0x50b67d instanceof ae||_0x50b67d instanceof ue)&&_0x50b67d[_0x26ad92(0x221)](),_0x50b67d;}['resend'](){var _0x5b5be8=_0xe5cf50;throw new Error(_0x5b5be8(0x3af));}};fe=Re([A(0x5,_0x1d51a6(_0x1edb1c)),A(0x6,_0x1d51a6(_0x3410cd)),A(0x7,_0x40e4b8),A(0x8,_0x512149),A(0x9,_0x32cef0(J))],fe);let te=class extends be{constructor(_0x115252,_0x52d0ed,_0x50bbfe,_0x339ea2,_0x1900d0,_0x405a53,_0x4f2b9a,_0x4d51e5,_0x152b88,_0x5174c9,_0xcbaac9,_0x5ca891,_0x3ad725,_0x1ea0b4){var _0x166d24=_0xe5cf50;super(_0x115252,_0x52d0ed,_0x50bbfe,_0x339ea2,_0x4f2b9a,_0xcbaac9,_0x5ca891,_0x152b88,_0x1ea0b4),N(this,_0x166d24(0x3fb),'fetch_missing'),(this[_0x166d24(0x2fc)]=_0x1900d0,this['_queuedRemoteChangesets']=_0x405a53,this['_injector']=_0x4d51e5,this[_0x166d24(0x32c)]=_0x5174c9,this[_0x166d24(0x3a3)]=_0x3ad725,this[_0x166d24(0x207)]=_0x1ea0b4);}[_0xe5cf50(0x3df)](_0x248f2c){var _0x3182ac=_0xe5cf50;try{const _0x35e9dd=[..._0x248f2c,...this[_0x3182ac(0x32e)]],_0x4c16c8=[this[_0x3182ac(0x360)]||this['_acknowledgedAwaitingChangeset']][_0x3182ac(0x20d)](_0x37bfa1=>!!_0x37bfa1);let _0x50f211,_0x4f75f3;if(_0x4c16c8[_0x3182ac(0x2da)]){const _0xbfb7b3=this['_transformService'][_0x3182ac(0x459)](_0x35e9dd,_0x4c16c8,!0x1);if(!_0x38e180(_0xbfb7b3))throw _0xbfb7b3[_0x3182ac(0x21e)];_0x50f211=_0xbfb7b3[_0x3182ac(0x20a)],_0x4f75f3=_0xbfb7b3[_0x3182ac(0x372)];}else _0x50f211=_0x35e9dd,_0x4f75f3=[];let _0x588e19=this[_0x3182ac(0x276)];_0x50f211[_0x3182ac(0x21a)](_0x5ca0cc=>{var _0x26296f=_0x3182ac;let _0x33d887;if(_0x588e19['length']){const _0x1ca01f=this['_transformService'][_0x26296f(0x3b0)](_0x5ca0cc,_0x588e19);if(!_0x4ab4da(_0x1ca01f))throw _0x1ca01f[_0x26296f(0x21e)];_0x33d887=_0x1ca01f[_0x26296f(0x20a)],_0x588e19=_0x1ca01f[_0x26296f(0x22f)];}else _0x33d887=_0x5ca0cc;this['_executeRemoteChangeset'](_0x33d887);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3182ac(0x26d)](),this[_0x3182ac(0x360)]&&_0x4f75f3['length']&&(_0x4f75f3[0x0][_0x3182ac(0x227)]=this['_getCurrentRevision']());let _0x12811f;if(this[_0x3182ac(0x360)]&&_0x588e19['length']!==0x0)_0x12811f=this[_0x3182ac(0x49d)]['createInstance'](ae,this['unitID'],this[_0x3182ac(0x33d)],_0x4f75f3[0x0],_0x588e19,this[_0x3182ac(0x3c0)],void 0x0);else{if(this['_awaitingChangeset']&&_0x588e19[_0x3182ac(0x2da)]===0x0)_0x4f75f3[0x0]['baseRev']=this[_0x3182ac(0x1fb)](),_0x12811f=this[_0x3182ac(0x49d)][_0x3182ac(0x3c4)](ue,this[_0x3182ac(0x45f)],this['type'],_0x4f75f3[0x0],this[_0x3182ac(0x3c0)]);else{if(_0x588e19[_0x3182ac(0x2da)]!==0x0){const _0x19aaab=this['_injector'][_0x3182ac(0x3c4)](oe,this[_0x3182ac(0x45f)],this['type'],_0x588e19,this[_0x3182ac(0x3c0)]);_0x19aaab['_schedule'](),_0x12811f=_0x19aaab;}else _0x12811f=this[_0x3182ac(0x49d)][_0x3182ac(0x3c4)](De,this[_0x3182ac(0x45f)],this[_0x3182ac(0x33d)],this[_0x3182ac(0x3c0)]);}}return _0x12811f[_0x3182ac(0x49c)](),_0x12811f;}catch(_0x2814a2){return this[_0x3182ac(0x32c)][_0x3182ac(0x21e)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x2814a2),this['_injector'][_0x3182ac(0x3c4)](de,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3182ac(0x276)],this['_handler'],!0x1);}}['resend'](){var _0x27c3d1=_0xe5cf50;throw new Error(_0x27c3d1(0x461));}[_0xe5cf50(0x471)](_0x2ff662){var _0x3aa4c6=_0xe5cf50;return this['_pendingMutations'][_0x3aa4c6(0x430)](_0x2ff662),this;}[_0xe5cf50(0x23f)](_0x1f0f73){var _0x465e38=_0xe5cf50;return this[_0x465e38(0x32e)][_0x465e38(0x430)](_0x1f0f73),this;}[_0xe5cf50(0x278)](_0x419509){var _0x26ff9e=_0xe5cf50;if(this[_0x26ff9e(0x360)])return this[_0x26ff9e(0x2fc)]=this[_0x26ff9e(0x360)],this['_awaitingChangeset']=null,this;throw new Error(_0x26ff9e(0x208));}[_0xe5cf50(0x4a1)](_0x48d50c){var _0x5a651e=_0xe5cf50;return this[_0x5a651e(0x425)](!!(_0x48d50c!=null&&_0x48d50c['isPermissionRej']));}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){var _0x2a0ae0=_0xe5cf50;return this[_0x2a0ae0(0x49d)][_0x2a0ae0(0x3c4)](fe,this['unitID'],this[_0x2a0ae0(0x33d)],this['_awaitingChangeset'],this[_0x2a0ae0(0x276)],this['_handler']);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x425)](_0x4592e1){var _0xc1b5d7=_0xe5cf50;return this[_0xc1b5d7(0x49d)][_0xc1b5d7(0x3c4)](de,this[_0xc1b5d7(0x45f)],this[_0xc1b5d7(0x33d)],this[_0xc1b5d7(0x360)],this['_pendingMutations'],this[_0xc1b5d7(0x3c0)],_0x4592e1);}};te=Re([A(0x7,_0x1d51a6(_0x1edb1c)),A(0x8,_0x1d51a6(_0x3410cd)),A(0x9,_0x4597d7),A(0xa,_0x40e4b8),A(0xb,_0x512149),A(0xc,_0x45bd1b),A(0xd,_0x32cef0(J))],te);function Di(_0x51c40d,_0x255aba,_0x3d66f0,_0x55cfb8,_0x243aa1,_0x139854){var _0x1f7762=_0xe5cf50;return _0x55cfb8&&_0x243aa1[_0x1f7762(0x2da)]?_0x51c40d[_0x1f7762(0x3c4)](ae,_0x255aba,_0x3d66f0,_0x55cfb8,_0x243aa1,_0x139854,void 0x0):_0x55cfb8?_0x51c40d['createInstance'](ue,_0x255aba,_0x3d66f0,_0x55cfb8,_0x139854):_0x243aa1[_0x1f7762(0x2da)]?_0x51c40d[_0x1f7762(0x3c4)](oe,_0x255aba,_0x3d66f0,_0x243aa1,_0x139854):_0x51c40d[_0x1f7762(0x3c4)](De,_0x255aba,_0x3d66f0,_0x139854);}var vr=Object[_0xe5cf50(0x4a7)],pr=Object[_0xe5cf50(0x324)],Lt=(_0x304137,_0x5d6a23,_0x5c1402,_0x59aad2)=>{var _0x4c0aaa=_0xe5cf50;for(var _0x152cd0=_0x59aad2>0x1?void 0x0:_0x59aad2?pr(_0x5d6a23,_0x5c1402):_0x5d6a23,_0x46e0d6=_0x304137[_0x4c0aaa(0x2da)]-0x1,_0x4e25bd;_0x46e0d6>=0x0;_0x46e0d6--)(_0x4e25bd=_0x304137[_0x46e0d6])&&(_0x152cd0=(_0x59aad2?_0x4e25bd(_0x5d6a23,_0x5c1402,_0x152cd0):_0x4e25bd(_0x152cd0))||_0x152cd0);return _0x59aad2&&_0x152cd0&&vr(_0x5d6a23,_0x5c1402,_0x152cd0),_0x152cd0;},k=(_0x21b9fd,_0x524828)=>(_0x570535,_0x1970de)=>_0x524828(_0x570535,_0x1970de,_0x21b9fd);let nt=class extends _0x155349{constructor(_0x5e842d,_0x329585,_0x251550,_0x3dd3dd,_0x38760d,_0x4423bb,_0x5619ac,_0x7c47bb,_0x427313,_0x583117,_0x28a413,_0x23681a,_0x21e90e){var _0x2b5ebd=_0xe5cf50;super(),N(this,_0x2b5ebd(0x20c),new _0xd2a8b4(null)),N(this,_0x2b5ebd(0x2f0),this[_0x2b5ebd(0x20c)][_0x2b5ebd(0x1f9)]()),N(this,'_state'),N(this,_0x2b5ebd(0x46e),!0x1),N(this,'_changesetSessionId',''),N(this,_0x2b5ebd(0x1e6),0x0),N(this,'status$',this[_0x2b5ebd(0x2f0)][_0x2b5ebd(0x34d)](_0x1605e5(_0x43cd59=>_0x43cd59?_0x43cd59[_0x2b5ebd(0x3fb)]:yi[_0x2b5ebd(0x2f2)]),_0x363918(0x1))),N(this,_0x2b5ebd(0x304),!0x1),N(this,_0x2b5ebd(0x2ab),[]),(this[_0x2b5ebd(0x45f)]=_0x5e842d,this[_0x2b5ebd(0x2cb)]=_0x329585,this[_0x2b5ebd(0x3a0)]=_0x251550,this[_0x2b5ebd(0x49d)]=_0x3dd3dd,this[_0x2b5ebd(0x465)]=_0x38760d,this[_0x2b5ebd(0x203)]=_0x4423bb,this['_revisionService']=_0x5619ac,this[_0x2b5ebd(0x27f)]=_0x7c47bb,this[_0x2b5ebd(0x32c)]=_0x427313,this[_0x2b5ebd(0x1f5)]=_0x583117,this[_0x2b5ebd(0x1ac)]=_0x28a413,this[_0x2b5ebd(0x3b2)]=_0x23681a,this['_localCacheService']=_0x21e90e);}get['state'](){var _0x25d48d=_0xe5cf50;return this[_0x25d48d(0x2bc)];}async[_0xe5cf50(0x426)](){var _0x47cad0=_0xe5cf50;if(this['state'])throw new Error(_0x47cad0(0x3c5));await this['_init']();}['pauseCollaboration'](){var _0x5124ba=_0xe5cf50;return this[_0x5124ba(0x46e)]=!0x0,_0x33728b(()=>{var _0xfefffc=_0x5124ba;this[_0xfefffc(0x46e)]=!0x1,this[_0xfefffc(0x224)]();});}[_0xe5cf50(0x424)](_0x58d8d3){var _0x286121=_0xe5cf50;this[_0x286121(0x36a)](_0x58d8d3);}[_0xe5cf50(0x2f4)](_0x59be81){var _0x48038f=_0xe5cf50;this[_0x48038f(0x2bc)]=_0x59be81,this[_0x48038f(0x20c)][_0x48038f(0x1dd)](_0x59be81);}async['_init'](){var _0x487196=_0xe5cf50,_0x239ee1;this[_0x487196(0x2f4)](await this[_0x487196(0x2b5)]()),this[_0x487196(0x3b2)]&&((_0x239ee1=this[_0x487196(0x3b2)])==null||_0x239ee1[_0x487196(0x43e)](this[_0x487196(0x45f)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x487196(0x45f)])[_0x487196(0x1e9)](_0x14466f=>{var _0x578ef4=_0x487196;this['_logService'][_0x578ef4(0x340)](_0x578ef4(0x303),'editing\x20status\x20changed\x20to',_0x14466f),_0x14466f===bi[_0x578ef4(0x3ef)]?(this[_0x578ef4(0x27f)][_0x578ef4(0x4ae)]({'id':se[_0x578ef4(0x371)]}),this[_0x578ef4(0x1ac)][_0x578ef4(0x3ec)](new _0x3d42b8(this['unitID'])['id'],!0x1),this[_0x578ef4(0x1ac)][_0x578ef4(0x450)](!0x1)):(this[_0x578ef4(0x1ac)]['updatePermissionPoint'](new _0x3d42b8(this[_0x578ef4(0x45f)])['id'],!0x0),this['_permissionService'][_0x578ef4(0x450)](!0x0));})));let _0x569705=!0x1;return this[_0x487196(0x1fa)](this[_0x487196(0x2cb)]['sessionStatus$'][_0x487196(0x1e9)](_0x1c6b42=>{var _0x15904d=_0x487196;_0x1c6b42===Te[_0x15904d(0x292)]?this[_0x15904d(0x431)](_0x569705):_0x1c6b42===Te[_0x15904d(0x2f2)]&&(_0x569705=!0x0,this[_0x15904d(0x1d0)]());})),this[_0x487196(0x1fa)](this[_0x487196(0x2cb)]['event$'][_0x487196(0x1e9)](_0x252103=>{var _0xd52d3c=_0x487196;try{switch(_0x252103[_0xd52d3c(0x23e)]){case _0x11ed3f[_0xd52d3c(0x22c)]:{this[_0xd52d3c(0x46f)](_0x8516cb(_0x252103['data']));break;}case _0x11ed3f[_0xd52d3c(0x39e)]:{this[_0xd52d3c(0x3d4)](_0x252103[_0xd52d3c(0x1d5)]);break;}case _0x11ed3f[_0xd52d3c(0x2bf)]:{this['_onRemoteRejected']();break;}case _0x11ed3f[_0xd52d3c(0x498)]:{this[_0xd52d3c(0x353)](_0x252103[_0xd52d3c(0x1d5)]);break;}case _0x11ed3f[_0xd52d3c(0x49a)]:{this[_0xd52d3c(0x2e6)](_0x252103[_0xd52d3c(0x1d5)][_0xd52d3c(0x325)][_0xd52d3c(0x1f7)](_0x2fbe7e=>_0x8516cb(_0x2fbe7e)));break;}case _0x11ed3f[_0xd52d3c(0x21b)]:{this[_0xd52d3c(0x449)]({'isPermissionRej':!0x0});break;}case _0x11ed3f[_0xd52d3c(0x369)]:break;}}catch(_0x2af966){throw console[_0xd52d3c(0x21e)](_0xd52d3c(0x3a6),_0x2af966),_0x2af966;}})),this[_0x487196(0x2bc)];}[_0xe5cf50(0x3a4)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x500c6f=_0xe5cf50;if(this[_0x500c6f(0x304)])throw new Error(_0x500c6f(0x267));this[_0x500c6f(0x304)]=!0x0;}[_0xe5cf50(0x36a)](_0x1a1721){var _0x2b4dee=_0xe5cf50;this[_0x2b4dee(0x3da)](),this[_0x2b4dee(0x2f4)](this[_0x2b4dee(0x2bc)][_0x2b4dee(0x471)](_0x1a1721)),this[_0x2b4dee(0x3a4)]();}[_0xe5cf50(0x46f)](_0x27e707){var _0x5c3264=_0xe5cf50;if(!(_0x27e707[_0x5c3264(0x2d4)]<=this[_0x5c3264(0x3fa)][_0x5c3264(0x2c6)](this['unitID']))){if(this[_0x5c3264(0x46e)]){this[_0x5c3264(0x2ab)]['push'](_0x27e707);return;}this['_applyRemoteChangeset'](_0x27e707);}}[_0xe5cf50(0x224)](){var _0x52a866=_0xe5cf50;this['_remoteChangesetQueue'][_0x52a866(0x21a)](_0x4a36c7=>this[_0x52a866(0x287)](_0x4a36c7)),this[_0x52a866(0x2ab)]=[];}[_0xe5cf50(0x287)](_0xe800a2){var _0x571640=_0xe5cf50;const _0x2db54d=this['_compressMutationService']['interceptor'][_0x571640(0x4ac)](this[_0x571640(0x465)]['interceptor'][_0x571640(0x309)]()[_0x571640(0x1b9)])(_0xe800a2[_0x571640(0x306)],null)||_0xe800a2['mutations'],_0x4ab012={..._0xe800a2,'mutations':_0x2db54d};this[_0x571640(0x3da)](),this[_0x571640(0x2f4)](this[_0x571640(0x2bc)][_0x571640(0x23f)](_0x4ab012)),this[_0x571640(0x3a4)]();}['_onRemoteACK'](_0x20c5f1){var _0x3fce08=_0xe5cf50;this['_lockTransition'](),this[_0x3fce08(0x2f4)](this[_0x3fce08(0x2bc)][_0x3fce08(0x278)](_0x20c5f1)),this[_0x3fce08(0x3a4)]();}['_onRemoteRejected'](_0x276ff9){var _0x589d3d=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this['_state'][_0x589d3d(0x4a1)](_0x276ff9)),this[_0x589d3d(0x3a4)]();}[_0xe5cf50(0x353)](_0x18d181){var _0x3c4549=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this[_0x3c4549(0x2bc)][_0x3c4549(0x4a8)](_0x18d181)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1f028a){var _0x46ed96=_0xe5cf50;if(!(this[_0x46ed96(0x2bc)]instanceof te))throw new TypeError(_0x46ed96(0x35c));const _0x27ceac=_0x1f028a[_0x46ed96(0x1f7)](_0x5cdad8=>{var _0x34c09f=_0x46ed96;const _0x312d0b=this[_0x34c09f(0x465)]['interceptor'][_0x34c09f(0x4ac)](this[_0x34c09f(0x465)][_0x34c09f(0x245)][_0x34c09f(0x309)]()[_0x34c09f(0x1b9)])(_0x5cdad8['mutations'],null)||_0x5cdad8['mutations'];return{..._0x5cdad8,'mutations':_0x312d0b};});this['_lockTransition'](),this[_0x46ed96(0x2f4)](this[_0x46ed96(0x2bc)]['onMissedChangesetFetched'](_0x27ceac)),this['_unlockTransition']();}[_0xe5cf50(0x1d0)](){var _0x4ee0c8=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this[_0x4ee0c8(0x2bc)][_0x4ee0c8(0x22e)]()),this[_0x4ee0c8(0x3a4)]();}[_0xe5cf50(0x431)](_0x2be335=!0x1){var _0x16ca8e=_0xe5cf50;this[_0x16ca8e(0x3da)](),this[_0x16ca8e(0x2f4)](this[_0x16ca8e(0x2bc)][_0x16ca8e(0x1e1)]()),this['_unlockTransition']();const _0x1a8239=this['_state'];_0x2be335&&_0x1a8239 instanceof De&&(this[_0x16ca8e(0x3da)](),this[_0x16ca8e(0x2f4)](_0x1a8239[_0x16ca8e(0x2ce)]()),this[_0x16ca8e(0x3a4)]());}async[_0xe5cf50(0x2b5)](){return new Promise(_0x3d24e7=>{var _0x6f95ef=_0x6808;this[_0x6f95ef(0x2cb)]['sessionStatus$'][_0x6f95ef(0x34d)](_0x49d364(0x1))[_0x6f95ef(0x1e9)](async _0x512d06=>{var _0xc7546b=_0x6f95ef;_0x3d24e7(await this[_0xc7546b(0x2d7)](_0x512d06===Te[_0xc7546b(0x292)]));});});}[_0xe5cf50(0x43c)](){var _0x2d98cf=_0xe5cf50;const _0x1bfb02=this[_0x2d98cf(0x45f)];return{'onStateChange':(_0x35ab7c,_0x2e3483)=>{var _0x3792da=_0x2d98cf;if(_0x35ab7c!==this[_0x3792da(0x2bc)])throw new Error(_0x3792da(0x39f)+_0x35ab7c['status']+'\x0aAfter:\x20'+_0x2e3483['status']+_0x3792da(0x2bd)+this['_state'][_0x3792da(0x3fb)]);this[_0x3792da(0x2f4)](_0x2e3483);},'onSendChangeset':_0x5c94da=>{var _0x45779f=_0x2d98cf;_0x5c94da[_0x45779f(0x230)]||(_0x5c94da[_0x45779f(0x230)]=this['_changesetSessionId'],_0x5c94da['reqId']=++this[_0x45779f(0x1e6)]);const _0x43e2b8={'eventID':_0x11ed3f[_0x45779f(0x3c3)],'data':{'unitID':_0x5c94da[_0x45779f(0x45f)],'unitType':this[_0x45779f(0x3a0)],'changeset':_0x5c94da,'memberID':this[_0x45779f(0x2cb)][_0x45779f(0x3f6)]()}};this['session'][_0x45779f(0x484)](_0x43e2b8,this[_0x45779f(0x45f)]);},'onMissingChangesets':({from:_0x21387e,to:_0x3a3cda})=>{var _0x2ab0b0=_0x2d98cf;this['_logService'][_0x2ab0b0(0x340)](_0x2ab0b0(0x303),_0x2ab0b0(0x2ba)+_0x21387e+'\x20to\x20'+_0x3a3cda);const _0xbe69a={'eventID':_0x11ed3f[_0x2ab0b0(0x490)],'data':{'unitID':_0x1bfb02,'unitType':this['_type'],'from':_0x21387e,'to':_0x3a3cda}};this[_0x2ab0b0(0x2cb)][_0x2ab0b0(0x484)](_0xbe69a,this[_0x2ab0b0(0x45f)]);}};}async[_0xe5cf50(0x2d7)](_0x1745ab){var _0x278bd0=_0xe5cf50,_0x51bb9a,_0x1c238f,_0x3995ae;const _0x1e9a45=await((_0x51bb9a=this['_localCacheService'])==null?void 0x0:_0x51bb9a[_0x278bd0(0x421)](this[_0x278bd0(0x45f)])),_0x1a604c=(_0x1c238f=_0x1e9a45==null?void 0x0:_0x1e9a45[_0x278bd0(0x306)])!=null?_0x1c238f:[],_0x4bdd7c=(_0x3995ae=_0x1e9a45==null?void 0x0:_0x1e9a45[_0x278bd0(0x2d3)])!=null?_0x3995ae:null,_0x5bbf4f=!!(_0x4bdd7c!=null&&_0x4bdd7c[_0x278bd0(0x230)])&&!!(_0x4bdd7c!=null&&_0x4bdd7c['reqId']);this['_changesetSessionId']=_0x5bbf4f?_0x4bdd7c['sid']:sr(),this[_0x278bd0(0x1e6)]=_0x5bbf4f?_0x4bdd7c['reqId']:0x0;const _0xecf984=this[_0x278bd0(0x45f)];try{this['_replayCachedMutations'](_0x4bdd7c,_0x1a604c);}catch(_0x22fd9c){this[_0x278bd0(0x32c)][_0x278bd0(0x21e)](_0x22fd9c);}const _0x4be177=this[_0x278bd0(0x43c)]();if(_0x1745ab){const _0x34206f=Di(this['_injector'],_0xecf984,this[_0x278bd0(0x3a0)],_0x4bdd7c,_0x1a604c,_0x4be177);return _0x34206f instanceof oe?_0x34206f[_0x278bd0(0x4a3)]():(_0x34206f instanceof ae||_0x34206f instanceof ue)&&_0x34206f[_0x278bd0(0x221)](),_0x34206f;}return this['_injector'][_0x278bd0(0x3c4)](fe,_0xecf984,this[_0x278bd0(0x3a0)],_0x4bdd7c,_0x1a604c,_0x4be177);}[_0xe5cf50(0x30d)](_0x4e04a2,_0x554090){var _0x961e89=_0xe5cf50,_0x37c705,_0x47c93c;const _0x1d09ad=this[_0x961e89(0x465)]['interceptor'][_0x961e89(0x4ac)](this['_compressMutationService'][_0x961e89(0x245)]['getInterceptPoints']()[_0x961e89(0x1b9)]);(_0x37c705=_0x1d09ad((_0x4e04a2==null?void 0x0:_0x4e04a2[_0x961e89(0x306)])||[],null))==null||_0x37c705[_0x961e89(0x21a)](_0x5d7cec=>this[_0x961e89(0x1f5)][_0x961e89(0x3cd)](_0x5d7cec['id'],_0x5d7cec[_0x961e89(0x365)])),(_0x47c93c=_0x1d09ad(_0x554090||[],null))==null||_0x47c93c[_0x961e89(0x21a)](_0x2c2475=>this[_0x961e89(0x1f5)][_0x961e89(0x3cd)](_0x2c2475['id'],_0x2c2475[_0x961e89(0x365)]));}};nt=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(pe)),k(0x8,_0x4597d7),k(0x9,_0x40e4b8),k(0xa,_0x1f54fc),k(0xb,_0x32cef0(ht)),k(0xc,_0x32cef0(J))],nt);let Tt=class extends nt{constructor(_0x65ebc8,_0x459976,_0x19bfa3,_0xf00020,_0x4ace50,_0x3c1c28,_0x43c452,_0x1b00d8,_0xb4b405,_0x473070,_0x198f11,_0x8e7283,_0x2db9c5){var _0x34c0da=_0xe5cf50;super(_0x65ebc8,_0x19bfa3,_0x459976,_0xf00020,_0x4ace50,_0x3c1c28,_0x43c452,_0x1b00d8,_0xb4b405,_0x473070,_0x198f11,_0x8e7283,_0x2db9c5),N(this,_0x34c0da(0x3c9),null),(this['unitID']=_0x65ebc8,this['type']=_0x459976);}[_0xe5cf50(0x1db)](_0x2ae003){var _0x304406=_0xe5cf50;this[_0x304406(0x3c9)]=_0x2ae003;}[_0xe5cf50(0x410)](){var _0x5d3e93=_0xe5cf50;this[_0x5d3e93(0x3c9)]=null,super[_0x5d3e93(0x410)]();}[_0xe5cf50(0x43c)](){var _0x2cd7b7=_0xe5cf50;const _0x46c84d=super[_0x2cd7b7(0x43c)]();return _0x46c84d[_0x2cd7b7(0x2f9)]=_0x13ce34=>{var _0x1010ba=_0x2cd7b7,_0x321afc,_0x1adbdf;return(_0x1adbdf=(_0x321afc=this[_0x1010ba(0x3c9)])==null?void 0x0:_0x321afc['onTransformIME'])==null?void 0x0:_0x1adbdf[_0x1010ba(0x20b)](_0x321afc,_0x13ce34);},_0x46c84d[_0x2cd7b7(0x290)]=_0x48baf2=>{var _0x29d7bf=_0x2cd7b7,_0x13d254,_0x4b3bcd;return(_0x4b3bcd=(_0x13d254=this[_0x29d7bf(0x3c9)])==null?void 0x0:_0x13d254[_0x29d7bf(0x290)])==null?void 0x0:_0x4b3bcd[_0x29d7bf(0x20b)](_0x13d254,_0x48baf2);},_0x46c84d[_0x2cd7b7(0x1bb)]=_0x2b82e7=>{var _0xd3e0d0=_0x2cd7b7,_0x4087a8,_0x37a042;return(_0x37a042=(_0x4087a8=this[_0xd3e0d0(0x3c9)])==null?void 0x0:_0x4087a8[_0xd3e0d0(0x1bb)])==null?void 0x0:_0x37a042[_0xd3e0d0(0x20b)](_0x4087a8,_0x2b82e7);},_0x46c84d[_0x2cd7b7(0x38d)]=_0x5c861a=>{var _0x641c75=_0x2cd7b7,_0x323cc9,_0x5110af;return(_0x5110af=(_0x323cc9=this[_0x641c75(0x3c9)])==null?void 0x0:_0x323cc9[_0x641c75(0x38d)])==null?void 0x0:_0x5110af[_0x641c75(0x20b)](_0x323cc9,_0x5c861a);},_0x46c84d[_0x2cd7b7(0x3bc)]=_0x241b79=>{var _0x44500f=_0x2cd7b7,_0x156516,_0x59d766,_0x5e7744;if(!((_0x156516=this['_handlerCallback'])!=null&&_0x156516[_0x44500f(0x3bc)]))throw new Error(_0x44500f(0x390));return(_0x5e7744=(_0x59d766=this[_0x44500f(0x3c9)])==null?void 0x0:_0x59d766[_0x44500f(0x3bc)])==null?void 0x0:_0x5e7744[_0x44500f(0x20b)](_0x59d766,_0x241b79);},_0x46c84d[_0x2cd7b7(0x470)]=_0xd5ac1f=>{var _0x330e1c=_0x2cd7b7,_0x41c790,_0x26a95c,_0x4de5a3;if(!((_0x41c790=this['_handlerCallback'])!=null&&_0x41c790['onTransformRemoteChangesetByStateCache']))throw new Error(_0x330e1c(0x3d0));return(_0x4de5a3=(_0x26a95c=this[_0x330e1c(0x3c9)])==null?void 0x0:_0x26a95c[_0x330e1c(0x470)])==null?void 0x0:_0x4de5a3[_0x330e1c(0x20b)](_0x26a95c,_0xd5ac1f);},_0x46c84d;}async['_init'](){var _0x4cd6b4=_0xe5cf50;const _0x4c7297=await super[_0x4cd6b4(0x2b0)]();return this[_0x4cd6b4(0x1fa)](this[_0x4cd6b4(0x1f5)][_0x4cd6b4(0x2df)]((_0x21631c,_0x10595e)=>{var _0x5b58b9=_0x4cd6b4;if(_0x21631c[_0x5b58b9(0x33d)]!==_0x7679c4[_0x5b58b9(0x288)]||_0x10595e!=null&&_0x10595e[_0x5b58b9(0x2b2)]||_0x10595e!=null&&_0x10595e['onlyLocal']||_0x21631c['id']===_0x23b106['id'])return;const _0x34bb71=_0x21631c[_0x5b58b9(0x365)];if((_0x34bb71==null?void 0x0:_0x34bb71['unitId'])!==this[_0x5b58b9(0x45f)])return;const _0x2ca7f0=_0x21631c,_0x5593a6=this[_0x5b58b9(0x465)]['interceptor'][_0x5b58b9(0x4ac)](this[_0x5b58b9(0x465)]['interceptor'][_0x5b58b9(0x309)]()[_0x5b58b9(0x3ca)])([_0x2ca7f0],null)||[_0x2ca7f0];this[_0x5b58b9(0x36a)](_0x5593a6[0x0]);})),_0x4c7297;}};Tt=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(pe)),k(0x8,_0x4597d7),k(0x9,_0x40e4b8),k(0xa,_0x1f54fc),k(0xb,_0x32cef0(ht)),k(0xc,_0x32cef0(J))],Tt);let Ct=class extends nt{constructor(_0x43ab5c,_0x22a674,_0x5a3b82,_0x128eae,_0x270516,_0x27a2e9,_0xca9409,_0x3c385e,_0x5d34f8,_0xbaea91,_0x471e98,_0x57ba4a,_0x5c750a,_0x503a41){var _0x208859=_0xe5cf50;super(_0x43ab5c,_0x5a3b82,_0x22a674,_0x128eae,_0x270516,_0x27a2e9,_0xca9409,_0x5d34f8,_0xbaea91,_0x471e98,_0x57ba4a,_0x5c750a,_0x503a41),this[_0x208859(0x45f)]=_0x43ab5c,this[_0x208859(0x33d)]=_0x22a674,this[_0x208859(0x3f7)]=_0x3c385e;}[_0xe5cf50(0x43c)](){var _0x36f0be=_0xe5cf50;const _0x29d107=super['_createHandler']();return _0x29d107[_0x36f0be(0x1bb)]=_0x1b5dba=>this[_0x36f0be(0x3f7)][_0x36f0be(0x321)](_0x1b5dba),_0x29d107;}async[_0xe5cf50(0x2b0)](){var _0x40a6ff=_0xe5cf50;const _0x2adea9=await super[_0x40a6ff(0x2b0)]();return this[_0x40a6ff(0x1fa)](this[_0x40a6ff(0x1f5)][_0x40a6ff(0x2df)]((_0x43421b,_0x280674)=>{var _0x4ac153=_0x40a6ff;if(_0x43421b['type']!==_0x7679c4[_0x4ac153(0x288)]||_0x280674!=null&&_0x280674[_0x4ac153(0x2b2)]||_0x280674!=null&&_0x280674[_0x4ac153(0x2e1)])return;const _0x56d41e=_0x43421b['params'];if((_0x56d41e==null?void 0x0:_0x56d41e[_0x4ac153(0x358)])!==this[_0x4ac153(0x45f)])return;const _0x1a67c8=_0x43421b,_0x30211a=this[_0x4ac153(0x465)][_0x4ac153(0x245)]['fetchThroughInterceptors'](this[_0x4ac153(0x465)][_0x4ac153(0x245)][_0x4ac153(0x309)]()['COMPRESS_MUTATION_SEND'])([_0x1a67c8],null)||[_0x1a67c8];this[_0x4ac153(0x36a)](_0x30211a[0x0]);})),_0x2adea9;}};Ct=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(it)),k(0x8,_0x1d51a6(pe)),k(0x9,_0x4597d7),k(0xa,_0x40e4b8),k(0xb,_0x1f54fc),k(0xc,_0x32cef0(ht)),k(0xd,_0x32cef0(J))],Ct);var mr=Object[_0xe5cf50(0x4a7)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0xabeae6,_0x3beebf,_0x46d6fd,_0x211291)=>{for(var _0x5899bd=_0x211291>0x1?void 0x0:_0x211291?gr(_0x3beebf,_0x46d6fd):_0x3beebf,_0x3cc274=_0xabeae6['length']-0x1,_0xcbeaa1;_0x3cc274>=0x0;_0x3cc274--)(_0xcbeaa1=_0xabeae6[_0x3cc274])&&(_0x5899bd=(_0x211291?_0xcbeaa1(_0x3beebf,_0x46d6fd,_0x5899bd):_0xcbeaa1(_0x5899bd))||_0x5899bd);return _0x211291&&_0x5899bd&&mr(_0x3beebf,_0x46d6fd,_0x5899bd),_0x5899bd;},ft=(_0xec0e57,_0x46a525)=>(_0x15ffd0,_0x241c62)=>_0x46a525(_0x15ffd0,_0x241c62,_0xec0e57);let rt=class extends _0x155349{constructor(_0x8949e3,_0x17272c,_0x45fd9b){var _0x575872=_0xe5cf50;super(),N(this,_0x575872(0x37a),new Map()),N(this,'_entityInit$',new _0x355bd5()),N(this,'entityInit$',this['_entityInit$']['asObservable']()),(this['_injector']=_0x8949e3,this[_0x575872(0x305)]=_0x17272c,this[_0x575872(0x1f3)]=_0x45fd9b,this[_0x575872(0x2b0)]());}[_0xe5cf50(0x410)](){var _0x889bc0=_0xe5cf50;super[_0x889bc0(0x410)](),this[_0x889bc0(0x37a)][_0x889bc0(0x21a)](_0x472b19=>_0x472b19[_0x889bc0(0x410)]()),this['_entities'][_0x889bc0(0x314)]();}['getCollabEntity'](_0x25bc08){var _0x4d5325=_0xe5cf50,_0x23be81;return(_0x23be81=this[_0x4d5325(0x37a)][_0x4d5325(0x442)](_0x25bc08))!=null?_0x23be81:null;}[_0xe5cf50(0x28b)](_0x479b7a){var _0x20c591=_0xe5cf50;const _0xd585ae=this[_0x20c591(0x389)](_0x479b7a);return _0xd585ae?_0x6fb856(_0xd585ae):this[_0x20c591(0x329)][_0x20c591(0x34d)](_0x2c2600(_0xf1d685=>_0xf1d685['unitID']===_0x479b7a));}[_0xe5cf50(0x3cb)](_0xf3adb0){var _0x120cc2=_0xe5cf50;return _0x5ae48c(this['getCollabEntity$'](_0xf3adb0)[_0x120cc2(0x34d)](_0x137573(()=>{})));}[_0xe5cf50(0x2b0)](){var _0x46809d=_0xe5cf50;this[_0x46809d(0x1f3)]['getTypeOfUnitAdded$'](_0xed9f94[_0x46809d(0x427)])[_0x46809d(0x34d)](_0x349e1a(this[_0x46809d(0x3a7)]),_0x513ef8(0x10))[_0x46809d(0x1e9)](async _0x14dc67=>{var _0x5d048e=_0x46809d;const _0x4cc0be=_0x14dc67[_0x5d048e(0x326)](),_0x1f7e2f=await this['_startCollaboration'](_0x4cc0be,Q[_0x5d048e(0x427)]);this['_entities'][_0x5d048e(0x458)](_0x4cc0be,_0x1f7e2f);}),this[_0x46809d(0x1f3)][_0x46809d(0x32a)](_0xed9f94[_0x46809d(0x2cf)])['pipe'](_0x349e1a(this[_0x46809d(0x3a7)]),_0x513ef8(0x10))[_0x46809d(0x34d)](_0x2c2600(_0x3247d1=>!_0x3247d1[_0x46809d(0x326)]()[_0x46809d(0x237)]('__')))[_0x46809d(0x1e9)](async _0x393517=>{var _0x10a972=_0x46809d;const _0x13b7d0=_0x393517[_0x10a972(0x326)](),_0x21af3f=await this[_0x10a972(0x3cf)](_0x13b7d0,Q['UNIVER_DOC']);this['_entities'][_0x10a972(0x458)](_0x13b7d0,_0x21af3f);}),_0x25b517(this[_0x46809d(0x1f3)][_0x46809d(0x1ff)](_0xed9f94[_0x46809d(0x427)]),this[_0x46809d(0x1f3)]['getTypeOfUnitDisposed$'](_0xed9f94[_0x46809d(0x2cf)]))[_0x46809d(0x34d)](_0x349e1a(this[_0x46809d(0x3a7)]))['subscribe'](_0x1d2be4=>{var _0x2d7c4e=_0x46809d;const _0x1d1a71=_0x1d2be4['getUnitId'](),_0x48ada3=this[_0x2d7c4e(0x37a)][_0x2d7c4e(0x442)](_0x1d1a71);_0x48ada3&&(_0x48ada3[_0x2d7c4e(0x410)](),this['_entities']['delete'](_0x1d1a71));});}async['_startCollaboration'](_0x1d4e42,_0x1f7d52){var _0x53b8e1=_0xe5cf50;const _0x1932f5=await this['_collabSessionService'][_0x53b8e1(0x41d)](_0x1d4e42),_0x10e480=this[_0x53b8e1(0x49d)][_0x53b8e1(0x3c4)](this[_0x53b8e1(0x256)](_0x1f7d52),_0x1d4e42,_0x1f7d52,_0x1932f5);return await _0x10e480[_0x53b8e1(0x426)](),this['_entityInit$'][_0x53b8e1(0x1dd)](_0x10e480),_0x10e480;}[_0xe5cf50(0x256)](_0x43d939){var _0x37968f=_0xe5cf50;switch(_0x43d939){case Q['UNIVER_DOC']:return Tt;case Q[_0x37968f(0x427)]:return Ct;default:throw new Error(_0x37968f(0x1d1)+_0x43d939);}}};rt=Sr([ft(0x0,_0x1d51a6(_0x1edb1c)),ft(0x1,_0x1d51a6(Le)),ft(0x2,_0x25173e)],rt);var Er=Object['defineProperty'],Ir=Object[_0xe5cf50(0x324)],Tr=(_0x24c2b5,_0x48527a,_0x31d4f3,_0x3ee160)=>{var _0x58b6c7=_0xe5cf50;for(var _0x24e1d9=_0x3ee160>0x1?void 0x0:_0x3ee160?Ir(_0x48527a,_0x31d4f3):_0x48527a,_0x5d89dc=_0x24c2b5[_0x58b6c7(0x2da)]-0x1,_0x2bc65b;_0x5d89dc>=0x0;_0x5d89dc--)(_0x2bc65b=_0x24c2b5[_0x5d89dc])&&(_0x24e1d9=(_0x3ee160?_0x2bc65b(_0x48527a,_0x31d4f3,_0x24e1d9):_0x2bc65b(_0x24e1d9))||_0x24e1d9);return _0x3ee160&&_0x24e1d9&&Er(_0x48527a,_0x31d4f3,_0x24e1d9),_0x24e1d9;},Jt=(_0x6d20b4,_0xf3ef4e)=>(_0x271b0c,_0x47f8f9)=>_0xf3ef4e(_0x271b0c,_0x47f8f9,_0x6d20b4);const Cr=_0xe5cf50(0x36c),Rr=_0xe5cf50(0x1e3);let Rt=class extends _0x15bb7e{constructor(_0x571859,_0x5e6154){var _0x1ff300=_0xe5cf50;super(),this['_univerInstanceService']=_0x571859,this[_0x1ff300(0x3ae)]=_0x5e6154,this[_0x1ff300(0x2b0)]();}[_0xe5cf50(0x2b0)](){var _0x4a2b8a=_0xe5cf50;this[_0x4a2b8a(0x1fa)](this['_univerInstanceService']['focused$'][_0x4a2b8a(0x1e9)](()=>{var _0x1ae3ca=_0x4a2b8a,_0x3b5bb8;const _0x2de3d4=this['_univerInstanceService']['getFocusedUnit']();let _0x57269f=(_0x3b5bb8=this['_configService']['getConfig'](Cr))!=null?_0x3b5bb8:Rr;_0x2de3d4 instanceof _0x4fa49c&&(_0x57269f=_0x2de3d4[_0x1ae3ca(0x436)]),document[_0x1ae3ca(0x1ce)]=_0x57269f;}));}};Rt=Tr([Jt(0x0,_0x25173e),Jt(0x1,_0x22ebb9)],Rt);var br=Object[_0xe5cf50(0x4a7)],Or=Object[_0xe5cf50(0x324)],yr=(_0x37a0f1,_0x4e345c,_0x1747b3,_0x1a9e18)=>{var _0x3a9de7=_0xe5cf50;for(var _0x1c2888=_0x1a9e18>0x1?void 0x0:_0x1a9e18?Or(_0x4e345c,_0x1747b3):_0x4e345c,_0x58d8b5=_0x37a0f1[_0x3a9de7(0x2da)]-0x1,_0x3b0f6c;_0x58d8b5>=0x0;_0x58d8b5--)(_0x3b0f6c=_0x37a0f1[_0x58d8b5])&&(_0x1c2888=(_0x1a9e18?_0x3b0f6c(_0x4e345c,_0x1747b3,_0x1c2888):_0x3b0f6c(_0x1c2888))||_0x1c2888);return _0x1a9e18&&_0x1c2888&&br(_0x4e345c,_0x1747b3,_0x1c2888),_0x1c2888;},vt=(_0x481cbb,_0x27a309)=>(_0x5723fd,_0xe37ae3)=>_0x27a309(_0x5723fd,_0xe37ae3,_0x481cbb);let st=class{constructor(_0x4cd6ba,_0x194b29,_0x195d68){var _0x4e3f5c=_0xe5cf50;this['_configService']=_0x4cd6ba,this[_0x4e3f5c(0x36e)]=_0x194b29,this['localeService']=_0x195d68,this[_0x4e3f5c(0x426)]();}[_0xe5cf50(0x426)](){var _0x2de9d7=_0xe5cf50;this[_0x2de9d7(0x36e)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x117b18,_0x46c23d)=>_0x46c23d(_0x117b18)['pipe'](_0x1b2c8c(async _0xc0a036=>{var _0xc424c9=_0x2de9d7;const _0x50e21d=_0xc0a036;if(_0x50e21d[_0xc424c9(0x3fb)]===0x191){if(typeof window>'u')throw new Error(_0xc424c9(0x1be));if(window['confirm'](this[_0xc424c9(0x2a6)]['t'](_0xc424c9(0x1d6)))){const _0x57d869=window['encodeURIComponent'](window[_0xc424c9(0x3f5)][_0xc424c9(0x235)]);window[_0xc424c9(0x3f5)][_0xc424c9(0x235)]=this['_getLoginPath']()+_0xc424c9(0x1ab)+_0x57d869;}}return _0x50e21d;}))});}[_0xe5cf50(0x359)](){var _0x299406=_0xe5cf50,_0x3218a8,_0x23d788;const _0x2b4c98=this[_0x299406(0x3ae)]['getConfig'](xn),_0x17c0bc=this[_0x299406(0x3ae)]['getConfig'](q);return(_0x23d788=(_0x3218a8=_0x17c0bc==null?void 0x0:_0x17c0bc[_0x299406(0x432)])!=null?_0x3218a8:_0x2b4c98)!=null?_0x23d788:Ln;}};st=yr([vt(0x0,_0x22ebb9),vt(0x1,_0x1d51a6(_0x2e5962)),vt(0x2,_0x1d51a6(_0x3e1840))],st);var Nr=Object['defineProperty'],Dr=Object[_0xe5cf50(0x324)],Pr=(_0x1dd003,_0x5a434a,_0xd1d699,_0x4f40a3)=>{var _0x67cfe6=_0xe5cf50;for(var _0x25ba81=_0x4f40a3>0x1?void 0x0:_0x4f40a3?Dr(_0x5a434a,_0xd1d699):_0x5a434a,_0x1c3ada=_0x1dd003[_0x67cfe6(0x2da)]-0x1,_0x50e142;_0x1c3ada>=0x0;_0x1c3ada--)(_0x50e142=_0x1dd003[_0x1c3ada])&&(_0x25ba81=(_0x4f40a3?_0x50e142(_0x5a434a,_0xd1d699,_0x25ba81):_0x50e142(_0x25ba81))||_0x25ba81);return _0x4f40a3&&_0x25ba81&&Nr(_0x5a434a,_0xd1d699,_0x25ba81),_0x25ba81;},Xt=(_0x1a8d9d,_0x547089)=>(_0x2ec02f,_0x1a8daa)=>_0x547089(_0x2ec02f,_0x1a8daa,_0x1a8d9d);const Pi=_0xe5cf50(0x210),wr=_0xe5cf50(0x307);let bt=class extends _0x15bb7e{constructor(_0x4de2d4,_0x33bf7e){var _0x2ecb2c=_0xe5cf50;super(),this[_0x2ecb2c(0x462)]=_0x4de2d4,this[_0x2ecb2c(0x3ae)]=_0x33bf7e,this[_0x2ecb2c(0x406)]();}[_0xe5cf50(0x406)](){var _0x243c93=_0xe5cf50;const _0x1d3fa4=this;this['disposeWithMe'](this[_0x243c93(0x462)][_0x243c93(0x2d6)]({'priority':0x3e7,'interceptor':_0x9f0991({'isMatch'(_0x47b9c1){var _0x4841b2=_0x243c93,_0x33cf3e;if(_0x47b9c1[_0x4841b2(0x3c2)]==='POST'&&((_0x33cf3e=_0x47b9c1[_0x4841b2(0x344)])!=null&&_0x33cf3e['body'])){const {objectID:_0x3e9ca7,objectType:_0x2e8f64}=_0x47b9c1['requestParams']['body']||{};if(!_0x3e9ca7||_0x2e8f64===void 0x0)return!0x1;const _0xf1736e=_0x1d3fa4['_getAPIPrefixPath']()+'/'+_0x2e8f64+'/object/'+_0x3e9ca7+_0x4841b2(0x40f);if(_0x47b9c1[_0x4841b2(0x333)]===_0xf1736e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51f999){var _0x5e2872=_0x243c93,_0x3075f2;return(_0x3075f2=_0x51f999[_0x5e2872(0x344)])==null?void 0x0:_0x3075f2[_0x5e2872(0x2f7)];},'mergeParamsToRequest'(_0x15f4f4,_0x408c0f){var _0xd5e872=_0x243c93;const _0xa8b5c6=_0x1d3fa4[_0xd5e872(0x300)]()+_0xd5e872(0x1c3),_0x56ab0d=_0x15f4f4['reduce']((_0x3f5968,_0xf1e5d3)=>{var _0x50142f=_0xd5e872;const {unitID:_0x24719a,objectID:_0x28d0c7,objectType:_0x1f9369,actions:_0x57978b}=_0xf1e5d3;return _0x3f5968[_0x24719a]||(_0x3f5968[_0x24719a]={}),_0x3f5968[_0x24719a][_0x28d0c7]||(_0x3f5968[_0x24719a][_0x28d0c7]={'objectID':_0x28d0c7,'objectType':_0x1f9369,'actions':[]}),_0x3f5968[_0x24719a][_0x28d0c7][_0x50142f(0x2ea)][_0x50142f(0x430)](..._0x57978b),_0x3f5968;},{}),_0x3dd58c=[];for(const _0x2cbd98 in _0x56ab0d)for(const _0x51f4ed in _0x56ab0d[_0x2cbd98]){const {actions:_0x185547,objectType:_0x55c70f}=_0x56ab0d[_0x2cbd98][_0x51f4ed],_0x5e8b93=[...new Set(_0x185547)];_0x3dd58c[_0xd5e872(0x430)]({'unitID':_0x2cbd98,'objectID':_0x51f4ed,'objectType':_0x55c70f,'actions':_0x5e8b93});}return new _0x18d74a('POST',_0xa8b5c6,{'headers':_0x408c0f[_0xd5e872(0x433)],'withCredentials':_0x408c0f[_0xd5e872(0x1d8)],'responseType':_0x408c0f[_0xd5e872(0x2e0)],'body':{'requests':_0x3dd58c}});}},{'distributeResult'(_0x2a9141,_0x39c263){var _0x5075fd=_0x243c93;const {objectActions:_0x3ed65b}=_0x2a9141;return _0x39c263[_0x5075fd(0x1f7)](_0x54fe34=>{var _0x3fc510=_0x5075fd;const {unitID:_0x1c6e06,objectID:_0x3e48e8,actions:_0x37bf57}=_0x54fe34,_0x3c5537=_0x3ed65b[_0x3fc510(0x315)](_0x3189f7=>_0x3189f7['unitID']===_0x1c6e06&&_0x3189f7[_0x3fc510(0x49e)]===_0x3e48e8),_0x3b2ed5=_0x37bf57[_0x3fc510(0x1f7)](_0x3a66bf=>_0x3c5537==null?void 0x0:_0x3c5537[_0x3fc510(0x2ea)][_0x3fc510(0x315)](_0x249c53=>_0x249c53[_0x3fc510(0x350)]===_0x3a66bf))['filter'](_0x1b506d=>!!_0x1b506d);return{'config':_0x54fe34,'result':{'actions':_0x3b2ed5,'error':_0x2a9141[_0x3fc510(0x21e)]}};});}})}));}[_0xe5cf50(0x300)](){var _0x5290b0=_0xe5cf50,_0x3c69f6,_0x51c053;const _0x1e3ca1=this[_0x5290b0(0x3ae)][_0x5290b0(0x2ae)](Pi),_0x5b15e5=this['_configService'][_0x5290b0(0x2ae)](q);return(_0x51c053=(_0x3c69f6=_0x5b15e5==null?void 0x0:_0x5b15e5[_0x5290b0(0x42d)])!=null?_0x3c69f6:_0x1e3ca1)!=null?_0x51c053:wr;}async[_0xe5cf50(0x475)](_0x25998e){var _0x461c39=_0xe5cf50;const _0x3354ec=this[_0x461c39(0x300)]()+'/'+_0x25998e[_0x461c39(0x351)]+_0x461c39(0x362);return(await this[_0x461c39(0x462)]['post'](_0x3354ec,{'body':_0x25998e}))[_0x461c39(0x2f7)]['objectID']||'';}async['list'](_0x4a8f70){var _0x5be200=_0xe5cf50;const _0x30c2cc=this[_0x5be200(0x300)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x30c2cc,{'body':_0x4a8f70}))['body'][_0x5be200(0x3a8)];}async[_0xe5cf50(0x3de)](_0x29eedf){var _0x37e2c9=_0xe5cf50;const _0x44855c=this[_0x37e2c9(0x300)]()+'/'+_0x29eedf[_0x37e2c9(0x351)]+_0x37e2c9(0x378)+_0x29eedf['objectID'];await this[_0x37e2c9(0x462)][_0x37e2c9(0x1c7)](_0x44855c,{'body':_0x29eedf});}async[_0xe5cf50(0x200)](_0x5dd12a){var _0x83272a=_0xe5cf50;const _0x537c1b=this['_getAPIPrefixPath']()+'/'+_0x5dd12a[_0x83272a(0x351)]+_0x83272a(0x378)+_0x5dd12a[_0x83272a(0x49e)]+'/allowed';return(await this['_HTTPService']['post'](_0x537c1b,{'body':_0x5dd12a}))[_0x83272a(0x2f7)][_0x83272a(0x2ea)];}async['batchAllowed'](_0x1160f7){var _0x2eb186=_0xe5cf50;const _0x2bea57=this[_0x2eb186(0x300)]()+_0x2eb186(0x1c3);return(await this[_0x2eb186(0x462)][_0x2eb186(0x3b8)](_0x2bea57,{'body':{'requests':_0x1160f7}}))['body'][_0x2eb186(0x1c4)];}async[_0xe5cf50(0x46b)](_0x87f886){var _0x58e756=_0xe5cf50;const _0x271c68=this['_getAPIPrefixPath']()+'/'+_0x87f886[_0x58e756(0x351)]+_0x58e756(0x428),_0x243a8b=await this[_0x58e756(0x462)][_0x58e756(0x3b8)](_0x271c68,{'body':_0x87f886});return{'roles':_0x243a8b['body'][_0x58e756(0x231)],'actions':_0x243a8b['body'][_0x58e756(0x2ea)]};}async['deleteCollaborator'](_0x3aee3f){var _0x3655b7=_0xe5cf50;const _0xcc5c1=this[_0x3655b7(0x300)]()+_0x3655b7(0x2c9);await this[_0x3655b7(0x462)][_0x3655b7(0x494)](_0xcc5c1,{'params':{'collaboratorID':_0x3aee3f[_0x3655b7(0x355)],'objectID':_0x3aee3f[_0x3655b7(0x49e)],'unitID':_0x3aee3f[_0x3655b7(0x45f)]}});}async[_0xe5cf50(0x2ac)](_0x384119){var _0x1d7818=_0xe5cf50;const _0x53e29a=this[_0x1d7818(0x300)]()+'/collaborator';await this[_0x1d7818(0x462)][_0x1d7818(0x236)](_0x53e29a,{'body':_0x384119});}async[_0xe5cf50(0x49b)](_0x83ebf7){var _0x1110bc=_0xe5cf50;const _0x4abc20=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1110bc(0x462)][_0x1110bc(0x3b8)](_0x4abc20,{'body':_0x83ebf7});}async[_0xe5cf50(0x1ed)](_0x23610d){var _0x56460d=_0xe5cf50;const _0x8bc721=this[_0x56460d(0x300)]()+'/collaborator';return(await this[_0x56460d(0x462)][_0x56460d(0x442)](_0x8bc721,{'params':{'objectID':_0x23610d[_0x56460d(0x49e)],'unitID':_0x23610d[_0x56460d(0x45f)]}}))[_0x56460d(0x2f7)][_0x56460d(0x25f)];}async[_0xe5cf50(0x1b4)](_0x3d9742){var _0x1d1671=_0xe5cf50;const _0x112979=this['_getAPIPrefixPath']()+_0x1d1671(0x2c9);await this['_HTTPService'][_0x1d1671(0x1c7)](_0x112979,{'body':_0x3d9742});}};bt=Pr([Xt(0x0,_0x1d51a6(_0x2e5962)),Xt(0x1,_0x1d51a6(_0x22ebb9))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x28b594){var _0x45a6f4=_0xe5cf50;return _0x28b594&&_0x28b594[_0x45a6f4(0x35b)]&&Object[_0x45a6f4(0x239)]['hasOwnProperty'][_0x45a6f4(0x20b)](_0x28b594,_0x45a6f4(0x318))?_0x28b594[_0x45a6f4(0x318)]:_0x28b594;}var Ve={'exports':{}};function Ur(_0x2e10ab){var _0x4395be=_0xe5cf50;throw new Error(_0x4395be(0x2b7)+_0x2e10ab+_0x4395be(0x2a5));}var Ge={'exports':{}},Ar=Ge[_0xe5cf50(0x3bb)],Zt;function ne(){var _0x1160de=_0xe5cf50;return Zt||(Zt=0x1,function(_0x6fd4c5,_0x360ec0){(function(_0x2184a9,_0x9ad6e0){var _0x46ef4c=_0x6808;_0x6fd4c5[_0x46ef4c(0x3bb)]=_0x9ad6e0();}(Ar,function(){var _0xb24922=_0xb24922||function(_0x86cfc2,_0x6b4786){var _0x881fd8=_0x6808,_0x530d61;if(typeof window<'u'&&window['crypto']&&(_0x530d61=window['crypto']),typeof self<'u'&&self[_0x881fd8(0x396)]&&(_0x530d61=self[_0x881fd8(0x396)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x530d61=globalThis['crypto']),!_0x530d61&&typeof window<'u'&&window['msCrypto']&&(_0x530d61=window[_0x881fd8(0x286)]),!_0x530d61&&typeof pt<'u'&&pt[_0x881fd8(0x396)]&&(_0x530d61=pt[_0x881fd8(0x396)]),!_0x530d61&&typeof Ur=='function')try{_0x530d61=require(_0x881fd8(0x396));}catch{}var _0x45a724=function(){var _0xff4738=_0x881fd8;if(_0x530d61){if(typeof _0x530d61[_0xff4738(0x331)]==_0xff4738(0x29b))try{return _0x530d61[_0xff4738(0x331)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x530d61[_0xff4738(0x48d)]==_0xff4738(0x29b))try{return _0x530d61[_0xff4738(0x48d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xff4738(0x48a));},_0x32ddc7=Object[_0x881fd8(0x475)]||(function(){function _0x1dbf37(){}return function(_0x140b44){var _0x40e9c8=_0x6808,_0x147355;return _0x1dbf37[_0x40e9c8(0x239)]=_0x140b44,_0x147355=new _0x1dbf37(),_0x1dbf37[_0x40e9c8(0x239)]=null,_0x147355;};}()),_0x1b0d76={},_0x4f80a3=_0x1b0d76['lib']={},_0x36dcb2=_0x4f80a3['Base']=(function(){return{'extend':function(_0x37beda){var _0x320e6c=_0x6808,_0xb801c=_0x32ddc7(this);return _0x37beda&&_0xb801c[_0x320e6c(0x25c)](_0x37beda),(!_0xb801c[_0x320e6c(0x387)]('init')||this[_0x320e6c(0x426)]===_0xb801c[_0x320e6c(0x426)])&&(_0xb801c[_0x320e6c(0x426)]=function(){var _0x39a679=_0x320e6c;_0xb801c[_0x39a679(0x356)]['init'][_0x39a679(0x1e5)](this,arguments);}),_0xb801c[_0x320e6c(0x426)]['prototype']=_0xb801c,_0xb801c['$super']=this,_0xb801c;},'create':function(){var _0x123793=_0x6808,_0x547e6e=this[_0x123793(0x1e0)]();return _0x547e6e[_0x123793(0x426)]['apply'](_0x547e6e,arguments),_0x547e6e;},'init':function(){},'mixIn':function(_0x27ba7a){var _0x59f90a=_0x6808;for(var _0x512ade in _0x27ba7a)_0x27ba7a['hasOwnProperty'](_0x512ade)&&(this[_0x512ade]=_0x27ba7a[_0x512ade]);_0x27ba7a[_0x59f90a(0x387)](_0x59f90a(0x1c1))&&(this['toString']=_0x27ba7a[_0x59f90a(0x1c1)]);},'clone':function(){var _0x51884e=_0x6808;return this[_0x51884e(0x426)][_0x51884e(0x239)]['extend'](this);}};}()),_0x8408bc=_0x4f80a3[_0x881fd8(0x35d)]=_0x36dcb2[_0x881fd8(0x1e0)]({'init':function(_0x2d6176,_0x52649f){var _0x1e4efd=_0x881fd8;_0x2d6176=this[_0x1e4efd(0x1c8)]=_0x2d6176||[],_0x52649f!=_0x6b4786?this['sigBytes']=_0x52649f:this['sigBytes']=_0x2d6176['length']*0x4;},'toString':function(_0x35725){var _0x269892=_0x881fd8;return(_0x35725||_0xc36204)[_0x269892(0x3e1)](this);},'concat':function(_0x3ff6e7){var _0x99b04=_0x881fd8,_0x3cb1ef=this[_0x99b04(0x1c8)],_0x503bff=_0x3ff6e7['words'],_0x2baef1=this[_0x99b04(0x488)],_0x88c7b7=_0x3ff6e7[_0x99b04(0x488)];if(this[_0x99b04(0x2d8)](),_0x2baef1%0x4)for(var _0x537c21=0x0;_0x537c21<_0x88c7b7;_0x537c21++){var _0x3fa1db=_0x503bff[_0x537c21>>>0x2]>>>0x18-_0x537c21%0x4*0x8&0xff;_0x3cb1ef[_0x2baef1+_0x537c21>>>0x2]|=_0x3fa1db<<0x18-(_0x2baef1+_0x537c21)%0x4*0x8;}else{for(var _0x2c726f=0x0;_0x2c726f<_0x88c7b7;_0x2c726f+=0x4)_0x3cb1ef[_0x2baef1+_0x2c726f>>>0x2]=_0x503bff[_0x2c726f>>>0x2];}return this[_0x99b04(0x488)]+=_0x88c7b7,this;},'clamp':function(){var _0x32e681=_0x881fd8,_0x398064=this[_0x32e681(0x1c8)],_0x41db9a=this[_0x32e681(0x488)];_0x398064[_0x41db9a>>>0x2]&=0xffffffff<<0x20-_0x41db9a%0x4*0x8,_0x398064[_0x32e681(0x2da)]=_0x86cfc2[_0x32e681(0x2fa)](_0x41db9a/0x4);},'clone':function(){var _0x5ed469=_0x881fd8,_0x499be7=_0x36dcb2[_0x5ed469(0x486)]['call'](this);return _0x499be7[_0x5ed469(0x1c8)]=this['words'][_0x5ed469(0x3aa)](0x0),_0x499be7;},'random':function(_0x58f9ca){var _0xae134a=_0x881fd8;for(var _0x543056=[],_0x2f3526=0x0;_0x2f3526<_0x58f9ca;_0x2f3526+=0x4)_0x543056['push'](_0x45a724());return new _0x8408bc[(_0xae134a(0x426))](_0x543056,_0x58f9ca);}}),_0x30a819=_0x1b0d76[_0x881fd8(0x423)]={},_0xc36204=_0x30a819[_0x881fd8(0x299)]={'stringify':function(_0x5b6678){var _0x3559a0=_0x881fd8;for(var _0x11c9bf=_0x5b6678[_0x3559a0(0x1c8)],_0x2dd375=_0x5b6678[_0x3559a0(0x488)],_0x253126=[],_0x318323=0x0;_0x318323<_0x2dd375;_0x318323++){var _0x25d52a=_0x11c9bf[_0x318323>>>0x2]>>>0x18-_0x318323%0x4*0x8&0xff;_0x253126[_0x3559a0(0x430)]((_0x25d52a>>>0x4)[_0x3559a0(0x1c1)](0x10)),_0x253126[_0x3559a0(0x430)]((_0x25d52a&0xf)[_0x3559a0(0x1c1)](0x10));}return _0x253126[_0x3559a0(0x1c9)]('');},'parse':function(_0x357098){var _0x549b42=_0x881fd8;for(var _0xffab4b=_0x357098['length'],_0x567921=[],_0x46f94f=0x0;_0x46f94f<_0xffab4b;_0x46f94f+=0x2)_0x567921[_0x46f94f>>>0x3]|=parseInt(_0x357098[_0x549b42(0x223)](_0x46f94f,0x2),0x10)<<0x18-_0x46f94f%0x8*0x4;return new _0x8408bc[(_0x549b42(0x426))](_0x567921,_0xffab4b/0x2);}},_0x2340a9=_0x30a819[_0x881fd8(0x26c)]={'stringify':function(_0x2e7a70){var _0x255271=_0x881fd8;for(var _0x2c3ab2=_0x2e7a70['words'],_0x75ee5f=_0x2e7a70['sigBytes'],_0x535abc=[],_0x22b033=0x0;_0x22b033<_0x75ee5f;_0x22b033++){var _0x289da4=_0x2c3ab2[_0x22b033>>>0x2]>>>0x18-_0x22b033%0x4*0x8&0xff;_0x535abc['push'](String[_0x255271(0x2e9)](_0x289da4));}return _0x535abc[_0x255271(0x1c9)]('');},'parse':function(_0x3135b0){var _0x580816=_0x881fd8;for(var _0x459a19=_0x3135b0['length'],_0x1b7836=[],_0xe21821=0x0;_0xe21821<_0x459a19;_0xe21821++)_0x1b7836[_0xe21821>>>0x2]|=(_0x3135b0[_0x580816(0x489)](_0xe21821)&0xff)<<0x18-_0xe21821%0x4*0x8;return new _0x8408bc['init'](_0x1b7836,_0x459a19);}},_0x25f692=_0x30a819[_0x881fd8(0x317)]={'stringify':function(_0x2d3285){var _0x1c2212=_0x881fd8;try{return decodeURIComponent(escape(_0x2340a9[_0x1c2212(0x3e1)](_0x2d3285)));}catch{throw new Error(_0x1c2212(0x380));}},'parse':function(_0x5367b7){var _0x4aef2a=_0x881fd8;return _0x2340a9[_0x4aef2a(0x44e)](unescape(encodeURIComponent(_0x5367b7)));}},_0x8015c7=_0x4f80a3['BufferedBlockAlgorithm']=_0x36dcb2[_0x881fd8(0x1e0)]({'reset':function(){var _0x3e91e7=_0x881fd8;this[_0x3e91e7(0x258)]=new _0x8408bc['init'](),this[_0x3e91e7(0x3d5)]=0x0;},'_append':function(_0x13bad5){var _0x257f63=_0x881fd8;typeof _0x13bad5==_0x257f63(0x1e4)&&(_0x13bad5=_0x25f692[_0x257f63(0x44e)](_0x13bad5)),this[_0x257f63(0x258)]['concat'](_0x13bad5),this[_0x257f63(0x3d5)]+=_0x13bad5[_0x257f63(0x488)];},'_process':function(_0x2e2f77){var _0x2d37fa=_0x881fd8,_0x2397f5,_0x21e9e8=this[_0x2d37fa(0x258)],_0x100ada=_0x21e9e8['words'],_0x4cd7da=_0x21e9e8[_0x2d37fa(0x488)],_0x6f5620=this[_0x2d37fa(0x327)],_0x4c50ad=_0x6f5620*0x4,_0x2cfe4b=_0x4cd7da/_0x4c50ad;_0x2e2f77?_0x2cfe4b=_0x86cfc2[_0x2d37fa(0x2fa)](_0x2cfe4b):_0x2cfe4b=_0x86cfc2['max']((_0x2cfe4b|0x0)-this[_0x2d37fa(0x21d)],0x0);var _0x43a149=_0x2cfe4b*_0x6f5620,_0x241f89=_0x86cfc2[_0x2d37fa(0x394)](_0x43a149*0x4,_0x4cd7da);if(_0x43a149){for(var _0x543711=0x0;_0x543711<_0x43a149;_0x543711+=_0x6f5620)this['_doProcessBlock'](_0x100ada,_0x543711);_0x2397f5=_0x100ada[_0x2d37fa(0x3fc)](0x0,_0x43a149),_0x21e9e8['sigBytes']-=_0x241f89;}return new _0x8408bc[(_0x2d37fa(0x426))](_0x2397f5,_0x241f89);},'clone':function(){var _0x2fea41=_0x881fd8,_0x3addc9=_0x36dcb2[_0x2fea41(0x486)][_0x2fea41(0x20b)](this);return _0x3addc9['_data']=this['_data'][_0x2fea41(0x486)](),_0x3addc9;},'_minBufferSize':0x0});_0x4f80a3[_0x881fd8(0x456)]=_0x8015c7[_0x881fd8(0x1e0)]({'cfg':_0x36dcb2['extend'](),'init':function(_0x284026){var _0x597d5d=_0x881fd8;this[_0x597d5d(0x481)]=this[_0x597d5d(0x481)][_0x597d5d(0x1e0)](_0x284026),this[_0x597d5d(0x1ea)]();},'reset':function(){var _0x40b23b=_0x881fd8;_0x8015c7[_0x40b23b(0x1ea)][_0x40b23b(0x20b)](this),this['_doReset']();},'update':function(_0x99d29a){var _0x70a31b=_0x881fd8;return this[_0x70a31b(0x262)](_0x99d29a),this['_process'](),this;},'finalize':function(_0x5d171a){var _0x2118ad=_0x881fd8;_0x5d171a&&this[_0x2118ad(0x262)](_0x5d171a);var _0x13c57a=this[_0x2118ad(0x316)]();return _0x13c57a;},'blockSize':0x10,'_createHelper':function(_0x391305){return function(_0x1f2fd7,_0x5d379c){var _0x2388f3=_0x6808;return new _0x391305[(_0x2388f3(0x426))](_0x5d379c)['finalize'](_0x1f2fd7);};},'_createHmacHelper':function(_0x3b7acd){return function(_0x596c48,_0x3b8554){var _0x30646c=_0x6808;return new _0xdb577b['HMAC'][(_0x30646c(0x426))](_0x3b7acd,_0x3b8554)[_0x30646c(0x281)](_0x596c48);};}});var _0xdb577b=_0x1b0d76[_0x881fd8(0x1b1)]={};return _0x1b0d76;}(Math);return _0xb24922;}));}(Ge)),Ge[_0x1160de(0x3bb)];}var We={'exports':{}},xr=We[_0xe5cf50(0x3bb)],Qt;function wi(){var _0x297854=_0xe5cf50;return Qt||(Qt=0x1,function(_0x5093ce,_0x5695b6){(function(_0x29c8fe,_0x43ca68){var _0x5e7af5=_0x6808;_0x5093ce[_0x5e7af5(0x3bb)]=_0x43ca68(ne());}(xr,function(_0x34a28e){var _0x44ae7e=_0x6808;return(function(){var _0x46b710=_0x6808,_0x4b0a10=_0x34a28e,_0x18d618=_0x4b0a10['lib'],_0xa96431=_0x18d618[_0x46b710(0x35d)],_0x495d0c=_0x4b0a10[_0x46b710(0x423)];_0x495d0c[_0x46b710(0x244)]={'stringify':function(_0x4037fa){var _0x5c3c4c=_0x46b710,_0x7523ce=_0x4037fa['words'],_0x1dd95b=_0x4037fa[_0x5c3c4c(0x488)],_0x5f4222=this[_0x5c3c4c(0x411)];_0x4037fa[_0x5c3c4c(0x2d8)]();for(var _0x315d2f=[],_0x28e8f7=0x0;_0x28e8f7<_0x1dd95b;_0x28e8f7+=0x3)for(var _0x54cf48=_0x7523ce[_0x28e8f7>>>0x2]>>>0x18-_0x28e8f7%0x4*0x8&0xff,_0x2c8647=_0x7523ce[_0x28e8f7+0x1>>>0x2]>>>0x18-(_0x28e8f7+0x1)%0x4*0x8&0xff,_0x1af9fc=_0x7523ce[_0x28e8f7+0x2>>>0x2]>>>0x18-(_0x28e8f7+0x2)%0x4*0x8&0xff,_0x363c69=_0x54cf48<<0x10|_0x2c8647<<0x8|_0x1af9fc,_0x26dc18=0x0;_0x26dc18<0x4&&_0x28e8f7+_0x26dc18*0.75<_0x1dd95b;_0x26dc18++)_0x315d2f[_0x5c3c4c(0x430)](_0x5f4222[_0x5c3c4c(0x28e)](_0x363c69>>>0x6*(0x3-_0x26dc18)&0x3f));var _0x3c5bd8=_0x5f4222[_0x5c3c4c(0x28e)](0x40);if(_0x3c5bd8){for(;_0x315d2f[_0x5c3c4c(0x2da)]%0x4;)_0x315d2f[_0x5c3c4c(0x430)](_0x3c5bd8);}return _0x315d2f['join']('');},'parse':function(_0x3f8703){var _0xbaa42=_0x46b710,_0xf0a31a=_0x3f8703[_0xbaa42(0x2da)],_0x3131b6=this[_0xbaa42(0x411)],_0x1ee476=this[_0xbaa42(0x44b)];if(!_0x1ee476){_0x1ee476=this['_reverseMap']=[];for(var _0xbe9f3b=0x0;_0xbe9f3b<_0x3131b6['length'];_0xbe9f3b++)_0x1ee476[_0x3131b6['charCodeAt'](_0xbe9f3b)]=_0xbe9f3b;}var _0x324caf=_0x3131b6[_0xbaa42(0x28e)](0x40);if(_0x324caf){var _0x5e695d=_0x3f8703[_0xbaa42(0x435)](_0x324caf);_0x5e695d!==-0x1&&(_0xf0a31a=_0x5e695d);}return _0x2749f8(_0x3f8703,_0xf0a31a,_0x1ee476);},'_map':_0x46b710(0x45e)};function _0x2749f8(_0x1660ca,_0x481a31,_0x3d18ba){var _0x33af46=_0x46b710;for(var _0x4ad79a=[],_0x3dec9c=0x0,_0x33a93f=0x0;_0x33a93f<_0x481a31;_0x33a93f++)if(_0x33a93f%0x4){var _0x436b52=_0x3d18ba[_0x1660ca[_0x33af46(0x489)](_0x33a93f-0x1)]<<_0x33a93f%0x4*0x2,_0x3e6d7a=_0x3d18ba[_0x1660ca[_0x33af46(0x489)](_0x33a93f)]>>>0x6-_0x33a93f%0x4*0x2,_0x3897a2=_0x436b52|_0x3e6d7a;_0x4ad79a[_0x3dec9c>>>0x2]|=_0x3897a2<<0x18-_0x3dec9c%0x4*0x8,_0x3dec9c++;}return _0xa96431[_0x33af46(0x475)](_0x4ad79a,_0x3dec9c);}}()),_0x34a28e[_0x44ae7e(0x423)][_0x44ae7e(0x244)];}));}(We)),We[_0x297854(0x3bb)];}var Ke={'exports':{}},Lr=Ke[_0xe5cf50(0x3bb)],ei;function Mr(){return ei||(ei=0x1,function(_0x338cfe,_0x592a4f){(function(_0x1a04cf,_0x3c4919){var _0x46b4f4=_0x6808;_0x338cfe[_0x46b4f4(0x3bb)]=_0x3c4919(ne());}(Lr,function(_0x12c44a){var _0x34b0ee=_0x6808;return function(_0x844cca){var _0x7bbc6=_0x6808,_0x13aac0=_0x12c44a,_0x157347=_0x13aac0[_0x7bbc6(0x265)],_0xc75732=_0x157347['WordArray'],_0x2f2c09=_0x157347[_0x7bbc6(0x456)],_0x3b15c2=_0x13aac0[_0x7bbc6(0x1b1)],_0x476303=[];(function(){var _0x5ea5e0=_0x7bbc6;for(var _0x5559ef=0x0;_0x5559ef<0x40;_0x5559ef++)_0x476303[_0x5559ef]=_0x844cca[_0x5ea5e0(0x414)](_0x844cca['sin'](_0x5559ef+0x1))*0x100000000|0x0;}());var _0x11ef79=_0x3b15c2['MD5']=_0x2f2c09[_0x7bbc6(0x1e0)]({'_doReset':function(){var _0x222475=_0x7bbc6;this[_0x222475(0x32d)]=new _0xc75732['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1d2122,_0x5593a5){var _0x2c1a80=_0x7bbc6;for(var _0x24eb6e=0x0;_0x24eb6e<0x10;_0x24eb6e++){var _0x49c066=_0x5593a5+_0x24eb6e,_0x5b38a3=_0x1d2122[_0x49c066];_0x1d2122[_0x49c066]=(_0x5b38a3<<0x8|_0x5b38a3>>>0x18)&0xff00ff|(_0x5b38a3<<0x18|_0x5b38a3>>>0x8)&0xff00ff00;}var _0x3e1805=this[_0x2c1a80(0x32d)][_0x2c1a80(0x1c8)],_0x4a4058=_0x1d2122[_0x5593a5+0x0],_0x477cc3=_0x1d2122[_0x5593a5+0x1],_0x188d05=_0x1d2122[_0x5593a5+0x2],_0x54b29f=_0x1d2122[_0x5593a5+0x3],_0x47b735=_0x1d2122[_0x5593a5+0x4],_0x37b269=_0x1d2122[_0x5593a5+0x5],_0x466af9=_0x1d2122[_0x5593a5+0x6],_0x339aed=_0x1d2122[_0x5593a5+0x7],_0x39b149=_0x1d2122[_0x5593a5+0x8],_0xf0a918=_0x1d2122[_0x5593a5+0x9],_0x530ffe=_0x1d2122[_0x5593a5+0xa],_0x3da27e=_0x1d2122[_0x5593a5+0xb],_0x208e84=_0x1d2122[_0x5593a5+0xc],_0x140123=_0x1d2122[_0x5593a5+0xd],_0x26780a=_0x1d2122[_0x5593a5+0xe],_0x5196f3=_0x1d2122[_0x5593a5+0xf],_0x33912a=_0x3e1805[0x0],_0x3791b3=_0x3e1805[0x1],_0x4f2944=_0x3e1805[0x2],_0x5ba23e=_0x3e1805[0x3];_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x4a4058,0x7,_0x476303[0x0]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x477cc3,0xc,_0x476303[0x1]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x188d05,0x11,_0x476303[0x2]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x54b29f,0x16,_0x476303[0x3]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x47b735,0x7,_0x476303[0x4]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x37b269,0xc,_0x476303[0x5]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x466af9,0x11,_0x476303[0x6]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x339aed,0x16,_0x476303[0x7]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x39b149,0x7,_0x476303[0x8]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0xf0a918,0xc,_0x476303[0x9]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x530ffe,0x11,_0x476303[0xa]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x3da27e,0x16,_0x476303[0xb]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x208e84,0x7,_0x476303[0xc]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x140123,0xc,_0x476303[0xd]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x26780a,0x11,_0x476303[0xe]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x5196f3,0x16,_0x476303[0xf]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x477cc3,0x5,_0x476303[0x10]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x466af9,0x9,_0x476303[0x11]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x3da27e,0xe,_0x476303[0x12]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x4a4058,0x14,_0x476303[0x13]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x37b269,0x5,_0x476303[0x14]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x530ffe,0x9,_0x476303[0x15]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x5196f3,0xe,_0x476303[0x16]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x47b735,0x14,_0x476303[0x17]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0xf0a918,0x5,_0x476303[0x18]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x26780a,0x9,_0x476303[0x19]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x54b29f,0xe,_0x476303[0x1a]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x39b149,0x14,_0x476303[0x1b]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x140123,0x5,_0x476303[0x1c]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x188d05,0x9,_0x476303[0x1d]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x339aed,0xe,_0x476303[0x1e]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x208e84,0x14,_0x476303[0x1f]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x37b269,0x4,_0x476303[0x20]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x39b149,0xb,_0x476303[0x21]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x3da27e,0x10,_0x476303[0x22]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x26780a,0x17,_0x476303[0x23]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x477cc3,0x4,_0x476303[0x24]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x47b735,0xb,_0x476303[0x25]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x339aed,0x10,_0x476303[0x26]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x530ffe,0x17,_0x476303[0x27]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x140123,0x4,_0x476303[0x28]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x4a4058,0xb,_0x476303[0x29]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x54b29f,0x10,_0x476303[0x2a]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x466af9,0x17,_0x476303[0x2b]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0xf0a918,0x4,_0x476303[0x2c]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x208e84,0xb,_0x476303[0x2d]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x5196f3,0x10,_0x476303[0x2e]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x188d05,0x17,_0x476303[0x2f]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x4a4058,0x6,_0x476303[0x30]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x339aed,0xa,_0x476303[0x31]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x26780a,0xf,_0x476303[0x32]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x37b269,0x15,_0x476303[0x33]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x208e84,0x6,_0x476303[0x34]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x54b29f,0xa,_0x476303[0x35]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x530ffe,0xf,_0x476303[0x36]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x477cc3,0x15,_0x476303[0x37]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x39b149,0x6,_0x476303[0x38]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x5196f3,0xa,_0x476303[0x39]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x466af9,0xf,_0x476303[0x3a]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x140123,0x15,_0x476303[0x3b]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x47b735,0x6,_0x476303[0x3c]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x3da27e,0xa,_0x476303[0x3d]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x188d05,0xf,_0x476303[0x3e]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0xf0a918,0x15,_0x476303[0x3f]),_0x3e1805[0x0]=_0x3e1805[0x0]+_0x33912a|0x0,_0x3e1805[0x1]=_0x3e1805[0x1]+_0x3791b3|0x0,_0x3e1805[0x2]=_0x3e1805[0x2]+_0x4f2944|0x0,_0x3e1805[0x3]=_0x3e1805[0x3]+_0x5ba23e|0x0;},'_doFinalize':function(){var _0x2ff8ff=_0x7bbc6,_0x18abc7=this[_0x2ff8ff(0x258)],_0x38c36e=_0x18abc7[_0x2ff8ff(0x1c8)],_0x2f4e2c=this['_nDataBytes']*0x8,_0x300c2e=_0x18abc7[_0x2ff8ff(0x488)]*0x8;_0x38c36e[_0x300c2e>>>0x5]|=0x80<<0x18-_0x300c2e%0x20;var _0x44f24a=_0x844cca[_0x2ff8ff(0x374)](_0x2f4e2c/0x100000000),_0x21e22d=_0x2f4e2c;_0x38c36e[(_0x300c2e+0x40>>>0x9<<0x4)+0xf]=(_0x44f24a<<0x8|_0x44f24a>>>0x18)&0xff00ff|(_0x44f24a<<0x18|_0x44f24a>>>0x8)&0xff00ff00,_0x38c36e[(_0x300c2e+0x40>>>0x9<<0x4)+0xe]=(_0x21e22d<<0x8|_0x21e22d>>>0x18)&0xff00ff|(_0x21e22d<<0x18|_0x21e22d>>>0x8)&0xff00ff00,_0x18abc7['sigBytes']=(_0x38c36e[_0x2ff8ff(0x2da)]+0x1)*0x4,this['_process']();for(var _0x2a7da4=this[_0x2ff8ff(0x32d)],_0x4445e9=_0x2a7da4[_0x2ff8ff(0x1c8)],_0x58aeed=0x0;_0x58aeed<0x4;_0x58aeed++){var _0x52e154=_0x4445e9[_0x58aeed];_0x4445e9[_0x58aeed]=(_0x52e154<<0x8|_0x52e154>>>0x18)&0xff00ff|(_0x52e154<<0x18|_0x52e154>>>0x8)&0xff00ff00;}return _0x2a7da4;},'clone':function(){var _0x53aabf=_0x7bbc6,_0xbd0fa2=_0x2f2c09['clone'][_0x53aabf(0x20b)](this);return _0xbd0fa2[_0x53aabf(0x32d)]=this[_0x53aabf(0x32d)][_0x53aabf(0x486)](),_0xbd0fa2;}});function _0x3745ce(_0x55c44c,_0x519df0,_0x5aa349,_0x9ed53d,_0xeedaa9,_0x4575ef,_0x3f9c19){var _0x298317=_0x55c44c+(_0x519df0&_0x5aa349|~_0x519df0&_0x9ed53d)+_0xeedaa9+_0x3f9c19;return(_0x298317<<_0x4575ef|_0x298317>>>0x20-_0x4575ef)+_0x519df0;}function _0x484be0(_0x57cbe0,_0x40bfcb,_0x7c6509,_0x53ff99,_0x16a360,_0x37bbda,_0x2a5ed7){var _0x5c199a=_0x57cbe0+(_0x40bfcb&_0x53ff99|_0x7c6509&~_0x53ff99)+_0x16a360+_0x2a5ed7;return(_0x5c199a<<_0x37bbda|_0x5c199a>>>0x20-_0x37bbda)+_0x40bfcb;}function _0x348f84(_0x3e6a4a,_0x1d5047,_0x559491,_0x370252,_0x177cd4,_0x4e3e15,_0x3f7e63){var _0x2867bf=_0x3e6a4a+(_0x1d5047^_0x559491^_0x370252)+_0x177cd4+_0x3f7e63;return(_0x2867bf<<_0x4e3e15|_0x2867bf>>>0x20-_0x4e3e15)+_0x1d5047;}function _0x2aae34(_0x18363d,_0xa886,_0x2fb02c,_0x5f237e,_0x525fd5,_0x36e021,_0x3c834a){var _0x5e12fe=_0x18363d+(_0x2fb02c^(_0xa886|~_0x5f237e))+_0x525fd5+_0x3c834a;return(_0x5e12fe<<_0x36e021|_0x5e12fe>>>0x20-_0x36e021)+_0xa886;}_0x13aac0[_0x7bbc6(0x25b)]=_0x2f2c09[_0x7bbc6(0x2ef)](_0x11ef79),_0x13aac0['HmacMD5']=_0x2f2c09[_0x7bbc6(0x495)](_0x11ef79);}(Math),_0x12c44a[_0x34b0ee(0x25b)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0xcb4765=_0xe5cf50;return ti||(ti=0x1,function(_0x14ce2a,_0x1fcb93){(function(_0x52b240,_0x549285){var _0x2eac53=_0x6808;_0x14ce2a[_0x2eac53(0x3bb)]=_0x549285(ne());}($r,function(_0x362ee1){var _0x1dd2a5=_0x6808;return(function(){var _0x41fd3e=_0x6808,_0x4fb741=_0x362ee1,_0x380275=_0x4fb741[_0x41fd3e(0x265)],_0x5d4267=_0x380275[_0x41fd3e(0x35d)],_0x7ede38=_0x380275[_0x41fd3e(0x456)],_0x3dc7b9=_0x4fb741[_0x41fd3e(0x1b1)],_0x269a1d=[],_0x9b5091=_0x3dc7b9[_0x41fd3e(0x4a4)]=_0x7ede38[_0x41fd3e(0x1e0)]({'_doReset':function(){var _0x519451=_0x41fd3e;this[_0x519451(0x32d)]=new _0x5d4267[(_0x519451(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6ef2b2,_0x219d78){var _0x3b1bd0=_0x41fd3e;for(var _0x382290=this[_0x3b1bd0(0x32d)][_0x3b1bd0(0x1c8)],_0x2c9136=_0x382290[0x0],_0x1645f8=_0x382290[0x1],_0x5eba34=_0x382290[0x2],_0x34f00d=_0x382290[0x3],_0x51437a=_0x382290[0x4],_0x2a2933=0x0;_0x2a2933<0x50;_0x2a2933++){if(_0x2a2933<0x10)_0x269a1d[_0x2a2933]=_0x6ef2b2[_0x219d78+_0x2a2933]|0x0;else{var _0x50dd99=_0x269a1d[_0x2a2933-0x3]^_0x269a1d[_0x2a2933-0x8]^_0x269a1d[_0x2a2933-0xe]^_0x269a1d[_0x2a2933-0x10];_0x269a1d[_0x2a2933]=_0x50dd99<<0x1|_0x50dd99>>>0x1f;}var _0x26ffc2=(_0x2c9136<<0x5|_0x2c9136>>>0x1b)+_0x51437a+_0x269a1d[_0x2a2933];_0x2a2933<0x14?_0x26ffc2+=(_0x1645f8&_0x5eba34|~_0x1645f8&_0x34f00d)+0x5a827999:_0x2a2933<0x28?_0x26ffc2+=(_0x1645f8^_0x5eba34^_0x34f00d)+0x6ed9eba1:_0x2a2933<0x3c?_0x26ffc2+=(_0x1645f8&_0x5eba34|_0x1645f8&_0x34f00d|_0x5eba34&_0x34f00d)-0x70e44324:_0x26ffc2+=(_0x1645f8^_0x5eba34^_0x34f00d)-0x359d3e2a,_0x51437a=_0x34f00d,_0x34f00d=_0x5eba34,_0x5eba34=_0x1645f8<<0x1e|_0x1645f8>>>0x2,_0x1645f8=_0x2c9136,_0x2c9136=_0x26ffc2;}_0x382290[0x0]=_0x382290[0x0]+_0x2c9136|0x0,_0x382290[0x1]=_0x382290[0x1]+_0x1645f8|0x0,_0x382290[0x2]=_0x382290[0x2]+_0x5eba34|0x0,_0x382290[0x3]=_0x382290[0x3]+_0x34f00d|0x0,_0x382290[0x4]=_0x382290[0x4]+_0x51437a|0x0;},'_doFinalize':function(){var _0x10792e=_0x41fd3e,_0x52370d=this[_0x10792e(0x258)],_0x349765=_0x52370d['words'],_0x3647fa=this[_0x10792e(0x3d5)]*0x8,_0x2b666f=_0x52370d['sigBytes']*0x8;return _0x349765[_0x2b666f>>>0x5]|=0x80<<0x18-_0x2b666f%0x20,_0x349765[(_0x2b666f+0x40>>>0x9<<0x4)+0xe]=Math[_0x10792e(0x374)](_0x3647fa/0x100000000),_0x349765[(_0x2b666f+0x40>>>0x9<<0x4)+0xf]=_0x3647fa,_0x52370d['sigBytes']=_0x349765['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x138dd9=_0x41fd3e,_0xd5651a=_0x7ede38[_0x138dd9(0x486)][_0x138dd9(0x20b)](this);return _0xd5651a[_0x138dd9(0x32d)]=this['_hash'][_0x138dd9(0x486)](),_0xd5651a;}});_0x4fb741['SHA1']=_0x7ede38[_0x41fd3e(0x2ef)](_0x9b5091),_0x4fb741[_0x41fd3e(0x247)]=_0x7ede38[_0x41fd3e(0x495)](_0x9b5091);}()),_0x362ee1[_0x1dd2a5(0x4a4)];}));}(qe)),qe[_0xcb4765(0x3bb)];}var ze={'exports':{}},kr=ze[_0xe5cf50(0x3bb)],ii;function jr(){var _0x4292d7=_0xe5cf50;return ii||(ii=0x1,function(_0x3c49e2,_0x5d4687){(function(_0x581802,_0x24cfa4){var _0x24aa49=_0x6808;_0x3c49e2[_0x24aa49(0x3bb)]=_0x24cfa4(ne());}(kr,function(_0x4e6755){(function(){var _0x2f6206=_0x6808,_0x431b22=_0x4e6755,_0x5cefaa=_0x431b22[_0x2f6206(0x265)],_0x30eae0=_0x5cefaa['Base'],_0x45fe7b=_0x431b22[_0x2f6206(0x423)],_0x2f7a40=_0x45fe7b[_0x2f6206(0x317)],_0x2bfc19=_0x431b22[_0x2f6206(0x1b1)];_0x2bfc19['HMAC']=_0x30eae0[_0x2f6206(0x1e0)]({'init':function(_0xd9400a,_0x51cc15){var _0x16834f=_0x2f6206;_0xd9400a=this[_0x16834f(0x1eb)]=new _0xd9400a[(_0x16834f(0x426))](),typeof _0x51cc15==_0x16834f(0x1e4)&&(_0x51cc15=_0x2f7a40[_0x16834f(0x44e)](_0x51cc15));var _0x298f48=_0xd9400a[_0x16834f(0x327)],_0x524003=_0x298f48*0x4;_0x51cc15['sigBytes']>_0x524003&&(_0x51cc15=_0xd9400a[_0x16834f(0x281)](_0x51cc15)),_0x51cc15[_0x16834f(0x2d8)]();for(var _0x5dfc73=this[_0x16834f(0x400)]=_0x51cc15['clone'](),_0x4d4a60=this[_0x16834f(0x30e)]=_0x51cc15[_0x16834f(0x486)](),_0x157dcb=_0x5dfc73[_0x16834f(0x1c8)],_0xb405b6=_0x4d4a60[_0x16834f(0x1c8)],_0x36df75=0x0;_0x36df75<_0x298f48;_0x36df75++)_0x157dcb[_0x36df75]^=0x5c5c5c5c,_0xb405b6[_0x36df75]^=0x36363636;_0x5dfc73[_0x16834f(0x488)]=_0x4d4a60[_0x16834f(0x488)]=_0x524003,this[_0x16834f(0x1ea)]();},'reset':function(){var _0x7d766d=_0x2f6206,_0x50fddb=this[_0x7d766d(0x1eb)];_0x50fddb[_0x7d766d(0x1ea)](),_0x50fddb['update'](this[_0x7d766d(0x30e)]);},'update':function(_0x1bf134){var _0x5b2e38=_0x2f6206;return this[_0x5b2e38(0x1eb)][_0x5b2e38(0x3de)](_0x1bf134),this;},'finalize':function(_0x2c26c6){var _0x398ff7=_0x2f6206,_0x1697b=this[_0x398ff7(0x1eb)],_0x5761fd=_0x1697b[_0x398ff7(0x281)](_0x2c26c6);_0x1697b[_0x398ff7(0x1ea)]();var _0xf94c07=_0x1697b[_0x398ff7(0x281)](this[_0x398ff7(0x400)][_0x398ff7(0x486)]()[_0x398ff7(0x33c)](_0x5761fd));return _0xf94c07;}});}());}));}(ze)),ze[_0x4292d7(0x3bb)];}var Br=Ye[_0xe5cf50(0x3bb)],ni;function Ui(){var _0x44a571=_0xe5cf50;return ni||(ni=0x1,function(_0x5c8be3,_0x23bc3f){(function(_0x224f5b,_0x13925e,_0x278cf3){var _0x4cb7d9=_0x6808;_0x5c8be3[_0x4cb7d9(0x3bb)]=_0x13925e(ne(),Hr(),jr());}(Br,function(_0x190269){var _0x101e5a=_0x6808;return(function(){var _0x32c126=_0x6808,_0x347ea0=_0x190269,_0x505800=_0x347ea0[_0x32c126(0x265)],_0x8a2a87=_0x505800[_0x32c126(0x4a9)],_0x256414=_0x505800['WordArray'],_0x362ac0=_0x347ea0[_0x32c126(0x1b1)],_0xa8a79d=_0x362ac0[_0x32c126(0x25b)],_0xc8de05=_0x362ac0[_0x32c126(0x3b7)]=_0x8a2a87['extend']({'cfg':_0x8a2a87['extend']({'keySize':0x80/0x20,'hasher':_0xa8a79d,'iterations':0x1}),'init':function(_0x345e0b){var _0x3d4e13=_0x32c126;this[_0x3d4e13(0x481)]=this['cfg']['extend'](_0x345e0b);},'compute':function(_0x455a98,_0x398e33){var _0x4effbb=_0x32c126;for(var _0x1ab299,_0x1ff729=this['cfg'],_0x500011=_0x1ff729[_0x4effbb(0x202)][_0x4effbb(0x475)](),_0x13ff9c=_0x256414[_0x4effbb(0x475)](),_0xe6e0f1=_0x13ff9c[_0x4effbb(0x1c8)],_0x24cbe8=_0x1ff729['keySize'],_0x347775=_0x1ff729['iterations'];_0xe6e0f1[_0x4effbb(0x2da)]<_0x24cbe8;){_0x1ab299&&_0x500011['update'](_0x1ab299),_0x1ab299=_0x500011['update'](_0x455a98)[_0x4effbb(0x281)](_0x398e33),_0x500011[_0x4effbb(0x1ea)]();for(var _0x4a2912=0x1;_0x4a2912<_0x347775;_0x4a2912++)_0x1ab299=_0x500011['finalize'](_0x1ab299),_0x500011[_0x4effbb(0x1ea)]();_0x13ff9c[_0x4effbb(0x33c)](_0x1ab299);}return _0x13ff9c[_0x4effbb(0x488)]=_0x24cbe8*0x4,_0x13ff9c;}});_0x347ea0[_0x32c126(0x3b7)]=function(_0x2dde5c,_0x30f5b2,_0x2dc3bc){var _0x592c28=_0x32c126;return _0xc8de05[_0x592c28(0x475)](_0x2dc3bc)['compute'](_0x2dde5c,_0x30f5b2);};}()),_0x190269[_0x101e5a(0x3b7)];}));}(Ye)),Ye[_0x44a571(0x3bb)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x3579ed=_0xe5cf50;return ri||(ri=0x1,function(_0x592eca,_0x296a88){(function(_0x3c0ef9,_0x25c97d,_0x55197b){var _0x296720=_0x6808;_0x592eca[_0x296720(0x3bb)]=_0x25c97d(ne(),Ui());}(Fr,function(_0x1867a2){var _0x25bc27=_0x6808;_0x1867a2[_0x25bc27(0x265)]['Cipher']||function(_0x31c2b4){var _0x4d113a=_0x25bc27,_0x244234=_0x1867a2,_0x136f1a=_0x244234[_0x4d113a(0x265)],_0x180074=_0x136f1a['Base'],_0x21822b=_0x136f1a[_0x4d113a(0x35d)],_0x5b4497=_0x136f1a[_0x4d113a(0x419)],_0x2c0901=_0x244234[_0x4d113a(0x423)];_0x2c0901[_0x4d113a(0x317)];var _0x48e6c5=_0x2c0901['Base64'],_0x3ef24d=_0x244234[_0x4d113a(0x1b1)],_0x20d11d=_0x3ef24d[_0x4d113a(0x3b7)],_0x5941d1=_0x136f1a[_0x4d113a(0x308)]=_0x5b4497[_0x4d113a(0x1e0)]({'cfg':_0x180074[_0x4d113a(0x1e0)](),'createEncryptor':function(_0x3b2773,_0x3dfbd2){var _0x5eaaad=_0x4d113a;return this[_0x5eaaad(0x475)](this[_0x5eaaad(0x32b)],_0x3b2773,_0x3dfbd2);},'createDecryptor':function(_0x2aead3,_0x300585){var _0xf5eba7=_0x4d113a;return this[_0xf5eba7(0x475)](this[_0xf5eba7(0x361)],_0x2aead3,_0x300585);},'init':function(_0x278dc5,_0x210517,_0x35880d){var _0xc0b682=_0x4d113a;this['cfg']=this[_0xc0b682(0x481)][_0xc0b682(0x1e0)](_0x35880d),this[_0xc0b682(0x3b9)]=_0x278dc5,this['_key']=_0x210517,this[_0xc0b682(0x1ea)]();},'reset':function(){var _0x6ad505=_0x4d113a;_0x5b4497['reset']['call'](this),this[_0x6ad505(0x3dc)]();},'process':function(_0x5d0c21){var _0x3e3fc1=_0x4d113a;return this[_0x3e3fc1(0x262)](_0x5d0c21),this[_0x3e3fc1(0x2c4)]();},'finalize':function(_0x210263){var _0x303193=_0x4d113a;_0x210263&&this['_append'](_0x210263);var _0x2052b0=this[_0x303193(0x316)]();return _0x2052b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x57431d(_0x14f457){return typeof _0x14f457=='string'?_0x6412d2:_0x42414e;}return function(_0x5c8311){return{'encrypt':function(_0x5c32c6,_0xe4654d,_0x1ffecd){var _0x272890=_0x6808;return _0x57431d(_0xe4654d)[_0x272890(0x1f4)](_0x5c8311,_0x5c32c6,_0xe4654d,_0x1ffecd);},'decrypt':function(_0x240d0,_0x4643e9,_0x17749f){var _0x10ad58=_0x6808;return _0x57431d(_0x4643e9)[_0x10ad58(0x40b)](_0x5c8311,_0x240d0,_0x4643e9,_0x17749f);}};};}())});_0x136f1a[_0x4d113a(0x283)]=_0x5941d1[_0x4d113a(0x1e0)]({'_doFinalize':function(){var _0x420bec=this['_process'](!0x0);return _0x420bec;},'blockSize':0x1});var _0x12fed6=_0x244234['mode']={},_0x5e1e63=_0x136f1a[_0x4d113a(0x38e)]=_0x180074[_0x4d113a(0x1e0)]({'createEncryptor':function(_0xfc391e,_0x1e0718){var _0x44ebf1=_0x4d113a;return this['Encryptor'][_0x44ebf1(0x475)](_0xfc391e,_0x1e0718);},'createDecryptor':function(_0x26835a,_0x5a8272){var _0x52b83f=_0x4d113a;return this[_0x52b83f(0x323)]['create'](_0x26835a,_0x5a8272);},'init':function(_0x50ba40,_0x4b5a06){var _0x40bed2=_0x4d113a;this[_0x40bed2(0x217)]=_0x50ba40,this[_0x40bed2(0x3db)]=_0x4b5a06;}}),_0xa7dbcd=_0x12fed6['CBC']=(function(){var _0x3ef0b0=_0x4d113a,_0x268c4d=_0x5e1e63[_0x3ef0b0(0x1e0)]();_0x268c4d[_0x3ef0b0(0x1b0)]=_0x268c4d[_0x3ef0b0(0x1e0)]({'processBlock':function(_0x160a9a,_0x4d9c35){var _0x553793=_0x3ef0b0,_0xf74e89=this['_cipher'],_0xbfe8df=_0xf74e89['blockSize'];_0x4982cc[_0x553793(0x20b)](this,_0x160a9a,_0x4d9c35,_0xbfe8df),_0xf74e89[_0x553793(0x3d3)](_0x160a9a,_0x4d9c35),this['_prevBlock']=_0x160a9a['slice'](_0x4d9c35,_0x4d9c35+_0xbfe8df);}}),_0x268c4d[_0x3ef0b0(0x323)]=_0x268c4d[_0x3ef0b0(0x1e0)]({'processBlock':function(_0x3e4da0,_0xdb63e){var _0x42378d=_0x3ef0b0,_0x4740a4=this[_0x42378d(0x217)],_0x26003d=_0x4740a4['blockSize'],_0x409dfd=_0x3e4da0[_0x42378d(0x3aa)](_0xdb63e,_0xdb63e+_0x26003d);_0x4740a4[_0x42378d(0x37e)](_0x3e4da0,_0xdb63e),_0x4982cc[_0x42378d(0x20b)](this,_0x3e4da0,_0xdb63e,_0x26003d),this['_prevBlock']=_0x409dfd;}});function _0x4982cc(_0x5058ab,_0x57f00a,_0x1ddd9b){var _0x400e05=_0x3ef0b0,_0x4bbb19,_0x3dee90=this[_0x400e05(0x3db)];_0x3dee90?(_0x4bbb19=_0x3dee90,this[_0x400e05(0x3db)]=_0x31c2b4):_0x4bbb19=this[_0x400e05(0x338)];for(var _0x3c935d=0x0;_0x3c935d<_0x1ddd9b;_0x3c935d++)_0x5058ab[_0x57f00a+_0x3c935d]^=_0x4bbb19[_0x3c935d];}return _0x268c4d;}()),_0x47ef32=_0x244234[_0x4d113a(0x4a5)]={},_0x8dea25=_0x47ef32[_0x4d113a(0x492)]={'pad':function(_0x2e9538,_0x37df38){var _0x5f47d4=_0x4d113a;for(var _0x17dfec=_0x37df38*0x4,_0x408acd=_0x17dfec-_0x2e9538[_0x5f47d4(0x488)]%_0x17dfec,_0x495207=_0x408acd<<0x18|_0x408acd<<0x10|_0x408acd<<0x8|_0x408acd,_0x3d43c0=[],_0x6a0cac=0x0;_0x6a0cac<_0x408acd;_0x6a0cac+=0x4)_0x3d43c0[_0x5f47d4(0x430)](_0x495207);var _0x2aef99=_0x21822b[_0x5f47d4(0x475)](_0x3d43c0,_0x408acd);_0x2e9538[_0x5f47d4(0x33c)](_0x2aef99);},'unpad':function(_0x2285ac){var _0x2dca90=_0x4d113a,_0x39bad5=_0x2285ac[_0x2dca90(0x1c8)][_0x2285ac[_0x2dca90(0x488)]-0x1>>>0x2]&0xff;_0x2285ac[_0x2dca90(0x488)]-=_0x39bad5;}};_0x136f1a[_0x4d113a(0x42f)]=_0x5941d1[_0x4d113a(0x1e0)]({'cfg':_0x5941d1[_0x4d113a(0x481)][_0x4d113a(0x1e0)]({'mode':_0xa7dbcd,'padding':_0x8dea25}),'reset':function(){var _0xace3ee=_0x4d113a,_0x38fabd;_0x5941d1[_0xace3ee(0x1ea)][_0xace3ee(0x20b)](this);var _0x451fc7=this['cfg'],_0x322b87=_0x451fc7['iv'],_0x32c68f=_0x451fc7[_0xace3ee(0x312)];this['_xformMode']==this[_0xace3ee(0x32b)]?_0x38fabd=_0x32c68f[_0xace3ee(0x345)]:(_0x38fabd=_0x32c68f[_0xace3ee(0x4aa)],this[_0xace3ee(0x21d)]=0x1),this['_mode']&&this['_mode'][_0xace3ee(0x27b)]==_0x38fabd?this[_0xace3ee(0x2eb)][_0xace3ee(0x426)](this,_0x322b87&&_0x322b87[_0xace3ee(0x1c8)]):(this['_mode']=_0x38fabd[_0xace3ee(0x20b)](_0x32c68f,this,_0x322b87&&_0x322b87[_0xace3ee(0x1c8)]),this[_0xace3ee(0x2eb)][_0xace3ee(0x27b)]=_0x38fabd);},'_doProcessBlock':function(_0x11695d,_0x4e335d){var _0x143153=_0x4d113a;this[_0x143153(0x2eb)][_0x143153(0x476)](_0x11695d,_0x4e335d);},'_doFinalize':function(){var _0x4c3599=_0x4d113a,_0x5eae5c,_0x268811=this[_0x4c3599(0x481)][_0x4c3599(0x3f0)];return this[_0x4c3599(0x3b9)]==this[_0x4c3599(0x32b)]?(_0x268811[_0x4c3599(0x4a5)](this['_data'],this['blockSize']),_0x5eae5c=this[_0x4c3599(0x2c4)](!0x0)):(_0x5eae5c=this[_0x4c3599(0x2c4)](!0x0),_0x268811[_0x4c3599(0x218)](_0x5eae5c)),_0x5eae5c;},'blockSize':0x80/0x20});var _0x13d192=_0x136f1a[_0x4d113a(0x1ae)]=_0x180074[_0x4d113a(0x1e0)]({'init':function(_0x50e15c){this['mixIn'](_0x50e15c);},'toString':function(_0x538d47){var _0x42ddf0=_0x4d113a;return(_0x538d47||this[_0x42ddf0(0x43f)])[_0x42ddf0(0x3e1)](this);}}),_0x1a40d1=_0x244234[_0x4d113a(0x2ad)]={},_0x31a29b=_0x1a40d1[_0x4d113a(0x20e)]={'stringify':function(_0x1d8456){var _0x46e43e=_0x4d113a,_0x459daa,_0x4d867c=_0x1d8456[_0x46e43e(0x2a3)],_0x171201=_0x1d8456[_0x46e43e(0x445)];return _0x171201?_0x459daa=_0x21822b[_0x46e43e(0x475)]([0x53616c74,0x65645f5f])[_0x46e43e(0x33c)](_0x171201)[_0x46e43e(0x33c)](_0x4d867c):_0x459daa=_0x4d867c,_0x459daa[_0x46e43e(0x1c1)](_0x48e6c5);},'parse':function(_0x31f510){var _0x403d99=_0x4d113a,_0x508842,_0x3c3ce7=_0x48e6c5['parse'](_0x31f510),_0x4fb679=_0x3c3ce7[_0x403d99(0x1c8)];return _0x4fb679[0x0]==0x53616c74&&_0x4fb679[0x1]==0x65645f5f&&(_0x508842=_0x21822b['create'](_0x4fb679[_0x403d99(0x3aa)](0x2,0x4)),_0x4fb679['splice'](0x0,0x4),_0x3c3ce7[_0x403d99(0x488)]-=0x10),_0x13d192[_0x403d99(0x475)]({'ciphertext':_0x3c3ce7,'salt':_0x508842});}},_0x42414e=_0x136f1a['SerializableCipher']=_0x180074['extend']({'cfg':_0x180074['extend']({'format':_0x31a29b}),'encrypt':function(_0x429bf8,_0x47296b,_0x4ad484,_0x37cce5){var _0x3524e2=_0x4d113a;_0x37cce5=this[_0x3524e2(0x481)][_0x3524e2(0x1e0)](_0x37cce5);var _0x438d54=_0x429bf8['createEncryptor'](_0x4ad484,_0x37cce5),_0x1e18ac=_0x438d54['finalize'](_0x47296b),_0x247334=_0x438d54['cfg'];return _0x13d192[_0x3524e2(0x475)]({'ciphertext':_0x1e18ac,'key':_0x4ad484,'iv':_0x247334['iv'],'algorithm':_0x429bf8,'mode':_0x247334[_0x3524e2(0x312)],'padding':_0x247334[_0x3524e2(0x3f0)],'blockSize':_0x429bf8['blockSize'],'formatter':_0x37cce5[_0x3524e2(0x2ad)]});},'decrypt':function(_0x24bc4c,_0x773f4a,_0x275d43,_0x5efe71){var _0x3f2579=_0x4d113a;_0x5efe71=this['cfg'][_0x3f2579(0x1e0)](_0x5efe71),_0x773f4a=this[_0x3f2579(0x3ea)](_0x773f4a,_0x5efe71[_0x3f2579(0x2ad)]);var _0x59dc61=_0x24bc4c[_0x3f2579(0x4aa)](_0x275d43,_0x5efe71)['finalize'](_0x773f4a[_0x3f2579(0x2a3)]);return _0x59dc61;},'_parse':function(_0x16cd3d,_0xedb75b){var _0x2fe5a6=_0x4d113a;return typeof _0x16cd3d==_0x2fe5a6(0x1e4)?_0xedb75b[_0x2fe5a6(0x44e)](_0x16cd3d,this):_0x16cd3d;}}),_0x124bda=_0x244234[_0x4d113a(0x493)]={},_0x3d4a43=_0x124bda['OpenSSL']={'execute':function(_0x570dad,_0x4dee9d,_0x526cd9,_0xa3dfc1,_0x59ca7f){var _0x1a0eab=_0x4d113a;if(_0xa3dfc1||(_0xa3dfc1=_0x21822b[_0x1a0eab(0x1c2)](0x40/0x8)),_0x59ca7f)var _0x5f3ac9=_0x20d11d['create']({'keySize':_0x4dee9d+_0x526cd9,'hasher':_0x59ca7f})['compute'](_0x570dad,_0xa3dfc1);else var _0x5f3ac9=_0x20d11d[_0x1a0eab(0x475)]({'keySize':_0x4dee9d+_0x526cd9})[_0x1a0eab(0x2b1)](_0x570dad,_0xa3dfc1);var _0x1a1c7e=_0x21822b[_0x1a0eab(0x475)](_0x5f3ac9[_0x1a0eab(0x1c8)][_0x1a0eab(0x3aa)](_0x4dee9d),_0x526cd9*0x4);return _0x5f3ac9[_0x1a0eab(0x488)]=_0x4dee9d*0x4,_0x13d192[_0x1a0eab(0x475)]({'key':_0x5f3ac9,'iv':_0x1a1c7e,'salt':_0xa3dfc1});}},_0x6412d2=_0x136f1a[_0x4d113a(0x3f3)]=_0x42414e['extend']({'cfg':_0x42414e[_0x4d113a(0x481)][_0x4d113a(0x1e0)]({'kdf':_0x3d4a43}),'encrypt':function(_0xb45f01,_0x4d387a,_0x8052a5,_0x1559a2){var _0x58c32d=_0x4d113a;_0x1559a2=this[_0x58c32d(0x481)][_0x58c32d(0x1e0)](_0x1559a2);var _0x44e7ad=_0x1559a2[_0x58c32d(0x493)][_0x58c32d(0x271)](_0x8052a5,_0xb45f01['keySize'],_0xb45f01['ivSize'],_0x1559a2[_0x58c32d(0x445)],_0x1559a2[_0x58c32d(0x202)]);_0x1559a2['iv']=_0x44e7ad['iv'];var _0x1ef36b=_0x42414e[_0x58c32d(0x1f4)]['call'](this,_0xb45f01,_0x4d387a,_0x44e7ad[_0x58c32d(0x497)],_0x1559a2);return _0x1ef36b[_0x58c32d(0x25c)](_0x44e7ad),_0x1ef36b;},'decrypt':function(_0x5945d5,_0x4b5d9c,_0x20124b,_0xb4cf89){var _0x15a4c=_0x4d113a;_0xb4cf89=this[_0x15a4c(0x481)][_0x15a4c(0x1e0)](_0xb4cf89),_0x4b5d9c=this[_0x15a4c(0x3ea)](_0x4b5d9c,_0xb4cf89[_0x15a4c(0x2ad)]);var _0x4dcaf2=_0xb4cf89[_0x15a4c(0x493)]['execute'](_0x20124b,_0x5945d5[_0x15a4c(0x2c1)],_0x5945d5[_0x15a4c(0x220)],_0x4b5d9c[_0x15a4c(0x445)],_0xb4cf89[_0x15a4c(0x202)]);_0xb4cf89['iv']=_0x4dcaf2['iv'];var _0x26cbc4=_0x42414e[_0x15a4c(0x40b)]['call'](this,_0x5945d5,_0x4b5d9c,_0x4dcaf2['key'],_0xb4cf89);return _0x26cbc4;}});}();}));}(Je)),Je[_0x3579ed(0x3bb)];}var Vr=Ve['exports'],si;function Gr(){var _0x1a45e7=_0xe5cf50;return si||(si=0x1,function(_0x2acec1,_0x45dd74){(function(_0xe694cb,_0x4ffac1,_0x11a9c8){var _0x4d31a5=_0x6808;_0x2acec1[_0x4d31a5(0x3bb)]=_0x4ffac1(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x56b7d1){var _0x400eb3=_0x6808;return(function(){var _0x5bfd67=_0x6808,_0x482b2a=_0x56b7d1,_0x3d46a8=_0x482b2a[_0x5bfd67(0x265)],_0x39a6e1=_0x3d46a8[_0x5bfd67(0x42f)],_0x258aff=_0x482b2a[_0x5bfd67(0x1b1)],_0x3171a4=[],_0x557f98=[],_0x403316=[],_0x3b73c5=[],_0x574b48=[],_0x1867b8=[],_0x389f52=[],_0xe9f2b8=[],_0x1fc681=[],_0x24bb1b=[];(function(){for(var _0x264b63=[],_0xa9ffbe=0x0;_0xa9ffbe<0x100;_0xa9ffbe++)_0xa9ffbe<0x80?_0x264b63[_0xa9ffbe]=_0xa9ffbe<<0x1:_0x264b63[_0xa9ffbe]=_0xa9ffbe<<0x1^0x11b;for(var _0xeec57=0x0,_0x57ac46=0x0,_0xa9ffbe=0x0;_0xa9ffbe<0x100;_0xa9ffbe++){var _0x46838e=_0x57ac46^_0x57ac46<<0x1^_0x57ac46<<0x2^_0x57ac46<<0x3^_0x57ac46<<0x4;_0x46838e=_0x46838e>>>0x8^_0x46838e&0xff^0x63,_0x3171a4[_0xeec57]=_0x46838e,_0x557f98[_0x46838e]=_0xeec57;var _0x5b9b86=_0x264b63[_0xeec57],_0x2f1533=_0x264b63[_0x5b9b86],_0x3ca81a=_0x264b63[_0x2f1533],_0x38eafd=_0x264b63[_0x46838e]*0x101^_0x46838e*0x1010100;_0x403316[_0xeec57]=_0x38eafd<<0x18|_0x38eafd>>>0x8,_0x3b73c5[_0xeec57]=_0x38eafd<<0x10|_0x38eafd>>>0x10,_0x574b48[_0xeec57]=_0x38eafd<<0x8|_0x38eafd>>>0x18,_0x1867b8[_0xeec57]=_0x38eafd;var _0x38eafd=_0x3ca81a*0x1010101^_0x2f1533*0x10001^_0x5b9b86*0x101^_0xeec57*0x1010100;_0x389f52[_0x46838e]=_0x38eafd<<0x18|_0x38eafd>>>0x8,_0xe9f2b8[_0x46838e]=_0x38eafd<<0x10|_0x38eafd>>>0x10,_0x1fc681[_0x46838e]=_0x38eafd<<0x8|_0x38eafd>>>0x18,_0x24bb1b[_0x46838e]=_0x38eafd,_0xeec57?(_0xeec57=_0x5b9b86^_0x264b63[_0x264b63[_0x264b63[_0x3ca81a^_0x5b9b86]]],_0x57ac46^=_0x264b63[_0x264b63[_0x57ac46]]):_0xeec57=_0x57ac46=0x1;}}());var _0x248245=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xec70ad=_0x258aff[_0x5bfd67(0x1f1)]=_0x39a6e1[_0x5bfd67(0x1e0)]({'_doReset':function(){var _0x2d8e47=_0x5bfd67,_0x4afe41;if(!(this[_0x2d8e47(0x3e3)]&&this['_keyPriorReset']===this[_0x2d8e47(0x468)])){for(var _0x14f917=this['_keyPriorReset']=this['_key'],_0x205e50=_0x14f917[_0x2d8e47(0x1c8)],_0x19ed7d=_0x14f917['sigBytes']/0x4,_0x4a395c=this[_0x2d8e47(0x3e3)]=_0x19ed7d+0x6,_0x2626cf=(_0x4a395c+0x1)*0x4,_0x4cad0e=this[_0x2d8e47(0x42c)]=[],_0x2a5ec8=0x0;_0x2a5ec8<_0x2626cf;_0x2a5ec8++)_0x2a5ec8<_0x19ed7d?_0x4cad0e[_0x2a5ec8]=_0x205e50[_0x2a5ec8]:(_0x4afe41=_0x4cad0e[_0x2a5ec8-0x1],_0x2a5ec8%_0x19ed7d?_0x19ed7d>0x6&&_0x2a5ec8%_0x19ed7d==0x4&&(_0x4afe41=_0x3171a4[_0x4afe41>>>0x18]<<0x18|_0x3171a4[_0x4afe41>>>0x10&0xff]<<0x10|_0x3171a4[_0x4afe41>>>0x8&0xff]<<0x8|_0x3171a4[_0x4afe41&0xff]):(_0x4afe41=_0x4afe41<<0x8|_0x4afe41>>>0x18,_0x4afe41=_0x3171a4[_0x4afe41>>>0x18]<<0x18|_0x3171a4[_0x4afe41>>>0x10&0xff]<<0x10|_0x3171a4[_0x4afe41>>>0x8&0xff]<<0x8|_0x3171a4[_0x4afe41&0xff],_0x4afe41^=_0x248245[_0x2a5ec8/_0x19ed7d|0x0]<<0x18),_0x4cad0e[_0x2a5ec8]=_0x4cad0e[_0x2a5ec8-_0x19ed7d]^_0x4afe41);for(var _0x2aa926=this['_invKeySchedule']=[],_0xcdeb4c=0x0;_0xcdeb4c<_0x2626cf;_0xcdeb4c++){var _0x2a5ec8=_0x2626cf-_0xcdeb4c;if(_0xcdeb4c%0x4)var _0x4afe41=_0x4cad0e[_0x2a5ec8];else var _0x4afe41=_0x4cad0e[_0x2a5ec8-0x4];_0xcdeb4c<0x4||_0x2a5ec8<=0x4?_0x2aa926[_0xcdeb4c]=_0x4afe41:_0x2aa926[_0xcdeb4c]=_0x389f52[_0x3171a4[_0x4afe41>>>0x18]]^_0xe9f2b8[_0x3171a4[_0x4afe41>>>0x10&0xff]]^_0x1fc681[_0x3171a4[_0x4afe41>>>0x8&0xff]]^_0x24bb1b[_0x3171a4[_0x4afe41&0xff]];}}},'encryptBlock':function(_0x2085ef,_0x3d8ced){var _0x342176=_0x5bfd67;this['_doCryptBlock'](_0x2085ef,_0x3d8ced,this[_0x342176(0x42c)],_0x403316,_0x3b73c5,_0x574b48,_0x1867b8,_0x3171a4);},'decryptBlock':function(_0x126df7,_0xacb3dd){var _0x346d63=_0x5bfd67,_0x231df1=_0x126df7[_0xacb3dd+0x1];_0x126df7[_0xacb3dd+0x1]=_0x126df7[_0xacb3dd+0x3],_0x126df7[_0xacb3dd+0x3]=_0x231df1,this[_0x346d63(0x366)](_0x126df7,_0xacb3dd,this[_0x346d63(0x3fd)],_0x389f52,_0xe9f2b8,_0x1fc681,_0x24bb1b,_0x557f98);var _0x231df1=_0x126df7[_0xacb3dd+0x1];_0x126df7[_0xacb3dd+0x1]=_0x126df7[_0xacb3dd+0x3],_0x126df7[_0xacb3dd+0x3]=_0x231df1;},'_doCryptBlock':function(_0x392e8c,_0x555512,_0x434c96,_0x117713,_0x5e0309,_0x2ad478,_0x537ffe,_0x1165b9){var _0x48be3e=_0x5bfd67;for(var _0x100ab0=this[_0x48be3e(0x3e3)],_0xcbb1aa=_0x392e8c[_0x555512]^_0x434c96[0x0],_0x4d81e8=_0x392e8c[_0x555512+0x1]^_0x434c96[0x1],_0x3ec46a=_0x392e8c[_0x555512+0x2]^_0x434c96[0x2],_0x1ddaf6=_0x392e8c[_0x555512+0x3]^_0x434c96[0x3],_0x24ee96=0x4,_0x1e2fe5=0x1;_0x1e2fe5<_0x100ab0;_0x1e2fe5++){var _0x21450d=_0x117713[_0xcbb1aa>>>0x18]^_0x5e0309[_0x4d81e8>>>0x10&0xff]^_0x2ad478[_0x3ec46a>>>0x8&0xff]^_0x537ffe[_0x1ddaf6&0xff]^_0x434c96[_0x24ee96++],_0x25f125=_0x117713[_0x4d81e8>>>0x18]^_0x5e0309[_0x3ec46a>>>0x10&0xff]^_0x2ad478[_0x1ddaf6>>>0x8&0xff]^_0x537ffe[_0xcbb1aa&0xff]^_0x434c96[_0x24ee96++],_0x1bff7e=_0x117713[_0x3ec46a>>>0x18]^_0x5e0309[_0x1ddaf6>>>0x10&0xff]^_0x2ad478[_0xcbb1aa>>>0x8&0xff]^_0x537ffe[_0x4d81e8&0xff]^_0x434c96[_0x24ee96++],_0x44c64d=_0x117713[_0x1ddaf6>>>0x18]^_0x5e0309[_0xcbb1aa>>>0x10&0xff]^_0x2ad478[_0x4d81e8>>>0x8&0xff]^_0x537ffe[_0x3ec46a&0xff]^_0x434c96[_0x24ee96++];_0xcbb1aa=_0x21450d,_0x4d81e8=_0x25f125,_0x3ec46a=_0x1bff7e,_0x1ddaf6=_0x44c64d;}var _0x21450d=(_0x1165b9[_0xcbb1aa>>>0x18]<<0x18|_0x1165b9[_0x4d81e8>>>0x10&0xff]<<0x10|_0x1165b9[_0x3ec46a>>>0x8&0xff]<<0x8|_0x1165b9[_0x1ddaf6&0xff])^_0x434c96[_0x24ee96++],_0x25f125=(_0x1165b9[_0x4d81e8>>>0x18]<<0x18|_0x1165b9[_0x3ec46a>>>0x10&0xff]<<0x10|_0x1165b9[_0x1ddaf6>>>0x8&0xff]<<0x8|_0x1165b9[_0xcbb1aa&0xff])^_0x434c96[_0x24ee96++],_0x1bff7e=(_0x1165b9[_0x3ec46a>>>0x18]<<0x18|_0x1165b9[_0x1ddaf6>>>0x10&0xff]<<0x10|_0x1165b9[_0xcbb1aa>>>0x8&0xff]<<0x8|_0x1165b9[_0x4d81e8&0xff])^_0x434c96[_0x24ee96++],_0x44c64d=(_0x1165b9[_0x1ddaf6>>>0x18]<<0x18|_0x1165b9[_0xcbb1aa>>>0x10&0xff]<<0x10|_0x1165b9[_0x4d81e8>>>0x8&0xff]<<0x8|_0x1165b9[_0x3ec46a&0xff])^_0x434c96[_0x24ee96++];_0x392e8c[_0x555512]=_0x21450d,_0x392e8c[_0x555512+0x1]=_0x25f125,_0x392e8c[_0x555512+0x2]=_0x1bff7e,_0x392e8c[_0x555512+0x3]=_0x44c64d;},'keySize':0x100/0x20});_0x482b2a['AES']=_0x39a6e1[_0x5bfd67(0x2ef)](_0xec70ad);}()),_0x56b7d1[_0x400eb3(0x1f1)];}));}(Ve)),Ve[_0x1a45e7(0x3bb)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0xe5cf50(0x3bb)],ai;function zr(){var _0x44ff9f=_0xe5cf50;return ai||(ai=0x1,function(_0x47c5ec,_0xd440e6){(function(_0x1d8e9e,_0x21f732){var _0x31c936=_0x6808;_0x47c5ec[_0x31c936(0x3bb)]=_0x21f732(ne());}(qr,function(_0x147074){var _0x97a6b0=_0x6808;return _0x147074[_0x97a6b0(0x423)][_0x97a6b0(0x317)];}));}(Xe)),Xe[_0x44ff9f(0x3bb)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0xe5cf50(0x3bb)],ci;function Qr(){var _0x27560c=_0xe5cf50;return ci||(ci=0x1,function(_0x218862,_0x22f7cd){(function(_0x1a239f,_0x44ac13){_0x218862['exports']=_0x44ac13(ne());}(Zr,function(_0x46b13f){var _0xf8d13d=_0x6808;return(function(){var _0x277dc8=_0x6808;if(typeof ArrayBuffer=='function'){var _0x5d9326=_0x46b13f,_0x480871=_0x5d9326[_0x277dc8(0x265)],_0x36d353=_0x480871[_0x277dc8(0x35d)],_0x41bf87=_0x36d353['init'],_0x1c2fb2=_0x36d353[_0x277dc8(0x426)]=function(_0x314820){var _0x454c3c=_0x277dc8;if(_0x314820 instanceof ArrayBuffer&&(_0x314820=new Uint8Array(_0x314820)),(_0x314820 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x314820 instanceof Uint8ClampedArray||_0x314820 instanceof Int16Array||_0x314820 instanceof Uint16Array||_0x314820 instanceof Int32Array||_0x314820 instanceof Uint32Array||_0x314820 instanceof Float32Array||_0x314820 instanceof Float64Array)&&(_0x314820=new Uint8Array(_0x314820['buffer'],_0x314820[_0x454c3c(0x44d)],_0x314820[_0x454c3c(0x364)])),_0x314820 instanceof Uint8Array){for(var _0x141148=_0x314820[_0x454c3c(0x364)],_0x241b6d=[],_0x365f0b=0x0;_0x365f0b<_0x141148;_0x365f0b++)_0x241b6d[_0x365f0b>>>0x2]|=_0x314820[_0x365f0b]<<0x18-_0x365f0b%0x4*0x8;_0x41bf87[_0x454c3c(0x20b)](this,_0x241b6d,_0x141148);}else _0x41bf87['apply'](this,arguments);};_0x1c2fb2[_0x277dc8(0x239)]=_0x36d353;}}()),_0x46b13f[_0xf8d13d(0x265)][_0xf8d13d(0x35d)];}));}(Ze)),Ze[_0x27560c(0x3bb)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){return hi||(hi=0x1,function(_0x2eb665,_0x337c1e){(function(_0x36e48d,_0x52be7b,_0x2b80c5){var _0x417c12=_0x6808;_0x2eb665[_0x417c12(0x3bb)]=_0x52be7b(ne(),Ai());}(is,function(_0x320a32){var _0x513815=_0x6808;return _0x320a32[_0x513815(0x4a5)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x320a32['pad'][_0x513815(0x228)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x52e17b,_0x1b0b99){var _0x33b068=_0xe5cf50;const _0x53de0f=_0x1b0b99-_0x52e17b['length']%_0x1b0b99,_0x4ba237=String[_0x33b068(0x2e9)](_0x53de0f)[_0x33b068(0x1f6)](_0x53de0f);return _0x52e17b+_0x4ba237;}function as(_0x1d6afd,_0x4afdf9){var _0x38ae71=_0xe5cf50;const _0x5d9065=ts['random'](0x10),_0x3946e2=os(_0x1d6afd,0x10),_0x1b0219=Kr[_0x38ae71(0x1f4)](Xr['parse'](_0x3946e2),oi['parse'](_0x4afdf9),{'iv':_0x5d9065,'padding':ss});return _0x5d9065[_0x38ae71(0x33c)](_0x1b0219[_0x38ae71(0x2a3)])[_0x38ae71(0x1c1)](oi);}function cs(){var _0x1a960c=_0xe5cf50;const _0x55ec89=_0x15c967()[_0x1a960c(0x2bb)];if(_0x55ec89){const _0x13b0f1={'time':Math[_0x1a960c(0x374)](Date[_0x1a960c(0x48b)]()/0x3e8),'domain':location[_0x1a960c(0x3e9)]};return as(JSON[_0x1a960c(0x3e1)](_0x13b0f1),_0x55ec89);}}var hs=Object[_0xe5cf50(0x4a7)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x3347fd,_0x5c149d,_0x242fbd,_0x281201)=>{for(var _0x12b853=_0x281201>0x1?void 0x0:_0x281201?_s(_0x5c149d,_0x242fbd):_0x5c149d,_0x57a635=_0x3347fd['length']-0x1,_0x4ab676;_0x57a635>=0x0;_0x57a635--)(_0x4ab676=_0x3347fd[_0x57a635])&&(_0x12b853=(_0x281201?_0x4ab676(_0x5c149d,_0x242fbd,_0x12b853):_0x4ab676(_0x12b853))||_0x12b853);return _0x281201&&_0x12b853&&hs(_0x5c149d,_0x242fbd,_0x12b853),_0x12b853;},us=(_0x126b21,_0x42931a)=>(_0x281c6e,_0x3bf7f9)=>_0x42931a(_0x281c6e,_0x3bf7f9,_0x126b21);let ot=class{constructor(_0x209475){var _0x1f62ea=_0xe5cf50;this[_0x1f62ea(0x36e)]=_0x209475,this[_0x1f62ea(0x243)]();}['_initRequestHeader'](){var _0x106630=_0xe5cf50;this[_0x106630(0x36e)]['registerHTTPInterceptor']({'interceptor':(_0x23178f,_0x46dc74)=>{var _0x4a5e28=_0x106630;const _0xeca529=_0x23178f['headers'],_0x1b4ab4=cs();return _0x1b4ab4&&_0xeca529['set'](_0x4a5e28(0x47d),_0x1b4ab4),_0x46dc74(_0x23178f);}});}};ot=ls([us(0x0,_0x1d51a6(_0x2e5962))],ot);function _0x4e7c(){var _0x4c4b0c=['_unlockTransition','sendChangesetTimeout','Error\x20on\x20receiving\x20event','dispose$','objects','deepClone','slice','APPLY_NON_SEQUENTIAL_REVISION','[DataLoaderService]','_registerDependencies','_configService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','getWorkbookSelections','_singleActiveUnitService','_replaceFileID','change$','_submitChangeset','workbook','EvpKDF','post','_xformMode','application/json','exports','onTransformRemoteChangesetByIMECache','USERS_ENTER','_startTelemetryCollaborationNewChangeset','infoRsp','_handler','readAsDataURL','method','SUBMIT_CHANGESET','createInstance','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearCollaborationTimeoutTimer','_onJoinRoomEvent','unit-cache-','_handlerCallback','COMPRESS_MUTATION_SEND','readyForCollab','encode','executeCommand','awaiting','_startCollaboration','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','searchParams','_getDownloadEndpointURL','encryptBlock','_onRemoteACK','_nDataBytes','UPDATE_PERMISSION_OBJ','findIndex','_emitMembers','_throwTelemetryCollaborationNewChangeset','_lockTransition','_iv','_doReset','file','update','onMissedChangesetFetched','[OfflineState]:\x20received\x20acknowledgement.','stringify','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nRounds','_listenToNetworkCondition','_telemetryService','collaMsg','session.room-cnt-exceeds','_scheduleCollaborationTimeoutTimer','hostname','_parse','session.room-full','updatePermissionPoint','reject','LIVESHARE_FETCH_OPERATIONS','OTHER_CLIENTS_EDITING','padding','PY_RUNTIME_SCRIPT_ERROR','LIVESHARE_REQUEST_HOST','PasswordBasedCipher','_decreaseWaiting','location','getMemberID','_sheetTransformSelectionsService','unknown','_getSignURL','_revisionService','status','splice','_invKeySchedule','addImageSourceCache','_showConflictNotification','_oKey','fetchMissingChangesets','_sender','_collaborationTimeoutTimer','sessionTicket','_onMessage','_initMergeInterceptor','_sessions','_socket','HEARTBEAT','JOIN_ROOM_FAILED','decrypt','event$','CLOSE_ROOM','SNAPSHOT_HAS_BEEN_REMOVED','/allowed','dispose','_map','collaboration-client.config','textRanges','abs','_executeRemoteChangeset','JOIN_ROOM_NOT_EXISTS','result','ALREADY_EXISTS','BufferedBlockAlgorithm','COMMENT_UPDATE','HttpExport','updateMember','requireSession','_clearUndo','_socketService','_event$','loadOfflineData','SNAPSHOT_INVALID_SNAPSHOT','enc','onLocalMutation','_onConflict','init','UNIVER_SHEET','/role','/universer-api/snapshot','capture','_timeoutTimer','_keySchedule','authzUrl','PERMISSION_DENIED','BlockCipher','push','_toggleOnline','loginUrlKey','headers','_sendHeartbeat','indexOf','name','joinRsp','_roomMembers','SNAPSHOT_SERVER_URL_KEY','_rescheduleHeartbeat','_candidateSocket','_createHandler','[CollaborationState]:\x20apply\x20error!','editingUnit','formatter','members$','_transformStateCache','get','image/png','resolve','salt','conflict','_scheduleCompleteTimestamp','_transformStack','_onRemoteRejected','pluginName','_reverseMap','ENSURE_SNAPSHOT_EXECUTION','byteOffset','parse','origin','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','userID','_waitForHeartbeatResponse','loadDoc','getSnapshotAPIPath','Hasher','487812gWyFrV','set','transformChangesets','LICENSE_DISTRO_REJECTED','reverse','HELLO','memberID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','unitID','_clearRedo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','ERROR_IMAGE_TYPE','_loadSheet','_compressMutationService','LOCAL_CACHE_INTERVAL','APPLY_DUPLICATED','_key','_shouldReportTelemetry','getMember','listRoles','LICENSE_IMPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_collaborationPaused','_onRemoteChangeset','onTransformRemoteChangesetByStateCache','appendMutation','[OfflineState]:\x20received\x20rejection.','session.room-permission-denied','303443GUBAKT','create','processBlock','getUnitType','_createSocketURL','AWAITING','unitId\x20is\x20not\x20found','transformStack\x20failed!','_initCloseConn','x-univer-host','ERROR_IMAGE','getSheetId','values','cfg','UNDEFINED','SOCKET_FAILED','send','YUUMI_URL_COL_OUT_OF_RANGE','clone','_waitCount','sigBytes','charCodeAt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','now','_transformIMECache','randomBytes','_undoStacks','_status$','FETCH_MISSING','uploadFileServerUrl','Pkcs7','kdf','delete','_createHmacHelper','COMPLETION_FINISHED','key','CHANGESET_SHOULD_RETRY','_onConnectionOpen','PSEUDO_FETCH_MISSING_RESULT','createCollaborator','_updateLocalCache','_injector','objectID','420693HtKZDn','_collaborationSessionService','onRemoteRej','APPLY_REJECT','_schedule','SHA1','pad','_onCombEvent','defineProperty','onRemoteRetry','Base','createDecryptor','awaiting_with_pending','fetchThroughInterceptors','SUBMIT_CHANGESET_TIMEOUT','emitEvent','?url=','_permissionService','includes','CipherParams','collabSubmitChangesetUrl','Encryptor','algo','SEND_CHANGESET_TIMEOUT','offline','putCollaborators','copyFileMeta','getUnit','snapshotServerUrl','replace','COMPRESS_MUTATION_APPLY','_imageSourceCache','onTransformSelections','UNRECOGNIZED','onStateChange','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_userManagerService','shouldCloseConn','toString','random','/-/object/-/batch_allowed','objectActions','/unit/','saveSnapshot','put','words','join','[CollaborationUndoRedoService]','reconnect','INTERNAL_ERROR','_transformUndoredo','title','_onUserJoin','_toggleOffline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','then','getCurrentUser','IDLE','data','auth.needGotoLoginAlert','ticket','withCredentials','saveImage','setCurrentUser','addHandlerCallback','_getSessionTicket','next','code','removeMember','extend','toggleOnline','SUCCUSS','Univer','string','apply','_changesetReqId','_resendTimeout','\x20-\x20','subscribe','reset','_hasher','refreshPermission','listCollaborators','_unitID','resourceIDs','_retryCount','AES','session.room-not-exists','_univerInstanceService','encrypt','_commandService','repeat','map','setConfig','asObservable','disposeWithMe','_getCurrentRevision','_fetchMissChangesets','add','updateOfflineData','getTypeOfUnitDisposed$','allowed','_clearTimeoutTimer','hasher','_localeService','getSheetBlock','[CollaborationSessionService]:\x20socket\x20error','_transformRemoteChangesetByIMECache','localCacheService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_instanceService','c1Prime','call','_state$','filter','OpenSSL','_roomCreated$','AUTHZ_URL_KEY','UNIVER_PROJECT','closeSession','getResourcesRequest','_authzIoService','_commentService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_cipher','unpad','not_collab','forEach','PERMISSION_REJ','downloadEndpointUrl','_minBufferSize','error','_getSendChangesetTimeout','ivSize','resend','_resendWithTimeout','substr','_exhaustRemoteChangesetQueue','_localCacheService','stopTime','baseRev','NoPadding','YUUMI_UNABLE_LOAD_URL','fetch_missing','session.join-failed','NEW_CHANGESETS','_getUndoStack','toggleOffline','m2Prime','sid','roles','UNKNOWN_CODE','getFocusedUnit','close','href','patch','startsWith','SNAPSHOT_URL_KEY','prototype','SHOULD_CLOSE_CONN','BASE64','_syncEditingCollabCursor','UNIVER_UNKNOWN','eventID','onRemoteChangeset','TOO_MANY_REQUESTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getUnitOnRev','_initRequestHeader','Base64','interceptor','UUID','HmacSHA1','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','liveShareOperation','_change$','_snapshotService','651756puOetD','range','5470mDIRbr','setWaitCount','INGEST','[CollaborationSession]','members','univer-pro.collaboration-client.network-condition.service','loadUnit','/block/','_getCtorByUniverType','MSG_FOR_ERROR','_data','csAckEvent','updateCursorEvent','MD5','mixIn','_tryReconnect','entries','collaborators','JOIN','bind','_append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getUploadFileURL','lib','getAllMembers','[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.','size','transformUndoRedo','GLOBAL_ROOMS_CNT_EXCEEDS','subUnitId','Latin1','_incrementRevisionNumber','pending','[PendingState]:\x20received\x20rejection.','image/jpeg','execute','incrementRevOfUnit','NO_OTHER_CLIENTS_EDITING','LIVESHARE_NEW_HOST','_snapshotServerService','_pendingMutations','FETCH_MISS','onRemoteAck','_clearHeartbeatTimer','&source=','__creator','USERS_LEAVE','?size=','runId','_eventService','randomUUID','finalize','_clearScheduledTask','StreamCipher','_undoRedoService','online$','msCrypto','_applyRemoteChangeset','MUTATION','_joinRoom','/universer-api/snapshot/','getCollabEntity$','_socketMessageSubscription','/fetchmissing?from=','charAt','/rev/','onTransformState','20367WzIuJk','ONLINE','rev','10SpljaU','POST','csShouldRetryEvent','/universer-api/stream/file/upload','[UniverCollaborationClientPlugin]','Hex','_collaborationUIEventService','function','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','waitForRoom$','ws://127.0.0.1:8000/universer-api/comb/connect','/new_changes','image/jpg','src','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','equals','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','localeService','collaboration-client.local-cache-service','open$','_socketReady','sessionStatus','_remoteChangesetQueue','updateCollaborator','format','getConfig','avatar','_init','compute','fromCollab','/resources','getActiveSheet','_createInitialState','telemetry\x20info\x20is\x20not\x20initialized','Could\x20not\x20dynamically\x20require\x20\x22','UPDATE_CURSOR','_tryEnsureSocket','fetching\x20missing\x20changesets\x20from\x20','__Key__','_state','\x0aCurrent:\x20','_getRedoStack','CHANGESET_REJ','JOINING','keySize','status$','generateRandomId','_process','[CollaborationSessionService]','getCurrentRevOfUnit','updatePermissionObjEvent','_telemetryInfo','/collaborator','_unitInfo$','session','_stopTelemetryCollaborationNewChangeset','originalMeta','fetchMiss','UNIVER_DOC','People','image/bmp','JOIN_ROOM_PERMISSION_DENIED','awaitingChangeset','revision','_onRecvEvent','registerHTTPInterceptor','_createInitialStateImpl','clamp','_onConnectionFailed','length','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_isPermissionRej','UNKNOWN_CMD','socket\x20close','onCommandExecuted','responseType','onlyLocal','LIVESHARE_TERMINATE','saveSheetBlock','/universer-api/user/session-ticket','subject','_onFetchMissResult','_clearLocalCache','onSendChangeset','fromCharCode','actions','_mode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','56220DFGTpU','UNIVER_SLIDE','_createHelper','state$','connection\x20error','OFFLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_updateState','synced','CONFLICT','body','CHANGESET_REVISION_CONFILICT','onTransformIME','ceil','LIVESHARE_OPERATION','_acknowledgedAwaitingChangeset','routeKey','Undefined','_disableEditing','_getAPIPrefixPath','LICENSE_EXPORT_SIZE_EXCEEDED','toLowerCase','[CollaborationEntity]','_transitionLocked','_collabSessionService','mutations','/universer-api/authz','Cipher','getInterceptPoints','_http','_updateStatus','unitInfo$','_replayCachedMutations','_iKey','getImage','UnitSnapshot','YUUMI_RATE_OVER_LIMIT','mode','_getAPIPrefix','clear','find','_doFinalize','Utf8','default','_sendingTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','FileId','unsubscribe','createSocket','_networkConditionService','\x20in\x20_schedule.','isPermissionRej','transformSelections','_members$','Decryptor','getOwnPropertyDescriptor','changesets','getUnitId','blockSize','getImageSourceCache','_entityInit$','getTypeOfUnitAdded$','_ENC_XFORM_MODE','_logService','_hash','_queuedRemoteChangesets','FAIL','_socket$','getRandomValues','socketService','url','univer-pro.collaboration-client.single-active-unit-service','retryConnectingInterval','_memberService','UNAUTHENTICATED','_prevBlock','enableAuthServer','HEARTBEAT_TIMEOUT','_transformSelections','concat','type','/universer-api/oidc/authpage','_resendTimer','debug','sessionStatus$','HEARTBEAT_INTERVAL','NOT_FOUND','requestParams','createEncryptor','sheets','_substituteUndoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','_loadDoc','collabWebSocketUrl','SOCKET_FAILED_RETRY','pipe','getTime','LEAVE','action','objectType','collaboration_new_changeset','_onRemoteRetry','liveShareNewHost','collaboratorID','$super','message$','unitId','_getLoginPath','catch','__esModule','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WordArray','image/gif','from','_awaitingChangeset','_DEC_XFORM_MODE','/object','cmd','byteLength','params','_doCryptBlock','ERROR_EXCEED_SIZE','JOIN_ROOM_FULL','UNISCRIPT_RUN','_onLocalMutation','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','DEFAULT_FILE_NAME','_sendHeartbeatTimer','_httpService','_checkMissing','241164BJRPIE','OTHER_CLIENT_EDITING','c2Prime','RECV','floor','CONNECTOR_DATA_TOO_LARGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onOffline','/object/','_initDependencies','_entities','_sessionStatus$','error$','48pPbDXe','decryptBlock','_substituteRedoStack','Malformed\x20UTF-8\x20data','_config','INVALID_ARGUMENT','wsSessionTicketUrl','&to=','_retryConnectingTimer','onCommentUpdate','hasOwnProperty','close$','getCollabEntity','_commentUpdate$','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','onSyncEditingCollabCursor','BlockCipherMode','rng','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getDeserializedSheetBlock','COLLAB_WEB_SOCKET_URL','joinEvent','min','list','crypto','LOGIN_URL_KEY','APPLY_PERMISSION_DENIED','onMissingChangesets','reqId','permissionRejEvent','_members','commentUpdate$','CHANGESET_ACK','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_type','UnitEmbedded','complete','_transformService'];_0x4e7c=function(){return _0x4c4b0c;};return _0x4e7c();}var ds=Object['defineProperty'],fs=Object[_0xe5cf50(0x324)],vs=(_0x101326,_0x44152a,_0x2705b1,_0x1ebf44)=>{var _0x5cc2b9=_0xe5cf50;for(var _0x3912fd=_0x1ebf44>0x1?void 0x0:_0x1ebf44?fs(_0x44152a,_0x2705b1):_0x44152a,_0x2d5f36=_0x101326[_0x5cc2b9(0x2da)]-0x1,_0xe339a;_0x2d5f36>=0x0;_0x2d5f36--)(_0xe339a=_0x101326[_0x2d5f36])&&(_0x3912fd=(_0x1ebf44?_0xe339a(_0x44152a,_0x2705b1,_0x3912fd):_0xe339a(_0x3912fd))||_0x3912fd);return _0x1ebf44&&_0x3912fd&&ds(_0x44152a,_0x2705b1,_0x3912fd),_0x3912fd;},mt=(_0x451353,_0x450021)=>(_0x26c33b,_0x14aab0)=>_0x450021(_0x26c33b,_0x14aab0,_0x451353);let Ot=class extends _0x155349{constructor(_0x14d3e8,_0x33f41d,_0x663eb5){var _0x19ea76=_0xe5cf50;super(),N(this,_0x19ea76(0x2ca),new _0xd2a8b4(null)),N(this,_0x19ea76(0x30c),this[_0x19ea76(0x2ca)][_0x19ea76(0x1f9)]()),(this[_0x19ea76(0x32c)]=_0x14d3e8,this[_0x19ea76(0x24b)]=_0x33f41d,this[_0x19ea76(0x225)]=_0x663eb5);}async[_0xe5cf50(0x254)](_0x5bef52,_0x3fc771,_0x5bdfb6){var _0x3a5378=_0xe5cf50;this['_unitInfo$']['next']({'unitId':_0x5bef52,'type':_0x3fc771,'subUnitId':_0x5bdfb6});let _0x406827=null;switch(_0x3fc771){case Q['UNIVER_SHEET']:{_0x406827=await this['_loadSheet'](_0x5bef52);break;}case Q['UNIVER_DOC']:{_0x406827=await this['_loadDoc'](_0x5bef52);break;}default:{this[_0x3a5378(0x32c)][_0x3a5378(0x21e)](_0x3a5378(0x3ac),_0x3a5378(0x2ec));break;}}return _0x406827;}async[_0xe5cf50(0x464)](_0x597912){var _0x406417=_0xe5cf50,_0x1c7748;let _0x548c55=0x0;const _0x4b42f3=await((_0x1c7748=this['_localCacheService'])==null?void 0x0:_0x1c7748[_0x406417(0x421)](_0x597912));return _0x4b42f3&&(_0x4b42f3[_0x406417(0x2d3)]||_0x4b42f3['mutations'][_0x406417(0x2da)]!==0x0)&&(_0x548c55=_0x4b42f3[_0x406417(0x293)]),_0x548c55===0x0&&this[_0x406417(0x32c)][_0x406417(0x340)](_0x406417(0x3ac),_0x406417(0x216)),this['_snapshotService']['loadSheet'](_0x597912,_0x548c55);}async[_0xe5cf50(0x34a)](_0x5c54ea){var _0x4514e4=_0xe5cf50,_0x1f2066;let _0x4bec55=0x0;const _0x21bbe5=await((_0x1f2066=this[_0x4514e4(0x225)])==null?void 0x0:_0x1f2066[_0x4514e4(0x421)](_0x5c54ea));return _0x21bbe5&&(_0x21bbe5[_0x4514e4(0x2d3)]||_0x21bbe5['mutations'][_0x4514e4(0x2da)]!==0x0)&&(_0x4bec55=_0x21bbe5[_0x4514e4(0x293)]),_0x4bec55===0x0&&this['_logService'][_0x4514e4(0x340)]('[DataLoaderService]',_0x4514e4(0x216)),this[_0x4514e4(0x24b)][_0x4514e4(0x454)](_0x5c54ea,_0x4bec55);}};Ot=vs([mt(0x0,_0x4597d7),mt(0x1,_0x1d51a6(_0x1ce1d6)),mt(0x2,_0x32cef0(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0xe5cf50(0x324)],gs=(_0x4c2d33,_0x3e9acd,_0x27e636,_0x2a9116)=>{var _0x311a1b=_0xe5cf50;for(var _0xc4e94e=_0x2a9116>0x1?void 0x0:_0x2a9116?ms(_0x3e9acd,_0x27e636):_0x3e9acd,_0x1002ff=_0x4c2d33[_0x311a1b(0x2da)]-0x1,_0x402ec4;_0x1002ff>=0x0;_0x1002ff--)(_0x402ec4=_0x4c2d33[_0x1002ff])&&(_0xc4e94e=(_0x2a9116?_0x402ec4(_0x3e9acd,_0x27e636,_0xc4e94e):_0x402ec4(_0xc4e94e))||_0xc4e94e);return _0x2a9116&&_0xc4e94e&&ps(_0x3e9acd,_0x27e636,_0xc4e94e),_0xc4e94e;},gt=(_0x55de40,_0x584036)=>(_0x57d666,_0xdac5c8)=>_0x584036(_0x57d666,_0xdac5c8,_0x55de40);const Ss=[_0xe5cf50(0x443),_0xe5cf50(0x270),_0xe5cf50(0x2a0),_0xe5cf50(0x35e),_0xe5cf50(0x2d1)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0xe5cf50(0x297),Cs=_0xe5cf50(0x241),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x3ee730,_0x79314f,_0x4daff2){var _0xac47f0=_0xe5cf50;N(this,_0xac47f0(0x487),0x0),N(this,_0xac47f0(0x24a),new _0x355bd5()),N(this,_0xac47f0(0x3b4),this[_0xac47f0(0x24a)]),N(this,_0xac47f0(0x1ba),new Map()),(this[_0xac47f0(0x36e)]=_0x3ee730,this[_0xac47f0(0x3ae)]=_0x79314f,this['_univerInstanceService']=_0x4daff2);}[_0xe5cf50(0x24f)](_0x2a8a55){var _0x135aa2=_0xe5cf50;this[_0x135aa2(0x487)]=_0x2a8a55,this[_0x135aa2(0x24a)][_0x135aa2(0x1dd)](_0x2a8a55);}[_0xe5cf50(0x328)](_0x442410,_0x5c6e66){var _0x5b2433=_0xe5cf50;if(_0x5c6e66===_0x2061c6[_0x5b2433(0x23b)]){const _0x491b6e=new Image();return _0x491b6e[_0x5b2433(0x2a1)]=_0x442410,_0x491b6e;}return this[_0x5b2433(0x1ba)][_0x5b2433(0x442)](_0x442410);}[_0xe5cf50(0x3fe)](_0x5c2eab,_0x43c87c,_0x5ed9c7){var _0x44fde1=_0xe5cf50;_0x43c87c===_0x2061c6[_0x44fde1(0x23b)]||_0x5ed9c7==null||this[_0x44fde1(0x1ba)][_0x44fde1(0x458)](_0x5c2eab,_0x5ed9c7);}async[_0xe5cf50(0x30f)](_0x5091a1){var _0x502867=_0xe5cf50;try{const _0x5369a8=this[_0x502867(0x3b3)](this[_0x502867(0x3f9)](),''+_0x5091a1),_0x502391=(await this[_0x502867(0x36e)][_0x502867(0x442)](_0x5369a8))[_0x502867(0x2f7)];if(_0x502391[_0x502867(0x21e)]&&_0x502391['error'][_0x502867(0x1de)]===Ii['OK']){const _0x457ba9=new URL(_0x502391[_0x502867(0x333)],this[_0x502867(0x3d2)]())[_0x502867(0x1c1)]();return Promise[_0x502867(0x444)](_0x457ba9);}return Promise['reject'](_0x502391[_0x502867(0x21e)]);}catch(_0x1943bd){return Promise[_0x502867(0x3ed)](_0x1943bd);}}async[_0xe5cf50(0x1d9)](_0x109617){var _0x514b76=_0xe5cf50;let _0x3e4cf2='';if(!Ss[_0x514b76(0x1ad)](_0x109617[_0x514b76(0x33d)]))return this[_0x514b76(0x3f4)](),Promise['reject'](new Error(_0x554c83[_0x514b76(0x463)]));if(_0x109617[_0x514b76(0x268)]>Es)return this[_0x514b76(0x3f4)](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x367)]));try{const _0x2513d8=new FormData();_0x2513d8['append'](_0x514b76(0x3dd),_0x109617);const _0x40b181=this[_0x514b76(0x1f3)][_0x514b76(0x233)](),_0x159a11=_0x40b181==null?void 0x0:_0x40b181[_0x514b76(0x326)]();if(!_0x159a11)throw new Error(_0x514b76(0x47a));const _0xaafcbb=this[_0x514b76(0x264)]()+_0x514b76(0x27d)+_0x109617['size'][_0x514b76(0x1c1)]()+_0x514b76(0x27a)+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x159a11),_0x24cb9b=await(await fetch(_0xaafcbb,{'method':_0x514b76(0x295),'body':_0x2513d8}))['json']();if(typeof _0x24cb9b[_0x514b76(0x31b)]!=_0x514b76(0x1e4))return this['_decreaseWaiting'](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x47e)]));_0x3e4cf2=_0x24cb9b[_0x514b76(0x31b)];}catch{return this[_0x514b76(0x3f4)](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x47e)]));}return new Promise((_0x54b15a,_0x38abb8)=>{var _0x2b28c7=_0x514b76;const _0x163822=new FileReader();_0x163822[_0x2b28c7(0x3c1)](_0x109617),_0x163822['onload']=_0x38c359=>{var _0x506441=_0x2b28c7,_0x516706;const _0x3f044e=(_0x516706=_0x38c359['target'])==null?void 0x0:_0x516706[_0x506441(0x417)];if(_0x3f044e==null){this[_0x506441(0x3f4)](),_0x38abb8(new Error(_0x554c83[_0x506441(0x47e)]));return;}const _0x5a2945=_0x338369[_0x506441(0x2c3)](0x6);_0x54b15a({'imageId':_0x5a2945,'imageSourceType':_0x2061c6[_0x506441(0x246)],'source':_0x3e4cf2,'base64Cache':_0x3f044e,'status':_0x554c83[_0x506441(0x1e2)]}),this['_decreaseWaiting']();};});}[_0xe5cf50(0x264)](){var _0x339119=_0xe5cf50,_0x3dd51c,_0x132ac3;const _0x219964=this['_configService'][_0x339119(0x2ae)](Is),_0x3f52e8=this[_0x339119(0x3ae)][_0x339119(0x2ae)](q);return(_0x132ac3=(_0x3dd51c=_0x3f52e8==null?void 0x0:_0x3f52e8[_0x339119(0x491)])!=null?_0x3dd51c:_0x219964)!=null?_0x132ac3:Ts;}[_0xe5cf50(0x3f9)](){var _0x560342=_0xe5cf50,_0x13b834,_0x92fec3;const _0xc9a8c9=this[_0x560342(0x3ae)][_0x560342(0x2ae)](Cs),_0x3255e9=this[_0x560342(0x3ae)]['getConfig'](q);return(_0x92fec3=(_0x13b834=_0x3255e9==null?void 0x0:_0x3255e9['signUrlServerUrl'])!=null?_0x13b834:_0xc9a8c9)!=null?_0x92fec3:Rs;}[_0xe5cf50(0x3d2)](){var _0x2751fb=_0xe5cf50,_0x35f3dc;const _0x4d2cbd=this[_0x2751fb(0x3ae)][_0x2751fb(0x2ae)](q);return(_0x35f3dc=_0x4d2cbd==null?void 0x0:_0x4d2cbd[_0x2751fb(0x21c)])!=null?_0x35f3dc:location[_0x2751fb(0x44f)];}['_replaceFileID'](_0xe18820,_0x447c7e){var _0x1400e6=_0xe5cf50;return _0xe18820[_0x1400e6(0x1b8)]('{fileID}',_0x447c7e);}[_0xe5cf50(0x3f4)](){var _0x397f49=_0xe5cf50;this[_0x397f49(0x487)]-=0x1,this['_change$'][_0x397f49(0x1dd)](this['_waitCount']);}};yt=gs([gt(0x0,_0x1d51a6(_0x2e5962)),gt(0x1,_0x22ebb9),gt(0x2,_0x1d51a6(_0x25173e))],yt);var bs=Object[_0xe5cf50(0x4a7)],Os=Object[_0xe5cf50(0x324)],ys=(_0x1537f0,_0x3b18f7,_0x3c8e74,_0xddf0f1)=>{var _0x244428=_0xe5cf50;for(var _0x102215=_0xddf0f1>0x1?void 0x0:_0xddf0f1?Os(_0x3b18f7,_0x3c8e74):_0x3b18f7,_0x3d25c8=_0x1537f0[_0x244428(0x2da)]-0x1,_0x99b68c;_0x3d25c8>=0x0;_0x3d25c8--)(_0x99b68c=_0x1537f0[_0x3d25c8])&&(_0x102215=(_0xddf0f1?_0x99b68c(_0x3b18f7,_0x3c8e74,_0x102215):_0x99b68c(_0x102215))||_0x102215);return _0xddf0f1&&_0x102215&&bs(_0x3b18f7,_0x3c8e74,_0x102215),_0x102215;},_i=(_0x383c87,_0x21e88d)=>(_0x3e6afa,_0x5668b8)=>_0x21e88d(_0x3e6afa,_0x5668b8,_0x383c87);const Ns=_0xe5cf50(0x307);let Nt=class{constructor(_0x37d2b2,_0x27c48b){var _0x483959=_0xe5cf50;this[_0x483959(0x3ae)]=_0x37d2b2,this[_0x483959(0x462)]=_0x27c48b;}['_getAPIPrefixPath'](){var _0x58c6eb=_0xe5cf50,_0x5556bc,_0x3d2982;const _0x16c725=this[_0x58c6eb(0x3ae)][_0x58c6eb(0x2ae)](Pi),_0x197898=this[_0x58c6eb(0x3ae)][_0x58c6eb(0x2ae)](q);return(_0x3d2982=(_0x5556bc=_0x197898==null?void 0x0:_0x197898[_0x58c6eb(0x42d)])!=null?_0x5556bc:_0x16c725)!=null?_0x3d2982:Ns;}async[_0xe5cf50(0x395)](_0x4d4ba6){var _0xdc1b95=_0xe5cf50;const _0x2673e7=this['_getAPIPrefixPath']()+_0xdc1b95(0x2c9);return{'list':[{'title':_0xdc1b95(0x2d0),'mentions':(await this[_0xdc1b95(0x462)][_0xdc1b95(0x442)](_0x2673e7,{'params':{'objectID':_0x4d4ba6['unitId'],'unitID':_0x4d4ba6[_0xdc1b95(0x358)]}}))[_0xdc1b95(0x2f7)][_0xdc1b95(0x25f)][_0xdc1b95(0x1f7)](_0x550aac=>({'objectId':_0x550aac['id'],'name':_0x550aac['subject'][_0xdc1b95(0x436)],'metadata':{'icon':_0x550aac[_0xdc1b95(0x2e5)][_0xdc1b95(0x2af)]},'label':_0x550aac[_0xdc1b95(0x2e5)][_0xdc1b95(0x436)],'objectType':_0x342389['PERSON']})),'metadata':{},'type':_0x342389['PERSON']}]};}};Nt=ys([_i(0x0,_0x1d51a6(_0x22ebb9)),_i(0x1,_0x1d51a6(_0x2e5962))],Nt);var Ds=Object[_0xe5cf50(0x4a7)],Ps=Object[_0xe5cf50(0x324)],ws=(_0xd0197e,_0x31881f,_0x5ef369,_0x4695e6)=>{var _0x523299=_0xe5cf50;for(var _0x446ebb=_0x4695e6>0x1?void 0x0:_0x4695e6?Ps(_0x31881f,_0x5ef369):_0x31881f,_0x19598a=_0xd0197e[_0x523299(0x2da)]-0x1,_0x4dac73;_0x19598a>=0x0;_0x19598a--)(_0x4dac73=_0xd0197e[_0x19598a])&&(_0x446ebb=(_0x4695e6?_0x4dac73(_0x31881f,_0x5ef369,_0x446ebb):_0x4dac73(_0x446ebb))||_0x446ebb);return _0x4695e6&&_0x446ebb&&Ds(_0x31881f,_0x5ef369,_0x446ebb),_0x446ebb;},Se=(_0x5c286f,_0x123e40)=>(_0x291093,_0x28dfec)=>_0x123e40(_0x291093,_0x28dfec,_0x5c286f);let at=class extends _0x155349{constructor(_0x519759,_0x56a503,_0x244cb3,_0x1914b5,_0x4c3a2a,_0x542d92,_0x1c8891){var _0xe6d6b5=_0xe5cf50;super(),this[_0xe6d6b5(0x49d)]=_0x519759,this['_univerInstanceService']=_0x56a503,this[_0xe6d6b5(0x1ac)]=_0x244cb3,this['_collaborationSessionService']=_0x1914b5,this[_0xe6d6b5(0x29a)]=_0x4c3a2a,this[_0xe6d6b5(0x214)]=_0x542d92,this['_undoRedoService']=_0x1c8891,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0xe5cf50(0x47c)](){var _0x3b7bb6=_0xe5cf50;const _0x25fd44=async _0x826c89=>{var _0x1e4352=_0x6808;(await this[_0x1e4352(0x4a0)][_0x1e4352(0x41d)](_0x826c89))['event$'][_0x1e4352(0x34d)](_0x2c2600(_0x72d08=>_0x72d08[_0x1e4352(0x23e)]===_0x11ed3f[_0x1e4352(0x23a)]),_0x196a7c(this[_0x1e4352(0x3a7)]))[_0x1e4352(0x1e9)](_0x2b43f3=>{var _0x301ef5=_0x1e4352;const _0x2be92a=_0x2b43f3,{reason:_0x183922}=_0x2be92a[_0x301ef5(0x1d5)];this[_0x301ef5(0x29a)][_0x301ef5(0x4ae)]({'id':se[_0x301ef5(0x40d)],'data':_0x183922}),this['_permissionService'][_0x301ef5(0x3ec)](new _0x3d42b8(_0x826c89)['id'],!0x1),this[_0x301ef5(0x4a0)][_0x301ef5(0x212)](_0x826c89);});};_0x25b517(this['_univerInstanceService'][_0x3b7bb6(0x32a)](_0xed9f94['UNIVER_SHEET']),this[_0x3b7bb6(0x1f3)][_0x3b7bb6(0x32a)](_0xed9f94['UNIVER_DOC']))[_0x3b7bb6(0x34d)](_0x137573(_0x1b3945=>_0x1b3945[_0x3b7bb6(0x326)]()),_0x2c2600(_0x43f6ee=>!_0x23cdd9(_0x43f6ee)),_0x196a7c(this[_0x3b7bb6(0x3a7)]))[_0x3b7bb6(0x1e9)](_0x5624e3=>{_0x25fd44(_0x5624e3);});}['_initUnitPermissionChange'](){var _0x10038b=_0xe5cf50;const _0x1af471=async _0x33435e=>{var _0x66721e=_0x6808;const _0x438f38=await this[_0x66721e(0x4a0)]['requireSession'](_0x33435e),_0x3292ef=this['_injector']['get'](_0x531427);_0x438f38['event$']['pipe'](_0x2c2600(_0x629c6e=>_0x629c6e['eventID']===_0x11ed3f[_0x66721e(0x3d6)]),_0x196a7c(this['dispose$']))['subscribe'](_0x400966=>{var _0x2b9ea9=_0x66721e;const _0x2dfd6d=_0x400966,{objectId:_0x465b65}=_0x2dfd6d[_0x2b9ea9(0x1d5)];_0x465b65===_0x33435e?_0x3292ef['initWorkbookPermissionChange'](_0x33435e):_0x3292ef[_0x2b9ea9(0x1ec)](_0x33435e,_0x465b65);});};_0x25b517(this['_univerInstanceService'][_0x10038b(0x32a)](_0xed9f94['UNIVER_SHEET']),this[_0x10038b(0x1f3)][_0x10038b(0x32a)](_0xed9f94['UNIVER_DOC']))[_0x10038b(0x34d)](_0x137573(_0x44091d=>_0x44091d[_0x10038b(0x326)]()),_0x2c2600(_0x2d7c21=>!_0x23cdd9(_0x2d7c21)),_0x196a7c(this[_0x10038b(0x3a7)]))[_0x10038b(0x1e9)](_0x51be5a=>{_0x1af471(_0x51be5a);});}};at=ws([Se(0x0,_0x1d51a6(_0x1edb1c)),Se(0x1,_0x25173e),Se(0x2,_0x1f54fc),Se(0x3,_0x1d51a6(Le)),Se(0x4,_0x1d51a6(pe)),Se(0x5,_0x3f47ca),Se(0x6,_0x512149)],at);var Us=Object['defineProperty'],As=Object[_0xe5cf50(0x324)],xs=(_0xae1ec0,_0x55c6ea,_0x5be337,_0x2b543e)=>{var _0x12500b=_0xe5cf50;for(var _0x55f138=_0x2b543e>0x1?void 0x0:_0x2b543e?As(_0x55c6ea,_0x5be337):_0x55c6ea,_0x20cc40=_0xae1ec0[_0x12500b(0x2da)]-0x1,_0x47b326;_0x20cc40>=0x0;_0x20cc40--)(_0x47b326=_0xae1ec0[_0x20cc40])&&(_0x55f138=(_0x2b543e?_0x47b326(_0x55c6ea,_0x5be337,_0x55f138):_0x47b326(_0x55f138))||_0x55f138);return _0x2b543e&&_0x55f138&&Us(_0x55c6ea,_0x5be337,_0x55f138),_0x55f138;},li=(_0x5443bb,_0x1248ad)=>(_0x24899b,_0xc57a58)=>_0x1248ad(_0x24899b,_0xc57a58,_0x5443bb);let Dt=class{constructor(_0x2e7e12,_0xbd2f5d){var _0x21a507=_0xe5cf50;this[_0x21a507(0x3ae)]=_0x2e7e12,this[_0x21a507(0x36e)]=_0xbd2f5d;}async[_0xe5cf50(0x242)](_0x2a14ff,_0x1d69b4){var _0x43ac1c=_0xe5cf50,_0x4e766d;const {unitID:_0x16dc5e,type:_0x3ae53e,revision:_0x3b48d0=0x0}=_0x1d69b4,_0x24e8cb=this[_0x43ac1c(0x455)]()+'/'+_0x3ae53e+_0x43ac1c(0x1c5)+_0x16dc5e+_0x43ac1c(0x28f)+_0x3b48d0,_0x1868f5=(await this[_0x43ac1c(0x36e)][_0x43ac1c(0x442)](_0x24e8cb))[_0x43ac1c(0x2f7)],_0x119eaa=(_0x4e766d=_0x1868f5['snapshot'])==null?void 0x0:_0x4e766d[_0x43ac1c(0x3b6)];if(_0x119eaa){const _0x16969d=_0x119eaa==null?void 0x0:_0x119eaa[_0x43ac1c(0x2cd)],_0x3d8258=_0x248498[_0x43ac1c(0x3cc)](_0x548551(_0x16969d));_0x119eaa[_0x43ac1c(0x2cd)]=_0x3d8258,Object[_0x43ac1c(0x25e)](_0x119eaa[_0x43ac1c(0x346)])[_0x43ac1c(0x21a)](([,_0x108175])=>{var _0x10a708=_0x43ac1c;const _0x51198c=_0x108175['originalMeta'],_0x1d5f3f=_0x248498[_0x10a708(0x3cc)](_0x548551(_0x51198c));_0x108175['originalMeta']=_0x1d5f3f;});}return _0x1868f5;}async[_0xe5cf50(0x204)](_0x59cb3b,_0x44910f){var _0x2f3025=_0xe5cf50;const {unitID:_0x32fb1e,type:_0x52ce5d,blockID:_0xba021f}=_0x44910f,_0x4d8008=this['_getAPIPrefix']()+'/'+_0x52ce5d+_0x2f3025(0x1c5)+_0x32fb1e+_0x2f3025(0x255)+_0xba021f;return(await this[_0x2f3025(0x36e)]['get'](_0x4d8008))['body'];}async[_0xe5cf50(0x391)](_0x4150c3,_0x4218c6){var _0x1048cd=_0xe5cf50;const {unitID:_0x4703c0,type:_0x16b794,blockID:_0x2278b1}=_0x4218c6,_0x316770=this[_0x1048cd(0x313)]()+_0x1048cd(0x255)+_0x16b794+_0x1048cd(0x1c5)+_0x4703c0+'/block/'+_0x2278b1;return(await this[_0x1048cd(0x36e)]['get'](_0x316770))[_0x1048cd(0x2f7)];}async[_0xe5cf50(0x401)](_0x3255d2,_0x1ba00c){var _0x26d8ed=_0xe5cf50;const {unitID:_0x2a11c7,type:_0x1c7312,from:_0x594e98,to:_0x48d6f1}=_0x1ba00c,_0x3e61ac=this[_0x26d8ed(0x313)]()+'/'+_0x1c7312+_0x26d8ed(0x1c5)+_0x2a11c7+_0x26d8ed(0x28d)+_0x594e98+_0x26d8ed(0x384)+_0x48d6f1;return(await this['_httpService'][_0x26d8ed(0x442)](_0x3e61ac))[_0x26d8ed(0x2f7)];}[_0xe5cf50(0x455)](){var _0x32006d=_0xe5cf50,_0x4abade;return(_0x4abade=this[_0x32006d(0x3ae)][_0x32006d(0x2ae)](Tn))!=null?_0x4abade:this[_0x32006d(0x313)]();}['_getAPIPrefix'](){var _0x556a23=_0xe5cf50,_0x431de1,_0x41cd82;const _0x100a35=this[_0x556a23(0x3ae)]['getConfig'](En),_0x31e53e=this[_0x556a23(0x3ae)][_0x556a23(0x2ae)](q);return(_0x41cd82=(_0x431de1=_0x31e53e==null?void 0x0:_0x31e53e[_0x556a23(0x1b7)])!=null?_0x431de1:_0x100a35)!=null?_0x41cd82:In;}async[_0xe5cf50(0x213)](_0x3656b4,_0x30d3b3){var _0x213156=_0xe5cf50;const _0x3db259=_0x213156(0x28a)+_0x30d3b3[_0x213156(0x33d)]+'/unit/'+_0x30d3b3[_0x213156(0x45f)]+_0x213156(0x2b3);return(await this[_0x213156(0x36e)][_0x213156(0x442)](_0x3db259,{'params':{'resourceId':JSON[_0x213156(0x3e1)](_0x30d3b3[_0x213156(0x1ef)])}}))['body'];}[_0xe5cf50(0x1c6)](){var _0x1f2177=_0xe5cf50;throw new Error(_0x1f2177(0x248));}[_0xe5cf50(0x2e3)](){var _0x33a0de=_0xe5cf50;throw new Error(_0x33a0de(0x248));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe5cf50(0x1b5)](){var _0x563d2a=_0xe5cf50;throw new Error(_0x563d2a(0x248));}['getLatestCsReqIdBySid'](){var _0x520296=_0xe5cf50;throw new Error(_0x520296(0x248));}};Dt=xs([li(0x0,_0x22ebb9),li(0x1,_0x1d51a6(_0x2e5962))],Dt);var Ls=Object[_0xe5cf50(0x4a7)],Ms=Object[_0xe5cf50(0x324)],$s=(_0x4f62ab,_0xf310f7,_0x2be14a,_0x24c7ea)=>{var _0xed1c4c=_0xe5cf50;for(var _0x2ddb9f=_0x24c7ea>0x1?void 0x0:_0x24c7ea?Ms(_0xf310f7,_0x2be14a):_0xf310f7,_0x5088c4=_0x4f62ab[_0xed1c4c(0x2da)]-0x1,_0x4b425f;_0x5088c4>=0x0;_0x5088c4--)(_0x4b425f=_0x4f62ab[_0x5088c4])&&(_0x2ddb9f=(_0x24c7ea?_0x4b425f(_0xf310f7,_0x2be14a,_0x2ddb9f):_0x4b425f(_0x2ddb9f))||_0x2ddb9f);return _0x24c7ea&&_0x2ddb9f&&Ls(_0xf310f7,_0x2be14a,_0x2ddb9f),_0x2ddb9f;},Ae=(_0x24601c,_0x2ceeed)=>(_0x4930c0,_0x183efa)=>_0x2ceeed(_0x4930c0,_0x183efa,_0x24601c);let Pt=class extends _0x31f8ae{constructor(_0x56dd5,_0x4cd856,_0x52bf22,_0x59cc78,_0x518e61){var _0xb324ef=_0xe5cf50;super(_0x56dd5,_0x4cd856,_0x52bf22),this[_0xb324ef(0x3a3)]=_0x59cc78,this[_0xb324ef(0x32c)]=_0x518e61;}[_0xe5cf50(0x269)](_0x4db3d4,_0x1a720f){var _0x105b80=_0xe5cf50;const _0x3037db=this[_0x105b80(0x22d)](_0x4db3d4);if(_0x3037db)try{const _0x4858ad=this['_transformStack'](_0x3037db,_0x1a720f);this[_0x105b80(0x347)](_0x4db3d4,_0x4858ad);}catch(_0x310c09){this[_0x105b80(0x32c)][_0x105b80(0x21e)](_0x105b80(0x1ca),_0x310c09),this[_0x105b80(0x41e)](_0x4db3d4);}const _0x1155a0=this[_0x105b80(0x2be)](_0x4db3d4);if(_0x1155a0)try{const _0x4b300e=this[_0x105b80(0x448)](_0x1155a0,_0x1a720f);this[_0x105b80(0x37f)](_0x4db3d4,_0x4b300e);}catch(_0x1720e1){this['_logService'][_0x105b80(0x21e)](_0x1720e1),this[_0x105b80(0x460)](_0x4db3d4);}}['_clearUndo'](_0x162527){var _0x1ed9da=_0xe5cf50;const _0x3d0264=this[_0x1ed9da(0x22d)](_0x162527);_0x3d0264&&(_0x3d0264['length']=0x0,this[_0x1ed9da(0x30b)]());}[_0xe5cf50(0x460)](_0x204094){var _0x23693d=_0xe5cf50;const _0x484a81=this[_0x23693d(0x2be)](_0x204094);_0x484a81&&(_0x484a81['length']=0x0,this[_0x23693d(0x30b)]());}[_0xe5cf50(0x347)](_0x3774c1,_0x586026){var _0x1c7352=_0xe5cf50;this[_0x1c7352(0x48e)]['set'](_0x3774c1,_0x586026),this['_updateStatus']();}[_0xe5cf50(0x37f)](_0x8c087a,_0x33c488){var _0x4e211a=_0xe5cf50;this['_redoStacks'][_0x4e211a(0x458)](_0x8c087a,_0x33c488),this[_0x4e211a(0x30b)]();}[_0xe5cf50(0x448)](_0x4eec2b,_0x416ab0){var _0x345a23=_0xe5cf50;const _0x364115=[];let _0xfa63b=_0x416ab0,_0x34efc5=_0x416ab0;for(let _0x3d8ee9=_0x4eec2b['length']-0x1;_0x3d8ee9>=0x0;_0x3d8ee9--){const {unitID:_0x1935a3,undoMutations:_0x116823,redoMutations:_0xa8ccf5}=_0x4eec2b[_0x3d8ee9],_0x19eab3=this[_0x345a23(0x3a3)][_0x345a23(0x3b0)](_0xfa63b,_0x116823),_0x57804c=this[_0x345a23(0x3a3)][_0x345a23(0x3b0)](_0x34efc5,_0xa8ccf5);if(_0x255dba(_0x19eab3)||_0x255dba(_0x57804c)){this['_logService']['error'](_0x345a23(0x1ca),_0x345a23(0x47b),_0x19eab3,_0x57804c);break;}_0xfa63b=_0x19eab3[_0x345a23(0x20a)],_0x34efc5=_0x57804c[_0x345a23(0x20a)],_0x364115[_0x345a23(0x430)]({'unitID':_0x1935a3,'undoMutations':_0x19eab3['m2Prime'],'redoMutations':_0x57804c[_0x345a23(0x22f)]});}return _0x364115[_0x345a23(0x45b)]();}};Pt=$s([Ae(0x0,_0x25173e),Ae(0x1,_0x40e4b8),Ae(0x2,_0x305114),Ae(0x3,_0x45bd1b),Ae(0x4,_0x4597d7)],Pt);var xi=Object[_0xe5cf50(0x4a7)],Hs=Object[_0xe5cf50(0x324)],ks=(_0x341eb9,_0x2ae522,_0xc9e17a)=>_0x2ae522 in _0x341eb9?xi(_0x341eb9,_0x2ae522,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc9e17a}):_0x341eb9[_0x2ae522]=_0xc9e17a,js=(_0x1ffaa2,_0x1d66ba,_0x47f0a6,_0x554b2b)=>{var _0x20b50c=_0xe5cf50;for(var _0x33e2ae=_0x554b2b>0x1?void 0x0:_0x554b2b?Hs(_0x1d66ba,_0x47f0a6):_0x1d66ba,_0x16e6e2=_0x1ffaa2[_0x20b50c(0x2da)]-0x1,_0x2168aa;_0x16e6e2>=0x0;_0x16e6e2--)(_0x2168aa=_0x1ffaa2[_0x16e6e2])&&(_0x33e2ae=(_0x554b2b?_0x2168aa(_0x1d66ba,_0x47f0a6,_0x33e2ae):_0x2168aa(_0x33e2ae))||_0x33e2ae);return _0x554b2b&&_0x33e2ae&&xi(_0x1d66ba,_0x47f0a6,_0x33e2ae),_0x33e2ae;},St=(_0x4eaaff,_0x2cd550)=>(_0x38600c,_0x3a35a6)=>_0x2cd550(_0x38600c,_0x3a35a6,_0x4eaaff),Bs=(_0x5aabf4,_0x2e4e4c,_0x2dcc5e)=>ks(_0x5aabf4,_0x2e4e4c+'',_0x2dcc5e);const Fs=_0xe5cf50(0x3e2);let wt=class extends _0x4be1fd{constructor(_0x1b54cf=Wt,_0x3cd1d3,_0x1e19f0,_0x29026d){var _0x15d70f=_0xe5cf50;super(),this[_0x15d70f(0x381)]=_0x1b54cf,this['_logService']=_0x3cd1d3,this[_0x15d70f(0x49d)]=_0x1e19f0,this[_0x15d70f(0x3ae)]=_0x29026d;const {..._0x120842}=_0x4deb4a({},Wt,this[_0x15d70f(0x381)]);this[_0x15d70f(0x3ae)][_0x15d70f(0x1f8)](q,_0x120842);}['onStarting'](){var _0x4fa5dd=_0xe5cf50;this[_0x4fa5dd(0x3ad)](),this[_0x4fa5dd(0x379)]();}[_0xe5cf50(0x3ad)](){var _0x5d3751=_0xe5cf50,_0x5d9cf5,_0x2a7c90,_0x1dde84,_0x934310;this['_injector']['has'](_0x512149)&&this['_logService'][_0x5d3751(0x21e)](_0x5d3751(0x298),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5bc446=_0x22c189([[_0x512149,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2a7c90=(_0x5d9cf5=this['_config'])==null?void 0x0:_0x5d9cf5[_0x5d3751(0x332)])!=null?_0x2a7c90:Et}],[_0x288584,{'useClass':Dt}],[_0x3f47ca,{'useClass':bt}],[_0x3dc1a0,{'useClass':yt}],[_0x463542,{'useClass':Nt}],[rt],[Rt]],(_0x1dde84=this[_0x5d3751(0x381)])==null?void 0x0:_0x1dde84['override']);if(!((_0x934310=this[_0x5d3751(0x381)])!=null&&_0x934310[_0x5d3751(0x38b)])){const _0x2ff2a9=_0x5bc446[_0x5d3751(0x3d7)](([_0x128135])=>_0x128135===ht);_0x2ff2a9!==-0x1&&_0x5bc446['splice'](_0x2ff2a9,0x1);}_0x5e0e01(this[_0x5d3751(0x49d)],_0x5bc446);}['_initDependencies'](){var _0x15beec=_0xe5cf50,_0x27d857,_0x2defac,_0x470470;this['_injector']['get'](_0x2e5962)[_0x15beec(0x2d6)]({'priority':0x14,'interceptor':_0x5d45a2({'maxParallel':0x6})}),(_0x27d857=this['_config'])!=null&&_0x27d857['enableOfflineEditing']||(_0x2defac=this[_0x15beec(0x49d)]['get'](J,_0x45574e['OPTIONAL']))==null||_0x2defac['disableLocalCache'](),(_0x470470=this[_0x15beec(0x381)])!=null&&_0x470470[_0x15beec(0x339)]&&_0x466650(this['_injector'],[[st]]),_0x466650(this[_0x15beec(0x49d)],[[ot],[rt],[at]]);}};Bs(wt,_0xe5cf50(0x44a),Fs),wt=js([_0x41e936(_0x4962f3,_0xd99729,_0x46aee4),St(0x1,_0x4597d7),St(0x2,_0x1d51a6(_0x1edb1c)),St(0x3,_0x22ebb9)],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};