@univerjs-pro/collaboration-client 0.6.0-alpha.0 → 0.6.0-nightly.202501251605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3fc0d2=_0x3335;(function(_0x15b1e9,_0x12b61b){var _0x50c7c9=_0x3335,_0x3aa6b9=_0x15b1e9();while(!![]){try{var _0x56943c=parseInt(_0x50c7c9(0x316))/0x1+-parseInt(_0x50c7c9(0x152))/0x2+parseInt(_0x50c7c9(0x3ed))/0x3*(-parseInt(_0x50c7c9(0x197))/0x4)+parseInt(_0x50c7c9(0x19f))/0x5+-parseInt(_0x50c7c9(0x26e))/0x6+parseInt(_0x50c7c9(0x3ad))/0x7+-parseInt(_0x50c7c9(0x2c4))/0x8*(-parseInt(_0x50c7c9(0x3b8))/0x9);if(_0x56943c===_0x12b61b)break;else _0x3aa6b9['push'](_0x3aa6b9['shift']());}catch(_0xc17536){_0x3aa6b9['push'](_0x3aa6b9['shift']());}}}(_0x3d56,0x2c8d6));var Li=Object[_0x3fc0d2(0x272)],Mi=(_0x4cebe7,_0x2a32b1,_0x4682a9)=>_0x2a32b1 in _0x4cebe7?Li(_0x4cebe7,_0x2a32b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4682a9}):_0x4cebe7[_0x2a32b1]=_0x4682a9,N=(_0x2388f6,_0x139d9c,_0x79d513)=>Mi(_0x2388f6,typeof _0x139d9c!='symbol'?_0x139d9c+'':_0x139d9c,_0x79d513);import{createIdentifier as _0xa76c5b,Inject as _0x4a0d65,Injector as _0x3e5f47,Disposable as _0x1b3b68,DisposableCollection as _0x3b3f04,toDisposable as _0x5af85c,IConfigService as _0x10186,ILogService as _0x5c7efb,UserManagerService as _0x4b012e,UniverInstanceType as _0x56b6a1,IUniverInstanceService as _0x2e5298,LocaleService as _0x5d25bf,Optional as _0x469180,RxDisposable as _0x2ac02b,Tools as _0x3f72fc,Rectangle as _0xce2ba7,ICommandService as _0x478928,JSONX as _0x32e67d,CommandType as _0x439428,IPermissionService as _0x8735be,IUndoRedoService as _0x3a051e,sequenceExecute as _0x25b24d,Workbook as _0x18a076,MentionType as _0x1fc710,IAuthzIoService as _0x3f2e29,isInternalEditorID as _0xe5a37f,LocalUndoRedoService as _0x183421,IContextService as _0x302f51,DependentOn as _0x13352f,Plugin as _0x18aed0,merge as _0x3cb396,mergeOverrideWithDependencies as _0x4b73c5,IMentionIOService as _0x1514c0,registerDependencies as _0x15c41e,Quantity as _0x3c737a,touchDependencies as _0x105bc9}from'@univerjs/core';import{Subject as _0x6e5a01,merge as _0x5a2e3b,of as _0x48236b,BehaviorSubject as _0x257515,takeUntil as _0x4c8071,ReplaySubject as _0x2c102a,take as _0x5e2b45,map as _0x264ca7,shareReplay as _0x3c2e07,firstValueFrom as _0x4c8811,concatMap as _0x386ba3}from'rxjs';import{map as _0x1c1a45,take as _0x47cd1c,filter as _0x59d3b8,delay as _0xadc1ce,takeUntil as _0x28efe9}from'rxjs/operators';import{HTTPService as _0x242e5e,ISocketService as _0xa878a7,MergeInterceptorFactory as _0x473dc8,HTTPRequest as _0x147814,UniverNetworkPlugin as _0x4e6422,ThresholdInterceptorFactory as _0x4e4e5c}from'@univerjs/network';import{CollaborationEvent as _0x5e0126,parseChangesetToProtocol as _0x265390,ISnapshotServerService as _0x5e56ee,isTransformMutationsWithChangesetSuccess as _0x4911e8,ITransformService as _0x44918b,mapDocumentTypeToUniverType as _0x559457,RevisionService as _0x306d90,isTransformChangesetsSuccess as _0x156ed7,CompressMutationService as _0xcd8f34,parseProtocolChangeset as _0x3b69de,SnapshotService as _0x4ae372,textEncoder as _0x35f0c4,b64DecodeUnicode as _0x50f9c6,isTransformMutationsWithChangesetFailure as _0x170ef7,UniverCollaborationPlugin as _0x52de3d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x33d4a5}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2b8d0b}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ee23c,SetSelectionsOperation as _0xbebf4c,InsertSheetMutation as _0x10e451,EmptyMutation as _0x312b5b,WorkbookEditablePermission as _0x54a994,SheetPermissionInitController as _0x5dab13,UniverSheetsPlugin as _0x14e1d4}from'@univerjs/sheets';import{ImageSourceType as _0x10409a,ImageUploadStatusType as _0x20e925,IImageIoService as _0x4aad99}from'@univerjs/drawing';import{getGlobalObject as _0x1c7d86}from'@univerjs-pro/license';const En=_0x3fc0d2(0x2c8),In=_0x3fc0d2(0x3bc),Tn=_0x3fc0d2(0x32c),eo=_0x3fc0d2(0x3b6),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x3fc0d2(0x2a7),On=_0x3fc0d2(0x265),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x3fc0d2(0x2f3),Ei=0x4e20,Dn=0x4e20,Pn=_0x3fc0d2(0x1a5),wn=0x3,to=_0x3fc0d2(0x233),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x3fc0d2(0x3b2),xn=_0x3fc0d2(0x12d),Ln=_0x3fc0d2(0x3a1),no=_0x3fc0d2(0x1b8),ro=_0x3fc0d2(0x2c7);var Ii=(_0x38fc33=>(_0x38fc33[_0x38fc33[_0x3fc0d2(0x20a)]=0x0]='UNDEFINED',_0x38fc33[_0x38fc33['OK']=0x1]='OK',_0x38fc33[_0x38fc33[_0x3fc0d2(0x37e)]=0x2]=_0x3fc0d2(0x37e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x19c)]=0x3]=_0x3fc0d2(0x19c),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3da)]=0x4]=_0x3fc0d2(0x3da),_0x38fc33[_0x38fc33[_0x3fc0d2(0x383)]=0x5]='UNAUTHENTICATED',_0x38fc33[_0x38fc33['ALREADY_EXISTS']=0x6]=_0x3fc0d2(0x223),_0x38fc33[_0x38fc33['INVALID_ARGUMENT']=0x7]=_0x3fc0d2(0x162),_0x38fc33[_0x38fc33[_0x3fc0d2(0x242)]=0x8]=_0x3fc0d2(0x242),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d6)]=0x9]=_0x3fc0d2(0x3d6),_0x38fc33[_0x38fc33['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x38fc33[_0x38fc33['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x38fc33[_0x38fc33['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x38fc33[_0x38fc33[_0x3fc0d2(0x2cd)]=0x1773]=_0x3fc0d2(0x2cd),_0x38fc33[_0x38fc33['APPLY_REJECT']=0x1b59]=_0x3fc0d2(0x29b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x238)]=0x1b5a]=_0x3fc0d2(0x238),_0x38fc33[_0x38fc33[_0x3fc0d2(0x133)]=0x1b5b]=_0x3fc0d2(0x133),_0x38fc33[_0x38fc33[_0x3fc0d2(0x2ca)]=0x1b5c]=_0x3fc0d2(0x2ca),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d1)]=0x1b5d]=_0x3fc0d2(0x3d1),_0x38fc33[_0x38fc33['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3fc0d2(0x10e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x10c)]=0x2329]=_0x3fc0d2(0x10c),_0x38fc33[_0x38fc33['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3fc0d2(0x1dc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x18b)]=0x232b]=_0x3fc0d2(0x18b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3fc)]=0x232c]=_0x3fc0d2(0x3fc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x11d)]=0x232d]=_0x3fc0d2(0x11d),_0x38fc33[_0x38fc33[_0x3fc0d2(0x34f)]=0x2711]=_0x3fc0d2(0x34f),_0x38fc33[_0x38fc33[_0x3fc0d2(0x128)]=0x2712]=_0x3fc0d2(0x128),_0x38fc33[_0x38fc33['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3fc0d2(0x295),_0x38fc33[_0x38fc33['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fc0d2(0x299),_0x38fc33[_0x38fc33[_0x3fc0d2(0x171)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x38fc33[_0x38fc33[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x38fc33))(Ii||{}),Q=(_0x596aef=>(_0x596aef[_0x596aef['UNIVER_UNKNOWN']=0x0]=_0x3fc0d2(0x2a1),_0x596aef[_0x596aef['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x596aef[_0x596aef[_0x3fc0d2(0x252)]=0x2]=_0x3fc0d2(0x252),_0x596aef[_0x596aef['UNIVER_SLIDE']=0x3]=_0x3fc0d2(0x169),_0x596aef[_0x596aef[_0x3fc0d2(0x263)]=0x4]='UNIVER_PROJECT',_0x596aef[_0x596aef[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x596aef))(Q||{}),F=(_0x241bab=>(_0x241bab[_0x241bab[_0x3fc0d2(0x163)]=0x0]=_0x3fc0d2(0x163),_0x241bab[_0x241bab[_0x3fc0d2(0x1a8)]=0x1]=_0x3fc0d2(0x1a8),_0x241bab[_0x241bab[_0x3fc0d2(0x1bf)]=0x2]='JOIN',_0x241bab[_0x241bab[_0x3fc0d2(0x12b)]=0x3]='LEAVE',_0x241bab[_0x241bab[_0x3fc0d2(0x30f)]=0x4]='INGEST',_0x241bab[_0x241bab[_0x3fc0d2(0x375)]=0x5]=_0x3fc0d2(0x375),_0x241bab[_0x241bab['RECV']=0x6]='RECV',_0x241bab[_0x241bab[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x241bab))(F||{}),Ee=(_0x2fec0b=>(_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x21c)]=0x0]=_0x3fc0d2(0x21c),_0x2fec0b[_0x2fec0b['OK']=0x1]='OK',_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x1ab)]=0x2]=_0x3fc0d2(0x1ab),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x287)]=0x3e9]=_0x3fc0d2(0x287),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x2b8)]=0x3ea]=_0x3fc0d2(0x2b8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x401)]=0x3eb]=_0x3fc0d2(0x401),_0x2fec0b[_0x2fec0b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3fc0d2(0x1c8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x2fec0b))(Ee||{}),Ti=(_0x233b63=>(_0x233b63[_0x233b63[_0x3fc0d2(0x2d7)]=0x0]=_0x3fc0d2(0x2d7),_0x233b63[_0x233b63[_0x3fc0d2(0x3a2)]=0x1]=_0x3fc0d2(0x3a2),_0x233b63[_0x233b63[_0x3fc0d2(0x33f)]=0x2]=_0x3fc0d2(0x33f),_0x233b63[_0x233b63[_0x3fc0d2(0x2b4)]=0x3]='UnitEmbedded',_0x233b63[_0x233b63[_0x3fc0d2(0x173)]=0x4]=_0x3fc0d2(0x173),_0x233b63[_0x233b63['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x233b63))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x3f3ec6=>(_0x3f3ec6[_0x3fc0d2(0x404)]=_0x3fc0d2(0x404),_0x3f3ec6[_0x3fc0d2(0x19c)]=_0x3fc0d2(0x19c),_0x3f3ec6[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1b4),_0x3f3ec6['CLOSE_ROOM']=_0x3fc0d2(0x1e0),_0x3f3ec6[_0x3fc0d2(0x11b)]='JOIN_ROOM_FAILED',_0x3f3ec6['SOCKET_FAILED_RETRY']=_0x3fc0d2(0x184),_0x3f3ec6[_0x3fc0d2(0x3bd)]=_0x3fc0d2(0x3bd),_0x3f3ec6[_0x3fc0d2(0x28d)]='SUBMIT_CHANGESET_TIMEOUT',_0x3f3ec6))(se||{});class pe{constructor(){var _0x1ece05=_0x3fc0d2;N(this,'_event$',new _0x6e5a01()),N(this,_0x1ece05(0x2c1),this['_event$'][_0x1ece05(0x357)]());}['emitEvent'](_0x16b2b6){var _0x500776=_0x3fc0d2;this[_0x500776(0x1c2)]['next'](_0x16b2b6);}}const Mn=_0xa76c5b(_0x3fc0d2(0x222));function $n(_0x2dfe9f){var _0x4310e6=_0x3fc0d2,_0x540f93,_0x58a946,_0x56dc8d,_0x10fa3a,_0x3c0785;const _0x1f8ccd=_0x2dfe9f[_0x4310e6(0x144)],_0x5b4eee=JSON['parse'](_0x1f8ccd);switch(_0x5b4eee['cmd']){case F[_0x4310e6(0x375)]:case F[_0x4310e6(0x1a8)]:{const _0x2d852b=_0x5b4eee[_0x4310e6(0x247)];return{..._0x5b4eee,'data':_0x2d852b,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};}case F[_0x4310e6(0x1bf)]:{const _0x5e09a5=_0x5b4eee[_0x4310e6(0x1f6)];return{..._0x5b4eee,'data':_0x5e09a5,'cmd':_0x5b4eee['cmd']};}case F[_0x4310e6(0x3f9)]:{const _0x35b842=_0x5b4eee[_0x4310e6(0x3cc)];switch(_0x35b842[_0x4310e6(0x1b0)]){case _0x5e0126['PERMISSION_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x540f93=_0x35b842[_0x4310e6(0x333)])==null?void 0x0:_0x540f93['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x376)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x58a946=_0x35b842[_0x4310e6(0x3c3)])==null?void 0x0:_0x58a946['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3c4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x56dc8d=_0x35b842[_0x4310e6(0x1c5)])==null?void 0x0:_0x56dc8d['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x10fa3a=_0x35b842[_0x4310e6(0x218)])==null?void 0x0:_0x10fa3a['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_SHOULD_RETRY']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x3c0785=_0x35b842[_0x4310e6(0x13c)])==null?void 0x0:_0x3c0785['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x151)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x1cf)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x279)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['joinEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x36d)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x338)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x2c3)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x361)]:case _0x5e0126['LIVESHARE_OPERATION']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x117)]},'cmd':_0x5b4eee['cmd']};case _0x5e0126[_0x4310e6(0x239)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x16d)]:return{..._0x5b4eee,'data':_0x35b842,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3f4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x195)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UPDATE_PERMISSION_OBJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x38c)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['SHOULD_CLOSE_CONN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x3f1)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UNISCRIPT_RUN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['uniscriptRunEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};default:return _0x5b4eee;}}default:return _0x5b4eee;}}function Hn(_0x165b9e){var _0x3fca80=_0x3fc0d2;switch(_0x165b9e[_0x3fca80(0x1e3)]){case F[_0x3fca80(0x375)]:case F[_0x3fca80(0x1a8)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)]});case F[_0x3fca80(0x30f)]:{let _0x50d178;switch(_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x1b0)]){case _0x5e0126[_0x3fca80(0x151)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x151)],'updateCursorEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126['USERS_LEAVE']:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x36d)],'leaveEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x279)]:{_0x50d178={'eventID':_0x5e0126['USERS_ENTER'],'joinEvent':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x2c3)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x2c3)],'liveShareNewHost':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x19a)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x19a)],'liveShareOperation':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x239)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x239)],'liveShareTerminate':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x35f)]:{_0x50d178={'eventID':_0x5e0126['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x361)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x361)]};break;}default:_0x50d178={'eventID':_0x165b9e[_0x3fca80(0x144)]['eventID']};}return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'collaMsg':_0x50d178});}case F[_0x3fca80(0x1bf)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e['cmd'],'routeKey':_0x165b9e[_0x3fca80(0x185)],'joinReq':_0x165b9e[_0x3fca80(0x144)]});case F[_0x3fca80(0x12b)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'leaveReq':_0x165b9e['data']});default:throw new Error(_0x3fca80(0x2e7));}}var kn=Object['defineProperty'],jn=Object[_0x3fc0d2(0x314)],Bn=(_0xf0bc22,_0x508144,_0xb0650,_0x26ba3a)=>{var _0xee7350=_0x3fc0d2;for(var _0x183690=_0x26ba3a>0x1?void 0x0:_0x26ba3a?jn(_0x508144,_0xb0650):_0x508144,_0x443506=_0xf0bc22[_0xee7350(0x2ee)]-0x1,_0x558a63;_0x443506>=0x0;_0x443506--)(_0x558a63=_0xf0bc22[_0x443506])&&(_0x183690=(_0x26ba3a?_0x558a63(_0x508144,_0xb0650,_0x183690):_0x558a63(_0x183690))||_0x183690);return _0x26ba3a&&_0x183690&&kn(_0x508144,_0xb0650,_0x183690),_0x183690;},Ue=(_0x3f74b6,_0x1edb70)=>(_0x42b8ba,_0x872621)=>_0x1edb70(_0x42b8ba,_0x872621,_0x3f74b6);const Ci=_0xa76c5b('univer-pro.collaboration-client-socket-service');function Fn(_0x46eb19,_0x564194,_0x225a44){var _0x3c60a6=_0x3fc0d2;return _0x46eb19+'/'+_0x564194+_0x3c60a6(0x2bb)+_0x225a44+_0x3c60a6(0x214);}let Et=class extends _0x1b3b68{constructor(_0x5177a7,_0x4f6da1,_0x2ff336,_0x20c4c7,_0x10da27){var _0x4b0660=_0x3fc0d2;super(),this[_0x4b0660(0x3eb)]=_0x5177a7,this[_0x4b0660(0x237)]=_0x4f6da1,this[_0x4b0660(0x281)]=_0x2ff336,this[_0x4b0660(0x3dd)]=_0x20c4c7,this['_snapshotServerService']=_0x10da27;}['createSocket'](_0x4fb8bf){var _0x104e50=_0x3fc0d2;const _0x50d6cd=this[_0x104e50(0x3eb)]['get'](_0xa878a7);if(!_0x50d6cd)throw new Error(_0x104e50(0x2af));const _0x24bcc0=_0x50d6cd['createSocket'](_0x4fb8bf);if(!_0x24bcc0)throw new Error(_0x104e50(0x399));const _0x2ab9a3=new _0x3b3f04(),_0x1058e0=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x11c)]['subscribe'](_0x2f6113=>_0x1058e0[_0x104e50(0x400)](_0x2f6113))),_0x2ab9a3['add'](_0x5af85c(()=>_0x1058e0[_0x104e50(0x11a)]()));const _0x1689f8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x2fa)][_0x104e50(0x206)](_0xdab133=>_0x1689f8['next'](_0xdab133))),_0x2ab9a3[_0x104e50(0x204)](_0x5af85c(()=>_0x1689f8['complete']()));const _0x2ebff8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x1a2)][_0x104e50(0x206)](_0x124215=>{var _0xaae340=_0x104e50;const _0xd1b86a=$n(_0x124215);_0x2ebff8[_0xaae340(0x400)](_0xd1b86a);})),_0x2ab9a3['add'](_0x5af85c(()=>_0x2ebff8[_0x104e50(0x11a)]()));let _0xe33cc8;const _0x5dfdcb=()=>{var _0x36a4c5=_0x104e50;_0x1689f8[_0x36a4c5(0x400)](new Event(_0x36a4c5(0x17e))),_0x1058e0['next'](new CloseEvent(_0x36a4c5(0x17e))),_0xe33cc8[_0x36a4c5(0x158)]();};return _0xe33cc8={'memberID':'','close$':_0x1058e0[_0x104e50(0x357)](),'error$':_0x1689f8[_0x104e50(0x357)](),'open$':_0x24bcc0[_0x104e50(0x321)],'message$':_0x2ebff8[_0x104e50(0x357)](),'send':_0x12471d=>{var _0x3dfeeb=_0x104e50;if(_0x12471d[_0x3dfeeb(0x1e3)]===F['INGEST']){if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126['SUBMIT_CHANGESET']){this[_0x3dfeeb(0x1b9)](_0xe33cc8,_0x12471d[_0x3dfeeb(0x144)])[_0x3dfeeb(0x180)](_0x4dcc56=>{var _0x5a08e8=_0x3dfeeb;this[_0x5a08e8(0x3dd)]['error'](_0x4dcc56),_0x5dfdcb();});return;}if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126[_0x3dfeeb(0x393)]){const _0x4e8c73=_0x12471d[_0x3dfeeb(0x144)];this['_fetchMissChangesets'](_0x4e8c73)[_0x3dfeeb(0x18a)](_0x31afeb=>{var _0x4bfaf8=_0x3dfeeb;_0x2ebff8[_0x4bfaf8(0x400)]({'cmd':F[_0x4bfaf8(0x3f9)],'code':Ee['OK'],'routeKey':_0x4e8c73[_0x4bfaf8(0x144)][_0x4bfaf8(0x134)],'routeType':'','data':{'eventID':_0x5e0126[_0x4bfaf8(0x160)],'data':{'changesets':_0x31afeb}}});})['catch'](_0x22997c=>{var _0x57303c=_0x3dfeeb;this[_0x57303c(0x3dd)][_0x57303c(0x24c)](_0x22997c),_0x5dfdcb();});return;}}_0x24bcc0[_0x3dfeeb(0x306)](Hn(_0x12471d));},'close':()=>{var _0xcb8f38=_0x104e50;_0x24bcc0[_0xcb8f38(0x158)](),_0x2ab9a3[_0xcb8f38(0x232)]();}},_0xe33cc8;}async['_submitChangeset'](_0x345b64,_0x428b05){var _0xcbf392=_0x3fc0d2,_0x250359,_0x14b4bb;const {unitType:_0x40a439,unitID:_0x825fac,changeset:_0x183d41}=_0x428b05[_0xcbf392(0x144)],_0x412d9e={'unitID':_0x825fac,'memberID':_0x345b64[_0xcbf392(0x1aa)],'type':_0x40a439,'changeset':_0x265390(_0x183d41)},_0x278547=this[_0xcbf392(0x281)]['getConfig'](Un),_0x40e50b=this[_0xcbf392(0x281)][_0xcbf392(0x3fe)](q),_0x28eaef=Fn((_0x14b4bb=(_0x250359=_0x40e50b==null?void 0x0:_0x40e50b[_0xcbf392(0x1e9)])!=null?_0x250359:_0x278547)!=null?_0x14b4bb:An,_0x40a439,_0x825fac);try{await this['_http'][_0xcbf392(0x203)](_0x28eaef,{'body':_0x412d9e});}catch(_0xab724a){throw this[_0xcbf392(0x3dd)]['error'](_0xcbf392(0x115),'submit\x20changeset\x20error!'),_0xab724a;}}async[_0x3fc0d2(0x359)](_0x58d91a){var _0x33b48c=_0x3fc0d2;const {unitID:_0x4857e8,from:_0x477221,to:_0x28da0c,unitType:_0x3b5d09}=_0x58d91a['data'];return(await this[_0x33b48c(0x1cb)][_0x33b48c(0x21d)]({'metadata':void 0x0},{'unitID':_0x4857e8,'type':_0x3b5d09,'from':_0x477221,'to':_0x28da0c}))[_0x33b48c(0x2e1)];}};Et=Bn([Ue(0x0,_0x4a0d65(_0x3e5f47)),Ue(0x1,_0x4a0d65(_0x242e5e)),Ue(0x2,_0x10186),Ue(0x3,_0x5c7efb),Ue(0x4,_0x5e56ee)],Et);const Vn=_0x3fc0d2(0x18c);function Gn(_0x52f150){var _0x52205b=_0x3fc0d2;return JSON[_0x52205b(0x277)](_0x52f150)[_0x52205b(0x2ee)];}class Ri{constructor(){var _0x5a2a91=_0x3fc0d2;N(this,'_commentUpdate$',new _0x6e5a01()),N(this,_0x5a2a91(0x18e),this[_0x5a2a91(0x3f6)]['asObservable']());}[_0x3fc0d2(0x268)](_0x3dd838){var _0x5acd23=_0x3fc0d2;this[_0x5acd23(0x3f6)][_0x5acd23(0x400)](_0x3dd838);}}var Wn=Object[_0x3fc0d2(0x272)],Kn=Object[_0x3fc0d2(0x314)],Yn=(_0x320704,_0x5da96d,_0x286d07,_0x5b7e3d)=>{for(var _0x52229d=_0x5b7e3d>0x1?void 0x0:_0x5b7e3d?Kn(_0x5da96d,_0x286d07):_0x5da96d,_0x345334=_0x320704['length']-0x1,_0x32b9cd;_0x345334>=0x0;_0x345334--)(_0x32b9cd=_0x320704[_0x345334])&&(_0x52229d=(_0x5b7e3d?_0x32b9cd(_0x5da96d,_0x286d07,_0x52229d):_0x32b9cd(_0x52229d))||_0x52229d);return _0x5b7e3d&&_0x52229d&&Wn(_0x5da96d,_0x286d07,_0x52229d),_0x52229d;},Kt=(_0x10080d,_0x426f85)=>(_0x558347,_0x13bd8d)=>_0x426f85(_0x558347,_0x13bd8d,_0x10080d);let xe=class extends _0x1b3b68{constructor(_0x48baa8,_0xf97729){var _0x54c738=_0x3fc0d2;super(),N(this,_0x54c738(0x29e),new Map()),N(this,_0x54c738(0x3a0),new _0x6e5a01()),(this[_0x54c738(0x230)]=_0x48baa8,this[_0x54c738(0x10b)]=_0xf97729,this[_0x54c738(0x301)](_0x5a2e3b(this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SHEET'])['pipe'](_0x1c1a45(_0x1eebac=>_0x1eebac[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_DOC'])['pipe'](_0x1c1a45(_0x25fc6c=>_0x25fc6c[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SLIDE'])[_0x54c738(0x348)](_0x1c1a45(_0x5f09c9=>_0x5f09c9[_0x54c738(0x1da)]())))[_0x54c738(0x206)](_0x577a03=>this[_0x54c738(0x297)](_0x577a03))));}[_0x3fc0d2(0x275)](_0x2e4e53){var _0x3d2ab8=_0x3fc0d2;return this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2a9)](_0x2e4e53)?_0x48236b(this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2db)](_0x2e4e53)):this['_roomCreated$'][_0x3d2ab8(0x348)](_0x1c1a45(_0xbff685=>{var _0x1bb6e8=_0x3d2ab8;if(_0xbff685===_0x2e4e53)return this[_0x1bb6e8(0x29e)][_0x1bb6e8(0x2db)](_0xbff685);}));}[_0x3fc0d2(0x1c0)](_0x4d6eb2){var _0x392cc8=_0x3fc0d2;this[_0x392cc8(0x10b)]['setCurrentUser'](_0x4d6eb2);}['getCurrentUser'](){var _0x298b0a=_0x3fc0d2;return this[_0x298b0a(0x10b)][_0x298b0a(0x353)]();}[_0x3fc0d2(0x35e)](_0x1959a7,_0x330a6d){var _0x47a53c=_0x3fc0d2;let _0x4974a2=this[_0x47a53c(0x29e)][_0x47a53c(0x2db)](_0x1959a7);_0x4974a2||(_0x4974a2=new qn(),this[_0x47a53c(0x29e)]['set'](_0x1959a7,_0x4974a2),this[_0x47a53c(0x3a0)][_0x47a53c(0x400)](_0x1959a7)),_0x4974a2[_0x47a53c(0x35e)](_0x330a6d);}[_0x3fc0d2(0x250)](_0x375d07,_0x23e407){var _0x3daf9d=_0x3fc0d2;const _0x52da7f=this[_0x3daf9d(0x29e)]['get'](_0x375d07);_0x52da7f&&_0x52da7f['removeMember'](_0x23e407);}[_0x3fc0d2(0x25d)](_0x22860b){var _0x46d0c6=_0x3fc0d2;return this[_0x46d0c6(0x29e)][_0x46d0c6(0x2db)](_0x22860b);}[_0x3fc0d2(0x17b)](_0x2fc550,_0x5e33b9){var _0x2d4009=_0x3fc0d2;const _0x2d1167=this['_roomMembers'][_0x2d4009(0x2db)](_0x2fc550);if(_0x2d1167)return _0x2d1167[_0x2d4009(0x17b)](_0x5e33b9);}[_0x3fc0d2(0x297)](_0x560e26){var _0xca818f=_0x3fc0d2;const _0x24dcba=this[_0xca818f(0x29e)][_0xca818f(0x2db)](_0x560e26);_0x24dcba&&(_0x24dcba['dispose'](),this['_roomMembers']['delete'](_0x560e26));}['dispose'](){var _0x4ba0dc=_0x3fc0d2;this[_0x4ba0dc(0x29e)][_0x4ba0dc(0x25f)](_0xc0b038=>_0xc0b038[_0x4ba0dc(0x232)]()),this['_roomMembers'][_0x4ba0dc(0x21e)](),this[_0x4ba0dc(0x3a0)]['complete']();}};xe=Yn([Kt(0x0,_0x2e5298),Kt(0x1,_0x4a0d65(_0x4b012e))],xe);class qn extends _0x1b3b68{constructor(){var _0x4b00b3=_0x3fc0d2;super(...arguments),N(this,_0x4b00b3(0x350),new Map()),N(this,_0x4b00b3(0x36e),new _0x257515(this[_0x4b00b3(0x350)])),N(this,_0x4b00b3(0x38f),this[_0x4b00b3(0x36e)]['asObservable']());}[_0x3fc0d2(0x232)](){var _0x495a40=_0x3fc0d2;this[_0x495a40(0x350)][_0x495a40(0x21e)]();}['updateMember'](_0x42f65f){var _0x2218a6=_0x3fc0d2;this[_0x2218a6(0x350)][_0x2218a6(0x30a)](_0x42f65f[_0x2218a6(0x1aa)],_0x42f65f),this[_0x2218a6(0x149)]();}[_0x3fc0d2(0x250)](_0x359f86){var _0x464a26=_0x3fc0d2;this['_members'][_0x464a26(0x3aa)](_0x359f86);}[_0x3fc0d2(0x17b)](_0x4756e7){var _0x453d18=_0x3fc0d2;return this['_members'][_0x453d18(0x2db)](_0x4756e7);}[_0x3fc0d2(0x2ec)](){var _0x243815=_0x3fc0d2;return Array['from'](this[_0x243815(0x350)][_0x243815(0x12a)]());}[_0x3fc0d2(0x149)](){var _0x298963=_0x3fc0d2;this['_members$'][_0x298963(0x400)](this[_0x298963(0x350)]);}}var zn=Object[_0x3fc0d2(0x272)],Jn=Object[_0x3fc0d2(0x314)],Xn=(_0x52e0c2,_0xb26730,_0xdce1d,_0x55bc12)=>{for(var _0x14a4dd=_0x55bc12>0x1?void 0x0:_0x55bc12?Jn(_0xb26730,_0xdce1d):_0xb26730,_0x563252=_0x52e0c2['length']-0x1,_0x308121;_0x563252>=0x0;_0x563252--)(_0x308121=_0x52e0c2[_0x563252])&&(_0x14a4dd=(_0x55bc12?_0x308121(_0xb26730,_0xdce1d,_0x14a4dd):_0x308121(_0x14a4dd))||_0x14a4dd);return _0x55bc12&&_0x14a4dd&&zn(_0xb26730,_0xdce1d,_0x14a4dd),_0x14a4dd;},me=(_0x2b9afa,_0x5a7bfd)=>(_0x35537a,_0x9d71e4)=>_0x5a7bfd(_0x35537a,_0x9d71e4,_0x2b9afa),Te=(_0x43228f=>(_0x43228f[_0x43228f[_0x3fc0d2(0x406)]=0x0]=_0x3fc0d2(0x406),_0x43228f[_0x43228f[_0x3fc0d2(0x33b)]=0x1]='JOINING',_0x43228f[_0x43228f[_0x3fc0d2(0x10f)]=0x2]=_0x3fc0d2(0x10f),_0x43228f[_0x43228f[_0x3fc0d2(0x121)]=0x3]='ONLINE',_0x43228f))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x3fc0d2(0x287)]]:_0x3fc0d2(0x3f3),[Ee[_0x3fc0d2(0x2b8)]]:_0x3fc0d2(0x3f2),[Ee[_0x3fc0d2(0x401)]]:_0x3fc0d2(0x192),[Ee[_0x3fc0d2(0x1c8)]]:_0x3fc0d2(0x341)};let It=class extends _0x2ac02b{constructor(_0xfad558,_0x3283bc,_0x41f3f8,_0x27d028,_0x5b91c9,_0x34bf40,_0x578e70,_0x35585f,_0x40c05f){var _0x2eb94b=_0x3fc0d2;super(),N(this,_0x2eb94b(0x1a6),new _0x257515(0x0)),N(this,_0x2eb94b(0x3e1),this['_sessionStatus$']['asObservable']()),N(this,_0x2eb94b(0x1c2),new _0x6e5a01()),N(this,_0x2eb94b(0x2c1),this[_0x2eb94b(0x1c2)][_0x2eb94b(0x357)]()),N(this,_0x2eb94b(0x3bb)),N(this,_0x2eb94b(0x1eb)),N(this,_0x2eb94b(0x1e1)),N(this,_0x2eb94b(0x367),!0x1),N(this,_0x2eb94b(0x1ff),null),(this['_unitID']=_0xfad558,this['_logService']=_0x41f3f8,this[_0x2eb94b(0x281)]=_0x27d028,this[_0x2eb94b(0x1a0)]=_0x5b91c9,this[_0x2eb94b(0x16a)]=_0x34bf40,this[_0x2eb94b(0x1f9)]=_0x578e70,this[_0x2eb94b(0x123)]=_0x35585f,this[_0x2eb94b(0x327)]=_0x40c05f,this[_0x2eb94b(0x367)]=!!this[_0x2eb94b(0x327)],_0x3283bc[_0x2eb94b(0x348)](_0x4c8071(this[_0x2eb94b(0x1e7)]))[_0x2eb94b(0x206)](_0x10521c=>{var _0x278498=_0x2eb94b,_0xc70ec9;typeof _0x10521c>'u'||(this['_socket']=_0x10521c,_0x10521c?(this[_0x278498(0x174)](_0x10521c),this[_0x278498(0x1eb)]=_0x10521c['message$'][_0x278498(0x206)](_0x4839d9=>{var _0x1db790=_0x278498;_0x4839d9[_0x1db790(0x185)]===this[_0x1db790(0x28b)]&&this[_0x1db790(0x344)](_0x4839d9);})):(this[_0x278498(0x3df)](),this['_sessionStatus$'][_0x278498(0x400)](0x2),(_0xc70ec9=this[_0x278498(0x1eb)])==null||_0xc70ec9[_0x278498(0x2ea)](),this[_0x278498(0x1eb)]=null));}));}get[_0x3fc0d2(0x1e8)](){var _0x2866cf=_0x3fc0d2;return this[_0x2866cf(0x1a6)]['getValue']();}[_0x3fc0d2(0x1b6)](){var _0x25e809=_0x3fc0d2,_0x4af352,_0x2205d1;return(_0x2205d1=(_0x4af352=this[_0x25e809(0x3bb)])==null?void 0x0:_0x4af352[_0x25e809(0x1aa)])!=null?_0x2205d1:null;}[_0x3fc0d2(0x232)](){var _0x38db16=_0x3fc0d2;super[_0x38db16(0x232)](),this[_0x38db16(0x1e7)][_0x38db16(0x400)](),this['dispose$'][_0x38db16(0x11a)]();}[_0x3fc0d2(0x158)](){var _0x32e593=_0x3fc0d2,_0x544d20,_0x3a6f8f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x544d20=this[_0x32e593(0x3bb)])==null||_0x544d20[_0x32e593(0x306)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3a6f8f=this['_socket'])==null||_0x3a6f8f[_0x32e593(0x158)](),this[_0x32e593(0x1c2)]['complete'](),this[_0x32e593(0x1a6)][_0x32e593(0x11a)](),this[_0x32e593(0x232)]();}[_0x3fc0d2(0x344)](_0x99689e){var _0x19ac8b=_0x3fc0d2;_0x99689e[_0x19ac8b(0x1e3)]===F[_0x19ac8b(0x1bf)]?this['_onJoinRoomEvent'](_0x99689e):_0x99689e['cmd']===F[_0x19ac8b(0x3f9)]&&this[_0x19ac8b(0x32a)](_0x99689e);}[_0x3fc0d2(0x174)](_0x43a159){var _0x4bbfc3=_0x3fc0d2;this[_0x4bbfc3(0x1a6)][_0x4bbfc3(0x400)](0x1),_0x43a159[_0x4bbfc3(0x306)]({'cmd':F[_0x4bbfc3(0x1bf)],'routeKey':this[_0x4bbfc3(0x28b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4bbfc3(0x28b)]}]}});}[_0x3fc0d2(0x310)](_0x11946a){var _0x23a020=_0x3fc0d2,_0x38ff65;if(_0x11946a[_0x23a020(0x336)]in Yt){this[_0x23a020(0x123)][_0x23a020(0x3e6)]({'id':se[_0x23a020(0x11b)],'data':Yt[_0x11946a[_0x23a020(0x336)]]}),this[_0x23a020(0x1a6)][_0x23a020(0x400)](0x2);return;}this['_sessionStatus$'][_0x23a020(0x400)](0x3);const _0x1a26e1=(_0x38ff65=_0x11946a[_0x23a020(0x144)][_0x23a020(0x13d)][this[_0x23a020(0x28b)]])==null?void 0x0:_0x38ff65[_0x23a020(0x137)];_0x1a26e1&&_0x1a26e1['forEach'](_0x49f428=>this[_0x23a020(0x16a)][_0x23a020(0x35e)](this[_0x23a020(0x28b)],_0x49f428));}[_0x3fc0d2(0x32a)](_0x143322){var _0x234bc9=_0x3fc0d2;try{const _0x12acce=_0x143322[_0x234bc9(0x144)];switch(_0x12acce[_0x234bc9(0x1b0)]){case _0x5e0126[_0x234bc9(0x279)]:this[_0x234bc9(0x390)](_0x12acce),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['USERS_LEAVE']:this[_0x234bc9(0x3e4)](_0x12acce),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x376)]:case _0x5e0126[_0x234bc9(0x2d1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x234bc9(0x1a7)](),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['MSG_FOR_ERROR']:this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x234bc9(0x362)+JSON[_0x234bc9(0x277)](_0x12acce)),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x3f4)]:this[_0x234bc9(0x1f9)][_0x234bc9(0x268)](_0x12acce[_0x234bc9(0x144)]),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;default:this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);}}catch(_0x1d55eb){this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x1d55eb,_0x143322);}}[_0x3fc0d2(0x390)](_0x245703){var _0x2c9c52=_0x3fc0d2;this[_0x2c9c52(0x16a)][_0x2c9c52(0x35e)](this['_unitID'],_0x245703[_0x2c9c52(0x144)]);}['_onUserLeave'](_0x4f9277){var _0x175e04=_0x3fc0d2;this[_0x175e04(0x16a)][_0x175e04(0x250)](this[_0x175e04(0x28b)],_0x4f9277['data'][_0x175e04(0x1aa)]);}async[_0x3fc0d2(0x306)](_0x261ba2,_0x3465f6){var _0x1d57a1=_0x3fc0d2;if(this[_0x1d57a1(0x1e8)]!==0x3||!this[_0x1d57a1(0x3bb)])throw new Error(_0x1d57a1(0x405));try{_0x261ba2[_0x1d57a1(0x1b0)]===_0x5e0126[_0x1d57a1(0x2b0)]&&(this[_0x1d57a1(0x2c2)](),this[_0x1d57a1(0x3a6)](_0x261ba2)),this['_socket'][_0x1d57a1(0x306)]({'cmd':F['INGEST'],'routeKey':_0x3465f6,'routeType':'','data':_0x261ba2});}catch(_0x1d58ea){this['_logService'][_0x1d57a1(0x24c)](_0x1d58ea);}}[_0x3fc0d2(0x2c2)](){var _0x3d67f8=_0x3fc0d2,_0x16cb7e;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ae6cf=_0x3335;this[_0x3ae6cf(0x1e1)]=null,this[_0x3ae6cf(0x123)][_0x3ae6cf(0x3e6)]({'id':se[_0x3ae6cf(0x28d)]});},(_0x16cb7e=this[_0x3d67f8(0x281)][_0x3d67f8(0x3fe)](Si))!=null?_0x16cb7e:Ei);}[_0x3fc0d2(0x1a7)](){var _0x99053=_0x3fc0d2;this[_0x99053(0x1e1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x99053(0x1e1)]=null);}[_0x3fc0d2(0x3a6)](_0x2153f6){var _0x315221=_0x3fc0d2;if(!this[_0x315221(0x367)])return;const {data:_0x1d3cdf}=_0x2153f6,{unitID:_0x574d85,changeset:_0x1f864d}=_0x1d3cdf,{mutations:_0x29167e,type:_0x28b800}=_0x1f864d;this[_0x315221(0x1ff)]={'unitId':_0x574d85,'type':_0x28b800,'startTime':performance[_0x315221(0x384)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x29167e)};}[_0x3fc0d2(0x16f)](){var _0x3fe119=_0x3fc0d2;if(this['_shouldReportTelemetry']){if(!this[_0x3fe119(0x1ff)]){this['_logService']['error'](_0x3fe119(0x115),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x3fe119(0x2ce)]=performance[_0x3fe119(0x384)](),this[_0x3fe119(0x1ff)][_0x3fe119(0x14b)]=this[_0x3fe119(0x1ff)]['stopTime']-this[_0x3fe119(0x1ff)][_0x3fe119(0x17f)],this['_telemetryService']['capture'](Vn,this['_telemetryInfo']),this[_0x3fe119(0x1ff)]=null;}}[_0x3fc0d2(0x3df)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x5c7efb),me(0x3,_0x10186),me(0x4,_0x4a0d65(_0x5d25bf)),me(0x5,_0x4a0d65(xe)),me(0x6,_0x4a0d65(Ri)),me(0x7,_0x4a0d65(pe)),me(0x8,_0x469180(_0x33d4a5))],It);var Zn=Object[_0x3fc0d2(0x272)],Qn=Object[_0x3fc0d2(0x314)],er=(_0x366a83,_0x294f4a,_0x2c75d5,_0x6d7ba8)=>{var _0x349da8=_0x3fc0d2;for(var _0x524cac=_0x6d7ba8>0x1?void 0x0:_0x6d7ba8?Qn(_0x294f4a,_0x2c75d5):_0x294f4a,_0x410284=_0x366a83[_0x349da8(0x2ee)]-0x1,_0x5b7a20;_0x410284>=0x0;_0x410284--)(_0x5b7a20=_0x366a83[_0x410284])&&(_0x524cac=(_0x6d7ba8?_0x5b7a20(_0x294f4a,_0x2c75d5,_0x524cac):_0x5b7a20(_0x524cac))||_0x524cac);return _0x6d7ba8&&_0x524cac&&Zn(_0x294f4a,_0x2c75d5,_0x524cac),_0x524cac;},ge=(_0x45626c,_0xbe25bc)=>(_0x5f1367,_0x161128)=>_0xbe25bc(_0x5f1367,_0x161128,_0x45626c);let Le=class extends _0x1b3b68{constructor(_0x58ab19,_0x1ac367,_0x3a905e,_0x44a5f9,_0xa6961,_0x457a4b,_0x1ad8f5){var _0x2565c3=_0x3fc0d2;super(),N(this,'_socket$',new _0x257515(void 0x0)),N(this,_0x2565c3(0x208),this[_0x2565c3(0x2f7)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x3b7),null),N(this,_0x2565c3(0x3ec),new Map()),N(this,_0x2565c3(0x1c4),new _0x257515(Te[_0x2565c3(0x406)])),N(this,'status$',this[_0x2565c3(0x1c4)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x27f),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2565c3(0x286)),N(this,'_timeoutTimer'),(this['_injector']=_0x58ab19,this['_logService']=_0x1ac367,this['_configService']=_0x3a905e,this[_0x2565c3(0x176)]=_0x44a5f9,this['_httpService']=_0xa6961,this[_0x2565c3(0x123)]=_0x457a4b,this[_0x2565c3(0x23b)]=_0x1ad8f5,this[_0x2565c3(0x381)]());}get[_0x3fc0d2(0x3bb)](){var _0x5ce565=_0x3fc0d2;return this['_socket$'][_0x5ce565(0x31d)]();}[_0x3fc0d2(0x381)](){var _0xd6b64=_0x3fc0d2;this[_0xd6b64(0x23b)]&&this[_0xd6b64(0x301)](this[_0xd6b64(0x23b)][_0xd6b64(0x3ee)][_0xd6b64(0x206)](_0x8d9548=>{var _0x1454fa=_0xd6b64;_0x8d9548&&!this[_0x1454fa(0x3bb)]&&this[_0x1454fa(0x1f1)](),_0x8d9548||this[_0x1454fa(0x2d4)]();}));}['dispose'](){var _0xa6921a=_0x3fc0d2;super[_0xa6921a(0x232)](),this[_0xa6921a(0x3ec)]['forEach'](_0x237666=>_0x237666[_0xa6921a(0x232)]()),this[_0xa6921a(0x3ec)][_0xa6921a(0x21e)](),this[_0xa6921a(0x1c4)]['complete']();}async[_0x3fc0d2(0x114)](_0x5b8822){var _0x12ea80=_0x3fc0d2;if(this[_0x12ea80(0x3ec)][_0x12ea80(0x2a9)](_0x5b8822))return this['_sessions'][_0x12ea80(0x2db)](_0x5b8822);this[_0x12ea80(0x1d3)]();const _0x15382c=this[_0x12ea80(0x3eb)][_0x12ea80(0x354)](It,_0x5b8822,this[_0x12ea80(0x2f7)]['asObservable']());return this['_sessions'][_0x12ea80(0x30a)](_0x5b8822,_0x15382c),_0x15382c;}[_0x3fc0d2(0x1df)](_0x22255d){var _0xd27e61=_0x3fc0d2,_0x46fe2e;const _0x199a37=this[_0xd27e61(0x3ec)]['get'](_0x22255d);_0x199a37&&(this['_sessions'][_0xd27e61(0x3aa)](_0x22255d),_0x199a37[_0xd27e61(0x158)]()),this[_0xd27e61(0x3ec)][_0xd27e61(0x2d2)]||(_0x46fe2e=this[_0xd27e61(0x3bb)])==null||_0x46fe2e[_0xd27e61(0x158)]();}[_0x3fc0d2(0x1f1)](){var _0x321ba4=_0x3fc0d2;this['_retryCount']=0x0,this[_0x321ba4(0x229)]!=null&&(clearTimeout(this[_0x321ba4(0x229)]),this[_0x321ba4(0x229)]=null),this[_0x321ba4(0x132)]();}async[_0x3fc0d2(0x17a)](){var _0x14971c=_0x3fc0d2,_0xe7541f,_0x25f4a8,_0x569c7d;const _0x5de5ae=this[_0x14971c(0x281)][_0x14971c(0x3fe)](q),_0x18382b=(_0xe7541f=_0x5de5ae==null?void 0x0:_0x5de5ae[_0x14971c(0x331)])!=null?_0xe7541f:On;return(_0x569c7d=(_0x25f4a8=(await this[_0x14971c(0x21a)][_0x14971c(0x2db)](_0x18382b,{'headers':{'Content-Type':_0x14971c(0x261)}}))[_0x14971c(0x1b3)])==null?void 0x0:_0x25f4a8[_0x14971c(0x1b2)])!=null?_0x569c7d:'';}[_0x3fc0d2(0x39e)](_0x4e9008){var _0x870f17=_0x3fc0d2,_0x5b2207,_0x1fe780;const _0x3136f3=this[_0x870f17(0x281)][_0x870f17(0x3fe)](Rn),_0x15746a=this['_configService'][_0x870f17(0x3fe)](q),_0x1ab1da=(_0x1fe780=(_0x5b2207=_0x15746a==null?void 0x0:_0x15746a[_0x870f17(0x3ca)])!=null?_0x5b2207:_0x3136f3)!=null?_0x1fe780:bn,_0x36e151=typeof window>'u'?new URL(_0x1ab1da):new URL(_0x1ab1da,window[_0x870f17(0x39b)][_0x870f17(0x22c)]);_0x36e151[_0x870f17(0x1b5)][_0x870f17(0x30a)]('sessionTicket',_0x4e9008);const _0x1cfb36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1cfb36[_0x870f17(0x2db)]('runId')&&_0x36e151[_0x870f17(0x1b5)]['set'](_0x870f17(0x34c),_0x1cfb36['get']('runId')),_0x36e151[_0x870f17(0x2f5)]();}async[_0x3fc0d2(0x12e)](){var _0x2ec9a7=_0x3fc0d2;const _0x3f0309=await this[_0x2ec9a7(0x17a)](),_0x26e4d3=this[_0x2ec9a7(0x39e)](_0x3f0309),_0x54b4bb=this[_0x2ec9a7(0x176)][_0x2ec9a7(0x309)](_0x26e4d3);return this[_0x2ec9a7(0x3b7)]=_0x54b4bb,_0x54b4bb;}async['_tryEnsureSocket'](){var _0x5509f2=_0x3fc0d2,_0x5a4c0e,_0x457bf1;try{const _0x4077f0=(_0x457bf1=(_0x5a4c0e=this[_0x5509f2(0x3bb)])!=null?_0x5a4c0e:this[_0x5509f2(0x3b7)])!=null?_0x457bf1:await this[_0x5509f2(0x12e)]();if(_0x4077f0){const _0xc87c12=_0x4077f0[_0x5509f2(0x306)];_0x4077f0[_0x5509f2(0x306)]=_0x4cfeb4=>(this[_0x5509f2(0x33c)](),_0xc87c12['apply'](_0x4077f0,[_0x4cfeb4])),_0x4077f0[_0x5509f2(0x1a2)][_0x5509f2(0x206)](_0x285cd3=>this[_0x5509f2(0x12f)](_0x4077f0,_0x285cd3)),_0x4077f0['error$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x4073db=>this[_0x5509f2(0x3dd)][_0x5509f2(0x24c)](_0x5509f2(0x2f4),_0x4073db)),_0x4077f0[_0x5509f2(0x321)][_0x5509f2(0x348)](_0x47cd1c(0x1))['subscribe'](()=>{var _0x528502=_0x5509f2;this[_0x528502(0x131)](_0x4077f0);}),_0x4077f0['close$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x5a9860=>{var _0x1016a9=_0x5509f2;this[_0x1016a9(0x3dd)][_0x1016a9(0x3fa)](_0x1016a9(0x31a),_0x1016a9(0x377),_0x5a9860),this[_0x1016a9(0x37c)]();});}}catch(_0x40b649){this['_logService']['error'](_0x40b649),this['_onConnectionFailed']();}}[_0x3fc0d2(0x131)](_0x119d2a){var _0x30d15d=_0x3fc0d2;this[_0x30d15d(0x3dd)][_0x30d15d(0x3fa)](_0x30d15d(0x31a),_0x30d15d(0x11f)),_0x119d2a[_0x30d15d(0x306)]({'cmd':F[_0x30d15d(0x1a8)]}),this[_0x30d15d(0x33c)]();}['_onOffline'](){var _0x5ab06a=_0x3fc0d2;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x5ab06a(0x400)](Te['OFFLINE']),this[_0x5ab06a(0x2f7)][_0x5ab06a(0x400)](null),this[_0x5ab06a(0x15b)](),this[_0x5ab06a(0x3bf)]();}[_0x3fc0d2(0x37c)](){var _0x1b1976=_0x3fc0d2,_0x147a8b;this['_onOffline'](),this[_0x1b1976(0x21b)]<((_0x147a8b=this[_0x1b1976(0x281)][_0x1b1976(0x3fe)](Pn))!=null?_0x147a8b:wn)?(this['_collaborationUIEventService'][_0x1b1976(0x3e6)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x1b1976(0x132)]()):this[_0x1b1976(0x123)]['emitEvent']({'id':se[_0x1b1976(0x3bd)]});}[_0x3fc0d2(0x132)](){var _0x474074=_0x3fc0d2,_0x15d3b4;const _0x7787bf=this[_0x474074(0x21b)],_0x3d9f79=this[_0x474074(0x281)][_0x474074(0x3fe)](q),_0x5d5b89=_0x7787bf===0x0?0x0:((_0x15d3b4=_0x3d9f79==null?void 0x0:_0x3d9f79[_0x474074(0x10d)])!=null?_0x15d3b4:Dn)*0x2**_0x7787bf;this[_0x474074(0x229)]=setTimeout(()=>{var _0x5b36b8=_0x474074;clearTimeout(this['_retryConnectingTimer']),this[_0x5b36b8(0x229)]=null,this['_tryEnsureSocket']();},_0x5d5b89),this[_0x474074(0x21b)]+=0x1;}[_0x3fc0d2(0x12f)](_0x18c836,_0x4b32f8){var _0x425067=_0x3fc0d2;const {cmd:_0x3d51c9}=_0x4b32f8;_0x3d51c9===F[_0x425067(0x1a8)]&&!this[_0x425067(0x27f)]&&(_0x18c836[_0x425067(0x1aa)]=_0x4b32f8[_0x425067(0x144)][_0x425067(0x1aa)],this['_socket$'][_0x425067(0x400)](_0x18c836),this['_status$']['next'](Te[_0x425067(0x121)]),this[_0x425067(0x27f)]=!0x0,this[_0x425067(0x3b7)]=null),_0x3d51c9===F[_0x425067(0x375)]&&this[_0x425067(0x15b)](),this[_0x425067(0x33c)]();}[_0x3fc0d2(0x33c)](){var _0x176290=_0x3fc0d2,_0x11ccee;this[_0x176290(0x3bf)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x176290(0x294)](),(_0x11ccee=this[_0x176290(0x281)]['getConfig'](yn))!=null?_0x11ccee:Nn);}[_0x3fc0d2(0x294)](){var _0x89b537=_0x3fc0d2;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x89b537(0x280)]();}['_waitForHeartbeatResponse'](){var _0x279e73=_0x3fc0d2,_0x3c70f8;this['_timeoutTimer']=setTimeout(()=>this[_0x279e73(0x37c)](),(_0x3c70f8=this['_configService'][_0x279e73(0x3fe)](Si))!=null?_0x3c70f8:Ei);}[_0x3fc0d2(0x3bf)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x3fc0d2(0x15b)](){var _0xa233f7=_0x3fc0d2;this[_0xa233f7(0x26d)]!=null&&(clearTimeout(this[_0xa233f7(0x26d)]),this[_0xa233f7(0x26d)]=null);}};Le=er([ge(0x0,_0x4a0d65(_0x3e5f47)),ge(0x1,_0x5c7efb),ge(0x2,_0x10186),ge(0x3,Ci),ge(0x4,_0x4a0d65(_0x242e5e)),ge(0x5,_0x4a0d65(pe)),ge(0x6,_0x469180(Mn))],Le);function _0x3335(_0x559d2a,_0x5262fc){var _0x3d561f=_0x3d56();return _0x3335=function(_0x3335b7,_0x587274){_0x3335b7=_0x3335b7-0x10b;var _0x479c4e=_0x3d561f[_0x3335b7];return _0x479c4e;},_0x3335(_0x559d2a,_0x5262fc);}const V=[];for(let n=0x0;n<0x100;++n)V[_0x3fc0d2(0x1ba)]((n+0x100)[_0x3fc0d2(0x2f5)](0x10)[_0x3fc0d2(0x38e)](0x1));function tr(_0x4bc7d5,_0x29740a=0x0){var _0x59e41d=_0x3fc0d2;return(V[_0x4bc7d5[_0x29740a+0x0]]+V[_0x4bc7d5[_0x29740a+0x1]]+V[_0x4bc7d5[_0x29740a+0x2]]+V[_0x4bc7d5[_0x29740a+0x3]]+'-'+V[_0x4bc7d5[_0x29740a+0x4]]+V[_0x4bc7d5[_0x29740a+0x5]]+'-'+V[_0x4bc7d5[_0x29740a+0x6]]+V[_0x4bc7d5[_0x29740a+0x7]]+'-'+V[_0x4bc7d5[_0x29740a+0x8]]+V[_0x4bc7d5[_0x29740a+0x9]]+'-'+V[_0x4bc7d5[_0x29740a+0xa]]+V[_0x4bc7d5[_0x29740a+0xb]]+V[_0x4bc7d5[_0x29740a+0xc]]+V[_0x4bc7d5[_0x29740a+0xd]]+V[_0x4bc7d5[_0x29740a+0xe]]+V[_0x4bc7d5[_0x29740a+0xf]])[_0x59e41d(0x343)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x47d9c6=_0x3fc0d2;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x47d9c6(0x211)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3fc0d2(0x36c)][_0x3fc0d2(0x211)](crypto),qt={'randomUUID':rr};function sr(_0x26d758,_0x1addb7,_0x2e9018){var _0x202d61=_0x3fc0d2,_0x5e24d5,_0xe8eeee,_0x27a196;if(qt[_0x202d61(0x36c)]&&!_0x26d758)return qt[_0x202d61(0x36c)]();_0x26d758=_0x26d758||{};const _0x5941dc=(_0x27a196=(_0xe8eeee=_0x26d758[_0x202d61(0x2cf)])!=null?_0xe8eeee:(_0x5e24d5=_0x26d758[_0x202d61(0x220)])==null?void 0x0:_0x5e24d5[_0x202d61(0x130)](_0x26d758))!=null?_0x27a196:nr();if(_0x5941dc[_0x202d61(0x2ee)]<0x10)throw new Error(_0x202d61(0x3be));return _0x5941dc[0x6]=_0x5941dc[0x6]&0xf|0x40,_0x5941dc[0x8]=_0x5941dc[0x8]&0x3f|0x80,tr(_0x5941dc);}const J=_0xa76c5b('collaboration-client.local-cache-service');function so(_0x4359df){var _0x206095=_0x3fc0d2;return _0x206095(0x1a4)+_0x4359df;}var or=Object['defineProperty'],ar=Object[_0x3fc0d2(0x314)],cr=(_0x3d8625,_0xb76b18,_0x59baaa,_0x53e7b7)=>{var _0xb1144d=_0x3fc0d2;for(var _0x3489b1=_0x53e7b7>0x1?void 0x0:_0x53e7b7?ar(_0xb76b18,_0x59baaa):_0xb76b18,_0xa46e17=_0x3d8625[_0xb1144d(0x2ee)]-0x1,_0x3db703;_0xa46e17>=0x0;_0xa46e17--)(_0x3db703=_0x3d8625[_0xa46e17])&&(_0x3489b1=(_0x53e7b7?_0x3db703(_0xb76b18,_0x59baaa,_0x3489b1):_0x3db703(_0x3489b1))||_0x3489b1);return _0x53e7b7&&_0x3489b1&&or(_0xb76b18,_0x59baaa,_0x3489b1),_0x3489b1;},dt=(_0x32232f,_0x10e193)=>(_0xa7551,_0x44a95b)=>_0x10e193(_0xa7551,_0x44a95b,_0x32232f);function hr(_0x5173b3){var _0x4dcd64=_0x3fc0d2;const {unitID:_0x426a7b,mutations:_0x42d78c}=_0x5173b3;return{'unitId':_0x426a7b,'subUnitId':_0x42d78c[0x0][_0x4dcd64(0x3dc)][_0x4dcd64(0x14c)]};}let it=class{constructor(_0x3901b6,_0x444c9b,_0x202669){var _0x3c3945=_0x3fc0d2;this[_0x3c3945(0x3eb)]=_0x3901b6,this[_0x3c3945(0x330)]=_0x444c9b,this['_instanceService']=_0x202669;}['transformSelections'](_0x298edf){var _0x5524a9=_0x3fc0d2,_0x40e102,_0x5158b6,_0x3fffda,_0x37171f;const _0xa49d34=this[_0x5524a9(0x3eb)]['get'](_0x4ee23c),{unitId:_0x5e93f0,subUnitId:_0xf028a6}=hr(_0x298edf),_0x422301=_0xa49d34==null?void 0x0:_0xa49d34[_0x5524a9(0x150)](_0x5e93f0)[_0x5524a9(0x2fd)](),_0x2735a4=(_0x5158b6=(_0x40e102=this['_instanceService']['getUnit'](_0x5e93f0))==null?void 0x0:_0x40e102[_0x5524a9(0x27c)]())==null?void 0x0:_0x5158b6[_0x5524a9(0x1f7)]();if(_0x422301['length']===0x0||!_0x5e93f0||!_0xf028a6)return;const _0x54fb26=[{'id':_0xbebf4c['id'],'params':{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0x3f72fc[_0x5524a9(0x193)](_0x422301)}}],_0xbf617e=this['_transformService'][_0x5524a9(0x37b)](_0x298edf,_0x54fb26);if(!_0x4911e8(_0xbf617e))throw _0xbf617e[_0x5524a9(0x24c)];const _0xaa2244=(_0x37171f=(_0x3fffda=_0xbf617e[_0x5524a9(0x1fc)][0x0])==null?void 0x0:_0x3fffda[_0x5524a9(0x3dc)])==null?void 0x0:_0x37171f[_0x5524a9(0x3db)];if(Array[_0x5524a9(0x126)](_0xaa2244)&&_0xaa2244[_0x5524a9(0x2ee)]){if(_0xaa2244[_0x5524a9(0x2ee)]===_0x54fb26[0x0][_0x5524a9(0x3dc)]['selections'][_0x5524a9(0x2ee)]&&_0xaa2244['every']((_0x517448,_0x2af69b)=>_0xce2ba7[_0x5524a9(0x2f9)](_0x517448['range'],_0x54fb26[0x0][_0x5524a9(0x3dc)][_0x5524a9(0x3db)][_0x2af69b][_0x5524a9(0x1fd)])))return;this['_injector'][_0x5524a9(0x2db)](_0x478928)[_0x5524a9(0x1d4)](_0xbebf4c['id'],{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0xaa2244});}}};it=cr([dt(0x0,_0x4a0d65(_0x3e5f47)),dt(0x1,_0x44918b),dt(0x2,_0x2e5298)],it);const ht=_0xa76c5b(_0x3fc0d2(0x37d));var bi=(_0x4b7a55=>(_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x274)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x396)]=0x1]=_0x3fc0d2(0x396),_0x4b7a55))(bi||{});const _r=new Set([_0x10e451['id']]);function zt(_0x7aa376,_0x4e9d5e,_0x54bb9f,_0x2c0fec,_0x1cbcbf){var _0x51a35d=_0x3fc0d2,_0x12e948,_0x4e98d3,_0x523330,_0x43103d;const _0x5ead56=[];for(const _0x542a17 of _0x7aa376)if(_r[_0x51a35d(0x2a9)](_0x542a17['id'])){if(_0x5ead56[_0x51a35d(0x2ee)]>0x0)break;_0x5ead56['push'](_0x542a17);break;}else _0x5ead56[_0x51a35d(0x1ba)](_0x542a17);const _0x522a68=(_0x4e98d3=(_0x12e948=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x12e948[_0x51a35d(0x1ee)])!=null?_0x4e98d3:'unknown',_0x1b31ac=(_0x43103d=(_0x523330=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x523330['memberID'])!=null?_0x43103d:_0x51a35d(0x146);return{'changeset':{'unitID':_0x4e9d5e,'type':_0x559457(_0x54bb9f[_0x51a35d(0x18f)](_0x4e9d5e)),'baseRev':_0x2c0fec['getCurrentRevOfUnit'](_0x4e9d5e),'revision':0x0,'userID':_0x522a68,'memberID':_0x1b31ac,'mutations':_0x5ead56},'pendingMutations':_0x7aa376['slice'](_0x5ead56[_0x51a35d(0x2ee)])};}function lr(_0x1aa234,_0xb38c57,_0x226b3f,_0x4e0a2f,_0x1f59b8){var _0x1d1c7e=_0x3fc0d2,_0x4f5136,_0x4b56a1,_0x1c9e78,_0x3d9a21;const _0x24fb19=[_0x1aa234[_0x1d1c7e(0x374)]((_0x29c4f7,_0x1d69da)=>{var _0x3118ed=_0x1d1c7e,_0x470e7c;const {id:_0x286d8f}=_0x29c4f7,{id:_0x23163c,type:_0x1d8bb8}=_0x1d69da,_0x12af51=(_0x470e7c=_0x29c4f7['params'])!=null?_0x470e7c:{'actions':null},_0x16b74=_0x1d69da[_0x3118ed(0x3dc)];if(_0x286d8f&&_0x286d8f!==_0x23163c)throw new Error(_0x3118ed(0x23f)+_0x286d8f+_0x3118ed(0x285)+_0x23163c+'.');return{..._0x29c4f7,'id':_0x23163c,'type':_0x1d8bb8,'params':{'unitId':_0x16b74[_0x3118ed(0x200)],'textRanges':_0x16b74[_0x3118ed(0x194)],'actions':_0x32e67d[_0x3118ed(0x188)](_0x12af51[_0x3118ed(0x3f0)],_0x16b74[_0x3118ed(0x3f0)])}};},{})],_0x423683=(_0x4b56a1=(_0x4f5136=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x4f5136[_0x1d1c7e(0x1ee)])!=null?_0x4b56a1:_0x1d1c7e(0x146),_0x48a33b=(_0x3d9a21=(_0x1c9e78=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x1c9e78['memberID'])!=null?_0x3d9a21:_0x1d1c7e(0x146);return{'changeset':{'unitID':_0xb38c57,'type':_0x559457(_0x226b3f[_0x1d1c7e(0x18f)](_0xb38c57)),'baseRev':_0x4e0a2f[_0x1d1c7e(0x356)](_0xb38c57),'revision':0x0,'userID':_0x423683,'memberID':_0x48a33b,'mutations':_0x24fb19},'pendingMutations':[]};}function Oi(_0x21a044,_0x59a8fb){var _0x52c982=_0x3fc0d2;const _0x254184=new _0x2c102a(0x1);return setTimeout(()=>_0x254184[_0x52c982(0x400)](_0x59a8fb),_0x21a044),_0x254184[_0x52c982(0x357)]()['pipe'](_0x5e2b45(0x1));}const ur={'id':_0x312b5b['id'],'type':_0x439428[_0x3fc0d2(0x28c)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x3fc0d2(0x314)],Re=(_0x5968e2,_0x168bcd,_0x570b18,_0x3a32cf)=>{for(var _0x20bb7b=_0x3a32cf>0x1?void 0x0:_0x3a32cf?fr(_0x168bcd,_0x570b18):_0x168bcd,_0x3761c4=_0x5968e2['length']-0x1,_0x5e7c23;_0x3761c4>=0x0;_0x3761c4--)(_0x5e7c23=_0x5968e2[_0x3761c4])&&(_0x20bb7b=(_0x3a32cf?_0x5e7c23(_0x168bcd,_0x570b18,_0x20bb7b):_0x5e7c23(_0x20bb7b))||_0x20bb7b);return _0x3a32cf&&_0x20bb7b&&dr(_0x168bcd,_0x570b18,_0x20bb7b),_0x20bb7b;},A=(_0x25eac0,_0x47aa1f)=>(_0x3a0cc5,_0x4b0c41)=>_0x47aa1f(_0x3a0cc5,_0x4b0c41,_0x25eac0),yi=(_0x3d1375=>(_0x3d1375[_0x3fc0d2(0x20c)]='not_collab',_0x3d1375['SYNCED']=_0x3fc0d2(0x1b1),_0x3d1375[_0x3fc0d2(0x2cb)]=_0x3fc0d2(0x207),_0x3d1375[_0x3fc0d2(0x221)]='awaiting',_0x3d1375[_0x3fc0d2(0x2de)]='awaiting_with_pending',_0x3d1375['FETCH_MISS']=_0x3fc0d2(0x2dc),_0x3d1375[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1ec),_0x3d1375['OFFLINE']=_0x3fc0d2(0x181),_0x3d1375))(yi||{});const Ni=0xea60;class be{constructor(_0x2cdda6,_0x15b4da,_0x59c0b4,_0x1e8c7b,_0x13e130,_0x9b218,_0x2b6190,_0xb26e21,_0x309b6e){var _0x5d573a=_0x3fc0d2;N(this,_0x5d573a(0x14d),null),N(this,_0x5d573a(0x318),[]),(this[_0x5d573a(0x134)]=_0x2cdda6,this[_0x5d573a(0x293)]=_0x15b4da,this[_0x5d573a(0x2a0)]=_0x13e130,this[_0x5d573a(0x1f3)]=_0x9b218,this[_0x5d573a(0x1ae)]=_0x2b6190,this[_0x5d573a(0x1c6)]=_0xb26e21,this[_0x5d573a(0x346)]=_0x309b6e,this[_0x5d573a(0x14d)]=_0x59c0b4,this[_0x5d573a(0x318)]=_0x1e8c7b);}['_checkMissing'](_0x492d83){var _0x891fb=_0x3fc0d2;const _0x33fc96=this[_0x891fb(0x1c6)][_0x891fb(0x356)](this[_0x891fb(0x134)]);return _0x492d83['revision']>_0x33fc96+0x1?(this['_handler'][_0x891fb(0x2be)]({'from':_0x33fc96,'to':_0x492d83[_0x891fb(0x27e)]-0x1}),!0x0):!0x1;}[_0x3fc0d2(0x33d)](_0x1bd76f){var _0x2248dc=_0x3fc0d2;this[_0x2248dc(0x1ae)][_0x2248dc(0x1ea)](this[_0x2248dc(0x134)],_0x1bd76f);}[_0x3fc0d2(0x26b)](_0x355a65){var _0x5b6e5b,_0x1a0017;(_0x1a0017=(_0x5b6e5b=this['_handler'])['onTransformSelections'])==null||_0x1a0017['call'](_0x5b6e5b,_0x355a65);}[_0x3fc0d2(0x366)](_0x22faaf){var _0x2bb42c=_0x3fc0d2,_0x369995,_0x4258b3;return(_0x4258b3=(_0x369995=this[_0x2bb42c(0x2a0)])[_0x2bb42c(0x254)])==null?void 0x0:_0x4258b3[_0x2bb42c(0x130)](_0x369995,_0x22faaf);}[_0x3fc0d2(0x328)](_0x4d7539){var _0x5b27f2=_0x3fc0d2,_0x32e8de,_0x4c77eb;return(_0x4c77eb=(_0x32e8de=this[_0x5b27f2(0x2a0)])[_0x5b27f2(0x363)])==null?void 0x0:_0x4c77eb[_0x5b27f2(0x130)](_0x32e8de,_0x4d7539);}[_0x3fc0d2(0x20d)](_0x3f434c){var _0x3bc3b7=_0x3fc0d2,_0x543248,_0x1a0670,_0x5554c1;return(_0x5554c1=(_0x1a0670=(_0x543248=this['_handler'])[_0x3bc3b7(0x3a8)])==null?void 0x0:_0x1a0670[_0x3bc3b7(0x130)](_0x543248,_0x3f434c))!=null?_0x5554c1:_0x3f434c;}[_0x3fc0d2(0x2c6)](_0x204edf){var _0xbcdcbc=_0x3fc0d2,_0x19378e,_0x1ea731,_0x59afd8;return(_0x59afd8=(_0x1ea731=(_0x19378e=this['_handler'])[_0xbcdcbc(0x38b)])==null?void 0x0:_0x1ea731[_0xbcdcbc(0x130)](_0x19378e,_0x204edf))!=null?_0x59afd8:_0x204edf;}[_0x3fc0d2(0x365)](_0x3858b1){var _0x4899dd=_0x3fc0d2,_0x534663,_0x2919dc;if(this[_0x4899dd(0x293)]===Q[_0x4899dd(0x161)]){const {unitID:_0x50362a,mutations:_0xc26d75,memberID:_0x41229b}=_0x3858b1,_0x3dfdd0=_0xc26d75[0x0][_0x4899dd(0x3dc)]['textRanges'];Array['isArray'](_0x3dfdd0)&&_0x3dfdd0[_0x4899dd(0x2ee)]>0x0&&((_0x2919dc=(_0x534663=this[_0x4899dd(0x2a0)])['onSyncEditingCollabCursor'])==null||_0x2919dc[_0x4899dd(0x130)](_0x534663,{'unitID':_0x50362a,'memberID':_0x41229b,'textRanges':_0x3dfdd0}));}}[_0x3fc0d2(0x13f)](){var _0x4902e9=_0x3fc0d2,_0x3757fa;(_0x3757fa=this[_0x4902e9(0x346)])==null||_0x3757fa['updateOfflineData'](this['unitID'],this[_0x4902e9(0x293)],this[_0x4902e9(0x14d)],this[_0x4902e9(0x318)]);}['_getCurrentRevision'](){var _0x321c6f=_0x3fc0d2;return this[_0x321c6f(0x1c6)]['getCurrentRevOfUnit'](this[_0x321c6f(0x134)]);}[_0x3fc0d2(0x26f)](){var _0x16d631=_0x3fc0d2;this[_0x16d631(0x1c6)][_0x16d631(0x29d)](this['unitID']);}[_0x3fc0d2(0x18d)](_0x22a998){var _0x210085=_0x3fc0d2,_0x2a34de;let _0x2b1d2f=this[_0x210085(0x20d)](_0x22a998);_0x2b1d2f=this[_0x210085(0x2c6)](_0x2b1d2f);const _0x5ba01e=_0x25b24d(_0x2b1d2f[_0x210085(0x402)],this[_0x210085(0x1f3)],{'fromCollab':!0x0});if(!_0x5ba01e[_0x210085(0x138)])throw _0x5ba01e[_0x210085(0x24c)]instanceof Error?_0x5ba01e[_0x210085(0x24c)]:new Error((_0x2a34de=_0x5ba01e['error'])!=null?_0x2a34de:_0x210085(0x1e2));this[_0x210085(0x366)](_0x2b1d2f),this['_transformStateCache'](_0x2b1d2f),this[_0x210085(0x33d)](_0x22a998),this[_0x210085(0x26b)](_0x2b1d2f),this[_0x210085(0x365)](_0x2b1d2f),this[_0x210085(0x26f)]();}}let De=class extends be{constructor(_0xdcc121,_0x21b185,_0x28babf,_0xef907,_0x254237,_0x1c21e2,_0x14cc56,_0x746f52,_0x439c9a,_0x171429){var _0x3beae0=_0x3fc0d2;super(_0xdcc121,_0x21b185,null,[],_0x28babf,_0x14cc56,_0x1c21e2,_0xef907,_0x171429),N(this,'status',_0x3beae0(0x1b1)),(this[_0x3beae0(0x3eb)]=_0x254237,this[_0x3beae0(0x3dd)]=_0x746f52,this['_transformService']=_0x439c9a,this[_0x3beae0(0x278)]=_0x171429);}['appendMutation'](_0x30341b){var _0x294b5d=_0x3fc0d2;const _0x27eb0b=this['_injector'][_0x294b5d(0x354)](oe,this[_0x294b5d(0x134)],this[_0x294b5d(0x293)],[_0x30341b],this[_0x294b5d(0x2a0)]);return _0x27eb0b[_0x294b5d(0x292)](),_0x27eb0b[_0x294b5d(0x13f)](),_0x27eb0b;}[_0x3fc0d2(0x2f1)](_0x56ef0c){var _0x14b494=_0x3fc0d2;if(this[_0x14b494(0x2d3)](_0x56ef0c))return this[_0x14b494(0x3eb)][_0x14b494(0x354)](te,this[_0x14b494(0x134)],this[_0x14b494(0x293)],null,[],null,[_0x56ef0c],this[_0x14b494(0x2a0)]);try{const _0x594698=this[_0x14b494(0x330)][_0x14b494(0x37b)](_0x56ef0c,[ur]);if(_0x4911e8(_0x594698)){const {c1Prime:_0x4f1d8e}=_0x594698;return this[_0x14b494(0x18d)](_0x4f1d8e),this;}throw _0x594698['error'];}catch(_0x5834cd){return this[_0x14b494(0x3dd)][_0x14b494(0x24c)](_0x5834cd),this['_onConflict'](!0x1);}}[_0x3fc0d2(0x30e)](_0x145d1a){var _0xde504a=_0x3fc0d2;return this[_0xde504a(0x3eb)]['createInstance'](de,this[_0xde504a(0x134)],this[_0xde504a(0x293)],null,[],this[_0xde504a(0x2a0)],_0x145d1a);}[_0x3fc0d2(0x3d5)](){var _0x15f6c7=_0x3fc0d2;throw new Error(_0x15f6c7(0x33e));}[_0x3fc0d2(0x3d8)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2889a3=_0x3fc0d2;return this[_0x2889a3(0x3eb)][_0x2889a3(0x354)](fe,this[_0x2889a3(0x134)],this['type'],null,[],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}['resend'](){var _0x3f69db=_0x3fc0d2;throw new Error(_0x3f69db(0x1e5));}[_0x3fc0d2(0x351)](){var _0x8f1477=_0x3fc0d2;const _0x499f69=this[_0x8f1477(0x1c6)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x8f1477(0x2a0)][_0x8f1477(0x2be)]({'from':_0x499f69,'to':0x0}),this[_0x8f1477(0x3eb)][_0x8f1477(0x354)](te,this['unitID'],this[_0x8f1477(0x293)],null,[],null,[],this[_0x8f1477(0x2a0)]);}};De=Re([A(0x3,_0x4a0d65(_0x306d90)),A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x3a051e),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x469180(J))],De);let oe=class extends be{constructor(_0xffc3c7,_0x29e27c,_0x313218,_0x28fa67,_0x43bcb1,_0x2a2d12,_0x524959,_0x153165,_0x19923b,_0x426179,_0x1acab5,_0x37e41c,_0x4ae8a0,_0x181c1f){var _0x50ca50=_0x3fc0d2;super(_0xffc3c7,_0x29e27c,null,_0x313218,_0x28fa67,_0x19923b,_0x4ae8a0,_0x2a2d12,_0x181c1f),N(this,_0x50ca50(0x1e6),_0x50ca50(0x207)),N(this,_0x50ca50(0x283),null),N(this,_0x50ca50(0x15d),null),(this[_0x50ca50(0x3eb)]=_0x43bcb1,this[_0x50ca50(0x16a)]=_0x524959,this['_logService']=_0x153165,this[_0x50ca50(0x281)]=_0x426179,this[_0x50ca50(0x330)]=_0x1acab5,this[_0x50ca50(0x230)]=_0x37e41c);}[_0x3fc0d2(0x240)](_0x325607){return this['_pendingMutations']['push'](_0x325607),this['_updateLocalCache'](),this;}[_0x3fc0d2(0x2f1)](_0x15cbba){var _0x1122f0=_0x3fc0d2;if(this[_0x1122f0(0x2d3)](_0x15cbba))return this[_0x1122f0(0x266)](),this[_0x1122f0(0x3eb)][_0x1122f0(0x354)](te,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],null,this[_0x1122f0(0x318)],null,[_0x15cbba],this[_0x1122f0(0x2a0)]);try{const _0x293be3=this['_transformService'][_0x1122f0(0x37b)](_0x15cbba,this[_0x1122f0(0x318)]);if(_0x4911e8(_0x293be3)){const {c1Prime:_0x4d76e6,m2Prime:_0x135724}=_0x293be3;this[_0x1122f0(0x18d)](_0x4d76e6);const _0xd8f5cb=this['_injector'][_0x1122f0(0x354)](oe,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],_0x135724,this[_0x1122f0(0x2a0)]);this[_0x1122f0(0x266)]();const _0x1aa8bf=new Date()[_0x1122f0(0x175)](),_0x54c94d=this[_0x1122f0(0x283)]?Math[_0x1122f0(0x13b)](this[_0x1122f0(0x283)]-_0x1aa8bf,0x0):this[_0x1122f0(0x209)]();return _0xd8f5cb[_0x1122f0(0x292)](_0x54c94d),_0xd8f5cb;}throw _0x293be3[_0x1122f0(0x24c)];}catch(_0xa470d1){return this[_0x1122f0(0x3dd)]['error'](_0xa470d1),this[_0x1122f0(0x30e)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3fc0d2(0x3d8)](){var _0x7682cb=_0x3fc0d2;throw new Error(_0x7682cb(0x27a));}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2497da=_0x3fc0d2;return this['_clearScheduledTask'](),this['_injector'][_0x2497da(0x354)](fe,this['unitID'],this[_0x2497da(0x293)],null,this['_pendingMutations'],this[_0x2497da(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}['_schedule'](_0x177bc5){var _0x40291c=_0x3fc0d2;const _0x2ffb94=_0x177bc5!=null?_0x177bc5:this[_0x40291c(0x209)]();this[_0x40291c(0x283)]=new Date()[_0x40291c(0x175)]()+_0x2ffb94,this[_0x40291c(0x15d)]=setTimeout(()=>{var _0x13e942=_0x40291c;this[_0x13e942(0x266)]();let _0x190566=null;switch(this[_0x13e942(0x293)]){case Q['UNIVER_SHEET']:{_0x190566=zt(this[_0x13e942(0x318)],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}case Q[_0x13e942(0x161)]:{this[_0x13e942(0x318)]['every'](_0x2e87d8=>_0x2e87d8['id']===_0x2b8d0b['id'])?_0x190566=lr(this['_pendingMutations'],this[_0x13e942(0x134)],this['_univerInstanceService'],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]):_0x190566=zt(this['_pendingMutations'],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}default:throw new Error(_0x13e942(0x122)+this['type']+_0x13e942(0x248));}const {changeset:_0x24c866,pendingMutations:_0x436213}=_0x190566;this['_handler'][_0x13e942(0x284)](_0x24c866);const _0x18f91e=_0x436213['length']?this[_0x13e942(0x3eb)][_0x13e942(0x354)](ae,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,_0x436213,this[_0x13e942(0x2a0)],void 0x0):this[_0x13e942(0x3eb)][_0x13e942(0x354)](ue,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,this[_0x13e942(0x2a0)]);_0x18f91e[_0x13e942(0x13f)](),this['_handler'][_0x13e942(0x2a6)](this,_0x18f91e);},_0x2ffb94);}[_0x3fc0d2(0x209)](){var _0x34c8ce=_0x3fc0d2,_0x10ba17;const _0x12183=this[_0x34c8ce(0x281)][_0x34c8ce(0x3fe)](q);return(_0x10ba17=_0x12183==null?void 0x0:_0x12183['sendChangesetTimeout'])!=null?_0x10ba17:Cn;}[_0x3fc0d2(0x2bf)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x247212=_0x3fc0d2;this[_0x247212(0x15d)]!=null&&(clearTimeout(this[_0x247212(0x15d)]),this[_0x247212(0x15d)]=null);}[_0x3fc0d2(0x30e)](_0x48ad6c){var _0x11eb50=_0x3fc0d2;return this[_0x11eb50(0x266)](),this[_0x11eb50(0x3eb)][_0x11eb50(0x354)](de,this[_0x11eb50(0x134)],this[_0x11eb50(0x293)],null,this[_0x11eb50(0x318)],this[_0x11eb50(0x2a0)],_0x48ad6c);}};oe=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x4a0d65(xe)),A(0x7,_0x5c7efb),A(0x8,_0x478928),A(0x9,_0x10186),A(0xa,_0x44918b),A(0xb,_0x2e5298),A(0xc,_0x3a051e),A(0xd,_0x469180(J))],oe);let ue=class extends be{constructor(_0x4ae7c3,_0x47cf52,_0x265651,_0x57961b,_0x314c59,_0x5d2076,_0x57f87b,_0x5e08bf,_0x2353c1,_0xc6fd0f,_0x18ac80){var _0x445ec6=_0x3fc0d2;super(_0x4ae7c3,_0x47cf52,_0x265651,[],_0x57961b,_0x57f87b,_0xc6fd0f,_0x5d2076,_0x18ac80),N(this,_0x445ec6(0x1e6),_0x445ec6(0x1f5)),N(this,_0x445ec6(0x394),0x0),N(this,_0x445ec6(0x205)),N(this,_0x445ec6(0x22d)),(this[_0x445ec6(0x3eb)]=_0x314c59,this[_0x445ec6(0x3dd)]=_0x5e08bf,this[_0x445ec6(0x330)]=_0x2353c1);}['appendMutation'](_0x508002){var _0x383109=_0x3fc0d2;this[_0x383109(0x266)]();const _0x267f63=this[_0x383109(0x3eb)][_0x383109(0x354)](ae,this[_0x383109(0x134)],this['type'],this['_awaitingChangeset'],[_0x508002],this[_0x383109(0x2a0)],this[_0x383109(0x205)]);return _0x267f63['_updateLocalCache'](),_0x267f63;}[_0x3fc0d2(0x2f1)](_0x45703c){var _0xf955aa=_0x3fc0d2;if(this['_checkMissing'](_0x45703c))return this[_0xf955aa(0x266)](),this[_0xf955aa(0x3eb)][_0xf955aa(0x354)](te,this[_0xf955aa(0x134)],this[_0xf955aa(0x293)],this['_awaitingChangeset'],[],null,[_0x45703c],this['_handler']);try{const _0x4cf478=this[_0xf955aa(0x330)][_0xf955aa(0x385)]([_0x45703c],[this[_0xf955aa(0x14d)]],!0x1);if(_0x156ed7(_0x4cf478)){const {c1Prime:_0x5c3eb0,c2Prime:_0x3f3c01}=_0x4cf478;this[_0xf955aa(0x18d)](_0x5c3eb0[0x0]),_0x3f3c01[0x0]['baseRev']=this[_0xf955aa(0x16b)](),this[_0xf955aa(0x266)]();const _0x1e974d=this[_0xf955aa(0x3eb)]['createInstance'](ue,this[_0xf955aa(0x134)],this['type'],_0x3f3c01[0x0],this[_0xf955aa(0x2a0)]);return _0x1e974d['_updateLocalCache'](),_0x1e974d;}return this['_onConflict'](!0x1);}catch(_0x1cd90b){return this['_logService'][_0xf955aa(0x24c)](_0x1cd90b),this[_0xf955aa(0x30e)](!0x1);}}[_0x3fc0d2(0x3d5)](_0x4cf113){var _0xe7d8a2=_0x3fc0d2;this[_0xe7d8a2(0x266)]();const _0x368992=this[_0xe7d8a2(0x1c6)]['getCurrentRevOfUnit'](this[_0xe7d8a2(0x134)]);if(_0x4cf113[_0xe7d8a2(0x27e)]<_0x368992-0x1)return this;if(this[_0xe7d8a2(0x2d3)](_0x4cf113))return this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](te,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],null,[],this[_0xe7d8a2(0x14d)],[],this[_0xe7d8a2(0x2a0)]);this[_0xe7d8a2(0x26f)]();const _0x49fe3e=this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](De,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],this[_0xe7d8a2(0x2a0)]);return _0x49fe3e[_0xe7d8a2(0x13f)](),_0x49fe3e;}[_0x3fc0d2(0x3d8)](_0x1b7b5b){var _0x4bb8a3=_0x3fc0d2;return this[_0x4bb8a3(0x30e)](!!(_0x1b7b5b!=null&&_0x1b7b5b[_0x4bb8a3(0x339)]));}[_0x3fc0d2(0x190)](_0x2f94bf){var _0xcb46c3=_0x3fc0d2;return this[_0xcb46c3(0x394)]>Ni?this[_0xcb46c3(0x270)]():(this['_resendTimer']=Oi(this[_0xcb46c3(0x394)],{'timeout':this[_0xcb46c3(0x394)],'reqId':_0x2f94bf['reqId']}),this['_sender']=this[_0xcb46c3(0x205)][_0xcb46c3(0x206)](({reqId:_0x162f05,timeout:_0x26e8bd})=>{var _0xfa21ec=_0xcb46c3;this[_0xfa21ec(0x23c)](_0x162f05,_0x26e8bd);}),this);}[_0x3fc0d2(0x270)](){var _0x3e8f49=_0x3fc0d2;return this[_0x3e8f49(0x266)](),this[_0x3e8f49(0x3eb)][_0x3e8f49(0x354)](fe,this['unitID'],this[_0x3e8f49(0x293)],this['_awaitingChangeset'],[],this[_0x3e8f49(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x4eb285=_0x3fc0d2;this[_0x4eb285(0x2a0)][_0x4eb285(0x284)](this['_awaitingChangeset']);}[_0x3fc0d2(0x30e)](_0x4c51ac){var _0x48e630=_0x3fc0d2;return this['_clearScheduledTask'](),this[_0x48e630(0x3eb)][_0x48e630(0x354)](de,this[_0x48e630(0x134)],this[_0x48e630(0x293)],this['_awaitingChangeset'],[],this[_0x48e630(0x2a0)],_0x4c51ac);}['_resendWithTimeout'](_0x4e9d84,_0x2d1b62){var _0x3611a0=_0x3fc0d2,_0x1f8c2e;_0x4e9d84===((_0x1f8c2e=this[_0x3611a0(0x14d)])==null?void 0x0:_0x1f8c2e[_0x3611a0(0x2e8)])&&(this[_0x3611a0(0x2bf)](),this['_resendTimeout']=_0x2d1b62===0x0?0x3e8:_0x2d1b62*0x2);}[_0x3fc0d2(0x266)](){var _0x3ffa37=_0x3fc0d2,_0x1a4076;(_0x1a4076=this[_0x3ffa37(0x22d)])==null||_0x1a4076['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x3a051e),A(0xa,_0x469180(J))],ue);let ae=class extends be{constructor(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0x3c827c,_0x7aa5eb,_0xa4d51c,_0xe35e6d,_0xa0ad5c,_0x2ecbd0,_0x50a353,_0x404847){var _0x352431=_0x3fc0d2;super(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0xe35e6d,_0x50a353,_0xa4d51c,_0x404847),N(this,_0x352431(0x1e6),'awaiting_with_pending'),N(this,_0x352431(0x394),0x0),N(this,_0x352431(0x205)),N(this,_0x352431(0x22d)),(this[_0x352431(0x3eb)]=_0x7aa5eb,this['_logService']=_0xa0ad5c,this[_0x352431(0x330)]=_0x2ecbd0,this[_0x352431(0x278)]=_0x404847,_0x3c827c&&(this[_0x352431(0x205)]=_0x3c827c,this[_0x352431(0x22d)]=this['_resendTimer'][_0x352431(0x206)](({reqId:_0x1576a8,timeout:_0x1362c8})=>{var _0x71853a=_0x352431;this[_0x71853a(0x23c)](_0x1576a8,_0x1362c8);})));}['appendMutation'](_0x1607ce){var _0xb18c09=_0x3fc0d2;return this[_0xb18c09(0x318)]['push'](_0x1607ce),this;}[_0x3fc0d2(0x2f1)](_0x1a69e4){var _0x371dbb=_0x3fc0d2;if(this[_0x371dbb(0x2d3)](_0x1a69e4))return this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](te,this[_0x371dbb(0x134)],this['type'],this[_0x371dbb(0x14d)],this[_0x371dbb(0x318)],null,[_0x1a69e4],this[_0x371dbb(0x2a0)]);try{const _0x5d24bf=this[_0x371dbb(0x330)][_0x371dbb(0x385)]([_0x1a69e4],[this[_0x371dbb(0x14d)]],!0x1);if(_0x156ed7(_0x5d24bf)){const {c1Prime:_0x52bbf2,c2Prime:_0x4d7ce6}=_0x5d24bf,_0x5b987f=this[_0x371dbb(0x330)]['transformMutationsWithChangeset'](_0x52bbf2[0x0],this['_pendingMutations']);if(_0x4911e8(_0x5b987f)){const {c1Prime:_0x41a939,m2Prime:_0x2b61e1}=_0x5b987f;return this['_executeRemoteChangeset'](_0x41a939),_0x4d7ce6[0x0][_0x371dbb(0x391)]=this[_0x371dbb(0x16b)](),this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](ae,this[_0x371dbb(0x134)],this['type'],_0x4d7ce6[0x0],_0x2b61e1,this[_0x371dbb(0x2a0)],void 0x0);}throw _0x5b987f[_0x371dbb(0x24c)];}throw _0x5d24bf[_0x371dbb(0x24c)];}catch(_0x564718){return this[_0x371dbb(0x3dd)]['error'](_0x564718),this[_0x371dbb(0x30e)](!0x1);}}['onRemoteAck'](_0x5cdefb){var _0x47bc3b=_0x3fc0d2;if(this[_0x47bc3b(0x266)](),this[_0x47bc3b(0x2d3)](_0x5cdefb))return this[_0x47bc3b(0x3eb)][_0x47bc3b(0x354)](te,this[_0x47bc3b(0x134)],this[_0x47bc3b(0x293)],null,this[_0x47bc3b(0x318)],this[_0x47bc3b(0x14d)],[],this[_0x47bc3b(0x2a0)]);this[_0x47bc3b(0x26f)]();const _0xda55e=this['_injector'][_0x47bc3b(0x354)](oe,this[_0x47bc3b(0x134)],this['type'],this[_0x47bc3b(0x318)],this['_handler']);return _0xda55e[_0x47bc3b(0x292)](),_0xda55e[_0x47bc3b(0x13f)](),_0xda55e;}[_0x3fc0d2(0x3d8)](_0x2792a9){var _0x377dd2=_0x3fc0d2;return this[_0x377dd2(0x30e)](!!(_0x2792a9!=null&&_0x2792a9['isPermissionRej']));}[_0x3fc0d2(0x190)](_0x486386){var _0x4ebc9b=_0x3fc0d2;return this[_0x4ebc9b(0x394)]>Ni?this[_0x4ebc9b(0x270)]():(this[_0x4ebc9b(0x205)]=Oi(this['_resendTimeout'],{'timeout':this[_0x4ebc9b(0x394)],'reqId':_0x486386['reqId']}),this['_sender']=this[_0x4ebc9b(0x205)]['subscribe'](({reqId:_0x3a80ae,timeout:_0x3d0c59})=>{var _0x4cadf7=_0x4ebc9b;this[_0x4cadf7(0x23c)](_0x3a80ae,_0x3d0c59);}),this);}[_0x3fc0d2(0x270)](){var _0x1350dd=_0x3fc0d2;return this[_0x1350dd(0x266)](),this[_0x1350dd(0x3eb)]['createInstance'](fe,this[_0x1350dd(0x134)],this[_0x1350dd(0x293)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1350dd(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x1c79ef=_0x3fc0d2;this[_0x1c79ef(0x2a0)]['onSendChangeset'](this[_0x1c79ef(0x14d)]);}[_0x3fc0d2(0x30e)](_0x136239){var _0x266194=_0x3fc0d2;return this[_0x266194(0x266)](),this[_0x266194(0x3eb)][_0x266194(0x354)](de,this[_0x266194(0x134)],this[_0x266194(0x293)],null,this['_pendingMutations'],this[_0x266194(0x2a0)],_0x136239);}[_0x3fc0d2(0x23c)](_0x4ed9c3,_0x428f8e){var _0x208ee5=_0x3fc0d2,_0x435494;_0x4ed9c3===((_0x435494=this['_awaitingChangeset'])==null?void 0x0:_0x435494[_0x208ee5(0x2e8)])&&(this['resend'](),this[_0x208ee5(0x394)]=_0x428f8e===0x0?0x3e8:_0x428f8e*0x2);}[_0x3fc0d2(0x266)](){var _0x467ec=_0x3fc0d2,_0x27fa0c;(_0x27fa0c=this[_0x467ec(0x22d)])==null||_0x27fa0c[_0x467ec(0x2ea)](),this[_0x467ec(0x394)]=0x0;}};ae=Re([A(0x6,_0x4a0d65(_0x3e5f47)),A(0x7,_0x4a0d65(_0x306d90)),A(0x8,_0x478928),A(0x9,_0x5c7efb),A(0xa,_0x44918b),A(0xb,_0x3a051e),A(0xc,_0x469180(J))],ae);let de=class extends be{constructor(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x5688d4=!0x1,_0x4018cd,_0x238806,_0x3484c3,_0x2d5b68,_0x30394d,_0xedeaf6,_0xbd3b47){var _0x8230d1=_0x3fc0d2;super(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x238806,_0x3484c3,_0x2d5b68,_0xbd3b47),N(this,_0x8230d1(0x1e6),_0x8230d1(0x1ec)),(this[_0x8230d1(0x369)]=_0x5688d4,this['_permissionService']=_0x4018cd,this[_0x8230d1(0x1a0)]=_0x30394d,this['_collaborationUIEventService']=_0xedeaf6,this['localCacheService']=_0xbd3b47,this['_showConflictNotification'](),this[_0x8230d1(0x3f8)](),this[_0x8230d1(0x219)]());}[_0x3fc0d2(0x240)](){return this;}[_0x3fc0d2(0x2f1)](){return this;}[_0x3fc0d2(0x3d5)](){return this;}[_0x3fc0d2(0x3d8)](){return this;}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){return this;}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x285ae1=_0x3fc0d2;throw new Error(_0x285ae1(0x234));}[_0x3fc0d2(0x3f8)](){var _0x4cdbce=_0x3fc0d2,_0x29e043;(_0x29e043=this['_localCacheService'])==null||_0x29e043[_0x4cdbce(0x334)](this['unitID'],this['type'],null,[]);}[_0x3fc0d2(0x24d)](){var _0x5225bb=_0x3fc0d2;this[_0x5225bb(0x369)]?this[_0x5225bb(0x123)][_0x5225bb(0x3e6)]({'id':se[_0x5225bb(0x19c)]}):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5225bb(0x1b4)]});}[_0x3fc0d2(0x219)](){var _0x2830e5=_0x3fc0d2;this[_0x2830e5(0x1cd)][_0x2830e5(0x38a)](new _0x54a994(this[_0x2830e5(0x134)])['id'],!0x1);}};de=Re([A(0x6,_0x4a0d65(_0x8735be)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x4a0d65(_0x306d90)),A(0xa,_0x4a0d65(_0x5d25bf)),A(0xb,_0x4a0d65(pe)),A(0xc,_0x469180(J))],de);let fe=class extends be{constructor(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x1a1f97,_0x1b1528,_0x47d72c,_0x27d5e5,_0x47a555){var _0x23ee99=_0x3fc0d2;super(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x47d72c,_0x27d5e5,_0x1b1528,_0x47a555),N(this,_0x23ee99(0x1e6),_0x23ee99(0x181)),this[_0x23ee99(0x3eb)]=_0x1a1f97;}[_0x3fc0d2(0x240)](_0x25979b){var _0x33b158=_0x3fc0d2;return this[_0x33b158(0x318)][_0x33b158(0x1ba)](_0x25979b),this[_0x33b158(0x13f)](),this;}['onRemoteChangeset'](_0x19d178){var _0x43b2db=_0x3fc0d2;throw new Error(_0x43b2db(0x213));}[_0x3fc0d2(0x3d5)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4bb757=_0x3fc0d2;throw new Error(_0x4bb757(0x1a1));}[_0x3fc0d2(0x190)](){return this;}['toggleOffline'](){return this;}[_0x3fc0d2(0x2d5)](){var _0x5db7bd=_0x3fc0d2;const {_injector:_0x15a674,_pendingMutations:_0x2a6b8a,_awaitingChangeset:_0x379c0a,unitID:_0x2cef52,_handler:_0x38372f,type:_0x1964a4}=this,_0x5d020d=Di(_0x15a674,_0x2cef52,_0x1964a4,_0x379c0a,_0x2a6b8a,_0x38372f);return _0x5d020d instanceof oe?_0x5d020d[_0x5db7bd(0x292)]():(_0x5d020d instanceof ae||_0x5d020d instanceof ue)&&_0x5d020d[_0x5db7bd(0x2bf)](),_0x5d020d;}['resend'](){var _0x23149d=_0x3fc0d2;throw new Error(_0x23149d(0x1af));}};fe=Re([A(0x5,_0x4a0d65(_0x3e5f47)),A(0x6,_0x4a0d65(_0x306d90)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x469180(J))],fe);let te=class extends be{constructor(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x40d775,_0x2d021a,_0x3c09ef,_0x5d28fb,_0x5db6df,_0x26bb16,_0x644a44,_0xad6811,_0x4c9ac8,_0x3622c0){var _0x599831=_0x3fc0d2;super(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x3c09ef,_0x644a44,_0xad6811,_0x5db6df,_0x3622c0),N(this,'status',_0x599831(0x2dc)),(this['_acknowledgedAwaitingChangeset']=_0x40d775,this[_0x599831(0x30c)]=_0x2d021a,this[_0x599831(0x3eb)]=_0x5d28fb,this[_0x599831(0x3dd)]=_0x26bb16,this[_0x599831(0x330)]=_0x4c9ac8,this[_0x599831(0x278)]=_0x3622c0);}[_0x3fc0d2(0x2f6)](_0x37c26d){var _0x1207d4=_0x3fc0d2;try{const _0x550d67=[..._0x37c26d,...this[_0x1207d4(0x30c)]],_0x1910f1=[this[_0x1207d4(0x14d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x14423a=>!!_0x14423a);let _0x258852,_0x3ff985;if(_0x1910f1[_0x1207d4(0x2ee)]){const _0x4a0ca9=this['_transformService'][_0x1207d4(0x385)](_0x550d67,_0x1910f1,!0x1);if(!_0x156ed7(_0x4a0ca9))throw _0x4a0ca9[_0x1207d4(0x24c)];_0x258852=_0x4a0ca9[_0x1207d4(0x3b3)],_0x3ff985=_0x4a0ca9[_0x1207d4(0x1d2)];}else _0x258852=_0x550d67,_0x3ff985=[];let _0x562090=this[_0x1207d4(0x318)];_0x258852['forEach'](_0x559df6=>{var _0x2f425c=_0x1207d4;let _0x3f28c9;if(_0x562090[_0x2f425c(0x2ee)]){const _0x2f91bf=this[_0x2f425c(0x330)][_0x2f425c(0x37b)](_0x559df6,_0x562090);if(!_0x4911e8(_0x2f91bf))throw _0x2f91bf[_0x2f425c(0x24c)];_0x3f28c9=_0x2f91bf[_0x2f425c(0x3b3)],_0x562090=_0x2f91bf[_0x2f425c(0x1fc)];}else _0x3f28c9=_0x559df6;this[_0x2f425c(0x18d)](_0x3f28c9);}),this[_0x1207d4(0x34a)]&&this[_0x1207d4(0x26f)](),this[_0x1207d4(0x14d)]&&_0x3ff985[_0x1207d4(0x2ee)]&&(_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)]());let _0x4d02dd;if(this[_0x1207d4(0x14d)]&&_0x562090[_0x1207d4(0x2ee)]!==0x0)_0x4d02dd=this['_injector'][_0x1207d4(0x354)](ae,this[_0x1207d4(0x134)],this['type'],_0x3ff985[0x0],_0x562090,this[_0x1207d4(0x2a0)],void 0x0);else{if(this['_awaitingChangeset']&&_0x562090[_0x1207d4(0x2ee)]===0x0)_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)](),_0x4d02dd=this[_0x1207d4(0x3eb)]['createInstance'](ue,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],_0x3ff985[0x0],this[_0x1207d4(0x2a0)]);else{if(_0x562090[_0x1207d4(0x2ee)]!==0x0){const _0x680e6=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](oe,this[_0x1207d4(0x134)],this['type'],_0x562090,this[_0x1207d4(0x2a0)]);_0x680e6[_0x1207d4(0x292)](),_0x4d02dd=_0x680e6;}else _0x4d02dd=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](De,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x2a0)]);}}return _0x4d02dd[_0x1207d4(0x13f)](),_0x4d02dd;}catch(_0x46d6a2){return this[_0x1207d4(0x3dd)][_0x1207d4(0x24c)](_0x1207d4(0x315),_0x1207d4(0x340),_0x46d6a2),this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](de,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x14d)],this['_pendingMutations'],this[_0x1207d4(0x2a0)],!0x1);}}[_0x3fc0d2(0x2bf)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3fc0d2(0x240)](_0x35e75d){var _0x1c066b=_0x3fc0d2;return this[_0x1c066b(0x318)]['push'](_0x35e75d),this;}['onRemoteChangeset'](_0x368639){var _0x5edfcc=_0x3fc0d2;return this[_0x5edfcc(0x30c)][_0x5edfcc(0x1ba)](_0x368639),this;}[_0x3fc0d2(0x3d5)](_0x1dcd56){var _0x3a2fab=_0x3fc0d2;if(this[_0x3a2fab(0x14d)])return this['_acknowledgedAwaitingChangeset']=this[_0x3a2fab(0x14d)],this[_0x3a2fab(0x14d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3fc0d2(0x3d8)](_0xb14f32){var _0x32ba98=_0x3fc0d2;return this[_0x32ba98(0x30e)](!!(_0xb14f32!=null&&_0xb14f32[_0x32ba98(0x339)]));}['onRemoteRetry'](){return this;}[_0x3fc0d2(0x270)](){var _0x2b4245=_0x3fc0d2;return this[_0x2b4245(0x3eb)]['createInstance'](fe,this[_0x2b4245(0x134)],this[_0x2b4245(0x293)],this[_0x2b4245(0x14d)],this['_pendingMutations'],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x30e)](_0x2df1ad){var _0x5e558b=_0x3fc0d2;return this[_0x5e558b(0x3eb)][_0x5e558b(0x354)](de,this[_0x5e558b(0x134)],this[_0x5e558b(0x293)],this[_0x5e558b(0x14d)],this[_0x5e558b(0x318)],this['_handler'],_0x2df1ad);}};te=Re([A(0x7,_0x4a0d65(_0x3e5f47)),A(0x8,_0x4a0d65(_0x306d90)),A(0x9,_0x5c7efb),A(0xa,_0x478928),A(0xb,_0x3a051e),A(0xc,_0x44918b),A(0xd,_0x469180(J))],te);function Di(_0x581cdd,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb){var _0xcdebe3=_0x3fc0d2;return _0x3a1089&&_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](ae,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb,void 0x0):_0x3a1089?_0x581cdd['createInstance'](ue,_0x149506,_0x116a07,_0x3a1089,_0x3fd2eb):_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](oe,_0x149506,_0x116a07,_0x44b7aa,_0x3fd2eb):_0x581cdd[_0xcdebe3(0x354)](De,_0x149506,_0x116a07,_0x3fd2eb);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1f9852,_0x4f27a4,_0x51432d,_0xf8b6cf)=>{var _0x3ef0d9=_0x3fc0d2;for(var _0x4c633e=_0xf8b6cf>0x1?void 0x0:_0xf8b6cf?pr(_0x4f27a4,_0x51432d):_0x4f27a4,_0x54822c=_0x1f9852[_0x3ef0d9(0x2ee)]-0x1,_0x366aea;_0x54822c>=0x0;_0x54822c--)(_0x366aea=_0x1f9852[_0x54822c])&&(_0x4c633e=(_0xf8b6cf?_0x366aea(_0x4f27a4,_0x51432d,_0x4c633e):_0x366aea(_0x4c633e))||_0x4c633e);return _0xf8b6cf&&_0x4c633e&&vr(_0x4f27a4,_0x51432d,_0x4c633e),_0x4c633e;},k=(_0x5e4925,_0x283e79)=>(_0x75c76,_0x358c39)=>_0x283e79(_0x75c76,_0x358c39,_0x5e4925);let nt=class extends _0x2ac02b{constructor(_0x3f14dd,_0x56b465,_0x5b6073,_0x573da2,_0x45b3e2,_0x1469c2,_0x101d28,_0x3e37f5,_0x4510a9,_0x3ae33c,_0x32ce97,_0x3cd3f3,_0x469762){var _0x421c34=_0x3fc0d2;super(),N(this,_0x421c34(0x245),new _0x257515(null)),N(this,_0x421c34(0x157),this[_0x421c34(0x245)][_0x421c34(0x357)]()),N(this,_0x421c34(0x21f)),N(this,_0x421c34(0x34b),!0x1),N(this,_0x421c34(0x2b5),''),N(this,_0x421c34(0x14e),0x0),N(this,_0x421c34(0x3b1),this['state$'][_0x421c34(0x348)](_0x264ca7(_0x47e842=>_0x47e842?_0x47e842[_0x421c34(0x1e6)]:yi[_0x421c34(0x10f)]),_0x3c2e07(0x1))),N(this,_0x421c34(0x342),!0x1),N(this,_0x421c34(0x110),[]),(this[_0x421c34(0x134)]=_0x3f14dd,this[_0x421c34(0x1bc)]=_0x56b465,this[_0x421c34(0x148)]=_0x5b6073,this['_injector']=_0x573da2,this[_0x421c34(0x28e)]=_0x45b3e2,this['_localeService']=_0x1469c2,this[_0x421c34(0x1c6)]=_0x101d28,this[_0x421c34(0x3c2)]=_0x3e37f5,this[_0x421c34(0x3dd)]=_0x4510a9,this[_0x421c34(0x1f3)]=_0x3ae33c,this[_0x421c34(0x1cd)]=_0x32ce97,this['_singleActiveUnitService']=_0x3cd3f3,this[_0x421c34(0x346)]=_0x469762);}get[_0x3fc0d2(0x13e)](){return this['_state'];}async[_0x3fc0d2(0x236)](){var _0x525035=_0x3fc0d2;if(this['state'])throw new Error(_0x525035(0x378));await this[_0x525035(0x1ca)]();}[_0x3fc0d2(0x2ad)](){var _0x237ff7=_0x3fc0d2;return this[_0x237ff7(0x34b)]=!0x0,_0x5af85c(()=>{var _0x416062=_0x237ff7;this['_collaborationPaused']=!0x1,this[_0x416062(0x259)]();});}[_0x3fc0d2(0x198)](_0xbcaf4){var _0x517280=_0x3fc0d2;this[_0x517280(0x1be)](_0xbcaf4);}[_0x3fc0d2(0x2fb)](_0x5632ce){var _0x486073=_0x3fc0d2;this[_0x486073(0x21f)]=_0x5632ce,this[_0x486073(0x245)][_0x486073(0x400)](_0x5632ce);}async[_0x3fc0d2(0x1ca)](){var _0x14f237=_0x3fc0d2,_0x34a8fc;this[_0x14f237(0x2fb)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x34a8fc=this[_0x14f237(0x156)])==null||_0x34a8fc[_0x14f237(0x332)](this['unitID']),this[_0x14f237(0x301)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x14f237(0x134)])[_0x14f237(0x206)](_0x2d793e=>{var _0xfaefa5=_0x14f237;this[_0xfaefa5(0x3dd)]['debug'](_0xfaefa5(0x2da),'editing\x20status\x20changed\x20to',_0x2d793e),_0x2d793e===bi[_0xfaefa5(0x396)]?(this[_0xfaefa5(0x3c2)][_0xfaefa5(0x3e6)]({'id':se[_0xfaefa5(0x404)]}),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x38a)](new _0x54a994(this['unitID'])['id'],!0x1),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x1)):(this['_permissionService'][_0xfaefa5(0x38a)](new _0x54a994(this[_0xfaefa5(0x134)])['id'],!0x0),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x0));})));let _0x29bd11=!0x1;return this[_0x14f237(0x301)](this[_0x14f237(0x1bc)]['sessionStatus$']['subscribe'](_0x397bf5=>{var _0x4c41e7=_0x14f237;_0x397bf5===Te['ONLINE']?this[_0x4c41e7(0x2a5)](_0x29bd11):_0x397bf5===Te[_0x4c41e7(0x10f)]&&(_0x29bd11=!0x0,this[_0x4c41e7(0x191)]());})),this[_0x14f237(0x301)](this['session'][_0x14f237(0x2c1)]['subscribe'](_0x14aa55=>{var _0xa9ac7=_0x14f237;try{switch(_0x14aa55['eventID']){case _0x5e0126[_0xa9ac7(0x3c4)]:{this['_onRemoteChangeset'](_0x3b69de(_0x14aa55[_0xa9ac7(0x144)]));break;}case _0x5e0126[_0xa9ac7(0x376)]:{this[_0xa9ac7(0x17c)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126[_0xa9ac7(0x3ea)]:{this[_0xa9ac7(0x255)]();break;}case _0x5e0126[_0xa9ac7(0x2d1)]:{this[_0xa9ac7(0x167)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x14aa55[_0xa9ac7(0x144)][_0xa9ac7(0x2e1)][_0xa9ac7(0x2e9)](_0x3c450c=>_0x3b69de(_0x3c450c)));break;}case _0x5e0126[_0xa9ac7(0x3ab)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5e0126[_0xa9ac7(0x1c1)]:break;}}catch(_0xcce13b){throw console[_0xa9ac7(0x24c)](_0xa9ac7(0x3cd),_0xcce13b),_0xcce13b;}})),this[_0x14f237(0x21f)];}[_0x3fc0d2(0x3ce)](){var _0x2fec72=_0x3fc0d2;this[_0x2fec72(0x342)]=!0x1;}['_lockTransition'](){var _0x18e345=_0x3fc0d2;if(this['_transitionLocked'])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[_0x18e345(0x342)]=!0x0;}[_0x3fc0d2(0x1be)](_0x37aac2){var _0x79382f=_0x3fc0d2;this['_lockTransition'](),this[_0x79382f(0x2fb)](this[_0x79382f(0x21f)][_0x79382f(0x240)](_0x37aac2)),this[_0x79382f(0x3ce)]();}[_0x3fc0d2(0x1db)](_0x30c6fb){var _0x53f5fa=_0x3fc0d2;if(!(_0x30c6fb[_0x53f5fa(0x27e)]<=this[_0x53f5fa(0x1c6)][_0x53f5fa(0x356)](this[_0x53f5fa(0x134)]))){if(this[_0x53f5fa(0x34b)]){this[_0x53f5fa(0x110)][_0x53f5fa(0x1ba)](_0x30c6fb);return;}this['_applyRemoteChangeset'](_0x30c6fb);}}[_0x3fc0d2(0x259)](){var _0x38704a=_0x3fc0d2;this[_0x38704a(0x110)][_0x38704a(0x25f)](_0x3bdbd8=>this['_applyRemoteChangeset'](_0x3bdbd8)),this[_0x38704a(0x110)]=[];}[_0x3fc0d2(0x3af)](_0x622001){var _0x28c211=_0x3fc0d2;const _0x19a52e=this[_0x28c211(0x28e)][_0x28c211(0x349)][_0x28c211(0x241)](this[_0x28c211(0x28e)]['interceptor'][_0x28c211(0x244)]()[_0x28c211(0x352)])(_0x622001[_0x28c211(0x402)],null)||_0x622001[_0x28c211(0x402)],_0x31dabe={..._0x622001,'mutations':_0x19a52e};this[_0x28c211(0x317)](),this['_updateState'](this[_0x28c211(0x21f)]['onRemoteChangeset'](_0x31dabe)),this[_0x28c211(0x3ce)]();}['_onRemoteACK'](_0x1830fd){var _0x55daa5=_0x3fc0d2;this[_0x55daa5(0x317)](),this[_0x55daa5(0x2fb)](this[_0x55daa5(0x21f)][_0x55daa5(0x3d5)](_0x1830fd)),this[_0x55daa5(0x3ce)]();}['_onRemoteRejected'](_0x3ec5ea){var _0x1603a9=_0x3fc0d2;this['_lockTransition'](),this[_0x1603a9(0x2fb)](this[_0x1603a9(0x21f)]['onRemoteRej'](_0x3ec5ea)),this[_0x1603a9(0x3ce)]();}[_0x3fc0d2(0x167)](_0x1ff1e7){var _0x4deeaa=_0x3fc0d2;this[_0x4deeaa(0x317)](),this[_0x4deeaa(0x2fb)](this[_0x4deeaa(0x21f)][_0x4deeaa(0x190)](_0x1ff1e7)),this[_0x4deeaa(0x3ce)]();}['_onFetchMissResult'](_0xb77090){var _0x15fe86=_0x3fc0d2;if(!(this['_state']instanceof te))throw new TypeError(_0x15fe86(0x2ab));const _0x533e02=_0xb77090[_0x15fe86(0x2e9)](_0x5ad63a=>{var _0x5861f4=_0x15fe86;const _0x5acbcd=this[_0x5861f4(0x28e)][_0x5861f4(0x349)][_0x5861f4(0x241)](this['_compressMutationService'][_0x5861f4(0x349)][_0x5861f4(0x244)]()[_0x5861f4(0x352)])(_0x5ad63a[_0x5861f4(0x402)],null)||_0x5ad63a['mutations'];return{..._0x5ad63a,'mutations':_0x5acbcd};});this['_lockTransition'](),this[_0x15fe86(0x2fb)](this[_0x15fe86(0x21f)][_0x15fe86(0x2f6)](_0x533e02)),this['_unlockTransition']();}[_0x3fc0d2(0x191)](){var _0x1d02ee=_0x3fc0d2;this[_0x1d02ee(0x317)](),this[_0x1d02ee(0x2fb)](this['_state'][_0x1d02ee(0x270)]()),this[_0x1d02ee(0x3ce)]();}['_toggleOnline'](_0xa522a5=!0x1){var _0x5e42d7=_0x3fc0d2;this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](this[_0x5e42d7(0x21f)][_0x5e42d7(0x2d5)]()),this[_0x5e42d7(0x3ce)]();const _0x445cff=this['_state'];_0xa522a5&&_0x445cff instanceof De&&(this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](_0x445cff[_0x5e42d7(0x351)]()),this[_0x5e42d7(0x3ce)]());}async[_0x3fc0d2(0x31b)](){return new Promise(_0x425c48=>{var _0x2c15c0=_0x3335;this[_0x2c15c0(0x1bc)][_0x2c15c0(0x3e1)][_0x2c15c0(0x348)](_0x5e2b45(0x1))[_0x2c15c0(0x206)](async _0xd76f81=>{_0x425c48(await this['_createInitialStateImpl'](_0xd76f81===Te['ONLINE']));});});}[_0x3fc0d2(0x386)](){var _0x20e2fe=_0x3fc0d2;const _0x249e39=this[_0x20e2fe(0x134)];return{'onStateChange':(_0x324242,_0x4e901e)=>{var _0x31aaaa=_0x20e2fe;if(_0x324242!==this[_0x31aaaa(0x21f)])throw new Error(_0x31aaaa(0x2b3)+_0x324242[_0x31aaaa(0x1e6)]+'\x0aAfter:\x20'+_0x4e901e['status']+_0x31aaaa(0x29a)+this[_0x31aaaa(0x21f)]['status']);this[_0x31aaaa(0x2fb)](_0x4e901e);},'onSendChangeset':_0x569ed6=>{var _0x366eec=_0x20e2fe;_0x569ed6[_0x366eec(0x1d6)]||(_0x569ed6[_0x366eec(0x1d6)]=this[_0x366eec(0x2b5)],_0x569ed6[_0x366eec(0x2e8)]=++this['_changesetReqId']);const _0xa324c9={'eventID':_0x5e0126[_0x366eec(0x2b0)],'data':{'unitID':_0x569ed6[_0x366eec(0x134)],'unitType':this[_0x366eec(0x148)],'changeset':_0x569ed6,'memberID':this[_0x366eec(0x1bc)][_0x366eec(0x1b6)]()}};this[_0x366eec(0x1bc)][_0x366eec(0x306)](_0xa324c9,this[_0x366eec(0x134)]);},'onMissingChangesets':({from:_0x789e18,to:_0x116a6a})=>{var _0x367d51=_0x20e2fe;this[_0x367d51(0x3dd)][_0x367d51(0x3fa)](_0x367d51(0x2da),'fetching\x20missing\x20changesets\x20from\x20'+_0x789e18+_0x367d51(0x172)+_0x116a6a);const _0x10b845={'eventID':_0x5e0126[_0x367d51(0x393)],'data':{'unitID':_0x249e39,'unitType':this[_0x367d51(0x148)],'from':_0x789e18,'to':_0x116a6a}};this[_0x367d51(0x1bc)]['send'](_0x10b845,this[_0x367d51(0x134)]);}};}async[_0x3fc0d2(0x217)](_0x3d5b7f){var _0x1f0107=_0x3fc0d2,_0x56f504,_0xc8f093,_0x1ae1d6;const _0x4e797c=await((_0x56f504=this[_0x1f0107(0x346)])==null?void 0x0:_0x56f504['loadOfflineData'](this[_0x1f0107(0x134)])),_0x4c89d3=(_0xc8f093=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x402)])!=null?_0xc8f093:[],_0x3c5966=(_0x1ae1d6=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x1d9)])!=null?_0x1ae1d6:null,_0x39c5d5=!!(_0x3c5966!=null&&_0x3c5966[_0x1f0107(0x1d6)])&&!!(_0x3c5966!=null&&_0x3c5966['reqId']);this[_0x1f0107(0x2b5)]=_0x39c5d5?_0x3c5966['sid']:sr(),this[_0x1f0107(0x14e)]=_0x39c5d5?_0x3c5966[_0x1f0107(0x2e8)]:0x0;const _0x528f55=this[_0x1f0107(0x134)];try{this[_0x1f0107(0x2cc)](_0x3c5966,_0x4c89d3);}catch(_0xc16698){this[_0x1f0107(0x3dd)][_0x1f0107(0x24c)](_0xc16698);}const _0x339362=this[_0x1f0107(0x386)]();if(_0x3d5b7f){const _0x29de11=Di(this[_0x1f0107(0x3eb)],_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);return _0x29de11 instanceof oe?_0x29de11['_schedule']():(_0x29de11 instanceof ae||_0x29de11 instanceof ue)&&_0x29de11[_0x1f0107(0x2bf)](),_0x29de11;}return this[_0x1f0107(0x3eb)][_0x1f0107(0x354)](fe,_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);}[_0x3fc0d2(0x2cc)](_0x4ce39b,_0x54f584){var _0x3ad8ab=_0x3fc0d2,_0x56e7e8,_0x38d11a;const _0xd45c1d=this[_0x3ad8ab(0x28e)][_0x3ad8ab(0x349)][_0x3ad8ab(0x241)](this['_compressMutationService']['interceptor'][_0x3ad8ab(0x244)]()[_0x3ad8ab(0x352)]);(_0x56e7e8=_0xd45c1d((_0x4ce39b==null?void 0x0:_0x4ce39b[_0x3ad8ab(0x402)])||[],null))==null||_0x56e7e8[_0x3ad8ab(0x25f)](_0x549b3a=>this[_0x3ad8ab(0x1f3)]['executeCommand'](_0x549b3a['id'],_0x549b3a[_0x3ad8ab(0x3dc)])),(_0x38d11a=_0xd45c1d(_0x54f584||[],null))==null||_0x38d11a[_0x3ad8ab(0x25f)](_0x5e05d1=>this[_0x3ad8ab(0x1f3)][_0x3ad8ab(0x1d4)](_0x5e05d1['id'],_0x5e05d1[_0x3ad8ab(0x3dc)]));}};nt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],nt);let Tt=class extends nt{constructor(_0x1e38bb,_0x25c97c,_0xd8a02e,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6){var _0x5d5bca=_0x3fc0d2;super(_0x1e38bb,_0xd8a02e,_0x25c97c,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6),N(this,_0x5d5bca(0x22f),null),(this['unitID']=_0x1e38bb,this['type']=_0x25c97c);}[_0x3fc0d2(0x397)](_0x52754d){this['_handlerCallback']=_0x52754d;}['dispose'](){var _0x116cba=_0x3fc0d2;this[_0x116cba(0x22f)]=null,super[_0x116cba(0x232)]();}[_0x3fc0d2(0x386)](){var _0x44a87e=_0x3fc0d2;const _0x3e6c6d=super[_0x44a87e(0x386)]();return _0x3e6c6d[_0x44a87e(0x254)]=_0x216d0b=>{var _0x1308ca=_0x44a87e,_0x546caf,_0x2c456f;return(_0x2c456f=(_0x546caf=this['_handlerCallback'])==null?void 0x0:_0x546caf[_0x1308ca(0x254)])==null?void 0x0:_0x2c456f[_0x1308ca(0x130)](_0x546caf,_0x216d0b);},_0x3e6c6d['onTransformState']=_0x4d5ace=>{var _0x870ae5=_0x44a87e,_0x57edd6,_0x4aedc2;return(_0x4aedc2=(_0x57edd6=this['_handlerCallback'])==null?void 0x0:_0x57edd6['onTransformState'])==null?void 0x0:_0x4aedc2[_0x870ae5(0x130)](_0x57edd6,_0x4d5ace);},_0x3e6c6d[_0x44a87e(0x3e2)]=_0x1c835b=>{var _0x5d4af5=_0x44a87e,_0x51817c,_0x1cd852;return(_0x1cd852=(_0x51817c=this['_handlerCallback'])==null?void 0x0:_0x51817c[_0x5d4af5(0x3e2)])==null?void 0x0:_0x1cd852[_0x5d4af5(0x130)](_0x51817c,_0x1c835b);},_0x3e6c6d['onSyncEditingCollabCursor']=_0x3449a2=>{var _0x23987d=_0x44a87e,_0x3d7222,_0x3ca5db;return(_0x3ca5db=(_0x3d7222=this[_0x23987d(0x22f)])==null?void 0x0:_0x3d7222[_0x23987d(0x2d8)])==null?void 0x0:_0x3ca5db[_0x23987d(0x130)](_0x3d7222,_0x3449a2);},_0x3e6c6d[_0x44a87e(0x3a8)]=_0x9f1189=>{var _0x320591=_0x44a87e,_0x28e6fa,_0xd206c1,_0x521d29;if(!((_0x28e6fa=this['_handlerCallback'])!=null&&_0x28e6fa[_0x320591(0x3a8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x521d29=(_0xd206c1=this[_0x320591(0x22f)])==null?void 0x0:_0xd206c1['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x521d29['call'](_0xd206c1,_0x9f1189);},_0x3e6c6d[_0x44a87e(0x38b)]=_0x1a5438=>{var _0x5ee00c=_0x44a87e,_0x4ddc61,_0x1d911e,_0x296640;if(!((_0x4ddc61=this[_0x5ee00c(0x22f)])!=null&&_0x4ddc61[_0x5ee00c(0x38b)]))throw new Error(_0x5ee00c(0x288));return(_0x296640=(_0x1d911e=this['_handlerCallback'])==null?void 0x0:_0x1d911e[_0x5ee00c(0x38b)])==null?void 0x0:_0x296640['call'](_0x1d911e,_0x1a5438);},_0x3e6c6d;}async[_0x3fc0d2(0x1ca)](){var _0x2e0283=_0x3fc0d2;const _0x132771=await super['_init']();return this[_0x2e0283(0x301)](this[_0x2e0283(0x1f3)][_0x2e0283(0x124)]((_0x45e51a,_0x4540e5)=>{var _0x255c80=_0x2e0283;if(_0x45e51a['type']!==_0x439428[_0x255c80(0x28c)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x14a)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x273)]||_0x45e51a['id']===_0x2b8d0b['id'])return;const _0x3f36d7=_0x45e51a[_0x255c80(0x3dc)];if((_0x3f36d7==null?void 0x0:_0x3f36d7['unitId'])!==this['unitID'])return;const _0x4ab34d=_0x45e51a,_0x1a0784=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x255c80(0x349)][_0x255c80(0x244)]()[_0x255c80(0x3ff)])([_0x4ab34d],null)||[_0x4ab34d];this[_0x255c80(0x1be)](_0x1a0784[0x0]);})),_0x132771;}};Tt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],Tt);let Ct=class extends nt{constructor(_0x1471cb,_0x40570c,_0x4819f6,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x4a4358,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a){var _0x8f5f9e=_0x3fc0d2;super(_0x1471cb,_0x4819f6,_0x40570c,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a),this['unitID']=_0x1471cb,this[_0x8f5f9e(0x293)]=_0x40570c,this[_0x8f5f9e(0x15f)]=_0x4a4358;}['_createHandler'](){var _0x2fba76=_0x3fc0d2;const _0x498915=super['_createHandler']();return _0x498915[_0x2fba76(0x3e2)]=_0x254f6d=>this[_0x2fba76(0x15f)]['transformSelections'](_0x254f6d),_0x498915;}async[_0x3fc0d2(0x1ca)](){var _0x4ae557=_0x3fc0d2;const _0x4445fc=await super[_0x4ae557(0x1ca)]();return this['disposeWithMe'](this[_0x4ae557(0x1f3)]['onCommandExecuted']((_0x4cd2fc,_0x16ccc1)=>{var _0x1b98e9=_0x4ae557;if(_0x4cd2fc['type']!==_0x439428[_0x1b98e9(0x28c)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x14a)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x273)])return;const _0x1b45d4=_0x4cd2fc[_0x1b98e9(0x3dc)];if((_0x1b45d4==null?void 0x0:_0x1b45d4[_0x1b98e9(0x200)])!==this['unitID'])return;const _0x2bbe4c=_0x4cd2fc,_0x3ee002=this[_0x1b98e9(0x28e)]['interceptor'][_0x1b98e9(0x241)](this['_compressMutationService'][_0x1b98e9(0x349)][_0x1b98e9(0x244)]()['COMPRESS_MUTATION_SEND'])([_0x2bbe4c],null)||[_0x2bbe4c];this[_0x1b98e9(0x1be)](_0x3ee002[0x0]);})),_0x4445fc;}};Ct=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(it)),k(0x8,_0x4a0d65(pe)),k(0x9,_0x5c7efb),k(0xa,_0x478928),k(0xb,_0x8735be),k(0xc,_0x469180(ht)),k(0xd,_0x469180(J))],Ct);var mr=Object[_0x3fc0d2(0x272)],gr=Object[_0x3fc0d2(0x314)],Sr=(_0x305ed9,_0x5b1a0e,_0x4964ac,_0x24e53c)=>{var _0x909173=_0x3fc0d2;for(var _0x4fb4c4=_0x24e53c>0x1?void 0x0:_0x24e53c?gr(_0x5b1a0e,_0x4964ac):_0x5b1a0e,_0x26a5bb=_0x305ed9[_0x909173(0x2ee)]-0x1,_0x15fdaa;_0x26a5bb>=0x0;_0x26a5bb--)(_0x15fdaa=_0x305ed9[_0x26a5bb])&&(_0x4fb4c4=(_0x24e53c?_0x15fdaa(_0x5b1a0e,_0x4964ac,_0x4fb4c4):_0x15fdaa(_0x4fb4c4))||_0x4fb4c4);return _0x24e53c&&_0x4fb4c4&&mr(_0x5b1a0e,_0x4964ac,_0x4fb4c4),_0x4fb4c4;},ft=(_0x284a04,_0xb7a502)=>(_0x2310b9,_0x110069)=>_0xb7a502(_0x2310b9,_0x110069,_0x284a04);let rt=class extends _0x2ac02b{constructor(_0x3f70c3,_0x5988db,_0x34647b){var _0x29a463=_0x3fc0d2;super(),N(this,_0x29a463(0x3f5),new Map()),N(this,'_entityInit$',new _0x6e5a01()),N(this,_0x29a463(0x2b7),this[_0x29a463(0x113)][_0x29a463(0x357)]()),(this['_injector']=_0x3f70c3,this[_0x29a463(0x360)]=_0x5988db,this[_0x29a463(0x230)]=_0x34647b,this[_0x29a463(0x1ca)]());}['dispose'](){var _0x5323e9=_0x3fc0d2;super['dispose'](),this[_0x5323e9(0x3f5)][_0x5323e9(0x25f)](_0x2f2826=>_0x2f2826[_0x5323e9(0x232)]()),this[_0x5323e9(0x3f5)][_0x5323e9(0x21e)]();}[_0x3fc0d2(0x2ae)](_0x59c5cc){var _0x46a140=_0x3fc0d2,_0x784f7f;return(_0x784f7f=this['_entities'][_0x46a140(0x2db)](_0x59c5cc))!=null?_0x784f7f:null;}[_0x3fc0d2(0x3c9)](_0x458684){var _0x479020=_0x3fc0d2;const _0x26211e=this[_0x479020(0x2ae)](_0x458684);return _0x26211e?_0x48236b(_0x26211e):this['_entityInit$'][_0x479020(0x348)](_0x59d3b8(_0xd26c29=>_0xd26c29[_0x479020(0x134)]===_0x458684));}['readyForCollab'](_0xfd1b5){var _0x382c32=_0x3fc0d2;return _0x4c8811(this[_0x382c32(0x3c9)](_0xfd1b5)['pipe'](_0x1c1a45(()=>{})));}[_0x3fc0d2(0x1ca)](){var _0x231351=_0x3fc0d2;this[_0x231351(0x230)][_0x231351(0x2e6)](_0x56b6a1[_0x231351(0x252)])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x206)](async _0x32750c=>{var _0x2c10a0=_0x231351;const _0x5031d6=_0x32750c[_0x2c10a0(0x1da)](),_0x1b8ce4=await this['_startCollaboration'](_0x5031d6,Q[_0x2c10a0(0x252)]);this[_0x2c10a0(0x3f5)][_0x2c10a0(0x30a)](_0x5031d6,_0x1b8ce4);}),this[_0x231351(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1['UNIVER_DOC'])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x348)](_0x59d3b8(_0x327112=>!_0x327112[_0x231351(0x1da)]()[_0x231351(0x1a9)]('__')))[_0x231351(0x206)](async _0x102353=>{var _0x39f8e7=_0x231351;const _0x341833=_0x102353['getUnitId'](),_0x10a2e9=await this[_0x39f8e7(0x1ce)](_0x341833,Q[_0x39f8e7(0x161)]);this[_0x39f8e7(0x3f5)][_0x39f8e7(0x30a)](_0x341833,_0x10a2e9);}),_0x5a2e3b(this[_0x231351(0x230)][_0x231351(0x140)](_0x56b6a1[_0x231351(0x252)]),this['_univerInstanceService'][_0x231351(0x140)](_0x56b6a1['UNIVER_DOC']))[_0x231351(0x348)](_0x4c8071(this['dispose$']))[_0x231351(0x206)](_0x12a07d=>{var _0x57d373=_0x231351;const _0x2c3e10=_0x12a07d[_0x57d373(0x1da)](),_0x19297c=this['_entities'][_0x57d373(0x2db)](_0x2c3e10);_0x19297c&&(_0x19297c['dispose'](),this[_0x57d373(0x3f5)]['delete'](_0x2c3e10));});}async[_0x3fc0d2(0x1ce)](_0x2702d2,_0xc0848d){var _0x776780=_0x3fc0d2;const _0x23e18a=await this[_0x776780(0x360)][_0x776780(0x114)](_0x2702d2),_0x7dd21b=this[_0x776780(0x3eb)]['createInstance'](this['_getCtorByUniverType'](_0xc0848d),_0x2702d2,_0xc0848d,_0x23e18a);return await _0x7dd21b['init'](),this[_0x776780(0x113)][_0x776780(0x400)](_0x7dd21b),_0x7dd21b;}['_getCtorByUniverType'](_0x138360){var _0x3f5ef2=_0x3fc0d2;switch(_0x138360){case Q[_0x3f5ef2(0x161)]:return Tt;case Q[_0x3f5ef2(0x252)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x138360);}}};rt=Sr([ft(0x0,_0x4a0d65(_0x3e5f47)),ft(0x1,_0x4a0d65(Le)),ft(0x2,_0x2e5298)],rt);var Er=Object['defineProperty'],Ir=Object[_0x3fc0d2(0x314)],Tr=(_0x216d69,_0x670b5f,_0x4ecd7f,_0x5204ff)=>{var _0x48bb40=_0x3fc0d2;for(var _0x20ec6f=_0x5204ff>0x1?void 0x0:_0x5204ff?Ir(_0x670b5f,_0x4ecd7f):_0x670b5f,_0x19c841=_0x216d69[_0x48bb40(0x2ee)]-0x1,_0x32b728;_0x19c841>=0x0;_0x19c841--)(_0x32b728=_0x216d69[_0x19c841])&&(_0x20ec6f=(_0x5204ff?_0x32b728(_0x670b5f,_0x4ecd7f,_0x20ec6f):_0x32b728(_0x20ec6f))||_0x20ec6f);return _0x5204ff&&_0x20ec6f&&Er(_0x670b5f,_0x4ecd7f,_0x20ec6f),_0x20ec6f;},Jt=(_0x329202,_0x5ae0ba)=>(_0x13071c,_0x5651a3)=>_0x5ae0ba(_0x13071c,_0x5651a3,_0x329202);const Cr=_0x3fc0d2(0x25e),Rr=_0x3fc0d2(0x290);let Rt=class extends _0x1b3b68{constructor(_0x535b29,_0x41ba3d){var _0x1b8d49=_0x3fc0d2;super(),this[_0x1b8d49(0x230)]=_0x535b29,this[_0x1b8d49(0x281)]=_0x41ba3d,this[_0x1b8d49(0x1ca)]();}['_init'](){var _0x177bdf=_0x3fc0d2;this['disposeWithMe'](this['_univerInstanceService'][_0x177bdf(0x3d9)][_0x177bdf(0x206)](()=>{var _0xb5d4ce=_0x177bdf,_0x5ca3af;const _0x3ceb83=this[_0xb5d4ce(0x230)][_0xb5d4ce(0x302)]();let _0x316716=(_0x5ca3af=this[_0xb5d4ce(0x281)][_0xb5d4ce(0x3fe)](Cr))!=null?_0x5ca3af:Rr;_0x3ceb83 instanceof _0x18a076&&(_0x316716=_0x3ceb83[_0xb5d4ce(0x39c)]),document['title']=_0x316716;}));}};Rt=Tr([Jt(0x0,_0x2e5298),Jt(0x1,_0x10186)],Rt);var br=Object[_0x3fc0d2(0x272)],Or=Object[_0x3fc0d2(0x314)],yr=(_0x4e1af1,_0x5090f1,_0x4e6d91,_0x16b120)=>{for(var _0x53013e=_0x16b120>0x1?void 0x0:_0x16b120?Or(_0x5090f1,_0x4e6d91):_0x5090f1,_0x5a7091=_0x4e1af1['length']-0x1,_0x155db5;_0x5a7091>=0x0;_0x5a7091--)(_0x155db5=_0x4e1af1[_0x5a7091])&&(_0x53013e=(_0x16b120?_0x155db5(_0x5090f1,_0x4e6d91,_0x53013e):_0x155db5(_0x53013e))||_0x53013e);return _0x16b120&&_0x53013e&&br(_0x5090f1,_0x4e6d91,_0x53013e),_0x53013e;},vt=(_0x959bee,_0x227687)=>(_0x33c6eb,_0xc3fe2a)=>_0x227687(_0x33c6eb,_0xc3fe2a,_0x959bee);let st=class{constructor(_0x1b1e18,_0x44ac8f,_0x1a2aaa){var _0x559a2b=_0x3fc0d2;this[_0x559a2b(0x281)]=_0x1b1e18,this['_httpService']=_0x44ac8f,this[_0x559a2b(0x345)]=_0x1a2aaa,this[_0x559a2b(0x236)]();}[_0x3fc0d2(0x236)](){var _0x2d3796=_0x3fc0d2;this['_httpService'][_0x2d3796(0x358)]({'priority':0x1,'interceptor':(_0x219909,_0x3ebda8)=>_0x3ebda8(_0x219909)[_0x2d3796(0x348)](_0x386ba3(async _0x26ee5d=>{var _0x5b6753=_0x2d3796;const _0x1e9fa4=_0x26ee5d;if(_0x1e9fa4[_0x5b6753(0x1e6)]===0x191){if(typeof window>'u')throw new Error(_0x5b6753(0x347));if(window['confirm'](this['localeService']['t'](_0x5b6753(0x325)))){const _0x4e06ad=window[_0x5b6753(0x3ef)](window['location'][_0x5b6753(0x26a)]);window[_0x5b6753(0x39b)][_0x5b6753(0x26a)]=this[_0x5b6753(0x2f8)]()+_0x5b6753(0x227)+_0x4e06ad;}}return _0x1e9fa4;}))});}[_0x3fc0d2(0x2f8)](){var _0x4fd725=_0x3fc0d2,_0x4b4778,_0x22f6fe;const _0x5fb94e=this[_0x4fd725(0x281)][_0x4fd725(0x3fe)](xn),_0x575beb=this[_0x4fd725(0x281)]['getConfig'](q);return(_0x22f6fe=(_0x4b4778=_0x575beb==null?void 0x0:_0x575beb[_0x4fd725(0x1cc)])!=null?_0x4b4778:_0x5fb94e)!=null?_0x22f6fe:Ln;}};st=yr([vt(0x0,_0x10186),vt(0x1,_0x4a0d65(_0x242e5e)),vt(0x2,_0x4a0d65(_0x5d25bf))],st);var Nr=Object[_0x3fc0d2(0x272)],Dr=Object[_0x3fc0d2(0x314)],Pr=(_0x35b41b,_0x1a665a,_0x31fed4,_0x34ee92)=>{var _0x56cb4b=_0x3fc0d2;for(var _0x2186bf=_0x34ee92>0x1?void 0x0:_0x34ee92?Dr(_0x1a665a,_0x31fed4):_0x1a665a,_0x4e4b32=_0x35b41b[_0x56cb4b(0x2ee)]-0x1,_0x5b770e;_0x4e4b32>=0x0;_0x4e4b32--)(_0x5b770e=_0x35b41b[_0x4e4b32])&&(_0x2186bf=(_0x34ee92?_0x5b770e(_0x1a665a,_0x31fed4,_0x2186bf):_0x5b770e(_0x2186bf))||_0x2186bf);return _0x34ee92&&_0x2186bf&&Nr(_0x1a665a,_0x31fed4,_0x2186bf),_0x2186bf;},Xt=(_0x3c468a,_0x1ea401)=>(_0x30bcc5,_0x41a922)=>_0x1ea401(_0x30bcc5,_0x41a922,_0x3c468a);const Pi='AUTHZ_URL_KEY',wr=_0x3fc0d2(0x3e3);let bt=class extends _0x1b3b68{constructor(_0x26f47b,_0x1b98ec){var _0x2aab3c=_0x3fc0d2;super(),this[_0x2aab3c(0x1d5)]=_0x26f47b,this[_0x2aab3c(0x281)]=_0x1b98ec,this[_0x2aab3c(0x231)]();}['_initMergeInterceptor'](){var _0x2f136a=_0x3fc0d2;const _0x4e22ac=this;this[_0x2f136a(0x301)](this[_0x2f136a(0x1d5)][_0x2f136a(0x358)]({'priority':0x3e7,'interceptor':_0x473dc8({'isMatch'(_0x557d7a){var _0x264e74=_0x2f136a,_0x51f757;if(_0x557d7a['method']===_0x264e74(0x22e)&&((_0x51f757=_0x557d7a[_0x264e74(0x2a8)])!=null&&_0x51f757[_0x264e74(0x1b3)])){const {objectID:_0x4ca8ca,objectType:_0x59d59f}=_0x557d7a[_0x264e74(0x2a8)][_0x264e74(0x1b3)]||{};if(!_0x4ca8ca||_0x59d59f===void 0x0)return!0x1;const _0x2814d2=_0x4e22ac['_getAPIPrefixPath']()+'/'+_0x59d59f+_0x264e74(0x2ba)+_0x4ca8ca+_0x264e74(0x1d8);if(_0x557d7a[_0x264e74(0x1dd)]===_0x2814d2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25f4b0){var _0x959f44=_0x2f136a,_0x49da3d;return(_0x49da3d=_0x25f4b0[_0x959f44(0x2a8)])==null?void 0x0:_0x49da3d['body'];},'mergeParamsToRequest'(_0xaabc61,_0x5ac552){var _0x6780a9=_0x2f136a;const _0x45470c=_0x4e22ac[_0x6780a9(0x258)]()+_0x6780a9(0x19d),_0x103416=_0xaabc61[_0x6780a9(0x374)]((_0x35f795,_0x44d89f)=>{var _0x11e88b=_0x6780a9;const {unitID:_0x4bb40d,objectID:_0x550524,objectType:_0x8c5c9c,actions:_0x3845d4}=_0x44d89f;return _0x35f795[_0x4bb40d]||(_0x35f795[_0x4bb40d]={}),_0x35f795[_0x4bb40d][_0x550524]||(_0x35f795[_0x4bb40d][_0x550524]={'objectID':_0x550524,'objectType':_0x8c5c9c,'actions':[]}),_0x35f795[_0x4bb40d][_0x550524][_0x11e88b(0x3f0)]['push'](..._0x3845d4),_0x35f795;},{}),_0x1d2ab4=[];for(const _0x400fea in _0x103416)for(const _0x5da478 in _0x103416[_0x400fea]){const {actions:_0x57a9ac,objectType:_0x5ec74d}=_0x103416[_0x400fea][_0x5da478],_0x5e155e=[...new Set(_0x57a9ac)];_0x1d2ab4[_0x6780a9(0x1ba)]({'unitID':_0x400fea,'objectID':_0x5da478,'objectType':_0x5ec74d,'actions':_0x5e155e});}return new _0x147814(_0x6780a9(0x22e),_0x45470c,{'headers':_0x5ac552[_0x6780a9(0x139)],'withCredentials':_0x5ac552[_0x6780a9(0x289)],'responseType':_0x5ac552[_0x6780a9(0x1e4)],'body':{'requests':_0x1d2ab4}});}},{'distributeResult'(_0x35fb71,_0x6754fa){var _0x569fe4=_0x2f136a;const {objectActions:_0xfeae9a}=_0x35fb71;return _0x6754fa[_0x569fe4(0x2e9)](_0x54c154=>{var _0x3633df=_0x569fe4;const {unitID:_0x5291af,objectID:_0x25a3be,actions:_0x2af87f}=_0x54c154,_0x55493b=_0xfeae9a[_0x3633df(0x1fb)](_0x40c14f=>_0x40c14f['unitID']===_0x5291af&&_0x40c14f[_0x3633df(0x35d)]===_0x25a3be),_0xfdf632=_0x2af87f[_0x3633df(0x2e9)](_0x5f4fb8=>_0x55493b==null?void 0x0:_0x55493b[_0x3633df(0x3f0)][_0x3633df(0x1fb)](_0x49ce9f=>_0x49ce9f['action']===_0x5f4fb8))[_0x3633df(0x256)](_0x9b19b0=>!!_0x9b19b0);return{'config':_0x54c154,'result':{'actions':_0xfdf632,'error':_0x35fb71[_0x3633df(0x24c)]}};});}})}));}[_0x3fc0d2(0x258)](){var _0x2ec8e2=_0x3fc0d2,_0x1bbd7b,_0x1f0bf0;const _0x22e9c7=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](Pi),_0x14f90f=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](q);return(_0x1f0bf0=(_0x1bbd7b=_0x14f90f==null?void 0x0:_0x14f90f[_0x2ec8e2(0x201)])!=null?_0x1bbd7b:_0x22e9c7)!=null?_0x1f0bf0:wr;}async[_0x3fc0d2(0x307)](_0x51059e){var _0x15ae8a=_0x3fc0d2;const _0x24fe8d=this[_0x15ae8a(0x258)]()+'/'+_0x51059e[_0x15ae8a(0x355)]+_0x15ae8a(0x3a4);return(await this[_0x15ae8a(0x1d5)]['post'](_0x24fe8d,{'body':_0x51059e}))[_0x15ae8a(0x1b3)][_0x15ae8a(0x35d)]||'';}async['list'](_0x4fd62c){var _0x217781=_0x3fc0d2;const _0x556d48=this[_0x217781(0x258)]()+_0x217781(0x323);return(await this[_0x217781(0x1d5)][_0x217781(0x203)](_0x556d48,{'body':_0x4fd62c}))[_0x217781(0x1b3)][_0x217781(0x379)];}async[_0x3fc0d2(0x1d0)](_0x216ece){var _0x559d2c=_0x3fc0d2;const _0x530234=this['_getAPIPrefixPath']()+'/'+_0x216ece[_0x559d2c(0x355)]+_0x559d2c(0x2ba)+_0x216ece[_0x559d2c(0x35d)];await this[_0x559d2c(0x1d5)][_0x559d2c(0x34d)](_0x530234,{'body':_0x216ece});}async['allowed'](_0x21dcb9){var _0x26c68e=_0x3fc0d2;const _0x524cb3=this[_0x26c68e(0x258)]()+'/'+_0x21dcb9[_0x26c68e(0x355)]+_0x26c68e(0x2ba)+_0x21dcb9['objectID']+_0x26c68e(0x1d8);return(await this[_0x26c68e(0x1d5)][_0x26c68e(0x203)](_0x524cb3,{'body':_0x21dcb9}))[_0x26c68e(0x1b3)][_0x26c68e(0x3f0)];}async['batchAllowed'](_0x56d10a){var _0x1a2072=_0x3fc0d2;const _0x2028e7=this[_0x1a2072(0x258)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x1a2072(0x203)](_0x2028e7,{'body':{'requests':_0x56d10a}}))[_0x1a2072(0x1b3)][_0x1a2072(0x32f)];}async[_0x3fc0d2(0x3e7)](_0x3f03b6){var _0x4d8b9a=_0x3fc0d2;const _0x42f536=this[_0x4d8b9a(0x258)]()+'/'+_0x3f03b6[_0x4d8b9a(0x355)]+'/role',_0x5653f7=await this[_0x4d8b9a(0x1d5)]['post'](_0x42f536,{'body':_0x3f03b6});return{'roles':_0x5653f7['body'][_0x4d8b9a(0x3fb)],'actions':_0x5653f7[_0x4d8b9a(0x1b3)]['actions']};}async['deleteCollaborator'](_0x296784){var _0x50fd4f=_0x3fc0d2;const _0x6d0ebc=this[_0x50fd4f(0x258)]()+_0x50fd4f(0x2e5);await this[_0x50fd4f(0x1d5)][_0x50fd4f(0x3aa)](_0x6d0ebc,{'params':{'collaboratorID':_0x296784[_0x50fd4f(0x373)],'objectID':_0x296784['objectID'],'unitID':_0x296784[_0x50fd4f(0x134)]}});}async[_0x3fc0d2(0x15a)](_0x54be7e){var _0x3d1a89=_0x3fc0d2;const _0x5c2768=this[_0x3d1a89(0x258)]()+'/collaborator';await this[_0x3d1a89(0x1d5)]['patch'](_0x5c2768,{'body':_0x54be7e});}async['createCollaborator'](_0x28a1aa){var _0x5d3804=_0x3fc0d2;const _0x2b90cf=this[_0x5d3804(0x258)]()+_0x5d3804(0x2e5);await this[_0x5d3804(0x1d5)]['post'](_0x2b90cf,{'body':_0x28a1aa});}async[_0x3fc0d2(0x2e3)](_0x42d2f7){var _0x2c9c5d=_0x3fc0d2;const _0x36a7b9=this[_0x2c9c5d(0x258)]()+_0x2c9c5d(0x2e5);return(await this[_0x2c9c5d(0x1d5)][_0x2c9c5d(0x2db)](_0x36a7b9,{'params':{'objectID':_0x42d2f7['objectID'],'unitID':_0x42d2f7['unitID']}}))[_0x2c9c5d(0x1b3)][_0x2c9c5d(0x33a)];}async[_0x3fc0d2(0x246)](_0x56694d){var _0x506b6a=_0x3fc0d2;const _0x36de72=this['_getAPIPrefixPath']()+_0x506b6a(0x2e5);await this[_0x506b6a(0x1d5)][_0x506b6a(0x34d)](_0x36de72,{'body':_0x56694d});}};bt=Pr([Xt(0x0,_0x4a0d65(_0x242e5e)),Xt(0x1,_0x4a0d65(_0x10186))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x27a184){var _0x4e7f53=_0x3fc0d2;return _0x27a184&&_0x27a184['__esModule']&&Object[_0x4e7f53(0x24f)]['hasOwnProperty'][_0x4e7f53(0x130)](_0x27a184,_0x4e7f53(0x187))?_0x27a184['default']:_0x27a184;}var Ve={'exports':{}};function Ur(_0x1f9509){var _0x3c17a1=_0x3fc0d2;throw new Error(_0x3c17a1(0x3e8)+_0x1f9509+_0x3c17a1(0x335));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x2d2ac4,_0x2c82d4){(function(_0x428338,_0x466069){var _0x5e17ed=_0x3335;_0x2d2ac4[_0x5e17ed(0x1c9)]=_0x466069();}(Ar,function(){var _0x458529=_0x458529||function(_0x2d6bce,_0x592855){var _0x6e4bcf=_0x3335,_0xb7bb55;if(typeof window<'u'&&window[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=window[_0x6e4bcf(0x2b9)]),typeof self<'u'&&self['crypto']&&(_0xb7bb55=self['crypto']),typeof globalThis<'u'&&globalThis[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=globalThis[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof window<'u'&&window[_0x6e4bcf(0x308)]&&(_0xb7bb55=window[_0x6e4bcf(0x308)]),!_0xb7bb55&&typeof pt<'u'&&pt[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=pt[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof Ur=='function')try{_0xb7bb55=require(_0x6e4bcf(0x2b9));}catch{}var _0x47652d=function(){var _0x563b25=_0x6e4bcf;if(_0xb7bb55){if(typeof _0xb7bb55[_0x563b25(0x3b9)]==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3b9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb7bb55['randomBytes']==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3c7)](0x4)[_0x563b25(0x127)]();}catch{}}throw new Error(_0x563b25(0x129));},_0x18e0b3=Object[_0x6e4bcf(0x307)]||(function(){function _0x5c85ad(){}return function(_0x453504){var _0x1b5010=_0x3335,_0x31a524;return _0x5c85ad[_0x1b5010(0x24f)]=_0x453504,_0x31a524=new _0x5c85ad(),_0x5c85ad[_0x1b5010(0x24f)]=null,_0x31a524;};}()),_0x10e73b={},_0x42eae6=_0x10e73b['lib']={},_0x5e4fb8=_0x42eae6[_0x6e4bcf(0x322)]=(function(){return{'extend':function(_0xf04cc9){var _0x57d23a=_0x3335,_0x58c72c=_0x18e0b3(this);return _0xf04cc9&&_0x58c72c[_0x57d23a(0x311)](_0xf04cc9),(!_0x58c72c[_0x57d23a(0x1f8)](_0x57d23a(0x236))||this[_0x57d23a(0x236)]===_0x58c72c[_0x57d23a(0x236)])&&(_0x58c72c[_0x57d23a(0x236)]=function(){var _0x1fc1ea=_0x57d23a;_0x58c72c['$super'][_0x1fc1ea(0x236)][_0x1fc1ea(0x324)](this,arguments);}),_0x58c72c[_0x57d23a(0x236)]['prototype']=_0x58c72c,_0x58c72c[_0x57d23a(0x1c7)]=this,_0x58c72c;},'create':function(){var _0x5e6a81=_0x3335,_0xff49f2=this[_0x5e6a81(0x20b)]();return _0xff49f2[_0x5e6a81(0x236)][_0x5e6a81(0x324)](_0xff49f2,arguments),_0xff49f2;},'init':function(){},'mixIn':function(_0x8cc673){var _0x49b2cd=_0x3335;for(var _0xb423c3 in _0x8cc673)_0x8cc673['hasOwnProperty'](_0xb423c3)&&(this[_0xb423c3]=_0x8cc673[_0xb423c3]);_0x8cc673[_0x49b2cd(0x1f8)](_0x49b2cd(0x2f5))&&(this[_0x49b2cd(0x2f5)]=_0x8cc673['toString']);},'clone':function(){var _0x526a69=_0x3335;return this[_0x526a69(0x236)][_0x526a69(0x24f)][_0x526a69(0x20b)](this);}};}()),_0x55b285=_0x42eae6['WordArray']=_0x5e4fb8[_0x6e4bcf(0x20b)]({'init':function(_0x1b1fc2,_0x2fe454){var _0x2e44df=_0x6e4bcf;_0x1b1fc2=this[_0x2e44df(0x142)]=_0x1b1fc2||[],_0x2fe454!=_0x592855?this[_0x2e44df(0x186)]=_0x2fe454:this['sigBytes']=_0x1b1fc2[_0x2e44df(0x2ee)]*0x4;},'toString':function(_0x11b1ef){var _0x470c98=_0x6e4bcf;return(_0x11b1ef||_0x421c05)[_0x470c98(0x277)](this);},'concat':function(_0x25636a){var _0x3c73be=_0x6e4bcf,_0x1df3f=this[_0x3c73be(0x142)],_0x13468a=_0x25636a[_0x3c73be(0x142)],_0x22a764=this[_0x3c73be(0x186)],_0x1bc6b7=_0x25636a['sigBytes'];if(this[_0x3c73be(0x271)](),_0x22a764%0x4)for(var _0x5543ba=0x0;_0x5543ba<_0x1bc6b7;_0x5543ba++){var _0x46cc70=_0x13468a[_0x5543ba>>>0x2]>>>0x18-_0x5543ba%0x4*0x8&0xff;_0x1df3f[_0x22a764+_0x5543ba>>>0x2]|=_0x46cc70<<0x18-(_0x22a764+_0x5543ba)%0x4*0x8;}else{for(var _0x303af5=0x0;_0x303af5<_0x1bc6b7;_0x303af5+=0x4)_0x1df3f[_0x22a764+_0x303af5>>>0x2]=_0x13468a[_0x303af5>>>0x2];}return this[_0x3c73be(0x186)]+=_0x1bc6b7,this;},'clamp':function(){var _0x3bbe66=_0x6e4bcf,_0x212b3d=this[_0x3bbe66(0x142)],_0x3ce700=this[_0x3bbe66(0x186)];_0x212b3d[_0x3ce700>>>0x2]&=0xffffffff<<0x20-_0x3ce700%0x4*0x8,_0x212b3d[_0x3bbe66(0x2ee)]=_0x2d6bce[_0x3bbe66(0x3c5)](_0x3ce700/0x4);},'clone':function(){var _0x2ea232=_0x6e4bcf,_0x29db5a=_0x5e4fb8[_0x2ea232(0x168)][_0x2ea232(0x130)](this);return _0x29db5a['words']=this[_0x2ea232(0x142)]['slice'](0x0),_0x29db5a;},'random':function(_0x49a0e0){var _0x37b5e7=_0x6e4bcf;for(var _0x54072c=[],_0x52f6c6=0x0;_0x52f6c6<_0x49a0e0;_0x52f6c6+=0x4)_0x54072c[_0x37b5e7(0x1ba)](_0x47652d());return new _0x55b285[(_0x37b5e7(0x236))](_0x54072c,_0x49a0e0);}}),_0x289598=_0x10e73b['enc']={},_0x421c05=_0x289598[_0x6e4bcf(0x368)]={'stringify':function(_0x1a146f){var _0x48849e=_0x6e4bcf;for(var _0x268e04=_0x1a146f['words'],_0xe76e6a=_0x1a146f[_0x48849e(0x186)],_0x5c5f6b=[],_0x34fcb4=0x0;_0x34fcb4<_0xe76e6a;_0x34fcb4++){var _0x1a0a3c=_0x268e04[_0x34fcb4>>>0x2]>>>0x18-_0x34fcb4%0x4*0x8&0xff;_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c>>>0x4)[_0x48849e(0x2f5)](0x10)),_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c&0xf)[_0x48849e(0x2f5)](0x10));}return _0x5c5f6b[_0x48849e(0x183)]('');},'parse':function(_0x14f038){var _0x5346ca=_0x6e4bcf;for(var _0x17b403=_0x14f038[_0x5346ca(0x2ee)],_0x360945=[],_0x50dcbc=0x0;_0x50dcbc<_0x17b403;_0x50dcbc+=0x2)_0x360945[_0x50dcbc>>>0x3]|=parseInt(_0x14f038[_0x5346ca(0x2dd)](_0x50dcbc,0x2),0x10)<<0x18-_0x50dcbc%0x8*0x4;return new _0x55b285[(_0x5346ca(0x236))](_0x360945,_0x17b403/0x2);}},_0x41d50a=_0x289598[_0x6e4bcf(0x125)]={'stringify':function(_0x168326){var _0x3f926b=_0x6e4bcf;for(var _0x48f1ba=_0x168326[_0x3f926b(0x142)],_0x310d3b=_0x168326['sigBytes'],_0x1a81d1=[],_0x5224f7=0x0;_0x5224f7<_0x310d3b;_0x5224f7++){var _0x253ff1=_0x48f1ba[_0x5224f7>>>0x2]>>>0x18-_0x5224f7%0x4*0x8&0xff;_0x1a81d1[_0x3f926b(0x1ba)](String[_0x3f926b(0x31e)](_0x253ff1));}return _0x1a81d1[_0x3f926b(0x183)]('');},'parse':function(_0x217350){var _0x3149da=_0x6e4bcf;for(var _0x4254c5=_0x217350['length'],_0x5ab9ae=[],_0x451656=0x0;_0x451656<_0x4254c5;_0x451656++)_0x5ab9ae[_0x451656>>>0x2]|=(_0x217350[_0x3149da(0x32e)](_0x451656)&0xff)<<0x18-_0x451656%0x4*0x8;return new _0x55b285[(_0x3149da(0x236))](_0x5ab9ae,_0x4254c5);}},_0x535c51=_0x289598[_0x6e4bcf(0x264)]={'stringify':function(_0x4927ef){var _0x2edf35=_0x6e4bcf;try{return decodeURIComponent(escape(_0x41d50a[_0x2edf35(0x277)](_0x4927ef)));}catch{throw new Error(_0x2edf35(0x2bd));}},'parse':function(_0x57b833){return _0x41d50a['parse'](unescape(encodeURIComponent(_0x57b833)));}},_0xf9d4b5=_0x42eae6[_0x6e4bcf(0x32b)]=_0x5e4fb8[_0x6e4bcf(0x20b)]({'reset':function(){var _0xe24b46=_0x6e4bcf;this[_0xe24b46(0x141)]=new _0x55b285[(_0xe24b46(0x236))](),this['_nDataBytes']=0x0;},'_append':function(_0x1d2673){var _0x166e24=_0x6e4bcf;typeof _0x1d2673==_0x166e24(0x28f)&&(_0x1d2673=_0x535c51[_0x166e24(0x147)](_0x1d2673)),this[_0x166e24(0x141)][_0x166e24(0x235)](_0x1d2673),this['_nDataBytes']+=_0x1d2673['sigBytes'];},'_process':function(_0x8e576b){var _0x4f6ae2=_0x6e4bcf,_0x4d67ed,_0x1b83c2=this[_0x4f6ae2(0x141)],_0x2a27e7=_0x1b83c2[_0x4f6ae2(0x142)],_0x314435=_0x1b83c2[_0x4f6ae2(0x186)],_0xf4c93c=this[_0x4f6ae2(0x3a5)],_0x3d101d=_0xf4c93c*0x4,_0x299396=_0x314435/_0x3d101d;_0x8e576b?_0x299396=_0x2d6bce['ceil'](_0x299396):_0x299396=_0x2d6bce[_0x4f6ae2(0x13b)]((_0x299396|0x0)-this[_0x4f6ae2(0x23e)],0x0);var _0x4f6388=_0x299396*_0xf4c93c,_0x31a550=_0x2d6bce[_0x4f6ae2(0x30d)](_0x4f6388*0x4,_0x314435);if(_0x4f6388){for(var _0x533f56=0x0;_0x533f56<_0x4f6388;_0x533f56+=_0xf4c93c)this[_0x4f6ae2(0x225)](_0x2a27e7,_0x533f56);_0x4d67ed=_0x2a27e7['splice'](0x0,_0x4f6388),_0x1b83c2[_0x4f6ae2(0x186)]-=_0x31a550;}return new _0x55b285[(_0x4f6ae2(0x236))](_0x4d67ed,_0x31a550);},'clone':function(){var _0x28333b=_0x6e4bcf,_0x2c4851=_0x5e4fb8[_0x28333b(0x168)]['call'](this);return _0x2c4851['_data']=this[_0x28333b(0x141)][_0x28333b(0x168)](),_0x2c4851;},'_minBufferSize':0x0});_0x42eae6[_0x6e4bcf(0x145)]=_0xf9d4b5[_0x6e4bcf(0x20b)]({'cfg':_0x5e4fb8[_0x6e4bcf(0x20b)](),'init':function(_0x2b977a){var _0x223e6e=_0x6e4bcf;this[_0x223e6e(0x313)]=this[_0x223e6e(0x313)][_0x223e6e(0x20b)](_0x2b977a),this[_0x223e6e(0x15e)]();},'reset':function(){var _0x361400=_0x6e4bcf;_0xf9d4b5[_0x361400(0x15e)][_0x361400(0x130)](this),this[_0x361400(0x136)]();},'update':function(_0x271745){var _0x15cfc4=_0x6e4bcf;return this[_0x15cfc4(0x20f)](_0x271745),this['_process'](),this;},'finalize':function(_0x38a22d){var _0x26efc3=_0x6e4bcf;_0x38a22d&&this[_0x26efc3(0x20f)](_0x38a22d);var _0x40858a=this['_doFinalize']();return _0x40858a;},'blockSize':0x10,'_createHelper':function(_0x1d1b96){return function(_0x50c17b,_0x588c4d){var _0xc64d8d=_0x3335;return new _0x1d1b96[(_0xc64d8d(0x236))](_0x588c4d)['finalize'](_0x50c17b);};},'_createHmacHelper':function(_0x202299){return function(_0x6818df,_0x4e9aee){var _0x219d6c=_0x3335;return new _0x116e1c[(_0x219d6c(0x1a3))]['init'](_0x202299,_0x4e9aee)[_0x219d6c(0x3c1)](_0x6818df);};}});var _0x116e1c=_0x10e73b['algo']={};return _0x10e73b;}(Math);return _0x458529;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x3fc0d2(0x1c9)],Qt;function wi(){var _0xfaf7c5=_0x3fc0d2;return Qt||(Qt=0x1,function(_0x4b88ed,_0x413c05){(function(_0x69875b,_0x17338c){var _0x345d51=_0x3335;_0x4b88ed[_0x345d51(0x1c9)]=_0x17338c(ne());}(xr,function(_0x2f9434){var _0x4eb34d=_0x3335;return(function(){var _0x1b4e5b=_0x3335,_0x2c8387=_0x2f9434,_0x2f4217=_0x2c8387[_0x1b4e5b(0x2b6)],_0x54d95d=_0x2f4217['WordArray'],_0x53a12d=_0x2c8387[_0x1b4e5b(0x372)];_0x53a12d[_0x1b4e5b(0x1ed)]={'stringify':function(_0x28c2ee){var _0x456fac=_0x1b4e5b,_0x311d8d=_0x28c2ee[_0x456fac(0x142)],_0x2bfce9=_0x28c2ee[_0x456fac(0x186)],_0x500338=this['_map'];_0x28c2ee[_0x456fac(0x271)]();for(var _0x420bf9=[],_0x5e32a1=0x0;_0x5e32a1<_0x2bfce9;_0x5e32a1+=0x3)for(var _0x2fa948=_0x311d8d[_0x5e32a1>>>0x2]>>>0x18-_0x5e32a1%0x4*0x8&0xff,_0x214bb2=_0x311d8d[_0x5e32a1+0x1>>>0x2]>>>0x18-(_0x5e32a1+0x1)%0x4*0x8&0xff,_0x5c9bbc=_0x311d8d[_0x5e32a1+0x2>>>0x2]>>>0x18-(_0x5e32a1+0x2)%0x4*0x8&0xff,_0x4deaec=_0x2fa948<<0x10|_0x214bb2<<0x8|_0x5c9bbc,_0x25c3d4=0x0;_0x25c3d4<0x4&&_0x5e32a1+_0x25c3d4*0.75<_0x2bfce9;_0x25c3d4++)_0x420bf9[_0x456fac(0x1ba)](_0x500338[_0x456fac(0x2f0)](_0x4deaec>>>0x6*(0x3-_0x25c3d4)&0x3f));var _0x5a1942=_0x500338[_0x456fac(0x2f0)](0x40);if(_0x5a1942){for(;_0x420bf9[_0x456fac(0x2ee)]%0x4;)_0x420bf9[_0x456fac(0x1ba)](_0x5a1942);}return _0x420bf9['join']('');},'parse':function(_0x3d9e92){var _0x41b9e5=_0x1b4e5b,_0x38c7a7=_0x3d9e92[_0x41b9e5(0x2ee)],_0x50eeef=this[_0x41b9e5(0x2ef)],_0x345a1b=this[_0x41b9e5(0x2d9)];if(!_0x345a1b){_0x345a1b=this[_0x41b9e5(0x2d9)]=[];for(var _0x19df69=0x0;_0x19df69<_0x50eeef[_0x41b9e5(0x2ee)];_0x19df69++)_0x345a1b[_0x50eeef[_0x41b9e5(0x32e)](_0x19df69)]=_0x19df69;}var _0x547e52=_0x50eeef[_0x41b9e5(0x2f0)](0x40);if(_0x547e52){var _0x1b778c=_0x3d9e92[_0x41b9e5(0x31f)](_0x547e52);_0x1b778c!==-0x1&&(_0x38c7a7=_0x1b778c);}return _0x2a00ed(_0x3d9e92,_0x38c7a7,_0x345a1b);},'_map':_0x1b4e5b(0x388)};function _0x2a00ed(_0x107ed1,_0x1f9033,_0xf81628){var _0x415c8c=_0x1b4e5b;for(var _0x2e33e1=[],_0x2850f8=0x0,_0x299eda=0x0;_0x299eda<_0x1f9033;_0x299eda++)if(_0x299eda%0x4){var _0x51db31=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda-0x1)]<<_0x299eda%0x4*0x2,_0xec43b2=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda)]>>>0x6-_0x299eda%0x4*0x2,_0x2d6d2e=_0x51db31|_0xec43b2;_0x2e33e1[_0x2850f8>>>0x2]|=_0x2d6d2e<<0x18-_0x2850f8%0x4*0x8,_0x2850f8++;}return _0x54d95d[_0x415c8c(0x307)](_0x2e33e1,_0x2850f8);}}()),_0x2f9434['enc'][_0x4eb34d(0x1ed)];}));}(We)),We[_0xfaf7c5(0x1c9)];}var Ke={'exports':{}},Lr=Ke[_0x3fc0d2(0x1c9)],ei;function Mr(){var _0x45404f=_0x3fc0d2;return ei||(ei=0x1,function(_0x7f4c44,_0x426409){(function(_0x51e511,_0x12f1d9){var _0x3ddd8c=_0x3335;_0x7f4c44[_0x3ddd8c(0x1c9)]=_0x12f1d9(ne());}(Lr,function(_0x931b40){return function(_0x1e84cf){var _0x1bdc49=_0x3335,_0x590090=_0x931b40,_0x2b8adc=_0x590090[_0x1bdc49(0x2b6)],_0x391698=_0x2b8adc[_0x1bdc49(0x3b4)],_0xec01c=_0x2b8adc[_0x1bdc49(0x145)],_0x1c5396=_0x590090[_0x1bdc49(0x120)],_0x2f9d8e=[];(function(){var _0x4af407=_0x1bdc49;for(var _0x1d2f5e=0x0;_0x1d2f5e<0x40;_0x1d2f5e++)_0x2f9d8e[_0x1d2f5e]=_0x1e84cf[_0x4af407(0x35c)](_0x1e84cf[_0x4af407(0x216)](_0x1d2f5e+0x1))*0x100000000|0x0;}());var _0x44ae3c=_0x1c5396['MD5']=_0xec01c[_0x1bdc49(0x20b)]({'_doReset':function(){var _0x119da2=_0x1bdc49;this['_hash']=new _0x391698[(_0x119da2(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a7c36,_0x6861cb){var _0x53e8fd=_0x1bdc49;for(var _0x1f4047=0x0;_0x1f4047<0x10;_0x1f4047++){var _0x228f73=_0x6861cb+_0x1f4047,_0x1e3391=_0x5a7c36[_0x228f73];_0x5a7c36[_0x228f73]=(_0x1e3391<<0x8|_0x1e3391>>>0x18)&0xff00ff|(_0x1e3391<<0x18|_0x1e3391>>>0x8)&0xff00ff00;}var _0x20136f=this[_0x53e8fd(0x14f)]['words'],_0x21a042=_0x5a7c36[_0x6861cb+0x0],_0x1e0214=_0x5a7c36[_0x6861cb+0x1],_0x41646f=_0x5a7c36[_0x6861cb+0x2],_0x2fb0f6=_0x5a7c36[_0x6861cb+0x3],_0x35998c=_0x5a7c36[_0x6861cb+0x4],_0x4581c3=_0x5a7c36[_0x6861cb+0x5],_0x190d75=_0x5a7c36[_0x6861cb+0x6],_0x1bea0d=_0x5a7c36[_0x6861cb+0x7],_0x2d7c82=_0x5a7c36[_0x6861cb+0x8],_0x5b2348=_0x5a7c36[_0x6861cb+0x9],_0x1b3df5=_0x5a7c36[_0x6861cb+0xa],_0x517dfa=_0x5a7c36[_0x6861cb+0xb],_0x3bb5f7=_0x5a7c36[_0x6861cb+0xc],_0x5e6c20=_0x5a7c36[_0x6861cb+0xd],_0x4887e9=_0x5a7c36[_0x6861cb+0xe],_0xd1417a=_0x5a7c36[_0x6861cb+0xf],_0x552d6d=_0x20136f[0x0],_0x1a548e=_0x20136f[0x1],_0xd32c7c=_0x20136f[0x2],_0x92c016=_0x20136f[0x3];_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x7,_0x2f9d8e[0x0]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1e0214,0xc,_0x2f9d8e[0x1]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0x11,_0x2f9d8e[0x2]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2fb0f6,0x16,_0x2f9d8e[0x3]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x7,_0x2f9d8e[0x4]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4581c3,0xc,_0x2f9d8e[0x5]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0x11,_0x2f9d8e[0x6]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1bea0d,0x16,_0x2f9d8e[0x7]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x7,_0x2f9d8e[0x8]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5b2348,0xc,_0x2f9d8e[0x9]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0x11,_0x2f9d8e[0xa]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x517dfa,0x16,_0x2f9d8e[0xb]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x7,_0x2f9d8e[0xc]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5e6c20,0xc,_0x2f9d8e[0xd]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0x11,_0x2f9d8e[0xe]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0xd1417a,0x16,_0x2f9d8e[0xf]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x5,_0x2f9d8e[0x10]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x190d75,0x9,_0x2f9d8e[0x11]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0xe,_0x2f9d8e[0x12]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x21a042,0x14,_0x2f9d8e[0x13]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x5,_0x2f9d8e[0x14]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1b3df5,0x9,_0x2f9d8e[0x15]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0xe,_0x2f9d8e[0x16]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x35998c,0x14,_0x2f9d8e[0x17]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x5,_0x2f9d8e[0x18]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4887e9,0x9,_0x2f9d8e[0x19]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0xe,_0x2f9d8e[0x1a]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2d7c82,0x14,_0x2f9d8e[0x1b]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x5,_0x2f9d8e[0x1c]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x41646f,0x9,_0x2f9d8e[0x1d]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0xe,_0x2f9d8e[0x1e]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x3bb5f7,0x14,_0x2f9d8e[0x1f]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x4,_0x2f9d8e[0x20]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2d7c82,0xb,_0x2f9d8e[0x21]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0x10,_0x2f9d8e[0x22]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4887e9,0x17,_0x2f9d8e[0x23]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x4,_0x2f9d8e[0x24]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x35998c,0xb,_0x2f9d8e[0x25]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0x10,_0x2f9d8e[0x26]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1b3df5,0x17,_0x2f9d8e[0x27]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x4,_0x2f9d8e[0x28]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x21a042,0xb,_0x2f9d8e[0x29]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0x10,_0x2f9d8e[0x2a]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x190d75,0x17,_0x2f9d8e[0x2b]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x4,_0x2f9d8e[0x2c]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x3bb5f7,0xb,_0x2f9d8e[0x2d]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0x10,_0x2f9d8e[0x2e]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x41646f,0x17,_0x2f9d8e[0x2f]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x6,_0x2f9d8e[0x30]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1bea0d,0xa,_0x2f9d8e[0x31]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0xf,_0x2f9d8e[0x32]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4581c3,0x15,_0x2f9d8e[0x33]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x6,_0x2f9d8e[0x34]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2fb0f6,0xa,_0x2f9d8e[0x35]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0xf,_0x2f9d8e[0x36]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1e0214,0x15,_0x2f9d8e[0x37]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x6,_0x2f9d8e[0x38]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0xd1417a,0xa,_0x2f9d8e[0x39]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0xf,_0x2f9d8e[0x3a]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5e6c20,0x15,_0x2f9d8e[0x3b]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x6,_0x2f9d8e[0x3c]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x517dfa,0xa,_0x2f9d8e[0x3d]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0xf,_0x2f9d8e[0x3e]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5b2348,0x15,_0x2f9d8e[0x3f]),_0x20136f[0x0]=_0x20136f[0x0]+_0x552d6d|0x0,_0x20136f[0x1]=_0x20136f[0x1]+_0x1a548e|0x0,_0x20136f[0x2]=_0x20136f[0x2]+_0xd32c7c|0x0,_0x20136f[0x3]=_0x20136f[0x3]+_0x92c016|0x0;},'_doFinalize':function(){var _0x3c97da=_0x1bdc49,_0x217181=this['_data'],_0x1506b4=_0x217181[_0x3c97da(0x142)],_0x334942=this['_nDataBytes']*0x8,_0xf0e2f8=_0x217181[_0x3c97da(0x186)]*0x8;_0x1506b4[_0xf0e2f8>>>0x5]|=0x80<<0x18-_0xf0e2f8%0x20;var _0x437471=_0x1e84cf[_0x3c97da(0x177)](_0x334942/0x100000000),_0x7b378=_0x334942;_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xf]=(_0x437471<<0x8|_0x437471>>>0x18)&0xff00ff|(_0x437471<<0x18|_0x437471>>>0x8)&0xff00ff00,_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xe]=(_0x7b378<<0x8|_0x7b378>>>0x18)&0xff00ff|(_0x7b378<<0x18|_0x7b378>>>0x8)&0xff00ff00,_0x217181[_0x3c97da(0x186)]=(_0x1506b4['length']+0x1)*0x4,this[_0x3c97da(0x12c)]();for(var _0x4fa99e=this[_0x3c97da(0x14f)],_0x3cffa6=_0x4fa99e[_0x3c97da(0x142)],_0x98c5ab=0x0;_0x98c5ab<0x4;_0x98c5ab++){var _0x249a7=_0x3cffa6[_0x98c5ab];_0x3cffa6[_0x98c5ab]=(_0x249a7<<0x8|_0x249a7>>>0x18)&0xff00ff|(_0x249a7<<0x18|_0x249a7>>>0x8)&0xff00ff00;}return _0x4fa99e;},'clone':function(){var _0x828425=_0x1bdc49,_0x2aa234=_0xec01c[_0x828425(0x168)][_0x828425(0x130)](this);return _0x2aa234[_0x828425(0x14f)]=this['_hash'][_0x828425(0x168)](),_0x2aa234;}});function _0x22566d(_0x2c4d70,_0x400671,_0x472a15,_0x25d46c,_0xd2ea33,_0x9c9318,_0x4a5f0d){var _0x2ab9b1=_0x2c4d70+(_0x400671&_0x472a15|~_0x400671&_0x25d46c)+_0xd2ea33+_0x4a5f0d;return(_0x2ab9b1<<_0x9c9318|_0x2ab9b1>>>0x20-_0x9c9318)+_0x400671;}function _0x4f39a9(_0x709275,_0x5cd524,_0x15e7a4,_0x35032a,_0x2c8127,_0x40efea,_0x338397){var _0x4a9da6=_0x709275+(_0x5cd524&_0x35032a|_0x15e7a4&~_0x35032a)+_0x2c8127+_0x338397;return(_0x4a9da6<<_0x40efea|_0x4a9da6>>>0x20-_0x40efea)+_0x5cd524;}function _0x351172(_0x1ed2ac,_0x8e0a93,_0x2216e4,_0x47db2a,_0xe8baca,_0x3d4212,_0x84d16d){var _0x17d853=_0x1ed2ac+(_0x8e0a93^_0x2216e4^_0x47db2a)+_0xe8baca+_0x84d16d;return(_0x17d853<<_0x3d4212|_0x17d853>>>0x20-_0x3d4212)+_0x8e0a93;}function _0x2fd3e6(_0x6b8043,_0xc761cf,_0xc920c3,_0x42affe,_0x53d9d5,_0xa72402,_0x2db144){var _0x4692a6=_0x6b8043+(_0xc920c3^(_0xc761cf|~_0x42affe))+_0x53d9d5+_0x2db144;return(_0x4692a6<<_0xa72402|_0x4692a6>>>0x20-_0xa72402)+_0xc761cf;}_0x590090[_0x1bdc49(0x303)]=_0xec01c[_0x1bdc49(0x3a9)](_0x44ae3c),_0x590090[_0x1bdc49(0x3c6)]=_0xec01c[_0x1bdc49(0x30b)](_0x44ae3c);}(Math),_0x931b40['MD5'];}));}(Ke)),Ke[_0x45404f(0x1c9)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x3fc0d2(0x1c9)],ti;function Hr(){var _0x4ee1a2=_0x3fc0d2;return ti||(ti=0x1,function(_0xae1376,_0x418b2c){(function(_0x5ac5e4,_0x2a73f2){var _0x2f4592=_0x3335;_0xae1376[_0x2f4592(0x1c9)]=_0x2a73f2(ne());}($r,function(_0x4b0271){return(function(){var _0x4cc964=_0x3335,_0x223e45=_0x4b0271,_0x2d183d=_0x223e45[_0x4cc964(0x2b6)],_0x27d541=_0x2d183d[_0x4cc964(0x3b4)],_0xd2a5fd=_0x2d183d['Hasher'],_0x14b0a9=_0x223e45[_0x4cc964(0x120)],_0x2d580e=[],_0x1983fd=_0x14b0a9['SHA1']=_0xd2a5fd[_0x4cc964(0x20b)]({'_doReset':function(){var _0x4013e4=_0x4cc964;this[_0x4013e4(0x14f)]=new _0x27d541[(_0x4013e4(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b8ba8,_0x5121f0){var _0x274f29=_0x4cc964;for(var _0x555011=this[_0x274f29(0x14f)][_0x274f29(0x142)],_0xcf4067=_0x555011[0x0],_0x1255d1=_0x555011[0x1],_0x2f42a4=_0x555011[0x2],_0x52860a=_0x555011[0x3],_0x2b153a=_0x555011[0x4],_0x38e441=0x0;_0x38e441<0x50;_0x38e441++){if(_0x38e441<0x10)_0x2d580e[_0x38e441]=_0x4b8ba8[_0x5121f0+_0x38e441]|0x0;else{var _0x2f67e6=_0x2d580e[_0x38e441-0x3]^_0x2d580e[_0x38e441-0x8]^_0x2d580e[_0x38e441-0xe]^_0x2d580e[_0x38e441-0x10];_0x2d580e[_0x38e441]=_0x2f67e6<<0x1|_0x2f67e6>>>0x1f;}var _0x3c573e=(_0xcf4067<<0x5|_0xcf4067>>>0x1b)+_0x2b153a+_0x2d580e[_0x38e441];_0x38e441<0x14?_0x3c573e+=(_0x1255d1&_0x2f42a4|~_0x1255d1&_0x52860a)+0x5a827999:_0x38e441<0x28?_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)+0x6ed9eba1:_0x38e441<0x3c?_0x3c573e+=(_0x1255d1&_0x2f42a4|_0x1255d1&_0x52860a|_0x2f42a4&_0x52860a)-0x70e44324:_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)-0x359d3e2a,_0x2b153a=_0x52860a,_0x52860a=_0x2f42a4,_0x2f42a4=_0x1255d1<<0x1e|_0x1255d1>>>0x2,_0x1255d1=_0xcf4067,_0xcf4067=_0x3c573e;}_0x555011[0x0]=_0x555011[0x0]+_0xcf4067|0x0,_0x555011[0x1]=_0x555011[0x1]+_0x1255d1|0x0,_0x555011[0x2]=_0x555011[0x2]+_0x2f42a4|0x0,_0x555011[0x3]=_0x555011[0x3]+_0x52860a|0x0,_0x555011[0x4]=_0x555011[0x4]+_0x2b153a|0x0;},'_doFinalize':function(){var _0x360209=_0x4cc964,_0x57c3e3=this[_0x360209(0x141)],_0xe612c9=_0x57c3e3[_0x360209(0x142)],_0x5512d8=this[_0x360209(0x202)]*0x8,_0x552791=_0x57c3e3[_0x360209(0x186)]*0x8;return _0xe612c9[_0x552791>>>0x5]|=0x80<<0x18-_0x552791%0x20,_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xe]=Math[_0x360209(0x177)](_0x5512d8/0x100000000),_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xf]=_0x5512d8,_0x57c3e3['sigBytes']=_0xe612c9['length']*0x4,this[_0x360209(0x12c)](),this[_0x360209(0x14f)];},'clone':function(){var _0x5419ba=_0x4cc964,_0x1377f4=_0xd2a5fd['clone']['call'](this);return _0x1377f4[_0x5419ba(0x14f)]=this[_0x5419ba(0x14f)][_0x5419ba(0x168)](),_0x1377f4;}});_0x223e45[_0x4cc964(0x27d)]=_0xd2a5fd[_0x4cc964(0x3a9)](_0x1983fd),_0x223e45[_0x4cc964(0x16e)]=_0xd2a5fd['_createHmacHelper'](_0x1983fd);}()),_0x4b0271['SHA1'];}));}(qe)),qe[_0x4ee1a2(0x1c9)];}var ze={'exports':{}},kr=ze[_0x3fc0d2(0x1c9)],ii;function jr(){return ii||(ii=0x1,function(_0x27595b,_0x413b82){(function(_0x9f1db3,_0x10764f){_0x27595b['exports']=_0x10764f(ne());}(kr,function(_0x319132){(function(){var _0x58980d=_0x3335,_0x763379=_0x319132,_0x5d856b=_0x763379['lib'],_0x42bb24=_0x5d856b['Base'],_0x39ee40=_0x763379[_0x58980d(0x372)],_0x51d6fd=_0x39ee40[_0x58980d(0x264)],_0x25baec=_0x763379[_0x58980d(0x120)];_0x25baec[_0x58980d(0x1a3)]=_0x42bb24['extend']({'init':function(_0x15a942,_0x4c30a9){var _0x3c7356=_0x58980d;_0x15a942=this[_0x3c7356(0x23a)]=new _0x15a942['init'](),typeof _0x4c30a9==_0x3c7356(0x28f)&&(_0x4c30a9=_0x51d6fd[_0x3c7356(0x147)](_0x4c30a9));var _0x332402=_0x15a942[_0x3c7356(0x3a5)],_0x4d14bf=_0x332402*0x4;_0x4c30a9['sigBytes']>_0x4d14bf&&(_0x4c30a9=_0x15a942['finalize'](_0x4c30a9)),_0x4c30a9[_0x3c7356(0x271)]();for(var _0x343fa1=this['_oKey']=_0x4c30a9[_0x3c7356(0x168)](),_0x1564bf=this['_iKey']=_0x4c30a9['clone'](),_0x167829=_0x343fa1[_0x3c7356(0x142)],_0x14c454=_0x1564bf[_0x3c7356(0x142)],_0x45ceb9=0x0;_0x45ceb9<_0x332402;_0x45ceb9++)_0x167829[_0x45ceb9]^=0x5c5c5c5c,_0x14c454[_0x45ceb9]^=0x36363636;_0x343fa1[_0x3c7356(0x186)]=_0x1564bf[_0x3c7356(0x186)]=_0x4d14bf,this[_0x3c7356(0x15e)]();},'reset':function(){var _0x149054=_0x58980d,_0x4e398b=this[_0x149054(0x23a)];_0x4e398b[_0x149054(0x15e)](),_0x4e398b[_0x149054(0x1d0)](this[_0x149054(0x29c)]);},'update':function(_0x160942){var _0x26f7f0=_0x58980d;return this[_0x26f7f0(0x23a)][_0x26f7f0(0x1d0)](_0x160942),this;},'finalize':function(_0x1cf466){var _0xc72c9b=_0x58980d,_0x30b032=this[_0xc72c9b(0x23a)],_0x18c5d5=_0x30b032[_0xc72c9b(0x3c1)](_0x1cf466);_0x30b032[_0xc72c9b(0x15e)]();var _0x36822b=_0x30b032[_0xc72c9b(0x3c1)](this[_0xc72c9b(0x282)][_0xc72c9b(0x168)]()[_0xc72c9b(0x235)](_0x18c5d5));return _0x36822b;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x3fc0d2(0x1c9)],ni;function Ui(){var _0x5af109=_0x3fc0d2;return ni||(ni=0x1,function(_0x432222,_0xc35a01){(function(_0x4df22e,_0x351b56,_0x33627c){var _0x4380f1=_0x3335;_0x432222[_0x4380f1(0x1c9)]=_0x351b56(ne(),Hr(),jr());}(Br,function(_0x4f9ad9){return(function(){var _0x397fbc=_0x3335,_0x5829ac=_0x4f9ad9,_0x42310e=_0x5829ac[_0x397fbc(0x2b6)],_0xd3d97e=_0x42310e['Base'],_0x42f914=_0x42310e['WordArray'],_0x2279d5=_0x5829ac[_0x397fbc(0x120)],_0x307aa7=_0x2279d5[_0x397fbc(0x303)],_0x129a68=_0x2279d5[_0x397fbc(0x178)]=_0xd3d97e[_0x397fbc(0x20b)]({'cfg':_0xd3d97e[_0x397fbc(0x20b)]({'keySize':0x80/0x20,'hasher':_0x307aa7,'iterations':0x1}),'init':function(_0x436ac5){var _0x3958c2=_0x397fbc;this[_0x3958c2(0x313)]=this['cfg'][_0x3958c2(0x20b)](_0x436ac5);},'compute':function(_0x1ca617,_0x5d5157){var _0x11da2d=_0x397fbc;for(var _0x54cd19,_0x466e7c=this['cfg'],_0x57313b=_0x466e7c[_0x11da2d(0x2e4)]['create'](),_0x336909=_0x42f914['create'](),_0x22886f=_0x336909['words'],_0x8e4719=_0x466e7c[_0x11da2d(0x25c)],_0x1ae4e6=_0x466e7c[_0x11da2d(0x2a2)];_0x22886f[_0x11da2d(0x2ee)]<_0x8e4719;){_0x54cd19&&_0x57313b['update'](_0x54cd19),_0x54cd19=_0x57313b[_0x11da2d(0x1d0)](_0x1ca617)['finalize'](_0x5d5157),_0x57313b[_0x11da2d(0x15e)]();for(var _0x5ac10b=0x1;_0x5ac10b<_0x1ae4e6;_0x5ac10b++)_0x54cd19=_0x57313b[_0x11da2d(0x3c1)](_0x54cd19),_0x57313b['reset']();_0x336909[_0x11da2d(0x235)](_0x54cd19);}return _0x336909[_0x11da2d(0x186)]=_0x8e4719*0x4,_0x336909;}});_0x5829ac[_0x397fbc(0x178)]=function(_0x647e40,_0x5d3093,_0x3a28ab){var _0x32e700=_0x397fbc;return _0x129a68[_0x32e700(0x307)](_0x3a28ab)[_0x32e700(0x305)](_0x647e40,_0x5d3093);};}()),_0x4f9ad9['EvpKDF'];}));}(Ye)),Ye[_0x5af109(0x1c9)];}var Je={'exports':{}},Fr=Je[_0x3fc0d2(0x1c9)],ri;function Ai(){return ri||(ri=0x1,function(_0x5200ea,_0x112459){(function(_0x330172,_0x450f94,_0xa76c4a){var _0x45876c=_0x3335;_0x5200ea[_0x45876c(0x1c9)]=_0x450f94(ne(),Ui());}(Fr,function(_0x41b05e){var _0x47bd3f=_0x3335;_0x41b05e[_0x47bd3f(0x2b6)][_0x47bd3f(0x112)]||function(_0x166335){var _0x99100b=_0x47bd3f,_0x447353=_0x41b05e,_0x121ae4=_0x447353[_0x99100b(0x2b6)],_0x99ed82=_0x121ae4['Base'],_0x298ce2=_0x121ae4['WordArray'],_0x17b8f0=_0x121ae4['BufferedBlockAlgorithm'],_0x5b49d6=_0x447353[_0x99100b(0x372)];_0x5b49d6['Utf8'];var _0x254bcd=_0x5b49d6[_0x99100b(0x1ed)],_0x1a888f=_0x447353['algo'],_0x584d05=_0x1a888f[_0x99100b(0x178)],_0xac7295=_0x121ae4[_0x99100b(0x112)]=_0x17b8f0['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)](),'createEncryptor':function(_0x1c350c,_0x303f42){var _0x3ebed0=_0x99100b;return this[_0x3ebed0(0x307)](this['_ENC_XFORM_MODE'],_0x1c350c,_0x303f42);},'createDecryptor':function(_0x1e0133,_0x51906c){var _0x169d81=_0x99100b;return this[_0x169d81(0x307)](this['_DEC_XFORM_MODE'],_0x1e0133,_0x51906c);},'init':function(_0x185469,_0x309e6e,_0x226d7f){var _0xb92627=_0x99100b;this[_0xb92627(0x313)]=this['cfg'][_0xb92627(0x20b)](_0x226d7f),this[_0xb92627(0x387)]=_0x185469,this[_0xb92627(0x164)]=_0x309e6e,this[_0xb92627(0x15e)]();},'reset':function(){var _0x4168b3=_0x99100b;_0x17b8f0['reset'][_0x4168b3(0x130)](this),this[_0x4168b3(0x136)]();},'process':function(_0x2d08a8){var _0x36f2d5=_0x99100b;return this[_0x36f2d5(0x20f)](_0x2d08a8),this[_0x36f2d5(0x12c)]();},'finalize':function(_0x3b00c7){var _0x537da1=_0x99100b;_0x3b00c7&&this['_append'](_0x3b00c7);var _0x391228=this[_0x537da1(0x3c8)]();return _0x391228;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x47da41(_0x44a6b0){var _0xcd40d7=_0x3335;return typeof _0x44a6b0==_0xcd40d7(0x28f)?_0x371c34:_0x532ca5;}return function(_0x1db053){return{'encrypt':function(_0x24892d,_0x3efaa6,_0x506b50){return _0x47da41(_0x3efaa6)['encrypt'](_0x1db053,_0x24892d,_0x3efaa6,_0x506b50);},'decrypt':function(_0x515473,_0x23fe75,_0x5ce817){var _0x2b82cb=_0x3335;return _0x47da41(_0x23fe75)[_0x2b82cb(0x253)](_0x1db053,_0x515473,_0x23fe75,_0x5ce817);}};};}())});_0x121ae4[_0x99100b(0x3e5)]=_0xac7295[_0x99100b(0x20b)]({'_doFinalize':function(){var _0x4e3edd=_0x99100b,_0x9ffe80=this[_0x4e3edd(0x12c)](!0x0);return _0x9ffe80;},'blockSize':0x1});var _0x2b7bf7=_0x447353[_0x99100b(0x13a)]={},_0x5753a6=_0x121ae4[_0x99100b(0x189)]=_0x99ed82['extend']({'createEncryptor':function(_0x4ddd4d,_0x53fa92){var _0x3b395a=_0x99100b;return this[_0x3b395a(0x35a)][_0x3b395a(0x307)](_0x4ddd4d,_0x53fa92);},'createDecryptor':function(_0x2f2ecf,_0xbcd4e5){var _0x19d9fb=_0x99100b;return this[_0x19d9fb(0x17d)][_0x19d9fb(0x307)](_0x2f2ecf,_0xbcd4e5);},'init':function(_0x1a904b,_0x5ec428){var _0x484ca7=_0x99100b;this['_cipher']=_0x1a904b,this[_0x484ca7(0x1b7)]=_0x5ec428;}}),_0x2a3835=_0x2b7bf7[_0x99100b(0x3de)]=(function(){var _0x2a3702=_0x99100b,_0x4d9747=_0x5753a6[_0x2a3702(0x20b)]();_0x4d9747[_0x2a3702(0x35a)]=_0x4d9747['extend']({'processBlock':function(_0x3e2983,_0x105539){var _0x39a936=_0x2a3702,_0x287f2e=this[_0x39a936(0x371)],_0x187a47=_0x287f2e[_0x39a936(0x3a5)];_0x1e8e97[_0x39a936(0x130)](this,_0x3e2983,_0x105539,_0x187a47),_0x287f2e[_0x39a936(0x1fa)](_0x3e2983,_0x105539),this[_0x39a936(0x34e)]=_0x3e2983['slice'](_0x105539,_0x105539+_0x187a47);}}),_0x4d9747[_0x2a3702(0x17d)]=_0x4d9747[_0x2a3702(0x20b)]({'processBlock':function(_0x4bea3d,_0x3217db){var _0x562c7c=_0x2a3702,_0x1e084a=this[_0x562c7c(0x371)],_0x4d68fb=_0x1e084a[_0x562c7c(0x3a5)],_0x37be91=_0x4bea3d[_0x562c7c(0x38e)](_0x3217db,_0x3217db+_0x4d68fb);_0x1e084a['decryptBlock'](_0x4bea3d,_0x3217db),_0x1e8e97[_0x562c7c(0x130)](this,_0x4bea3d,_0x3217db,_0x4d68fb),this[_0x562c7c(0x34e)]=_0x37be91;}});function _0x1e8e97(_0x540c78,_0x320030,_0xa9ce01){var _0x151361=_0x2a3702,_0x498d02,_0x1f007c=this['_iv'];_0x1f007c?(_0x498d02=_0x1f007c,this[_0x151361(0x1b7)]=_0x166335):_0x498d02=this[_0x151361(0x34e)];for(var _0x9c4f93=0x0;_0x9c4f93<_0xa9ce01;_0x9c4f93++)_0x540c78[_0x320030+_0x9c4f93]^=_0x498d02[_0x9c4f93];}return _0x4d9747;}()),_0x26a8a5=_0x447353['pad']={},_0x1f4fdb=_0x26a8a5[_0x99100b(0x3f7)]={'pad':function(_0x4d2263,_0x3bc44c){var _0x5d8849=_0x99100b;for(var _0x3f527b=_0x3bc44c*0x4,_0x414d7b=_0x3f527b-_0x4d2263['sigBytes']%_0x3f527b,_0x155baf=_0x414d7b<<0x18|_0x414d7b<<0x10|_0x414d7b<<0x8|_0x414d7b,_0x7182a4=[],_0x210573=0x0;_0x210573<_0x414d7b;_0x210573+=0x4)_0x7182a4[_0x5d8849(0x1ba)](_0x155baf);var _0x4efb15=_0x298ce2[_0x5d8849(0x307)](_0x7182a4,_0x414d7b);_0x4d2263[_0x5d8849(0x235)](_0x4efb15);},'unpad':function(_0x1455ba){var _0x473caf=_0x99100b,_0x57b3b0=_0x1455ba[_0x473caf(0x142)][_0x1455ba[_0x473caf(0x186)]-0x1>>>0x2]&0xff;_0x1455ba[_0x473caf(0x186)]-=_0x57b3b0;}};_0x121ae4['BlockCipher']=_0xac7295[_0x99100b(0x20b)]({'cfg':_0xac7295['cfg'][_0x99100b(0x20b)]({'mode':_0x2a3835,'padding':_0x1f4fdb}),'reset':function(){var _0x34ab4e=_0x99100b,_0x59a26a;_0xac7295[_0x34ab4e(0x15e)][_0x34ab4e(0x130)](this);var _0xf753b0=this[_0x34ab4e(0x313)],_0x447494=_0xf753b0['iv'],_0x58e816=_0xf753b0['mode'];this[_0x34ab4e(0x387)]==this[_0x34ab4e(0x2d0)]?_0x59a26a=_0x58e816[_0x34ab4e(0x210)]:(_0x59a26a=_0x58e816[_0x34ab4e(0x276)],this['_minBufferSize']=0x1),this[_0x34ab4e(0x199)]&&this['_mode'][_0x34ab4e(0x3fd)]==_0x59a26a?this['_mode'][_0x34ab4e(0x236)](this,_0x447494&&_0x447494[_0x34ab4e(0x142)]):(this[_0x34ab4e(0x199)]=_0x59a26a[_0x34ab4e(0x130)](_0x58e816,this,_0x447494&&_0x447494[_0x34ab4e(0x142)]),this[_0x34ab4e(0x199)][_0x34ab4e(0x3fd)]=_0x59a26a);},'_doProcessBlock':function(_0x26481f,_0x312c06){var _0x7fcbad=_0x99100b;this[_0x7fcbad(0x199)][_0x7fcbad(0x24b)](_0x26481f,_0x312c06);},'_doFinalize':function(){var _0x181496=_0x99100b,_0x5045aa,_0x1f20b2=this[_0x181496(0x313)]['padding'];return this['_xformMode']==this[_0x181496(0x2d0)]?(_0x1f20b2[_0x181496(0x36b)](this[_0x181496(0x141)],this['blockSize']),_0x5045aa=this['_process'](!0x0)):(_0x5045aa=this[_0x181496(0x12c)](!0x0),_0x1f20b2[_0x181496(0x1bb)](_0x5045aa)),_0x5045aa;},'blockSize':0x80/0x20});var _0x1d9a6a=_0x121ae4['CipherParams']=_0x99ed82[_0x99100b(0x20b)]({'init':function(_0x2e3f1d){this['mixIn'](_0x2e3f1d);},'toString':function(_0xc87fd7){return(_0xc87fd7||this['formatter'])['stringify'](this);}}),_0x4a6171=_0x447353[_0x99100b(0x39d)]={},_0x38e81c=_0x4a6171[_0x99100b(0x143)]={'stringify':function(_0x47f507){var _0x40d382=_0x99100b,_0x4d68f9,_0x1172fd=_0x47f507[_0x40d382(0x251)],_0x30a6ae=_0x47f507[_0x40d382(0x300)];return _0x30a6ae?_0x4d68f9=_0x298ce2['create']([0x53616c74,0x65645f5f])['concat'](_0x30a6ae)['concat'](_0x1172fd):_0x4d68f9=_0x1172fd,_0x4d68f9[_0x40d382(0x2f5)](_0x254bcd);},'parse':function(_0x9d4b72){var _0x4299d2=_0x99100b,_0x11ecca,_0x3e7098=_0x254bcd[_0x4299d2(0x147)](_0x9d4b72),_0x24d090=_0x3e7098['words'];return _0x24d090[0x0]==0x53616c74&&_0x24d090[0x1]==0x65645f5f&&(_0x11ecca=_0x298ce2[_0x4299d2(0x307)](_0x24d090['slice'](0x2,0x4)),_0x24d090['splice'](0x0,0x4),_0x3e7098[_0x4299d2(0x186)]-=0x10),_0x1d9a6a['create']({'ciphertext':_0x3e7098,'salt':_0x11ecca});}},_0x532ca5=_0x121ae4[_0x99100b(0x135)]=_0x99ed82['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)]({'format':_0x38e81c}),'encrypt':function(_0x26ed37,_0x3a0763,_0x1fb5f7,_0x8aea14){var _0x190fa6=_0x99100b;_0x8aea14=this[_0x190fa6(0x313)][_0x190fa6(0x20b)](_0x8aea14);var _0x47b445=_0x26ed37['createEncryptor'](_0x1fb5f7,_0x8aea14),_0x21c923=_0x47b445['finalize'](_0x3a0763),_0x273bf9=_0x47b445[_0x190fa6(0x313)];return _0x1d9a6a[_0x190fa6(0x307)]({'ciphertext':_0x21c923,'key':_0x1fb5f7,'iv':_0x273bf9['iv'],'algorithm':_0x26ed37,'mode':_0x273bf9['mode'],'padding':_0x273bf9[_0x190fa6(0x155)],'blockSize':_0x26ed37[_0x190fa6(0x3a5)],'formatter':_0x8aea14['format']});},'decrypt':function(_0x3ab0a2,_0x38a8f6,_0x527e57,_0x4e963f){var _0x22d52e=_0x99100b;_0x4e963f=this['cfg'][_0x22d52e(0x20b)](_0x4e963f),_0x38a8f6=this['_parse'](_0x38a8f6,_0x4e963f[_0x22d52e(0x39d)]);var _0x4b5769=_0x3ab0a2[_0x22d52e(0x276)](_0x527e57,_0x4e963f)[_0x22d52e(0x3c1)](_0x38a8f6[_0x22d52e(0x251)]);return _0x4b5769;},'_parse':function(_0x4e3462,_0x2895cd){var _0x78efc9=_0x99100b;return typeof _0x4e3462==_0x78efc9(0x28f)?_0x2895cd[_0x78efc9(0x147)](_0x4e3462,this):_0x4e3462;}}),_0x15b4f2=_0x447353['kdf']={},_0x9f7ed2=_0x15b4f2[_0x99100b(0x143)]={'execute':function(_0x3f98fc,_0x43499c,_0x366a86,_0x33e2ab,_0x569e13){var _0x1c646b=_0x99100b;if(_0x33e2ab||(_0x33e2ab=_0x298ce2[_0x1c646b(0x2cf)](0x40/0x8)),_0x569e13)var _0x5f1c15=_0x584d05[_0x1c646b(0x307)]({'keySize':_0x43499c+_0x366a86,'hasher':_0x569e13})[_0x1c646b(0x305)](_0x3f98fc,_0x33e2ab);else var _0x5f1c15=_0x584d05['create']({'keySize':_0x43499c+_0x366a86})['compute'](_0x3f98fc,_0x33e2ab);var _0x18d6c0=_0x298ce2[_0x1c646b(0x307)](_0x5f1c15[_0x1c646b(0x142)][_0x1c646b(0x38e)](_0x43499c),_0x366a86*0x4);return _0x5f1c15[_0x1c646b(0x186)]=_0x43499c*0x4,_0x1d9a6a['create']({'key':_0x5f1c15,'iv':_0x18d6c0,'salt':_0x33e2ab});}},_0x371c34=_0x121ae4[_0x99100b(0x3d2)]=_0x532ca5['extend']({'cfg':_0x532ca5[_0x99100b(0x313)][_0x99100b(0x20b)]({'kdf':_0x9f7ed2}),'encrypt':function(_0x4d235a,_0x37b301,_0x507878,_0x3c87ee){var _0x27c74=_0x99100b;_0x3c87ee=this[_0x27c74(0x313)][_0x27c74(0x20b)](_0x3c87ee);var _0x2cef6b=_0x3c87ee[_0x27c74(0x36f)][_0x27c74(0x25b)](_0x507878,_0x4d235a[_0x27c74(0x25c)],_0x4d235a[_0x27c74(0x22a)],_0x3c87ee[_0x27c74(0x300)],_0x3c87ee[_0x27c74(0x2e4)]);_0x3c87ee['iv']=_0x2cef6b['iv'];var _0x512aa9=_0x532ca5['encrypt'][_0x27c74(0x130)](this,_0x4d235a,_0x37b301,_0x2cef6b['key'],_0x3c87ee);return _0x512aa9['mixIn'](_0x2cef6b),_0x512aa9;},'decrypt':function(_0x32fa66,_0x285636,_0x3f3ca1,_0x336410){var _0x2e4ab9=_0x99100b;_0x336410=this[_0x2e4ab9(0x313)]['extend'](_0x336410),_0x285636=this['_parse'](_0x285636,_0x336410[_0x2e4ab9(0x39d)]);var _0x38c559=_0x336410[_0x2e4ab9(0x36f)]['execute'](_0x3f3ca1,_0x32fa66['keySize'],_0x32fa66[_0x2e4ab9(0x22a)],_0x285636[_0x2e4ab9(0x300)],_0x336410[_0x2e4ab9(0x2e4)]);_0x336410['iv']=_0x38c559['iv'];var _0x261125=_0x532ca5['decrypt'][_0x2e4ab9(0x130)](this,_0x32fa66,_0x285636,_0x38c559['key'],_0x336410);return _0x261125;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x3fc0d2(0x1c9)],si;function Gr(){var _0x3168c6=_0x3fc0d2;return si||(si=0x1,function(_0x544b2e,_0x821351){(function(_0x2ffed2,_0x4b7d0b,_0x29b30c){var _0x28b658=_0x3335;_0x544b2e[_0x28b658(0x1c9)]=_0x4b7d0b(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xa0a295){var _0x46fa03=_0x3335;return(function(){var _0x29142f=_0x3335,_0x152922=_0xa0a295,_0x56ad84=_0x152922['lib'],_0x3b9c26=_0x56ad84[_0x29142f(0x3ba)],_0x3003c6=_0x152922[_0x29142f(0x120)],_0x59e017=[],_0x148d39=[],_0x581e64=[],_0x577834=[],_0x53282e=[],_0x678958=[],_0xe244ed=[],_0x35b90f=[],_0x3ab42a=[],_0x4cd78d=[];(function(){for(var _0x1c0c0a=[],_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++)_0x5f31a5<0x80?_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1:_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1^0x11b;for(var _0xe83a80=0x0,_0x1cee49=0x0,_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++){var _0x5a396c=_0x1cee49^_0x1cee49<<0x1^_0x1cee49<<0x2^_0x1cee49<<0x3^_0x1cee49<<0x4;_0x5a396c=_0x5a396c>>>0x8^_0x5a396c&0xff^0x63,_0x59e017[_0xe83a80]=_0x5a396c,_0x148d39[_0x5a396c]=_0xe83a80;var _0x3d5efa=_0x1c0c0a[_0xe83a80],_0x50af66=_0x1c0c0a[_0x3d5efa],_0x25191b=_0x1c0c0a[_0x50af66],_0x3c2134=_0x1c0c0a[_0x5a396c]*0x101^_0x5a396c*0x1010100;_0x581e64[_0xe83a80]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x577834[_0xe83a80]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x53282e[_0xe83a80]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x678958[_0xe83a80]=_0x3c2134;var _0x3c2134=_0x25191b*0x1010101^_0x50af66*0x10001^_0x3d5efa*0x101^_0xe83a80*0x1010100;_0xe244ed[_0x5a396c]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x35b90f[_0x5a396c]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x3ab42a[_0x5a396c]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x4cd78d[_0x5a396c]=_0x3c2134,_0xe83a80?(_0xe83a80=_0x3d5efa^_0x1c0c0a[_0x1c0c0a[_0x1c0c0a[_0x25191b^_0x3d5efa]]],_0x1cee49^=_0x1c0c0a[_0x1c0c0a[_0x1cee49]]):_0xe83a80=_0x1cee49=0x1;}}());var _0x56d7f3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x136d46=_0x3003c6[_0x29142f(0x24a)]=_0x3b9c26['extend']({'_doReset':function(){var _0x338345=_0x29142f,_0x2d70c3;if(!(this[_0x338345(0x1d7)]&&this[_0x338345(0x20e)]===this[_0x338345(0x164)])){for(var _0x5ed048=this[_0x338345(0x20e)]=this['_key'],_0x303243=_0x5ed048[_0x338345(0x142)],_0x2c7b0c=_0x5ed048[_0x338345(0x186)]/0x4,_0x57db6f=this[_0x338345(0x1d7)]=_0x2c7b0c+0x6,_0x682598=(_0x57db6f+0x1)*0x4,_0x5f37da=this[_0x338345(0x1de)]=[],_0x575099=0x0;_0x575099<_0x682598;_0x575099++)_0x575099<_0x2c7b0c?_0x5f37da[_0x575099]=_0x303243[_0x575099]:(_0x2d70c3=_0x5f37da[_0x575099-0x1],_0x575099%_0x2c7b0c?_0x2c7b0c>0x6&&_0x575099%_0x2c7b0c==0x4&&(_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff]):(_0x2d70c3=_0x2d70c3<<0x8|_0x2d70c3>>>0x18,_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff],_0x2d70c3^=_0x56d7f3[_0x575099/_0x2c7b0c|0x0]<<0x18),_0x5f37da[_0x575099]=_0x5f37da[_0x575099-_0x2c7b0c]^_0x2d70c3);for(var _0x6c5ef7=this[_0x338345(0x312)]=[],_0xabe77a=0x0;_0xabe77a<_0x682598;_0xabe77a++){var _0x575099=_0x682598-_0xabe77a;if(_0xabe77a%0x4)var _0x2d70c3=_0x5f37da[_0x575099];else var _0x2d70c3=_0x5f37da[_0x575099-0x4];_0xabe77a<0x4||_0x575099<=0x4?_0x6c5ef7[_0xabe77a]=_0x2d70c3:_0x6c5ef7[_0xabe77a]=_0xe244ed[_0x59e017[_0x2d70c3>>>0x18]]^_0x35b90f[_0x59e017[_0x2d70c3>>>0x10&0xff]]^_0x3ab42a[_0x59e017[_0x2d70c3>>>0x8&0xff]]^_0x4cd78d[_0x59e017[_0x2d70c3&0xff]];}}},'encryptBlock':function(_0x10ede5,_0x338324){this['_doCryptBlock'](_0x10ede5,_0x338324,this['_keySchedule'],_0x581e64,_0x577834,_0x53282e,_0x678958,_0x59e017);},'decryptBlock':function(_0x4b9389,_0x370aeb){var _0x3f7cb8=_0x29142f,_0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8,this[_0x3f7cb8(0x398)](_0x4b9389,_0x370aeb,this[_0x3f7cb8(0x312)],_0xe244ed,_0x35b90f,_0x3ab42a,_0x4cd78d,_0x148d39);var _0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8;},'_doCryptBlock':function(_0x3c1836,_0x20f331,_0x30631c,_0x569237,_0x5af26e,_0x39a18d,_0x240d3f,_0x33937a){var _0x1de4c3=_0x29142f;for(var _0x160a6f=this[_0x1de4c3(0x1d7)],_0x3a2a1e=_0x3c1836[_0x20f331]^_0x30631c[0x0],_0x56eaac=_0x3c1836[_0x20f331+0x1]^_0x30631c[0x1],_0x45205f=_0x3c1836[_0x20f331+0x2]^_0x30631c[0x2],_0x3dda1b=_0x3c1836[_0x20f331+0x3]^_0x30631c[0x3],_0x537bc4=0x4,_0x2938ae=0x1;_0x2938ae<_0x160a6f;_0x2938ae++){var _0x5ec0d6=_0x569237[_0x3a2a1e>>>0x18]^_0x5af26e[_0x56eaac>>>0x10&0xff]^_0x39a18d[_0x45205f>>>0x8&0xff]^_0x240d3f[_0x3dda1b&0xff]^_0x30631c[_0x537bc4++],_0x304d28=_0x569237[_0x56eaac>>>0x18]^_0x5af26e[_0x45205f>>>0x10&0xff]^_0x39a18d[_0x3dda1b>>>0x8&0xff]^_0x240d3f[_0x3a2a1e&0xff]^_0x30631c[_0x537bc4++],_0x2238f6=_0x569237[_0x45205f>>>0x18]^_0x5af26e[_0x3dda1b>>>0x10&0xff]^_0x39a18d[_0x3a2a1e>>>0x8&0xff]^_0x240d3f[_0x56eaac&0xff]^_0x30631c[_0x537bc4++],_0x21facd=_0x569237[_0x3dda1b>>>0x18]^_0x5af26e[_0x3a2a1e>>>0x10&0xff]^_0x39a18d[_0x56eaac>>>0x8&0xff]^_0x240d3f[_0x45205f&0xff]^_0x30631c[_0x537bc4++];_0x3a2a1e=_0x5ec0d6,_0x56eaac=_0x304d28,_0x45205f=_0x2238f6,_0x3dda1b=_0x21facd;}var _0x5ec0d6=(_0x33937a[_0x3a2a1e>>>0x18]<<0x18|_0x33937a[_0x56eaac>>>0x10&0xff]<<0x10|_0x33937a[_0x45205f>>>0x8&0xff]<<0x8|_0x33937a[_0x3dda1b&0xff])^_0x30631c[_0x537bc4++],_0x304d28=(_0x33937a[_0x56eaac>>>0x18]<<0x18|_0x33937a[_0x45205f>>>0x10&0xff]<<0x10|_0x33937a[_0x3dda1b>>>0x8&0xff]<<0x8|_0x33937a[_0x3a2a1e&0xff])^_0x30631c[_0x537bc4++],_0x2238f6=(_0x33937a[_0x45205f>>>0x18]<<0x18|_0x33937a[_0x3dda1b>>>0x10&0xff]<<0x10|_0x33937a[_0x3a2a1e>>>0x8&0xff]<<0x8|_0x33937a[_0x56eaac&0xff])^_0x30631c[_0x537bc4++],_0x21facd=(_0x33937a[_0x3dda1b>>>0x18]<<0x18|_0x33937a[_0x3a2a1e>>>0x10&0xff]<<0x10|_0x33937a[_0x56eaac>>>0x8&0xff]<<0x8|_0x33937a[_0x45205f&0xff])^_0x30631c[_0x537bc4++];_0x3c1836[_0x20f331]=_0x5ec0d6,_0x3c1836[_0x20f331+0x1]=_0x304d28,_0x3c1836[_0x20f331+0x2]=_0x2238f6,_0x3c1836[_0x20f331+0x3]=_0x21facd;},'keySize':0x100/0x20});_0x152922[_0x29142f(0x24a)]=_0x3b9c26[_0x29142f(0x3a9)](_0x136d46);}()),_0xa0a295[_0x46fa03(0x24a)];}));}(Ve)),Ve[_0x3168c6(0x1c9)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x3fc0d2(0x1c9)],ai;function zr(){var _0x13e8b7=_0x3fc0d2;return ai||(ai=0x1,function(_0x51e404,_0x4cb62a){(function(_0x23e3e9,_0x14c88f){var _0x15d516=_0x3335;_0x51e404[_0x15d516(0x1c9)]=_0x14c88f(ne());}(qr,function(_0x467df4){var _0x547f8f=_0x3335;return _0x467df4[_0x547f8f(0x372)]['Utf8'];}));}(Xe)),Xe[_0x13e8b7(0x1c9)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x186360=_0x3fc0d2;return ci||(ci=0x1,function(_0x226d06,_0x59a47){(function(_0x2224cb,_0x57061d){var _0x5cd531=_0x3335;_0x226d06[_0x5cd531(0x1c9)]=_0x57061d(ne());}(Zr,function(_0x4cc9ca){var _0x2cbfbc=_0x3335;return(function(){var _0x52751d=_0x3335;if(typeof ArrayBuffer=='function'){var _0x382b3e=_0x4cc9ca,_0x41c7a8=_0x382b3e[_0x52751d(0x2b6)],_0x20c1a3=_0x41c7a8[_0x52751d(0x3b4)],_0x5a88e9=_0x20c1a3[_0x52751d(0x236)],_0x50331a=_0x20c1a3[_0x52751d(0x236)]=function(_0x26222f){var _0x508df6=_0x52751d;if(_0x26222f instanceof ArrayBuffer&&(_0x26222f=new Uint8Array(_0x26222f)),(_0x26222f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26222f instanceof Uint8ClampedArray||_0x26222f instanceof Int16Array||_0x26222f instanceof Uint16Array||_0x26222f instanceof Int32Array||_0x26222f instanceof Uint32Array||_0x26222f instanceof Float32Array||_0x26222f instanceof Float64Array)&&(_0x26222f=new Uint8Array(_0x26222f['buffer'],_0x26222f['byteOffset'],_0x26222f['byteLength'])),_0x26222f instanceof Uint8Array){for(var _0x5cd87c=_0x26222f[_0x508df6(0x19b)],_0x4e1b83=[],_0x56c19d=0x0;_0x56c19d<_0x5cd87c;_0x56c19d++)_0x4e1b83[_0x56c19d>>>0x2]|=_0x26222f[_0x56c19d]<<0x18-_0x56c19d%0x4*0x8;_0x5a88e9['call'](this,_0x4e1b83,_0x5cd87c);}else _0x5a88e9[_0x508df6(0x324)](this,arguments);};_0x50331a[_0x52751d(0x24f)]=_0x20c1a3;}}()),_0x4cc9ca[_0x2cbfbc(0x2b6)][_0x2cbfbc(0x3b4)];}));}(Ze)),Ze[_0x186360(0x1c9)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x3fc0d2(0x1c9)],hi;function ns(){var _0x246c73=_0x3fc0d2;return hi||(hi=0x1,function(_0x2ddc5e,_0x24d88e){(function(_0x42ec8e,_0x3a0902,_0xbc4fdd){var _0x3a5404=_0x3335;_0x2ddc5e[_0x3a5404(0x1c9)]=_0x3a0902(ne(),Ai());}(is,function(_0x4bc214){var _0x5c79c0=_0x3335;return _0x4bc214[_0x5c79c0(0x36b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4bc214[_0x5c79c0(0x36b)]['NoPadding'];}));}(Qe)),Qe[_0x246c73(0x1c9)];}var rs=ns();const ss=ke(rs);function os(_0x190831,_0x2bd6f5){var _0x6f02a2=_0x3fc0d2;const _0x54ac16=_0x2bd6f5-_0x190831['length']%_0x2bd6f5,_0x1463f9=String[_0x6f02a2(0x31e)](_0x54ac16)[_0x6f02a2(0x364)](_0x54ac16);return _0x190831+_0x1463f9;}function _0x3d56(){var _0xbdb131=['APPLY_REJECT','_iKey','incrementRevOfUnit','_roomMembers','append','_handler','UNIVER_UNKNOWN','iterations','_getRedoStack','enableOfflineEditing','_toggleOnline','onStateChange','ws://127.0.0.1:8000/universer-api/comb/connect','requestParams','has','/universer-api/snapshot/','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getDeserializedSheetBlock','pauseCollaboration','getCollabEntity','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SUBMIT_CHANGESET','setShowComponents','uploadFileServerUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UnitEmbedded','_changesetSessionId','lib','entityInit$','JOIN_ROOM_NOT_EXISTS','crypto','/object/','/unit/','image/gif','Malformed\x20UTF-8\x20data','onMissingChangesets','resend','_undoStacks','event$','_scheduleCollaborationTimeoutTimer','LIVESHARE_NEW_HOST','16eJVIqv','_decreaseWaiting','_transformRemoteChangesetByStateCache','/universer-api/uniscript','SNAPSHOT_SERVER_URL_KEY','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_PERMISSION_DENIED','PENDING','_replayCachedMutations','ENSURE_SNAPSHOT_EXECUTION','stopTime','random','_ENC_XFORM_MODE','CHANGESET_SHOULD_RETRY','size','_checkMissing','_onOffline','toggleOnline','_initUnitPermissionChange','Undefined','onSyncEditingCollabCursor','_reverseMap','[CollaborationEntity]','get','fetch_missing','substr','AWAITING_WITH_PENDING','_loadDoc','&source=','changesets','workbook','listCollaborators','hasher','/collaborator','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','reqId','map','unsubscribe','setWaitCount','getAllMembers','image/bmp','length','_map','charAt','onRemoteChangeset','enableSingleActiveInstanceLock','HEARTBEAT_TIMEOUT','[CollaborationSessionService]:\x20socket\x20error','toString','onMissedChangesetFetched','_socket$','_getLoginPath','equals','error$','_updateState','_substituteRedoStack','getCurrentSelections','_substituteUndoStack','downloadEndpointUrl','salt','disposeWithMe','getFocusedUnit','MD5','/universer-api/stream/file/upload','compute','send','create','msCrypto','createSocket','set','_createHmacHelper','_queuedRemoteChangesets','min','_onConflict','INGEST','_onJoinRoomEvent','mixIn','_invKeySchedule','cfg','getOwnPropertyDescriptor','[FetchMissState]','237208HIXgEC','_lockTransition','_pendingMutations','_config','[CollaborationSessionService]','_createInitialState','ERROR_EXCEED_SIZE','getValue','fromCharCode','indexOf','liveShareNewHost','open$','Base','/-/object/list','apply','auth.needGotoLoginAlert','resolve','_telemetryService','_transformStateCache','/universer-api/file/{fileID}/sign-url','_onRecvEvent','BufferedBlockAlgorithm','SNAPSHOT_URL_KEY','_getAPIPrefix','charCodeAt','objectActions','_transformService','wsSessionTicketUrl','editingUnit','permissionRejEvent','updateOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','code','[DataLoaderService]','leaveEvent','isPermissionRej','collaborators','JOINING','_rescheduleHeartbeat','_transformUndoredo','[SyncedState]:\x20received\x20acknowledgement.','HttpExport','failed\x20to\x20apply\x20missed\x20changesets!','session.room-cnt-exceeds','_transitionLocked','toLowerCase','_onCombEvent','localeService','_localCacheService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','pipe','interceptor','_acknowledgedAwaitingChangeset','_collaborationPaused','runId','put','_prevBlock','YUUMI_UNABLE_LOAD_URL','_members','fetchMiss','COMPRESS_MUTATION_APPLY','getCurrentUser','createInstance','objectType','getCurrentRevOfUnit','asObservable','registerHTTPInterceptor','_fetchMissChangesets','Encryptor','_snapshotService','abs','objectID','updateMember','LIVESHARE_REQUEST_HOST','_collabSessionService','LIVESHARE_FETCH_OPERATIONS','save\x20fail\x20reason\x20is\x20','onTransformState','repeat','_syncEditingCollabCursor','_transformIMECache','_shouldReportTelemetry','Hex','_isPermissionRej','_initDependencies','pad','randomUUID','USERS_LEAVE','_members$','kdf','rev','_cipher','enc','collaboratorID','reduce','HEARTBEAT','CHANGESET_ACK','socket\x20close','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objects','&assign=','transformMutationsWithChangeset','_onConnectionFailed','univer-pro.collaboration-client.single-active-unit-service','INTERNAL_ERROR','_collaborationSessionService','copyFileMeta','_listenToNetworkCondition','[CollaborationUndoRedoService]','UNAUTHENTICATED','now','transformChangesets','_createHandler','_xformMode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','list','updatePermissionPoint','onTransformRemoteChangesetByStateCache','updatePermissionObjEvent','{fileID}','slice','members$','_onUserJoin','baseRev','function','FETCH_MISSING','_resendTimeout','ERROR_IMAGE_TYPE','OTHER_CLIENTS_EDITING','addHandlerCallback','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','name','format','_createSocketURL','image/png','_roomCreated$','/universer-api/oidc/authpage','HttpImport','snapshotServerUrl','/object','blockSize','_startTelemetryCollaborationNewChangeset','ERROR_IMAGE','onTransformRemoteChangesetByIMECache','_createHelper','delete','PERMISSION_REJ','saveSheetBlock','1811971VtIcHU','FileId','_applyRemoteChangeset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status$','/universer-api/comb','c1Prime','WordArray','_getUploadFileURL','SEND_CHANGESET_TIMEOUT','_candidateSocket','1328013hKYhBH','getRandomValues','BlockCipher','_socket','/universer-api/snapshot','SOCKET_FAILED','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_clearHeartbeatTimer','_clearRedo','finalize','_eventService','csAckEvent','NEW_CHANGESETS','ceil','HmacMD5','randomBytes','_doFinalize','getCollabEntity$','collabWebSocketUrl','subject','collaMsg','Error\x20on\x20receiving\x20event','_unlockTransition','_loadSheet','_waitCount','APPLY_DUPLICATED','PasswordBasedCipher','refreshPermission','originalMeta','onRemoteAck','COMPLETION_FINISHED','__Key__','onRemoteRej','focused$','NOT_FOUND','selections','params','_logService','CBC','_throwTelemetryCollaborationNewChangeset','getImageSourceCache','sessionStatus$','onTransformSelections','/universer-api/authz','_onUserLeave','StreamCipher','emitEvent','listRoles','Could\x20not\x20dynamically\x20require\x20\x22','_imageSourceCache','CHANGESET_REJ','_injector','_sessions','60825OehIip','online$','encodeURIComponent','actions','shouldCloseConn','session.room-not-exists','session.room-full','COMMENT_UPDATE','_entities','_commentUpdate$','Pkcs7','_clearLocalCache','RECV','debug','roles','LICENSE_EXPORT_SIZE_EXCEEDED','__creator','getConfig','COMPRESS_MUTATION_SEND','next','JOIN_ROOM_PERMISSION_DENIED','mutations','saveImage','OTHER_CLIENT_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','IDLE','_userManagerService','LICENSE_MAX_UNITS_EXCEEDED','retryConnectingInterval','CONNECTOR_DATA_TOO_LARGE','OFFLINE','_remoteChangesetQueue','_updateStatus','Cipher','_entityInit$','requireSession','[CollaborationSession]','snapshot','liveShareOperation','_redoStacks','json','complete','JOIN_ROOM_FAILED','close$','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_PLUGIN','socket\x20open.','algo','ONLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collaborationUIEventService','onCommandExecuted','Latin1','isArray','readInt32LE','YUUMI_URL_COL_OUT_OF_RANGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','values','LEAVE','_process','LOGIN_URL_KEY','_createSocket','_onMessage','call','_onConnectionOpen','_tryReconnect','APPLY_REVISION_CONFILICT','unitID','SerializableCipher','_doReset','members','result','headers','mode','max','csShouldRetryEvent','roomInfos','state','_updateLocalCache','getTypeOfUnitDisposed$','_data','words','OpenSSL','data','Hasher','unknown','parse','_type','_emitMembers','fromCollab','duration','subUnitId','_awaitingChangeset','_changesetReqId','_hash','getWorkbookSelections','UPDATE_CURSOR','568692ogvprs','UPDATE_PERMISSION_OBJ','findIndex','padding','_singleActiveUnitService','state$','close','getSheetBlock','updateCollaborator','_clearTimeoutTimer','onStarting','_sendingTimer','reset','_sheetTransformSelectionsService','PSEUDO_FETCH_MISSING_RESULT','UNIVER_DOC','INVALID_ARGUMENT','UNKNOWN_CMD','_key','_replaceFileID','signUrlServerUrl','_onRemoteRetry','clone','UNIVER_SLIDE','_memberService','_getCurrentRevision','UNRECOGNIZED','MSG_FOR_ERROR','HmacSHA1','_stopTelemetryCollaborationNewChangeset','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','\x20to\x20','UnitSnapshot','_joinRoom','getTime','_socketService','floor','EvpKDF','replace','_getSessionTicket','getMember','_onRemoteACK','Decryptor','connection\x20error','startTime','catch','offline','reverse','join','SOCKET_FAILED_RETRY','routeKey','sigBytes','default','compose','BlockCipherMode','then','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration_new_changeset','_executeRemoteChangeset','commentUpdate$','getUnitType','onRemoteRetry','_toggleOffline','session.room-permission-denied','deepClone','textRanges','commentUpdateEvent','loadUnit','68AeVxaC','onLocalMutation','_mode','LIVESHARE_OPERATION','byteLength','PERMISSION_DENIED','/-/object/-/batch_allowed','encode','1060540PVImdK','_localeService','[OfflineState]:\x20received\x20rejection.','message$','HMAC','unit-cache-','RETRY_CONNECTING_MAX_COUNT','_sessionStatus$','_clearCollaborationTimeoutTimer','HELLO','startsWith','memberID','FAIL','getSnapshotAPIPath','pluginName','_undoRedoService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','synced','ticket','body','CONFLICT','searchParams','getMemberID','_iv','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_submitChangeset','push','unpad','session','change$','_onLocalMutation','JOIN','setCurrentUser','UNISCRIPT_RUN','_event$','/block/','_status$','newCsEvent','_revisionService','$super','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_init','_snapshotServerService','loginUrlKey','_permissionService','_startCollaboration','updateCursorEvent','update','encrypt','c2Prime','_tryEnsureSocket','executeCommand','_HTTPService','sid','_nRounds','/allowed','awaitingChangeset','getUnitId','_onRemoteChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','url','_keySchedule','closeSession','CLOSE_ROOM','_collaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','cmd','responseType','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','status','dispose$','sessionStatus','collabSubmitChangesetUrl','transformUndoRedo','_socketMessageSubscription','conflict','Base64','userID','reject','People','reconnect','_authzIoService','_commandService','initWorkbookPermissionChange','awaiting','joinRsp','getSheetId','hasOwnProperty','_commentService','encryptBlock','find','m2Prime','range','resourceIDs','_telemetryInfo','unitId','authzUrl','_nDataBytes','post','add','_resendTimer','subscribe','pending','socket$','_getSendChangesetTimeout','UNDEFINED','extend','NOT_COLLAB','_transformRemoteChangesetByIMECache','_keyPriorReset','_append','createEncryptor','bind','x-univer-host','[OfflineState]:\x20received\x20changeset.','/new_changes','BASE64','sin','_createInitialStateImpl','csRejEvent','_disableEditing','_httpService','_retryCount','UNKNOWN_CODE','fetchMissingChangesets','clear','_state','rng','AWAITING','univer-pro.collaboration-client.network-condition.service','ALREADY_EXISTS','sheets','_doProcessBlock','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','?url=','_unitInfo$','_retryConnectingTimer','ivSize','getUnitOnRev','origin','_sender','POST','_handlerCallback','_univerInstanceService','_initMergeInterceptor','dispose','LOCAL_CACHE_INTERVAL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','init','_http','APPLY_NON_SEQUENTIAL_REVISION','LIVESHARE_TERMINATE','_hasher','_networkConditionService','_resendWithTimeout','SHOULD_CLOSE_CONN','_minBufferSize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','appendMutation','fetchThroughInterceptors','TOO_MANY_REQUESTS','_initRequestHeader','getInterceptPoints','_state$','putCollaborators','infoRsp','\x20in\x20_schedule.','includes','AES','processBlock','error','_showConflictNotification','socketService','prototype','removeMember','ciphertext','UNIVER_SHEET','decrypt','onTransformIME','_onRemoteRejected','filter','onload','_getAPIPrefixPath','_exhaustRemoteChangesetQueue','_change$','execute','keySize','getRoom','DEFAULT_FILE_NAME','forEach','_getUndoStack','application/json','target','UNIVER_PROJECT','Utf8','/universer-api/user/session-ticket','_clearScheduledTask','_getSignURL','onCommentUpdate','OPTIONAL','href','_transformSelections','loadOfflineData','_timeoutTimer','1150656pAailE','_incrementRevisionNumber','toggleOffline','clamp','defineProperty','onlyLocal','NO_OTHER_CLIENTS_EDITING','waitForRoom$','createDecryptor','stringify','localCacheService','USERS_ENTER','[PendingState]:\x20received\x20rejection.','_getDownloadEndpointURL','getActiveSheet','SHA1','revision','_socketReady','_waitForHeartbeatResponse','_configService','_oKey','_scheduleCompleteTimestamp','onSendChangeset','\x20-\x20','_sendHeartbeatTimer','JOIN_ROOM_FULL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','withCredentials','image/jpg','_unitID','MUTATION','SUBMIT_CHANGESET_TIMEOUT','_compressMutationService','string','Univer','enableAuthServer','_schedule','type','_sendHeartbeat','YUUMI_RATE_OVER_LIMIT','generateRandomId','_removeRoom','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','\x0aCurrent:\x20'];_0x3d56=function(){return _0xbdb131;};return _0x3d56();}function as(_0x342460,_0x24b0b7){var _0x185750=_0x3fc0d2;const _0x37d146=ts['random'](0x10),_0x189d92=os(_0x342460,0x10),_0x548a85=Kr[_0x185750(0x1d1)](Xr[_0x185750(0x147)](_0x189d92),oi[_0x185750(0x147)](_0x24b0b7),{'iv':_0x37d146,'padding':ss});return _0x37d146['concat'](_0x548a85[_0x185750(0x251)])['toString'](oi);}function cs(){var _0x5a58fc=_0x3fc0d2;const _0x395525=_0x1c7d86()[_0x5a58fc(0x3d7)];if(_0x395525){const _0x488ff4={'time':Math[_0x5a58fc(0x177)](Date[_0x5a58fc(0x384)]()/0x3e8),'domain':location['hostname']};return as(JSON['stringify'](_0x488ff4),_0x395525);}}var hs=Object['defineProperty'],_s=Object[_0x3fc0d2(0x314)],ls=(_0x7345c7,_0x2e4e5a,_0x2acb1d,_0x5cd1da)=>{var _0x120eea=_0x3fc0d2;for(var _0x58d2dc=_0x5cd1da>0x1?void 0x0:_0x5cd1da?_s(_0x2e4e5a,_0x2acb1d):_0x2e4e5a,_0x1b90ca=_0x7345c7[_0x120eea(0x2ee)]-0x1,_0x18683a;_0x1b90ca>=0x0;_0x1b90ca--)(_0x18683a=_0x7345c7[_0x1b90ca])&&(_0x58d2dc=(_0x5cd1da?_0x18683a(_0x2e4e5a,_0x2acb1d,_0x58d2dc):_0x18683a(_0x58d2dc))||_0x58d2dc);return _0x5cd1da&&_0x58d2dc&&hs(_0x2e4e5a,_0x2acb1d,_0x58d2dc),_0x58d2dc;},us=(_0x4614ab,_0x552841)=>(_0x58c294,_0x59f582)=>_0x552841(_0x58c294,_0x59f582,_0x4614ab);let ot=class{constructor(_0x5dce46){var _0x17a10b=_0x3fc0d2;this[_0x17a10b(0x21a)]=_0x5dce46,this[_0x17a10b(0x243)]();}[_0x3fc0d2(0x243)](){var _0x1e5fc9=_0x3fc0d2;this[_0x1e5fc9(0x21a)][_0x1e5fc9(0x358)]({'interceptor':(_0x488f47,_0x47910e)=>{var _0x1f2686=_0x1e5fc9;const _0x59ac27=_0x488f47[_0x1f2686(0x139)],_0x37a0c1=cs();return _0x37a0c1&&_0x59ac27['set'](_0x1f2686(0x212),_0x37a0c1),_0x47910e(_0x488f47);}});}};ot=ls([us(0x0,_0x4a0d65(_0x242e5e))],ot);var ds=Object[_0x3fc0d2(0x272)],fs=Object['getOwnPropertyDescriptor'],vs=(_0xc28ed6,_0xcd7c78,_0x3f242f,_0x2ac1e0)=>{var _0x33862e=_0x3fc0d2;for(var _0x42565d=_0x2ac1e0>0x1?void 0x0:_0x2ac1e0?fs(_0xcd7c78,_0x3f242f):_0xcd7c78,_0x3ccb28=_0xc28ed6[_0x33862e(0x2ee)]-0x1,_0x394b25;_0x3ccb28>=0x0;_0x3ccb28--)(_0x394b25=_0xc28ed6[_0x3ccb28])&&(_0x42565d=(_0x2ac1e0?_0x394b25(_0xcd7c78,_0x3f242f,_0x42565d):_0x394b25(_0x42565d))||_0x42565d);return _0x2ac1e0&&_0x42565d&&ds(_0xcd7c78,_0x3f242f,_0x42565d),_0x42565d;},mt=(_0x254c60,_0x980327)=>(_0x48f97c,_0x3c7cde)=>_0x980327(_0x48f97c,_0x3c7cde,_0x254c60);let Ot=class extends _0x2ac02b{constructor(_0x403007,_0x162974,_0x544f51){var _0x1f5b59=_0x3fc0d2;super(),N(this,_0x1f5b59(0x228),new _0x257515(null)),N(this,'unitInfo$',this[_0x1f5b59(0x228)][_0x1f5b59(0x357)]()),(this['_logService']=_0x403007,this[_0x1f5b59(0x35b)]=_0x162974,this[_0x1f5b59(0x346)]=_0x544f51);}async[_0x3fc0d2(0x196)](_0x1d45cf,_0x301c66,_0x550ec2){var _0x150e5e=_0x3fc0d2;this['_unitInfo$']['next']({'unitId':_0x1d45cf,'type':_0x301c66,'subUnitId':_0x550ec2});let _0xcc94a5=null;switch(_0x301c66){case Q[_0x150e5e(0x252)]:{_0xcc94a5=await this[_0x150e5e(0x3cf)](_0x1d45cf);break;}case Q[_0x150e5e(0x161)]:{_0xcc94a5=await this[_0x150e5e(0x2df)](_0x1d45cf);break;}default:{this[_0x150e5e(0x3dd)][_0x150e5e(0x24c)](_0x150e5e(0x337),_0x150e5e(0x3b0));break;}}return _0xcc94a5;}async['_loadSheet'](_0x5bc72e){var _0x2f9e4d=_0x3fc0d2,_0x3401c3;let _0x2f88f5=0x0;const _0x35bddb=await((_0x3401c3=this[_0x2f9e4d(0x346)])==null?void 0x0:_0x3401c3[_0x2f9e4d(0x26c)](_0x5bc72e));return _0x35bddb&&(_0x35bddb[_0x2f9e4d(0x1d9)]||_0x35bddb[_0x2f9e4d(0x402)][_0x2f9e4d(0x2ee)]!==0x0)&&(_0x2f88f5=_0x35bddb[_0x2f9e4d(0x370)]),_0x2f88f5===0x0&&this[_0x2f9e4d(0x3dd)][_0x2f9e4d(0x3fa)](_0x2f9e4d(0x337),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2f9e4d(0x35b)]['loadSheet'](_0x5bc72e,_0x2f88f5);}async[_0x3fc0d2(0x2df)](_0x28f068){var _0x3f723d=_0x3fc0d2,_0x89d31e;let _0x3be95c=0x0;const _0x69a0d9=await((_0x89d31e=this[_0x3f723d(0x346)])==null?void 0x0:_0x89d31e['loadOfflineData'](_0x28f068));return _0x69a0d9&&(_0x69a0d9['awaitingChangeset']||_0x69a0d9[_0x3f723d(0x402)][_0x3f723d(0x2ee)]!==0x0)&&(_0x3be95c=_0x69a0d9[_0x3f723d(0x370)]),_0x3be95c===0x0&&this[_0x3f723d(0x3dd)]['debug'](_0x3f723d(0x337),_0x3f723d(0x39a)),this['_snapshotService']['loadDoc'](_0x28f068,_0x3be95c);}};Ot=vs([mt(0x0,_0x5c7efb),mt(0x1,_0x4a0d65(_0x4ae372)),mt(0x2,_0x469180(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x3fc0d2(0x314)],gs=(_0x2ddc39,_0x4b4d92,_0x150c31,_0x80cfe4)=>{var _0x3dd993=_0x3fc0d2;for(var _0x1fbc80=_0x80cfe4>0x1?void 0x0:_0x80cfe4?ms(_0x4b4d92,_0x150c31):_0x4b4d92,_0x2f74e3=_0x2ddc39[_0x3dd993(0x2ee)]-0x1,_0x135cc7;_0x2f74e3>=0x0;_0x2f74e3--)(_0x135cc7=_0x2ddc39[_0x2f74e3])&&(_0x1fbc80=(_0x80cfe4?_0x135cc7(_0x4b4d92,_0x150c31,_0x1fbc80):_0x135cc7(_0x1fbc80))||_0x1fbc80);return _0x80cfe4&&_0x1fbc80&&ps(_0x4b4d92,_0x150c31,_0x1fbc80),_0x1fbc80;},gt=(_0x3524b7,_0x54a189)=>(_0x4f30ff,_0x129353)=>_0x54a189(_0x4f30ff,_0x129353,_0x3524b7);const Ss=[_0x3fc0d2(0x39f),'image/jpeg',_0x3fc0d2(0x28a),_0x3fc0d2(0x2bc),_0x3fc0d2(0x2ed)],Es=0x5*0x400*0x400,Is=_0x3fc0d2(0x2c9),Ts=_0x3fc0d2(0x304),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x3fc0d2(0x329);let yt=class{constructor(_0x3c7eae,_0x11af18,_0x415406){var _0x1191e5=_0x3fc0d2;N(this,_0x1191e5(0x3d0),0x0),N(this,_0x1191e5(0x25a),new _0x6e5a01()),N(this,_0x1191e5(0x1bd),this['_change$']),N(this,_0x1191e5(0x3e9),new Map()),(this[_0x1191e5(0x21a)]=_0x3c7eae,this[_0x1191e5(0x281)]=_0x11af18,this[_0x1191e5(0x230)]=_0x415406);}[_0x3fc0d2(0x2eb)](_0x336f12){var _0x31172e=_0x3fc0d2;this['_waitCount']=_0x336f12,this[_0x31172e(0x25a)][_0x31172e(0x400)](_0x336f12);}[_0x3fc0d2(0x3e0)](_0x14a89e,_0x2ea176){var _0x45c706=_0x3fc0d2;if(_0x2ea176===_0x10409a[_0x45c706(0x215)]){const _0x397e34=new Image();return _0x397e34['src']=_0x14a89e,_0x397e34;}return this[_0x45c706(0x3e9)][_0x45c706(0x2db)](_0x14a89e);}['addImageSourceCache'](_0x5ec7b7,_0x4e38d3,_0x9393bb){var _0x153dd1=_0x3fc0d2;_0x4e38d3===_0x10409a[_0x153dd1(0x215)]||_0x9393bb==null||this[_0x153dd1(0x3e9)][_0x153dd1(0x30a)](_0x5ec7b7,_0x9393bb);}async['getImage'](_0x22242d){var _0x107e35=_0x3fc0d2;try{const _0x2828cd=this[_0x107e35(0x165)](this[_0x107e35(0x267)](),''+_0x22242d),_0x11d088=(await this[_0x107e35(0x21a)]['get'](_0x2828cd))[_0x107e35(0x1b3)];if(_0x11d088[_0x107e35(0x24c)]&&_0x11d088[_0x107e35(0x24c)][_0x107e35(0x336)]===Ii['OK']){const _0x2b0263=new URL(_0x11d088[_0x107e35(0x1dd)],this[_0x107e35(0x27b)]())[_0x107e35(0x2f5)]();return Promise[_0x107e35(0x326)](_0x2b0263);}return Promise['reject'](_0x11d088[_0x107e35(0x24c)]);}catch(_0x5aed31){return Promise['reject'](_0x5aed31);}}async[_0x3fc0d2(0x403)](_0x38bcdf){var _0x535252=_0x3fc0d2;let _0x1966de='';if(!Ss[_0x535252(0x249)](_0x38bcdf[_0x535252(0x293)]))return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x395)]));if(_0x38bcdf[_0x535252(0x2d2)]>Es)return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x31c)]));try{const _0x40cba4=new FormData();_0x40cba4[_0x535252(0x29f)]('file',_0x38bcdf);const _0x1b132a=this['_univerInstanceService'][_0x535252(0x302)](),_0x566902=_0x1b132a==null?void 0x0:_0x1b132a['getUnitId']();if(!_0x566902)throw new Error('unitId\x20is\x20not\x20found');const _0x288d9d=this[_0x535252(0x3b5)]()+'?size='+_0x38bcdf['size'][_0x535252(0x2f5)]()+_0x535252(0x2e0)+Ti[_0x535252(0x2b4)]+_0x535252(0x37a)+encodeURIComponent(_0x566902),_0x269160=await(await fetch(_0x288d9d,{'method':_0x535252(0x22e),'body':_0x40cba4}))[_0x535252(0x119)]();if(typeof _0x269160[_0x535252(0x3ae)]!='string')return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x3a7)]));_0x1966de=_0x269160[_0x535252(0x3ae)];}catch{return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x3a7)]));}return new Promise((_0x4648cc,_0x5bbd02)=>{var _0x397744=_0x535252;const _0x103246=new FileReader();_0x103246['readAsDataURL'](_0x38bcdf),_0x103246[_0x397744(0x257)]=_0x2c1d18=>{var _0x2547a9=_0x397744,_0x42f620;const _0x23ba1d=(_0x42f620=_0x2c1d18[_0x2547a9(0x262)])==null?void 0x0:_0x42f620[_0x2547a9(0x138)];if(_0x23ba1d==null){this[_0x2547a9(0x2c5)](),_0x5bbd02(new Error(_0x20e925[_0x2547a9(0x3a7)]));return;}const _0x474c8e=_0x3f72fc[_0x2547a9(0x296)](0x6);_0x4648cc({'imageId':_0x474c8e,'imageSourceType':_0x10409a['UUID'],'source':_0x1966de,'base64Cache':_0x23ba1d,'status':_0x20e925['SUCCUSS']}),this[_0x2547a9(0x2c5)]();};});}[_0x3fc0d2(0x3b5)](){var _0x543383=_0x3fc0d2,_0x1e00e1,_0x210f90;const _0x57ba11=this[_0x543383(0x281)]['getConfig'](Is),_0x5b4519=this[_0x543383(0x281)][_0x543383(0x3fe)](q);return(_0x210f90=(_0x1e00e1=_0x5b4519==null?void 0x0:_0x5b4519[_0x543383(0x2b2)])!=null?_0x1e00e1:_0x57ba11)!=null?_0x210f90:Ts;}[_0x3fc0d2(0x267)](){var _0x401354=_0x3fc0d2,_0xfa0ee3,_0xb34f48;const _0xd8a9e8=this[_0x401354(0x281)][_0x401354(0x3fe)](Cs),_0x417c05=this[_0x401354(0x281)][_0x401354(0x3fe)](q);return(_0xb34f48=(_0xfa0ee3=_0x417c05==null?void 0x0:_0x417c05[_0x401354(0x166)])!=null?_0xfa0ee3:_0xd8a9e8)!=null?_0xb34f48:Rs;}[_0x3fc0d2(0x27b)](){var _0x108eea=_0x3fc0d2,_0x3d040e;const _0x23c782=this['_configService'][_0x108eea(0x3fe)](q);return(_0x3d040e=_0x23c782==null?void 0x0:_0x23c782[_0x108eea(0x2ff)])!=null?_0x3d040e:location['origin'];}[_0x3fc0d2(0x165)](_0x143b48,_0x4134ed){var _0x27e2e5=_0x3fc0d2;return _0x143b48[_0x27e2e5(0x179)](_0x27e2e5(0x38d),_0x4134ed);}[_0x3fc0d2(0x2c5)](){var _0x1912c3=_0x3fc0d2;this[_0x1912c3(0x3d0)]-=0x1,this[_0x1912c3(0x25a)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x4a0d65(_0x242e5e)),gt(0x1,_0x10186),gt(0x2,_0x4a0d65(_0x2e5298))],yt);var bs=Object[_0x3fc0d2(0x272)],Os=Object[_0x3fc0d2(0x314)],ys=(_0x10eb06,_0x22bb16,_0x333e27,_0xc0e7bb)=>{var _0x3f3fc4=_0x3fc0d2;for(var _0x431feb=_0xc0e7bb>0x1?void 0x0:_0xc0e7bb?Os(_0x22bb16,_0x333e27):_0x22bb16,_0x9ea306=_0x10eb06[_0x3f3fc4(0x2ee)]-0x1,_0x220030;_0x9ea306>=0x0;_0x9ea306--)(_0x220030=_0x10eb06[_0x9ea306])&&(_0x431feb=(_0xc0e7bb?_0x220030(_0x22bb16,_0x333e27,_0x431feb):_0x220030(_0x431feb))||_0x431feb);return _0xc0e7bb&&_0x431feb&&bs(_0x22bb16,_0x333e27,_0x431feb),_0x431feb;},_i=(_0x3f621f,_0x55d52e)=>(_0x432fe1,_0x2012c5)=>_0x55d52e(_0x432fe1,_0x2012c5,_0x3f621f);const Ns=_0x3fc0d2(0x3e3);let Nt=class{constructor(_0x533f4e,_0x93ac6a){var _0x1f5b40=_0x3fc0d2;this[_0x1f5b40(0x281)]=_0x533f4e,this[_0x1f5b40(0x1d5)]=_0x93ac6a;}[_0x3fc0d2(0x258)](){var _0x478a97=_0x3fc0d2,_0x55ab8d,_0x54ed83;const _0x13ff92=this['_configService'][_0x478a97(0x3fe)](Pi),_0x3b1ba3=this['_configService'][_0x478a97(0x3fe)](q);return(_0x54ed83=(_0x55ab8d=_0x3b1ba3==null?void 0x0:_0x3b1ba3[_0x478a97(0x201)])!=null?_0x55ab8d:_0x13ff92)!=null?_0x54ed83:Ns;}async[_0x3fc0d2(0x389)](_0x166961){var _0x42a730=_0x3fc0d2;const _0x23e9e7=this[_0x42a730(0x258)]()+_0x42a730(0x2e5);return{'list':[{'title':_0x42a730(0x1f0),'mentions':(await this['_HTTPService'][_0x42a730(0x2db)](_0x23e9e7,{'params':{'objectID':_0x166961['unitId'],'unitID':_0x166961['unitId']}}))['body'][_0x42a730(0x33a)][_0x42a730(0x2e9)](_0x365408=>({'objectId':_0x365408['id'],'name':_0x365408['subject'][_0x42a730(0x39c)],'metadata':{'icon':_0x365408[_0x42a730(0x3cb)]['avatar']},'label':_0x365408[_0x42a730(0x3cb)]['name'],'objectType':_0x1fc710['PERSON']})),'metadata':{},'type':_0x1fc710['PERSON']}]};}};Nt=ys([_i(0x0,_0x4a0d65(_0x10186)),_i(0x1,_0x4a0d65(_0x242e5e))],Nt);var Ds=Object[_0x3fc0d2(0x272)],Ps=Object[_0x3fc0d2(0x314)],ws=(_0x4d1901,_0x278071,_0xb856b,_0x289e69)=>{for(var _0x15d149=_0x289e69>0x1?void 0x0:_0x289e69?Ps(_0x278071,_0xb856b):_0x278071,_0xf712be=_0x4d1901['length']-0x1,_0x3aacb4;_0xf712be>=0x0;_0xf712be--)(_0x3aacb4=_0x4d1901[_0xf712be])&&(_0x15d149=(_0x289e69?_0x3aacb4(_0x278071,_0xb856b,_0x15d149):_0x3aacb4(_0x15d149))||_0x15d149);return _0x289e69&&_0x15d149&&Ds(_0x278071,_0xb856b,_0x15d149),_0x15d149;},Se=(_0x37a63c,_0x28cbcf)=>(_0x4ca237,_0x5d3741)=>_0x28cbcf(_0x4ca237,_0x5d3741,_0x37a63c);let at=class extends _0x2ac02b{constructor(_0x4d87ab,_0xa3c02b,_0x15ff59,_0x168ca4,_0x20b570,_0x3ade67,_0x32846b){var _0x4bef11=_0x3fc0d2;super(),this['_injector']=_0x4d87ab,this['_univerInstanceService']=_0xa3c02b,this[_0x4bef11(0x1cd)]=_0x15ff59,this[_0x4bef11(0x37f)]=_0x168ca4,this['_collaborationUIEventService']=_0x20b570,this[_0x4bef11(0x1f2)]=_0x3ade67,this[_0x4bef11(0x1ae)]=_0x32846b,this[_0x4bef11(0x2d6)](),this['_initCloseConn']();}[_0x3fc0d2(0x298)](){var _0x12aed3=_0x3fc0d2;const _0x153917=async _0x53107a=>{var _0x1e3471=_0x3335;(await this[_0x1e3471(0x37f)][_0x1e3471(0x114)](_0x53107a))[_0x1e3471(0x2c1)][_0x1e3471(0x348)](_0x59d3b8(_0x11b924=>_0x11b924[_0x1e3471(0x1b0)]===_0x5e0126[_0x1e3471(0x23d)]),_0x28efe9(this[_0x1e3471(0x1e7)]))['subscribe'](_0x5e84e5=>{var _0x1c3532=_0x1e3471;const _0x1898c5=_0x5e84e5,{reason:_0x38d14e}=_0x1898c5[_0x1c3532(0x144)];this[_0x1c3532(0x123)][_0x1c3532(0x3e6)]({'id':se['CLOSE_ROOM'],'data':_0x38d14e}),this[_0x1c3532(0x1cd)][_0x1c3532(0x38a)](new _0x54a994(_0x53107a)['id'],!0x1),this['_collaborationSessionService'][_0x1c3532(0x1df)](_0x53107a);});};_0x5a2e3b(this[_0x12aed3(0x230)][_0x12aed3(0x2e6)](_0x56b6a1['UNIVER_SHEET']),this[_0x12aed3(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1[_0x12aed3(0x161)]))[_0x12aed3(0x348)](_0x1c1a45(_0x48bf22=>_0x48bf22[_0x12aed3(0x1da)]()),_0x59d3b8(_0x10eec3=>!_0xe5a37f(_0x10eec3)),_0x28efe9(this['dispose$']))[_0x12aed3(0x206)](_0x28e8fa=>{_0x153917(_0x28e8fa);});}[_0x3fc0d2(0x2d6)](){var _0x29941d=_0x3fc0d2;const _0x57bf6b=async _0x3318d0=>{var _0x5a280d=_0x3335;const _0x584be4=await this[_0x5a280d(0x37f)][_0x5a280d(0x114)](_0x3318d0),_0x1d7daf=this[_0x5a280d(0x3eb)][_0x5a280d(0x2db)](_0x5dab13);_0x584be4['event$']['pipe'](_0x59d3b8(_0x180aaa=>_0x180aaa['eventID']===_0x5e0126[_0x5a280d(0x153)]),_0x28efe9(this['dispose$']))['subscribe'](_0x537085=>{var _0x1c1d3d=_0x5a280d;const _0x824f4c=_0x537085,{objectId:_0x174ad7}=_0x824f4c[_0x1c1d3d(0x144)];_0x174ad7===_0x3318d0?_0x1d7daf[_0x1c1d3d(0x1f4)](_0x3318d0):_0x1d7daf[_0x1c1d3d(0x3d3)](_0x3318d0,_0x174ad7);});};_0x5a2e3b(this[_0x29941d(0x230)][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x252)]),this['_univerInstanceService'][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x161)]))[_0x29941d(0x348)](_0x1c1a45(_0x3f51c5=>_0x3f51c5['getUnitId']()),_0x59d3b8(_0x364ab2=>!_0xe5a37f(_0x364ab2)),_0x28efe9(this[_0x29941d(0x1e7)]))['subscribe'](_0x461c1a=>{_0x57bf6b(_0x461c1a);});}};at=ws([Se(0x0,_0x4a0d65(_0x3e5f47)),Se(0x1,_0x2e5298),Se(0x2,_0x8735be),Se(0x3,_0x4a0d65(Le)),Se(0x4,_0x4a0d65(pe)),Se(0x5,_0x3f2e29),Se(0x6,_0x3a051e)],at);var Us=Object[_0x3fc0d2(0x272)],As=Object[_0x3fc0d2(0x314)],xs=(_0x4d3340,_0x43a17d,_0x3db2ac,_0x82e577)=>{var _0x3d47b1=_0x3fc0d2;for(var _0x4d0052=_0x82e577>0x1?void 0x0:_0x82e577?As(_0x43a17d,_0x3db2ac):_0x43a17d,_0x32834a=_0x4d3340[_0x3d47b1(0x2ee)]-0x1,_0x54dc42;_0x32834a>=0x0;_0x32834a--)(_0x54dc42=_0x4d3340[_0x32834a])&&(_0x4d0052=(_0x82e577?_0x54dc42(_0x43a17d,_0x3db2ac,_0x4d0052):_0x54dc42(_0x4d0052))||_0x4d0052);return _0x82e577&&_0x4d0052&&Us(_0x43a17d,_0x3db2ac,_0x4d0052),_0x4d0052;},li=(_0x49b005,_0x369a53)=>(_0x1c6b72,_0x1be0b7)=>_0x369a53(_0x1c6b72,_0x1be0b7,_0x49b005);let Dt=class{constructor(_0xad0b1f,_0x1ff7df){var _0xaf224c=_0x3fc0d2;this[_0xaf224c(0x281)]=_0xad0b1f,this[_0xaf224c(0x21a)]=_0x1ff7df;}async[_0x3fc0d2(0x22b)](_0x3394e4,_0x136257){var _0x437379=_0x3fc0d2,_0x1f185;const {unitID:_0xa4288a,type:_0xbf95f7,revision:_0x1ccf61=0x0}=_0x136257,_0x43b0e0=this[_0x437379(0x1ac)]()+'/'+_0xbf95f7+_0x437379(0x2bb)+_0xa4288a+'/rev/'+_0x1ccf61,_0x5e5245=(await this[_0x437379(0x21a)][_0x437379(0x2db)](_0x43b0e0))[_0x437379(0x1b3)],_0x362396=(_0x1f185=_0x5e5245[_0x437379(0x116)])==null?void 0x0:_0x1f185[_0x437379(0x2e2)];if(_0x362396){const _0x5dc695=_0x362396==null?void 0x0:_0x362396[_0x437379(0x3d4)],_0xeb25b9=_0x35f0c4['encode'](_0x50f9c6(_0x5dc695));_0x362396[_0x437379(0x3d4)]=_0xeb25b9,Object['entries'](_0x362396[_0x437379(0x224)])['forEach'](([,_0x1f0059])=>{var _0x41b48d=_0x437379;const _0x13faca=_0x1f0059['originalMeta'],_0xac67a=_0x35f0c4[_0x41b48d(0x19e)](_0x50f9c6(_0x13faca));_0x1f0059['originalMeta']=_0xac67a;});}return _0x5e5245;}async[_0x3fc0d2(0x159)](_0x2b60e3,_0x6e493){var _0x213722=_0x3fc0d2;const {unitID:_0x4e7a30,type:_0x582425,blockID:_0x4f0fd7}=_0x6e493,_0x576bd9=this[_0x213722(0x32d)]()+'/'+_0x582425+'/unit/'+_0x4e7a30+_0x213722(0x1c3)+_0x4f0fd7;return(await this['_httpService'][_0x213722(0x2db)](_0x576bd9))[_0x213722(0x1b3)];}async[_0x3fc0d2(0x2ac)](_0x1137ba,_0x46ff62){var _0x1cd5cf=_0x3fc0d2;const {unitID:_0x41e231,type:_0x4a14ae,blockID:_0x2b6a6a}=_0x46ff62,_0x505758=this[_0x1cd5cf(0x32d)]()+'/block/'+_0x4a14ae+'/unit/'+_0x41e231+_0x1cd5cf(0x1c3)+_0x2b6a6a;return(await this[_0x1cd5cf(0x21a)]['get'](_0x505758))[_0x1cd5cf(0x1b3)];}async[_0x3fc0d2(0x21d)](_0x210cb6,_0x2142fe){var _0xb5cc21=_0x3fc0d2;const {unitID:_0xcacbc4,type:_0x46f4f1,from:_0x2ab659,to:_0x5cd461}=_0x2142fe,_0x5b0db2=this[_0xb5cc21(0x32d)]()+'/'+_0x46f4f1+_0xb5cc21(0x2bb)+_0xcacbc4+'/fetchmissing?from='+_0x2ab659+'&to='+_0x5cd461;return(await this['_httpService']['get'](_0x5b0db2))[_0xb5cc21(0x1b3)];}[_0x3fc0d2(0x1ac)](){var _0x84959=_0x3fc0d2,_0xb803c;return(_0xb803c=this['_configService'][_0x84959(0x3fe)](Tn))!=null?_0xb803c:this['_getAPIPrefix']();}[_0x3fc0d2(0x32d)](){var _0x40ab5f=_0x3fc0d2,_0x2dd5ef,_0x2c7d5b;const _0x14509a=this['_configService']['getConfig'](En),_0xc5f0d9=this['_configService'][_0x40ab5f(0x3fe)](q);return(_0x2c7d5b=(_0x2dd5ef=_0xc5f0d9==null?void 0x0:_0xc5f0d9[_0x40ab5f(0x3a3)])!=null?_0x2dd5ef:_0x14509a)!=null?_0x2c7d5b:In;}async['getResourcesRequest'](_0x2d5fc4,_0x30d447){var _0x4ca082=_0x3fc0d2;const _0x2c8b0d=_0x4ca082(0x2aa)+_0x30d447['type']+_0x4ca082(0x2bb)+_0x30d447[_0x4ca082(0x134)]+'/resources';return(await this[_0x4ca082(0x21a)][_0x4ca082(0x2db)](_0x2c8b0d,{'params':{'resourceId':JSON[_0x4ca082(0x277)](_0x30d447[_0x4ca082(0x1fe)])}}))[_0x4ca082(0x1b3)];}['saveSnapshot'](){var _0x5494c6=_0x3fc0d2;throw new Error(_0x5494c6(0x226));}[_0x3fc0d2(0x3ac)](){var _0x390d96=_0x3fc0d2;throw new Error(_0x390d96(0x226));}['saveChangeset'](){var _0x515db0=_0x3fc0d2;throw new Error(_0x515db0(0x226));}[_0x3fc0d2(0x380)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x253e46=_0x3fc0d2;throw new Error(_0x253e46(0x226));}};Dt=xs([li(0x0,_0x10186),li(0x1,_0x4a0d65(_0x242e5e))],Dt);var Ls=Object[_0x3fc0d2(0x272)],Ms=Object[_0x3fc0d2(0x314)],$s=(_0x31f78c,_0x58a164,_0x56620f,_0x480227)=>{var _0x4911be=_0x3fc0d2;for(var _0x3ba4cc=_0x480227>0x1?void 0x0:_0x480227?Ms(_0x58a164,_0x56620f):_0x58a164,_0x2452ad=_0x31f78c[_0x4911be(0x2ee)]-0x1,_0x3bd284;_0x2452ad>=0x0;_0x2452ad--)(_0x3bd284=_0x31f78c[_0x2452ad])&&(_0x3ba4cc=(_0x480227?_0x3bd284(_0x58a164,_0x56620f,_0x3ba4cc):_0x3bd284(_0x3ba4cc))||_0x3ba4cc);return _0x480227&&_0x3ba4cc&&Ls(_0x58a164,_0x56620f,_0x3ba4cc),_0x3ba4cc;},Ae=(_0x2a1ef1,_0x53e4cd)=>(_0x3cba1f,_0x8f1a24)=>_0x53e4cd(_0x3cba1f,_0x8f1a24,_0x2a1ef1);let Pt=class extends _0x183421{constructor(_0x3eec3d,_0x3b0faa,_0x54e020,_0x31faf1,_0x159ba3){var _0x2e33eb=_0x3fc0d2;super(_0x3eec3d,_0x3b0faa,_0x54e020),this[_0x2e33eb(0x330)]=_0x31faf1,this[_0x2e33eb(0x3dd)]=_0x159ba3;}[_0x3fc0d2(0x1ea)](_0x43929e,_0x2977e8){var _0x18b3c7=_0x3fc0d2;const _0x2ba9a9=this['_getUndoStack'](_0x43929e);if(_0x2ba9a9)try{const _0x15025e=this['_transformStack'](_0x2ba9a9,_0x2977e8);this[_0x18b3c7(0x2fe)](_0x43929e,_0x15025e);}catch(_0x22cb2d){this[_0x18b3c7(0x3dd)][_0x18b3c7(0x24c)](_0x18b3c7(0x382),_0x22cb2d),this['_clearUndo'](_0x43929e);}const _0x40d5a3=this[_0x18b3c7(0x2a3)](_0x43929e);if(_0x40d5a3)try{const _0x433f8a=this['_transformStack'](_0x40d5a3,_0x2977e8);this['_substituteRedoStack'](_0x43929e,_0x433f8a);}catch(_0x44d0fe){this[_0x18b3c7(0x3dd)]['error'](_0x44d0fe),this['_clearRedo'](_0x43929e);}}['_clearUndo'](_0xb15d49){var _0x48faf2=_0x3fc0d2;const _0x39467b=this[_0x48faf2(0x260)](_0xb15d49);_0x39467b&&(_0x39467b[_0x48faf2(0x2ee)]=0x0,this[_0x48faf2(0x111)]());}[_0x3fc0d2(0x3c0)](_0x4f3066){var _0xff67ed=_0x3fc0d2;const _0x42c574=this['_getRedoStack'](_0x4f3066);_0x42c574&&(_0x42c574[_0xff67ed(0x2ee)]=0x0,this[_0xff67ed(0x111)]());}[_0x3fc0d2(0x2fe)](_0x13f34f,_0x1915f6){var _0x2da303=_0x3fc0d2;this[_0x2da303(0x2c0)][_0x2da303(0x30a)](_0x13f34f,_0x1915f6),this[_0x2da303(0x111)]();}[_0x3fc0d2(0x2fc)](_0x531eb7,_0x405477){var _0x3a078b=_0x3fc0d2;this[_0x3a078b(0x118)][_0x3a078b(0x30a)](_0x531eb7,_0x405477),this[_0x3a078b(0x111)]();}['_transformStack'](_0x968633,_0x4da085){var _0x43b711=_0x3fc0d2;const _0x147aca=[];let _0x123e21=_0x4da085,_0x54f20e=_0x4da085;for(let _0xe83ec3=_0x968633[_0x43b711(0x2ee)]-0x1;_0xe83ec3>=0x0;_0xe83ec3--){const {unitID:_0x582adc,undoMutations:_0x4c7540,redoMutations:_0x87f14a}=_0x968633[_0xe83ec3],_0x40ef67=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x123e21,_0x4c7540),_0x34ba0c=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x54f20e,_0x87f14a);if(_0x170ef7(_0x40ef67)||_0x170ef7(_0x34ba0c)){this['_logService'][_0x43b711(0x24c)](_0x43b711(0x382),'transformStack\x20failed!',_0x40ef67,_0x34ba0c);break;}_0x123e21=_0x40ef67[_0x43b711(0x3b3)],_0x54f20e=_0x34ba0c[_0x43b711(0x3b3)],_0x147aca[_0x43b711(0x1ba)]({'unitID':_0x582adc,'undoMutations':_0x40ef67[_0x43b711(0x1fc)],'redoMutations':_0x34ba0c['m2Prime']});}return _0x147aca[_0x43b711(0x182)]();}};Pt=$s([Ae(0x0,_0x2e5298),Ae(0x1,_0x478928),Ae(0x2,_0x302f51),Ae(0x3,_0x44918b),Ae(0x4,_0x5c7efb)],Pt);var xi=Object[_0x3fc0d2(0x272)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x8fb29f,_0x565b6b,_0x49c957)=>_0x565b6b in _0x8fb29f?xi(_0x8fb29f,_0x565b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49c957}):_0x8fb29f[_0x565b6b]=_0x49c957,js=(_0x362bc0,_0x47abeb,_0x140089,_0x3f9054)=>{var _0x3a92d8=_0x3fc0d2;for(var _0x4fb215=_0x3f9054>0x1?void 0x0:_0x3f9054?Hs(_0x47abeb,_0x140089):_0x47abeb,_0x421887=_0x362bc0[_0x3a92d8(0x2ee)]-0x1,_0x468700;_0x421887>=0x0;_0x421887--)(_0x468700=_0x362bc0[_0x421887])&&(_0x4fb215=(_0x3f9054?_0x468700(_0x47abeb,_0x140089,_0x4fb215):_0x468700(_0x4fb215))||_0x4fb215);return _0x3f9054&&_0x4fb215&&xi(_0x47abeb,_0x140089,_0x4fb215),_0x4fb215;},St=(_0x48ccb1,_0x1bd857)=>(_0x7a03b2,_0x52ea96)=>_0x1bd857(_0x7a03b2,_0x52ea96,_0x48ccb1),Bs=(_0x5f0ddb,_0x35c863,_0x54be79)=>ks(_0x5f0ddb,_0x35c863+'',_0x54be79);const Fs=_0x3fc0d2(0x11e);let wt=class extends _0x18aed0{constructor(_0x2cadf7=Wt,_0x3c4aaa,_0xfdbe82,_0x4690ba){var _0xc3fdb8=_0x3fc0d2;super(),this[_0xc3fdb8(0x319)]=_0x2cadf7,this['_logService']=_0x3c4aaa,this[_0xc3fdb8(0x3eb)]=_0xfdbe82,this['_configService']=_0x4690ba;const {..._0x14306a}=_0x3cb396({},Wt,this[_0xc3fdb8(0x319)]);this[_0xc3fdb8(0x281)]['setConfig'](q,_0x14306a);}[_0x3fc0d2(0x15c)](){var _0x43a6a0=_0x3fc0d2;this[_0x43a6a0(0x170)](),this['_initDependencies']();}[_0x3fc0d2(0x170)](){var _0x2eec02=_0x3fc0d2,_0x361135,_0x126d98,_0xea0816,_0x78bd14;this['_injector'][_0x2eec02(0x2a9)](_0x3a051e)&&this[_0x2eec02(0x3dd)][_0x2eec02(0x24c)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4fa274=_0x4b73c5([[_0x3a051e,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x126d98=(_0x361135=this[_0x2eec02(0x319)])==null?void 0x0:_0x361135[_0x2eec02(0x24e)])!=null?_0x126d98:Et}],[_0x5e56ee,{'useClass':Dt}],[_0x3f2e29,{'useClass':bt}],[_0x4aad99,{'useClass':yt}],[_0x1514c0,{'useClass':Nt}],[rt],[Rt]],(_0xea0816=this[_0x2eec02(0x319)])==null?void 0x0:_0xea0816['override']);if(!((_0x78bd14=this['_config'])!=null&&_0x78bd14[_0x2eec02(0x2f2)])){const _0x179233=_0x4fa274[_0x2eec02(0x154)](([_0x4caef5])=>_0x4caef5===ht);_0x179233!==-0x1&&_0x4fa274['splice'](_0x179233,0x1);}_0x15c41e(this['_injector'],_0x4fa274);}[_0x3fc0d2(0x36a)](){var _0x35cf67=_0x3fc0d2,_0x3598d8,_0x1c9c98,_0x3de4b1;this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](_0x242e5e)[_0x35cf67(0x358)]({'priority':0x14,'interceptor':_0x4e4e5c({'maxParallel':0x6})}),(_0x3598d8=this['_config'])!=null&&_0x3598d8[_0x35cf67(0x2a4)]||(_0x1c9c98=this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](J,_0x3c737a[_0x35cf67(0x269)]))==null||_0x1c9c98['disableLocalCache'](),(_0x3de4b1=this[_0x35cf67(0x319)])!=null&&_0x3de4b1[_0x35cf67(0x291)]&&_0x105bc9(this['_injector'],[[st]]),_0x105bc9(this[_0x35cf67(0x3eb)],[[ot],[rt],[at]]);}};Bs(wt,_0x3fc0d2(0x1ad),Fs),wt=js([_0x13352f(_0x52de3d,_0x14e1d4,_0x4e6422),St(0x1,_0x5c7efb),St(0x2,_0x4a0d65(_0x3e5f47)),St(0x3,_0x10186)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x2b909d=_0x9ebb;(function(_0x4fc627,_0x208159){var _0x1216d4=_0x9ebb,_0x1bd190=_0x4fc627();while(!![]){try{var _0x1ca26d=-parseInt(_0x1216d4(0x186))/0x1+-parseInt(_0x1216d4(0x211))/0x2*(parseInt(_0x1216d4(0x391))/0x3)+parseInt(_0x1216d4(0x14d))/0x4*(parseInt(_0x1216d4(0x27e))/0x5)+parseInt(_0x1216d4(0xdd))/0x6*(parseInt(_0x1216d4(0x221))/0x7)+parseInt(_0x1216d4(0x25b))/0x8+-parseInt(_0x1216d4(0xff))/0x9*(parseInt(_0x1216d4(0xf3))/0xa)+parseInt(_0x1216d4(0x1c4))/0xb;if(_0x1ca26d===_0x208159)break;else _0x1bd190['push'](_0x1bd190['shift']());}catch(_0x3d143c){_0x1bd190['push'](_0x1bd190['shift']());}}}(_0x10d7,0xb7c5a));var Li=Object['defineProperty'],Mi=(_0x1cf977,_0x3c7b47,_0x176c86)=>_0x3c7b47 in _0x1cf977?Li(_0x1cf977,_0x3c7b47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x176c86}):_0x1cf977[_0x3c7b47]=_0x176c86,N=(_0x4e69dc,_0x5bc817,_0x27dded)=>Mi(_0x4e69dc,typeof _0x5bc817!=_0x2b909d(0xd2)?_0x5bc817+'':_0x5bc817,_0x27dded);import{createIdentifier as _0x425e11,Inject as _0x810bfa,Injector as _0x4720a8,Disposable as _0x582864,DisposableCollection as _0x4241cd,toDisposable as _0x10312e,IConfigService as _0x322413,ILogService as _0x3b937c,UserManagerService as _0x3ac7c0,UniverInstanceType as _0x464735,IUniverInstanceService as _0x3d1ff0,LocaleService as _0x4943c2,Optional as _0x576a69,RxDisposable as _0x5a208c,Tools as _0x2cf444,Rectangle as _0x318e47,ICommandService as _0x30d4d0,JSONX as _0x5649ac,CommandType as _0x5e43db,IPermissionService as _0x31e5b9,IUndoRedoService as _0x19e773,sequenceExecute as _0x4b7ce6,Workbook as _0x2ae3c6,MentionType as _0x191980,IAuthzIoService as _0x235e42,isInternalEditorID as _0x3de3f9,LocalUndoRedoService as _0x48cf2c,IContextService as _0x405571,DependentOn as _0x5dbd14,Plugin as _0x389887,merge as _0x37a401,mergeOverrideWithDependencies as _0x128c9e,IMentionIOService as _0x4671dd,registerDependencies as _0x503f5c,Quantity as _0x1323ad,touchDependencies as _0x57d684}from'@univerjs/core';import{Subject as _0x558b23,merge as _0x44310e,of as _0x5b7aa7,BehaviorSubject as _0x167a8f,takeUntil as _0x56d9b1,ReplaySubject as _0x550ddd,take as _0x55b1a2,map as _0x2eca2f,shareReplay as _0xdd3eeb,firstValueFrom as _0x1d479b,concatMap as _0x48ffb2}from'rxjs';import{map as _0x4df9ea,take as _0x22bfd1,filter as _0x3d2e9e,delay as _0x1d977f,takeUntil as _0x371c58}from'rxjs/operators';import{HTTPService as _0x561c6c,ISocketService as _0x43cd66,MergeInterceptorFactory as _0x50aa77,HTTPRequest as _0xbd0aec,UniverNetworkPlugin as _0x20f61e,ThresholdInterceptorFactory as _0x371cec}from'@univerjs/network';import{CollaborationEvent as _0x1ad9e6,parseChangesetToProtocol as _0x26ccc6,ISnapshotServerService as _0x83ddec,isTransformMutationsWithChangesetSuccess as _0x86d2f8,ITransformService as _0xf23314,mapDocumentTypeToUniverType as _0x186d02,RevisionService as _0x548040,isTransformChangesetsSuccess as _0x3796bc,CompressMutationService as _0x227905,parseProtocolChangeset as _0x5cb3ff,SnapshotService as _0xae1688,textEncoder as _0x398ae6,b64DecodeUnicode as _0x61ddf4,isTransformMutationsWithChangesetFailure as _0x11d978,UniverCollaborationPlugin as _0x51bf64}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x270522}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1bf2f0}from'@univerjs/docs';import{SheetsSelectionsService as _0x25abfa,SetSelectionsOperation as _0x27e7a5,InsertSheetMutation as _0x588738,EmptyMutation as _0x15164f,WorkbookEditablePermission as _0x283c51,SheetPermissionInitController as _0x1a872a,UniverSheetsPlugin as _0x4128f5}from'@univerjs/sheets';import{ImageSourceType as _0x5b17f5,ImageUploadStatusType as _0x31d262,IImageIoService as _0x3553b6}from'@univerjs/drawing';import{getGlobalObject as _0x4dc302}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In='/universer-api/snapshot',Tn=_0x2b909d(0x33b),eo=_0x2b909d(0x1a0),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x2b909d(0x305),On=_0x2b909d(0x259),yn=_0x2b909d(0x27d),Nn=0x7530,Si=_0x2b909d(0x30d),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x2b909d(0x226),io=0x3e8,Un=_0x2b909d(0xc5),An='/universer-api/comb',xn=_0x2b909d(0x2e9),Ln=_0x2b909d(0x1eb),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x2b909d(0x2c2);var Ii=(_0x5e53ed=>(_0x5e53ed[_0x5e53ed[_0x2b909d(0x265)]=0x0]=_0x2b909d(0x265),_0x5e53ed[_0x5e53ed['OK']=0x1]='OK',_0x5e53ed[_0x5e53ed['INTERNAL_ERROR']=0x2]=_0x2b909d(0x2f1),_0x5e53ed[_0x5e53ed[_0x2b909d(0x154)]=0x3]=_0x2b909d(0x154),_0x5e53ed[_0x5e53ed[_0x2b909d(0x338)]=0x4]=_0x2b909d(0x338),_0x5e53ed[_0x5e53ed['UNAUTHENTICATED']=0x5]=_0x2b909d(0x378),_0x5e53ed[_0x5e53ed[_0x2b909d(0x17e)]=0x6]=_0x2b909d(0x17e),_0x5e53ed[_0x5e53ed['INVALID_ARGUMENT']=0x7]=_0x2b909d(0x370),_0x5e53ed[_0x5e53ed[_0x2b909d(0x2bb)]=0x8]=_0x2b909d(0x2bb),_0x5e53ed[_0x5e53ed[_0x2b909d(0x1d2)]=0x9]=_0x2b909d(0x1d2),_0x5e53ed[_0x5e53ed[_0x2b909d(0x23a)]=0x1389]=_0x2b909d(0x23a),_0x5e53ed[_0x5e53ed['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5e53ed[_0x5e53ed['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5e53ed[_0x5e53ed['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5e53ed[_0x5e53ed[_0x2b909d(0x22c)]=0x1b59]=_0x2b909d(0x22c),_0x5e53ed[_0x5e53ed['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2b909d(0x270),_0x5e53ed[_0x5e53ed[_0x2b909d(0x3a0)]=0x1b5b]=_0x2b909d(0x3a0),_0x5e53ed[_0x5e53ed[_0x2b909d(0x303)]=0x1b5c]=_0x2b909d(0x303),_0x5e53ed[_0x5e53ed[_0x2b909d(0xeb)]=0x1b5d]=_0x2b909d(0xeb),_0x5e53ed[_0x5e53ed[_0x2b909d(0x29d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5e53ed[_0x5e53ed['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2b909d(0x1f5),_0x5e53ed[_0x5e53ed[_0x2b909d(0x290)]=0x232a]=_0x2b909d(0x290),_0x5e53ed[_0x5e53ed[_0x2b909d(0x26f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5e53ed[_0x5e53ed[_0x2b909d(0x11f)]=0x232c]=_0x2b909d(0x11f),_0x5e53ed[_0x5e53ed[_0x2b909d(0x2d1)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5e53ed[_0x5e53ed['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2b909d(0x166),_0x5e53ed[_0x5e53ed[_0x2b909d(0x144)]=0x2712]=_0x2b909d(0x144),_0x5e53ed[_0x5e53ed['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2b909d(0x189),_0x5e53ed[_0x5e53ed[_0x2b909d(0x164)]=0x2714]=_0x2b909d(0x164),_0x5e53ed[_0x5e53ed[_0x2b909d(0x212)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5e53ed[_0x5e53ed['UNRECOGNIZED']=-0x1]=_0x2b909d(0x1f7),_0x5e53ed))(Ii||{}),Q=(_0x4fafed=>(_0x4fafed[_0x4fafed[_0x2b909d(0x28e)]=0x0]=_0x2b909d(0x28e),_0x4fafed[_0x4fafed['UNIVER_DOC']=0x1]=_0x2b909d(0xf1),_0x4fafed[_0x4fafed[_0x2b909d(0x25c)]=0x2]='UNIVER_SHEET',_0x4fafed[_0x4fafed['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4fafed[_0x4fafed[_0x2b909d(0x229)]=0x4]='UNIVER_PROJECT',_0x4fafed[_0x4fafed['UNRECOGNIZED']=-0x1]=_0x2b909d(0x1f7),_0x4fafed))(Q||{}),F=(_0x2e88a1=>(_0x2e88a1[_0x2e88a1['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x2e88a1[_0x2e88a1[_0x2b909d(0xb8)]=0x1]=_0x2b909d(0xb8),_0x2e88a1[_0x2e88a1[_0x2b909d(0x1b7)]=0x2]=_0x2b909d(0x1b7),_0x2e88a1[_0x2e88a1[_0x2b909d(0x109)]=0x3]=_0x2b909d(0x109),_0x2e88a1[_0x2e88a1[_0x2b909d(0x13d)]=0x4]=_0x2b909d(0x13d),_0x2e88a1[_0x2e88a1['HEARTBEAT']=0x5]=_0x2b909d(0xe9),_0x2e88a1[_0x2e88a1[_0x2b909d(0x35c)]=0x6]='RECV',_0x2e88a1[_0x2e88a1[_0x2b909d(0x1f7)]=-0x1]=_0x2b909d(0x1f7),_0x2e88a1))(F||{}),Ee=(_0x2a5c1c=>(_0x2a5c1c[_0x2a5c1c[_0x2b909d(0x17d)]=0x0]=_0x2b909d(0x17d),_0x2a5c1c[_0x2a5c1c['OK']=0x1]='OK',_0x2a5c1c[_0x2a5c1c[_0x2b909d(0x349)]=0x2]=_0x2b909d(0x349),_0x2a5c1c[_0x2a5c1c[_0x2b909d(0x273)]=0x3e9]=_0x2b909d(0x273),_0x2a5c1c[_0x2a5c1c[_0x2b909d(0xa7)]=0x3ea]=_0x2b909d(0xa7),_0x2a5c1c[_0x2a5c1c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2b909d(0x384),_0x2a5c1c[_0x2a5c1c[_0x2b909d(0x17a)]=0x3ec]=_0x2b909d(0x17a),_0x2a5c1c[_0x2a5c1c[_0x2b909d(0x1f7)]=-0x1]='UNRECOGNIZED',_0x2a5c1c))(Ee||{}),Ti=(_0x34f32f=>(_0x34f32f[_0x34f32f[_0x2b909d(0x27a)]=0x0]=_0x2b909d(0x27a),_0x34f32f[_0x34f32f[_0x2b909d(0x1d7)]=0x1]='HttpImport',_0x34f32f[_0x34f32f[_0x2b909d(0x141)]=0x2]=_0x2b909d(0x141),_0x34f32f[_0x34f32f[_0x2b909d(0xa8)]=0x3]='UnitEmbedded',_0x34f32f[_0x34f32f[_0x2b909d(0x21a)]=0x4]=_0x2b909d(0x21a),_0x34f32f[_0x34f32f[_0x2b909d(0x1f7)]=-0x1]=_0x2b909d(0x1f7),_0x34f32f))(Ti||{});const q=_0x2b909d(0x2aa),Wt={};var se=(_0x198562=>(_0x198562['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x198562[_0x2b909d(0x154)]=_0x2b909d(0x154),_0x198562[_0x2b909d(0x215)]=_0x2b909d(0x215),_0x198562['CLOSE_ROOM']=_0x2b909d(0x1ce),_0x198562['JOIN_ROOM_FAILED']=_0x2b909d(0x38f),_0x198562[_0x2b909d(0x33c)]='SOCKET_FAILED_RETRY',_0x198562['SOCKET_FAILED']='SOCKET_FAILED',_0x198562[_0x2b909d(0x1ba)]=_0x2b909d(0x1ba),_0x198562))(se||{});class pe{constructor(){var _0x30b662=_0x2b909d;N(this,_0x30b662(0xd6),new _0x558b23()),N(this,_0x30b662(0x2ef),this['_event$'][_0x30b662(0x257)]());}['emitEvent'](_0x37b67e){var _0x8c0643=_0x2b909d;this[_0x8c0643(0xd6)]['next'](_0x37b67e);}}const Mn=_0x425e11(_0x2b909d(0x121));function $n(_0x27d2f8){var _0x156c94=_0x2b909d,_0x39e962,_0x303dc2,_0x25a69b,_0x100e3a,_0x586ed1;const _0x4cc2de=_0x27d2f8[_0x156c94(0x1f3)],_0x24edaa=JSON[_0x156c94(0x1f6)](_0x4cc2de);switch(_0x24edaa[_0x156c94(0x258)]){case F['HEARTBEAT']:case F['HELLO']:{const _0x1851c5=_0x24edaa[_0x156c94(0x18a)];return{..._0x24edaa,'data':_0x1851c5,'cmd':_0x24edaa[_0x156c94(0x258)]};}case F[_0x156c94(0x1b7)]:{const _0x3dc57d=_0x24edaa[_0x156c94(0x179)];return{..._0x24edaa,'data':_0x3dc57d,'cmd':_0x24edaa[_0x156c94(0x258)]};}case F[_0x156c94(0x35c)]:{const _0x17ec9c=_0x24edaa[_0x156c94(0xb9)];switch(_0x17ec9c[_0x156c94(0x35b)]){case _0x1ad9e6[_0x156c94(0x198)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':(_0x39e962=_0x17ec9c['permissionRejEvent'])==null?void 0x0:_0x39e962['cs']},'cmd':_0x24edaa['cmd']};case _0x1ad9e6[_0x156c94(0x240)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':(_0x303dc2=_0x17ec9c['csAckEvent'])==null?void 0x0:_0x303dc2['cs']},'cmd':_0x24edaa['cmd']};case _0x1ad9e6[_0x156c94(0x30e)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':(_0x25a69b=_0x17ec9c[_0x156c94(0x308)])==null?void 0x0:_0x25a69b['cs']},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x194)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':(_0x100e3a=_0x17ec9c[_0x156c94(0x1b3)])==null?void 0x0:_0x100e3a['cs']},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x20a)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':(_0x586ed1=_0x17ec9c[_0x156c94(0x11a)])==null?void 0x0:_0x586ed1['cs']},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x160)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x202)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x16d)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x2d7)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x2d8)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x203)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6['LIVESHARE_NEW_HOST']:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c['liveShareNewHost']},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6['LIVESHARE_FETCH_OPERATIONS']:case _0x1ad9e6['LIVESHARE_OPERATION']:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0xbe)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0xe2)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x237)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0xc8)]:return{..._0x24edaa,'data':_0x17ec9c,'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6['COMMENT_UPDATE']:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0xdf)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x393)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x21f)]},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6['SHOULD_CLOSE_CONN']:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c['shouldCloseConn']},'cmd':_0x24edaa[_0x156c94(0x258)]};case _0x1ad9e6[_0x156c94(0x25f)]:return{..._0x24edaa,'data':{..._0x17ec9c,'data':_0x17ec9c[_0x156c94(0x2ca)]},'cmd':_0x24edaa['cmd']};default:return _0x24edaa;}}default:return _0x24edaa;}}function Hn(_0x58547a){var _0x4f35ef=_0x2b909d;switch(_0x58547a['cmd']){case F[_0x4f35ef(0xe9)]:case F['HELLO']:return JSON[_0x4f35ef(0x152)]({'cmd':_0x58547a[_0x4f35ef(0x258)],'routeKey':_0x58547a['routeKey']});case F[_0x4f35ef(0x13d)]:{let _0x5ca177;switch(_0x58547a[_0x4f35ef(0x1f3)]['eventID']){case _0x1ad9e6[_0x4f35ef(0x160)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0x160)],'updateCursorEvent':_0x58547a[_0x4f35ef(0x1f3)]['data']};break;}case _0x1ad9e6[_0x4f35ef(0x2d8)]:{_0x5ca177={'eventID':_0x1ad9e6['USERS_LEAVE'],'leaveEvent':_0x58547a[_0x4f35ef(0x1f3)][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6[_0x4f35ef(0x16d)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0x16d)],'joinEvent':_0x58547a['data'][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6[_0x4f35ef(0x113)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0x113)],'liveShareNewHost':_0x58547a['data'][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6['LIVESHARE_OPERATION']:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0x2c5)],'liveShareOperation':_0x58547a[_0x4f35ef(0x1f3)][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6[_0x4f35ef(0xe2)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0xe2)],'liveShareTerminate':_0x58547a[_0x4f35ef(0x1f3)][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6[_0x4f35ef(0x1ab)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0x1ab)],'liveShareRequestHost':_0x58547a[_0x4f35ef(0x1f3)][_0x4f35ef(0x1f3)]};break;}case _0x1ad9e6[_0x4f35ef(0xc2)]:{_0x5ca177={'eventID':_0x1ad9e6[_0x4f35ef(0xc2)]};break;}default:_0x5ca177={'eventID':_0x58547a['data'][_0x4f35ef(0x35b)]};}return JSON[_0x4f35ef(0x152)]({'cmd':_0x58547a[_0x4f35ef(0x258)],'routeKey':_0x58547a[_0x4f35ef(0x2c4)],'collaMsg':_0x5ca177});}case F[_0x4f35ef(0x1b7)]:return JSON[_0x4f35ef(0x152)]({'cmd':_0x58547a[_0x4f35ef(0x258)],'routeKey':_0x58547a['routeKey'],'joinReq':_0x58547a[_0x4f35ef(0x1f3)]});case F[_0x4f35ef(0x109)]:return JSON['stringify']({'cmd':_0x58547a[_0x4f35ef(0x258)],'routeKey':_0x58547a[_0x4f35ef(0x2c4)],'leaveReq':_0x58547a[_0x4f35ef(0x1f3)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x2b909d(0xb6)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x55057a,_0x578d13,_0x45bac3,_0x2ab9c8)=>{var _0x4962a7=_0x2b909d;for(var _0x14d264=_0x2ab9c8>0x1?void 0x0:_0x2ab9c8?jn(_0x578d13,_0x45bac3):_0x578d13,_0x16c236=_0x55057a[_0x4962a7(0x20b)]-0x1,_0x3b8fc0;_0x16c236>=0x0;_0x16c236--)(_0x3b8fc0=_0x55057a[_0x16c236])&&(_0x14d264=(_0x2ab9c8?_0x3b8fc0(_0x578d13,_0x45bac3,_0x14d264):_0x3b8fc0(_0x14d264))||_0x14d264);return _0x2ab9c8&&_0x14d264&&kn(_0x578d13,_0x45bac3,_0x14d264),_0x14d264;},Ue=(_0x1becb9,_0x59da1f)=>(_0x453375,_0x473845)=>_0x59da1f(_0x453375,_0x473845,_0x1becb9);const Ci=_0x425e11(_0x2b909d(0x34f));function Fn(_0x194d26,_0x2e3aed,_0x263563){var _0x1094c9=_0x2b909d;return _0x194d26+'/'+_0x2e3aed+_0x1094c9(0x17c)+_0x263563+'/new_changes';}let Et=class extends _0x582864{constructor(_0x493e77,_0x121e1f,_0x176f3f,_0x59f924,_0x38e1b3){var _0x2861a5=_0x2b909d;super(),this[_0x2861a5(0x3a2)]=_0x493e77,this[_0x2861a5(0x2df)]=_0x121e1f,this[_0x2861a5(0x14e)]=_0x176f3f,this[_0x2861a5(0x2dd)]=_0x59f924,this[_0x2861a5(0x38e)]=_0x38e1b3;}['createSocket'](_0x42226e){var _0x4fc45a=_0x2b909d;const _0x244d2b=this[_0x4fc45a(0x3a2)][_0x4fc45a(0xf5)](_0x43cd66);if(!_0x244d2b)throw new Error(_0x4fc45a(0x279));const _0x703fa2=_0x244d2b['createSocket'](_0x42226e);if(!_0x703fa2)throw new Error(_0x4fc45a(0x23b));const _0x18db98=new _0x4241cd(),_0x353290=new _0x558b23();_0x18db98[_0x4fc45a(0xea)](_0x703fa2[_0x4fc45a(0x116)][_0x4fc45a(0x2d4)](_0x289484=>_0x353290[_0x4fc45a(0x1dc)](_0x289484))),_0x18db98[_0x4fc45a(0xea)](_0x10312e(()=>_0x353290['complete']()));const _0x19c6ef=new _0x558b23();_0x18db98['add'](_0x703fa2[_0x4fc45a(0x34e)][_0x4fc45a(0x2d4)](_0x22b92e=>_0x19c6ef['next'](_0x22b92e))),_0x18db98[_0x4fc45a(0xea)](_0x10312e(()=>_0x19c6ef['complete']()));const _0x1b13fd=new _0x558b23();_0x18db98[_0x4fc45a(0xea)](_0x703fa2[_0x4fc45a(0x2e8)][_0x4fc45a(0x2d4)](_0x19bb4e=>{var _0x6a0035=_0x4fc45a;const _0x94eb1f=$n(_0x19bb4e);_0x1b13fd[_0x6a0035(0x1dc)](_0x94eb1f);})),_0x18db98[_0x4fc45a(0xea)](_0x10312e(()=>_0x1b13fd[_0x4fc45a(0x377)]()));let _0x2241e2;const _0x4a39ef=()=>{var _0x6ef2f4=_0x4fc45a;_0x19c6ef[_0x6ef2f4(0x1dc)](new Event(_0x6ef2f4(0x220))),_0x353290[_0x6ef2f4(0x1dc)](new CloseEvent('connection\x20error')),_0x2241e2[_0x6ef2f4(0x239)]();};return _0x2241e2={'memberID':'','close$':_0x353290[_0x4fc45a(0x257)](),'error$':_0x19c6ef[_0x4fc45a(0x257)](),'open$':_0x703fa2[_0x4fc45a(0x216)],'message$':_0x1b13fd[_0x4fc45a(0x257)](),'send':_0x47c64f=>{var _0x5b21a3=_0x4fc45a;if(_0x47c64f[_0x5b21a3(0x258)]===F[_0x5b21a3(0x13d)]){if(_0x47c64f[_0x5b21a3(0x1f3)][_0x5b21a3(0x35b)]===_0x1ad9e6['SUBMIT_CHANGESET']){this[_0x5b21a3(0x356)](_0x2241e2,_0x47c64f['data'])[_0x5b21a3(0x122)](_0x419d7c=>{var _0x253dc0=_0x5b21a3;this['_logService'][_0x253dc0(0xba)](_0x419d7c),_0x4a39ef();});return;}if(_0x47c64f[_0x5b21a3(0x1f3)][_0x5b21a3(0x35b)]===_0x1ad9e6[_0x5b21a3(0x363)]){const _0x45a88d=_0x47c64f['data'];this[_0x5b21a3(0x320)](_0x45a88d)[_0x5b21a3(0x3a4)](_0x6d4351=>{var _0x309851=_0x5b21a3;_0x1b13fd['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x45a88d[_0x309851(0x1f3)][_0x309851(0x210)],'routeType':'','data':{'eventID':_0x1ad9e6['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x6d4351}}});})[_0x5b21a3(0x122)](_0x441d02=>{var _0x3160f3=_0x5b21a3;this[_0x3160f3(0x2dd)][_0x3160f3(0xba)](_0x441d02),_0x4a39ef();});return;}}_0x703fa2[_0x5b21a3(0x280)](Hn(_0x47c64f));},'close':()=>{var _0x1d2dd7=_0x4fc45a;_0x703fa2['close'](),_0x18db98[_0x1d2dd7(0xaf)]();}},_0x2241e2;}async['_submitChangeset'](_0x5a6c25,_0x5a22a4){var _0xd314f7=_0x2b909d,_0x51c704,_0x1232a8;const {unitType:_0x31b358,unitID:_0x23e920,changeset:_0x35457e}=_0x5a22a4[_0xd314f7(0x1f3)],_0x24e941={'unitID':_0x23e920,'memberID':_0x5a6c25[_0xd314f7(0x1a9)],'type':_0x31b358,'changeset':_0x26ccc6(_0x35457e)},_0x3e587f=this[_0xd314f7(0x14e)]['getConfig'](Un),_0x574066=this['_configService'][_0xd314f7(0x177)](q),_0x5c0908=Fn((_0x1232a8=(_0x51c704=_0x574066==null?void 0x0:_0x574066[_0xd314f7(0x323)])!=null?_0x51c704:_0x3e587f)!=null?_0x1232a8:An,_0x31b358,_0x23e920);try{await this[_0xd314f7(0x2df)][_0xd314f7(0x201)](_0x5c0908,{'body':_0x24e941});}catch(_0x2b0ada){throw this[_0xd314f7(0x2dd)]['error'](_0xd314f7(0x334),_0xd314f7(0x23e)),_0x2b0ada;}}async[_0x2b909d(0x320)](_0x583c4d){var _0x5190c5=_0x2b909d;const {unitID:_0x32abf4,from:_0x384dba,to:_0x4b7c7a,unitType:_0x529ee2}=_0x583c4d['data'];return(await this['_snapshotServerService'][_0x5190c5(0x288)]({'metadata':void 0x0},{'unitID':_0x32abf4,'type':_0x529ee2,'from':_0x384dba,'to':_0x4b7c7a}))[_0x5190c5(0x142)];}};Et=Bn([Ue(0x0,_0x810bfa(_0x4720a8)),Ue(0x1,_0x810bfa(_0x561c6c)),Ue(0x2,_0x322413),Ue(0x3,_0x3b937c),Ue(0x4,_0x83ddec)],Et);const Vn=_0x2b909d(0x31d);function Gn(_0x3dd138){var _0x3881ad=_0x2b909d;return JSON[_0x3881ad(0x152)](_0x3dd138)[_0x3881ad(0x20b)];}class Ri{constructor(){var _0x25493e=_0x2b909d;N(this,_0x25493e(0x35f),new _0x558b23()),N(this,'commentUpdate$',this[_0x25493e(0x35f)][_0x25493e(0x257)]());}['onCommentUpdate'](_0x282bd5){var _0x56cfc6=_0x2b909d;this[_0x56cfc6(0x35f)][_0x56cfc6(0x1dc)](_0x282bd5);}}var Wn=Object['defineProperty'],Kn=Object[_0x2b909d(0x2fa)],Yn=(_0x50fc87,_0x1eb43c,_0x4483b2,_0x112895)=>{var _0x17eb81=_0x2b909d;for(var _0x57308a=_0x112895>0x1?void 0x0:_0x112895?Kn(_0x1eb43c,_0x4483b2):_0x1eb43c,_0x5ee37e=_0x50fc87[_0x17eb81(0x20b)]-0x1,_0xef6aa2;_0x5ee37e>=0x0;_0x5ee37e--)(_0xef6aa2=_0x50fc87[_0x5ee37e])&&(_0x57308a=(_0x112895?_0xef6aa2(_0x1eb43c,_0x4483b2,_0x57308a):_0xef6aa2(_0x57308a))||_0x57308a);return _0x112895&&_0x57308a&&Wn(_0x1eb43c,_0x4483b2,_0x57308a),_0x57308a;},Kt=(_0xc24b7,_0x13f5a5)=>(_0x29083d,_0x12ff79)=>_0x13f5a5(_0x29083d,_0x12ff79,_0xc24b7);let xe=class extends _0x582864{constructor(_0x5f22c7,_0x8ad50d){var _0x3801d5=_0x2b909d;super(),N(this,'_roomMembers',new Map()),N(this,_0x3801d5(0x348),new _0x558b23()),(this[_0x3801d5(0x297)]=_0x5f22c7,this['_userManagerService']=_0x8ad50d,this[_0x3801d5(0x1e8)](_0x44310e(this[_0x3801d5(0x297)][_0x3801d5(0x16e)](_0x464735[_0x3801d5(0x25c)])[_0x3801d5(0x29a)](_0x4df9ea(_0x350217=>_0x350217['getUnitId']())),this[_0x3801d5(0x297)][_0x3801d5(0x16e)](_0x464735[_0x3801d5(0xf1)])[_0x3801d5(0x29a)](_0x4df9ea(_0x585c3e=>_0x585c3e[_0x3801d5(0x12e)]())),this[_0x3801d5(0x297)][_0x3801d5(0x16e)](_0x464735[_0x3801d5(0x1fb)])['pipe'](_0x4df9ea(_0x31f1aa=>_0x31f1aa['getUnitId']())))[_0x3801d5(0x2d4)](_0x1c1d5d=>this[_0x3801d5(0x1c7)](_0x1c1d5d))));}[_0x2b909d(0x327)](_0x295405){var _0x137226=_0x2b909d;return this[_0x137226(0xca)][_0x137226(0x190)](_0x295405)?_0x5b7aa7(this['_roomMembers'][_0x137226(0xf5)](_0x295405)):this[_0x137226(0x348)][_0x137226(0x29a)](_0x4df9ea(_0x34112d=>{var _0x5ba9e5=_0x137226;if(_0x34112d===_0x295405)return this[_0x5ba9e5(0xca)]['get'](_0x34112d);}));}[_0x2b909d(0x1e6)](_0xf1bc9f){var _0x1c0fbc=_0x2b909d;this[_0x1c0fbc(0x32c)][_0x1c0fbc(0x1e6)](_0xf1bc9f);}[_0x2b909d(0x37b)](){var _0x405a64=_0x2b909d;return this[_0x405a64(0x32c)][_0x405a64(0x37b)]();}[_0x2b909d(0x2c7)](_0x261cd1,_0x4f1cae){var _0x2061ee=_0x2b909d;let _0x4ebde0=this[_0x2061ee(0xca)][_0x2061ee(0xf5)](_0x261cd1);_0x4ebde0||(_0x4ebde0=new qn(),this[_0x2061ee(0xca)][_0x2061ee(0xd8)](_0x261cd1,_0x4ebde0),this['_roomCreated$'][_0x2061ee(0x1dc)](_0x261cd1)),_0x4ebde0['updateMember'](_0x4f1cae);}[_0x2b909d(0xfa)](_0x8dc17e,_0x1e33ac){var _0x508b76=_0x2b909d;const _0x1ef3e1=this[_0x508b76(0xca)][_0x508b76(0xf5)](_0x8dc17e);_0x1ef3e1&&_0x1ef3e1[_0x508b76(0xfa)](_0x1e33ac);}['getRoom'](_0x3c62a2){var _0x1c6689=_0x2b909d;return this[_0x1c6689(0xca)][_0x1c6689(0xf5)](_0x3c62a2);}[_0x2b909d(0x1d3)](_0x5faef6,_0x2a989f){var _0x4af837=_0x2b909d;const _0x38b23f=this['_roomMembers'][_0x4af837(0xf5)](_0x5faef6);if(_0x38b23f)return _0x38b23f[_0x4af837(0x1d3)](_0x2a989f);}[_0x2b909d(0x1c7)](_0x202ffd){var _0x813d9c=_0x2b909d;const _0x318487=this[_0x813d9c(0xca)][_0x813d9c(0xf5)](_0x202ffd);_0x318487&&(_0x318487[_0x813d9c(0xaf)](),this[_0x813d9c(0xca)][_0x813d9c(0x120)](_0x202ffd));}[_0x2b909d(0xaf)](){var _0x263b93=_0x2b909d;this[_0x263b93(0xca)][_0x263b93(0x1ca)](_0x741ea=>_0x741ea[_0x263b93(0xaf)]()),this[_0x263b93(0xca)]['clear'](),this[_0x263b93(0x348)][_0x263b93(0x377)]();}};xe=Yn([Kt(0x0,_0x3d1ff0),Kt(0x1,_0x810bfa(_0x3ac7c0))],xe);class qn extends _0x582864{constructor(){var _0x208b42=_0x2b909d;super(...arguments),N(this,'_members',new Map()),N(this,_0x208b42(0x23c),new _0x167a8f(this['_members'])),N(this,_0x208b42(0x185),this['_members$'][_0x208b42(0x257)]());}[_0x2b909d(0xaf)](){var _0x459bc5=_0x2b909d;this[_0x459bc5(0x339)][_0x459bc5(0x26d)]();}[_0x2b909d(0x2c7)](_0x4ebac0){var _0x4787ef=_0x2b909d;this['_members'][_0x4787ef(0xd8)](_0x4ebac0['memberID'],_0x4ebac0),this[_0x4787ef(0x354)]();}[_0x2b909d(0xfa)](_0x343588){var _0x3dbbce=_0x2b909d;this['_members'][_0x3dbbce(0x120)](_0x343588);}['getMember'](_0x2ebe9d){var _0x47480d=_0x2b909d;return this['_members'][_0x47480d(0xf5)](_0x2ebe9d);}[_0x2b909d(0x10f)](){var _0x32c666=_0x2b909d;return Array[_0x32c666(0x21c)](this[_0x32c666(0x339)]['values']());}[_0x2b909d(0x354)](){var _0x355a71=_0x2b909d;this[_0x355a71(0x23c)][_0x355a71(0x1dc)](this[_0x355a71(0x339)]);}}var zn=Object[_0x2b909d(0xb6)],Jn=Object[_0x2b909d(0x2fa)],Xn=(_0x577dc1,_0x4d7955,_0x33b62f,_0x202eec)=>{var _0x32f019=_0x2b909d;for(var _0x52d726=_0x202eec>0x1?void 0x0:_0x202eec?Jn(_0x4d7955,_0x33b62f):_0x4d7955,_0x405761=_0x577dc1[_0x32f019(0x20b)]-0x1,_0x12e9b2;_0x405761>=0x0;_0x405761--)(_0x12e9b2=_0x577dc1[_0x405761])&&(_0x52d726=(_0x202eec?_0x12e9b2(_0x4d7955,_0x33b62f,_0x52d726):_0x12e9b2(_0x52d726))||_0x52d726);return _0x202eec&&_0x52d726&&zn(_0x4d7955,_0x33b62f,_0x52d726),_0x52d726;},me=(_0x3b0480,_0x14e1eb)=>(_0x31388b,_0x2d64d5)=>_0x14e1eb(_0x31388b,_0x2d64d5,_0x3b0480),Te=(_0x31a183=>(_0x31a183[_0x31a183['IDLE']=0x0]=_0x2b909d(0x337),_0x31a183[_0x31a183['JOINING']=0x1]=_0x2b909d(0x158),_0x31a183[_0x31a183['OFFLINE']=0x2]='OFFLINE',_0x31a183[_0x31a183['ONLINE']=0x3]=_0x2b909d(0x39a),_0x31a183))(Te||{});const Yt={[Ee[_0x2b909d(0x349)]]:_0x2b909d(0x2e3),[Ee[_0x2b909d(0x273)]]:_0x2b909d(0xce),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x2b909d(0x235),[Ee[_0x2b909d(0x384)]]:'session.room-permission-denied',[Ee[_0x2b909d(0x17a)]]:_0x2b909d(0x1bc)};let It=class extends _0x5a208c{constructor(_0x7f81d3,_0x1f44a9,_0x11ca51,_0x428611,_0x3145cf,_0x3ab569,_0x4c6bdc,_0x4b33c2,_0x28555d){var _0x1fd35=_0x2b909d;super(),N(this,_0x1fd35(0x1d5),new _0x167a8f(0x0)),N(this,_0x1fd35(0xbc),this[_0x1fd35(0x1d5)]['asObservable']()),N(this,_0x1fd35(0xd6),new _0x558b23()),N(this,_0x1fd35(0x2ef),this[_0x1fd35(0xd6)][_0x1fd35(0x257)]()),N(this,_0x1fd35(0x2fc)),N(this,_0x1fd35(0x15a)),N(this,'_collaborationTimeoutTimer'),N(this,_0x1fd35(0x19d),!0x1),N(this,_0x1fd35(0x178),null),(this[_0x1fd35(0x398)]=_0x7f81d3,this[_0x1fd35(0x2dd)]=_0x11ca51,this[_0x1fd35(0x14e)]=_0x428611,this[_0x1fd35(0xa6)]=_0x3145cf,this['_memberService']=_0x3ab569,this[_0x1fd35(0x197)]=_0x4c6bdc,this[_0x1fd35(0x248)]=_0x4b33c2,this[_0x1fd35(0x24b)]=_0x28555d,this[_0x1fd35(0x19d)]=!!this[_0x1fd35(0x24b)],_0x1f44a9[_0x1fd35(0x29a)](_0x56d9b1(this[_0x1fd35(0x208)]))[_0x1fd35(0x2d4)](_0x3d9a1e=>{var _0x49afbd=_0x1fd35,_0x37dd09;typeof _0x3d9a1e>'u'||(this['_socket']=_0x3d9a1e,_0x3d9a1e?(this[_0x49afbd(0x174)](_0x3d9a1e),this[_0x49afbd(0x15a)]=_0x3d9a1e['message$'][_0x49afbd(0x2d4)](_0x492027=>{var _0x5c7a19=_0x49afbd;_0x492027['routeKey']===this[_0x5c7a19(0x398)]&&this[_0x5c7a19(0x1b9)](_0x492027);})):(this[_0x49afbd(0x2c1)](),this[_0x49afbd(0x1d5)][_0x49afbd(0x1dc)](0x2),(_0x37dd09=this['_socketMessageSubscription'])==null||_0x37dd09[_0x49afbd(0x37f)](),this[_0x49afbd(0x15a)]=null));}));}get[_0x2b909d(0x357)](){var _0x2ef767=_0x2b909d;return this['_sessionStatus$'][_0x2ef767(0x23f)]();}[_0x2b909d(0x191)](){var _0x268694=_0x2b909d,_0x22ad4d,_0x68551e;return(_0x68551e=(_0x22ad4d=this[_0x268694(0x2fc)])==null?void 0x0:_0x22ad4d['memberID'])!=null?_0x68551e:null;}[_0x2b909d(0xaf)](){var _0x2cdf5e=_0x2b909d;super['dispose'](),this[_0x2cdf5e(0x208)][_0x2cdf5e(0x1dc)](),this[_0x2cdf5e(0x208)][_0x2cdf5e(0x377)]();}[_0x2b909d(0x239)](){var _0x17b65a=_0x2b909d,_0x1fbf5c,_0x504a1a;this[_0x17b65a(0x2c1)](),(_0x1fbf5c=this[_0x17b65a(0x2fc)])==null||_0x1fbf5c[_0x17b65a(0x280)]({'cmd':F[_0x17b65a(0x109)],'data':{'roomID':this[_0x17b65a(0x398)]}}),(_0x504a1a=this[_0x17b65a(0x2fc)])==null||_0x504a1a['close'](),this[_0x17b65a(0xd6)][_0x17b65a(0x377)](),this['_sessionStatus$'][_0x17b65a(0x377)](),this['dispose']();}[_0x2b909d(0x1b9)](_0x58a7ca){var _0x2698c5=_0x2b909d;_0x58a7ca['cmd']===F[_0x2698c5(0x1b7)]?this[_0x2698c5(0x283)](_0x58a7ca):_0x58a7ca[_0x2698c5(0x258)]===F[_0x2698c5(0x35c)]&&this[_0x2698c5(0x39d)](_0x58a7ca);}['_joinRoom'](_0x3b25e1){var _0x339474=_0x2b909d;this['_sessionStatus$'][_0x339474(0x1dc)](0x1),_0x3b25e1[_0x339474(0x280)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x339474(0x398)]}]}});}[_0x2b909d(0x283)](_0x1a9d80){var _0x3a816a=_0x2b909d,_0x4f5599;if(_0x1a9d80[_0x3a816a(0x12d)]in Yt){this[_0x3a816a(0x248)][_0x3a816a(0x328)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x1a9d80[_0x3a816a(0x12d)]]}),this['_sessionStatus$'][_0x3a816a(0x1dc)](0x2);return;}this['_sessionStatus$'][_0x3a816a(0x1dc)](0x3);const _0x47ade5=(_0x4f5599=_0x1a9d80[_0x3a816a(0x1f3)]['roomInfos'][this[_0x3a816a(0x398)]])==null?void 0x0:_0x4f5599[_0x3a816a(0x1f4)];_0x47ade5&&_0x47ade5['forEach'](_0x25bfef=>this[_0x3a816a(0x1a4)][_0x3a816a(0x2c7)](this['_unitID'],_0x25bfef));}[_0x2b909d(0x39d)](_0x5a7895){var _0x3dc87=_0x2b909d;try{const _0x11e99d=_0x5a7895[_0x3dc87(0x1f3)];switch(_0x11e99d[_0x3dc87(0x35b)]){case _0x1ad9e6[_0x3dc87(0x16d)]:this[_0x3dc87(0x284)](_0x11e99d),this[_0x3dc87(0xd6)][_0x3dc87(0x1dc)](_0x11e99d);break;case _0x1ad9e6[_0x3dc87(0x2d8)]:this['_onUserLeave'](_0x11e99d),this[_0x3dc87(0xd6)][_0x3dc87(0x1dc)](_0x11e99d);break;case _0x1ad9e6['CHANGESET_ACK']:case _0x1ad9e6['CHANGESET_SHOULD_RETRY']:this[_0x3dc87(0x27b)](),this[_0x3dc87(0x169)](),this[_0x3dc87(0xd6)][_0x3dc87(0x1dc)](_0x11e99d);break;case _0x1ad9e6[_0x3dc87(0xc8)]:this['_logService'][_0x3dc87(0xba)](_0x3dc87(0x372)+JSON[_0x3dc87(0x152)](_0x11e99d)),this['_event$'][_0x3dc87(0x1dc)](_0x11e99d);break;case _0x1ad9e6['COMMENT_UPDATE']:this[_0x3dc87(0x197)]['onCommentUpdate'](_0x11e99d[_0x3dc87(0x1f3)]),this[_0x3dc87(0xd6)][_0x3dc87(0x1dc)](_0x11e99d);break;default:this['_event$']['next'](_0x11e99d);}}catch(_0x35a9e8){this[_0x3dc87(0x2dd)][_0x3dc87(0xba)](_0x35a9e8,_0x5a7895);}}[_0x2b909d(0x284)](_0x492793){var _0x3d96db=_0x2b909d;this['_memberService']['updateMember'](this[_0x3d96db(0x398)],_0x492793[_0x3d96db(0x1f3)]);}[_0x2b909d(0x332)](_0x100836){var _0x49cecb=_0x2b909d;this[_0x49cecb(0x1a4)][_0x49cecb(0xfa)](this[_0x49cecb(0x398)],_0x100836[_0x49cecb(0x1f3)][_0x49cecb(0x1a9)]);}async[_0x2b909d(0x280)](_0x4b1df5,_0x154ad6){var _0x58e6ba=_0x2b909d;if(this[_0x58e6ba(0x357)]!==0x3||!this[_0x58e6ba(0x2fc)])throw new Error(_0x58e6ba(0x2eb));try{_0x4b1df5[_0x58e6ba(0x35b)]===_0x1ad9e6[_0x58e6ba(0xd1)]&&(this[_0x58e6ba(0x106)](),this['_startTelemetryCollaborationNewChangeset'](_0x4b1df5)),this[_0x58e6ba(0x2fc)][_0x58e6ba(0x280)]({'cmd':F[_0x58e6ba(0x13d)],'routeKey':_0x154ad6,'routeType':'','data':_0x4b1df5});}catch(_0x37f204){this[_0x58e6ba(0x2dd)]['error'](_0x37f204);}}[_0x2b909d(0x106)](){var _0x1cba49=_0x2b909d,_0x57ab3d;this[_0x1cba49(0xab)]=setTimeout(()=>{var _0x54de2b=_0x1cba49;this[_0x54de2b(0xab)]=null,this['_collaborationUIEventService']['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x57ab3d=this[_0x1cba49(0x14e)][_0x1cba49(0x177)](Si))!=null?_0x57ab3d:Ei);}[_0x2b909d(0x169)](){var _0xf3da8b=_0x2b909d;this[_0xf3da8b(0xab)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xf3da8b(0xab)]=null);}[_0x2b909d(0x29c)](_0x6e572){var _0x12a824=_0x2b909d;if(!this[_0x12a824(0x19d)])return;const {data:_0xd62f9f}=_0x6e572,{unitID:_0x36a478,changeset:_0x13353c}=_0xd62f9f,{mutations:_0x41b56d,type:_0x341373}=_0x13353c;this[_0x12a824(0x178)]={'unitId':_0x36a478,'type':_0x341373,'startTime':performance[_0x12a824(0xb0)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x41b56d)};}[_0x2b909d(0x27b)](){var _0xcb0f15=_0x2b909d;if(this[_0xcb0f15(0x19d)]){if(!this[_0xcb0f15(0x178)]){this['_logService'][_0xcb0f15(0xba)](_0xcb0f15(0x334),_0xcb0f15(0x1a7));return;}this[_0xcb0f15(0x178)][_0xcb0f15(0x2cd)]=performance[_0xcb0f15(0xb0)](),this[_0xcb0f15(0x178)][_0xcb0f15(0xd9)]=this[_0xcb0f15(0x178)][_0xcb0f15(0x2cd)]-this[_0xcb0f15(0x178)][_0xcb0f15(0x2ea)],this[_0xcb0f15(0x24b)][_0xcb0f15(0x37c)](Vn,this[_0xcb0f15(0x178)]),this[_0xcb0f15(0x178)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x24f6e0=_0x2b909d;this[_0x24f6e0(0x178)]=null;}};It=Xn([me(0x2,_0x3b937c),me(0x3,_0x322413),me(0x4,_0x810bfa(_0x4943c2)),me(0x5,_0x810bfa(xe)),me(0x6,_0x810bfa(Ri)),me(0x7,_0x810bfa(pe)),me(0x8,_0x576a69(_0x270522))],It);var Zn=Object[_0x2b909d(0xb6)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x3ed521,_0x4174b9,_0x1638fc,_0x1f3b72)=>{var _0x1e2a1e=_0x2b909d;for(var _0x131dfe=_0x1f3b72>0x1?void 0x0:_0x1f3b72?Qn(_0x4174b9,_0x1638fc):_0x4174b9,_0x32c079=_0x3ed521[_0x1e2a1e(0x20b)]-0x1,_0x1a5099;_0x32c079>=0x0;_0x32c079--)(_0x1a5099=_0x3ed521[_0x32c079])&&(_0x131dfe=(_0x1f3b72?_0x1a5099(_0x4174b9,_0x1638fc,_0x131dfe):_0x1a5099(_0x131dfe))||_0x131dfe);return _0x1f3b72&&_0x131dfe&&Zn(_0x4174b9,_0x1638fc,_0x131dfe),_0x131dfe;},ge=(_0x41d21a,_0x24fe36)=>(_0x5e4b3c,_0x3eb2ed)=>_0x24fe36(_0x5e4b3c,_0x3eb2ed,_0x41d21a);let Le=class extends _0x582864{constructor(_0x105496,_0x1ceec5,_0x4c9f2b,_0x36eff4,_0x13cb11,_0x2327c8,_0x1bf4b9){var _0x5454e7=_0x2b909d;super(),N(this,_0x5454e7(0x2b2),new _0x167a8f(void 0x0)),N(this,'socket$',this['_socket$'][_0x5454e7(0x257)]()),N(this,_0x5454e7(0x182),null),N(this,'_sessions',new Map()),N(this,_0x5454e7(0x21e),new _0x167a8f(Te['IDLE'])),N(this,_0x5454e7(0x18e),this[_0x5454e7(0x21e)][_0x5454e7(0x257)]()),N(this,'_socketReady',!0x1),N(this,_0x5454e7(0x306)),N(this,'_retryCount',0x0),N(this,_0x5454e7(0x2a5)),N(this,'_timeoutTimer'),(this[_0x5454e7(0x3a2)]=_0x105496,this[_0x5454e7(0x2dd)]=_0x1ceec5,this[_0x5454e7(0x14e)]=_0x4c9f2b,this[_0x5454e7(0xf4)]=_0x36eff4,this[_0x5454e7(0x15b)]=_0x13cb11,this[_0x5454e7(0x248)]=_0x2327c8,this[_0x5454e7(0xcf)]=_0x1bf4b9,this[_0x5454e7(0x335)]());}get[_0x2b909d(0x2fc)](){var _0x1a20f0=_0x2b909d;return this[_0x1a20f0(0x2b2)][_0x1a20f0(0x23f)]();}['_listenToNetworkCondition'](){var _0x48f056=_0x2b909d;this[_0x48f056(0xcf)]&&this['disposeWithMe'](this[_0x48f056(0xcf)][_0x48f056(0x1b5)][_0x48f056(0x2d4)](_0xa99a57=>{_0xa99a57&&!this['_socket']&&this['reconnect'](),_0xa99a57||this['_onOffline']();}));}[_0x2b909d(0xaf)](){var _0x5bb980=_0x2b909d;super['dispose'](),this['_sessions'][_0x5bb980(0x1ca)](_0x4edf1c=>_0x4edf1c[_0x5bb980(0xaf)]()),this['_sessions'][_0x5bb980(0x26d)](),this[_0x5bb980(0x21e)][_0x5bb980(0x377)]();}async[_0x2b909d(0x1fc)](_0x1ddcc0){var _0x5a837a=_0x2b909d;if(this[_0x5a837a(0x1d9)]['has'](_0x1ddcc0))return this['_sessions'][_0x5a837a(0xf5)](_0x1ddcc0);this['_tryEnsureSocket']();const _0x15132b=this[_0x5a837a(0x3a2)]['createInstance'](It,_0x1ddcc0,this['_socket$'][_0x5a837a(0x257)]());return this['_sessions'][_0x5a837a(0xd8)](_0x1ddcc0,_0x15132b),_0x15132b;}[_0x2b909d(0xd3)](_0x35d2ad){var _0x11014e=_0x2b909d,_0x289aad;const _0x5021c0=this[_0x11014e(0x1d9)]['get'](_0x35d2ad);_0x5021c0&&(this[_0x11014e(0x1d9)][_0x11014e(0x120)](_0x35d2ad),_0x5021c0[_0x11014e(0x239)]()),this['_sessions']['size']||(_0x289aad=this[_0x11014e(0x2fc)])==null||_0x289aad['close']();}['reconnect'](){var _0x4b94da=_0x2b909d;this['_retryCount']=0x0,this[_0x4b94da(0x306)]!=null&&(clearTimeout(this[_0x4b94da(0x306)]),this[_0x4b94da(0x306)]=null),this['_tryReconnect']();}async[_0x2b909d(0x382)](){var _0x3b3645=_0x2b909d,_0x236dc7,_0x41e7cd,_0x2eaa3d;const _0x3f6655=this['_configService'][_0x3b3645(0x177)](q),_0x31a43c=(_0x236dc7=_0x3f6655==null?void 0x0:_0x3f6655['wsSessionTicketUrl'])!=null?_0x236dc7:On;return(_0x2eaa3d=(_0x41e7cd=(await this[_0x3b3645(0x15b)][_0x3b3645(0xf5)](_0x31a43c,{'headers':{'Content-Type':_0x3b3645(0x250)}}))[_0x3b3645(0x2c3)])==null?void 0x0:_0x41e7cd[_0x3b3645(0x1a3)])!=null?_0x2eaa3d:'';}['_createSocketURL'](_0x26737f){var _0x34a99e=_0x2b909d,_0x1901ef,_0x3a0713;const _0x5ef05b=this[_0x34a99e(0x14e)]['getConfig'](Rn),_0x1ad129=this[_0x34a99e(0x14e)][_0x34a99e(0x177)](q),_0x5d8cb0=(_0x3a0713=(_0x1901ef=_0x1ad129==null?void 0x0:_0x1ad129[_0x34a99e(0x184)])!=null?_0x1901ef:_0x5ef05b)!=null?_0x3a0713:bn,_0x1274ab=typeof window>'u'?new URL(_0x5d8cb0):new URL(_0x5d8cb0,window[_0x34a99e(0xf7)]['origin']);_0x1274ab['searchParams'][_0x34a99e(0xd8)]('sessionTicket',_0x26737f);const _0x44c618=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a99e(0xf7)][_0x34a99e(0x301)]);return _0x44c618[_0x34a99e(0xf5)](_0x34a99e(0x368))&&_0x1274ab[_0x34a99e(0xad)][_0x34a99e(0xd8)](_0x34a99e(0x368),_0x44c618[_0x34a99e(0xf5)]('runId')),_0x1274ab[_0x34a99e(0xa4)]();}async[_0x2b909d(0x242)](){var _0x3b146d=_0x2b909d;const _0x2e8a09=await this[_0x3b146d(0x382)](),_0x4146f7=this[_0x3b146d(0x25a)](_0x2e8a09),_0x30081d=this[_0x3b146d(0xf4)]['createSocket'](_0x4146f7);return this[_0x3b146d(0x182)]=_0x30081d,_0x30081d;}async[_0x2b909d(0x1ad)](){var _0x3f97f1=_0x2b909d,_0x38c464,_0x5df90f;try{const _0x51b1b1=(_0x5df90f=(_0x38c464=this['_socket'])!=null?_0x38c464:this[_0x3f97f1(0x182)])!=null?_0x5df90f:await this[_0x3f97f1(0x242)]();if(_0x51b1b1){const _0x1d0d52=_0x51b1b1[_0x3f97f1(0x280)];_0x51b1b1[_0x3f97f1(0x280)]=_0x2e0bbd=>(this[_0x3f97f1(0xcb)](),_0x1d0d52['apply'](_0x51b1b1,[_0x2e0bbd])),_0x51b1b1[_0x3f97f1(0x2e8)][_0x3f97f1(0x2d4)](_0x1f1438=>this[_0x3f97f1(0x26e)](_0x51b1b1,_0x1f1438)),_0x51b1b1[_0x3f97f1(0x34e)][_0x3f97f1(0x29a)](_0x22bfd1(0x1))[_0x3f97f1(0x2d4)](_0x396738=>this[_0x3f97f1(0x2dd)][_0x3f97f1(0xba)]('[CollaborationSessionService]:\x20socket\x20error',_0x396738)),_0x51b1b1['open$'][_0x3f97f1(0x29a)](_0x22bfd1(0x1))['subscribe'](()=>{var _0x126214=_0x3f97f1;this[_0x126214(0x266)](_0x51b1b1);}),_0x51b1b1['close$']['pipe'](_0x22bfd1(0x1))[_0x3f97f1(0x2d4)](_0x5a68c6=>{var _0x357fe5=_0x3f97f1;this[_0x357fe5(0x2dd)][_0x357fe5(0x252)](_0x357fe5(0xc3),_0x357fe5(0x1b1),_0x5a68c6),this['_onConnectionFailed']();});}}catch(_0x5ced7a){this['_logService']['error'](_0x5ced7a),this[_0x3f97f1(0x35d)]();}}[_0x2b909d(0x266)](_0xa48b03){var _0x2c8d08=_0x2b909d;this['_logService'][_0x2c8d08(0x252)](_0x2c8d08(0xc3),_0x2c8d08(0x224)),_0xa48b03[_0x2c8d08(0x280)]({'cmd':F['HELLO']}),this[_0x2c8d08(0xcb)]();}[_0x2b909d(0xb1)](){var _0x2bb955=_0x2b909d;this[_0x2bb955(0x135)]=!0x1,this[_0x2bb955(0x182)]=null,this[_0x2bb955(0x21e)]['next'](Te[_0x2bb955(0x2a6)]),this['_socket$'][_0x2bb955(0x1dc)](null),this[_0x2bb955(0x241)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x374bcb=_0x2b909d,_0x2e5e40;this[_0x374bcb(0xb1)](),this[_0x374bcb(0x10e)]<((_0x2e5e40=this['_configService'][_0x374bcb(0x177)](Pn))!=null?_0x2e5e40:wn)?(this[_0x374bcb(0x248)]['emitEvent']({'id':se[_0x374bcb(0x33c)]}),this[_0x374bcb(0x217)]()):this[_0x374bcb(0x248)][_0x374bcb(0x328)]({'id':se[_0x374bcb(0x1c6)]});}[_0x2b909d(0x217)](){var _0x35c732=_0x2b909d,_0x494b57;const _0x300241=this[_0x35c732(0x10e)],_0x5b1649=this[_0x35c732(0x14e)][_0x35c732(0x177)](q),_0x3ac358=_0x300241===0x0?0x0:((_0x494b57=_0x5b1649==null?void 0x0:_0x5b1649[_0x35c732(0x39f)])!=null?_0x494b57:Dn)*0x2**_0x300241;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4582e7=_0x35c732;clearTimeout(this[_0x4582e7(0x306)]),this[_0x4582e7(0x306)]=null,this[_0x4582e7(0x1ad)]();},_0x3ac358),this[_0x35c732(0x10e)]+=0x1;}['_onMessage'](_0x20984f,_0x25fd06){var _0x299bd2=_0x2b909d;const {cmd:_0x3c57da}=_0x25fd06;_0x3c57da===F[_0x299bd2(0xb8)]&&!this[_0x299bd2(0x135)]&&(_0x20984f['memberID']=_0x25fd06['data'][_0x299bd2(0x1a9)],this[_0x299bd2(0x2b2)][_0x299bd2(0x1dc)](_0x20984f),this[_0x299bd2(0x21e)][_0x299bd2(0x1dc)](Te[_0x299bd2(0x39a)]),this[_0x299bd2(0x135)]=!0x0,this[_0x299bd2(0x182)]=null),_0x3c57da===F[_0x299bd2(0xe9)]&&this[_0x299bd2(0x241)](),this[_0x299bd2(0xcb)]();}[_0x2b909d(0xcb)](){var _0x1b5a19=_0x2b909d,_0x2f3a70;this[_0x1b5a19(0x358)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1b5a19(0x22d)](),(_0x2f3a70=this['_configService']['getConfig'](yn))!=null?_0x2f3a70:Nn);}[_0x2b909d(0x22d)](){var _0x1921ce=_0x2b909d;this[_0x1921ce(0x2fc)]['send']({'cmd':F[_0x1921ce(0xe9)]}),this[_0x1921ce(0x394)]();}['_waitForHeartbeatResponse'](){var _0x1c80e8=_0x2b909d,_0x1acc2a;this[_0x1c80e8(0x271)]=setTimeout(()=>this[_0x1c80e8(0x35d)](),(_0x1acc2a=this[_0x1c80e8(0x14e)][_0x1c80e8(0x177)](Si))!=null?_0x1acc2a:Ei);}['_clearHeartbeatTimer'](){var _0x563763=_0x2b909d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x563763(0x2a5)]),this['_sendHeartbeatTimer']=null);}[_0x2b909d(0x241)](){var _0x2a18d8=_0x2b909d;this[_0x2a18d8(0x271)]!=null&&(clearTimeout(this[_0x2a18d8(0x271)]),this[_0x2a18d8(0x271)]=null);}};Le=er([ge(0x0,_0x810bfa(_0x4720a8)),ge(0x1,_0x3b937c),ge(0x2,_0x322413),ge(0x3,Ci),ge(0x4,_0x810bfa(_0x561c6c)),ge(0x5,_0x810bfa(pe)),ge(0x6,_0x576a69(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x2b909d(0xa4)](0x10)[_0x2b909d(0x326)](0x1));function tr(_0x8cfcea,_0x3ca5be=0x0){var _0x163f63=_0x2b909d;return(V[_0x8cfcea[_0x3ca5be+0x0]]+V[_0x8cfcea[_0x3ca5be+0x1]]+V[_0x8cfcea[_0x3ca5be+0x2]]+V[_0x8cfcea[_0x3ca5be+0x3]]+'-'+V[_0x8cfcea[_0x3ca5be+0x4]]+V[_0x8cfcea[_0x3ca5be+0x5]]+'-'+V[_0x8cfcea[_0x3ca5be+0x6]]+V[_0x8cfcea[_0x3ca5be+0x7]]+'-'+V[_0x8cfcea[_0x3ca5be+0x8]]+V[_0x8cfcea[_0x3ca5be+0x9]]+'-'+V[_0x8cfcea[_0x3ca5be+0xa]]+V[_0x8cfcea[_0x3ca5be+0xb]]+V[_0x8cfcea[_0x3ca5be+0xc]]+V[_0x8cfcea[_0x3ca5be+0xd]]+V[_0x8cfcea[_0x3ca5be+0xe]]+V[_0x8cfcea[_0x3ca5be+0xf]])[_0x163f63(0x1e0)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x56fecf=_0x2b909d;if(!ut){if(typeof crypto>'u'||!crypto[_0x56fecf(0x1e4)])throw new Error(_0x56fecf(0x376));ut=crypto[_0x56fecf(0x1e4)]['bind'](crypto);}return ut(ir);}function _0x9ebb(_0x1e705d,_0x3d47b9){var _0x10d75b=_0x10d7();return _0x9ebb=function(_0x9ebbb2,_0x3da3c7){_0x9ebbb2=_0x9ebbb2-0xa4;var _0x4c40a0=_0x10d75b[_0x9ebbb2];return _0x4c40a0;},_0x9ebb(_0x1e705d,_0x3d47b9);}const rr=typeof crypto<'u'&&crypto[_0x2b909d(0x24e)]&&crypto[_0x2b909d(0x24e)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x15b784,_0x51764e,_0x29d875){var _0x313779=_0x2b909d,_0x21b294,_0x490881,_0x31e4c5;if(qt[_0x313779(0x24e)]&&!_0x15b784)return qt['randomUUID']();_0x15b784=_0x15b784||{};const _0x321415=(_0x31e4c5=(_0x490881=_0x15b784['random'])!=null?_0x490881:(_0x21b294=_0x15b784[_0x313779(0x336)])==null?void 0x0:_0x21b294[_0x313779(0x33f)](_0x15b784))!=null?_0x31e4c5:nr();if(_0x321415['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x321415[0x6]=_0x321415[0x6]&0xf|0x40,_0x321415[0x8]=_0x321415[0x8]&0x3f|0x80,tr(_0x321415);}const J=_0x425e11(_0x2b909d(0x133));function so(_0x1afef5){var _0x5d826f=_0x2b909d;return _0x5d826f(0x343)+_0x1afef5;}var or=Object[_0x2b909d(0xb6)],ar=Object[_0x2b909d(0x2fa)],cr=(_0x335757,_0x5b32bb,_0x7d237f,_0x27957f)=>{var _0x311b80=_0x2b909d;for(var _0x299d0f=_0x27957f>0x1?void 0x0:_0x27957f?ar(_0x5b32bb,_0x7d237f):_0x5b32bb,_0x1487fd=_0x335757[_0x311b80(0x20b)]-0x1,_0x2b11de;_0x1487fd>=0x0;_0x1487fd--)(_0x2b11de=_0x335757[_0x1487fd])&&(_0x299d0f=(_0x27957f?_0x2b11de(_0x5b32bb,_0x7d237f,_0x299d0f):_0x2b11de(_0x299d0f))||_0x299d0f);return _0x27957f&&_0x299d0f&&or(_0x5b32bb,_0x7d237f,_0x299d0f),_0x299d0f;},dt=(_0x41885e,_0x4a3fde)=>(_0x232506,_0x198659)=>_0x4a3fde(_0x232506,_0x198659,_0x41885e);function hr(_0x4ab5e1){var _0x19a299=_0x2b909d;const {unitID:_0x11f1f5,mutations:_0x2384f0}=_0x4ab5e1;return{'unitId':_0x11f1f5,'subUnitId':_0x2384f0[0x0][_0x19a299(0x12f)]['subUnitId']};}let it=class{constructor(_0xcdee57,_0x1f52a1,_0x359d02){var _0x2766e9=_0x2b909d;this[_0x2766e9(0x3a2)]=_0xcdee57,this[_0x2766e9(0x274)]=_0x1f52a1,this[_0x2766e9(0x2ee)]=_0x359d02;}['transformSelections'](_0x508839){var _0x4adeca=_0x2b909d,_0x27bb9f,_0xe01d6f,_0x5c2c9a,_0x44269d;const _0x4d7ddb=this[_0x4adeca(0x3a2)][_0x4adeca(0xf5)](_0x25abfa),{unitId:_0x321647,subUnitId:_0x360317}=hr(_0x508839),_0x4f51ff=_0x4d7ddb==null?void 0x0:_0x4d7ddb['getWorkbookSelections'](_0x321647)[_0x4adeca(0xed)](),_0x573cbb=(_0xe01d6f=(_0x27bb9f=this[_0x4adeca(0x2ee)]['getUnit'](_0x321647))==null?void 0x0:_0x27bb9f[_0x4adeca(0x28a)]())==null?void 0x0:_0xe01d6f[_0x4adeca(0x163)]();if(_0x4f51ff[_0x4adeca(0x20b)]===0x0||!_0x321647||!_0x360317)return;const _0x419243=[{'id':_0x27e7a5['id'],'params':{'unitId':_0x321647,'subUnitId':_0x573cbb,'selections':_0x2cf444[_0x4adeca(0x100)](_0x4f51ff)}}],_0x364b7b=this[_0x4adeca(0x274)]['transformMutationsWithChangeset'](_0x508839,_0x419243);if(!_0x86d2f8(_0x364b7b))throw _0x364b7b[_0x4adeca(0xba)];const _0x142401=(_0x44269d=(_0x5c2c9a=_0x364b7b[_0x4adeca(0x1c3)][0x0])==null?void 0x0:_0x5c2c9a[_0x4adeca(0x12f)])==null?void 0x0:_0x44269d['selections'];if(Array[_0x4adeca(0x24c)](_0x142401)&&_0x142401['length']){if(_0x142401[_0x4adeca(0x20b)]===_0x419243[0x0]['params'][_0x4adeca(0x28d)][_0x4adeca(0x20b)]&&_0x142401[_0x4adeca(0x130)]((_0x4da1b2,_0x4807de)=>_0x318e47[_0x4adeca(0x1ef)](_0x4da1b2[_0x4adeca(0xbf)],_0x419243[0x0]['params'][_0x4adeca(0x28d)][_0x4807de][_0x4adeca(0xbf)])))return;this[_0x4adeca(0x3a2)]['get'](_0x30d4d0)[_0x4adeca(0x247)](_0x27e7a5['id'],{'unitId':_0x321647,'subUnitId':_0x573cbb,'selections':_0x142401});}}};it=cr([dt(0x0,_0x810bfa(_0x4720a8)),dt(0x1,_0xf23314),dt(0x2,_0x3d1ff0)],it);const ht=_0x425e11(_0x2b909d(0x317));var bi=(_0x1cfddf=>(_0x1cfddf[_0x1cfddf[_0x2b909d(0x2e7)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1cfddf[_0x1cfddf[_0x2b909d(0x10d)]=0x1]=_0x2b909d(0x10d),_0x1cfddf))(bi||{});const _r=new Set([_0x588738['id']]);function zt(_0xc3d178,_0x3a765b,_0xd3c074,_0x3dbe0f,_0x2a178c){var _0x873d03=_0x2b909d,_0x1fe5db,_0x28d7c9,_0xc246e8,_0x353cc8;const _0x171b9d=[];for(const _0x5970d1 of _0xc3d178)if(_r[_0x873d03(0x190)](_0x5970d1['id'])){if(_0x171b9d[_0x873d03(0x20b)]>0x0)break;_0x171b9d[_0x873d03(0x276)](_0x5970d1);break;}else _0x171b9d['push'](_0x5970d1);const _0x2407a6=(_0x28d7c9=(_0x1fe5db=_0x2a178c[_0x873d03(0x37b)]())==null?void 0x0:_0x1fe5db[_0x873d03(0x390)])!=null?_0x28d7c9:_0x873d03(0x1c9),_0x2db397=(_0x353cc8=(_0xc246e8=_0x2a178c[_0x873d03(0x37b)]())==null?void 0x0:_0xc246e8[_0x873d03(0x1a9)])!=null?_0x353cc8:_0x873d03(0x1c9);return{'changeset':{'unitID':_0x3a765b,'type':_0x186d02(_0xd3c074['getUnitType'](_0x3a765b)),'baseRev':_0x3dbe0f[_0x873d03(0x13b)](_0x3a765b),'revision':0x0,'userID':_0x2407a6,'memberID':_0x2db397,'mutations':_0x171b9d},'pendingMutations':_0xc3d178[_0x873d03(0x326)](_0x171b9d[_0x873d03(0x20b)])};}function lr(_0x223c5b,_0x1e1ea0,_0x10ab5e,_0x56cf33,_0x2bf9d3){var _0x30aa2d=_0x2b909d,_0x173a36,_0x2e9499,_0x55ff39,_0x23630a;const _0x5d1526=[_0x223c5b['reduce']((_0x4ac997,_0x52bb8c)=>{var _0x2d9189=_0x9ebb,_0x2fab1a;const {id:_0x307051}=_0x4ac997,{id:_0x123a8d,type:_0x1b4522}=_0x52bb8c,_0x56c75c=(_0x2fab1a=_0x4ac997['params'])!=null?_0x2fab1a:{'actions':null},_0x39e2e6=_0x52bb8c[_0x2d9189(0x12f)];if(_0x307051&&_0x307051!==_0x123a8d)throw new Error(_0x2d9189(0x2a0)+_0x307051+_0x2d9189(0x2b1)+_0x123a8d+'.');return{..._0x4ac997,'id':_0x123a8d,'type':_0x1b4522,'params':{'unitId':_0x39e2e6[_0x2d9189(0x375)],'textRanges':_0x39e2e6[_0x2d9189(0x1b2)],'actions':_0x5649ac[_0x2d9189(0x1e9)](_0x56c75c['actions'],_0x39e2e6['actions'])}};},{})],_0xa1a1cb=(_0x2e9499=(_0x173a36=_0x2bf9d3[_0x30aa2d(0x37b)]())==null?void 0x0:_0x173a36['userID'])!=null?_0x2e9499:_0x30aa2d(0x1c9),_0x1be772=(_0x23630a=(_0x55ff39=_0x2bf9d3[_0x30aa2d(0x37b)]())==null?void 0x0:_0x55ff39[_0x30aa2d(0x1a9)])!=null?_0x23630a:'unknown';return{'changeset':{'unitID':_0x1e1ea0,'type':_0x186d02(_0x10ab5e[_0x30aa2d(0xa9)](_0x1e1ea0)),'baseRev':_0x56cf33[_0x30aa2d(0x13b)](_0x1e1ea0),'revision':0x0,'userID':_0xa1a1cb,'memberID':_0x1be772,'mutations':_0x5d1526},'pendingMutations':[]};}function Oi(_0xc1e9cb,_0xdd9601){var _0x30e7c9=_0x2b909d;const _0x4f003b=new _0x550ddd(0x1);return setTimeout(()=>_0x4f003b[_0x30e7c9(0x1dc)](_0xdd9601),_0xc1e9cb),_0x4f003b[_0x30e7c9(0x257)]()['pipe'](_0x55b1a2(0x1));}const ur={'id':_0x15164f['id'],'type':_0x5e43db[_0x2b909d(0x15e)],'params':{}};var dr=Object[_0x2b909d(0xb6)],fr=Object['getOwnPropertyDescriptor'],Re=(_0x21a56f,_0x5d3628,_0x2bce48,_0x341060)=>{var _0x493e53=_0x2b909d;for(var _0x6f4779=_0x341060>0x1?void 0x0:_0x341060?fr(_0x5d3628,_0x2bce48):_0x5d3628,_0x1b1910=_0x21a56f[_0x493e53(0x20b)]-0x1,_0x521f6a;_0x1b1910>=0x0;_0x1b1910--)(_0x521f6a=_0x21a56f[_0x1b1910])&&(_0x6f4779=(_0x341060?_0x521f6a(_0x5d3628,_0x2bce48,_0x6f4779):_0x521f6a(_0x6f4779))||_0x6f4779);return _0x341060&&_0x6f4779&&dr(_0x5d3628,_0x2bce48,_0x6f4779),_0x6f4779;},A=(_0x2e957d,_0x4fb728)=>(_0x32c325,_0x43076c)=>_0x4fb728(_0x32c325,_0x43076c,_0x2e957d),yi=(_0x5a7207=>(_0x5a7207[_0x2b909d(0x16a)]='not_collab',_0x5a7207['SYNCED']='synced',_0x5a7207['PENDING']=_0x2b909d(0x249),_0x5a7207[_0x2b909d(0x1c8)]=_0x2b909d(0x366),_0x5a7207[_0x2b909d(0x31f)]=_0x2b909d(0x321),_0x5a7207[_0x2b909d(0x364)]=_0x2b909d(0x1b6),_0x5a7207[_0x2b909d(0x215)]=_0x2b909d(0x387),_0x5a7207[_0x2b909d(0x2a6)]=_0x2b909d(0x1c2),_0x5a7207))(yi||{});const Ni=0xea60;class be{constructor(_0x32b529,_0xee1d75,_0x60bf66,_0x2a4feb,_0x155a5f,_0x10c951,_0x51398c,_0x53528b,_0x2ad7ad){var _0x721727=_0x2b909d;N(this,'_awaitingChangeset',null),N(this,_0x721727(0x1fe),[]),(this[_0x721727(0x210)]=_0x32b529,this['type']=_0xee1d75,this[_0x721727(0x20c)]=_0x155a5f,this['_commandService']=_0x10c951,this['_undoRedoService']=_0x51398c,this[_0x721727(0x31a)]=_0x53528b,this[_0x721727(0x196)]=_0x2ad7ad,this[_0x721727(0x263)]=_0x60bf66,this[_0x721727(0x1fe)]=_0x2a4feb);}[_0x2b909d(0x1a2)](_0x21215d){var _0x5a0428=_0x2b909d;const _0x4812e9=this[_0x5a0428(0x31a)][_0x5a0428(0x13b)](this['unitID']);return _0x21215d['revision']>_0x4812e9+0x1?(this[_0x5a0428(0x20c)][_0x5a0428(0x36b)]({'from':_0x4812e9,'to':_0x21215d[_0x5a0428(0xde)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x369a58){var _0x567c79=_0x2b909d;this[_0x567c79(0x2b4)]['transformUndoRedo'](this['unitID'],_0x369a58);}[_0x2b909d(0x188)](_0x32a324){var _0x1fab67=_0x2b909d,_0x1d4c3b,_0x31a97b;(_0x31a97b=(_0x1d4c3b=this[_0x1fab67(0x20c)])[_0x1fab67(0x32e)])==null||_0x31a97b[_0x1fab67(0x33f)](_0x1d4c3b,_0x32a324);}[_0x2b909d(0x2b6)](_0x32f894){var _0x58580a=_0x2b909d,_0x4b4021,_0x184778;return(_0x184778=(_0x4b4021=this[_0x58580a(0x20c)])[_0x58580a(0x29b)])==null?void 0x0:_0x184778[_0x58580a(0x33f)](_0x4b4021,_0x32f894);}[_0x2b909d(0x2f4)](_0x48850e){var _0x576768=_0x2b909d,_0xc46c01,_0x43253a;return(_0x43253a=(_0xc46c01=this[_0x576768(0x20c)])[_0x576768(0x26b)])==null?void 0x0:_0x43253a[_0x576768(0x33f)](_0xc46c01,_0x48850e);}[_0x2b909d(0x1c1)](_0x575f5){var _0x1a3cd0=_0x2b909d,_0x3310ce,_0x55d32e,_0x578a1c;return(_0x578a1c=(_0x55d32e=(_0x3310ce=this[_0x1a3cd0(0x20c)])[_0x1a3cd0(0x17f)])==null?void 0x0:_0x55d32e[_0x1a3cd0(0x33f)](_0x3310ce,_0x575f5))!=null?_0x578a1c:_0x575f5;}[_0x2b909d(0x2bc)](_0x54070f){var _0xb36127=_0x2b909d,_0x3425ba,_0x113a0a,_0x42fdcb;return(_0x42fdcb=(_0x113a0a=(_0x3425ba=this[_0xb36127(0x20c)])[_0xb36127(0x1d8)])==null?void 0x0:_0x113a0a[_0xb36127(0x33f)](_0x3425ba,_0x54070f))!=null?_0x42fdcb:_0x54070f;}['_syncEditingCollabCursor'](_0x572bda){var _0x37e49d=_0x2b909d,_0x2685be,_0x541864;if(this[_0x37e49d(0x32a)]===Q['UNIVER_DOC']){const {unitID:_0x56be1e,mutations:_0x6e3eef,memberID:_0x2d9102}=_0x572bda,_0x3a2818=_0x6e3eef[0x0][_0x37e49d(0x12f)][_0x37e49d(0x1b2)];Array['isArray'](_0x3a2818)&&_0x3a2818[_0x37e49d(0x20b)]>0x0&&((_0x541864=(_0x2685be=this[_0x37e49d(0x20c)])[_0x37e49d(0x399)])==null||_0x541864[_0x37e49d(0x33f)](_0x2685be,{'unitID':_0x56be1e,'memberID':_0x2d9102,'textRanges':_0x3a2818}));}}['_updateLocalCache'](){var _0xc07047=_0x2b909d,_0x1cda72;(_0x1cda72=this['_localCacheService'])==null||_0x1cda72[_0xc07047(0x1da)](this['unitID'],this['type'],this[_0xc07047(0x263)],this[_0xc07047(0x1fe)]);}[_0x2b909d(0x2fe)](){var _0x4f86a4=_0x2b909d;return this['_revisionService'][_0x4f86a4(0x13b)](this[_0x4f86a4(0x210)]);}[_0x2b909d(0x1ae)](){var _0x1a7078=_0x2b909d;this[_0x1a7078(0x31a)]['incrementRevOfUnit'](this['unitID']);}[_0x2b909d(0x30f)](_0x75bd77){var _0x14803d=_0x2b909d,_0x51f4c1;let _0x24aa56=this[_0x14803d(0x1c1)](_0x75bd77);_0x24aa56=this[_0x14803d(0x2bc)](_0x24aa56);const _0x5c6922=_0x4b7ce6(_0x24aa56[_0x14803d(0xd0)],this[_0x14803d(0x33e)],{'fromCollab':!0x0});if(!_0x5c6922[_0x14803d(0x1ee)])throw _0x5c6922[_0x14803d(0xba)]instanceof Error?_0x5c6922[_0x14803d(0xba)]:new Error((_0x51f4c1=_0x5c6922[_0x14803d(0xba)])!=null?_0x51f4c1:_0x14803d(0x1c0));this[_0x14803d(0x2b6)](_0x24aa56),this[_0x14803d(0x2f4)](_0x24aa56),this[_0x14803d(0x193)](_0x75bd77),this[_0x14803d(0x188)](_0x24aa56),this[_0x14803d(0x304)](_0x24aa56),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x27fe6c,_0x4e1249,_0x308d9a,_0x4f83ec,_0x5b2705,_0x1b4d12,_0xd6e25d,_0x5aaab7,_0x20a60d,_0x4b49de){var _0x371a71=_0x2b909d;super(_0x27fe6c,_0x4e1249,null,[],_0x308d9a,_0xd6e25d,_0x1b4d12,_0x4f83ec,_0x4b49de),N(this,_0x371a71(0x1cc),_0x371a71(0x2b5)),(this[_0x371a71(0x3a2)]=_0x5b2705,this[_0x371a71(0x2dd)]=_0x5aaab7,this[_0x371a71(0x274)]=_0x20a60d,this[_0x371a71(0x36c)]=_0x4b49de);}[_0x2b909d(0x39e)](_0x49105c){var _0x1f82c6=_0x2b909d;const _0x15c22e=this['_injector']['createInstance'](oe,this[_0x1f82c6(0x210)],this[_0x1f82c6(0x32a)],[_0x49105c],this[_0x1f82c6(0x20c)]);return _0x15c22e['_schedule'](),_0x15c22e[_0x1f82c6(0x2a1)](),_0x15c22e;}[_0x2b909d(0x245)](_0x32e996){var _0x221e84=_0x2b909d;if(this['_checkMissing'](_0x32e996))return this['_injector'][_0x221e84(0x129)](te,this['unitID'],this[_0x221e84(0x32a)],null,[],null,[_0x32e996],this[_0x221e84(0x20c)]);try{const _0x563369=this[_0x221e84(0x274)][_0x221e84(0xfd)](_0x32e996,[ur]);if(_0x86d2f8(_0x563369)){const {c1Prime:_0x142374}=_0x563369;return this[_0x221e84(0x30f)](_0x142374),this;}throw _0x563369[_0x221e84(0xba)];}catch(_0xb517d){return this[_0x221e84(0x2dd)][_0x221e84(0xba)](_0xb517d),this['_onConflict'](!0x1);}}[_0x2b909d(0x150)](_0x470e11){var _0x24e153=_0x2b909d;return this[_0x24e153(0x3a2)][_0x24e153(0x129)](de,this['unitID'],this[_0x24e153(0x32a)],null,[],this[_0x24e153(0x20c)],_0x470e11);}[_0x2b909d(0x137)](){var _0xb048aa=_0x2b909d;throw new Error(_0xb048aa(0x309));}[_0x2b909d(0x1b8)](){var _0x4508a0=_0x2b909d;throw new Error(_0x4508a0(0x2f5));}['onRemoteRetry'](){return this;}[_0x2b909d(0x1a6)](){var _0x1435af=_0x2b909d;return this[_0x1435af(0x3a2)][_0x1435af(0x129)](fe,this[_0x1435af(0x210)],this[_0x1435af(0x32a)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2b909d(0xfc)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2b909d(0x254)](){var _0x48f3bc=_0x2b909d;const _0x26f225=this['_revisionService'][_0x48f3bc(0x13b)](this[_0x48f3bc(0x210)]);return this[_0x48f3bc(0x20c)][_0x48f3bc(0x36b)]({'from':_0x26f225,'to':0x0}),this['_injector'][_0x48f3bc(0x129)](te,this[_0x48f3bc(0x210)],this['type'],null,[],null,[],this[_0x48f3bc(0x20c)]);}};De=Re([A(0x3,_0x810bfa(_0x548040)),A(0x4,_0x810bfa(_0x4720a8)),A(0x5,_0x19e773),A(0x6,_0x30d4d0),A(0x7,_0x3b937c),A(0x8,_0xf23314),A(0x9,_0x576a69(J))],De);let oe=class extends be{constructor(_0x1ef9f2,_0x53190e,_0x53d6f3,_0x1c1157,_0x49dc71,_0x440427,_0x377b92,_0x52a597,_0x5df0ee,_0x31fb72,_0x337d3e,_0x4c69fe,_0x22e611,_0x2240f3){var _0x16d49a=_0x2b909d;super(_0x1ef9f2,_0x53190e,null,_0x53d6f3,_0x1c1157,_0x5df0ee,_0x22e611,_0x440427,_0x2240f3),N(this,_0x16d49a(0x1cc),_0x16d49a(0x249)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x16d49a(0x2ba),null),(this['_injector']=_0x49dc71,this[_0x16d49a(0x1a4)]=_0x377b92,this[_0x16d49a(0x2dd)]=_0x52a597,this[_0x16d49a(0x14e)]=_0x31fb72,this[_0x16d49a(0x274)]=_0x337d3e,this[_0x16d49a(0x297)]=_0x4c69fe);}[_0x2b909d(0x39e)](_0x3f5c09){var _0x540532=_0x2b909d;return this[_0x540532(0x1fe)][_0x540532(0x276)](_0x3f5c09),this[_0x540532(0x2a1)](),this;}['onRemoteChangeset'](_0x4f4109){var _0xd10a06=_0x2b909d;if(this[_0xd10a06(0x1a2)](_0x4f4109))return this[_0xd10a06(0x10c)](),this[_0xd10a06(0x3a2)][_0xd10a06(0x129)](te,this[_0xd10a06(0x210)],this[_0xd10a06(0x32a)],null,this[_0xd10a06(0x1fe)],null,[_0x4f4109],this[_0xd10a06(0x20c)]);try{const _0xf88ead=this[_0xd10a06(0x274)]['transformMutationsWithChangeset'](_0x4f4109,this[_0xd10a06(0x1fe)]);if(_0x86d2f8(_0xf88ead)){const {c1Prime:_0x1ffda0,m2Prime:_0x21d2af}=_0xf88ead;this['_executeRemoteChangeset'](_0x1ffda0);const _0x124908=this[_0xd10a06(0x3a2)]['createInstance'](oe,this[_0xd10a06(0x210)],this[_0xd10a06(0x32a)],_0x21d2af,this['_handler']);this['_clearScheduledTask']();const _0x540204=new Date()[_0xd10a06(0x18b)](),_0x34e044=this['_scheduleCompleteTimestamp']?Math[_0xd10a06(0x277)](this[_0xd10a06(0x313)]-_0x540204,0x0):this[_0xd10a06(0x291)]();return _0x124908[_0xd10a06(0x307)](_0x34e044),_0x124908;}throw _0xf88ead[_0xd10a06(0xba)];}catch(_0x266d40){return this[_0xd10a06(0x2dd)][_0xd10a06(0xba)](_0x266d40),this[_0xd10a06(0x150)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xb1f76a=_0x2b909d;throw new Error(_0xb1f76a(0x14f));}[_0x2b909d(0x2f9)](){return this;}[_0x2b909d(0x1a6)](){var _0x148707=_0x2b909d;return this[_0x148707(0x10c)](),this[_0x148707(0x3a2)][_0x148707(0x129)](fe,this['unitID'],this['type'],null,this[_0x148707(0x1fe)],this[_0x148707(0x20c)]);}[_0x2b909d(0x397)](){return this;}[_0x2b909d(0x307)](_0x3716a4){var _0x26b6a7=_0x2b909d;const _0x4fe409=_0x3716a4!=null?_0x3716a4:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x26b6a7(0x18b)]()+_0x4fe409,this[_0x26b6a7(0x2ba)]=setTimeout(()=>{var _0x9cfb4e=_0x26b6a7;this[_0x9cfb4e(0x10c)]();let _0x5608db=null;switch(this['type']){case Q[_0x9cfb4e(0x25c)]:{_0x5608db=zt(this[_0x9cfb4e(0x1fe)],this[_0x9cfb4e(0x210)],this['_univerInstanceService'],this[_0x9cfb4e(0x31a)],this[_0x9cfb4e(0x1a4)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x54a951=>_0x54a951['id']===_0x1bf2f0['id'])?_0x5608db=lr(this[_0x9cfb4e(0x1fe)],this[_0x9cfb4e(0x210)],this[_0x9cfb4e(0x297)],this[_0x9cfb4e(0x31a)],this[_0x9cfb4e(0x1a4)]):_0x5608db=zt(this['_pendingMutations'],this[_0x9cfb4e(0x210)],this['_univerInstanceService'],this[_0x9cfb4e(0x31a)],this[_0x9cfb4e(0x1a4)]);break;}default:throw new Error(_0x9cfb4e(0x28b)+this[_0x9cfb4e(0x32a)]+_0x9cfb4e(0x2de));}const {changeset:_0x28f741,pendingMutations:_0x4616a8}=_0x5608db;this[_0x9cfb4e(0x20c)][_0x9cfb4e(0xec)](_0x28f741);const _0x534d0d=_0x4616a8[_0x9cfb4e(0x20b)]?this[_0x9cfb4e(0x3a2)][_0x9cfb4e(0x129)](ae,this[_0x9cfb4e(0x210)],this[_0x9cfb4e(0x32a)],_0x28f741,_0x4616a8,this[_0x9cfb4e(0x20c)],void 0x0):this['_injector']['createInstance'](ue,this[_0x9cfb4e(0x210)],this['type'],_0x28f741,this[_0x9cfb4e(0x20c)]);_0x534d0d[_0x9cfb4e(0x2a1)](),this[_0x9cfb4e(0x20c)][_0x9cfb4e(0x319)](this,_0x534d0d);},_0x4fe409);}[_0x2b909d(0x291)](){var _0x358985=_0x2b909d,_0x57cf87;const _0x6e1074=this[_0x358985(0x14e)]['getConfig'](q);return(_0x57cf87=_0x6e1074==null?void 0x0:_0x6e1074[_0x358985(0xe5)])!=null?_0x57cf87:Cn;}[_0x2b909d(0xfc)](){var _0x4706b7=_0x2b909d;throw new Error(_0x4706b7(0xbd));}[_0x2b909d(0x10c)](){var _0x2dcd1c=_0x2b909d;this[_0x2dcd1c(0x2ba)]!=null&&(clearTimeout(this[_0x2dcd1c(0x2ba)]),this[_0x2dcd1c(0x2ba)]=null);}['_onConflict'](_0x432380){var _0x4390e2=_0x2b909d;return this[_0x4390e2(0x10c)](),this[_0x4390e2(0x3a2)][_0x4390e2(0x129)](de,this[_0x4390e2(0x210)],this[_0x4390e2(0x32a)],null,this[_0x4390e2(0x1fe)],this['_handler'],_0x432380);}};oe=Re([A(0x4,_0x810bfa(_0x4720a8)),A(0x5,_0x810bfa(_0x548040)),A(0x6,_0x810bfa(xe)),A(0x7,_0x3b937c),A(0x8,_0x30d4d0),A(0x9,_0x322413),A(0xa,_0xf23314),A(0xb,_0x3d1ff0),A(0xc,_0x19e773),A(0xd,_0x576a69(J))],oe);let ue=class extends be{constructor(_0x154e68,_0x4b7fa5,_0x3e1962,_0x4db423,_0xb067c9,_0x423ec8,_0x2c232d,_0x9b5af0,_0x3a1c12,_0x58c2a2,_0x9c53b5){var _0x148993=_0x2b909d;super(_0x154e68,_0x4b7fa5,_0x3e1962,[],_0x4db423,_0x2c232d,_0x58c2a2,_0x423ec8,_0x9c53b5),N(this,'status',_0x148993(0x366)),N(this,_0x148993(0x105),0x0),N(this,_0x148993(0x108)),N(this,_0x148993(0xb3)),(this[_0x148993(0x3a2)]=_0xb067c9,this['_logService']=_0x9b5af0,this[_0x148993(0x274)]=_0x3a1c12);}['appendMutation'](_0x1d3e78){var _0x537487=_0x2b909d;this[_0x537487(0x10c)]();const _0x203f97=this[_0x537487(0x3a2)][_0x537487(0x129)](ae,this[_0x537487(0x210)],this[_0x537487(0x32a)],this[_0x537487(0x263)],[_0x1d3e78],this['_handler'],this[_0x537487(0x108)]);return _0x203f97[_0x537487(0x2a1)](),_0x203f97;}[_0x2b909d(0x245)](_0x394ab6){var _0x5d03b4=_0x2b909d;if(this[_0x5d03b4(0x1a2)](_0x394ab6))return this[_0x5d03b4(0x10c)](),this[_0x5d03b4(0x3a2)][_0x5d03b4(0x129)](te,this[_0x5d03b4(0x210)],this['type'],this[_0x5d03b4(0x263)],[],null,[_0x394ab6],this[_0x5d03b4(0x20c)]);try{const _0x690847=this[_0x5d03b4(0x274)][_0x5d03b4(0x38b)]([_0x394ab6],[this[_0x5d03b4(0x263)]],!0x1);if(_0x3796bc(_0x690847)){const {c1Prime:_0x243be6,c2Prime:_0x105ba3}=_0x690847;this['_executeRemoteChangeset'](_0x243be6[0x0]),_0x105ba3[0x0][_0x5d03b4(0x15c)]=this['_getCurrentRevision'](),this[_0x5d03b4(0x10c)]();const _0x1c0374=this[_0x5d03b4(0x3a2)]['createInstance'](ue,this[_0x5d03b4(0x210)],this[_0x5d03b4(0x32a)],_0x105ba3[0x0],this[_0x5d03b4(0x20c)]);return _0x1c0374[_0x5d03b4(0x2a1)](),_0x1c0374;}return this[_0x5d03b4(0x150)](!0x1);}catch(_0xfacb3){return this[_0x5d03b4(0x2dd)][_0x5d03b4(0xba)](_0xfacb3),this[_0x5d03b4(0x150)](!0x1);}}[_0x2b909d(0x137)](_0x324e34){var _0x130bd5=_0x2b909d;this['_clearScheduledTask']();const _0x176c4e=this[_0x130bd5(0x31a)][_0x130bd5(0x13b)](this['unitID']);if(_0x324e34[_0x130bd5(0xde)]<_0x176c4e-0x1)return this;if(this[_0x130bd5(0x1a2)](_0x324e34))return this[_0x130bd5(0x3a2)]['createInstance'](te,this['unitID'],this[_0x130bd5(0x32a)],null,[],this[_0x130bd5(0x263)],[],this[_0x130bd5(0x20c)]);this[_0x130bd5(0x1ae)]();const _0x19eeba=this[_0x130bd5(0x3a2)][_0x130bd5(0x129)](De,this[_0x130bd5(0x210)],this[_0x130bd5(0x32a)],this[_0x130bd5(0x20c)]);return _0x19eeba['_updateLocalCache'](),_0x19eeba;}[_0x2b909d(0x1b8)](_0x49c624){var _0x5bc4ff=_0x2b909d;return this[_0x5bc4ff(0x150)](!!(_0x49c624!=null&&_0x49c624[_0x5bc4ff(0x379)]));}[_0x2b909d(0x2f9)](_0x47b2bb){var _0x4860cb=_0x2b909d;return this[_0x4860cb(0x105)]>Ni?this[_0x4860cb(0x1a6)]():(this['_resendTimer']=Oi(this[_0x4860cb(0x105)],{'timeout':this[_0x4860cb(0x105)],'reqId':_0x47b2bb[_0x4860cb(0x14a)]}),this[_0x4860cb(0xb3)]=this[_0x4860cb(0x108)][_0x4860cb(0x2d4)](({reqId:_0x1d30f3,timeout:_0x2007c0})=>{this['_resendWithTimeout'](_0x1d30f3,_0x2007c0);}),this);}[_0x2b909d(0x1a6)](){var _0x25fe47=_0x2b909d;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0x25fe47(0x210)],this[_0x25fe47(0x32a)],this['_awaitingChangeset'],[],this[_0x25fe47(0x20c)]);}['toggleOnline'](){return this;}[_0x2b909d(0xfc)](){var _0x1d7ccd=_0x2b909d;this[_0x1d7ccd(0x20c)][_0x1d7ccd(0xec)](this[_0x1d7ccd(0x263)]);}[_0x2b909d(0x150)](_0x2c373a){var _0x14b8c2=_0x2b909d;return this[_0x14b8c2(0x10c)](),this[_0x14b8c2(0x3a2)]['createInstance'](de,this[_0x14b8c2(0x210)],this[_0x14b8c2(0x32a)],this[_0x14b8c2(0x263)],[],this['_handler'],_0x2c373a);}[_0x2b909d(0x2e2)](_0x33892e,_0x44851f){var _0x5b9675=_0x2b909d,_0x1eb4d;_0x33892e===((_0x1eb4d=this[_0x5b9675(0x263)])==null?void 0x0:_0x1eb4d['reqId'])&&(this[_0x5b9675(0xfc)](),this[_0x5b9675(0x105)]=_0x44851f===0x0?0x3e8:_0x44851f*0x2);}[_0x2b909d(0x10c)](){var _0x5e4087=_0x2b909d,_0x1ce774;(_0x1ce774=this[_0x5e4087(0xb3)])==null||_0x1ce774[_0x5e4087(0x37f)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x810bfa(_0x4720a8)),A(0x5,_0x810bfa(_0x548040)),A(0x6,_0x30d4d0),A(0x7,_0x3b937c),A(0x8,_0xf23314),A(0x9,_0x19e773),A(0xa,_0x576a69(J))],ue);let ae=class extends be{constructor(_0x29683b,_0x247352,_0x20242f,_0x48c846,_0x5ceaa3,_0x804061,_0x3ffc28,_0x56c0a8,_0x3d33ab,_0x5ba10e,_0x2812dd,_0xb77a9c,_0x445e4f){var _0xf361a7=_0x2b909d;super(_0x29683b,_0x247352,_0x20242f,_0x48c846,_0x5ceaa3,_0x3d33ab,_0xb77a9c,_0x56c0a8,_0x445e4f),N(this,_0xf361a7(0x1cc),_0xf361a7(0x321)),N(this,_0xf361a7(0x105),0x0),N(this,_0xf361a7(0x108)),N(this,'_sender'),(this[_0xf361a7(0x3a2)]=_0x3ffc28,this[_0xf361a7(0x2dd)]=_0x5ba10e,this['_transformService']=_0x2812dd,this['localCacheService']=_0x445e4f,_0x804061&&(this[_0xf361a7(0x108)]=_0x804061,this[_0xf361a7(0xb3)]=this[_0xf361a7(0x108)][_0xf361a7(0x2d4)](({reqId:_0x59382c,timeout:_0x434f69})=>{this['_resendWithTimeout'](_0x59382c,_0x434f69);})));}[_0x2b909d(0x39e)](_0x554e69){var _0x4ca4a6=_0x2b909d;return this[_0x4ca4a6(0x1fe)][_0x4ca4a6(0x276)](_0x554e69),this;}[_0x2b909d(0x245)](_0x5b60bb){var _0x18d975=_0x2b909d;if(this[_0x18d975(0x1a2)](_0x5b60bb))return this[_0x18d975(0x10c)](),this[_0x18d975(0x3a2)][_0x18d975(0x129)](te,this[_0x18d975(0x210)],this[_0x18d975(0x32a)],this[_0x18d975(0x263)],this[_0x18d975(0x1fe)],null,[_0x5b60bb],this[_0x18d975(0x20c)]);try{const _0xa07f68=this[_0x18d975(0x274)][_0x18d975(0x38b)]([_0x5b60bb],[this['_awaitingChangeset']],!0x1);if(_0x3796bc(_0xa07f68)){const {c1Prime:_0x184a9f,c2Prime:_0x19e1d0}=_0xa07f68,_0x17732c=this[_0x18d975(0x274)][_0x18d975(0xfd)](_0x184a9f[0x0],this[_0x18d975(0x1fe)]);if(_0x86d2f8(_0x17732c)){const {c1Prime:_0x4ad414,m2Prime:_0x42e6ef}=_0x17732c;return this[_0x18d975(0x30f)](_0x4ad414),_0x19e1d0[0x0][_0x18d975(0x15c)]=this[_0x18d975(0x2fe)](),this[_0x18d975(0x10c)](),this[_0x18d975(0x3a2)][_0x18d975(0x129)](ae,this['unitID'],this[_0x18d975(0x32a)],_0x19e1d0[0x0],_0x42e6ef,this['_handler'],void 0x0);}throw _0x17732c[_0x18d975(0xba)];}throw _0xa07f68[_0x18d975(0xba)];}catch(_0x10279a){return this[_0x18d975(0x2dd)][_0x18d975(0xba)](_0x10279a),this[_0x18d975(0x150)](!0x1);}}[_0x2b909d(0x137)](_0x2519aa){var _0x3b42ed=_0x2b909d;if(this[_0x3b42ed(0x10c)](),this['_checkMissing'](_0x2519aa))return this[_0x3b42ed(0x3a2)]['createInstance'](te,this[_0x3b42ed(0x210)],this[_0x3b42ed(0x32a)],null,this[_0x3b42ed(0x1fe)],this[_0x3b42ed(0x263)],[],this[_0x3b42ed(0x20c)]);this[_0x3b42ed(0x1ae)]();const _0x31879b=this[_0x3b42ed(0x3a2)][_0x3b42ed(0x129)](oe,this[_0x3b42ed(0x210)],this[_0x3b42ed(0x32a)],this[_0x3b42ed(0x1fe)],this['_handler']);return _0x31879b[_0x3b42ed(0x307)](),_0x31879b[_0x3b42ed(0x2a1)](),_0x31879b;}['onRemoteRej'](_0x1c57e8){var _0xa4a40a=_0x2b909d;return this[_0xa4a40a(0x150)](!!(_0x1c57e8!=null&&_0x1c57e8[_0xa4a40a(0x379)]));}['onRemoteRetry'](_0xdcdb4e){var _0x1dad88=_0x2b909d;return this[_0x1dad88(0x105)]>Ni?this[_0x1dad88(0x1a6)]():(this[_0x1dad88(0x108)]=Oi(this[_0x1dad88(0x105)],{'timeout':this['_resendTimeout'],'reqId':_0xdcdb4e['reqId']}),this[_0x1dad88(0xb3)]=this[_0x1dad88(0x108)][_0x1dad88(0x2d4)](({reqId:_0x12c559,timeout:_0x10fe97})=>{this['_resendWithTimeout'](_0x12c559,_0x10fe97);}),this);}[_0x2b909d(0x1a6)](){var _0x40ed2f=_0x2b909d;return this[_0x40ed2f(0x10c)](),this[_0x40ed2f(0x3a2)]['createInstance'](fe,this[_0x40ed2f(0x210)],this[_0x40ed2f(0x32a)],this[_0x40ed2f(0x263)],this[_0x40ed2f(0x1fe)],this['_handler']);}[_0x2b909d(0x397)](){return this;}[_0x2b909d(0xfc)](){var _0x528b6e=_0x2b909d;this[_0x528b6e(0x20c)][_0x528b6e(0xec)](this[_0x528b6e(0x263)]);}['_onConflict'](_0x1cce62){var _0x480e03=_0x2b909d;return this[_0x480e03(0x10c)](),this['_injector'][_0x480e03(0x129)](de,this[_0x480e03(0x210)],this[_0x480e03(0x32a)],null,this[_0x480e03(0x1fe)],this[_0x480e03(0x20c)],_0x1cce62);}[_0x2b909d(0x2e2)](_0xc9cf5b,_0x3ddca5){var _0x7ebf8b=_0x2b909d,_0xba327d;_0xc9cf5b===((_0xba327d=this[_0x7ebf8b(0x263)])==null?void 0x0:_0xba327d[_0x7ebf8b(0x14a)])&&(this[_0x7ebf8b(0xfc)](),this['_resendTimeout']=_0x3ddca5===0x0?0x3e8:_0x3ddca5*0x2);}[_0x2b909d(0x10c)](){var _0x33e5fb=_0x2b909d,_0x1f59c9;(_0x1f59c9=this[_0x33e5fb(0xb3)])==null||_0x1f59c9[_0x33e5fb(0x37f)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x810bfa(_0x4720a8)),A(0x7,_0x810bfa(_0x548040)),A(0x8,_0x30d4d0),A(0x9,_0x3b937c),A(0xa,_0xf23314),A(0xb,_0x19e773),A(0xc,_0x576a69(J))],ae);let de=class extends be{constructor(_0xd0b90,_0x50abaa,_0x51236b,_0x507ac5,_0x52e544,_0x4037e6=!0x1,_0x31b182,_0x102ccf,_0x42de38,_0x4bf158,_0x196ba1,_0x4b906b,_0x2befe5){var _0x1ae591=_0x2b909d;super(_0xd0b90,_0x50abaa,_0x51236b,_0x507ac5,_0x52e544,_0x102ccf,_0x42de38,_0x4bf158,_0x2befe5),N(this,'status',_0x1ae591(0x387)),(this['_isPermissionRej']=_0x4037e6,this[_0x1ae591(0x31b)]=_0x31b182,this['_localeService']=_0x196ba1,this[_0x1ae591(0x248)]=_0x4b906b,this[_0x1ae591(0x36c)]=_0x2befe5,this[_0x1ae591(0x251)](),this[_0x1ae591(0x27f)](),this[_0x1ae591(0x1cd)]());}['appendMutation'](){return this;}[_0x2b909d(0x245)](){return this;}[_0x2b909d(0x137)](){return this;}[_0x2b909d(0x1b8)](){return this;}[_0x2b909d(0x2f9)](){return this;}[_0x2b909d(0x1a6)](){return this;}[_0x2b909d(0x397)](){return this;}[_0x2b909d(0xfc)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2b909d(0x27f)](){var _0x1953bf=_0x2b909d,_0x4e9fb5;(_0x4e9fb5=this[_0x1953bf(0x196)])==null||_0x4e9fb5['updateOfflineData'](this['unitID'],this[_0x1953bf(0x32a)],null,[]);}[_0x2b909d(0x251)](){var _0x4ef455=_0x2b909d;this['_isPermissionRej']?this[_0x4ef455(0x248)][_0x4ef455(0x328)]({'id':se[_0x4ef455(0x154)]}):this[_0x4ef455(0x248)][_0x4ef455(0x328)]({'id':se['CONFLICT']});}[_0x2b909d(0x1cd)](){var _0x512d1f=_0x2b909d;this[_0x512d1f(0x31b)]['updatePermissionPoint'](new _0x283c51(this[_0x512d1f(0x210)])['id'],!0x1);}};de=Re([A(0x6,_0x810bfa(_0x31e5b9)),A(0x7,_0x30d4d0),A(0x8,_0x19e773),A(0x9,_0x810bfa(_0x548040)),A(0xa,_0x810bfa(_0x4943c2)),A(0xb,_0x810bfa(pe)),A(0xc,_0x576a69(J))],de);let fe=class extends be{constructor(_0x13fef7,_0x5a44db,_0x4d74c4,_0x5316f3,_0x381f8c,_0x5e0759,_0x4153e2,_0x4173c8,_0x13fc7a,_0x5db6ad){var _0x5ca888=_0x2b909d;super(_0x13fef7,_0x5a44db,_0x4d74c4,_0x5316f3,_0x381f8c,_0x4173c8,_0x13fc7a,_0x4153e2,_0x5db6ad),N(this,_0x5ca888(0x1cc),_0x5ca888(0x1c2)),this['_injector']=_0x5e0759;}['appendMutation'](_0x14b7e3){var _0xd18591=_0x2b909d;return this[_0xd18591(0x1fe)][_0xd18591(0x276)](_0x14b7e3),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x75c55b){var _0x259348=_0x2b909d;throw new Error(_0x259348(0x15d));}[_0x2b909d(0x137)](){var _0x4a5b7a=_0x2b909d;throw new Error(_0x4a5b7a(0x148));}[_0x2b909d(0x1b8)](){var _0x43ecba=_0x2b909d;throw new Error(_0x43ecba(0x218));}[_0x2b909d(0x2f9)](){return this;}[_0x2b909d(0x1a6)](){return this;}[_0x2b909d(0x397)](){var _0x399179=_0x2b909d;const {_injector:_0x4a186a,_pendingMutations:_0x38df20,_awaitingChangeset:_0x239827,unitID:_0x3ba83a,_handler:_0x443f9e,type:_0x544f4d}=this,_0x36145f=Di(_0x4a186a,_0x3ba83a,_0x544f4d,_0x239827,_0x38df20,_0x443f9e);return _0x36145f instanceof oe?_0x36145f[_0x399179(0x307)]():(_0x36145f instanceof ae||_0x36145f instanceof ue)&&_0x36145f[_0x399179(0xfc)](),_0x36145f;}['resend'](){var _0x4c3c4a=_0x2b909d;throw new Error(_0x4c3c4a(0x2af));}};fe=Re([A(0x5,_0x810bfa(_0x4720a8)),A(0x6,_0x810bfa(_0x548040)),A(0x7,_0x30d4d0),A(0x8,_0x19e773),A(0x9,_0x576a69(J))],fe);let te=class extends be{constructor(_0x3ce7bf,_0x676595,_0x4e4d88,_0x182b02,_0x8cff63,_0xb55caf,_0x8e616,_0x483fbc,_0x24f33d,_0x7f56f6,_0x506575,_0x5614bb,_0x2630e0,_0x1083da){var _0x54f13b=_0x2b909d;super(_0x3ce7bf,_0x676595,_0x4e4d88,_0x182b02,_0x8e616,_0x506575,_0x5614bb,_0x24f33d,_0x1083da),N(this,_0x54f13b(0x1cc),_0x54f13b(0x1b6)),(this[_0x54f13b(0x16c)]=_0x8cff63,this[_0x54f13b(0x19a)]=_0xb55caf,this['_injector']=_0x483fbc,this[_0x54f13b(0x2dd)]=_0x7f56f6,this['_transformService']=_0x2630e0,this[_0x54f13b(0x36c)]=_0x1083da);}[_0x2b909d(0x300)](_0x1111ed){var _0x5bfa1d=_0x2b909d;try{const _0x2d640e=[..._0x1111ed,...this[_0x5bfa1d(0x19a)]],_0xe472b8=[this[_0x5bfa1d(0x263)]||this[_0x5bfa1d(0x16c)]]['filter'](_0x2127db=>!!_0x2127db);let _0x162afc,_0x594dad;if(_0xe472b8[_0x5bfa1d(0x20b)]){const _0x116214=this[_0x5bfa1d(0x274)][_0x5bfa1d(0x38b)](_0x2d640e,_0xe472b8,!0x1);if(!_0x3796bc(_0x116214))throw _0x116214[_0x5bfa1d(0xba)];_0x162afc=_0x116214[_0x5bfa1d(0x104)],_0x594dad=_0x116214['c2Prime'];}else _0x162afc=_0x2d640e,_0x594dad=[];let _0x26d0d3=this[_0x5bfa1d(0x1fe)];_0x162afc[_0x5bfa1d(0x1ca)](_0x661a7e=>{var _0x3223aa=_0x5bfa1d;let _0x541558;if(_0x26d0d3[_0x3223aa(0x20b)]){const _0x2dc032=this[_0x3223aa(0x274)]['transformMutationsWithChangeset'](_0x661a7e,_0x26d0d3);if(!_0x86d2f8(_0x2dc032))throw _0x2dc032[_0x3223aa(0xba)];_0x541558=_0x2dc032['c1Prime'],_0x26d0d3=_0x2dc032[_0x3223aa(0x1c3)];}else _0x541558=_0x661a7e;this[_0x3223aa(0x30f)](_0x541558);}),this[_0x5bfa1d(0x16c)]&&this[_0x5bfa1d(0x1ae)](),this[_0x5bfa1d(0x263)]&&_0x594dad[_0x5bfa1d(0x20b)]&&(_0x594dad[0x0]['baseRev']=this[_0x5bfa1d(0x2fe)]());let _0x549b50;if(this['_awaitingChangeset']&&_0x26d0d3['length']!==0x0)_0x549b50=this[_0x5bfa1d(0x3a2)][_0x5bfa1d(0x129)](ae,this[_0x5bfa1d(0x210)],this['type'],_0x594dad[0x0],_0x26d0d3,this[_0x5bfa1d(0x20c)],void 0x0);else{if(this[_0x5bfa1d(0x263)]&&_0x26d0d3[_0x5bfa1d(0x20b)]===0x0)_0x594dad[0x0][_0x5bfa1d(0x15c)]=this[_0x5bfa1d(0x2fe)](),_0x549b50=this[_0x5bfa1d(0x3a2)]['createInstance'](ue,this['unitID'],this[_0x5bfa1d(0x32a)],_0x594dad[0x0],this[_0x5bfa1d(0x20c)]);else{if(_0x26d0d3[_0x5bfa1d(0x20b)]!==0x0){const _0x2957c9=this[_0x5bfa1d(0x3a2)]['createInstance'](oe,this[_0x5bfa1d(0x210)],this[_0x5bfa1d(0x32a)],_0x26d0d3,this[_0x5bfa1d(0x20c)]);_0x2957c9['_schedule'](),_0x549b50=_0x2957c9;}else _0x549b50=this[_0x5bfa1d(0x3a2)][_0x5bfa1d(0x129)](De,this[_0x5bfa1d(0x210)],this[_0x5bfa1d(0x32a)],this[_0x5bfa1d(0x20c)]);}}return _0x549b50[_0x5bfa1d(0x2a1)](),_0x549b50;}catch(_0x1876c5){return this[_0x5bfa1d(0x2dd)][_0x5bfa1d(0xba)]('[FetchMissState]',_0x5bfa1d(0x37a),_0x1876c5),this['_injector'][_0x5bfa1d(0x129)](de,this[_0x5bfa1d(0x210)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x2b909d(0xfc)](){var _0x39c633=_0x2b909d;throw new Error(_0x39c633(0x352));}['appendMutation'](_0x38e35f){var _0x53bd91=_0x2b909d;return this[_0x53bd91(0x1fe)][_0x53bd91(0x276)](_0x38e35f),this;}[_0x2b909d(0x245)](_0x15df7c){var _0x51ddb4=_0x2b909d;return this[_0x51ddb4(0x19a)][_0x51ddb4(0x276)](_0x15df7c),this;}[_0x2b909d(0x137)](_0x17bde7){var _0x3542c7=_0x2b909d;if(this[_0x3542c7(0x263)])return this[_0x3542c7(0x16c)]=this['_awaitingChangeset'],this[_0x3542c7(0x263)]=null,this;throw new Error(_0x3542c7(0x369));}[_0x2b909d(0x1b8)](_0x17a9d4){return this['_onConflict'](!!(_0x17a9d4!=null&&_0x17a9d4['isPermissionRej']));}[_0x2b909d(0x2f9)](){return this;}[_0x2b909d(0x1a6)](){var _0x5e335c=_0x2b909d;return this['_injector']['createInstance'](fe,this[_0x5e335c(0x210)],this[_0x5e335c(0x32a)],this['_awaitingChangeset'],this[_0x5e335c(0x1fe)],this['_handler']);}[_0x2b909d(0x397)](){return this;}[_0x2b909d(0x150)](_0x253be4){var _0x3b0b3e=_0x2b909d;return this[_0x3b0b3e(0x3a2)][_0x3b0b3e(0x129)](de,this[_0x3b0b3e(0x210)],this['type'],this[_0x3b0b3e(0x263)],this['_pendingMutations'],this['_handler'],_0x253be4);}};te=Re([A(0x7,_0x810bfa(_0x4720a8)),A(0x8,_0x810bfa(_0x548040)),A(0x9,_0x3b937c),A(0xa,_0x30d4d0),A(0xb,_0x19e773),A(0xc,_0xf23314),A(0xd,_0x576a69(J))],te);function Di(_0x238055,_0x53952a,_0x1a0405,_0x30f53e,_0x36dd02,_0x37a608){var _0x5870b4=_0x2b909d;return _0x30f53e&&_0x36dd02[_0x5870b4(0x20b)]?_0x238055[_0x5870b4(0x129)](ae,_0x53952a,_0x1a0405,_0x30f53e,_0x36dd02,_0x37a608,void 0x0):_0x30f53e?_0x238055[_0x5870b4(0x129)](ue,_0x53952a,_0x1a0405,_0x30f53e,_0x37a608):_0x36dd02[_0x5870b4(0x20b)]?_0x238055[_0x5870b4(0x129)](oe,_0x53952a,_0x1a0405,_0x36dd02,_0x37a608):_0x238055[_0x5870b4(0x129)](De,_0x53952a,_0x1a0405,_0x37a608);}var vr=Object[_0x2b909d(0xb6)],pr=Object[_0x2b909d(0x2fa)],Lt=(_0x292157,_0x40e40a,_0x76a009,_0xafa3a0)=>{var _0x47630e=_0x2b909d;for(var _0x32bc6f=_0xafa3a0>0x1?void 0x0:_0xafa3a0?pr(_0x40e40a,_0x76a009):_0x40e40a,_0x13d824=_0x292157[_0x47630e(0x20b)]-0x1,_0xc15612;_0x13d824>=0x0;_0x13d824--)(_0xc15612=_0x292157[_0x13d824])&&(_0x32bc6f=(_0xafa3a0?_0xc15612(_0x40e40a,_0x76a009,_0x32bc6f):_0xc15612(_0x32bc6f))||_0x32bc6f);return _0xafa3a0&&_0x32bc6f&&vr(_0x40e40a,_0x76a009,_0x32bc6f),_0x32bc6f;},k=(_0x7d0569,_0x1c0df2)=>(_0x3e0e5b,_0x36a873)=>_0x1c0df2(_0x3e0e5b,_0x36a873,_0x7d0569);let nt=class extends _0x5a208c{constructor(_0x4d31e6,_0x2162f7,_0x203bb2,_0x57fcac,_0x37c143,_0x5be43e,_0x9e672,_0x3a7970,_0x1aab3b,_0x304649,_0x1210c6,_0x380c83,_0x4f5a9c){var _0x830143=_0x2b909d;super(),N(this,_0x830143(0x331),new _0x167a8f(null)),N(this,'state$',this[_0x830143(0x331)][_0x830143(0x257)]()),N(this,'_state'),N(this,_0x830143(0x322),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x830143(0x18e),this[_0x830143(0x386)][_0x830143(0x29a)](_0x2eca2f(_0x17f136=>_0x17f136?_0x17f136[_0x830143(0x1cc)]:yi[_0x830143(0x2a6)]),_0xdd3eeb(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x830143(0x31e),[]),(this['unitID']=_0x4d31e6,this['session']=_0x2162f7,this['_type']=_0x203bb2,this[_0x830143(0x3a2)]=_0x57fcac,this[_0x830143(0x3a1)]=_0x37c143,this[_0x830143(0xa6)]=_0x5be43e,this[_0x830143(0x31a)]=_0x9e672,this[_0x830143(0x127)]=_0x3a7970,this['_logService']=_0x1aab3b,this[_0x830143(0x33e)]=_0x304649,this[_0x830143(0x31b)]=_0x1210c6,this['_singleActiveUnitService']=_0x380c83,this[_0x830143(0x196)]=_0x4f5a9c);}get['state'](){var _0xd1c194=_0x2b909d;return this[_0xd1c194(0x315)];}async['init'](){var _0x1eb952=_0x2b909d;if(this['state'])throw new Error(_0x1eb952(0x347));await this[_0x1eb952(0x256)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x10312e(()=>{var _0x320d4b=_0x9ebb;this[_0x320d4b(0x322)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2b909d(0xb5)](_0x40aed2){var _0x337914=_0x2b909d;this[_0x337914(0x2f7)](_0x40aed2);}[_0x2b909d(0x199)](_0x4de0b3){var _0x245436=_0x2b909d;this['_state']=_0x4de0b3,this['_state$'][_0x245436(0x1dc)](_0x4de0b3);}async[_0x2b909d(0x256)](){var _0x667f53=_0x2b909d,_0x49904;this[_0x667f53(0x199)](await this[_0x667f53(0x37e)]()),this[_0x667f53(0x30c)]&&((_0x49904=this[_0x667f53(0x30c)])==null||_0x49904[_0x667f53(0x325)](this[_0x667f53(0x210)]),this[_0x667f53(0x1e8)](this['_singleActiveUnitService'][_0x667f53(0x275)](this['unitID'])[_0x667f53(0x2d4)](_0x434884=>{var _0x5c8d35=_0x667f53;this[_0x5c8d35(0x2dd)][_0x5c8d35(0x252)](_0x5c8d35(0x204),_0x5c8d35(0x2fd),_0x434884),_0x434884===bi['OTHER_CLIENTS_EDITING']?(this[_0x5c8d35(0x127)][_0x5c8d35(0x328)]({'id':se[_0x5c8d35(0x269)]}),this['_permissionService'][_0x5c8d35(0x11e)](new _0x283c51(this['unitID'])['id'],!0x1),this[_0x5c8d35(0x31b)][_0x5c8d35(0x207)](!0x1)):(this[_0x5c8d35(0x31b)][_0x5c8d35(0x11e)](new _0x283c51(this[_0x5c8d35(0x210)])['id'],!0x0),this[_0x5c8d35(0x31b)][_0x5c8d35(0x207)](!0x0));})));let _0x2a8d41=!0x1;return this[_0x667f53(0x1e8)](this['session'][_0x667f53(0xbc)][_0x667f53(0x2d4)](_0xe63dac=>{var _0x5145b6=_0x667f53;_0xe63dac===Te['ONLINE']?this[_0x5145b6(0x389)](_0x2a8d41):_0xe63dac===Te[_0x5145b6(0x2a6)]&&(_0x2a8d41=!0x0,this[_0x5145b6(0x385)]());})),this[_0x667f53(0x1e8)](this[_0x667f53(0x143)][_0x667f53(0x2ef)][_0x667f53(0x2d4)](_0x3bc673=>{var _0x29fd2c=_0x667f53;try{switch(_0x3bc673[_0x29fd2c(0x35b)]){case _0x1ad9e6[_0x29fd2c(0x30e)]:{this[_0x29fd2c(0x359)](_0x5cb3ff(_0x3bc673[_0x29fd2c(0x1f3)]));break;}case _0x1ad9e6[_0x29fd2c(0x240)]:{this[_0x29fd2c(0x2e5)](_0x3bc673[_0x29fd2c(0x1f3)]);break;}case _0x1ad9e6[_0x29fd2c(0x194)]:{this['_onRemoteRejected']();break;}case _0x1ad9e6['CHANGESET_SHOULD_RETRY']:{this[_0x29fd2c(0x373)](_0x3bc673['data']);break;}case _0x1ad9e6['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x29fd2c(0x19e)](_0x3bc673['data'][_0x29fd2c(0x142)][_0x29fd2c(0x147)](_0x90f0e=>_0x5cb3ff(_0x90f0e)));break;}case _0x1ad9e6[_0x29fd2c(0x198)]:{this[_0x29fd2c(0x149)]({'isPermissionRej':!0x0});break;}case _0x1ad9e6[_0x29fd2c(0x25f)]:break;}}catch(_0x5161ac){throw console[_0x29fd2c(0xba)]('Error\x20on\x20receiving\x20event',_0x5161ac),_0x5161ac;}})),this[_0x667f53(0x315)];}['_unlockTransition'](){var _0x1f01d5=_0x2b909d;this[_0x1f01d5(0x2f6)]=!0x1;}[_0x2b909d(0x233)](){var _0x55ec55=_0x2b909d;if(this[_0x55ec55(0x2f6)])throw new Error(_0x55ec55(0x255));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x226a82){var _0x778d34=_0x2b909d;this[_0x778d34(0x233)](),this[_0x778d34(0x199)](this[_0x778d34(0x315)][_0x778d34(0x39e)](_0x226a82)),this[_0x778d34(0xf2)]();}[_0x2b909d(0x359)](_0x2b4e88){var _0x137ead=_0x2b909d;if(!(_0x2b4e88[_0x137ead(0xde)]<=this[_0x137ead(0x31a)][_0x137ead(0x13b)](this['unitID']))){if(this[_0x137ead(0x322)]){this[_0x137ead(0x31e)][_0x137ead(0x276)](_0x2b4e88);return;}this[_0x137ead(0xe8)](_0x2b4e88);}}[_0x2b909d(0x381)](){var _0x4a4a6c=_0x2b909d;this['_remoteChangesetQueue'][_0x4a4a6c(0x1ca)](_0x19237d=>this[_0x4a4a6c(0xe8)](_0x19237d)),this[_0x4a4a6c(0x31e)]=[];}[_0x2b909d(0xe8)](_0x1c085d){var _0xa46155=_0x2b909d;const _0x5afe50=this['_compressMutationService'][_0xa46155(0x132)][_0xa46155(0x2c0)](this[_0xa46155(0x3a1)][_0xa46155(0x132)][_0xa46155(0x324)]()['COMPRESS_MUTATION_APPLY'])(_0x1c085d[_0xa46155(0xd0)],null)||_0x1c085d[_0xa46155(0xd0)],_0x40f89e={..._0x1c085d,'mutations':_0x5afe50};this[_0xa46155(0x233)](),this[_0xa46155(0x199)](this[_0xa46155(0x315)][_0xa46155(0x245)](_0x40f89e)),this['_unlockTransition']();}[_0x2b909d(0x2e5)](_0x30ccd2){var _0x33e3d9=_0x2b909d;this[_0x33e3d9(0x233)](),this['_updateState'](this[_0x33e3d9(0x315)][_0x33e3d9(0x137)](_0x30ccd2)),this['_unlockTransition']();}[_0x2b909d(0x149)](_0x49bd03){var _0x47c78b=_0x2b909d;this[_0x47c78b(0x233)](),this[_0x47c78b(0x199)](this[_0x47c78b(0x315)][_0x47c78b(0x1b8)](_0x49bd03)),this['_unlockTransition']();}[_0x2b909d(0x373)](_0x12fc42){var _0x438bde=_0x2b909d;this['_lockTransition'](),this[_0x438bde(0x199)](this[_0x438bde(0x315)][_0x438bde(0x2f9)](_0x12fc42)),this[_0x438bde(0xf2)]();}[_0x2b909d(0x19e)](_0x45231a){var _0x3d4f3d=_0x2b909d;if(!(this[_0x3d4f3d(0x315)]instanceof te))throw new TypeError(_0x3d4f3d(0x175));const _0x1d5353=_0x45231a[_0x3d4f3d(0x147)](_0x3f25db=>{var _0x1fd555=_0x3d4f3d;const _0x556aa5=this[_0x1fd555(0x3a1)][_0x1fd555(0x132)][_0x1fd555(0x2c0)](this[_0x1fd555(0x3a1)][_0x1fd555(0x132)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x3f25db[_0x1fd555(0xd0)],null)||_0x3f25db[_0x1fd555(0xd0)];return{..._0x3f25db,'mutations':_0x556aa5};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x3d4f3d(0x300)](_0x1d5353)),this[_0x3d4f3d(0xf2)]();}['_toggleOffline'](){var _0x3064c7=_0x2b909d;this[_0x3064c7(0x233)](),this[_0x3064c7(0x199)](this['_state']['toggleOffline']()),this[_0x3064c7(0xf2)]();}['_toggleOnline'](_0x242374=!0x1){var _0xc4850a=_0x2b909d;this['_lockTransition'](),this['_updateState'](this[_0xc4850a(0x315)][_0xc4850a(0x397)]()),this[_0xc4850a(0xf2)]();const _0x1e12c7=this[_0xc4850a(0x315)];_0x242374&&_0x1e12c7 instanceof De&&(this[_0xc4850a(0x233)](),this[_0xc4850a(0x199)](_0x1e12c7['fetchMiss']()),this[_0xc4850a(0xf2)]());}async[_0x2b909d(0x37e)](){return new Promise(_0x891bc0=>{var _0x49f430=_0x9ebb;this['session'][_0x49f430(0xbc)]['pipe'](_0x55b1a2(0x1))[_0x49f430(0x2d4)](async _0x34dd49=>{var _0x1c8f10=_0x49f430;_0x891bc0(await this[_0x1c8f10(0x287)](_0x34dd49===Te[_0x1c8f10(0x39a)]));});});}[_0x2b909d(0x293)](){var _0x25cd2f=_0x2b909d;const _0x4938c8=this[_0x25cd2f(0x210)];return{'onStateChange':(_0x4e21f7,_0x3baeb6)=>{var _0x92a0be=_0x25cd2f;if(_0x4e21f7!==this[_0x92a0be(0x315)])throw new Error(_0x92a0be(0x10b)+_0x4e21f7[_0x92a0be(0x1cc)]+'\x0aAfter:\x20'+_0x3baeb6[_0x92a0be(0x1cc)]+_0x92a0be(0x345)+this[_0x92a0be(0x315)]['status']);this['_updateState'](_0x3baeb6);},'onSendChangeset':_0x35d2f5=>{var _0x110d04=_0x25cd2f;_0x35d2f5[_0x110d04(0x2dc)]||(_0x35d2f5[_0x110d04(0x2dc)]=this[_0x110d04(0x25e)],_0x35d2f5[_0x110d04(0x14a)]=++this[_0x110d04(0x140)]);const _0x3925eb={'eventID':_0x1ad9e6[_0x110d04(0xd1)],'data':{'unitID':_0x35d2f5[_0x110d04(0x210)],'unitType':this[_0x110d04(0x14b)],'changeset':_0x35d2f5,'memberID':this[_0x110d04(0x143)]['getMemberID']()}};this[_0x110d04(0x143)][_0x110d04(0x280)](_0x3925eb,this[_0x110d04(0x210)]);},'onMissingChangesets':({from:_0x1af3ce,to:_0x592243})=>{var _0x3889e4=_0x25cd2f;this[_0x3889e4(0x2dd)]['debug'](_0x3889e4(0x204),_0x3889e4(0x1a5)+_0x1af3ce+_0x3889e4(0x310)+_0x592243);const _0x369b19={'eventID':_0x1ad9e6['FETCH_MISSING'],'data':{'unitID':_0x4938c8,'unitType':this[_0x3889e4(0x14b)],'from':_0x1af3ce,'to':_0x592243}};this[_0x3889e4(0x143)]['send'](_0x369b19,this[_0x3889e4(0x210)]);}};}async['_createInitialStateImpl'](_0x5992be){var _0x5e45cd=_0x2b909d,_0x563dab,_0x451378,_0x51e626;const _0x283c33=await((_0x563dab=this[_0x5e45cd(0x196)])==null?void 0x0:_0x563dab[_0x5e45cd(0x22b)](this[_0x5e45cd(0x210)])),_0x3a0afc=(_0x451378=_0x283c33==null?void 0x0:_0x283c33['mutations'])!=null?_0x451378:[],_0x1d41a0=(_0x51e626=_0x283c33==null?void 0x0:_0x283c33[_0x5e45cd(0x13a)])!=null?_0x51e626:null,_0x3cb0e0=!!(_0x1d41a0!=null&&_0x1d41a0[_0x5e45cd(0x2dc)])&&!!(_0x1d41a0!=null&&_0x1d41a0[_0x5e45cd(0x14a)]);this['_changesetSessionId']=_0x3cb0e0?_0x1d41a0[_0x5e45cd(0x2dc)]:sr(),this[_0x5e45cd(0x140)]=_0x3cb0e0?_0x1d41a0[_0x5e45cd(0x14a)]:0x0;const _0x3f4b2b=this[_0x5e45cd(0x210)];try{this['_replayCachedMutations'](_0x1d41a0,_0x3a0afc);}catch(_0x32575f){this['_logService'][_0x5e45cd(0xba)](_0x32575f);}const _0x1e9bee=this['_createHandler']();if(_0x5992be){const _0x3908b2=Di(this[_0x5e45cd(0x3a2)],_0x3f4b2b,this['_type'],_0x1d41a0,_0x3a0afc,_0x1e9bee);return _0x3908b2 instanceof oe?_0x3908b2['_schedule']():(_0x3908b2 instanceof ae||_0x3908b2 instanceof ue)&&_0x3908b2['resend'](),_0x3908b2;}return this[_0x5e45cd(0x3a2)][_0x5e45cd(0x129)](fe,_0x3f4b2b,this[_0x5e45cd(0x14b)],_0x1d41a0,_0x3a0afc,_0x1e9bee);}['_replayCachedMutations'](_0x353932,_0x398ec1){var _0x371a2f=_0x2b909d,_0x466fa2,_0x500e26;const _0x5dd3e1=this[_0x371a2f(0x3a1)][_0x371a2f(0x132)][_0x371a2f(0x2c0)](this['_compressMutationService']['interceptor'][_0x371a2f(0x324)]()['COMPRESS_MUTATION_APPLY']);(_0x466fa2=_0x5dd3e1((_0x353932==null?void 0x0:_0x353932[_0x371a2f(0xd0)])||[],null))==null||_0x466fa2['forEach'](_0x46c882=>this['_commandService'][_0x371a2f(0x247)](_0x46c882['id'],_0x46c882['params'])),(_0x500e26=_0x5dd3e1(_0x398ec1||[],null))==null||_0x500e26[_0x371a2f(0x1ca)](_0x4fa3e8=>this[_0x371a2f(0x33e)][_0x371a2f(0x247)](_0x4fa3e8['id'],_0x4fa3e8[_0x371a2f(0x12f)]));}};nt=Lt([k(0x3,_0x810bfa(_0x4720a8)),k(0x4,_0x810bfa(_0x227905)),k(0x5,_0x810bfa(_0x4943c2)),k(0x6,_0x810bfa(_0x548040)),k(0x7,_0x810bfa(pe)),k(0x8,_0x3b937c),k(0x9,_0x30d4d0),k(0xa,_0x31e5b9),k(0xb,_0x576a69(ht)),k(0xc,_0x576a69(J))],nt);let Tt=class extends nt{constructor(_0x495e67,_0x39f4a9,_0x23a1c2,_0x1b9429,_0x3ededa,_0x47c696,_0x4073ab,_0xcb8184,_0x5f4f77,_0x26a216,_0x53067b,_0x440f84,_0x4f6363){var _0x50bc82=_0x2b909d;super(_0x495e67,_0x23a1c2,_0x39f4a9,_0x1b9429,_0x3ededa,_0x47c696,_0x4073ab,_0xcb8184,_0x5f4f77,_0x26a216,_0x53067b,_0x440f84,_0x4f6363),N(this,'_handlerCallback',null),(this[_0x50bc82(0x210)]=_0x495e67,this['type']=_0x39f4a9);}['addHandlerCallback'](_0x35c47b){this['_handlerCallback']=_0x35c47b;}[_0x2b909d(0xaf)](){var _0x10a368=_0x2b909d;this[_0x10a368(0x1bf)]=null,super['dispose']();}[_0x2b909d(0x293)](){var _0x3ee984=_0x2b909d;const _0x4f978b=super[_0x3ee984(0x293)]();return _0x4f978b['onTransformIME']=_0x48c982=>{var _0x31e83f=_0x3ee984,_0x278122,_0x2d762c;return(_0x2d762c=(_0x278122=this['_handlerCallback'])==null?void 0x0:_0x278122[_0x31e83f(0x29b)])==null?void 0x0:_0x2d762c[_0x31e83f(0x33f)](_0x278122,_0x48c982);},_0x4f978b[_0x3ee984(0x26b)]=_0x5ba57c=>{var _0x3f41d2=_0x3ee984,_0x2c78fd,_0x24dd6b;return(_0x24dd6b=(_0x2c78fd=this['_handlerCallback'])==null?void 0x0:_0x2c78fd['onTransformState'])==null?void 0x0:_0x24dd6b[_0x3f41d2(0x33f)](_0x2c78fd,_0x5ba57c);},_0x4f978b[_0x3ee984(0x32e)]=_0x2bc019=>{var _0x1e9c42=_0x3ee984,_0x26ac8e,_0x36bce3;return(_0x36bce3=(_0x26ac8e=this[_0x1e9c42(0x1bf)])==null?void 0x0:_0x26ac8e[_0x1e9c42(0x32e)])==null?void 0x0:_0x36bce3[_0x1e9c42(0x33f)](_0x26ac8e,_0x2bc019);},_0x4f978b[_0x3ee984(0x399)]=_0x2cfdfb=>{var _0x23fb32=_0x3ee984,_0x31d234,_0x3a7f2f;return(_0x3a7f2f=(_0x31d234=this[_0x23fb32(0x1bf)])==null?void 0x0:_0x31d234[_0x23fb32(0x399)])==null?void 0x0:_0x3a7f2f[_0x23fb32(0x33f)](_0x31d234,_0x2cfdfb);},_0x4f978b[_0x3ee984(0x17f)]=_0x24a534=>{var _0x2bafa3=_0x3ee984,_0x1d9efa,_0x577d76,_0x1e4999;if(!((_0x1d9efa=this[_0x2bafa3(0x1bf)])!=null&&_0x1d9efa[_0x2bafa3(0x17f)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1e4999=(_0x577d76=this[_0x2bafa3(0x1bf)])==null?void 0x0:_0x577d76[_0x2bafa3(0x17f)])==null?void 0x0:_0x1e4999['call'](_0x577d76,_0x24a534);},_0x4f978b[_0x3ee984(0x1d8)]=_0xc2f45a=>{var _0x447d5a=_0x3ee984,_0x339d67,_0xb3e646,_0x26c8a1;if(!((_0x339d67=this[_0x447d5a(0x1bf)])!=null&&_0x339d67['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x26c8a1=(_0xb3e646=this['_handlerCallback'])==null?void 0x0:_0xb3e646[_0x447d5a(0x1d8)])==null?void 0x0:_0x26c8a1[_0x447d5a(0x33f)](_0xb3e646,_0xc2f45a);},_0x4f978b;}async[_0x2b909d(0x256)](){var _0x5a6aec=_0x2b909d;const _0x5a7d44=await super[_0x5a6aec(0x256)]();return this['disposeWithMe'](this[_0x5a6aec(0x33e)][_0x5a6aec(0xf9)]((_0x19c766,_0x518561)=>{var _0x2a9525=_0x5a6aec;if(_0x19c766[_0x2a9525(0x32a)]!==_0x5e43db[_0x2a9525(0x15e)]||_0x518561!=null&&_0x518561[_0x2a9525(0x173)]||_0x518561!=null&&_0x518561[_0x2a9525(0x295)]||_0x19c766['id']===_0x1bf2f0['id'])return;const _0xe29416=_0x19c766[_0x2a9525(0x12f)];if((_0xe29416==null?void 0x0:_0xe29416[_0x2a9525(0x375)])!==this[_0x2a9525(0x210)])return;const _0x985958=_0x19c766,_0x450d9b=this[_0x2a9525(0x3a1)][_0x2a9525(0x132)][_0x2a9525(0x2c0)](this[_0x2a9525(0x3a1)][_0x2a9525(0x132)]['getInterceptPoints']()[_0x2a9525(0x33d)])([_0x985958],null)||[_0x985958];this[_0x2a9525(0x2f7)](_0x450d9b[0x0]);})),_0x5a7d44;}};Tt=Lt([k(0x3,_0x810bfa(_0x4720a8)),k(0x4,_0x810bfa(_0x227905)),k(0x5,_0x810bfa(_0x4943c2)),k(0x6,_0x810bfa(_0x548040)),k(0x7,_0x810bfa(pe)),k(0x8,_0x3b937c),k(0x9,_0x30d4d0),k(0xa,_0x31e5b9),k(0xb,_0x576a69(ht)),k(0xc,_0x576a69(J))],Tt);let Ct=class extends nt{constructor(_0x4cc9e7,_0x37ee14,_0x2f4404,_0x39c47b,_0x14691b,_0x2286ba,_0x109c2a,_0x31fbac,_0x1b8cc2,_0x50754b,_0x37d5c1,_0x56b1d5,_0x1b0923,_0x42b2ac){super(_0x4cc9e7,_0x2f4404,_0x37ee14,_0x39c47b,_0x14691b,_0x2286ba,_0x109c2a,_0x1b8cc2,_0x50754b,_0x37d5c1,_0x56b1d5,_0x1b0923,_0x42b2ac),this['unitID']=_0x4cc9e7,this['type']=_0x37ee14,this['_sheetTransformSelectionsService']=_0x31fbac;}[_0x2b909d(0x293)](){var _0x582e35=_0x2b909d;const _0x328485=super['_createHandler']();return _0x328485['onTransformSelections']=_0x2a7061=>this[_0x582e35(0x102)][_0x582e35(0x312)](_0x2a7061),_0x328485;}async[_0x2b909d(0x256)](){var _0x569a16=_0x2b909d;const _0x2dadb0=await super[_0x569a16(0x256)]();return this[_0x569a16(0x1e8)](this[_0x569a16(0x33e)][_0x569a16(0xf9)]((_0xe31b51,_0x2e6f7c)=>{var _0x2b2d72=_0x569a16;if(_0xe31b51[_0x2b2d72(0x32a)]!==_0x5e43db[_0x2b2d72(0x15e)]||_0x2e6f7c!=null&&_0x2e6f7c[_0x2b2d72(0x173)]||_0x2e6f7c!=null&&_0x2e6f7c[_0x2b2d72(0x295)])return;const _0x16ff80=_0xe31b51['params'];if((_0x16ff80==null?void 0x0:_0x16ff80[_0x2b2d72(0x375)])!==this[_0x2b2d72(0x210)])return;const _0x36491e=_0xe31b51,_0x325187=this['_compressMutationService'][_0x2b2d72(0x132)]['fetchThroughInterceptors'](this[_0x2b2d72(0x3a1)]['interceptor'][_0x2b2d72(0x324)]()[_0x2b2d72(0x33d)])([_0x36491e],null)||[_0x36491e];this[_0x2b2d72(0x2f7)](_0x325187[0x0]);})),_0x2dadb0;}};Ct=Lt([k(0x3,_0x810bfa(_0x4720a8)),k(0x4,_0x810bfa(_0x227905)),k(0x5,_0x810bfa(_0x4943c2)),k(0x6,_0x810bfa(_0x548040)),k(0x7,_0x810bfa(it)),k(0x8,_0x810bfa(pe)),k(0x9,_0x3b937c),k(0xa,_0x30d4d0),k(0xb,_0x31e5b9),k(0xc,_0x576a69(ht)),k(0xd,_0x576a69(J))],Ct);var mr=Object[_0x2b909d(0xb6)],gr=Object[_0x2b909d(0x2fa)],Sr=(_0x561f3a,_0x221881,_0x10cdf7,_0xcdd252)=>{for(var _0xefa19=_0xcdd252>0x1?void 0x0:_0xcdd252?gr(_0x221881,_0x10cdf7):_0x221881,_0x5f557a=_0x561f3a['length']-0x1,_0x59951c;_0x5f557a>=0x0;_0x5f557a--)(_0x59951c=_0x561f3a[_0x5f557a])&&(_0xefa19=(_0xcdd252?_0x59951c(_0x221881,_0x10cdf7,_0xefa19):_0x59951c(_0xefa19))||_0xefa19);return _0xcdd252&&_0xefa19&&mr(_0x221881,_0x10cdf7,_0xefa19),_0xefa19;},ft=(_0x207824,_0xb7f365)=>(_0x11823f,_0x36f119)=>_0xb7f365(_0x11823f,_0x36f119,_0x207824);let rt=class extends _0x5a208c{constructor(_0x3821f5,_0x3e9c38,_0x450d76){var _0x2bf54a=_0x2b909d;super(),N(this,_0x2bf54a(0x151),new Map()),N(this,_0x2bf54a(0x1fa),new _0x558b23()),N(this,'entityInit$',this['_entityInit$']['asObservable']()),(this['_injector']=_0x3821f5,this[_0x2bf54a(0x2ed)]=_0x3e9c38,this[_0x2bf54a(0x297)]=_0x450d76,this[_0x2bf54a(0x256)]());}['dispose'](){var _0x2812fe=_0x2b909d;super[_0x2812fe(0xaf)](),this[_0x2812fe(0x151)][_0x2812fe(0x1ca)](_0x2d4a74=>_0x2d4a74['dispose']()),this['_entities'][_0x2812fe(0x26d)]();}[_0x2b909d(0x209)](_0x59a25d){var _0xa20d43=_0x2b909d,_0x212d1b;return(_0x212d1b=this[_0xa20d43(0x151)]['get'](_0x59a25d))!=null?_0x212d1b:null;}[_0x2b909d(0x272)](_0x427369){var _0x2c7b3b=_0x2b909d;const _0x3a62fc=this[_0x2c7b3b(0x209)](_0x427369);return _0x3a62fc?_0x5b7aa7(_0x3a62fc):this[_0x2c7b3b(0x1fa)][_0x2c7b3b(0x29a)](_0x3d2e9e(_0x20f35d=>_0x20f35d[_0x2c7b3b(0x210)]===_0x427369));}[_0x2b909d(0xf8)](_0x17146c){var _0x248fcf=_0x2b909d;return _0x1d479b(this[_0x248fcf(0x272)](_0x17146c)[_0x248fcf(0x29a)](_0x4df9ea(()=>{})));}['_init'](){var _0x11f589=_0x2b909d;this['_univerInstanceService'][_0x11f589(0x110)](_0x464735['UNIVER_SHEET'])[_0x11f589(0x29a)](_0x56d9b1(this['dispose$']),_0x1d977f(0x10))[_0x11f589(0x2d4)](async _0x47c5ed=>{var _0x7b4a95=_0x11f589;const _0x53f648=_0x47c5ed['getUnitId'](),_0x10e2ca=await this['_startCollaboration'](_0x53f648,Q[_0x7b4a95(0x25c)]);this[_0x7b4a95(0x151)][_0x7b4a95(0xd8)](_0x53f648,_0x10e2ca);}),this[_0x11f589(0x297)]['getTypeOfUnitAdded$'](_0x464735[_0x11f589(0xf1)])['pipe'](_0x56d9b1(this[_0x11f589(0x208)]),_0x1d977f(0x10))[_0x11f589(0x29a)](_0x3d2e9e(_0x37dc5f=>!_0x37dc5f[_0x11f589(0x12e)]()[_0x11f589(0x24a)]('__')))[_0x11f589(0x2d4)](async _0x418a47=>{var _0x52f144=_0x11f589;const _0x2b8ffc=_0x418a47[_0x52f144(0x12e)](),_0x1c4b30=await this[_0x52f144(0x1f2)](_0x2b8ffc,Q[_0x52f144(0xf1)]);this[_0x52f144(0x151)][_0x52f144(0xd8)](_0x2b8ffc,_0x1c4b30);}),_0x44310e(this[_0x11f589(0x297)][_0x11f589(0x16e)](_0x464735[_0x11f589(0x25c)]),this[_0x11f589(0x297)]['getTypeOfUnitDisposed$'](_0x464735[_0x11f589(0xf1)]))[_0x11f589(0x29a)](_0x56d9b1(this['dispose$']))[_0x11f589(0x2d4)](_0x817db9=>{var _0x302149=_0x11f589;const _0x38176f=_0x817db9[_0x302149(0x12e)](),_0x249282=this['_entities'][_0x302149(0xf5)](_0x38176f);_0x249282&&(_0x249282['dispose'](),this[_0x302149(0x151)][_0x302149(0x120)](_0x38176f));});}async[_0x2b909d(0x1f2)](_0x17a65b,_0x111bee){var _0x76bd8c=_0x2b909d;const _0x469198=await this[_0x76bd8c(0x2ed)][_0x76bd8c(0x1fc)](_0x17a65b),_0x143c96=this[_0x76bd8c(0x3a2)][_0x76bd8c(0x129)](this[_0x76bd8c(0x128)](_0x111bee),_0x17a65b,_0x111bee,_0x469198);return await _0x143c96['init'](),this[_0x76bd8c(0x1fa)]['next'](_0x143c96),_0x143c96;}[_0x2b909d(0x128)](_0x644c02){var _0xe146b6=_0x2b909d;switch(_0x644c02){case Q['UNIVER_DOC']:return Tt;case Q[_0xe146b6(0x25c)]:return Ct;default:throw new Error(_0xe146b6(0x15f)+_0x644c02);}}};rt=Sr([ft(0x0,_0x810bfa(_0x4720a8)),ft(0x1,_0x810bfa(Le)),ft(0x2,_0x3d1ff0)],rt);var Er=Object[_0x2b909d(0xb6)],Ir=Object[_0x2b909d(0x2fa)],Tr=(_0x170803,_0x580559,_0x2c4df2,_0x129f12)=>{var _0x48994c=_0x2b909d;for(var _0x1f7142=_0x129f12>0x1?void 0x0:_0x129f12?Ir(_0x580559,_0x2c4df2):_0x580559,_0x2d6941=_0x170803[_0x48994c(0x20b)]-0x1,_0x2bcc52;_0x2d6941>=0x0;_0x2d6941--)(_0x2bcc52=_0x170803[_0x2d6941])&&(_0x1f7142=(_0x129f12?_0x2bcc52(_0x580559,_0x2c4df2,_0x1f7142):_0x2bcc52(_0x1f7142))||_0x1f7142);return _0x129f12&&_0x1f7142&&Er(_0x580559,_0x2c4df2,_0x1f7142),_0x1f7142;},Jt=(_0x3c560c,_0x37ad1f)=>(_0x13faae,_0x414d21)=>_0x37ad1f(_0x13faae,_0x414d21,_0x3c560c);const Cr=_0x2b909d(0xc0),Rr='Univer';function _0x10d7(){var _0x286d43=['_onUserLeave','[DataLoaderService]','[CollaborationSession]','_listenToNetworkCondition','rng','IDLE','NOT_FOUND','_members','objectActions','SNAPSHOT_URL_KEY','SOCKET_FAILED_RETRY','COMPRESS_MUTATION_SEND','_commandService','call','_parse','enableSingleActiveInstanceLock','Base','unit-cache-','ivSize','\x0aCurrent:\x20','_substituteRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_roomCreated$','FAIL','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','subject','create','_doProcessBlock','error$','univer-pro.collaboration-client-socket-service','hostname','src','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/file/{fileID}/sign-url','_emitMembers','listCollaborators','_submitChangeset','sessionStatus','_clearHeartbeatTimer','_onRemoteChangeset','target','eventID','RECV','_onConnectionFailed','MD5','_commentUpdate$','_key','objectID','SerializableCipher','FETCH_MISSING','FETCH_MISS','_loadDoc','awaiting','prototype','runId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ERROR_IMAGE_TYPE','onMissingChangesets','localCacheService','NoPadding','BlockCipher','string','INVALID_ARGUMENT','enableAuthServer','save\x20fail\x20reason\x20is\x20','_onRemoteRetry','clone','unitId','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','complete','UNAUTHENTICATED','isPermissionRej','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentUser','capture','_hash','_createInitialState','unsubscribe','getUnitOnRev','_exhaustRemoteChangesetQueue','_getSessionTicket','requestParams','JOIN_ROOM_PERMISSION_DENIED','_toggleOffline','state$','conflict','/block/','_toggleOnline','cfg','transformChangesets','/allowed','loadDoc','_snapshotServerService','JOIN_ROOM_FAILED','userID','1988595KTdbCI','repeat','UPDATE_PERMISSION_OBJ','_waitForHeartbeatResponse','POST','/rev/','toggleOnline','_unitID','onSyncEditingCollabCursor','ONLINE','origin','_initCloseConn','_onRecvEvent','appendMutation','retryConnectingInterval','APPLY_REVISION_CONFILICT','_compressMutationService','_injector','enc','then','toString','sin','_localeService','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','getUnitType','unpad','_collaborationTimeoutTimer','href','searchParams','_undoStacks','dispose','now','_onOffline','rev','_sender','headers','onLocalMutation','defineProperty','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HELLO','collaMsg','error','patch','sessionStatus$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareOperation','range','DEFAULT_FILE_NAME','exports','LIVESHARE_FETCH_OPERATIONS','[CollaborationSessionService]','msCrypto','COLLAB_SUBMIT_CHANGESET_URL','HmacMD5','Malformed\x20UTF-8\x20data','MSG_FOR_ERROR','_collaborationSessionService','_roomMembers','_rescheduleHeartbeat','&assign=','byteLength','session.room-full','_networkConditionService','mutations','SUBMIT_CHANGESET','symbol','closeSession','&to=','setWaitCount','_event$','image/bmp','set','duration','getFocusedUnit','_createHmacHelper','replace','193812rUlmML','revision','commentUpdateEvent','_nRounds','charCodeAt','LIVESHARE_TERMINATE','hasher','signUrlServerUrl','sendChangesetTimeout','BlockCipherMode','algo','_applyRemoteChangeset','HEARTBEAT','add','APPLY_DUPLICATED','onSendChangeset','getCurrentSelections','roles','saveSheetBlock','_keySchedule','UNIVER_DOC','_unlockTransition','60HcAXdF','_socketService','get','WordArray','location','readyForCollab','onCommandExecuted','removeMember','_getLoginPath','resend','transformMutationsWithChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','1599111AHrbNM','deepClone','collaborators','_sheetTransformSelectionsService','getDeserializedSheetBlock','c1Prime','_resendTimeout','_scheduleCollaborationTimeoutTimer','_getAPIPrefix','_resendTimer','LEAVE','override','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearScheduledTask','OTHER_CLIENTS_EDITING','_retryCount','getAllMembers','getTypeOfUnitAdded$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','name','LIVESHARE_NEW_HOST','fromCharCode','UNIVER_COLLABORATION_CLIENT_PLUGIN','close$','setConfig','url','refreshPermission','csShouldRetryEvent','hasOwnProperty','iterations','reset','updatePermissionPoint','LICENSE_EXPORT_SIZE_EXCEEDED','delete','univer-pro.collaboration-client.network-condition.service','catch','registerHTTPInterceptor','allowed','crypto','x-univer-host','_eventService','_getCtorByUniverType','createInstance','indexOf','_DEC_XFORM_MODE','Cipher','code','getUnitId','params','every','encodeURIComponent','interceptor','collaboration-client.local-cache-service','_getSignURL','_socketReady','copyFileMeta','onRemoteAck','_transformStack','getResourcesRequest','awaitingChangeset','getCurrentRevOfUnit','addImageSourceCache','INGEST','_initRequestHeader','floor','_changesetReqId','HttpExport','changesets','session','YUUMI_URL_COL_OUT_OF_RANGE','_substituteUndoStack','method','map','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteRejected','reqId','_type','_doFinalize','4BjQrgA','_configService','[PendingState]:\x20received\x20rejection.','_onConflict','_entities','stringify','saveImage','PERMISSION_DENIED','?size=','AES','ceil','JOINING','image/jpg','_socketMessageSubscription','_httpService','baseRev','[OfflineState]:\x20received\x20changeset.','MUTATION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UPDATE_CURSOR','readInt32LE','generateRandomId','getSheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','_initDependencies','YUUMI_UNABLE_LOAD_URL','reverse','sheets','_clearCollaborationTimeoutTimer','NOT_COLLAB','/object/','_acknowledgedAwaitingChangeset','USERS_ENTER','getTypeOfUnitDisposed$','ERROR_IMAGE','getSnapshotAPIPath','encryptBlock','reject','fromCollab','_joinRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','randomBytes','getConfig','_telemetryInfo','joinRsp','GLOBAL_ROOMS_CNT_EXCEEDS','keySize','/unit/','UNKNOWN_CODE','ALREADY_EXISTS','onTransformRemoteChangesetByIMECache','title','size','_candidateSocket','__esModule','collabWebSocketUrl','members$','159811ShiraH','_getUndoStack','_transformSelections','YUUMI_RATE_OVER_LIMIT','infoRsp','getTime','getImage','/universer-api/stream/file/upload','status$','/fetchmissing?from=','has','getMemberID','SHOULD_CLOSE_CONN','_transformUndoredo','CHANGESET_REJ','substr','_localCacheService','_commentService','PERMISSION_REJ','_updateState','_queuedRemoteChangesets','_mode','splice','_shouldReportTelemetry','_onFetchMissResult','Utf8','SEND_CHANGESET_TIMEOUT','/role','_checkMissing','ticket','_memberService','fetching\x20missing\x20changesets\x20from\x20','toggleOffline','telemetry\x20info\x20is\x20not\x20initialized','_map','memberID','objectType','LIVESHARE_REQUEST_HOST','createDecryptor','_tryEnsureSocket','_incrementRevisionNumber','_getDownloadEndpointURL','finalize','socket\x20close','textRanges','csRejEvent','BufferedBlockAlgorithm','online$','fetch_missing','JOIN','onRemoteRej','_onCombEvent','SUBMIT_CHANGESET_TIMEOUT','_ENC_XFORM_MODE','session.room-cnt-exceeds','min','SHA1','_handlerCallback','[CollaborationState]:\x20apply\x20error!','_transformRemoteChangesetByIMECache','offline','m2Prime','14908905sfxiUU','resourceIDs','SOCKET_FAILED','_removeRoom','AWAITING','unknown','forEach','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status','_disableEditing','CLOSE_ROOM','_createHelper','loginUrlKey','PERSON','COMPLETION_FINISHED','getMember','_hasher','_sessionStatus$','_config','HttpImport','onTransformRemoteChangesetByStateCache','_sessions','updateOfflineData','responseType','next','Could\x20not\x20dynamically\x20require\x20\x22','formatter','encrypt','toLowerCase','loadUnit','apply','putCollaborators','getRandomValues','authzUrl','setCurrentUser','snapshot','disposeWithMe','compose','update','/universer-api/oidc/authpage','objects','_initMergeInterceptor','result','equals','CBC','join','_startCollaboration','data','members','LICENSE_MAX_UNITS_EXCEEDED','parse','UNRECOGNIZED','HmacSHA1','key','_entityInit$','UNIVER_SLIDE','requireSession','sigBytes','_pendingMutations','/resources','/universer-api/snapshot/','post','updateCursorEvent','leaveEvent','[CollaborationEntity]','initWorkbookPermissionChange','BASE64','setShowComponents','dispose$','getCollabEntity','CHANGESET_SHOULD_RETRY','length','_handler','clamp','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','entries','unitID','4vcKjcq','PY_RUNTIME_SCRIPT_ERROR','image/png','_decreaseWaiting','CONFLICT','open$','_tryReconnect','[OfflineState]:\x20received\x20rejection.','_data','UnitSnapshot','image/gif','from','decrypt','_status$','updatePermissionObjEvent','connection\x20error','294DsegLI','Hasher','SUCCUSS','socket\x20open.','createCollaborator','LOCAL_CACHE_INTERVAL','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_append','UNIVER_PROJECT','workbook','loadOfflineData','APPLY_REJECT','_sendHeartbeat','saveChangeset','Base64','format','_doReset','AUTHZ_URL_KEY','_lockTransition','$super','session.room-not-exists','_snapshotService','liveShareNewHost','lib','close','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_members$','change$','submit\x20changeset\x20error!','getValue','CHANGESET_ACK','_clearTimeoutTimer','_createSocket','_change$','resolve','onRemoteChangeset','EvpKDF','executeCommand','_collaborationUIEventService','pending','startsWith','_telemetryService','isArray','init','randomUUID','PasswordBasedCipher','application/json','_showConflictNotification','debug','pluginName','fetchMiss','[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.','_init','asObservable','cmd','/universer-api/user/session-ticket','_createSocketURL','691432BmOsbP','UNIVER_SHEET','_minBufferSize','_changesetSessionId','UNISCRIPT_RUN','function','loadSheet','includes','_awaitingChangeset','actions','UNDEFINED','_onConnectionOpen','disableLocalCache','_clearUndo','OTHER_CLIENT_EDITING','action','onTransformState','/object','clear','_onMessage','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','_timeoutTimer','getCollabEntity$','JOIN_ROOM_FULL','_transformService','getUnitStatus$','push','max','extend','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Undefined','_stopTelemetryCollaborationNewChangeset','snapshotServerUrl','HEARTBEAT_INTERVAL','2529385VavWDZ','_clearLocalCache','send','_redoStacks','focused$','_onJoinRoomEvent','_onUserJoin','/collaborator','encode','_createInitialStateImpl','fetchMissingChangesets','/-/object/-/batch_allowed','getActiveSheet','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_invKeySchedule','selections','UNIVER_UNKNOWN','OpenSSL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSendChangesetTimeout','execute','_createHandler','abs','onlyLocal','HMAC','_univerInstanceService','_iv','_registerDependencies','pipe','onTransformIME','_startTelemetryCollaborationNewChangeset','CONNECTOR_DATA_TOO_LARGE','transformUndoRedo','random','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateLocalCache','originalMeta','compute','_clearRedo','_sendHeartbeatTimer','OFFLINE','_doCryptBlock','_updateStatus','createEncryptor','collaboration-client.config','[UniverCollaborationClientPlugin]','_initUnitPermissionChange','StreamCipher','mixIn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','\x20-\x20','_socket$','Pkcs7','_undoRedoService','synced','_transformIMECache','batchAllowed','put','_authzIoService','_sendingTimer','TOO_MANY_REQUESTS','_transformRemoteChangesetByStateCache','_nDataBytes','pad','getImageSourceCache','fetchThroughInterceptors','_throwTelemetryCollaborationNewChangeset','/universer-api/uniscript','body','routeKey','LIVESHARE_OPERATION','processBlock','updateMember','padding','auth.needGotoLoginAlert','uniscriptRunEvent','_getUploadFileURL','_reverseMap','stopTime','readAsDataURL','_process','_getRedoStack','LICENSE_DISTRO_REJECTED','decryptBlock','withCredentials','subscribe','_unitInfo$','_HTTPService','joinEvent','USERS_LEAVE','charAt','image/jpeg','_iKey','sid','_logService','\x20in\x20_schedule.','_http','getLatestCsReqIdBySid','_cipher','_resendWithTimeout','session.join-failed','localeService','_onRemoteACK','__creator','NO_OTHER_CLIENTS_EDITING','message$','LOGIN_URL_KEY','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','{fileID}','_collabSessionService','_instanceService','event$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INTERNAL_ERROR','find','_loadSheet','_transformStateCache','[SyncedState]:\x20received\x20rejection.','_transitionLocked','_onLocalMutation','_imageSourceCache','onRemoteRetry','getOwnPropertyDescriptor','transformStack\x20failed!','_socket','editing\x20status\x20changed\x20to','_getCurrentRevision','default','onMissedChangesetFetched','search','_prevBlock','APPLY_PERMISSION_DENIED','_syncEditingCollabCursor','ws://127.0.0.1:8000/universer-api/comb/connect','_retryConnectingTimer','_schedule','newCsEvent','[SyncedState]:\x20received\x20acknowledgement.','[CollaborationUndoRedoService]','Hex','_singleActiveUnitService','HEARTBEAT_TIMEOUT','NEW_CHANGESETS','_executeRemoteChangeset','\x20to\x20','/-/object/list','transformSelections','_scheduleCompleteTimestamp','_keyPriorReset','_state','concat','univer-pro.collaboration-client.single-active-unit-service','_xformMode','onStateChange','_revisionService','_permissionService','words','collaboration_new_changeset','_remoteChangesetQueue','AWAITING_WITH_PENDING','_fetchMissChangesets','awaiting_with_pending','_collaborationPaused','collabSubmitChangesetUrl','getInterceptPoints','editingUnit','slice','waitForRoom$','emitEvent','salt','type','Decryptor','_userManagerService','blockSize','onTransformSelections','mode','_getAPIPrefixPath','_state$'];_0x10d7=function(){return _0x286d43;};return _0x10d7();}let Rt=class extends _0x582864{constructor(_0x5e6f15,_0x477c70){var _0x33196a=_0x2b909d;super(),this[_0x33196a(0x297)]=_0x5e6f15,this[_0x33196a(0x14e)]=_0x477c70,this[_0x33196a(0x256)]();}[_0x2b909d(0x256)](){var _0x35b153=_0x2b909d;this['disposeWithMe'](this[_0x35b153(0x297)][_0x35b153(0x282)]['subscribe'](()=>{var _0x1902e1=_0x35b153,_0x6957fa;const _0x59c11c=this[_0x1902e1(0x297)][_0x1902e1(0xda)]();let _0x64f815=(_0x6957fa=this['_configService'][_0x1902e1(0x177)](Cr))!=null?_0x6957fa:Rr;_0x59c11c instanceof _0x2ae3c6&&(_0x64f815=_0x59c11c[_0x1902e1(0x112)]),document[_0x1902e1(0x180)]=_0x64f815;}));}};Rt=Tr([Jt(0x0,_0x3d1ff0),Jt(0x1,_0x322413)],Rt);var br=Object[_0x2b909d(0xb6)],Or=Object['getOwnPropertyDescriptor'],yr=(_0xebc22d,_0xb82ccb,_0x3b9953,_0x3572f6)=>{var _0x5bd8ed=_0x2b909d;for(var _0x401996=_0x3572f6>0x1?void 0x0:_0x3572f6?Or(_0xb82ccb,_0x3b9953):_0xb82ccb,_0x309556=_0xebc22d[_0x5bd8ed(0x20b)]-0x1,_0x166328;_0x309556>=0x0;_0x309556--)(_0x166328=_0xebc22d[_0x309556])&&(_0x401996=(_0x3572f6?_0x166328(_0xb82ccb,_0x3b9953,_0x401996):_0x166328(_0x401996))||_0x401996);return _0x3572f6&&_0x401996&&br(_0xb82ccb,_0x3b9953,_0x401996),_0x401996;},vt=(_0x499fad,_0x573770)=>(_0x5bb4a1,_0x374d3b)=>_0x573770(_0x5bb4a1,_0x374d3b,_0x499fad);let st=class{constructor(_0x1cc1ec,_0xf26a29,_0x48a222){var _0x160cd2=_0x2b909d;this['_configService']=_0x1cc1ec,this['_httpService']=_0xf26a29,this[_0x160cd2(0x2e4)]=_0x48a222,this[_0x160cd2(0x24d)]();}[_0x2b909d(0x24d)](){var _0x4b328e=_0x2b909d;this[_0x4b328e(0x15b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x489aa8,_0xaa858a)=>_0xaa858a(_0x489aa8)[_0x4b328e(0x29a)](_0x48ffb2(async _0x67cb4f=>{var _0x55f46c=_0x4b328e;const _0x56100a=_0x67cb4f;if(_0x56100a[_0x55f46c(0x1cc)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x55f46c(0x2e4)]['t'](_0x55f46c(0x2c9)))){const _0x2e0bfb=window[_0x55f46c(0x131)](window[_0x55f46c(0xf7)]['href']);window[_0x55f46c(0xf7)][_0x55f46c(0xac)]=this[_0x55f46c(0xfb)]()+'?url='+_0x2e0bfb;}}return _0x56100a;}))});}[_0x2b909d(0xfb)](){var _0x52cbcf=_0x2b909d,_0x321f2f,_0x2f87ca;const _0x2d384e=this[_0x52cbcf(0x14e)][_0x52cbcf(0x177)](xn),_0x4f04b4=this['_configService'][_0x52cbcf(0x177)](q);return(_0x2f87ca=(_0x321f2f=_0x4f04b4==null?void 0x0:_0x4f04b4[_0x52cbcf(0x1d0)])!=null?_0x321f2f:_0x2d384e)!=null?_0x2f87ca:Ln;}};st=yr([vt(0x0,_0x322413),vt(0x1,_0x810bfa(_0x561c6c)),vt(0x2,_0x810bfa(_0x4943c2))],st);var Nr=Object[_0x2b909d(0xb6)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x2263b6,_0x5775cb,_0x41e519,_0x3ff9d4)=>{var _0x2e8b5e=_0x2b909d;for(var _0x51b7ac=_0x3ff9d4>0x1?void 0x0:_0x3ff9d4?Dr(_0x5775cb,_0x41e519):_0x5775cb,_0x40c476=_0x2263b6[_0x2e8b5e(0x20b)]-0x1,_0x157057;_0x40c476>=0x0;_0x40c476--)(_0x157057=_0x2263b6[_0x40c476])&&(_0x51b7ac=(_0x3ff9d4?_0x157057(_0x5775cb,_0x41e519,_0x51b7ac):_0x157057(_0x51b7ac))||_0x51b7ac);return _0x3ff9d4&&_0x51b7ac&&Nr(_0x5775cb,_0x41e519,_0x51b7ac),_0x51b7ac;},Xt=(_0x527e57,_0x3ae177)=>(_0x50e50c,_0x40fbd7)=>_0x3ae177(_0x50e50c,_0x40fbd7,_0x527e57);const Pi=_0x2b909d(0x232),wr='/universer-api/authz';let bt=class extends _0x582864{constructor(_0x485850,_0x8cb36){var _0x3a2736=_0x2b909d;super(),this[_0x3a2736(0x2d6)]=_0x485850,this[_0x3a2736(0x14e)]=_0x8cb36,this[_0x3a2736(0x1ed)]();}[_0x2b909d(0x1ed)](){var _0x46603f=_0x2b909d;const _0x310710=this;this[_0x46603f(0x1e8)](this[_0x46603f(0x2d6)][_0x46603f(0x123)]({'priority':0x3e7,'interceptor':_0x50aa77({'isMatch'(_0x52e6cc){var _0x23090b=_0x46603f,_0xf2c720;if(_0x52e6cc[_0x23090b(0x146)]===_0x23090b(0x395)&&((_0xf2c720=_0x52e6cc[_0x23090b(0x383)])!=null&&_0xf2c720[_0x23090b(0x2c3)])){const {objectID:_0x2411a8,objectType:_0x49379f}=_0x52e6cc['requestParams']['body']||{};if(!_0x2411a8||_0x49379f===void 0x0)return!0x1;const _0x432efb=_0x310710[_0x23090b(0x330)]()+'/'+_0x49379f+_0x23090b(0x16b)+_0x2411a8+_0x23090b(0x38c);if(_0x52e6cc[_0x23090b(0x118)]===_0x432efb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58e8dd){var _0x457dd4=_0x46603f,_0x15867f;return(_0x15867f=_0x58e8dd[_0x457dd4(0x383)])==null?void 0x0:_0x15867f[_0x457dd4(0x2c3)];},'mergeParamsToRequest'(_0x4b40e9,_0x94763){var _0xcab31f=_0x46603f;const _0x5088e7=_0x310710[_0xcab31f(0x330)]()+_0xcab31f(0x289),_0x212748=_0x4b40e9['reduce']((_0x498291,_0x280fd8)=>{var _0x5bf08c=_0xcab31f;const {unitID:_0x271a60,objectID:_0x5bc911,objectType:_0x24de72,actions:_0x2202bc}=_0x280fd8;return _0x498291[_0x271a60]||(_0x498291[_0x271a60]={}),_0x498291[_0x271a60][_0x5bc911]||(_0x498291[_0x271a60][_0x5bc911]={'objectID':_0x5bc911,'objectType':_0x24de72,'actions':[]}),_0x498291[_0x271a60][_0x5bc911][_0x5bf08c(0x264)]['push'](..._0x2202bc),_0x498291;},{}),_0xb951dd=[];for(const _0x4a16d3 in _0x212748)for(const _0x539a0b in _0x212748[_0x4a16d3]){const {actions:_0x55f3b5,objectType:_0x49e85c}=_0x212748[_0x4a16d3][_0x539a0b],_0x17ae3f=[...new Set(_0x55f3b5)];_0xb951dd[_0xcab31f(0x276)]({'unitID':_0x4a16d3,'objectID':_0x539a0b,'objectType':_0x49e85c,'actions':_0x17ae3f});}return new _0xbd0aec('POST',_0x5088e7,{'headers':_0x94763[_0xcab31f(0xb4)],'withCredentials':_0x94763[_0xcab31f(0x2d3)],'responseType':_0x94763[_0xcab31f(0x1db)],'body':{'requests':_0xb951dd}});}},{'distributeResult'(_0x1022fc,_0x4c2799){var _0x47879a=_0x46603f;const {objectActions:_0x1bc0a4}=_0x1022fc;return _0x4c2799[_0x47879a(0x147)](_0x134764=>{var _0x159266=_0x47879a;const {unitID:_0x216ab8,objectID:_0x5db586,actions:_0x2e7502}=_0x134764,_0x3240dc=_0x1bc0a4[_0x159266(0x2f2)](_0x1c5994=>_0x1c5994[_0x159266(0x210)]===_0x216ab8&&_0x1c5994[_0x159266(0x361)]===_0x5db586),_0x4e7199=_0x2e7502['map'](_0x584738=>_0x3240dc==null?void 0x0:_0x3240dc[_0x159266(0x264)][_0x159266(0x2f2)](_0xacc5c6=>_0xacc5c6[_0x159266(0x26a)]===_0x584738))['filter'](_0x247c17=>!!_0x247c17);return{'config':_0x134764,'result':{'actions':_0x4e7199,'error':_0x1022fc[_0x159266(0xba)]}};});}})}));}[_0x2b909d(0x330)](){var _0x1f2b69=_0x2b909d,_0x3bf6f7,_0x1bcf82;const _0x14fddf=this[_0x1f2b69(0x14e)]['getConfig'](Pi),_0x439e17=this[_0x1f2b69(0x14e)]['getConfig'](q);return(_0x1bcf82=(_0x3bf6f7=_0x439e17==null?void 0x0:_0x439e17[_0x1f2b69(0x1e5)])!=null?_0x3bf6f7:_0x14fddf)!=null?_0x1bcf82:wr;}async[_0x2b909d(0x34c)](_0x2bb54b){var _0x2cc4f3=_0x2b909d;const _0x352bed=this[_0x2cc4f3(0x330)]()+'/'+_0x2bb54b['objectType']+_0x2cc4f3(0x26c);return(await this[_0x2cc4f3(0x2d6)][_0x2cc4f3(0x201)](_0x352bed,{'body':_0x2bb54b}))['body']['objectID']||'';}async['list'](_0x445bd2){var _0x579f1f=_0x2b909d;const _0x578410=this[_0x579f1f(0x330)]()+_0x579f1f(0x311);return(await this[_0x579f1f(0x2d6)][_0x579f1f(0x201)](_0x578410,{'body':_0x445bd2}))[_0x579f1f(0x2c3)][_0x579f1f(0x1ec)];}async['update'](_0x2a6bc0){var _0x123b1b=_0x2b909d;const _0x18a74e=this[_0x123b1b(0x330)]()+'/'+_0x2a6bc0[_0x123b1b(0x1aa)]+_0x123b1b(0x16b)+_0x2a6bc0[_0x123b1b(0x361)];await this[_0x123b1b(0x2d6)][_0x123b1b(0x2b8)](_0x18a74e,{'body':_0x2a6bc0});}async[_0x2b909d(0x124)](_0x8d5382){var _0x5bb754=_0x2b909d;const _0x1eb610=this[_0x5bb754(0x330)]()+'/'+_0x8d5382[_0x5bb754(0x1aa)]+'/object/'+_0x8d5382['objectID']+'/allowed';return(await this[_0x5bb754(0x2d6)][_0x5bb754(0x201)](_0x1eb610,{'body':_0x8d5382}))[_0x5bb754(0x2c3)][_0x5bb754(0x264)];}async[_0x2b909d(0x2b7)](_0x417493){var _0x1377de=_0x2b909d;const _0x301d8e=this[_0x1377de(0x330)]()+_0x1377de(0x289);return(await this[_0x1377de(0x2d6)]['post'](_0x301d8e,{'body':{'requests':_0x417493}}))[_0x1377de(0x2c3)][_0x1377de(0x33a)];}async['listRoles'](_0x571dbb){var _0x3049fe=_0x2b909d;const _0xc13114=this['_getAPIPrefixPath']()+'/'+_0x571dbb[_0x3049fe(0x1aa)]+_0x3049fe(0x1a1),_0x110581=await this[_0x3049fe(0x2d6)][_0x3049fe(0x201)](_0xc13114,{'body':_0x571dbb});return{'roles':_0x110581[_0x3049fe(0x2c3)][_0x3049fe(0xee)],'actions':_0x110581[_0x3049fe(0x2c3)][_0x3049fe(0x264)]};}async['deleteCollaborator'](_0x4f6fd2){var _0x53179a=_0x2b909d;const _0x40d42b=this[_0x53179a(0x330)]()+'/collaborator';await this[_0x53179a(0x2d6)][_0x53179a(0x120)](_0x40d42b,{'params':{'collaboratorID':_0x4f6fd2['collaboratorID'],'objectID':_0x4f6fd2[_0x53179a(0x361)],'unitID':_0x4f6fd2[_0x53179a(0x210)]}});}async['updateCollaborator'](_0x2d681c){var _0x435df5=_0x2b909d;const _0x2f4956=this['_getAPIPrefixPath']()+_0x435df5(0x285);await this[_0x435df5(0x2d6)][_0x435df5(0xbb)](_0x2f4956,{'body':_0x2d681c});}async[_0x2b909d(0x225)](_0x16e3f2){var _0x8c40e1=_0x2b909d;const _0x4df76e=this[_0x8c40e1(0x330)]()+_0x8c40e1(0x285);await this[_0x8c40e1(0x2d6)][_0x8c40e1(0x201)](_0x4df76e,{'body':_0x16e3f2});}async[_0x2b909d(0x355)](_0x4deddb){var _0x5b4ec5=_0x2b909d;const _0x258fe4=this[_0x5b4ec5(0x330)]()+'/collaborator';return(await this[_0x5b4ec5(0x2d6)][_0x5b4ec5(0xf5)](_0x258fe4,{'params':{'objectID':_0x4deddb[_0x5b4ec5(0x361)],'unitID':_0x4deddb[_0x5b4ec5(0x210)]}}))[_0x5b4ec5(0x2c3)][_0x5b4ec5(0x101)];}async[_0x2b909d(0x1e3)](_0x27b83f){var _0x3026b4=_0x2b909d;const _0x6f5441=this[_0x3026b4(0x330)]()+_0x3026b4(0x285);await this[_0x3026b4(0x2d6)][_0x3026b4(0x2b8)](_0x6f5441,{'body':_0x27b83f});}};bt=Pr([Xt(0x0,_0x810bfa(_0x561c6c)),Xt(0x1,_0x810bfa(_0x322413))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4a7730){var _0x52141c=_0x2b909d;return _0x4a7730&&_0x4a7730[_0x52141c(0x183)]&&Object['prototype']['hasOwnProperty'][_0x52141c(0x33f)](_0x4a7730,_0x52141c(0x2ff))?_0x4a7730['default']:_0x4a7730;}var Ve={'exports':{}};function Ur(_0x284332){var _0x642bd1=_0x2b909d;throw new Error(_0x642bd1(0x1dd)+_0x284332+_0x642bd1(0x227));}var Ge={'exports':{}},Ar=Ge[_0x2b909d(0xc1)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x5a290e,_0x3cf75f){(function(_0x31f9c2,_0xe8df99){var _0x3a76b4=_0x9ebb;_0x5a290e[_0x3a76b4(0xc1)]=_0xe8df99();}(Ar,function(){var _0x5282f9=_0x5282f9||function(_0x5b5bb6,_0x496f42){var _0x29ded4=_0x9ebb,_0x40ce2c;if(typeof window<'u'&&window[_0x29ded4(0x125)]&&(_0x40ce2c=window[_0x29ded4(0x125)]),typeof self<'u'&&self[_0x29ded4(0x125)]&&(_0x40ce2c=self[_0x29ded4(0x125)]),typeof globalThis<'u'&&globalThis[_0x29ded4(0x125)]&&(_0x40ce2c=globalThis[_0x29ded4(0x125)]),!_0x40ce2c&&typeof window<'u'&&window[_0x29ded4(0xc4)]&&(_0x40ce2c=window[_0x29ded4(0xc4)]),!_0x40ce2c&&typeof pt<'u'&&pt[_0x29ded4(0x125)]&&(_0x40ce2c=pt['crypto']),!_0x40ce2c&&typeof Ur==_0x29ded4(0x260))try{_0x40ce2c=require('crypto');}catch{}var _0x11e8bc=function(){var _0x1b311b=_0x29ded4;if(_0x40ce2c){if(typeof _0x40ce2c[_0x1b311b(0x1e4)]==_0x1b311b(0x260))try{return _0x40ce2c[_0x1b311b(0x1e4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x40ce2c[_0x1b311b(0x176)]==_0x1b311b(0x260))try{return _0x40ce2c[_0x1b311b(0x176)](0x4)[_0x1b311b(0x161)]();}catch{}}throw new Error(_0x1b311b(0x20e));},_0x42efeb=Object['create']||(function(){function _0xcdf5c0(){}return function(_0x107768){var _0x1c4792=_0x9ebb,_0x5e0685;return _0xcdf5c0[_0x1c4792(0x367)]=_0x107768,_0x5e0685=new _0xcdf5c0(),_0xcdf5c0['prototype']=null,_0x5e0685;};}()),_0x462052={},_0x4fef14=_0x462052['lib']={},_0x6e0655=_0x4fef14['Base']=(function(){return{'extend':function(_0x231c6d){var _0x2da4f7=_0x9ebb,_0x5aeb05=_0x42efeb(this);return _0x231c6d&&_0x5aeb05[_0x2da4f7(0x2ae)](_0x231c6d),(!_0x5aeb05[_0x2da4f7(0x11b)](_0x2da4f7(0x24d))||this[_0x2da4f7(0x24d)]===_0x5aeb05[_0x2da4f7(0x24d)])&&(_0x5aeb05['init']=function(){var _0x42e60e=_0x2da4f7;_0x5aeb05[_0x42e60e(0x234)][_0x42e60e(0x24d)][_0x42e60e(0x1e2)](this,arguments);}),_0x5aeb05[_0x2da4f7(0x24d)][_0x2da4f7(0x367)]=_0x5aeb05,_0x5aeb05[_0x2da4f7(0x234)]=this,_0x5aeb05;},'create':function(){var _0x5a5de3=_0x9ebb,_0x1d0d3a=this['extend']();return _0x1d0d3a[_0x5a5de3(0x24d)][_0x5a5de3(0x1e2)](_0x1d0d3a,arguments),_0x1d0d3a;},'init':function(){},'mixIn':function(_0x83ad48){var _0x49d42e=_0x9ebb;for(var _0x23d56b in _0x83ad48)_0x83ad48[_0x49d42e(0x11b)](_0x23d56b)&&(this[_0x23d56b]=_0x83ad48[_0x23d56b]);_0x83ad48['hasOwnProperty'](_0x49d42e(0xa4))&&(this[_0x49d42e(0xa4)]=_0x83ad48['toString']);},'clone':function(){var _0x6aa7a8=_0x9ebb;return this[_0x6aa7a8(0x24d)][_0x6aa7a8(0x367)][_0x6aa7a8(0x278)](this);}};}()),_0x535bb1=_0x4fef14['WordArray']=_0x6e0655[_0x29ded4(0x278)]({'init':function(_0x211958,_0x45703c){var _0x134ba2=_0x29ded4;_0x211958=this[_0x134ba2(0x31c)]=_0x211958||[],_0x45703c!=_0x496f42?this['sigBytes']=_0x45703c:this[_0x134ba2(0x1fd)]=_0x211958[_0x134ba2(0x20b)]*0x4;},'toString':function(_0x38b61f){var _0x38eecf=_0x29ded4;return(_0x38b61f||_0x48eb22)[_0x38eecf(0x152)](this);},'concat':function(_0x42522a){var _0x4a6e9c=_0x29ded4,_0x37d4fc=this[_0x4a6e9c(0x31c)],_0x2eac98=_0x42522a[_0x4a6e9c(0x31c)],_0x26b62a=this[_0x4a6e9c(0x1fd)],_0x1cafc0=_0x42522a[_0x4a6e9c(0x1fd)];if(this['clamp'](),_0x26b62a%0x4)for(var _0x46af37=0x0;_0x46af37<_0x1cafc0;_0x46af37++){var _0x4c5f40=_0x2eac98[_0x46af37>>>0x2]>>>0x18-_0x46af37%0x4*0x8&0xff;_0x37d4fc[_0x26b62a+_0x46af37>>>0x2]|=_0x4c5f40<<0x18-(_0x26b62a+_0x46af37)%0x4*0x8;}else{for(var _0x117265=0x0;_0x117265<_0x1cafc0;_0x117265+=0x4)_0x37d4fc[_0x26b62a+_0x117265>>>0x2]=_0x2eac98[_0x117265>>>0x2];}return this[_0x4a6e9c(0x1fd)]+=_0x1cafc0,this;},'clamp':function(){var _0x368982=_0x29ded4,_0x3ca46c=this[_0x368982(0x31c)],_0x33bf43=this[_0x368982(0x1fd)];_0x3ca46c[_0x33bf43>>>0x2]&=0xffffffff<<0x20-_0x33bf43%0x4*0x8,_0x3ca46c['length']=_0x5b5bb6['ceil'](_0x33bf43/0x4);},'clone':function(){var _0x26e3c3=_0x29ded4,_0x413681=_0x6e0655[_0x26e3c3(0x374)]['call'](this);return _0x413681[_0x26e3c3(0x31c)]=this[_0x26e3c3(0x31c)][_0x26e3c3(0x326)](0x0),_0x413681;},'random':function(_0xfd591a){var _0x5670b3=_0x29ded4;for(var _0x370d1f=[],_0xeab8b8=0x0;_0xeab8b8<_0xfd591a;_0xeab8b8+=0x4)_0x370d1f[_0x5670b3(0x276)](_0x11e8bc());return new _0x535bb1[(_0x5670b3(0x24d))](_0x370d1f,_0xfd591a);}}),_0x164819=_0x462052[_0x29ded4(0x3a3)]={},_0x48eb22=_0x164819[_0x29ded4(0x30b)]={'stringify':function(_0x2b97d3){var _0x3b2467=_0x29ded4;for(var _0x17c4af=_0x2b97d3[_0x3b2467(0x31c)],_0x4a0e5b=_0x2b97d3[_0x3b2467(0x1fd)],_0x10ce47=[],_0xed9f83=0x0;_0xed9f83<_0x4a0e5b;_0xed9f83++){var _0x427bd3=_0x17c4af[_0xed9f83>>>0x2]>>>0x18-_0xed9f83%0x4*0x8&0xff;_0x10ce47['push']((_0x427bd3>>>0x4)[_0x3b2467(0xa4)](0x10)),_0x10ce47[_0x3b2467(0x276)]((_0x427bd3&0xf)[_0x3b2467(0xa4)](0x10));}return _0x10ce47[_0x3b2467(0x1f1)]('');},'parse':function(_0x24b31a){var _0x3933bc=_0x29ded4;for(var _0x4dcfd3=_0x24b31a[_0x3933bc(0x20b)],_0x3dc0c4=[],_0x2b9cf5=0x0;_0x2b9cf5<_0x4dcfd3;_0x2b9cf5+=0x2)_0x3dc0c4[_0x2b9cf5>>>0x3]|=parseInt(_0x24b31a[_0x3933bc(0x195)](_0x2b9cf5,0x2),0x10)<<0x18-_0x2b9cf5%0x8*0x4;return new _0x535bb1[(_0x3933bc(0x24d))](_0x3dc0c4,_0x4dcfd3/0x2);}},_0x3f4831=_0x164819['Latin1']={'stringify':function(_0x53ba3d){var _0x181f43=_0x29ded4;for(var _0x3eccc7=_0x53ba3d[_0x181f43(0x31c)],_0x247cf5=_0x53ba3d[_0x181f43(0x1fd)],_0xbb1c11=[],_0x479c16=0x0;_0x479c16<_0x247cf5;_0x479c16++){var _0xa6251f=_0x3eccc7[_0x479c16>>>0x2]>>>0x18-_0x479c16%0x4*0x8&0xff;_0xbb1c11[_0x181f43(0x276)](String[_0x181f43(0x114)](_0xa6251f));}return _0xbb1c11[_0x181f43(0x1f1)]('');},'parse':function(_0x383ada){var _0x5157e7=_0x29ded4;for(var _0x3542aa=_0x383ada[_0x5157e7(0x20b)],_0x205992=[],_0x4aa416=0x0;_0x4aa416<_0x3542aa;_0x4aa416++)_0x205992[_0x4aa416>>>0x2]|=(_0x383ada[_0x5157e7(0xe1)](_0x4aa416)&0xff)<<0x18-_0x4aa416%0x4*0x8;return new _0x535bb1['init'](_0x205992,_0x3542aa);}},_0x1f887f=_0x164819[_0x29ded4(0x19f)]={'stringify':function(_0x4a4a30){var _0x385856=_0x29ded4;try{return decodeURIComponent(escape(_0x3f4831['stringify'](_0x4a4a30)));}catch{throw new Error(_0x385856(0xc7));}},'parse':function(_0x50230a){var _0x565787=_0x29ded4;return _0x3f4831[_0x565787(0x1f6)](unescape(encodeURIComponent(_0x50230a)));}},_0x479713=_0x4fef14['BufferedBlockAlgorithm']=_0x6e0655['extend']({'reset':function(){var _0x1d457f=_0x29ded4;this[_0x1d457f(0x219)]=new _0x535bb1[(_0x1d457f(0x24d))](),this[_0x1d457f(0x2bd)]=0x0;},'_append':function(_0x488ab0){var _0x54bbc4=_0x29ded4;typeof _0x488ab0==_0x54bbc4(0x36f)&&(_0x488ab0=_0x1f887f[_0x54bbc4(0x1f6)](_0x488ab0)),this['_data'][_0x54bbc4(0x316)](_0x488ab0),this[_0x54bbc4(0x2bd)]+=_0x488ab0['sigBytes'];},'_process':function(_0x163e48){var _0x5d05de=_0x29ded4,_0x4bd82b,_0x27e99a=this['_data'],_0x562aa4=_0x27e99a[_0x5d05de(0x31c)],_0x141b8c=_0x27e99a['sigBytes'],_0x4fcf72=this['blockSize'],_0x2a172f=_0x4fcf72*0x4,_0x34db6e=_0x141b8c/_0x2a172f;_0x163e48?_0x34db6e=_0x5b5bb6[_0x5d05de(0x157)](_0x34db6e):_0x34db6e=_0x5b5bb6[_0x5d05de(0x277)]((_0x34db6e|0x0)-this[_0x5d05de(0x25d)],0x0);var _0x172fc7=_0x34db6e*_0x4fcf72,_0x33d0d6=_0x5b5bb6[_0x5d05de(0x1bd)](_0x172fc7*0x4,_0x141b8c);if(_0x172fc7){for(var _0x16b75c=0x0;_0x16b75c<_0x172fc7;_0x16b75c+=_0x4fcf72)this[_0x5d05de(0x34d)](_0x562aa4,_0x16b75c);_0x4bd82b=_0x562aa4[_0x5d05de(0x19c)](0x0,_0x172fc7),_0x27e99a['sigBytes']-=_0x33d0d6;}return new _0x535bb1[(_0x5d05de(0x24d))](_0x4bd82b,_0x33d0d6);},'clone':function(){var _0x484290=_0x29ded4,_0x242b19=_0x6e0655[_0x484290(0x374)]['call'](this);return _0x242b19['_data']=this[_0x484290(0x219)][_0x484290(0x374)](),_0x242b19;},'_minBufferSize':0x0});_0x4fef14[_0x29ded4(0x222)]=_0x479713[_0x29ded4(0x278)]({'cfg':_0x6e0655[_0x29ded4(0x278)](),'init':function(_0x2b5d80){var _0x1d8bf4=_0x29ded4;this[_0x1d8bf4(0x38a)]=this[_0x1d8bf4(0x38a)][_0x1d8bf4(0x278)](_0x2b5d80),this[_0x1d8bf4(0x11d)]();},'reset':function(){var _0x148ed7=_0x29ded4;_0x479713[_0x148ed7(0x11d)][_0x148ed7(0x33f)](this),this[_0x148ed7(0x231)]();},'update':function(_0x4d0019){var _0x4e0beb=_0x29ded4;return this[_0x4e0beb(0x228)](_0x4d0019),this[_0x4e0beb(0x2cf)](),this;},'finalize':function(_0x512143){var _0x4210f6=_0x29ded4;_0x512143&&this[_0x4210f6(0x228)](_0x512143);var _0x58081a=this[_0x4210f6(0x14c)]();return _0x58081a;},'blockSize':0x10,'_createHelper':function(_0x205257){return function(_0x51a2d2,_0x36fe1e){var _0x3a9cd4=_0x9ebb;return new _0x205257[(_0x3a9cd4(0x24d))](_0x36fe1e)[_0x3a9cd4(0x1b0)](_0x51a2d2);};},'_createHmacHelper':function(_0x48bcc1){return function(_0x3cec,_0x557917){var _0x556ed3=_0x9ebb;return new _0x4f046b[(_0x556ed3(0x296))][(_0x556ed3(0x24d))](_0x48bcc1,_0x557917)['finalize'](_0x3cec);};}});var _0x4f046b=_0x462052[_0x29ded4(0xe7)]={};return _0x462052;}(Math);return _0x5282f9;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x365019=_0x2b909d;return Qt||(Qt=0x1,function(_0x14ad67,_0x4c495d){(function(_0x535f3,_0x6bfbc2){_0x14ad67['exports']=_0x6bfbc2(ne());}(xr,function(_0x2fa090){var _0x73cecf=_0x9ebb;return(function(){var _0x1b675a=_0x9ebb,_0x4b48a8=_0x2fa090,_0x112cd0=_0x4b48a8[_0x1b675a(0x238)],_0x46aaa5=_0x112cd0['WordArray'],_0x222597=_0x4b48a8[_0x1b675a(0x3a3)];_0x222597[_0x1b675a(0x22f)]={'stringify':function(_0x4b9a88){var _0x23ed2b=_0x1b675a,_0x7ca146=_0x4b9a88[_0x23ed2b(0x31c)],_0x46c372=_0x4b9a88['sigBytes'],_0x54f031=this[_0x23ed2b(0x1a8)];_0x4b9a88['clamp']();for(var _0xb3a3b=[],_0x4e977e=0x0;_0x4e977e<_0x46c372;_0x4e977e+=0x3)for(var _0xd8dbd8=_0x7ca146[_0x4e977e>>>0x2]>>>0x18-_0x4e977e%0x4*0x8&0xff,_0x328b7=_0x7ca146[_0x4e977e+0x1>>>0x2]>>>0x18-(_0x4e977e+0x1)%0x4*0x8&0xff,_0x528c38=_0x7ca146[_0x4e977e+0x2>>>0x2]>>>0x18-(_0x4e977e+0x2)%0x4*0x8&0xff,_0x47edf3=_0xd8dbd8<<0x10|_0x328b7<<0x8|_0x528c38,_0x200922=0x0;_0x200922<0x4&&_0x4e977e+_0x200922*0.75<_0x46c372;_0x200922++)_0xb3a3b['push'](_0x54f031[_0x23ed2b(0x2d9)](_0x47edf3>>>0x6*(0x3-_0x200922)&0x3f));var _0x3c372b=_0x54f031['charAt'](0x40);if(_0x3c372b){for(;_0xb3a3b['length']%0x4;)_0xb3a3b['push'](_0x3c372b);}return _0xb3a3b[_0x23ed2b(0x1f1)]('');},'parse':function(_0x321de1){var _0x1bb22b=_0x1b675a,_0x2920e9=_0x321de1[_0x1bb22b(0x20b)],_0x2658b6=this['_map'],_0x173e2a=this[_0x1bb22b(0x2cc)];if(!_0x173e2a){_0x173e2a=this[_0x1bb22b(0x2cc)]=[];for(var _0x57038f=0x0;_0x57038f<_0x2658b6[_0x1bb22b(0x20b)];_0x57038f++)_0x173e2a[_0x2658b6[_0x1bb22b(0xe1)](_0x57038f)]=_0x57038f;}var _0x56468f=_0x2658b6['charAt'](0x40);if(_0x56468f){var _0xd77e82=_0x321de1[_0x1bb22b(0x12a)](_0x56468f);_0xd77e82!==-0x1&&(_0x2920e9=_0xd77e82);}return _0x43e9de(_0x321de1,_0x2920e9,_0x173e2a);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x43e9de(_0x46eea3,_0x24d569,_0x2bbed8){var _0x1e06f7=_0x1b675a;for(var _0x1a6fa8=[],_0x2c556a=0x0,_0x351cd1=0x0;_0x351cd1<_0x24d569;_0x351cd1++)if(_0x351cd1%0x4){var _0x37de0d=_0x2bbed8[_0x46eea3['charCodeAt'](_0x351cd1-0x1)]<<_0x351cd1%0x4*0x2,_0x3a9385=_0x2bbed8[_0x46eea3[_0x1e06f7(0xe1)](_0x351cd1)]>>>0x6-_0x351cd1%0x4*0x2,_0x4eb97c=_0x37de0d|_0x3a9385;_0x1a6fa8[_0x2c556a>>>0x2]|=_0x4eb97c<<0x18-_0x2c556a%0x4*0x8,_0x2c556a++;}return _0x46aaa5[_0x1e06f7(0x34c)](_0x1a6fa8,_0x2c556a);}}()),_0x2fa090[_0x73cecf(0x3a3)][_0x73cecf(0x22f)];}));}(We)),We[_0x365019(0xc1)];}var Ke={'exports':{}},Lr=Ke[_0x2b909d(0xc1)],ei;function Mr(){var _0x60234b=_0x2b909d;return ei||(ei=0x1,function(_0xde4b20,_0x2d832b){(function(_0x26295b,_0x263a10){var _0x2130b2=_0x9ebb;_0xde4b20[_0x2130b2(0xc1)]=_0x263a10(ne());}(Lr,function(_0x297ae7){return function(_0x385761){var _0x4cfb11=_0x9ebb,_0x287854=_0x297ae7,_0xde847b=_0x287854[_0x4cfb11(0x238)],_0x288b2b=_0xde847b[_0x4cfb11(0xf6)],_0x5d77b0=_0xde847b['Hasher'],_0x126b5e=_0x287854[_0x4cfb11(0xe7)],_0x5ec69e=[];(function(){var _0x52490d=_0x4cfb11;for(var _0x2cd304=0x0;_0x2cd304<0x40;_0x2cd304++)_0x5ec69e[_0x2cd304]=_0x385761[_0x52490d(0x294)](_0x385761[_0x52490d(0xa5)](_0x2cd304+0x1))*0x100000000|0x0;}());var _0x2967b5=_0x126b5e[_0x4cfb11(0x35e)]=_0x5d77b0[_0x4cfb11(0x278)]({'_doReset':function(){var _0x1de0ca=_0x4cfb11;this['_hash']=new _0x288b2b[(_0x1de0ca(0x24d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x209830,_0x4ddfe5){var _0x419437=_0x4cfb11;for(var _0x21f86e=0x0;_0x21f86e<0x10;_0x21f86e++){var _0x3085dd=_0x4ddfe5+_0x21f86e,_0x289aca=_0x209830[_0x3085dd];_0x209830[_0x3085dd]=(_0x289aca<<0x8|_0x289aca>>>0x18)&0xff00ff|(_0x289aca<<0x18|_0x289aca>>>0x8)&0xff00ff00;}var _0x58730e=this[_0x419437(0x37d)][_0x419437(0x31c)],_0x14d398=_0x209830[_0x4ddfe5+0x0],_0x3018c8=_0x209830[_0x4ddfe5+0x1],_0x31cf9f=_0x209830[_0x4ddfe5+0x2],_0x42df10=_0x209830[_0x4ddfe5+0x3],_0xaf870d=_0x209830[_0x4ddfe5+0x4],_0x5e46e0=_0x209830[_0x4ddfe5+0x5],_0xff0f4=_0x209830[_0x4ddfe5+0x6],_0x35f86b=_0x209830[_0x4ddfe5+0x7],_0x5a619b=_0x209830[_0x4ddfe5+0x8],_0x4add31=_0x209830[_0x4ddfe5+0x9],_0x18f860=_0x209830[_0x4ddfe5+0xa],_0x897cd0=_0x209830[_0x4ddfe5+0xb],_0x5b9de2=_0x209830[_0x4ddfe5+0xc],_0x16057a=_0x209830[_0x4ddfe5+0xd],_0x13eb54=_0x209830[_0x4ddfe5+0xe],_0x119d07=_0x209830[_0x4ddfe5+0xf],_0x27ba1c=_0x58730e[0x0],_0x4dcc73=_0x58730e[0x1],_0x5d1fdb=_0x58730e[0x2],_0x4e5346=_0x58730e[0x3];_0x27ba1c=_0x50d978(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x14d398,0x7,_0x5ec69e[0x0]),_0x4e5346=_0x50d978(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x3018c8,0xc,_0x5ec69e[0x1]),_0x5d1fdb=_0x50d978(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x31cf9f,0x11,_0x5ec69e[0x2]),_0x4dcc73=_0x50d978(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x42df10,0x16,_0x5ec69e[0x3]),_0x27ba1c=_0x50d978(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0xaf870d,0x7,_0x5ec69e[0x4]),_0x4e5346=_0x50d978(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x5e46e0,0xc,_0x5ec69e[0x5]),_0x5d1fdb=_0x50d978(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0xff0f4,0x11,_0x5ec69e[0x6]),_0x4dcc73=_0x50d978(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x35f86b,0x16,_0x5ec69e[0x7]),_0x27ba1c=_0x50d978(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5a619b,0x7,_0x5ec69e[0x8]),_0x4e5346=_0x50d978(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4add31,0xc,_0x5ec69e[0x9]),_0x5d1fdb=_0x50d978(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x18f860,0x11,_0x5ec69e[0xa]),_0x4dcc73=_0x50d978(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x897cd0,0x16,_0x5ec69e[0xb]),_0x27ba1c=_0x50d978(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5b9de2,0x7,_0x5ec69e[0xc]),_0x4e5346=_0x50d978(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x16057a,0xc,_0x5ec69e[0xd]),_0x5d1fdb=_0x50d978(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x13eb54,0x11,_0x5ec69e[0xe]),_0x4dcc73=_0x50d978(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x119d07,0x16,_0x5ec69e[0xf]),_0x27ba1c=_0x3a427d(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x3018c8,0x5,_0x5ec69e[0x10]),_0x4e5346=_0x3a427d(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0xff0f4,0x9,_0x5ec69e[0x11]),_0x5d1fdb=_0x3a427d(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x897cd0,0xe,_0x5ec69e[0x12]),_0x4dcc73=_0x3a427d(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x14d398,0x14,_0x5ec69e[0x13]),_0x27ba1c=_0x3a427d(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5e46e0,0x5,_0x5ec69e[0x14]),_0x4e5346=_0x3a427d(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x18f860,0x9,_0x5ec69e[0x15]),_0x5d1fdb=_0x3a427d(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x119d07,0xe,_0x5ec69e[0x16]),_0x4dcc73=_0x3a427d(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0xaf870d,0x14,_0x5ec69e[0x17]),_0x27ba1c=_0x3a427d(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x4add31,0x5,_0x5ec69e[0x18]),_0x4e5346=_0x3a427d(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x13eb54,0x9,_0x5ec69e[0x19]),_0x5d1fdb=_0x3a427d(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x42df10,0xe,_0x5ec69e[0x1a]),_0x4dcc73=_0x3a427d(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x5a619b,0x14,_0x5ec69e[0x1b]),_0x27ba1c=_0x3a427d(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x16057a,0x5,_0x5ec69e[0x1c]),_0x4e5346=_0x3a427d(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x31cf9f,0x9,_0x5ec69e[0x1d]),_0x5d1fdb=_0x3a427d(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x35f86b,0xe,_0x5ec69e[0x1e]),_0x4dcc73=_0x3a427d(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x5b9de2,0x14,_0x5ec69e[0x1f]),_0x27ba1c=_0x36721e(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5e46e0,0x4,_0x5ec69e[0x20]),_0x4e5346=_0x36721e(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x5a619b,0xb,_0x5ec69e[0x21]),_0x5d1fdb=_0x36721e(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x897cd0,0x10,_0x5ec69e[0x22]),_0x4dcc73=_0x36721e(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x13eb54,0x17,_0x5ec69e[0x23]),_0x27ba1c=_0x36721e(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x3018c8,0x4,_0x5ec69e[0x24]),_0x4e5346=_0x36721e(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0xaf870d,0xb,_0x5ec69e[0x25]),_0x5d1fdb=_0x36721e(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x35f86b,0x10,_0x5ec69e[0x26]),_0x4dcc73=_0x36721e(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x18f860,0x17,_0x5ec69e[0x27]),_0x27ba1c=_0x36721e(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x16057a,0x4,_0x5ec69e[0x28]),_0x4e5346=_0x36721e(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x14d398,0xb,_0x5ec69e[0x29]),_0x5d1fdb=_0x36721e(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x42df10,0x10,_0x5ec69e[0x2a]),_0x4dcc73=_0x36721e(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0xff0f4,0x17,_0x5ec69e[0x2b]),_0x27ba1c=_0x36721e(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x4add31,0x4,_0x5ec69e[0x2c]),_0x4e5346=_0x36721e(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x5b9de2,0xb,_0x5ec69e[0x2d]),_0x5d1fdb=_0x36721e(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x119d07,0x10,_0x5ec69e[0x2e]),_0x4dcc73=_0x36721e(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x31cf9f,0x17,_0x5ec69e[0x2f]),_0x27ba1c=_0x4b9226(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x14d398,0x6,_0x5ec69e[0x30]),_0x4e5346=_0x4b9226(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x35f86b,0xa,_0x5ec69e[0x31]),_0x5d1fdb=_0x4b9226(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x13eb54,0xf,_0x5ec69e[0x32]),_0x4dcc73=_0x4b9226(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x5e46e0,0x15,_0x5ec69e[0x33]),_0x27ba1c=_0x4b9226(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5b9de2,0x6,_0x5ec69e[0x34]),_0x4e5346=_0x4b9226(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x42df10,0xa,_0x5ec69e[0x35]),_0x5d1fdb=_0x4b9226(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x18f860,0xf,_0x5ec69e[0x36]),_0x4dcc73=_0x4b9226(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x3018c8,0x15,_0x5ec69e[0x37]),_0x27ba1c=_0x4b9226(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x5a619b,0x6,_0x5ec69e[0x38]),_0x4e5346=_0x4b9226(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x119d07,0xa,_0x5ec69e[0x39]),_0x5d1fdb=_0x4b9226(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0xff0f4,0xf,_0x5ec69e[0x3a]),_0x4dcc73=_0x4b9226(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x16057a,0x15,_0x5ec69e[0x3b]),_0x27ba1c=_0x4b9226(_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x4e5346,_0xaf870d,0x6,_0x5ec69e[0x3c]),_0x4e5346=_0x4b9226(_0x4e5346,_0x27ba1c,_0x4dcc73,_0x5d1fdb,_0x897cd0,0xa,_0x5ec69e[0x3d]),_0x5d1fdb=_0x4b9226(_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4dcc73,_0x31cf9f,0xf,_0x5ec69e[0x3e]),_0x4dcc73=_0x4b9226(_0x4dcc73,_0x5d1fdb,_0x4e5346,_0x27ba1c,_0x4add31,0x15,_0x5ec69e[0x3f]),_0x58730e[0x0]=_0x58730e[0x0]+_0x27ba1c|0x0,_0x58730e[0x1]=_0x58730e[0x1]+_0x4dcc73|0x0,_0x58730e[0x2]=_0x58730e[0x2]+_0x5d1fdb|0x0,_0x58730e[0x3]=_0x58730e[0x3]+_0x4e5346|0x0;},'_doFinalize':function(){var _0xed0592=_0x4cfb11,_0x5de5c2=this[_0xed0592(0x219)],_0x415bfb=_0x5de5c2[_0xed0592(0x31c)],_0x52b8a8=this['_nDataBytes']*0x8,_0x4fe3a3=_0x5de5c2[_0xed0592(0x1fd)]*0x8;_0x415bfb[_0x4fe3a3>>>0x5]|=0x80<<0x18-_0x4fe3a3%0x20;var _0x5cf5b2=_0x385761['floor'](_0x52b8a8/0x100000000),_0x57921d=_0x52b8a8;_0x415bfb[(_0x4fe3a3+0x40>>>0x9<<0x4)+0xf]=(_0x5cf5b2<<0x8|_0x5cf5b2>>>0x18)&0xff00ff|(_0x5cf5b2<<0x18|_0x5cf5b2>>>0x8)&0xff00ff00,_0x415bfb[(_0x4fe3a3+0x40>>>0x9<<0x4)+0xe]=(_0x57921d<<0x8|_0x57921d>>>0x18)&0xff00ff|(_0x57921d<<0x18|_0x57921d>>>0x8)&0xff00ff00,_0x5de5c2[_0xed0592(0x1fd)]=(_0x415bfb['length']+0x1)*0x4,this[_0xed0592(0x2cf)]();for(var _0x305cd1=this[_0xed0592(0x37d)],_0x7b09a9=_0x305cd1['words'],_0x9fefe7=0x0;_0x9fefe7<0x4;_0x9fefe7++){var _0x3fe2b5=_0x7b09a9[_0x9fefe7];_0x7b09a9[_0x9fefe7]=(_0x3fe2b5<<0x8|_0x3fe2b5>>>0x18)&0xff00ff|(_0x3fe2b5<<0x18|_0x3fe2b5>>>0x8)&0xff00ff00;}return _0x305cd1;},'clone':function(){var _0x5ad13e=_0x4cfb11,_0x2cef3b=_0x5d77b0[_0x5ad13e(0x374)][_0x5ad13e(0x33f)](this);return _0x2cef3b[_0x5ad13e(0x37d)]=this[_0x5ad13e(0x37d)][_0x5ad13e(0x374)](),_0x2cef3b;}});function _0x50d978(_0x336aca,_0x1e86a5,_0x4c06ed,_0x5c130f,_0xe18b65,_0xe60ab7,_0x2ca5aa){var _0x2d394e=_0x336aca+(_0x1e86a5&_0x4c06ed|~_0x1e86a5&_0x5c130f)+_0xe18b65+_0x2ca5aa;return(_0x2d394e<<_0xe60ab7|_0x2d394e>>>0x20-_0xe60ab7)+_0x1e86a5;}function _0x3a427d(_0x5accad,_0x45b64f,_0x24aaba,_0x2d9c7f,_0x3493e6,_0x5ad243,_0x18508b){var _0x259aef=_0x5accad+(_0x45b64f&_0x2d9c7f|_0x24aaba&~_0x2d9c7f)+_0x3493e6+_0x18508b;return(_0x259aef<<_0x5ad243|_0x259aef>>>0x20-_0x5ad243)+_0x45b64f;}function _0x36721e(_0x27d73c,_0xa44050,_0x94bae9,_0x117fb0,_0x392992,_0x4979ce,_0x1352a1){var _0x4ec7ff=_0x27d73c+(_0xa44050^_0x94bae9^_0x117fb0)+_0x392992+_0x1352a1;return(_0x4ec7ff<<_0x4979ce|_0x4ec7ff>>>0x20-_0x4979ce)+_0xa44050;}function _0x4b9226(_0x37fbb7,_0x493e55,_0x166c22,_0x329927,_0x5aea79,_0x3a75fd,_0x52ab00){var _0x2a481b=_0x37fbb7+(_0x166c22^(_0x493e55|~_0x329927))+_0x5aea79+_0x52ab00;return(_0x2a481b<<_0x3a75fd|_0x2a481b>>>0x20-_0x3a75fd)+_0x493e55;}_0x287854['MD5']=_0x5d77b0[_0x4cfb11(0x1cf)](_0x2967b5),_0x287854[_0x4cfb11(0xc6)]=_0x5d77b0[_0x4cfb11(0xdb)](_0x2967b5);}(Math),_0x297ae7['MD5'];}));}(Ke)),Ke[_0x60234b(0xc1)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x2b909d(0xc1)],ti;function Hr(){return ti||(ti=0x1,function(_0xc1b0a4,_0x32ab3f){(function(_0x6aa689,_0x5ec54c){var _0x4721aa=_0x9ebb;_0xc1b0a4[_0x4721aa(0xc1)]=_0x5ec54c(ne());}($r,function(_0x2fe49a){var _0x22f9b4=_0x9ebb;return(function(){var _0x787554=_0x9ebb,_0x393c92=_0x2fe49a,_0x33125c=_0x393c92['lib'],_0x52eefb=_0x33125c[_0x787554(0xf6)],_0x491b23=_0x33125c[_0x787554(0x222)],_0x5c219b=_0x393c92[_0x787554(0xe7)],_0xc42238=[],_0x101c28=_0x5c219b[_0x787554(0x1be)]=_0x491b23[_0x787554(0x278)]({'_doReset':function(){var _0x1f7e0b=_0x787554;this['_hash']=new _0x52eefb[(_0x1f7e0b(0x24d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x11785c,_0x5af0cf){var _0x2af53a=_0x787554;for(var _0x59e9c7=this[_0x2af53a(0x37d)][_0x2af53a(0x31c)],_0x246192=_0x59e9c7[0x0],_0x590e1e=_0x59e9c7[0x1],_0x375d07=_0x59e9c7[0x2],_0x57a1cf=_0x59e9c7[0x3],_0x4cd970=_0x59e9c7[0x4],_0x7b1864=0x0;_0x7b1864<0x50;_0x7b1864++){if(_0x7b1864<0x10)_0xc42238[_0x7b1864]=_0x11785c[_0x5af0cf+_0x7b1864]|0x0;else{var _0x2dd01d=_0xc42238[_0x7b1864-0x3]^_0xc42238[_0x7b1864-0x8]^_0xc42238[_0x7b1864-0xe]^_0xc42238[_0x7b1864-0x10];_0xc42238[_0x7b1864]=_0x2dd01d<<0x1|_0x2dd01d>>>0x1f;}var _0x5c0720=(_0x246192<<0x5|_0x246192>>>0x1b)+_0x4cd970+_0xc42238[_0x7b1864];_0x7b1864<0x14?_0x5c0720+=(_0x590e1e&_0x375d07|~_0x590e1e&_0x57a1cf)+0x5a827999:_0x7b1864<0x28?_0x5c0720+=(_0x590e1e^_0x375d07^_0x57a1cf)+0x6ed9eba1:_0x7b1864<0x3c?_0x5c0720+=(_0x590e1e&_0x375d07|_0x590e1e&_0x57a1cf|_0x375d07&_0x57a1cf)-0x70e44324:_0x5c0720+=(_0x590e1e^_0x375d07^_0x57a1cf)-0x359d3e2a,_0x4cd970=_0x57a1cf,_0x57a1cf=_0x375d07,_0x375d07=_0x590e1e<<0x1e|_0x590e1e>>>0x2,_0x590e1e=_0x246192,_0x246192=_0x5c0720;}_0x59e9c7[0x0]=_0x59e9c7[0x0]+_0x246192|0x0,_0x59e9c7[0x1]=_0x59e9c7[0x1]+_0x590e1e|0x0,_0x59e9c7[0x2]=_0x59e9c7[0x2]+_0x375d07|0x0,_0x59e9c7[0x3]=_0x59e9c7[0x3]+_0x57a1cf|0x0,_0x59e9c7[0x4]=_0x59e9c7[0x4]+_0x4cd970|0x0;},'_doFinalize':function(){var _0x32e5e0=_0x787554,_0x3eb0ec=this[_0x32e5e0(0x219)],_0x472bce=_0x3eb0ec['words'],_0x319346=this['_nDataBytes']*0x8,_0x46a289=_0x3eb0ec['sigBytes']*0x8;return _0x472bce[_0x46a289>>>0x5]|=0x80<<0x18-_0x46a289%0x20,_0x472bce[(_0x46a289+0x40>>>0x9<<0x4)+0xe]=Math[_0x32e5e0(0x13f)](_0x319346/0x100000000),_0x472bce[(_0x46a289+0x40>>>0x9<<0x4)+0xf]=_0x319346,_0x3eb0ec[_0x32e5e0(0x1fd)]=_0x472bce['length']*0x4,this['_process'](),this[_0x32e5e0(0x37d)];},'clone':function(){var _0x4d019f=_0x787554,_0x45af46=_0x491b23[_0x4d019f(0x374)][_0x4d019f(0x33f)](this);return _0x45af46['_hash']=this[_0x4d019f(0x37d)]['clone'](),_0x45af46;}});_0x393c92[_0x787554(0x1be)]=_0x491b23['_createHelper'](_0x101c28),_0x393c92[_0x787554(0x1f8)]=_0x491b23[_0x787554(0xdb)](_0x101c28);}()),_0x2fe49a[_0x22f9b4(0x1be)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x2f14a8=_0x2b909d;return ii||(ii=0x1,function(_0x4f3e40,_0x59016d){(function(_0x4899fd,_0x801eeb){_0x4f3e40['exports']=_0x801eeb(ne());}(kr,function(_0x3a4073){(function(){var _0x1c11fc=_0x9ebb,_0xe0001e=_0x3a4073,_0x2c9f3f=_0xe0001e[_0x1c11fc(0x238)],_0x269f42=_0x2c9f3f[_0x1c11fc(0x342)],_0x2342b8=_0xe0001e[_0x1c11fc(0x3a3)],_0x1183c4=_0x2342b8[_0x1c11fc(0x19f)],_0x2c2710=_0xe0001e[_0x1c11fc(0xe7)];_0x2c2710[_0x1c11fc(0x296)]=_0x269f42[_0x1c11fc(0x278)]({'init':function(_0x242e97,_0x11896f){var _0xb06627=_0x1c11fc;_0x242e97=this[_0xb06627(0x1d4)]=new _0x242e97[(_0xb06627(0x24d))](),typeof _0x11896f==_0xb06627(0x36f)&&(_0x11896f=_0x1183c4[_0xb06627(0x1f6)](_0x11896f));var _0x43a7c9=_0x242e97['blockSize'],_0x2b007c=_0x43a7c9*0x4;_0x11896f['sigBytes']>_0x2b007c&&(_0x11896f=_0x242e97[_0xb06627(0x1b0)](_0x11896f)),_0x11896f[_0xb06627(0x20d)]();for(var _0x115305=this['_oKey']=_0x11896f[_0xb06627(0x374)](),_0x4a1ac9=this[_0xb06627(0x2db)]=_0x11896f['clone'](),_0x4522e2=_0x115305[_0xb06627(0x31c)],_0x2678e4=_0x4a1ac9[_0xb06627(0x31c)],_0xf3319f=0x0;_0xf3319f<_0x43a7c9;_0xf3319f++)_0x4522e2[_0xf3319f]^=0x5c5c5c5c,_0x2678e4[_0xf3319f]^=0x36363636;_0x115305[_0xb06627(0x1fd)]=_0x4a1ac9[_0xb06627(0x1fd)]=_0x2b007c,this[_0xb06627(0x11d)]();},'reset':function(){var _0x505f3e=_0x1c11fc,_0x4ea17b=this[_0x505f3e(0x1d4)];_0x4ea17b[_0x505f3e(0x11d)](),_0x4ea17b[_0x505f3e(0x1ea)](this[_0x505f3e(0x2db)]);},'update':function(_0x354ef2){var _0x541d25=_0x1c11fc;return this[_0x541d25(0x1d4)][_0x541d25(0x1ea)](_0x354ef2),this;},'finalize':function(_0xcd4cab){var _0x1e4ad6=_0x1c11fc,_0x421ea8=this[_0x1e4ad6(0x1d4)],_0xfdc735=_0x421ea8['finalize'](_0xcd4cab);_0x421ea8[_0x1e4ad6(0x11d)]();var _0x489fb6=_0x421ea8[_0x1e4ad6(0x1b0)](this['_oKey']['clone']()[_0x1e4ad6(0x316)](_0xfdc735));return _0x489fb6;}});}());}));}(ze)),ze[_0x2f14a8(0xc1)];}var Br=Ye['exports'],ni;function Ui(){return ni||(ni=0x1,function(_0x50fb,_0x3fa7da){(function(_0x2e527a,_0x31d71e,_0x2366aa){_0x50fb['exports']=_0x31d71e(ne(),Hr(),jr());}(Br,function(_0x45d904){return(function(){var _0x2a1790=_0x9ebb,_0x1fd1ce=_0x45d904,_0x4a2367=_0x1fd1ce[_0x2a1790(0x238)],_0x3c5bdb=_0x4a2367[_0x2a1790(0x342)],_0x4c1d15=_0x4a2367[_0x2a1790(0xf6)],_0x1f0438=_0x1fd1ce[_0x2a1790(0xe7)],_0x5abb8e=_0x1f0438[_0x2a1790(0x35e)],_0x49c400=_0x1f0438[_0x2a1790(0x246)]=_0x3c5bdb['extend']({'cfg':_0x3c5bdb[_0x2a1790(0x278)]({'keySize':0x80/0x20,'hasher':_0x5abb8e,'iterations':0x1}),'init':function(_0x13d0b1){var _0x573449=_0x2a1790;this['cfg']=this[_0x573449(0x38a)]['extend'](_0x13d0b1);},'compute':function(_0x35b797,_0x2a7d6c){var _0x27bbe3=_0x2a1790;for(var _0x4edb52,_0x526792=this['cfg'],_0x5d3583=_0x526792[_0x27bbe3(0xe3)][_0x27bbe3(0x34c)](),_0x95d41a=_0x4c1d15[_0x27bbe3(0x34c)](),_0x74816a=_0x95d41a['words'],_0x5accf6=_0x526792[_0x27bbe3(0x17b)],_0x85ab10=_0x526792[_0x27bbe3(0x11c)];_0x74816a[_0x27bbe3(0x20b)]<_0x5accf6;){_0x4edb52&&_0x5d3583[_0x27bbe3(0x1ea)](_0x4edb52),_0x4edb52=_0x5d3583[_0x27bbe3(0x1ea)](_0x35b797)[_0x27bbe3(0x1b0)](_0x2a7d6c),_0x5d3583[_0x27bbe3(0x11d)]();for(var _0x5522d1=0x1;_0x5522d1<_0x85ab10;_0x5522d1++)_0x4edb52=_0x5d3583[_0x27bbe3(0x1b0)](_0x4edb52),_0x5d3583[_0x27bbe3(0x11d)]();_0x95d41a[_0x27bbe3(0x316)](_0x4edb52);}return _0x95d41a[_0x27bbe3(0x1fd)]=_0x5accf6*0x4,_0x95d41a;}});_0x1fd1ce[_0x2a1790(0x246)]=function(_0x164838,_0x1ec1e5,_0x4bb8aa){var _0x5bf5b0=_0x2a1790;return _0x49c400[_0x5bf5b0(0x34c)](_0x4bb8aa)[_0x5bf5b0(0x2a3)](_0x164838,_0x1ec1e5);};}()),_0x45d904['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x2b909d(0xc1)],ri;function Ai(){var _0x5eb342=_0x2b909d;return ri||(ri=0x1,function(_0x412ca9,_0x200b3e){(function(_0x323022,_0x1a2ad4,_0xf09b0b){var _0x324165=_0x9ebb;_0x412ca9[_0x324165(0xc1)]=_0x1a2ad4(ne(),Ui());}(Fr,function(_0x57bafb){var _0x260f41=_0x9ebb;_0x57bafb[_0x260f41(0x238)][_0x260f41(0x12c)]||function(_0xd54a8b){var _0x2ab0f=_0x260f41,_0x3a668d=_0x57bafb,_0x22b89f=_0x3a668d['lib'],_0x3a3cc9=_0x22b89f['Base'],_0x50ef02=_0x22b89f[_0x2ab0f(0xf6)],_0x44e4c5=_0x22b89f[_0x2ab0f(0x1b4)],_0x4a7d1c=_0x3a668d[_0x2ab0f(0x3a3)];_0x4a7d1c[_0x2ab0f(0x19f)];var _0x78f5f4=_0x4a7d1c[_0x2ab0f(0x22f)],_0x1fdfeb=_0x3a668d[_0x2ab0f(0xe7)],_0x5bc136=_0x1fdfeb[_0x2ab0f(0x246)],_0x4e05bc=_0x22b89f[_0x2ab0f(0x12c)]=_0x44e4c5[_0x2ab0f(0x278)]({'cfg':_0x3a3cc9[_0x2ab0f(0x278)](),'createEncryptor':function(_0x2663fc,_0x46566e){var _0x160756=_0x2ab0f;return this[_0x160756(0x34c)](this[_0x160756(0x1bb)],_0x2663fc,_0x46566e);},'createDecryptor':function(_0x1e3572,_0x2509a3){var _0x492c0e=_0x2ab0f;return this[_0x492c0e(0x34c)](this[_0x492c0e(0x12b)],_0x1e3572,_0x2509a3);},'init':function(_0x3d9aba,_0x4c9132,_0x568eab){var _0x3d032a=_0x2ab0f;this[_0x3d032a(0x38a)]=this[_0x3d032a(0x38a)]['extend'](_0x568eab),this[_0x3d032a(0x318)]=_0x3d9aba,this['_key']=_0x4c9132,this[_0x3d032a(0x11d)]();},'reset':function(){var _0x5baa30=_0x2ab0f;_0x44e4c5['reset'][_0x5baa30(0x33f)](this),this[_0x5baa30(0x231)]();},'process':function(_0x4d078c){var _0x203fc2=_0x2ab0f;return this[_0x203fc2(0x228)](_0x4d078c),this[_0x203fc2(0x2cf)]();},'finalize':function(_0x413ba2){var _0x4ca9ca=_0x2ab0f;_0x413ba2&&this[_0x4ca9ca(0x228)](_0x413ba2);var _0xce2e74=this[_0x4ca9ca(0x14c)]();return _0xce2e74;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e3ead(_0x12aad2){var _0x1b9a14=_0x9ebb;return typeof _0x12aad2==_0x1b9a14(0x36f)?_0x51bb83:_0x33ed66;}return function(_0xd8c8ee){return{'encrypt':function(_0x93ef37,_0x53b57a,_0x476c6d){var _0x14f85d=_0x9ebb;return _0x1e3ead(_0x53b57a)[_0x14f85d(0x1df)](_0xd8c8ee,_0x93ef37,_0x53b57a,_0x476c6d);},'decrypt':function(_0x19ddd0,_0x508b87,_0x286ca0){return _0x1e3ead(_0x508b87)['decrypt'](_0xd8c8ee,_0x19ddd0,_0x508b87,_0x286ca0);}};};}())});_0x22b89f[_0x2ab0f(0x2ad)]=_0x4e05bc[_0x2ab0f(0x278)]({'_doFinalize':function(){var _0xcd1a3a=this['_process'](!0x0);return _0xcd1a3a;},'blockSize':0x1});var _0x552c0a=_0x3a668d[_0x2ab0f(0x32f)]={},_0x163a3d=_0x22b89f[_0x2ab0f(0xe6)]=_0x3a3cc9['extend']({'createEncryptor':function(_0x12d118,_0x2a17a9){var _0x1ccc91=_0x2ab0f;return this['Encryptor'][_0x1ccc91(0x34c)](_0x12d118,_0x2a17a9);},'createDecryptor':function(_0x1ab7cd,_0x4a1990){var _0x37779f=_0x2ab0f;return this[_0x37779f(0x32b)][_0x37779f(0x34c)](_0x1ab7cd,_0x4a1990);},'init':function(_0x335d3a,_0x36c342){var _0x5688c7=_0x2ab0f;this[_0x5688c7(0x2e1)]=_0x335d3a,this[_0x5688c7(0x298)]=_0x36c342;}}),_0x425195=_0x552c0a[_0x2ab0f(0x1f0)]=(function(){var _0x3df5a6=_0x2ab0f,_0x4699b9=_0x163a3d[_0x3df5a6(0x278)]();_0x4699b9['Encryptor']=_0x4699b9[_0x3df5a6(0x278)]({'processBlock':function(_0x134cef,_0x4f64fd){var _0x288e75=_0x3df5a6,_0x2c1840=this[_0x288e75(0x2e1)],_0x33c3b1=_0x2c1840['blockSize'];_0x26e5ee[_0x288e75(0x33f)](this,_0x134cef,_0x4f64fd,_0x33c3b1),_0x2c1840[_0x288e75(0x171)](_0x134cef,_0x4f64fd),this[_0x288e75(0x302)]=_0x134cef[_0x288e75(0x326)](_0x4f64fd,_0x4f64fd+_0x33c3b1);}}),_0x4699b9[_0x3df5a6(0x32b)]=_0x4699b9[_0x3df5a6(0x278)]({'processBlock':function(_0x3864cf,_0x5ba040){var _0x13451e=_0x3df5a6,_0x361771=this['_cipher'],_0x3b59fd=_0x361771[_0x13451e(0x32d)],_0x3ad709=_0x3864cf[_0x13451e(0x326)](_0x5ba040,_0x5ba040+_0x3b59fd);_0x361771[_0x13451e(0x2d2)](_0x3864cf,_0x5ba040),_0x26e5ee[_0x13451e(0x33f)](this,_0x3864cf,_0x5ba040,_0x3b59fd),this['_prevBlock']=_0x3ad709;}});function _0x26e5ee(_0x3cff7f,_0x432f55,_0x132f56){var _0x76ad2f=_0x3df5a6,_0x4b0f20,_0x4726d7=this['_iv'];_0x4726d7?(_0x4b0f20=_0x4726d7,this[_0x76ad2f(0x298)]=_0xd54a8b):_0x4b0f20=this[_0x76ad2f(0x302)];for(var _0x29dfe6=0x0;_0x29dfe6<_0x132f56;_0x29dfe6++)_0x3cff7f[_0x432f55+_0x29dfe6]^=_0x4b0f20[_0x29dfe6];}return _0x4699b9;}()),_0x11e306=_0x3a668d[_0x2ab0f(0x2be)]={},_0x41bcec=_0x11e306[_0x2ab0f(0x2b3)]={'pad':function(_0x17fc00,_0x41dfac){var _0x16c444=_0x2ab0f;for(var _0xf53440=_0x41dfac*0x4,_0x5574ed=_0xf53440-_0x17fc00[_0x16c444(0x1fd)]%_0xf53440,_0x5d5af4=_0x5574ed<<0x18|_0x5574ed<<0x10|_0x5574ed<<0x8|_0x5574ed,_0xf14a81=[],_0x5201e6=0x0;_0x5201e6<_0x5574ed;_0x5201e6+=0x4)_0xf14a81['push'](_0x5d5af4);var _0x13e4c5=_0x50ef02[_0x16c444(0x34c)](_0xf14a81,_0x5574ed);_0x17fc00[_0x16c444(0x316)](_0x13e4c5);},'unpad':function(_0x442709){var _0x34983f=_0x2ab0f,_0x3b2253=_0x442709[_0x34983f(0x31c)][_0x442709[_0x34983f(0x1fd)]-0x1>>>0x2]&0xff;_0x442709['sigBytes']-=_0x3b2253;}};_0x22b89f[_0x2ab0f(0x36e)]=_0x4e05bc['extend']({'cfg':_0x4e05bc[_0x2ab0f(0x38a)][_0x2ab0f(0x278)]({'mode':_0x425195,'padding':_0x41bcec}),'reset':function(){var _0x5f1a01=_0x2ab0f,_0x2eddce;_0x4e05bc[_0x5f1a01(0x11d)][_0x5f1a01(0x33f)](this);var _0x5be52f=this[_0x5f1a01(0x38a)],_0x273b65=_0x5be52f['iv'],_0x3c1c54=_0x5be52f[_0x5f1a01(0x32f)];this[_0x5f1a01(0x318)]==this['_ENC_XFORM_MODE']?_0x2eddce=_0x3c1c54[_0x5f1a01(0x2a9)]:(_0x2eddce=_0x3c1c54[_0x5f1a01(0x1ac)],this[_0x5f1a01(0x25d)]=0x1),this[_0x5f1a01(0x19b)]&&this[_0x5f1a01(0x19b)][_0x5f1a01(0x2e6)]==_0x2eddce?this[_0x5f1a01(0x19b)][_0x5f1a01(0x24d)](this,_0x273b65&&_0x273b65[_0x5f1a01(0x31c)]):(this['_mode']=_0x2eddce[_0x5f1a01(0x33f)](_0x3c1c54,this,_0x273b65&&_0x273b65[_0x5f1a01(0x31c)]),this[_0x5f1a01(0x19b)][_0x5f1a01(0x2e6)]=_0x2eddce);},'_doProcessBlock':function(_0x4333bc,_0x3f3a72){var _0x34106f=_0x2ab0f;this[_0x34106f(0x19b)][_0x34106f(0x2c6)](_0x4333bc,_0x3f3a72);},'_doFinalize':function(){var _0x3e45c1=_0x2ab0f,_0x43ed0b,_0x4835c1=this[_0x3e45c1(0x38a)][_0x3e45c1(0x2c8)];return this[_0x3e45c1(0x318)]==this[_0x3e45c1(0x1bb)]?(_0x4835c1['pad'](this['_data'],this[_0x3e45c1(0x32d)]),_0x43ed0b=this[_0x3e45c1(0x2cf)](!0x0)):(_0x43ed0b=this[_0x3e45c1(0x2cf)](!0x0),_0x4835c1[_0x3e45c1(0xaa)](_0x43ed0b)),_0x43ed0b;},'blockSize':0x80/0x20});var _0x1f7b81=_0x22b89f['CipherParams']=_0x3a3cc9['extend']({'init':function(_0x5e9819){var _0xf712f0=_0x2ab0f;this[_0xf712f0(0x2ae)](_0x5e9819);},'toString':function(_0x635f16){var _0x220e37=_0x2ab0f;return(_0x635f16||this[_0x220e37(0x1de)])['stringify'](this);}}),_0x31f9bd=_0x3a668d[_0x2ab0f(0x230)]={},_0x3dd84f=_0x31f9bd[_0x2ab0f(0x28f)]={'stringify':function(_0x3a1830){var _0x24e65b=_0x2ab0f,_0x185ccd,_0x116a52=_0x3a1830[_0x24e65b(0x2b0)],_0x81ec9a=_0x3a1830['salt'];return _0x81ec9a?_0x185ccd=_0x50ef02[_0x24e65b(0x34c)]([0x53616c74,0x65645f5f])[_0x24e65b(0x316)](_0x81ec9a)[_0x24e65b(0x316)](_0x116a52):_0x185ccd=_0x116a52,_0x185ccd[_0x24e65b(0xa4)](_0x78f5f4);},'parse':function(_0x246751){var _0x442308=_0x2ab0f,_0x375ffa,_0x1e2f96=_0x78f5f4[_0x442308(0x1f6)](_0x246751),_0x3b14c9=_0x1e2f96['words'];return _0x3b14c9[0x0]==0x53616c74&&_0x3b14c9[0x1]==0x65645f5f&&(_0x375ffa=_0x50ef02[_0x442308(0x34c)](_0x3b14c9['slice'](0x2,0x4)),_0x3b14c9[_0x442308(0x19c)](0x0,0x4),_0x1e2f96[_0x442308(0x1fd)]-=0x10),_0x1f7b81[_0x442308(0x34c)]({'ciphertext':_0x1e2f96,'salt':_0x375ffa});}},_0x33ed66=_0x22b89f[_0x2ab0f(0x362)]=_0x3a3cc9[_0x2ab0f(0x278)]({'cfg':_0x3a3cc9[_0x2ab0f(0x278)]({'format':_0x3dd84f}),'encrypt':function(_0x47f661,_0x29464a,_0xcb1aee,_0x2a3760){var _0x7e47f6=_0x2ab0f;_0x2a3760=this[_0x7e47f6(0x38a)][_0x7e47f6(0x278)](_0x2a3760);var _0x2e3bea=_0x47f661[_0x7e47f6(0x2a9)](_0xcb1aee,_0x2a3760),_0x3d1418=_0x2e3bea[_0x7e47f6(0x1b0)](_0x29464a),_0x31b6dc=_0x2e3bea[_0x7e47f6(0x38a)];return _0x1f7b81['create']({'ciphertext':_0x3d1418,'key':_0xcb1aee,'iv':_0x31b6dc['iv'],'algorithm':_0x47f661,'mode':_0x31b6dc[_0x7e47f6(0x32f)],'padding':_0x31b6dc[_0x7e47f6(0x2c8)],'blockSize':_0x47f661[_0x7e47f6(0x32d)],'formatter':_0x2a3760[_0x7e47f6(0x230)]});},'decrypt':function(_0x57f94b,_0x442c37,_0x430290,_0x564a04){var _0x22d3cf=_0x2ab0f;_0x564a04=this['cfg'][_0x22d3cf(0x278)](_0x564a04),_0x442c37=this[_0x22d3cf(0x340)](_0x442c37,_0x564a04[_0x22d3cf(0x230)]);var _0x5b540f=_0x57f94b['createDecryptor'](_0x430290,_0x564a04)[_0x22d3cf(0x1b0)](_0x442c37[_0x22d3cf(0x2b0)]);return _0x5b540f;},'_parse':function(_0x2c06f4,_0x2d45ec){var _0x48de59=_0x2ab0f;return typeof _0x2c06f4==_0x48de59(0x36f)?_0x2d45ec['parse'](_0x2c06f4,this):_0x2c06f4;}}),_0x3838fe=_0x3a668d['kdf']={},_0x103784=_0x3838fe[_0x2ab0f(0x28f)]={'execute':function(_0x2824cb,_0x1d0300,_0x12b46f,_0x34216a,_0x7da8bf){var _0x377196=_0x2ab0f;if(_0x34216a||(_0x34216a=_0x50ef02[_0x377196(0x29f)](0x40/0x8)),_0x7da8bf)var _0x3e8c33=_0x5bc136[_0x377196(0x34c)]({'keySize':_0x1d0300+_0x12b46f,'hasher':_0x7da8bf})[_0x377196(0x2a3)](_0x2824cb,_0x34216a);else var _0x3e8c33=_0x5bc136[_0x377196(0x34c)]({'keySize':_0x1d0300+_0x12b46f})[_0x377196(0x2a3)](_0x2824cb,_0x34216a);var _0x11ccb5=_0x50ef02[_0x377196(0x34c)](_0x3e8c33[_0x377196(0x31c)][_0x377196(0x326)](_0x1d0300),_0x12b46f*0x4);return _0x3e8c33[_0x377196(0x1fd)]=_0x1d0300*0x4,_0x1f7b81['create']({'key':_0x3e8c33,'iv':_0x11ccb5,'salt':_0x34216a});}},_0x51bb83=_0x22b89f[_0x2ab0f(0x24f)]=_0x33ed66[_0x2ab0f(0x278)]({'cfg':_0x33ed66[_0x2ab0f(0x38a)]['extend']({'kdf':_0x103784}),'encrypt':function(_0x22abe4,_0x26af76,_0x3b487c,_0x43c304){var _0x2d65ad=_0x2ab0f;_0x43c304=this[_0x2d65ad(0x38a)][_0x2d65ad(0x278)](_0x43c304);var _0x33c565=_0x43c304['kdf']['execute'](_0x3b487c,_0x22abe4['keySize'],_0x22abe4[_0x2d65ad(0x344)],_0x43c304[_0x2d65ad(0x329)],_0x43c304[_0x2d65ad(0xe3)]);_0x43c304['iv']=_0x33c565['iv'];var _0xb6401f=_0x33ed66[_0x2d65ad(0x1df)]['call'](this,_0x22abe4,_0x26af76,_0x33c565[_0x2d65ad(0x1f9)],_0x43c304);return _0xb6401f[_0x2d65ad(0x2ae)](_0x33c565),_0xb6401f;},'decrypt':function(_0x37305b,_0x2a5f55,_0x1572c5,_0x21b2fe){var _0x36979e=_0x2ab0f;_0x21b2fe=this[_0x36979e(0x38a)][_0x36979e(0x278)](_0x21b2fe),_0x2a5f55=this[_0x36979e(0x340)](_0x2a5f55,_0x21b2fe[_0x36979e(0x230)]);var _0x4530d0=_0x21b2fe['kdf'][_0x36979e(0x292)](_0x1572c5,_0x37305b[_0x36979e(0x17b)],_0x37305b['ivSize'],_0x2a5f55[_0x36979e(0x329)],_0x21b2fe['hasher']);_0x21b2fe['iv']=_0x4530d0['iv'];var _0x353d1c=_0x33ed66[_0x36979e(0x21d)][_0x36979e(0x33f)](this,_0x37305b,_0x2a5f55,_0x4530d0[_0x36979e(0x1f9)],_0x21b2fe);return _0x353d1c;}});}();}));}(Je)),Je[_0x5eb342(0xc1)];}var Vr=Ve['exports'],si;function Gr(){var _0x4ac512=_0x2b909d;return si||(si=0x1,function(_0x47c651,_0x5d9a11){(function(_0x12596c,_0x4329d0,_0x264e05){var _0x4b2bbb=_0x9ebb;_0x47c651[_0x4b2bbb(0xc1)]=_0x4329d0(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x339667){var _0x134062=_0x9ebb;return(function(){var _0x3a01fb=_0x9ebb,_0x1b45fd=_0x339667,_0x39b8ef=_0x1b45fd[_0x3a01fb(0x238)],_0x114217=_0x39b8ef[_0x3a01fb(0x36e)],_0x196b5e=_0x1b45fd[_0x3a01fb(0xe7)],_0x5984fb=[],_0x4e8b70=[],_0x21f336=[],_0x5e70c7=[],_0x4f796f=[],_0x25857f=[],_0x1cd49b=[],_0x625dfe=[],_0x4c49a0=[],_0x32b97f=[];(function(){for(var _0x2ce017=[],_0x149bed=0x0;_0x149bed<0x100;_0x149bed++)_0x149bed<0x80?_0x2ce017[_0x149bed]=_0x149bed<<0x1:_0x2ce017[_0x149bed]=_0x149bed<<0x1^0x11b;for(var _0x189b8f=0x0,_0x46d43a=0x0,_0x149bed=0x0;_0x149bed<0x100;_0x149bed++){var _0x1acd00=_0x46d43a^_0x46d43a<<0x1^_0x46d43a<<0x2^_0x46d43a<<0x3^_0x46d43a<<0x4;_0x1acd00=_0x1acd00>>>0x8^_0x1acd00&0xff^0x63,_0x5984fb[_0x189b8f]=_0x1acd00,_0x4e8b70[_0x1acd00]=_0x189b8f;var _0x4a5d36=_0x2ce017[_0x189b8f],_0x5db8a0=_0x2ce017[_0x4a5d36],_0x1a9cfc=_0x2ce017[_0x5db8a0],_0x575ee8=_0x2ce017[_0x1acd00]*0x101^_0x1acd00*0x1010100;_0x21f336[_0x189b8f]=_0x575ee8<<0x18|_0x575ee8>>>0x8,_0x5e70c7[_0x189b8f]=_0x575ee8<<0x10|_0x575ee8>>>0x10,_0x4f796f[_0x189b8f]=_0x575ee8<<0x8|_0x575ee8>>>0x18,_0x25857f[_0x189b8f]=_0x575ee8;var _0x575ee8=_0x1a9cfc*0x1010101^_0x5db8a0*0x10001^_0x4a5d36*0x101^_0x189b8f*0x1010100;_0x1cd49b[_0x1acd00]=_0x575ee8<<0x18|_0x575ee8>>>0x8,_0x625dfe[_0x1acd00]=_0x575ee8<<0x10|_0x575ee8>>>0x10,_0x4c49a0[_0x1acd00]=_0x575ee8<<0x8|_0x575ee8>>>0x18,_0x32b97f[_0x1acd00]=_0x575ee8,_0x189b8f?(_0x189b8f=_0x4a5d36^_0x2ce017[_0x2ce017[_0x2ce017[_0x1a9cfc^_0x4a5d36]]],_0x46d43a^=_0x2ce017[_0x2ce017[_0x46d43a]]):_0x189b8f=_0x46d43a=0x1;}}());var _0x252473=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x249540=_0x196b5e['AES']=_0x114217[_0x3a01fb(0x278)]({'_doReset':function(){var _0x63e46=_0x3a01fb,_0x46791d;if(!(this[_0x63e46(0xe0)]&&this['_keyPriorReset']===this[_0x63e46(0x360)])){for(var _0x883ba9=this[_0x63e46(0x314)]=this[_0x63e46(0x360)],_0x57217c=_0x883ba9[_0x63e46(0x31c)],_0x1b8f2e=_0x883ba9[_0x63e46(0x1fd)]/0x4,_0x49d588=this[_0x63e46(0xe0)]=_0x1b8f2e+0x6,_0x261dcb=(_0x49d588+0x1)*0x4,_0x13e5ec=this[_0x63e46(0xf0)]=[],_0x5ede5c=0x0;_0x5ede5c<_0x261dcb;_0x5ede5c++)_0x5ede5c<_0x1b8f2e?_0x13e5ec[_0x5ede5c]=_0x57217c[_0x5ede5c]:(_0x46791d=_0x13e5ec[_0x5ede5c-0x1],_0x5ede5c%_0x1b8f2e?_0x1b8f2e>0x6&&_0x5ede5c%_0x1b8f2e==0x4&&(_0x46791d=_0x5984fb[_0x46791d>>>0x18]<<0x18|_0x5984fb[_0x46791d>>>0x10&0xff]<<0x10|_0x5984fb[_0x46791d>>>0x8&0xff]<<0x8|_0x5984fb[_0x46791d&0xff]):(_0x46791d=_0x46791d<<0x8|_0x46791d>>>0x18,_0x46791d=_0x5984fb[_0x46791d>>>0x18]<<0x18|_0x5984fb[_0x46791d>>>0x10&0xff]<<0x10|_0x5984fb[_0x46791d>>>0x8&0xff]<<0x8|_0x5984fb[_0x46791d&0xff],_0x46791d^=_0x252473[_0x5ede5c/_0x1b8f2e|0x0]<<0x18),_0x13e5ec[_0x5ede5c]=_0x13e5ec[_0x5ede5c-_0x1b8f2e]^_0x46791d);for(var _0x589a3b=this[_0x63e46(0x28c)]=[],_0x1e997c=0x0;_0x1e997c<_0x261dcb;_0x1e997c++){var _0x5ede5c=_0x261dcb-_0x1e997c;if(_0x1e997c%0x4)var _0x46791d=_0x13e5ec[_0x5ede5c];else var _0x46791d=_0x13e5ec[_0x5ede5c-0x4];_0x1e997c<0x4||_0x5ede5c<=0x4?_0x589a3b[_0x1e997c]=_0x46791d:_0x589a3b[_0x1e997c]=_0x1cd49b[_0x5984fb[_0x46791d>>>0x18]]^_0x625dfe[_0x5984fb[_0x46791d>>>0x10&0xff]]^_0x4c49a0[_0x5984fb[_0x46791d>>>0x8&0xff]]^_0x32b97f[_0x5984fb[_0x46791d&0xff]];}}},'encryptBlock':function(_0x71462a,_0x544d5c){var _0x224a67=_0x3a01fb;this[_0x224a67(0x2a7)](_0x71462a,_0x544d5c,this[_0x224a67(0xf0)],_0x21f336,_0x5e70c7,_0x4f796f,_0x25857f,_0x5984fb);},'decryptBlock':function(_0x17ee85,_0x9de7c){var _0x10e4f4=_0x3a01fb,_0x83cab4=_0x17ee85[_0x9de7c+0x1];_0x17ee85[_0x9de7c+0x1]=_0x17ee85[_0x9de7c+0x3],_0x17ee85[_0x9de7c+0x3]=_0x83cab4,this[_0x10e4f4(0x2a7)](_0x17ee85,_0x9de7c,this[_0x10e4f4(0x28c)],_0x1cd49b,_0x625dfe,_0x4c49a0,_0x32b97f,_0x4e8b70);var _0x83cab4=_0x17ee85[_0x9de7c+0x1];_0x17ee85[_0x9de7c+0x1]=_0x17ee85[_0x9de7c+0x3],_0x17ee85[_0x9de7c+0x3]=_0x83cab4;},'_doCryptBlock':function(_0x52e19c,_0x233f87,_0x5ba2f9,_0x59d4ab,_0x3f48bd,_0x7453b1,_0x4cf4f7,_0x265356){for(var _0x38cb7e=this['_nRounds'],_0xb59010=_0x52e19c[_0x233f87]^_0x5ba2f9[0x0],_0x419499=_0x52e19c[_0x233f87+0x1]^_0x5ba2f9[0x1],_0x58e1ff=_0x52e19c[_0x233f87+0x2]^_0x5ba2f9[0x2],_0x5e3ea7=_0x52e19c[_0x233f87+0x3]^_0x5ba2f9[0x3],_0x57bd62=0x4,_0x160e04=0x1;_0x160e04<_0x38cb7e;_0x160e04++){var _0x272141=_0x59d4ab[_0xb59010>>>0x18]^_0x3f48bd[_0x419499>>>0x10&0xff]^_0x7453b1[_0x58e1ff>>>0x8&0xff]^_0x4cf4f7[_0x5e3ea7&0xff]^_0x5ba2f9[_0x57bd62++],_0x3ad6df=_0x59d4ab[_0x419499>>>0x18]^_0x3f48bd[_0x58e1ff>>>0x10&0xff]^_0x7453b1[_0x5e3ea7>>>0x8&0xff]^_0x4cf4f7[_0xb59010&0xff]^_0x5ba2f9[_0x57bd62++],_0x1c26f7=_0x59d4ab[_0x58e1ff>>>0x18]^_0x3f48bd[_0x5e3ea7>>>0x10&0xff]^_0x7453b1[_0xb59010>>>0x8&0xff]^_0x4cf4f7[_0x419499&0xff]^_0x5ba2f9[_0x57bd62++],_0x463b6a=_0x59d4ab[_0x5e3ea7>>>0x18]^_0x3f48bd[_0xb59010>>>0x10&0xff]^_0x7453b1[_0x419499>>>0x8&0xff]^_0x4cf4f7[_0x58e1ff&0xff]^_0x5ba2f9[_0x57bd62++];_0xb59010=_0x272141,_0x419499=_0x3ad6df,_0x58e1ff=_0x1c26f7,_0x5e3ea7=_0x463b6a;}var _0x272141=(_0x265356[_0xb59010>>>0x18]<<0x18|_0x265356[_0x419499>>>0x10&0xff]<<0x10|_0x265356[_0x58e1ff>>>0x8&0xff]<<0x8|_0x265356[_0x5e3ea7&0xff])^_0x5ba2f9[_0x57bd62++],_0x3ad6df=(_0x265356[_0x419499>>>0x18]<<0x18|_0x265356[_0x58e1ff>>>0x10&0xff]<<0x10|_0x265356[_0x5e3ea7>>>0x8&0xff]<<0x8|_0x265356[_0xb59010&0xff])^_0x5ba2f9[_0x57bd62++],_0x1c26f7=(_0x265356[_0x58e1ff>>>0x18]<<0x18|_0x265356[_0x5e3ea7>>>0x10&0xff]<<0x10|_0x265356[_0xb59010>>>0x8&0xff]<<0x8|_0x265356[_0x419499&0xff])^_0x5ba2f9[_0x57bd62++],_0x463b6a=(_0x265356[_0x5e3ea7>>>0x18]<<0x18|_0x265356[_0xb59010>>>0x10&0xff]<<0x10|_0x265356[_0x419499>>>0x8&0xff]<<0x8|_0x265356[_0x58e1ff&0xff])^_0x5ba2f9[_0x57bd62++];_0x52e19c[_0x233f87]=_0x272141,_0x52e19c[_0x233f87+0x1]=_0x3ad6df,_0x52e19c[_0x233f87+0x2]=_0x1c26f7,_0x52e19c[_0x233f87+0x3]=_0x463b6a;},'keySize':0x100/0x20});_0x1b45fd[_0x3a01fb(0x156)]=_0x114217['_createHelper'](_0x249540);}()),_0x339667[_0x134062(0x156)];}));}(Ve)),Ve[_0x4ac512(0xc1)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x2b909d(0xc1)],ai;function zr(){var _0x2c0668=_0x2b909d;return ai||(ai=0x1,function(_0x4d2fc8,_0x32f141){(function(_0x51d793,_0x5d4bfa){var _0x4841bb=_0x9ebb;_0x4d2fc8[_0x4841bb(0xc1)]=_0x5d4bfa(ne());}(qr,function(_0x3d92d9){var _0x80b21d=_0x9ebb;return _0x3d92d9[_0x80b21d(0x3a3)]['Utf8'];}));}(Xe)),Xe[_0x2c0668(0xc1)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x2b909d(0xc1)],ci;function Qr(){return ci||(ci=0x1,function(_0xa52ea3,_0x396da3){(function(_0x2dafda,_0x413bf7){var _0x174281=_0x9ebb;_0xa52ea3[_0x174281(0xc1)]=_0x413bf7(ne());}(Zr,function(_0x4a238d){var _0x14cf8d=_0x9ebb;return(function(){var _0x4cbc1b=_0x9ebb;if(typeof ArrayBuffer==_0x4cbc1b(0x260)){var _0x4e8f64=_0x4a238d,_0x28ce21=_0x4e8f64[_0x4cbc1b(0x238)],_0x5a197d=_0x28ce21[_0x4cbc1b(0xf6)],_0xab3957=_0x5a197d['init'],_0x37530=_0x5a197d[_0x4cbc1b(0x24d)]=function(_0xf8bcb2){var _0x488684=_0x4cbc1b;if(_0xf8bcb2 instanceof ArrayBuffer&&(_0xf8bcb2=new Uint8Array(_0xf8bcb2)),(_0xf8bcb2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf8bcb2 instanceof Uint8ClampedArray||_0xf8bcb2 instanceof Int16Array||_0xf8bcb2 instanceof Uint16Array||_0xf8bcb2 instanceof Int32Array||_0xf8bcb2 instanceof Uint32Array||_0xf8bcb2 instanceof Float32Array||_0xf8bcb2 instanceof Float64Array)&&(_0xf8bcb2=new Uint8Array(_0xf8bcb2['buffer'],_0xf8bcb2['byteOffset'],_0xf8bcb2[_0x488684(0xcd)])),_0xf8bcb2 instanceof Uint8Array){for(var _0x22fe9c=_0xf8bcb2[_0x488684(0xcd)],_0x5190d5=[],_0x5ead04=0x0;_0x5ead04<_0x22fe9c;_0x5ead04++)_0x5190d5[_0x5ead04>>>0x2]|=_0xf8bcb2[_0x5ead04]<<0x18-_0x5ead04%0x4*0x8;_0xab3957[_0x488684(0x33f)](this,_0x5190d5,_0x22fe9c);}else _0xab3957['apply'](this,arguments);};_0x37530[_0x4cbc1b(0x367)]=_0x5a197d;}}()),_0x4a238d[_0x14cf8d(0x238)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x2b909d(0xc1)],hi;function ns(){var _0x59acdf=_0x2b909d;return hi||(hi=0x1,function(_0xdecffe,_0x395ec0){(function(_0x4b0163,_0x5d1598,_0x144d53){_0xdecffe['exports']=_0x5d1598(ne(),Ai());}(is,function(_0x34ce5d){var _0x4c3df7=_0x9ebb;return _0x34ce5d['pad'][_0x4c3df7(0x36d)]={'pad':function(){},'unpad':function(){}},_0x34ce5d[_0x4c3df7(0x2be)][_0x4c3df7(0x36d)];}));}(Qe)),Qe[_0x59acdf(0xc1)];}var rs=ns();const ss=ke(rs);function os(_0x253022,_0x46577a){var _0x5326ea=_0x2b909d;const _0x2fb98b=_0x46577a-_0x253022[_0x5326ea(0x20b)]%_0x46577a,_0x31da80=String['fromCharCode'](_0x2fb98b)[_0x5326ea(0x392)](_0x2fb98b);return _0x253022+_0x31da80;}function as(_0x2fb454,_0x4c35e0){var _0x3f9fb3=_0x2b909d;const _0x2857ef=ts['random'](0x10),_0x219f1f=os(_0x2fb454,0x10),_0x25549b=Kr[_0x3f9fb3(0x1df)](Xr[_0x3f9fb3(0x1f6)](_0x219f1f),oi['parse'](_0x4c35e0),{'iv':_0x2857ef,'padding':ss});return _0x2857ef['concat'](_0x25549b['ciphertext'])[_0x3f9fb3(0xa4)](oi);}function cs(){var _0x1cbf38=_0x2b909d;const _0x3270fd=_0x4dc302()['__Key__'];if(_0x3270fd){const _0x41f981={'time':Math[_0x1cbf38(0x13f)](Date[_0x1cbf38(0xb0)]()/0x3e8),'domain':location[_0x1cbf38(0x350)]};return as(JSON[_0x1cbf38(0x152)](_0x41f981),_0x3270fd);}}var hs=Object['defineProperty'],_s=Object[_0x2b909d(0x2fa)],ls=(_0x39dc51,_0x3cdf93,_0x3ca697,_0x2914cf)=>{var _0x6d9e5b=_0x2b909d;for(var _0x1b5a10=_0x2914cf>0x1?void 0x0:_0x2914cf?_s(_0x3cdf93,_0x3ca697):_0x3cdf93,_0x1b8cdf=_0x39dc51[_0x6d9e5b(0x20b)]-0x1,_0x52dc5c;_0x1b8cdf>=0x0;_0x1b8cdf--)(_0x52dc5c=_0x39dc51[_0x1b8cdf])&&(_0x1b5a10=(_0x2914cf?_0x52dc5c(_0x3cdf93,_0x3ca697,_0x1b5a10):_0x52dc5c(_0x1b5a10))||_0x1b5a10);return _0x2914cf&&_0x1b5a10&&hs(_0x3cdf93,_0x3ca697,_0x1b5a10),_0x1b5a10;},us=(_0x47a58b,_0x3901b4)=>(_0x3b636f,_0x5dc63c)=>_0x3901b4(_0x3b636f,_0x5dc63c,_0x47a58b);let ot=class{constructor(_0x2aba87){var _0x653395=_0x2b909d;this['_httpService']=_0x2aba87,this[_0x653395(0x13e)]();}[_0x2b909d(0x13e)](){var _0x130792=_0x2b909d;this[_0x130792(0x15b)][_0x130792(0x123)]({'interceptor':(_0x1c3820,_0x36660e)=>{var _0x55e35c=_0x130792;const _0xed0342=_0x1c3820[_0x55e35c(0xb4)],_0x52e8d2=cs();return _0x52e8d2&&_0xed0342[_0x55e35c(0xd8)](_0x55e35c(0x126),_0x52e8d2),_0x36660e(_0x1c3820);}});}};ot=ls([us(0x0,_0x810bfa(_0x561c6c))],ot);var ds=Object[_0x2b909d(0xb6)],fs=Object[_0x2b909d(0x2fa)],vs=(_0x26cc9c,_0x3f0488,_0x56b9e0,_0x11e343)=>{var _0x45b33d=_0x2b909d;for(var _0x39ec1e=_0x11e343>0x1?void 0x0:_0x11e343?fs(_0x3f0488,_0x56b9e0):_0x3f0488,_0x2d1f6d=_0x26cc9c[_0x45b33d(0x20b)]-0x1,_0xf7c1c4;_0x2d1f6d>=0x0;_0x2d1f6d--)(_0xf7c1c4=_0x26cc9c[_0x2d1f6d])&&(_0x39ec1e=(_0x11e343?_0xf7c1c4(_0x3f0488,_0x56b9e0,_0x39ec1e):_0xf7c1c4(_0x39ec1e))||_0x39ec1e);return _0x11e343&&_0x39ec1e&&ds(_0x3f0488,_0x56b9e0,_0x39ec1e),_0x39ec1e;},mt=(_0x1901fd,_0x23b21a)=>(_0x4d921a,_0x3bffad)=>_0x23b21a(_0x4d921a,_0x3bffad,_0x1901fd);let Ot=class extends _0x5a208c{constructor(_0x287653,_0x4d4be0,_0x2261f8){var _0x5bc226=_0x2b909d;super(),N(this,_0x5bc226(0x2d5),new _0x167a8f(null)),N(this,'unitInfo$',this[_0x5bc226(0x2d5)][_0x5bc226(0x257)]()),(this[_0x5bc226(0x2dd)]=_0x287653,this[_0x5bc226(0x236)]=_0x4d4be0,this[_0x5bc226(0x196)]=_0x2261f8);}async[_0x2b909d(0x1e1)](_0x2b53ff,_0x2f4b51,_0x5bb920){var _0x54a3e4=_0x2b909d;this['_unitInfo$']['next']({'unitId':_0x2b53ff,'type':_0x2f4b51,'subUnitId':_0x5bb920});let _0x3196be=null;switch(_0x2f4b51){case Q[_0x54a3e4(0x25c)]:{_0x3196be=await this[_0x54a3e4(0x2f3)](_0x2b53ff);break;}case Q[_0x54a3e4(0xf1)]:{_0x3196be=await this[_0x54a3e4(0x365)](_0x2b53ff);break;}default:{this[_0x54a3e4(0x2dd)][_0x54a3e4(0xba)](_0x54a3e4(0x333),_0x54a3e4(0x1cb));break;}}return _0x3196be;}async['_loadSheet'](_0xd8fa73){var _0x4cb4f5=_0x2b909d,_0x4a4910;let _0xcd8d35=0x0;const _0x5cec66=await((_0x4a4910=this[_0x4cb4f5(0x196)])==null?void 0x0:_0x4a4910[_0x4cb4f5(0x22b)](_0xd8fa73));return _0x5cec66&&(_0x5cec66[_0x4cb4f5(0x13a)]||_0x5cec66['mutations']['length']!==0x0)&&(_0xcd8d35=_0x5cec66[_0x4cb4f5(0xb2)]),_0xcd8d35===0x0&&this[_0x4cb4f5(0x2dd)][_0x4cb4f5(0x252)](_0x4cb4f5(0x333),_0x4cb4f5(0xb7)),this['_snapshotService'][_0x4cb4f5(0x261)](_0xd8fa73,_0xcd8d35);}async[_0x2b909d(0x365)](_0x3a6198){var _0x2c9427=_0x2b909d,_0x28321e;let _0x428abe=0x0;const _0x38420f=await((_0x28321e=this[_0x2c9427(0x196)])==null?void 0x0:_0x28321e[_0x2c9427(0x22b)](_0x3a6198));return _0x38420f&&(_0x38420f['awaitingChangeset']||_0x38420f[_0x2c9427(0xd0)][_0x2c9427(0x20b)]!==0x0)&&(_0x428abe=_0x38420f[_0x2c9427(0xb2)]),_0x428abe===0x0&&this[_0x2c9427(0x2dd)][_0x2c9427(0x252)](_0x2c9427(0x333),_0x2c9427(0xb7)),this['_snapshotService'][_0x2c9427(0x38d)](_0x3a6198,_0x428abe);}};Ot=vs([mt(0x0,_0x3b937c),mt(0x1,_0x810bfa(_0xae1688)),mt(0x2,_0x576a69(J))],Ot);var ps=Object[_0x2b909d(0xb6)],ms=Object[_0x2b909d(0x2fa)],gs=(_0x38a964,_0x268491,_0xda5ffe,_0x258271)=>{var _0x1917b5=_0x2b909d;for(var _0x3e6beb=_0x258271>0x1?void 0x0:_0x258271?ms(_0x268491,_0xda5ffe):_0x268491,_0x2426f7=_0x38a964[_0x1917b5(0x20b)]-0x1,_0x115bd5;_0x2426f7>=0x0;_0x2426f7--)(_0x115bd5=_0x38a964[_0x2426f7])&&(_0x3e6beb=(_0x258271?_0x115bd5(_0x268491,_0xda5ffe,_0x3e6beb):_0x115bd5(_0x3e6beb))||_0x3e6beb);return _0x258271&&_0x3e6beb&&ps(_0x268491,_0xda5ffe,_0x3e6beb),_0x3e6beb;},gt=(_0x5a7f59,_0x384d46)=>(_0x18d060,_0x350646)=>_0x384d46(_0x18d060,_0x350646,_0x5a7f59);const Ss=[_0x2b909d(0x213),_0x2b909d(0x2da),_0x2b909d(0x159),_0x2b909d(0x21b),_0x2b909d(0xd7)],Es=0x5*0x400*0x400,Is=_0x2b909d(0x34a),Ts=_0x2b909d(0x18d),Cs=_0x2b909d(0x111),Rs=_0x2b909d(0x353);let yt=class{constructor(_0x5f0be2,_0x2890ba,_0x7fc668){var _0x1e87e1=_0x2b909d;N(this,'_waitCount',0x0),N(this,_0x1e87e1(0x243),new _0x558b23()),N(this,_0x1e87e1(0x23d),this[_0x1e87e1(0x243)]),N(this,_0x1e87e1(0x2f8),new Map()),(this['_httpService']=_0x5f0be2,this[_0x1e87e1(0x14e)]=_0x2890ba,this[_0x1e87e1(0x297)]=_0x7fc668);}[_0x2b909d(0xd5)](_0x314864){var _0x118b2e=_0x2b909d;this['_waitCount']=_0x314864,this[_0x118b2e(0x243)][_0x118b2e(0x1dc)](_0x314864);}[_0x2b909d(0x2bf)](_0xa8bacf,_0x2af19d){var _0x53201f=_0x2b909d;if(_0x2af19d===_0x5b17f5[_0x53201f(0x206)]){const _0x271c12=new Image();return _0x271c12[_0x53201f(0x351)]=_0xa8bacf,_0x271c12;}return this['_imageSourceCache'][_0x53201f(0xf5)](_0xa8bacf);}[_0x2b909d(0x13c)](_0x5f0e42,_0x78c9dc,_0x366b68){var _0x5f3575=_0x2b909d;_0x78c9dc===_0x5b17f5[_0x5f3575(0x206)]||_0x366b68==null||this['_imageSourceCache'][_0x5f3575(0xd8)](_0x5f0e42,_0x366b68);}async[_0x2b909d(0x18c)](_0x1d980f){var _0xbfe986=_0x2b909d;try{const _0x50b6d=this['_replaceFileID'](this[_0xbfe986(0x134)](),''+_0x1d980f),_0x42f730=(await this[_0xbfe986(0x15b)][_0xbfe986(0xf5)](_0x50b6d))[_0xbfe986(0x2c3)];if(_0x42f730['error']&&_0x42f730['error'][_0xbfe986(0x12d)]===Ii['OK']){const _0x363a86=new URL(_0x42f730['url'],this[_0xbfe986(0x1af)]())['toString']();return Promise[_0xbfe986(0x244)](_0x363a86);}return Promise['reject'](_0x42f730['error']);}catch(_0x1cfc87){return Promise[_0xbfe986(0x172)](_0x1cfc87);}}async[_0x2b909d(0x153)](_0x30d097){var _0x264393=_0x2b909d;let _0x29abb0='';if(!Ss[_0x264393(0x262)](_0x30d097[_0x264393(0x32a)]))return this[_0x264393(0x214)](),Promise[_0x264393(0x172)](new Error(_0x31d262[_0x264393(0x36a)]));if(_0x30d097[_0x264393(0x181)]>Es)return this[_0x264393(0x214)](),Promise['reject'](new Error(_0x31d262['ERROR_EXCEED_SIZE']));try{const _0x391d2d=new FormData();_0x391d2d['append']('file',_0x30d097);const _0x5b988c=this['_univerInstanceService'][_0x264393(0xda)](),_0x59839c=_0x5b988c==null?void 0x0:_0x5b988c[_0x264393(0x12e)]();if(!_0x59839c)throw new Error('unitId\x20is\x20not\x20found');const _0x5079e5=this['_getUploadFileURL']()+_0x264393(0x155)+_0x30d097['size'][_0x264393(0xa4)]()+'&source='+Ti['UnitEmbedded']+_0x264393(0xcc)+encodeURIComponent(_0x59839c),_0x11073f=await(await fetch(_0x5079e5,{'method':_0x264393(0x395),'body':_0x391d2d}))['json']();if(typeof _0x11073f['FileId']!=_0x264393(0x36f))return this[_0x264393(0x214)](),Promise['reject'](new Error(_0x31d262[_0x264393(0x16f)]));_0x29abb0=_0x11073f['FileId'];}catch{return this[_0x264393(0x214)](),Promise[_0x264393(0x172)](new Error(_0x31d262[_0x264393(0x16f)]));}return new Promise((_0x433615,_0x2d7b53)=>{var _0x3af1c6=_0x264393;const _0x490692=new FileReader();_0x490692[_0x3af1c6(0x2ce)](_0x30d097),_0x490692['onload']=_0x3c533e=>{var _0x53f30c=_0x3af1c6,_0xd73692;const _0x42dbb3=(_0xd73692=_0x3c533e[_0x53f30c(0x35a)])==null?void 0x0:_0xd73692[_0x53f30c(0x1ee)];if(_0x42dbb3==null){this['_decreaseWaiting'](),_0x2d7b53(new Error(_0x31d262['ERROR_IMAGE']));return;}const _0x2bdf2e=_0x2cf444[_0x53f30c(0x162)](0x6);_0x433615({'imageId':_0x2bdf2e,'imageSourceType':_0x5b17f5['UUID'],'source':_0x29abb0,'base64Cache':_0x42dbb3,'status':_0x31d262[_0x53f30c(0x223)]}),this[_0x53f30c(0x214)]();};});}[_0x2b909d(0x2cb)](){var _0x3c0f62=_0x2b909d,_0x392066,_0x4a9bb4;const _0x5eceb7=this[_0x3c0f62(0x14e)][_0x3c0f62(0x177)](Is),_0x18668c=this['_configService'][_0x3c0f62(0x177)](q);return(_0x4a9bb4=(_0x392066=_0x18668c==null?void 0x0:_0x18668c['uploadFileServerUrl'])!=null?_0x392066:_0x5eceb7)!=null?_0x4a9bb4:Ts;}[_0x2b909d(0x134)](){var _0x2f26e2=_0x2b909d,_0x213e50,_0x4d4fce;const _0x3fadf3=this[_0x2f26e2(0x14e)][_0x2f26e2(0x177)](Cs),_0x139d48=this[_0x2f26e2(0x14e)]['getConfig'](q);return(_0x4d4fce=(_0x213e50=_0x139d48==null?void 0x0:_0x139d48[_0x2f26e2(0xe4)])!=null?_0x213e50:_0x3fadf3)!=null?_0x4d4fce:Rs;}[_0x2b909d(0x1af)](){var _0x3e041c=_0x2b909d,_0x4b274c;const _0x57d89e=this['_configService']['getConfig'](q);return(_0x4b274c=_0x57d89e==null?void 0x0:_0x57d89e['downloadEndpointUrl'])!=null?_0x4b274c:location[_0x3e041c(0x39b)];}['_replaceFileID'](_0x23cc5a,_0x322c62){var _0x3bd06d=_0x2b909d;return _0x23cc5a[_0x3bd06d(0xdc)](_0x3bd06d(0x2ec),_0x322c62);}[_0x2b909d(0x214)](){var _0xedee8e=_0x2b909d;this['_waitCount']-=0x1,this[_0xedee8e(0x243)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x810bfa(_0x561c6c)),gt(0x1,_0x322413),gt(0x2,_0x810bfa(_0x3d1ff0))],yt);var bs=Object['defineProperty'],Os=Object[_0x2b909d(0x2fa)],ys=(_0x30130d,_0x245f7d,_0x28735b,_0x23469c)=>{var _0x4dc3ce=_0x2b909d;for(var _0xb8aaa9=_0x23469c>0x1?void 0x0:_0x23469c?Os(_0x245f7d,_0x28735b):_0x245f7d,_0xb3c3ff=_0x30130d[_0x4dc3ce(0x20b)]-0x1,_0x3acbb4;_0xb3c3ff>=0x0;_0xb3c3ff--)(_0x3acbb4=_0x30130d[_0xb3c3ff])&&(_0xb8aaa9=(_0x23469c?_0x3acbb4(_0x245f7d,_0x28735b,_0xb8aaa9):_0x3acbb4(_0xb8aaa9))||_0xb8aaa9);return _0x23469c&&_0xb8aaa9&&bs(_0x245f7d,_0x28735b,_0xb8aaa9),_0xb8aaa9;},_i=(_0x4a508f,_0x187b20)=>(_0x441f60,_0x400faa)=>_0x187b20(_0x441f60,_0x400faa,_0x4a508f);const Ns='/universer-api/authz';let Nt=class{constructor(_0x211976,_0x47248a){var _0x412f59=_0x2b909d;this[_0x412f59(0x14e)]=_0x211976,this[_0x412f59(0x2d6)]=_0x47248a;}[_0x2b909d(0x330)](){var _0x299c61=_0x2b909d,_0xe7d532,_0x16cf30;const _0x4d61f3=this[_0x299c61(0x14e)][_0x299c61(0x177)](Pi),_0x5c1486=this['_configService'][_0x299c61(0x177)](q);return(_0x16cf30=(_0xe7d532=_0x5c1486==null?void 0x0:_0x5c1486[_0x299c61(0x1e5)])!=null?_0xe7d532:_0x4d61f3)!=null?_0x16cf30:Ns;}async['list'](_0xeb3088){var _0x4a3819=_0x2b909d;const _0x45668a=this[_0x4a3819(0x330)]()+_0x4a3819(0x285);return{'list':[{'title':'People','mentions':(await this[_0x4a3819(0x2d6)][_0x4a3819(0xf5)](_0x45668a,{'params':{'objectID':_0xeb3088['unitId'],'unitID':_0xeb3088[_0x4a3819(0x375)]}}))[_0x4a3819(0x2c3)][_0x4a3819(0x101)]['map'](_0x287c8f=>({'objectId':_0x287c8f['id'],'name':_0x287c8f['subject']['name'],'metadata':{'icon':_0x287c8f['subject']['avatar']},'label':_0x287c8f[_0x4a3819(0x34b)]['name'],'objectType':_0x191980[_0x4a3819(0x1d1)]})),'metadata':{},'type':_0x191980['PERSON']}]};}};Nt=ys([_i(0x0,_0x810bfa(_0x322413)),_i(0x1,_0x810bfa(_0x561c6c))],Nt);var Ds=Object[_0x2b909d(0xb6)],Ps=Object[_0x2b909d(0x2fa)],ws=(_0x171a76,_0x1700b3,_0x2325f4,_0x40a6df)=>{var _0x1499c7=_0x2b909d;for(var _0x5ca294=_0x40a6df>0x1?void 0x0:_0x40a6df?Ps(_0x1700b3,_0x2325f4):_0x1700b3,_0x1ce48a=_0x171a76[_0x1499c7(0x20b)]-0x1,_0x35503f;_0x1ce48a>=0x0;_0x1ce48a--)(_0x35503f=_0x171a76[_0x1ce48a])&&(_0x5ca294=(_0x40a6df?_0x35503f(_0x1700b3,_0x2325f4,_0x5ca294):_0x35503f(_0x5ca294))||_0x5ca294);return _0x40a6df&&_0x5ca294&&Ds(_0x1700b3,_0x2325f4,_0x5ca294),_0x5ca294;},Se=(_0x44f683,_0x2fc8b2)=>(_0x154ce5,_0x5759aa)=>_0x2fc8b2(_0x154ce5,_0x5759aa,_0x44f683);let at=class extends _0x5a208c{constructor(_0x4d730a,_0x1ef089,_0xb13021,_0x2eedbd,_0x4f2cae,_0x5e842d,_0x27776b){var _0xa8c782=_0x2b909d;super(),this[_0xa8c782(0x3a2)]=_0x4d730a,this[_0xa8c782(0x297)]=_0x1ef089,this[_0xa8c782(0x31b)]=_0xb13021,this[_0xa8c782(0xc9)]=_0x2eedbd,this[_0xa8c782(0x248)]=_0x4f2cae,this[_0xa8c782(0x2b9)]=_0x5e842d,this[_0xa8c782(0x2b4)]=_0x27776b,this['_initUnitPermissionChange'](),this[_0xa8c782(0x39c)]();}[_0x2b909d(0x39c)](){var _0xc42183=_0x2b909d;const _0x1cf05a=async _0x5e0979=>{var _0x48cbab=_0x9ebb;(await this['_collaborationSessionService'][_0x48cbab(0x1fc)](_0x5e0979))['event$'][_0x48cbab(0x29a)](_0x3d2e9e(_0x4f753b=>_0x4f753b[_0x48cbab(0x35b)]===_0x1ad9e6[_0x48cbab(0x192)]),_0x371c58(this['dispose$']))[_0x48cbab(0x2d4)](_0x2e55f6=>{var _0x15cd83=_0x48cbab;const _0x59b099=_0x2e55f6,{reason:_0x19f2b4}=_0x59b099['data'];this[_0x15cd83(0x248)]['emitEvent']({'id':se[_0x15cd83(0x1ce)],'data':_0x19f2b4}),this[_0x15cd83(0x31b)][_0x15cd83(0x11e)](new _0x283c51(_0x5e0979)['id'],!0x1),this[_0x15cd83(0xc9)][_0x15cd83(0xd3)](_0x5e0979);});};_0x44310e(this['_univerInstanceService'][_0xc42183(0x110)](_0x464735[_0xc42183(0x25c)]),this[_0xc42183(0x297)][_0xc42183(0x110)](_0x464735[_0xc42183(0xf1)]))[_0xc42183(0x29a)](_0x4df9ea(_0x4e16b5=>_0x4e16b5[_0xc42183(0x12e)]()),_0x3d2e9e(_0x1d9dde=>!_0x3de3f9(_0x1d9dde)),_0x371c58(this['dispose$']))['subscribe'](_0x5eaf58=>{_0x1cf05a(_0x5eaf58);});}[_0x2b909d(0x2ac)](){var _0x4dee8c=_0x2b909d;const _0x248bf8=async _0x489459=>{var _0x1068d6=_0x9ebb;const _0x552aaa=await this[_0x1068d6(0xc9)][_0x1068d6(0x1fc)](_0x489459),_0x1b454f=this[_0x1068d6(0x3a2)][_0x1068d6(0xf5)](_0x1a872a);_0x552aaa['event$'][_0x1068d6(0x29a)](_0x3d2e9e(_0x565a03=>_0x565a03[_0x1068d6(0x35b)]===_0x1ad9e6[_0x1068d6(0x393)]),_0x371c58(this['dispose$']))[_0x1068d6(0x2d4)](_0x56202f=>{var _0x2c8db1=_0x1068d6;const _0x277a9a=_0x56202f,{objectId:_0x2e4920}=_0x277a9a['data'];_0x2e4920===_0x489459?_0x1b454f[_0x2c8db1(0x205)](_0x489459):_0x1b454f[_0x2c8db1(0x119)](_0x489459,_0x2e4920);});};_0x44310e(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x464735[_0x4dee8c(0x25c)]),this[_0x4dee8c(0x297)]['getTypeOfUnitAdded$'](_0x464735[_0x4dee8c(0xf1)]))[_0x4dee8c(0x29a)](_0x4df9ea(_0xb83e24=>_0xb83e24['getUnitId']()),_0x3d2e9e(_0x40177e=>!_0x3de3f9(_0x40177e)),_0x371c58(this[_0x4dee8c(0x208)]))['subscribe'](_0x55aa68=>{_0x248bf8(_0x55aa68);});}};at=ws([Se(0x0,_0x810bfa(_0x4720a8)),Se(0x1,_0x3d1ff0),Se(0x2,_0x31e5b9),Se(0x3,_0x810bfa(Le)),Se(0x4,_0x810bfa(pe)),Se(0x5,_0x235e42),Se(0x6,_0x19e773)],at);var Us=Object[_0x2b909d(0xb6)],As=Object[_0x2b909d(0x2fa)],xs=(_0x211abe,_0x56e0e0,_0xe3d3f0,_0x157609)=>{for(var _0x1949ee=_0x157609>0x1?void 0x0:_0x157609?As(_0x56e0e0,_0xe3d3f0):_0x56e0e0,_0x37ab14=_0x211abe['length']-0x1,_0x4e83f6;_0x37ab14>=0x0;_0x37ab14--)(_0x4e83f6=_0x211abe[_0x37ab14])&&(_0x1949ee=(_0x157609?_0x4e83f6(_0x56e0e0,_0xe3d3f0,_0x1949ee):_0x4e83f6(_0x1949ee))||_0x1949ee);return _0x157609&&_0x1949ee&&Us(_0x56e0e0,_0xe3d3f0,_0x1949ee),_0x1949ee;},li=(_0xf7084f,_0x2a19b6)=>(_0x51c9f3,_0xa79717)=>_0x2a19b6(_0x51c9f3,_0xa79717,_0xf7084f);let Dt=class{constructor(_0x4a5739,_0x5dcb99){var _0xaad330=_0x2b909d;this[_0xaad330(0x14e)]=_0x4a5739,this[_0xaad330(0x15b)]=_0x5dcb99;}async[_0x2b909d(0x380)](_0x3d1f69,_0x3d2f44){var _0x4347eb=_0x2b909d,_0x4403ba;const {unitID:_0x362426,type:_0x2bb96e,revision:_0x3af23a=0x0}=_0x3d2f44,_0x4e1ae0=this[_0x4347eb(0x170)]()+'/'+_0x2bb96e+'/unit/'+_0x362426+_0x4347eb(0x396)+_0x3af23a,_0x53e876=(await this[_0x4347eb(0x15b)]['get'](_0x4e1ae0))['body'],_0x17eb10=(_0x4403ba=_0x53e876[_0x4347eb(0x1e7)])==null?void 0x0:_0x4403ba[_0x4347eb(0x22a)];if(_0x17eb10){const _0x58333b=_0x17eb10==null?void 0x0:_0x17eb10[_0x4347eb(0x2a2)],_0x5ac174=_0x398ae6['encode'](_0x61ddf4(_0x58333b));_0x17eb10[_0x4347eb(0x2a2)]=_0x5ac174,Object[_0x4347eb(0x20f)](_0x17eb10[_0x4347eb(0x168)])[_0x4347eb(0x1ca)](([,_0x468e08])=>{var _0x550b04=_0x4347eb;const _0x234460=_0x468e08[_0x550b04(0x2a2)],_0x130cd7=_0x398ae6[_0x550b04(0x286)](_0x61ddf4(_0x234460));_0x468e08[_0x550b04(0x2a2)]=_0x130cd7;});}return _0x53e876;}async['getSheetBlock'](_0x108cb7,_0x1f4e6){var _0x1f9cd0=_0x2b909d;const {unitID:_0x33ab36,type:_0x5cb5c0,blockID:_0x51924b}=_0x1f4e6,_0x4a56cf=this[_0x1f9cd0(0x107)]()+'/'+_0x5cb5c0+_0x1f9cd0(0x17c)+_0x33ab36+_0x1f9cd0(0x388)+_0x51924b;return(await this[_0x1f9cd0(0x15b)][_0x1f9cd0(0xf5)](_0x4a56cf))[_0x1f9cd0(0x2c3)];}async[_0x2b909d(0x103)](_0x31a8d7,_0xbec8cf){var _0x69f07a=_0x2b909d;const {unitID:_0x3d5dd6,type:_0x340da0,blockID:_0x27f59e}=_0xbec8cf,_0x11528a=this[_0x69f07a(0x107)]()+_0x69f07a(0x388)+_0x340da0+_0x69f07a(0x17c)+_0x3d5dd6+_0x69f07a(0x388)+_0x27f59e;return(await this[_0x69f07a(0x15b)][_0x69f07a(0xf5)](_0x11528a))[_0x69f07a(0x2c3)];}async[_0x2b909d(0x288)](_0x5ae5a1,_0x2e3b51){var _0x345c47=_0x2b909d;const {unitID:_0x3ada8b,type:_0x2570cc,from:_0x560d6d,to:_0x54cbb9}=_0x2e3b51,_0x2b9dbf=this[_0x345c47(0x107)]()+'/'+_0x2570cc+_0x345c47(0x17c)+_0x3ada8b+_0x345c47(0x18f)+_0x560d6d+_0x345c47(0xd4)+_0x54cbb9;return(await this['_httpService'][_0x345c47(0xf5)](_0x2b9dbf))[_0x345c47(0x2c3)];}[_0x2b909d(0x170)](){var _0x5412a8=_0x2b909d,_0x424783;return(_0x424783=this['_configService'][_0x5412a8(0x177)](Tn))!=null?_0x424783:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x37be4d=_0x2b909d,_0x35cb32,_0x310d06;const _0x2ffbb5=this[_0x37be4d(0x14e)]['getConfig'](En),_0x245d1b=this[_0x37be4d(0x14e)][_0x37be4d(0x177)](q);return(_0x310d06=(_0x35cb32=_0x245d1b==null?void 0x0:_0x245d1b[_0x37be4d(0x27c)])!=null?_0x35cb32:_0x2ffbb5)!=null?_0x310d06:In;}async[_0x2b909d(0x139)](_0x4c26a3,_0x5cb480){var _0x5a6dd0=_0x2b909d;const _0xfbb5b6=_0x5a6dd0(0x200)+_0x5cb480['type']+_0x5a6dd0(0x17c)+_0x5cb480[_0x5a6dd0(0x210)]+_0x5a6dd0(0x1ff);return(await this['_httpService']['get'](_0xfbb5b6,{'params':{'resourceId':JSON['stringify'](_0x5cb480[_0x5a6dd0(0x1c5)])}}))[_0x5a6dd0(0x2c3)];}['saveSnapshot'](){var _0x36017c=_0x2b909d;throw new Error(_0x36017c(0x2f0));}[_0x2b909d(0xef)](){var _0x4ae6db=_0x2b909d;throw new Error(_0x4ae6db(0x2f0));}[_0x2b909d(0x22e)](){var _0x511683=_0x2b909d;throw new Error(_0x511683(0x2f0));}[_0x2b909d(0x136)](){var _0x1a7f7e=_0x2b909d;throw new Error(_0x1a7f7e(0x2f0));}[_0x2b909d(0x2e0)](){var _0x4ca2ac=_0x2b909d;throw new Error(_0x4ca2ac(0x2f0));}};Dt=xs([li(0x0,_0x322413),li(0x1,_0x810bfa(_0x561c6c))],Dt);var Ls=Object[_0x2b909d(0xb6)],Ms=Object[_0x2b909d(0x2fa)],$s=(_0x4568e5,_0x304ffd,_0x23c72b,_0x28d759)=>{for(var _0x25e687=_0x28d759>0x1?void 0x0:_0x28d759?Ms(_0x304ffd,_0x23c72b):_0x304ffd,_0x3f4d38=_0x4568e5['length']-0x1,_0x39a570;_0x3f4d38>=0x0;_0x3f4d38--)(_0x39a570=_0x4568e5[_0x3f4d38])&&(_0x25e687=(_0x28d759?_0x39a570(_0x304ffd,_0x23c72b,_0x25e687):_0x39a570(_0x25e687))||_0x25e687);return _0x28d759&&_0x25e687&&Ls(_0x304ffd,_0x23c72b,_0x25e687),_0x25e687;},Ae=(_0x52c812,_0x26ea37)=>(_0x1be6dc,_0x33cf45)=>_0x26ea37(_0x1be6dc,_0x33cf45,_0x52c812);let Pt=class extends _0x48cf2c{constructor(_0x40997c,_0x31ba73,_0xcf9aec,_0x1a8730,_0x104fe8){var _0x597f33=_0x2b909d;super(_0x40997c,_0x31ba73,_0xcf9aec),this[_0x597f33(0x274)]=_0x1a8730,this[_0x597f33(0x2dd)]=_0x104fe8;}[_0x2b909d(0x29e)](_0x5d583a,_0x20b2b4){var _0x540d7=_0x2b909d;const _0x200105=this[_0x540d7(0x187)](_0x5d583a);if(_0x200105)try{const _0x64fb18=this[_0x540d7(0x138)](_0x200105,_0x20b2b4);this[_0x540d7(0x145)](_0x5d583a,_0x64fb18);}catch(_0x48dc02){this[_0x540d7(0x2dd)][_0x540d7(0xba)](_0x540d7(0x30a),_0x48dc02),this[_0x540d7(0x268)](_0x5d583a);}const _0x4bd396=this[_0x540d7(0x2d0)](_0x5d583a);if(_0x4bd396)try{const _0x4d311e=this[_0x540d7(0x138)](_0x4bd396,_0x20b2b4);this[_0x540d7(0x346)](_0x5d583a,_0x4d311e);}catch(_0x134e50){this['_logService'][_0x540d7(0xba)](_0x134e50),this[_0x540d7(0x2a4)](_0x5d583a);}}[_0x2b909d(0x268)](_0x4d17ec){var _0x5da50b=_0x2b909d;const _0x3c0024=this['_getUndoStack'](_0x4d17ec);_0x3c0024&&(_0x3c0024[_0x5da50b(0x20b)]=0x0,this[_0x5da50b(0x2a8)]());}['_clearRedo'](_0x4a457f){var _0x273475=_0x2b909d;const _0x2385b9=this[_0x273475(0x2d0)](_0x4a457f);_0x2385b9&&(_0x2385b9[_0x273475(0x20b)]=0x0,this[_0x273475(0x2a8)]());}['_substituteUndoStack'](_0x11767b,_0xab6e55){var _0x10b0d8=_0x2b909d;this[_0x10b0d8(0xae)][_0x10b0d8(0xd8)](_0x11767b,_0xab6e55),this[_0x10b0d8(0x2a8)]();}['_substituteRedoStack'](_0x11c3f9,_0x5a3eeb){var _0x4e9c37=_0x2b909d;this[_0x4e9c37(0x281)][_0x4e9c37(0xd8)](_0x11c3f9,_0x5a3eeb),this[_0x4e9c37(0x2a8)]();}[_0x2b909d(0x138)](_0x296472,_0x4cca52){var _0x4498a1=_0x2b909d;const _0xc66dfc=[];let _0x2debc8=_0x4cca52,_0x2a9b9f=_0x4cca52;for(let _0x50c4df=_0x296472[_0x4498a1(0x20b)]-0x1;_0x50c4df>=0x0;_0x50c4df--){const {unitID:_0x40dbe3,undoMutations:_0x3eb40,redoMutations:_0x901fa5}=_0x296472[_0x50c4df],_0x12c5d2=this[_0x4498a1(0x274)]['transformMutationsWithChangeset'](_0x2debc8,_0x3eb40),_0xb75d2f=this[_0x4498a1(0x274)][_0x4498a1(0xfd)](_0x2a9b9f,_0x901fa5);if(_0x11d978(_0x12c5d2)||_0x11d978(_0xb75d2f)){this['_logService'][_0x4498a1(0xba)](_0x4498a1(0x30a),_0x4498a1(0x2fb),_0x12c5d2,_0xb75d2f);break;}_0x2debc8=_0x12c5d2[_0x4498a1(0x104)],_0x2a9b9f=_0xb75d2f[_0x4498a1(0x104)],_0xc66dfc[_0x4498a1(0x276)]({'unitID':_0x40dbe3,'undoMutations':_0x12c5d2['m2Prime'],'redoMutations':_0xb75d2f[_0x4498a1(0x1c3)]});}return _0xc66dfc[_0x4498a1(0x167)]();}};Pt=$s([Ae(0x0,_0x3d1ff0),Ae(0x1,_0x30d4d0),Ae(0x2,_0x405571),Ae(0x3,_0xf23314),Ae(0x4,_0x3b937c)],Pt);var xi=Object[_0x2b909d(0xb6)],Hs=Object[_0x2b909d(0x2fa)],ks=(_0x1a1e27,_0x51e32f,_0x57af81)=>_0x51e32f in _0x1a1e27?xi(_0x1a1e27,_0x51e32f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57af81}):_0x1a1e27[_0x51e32f]=_0x57af81,js=(_0x2b0b4e,_0x5bebb2,_0x3e28af,_0xb45a0c)=>{var _0x4f8a64=_0x2b909d;for(var _0x359028=_0xb45a0c>0x1?void 0x0:_0xb45a0c?Hs(_0x5bebb2,_0x3e28af):_0x5bebb2,_0x5ddd7c=_0x2b0b4e[_0x4f8a64(0x20b)]-0x1,_0xa24283;_0x5ddd7c>=0x0;_0x5ddd7c--)(_0xa24283=_0x2b0b4e[_0x5ddd7c])&&(_0x359028=(_0xb45a0c?_0xa24283(_0x5bebb2,_0x3e28af,_0x359028):_0xa24283(_0x359028))||_0x359028);return _0xb45a0c&&_0x359028&&xi(_0x5bebb2,_0x3e28af,_0x359028),_0x359028;},St=(_0x153861,_0x35f6ac)=>(_0x344e02,_0x4d65d6)=>_0x35f6ac(_0x344e02,_0x4d65d6,_0x153861),Bs=(_0x3a7926,_0x156513,_0x3a358f)=>ks(_0x3a7926,_0x156513+'',_0x3a358f);const Fs=_0x2b909d(0x115);let wt=class extends _0x389887{constructor(_0x4ea12f=Wt,_0x425130,_0xf1338e,_0x338c75){var _0x924dce=_0x2b909d;super(),this['_config']=_0x4ea12f,this['_logService']=_0x425130,this[_0x924dce(0x3a2)]=_0xf1338e,this[_0x924dce(0x14e)]=_0x338c75;const {..._0x289791}=_0x37a401({},Wt,this['_config']);this[_0x924dce(0x14e)][_0x924dce(0x117)](q,_0x289791);}['onStarting'](){var _0x4a528b=_0x2b909d;this[_0x4a528b(0x299)](),this[_0x4a528b(0x165)]();}[_0x2b909d(0x299)](){var _0x1a750f=_0x2b909d,_0x2a5ba5,_0x250307,_0x257695,_0xbb6713;this[_0x1a750f(0x3a2)][_0x1a750f(0x190)](_0x19e773)&&this[_0x1a750f(0x2dd)][_0x1a750f(0xba)](_0x1a750f(0x2ab),_0x1a750f(0xfe));const _0x4d207c=_0x128c9e([[_0x19e773,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x250307=(_0x2a5ba5=this['_config'])==null?void 0x0:_0x2a5ba5['socketService'])!=null?_0x250307:Et}],[_0x83ddec,{'useClass':Dt}],[_0x235e42,{'useClass':bt}],[_0x3553b6,{'useClass':yt}],[_0x4671dd,{'useClass':Nt}],[rt],[Rt]],(_0x257695=this[_0x1a750f(0x1d6)])==null?void 0x0:_0x257695[_0x1a750f(0x10a)]);if(!((_0xbb6713=this['_config'])!=null&&_0xbb6713[_0x1a750f(0x341)])){const _0x186c4b=_0x4d207c['findIndex'](([_0x406943])=>_0x406943===ht);_0x186c4b!==-0x1&&_0x4d207c[_0x1a750f(0x19c)](_0x186c4b,0x1);}_0x503f5c(this[_0x1a750f(0x3a2)],_0x4d207c);}[_0x2b909d(0x165)](){var _0x156043=_0x2b909d,_0x5aecba,_0x55a9a3,_0x44a79a;this[_0x156043(0x3a2)][_0x156043(0xf5)](_0x561c6c)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x371cec({'maxParallel':0x6})}),(_0x5aecba=this[_0x156043(0x1d6)])!=null&&_0x5aecba['enableOfflineEditing']||(_0x55a9a3=this[_0x156043(0x3a2)][_0x156043(0xf5)](J,_0x1323ad['OPTIONAL']))==null||_0x55a9a3[_0x156043(0x267)](),(_0x44a79a=this['_config'])!=null&&_0x44a79a[_0x156043(0x371)]&&_0x57d684(this[_0x156043(0x3a2)],[[st]]),_0x57d684(this[_0x156043(0x3a2)],[[ot],[rt],[at]]);}};Bs(wt,_0x2b909d(0x253),Fs),wt=js([_0x5dbd14(_0x51bf64,_0x4128f5,_0x20f61e),St(0x1,_0x3b937c),St(0x2,_0x810bfa(_0x4720a8)),St(0x3,_0x322413)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|