@univerjs-pro/collaboration-client 0.6.0-nightly.202502151605 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1f558c=_0x4725;(function(_0xab0a9a,_0x183a32){var _0x5e69c2=_0x4725,_0x42dc2f=_0xab0a9a();while(!![]){try{var _0x2d5e9e=-parseInt(_0x5e69c2(0x3af))/0x1+parseInt(_0x5e69c2(0x368))/0x2+-parseInt(_0x5e69c2(0x362))/0x3+-parseInt(_0x5e69c2(0x33b))/0x4+parseInt(_0x5e69c2(0x430))/0x5*(parseInt(_0x5e69c2(0x152))/0x6)+parseInt(_0x5e69c2(0x1e7))/0x7+parseInt(_0x5e69c2(0x241))/0x8*(parseInt(_0x5e69c2(0x1a4))/0x9);if(_0x2d5e9e===_0x183a32)break;else _0x42dc2f['push'](_0x42dc2f['shift']());}catch(_0x27b67a){_0x42dc2f['push'](_0x42dc2f['shift']());}}}(_0x3db1,0x7b71a));var Ai=Object['defineProperty'],xi=(_0x3b2f2a,_0x5675ea,_0xa50ee9)=>_0x5675ea in _0x3b2f2a?Ai(_0x3b2f2a,_0x5675ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa50ee9}):_0x3b2f2a[_0x5675ea]=_0xa50ee9,N=(_0x16b8ea,_0x136e93,_0x533142)=>xi(_0x16b8ea,typeof _0x136e93!='symbol'?_0x136e93+'':_0x136e93,_0x533142);import{createIdentifier as _0x2235da,Inject as _0x5b2811,Injector as _0x5b79bd,Disposable as _0xc53c05,DisposableCollection as _0x17a125,toDisposable as _0xd7d543,IConfigService as _0x4ea54a,ILogService as _0x574408,UserManagerService as _0x10939a,UniverInstanceType as _0x3886a9,IUniverInstanceService as _0x30c3be,LocaleService as _0x426c5e,Optional as _0x40673b,RxDisposable as _0x1a5dd9,Tools as _0x2d4a2c,Rectangle as _0x568d0c,ICommandService as _0x456150,JSONX as _0x431a9e,CommandType as _0x2402fa,IPermissionService as _0x5b9158,IUndoRedoService as _0x46c745,sequenceExecute as _0x4ff652,Workbook as _0x13ef59,MentionType as _0x4e27b9,isInternalEditorID as _0x5c098a,LocalUndoRedoService as _0x457268,IContextService as _0x201420,DependentOn as _0x208650,Plugin as _0x5290de,merge as _0x33bad6,mergeOverrideWithDependencies as _0x591a49,IAuthzIoService as _0x1b9835,IMentionIOService as _0x4e0d64,registerDependencies as _0x8001ff,Quantity as _0x5bd1e3,touchDependencies as _0x3a3a91}from'@univerjs/core';import{Subject as _0x13d4cc,merge as _0x404c78,of as _0xb786a0,BehaviorSubject as _0x12b284,takeUntil as _0x29925c,ReplaySubject as _0x40f8ad,take as _0x3669e7,map as _0x1d5c6b,shareReplay as _0x576d80,firstValueFrom as _0x9545a1,concatMap as _0x574dc9}from'rxjs';import{map as _0xeca816,take as _0x56ed41,filter as _0x1bdf9d,delay as _0x18b0fa,takeUntil as _0x30142f}from'rxjs/operators';import{CollaborationEvent as _0x238e1f,parseChangesetToProtocol as _0x32fcbc,ISnapshotServerService as _0x389d38,isTransformMutationsWithChangesetSuccess as _0x1a87e5,ITransformService as _0x45b9e1,mapDocumentTypeToUniverType as _0x46690e,RevisionService as _0x40fd0a,isTransformChangesetsSuccess as _0x2e616a,CompressMutationService as _0x112c57,parseProtocolChangeset as _0x350fd9,SnapshotService as _0x4c1140,textEncoder as _0x9a9792,b64DecodeUnicode as _0x3b9e94,isTransformMutationsWithChangesetFailure as _0x10ccbc,UniverCollaborationPlugin as _0x3c03b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x5b9922,ISocketService as _0x145494,MergeInterceptorFactory as _0x324ea2,HTTPRequest as _0x4ba1c4,UniverNetworkPlugin as _0xc797fa,ThresholdInterceptorFactory as _0x3cb4fe}from'@univerjs/network';import{ITelemetryService as _0x12c52a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3eafab}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c4be3,SetSelectionsOperation as _0xebdb79,InsertSheetMutation as _0x21cc23,EmptyMutation as _0x23cce6,WorkbookEditablePermission as _0x6a1b02,SheetPermissionInitController as _0x15e11e}from'@univerjs/sheets';import{ImageSourceType as _0x437e6e,ImageUploadStatusType as _0x42bf22,IImageIoService as _0x3f6478}from'@univerjs/drawing';import{getGlobalObject as _0x5d2141}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En='SNAPSHOT_URL_KEY',Zs='SEND_CHANGESET_TIMEOUT',In=0x7d0,Tn=_0x1f558c(0x2ce),Cn=_0x1f558c(0x281),Qs=_0x1f558c(0x1d8),bn=_0x1f558c(0x2a9),Rn=0x7530,mi=_0x1f558c(0x3b8),gi=0x4e20,On=0x4e20,yn=_0x1f558c(0x1a2),Nn=0x3,eo=_0x1f558c(0x3cb),to=0x3e8,Dn=_0x1f558c(0x32e),Pn=_0x1f558c(0x34b),wn=_0x1f558c(0x2cd),Un=_0x1f558c(0x13f),io=_0x1f558c(0x29a),no=_0x1f558c(0x2e2);var Si=(_0x39e088=>(_0x39e088[_0x39e088['UNDEFINED']=0x0]=_0x1f558c(0x232),_0x39e088[_0x39e088['OK']=0x1]='OK',_0x39e088[_0x39e088['INTERNAL_ERROR']=0x2]=_0x1f558c(0x1d4),_0x39e088[_0x39e088[_0x1f558c(0x1de)]=0x3]=_0x1f558c(0x1de),_0x39e088[_0x39e088['NOT_FOUND']=0x4]='NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x300)]=0x5]=_0x1f558c(0x300),_0x39e088[_0x39e088[_0x1f558c(0x1b2)]=0x6]='ALREADY_EXISTS',_0x39e088[_0x39e088[_0x1f558c(0x409)]=0x7]=_0x1f558c(0x409),_0x39e088[_0x39e088[_0x1f558c(0x297)]=0x8]='TOO_MANY_REQUESTS',_0x39e088[_0x39e088[_0x1f558c(0x398)]=0x9]=_0x1f558c(0x398),_0x39e088[_0x39e088['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x39e088[_0x39e088[_0x1f558c(0x288)]=0x1771]=_0x1f558c(0x288),_0x39e088[_0x39e088[_0x1f558c(0x3d1)]=0x1772]=_0x1f558c(0x3d1),_0x39e088[_0x39e088[_0x1f558c(0x212)]=0x1773]=_0x1f558c(0x212),_0x39e088[_0x39e088[_0x1f558c(0x14a)]=0x1b59]=_0x1f558c(0x14a),_0x39e088[_0x39e088['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f558c(0x206),_0x39e088[_0x39e088['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f558c(0x32f),_0x39e088[_0x39e088[_0x1f558c(0x292)]=0x1b5c]=_0x1f558c(0x292),_0x39e088[_0x39e088['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x39e088[_0x39e088[_0x1f558c(0x1d7)]=0x1f41]=_0x1f558c(0x1d7),_0x39e088[_0x39e088['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f558c(0x148),_0x39e088[_0x39e088['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f558c(0x1da),_0x39e088[_0x39e088[_0x1f558c(0x2bc)]=0x232b]=_0x1f558c(0x2bc),_0x39e088[_0x39e088['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1f558c(0x2b2),_0x39e088[_0x39e088['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1f558c(0x396),_0x39e088[_0x39e088['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1f558c(0x30b),_0x39e088[_0x39e088[_0x1f558c(0x285)]=0x2712]=_0x1f558c(0x285),_0x39e088[_0x39e088['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x39e088[_0x39e088['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x3a6)]=0x2af9]=_0x1f558c(0x3a6),_0x39e088[_0x39e088['UNRECOGNIZED']=-0x1]=_0x1f558c(0x34f),_0x39e088))(Si||{}),Q=(_0xb8ecdf=>(_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3cd)]=0x0]=_0x1f558c(0x3cd),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x143)]=0x1]=_0x1f558c(0x143),_0xb8ecdf[_0xb8ecdf['UNIVER_SHEET']=0x2]=_0x1f558c(0x3d3),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3e3)]=0x3]=_0x1f558c(0x3e3),_0xb8ecdf[_0xb8ecdf['UNIVER_PROJECT']=0x4]=_0x1f558c(0x243),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0xb8ecdf))(Q||{}),F=(_0x74430b=>(_0x74430b[_0x74430b[_0x1f558c(0x1ad)]=0x0]=_0x1f558c(0x1ad),_0x74430b[_0x74430b[_0x1f558c(0x28b)]=0x1]='HELLO',_0x74430b[_0x74430b[_0x1f558c(0x16e)]=0x2]=_0x1f558c(0x16e),_0x74430b[_0x74430b['LEAVE']=0x3]=_0x1f558c(0x260),_0x74430b[_0x74430b[_0x1f558c(0x24d)]=0x4]=_0x1f558c(0x24d),_0x74430b[_0x74430b[_0x1f558c(0x2c1)]=0x5]='HEARTBEAT',_0x74430b[_0x74430b['RECV']=0x6]='RECV',_0x74430b[_0x74430b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x74430b))(F||{}),ge=(_0x401e4b=>(_0x401e4b[_0x401e4b['UNKNOWN_CODE']=0x0]=_0x1f558c(0x39f),_0x401e4b[_0x401e4b['OK']=0x1]='OK',_0x401e4b[_0x401e4b[_0x1f558c(0x3c8)]=0x2]=_0x1f558c(0x3c8),_0x401e4b[_0x401e4b[_0x1f558c(0x185)]=0x3e9]=_0x1f558c(0x185),_0x401e4b[_0x401e4b[_0x1f558c(0x16a)]=0x3ea]=_0x1f558c(0x16a),_0x401e4b[_0x401e4b[_0x1f558c(0x39b)]=0x3eb]=_0x1f558c(0x39b),_0x401e4b[_0x401e4b[_0x1f558c(0x3bb)]=0x3ec]=_0x1f558c(0x3bb),_0x401e4b[_0x401e4b[_0x1f558c(0x34f)]=-0x1]='UNRECOGNIZED',_0x401e4b))(ge||{}),Ei=(_0x155952=>(_0x155952[_0x155952[_0x1f558c(0x302)]=0x0]='Undefined',_0x155952[_0x155952['HttpImport']=0x1]=_0x1f558c(0x1d6),_0x155952[_0x155952[_0x1f558c(0x2a7)]=0x2]=_0x1f558c(0x2a7),_0x155952[_0x155952[_0x1f558c(0x33c)]=0x3]=_0x1f558c(0x33c),_0x155952[_0x155952['UnitSnapshot']=0x4]='UnitSnapshot',_0x155952[_0x155952[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0x155952))(Ei||{});const q=_0x1f558c(0x1ab),An={};var se=(_0x5978cc=>(_0x5978cc[_0x1f558c(0x222)]='OTHER_CLIENT_EDITING',_0x5978cc[_0x1f558c(0x1de)]='PERMISSION_DENIED',_0x5978cc[_0x1f558c(0x2c7)]='CONFLICT',_0x5978cc[_0x1f558c(0x1ba)]='CLOSE_ROOM',_0x5978cc[_0x1f558c(0x1c1)]=_0x1f558c(0x1c1),_0x5978cc[_0x1f558c(0x1ee)]='SOCKET_FAILED_RETRY',_0x5978cc['SOCKET_FAILED']=_0x1f558c(0x415),_0x5978cc['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5978cc))(se||{});class pe{constructor(){var _0x1669ad=_0x1f558c;N(this,_0x1669ad(0x267),new _0x13d4cc()),N(this,_0x1669ad(0x1c9),this[_0x1669ad(0x267)][_0x1669ad(0x317)]());}[_0x1f558c(0x2ec)](_0x444f6e){var _0x4a5050=_0x1f558c;this[_0x4a5050(0x267)]['next'](_0x444f6e);}}const xn=_0x2235da(_0x1f558c(0x2b0));function Ln(_0xa4b886){var _0x44f1aa=_0x1f558c,_0xe2dae2,_0x1b1006,_0x34b2fd,_0x5d802f,_0x40867b;const _0xffac3a=_0xa4b886[_0x44f1aa(0x2f7)],_0x3344cf=JSON[_0x44f1aa(0x234)](_0xffac3a);switch(_0x3344cf[_0x44f1aa(0x301)]){case F[_0x44f1aa(0x2c1)]:case F[_0x44f1aa(0x28b)]:{const _0x5e21b5=_0x3344cf[_0x44f1aa(0x408)];return{..._0x3344cf,'data':_0x5e21b5,'cmd':_0x3344cf[_0x44f1aa(0x301)]};}case F[_0x44f1aa(0x16e)]:{const _0x395e3f=_0x3344cf[_0x44f1aa(0x21d)];return{..._0x3344cf,'data':_0x395e3f,'cmd':_0x3344cf['cmd']};}case F[_0x44f1aa(0x337)]:{const _0x509568=_0x3344cf['collaMsg'];switch(_0x509568[_0x44f1aa(0x20b)]){case _0x238e1f['PERMISSION_REJ']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0xe2dae2=_0x509568[_0x44f1aa(0x3e6)])==null?void 0x0:_0xe2dae2['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x325)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x1b1006=_0x509568[_0x44f1aa(0x192)])==null?void 0x0:_0x1b1006['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['NEW_CHANGESETS']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x34b2fd=_0x509568[_0x44f1aa(0x233)])==null?void 0x0:_0x34b2fd['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x2ad)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x5d802f=_0x509568['csRejEvent'])==null?void 0x0:_0x5d802f['cs']},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x3dd)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x40867b=_0x509568['csShouldRetryEvent'])==null?void 0x0:_0x40867b['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x33d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3aa)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x2d7)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3d4)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x294)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['leaveEvent']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['LIVESHARE_NEW_HOST']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x23b)]:case _0x238e1f['LIVESHARE_OPERATION']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x369)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x3f1)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf['cmd']};case _0x238e1f['MSG_FOR_ERROR']:return{..._0x3344cf,'data':_0x509568,'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x1ef)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x271)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x1b5)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x2e6)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x190)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x334)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x32d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x413)]},'cmd':_0x3344cf['cmd']};default:return _0x3344cf;}}default:return _0x3344cf;}}function Mn(_0x4002b7){var _0x2143cd=_0x1f558c;switch(_0x4002b7['cmd']){case F[_0x2143cd(0x2c1)]:case F['HELLO']:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)]});case F['INGEST']:{let _0x13c1f6;switch(_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]){case _0x238e1f[_0x2143cd(0x33d)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x33d)],'updateCursorEvent':_0x4002b7['data']['data']};break;}case _0x238e1f['USERS_LEAVE']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x294)],'leaveEvent':_0x4002b7['data']['data']};break;}case _0x238e1f[_0x2143cd(0x2d7)]:{_0x13c1f6={'eventID':_0x238e1f['USERS_ENTER'],'joinEvent':_0x4002b7['data'][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_NEW_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x25b)],'liveShareNewHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3df)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x3df)],'liveShareOperation':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3f1)]:{_0x13c1f6={'eventID':_0x238e1f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4002b7['data']['data']};break;}case _0x238e1f['LIVESHARE_REQUEST_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x340)],'liveShareRequestHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_FETCH_OPERATIONS']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x23b)]};break;}default:_0x13c1f6={'eventID':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]};}return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)],'collaMsg':_0x13c1f6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7[_0x2143cd(0x149)],'joinReq':_0x4002b7[_0x2143cd(0x2f7)]});case F[_0x2143cd(0x260)]:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7['routeKey'],'leaveReq':_0x4002b7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var $n=Object[_0x1f558c(0x175)],Hn=Object[_0x1f558c(0x330)],kn=(_0x235802,_0x2a98bd,_0xc4af4b,_0x1b36f1)=>{for(var _0x45654d=_0x1b36f1>0x1?void 0x0:_0x1b36f1?Hn(_0x2a98bd,_0xc4af4b):_0x2a98bd,_0x36b6a8=_0x235802['length']-0x1,_0x32eefd;_0x36b6a8>=0x0;_0x36b6a8--)(_0x32eefd=_0x235802[_0x36b6a8])&&(_0x45654d=(_0x1b36f1?_0x32eefd(_0x2a98bd,_0xc4af4b,_0x45654d):_0x32eefd(_0x45654d))||_0x45654d);return _0x1b36f1&&_0x45654d&&$n(_0x2a98bd,_0xc4af4b,_0x45654d),_0x45654d;},we=(_0x4c9476,_0x12acf1)=>(_0x11982e,_0x5dbd8c)=>_0x12acf1(_0x11982e,_0x5dbd8c,_0x4c9476);const Ii=_0x2235da(_0x1f558c(0x338));function jn(_0x419f42,_0x140a54,_0x22e2a4){var _0x67aab8=_0x1f558c;return _0x419f42+'/'+_0x140a54+_0x67aab8(0x348)+_0x22e2a4+_0x67aab8(0x254);}let Vt=class extends _0xc53c05{constructor(_0xd72b3a,_0x4e8720,_0x1bdf86,_0x24d883,_0x5beb64){var _0x149dc9=_0x1f558c;super(),this[_0x149dc9(0x1b3)]=_0xd72b3a,this[_0x149dc9(0x2d9)]=_0x4e8720,this[_0x149dc9(0x405)]=_0x1bdf86,this[_0x149dc9(0x343)]=_0x24d883,this[_0x149dc9(0x397)]=_0x5beb64;}['_doCreateSocket'](_0x38f03c){var _0x567777=_0x1f558c;const _0x5e5e48=this[_0x567777(0x1b3)][_0x567777(0x1e3)](_0x145494);if(!_0x5e5e48)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x135c1e=_0x5e5e48['createSocket'](_0x38f03c);if(!_0x135c1e)throw new Error(_0x567777(0x3b3));const _0x246a3d=new _0x17a125(),_0x550c2b=new _0x13d4cc();_0x246a3d['add'](_0x135c1e['close$']['subscribe'](_0x40beca=>_0x550c2b['next'](_0x40beca))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x550c2b['complete']()));const _0x3aade4=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e[_0x567777(0x364)][_0x567777(0x3a4)](_0x1c993e=>_0x3aade4[_0x567777(0x140)](_0x1c993e))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x3aade4[_0x567777(0x345)]()));const _0x1c6783=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e['message$'][_0x567777(0x3a4)](_0x282cba=>{var _0x5da3ef=_0x567777;const _0x273d72=Ln(_0x282cba);_0x1c6783[_0x5da3ef(0x140)](_0x273d72);})),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x1c6783[_0x567777(0x345)]()));let _0x18c1fc;const _0x55969a=()=>{var _0x5c3f46=_0x567777;_0x3aade4[_0x5c3f46(0x140)](new Event('connection\x20error')),_0x550c2b['next'](new Event('connection\x20error')),_0x18c1fc['close']();};return _0x18c1fc={'memberID':'','close$':_0x550c2b['asObservable'](),'error$':_0x3aade4[_0x567777(0x317)](),'open$':_0x135c1e['open$'],'message$':_0x1c6783[_0x567777(0x317)](),'send':_0x1f5465=>{var _0x192331=_0x567777;if(_0x1f5465[_0x192331(0x301)]===F[_0x192331(0x24d)]){if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x328)]){this['_submitChangeset'](_0x18c1fc,_0x1f5465[_0x192331(0x2f7)])[_0x192331(0x16b)](_0x151407=>{var _0x1668d8=_0x192331;this[_0x1668d8(0x343)]['error'](_0x151407),_0x55969a();});return;}if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x199)]){const _0x518616=_0x1f5465['data'];this['_fetchMissChangesets'](_0x518616)[_0x192331(0x1e4)](_0x5d140e=>{var _0x52e424=_0x192331;_0x1c6783[_0x52e424(0x140)]({'cmd':F[_0x52e424(0x337)],'code':ge['OK'],'routeKey':_0x518616[_0x52e424(0x2f7)][_0x52e424(0x3e0)],'routeType':'','data':{'eventID':_0x238e1f[_0x52e424(0x22b)],'data':{'changesets':_0x5d140e}}});})[_0x192331(0x16b)](_0x29ecfa=>{var _0x5f5153=_0x192331;this[_0x5f5153(0x343)][_0x5f5153(0x145)](_0x29ecfa),_0x55969a();});return;}}_0x135c1e[_0x192331(0x1dc)](Mn(_0x1f5465));},'close':()=>{var _0x34d51d=_0x567777;_0x135c1e[_0x34d51d(0x26e)](),_0x246a3d['dispose']();}},_0x18c1fc;}async[_0x1f558c(0x307)](_0x4219e5,_0x2b07bd){var _0x51b073=_0x1f558c,_0xb83097,_0x117644;const {unitType:_0x113fb5,unitID:_0x38a9b8,changeset:_0x821b57}=_0x2b07bd[_0x51b073(0x2f7)],_0x58245b={'unitID':_0x38a9b8,'memberID':_0x4219e5[_0x51b073(0x239)],'type':_0x113fb5,'changeset':_0x32fcbc(_0x821b57)},_0x49a3c7=this[_0x51b073(0x405)][_0x51b073(0x2a0)](Dn),_0x24e357=this[_0x51b073(0x405)]['getConfig'](q),_0x27f7e8=jn((_0x117644=(_0xb83097=_0x24e357==null?void 0x0:_0x24e357[_0x51b073(0x168)])!=null?_0xb83097:_0x49a3c7)!=null?_0x117644:Pn,_0x113fb5,_0x38a9b8);try{await this[_0x51b073(0x2d9)]['post'](_0x27f7e8,{'body':_0x58245b});}catch(_0x489e0e){throw this[_0x51b073(0x343)][_0x51b073(0x145)](_0x51b073(0x3fa),_0x51b073(0x1e1)),_0x489e0e;}}async[_0x1f558c(0x1f7)](_0xee5f83){var _0x2f0b8c=_0x1f558c;const {unitID:_0x211b83,from:_0xbd8f02,to:_0x194e05,unitType:_0x165495}=_0xee5f83[_0x2f0b8c(0x2f7)];return(await this[_0x2f0b8c(0x397)][_0x2f0b8c(0x24a)]({'metadata':void 0x0},{'unitID':_0x211b83,'type':_0x165495,'from':_0xbd8f02,'to':_0x194e05}))[_0x2f0b8c(0x200)];}};Vt=kn([we(0x0,_0x5b2811(_0x5b79bd)),we(0x1,_0x5b2811(_0x5b9922)),we(0x2,_0x4ea54a),we(0x3,_0x574408),we(0x4,_0x389d38)],Vt);const Bn=_0x1f558c(0x2c4);function Fn(_0x3e912e){var _0x3cd827=_0x1f558c;return JSON[_0x3cd827(0x283)](_0x3e912e)[_0x3cd827(0x158)];}class Ti{constructor(){var _0x1683c9=_0x1f558c;N(this,_0x1683c9(0x32b),new _0x13d4cc()),N(this,_0x1683c9(0x34e),this[_0x1683c9(0x32b)][_0x1683c9(0x317)]());}[_0x1f558c(0x358)](_0x209e4f){var _0x2cd29c=_0x1f558c;this[_0x2cd29c(0x32b)][_0x2cd29c(0x140)](_0x209e4f);}}var Gn=Object[_0x1f558c(0x175)],Vn=Object[_0x1f558c(0x330)],Wn=(_0x12f010,_0x31b9db,_0x354aa7,_0x11a0b8)=>{var _0x262cc1=_0x1f558c;for(var _0x5dc312=_0x11a0b8>0x1?void 0x0:_0x11a0b8?Vn(_0x31b9db,_0x354aa7):_0x31b9db,_0x45826b=_0x12f010[_0x262cc1(0x158)]-0x1,_0x32a036;_0x45826b>=0x0;_0x45826b--)(_0x32a036=_0x12f010[_0x45826b])&&(_0x5dc312=(_0x11a0b8?_0x32a036(_0x31b9db,_0x354aa7,_0x5dc312):_0x32a036(_0x5dc312))||_0x5dc312);return _0x11a0b8&&_0x5dc312&&Gn(_0x31b9db,_0x354aa7,_0x5dc312),_0x5dc312;},Wt=(_0x3fe96c,_0x51d321)=>(_0xdb55a,_0x9f59f2)=>_0x51d321(_0xdb55a,_0x9f59f2,_0x3fe96c);let xe=class extends _0xc53c05{constructor(_0x1cfa0c,_0x13b554){var _0xd54980=_0x1f558c;super(),N(this,_0xd54980(0x3f5),new Map()),N(this,'_roomCreated$',new _0x13d4cc()),(this['_univerInstanceService']=_0x1cfa0c,this['_userManagerService']=_0x13b554,this['disposeWithMe'](_0x404c78(this['_univerInstanceService'][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3d3)])['pipe'](_0xeca816(_0x36c16c=>_0x36c16c[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x143)])['pipe'](_0xeca816(_0x4775d1=>_0x4775d1[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3e3)])[_0xd54980(0x41e)](_0xeca816(_0x10b2d5=>_0x10b2d5[_0xd54980(0x253)]())))[_0xd54980(0x3a4)](_0x5490eb=>this['_removeRoom'](_0x5490eb))));}[_0x1f558c(0x26c)](_0x17d51c){var _0x42b002=_0x1f558c;return this[_0x42b002(0x3f5)]['has'](_0x17d51c)?_0xb786a0(this[_0x42b002(0x3f5)][_0x42b002(0x1e3)](_0x17d51c)):this[_0x42b002(0x1e5)][_0x42b002(0x41e)](_0xeca816(_0xbebec4=>{var _0x95c450=_0x42b002;if(_0xbebec4===_0x17d51c)return this['_roomMembers'][_0x95c450(0x1e3)](_0xbebec4);}));}[_0x1f558c(0x18e)](_0x373d95){var _0x1d71f0=_0x1f558c;this[_0x1d71f0(0x2f4)][_0x1d71f0(0x18e)](_0x373d95);}[_0x1f558c(0x1d3)](){var _0x1a0ee7=_0x1f558c;return this[_0x1a0ee7(0x2f4)][_0x1a0ee7(0x1d3)]();}[_0x1f558c(0x150)](_0x58a6da,_0x284b26){var _0x56c6e9=_0x1f558c;let _0x1fee26=this[_0x56c6e9(0x3f5)][_0x56c6e9(0x1e3)](_0x58a6da);_0x1fee26||(_0x1fee26=new Kn(),this[_0x56c6e9(0x3f5)][_0x56c6e9(0x319)](_0x58a6da,_0x1fee26),this['_roomCreated$'][_0x56c6e9(0x140)](_0x58a6da)),_0x1fee26[_0x56c6e9(0x150)](_0x284b26);}[_0x1f558c(0x3f2)](_0x3b184b,_0x445156){var _0x4b6fad=_0x1f558c;const _0x420207=this[_0x4b6fad(0x3f5)][_0x4b6fad(0x1e3)](_0x3b184b);_0x420207&&_0x420207[_0x4b6fad(0x3f2)](_0x445156);}[_0x1f558c(0x186)](_0x434d63){var _0x292072=_0x1f558c;return this[_0x292072(0x3f5)][_0x292072(0x1e3)](_0x434d63);}[_0x1f558c(0x347)](_0x3063be,_0x815dc3){var _0x11f214=_0x1f558c;const _0x1abd6a=this['_roomMembers'][_0x11f214(0x1e3)](_0x3063be);if(_0x1abd6a)return _0x1abd6a[_0x11f214(0x347)](_0x815dc3);}['_removeRoom'](_0x1edf98){var _0x150eed=_0x1f558c;const _0x491297=this[_0x150eed(0x3f5)][_0x150eed(0x1e3)](_0x1edf98);_0x491297&&(_0x491297[_0x150eed(0x227)](),this['_roomMembers'][_0x150eed(0x167)](_0x1edf98));}[_0x1f558c(0x227)](){var _0x4eeb21=_0x1f558c;this['_roomMembers'][_0x4eeb21(0x179)](_0x1818e7=>_0x1818e7['dispose']()),this['_roomMembers']['clear'](),this[_0x4eeb21(0x1e5)]['complete']();}};xe=Wn([Wt(0x0,_0x30c3be),Wt(0x1,_0x5b2811(_0x10939a))],xe);class Kn extends _0xc53c05{constructor(){var _0x36e8a3=_0x1f558c;super(...arguments),N(this,_0x36e8a3(0x36b),new Map()),N(this,_0x36e8a3(0x14f),new _0x12b284(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x1f558c(0x227)](){var _0x3f5dc0=_0x1f558c;this[_0x3f5dc0(0x36b)]['clear']();}[_0x1f558c(0x150)](_0x29edda){var _0x43eff9=_0x1f558c;this[_0x43eff9(0x36b)][_0x43eff9(0x319)](_0x29edda['memberID'],_0x29edda),this[_0x43eff9(0x165)]();}['removeMember'](_0x23fa81){this['_members']['delete'](_0x23fa81);}[_0x1f558c(0x347)](_0x57ec26){var _0x4396fb=_0x1f558c;return this[_0x4396fb(0x36b)][_0x4396fb(0x1e3)](_0x57ec26);}[_0x1f558c(0x423)](){var _0xbcb993=_0x1f558c;return Array[_0xbcb993(0x392)](this[_0xbcb993(0x36b)][_0xbcb993(0x351)]());}['_emitMembers'](){var _0x3373e4=_0x1f558c;this[_0x3373e4(0x14f)][_0x3373e4(0x140)](this[_0x3373e4(0x36b)]);}}var Yn=Object[_0x1f558c(0x175)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x18a1c6,_0x547b3c,_0x410b33,_0x4f681d)=>{for(var _0x52aa11=_0x4f681d>0x1?void 0x0:_0x4f681d?qn(_0x547b3c,_0x410b33):_0x547b3c,_0xd1a9e6=_0x18a1c6['length']-0x1,_0x22e8e4;_0xd1a9e6>=0x0;_0xd1a9e6--)(_0x22e8e4=_0x18a1c6[_0xd1a9e6])&&(_0x52aa11=(_0x4f681d?_0x22e8e4(_0x547b3c,_0x410b33,_0x52aa11):_0x22e8e4(_0x52aa11))||_0x52aa11);return _0x4f681d&&_0x52aa11&&Yn(_0x547b3c,_0x410b33,_0x52aa11),_0x52aa11;},me=(_0x39cba7,_0x51fc2e)=>(_0x47d103,_0x94cf8e)=>_0x51fc2e(_0x47d103,_0x94cf8e,_0x39cba7),Ee=(_0x54e54d=>(_0x54e54d[_0x54e54d[_0x1f558c(0x21a)]=0x0]=_0x1f558c(0x21a),_0x54e54d[_0x54e54d[_0x1f558c(0x279)]=0x1]=_0x1f558c(0x279),_0x54e54d[_0x54e54d[_0x1f558c(0x18f)]=0x2]=_0x1f558c(0x18f),_0x54e54d[_0x54e54d[_0x1f558c(0x262)]=0x3]='ONLINE',_0x54e54d))(Ee||{});const Kt={[ge[_0x1f558c(0x3c8)]]:_0x1f558c(0x142),[ge['JOIN_ROOM_FULL']]:_0x1f558c(0x146),[ge[_0x1f558c(0x16a)]]:'session.room-not-exists',[ge[_0x1f558c(0x39b)]]:'session.room-permission-denied',[ge[_0x1f558c(0x3bb)]]:_0x1f558c(0x3d5)};let Et=class extends _0x1a5dd9{constructor(_0x4ceb77,_0x7ae637,_0x316d79,_0x1d63af,_0x4c52b9,_0x525066,_0x24636f,_0x3f6a41,_0x25ba3d){var _0x3e80db=_0x1f558c;super(),N(this,_0x3e80db(0x277),new _0x12b284(0x0)),N(this,_0x3e80db(0x3ce),this[_0x3e80db(0x277)][_0x3e80db(0x317)]()),N(this,'_event$',new _0x13d4cc()),N(this,'event$',this[_0x3e80db(0x267)][_0x3e80db(0x317)]()),N(this,_0x3e80db(0x20f)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x3e80db(0x25f),!0x1),N(this,_0x3e80db(0x1b6),null),(this['_unitID']=_0x4ceb77,this[_0x3e80db(0x343)]=_0x316d79,this['_configService']=_0x1d63af,this[_0x3e80db(0x2c0)]=_0x4c52b9,this[_0x3e80db(0x35e)]=_0x525066,this[_0x3e80db(0x378)]=_0x24636f,this['_collaborationUIEventService']=_0x3f6a41,this[_0x3e80db(0x353)]=_0x25ba3d,this[_0x3e80db(0x25f)]=!!this[_0x3e80db(0x353)],_0x7ae637[_0x3e80db(0x41e)](_0x29925c(this['dispose$']))[_0x3e80db(0x3a4)](_0x17f35b=>{var _0x61ef42=_0x3e80db,_0x4f3fef;typeof _0x17f35b>'u'||(this[_0x61ef42(0x20f)]=_0x17f35b,_0x17f35b?(this['_joinRoom'](_0x17f35b),this[_0x61ef42(0x228)]=_0x17f35b[_0x61ef42(0x2e5)]['subscribe'](_0x4504d6=>{var _0x1587d5=_0x61ef42;_0x4504d6[_0x1587d5(0x149)]===this[_0x1587d5(0x17f)]&&this[_0x1587d5(0x151)](_0x4504d6);})):(this[_0x61ef42(0x421)](),this[_0x61ef42(0x277)]['next'](0x2),(_0x4f3fef=this[_0x61ef42(0x228)])==null||_0x4f3fef[_0x61ef42(0x207)](),this[_0x61ef42(0x228)]=null));}));}get[_0x1f558c(0x21c)](){var _0x16ccf2=_0x1f558c;return this[_0x16ccf2(0x277)][_0x16ccf2(0x213)]();}[_0x1f558c(0x22d)](){var _0x19d2f2=_0x1f558c,_0x5a2253,_0x3c2ba2;return(_0x3c2ba2=(_0x5a2253=this[_0x19d2f2(0x20f)])==null?void 0x0:_0x5a2253[_0x19d2f2(0x239)])!=null?_0x3c2ba2:null;}[_0x1f558c(0x227)](){var _0xfdb7d8=_0x1f558c;super[_0xfdb7d8(0x227)](),this[_0xfdb7d8(0x270)][_0xfdb7d8(0x140)](),this[_0xfdb7d8(0x270)]['complete']();}[_0x1f558c(0x26e)](){var _0x2e2b41=_0x1f558c,_0x22a145,_0x234a62;this[_0x2e2b41(0x421)](),(_0x22a145=this['_socket'])==null||_0x22a145[_0x2e2b41(0x1dc)]({'cmd':F[_0x2e2b41(0x260)],'data':{'roomID':this['_unitID']}}),(_0x234a62=this['_socket'])==null||_0x234a62[_0x2e2b41(0x26e)](),this[_0x2e2b41(0x267)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x277)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x227)]();}[_0x1f558c(0x151)](_0x3a879e){var _0x5b6cd4=_0x1f558c;_0x3a879e[_0x5b6cd4(0x301)]===F['JOIN']?this[_0x5b6cd4(0x344)](_0x3a879e):_0x3a879e[_0x5b6cd4(0x301)]===F[_0x5b6cd4(0x337)]&&this['_onRecvEvent'](_0x3a879e);}[_0x1f558c(0x375)](_0x4882cc){var _0x21d69b=_0x1f558c;this[_0x21d69b(0x277)]['next'](0x1),_0x4882cc[_0x21d69b(0x1dc)]({'cmd':F[_0x21d69b(0x16e)],'routeKey':this[_0x21d69b(0x17f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d69b(0x17f)]}]}});}[_0x1f558c(0x344)](_0x3d91c7){var _0x213f35=_0x1f558c,_0xd248c3;if(_0x3d91c7['code']in Kt){this[_0x213f35(0x323)][_0x213f35(0x2ec)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x3d91c7[_0x213f35(0x3e7)]]}),this['_sessionStatus$'][_0x213f35(0x140)](0x2);return;}this[_0x213f35(0x277)][_0x213f35(0x140)](0x3);const _0x244bdb=(_0xd248c3=_0x3d91c7[_0x213f35(0x2f7)][_0x213f35(0x27e)][this[_0x213f35(0x17f)]])==null?void 0x0:_0xd248c3[_0x213f35(0x16d)];_0x244bdb&&_0x244bdb[_0x213f35(0x179)](_0x4fe3f3=>this[_0x213f35(0x35e)][_0x213f35(0x150)](this[_0x213f35(0x17f)],_0x4fe3f3));}['_onRecvEvent'](_0x13c9b7){var _0x1f02dc=_0x1f558c;try{const _0x2bd35b=_0x13c9b7[_0x1f02dc(0x2f7)];switch(_0x2bd35b['eventID']){case _0x238e1f[_0x1f02dc(0x2d7)]:this[_0x1f02dc(0x1e2)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f['USERS_LEAVE']:this[_0x1f02dc(0x365)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x325)]:case _0x238e1f[_0x1f02dc(0x3dd)]:this[_0x1f02dc(0x1f9)](),this[_0x1f02dc(0x16f)](),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x219)]:this['_logService'][_0x1f02dc(0x145)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1f02dc(0x283)](_0x2bd35b)),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x1ef)]:this['_commentService'][_0x1f02dc(0x358)](_0x2bd35b['data']),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;default:this[_0x1f02dc(0x267)]['next'](_0x2bd35b);}}catch(_0x8a7db5){this[_0x1f02dc(0x343)][_0x1f02dc(0x145)](_0x8a7db5,_0x13c9b7);}}[_0x1f558c(0x1e2)](_0x108f30){var _0x1277de=_0x1f558c;this[_0x1277de(0x35e)][_0x1277de(0x150)](this[_0x1277de(0x17f)],_0x108f30['data']);}[_0x1f558c(0x365)](_0x17b474){var _0x42a98d=_0x1f558c;this['_memberService']['removeMember'](this['_unitID'],_0x17b474[_0x42a98d(0x2f7)]['memberID']);}async['send'](_0x542404,_0x3306ce){var _0xca3e07=_0x1f558c;if(this[_0xca3e07(0x21c)]!==0x3||!this[_0xca3e07(0x20f)])throw new Error(_0xca3e07(0x2ee));try{_0x542404['eventID']===_0x238e1f[_0xca3e07(0x328)]&&(this[_0xca3e07(0x1f5)](),this[_0xca3e07(0x2b8)](_0x542404)),this[_0xca3e07(0x20f)][_0xca3e07(0x1dc)]({'cmd':F[_0xca3e07(0x24d)],'routeKey':_0x3306ce,'routeType':'','data':_0x542404});}catch(_0x566503){this['_logService'][_0xca3e07(0x145)](_0x566503);}}[_0x1f558c(0x1f5)](){var _0x36bddc=_0x1f558c,_0x2bb276;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x233f2c=_0x4725;this[_0x233f2c(0x3ca)]=null,this[_0x233f2c(0x323)][_0x233f2c(0x2ec)]({'id':se[_0x233f2c(0x27f)]});},(_0x2bb276=this[_0x36bddc(0x405)]['getConfig'](mi))!=null?_0x2bb276:gi);}[_0x1f558c(0x16f)](){var _0x50cb43=_0x1f558c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x50cb43(0x3ca)]),this[_0x50cb43(0x3ca)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f50c3){var _0x3ea196=_0x1f558c;if(!this[_0x3ea196(0x25f)])return;const {data:_0x574835}=_0x2f50c3,{unitID:_0x23a9bd,changeset:_0x3d1c8f}=_0x574835,{mutations:_0x45c335,type:_0x20572c}=_0x3d1c8f;this[_0x3ea196(0x1b6)]={'unitId':_0x23a9bd,'type':_0x20572c,'startTime':performance[_0x3ea196(0x434)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x45c335)};}[_0x1f558c(0x1f9)](){var _0x392caa=_0x1f558c;if(this[_0x392caa(0x25f)]){if(!this[_0x392caa(0x1b6)]){this['_logService'][_0x392caa(0x145)](_0x392caa(0x3fa),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x392caa(0x1b6)][_0x392caa(0x220)]=performance[_0x392caa(0x434)](),this[_0x392caa(0x1b6)][_0x392caa(0x2dd)]=this[_0x392caa(0x1b6)][_0x392caa(0x220)]-this[_0x392caa(0x1b6)]['startTime'],this[_0x392caa(0x353)][_0x392caa(0x2fa)](Bn,this[_0x392caa(0x1b6)]),this[_0x392caa(0x1b6)]=null;}}[_0x1f558c(0x421)](){var _0x3497ef=_0x1f558c;this[_0x3497ef(0x1b6)]=null;}};Et=zn([me(0x2,_0x574408),me(0x3,_0x4ea54a),me(0x4,_0x5b2811(_0x426c5e)),me(0x5,_0x5b2811(xe)),me(0x6,_0x5b2811(Ti)),me(0x7,_0x5b2811(pe)),me(0x8,_0x40673b(_0x12c52a))],Et);var Jn=Object[_0x1f558c(0x175)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2cde4a,_0x38525b,_0x5b30cd,_0x387990)=>{var _0x67eaa4=_0x1f558c;for(var _0x1a4091=_0x387990>0x1?void 0x0:_0x387990?Xn(_0x38525b,_0x5b30cd):_0x38525b,_0x5c183d=_0x2cde4a[_0x67eaa4(0x158)]-0x1,_0x4e42f3;_0x5c183d>=0x0;_0x5c183d--)(_0x4e42f3=_0x2cde4a[_0x5c183d])&&(_0x1a4091=(_0x387990?_0x4e42f3(_0x38525b,_0x5b30cd,_0x1a4091):_0x4e42f3(_0x1a4091))||_0x1a4091);return _0x387990&&_0x1a4091&&Jn(_0x38525b,_0x5b30cd,_0x1a4091),_0x1a4091;},Re=(_0x3e4a36,_0x326405)=>(_0x4be005,_0xcbe9e3)=>_0x326405(_0x4be005,_0xcbe9e3,_0x3e4a36);let Le=class extends _0xc53c05{constructor(_0x4909e5,_0x4d1876,_0x29d265,_0x2ecbdd,_0x5819aa,_0x54064d){var _0x29b8de=_0x1f558c;super(),N(this,'_socket$',new _0x12b284(void 0x0)),N(this,_0x29b8de(0x3ad),this[_0x29b8de(0x280)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x31c),null),N(this,_0x29b8de(0x193),new Map()),N(this,'_status$',new _0x12b284(Ee[_0x29b8de(0x21a)])),N(this,_0x29b8de(0x2b3),this[_0x29b8de(0x282)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x2a8),!0x1),N(this,_0x29b8de(0x37e)),N(this,_0x29b8de(0x2e4),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x29b8de(0x384)),(this[_0x29b8de(0x1b3)]=_0x4909e5,this['_logService']=_0x4d1876,this['_configService']=_0x29d265,this[_0x29b8de(0x21f)]=_0x2ecbdd,this[_0x29b8de(0x323)]=_0x5819aa,this[_0x29b8de(0x2bf)]=_0x54064d,this[_0x29b8de(0x293)]());}get['_socket'](){var _0x2b7d85=_0x1f558c;return this[_0x2b7d85(0x280)][_0x2b7d85(0x213)]();}[_0x1f558c(0x293)](){var _0x41643f=_0x1f558c;this[_0x41643f(0x2bf)]&&this[_0x41643f(0x2d6)](this[_0x41643f(0x2bf)][_0x41643f(0x278)][_0x41643f(0x3a4)](_0x5dfb2b=>{var _0x2df9bf=_0x41643f;_0x5dfb2b&&!this[_0x2df9bf(0x20f)]&&this[_0x2df9bf(0x341)](),_0x5dfb2b||this[_0x2df9bf(0x3b9)]();}));}[_0x1f558c(0x227)](){var _0x8fc108=_0x1f558c;super[_0x8fc108(0x227)](),this[_0x8fc108(0x193)][_0x8fc108(0x179)](_0x3270d8=>_0x3270d8['dispose']()),this[_0x8fc108(0x193)]['clear'](),this[_0x8fc108(0x282)][_0x8fc108(0x345)]();}async[_0x1f558c(0x1a7)](_0x32b9ac){var _0x2b6679=_0x1f558c;if(this[_0x2b6679(0x193)]['has'](_0x32b9ac))return this[_0x2b6679(0x193)][_0x2b6679(0x1e3)](_0x32b9ac);this['_tryEnsureSocket']();const _0x3e78fa=this[_0x2b6679(0x1b3)][_0x2b6679(0x38e)](Et,_0x32b9ac,this[_0x2b6679(0x280)]['asObservable']());return this[_0x2b6679(0x193)][_0x2b6679(0x319)](_0x32b9ac,_0x3e78fa),_0x3e78fa;}[_0x1f558c(0x1a8)](_0xdfe921){var _0x1be5cb=_0x1f558c,_0x199a55;const _0xb7095c=this[_0x1be5cb(0x193)]['get'](_0xdfe921);_0xb7095c&&(this[_0x1be5cb(0x193)][_0x1be5cb(0x167)](_0xdfe921),_0xb7095c[_0x1be5cb(0x26e)]()),this[_0x1be5cb(0x193)][_0x1be5cb(0x191)]||(_0x199a55=this[_0x1be5cb(0x20f)])==null||_0x199a55['close']();}[_0x1f558c(0x341)](){var _0x2ae992=_0x1f558c;this[_0x2ae992(0x2e4)]=0x0,this[_0x2ae992(0x37e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2ae992(0x37e)]=null),this[_0x2ae992(0x412)]();}async[_0x1f558c(0x374)](){var _0x268edf=_0x1f558c,_0x18dcc2,_0x52c8f0;const _0x419a32=this['_configService']['getConfig'](Tn),_0x5afb09=this['_configService'][_0x268edf(0x2a0)](q),_0x4df2e7=(_0x52c8f0=(_0x18dcc2=_0x5afb09==null?void 0x0:_0x5afb09[_0x268edf(0x394)])!=null?_0x18dcc2:_0x419a32)!=null?_0x52c8f0:Cn,_0x180a67=await this['_socketService'][_0x268edf(0x402)](_0x4df2e7);return this[_0x268edf(0x31c)]=_0x180a67,_0x180a67;}async[_0x1f558c(0x3c1)](){var _0xaf17cd=_0x1f558c,_0x49e9b0,_0x348e85;try{const _0x111469=(_0x348e85=(_0x49e9b0=this[_0xaf17cd(0x20f)])!=null?_0x49e9b0:this[_0xaf17cd(0x31c)])!=null?_0x348e85:await this[_0xaf17cd(0x374)]();if(_0x111469){const _0x54c503=_0x111469['send'];_0x111469['send']=_0x4bd971=>(this[_0xaf17cd(0x357)](),_0x54c503[_0xaf17cd(0x1fa)](_0x111469,[_0x4bd971])),_0x111469['message$'][_0xaf17cd(0x3a4)](_0x3d7c48=>this[_0xaf17cd(0x224)](_0x111469,_0x3d7c48)),_0x111469[_0xaf17cd(0x364)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](_0x3ba3ce=>this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0xaf17cd(0x23c),_0x3ba3ce)),_0x111469[_0xaf17cd(0x333)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](()=>{var _0x2cd8e0=_0xaf17cd;this[_0x2cd8e0(0x3c2)](_0x111469);}),_0x111469['close$'][_0xaf17cd(0x41e)](_0x56ed41(0x1))[_0xaf17cd(0x3a4)](_0x522241=>{var _0x4782ba=_0xaf17cd;this[_0x4782ba(0x343)][_0x4782ba(0x2e3)]('[CollaborationSessionService]',_0x4782ba(0x2d2),_0x522241),this['_onConnectionFailed']();});}}catch(_0x164463){this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0x164463),this[_0xaf17cd(0x38d)]();}}[_0x1f558c(0x3c2)](_0x2b07ae){var _0x1b06c4=_0x1f558c;this['_logService']['debug'](_0x1b06c4(0x3be),_0x1b06c4(0x1b4)),_0x2b07ae[_0x1b06c4(0x1dc)]({'cmd':F['HELLO']}),this[_0x1b06c4(0x357)]();}[_0x1f558c(0x3b9)](){var _0x12838a=_0x1f558c;this[_0x12838a(0x2a8)]=!0x1,this[_0x12838a(0x31c)]=null,this[_0x12838a(0x282)]['next'](Ee[_0x12838a(0x18f)]),this[_0x12838a(0x280)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12838a(0x196)]();}[_0x1f558c(0x38d)](){var _0x51b5bf=_0x1f558c,_0x2b6f94;this['_onOffline'](),this[_0x51b5bf(0x2e4)]<((_0x2b6f94=this['_configService'][_0x51b5bf(0x2a0)](yn))!=null?_0x2b6f94:Nn)?(this['_collaborationUIEventService'][_0x51b5bf(0x2ec)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x51b5bf(0x412)]()):this[_0x51b5bf(0x323)]['emitEvent']({'id':se[_0x51b5bf(0x415)]});}[_0x1f558c(0x412)](){var _0x406dfb=_0x1f558c,_0x4fbfcc;const _0x138fef=this[_0x406dfb(0x2e4)],_0x44b7f9=this['_configService'][_0x406dfb(0x2a0)](q),_0x3b186a=_0x138fef===0x0?0x0:((_0x4fbfcc=_0x44b7f9==null?void 0x0:_0x44b7f9[_0x406dfb(0x40a)])!=null?_0x4fbfcc:On)*0x2**_0x138fef;this[_0x406dfb(0x37e)]=setTimeout(()=>{var _0x2c7ed8=_0x406dfb;clearTimeout(this[_0x2c7ed8(0x37e)]),this[_0x2c7ed8(0x37e)]=null,this['_tryEnsureSocket']();},_0x3b186a),this[_0x406dfb(0x2e4)]+=0x1;}[_0x1f558c(0x224)](_0x260b1b,_0x4f3855){var _0x3b6ca8=_0x1f558c;const {cmd:_0x5005a0}=_0x4f3855;_0x5005a0===F[_0x3b6ca8(0x28b)]&&!this[_0x3b6ca8(0x2a8)]&&(_0x260b1b[_0x3b6ca8(0x239)]=_0x4f3855[_0x3b6ca8(0x2f7)][_0x3b6ca8(0x239)],this['_socket$'][_0x3b6ca8(0x140)](_0x260b1b),this[_0x3b6ca8(0x282)][_0x3b6ca8(0x140)](Ee[_0x3b6ca8(0x262)]),this[_0x3b6ca8(0x2a8)]=!0x0,this[_0x3b6ca8(0x31c)]=null),_0x5005a0===F[_0x3b6ca8(0x2c1)]&&this[_0x3b6ca8(0x137)](),this[_0x3b6ca8(0x357)]();}[_0x1f558c(0x357)](){var _0x4dabe1=_0x1f558c,_0x4d8510;this['_clearHeartbeatTimer'](),this[_0x4dabe1(0x144)]=setTimeout(()=>this[_0x4dabe1(0x155)](),(_0x4d8510=this[_0x4dabe1(0x405)][_0x4dabe1(0x2a0)](bn))!=null?_0x4d8510:Rn);}['_sendHeartbeat'](){var _0x40cbda=_0x1f558c;this[_0x40cbda(0x20f)]['send']({'cmd':F[_0x40cbda(0x2c1)]}),this[_0x40cbda(0x29f)]();}[_0x1f558c(0x29f)](){var _0x25368a=_0x1f558c,_0x3e270b;this[_0x25368a(0x384)]=setTimeout(()=>this[_0x25368a(0x38d)](),(_0x3e270b=this[_0x25368a(0x405)]['getConfig'](mi))!=null?_0x3e270b:gi);}[_0x1f558c(0x196)](){var _0x586cd4=_0x1f558c;this[_0x586cd4(0x144)]!=null&&(clearTimeout(this[_0x586cd4(0x144)]),this['_sendHeartbeatTimer']=null);}[_0x1f558c(0x137)](){var _0x1f64a9=_0x1f558c;this[_0x1f64a9(0x384)]!=null&&(clearTimeout(this[_0x1f64a9(0x384)]),this[_0x1f64a9(0x384)]=null);}};Le=Zn([Re(0x0,_0x5b2811(_0x5b79bd)),Re(0x1,_0x574408),Re(0x2,_0x4ea54a),Re(0x3,Ii),Re(0x4,_0x5b2811(pe)),Re(0x5,_0x40673b(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1f558c(0x1eb)]((n+0x100)[_0x1f558c(0x28c)](0x10)[_0x1f558c(0x2db)](0x1));function Qn(_0x47655d,_0x4ad0a8=0x0){var _0xe12053=_0x1f558c;return(G[_0x47655d[_0x4ad0a8+0x0]]+G[_0x47655d[_0x4ad0a8+0x1]]+G[_0x47655d[_0x4ad0a8+0x2]]+G[_0x47655d[_0x4ad0a8+0x3]]+'-'+G[_0x47655d[_0x4ad0a8+0x4]]+G[_0x47655d[_0x4ad0a8+0x5]]+'-'+G[_0x47655d[_0x4ad0a8+0x6]]+G[_0x47655d[_0x4ad0a8+0x7]]+'-'+G[_0x47655d[_0x4ad0a8+0x8]]+G[_0x47655d[_0x4ad0a8+0x9]]+'-'+G[_0x47655d[_0x4ad0a8+0xa]]+G[_0x47655d[_0x4ad0a8+0xb]]+G[_0x47655d[_0x4ad0a8+0xc]]+G[_0x47655d[_0x4ad0a8+0xd]]+G[_0x47655d[_0x4ad0a8+0xe]]+G[_0x47655d[_0x4ad0a8+0xf]])[_0xe12053(0x3e1)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x1cff23=_0x1f558c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cff23(0x22c));ut=crypto[_0x1cff23(0x3ac)][_0x1cff23(0x26a)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x1f558c(0x359)]&&crypto[_0x1f558c(0x359)][_0x1f558c(0x26a)](crypto),Yt={'randomUUID':ir};function nr(_0x5227d2,_0xedf57b,_0x368519){var _0x17fcc9=_0x1f558c,_0x4556ae,_0x544d1e,_0x2ae93a;if(Yt[_0x17fcc9(0x359)]&&!_0x5227d2)return Yt['randomUUID']();_0x5227d2=_0x5227d2||{};const _0x518588=(_0x2ae93a=(_0x544d1e=_0x5227d2['random'])!=null?_0x544d1e:(_0x4556ae=_0x5227d2[_0x17fcc9(0x40b)])==null?void 0x0:_0x4556ae[_0x17fcc9(0x178)](_0x5227d2))!=null?_0x2ae93a:tr();if(_0x518588['length']<0x10)throw new Error(_0x17fcc9(0x1b9));return _0x518588[0x6]=_0x518588[0x6]&0xf|0x40,_0x518588[0x8]=_0x518588[0x8]&0x3f|0x80,Qn(_0x518588);}const J=_0x2235da('collaboration-client.local-cache-service');function ro(_0x4319e5){var _0x2724b1=_0x1f558c;return _0x2724b1(0x41f)+_0x4319e5;}var rr=Object[_0x1f558c(0x175)],sr=Object[_0x1f558c(0x330)],or=(_0x12e0da,_0x1dcd99,_0x2f808f,_0x3f94a4)=>{var _0x1ba802=_0x1f558c;for(var _0x3cf979=_0x3f94a4>0x1?void 0x0:_0x3f94a4?sr(_0x1dcd99,_0x2f808f):_0x1dcd99,_0x389888=_0x12e0da[_0x1ba802(0x158)]-0x1,_0x992f8e;_0x389888>=0x0;_0x389888--)(_0x992f8e=_0x12e0da[_0x389888])&&(_0x3cf979=(_0x3f94a4?_0x992f8e(_0x1dcd99,_0x2f808f,_0x3cf979):_0x992f8e(_0x3cf979))||_0x3cf979);return _0x3f94a4&&_0x3cf979&&rr(_0x1dcd99,_0x2f808f,_0x3cf979),_0x3cf979;},dt=(_0x2ada44,_0x4ebf39)=>(_0x53d822,_0x58c280)=>_0x4ebf39(_0x53d822,_0x58c280,_0x2ada44);function ar(_0x361cb8){var _0x40c645=_0x1f558c;const {unitID:_0x3af491,mutations:_0x19c130}=_0x361cb8;return{'unitId':_0x3af491,'subUnitId':_0x19c130[0x0][_0x40c645(0x3b2)][_0x40c645(0x209)]};}let it=class{constructor(_0x38166a,_0x55e3e9,_0x526b9f){var _0x287b1=_0x1f558c;this[_0x287b1(0x1b3)]=_0x38166a,this[_0x287b1(0x38a)]=_0x55e3e9,this[_0x287b1(0x1c7)]=_0x526b9f;}[_0x1f558c(0x188)](_0x1fbff3){var _0x342568=_0x1f558c,_0x539e68,_0x27f3a3,_0xe12a08,_0x4ad9e4;const _0x144b4d=this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x5c4be3),{unitId:_0x265cf5,subUnitId:_0x5eb5dc}=ar(_0x1fbff3),_0x28f63d=_0x144b4d==null?void 0x0:_0x144b4d[_0x342568(0x39a)](_0x265cf5)[_0x342568(0x3b4)](),_0x5b00b1=(_0x27f3a3=(_0x539e68=this[_0x342568(0x1c7)]['getUnit'](_0x265cf5))==null?void 0x0:_0x539e68['getActiveSheet']())==null?void 0x0:_0x27f3a3[_0x342568(0x266)]();if(_0x28f63d[_0x342568(0x158)]===0x0||!_0x265cf5||!_0x5eb5dc)return;const _0x53ce09=[{'id':_0xebdb79['id'],'params':{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x2d4a2c[_0x342568(0x1ff)](_0x28f63d)}}],_0x2d49bb=this['_transformService'][_0x342568(0x3e5)](_0x1fbff3,_0x53ce09);if(!_0x1a87e5(_0x2d49bb))throw _0x2d49bb[_0x342568(0x145)];const _0x405aa8=(_0x4ad9e4=(_0xe12a08=_0x2d49bb[_0x342568(0x141)][0x0])==null?void 0x0:_0xe12a08[_0x342568(0x3b2)])==null?void 0x0:_0x4ad9e4[_0x342568(0x25d)];if(Array[_0x342568(0x1bc)](_0x405aa8)&&_0x405aa8[_0x342568(0x158)]){if(_0x405aa8[_0x342568(0x158)]===_0x53ce09[0x0][_0x342568(0x3b2)]['selections'][_0x342568(0x158)]&&_0x405aa8[_0x342568(0x336)]((_0x490e2e,_0x43aef7)=>_0x568d0c[_0x342568(0x290)](_0x490e2e[_0x342568(0x201)],_0x53ce09[0x0][_0x342568(0x3b2)][_0x342568(0x25d)][_0x43aef7][_0x342568(0x201)])))return;this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x456150)[_0x342568(0x3bc)](_0xebdb79['id'],{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x405aa8});}}};it=or([dt(0x0,_0x5b2811(_0x5b79bd)),dt(0x1,_0x45b9e1),dt(0x2,_0x30c3be)],it);const ht=_0x2235da('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x3c78b4=>(_0x3c78b4[_0x3c78b4[_0x1f558c(0x1ec)]=0x0]=_0x1f558c(0x1ec),_0x3c78b4[_0x3c78b4[_0x1f558c(0x417)]=0x1]=_0x1f558c(0x417),_0x3c78b4))(Ci||{});const cr=new Set([_0x21cc23['id']]);function qt(_0x3dc594,_0x36d991,_0x25fa26,_0x389b6f,_0x3de245){var _0x1d1938=_0x1f558c,_0xc92dfe,_0x4f6f79,_0x27d98b,_0x29406d;const _0x25c101=[];for(const _0x453e45 of _0x3dc594)if(cr[_0x1d1938(0x163)](_0x453e45['id'])){if(_0x25c101['length']>0x0)break;_0x25c101['push'](_0x453e45);break;}else _0x25c101[_0x1d1938(0x1eb)](_0x453e45);const _0x4b8518=(_0x4f6f79=(_0xc92dfe=_0x3de245['getCurrentUser']())==null?void 0x0:_0xc92dfe[_0x1d1938(0x20d)])!=null?_0x4f6f79:_0x1d1938(0x19e),_0x282913=(_0x29406d=(_0x27d98b=_0x3de245[_0x1d1938(0x1d3)]())==null?void 0x0:_0x27d98b[_0x1d1938(0x239)])!=null?_0x29406d:_0x1d1938(0x19e);return{'changeset':{'unitID':_0x36d991,'type':_0x46690e(_0x25fa26['getUnitType'](_0x36d991)),'baseRev':_0x389b6f[_0x1d1938(0x372)](_0x36d991),'revision':0x0,'userID':_0x4b8518,'memberID':_0x282913,'mutations':_0x25c101},'pendingMutations':_0x3dc594['slice'](_0x25c101[_0x1d1938(0x158)])};}function hr(_0x5d2448,_0x51bcd1,_0x196045,_0x2aa3af,_0x5e8085){var _0x105071=_0x1f558c,_0x13bbe2,_0x4afe82,_0x23da82,_0x16b000;const _0x4abc17=[_0x5d2448['reduce']((_0x3d00d9,_0x3f797c)=>{var _0x1a3b36=_0x4725,_0x524d8e;const {id:_0x4dbecd}=_0x3d00d9,{id:_0x3f2dba,type:_0x52b151}=_0x3f797c,_0xf0b26f=(_0x524d8e=_0x3d00d9[_0x1a3b36(0x3b2)])!=null?_0x524d8e:{'actions':null},_0x5cc5cb=_0x3f797c[_0x1a3b36(0x3b2)];if(_0x4dbecd&&_0x4dbecd!==_0x3f2dba)throw new Error(_0x1a3b36(0x25c)+_0x4dbecd+'\x20-\x20'+_0x3f2dba+'.');return{..._0x3d00d9,'id':_0x3f2dba,'type':_0x52b151,'params':{'unitId':_0x5cc5cb[_0x1a3b36(0x33e)],'textRanges':_0x5cc5cb[_0x1a3b36(0x2bb)],'actions':_0x431a9e[_0x1a3b36(0x3a3)](_0xf0b26f['actions'],_0x5cc5cb[_0x1a3b36(0x2f8)])}};},{})],_0x3857ee=(_0x4afe82=(_0x13bbe2=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x13bbe2[_0x105071(0x20d)])!=null?_0x4afe82:_0x105071(0x19e),_0x10bbf8=(_0x16b000=(_0x23da82=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x23da82[_0x105071(0x239)])!=null?_0x16b000:_0x105071(0x19e);return{'changeset':{'unitID':_0x51bcd1,'type':_0x46690e(_0x196045[_0x105071(0x3a7)](_0x51bcd1)),'baseRev':_0x2aa3af[_0x105071(0x372)](_0x51bcd1),'revision':0x0,'userID':_0x3857ee,'memberID':_0x10bbf8,'mutations':_0x4abc17},'pendingMutations':[]};}function bi(_0x371682,_0x12a4ca){var _0x5f0085=_0x1f558c;const _0x2085e4=new _0x40f8ad(0x1);return setTimeout(()=>_0x2085e4[_0x5f0085(0x140)](_0x12a4ca),_0x371682),_0x2085e4[_0x5f0085(0x317)]()[_0x5f0085(0x41e)](_0x3669e7(0x1));}const _r={'id':_0x23cce6['id'],'type':_0x2402fa[_0x1f558c(0x173)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x1f558c(0x330)],Te=(_0xd3c184,_0x3fad35,_0x46beab,_0x50cfc0)=>{var _0x45f987=_0x1f558c;for(var _0x1fea66=_0x50cfc0>0x1?void 0x0:_0x50cfc0?ur(_0x3fad35,_0x46beab):_0x3fad35,_0x406510=_0xd3c184[_0x45f987(0x158)]-0x1,_0x1cbdc0;_0x406510>=0x0;_0x406510--)(_0x1cbdc0=_0xd3c184[_0x406510])&&(_0x1fea66=(_0x50cfc0?_0x1cbdc0(_0x3fad35,_0x46beab,_0x1fea66):_0x1cbdc0(_0x1fea66))||_0x1fea66);return _0x50cfc0&&_0x1fea66&&lr(_0x3fad35,_0x46beab,_0x1fea66),_0x1fea66;},A=(_0x2e0ae7,_0x43d612)=>(_0xecc431,_0x22f50b)=>_0x43d612(_0xecc431,_0x22f50b,_0x2e0ae7),Ri=(_0x2e7dc7=>(_0x2e7dc7[_0x1f558c(0x2df)]=_0x1f558c(0x3b5),_0x2e7dc7[_0x1f558c(0x29d)]=_0x1f558c(0x1f0),_0x2e7dc7[_0x1f558c(0x14d)]=_0x1f558c(0x275),_0x2e7dc7['AWAITING']='awaiting',_0x2e7dc7[_0x1f558c(0x182)]=_0x1f558c(0x39d),_0x2e7dc7[_0x1f558c(0x36c)]=_0x1f558c(0x335),_0x2e7dc7[_0x1f558c(0x2c7)]='conflict',_0x2e7dc7[_0x1f558c(0x18f)]='offline',_0x2e7dc7))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x161623,_0x4a5b2e,_0x27738c,_0x246bba,_0x594e43,_0x531f2a,_0x4b6519,_0x191dce,_0x1d2299){var _0x4fdbb6=_0x1f558c;N(this,_0x4fdbb6(0x3f4),null),N(this,_0x4fdbb6(0x2d0),[]),(this[_0x4fdbb6(0x3e0)]=_0x161623,this[_0x4fdbb6(0x15f)]=_0x4a5b2e,this['_handler']=_0x594e43,this['_commandService']=_0x531f2a,this[_0x4fdbb6(0x214)]=_0x4b6519,this[_0x4fdbb6(0x164)]=_0x191dce,this[_0x4fdbb6(0x28f)]=_0x1d2299,this[_0x4fdbb6(0x3f4)]=_0x27738c,this[_0x4fdbb6(0x2d0)]=_0x246bba);}[_0x1f558c(0x2de)](_0x244a31){var _0x31288e=_0x1f558c;const _0x4be15c=this['_revisionService'][_0x31288e(0x372)](this[_0x31288e(0x3e0)]);return _0x244a31[_0x31288e(0x2f9)]>_0x4be15c+0x1?(this[_0x31288e(0x389)][_0x31288e(0x35c)]({'from':_0x4be15c,'to':_0x244a31[_0x31288e(0x2f9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b576d){var _0x3775e3=_0x1f558c;this[_0x3775e3(0x214)][_0x3775e3(0x34c)](this[_0x3775e3(0x3e0)],_0x5b576d);}[_0x1f558c(0x27d)](_0x595cf0){var _0x4fdb2c=_0x1f558c,_0x565d5e,_0x2657ce;(_0x2657ce=(_0x565d5e=this[_0x4fdb2c(0x389)])[_0x4fdb2c(0x414)])==null||_0x2657ce[_0x4fdb2c(0x178)](_0x565d5e,_0x595cf0);}[_0x1f558c(0x3d7)](_0x2c54b9){var _0x193d34=_0x1f558c,_0x112cc0,_0x12e19e;return(_0x12e19e=(_0x112cc0=this[_0x193d34(0x389)])[_0x193d34(0x2be)])==null?void 0x0:_0x12e19e[_0x193d34(0x178)](_0x112cc0,_0x2c54b9);}[_0x1f558c(0x404)](_0x14b953){var _0x1ff1e7=_0x1f558c,_0x35cad2,_0x341632;return(_0x341632=(_0x35cad2=this['_handler'])[_0x1ff1e7(0x360)])==null?void 0x0:_0x341632[_0x1ff1e7(0x178)](_0x35cad2,_0x14b953);}['_transformRemoteChangesetByIMECache'](_0x272492){var _0x3bfdf4=_0x1f558c,_0x14c987,_0x2cf596,_0x1d1d31;return(_0x1d1d31=(_0x2cf596=(_0x14c987=this['_handler'])[_0x3bfdf4(0x2f6)])==null?void 0x0:_0x2cf596[_0x3bfdf4(0x178)](_0x14c987,_0x272492))!=null?_0x1d1d31:_0x272492;}[_0x1f558c(0x324)](_0x3dd8e9){var _0x30ca69=_0x1f558c,_0x3cf5df,_0x1fac5a,_0x3b0bd3;return(_0x3b0bd3=(_0x1fac5a=(_0x3cf5df=this[_0x30ca69(0x389)])[_0x30ca69(0x437)])==null?void 0x0:_0x1fac5a[_0x30ca69(0x178)](_0x3cf5df,_0x3dd8e9))!=null?_0x3b0bd3:_0x3dd8e9;}[_0x1f558c(0x225)](_0x4d092c){var _0x35554b=_0x1f558c,_0x19bd05,_0x3dcbe2;if(this[_0x35554b(0x15f)]===Q[_0x35554b(0x143)]){const {unitID:_0x13ac1f,mutations:_0x19f517,memberID:_0x58cc1e}=_0x4d092c,_0x1a8fdc=_0x19f517[0x0][_0x35554b(0x3b2)][_0x35554b(0x2bb)];Array[_0x35554b(0x1bc)](_0x1a8fdc)&&_0x1a8fdc['length']>0x0&&((_0x3dcbe2=(_0x19bd05=this[_0x35554b(0x389)])[_0x35554b(0x2f0)])==null||_0x3dcbe2['call'](_0x19bd05,{'unitID':_0x13ac1f,'memberID':_0x58cc1e,'textRanges':_0x1a8fdc}));}}[_0x1f558c(0x27b)](){var _0x24dd95=_0x1f558c,_0x51f756;(_0x51f756=this['_localCacheService'])==null||_0x51f756[_0x24dd95(0x303)](this[_0x24dd95(0x3e0)],this['type'],this[_0x24dd95(0x3f4)],this[_0x24dd95(0x2d0)]);}[_0x1f558c(0x2e0)](){var _0x1f4056=_0x1f558c;return this[_0x1f4056(0x164)][_0x1f4056(0x372)](this[_0x1f4056(0x3e0)]);}[_0x1f558c(0x286)](){var _0x497e98=_0x1f558c;this[_0x497e98(0x164)][_0x497e98(0x370)](this[_0x497e98(0x3e0)]);}[_0x1f558c(0x305)](_0x4e3daa){var _0xc45ca4=_0x1f558c,_0x4d2eca;let _0x301cdb=this['_transformRemoteChangesetByIMECache'](_0x4e3daa);_0x301cdb=this[_0xc45ca4(0x324)](_0x301cdb);const _0x54ade7=_0x4ff652(_0x301cdb['mutations'],this[_0xc45ca4(0x1d2)],{'fromCollab':!0x0});if(!_0x54ade7['result'])throw _0x54ade7[_0xc45ca4(0x145)]instanceof Error?_0x54ade7['error']:new Error((_0x4d2eca=_0x54ade7[_0xc45ca4(0x145)])!=null?_0x4d2eca:_0xc45ca4(0x1c0));this['_transformIMECache'](_0x301cdb),this[_0xc45ca4(0x404)](_0x301cdb),this['_transformUndoredo'](_0x4e3daa),this['_transformSelections'](_0x301cdb),this[_0xc45ca4(0x225)](_0x301cdb),this[_0xc45ca4(0x286)]();}}let Ne=class extends Ce{constructor(_0x43908d,_0x4b3b44,_0x2774f6,_0x53b313,_0x428a6f,_0x2f9dec,_0x2ce381,_0x22aee4,_0x3942c8,_0x179a02){var _0x1f23e0=_0x1f558c;super(_0x43908d,_0x4b3b44,null,[],_0x2774f6,_0x2ce381,_0x2f9dec,_0x53b313,_0x179a02),N(this,_0x1f23e0(0x1c2),_0x1f23e0(0x1f0)),(this['_injector']=_0x428a6f,this[_0x1f23e0(0x343)]=_0x22aee4,this[_0x1f23e0(0x38a)]=_0x3942c8,this[_0x1f23e0(0x1d1)]=_0x179a02);}['appendMutation'](_0x39c802){var _0x316ca5=_0x1f558c;const _0x31ccf2=this['_injector'][_0x316ca5(0x38e)](oe,this['unitID'],this[_0x316ca5(0x15f)],[_0x39c802],this['_handler']);return _0x31ccf2[_0x316ca5(0x3d9)](),_0x31ccf2[_0x316ca5(0x27b)](),_0x31ccf2;}['onRemoteChangeset'](_0x14b03a){var _0x58676e=_0x1f558c;if(this[_0x58676e(0x2de)](_0x14b03a))return this[_0x58676e(0x1b3)]['createInstance'](ee,this[_0x58676e(0x3e0)],this[_0x58676e(0x15f)],null,[],null,[_0x14b03a],this['_handler']);try{const _0x1252e7=this[_0x58676e(0x38a)][_0x58676e(0x3e5)](_0x14b03a,[_r]);if(_0x1a87e5(_0x1252e7)){const {c1Prime:_0x678ca6}=_0x1252e7;return this[_0x58676e(0x305)](_0x678ca6),this;}throw _0x1252e7[_0x58676e(0x145)];}catch(_0x1149d8){return this['_logService'][_0x58676e(0x145)](_0x1149d8),this[_0x58676e(0x3d2)](!0x1);}}['_onConflict'](_0xfa7287){var _0x411525=_0x1f558c;return this[_0x411525(0x1b3)]['createInstance'](ue,this[_0x411525(0x3e0)],this['type'],null,[],this[_0x411525(0x389)],_0xfa7287);}['onRemoteAck'](){var _0xfcb846=_0x1f558c;throw new Error(_0xfcb846(0x3fb));}['onRemoteRej'](){var _0x41a7ea=_0x1f558c;throw new Error(_0x41a7ea(0x3b1));}[_0x1f558c(0x387)](){return this;}[_0x1f558c(0x3ab)](){var _0x5c193b=_0x1f558c;return this[_0x5c193b(0x1b3)][_0x5c193b(0x38e)](de,this['unitID'],this['type'],null,[],this[_0x5c193b(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f558c(0x291)](){var _0x4f0cc9=_0x1f558c;const _0x12f2fa=this[_0x4f0cc9(0x164)][_0x4f0cc9(0x372)](this['unitID']);return this['_handler'][_0x4f0cc9(0x35c)]({'from':_0x12f2fa,'to':0x0}),this[_0x4f0cc9(0x1b3)]['createInstance'](ee,this[_0x4f0cc9(0x3e0)],this[_0x4f0cc9(0x15f)],null,[],null,[],this[_0x4f0cc9(0x389)]);}};Ne=Te([A(0x3,_0x5b2811(_0x40fd0a)),A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x46c745),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x40673b(J))],Ne);let oe=class extends Ce{constructor(_0x1ea37c,_0x843706,_0xc765a8,_0x2dbe0e,_0x453a41,_0x1a3dc0,_0x5ba4a7,_0x1076bd,_0x1f7701,_0x19045d,_0x12005a,_0x5effd6,_0x1295fa,_0x5061fc){var _0x56460e=_0x1f558c;super(_0x1ea37c,_0x843706,null,_0xc765a8,_0x2dbe0e,_0x1f7701,_0x1295fa,_0x1a3dc0,_0x5061fc),N(this,_0x56460e(0x1c2),_0x56460e(0x275)),N(this,_0x56460e(0x27a),null),N(this,_0x56460e(0x14b),null),(this['_injector']=_0x453a41,this['_memberService']=_0x5ba4a7,this['_logService']=_0x1076bd,this[_0x56460e(0x405)]=_0x19045d,this['_transformService']=_0x12005a,this[_0x56460e(0x435)]=_0x5effd6);}[_0x1f558c(0x20e)](_0x5855e8){var _0x352a26=_0x1f558c;return this[_0x352a26(0x2d0)][_0x352a26(0x1eb)](_0x5855e8),this[_0x352a26(0x27b)](),this;}[_0x1f558c(0x295)](_0x1ef681){var _0x30b36d=_0x1f558c;if(this[_0x30b36d(0x2de)](_0x1ef681))return this[_0x30b36d(0x2f5)](),this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](ee,this[_0x30b36d(0x3e0)],this[_0x30b36d(0x15f)],null,this['_pendingMutations'],null,[_0x1ef681],this['_handler']);try{const _0x376acd=this[_0x30b36d(0x38a)][_0x30b36d(0x3e5)](_0x1ef681,this[_0x30b36d(0x2d0)]);if(_0x1a87e5(_0x376acd)){const {c1Prime:_0x4247a8,m2Prime:_0x5b1b0d}=_0x376acd;this['_executeRemoteChangeset'](_0x4247a8);const _0x46656b=this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](oe,this['unitID'],this[_0x30b36d(0x15f)],_0x5b1b0d,this['_handler']);this[_0x30b36d(0x2f5)]();const _0x1ddbe7=new Date()[_0x30b36d(0x1c4)](),_0x5d7941=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x30b36d(0x27a)]-_0x1ddbe7,0x0):this['_getSendChangesetTimeout']();return _0x46656b['_schedule'](_0x5d7941),_0x46656b;}throw _0x376acd['error'];}catch(_0x477d96){return this['_logService'][_0x30b36d(0x145)](_0x477d96),this[_0x30b36d(0x3d2)](!0x1);}}['onRemoteAck'](){var _0x5f5d52=_0x1f558c;throw new Error(_0x5f5d52(0x1d9));}[_0x1f558c(0x19c)](){var _0x2e713b=_0x1f558c;throw new Error(_0x2e713b(0x246));}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){var _0x4c39d9=_0x1f558c;return this[_0x4c39d9(0x2f5)](),this[_0x4c39d9(0x1b3)][_0x4c39d9(0x38e)](de,this[_0x4c39d9(0x3e0)],this[_0x4c39d9(0x15f)],null,this[_0x4c39d9(0x2d0)],this[_0x4c39d9(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d9)](_0x4cd53e){var _0x54c6cd=_0x1f558c;const _0x2ab17f=_0x4cd53e!=null?_0x4cd53e:this[_0x54c6cd(0x42f)]();this[_0x54c6cd(0x27a)]=new Date()[_0x54c6cd(0x1c4)]()+_0x2ab17f,this[_0x54c6cd(0x14b)]=setTimeout(()=>{var _0x434abf=_0x54c6cd;this[_0x434abf(0x2f5)]();let _0x129a07=null;switch(this[_0x434abf(0x15f)]){case Q[_0x434abf(0x3d3)]:{_0x129a07=qt(this[_0x434abf(0x2d0)],this[_0x434abf(0x3e0)],this['_univerInstanceService'],this['_revisionService'],this[_0x434abf(0x35e)]);break;}case Q[_0x434abf(0x143)]:{this[_0x434abf(0x2d0)][_0x434abf(0x336)](_0x32016f=>_0x32016f['id']===_0x3eafab['id'])?_0x129a07=hr(this[_0x434abf(0x2d0)],this['unitID'],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this[_0x434abf(0x35e)]):_0x129a07=qt(this['_pendingMutations'],this[_0x434abf(0x3e0)],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this['_memberService']);break;}default:throw new Error(_0x434abf(0x18d)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d44a9,pendingMutations:_0x518612}=_0x129a07;this[_0x434abf(0x389)][_0x434abf(0x380)](_0x5d44a9);const _0x8fc168=_0x518612[_0x434abf(0x158)]?this[_0x434abf(0x1b3)]['createInstance'](ae,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,_0x518612,this[_0x434abf(0x389)],void 0x0):this[_0x434abf(0x1b3)][_0x434abf(0x38e)](le,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,this[_0x434abf(0x389)]);_0x8fc168[_0x434abf(0x27b)](),this[_0x434abf(0x389)][_0x434abf(0x27c)](this,_0x8fc168);},_0x2ab17f);}['_getSendChangesetTimeout'](){var _0x59a000=_0x1f558c,_0x42ad73;const _0x3cb24d=this[_0x59a000(0x405)][_0x59a000(0x2a0)](q);return(_0x42ad73=_0x3cb24d==null?void 0x0:_0x3cb24d[_0x59a000(0x23a)])!=null?_0x42ad73:In;}[_0x1f558c(0x311)](){var _0x40919c=_0x1f558c;throw new Error(_0x40919c(0x2f2));}[_0x1f558c(0x2f5)](){var _0x581864=_0x1f558c;this[_0x581864(0x14b)]!=null&&(clearTimeout(this[_0x581864(0x14b)]),this[_0x581864(0x14b)]=null);}[_0x1f558c(0x3d2)](_0xda5403){var _0x5cabb9=_0x1f558c;return this[_0x5cabb9(0x2f5)](),this[_0x5cabb9(0x1b3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x5cabb9(0x2d0)],this['_handler'],_0xda5403);}};oe=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x5b2811(xe)),A(0x7,_0x574408),A(0x8,_0x456150),A(0x9,_0x4ea54a),A(0xa,_0x45b9e1),A(0xb,_0x30c3be),A(0xc,_0x46c745),A(0xd,_0x40673b(J))],oe);let le=class extends Ce{constructor(_0x155179,_0x105df4,_0x6ab602,_0x3d0ee0,_0x22db75,_0x3449f1,_0x48443e,_0x2c712a,_0x2f1693,_0x11ba59,_0x3c9029){var _0x3c7eac=_0x1f558c;super(_0x155179,_0x105df4,_0x6ab602,[],_0x3d0ee0,_0x48443e,_0x11ba59,_0x3449f1,_0x3c9029),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x3c7eac(0x3ef)),N(this,_0x3c7eac(0x17c)),(this[_0x3c7eac(0x1b3)]=_0x22db75,this[_0x3c7eac(0x343)]=_0x2c712a,this[_0x3c7eac(0x38a)]=_0x2f1693);}['appendMutation'](_0xd8c05d){var _0x2fb096=_0x1f558c;this[_0x2fb096(0x2f5)]();const _0x85a85f=this[_0x2fb096(0x1b3)]['createInstance'](ae,this[_0x2fb096(0x3e0)],this[_0x2fb096(0x15f)],this[_0x2fb096(0x3f4)],[_0xd8c05d],this[_0x2fb096(0x389)],this[_0x2fb096(0x3ef)]);return _0x85a85f[_0x2fb096(0x27b)](),_0x85a85f;}[_0x1f558c(0x295)](_0x365a1f){var _0x3f154d=_0x1f558c;if(this[_0x3f154d(0x2de)](_0x365a1f))return this[_0x3f154d(0x2f5)](),this['_injector'][_0x3f154d(0x38e)](ee,this['unitID'],this['type'],this[_0x3f154d(0x3f4)],[],null,[_0x365a1f],this[_0x3f154d(0x389)]);try{const _0xeeac51=this[_0x3f154d(0x38a)][_0x3f154d(0x428)]([_0x365a1f],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0xeeac51)){const {c1Prime:_0x3b06fc,c2Prime:_0x2fc50b}=_0xeeac51;this[_0x3f154d(0x305)](_0x3b06fc[0x0]),_0x2fc50b[0x0][_0x3f154d(0x161)]=this[_0x3f154d(0x2e0)](),this[_0x3f154d(0x2f5)]();const _0x359bdf=this[_0x3f154d(0x1b3)]['createInstance'](le,this[_0x3f154d(0x3e0)],this[_0x3f154d(0x15f)],_0x2fc50b[0x0],this[_0x3f154d(0x389)]);return _0x359bdf[_0x3f154d(0x27b)](),_0x359bdf;}return this[_0x3f154d(0x3d2)](!0x1);}catch(_0x5b13b7){return this[_0x3f154d(0x343)]['error'](_0x5b13b7),this[_0x3f154d(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x4ef1d2){var _0x3c7dd6=_0x1f558c;this['_clearScheduledTask']();const _0x3e90bb=this[_0x3c7dd6(0x164)]['getCurrentRevOfUnit'](this[_0x3c7dd6(0x3e0)]);if(_0x4ef1d2[_0x3c7dd6(0x2f9)]<_0x3e90bb-0x1)return this;if(this[_0x3c7dd6(0x2de)](_0x4ef1d2))return this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](ee,this['unitID'],this[_0x3c7dd6(0x15f)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x537487=this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](Ne,this[_0x3c7dd6(0x3e0)],this['type'],this[_0x3c7dd6(0x389)]);return _0x537487[_0x3c7dd6(0x27b)](),_0x537487;}[_0x1f558c(0x19c)](_0x1be3e1){var _0x3c4b33=_0x1f558c;return this['_onConflict'](!!(_0x1be3e1!=null&&_0x1be3e1[_0x3c4b33(0x3cf)]));}[_0x1f558c(0x387)](_0x158b2a){var _0x125d22=_0x1f558c;return this[_0x125d22(0x249)]>Oi?this[_0x125d22(0x3ab)]():(this[_0x125d22(0x3ef)]=bi(this[_0x125d22(0x249)],{'timeout':this['_resendTimeout'],'reqId':_0x158b2a['reqId']}),this['_sender']=this[_0x125d22(0x3ef)]['subscribe'](({reqId:_0x5a54f9,timeout:_0x534636})=>{var _0x3a610c=_0x125d22;this[_0x3a610c(0x355)](_0x5a54f9,_0x534636);}),this);}[_0x1f558c(0x3ab)](){var _0x9476e8=_0x1f558c;return this[_0x9476e8(0x2f5)](),this[_0x9476e8(0x1b3)][_0x9476e8(0x38e)](de,this['unitID'],this[_0x9476e8(0x15f)],this[_0x9476e8(0x3f4)],[],this[_0x9476e8(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x311)](){var _0xa91202=_0x1f558c;this[_0xa91202(0x389)][_0xa91202(0x380)](this[_0xa91202(0x3f4)]);}[_0x1f558c(0x3d2)](_0x17d7bc){var _0x65ce17=_0x1f558c;return this[_0x65ce17(0x2f5)](),this['_injector'][_0x65ce17(0x38e)](ue,this['unitID'],this[_0x65ce17(0x15f)],this['_awaitingChangeset'],[],this['_handler'],_0x17d7bc);}[_0x1f558c(0x355)](_0x37f4bb,_0x26286d){var _0x3821ce=_0x1f558c,_0x1e6d68;_0x37f4bb===((_0x1e6d68=this[_0x3821ce(0x3f4)])==null?void 0x0:_0x1e6d68['reqId'])&&(this[_0x3821ce(0x311)](),this[_0x3821ce(0x249)]=_0x26286d===0x0?0x3e8:_0x26286d*0x2);}['_clearScheduledTask'](){var _0x473518=_0x1f558c,_0x27a116;(_0x27a116=this[_0x473518(0x17c)])==null||_0x27a116[_0x473518(0x207)](),this[_0x473518(0x249)]=0x0;}};le=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x46c745),A(0xa,_0x40673b(J))],le);let ae=class extends Ce{constructor(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x3049e9,_0x31f043,_0x35fb4f,_0x4dd554,_0x37186a,_0x54d3a3,_0x31eb6a,_0x15f145){var _0x2ad560=_0x1f558c;super(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x4dd554,_0x31eb6a,_0x35fb4f,_0x15f145),N(this,'status',_0x2ad560(0x39d)),N(this,_0x2ad560(0x249),0x0),N(this,_0x2ad560(0x3ef)),N(this,_0x2ad560(0x17c)),(this[_0x2ad560(0x1b3)]=_0x31f043,this[_0x2ad560(0x343)]=_0x37186a,this[_0x2ad560(0x38a)]=_0x54d3a3,this[_0x2ad560(0x1d1)]=_0x15f145,_0x3049e9&&(this[_0x2ad560(0x3ef)]=_0x3049e9,this['_sender']=this[_0x2ad560(0x3ef)][_0x2ad560(0x3a4)](({reqId:_0x3f14ef,timeout:_0x2670af})=>{var _0x1f00aa=_0x2ad560;this[_0x1f00aa(0x355)](_0x3f14ef,_0x2670af);})));}[_0x1f558c(0x20e)](_0x32d498){var _0xcb039a=_0x1f558c;return this['_pendingMutations'][_0xcb039a(0x1eb)](_0x32d498),this;}[_0x1f558c(0x295)](_0x3d7b6b){var _0x5e2c98=_0x1f558c;if(this['_checkMissing'](_0x3d7b6b))return this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ee,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],this['_awaitingChangeset'],this[_0x5e2c98(0x2d0)],null,[_0x3d7b6b],this['_handler']);try{const _0x4acb1c=this['_transformService']['transformChangesets']([_0x3d7b6b],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0x4acb1c)){const {c1Prime:_0x28e880,c2Prime:_0x38d6ea}=_0x4acb1c,_0x49cacd=this['_transformService'][_0x5e2c98(0x3e5)](_0x28e880[0x0],this[_0x5e2c98(0x2d0)]);if(_0x1a87e5(_0x49cacd)){const {c1Prime:_0xc5a746,m2Prime:_0x3246c0}=_0x49cacd;return this[_0x5e2c98(0x305)](_0xc5a746),_0x38d6ea[0x0][_0x5e2c98(0x161)]=this[_0x5e2c98(0x2e0)](),this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ae,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],_0x38d6ea[0x0],_0x3246c0,this[_0x5e2c98(0x389)],void 0x0);}throw _0x49cacd[_0x5e2c98(0x145)];}throw _0x4acb1c['error'];}catch(_0x4e7922){return this[_0x5e2c98(0x343)]['error'](_0x4e7922),this[_0x5e2c98(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x191b81){var _0x5eea98=_0x1f558c;if(this[_0x5eea98(0x2f5)](),this[_0x5eea98(0x2de)](_0x191b81))return this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](ee,this[_0x5eea98(0x3e0)],this['type'],null,this[_0x5eea98(0x2d0)],this[_0x5eea98(0x3f4)],[],this[_0x5eea98(0x389)]);this[_0x5eea98(0x286)]();const _0x3eb875=this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](oe,this[_0x5eea98(0x3e0)],this[_0x5eea98(0x15f)],this[_0x5eea98(0x2d0)],this[_0x5eea98(0x389)]);return _0x3eb875[_0x5eea98(0x3d9)](),_0x3eb875['_updateLocalCache'](),_0x3eb875;}[_0x1f558c(0x19c)](_0x5306fe){var _0x3c4f09=_0x1f558c;return this[_0x3c4f09(0x3d2)](!!(_0x5306fe!=null&&_0x5306fe[_0x3c4f09(0x3cf)]));}['onRemoteRetry'](_0x32b3a3){var _0x2dc11f=_0x1f558c;return this[_0x2dc11f(0x249)]>Oi?this[_0x2dc11f(0x3ab)]():(this[_0x2dc11f(0x3ef)]=bi(this[_0x2dc11f(0x249)],{'timeout':this[_0x2dc11f(0x249)],'reqId':_0x32b3a3['reqId']}),this['_sender']=this[_0x2dc11f(0x3ef)][_0x2dc11f(0x3a4)](({reqId:_0x55d643,timeout:_0x326b7e})=>{var _0x462a12=_0x2dc11f;this[_0x462a12(0x355)](_0x55d643,_0x326b7e);}),this);}[_0x1f558c(0x3ab)](){var _0x2fd66e=_0x1f558c;return this[_0x2fd66e(0x2f5)](),this['_injector'][_0x2fd66e(0x38e)](de,this[_0x2fd66e(0x3e0)],this[_0x2fd66e(0x15f)],this[_0x2fd66e(0x3f4)],this[_0x2fd66e(0x2d0)],this[_0x2fd66e(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){var _0x18bb8a=_0x1f558c;this[_0x18bb8a(0x389)]['onSendChangeset'](this[_0x18bb8a(0x3f4)]);}['_onConflict'](_0xcecadb){var _0x56ef8f=_0x1f558c;return this['_clearScheduledTask'](),this[_0x56ef8f(0x1b3)][_0x56ef8f(0x38e)](ue,this[_0x56ef8f(0x3e0)],this[_0x56ef8f(0x15f)],null,this[_0x56ef8f(0x2d0)],this[_0x56ef8f(0x389)],_0xcecadb);}['_resendWithTimeout'](_0x3eadfb,_0x2ca899){var _0x78f459=_0x1f558c,_0x5e2bb2;_0x3eadfb===((_0x5e2bb2=this[_0x78f459(0x3f4)])==null?void 0x0:_0x5e2bb2['reqId'])&&(this[_0x78f459(0x311)](),this[_0x78f459(0x249)]=_0x2ca899===0x0?0x3e8:_0x2ca899*0x2);}[_0x1f558c(0x2f5)](){var _0x270d14=_0x1f558c,_0x1d26c6;(_0x1d26c6=this['_sender'])==null||_0x1d26c6[_0x270d14(0x207)](),this[_0x270d14(0x249)]=0x0;}};ae=Te([A(0x6,_0x5b2811(_0x5b79bd)),A(0x7,_0x5b2811(_0x40fd0a)),A(0x8,_0x456150),A(0x9,_0x574408),A(0xa,_0x45b9e1),A(0xb,_0x46c745),A(0xc,_0x40673b(J))],ae);let ue=class extends Ce{constructor(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x392eeb=!0x1,_0x375319,_0x4a9b3d,_0x51be06,_0x41acaf,_0x233d81,_0x7202fa,_0x56d504){var _0x2d992b=_0x1f558c;super(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x4a9b3d,_0x51be06,_0x41acaf,_0x56d504),N(this,_0x2d992b(0x1c2),_0x2d992b(0x320)),(this[_0x2d992b(0x21e)]=_0x392eeb,this[_0x2d992b(0x30f)]=_0x375319,this[_0x2d992b(0x2c0)]=_0x233d81,this[_0x2d992b(0x323)]=_0x7202fa,this[_0x2d992b(0x1d1)]=_0x56d504,this[_0x2d992b(0x1b1)](),this[_0x2d992b(0x3a5)](),this[_0x2d992b(0x247)]());}[_0x1f558c(0x20e)](){return this;}[_0x1f558c(0x295)](){return this;}[_0x1f558c(0x40e)](){return this;}[_0x1f558c(0x19c)](){return this;}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x1f558c(0x311)](){var _0x5d5953=_0x1f558c;throw new Error(_0x5d5953(0x1bd));}[_0x1f558c(0x3a5)](){var _0x5a9ff3=_0x1f558c,_0x599606;(_0x599606=this[_0x5a9ff3(0x28f)])==null||_0x599606[_0x5a9ff3(0x303)](this['unitID'],this[_0x5a9ff3(0x15f)],null,[]);}[_0x1f558c(0x1b1)](){var _0x378fc9=_0x1f558c;this['_isPermissionRej']?this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x1de)]}):this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x2c7)]});}['_disableEditing'](){var _0x2982b9=_0x1f558c;this[_0x2982b9(0x30f)][_0x2982b9(0x298)](new _0x6a1b02(this[_0x2982b9(0x3e0)])['id'],!0x1);}};ue=Te([A(0x6,_0x5b2811(_0x5b9158)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x5b2811(_0x40fd0a)),A(0xa,_0x5b2811(_0x426c5e)),A(0xb,_0x5b2811(pe)),A(0xc,_0x40673b(J))],ue);let de=class extends Ce{constructor(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x28c6e7,_0x216f67,_0x50dd84,_0x2d4b4a,_0x5a198f){var _0x4d035c=_0x1f558c;super(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x50dd84,_0x2d4b4a,_0x216f67,_0x5a198f),N(this,'status',_0x4d035c(0x1c8)),this[_0x4d035c(0x1b3)]=_0x28c6e7;}[_0x1f558c(0x20e)](_0x5eee90){var _0x5708ea=_0x1f558c;return this[_0x5708ea(0x2d0)][_0x5708ea(0x1eb)](_0x5eee90),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3f49ce){var _0x5bda6c=_0x1f558c;throw new Error(_0x5bda6c(0x38c));}[_0x1f558c(0x40e)](){var _0x1f60d7=_0x1f558c;throw new Error(_0x1f60d7(0x367));}[_0x1f558c(0x19c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){return this;}[_0x1f558c(0x25a)](){var _0x1b32b7=_0x1f558c;const {_injector:_0x41953b,_pendingMutations:_0x493ff3,_awaitingChangeset:_0x4805f9,unitID:_0x4ae5f5,_handler:_0x19d987,type:_0x3d0ec7}=this,_0x4e9254=yi(_0x41953b,_0x4ae5f5,_0x3d0ec7,_0x4805f9,_0x493ff3,_0x19d987);return _0x4e9254 instanceof oe?_0x4e9254['_schedule']():(_0x4e9254 instanceof ae||_0x4e9254 instanceof le)&&_0x4e9254[_0x1b32b7(0x311)](),_0x4e9254;}[_0x1f558c(0x311)](){var _0x25eb5a=_0x1f558c;throw new Error(_0x25eb5a(0x422));}};de=Te([A(0x5,_0x5b2811(_0x5b79bd)),A(0x6,_0x5b2811(_0x40fd0a)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x40673b(J))],de);let ee=class extends Ce{constructor(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x5a75cb,_0x4cac91,_0x4c5e57,_0x5e9f81,_0x218e35,_0x4c4673,_0x1e9845,_0x184c46,_0x564894,_0x2d82de){var _0x4b1584=_0x1f558c;super(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x4c5e57,_0x1e9845,_0x184c46,_0x218e35,_0x2d82de),N(this,'status',_0x4b1584(0x335)),(this['_acknowledgedAwaitingChangeset']=_0x5a75cb,this['_queuedRemoteChangesets']=_0x4cac91,this['_injector']=_0x5e9f81,this[_0x4b1584(0x343)]=_0x4c4673,this[_0x4b1584(0x38a)]=_0x564894,this[_0x4b1584(0x1d1)]=_0x2d82de);}[_0x1f558c(0x312)](_0x14f929){var _0x1dbd2c=_0x1f558c;try{const _0x30839e=[..._0x14f929,...this[_0x1dbd2c(0x2bd)]],_0x18c1b3=[this['_awaitingChangeset']||this[_0x1dbd2c(0x309)]][_0x1dbd2c(0x436)](_0x5155f0=>!!_0x5155f0);let _0x213a22,_0x51231b;if(_0x18c1b3[_0x1dbd2c(0x158)]){const _0x58735e=this[_0x1dbd2c(0x38a)][_0x1dbd2c(0x428)](_0x30839e,_0x18c1b3,!0x1);if(!_0x2e616a(_0x58735e))throw _0x58735e[_0x1dbd2c(0x145)];_0x213a22=_0x58735e[_0x1dbd2c(0x424)],_0x51231b=_0x58735e[_0x1dbd2c(0x261)];}else _0x213a22=_0x30839e,_0x51231b=[];let _0x3fcd71=this[_0x1dbd2c(0x2d0)];_0x213a22[_0x1dbd2c(0x179)](_0x488411=>{var _0x3838cf=_0x1dbd2c;let _0x30ff9b;if(_0x3fcd71[_0x3838cf(0x158)]){const _0xa3366b=this[_0x3838cf(0x38a)][_0x3838cf(0x3e5)](_0x488411,_0x3fcd71);if(!_0x1a87e5(_0xa3366b))throw _0xa3366b[_0x3838cf(0x145)];_0x30ff9b=_0xa3366b[_0x3838cf(0x424)],_0x3fcd71=_0xa3366b[_0x3838cf(0x141)];}else _0x30ff9b=_0x488411;this[_0x3838cf(0x305)](_0x30ff9b);}),this[_0x1dbd2c(0x309)]&&this[_0x1dbd2c(0x286)](),this['_awaitingChangeset']&&_0x51231b[_0x1dbd2c(0x158)]&&(_0x51231b[0x0][_0x1dbd2c(0x161)]=this[_0x1dbd2c(0x2e0)]());let _0x1be07c;if(this['_awaitingChangeset']&&_0x3fcd71[_0x1dbd2c(0x158)]!==0x0)_0x1be07c=this['_injector'][_0x1dbd2c(0x38e)](ae,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],_0x3fcd71,this[_0x1dbd2c(0x389)],void 0x0);else{if(this[_0x1dbd2c(0x3f4)]&&_0x3fcd71['length']===0x0)_0x51231b[0x0]['baseRev']=this[_0x1dbd2c(0x2e0)](),_0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](le,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],this['_handler']);else{if(_0x3fcd71[_0x1dbd2c(0x158)]!==0x0){const _0x598a86=this['_injector'][_0x1dbd2c(0x38e)](oe,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x3fcd71,this[_0x1dbd2c(0x389)]);_0x598a86[_0x1dbd2c(0x3d9)](),_0x1be07c=_0x598a86;}else _0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](Ne,this['unitID'],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x389)]);}}return _0x1be07c[_0x1dbd2c(0x27b)](),_0x1be07c;}catch(_0x253685){return this[_0x1dbd2c(0x343)][_0x1dbd2c(0x145)](_0x1dbd2c(0x426),_0x1dbd2c(0x332),_0x253685),this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](ue,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x3f4)],this[_0x1dbd2c(0x2d0)],this[_0x1dbd2c(0x389)],!0x1);}}[_0x1f558c(0x311)](){var _0x1be9fd=_0x1f558c;throw new Error(_0x1be9fd(0x15b));}[_0x1f558c(0x20e)](_0x398c03){var _0x5641e1=_0x1f558c;return this['_pendingMutations'][_0x5641e1(0x1eb)](_0x398c03),this;}[_0x1f558c(0x295)](_0x431447){var _0x40e5b6=_0x1f558c;return this[_0x40e5b6(0x2bd)][_0x40e5b6(0x1eb)](_0x431447),this;}['onRemoteAck'](_0x5ec180){var _0x4f6369=_0x1f558c;if(this[_0x4f6369(0x3f4)])return this[_0x4f6369(0x309)]=this[_0x4f6369(0x3f4)],this[_0x4f6369(0x3f4)]=null,this;throw new Error(_0x4f6369(0x2a2));}[_0x1f558c(0x19c)](_0x45a136){var _0x2d5a43=_0x1f558c;return this[_0x2d5a43(0x3d2)](!!(_0x45a136!=null&&_0x45a136[_0x2d5a43(0x3cf)]));}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){var _0x568d32=_0x1f558c;return this[_0x568d32(0x1b3)]['createInstance'](de,this[_0x568d32(0x3e0)],this[_0x568d32(0x15f)],this[_0x568d32(0x3f4)],this[_0x568d32(0x2d0)],this[_0x568d32(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d2)](_0x556bd1){var _0x1cd9da=_0x1f558c;return this[_0x1cd9da(0x1b3)]['createInstance'](ue,this[_0x1cd9da(0x3e0)],this[_0x1cd9da(0x15f)],this[_0x1cd9da(0x3f4)],this[_0x1cd9da(0x2d0)],this[_0x1cd9da(0x389)],_0x556bd1);}};ee=Te([A(0x7,_0x5b2811(_0x5b79bd)),A(0x8,_0x5b2811(_0x40fd0a)),A(0x9,_0x574408),A(0xa,_0x456150),A(0xb,_0x46c745),A(0xc,_0x45b9e1),A(0xd,_0x40673b(J))],ee);function yi(_0x25fe4f,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9){var _0x15932e=_0x1f558c;return _0x352b6e&&_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](ae,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9,void 0x0):_0x352b6e?_0x25fe4f['createInstance'](le,_0x2bedd8,_0x26ab36,_0x352b6e,_0xd7f8a9):_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](oe,_0x2bedd8,_0x26ab36,_0x47f579,_0xd7f8a9):_0x25fe4f['createInstance'](Ne,_0x2bedd8,_0x26ab36,_0xd7f8a9);}var dr=Object['defineProperty'],fr=Object[_0x1f558c(0x330)],xt=(_0x462a76,_0x5c6930,_0xb78107,_0x1fdf4e)=>{for(var _0x5e4549=_0x1fdf4e>0x1?void 0x0:_0x1fdf4e?fr(_0x5c6930,_0xb78107):_0x5c6930,_0x2ca9da=_0x462a76['length']-0x1,_0x2ac7da;_0x2ca9da>=0x0;_0x2ca9da--)(_0x2ac7da=_0x462a76[_0x2ca9da])&&(_0x5e4549=(_0x1fdf4e?_0x2ac7da(_0x5c6930,_0xb78107,_0x5e4549):_0x2ac7da(_0x5e4549))||_0x5e4549);return _0x1fdf4e&&_0x5e4549&&dr(_0x5c6930,_0xb78107,_0x5e4549),_0x5e4549;},k=(_0x28c612,_0x12ba7c)=>(_0x4ca439,_0x173bcc)=>_0x12ba7c(_0x4ca439,_0x173bcc,_0x28c612);let nt=class extends _0x1a5dd9{constructor(_0x584940,_0x38ec7f,_0x4926b3,_0x53a0fc,_0x1dd380,_0x1fbc1e,_0x287847,_0x3aeca8,_0x2b42fb,_0xd9a42a,_0x2232da,_0x5c6f0c,_0x4e3617){var _0x4b8db1=_0x1f558c;super(),N(this,'_state$',new _0x12b284(null)),N(this,'state$',this['_state$'][_0x4b8db1(0x317)]()),N(this,'_state'),N(this,_0x4b8db1(0x388),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4b8db1(0x29c),0x0),N(this,_0x4b8db1(0x2b3),this[_0x4b8db1(0x24c)][_0x4b8db1(0x41e)](_0x1d5c6b(_0x34dc73=>_0x34dc73?_0x34dc73['status']:Ri['OFFLINE']),_0x576d80(0x1))),N(this,_0x4b8db1(0x2c9),!0x1),N(this,_0x4b8db1(0x230),[]),(this[_0x4b8db1(0x3e0)]=_0x584940,this[_0x4b8db1(0x425)]=_0x38ec7f,this[_0x4b8db1(0x318)]=_0x4926b3,this[_0x4b8db1(0x1b3)]=_0x53a0fc,this['_compressMutationService']=_0x1dd380,this[_0x4b8db1(0x2c0)]=_0x1fbc1e,this[_0x4b8db1(0x164)]=_0x287847,this['_eventService']=_0x3aeca8,this['_logService']=_0x2b42fb,this[_0x4b8db1(0x1d2)]=_0xd9a42a,this['_permissionService']=_0x2232da,this[_0x4b8db1(0x40d)]=_0x5c6f0c,this['_localCacheService']=_0x4e3617);}get[_0x1f558c(0x240)](){return this['_state'];}async[_0x1f558c(0x2e7)](){var _0x324d75=_0x1f558c;if(this[_0x324d75(0x240)])throw new Error(_0x324d75(0x2a1));await this[_0x324d75(0x2e9)]();}[_0x1f558c(0x205)](){return this['_collaborationPaused']=!0x0,_0xd7d543(()=>{var _0x5b1416=_0x4725;this['_collaborationPaused']=!0x1,this[_0x5b1416(0x198)]();});}[_0x1f558c(0x429)](_0x89aeb2){var _0x97a7ce=_0x1f558c;this[_0x97a7ce(0x2b4)](_0x89aeb2);}[_0x1f558c(0x177)](_0x1d718c){var _0x16137d=_0x1f558c;this[_0x16137d(0x310)]=_0x1d718c,this[_0x16137d(0x3c7)]['next'](_0x1d718c);}async['_init'](){var _0x598ece=_0x1f558c,_0xbe8838;this[_0x598ece(0x177)](await this['_createInitialState']()),this[_0x598ece(0x40d)]&&((_0xbe8838=this[_0x598ece(0x40d)])==null||_0xbe8838[_0x598ece(0x350)](this[_0x598ece(0x3e0)]),this[_0x598ece(0x2d6)](this[_0x598ece(0x40d)][_0x598ece(0x3c5)](this[_0x598ece(0x3e0)])[_0x598ece(0x3a4)](_0xeb7c9b=>{var _0x533df4=_0x598ece;this['_logService']['debug']('[CollaborationEntity]',_0x533df4(0x28a),_0xeb7c9b),_0xeb7c9b===Ci[_0x533df4(0x417)]?(this[_0x533df4(0x373)][_0x533df4(0x2ec)]({'id':se[_0x533df4(0x222)]}),this[_0x533df4(0x30f)][_0x533df4(0x298)](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x533df4(0x30f)]['updatePermissionPoint'](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x0),this[_0x533df4(0x30f)][_0x533df4(0x20c)](!0x0));})));let _0x25eb4b=!0x1;return this[_0x598ece(0x2d6)](this[_0x598ece(0x425)]['sessionStatus$'][_0x598ece(0x3a4)](_0x2f1fa1=>{var _0x98d980=_0x598ece;_0x2f1fa1===Ee[_0x98d980(0x262)]?this[_0x98d980(0x3f7)](_0x25eb4b):_0x2f1fa1===Ee[_0x98d980(0x18f)]&&(_0x25eb4b=!0x0,this['_toggleOffline']());})),this[_0x598ece(0x2d6)](this[_0x598ece(0x425)][_0x598ece(0x1c9)][_0x598ece(0x3a4)](_0x58152d=>{var _0x5b9ee3=_0x598ece;try{switch(_0x58152d[_0x5b9ee3(0x20b)]){case _0x238e1f[_0x5b9ee3(0x257)]:{this[_0x5b9ee3(0x3bf)](_0x350fd9(_0x58152d[_0x5b9ee3(0x2f7)]));break;}case _0x238e1f[_0x5b9ee3(0x325)]:{this['_onRemoteACK'](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f['CHANGESET_REJ']:{this[_0x5b9ee3(0x14e)]();break;}case _0x238e1f[_0x5b9ee3(0x3dd)]:{this[_0x5b9ee3(0x34a)](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f[_0x5b9ee3(0x22b)]:{this[_0x5b9ee3(0x18c)](_0x58152d[_0x5b9ee3(0x2f7)]['changesets'][_0x5b9ee3(0x3b0)](_0x2275f9=>_0x350fd9(_0x2275f9)));break;}case _0x238e1f[_0x5b9ee3(0x2fd)]:{this[_0x5b9ee3(0x14e)]({'isPermissionRej':!0x0});break;}case _0x238e1f[_0x5b9ee3(0x32d)]:break;}}catch(_0x1a4124){throw console[_0x5b9ee3(0x145)](_0x5b9ee3(0x197),_0x1a4124),_0x1a4124;}})),this[_0x598ece(0x310)];}['_unlockTransition'](){var _0x58179d=_0x1f558c;this[_0x58179d(0x2c9)]=!0x1;}['_lockTransition'](){var _0x4dd08a=_0x1f558c;if(this['_transitionLocked'])throw new Error(_0x4dd08a(0x393));this[_0x4dd08a(0x2c9)]=!0x0;}[_0x1f558c(0x2b4)](_0xc61510){var _0xabedd9=_0x1f558c;this['_lockTransition'](),this[_0xabedd9(0x177)](this[_0xabedd9(0x310)][_0xabedd9(0x20e)](_0xc61510)),this['_unlockTransition']();}[_0x1f558c(0x3bf)](_0x4958fb){var _0x15bf28=_0x1f558c;if(!(_0x4958fb['revision']<=this[_0x15bf28(0x164)][_0x15bf28(0x372)](this[_0x15bf28(0x3e0)]))){if(this[_0x15bf28(0x388)]){this[_0x15bf28(0x230)]['push'](_0x4958fb);return;}this['_applyRemoteChangeset'](_0x4958fb);}}[_0x1f558c(0x198)](){var _0x506b52=_0x1f558c;this[_0x506b52(0x230)][_0x506b52(0x179)](_0xbacb22=>this[_0x506b52(0x339)](_0xbacb22)),this[_0x506b52(0x230)]=[];}['_applyRemoteChangeset'](_0x10f8ce){var _0x541156=_0x1f558c;const _0x582de7=this[_0x541156(0x352)][_0x541156(0x226)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x541156(0x226)]['getInterceptPoints']()[_0x541156(0x2f3)])(_0x10f8ce[_0x541156(0x1cc)],null)||_0x10f8ce[_0x541156(0x1cc)],_0x2cce3a={..._0x10f8ce,'mutations':_0x582de7};this[_0x541156(0x2d5)](),this[_0x541156(0x177)](this[_0x541156(0x310)][_0x541156(0x295)](_0x2cce3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x3b8687){var _0x513624=_0x1f558c;this['_lockTransition'](),this[_0x513624(0x177)](this[_0x513624(0x310)]['onRemoteAck'](_0x3b8687)),this[_0x513624(0x26f)]();}[_0x1f558c(0x14e)](_0x5742ae){var _0x5821d3=_0x1f558c;this[_0x5821d3(0x2d5)](),this[_0x5821d3(0x177)](this[_0x5821d3(0x310)][_0x5821d3(0x19c)](_0x5742ae)),this[_0x5821d3(0x26f)]();}[_0x1f558c(0x34a)](_0x2e6ba4){var _0x46e26f=_0x1f558c;this[_0x46e26f(0x2d5)](),this[_0x46e26f(0x177)](this['_state'][_0x46e26f(0x387)](_0x2e6ba4)),this[_0x46e26f(0x26f)]();}[_0x1f558c(0x18c)](_0x430174){var _0x13cfa8=_0x1f558c;if(!(this[_0x13cfa8(0x310)]instanceof ee))throw new TypeError(_0x13cfa8(0x2ae));const _0x34bcfa=_0x430174[_0x13cfa8(0x3b0)](_0x367e56=>{var _0xf1f084=_0x13cfa8;const _0x3b3a8a=this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x269)](this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x30d)]()[_0xf1f084(0x2f3)])(_0x367e56['mutations'],null)||_0x367e56['mutations'];return{..._0x367e56,'mutations':_0x3b3a8a};});this[_0x13cfa8(0x2d5)](),this[_0x13cfa8(0x177)](this[_0x13cfa8(0x310)][_0x13cfa8(0x312)](_0x34bcfa)),this[_0x13cfa8(0x26f)]();}[_0x1f558c(0x410)](){var _0x59b004=_0x1f558c;this[_0x59b004(0x2d5)](),this['_updateState'](this[_0x59b004(0x310)][_0x59b004(0x3ab)]()),this[_0x59b004(0x26f)]();}['_toggleOnline'](_0xaa6462=!0x1){var _0x5177ab=_0x1f558c;this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](this[_0x5177ab(0x310)][_0x5177ab(0x25a)]()),this[_0x5177ab(0x26f)]();const _0x917c4e=this[_0x5177ab(0x310)];_0xaa6462&&_0x917c4e instanceof Ne&&(this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](_0x917c4e[_0x5177ab(0x291)]()),this[_0x5177ab(0x26f)]());}async['_createInitialState'](){return new Promise(_0x326911=>{var _0xf1e9cd=_0x4725;this[_0xf1e9cd(0x425)][_0xf1e9cd(0x3ce)]['pipe'](_0x3669e7(0x1))['subscribe'](async _0x4f161c=>{var _0x48ac70=_0xf1e9cd;_0x326911(await this['_createInitialStateImpl'](_0x4f161c===Ee[_0x48ac70(0x262)]));});});}[_0x1f558c(0x156)](){var _0x418581=_0x1f558c;const _0x5487b9=this[_0x418581(0x3e0)];return{'onStateChange':(_0x48641c,_0x405323)=>{var _0x3116b2=_0x418581;if(_0x48641c!==this[_0x3116b2(0x310)])throw new Error(_0x3116b2(0x3dc)+_0x48641c[_0x3116b2(0x1c2)]+_0x3116b2(0x31f)+_0x405323[_0x3116b2(0x1c2)]+_0x3116b2(0x1ac)+this[_0x3116b2(0x310)][_0x3116b2(0x1c2)]);this[_0x3116b2(0x177)](_0x405323);},'onSendChangeset':_0x347091=>{var _0x41c0ef=_0x418581;_0x347091[_0x41c0ef(0x2c8)]||(_0x347091['sid']=this[_0x41c0ef(0x184)],_0x347091[_0x41c0ef(0x29b)]=++this[_0x41c0ef(0x29c)]);const _0x5409a6={'eventID':_0x238e1f[_0x41c0ef(0x328)],'data':{'unitID':_0x347091['unitID'],'unitType':this[_0x41c0ef(0x318)],'changeset':_0x347091,'memberID':this[_0x41c0ef(0x425)]['getMemberID']()}};this[_0x41c0ef(0x425)][_0x41c0ef(0x1dc)](_0x5409a6,this[_0x41c0ef(0x3e0)]);},'onMissingChangesets':({from:_0x150202,to:_0x44800d})=>{var _0x52677d=_0x418581;this[_0x52677d(0x343)][_0x52677d(0x2e3)](_0x52677d(0x438),_0x52677d(0x356)+_0x150202+_0x52677d(0x210)+_0x44800d);const _0x13a6c8={'eventID':_0x238e1f[_0x52677d(0x199)],'data':{'unitID':_0x5487b9,'unitType':this['_type'],'from':_0x150202,'to':_0x44800d}};this['session'][_0x52677d(0x1dc)](_0x13a6c8,this['unitID']);}};}async['_createInitialStateImpl'](_0x2eab43){var _0x517d6e=_0x1f558c,_0x147299,_0x5250b9,_0x539440;const _0x1e7bd8=await((_0x147299=this['_localCacheService'])==null?void 0x0:_0x147299[_0x517d6e(0x41d)](this[_0x517d6e(0x3e0)])),_0x268dd7=(_0x5250b9=_0x1e7bd8==null?void 0x0:_0x1e7bd8[_0x517d6e(0x1cc)])!=null?_0x5250b9:[],_0x46aae4=(_0x539440=_0x1e7bd8==null?void 0x0:_0x1e7bd8['awaitingChangeset'])!=null?_0x539440:null,_0x569059=!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x2c8)])&&!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x29b)]);this[_0x517d6e(0x184)]=_0x569059?_0x46aae4[_0x517d6e(0x2c8)]:nr(),this['_changesetReqId']=_0x569059?_0x46aae4[_0x517d6e(0x29b)]:0x0;const _0x189569=this[_0x517d6e(0x3e0)];try{this['_replayCachedMutations'](_0x46aae4,_0x268dd7);}catch(_0x248261){this[_0x517d6e(0x343)][_0x517d6e(0x145)](_0x248261);}const _0x51b6e3=this[_0x517d6e(0x156)]();if(_0x2eab43){const _0x1f848e=yi(this[_0x517d6e(0x1b3)],_0x189569,this[_0x517d6e(0x318)],_0x46aae4,_0x268dd7,_0x51b6e3);return _0x1f848e instanceof oe?_0x1f848e[_0x517d6e(0x3d9)]():(_0x1f848e instanceof ae||_0x1f848e instanceof le)&&_0x1f848e['resend'](),_0x1f848e;}return this[_0x517d6e(0x1b3)][_0x517d6e(0x38e)](de,_0x189569,this['_type'],_0x46aae4,_0x268dd7,_0x51b6e3);}['_replayCachedMutations'](_0x10c6b3,_0x4ee13e){var _0x4e7195=_0x1f558c,_0x19e786,_0x167b67;const _0x4a06c1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4e7195(0x352)][_0x4e7195(0x226)][_0x4e7195(0x30d)]()[_0x4e7195(0x2f3)]);(_0x19e786=_0x4a06c1((_0x10c6b3==null?void 0x0:_0x10c6b3['mutations'])||[],null))==null||_0x19e786[_0x4e7195(0x179)](_0xc3930a=>this['_commandService'][_0x4e7195(0x3bc)](_0xc3930a['id'],_0xc3930a[_0x4e7195(0x3b2)])),(_0x167b67=_0x4a06c1(_0x4ee13e||[],null))==null||_0x167b67[_0x4e7195(0x179)](_0x3c66c6=>this[_0x4e7195(0x1d2)][_0x4e7195(0x3bc)](_0x3c66c6['id'],_0x3c66c6['params']));}};nt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],nt);let It=class extends nt{constructor(_0x5c4313,_0x328270,_0x123bc6,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74){var _0x3a73f9=_0x1f558c;super(_0x5c4313,_0x123bc6,_0x328270,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74),N(this,_0x3a73f9(0x1b0),null),(this[_0x3a73f9(0x3e0)]=_0x5c4313,this[_0x3a73f9(0x15f)]=_0x328270);}['addHandlerCallback'](_0x309646){var _0x26640a=_0x1f558c;this[_0x26640a(0x1b0)]=_0x309646;}[_0x1f558c(0x227)](){var _0x3f6bd6=_0x1f558c;this[_0x3f6bd6(0x1b0)]=null,super['dispose']();}[_0x1f558c(0x156)](){var _0x542cb2=_0x1f558c;const _0xfa395c=super[_0x542cb2(0x156)]();return _0xfa395c[_0x542cb2(0x2be)]=_0x1e46e0=>{var _0x346f04=_0x542cb2,_0x24b8d9,_0xca3323;return(_0xca3323=(_0x24b8d9=this[_0x346f04(0x1b0)])==null?void 0x0:_0x24b8d9['onTransformIME'])==null?void 0x0:_0xca3323[_0x346f04(0x178)](_0x24b8d9,_0x1e46e0);},_0xfa395c[_0x542cb2(0x360)]=_0x4801a2=>{var _0x3b22b9=_0x542cb2,_0x40432a,_0xdafcdb;return(_0xdafcdb=(_0x40432a=this[_0x3b22b9(0x1b0)])==null?void 0x0:_0x40432a[_0x3b22b9(0x360)])==null?void 0x0:_0xdafcdb[_0x3b22b9(0x178)](_0x40432a,_0x4801a2);},_0xfa395c[_0x542cb2(0x414)]=_0x1377cb=>{var _0x46c971=_0x542cb2,_0x453f99,_0x20c68f;return(_0x20c68f=(_0x453f99=this['_handlerCallback'])==null?void 0x0:_0x453f99[_0x46c971(0x414)])==null?void 0x0:_0x20c68f[_0x46c971(0x178)](_0x453f99,_0x1377cb);},_0xfa395c[_0x542cb2(0x2f0)]=_0x39d421=>{var _0x1addcd=_0x542cb2,_0x247a5c,_0x4d8218;return(_0x4d8218=(_0x247a5c=this[_0x1addcd(0x1b0)])==null?void 0x0:_0x247a5c[_0x1addcd(0x2f0)])==null?void 0x0:_0x4d8218['call'](_0x247a5c,_0x39d421);},_0xfa395c['onTransformRemoteChangesetByIMECache']=_0x72a2b=>{var _0x4c1660=_0x542cb2,_0x71600,_0x2919f6,_0x140276;if(!((_0x71600=this['_handlerCallback'])!=null&&_0x71600[_0x4c1660(0x2f6)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x140276=(_0x2919f6=this['_handlerCallback'])==null?void 0x0:_0x2919f6[_0x4c1660(0x2f6)])==null?void 0x0:_0x140276[_0x4c1660(0x178)](_0x2919f6,_0x72a2b);},_0xfa395c['onTransformRemoteChangesetByStateCache']=_0x5313fd=>{var _0x2fdbc0=_0x542cb2,_0x51c664,_0x248b91,_0x59b1cd;if(!((_0x51c664=this[_0x2fdbc0(0x1b0)])!=null&&_0x51c664[_0x2fdbc0(0x437)]))throw new Error(_0x2fdbc0(0x42d));return(_0x59b1cd=(_0x248b91=this['_handlerCallback'])==null?void 0x0:_0x248b91['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x59b1cd[_0x2fdbc0(0x178)](_0x248b91,_0x5313fd);},_0xfa395c;}async['_init'](){var _0x2ab5b9=_0x1f558c;const _0x94f2ef=await super[_0x2ab5b9(0x2e9)]();return this[_0x2ab5b9(0x2d6)](this['_commandService'][_0x2ab5b9(0x1aa)]((_0xa6a546,_0x68ea98)=>{var _0x423faa=_0x2ab5b9;if(_0xa6a546[_0x423faa(0x15f)]!==_0x2402fa[_0x423faa(0x173)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x308)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x231)]||_0xa6a546['id']===_0x3eafab['id'])return;const _0x7b098a=_0xa6a546[_0x423faa(0x3b2)];if((_0x7b098a==null?void 0x0:_0x7b098a['unitId'])!==this['unitID'])return;const _0x1257ee=_0xa6a546,_0x5d6fa5=this[_0x423faa(0x352)][_0x423faa(0x226)][_0x423faa(0x269)](this['_compressMutationService'][_0x423faa(0x226)][_0x423faa(0x30d)]()[_0x423faa(0x3f6)])([_0x1257ee],null)||[_0x1257ee];this[_0x423faa(0x2b4)](_0x5d6fa5[0x0]);})),_0x94f2ef;}};It=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],It);let Tt=class extends nt{constructor(_0x357985,_0x23a99e,_0x28cffc,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0x15de18,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740){var _0x1bcccf=_0x1f558c;super(_0x357985,_0x28cffc,_0x23a99e,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740),this[_0x1bcccf(0x3e0)]=_0x357985,this['type']=_0x23a99e,this[_0x1bcccf(0x13d)]=_0x15de18;}['_createHandler'](){var _0x2257d2=_0x1f558c;const _0x4abefb=super[_0x2257d2(0x156)]();return _0x4abefb['onTransformSelections']=_0x2ec37d=>this[_0x2257d2(0x13d)][_0x2257d2(0x188)](_0x2ec37d),_0x4abefb;}async[_0x1f558c(0x2e9)](){var _0x5bc905=_0x1f558c;const _0x2792aa=await super[_0x5bc905(0x2e9)]();return this[_0x5bc905(0x2d6)](this[_0x5bc905(0x1d2)][_0x5bc905(0x1aa)]((_0x33cec7,_0x449e79)=>{var _0xe13ca3=_0x5bc905;if(_0x33cec7[_0xe13ca3(0x15f)]!==_0x2402fa[_0xe13ca3(0x173)]||_0x449e79!=null&&_0x449e79['fromCollab']||_0x449e79!=null&&_0x449e79[_0xe13ca3(0x231)])return;const _0x40eceb=_0x33cec7[_0xe13ca3(0x3b2)];if((_0x40eceb==null?void 0x0:_0x40eceb[_0xe13ca3(0x33e)])!==this[_0xe13ca3(0x3e0)])return;const _0x1e67e5=_0x33cec7,_0x211b23=this['_compressMutationService']['interceptor'][_0xe13ca3(0x269)](this[_0xe13ca3(0x352)][_0xe13ca3(0x226)][_0xe13ca3(0x30d)]()[_0xe13ca3(0x3f6)])([_0x1e67e5],null)||[_0x1e67e5];this['_onLocalMutation'](_0x211b23[0x0]);})),_0x2792aa;}};Tt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(it)),k(0x8,_0x5b2811(pe)),k(0x9,_0x574408),k(0xa,_0x456150),k(0xb,_0x5b9158),k(0xc,_0x40673b(ht)),k(0xd,_0x40673b(J))],Tt);var vr=Object[_0x1f558c(0x175)],pr=Object[_0x1f558c(0x330)],mr=(_0x84df73,_0x952367,_0x4c8f6f,_0x3207d1)=>{var _0x4f2278=_0x1f558c;for(var _0x2ac94d=_0x3207d1>0x1?void 0x0:_0x3207d1?pr(_0x952367,_0x4c8f6f):_0x952367,_0x58829c=_0x84df73[_0x4f2278(0x158)]-0x1,_0x47fa79;_0x58829c>=0x0;_0x58829c--)(_0x47fa79=_0x84df73[_0x58829c])&&(_0x2ac94d=(_0x3207d1?_0x47fa79(_0x952367,_0x4c8f6f,_0x2ac94d):_0x47fa79(_0x2ac94d))||_0x2ac94d);return _0x3207d1&&_0x2ac94d&&vr(_0x952367,_0x4c8f6f,_0x2ac94d),_0x2ac94d;},ft=(_0x1f5718,_0x498701)=>(_0x24fb77,_0x5967e2)=>_0x498701(_0x24fb77,_0x5967e2,_0x1f5718);let rt=class extends _0x1a5dd9{constructor(_0x51bca1,_0x4952a3,_0x4e9958){var _0xad0321=_0x1f558c;super(),N(this,'_entities',new Map()),N(this,_0xad0321(0x272),new _0x13d4cc()),N(this,_0xad0321(0x36d),this['_entityInit$']['asObservable']()),(this[_0xad0321(0x1b3)]=_0x51bca1,this[_0xad0321(0x18b)]=_0x4952a3,this[_0xad0321(0x435)]=_0x4e9958,this[_0xad0321(0x2e9)]());}['dispose'](){var _0x3d6bb5=_0x1f558c;super[_0x3d6bb5(0x227)](),this[_0x3d6bb5(0x169)]['forEach'](_0x51e0da=>_0x51e0da['dispose']()),this[_0x3d6bb5(0x169)][_0x3d6bb5(0x377)]();}[_0x1f558c(0x273)](_0x9b811d){var _0x57124b=_0x1f558c,_0x5f5846;return(_0x5f5846=this['_entities'][_0x57124b(0x1e3)](_0x9b811d))!=null?_0x5f5846:null;}[_0x1f558c(0x204)](_0x289c6c){var _0x3b0277=_0x1f558c;const _0x2fb78e=this[_0x3b0277(0x273)](_0x289c6c);return _0x2fb78e?_0xb786a0(_0x2fb78e):this[_0x3b0277(0x272)]['pipe'](_0x1bdf9d(_0x3e6ca4=>_0x3e6ca4[_0x3b0277(0x3e0)]===_0x289c6c));}[_0x1f558c(0x180)](_0x5a23b6){var _0x4d69d2=_0x1f558c;return _0x9545a1(this[_0x4d69d2(0x204)](_0x5a23b6)[_0x4d69d2(0x41e)](_0xeca816(()=>{})));}[_0x1f558c(0x2e9)](){var _0x28714f=_0x1f558c;this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x3d3)])[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]),_0x18b0fa(0x10))[_0x28714f(0x3a4)](async _0x38a638=>{var _0x3f5073=_0x28714f;const _0x23aeaf=_0x38a638[_0x3f5073(0x253)](),_0x36a16e=await this[_0x3f5073(0x24e)](_0x23aeaf,Q['UNIVER_SHEET']);this[_0x3f5073(0x169)]['set'](_0x23aeaf,_0x36a16e);}),this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x143)])[_0x28714f(0x41e)](_0x29925c(this['dispose$']),_0x18b0fa(0x10))[_0x28714f(0x41e)](_0x1bdf9d(_0x18712e=>!_0x18712e['getUnitId']()[_0x28714f(0x19d)]('__')))[_0x28714f(0x3a4)](async _0x55deed=>{var _0x29e118=_0x28714f;const _0x381310=_0x55deed[_0x29e118(0x253)](),_0x45b7c7=await this['_startCollaboration'](_0x381310,Q['UNIVER_DOC']);this[_0x29e118(0x169)]['set'](_0x381310,_0x45b7c7);}),_0x404c78(this['_univerInstanceService'][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x3d3)]),this[_0x28714f(0x435)][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x143)]))[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]))[_0x28714f(0x3a4)](_0x29a4ad=>{var _0x58a5dc=_0x28714f;const _0x55e6a1=_0x29a4ad[_0x58a5dc(0x253)](),_0x1ecdd9=this['_entities']['get'](_0x55e6a1);_0x1ecdd9&&(_0x1ecdd9['dispose'](),this['_entities'][_0x58a5dc(0x167)](_0x55e6a1));});}async[_0x1f558c(0x24e)](_0x179a8a,_0x3b6b37){var _0x37e265=_0x1f558c;const _0x2eb9eb=await this[_0x37e265(0x18b)][_0x37e265(0x1a7)](_0x179a8a),_0x2fd93a=this[_0x37e265(0x1b3)]['createInstance'](this['_getCtorByUniverType'](_0x3b6b37),_0x179a8a,_0x3b6b37,_0x2eb9eb);return await _0x2fd93a[_0x37e265(0x2e7)](),this[_0x37e265(0x272)][_0x37e265(0x140)](_0x2fd93a),_0x2fd93a;}[_0x1f558c(0x2b5)](_0x415df0){var _0x275f90=_0x1f558c;switch(_0x415df0){case Q['UNIVER_DOC']:return It;case Q[_0x275f90(0x3d3)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x415df0);}}};rt=mr([ft(0x0,_0x5b2811(_0x5b79bd)),ft(0x1,_0x5b2811(Le)),ft(0x2,_0x30c3be)],rt);var gr=Object[_0x1f558c(0x175)],Sr=Object[_0x1f558c(0x330)],Er=(_0x36c326,_0x2d70f5,_0x351261,_0x3493ae)=>{var _0x37fc76=_0x1f558c;for(var _0x484fbb=_0x3493ae>0x1?void 0x0:_0x3493ae?Sr(_0x2d70f5,_0x351261):_0x2d70f5,_0x2b5d61=_0x36c326[_0x37fc76(0x158)]-0x1,_0x381eef;_0x2b5d61>=0x0;_0x2b5d61--)(_0x381eef=_0x36c326[_0x2b5d61])&&(_0x484fbb=(_0x3493ae?_0x381eef(_0x2d70f5,_0x351261,_0x484fbb):_0x381eef(_0x484fbb))||_0x484fbb);return _0x3493ae&&_0x484fbb&&gr(_0x2d70f5,_0x351261,_0x484fbb),_0x484fbb;},zt=(_0x4e5edc,_0x47078d)=>(_0x3fa8f0,_0x3b7525)=>_0x47078d(_0x3fa8f0,_0x3b7525,_0x4e5edc);const Ir=_0x1f558c(0x13b),Tr=_0x1f558c(0x2c3);let Ct=class extends _0xc53c05{constructor(_0xcd24a3,_0x45b60e){var _0x1abde9=_0x1f558c;super(),this[_0x1abde9(0x435)]=_0xcd24a3,this[_0x1abde9(0x405)]=_0x45b60e,this['_init']();}[_0x1f558c(0x2e9)](){var _0x1c9b8a=_0x1f558c;this[_0x1c9b8a(0x2d6)](this[_0x1c9b8a(0x435)]['focused$']['subscribe'](()=>{var _0x4757fa=_0x1c9b8a,_0x16080d;const _0x529cb0=this[_0x4757fa(0x435)]['getFocusedUnit']();let _0x44ba1a=(_0x16080d=this['_configService'][_0x4757fa(0x2a0)](Ir))!=null?_0x16080d:Tr;_0x529cb0 instanceof _0x13ef59&&(_0x44ba1a=_0x529cb0[_0x4757fa(0x42a)]),document['title']=_0x44ba1a;}));}};Ct=Er([zt(0x0,_0x30c3be),zt(0x1,_0x4ea54a)],Ct);var Cr=Object[_0x1f558c(0x175)],br=Object['getOwnPropertyDescriptor'],Rr=(_0x16c3f2,_0x2d4a7e,_0x15fd13,_0x2a9bbd)=>{var _0xce15af=_0x1f558c;for(var _0x16101c=_0x2a9bbd>0x1?void 0x0:_0x2a9bbd?br(_0x2d4a7e,_0x15fd13):_0x2d4a7e,_0x2e8432=_0x16c3f2[_0xce15af(0x158)]-0x1,_0xb7514f;_0x2e8432>=0x0;_0x2e8432--)(_0xb7514f=_0x16c3f2[_0x2e8432])&&(_0x16101c=(_0x2a9bbd?_0xb7514f(_0x2d4a7e,_0x15fd13,_0x16101c):_0xb7514f(_0x16101c))||_0x16101c);return _0x2a9bbd&&_0x16101c&&Cr(_0x2d4a7e,_0x15fd13,_0x16101c),_0x16101c;},vt=(_0x5029c6,_0x58b86f)=>(_0x31eacd,_0xabf114)=>_0x58b86f(_0x31eacd,_0xabf114,_0x5029c6);let st=class{constructor(_0x35231a,_0x2eeb92,_0x35d7f7){var _0x4fd65c=_0x1f558c;this['_configService']=_0x35231a,this[_0x4fd65c(0x2d9)]=_0x2eeb92,this[_0x4fd65c(0x1cf)]=_0x35d7f7,this['init']();}[_0x1f558c(0x2e7)](){var _0x4a32f3=_0x1f558c;this[_0x4a32f3(0x2d9)][_0x4a32f3(0x251)]({'priority':0x1,'interceptor':(_0x550e13,_0x261358)=>_0x261358(_0x550e13)['pipe'](_0x574dc9(async _0x674ca7=>{var _0x31b526=_0x4a32f3;const _0x5b6847=_0x674ca7;if(_0x5b6847[_0x31b526(0x1c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x31b526(0x1cf)]['t'](_0x31b526(0x218)))){const _0x3891b6=window['encodeURIComponent'](window[_0x31b526(0x15a)]['href']);window['location'][_0x31b526(0x21b)]=this[_0x31b526(0x403)]()+_0x31b526(0x16c)+_0x3891b6;}}return _0x5b6847;}))});}['_getLoginPath'](){var _0x3625c1=_0x1f558c,_0x5de4d4,_0x4cfaec;const _0xfc9610=this[_0x3625c1(0x405)][_0x3625c1(0x2a0)](wn),_0x5216a1=this[_0x3625c1(0x405)]['getConfig'](q);return(_0x4cfaec=(_0x5de4d4=_0x5216a1==null?void 0x0:_0x5216a1['loginUrlKey'])!=null?_0x5de4d4:_0xfc9610)!=null?_0x4cfaec:Un;}};st=Rr([vt(0x0,_0x4ea54a),vt(0x1,_0x5b2811(_0x5b9922)),vt(0x2,_0x5b2811(_0x426c5e))],st);var Or=Object[_0x1f558c(0x175)],yr=Object[_0x1f558c(0x330)],Nr=(_0x1cbf48,_0x345d9d,_0x4a3006,_0x28e77c)=>{var _0x10e89e=_0x1f558c;for(var _0x53593d=_0x28e77c>0x1?void 0x0:_0x28e77c?yr(_0x345d9d,_0x4a3006):_0x345d9d,_0x1d4f2a=_0x1cbf48[_0x10e89e(0x158)]-0x1,_0x3b33ca;_0x1d4f2a>=0x0;_0x1d4f2a--)(_0x3b33ca=_0x1cbf48[_0x1d4f2a])&&(_0x53593d=(_0x28e77c?_0x3b33ca(_0x345d9d,_0x4a3006,_0x53593d):_0x3b33ca(_0x53593d))||_0x53593d);return _0x28e77c&&_0x53593d&&Or(_0x345d9d,_0x4a3006,_0x53593d),_0x53593d;},Jt=(_0x19d4e4,_0xe24d26)=>(_0x23ae2e,_0x5b3b1d)=>_0xe24d26(_0x23ae2e,_0x5b3b1d,_0x19d4e4);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0xc53c05{constructor(_0x3e1175,_0x57c1d6){var _0x58ef39=_0x1f558c;super(),this['_HTTPService']=_0x3e1175,this[_0x58ef39(0x405)]=_0x57c1d6,this['_initMergeInterceptor']();}[_0x1f558c(0x1a5)](){var _0x40f5f5=_0x1f558c;const _0x509e6d=this;this[_0x40f5f5(0x2d6)](this[_0x40f5f5(0x2d4)][_0x40f5f5(0x251)]({'priority':0x3e7,'interceptor':_0x324ea2({'isMatch'(_0x27d9ba){var _0x542953=_0x40f5f5,_0x58be83;if(_0x27d9ba['method']===_0x542953(0x2d1)&&((_0x58be83=_0x27d9ba[_0x542953(0x1ed)])!=null&&_0x58be83[_0x542953(0x2ac)])){const {objectID:_0x408330,objectType:_0x1340ff}=_0x27d9ba[_0x542953(0x1ed)]['body']||{};if(!_0x408330||_0x1340ff===void 0x0)return!0x1;const _0x5c41c4=_0x509e6d[_0x542953(0x1ce)]()+'/'+_0x1340ff+'/object/'+_0x408330+_0x542953(0x390);if(_0x27d9ba[_0x542953(0x3c6)]===_0x5c41c4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b2365){var _0x2553ff=_0x40f5f5,_0xd32f90;return(_0xd32f90=_0x3b2365['requestParams'])==null?void 0x0:_0xd32f90[_0x2553ff(0x2ac)];},'mergeParamsToRequest'(_0x3f2918,_0x5ed504){var _0x3c4978=_0x40f5f5;const _0x7a967f=_0x509e6d[_0x3c4978(0x1ce)]()+_0x3c4978(0x1db),_0x4be17b=_0x3f2918[_0x3c4978(0x376)]((_0x1442c4,_0x33bc66)=>{var _0x578a75=_0x3c4978;const {unitID:_0x346482,objectID:_0xc0e480,objectType:_0x518002,actions:_0x4fb10d}=_0x33bc66;return _0x1442c4[_0x346482]||(_0x1442c4[_0x346482]={}),_0x1442c4[_0x346482][_0xc0e480]||(_0x1442c4[_0x346482][_0xc0e480]={'objectID':_0xc0e480,'objectType':_0x518002,'actions':[]}),_0x1442c4[_0x346482][_0xc0e480]['actions'][_0x578a75(0x1eb)](..._0x4fb10d),_0x1442c4;},{}),_0xa312f6=[];for(const _0x7b73d7 in _0x4be17b)for(const _0x2a04a2 in _0x4be17b[_0x7b73d7]){const {actions:_0x598553,objectType:_0xb6bfe}=_0x4be17b[_0x7b73d7][_0x2a04a2],_0xa42063=[...new Set(_0x598553)];_0xa312f6[_0x3c4978(0x1eb)]({'unitID':_0x7b73d7,'objectID':_0x2a04a2,'objectType':_0xb6bfe,'actions':_0xa42063});}return new _0x4ba1c4('POST',_0x7a967f,{'headers':_0x5ed504['headers'],'withCredentials':_0x5ed504['withCredentials'],'responseType':_0x5ed504[_0x3c4978(0x1d5)],'body':{'requests':_0xa312f6}});}},{'distributeResult'(_0x4522c8,_0x177471){var _0x495e40=_0x40f5f5;const {objectActions:_0x6ad2a8}=_0x4522c8;return _0x177471[_0x495e40(0x3b0)](_0x3164e8=>{var _0x384165=_0x495e40;const {unitID:_0x3f8688,objectID:_0x19e8b3,actions:_0x282fd5}=_0x3164e8,_0xa2191=_0x6ad2a8[_0x384165(0x1c5)](_0x22944d=>_0x22944d['unitID']===_0x3f8688&&_0x22944d[_0x384165(0x3a9)]===_0x19e8b3),_0x337089=_0x282fd5[_0x384165(0x3b0)](_0x5396e0=>_0xa2191==null?void 0x0:_0xa2191[_0x384165(0x2f8)]['find'](_0x9497d9=>_0x9497d9[_0x384165(0x3e9)]===_0x5396e0))['filter'](_0x30fc4b=>!!_0x30fc4b);return{'config':_0x3164e8,'result':{'actions':_0x337089,'error':_0x4522c8['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x49ee45=_0x1f558c,_0x7292b9,_0x27d3aa;const _0x32c3b0=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](Ni),_0x8e9f15=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](q);return(_0x27d3aa=(_0x7292b9=_0x8e9f15==null?void 0x0:_0x8e9f15['authzUrl'])!=null?_0x7292b9:_0x32c3b0)!=null?_0x27d3aa:Dr;}async[_0x1f558c(0x17d)](_0x2b9e33){var _0x21b4fb=_0x1f558c;const _0x5c5572=this[_0x21b4fb(0x1ce)]()+'/'+_0x2b9e33[_0x21b4fb(0x19a)]+_0x21b4fb(0x3c3);return(await this[_0x21b4fb(0x2d4)]['post'](_0x5c5572,{'body':_0x2b9e33}))['body'][_0x21b4fb(0x3a9)]||'';}async[_0x1f558c(0x13a)](_0x1a77e1){var _0x33c2dc=_0x1f558c;const _0x1bbb92=this[_0x33c2dc(0x1ce)]()+_0x33c2dc(0x1a3);return(await this['_HTTPService'][_0x33c2dc(0x268)](_0x1bbb92,{'body':_0x1a77e1}))['body'][_0x33c2dc(0x2b9)];}async[_0x1f558c(0x1fc)](_0x1fc7d6){var _0x54d130=_0x1f558c;const _0x27fe56=this['_getAPIPrefixPath']()+'/'+_0x1fc7d6[_0x54d130(0x19a)]+_0x54d130(0x3da)+_0x1fc7d6['objectID'];await this['_HTTPService']['put'](_0x27fe56,{'body':_0x1fc7d6});}async[_0x1f558c(0x256)](_0xd5c1b9){var _0x1d132b=_0x1f558c;const _0x10c31a=this['_getAPIPrefixPath']()+'/'+_0xd5c1b9[_0x1d132b(0x19a)]+'/object/'+_0xd5c1b9['objectID']+'/allowed';return(await this[_0x1d132b(0x2d4)]['post'](_0x10c31a,{'body':_0xd5c1b9}))[_0x1d132b(0x2ac)][_0x1d132b(0x2f8)];}async[_0x1f558c(0x1e0)](_0x4ca765){var _0x24e5eb=_0x1f558c;const _0x9cbc3f=this[_0x24e5eb(0x1ce)]()+_0x24e5eb(0x1db);return(await this['_HTTPService'][_0x24e5eb(0x268)](_0x9cbc3f,{'body':{'requests':_0x4ca765}}))['body'][_0x24e5eb(0x1c3)];}async[_0x1f558c(0x411)](_0x2d69bd){var _0x4a7a1a=_0x1f558c;const _0x5cbaca=this[_0x4a7a1a(0x1ce)]()+'/'+_0x2d69bd[_0x4a7a1a(0x19a)]+_0x4a7a1a(0x18a),_0x20f275=await this[_0x4a7a1a(0x2d4)][_0x4a7a1a(0x268)](_0x5cbaca,{'body':_0x2d69bd});return{'roles':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x1e8)],'actions':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x2f8)]};}async[_0x1f558c(0x40f)](_0x702d6c){var _0x4fe3ad=_0x1f558c;const _0x3d7273=this['_getAPIPrefixPath']()+_0x4fe3ad(0x32a);await this[_0x4fe3ad(0x2d4)]['delete'](_0x3d7273,{'params':{'collaboratorID':_0x702d6c[_0x4fe3ad(0x166)],'objectID':_0x702d6c[_0x4fe3ad(0x3a9)],'unitID':_0x702d6c[_0x4fe3ad(0x3e0)]}});}async[_0x1f558c(0x3a1)](_0x9ff1a4){var _0x1c5fb3=_0x1f558c;const _0x2e81c3=this[_0x1c5fb3(0x1ce)]()+_0x1c5fb3(0x32a);await this[_0x1c5fb3(0x2d4)][_0x1c5fb3(0x326)](_0x2e81c3,{'body':_0x9ff1a4});}async[_0x1f558c(0x2f1)](_0x579f3a){var _0x21add4=_0x1f558c;const _0x5b890d=this[_0x21add4(0x1ce)]()+_0x21add4(0x32a);await this[_0x21add4(0x2d4)]['post'](_0x5b890d,{'body':_0x579f3a});}async['listCollaborators'](_0x3c600b){var _0x2720f2=_0x1f558c;const _0x3ad0bf=this[_0x2720f2(0x1ce)]()+_0x2720f2(0x32a);return(await this['_HTTPService'][_0x2720f2(0x1e3)](_0x3ad0bf,{'params':{'objectID':_0x3c600b[_0x2720f2(0x3a9)],'unitID':_0x3c600b[_0x2720f2(0x3e0)]}}))[_0x2720f2(0x2ac)][_0x2720f2(0x181)];}async[_0x1f558c(0x162)](_0x3ecf79){var _0x7f9ab9=_0x1f558c;const _0x4d5516=this['_getAPIPrefixPath']()+_0x7f9ab9(0x32a);await this[_0x7f9ab9(0x2d4)][_0x7f9ab9(0x154)](_0x4d5516,{'body':_0x3ecf79});}};bt=Nr([Jt(0x0,_0x5b2811(_0x5b9922)),Jt(0x1,_0x5b2811(_0x4ea54a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2c5a98){var _0x4b9bbf=_0x1f558c;return _0x2c5a98&&_0x2c5a98[_0x4b9bbf(0x1f6)]&&Object[_0x4b9bbf(0x36a)][_0x4b9bbf(0x1fb)]['call'](_0x2c5a98,_0x4b9bbf(0x20a))?_0x2c5a98[_0x4b9bbf(0x20a)]:_0x2c5a98;}var Ge={'exports':{}};function Pr(_0x1bb6e1){var _0x5a5a31=_0x1f558c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1bb6e1+_0x5a5a31(0x259));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x386154,_0x1efd7e){(function(_0x7735ee,_0x5cfd20){var _0x5af178=_0x4725;_0x386154[_0x5af178(0x24b)]=_0x5cfd20();}(wr,function(){var _0x199ca3=_0x199ca3||function(_0x9b3f8,_0x11961c){var _0xd5443d=_0x4725,_0x1fcd98;if(typeof window<'u'&&window['crypto']&&(_0x1fcd98=window[_0xd5443d(0x3f0)]),typeof self<'u'&&self['crypto']&&(_0x1fcd98=self[_0xd5443d(0x3f0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1fcd98=globalThis[_0xd5443d(0x3f0)]),!_0x1fcd98&&typeof window<'u'&&window[_0xd5443d(0x2d3)]&&(_0x1fcd98=window[_0xd5443d(0x2d3)]),!_0x1fcd98&&typeof pt<'u'&&pt[_0xd5443d(0x3f0)]&&(_0x1fcd98=pt['crypto']),!_0x1fcd98&&typeof Pr==_0xd5443d(0x1dd))try{_0x1fcd98=require(_0xd5443d(0x3f0));}catch{}var _0x401748=function(){var _0x326496=_0xd5443d;if(_0x1fcd98){if(typeof _0x1fcd98[_0x326496(0x3ac)]==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x3ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fcd98['randomBytes']==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x195)](0x4)[_0x326496(0x400)]();}catch{}}throw new Error(_0x326496(0x3c9));},_0x550fc2=Object['create']||(function(){function _0x33b4f3(){}return function(_0x1879a9){var _0x4d1c28;return _0x33b4f3['prototype']=_0x1879a9,_0x4d1c28=new _0x33b4f3(),_0x33b4f3['prototype']=null,_0x4d1c28;};}()),_0x4b649e={},_0x178801=_0x4b649e[_0xd5443d(0x244)]={},_0x178658=_0x178801['Base']=(function(){return{'extend':function(_0x224c78){var _0x30a390=_0x4725,_0x4508ff=_0x550fc2(this);return _0x224c78&&_0x4508ff[_0x30a390(0x3cc)](_0x224c78),(!_0x4508ff[_0x30a390(0x1fb)]('init')||this['init']===_0x4508ff['init'])&&(_0x4508ff[_0x30a390(0x2e7)]=function(){var _0x545ac3=_0x30a390;_0x4508ff[_0x545ac3(0x3d0)][_0x545ac3(0x2e7)][_0x545ac3(0x1fa)](this,arguments);}),_0x4508ff[_0x30a390(0x2e7)][_0x30a390(0x36a)]=_0x4508ff,_0x4508ff[_0x30a390(0x3d0)]=this,_0x4508ff;},'create':function(){var _0x4441df=_0x4725,_0x39fbb9=this['extend']();return _0x39fbb9['init'][_0x4441df(0x1fa)](_0x39fbb9,arguments),_0x39fbb9;},'init':function(){},'mixIn':function(_0x5a114f){var _0xdf588a=_0x4725;for(var _0x1e52f2 in _0x5a114f)_0x5a114f[_0xdf588a(0x1fb)](_0x1e52f2)&&(this[_0x1e52f2]=_0x5a114f[_0x1e52f2]);_0x5a114f[_0xdf588a(0x1fb)](_0xdf588a(0x28c))&&(this[_0xdf588a(0x28c)]=_0x5a114f[_0xdf588a(0x28c)]);},'clone':function(){var _0x1c48fa=_0x4725;return this[_0x1c48fa(0x2e7)][_0x1c48fa(0x36a)][_0x1c48fa(0x22f)](this);}};}()),_0x11b207=_0x178801[_0xd5443d(0x3f3)]=_0x178658['extend']({'init':function(_0x3f9b1f,_0x2168ca){var _0x5b85c1=_0xd5443d;_0x3f9b1f=this[_0x5b85c1(0x287)]=_0x3f9b1f||[],_0x2168ca!=_0x11961c?this[_0x5b85c1(0x1bf)]=_0x2168ca:this[_0x5b85c1(0x1bf)]=_0x3f9b1f[_0x5b85c1(0x158)]*0x4;},'toString':function(_0x29e3a6){var _0x792981=_0xd5443d;return(_0x29e3a6||_0x56255b)[_0x792981(0x283)](this);},'concat':function(_0x21eac8){var _0x41ac1d=_0xd5443d,_0x1d6f99=this['words'],_0x39a771=_0x21eac8['words'],_0x5d7867=this[_0x41ac1d(0x1bf)],_0x4d2869=_0x21eac8['sigBytes'];if(this[_0x41ac1d(0x1df)](),_0x5d7867%0x4)for(var _0x1b747e=0x0;_0x1b747e<_0x4d2869;_0x1b747e++){var _0x26362f=_0x39a771[_0x1b747e>>>0x2]>>>0x18-_0x1b747e%0x4*0x8&0xff;_0x1d6f99[_0x5d7867+_0x1b747e>>>0x2]|=_0x26362f<<0x18-(_0x5d7867+_0x1b747e)%0x4*0x8;}else{for(var _0x503025=0x0;_0x503025<_0x4d2869;_0x503025+=0x4)_0x1d6f99[_0x5d7867+_0x503025>>>0x2]=_0x39a771[_0x503025>>>0x2];}return this[_0x41ac1d(0x1bf)]+=_0x4d2869,this;},'clamp':function(){var _0x6a5cb5=_0xd5443d,_0x4e2383=this[_0x6a5cb5(0x287)],_0x111254=this[_0x6a5cb5(0x1bf)];_0x4e2383[_0x111254>>>0x2]&=0xffffffff<<0x20-_0x111254%0x4*0x8,_0x4e2383[_0x6a5cb5(0x158)]=_0x9b3f8[_0x6a5cb5(0x35b)](_0x111254/0x4);},'clone':function(){var _0x18faef=_0xd5443d,_0x48b758=_0x178658[_0x18faef(0x395)][_0x18faef(0x178)](this);return _0x48b758['words']=this['words']['slice'](0x0),_0x48b758;},'random':function(_0x367664){var _0x4ba093=_0xd5443d;for(var _0x23ce07=[],_0xe216fc=0x0;_0xe216fc<_0x367664;_0xe216fc+=0x4)_0x23ce07[_0x4ba093(0x1eb)](_0x401748());return new _0x11b207[(_0x4ba093(0x2e7))](_0x23ce07,_0x367664);}}),_0x34dbda=_0x4b649e[_0xd5443d(0x349)]={},_0x56255b=_0x34dbda['Hex']={'stringify':function(_0x591005){var _0x28f065=_0xd5443d;for(var _0x1fc758=_0x591005[_0x28f065(0x287)],_0x37915a=_0x591005[_0x28f065(0x1bf)],_0x4e4b73=[],_0x3eff98=0x0;_0x3eff98<_0x37915a;_0x3eff98++){var _0x21a49c=_0x1fc758[_0x3eff98>>>0x2]>>>0x18-_0x3eff98%0x4*0x8&0xff;_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c>>>0x4)[_0x28f065(0x28c)](0x10)),_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c&0xf)['toString'](0x10));}return _0x4e4b73[_0x28f065(0x1be)]('');},'parse':function(_0x39a9ad){var _0x34c90f=_0xd5443d;for(var _0x21ac4a=_0x39a9ad[_0x34c90f(0x158)],_0x4c115d=[],_0x1d7eaf=0x0;_0x1d7eaf<_0x21ac4a;_0x1d7eaf+=0x2)_0x4c115d[_0x1d7eaf>>>0x3]|=parseInt(_0x39a9ad[_0x34c90f(0x217)](_0x1d7eaf,0x2),0x10)<<0x18-_0x1d7eaf%0x8*0x4;return new _0x11b207[(_0x34c90f(0x2e7))](_0x4c115d,_0x21ac4a/0x2);}},_0x2c8a9f=_0x34dbda['Latin1']={'stringify':function(_0x11534a){var _0x29a41c=_0xd5443d;for(var _0x19d2da=_0x11534a[_0x29a41c(0x287)],_0xdb4870=_0x11534a[_0x29a41c(0x1bf)],_0x33bebc=[],_0xbb115e=0x0;_0xbb115e<_0xdb4870;_0xbb115e++){var _0x25f710=_0x19d2da[_0xbb115e>>>0x2]>>>0x18-_0xbb115e%0x4*0x8&0xff;_0x33bebc[_0x29a41c(0x1eb)](String[_0x29a41c(0x37f)](_0x25f710));}return _0x33bebc[_0x29a41c(0x1be)]('');},'parse':function(_0x40f157){var _0x41ac8a=_0xd5443d;for(var _0x527c98=_0x40f157['length'],_0x4e8dd8=[],_0x36f6c5=0x0;_0x36f6c5<_0x527c98;_0x36f6c5++)_0x4e8dd8[_0x36f6c5>>>0x2]|=(_0x40f157[_0x41ac8a(0x406)](_0x36f6c5)&0xff)<<0x18-_0x36f6c5%0x4*0x8;return new _0x11b207[(_0x41ac8a(0x2e7))](_0x4e8dd8,_0x527c98);}},_0x4d89a8=_0x34dbda[_0xd5443d(0x39c)]={'stringify':function(_0x310b01){var _0x37ca7f=_0xd5443d;try{return decodeURIComponent(escape(_0x2c8a9f[_0x37ca7f(0x283)](_0x310b01)));}catch{throw new Error(_0x37ca7f(0x31a));}},'parse':function(_0x5486aa){return _0x2c8a9f['parse'](unescape(encodeURIComponent(_0x5486aa)));}},_0x52116d=_0x178801[_0xd5443d(0x3e2)]=_0x178658[_0xd5443d(0x22f)]({'reset':function(){var _0x4dabbd=_0xd5443d;this['_data']=new _0x11b207[(_0x4dabbd(0x2e7))](),this[_0x4dabbd(0x2ba)]=0x0;},'_append':function(_0x197b68){var _0x36395c=_0xd5443d;typeof _0x197b68=='string'&&(_0x197b68=_0x4d89a8[_0x36395c(0x234)](_0x197b68)),this[_0x36395c(0x2ca)][_0x36395c(0x147)](_0x197b68),this[_0x36395c(0x2ba)]+=_0x197b68['sigBytes'];},'_process':function(_0x3e568c){var _0x26df41=_0xd5443d,_0x181577,_0x46c75b=this['_data'],_0x4718d4=_0x46c75b[_0x26df41(0x287)],_0x78f0df=_0x46c75b[_0x26df41(0x1bf)],_0x59184c=this[_0x26df41(0x3b6)],_0x2bbd39=_0x59184c*0x4,_0x4c0f63=_0x78f0df/_0x2bbd39;_0x3e568c?_0x4c0f63=_0x9b3f8[_0x26df41(0x35b)](_0x4c0f63):_0x4c0f63=_0x9b3f8[_0x26df41(0x3de)]((_0x4c0f63|0x0)-this[_0x26df41(0x2fb)],0x0);var _0x376057=_0x4c0f63*_0x59184c,_0xd89c26=_0x9b3f8[_0x26df41(0x420)](_0x376057*0x4,_0x78f0df);if(_0x376057){for(var _0xfb7c72=0x0;_0xfb7c72<_0x376057;_0xfb7c72+=_0x59184c)this[_0x26df41(0x33a)](_0x4718d4,_0xfb7c72);_0x181577=_0x4718d4[_0x26df41(0x252)](0x0,_0x376057),_0x46c75b['sigBytes']-=_0xd89c26;}return new _0x11b207[(_0x26df41(0x2e7))](_0x181577,_0xd89c26);},'clone':function(){var _0x27d281=_0xd5443d,_0x304030=_0x178658['clone'][_0x27d281(0x178)](this);return _0x304030[_0x27d281(0x2ca)]=this['_data']['clone'](),_0x304030;},'_minBufferSize':0x0});_0x178801[_0xd5443d(0x1c6)]=_0x52116d[_0xd5443d(0x22f)]({'cfg':_0x178658['extend'](),'init':function(_0x1f02cf){var _0x1e9eff=_0xd5443d;this[_0x1e9eff(0x236)]=this['cfg'][_0x1e9eff(0x22f)](_0x1f02cf),this['reset']();},'reset':function(){var _0x325479=_0xd5443d;_0x52116d[_0x325479(0x43a)]['call'](this),this[_0x325479(0x3c0)]();},'update':function(_0x508950){var _0x2ff3dc=_0xd5443d;return this[_0x2ff3dc(0x203)](_0x508950),this[_0x2ff3dc(0x2dc)](),this;},'finalize':function(_0x5b090b){var _0x69ea75=_0xd5443d;_0x5b090b&&this[_0x69ea75(0x203)](_0x5b090b);var _0x25204c=this[_0x69ea75(0x30e)]();return _0x25204c;},'blockSize':0x10,'_createHelper':function(_0xcfe9c8){return function(_0x2df44a,_0x276913){var _0x406a3b=_0x4725;return new _0xcfe9c8[(_0x406a3b(0x2e7))](_0x276913)[_0x406a3b(0x327)](_0x2df44a);};},'_createHmacHelper':function(_0x307f98){return function(_0x194840,_0x3924a2){var _0x5bd76c=_0x4725;return new _0x4ec396[(_0x5bd76c(0x322))]['init'](_0x307f98,_0x3924a2)[_0x5bd76c(0x327)](_0x194840);};}});var _0x4ec396=_0x4b649e[_0xd5443d(0x135)]={};return _0x4b649e;}(Math);return _0x199ca3;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x1f558c(0x24b)],Zt;function Di(){var _0x2006f8=_0x1f558c;return Zt||(Zt=0x1,function(_0x2f8b80,_0x1fc25e){(function(_0x581189,_0x10400c){var _0x1d4961=_0x4725;_0x2f8b80[_0x1d4961(0x24b)]=_0x10400c(ie());}(Ur,function(_0x49d68d){var _0x55a5a7=_0x4725;return(function(){var _0x39b325=_0x4725,_0x2d0101=_0x49d68d,_0x16225e=_0x2d0101[_0x39b325(0x244)],_0x5eae84=_0x16225e[_0x39b325(0x3f3)],_0x1d9feb=_0x2d0101[_0x39b325(0x349)];_0x1d9feb['Base64']={'stringify':function(_0x1a9c50){var _0x284bec=_0x39b325,_0xba8b4b=_0x1a9c50[_0x284bec(0x287)],_0x4e08e8=_0x1a9c50[_0x284bec(0x1bf)],_0x4e5760=this[_0x284bec(0x2a3)];_0x1a9c50[_0x284bec(0x1df)]();for(var _0x127d43=[],_0x3eb063=0x0;_0x3eb063<_0x4e08e8;_0x3eb063+=0x3)for(var _0x1dfdf9=_0xba8b4b[_0x3eb063>>>0x2]>>>0x18-_0x3eb063%0x4*0x8&0xff,_0x1621d6=_0xba8b4b[_0x3eb063+0x1>>>0x2]>>>0x18-(_0x3eb063+0x1)%0x4*0x8&0xff,_0x4a7ec3=_0xba8b4b[_0x3eb063+0x2>>>0x2]>>>0x18-(_0x3eb063+0x2)%0x4*0x8&0xff,_0x5c81cc=_0x1dfdf9<<0x10|_0x1621d6<<0x8|_0x4a7ec3,_0x5ed90a=0x0;_0x5ed90a<0x4&&_0x3eb063+_0x5ed90a*0.75<_0x4e08e8;_0x5ed90a++)_0x127d43[_0x284bec(0x1eb)](_0x4e5760['charAt'](_0x5c81cc>>>0x6*(0x3-_0x5ed90a)&0x3f));var _0x2ed03a=_0x4e5760[_0x284bec(0x23e)](0x40);if(_0x2ed03a){for(;_0x127d43[_0x284bec(0x158)]%0x4;)_0x127d43[_0x284bec(0x1eb)](_0x2ed03a);}return _0x127d43[_0x284bec(0x1be)]('');},'parse':function(_0x4f3c8f){var _0x11cde2=_0x39b325,_0x1a6e64=_0x4f3c8f[_0x11cde2(0x158)],_0x3f2deb=this['_map'],_0x14375b=this[_0x11cde2(0x15c)];if(!_0x14375b){_0x14375b=this['_reverseMap']=[];for(var _0xdf6c7e=0x0;_0xdf6c7e<_0x3f2deb['length'];_0xdf6c7e++)_0x14375b[_0x3f2deb[_0x11cde2(0x406)](_0xdf6c7e)]=_0xdf6c7e;}var _0x491d4e=_0x3f2deb[_0x11cde2(0x23e)](0x40);if(_0x491d4e){var _0x20be19=_0x4f3c8f[_0x11cde2(0x431)](_0x491d4e);_0x20be19!==-0x1&&(_0x1a6e64=_0x20be19);}return _0x58bd0e(_0x4f3c8f,_0x1a6e64,_0x14375b);},'_map':_0x39b325(0x28e)};function _0x58bd0e(_0xb32d85,_0x2ae40f,_0x2ad3fa){var _0x48aba3=_0x39b325;for(var _0x552882=[],_0x56c44c=0x0,_0x4f149c=0x0;_0x4f149c<_0x2ae40f;_0x4f149c++)if(_0x4f149c%0x4){var _0x1691e6=_0x2ad3fa[_0xb32d85[_0x48aba3(0x406)](_0x4f149c-0x1)]<<_0x4f149c%0x4*0x2,_0xd02c0a=_0x2ad3fa[_0xb32d85['charCodeAt'](_0x4f149c)]>>>0x6-_0x4f149c%0x4*0x2,_0x2447bf=_0x1691e6|_0xd02c0a;_0x552882[_0x56c44c>>>0x2]|=_0x2447bf<<0x18-_0x56c44c%0x4*0x8,_0x56c44c++;}return _0x5eae84[_0x48aba3(0x17d)](_0x552882,_0x56c44c);}}()),_0x49d68d[_0x55a5a7(0x349)][_0x55a5a7(0x235)];}));}(We)),We[_0x2006f8(0x24b)];}var Ke={'exports':{}},Ar=Ke[_0x1f558c(0x24b)],Qt;function xr(){var _0x5e706f=_0x1f558c;return Qt||(Qt=0x1,function(_0xb7e99c,_0x5a1f41){(function(_0x38c4b7,_0x58c539){var _0x19be49=_0x4725;_0xb7e99c[_0x19be49(0x24b)]=_0x58c539(ie());}(Ar,function(_0x26c65b){var _0x40ea53=_0x4725;return function(_0x34044d){var _0x2b4789=_0x4725,_0x34e599=_0x26c65b,_0x4b9df0=_0x34e599[_0x2b4789(0x244)],_0x7746c3=_0x4b9df0[_0x2b4789(0x3f3)],_0xf6109a=_0x4b9df0[_0x2b4789(0x1c6)],_0x21fbb1=_0x34e599['algo'],_0x66806c=[];(function(){var _0x30e822=_0x2b4789;for(var _0x40cec8=0x0;_0x40cec8<0x40;_0x40cec8++)_0x66806c[_0x40cec8]=_0x34044d[_0x30e822(0x2c2)](_0x34044d['sin'](_0x40cec8+0x1))*0x100000000|0x0;}());var _0x1267cc=_0x21fbb1[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x22f)]({'_doReset':function(){var _0xc47b44=_0x2b4789;this['_hash']=new _0x7746c3[(_0xc47b44(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x77f11d,_0x38fb01){var _0x210da5=_0x2b4789;for(var _0x57c6af=0x0;_0x57c6af<0x10;_0x57c6af++){var _0x2c5314=_0x38fb01+_0x57c6af,_0x5d48c6=_0x77f11d[_0x2c5314];_0x77f11d[_0x2c5314]=(_0x5d48c6<<0x8|_0x5d48c6>>>0x18)&0xff00ff|(_0x5d48c6<<0x18|_0x5d48c6>>>0x8)&0xff00ff00;}var _0x3bb696=this['_hash'][_0x210da5(0x287)],_0x21dea3=_0x77f11d[_0x38fb01+0x0],_0x5bb799=_0x77f11d[_0x38fb01+0x1],_0x2fd8be=_0x77f11d[_0x38fb01+0x2],_0x4d5063=_0x77f11d[_0x38fb01+0x3],_0x47fa74=_0x77f11d[_0x38fb01+0x4],_0x500a33=_0x77f11d[_0x38fb01+0x5],_0x4ac336=_0x77f11d[_0x38fb01+0x6],_0x149fe7=_0x77f11d[_0x38fb01+0x7],_0x1b3b85=_0x77f11d[_0x38fb01+0x8],_0xb64e7=_0x77f11d[_0x38fb01+0x9],_0x3a5517=_0x77f11d[_0x38fb01+0xa],_0x2d5815=_0x77f11d[_0x38fb01+0xb],_0xa11665=_0x77f11d[_0x38fb01+0xc],_0x489fcf=_0x77f11d[_0x38fb01+0xd],_0x5581d7=_0x77f11d[_0x38fb01+0xe],_0x325286=_0x77f11d[_0x38fb01+0xf],_0x8666f1=_0x3bb696[0x0],_0x4e06fd=_0x3bb696[0x1],_0x2f2443=_0x3bb696[0x2],_0xcb00bb=_0x3bb696[0x3];_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x7,_0x66806c[0x0]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5bb799,0xc,_0x66806c[0x1]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0x11,_0x66806c[0x2]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4d5063,0x16,_0x66806c[0x3]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x7,_0x66806c[0x4]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x500a33,0xc,_0x66806c[0x5]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0x11,_0x66806c[0x6]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x149fe7,0x16,_0x66806c[0x7]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x7,_0x66806c[0x8]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xb64e7,0xc,_0x66806c[0x9]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0x11,_0x66806c[0xa]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2d5815,0x16,_0x66806c[0xb]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x7,_0x66806c[0xc]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x489fcf,0xc,_0x66806c[0xd]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0x11,_0x66806c[0xe]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x325286,0x16,_0x66806c[0xf]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x5,_0x66806c[0x10]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4ac336,0x9,_0x66806c[0x11]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0xe,_0x66806c[0x12]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x21dea3,0x14,_0x66806c[0x13]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x5,_0x66806c[0x14]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x3a5517,0x9,_0x66806c[0x15]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0xe,_0x66806c[0x16]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x47fa74,0x14,_0x66806c[0x17]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x5,_0x66806c[0x18]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5581d7,0x9,_0x66806c[0x19]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0xe,_0x66806c[0x1a]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x1b3b85,0x14,_0x66806c[0x1b]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x5,_0x66806c[0x1c]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2fd8be,0x9,_0x66806c[0x1d]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0xe,_0x66806c[0x1e]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xa11665,0x14,_0x66806c[0x1f]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x4,_0x66806c[0x20]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x1b3b85,0xb,_0x66806c[0x21]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0x10,_0x66806c[0x22]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5581d7,0x17,_0x66806c[0x23]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x4,_0x66806c[0x24]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x47fa74,0xb,_0x66806c[0x25]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0x10,_0x66806c[0x26]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x3a5517,0x17,_0x66806c[0x27]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x4,_0x66806c[0x28]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x21dea3,0xb,_0x66806c[0x29]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0x10,_0x66806c[0x2a]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4ac336,0x17,_0x66806c[0x2b]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x4,_0x66806c[0x2c]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xa11665,0xb,_0x66806c[0x2d]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0x10,_0x66806c[0x2e]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2fd8be,0x17,_0x66806c[0x2f]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x6,_0x66806c[0x30]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x149fe7,0xa,_0x66806c[0x31]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0xf,_0x66806c[0x32]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x500a33,0x15,_0x66806c[0x33]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x6,_0x66806c[0x34]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4d5063,0xa,_0x66806c[0x35]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0xf,_0x66806c[0x36]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5bb799,0x15,_0x66806c[0x37]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x6,_0x66806c[0x38]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x325286,0xa,_0x66806c[0x39]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0xf,_0x66806c[0x3a]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x489fcf,0x15,_0x66806c[0x3b]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x6,_0x66806c[0x3c]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2d5815,0xa,_0x66806c[0x3d]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0xf,_0x66806c[0x3e]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xb64e7,0x15,_0x66806c[0x3f]),_0x3bb696[0x0]=_0x3bb696[0x0]+_0x8666f1|0x0,_0x3bb696[0x1]=_0x3bb696[0x1]+_0x4e06fd|0x0,_0x3bb696[0x2]=_0x3bb696[0x2]+_0x2f2443|0x0,_0x3bb696[0x3]=_0x3bb696[0x3]+_0xcb00bb|0x0;},'_doFinalize':function(){var _0x2f84c8=_0x2b4789,_0x5d68e8=this[_0x2f84c8(0x2ca)],_0x11d792=_0x5d68e8['words'],_0x26cc3d=this['_nDataBytes']*0x8,_0x527695=_0x5d68e8[_0x2f84c8(0x1bf)]*0x8;_0x11d792[_0x527695>>>0x5]|=0x80<<0x18-_0x527695%0x20;var _0x162c3e=_0x34044d['floor'](_0x26cc3d/0x100000000),_0x2cc930=_0x26cc3d;_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xf]=(_0x162c3e<<0x8|_0x162c3e>>>0x18)&0xff00ff|(_0x162c3e<<0x18|_0x162c3e>>>0x8)&0xff00ff00,_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xe]=(_0x2cc930<<0x8|_0x2cc930>>>0x18)&0xff00ff|(_0x2cc930<<0x18|_0x2cc930>>>0x8)&0xff00ff00,_0x5d68e8[_0x2f84c8(0x1bf)]=(_0x11d792[_0x2f84c8(0x158)]+0x1)*0x4,this[_0x2f84c8(0x2dc)]();for(var _0x5d7e38=this['_hash'],_0x5c6eec=_0x5d7e38[_0x2f84c8(0x287)],_0xd81d92=0x0;_0xd81d92<0x4;_0xd81d92++){var _0x82575=_0x5c6eec[_0xd81d92];_0x5c6eec[_0xd81d92]=(_0x82575<<0x8|_0x82575>>>0x18)&0xff00ff|(_0x82575<<0x18|_0x82575>>>0x8)&0xff00ff00;}return _0x5d7e38;},'clone':function(){var _0x561c05=_0x2b4789,_0x36ee23=_0xf6109a[_0x561c05(0x395)]['call'](this);return _0x36ee23[_0x561c05(0x276)]=this[_0x561c05(0x276)][_0x561c05(0x395)](),_0x36ee23;}});function _0x3d666c(_0x381b11,_0x5f5624,_0x1356a3,_0x1cf1ec,_0x3c55aa,_0x411ca3,_0x5451ab){var _0x52d927=_0x381b11+(_0x5f5624&_0x1356a3|~_0x5f5624&_0x1cf1ec)+_0x3c55aa+_0x5451ab;return(_0x52d927<<_0x411ca3|_0x52d927>>>0x20-_0x411ca3)+_0x5f5624;}function _0x2fcf24(_0xd829b8,_0x54df79,_0x351db3,_0x41bc24,_0x50408c,_0x2e46b7,_0x54a61e){var _0x38ab29=_0xd829b8+(_0x54df79&_0x41bc24|_0x351db3&~_0x41bc24)+_0x50408c+_0x54a61e;return(_0x38ab29<<_0x2e46b7|_0x38ab29>>>0x20-_0x2e46b7)+_0x54df79;}function _0x59d49b(_0x368f3d,_0x1068a6,_0x11d669,_0x8ca0f,_0x15dd9d,_0x640d6c,_0x386df5){var _0x330b66=_0x368f3d+(_0x1068a6^_0x11d669^_0x8ca0f)+_0x15dd9d+_0x386df5;return(_0x330b66<<_0x640d6c|_0x330b66>>>0x20-_0x640d6c)+_0x1068a6;}function _0x455b83(_0x188c09,_0x304b49,_0x5d29a1,_0x4736f0,_0x44c367,_0x4a9f81,_0x280328){var _0x792a5=_0x188c09+(_0x5d29a1^(_0x304b49|~_0x4736f0))+_0x44c367+_0x280328;return(_0x792a5<<_0x4a9f81|_0x792a5>>>0x20-_0x4a9f81)+_0x304b49;}_0x34e599[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x36e)](_0x1267cc),_0x34e599[_0x2b4789(0x1e9)]=_0xf6109a[_0x2b4789(0x296)](_0x1267cc);}(Math),_0x26c65b[_0x40ea53(0x416)];}));}(Ke)),Ke[_0x5e706f(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x1f558c(0x24b)],ei;function Mr(){var _0xc6b48=_0x1f558c;return ei||(ei=0x1,function(_0x4c8e19,_0xf0135d){(function(_0x3face4,_0x3d49b0){var _0x1795f6=_0x4725;_0x4c8e19[_0x1795f6(0x24b)]=_0x3d49b0(ie());}(Lr,function(_0x28db15){var _0x47f2b2=_0x4725;return(function(){var _0x33d6d4=_0x4725,_0x1dbc39=_0x28db15,_0x3ae3c2=_0x1dbc39[_0x33d6d4(0x244)],_0x12b31b=_0x3ae3c2[_0x33d6d4(0x3f3)],_0xf1e8b2=_0x3ae3c2[_0x33d6d4(0x1c6)],_0x73bc9e=_0x1dbc39['algo'],_0x4c8162=[],_0x488e7d=_0x73bc9e[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x22f)]({'_doReset':function(){var _0x5781f3=_0x33d6d4;this['_hash']=new _0x12b31b[(_0x5781f3(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fa6e9,_0x46308b){var _0x368ae9=_0x33d6d4;for(var _0x4ae3bb=this[_0x368ae9(0x276)][_0x368ae9(0x287)],_0x188a17=_0x4ae3bb[0x0],_0x312baa=_0x4ae3bb[0x1],_0x30bf76=_0x4ae3bb[0x2],_0x3e8a26=_0x4ae3bb[0x3],_0x5d468e=_0x4ae3bb[0x4],_0x3ce10a=0x0;_0x3ce10a<0x50;_0x3ce10a++){if(_0x3ce10a<0x10)_0x4c8162[_0x3ce10a]=_0x3fa6e9[_0x46308b+_0x3ce10a]|0x0;else{var _0x3a1184=_0x4c8162[_0x3ce10a-0x3]^_0x4c8162[_0x3ce10a-0x8]^_0x4c8162[_0x3ce10a-0xe]^_0x4c8162[_0x3ce10a-0x10];_0x4c8162[_0x3ce10a]=_0x3a1184<<0x1|_0x3a1184>>>0x1f;}var _0xd8c0a1=(_0x188a17<<0x5|_0x188a17>>>0x1b)+_0x5d468e+_0x4c8162[_0x3ce10a];_0x3ce10a<0x14?_0xd8c0a1+=(_0x312baa&_0x30bf76|~_0x312baa&_0x3e8a26)+0x5a827999:_0x3ce10a<0x28?_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)+0x6ed9eba1:_0x3ce10a<0x3c?_0xd8c0a1+=(_0x312baa&_0x30bf76|_0x312baa&_0x3e8a26|_0x30bf76&_0x3e8a26)-0x70e44324:_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)-0x359d3e2a,_0x5d468e=_0x3e8a26,_0x3e8a26=_0x30bf76,_0x30bf76=_0x312baa<<0x1e|_0x312baa>>>0x2,_0x312baa=_0x188a17,_0x188a17=_0xd8c0a1;}_0x4ae3bb[0x0]=_0x4ae3bb[0x0]+_0x188a17|0x0,_0x4ae3bb[0x1]=_0x4ae3bb[0x1]+_0x312baa|0x0,_0x4ae3bb[0x2]=_0x4ae3bb[0x2]+_0x30bf76|0x0,_0x4ae3bb[0x3]=_0x4ae3bb[0x3]+_0x3e8a26|0x0,_0x4ae3bb[0x4]=_0x4ae3bb[0x4]+_0x5d468e|0x0;},'_doFinalize':function(){var _0x4cfdda=_0x33d6d4,_0xeecb07=this[_0x4cfdda(0x2ca)],_0x54ec78=_0xeecb07['words'],_0x1d05a2=this[_0x4cfdda(0x2ba)]*0x8,_0x5cf316=_0xeecb07[_0x4cfdda(0x1bf)]*0x8;return _0x54ec78[_0x5cf316>>>0x5]|=0x80<<0x18-_0x5cf316%0x20,_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xe]=Math[_0x4cfdda(0x183)](_0x1d05a2/0x100000000),_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xf]=_0x1d05a2,_0xeecb07[_0x4cfdda(0x1bf)]=_0x54ec78[_0x4cfdda(0x158)]*0x4,this['_process'](),this[_0x4cfdda(0x276)];},'clone':function(){var _0x154189=_0x33d6d4,_0x32e28a=_0xf1e8b2['clone']['call'](this);return _0x32e28a[_0x154189(0x276)]=this[_0x154189(0x276)][_0x154189(0x395)](),_0x32e28a;}});_0x1dbc39[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x36e)](_0x488e7d),_0x1dbc39[_0x33d6d4(0x363)]=_0xf1e8b2['_createHmacHelper'](_0x488e7d);}()),_0x28db15[_0x47f2b2(0x38f)];}));}(qe)),qe[_0xc6b48(0x24b)];}var ze={'exports':{}},$r=ze[_0x1f558c(0x24b)],ti;function Hr(){return ti||(ti=0x1,function(_0x4ae1cd,_0x534a77){(function(_0x463b81,_0x283319){_0x4ae1cd['exports']=_0x283319(ie());}($r,function(_0x169224){(function(){var _0x5d27b2=_0x4725,_0x48814d=_0x169224,_0x4243cd=_0x48814d[_0x5d27b2(0x244)],_0x3fbb41=_0x4243cd[_0x5d27b2(0x238)],_0x1014c1=_0x48814d[_0x5d27b2(0x349)],_0x2bb41a=_0x1014c1[_0x5d27b2(0x39c)],_0x9d0752=_0x48814d[_0x5d27b2(0x135)];_0x9d0752[_0x5d27b2(0x322)]=_0x3fbb41[_0x5d27b2(0x22f)]({'init':function(_0x5730a9,_0x254192){var _0x1ada4d=_0x5d27b2;_0x5730a9=this[_0x1ada4d(0x40c)]=new _0x5730a9['init'](),typeof _0x254192==_0x1ada4d(0x3ee)&&(_0x254192=_0x2bb41a[_0x1ada4d(0x234)](_0x254192));var _0x301cbf=_0x5730a9[_0x1ada4d(0x3b6)],_0x2ed8d3=_0x301cbf*0x4;_0x254192[_0x1ada4d(0x1bf)]>_0x2ed8d3&&(_0x254192=_0x5730a9['finalize'](_0x254192)),_0x254192[_0x1ada4d(0x1df)]();for(var _0x2a3c52=this[_0x1ada4d(0x342)]=_0x254192[_0x1ada4d(0x395)](),_0x5b55ca=this['_iKey']=_0x254192[_0x1ada4d(0x395)](),_0x10db9d=_0x2a3c52[_0x1ada4d(0x287)],_0x16bee5=_0x5b55ca[_0x1ada4d(0x287)],_0x4c5320=0x0;_0x4c5320<_0x301cbf;_0x4c5320++)_0x10db9d[_0x4c5320]^=0x5c5c5c5c,_0x16bee5[_0x4c5320]^=0x36363636;_0x2a3c52['sigBytes']=_0x5b55ca[_0x1ada4d(0x1bf)]=_0x2ed8d3,this[_0x1ada4d(0x43a)]();},'reset':function(){var _0x1cf0bc=_0x5d27b2,_0x1e4347=this['_hasher'];_0x1e4347[_0x1cf0bc(0x43a)](),_0x1e4347['update'](this[_0x1cf0bc(0x134)]);},'update':function(_0x5b627c){var _0x56ecb6=_0x5d27b2;return this[_0x56ecb6(0x40c)][_0x56ecb6(0x1fc)](_0x5b627c),this;},'finalize':function(_0x3a81e5){var _0x13ec2f=_0x5d27b2,_0x530e8c=this[_0x13ec2f(0x40c)],_0x20d78b=_0x530e8c[_0x13ec2f(0x327)](_0x3a81e5);_0x530e8c[_0x13ec2f(0x43a)]();var _0x24b476=_0x530e8c[_0x13ec2f(0x327)](this[_0x13ec2f(0x342)][_0x13ec2f(0x395)]()[_0x13ec2f(0x147)](_0x20d78b));return _0x24b476;}});}());}));}(ze)),ze['exports'];}var kr=Ye[_0x1f558c(0x24b)],ii;function Pi(){var _0xb8b628=_0x1f558c;return ii||(ii=0x1,function(_0x191d16,_0x2c51df){(function(_0x18b02f,_0x1f7166,_0x4a5e9d){var _0x3ba051=_0x4725;_0x191d16[_0x3ba051(0x24b)]=_0x1f7166(ie(),Mr(),Hr());}(kr,function(_0x51150e){var _0x1a5ffc=_0x4725;return(function(){var _0x82b45f=_0x4725,_0x104585=_0x51150e,_0x185e1a=_0x104585[_0x82b45f(0x244)],_0x30716e=_0x185e1a[_0x82b45f(0x238)],_0x2fd353=_0x185e1a[_0x82b45f(0x3f3)],_0x4289bf=_0x104585[_0x82b45f(0x135)],_0x46a857=_0x4289bf[_0x82b45f(0x416)],_0x405d5b=_0x4289bf[_0x82b45f(0x30a)]=_0x30716e[_0x82b45f(0x22f)]({'cfg':_0x30716e[_0x82b45f(0x22f)]({'keySize':0x80/0x20,'hasher':_0x46a857,'iterations':0x1}),'init':function(_0xe4e305){var _0x53ac42=_0x82b45f;this['cfg']=this[_0x53ac42(0x236)][_0x53ac42(0x22f)](_0xe4e305);},'compute':function(_0x3eef1d,_0x885fa){var _0x244f1b=_0x82b45f;for(var _0x4ba21e,_0x388c63=this[_0x244f1b(0x236)],_0x534eb9=_0x388c63[_0x244f1b(0x379)][_0x244f1b(0x17d)](),_0x468e01=_0x2fd353[_0x244f1b(0x17d)](),_0x4b1dbb=_0x468e01[_0x244f1b(0x287)],_0x48bed3=_0x388c63[_0x244f1b(0x314)],_0x119a8e=_0x388c63[_0x244f1b(0x194)];_0x4b1dbb['length']<_0x48bed3;){_0x4ba21e&&_0x534eb9['update'](_0x4ba21e),_0x4ba21e=_0x534eb9[_0x244f1b(0x1fc)](_0x3eef1d)['finalize'](_0x885fa),_0x534eb9[_0x244f1b(0x43a)]();for(var _0x45d5df=0x1;_0x45d5df<_0x119a8e;_0x45d5df++)_0x4ba21e=_0x534eb9[_0x244f1b(0x327)](_0x4ba21e),_0x534eb9[_0x244f1b(0x43a)]();_0x468e01[_0x244f1b(0x147)](_0x4ba21e);}return _0x468e01[_0x244f1b(0x1bf)]=_0x48bed3*0x4,_0x468e01;}});_0x104585[_0x82b45f(0x30a)]=function(_0xa00aa1,_0x11d87d,_0x29b316){var _0x2a8d8b=_0x82b45f;return _0x405d5b['create'](_0x29b316)[_0x2a8d8b(0x1b7)](_0xa00aa1,_0x11d87d);};}()),_0x51150e[_0x1a5ffc(0x30a)];}));}(Ye)),Ye[_0xb8b628(0x24b)];}var Je={'exports':{}},jr=Je[_0x1f558c(0x24b)],ni;function wi(){var _0x1d9d4b=_0x1f558c;return ni||(ni=0x1,function(_0x25aba0,_0x3ba688){(function(_0x645b3e,_0x16b30f,_0xcd2ceb){var _0xb969c9=_0x4725;_0x25aba0[_0xb969c9(0x24b)]=_0x16b30f(ie(),Pi());}(jr,function(_0x548695){var _0x5427e3=_0x4725;_0x548695[_0x5427e3(0x244)][_0x5427e3(0x299)]||function(_0x2f84b5){var _0x47ad0e=_0x5427e3,_0x1a9443=_0x548695,_0x52edcc=_0x1a9443[_0x47ad0e(0x244)],_0x11efdb=_0x52edcc[_0x47ad0e(0x238)],_0x303d7c=_0x52edcc[_0x47ad0e(0x3f3)],_0x5b446a=_0x52edcc['BufferedBlockAlgorithm'],_0x449a26=_0x1a9443[_0x47ad0e(0x349)];_0x449a26[_0x47ad0e(0x39c)];var _0x27df5f=_0x449a26[_0x47ad0e(0x235)],_0x2a14fd=_0x1a9443[_0x47ad0e(0x135)],_0x1b1d8a=_0x2a14fd[_0x47ad0e(0x30a)],_0x7e2489=_0x52edcc['Cipher']=_0x5b446a[_0x47ad0e(0x22f)]({'cfg':_0x11efdb[_0x47ad0e(0x22f)](),'createEncryptor':function(_0x38dd28,_0x27dc03){var _0x1f488f=_0x47ad0e;return this[_0x1f488f(0x17d)](this[_0x1f488f(0x381)],_0x38dd28,_0x27dc03);},'createDecryptor':function(_0x1ff861,_0x12a24e){var _0x4147ea=_0x47ad0e;return this[_0x4147ea(0x17d)](this[_0x4147ea(0x1fe)],_0x1ff861,_0x12a24e);},'init':function(_0x549eef,_0x4c4716,_0x46900d){var _0x4153c1=_0x47ad0e;this['cfg']=this[_0x4153c1(0x236)]['extend'](_0x46900d),this[_0x4153c1(0x42b)]=_0x549eef,this['_key']=_0x4c4716,this[_0x4153c1(0x43a)]();},'reset':function(){var _0x164529=_0x47ad0e;_0x5b446a[_0x164529(0x43a)][_0x164529(0x178)](this),this['_doReset']();},'process':function(_0x20e429){var _0x539c24=_0x47ad0e;return this['_append'](_0x20e429),this[_0x539c24(0x2dc)]();},'finalize':function(_0x26c893){var _0x441f13=_0x47ad0e;_0x26c893&&this[_0x441f13(0x203)](_0x26c893);var _0x5e0b42=this[_0x441f13(0x30e)]();return _0x5e0b42;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x557ee6(_0x5b19e0){var _0x289feb=_0x4725;return typeof _0x5b19e0==_0x289feb(0x3ee)?_0x2ceb36:_0x4585bb;}return function(_0x149c9a){return{'encrypt':function(_0x5cd4ad,_0x40847a,_0x2caae7){var _0x526334=_0x4725;return _0x557ee6(_0x40847a)[_0x526334(0x354)](_0x149c9a,_0x5cd4ad,_0x40847a,_0x2caae7);},'decrypt':function(_0xc3888f,_0x44c0be,_0x24e304){var _0x51d197=_0x4725;return _0x557ee6(_0x44c0be)[_0x51d197(0x3db)](_0x149c9a,_0xc3888f,_0x44c0be,_0x24e304);}};};}())});_0x52edcc[_0x47ad0e(0x1f8)]=_0x7e2489[_0x47ad0e(0x22f)]({'_doFinalize':function(){var _0x5de5cd=_0x47ad0e,_0x401e5f=this[_0x5de5cd(0x2dc)](!0x0);return _0x401e5f;},'blockSize':0x1});var _0x3d9f37=_0x1a9443[_0x47ad0e(0x1a9)]={},_0x3b2fe0=_0x52edcc['BlockCipherMode']=_0x11efdb[_0x47ad0e(0x22f)]({'createEncryptor':function(_0x4f521e,_0x4fd03b){var _0x4fbde4=_0x47ad0e;return this[_0x4fbde4(0x432)]['create'](_0x4f521e,_0x4fd03b);},'createDecryptor':function(_0x55c3c9,_0x1651f2){var _0x245d94=_0x47ad0e;return this[_0x245d94(0x41c)][_0x245d94(0x17d)](_0x55c3c9,_0x1651f2);},'init':function(_0x5b17b3,_0xf09063){var _0x281f80=_0x47ad0e;this[_0x281f80(0x321)]=_0x5b17b3,this[_0x281f80(0x250)]=_0xf09063;}}),_0xbe8c05=_0x3d9f37[_0x47ad0e(0x139)]=(function(){var _0x3195de=_0x47ad0e,_0x319052=_0x3b2fe0[_0x3195de(0x22f)]();_0x319052[_0x3195de(0x432)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x5d052e,_0x2472f5){var _0x3a24ae=_0x3195de,_0x414058=this[_0x3a24ae(0x321)],_0x3eb14=_0x414058[_0x3a24ae(0x3b6)];_0x45ad0f['call'](this,_0x5d052e,_0x2472f5,_0x3eb14),_0x414058[_0x3a24ae(0x3ae)](_0x5d052e,_0x2472f5),this[_0x3a24ae(0x2ab)]=_0x5d052e[_0x3a24ae(0x2db)](_0x2472f5,_0x2472f5+_0x3eb14);}}),_0x319052[_0x3195de(0x41c)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x431400,_0x350ffb){var _0x23a5e1=_0x3195de,_0x370e8a=this[_0x23a5e1(0x321)],_0x41fb1c=_0x370e8a['blockSize'],_0x25df78=_0x431400['slice'](_0x350ffb,_0x350ffb+_0x41fb1c);_0x370e8a[_0x23a5e1(0x3d6)](_0x431400,_0x350ffb),_0x45ad0f['call'](this,_0x431400,_0x350ffb,_0x41fb1c),this['_prevBlock']=_0x25df78;}});function _0x45ad0f(_0x2aedb5,_0x41f8d7,_0xcf57ee){var _0x2dd25b=_0x3195de,_0x4f1a8d,_0x582831=this[_0x2dd25b(0x250)];_0x582831?(_0x4f1a8d=_0x582831,this['_iv']=_0x2f84b5):_0x4f1a8d=this[_0x2dd25b(0x2ab)];for(var _0x5885c5=0x0;_0x5885c5<_0xcf57ee;_0x5885c5++)_0x2aedb5[_0x41f8d7+_0x5885c5]^=_0x4f1a8d[_0x5885c5];}return _0x319052;}()),_0x3bea21=_0x1a9443[_0x47ad0e(0x22a)]={},_0x240a97=_0x3bea21[_0x47ad0e(0x427)]={'pad':function(_0x551da9,_0x1e9f27){var _0x9bb678=_0x47ad0e;for(var _0x29b1a6=_0x1e9f27*0x4,_0x160b68=_0x29b1a6-_0x551da9[_0x9bb678(0x1bf)]%_0x29b1a6,_0x2869c2=_0x160b68<<0x18|_0x160b68<<0x10|_0x160b68<<0x8|_0x160b68,_0x5253ae=[],_0x178822=0x0;_0x178822<_0x160b68;_0x178822+=0x4)_0x5253ae[_0x9bb678(0x1eb)](_0x2869c2);var _0x43db1e=_0x303d7c[_0x9bb678(0x17d)](_0x5253ae,_0x160b68);_0x551da9[_0x9bb678(0x147)](_0x43db1e);},'unpad':function(_0x12bcb5){var _0x2bbc33=_0x47ad0e,_0x125cc3=_0x12bcb5['words'][_0x12bcb5[_0x2bbc33(0x1bf)]-0x1>>>0x2]&0xff;_0x12bcb5[_0x2bbc33(0x1bf)]-=_0x125cc3;}};_0x52edcc[_0x47ad0e(0x3e8)]=_0x7e2489[_0x47ad0e(0x22f)]({'cfg':_0x7e2489[_0x47ad0e(0x236)][_0x47ad0e(0x22f)]({'mode':_0xbe8c05,'padding':_0x240a97}),'reset':function(){var _0x37d568=_0x47ad0e,_0x496cd9;_0x7e2489[_0x37d568(0x43a)]['call'](this);var _0x14d4a6=this[_0x37d568(0x236)],_0x11b692=_0x14d4a6['iv'],_0x29819e=_0x14d4a6[_0x37d568(0x1a9)];this[_0x37d568(0x42b)]==this[_0x37d568(0x381)]?_0x496cd9=_0x29819e['createEncryptor']:(_0x496cd9=_0x29819e[_0x37d568(0x2ef)],this['_minBufferSize']=0x1),this[_0x37d568(0x32c)]&&this['_mode']['__creator']==_0x496cd9?this[_0x37d568(0x32c)]['init'](this,_0x11b692&&_0x11b692['words']):(this[_0x37d568(0x32c)]=_0x496cd9[_0x37d568(0x178)](_0x29819e,this,_0x11b692&&_0x11b692[_0x37d568(0x287)]),this['_mode'][_0x37d568(0x258)]=_0x496cd9);},'_doProcessBlock':function(_0x127ccf,_0x3f5a53){var _0x404081=_0x47ad0e;this[_0x404081(0x32c)][_0x404081(0x39e)](_0x127ccf,_0x3f5a53);},'_doFinalize':function(){var _0x4865c7=_0x47ad0e,_0xbe9c77,_0x1ce330=this['cfg'][_0x4865c7(0x2b1)];return this[_0x4865c7(0x42b)]==this[_0x4865c7(0x381)]?(_0x1ce330[_0x4865c7(0x22a)](this['_data'],this[_0x4865c7(0x3b6)]),_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0)):(_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0),_0x1ce330[_0x4865c7(0x22e)](_0xbe9c77)),_0xbe9c77;},'blockSize':0x80/0x20});var _0x257da2=_0x52edcc[_0x47ad0e(0x17a)]=_0x11efdb[_0x47ad0e(0x22f)]({'init':function(_0x38fcc3){var _0x234ae1=_0x47ad0e;this[_0x234ae1(0x3cc)](_0x38fcc3);},'toString':function(_0x4b95bb){var _0x5a5cac=_0x47ad0e;return(_0x4b95bb||this[_0x5a5cac(0x2b7)])[_0x5a5cac(0x283)](this);}}),_0x313094=_0x1a9443[_0x47ad0e(0x1cd)]={},_0x14c748=_0x313094['OpenSSL']={'stringify':function(_0x5add9b){var _0x35fea2=_0x47ad0e,_0x257fff,_0x3d5827=_0x5add9b[_0x35fea2(0x3fd)],_0xb33692=_0x5add9b[_0x35fea2(0x3f9)];return _0xb33692?_0x257fff=_0x303d7c['create']([0x53616c74,0x65645f5f])[_0x35fea2(0x147)](_0xb33692)['concat'](_0x3d5827):_0x257fff=_0x3d5827,_0x257fff[_0x35fea2(0x28c)](_0x27df5f);},'parse':function(_0x30e606){var _0x17358e=_0x47ad0e,_0x259ee0,_0x1e1d01=_0x27df5f['parse'](_0x30e606),_0x315a40=_0x1e1d01[_0x17358e(0x287)];return _0x315a40[0x0]==0x53616c74&&_0x315a40[0x1]==0x65645f5f&&(_0x259ee0=_0x303d7c[_0x17358e(0x17d)](_0x315a40[_0x17358e(0x2db)](0x2,0x4)),_0x315a40[_0x17358e(0x252)](0x0,0x4),_0x1e1d01[_0x17358e(0x1bf)]-=0x10),_0x257da2[_0x17358e(0x17d)]({'ciphertext':_0x1e1d01,'salt':_0x259ee0});}},_0x4585bb=_0x52edcc['SerializableCipher']=_0x11efdb[_0x47ad0e(0x22f)]({'cfg':_0x11efdb['extend']({'format':_0x14c748}),'encrypt':function(_0x402acc,_0x14e679,_0x55b4b5,_0x1b538c){var _0x8d62b3=_0x47ad0e;_0x1b538c=this[_0x8d62b3(0x236)][_0x8d62b3(0x22f)](_0x1b538c);var _0x357baf=_0x402acc[_0x8d62b3(0x2ff)](_0x55b4b5,_0x1b538c),_0x4876f1=_0x357baf[_0x8d62b3(0x327)](_0x14e679),_0x3b1e0c=_0x357baf[_0x8d62b3(0x236)];return _0x257da2['create']({'ciphertext':_0x4876f1,'key':_0x55b4b5,'iv':_0x3b1e0c['iv'],'algorithm':_0x402acc,'mode':_0x3b1e0c[_0x8d62b3(0x1a9)],'padding':_0x3b1e0c[_0x8d62b3(0x2b1)],'blockSize':_0x402acc[_0x8d62b3(0x3b6)],'formatter':_0x1b538c[_0x8d62b3(0x1cd)]});},'decrypt':function(_0x417517,_0x175592,_0x15ae49,_0x38de92){var _0x248b4f=_0x47ad0e;_0x38de92=this[_0x248b4f(0x236)][_0x248b4f(0x22f)](_0x38de92),_0x175592=this[_0x248b4f(0x170)](_0x175592,_0x38de92[_0x248b4f(0x1cd)]);var _0x325ee1=_0x417517[_0x248b4f(0x2ef)](_0x15ae49,_0x38de92)[_0x248b4f(0x327)](_0x175592['ciphertext']);return _0x325ee1;},'_parse':function(_0x1de106,_0x229e2d){var _0x150375=_0x47ad0e;return typeof _0x1de106==_0x150375(0x3ee)?_0x229e2d[_0x150375(0x234)](_0x1de106,this):_0x1de106;}}),_0x3bbda9=_0x1a9443[_0x47ad0e(0x331)]={},_0x2c50bf=_0x3bbda9[_0x47ad0e(0x136)]={'execute':function(_0x3c48d5,_0x297927,_0xed83ec,_0x104070,_0x140748){var _0x4254a5=_0x47ad0e;if(_0x104070||(_0x104070=_0x303d7c[_0x4254a5(0x35d)](0x40/0x8)),_0x140748)var _0xde238f=_0x1b1d8a['create']({'keySize':_0x297927+_0xed83ec,'hasher':_0x140748})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);else var _0xde238f=_0x1b1d8a[_0x4254a5(0x17d)]({'keySize':_0x297927+_0xed83ec})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);var _0x230c97=_0x303d7c['create'](_0xde238f[_0x4254a5(0x287)][_0x4254a5(0x2db)](_0x297927),_0xed83ec*0x4);return _0xde238f[_0x4254a5(0x1bf)]=_0x297927*0x4,_0x257da2[_0x4254a5(0x17d)]({'key':_0xde238f,'iv':_0x230c97,'salt':_0x104070});}},_0x2ceb36=_0x52edcc[_0x47ad0e(0x2eb)]=_0x4585bb[_0x47ad0e(0x22f)]({'cfg':_0x4585bb[_0x47ad0e(0x236)]['extend']({'kdf':_0x2c50bf}),'encrypt':function(_0x104f5e,_0x30279e,_0x354252,_0x31929c){var _0x17d422=_0x47ad0e;_0x31929c=this['cfg'][_0x17d422(0x22f)](_0x31929c);var _0x3526d7=_0x31929c[_0x17d422(0x331)][_0x17d422(0x3eb)](_0x354252,_0x104f5e[_0x17d422(0x314)],_0x104f5e[_0x17d422(0x202)],_0x31929c[_0x17d422(0x3f9)],_0x31929c['hasher']);_0x31929c['iv']=_0x3526d7['iv'];var _0x2dfb3e=_0x4585bb[_0x17d422(0x354)][_0x17d422(0x178)](this,_0x104f5e,_0x30279e,_0x3526d7['key'],_0x31929c);return _0x2dfb3e[_0x17d422(0x3cc)](_0x3526d7),_0x2dfb3e;},'decrypt':function(_0x1d6d70,_0x318537,_0x57bbdb,_0x457f09){var _0x30c03e=_0x47ad0e;_0x457f09=this[_0x30c03e(0x236)][_0x30c03e(0x22f)](_0x457f09),_0x318537=this['_parse'](_0x318537,_0x457f09[_0x30c03e(0x1cd)]);var _0x222f23=_0x457f09[_0x30c03e(0x331)][_0x30c03e(0x3eb)](_0x57bbdb,_0x1d6d70[_0x30c03e(0x314)],_0x1d6d70[_0x30c03e(0x202)],_0x318537[_0x30c03e(0x3f9)],_0x457f09[_0x30c03e(0x379)]);_0x457f09['iv']=_0x222f23['iv'];var _0x47dc05=_0x4585bb['decrypt'][_0x30c03e(0x178)](this,_0x1d6d70,_0x318537,_0x222f23[_0x30c03e(0x284)],_0x457f09);return _0x47dc05;}});}();}));}(Je)),Je[_0x1d9d4b(0x24b)];}var Br=Ge[_0x1f558c(0x24b)],ri;function Fr(){var _0x354c65=_0x1f558c;return ri||(ri=0x1,function(_0x1a40a7,_0x316e9b){(function(_0x144d4c,_0x33f035,_0x107942){var _0x4bb70e=_0x4725;_0x1a40a7[_0x4bb70e(0x24b)]=_0x33f035(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x440368){var _0x1fad41=_0x4725;return(function(){var _0x188395=_0x4725,_0x3604fc=_0x440368,_0x50624e=_0x3604fc[_0x188395(0x244)],_0x200503=_0x50624e[_0x188395(0x3e8)],_0x4869c7=_0x3604fc['algo'],_0xb54a68=[],_0x3ba722=[],_0xdb3016=[],_0x1ed5f1=[],_0x15fe73=[],_0x788078=[],_0x508a01=[],_0x10707c=[],_0x20668e=[],_0x17920e=[];(function(){for(var _0x240854=[],_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++)_0x53eb0a<0x80?_0x240854[_0x53eb0a]=_0x53eb0a<<0x1:_0x240854[_0x53eb0a]=_0x53eb0a<<0x1^0x11b;for(var _0x10100a=0x0,_0x512bf2=0x0,_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++){var _0x792522=_0x512bf2^_0x512bf2<<0x1^_0x512bf2<<0x2^_0x512bf2<<0x3^_0x512bf2<<0x4;_0x792522=_0x792522>>>0x8^_0x792522&0xff^0x63,_0xb54a68[_0x10100a]=_0x792522,_0x3ba722[_0x792522]=_0x10100a;var _0x959303=_0x240854[_0x10100a],_0x2f3f6=_0x240854[_0x959303],_0x507f40=_0x240854[_0x2f3f6],_0x59a9c0=_0x240854[_0x792522]*0x101^_0x792522*0x1010100;_0xdb3016[_0x10100a]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x1ed5f1[_0x10100a]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x15fe73[_0x10100a]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x788078[_0x10100a]=_0x59a9c0;var _0x59a9c0=_0x507f40*0x1010101^_0x2f3f6*0x10001^_0x959303*0x101^_0x10100a*0x1010100;_0x508a01[_0x792522]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x10707c[_0x792522]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x20668e[_0x792522]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x17920e[_0x792522]=_0x59a9c0,_0x10100a?(_0x10100a=_0x959303^_0x240854[_0x240854[_0x240854[_0x507f40^_0x959303]]],_0x512bf2^=_0x240854[_0x240854[_0x512bf2]]):_0x10100a=_0x512bf2=0x1;}}());var _0x328f2e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1159f7=_0x4869c7[_0x188395(0x316)]=_0x200503[_0x188395(0x22f)]({'_doReset':function(){var _0x374f5d=_0x188395,_0xf96a95;if(!(this[_0x374f5d(0x1fd)]&&this[_0x374f5d(0x371)]===this[_0x374f5d(0x3ea)])){for(var _0x413707=this[_0x374f5d(0x371)]=this[_0x374f5d(0x3ea)],_0x43b750=_0x413707[_0x374f5d(0x287)],_0x11a85b=_0x413707[_0x374f5d(0x1bf)]/0x4,_0x369059=this['_nRounds']=_0x11a85b+0x6,_0x2b8ffd=(_0x369059+0x1)*0x4,_0x11d44d=this['_keySchedule']=[],_0x23290e=0x0;_0x23290e<_0x2b8ffd;_0x23290e++)_0x23290e<_0x11a85b?_0x11d44d[_0x23290e]=_0x43b750[_0x23290e]:(_0xf96a95=_0x11d44d[_0x23290e-0x1],_0x23290e%_0x11a85b?_0x11a85b>0x6&&_0x23290e%_0x11a85b==0x4&&(_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff]):(_0xf96a95=_0xf96a95<<0x8|_0xf96a95>>>0x18,_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff],_0xf96a95^=_0x328f2e[_0x23290e/_0x11a85b|0x0]<<0x18),_0x11d44d[_0x23290e]=_0x11d44d[_0x23290e-_0x11a85b]^_0xf96a95);for(var _0x13d511=this['_invKeySchedule']=[],_0x5597a6=0x0;_0x5597a6<_0x2b8ffd;_0x5597a6++){var _0x23290e=_0x2b8ffd-_0x5597a6;if(_0x5597a6%0x4)var _0xf96a95=_0x11d44d[_0x23290e];else var _0xf96a95=_0x11d44d[_0x23290e-0x4];_0x5597a6<0x4||_0x23290e<=0x4?_0x13d511[_0x5597a6]=_0xf96a95:_0x13d511[_0x5597a6]=_0x508a01[_0xb54a68[_0xf96a95>>>0x18]]^_0x10707c[_0xb54a68[_0xf96a95>>>0x10&0xff]]^_0x20668e[_0xb54a68[_0xf96a95>>>0x8&0xff]]^_0x17920e[_0xb54a68[_0xf96a95&0xff]];}}},'encryptBlock':function(_0x32ad22,_0x3da847){var _0x2ba53e=_0x188395;this[_0x2ba53e(0x31d)](_0x32ad22,_0x3da847,this[_0x2ba53e(0x2ea)],_0xdb3016,_0x1ed5f1,_0x15fe73,_0x788078,_0xb54a68);},'decryptBlock':function(_0xebd508,_0x2a023d){var _0x5d137a=_0x188395,_0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca,this[_0x5d137a(0x31d)](_0xebd508,_0x2a023d,this['_invKeySchedule'],_0x508a01,_0x10707c,_0x20668e,_0x17920e,_0x3ba722);var _0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca;},'_doCryptBlock':function(_0x2f6c43,_0x9b5a77,_0x340ba2,_0x1cfaef,_0xb0a2ed,_0x47ee88,_0x192a95,_0x1fde43){for(var _0xa30147=this['_nRounds'],_0x4ad374=_0x2f6c43[_0x9b5a77]^_0x340ba2[0x0],_0x1687be=_0x2f6c43[_0x9b5a77+0x1]^_0x340ba2[0x1],_0x5a55d6=_0x2f6c43[_0x9b5a77+0x2]^_0x340ba2[0x2],_0x450460=_0x2f6c43[_0x9b5a77+0x3]^_0x340ba2[0x3],_0x3d286a=0x4,_0x36e116=0x1;_0x36e116<_0xa30147;_0x36e116++){var _0x154a90=_0x1cfaef[_0x4ad374>>>0x18]^_0xb0a2ed[_0x1687be>>>0x10&0xff]^_0x47ee88[_0x5a55d6>>>0x8&0xff]^_0x192a95[_0x450460&0xff]^_0x340ba2[_0x3d286a++],_0x9ba5f6=_0x1cfaef[_0x1687be>>>0x18]^_0xb0a2ed[_0x5a55d6>>>0x10&0xff]^_0x47ee88[_0x450460>>>0x8&0xff]^_0x192a95[_0x4ad374&0xff]^_0x340ba2[_0x3d286a++],_0x9d836c=_0x1cfaef[_0x5a55d6>>>0x18]^_0xb0a2ed[_0x450460>>>0x10&0xff]^_0x47ee88[_0x4ad374>>>0x8&0xff]^_0x192a95[_0x1687be&0xff]^_0x340ba2[_0x3d286a++],_0x322a96=_0x1cfaef[_0x450460>>>0x18]^_0xb0a2ed[_0x4ad374>>>0x10&0xff]^_0x47ee88[_0x1687be>>>0x8&0xff]^_0x192a95[_0x5a55d6&0xff]^_0x340ba2[_0x3d286a++];_0x4ad374=_0x154a90,_0x1687be=_0x9ba5f6,_0x5a55d6=_0x9d836c,_0x450460=_0x322a96;}var _0x154a90=(_0x1fde43[_0x4ad374>>>0x18]<<0x18|_0x1fde43[_0x1687be>>>0x10&0xff]<<0x10|_0x1fde43[_0x5a55d6>>>0x8&0xff]<<0x8|_0x1fde43[_0x450460&0xff])^_0x340ba2[_0x3d286a++],_0x9ba5f6=(_0x1fde43[_0x1687be>>>0x18]<<0x18|_0x1fde43[_0x5a55d6>>>0x10&0xff]<<0x10|_0x1fde43[_0x450460>>>0x8&0xff]<<0x8|_0x1fde43[_0x4ad374&0xff])^_0x340ba2[_0x3d286a++],_0x9d836c=(_0x1fde43[_0x5a55d6>>>0x18]<<0x18|_0x1fde43[_0x450460>>>0x10&0xff]<<0x10|_0x1fde43[_0x4ad374>>>0x8&0xff]<<0x8|_0x1fde43[_0x1687be&0xff])^_0x340ba2[_0x3d286a++],_0x322a96=(_0x1fde43[_0x450460>>>0x18]<<0x18|_0x1fde43[_0x4ad374>>>0x10&0xff]<<0x10|_0x1fde43[_0x1687be>>>0x8&0xff]<<0x8|_0x1fde43[_0x5a55d6&0xff])^_0x340ba2[_0x3d286a++];_0x2f6c43[_0x9b5a77]=_0x154a90,_0x2f6c43[_0x9b5a77+0x1]=_0x9ba5f6,_0x2f6c43[_0x9b5a77+0x2]=_0x9d836c,_0x2f6c43[_0x9b5a77+0x3]=_0x322a96;},'keySize':0x100/0x20});_0x3604fc[_0x188395(0x316)]=_0x200503[_0x188395(0x36e)](_0x1159f7);}()),_0x440368[_0x1fad41(0x316)];}));}(Ge)),Ge[_0x354c65(0x24b)];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x100c21=_0x1f558c;return oi||(oi=0x1,function(_0x533967,_0x5d680c){(function(_0x244c60,_0x31297f){var _0x1bd128=_0x4725;_0x533967[_0x1bd128(0x24b)]=_0x31297f(ie());}(Kr,function(_0x56f62a){var _0x40c799=_0x4725;return _0x56f62a[_0x40c799(0x349)][_0x40c799(0x39c)];}));}(Xe)),Xe[_0x100c21(0x24b)];}var qr=Yr();const zr=ke(qr);function _0x4725(_0xa701be,_0x2beb92){var _0x3db137=_0x3db1();return _0x4725=function(_0x472531,_0xa228cf){_0x472531=_0x472531-0x134;var _0x44edb5=_0x3db137[_0x472531];return _0x44edb5;},_0x4725(_0xa701be,_0x2beb92);}var Ze={'exports':{}},Jr=Ze['exports'],ai;function Xr(){var _0x30c28d=_0x1f558c;return ai||(ai=0x1,function(_0x5baccc,_0x20b894){(function(_0x221554,_0x3c4080){_0x5baccc['exports']=_0x3c4080(ie());}(Jr,function(_0x4a3e24){var _0x3bea74=_0x4725;return(function(){var _0x4943ae=_0x4725;if(typeof ArrayBuffer==_0x4943ae(0x1dd)){var _0x2b05c9=_0x4a3e24,_0x328369=_0x2b05c9[_0x4943ae(0x244)],_0x4be1c9=_0x328369[_0x4943ae(0x3f3)],_0x2039f3=_0x4be1c9[_0x4943ae(0x2e7)],_0x3854d9=_0x4be1c9[_0x4943ae(0x2e7)]=function(_0x3f2864){var _0x2ff819=_0x4943ae;if(_0x3f2864 instanceof ArrayBuffer&&(_0x3f2864=new Uint8Array(_0x3f2864)),(_0x3f2864 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f2864 instanceof Uint8ClampedArray||_0x3f2864 instanceof Int16Array||_0x3f2864 instanceof Uint16Array||_0x3f2864 instanceof Int32Array||_0x3f2864 instanceof Uint32Array||_0x3f2864 instanceof Float32Array||_0x3f2864 instanceof Float64Array)&&(_0x3f2864=new Uint8Array(_0x3f2864[_0x2ff819(0x3e4)],_0x3f2864[_0x2ff819(0x19f)],_0x3f2864[_0x2ff819(0x1e6)])),_0x3f2864 instanceof Uint8Array){for(var _0x7e74cb=_0x3f2864[_0x2ff819(0x1e6)],_0x4542eb=[],_0x1a8f46=0x0;_0x1a8f46<_0x7e74cb;_0x1a8f46++)_0x4542eb[_0x1a8f46>>>0x2]|=_0x3f2864[_0x1a8f46]<<0x18-_0x1a8f46%0x4*0x8;_0x2039f3[_0x2ff819(0x178)](this,_0x4542eb,_0x7e74cb);}else _0x2039f3[_0x2ff819(0x1fa)](this,arguments);};_0x3854d9[_0x4943ae(0x36a)]=_0x4be1c9;}}()),_0x4a3e24[_0x3bea74(0x244)][_0x3bea74(0x3f3)];}));}(Ze)),Ze[_0x30c28d(0x24b)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x1f558c(0x24b)],ci;function ts(){var _0x42ebf4=_0x1f558c;return ci||(ci=0x1,function(_0xd6f957,_0x362ec9){(function(_0x2fec6f,_0x364485,_0xf01132){_0xd6f957['exports']=_0x364485(ie(),wi());}(es,function(_0x122ee3){var _0x11ef96=_0x4725;return _0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)]={'pad':function(){},'unpad':function(){}},_0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)];}));}(Qe)),Qe[_0x42ebf4(0x24b)];}var is=ts();const ns=ke(is);function rs(_0x38b0b7,_0x9ef86){var _0x2d7825=_0x1f558c;const _0x599fa9=_0x9ef86-_0x38b0b7[_0x2d7825(0x158)]%_0x9ef86,_0x4c0301=String['fromCharCode'](_0x599fa9)[_0x2d7825(0x23d)](_0x599fa9);return _0x38b0b7+_0x4c0301;}function ss(_0x3f3971,_0x3d1e68){var _0x3c943b=_0x1f558c;const _0x5f1d6b=Qr[_0x3c943b(0x35d)](0x10),_0x35a324=rs(_0x3f3971,0x10),_0x3ad46f=Vr[_0x3c943b(0x354)](zr[_0x3c943b(0x234)](_0x35a324),si[_0x3c943b(0x234)](_0x3d1e68),{'iv':_0x5f1d6b,'padding':ns});return _0x5f1d6b[_0x3c943b(0x147)](_0x3ad46f[_0x3c943b(0x3fd)])[_0x3c943b(0x28c)](si);}function os(){var _0x177ee0=_0x1f558c;const _0x2d092a=_0x5d2141()[_0x177ee0(0x418)];if(_0x2d092a){const _0x2701ad={'time':Math['floor'](Date[_0x177ee0(0x434)]()/0x3e8),'domain':location[_0x177ee0(0x138)]};return ss(JSON[_0x177ee0(0x283)](_0x2701ad),_0x2d092a);}}var as=Object[_0x1f558c(0x175)],cs=Object[_0x1f558c(0x330)],hs=(_0x396143,_0x27a61a,_0x40a0ab,_0x57172a)=>{var _0x59b553=_0x1f558c;for(var _0x7c4209=_0x57172a>0x1?void 0x0:_0x57172a?cs(_0x27a61a,_0x40a0ab):_0x27a61a,_0xb17b51=_0x396143[_0x59b553(0x158)]-0x1,_0x2fef2a;_0xb17b51>=0x0;_0xb17b51--)(_0x2fef2a=_0x396143[_0xb17b51])&&(_0x7c4209=(_0x57172a?_0x2fef2a(_0x27a61a,_0x40a0ab,_0x7c4209):_0x2fef2a(_0x7c4209))||_0x7c4209);return _0x57172a&&_0x7c4209&&as(_0x27a61a,_0x40a0ab,_0x7c4209),_0x7c4209;},_s=(_0x17f266,_0x4ab52e)=>(_0x16b02a,_0x40518d)=>_0x4ab52e(_0x16b02a,_0x40518d,_0x17f266);let ot=class{constructor(_0x28077d){var _0x42fb29=_0x1f558c;this[_0x42fb29(0x2d9)]=_0x28077d,this[_0x42fb29(0x189)]();}[_0x1f558c(0x189)](){var _0x551689=_0x1f558c;this[_0x551689(0x2d9)][_0x551689(0x251)]({'interceptor':(_0x17bf67,_0x4c9320)=>{var _0x83fa7=_0x551689;const _0x8e9d2c=_0x17bf67['headers'],_0x59ce87=os();return _0x59ce87&&_0x8e9d2c[_0x83fa7(0x319)](_0x83fa7(0x2c6),_0x59ce87),_0x4c9320(_0x17bf67);}});}};ot=hs([_s(0x0,_0x5b2811(_0x5b9922))],ot);var ls=Object['defineProperty'],us=Object[_0x1f558c(0x330)],ds=(_0x56c298,_0x21cc56,_0x394907,_0x44f4fe)=>{var _0x3a614d=_0x1f558c;for(var _0xf1fcd=_0x44f4fe>0x1?void 0x0:_0x44f4fe?us(_0x21cc56,_0x394907):_0x21cc56,_0x42eea3=_0x56c298[_0x3a614d(0x158)]-0x1,_0x14a1e6;_0x42eea3>=0x0;_0x42eea3--)(_0x14a1e6=_0x56c298[_0x42eea3])&&(_0xf1fcd=(_0x44f4fe?_0x14a1e6(_0x21cc56,_0x394907,_0xf1fcd):_0x14a1e6(_0xf1fcd))||_0xf1fcd);return _0x44f4fe&&_0xf1fcd&&ls(_0x21cc56,_0x394907,_0xf1fcd),_0xf1fcd;},mt=(_0x246525,_0x14fd26)=>(_0x61c952,_0x532239)=>_0x14fd26(_0x61c952,_0x532239,_0x246525);let Rt=class extends _0x1a5dd9{constructor(_0x24f2f5,_0x1cfaa2,_0x3c9f49){var _0x1c8966=_0x1f558c;super(),N(this,_0x1c8966(0x176),new _0x12b284(null)),N(this,_0x1c8966(0x1ae),this[_0x1c8966(0x176)][_0x1c8966(0x317)]()),(this['_logService']=_0x24f2f5,this[_0x1c8966(0x159)]=_0x1cfaa2,this[_0x1c8966(0x28f)]=_0x3c9f49);}async[_0x1f558c(0x216)](_0xe350cf,_0xcaf43e,_0x2cd2ca){var _0x44e24a=_0x1f558c;this[_0x44e24a(0x176)][_0x44e24a(0x140)]({'unitId':_0xe350cf,'type':_0xcaf43e,'subUnitId':_0x2cd2ca});let _0x2fd256=null;switch(_0xcaf43e){case Q['UNIVER_SHEET']:{_0x2fd256=await this[_0x44e24a(0x3b7)](_0xe350cf);break;}case Q[_0x44e24a(0x143)]:{_0x2fd256=await this[_0x44e24a(0x215)](_0xe350cf);break;}default:{this['_logService'][_0x44e24a(0x145)](_0x44e24a(0x157),_0x44e24a(0x3bd));break;}}return _0x2fd256;}async[_0x1f558c(0x3b7)](_0x332c45){var _0x5238f8=_0x1f558c,_0x1297f9;let _0x1b9ed6=0x0;const _0xa1029=await((_0x1297f9=this[_0x5238f8(0x28f)])==null?void 0x0:_0x1297f9[_0x5238f8(0x41d)](_0x332c45));return _0xa1029&&(_0xa1029[_0x5238f8(0x3a8)]||_0xa1029['mutations'][_0x5238f8(0x158)]!==0x0)&&(_0x1b9ed6=_0xa1029['rev']),_0x1b9ed6===0x0&&this[_0x5238f8(0x343)][_0x5238f8(0x2e3)](_0x5238f8(0x157),_0x5238f8(0x13e)),this['_snapshotService'][_0x5238f8(0x31e)](_0x332c45,_0x1b9ed6);}async['_loadDoc'](_0x3c1b20){var _0x4de9a9=_0x1f558c,_0x47de2b;let _0x2cb4d8=0x0;const _0x34fa04=await((_0x47de2b=this[_0x4de9a9(0x28f)])==null?void 0x0:_0x47de2b['loadOfflineData'](_0x3c1b20));return _0x34fa04&&(_0x34fa04['awaitingChangeset']||_0x34fa04['mutations']['length']!==0x0)&&(_0x2cb4d8=_0x34fa04[_0x4de9a9(0x1cb)]),_0x2cb4d8===0x0&&this[_0x4de9a9(0x343)][_0x4de9a9(0x2e3)](_0x4de9a9(0x157),_0x4de9a9(0x13e)),this[_0x4de9a9(0x159)][_0x4de9a9(0x13c)](_0x3c1b20,_0x2cb4d8);}};Rt=ds([mt(0x0,_0x574408),mt(0x1,_0x5b2811(_0x4c1140)),mt(0x2,_0x40673b(J))],Rt);var fs=Object[_0x1f558c(0x175)],vs=Object[_0x1f558c(0x330)],ps=(_0x18add8,_0x54aa4b,_0x510fd9,_0x3829d0)=>{for(var _0x5cea9e=_0x3829d0>0x1?void 0x0:_0x3829d0?vs(_0x54aa4b,_0x510fd9):_0x54aa4b,_0x1218c9=_0x18add8['length']-0x1,_0xfdfff0;_0x1218c9>=0x0;_0x1218c9--)(_0xfdfff0=_0x18add8[_0x1218c9])&&(_0x5cea9e=(_0x3829d0?_0xfdfff0(_0x54aa4b,_0x510fd9,_0x5cea9e):_0xfdfff0(_0x5cea9e))||_0x5cea9e);return _0x3829d0&&_0x5cea9e&&fs(_0x54aa4b,_0x510fd9,_0x5cea9e),_0x5cea9e;},gt=(_0x3309e7,_0x3b6230)=>(_0x57bea1,_0x4c47a4)=>_0x3b6230(_0x57bea1,_0x4c47a4,_0x3309e7);const ms=[_0x1f558c(0x1b8),_0x1f558c(0x15d),_0x1f558c(0x2af),_0x1f558c(0x346),_0x1f558c(0x31b)],gs=0x5*0x400*0x400,Ss=_0x1f558c(0x25e),Es='/universer-api/stream/file/upload',Is='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ts=_0x1f558c(0x313);let Ot=class{constructor(_0x10ca1e,_0x3d993c,_0x3d6cd3){var _0x5b08fc=_0x1f558c;N(this,'_waitCount',0x0),N(this,_0x5b08fc(0x3d8),new _0x13d4cc()),N(this,_0x5b08fc(0x1ca),this['_change$']),N(this,_0x5b08fc(0x2fe),new Map()),(this['_httpService']=_0x10ca1e,this[_0x5b08fc(0x405)]=_0x3d993c,this['_univerInstanceService']=_0x3d6cd3);}['setWaitCount'](_0x432614){var _0x3debc7=_0x1f558c;this[_0x3debc7(0x263)]=_0x432614,this[_0x3debc7(0x3d8)][_0x3debc7(0x140)](_0x432614);}[_0x1f558c(0x2b6)](_0x369a97,_0x5000c0){var _0x575bfe=_0x1f558c;if(_0x5000c0===_0x437e6e[_0x575bfe(0x153)]){const _0x3a77f6=new Image();return _0x3a77f6[_0x575bfe(0x1af)]=_0x369a97,_0x3a77f6;}return this['_imageSourceCache']['get'](_0x369a97);}[_0x1f558c(0x237)](_0x58d5a2,_0x19ee16,_0x264b33){var _0xf24b32=_0x1f558c;_0x19ee16===_0x437e6e[_0xf24b32(0x153)]||_0x264b33==null||this[_0xf24b32(0x2fe)][_0xf24b32(0x319)](_0x58d5a2,_0x264b33);}async[_0x1f558c(0x3a2)](_0x2d5299){var _0x10d6cb=_0x1f558c;try{const _0x1489a5=this[_0x10d6cb(0x229)](this[_0x10d6cb(0x42c)](),''+_0x2d5299),_0x1432e8=(await this[_0x10d6cb(0x2d9)][_0x10d6cb(0x1e3)](_0x1489a5))[_0x10d6cb(0x2ac)];if(_0x1432e8[_0x10d6cb(0x145)]&&_0x1432e8[_0x10d6cb(0x145)][_0x10d6cb(0x3e7)]===Si['OK']){const _0x593e67=new URL(_0x1432e8[_0x10d6cb(0x3c6)],this[_0x10d6cb(0x2aa)]())[_0x10d6cb(0x28c)]();return Promise[_0x10d6cb(0x208)](_0x593e67);}return Promise[_0x10d6cb(0x187)](_0x1432e8['error']);}catch(_0x2c7929){return Promise[_0x10d6cb(0x187)](_0x2c7929);}}async[_0x1f558c(0x306)](_0x4e8c33){var _0x49b26b=_0x1f558c;let _0x57c0dc='';if(!ms[_0x49b26b(0x407)](_0x4e8c33[_0x49b26b(0x15f)]))return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x37c)]));if(_0x4e8c33[_0x49b26b(0x191)]>gs)return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x361)]));try{const _0x921e4e=new FormData();_0x921e4e[_0x49b26b(0x419)]('file',_0x4e8c33);const _0x1fc144=this[_0x49b26b(0x435)][_0x49b26b(0x3ff)](),_0x368cd6=_0x1fc144==null?void 0x0:_0x1fc144[_0x49b26b(0x253)]();if(!_0x368cd6)throw new Error('unitId\x20is\x20not\x20found');const _0xd9e52d=this['_getUploadFileURL']()+_0x49b26b(0x2d8)+_0x4e8c33[_0x49b26b(0x191)][_0x49b26b(0x28c)]()+_0x49b26b(0x37b)+Ei[_0x49b26b(0x33c)]+_0x49b26b(0x2e1)+encodeURIComponent(_0x368cd6),_0x4ae4ae=await(await fetch(_0xd9e52d,{'method':_0x49b26b(0x2d1),'body':_0x921e4e}))[_0x49b26b(0x391)]();if(typeof _0x4ae4ae[_0x49b26b(0x289)]!=_0x49b26b(0x3ee))return this[_0x49b26b(0x36f)](),Promise['reject'](new Error(_0x42bf22[_0x49b26b(0x3ed)]));_0x57c0dc=_0x4ae4ae['FileId'];}catch{return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22['ERROR_IMAGE']));}return new Promise((_0x573708,_0x45f039)=>{var _0x483ef2=_0x49b26b;const _0x269e7a=new FileReader();_0x269e7a[_0x483ef2(0x242)](_0x4e8c33),_0x269e7a[_0x483ef2(0x3fc)]=_0x78ecb4=>{var _0x34bcc5=_0x483ef2,_0x118651;const _0x2112b6=(_0x118651=_0x78ecb4[_0x34bcc5(0x37d)])==null?void 0x0:_0x118651[_0x34bcc5(0x386)];if(_0x2112b6==null){this[_0x34bcc5(0x36f)](),_0x45f039(new Error(_0x42bf22[_0x34bcc5(0x3ed)]));return;}const _0x516b31=_0x2d4a2c[_0x34bcc5(0x2a4)](0x6);_0x573708({'imageId':_0x516b31,'imageSourceType':_0x437e6e[_0x34bcc5(0x14c)],'source':_0x57c0dc,'base64Cache':_0x2112b6,'status':_0x42bf22['SUCCUSS']}),this[_0x34bcc5(0x36f)]();};});}['_getUploadFileURL'](){var _0x532057=_0x1f558c,_0x498b95,_0x216fe4;const _0x21b65d=this[_0x532057(0x405)][_0x532057(0x2a0)](Ss),_0x364738=this[_0x532057(0x405)]['getConfig'](q);return(_0x216fe4=(_0x498b95=_0x364738==null?void 0x0:_0x364738[_0x532057(0x1bb)])!=null?_0x498b95:_0x21b65d)!=null?_0x216fe4:Es;}[_0x1f558c(0x42c)](){var _0x403181=_0x1f558c,_0x9fed36,_0x4432ae;const _0x409ec4=this[_0x403181(0x405)]['getConfig'](Is),_0x27e5c1=this[_0x403181(0x405)][_0x403181(0x2a0)](q);return(_0x4432ae=(_0x9fed36=_0x27e5c1==null?void 0x0:_0x27e5c1['signUrlServerUrl'])!=null?_0x9fed36:_0x409ec4)!=null?_0x4432ae:Ts;}[_0x1f558c(0x2aa)](){var _0xc9720f=_0x1f558c,_0x450825;const _0x2a16ba=this[_0xc9720f(0x405)]['getConfig'](q);return(_0x450825=_0x2a16ba==null?void 0x0:_0x2a16ba['downloadEndpointUrl'])!=null?_0x450825:location[_0xc9720f(0x41a)];}[_0x1f558c(0x229)](_0x1f60e1,_0xcde69b){var _0x2589e1=_0x1f558c;return _0x1f60e1[_0x2589e1(0x37a)](_0x2589e1(0x223),_0xcde69b);}[_0x1f558c(0x36f)](){var _0x1edf43=_0x1f558c;this['_waitCount']-=0x1,this[_0x1edf43(0x3d8)][_0x1edf43(0x140)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x5b2811(_0x5b9922)),gt(0x1,_0x4ea54a),gt(0x2,_0x5b2811(_0x30c3be))],Ot);function _0x3db1(){var _0x133e35=['_status$','stringify','key','YUUMI_URL_COL_OUT_OF_RANGE','_incrementRevisionNumber','words','SNAPSHOT_INVALID_SNAPSHOT','FileId','editing\x20status\x20changed\x20to','HELLO','toString','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_localCacheService','equals','fetchMiss','APPLY_PERMISSION_DENIED','_listenToNetworkCondition','USERS_LEAVE','onRemoteChangeset','_createHmacHelper','TOO_MANY_REQUESTS','updatePermissionPoint','Cipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','reqId','_changesetReqId','SYNCED','refreshPermission','_waitForHeartbeatResponse','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_map','generateRandomId','authzUrl','avatar','HttpExport','_socketReady','HEARTBEAT_INTERVAL','_getDownloadEndpointURL','_prevBlock','body','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/jpg','univer-pro.collaboration-client.network-condition.service','padding','LICENSE_EXPORT_SIZE_EXCEEDED','status$','_onLocalMutation','_getCtorByUniverType','getImageSourceCache','formatter','_startTelemetryCollaborationNewChangeset','objects','_nDataBytes','textRanges','LICENSE_IMPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','onTransformIME','_networkConditionService','_localeService','HEARTBEAT','abs','Univer','collaboration_new_changeset','socketService','x-univer-host','CONFLICT','sid','_transitionLocked','_data','enableAuthServer','People','LOGIN_URL_KEY','COLLAB_WEB_SOCKET_URL','snapshot','_pendingMutations','POST','socket\x20close','msCrypto','_HTTPService','_lockTransition','disposeWithMe','USERS_ENTER','?size=','_httpService','_undoStacks','slice','_process','duration','_checkMissing','NOT_COLLAB','_getCurrentRevision','&assign=','/universer-api/uniscript','debug','_retryCount','message$','updatePermissionObjEvent','init','getSheetBlock','_init','_keySchedule','PasswordBasedCipher','emitEvent','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createDecryptor','onSyncEditingCollabCursor','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_userManagerService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','data','actions','revision','capture','_minBufferSize','PERSON','PERMISSION_REJ','_imageSourceCache','createEncryptor','UNAUTHENTICATED','cmd','Undefined','updateOfflineData','pluginName','_executeRemoteChangeset','saveImage','_submitChangeset','fromCollab','_acknowledgedAwaitingChangeset','EvpKDF','YUUMI_UNABLE_LOAD_URL','_initDependencies','getInterceptPoints','_doFinalize','_permissionService','_state','resend','onMissedChangesetFetched','/universer-api/file/{fileID}/sign-url','keySize','enableSingleActiveInstanceLock','AES','asObservable','_type','set','Malformed\x20UTF-8\x20data','image/bmp','_candidateSocket','_doCryptBlock','loadSheet','\x0aAfter:\x20','conflict','_cipher','HMAC','_collaborationUIEventService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','patch','finalize','SUBMIT_CHANGESET','UNIVER_COLLABORATION_CLIENT_PLUGIN','/collaborator','_commentUpdate$','_mode','UNISCRIPT_RUN','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','kdf','failed\x20to\x20apply\x20missed\x20changesets!','open$','shouldCloseConn','fetch_missing','every','RECV','univer-pro.collaboration-client-socket-service','_applyRemoteChangeset','_doProcessBlock','3565540nFGXXC','UnitEmbedded','UPDATE_CURSOR','unitId','setConfig','LIVESHARE_REQUEST_HOST','reconnect','_oKey','_logService','_onJoinRoomEvent','complete','image/gif','getMember','/unit/','enc','_onRemoteRetry','/universer-api/comb','transformUndoRedo','_getRedoStack','commentUpdate$','UNRECOGNIZED','editingUnit','values','_compressMutationService','_telemetryService','encrypt','_resendWithTimeout','fetching\x20missing\x20changesets\x20from\x20','_rescheduleHeartbeat','onCommentUpdate','randomUUID','/block/','ceil','onMissingChangesets','random','_memberService','_initCloseConn','onTransformState','ERROR_EXCEED_SIZE','1560414xaXLxh','HmacSHA1','error$','_onUserLeave','getSnapshotAPIPath','[OfflineState]:\x20received\x20acknowledgement.','112034HexZDR','liveShareOperation','prototype','_members','FETCH_MISS','entityInit$','_createHelper','_decreaseWaiting','incrementRevOfUnit','_keyPriorReset','getCurrentRevOfUnit','_eventService','_createSocket','_joinRoom','reduce','clear','_commentService','hasher','replace','&source=','ERROR_IMAGE_TYPE','target','_retryConnectingTimer','fromCharCode','onSendChangeset','_ENC_XFORM_MODE','getDeserializedSheetBlock','entries','_timeoutTimer','onStarting','result','onRemoteRetry','_collaborationPaused','_handler','_transformService','_clearRedo','[OfflineState]:\x20received\x20changeset.','_onConnectionFailed','createInstance','SHA1','/allowed','json','from','[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.','collabWebSocketUrl','clone','LICENSE_DISTRO_REJECTED','_snapshotServerService','COMPLETION_FINISHED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getWorkbookSelections','JOIN_ROOM_PERMISSION_DENIED','Utf8','awaiting_with_pending','processBlock','UNKNOWN_CODE','_config','updateCollaborator','getImage','compose','subscribe','_clearLocalCache','PY_RUNTIME_SCRIPT_ERROR','getUnitType','awaitingChangeset','objectID','updateCursorEvent','toggleOffline','getRandomValues','socket$','encryptBlock','404840neKVAl','map','[SyncedState]:\x20received\x20rejection.','params','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCurrentSelections','not_collab','blockSize','_loadSheet','HEARTBEAT_TIMEOUT','_onOffline','originalMeta','GLOBAL_ROOMS_CNT_EXCEEDS','executeCommand','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_onRemoteChangeset','_doReset','_tryEnsureSocket','_onConnectionOpen','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitStatus$','url','_state$','FAIL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_collaborationTimeoutTimer','LOCAL_CACHE_INTERVAL','mixIn','UNIVER_UNKNOWN','sessionStatus$','isPermissionRej','$super','SNAPSHOT_HAS_BEEN_REMOVED','_onConflict','UNIVER_SHEET','joinEvent','session.room-cnt-exceeds','decryptBlock','_transformIMECache','_change$','_schedule','/object/','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','max','LIVESHARE_OPERATION','unitID','toLowerCase','BufferedBlockAlgorithm','UNIVER_SLIDE','buffer','transformMutationsWithChangeset','permissionRejEvent','code','BlockCipher','action','_key','execute','getUnitOnRev','ERROR_IMAGE','string','_resendTimer','crypto','LIVESHARE_TERMINATE','removeMember','WordArray','_awaitingChangeset','_roomMembers','COMPRESS_MUTATION_SEND','_toggleOnline','encode','salt','[CollaborationSession]','[SyncedState]:\x20received\x20acknowledgement.','onload','ciphertext','findIndex','getFocusedUnit','readInt32LE','_getAPIPrefix','createSocket','_getLoginPath','_transformStateCache','_configService','charCodeAt','includes','infoRsp','INVALID_ARGUMENT','retryConnectingInterval','rng','_hasher','_singleActiveUnitService','onRemoteAck','deleteCollaborator','_toggleOffline','listRoles','_tryReconnect','uniscriptRunEvent','onTransformSelections','SOCKET_FAILED','MD5','OTHER_CLIENTS_EDITING','__Key__','append','origin','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','loadOfflineData','pipe','unit-cache-','min','_throwTelemetryCollaborationNewChangeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','c1Prime','session','[FetchMissState]','Pkcs7','transformChangesets','onLocalMutation','name','_xformMode','_getSignURL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/authz','_getSendChangesetTimeout','5xiaOBV','indexOf','Encryptor','_substituteRedoStack','now','_univerInstanceService','filter','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','disableLocalCache','reset','_iKey','algo','OpenSSL','_clearTimeoutTimer','hostname','CBC','list','DEFAULT_FILE_NAME','loadDoc','_sheetTransformSelectionsService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/oidc/authpage','next','m2Prime','session.join-failed','UNIVER_DOC','_sendHeartbeatTimer','error','session.room-full','concat','LICENSE_MAX_UNITS_EXCEEDED','routeKey','APPLY_REJECT','_sendingTimer','UUID','PENDING','_onRemoteRejected','_members$','updateMember','_onCombEvent','3458046eCZTSn','BASE64','put','_sendHeartbeat','_createHandler','[DataLoaderService]','length','_snapshotService','location','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','image/jpeg','getResourcesRequest','type','initWorkbookPermissionChange','baseRev','putCollaborators','has','_revisionService','_emitMembers','collaboratorID','delete','collabSubmitChangesetUrl','_entities','JOIN_ROOM_NOT_EXISTS','catch','?url=','members','JOIN','_clearCollaborationTimeoutTimer','_parse','transformStack\x20failed!','_initUnitPermissionChange','MUTATION','_transformStack','defineProperty','_unitInfo$','_updateState','call','forEach','CipherParams','[UniverCollaborationClientPlugin]','_sender','create','_collaborationSessionService','_unitID','readyForCollab','collaborators','AWAITING_WITH_PENDING','floor','_changesetSessionId','JOIN_ROOM_FULL','getRoom','reject','transformSelections','_initRequestHeader','/role','_collabSessionService','_onFetchMissResult','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','OFFLINE','SHOULD_CLOSE_CONN','size','csAckEvent','_sessions','iterations','randomBytes','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','FETCH_MISSING','objectType','_redoStacks','onRemoteRej','startsWith','unknown','byteOffset','add','getTypeOfUnitDisposed$','RETRY_CONNECTING_MAX_COUNT','/-/object/list','45xtojuy','_initMergeInterceptor','_updateStatus','requireSession','closeSession','mode','onCommandExecuted','collaboration-client.config','\x0aCurrent:\x20','UNKNOWN_CMD','unitInfo$','src','_handlerCallback','_showConflictNotification','ALREADY_EXISTS','_injector','socket\x20open.','UPDATE_PERMISSION_OBJ','_telemetryInfo','compute','image/png','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CLOSE_ROOM','uploadFileServerUrl','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','join','sigBytes','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FAILED','status','objectActions','getTime','find','Hasher','_instanceService','offline','event$','change$','rev','mutations','format','_getAPIPrefixPath','localeService','[CollaborationUndoRedoService]','localCacheService','_commandService','getCurrentUser','INTERNAL_ERROR','responseType','HttpImport','CONNECTOR_DATA_TOO_LARGE','/universer-api/user/session-ticket','[PendingState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/-/object/-/batch_allowed','send','function','PERMISSION_DENIED','clamp','batchAllowed','submit\x20changeset\x20error!','_onUserJoin','get','then','_roomCreated$','byteLength','4358802jRNply','roles','HmacMD5','getLatestCsReqIdBySid','push','NO_OTHER_CLIENTS_EDITING','requestParams','SOCKET_FAILED_RETRY','COMMENT_UPDATE','synced','copyFileMeta','OPTIONAL','workbook','subject','_scheduleCollaborationTimeoutTimer','__esModule','_fetchMissChangesets','StreamCipher','_stopTelemetryCollaborationNewChangeset','apply','hasOwnProperty','update','_nRounds','_DEC_XFORM_MODE','deepClone','changesets','range','ivSize','_append','getCollabEntity$','pauseCollaboration','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','resolve','subUnitId','default','eventID','setShowComponents','userID','appendMutation','_socket','\x20to\x20','_clearUndo','ENSURE_SNAPSHOT_EXECUTION','getValue','_undoRedoService','_loadDoc','loadUnit','substr','auth.needGotoLoginAlert','MSG_FOR_ERROR','IDLE','href','sessionStatus','joinRsp','_isPermissionRej','_socketService','stopTime','_getUndoStack','OTHER_CLIENT_EDITING','{fileID}','_onMessage','_syncEditingCollabCursor','interceptor','dispose','_socketMessageSubscription','_replaceFileID','pad','PSEUDO_FETCH_MISSING_RESULT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getMemberID','unpad','extend','_remoteChangesetQueue','onlyLocal','UNDEFINED','newCsEvent','parse','Base64','cfg','addImageSourceCache','Base','memberID','sendChangesetTimeout','LIVESHARE_FETCH_OPERATIONS','[CollaborationSessionService]:\x20socket\x20error','repeat','charAt','getTypeOfUnitAdded$','state','1707112MTQYsD','readAsDataURL','UNIVER_PROJECT','lib','NoPadding','[PendingState]:\x20received\x20rejection.','_disableEditing','/fetchmissing?from=','_resendTimeout','fetchMissingChangesets','exports','state$','INGEST','_startCollaboration','enableOfflineEditing','_iv','registerHTTPInterceptor','splice','getUnitId','/new_changes','saveSheetBlock','allowed','NEW_CHANGESETS','__creator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toggleOnline','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','selections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_shouldReportTelemetry','LEAVE','c2Prime','ONLINE','_waitCount','resourceIDs','/universer-api/snapshot/','getSheetId','_event$','post','fetchThroughInterceptors','bind','override','waitForRoom$','snapshotServerUrl','close','_unlockTransition','dispose$','commentUpdateEvent','_entityInit$','getCollabEntity','saveSnapshot','pending','_hash','_sessionStatus$','online$','JOINING','_scheduleCompleteTimestamp','_updateLocalCache','onStateChange','_transformSelections','roomInfos','SUBMIT_CHANGESET_TIMEOUT','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect'];_0x3db1=function(){return _0x133e35;};return _0x3db1();}var Cs=Object['defineProperty'],bs=Object[_0x1f558c(0x330)],Rs=(_0x601515,_0x100846,_0x4ac7b9,_0x5d9883)=>{var _0x18dddd=_0x1f558c;for(var _0x370929=_0x5d9883>0x1?void 0x0:_0x5d9883?bs(_0x100846,_0x4ac7b9):_0x100846,_0x582aff=_0x601515[_0x18dddd(0x158)]-0x1,_0x2757ef;_0x582aff>=0x0;_0x582aff--)(_0x2757ef=_0x601515[_0x582aff])&&(_0x370929=(_0x5d9883?_0x2757ef(_0x100846,_0x4ac7b9,_0x370929):_0x2757ef(_0x370929))||_0x370929);return _0x5d9883&&_0x370929&&Cs(_0x100846,_0x4ac7b9,_0x370929),_0x370929;},hi=(_0x582283,_0x367e8d)=>(_0x325768,_0x26a1e1)=>_0x367e8d(_0x325768,_0x26a1e1,_0x582283);const Os=_0x1f558c(0x42e);let yt=class{constructor(_0x4eaaa7,_0x5eb19d){var _0xecd69b=_0x1f558c;this['_configService']=_0x4eaaa7,this[_0xecd69b(0x2d4)]=_0x5eb19d;}[_0x1f558c(0x1ce)](){var _0x4f90c8=_0x1f558c,_0x236c25,_0x34db7c;const _0x52905a=this[_0x4f90c8(0x405)]['getConfig'](Ni),_0x3bbfc0=this[_0x4f90c8(0x405)]['getConfig'](q);return(_0x34db7c=(_0x236c25=_0x3bbfc0==null?void 0x0:_0x3bbfc0[_0x4f90c8(0x2a5)])!=null?_0x236c25:_0x52905a)!=null?_0x34db7c:Os;}async[_0x1f558c(0x13a)](_0x503019){var _0x37280a=_0x1f558c;const _0x1ccff6=this['_getAPIPrefixPath']()+_0x37280a(0x32a);return{'list':[{'title':_0x37280a(0x2cc),'mentions':(await this['_HTTPService']['get'](_0x1ccff6,{'params':{'objectID':_0x503019[_0x37280a(0x33e)],'unitID':_0x503019['unitId']}}))['body'][_0x37280a(0x181)]['map'](_0x586df9=>({'objectId':_0x586df9['id'],'name':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x42a)],'metadata':{'icon':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x2a6)]},'label':_0x586df9['subject'][_0x37280a(0x42a)],'objectType':_0x4e27b9[_0x37280a(0x2fc)]})),'metadata':{},'type':_0x4e27b9['PERSON']}]};}};yt=Rs([hi(0x0,_0x5b2811(_0x4ea54a)),hi(0x1,_0x5b2811(_0x5b9922))],yt);var ys=Object[_0x1f558c(0x175)],Ns=Object[_0x1f558c(0x330)],Ds=(_0x3b3503,_0x5b43ee,_0x472334,_0x4f3ef1)=>{var _0x25fedf=_0x1f558c;for(var _0x22c226=_0x4f3ef1>0x1?void 0x0:_0x4f3ef1?Ns(_0x5b43ee,_0x472334):_0x5b43ee,_0x357a15=_0x3b3503[_0x25fedf(0x158)]-0x1,_0x5c31a4;_0x357a15>=0x0;_0x357a15--)(_0x5c31a4=_0x3b3503[_0x357a15])&&(_0x22c226=(_0x4f3ef1?_0x5c31a4(_0x5b43ee,_0x472334,_0x22c226):_0x5c31a4(_0x22c226))||_0x22c226);return _0x4f3ef1&&_0x22c226&&ys(_0x5b43ee,_0x472334,_0x22c226),_0x22c226;},Ue=(_0x58d992,_0x1cea37)=>(_0x12fd01,_0x52e57b)=>_0x1cea37(_0x12fd01,_0x52e57b,_0x58d992);let at=class extends _0x1a5dd9{constructor(_0x29e80b,_0xb6d63a,_0x1fcf73,_0x350e04,_0x19a039){var _0x256b4b=_0x1f558c;super(),this[_0x256b4b(0x1b3)]=_0x29e80b,this[_0x256b4b(0x435)]=_0xb6d63a,this[_0x256b4b(0x30f)]=_0x1fcf73,this[_0x256b4b(0x17e)]=_0x350e04,this[_0x256b4b(0x323)]=_0x19a039,this[_0x256b4b(0x172)](),this[_0x256b4b(0x35f)]();}['_initCloseConn'](){var _0x2c6fb4=_0x1f558c;const _0x5be4a4=async _0x3dd495=>{var _0x467f6e=_0x4725;(await this['_collaborationSessionService'][_0x467f6e(0x1a7)](_0x3dd495))[_0x467f6e(0x1c9)][_0x467f6e(0x41e)](_0x1bdf9d(_0x1858e7=>_0x1858e7[_0x467f6e(0x20b)]===_0x238e1f[_0x467f6e(0x190)]),_0x30142f(this[_0x467f6e(0x270)]))[_0x467f6e(0x3a4)](_0x524afe=>{var _0x279de2=_0x467f6e;const _0x5a09d5=_0x524afe,{reason:_0x2abdb6}=_0x5a09d5[_0x279de2(0x2f7)];this[_0x279de2(0x323)][_0x279de2(0x2ec)]({'id':se[_0x279de2(0x1ba)],'data':_0x2abdb6}),this[_0x279de2(0x30f)]['updatePermissionPoint'](new _0x6a1b02(_0x3dd495)['id'],!0x1),this['_collaborationSessionService'][_0x279de2(0x1a8)](_0x3dd495);});};_0x404c78(this['_univerInstanceService'][_0x2c6fb4(0x23f)](_0x3886a9['UNIVER_SHEET']),this[_0x2c6fb4(0x435)]['getTypeOfUnitAdded$'](_0x3886a9[_0x2c6fb4(0x143)]))['pipe'](_0xeca816(_0xc5d8c8=>_0xc5d8c8['getUnitId']()),_0x1bdf9d(_0x38db8c=>!_0x5c098a(_0x38db8c)),_0x30142f(this[_0x2c6fb4(0x270)]))[_0x2c6fb4(0x3a4)](_0x4e46ce=>{_0x5be4a4(_0x4e46ce);});}[_0x1f558c(0x172)](){var _0x33f8f2=_0x1f558c;const _0x58d07c=async _0x3ef88c=>{var _0x4cb0c6=_0x4725;const _0x155477=await this[_0x4cb0c6(0x17e)][_0x4cb0c6(0x1a7)](_0x3ef88c),_0x18f2f1=this['_injector']['get'](_0x15e11e);_0x155477[_0x4cb0c6(0x1c9)][_0x4cb0c6(0x41e)](_0x1bdf9d(_0x408b2f=>_0x408b2f[_0x4cb0c6(0x20b)]===_0x238e1f['UPDATE_PERMISSION_OBJ']),_0x30142f(this[_0x4cb0c6(0x270)]))[_0x4cb0c6(0x3a4)](_0x3c412e=>{var _0x2120dd=_0x4cb0c6;const _0x4038b1=_0x3c412e,{objectId:_0x2aff2f}=_0x4038b1[_0x2120dd(0x2f7)];_0x2aff2f===_0x3ef88c?_0x18f2f1[_0x2120dd(0x160)](_0x3ef88c):_0x18f2f1[_0x2120dd(0x29e)](_0x3ef88c,_0x2aff2f);});};_0x404c78(this[_0x33f8f2(0x435)][_0x33f8f2(0x23f)](_0x3886a9[_0x33f8f2(0x3d3)]))['pipe'](_0xeca816(_0x2585de=>_0x2585de[_0x33f8f2(0x253)]()),_0x1bdf9d(_0x348d6a=>!_0x5c098a(_0x348d6a)),_0x30142f(this[_0x33f8f2(0x270)]))[_0x33f8f2(0x3a4)](_0x456290=>{_0x58d07c(_0x456290);});}};at=Ds([Ue(0x0,_0x5b2811(_0x5b79bd)),Ue(0x1,_0x30c3be),Ue(0x2,_0x5b9158),Ue(0x3,_0x5b2811(Le)),Ue(0x4,_0x5b2811(pe))],at);var Ps=Object[_0x1f558c(0x175)],ws=Object[_0x1f558c(0x330)],Us=(_0x1de490,_0x3ad4c8,_0x4461e2,_0x40ca7b)=>{for(var _0x559b6a=_0x40ca7b>0x1?void 0x0:_0x40ca7b?ws(_0x3ad4c8,_0x4461e2):_0x3ad4c8,_0x314b02=_0x1de490['length']-0x1,_0x915d2b;_0x314b02>=0x0;_0x314b02--)(_0x915d2b=_0x1de490[_0x314b02])&&(_0x559b6a=(_0x40ca7b?_0x915d2b(_0x3ad4c8,_0x4461e2,_0x559b6a):_0x915d2b(_0x559b6a))||_0x559b6a);return _0x40ca7b&&_0x559b6a&&Ps(_0x3ad4c8,_0x4461e2,_0x559b6a),_0x559b6a;},_i=(_0x5518b4,_0x12725d)=>(_0x38eab3,_0x47c013)=>_0x12725d(_0x38eab3,_0x47c013,_0x5518b4);let Nt=class{constructor(_0x2d299a,_0x59a0fb){var _0x3fd296=_0x1f558c;this[_0x3fd296(0x405)]=_0x2d299a,this[_0x3fd296(0x2d9)]=_0x59a0fb;}async[_0x1f558c(0x3ec)](_0x4934e7,_0x24574b){var _0x3ecaa4=_0x1f558c,_0x424cc4;const {unitID:_0x24f2f8,type:_0x23f6db,revision:_0x34aaf3=0x0}=_0x24574b,_0x279310=this[_0x3ecaa4(0x366)]()+'/'+_0x23f6db+_0x3ecaa4(0x348)+_0x24f2f8+'/rev/'+_0x34aaf3,_0x3b29c8=(await this[_0x3ecaa4(0x2d9)]['get'](_0x279310))[_0x3ecaa4(0x2ac)],_0x2bca10=(_0x424cc4=_0x3b29c8[_0x3ecaa4(0x2cf)])==null?void 0x0:_0x424cc4[_0x3ecaa4(0x1f3)];if(_0x2bca10){const _0x439fc0=_0x2bca10==null?void 0x0:_0x2bca10[_0x3ecaa4(0x3ba)],_0x151b2c=_0x9a9792['encode'](_0x3b9e94(_0x439fc0));_0x2bca10[_0x3ecaa4(0x3ba)]=_0x151b2c,Object[_0x3ecaa4(0x383)](_0x2bca10['sheets'])[_0x3ecaa4(0x179)](([,_0x598a8a])=>{var _0x39e69a=_0x3ecaa4;const _0x518329=_0x598a8a[_0x39e69a(0x3ba)],_0x57f1fa=_0x9a9792[_0x39e69a(0x3f8)](_0x3b9e94(_0x518329));_0x598a8a['originalMeta']=_0x57f1fa;});}return _0x3b29c8;}async[_0x1f558c(0x2e8)](_0x2b35d5,_0x47074f){var _0x772a27=_0x1f558c;const {unitID:_0x56beb6,type:_0x388a1d,blockID:_0x2d8544}=_0x47074f,_0x228308=this['_getAPIPrefix']()+'/'+_0x388a1d+_0x772a27(0x348)+_0x56beb6+'/block/'+_0x2d8544;return(await this[_0x772a27(0x2d9)][_0x772a27(0x1e3)](_0x228308))[_0x772a27(0x2ac)];}async[_0x1f558c(0x382)](_0x35c164,_0x198541){var _0xe832b3=_0x1f558c;const {unitID:_0xd081f3,type:_0x13d1e6,blockID:_0x306664}=_0x198541,_0x2511d6=this[_0xe832b3(0x401)]()+_0xe832b3(0x35a)+_0x13d1e6+_0xe832b3(0x348)+_0xd081f3+_0xe832b3(0x35a)+_0x306664;return(await this['_httpService'][_0xe832b3(0x1e3)](_0x2511d6))['body'];}async[_0x1f558c(0x24a)](_0x5075c9,_0x444349){var _0x35290c=_0x1f558c;const {unitID:_0x2d07db,type:_0x2545cb,from:_0x1d126b,to:_0x4568df}=_0x444349,_0x7902f=this[_0x35290c(0x401)]()+'/'+_0x2545cb+_0x35290c(0x348)+_0x2d07db+_0x35290c(0x248)+_0x1d126b+'&to='+_0x4568df;return(await this[_0x35290c(0x2d9)][_0x35290c(0x1e3)](_0x7902f))['body'];}['getSnapshotAPIPath'](){var _0x202b30=_0x1f558c,_0x4869d3;return(_0x4869d3=this['_configService'][_0x202b30(0x2a0)](En))!=null?_0x4869d3:this[_0x202b30(0x401)]();}[_0x1f558c(0x401)](){var _0xd93bdb=_0x1f558c,_0x4480f1,_0x22325f;const _0x26bac8=this[_0xd93bdb(0x405)][_0xd93bdb(0x2a0)](gn),_0x329094=this[_0xd93bdb(0x405)]['getConfig'](q);return(_0x22325f=(_0x4480f1=_0x329094==null?void 0x0:_0x329094[_0xd93bdb(0x26d)])!=null?_0x4480f1:_0x26bac8)!=null?_0x22325f:Sn;}async[_0x1f558c(0x15e)](_0x40affa,_0x11d391){var _0x103df4=_0x1f558c;const _0x1166b0=_0x103df4(0x265)+_0x11d391['type']+_0x103df4(0x348)+_0x11d391[_0x103df4(0x3e0)]+'/resources';return(await this[_0x103df4(0x2d9)][_0x103df4(0x1e3)](_0x1166b0,{'params':{'resourceId':JSON[_0x103df4(0x283)](_0x11d391[_0x103df4(0x264)])}}))[_0x103df4(0x2ac)];}[_0x1f558c(0x274)](){var _0x55c0da=_0x1f558c;throw new Error(_0x55c0da(0x3c4));}[_0x1f558c(0x255)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1ea)](){var _0xd1a3b9=_0x1f558c;throw new Error(_0xd1a3b9(0x3c4));}};Nt=Us([_i(0x0,_0x4ea54a),_i(0x1,_0x5b2811(_0x5b9922))],Nt);var As=Object[_0x1f558c(0x175)],xs=Object[_0x1f558c(0x330)],Ls=(_0x118a9c,_0x503f4b,_0x244f20,_0x52a483)=>{for(var _0x498495=_0x52a483>0x1?void 0x0:_0x52a483?xs(_0x503f4b,_0x244f20):_0x503f4b,_0x54acdd=_0x118a9c['length']-0x1,_0x1b79b3;_0x54acdd>=0x0;_0x54acdd--)(_0x1b79b3=_0x118a9c[_0x54acdd])&&(_0x498495=(_0x52a483?_0x1b79b3(_0x503f4b,_0x244f20,_0x498495):_0x1b79b3(_0x498495))||_0x498495);return _0x52a483&&_0x498495&&As(_0x503f4b,_0x244f20,_0x498495),_0x498495;},Ae=(_0xf7de90,_0x538d87)=>(_0x4944e6,_0xa2d163)=>_0x538d87(_0x4944e6,_0xa2d163,_0xf7de90);let Dt=class extends _0x457268{constructor(_0x2a943f,_0x3e26b2,_0x1c30b1,_0xbdb752,_0x3f6246){var _0x3a4b2b=_0x1f558c;super(_0x2a943f,_0x3e26b2,_0x1c30b1),this[_0x3a4b2b(0x38a)]=_0xbdb752,this[_0x3a4b2b(0x343)]=_0x3f6246;}[_0x1f558c(0x34c)](_0x1076ba,_0x1570ec){var _0x2c8222=_0x1f558c;const _0x3e52a2=this[_0x2c8222(0x221)](_0x1076ba);if(_0x3e52a2)try{const _0x35129e=this['_transformStack'](_0x3e52a2,_0x1570ec);this[_0x2c8222(0x28d)](_0x1076ba,_0x35129e);}catch(_0x4def73){this[_0x2c8222(0x343)][_0x2c8222(0x145)]('[CollaborationUndoRedoService]',_0x4def73),this[_0x2c8222(0x211)](_0x1076ba);}const _0x1f6566=this[_0x2c8222(0x34d)](_0x1076ba);if(_0x1f6566)try{const _0x187220=this[_0x2c8222(0x174)](_0x1f6566,_0x1570ec);this[_0x2c8222(0x433)](_0x1076ba,_0x187220);}catch(_0x4924be){this[_0x2c8222(0x343)][_0x2c8222(0x145)](_0x4924be),this[_0x2c8222(0x38b)](_0x1076ba);}}[_0x1f558c(0x211)](_0x5bd5a3){var _0x17345a=_0x1f558c;const _0x388e76=this[_0x17345a(0x221)](_0x5bd5a3);_0x388e76&&(_0x388e76[_0x17345a(0x158)]=0x0,this[_0x17345a(0x1a6)]());}[_0x1f558c(0x38b)](_0x13ae24){var _0x55fd1f=_0x1f558c;const _0x303fc2=this['_getRedoStack'](_0x13ae24);_0x303fc2&&(_0x303fc2[_0x55fd1f(0x158)]=0x0,this[_0x55fd1f(0x1a6)]());}[_0x1f558c(0x28d)](_0x5dd2f0,_0x6d582e){var _0x3eddd4=_0x1f558c;this[_0x3eddd4(0x2da)][_0x3eddd4(0x319)](_0x5dd2f0,_0x6d582e),this[_0x3eddd4(0x1a6)]();}['_substituteRedoStack'](_0x1ea684,_0x369a8c){var _0x2f4140=_0x1f558c;this[_0x2f4140(0x19b)][_0x2f4140(0x319)](_0x1ea684,_0x369a8c),this[_0x2f4140(0x1a6)]();}['_transformStack'](_0x48d0ff,_0x412b5f){var _0x491152=_0x1f558c;const _0x5b1226=[];let _0xaa9454=_0x412b5f,_0x138d66=_0x412b5f;for(let _0x1f1322=_0x48d0ff['length']-0x1;_0x1f1322>=0x0;_0x1f1322--){const {unitID:_0x5bae4c,undoMutations:_0x322c5d,redoMutations:_0x3a67e6}=_0x48d0ff[_0x1f1322],_0x1fb6ef=this[_0x491152(0x38a)][_0x491152(0x3e5)](_0xaa9454,_0x322c5d),_0xf630cd=this[_0x491152(0x38a)]['transformMutationsWithChangeset'](_0x138d66,_0x3a67e6);if(_0x10ccbc(_0x1fb6ef)||_0x10ccbc(_0xf630cd)){this['_logService'][_0x491152(0x145)](_0x491152(0x1d0),_0x491152(0x171),_0x1fb6ef,_0xf630cd);break;}_0xaa9454=_0x1fb6ef[_0x491152(0x424)],_0x138d66=_0xf630cd[_0x491152(0x424)],_0x5b1226[_0x491152(0x1eb)]({'unitID':_0x5bae4c,'undoMutations':_0x1fb6ef[_0x491152(0x141)],'redoMutations':_0xf630cd['m2Prime']});}return _0x5b1226['reverse']();}};Dt=Ls([Ae(0x0,_0x30c3be),Ae(0x1,_0x456150),Ae(0x2,_0x201420),Ae(0x3,_0x45b9e1),Ae(0x4,_0x574408)],Dt);var Ui=Object[_0x1f558c(0x175)],Ms=Object[_0x1f558c(0x330)],$s=(_0x1a19e0,_0x1fcdd0,_0x327650)=>_0x1fcdd0 in _0x1a19e0?Ui(_0x1a19e0,_0x1fcdd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x327650}):_0x1a19e0[_0x1fcdd0]=_0x327650,Hs=(_0x40de5e,_0x195004,_0x4fc68d,_0x44517b)=>{var _0x2ec702=_0x1f558c;for(var _0x49f8c6=_0x44517b>0x1?void 0x0:_0x44517b?Ms(_0x195004,_0x4fc68d):_0x195004,_0x3d74b7=_0x40de5e[_0x2ec702(0x158)]-0x1,_0x19ace2;_0x3d74b7>=0x0;_0x3d74b7--)(_0x19ace2=_0x40de5e[_0x3d74b7])&&(_0x49f8c6=(_0x44517b?_0x19ace2(_0x195004,_0x4fc68d,_0x49f8c6):_0x19ace2(_0x49f8c6))||_0x49f8c6);return _0x44517b&&_0x49f8c6&&Ui(_0x195004,_0x4fc68d,_0x49f8c6),_0x49f8c6;},St=(_0x4917f9,_0x224464)=>(_0x59ea0b,_0x515ef2)=>_0x224464(_0x59ea0b,_0x515ef2,_0x4917f9),ks=(_0x416efc,_0x2abe36,_0x59890b)=>$s(_0x416efc,_0x2abe36+'',_0x59890b);const js=_0x1f558c(0x329);let Pt=class extends _0x5290de{constructor(_0xb93f19,_0x3cde3a,_0x3cb917,_0x158a1b){var _0x4528b1=_0x1f558c;super(),N(this,_0x4528b1(0x3a0)),(this['_logService']=_0x3cde3a,this[_0x4528b1(0x1b3)]=_0x3cb917,this['_configService']=_0x158a1b);const {..._0x4def11}=_0x33bad6({},An,_0xb93f19);if(!_0x4def11[_0x4528b1(0x2c5)])throw new Error(_0x4528b1(0x41b));this[_0x4528b1(0x3a0)]=_0x4def11,this[_0x4528b1(0x405)][_0x4528b1(0x33f)](q,_0x4def11);}[_0x1f558c(0x385)](){var _0x5d63da=_0x1f558c;this[_0x5d63da(0x2ed)](),this[_0x5d63da(0x30c)]();}[_0x1f558c(0x2ed)](){var _0x2cbf3c=_0x1f558c,_0x3b916d,_0x1be061;this[_0x2cbf3c(0x1b3)][_0x2cbf3c(0x163)](_0x46c745)&&this[_0x2cbf3c(0x343)][_0x2cbf3c(0x145)](_0x2cbf3c(0x17b),_0x2cbf3c(0x399));const _0x13f316=_0x591a49([[_0x46c745,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this['_config'][_0x2cbf3c(0x2c5)]}],[_0x389d38,{'useClass':Nt}],[_0x1b9835,{'useClass':bt}],[_0x3f6478,{'useClass':Ot}],[_0x4e0d64,{'useClass':yt}],[rt],[Ct]],(_0x3b916d=this['_config'])==null?void 0x0:_0x3b916d[_0x2cbf3c(0x26b)]);if(!((_0x1be061=this[_0x2cbf3c(0x3a0)])!=null&&_0x1be061[_0x2cbf3c(0x315)])){const _0x10f1dc=_0x13f316[_0x2cbf3c(0x3fe)](([_0x334c35])=>_0x334c35===ht);_0x10f1dc!==-0x1&&_0x13f316[_0x2cbf3c(0x252)](_0x10f1dc,0x1);}_0x8001ff(this['_injector'],_0x13f316);}['_initDependencies'](){var _0x21a740=_0x1f558c,_0x3c93df,_0x72a343,_0x5f395b;this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](_0x5b9922)[_0x21a740(0x251)]({'priority':0x14,'interceptor':_0x3cb4fe({'maxParallel':0x6})}),(_0x3c93df=this['_config'])!=null&&_0x3c93df[_0x21a740(0x24f)]||(_0x72a343=this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](J,_0x5bd1e3[_0x21a740(0x1f2)]))==null||_0x72a343[_0x21a740(0x439)](),(_0x5f395b=this['_config'])!=null&&_0x5f395b[_0x21a740(0x2cb)]&&_0x3a3a91(this[_0x21a740(0x1b3)],[[st]]),_0x3a3a91(this['_injector'],[[ot],[rt],[at]]);}};ks(Pt,_0x1f558c(0x304),js),Pt=Hs([_0x208650(_0x3c03b4,_0xc797fa),St(0x1,_0x574408),St(0x2,_0x5b2811(_0x5b79bd)),St(0x3,_0x4ea54a)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|
1
|
+
var _0x3b7310=_0x5c5f;(function(_0x31062c,_0x4d5843){var _0x589aca=_0x5c5f,_0x39bcf7=_0x31062c();while(!![]){try{var _0x5042c3=parseInt(_0x589aca(0xd8))/0x1+-parseInt(_0x589aca(0x2b7))/0x2*(parseInt(_0x589aca(0x1bd))/0x3)+parseInt(_0x589aca(0x2c9))/0x4*(-parseInt(_0x589aca(0x379))/0x5)+parseInt(_0x589aca(0x1f7))/0x6*(-parseInt(_0x589aca(0x325))/0x7)+parseInt(_0x589aca(0x260))/0x8+-parseInt(_0x589aca(0x1a5))/0x9+parseInt(_0x589aca(0x288))/0xa;if(_0x5042c3===_0x4d5843)break;else _0x39bcf7['push'](_0x39bcf7['shift']());}catch(_0x19e5a6){_0x39bcf7['push'](_0x39bcf7['shift']());}}}(_0x5307,0x5b134));var Ai=Object['defineProperty'],Pi=(_0x5af9b2,_0x40d62c,_0x1c7b29)=>_0x40d62c in _0x5af9b2?Ai(_0x5af9b2,_0x40d62c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c7b29}):_0x5af9b2[_0x40d62c]=_0x1c7b29,N=(_0x27d06f,_0x20e866,_0x5b7a31)=>Pi(_0x27d06f,typeof _0x20e866!=_0x3b7310(0x262)?_0x20e866+'':_0x20e866,_0x5b7a31);import{createIdentifier as _0xcc195f,Inject as _0x419509,Injector as _0x33a94f,IConfigService as _0x29183e,ILogService as _0x2e40a9,Disposable as _0x4a3911,DisposableCollection as _0xf8e232,toDisposable as _0x47f1eb,IUniverInstanceService as _0x56341d,UserManagerService as _0x14d174,UniverInstanceType as _0x53691f,LocaleService as _0x503d26,Optional as _0x21c4ab,RxDisposable as _0x3f9fed,Tools as _0x41ec87,Rectangle as _0x188c51,ICommandService as _0x1ab65f,JSONX as _0x2e7333,CommandType as _0x3633bf,IUndoRedoService as _0x4d6f06,IPermissionService as _0x373f2c,sequenceExecute as _0x423bb5,Workbook as _0x15918f,MentionType as _0x3b0f3f,isInternalEditorID as _0x1415a5,LocalUndoRedoService as _0x38bd2b,IContextService as _0x537307,DependentOn as _0xbb74b9,Plugin as _0x5ef556,merge as _0x521b7e,mergeOverrideWithDependencies as _0x334dd0,IAuthzIoService as _0x1b78cb,IMentionIOService as _0x483c32,registerDependencies as _0xe7be63,Quantity as _0x2933ef,touchDependencies as _0x59b4d2}from'@univerjs/core';import{Subject as _0x2898a5,merge as _0x4a0758,of as _0x202106,BehaviorSubject as _0x31cf27,takeUntil as _0x194700,ReplaySubject as _0x452f18,take as _0x473e6b,map as _0x3b2e8f,shareReplay as _0x2333ec,firstValueFrom as _0x3725c7,concatMap as _0x1520fa}from'rxjs';import{map as _0x4c799b,take as _0x302c16,filter as _0x6d3c7d,delay as _0x437b67,takeUntil as _0x5a76c5}from'rxjs/operators';import{CollaborationEvent as _0x502491,ISnapshotServerService as _0x35beb0,parseChangesetToProtocol as _0x35045d,ITransformService as _0xcdffcf,isTransformMutationsWithChangesetSuccess as _0x4ceef6,mapDocumentTypeToUniverType as _0x383f21,RevisionService as _0x3bf5fe,isTransformChangesetsSuccess as _0x2eedf1,CompressMutationService as _0x422ef4,parseProtocolChangeset as _0x46451d,SnapshotService as _0x58b0db,textEncoder as _0x697e0a,b64DecodeUnicode as _0x4b17bd,isTransformMutationsWithChangesetFailure as _0x18000b,UniverCollaborationPlugin as _0x3d9846}from'@univerjs-pro/collaboration';import{HTTPService as _0x347bc3,ISocketService as _0x9fe75,MergeInterceptorFactory as _0x80e75,HTTPRequest as _0xa2750b,UniverNetworkPlugin as _0x7ba0dc,ThresholdInterceptorFactory as _0x979e5d}from'@univerjs/network';import{ITelemetryService as _0x500461}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3664c5}from'@univerjs/docs';import{SheetsSelectionsService as _0x1f38e4,SetSelectionsOperation as _0x2a36f2,InsertSheetMutation as _0x2473e0,EmptyMutation as _0x5be811,WorkbookEditablePermission as _0x251d98,SheetPermissionInitController as _0x2503f2}from'@univerjs/sheets';import{ImageSourceType as _0x164f47,ImageUploadStatusType as _0x6a3652,IImageIoService as _0x241e21}from'@univerjs/drawing';import{getGlobalObject as _0x5efa8e}from'@univerjs-pro/license';const pr=_0x3b7310(0xd3),mr=_0x3b7310(0x30a),gr=_0x3b7310(0x39a),xs=_0x3b7310(0x2f1),Sr=0x7d0,Er=_0x3b7310(0x14b),Ir='ws://127.0.0.1:8000/universer-api/comb/connect',Ls='/universer-api/user/session-ticket',Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x3b7310(0x375),gi=0x4e20,Rr=0x4e20,br=_0x3b7310(0x313),yr=0x3,Ms=_0x3b7310(0x21f),ks=0x3e8,Or=_0x3b7310(0x21c),Nr=_0x3b7310(0x37a),Dr=_0x3b7310(0x114),wr='/universer-api/oidc/authpage',$s=_0x3b7310(0xbc),Hs=_0x3b7310(0x233);var Si=(_0x1ab12a=>(_0x1ab12a[_0x1ab12a[_0x3b7310(0x332)]=0x0]=_0x3b7310(0x332),_0x1ab12a[_0x1ab12a['OK']=0x1]='OK',_0x1ab12a[_0x1ab12a['INTERNAL_ERROR']=0x2]=_0x3b7310(0x224),_0x1ab12a[_0x1ab12a[_0x3b7310(0x32a)]=0x3]=_0x3b7310(0x32a),_0x1ab12a[_0x1ab12a[_0x3b7310(0xc3)]=0x4]=_0x3b7310(0xc3),_0x1ab12a[_0x1ab12a[_0x3b7310(0x1e7)]=0x5]='UNAUTHENTICATED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x12a)]=0x6]=_0x3b7310(0x12a),_0x1ab12a[_0x1ab12a['INVALID_ARGUMENT']=0x7]=_0x3b7310(0x2b2),_0x1ab12a[_0x1ab12a[_0x3b7310(0x179)]=0x8]=_0x3b7310(0x179),_0x1ab12a[_0x1ab12a[_0x3b7310(0x2c5)]=0x9]=_0x3b7310(0x2c5),_0x1ab12a[_0x1ab12a[_0x3b7310(0x25a)]=0x1389]=_0x3b7310(0x25a),_0x1ab12a[_0x1ab12a[_0x3b7310(0xff)]=0x1771]=_0x3b7310(0xff),_0x1ab12a[_0x1ab12a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x36d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1ab12a[_0x1ab12a['APPLY_REJECT']=0x1b59]=_0x3b7310(0x17b),_0x1ab12a[_0x1ab12a[_0x3b7310(0x225)]=0x1b5a]=_0x3b7310(0x225),_0x1ab12a[_0x1ab12a[_0x3b7310(0x38d)]=0x1b5b]=_0x3b7310(0x38d),_0x1ab12a[_0x1ab12a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3b7310(0x394),_0x1ab12a[_0x1ab12a[_0x3b7310(0x2cf)]=0x1b5d]='APPLY_DUPLICATED',_0x1ab12a[_0x1ab12a[_0x3b7310(0x33b)]=0x1f41]=_0x3b7310(0x33b),_0x1ab12a[_0x1ab12a[_0x3b7310(0x142)]=0x2329]=_0x3b7310(0x142),_0x1ab12a[_0x1ab12a[_0x3b7310(0x281)]=0x232a]=_0x3b7310(0x281),_0x1ab12a[_0x1ab12a[_0x3b7310(0x1a2)]=0x232b]=_0x3b7310(0x1a2),_0x1ab12a[_0x1ab12a[_0x3b7310(0x221)]=0x232c]=_0x3b7310(0x221),_0x1ab12a[_0x1ab12a[_0x3b7310(0x236)]=0x232d]=_0x3b7310(0x236),_0x1ab12a[_0x1ab12a[_0x3b7310(0x270)]=0x2711]=_0x3b7310(0x270),_0x1ab12a[_0x1ab12a[_0x3b7310(0x27e)]=0x2712]=_0x3b7310(0x27e),_0x1ab12a[_0x1ab12a[_0x3b7310(0x30e)]=0x2713]=_0x3b7310(0x30e),_0x1ab12a[_0x1ab12a[_0x3b7310(0x200)]=0x2714]=_0x3b7310(0x200),_0x1ab12a[_0x1ab12a[_0x3b7310(0x317)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1ab12a[_0x1ab12a[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x1ab12a))(Si||{}),Q=(_0x3eb1c8=>(_0x3eb1c8[_0x3eb1c8['UNIVER_UNKNOWN']=0x0]=_0x3b7310(0x282),_0x3eb1c8[_0x3eb1c8['UNIVER_DOC']=0x1]=_0x3b7310(0x12b),_0x3eb1c8[_0x3eb1c8[_0x3b7310(0xe8)]=0x2]='UNIVER_SHEET',_0x3eb1c8[_0x3eb1c8['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3eb1c8[_0x3eb1c8[_0x3b7310(0x196)]=0x4]=_0x3b7310(0x196),_0x3eb1c8[_0x3eb1c8[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x3eb1c8))(Q||{}),F=(_0x1024f6=>(_0x1024f6[_0x1024f6['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1024f6[_0x1024f6[_0x3b7310(0x33e)]=0x1]=_0x3b7310(0x33e),_0x1024f6[_0x1024f6['JOIN']=0x2]=_0x3b7310(0x299),_0x1024f6[_0x1024f6[_0x3b7310(0xd9)]=0x3]='LEAVE',_0x1024f6[_0x1024f6[_0x3b7310(0x37c)]=0x4]='INGEST',_0x1024f6[_0x1024f6[_0x3b7310(0x1fa)]=0x5]=_0x3b7310(0x1fa),_0x1024f6[_0x1024f6[_0x3b7310(0x1c5)]=0x6]=_0x3b7310(0x1c5),_0x1024f6[_0x1024f6[_0x3b7310(0x115)]=-0x1]='UNRECOGNIZED',_0x1024f6))(F||{}),ge=(_0x40ba65=>(_0x40ba65[_0x40ba65[_0x3b7310(0x292)]=0x0]=_0x3b7310(0x292),_0x40ba65[_0x40ba65['OK']=0x1]='OK',_0x40ba65[_0x40ba65['FAIL']=0x2]=_0x3b7310(0x183),_0x40ba65[_0x40ba65[_0x3b7310(0x1f2)]=0x3e9]=_0x3b7310(0x1f2),_0x40ba65[_0x40ba65[_0x3b7310(0x315)]=0x3ea]=_0x3b7310(0x315),_0x40ba65[_0x40ba65[_0x3b7310(0x381)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x40ba65[_0x40ba65['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3b7310(0x290),_0x40ba65[_0x40ba65[_0x3b7310(0x115)]=-0x1]=_0x3b7310(0x115),_0x40ba65))(ge||{}),Ei=(_0x52e78d=>(_0x52e78d[_0x52e78d[_0x3b7310(0x392)]=0x0]=_0x3b7310(0x392),_0x52e78d[_0x52e78d[_0x3b7310(0x30c)]=0x1]=_0x3b7310(0x30c),_0x52e78d[_0x52e78d[_0x3b7310(0x2fb)]=0x2]=_0x3b7310(0x2fb),_0x52e78d[_0x52e78d[_0x3b7310(0x12d)]=0x3]='UnitEmbedded',_0x52e78d[_0x52e78d[_0x3b7310(0x26d)]=0x4]='UnitSnapshot',_0x52e78d[_0x52e78d[_0x3b7310(0x115)]=-0x1]='UNRECOGNIZED',_0x52e78d))(Ei||{});const q=_0x3b7310(0x148),Ur={};var se=(_0x3d3a7c=>(_0x3d3a7c[_0x3b7310(0x257)]=_0x3b7310(0x257),_0x3d3a7c[_0x3b7310(0x32a)]=_0x3b7310(0x32a),_0x3d3a7c[_0x3b7310(0x334)]=_0x3b7310(0x334),_0x3d3a7c[_0x3b7310(0x1f9)]='CLOSE_ROOM',_0x3d3a7c[_0x3b7310(0xb4)]=_0x3b7310(0xb4),_0x3d3a7c[_0x3b7310(0x331)]='SOCKET_FAILED_RETRY',_0x3d3a7c[_0x3b7310(0x393)]='SOCKET_FAILED',_0x3d3a7c[_0x3b7310(0x234)]=_0x3b7310(0x234),_0x3d3a7c))(se||{});class pe{constructor(){var _0x47975f=_0x3b7310;N(this,_0x47975f(0x357),new _0x2898a5()),N(this,_0x47975f(0x178),this[_0x47975f(0x357)][_0x47975f(0x2bf)]());}[_0x3b7310(0x2bc)](_0x5b4484){var _0xafb6c3=_0x3b7310;this[_0xafb6c3(0x357)][_0xafb6c3(0x2a5)](_0x5b4484);}}const Ar=_0xcc195f('univer-pro.collaboration-client.network-condition.service');function Pr(_0x318c2e){var _0x55bce8=_0x3b7310,_0x42e611,_0x3e7108,_0x4ed3e7,_0x372c2e,_0x4f35b4;const _0x428402=_0x318c2e[_0x55bce8(0x185)],_0x1bc60e=JSON[_0x55bce8(0x117)](_0x428402);switch(_0x1bc60e[_0x55bce8(0x29e)]){case F[_0x55bce8(0x1fa)]:case F[_0x55bce8(0x33e)]:{const _0x476f80=_0x1bc60e[_0x55bce8(0x11f)];return{..._0x1bc60e,'data':_0x476f80,'cmd':_0x1bc60e['cmd']};}case F['JOIN']:{const _0x510482=_0x1bc60e[_0x55bce8(0x27a)];return{..._0x1bc60e,'data':_0x510482,'cmd':_0x1bc60e[_0x55bce8(0x29e)]};}case F['RECV']:{const _0x5e487f=_0x1bc60e[_0x55bce8(0x2f9)];switch(_0x5e487f[_0x55bce8(0xe7)]){case _0x502491[_0x55bce8(0x348)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x42e611=_0x5e487f['permissionRejEvent'])==null?void 0x0:_0x42e611['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x105)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x3e7108=_0x5e487f[_0x55bce8(0x2b4)])==null?void 0x0:_0x3e7108['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x1d2)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x4ed3e7=_0x5e487f['newCsEvent'])==null?void 0x0:_0x4ed3e7['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['CHANGESET_REJ']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x372c2e=_0x5e487f[_0x55bce8(0x297)])==null?void 0x0:_0x372c2e['cs']},'cmd':_0x1bc60e['cmd']};case _0x502491['CHANGESET_SHOULD_RETRY']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':(_0x4f35b4=_0x5e487f['csShouldRetryEvent'])==null?void 0x0:_0x4f35b4['cs']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x398)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x21b)]},'cmd':_0x1bc60e['cmd']};case _0x502491['USERS_ENTER']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x193)]},'cmd':_0x1bc60e['cmd']};case _0x502491[_0x55bce8(0x1db)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x231)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x1f6)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x140)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x232)]:case _0x502491[_0x55bce8(0x2fe)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['liveShareOperation']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['LIVESHARE_TERMINATE']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['liveShareNewHost']},'cmd':_0x1bc60e['cmd']};case _0x502491[_0x55bce8(0x287)]:return{..._0x1bc60e,'data':_0x5e487f,'cmd':_0x1bc60e['cmd']};case _0x502491['COMMENT_UPDATE']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x2a9)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['UPDATE_PERMISSION_OBJ']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0xb2)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491[_0x55bce8(0x23b)]:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f['shouldCloseConn']},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};case _0x502491['UNISCRIPT_RUN']:return{..._0x1bc60e,'data':{..._0x5e487f,'data':_0x5e487f[_0x55bce8(0x25c)]},'cmd':_0x1bc60e[_0x55bce8(0x29e)]};default:return _0x1bc60e;}}default:return _0x1bc60e;}}function xr(_0xdf23b1){var _0x3e6cd6=_0x3b7310;switch(_0xdf23b1[_0x3e6cd6(0x29e)]){case F['HEARTBEAT']:case F[_0x3e6cd6(0x33e)]:return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1['cmd'],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)]});case F[_0x3e6cd6(0x37c)]:{let _0x1136c4;switch(_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0xe7)]){case _0x502491[_0x3e6cd6(0x398)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x398)],'updateCursorEvent':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0x1db)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x1db)],'leaveEvent':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['USERS_ENTER']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x167)],'joinEvent':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_NEW_HOST']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x1f6)],'liveShareNewHost':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0x2fe)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x2fe)],'liveShareOperation':_0xdf23b1[_0x3e6cd6(0x185)][_0x3e6cd6(0x185)]};break;}case _0x502491[_0x3e6cd6(0xd5)]:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0xd5)],'liveShareTerminate':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_REQUEST_HOST']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0xcc)],'liveShareRequestHost':_0xdf23b1['data'][_0x3e6cd6(0x185)]};break;}case _0x502491['LIVESHARE_FETCH_OPERATIONS']:{_0x1136c4={'eventID':_0x502491[_0x3e6cd6(0x232)]};break;}default:_0x1136c4={'eventID':_0xdf23b1['data'][_0x3e6cd6(0xe7)]};}return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)],'collaMsg':_0x1136c4});}case F[_0x3e6cd6(0x299)]:return JSON['stringify']({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1[_0x3e6cd6(0x279)],'joinReq':_0xdf23b1['data']});case F[_0x3e6cd6(0xd9)]:return JSON[_0x3e6cd6(0x1c4)]({'cmd':_0xdf23b1[_0x3e6cd6(0x29e)],'routeKey':_0xdf23b1['routeKey'],'leaveReq':_0xdf23b1['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Lr=Object[_0x3b7310(0x20e)],Mr=(_0x4dde3f,_0x2aed25,_0x5d8c45,_0x1067ee)=>{var _0x5be1d2=_0x3b7310;for(var _0x40cf6f=_0x1067ee>0x1?void 0x0:_0x1067ee?Lr(_0x2aed25,_0x5d8c45):_0x2aed25,_0x2769fe=_0x4dde3f[_0x5be1d2(0x316)]-0x1,_0x3c3015;_0x2769fe>=0x0;_0x2769fe--)(_0x3c3015=_0x4dde3f[_0x2769fe])&&(_0x40cf6f=_0x3c3015(_0x40cf6f)||_0x40cf6f);return _0x40cf6f;},Ue=(_0x112b5d,_0x5a402d)=>(_0x4779b6,_0x77b12b)=>_0x5a402d(_0x4779b6,_0x77b12b,_0x112b5d);const Ii=_0xcc195f(_0x3b7310(0x1d9));function kr(_0x321745,_0x7e1901,_0x964400){var _0x42cdd7=_0x3b7310;return _0x321745+'/'+_0x7e1901+_0x42cdd7(0x104)+_0x964400+_0x42cdd7(0x261);}let Vt=class extends _0x4a3911{constructor(_0x2f79ee,_0x44e6e8,_0x29fc95,_0x2ee398,_0xf1c011){var _0x3f89e6=_0x3b7310;super(),this[_0x3f89e6(0x145)]=_0x2f79ee,this[_0x3f89e6(0x35a)]=_0x44e6e8,this[_0x3f89e6(0x1a0)]=_0x29fc95,this['_logService']=_0x2ee398,this['_snapshotServerService']=_0xf1c011;}[_0x3b7310(0x2ee)](_0x1512ff){var _0x5d58e2=_0x3b7310;const _0x3feda1=this[_0x5d58e2(0x145)][_0x5d58e2(0xf1)](_0x9fe75);if(!_0x3feda1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1969ec=_0x3feda1[_0x5d58e2(0x1b2)](_0x1512ff);if(!_0x1969ec)throw new Error(_0x5d58e2(0x1b6));const _0x4fc987=new _0xf8e232(),_0x3e1f95=new _0x2898a5();_0x4fc987['add'](_0x1969ec[_0x5d58e2(0x139)][_0x5d58e2(0x247)](_0x1c3e7d=>_0x3e1f95[_0x5d58e2(0x2a5)](_0x1c3e7d))),_0x4fc987['add'](_0x47f1eb(()=>_0x3e1f95[_0x5d58e2(0x2e7)]()));const _0xa38920=new _0x2898a5();_0x4fc987[_0x5d58e2(0x27b)](_0x1969ec[_0x5d58e2(0x1d0)][_0x5d58e2(0x247)](_0x4b0cc=>_0xa38920['next'](_0x4b0cc))),_0x4fc987[_0x5d58e2(0x27b)](_0x47f1eb(()=>_0xa38920[_0x5d58e2(0x2e7)]()));const _0xb8d7b6=new _0x2898a5();_0x4fc987[_0x5d58e2(0x27b)](_0x1969ec['message$']['subscribe'](_0x7d643b=>{const _0x43e9f5=Pr(_0x7d643b);_0xb8d7b6['next'](_0x43e9f5);})),_0x4fc987[_0x5d58e2(0x27b)](_0x47f1eb(()=>_0xb8d7b6['complete']()));let _0x37bf9c;const _0x3f0ab2=()=>{var _0x1e6d01=_0x5d58e2;_0xa38920[_0x1e6d01(0x2a5)](new Event(_0x1e6d01(0x130))),_0x3e1f95[_0x1e6d01(0x2a5)](new Event(_0x1e6d01(0x130))),_0x37bf9c['close']();};return _0x37bf9c={'memberID':'','close$':_0x3e1f95['asObservable'](),'error$':_0xa38920[_0x5d58e2(0x2bf)](),'open$':_0x1969ec[_0x5d58e2(0x329)],'message$':_0xb8d7b6[_0x5d58e2(0x2bf)](),'send':_0x4df259=>{var _0x524202=_0x5d58e2;if(_0x4df259[_0x524202(0x29e)]===F[_0x524202(0x37c)]){if(_0x4df259[_0x524202(0x185)][_0x524202(0xe7)]===_0x502491[_0x524202(0x1ad)]){this[_0x524202(0x144)](_0x37bf9c,_0x4df259[_0x524202(0x185)])[_0x524202(0x1d7)](_0x55914e=>{var _0x3d46f7=_0x524202;this[_0x3d46f7(0x330)][_0x3d46f7(0x399)](_0x55914e),_0x3f0ab2();});return;}if(_0x4df259['data'][_0x524202(0xe7)]===_0x502491[_0x524202(0x36c)]){const _0x53709b=_0x4df259[_0x524202(0x185)];this['_fetchMissChangesets'](_0x53709b)[_0x524202(0x365)](_0x291f0a=>{var _0x39b774=_0x524202;_0xb8d7b6[_0x39b774(0x2a5)]({'cmd':F[_0x39b774(0x1c5)],'code':ge['OK'],'routeKey':_0x53709b[_0x39b774(0x185)][_0x39b774(0x135)],'routeType':'','data':{'eventID':_0x502491[_0x39b774(0x29d)],'data':{'changesets':_0x291f0a}}});})[_0x524202(0x1d7)](_0x716054=>{var _0x2e56ac=_0x524202;this['_logService'][_0x2e56ac(0x399)](_0x716054),_0x3f0ab2();});return;}}_0x1969ec['send'](xr(_0x4df259));},'close':()=>{var _0x3c7e32=_0x5d58e2;_0x1969ec[_0x3c7e32(0x2d0)](),_0x4fc987[_0x3c7e32(0x368)]();}},_0x37bf9c;}async[_0x3b7310(0x144)](_0xae4f53,_0x4fbb3b){var _0x450364=_0x3b7310,_0x4db506,_0x553894;const {unitType:_0x463c3d,unitID:_0x1fe574,changeset:_0x37cf2c}=_0x4fbb3b[_0x450364(0x185)],_0x4e3f2b={'unitID':_0x1fe574,'memberID':_0xae4f53[_0x450364(0x17f)],'type':_0x463c3d,'changeset':_0x35045d(_0x37cf2c)},_0xc1b04f=this[_0x450364(0x1a0)][_0x450364(0x30f)](Or),_0x5e1179=this[_0x450364(0x1a0)][_0x450364(0x30f)](q),_0x57ed14=kr((_0x553894=(_0x4db506=_0x5e1179==null?void 0x0:_0x5e1179[_0x450364(0x11a)])!=null?_0x4db506:_0xc1b04f)!=null?_0x553894:Nr,_0x463c3d,_0x1fe574);try{await this[_0x450364(0x35a)]['post'](_0x57ed14,{'body':_0x4e3f2b});}catch(_0x3ab2ea){throw this[_0x450364(0x330)][_0x450364(0x399)](_0x450364(0x208),_0x450364(0x118)),_0x3ab2ea;}}async[_0x3b7310(0x201)](_0x400cce){var _0x206254=_0x3b7310;const {unitID:_0x2d78b8,from:_0x1b5607,to:_0x2d0abc,unitType:_0x5f0574}=_0x400cce['data'];return(await this[_0x206254(0x1dd)][_0x206254(0xdc)]({'metadata':void 0x0},{'unitID':_0x2d78b8,'type':_0x5f0574,'from':_0x1b5607,'to':_0x2d0abc}))[_0x206254(0x120)];}};Vt=Mr([Ue(0x0,_0x419509(_0x33a94f)),Ue(0x1,_0x419509(_0x347bc3)),Ue(0x2,_0x29183e),Ue(0x3,_0x2e40a9),Ue(0x4,_0x35beb0)],Vt);const $r=_0x3b7310(0x220);function Hr(_0x117c81){var _0x65d8e0=_0x3b7310;return JSON[_0x65d8e0(0x1c4)](_0x117c81)[_0x65d8e0(0x316)];}class Ti{constructor(){var _0x42cd87=_0x3b7310;N(this,_0x42cd87(0x202),new _0x2898a5()),N(this,'commentUpdate$',this[_0x42cd87(0x202)][_0x42cd87(0x2bf)]());}['onCommentUpdate'](_0x18a1dc){var _0x5ba7a5=_0x3b7310;this['_commentUpdate$'][_0x5ba7a5(0x2a5)](_0x18a1dc);}}var Br=Object['getOwnPropertyDescriptor'],jr=(_0x3d5582,_0x4e81c7,_0x3edec5,_0x424d0d)=>{for(var _0x15db48=_0x424d0d>0x1?void 0x0:_0x424d0d?Br(_0x4e81c7,_0x3edec5):_0x4e81c7,_0x3b3439=_0x3d5582['length']-0x1,_0x962a15;_0x3b3439>=0x0;_0x3b3439--)(_0x962a15=_0x3d5582[_0x3b3439])&&(_0x15db48=_0x962a15(_0x15db48)||_0x15db48);return _0x15db48;},Wt=(_0x1134f7,_0x10c06c)=>(_0x514749,_0x3712c3)=>_0x10c06c(_0x514749,_0x3712c3,_0x1134f7);let xe=class extends _0x4a3911{constructor(_0x21b434,_0x17920b){var _0x44aba6=_0x3b7310;super(),N(this,_0x44aba6(0x34a),new Map()),N(this,'_roomCreated$',new _0x2898a5()),(this[_0x44aba6(0x36a)]=_0x21b434,this[_0x44aba6(0x35b)]=_0x17920b,this[_0x44aba6(0x184)](_0x4a0758(this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f[_0x44aba6(0xe8)])[_0x44aba6(0x2d2)](_0x4c799b(_0x2d25df=>_0x2d25df[_0x44aba6(0x1f5)]())),this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f['UNIVER_DOC'])[_0x44aba6(0x2d2)](_0x4c799b(_0x14f623=>_0x14f623[_0x44aba6(0x1f5)]())),this[_0x44aba6(0x36a)][_0x44aba6(0x19b)](_0x53691f['UNIVER_SLIDE'])[_0x44aba6(0x2d2)](_0x4c799b(_0x413ced=>_0x413ced['getUnitId']())))[_0x44aba6(0x247)](_0x5e986f=>this['_removeRoom'](_0x5e986f))));}['waitForRoom$'](_0x494941){var _0x4a7017=_0x3b7310;return this[_0x4a7017(0x34a)][_0x4a7017(0x30d)](_0x494941)?_0x202106(this[_0x4a7017(0x34a)][_0x4a7017(0xf1)](_0x494941)):this[_0x4a7017(0x24e)][_0x4a7017(0x2d2)](_0x4c799b(_0x2b0dfb=>{var _0x335733=_0x4a7017;if(_0x2b0dfb===_0x494941)return this[_0x335733(0x34a)][_0x335733(0xf1)](_0x2b0dfb);}));}[_0x3b7310(0x2f0)](_0x25d86d){var _0x57e44a=_0x3b7310;this[_0x57e44a(0x35b)][_0x57e44a(0x2f0)](_0x25d86d);}[_0x3b7310(0x176)](){var _0x1ffee8=_0x3b7310;return this[_0x1ffee8(0x35b)][_0x1ffee8(0x176)]();}[_0x3b7310(0x29c)](_0x315abe,_0x226754){var _0x506423=_0x3b7310;let _0x5c3247=this[_0x506423(0x34a)][_0x506423(0xf1)](_0x315abe);_0x5c3247||(_0x5c3247=new Fr(),this[_0x506423(0x34a)][_0x506423(0x151)](_0x315abe,_0x5c3247),this[_0x506423(0x24e)]['next'](_0x315abe)),_0x5c3247[_0x506423(0x29c)](_0x226754);}['removeMember'](_0x59b0f7,_0xed9a35){var _0x3856d3=_0x3b7310;const _0x3c68fa=this[_0x3856d3(0x34a)]['get'](_0x59b0f7);_0x3c68fa&&_0x3c68fa['removeMember'](_0xed9a35);}[_0x3b7310(0x274)](_0x5af80a){var _0x40f1bc=_0x3b7310;return this[_0x40f1bc(0x34a)]['get'](_0x5af80a);}[_0x3b7310(0x1c3)](_0xfd5db7,_0x8c075){var _0x376ca7=_0x3b7310;const _0x5de865=this['_roomMembers'][_0x376ca7(0xf1)](_0xfd5db7);if(_0x5de865)return _0x5de865['getMember'](_0x8c075);}[_0x3b7310(0x24d)](_0x44e97c){var _0x3d44b5=_0x3b7310;const _0x316869=this['_roomMembers'][_0x3d44b5(0xf1)](_0x44e97c);_0x316869&&(_0x316869[_0x3d44b5(0x368)](),this[_0x3d44b5(0x34a)][_0x3d44b5(0x10b)](_0x44e97c));}[_0x3b7310(0x368)](){var _0x16ccba=_0x3b7310;this[_0x16ccba(0x34a)][_0x16ccba(0x109)](_0x1f9fe2=>_0x1f9fe2['dispose']()),this[_0x16ccba(0x34a)][_0x16ccba(0xc4)](),this[_0x16ccba(0x24e)][_0x16ccba(0x2e7)]();}};xe=jr([Wt(0x0,_0x56341d),Wt(0x1,_0x419509(_0x14d174))],xe);class Fr extends _0x4a3911{constructor(){var _0x157f84=_0x3b7310;super(...arguments),N(this,'_members',new Map()),N(this,_0x157f84(0x369),new _0x31cf27(this[_0x157f84(0x34f)])),N(this,_0x157f84(0x362),this['_members$'][_0x157f84(0x2bf)]());}[_0x3b7310(0x368)](){var _0x3aebfb=_0x3b7310;this[_0x3aebfb(0x34f)]['clear']();}['updateMember'](_0x4e867f){var _0x4b4031=_0x3b7310;this['_members'][_0x4b4031(0x151)](_0x4e867f[_0x4b4031(0x17f)],_0x4e867f),this[_0x4b4031(0x385)]();}['removeMember'](_0x33faae){var _0x2a5fbd=_0x3b7310;this[_0x2a5fbd(0x34f)][_0x2a5fbd(0x10b)](_0x33faae);}[_0x3b7310(0x1c3)](_0x3074a9){var _0x3372f9=_0x3b7310;return this[_0x3372f9(0x34f)]['get'](_0x3074a9);}[_0x3b7310(0x20c)](){var _0x2a3d79=_0x3b7310;return Array[_0x2a3d79(0x147)](this[_0x2a3d79(0x34f)][_0x2a3d79(0x17a)]());}['_emitMembers'](){var _0x22bd00=_0x3b7310;this[_0x22bd00(0x369)][_0x22bd00(0x2a5)](this['_members']);}}var Gr=Object[_0x3b7310(0x20e)],Vr=(_0x561b47,_0x2610ec,_0x13100c,_0x14cdbe)=>{var _0x58008c=_0x3b7310;for(var _0x2beaa6=_0x14cdbe>0x1?void 0x0:_0x14cdbe?Gr(_0x2610ec,_0x13100c):_0x2610ec,_0x35c2a8=_0x561b47[_0x58008c(0x316)]-0x1,_0x657403;_0x35c2a8>=0x0;_0x35c2a8--)(_0x657403=_0x561b47[_0x35c2a8])&&(_0x2beaa6=_0x657403(_0x2beaa6)||_0x2beaa6);return _0x2beaa6;},me=(_0x4d464e,_0x1ac256)=>(_0x543ab4,_0x1a845f)=>_0x1ac256(_0x543ab4,_0x1a845f,_0x4d464e),Ee=(_0x32a1a3=>(_0x32a1a3[_0x32a1a3[_0x3b7310(0x153)]=0x0]=_0x3b7310(0x153),_0x32a1a3[_0x32a1a3[_0x3b7310(0x13d)]=0x1]='JOINING',_0x32a1a3[_0x32a1a3[_0x3b7310(0x388)]=0x2]=_0x3b7310(0x388),_0x32a1a3[_0x32a1a3['ONLINE']=0x3]=_0x3b7310(0x1ec),_0x32a1a3))(Ee||{});const Kt={[ge[_0x3b7310(0x183)]]:_0x3b7310(0x2f8),[ge[_0x3b7310(0x1f2)]]:_0x3b7310(0x2a0),[ge[_0x3b7310(0x315)]]:_0x3b7310(0x110),[ge[_0x3b7310(0x381)]]:_0x3b7310(0x34d),[ge[_0x3b7310(0x290)]]:'session.room-cnt-exceeds'};let Et=class extends _0x3f9fed{constructor(_0x34d56f,_0x422be0,_0x323251,_0xf98850,_0x4c223e,_0x3f29b9,_0x21cd9d,_0x3c974b,_0x2be35c){var _0x4c8962=_0x3b7310;super(),N(this,_0x4c8962(0x38e),new _0x31cf27(0x0)),N(this,_0x4c8962(0x258),this[_0x4c8962(0x38e)][_0x4c8962(0x2bf)]()),N(this,_0x4c8962(0x357),new _0x2898a5()),N(this,_0x4c8962(0x178),this[_0x4c8962(0x357)][_0x4c8962(0x2bf)]()),N(this,_0x4c8962(0x256)),N(this,_0x4c8962(0x19d)),N(this,_0x4c8962(0x180)),N(this,_0x4c8962(0x356),!0x1),N(this,_0x4c8962(0x134),null),(this[_0x4c8962(0x312)]=_0x34d56f,this[_0x4c8962(0x330)]=_0x323251,this[_0x4c8962(0x1a0)]=_0xf98850,this[_0x4c8962(0x31a)]=_0x4c223e,this[_0x4c8962(0x170)]=_0x3f29b9,this['_commentService']=_0x21cd9d,this[_0x4c8962(0x102)]=_0x3c974b,this[_0x4c8962(0x294)]=_0x2be35c,this[_0x4c8962(0x356)]=!!this[_0x4c8962(0x294)],_0x422be0['pipe'](_0x194700(this[_0x4c8962(0x340)]))[_0x4c8962(0x247)](_0x3ba9ae=>{var _0x231f1f=_0x4c8962,_0x1679ca;typeof _0x3ba9ae>'u'||(this[_0x231f1f(0x256)]=_0x3ba9ae,_0x3ba9ae?(this[_0x231f1f(0x182)](_0x3ba9ae),this['_socketMessageSubscription']=_0x3ba9ae[_0x231f1f(0x1eb)][_0x231f1f(0x247)](_0xd6370c=>{var _0x20bf8d=_0x231f1f;_0xd6370c[_0x20bf8d(0x279)]===this[_0x20bf8d(0x312)]&&this[_0x20bf8d(0x250)](_0xd6370c);})):(this[_0x231f1f(0x241)](),this[_0x231f1f(0x38e)][_0x231f1f(0x2a5)](0x2),(_0x1679ca=this[_0x231f1f(0x19d)])==null||_0x1679ca['unsubscribe'](),this[_0x231f1f(0x19d)]=null));}));}get[_0x3b7310(0x2fa)](){var _0x365693=_0x3b7310;return this[_0x365693(0x38e)][_0x365693(0x27c)]();}['getMemberID'](){var _0x2aa863=_0x3b7310,_0x43a88d,_0x4f9490;return(_0x4f9490=(_0x43a88d=this[_0x2aa863(0x256)])==null?void 0x0:_0x43a88d['memberID'])!=null?_0x4f9490:null;}[_0x3b7310(0x368)](){var _0x119267=_0x3b7310;super['dispose'](),this[_0x119267(0x340)][_0x119267(0x2a5)](),this[_0x119267(0x340)][_0x119267(0x2e7)]();}[_0x3b7310(0x2d0)](){var _0xb3e8d4=_0x3b7310,_0x3eb2ef,_0x2cc80d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3eb2ef=this[_0xb3e8d4(0x256)])==null||_0x3eb2ef[_0xb3e8d4(0x19f)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0xb3e8d4(0x312)]}}),(_0x2cc80d=this[_0xb3e8d4(0x256)])==null||_0x2cc80d[_0xb3e8d4(0x2d0)](),this['_event$'][_0xb3e8d4(0x2e7)](),this[_0xb3e8d4(0x38e)][_0xb3e8d4(0x2e7)](),this[_0xb3e8d4(0x368)]();}['_onCombEvent'](_0xfeb720){var _0x4cc4f8=_0x3b7310;_0xfeb720[_0x4cc4f8(0x29e)]===F[_0x4cc4f8(0x299)]?this['_onJoinRoomEvent'](_0xfeb720):_0xfeb720[_0x4cc4f8(0x29e)]===F[_0x4cc4f8(0x1c5)]&&this[_0x4cc4f8(0xef)](_0xfeb720);}[_0x3b7310(0x182)](_0x371859){var _0x3fa1c8=_0x3b7310;this[_0x3fa1c8(0x38e)][_0x3fa1c8(0x2a5)](0x1),_0x371859['send']({'cmd':F['JOIN'],'routeKey':this[_0x3fa1c8(0x312)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fa1c8(0x312)]}]}});}[_0x3b7310(0x229)](_0x54dd7a){var _0x35d642=_0x3b7310,_0x5f58b2;if(_0x54dd7a[_0x35d642(0x2f4)]in Kt){this['_collaborationUIEventService'][_0x35d642(0x2bc)]({'id':se[_0x35d642(0xb4)],'data':Kt[_0x54dd7a[_0x35d642(0x2f4)]]}),this[_0x35d642(0x38e)]['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x1f58ec=(_0x5f58b2=_0x54dd7a[_0x35d642(0x185)][_0x35d642(0x1bc)][this[_0x35d642(0x312)]])==null?void 0x0:_0x5f58b2['members'];_0x1f58ec&&_0x1f58ec[_0x35d642(0x109)](_0xa87475=>this[_0x35d642(0x170)][_0x35d642(0x29c)](this[_0x35d642(0x312)],_0xa87475));}[_0x3b7310(0xef)](_0x9fd477){var _0x2fb10a=_0x3b7310;try{const _0x495b44=_0x9fd477['data'];switch(_0x495b44[_0x2fb10a(0xe7)]){case _0x502491['USERS_ENTER']:this[_0x2fb10a(0x235)](_0x495b44),this[_0x2fb10a(0x357)]['next'](_0x495b44);break;case _0x502491[_0x2fb10a(0x1db)]:this[_0x2fb10a(0xc2)](_0x495b44),this['_event$'][_0x2fb10a(0x2a5)](_0x495b44);break;case _0x502491[_0x2fb10a(0x105)]:case _0x502491[_0x2fb10a(0x22d)]:this[_0x2fb10a(0x2b8)](),this[_0x2fb10a(0x289)](),this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);break;case _0x502491[_0x2fb10a(0x287)]:this[_0x2fb10a(0x330)][_0x2fb10a(0x399)](_0x2fb10a(0x2e5)+JSON[_0x2fb10a(0x1c4)](_0x495b44)),this[_0x2fb10a(0x357)]['next'](_0x495b44);break;case _0x502491[_0x2fb10a(0x15b)]:this[_0x2fb10a(0x349)][_0x2fb10a(0x172)](_0x495b44['data']),this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);break;default:this[_0x2fb10a(0x357)][_0x2fb10a(0x2a5)](_0x495b44);}}catch(_0x27d15d){this[_0x2fb10a(0x330)]['error'](_0x27d15d,_0x9fd477);}}[_0x3b7310(0x235)](_0x349edb){var _0x50351e=_0x3b7310;this['_memberService'][_0x50351e(0x29c)](this[_0x50351e(0x312)],_0x349edb[_0x50351e(0x185)]);}[_0x3b7310(0xc2)](_0x285d9c){var _0x239825=_0x3b7310;this[_0x239825(0x170)]['removeMember'](this[_0x239825(0x312)],_0x285d9c[_0x239825(0x185)][_0x239825(0x17f)]);}async[_0x3b7310(0x19f)](_0x5a569d,_0x46992f){var _0x2bc8e9=_0x3b7310;if(this[_0x2bc8e9(0x2fa)]!==0x3||!this[_0x2bc8e9(0x256)])throw new Error(_0x2bc8e9(0x126));try{_0x5a569d[_0x2bc8e9(0xe7)]===_0x502491[_0x2bc8e9(0x1ad)]&&(this[_0x2bc8e9(0x319)](),this['_startTelemetryCollaborationNewChangeset'](_0x5a569d)),this[_0x2bc8e9(0x256)][_0x2bc8e9(0x19f)]({'cmd':F[_0x2bc8e9(0x37c)],'routeKey':_0x46992f,'routeType':'','data':_0x5a569d});}catch(_0x1cff84){this[_0x2bc8e9(0x330)][_0x2bc8e9(0x399)](_0x1cff84);}}[_0x3b7310(0x319)](){var _0x14f66d=_0x3b7310,_0x34e26c;this[_0x14f66d(0x180)]=setTimeout(()=>{var _0xd55ad0=_0x14f66d;this[_0xd55ad0(0x180)]=null,this[_0xd55ad0(0x102)][_0xd55ad0(0x2bc)]({'id':se[_0xd55ad0(0x234)]});},(_0x34e26c=this['_configService'][_0x14f66d(0x30f)](mi))!=null?_0x34e26c:gi);}['_clearCollaborationTimeoutTimer'](){var _0x4e3052=_0x3b7310;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4e3052(0x180)]=null);}[_0x3b7310(0xd7)](_0xd8d41){var _0x134a86=_0x3b7310;if(!this[_0x134a86(0x356)])return;const {data:_0x40361c}=_0xd8d41,{unitID:_0xcf3966,changeset:_0x519b50}=_0x40361c,{mutations:_0x4b4985,type:_0x2cebcb}=_0x519b50;this[_0x134a86(0x134)]={'unitId':_0xcf3966,'type':_0x2cebcb,'startTime':performance[_0x134a86(0x285)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x4b4985)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1d0691=_0x3b7310;if(this[_0x1d0691(0x356)]){if(!this[_0x1d0691(0x134)]){this[_0x1d0691(0x330)][_0x1d0691(0x399)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x1d0691(0x285)](),this[_0x1d0691(0x134)][_0x1d0691(0x107)]=this[_0x1d0691(0x134)][_0x1d0691(0xac)]-this[_0x1d0691(0x134)][_0x1d0691(0x36b)],this[_0x1d0691(0x294)][_0x1d0691(0x307)]($r,this[_0x1d0691(0x134)]),this['_telemetryInfo']=null;}}[_0x3b7310(0x241)](){var _0xa17afa=_0x3b7310;this[_0xa17afa(0x134)]=null;}};Et=Vr([me(0x2,_0x2e40a9),me(0x3,_0x29183e),me(0x4,_0x419509(_0x503d26)),me(0x5,_0x419509(xe)),me(0x6,_0x419509(Ti)),me(0x7,_0x419509(pe)),me(0x8,_0x21c4ab(_0x500461))],Et);var Wr=Object[_0x3b7310(0x20e)],Kr=(_0x231b0d,_0xd4f691,_0x650b33,_0x12e741)=>{for(var _0x32707a=_0x12e741>0x1?void 0x0:_0x12e741?Wr(_0xd4f691,_0x650b33):_0xd4f691,_0x304413=_0x231b0d['length']-0x1,_0xe42083;_0x304413>=0x0;_0x304413--)(_0xe42083=_0x231b0d[_0x304413])&&(_0x32707a=_0xe42083(_0x32707a)||_0x32707a);return _0x32707a;},be=(_0x504dd7,_0x6fa093)=>(_0x115da2,_0x4eb4ff)=>_0x6fa093(_0x115da2,_0x4eb4ff,_0x504dd7);let Le=class extends _0x4a3911{constructor(_0x358814,_0x1a0024,_0x3da1d1,_0xc1b83,_0x593534,_0x32f885){var _0x2f150a=_0x3b7310;super(),N(this,_0x2f150a(0x157),new _0x31cf27(void 0x0)),N(this,_0x2f150a(0x215),this['_socket$'][_0x2f150a(0x2bf)]()),N(this,_0x2f150a(0xb8),null),N(this,_0x2f150a(0x2f6),new Map()),N(this,_0x2f150a(0x254),new _0x31cf27(Ee[_0x2f150a(0x153)])),N(this,_0x2f150a(0x1d5),this[_0x2f150a(0x254)]['asObservable']()),N(this,_0x2f150a(0x374),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2f150a(0x280)),N(this,_0x2f150a(0x124)),(this[_0x2f150a(0x145)]=_0x358814,this[_0x2f150a(0x330)]=_0x1a0024,this['_configService']=_0x3da1d1,this[_0x2f150a(0x24a)]=_0xc1b83,this[_0x2f150a(0x102)]=_0x593534,this[_0x2f150a(0x27d)]=_0x32f885,this[_0x2f150a(0x155)]());}get[_0x3b7310(0x256)](){var _0x308ea2=_0x3b7310;return this['_socket$'][_0x308ea2(0x27c)]();}['_listenToNetworkCondition'](){var _0x4ab2f4=_0x3b7310;this['_networkConditionService']&&this[_0x4ab2f4(0x184)](this[_0x4ab2f4(0x27d)][_0x4ab2f4(0x11c)][_0x4ab2f4(0x247)](_0x1d8b76=>{var _0x24dd45=_0x4ab2f4;_0x1d8b76&&!this[_0x24dd45(0x256)]&&this[_0x24dd45(0x22e)](),_0x1d8b76||this[_0x24dd45(0x2eb)]();}));}['dispose'](){var _0x4c07a6=_0x3b7310;super[_0x4c07a6(0x368)](),this['_sessions']['forEach'](_0x488dce=>_0x488dce[_0x4c07a6(0x368)]()),this[_0x4c07a6(0x2f6)][_0x4c07a6(0xc4)](),this['_status$']['complete']();}async['requireSession'](_0x5935a5){var _0x160a0a=_0x3b7310;if(this[_0x160a0a(0x2f6)][_0x160a0a(0x30d)](_0x5935a5))return this['_sessions'][_0x160a0a(0xf1)](_0x5935a5);this['_tryEnsureSocket']();const _0xb2d1f8=this[_0x160a0a(0x145)]['createInstance'](Et,_0x5935a5,this[_0x160a0a(0x157)][_0x160a0a(0x2bf)]());return this['_sessions'][_0x160a0a(0x151)](_0x5935a5,_0xb2d1f8),_0xb2d1f8;}['closeSession'](_0x52bef9){var _0x2917a4=_0x3b7310,_0x14466b;const _0x2c4c1=this['_sessions'][_0x2917a4(0xf1)](_0x52bef9);_0x2c4c1&&(this[_0x2917a4(0x2f6)][_0x2917a4(0x10b)](_0x52bef9),_0x2c4c1[_0x2917a4(0x2d0)]()),this[_0x2917a4(0x2f6)][_0x2917a4(0x363)]||(_0x14466b=this[_0x2917a4(0x256)])==null||_0x14466b[_0x2917a4(0x2d0)]();}['reconnect'](){var _0x15e5a9=_0x3b7310;this[_0x15e5a9(0x397)]=0x0,this[_0x15e5a9(0x25f)]!=null&&(clearTimeout(this[_0x15e5a9(0x25f)]),this[_0x15e5a9(0x25f)]=null),this[_0x15e5a9(0x39f)]();}async[_0x3b7310(0x321)](){var _0x25c0b0=_0x3b7310,_0xb7df17,_0xc633b6;const _0x432bae=this[_0x25c0b0(0x1a0)][_0x25c0b0(0x30f)](Er),_0x1030cf=this[_0x25c0b0(0x1a0)]['getConfig'](q),_0x2106e5=(_0xc633b6=(_0xb7df17=_0x1030cf==null?void 0x0:_0x1030cf['collabWebSocketUrl'])!=null?_0xb7df17:_0x432bae)!=null?_0xc633b6:Ir,_0x1dbd2e=await this[_0x25c0b0(0x24a)][_0x25c0b0(0x1b2)](_0x2106e5);return this[_0x25c0b0(0xb8)]=_0x1dbd2e,_0x1dbd2e;}async['_tryEnsureSocket'](){var _0x577ff5=_0x3b7310,_0x58b9cb,_0x418391;try{const _0x4c87c3=(_0x418391=(_0x58b9cb=this[_0x577ff5(0x256)])!=null?_0x58b9cb:this['_candidateSocket'])!=null?_0x418391:await this[_0x577ff5(0x321)]();if(_0x4c87c3){const _0x56aac1=_0x4c87c3[_0x577ff5(0x19f)];_0x4c87c3[_0x577ff5(0x19f)]=_0x3f12c9=>(this[_0x577ff5(0x266)](),_0x56aac1[_0x577ff5(0x268)](_0x4c87c3,[_0x3f12c9])),_0x4c87c3[_0x577ff5(0x1eb)][_0x577ff5(0x247)](_0x5ee8d8=>this[_0x577ff5(0x1cf)](_0x4c87c3,_0x5ee8d8)),_0x4c87c3[_0x577ff5(0x1d0)][_0x577ff5(0x2d2)](_0x302c16(0x1))[_0x577ff5(0x247)](_0x5a1bc1=>this['_logService'][_0x577ff5(0x399)]('[CollaborationSessionService]:\x20socket\x20error',_0x5a1bc1)),_0x4c87c3[_0x577ff5(0x329)][_0x577ff5(0x2d2)](_0x302c16(0x1))[_0x577ff5(0x247)](()=>{this['_onConnectionOpen'](_0x4c87c3);}),_0x4c87c3[_0x577ff5(0x139)]['pipe'](_0x302c16(0x1))[_0x577ff5(0x247)](_0x29c6f1=>{var _0x5cd8a2=_0x577ff5;this[_0x5cd8a2(0x330)]['debug'](_0x5cd8a2(0x33f),'socket\x20close',_0x29c6f1),this['_onConnectionFailed']();});}}catch(_0x11bc2b){this[_0x577ff5(0x330)][_0x577ff5(0x399)](_0x11bc2b),this[_0x577ff5(0x2f3)]();}}[_0x3b7310(0x222)](_0x9b3c6f){var _0x3b4b8f=_0x3b7310;this[_0x3b4b8f(0x330)][_0x3b4b8f(0x2e8)]('[CollaborationSessionService]',_0x3b4b8f(0x333)),_0x9b3c6f[_0x3b4b8f(0x19f)]({'cmd':F[_0x3b4b8f(0x33e)]}),this['_rescheduleHeartbeat']();}[_0x3b7310(0x2eb)](){var _0x40176e=_0x3b7310;this[_0x40176e(0x374)]=!0x1,this[_0x40176e(0xb8)]=null,this['_status$'][_0x40176e(0x2a5)](Ee['OFFLINE']),this[_0x40176e(0x157)]['next'](null),this[_0x40176e(0x16c)](),this[_0x40176e(0x1c1)]();}['_onConnectionFailed'](){var _0x577602=_0x3b7310,_0x5020da;this['_onOffline'](),this['_retryCount']<((_0x5020da=this[_0x577602(0x1a0)][_0x577602(0x30f)](br))!=null?_0x5020da:yr)?(this[_0x577602(0x102)]['emitEvent']({'id':se[_0x577602(0x331)]}),this['_tryReconnect']()):this[_0x577602(0x102)][_0x577602(0x2bc)]({'id':se[_0x577602(0x393)]});}[_0x3b7310(0x39f)](){var _0xaef255=_0x3b7310,_0x475d2b;const _0x1acaad=this[_0xaef255(0x397)],_0x345242=this[_0xaef255(0x1a0)][_0xaef255(0x30f)](q),_0x3c455b=_0x1acaad===0x0?0x0:((_0x475d2b=_0x345242==null?void 0x0:_0x345242[_0xaef255(0x382)])!=null?_0x475d2b:Rr)*0x2**_0x1acaad;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2a4c3d=_0xaef255;clearTimeout(this[_0x2a4c3d(0x25f)]),this[_0x2a4c3d(0x25f)]=null,this[_0x2a4c3d(0x174)]();},_0x3c455b),this['_retryCount']+=0x1;}[_0x3b7310(0x1cf)](_0x4cd4c6,_0x38b92f){var _0x3bcf4d=_0x3b7310;const {cmd:_0x149c75}=_0x38b92f;_0x149c75===F[_0x3bcf4d(0x33e)]&&!this[_0x3bcf4d(0x374)]&&(_0x4cd4c6[_0x3bcf4d(0x17f)]=_0x38b92f[_0x3bcf4d(0x185)][_0x3bcf4d(0x17f)],this[_0x3bcf4d(0x157)]['next'](_0x4cd4c6),this[_0x3bcf4d(0x254)]['next'](Ee[_0x3bcf4d(0x1ec)]),this[_0x3bcf4d(0x374)]=!0x0,this[_0x3bcf4d(0xb8)]=null),_0x149c75===F['HEARTBEAT']&&this[_0x3bcf4d(0x16c)](),this[_0x3bcf4d(0x266)]();}[_0x3b7310(0x266)](){var _0x1d337e=_0x3b7310,_0x44c6fb;this[_0x1d337e(0x1c1)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1d337e(0xb1)](),(_0x44c6fb=this['_configService']['getConfig'](Tr))!=null?_0x44c6fb:Cr);}['_sendHeartbeat'](){var _0xb93727=_0x3b7310;this[_0xb93727(0x256)]['send']({'cmd':F['HEARTBEAT']}),this[_0xb93727(0x209)]();}[_0x3b7310(0x209)](){var _0x524d89=_0x3b7310,_0x2293ef;this['_timeoutTimer']=setTimeout(()=>this[_0x524d89(0x2f3)](),(_0x2293ef=this[_0x524d89(0x1a0)][_0x524d89(0x30f)](mi))!=null?_0x2293ef:gi);}[_0x3b7310(0x1c1)](){var _0x77495c=_0x3b7310;this[_0x77495c(0x280)]!=null&&(clearTimeout(this[_0x77495c(0x280)]),this[_0x77495c(0x280)]=null);}[_0x3b7310(0x16c)](){var _0x5a0138=_0x3b7310;this[_0x5a0138(0x124)]!=null&&(clearTimeout(this[_0x5a0138(0x124)]),this[_0x5a0138(0x124)]=null);}};Le=Kr([be(0x0,_0x419509(_0x33a94f)),be(0x1,_0x2e40a9),be(0x2,_0x29183e),be(0x3,Ii),be(0x4,_0x419509(pe)),be(0x5,_0x21c4ab(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x3b7310(0x304)]((i+0x100)[_0x3b7310(0xf7)](0x10)['slice'](0x1));function Yr(_0x4abdc9,_0x25d7a7=0x0){var _0x51add5=_0x3b7310;return(G[_0x4abdc9[_0x25d7a7+0x0]]+G[_0x4abdc9[_0x25d7a7+0x1]]+G[_0x4abdc9[_0x25d7a7+0x2]]+G[_0x4abdc9[_0x25d7a7+0x3]]+'-'+G[_0x4abdc9[_0x25d7a7+0x4]]+G[_0x4abdc9[_0x25d7a7+0x5]]+'-'+G[_0x4abdc9[_0x25d7a7+0x6]]+G[_0x4abdc9[_0x25d7a7+0x7]]+'-'+G[_0x4abdc9[_0x25d7a7+0x8]]+G[_0x4abdc9[_0x25d7a7+0x9]]+'-'+G[_0x4abdc9[_0x25d7a7+0xa]]+G[_0x4abdc9[_0x25d7a7+0xb]]+G[_0x4abdc9[_0x25d7a7+0xc]]+G[_0x4abdc9[_0x25d7a7+0xd]]+G[_0x4abdc9[_0x25d7a7+0xe]]+G[_0x4abdc9[_0x25d7a7+0xf]])[_0x51add5(0x18b)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x1b5879=_0x3b7310;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1b5879(0x12e));ut=crypto[_0x1b5879(0x391)][_0x1b5879(0x31b)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3b7310(0x22f)]['bind'](crypto),Yt={'randomUUID':Jr};function Xr(_0x2ed92b,_0x5c60c5,_0xeaaf06){var _0x58b88c=_0x3b7310,_0x3619b9,_0x195b13,_0x18c3e6;if(Yt[_0x58b88c(0x22f)]&&!_0x2ed92b)return Yt[_0x58b88c(0x22f)]();_0x2ed92b=_0x2ed92b||{};const _0x397189=(_0x18c3e6=(_0x195b13=_0x2ed92b[_0x58b88c(0x27f)])!=null?_0x195b13:(_0x3619b9=_0x2ed92b[_0x58b88c(0x387)])==null?void 0x0:_0x3619b9[_0x58b88c(0x269)](_0x2ed92b))!=null?_0x18c3e6:zr();if(_0x397189[_0x58b88c(0x316)]<0x10)throw new Error(_0x58b88c(0x20d));return _0x397189[0x6]=_0x397189[0x6]&0xf|0x40,_0x397189[0x8]=_0x397189[0x8]&0x3f|0x80,Yr(_0x397189);}const J=_0xcc195f(_0x3b7310(0x20a));function _0x5c5f(_0x594d93,_0x35cd4f){var _0x530788=_0x5307();return _0x5c5f=function(_0x5c5f3a,_0x293db7){_0x5c5f3a=_0x5c5f3a-0xa8;var _0x3a0fb0=_0x530788[_0x5c5f3a];return _0x3a0fb0;},_0x5c5f(_0x594d93,_0x35cd4f);}function Bs(_0x38e405){return'unit-cache-'+_0x38e405;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x299f8e,_0x4e43d9,_0x5093cc,_0xd5bc3f)=>{var _0x8cf8e6=_0x3b7310;for(var _0x188e88=_0xd5bc3f>0x1?void 0x0:_0xd5bc3f?Zr(_0x4e43d9,_0x5093cc):_0x4e43d9,_0x2efc79=_0x299f8e[_0x8cf8e6(0x316)]-0x1,_0x4104af;_0x2efc79>=0x0;_0x2efc79--)(_0x4104af=_0x299f8e[_0x2efc79])&&(_0x188e88=_0x4104af(_0x188e88)||_0x188e88);return _0x188e88;},dt=(_0x4d1ca7,_0x19dd70)=>(_0x51902a,_0xa48996)=>_0x19dd70(_0x51902a,_0xa48996,_0x4d1ca7);function en(_0x2b354d){var _0x2b169f=_0x3b7310;const {unitID:_0x587b47,mutations:_0xb60e24}=_0x2b354d;return{'unitId':_0x587b47,'subUnitId':_0xb60e24[0x0][_0x2b169f(0xe4)][_0x2b169f(0x26f)]};}let it=class{constructor(_0x25d11e,_0x23f0f6,_0x178e53){var _0x3cdc95=_0x3b7310;this[_0x3cdc95(0x145)]=_0x25d11e,this['_transformService']=_0x23f0f6,this[_0x3cdc95(0x19a)]=_0x178e53;}[_0x3b7310(0x383)](_0x4e1dc0){var _0x58cfea=_0x3b7310,_0x245ce1,_0x48c062,_0x4e4099,_0x1ebfbf;const _0x16c13e=this[_0x58cfea(0x145)][_0x58cfea(0xf1)](_0x1f38e4),{unitId:_0x1dfa35,subUnitId:_0x45e6d9}=en(_0x4e1dc0),_0x12a764=_0x16c13e==null?void 0x0:_0x16c13e[_0x58cfea(0x31d)](_0x1dfa35)[_0x58cfea(0x16a)](),_0x3d6d1b=(_0x48c062=(_0x245ce1=this[_0x58cfea(0x19a)][_0x58cfea(0xc5)](_0x1dfa35))==null?void 0x0:_0x245ce1[_0x58cfea(0x2c3)]())==null?void 0x0:_0x48c062[_0x58cfea(0x36e)]();if(_0x12a764[_0x58cfea(0x316)]===0x0||!_0x1dfa35||!_0x45e6d9)return;const _0x3892ee=[{'id':_0x2a36f2['id'],'params':{'unitId':_0x1dfa35,'subUnitId':_0x3d6d1b,'selections':_0x41ec87[_0x58cfea(0xb9)](_0x12a764)}}],_0x2b0377=this['_transformService'][_0x58cfea(0x2da)](_0x4e1dc0,_0x3892ee);if(!_0x4ceef6(_0x2b0377))throw _0x2b0377[_0x58cfea(0x399)];const _0x50efaa=(_0x1ebfbf=(_0x4e4099=_0x2b0377[_0x58cfea(0x34b)][0x0])==null?void 0x0:_0x4e4099['params'])==null?void 0x0:_0x1ebfbf[_0x58cfea(0x367)];if(Array[_0x58cfea(0x169)](_0x50efaa)&&_0x50efaa[_0x58cfea(0x316)]){if(_0x50efaa[_0x58cfea(0x316)]===_0x3892ee[0x0][_0x58cfea(0xe4)]['selections']['length']&&_0x50efaa['every']((_0x2e8ddd,_0x2bfaa5)=>_0x188c51[_0x58cfea(0x21e)](_0x2e8ddd[_0x58cfea(0x13a)],_0x3892ee[0x0][_0x58cfea(0xe4)][_0x58cfea(0x367)][_0x2bfaa5]['range'])))return;this['_injector'][_0x58cfea(0xf1)](_0x1ab65f)[_0x58cfea(0x2e2)](_0x2a36f2['id'],{'unitId':_0x1dfa35,'subUnitId':_0x3d6d1b,'selections':_0x50efaa});}}};it=Qr([dt(0x0,_0x419509(_0x33a94f)),dt(0x1,_0xcdffcf),dt(0x2,_0x56341d)],it);const ht=_0xcc195f(_0x3b7310(0x2ac));var Ci=(_0x12f2ba=>(_0x12f2ba[_0x12f2ba[_0x3b7310(0xad)]=0x0]=_0x3b7310(0xad),_0x12f2ba[_0x12f2ba[_0x3b7310(0x237)]=0x1]='OTHER_CLIENTS_EDITING',_0x12f2ba))(Ci||{});const tn=new Set([_0x2473e0['id']]);function qt(_0x4624cd,_0x1edeb2,_0x1aa983,_0x5c02d0,_0x34ffca){var _0x136ff6=_0x3b7310,_0xe56922,_0x1f9dbb,_0x5109db,_0x39e03d;const _0x70ed9c=[];for(const _0x2d48e2 of _0x4624cd)if(tn[_0x136ff6(0x30d)](_0x2d48e2['id'])){if(_0x70ed9c[_0x136ff6(0x316)]>0x0)break;_0x70ed9c[_0x136ff6(0x304)](_0x2d48e2);break;}else _0x70ed9c['push'](_0x2d48e2);const _0x1c988e=(_0x1f9dbb=(_0xe56922=_0x34ffca[_0x136ff6(0x176)]())==null?void 0x0:_0xe56922[_0x136ff6(0x372)])!=null?_0x1f9dbb:_0x136ff6(0x12c),_0x29d1c4=(_0x39e03d=(_0x5109db=_0x34ffca[_0x136ff6(0x176)]())==null?void 0x0:_0x5109db['memberID'])!=null?_0x39e03d:_0x136ff6(0x12c);return{'changeset':{'unitID':_0x1edeb2,'type':_0x383f21(_0x1aa983[_0x136ff6(0x187)](_0x1edeb2)),'baseRev':_0x5c02d0[_0x136ff6(0x347)](_0x1edeb2),'revision':0x0,'userID':_0x1c988e,'memberID':_0x29d1c4,'mutations':_0x70ed9c},'pendingMutations':_0x4624cd[_0x136ff6(0x1d8)](_0x70ed9c[_0x136ff6(0x316)])};}function rn(_0x1639b0,_0x220b4a,_0x19b9f5,_0x576662,_0x5363ab){var _0x23b085=_0x3b7310,_0x524907,_0x545e9b,_0x1812fd,_0x169331;const _0x330292=[_0x1639b0[_0x23b085(0x197)]((_0x4a6f21,_0x4291cb)=>{var _0xa05f87=_0x23b085,_0x160c51;const {id:_0x282d5e}=_0x4a6f21,{id:_0x2514e4,type:_0x5d7a47}=_0x4291cb,_0x43fc37=(_0x160c51=_0x4a6f21[_0xa05f87(0xe4)])!=null?_0x160c51:{'actions':null},_0x3a0fcb=_0x4291cb[_0xa05f87(0xe4)];if(_0x282d5e&&_0x282d5e!==_0x2514e4)throw new Error(_0xa05f87(0x310)+_0x282d5e+_0xa05f87(0xc1)+_0x2514e4+'.');return{..._0x4a6f21,'id':_0x2514e4,'type':_0x5d7a47,'params':{'unitId':_0x3a0fcb[_0xa05f87(0x326)],'textRanges':_0x3a0fcb[_0xa05f87(0x149)],'actions':_0x2e7333[_0xa05f87(0x2fc)](_0x43fc37[_0xa05f87(0xaa)],_0x3a0fcb['actions'])}};},{})],_0x13e610=(_0x545e9b=(_0x524907=_0x5363ab[_0x23b085(0x176)]())==null?void 0x0:_0x524907[_0x23b085(0x372)])!=null?_0x545e9b:_0x23b085(0x12c),_0x4d885a=(_0x169331=(_0x1812fd=_0x5363ab['getCurrentUser']())==null?void 0x0:_0x1812fd[_0x23b085(0x17f)])!=null?_0x169331:_0x23b085(0x12c);return{'changeset':{'unitID':_0x220b4a,'type':_0x383f21(_0x19b9f5[_0x23b085(0x187)](_0x220b4a)),'baseRev':_0x576662[_0x23b085(0x347)](_0x220b4a),'revision':0x0,'userID':_0x13e610,'memberID':_0x4d885a,'mutations':_0x330292},'pendingMutations':[]};}function Ri(_0x5c3aba,_0x4b783b){var _0x8dfbe0=_0x3b7310;const _0x5734c8=new _0x452f18(0x1);return setTimeout(()=>_0x5734c8[_0x8dfbe0(0x2a5)](_0x4b783b),_0x5c3aba),_0x5734c8['asObservable']()[_0x8dfbe0(0x2d2)](_0x473e6b(0x1));}const nn={'id':_0x5be811['id'],'type':_0x3633bf['MUTATION'],'params':{}};var sn=Object[_0x3b7310(0x20e)],Te=(_0x2d3689,_0x33259d,_0x1562e9,_0x112db9)=>{var _0x40d357=_0x3b7310;for(var _0x4b442d=_0x112db9>0x1?void 0x0:_0x112db9?sn(_0x33259d,_0x1562e9):_0x33259d,_0x538a2c=_0x2d3689[_0x40d357(0x316)]-0x1,_0x4be137;_0x538a2c>=0x0;_0x538a2c--)(_0x4be137=_0x2d3689[_0x538a2c])&&(_0x4b442d=_0x4be137(_0x4b442d)||_0x4b442d);return _0x4b442d;},P=(_0xf99958,_0x190db4)=>(_0x4a7c77,_0x4dbc6b)=>_0x190db4(_0x4a7c77,_0x4dbc6b,_0xf99958),bi=(_0x4c96a7=>(_0x4c96a7[_0x3b7310(0x1cd)]='not_collab',_0x4c96a7[_0x3b7310(0x17d)]=_0x3b7310(0x23a),_0x4c96a7[_0x3b7310(0x33a)]=_0x3b7310(0x1b9),_0x4c96a7[_0x3b7310(0x2d7)]=_0x3b7310(0x1a1),_0x4c96a7[_0x3b7310(0x161)]=_0x3b7310(0x1b7),_0x4c96a7[_0x3b7310(0x16f)]=_0x3b7310(0xe9),_0x4c96a7['CONFLICT']=_0x3b7310(0x295),_0x4c96a7['OFFLINE']=_0x3b7310(0x12f),_0x4c96a7))(bi||{});const yi=0xea60;class Ce{constructor(_0x22fd5d,_0x53e339,_0x5416dd,_0x223ae1,_0x293b1b,_0xda7fad,_0x28e698,_0x1a6070,_0x564194){var _0x542b5b=_0x3b7310;N(this,_0x542b5b(0x2bd),null),N(this,_0x542b5b(0xf3),[]),(this[_0x542b5b(0x135)]=_0x22fd5d,this['type']=_0x53e339,this[_0x542b5b(0xbd)]=_0x293b1b,this[_0x542b5b(0xe1)]=_0xda7fad,this['_undoRedoService']=_0x28e698,this[_0x542b5b(0x238)]=_0x1a6070,this[_0x542b5b(0x2a7)]=_0x564194,this[_0x542b5b(0x2bd)]=_0x5416dd,this['_pendingMutations']=_0x223ae1);}['_checkMissing'](_0x5306e3){var _0x29665d=_0x3b7310;const _0x5f0388=this[_0x29665d(0x238)][_0x29665d(0x347)](this[_0x29665d(0x135)]);return _0x5306e3['revision']>_0x5f0388+0x1?(this[_0x29665d(0xbd)][_0x29665d(0x19c)]({'from':_0x5f0388,'to':_0x5306e3['revision']-0x1}),!0x0):!0x1;}[_0x3b7310(0x1c6)](_0xf8ce70){var _0x20d8a5=_0x3b7310;this[_0x20d8a5(0x338)][_0x20d8a5(0x31f)](this[_0x20d8a5(0x135)],_0xf8ce70);}[_0x3b7310(0x2e3)](_0x526618){var _0x40884a=_0x3b7310,_0x52fac7,_0x34573a;(_0x34573a=(_0x52fac7=this[_0x40884a(0xbd)])[_0x40884a(0x240)])==null||_0x34573a[_0x40884a(0x269)](_0x52fac7,_0x526618);}['_transformIMECache'](_0x1dbdcd){var _0x49f46e=_0x3b7310,_0x404791,_0x2a80d7;return(_0x2a80d7=(_0x404791=this[_0x49f46e(0xbd)])[_0x49f46e(0xf4)])==null?void 0x0:_0x2a80d7['call'](_0x404791,_0x1dbdcd);}[_0x3b7310(0x205)](_0x4571c7){var _0x3b8c0a=_0x3b7310,_0x2a5233,_0x505dd7;return(_0x505dd7=(_0x2a5233=this[_0x3b8c0a(0xbd)])[_0x3b8c0a(0x106)])==null?void 0x0:_0x505dd7[_0x3b8c0a(0x269)](_0x2a5233,_0x4571c7);}[_0x3b7310(0x194)](_0x34dcff){var _0x3eeefe=_0x3b7310,_0x1413d5,_0x5951b4,_0x2d40ac;return(_0x2d40ac=(_0x5951b4=(_0x1413d5=this[_0x3eeefe(0xbd)])[_0x3eeefe(0xde)])==null?void 0x0:_0x5951b4[_0x3eeefe(0x269)](_0x1413d5,_0x34dcff))!=null?_0x2d40ac:_0x34dcff;}[_0x3b7310(0x2c2)](_0x746bf5){var _0x42cd62=_0x3b7310,_0x413faa,_0x16dedf,_0x48112d;return(_0x48112d=(_0x16dedf=(_0x413faa=this[_0x42cd62(0xbd)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x16dedf['call'](_0x413faa,_0x746bf5))!=null?_0x48112d:_0x746bf5;}[_0x3b7310(0x28e)](_0xb557ce){var _0x4122bf=_0x3b7310,_0x1eaf00,_0x83a675;if(this[_0x4122bf(0x16e)]===Q[_0x4122bf(0x12b)]){const {unitID:_0xea4abc,mutations:_0x5c8ed6,memberID:_0x2ac69c}=_0xb557ce,_0x329f8b=_0x5c8ed6[0x0]['params'][_0x4122bf(0x149)];Array['isArray'](_0x329f8b)&&_0x329f8b[_0x4122bf(0x316)]>0x0&&((_0x83a675=(_0x1eaf00=this['_handler'])[_0x4122bf(0x1c2)])==null||_0x83a675[_0x4122bf(0x269)](_0x1eaf00,{'unitID':_0xea4abc,'memberID':_0x2ac69c,'textRanges':_0x329f8b}));}}[_0x3b7310(0x361)](){var _0x2c1297=_0x3b7310,_0x225c12;(_0x225c12=this[_0x2c1297(0x2a7)])==null||_0x225c12['updateOfflineData'](this[_0x2c1297(0x135)],this['type'],this[_0x2c1297(0x2bd)],this[_0x2c1297(0xf3)]);}['_getCurrentRevision'](){var _0x4667f3=_0x3b7310;return this[_0x4667f3(0x238)][_0x4667f3(0x347)](this['unitID']);}[_0x3b7310(0x36f)](){var _0x438d7c=_0x3b7310;this['_revisionService'][_0x438d7c(0x1b3)](this[_0x438d7c(0x135)]);}[_0x3b7310(0x1c0)](_0x33390a){var _0x305045=_0x3b7310,_0x356449;let _0x3ab1b6=this[_0x305045(0x194)](_0x33390a);_0x3ab1b6=this[_0x305045(0x2c2)](_0x3ab1b6);const _0x10a13e=_0x423bb5(_0x3ab1b6['mutations'],this[_0x305045(0xe1)],{'fromCollab':!0x0});if(!_0x10a13e[_0x305045(0xab)])throw _0x10a13e[_0x305045(0x399)]instanceof Error?_0x10a13e[_0x305045(0x399)]:new Error((_0x356449=_0x10a13e['error'])!=null?_0x356449:'[CollaborationState]:\x20apply\x20error!');this[_0x305045(0x39b)](_0x3ab1b6),this[_0x305045(0x205)](_0x3ab1b6),this[_0x305045(0x1c6)](_0x33390a),this[_0x305045(0x2e3)](_0x3ab1b6),this[_0x305045(0x28e)](_0x3ab1b6),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x8367d8,_0x57c80e,_0x41a224,_0x4af15b,_0x1365ce,_0x2dc978,_0x21b96f,_0x4381ab,_0x5cc4f7,_0x59e155){var _0x5d23a5=_0x3b7310;super(_0x8367d8,_0x57c80e,null,[],_0x41a224,_0x21b96f,_0x2dc978,_0x4af15b,_0x59e155),N(this,'status','synced'),(this[_0x5d23a5(0x145)]=_0x1365ce,this['_logService']=_0x4381ab,this['_transformService']=_0x5cc4f7,this[_0x5d23a5(0xdf)]=_0x59e155);}['appendMutation'](_0xb42be7){var _0x3d1ba7=_0x3b7310;const _0x2d1447=this[_0x3d1ba7(0x145)][_0x3d1ba7(0x37b)](oe,this[_0x3d1ba7(0x135)],this[_0x3d1ba7(0x16e)],[_0xb42be7],this[_0x3d1ba7(0xbd)]);return _0x2d1447[_0x3d1ba7(0x364)](),_0x2d1447[_0x3d1ba7(0x361)](),_0x2d1447;}[_0x3b7310(0x1ed)](_0x34fa69){var _0x3e727f=_0x3b7310;if(this[_0x3e727f(0x37d)](_0x34fa69))return this[_0x3e727f(0x145)][_0x3e727f(0x37b)](ee,this['unitID'],this[_0x3e727f(0x16e)],null,[],null,[_0x34fa69],this['_handler']);try{const _0x28129f=this[_0x3e727f(0x25b)][_0x3e727f(0x2da)](_0x34fa69,[nn]);if(_0x4ceef6(_0x28129f)){const {c1Prime:_0x40875f}=_0x28129f;return this['_executeRemoteChangeset'](_0x40875f),this;}throw _0x28129f['error'];}catch(_0x76f492){return this[_0x3e727f(0x330)][_0x3e727f(0x399)](_0x76f492),this[_0x3e727f(0x2cc)](!0x1);}}[_0x3b7310(0x2cc)](_0x2a02b4){var _0x4fa4ab=_0x3b7310;return this['_injector'][_0x4fa4ab(0x37b)](ue,this[_0x4fa4ab(0x135)],this[_0x4fa4ab(0x16e)],null,[],this[_0x4fa4ab(0xbd)],_0x2a02b4);}[_0x3b7310(0x175)](){var _0x57a9d9=_0x3b7310;throw new Error(_0x57a9d9(0x14f));}['onRemoteRej'](){var _0x4360e2=_0x3b7310;throw new Error(_0x4360e2(0x1e3));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){var _0x5f43ac=_0x3b7310;return this['_injector'][_0x5f43ac(0x37b)](de,this[_0x5f43ac(0x135)],this[_0x5f43ac(0x16e)],null,[],this[_0x5f43ac(0xbd)]);}['toggleOnline'](){return this;}[_0x3b7310(0x113)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x44dee3=_0x3b7310;const _0x7705bc=this['_revisionService'][_0x44dee3(0x347)](this['unitID']);return this['_handler'][_0x44dee3(0x19c)]({'from':_0x7705bc,'to':0x0}),this[_0x44dee3(0x145)][_0x44dee3(0x37b)](ee,this['unitID'],this[_0x44dee3(0x16e)],null,[],null,[],this[_0x44dee3(0xbd)]);}};Ne=Te([P(0x3,_0x419509(_0x3bf5fe)),P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x4d6f06),P(0x6,_0x1ab65f),P(0x7,_0x2e40a9),P(0x8,_0xcdffcf),P(0x9,_0x21c4ab(J))],Ne);let oe=class extends Ce{constructor(_0x31334d,_0xc81368,_0x594ee3,_0x13919f,_0x3326a8,_0x42c31a,_0x1da5c8,_0x3efd3e,_0x3fa196,_0x227484,_0x4fbc97,_0x26c9e0,_0x5910d8,_0x43512a){var _0x184f45=_0x3b7310;super(_0x31334d,_0xc81368,null,_0x594ee3,_0x13919f,_0x3fa196,_0x5910d8,_0x42c31a,_0x43512a),N(this,_0x184f45(0x163),_0x184f45(0x1b9)),N(this,_0x184f45(0x171),null),N(this,'_sendingTimer',null),(this[_0x184f45(0x145)]=_0x3326a8,this[_0x184f45(0x170)]=_0x1da5c8,this['_logService']=_0x3efd3e,this[_0x184f45(0x1a0)]=_0x227484,this['_transformService']=_0x4fbc97,this[_0x184f45(0x36a)]=_0x26c9e0);}[_0x3b7310(0x2ef)](_0x38fb94){var _0x3f22f0=_0x3b7310;return this[_0x3f22f0(0xf3)]['push'](_0x38fb94),this[_0x3f22f0(0x361)](),this;}[_0x3b7310(0x1ed)](_0x590af8){var _0x3963d7=_0x3b7310;if(this[_0x3963d7(0x37d)](_0x590af8))return this[_0x3963d7(0x308)](),this['_injector'][_0x3963d7(0x37b)](ee,this['unitID'],this[_0x3963d7(0x16e)],null,this[_0x3963d7(0xf3)],null,[_0x590af8],this[_0x3963d7(0xbd)]);try{const _0x4f1e9f=this[_0x3963d7(0x25b)]['transformMutationsWithChangeset'](_0x590af8,this[_0x3963d7(0xf3)]);if(_0x4ceef6(_0x4f1e9f)){const {c1Prime:_0x3b4a5f,m2Prime:_0xb76ec1}=_0x4f1e9f;this[_0x3963d7(0x1c0)](_0x3b4a5f);const _0x96e503=this[_0x3963d7(0x145)][_0x3963d7(0x37b)](oe,this[_0x3963d7(0x135)],this[_0x3963d7(0x16e)],_0xb76ec1,this[_0x3963d7(0xbd)]);this['_clearScheduledTask']();const _0x3a04c3=new Date()[_0x3963d7(0xf2)](),_0x69460f=this[_0x3963d7(0x171)]?Math[_0x3963d7(0x129)](this[_0x3963d7(0x171)]-_0x3a04c3,0x0):this[_0x3963d7(0x156)]();return _0x96e503[_0x3963d7(0x364)](_0x69460f),_0x96e503;}throw _0x4f1e9f[_0x3963d7(0x399)];}catch(_0x48f5c4){return this[_0x3963d7(0x330)][_0x3963d7(0x399)](_0x48f5c4),this[_0x3963d7(0x2cc)](!0x1);}}[_0x3b7310(0x175)](){var _0x3d19d2=_0x3b7310;throw new Error(_0x3d19d2(0x1b1));}[_0x3b7310(0x1fb)](){var _0x563b68=_0x3b7310;throw new Error(_0x563b68(0x265));}[_0x3b7310(0x11b)](){return this;}['toggleOffline'](){var _0x361b13=_0x3b7310;return this['_clearScheduledTask'](),this[_0x361b13(0x145)][_0x361b13(0x37b)](de,this['unitID'],this['type'],null,this[_0x361b13(0xf3)],this[_0x361b13(0xbd)]);}['toggleOnline'](){return this;}[_0x3b7310(0x364)](_0x43b700){var _0x43dd96=_0x3b7310;const _0x1c5e09=_0x43b700!=null?_0x43b700:this['_getSendChangesetTimeout']();this[_0x43dd96(0x171)]=new Date()[_0x43dd96(0xf2)]()+_0x1c5e09,this['_sendingTimer']=setTimeout(()=>{var _0x7b7ccb=_0x43dd96;this[_0x7b7ccb(0x308)]();let _0x764835=null;switch(this[_0x7b7ccb(0x16e)]){case Q['UNIVER_SHEET']:{_0x764835=qt(this[_0x7b7ccb(0xf3)],this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x36a)],this[_0x7b7ccb(0x238)],this[_0x7b7ccb(0x170)]);break;}case Q[_0x7b7ccb(0x12b)]:{this[_0x7b7ccb(0xf3)][_0x7b7ccb(0xc9)](_0x17bfc0=>_0x17bfc0['id']===_0x3664c5['id'])?_0x764835=rn(this[_0x7b7ccb(0xf3)],this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x36a)],this[_0x7b7ccb(0x238)],this[_0x7b7ccb(0x170)]):_0x764835=qt(this[_0x7b7ccb(0xf3)],this['unitID'],this[_0x7b7ccb(0x36a)],this['_revisionService'],this[_0x7b7ccb(0x170)]);break;}default:throw new Error(_0x7b7ccb(0x1ac)+this['type']+_0x7b7ccb(0xbe));}const {changeset:_0x430d81,pendingMutations:_0x1a6043}=_0x764835;this[_0x7b7ccb(0xbd)][_0x7b7ccb(0x2b6)](_0x430d81);const _0x4124e7=_0x1a6043[_0x7b7ccb(0x316)]?this[_0x7b7ccb(0x145)][_0x7b7ccb(0x37b)](ae,this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x16e)],_0x430d81,_0x1a6043,this['_handler'],void 0x0):this['_injector'][_0x7b7ccb(0x37b)](le,this[_0x7b7ccb(0x135)],this[_0x7b7ccb(0x16e)],_0x430d81,this[_0x7b7ccb(0xbd)]);_0x4124e7['_updateLocalCache'](),this['_handler'][_0x7b7ccb(0x2d1)](this,_0x4124e7);},_0x1c5e09);}['_getSendChangesetTimeout'](){var _0x298327=_0x3b7310,_0x5e3706;const _0x373209=this['_configService'][_0x298327(0x30f)](q);return(_0x5e3706=_0x373209==null?void 0x0:_0x373209[_0x298327(0x2cd)])!=null?_0x5e3706:Sr;}[_0x3b7310(0x113)](){var _0x5cfe5b=_0x3b7310;throw new Error(_0x5cfe5b(0x359));}[_0x3b7310(0x308)](){var _0xc2d82f=_0x3b7310;this['_sendingTimer']!=null&&(clearTimeout(this[_0xc2d82f(0x38b)]),this[_0xc2d82f(0x38b)]=null);}[_0x3b7310(0x2cc)](_0x2f4d6a){var _0x8982cd=_0x3b7310;return this[_0x8982cd(0x308)](),this[_0x8982cd(0x145)][_0x8982cd(0x37b)](ue,this[_0x8982cd(0x135)],this[_0x8982cd(0x16e)],null,this['_pendingMutations'],this[_0x8982cd(0xbd)],_0x2f4d6a);}};oe=Te([P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x419509(_0x3bf5fe)),P(0x6,_0x419509(xe)),P(0x7,_0x2e40a9),P(0x8,_0x1ab65f),P(0x9,_0x29183e),P(0xa,_0xcdffcf),P(0xb,_0x56341d),P(0xc,_0x4d6f06),P(0xd,_0x21c4ab(J))],oe);let le=class extends Ce{constructor(_0xa54aa8,_0x54f97d,_0x4cb514,_0x16b8f0,_0x3189ed,_0x4c777e,_0x2fb508,_0x29e53e,_0x5a3760,_0x1a41a5,_0x235bcc){var _0x3cfd25=_0x3b7310;super(_0xa54aa8,_0x54f97d,_0x4cb514,[],_0x16b8f0,_0x2fb508,_0x1a41a5,_0x4c777e,_0x235bcc),N(this,'status',_0x3cfd25(0x1a1)),N(this,_0x3cfd25(0x1de),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3cfd25(0x145)]=_0x3189ed,this[_0x3cfd25(0x330)]=_0x29e53e,this[_0x3cfd25(0x25b)]=_0x5a3760);}[_0x3b7310(0x2ef)](_0x807d68){var _0xa89e55=_0x3b7310;this[_0xa89e55(0x308)]();const _0x148b68=this[_0xa89e55(0x145)][_0xa89e55(0x37b)](ae,this['unitID'],this[_0xa89e55(0x16e)],this[_0xa89e55(0x2bd)],[_0x807d68],this[_0xa89e55(0xbd)],this['_resendTimer']);return _0x148b68[_0xa89e55(0x361)](),_0x148b68;}['onRemoteChangeset'](_0x61fa53){var _0x23c4fb=_0x3b7310;if(this[_0x23c4fb(0x37d)](_0x61fa53))return this[_0x23c4fb(0x308)](),this[_0x23c4fb(0x145)][_0x23c4fb(0x37b)](ee,this[_0x23c4fb(0x135)],this['type'],this[_0x23c4fb(0x2bd)],[],null,[_0x61fa53],this['_handler']);try{const _0x443da5=this[_0x23c4fb(0x25b)][_0x23c4fb(0x2d9)]([_0x61fa53],[this[_0x23c4fb(0x2bd)]],!0x1);if(_0x2eedf1(_0x443da5)){const {c1Prime:_0x25e352,c2Prime:_0x3bc96e}=_0x443da5;this[_0x23c4fb(0x1c0)](_0x25e352[0x0]),_0x3bc96e[0x0]['baseRev']=this[_0x23c4fb(0x1e9)](),this[_0x23c4fb(0x308)]();const _0x1344ec=this[_0x23c4fb(0x145)][_0x23c4fb(0x37b)](le,this[_0x23c4fb(0x135)],this['type'],_0x3bc96e[0x0],this[_0x23c4fb(0xbd)]);return _0x1344ec[_0x23c4fb(0x361)](),_0x1344ec;}return this[_0x23c4fb(0x2cc)](!0x1);}catch(_0x3a8004){return this[_0x23c4fb(0x330)][_0x23c4fb(0x399)](_0x3a8004),this[_0x23c4fb(0x2cc)](!0x1);}}['onRemoteAck'](_0x446bde){var _0x295f5d=_0x3b7310;this[_0x295f5d(0x308)]();const _0x4fc10f=this['_revisionService'][_0x295f5d(0x347)](this[_0x295f5d(0x135)]);if(_0x446bde[_0x295f5d(0x3a0)]<_0x4fc10f-0x1)return this;if(this['_checkMissing'](_0x446bde))return this['_injector'][_0x295f5d(0x37b)](ee,this[_0x295f5d(0x135)],this[_0x295f5d(0x16e)],null,[],this[_0x295f5d(0x2bd)],[],this[_0x295f5d(0xbd)]);this[_0x295f5d(0x36f)]();const _0xa2ae0=this['_injector'][_0x295f5d(0x37b)](Ne,this[_0x295f5d(0x135)],this[_0x295f5d(0x16e)],this[_0x295f5d(0xbd)]);return _0xa2ae0[_0x295f5d(0x361)](),_0xa2ae0;}['onRemoteRej'](_0x35e6a2){var _0x44c842=_0x3b7310;return this[_0x44c842(0x2cc)](!!(_0x35e6a2!=null&&_0x35e6a2['isPermissionRej']));}[_0x3b7310(0x11b)](_0x16ad46){var _0x176ae8=_0x3b7310;return this[_0x176ae8(0x1de)]>yi?this[_0x176ae8(0x2c6)]():(this[_0x176ae8(0x111)]=Ri(this[_0x176ae8(0x1de)],{'timeout':this['_resendTimeout'],'reqId':_0x16ad46['reqId']}),this[_0x176ae8(0x166)]=this[_0x176ae8(0x111)][_0x176ae8(0x247)](({reqId:_0x4217f4,timeout:_0x2373b8})=>{var _0x425fca=_0x176ae8;this[_0x425fca(0xe3)](_0x4217f4,_0x2373b8);}),this);}['toggleOffline'](){var _0x1fffc0=_0x3b7310;return this[_0x1fffc0(0x308)](),this[_0x1fffc0(0x145)]['createInstance'](de,this[_0x1fffc0(0x135)],this['type'],this[_0x1fffc0(0x2bd)],[],this[_0x1fffc0(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x113)](){var _0x3ad8c3=_0x3b7310;this[_0x3ad8c3(0xbd)][_0x3ad8c3(0x2b6)](this[_0x3ad8c3(0x2bd)]);}[_0x3b7310(0x2cc)](_0x129cac){var _0xd7e5d7=_0x3b7310;return this[_0xd7e5d7(0x308)](),this[_0xd7e5d7(0x145)][_0xd7e5d7(0x37b)](ue,this[_0xd7e5d7(0x135)],this[_0xd7e5d7(0x16e)],this[_0xd7e5d7(0x2bd)],[],this[_0xd7e5d7(0xbd)],_0x129cac);}['_resendWithTimeout'](_0xa95cb6,_0x160205){var _0x5695db=_0x3b7310,_0x5ae461;_0xa95cb6===((_0x5ae461=this[_0x5695db(0x2bd)])==null?void 0x0:_0x5ae461[_0x5695db(0x14a)])&&(this[_0x5695db(0x113)](),this['_resendTimeout']=_0x160205===0x0?0x3e8:_0x160205*0x2);}[_0x3b7310(0x308)](){var _0x2debb0=_0x3b7310,_0x3cf7d9;(_0x3cf7d9=this['_sender'])==null||_0x3cf7d9['unsubscribe'](),this[_0x2debb0(0x1de)]=0x0;}};le=Te([P(0x4,_0x419509(_0x33a94f)),P(0x5,_0x419509(_0x3bf5fe)),P(0x6,_0x1ab65f),P(0x7,_0x2e40a9),P(0x8,_0xcdffcf),P(0x9,_0x4d6f06),P(0xa,_0x21c4ab(J))],le);let ae=class extends Ce{constructor(_0x19aadc,_0x3e15d8,_0x53894e,_0x3f572b,_0x4010cd,_0x28c99c,_0x34fe2,_0x476590,_0x56d43c,_0x5e722f,_0xddd11c,_0x263735,_0x432338){var _0x20a933=_0x3b7310;super(_0x19aadc,_0x3e15d8,_0x53894e,_0x3f572b,_0x4010cd,_0x56d43c,_0x263735,_0x476590,_0x432338),N(this,'status','awaiting_with_pending'),N(this,_0x20a933(0x1de),0x0),N(this,_0x20a933(0x111)),N(this,_0x20a933(0x166)),(this[_0x20a933(0x145)]=_0x34fe2,this[_0x20a933(0x330)]=_0x5e722f,this[_0x20a933(0x25b)]=_0xddd11c,this[_0x20a933(0xdf)]=_0x432338,_0x28c99c&&(this[_0x20a933(0x111)]=_0x28c99c,this[_0x20a933(0x166)]=this[_0x20a933(0x111)]['subscribe'](({reqId:_0x2e9a88,timeout:_0x557259})=>{this['_resendWithTimeout'](_0x2e9a88,_0x557259);})));}[_0x3b7310(0x2ef)](_0x18c60c){var _0x3bb6d8=_0x3b7310;return this['_pendingMutations'][_0x3bb6d8(0x304)](_0x18c60c),this;}['onRemoteChangeset'](_0x172ee8){var _0x171beb=_0x3b7310;if(this[_0x171beb(0x37d)](_0x172ee8))return this['_clearScheduledTask'](),this[_0x171beb(0x145)][_0x171beb(0x37b)](ee,this[_0x171beb(0x135)],this[_0x171beb(0x16e)],this[_0x171beb(0x2bd)],this[_0x171beb(0xf3)],null,[_0x172ee8],this[_0x171beb(0xbd)]);try{const _0xd80175=this[_0x171beb(0x25b)][_0x171beb(0x2d9)]([_0x172ee8],[this[_0x171beb(0x2bd)]],!0x1);if(_0x2eedf1(_0xd80175)){const {c1Prime:_0x2fc708,c2Prime:_0x3a0693}=_0xd80175,_0x52e114=this[_0x171beb(0x25b)][_0x171beb(0x2da)](_0x2fc708[0x0],this['_pendingMutations']);if(_0x4ceef6(_0x52e114)){const {c1Prime:_0x867446,m2Prime:_0x3ac299}=_0x52e114;return this[_0x171beb(0x1c0)](_0x867446),_0x3a0693[0x0][_0x171beb(0x146)]=this['_getCurrentRevision'](),this[_0x171beb(0x308)](),this[_0x171beb(0x145)][_0x171beb(0x37b)](ae,this[_0x171beb(0x135)],this[_0x171beb(0x16e)],_0x3a0693[0x0],_0x3ac299,this[_0x171beb(0xbd)],void 0x0);}throw _0x52e114[_0x171beb(0x399)];}throw _0xd80175['error'];}catch(_0x4797a9){return this[_0x171beb(0x330)][_0x171beb(0x399)](_0x4797a9),this[_0x171beb(0x2cc)](!0x1);}}['onRemoteAck'](_0x5ce2af){var _0x310e61=_0x3b7310;if(this[_0x310e61(0x308)](),this[_0x310e61(0x37d)](_0x5ce2af))return this[_0x310e61(0x145)][_0x310e61(0x37b)](ee,this[_0x310e61(0x135)],this[_0x310e61(0x16e)],null,this[_0x310e61(0xf3)],this[_0x310e61(0x2bd)],[],this[_0x310e61(0xbd)]);this[_0x310e61(0x36f)]();const _0x97bdd4=this[_0x310e61(0x145)][_0x310e61(0x37b)](oe,this[_0x310e61(0x135)],this[_0x310e61(0x16e)],this[_0x310e61(0xf3)],this[_0x310e61(0xbd)]);return _0x97bdd4[_0x310e61(0x364)](),_0x97bdd4[_0x310e61(0x361)](),_0x97bdd4;}[_0x3b7310(0x1fb)](_0x3ef9d9){var _0x177da8=_0x3b7310;return this['_onConflict'](!!(_0x3ef9d9!=null&&_0x3ef9d9[_0x177da8(0x23d)]));}[_0x3b7310(0x11b)](_0x543dcd){var _0xe24ab8=_0x3b7310;return this[_0xe24ab8(0x1de)]>yi?this[_0xe24ab8(0x2c6)]():(this[_0xe24ab8(0x111)]=Ri(this[_0xe24ab8(0x1de)],{'timeout':this[_0xe24ab8(0x1de)],'reqId':_0x543dcd[_0xe24ab8(0x14a)]}),this[_0xe24ab8(0x166)]=this[_0xe24ab8(0x111)][_0xe24ab8(0x247)](({reqId:_0x442944,timeout:_0x4a3ce7})=>{var _0x2dffbb=_0xe24ab8;this[_0x2dffbb(0xe3)](_0x442944,_0x4a3ce7);}),this);}[_0x3b7310(0x2c6)](){var _0xc77e92=_0x3b7310;return this['_clearScheduledTask'](),this['_injector'][_0xc77e92(0x37b)](de,this[_0xc77e92(0x135)],this[_0xc77e92(0x16e)],this[_0xc77e92(0x2bd)],this[_0xc77e92(0xf3)],this[_0xc77e92(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x113)](){var _0x28967a=_0x3b7310;this[_0x28967a(0xbd)][_0x28967a(0x2b6)](this[_0x28967a(0x2bd)]);}['_onConflict'](_0x4cfd3c){var _0x16107f=_0x3b7310;return this[_0x16107f(0x308)](),this[_0x16107f(0x145)][_0x16107f(0x37b)](ue,this[_0x16107f(0x135)],this['type'],null,this[_0x16107f(0xf3)],this['_handler'],_0x4cfd3c);}[_0x3b7310(0xe3)](_0x50fc14,_0x549946){var _0x98f889=_0x3b7310,_0x55f561;_0x50fc14===((_0x55f561=this['_awaitingChangeset'])==null?void 0x0:_0x55f561[_0x98f889(0x14a)])&&(this[_0x98f889(0x113)](),this['_resendTimeout']=_0x549946===0x0?0x3e8:_0x549946*0x2);}[_0x3b7310(0x308)](){var _0x4cfb37=_0x3b7310,_0x12479a;(_0x12479a=this['_sender'])==null||_0x12479a[_0x4cfb37(0x1e5)](),this[_0x4cfb37(0x1de)]=0x0;}};ae=Te([P(0x6,_0x419509(_0x33a94f)),P(0x7,_0x419509(_0x3bf5fe)),P(0x8,_0x1ab65f),P(0x9,_0x2e40a9),P(0xa,_0xcdffcf),P(0xb,_0x4d6f06),P(0xc,_0x21c4ab(J))],ae);let ue=class extends Ce{constructor(_0xf88c0e,_0x122cb9,_0x3a48ad,_0x109874,_0x3182e1,_0x29fcb5=!0x1,_0x442298,_0x20492f,_0x56e0d7,_0x2cc4f0,_0x184766,_0x4a96d9,_0x18d310){var _0x32d92f=_0x3b7310;super(_0xf88c0e,_0x122cb9,_0x3a48ad,_0x109874,_0x3182e1,_0x20492f,_0x56e0d7,_0x2cc4f0,_0x18d310),N(this,'status','conflict'),(this[_0x32d92f(0x228)]=_0x29fcb5,this[_0x32d92f(0x2d3)]=_0x442298,this[_0x32d92f(0x31a)]=_0x184766,this[_0x32d92f(0x102)]=_0x4a96d9,this[_0x32d92f(0xdf)]=_0x18d310,this['_showConflictNotification'](),this[_0x32d92f(0x38c)](),this[_0x32d92f(0x24c)]());}['appendMutation'](){return this;}[_0x3b7310(0x1ed)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){return this;}['toggleOnline'](){return this;}[_0x3b7310(0x113)](){var _0x3955fe=_0x3b7310;throw new Error(_0x3955fe(0x32b));}[_0x3b7310(0x38c)](){var _0x2505c1=_0x3b7310,_0x1a4c77;(_0x1a4c77=this[_0x2505c1(0x2a7)])==null||_0x1a4c77[_0x2505c1(0x296)](this['unitID'],this[_0x2505c1(0x16e)],null,[]);}['_showConflictNotification'](){var _0x574b0a=_0x3b7310;this[_0x574b0a(0x228)]?this[_0x574b0a(0x102)]['emitEvent']({'id':se[_0x574b0a(0x32a)]}):this[_0x574b0a(0x102)][_0x574b0a(0x2bc)]({'id':se[_0x574b0a(0x334)]});}[_0x3b7310(0x24c)](){var _0x1fa783=_0x3b7310;this[_0x1fa783(0x2d3)][_0x1fa783(0x2c7)](new _0x251d98(this[_0x1fa783(0x135)])['id'],!0x1);}};ue=Te([P(0x6,_0x419509(_0x373f2c)),P(0x7,_0x1ab65f),P(0x8,_0x4d6f06),P(0x9,_0x419509(_0x3bf5fe)),P(0xa,_0x419509(_0x503d26)),P(0xb,_0x419509(pe)),P(0xc,_0x21c4ab(J))],ue);let de=class extends Ce{constructor(_0x3f74ac,_0x3a2b20,_0x2810e9,_0x4058f1,_0x252f10,_0x1a110e,_0x448ea7,_0x4ad680,_0x2832d8,_0x1c4d86){var _0x4f0443=_0x3b7310;super(_0x3f74ac,_0x3a2b20,_0x2810e9,_0x4058f1,_0x252f10,_0x4ad680,_0x2832d8,_0x448ea7,_0x1c4d86),N(this,_0x4f0443(0x163),'offline'),this[_0x4f0443(0x145)]=_0x1a110e;}[_0x3b7310(0x2ef)](_0x1b4c68){var _0x5ae8c4=_0x3b7310;return this[_0x5ae8c4(0xf3)]['push'](_0x1b4c68),this[_0x5ae8c4(0x361)](),this;}[_0x3b7310(0x1ed)](_0x1f165a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3b7310(0x175)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3b7310(0x1fb)](){var _0x2bfd47=_0x3b7310;throw new Error(_0x2bfd47(0x341));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){return this;}[_0x3b7310(0x39c)](){const {_injector:_0x3bc419,_pendingMutations:_0x471923,_awaitingChangeset:_0x1ca67c,unitID:_0x393532,_handler:_0x246bc3,type:_0x2e8ec2}=this,_0x509b11=Oi(_0x3bc419,_0x393532,_0x2e8ec2,_0x1ca67c,_0x471923,_0x246bc3);return _0x509b11 instanceof oe?_0x509b11['_schedule']():(_0x509b11 instanceof ae||_0x509b11 instanceof le)&&_0x509b11['resend'](),_0x509b11;}[_0x3b7310(0x113)](){var _0x438283=_0x3b7310;throw new Error(_0x438283(0x13f));}};de=Te([P(0x5,_0x419509(_0x33a94f)),P(0x6,_0x419509(_0x3bf5fe)),P(0x7,_0x1ab65f),P(0x8,_0x4d6f06),P(0x9,_0x21c4ab(J))],de);let ee=class extends Ce{constructor(_0x2a29d9,_0x301baa,_0xbb356,_0x2d05d5,_0x4c9a36,_0x16af0a,_0x51b9db,_0x4827d3,_0x44140b,_0x5b8d6b,_0x4feb98,_0x26d82b,_0x4bff71,_0x175f6b){var _0xae17de=_0x3b7310;super(_0x2a29d9,_0x301baa,_0xbb356,_0x2d05d5,_0x51b9db,_0x4feb98,_0x26d82b,_0x44140b,_0x175f6b),N(this,_0xae17de(0x163),'fetch_missing'),(this[_0xae17de(0x300)]=_0x4c9a36,this[_0xae17de(0x213)]=_0x16af0a,this[_0xae17de(0x145)]=_0x4827d3,this[_0xae17de(0x330)]=_0x5b8d6b,this[_0xae17de(0x25b)]=_0x4bff71,this[_0xae17de(0xdf)]=_0x175f6b);}['onMissedChangesetFetched'](_0x1d7bf2){var _0x1a05dc=_0x3b7310;try{const _0x43739d=[..._0x1d7bf2,...this[_0x1a05dc(0x213)]],_0x5b3759=[this[_0x1a05dc(0x2bd)]||this[_0x1a05dc(0x300)]][_0x1a05dc(0x1ba)](_0x506608=>!!_0x506608);let _0x5928e5,_0xee7ff4;if(_0x5b3759[_0x1a05dc(0x316)]){const _0x3e996f=this[_0x1a05dc(0x25b)][_0x1a05dc(0x2d9)](_0x43739d,_0x5b3759,!0x1);if(!_0x2eedf1(_0x3e996f))throw _0x3e996f[_0x1a05dc(0x399)];_0x5928e5=_0x3e996f[_0x1a05dc(0x26c)],_0xee7ff4=_0x3e996f[_0x1a05dc(0x2f7)];}else _0x5928e5=_0x43739d,_0xee7ff4=[];let _0x268101=this['_pendingMutations'];_0x5928e5[_0x1a05dc(0x109)](_0x1fd821=>{var _0x43fe90=_0x1a05dc;let _0x2b7659;if(_0x268101[_0x43fe90(0x316)]){const _0x12d7ec=this[_0x43fe90(0x25b)][_0x43fe90(0x2da)](_0x1fd821,_0x268101);if(!_0x4ceef6(_0x12d7ec))throw _0x12d7ec[_0x43fe90(0x399)];_0x2b7659=_0x12d7ec[_0x43fe90(0x26c)],_0x268101=_0x12d7ec['m2Prime'];}else _0x2b7659=_0x1fd821;this[_0x43fe90(0x1c0)](_0x2b7659);}),this[_0x1a05dc(0x300)]&&this[_0x1a05dc(0x36f)](),this[_0x1a05dc(0x2bd)]&&_0xee7ff4[_0x1a05dc(0x316)]&&(_0xee7ff4[0x0][_0x1a05dc(0x146)]=this['_getCurrentRevision']());let _0x3d1cad;if(this[_0x1a05dc(0x2bd)]&&_0x268101[_0x1a05dc(0x316)]!==0x0)_0x3d1cad=this['_injector'][_0x1a05dc(0x37b)](ae,this[_0x1a05dc(0x135)],this['type'],_0xee7ff4[0x0],_0x268101,this[_0x1a05dc(0xbd)],void 0x0);else{if(this[_0x1a05dc(0x2bd)]&&_0x268101[_0x1a05dc(0x316)]===0x0)_0xee7ff4[0x0][_0x1a05dc(0x146)]=this[_0x1a05dc(0x1e9)](),_0x3d1cad=this['_injector'][_0x1a05dc(0x37b)](le,this[_0x1a05dc(0x135)],this[_0x1a05dc(0x16e)],_0xee7ff4[0x0],this[_0x1a05dc(0xbd)]);else{if(_0x268101['length']!==0x0){const _0x4dd7d3=this['_injector'][_0x1a05dc(0x37b)](oe,this[_0x1a05dc(0x135)],this[_0x1a05dc(0x16e)],_0x268101,this[_0x1a05dc(0xbd)]);_0x4dd7d3[_0x1a05dc(0x364)](),_0x3d1cad=_0x4dd7d3;}else _0x3d1cad=this[_0x1a05dc(0x145)][_0x1a05dc(0x37b)](Ne,this['unitID'],this['type'],this[_0x1a05dc(0xbd)]);}}return _0x3d1cad['_updateLocalCache'](),_0x3d1cad;}catch(_0x521c88){return this[_0x1a05dc(0x330)][_0x1a05dc(0x399)](_0x1a05dc(0xb5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x521c88),this[_0x1a05dc(0x145)][_0x1a05dc(0x37b)](ue,this['unitID'],this[_0x1a05dc(0x16e)],this['_awaitingChangeset'],this[_0x1a05dc(0xf3)],this[_0x1a05dc(0xbd)],!0x1);}}[_0x3b7310(0x113)](){var _0x5f0a9d=_0x3b7310;throw new Error(_0x5f0a9d(0x353));}['appendMutation'](_0x356724){var _0x5808e0=_0x3b7310;return this[_0x5808e0(0xf3)]['push'](_0x356724),this;}['onRemoteChangeset'](_0x1e49ec){var _0x50b1aa=_0x3b7310;return this[_0x50b1aa(0x213)][_0x50b1aa(0x304)](_0x1e49ec),this;}[_0x3b7310(0x175)](_0x292b08){var _0x2b9245=_0x3b7310;if(this[_0x2b9245(0x2bd)])return this[_0x2b9245(0x300)]=this[_0x2b9245(0x2bd)],this[_0x2b9245(0x2bd)]=null,this;throw new Error(_0x2b9245(0x355));}[_0x3b7310(0x1fb)](_0x396e3a){var _0x13dd1c=_0x3b7310;return this[_0x13dd1c(0x2cc)](!!(_0x396e3a!=null&&_0x396e3a['isPermissionRej']));}[_0x3b7310(0x11b)](){return this;}[_0x3b7310(0x2c6)](){var _0x38aee=_0x3b7310;return this[_0x38aee(0x145)][_0x38aee(0x37b)](de,this[_0x38aee(0x135)],this['type'],this[_0x38aee(0x2bd)],this[_0x38aee(0xf3)],this[_0x38aee(0xbd)]);}[_0x3b7310(0x39c)](){return this;}[_0x3b7310(0x2cc)](_0xa24aaa){var _0x2e0bed=_0x3b7310;return this[_0x2e0bed(0x145)][_0x2e0bed(0x37b)](ue,this['unitID'],this[_0x2e0bed(0x16e)],this[_0x2e0bed(0x2bd)],this[_0x2e0bed(0xf3)],this[_0x2e0bed(0xbd)],_0xa24aaa);}};ee=Te([P(0x7,_0x419509(_0x33a94f)),P(0x8,_0x419509(_0x3bf5fe)),P(0x9,_0x2e40a9),P(0xa,_0x1ab65f),P(0xb,_0x4d6f06),P(0xc,_0xcdffcf),P(0xd,_0x21c4ab(J))],ee);function Oi(_0x4f382f,_0x1d31d5,_0x30e11f,_0x1b060e,_0x3dd5ba,_0x266638){var _0x544ac3=_0x3b7310;return _0x1b060e&&_0x3dd5ba['length']?_0x4f382f[_0x544ac3(0x37b)](ae,_0x1d31d5,_0x30e11f,_0x1b060e,_0x3dd5ba,_0x266638,void 0x0):_0x1b060e?_0x4f382f[_0x544ac3(0x37b)](le,_0x1d31d5,_0x30e11f,_0x1b060e,_0x266638):_0x3dd5ba[_0x544ac3(0x316)]?_0x4f382f['createInstance'](oe,_0x1d31d5,_0x30e11f,_0x3dd5ba,_0x266638):_0x4f382f[_0x544ac3(0x37b)](Ne,_0x1d31d5,_0x30e11f,_0x266638);}var on=Object['getOwnPropertyDescriptor'],xt=(_0x41ccbf,_0x353c4e,_0x40ff0b,_0x4bca10)=>{for(var _0x2a51fd=_0x4bca10>0x1?void 0x0:_0x4bca10?on(_0x353c4e,_0x40ff0b):_0x353c4e,_0x557a53=_0x41ccbf['length']-0x1,_0x25db71;_0x557a53>=0x0;_0x557a53--)(_0x25db71=_0x41ccbf[_0x557a53])&&(_0x2a51fd=_0x25db71(_0x2a51fd)||_0x2a51fd);return _0x2a51fd;},H=(_0x1b6c0a,_0x23ec62)=>(_0x1c4710,_0x4e5358)=>_0x23ec62(_0x1c4710,_0x4e5358,_0x1b6c0a);let rt=class extends _0x3f9fed{constructor(_0x350597,_0x155be1,_0x59c35a,_0x1846a8,_0x3fdff9,_0x4753c8,_0x58e789,_0x7bf30a,_0x281ca3,_0x312bbe,_0x14a928,_0x32425c,_0x126c39){var _0x474fe1=_0x3b7310;super(),N(this,_0x474fe1(0x309),new _0x31cf27(null)),N(this,_0x474fe1(0x360),this['_state$'][_0x474fe1(0x2bf)]()),N(this,_0x474fe1(0x25d)),N(this,_0x474fe1(0x35e),!0x1),N(this,_0x474fe1(0x249),''),N(this,_0x474fe1(0x2ff),0x0),N(this,_0x474fe1(0x1d5),this[_0x474fe1(0x360)][_0x474fe1(0x2d2)](_0x3b2e8f(_0x123f9f=>_0x123f9f?_0x123f9f[_0x474fe1(0x163)]:bi[_0x474fe1(0x388)]),_0x2333ec(0x1))),N(this,_0x474fe1(0x10e),!0x1),N(this,_0x474fe1(0x298),[]),(this[_0x474fe1(0x135)]=_0x350597,this[_0x474fe1(0x159)]=_0x155be1,this[_0x474fe1(0x335)]=_0x59c35a,this[_0x474fe1(0x145)]=_0x1846a8,this[_0x474fe1(0x302)]=_0x3fdff9,this[_0x474fe1(0x31a)]=_0x4753c8,this[_0x474fe1(0x238)]=_0x58e789,this[_0x474fe1(0x1ab)]=_0x7bf30a,this[_0x474fe1(0x330)]=_0x281ca3,this[_0x474fe1(0xe1)]=_0x312bbe,this[_0x474fe1(0x2d3)]=_0x14a928,this[_0x474fe1(0x34c)]=_0x32425c,this['_localCacheService']=_0x126c39);}get[_0x3b7310(0x1f4)](){return this['_state'];}async[_0x3b7310(0x1fd)](){var _0xa447a3=_0x3b7310;if(this[_0xa447a3(0x1f4)])throw new Error(_0xa447a3(0xd2));await this['_init']();}[_0x3b7310(0xda)](){var _0x312e8b=_0x3b7310;return this[_0x312e8b(0x35e)]=!0x0,_0x47f1eb(()=>{var _0x4c5e28=_0x312e8b;this[_0x4c5e28(0x35e)]=!0x1,this[_0x4c5e28(0x2dd)]();});}[_0x3b7310(0x291)](_0x124edc){var _0x1622b0=_0x3b7310;this[_0x1622b0(0xce)](_0x124edc);}['_updateState'](_0x3b41a6){var _0x557166=_0x3b7310;this[_0x557166(0x25d)]=_0x3b41a6,this[_0x557166(0x309)][_0x557166(0x2a5)](_0x3b41a6);}async[_0x3b7310(0xcb)](){var _0x13df49=_0x3b7310,_0x366ec1;this[_0x13df49(0x10d)](await this['_createInitialState']()),this[_0x13df49(0x34c)]&&((_0x366ec1=this[_0x13df49(0x34c)])==null||_0x366ec1[_0x13df49(0x116)](this[_0x13df49(0x135)]),this[_0x13df49(0x184)](this[_0x13df49(0x34c)][_0x13df49(0x112)](this['unitID'])[_0x13df49(0x247)](_0x246c13=>{var _0x103e6a=_0x13df49;this[_0x103e6a(0x330)][_0x103e6a(0x2e8)](_0x103e6a(0x18c),_0x103e6a(0x22b),_0x246c13),_0x246c13===Ci[_0x103e6a(0x237)]?(this[_0x103e6a(0x1ab)][_0x103e6a(0x2bc)]({'id':se[_0x103e6a(0x257)]}),this[_0x103e6a(0x2d3)][_0x103e6a(0x2c7)](new _0x251d98(this[_0x103e6a(0x135)])['id'],!0x1),this[_0x103e6a(0x2d3)]['setShowComponents'](!0x1)):(this[_0x103e6a(0x2d3)][_0x103e6a(0x2c7)](new _0x251d98(this[_0x103e6a(0x135)])['id'],!0x0),this[_0x103e6a(0x2d3)][_0x103e6a(0x2a2)](!0x0));})));let _0x4bc602=!0x1;return this[_0x13df49(0x184)](this[_0x13df49(0x159)]['sessionStatus$'][_0x13df49(0x247)](_0x515414=>{var _0x131220=_0x13df49;_0x515414===Ee[_0x131220(0x1ec)]?this[_0x131220(0x320)](_0x4bc602):_0x515414===Ee[_0x131220(0x388)]&&(_0x4bc602=!0x0,this[_0x131220(0xae)]());})),this[_0x13df49(0x184)](this[_0x13df49(0x159)][_0x13df49(0x178)]['subscribe'](_0x4abd33=>{var _0x566ae4=_0x13df49;try{switch(_0x4abd33[_0x566ae4(0xe7)]){case _0x502491[_0x566ae4(0x1d2)]:{this[_0x566ae4(0x1da)](_0x46451d(_0x4abd33[_0x566ae4(0x185)]));break;}case _0x502491[_0x566ae4(0x105)]:{this[_0x566ae4(0x267)](_0x4abd33[_0x566ae4(0x185)]);break;}case _0x502491[_0x566ae4(0x1f3)]:{this[_0x566ae4(0x28b)]();break;}case _0x502491[_0x566ae4(0x22d)]:{this[_0x566ae4(0x2d5)](_0x4abd33['data']);break;}case _0x502491[_0x566ae4(0x29d)]:{this['_onFetchMissResult'](_0x4abd33['data'][_0x566ae4(0x120)][_0x566ae4(0x2b9)](_0x51824b=>_0x46451d(_0x51824b)));break;}case _0x502491[_0x566ae4(0x348)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x502491[_0x566ae4(0x2d8)]:break;}}catch(_0x16e470){throw console[_0x566ae4(0x399)](_0x566ae4(0x2ab),_0x16e470),_0x16e470;}})),this[_0x13df49(0x25d)];}['_unlockTransition'](){var _0x5199f3=_0x3b7310;this[_0x5199f3(0x10e)]=!0x1;}[_0x3b7310(0xeb)](){var _0x3d7310=_0x3b7310;if(this[_0x3d7310(0x10e)])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[_0x3d7310(0x10e)]=!0x0;}[_0x3b7310(0xce)](_0x553748){var _0x4c3659=_0x3b7310;this['_lockTransition'](),this['_updateState'](this[_0x4c3659(0x25d)][_0x4c3659(0x2ef)](_0x553748)),this[_0x4c3659(0xea)]();}[_0x3b7310(0x1da)](_0x37ce11){var _0x4e3294=_0x3b7310;if(!(_0x37ce11['revision']<=this[_0x4e3294(0x238)][_0x4e3294(0x347)](this[_0x4e3294(0x135)]))){if(this['_collaborationPaused']){this[_0x4e3294(0x298)][_0x4e3294(0x304)](_0x37ce11);return;}this[_0x4e3294(0x2b5)](_0x37ce11);}}[_0x3b7310(0x2dd)](){var _0x1abbe7=_0x3b7310;this[_0x1abbe7(0x298)][_0x1abbe7(0x109)](_0x4bb36d=>this[_0x1abbe7(0x2b5)](_0x4bb36d)),this[_0x1abbe7(0x298)]=[];}[_0x3b7310(0x2b5)](_0x453041){var _0x3126b0=_0x3b7310;const _0xaac7d=this[_0x3126b0(0x302)]['interceptor'][_0x3126b0(0xed)](this[_0x3126b0(0x302)][_0x3126b0(0x263)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x453041[_0x3126b0(0x28a)],null)||_0x453041[_0x3126b0(0x28a)],_0x29e903={..._0x453041,'mutations':_0xaac7d};this[_0x3126b0(0xeb)](),this['_updateState'](this[_0x3126b0(0x25d)][_0x3126b0(0x1ed)](_0x29e903)),this['_unlockTransition']();}[_0x3b7310(0x267)](_0x16af17){var _0x48c1cc=_0x3b7310;this[_0x48c1cc(0xeb)](),this[_0x48c1cc(0x10d)](this[_0x48c1cc(0x25d)][_0x48c1cc(0x175)](_0x16af17)),this[_0x48c1cc(0xea)]();}[_0x3b7310(0x28b)](_0x236136){var _0x54d0c1=_0x3b7310;this['_lockTransition'](),this['_updateState'](this[_0x54d0c1(0x25d)][_0x54d0c1(0x1fb)](_0x236136)),this[_0x54d0c1(0xea)]();}[_0x3b7310(0x2d5)](_0x35a471){var _0x400c11=_0x3b7310;this[_0x400c11(0xeb)](),this[_0x400c11(0x10d)](this[_0x400c11(0x25d)][_0x400c11(0x11b)](_0x35a471)),this['_unlockTransition']();}[_0x3b7310(0x1dc)](_0x2a52d5){var _0x2810d6=_0x3b7310;if(!(this[_0x2810d6(0x25d)]instanceof ee))throw new TypeError(_0x2810d6(0x2c8));const _0x49740a=_0x2a52d5[_0x2810d6(0x2b9)](_0x2ac6c2=>{var _0x1f743b=_0x2810d6;const _0x5f4818=this['_compressMutationService'][_0x1f743b(0x263)][_0x1f743b(0xed)](this[_0x1f743b(0x302)][_0x1f743b(0x263)][_0x1f743b(0x303)]()[_0x1f743b(0x20b)])(_0x2ac6c2['mutations'],null)||_0x2ac6c2[_0x1f743b(0x28a)];return{..._0x2ac6c2,'mutations':_0x5f4818};});this[_0x2810d6(0xeb)](),this[_0x2810d6(0x10d)](this['_state'][_0x2810d6(0x18f)](_0x49740a)),this[_0x2810d6(0xea)]();}[_0x3b7310(0xae)](){var _0x4a6a8f=_0x3b7310;this[_0x4a6a8f(0xeb)](),this[_0x4a6a8f(0x10d)](this[_0x4a6a8f(0x25d)][_0x4a6a8f(0x2c6)]()),this[_0x4a6a8f(0xea)]();}[_0x3b7310(0x320)](_0x290a7a=!0x1){var _0x2bf783=_0x3b7310;this['_lockTransition'](),this[_0x2bf783(0x10d)](this[_0x2bf783(0x25d)][_0x2bf783(0x39c)]()),this[_0x2bf783(0xea)]();const _0x1e0606=this['_state'];_0x290a7a&&_0x1e0606 instanceof Ne&&(this[_0x2bf783(0xeb)](),this[_0x2bf783(0x10d)](_0x1e0606[_0x2bf783(0x1a7)]()),this['_unlockTransition']());}async[_0x3b7310(0x395)](){return new Promise(_0x1311ae=>{var _0x4be5ae=_0x5c5f;this[_0x4be5ae(0x159)][_0x4be5ae(0x258)]['pipe'](_0x473e6b(0x1))['subscribe'](async _0x53a7e8=>{var _0x46a007=_0x4be5ae;_0x1311ae(await this[_0x46a007(0x345)](_0x53a7e8===Ee[_0x46a007(0x1ec)]));});});}[_0x3b7310(0xe5)](){var _0x300329=_0x3b7310;const _0x32382a=this[_0x300329(0x135)];return{'onStateChange':(_0x696696,_0xbe2959)=>{var _0x5beec4=_0x300329;if(_0x696696!==this[_0x5beec4(0x25d)])throw new Error(_0x5beec4(0x162)+_0x696696[_0x5beec4(0x163)]+'\x0aAfter:\x20'+_0xbe2959[_0x5beec4(0x163)]+'\x0aCurrent:\x20'+this[_0x5beec4(0x25d)][_0x5beec4(0x163)]);this[_0x5beec4(0x10d)](_0xbe2959);},'onSendChangeset':_0x975a75=>{var _0x355e01=_0x300329;_0x975a75[_0x355e01(0x350)]||(_0x975a75[_0x355e01(0x350)]=this[_0x355e01(0x249)],_0x975a75[_0x355e01(0x14a)]=++this[_0x355e01(0x2ff)]);const _0x235274={'eventID':_0x502491[_0x355e01(0x1ad)],'data':{'unitID':_0x975a75[_0x355e01(0x135)],'unitType':this[_0x355e01(0x335)],'changeset':_0x975a75,'memberID':this['session'][_0x355e01(0x318)]()}};this[_0x355e01(0x159)][_0x355e01(0x19f)](_0x235274,this['unitID']);},'onMissingChangesets':({from:_0x41e6db,to:_0x2ff3f5})=>{var _0xec009e=_0x300329;this[_0xec009e(0x330)]['debug'](_0xec009e(0x18c),_0xec009e(0x2bb)+_0x41e6db+'\x20to\x20'+_0x2ff3f5);const _0x31ba09={'eventID':_0x502491['FETCH_MISSING'],'data':{'unitID':_0x32382a,'unitType':this[_0xec009e(0x335)],'from':_0x41e6db,'to':_0x2ff3f5}};this[_0xec009e(0x159)]['send'](_0x31ba09,this[_0xec009e(0x135)]);}};}async[_0x3b7310(0x345)](_0x225aac){var _0x2b202a=_0x3b7310,_0xb3b85b,_0x13ba18,_0x37cf9d;const _0x294e76=await((_0xb3b85b=this[_0x2b202a(0x2a7)])==null?void 0x0:_0xb3b85b[_0x2b202a(0x1a3)](this['unitID'])),_0x464368=(_0x13ba18=_0x294e76==null?void 0x0:_0x294e76[_0x2b202a(0x28a)])!=null?_0x13ba18:[],_0x4506a1=(_0x37cf9d=_0x294e76==null?void 0x0:_0x294e76['awaitingChangeset'])!=null?_0x37cf9d:null,_0x49e26a=!!(_0x4506a1!=null&&_0x4506a1[_0x2b202a(0x350)])&&!!(_0x4506a1!=null&&_0x4506a1['reqId']);this[_0x2b202a(0x249)]=_0x49e26a?_0x4506a1['sid']:Xr(),this[_0x2b202a(0x2ff)]=_0x49e26a?_0x4506a1[_0x2b202a(0x14a)]:0x0;const _0x4f92e4=this['unitID'];try{this[_0x2b202a(0x389)](_0x4506a1,_0x464368);}catch(_0x3369dd){this['_logService'][_0x2b202a(0x399)](_0x3369dd);}const _0x832563=this[_0x2b202a(0xe5)]();if(_0x225aac){const _0x27df71=Oi(this[_0x2b202a(0x145)],_0x4f92e4,this['_type'],_0x4506a1,_0x464368,_0x832563);return _0x27df71 instanceof oe?_0x27df71['_schedule']():(_0x27df71 instanceof ae||_0x27df71 instanceof le)&&_0x27df71[_0x2b202a(0x113)](),_0x27df71;}return this[_0x2b202a(0x145)]['createInstance'](de,_0x4f92e4,this[_0x2b202a(0x335)],_0x4506a1,_0x464368,_0x832563);}[_0x3b7310(0x389)](_0x3e47f8,_0x2eb97b){var _0x58e2c9=_0x3b7310,_0x508d22,_0x322b40;const _0xc0d4f1=this['_compressMutationService'][_0x58e2c9(0x263)][_0x58e2c9(0xed)](this[_0x58e2c9(0x302)]['interceptor']['getInterceptPoints']()[_0x58e2c9(0x20b)]);(_0x508d22=_0xc0d4f1((_0x3e47f8==null?void 0x0:_0x3e47f8[_0x58e2c9(0x28a)])||[],null))==null||_0x508d22['forEach'](_0x1cd1e2=>this[_0x58e2c9(0xe1)][_0x58e2c9(0x2e2)](_0x1cd1e2['id'],_0x1cd1e2['params'])),(_0x322b40=_0xc0d4f1(_0x2eb97b||[],null))==null||_0x322b40[_0x58e2c9(0x109)](_0x2a3f7a=>this[_0x58e2c9(0xe1)][_0x58e2c9(0x2e2)](_0x2a3f7a['id'],_0x2a3f7a[_0x58e2c9(0xe4)]));}};rt=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(pe)),H(0x8,_0x2e40a9),H(0x9,_0x1ab65f),H(0xa,_0x373f2c),H(0xb,_0x21c4ab(ht)),H(0xc,_0x21c4ab(J))],rt);let It=class extends rt{constructor(_0xddc454,_0x34da4c,_0x591635,_0x1aa1bf,_0x24dfca,_0x13659d,_0xb8d505,_0x12e973,_0x456aaa,_0x49460b,_0x48de13,_0x42b162,_0x467fd4){super(_0xddc454,_0x591635,_0x34da4c,_0x1aa1bf,_0x24dfca,_0x13659d,_0xb8d505,_0x12e973,_0x456aaa,_0x49460b,_0x48de13,_0x42b162,_0x467fd4),N(this,'_handlerCallback',null),(this['unitID']=_0xddc454,this['type']=_0x34da4c);}[_0x3b7310(0x192)](_0x3bd6ed){var _0x1456d1=_0x3b7310;this[_0x1456d1(0x15c)]=_0x3bd6ed;}[_0x3b7310(0x368)](){var _0x18ffdc=_0x3b7310;this['_handlerCallback']=null,super[_0x18ffdc(0x368)]();}[_0x3b7310(0xe5)](){var _0x4cd8de=_0x3b7310;const _0x57f297=super[_0x4cd8de(0xe5)]();return _0x57f297[_0x4cd8de(0xf4)]=_0x2ae4ca=>{var _0x941893=_0x4cd8de,_0x2c3e8d,_0x3d1904;return(_0x3d1904=(_0x2c3e8d=this['_handlerCallback'])==null?void 0x0:_0x2c3e8d[_0x941893(0xf4)])==null?void 0x0:_0x3d1904[_0x941893(0x269)](_0x2c3e8d,_0x2ae4ca);},_0x57f297['onTransformState']=_0xfc5cc9=>{var _0x3a6d2f=_0x4cd8de,_0x282b7e,_0x58cc49;return(_0x58cc49=(_0x282b7e=this[_0x3a6d2f(0x15c)])==null?void 0x0:_0x282b7e[_0x3a6d2f(0x106)])==null?void 0x0:_0x58cc49[_0x3a6d2f(0x269)](_0x282b7e,_0xfc5cc9);},_0x57f297['onTransformSelections']=_0x1c3558=>{var _0x2203d9,_0x5388b5;return(_0x5388b5=(_0x2203d9=this['_handlerCallback'])==null?void 0x0:_0x2203d9['onTransformSelections'])==null?void 0x0:_0x5388b5['call'](_0x2203d9,_0x1c3558);},_0x57f297[_0x4cd8de(0x1c2)]=_0x41a7b5=>{var _0x1afb74=_0x4cd8de,_0x17986d,_0x1f9b1f;return(_0x1f9b1f=(_0x17986d=this[_0x1afb74(0x15c)])==null?void 0x0:_0x17986d['onSyncEditingCollabCursor'])==null?void 0x0:_0x1f9b1f['call'](_0x17986d,_0x41a7b5);},_0x57f297[_0x4cd8de(0xde)]=_0x5e0a0c=>{var _0x3a862d=_0x4cd8de,_0x3d3b82,_0x43a4da,_0x449edf;if(!((_0x3d3b82=this[_0x3a862d(0x15c)])!=null&&_0x3d3b82[_0x3a862d(0xde)]))throw new Error(_0x3a862d(0x1af));return(_0x449edf=(_0x43a4da=this[_0x3a862d(0x15c)])==null?void 0x0:_0x43a4da[_0x3a862d(0xde)])==null?void 0x0:_0x449edf[_0x3a862d(0x269)](_0x43a4da,_0x5e0a0c);},_0x57f297[_0x4cd8de(0x2ae)]=_0x554da5=>{var _0x57a34e=_0x4cd8de,_0x4cbd33,_0xc2423a,_0x6accd7;if(!((_0x4cbd33=this[_0x57a34e(0x15c)])!=null&&_0x4cbd33['onTransformRemoteChangesetByStateCache']))throw new Error(_0x57a34e(0xdb));return(_0x6accd7=(_0xc2423a=this[_0x57a34e(0x15c)])==null?void 0x0:_0xc2423a[_0x57a34e(0x2ae)])==null?void 0x0:_0x6accd7[_0x57a34e(0x269)](_0xc2423a,_0x554da5);},_0x57f297;}async[_0x3b7310(0xcb)](){var _0x181005=_0x3b7310;const _0xc1634a=await super[_0x181005(0xcb)]();return this[_0x181005(0x184)](this[_0x181005(0xe1)][_0x181005(0x2dc)]((_0x56721e,_0x6f3873)=>{var _0x26cc3a=_0x181005;if(_0x56721e[_0x26cc3a(0x16e)]!==_0x3633bf[_0x26cc3a(0x19e)]||_0x6f3873!=null&&_0x6f3873[_0x26cc3a(0x2a4)]||_0x6f3873!=null&&_0x6f3873[_0x26cc3a(0x255)]||_0x56721e['id']===_0x3664c5['id'])return;const _0xd361b2=_0x56721e[_0x26cc3a(0xe4)];if((_0xd361b2==null?void 0x0:_0xd361b2['unitId'])!==this[_0x26cc3a(0x135)])return;const _0x3de7b5=_0x56721e,_0x321dd3=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x26cc3a(0x302)][_0x26cc3a(0x263)][_0x26cc3a(0x303)]()[_0x26cc3a(0x164)])([_0x3de7b5],null)||[_0x3de7b5];this[_0x26cc3a(0xce)](_0x321dd3[0x0]);})),_0xc1634a;}};It=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(pe)),H(0x8,_0x2e40a9),H(0x9,_0x1ab65f),H(0xa,_0x373f2c),H(0xb,_0x21c4ab(ht)),H(0xc,_0x21c4ab(J))],It);let Tt=class extends rt{constructor(_0x48bd29,_0x161f12,_0x2f1555,_0x6a44d9,_0x2bd4b7,_0x16e79f,_0x43e530,_0x5ef200,_0x59af81,_0x5a3dbd,_0x508c86,_0x1e1a09,_0x373ffa,_0x4a5f4f){var _0x973173=_0x3b7310;super(_0x48bd29,_0x2f1555,_0x161f12,_0x6a44d9,_0x2bd4b7,_0x16e79f,_0x43e530,_0x59af81,_0x5a3dbd,_0x508c86,_0x1e1a09,_0x373ffa,_0x4a5f4f),this[_0x973173(0x135)]=_0x48bd29,this[_0x973173(0x16e)]=_0x161f12,this[_0x973173(0x29b)]=_0x5ef200;}[_0x3b7310(0xe5)](){var _0xf2cf17=_0x3b7310;const _0x4e02b8=super[_0xf2cf17(0xe5)]();return _0x4e02b8['onTransformSelections']=_0x39eb8f=>this[_0xf2cf17(0x29b)][_0xf2cf17(0x383)](_0x39eb8f),_0x4e02b8;}async[_0x3b7310(0xcb)](){var _0x4a1475=_0x3b7310;const _0x551aa4=await super[_0x4a1475(0xcb)]();return this[_0x4a1475(0x184)](this[_0x4a1475(0xe1)][_0x4a1475(0x2dc)]((_0x4dad05,_0x43fb14)=>{var _0x1f7786=_0x4a1475;if(_0x4dad05['type']!==_0x3633bf['MUTATION']||_0x43fb14!=null&&_0x43fb14['fromCollab']||_0x43fb14!=null&&_0x43fb14[_0x1f7786(0x255)])return;const _0x289451=_0x4dad05['params'];if((_0x289451==null?void 0x0:_0x289451[_0x1f7786(0x326)])!==this['unitID'])return;const _0x4d9413=_0x4dad05,_0x5a7e62=this[_0x1f7786(0x302)][_0x1f7786(0x263)][_0x1f7786(0xed)](this['_compressMutationService'][_0x1f7786(0x263)]['getInterceptPoints']()[_0x1f7786(0x164)])([_0x4d9413],null)||[_0x4d9413];this[_0x1f7786(0xce)](_0x5a7e62[0x0]);})),_0x551aa4;}};Tt=xt([H(0x3,_0x419509(_0x33a94f)),H(0x4,_0x419509(_0x422ef4)),H(0x5,_0x419509(_0x503d26)),H(0x6,_0x419509(_0x3bf5fe)),H(0x7,_0x419509(it)),H(0x8,_0x419509(pe)),H(0x9,_0x2e40a9),H(0xa,_0x1ab65f),H(0xb,_0x373f2c),H(0xc,_0x21c4ab(ht)),H(0xd,_0x21c4ab(J))],Tt);var an=Object[_0x3b7310(0x20e)],cn=(_0x4600ef,_0x241e55,_0x350add,_0x559b84)=>{var _0x3789d8=_0x3b7310;for(var _0x1f2ba2=_0x559b84>0x1?void 0x0:_0x559b84?an(_0x241e55,_0x350add):_0x241e55,_0x58f21c=_0x4600ef[_0x3789d8(0x316)]-0x1,_0xe72fb;_0x58f21c>=0x0;_0x58f21c--)(_0xe72fb=_0x4600ef[_0x58f21c])&&(_0x1f2ba2=_0xe72fb(_0x1f2ba2)||_0x1f2ba2);return _0x1f2ba2;},ft=(_0x5d4157,_0x5f30cf)=>(_0x2ca0c2,_0x1e8a8d)=>_0x5f30cf(_0x2ca0c2,_0x1e8a8d,_0x5d4157);let nt=class extends _0x3f9fed{constructor(_0x87a9b7,_0x305ba6,_0x31ebec){var _0x1d7779=_0x3b7310;super(),N(this,'_entities',new Map()),N(this,_0x1d7779(0x1cc),new _0x2898a5()),N(this,_0x1d7779(0x165),this['_entityInit$'][_0x1d7779(0x2bf)]()),(this[_0x1d7779(0x145)]=_0x87a9b7,this[_0x1d7779(0x2c0)]=_0x305ba6,this[_0x1d7779(0x36a)]=_0x31ebec,this[_0x1d7779(0xcb)]());}[_0x3b7310(0x368)](){var _0x1ad4ae=_0x3b7310;super['dispose'](),this[_0x1ad4ae(0x1ca)][_0x1ad4ae(0x109)](_0x2f51df=>_0x2f51df['dispose']()),this[_0x1ad4ae(0x1ca)][_0x1ad4ae(0xc4)]();}[_0x3b7310(0x15a)](_0xc9f1fb){var _0x56c0ae=_0x3b7310,_0x5b7733;return(_0x5b7733=this[_0x56c0ae(0x1ca)][_0x56c0ae(0xf1)](_0xc9f1fb))!=null?_0x5b7733:null;}[_0x3b7310(0x103)](_0x44b069){var _0x52bba9=_0x3b7310;const _0x373705=this[_0x52bba9(0x15a)](_0x44b069);return _0x373705?_0x202106(_0x373705):this[_0x52bba9(0x1cc)][_0x52bba9(0x2d2)](_0x6d3c7d(_0x53b8bc=>_0x53b8bc[_0x52bba9(0x135)]===_0x44b069));}[_0x3b7310(0x206)](_0x1d2042){var _0x266af9=_0x3b7310;return _0x3725c7(this[_0x266af9(0x103)](_0x1d2042)[_0x266af9(0x2d2)](_0x4c799b(()=>{})));}['_init'](){var _0x15e7ff=_0x3b7310;this['_univerInstanceService'][_0x15e7ff(0x131)](_0x53691f[_0x15e7ff(0xe8)])[_0x15e7ff(0x2d2)](_0x194700(this['dispose$']),_0x437b67(0x10))['subscribe'](async _0x176082=>{var _0x26b74d=_0x15e7ff;const _0x1be7cc=_0x176082[_0x26b74d(0x1f5)](),_0x13dd0e=await this['_startCollaboration'](_0x1be7cc,Q['UNIVER_SHEET']);this[_0x26b74d(0x1ca)][_0x26b74d(0x151)](_0x1be7cc,_0x13dd0e);}),this['_univerInstanceService'][_0x15e7ff(0x131)](_0x53691f[_0x15e7ff(0x12b)])[_0x15e7ff(0x2d2)](_0x194700(this[_0x15e7ff(0x340)]),_0x437b67(0x10))[_0x15e7ff(0x2d2)](_0x6d3c7d(_0x547680=>!_0x547680[_0x15e7ff(0x1f5)]()[_0x15e7ff(0x223)]('__')))[_0x15e7ff(0x247)](async _0xd7f955=>{var _0x471f0a=_0x15e7ff;const _0x2b7adf=_0xd7f955[_0x471f0a(0x1f5)](),_0x447579=await this['_startCollaboration'](_0x2b7adf,Q[_0x471f0a(0x12b)]);this[_0x471f0a(0x1ca)][_0x471f0a(0x151)](_0x2b7adf,_0x447579);}),_0x4a0758(this[_0x15e7ff(0x36a)][_0x15e7ff(0x19b)](_0x53691f[_0x15e7ff(0xe8)]),this[_0x15e7ff(0x36a)][_0x15e7ff(0x19b)](_0x53691f[_0x15e7ff(0x12b)]))[_0x15e7ff(0x2d2)](_0x194700(this[_0x15e7ff(0x340)]))[_0x15e7ff(0x247)](_0x2a35a2=>{var _0x1250f0=_0x15e7ff;const _0x1e5a8f=_0x2a35a2[_0x1250f0(0x1f5)](),_0x1147fc=this[_0x1250f0(0x1ca)]['get'](_0x1e5a8f);_0x1147fc&&(_0x1147fc[_0x1250f0(0x368)](),this[_0x1250f0(0x1ca)]['delete'](_0x1e5a8f));});}async['_startCollaboration'](_0x4dd7b0,_0x3b057c){var _0x32a952=_0x3b7310;const _0x3b0dd3=await this['_collabSessionService'][_0x32a952(0x37f)](_0x4dd7b0),_0x448ff3=this[_0x32a952(0x145)][_0x32a952(0x37b)](this[_0x32a952(0x1b0)](_0x3b057c),_0x4dd7b0,_0x3b057c,_0x3b0dd3);return await _0x448ff3['init'](),this[_0x32a952(0x1cc)][_0x32a952(0x2a5)](_0x448ff3),_0x448ff3;}[_0x3b7310(0x1b0)](_0x23901b){var _0x3a8a5c=_0x3b7310;switch(_0x23901b){case Q[_0x3a8a5c(0x12b)]:return It;case Q[_0x3a8a5c(0xe8)]:return Tt;default:throw new Error(_0x3a8a5c(0x1b5)+_0x23901b);}}};nt=cn([ft(0x0,_0x419509(_0x33a94f)),ft(0x1,_0x419509(Le)),ft(0x2,_0x56341d)],nt);var hn=Object[_0x3b7310(0x20e)],_n=(_0x323adf,_0x4f33aa,_0x1a867e,_0x4f6988)=>{var _0x1adc2d=_0x3b7310;for(var _0xfa0489=_0x4f6988>0x1?void 0x0:_0x4f6988?hn(_0x4f33aa,_0x1a867e):_0x4f33aa,_0x2f61ba=_0x323adf[_0x1adc2d(0x316)]-0x1,_0x2c1264;_0x2f61ba>=0x0;_0x2f61ba--)(_0x2c1264=_0x323adf[_0x2f61ba])&&(_0xfa0489=_0x2c1264(_0xfa0489)||_0xfa0489);return _0xfa0489;},zt=(_0x329abf,_0x3b5e9f)=>(_0x3833e0,_0x45b0aa)=>_0x3b5e9f(_0x3833e0,_0x45b0aa,_0x329abf);const ln='DEFAULT_FILE_NAME',un=_0x3b7310(0xb7);let Ct=class extends _0x4a3911{constructor(_0x219b5a,_0x4b9989){var _0x442e36=_0x3b7310;super(),this[_0x442e36(0x36a)]=_0x219b5a,this['_configService']=_0x4b9989,this[_0x442e36(0xcb)]();}[_0x3b7310(0xcb)](){var _0xa20b28=_0x3b7310;this[_0xa20b28(0x184)](this[_0xa20b28(0x36a)][_0xa20b28(0x198)][_0xa20b28(0x247)](()=>{var _0x4fa4de=_0xa20b28,_0x3423e9;const _0x6bb63=this['_univerInstanceService'][_0x4fa4de(0x15d)]();let _0x1264c6=(_0x3423e9=this[_0x4fa4de(0x1a0)][_0x4fa4de(0x30f)](ln))!=null?_0x3423e9:un;_0x6bb63 instanceof _0x15918f&&(_0x1264c6=_0x6bb63[_0x4fa4de(0xb0)]),document['title']=_0x1264c6;}));}};Ct=_n([zt(0x0,_0x56341d),zt(0x1,_0x29183e)],Ct);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x3a1353,_0x423f27,_0x100092,_0x3bbaf5)=>{var _0x51d9f8=_0x3b7310;for(var _0x21b223=_0x3bbaf5>0x1?void 0x0:_0x3bbaf5?dn(_0x423f27,_0x100092):_0x423f27,_0x2fea17=_0x3a1353[_0x51d9f8(0x316)]-0x1,_0x11be85;_0x2fea17>=0x0;_0x2fea17--)(_0x11be85=_0x3a1353[_0x2fea17])&&(_0x21b223=_0x11be85(_0x21b223)||_0x21b223);return _0x21b223;},vt=(_0x45f61e,_0x43621b)=>(_0x1a9e89,_0x49d700)=>_0x43621b(_0x1a9e89,_0x49d700,_0x45f61e);let st=class{constructor(_0x2fdbbc,_0x358719,_0x2b9f73){var _0x25608b=_0x3b7310;this[_0x25608b(0x1a0)]=_0x2fdbbc,this[_0x25608b(0x35a)]=_0x358719,this[_0x25608b(0x16d)]=_0x2b9f73,this['init']();}[_0x3b7310(0x1fd)](){var _0x3576f2=_0x3b7310;this[_0x3576f2(0x35a)][_0x3576f2(0x2c4)]({'priority':0x1,'interceptor':(_0x5b6c5c,_0xd123f4)=>_0xd123f4(_0x5b6c5c)[_0x3576f2(0x2d2)](_0x1520fa(async _0x5d4b85=>{var _0x371b20=_0x3576f2;const _0x189ba1=_0x5d4b85;if(_0x189ba1[_0x371b20(0x163)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x371b20(0x16d)]['t'](_0x371b20(0x32c)))){const _0x43125e=window['encodeURIComponent'](window[_0x371b20(0x230)]['href']);window[_0x371b20(0x230)]['href']=this['_getLoginPath']()+'?url='+_0x43125e;}}return _0x189ba1;}))});}['_getLoginPath'](){var _0x58c18a=_0x3b7310,_0xc59922,_0x4d3a3e;const _0x2e431c=this[_0x58c18a(0x1a0)][_0x58c18a(0x30f)](Dr),_0x49309f=this[_0x58c18a(0x1a0)]['getConfig'](q);return(_0x4d3a3e=(_0xc59922=_0x49309f==null?void 0x0:_0x49309f[_0x58c18a(0x10c)])!=null?_0xc59922:_0x2e431c)!=null?_0x4d3a3e:wr;}};st=fn([vt(0x0,_0x29183e),vt(0x1,_0x419509(_0x347bc3)),vt(0x2,_0x419509(_0x503d26))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x4803a1,_0x7dc4af,_0x1f039f,_0x37db73)=>{var _0x16e3a1=_0x3b7310;for(var _0x539c7b=_0x37db73>0x1?void 0x0:_0x37db73?vn(_0x7dc4af,_0x1f039f):_0x7dc4af,_0x2d739f=_0x4803a1[_0x16e3a1(0x316)]-0x1,_0x22af3e;_0x2d739f>=0x0;_0x2d739f--)(_0x22af3e=_0x4803a1[_0x2d739f])&&(_0x539c7b=_0x22af3e(_0x539c7b)||_0x539c7b);return _0x539c7b;},Jt=(_0x552815,_0x45e96e)=>(_0xf39bb6,_0x3517c9)=>_0x45e96e(_0xf39bb6,_0x3517c9,_0x552815);const Ni=_0x3b7310(0x25e),mn=_0x3b7310(0x1e6);let Rt=class extends _0x4a3911{constructor(_0x4a4c76,_0x3787b3){var _0x4ca6b2=_0x3b7310;super(),this[_0x4ca6b2(0x1c8)]=_0x4a4c76,this[_0x4ca6b2(0x1a0)]=_0x3787b3,this[_0x4ca6b2(0x278)]();}[_0x3b7310(0x278)](){var _0x1a7763=_0x3b7310;const _0xa46570=this;this[_0x1a7763(0x184)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x80e75({'isMatch'(_0x2b193f){var _0xcb92f=_0x1a7763,_0x34d934;if(_0x2b193f[_0xcb92f(0xb6)]===_0xcb92f(0x26a)&&((_0x34d934=_0x2b193f['requestParams'])!=null&&_0x34d934[_0xcb92f(0x2ed)])){const {objectID:_0x115f56,objectType:_0x543431}=_0x2b193f['requestParams'][_0xcb92f(0x2ed)]||{};if(!_0x115f56||_0x543431===void 0x0)return!0x1;const _0x326d48=_0xa46570['_getAPIPrefixPath']()+'/'+_0x543431+_0xcb92f(0xd6)+_0x115f56+_0xcb92f(0x305);if(_0x2b193f[_0xcb92f(0x284)]===_0x326d48)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b0dd9){var _0x3f1e71=_0x1a7763,_0x55def2;return(_0x55def2=_0x5b0dd9['requestParams'])==null?void 0x0:_0x55def2[_0x3f1e71(0x2ed)];},'mergeParamsToRequest'(_0xe55ba7,_0xce691c){var _0x470758=_0x1a7763;const _0x4b55c3=_0xa46570[_0x470758(0x2db)]()+'/-/object/-/batch_allowed',_0x206705=_0xe55ba7[_0x470758(0x197)]((_0x2e82db,_0x36b168)=>{var _0x133fd9=_0x470758;const {unitID:_0x4f3485,objectID:_0x2478ce,objectType:_0x5a37d2,actions:_0x20727c}=_0x36b168;return _0x2e82db[_0x4f3485]||(_0x2e82db[_0x4f3485]={}),_0x2e82db[_0x4f3485][_0x2478ce]||(_0x2e82db[_0x4f3485][_0x2478ce]={'objectID':_0x2478ce,'objectType':_0x5a37d2,'actions':[]}),_0x2e82db[_0x4f3485][_0x2478ce][_0x133fd9(0xaa)][_0x133fd9(0x304)](..._0x20727c),_0x2e82db;},{}),_0x33c2b4=[];for(const _0x5e8171 in _0x206705)for(const _0x554cab in _0x206705[_0x5e8171]){const {actions:_0x17f23b,objectType:_0x59a92f}=_0x206705[_0x5e8171][_0x554cab],_0xb9b289=[...new Set(_0x17f23b)];_0x33c2b4[_0x470758(0x304)]({'unitID':_0x5e8171,'objectID':_0x554cab,'objectType':_0x59a92f,'actions':_0xb9b289});}return new _0xa2750b(_0x470758(0x26a),_0x4b55c3,{'headers':_0xce691c['headers'],'withCredentials':_0xce691c[_0x470758(0xf8)],'responseType':_0xce691c[_0x470758(0x2e4)],'body':{'requests':_0x33c2b4}});}},{'distributeResult'(_0x138319,_0x21d1cc){var _0x2d383b=_0x1a7763;const {objectActions:_0x2d3ca0}=_0x138319;return _0x21d1cc[_0x2d383b(0x2b9)](_0x5b5523=>{var _0x293172=_0x2d383b;const {unitID:_0x4068c7,objectID:_0x249094,actions:_0x1aa799}=_0x5b5523,_0x3904fd=_0x2d3ca0[_0x293172(0x18a)](_0x3e4683=>_0x3e4683[_0x293172(0x135)]===_0x4068c7&&_0x3e4683[_0x293172(0x20f)]===_0x249094),_0x1709a8=_0x1aa799[_0x293172(0x2b9)](_0x4d9465=>_0x3904fd==null?void 0x0:_0x3904fd['actions']['find'](_0x41c783=>_0x41c783[_0x293172(0x31c)]===_0x4d9465))['filter'](_0x248888=>!!_0x248888);return{'config':_0x5b5523,'result':{'actions':_0x1709a8,'error':_0x138319[_0x293172(0x399)]}};});}})}));}[_0x3b7310(0x2db)](){var _0x586b85=_0x3b7310,_0x569745,_0x508d9c;const _0x4cd7a4=this[_0x586b85(0x1a0)][_0x586b85(0x30f)](Ni),_0x15371a=this[_0x586b85(0x1a0)][_0x586b85(0x30f)](q);return(_0x508d9c=(_0x569745=_0x15371a==null?void 0x0:_0x15371a[_0x586b85(0x1f8)])!=null?_0x569745:_0x4cd7a4)!=null?_0x508d9c:mn;}async[_0x3b7310(0x23f)](_0xcb7418){var _0x4f0820=_0x3b7310;const _0x4636c7=this[_0x4f0820(0x2db)]()+'/'+_0xcb7418['objectType']+'/object';return(await this[_0x4f0820(0x1c8)]['post'](_0x4636c7,{'body':_0xcb7418}))[_0x4f0820(0x2ed)]['objectID']||'';}async[_0x3b7310(0x376)](_0x1f5320){var _0x445871=_0x3b7310;const _0x2fd189=this[_0x445871(0x2db)]()+_0x445871(0x18e);return(await this[_0x445871(0x1c8)][_0x445871(0x186)](_0x2fd189,{'body':_0x1f5320}))['body']['objects'];}async['update'](_0x20e4ed){var _0x156b7e=_0x3b7310;const _0x8301f1=this[_0x156b7e(0x2db)]()+'/'+_0x20e4ed[_0x156b7e(0x339)]+_0x156b7e(0xd6)+_0x20e4ed['objectID'];await this[_0x156b7e(0x1c8)][_0x156b7e(0x2a1)](_0x8301f1,{'body':_0x20e4ed});}async[_0x3b7310(0x123)](_0x1d667b){var _0x3d2a08=_0x3b7310;const _0x5e8822=this[_0x3d2a08(0x2db)]()+'/'+_0x1d667b[_0x3d2a08(0x339)]+_0x3d2a08(0xd6)+_0x1d667b[_0x3d2a08(0x20f)]+_0x3d2a08(0x305);return(await this['_HTTPService'][_0x3d2a08(0x186)](_0x5e8822,{'body':_0x1d667b}))[_0x3d2a08(0x2ed)][_0x3d2a08(0xaa)];}async['batchAllowed'](_0x3b907d){var _0x5d8f3b=_0x3b7310;const _0xdb06a6=this[_0x5d8f3b(0x2db)]()+_0x5d8f3b(0x370);return(await this[_0x5d8f3b(0x1c8)][_0x5d8f3b(0x186)](_0xdb06a6,{'body':{'requests':_0x3b907d}}))[_0x5d8f3b(0x2ed)][_0x5d8f3b(0x33d)];}async[_0x3b7310(0xa9)](_0x5ddebc){var _0x184967=_0x3b7310;const _0x30db11=this[_0x184967(0x2db)]()+'/'+_0x5ddebc[_0x184967(0x339)]+_0x184967(0xc0),_0x377b1a=await this[_0x184967(0x1c8)][_0x184967(0x186)](_0x30db11,{'body':_0x5ddebc});return{'roles':_0x377b1a['body'][_0x184967(0x119)],'actions':_0x377b1a[_0x184967(0x2ed)]['actions']};}async[_0x3b7310(0x271)](_0x57d2c4){var _0x2d0274=_0x3b7310;const _0x476ac8=this[_0x2d0274(0x2db)]()+_0x2d0274(0x1e1);await this[_0x2d0274(0x1c8)][_0x2d0274(0x10b)](_0x476ac8,{'params':{'collaboratorID':_0x57d2c4['collaboratorID'],'objectID':_0x57d2c4[_0x2d0274(0x20f)],'unitID':_0x57d2c4[_0x2d0274(0x135)]}});}async[_0x3b7310(0x191)](_0x27126b){var _0x41b91c=_0x3b7310;const _0x48df7c=this[_0x41b91c(0x2db)]()+_0x41b91c(0x1e1);await this['_HTTPService']['patch'](_0x48df7c,{'body':_0x27126b});}async[_0x3b7310(0x1be)](_0x692e8a){var _0x2a9953=_0x3b7310;const _0x5494fb=this[_0x2a9953(0x2db)]()+_0x2a9953(0x1e1);await this[_0x2a9953(0x1c8)]['post'](_0x5494fb,{'body':_0x692e8a});}async['listCollaborators'](_0x3fd4d5){var _0x11eac4=_0x3b7310;const _0x5a98d6=this[_0x11eac4(0x2db)]()+_0x11eac4(0x1e1);return(await this[_0x11eac4(0x1c8)][_0x11eac4(0xf1)](_0x5a98d6,{'params':{'objectID':_0x3fd4d5[_0x11eac4(0x20f)],'unitID':_0x3fd4d5[_0x11eac4(0x135)]}}))[_0x11eac4(0x2ed)]['collaborators'];}async[_0x3b7310(0x343)](_0x4c71ce){var _0x3cfa30=_0x3b7310;const _0x3618b6=this[_0x3cfa30(0x2db)]()+_0x3cfa30(0x1e1);await this['_HTTPService']['put'](_0x3618b6,{'body':_0x4c71ce});}};Rt=pn([Jt(0x0,_0x419509(_0x347bc3)),Jt(0x1,_0x419509(_0x29183e))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3fbff2){var _0x1dc93d=_0x3b7310;return _0x3fbff2&&_0x3fbff2[_0x1dc93d(0x2b1)]&&Object[_0x1dc93d(0x2ad)][_0x1dc93d(0x1fc)][_0x1dc93d(0x269)](_0x3fbff2,_0x1dc93d(0x1d3))?_0x3fbff2[_0x1dc93d(0x1d3)]:_0x3fbff2;}var Ge={'exports':{}};function gn(_0x444b7b){var _0x2f9d8d=_0x3b7310;throw new Error(_0x2f9d8d(0x17e)+_0x444b7b+_0x2f9d8d(0x29a));}var Ve={'exports':{}},Sn=Ve[_0x3b7310(0x273)],Xt;function ie(){var _0x408ae6=_0x3b7310;return Xt||(Xt=0x1,function(_0x28a809,_0x2aa6a2){(function(_0x41b339,_0x50c9cf){var _0x5535a4=_0x5c5f;_0x28a809[_0x5535a4(0x273)]=_0x50c9cf();}(Sn,function(){var _0xfff852=_0xfff852||function(_0x48ae0d,_0x4ab1c4){var _0x27cb58=_0x5c5f,_0x2b3f75;if(typeof window<'u'&&window['crypto']&&(_0x2b3f75=window[_0x27cb58(0x275)]),typeof self<'u'&&self['crypto']&&(_0x2b3f75=self[_0x27cb58(0x275)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2b3f75=globalThis[_0x27cb58(0x275)]),!_0x2b3f75&&typeof window<'u'&&window[_0x27cb58(0xf5)]&&(_0x2b3f75=window[_0x27cb58(0xf5)]),!_0x2b3f75&&typeof pt<'u'&&pt[_0x27cb58(0x275)]&&(_0x2b3f75=pt['crypto']),!_0x2b3f75&&typeof gn=='function')try{_0x2b3f75=require('crypto');}catch{}var _0x348c76=function(){var _0xb7a78b=_0x27cb58;if(_0x2b3f75){if(typeof _0x2b3f75[_0xb7a78b(0x391)]=='function')try{return _0x2b3f75['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b3f75[_0xb7a78b(0x219)]==_0xb7a78b(0x31e))try{return _0x2b3f75[_0xb7a78b(0x219)](0x4)[_0xb7a78b(0x35c)]();}catch{}}throw new Error(_0xb7a78b(0x18d));},_0x154e8b=Object[_0x27cb58(0x23f)]||(function(){function _0x1f3a18(){}return function(_0x57c88c){var _0xba27ac=_0x5c5f,_0x2f32e6;return _0x1f3a18[_0xba27ac(0x2ad)]=_0x57c88c,_0x2f32e6=new _0x1f3a18(),_0x1f3a18[_0xba27ac(0x2ad)]=null,_0x2f32e6;};}()),_0x50a65c={},_0x52d8a6=_0x50a65c['lib']={},_0x1e537f=_0x52d8a6[_0x27cb58(0xd1)]=(function(){return{'extend':function(_0x19e18c){var _0x248226=_0x5c5f,_0x40235a=_0x154e8b(this);return _0x19e18c&&_0x40235a[_0x248226(0x336)](_0x19e18c),(!_0x40235a[_0x248226(0x1fc)](_0x248226(0x1fd))||this['init']===_0x40235a[_0x248226(0x1fd)])&&(_0x40235a[_0x248226(0x1fd)]=function(){var _0x7d054b=_0x248226;_0x40235a['$super'][_0x7d054b(0x1fd)][_0x7d054b(0x268)](this,arguments);}),_0x40235a['init'][_0x248226(0x2ad)]=_0x40235a,_0x40235a[_0x248226(0x2ca)]=this,_0x40235a;},'create':function(){var _0x17146f=_0x5c5f,_0x44d560=this[_0x17146f(0x21d)]();return _0x44d560[_0x17146f(0x1fd)][_0x17146f(0x268)](_0x44d560,arguments),_0x44d560;},'init':function(){},'mixIn':function(_0x3a93aa){var _0x2ff0e8=_0x5c5f;for(var _0x1864dc in _0x3a93aa)_0x3a93aa[_0x2ff0e8(0x1fc)](_0x1864dc)&&(this[_0x1864dc]=_0x3a93aa[_0x1864dc]);_0x3a93aa['hasOwnProperty'](_0x2ff0e8(0xf7))&&(this['toString']=_0x3a93aa[_0x2ff0e8(0xf7)]);},'clone':function(){var _0x3b4857=_0x5c5f;return this['init']['prototype'][_0x3b4857(0x21d)](this);}};}()),_0x56ff3b=_0x52d8a6[_0x27cb58(0x243)]=_0x1e537f['extend']({'init':function(_0x104416,_0x46e1f8){var _0x21841e=_0x27cb58;_0x104416=this[_0x21841e(0x2ec)]=_0x104416||[],_0x46e1f8!=_0x4ab1c4?this[_0x21841e(0xee)]=_0x46e1f8:this['sigBytes']=_0x104416[_0x21841e(0x316)]*0x4;},'toString':function(_0x839d10){var _0x3dd3ce=_0x27cb58;return(_0x839d10||_0x4b7a49)[_0x3dd3ce(0x1c4)](this);},'concat':function(_0x5b9706){var _0x4e2635=_0x27cb58,_0x4345f0=this['words'],_0x182c02=_0x5b9706[_0x4e2635(0x2ec)],_0x17ab74=this[_0x4e2635(0xee)],_0x297741=_0x5b9706[_0x4e2635(0xee)];if(this[_0x4e2635(0x2de)](),_0x17ab74%0x4)for(var _0x1bc0c6=0x0;_0x1bc0c6<_0x297741;_0x1bc0c6++){var _0x3717e4=_0x182c02[_0x1bc0c6>>>0x2]>>>0x18-_0x1bc0c6%0x4*0x8&0xff;_0x4345f0[_0x17ab74+_0x1bc0c6>>>0x2]|=_0x3717e4<<0x18-(_0x17ab74+_0x1bc0c6)%0x4*0x8;}else{for(var _0x55c558=0x0;_0x55c558<_0x297741;_0x55c558+=0x4)_0x4345f0[_0x17ab74+_0x55c558>>>0x2]=_0x182c02[_0x55c558>>>0x2];}return this['sigBytes']+=_0x297741,this;},'clamp':function(){var _0x871870=_0x27cb58,_0xcf2b5c=this[_0x871870(0x2ec)],_0x9356ca=this[_0x871870(0xee)];_0xcf2b5c[_0x9356ca>>>0x2]&=0xffffffff<<0x20-_0x9356ca%0x4*0x8,_0xcf2b5c[_0x871870(0x316)]=_0x48ae0d['ceil'](_0x9356ca/0x4);},'clone':function(){var _0xcc28eb=_0x27cb58,_0x54ef7a=_0x1e537f[_0xcc28eb(0x344)][_0xcc28eb(0x269)](this);return _0x54ef7a[_0xcc28eb(0x2ec)]=this[_0xcc28eb(0x2ec)]['slice'](0x0),_0x54ef7a;},'random':function(_0x1a0d2b){var _0xe8b690=_0x27cb58;for(var _0x4105c5=[],_0x117c6a=0x0;_0x117c6a<_0x1a0d2b;_0x117c6a+=0x4)_0x4105c5[_0xe8b690(0x304)](_0x348c76());return new _0x56ff3b['init'](_0x4105c5,_0x1a0d2b);}}),_0x3a6359=_0x50a65c['enc']={},_0x4b7a49=_0x3a6359[_0x27cb58(0x386)]={'stringify':function(_0x140fdb){var _0x5b266e=_0x27cb58;for(var _0x354f1=_0x140fdb['words'],_0x4548fb=_0x140fdb['sigBytes'],_0x4e72d8=[],_0x11b330=0x0;_0x11b330<_0x4548fb;_0x11b330++){var _0x543d4a=_0x354f1[_0x11b330>>>0x2]>>>0x18-_0x11b330%0x4*0x8&0xff;_0x4e72d8[_0x5b266e(0x304)]((_0x543d4a>>>0x4)[_0x5b266e(0xf7)](0x10)),_0x4e72d8[_0x5b266e(0x304)]((_0x543d4a&0xf)[_0x5b266e(0xf7)](0x10));}return _0x4e72d8['join']('');},'parse':function(_0x2ea455){var _0x1b1dce=_0x27cb58;for(var _0x147474=_0x2ea455[_0x1b1dce(0x316)],_0x2a3335=[],_0x386f19=0x0;_0x386f19<_0x147474;_0x386f19+=0x2)_0x2a3335[_0x386f19>>>0x3]|=parseInt(_0x2ea455['substr'](_0x386f19,0x2),0x10)<<0x18-_0x386f19%0x8*0x4;return new _0x56ff3b[(_0x1b1dce(0x1fd))](_0x2a3335,_0x147474/0x2);}},_0xfe6c58=_0x3a6359[_0x27cb58(0x181)]={'stringify':function(_0x2bbf43){var _0x55a402=_0x27cb58;for(var _0x36c4ae=_0x2bbf43[_0x55a402(0x2ec)],_0x501660=_0x2bbf43['sigBytes'],_0x1b8a35=[],_0xc97109=0x0;_0xc97109<_0x501660;_0xc97109++){var _0x3b9c11=_0x36c4ae[_0xc97109>>>0x2]>>>0x18-_0xc97109%0x4*0x8&0xff;_0x1b8a35[_0x55a402(0x304)](String[_0x55a402(0x2a6)](_0x3b9c11));}return _0x1b8a35['join']('');},'parse':function(_0x1478c9){var _0x36eab1=_0x27cb58;for(var _0x1b03d6=_0x1478c9[_0x36eab1(0x316)],_0x424d23=[],_0x7581b5=0x0;_0x7581b5<_0x1b03d6;_0x7581b5++)_0x424d23[_0x7581b5>>>0x2]|=(_0x1478c9[_0x36eab1(0x384)](_0x7581b5)&0xff)<<0x18-_0x7581b5%0x4*0x8;return new _0x56ff3b[(_0x36eab1(0x1fd))](_0x424d23,_0x1b03d6);}},_0x20013c=_0x3a6359[_0x27cb58(0x37e)]={'stringify':function(_0xbe0f80){var _0x14d80d=_0x27cb58;try{return decodeURIComponent(escape(_0xfe6c58[_0x14d80d(0x1c4)](_0xbe0f80)));}catch{throw new Error(_0x14d80d(0xd0));}},'parse':function(_0x3dcb56){var _0x559d96=_0x27cb58;return _0xfe6c58[_0x559d96(0x117)](unescape(encodeURIComponent(_0x3dcb56)));}},_0x26df08=_0x52d8a6[_0x27cb58(0x28d)]=_0x1e537f[_0x27cb58(0x21d)]({'reset':function(){var _0x5bc63f=_0x27cb58;this[_0x5bc63f(0x2b3)]=new _0x56ff3b[(_0x5bc63f(0x1fd))](),this['_nDataBytes']=0x0;},'_append':function(_0x1b70b8){var _0x41001e=_0x27cb58;typeof _0x1b70b8==_0x41001e(0x10f)&&(_0x1b70b8=_0x20013c['parse'](_0x1b70b8)),this[_0x41001e(0x2b3)][_0x41001e(0x2df)](_0x1b70b8),this[_0x41001e(0x1ce)]+=_0x1b70b8[_0x41001e(0xee)];},'_process':function(_0x7699c8){var _0x131567=_0x27cb58,_0xd49deb,_0x41f7ec=this[_0x131567(0x2b3)],_0x3008a9=_0x41f7ec[_0x131567(0x2ec)],_0x475b75=_0x41f7ec[_0x131567(0xee)],_0x1d607e=this[_0x131567(0x1fe)],_0x39a38b=_0x1d607e*0x4,_0x2bafa4=_0x475b75/_0x39a38b;_0x7699c8?_0x2bafa4=_0x48ae0d['ceil'](_0x2bafa4):_0x2bafa4=_0x48ae0d[_0x131567(0x129)]((_0x2bafa4|0x0)-this['_minBufferSize'],0x0);var _0x1dcf00=_0x2bafa4*_0x1d607e,_0x20e716=_0x48ae0d[_0x131567(0x214)](_0x1dcf00*0x4,_0x475b75);if(_0x1dcf00){for(var _0x6b70dc=0x0;_0x6b70dc<_0x1dcf00;_0x6b70dc+=_0x1d607e)this[_0x131567(0x33c)](_0x3008a9,_0x6b70dc);_0xd49deb=_0x3008a9[_0x131567(0x373)](0x0,_0x1dcf00),_0x41f7ec[_0x131567(0xee)]-=_0x20e716;}return new _0x56ff3b[(_0x131567(0x1fd))](_0xd49deb,_0x20e716);},'clone':function(){var _0x4354a1=_0x27cb58,_0x1b27b8=_0x1e537f['clone']['call'](this);return _0x1b27b8[_0x4354a1(0x2b3)]=this[_0x4354a1(0x2b3)][_0x4354a1(0x344)](),_0x1b27b8;},'_minBufferSize':0x0});_0x52d8a6[_0x27cb58(0x1f0)]=_0x26df08[_0x27cb58(0x21d)]({'cfg':_0x1e537f[_0x27cb58(0x21d)](),'init':function(_0x423e49){var _0x113074=_0x27cb58;this['cfg']=this[_0x113074(0x199)][_0x113074(0x21d)](_0x423e49),this['reset']();},'reset':function(){var _0x3fee47=_0x27cb58;_0x26df08['reset'][_0x3fee47(0x269)](this),this['_doReset']();},'update':function(_0x2f93a4){var _0x3c0dc7=_0x27cb58;return this[_0x3c0dc7(0x218)](_0x2f93a4),this[_0x3c0dc7(0x283)](),this;},'finalize':function(_0x5c84ea){var _0x4b7e4c=_0x27cb58;_0x5c84ea&&this[_0x4b7e4c(0x218)](_0x5c84ea);var _0x1bb718=this[_0x4b7e4c(0x132)]();return _0x1bb718;},'blockSize':0x10,'_createHelper':function(_0x4666c6){return function(_0x35c76e,_0x401ad7){var _0x19a53a=_0x5c5f;return new _0x4666c6[(_0x19a53a(0x1fd))](_0x401ad7)[_0x19a53a(0x293)](_0x35c76e);};},'_createHmacHelper':function(_0x18f684){return function(_0xf58628,_0x2d5308){var _0xec34f5=_0x5c5f;return new _0xdca265[(_0xec34f5(0x366))][(_0xec34f5(0x1fd))](_0x18f684,_0x2d5308)['finalize'](_0xf58628);};}});var _0xdca265=_0x50a65c['algo']={};return _0x50a65c;}(Math);return _0xfff852;}));}(Ve)),Ve[_0x408ae6(0x273)];}var We={'exports':{}},En=We['exports'],Zt;function Di(){var _0x14f192=_0x3b7310;return Zt||(Zt=0x1,function(_0x5912ac,_0x45e60c){(function(_0x1a9462,_0x547b2a){var _0x44907e=_0x5c5f;_0x5912ac[_0x44907e(0x273)]=_0x547b2a(ie());}(En,function(_0x1d46e2){var _0x23077d=_0x5c5f;return(function(){var _0x75571=_0x5c5f,_0x30f5d6=_0x1d46e2,_0xc635af=_0x30f5d6[_0x75571(0x2ce)],_0x277492=_0xc635af[_0x75571(0x243)],_0x45c34b=_0x30f5d6[_0x75571(0x211)];_0x45c34b[_0x75571(0xb3)]={'stringify':function(_0x46800f){var _0x3fb63b=_0x75571,_0x215400=_0x46800f[_0x3fb63b(0x2ec)],_0x4413fd=_0x46800f[_0x3fb63b(0xee)],_0x546e83=this[_0x3fb63b(0x11e)];_0x46800f['clamp']();for(var _0x3cf5ed=[],_0x2ebd72=0x0;_0x2ebd72<_0x4413fd;_0x2ebd72+=0x3)for(var _0x4c2804=_0x215400[_0x2ebd72>>>0x2]>>>0x18-_0x2ebd72%0x4*0x8&0xff,_0x22ef2=_0x215400[_0x2ebd72+0x1>>>0x2]>>>0x18-(_0x2ebd72+0x1)%0x4*0x8&0xff,_0x2b54de=_0x215400[_0x2ebd72+0x2>>>0x2]>>>0x18-(_0x2ebd72+0x2)%0x4*0x8&0xff,_0x4abdb7=_0x4c2804<<0x10|_0x22ef2<<0x8|_0x2b54de,_0x1510e2=0x0;_0x1510e2<0x4&&_0x2ebd72+_0x1510e2*0.75<_0x4413fd;_0x1510e2++)_0x3cf5ed['push'](_0x546e83[_0x3fb63b(0x210)](_0x4abdb7>>>0x6*(0x3-_0x1510e2)&0x3f));var _0x45ecd0=_0x546e83[_0x3fb63b(0x210)](0x40);if(_0x45ecd0){for(;_0x3cf5ed['length']%0x4;)_0x3cf5ed[_0x3fb63b(0x304)](_0x45ecd0);}return _0x3cf5ed['join']('');},'parse':function(_0x4895dd){var _0x4bfe1d=_0x75571,_0x2ca4e5=_0x4895dd[_0x4bfe1d(0x316)],_0x11493a=this[_0x4bfe1d(0x11e)],_0x30f5e8=this['_reverseMap'];if(!_0x30f5e8){_0x30f5e8=this[_0x4bfe1d(0xe2)]=[];for(var _0x3d7935=0x0;_0x3d7935<_0x11493a[_0x4bfe1d(0x316)];_0x3d7935++)_0x30f5e8[_0x11493a[_0x4bfe1d(0x384)](_0x3d7935)]=_0x3d7935;}var _0x23c97b=_0x11493a['charAt'](0x40);if(_0x23c97b){var _0x47856a=_0x4895dd[_0x4bfe1d(0x160)](_0x23c97b);_0x47856a!==-0x1&&(_0x2ca4e5=_0x47856a);}return _0x28a87f(_0x4895dd,_0x2ca4e5,_0x30f5e8);},'_map':_0x75571(0x122)};function _0x28a87f(_0x1b7c6d,_0x446d64,_0x2bb93c){var _0xf171e2=_0x75571;for(var _0x4e11c8=[],_0x588a19=0x0,_0x4bfd32=0x0;_0x4bfd32<_0x446d64;_0x4bfd32++)if(_0x4bfd32%0x4){var _0x35fda6=_0x2bb93c[_0x1b7c6d[_0xf171e2(0x384)](_0x4bfd32-0x1)]<<_0x4bfd32%0x4*0x2,_0x540bd4=_0x2bb93c[_0x1b7c6d['charCodeAt'](_0x4bfd32)]>>>0x6-_0x4bfd32%0x4*0x2,_0x2b3138=_0x35fda6|_0x540bd4;_0x4e11c8[_0x588a19>>>0x2]|=_0x2b3138<<0x18-_0x588a19%0x4*0x8,_0x588a19++;}return _0x277492[_0xf171e2(0x23f)](_0x4e11c8,_0x588a19);}}()),_0x1d46e2[_0x23077d(0x211)]['Base64'];}));}(We)),We[_0x14f192(0x273)];}var Ke={'exports':{}},In=Ke[_0x3b7310(0x273)],Qt;function Tn(){return Qt||(Qt=0x1,function(_0x26c8a3,_0x15b86c){(function(_0x774f72,_0x41c32e){_0x26c8a3['exports']=_0x41c32e(ie());}(In,function(_0x5dbe86){var _0x409297=_0x5c5f;return function(_0x2fe03c){var _0x2ad539=_0x5c5f,_0x334337=_0x5dbe86,_0x264828=_0x334337['lib'],_0x4052d1=_0x264828[_0x2ad539(0x243)],_0xfeb194=_0x264828[_0x2ad539(0x1f0)],_0x490da9=_0x334337[_0x2ad539(0x108)],_0x44db44=[];(function(){for(var _0x57fdd1=0x0;_0x57fdd1<0x40;_0x57fdd1++)_0x44db44[_0x57fdd1]=_0x2fe03c['abs'](_0x2fe03c['sin'](_0x57fdd1+0x1))*0x100000000|0x0;}());var _0x97c05b=_0x490da9[_0x2ad539(0x212)]=_0xfeb194[_0x2ad539(0x21d)]({'_doReset':function(){var _0x2964ed=_0x2ad539;this[_0x2964ed(0x242)]=new _0x4052d1[(_0x2964ed(0x1fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1af108,_0x4eb9a5){var _0x31269b=_0x2ad539;for(var _0x27d909=0x0;_0x27d909<0x10;_0x27d909++){var _0x4201c1=_0x4eb9a5+_0x27d909,_0x431578=_0x1af108[_0x4201c1];_0x1af108[_0x4201c1]=(_0x431578<<0x8|_0x431578>>>0x18)&0xff00ff|(_0x431578<<0x18|_0x431578>>>0x8)&0xff00ff00;}var _0x2c30e2=this[_0x31269b(0x242)]['words'],_0x4157d9=_0x1af108[_0x4eb9a5+0x0],_0x3fb699=_0x1af108[_0x4eb9a5+0x1],_0x319b59=_0x1af108[_0x4eb9a5+0x2],_0x295a68=_0x1af108[_0x4eb9a5+0x3],_0x3f57c6=_0x1af108[_0x4eb9a5+0x4],_0x54b162=_0x1af108[_0x4eb9a5+0x5],_0x1f313b=_0x1af108[_0x4eb9a5+0x6],_0x30fec2=_0x1af108[_0x4eb9a5+0x7],_0x27f766=_0x1af108[_0x4eb9a5+0x8],_0x38bb86=_0x1af108[_0x4eb9a5+0x9],_0x49a5e9=_0x1af108[_0x4eb9a5+0xa],_0x37d1cf=_0x1af108[_0x4eb9a5+0xb],_0x225fdc=_0x1af108[_0x4eb9a5+0xc],_0x2e8a81=_0x1af108[_0x4eb9a5+0xd],_0x49493a=_0x1af108[_0x4eb9a5+0xe],_0x3bea25=_0x1af108[_0x4eb9a5+0xf],_0x1ea354=_0x2c30e2[0x0],_0xf5a71c=_0x2c30e2[0x1],_0x14884d=_0x2c30e2[0x2],_0x12f84c=_0x2c30e2[0x3];_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x4157d9,0x7,_0x44db44[0x0]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3fb699,0xc,_0x44db44[0x1]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x319b59,0x11,_0x44db44[0x2]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x295a68,0x16,_0x44db44[0x3]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3f57c6,0x7,_0x44db44[0x4]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x54b162,0xc,_0x44db44[0x5]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x1f313b,0x11,_0x44db44[0x6]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x30fec2,0x16,_0x44db44[0x7]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x27f766,0x7,_0x44db44[0x8]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x38bb86,0xc,_0x44db44[0x9]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49a5e9,0x11,_0x44db44[0xa]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x37d1cf,0x16,_0x44db44[0xb]),_0x1ea354=_0x44a652(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x225fdc,0x7,_0x44db44[0xc]),_0x12f84c=_0x44a652(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x2e8a81,0xc,_0x44db44[0xd]),_0x14884d=_0x44a652(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49493a,0x11,_0x44db44[0xe]),_0xf5a71c=_0x44a652(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3bea25,0x16,_0x44db44[0xf]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3fb699,0x5,_0x44db44[0x10]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x1f313b,0x9,_0x44db44[0x11]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x37d1cf,0xe,_0x44db44[0x12]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x4157d9,0x14,_0x44db44[0x13]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x54b162,0x5,_0x44db44[0x14]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x49a5e9,0x9,_0x44db44[0x15]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x3bea25,0xe,_0x44db44[0x16]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3f57c6,0x14,_0x44db44[0x17]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x38bb86,0x5,_0x44db44[0x18]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x49493a,0x9,_0x44db44[0x19]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x295a68,0xe,_0x44db44[0x1a]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x27f766,0x14,_0x44db44[0x1b]),_0x1ea354=_0x343c3b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x2e8a81,0x5,_0x44db44[0x1c]),_0x12f84c=_0x343c3b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x319b59,0x9,_0x44db44[0x1d]),_0x14884d=_0x343c3b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x30fec2,0xe,_0x44db44[0x1e]),_0xf5a71c=_0x343c3b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x225fdc,0x14,_0x44db44[0x1f]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x54b162,0x4,_0x44db44[0x20]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x27f766,0xb,_0x44db44[0x21]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x37d1cf,0x10,_0x44db44[0x22]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x49493a,0x17,_0x44db44[0x23]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3fb699,0x4,_0x44db44[0x24]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3f57c6,0xb,_0x44db44[0x25]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x30fec2,0x10,_0x44db44[0x26]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x49a5e9,0x17,_0x44db44[0x27]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x2e8a81,0x4,_0x44db44[0x28]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x4157d9,0xb,_0x44db44[0x29]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x295a68,0x10,_0x44db44[0x2a]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x1f313b,0x17,_0x44db44[0x2b]),_0x1ea354=_0x27601b(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x38bb86,0x4,_0x44db44[0x2c]),_0x12f84c=_0x27601b(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x225fdc,0xb,_0x44db44[0x2d]),_0x14884d=_0x27601b(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x3bea25,0x10,_0x44db44[0x2e]),_0xf5a71c=_0x27601b(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x319b59,0x17,_0x44db44[0x2f]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x4157d9,0x6,_0x44db44[0x30]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x30fec2,0xa,_0x44db44[0x31]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49493a,0xf,_0x44db44[0x32]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x54b162,0x15,_0x44db44[0x33]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x225fdc,0x6,_0x44db44[0x34]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x295a68,0xa,_0x44db44[0x35]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x49a5e9,0xf,_0x44db44[0x36]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x3fb699,0x15,_0x44db44[0x37]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x27f766,0x6,_0x44db44[0x38]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x3bea25,0xa,_0x44db44[0x39]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x1f313b,0xf,_0x44db44[0x3a]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x2e8a81,0x15,_0x44db44[0x3b]),_0x1ea354=_0x36ae23(_0x1ea354,_0xf5a71c,_0x14884d,_0x12f84c,_0x3f57c6,0x6,_0x44db44[0x3c]),_0x12f84c=_0x36ae23(_0x12f84c,_0x1ea354,_0xf5a71c,_0x14884d,_0x37d1cf,0xa,_0x44db44[0x3d]),_0x14884d=_0x36ae23(_0x14884d,_0x12f84c,_0x1ea354,_0xf5a71c,_0x319b59,0xf,_0x44db44[0x3e]),_0xf5a71c=_0x36ae23(_0xf5a71c,_0x14884d,_0x12f84c,_0x1ea354,_0x38bb86,0x15,_0x44db44[0x3f]),_0x2c30e2[0x0]=_0x2c30e2[0x0]+_0x1ea354|0x0,_0x2c30e2[0x1]=_0x2c30e2[0x1]+_0xf5a71c|0x0,_0x2c30e2[0x2]=_0x2c30e2[0x2]+_0x14884d|0x0,_0x2c30e2[0x3]=_0x2c30e2[0x3]+_0x12f84c|0x0;},'_doFinalize':function(){var _0x366fc6=_0x2ad539,_0x19115a=this[_0x366fc6(0x2b3)],_0x378fb9=_0x19115a[_0x366fc6(0x2ec)],_0x5d473a=this['_nDataBytes']*0x8,_0x3da134=_0x19115a[_0x366fc6(0xee)]*0x8;_0x378fb9[_0x3da134>>>0x5]|=0x80<<0x18-_0x3da134%0x20;var _0x1f7790=_0x2fe03c[_0x366fc6(0x143)](_0x5d473a/0x100000000),_0x52b3db=_0x5d473a;_0x378fb9[(_0x3da134+0x40>>>0x9<<0x4)+0xf]=(_0x1f7790<<0x8|_0x1f7790>>>0x18)&0xff00ff|(_0x1f7790<<0x18|_0x1f7790>>>0x8)&0xff00ff00,_0x378fb9[(_0x3da134+0x40>>>0x9<<0x4)+0xe]=(_0x52b3db<<0x8|_0x52b3db>>>0x18)&0xff00ff|(_0x52b3db<<0x18|_0x52b3db>>>0x8)&0xff00ff00,_0x19115a[_0x366fc6(0xee)]=(_0x378fb9[_0x366fc6(0x316)]+0x1)*0x4,this[_0x366fc6(0x283)]();for(var _0xc7c712=this['_hash'],_0x374cab=_0xc7c712['words'],_0x109f45=0x0;_0x109f45<0x4;_0x109f45++){var _0x5aa727=_0x374cab[_0x109f45];_0x374cab[_0x109f45]=(_0x5aa727<<0x8|_0x5aa727>>>0x18)&0xff00ff|(_0x5aa727<<0x18|_0x5aa727>>>0x8)&0xff00ff00;}return _0xc7c712;},'clone':function(){var _0x9e6808=_0x2ad539,_0x1edfdf=_0xfeb194[_0x9e6808(0x344)][_0x9e6808(0x269)](this);return _0x1edfdf[_0x9e6808(0x242)]=this[_0x9e6808(0x242)]['clone'](),_0x1edfdf;}});function _0x44a652(_0x39539a,_0x51729c,_0x273393,_0x595ff5,_0x229701,_0x4b463a,_0x50dc4b){var _0x17d284=_0x39539a+(_0x51729c&_0x273393|~_0x51729c&_0x595ff5)+_0x229701+_0x50dc4b;return(_0x17d284<<_0x4b463a|_0x17d284>>>0x20-_0x4b463a)+_0x51729c;}function _0x343c3b(_0x5051b1,_0x394eca,_0x2e831c,_0x319a7a,_0x2d7e39,_0x3c7716,_0x3835a5){var _0x2907cb=_0x5051b1+(_0x394eca&_0x319a7a|_0x2e831c&~_0x319a7a)+_0x2d7e39+_0x3835a5;return(_0x2907cb<<_0x3c7716|_0x2907cb>>>0x20-_0x3c7716)+_0x394eca;}function _0x27601b(_0x464127,_0x3db0cd,_0x1ce729,_0x4c448c,_0x40cd5e,_0x148485,_0x485681){var _0x5adf97=_0x464127+(_0x3db0cd^_0x1ce729^_0x4c448c)+_0x40cd5e+_0x485681;return(_0x5adf97<<_0x148485|_0x5adf97>>>0x20-_0x148485)+_0x3db0cd;}function _0x36ae23(_0x5d1024,_0x5be44f,_0x413af9,_0x10a9b0,_0x24674e,_0x4dc963,_0x310f90){var _0x5a2532=_0x5d1024+(_0x413af9^(_0x5be44f|~_0x10a9b0))+_0x24674e+_0x310f90;return(_0x5a2532<<_0x4dc963|_0x5a2532>>>0x20-_0x4dc963)+_0x5be44f;}_0x334337['MD5']=_0xfeb194[_0x2ad539(0x2d4)](_0x97c05b),_0x334337[_0x2ad539(0x354)]=_0xfeb194[_0x2ad539(0xc6)](_0x97c05b);}(Math),_0x5dbe86[_0x409297(0x212)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x3b7310(0x273)],ei;function Rn(){return ei||(ei=0x1,function(_0x30483c,_0x447656){(function(_0x2e336b,_0x230cab){var _0x284283=_0x5c5f;_0x30483c[_0x284283(0x273)]=_0x230cab(ie());}(Cn,function(_0x17eef4){var _0x566d4a=_0x5c5f;return(function(){var _0x3e8abd=_0x5c5f,_0x2fbce8=_0x17eef4,_0x460b8f=_0x2fbce8['lib'],_0x18d17f=_0x460b8f[_0x3e8abd(0x243)],_0x41b5ee=_0x460b8f[_0x3e8abd(0x1f0)],_0xcc4686=_0x2fbce8[_0x3e8abd(0x108)],_0x3c168e=[],_0x55fdb7=_0xcc4686[_0x3e8abd(0x1e4)]=_0x41b5ee[_0x3e8abd(0x21d)]({'_doReset':function(){var _0x48c043=_0x3e8abd;this[_0x48c043(0x242)]=new _0x18d17f[(_0x48c043(0x1fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x225b8f,_0x4da32d){var _0x4b66d2=_0x3e8abd;for(var _0x39b288=this[_0x4b66d2(0x242)]['words'],_0x371f69=_0x39b288[0x0],_0xcf317=_0x39b288[0x1],_0x2f9195=_0x39b288[0x2],_0x10e0cc=_0x39b288[0x3],_0x36dd11=_0x39b288[0x4],_0xd51392=0x0;_0xd51392<0x50;_0xd51392++){if(_0xd51392<0x10)_0x3c168e[_0xd51392]=_0x225b8f[_0x4da32d+_0xd51392]|0x0;else{var _0xc934a3=_0x3c168e[_0xd51392-0x3]^_0x3c168e[_0xd51392-0x8]^_0x3c168e[_0xd51392-0xe]^_0x3c168e[_0xd51392-0x10];_0x3c168e[_0xd51392]=_0xc934a3<<0x1|_0xc934a3>>>0x1f;}var _0x2ba268=(_0x371f69<<0x5|_0x371f69>>>0x1b)+_0x36dd11+_0x3c168e[_0xd51392];_0xd51392<0x14?_0x2ba268+=(_0xcf317&_0x2f9195|~_0xcf317&_0x10e0cc)+0x5a827999:_0xd51392<0x28?_0x2ba268+=(_0xcf317^_0x2f9195^_0x10e0cc)+0x6ed9eba1:_0xd51392<0x3c?_0x2ba268+=(_0xcf317&_0x2f9195|_0xcf317&_0x10e0cc|_0x2f9195&_0x10e0cc)-0x70e44324:_0x2ba268+=(_0xcf317^_0x2f9195^_0x10e0cc)-0x359d3e2a,_0x36dd11=_0x10e0cc,_0x10e0cc=_0x2f9195,_0x2f9195=_0xcf317<<0x1e|_0xcf317>>>0x2,_0xcf317=_0x371f69,_0x371f69=_0x2ba268;}_0x39b288[0x0]=_0x39b288[0x0]+_0x371f69|0x0,_0x39b288[0x1]=_0x39b288[0x1]+_0xcf317|0x0,_0x39b288[0x2]=_0x39b288[0x2]+_0x2f9195|0x0,_0x39b288[0x3]=_0x39b288[0x3]+_0x10e0cc|0x0,_0x39b288[0x4]=_0x39b288[0x4]+_0x36dd11|0x0;},'_doFinalize':function(){var _0x48d67c=_0x3e8abd,_0x149f65=this['_data'],_0x1a2ffe=_0x149f65[_0x48d67c(0x2ec)],_0x3042e1=this[_0x48d67c(0x1ce)]*0x8,_0x7c476a=_0x149f65['sigBytes']*0x8;return _0x1a2ffe[_0x7c476a>>>0x5]|=0x80<<0x18-_0x7c476a%0x20,_0x1a2ffe[(_0x7c476a+0x40>>>0x9<<0x4)+0xe]=Math[_0x48d67c(0x143)](_0x3042e1/0x100000000),_0x1a2ffe[(_0x7c476a+0x40>>>0x9<<0x4)+0xf]=_0x3042e1,_0x149f65[_0x48d67c(0xee)]=_0x1a2ffe[_0x48d67c(0x316)]*0x4,this[_0x48d67c(0x283)](),this[_0x48d67c(0x242)];},'clone':function(){var _0x136aac=_0x3e8abd,_0x5ecece=_0x41b5ee[_0x136aac(0x344)][_0x136aac(0x269)](this);return _0x5ecece['_hash']=this[_0x136aac(0x242)]['clone'](),_0x5ecece;}});_0x2fbce8[_0x3e8abd(0x1e4)]=_0x41b5ee[_0x3e8abd(0x2d4)](_0x55fdb7),_0x2fbce8['HmacSHA1']=_0x41b5ee[_0x3e8abd(0xc6)](_0x55fdb7);}()),_0x17eef4[_0x566d4a(0x1e4)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bn=ze['exports'],ti;function yn(){return ti||(ti=0x1,function(_0xd3d7a7,_0x409705){(function(_0x2c7bca,_0x5c3390){var _0x14e0ac=_0x5c5f;_0xd3d7a7[_0x14e0ac(0x273)]=_0x5c3390(ie());}(bn,function(_0x6a1924){(function(){var _0x25ee64=_0x5c5f,_0xde4416=_0x6a1924,_0x44937d=_0xde4416[_0x25ee64(0x2ce)],_0x11a65c=_0x44937d[_0x25ee64(0xd1)],_0x22cf93=_0xde4416['enc'],_0x5d2d38=_0x22cf93['Utf8'],_0x559b74=_0xde4416['algo'];_0x559b74[_0x25ee64(0x366)]=_0x11a65c[_0x25ee64(0x21d)]({'init':function(_0x4bc6e7,_0x386316){var _0x2bfee1=_0x25ee64;_0x4bc6e7=this[_0x2bfee1(0xec)]=new _0x4bc6e7[(_0x2bfee1(0x1fd))](),typeof _0x386316==_0x2bfee1(0x10f)&&(_0x386316=_0x5d2d38['parse'](_0x386316));var _0x4e28a9=_0x4bc6e7['blockSize'],_0x4d9bb7=_0x4e28a9*0x4;_0x386316[_0x2bfee1(0xee)]>_0x4d9bb7&&(_0x386316=_0x4bc6e7[_0x2bfee1(0x293)](_0x386316)),_0x386316[_0x2bfee1(0x2de)]();for(var _0x35270d=this[_0x2bfee1(0x26e)]=_0x386316[_0x2bfee1(0x344)](),_0x3c03dc=this[_0x2bfee1(0x15e)]=_0x386316[_0x2bfee1(0x344)](),_0x58d008=_0x35270d['words'],_0x5f2b53=_0x3c03dc[_0x2bfee1(0x2ec)],_0x2ab647=0x0;_0x2ab647<_0x4e28a9;_0x2ab647++)_0x58d008[_0x2ab647]^=0x5c5c5c5c,_0x5f2b53[_0x2ab647]^=0x36363636;_0x35270d[_0x2bfee1(0xee)]=_0x3c03dc[_0x2bfee1(0xee)]=_0x4d9bb7,this[_0x2bfee1(0x324)]();},'reset':function(){var _0x56b6d2=_0x25ee64,_0x50cf0e=this[_0x56b6d2(0xec)];_0x50cf0e[_0x56b6d2(0x324)](),_0x50cf0e[_0x56b6d2(0x38a)](this[_0x56b6d2(0x15e)]);},'update':function(_0xce98a){var _0x3c443e=_0x25ee64;return this[_0x3c443e(0xec)][_0x3c443e(0x38a)](_0xce98a),this;},'finalize':function(_0xa66045){var _0x5c53ee=_0x25ee64,_0x393415=this[_0x5c53ee(0xec)],_0x474ff8=_0x393415[_0x5c53ee(0x293)](_0xa66045);_0x393415[_0x5c53ee(0x324)]();var _0x96355c=_0x393415[_0x5c53ee(0x293)](this['_oKey'][_0x5c53ee(0x344)]()[_0x5c53ee(0x2df)](_0x474ff8));return _0x96355c;}});}());}));}(ze)),ze['exports'];}var On=Ye[_0x3b7310(0x273)],ii;function wi(){var _0x311347=_0x3b7310;return ii||(ii=0x1,function(_0x465255,_0x4c4ef2){(function(_0x60ffbb,_0x2064c9,_0xaf8a79){_0x465255['exports']=_0x2064c9(ie(),Rn(),yn());}(On,function(_0x28f2ff){return(function(){var _0x1bf41a=_0x5c5f,_0x39454d=_0x28f2ff,_0x42400f=_0x39454d['lib'],_0x34a4e6=_0x42400f['Base'],_0xcbba04=_0x42400f[_0x1bf41a(0x243)],_0x3c1c63=_0x39454d[_0x1bf41a(0x108)],_0x5b3361=_0x3c1c63['MD5'],_0x124add=_0x3c1c63[_0x1bf41a(0x351)]=_0x34a4e6[_0x1bf41a(0x21d)]({'cfg':_0x34a4e6[_0x1bf41a(0x21d)]({'keySize':0x80/0x20,'hasher':_0x5b3361,'iterations':0x1}),'init':function(_0x2f60eb){var _0x5d2db5=_0x1bf41a;this[_0x5d2db5(0x199)]=this[_0x5d2db5(0x199)]['extend'](_0x2f60eb);},'compute':function(_0x149cc2,_0x49a032){var _0x3e1fe8=_0x1bf41a;for(var _0x4724c1,_0x1ba76d=this['cfg'],_0x4e14a0=_0x1ba76d['hasher'][_0x3e1fe8(0x23f)](),_0x4c9e30=_0xcbba04[_0x3e1fe8(0x23f)](),_0x5282a3=_0x4c9e30['words'],_0x142369=_0x1ba76d[_0x3e1fe8(0x244)],_0x450235=_0x1ba76d[_0x3e1fe8(0x188)];_0x5282a3[_0x3e1fe8(0x316)]<_0x142369;){_0x4724c1&&_0x4e14a0['update'](_0x4724c1),_0x4724c1=_0x4e14a0[_0x3e1fe8(0x38a)](_0x149cc2)['finalize'](_0x49a032),_0x4e14a0[_0x3e1fe8(0x324)]();for(var _0x53d529=0x1;_0x53d529<_0x450235;_0x53d529++)_0x4724c1=_0x4e14a0['finalize'](_0x4724c1),_0x4e14a0['reset']();_0x4c9e30[_0x3e1fe8(0x2df)](_0x4724c1);}return _0x4c9e30['sigBytes']=_0x142369*0x4,_0x4c9e30;}});_0x39454d[_0x1bf41a(0x351)]=function(_0x15af86,_0x968919,_0x37d64f){var _0x378038=_0x1bf41a;return _0x124add['create'](_0x37d64f)[_0x378038(0x14d)](_0x15af86,_0x968919);};}()),_0x28f2ff['EvpKDF'];}));}(Ye)),Ye[_0x311347(0x273)];}var Je={'exports':{}},Nn=Je[_0x3b7310(0x273)],ri;function Ui(){var _0xa21db5=_0x3b7310;return ri||(ri=0x1,function(_0x304281,_0x30bad5){(function(_0x4d52cb,_0x508f54,_0x412eab){_0x304281['exports']=_0x508f54(ie(),wi());}(Nn,function(_0x5541c7){var _0x2591ee=_0x5c5f;_0x5541c7[_0x2591ee(0x2ce)]['Cipher']||function(_0x74394c){var _0x31422a=_0x2591ee,_0x2d94c1=_0x5541c7,_0x1f3495=_0x2d94c1[_0x31422a(0x2ce)],_0x399c81=_0x1f3495[_0x31422a(0xd1)],_0x232188=_0x1f3495[_0x31422a(0x243)],_0x516cdb=_0x1f3495[_0x31422a(0x28d)],_0x247f4a=_0x2d94c1[_0x31422a(0x211)];_0x247f4a[_0x31422a(0x37e)];var _0x35559c=_0x247f4a[_0x31422a(0xb3)],_0x1cd7b3=_0x2d94c1[_0x31422a(0x108)],_0x44d69d=_0x1cd7b3[_0x31422a(0x351)],_0x25ae80=_0x1f3495[_0x31422a(0x342)]=_0x516cdb[_0x31422a(0x21d)]({'cfg':_0x399c81['extend'](),'createEncryptor':function(_0x52755b,_0x289084){return this['create'](this['_ENC_XFORM_MODE'],_0x52755b,_0x289084);},'createDecryptor':function(_0x45477a,_0x5af919){return this['create'](this['_DEC_XFORM_MODE'],_0x45477a,_0x5af919);},'init':function(_0x57cd87,_0x45db18,_0xf8cfd3){var _0x5b5f04=_0x31422a;this[_0x5b5f04(0x199)]=this[_0x5b5f04(0x199)][_0x5b5f04(0x21d)](_0xf8cfd3),this['_xformMode']=_0x57cd87,this[_0x5b5f04(0xcf)]=_0x45db18,this[_0x5b5f04(0x324)]();},'reset':function(){var _0x5f3c52=_0x31422a;_0x516cdb[_0x5f3c52(0x324)][_0x5f3c52(0x269)](this),this['_doReset']();},'process':function(_0x5eeb){var _0x5b3801=_0x31422a;return this[_0x5b3801(0x218)](_0x5eeb),this[_0x5b3801(0x283)]();},'finalize':function(_0x1c8680){var _0x45c725=_0x31422a;_0x1c8680&&this[_0x45c725(0x218)](_0x1c8680);var _0x582ec7=this[_0x45c725(0x132)]();return _0x582ec7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x37c1f7(_0x25b2d9){var _0x303e81=_0x5c5f;return typeof _0x25b2d9==_0x303e81(0x10f)?_0x5ac6be:_0x58dd63;}return function(_0x11d209){return{'encrypt':function(_0xa84799,_0x1fb5cb,_0x302392){var _0x8cc6b8=_0x5c5f;return _0x37c1f7(_0x1fb5cb)[_0x8cc6b8(0x21a)](_0x11d209,_0xa84799,_0x1fb5cb,_0x302392);},'decrypt':function(_0xf7f69d,_0x3458de,_0x381313){return _0x37c1f7(_0x3458de)['decrypt'](_0x11d209,_0xf7f69d,_0x3458de,_0x381313);}};};}())});_0x1f3495['StreamCipher']=_0x25ae80[_0x31422a(0x21d)]({'_doFinalize':function(){var _0x415f04=this['_process'](!0x0);return _0x415f04;},'blockSize':0x1});var _0x249887=_0x2d94c1[_0x31422a(0x1cb)]={},_0x3028af=_0x1f3495[_0x31422a(0x1ff)]=_0x399c81[_0x31422a(0x21d)]({'createEncryptor':function(_0x5577aa,_0x2cef8b){var _0x5c7288=_0x31422a;return this[_0x5c7288(0x2e0)][_0x5c7288(0x23f)](_0x5577aa,_0x2cef8b);},'createDecryptor':function(_0x1efba5,_0x192432){var _0x235466=_0x31422a;return this[_0x235466(0x2cb)][_0x235466(0x23f)](_0x1efba5,_0x192432);},'init':function(_0x17d105,_0x2dd2f7){var _0x312cff=_0x31422a;this[_0x312cff(0xd4)]=_0x17d105,this['_iv']=_0x2dd2f7;}}),_0x3c2b99=_0x249887['CBC']=(function(){var _0x977a01=_0x31422a,_0x433919=_0x3028af['extend']();_0x433919[_0x977a01(0x2e0)]=_0x433919['extend']({'processBlock':function(_0x43820d,_0x3514ba){var _0x917aaa=_0x977a01,_0x4296cc=this[_0x917aaa(0xd4)],_0x25828f=_0x4296cc[_0x917aaa(0x1fe)];_0x288b99[_0x917aaa(0x269)](this,_0x43820d,_0x3514ba,_0x25828f),_0x4296cc[_0x917aaa(0x314)](_0x43820d,_0x3514ba),this[_0x917aaa(0x2f2)]=_0x43820d['slice'](_0x3514ba,_0x3514ba+_0x25828f);}}),_0x433919[_0x977a01(0x2cb)]=_0x433919[_0x977a01(0x21d)]({'processBlock':function(_0xc6264c,_0x33e9c1){var _0x16bbae=_0x977a01,_0x441fe2=this['_cipher'],_0x5a4847=_0x441fe2[_0x16bbae(0x1fe)],_0x21ec51=_0xc6264c['slice'](_0x33e9c1,_0x33e9c1+_0x5a4847);_0x441fe2[_0x16bbae(0x177)](_0xc6264c,_0x33e9c1),_0x288b99[_0x16bbae(0x269)](this,_0xc6264c,_0x33e9c1,_0x5a4847),this[_0x16bbae(0x2f2)]=_0x21ec51;}});function _0x288b99(_0x443274,_0x2d1cfa,_0x26c6f7){var _0x2b9868=_0x977a01,_0x2ec3cf,_0x1e1c03=this[_0x2b9868(0x138)];_0x1e1c03?(_0x2ec3cf=_0x1e1c03,this[_0x2b9868(0x138)]=_0x74394c):_0x2ec3cf=this['_prevBlock'];for(var _0x1265d2=0x0;_0x1265d2<_0x26c6f7;_0x1265d2++)_0x443274[_0x2d1cfa+_0x1265d2]^=_0x2ec3cf[_0x1265d2];}return _0x433919;}()),_0x4631fe=_0x2d94c1['pad']={},_0x25efd9=_0x4631fe[_0x31422a(0x252)]={'pad':function(_0xabbc37,_0x24a243){var _0x19a8df=_0x31422a;for(var _0x54d792=_0x24a243*0x4,_0x5b2f11=_0x54d792-_0xabbc37[_0x19a8df(0xee)]%_0x54d792,_0x957c7b=_0x5b2f11<<0x18|_0x5b2f11<<0x10|_0x5b2f11<<0x8|_0x5b2f11,_0x1f9209=[],_0x2fe31a=0x0;_0x2fe31a<_0x5b2f11;_0x2fe31a+=0x4)_0x1f9209[_0x19a8df(0x304)](_0x957c7b);var _0x426dc4=_0x232188[_0x19a8df(0x23f)](_0x1f9209,_0x5b2f11);_0xabbc37[_0x19a8df(0x2df)](_0x426dc4);},'unpad':function(_0x528634){var _0x996263=_0x31422a,_0x3c05c6=_0x528634['words'][_0x528634[_0x996263(0xee)]-0x1>>>0x2]&0xff;_0x528634[_0x996263(0xee)]-=_0x3c05c6;}};_0x1f3495[_0x31422a(0x24b)]=_0x25ae80[_0x31422a(0x21d)]({'cfg':_0x25ae80[_0x31422a(0x199)][_0x31422a(0x21d)]({'mode':_0x3c2b99,'padding':_0x25efd9}),'reset':function(){var _0x81a9a6=_0x31422a,_0x4fa0ee;_0x25ae80['reset'][_0x81a9a6(0x269)](this);var _0x179b3f=this[_0x81a9a6(0x199)],_0x1e855b=_0x179b3f['iv'],_0x4251ce=_0x179b3f['mode'];this[_0x81a9a6(0x154)]==this[_0x81a9a6(0x1d4)]?_0x4fa0ee=_0x4251ce['createEncryptor']:(_0x4fa0ee=_0x4251ce[_0x81a9a6(0x13c)],this['_minBufferSize']=0x1),this[_0x81a9a6(0x1d1)]&&this[_0x81a9a6(0x1d1)][_0x81a9a6(0x39e)]==_0x4fa0ee?this[_0x81a9a6(0x1d1)]['init'](this,_0x1e855b&&_0x1e855b[_0x81a9a6(0x2ec)]):(this['_mode']=_0x4fa0ee[_0x81a9a6(0x269)](_0x4251ce,this,_0x1e855b&&_0x1e855b[_0x81a9a6(0x2ec)]),this[_0x81a9a6(0x1d1)][_0x81a9a6(0x39e)]=_0x4fa0ee);},'_doProcessBlock':function(_0x10eeec,_0x1b7a91){var _0x293fc4=_0x31422a;this['_mode'][_0x293fc4(0x17c)](_0x10eeec,_0x1b7a91);},'_doFinalize':function(){var _0x663529=_0x31422a,_0xa3e972,_0x4a38df=this[_0x663529(0x199)]['padding'];return this[_0x663529(0x154)]==this['_ENC_XFORM_MODE']?(_0x4a38df[_0x663529(0x286)](this[_0x663529(0x2b3)],this[_0x663529(0x1fe)]),_0xa3e972=this[_0x663529(0x283)](!0x0)):(_0xa3e972=this['_process'](!0x0),_0x4a38df['unpad'](_0xa3e972)),_0xa3e972;},'blockSize':0x80/0x20});var _0x51e7f3=_0x1f3495[_0x31422a(0x32f)]=_0x399c81[_0x31422a(0x21d)]({'init':function(_0x1efc8d){var _0x13152d=_0x31422a;this[_0x13152d(0x336)](_0x1efc8d);},'toString':function(_0x3b1a7f){var _0x49f117=_0x31422a;return(_0x3b1a7f||this[_0x49f117(0xfa)])['stringify'](this);}}),_0x467820=_0x2d94c1[_0x31422a(0x128)]={},_0x270ccb=_0x467820['OpenSSL']={'stringify':function(_0x565dc8){var _0x311d81=_0x31422a,_0x8017ed,_0x103a06=_0x565dc8[_0x311d81(0x1f1)],_0x38cf28=_0x565dc8[_0x311d81(0x150)];return _0x38cf28?_0x8017ed=_0x232188[_0x311d81(0x23f)]([0x53616c74,0x65645f5f])['concat'](_0x38cf28)[_0x311d81(0x2df)](_0x103a06):_0x8017ed=_0x103a06,_0x8017ed[_0x311d81(0xf7)](_0x35559c);},'parse':function(_0x224341){var _0xab00fb=_0x31422a,_0x388895,_0x357812=_0x35559c[_0xab00fb(0x117)](_0x224341),_0x30afe7=_0x357812['words'];return _0x30afe7[0x0]==0x53616c74&&_0x30afe7[0x1]==0x65645f5f&&(_0x388895=_0x232188[_0xab00fb(0x23f)](_0x30afe7['slice'](0x2,0x4)),_0x30afe7[_0xab00fb(0x373)](0x0,0x4),_0x357812['sigBytes']-=0x10),_0x51e7f3['create']({'ciphertext':_0x357812,'salt':_0x388895});}},_0x58dd63=_0x1f3495['SerializableCipher']=_0x399c81['extend']({'cfg':_0x399c81[_0x31422a(0x21d)]({'format':_0x270ccb}),'encrypt':function(_0x2541d4,_0x1f6c29,_0x52ca11,_0x220cb7){var _0x5cb38d=_0x31422a;_0x220cb7=this[_0x5cb38d(0x199)][_0x5cb38d(0x21d)](_0x220cb7);var _0x1d67dd=_0x2541d4[_0x5cb38d(0x2e6)](_0x52ca11,_0x220cb7),_0x450de3=_0x1d67dd[_0x5cb38d(0x293)](_0x1f6c29),_0x3d3228=_0x1d67dd[_0x5cb38d(0x199)];return _0x51e7f3[_0x5cb38d(0x23f)]({'ciphertext':_0x450de3,'key':_0x52ca11,'iv':_0x3d3228['iv'],'algorithm':_0x2541d4,'mode':_0x3d3228[_0x5cb38d(0x1cb)],'padding':_0x3d3228[_0x5cb38d(0x1ef)],'blockSize':_0x2541d4[_0x5cb38d(0x1fe)],'formatter':_0x220cb7[_0x5cb38d(0x128)]});},'decrypt':function(_0x350369,_0x4b8ae9,_0x1ce286,_0x49ac26){var _0x4f6d98=_0x31422a;_0x49ac26=this['cfg']['extend'](_0x49ac26),_0x4b8ae9=this['_parse'](_0x4b8ae9,_0x49ac26['format']);var _0x483b90=_0x350369[_0x4f6d98(0x13c)](_0x1ce286,_0x49ac26)[_0x4f6d98(0x293)](_0x4b8ae9[_0x4f6d98(0x1f1)]);return _0x483b90;},'_parse':function(_0x4c7238,_0xa75da){var _0x39795b=_0x31422a;return typeof _0x4c7238==_0x39795b(0x10f)?_0xa75da[_0x39795b(0x117)](_0x4c7238,this):_0x4c7238;}}),_0x136d37=_0x2d94c1[_0x31422a(0x22a)]={},_0x2b9115=_0x136d37[_0x31422a(0x30b)]={'execute':function(_0x2ed511,_0x4e1c7b,_0x5b7527,_0x203f6d,_0x11be4a){var _0x524956=_0x31422a;if(_0x203f6d||(_0x203f6d=_0x232188[_0x524956(0x27f)](0x40/0x8)),_0x11be4a)var _0x3850a8=_0x44d69d[_0x524956(0x23f)]({'keySize':_0x4e1c7b+_0x5b7527,'hasher':_0x11be4a})['compute'](_0x2ed511,_0x203f6d);else var _0x3850a8=_0x44d69d[_0x524956(0x23f)]({'keySize':_0x4e1c7b+_0x5b7527})[_0x524956(0x14d)](_0x2ed511,_0x203f6d);var _0x40644b=_0x232188[_0x524956(0x23f)](_0x3850a8[_0x524956(0x2ec)][_0x524956(0x1d8)](_0x4e1c7b),_0x5b7527*0x4);return _0x3850a8[_0x524956(0xee)]=_0x4e1c7b*0x4,_0x51e7f3[_0x524956(0x23f)]({'key':_0x3850a8,'iv':_0x40644b,'salt':_0x203f6d});}},_0x5ac6be=_0x1f3495[_0x31422a(0x322)]=_0x58dd63[_0x31422a(0x21d)]({'cfg':_0x58dd63['cfg'][_0x31422a(0x21d)]({'kdf':_0x2b9115}),'encrypt':function(_0x200d9e,_0x4acb57,_0x5e1192,_0x5da5a1){var _0x57a9c5=_0x31422a;_0x5da5a1=this[_0x57a9c5(0x199)][_0x57a9c5(0x21d)](_0x5da5a1);var _0x245dc3=_0x5da5a1['kdf'][_0x57a9c5(0x253)](_0x5e1192,_0x200d9e['keySize'],_0x200d9e['ivSize'],_0x5da5a1['salt'],_0x5da5a1['hasher']);_0x5da5a1['iv']=_0x245dc3['iv'];var _0x412dd8=_0x58dd63[_0x57a9c5(0x21a)][_0x57a9c5(0x269)](this,_0x200d9e,_0x4acb57,_0x245dc3['key'],_0x5da5a1);return _0x412dd8[_0x57a9c5(0x336)](_0x245dc3),_0x412dd8;},'decrypt':function(_0x521ccb,_0x3a76ce,_0x25884b,_0xff6805){var _0x5af0a1=_0x31422a;_0xff6805=this[_0x5af0a1(0x199)]['extend'](_0xff6805),_0x3a76ce=this[_0x5af0a1(0x328)](_0x3a76ce,_0xff6805['format']);var _0x35886f=_0xff6805['kdf'][_0x5af0a1(0x253)](_0x25884b,_0x521ccb[_0x5af0a1(0x244)],_0x521ccb[_0x5af0a1(0x2c1)],_0x3a76ce['salt'],_0xff6805['hasher']);_0xff6805['iv']=_0x35886f['iv'];var _0x5c5570=_0x58dd63['decrypt'][_0x5af0a1(0x269)](this,_0x521ccb,_0x3a76ce,_0x35886f['key'],_0xff6805);return _0x5c5570;}});}();}));}(Je)),Je[_0xa21db5(0x273)];}var Dn=Ge[_0x3b7310(0x273)],ni;function wn(){var _0x83c060=_0x3b7310;return ni||(ni=0x1,function(_0x44ecd0,_0xaf9a07){(function(_0x4d3abb,_0x361308,_0x4ccabf){var _0x32a0e7=_0x5c5f;_0x44ecd0[_0x32a0e7(0x273)]=_0x361308(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x227e31){return(function(){var _0x288de3=_0x5c5f,_0x3a2195=_0x227e31,_0x3b55dc=_0x3a2195[_0x288de3(0x2ce)],_0xc20497=_0x3b55dc[_0x288de3(0x24b)],_0xe4635e=_0x3a2195['algo'],_0x28432d=[],_0x33b211=[],_0x1f7a49=[],_0x230847=[],_0x53a029=[],_0x20295c=[],_0x28f6c9=[],_0x393993=[],_0x4bffde=[],_0x1207cf=[];(function(){for(var _0x552960=[],_0x5ef9dc=0x0;_0x5ef9dc<0x100;_0x5ef9dc++)_0x5ef9dc<0x80?_0x552960[_0x5ef9dc]=_0x5ef9dc<<0x1:_0x552960[_0x5ef9dc]=_0x5ef9dc<<0x1^0x11b;for(var _0x3e15a2=0x0,_0x28cc8b=0x0,_0x5ef9dc=0x0;_0x5ef9dc<0x100;_0x5ef9dc++){var _0x3eb874=_0x28cc8b^_0x28cc8b<<0x1^_0x28cc8b<<0x2^_0x28cc8b<<0x3^_0x28cc8b<<0x4;_0x3eb874=_0x3eb874>>>0x8^_0x3eb874&0xff^0x63,_0x28432d[_0x3e15a2]=_0x3eb874,_0x33b211[_0x3eb874]=_0x3e15a2;var _0x2eb422=_0x552960[_0x3e15a2],_0x28ddab=_0x552960[_0x2eb422],_0x783428=_0x552960[_0x28ddab],_0x36c5a8=_0x552960[_0x3eb874]*0x101^_0x3eb874*0x1010100;_0x1f7a49[_0x3e15a2]=_0x36c5a8<<0x18|_0x36c5a8>>>0x8,_0x230847[_0x3e15a2]=_0x36c5a8<<0x10|_0x36c5a8>>>0x10,_0x53a029[_0x3e15a2]=_0x36c5a8<<0x8|_0x36c5a8>>>0x18,_0x20295c[_0x3e15a2]=_0x36c5a8;var _0x36c5a8=_0x783428*0x1010101^_0x28ddab*0x10001^_0x2eb422*0x101^_0x3e15a2*0x1010100;_0x28f6c9[_0x3eb874]=_0x36c5a8<<0x18|_0x36c5a8>>>0x8,_0x393993[_0x3eb874]=_0x36c5a8<<0x10|_0x36c5a8>>>0x10,_0x4bffde[_0x3eb874]=_0x36c5a8<<0x8|_0x36c5a8>>>0x18,_0x1207cf[_0x3eb874]=_0x36c5a8,_0x3e15a2?(_0x3e15a2=_0x2eb422^_0x552960[_0x552960[_0x552960[_0x783428^_0x2eb422]]],_0x28cc8b^=_0x552960[_0x552960[_0x28cc8b]]):_0x3e15a2=_0x28cc8b=0x1;}}());var _0x1de444=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28b495=_0xe4635e[_0x288de3(0x14c)]=_0xc20497[_0x288de3(0x21d)]({'_doReset':function(){var _0x40b6a6=_0x288de3,_0x27e0c1;if(!(this[_0x40b6a6(0x396)]&&this[_0x40b6a6(0x217)]===this[_0x40b6a6(0xcf)])){for(var _0x568824=this[_0x40b6a6(0x217)]=this[_0x40b6a6(0xcf)],_0x4cc828=_0x568824[_0x40b6a6(0x2ec)],_0x39a8e1=_0x568824[_0x40b6a6(0xee)]/0x4,_0x499754=this['_nRounds']=_0x39a8e1+0x6,_0x575245=(_0x499754+0x1)*0x4,_0x21b01e=this[_0x40b6a6(0xc7)]=[],_0x11cf22=0x0;_0x11cf22<_0x575245;_0x11cf22++)_0x11cf22<_0x39a8e1?_0x21b01e[_0x11cf22]=_0x4cc828[_0x11cf22]:(_0x27e0c1=_0x21b01e[_0x11cf22-0x1],_0x11cf22%_0x39a8e1?_0x39a8e1>0x6&&_0x11cf22%_0x39a8e1==0x4&&(_0x27e0c1=_0x28432d[_0x27e0c1>>>0x18]<<0x18|_0x28432d[_0x27e0c1>>>0x10&0xff]<<0x10|_0x28432d[_0x27e0c1>>>0x8&0xff]<<0x8|_0x28432d[_0x27e0c1&0xff]):(_0x27e0c1=_0x27e0c1<<0x8|_0x27e0c1>>>0x18,_0x27e0c1=_0x28432d[_0x27e0c1>>>0x18]<<0x18|_0x28432d[_0x27e0c1>>>0x10&0xff]<<0x10|_0x28432d[_0x27e0c1>>>0x8&0xff]<<0x8|_0x28432d[_0x27e0c1&0xff],_0x27e0c1^=_0x1de444[_0x11cf22/_0x39a8e1|0x0]<<0x18),_0x21b01e[_0x11cf22]=_0x21b01e[_0x11cf22-_0x39a8e1]^_0x27e0c1);for(var _0x472716=this[_0x40b6a6(0x1e0)]=[],_0x2cb09a=0x0;_0x2cb09a<_0x575245;_0x2cb09a++){var _0x11cf22=_0x575245-_0x2cb09a;if(_0x2cb09a%0x4)var _0x27e0c1=_0x21b01e[_0x11cf22];else var _0x27e0c1=_0x21b01e[_0x11cf22-0x4];_0x2cb09a<0x4||_0x11cf22<=0x4?_0x472716[_0x2cb09a]=_0x27e0c1:_0x472716[_0x2cb09a]=_0x28f6c9[_0x28432d[_0x27e0c1>>>0x18]]^_0x393993[_0x28432d[_0x27e0c1>>>0x10&0xff]]^_0x4bffde[_0x28432d[_0x27e0c1>>>0x8&0xff]]^_0x1207cf[_0x28432d[_0x27e0c1&0xff]];}}},'encryptBlock':function(_0x32fbe2,_0x183156){var _0x52bd7d=_0x288de3;this[_0x52bd7d(0x2e1)](_0x32fbe2,_0x183156,this['_keySchedule'],_0x1f7a49,_0x230847,_0x53a029,_0x20295c,_0x28432d);},'decryptBlock':function(_0x57c07e,_0x7115ac){var _0x54be59=_0x57c07e[_0x7115ac+0x1];_0x57c07e[_0x7115ac+0x1]=_0x57c07e[_0x7115ac+0x3],_0x57c07e[_0x7115ac+0x3]=_0x54be59,this['_doCryptBlock'](_0x57c07e,_0x7115ac,this['_invKeySchedule'],_0x28f6c9,_0x393993,_0x4bffde,_0x1207cf,_0x33b211);var _0x54be59=_0x57c07e[_0x7115ac+0x1];_0x57c07e[_0x7115ac+0x1]=_0x57c07e[_0x7115ac+0x3],_0x57c07e[_0x7115ac+0x3]=_0x54be59;},'_doCryptBlock':function(_0x565ecb,_0x5b431f,_0x17a9b2,_0x29dab8,_0x308a74,_0x1a3805,_0xd08c81,_0x217309){var _0x991441=_0x288de3;for(var _0x3ba3de=this[_0x991441(0x396)],_0x48a281=_0x565ecb[_0x5b431f]^_0x17a9b2[0x0],_0x4c690e=_0x565ecb[_0x5b431f+0x1]^_0x17a9b2[0x1],_0x15a379=_0x565ecb[_0x5b431f+0x2]^_0x17a9b2[0x2],_0x18403b=_0x565ecb[_0x5b431f+0x3]^_0x17a9b2[0x3],_0x42bfb6=0x4,_0x3c454f=0x1;_0x3c454f<_0x3ba3de;_0x3c454f++){var _0x357245=_0x29dab8[_0x48a281>>>0x18]^_0x308a74[_0x4c690e>>>0x10&0xff]^_0x1a3805[_0x15a379>>>0x8&0xff]^_0xd08c81[_0x18403b&0xff]^_0x17a9b2[_0x42bfb6++],_0x3b26f0=_0x29dab8[_0x4c690e>>>0x18]^_0x308a74[_0x15a379>>>0x10&0xff]^_0x1a3805[_0x18403b>>>0x8&0xff]^_0xd08c81[_0x48a281&0xff]^_0x17a9b2[_0x42bfb6++],_0x27381e=_0x29dab8[_0x15a379>>>0x18]^_0x308a74[_0x18403b>>>0x10&0xff]^_0x1a3805[_0x48a281>>>0x8&0xff]^_0xd08c81[_0x4c690e&0xff]^_0x17a9b2[_0x42bfb6++],_0x405783=_0x29dab8[_0x18403b>>>0x18]^_0x308a74[_0x48a281>>>0x10&0xff]^_0x1a3805[_0x4c690e>>>0x8&0xff]^_0xd08c81[_0x15a379&0xff]^_0x17a9b2[_0x42bfb6++];_0x48a281=_0x357245,_0x4c690e=_0x3b26f0,_0x15a379=_0x27381e,_0x18403b=_0x405783;}var _0x357245=(_0x217309[_0x48a281>>>0x18]<<0x18|_0x217309[_0x4c690e>>>0x10&0xff]<<0x10|_0x217309[_0x15a379>>>0x8&0xff]<<0x8|_0x217309[_0x18403b&0xff])^_0x17a9b2[_0x42bfb6++],_0x3b26f0=(_0x217309[_0x4c690e>>>0x18]<<0x18|_0x217309[_0x15a379>>>0x10&0xff]<<0x10|_0x217309[_0x18403b>>>0x8&0xff]<<0x8|_0x217309[_0x48a281&0xff])^_0x17a9b2[_0x42bfb6++],_0x27381e=(_0x217309[_0x15a379>>>0x18]<<0x18|_0x217309[_0x18403b>>>0x10&0xff]<<0x10|_0x217309[_0x48a281>>>0x8&0xff]<<0x8|_0x217309[_0x4c690e&0xff])^_0x17a9b2[_0x42bfb6++],_0x405783=(_0x217309[_0x18403b>>>0x18]<<0x18|_0x217309[_0x48a281>>>0x10&0xff]<<0x10|_0x217309[_0x4c690e>>>0x8&0xff]<<0x8|_0x217309[_0x15a379&0xff])^_0x17a9b2[_0x42bfb6++];_0x565ecb[_0x5b431f]=_0x357245,_0x565ecb[_0x5b431f+0x1]=_0x3b26f0,_0x565ecb[_0x5b431f+0x2]=_0x27381e,_0x565ecb[_0x5b431f+0x3]=_0x405783;},'keySize':0x100/0x20});_0x3a2195[_0x288de3(0x14c)]=_0xc20497[_0x288de3(0x2d4)](_0x28b495);}()),_0x227e31['AES'];}));}(Ge)),Ge[_0x83c060(0x273)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x3b7310(0x273)],oi;function Ln(){return oi||(oi=0x1,function(_0xbed682,_0x5ac65c){(function(_0x44c5e0,_0x3343fb){_0xbed682['exports']=_0x3343fb(ie());}(xn,function(_0x3f0943){var _0x4ac927=_0x5c5f;return _0x3f0943[_0x4ac927(0x211)][_0x4ac927(0x37e)];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){var _0x3ac70a=_0x3b7310;return ai||(ai=0x1,function(_0x5be3a5,_0x1b0a40){(function(_0x3e2318,_0x55a506){_0x5be3a5['exports']=_0x55a506(ie());}($n,function(_0xec4528){var _0x2e677d=_0x5c5f;return(function(){var _0x32c3b3=_0x5c5f;if(typeof ArrayBuffer=='function'){var _0x33bad1=_0xec4528,_0x2024e5=_0x33bad1['lib'],_0x4a263d=_0x2024e5[_0x32c3b3(0x243)],_0x474252=_0x4a263d[_0x32c3b3(0x1fd)],_0x4deb9d=_0x4a263d[_0x32c3b3(0x1fd)]=function(_0x3d6a7e){var _0x471086=_0x32c3b3;if(_0x3d6a7e instanceof ArrayBuffer&&(_0x3d6a7e=new Uint8Array(_0x3d6a7e)),(_0x3d6a7e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d6a7e instanceof Uint8ClampedArray||_0x3d6a7e instanceof Int16Array||_0x3d6a7e instanceof Uint16Array||_0x3d6a7e instanceof Int32Array||_0x3d6a7e instanceof Uint32Array||_0x3d6a7e instanceof Float32Array||_0x3d6a7e instanceof Float64Array)&&(_0x3d6a7e=new Uint8Array(_0x3d6a7e[_0x471086(0x346)],_0x3d6a7e[_0x471086(0x127)],_0x3d6a7e['byteLength'])),_0x3d6a7e instanceof Uint8Array){for(var _0x343630=_0x3d6a7e[_0x471086(0x276)],_0x12395d=[],_0x5338be=0x0;_0x5338be<_0x343630;_0x5338be++)_0x12395d[_0x5338be>>>0x2]|=_0x3d6a7e[_0x5338be]<<0x18-_0x5338be%0x4*0x8;_0x474252['call'](this,_0x12395d,_0x343630);}else _0x474252['apply'](this,arguments);};_0x4deb9d[_0x32c3b3(0x2ad)]=_0x4a263d;}}()),_0xec4528[_0x2e677d(0x2ce)][_0x2e677d(0x243)];}));}(Ze)),Ze[_0x3ac70a(0x273)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x3b7310(0x273)],ci;function Gn(){var _0xa3eb67=_0x3b7310;return ci||(ci=0x1,function(_0x3aaed1,_0x4f85e9){(function(_0x24fc38,_0x49b0e3,_0x508245){var _0x4cd9e2=_0x5c5f;_0x3aaed1[_0x4cd9e2(0x273)]=_0x49b0e3(ie(),Ui());}(Fn,function(_0x1a9b49){var _0x28f48f=_0x5c5f;return _0x1a9b49[_0x28f48f(0x286)][_0x28f48f(0xf9)]={'pad':function(){},'unpad':function(){}},_0x1a9b49['pad']['NoPadding'];}));}(Qe)),Qe[_0xa3eb67(0x273)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0xdf56d6,_0x543471){var _0x12d91c=_0x3b7310;const _0x25ee69=_0x543471-_0xdf56d6[_0x12d91c(0x316)]%_0x543471,_0x3f7f92=String[_0x12d91c(0x2a6)](_0x25ee69)[_0x12d91c(0x1b8)](_0x25ee69);return _0xdf56d6+_0x3f7f92;}function Yn(_0x3a19a7,_0x3ced00){var _0x3110da=_0x3b7310;const _0x15dab9=jn['random'](0x10),_0x27834b=Kn(_0x3a19a7,0x10),_0x23a762=An[_0x3110da(0x21a)](kn[_0x3110da(0x117)](_0x27834b),si['parse'](_0x3ced00),{'iv':_0x15dab9,'padding':Wn});return _0x15dab9[_0x3110da(0x2df)](_0x23a762[_0x3110da(0x1f1)])['toString'](si);}function qn(){var _0x2a70bd=_0x3b7310;const _0x57fe60=_0x5efa8e()[_0x2a70bd(0x358)];if(_0x57fe60){const _0x567de5={'time':Math[_0x2a70bd(0x143)](Date[_0x2a70bd(0x285)]()/0x3e8),'domain':location[_0x2a70bd(0x337)]};return Yn(JSON['stringify'](_0x567de5),_0x57fe60);}}var zn=Object[_0x3b7310(0x20e)],Jn=(_0x531bf8,_0xf5db9d,_0x17a41a,_0x1214ea)=>{for(var _0x486885=_0x1214ea>0x1?void 0x0:_0x1214ea?zn(_0xf5db9d,_0x17a41a):_0xf5db9d,_0x35c7ec=_0x531bf8['length']-0x1,_0x21f1fd;_0x35c7ec>=0x0;_0x35c7ec--)(_0x21f1fd=_0x531bf8[_0x35c7ec])&&(_0x486885=_0x21f1fd(_0x486885)||_0x486885);return _0x486885;},Xn=(_0x3d2256,_0x24561f)=>(_0x1e2ab0,_0x1cc5f2)=>_0x24561f(_0x1e2ab0,_0x1cc5f2,_0x3d2256);let ot=class{constructor(_0x1d42eb){this['_httpService']=_0x1d42eb,this['_initRequestHeader']();}[_0x3b7310(0x1bf)](){var _0x4cd599=_0x3b7310;this[_0x4cd599(0x35a)][_0x4cd599(0x2c4)]({'interceptor':(_0x19f991,_0x2e9580)=>{var _0x480761=_0x4cd599;const _0x429478=_0x19f991[_0x480761(0x277)],_0xc647d0=qn();return _0xc647d0&&_0x429478[_0x480761(0x151)](_0x480761(0x152),_0xc647d0),_0x2e9580(_0x19f991);}});}};ot=Jn([Xn(0x0,_0x419509(_0x347bc3))],ot);var Zn=Object[_0x3b7310(0x20e)],Qn=(_0x42bf07,_0x366744,_0x1ad1f2,_0x522115)=>{var _0x3c9a14=_0x3b7310;for(var _0x14746f=_0x522115>0x1?void 0x0:_0x522115?Zn(_0x366744,_0x1ad1f2):_0x366744,_0x1ec1a8=_0x42bf07[_0x3c9a14(0x316)]-0x1,_0x26e154;_0x1ec1a8>=0x0;_0x1ec1a8--)(_0x26e154=_0x42bf07[_0x1ec1a8])&&(_0x14746f=_0x26e154(_0x14746f)||_0x14746f);return _0x14746f;},mt=(_0x4e9094,_0x529043)=>(_0x38f796,_0x10f8f4)=>_0x529043(_0x38f796,_0x10f8f4,_0x4e9094);let bt=class extends _0x3f9fed{constructor(_0x25c2a3,_0xa05c6e,_0xb88882){var _0x3e88bd=_0x3b7310;super(),N(this,_0x3e88bd(0x2be),new _0x31cf27(null)),N(this,_0x3e88bd(0x251),this[_0x3e88bd(0x2be)][_0x3e88bd(0x2bf)]()),(this[_0x3e88bd(0x330)]=_0x25c2a3,this[_0x3e88bd(0x239)]=_0xa05c6e,this['_localCacheService']=_0xb88882);}async['loadUnit'](_0x2fba19,_0x425479,_0x117cb3){var _0x48ef5e=_0x3b7310;this[_0x48ef5e(0x2be)][_0x48ef5e(0x2a5)]({'unitId':_0x2fba19,'type':_0x425479,'subUnitId':_0x117cb3});let _0x34e0bf=null;switch(_0x425479){case Q[_0x48ef5e(0xe8)]:{_0x34e0bf=await this[_0x48ef5e(0xca)](_0x2fba19);break;}case Q['UNIVER_DOC']:{_0x34e0bf=await this['_loadDoc'](_0x2fba19);break;}default:{this[_0x48ef5e(0x330)][_0x48ef5e(0x399)]('[DataLoaderService]',_0x48ef5e(0x259));break;}}return _0x34e0bf;}async['_loadSheet'](_0x5d27c5){var _0x3096d8=_0x3b7310,_0x136f5c;let _0x350d32=0x0;const _0x398e17=await((_0x136f5c=this['_localCacheService'])==null?void 0x0:_0x136f5c[_0x3096d8(0x1a3)](_0x5d27c5));return _0x398e17&&(_0x398e17[_0x3096d8(0x1a4)]||_0x398e17[_0x3096d8(0x28a)][_0x3096d8(0x316)]!==0x0)&&(_0x350d32=_0x398e17[_0x3096d8(0x227)]),_0x350d32===0x0&&this['_logService'][_0x3096d8(0x2e8)](_0x3096d8(0xfd),_0x3096d8(0x1bb)),this[_0x3096d8(0x239)][_0x3096d8(0x125)](_0x5d27c5,_0x350d32);}async['_loadDoc'](_0x32b843){var _0x51258a=_0x3b7310,_0x40dffb;let _0x3963d8=0x0;const _0x2b56d8=await((_0x40dffb=this[_0x51258a(0x2a7)])==null?void 0x0:_0x40dffb['loadOfflineData'](_0x32b843));return _0x2b56d8&&(_0x2b56d8['awaitingChangeset']||_0x2b56d8[_0x51258a(0x28a)][_0x51258a(0x316)]!==0x0)&&(_0x3963d8=_0x2b56d8[_0x51258a(0x227)]),_0x3963d8===0x0&&this[_0x51258a(0x330)][_0x51258a(0x2e8)](_0x51258a(0xfd),_0x51258a(0x1bb)),this[_0x51258a(0x239)]['loadDoc'](_0x32b843,_0x3963d8);}};bt=Qn([mt(0x0,_0x2e40a9),mt(0x1,_0x419509(_0x58b0db)),mt(0x2,_0x21c4ab(J))],bt);var es=Object[_0x3b7310(0x20e)],ts=(_0x40dce9,_0x248018,_0x370de2,_0x2c07de)=>{var _0x27fcbf=_0x3b7310;for(var _0x1d0764=_0x2c07de>0x1?void 0x0:_0x2c07de?es(_0x248018,_0x370de2):_0x248018,_0x4a4f7c=_0x40dce9[_0x27fcbf(0x316)]-0x1,_0x4f999;_0x4a4f7c>=0x0;_0x4a4f7c--)(_0x4f999=_0x40dce9[_0x4a4f7c])&&(_0x1d0764=_0x4f999(_0x1d0764)||_0x1d0764);return _0x1d0764;},gt=(_0x5cb8ea,_0x49fc85)=>(_0x3eb0be,_0x2b832c)=>_0x49fc85(_0x3eb0be,_0x2b832c,_0x5cb8ea);const is=[_0x3b7310(0x1a8),_0x3b7310(0x168),_0x3b7310(0x121),_0x3b7310(0xfb),'image/bmp'],rs=0x5*0x400*0x400,ns=_0x3b7310(0x38f),ss=_0x3b7310(0x32d),os=_0x3b7310(0x226),as='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x566bb6,_0x2c20b8,_0xb4ffaf){var _0x2b33f9=_0x3b7310;N(this,'_waitCount',0x0),N(this,'_change$',new _0x2898a5()),N(this,_0x2b33f9(0x1a9),this[_0x2b33f9(0x1c9)]),N(this,_0x2b33f9(0x23c),new Map()),(this['_httpService']=_0x566bb6,this[_0x2b33f9(0x1a0)]=_0x2c20b8,this['_univerInstanceService']=_0xb4ffaf);}[_0x3b7310(0x14e)](_0x17c925){var _0x3ab8f1=_0x3b7310;this[_0x3ab8f1(0x2a3)]=_0x17c925,this['_change$'][_0x3ab8f1(0x2a5)](_0x17c925);}[_0x3b7310(0x35d)](_0x5a382b,_0xe89d61){var _0x5a8881=_0x3b7310;if(_0xe89d61===_0x164f47[_0x5a8881(0x2f5)]){const _0x4156e2=new Image();return _0x4156e2[_0x5a8881(0x29f)]=_0x5a382b,_0x4156e2;}return this[_0x5a8881(0x23c)]['get'](_0x5a382b);}[_0x3b7310(0x26b)](_0x54c864,_0x3a1a93,_0x304b2b){var _0x554961=_0x3b7310;_0x3a1a93===_0x164f47[_0x554961(0x2f5)]||_0x304b2b==null||this[_0x554961(0x23c)][_0x554961(0x151)](_0x54c864,_0x304b2b);}async[_0x3b7310(0x306)](_0x208254){var _0x54ea17=_0x3b7310;try{const _0x39a779=this[_0x54ea17(0xe0)](this['_getSignURL'](),''+_0x208254),_0x3b2db7=(await this[_0x54ea17(0x35a)]['get'](_0x39a779))[_0x54ea17(0x2ed)];if(_0x3b2db7[_0x54ea17(0x399)]&&_0x3b2db7[_0x54ea17(0x399)][_0x54ea17(0x2f4)]===Si['OK']){const _0x591fb1=new URL(_0x3b2db7[_0x54ea17(0x284)],this[_0x54ea17(0xc8)]())['toString']();return Promise[_0x54ea17(0x34e)](_0x591fb1);}return Promise['reject'](_0x3b2db7[_0x54ea17(0x399)]);}catch(_0x2d49e6){return Promise[_0x54ea17(0x204)](_0x2d49e6);}}async[_0x3b7310(0x13e)](_0x277900){var _0x3f52bb=_0x3b7310;let _0x56ccff='';if(!is[_0x3f52bb(0x10a)](_0x277900[_0x3f52bb(0x16e)]))return this['_decreaseWaiting'](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652['ERROR_IMAGE_TYPE']));if(_0x277900[_0x3f52bb(0x363)]>rs)return this[_0x3f52bb(0xba)](),Promise['reject'](new Error(_0x6a3652[_0x3f52bb(0x28c)]));try{const _0x90b207=new FormData();_0x90b207[_0x3f52bb(0x2ea)]('file',_0x277900);const _0x29e796=this[_0x3f52bb(0x36a)][_0x3f52bb(0x15d)](),_0x4b7d5a=_0x29e796==null?void 0x0:_0x29e796['getUnitId']();if(!_0x4b7d5a)throw new Error(_0x3f52bb(0x327));const _0xb5d70d=this['_getUploadFileURL']()+_0x3f52bb(0xbb)+_0x277900[_0x3f52bb(0x363)]['toString']()+_0x3f52bb(0x1ea)+Ei[_0x3f52bb(0x12d)]+_0x3f52bb(0x248)+encodeURIComponent(_0x4b7d5a),_0x2b927f=await(await fetch(_0xb5d70d,{'method':'POST','body':_0x90b207}))[_0x3f52bb(0x311)]();if(typeof _0x2b927f[_0x3f52bb(0x264)]!='string')return this[_0x3f52bb(0xba)](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652['ERROR_IMAGE']));_0x56ccff=_0x2b927f['FileId'];}catch{return this[_0x3f52bb(0xba)](),Promise[_0x3f52bb(0x204)](new Error(_0x6a3652[_0x3f52bb(0xe6)]));}return new Promise((_0x4de24d,_0x2a637c)=>{var _0x4d4a59=_0x3f52bb;const _0xc5ec2c=new FileReader();_0xc5ec2c[_0x4d4a59(0x1c7)](_0x277900),_0xc5ec2c['onload']=_0x106331=>{var _0xbdd321=_0x4d4a59,_0x16052a;const _0x157902=(_0x16052a=_0x106331[_0xbdd321(0x378)])==null?void 0x0:_0x16052a[_0xbdd321(0xab)];if(_0x157902==null){this['_decreaseWaiting'](),_0x2a637c(new Error(_0x6a3652[_0xbdd321(0xe6)]));return;}const _0x529ab7=_0x41ec87[_0xbdd321(0x2ba)](0x6);_0x4de24d({'imageId':_0x529ab7,'imageSourceType':_0x164f47[_0xbdd321(0x2af)],'source':_0x56ccff,'base64Cache':_0x157902,'status':_0x6a3652[_0xbdd321(0xdd)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x5e8251=_0x3b7310,_0x1dae40,_0x2a9047;const _0x1ce07b=this[_0x5e8251(0x1a0)][_0x5e8251(0x30f)](ns),_0x45774e=this[_0x5e8251(0x1a0)][_0x5e8251(0x30f)](q);return(_0x2a9047=(_0x1dae40=_0x45774e==null?void 0x0:_0x45774e[_0x5e8251(0x246)])!=null?_0x1dae40:_0x1ce07b)!=null?_0x2a9047:ss;}[_0x3b7310(0x101)](){var _0x3ad15e=_0x3b7310,_0x49ac67,_0x4a49ab;const _0x55bfaa=this[_0x3ad15e(0x1a0)][_0x3ad15e(0x30f)](os),_0x43b1b0=this['_configService'][_0x3ad15e(0x30f)](q);return(_0x4a49ab=(_0x49ac67=_0x43b1b0==null?void 0x0:_0x43b1b0[_0x3ad15e(0x158)])!=null?_0x49ac67:_0x55bfaa)!=null?_0x4a49ab:as;}['_getDownloadEndpointURL'](){var _0x449433=_0x3b7310,_0x3a4559;const _0x1c1daa=this[_0x449433(0x1a0)][_0x449433(0x30f)](q);return(_0x3a4559=_0x1c1daa==null?void 0x0:_0x1c1daa[_0x449433(0x1e2)])!=null?_0x3a4559:location[_0x449433(0x1aa)];}[_0x3b7310(0xe0)](_0x5cc50a,_0x40ff47){var _0x325693=_0x3b7310;return _0x5cc50a[_0x325693(0x2d6)](_0x325693(0x35f),_0x40ff47);}[_0x3b7310(0xba)](){var _0x40a6e5=_0x3b7310;this[_0x40a6e5(0x2a3)]-=0x1,this['_change$'][_0x40a6e5(0x2a5)](this[_0x40a6e5(0x2a3)]);}};yt=ts([gt(0x0,_0x419509(_0x347bc3)),gt(0x1,_0x29183e),gt(0x2,_0x419509(_0x56341d))],yt);function _0x5307(){var _0x1f172a=['BlockCipher','_disableEditing','_removeRoom','_roomCreated$','getSnapshotAPIPath','_onCombEvent','unitInfo$','Pkcs7','execute','_status$','onlyLocal','_socket','OTHER_CLIENT_EDITING','sessionStatus$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CHANGESET_REVISION_CONFILICT','_transformService','uniscriptRunEvent','_state','AUTHZ_URL_KEY','_retryConnectingTimer','1953176lMCdgi','/new_changes','symbol','interceptor','FileId','[PendingState]:\x20received\x20rejection.','_rescheduleHeartbeat','_onRemoteACK','apply','call','POST','addImageSourceCache','c1Prime','UnitSnapshot','_oKey','subUnitId','YUUMI_UNABLE_LOAD_URL','deleteCollaborator','[CollaborationUndoRedoService]','exports','getRoom','crypto','byteLength','headers','_initMergeInterceptor','routeKey','joinRsp','add','getValue','_networkConditionService','YUUMI_URL_COL_OUT_OF_RANGE','random','_sendHeartbeatTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_UNKNOWN','_process','url','now','pad','MSG_FOR_ERROR','11112180qlvJxl','_clearCollaborationTimeoutTimer','mutations','_onRemoteRejected','ERROR_EXCEED_SIZE','BufferedBlockAlgorithm','_syncEditingCollabCursor','closeSession','GLOBAL_ROOMS_CNT_EXCEEDS','onLocalMutation','UNKNOWN_CODE','finalize','_telemetryService','conflict','updateOfflineData','csRejEvent','_remoteChangesetQueue','JOIN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sheetTransformSelectionsService','updateMember','PSEUDO_FETCH_MISSING_RESULT','cmd','src','session.room-full','put','setShowComponents','_waitCount','fromCollab','next','fromCharCode','_localCacheService','_initDependencies','commentUpdateEvent','_transformStack','Error\x20on\x20receiving\x20event','univer-pro.collaboration-client.single-active-unit-service','prototype','onTransformRemoteChangesetByStateCache','UUID','socketService','__esModule','INVALID_ARGUMENT','_data','csAckEvent','_applyRemoteChangeset','onSendChangeset','73426wXqEZf','_stopTelemetryCollaborationNewChangeset','map','generateRandomId','fetching\x20missing\x20changesets\x20from\x20','emitEvent','_awaitingChangeset','_unitInfo$','asObservable','_collabSessionService','ivSize','_transformRemoteChangesetByStateCache','getActiveSheet','registerHTTPInterceptor','COMPLETION_FINISHED','toggleOffline','updatePermissionPoint','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','18140xCBYgj','$super','Decryptor','_onConflict','sendChangesetTimeout','lib','APPLY_DUPLICATED','close','onStateChange','pipe','_permissionService','_createHelper','_onRemoteRetry','replace','AWAITING','UNISCRIPT_RUN','transformChangesets','transformMutationsWithChangeset','_getAPIPrefixPath','onCommandExecuted','_exhaustRemoteChangesetQueue','clamp','concat','Encryptor','_doCryptBlock','executeCommand','_transformSelections','responseType','save\x20fail\x20reason\x20is\x20','createEncryptor','complete','debug','_getAPIPrefix','append','_onOffline','words','body','_doCreateSocket','appendMutation','setCurrentUser','SEND_CHANGESET_TIMEOUT','_prevBlock','_onConnectionFailed','code','BASE64','_sessions','c2Prime','session.join-failed','collaMsg','sessionStatus','HttpExport','compose','reverse','LIVESHARE_OPERATION','_changesetReqId','_acknowledgedAwaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_compressMutationService','getInterceptPoints','push','/allowed','getImage','capture','_clearScheduledTask','_state$','/universer-api/snapshot','OpenSSL','HttpImport','has','YUUMI_RATE_OVER_LIMIT','getConfig','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','json','_unitID','RETRY_CONNECTING_MAX_COUNT','encryptBlock','JOIN_ROOM_NOT_EXISTS','length','PY_RUNTIME_SCRIPT_ERROR','getMemberID','_scheduleCollaborationTimeoutTimer','_localeService','bind','action','getWorkbookSelections','function','transformUndoRedo','_toggleOnline','_createSocket','PasswordBasedCipher','_collaborationSessionService','reset','21FOaLqH','unitId','unitId\x20is\x20not\x20found','_parse','open$','PERMISSION_DENIED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','auth.needGotoLoginAlert','/universer-api/stream/file/upload','transformStack\x20failed!','CipherParams','_logService','SOCKET_FAILED_RETRY','UNDEFINED','socket\x20open.','CONFLICT','_type','mixIn','hostname','_undoRedoService','objectType','PENDING','CONNECTOR_DATA_TOO_LARGE','_doProcessBlock','objectActions','HELLO','[CollaborationSessionService]','dispose$','[OfflineState]:\x20received\x20rejection.','Cipher','putCollaborators','clone','_createInitialStateImpl','buffer','getCurrentRevOfUnit','PERMISSION_REJ','_commentService','_roomMembers','m2Prime','_singleActiveUnitService','session.room-permission-denied','resolve','_members','sid','EvpKDF','_initUnitPermissionChange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HmacMD5','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_shouldReportTelemetry','_event$','__Key__','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_httpService','_userManagerService','readInt32LE','getImageSourceCache','_collaborationPaused','{fileID}','state$','_updateLocalCache','members$','size','_schedule','then','HMAC','selections','dispose','_members$','_univerInstanceService','startTime','FETCH_MISSING','ENSURE_SNAPSHOT_EXECUTION','getSheetId','_incrementRevisionNumber','/-/object/-/batch_allowed','sheets','userID','splice','_socketReady','HEARTBEAT_TIMEOUT','list','workbook','target','240IWYQCc','/universer-api/comb','createInstance','INGEST','_checkMissing','Utf8','requireSession','_registerDependencies','JOIN_ROOM_PERMISSION_DENIED','retryConnectingInterval','transformSelections','charCodeAt','_emitMembers','Hex','rng','OFFLINE','_replayCachedMutations','update','_sendingTimer','_clearLocalCache','APPLY_REVISION_CONFILICT','_sessionStatus$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onStarting','getRandomValues','Undefined','SOCKET_FAILED','APPLY_PERMISSION_DENIED','_createInitialState','_nRounds','_retryCount','UPDATE_CURSOR','error','SNAPSHOT_URL_KEY','_transformIMECache','toggleOnline','defineProperty','__creator','_tryReconnect','revision','originalMeta','listRoles','actions','result','stopTime','NO_OTHER_CLIENTS_EDITING','_toggleOffline','PERSON','name','_sendHeartbeat','updatePermissionObjEvent','Base64','JOIN_ROOM_FAILED','[FetchMissState]','method','Univer','_candidateSocket','deepClone','_decreaseWaiting','?size=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handler','\x20in\x20_schedule.','getLatestCsReqIdBySid','/role','\x20-\x20','_onUserLeave','NOT_FOUND','clear','getUnit','_createHmacHelper','_keySchedule','_getDownloadEndpointURL','every','_loadSheet','_init','LIVESHARE_REQUEST_HOST','UPDATE_PERMISSION_OBJ','_onLocalMutation','_key','Malformed\x20UTF-8\x20data','Base','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SNAPSHOT_SERVER_URL_KEY','_cipher','LIVESHARE_TERMINATE','/object/','_startTelemetryCollaborationNewChangeset','734323MyqdsO','LEAVE','pauseCollaboration','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','fetchMissingChangesets','SUCCUSS','onTransformRemoteChangesetByIMECache','localCacheService','_replaceFileID','_commandService','_reverseMap','_resendWithTimeout','params','_createHandler','ERROR_IMAGE','eventID','UNIVER_SHEET','fetch_missing','_unlockTransition','_lockTransition','_hasher','fetchThroughInterceptors','sigBytes','_onRecvEvent','_substituteUndoStack','get','getTime','_pendingMutations','onTransformIME','msCrypto','/universer-api/snapshot/','toString','withCredentials','NoPadding','formatter','image/gif','_clearUndo','[DataLoaderService]','/resources','SNAPSHOT_INVALID_SNAPSHOT','saveChangeset','_getSignURL','_collaborationUIEventService','getCollabEntity$','/unit/','CHANGESET_ACK','onTransformState','duration','algo','forEach','includes','delete','loginUrlKey','_updateState','_transitionLocked','string','session.room-not-exists','_resendTimer','getUnitStatus$','resend','LOGIN_URL_KEY','UNRECOGNIZED','editingUnit','parse','submit\x20changeset\x20error!','roles','collabSubmitChangesetUrl','onRemoteRetry','online$','findIndex','_map','infoRsp','changesets','image/jpg','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','allowed','_timeoutTimer','loadSheet','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','byteOffset','format','max','ALREADY_EXISTS','UNIVER_DOC','unknown','UnitEmbedded','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','offline','connection\x20error','getTypeOfUnitAdded$','_doFinalize','copyFileMeta','_telemetryInfo','unitID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','saveSnapshot','_iv','close$','range','pluginName','createDecryptor','JOINING','saveImage','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareNewHost','snapshotServerUrl','LICENSE_MAX_UNITS_EXCEEDED','floor','_submitChangeset','_injector','baseRev','from','collaboration-client.config','textRanges','reqId','COLLAB_WEB_SOCKET_URL','AES','compute','setWaitCount','[SyncedState]:\x20received\x20acknowledgement.','salt','set','x-univer-host','IDLE','_xformMode','_listenToNetworkCondition','_getSendChangesetTimeout','_socket$','signUrlServerUrl','session','getCollabEntity','COMMENT_UPDATE','_handlerCallback','getFocusedUnit','_iKey','refreshPermission','indexOf','AWAITING_WITH_PENDING','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','status','COMPRESS_MUTATION_SEND','entityInit$','_sender','USERS_ENTER','image/jpeg','isArray','getCurrentSelections','_initCloseConn','_clearTimeoutTimer','localeService','type','FETCH_MISS','_memberService','_scheduleCompleteTimestamp','onCommentUpdate','/rev/','_tryEnsureSocket','onRemoteAck','getCurrentUser','decryptBlock','event$','TOO_MANY_REQUESTS','values','APPLY_REJECT','processBlock','SYNCED','Could\x20not\x20dynamically\x20require\x20\x22','memberID','_collaborationTimeoutTimer','Latin1','_joinRoom','FAIL','disposeWithMe','data','post','getUnitType','iterations','/fetchmissing?from=','find','toLowerCase','[CollaborationEntity]','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/-/object/list','onMissedChangesetFetched','entries','updateCollaborator','addHandlerCallback','joinEvent','_transformRemoteChangesetByIMECache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNIVER_PROJECT','reduce','focused$','cfg','_instanceService','getTypeOfUnitDisposed$','onMissingChangesets','_socketMessageSubscription','MUTATION','send','_configService','awaiting','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','awaitingChangeset','4638393uSYPCG','resourceIDs','fetchMiss','image/png','change$','origin','_eventService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SUBMIT_CHANGESET','_getUndoStack','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getCtorByUniverType','[PendingState]:\x20received\x20acknowledgement.','createSocket','incrementRevOfUnit','subject','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','awaiting_with_pending','repeat','pending','filter','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','roomInfos','24xLzTmU','createCollaborator','_initRequestHeader','_executeRemoteChangeset','_clearHeartbeatTimer','onSyncEditingCollabCursor','getMember','stringify','RECV','_transformUndoredo','readAsDataURL','_HTTPService','_change$','_entities','mode','_entityInit$','NOT_COLLAB','_nDataBytes','_onMessage','error$','_mode','NEW_CHANGESETS','default','_ENC_XFORM_MODE','status$','encode','catch','slice','univer-pro.collaboration-client-socket-service','_onRemoteChangeset','USERS_LEAVE','_onFetchMissResult','_snapshotServerService','_resendTimeout','enableSingleActiveInstanceLock','_invKeySchedule','/collaborator','downloadEndpointUrl','[SyncedState]:\x20received\x20rejection.','SHA1','unsubscribe','/universer-api/authz','UNAUTHENTICATED','_getRedoStack','_getCurrentRevision','&source=','message$','ONLINE','onRemoteChangeset','[UniverCollaborationClientPlugin]','padding','Hasher','ciphertext','JOIN_ROOM_FULL','CHANGESET_REJ','state','getUnitId','LIVESHARE_NEW_HOST','1379766PesrzE','authzUrl','CLOSE_ROOM','HEARTBEAT','onRemoteRej','hasOwnProperty','init','blockSize','BlockCipherMode','YUUMI_SUBSCRIPTION_NOT_FOUND','_fetchMissChangesets','_commentUpdate$','/block/','reject','_transformStateCache','readyForCollab','enableOfflineEditing','[CollaborationSession]','_waitForHeartbeatResponse','collaboration-client.local-cache-service','COMPRESS_MUTATION_APPLY','getAllMembers','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','getOwnPropertyDescriptor','objectID','charAt','enc','MD5','_queuedRemoteChangesets','min','socket$','disableLocalCache','_keyPriorReset','_append','randomBytes','encrypt','updateCursorEvent','COLLAB_SUBMIT_CHANGESET_URL','extend','equals','LOCAL_CACHE_INTERVAL','collaboration_new_changeset','LICENSE_EXPORT_SIZE_EXCEEDED','_onConnectionOpen','startsWith','INTERNAL_ERROR','APPLY_NON_SEQUENTIAL_REVISION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','rev','_isPermissionRej','_onJoinRoomEvent','kdf','editing\x20status\x20changed\x20to','_config','CHANGESET_SHOULD_RETRY','reconnect','randomUUID','location','leaveEvent','LIVESHARE_FETCH_OPERATIONS','/universer-api/uniscript','SUBMIT_CHANGESET_TIMEOUT','_onUserJoin','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','_revisionService','_snapshotService','synced','SHOULD_CLOSE_CONN','_imageSourceCache','isPermissionRej','_updateStatus','create','onTransformSelections','_throwTelemetryCollaborationNewChangeset','_hash','WordArray','keySize','_substituteRedoStack','uploadFileServerUrl','subscribe','&assign=','_changesetSessionId','_socketService'];_0x5307=function(){return _0x1f172a;};return _0x5307();}var cs=Object[_0x3b7310(0x20e)],hs=(_0x5c12bf,_0x2bb28e,_0x5c0413,_0x309104)=>{for(var _0x5a4c07=_0x309104>0x1?void 0x0:_0x309104?cs(_0x2bb28e,_0x5c0413):_0x2bb28e,_0x5e9189=_0x5c12bf['length']-0x1,_0x262ef5;_0x5e9189>=0x0;_0x5e9189--)(_0x262ef5=_0x5c12bf[_0x5e9189])&&(_0x5a4c07=_0x262ef5(_0x5a4c07)||_0x5a4c07);return _0x5a4c07;},hi=(_0x2b1188,_0x3b8214)=>(_0x3f61da,_0x496c9e)=>_0x3b8214(_0x3f61da,_0x496c9e,_0x2b1188);const _s=_0x3b7310(0x1e6);let Ot=class{constructor(_0x1ab73d,_0x72b592){var _0x369826=_0x3b7310;this[_0x369826(0x1a0)]=_0x1ab73d,this[_0x369826(0x1c8)]=_0x72b592;}[_0x3b7310(0x2db)](){var _0x21a1e3=_0x3b7310,_0x4ade23,_0x737982;const _0x42a39b=this['_configService']['getConfig'](Ni),_0x47ac07=this[_0x21a1e3(0x1a0)]['getConfig'](q);return(_0x737982=(_0x4ade23=_0x47ac07==null?void 0x0:_0x47ac07[_0x21a1e3(0x1f8)])!=null?_0x4ade23:_0x42a39b)!=null?_0x737982:_s;}async['list'](_0x578878){var _0x13c666=_0x3b7310;const _0x371f4d=this['_getAPIPrefixPath']()+_0x13c666(0x1e1);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x13c666(0xf1)](_0x371f4d,{'params':{'objectID':_0x578878['unitId'],'unitID':_0x578878[_0x13c666(0x326)]}}))[_0x13c666(0x2ed)]['collaborators'][_0x13c666(0x2b9)](_0x30c43b=>({'objectId':_0x30c43b['id'],'name':_0x30c43b['subject'][_0x13c666(0xb0)],'metadata':{'icon':_0x30c43b['subject']['avatar']},'label':_0x30c43b[_0x13c666(0x1b4)][_0x13c666(0xb0)],'objectType':_0x3b0f3f[_0x13c666(0xaf)]})),'metadata':{},'type':_0x3b0f3f[_0x13c666(0xaf)]}]};}};Ot=hs([hi(0x0,_0x419509(_0x29183e)),hi(0x1,_0x419509(_0x347bc3))],Ot);var ls=Object[_0x3b7310(0x20e)],us=(_0x36785a,_0x50299a,_0x25d9a,_0x54a0ec)=>{var _0x51d587=_0x3b7310;for(var _0x1bc094=_0x54a0ec>0x1?void 0x0:_0x54a0ec?ls(_0x50299a,_0x25d9a):_0x50299a,_0x15c725=_0x36785a[_0x51d587(0x316)]-0x1,_0x17399e;_0x15c725>=0x0;_0x15c725--)(_0x17399e=_0x36785a[_0x15c725])&&(_0x1bc094=_0x17399e(_0x1bc094)||_0x1bc094);return _0x1bc094;},Ae=(_0xe87b3a,_0x32065c)=>(_0x55a61f,_0x2913a3)=>_0x32065c(_0x55a61f,_0x2913a3,_0xe87b3a);let at=class extends _0x3f9fed{constructor(_0x414dfd,_0x598900,_0x267860,_0x3df5ef,_0x14986d){var _0x105d4a=_0x3b7310;super(),this[_0x105d4a(0x145)]=_0x414dfd,this[_0x105d4a(0x36a)]=_0x598900,this['_permissionService']=_0x267860,this[_0x105d4a(0x323)]=_0x3df5ef,this[_0x105d4a(0x102)]=_0x14986d,this[_0x105d4a(0x352)](),this[_0x105d4a(0x16b)]();}[_0x3b7310(0x16b)](){var _0x25c66f=_0x3b7310;const _0x2ca206=async _0x4bc2ee=>{var _0x17e9d7=_0x5c5f;(await this[_0x17e9d7(0x323)][_0x17e9d7(0x37f)](_0x4bc2ee))[_0x17e9d7(0x178)][_0x17e9d7(0x2d2)](_0x6d3c7d(_0x2cdae7=>_0x2cdae7[_0x17e9d7(0xe7)]===_0x502491[_0x17e9d7(0x23b)]),_0x5a76c5(this['dispose$']))[_0x17e9d7(0x247)](_0xe1f4f5=>{var _0x4fc4b6=_0x17e9d7;const _0x2c605d=_0xe1f4f5,{reason:_0x33d031}=_0x2c605d[_0x4fc4b6(0x185)];this[_0x4fc4b6(0x102)]['emitEvent']({'id':se[_0x4fc4b6(0x1f9)],'data':_0x33d031}),this[_0x4fc4b6(0x2d3)]['updatePermissionPoint'](new _0x251d98(_0x4bc2ee)['id'],!0x1),this[_0x4fc4b6(0x323)][_0x4fc4b6(0x28f)](_0x4bc2ee);});};_0x4a0758(this[_0x25c66f(0x36a)]['getTypeOfUnitAdded$'](_0x53691f[_0x25c66f(0xe8)]),this[_0x25c66f(0x36a)][_0x25c66f(0x131)](_0x53691f[_0x25c66f(0x12b)]))['pipe'](_0x4c799b(_0x1b7b7d=>_0x1b7b7d[_0x25c66f(0x1f5)]()),_0x6d3c7d(_0x4668d1=>!_0x1415a5(_0x4668d1)),_0x5a76c5(this[_0x25c66f(0x340)]))[_0x25c66f(0x247)](_0x218334=>{_0x2ca206(_0x218334);});}['_initUnitPermissionChange'](){var _0x38c4ff=_0x3b7310;const _0x433a0b=async _0x1a4f33=>{var _0x2d84f4=_0x5c5f;const _0x4bbe18=await this[_0x2d84f4(0x323)][_0x2d84f4(0x37f)](_0x1a4f33),_0x332264=this[_0x2d84f4(0x145)][_0x2d84f4(0xf1)](_0x2503f2);_0x4bbe18[_0x2d84f4(0x178)][_0x2d84f4(0x2d2)](_0x6d3c7d(_0x3c8c60=>_0x3c8c60[_0x2d84f4(0xe7)]===_0x502491[_0x2d84f4(0xcd)]),_0x5a76c5(this['dispose$']))[_0x2d84f4(0x247)](_0x42fb50=>{var _0x2d6fec=_0x2d84f4;const _0x17b627=_0x42fb50,{objectId:_0x5757c9}=_0x17b627[_0x2d6fec(0x185)];_0x5757c9===_0x1a4f33?_0x332264['initWorkbookPermissionChange'](_0x1a4f33):_0x332264[_0x2d6fec(0x15f)](_0x1a4f33,_0x5757c9);});};_0x4a0758(this[_0x38c4ff(0x36a)][_0x38c4ff(0x131)](_0x53691f[_0x38c4ff(0xe8)]))[_0x38c4ff(0x2d2)](_0x4c799b(_0x4ad1c2=>_0x4ad1c2[_0x38c4ff(0x1f5)]()),_0x6d3c7d(_0x574fd1=>!_0x1415a5(_0x574fd1)),_0x5a76c5(this[_0x38c4ff(0x340)]))[_0x38c4ff(0x247)](_0x472685=>{_0x433a0b(_0x472685);});}};at=us([Ae(0x0,_0x419509(_0x33a94f)),Ae(0x1,_0x56341d),Ae(0x2,_0x373f2c),Ae(0x3,_0x419509(Le)),Ae(0x4,_0x419509(pe))],at);var ds=Object[_0x3b7310(0x20e)],fs=(_0x1edfc6,_0x4c39e2,_0x1303e5,_0x10ace4)=>{var _0x532b40=_0x3b7310;for(var _0x4bdb0e=_0x10ace4>0x1?void 0x0:_0x10ace4?ds(_0x4c39e2,_0x1303e5):_0x4c39e2,_0x1b6341=_0x1edfc6[_0x532b40(0x316)]-0x1,_0x4755e9;_0x1b6341>=0x0;_0x1b6341--)(_0x4755e9=_0x1edfc6[_0x1b6341])&&(_0x4bdb0e=_0x4755e9(_0x4bdb0e)||_0x4bdb0e);return _0x4bdb0e;},_i=(_0x4b527e,_0x17c89b)=>(_0x403674,_0x1da032)=>_0x17c89b(_0x403674,_0x1da032,_0x4b527e);let Nt=class{constructor(_0x5e7fdc,_0x4d3e7b){var _0x298cc5=_0x3b7310;this[_0x298cc5(0x1a0)]=_0x5e7fdc,this[_0x298cc5(0x35a)]=_0x4d3e7b;}async['getUnitOnRev'](_0x245947,_0xa4c3f5){var _0xd0e625=_0x3b7310,_0x395531;const {unitID:_0x59ed47,type:_0x154aff,revision:_0x1cc4a7=0x0}=_0xa4c3f5,_0x188332=this[_0xd0e625(0x24f)]()+'/'+_0x154aff+_0xd0e625(0x104)+_0x59ed47+_0xd0e625(0x173)+_0x1cc4a7,_0x36a892=(await this[_0xd0e625(0x35a)]['get'](_0x188332))[_0xd0e625(0x2ed)],_0x2f8222=(_0x395531=_0x36a892['snapshot'])==null?void 0x0:_0x395531[_0xd0e625(0x377)];if(_0x2f8222){const _0x5e619e=_0x2f8222==null?void 0x0:_0x2f8222[_0xd0e625(0xa8)],_0x26d16b=_0x697e0a[_0xd0e625(0x1d6)](_0x4b17bd(_0x5e619e));_0x2f8222[_0xd0e625(0xa8)]=_0x26d16b,Object[_0xd0e625(0x190)](_0x2f8222[_0xd0e625(0x371)])[_0xd0e625(0x109)](([,_0x1076b0])=>{var _0x1b33cf=_0xd0e625;const _0x3e7a5b=_0x1076b0['originalMeta'],_0x7a07c4=_0x697e0a['encode'](_0x4b17bd(_0x3e7a5b));_0x1076b0[_0x1b33cf(0xa8)]=_0x7a07c4;});}return _0x36a892;}async['getSheetBlock'](_0x24aad0,_0x322ccf){var _0x59e8fd=_0x3b7310;const {unitID:_0x11bdb0,type:_0x10f20d,blockID:_0xc2dfe4}=_0x322ccf,_0x2147f4=this[_0x59e8fd(0x2e9)]()+'/'+_0x10f20d+'/unit/'+_0x11bdb0+'/block/'+_0xc2dfe4;return(await this[_0x59e8fd(0x35a)][_0x59e8fd(0xf1)](_0x2147f4))[_0x59e8fd(0x2ed)];}async['getDeserializedSheetBlock'](_0x35df72,_0x2a052c){var _0x4edc2b=_0x3b7310;const {unitID:_0x210453,type:_0x366445,blockID:_0x5360ab}=_0x2a052c,_0x2bcc7d=this['_getAPIPrefix']()+_0x4edc2b(0x203)+_0x366445+_0x4edc2b(0x104)+_0x210453+'/block/'+_0x5360ab;return(await this[_0x4edc2b(0x35a)][_0x4edc2b(0xf1)](_0x2bcc7d))['body'];}async[_0x3b7310(0xdc)](_0x81a14e,_0x40c8b4){var _0x3c8369=_0x3b7310;const {unitID:_0x2c088f,type:_0x5ed8d4,from:_0x42699c,to:_0x25dd39}=_0x40c8b4,_0xf42d5d=this[_0x3c8369(0x2e9)]()+'/'+_0x5ed8d4+_0x3c8369(0x104)+_0x2c088f+_0x3c8369(0x189)+_0x42699c+'&to='+_0x25dd39;return(await this['_httpService'][_0x3c8369(0xf1)](_0xf42d5d))[_0x3c8369(0x2ed)];}['getSnapshotAPIPath'](){var _0x55e540=_0x3b7310,_0x39df05;return(_0x39df05=this['_configService']['getConfig'](gr))!=null?_0x39df05:this[_0x55e540(0x2e9)]();}[_0x3b7310(0x2e9)](){var _0x3844d3=_0x3b7310,_0x56b4c9,_0x274762;const _0x3e1d6b=this[_0x3844d3(0x1a0)][_0x3844d3(0x30f)](pr),_0x3cb73a=this[_0x3844d3(0x1a0)][_0x3844d3(0x30f)](q);return(_0x274762=(_0x56b4c9=_0x3cb73a==null?void 0x0:_0x3cb73a[_0x3844d3(0x141)])!=null?_0x56b4c9:_0x3e1d6b)!=null?_0x274762:mr;}async['getResourcesRequest'](_0x3af9d8,_0x3b867e){var _0x556771=_0x3b7310;const _0x5a6cdb=_0x556771(0xf6)+_0x3b867e[_0x556771(0x16e)]+_0x556771(0x104)+_0x3b867e['unitID']+_0x556771(0xfe);return(await this[_0x556771(0x35a)][_0x556771(0xf1)](_0x5a6cdb,{'params':{'resourceId':JSON[_0x556771(0x1c4)](_0x3b867e[_0x556771(0x1a6)])}}))['body'];}[_0x3b7310(0x137)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x1c21ab=_0x3b7310;throw new Error(_0x1c21ab(0x195));}[_0x3b7310(0x100)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3b7310(0x133)](){var _0x2c8034=_0x3b7310;throw new Error(_0x2c8034(0x195));}[_0x3b7310(0xbf)](){var _0x12c1ed=_0x3b7310;throw new Error(_0x12c1ed(0x195));}};Nt=fs([_i(0x0,_0x29183e),_i(0x1,_0x419509(_0x347bc3))],Nt);var vs=Object[_0x3b7310(0x20e)],ps=(_0x37c8bd,_0x4052f9,_0x298dcf,_0xe54886)=>{for(var _0x72d465=_0xe54886>0x1?void 0x0:_0xe54886?vs(_0x4052f9,_0x298dcf):_0x4052f9,_0x5b1ec8=_0x37c8bd['length']-0x1,_0x318a21;_0x5b1ec8>=0x0;_0x5b1ec8--)(_0x318a21=_0x37c8bd[_0x5b1ec8])&&(_0x72d465=_0x318a21(_0x72d465)||_0x72d465);return _0x72d465;},Pe=(_0x3c59de,_0x547e43)=>(_0x47da1b,_0x459d7c)=>_0x547e43(_0x47da1b,_0x459d7c,_0x3c59de);let Dt=class extends _0x38bd2b{constructor(_0x12103d,_0x3ceac3,_0x4ea20b,_0x1ce494,_0x4bf0d3){super(_0x12103d,_0x3ceac3,_0x4ea20b),this['_transformService']=_0x1ce494,this['_logService']=_0x4bf0d3;}[_0x3b7310(0x31f)](_0x1dd09f,_0xdcb8b4){var _0x5c4da0=_0x3b7310;const _0x35881c=this[_0x5c4da0(0x1ae)](_0x1dd09f);if(_0x35881c)try{const _0x251011=this[_0x5c4da0(0x2aa)](_0x35881c,_0xdcb8b4);this[_0x5c4da0(0xf0)](_0x1dd09f,_0x251011);}catch(_0x547168){this['_logService'][_0x5c4da0(0x399)](_0x5c4da0(0x272),_0x547168),this[_0x5c4da0(0xfc)](_0x1dd09f);}const _0x50f578=this['_getRedoStack'](_0x1dd09f);if(_0x50f578)try{const _0x477f6c=this[_0x5c4da0(0x2aa)](_0x50f578,_0xdcb8b4);this[_0x5c4da0(0x245)](_0x1dd09f,_0x477f6c);}catch(_0x37253c){this[_0x5c4da0(0x330)][_0x5c4da0(0x399)](_0x37253c),this['_clearRedo'](_0x1dd09f);}}['_clearUndo'](_0x210740){var _0x2dad67=_0x3b7310;const _0x306b1a=this[_0x2dad67(0x1ae)](_0x210740);_0x306b1a&&(_0x306b1a[_0x2dad67(0x316)]=0x0,this['_updateStatus']());}['_clearRedo'](_0xc31e5b){var _0x9cfc0e=_0x3b7310;const _0x1a04d7=this[_0x9cfc0e(0x1e8)](_0xc31e5b);_0x1a04d7&&(_0x1a04d7[_0x9cfc0e(0x316)]=0x0,this[_0x9cfc0e(0x23e)]());}[_0x3b7310(0xf0)](_0x184445,_0x2bf9c0){var _0x59a2c4=_0x3b7310;this['_undoStacks'][_0x59a2c4(0x151)](_0x184445,_0x2bf9c0),this[_0x59a2c4(0x23e)]();}[_0x3b7310(0x245)](_0x3398da,_0xddcdfc){var _0x45f8f8=_0x3b7310;this['_redoStacks'][_0x45f8f8(0x151)](_0x3398da,_0xddcdfc),this[_0x45f8f8(0x23e)]();}[_0x3b7310(0x2aa)](_0x3eba66,_0x27f2f0){var _0x123aaf=_0x3b7310;const _0x50bd7a=[];let _0x192328=_0x27f2f0,_0xc4d854=_0x27f2f0;for(let _0x10861b=_0x3eba66[_0x123aaf(0x316)]-0x1;_0x10861b>=0x0;_0x10861b--){const {unitID:_0xca2719,undoMutations:_0x2be166,redoMutations:_0x6cc21b}=_0x3eba66[_0x10861b],_0x1a56a3=this['_transformService'][_0x123aaf(0x2da)](_0x192328,_0x2be166),_0x20736d=this[_0x123aaf(0x25b)][_0x123aaf(0x2da)](_0xc4d854,_0x6cc21b);if(_0x18000b(_0x1a56a3)||_0x18000b(_0x20736d)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x123aaf(0x32e),_0x1a56a3,_0x20736d);break;}_0x192328=_0x1a56a3[_0x123aaf(0x26c)],_0xc4d854=_0x20736d['c1Prime'],_0x50bd7a['push']({'unitID':_0xca2719,'undoMutations':_0x1a56a3[_0x123aaf(0x34b)],'redoMutations':_0x20736d['m2Prime']});}return _0x50bd7a[_0x123aaf(0x2fd)]();}};Dt=ps([Pe(0x0,_0x56341d),Pe(0x1,_0x1ab65f),Pe(0x2,_0x537307),Pe(0x3,_0xcdffcf),Pe(0x4,_0x2e40a9)],Dt);var ms=Object[_0x3b7310(0x39d)],gs=Object[_0x3b7310(0x20e)],Ss=(_0x5710c4,_0x59c54e,_0x240ef5)=>_0x59c54e in _0x5710c4?ms(_0x5710c4,_0x59c54e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x240ef5}):_0x5710c4[_0x59c54e]=_0x240ef5,Es=(_0x386a1d,_0x5ac802,_0x3681df,_0x206963)=>{for(var _0x3130e0=_0x206963>0x1?void 0x0:_0x206963?gs(_0x5ac802,_0x3681df):_0x5ac802,_0x3bbe67=_0x386a1d['length']-0x1,_0x17460d;_0x3bbe67>=0x0;_0x3bbe67--)(_0x17460d=_0x386a1d[_0x3bbe67])&&(_0x3130e0=_0x17460d(_0x3130e0)||_0x3130e0);return _0x3130e0;},St=(_0x2d4b43,_0x5671dc)=>(_0x1fc543,_0x185cce)=>_0x5671dc(_0x1fc543,_0x185cce,_0x2d4b43),Is=(_0x5ef5ff,_0x2f180d,_0x553607)=>Ss(_0x5ef5ff,_0x2f180d+'',_0x553607);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x5ef556{constructor(_0x1a20b6,_0x1d4123,_0xc7c2ba,_0x21b998){var _0x54dad5=_0x3b7310;super(),N(this,_0x54dad5(0x22c)),(this[_0x54dad5(0x330)]=_0x1d4123,this[_0x54dad5(0x145)]=_0xc7c2ba,this[_0x54dad5(0x1a0)]=_0x21b998);const {..._0x4fe08e}=_0x521b7e({},Ur,_0x1a20b6);if(!_0x4fe08e[_0x54dad5(0x2b0)])throw new Error(_0x54dad5(0x136));this[_0x54dad5(0x22c)]=_0x4fe08e,this[_0x54dad5(0x1a0)]['setConfig'](q,_0x4fe08e);}[_0x3b7310(0x390)](){var _0x768f7d=_0x3b7310;this[_0x768f7d(0x380)](),this[_0x768f7d(0x2a8)]();}[_0x3b7310(0x380)](){var _0x56be6b=_0x3b7310,_0x253701,_0x3d719a;this['_injector'][_0x56be6b(0x30d)](_0x4d6f06)&&this[_0x56be6b(0x330)][_0x56be6b(0x399)](_0x56be6b(0x1ee),_0x56be6b(0x301));const _0x4deb1b=_0x334dd0([[_0x4d6f06,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x56be6b(0x22c)][_0x56be6b(0x2b0)]}],[_0x35beb0,{'useClass':Nt}],[_0x1b78cb,{'useClass':Rt}],[_0x241e21,{'useClass':yt}],[_0x483c32,{'useClass':Ot}],[nt],[Ct]],(_0x253701=this['_config'])==null?void 0x0:_0x253701['override']);if(!((_0x3d719a=this[_0x56be6b(0x22c)])!=null&&_0x3d719a[_0x56be6b(0x1df)])){const _0x2c54b7=_0x4deb1b[_0x56be6b(0x11d)](([_0x5ac329])=>_0x5ac329===ht);_0x2c54b7!==-0x1&&_0x4deb1b[_0x56be6b(0x373)](_0x2c54b7,0x1);}_0xe7be63(this[_0x56be6b(0x145)],_0x4deb1b);}[_0x3b7310(0x2a8)](){var _0x2f419a=_0x3b7310,_0x3ef71,_0x4ed655,_0x2dee00;this[_0x2f419a(0x145)][_0x2f419a(0xf1)](_0x347bc3)[_0x2f419a(0x2c4)]({'priority':0x14,'interceptor':_0x979e5d({'maxParallel':0x6})}),(_0x3ef71=this[_0x2f419a(0x22c)])!=null&&_0x3ef71[_0x2f419a(0x207)]||(_0x4ed655=this['_injector']['get'](J,_0x2933ef['OPTIONAL']))==null||_0x4ed655[_0x2f419a(0x216)](),(_0x2dee00=this[_0x2f419a(0x22c)])!=null&&_0x2dee00['enableAuthServer']&&_0x59b4d2(this[_0x2f419a(0x145)],[[st]]),_0x59b4d2(this[_0x2f419a(0x145)],[[ot],[nt],[at]]);}};Is(wt,_0x3b7310(0x13b),Ts),wt=Es([_0xbb74b9(_0x3d9846,_0x7ba0dc),St(0x1,_0x2e40a9),St(0x2,_0x419509(_0x33a94f)),St(0x3,_0x29183e)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|