@univerjs/preset-docs-collaboration 0.11.0 → 0.12.1

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/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- (function(_0x551f44,_0x54f785){var _0x236572=_0x4ecd,_0x4040e3=_0x551f44();while(!![]){try{var _0x4704ba=-parseInt(_0x236572(0x1f1))/0x1*(parseInt(_0x236572(0x4c9))/0x2)+parseInt(_0x236572(0x231))/0x3*(parseInt(_0x236572(0x36d))/0x4)+parseInt(_0x236572(0x400))/0x5+-parseInt(_0x236572(0x1f4))/0x6+-parseInt(_0x236572(0x30f))/0x7*(parseInt(_0x236572(0x2a1))/0x8)+-parseInt(_0x236572(0x201))/0x9*(parseInt(_0x236572(0x3e3))/0xa)+parseInt(_0x236572(0x448))/0xb;if(_0x4704ba===_0x54f785)break;else _0x4040e3['push'](_0x4040e3['shift']());}catch(_0x1e47a8){_0x4040e3['push'](_0x4040e3['shift']());}}}(_0x1677,0xb9835),function(_0xabeee6,_0x462c5e){var _0x211fd0=_0x4ecd;typeof exports==_0x211fd0(0x394)&&typeof module<'u'?_0x462c5e(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x211fd0(0x29c)&&define[_0x211fd0(0x35f)]?define([_0x211fd0(0x523),_0x211fd0(0x24b),'@univerjs/core',_0x211fd0(0x25d),_0x211fd0(0x20a),_0x211fd0(0x53d),'@univerjs/telemetry','rxjs/operators','@univerjs/network',_0x211fd0(0x45a),_0x211fd0(0x4df)],_0x462c5e):(_0xabeee6=typeof globalThis<'u'?globalThis:_0xabeee6||self,_0x462c5e(_0xabeee6[_0x211fd0(0x3c8)]={},_0xabeee6[_0x211fd0(0x296)],_0xabeee6[_0x211fd0(0x258)],_0xabeee6[_0x211fd0(0x447)],_0xabeee6[_0x211fd0(0x26e)],_0xabeee6[_0x211fd0(0x53d)],_0xabeee6['UniverTelemetry'],_0xabeee6[_0x211fd0(0x53d)][_0x211fd0(0x3dd)],_0xabeee6['UniverNetwork'],_0xabeee6[_0x211fd0(0x3ea)],_0xabeee6[_0x211fd0(0x46a)]));}(this,function(_0x36d18b,_0x5a7fdc,_0x29a664,_0x438bd6,_0x1ce604,_0x32c204,_0x2d504f,_0x12f47e,_0x200e90,_0x2b4a05,_0x480ca8){'use strict';var _0x997d7=_0x4ecd;var _0x48c8dc=Object[_0x997d7(0x1ed)],_0x50b038=(_0x3e70d3,_0x543dd7,_0x1735a0)=>_0x543dd7 in _0x3e70d3?_0x48c8dc(_0x3e70d3,_0x543dd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1735a0}):_0x3e70d3[_0x543dd7]=_0x1735a0,_0x260f1e=(_0x3459e2,_0x4b40fc,_0x4f86f7)=>_0x50b038(_0x3459e2,typeof _0x4b40fc!=_0x997d7(0x2d5)?_0x4b40fc+'':_0x4b40fc,_0x4f86f7);const _0xe80868=_0x997d7(0x2b9),_0x4a7c93=_0x997d7(0x2a6),_0x53efe6=_0x997d7(0x246),_0x4aaab9=_0x997d7(0x3ef),_0x2b6987='HEARTBEAT_INTERVAL',_0x315b2c=_0x997d7(0x252),_0x547549='RETRY_CONNECTING_MAX_COUNT',_0xc708f2=_0x997d7(0x3a8),_0x4afe1a=_0x997d7(0x449),_0x278fe0=_0x997d7(0x22e),_0x48a22d=_0x997d7(0x41f),_0x77defc=_0x997d7(0x362);var _0x4015c2=(_0x1d314e=>(_0x1d314e[_0x1d314e[_0x997d7(0x1fa)]=0x0]=_0x997d7(0x1fa),_0x1d314e[_0x1d314e['OK']=0x1]='OK',_0x1d314e[_0x1d314e[_0x997d7(0x2bc)]=0x2]=_0x997d7(0x2bc),_0x1d314e[_0x1d314e[_0x997d7(0x2ad)]=0x3]='PERMISSION_DENIED',_0x1d314e[_0x1d314e[_0x997d7(0x247)]=0x4]=_0x997d7(0x247),_0x1d314e[_0x1d314e[_0x997d7(0x3af)]=0x5]='UNAUTHENTICATED',_0x1d314e[_0x1d314e[_0x997d7(0x557)]=0x6]=_0x997d7(0x557),_0x1d314e[_0x1d314e[_0x997d7(0x51c)]=0x7]=_0x997d7(0x51c),_0x1d314e[_0x1d314e[_0x997d7(0x4d7)]=0x8]='TOO_MANY_REQUESTS',_0x1d314e[_0x1d314e[_0x997d7(0x505)]=0x9]=_0x997d7(0x505),_0x1d314e[_0x1d314e[_0x997d7(0x2b6)]=0xa]=_0x997d7(0x2b6),_0x1d314e[_0x1d314e['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x997d7(0x43e),_0x1d314e[_0x1d314e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d314e[_0x1d314e[_0x997d7(0x437)]=0xd]=_0x997d7(0x437),_0x1d314e[_0x1d314e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x997d7(0x53b),_0x1d314e[_0x1d314e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x997d7(0x4bd),_0x1d314e[_0x1d314e[_0x997d7(0x24e)]=0x10]=_0x997d7(0x24e),_0x1d314e[_0x1d314e[_0x997d7(0x579)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d314e[_0x1d314e[_0x997d7(0x31f)]=0x65]='ERROR_AGAIN',_0x1d314e[_0x1d314e[_0x997d7(0x1f8)]=0xc9]=_0x997d7(0x1f8),_0x1d314e[_0x1d314e[_0x997d7(0x240)]=0xca]='USER_IS_ANONYMOUS',_0x1d314e[_0x1d314e[_0x997d7(0x53e)]=0x1389]=_0x997d7(0x53e),_0x1d314e[_0x1d314e[_0x997d7(0x423)]=0x1771]=_0x997d7(0x423),_0x1d314e[_0x1d314e[_0x997d7(0x49b)]=0x1772]=_0x997d7(0x49b),_0x1d314e[_0x1d314e[_0x997d7(0x429)]=0x1773]=_0x997d7(0x429),_0x1d314e[_0x1d314e[_0x997d7(0x248)]=0x1b59]='APPLY_REJECT',_0x1d314e[_0x1d314e[_0x997d7(0x216)]=0x1b5a]=_0x997d7(0x216),_0x1d314e[_0x1d314e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x997d7(0x52d),_0x1d314e[_0x1d314e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x997d7(0x308),_0x1d314e[_0x1d314e[_0x997d7(0x559)]=0x1b5d]='APPLY_DUPLICATED',_0x1d314e[_0x1d314e[_0x997d7(0x490)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1d314e[_0x1d314e[_0x997d7(0x282)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1d314e[_0x1d314e[_0x997d7(0x329)]=0x232a]=_0x997d7(0x329),_0x1d314e[_0x1d314e[_0x997d7(0x227)]=0x232b]=_0x997d7(0x227),_0x1d314e[_0x1d314e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x997d7(0x2ea),_0x1d314e[_0x1d314e[_0x997d7(0x1ee)]=0x232d]=_0x997d7(0x1ee),_0x1d314e[_0x1d314e[_0x997d7(0x44d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1d314e[_0x1d314e[_0x997d7(0x377)]=0x2712]=_0x997d7(0x377),_0x1d314e[_0x1d314e[_0x997d7(0x25a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1d314e[_0x1d314e[_0x997d7(0x574)]=0x2714]=_0x997d7(0x574),_0x1d314e[_0x1d314e[_0x997d7(0x3fe)]=0x271a]=_0x997d7(0x3fe),_0x1d314e[_0x1d314e[_0x997d7(0x402)]=0x271b]=_0x997d7(0x402),_0x1d314e[_0x1d314e[_0x997d7(0x524)]=0x271c]=_0x997d7(0x524),_0x1d314e[_0x1d314e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1d314e[_0x1d314e[_0x997d7(0x2e0)]=0x271e]=_0x997d7(0x2e0),_0x1d314e[_0x1d314e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d314e[_0x1d314e[_0x997d7(0x530)]=0x2720]=_0x997d7(0x530),_0x1d314e[_0x1d314e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x997d7(0x32b),_0x1d314e[_0x1d314e[_0x997d7(0x36c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d314e[_0x1d314e[_0x997d7(0x32e)]=0x2ee2]='INVALID_INVITE_CODE',_0x1d314e[_0x1d314e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x997d7(0x27e),_0x1d314e[_0x1d314e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x997d7(0x22f),_0x1d314e[_0x1d314e[_0x997d7(0x417)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d314e[_0x1d314e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x997d7(0x32c),_0x1d314e[_0x1d314e[_0x997d7(0x504)]=0x32ca]=_0x997d7(0x504),_0x1d314e[_0x1d314e[_0x997d7(0x263)]=0x32cb]=_0x997d7(0x263),_0x1d314e[_0x1d314e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1d314e[_0x1d314e[_0x997d7(0x2ff)]=0x36b2]=_0x997d7(0x2ff),_0x1d314e[_0x1d314e['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x997d7(0x48b),_0x1d314e[_0x1d314e[_0x997d7(0x4fb)]=0x36b4]=_0x997d7(0x4fb),_0x1d314e[_0x1d314e[_0x997d7(0x23b)]=0x3715]=_0x997d7(0x23b),_0x1d314e[_0x1d314e[_0x997d7(0x575)]=0x3716]=_0x997d7(0x575),_0x1d314e[_0x1d314e[_0x997d7(0x4ed)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1d314e[_0x1d314e[_0x997d7(0x1ea)]=0x37dd]=_0x997d7(0x1ea),_0x1d314e[_0x1d314e['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x1d314e[_0x1d314e[_0x997d7(0x373)]=0x3a9a]=_0x997d7(0x373),_0x1d314e[_0x1d314e[_0x997d7(0x549)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d314e[_0x1d314e[_0x997d7(0x28f)]=0x3a9c]=_0x997d7(0x28f),_0x1d314e[_0x1d314e[_0x997d7(0x3c9)]=0x3a9d]=_0x997d7(0x3c9),_0x1d314e[_0x1d314e[_0x997d7(0x502)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1d314e[_0x1d314e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x997d7(0x55c),_0x1d314e[_0x1d314e[_0x997d7(0x48a)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x1d314e[_0x1d314e[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x1d314e))(_0x4015c2||{}),_0x60f00c=(_0x2e4a00=>(_0x2e4a00[_0x2e4a00[_0x997d7(0x229)]=0x0]=_0x997d7(0x229),_0x2e4a00[_0x2e4a00[_0x997d7(0x47c)]=0x1]='UNIVER_DOC',_0x2e4a00[_0x2e4a00['UNIVER_SHEET']=0x2]=_0x997d7(0x4c5),_0x2e4a00[_0x2e4a00[_0x997d7(0x4e3)]=0x3]=_0x997d7(0x4e3),_0x2e4a00[_0x2e4a00[_0x997d7(0x4ff)]=0x4]=_0x997d7(0x4ff),_0x2e4a00[_0x2e4a00['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2e4a00))(_0x60f00c||{}),_0x1f168c=(_0x295691=>(_0x295691[_0x295691['UNKNOWN_CMD']=0x0]=_0x997d7(0x225),_0x295691[_0x295691[_0x997d7(0x556)]=0x1]='HELLO',_0x295691[_0x295691[_0x997d7(0x32a)]=0x2]=_0x997d7(0x32a),_0x295691[_0x295691['LEAVE']=0x3]=_0x997d7(0x50c),_0x295691[_0x295691['INGEST']=0x4]=_0x997d7(0x55a),_0x295691[_0x295691[_0x997d7(0x230)]=0x5]='HEARTBEAT',_0x295691[_0x295691[_0x997d7(0x3e6)]=0x6]=_0x997d7(0x3e6),_0x295691[_0x295691[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x295691))(_0x1f168c||{}),_0x2eda57=(_0x57a483=>(_0x57a483[_0x57a483[_0x997d7(0x4cf)]=0x0]=_0x997d7(0x4cf),_0x57a483[_0x57a483['OK']=0x1]='OK',_0x57a483[_0x57a483['FAIL']=0x2]='FAIL',_0x57a483[_0x57a483['JOIN_ROOM_FULL']=0x3e9]=_0x997d7(0x497),_0x57a483[_0x57a483['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x57a483[_0x57a483['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x997d7(0x54b),_0x57a483[_0x57a483[_0x997d7(0x2ec)]=0x3ec]=_0x997d7(0x2ec),_0x57a483[_0x57a483[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x57a483))(_0x2eda57||{}),_0x241a4e=(_0x515295=>(_0x515295[_0x515295[_0x997d7(0x385)]=0x0]=_0x997d7(0x385),_0x515295[_0x515295[_0x997d7(0x416)]=0x1]='HttpImport',_0x515295[_0x515295['HttpExport']=0x2]='HttpExport',_0x515295[_0x515295[_0x997d7(0x4f6)]=0x3]=_0x997d7(0x4f6),_0x515295[_0x515295[_0x997d7(0x4e6)]=0x4]=_0x997d7(0x4e6),_0x515295[_0x515295[_0x997d7(0x472)]=0x5]='UserProfileImg',_0x515295[_0x515295[_0x997d7(0x4c0)]=0x6]=_0x997d7(0x4c0),_0x515295[_0x515295['UNRECOGNIZED']=-0x1]=_0x997d7(0x3ab),_0x515295))(_0x241a4e||{});const _0x5ecfcb='collaboration_new_changeset';function _0x2a03fd(_0x380984){var _0x3200fd=_0x997d7;return JSON['stringify'](_0x380984)[_0x3200fd(0x307)];}var _0xedfb31=(_0x25a9b4=>(_0x25a9b4[_0x997d7(0x477)]=_0x997d7(0x477),_0x25a9b4[_0x997d7(0x2ad)]=_0x997d7(0x2ad),_0x25a9b4[_0x997d7(0x3ce)]=_0x997d7(0x3ce),_0x25a9b4['CLOSE_ROOM']=_0x997d7(0x21a),_0x25a9b4[_0x997d7(0x25b)]=_0x997d7(0x25b),_0x25a9b4[_0x997d7(0x3b7)]=_0x997d7(0x3b7),_0x25a9b4['SOCKET_FAILED']='SOCKET_FAILED',_0x25a9b4[_0x997d7(0x3f3)]='SUBMIT_CHANGESET_TIMEOUT',_0x25a9b4))(_0xedfb31||{});class _0x495958{constructor(){var _0x37a64a=_0x997d7;_0x260f1e(this,_0x37a64a(0x3bf),new _0x32c204[(_0x37a64a(0x41c))]()),_0x260f1e(this,_0x37a64a(0x25c),this['_event$'][_0x37a64a(0x313)]());}[_0x997d7(0x2d4)](_0x254219){var _0x443a2c=_0x997d7;this['_event$'][_0x443a2c(0x476)](_0x254219);}}class _0x3e15b7{constructor(){var _0x49d418=_0x997d7;_0x260f1e(this,_0x49d418(0x44b),new _0x32c204[(_0x49d418(0x41c))]()),_0x260f1e(this,_0x49d418(0x3d8),this[_0x49d418(0x44b)]['asObservable']());}[_0x997d7(0x20e)](_0x22e4f7){var _0x57e0af=_0x997d7;this[_0x57e0af(0x44b)][_0x57e0af(0x476)](_0x22e4f7);}}var _0x364068=Object[_0x997d7(0x539)],_0x148430=(_0x12ba16,_0x1867b8,_0xa1e2c,_0x14605d)=>{for(var _0x374fa7=_0x14605d>0x1?void 0x0:_0x14605d?_0x364068(_0x1867b8,_0xa1e2c):_0x1867b8,_0x1a5ebe=_0x12ba16['length']-0x1,_0x4bae23;_0x1a5ebe>=0x0;_0x1a5ebe--)(_0x4bae23=_0x12ba16[_0x1a5ebe])&&(_0x374fa7=_0x4bae23(_0x374fa7)||_0x374fa7);return _0x374fa7;},_0x3ec42a=(_0x438716,_0x3f7077)=>(_0x1a98cd,_0x37af04)=>_0x3f7077(_0x1a98cd,_0x37af04,_0x438716);_0x36d18b[_0x997d7(0x409)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x357c4e,_0x2a5f4c){var _0x979931=_0x997d7;super(),_0x260f1e(this,'_roomMembers',new Map()),_0x260f1e(this,_0x979931(0x431),new _0x32c204[(_0x979931(0x41c))]()),(this['_univerInstanceService']=_0x357c4e,this[_0x979931(0x4c6)]=_0x2a5f4c,this[_0x979931(0x31b)](_0x32c204[_0x979931(0x2e7)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29a664['UniverInstanceType'][_0x979931(0x4c5)])[_0x979931(0x2ab)](_0x12f47e[_0x979931(0x2b1)](_0x2daf6b=>_0x2daf6b[_0x979931(0x4ae)]())),this[_0x979931(0x432)][_0x979931(0x525)](_0x29a664[_0x979931(0x319)][_0x979931(0x47c)])[_0x979931(0x2ab)](_0x12f47e['map'](_0x113faa=>_0x113faa[_0x979931(0x4ae)]())),this[_0x979931(0x432)][_0x979931(0x525)](_0x29a664[_0x979931(0x319)][_0x979931(0x4e3)])[_0x979931(0x2ab)](_0x12f47e['map'](_0x5708bf=>_0x5708bf[_0x979931(0x4ae)]())))['subscribe'](_0x2c57dd=>this['_removeRoom'](_0x2c57dd))));}[_0x997d7(0x36b)](_0x33f3d0){var _0x4509ea=_0x997d7;return this[_0x4509ea(0x332)][_0x4509ea(0x572)](_0x33f3d0)?_0x32c204['of'](this[_0x4509ea(0x332)][_0x4509ea(0x47e)](_0x33f3d0)):this[_0x4509ea(0x431)][_0x4509ea(0x2ab)](_0x12f47e[_0x4509ea(0x2b1)](_0xfed236=>{var _0x462086=_0x4509ea;if(_0xfed236===_0x33f3d0)return this[_0x462086(0x332)]['get'](_0xfed236);}));}[_0x997d7(0x546)](_0x352345){var _0x18bf8d=_0x997d7;this[_0x18bf8d(0x4c6)][_0x18bf8d(0x546)](_0x352345);}[_0x997d7(0x420)](){var _0x47a497=_0x997d7;return this[_0x47a497(0x4c6)][_0x47a497(0x420)]();}[_0x997d7(0x486)](_0x594edb,_0xe9c04b){var _0x3d0fd2=_0x997d7;let _0x20e890=this['_roomMembers'][_0x3d0fd2(0x47e)](_0x594edb);_0x20e890||(_0x20e890=new _0xe298f5(),this[_0x3d0fd2(0x332)][_0x3d0fd2(0x41e)](_0x594edb,_0x20e890),this[_0x3d0fd2(0x431)][_0x3d0fd2(0x476)](_0x594edb)),_0x20e890[_0x3d0fd2(0x486)](_0xe9c04b);}[_0x997d7(0x341)](_0x371613,_0x5f44b7){var _0x18e820=_0x997d7;const _0x281f0c=this[_0x18e820(0x332)][_0x18e820(0x47e)](_0x371613);_0x281f0c&&_0x281f0c['removeMember'](_0x5f44b7);}[_0x997d7(0x422)](_0x11f1e1){var _0x36d583=_0x997d7;return this[_0x36d583(0x332)]['get'](_0x11f1e1);}[_0x997d7(0x436)](_0x5f102f,_0x1eccb3){var _0x12a37d=_0x997d7;const _0x1eea97=this[_0x12a37d(0x332)]['get'](_0x5f102f);if(_0x1eea97)return _0x1eea97[_0x12a37d(0x436)](_0x1eccb3);}[_0x997d7(0x2cb)](_0x74a28){var _0x1b7980=_0x997d7;const _0x101519=this[_0x1b7980(0x332)][_0x1b7980(0x47e)](_0x74a28);_0x101519&&(_0x101519['dispose'](),this['_roomMembers'][_0x1b7980(0x375)](_0x74a28));}[_0x997d7(0x206)](){var _0x94c4e9=_0x997d7;this[_0x94c4e9(0x332)][_0x94c4e9(0x2bd)](_0x1f3f2f=>_0x1f3f2f[_0x94c4e9(0x206)]()),this[_0x94c4e9(0x332)][_0x94c4e9(0x2ef)](),this['_roomCreated$'][_0x94c4e9(0x42a)]();}},_0x36d18b[_0x997d7(0x409)]=_0x148430([_0x3ec42a(0x0,_0x29a664[_0x997d7(0x208)]),_0x3ec42a(0x1,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x353)]))],_0x36d18b[_0x997d7(0x409)]);class _0xe298f5 extends _0x29a664[_0x997d7(0x285)]{constructor(){var _0x166009=_0x997d7;super(...arguments),_0x260f1e(this,_0x166009(0x312),new Map()),_0x260f1e(this,_0x166009(0x350),new _0x32c204['BehaviorSubject'](this['_members'])),_0x260f1e(this,'members$',this['_members$'][_0x166009(0x313)]());}['dispose'](){var _0x5e8463=_0x997d7;this[_0x5e8463(0x312)][_0x5e8463(0x2ef)]();}[_0x997d7(0x486)](_0x1e6fbd){var _0x279f76=_0x997d7;this[_0x279f76(0x312)][_0x279f76(0x41e)](_0x1e6fbd[_0x279f76(0x298)],_0x1e6fbd),this[_0x279f76(0x2cd)]();}[_0x997d7(0x341)](_0x259179){var _0x2fa9dc=_0x997d7;this[_0x2fa9dc(0x312)]['delete'](_0x259179);}['getMember'](_0x20a283){var _0x53d29c=_0x997d7;return this[_0x53d29c(0x312)][_0x53d29c(0x47e)](_0x20a283);}['getAllMembers'](){var _0x4e4251=_0x997d7;return Array[_0x4e4251(0x410)](this[_0x4e4251(0x312)][_0x4e4251(0x453)]());}[_0x997d7(0x2cd)](){var _0x43daab=_0x997d7;this[_0x43daab(0x350)][_0x43daab(0x476)](this[_0x43daab(0x312)]);}}var _0x16951b=Object[_0x997d7(0x539)],_0x104870=(_0x1cdc44,_0x340f38,_0x2e882a,_0x34d02b)=>{var _0x7d153e=_0x997d7;for(var _0x4ad0c7=_0x34d02b>0x1?void 0x0:_0x34d02b?_0x16951b(_0x340f38,_0x2e882a):_0x340f38,_0x443e7e=_0x1cdc44[_0x7d153e(0x307)]-0x1,_0x1bab9a;_0x443e7e>=0x0;_0x443e7e--)(_0x1bab9a=_0x1cdc44[_0x443e7e])&&(_0x4ad0c7=_0x1bab9a(_0x4ad0c7)||_0x4ad0c7);return _0x4ad0c7;},_0x2b39f1=(_0x101b66,_0x3d6e41)=>(_0x8347ae,_0x53d1f0)=>_0x3d6e41(_0x8347ae,_0x53d1f0,_0x101b66),_0xbd299=(_0x53eed9=>(_0x53eed9[_0x53eed9['IDLE']=0x0]=_0x997d7(0x33c),_0x53eed9[_0x53eed9[_0x997d7(0x249)]=0x1]=_0x997d7(0x249),_0x53eed9[_0x53eed9['OFFLINE']=0x2]='OFFLINE',_0x53eed9[_0x53eed9[_0x997d7(0x42b)]=0x3]=_0x997d7(0x42b),_0x53eed9))(_0xbd299||{});const _0x43b024={[_0x2eda57['FAIL']]:_0x997d7(0x228),[_0x2eda57['JOIN_ROOM_FULL']]:'session.room-full',[_0x2eda57[_0x997d7(0x21c)]]:_0x997d7(0x42d),[_0x2eda57[_0x997d7(0x54b)]]:'session.room-permission-denied',[_0x2eda57[_0x997d7(0x2ec)]]:_0x997d7(0x358)};_0x36d18b['CollaborationSession']=class extends _0x29a664['RxDisposable']{constructor(_0x44356d,_0x58a92c,_0x582ace,_0x17125a,_0x75d8fd,_0x18e4d2,_0x2b1066,_0x252585){var _0x2eeb19=_0x997d7;super(),_0x260f1e(this,'_sessionStatus$',new _0x32c204[(_0x2eeb19(0x4be))](0x0)),_0x260f1e(this,_0x2eeb19(0x40f),this[_0x2eeb19(0x442)][_0x2eeb19(0x313)]()),_0x260f1e(this,_0x2eeb19(0x3bf),new _0x32c204[(_0x2eeb19(0x41c))]()),_0x260f1e(this,_0x2eeb19(0x25c),this[_0x2eeb19(0x3bf)][_0x2eeb19(0x313)]()),_0x260f1e(this,_0x2eeb19(0x49e)),_0x260f1e(this,_0x2eeb19(0x3d6)),_0x260f1e(this,_0x2eeb19(0x3f2)),_0x260f1e(this,_0x2eeb19(0x338),!0x1),_0x260f1e(this,_0x2eeb19(0x272),null),(this[_0x2eeb19(0x4e0)]=_0x44356d,this['_logService']=_0x582ace,this[_0x2eeb19(0x261)]=_0x17125a,this['_memberService']=_0x75d8fd,this['_commentService']=_0x18e4d2,this['_collaborationUIEventService']=_0x2b1066,this[_0x2eeb19(0x571)]=_0x252585,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x58a92c['pipe'](_0x32c204[_0x2eeb19(0x45b)](this[_0x2eeb19(0x2a0)]))[_0x2eeb19(0x3cc)](_0x2c4403=>{var _0x2b2820=_0x2eeb19,_0x3c9fe7;typeof _0x2c4403>'u'||(this[_0x2b2820(0x49e)]=_0x2c4403,_0x2c4403?(this['_joinRoom'](_0x2c4403),this[_0x2b2820(0x3d6)]=_0x2c4403[_0x2b2820(0x3e4)][_0x2b2820(0x3cc)](_0x1c21d8=>{var _0x349fdb=_0x2b2820;_0x1c21d8[_0x349fdb(0x259)]===this[_0x349fdb(0x4e0)]&&this[_0x349fdb(0x30b)](_0x1c21d8);})):(this[_0x2b2820(0x520)](),this['_sessionStatus$']['next'](0x2),(_0x3c9fe7=this[_0x2b2820(0x3d6)])==null||_0x3c9fe7['unsubscribe'](),this[_0x2b2820(0x3d6)]=null));}));}get['sessionStatus'](){var _0x5cb58b=_0x997d7;return this[_0x5cb58b(0x442)][_0x5cb58b(0x53f)]();}[_0x997d7(0x2f1)](){var _0x5d8c94=_0x997d7,_0x21d45b,_0x58cc1d;return(_0x58cc1d=(_0x21d45b=this['_socket'])==null?void 0x0:_0x21d45b[_0x5d8c94(0x298)])!=null?_0x58cc1d:null;}['dispose'](){var _0x28e53c=_0x997d7;super[_0x28e53c(0x206)](),this[_0x28e53c(0x2a0)][_0x28e53c(0x476)](),this[_0x28e53c(0x2a0)]['complete']();}['close'](){var _0x4867e1=_0x997d7,_0x26e861,_0x502534;this[_0x4867e1(0x520)](),(_0x26e861=this[_0x4867e1(0x49e)])==null||_0x26e861[_0x4867e1(0x4ea)]({'cmd':_0x1f168c[_0x4867e1(0x50c)],'data':{'roomID':this[_0x4867e1(0x4e0)]}}),(_0x502534=this[_0x4867e1(0x49e)])==null||_0x502534[_0x4867e1(0x4f9)](),this[_0x4867e1(0x3bf)][_0x4867e1(0x42a)](),this['_sessionStatus$'][_0x4867e1(0x42a)](),this[_0x4867e1(0x206)]();}['_onCombEvent'](_0x1a2a9e){var _0x1a6e86=_0x997d7;_0x1a2a9e[_0x1a6e86(0x235)]===_0x1f168c['JOIN']?this[_0x1a6e86(0x4d4)](_0x1a2a9e):_0x1a2a9e[_0x1a6e86(0x235)]===_0x1f168c[_0x1a6e86(0x3e6)]&&this[_0x1a6e86(0x570)](_0x1a2a9e);}['_joinRoom'](_0x2a5038){var _0x12650c=_0x997d7;this['_sessionStatus$'][_0x12650c(0x476)](0x1),_0x2a5038[_0x12650c(0x4ea)]({'cmd':_0x1f168c[_0x12650c(0x32a)],'routeKey':this[_0x12650c(0x4e0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x12650c(0x4e0)]}]}});}[_0x997d7(0x4d4)](_0x427153){var _0x45a51d=_0x997d7,_0x366cc5;if(_0x427153[_0x45a51d(0x3e9)]in _0x43b024){this[_0x45a51d(0x47a)][_0x45a51d(0x2d4)]({'id':_0xedfb31[_0x45a51d(0x25b)],'data':_0x43b024[_0x427153[_0x45a51d(0x3e9)]]}),this[_0x45a51d(0x442)][_0x45a51d(0x476)](0x2);return;}this[_0x45a51d(0x442)]['next'](0x3);const _0x16d69e=(_0x366cc5=_0x427153[_0x45a51d(0x40b)][_0x45a51d(0x457)][this['_unitID']])==null?void 0x0:_0x366cc5['members'];_0x16d69e&&_0x16d69e[_0x45a51d(0x2bd)](_0x2e980f=>this[_0x45a51d(0x303)][_0x45a51d(0x486)](this[_0x45a51d(0x4e0)],_0x2e980f));}[_0x997d7(0x570)](_0x472f12){var _0x680012=_0x997d7;try{const _0x146322=_0x472f12[_0x680012(0x40b)];switch(_0x146322[_0x680012(0x328)]){case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x4b8)]:this[_0x680012(0x3d7)](_0x146322),this['_event$']['next'](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x47b)]:this['_onUserLeave'](_0x146322),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x243)]:case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x3a7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x680012(0x563)](),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)]['MSG_FOR_ERROR']:this[_0x680012(0x221)][_0x680012(0x4ee)](_0x680012(0x3ae)+JSON[_0x680012(0x22d)](_0x146322)),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc['CollaborationEvent'][_0x680012(0x2a2)]:this[_0x680012(0x510)]['onCommentUpdate'](_0x146322[_0x680012(0x40b)]),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;default:this['_event$'][_0x680012(0x476)](_0x146322);}}catch(_0x513593){this[_0x680012(0x221)][_0x680012(0x4ee)](_0x513593,_0x472f12);}}[_0x997d7(0x3d7)](_0x5bb932){var _0x224442=_0x997d7;this[_0x224442(0x303)][_0x224442(0x486)](this[_0x224442(0x4e0)],_0x5bb932['data']);}['_onUserLeave'](_0x26e0d3){var _0x501be4=_0x997d7;this['_memberService'][_0x501be4(0x341)](this[_0x501be4(0x4e0)],_0x26e0d3['data'][_0x501be4(0x298)]);}async[_0x997d7(0x4ea)](_0x246144,_0x1764c1){var _0xdbb878=_0x997d7;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0xdbb878(0x421));try{_0x246144[_0xdbb878(0x328)]===_0x5a7fdc[_0xdbb878(0x315)][_0xdbb878(0x48e)]&&(this[_0xdbb878(0x34e)](),this[_0xdbb878(0x380)](_0x246144)),this['_socket']['send']({'cmd':_0x1f168c['INGEST'],'routeKey':_0x1764c1,'routeType':'','data':_0x246144});}catch(_0x300572){this[_0xdbb878(0x221)][_0xdbb878(0x4ee)](_0x300572);}}[_0x997d7(0x34e)](){var _0x1c81c9=_0x997d7,_0x22fe63;this[_0x1c81c9(0x3f2)]=setTimeout(()=>{var _0x203c92=_0x1c81c9;this[_0x203c92(0x3f2)]=null,this[_0x203c92(0x47a)][_0x203c92(0x2d4)]({'id':_0xedfb31[_0x203c92(0x3f3)]});},(_0x22fe63=this['_configService'][_0x1c81c9(0x368)](_0x315b2c))!=null?_0x22fe63:0x4e20);}[_0x997d7(0x563)](){var _0x346ece=_0x997d7;this[_0x346ece(0x3f2)]&&(clearTimeout(this[_0x346ece(0x3f2)]),this[_0x346ece(0x3f2)]=null);}[_0x997d7(0x380)](_0x16501c){var _0x46fe12=_0x997d7;if(!this[_0x46fe12(0x338)])return;const {data:_0x25a0aa}=_0x16501c,{unitID:_0x250e49,changeset:_0x2e6de8}=_0x25a0aa,{mutations:_0x128a67,type:_0x3f3653}=_0x2e6de8;this[_0x46fe12(0x272)]={'unitId':_0x250e49,'type':_0x3f3653,'startTime':performance[_0x46fe12(0x554)](),'stopTime':0x0,'duration':0x0,'size':_0x2a03fd(_0x128a67)};}[_0x997d7(0x3a2)](){var _0x37fc92=_0x997d7;if(this[_0x37fc92(0x338)]){if(!this['_telemetryInfo']){this[_0x37fc92(0x221)][_0x37fc92(0x4ee)](_0x37fc92(0x443),_0x37fc92(0x405));return;}this[_0x37fc92(0x272)][_0x37fc92(0x4ce)]=performance['now'](),this[_0x37fc92(0x272)]['duration']=this[_0x37fc92(0x272)][_0x37fc92(0x4ce)]-this[_0x37fc92(0x272)]['startTime'],this['_telemetryService'][_0x37fc92(0x349)](_0x5ecfcb,this['_telemetryInfo']),this[_0x37fc92(0x272)]=null;}}[_0x997d7(0x520)](){this['_telemetryInfo']=null;}},_0x36d18b[_0x997d7(0x4d1)]=_0x104870([_0x2b39f1(0x2,_0x29a664[_0x997d7(0x492)]),_0x2b39f1(0x3,_0x29a664[_0x997d7(0x4fc)]),_0x2b39f1(0x4,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x409)])),_0x2b39f1(0x5,_0x29a664['Inject'](_0x3e15b7)),_0x2b39f1(0x6,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x2b39f1(0x7,_0x29a664[_0x997d7(0x29b)](_0x2d504f[_0x997d7(0x280)]))],_0x36d18b['CollaborationSession']);const _0x3e2be6=_0x29a664[_0x997d7(0x38e)](_0x997d7(0x3ed));function _0x82f518(_0x47a676){return'unit-cache-'+_0x47a676;}var _0x5ac726=Object['getOwnPropertyDescriptor'],_0x132989=(_0xbb4164,_0x11496b,_0x3df4e0,_0xbc3ca9)=>{var _0x3c3261=_0x997d7;for(var _0x396dd8=_0xbc3ca9>0x1?void 0x0:_0xbc3ca9?_0x5ac726(_0x11496b,_0x3df4e0):_0x11496b,_0x1f3631=_0xbb4164[_0x3c3261(0x307)]-0x1,_0x3900cb;_0x1f3631>=0x0;_0x1f3631--)(_0x3900cb=_0xbb4164[_0x1f3631])&&(_0x396dd8=_0x3900cb(_0x396dd8)||_0x396dd8);return _0x396dd8;},_0x512f62=(_0x11b3c3,_0x3f918a)=>(_0x51df40,_0x32ece0)=>_0x3f918a(_0x51df40,_0x32ece0,_0x11b3c3);function _0x59fc4b(_0x44a2bd){var _0x10eb54=_0x997d7;const {unitID:_0x200fdf,mutations:_0x4cca68}=_0x44a2bd;return{'unitId':_0x200fdf,'subUnitId':_0x4cca68[_0x10eb54(0x307)]>0x0?_0x4cca68[0x0]['params'][_0x10eb54(0x288)]:null};}_0x36d18b[_0x997d7(0x415)]=class{constructor(_0x94e894,_0x36bbe4,_0x17c2e9){var _0x2d42f9=_0x997d7;this[_0x2d42f9(0x30a)]=_0x94e894,this['_transformService']=_0x36bbe4,this[_0x2d42f9(0x44c)]=_0x17c2e9;}[_0x997d7(0x440)](_0x1c2969){var _0x88484a=_0x997d7,_0xa9eb56,_0x571149,_0x42de08,_0xf58cb;const _0x458af5=this['_injector'][_0x88484a(0x47e)](_0x1ce604[_0x88484a(0x41b)]),{unitId:_0x15dcea,subUnitId:_0x1f932c}=_0x59fc4b(_0x1c2969),_0xd5988f=_0x458af5==null?void 0x0:_0x458af5[_0x88484a(0x379)](_0x15dcea)['getCurrentSelections'](),_0x37155d=(_0x571149=(_0xa9eb56=this[_0x88484a(0x44c)][_0x88484a(0x458)](_0x15dcea))==null?void 0x0:_0xa9eb56[_0x88484a(0x27d)]())==null?void 0x0:_0x571149[_0x88484a(0x383)]();if(_0xd5988f[_0x88484a(0x307)]===0x0||!_0x15dcea||!_0x1f932c)return;const _0x4c64c6=[{'id':_0x1ce604['SetSelectionsOperation']['id'],'params':{'unitId':_0x15dcea,'subUnitId':_0x37155d,'selections':_0x29a664['Tools']['deepClone'](_0xd5988f)}}],_0x126185=this[_0x88484a(0x536)]['transformMutationsWithChangeset'](_0x1c2969,_0x4c64c6);if(!_0x5a7fdc[_0x88484a(0x260)](_0x126185))throw _0x126185[_0x88484a(0x4ee)];const _0x4e09ae=(_0xf58cb=(_0x42de08=_0x126185[_0x88484a(0x2d3)][0x0])==null?void 0x0:_0x42de08[_0x88484a(0x200)])==null?void 0x0:_0xf58cb[_0x88484a(0x518)];if(Array['isArray'](_0x4e09ae)&&_0x4e09ae[_0x88484a(0x307)]){if(_0x4e09ae['length']===_0x4c64c6[0x0]['params']['selections'][_0x88484a(0x307)]&&_0x4e09ae[_0x88484a(0x2c3)]((_0x1e9542,_0x39e29f)=>_0x29a664['Rectangle'][_0x88484a(0x205)](_0x1e9542[_0x88484a(0x300)],_0x4c64c6[0x0][_0x88484a(0x200)][_0x88484a(0x518)][_0x39e29f]['range'])))return;this[_0x88484a(0x30a)][_0x88484a(0x47e)](_0x29a664[_0x88484a(0x37f)])[_0x88484a(0x459)](_0x1ce604[_0x88484a(0x26c)]['id'],{'unitId':_0x15dcea,'subUnitId':_0x37155d,'selections':_0x4e09ae});}}},_0x36d18b['SheetTransformSelectionsService']=_0x132989([_0x512f62(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x512f62(0x1,_0x5a7fdc[_0x997d7(0x4a5)]),_0x512f62(0x2,_0x29a664[_0x997d7(0x208)])],_0x36d18b['SheetTransformSelectionsService']);const _0x4f3087=_0x29a664['createIdentifier'](_0x997d7(0x291));var _0x4ff042=(_0x2ba5a8=>(_0x2ba5a8[_0x2ba5a8[_0x997d7(0x44e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2ba5a8[_0x2ba5a8['OTHER_CLIENTS_EDITING']=0x1]=_0x997d7(0x3f7),_0x2ba5a8))(_0x4ff042||{});const _0x3fa783='collaboration-client.config',_0x1ee5fd={},_0x236b73=new Set([_0x1ce604['InsertSheetMutation']['id']]);function _0x592534(_0x19354a,_0x1c4774,_0x1cc78a,_0x4f8cf8,_0x568a88){var _0x585937=_0x997d7,_0xbfcebd,_0x391ae5,_0x1b1506,_0x376c86;const _0xfd6c34=[];for(const _0x526ce9 of _0x19354a)if(_0x236b73[_0x585937(0x572)](_0x526ce9['id'])){if(_0xfd6c34[_0x585937(0x307)]>0x0)break;_0xfd6c34['push'](_0x526ce9);break;}else _0xfd6c34[_0x585937(0x3f6)](_0x526ce9);const _0x1d32cf=(_0x391ae5=(_0xbfcebd=_0x568a88[_0x585937(0x420)]())==null?void 0x0:_0xbfcebd[_0x585937(0x4cd)])!=null?_0x391ae5:_0x585937(0x374),_0x27a763=(_0x376c86=(_0x1b1506=_0x568a88[_0x585937(0x420)]())==null?void 0x0:_0x1b1506[_0x585937(0x298)])!=null?_0x376c86:_0x585937(0x374);return{'changeset':{'unitID':_0x1c4774,'type':_0x5a7fdc[_0x585937(0x51e)](_0x1cc78a[_0x585937(0x371)](_0x1c4774)),'baseRev':_0x4f8cf8['getCurrentRevOfUnit'](_0x1c4774),'revision':0x0,'userID':_0x1d32cf,'memberID':_0x27a763,'mutations':_0xfd6c34},'pendingMutations':_0x19354a['slice'](_0xfd6c34['length'])};}function _0x1a13a4(_0x184b66,_0xead148,_0x5629ce,_0x461eb0,_0x17a07e){var _0x4987ad=_0x997d7,_0x44a549,_0x299a35,_0x98b702,_0x28b4f8;const _0x481b1c=[_0x184b66[_0x4987ad(0x516)]((_0xd6d151,_0x5d2948)=>{var _0x282666=_0x4987ad,_0x1a9cf7;const {id:_0xdc738d}=_0xd6d151,{id:_0x297045,type:_0x317e3b}=_0x5d2948,_0x43b08f=(_0x1a9cf7=_0xd6d151[_0x282666(0x200)])!=null?_0x1a9cf7:{'actions':null},_0x2fa650=_0x5d2948[_0x282666(0x200)];if(_0xdc738d&&_0xdc738d!==_0x297045)throw new Error(_0x282666(0x36a)+_0xdc738d+'\x20-\x20'+_0x297045+'.');return{..._0xd6d151,'id':_0x297045,'type':_0x317e3b,'params':{'unitId':_0x2fa650[_0x282666(0x441)],'textRanges':_0x2fa650[_0x282666(0x211)],'actions':_0x29a664[_0x282666(0x2bf)]['compose'](_0x43b08f['actions'],_0x2fa650[_0x282666(0x2c7)])}};},{})],_0x24c674=(_0x299a35=(_0x44a549=_0x17a07e['getCurrentUser']())==null?void 0x0:_0x44a549[_0x4987ad(0x4cd)])!=null?_0x299a35:'unknown',_0x4cf44c=(_0x28b4f8=(_0x98b702=_0x17a07e[_0x4987ad(0x420)]())==null?void 0x0:_0x98b702[_0x4987ad(0x298)])!=null?_0x28b4f8:_0x4987ad(0x374);return{'changeset':{'unitID':_0xead148,'type':_0x5a7fdc['mapDocumentTypeToUniverType'](_0x5629ce[_0x4987ad(0x371)](_0xead148)),'baseRev':_0x461eb0[_0x4987ad(0x4e4)](_0xead148),'revision':0x0,'userID':_0x24c674,'memberID':_0x4cf44c,'mutations':_0x481b1c},'pendingMutations':[]};}function _0x44a4a1(_0x1ce12d,_0xeab38c){var _0x24b018=_0x997d7;const _0x1f9cd0=new _0x32c204['ReplaySubject'](0x1);return setTimeout(()=>_0x1f9cd0[_0x24b018(0x476)](_0xeab38c),_0x1ce12d),_0x1f9cd0['asObservable']()[_0x24b018(0x2ab)](_0x32c204[_0x24b018(0x2f3)](0x1));}const _0x4b247a={'id':_0x1ce604['EmptyMutation']['id'],'type':_0x29a664['CommandType'][_0x997d7(0x2b5)],'params':{}};var _0x512f92=Object['getOwnPropertyDescriptor'],_0x5c433b=(_0x509c21,_0x474395,_0x375a81,_0x5bd1dc)=>{var _0x4e7f1d=_0x997d7;for(var _0x56aa1a=_0x5bd1dc>0x1?void 0x0:_0x5bd1dc?_0x512f92(_0x474395,_0x375a81):_0x474395,_0x4d5f30=_0x509c21[_0x4e7f1d(0x307)]-0x1,_0x2dd586;_0x4d5f30>=0x0;_0x4d5f30--)(_0x2dd586=_0x509c21[_0x4d5f30])&&(_0x56aa1a=_0x2dd586(_0x56aa1a)||_0x56aa1a);return _0x56aa1a;},_0x4bdbf6=(_0x74cd88,_0x2a119d)=>(_0x390a1c,_0x2bc7bd)=>_0x2a119d(_0x390a1c,_0x2bc7bd,_0x74cd88),_0x54c82e=(_0x4b166a=>(_0x4b166a['NOT_COLLAB']=_0x997d7(0x428),_0x4b166a['SYNCED']=_0x997d7(0x39c),_0x4b166a[_0x997d7(0x4bc)]=_0x997d7(0x564),_0x4b166a['AWAITING']='awaiting',_0x4b166a[_0x997d7(0x23e)]=_0x997d7(0x2cc),_0x4b166a['FETCH_MISS']=_0x997d7(0x254),_0x4b166a['CONFLICT']=_0x997d7(0x4a0),_0x4b166a[_0x997d7(0x3fd)]=_0x997d7(0x54a),_0x4b166a))(_0x54c82e||{});const _0x1ed61b=0xea60;class _0x383ca2{constructor(_0xd6ea47,_0x1e52e4,_0x22c1a6,_0x359125,_0x5b3c72,_0x2e3eef,_0x193e1c,_0x541fc6,_0x11ac6f){var _0x38a4c0=_0x997d7;_0x260f1e(this,_0x38a4c0(0x480),null),_0x260f1e(this,_0x38a4c0(0x2f8),[]),(this[_0x38a4c0(0x297)]=_0xd6ea47,this[_0x38a4c0(0x3b0)]=_0x1e52e4,this[_0x38a4c0(0x38d)]=_0x5b3c72,this[_0x38a4c0(0x2dc)]=_0x2e3eef,this[_0x38a4c0(0x552)]=_0x193e1c,this[_0x38a4c0(0x4da)]=_0x541fc6,this[_0x38a4c0(0x2ce)]=_0x11ac6f,this['_awaitingChangeset']=_0x22c1a6,this[_0x38a4c0(0x2f8)]=_0x359125);}[_0x997d7(0x27f)](_0x273097){var _0x29460d=_0x997d7;const _0x2014f3=this['_revisionService']['getCurrentRevOfUnit'](this[_0x29460d(0x297)]);return _0x273097[_0x29460d(0x295)]>_0x2014f3+0x1?(this[_0x29460d(0x38d)][_0x29460d(0x43c)]({'from':_0x2014f3,'to':_0x273097[_0x29460d(0x295)]-0x1}),!0x0):!0x1;}[_0x997d7(0x52f)](_0x20feeb){var _0x364e94=_0x997d7;this['_undoRedoService'][_0x364e94(0x4c4)](this[_0x364e94(0x297)],_0x20feeb);}[_0x997d7(0x34f)](_0x4aed7c){var _0x319c79=_0x997d7,_0x631571,_0x27c279;(_0x27c279=(_0x631571=this[_0x319c79(0x38d)])[_0x319c79(0x2a9)])==null||_0x27c279[_0x319c79(0x23d)](_0x631571,_0x4aed7c);}['_transformIMECache'](_0x46cee8){var _0x474b65=_0x997d7,_0x17fb77,_0x4df2b4;return(_0x4df2b4=(_0x17fb77=this[_0x474b65(0x38d)])[_0x474b65(0x3b9)])==null?void 0x0:_0x4df2b4[_0x474b65(0x23d)](_0x17fb77,_0x46cee8);}[_0x997d7(0x507)](_0x3ac28b){var _0x34736c=_0x997d7,_0x505965,_0x1914b1;return(_0x1914b1=(_0x505965=this[_0x34736c(0x38d)])[_0x34736c(0x3a5)])==null?void 0x0:_0x1914b1[_0x34736c(0x23d)](_0x505965,_0x3ac28b);}['_transformRemoteChangesetByIMECache'](_0x13db96){var _0x5aecc4=_0x997d7,_0x91ef5e,_0x2e3a13,_0x2c4da6;return(_0x2c4da6=(_0x2e3a13=(_0x91ef5e=this[_0x5aecc4(0x38d)])[_0x5aecc4(0x40d)])==null?void 0x0:_0x2e3a13[_0x5aecc4(0x23d)](_0x91ef5e,_0x13db96))!=null?_0x2c4da6:_0x13db96;}[_0x997d7(0x56b)](_0x5ed2d0){var _0x3e00f6=_0x997d7,_0x3ef635,_0x4e3042,_0x1b20a5;return(_0x1b20a5=(_0x4e3042=(_0x3ef635=this[_0x3e00f6(0x38d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4e3042[_0x3e00f6(0x23d)](_0x3ef635,_0x5ed2d0))!=null?_0x1b20a5:_0x5ed2d0;}[_0x997d7(0x21b)](_0x350d9e){var _0x14a0b7=_0x997d7,_0x5f1cbf,_0x35ecf5;if(this[_0x14a0b7(0x3b0)]===_0x60f00c[_0x14a0b7(0x47c)]){const {unitID:_0x3aef2b,mutations:_0x33188f,memberID:_0x5eaa3e}=_0x350d9e,_0x4b4c3b=_0x33188f[_0x14a0b7(0x307)]>0x0?_0x33188f[0x0][_0x14a0b7(0x200)][_0x14a0b7(0x211)]:[];Array[_0x14a0b7(0x2c5)](_0x4b4c3b)&&_0x4b4c3b[_0x14a0b7(0x307)]>0x0&&((_0x35ecf5=(_0x5f1cbf=this[_0x14a0b7(0x38d)])['onSyncEditingCollabCursor'])==null||_0x35ecf5['call'](_0x5f1cbf,{'unitID':_0x3aef2b,'memberID':_0x5eaa3e,'textRanges':_0x4b4c3b}));}}[_0x997d7(0x2b3)](){var _0x5103f6=_0x997d7,_0xa59c6f;(_0xa59c6f=this[_0x5103f6(0x2ce)])==null||_0xa59c6f[_0x5103f6(0x543)](this['unitID'],this[_0x5103f6(0x3b0)],this['_awaitingChangeset'],this[_0x5103f6(0x2f8)]);}[_0x997d7(0x352)](){var _0x3f631a=_0x997d7;return this[_0x3f631a(0x4da)]['getCurrentRevOfUnit'](this[_0x3f631a(0x297)]);}['_incrementRevisionNumber'](){var _0x9553c0=_0x997d7;this[_0x9553c0(0x4da)]['incrementRevOfUnit'](this['unitID']);}[_0x997d7(0x517)](_0x213357){var _0x32211d=_0x997d7,_0x5a8cf6;let _0x483057=this['_transformRemoteChangesetByIMECache'](_0x213357);_0x483057=this[_0x32211d(0x56b)](_0x483057);const _0x5c2f6f=_0x29a664[_0x32211d(0x56c)](_0x483057['mutations'],this[_0x32211d(0x2dc)],{'fromCollab':!0x0});if(!_0x5c2f6f['result'])throw _0x5c2f6f['error']instanceof Error?_0x5c2f6f[_0x32211d(0x4ee)]:new Error((_0x5a8cf6=_0x5c2f6f['error'])!=null?_0x5a8cf6:_0x32211d(0x39f));this['_transformIMECache'](_0x483057),this[_0x32211d(0x507)](_0x483057),this[_0x32211d(0x52f)](_0x213357),this[_0x32211d(0x34f)](_0x483057),this['_syncEditingCollabCursor'](_0x483057),this['_incrementRevisionNumber']();}}_0x36d18b['SyncedState']=class extends _0x383ca2{constructor(_0x333254,_0x6d64dc,_0x59cf4c,_0x1a5b37,_0x5b2523,_0x3f73b5,_0x48dce8,_0x206c2b,_0x194daa,_0x33935e){var _0xcc64bf=_0x997d7;super(_0x333254,_0x6d64dc,null,[],_0x59cf4c,_0x48dce8,_0x3f73b5,_0x1a5b37,_0x33935e),_0x260f1e(this,_0xcc64bf(0x370),_0xcc64bf(0x39c)),(this[_0xcc64bf(0x30a)]=_0x5b2523,this[_0xcc64bf(0x221)]=_0x206c2b,this[_0xcc64bf(0x536)]=_0x194daa,this[_0xcc64bf(0x450)]=_0x33935e);}[_0x997d7(0x560)](_0x1dbced){var _0x52e21f=_0x997d7;const _0x15dd73=this[_0x52e21f(0x30a)]['createInstance'](_0x36d18b[_0x52e21f(0x265)],this[_0x52e21f(0x297)],this[_0x52e21f(0x3b0)],[_0x1dbced],this['_handler']);return _0x15dd73[_0x52e21f(0x23a)](),_0x15dd73['_updateLocalCache'](),_0x15dd73;}[_0x997d7(0x42c)](_0x2553af){var _0x57b706=_0x997d7;if(this[_0x57b706(0x27f)](_0x2553af))return this[_0x57b706(0x30a)]['createInstance'](_0x36d18b[_0x57b706(0x310)],this[_0x57b706(0x297)],this[_0x57b706(0x3b0)],null,[],null,[_0x2553af],this[_0x57b706(0x38d)]);try{const _0x2057a4=this[_0x57b706(0x536)][_0x57b706(0x576)](_0x2553af,[_0x4b247a]);if(_0x5a7fdc[_0x57b706(0x260)](_0x2057a4)){const {c1Prime:_0x2eaf14}=_0x2057a4;return this[_0x57b706(0x517)](_0x2eaf14),this;}throw _0x2057a4[_0x57b706(0x4ee)];}catch(_0x105a09){return this[_0x57b706(0x221)]['error'](_0x105a09),this[_0x57b706(0x2c0)](!0x1);}}[_0x997d7(0x2c0)](_0x3bf12a){var _0x7d44d3=_0x997d7;return this['_injector'][_0x7d44d3(0x55e)](_0x36d18b[_0x7d44d3(0x445)],this[_0x7d44d3(0x297)],this[_0x7d44d3(0x3b0)],null,[],this['_handler'],_0x3bf12a);}[_0x997d7(0x4e8)](){var _0x229a12=_0x997d7;throw new Error(_0x229a12(0x392));}['onRemoteRej'](){var _0xbefbcc=_0x997d7;throw new Error(_0xbefbcc(0x26b));}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){var _0x41076d=_0x997d7;return this['_injector']['createInstance'](_0x36d18b[_0x41076d(0x290)],this[_0x41076d(0x297)],this[_0x41076d(0x3b0)],null,[],this[_0x41076d(0x38d)]);}[_0x997d7(0x317)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x997d7(0x528)](){var _0x114c9d=_0x997d7;const _0x413298=this[_0x114c9d(0x4da)][_0x114c9d(0x4e4)](this['unitID']);return this[_0x114c9d(0x38d)][_0x114c9d(0x43c)]({'from':_0x413298,'to':0x0}),this['_injector'][_0x114c9d(0x55e)](_0x36d18b[_0x114c9d(0x310)],this['unitID'],this[_0x114c9d(0x3b0)],null,[],null,[],this[_0x114c9d(0x38d)]);}},_0x36d18b[_0x997d7(0x568)]=_0x5c433b([_0x4bdbf6(0x3,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x4,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x7,_0x29a664['ILogService']),_0x4bdbf6(0x8,_0x5a7fdc['ITransformService']),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x568)]),_0x36d18b['PendingState']=class extends _0x383ca2{constructor(_0x402406,_0x3f366d,_0x424240,_0x259422,_0x1fa317,_0x4fe842,_0x1b56ab,_0x5cc4a4,_0x3dbadf,_0x5838d4,_0x953a8f,_0x45b393,_0x163ef7,_0x5088ce){var _0x5aeedd=_0x997d7;super(_0x402406,_0x3f366d,null,_0x424240,_0x259422,_0x3dbadf,_0x163ef7,_0x4fe842,_0x5088ce),_0x260f1e(this,_0x5aeedd(0x370),_0x5aeedd(0x564)),_0x260f1e(this,'_scheduleCompleteTimestamp',null),_0x260f1e(this,_0x5aeedd(0x406),null),(this[_0x5aeedd(0x30a)]=_0x1fa317,this['_memberService']=_0x1b56ab,this[_0x5aeedd(0x221)]=_0x5cc4a4,this[_0x5aeedd(0x261)]=_0x5838d4,this[_0x5aeedd(0x536)]=_0x953a8f,this['_univerInstanceService']=_0x45b393);}['appendMutation'](_0x512698){var _0x1d54c4=_0x997d7;return this[_0x1d54c4(0x2f8)][_0x1d54c4(0x3f6)](_0x512698),this[_0x1d54c4(0x2b3)](),this;}[_0x997d7(0x42c)](_0x1f99b5){var _0x37f997=_0x997d7;if(this[_0x37f997(0x27f)](_0x1f99b5))return this['_clearScheduledTask'](),this[_0x37f997(0x30a)]['createInstance'](_0x36d18b['FetchingMissState'],this['unitID'],this[_0x37f997(0x3b0)],null,this[_0x37f997(0x2f8)],null,[_0x1f99b5],this[_0x37f997(0x38d)]);try{const _0x5adc3d=this[_0x37f997(0x536)][_0x37f997(0x576)](_0x1f99b5,this['_pendingMutations']);if(_0x5a7fdc[_0x37f997(0x260)](_0x5adc3d)){const {c1Prime:_0x4fba81,m2Prime:_0x222184}=_0x5adc3d;this[_0x37f997(0x517)](_0x4fba81);const _0x16e111=this[_0x37f997(0x30a)][_0x37f997(0x55e)](_0x36d18b['PendingState'],this[_0x37f997(0x297)],this[_0x37f997(0x3b0)],_0x222184,this[_0x37f997(0x38d)]);this[_0x37f997(0x508)]();const _0x9600fc=new Date()[_0x37f997(0x299)](),_0x2ddcd4=this[_0x37f997(0x535)]?Math[_0x37f997(0x287)](this[_0x37f997(0x535)]-_0x9600fc,0x0):this[_0x37f997(0x3f1)]();return _0x16e111[_0x37f997(0x23a)](_0x2ddcd4),_0x16e111;}throw _0x5adc3d[_0x37f997(0x4ee)];}catch(_0x54ad76){return this[_0x37f997(0x221)][_0x37f997(0x4ee)](_0x54ad76),this[_0x37f997(0x2c0)](!0x1);}}[_0x997d7(0x4e8)](){var _0x2b7898=_0x997d7;throw new Error(_0x2b7898(0x475));}['onRemoteRej'](){var _0x715e87=_0x997d7;throw new Error(_0x715e87(0x426));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x368fe0=_0x997d7;return this[_0x368fe0(0x508)](),this[_0x368fe0(0x30a)][_0x368fe0(0x55e)](_0x36d18b[_0x368fe0(0x290)],this[_0x368fe0(0x297)],this[_0x368fe0(0x3b0)],null,this['_pendingMutations'],this[_0x368fe0(0x38d)]);}[_0x997d7(0x317)](){return this;}[_0x997d7(0x23a)](_0x352194){var _0x56f5ed=_0x997d7;const _0x4a60b5=_0x352194!=null?_0x352194:this['_getSendChangesetTimeout']();this[_0x56f5ed(0x535)]=new Date()[_0x56f5ed(0x299)]()+_0x4a60b5,this['_sendingTimer']=setTimeout(()=>{var _0x298bb1=_0x56f5ed;this[_0x298bb1(0x508)]();let _0x19e783=null;switch(this['type']){case _0x60f00c[_0x298bb1(0x4c5)]:{_0x19e783=_0x592534(this[_0x298bb1(0x2f8)],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]);break;}case _0x60f00c['UNIVER_DOC']:{this[_0x298bb1(0x2f8)][_0x298bb1(0x2c3)](_0x33427d=>_0x33427d['id']===_0x438bd6[_0x298bb1(0x515)]['id'])?_0x19e783=_0x1a13a4(this['_pendingMutations'],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]):_0x19e783=_0x592534(this[_0x298bb1(0x2f8)],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x298bb1(0x3b0)]+_0x298bb1(0x357));}const {changeset:_0x3b27ca,pendingMutations:_0x54b1d5}=_0x19e783;this['_handler'][_0x298bb1(0x314)](_0x3b27ca);const _0x5f42c6=_0x54b1d5[_0x298bb1(0x307)]?this[_0x298bb1(0x30a)][_0x298bb1(0x55e)](_0x36d18b[_0x298bb1(0x4ba)],this[_0x298bb1(0x297)],this[_0x298bb1(0x3b0)],_0x3b27ca,_0x54b1d5,this[_0x298bb1(0x38d)],void 0x0):this['_injector'][_0x298bb1(0x55e)](_0x36d18b[_0x298bb1(0x37e)],this[_0x298bb1(0x297)],this[_0x298bb1(0x3b0)],_0x3b27ca,this[_0x298bb1(0x38d)]);_0x5f42c6[_0x298bb1(0x2b3)](),this[_0x298bb1(0x38d)][_0x298bb1(0x4bf)](this,_0x5f42c6);},_0x4a60b5);}[_0x997d7(0x3f1)](){var _0x1ddafd=_0x997d7,_0x5d9057;const _0x28a5a7=this['_configService'][_0x1ddafd(0x368)](_0x3fa783);return(_0x5d9057=_0x28a5a7==null?void 0x0:_0x28a5a7[_0x1ddafd(0x3c6)])!=null?_0x5d9057:0x7d0;}[_0x997d7(0x482)](){var _0xe702c8=_0x997d7;throw new Error(_0xe702c8(0x4c8));}[_0x997d7(0x508)](){var _0x4ff68b=_0x997d7;this[_0x4ff68b(0x406)]!=null&&(clearTimeout(this[_0x4ff68b(0x406)]),this['_sendingTimer']=null);}[_0x997d7(0x2c0)](_0x1edd8a){var _0x5bae14=_0x997d7;return this['_clearScheduledTask'](),this[_0x5bae14(0x30a)]['createInstance'](_0x36d18b[_0x5bae14(0x445)],this[_0x5bae14(0x297)],this['type'],null,this[_0x5bae14(0x2f8)],this[_0x5bae14(0x38d)],_0x1edd8a);}},_0x36d18b[_0x997d7(0x265)]=_0x5c433b([_0x4bdbf6(0x4,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x6,_0x29a664['Inject'](_0x36d18b[_0x997d7(0x409)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x492)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x9,_0x29a664['IConfigService']),_0x4bdbf6(0xa,_0x5a7fdc['ITransformService']),_0x4bdbf6(0xb,_0x29a664['IUniverInstanceService']),_0x4bdbf6(0xc,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0xd,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b['PendingState']),_0x36d18b[_0x997d7(0x37e)]=class extends _0x383ca2{constructor(_0x4759c0,_0x2c7f0d,_0x454d95,_0x29f83f,_0x59e524,_0x4c4ac6,_0x4aeee9,_0x3d19fb,_0x15c175,_0xd12488,_0x4129b5){var _0x468c87=_0x997d7;super(_0x4759c0,_0x2c7f0d,_0x454d95,[],_0x29f83f,_0x4aeee9,_0xd12488,_0x4c4ac6,_0x4129b5),_0x260f1e(this,_0x468c87(0x370),_0x468c87(0x40a)),_0x260f1e(this,_0x468c87(0x2dd),0x0),_0x260f1e(this,_0x468c87(0x220)),_0x260f1e(this,_0x468c87(0x25f)),(this['_injector']=_0x59e524,this[_0x468c87(0x221)]=_0x3d19fb,this[_0x468c87(0x536)]=_0x15c175);}[_0x997d7(0x560)](_0x1edc66){var _0x54b01a=_0x997d7;this[_0x54b01a(0x508)]();const _0x193c87=this[_0x54b01a(0x30a)][_0x54b01a(0x55e)](_0x36d18b[_0x54b01a(0x4ba)],this[_0x54b01a(0x297)],this['type'],this[_0x54b01a(0x480)],[_0x1edc66],this['_handler'],this[_0x54b01a(0x220)]);return _0x193c87[_0x54b01a(0x2b3)](),_0x193c87;}[_0x997d7(0x42c)](_0x5a0de5){var _0x4add01=_0x997d7;if(this[_0x4add01(0x27f)](_0x5a0de5))return this[_0x4add01(0x508)](),this[_0x4add01(0x30a)][_0x4add01(0x55e)](_0x36d18b['FetchingMissState'],this[_0x4add01(0x297)],this['type'],this[_0x4add01(0x480)],[],null,[_0x5a0de5],this['_handler']);try{const _0xad6a79=this[_0x4add01(0x536)][_0x4add01(0x25e)]([_0x5a0de5],[this['_awaitingChangeset']],!0x1);if(_0x5a7fdc[_0x4add01(0x3d3)](_0xad6a79)){const {c1Prime:_0x3224c0,c2Prime:_0x5a4406}=_0xad6a79;this[_0x4add01(0x517)](_0x3224c0[0x0]),_0x5a4406[0x0][_0x4add01(0x2e9)]=this[_0x4add01(0x352)](),this[_0x4add01(0x508)]();const _0x3dd5ed=this[_0x4add01(0x30a)]['createInstance'](_0x36d18b[_0x4add01(0x37e)],this[_0x4add01(0x297)],this[_0x4add01(0x3b0)],_0x5a4406[0x0],this[_0x4add01(0x38d)]);return _0x3dd5ed[_0x4add01(0x2b3)](),_0x3dd5ed;}return this['_onConflict'](!0x1);}catch(_0x263f1f){return this[_0x4add01(0x221)][_0x4add01(0x4ee)](_0x263f1f),this[_0x4add01(0x2c0)](!0x1);}}[_0x997d7(0x4e8)](_0x5a8c95){var _0x493cbd=_0x997d7;this['_clearScheduledTask']();const _0x583517=this[_0x493cbd(0x4da)]['getCurrentRevOfUnit'](this[_0x493cbd(0x297)]);if(_0x5a8c95[_0x493cbd(0x295)]<_0x583517-0x1)return this;if(this[_0x493cbd(0x27f)](_0x5a8c95))return this[_0x493cbd(0x30a)][_0x493cbd(0x55e)](_0x36d18b[_0x493cbd(0x310)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x493cbd(0x47f)]();const _0x5ea49d=this['_injector'][_0x493cbd(0x55e)](_0x36d18b[_0x493cbd(0x568)],this[_0x493cbd(0x297)],this['type'],this[_0x493cbd(0x38d)]);return _0x5ea49d[_0x493cbd(0x2b3)](),_0x5ea49d;}[_0x997d7(0x35a)](_0x2117df){var _0x507b2d=_0x997d7;return this[_0x507b2d(0x2c0)](!!(_0x2117df!=null&&_0x2117df[_0x507b2d(0x3e1)]));}['onRemoteRetry'](_0x40ac91){var _0x1ccd77=_0x997d7;return this[_0x1ccd77(0x2dd)]>_0x1ed61b?this[_0x1ccd77(0x271)]():(this[_0x1ccd77(0x220)]=_0x44a4a1(this[_0x1ccd77(0x2dd)],{'timeout':this[_0x1ccd77(0x2dd)],'reqId':_0x40ac91[_0x1ccd77(0x451)]}),this[_0x1ccd77(0x25f)]=this[_0x1ccd77(0x220)][_0x1ccd77(0x3cc)](({reqId:_0xf3bef9,timeout:_0x3d5589})=>{var _0x25d751=_0x1ccd77;this[_0x25d751(0x302)](_0xf3bef9,_0x3d5589);}),this);}[_0x997d7(0x271)](){var _0x19c489=_0x997d7;return this['_clearScheduledTask'](),this[_0x19c489(0x30a)][_0x19c489(0x55e)](_0x36d18b[_0x19c489(0x290)],this[_0x19c489(0x297)],this[_0x19c489(0x3b0)],this[_0x19c489(0x480)],[],this['_handler']);}[_0x997d7(0x317)](){return this;}['resend'](){var _0x4fcced=_0x997d7;this[_0x4fcced(0x38d)]['onSendChangeset'](this[_0x4fcced(0x480)]);}[_0x997d7(0x2c0)](_0x5e81f7){var _0x4a16f7=_0x997d7;return this[_0x4a16f7(0x508)](),this[_0x4a16f7(0x30a)]['createInstance'](_0x36d18b[_0x4a16f7(0x445)],this['unitID'],this[_0x4a16f7(0x3b0)],this[_0x4a16f7(0x480)],[],this[_0x4a16f7(0x38d)],_0x5e81f7);}['_resendWithTimeout'](_0x55c029,_0x50c8f1){var _0x311353=_0x997d7,_0x468694;_0x55c029===((_0x468694=this[_0x311353(0x480)])==null?void 0x0:_0x468694[_0x311353(0x451)])&&(this[_0x311353(0x482)](),this['_resendTimeout']=_0x50c8f1===0x0?0x3e8:_0x50c8f1*0x2);}[_0x997d7(0x508)](){var _0x21067a=_0x997d7,_0x2ac30a;(_0x2ac30a=this['_sender'])==null||_0x2ac30a[_0x21067a(0x2f5)](),this[_0x21067a(0x2dd)]=0x0;}},_0x36d18b[_0x997d7(0x37e)]=_0x5c433b([_0x4bdbf6(0x4,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x7,_0x29a664['ILogService']),_0x4bdbf6(0x8,_0x5a7fdc[_0x997d7(0x4a5)]),_0x4bdbf6(0x9,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xa,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x37e)]),_0x36d18b[_0x997d7(0x4ba)]=class extends _0x383ca2{constructor(_0x332a86,_0x123093,_0x1306a7,_0x43edb4,_0x68e2c6,_0x28f78f,_0x564abd,_0x58ae9e,_0x5654c7,_0x52c693,_0x4eafbd,_0x4d637d,_0x437cc6){var _0x54ae6d=_0x997d7;super(_0x332a86,_0x123093,_0x1306a7,_0x43edb4,_0x68e2c6,_0x5654c7,_0x4d637d,_0x58ae9e,_0x437cc6),_0x260f1e(this,'status',_0x54ae6d(0x2cc)),_0x260f1e(this,_0x54ae6d(0x2dd),0x0),_0x260f1e(this,_0x54ae6d(0x220)),_0x260f1e(this,'_sender'),(this['_injector']=_0x564abd,this[_0x54ae6d(0x221)]=_0x52c693,this[_0x54ae6d(0x536)]=_0x4eafbd,this[_0x54ae6d(0x450)]=_0x437cc6,_0x28f78f&&(this[_0x54ae6d(0x220)]=_0x28f78f,this[_0x54ae6d(0x25f)]=this[_0x54ae6d(0x220)]['subscribe'](({reqId:_0x3af823,timeout:_0x330ba5})=>{var _0x4377b6=_0x54ae6d;this[_0x4377b6(0x302)](_0x3af823,_0x330ba5);})));}[_0x997d7(0x560)](_0x2db6c0){var _0xbda67a=_0x997d7;return this[_0xbda67a(0x2f8)][_0xbda67a(0x3f6)](_0x2db6c0),this;}[_0x997d7(0x42c)](_0x20d1a2){var _0x780d0=_0x997d7;if(this[_0x780d0(0x27f)](_0x20d1a2))return this[_0x780d0(0x508)](),this['_injector'][_0x780d0(0x55e)](_0x36d18b[_0x780d0(0x310)],this['unitID'],this[_0x780d0(0x3b0)],this[_0x780d0(0x480)],this[_0x780d0(0x2f8)],null,[_0x20d1a2],this[_0x780d0(0x38d)]);try{const _0x161d41=this[_0x780d0(0x536)]['transformChangesets']([_0x20d1a2],[this[_0x780d0(0x480)]],!0x1);if(_0x5a7fdc[_0x780d0(0x3d3)](_0x161d41)){const {c1Prime:_0x5d42d8,c2Prime:_0x35ecfb}=_0x161d41,_0x4eb461=this[_0x780d0(0x536)][_0x780d0(0x576)](_0x5d42d8[0x0],this[_0x780d0(0x2f8)]);if(_0x5a7fdc[_0x780d0(0x260)](_0x4eb461)){const {c1Prime:_0x1cf268,m2Prime:_0x425002}=_0x4eb461;return this[_0x780d0(0x517)](_0x1cf268),_0x35ecfb[0x0][_0x780d0(0x2e9)]=this[_0x780d0(0x352)](),this[_0x780d0(0x508)](),this[_0x780d0(0x30a)][_0x780d0(0x55e)](_0x36d18b['AwaitingWithPendingState'],this[_0x780d0(0x297)],this[_0x780d0(0x3b0)],_0x35ecfb[0x0],_0x425002,this[_0x780d0(0x38d)],void 0x0);}throw _0x4eb461[_0x780d0(0x4ee)];}throw _0x161d41['error'];}catch(_0x4ae5eb){return this[_0x780d0(0x221)][_0x780d0(0x4ee)](_0x4ae5eb),this[_0x780d0(0x2c0)](!0x1);}}['onRemoteAck'](_0x3add83){var _0xba5e86=_0x997d7;if(this[_0xba5e86(0x508)](),this[_0xba5e86(0x27f)](_0x3add83))return this[_0xba5e86(0x30a)][_0xba5e86(0x55e)](_0x36d18b[_0xba5e86(0x310)],this['unitID'],this[_0xba5e86(0x3b0)],null,this[_0xba5e86(0x2f8)],this[_0xba5e86(0x480)],[],this[_0xba5e86(0x38d)]);this[_0xba5e86(0x47f)]();const _0x5976d2=this[_0xba5e86(0x30a)]['createInstance'](_0x36d18b['PendingState'],this['unitID'],this[_0xba5e86(0x3b0)],this[_0xba5e86(0x2f8)],this[_0xba5e86(0x38d)]);return _0x5976d2[_0xba5e86(0x23a)](),_0x5976d2[_0xba5e86(0x2b3)](),_0x5976d2;}['onRemoteRej'](_0x592a51){var _0x5a512b=_0x997d7;return this[_0x5a512b(0x2c0)](!!(_0x592a51!=null&&_0x592a51['isPermissionRej']));}[_0x997d7(0x4db)](_0x140451){var _0x41e85a=_0x997d7;return this['_resendTimeout']>_0x1ed61b?this[_0x41e85a(0x271)]():(this[_0x41e85a(0x220)]=_0x44a4a1(this[_0x41e85a(0x2dd)],{'timeout':this[_0x41e85a(0x2dd)],'reqId':_0x140451[_0x41e85a(0x451)]}),this[_0x41e85a(0x25f)]=this[_0x41e85a(0x220)]['subscribe'](({reqId:_0x18f725,timeout:_0x4068ed})=>{var _0xe5ab9f=_0x41e85a;this[_0xe5ab9f(0x302)](_0x18f725,_0x4068ed);}),this);}['toggleOffline'](){var _0x1bc08e=_0x997d7;return this[_0x1bc08e(0x508)](),this[_0x1bc08e(0x30a)][_0x1bc08e(0x55e)](_0x36d18b['OfflineState'],this[_0x1bc08e(0x297)],this['type'],this[_0x1bc08e(0x480)],this[_0x1bc08e(0x2f8)],this[_0x1bc08e(0x38d)]);}['toggleOnline'](){return this;}['resend'](){var _0x2c222d=_0x997d7;this[_0x2c222d(0x38d)][_0x2c222d(0x314)](this[_0x2c222d(0x480)]);}[_0x997d7(0x2c0)](_0x294649){var _0x4f3b0f=_0x997d7;return this['_clearScheduledTask'](),this[_0x4f3b0f(0x30a)][_0x4f3b0f(0x55e)](_0x36d18b['ConflictState'],this[_0x4f3b0f(0x297)],this[_0x4f3b0f(0x3b0)],null,this['_pendingMutations'],this[_0x4f3b0f(0x38d)],_0x294649);}[_0x997d7(0x302)](_0x31a04e,_0x2c46e8){var _0x3bde3b=_0x997d7,_0x5b2585;_0x31a04e===((_0x5b2585=this[_0x3bde3b(0x480)])==null?void 0x0:_0x5b2585[_0x3bde3b(0x451)])&&(this[_0x3bde3b(0x482)](),this[_0x3bde3b(0x2dd)]=_0x2c46e8===0x0?0x3e8:_0x2c46e8*0x2);}['_clearScheduledTask'](){var _0xb0f7e6=_0x997d7,_0x359f4d;(_0x359f4d=this[_0xb0f7e6(0x25f)])==null||_0x359f4d['unsubscribe'](),this[_0xb0f7e6(0x2dd)]=0x0;}},_0x36d18b['AwaitingWithPendingState']=_0x5c433b([_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x9,_0x29a664['ILogService']),_0x4bdbf6(0xa,_0x5a7fdc[_0x997d7(0x4a5)]),_0x4bdbf6(0xb,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xc,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x4ba)]),_0x36d18b['ConflictState']=class extends _0x383ca2{constructor(_0x1c5db5,_0x35c3f8,_0x5b2f58,_0x3802e2,_0x23f0cd,_0x4ea158=!0x1,_0x50e878,_0x3dad7a,_0x4231d0,_0x5b5c8f,_0x127df1,_0x54987e,_0x163e1b){var _0x4ca719=_0x997d7;super(_0x1c5db5,_0x35c3f8,_0x5b2f58,_0x3802e2,_0x23f0cd,_0x3dad7a,_0x4231d0,_0x5b5c8f,_0x163e1b),_0x260f1e(this,_0x4ca719(0x370),'conflict'),(this[_0x4ca719(0x381)]=_0x4ea158,this['_permissionService']=_0x50e878,this[_0x4ca719(0x389)]=_0x127df1,this['_collaborationUIEventService']=_0x54987e,this['localCacheService']=_0x163e1b,this[_0x4ca719(0x43b)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x997d7(0x560)](){return this;}['onRemoteChangeset'](){return this;}[_0x997d7(0x4e8)](){return this;}['onRemoteRej'](){return this;}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){return this;}[_0x997d7(0x317)](){return this;}[_0x997d7(0x482)](){var _0x4ed8c2=_0x997d7;throw new Error(_0x4ed8c2(0x3bc));}[_0x997d7(0x292)](){var _0x1df70f=_0x997d7,_0x1ae0e9;(_0x1ae0e9=this[_0x1df70f(0x2ce)])==null||_0x1ae0e9[_0x1df70f(0x543)](this['unitID'],this['type'],null,[]);}[_0x997d7(0x43b)](){var _0x49c30c=_0x997d7;this[_0x49c30c(0x381)]?this['_collaborationUIEventService'][_0x49c30c(0x2d4)]({'id':_0xedfb31[_0x49c30c(0x2ad)]}):this[_0x49c30c(0x47a)][_0x49c30c(0x2d4)]({'id':_0xedfb31['CONFLICT']});}['_disableEditing'](){var _0x80a748=_0x997d7;this['_permissionService'][_0x80a748(0x56e)](new _0x1ce604[(_0x80a748(0x4e5))](this['unitID'])['id'],!0x1);}},_0x36d18b[_0x997d7(0x445)]=_0x5c433b([_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x29a664['IPermissionService'])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0xa,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x4bdbf6(0xb,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x4bdbf6(0xc,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b['ConflictState']),_0x36d18b[_0x997d7(0x290)]=class extends _0x383ca2{constructor(_0xa8b7b0,_0x3a0a8e,_0x187cce,_0x490ecd,_0x50344a,_0x261c0a,_0x28f307,_0x148518,_0x23b197,_0x3ad4af){var _0x5baa46=_0x997d7;super(_0xa8b7b0,_0x3a0a8e,_0x187cce,_0x490ecd,_0x50344a,_0x148518,_0x23b197,_0x28f307,_0x3ad4af),_0x260f1e(this,_0x5baa46(0x370),'offline'),this[_0x5baa46(0x30a)]=_0x261c0a;}[_0x997d7(0x560)](_0xaf1f36){var _0xcf1815=_0x997d7;return this[_0xcf1815(0x2f8)][_0xcf1815(0x3f6)](_0xaf1f36),this['_updateLocalCache'](),this;}[_0x997d7(0x42c)](_0x3ee95b){var _0x597b82=_0x997d7;throw new Error(_0x597b82(0x309));}[_0x997d7(0x4e8)](){var _0x1c0e1b=_0x997d7;throw new Error(_0x1c0e1b(0x238));}[_0x997d7(0x35a)](){var _0x22a57f=_0x997d7;throw new Error(_0x22a57f(0x33b));}['onRemoteRetry'](){return this;}[_0x997d7(0x271)](){return this;}['toggleOnline'](){var _0x65a5a7=_0x997d7;const {_injector:_0x2c0ee0,_pendingMutations:_0x5837ed,_awaitingChangeset:_0x38eb6c,unitID:_0x3197f7,_handler:_0x2925f0,type:_0x3662fd}=this,_0x2a94b4=_0x163990(_0x2c0ee0,_0x3197f7,_0x3662fd,_0x38eb6c,_0x5837ed,_0x2925f0);return _0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x265)]?_0x2a94b4[_0x65a5a7(0x23a)]():(_0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x4ba)]||_0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x37e)])&&_0x2a94b4[_0x65a5a7(0x482)](),_0x2a94b4;}[_0x997d7(0x482)](){var _0x7a045d=_0x997d7;throw new Error(_0x7a045d(0x3f9));}},_0x36d18b[_0x997d7(0x290)]=_0x5c433b([_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x290)]),_0x36d18b['FetchingMissState']=class extends _0x383ca2{constructor(_0x243057,_0x1c0889,_0x198c36,_0x5d2768,_0xfa5de6,_0xc64113,_0x28277d,_0x406b8d,_0x1c1d82,_0x140bd1,_0xb4e98,_0x173abb,_0x21bea8,_0x5b1c47){var _0x7b5189=_0x997d7;super(_0x243057,_0x1c0889,_0x198c36,_0x5d2768,_0x28277d,_0xb4e98,_0x173abb,_0x1c1d82,_0x5b1c47),_0x260f1e(this,_0x7b5189(0x370),_0x7b5189(0x254)),(this['_acknowledgedAwaitingChangeset']=_0xfa5de6,this['_queuedRemoteChangesets']=_0xc64113,this[_0x7b5189(0x30a)]=_0x406b8d,this[_0x7b5189(0x221)]=_0x140bd1,this[_0x7b5189(0x536)]=_0x21bea8,this[_0x7b5189(0x450)]=_0x5b1c47);}[_0x997d7(0x403)](_0xf8035){var _0x920344=_0x997d7;try{const _0x9a5eb9=[..._0xf8035,...this[_0x920344(0x3da)]],_0x1813bc=[this['_awaitingChangeset']||this[_0x920344(0x527)]]['filter'](_0x170146=>!!_0x170146);let _0x30631d,_0x436f8c;if(_0x1813bc[_0x920344(0x307)]){const _0x180af0=this[_0x920344(0x536)][_0x920344(0x25e)](_0x9a5eb9,_0x1813bc,!0x1);if(!_0x5a7fdc[_0x920344(0x3d3)](_0x180af0))throw _0x180af0[_0x920344(0x4ee)];_0x30631d=_0x180af0[_0x920344(0x1ec)],_0x436f8c=_0x180af0[_0x920344(0x219)];}else _0x30631d=_0x9a5eb9,_0x436f8c=[];let _0x21cc15=this['_pendingMutations'];_0x30631d[_0x920344(0x2bd)](_0x4632f2=>{var _0x411d10=_0x920344;let _0x2306c1;if(_0x21cc15[_0x411d10(0x307)]){const _0x3bf3d2=this[_0x411d10(0x536)][_0x411d10(0x576)](_0x4632f2,_0x21cc15);if(!_0x5a7fdc[_0x411d10(0x260)](_0x3bf3d2))throw _0x3bf3d2[_0x411d10(0x4ee)];_0x2306c1=_0x3bf3d2[_0x411d10(0x1ec)],_0x21cc15=_0x3bf3d2[_0x411d10(0x2d3)];}else _0x2306c1=_0x4632f2;this[_0x411d10(0x517)](_0x2306c1);}),this[_0x920344(0x527)]&&this[_0x920344(0x47f)](),this[_0x920344(0x480)]&&_0x436f8c[_0x920344(0x307)]&&(_0x436f8c[0x0]['baseRev']=this[_0x920344(0x352)]());let _0x3fd070;if(this[_0x920344(0x480)]&&_0x21cc15[_0x920344(0x307)]!==0x0)_0x3fd070=this['_injector'][_0x920344(0x55e)](_0x36d18b[_0x920344(0x4ba)],this['unitID'],this['type'],_0x436f8c[0x0],_0x21cc15,this[_0x920344(0x38d)],void 0x0);else{if(this[_0x920344(0x480)]&&_0x21cc15['length']===0x0)_0x436f8c[0x0][_0x920344(0x2e9)]=this[_0x920344(0x352)](),_0x3fd070=this['_injector']['createInstance'](_0x36d18b[_0x920344(0x37e)],this['unitID'],this[_0x920344(0x3b0)],_0x436f8c[0x0],this['_handler']);else{if(_0x21cc15['length']!==0x0){const _0x264a88=this[_0x920344(0x30a)][_0x920344(0x55e)](_0x36d18b[_0x920344(0x265)],this[_0x920344(0x297)],this[_0x920344(0x3b0)],_0x21cc15,this[_0x920344(0x38d)]);_0x264a88[_0x920344(0x23a)](),_0x3fd070=_0x264a88;}else _0x3fd070=this[_0x920344(0x30a)][_0x920344(0x55e)](_0x36d18b['SyncedState'],this[_0x920344(0x297)],this[_0x920344(0x3b0)],this[_0x920344(0x38d)]);}}return _0x3fd070['_updateLocalCache'](),_0x3fd070;}catch(_0x3552cb){return this[_0x920344(0x221)][_0x920344(0x4ee)]('[FetchMissState]',_0x920344(0x511),_0x3552cb),this['_injector'][_0x920344(0x55e)](_0x36d18b[_0x920344(0x445)],this['unitID'],this[_0x920344(0x3b0)],this[_0x920344(0x480)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x41c6e9=_0x997d7;throw new Error(_0x41c6e9(0x3be));}[_0x997d7(0x560)](_0x17375e){var _0x34ce27=_0x997d7;return this['_pendingMutations'][_0x34ce27(0x3f6)](_0x17375e),this;}['onRemoteChangeset'](_0x22c658){var _0x4b4956=_0x997d7;return this[_0x4b4956(0x3da)][_0x4b4956(0x3f6)](_0x22c658),this;}[_0x997d7(0x4e8)](_0x25862a){var _0x2a2e9e=_0x997d7;if(this['_awaitingChangeset'])return this[_0x2a2e9e(0x527)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x2a2e9e(0x56a));}[_0x997d7(0x35a)](_0x12bc06){var _0x515b63=_0x997d7;return this[_0x515b63(0x2c0)](!!(_0x12bc06!=null&&_0x12bc06[_0x515b63(0x3e1)]));}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){var _0x24bb9e=_0x997d7;return this[_0x24bb9e(0x30a)][_0x24bb9e(0x55e)](_0x36d18b[_0x24bb9e(0x290)],this[_0x24bb9e(0x297)],this[_0x24bb9e(0x3b0)],this[_0x24bb9e(0x480)],this['_pendingMutations'],this[_0x24bb9e(0x38d)]);}['toggleOnline'](){return this;}['_onConflict'](_0x273970){var _0x480a71=_0x997d7;return this[_0x480a71(0x30a)][_0x480a71(0x55e)](_0x36d18b[_0x480a71(0x445)],this['unitID'],this[_0x480a71(0x3b0)],this['_awaitingChangeset'],this[_0x480a71(0x2f8)],this[_0x480a71(0x38d)],_0x273970);}},_0x36d18b[_0x997d7(0x310)]=_0x5c433b([_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x346)](_0x5a7fdc['RevisionService'])),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x492)]),_0x4bdbf6(0xa,_0x29a664['ICommandService']),_0x4bdbf6(0xb,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xc,_0x5a7fdc['ITransformService']),_0x4bdbf6(0xd,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x310)]);function _0x163990(_0x4fcc3b,_0xb50f4e,_0x44ed06,_0x15eb57,_0xc9d5c7,_0x23a263){var _0x44adb4=_0x997d7;return _0x15eb57&&_0xc9d5c7['length']?_0x4fcc3b[_0x44adb4(0x55e)](_0x36d18b[_0x44adb4(0x4ba)],_0xb50f4e,_0x44ed06,_0x15eb57,_0xc9d5c7,_0x23a263,void 0x0):_0x15eb57?_0x4fcc3b[_0x44adb4(0x55e)](_0x36d18b[_0x44adb4(0x37e)],_0xb50f4e,_0x44ed06,_0x15eb57,_0x23a263):_0xc9d5c7[_0x44adb4(0x307)]?_0x4fcc3b['createInstance'](_0x36d18b[_0x44adb4(0x265)],_0xb50f4e,_0x44ed06,_0xc9d5c7,_0x23a263):_0x4fcc3b['createInstance'](_0x36d18b[_0x44adb4(0x568)],_0xb50f4e,_0x44ed06,_0x23a263);}var _0x3ad3e0=Object[_0x997d7(0x539)],_0x100945=(_0x5b96a3,_0x1147b8,_0x36fbad,_0x43019d)=>{var _0x2ddd1f=_0x997d7;for(var _0x136046=_0x43019d>0x1?void 0x0:_0x43019d?_0x3ad3e0(_0x1147b8,_0x36fbad):_0x1147b8,_0x13d8ab=_0x5b96a3[_0x2ddd1f(0x307)]-0x1,_0x543a14;_0x13d8ab>=0x0;_0x13d8ab--)(_0x543a14=_0x5b96a3[_0x13d8ab])&&(_0x136046=_0x543a14(_0x136046)||_0x136046);return _0x136046;},_0x5baccc=(_0x213e8c,_0x357e11)=>(_0x183391,_0x123f3a)=>_0x357e11(_0x183391,_0x123f3a,_0x213e8c);_0x36d18b['CollaborationEntity']=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x353c92,_0x1f4080,_0x5374b9,_0x4652cd,_0x2ecdd3,_0x571034,_0x5337e0,_0x458044,_0xd5b844,_0xdd0779,_0x2d1dc7,_0x3f4dce,_0x244ed3,_0x1ab9cf){var _0x3cba61=_0x997d7;super(),_0x260f1e(this,_0x3cba61(0x224),new _0x32c204['BehaviorSubject'](null)),_0x260f1e(this,_0x3cba61(0x3d9),this['_state$'][_0x3cba61(0x313)]()),_0x260f1e(this,_0x3cba61(0x342)),_0x260f1e(this,_0x3cba61(0x239),!0x1),_0x260f1e(this,_0x3cba61(0x269),''),_0x260f1e(this,_0x3cba61(0x36e),0x0),_0x260f1e(this,_0x3cba61(0x351),this[_0x3cba61(0x3d9)]['pipe'](_0x32c204[_0x3cba61(0x2b1)](_0x1b3c68=>_0x1b3c68?_0x1b3c68[_0x3cba61(0x370)]:_0x54c82e[_0x3cba61(0x3fd)]),_0x32c204['shareReplay'](0x1))),_0x260f1e(this,_0x3cba61(0x3ec),!0x1),_0x260f1e(this,_0x3cba61(0x256),[]),(this[_0x3cba61(0x297)]=_0x353c92,this['session']=_0x1f4080,this[_0x3cba61(0x31d)]=_0x5374b9,this['_injector']=_0x4652cd,this[_0x3cba61(0x1ef)]=_0x2ecdd3,this[_0x3cba61(0x389)]=_0x571034,this['_revisionService']=_0x5337e0,this[_0x3cba61(0x2e5)]=_0x458044,this['_univerInstanceService']=_0xd5b844,this['_logService']=_0xdd0779,this[_0x3cba61(0x2dc)]=_0x2d1dc7,this[_0x3cba61(0x412)]=_0x3f4dce,this[_0x3cba61(0x3e0)]=_0x244ed3,this[_0x3cba61(0x2ce)]=_0x1ab9cf);}get[_0x997d7(0x31a)](){var _0x1196cc=_0x997d7;return this[_0x1196cc(0x342)];}async[_0x997d7(0x369)](){var _0x45942=_0x997d7;if(this[_0x45942(0x31a)])throw new Error(_0x45942(0x2e2));await this[_0x45942(0x275)]();}[_0x997d7(0x382)](){var _0x4793af=_0x997d7;return this[_0x4793af(0x239)]=!0x0,_0x29a664['toDisposable'](()=>{var _0x9e94d9=_0x4793af;this[_0x9e94d9(0x239)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x997d7(0x237)](_0x43c4c1){var _0x32a89e=_0x997d7;this[_0x32a89e(0x2ed)](_0x43c4c1);}[_0x997d7(0x452)](_0x30836f){var _0x29f83c=_0x997d7;this['_state']=_0x30836f,this[_0x29f83c(0x224)][_0x29f83c(0x476)](_0x30836f);}async[_0x997d7(0x275)](){var _0x210090=_0x997d7,_0x1bbeae;this['_updateState'](await this[_0x210090(0x4f0)]()),this[_0x210090(0x3e0)]&&((_0x1bbeae=this['_singleActiveUnitService'])==null||_0x1bbeae[_0x210090(0x294)](this['unitID']),this[_0x210090(0x31b)](this[_0x210090(0x3e0)]['getUnitStatus$'](this[_0x210090(0x297)])[_0x210090(0x3cc)](_0xe4b941=>{var _0x60b767=_0x210090;this[_0x60b767(0x221)][_0x60b767(0x1ff)](_0x60b767(0x359),'editing\x20status\x20changed\x20to',_0xe4b941),_0xe4b941===_0x4ff042[_0x60b767(0x3f7)]?(this[_0x60b767(0x2e5)]['emitEvent']({'id':_0xedfb31[_0x60b767(0x477)]}),this['_permissionService'][_0x60b767(0x56e)](new _0x1ce604[(_0x60b767(0x4e5))](this[_0x60b767(0x297)])['id'],!0x1),this[_0x60b767(0x412)][_0x60b767(0x26a)](!0x1)):(this[_0x60b767(0x412)][_0x60b767(0x56e)](new _0x1ce604[(_0x60b767(0x4e5))](this[_0x60b767(0x297)])['id'],!0x0),this[_0x60b767(0x412)]['setShowComponents'](!0x0));})));let _0x4a49ba=!0x1;return this[_0x210090(0x31b)](this['session'][_0x210090(0x40f)][_0x210090(0x3cc)](_0x36e382=>{var _0x5ad819=_0x210090;_0x36e382===_0xbd299[_0x5ad819(0x42b)]?this[_0x5ad819(0x331)](_0x4a49ba):_0x36e382===_0xbd299[_0x5ad819(0x3fd)]&&(_0x4a49ba=!0x0,this[_0x5ad819(0x4f5)]());})),this[_0x210090(0x31b)](this[_0x210090(0x28d)][_0x210090(0x25c)][_0x210090(0x3cc)](_0x260228=>{var _0x128238=_0x210090;try{switch(_0x260228[_0x128238(0x328)]){case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x257)]:{this[_0x128238(0x2c9)](_0x5a7fdc[_0x128238(0x3ba)](_0x260228[_0x128238(0x40b)]));break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x243)]:{this[_0x128238(0x334)](_0x260228[_0x128238(0x40b)]);break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x2ac)]:{this[_0x128238(0x54c)]();break;}case _0x5a7fdc['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x260228[_0x128238(0x40b)]);break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x2c8)]:{this[_0x128238(0x4dc)](_0x260228['data'][_0x128238(0x414)][_0x128238(0x2b1)](_0x335442=>_0x5a7fdc[_0x128238(0x3ba)](_0x335442)));break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x51d)]:{this[_0x128238(0x54c)]({'isPermissionRej':!0x0});break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x483)]:break;}}catch(_0x385b14){throw console['error'](_0x128238(0x384),_0x385b14),_0x385b14;}})),this[_0x210090(0x342)];}[_0x997d7(0x397)](){var _0x244987=_0x997d7;this[_0x244987(0x3ec)]=!0x1;}[_0x997d7(0x481)](){var _0xacd0ba=_0x997d7;if(this['_transitionLocked'])throw new Error(_0xacd0ba(0x2b7));this[_0xacd0ba(0x3ec)]=!0x0;}[_0x997d7(0x2ed)](_0x306ab4){var _0x43e29e=_0x997d7;this[_0x43e29e(0x481)](),this[_0x43e29e(0x452)](this[_0x43e29e(0x342)][_0x43e29e(0x560)](_0x306ab4)),this['_unlockTransition']();}[_0x997d7(0x2c9)](_0xdd170d){var _0x4dfcaa=_0x997d7;if(!(_0xdd170d[_0x4dfcaa(0x295)]<=this[_0x4dfcaa(0x4da)][_0x4dfcaa(0x4e4)](this['unitID']))){if(this[_0x4dfcaa(0x239)]){this[_0x4dfcaa(0x256)][_0x4dfcaa(0x3f6)](_0xdd170d);return;}this['_applyRemoteChangeset'](_0xdd170d);}}[_0x997d7(0x335)](){var _0x137c9a=_0x997d7;this['_remoteChangesetQueue'][_0x137c9a(0x2bd)](_0xdd862e=>this[_0x137c9a(0x2b8)](_0xdd862e)),this[_0x137c9a(0x256)]=[];}['_applyRemoteChangeset'](_0x4ea887){var _0x557a12=_0x997d7;const _0x584cd0=this['_compressMutationService'][_0x557a12(0x4b9)][_0x557a12(0x468)](this[_0x557a12(0x1ef)][_0x557a12(0x4b9)]['getInterceptPoints']()[_0x557a12(0x513)])(_0x4ea887[_0x557a12(0x2af)],null)||_0x4ea887[_0x557a12(0x2af)],_0x2a5267={..._0x4ea887,'mutations':_0x584cd0};this[_0x557a12(0x481)](),this['_updateState'](this[_0x557a12(0x342)]['onRemoteChangeset'](_0x2a5267)),this[_0x557a12(0x397)]();}[_0x997d7(0x334)](_0xf5df97){var _0x308652=_0x997d7;this[_0x308652(0x481)](),this[_0x308652(0x452)](this[_0x308652(0x342)][_0x308652(0x4e8)](_0xf5df97)),this[_0x308652(0x397)]();}[_0x997d7(0x54c)](_0x5de156){var _0x4d16cf=_0x997d7;this[_0x4d16cf(0x481)](),this[_0x4d16cf(0x452)](this['_state']['onRemoteRej'](_0x5de156)),this[_0x4d16cf(0x397)]();}['_onRemoteRetry'](_0x1dd90e){var _0x336d9f=_0x997d7;this[_0x336d9f(0x481)](),this[_0x336d9f(0x452)](this[_0x336d9f(0x342)]['onRemoteRetry'](_0x1dd90e)),this[_0x336d9f(0x397)]();}[_0x997d7(0x4dc)](_0x4b69d4){var _0x569f55=_0x997d7;if(!(this[_0x569f55(0x342)]instanceof _0x36d18b['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2f8fd6=_0x4b69d4[_0x569f55(0x2b1)](_0xd42d5a=>{var _0x9e4b28=_0x569f55;const _0x553b84=this['_compressMutationService'][_0x9e4b28(0x4b9)][_0x9e4b28(0x468)](this[_0x9e4b28(0x1ef)][_0x9e4b28(0x4b9)][_0x9e4b28(0x2d1)]()[_0x9e4b28(0x513)])(_0xd42d5a[_0x9e4b28(0x2af)],null)||_0xd42d5a[_0x9e4b28(0x2af)];return{..._0xd42d5a,'mutations':_0x553b84};});this['_lockTransition'](),this[_0x569f55(0x452)](this[_0x569f55(0x342)][_0x569f55(0x403)](_0x2f8fd6)),this['_unlockTransition']();}[_0x997d7(0x4f5)](){var _0xd508d2=_0x997d7;this[_0xd508d2(0x481)](),this['_updateState'](this[_0xd508d2(0x342)][_0xd508d2(0x271)]()),this['_unlockTransition']();}[_0x997d7(0x331)](_0xf60a67=!0x1){var _0x5f2496=_0x997d7;this[_0x5f2496(0x481)](),this[_0x5f2496(0x452)](this[_0x5f2496(0x342)][_0x5f2496(0x317)]()),this[_0x5f2496(0x397)]();const _0x9aba55=this[_0x5f2496(0x342)];_0xf60a67&&_0x9aba55 instanceof _0x36d18b[_0x5f2496(0x568)]&&(this[_0x5f2496(0x481)](),this[_0x5f2496(0x452)](_0x9aba55[_0x5f2496(0x528)]()),this[_0x5f2496(0x397)]());}async[_0x997d7(0x4f0)](){return new Promise(_0x57a318=>{var _0xa4e792=_0x4ecd;this['session'][_0xa4e792(0x40f)]['pipe'](_0x32c204['take'](0x1))[_0xa4e792(0x3cc)](async _0x4007f8=>{var _0x792e5f=_0xa4e792;_0x57a318(await this[_0x792e5f(0x4e7)](_0x4007f8===_0xbd299[_0x792e5f(0x42b)]));});});}[_0x997d7(0x3cf)](){const _0x6b007b=this['unitID'];return{'onStateChange':(_0x206cad,_0x388bda)=>{var _0x230708=_0x4ecd;if(_0x206cad!==this[_0x230708(0x342)])throw new Error(_0x230708(0x506)+_0x206cad[_0x230708(0x370)]+_0x230708(0x45c)+_0x388bda[_0x230708(0x370)]+_0x230708(0x418)+this['_state'][_0x230708(0x370)]);this[_0x230708(0x452)](_0x388bda);},'onSendChangeset':_0x581e23=>{var _0x25a3cc=_0x4ecd;_0x581e23['sid']||(_0x581e23[_0x25a3cc(0x2eb)]=this[_0x25a3cc(0x269)],_0x581e23[_0x25a3cc(0x451)]=++this[_0x25a3cc(0x36e)]);const _0x3fadde={'eventID':_0x5a7fdc[_0x25a3cc(0x315)][_0x25a3cc(0x48e)],'data':{'unitID':_0x581e23[_0x25a3cc(0x297)],'unitType':this['_type'],'changeset':_0x581e23,'memberID':this[_0x25a3cc(0x28d)][_0x25a3cc(0x2f1)]()}};this[_0x25a3cc(0x28d)]['send'](_0x3fadde,this[_0x25a3cc(0x297)]);},'onMissingChangesets':({from:_0x2ddc72,to:_0x4d35c8})=>{var _0x104949=_0x4ecd;this[_0x104949(0x221)][_0x104949(0x1ff)]('[CollaborationEntity]',_0x104949(0x494)+_0x2ddc72+_0x104949(0x29f)+_0x4d35c8);const _0x49b724={'eventID':_0x5a7fdc[_0x104949(0x315)][_0x104949(0x4f3)],'data':{'unitID':_0x6b007b,'unitType':this['_type'],'from':_0x2ddc72,'to':_0x4d35c8}};this['session'][_0x104949(0x4ea)](_0x49b724,this[_0x104949(0x297)]);}};}async[_0x997d7(0x4e7)](_0x374f5){var _0x69f7cf=_0x997d7,_0x3c1b31,_0x408f13,_0x59bc24;const _0x3a6960=await((_0x3c1b31=this[_0x69f7cf(0x2ce)])==null?void 0x0:_0x3c1b31[_0x69f7cf(0x4b3)](this[_0x69f7cf(0x297)])),_0x239b23=(_0x408f13=_0x3a6960==null?void 0x0:_0x3a6960[_0x69f7cf(0x2af)])!=null?_0x408f13:[],_0x5a400e=(_0x59bc24=_0x3a6960==null?void 0x0:_0x3a6960[_0x69f7cf(0x4f2)])!=null?_0x59bc24:null,_0x12e105=!!(_0x5a400e!=null&&_0x5a400e['sid'])&&!!(_0x5a400e!=null&&_0x5a400e[_0x69f7cf(0x451)]);this[_0x69f7cf(0x269)]=_0x12e105?_0x5a400e['sid']:_0x5a7fdc[_0x69f7cf(0x2da)](),this[_0x69f7cf(0x36e)]=_0x12e105?_0x5a400e[_0x69f7cf(0x451)]:0x0;const _0x4f8609=this['unitID'];try{this['_replayCachedMutations'](_0x5a400e,_0x239b23);}catch(_0x337763){this[_0x69f7cf(0x221)][_0x69f7cf(0x4ee)](_0x337763);}const _0x3d8459=this[_0x69f7cf(0x3cf)]();if(_0x374f5){const _0x54bc2e=_0x163990(this[_0x69f7cf(0x30a)],_0x4f8609,this[_0x69f7cf(0x31d)],_0x5a400e,_0x239b23,_0x3d8459);return _0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x265)]?_0x54bc2e['_schedule']():(_0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x4ba)]||_0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x37e)])&&_0x54bc2e[_0x69f7cf(0x482)](),_0x54bc2e;}return this[_0x69f7cf(0x30a)][_0x69f7cf(0x55e)](_0x36d18b['OfflineState'],_0x4f8609,this['_type'],_0x5a400e,_0x239b23,_0x3d8459);}[_0x997d7(0x54e)](_0xf44711,_0x2e29ec){var _0x200b20=_0x997d7,_0x3521fa,_0x7bc0eb;const _0x1d7b07=this[_0x200b20(0x1ef)][_0x200b20(0x4b9)][_0x200b20(0x468)](this['_compressMutationService'][_0x200b20(0x4b9)][_0x200b20(0x2d1)]()[_0x200b20(0x513)]);(_0x3521fa=_0x1d7b07((_0xf44711==null?void 0x0:_0xf44711[_0x200b20(0x2af)])||[],null))==null||_0x3521fa[_0x200b20(0x2bd)](_0x143beb=>this['_commandService'][_0x200b20(0x459)](_0x143beb['id'],_0x143beb[_0x200b20(0x200)])),(_0x7bc0eb=_0x1d7b07(_0x2e29ec||[],null))==null||_0x7bc0eb['forEach'](_0x33bb81=>this[_0x200b20(0x2dc)][_0x200b20(0x459)](_0x33bb81['id'],_0x33bb81[_0x200b20(0x200)]));}},_0x36d18b[_0x997d7(0x430)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x5baccc(0x6,_0x29a664['Inject'](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x8,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0x9,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xa,_0x29a664['ICommandService']),_0x5baccc(0xb,_0x29a664['IPermissionService']),_0x5baccc(0xc,_0x29a664[_0x997d7(0x29b)](_0x4f3087)),_0x5baccc(0xd,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x430)]),_0x36d18b['DocCollaborationEntity']=class extends _0x36d18b[_0x997d7(0x430)]{constructor(_0x176100,_0x57b735,_0x3ebe59,_0x320fc0,_0x296ada,_0x3ab41a,_0x2e5d01,_0x17617b,_0x5bbac1,_0x2efb3f,_0x1b3459,_0x52965b,_0x20489a,_0x30587d){var _0x1f0b06=_0x997d7;super(_0x176100,_0x3ebe59,_0x57b735,_0x320fc0,_0x296ada,_0x3ab41a,_0x2e5d01,_0x17617b,_0x5bbac1,_0x2efb3f,_0x1b3459,_0x52965b,_0x20489a,_0x30587d),_0x260f1e(this,_0x1f0b06(0x2f9),null),(this[_0x1f0b06(0x297)]=_0x176100,this[_0x1f0b06(0x3b0)]=_0x57b735);}[_0x997d7(0x533)](_0x438161){var _0x82ac93=_0x997d7;this[_0x82ac93(0x2f9)]=_0x438161;}['dispose'](){var _0x4d28c4=_0x997d7;this[_0x4d28c4(0x2f9)]=null,super['dispose']();}[_0x997d7(0x3cf)](){var _0x19168f=_0x997d7;const _0x41e8e9=super['_createHandler']();return _0x41e8e9[_0x19168f(0x3b9)]=_0x43b26b=>{var _0x5a88b3=_0x19168f,_0x24a622,_0x599b87;return(_0x599b87=(_0x24a622=this['_handlerCallback'])==null?void 0x0:_0x24a622[_0x5a88b3(0x3b9)])==null?void 0x0:_0x599b87['call'](_0x24a622,_0x43b26b);},_0x41e8e9[_0x19168f(0x3a5)]=_0x338f61=>{var _0x258220=_0x19168f,_0x54cb07,_0x489987;return(_0x489987=(_0x54cb07=this[_0x258220(0x2f9)])==null?void 0x0:_0x54cb07['onTransformState'])==null?void 0x0:_0x489987[_0x258220(0x23d)](_0x54cb07,_0x338f61);},_0x41e8e9['onTransformSelections']=_0x322aaa=>{var _0x4dfa98=_0x19168f,_0x14245c,_0x6c2221;return(_0x6c2221=(_0x14245c=this[_0x4dfa98(0x2f9)])==null?void 0x0:_0x14245c[_0x4dfa98(0x2a9)])==null?void 0x0:_0x6c2221[_0x4dfa98(0x23d)](_0x14245c,_0x322aaa);},_0x41e8e9[_0x19168f(0x28e)]=_0x56776b=>{var _0x173b59=_0x19168f,_0x314abe,_0x2a2e13;return(_0x2a2e13=(_0x314abe=this[_0x173b59(0x2f9)])==null?void 0x0:_0x314abe[_0x173b59(0x28e)])==null?void 0x0:_0x2a2e13[_0x173b59(0x23d)](_0x314abe,_0x56776b);},_0x41e8e9['onTransformRemoteChangesetByIMECache']=_0x5675ad=>{var _0x8cdff8=_0x19168f,_0x58ec71,_0x540fd5,_0xf403c4;if(!((_0x58ec71=this[_0x8cdff8(0x2f9)])!=null&&_0x58ec71[_0x8cdff8(0x40d)]))throw new Error(_0x8cdff8(0x24d));return(_0xf403c4=(_0x540fd5=this[_0x8cdff8(0x2f9)])==null?void 0x0:_0x540fd5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xf403c4[_0x8cdff8(0x23d)](_0x540fd5,_0x5675ad);},_0x41e8e9[_0x19168f(0x49d)]=_0xd3e856=>{var _0x5a98c6=_0x19168f,_0x3d464e,_0x4dd0bb,_0x341bea;if(!((_0x3d464e=this[_0x5a98c6(0x2f9)])!=null&&_0x3d464e[_0x5a98c6(0x49d)]))throw new Error(_0x5a98c6(0x4f4));return(_0x341bea=(_0x4dd0bb=this['_handlerCallback'])==null?void 0x0:_0x4dd0bb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x341bea[_0x5a98c6(0x23d)](_0x4dd0bb,_0xd3e856);},_0x41e8e9;}async[_0x997d7(0x275)](){var _0x3d33b0=_0x997d7;const _0x23bb61=await super['_init']();return this[_0x3d33b0(0x31b)](this[_0x3d33b0(0x2dc)][_0x3d33b0(0x39b)]((_0x25bda4,_0x386fe4)=>{var _0x5ae2c8=_0x3d33b0;if(_0x25bda4[_0x5ae2c8(0x3b0)]!==_0x29a664['CommandType']['MUTATION']||_0x386fe4!=null&&_0x386fe4[_0x5ae2c8(0x266)]||_0x386fe4!=null&&_0x386fe4[_0x5ae2c8(0x55b)]||_0x25bda4['id']===_0x438bd6['RichTextEditingMutation']['id'])return;const _0xb99959=_0x25bda4[_0x5ae2c8(0x200)];if((_0xb99959==null?void 0x0:_0xb99959['unitId'])!==this[_0x5ae2c8(0x297)])return;const _0xe0859a=_0x25bda4,_0x3169db=this[_0x5ae2c8(0x1ef)][_0x5ae2c8(0x4b9)][_0x5ae2c8(0x468)](this['_compressMutationService'][_0x5ae2c8(0x4b9)]['getInterceptPoints']()[_0x5ae2c8(0x321)])([_0xe0859a],this[_0x5ae2c8(0x432)])||[_0xe0859a];this[_0x5ae2c8(0x2ed)](_0x3169db[0x0]);})),_0x23bb61;}},_0x36d18b[_0x997d7(0x522)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x5baccc(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x8,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0x9,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xa,_0x29a664[_0x997d7(0x37f)]),_0x5baccc(0xb,_0x29a664[_0x997d7(0x471)]),_0x5baccc(0xc,_0x29a664[_0x997d7(0x29b)](_0x4f3087)),_0x5baccc(0xd,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b['DocCollaborationEntity']),_0x36d18b['SheetCollaborationEntity']=class extends _0x36d18b[_0x997d7(0x430)]{constructor(_0x28d6df,_0x4a8293,_0x473e80,_0x58eef5,_0x156867,_0x223dea,_0x436e5c,_0x8a8cc0,_0x3aa194,_0x10cceb,_0x181a5e,_0x4b6fd8,_0x51d577,_0x46004a,_0x3390f7){var _0x100028=_0x997d7;super(_0x28d6df,_0x473e80,_0x4a8293,_0x58eef5,_0x156867,_0x223dea,_0x436e5c,_0x3aa194,_0x10cceb,_0x181a5e,_0x4b6fd8,_0x51d577,_0x46004a,_0x3390f7),this[_0x100028(0x297)]=_0x28d6df,this[_0x100028(0x3b0)]=_0x4a8293,this[_0x100028(0x333)]=_0x8a8cc0;}['_createHandler'](){var _0x312ab1=_0x997d7;const _0x4de053=super[_0x312ab1(0x3cf)]();return _0x4de053['onTransformSelections']=_0x3d62ef=>this[_0x312ab1(0x333)][_0x312ab1(0x440)](_0x3d62ef),_0x4de053;}async[_0x997d7(0x275)](){var _0xa04aa8=_0x997d7;const _0x49d3a7=await super['_init']();return this['disposeWithMe'](this[_0xa04aa8(0x2dc)]['onCommandExecuted']((_0x88aec2,_0x1422ce)=>{var _0x26d4d3=_0xa04aa8;if(_0x88aec2['type']!==_0x29a664[_0x26d4d3(0x567)][_0x26d4d3(0x2b5)]||_0x1422ce!=null&&_0x1422ce[_0x26d4d3(0x266)]||_0x1422ce!=null&&_0x1422ce[_0x26d4d3(0x55b)])return;const _0x21eede=_0x88aec2['params'];if((_0x21eede==null?void 0x0:_0x21eede[_0x26d4d3(0x441)])!==this[_0x26d4d3(0x297)])return;const _0xcec95a=_0x88aec2,_0x2bc742=this[_0x26d4d3(0x1ef)][_0x26d4d3(0x4b9)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x26d4d3(0x4b9)][_0x26d4d3(0x2d1)]()[_0x26d4d3(0x321)])([_0xcec95a],this[_0x26d4d3(0x432)])||[_0xcec95a];this[_0x26d4d3(0x2ed)](_0x2bc742[0x0]);})),_0x49d3a7;}},_0x36d18b[_0x997d7(0x454)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664['LocaleService'])),_0x5baccc(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x415)])),_0x5baccc(0x8,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x9,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0xa,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xb,_0x29a664['ICommandService']),_0x5baccc(0xc,_0x29a664[_0x997d7(0x471)]),_0x5baccc(0xd,_0x29a664['Optional'](_0x4f3087)),_0x5baccc(0xe,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x454)]);const _0x3b1d7a=_0x29a664[_0x997d7(0x38e)](_0x997d7(0x4eb));function _0x5a583b(_0x1c49c1){var _0x4f4895=_0x997d7,_0x5125f1,_0x4261ce,_0x1e4b97,_0x39c512,_0x1b286a;const _0x163f03=_0x1c49c1[_0x4f4895(0x40b)],_0x2486b5=JSON[_0x4f4895(0x487)](_0x163f03);switch(_0x2486b5[_0x4f4895(0x235)]){case _0x1f168c['HEARTBEAT']:case _0x1f168c['HELLO']:{const _0x104b56=_0x2486b5[_0x4f4895(0x473)];return{..._0x2486b5,'data':_0x104b56,'cmd':_0x2486b5[_0x4f4895(0x235)]};}case _0x1f168c[_0x4f4895(0x32a)]:{const _0xfd3f96=_0x2486b5[_0x4f4895(0x44f)];return{..._0x2486b5,'data':_0xfd3f96,'cmd':_0x2486b5[_0x4f4895(0x235)]};}case _0x1f168c[_0x4f4895(0x3e6)]:{const _0x301f48=_0x2486b5[_0x4f4895(0x4d0)];switch(_0x301f48[_0x4f4895(0x328)]){case _0x5a7fdc[_0x4f4895(0x315)]['PERMISSION_REJ']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x5125f1=_0x301f48[_0x4f4895(0x4bb)])==null?void 0x0:_0x5125f1['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['CHANGESET_ACK']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x4261ce=_0x301f48['csAckEvent'])==null?void 0x0:_0x4261ce['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent'][_0x4f4895(0x257)]:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x1e4b97=_0x301f48[_0x4f4895(0x519)])==null?void 0x0:_0x1e4b97['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x2ac)]:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x39c512=_0x301f48[_0x4f4895(0x30c)])==null?void 0x0:_0x39c512['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x1b286a=_0x301f48[_0x4f4895(0x396)])==null?void 0x0:_0x1b286a['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4f8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['updateCursorEvent']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent'][_0x4f4895(0x4b8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x27a)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x47b)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x51f)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x390)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['liveShareNewHost']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['LIVESHARE_FETCH_OPERATIONS']:case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4d8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x462)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x427)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x2486b5,'data':_0x301f48,'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x2a2)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x348)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4c1)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x45d)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x35e)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['shouldCloseConn']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['UNISCRIPT_RUN']:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x264)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};default:return _0x2486b5;}}default:return _0x2486b5;}}function _0x4151ad(_0x4b8c85){var _0x3829c7=_0x997d7;switch(_0x4b8c85[_0x3829c7(0x235)]){case _0x1f168c[_0x3829c7(0x230)]:case _0x1f168c[_0x3829c7(0x556)]:return JSON['stringify']({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85['routeKey']});case _0x1f168c[_0x3829c7(0x55a)]:{let _0x1afaa6;switch(_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x328)]){case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x4f8)]:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent'][_0x3829c7(0x4f8)],'updateCursorEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x47b)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x47b)],'leaveEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc['CollaborationEvent']['USERS_ENTER']:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x4b8)],'joinEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x390)]:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent'][_0x3829c7(0x390)],'liveShareNewHost':_0x4b8c85[_0x3829c7(0x40b)]['data']};break;}case _0x5a7fdc[_0x3829c7(0x315)]['LIVESHARE_OPERATION']:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x4b8c85['data'][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x391)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x391)],'liveShareTerminate':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc['CollaborationEvent'][_0x3829c7(0x23c)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x23c)],'liveShareRequestHost':_0x4b8c85[_0x3829c7(0x40b)]['data']};break;}case _0x5a7fdc[_0x3829c7(0x315)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x3b4)]};break;}default:_0x1afaa6={'eventID':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x328)]};}return JSON['stringify']({'cmd':_0x4b8c85['cmd'],'routeKey':_0x4b8c85[_0x3829c7(0x259)],'collaMsg':_0x1afaa6});}case _0x1f168c[_0x3829c7(0x32a)]:return JSON[_0x3829c7(0x22d)]({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85['routeKey'],'joinReq':_0x4b8c85[_0x3829c7(0x40b)]});case _0x1f168c[_0x3829c7(0x50c)]:return JSON[_0x3829c7(0x22d)]({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85[_0x3829c7(0x259)],'leaveReq':_0x4b8c85[_0x3829c7(0x40b)]});default:throw new Error(_0x3829c7(0x3f8));}}var _0x20e378=Object[_0x997d7(0x539)],_0xfa7d74=(_0x359b25,_0x6276ba,_0x41b1c0,_0x65dc8e)=>{for(var _0xc8a5ba=_0x65dc8e>0x1?void 0x0:_0x65dc8e?_0x20e378(_0x6276ba,_0x41b1c0):_0x6276ba,_0x513391=_0x359b25['length']-0x1,_0x79c488;_0x513391>=0x0;_0x513391--)(_0x79c488=_0x359b25[_0x513391])&&(_0xc8a5ba=_0x79c488(_0xc8a5ba)||_0xc8a5ba);return _0xc8a5ba;},_0x510100=(_0x1dda47,_0x1b7ce6)=>(_0x3d0d27,_0x2adabf)=>_0x1b7ce6(_0x3d0d27,_0x2adabf,_0x1dda47);const _0x5b4d23=_0x29a664['createIdentifier'](_0x997d7(0x3b2));function _0x272dc1(_0x751e1b,_0x5cf344,_0x2601d2){var _0x5cb311=_0x997d7;return _0x751e1b+'/'+_0x5cf344+'/unit/'+_0x2601d2+_0x5cb311(0x4fa);}_0x36d18b[_0x997d7(0x562)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x2e9d08,_0x510f25,_0x3b59f6,_0x47aed8,_0x58633e){var _0x55fd18=_0x997d7;super(),this[_0x55fd18(0x30a)]=_0x2e9d08,this[_0x55fd18(0x3f4)]=_0x510f25,this[_0x55fd18(0x261)]=_0x3b59f6,this[_0x55fd18(0x221)]=_0x47aed8,this[_0x55fd18(0x32d)]=_0x58633e;}[_0x997d7(0x241)](_0x67fecd){var _0x330d19=_0x997d7;const _0x401c5b=this[_0x330d19(0x30a)][_0x330d19(0x47e)](_0x200e90[_0x330d19(0x52c)]);if(!_0x401c5b)throw new Error(_0x330d19(0x3c1));const _0x248b6d=_0x401c5b['createSocket'](_0x67fecd);if(!_0x248b6d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1563c4=new _0x29a664[(_0x330d19(0x4a7))](),_0x5ac26c=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4['add'](_0x248b6d['close$'][_0x330d19(0x3cc)](_0x1871e9=>_0x5ac26c[_0x330d19(0x476)](_0x1871e9))),_0x1563c4[_0x330d19(0x388)](_0x29a664['toDisposable'](()=>_0x5ac26c[_0x330d19(0x42a)]()));const _0x5b6ae0=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4[_0x330d19(0x388)](_0x248b6d[_0x330d19(0x521)][_0x330d19(0x3cc)](_0x1708f5=>_0x5b6ae0['next'](_0x1708f5))),_0x1563c4[_0x330d19(0x388)](_0x29a664['toDisposable'](()=>_0x5b6ae0['complete']()));const _0xe8f7ac=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4[_0x330d19(0x388)](_0x248b6d[_0x330d19(0x3e4)]['subscribe'](_0x17fb6e=>{var _0x6c7bd0=_0x330d19;const _0x589046=_0x5a583b(_0x17fb6e);_0xe8f7ac[_0x6c7bd0(0x476)](_0x589046);})),_0x1563c4[_0x330d19(0x388)](_0x29a664[_0x330d19(0x4b5)](()=>_0xe8f7ac[_0x330d19(0x42a)]()));let _0x12b5d4;const _0x1a429b=()=>{var _0x15e802=_0x330d19;_0x5b6ae0[_0x15e802(0x476)](new Event(_0x15e802(0x37a))),_0x5ac26c[_0x15e802(0x476)](new Event(_0x15e802(0x37a))),_0x12b5d4['close']();};return _0x12b5d4={'memberID':'','close$':_0x5ac26c[_0x330d19(0x313)](),'error$':_0x5b6ae0['asObservable'](),'open$':_0x248b6d[_0x330d19(0x37b)],'message$':_0xe8f7ac[_0x330d19(0x313)](),'send':_0x5e9654=>{var _0x66ef35=_0x330d19;if(_0x5e9654['cmd']===_0x1f168c['INGEST']){if(_0x5e9654[_0x66ef35(0x40b)][_0x66ef35(0x328)]===_0x5a7fdc[_0x66ef35(0x315)][_0x66ef35(0x48e)]){this[_0x66ef35(0x276)](_0x12b5d4,_0x5e9654[_0x66ef35(0x40b)])[_0x66ef35(0x327)](_0x2afd3a=>{var _0x243c41=_0x66ef35;this[_0x243c41(0x221)][_0x243c41(0x4ee)](_0x2afd3a),_0x1a429b();});return;}if(_0x5e9654[_0x66ef35(0x40b)][_0x66ef35(0x328)]===_0x5a7fdc['CollaborationEvent'][_0x66ef35(0x4f3)]){const _0x173bb1=_0x5e9654[_0x66ef35(0x40b)];this['_fetchMissChangesets'](_0x173bb1)[_0x66ef35(0x367)](_0x14deea=>{var _0x1f1d73=_0x66ef35;_0xe8f7ac[_0x1f1d73(0x476)]({'cmd':_0x1f168c['RECV'],'code':_0x2eda57['OK'],'routeKey':_0x173bb1[_0x1f1d73(0x40b)]['unitID'],'routeType':'','data':{'eventID':_0x5a7fdc[_0x1f1d73(0x315)][_0x1f1d73(0x2c8)],'data':{'changesets':_0x14deea}}});})['catch'](_0x162812=>{var _0x395e2c=_0x66ef35;this[_0x395e2c(0x221)][_0x395e2c(0x4ee)](_0x162812),_0x1a429b();});return;}}_0x248b6d['send'](_0x4151ad(_0x5e9654));},'close':()=>{var _0x46f1a9=_0x330d19;_0x248b6d[_0x46f1a9(0x4f9)](),_0x1563c4[_0x46f1a9(0x206)]();}},_0x12b5d4;}async[_0x997d7(0x276)](_0x10f3c1,_0x4629be){var _0x1b5706=_0x997d7,_0x29497b;const {unitType:_0x54988e,unitID:_0x2bc918,changeset:_0x2088a7}=_0x4629be[_0x1b5706(0x40b)],_0x196c70={'unitID':_0x2bc918,'memberID':_0x10f3c1['memberID'],'type':_0x54988e,'changeset':_0x5a7fdc[_0x1b5706(0x26d)](_0x2088a7)},_0x4f4726=this[_0x1b5706(0x261)][_0x1b5706(0x368)](_0x3fa783),_0x174cc0=_0x272dc1((_0x29497b=_0x4f4726==null?void 0x0:_0x4f4726[_0x1b5706(0x301)])!=null?_0x29497b:_0x4afe1a,_0x54988e,_0x2bc918);try{await this['_httpService']['post'](_0x174cc0,{'body':_0x196c70});}catch(_0x50c737){throw this[_0x1b5706(0x221)]['error'](_0x1b5706(0x443),'submit\x20changeset\x20error!'),_0x50c737;}}async['_fetchMissChangesets'](_0x37fdd5){var _0x51d28c=_0x997d7;const {unitID:_0x29c3cf,from:_0x18e008,to:_0x71c6ea,unitType:_0x3f8306}=_0x37fdd5[_0x51d28c(0x40b)];return(await this[_0x51d28c(0x32d)][_0x51d28c(0x3cb)]({'metadata':void 0x0},{'unitID':_0x29c3cf,'type':_0x3f8306,'from':_0x18e008,'to':_0x71c6ea}))[_0x51d28c(0x414)]['map'](_0x56cadd=>((_0x56cadd[_0x51d28c(0x2af)]===null||_0x56cadd['mutations']===void 0x0)&&(_0x56cadd[_0x51d28c(0x2af)]=[]),_0x56cadd));}},_0x36d18b[_0x997d7(0x562)]=_0xfa7d74([_0x510100(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x510100(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService'])),_0x510100(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x510100(0x3,_0x29a664[_0x997d7(0x492)]),_0x510100(0x4,_0x5a7fdc[_0x997d7(0x42f)])],_0x36d18b[_0x997d7(0x562)]);var _0x3b7f11=Object[_0x997d7(0x539)],_0x4d7ad0=(_0x2bd9b5,_0x37966f,_0x4624e5,_0x53d94e)=>{var _0x501334=_0x997d7;for(var _0x1a820f=_0x53d94e>0x1?void 0x0:_0x53d94e?_0x3b7f11(_0x37966f,_0x4624e5):_0x37966f,_0xccb86b=_0x2bd9b5[_0x501334(0x307)]-0x1,_0x863605;_0xccb86b>=0x0;_0xccb86b--)(_0x863605=_0x2bd9b5[_0xccb86b])&&(_0x1a820f=_0x863605(_0x1a820f)||_0x1a820f);return _0x1a820f;},_0x4b0319=(_0x3be6fc,_0x16583d)=>(_0x47dc32,_0x3c9d0)=>_0x16583d(_0x47dc32,_0x3c9d0,_0x3be6fc);_0x36d18b[_0x997d7(0x446)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x3fa719,_0x151af5,_0x4dc205,_0x2054cd,_0xf55f1b,_0x4acd0c){var _0x1a7085=_0x997d7;super(),_0x260f1e(this,_0x1a7085(0x2aa),new _0x32c204[(_0x1a7085(0x4be))](void 0x0)),_0x260f1e(this,'socket$',this[_0x1a7085(0x2aa)][_0x1a7085(0x313)]()),_0x260f1e(this,_0x1a7085(0x4cc),null),_0x260f1e(this,_0x1a7085(0x4f7),new Map()),_0x260f1e(this,_0x1a7085(0x325),new _0x32c204['BehaviorSubject'](_0xbd299['IDLE'])),_0x260f1e(this,_0x1a7085(0x351),this[_0x1a7085(0x325)]['asObservable']()),_0x260f1e(this,_0x1a7085(0x337),!0x1),_0x260f1e(this,_0x1a7085(0x3ca)),_0x260f1e(this,'_retryCount',0x0),_0x260f1e(this,_0x1a7085(0x3a3)),_0x260f1e(this,_0x1a7085(0x38f)),(this[_0x1a7085(0x30a)]=_0x3fa719,this[_0x1a7085(0x221)]=_0x151af5,this['_configService']=_0x4dc205,this[_0x1a7085(0x3fa)]=_0x2054cd,this[_0x1a7085(0x47a)]=_0xf55f1b,this[_0x1a7085(0x283)]=_0x4acd0c,this[_0x1a7085(0x32f)]());}get[_0x997d7(0x49e)](){return this['_socket$']['getValue']();}[_0x997d7(0x32f)](){var _0x55f674=_0x997d7;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x55f674(0x33d)][_0x55f674(0x3cc)](_0x62035b=>{var _0x5bfc17=_0x55f674;_0x62035b&&!this[_0x5bfc17(0x49e)]&&this[_0x5bfc17(0x4a8)](),_0x62035b||this['_onOffline']();}));}[_0x997d7(0x206)](){var _0x51b287=_0x997d7;super[_0x51b287(0x206)](),this[_0x51b287(0x2fc)](),this['_clearTimeoutTimer'](),this[_0x51b287(0x4ca)](),this[_0x51b287(0x4f7)][_0x51b287(0x2bd)](_0x1be062=>_0x1be062[_0x51b287(0x206)]()),this['_sessions'][_0x51b287(0x2ef)](),this[_0x51b287(0x325)]['complete']();}async[_0x997d7(0x1fe)](_0x1f6c48){var _0x588089=_0x997d7;if(this[_0x588089(0x4f7)][_0x588089(0x572)](_0x1f6c48))return this['_sessions'][_0x588089(0x47e)](_0x1f6c48);this[_0x588089(0x555)]();const _0xdae5a6=this[_0x588089(0x30a)][_0x588089(0x55e)](_0x36d18b[_0x588089(0x4d1)],_0x1f6c48,this[_0x588089(0x2aa)][_0x588089(0x313)]());return this[_0x588089(0x4f7)]['set'](_0x1f6c48,_0xdae5a6),_0xdae5a6;}['closeSession'](_0x1c0710){var _0x577d3b=_0x997d7,_0xa4bf1f;const _0x4e2738=this[_0x577d3b(0x4f7)][_0x577d3b(0x47e)](_0x1c0710);_0x4e2738&&(this[_0x577d3b(0x4f7)][_0x577d3b(0x375)](_0x1c0710),_0x4e2738[_0x577d3b(0x4f9)]()),this[_0x577d3b(0x4f7)][_0x577d3b(0x498)]||(_0xa4bf1f=this[_0x577d3b(0x49e)])==null||_0xa4bf1f[_0x577d3b(0x4f9)]();}['reconnect'](){var _0x5e68f1=_0x997d7;this[_0x5e68f1(0x207)]=0x0,this[_0x5e68f1(0x2fc)](),this[_0x5e68f1(0x529)]();}['_clearRetryConnectingTimer'](){var _0x51483f=_0x997d7;this[_0x51483f(0x3ca)]!=null&&(clearTimeout(this[_0x51483f(0x3ca)]),this['_retryConnectingTimer']=null);}async[_0x997d7(0x485)](){var _0x3037b2=_0x997d7,_0x491638;const _0x1ff99c=this['_configService']['getConfig'](_0x3fa783),_0x26b8c9=(_0x491638=_0x1ff99c==null?void 0x0:_0x1ff99c[_0x3037b2(0x4d5)])!=null?_0x491638:_0x53efe6,_0x14286b=await this[_0x3037b2(0x3fa)][_0x3037b2(0x479)](_0x26b8c9);return this['_candidateSocket']=_0x14286b,_0x14286b;}async[_0x997d7(0x555)](){var _0xe17ebb=_0x997d7,_0x26e872,_0x2b49f9;try{const _0xb3d3cc=(_0x2b49f9=(_0x26e872=this['_socket'])!=null?_0x26e872:this['_candidateSocket'])!=null?_0x2b49f9:await this[_0xe17ebb(0x485)]();if(_0xb3d3cc){const _0x1edde1=_0xb3d3cc[_0xe17ebb(0x4ea)];_0xb3d3cc[_0xe17ebb(0x4ea)]=_0x10769d=>(this[_0xe17ebb(0x49f)](),_0x1edde1[_0xe17ebb(0x493)](_0xb3d3cc,[_0x10769d])),_0xb3d3cc[_0xe17ebb(0x3e4)]['subscribe'](_0xc20e68=>this['_onMessage'](_0xb3d3cc,_0xc20e68)),_0xb3d3cc[_0xe17ebb(0x521)][_0xe17ebb(0x2ab)](_0x12f47e[_0xe17ebb(0x2f3)](0x1))[_0xe17ebb(0x3cc)](_0x3cb633=>this[_0xe17ebb(0x221)]['error'](_0xe17ebb(0x27c),_0x3cb633)),_0xb3d3cc[_0xe17ebb(0x37b)][_0xe17ebb(0x2ab)](_0x12f47e['take'](0x1))[_0xe17ebb(0x3cc)](()=>{var _0x5eec31=_0xe17ebb;this[_0x5eec31(0x542)](_0xb3d3cc);}),_0xb3d3cc[_0xe17ebb(0x2a7)][_0xe17ebb(0x2ab)](_0x12f47e['take'](0x1))[_0xe17ebb(0x3cc)](_0x419eef=>{var _0x2cbebe=_0xe17ebb;this['_logService'][_0x2cbebe(0x1ff)](_0x2cbebe(0x344),'socket\x20close',_0x419eef),this[_0x2cbebe(0x2ca)]();});}}catch(_0x513a3d){this[_0xe17ebb(0x221)][_0xe17ebb(0x4ee)](_0x513a3d),this[_0xe17ebb(0x2ca)]();}}[_0x997d7(0x542)](_0x596767){var _0x36676c=_0x997d7;this['_logService'][_0x36676c(0x1ff)](_0x36676c(0x344),_0x36676c(0x438)),_0x596767[_0x36676c(0x4ea)]({'cmd':_0x1f168c[_0x36676c(0x556)]}),this['_rescheduleHeartbeat']();}[_0x997d7(0x3eb)](){var _0x26a764=_0x997d7;this[_0x26a764(0x337)]=!0x1,this['_candidateSocket']=null,this[_0x26a764(0x325)][_0x26a764(0x476)](_0xbd299[_0x26a764(0x3fd)]),this[_0x26a764(0x2aa)]['next'](null),this[_0x26a764(0x50d)](),this[_0x26a764(0x4ca)]();}[_0x997d7(0x2ca)](){var _0x45e18a=_0x997d7,_0x16dcf1;this[_0x45e18a(0x3eb)](),this['_retryCount']<((_0x16dcf1=this['_configService']['getConfig'](_0x547549))!=null?_0x16dcf1:0x3)?(this['_collaborationUIEventService']['emitEvent']({'id':_0xedfb31['SOCKET_FAILED_RETRY']}),this[_0x45e18a(0x529)]()):this[_0x45e18a(0x47a)][_0x45e18a(0x2d4)]({'id':_0xedfb31[_0x45e18a(0x489)]});}[_0x997d7(0x529)](){var _0x37fb32=_0x997d7,_0x5ea410;const _0x2b44aa=this[_0x37fb32(0x207)],_0x3abc0f=this[_0x37fb32(0x261)][_0x37fb32(0x368)](_0x3fa783),_0x23b0a0=_0x2b44aa===0x0?0x0:((_0x5ea410=_0x3abc0f==null?void 0x0:_0x3abc0f[_0x37fb32(0x464)])!=null?_0x5ea410:0x4e20)*0x2**_0x2b44aa;this[_0x37fb32(0x3ca)]=setTimeout(()=>{var _0x16fb94=_0x37fb32;clearTimeout(this[_0x16fb94(0x3ca)]),this[_0x16fb94(0x3ca)]=null,this[_0x16fb94(0x555)]();},_0x23b0a0),this['_retryCount']+=0x1;}['_onMessage'](_0x43ff69,_0x9c3fc0){var _0x386a4b=_0x997d7;const {cmd:_0x20a6b6}=_0x9c3fc0;_0x20a6b6===_0x1f168c[_0x386a4b(0x556)]&&!this[_0x386a4b(0x337)]&&(_0x43ff69[_0x386a4b(0x298)]=_0x9c3fc0[_0x386a4b(0x40b)][_0x386a4b(0x298)],this[_0x386a4b(0x2aa)]['next'](_0x43ff69),this[_0x386a4b(0x325)][_0x386a4b(0x476)](_0xbd299[_0x386a4b(0x42b)]),this['_socketReady']=!0x0,this[_0x386a4b(0x4cc)]=null),_0x20a6b6===_0x1f168c[_0x386a4b(0x230)]&&this[_0x386a4b(0x50d)](),this[_0x386a4b(0x49f)]();}[_0x997d7(0x49f)](){var _0x56e27b=_0x997d7,_0x2e8467;this[_0x56e27b(0x4ca)](),this[_0x56e27b(0x3a3)]=setTimeout(()=>this[_0x56e27b(0x20d)](),(_0x2e8467=this['_configService'][_0x56e27b(0x368)](_0x2b6987))!=null?_0x2e8467:0x7530);}['_sendHeartbeat'](){var _0x1069fc=_0x997d7;this[_0x1069fc(0x49e)][_0x1069fc(0x4ea)]({'cmd':_0x1f168c[_0x1069fc(0x230)]}),this[_0x1069fc(0x46b)]();}['_waitForHeartbeatResponse'](){var _0x3aaef4=_0x997d7,_0x3435ab;this[_0x3aaef4(0x38f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x3435ab=this['_configService'][_0x3aaef4(0x368)](_0x315b2c))!=null?_0x3435ab:0x4e20);}[_0x997d7(0x4ca)](){var _0x2d307e=_0x997d7;this[_0x2d307e(0x3a3)]!=null&&(clearTimeout(this[_0x2d307e(0x3a3)]),this[_0x2d307e(0x3a3)]=null);}[_0x997d7(0x50d)](){var _0x430b14=_0x997d7;this[_0x430b14(0x38f)]!=null&&(clearTimeout(this[_0x430b14(0x38f)]),this[_0x430b14(0x38f)]=null);}},_0x36d18b[_0x997d7(0x446)]=_0x4d7ad0([_0x4b0319(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x4b0319(0x1,_0x29a664[_0x997d7(0x492)]),_0x4b0319(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x4b0319(0x3,_0x5b4d23),_0x4b0319(0x4,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x4b0319(0x5,_0x29a664[_0x997d7(0x29b)](_0x3b1d7a))],_0x36d18b['CollaborationSessionService']);var _0x1373b7=Object[_0x997d7(0x539)],_0x154857=(_0xf6f537,_0x1301ef,_0x55ec14,_0x9d3824)=>{var _0x36960d=_0x997d7;for(var _0x20fbc9=_0x9d3824>0x1?void 0x0:_0x9d3824?_0x1373b7(_0x1301ef,_0x55ec14):_0x1301ef,_0xb903e2=_0xf6f537[_0x36960d(0x307)]-0x1,_0x5f5041;_0xb903e2>=0x0;_0xb903e2--)(_0x5f5041=_0xf6f537[_0xb903e2])&&(_0x20fbc9=_0x5f5041(_0x20fbc9)||_0x20fbc9);return _0x20fbc9;},_0x5d3ecd=(_0x5cffd3,_0x1a9fa7)=>(_0x3e97d3,_0x187d9d)=>_0x1a9fa7(_0x3e97d3,_0x187d9d,_0x5cffd3);_0x36d18b[_0x997d7(0x322)]=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x47eb7a,_0x945440,_0x17013,_0x1399f7){var _0x52b943=_0x997d7,_0x56948a;super(),_0x260f1e(this,'_entities',new Map()),_0x260f1e(this,_0x52b943(0x35d),new _0x32c204['Subject']()),_0x260f1e(this,_0x52b943(0x262),this[_0x52b943(0x35d)][_0x52b943(0x313)]()),(this[_0x52b943(0x30a)]=_0x47eb7a,this[_0x52b943(0x419)]=_0x945440,this[_0x52b943(0x261)]=_0x17013,this['_univerInstanceService']=_0x1399f7,((_0x56948a=this[_0x52b943(0x261)][_0x52b943(0x368)](_0x3fa783))==null?void 0x0:_0x56948a[_0x52b943(0x204)])!==!0x1&&this['_init']());}['dispose'](){var _0x409319=_0x997d7;super[_0x409319(0x206)](),this[_0x409319(0x537)][_0x409319(0x2bd)](_0x128711=>_0x128711[_0x409319(0x206)]()),this['_entities']['clear']();}['getCollabEntity'](_0x491b07){var _0x3065b0=_0x997d7,_0x50c8d4;return(_0x50c8d4=this[_0x3065b0(0x537)][_0x3065b0(0x47e)](_0x491b07))!=null?_0x50c8d4:null;}[_0x997d7(0x326)](_0x301433){var _0x5d492c=_0x997d7;const _0x4179e1=this['getCollabEntity'](_0x301433);return _0x4179e1?_0x32c204['of'](_0x4179e1):this[_0x5d492c(0x35d)][_0x5d492c(0x2ab)](_0x12f47e['filter'](_0x509c1d=>_0x509c1d['unitID']===_0x301433));}[_0x997d7(0x33f)](_0x55ae9e){var _0x322cfc=_0x997d7;return _0x32c204[_0x322cfc(0x3b1)](this[_0x322cfc(0x326)](_0x55ae9e)[_0x322cfc(0x2ab)](_0x12f47e[_0x322cfc(0x2b1)](()=>{})));}[_0x997d7(0x275)](){var _0x1d9a91=_0x997d7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x29a664[_0x1d9a91(0x319)][_0x1d9a91(0x4c5)])[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this['dispose$']),_0x12f47e[_0x1d9a91(0x50a)](0x10))[_0x1d9a91(0x3cc)](async _0x4a8183=>{var _0x2b7719=_0x1d9a91;const _0x4536cc=_0x4a8183[_0x2b7719(0x4ae)](),_0x4313d5=await this[_0x2b7719(0x44a)](_0x4536cc,_0x60f00c[_0x2b7719(0x4c5)]);this[_0x2b7719(0x537)][_0x2b7719(0x41e)](_0x4536cc,_0x4313d5);}),this[_0x1d9a91(0x432)][_0x1d9a91(0x51b)](_0x29a664['UniverInstanceType'][_0x1d9a91(0x47c)])[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this['dispose$']),_0x12f47e[_0x1d9a91(0x50a)](0x10))[_0x1d9a91(0x2ab)](_0x12f47e[_0x1d9a91(0x469)](_0xa3637c=>!_0xa3637c['getUnitId']()[_0x1d9a91(0x2e3)]('__')))[_0x1d9a91(0x3cc)](async _0x370d8=>{var _0x48000a=_0x1d9a91;const _0x1433e1=_0x370d8[_0x48000a(0x4ae)](),_0x49f081=await this[_0x48000a(0x44a)](_0x1433e1,_0x60f00c[_0x48000a(0x47c)]);this[_0x48000a(0x537)]['set'](_0x1433e1,_0x49f081);}),_0x32c204['merge'](this[_0x1d9a91(0x432)][_0x1d9a91(0x525)](_0x29a664['UniverInstanceType'][_0x1d9a91(0x4c5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29a664[_0x1d9a91(0x319)][_0x1d9a91(0x47c)]))[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this[_0x1d9a91(0x2a0)]))[_0x1d9a91(0x3cc)](_0x3d9c4d=>{var _0xaa8aa9=_0x1d9a91;const _0x42a8a9=_0x3d9c4d[_0xaa8aa9(0x4ae)](),_0x12dd1b=this[_0xaa8aa9(0x537)][_0xaa8aa9(0x47e)](_0x42a8a9);_0x12dd1b&&(_0x12dd1b['dispose'](),this[_0xaa8aa9(0x537)]['delete'](_0x42a8a9));});}async[_0x997d7(0x44a)](_0x1e5651,_0x46ac0e){var _0x49eb9f=_0x997d7;const _0x149271=await this[_0x49eb9f(0x419)]['requireSession'](_0x1e5651),_0x524073=this[_0x49eb9f(0x30a)][_0x49eb9f(0x55e)](this['_getCtorByUniverType'](_0x46ac0e),_0x1e5651,_0x46ac0e,_0x149271);return await _0x524073[_0x49eb9f(0x369)](),this['_entityInit$'][_0x49eb9f(0x476)](_0x524073),_0x524073;}['_getCtorByUniverType'](_0x385c90){var _0x345c71=_0x997d7;switch(_0x385c90){case _0x60f00c['UNIVER_DOC']:return _0x36d18b[_0x345c71(0x522)];case _0x60f00c['UNIVER_SHEET']:return _0x36d18b[_0x345c71(0x454)];default:throw new Error(_0x345c71(0x2b2)+_0x385c90);}}},_0x36d18b[_0x997d7(0x322)]=_0x154857([_0x5d3ecd(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5d3ecd(0x1,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x446)])),_0x5d3ecd(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x5d3ecd(0x3,_0x29a664['IUniverInstanceService'])],_0x36d18b['CollaborationController']);var _0x4f5a28=Object[_0x997d7(0x539)],_0x1fabce=(_0x3086f3,_0x2be102,_0x4ed696,_0x4cf03d)=>{for(var _0x57e018=_0x4cf03d>0x1?void 0x0:_0x4cf03d?_0x4f5a28(_0x2be102,_0x4ed696):_0x2be102,_0x4aa861=_0x3086f3['length']-0x1,_0x53127d;_0x4aa861>=0x0;_0x4aa861--)(_0x53127d=_0x3086f3[_0x4aa861])&&(_0x57e018=_0x53127d(_0x57e018)||_0x57e018);return _0x57e018;},_0x443904=(_0x22a3a0,_0x56167c)=>(_0x514338,_0x49f5f7)=>_0x56167c(_0x514338,_0x49f5f7,_0x22a3a0);const _0x3af0a4='DEFAULT_FILE_NAME',_0x5d6c95=_0x997d7(0x234);let _0x4788c3=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x242d49,_0x4c9d96){var _0x2c7a6e=_0x997d7;super(),this['_univerInstanceService']=_0x242d49,this[_0x2c7a6e(0x261)]=_0x4c9d96,this[_0x2c7a6e(0x275)]();}['_init'](){var _0x3cc057=_0x997d7;this[_0x3cc057(0x31b)](this[_0x3cc057(0x432)][_0x3cc057(0x274)][_0x3cc057(0x3cc)](()=>{var _0x863bf3=_0x3cc057,_0x47af14;const _0x771eb4=this[_0x863bf3(0x432)][_0x863bf3(0x213)]();let _0x3a6e28=(_0x47af14=this['_configService']['getConfig'](_0x3af0a4))!=null?_0x47af14:_0x5d6c95;_0x771eb4 instanceof _0x29a664[_0x863bf3(0x23f)]&&(_0x3a6e28=_0x771eb4[_0x863bf3(0x4d2)]),document[_0x863bf3(0x324)]=_0x3a6e28;}));}};_0x4788c3=_0x1fabce([_0x443904(0x0,_0x29a664[_0x997d7(0x208)]),_0x443904(0x1,_0x29a664[_0x997d7(0x4fc)])],_0x4788c3);var _0x1c7e94=Object['getOwnPropertyDescriptor'],_0x3e7e4d=(_0xa7a6eb,_0x476645,_0x2687c9,_0x55e98b)=>{var _0x23db95=_0x997d7;for(var _0x401c23=_0x55e98b>0x1?void 0x0:_0x55e98b?_0x1c7e94(_0x476645,_0x2687c9):_0x476645,_0x8602eb=_0xa7a6eb[_0x23db95(0x307)]-0x1,_0x8d74c3;_0x8602eb>=0x0;_0x8602eb--)(_0x8d74c3=_0xa7a6eb[_0x8602eb])&&(_0x401c23=_0x8d74c3(_0x401c23)||_0x401c23);return _0x401c23;},_0x24dd4a=(_0x577ada,_0x611cdb)=>(_0xcf1053,_0x5eee7e)=>_0x611cdb(_0xcf1053,_0x5eee7e,_0x577ada);let _0x57ab38=class{constructor(_0x4076a0,_0x4fba16,_0xb2b31b){var _0x481620=_0x997d7;this['_configService']=_0x4076a0,this[_0x481620(0x3f4)]=_0x4fba16,this[_0x481620(0x456)]=_0xb2b31b,this[_0x481620(0x369)]();}['init'](){var _0x26edaf=_0x997d7;this[_0x26edaf(0x3f4)][_0x26edaf(0x3d5)]({'priority':0x1,'interceptor':(_0x498197,_0x43b2ec)=>_0x43b2ec(_0x498197)['pipe'](_0x32c204[_0x26edaf(0x273)](async _0xd207ef=>{var _0x2b1417=_0x26edaf;const _0x1c12d1=_0xd207ef;if(_0x1c12d1[_0x2b1417(0x370)]===0x191){if(typeof window>'u')throw new Error(_0x2b1417(0x3a4));if(window[_0x2b1417(0x55f)](this[_0x2b1417(0x456)]['t'](_0x2b1417(0x24a)))){const _0x4606ae=window[_0x2b1417(0x279)](window[_0x2b1417(0x53c)][_0x2b1417(0x2ee)]);window[_0x2b1417(0x53c)][_0x2b1417(0x2ee)]=this[_0x2b1417(0x2e4)]()+_0x2b1417(0x347)+_0x4606ae;}}return _0x1c12d1;}))});}[_0x997d7(0x2e4)](){var _0x16fb4a=_0x997d7,_0x320160;const _0x4c0afa=this[_0x16fb4a(0x261)][_0x16fb4a(0x368)](_0x3fa783);return(_0x320160=_0x4c0afa==null?void 0x0:_0x4c0afa[_0x16fb4a(0x41d)])!=null?_0x320160:_0x278fe0;}};_0x57ab38=_0x3e7e4d([_0x24dd4a(0x0,_0x29a664[_0x997d7(0x4fc)]),_0x24dd4a(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)])),_0x24dd4a(0x2,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)]))],_0x57ab38);var _0x3db826=Object[_0x997d7(0x539)],_0xc23e00=(_0x5e8777,_0x114bbf,_0x18910b,_0x1d58ed)=>{for(var _0x52c719=_0x1d58ed>0x1?void 0x0:_0x1d58ed?_0x3db826(_0x114bbf,_0x18910b):_0x114bbf,_0x3ed8c1=_0x5e8777['length']-0x1,_0x47ed92;_0x3ed8c1>=0x0;_0x3ed8c1--)(_0x47ed92=_0x5e8777[_0x3ed8c1])&&(_0x52c719=_0x47ed92(_0x52c719)||_0x52c719);return _0x52c719;},_0xbd05af=(_0x502496,_0x1ab914)=>(_0x32fb32,_0xe30fd0)=>_0x1ab914(_0x32fb32,_0xe30fd0,_0x502496);const _0x450ae3=_0x997d7(0x2ba);_0x36d18b[_0x997d7(0x3dc)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x31ec09,_0x3daf48){var _0x90d5d7=_0x997d7;super(),this['_HTTPService']=_0x31ec09,this[_0x90d5d7(0x261)]=_0x3daf48,this[_0x90d5d7(0x305)]();}[_0x997d7(0x305)](){var _0x48fccc=_0x997d7;const _0x3050fa=this;this[_0x48fccc(0x31b)](this[_0x48fccc(0x210)][_0x48fccc(0x3d5)]({'priority':0x3e7,'interceptor':_0x200e90[_0x48fccc(0x27b)]({'isMatch'(_0x57f6bb){var _0x4ca79f=_0x48fccc,_0x141f5d;if(_0x57f6bb[_0x4ca79f(0x50e)]==='POST'&&((_0x141f5d=_0x57f6bb[_0x4ca79f(0x38b)])!=null&&_0x141f5d['body'])){const {objectID:_0x55b02d,objectType:_0x342e65}=_0x57f6bb['requestParams'][_0x4ca79f(0x22b)]||{};if(!_0x55b02d||_0x342e65===void 0x0)return!0x1;const _0x5272bc=_0x3050fa[_0x4ca79f(0x2a4)]()+'/'+_0x342e65+'/object/'+_0x55b02d+'/allowed';if(_0x57f6bb['url']===_0x5272bc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b67d8){var _0x193f60=_0x48fccc,_0x6b332;return(_0x6b332=_0x1b67d8['requestParams'])==null?void 0x0:_0x6b332[_0x193f60(0x22b)];},'mergeParamsToRequest'(_0x4fba21,_0x4a343a){var _0x4c978c=_0x48fccc;const _0x520611=_0x3050fa[_0x4c978c(0x2a4)]()+_0x4c978c(0x4d9),_0x31b3bf=_0x4fba21[_0x4c978c(0x516)]((_0xb093cf,_0xf7612e)=>{var _0x371de0=_0x4c978c;const {unitID:_0x4a1122,objectID:_0x4d6b16,objectType:_0x50939d,actions:_0x44ae1d}=_0xf7612e;return _0xb093cf[_0x4a1122]||(_0xb093cf[_0x4a1122]={}),_0xb093cf[_0x4a1122][_0x4d6b16]||(_0xb093cf[_0x4a1122][_0x4d6b16]={'objectID':_0x4d6b16,'objectType':_0x50939d,'actions':[]}),_0xb093cf[_0x4a1122][_0x4d6b16][_0x371de0(0x2c7)][_0x371de0(0x3f6)](..._0x44ae1d),_0xb093cf;},{}),_0x4677fe=[];for(const _0x35e82a in _0x31b3bf)for(const _0x3cab94 in _0x31b3bf[_0x35e82a]){const {actions:_0x203ee3,objectType:_0x422887}=_0x31b3bf[_0x35e82a][_0x3cab94],_0x29a983=[...new Set(_0x203ee3)];_0x4677fe[_0x4c978c(0x3f6)]({'unitID':_0x35e82a,'objectID':_0x3cab94,'objectType':_0x422887,'actions':_0x29a983});}return new _0x200e90[(_0x4c978c(0x3d4))]('POST',_0x520611,{'headers':_0x4a343a[_0x4c978c(0x1f0)],'withCredentials':_0x4a343a[_0x4c978c(0x408)],'responseType':_0x4a343a[_0x4c978c(0x40e)],'body':{'requests':_0x4677fe}});}},{'distributeResult'(_0x22d61a,_0x2bacfd){var _0x106d1c=_0x48fccc;const {objectActions:_0x425ae8}=_0x22d61a;return _0x2bacfd[_0x106d1c(0x2b1)](_0x3275c3=>{var _0x4ce072=_0x106d1c;const {unitID:_0x4d7ad1,objectID:_0x8f9f9a,actions:_0x5b6338}=_0x3275c3,_0x27787a=_0x425ae8[_0x4ce072(0x455)](_0x553ff6=>_0x553ff6['unitID']===_0x4d7ad1&&_0x553ff6[_0x4ce072(0x1f6)]===_0x8f9f9a),_0x1e80d2=_0x5b6338[_0x4ce072(0x2b1)](_0x3512e9=>_0x27787a==null?void 0x0:_0x27787a[_0x4ce072(0x2c7)]['find'](_0x143555=>_0x143555['action']===_0x3512e9))[_0x4ce072(0x469)](_0x24a8c0=>!!_0x24a8c0);return{'config':_0x3275c3,'result':{'actions':_0x1e80d2,'error':_0x22d61a[_0x4ce072(0x4ee)]}};});}})}));}[_0x997d7(0x2a4)](){var _0x31219a=_0x997d7,_0x281e0e;const _0x28c647=this[_0x31219a(0x261)]['getConfig'](_0x3fa783);return(_0x281e0e=_0x28c647==null?void 0x0:_0x28c647[_0x31219a(0x534)])!=null?_0x281e0e:_0x450ae3;}async['create'](_0x1f5b30){var _0x3c3634=_0x997d7;const _0x1772cc=this[_0x3c3634(0x2a4)]()+'/'+_0x1f5b30[_0x3c3634(0x46e)]+_0x3c3634(0x509);return(await this[_0x3c3634(0x210)][_0x3c3634(0x540)](_0x1772cc,{'body':_0x1f5b30}))[_0x3c3634(0x22b)]['objectID']||'';}async['list'](_0xa43be){var _0x12b98d=_0x997d7;const _0x16be38=this[_0x12b98d(0x2a4)]()+_0x12b98d(0x311);return(await this[_0x12b98d(0x210)][_0x12b98d(0x540)](_0x16be38,{'body':_0xa43be}))[_0x12b98d(0x22b)][_0x12b98d(0x46f)];}async[_0x997d7(0x550)](_0x2603b9){var _0x57be6a=_0x997d7,_0x335aa6,_0x30886b;const _0x4b8818=this[_0x57be6a(0x2a4)]()+'/'+_0x2603b9[_0x57be6a(0x46e)]+_0x57be6a(0x48f)+_0x2603b9[_0x57be6a(0x1f6)],_0x320b1f=await this[_0x57be6a(0x210)][_0x57be6a(0x306)](_0x4b8818,{'body':_0x2603b9});if(((_0x30886b=(_0x335aa6=_0x320b1f==null?void 0x0:_0x320b1f[_0x57be6a(0x22b)])==null?void 0x0:_0x335aa6[_0x57be6a(0x4ee)])==null?void 0x0:_0x30886b['code'])!==0x1)throw new Error(_0x57be6a(0x4a6));}async['allowed'](_0xa9fa92){var _0xe04589=_0x997d7;const _0x538374=this[_0xe04589(0x2a4)]()+'/'+_0xa9fa92[_0xe04589(0x46e)]+'/object/'+_0xa9fa92[_0xe04589(0x1f6)]+_0xe04589(0x34a);return(await this[_0xe04589(0x210)][_0xe04589(0x540)](_0x538374,{'body':_0xa9fa92}))[_0xe04589(0x22b)]['actions'];}async[_0x997d7(0x3f0)](_0x5758da){var _0x496a8b=_0x997d7;const _0xaf9ec0=this[_0x496a8b(0x2a4)]()+_0x496a8b(0x4d9);return(await this[_0x496a8b(0x210)]['post'](_0xaf9ec0,{'body':{'requests':_0x5758da}}))[_0x496a8b(0x22b)][_0x496a8b(0x36f)];}async[_0x997d7(0x52e)](_0x40ecd0){var _0x3f3908=_0x997d7;const _0x250793=this[_0x3f3908(0x2a4)]()+'/'+_0x40ecd0[_0x3f3908(0x46e)]+'/role',_0x2b4347=await this['_HTTPService'][_0x3f3908(0x540)](_0x250793,{'body':_0x40ecd0});return{'roles':_0x2b4347[_0x3f3908(0x22b)]['roles'],'actions':_0x2b4347[_0x3f3908(0x22b)][_0x3f3908(0x2c7)]};}async[_0x997d7(0x4fd)](_0x273da7){var _0x1de26f=_0x997d7;const _0x30262b=this[_0x1de26f(0x2a4)]()+_0x1de26f(0x43a);await this[_0x1de26f(0x210)][_0x1de26f(0x375)](_0x30262b,{'params':{'collaboratorID':_0x273da7[_0x1de26f(0x33a)],'objectID':_0x273da7['objectID'],'unitID':_0x273da7[_0x1de26f(0x297)]}});}async[_0x997d7(0x565)](_0x8746f8){var _0xf98833=_0x997d7;const _0x3ffe6d=this['_getAPIPrefixPath']()+_0xf98833(0x43a);await this[_0xf98833(0x210)]['patch'](_0x3ffe6d,{'body':_0x8746f8});}async[_0x997d7(0x242)](_0x348098){var _0x24a162=_0x997d7;const _0x462572=this[_0x24a162(0x2a4)]()+'/collaborator';await this[_0x24a162(0x210)][_0x24a162(0x540)](_0x462572,{'body':_0x348098});}async[_0x997d7(0x3c2)](_0x3f2c92){var _0x5950cc=_0x997d7;const _0x597dea=this['_getAPIPrefixPath']()+_0x5950cc(0x43a);return(await this['_HTTPService']['get'](_0x597dea,{'params':{'objectID':_0x3f2c92[_0x5950cc(0x1f6)],'unitID':_0x3f2c92['unitID']}}))[_0x5950cc(0x22b)][_0x5950cc(0x270)];}async['putCollaborators'](_0x37f46b){var _0x373c6d=_0x997d7;const _0x2e0328=this[_0x373c6d(0x2a4)]()+_0x373c6d(0x43a);await this[_0x373c6d(0x210)][_0x373c6d(0x306)](_0x2e0328,{'body':_0x37f46b});}},_0x36d18b[_0x997d7(0x3dc)]=_0xc23e00([_0xbd05af(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService'])),_0xbd05af(0x1,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x4fc)]))],_0x36d18b[_0x997d7(0x3dc)]);var _0x2cf14d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x574301(_0x3b567e){var _0x545163=_0x997d7;return _0x3b567e&&_0x3b567e['__esModule']&&Object[_0x545163(0x236)][_0x545163(0x203)]['call'](_0x3b567e,_0x545163(0x460))?_0x3b567e[_0x545163(0x460)]:_0x3b567e;}var _0x367d61={'exports':{}};function _0x141fe1(_0x19f5aa){var _0x4f6f68=_0x997d7;throw new Error(_0x4f6f68(0x4b1)+_0x19f5aa+_0x4f6f68(0x463));}var _0x55a1d1={'exports':{}},_0x34192c=_0x55a1d1[_0x997d7(0x523)],_0x2fb6f5;function _0x45d273(){return _0x2fb6f5||(_0x2fb6f5=0x1,function(_0x3b4155,_0x136e18){(function(_0x5de41d,_0x143747){_0x3b4155['exports']=_0x143747();}(_0x34192c,function(){var _0xd0a385=_0xd0a385||function(_0x55c17e,_0x7cbbaf){var _0x53cf93=_0x4ecd,_0x5bca64;if(typeof window<'u'&&window['crypto']&&(_0x5bca64=window[_0x53cf93(0x3fb)]),typeof self<'u'&&self[_0x53cf93(0x3fb)]&&(_0x5bca64=self[_0x53cf93(0x3fb)]),typeof globalThis<'u'&&globalThis[_0x53cf93(0x3fb)]&&(_0x5bca64=globalThis[_0x53cf93(0x3fb)]),!_0x5bca64&&typeof window<'u'&&window[_0x53cf93(0x2f7)]&&(_0x5bca64=window[_0x53cf93(0x2f7)]),!_0x5bca64&&typeof _0x2cf14d<'u'&&_0x2cf14d[_0x53cf93(0x3fb)]&&(_0x5bca64=_0x2cf14d['crypto']),!_0x5bca64&&typeof _0x141fe1==_0x53cf93(0x29c))try{_0x5bca64=require('crypto');}catch{}var _0x2f0f49=function(){var _0x222eda=_0x53cf93;if(_0x5bca64){if(typeof _0x5bca64[_0x222eda(0x2d7)]==_0x222eda(0x29c))try{return _0x5bca64[_0x222eda(0x2d7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bca64[_0x222eda(0x56f)]==_0x222eda(0x29c))try{return _0x5bca64['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x222eda(0x339));},_0x548af3=Object[_0x53cf93(0x3e7)]||(function(){function _0x52b7f9(){}return function(_0x519306){var _0xeb581=_0x4ecd,_0x5a4d65;return _0x52b7f9[_0xeb581(0x236)]=_0x519306,_0x5a4d65=new _0x52b7f9(),_0x52b7f9[_0xeb581(0x236)]=null,_0x5a4d65;};}()),_0x16238a={},_0x3cc764=_0x16238a[_0x53cf93(0x3ff)]={},_0x51883c=_0x3cc764['Base']=(function(){return{'extend':function(_0x153fb2){var _0x4e857b=_0x4ecd,_0x3bd4b=_0x548af3(this);return _0x153fb2&&_0x3bd4b['mixIn'](_0x153fb2),(!_0x3bd4b[_0x4e857b(0x203)]('init')||this[_0x4e857b(0x369)]===_0x3bd4b[_0x4e857b(0x369)])&&(_0x3bd4b[_0x4e857b(0x369)]=function(){var _0x13e78c=_0x4e857b;_0x3bd4b[_0x13e78c(0x4a4)][_0x13e78c(0x369)][_0x13e78c(0x493)](this,arguments);}),_0x3bd4b[_0x4e857b(0x369)][_0x4e857b(0x236)]=_0x3bd4b,_0x3bd4b[_0x4e857b(0x4a4)]=this,_0x3bd4b;},'create':function(){var _0x41f01b=_0x4ecd,_0x201b3e=this[_0x41f01b(0x202)]();return _0x201b3e[_0x41f01b(0x369)][_0x41f01b(0x493)](_0x201b3e,arguments),_0x201b3e;},'init':function(){},'mixIn':function(_0xce8061){var _0xa30347=_0x4ecd;for(var _0x4b26ba in _0xce8061)_0xce8061[_0xa30347(0x203)](_0x4b26ba)&&(this[_0x4b26ba]=_0xce8061[_0x4b26ba]);_0xce8061[_0xa30347(0x203)]('toString')&&(this[_0xa30347(0x3a6)]=_0xce8061[_0xa30347(0x3a6)]);},'clone':function(){var _0x54d0ac=_0x4ecd;return this['init'][_0x54d0ac(0x236)][_0x54d0ac(0x202)](this);}};}()),_0x10e699=_0x3cc764[_0x53cf93(0x466)]=_0x51883c[_0x53cf93(0x202)]({'init':function(_0x4d33bc,_0x1a9e43){var _0x5f1003=_0x53cf93;_0x4d33bc=this[_0x5f1003(0x30d)]=_0x4d33bc||[],_0x1a9e43!=_0x7cbbaf?this[_0x5f1003(0x4c3)]=_0x1a9e43:this[_0x5f1003(0x4c3)]=_0x4d33bc[_0x5f1003(0x307)]*0x4;},'toString':function(_0x5e532b){var _0x1bb189=_0x53cf93;return(_0x5e532b||_0x37fad3)[_0x1bb189(0x22d)](this);},'concat':function(_0x3dbd08){var _0x486f3a=_0x53cf93,_0xaced35=this[_0x486f3a(0x30d)],_0x3cae76=_0x3dbd08[_0x486f3a(0x30d)],_0x3805b2=this[_0x486f3a(0x4c3)],_0x4f2f8f=_0x3dbd08[_0x486f3a(0x4c3)];if(this[_0x486f3a(0x360)](),_0x3805b2%0x4)for(var _0xa10fec=0x0;_0xa10fec<_0x4f2f8f;_0xa10fec++){var _0x14d6d0=_0x3cae76[_0xa10fec>>>0x2]>>>0x18-_0xa10fec%0x4*0x8&0xff;_0xaced35[_0x3805b2+_0xa10fec>>>0x2]|=_0x14d6d0<<0x18-(_0x3805b2+_0xa10fec)%0x4*0x8;}else{for(var _0x27c81e=0x0;_0x27c81e<_0x4f2f8f;_0x27c81e+=0x4)_0xaced35[_0x3805b2+_0x27c81e>>>0x2]=_0x3cae76[_0x27c81e>>>0x2];}return this[_0x486f3a(0x4c3)]+=_0x4f2f8f,this;},'clamp':function(){var _0xb25149=_0x53cf93,_0x40204d=this[_0xb25149(0x30d)],_0x559f93=this[_0xb25149(0x4c3)];_0x40204d[_0x559f93>>>0x2]&=0xffffffff<<0x20-_0x559f93%0x4*0x8,_0x40204d[_0xb25149(0x307)]=_0x55c17e[_0xb25149(0x212)](_0x559f93/0x4);},'clone':function(){var _0x267f9f=_0x53cf93,_0x3652ad=_0x51883c['clone']['call'](this);return _0x3652ad[_0x267f9f(0x30d)]=this[_0x267f9f(0x30d)][_0x267f9f(0x3c4)](0x0),_0x3652ad;},'random':function(_0x187442){for(var _0x2f3df7=[],_0x169f80=0x0;_0x169f80<_0x187442;_0x169f80+=0x4)_0x2f3df7['push'](_0x2f0f49());return new _0x10e699['init'](_0x2f3df7,_0x187442);}}),_0x4726c2=_0x16238a['enc']={},_0x37fad3=_0x4726c2[_0x53cf93(0x251)]={'stringify':function(_0x2d0182){var _0xf8cc92=_0x53cf93;for(var _0x2cb41b=_0x2d0182[_0xf8cc92(0x30d)],_0x30daef=_0x2d0182['sigBytes'],_0x2be015=[],_0x44e809=0x0;_0x44e809<_0x30daef;_0x44e809++){var _0x2ab83e=_0x2cb41b[_0x44e809>>>0x2]>>>0x18-_0x44e809%0x4*0x8&0xff;_0x2be015[_0xf8cc92(0x3f6)]((_0x2ab83e>>>0x4)[_0xf8cc92(0x3a6)](0x10)),_0x2be015[_0xf8cc92(0x3f6)]((_0x2ab83e&0xf)['toString'](0x10));}return _0x2be015[_0xf8cc92(0x34b)]('');},'parse':function(_0x570254){var _0x196a1d=_0x53cf93;for(var _0x535a15=_0x570254[_0x196a1d(0x307)],_0x2a54ec=[],_0xe1183c=0x0;_0xe1183c<_0x535a15;_0xe1183c+=0x2)_0x2a54ec[_0xe1183c>>>0x3]|=parseInt(_0x570254[_0x196a1d(0x2fd)](_0xe1183c,0x2),0x10)<<0x18-_0xe1183c%0x8*0x4;return new _0x10e699[(_0x196a1d(0x369))](_0x2a54ec,_0x535a15/0x2);}},_0x239836=_0x4726c2['Latin1']={'stringify':function(_0x3f5997){var _0x1a8e14=_0x53cf93;for(var _0x12db96=_0x3f5997[_0x1a8e14(0x30d)],_0x3432b3=_0x3f5997[_0x1a8e14(0x4c3)],_0x13ac2b=[],_0xd5038e=0x0;_0xd5038e<_0x3432b3;_0xd5038e++){var _0x58334a=_0x12db96[_0xd5038e>>>0x2]>>>0x18-_0xd5038e%0x4*0x8&0xff;_0x13ac2b[_0x1a8e14(0x3f6)](String[_0x1a8e14(0x318)](_0x58334a));}return _0x13ac2b[_0x1a8e14(0x34b)]('');},'parse':function(_0x384605){for(var _0xfa2d5f=_0x384605['length'],_0x3e7aa3=[],_0x106e3c=0x0;_0x106e3c<_0xfa2d5f;_0x106e3c++)_0x3e7aa3[_0x106e3c>>>0x2]|=(_0x384605['charCodeAt'](_0x106e3c)&0xff)<<0x18-_0x106e3c%0x4*0x8;return new _0x10e699['init'](_0x3e7aa3,_0xfa2d5f);}},_0x291bad=_0x4726c2[_0x53cf93(0x3b6)]={'stringify':function(_0x501a69){var _0x4ca5ff=_0x53cf93;try{return decodeURIComponent(escape(_0x239836[_0x4ca5ff(0x22d)](_0x501a69)));}catch{throw new Error(_0x4ca5ff(0x281));}},'parse':function(_0x43f613){var _0x359ab8=_0x53cf93;return _0x239836[_0x359ab8(0x487)](unescape(encodeURIComponent(_0x43f613)));}},_0x4e073d=_0x3cc764[_0x53cf93(0x277)]=_0x51883c[_0x53cf93(0x202)]({'reset':function(){var _0x32faf8=_0x53cf93;this[_0x32faf8(0x4cb)]=new _0x10e699[(_0x32faf8(0x369))](),this[_0x32faf8(0x3b8)]=0x0;},'_append':function(_0x4d91cb){var _0x51216e=_0x53cf93;typeof _0x4d91cb==_0x51216e(0x2f0)&&(_0x4d91cb=_0x291bad[_0x51216e(0x487)](_0x4d91cb)),this[_0x51216e(0x4cb)]['concat'](_0x4d91cb),this[_0x51216e(0x3b8)]+=_0x4d91cb[_0x51216e(0x4c3)];},'_process':function(_0x481b28){var _0xd663b3=_0x53cf93,_0x3a2eb5,_0x106759=this[_0xd663b3(0x4cb)],_0x5eaed7=_0x106759[_0xd663b3(0x30d)],_0x450bd7=_0x106759[_0xd663b3(0x4c3)],_0xf3fb24=this[_0xd663b3(0x488)],_0x594bfc=_0xf3fb24*0x4,_0x209985=_0x450bd7/_0x594bfc;_0x481b28?_0x209985=_0x55c17e[_0xd663b3(0x212)](_0x209985):_0x209985=_0x55c17e[_0xd663b3(0x287)]((_0x209985|0x0)-this[_0xd663b3(0x470)],0x0);var _0x44f1f8=_0x209985*_0xf3fb24,_0x18c5e7=_0x55c17e[_0xd663b3(0x3a9)](_0x44f1f8*0x4,_0x450bd7);if(_0x44f1f8){for(var _0x4da8c5=0x0;_0x4da8c5<_0x44f1f8;_0x4da8c5+=_0xf3fb24)this[_0xd663b3(0x355)](_0x5eaed7,_0x4da8c5);_0x3a2eb5=_0x5eaed7[_0xd663b3(0x425)](0x0,_0x44f1f8),_0x106759[_0xd663b3(0x4c3)]-=_0x18c5e7;}return new _0x10e699[(_0xd663b3(0x369))](_0x3a2eb5,_0x18c5e7);},'clone':function(){var _0x2bd818=_0x53cf93,_0x39914a=_0x51883c[_0x2bd818(0x4e2)][_0x2bd818(0x23d)](this);return _0x39914a['_data']=this[_0x2bd818(0x4cb)][_0x2bd818(0x4e2)](),_0x39914a;},'_minBufferSize':0x0});_0x3cc764[_0x53cf93(0x46c)]=_0x4e073d[_0x53cf93(0x202)]({'cfg':_0x51883c['extend'](),'init':function(_0x180281){var _0x47bcd3=_0x53cf93;this[_0x47bcd3(0x566)]=this[_0x47bcd3(0x566)]['extend'](_0x180281),this[_0x47bcd3(0x214)]();},'reset':function(){var _0x4cce20=_0x53cf93;_0x4e073d['reset'][_0x4cce20(0x23d)](this),this[_0x4cce20(0x4fe)]();},'update':function(_0x1d2dc5){var _0x34f9b0=_0x53cf93;return this[_0x34f9b0(0x51a)](_0x1d2dc5),this[_0x34f9b0(0x2df)](),this;},'finalize':function(_0x3fd37d){var _0x64b20a=_0x53cf93;_0x3fd37d&&this[_0x64b20a(0x51a)](_0x3fd37d);var _0x344cbc=this['_doFinalize']();return _0x344cbc;},'blockSize':0x10,'_createHelper':function(_0x23eb4e){return function(_0x966dc5,_0x3ad980){var _0x20cbcf=_0x4ecd;return new _0x23eb4e['init'](_0x3ad980)[_0x20cbcf(0x4a3)](_0x966dc5);};},'_createHmacHelper':function(_0x48d3af){return function(_0xbd21b5,_0x4b9dd1){var _0x48e40a=_0x4ecd;return new _0x5c6610['HMAC']['init'](_0x48d3af,_0x4b9dd1)[_0x48e40a(0x4a3)](_0xbd21b5);};}});var _0x5c6610=_0x16238a[_0x53cf93(0x49c)]={};return _0x16238a;}(Math);return _0xd0a385;}));}(_0x55a1d1)),_0x55a1d1['exports'];}var _0x3d6c84={'exports':{}},_0x670467=_0x3d6c84[_0x997d7(0x523)],_0x29741d;function _0x12cba4(){var _0x178f23=_0x997d7;return _0x29741d||(_0x29741d=0x1,function(_0x7426e5,_0x32beca){(function(_0x579e43,_0x5595a0){_0x7426e5['exports']=_0x5595a0(_0x45d273());}(_0x670467,function(_0x127d6a){var _0x825c0e=_0x4ecd;return(function(){var _0x2777f6=_0x4ecd,_0x50b4d4=_0x127d6a,_0x246c52=_0x50b4d4[_0x2777f6(0x3ff)],_0x1bdd13=_0x246c52[_0x2777f6(0x466)],_0x1388ca=_0x50b4d4['enc'];_0x1388ca[_0x2777f6(0x1e9)]={'stringify':function(_0x3d978b){var _0x53ac0=_0x2777f6,_0x3d3ee9=_0x3d978b['words'],_0x305a32=_0x3d978b[_0x53ac0(0x4c3)],_0xdfc6d6=this[_0x53ac0(0x461)];_0x3d978b[_0x53ac0(0x360)]();for(var _0x232380=[],_0x48ef3a=0x0;_0x48ef3a<_0x305a32;_0x48ef3a+=0x3)for(var _0x374b85=_0x3d3ee9[_0x48ef3a>>>0x2]>>>0x18-_0x48ef3a%0x4*0x8&0xff,_0x4d4b4d=_0x3d3ee9[_0x48ef3a+0x1>>>0x2]>>>0x18-(_0x48ef3a+0x1)%0x4*0x8&0xff,_0x513d91=_0x3d3ee9[_0x48ef3a+0x2>>>0x2]>>>0x18-(_0x48ef3a+0x2)%0x4*0x8&0xff,_0x38b88d=_0x374b85<<0x10|_0x4d4b4d<<0x8|_0x513d91,_0x2a95bd=0x0;_0x2a95bd<0x4&&_0x48ef3a+_0x2a95bd*0.75<_0x305a32;_0x2a95bd++)_0x232380[_0x53ac0(0x3f6)](_0xdfc6d6[_0x53ac0(0x4a9)](_0x38b88d>>>0x6*(0x3-_0x2a95bd)&0x3f));var _0x4939c2=_0xdfc6d6[_0x53ac0(0x4a9)](0x40);if(_0x4939c2){for(;_0x232380[_0x53ac0(0x307)]%0x4;)_0x232380['push'](_0x4939c2);}return _0x232380[_0x53ac0(0x34b)]('');},'parse':function(_0x3bf67d){var _0x206878=_0x2777f6,_0x4493c1=_0x3bf67d[_0x206878(0x307)],_0x40e944=this[_0x206878(0x461)],_0x3eec24=this[_0x206878(0x34c)];if(!_0x3eec24){_0x3eec24=this['_reverseMap']=[];for(var _0x416005=0x0;_0x416005<_0x40e944[_0x206878(0x307)];_0x416005++)_0x3eec24[_0x40e944[_0x206878(0x26f)](_0x416005)]=_0x416005;}var _0x22c7b1=_0x40e944[_0x206878(0x4a9)](0x40);if(_0x22c7b1){var _0x164af0=_0x3bf67d[_0x206878(0x3f5)](_0x22c7b1);_0x164af0!==-0x1&&(_0x4493c1=_0x164af0);}return _0x5db922(_0x3bf67d,_0x4493c1,_0x3eec24);},'_map':_0x2777f6(0x2fb)};function _0x5db922(_0x6c2304,_0x197219,_0x11a20b){var _0x46b746=_0x2777f6;for(var _0x43b803=[],_0x363764=0x0,_0x30f10a=0x0;_0x30f10a<_0x197219;_0x30f10a++)if(_0x30f10a%0x4){var _0x3cf6dc=_0x11a20b[_0x6c2304[_0x46b746(0x26f)](_0x30f10a-0x1)]<<_0x30f10a%0x4*0x2,_0x1bb308=_0x11a20b[_0x6c2304[_0x46b746(0x26f)](_0x30f10a)]>>>0x6-_0x30f10a%0x4*0x2,_0x3ff6f4=_0x3cf6dc|_0x1bb308;_0x43b803[_0x363764>>>0x2]|=_0x3ff6f4<<0x18-_0x363764%0x4*0x8,_0x363764++;}return _0x1bdd13['create'](_0x43b803,_0x363764);}}()),_0x127d6a['enc'][_0x825c0e(0x1e9)];}));}(_0x3d6c84)),_0x3d6c84[_0x178f23(0x523)];}var _0x5ec732={'exports':{}},_0x48783e=_0x5ec732['exports'],_0x5a7ab0;function _0x1a8182(){var _0x4f82e4=_0x997d7;return _0x5a7ab0||(_0x5a7ab0=0x1,function(_0x2fd577,_0x2b62f9){(function(_0x31f835,_0x1dc566){var _0x18fce2=_0x4ecd;_0x2fd577[_0x18fce2(0x523)]=_0x1dc566(_0x45d273());}(_0x48783e,function(_0x2f9073){var _0x2aa6c2=_0x4ecd;return function(_0x21f3b3){var _0x6a89cf=_0x4ecd,_0x541143=_0x2f9073,_0x27c642=_0x541143[_0x6a89cf(0x3ff)],_0x4713a5=_0x27c642[_0x6a89cf(0x466)],_0x562707=_0x27c642[_0x6a89cf(0x46c)],_0x1ff375=_0x541143[_0x6a89cf(0x49c)],_0x59d7b4=[];(function(){for(var _0x1b91c0=0x0;_0x1b91c0<0x40;_0x1b91c0++)_0x59d7b4[_0x1b91c0]=_0x21f3b3['abs'](_0x21f3b3['sin'](_0x1b91c0+0x1))*0x100000000|0x0;}());var _0x12340f=_0x1ff375[_0x6a89cf(0x363)]=_0x562707[_0x6a89cf(0x202)]({'_doReset':function(){var _0x4ff726=_0x6a89cf;this[_0x4ff726(0x38c)]=new _0x4713a5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x400974,_0x279d6e){var _0x3a15de=_0x6a89cf;for(var _0x17bf35=0x0;_0x17bf35<0x10;_0x17bf35++){var _0x4774df=_0x279d6e+_0x17bf35,_0x234f28=_0x400974[_0x4774df];_0x400974[_0x4774df]=(_0x234f28<<0x8|_0x234f28>>>0x18)&0xff00ff|(_0x234f28<<0x18|_0x234f28>>>0x8)&0xff00ff00;}var _0x3a404a=this[_0x3a15de(0x38c)][_0x3a15de(0x30d)],_0x474732=_0x400974[_0x279d6e+0x0],_0x3b88ab=_0x400974[_0x279d6e+0x1],_0x30120d=_0x400974[_0x279d6e+0x2],_0x488856=_0x400974[_0x279d6e+0x3],_0x21c4fa=_0x400974[_0x279d6e+0x4],_0x537878=_0x400974[_0x279d6e+0x5],_0x1a4c56=_0x400974[_0x279d6e+0x6],_0x20bf81=_0x400974[_0x279d6e+0x7],_0x15e35d=_0x400974[_0x279d6e+0x8],_0x514906=_0x400974[_0x279d6e+0x9],_0x544add=_0x400974[_0x279d6e+0xa],_0x161bfd=_0x400974[_0x279d6e+0xb],_0x474412=_0x400974[_0x279d6e+0xc],_0x5aa7e7=_0x400974[_0x279d6e+0xd],_0x555b88=_0x400974[_0x279d6e+0xe],_0x31906b=_0x400974[_0x279d6e+0xf],_0x4d760a=_0x3a404a[0x0],_0x2ae8b1=_0x3a404a[0x1],_0x1a7b21=_0x3a404a[0x2],_0x4f2ec8=_0x3a404a[0x3];_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474732,0x7,_0x59d7b4[0x0]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x3b88ab,0xc,_0x59d7b4[0x1]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x30120d,0x11,_0x59d7b4[0x2]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x488856,0x16,_0x59d7b4[0x3]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x21c4fa,0x7,_0x59d7b4[0x4]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x537878,0xc,_0x59d7b4[0x5]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a4c56,0x11,_0x59d7b4[0x6]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x20bf81,0x16,_0x59d7b4[0x7]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x15e35d,0x7,_0x59d7b4[0x8]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x514906,0xc,_0x59d7b4[0x9]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x544add,0x11,_0x59d7b4[0xa]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x161bfd,0x16,_0x59d7b4[0xb]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474412,0x7,_0x59d7b4[0xc]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x5aa7e7,0xc,_0x59d7b4[0xd]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x555b88,0x11,_0x59d7b4[0xe]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x31906b,0x16,_0x59d7b4[0xf]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x3b88ab,0x5,_0x59d7b4[0x10]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x1a4c56,0x9,_0x59d7b4[0x11]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x161bfd,0xe,_0x59d7b4[0x12]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x474732,0x14,_0x59d7b4[0x13]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x537878,0x5,_0x59d7b4[0x14]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x544add,0x9,_0x59d7b4[0x15]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x31906b,0xe,_0x59d7b4[0x16]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x21c4fa,0x14,_0x59d7b4[0x17]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x514906,0x5,_0x59d7b4[0x18]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x555b88,0x9,_0x59d7b4[0x19]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x488856,0xe,_0x59d7b4[0x1a]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x15e35d,0x14,_0x59d7b4[0x1b]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x5aa7e7,0x5,_0x59d7b4[0x1c]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x30120d,0x9,_0x59d7b4[0x1d]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x20bf81,0xe,_0x59d7b4[0x1e]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x474412,0x14,_0x59d7b4[0x1f]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x537878,0x4,_0x59d7b4[0x20]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x15e35d,0xb,_0x59d7b4[0x21]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x161bfd,0x10,_0x59d7b4[0x22]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x555b88,0x17,_0x59d7b4[0x23]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x3b88ab,0x4,_0x59d7b4[0x24]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x21c4fa,0xb,_0x59d7b4[0x25]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x20bf81,0x10,_0x59d7b4[0x26]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x544add,0x17,_0x59d7b4[0x27]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x5aa7e7,0x4,_0x59d7b4[0x28]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x474732,0xb,_0x59d7b4[0x29]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x488856,0x10,_0x59d7b4[0x2a]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x1a4c56,0x17,_0x59d7b4[0x2b]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x514906,0x4,_0x59d7b4[0x2c]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x474412,0xb,_0x59d7b4[0x2d]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x31906b,0x10,_0x59d7b4[0x2e]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x30120d,0x17,_0x59d7b4[0x2f]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474732,0x6,_0x59d7b4[0x30]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x20bf81,0xa,_0x59d7b4[0x31]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x555b88,0xf,_0x59d7b4[0x32]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x537878,0x15,_0x59d7b4[0x33]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474412,0x6,_0x59d7b4[0x34]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x488856,0xa,_0x59d7b4[0x35]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x544add,0xf,_0x59d7b4[0x36]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x3b88ab,0x15,_0x59d7b4[0x37]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x15e35d,0x6,_0x59d7b4[0x38]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x31906b,0xa,_0x59d7b4[0x39]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a4c56,0xf,_0x59d7b4[0x3a]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x5aa7e7,0x15,_0x59d7b4[0x3b]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x21c4fa,0x6,_0x59d7b4[0x3c]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x161bfd,0xa,_0x59d7b4[0x3d]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x30120d,0xf,_0x59d7b4[0x3e]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x514906,0x15,_0x59d7b4[0x3f]),_0x3a404a[0x0]=_0x3a404a[0x0]+_0x4d760a|0x0,_0x3a404a[0x1]=_0x3a404a[0x1]+_0x2ae8b1|0x0,_0x3a404a[0x2]=_0x3a404a[0x2]+_0x1a7b21|0x0,_0x3a404a[0x3]=_0x3a404a[0x3]+_0x4f2ec8|0x0;},'_doFinalize':function(){var _0x3f6b84=_0x6a89cf,_0x587b79=this[_0x3f6b84(0x4cb)],_0x5f01ef=_0x587b79[_0x3f6b84(0x30d)],_0x1d69ce=this[_0x3f6b84(0x3b8)]*0x8,_0x14bbf4=_0x587b79[_0x3f6b84(0x4c3)]*0x8;_0x5f01ef[_0x14bbf4>>>0x5]|=0x80<<0x18-_0x14bbf4%0x20;var _0x5cab99=_0x21f3b3[_0x3f6b84(0x20f)](_0x1d69ce/0x100000000),_0x11369c=_0x1d69ce;_0x5f01ef[(_0x14bbf4+0x40>>>0x9<<0x4)+0xf]=(_0x5cab99<<0x8|_0x5cab99>>>0x18)&0xff00ff|(_0x5cab99<<0x18|_0x5cab99>>>0x8)&0xff00ff00,_0x5f01ef[(_0x14bbf4+0x40>>>0x9<<0x4)+0xe]=(_0x11369c<<0x8|_0x11369c>>>0x18)&0xff00ff|(_0x11369c<<0x18|_0x11369c>>>0x8)&0xff00ff00,_0x587b79[_0x3f6b84(0x4c3)]=(_0x5f01ef[_0x3f6b84(0x307)]+0x1)*0x4,this[_0x3f6b84(0x2df)]();for(var _0x5d7e15=this['_hash'],_0x1cdbdb=_0x5d7e15[_0x3f6b84(0x30d)],_0x3ea2a1=0x0;_0x3ea2a1<0x4;_0x3ea2a1++){var _0x4e1551=_0x1cdbdb[_0x3ea2a1];_0x1cdbdb[_0x3ea2a1]=(_0x4e1551<<0x8|_0x4e1551>>>0x18)&0xff00ff|(_0x4e1551<<0x18|_0x4e1551>>>0x8)&0xff00ff00;}return _0x5d7e15;},'clone':function(){var _0x1f084f=_0x6a89cf,_0x46b3a2=_0x562707['clone'][_0x1f084f(0x23d)](this);return _0x46b3a2[_0x1f084f(0x38c)]=this[_0x1f084f(0x38c)][_0x1f084f(0x4e2)](),_0x46b3a2;}});function _0x45366e(_0x1aded9,_0x2eb5ca,_0x5d0e68,_0x13ff4b,_0x421305,_0x1712ad,_0x52d2e9){var _0x206ff7=_0x1aded9+(_0x2eb5ca&_0x5d0e68|~_0x2eb5ca&_0x13ff4b)+_0x421305+_0x52d2e9;return(_0x206ff7<<_0x1712ad|_0x206ff7>>>0x20-_0x1712ad)+_0x2eb5ca;}function _0x567e2b(_0x2ea22a,_0x2a5c03,_0x3a62d4,_0x19783e,_0x392f84,_0x29f86e,_0x498569){var _0x4a7c1d=_0x2ea22a+(_0x2a5c03&_0x19783e|_0x3a62d4&~_0x19783e)+_0x392f84+_0x498569;return(_0x4a7c1d<<_0x29f86e|_0x4a7c1d>>>0x20-_0x29f86e)+_0x2a5c03;}function _0x1013d2(_0xab64cc,_0x31e227,_0x3ea837,_0x3b206c,_0x577529,_0x12fff6,_0x35e5f9){var _0x5dd2d9=_0xab64cc+(_0x31e227^_0x3ea837^_0x3b206c)+_0x577529+_0x35e5f9;return(_0x5dd2d9<<_0x12fff6|_0x5dd2d9>>>0x20-_0x12fff6)+_0x31e227;}function _0x12cc3b(_0x460be5,_0x11164e,_0x5df081,_0x5b7792,_0x538c5c,_0x5b8192,_0x362ced){var _0x4efd19=_0x460be5+(_0x5df081^(_0x11164e|~_0x5b7792))+_0x538c5c+_0x362ced;return(_0x4efd19<<_0x5b8192|_0x4efd19>>>0x20-_0x5b8192)+_0x11164e;}_0x541143['MD5']=_0x562707['_createHelper'](_0x12340f),_0x541143[_0x6a89cf(0x284)]=_0x562707[_0x6a89cf(0x3c0)](_0x12340f);}(Math),_0x2f9073[_0x2aa6c2(0x363)];}));}(_0x5ec732)),_0x5ec732[_0x4f82e4(0x523)];}var _0x3166b2={'exports':{}},_0x3f8942={'exports':{}},_0x56d242=_0x3f8942[_0x997d7(0x523)],_0x32e28e;function _0x289822(){return _0x32e28e||(_0x32e28e=0x1,function(_0x4b3f89,_0x328ac7){(function(_0x4e7699,_0x5c9337){var _0x7b16e2=_0x4ecd;_0x4b3f89[_0x7b16e2(0x523)]=_0x5c9337(_0x45d273());}(_0x56d242,function(_0x484afd){return(function(){var _0x856719=_0x4ecd,_0x432278=_0x484afd,_0x4302c5=_0x432278[_0x856719(0x3ff)],_0x47a8c3=_0x4302c5[_0x856719(0x466)],_0x225aa1=_0x4302c5[_0x856719(0x46c)],_0x531006=_0x432278['algo'],_0x51f9a4=[],_0xe26dc8=_0x531006['SHA1']=_0x225aa1['extend']({'_doReset':function(){var _0x33ffc9=_0x856719;this[_0x33ffc9(0x38c)]=new _0x47a8c3[(_0x33ffc9(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40cfae,_0x16e7e5){var _0x139244=_0x856719;for(var _0x4389be=this[_0x139244(0x38c)][_0x139244(0x30d)],_0x1e562a=_0x4389be[0x0],_0x1abb99=_0x4389be[0x1],_0x5425d4=_0x4389be[0x2],_0x225f79=_0x4389be[0x3],_0x39816d=_0x4389be[0x4],_0xe49f0=0x0;_0xe49f0<0x50;_0xe49f0++){if(_0xe49f0<0x10)_0x51f9a4[_0xe49f0]=_0x40cfae[_0x16e7e5+_0xe49f0]|0x0;else{var _0x300133=_0x51f9a4[_0xe49f0-0x3]^_0x51f9a4[_0xe49f0-0x8]^_0x51f9a4[_0xe49f0-0xe]^_0x51f9a4[_0xe49f0-0x10];_0x51f9a4[_0xe49f0]=_0x300133<<0x1|_0x300133>>>0x1f;}var _0x2bb428=(_0x1e562a<<0x5|_0x1e562a>>>0x1b)+_0x39816d+_0x51f9a4[_0xe49f0];_0xe49f0<0x14?_0x2bb428+=(_0x1abb99&_0x5425d4|~_0x1abb99&_0x225f79)+0x5a827999:_0xe49f0<0x28?_0x2bb428+=(_0x1abb99^_0x5425d4^_0x225f79)+0x6ed9eba1:_0xe49f0<0x3c?_0x2bb428+=(_0x1abb99&_0x5425d4|_0x1abb99&_0x225f79|_0x5425d4&_0x225f79)-0x70e44324:_0x2bb428+=(_0x1abb99^_0x5425d4^_0x225f79)-0x359d3e2a,_0x39816d=_0x225f79,_0x225f79=_0x5425d4,_0x5425d4=_0x1abb99<<0x1e|_0x1abb99>>>0x2,_0x1abb99=_0x1e562a,_0x1e562a=_0x2bb428;}_0x4389be[0x0]=_0x4389be[0x0]+_0x1e562a|0x0,_0x4389be[0x1]=_0x4389be[0x1]+_0x1abb99|0x0,_0x4389be[0x2]=_0x4389be[0x2]+_0x5425d4|0x0,_0x4389be[0x3]=_0x4389be[0x3]+_0x225f79|0x0,_0x4389be[0x4]=_0x4389be[0x4]+_0x39816d|0x0;},'_doFinalize':function(){var _0x30274e=_0x856719,_0x2be16c=this['_data'],_0x4196ee=_0x2be16c[_0x30274e(0x30d)],_0x1c47e0=this[_0x30274e(0x3b8)]*0x8,_0x458afb=_0x2be16c[_0x30274e(0x4c3)]*0x8;return _0x4196ee[_0x458afb>>>0x5]|=0x80<<0x18-_0x458afb%0x20,_0x4196ee[(_0x458afb+0x40>>>0x9<<0x4)+0xe]=Math[_0x30274e(0x20f)](_0x1c47e0/0x100000000),_0x4196ee[(_0x458afb+0x40>>>0x9<<0x4)+0xf]=_0x1c47e0,_0x2be16c[_0x30274e(0x4c3)]=_0x4196ee[_0x30274e(0x307)]*0x4,this[_0x30274e(0x2df)](),this[_0x30274e(0x38c)];},'clone':function(){var _0x173502=_0x856719,_0x20fe5b=_0x225aa1[_0x173502(0x4e2)][_0x173502(0x23d)](this);return _0x20fe5b[_0x173502(0x38c)]=this[_0x173502(0x38c)][_0x173502(0x4e2)](),_0x20fe5b;}});_0x432278[_0x856719(0x43d)]=_0x225aa1[_0x856719(0x2de)](_0xe26dc8),_0x432278[_0x856719(0x22a)]=_0x225aa1['_createHmacHelper'](_0xe26dc8);}()),_0x484afd['SHA1'];}));}(_0x3f8942)),_0x3f8942['exports'];}var _0x389ad1={'exports':{}},_0x20bc14=_0x389ad1['exports'],_0xf8f1c0;function _0x4d828e(){return _0xf8f1c0||(_0xf8f1c0=0x1,function(_0x5cee00,_0xdac81c){(function(_0x2e1db6,_0x5bb6f0){var _0x365146=_0x4ecd;_0x5cee00[_0x365146(0x523)]=_0x5bb6f0(_0x45d273());}(_0x20bc14,function(_0x22273c){(function(){var _0x358c17=_0x4ecd,_0x3b9f8=_0x22273c,_0x1f6f6a=_0x3b9f8[_0x358c17(0x3ff)],_0x41e1cd=_0x1f6f6a[_0x358c17(0x413)],_0x350cca=_0x3b9f8['enc'],_0x15565f=_0x350cca[_0x358c17(0x3b6)],_0x381d1d=_0x3b9f8[_0x358c17(0x49c)];_0x381d1d[_0x358c17(0x465)]=_0x41e1cd['extend']({'init':function(_0x2916a4,_0x3cf25b){var _0x631dd=_0x358c17;_0x2916a4=this['_hasher']=new _0x2916a4[(_0x631dd(0x369))](),typeof _0x3cf25b==_0x631dd(0x2f0)&&(_0x3cf25b=_0x15565f[_0x631dd(0x487)](_0x3cf25b));var _0xe7811c=_0x2916a4[_0x631dd(0x488)],_0x5eb78c=_0xe7811c*0x4;_0x3cf25b['sigBytes']>_0x5eb78c&&(_0x3cf25b=_0x2916a4[_0x631dd(0x4a3)](_0x3cf25b)),_0x3cf25b['clamp']();for(var _0x2d889e=this[_0x631dd(0x222)]=_0x3cf25b[_0x631dd(0x4e2)](),_0x281e7a=this[_0x631dd(0x2db)]=_0x3cf25b['clone'](),_0x4f9bff=_0x2d889e['words'],_0x582289=_0x281e7a[_0x631dd(0x30d)],_0x328f69=0x0;_0x328f69<_0xe7811c;_0x328f69++)_0x4f9bff[_0x328f69]^=0x5c5c5c5c,_0x582289[_0x328f69]^=0x36363636;_0x2d889e[_0x631dd(0x4c3)]=_0x281e7a[_0x631dd(0x4c3)]=_0x5eb78c,this[_0x631dd(0x214)]();},'reset':function(){var _0x1cb8f9=_0x358c17,_0x3bd56c=this[_0x1cb8f9(0x4b7)];_0x3bd56c[_0x1cb8f9(0x214)](),_0x3bd56c[_0x1cb8f9(0x550)](this[_0x1cb8f9(0x2db)]);},'update':function(_0x53295c){var _0x2087f=_0x358c17;return this[_0x2087f(0x4b7)][_0x2087f(0x550)](_0x53295c),this;},'finalize':function(_0x5c4401){var _0x3bb3fd=_0x358c17,_0x2c67a3=this[_0x3bb3fd(0x4b7)],_0x583d2b=_0x2c67a3['finalize'](_0x5c4401);_0x2c67a3[_0x3bb3fd(0x214)]();var _0x32d0ea=_0x2c67a3['finalize'](this[_0x3bb3fd(0x222)][_0x3bb3fd(0x4e2)]()[_0x3bb3fd(0x4e1)](_0x583d2b));return _0x32d0ea;}});}());}));}(_0x389ad1)),_0x389ad1['exports'];}var _0x5e79b0=_0x3166b2[_0x997d7(0x523)],_0x50c53d;function _0x1c1feb(){return _0x50c53d||(_0x50c53d=0x1,function(_0x1a0ab3,_0x126a49){(function(_0x4f5f1e,_0x8db3a6,_0x4d5e4b){var _0x10eca7=_0x4ecd;_0x1a0ab3[_0x10eca7(0x523)]=_0x8db3a6(_0x45d273(),_0x289822(),_0x4d828e());}(_0x5e79b0,function(_0x5bb806){var _0x3c61d5=_0x4ecd;return(function(){var _0xa2e663=_0x4ecd,_0x45eced=_0x5bb806,_0x5aea21=_0x45eced['lib'],_0x4626fe=_0x5aea21[_0xa2e663(0x413)],_0x38277c=_0x5aea21[_0xa2e663(0x466)],_0x2ea8f2=_0x45eced[_0xa2e663(0x49c)],_0x1949b4=_0x2ea8f2[_0xa2e663(0x363)],_0x2a52c5=_0x2ea8f2[_0xa2e663(0x43f)]=_0x4626fe['extend']({'cfg':_0x4626fe[_0xa2e663(0x202)]({'keySize':0x80/0x20,'hasher':_0x1949b4,'iterations':0x1}),'init':function(_0x3b8a82){var _0x324830=_0xa2e663;this[_0x324830(0x566)]=this[_0x324830(0x566)]['extend'](_0x3b8a82);},'compute':function(_0x14cd7f,_0x573e64){var _0x25f0c3=_0xa2e663;for(var _0x5cb2f3,_0x35bf28=this[_0x25f0c3(0x566)],_0x5cd1a9=_0x35bf28['hasher'][_0x25f0c3(0x3e7)](),_0x11e4e2=_0x38277c[_0x25f0c3(0x3e7)](),_0xb37c8d=_0x11e4e2[_0x25f0c3(0x30d)],_0x1a5659=_0x35bf28[_0x25f0c3(0x215)],_0x139266=_0x35bf28[_0x25f0c3(0x2fa)];_0xb37c8d['length']<_0x1a5659;){_0x5cb2f3&&_0x5cd1a9[_0x25f0c3(0x550)](_0x5cb2f3),_0x5cb2f3=_0x5cd1a9[_0x25f0c3(0x550)](_0x14cd7f)[_0x25f0c3(0x4a3)](_0x573e64),_0x5cd1a9['reset']();for(var _0x46f33b=0x1;_0x46f33b<_0x139266;_0x46f33b++)_0x5cb2f3=_0x5cd1a9[_0x25f0c3(0x4a3)](_0x5cb2f3),_0x5cd1a9[_0x25f0c3(0x214)]();_0x11e4e2[_0x25f0c3(0x4e1)](_0x5cb2f3);}return _0x11e4e2['sigBytes']=_0x1a5659*0x4,_0x11e4e2;}});_0x45eced[_0xa2e663(0x43f)]=function(_0x208d6d,_0x1f7e42,_0x5939c2){var _0x5c5636=_0xa2e663;return _0x2a52c5[_0x5c5636(0x3e7)](_0x5939c2)[_0x5c5636(0x40c)](_0x208d6d,_0x1f7e42);};}()),_0x5bb806[_0x3c61d5(0x43f)];}));}(_0x3166b2)),_0x3166b2['exports'];}var _0xa3df45={'exports':{}},_0x282986=_0xa3df45[_0x997d7(0x523)],_0x22a4a9;function _0xe5b910(){var _0x34b1e2=_0x997d7;return _0x22a4a9||(_0x22a4a9=0x1,function(_0x3b7309,_0x2683a7){(function(_0x4ac4f0,_0x5d1882,_0x11fa7d){_0x3b7309['exports']=_0x5d1882(_0x45d273(),_0x1c1feb());}(_0x282986,function(_0x11a209){var _0x180f95=_0x4ecd;_0x11a209[_0x180f95(0x3ff)][_0x180f95(0x2be)]||function(_0x1fec6a){var _0x2847f3=_0x180f95,_0x153729=_0x11a209,_0x28885e=_0x153729[_0x2847f3(0x3ff)],_0x22c4a4=_0x28885e[_0x2847f3(0x413)],_0x351338=_0x28885e['WordArray'],_0x41d7f5=_0x28885e['BufferedBlockAlgorithm'],_0xa374d2=_0x153729['enc'];_0xa374d2[_0x2847f3(0x3b6)];var _0x1c275e=_0xa374d2[_0x2847f3(0x1e9)],_0x5685ce=_0x153729['algo'],_0x159fd4=_0x5685ce[_0x2847f3(0x43f)],_0x4d63b7=_0x28885e[_0x2847f3(0x2be)]=_0x41d7f5[_0x2847f3(0x202)]({'cfg':_0x22c4a4['extend'](),'createEncryptor':function(_0x34b077,_0x193af2){var _0x1f2dbb=_0x2847f3;return this[_0x1f2dbb(0x3e7)](this[_0x1f2dbb(0x24c)],_0x34b077,_0x193af2);},'createDecryptor':function(_0x46187f,_0x5f4555){var _0x2b5794=_0x2847f3;return this[_0x2b5794(0x3e7)](this[_0x2b5794(0x345)],_0x46187f,_0x5f4555);},'init':function(_0x391803,_0x2253da,_0x321056){var _0x90eb7=_0x2847f3;this[_0x90eb7(0x566)]=this[_0x90eb7(0x566)][_0x90eb7(0x202)](_0x321056),this[_0x90eb7(0x411)]=_0x391803,this[_0x90eb7(0x233)]=_0x2253da,this[_0x90eb7(0x214)]();},'reset':function(){var _0x4a10a9=_0x2847f3;_0x41d7f5[_0x4a10a9(0x214)][_0x4a10a9(0x23d)](this),this[_0x4a10a9(0x4fe)]();},'process':function(_0x1e9c46){var _0x2858fc=_0x2847f3;return this[_0x2858fc(0x51a)](_0x1e9c46),this[_0x2858fc(0x2df)]();},'finalize':function(_0x2ea426){var _0x2df93c=_0x2847f3;_0x2ea426&&this['_append'](_0x2ea426);var _0x212573=this[_0x2df93c(0x3c3)]();return _0x212573;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51b826(_0x50bef4){return typeof _0x50bef4=='string'?_0x1da02e:_0x5b0ed2;}return function(_0x4f53eb){return{'encrypt':function(_0x140505,_0x1fe4e5,_0x1cf046){var _0x48f0f2=_0x4ecd;return _0x51b826(_0x1fe4e5)[_0x48f0f2(0x1eb)](_0x4f53eb,_0x140505,_0x1fe4e5,_0x1cf046);},'decrypt':function(_0x33df46,_0x4bbc9b,_0x13b769){var _0x21f937=_0x4ecd;return _0x51b826(_0x4bbc9b)[_0x21f937(0x444)](_0x4f53eb,_0x33df46,_0x4bbc9b,_0x13b769);}};};}())});_0x28885e[_0x2847f3(0x4aa)]=_0x4d63b7[_0x2847f3(0x202)]({'_doFinalize':function(){var _0x179a30=_0x2847f3,_0x263b11=this[_0x179a30(0x2df)](!0x0);return _0x263b11;},'blockSize':0x1});var _0x539243=_0x153729['mode']={},_0x110716=_0x28885e['BlockCipherMode']=_0x22c4a4[_0x2847f3(0x202)]({'createEncryptor':function(_0x58b12f,_0x28cf4e){var _0x1fd698=_0x2847f3;return this[_0x1fd698(0x531)][_0x1fd698(0x3e7)](_0x58b12f,_0x28cf4e);},'createDecryptor':function(_0x5b93c4,_0x33d9cb){var _0x4a44fa=_0x2847f3;return this['Decryptor'][_0x4a44fa(0x3e7)](_0x5b93c4,_0x33d9cb);},'init':function(_0x3a7704,_0x113170){var _0x344259=_0x2847f3;this['_cipher']=_0x3a7704,this[_0x344259(0x393)]=_0x113170;}}),_0x11f34c=_0x539243[_0x2847f3(0x501)]=(function(){var _0x3f0045=_0x2847f3,_0x302441=_0x110716['extend']();_0x302441[_0x3f0045(0x531)]=_0x302441['extend']({'processBlock':function(_0x2b1750,_0x457cee){var _0x52a310=_0x3f0045,_0x49239c=this[_0x52a310(0x376)],_0x4101c3=_0x49239c['blockSize'];_0x269631[_0x52a310(0x23d)](this,_0x2b1750,_0x457cee,_0x4101c3),_0x49239c[_0x52a310(0x49a)](_0x2b1750,_0x457cee),this[_0x52a310(0x2f4)]=_0x2b1750[_0x52a310(0x3c4)](_0x457cee,_0x457cee+_0x4101c3);}}),_0x302441[_0x3f0045(0x387)]=_0x302441[_0x3f0045(0x202)]({'processBlock':function(_0xd7d115,_0x139160){var _0x13269b=_0x3f0045,_0x58b2d8=this[_0x13269b(0x376)],_0x1d82d7=_0x58b2d8[_0x13269b(0x488)],_0x22d259=_0xd7d115[_0x13269b(0x3c4)](_0x139160,_0x139160+_0x1d82d7);_0x58b2d8[_0x13269b(0x54f)](_0xd7d115,_0x139160),_0x269631[_0x13269b(0x23d)](this,_0xd7d115,_0x139160,_0x1d82d7),this[_0x13269b(0x2f4)]=_0x22d259;}});function _0x269631(_0x4710c5,_0x49ed55,_0x68ebe8){var _0x6306da=_0x3f0045,_0x2f1587,_0x5b393e=this['_iv'];_0x5b393e?(_0x2f1587=_0x5b393e,this[_0x6306da(0x393)]=_0x1fec6a):_0x2f1587=this[_0x6306da(0x2f4)];for(var _0x205658=0x0;_0x205658<_0x68ebe8;_0x205658++)_0x4710c5[_0x49ed55+_0x205658]^=_0x2f1587[_0x205658];}return _0x302441;}()),_0x5beb2b=_0x153729[_0x2847f3(0x577)]={},_0x1646e9=_0x5beb2b['Pkcs7']={'pad':function(_0xff2cdd,_0x3c2885){var _0x174f1e=_0x2847f3;for(var _0x3467d7=_0x3c2885*0x4,_0x201c2f=_0x3467d7-_0xff2cdd[_0x174f1e(0x4c3)]%_0x3467d7,_0x131c70=_0x201c2f<<0x18|_0x201c2f<<0x10|_0x201c2f<<0x8|_0x201c2f,_0x50d50a=[],_0x351d11=0x0;_0x351d11<_0x201c2f;_0x351d11+=0x4)_0x50d50a[_0x174f1e(0x3f6)](_0x131c70);var _0xde456e=_0x351338[_0x174f1e(0x3e7)](_0x50d50a,_0x201c2f);_0xff2cdd[_0x174f1e(0x4e1)](_0xde456e);},'unpad':function(_0x2498ef){var _0x37dd94=_0x2847f3,_0x271fbe=_0x2498ef[_0x37dd94(0x30d)][_0x2498ef[_0x37dd94(0x4c3)]-0x1>>>0x2]&0xff;_0x2498ef[_0x37dd94(0x4c3)]-=_0x271fbe;}};_0x28885e['BlockCipher']=_0x4d63b7[_0x2847f3(0x202)]({'cfg':_0x4d63b7[_0x2847f3(0x566)][_0x2847f3(0x202)]({'mode':_0x11f34c,'padding':_0x1646e9}),'reset':function(){var _0x347363=_0x2847f3,_0x239e92;_0x4d63b7[_0x347363(0x214)][_0x347363(0x23d)](this);var _0x57f4b4=this[_0x347363(0x566)],_0x1b608a=_0x57f4b4['iv'],_0x1dd7ff=_0x57f4b4['mode'];this['_xformMode']==this[_0x347363(0x24c)]?_0x239e92=_0x1dd7ff[_0x347363(0x39e)]:(_0x239e92=_0x1dd7ff[_0x347363(0x4e9)],this[_0x347363(0x470)]=0x1),this['_mode']&&this[_0x347363(0x547)][_0x347363(0x3b3)]==_0x239e92?this[_0x347363(0x547)][_0x347363(0x369)](this,_0x1b608a&&_0x1b608a[_0x347363(0x30d)]):(this[_0x347363(0x547)]=_0x239e92[_0x347363(0x23d)](_0x1dd7ff,this,_0x1b608a&&_0x1b608a[_0x347363(0x30d)]),this['_mode'][_0x347363(0x3b3)]=_0x239e92);},'_doProcessBlock':function(_0x5a1d1e,_0x344b0a){var _0x3e9d54=_0x2847f3;this[_0x3e9d54(0x547)][_0x3e9d54(0x474)](_0x5a1d1e,_0x344b0a);},'_doFinalize':function(){var _0x28f54d=_0x2847f3,_0x1979f6,_0x296243=this[_0x28f54d(0x566)][_0x28f54d(0x50f)];return this[_0x28f54d(0x411)]==this[_0x28f54d(0x24c)]?(_0x296243[_0x28f54d(0x577)](this[_0x28f54d(0x4cb)],this[_0x28f54d(0x488)]),_0x1979f6=this[_0x28f54d(0x2df)](!0x0)):(_0x1979f6=this[_0x28f54d(0x2df)](!0x0),_0x296243['unpad'](_0x1979f6)),_0x1979f6;},'blockSize':0x80/0x20});var _0x56644c=_0x28885e['CipherParams']=_0x22c4a4[_0x2847f3(0x202)]({'init':function(_0x18710f){var _0x34c9bf=_0x2847f3;this[_0x34c9bf(0x24f)](_0x18710f);},'toString':function(_0x48e118){var _0x7d4161=_0x2847f3;return(_0x48e118||this['formatter'])[_0x7d4161(0x22d)](this);}}),_0x187bf3=_0x153729[_0x2847f3(0x4ab)]={},_0x2663fe=_0x187bf3[_0x2847f3(0x2d8)]={'stringify':function(_0x48d6c6){var _0x5c3e24=_0x2847f3,_0x1217de,_0x5d3d8a=_0x48d6c6['ciphertext'],_0x17a623=_0x48d6c6[_0x5c3e24(0x4b0)];return _0x17a623?_0x1217de=_0x351338[_0x5c3e24(0x3e7)]([0x53616c74,0x65645f5f])[_0x5c3e24(0x4e1)](_0x17a623)[_0x5c3e24(0x4e1)](_0x5d3d8a):_0x1217de=_0x5d3d8a,_0x1217de[_0x5c3e24(0x3a6)](_0x1c275e);},'parse':function(_0x28bc48){var _0x5706fe=_0x2847f3,_0x437941,_0x307954=_0x1c275e['parse'](_0x28bc48),_0x59a54b=_0x307954['words'];return _0x59a54b[0x0]==0x53616c74&&_0x59a54b[0x1]==0x65645f5f&&(_0x437941=_0x351338['create'](_0x59a54b[_0x5706fe(0x3c4)](0x2,0x4)),_0x59a54b[_0x5706fe(0x425)](0x0,0x4),_0x307954[_0x5706fe(0x4c3)]-=0x10),_0x56644c['create']({'ciphertext':_0x307954,'salt':_0x437941});}},_0x5b0ed2=_0x28885e[_0x2847f3(0x209)]=_0x22c4a4[_0x2847f3(0x202)]({'cfg':_0x22c4a4[_0x2847f3(0x202)]({'format':_0x2663fe}),'encrypt':function(_0x547fb3,_0x3986d7,_0x617bcd,_0x2a6d35){var _0x543594=_0x2847f3;_0x2a6d35=this['cfg'][_0x543594(0x202)](_0x2a6d35);var _0x5c4d04=_0x547fb3[_0x543594(0x39e)](_0x617bcd,_0x2a6d35),_0x4a4fce=_0x5c4d04[_0x543594(0x4a3)](_0x3986d7),_0x4b5d75=_0x5c4d04[_0x543594(0x566)];return _0x56644c[_0x543594(0x3e7)]({'ciphertext':_0x4a4fce,'key':_0x617bcd,'iv':_0x4b5d75['iv'],'algorithm':_0x547fb3,'mode':_0x4b5d75[_0x543594(0x20c)],'padding':_0x4b5d75[_0x543594(0x50f)],'blockSize':_0x547fb3[_0x543594(0x488)],'formatter':_0x2a6d35[_0x543594(0x4ab)]});},'decrypt':function(_0xaf4d1a,_0x39b3a7,_0x231397,_0x2bf52e){var _0x3134d6=_0x2847f3;_0x2bf52e=this[_0x3134d6(0x566)][_0x3134d6(0x202)](_0x2bf52e),_0x39b3a7=this[_0x3134d6(0x1fd)](_0x39b3a7,_0x2bf52e[_0x3134d6(0x4ab)]);var _0x1c538b=_0xaf4d1a[_0x3134d6(0x4e9)](_0x231397,_0x2bf52e)[_0x3134d6(0x4a3)](_0x39b3a7[_0x3134d6(0x35b)]);return _0x1c538b;},'_parse':function(_0x1ee63a,_0x7a71d6){var _0x3410db=_0x2847f3;return typeof _0x1ee63a==_0x3410db(0x2f0)?_0x7a71d6[_0x3410db(0x487)](_0x1ee63a,this):_0x1ee63a;}}),_0x19075d=_0x153729['kdf']={},_0x1aa61c=_0x19075d[_0x2847f3(0x2d8)]={'execute':function(_0x5b55fa,_0x2b3fd8,_0x385c93,_0x3dd661,_0x29ae2b){var _0x8f5a64=_0x2847f3;if(_0x3dd661||(_0x3dd661=_0x351338[_0x8f5a64(0x4ad)](0x40/0x8)),_0x29ae2b)var _0x1f87ab=_0x159fd4[_0x8f5a64(0x3e7)]({'keySize':_0x2b3fd8+_0x385c93,'hasher':_0x29ae2b})[_0x8f5a64(0x40c)](_0x5b55fa,_0x3dd661);else var _0x1f87ab=_0x159fd4['create']({'keySize':_0x2b3fd8+_0x385c93})[_0x8f5a64(0x40c)](_0x5b55fa,_0x3dd661);var _0x2a8467=_0x351338[_0x8f5a64(0x3e7)](_0x1f87ab['words']['slice'](_0x2b3fd8),_0x385c93*0x4);return _0x1f87ab['sigBytes']=_0x2b3fd8*0x4,_0x56644c[_0x8f5a64(0x3e7)]({'key':_0x1f87ab,'iv':_0x2a8467,'salt':_0x3dd661});}},_0x1da02e=_0x28885e[_0x2847f3(0x372)]=_0x5b0ed2['extend']({'cfg':_0x5b0ed2['cfg']['extend']({'kdf':_0x1aa61c}),'encrypt':function(_0x6997d4,_0x158dd0,_0x272472,_0x4335af){var _0x34d463=_0x2847f3;_0x4335af=this[_0x34d463(0x566)]['extend'](_0x4335af);var _0x5c5919=_0x4335af[_0x34d463(0x538)]['execute'](_0x272472,_0x6997d4['keySize'],_0x6997d4[_0x34d463(0x3c5)],_0x4335af['salt'],_0x4335af[_0x34d463(0x45f)]);_0x4335af['iv']=_0x5c5919['iv'];var _0x491528=_0x5b0ed2[_0x34d463(0x1eb)][_0x34d463(0x23d)](this,_0x6997d4,_0x158dd0,_0x5c5919['key'],_0x4335af);return _0x491528['mixIn'](_0x5c5919),_0x491528;},'decrypt':function(_0x5a0e5b,_0x345f83,_0x2e90fd,_0x14742a){var _0x4a0291=_0x2847f3;_0x14742a=this[_0x4a0291(0x566)][_0x4a0291(0x202)](_0x14742a),_0x345f83=this[_0x4a0291(0x1fd)](_0x345f83,_0x14742a[_0x4a0291(0x4ab)]);var _0x80c04e=_0x14742a[_0x4a0291(0x538)][_0x4a0291(0x316)](_0x2e90fd,_0x5a0e5b['keySize'],_0x5a0e5b[_0x4a0291(0x3c5)],_0x345f83['salt'],_0x14742a[_0x4a0291(0x45f)]);_0x14742a['iv']=_0x80c04e['iv'];var _0x1e5efe=_0x5b0ed2[_0x4a0291(0x444)][_0x4a0291(0x23d)](this,_0x5a0e5b,_0x345f83,_0x80c04e[_0x4a0291(0x42e)],_0x14742a);return _0x1e5efe;}});}();}));}(_0xa3df45)),_0xa3df45[_0x34b1e2(0x523)];}var _0x289dc5=_0x367d61[_0x997d7(0x523)],_0x1927fd;function _0x2082ca(){var _0x1c2f27=_0x997d7;return _0x1927fd||(_0x1927fd=0x1,function(_0x467ee0,_0x5a8fe8){(function(_0x4dee76,_0x19de02,_0x5d653d){var _0x357353=_0x4ecd;_0x467ee0[_0x357353(0x523)]=_0x19de02(_0x45d273(),_0x12cba4(),_0x1a8182(),_0x1c1feb(),_0xe5b910());}(_0x289dc5,function(_0x4d8da5){var _0x5acecc=_0x4ecd;return(function(){var _0x17ab2d=_0x4ecd,_0x1aae6f=_0x4d8da5,_0x5d5acf=_0x1aae6f['lib'],_0x21f724=_0x5d5acf[_0x17ab2d(0x3bb)],_0x55252d=_0x1aae6f[_0x17ab2d(0x49c)],_0x160ee1=[],_0x4265e5=[],_0x5946dc=[],_0xc765b1=[],_0x64a963=[],_0x324b79=[],_0x267aaa=[],_0x58107b=[],_0x53d99f=[],_0x6d1b9c=[];(function(){for(var _0x429bdb=[],_0x522d8e=0x0;_0x522d8e<0x100;_0x522d8e++)_0x522d8e<0x80?_0x429bdb[_0x522d8e]=_0x522d8e<<0x1:_0x429bdb[_0x522d8e]=_0x522d8e<<0x1^0x11b;for(var _0x4bafb0=0x0,_0x499ee0=0x0,_0x522d8e=0x0;_0x522d8e<0x100;_0x522d8e++){var _0x5d931c=_0x499ee0^_0x499ee0<<0x1^_0x499ee0<<0x2^_0x499ee0<<0x3^_0x499ee0<<0x4;_0x5d931c=_0x5d931c>>>0x8^_0x5d931c&0xff^0x63,_0x160ee1[_0x4bafb0]=_0x5d931c,_0x4265e5[_0x5d931c]=_0x4bafb0;var _0x388906=_0x429bdb[_0x4bafb0],_0x40c27a=_0x429bdb[_0x388906],_0x183c39=_0x429bdb[_0x40c27a],_0x4bbb96=_0x429bdb[_0x5d931c]*0x101^_0x5d931c*0x1010100;_0x5946dc[_0x4bafb0]=_0x4bbb96<<0x18|_0x4bbb96>>>0x8,_0xc765b1[_0x4bafb0]=_0x4bbb96<<0x10|_0x4bbb96>>>0x10,_0x64a963[_0x4bafb0]=_0x4bbb96<<0x8|_0x4bbb96>>>0x18,_0x324b79[_0x4bafb0]=_0x4bbb96;var _0x4bbb96=_0x183c39*0x1010101^_0x40c27a*0x10001^_0x388906*0x101^_0x4bafb0*0x1010100;_0x267aaa[_0x5d931c]=_0x4bbb96<<0x18|_0x4bbb96>>>0x8,_0x58107b[_0x5d931c]=_0x4bbb96<<0x10|_0x4bbb96>>>0x10,_0x53d99f[_0x5d931c]=_0x4bbb96<<0x8|_0x4bbb96>>>0x18,_0x6d1b9c[_0x5d931c]=_0x4bbb96,_0x4bafb0?(_0x4bafb0=_0x388906^_0x429bdb[_0x429bdb[_0x429bdb[_0x183c39^_0x388906]]],_0x499ee0^=_0x429bdb[_0x429bdb[_0x499ee0]]):_0x4bafb0=_0x499ee0=0x1;}}());var _0x50adbf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xb14b98=_0x55252d[_0x17ab2d(0x4af)]=_0x21f724[_0x17ab2d(0x202)]({'_doReset':function(){var _0x420f6c=_0x17ab2d,_0x4c969a;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x8cb025=this[_0x420f6c(0x2cf)]=this[_0x420f6c(0x233)],_0x1f88b5=_0x8cb025['words'],_0x51c4d6=_0x8cb025[_0x420f6c(0x4c3)]/0x4,_0x1422c3=this['_nRounds']=_0x51c4d6+0x6,_0x5103ef=(_0x1422c3+0x1)*0x4,_0x419ff8=this['_keySchedule']=[],_0x2002f6=0x0;_0x2002f6<_0x5103ef;_0x2002f6++)_0x2002f6<_0x51c4d6?_0x419ff8[_0x2002f6]=_0x1f88b5[_0x2002f6]:(_0x4c969a=_0x419ff8[_0x2002f6-0x1],_0x2002f6%_0x51c4d6?_0x51c4d6>0x6&&_0x2002f6%_0x51c4d6==0x4&&(_0x4c969a=_0x160ee1[_0x4c969a>>>0x18]<<0x18|_0x160ee1[_0x4c969a>>>0x10&0xff]<<0x10|_0x160ee1[_0x4c969a>>>0x8&0xff]<<0x8|_0x160ee1[_0x4c969a&0xff]):(_0x4c969a=_0x4c969a<<0x8|_0x4c969a>>>0x18,_0x4c969a=_0x160ee1[_0x4c969a>>>0x18]<<0x18|_0x160ee1[_0x4c969a>>>0x10&0xff]<<0x10|_0x160ee1[_0x4c969a>>>0x8&0xff]<<0x8|_0x160ee1[_0x4c969a&0xff],_0x4c969a^=_0x50adbf[_0x2002f6/_0x51c4d6|0x0]<<0x18),_0x419ff8[_0x2002f6]=_0x419ff8[_0x2002f6-_0x51c4d6]^_0x4c969a);for(var _0x221a96=this['_invKeySchedule']=[],_0x341846=0x0;_0x341846<_0x5103ef;_0x341846++){var _0x2002f6=_0x5103ef-_0x341846;if(_0x341846%0x4)var _0x4c969a=_0x419ff8[_0x2002f6];else var _0x4c969a=_0x419ff8[_0x2002f6-0x4];_0x341846<0x4||_0x2002f6<=0x4?_0x221a96[_0x341846]=_0x4c969a:_0x221a96[_0x341846]=_0x267aaa[_0x160ee1[_0x4c969a>>>0x18]]^_0x58107b[_0x160ee1[_0x4c969a>>>0x10&0xff]]^_0x53d99f[_0x160ee1[_0x4c969a>>>0x8&0xff]]^_0x6d1b9c[_0x160ee1[_0x4c969a&0xff]];}}},'encryptBlock':function(_0x383559,_0x441ced){var _0x35ca9f=_0x17ab2d;this[_0x35ca9f(0x3fc)](_0x383559,_0x441ced,this[_0x35ca9f(0x41a)],_0x5946dc,_0xc765b1,_0x64a963,_0x324b79,_0x160ee1);},'decryptBlock':function(_0x5b11e7,_0xccdddc){var _0x348a5c=_0x17ab2d,_0x20f16e=_0x5b11e7[_0xccdddc+0x1];_0x5b11e7[_0xccdddc+0x1]=_0x5b11e7[_0xccdddc+0x3],_0x5b11e7[_0xccdddc+0x3]=_0x20f16e,this[_0x348a5c(0x3fc)](_0x5b11e7,_0xccdddc,this[_0x348a5c(0x21d)],_0x267aaa,_0x58107b,_0x53d99f,_0x6d1b9c,_0x4265e5);var _0x20f16e=_0x5b11e7[_0xccdddc+0x1];_0x5b11e7[_0xccdddc+0x1]=_0x5b11e7[_0xccdddc+0x3],_0x5b11e7[_0xccdddc+0x3]=_0x20f16e;},'_doCryptBlock':function(_0x49bddb,_0x1bcb99,_0x42b8ea,_0x26e1f5,_0x1c0650,_0x2e030d,_0x8559d3,_0x264260){var _0x34a47d=_0x17ab2d;for(var _0x2ab194=this[_0x34a47d(0x3cd)],_0x1aad28=_0x49bddb[_0x1bcb99]^_0x42b8ea[0x0],_0xc921bd=_0x49bddb[_0x1bcb99+0x1]^_0x42b8ea[0x1],_0x1d7dbd=_0x49bddb[_0x1bcb99+0x2]^_0x42b8ea[0x2],_0x1c620f=_0x49bddb[_0x1bcb99+0x3]^_0x42b8ea[0x3],_0x22a142=0x4,_0x4c5174=0x1;_0x4c5174<_0x2ab194;_0x4c5174++){var _0x5031e9=_0x26e1f5[_0x1aad28>>>0x18]^_0x1c0650[_0xc921bd>>>0x10&0xff]^_0x2e030d[_0x1d7dbd>>>0x8&0xff]^_0x8559d3[_0x1c620f&0xff]^_0x42b8ea[_0x22a142++],_0x444f46=_0x26e1f5[_0xc921bd>>>0x18]^_0x1c0650[_0x1d7dbd>>>0x10&0xff]^_0x2e030d[_0x1c620f>>>0x8&0xff]^_0x8559d3[_0x1aad28&0xff]^_0x42b8ea[_0x22a142++],_0xeef4e9=_0x26e1f5[_0x1d7dbd>>>0x18]^_0x1c0650[_0x1c620f>>>0x10&0xff]^_0x2e030d[_0x1aad28>>>0x8&0xff]^_0x8559d3[_0xc921bd&0xff]^_0x42b8ea[_0x22a142++],_0x342545=_0x26e1f5[_0x1c620f>>>0x18]^_0x1c0650[_0x1aad28>>>0x10&0xff]^_0x2e030d[_0xc921bd>>>0x8&0xff]^_0x8559d3[_0x1d7dbd&0xff]^_0x42b8ea[_0x22a142++];_0x1aad28=_0x5031e9,_0xc921bd=_0x444f46,_0x1d7dbd=_0xeef4e9,_0x1c620f=_0x342545;}var _0x5031e9=(_0x264260[_0x1aad28>>>0x18]<<0x18|_0x264260[_0xc921bd>>>0x10&0xff]<<0x10|_0x264260[_0x1d7dbd>>>0x8&0xff]<<0x8|_0x264260[_0x1c620f&0xff])^_0x42b8ea[_0x22a142++],_0x444f46=(_0x264260[_0xc921bd>>>0x18]<<0x18|_0x264260[_0x1d7dbd>>>0x10&0xff]<<0x10|_0x264260[_0x1c620f>>>0x8&0xff]<<0x8|_0x264260[_0x1aad28&0xff])^_0x42b8ea[_0x22a142++],_0xeef4e9=(_0x264260[_0x1d7dbd>>>0x18]<<0x18|_0x264260[_0x1c620f>>>0x10&0xff]<<0x10|_0x264260[_0x1aad28>>>0x8&0xff]<<0x8|_0x264260[_0xc921bd&0xff])^_0x42b8ea[_0x22a142++],_0x342545=(_0x264260[_0x1c620f>>>0x18]<<0x18|_0x264260[_0x1aad28>>>0x10&0xff]<<0x10|_0x264260[_0xc921bd>>>0x8&0xff]<<0x8|_0x264260[_0x1d7dbd&0xff])^_0x42b8ea[_0x22a142++];_0x49bddb[_0x1bcb99]=_0x5031e9,_0x49bddb[_0x1bcb99+0x1]=_0x444f46,_0x49bddb[_0x1bcb99+0x2]=_0xeef4e9,_0x49bddb[_0x1bcb99+0x3]=_0x342545;},'keySize':0x100/0x20});_0x1aae6f[_0x17ab2d(0x4af)]=_0x21f724[_0x17ab2d(0x2de)](_0xb14b98);}()),_0x4d8da5[_0x5acecc(0x4af)];}));}(_0x367d61)),_0x367d61[_0x1c2f27(0x523)];}var _0x4c6de9=_0x2082ca();const _0x41beb7=_0x574301(_0x4c6de9);var _0x396354=_0x12cba4();const _0x136bf4=_0x574301(_0x396354);var _0x1fdb87={'exports':{}},_0x1c40f5=_0x1fdb87[_0x997d7(0x523)],_0x1e1a45;function _0x3630c2(){return _0x1e1a45||(_0x1e1a45=0x1,function(_0x3c66fc,_0x5ccbb2){(function(_0x410477,_0x1f6c35){var _0x3199a7=_0x4ecd;_0x3c66fc[_0x3199a7(0x523)]=_0x1f6c35(_0x45d273());}(_0x1c40f5,function(_0x520066){var _0xa5f4e7=_0x4ecd;return _0x520066[_0xa5f4e7(0x2f2)][_0xa5f4e7(0x3b6)];}));}(_0x1fdb87)),_0x1fdb87['exports'];}var _0x5adb6b=_0x3630c2();const _0xbc6c15=_0x574301(_0x5adb6b);var _0x105091={'exports':{}},_0xe5ab3=_0x105091[_0x997d7(0x523)],_0x921f70;function _0x462879(){var _0x562919=_0x997d7;return _0x921f70||(_0x921f70=0x1,function(_0x318948,_0x454f03){(function(_0x20b946,_0x244c05){var _0x127d4a=_0x4ecd;_0x318948[_0x127d4a(0x523)]=_0x244c05(_0x45d273());}(_0xe5ab3,function(_0x4dc504){var _0x3ad3f1=_0x4ecd;return(function(){var _0x51a3cf=_0x4ecd;if(typeof ArrayBuffer==_0x51a3cf(0x29c)){var _0x599523=_0x4dc504,_0x1e8f15=_0x599523['lib'],_0x53e73d=_0x1e8f15[_0x51a3cf(0x466)],_0xb4e44f=_0x53e73d['init'],_0x5d19e6=_0x53e73d[_0x51a3cf(0x369)]=function(_0x4d60a3){var _0x437f0a=_0x51a3cf;if(_0x4d60a3 instanceof ArrayBuffer&&(_0x4d60a3=new Uint8Array(_0x4d60a3)),(_0x4d60a3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4d60a3 instanceof Uint8ClampedArray||_0x4d60a3 instanceof Int16Array||_0x4d60a3 instanceof Uint16Array||_0x4d60a3 instanceof Int32Array||_0x4d60a3 instanceof Uint32Array||_0x4d60a3 instanceof Float32Array||_0x4d60a3 instanceof Float64Array)&&(_0x4d60a3=new Uint8Array(_0x4d60a3[_0x437f0a(0x2c4)],_0x4d60a3['byteOffset'],_0x4d60a3[_0x437f0a(0x2b0)])),_0x4d60a3 instanceof Uint8Array){for(var _0x30418b=_0x4d60a3[_0x437f0a(0x2b0)],_0x3c6141=[],_0x2150df=0x0;_0x2150df<_0x30418b;_0x2150df++)_0x3c6141[_0x2150df>>>0x2]|=_0x4d60a3[_0x2150df]<<0x18-_0x2150df%0x4*0x8;_0xb4e44f[_0x437f0a(0x23d)](this,_0x3c6141,_0x30418b);}else _0xb4e44f[_0x437f0a(0x493)](this,arguments);};_0x5d19e6[_0x51a3cf(0x236)]=_0x53e73d;}}()),_0x4dc504['lib'][_0x3ad3f1(0x466)];}));}(_0x105091)),_0x105091[_0x562919(0x523)];}var _0x2a0005=_0x462879();const _0x4f629c=_0x574301(_0x2a0005);var _0x1c5410={'exports':{}},_0x21dd33=_0x1c5410[_0x997d7(0x523)],_0x2715b0;function _0x11338a(){return _0x2715b0||(_0x2715b0=0x1,function(_0x444b70,_0x238b4f){(function(_0x4765ae,_0x36c338,_0x4c3ae9){var _0x3a553f=_0x4ecd;_0x444b70[_0x3a553f(0x523)]=_0x36c338(_0x45d273(),_0xe5b910());}(_0x21dd33,function(_0x2e42cf){var _0x58f6ca=_0x4ecd;return _0x2e42cf[_0x58f6ca(0x577)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2e42cf[_0x58f6ca(0x577)][_0x58f6ca(0x2b4)];}));}(_0x1c5410)),_0x1c5410['exports'];}var _0xc0afa8=_0x11338a();const _0x136663=_0x574301(_0xc0afa8);function _0x216cbb(_0x44f16f,_0x5d5ebd){var _0x346580=_0x997d7;const _0x330ff0=_0x5d5ebd-_0x44f16f[_0x346580(0x307)]%_0x5d5ebd,_0x56af14=String[_0x346580(0x318)](_0x330ff0)[_0x346580(0x514)](_0x330ff0);return _0x44f16f+_0x56af14;}function _0x5d2891(_0x56c424,_0x5cbef4){var _0x323b96=_0x997d7;const _0x21a752=_0x4f629c[_0x323b96(0x4ad)](0x10),_0xb43dcd=_0x216cbb(_0x56c424,0x10),_0x39255f=_0x41beb7['encrypt'](_0xbc6c15[_0x323b96(0x487)](_0xb43dcd),_0x136bf4[_0x323b96(0x487)](_0x5cbef4),{'iv':_0x21a752,'padding':_0x136663});return _0x21a752['concat'](_0x39255f[_0x323b96(0x35b)])[_0x323b96(0x3a6)](_0x136bf4);}function _0x52f6dd(){var _0x28fd47=_0x997d7;const _0x550878=_0x480ca8[_0x28fd47(0x548)]()['__Key__'];if(_0x550878){const _0x1cc67e={'time':Math[_0x28fd47(0x20f)](Date[_0x28fd47(0x554)]()/0x3e8),'domain':location[_0x28fd47(0x3e5)]};return _0x5d2891(JSON[_0x28fd47(0x22d)](_0x1cc67e),_0x550878);}}var _0x6fcaa8=Object[_0x997d7(0x539)],_0x1b12f2=(_0x94aea7,_0xdec25f,_0x29c159,_0x4c3894)=>{var _0x1497e2=_0x997d7;for(var _0x2fefc8=_0x4c3894>0x1?void 0x0:_0x4c3894?_0x6fcaa8(_0xdec25f,_0x29c159):_0xdec25f,_0x160bc3=_0x94aea7[_0x1497e2(0x307)]-0x1,_0x50e9fa;_0x160bc3>=0x0;_0x160bc3--)(_0x50e9fa=_0x94aea7[_0x160bc3])&&(_0x2fefc8=_0x50e9fa(_0x2fefc8)||_0x2fefc8);return _0x2fefc8;},_0x5ce86b=(_0xeb3c6a,_0x1a1547)=>(_0x579574,_0x340340)=>_0x1a1547(_0x579574,_0x340340,_0xeb3c6a);let _0x4417fe=class{constructor(_0x497343){var _0x1c0d8f=_0x997d7;this[_0x1c0d8f(0x3f4)]=_0x497343,this[_0x1c0d8f(0x544)]();}[_0x997d7(0x544)](){var _0x170aa2=_0x997d7;this[_0x170aa2(0x3f4)]['registerHTTPInterceptor']({'interceptor':(_0x1a433c,_0x1f1ec4)=>{var _0x239214=_0x170aa2;const _0x8ba26b=_0x1a433c[_0x239214(0x1f0)],_0x4e4300=_0x52f6dd();return _0x4e4300&&_0x8ba26b['set'](_0x239214(0x2d2),_0x4e4300),_0x1f1ec4(_0x1a433c);}});}};_0x4417fe=_0x1b12f2([_0x5ce86b(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService']))],_0x4417fe);var _0x3076f9=Object[_0x997d7(0x539)],_0x865346=(_0x16a038,_0x1fbc86,_0x156257,_0x43b1b7)=>{var _0x17f1a3=_0x997d7;for(var _0x4ce736=_0x43b1b7>0x1?void 0x0:_0x43b1b7?_0x3076f9(_0x1fbc86,_0x156257):_0x1fbc86,_0x4b29f5=_0x16a038[_0x17f1a3(0x307)]-0x1,_0x2353d2;_0x4b29f5>=0x0;_0x4b29f5--)(_0x2353d2=_0x16a038[_0x4b29f5])&&(_0x4ce736=_0x2353d2(_0x4ce736)||_0x4ce736);return _0x4ce736;},_0x4e8cc0=(_0xcb9d45,_0x1268ad)=>(_0x1e5f57,_0x73ebba)=>_0x1268ad(_0x1e5f57,_0x73ebba,_0xcb9d45);_0x36d18b[_0x997d7(0x52a)]=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x19d8ac,_0x43261e,_0x205c85){var _0x414366=_0x997d7;super(),_0x260f1e(this,_0x414366(0x433),new _0x32c204[(_0x414366(0x4be))](null)),_0x260f1e(this,_0x414366(0x29a),this['_unitInfo$'][_0x414366(0x313)]()),(this[_0x414366(0x221)]=_0x19d8ac,this['_snapshotService']=_0x43261e,this['_localCacheService']=_0x205c85);}async[_0x997d7(0x323)](_0x3018a4,_0x26b990,_0x3761b7){var _0xcff606=_0x997d7;this['_unitInfo$'][_0xcff606(0x476)]({'unitId':_0x3018a4,'type':_0x26b990});let _0x59b53c=null;switch(_0x26b990){case _0x60f00c[_0xcff606(0x4c5)]:{_0x59b53c=await this['_snapshotService'][_0xcff606(0x226)](_0x3018a4,_0x3761b7);break;}case _0x60f00c[_0xcff606(0x47c)]:{_0x59b53c=await this[_0xcff606(0x54d)][_0xcff606(0x551)](_0x3018a4,_0x3761b7);break;}default:{this[_0xcff606(0x221)][_0xcff606(0x4ee)]('[DataLoaderService]',_0xcff606(0x28a));break;}}return _0x59b53c;}async['loadUnit'](_0x2c07c0,_0x2e1705,_0x316293){var _0x51e9a7=_0x997d7,_0x1eda32;this[_0x51e9a7(0x433)]['next']({'unitId':_0x2c07c0,'type':_0x2e1705,'subUnitId':_0x316293});let _0x5884cd=0x0;const _0x4a25d9=await((_0x1eda32=this['_localCacheService'])==null?void 0x0:_0x1eda32[_0x51e9a7(0x4b3)](_0x2c07c0));return _0x4a25d9&&(_0x4a25d9[_0x51e9a7(0x4f2)]||_0x4a25d9[_0x51e9a7(0x2af)][_0x51e9a7(0x307)]!==0x0)&&(_0x5884cd=_0x4a25d9[_0x51e9a7(0x4dd)]),_0x5884cd===0x0&&this[_0x51e9a7(0x221)][_0x51e9a7(0x1ff)]('[DataLoaderService]',_0x51e9a7(0x1f9)),this[_0x51e9a7(0x323)](_0x2c07c0,_0x2e1705,_0x5884cd);}},_0x36d18b[_0x997d7(0x52a)]=_0x865346([_0x4e8cc0(0x0,_0x29a664[_0x997d7(0x492)]),_0x4e8cc0(0x1,_0x29a664['Inject'](_0x5a7fdc[_0x997d7(0x573)])),_0x4e8cc0(0x2,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x52a)]);var _0x5239d6=Object[_0x997d7(0x539)],_0x2b6ebb=(_0x512c0f,_0x50170e,_0x12ff89,_0x6c4fbb)=>{var _0x8c8b97=_0x997d7;for(var _0x187dce=_0x6c4fbb>0x1?void 0x0:_0x6c4fbb?_0x5239d6(_0x50170e,_0x12ff89):_0x50170e,_0x562f4d=_0x512c0f[_0x8c8b97(0x307)]-0x1,_0x2b66eb;_0x562f4d>=0x0;_0x562f4d--)(_0x2b66eb=_0x512c0f[_0x562f4d])&&(_0x187dce=_0x2b66eb(_0x187dce)||_0x187dce);return _0x187dce;},_0x3b6329=(_0x1f69ad,_0x5b17f8)=>(_0x4c6ae,_0x3825e6)=>_0x5b17f8(_0x4c6ae,_0x3825e6,_0x1f69ad);const _0x232409=[_0x997d7(0x354),_0x997d7(0x407),_0x997d7(0x2e8),_0x997d7(0x478),_0x997d7(0x304)],_0x2d2fbd=0x5*0x400*0x400,_0x3b867b=_0x997d7(0x386),_0x557d2e=_0x997d7(0x31c);_0x36d18b[_0x997d7(0x4a1)]=class{constructor(_0x593c28,_0x52760f,_0x2c032c){var _0x5663ee=_0x997d7;_0x260f1e(this,'_waitCount',0x0),_0x260f1e(this,_0x5663ee(0x365),new _0x32c204['Subject']()),_0x260f1e(this,_0x5663ee(0x561),this['_change$']),_0x260f1e(this,'_imageSourceCache',new Map()),(this[_0x5663ee(0x3f4)]=_0x593c28,this[_0x5663ee(0x261)]=_0x52760f,this[_0x5663ee(0x432)]=_0x2c032c);}[_0x997d7(0x267)](_0x5f2deb){var _0x1ca29e=_0x997d7;this[_0x1ca29e(0x2e6)]=_0x5f2deb,this[_0x1ca29e(0x365)][_0x1ca29e(0x476)](_0x5f2deb);}[_0x997d7(0x4c2)](_0x22ef5e,_0x1cab4e){var _0x53717e=_0x997d7;if(_0x1cab4e===_0x2b4a05[_0x53717e(0x244)]['BASE64']){const _0x1242c6=new Image();return _0x1242c6['src']=_0x22ef5e,_0x1242c6;}return this[_0x53717e(0x395)][_0x53717e(0x47e)](_0x22ef5e);}[_0x997d7(0x3db)](_0x1a8262,_0x58f9fb,_0x5d77d6){var _0x586d80=_0x997d7;_0x58f9fb===_0x2b4a05[_0x586d80(0x244)]['BASE64']||_0x5d77d6==null||this[_0x586d80(0x395)][_0x586d80(0x41e)](_0x1a8262,_0x5d77d6);}async['getImage'](_0x42ed88){var _0x18eb9d=_0x997d7;try{const _0x299906=this[_0x18eb9d(0x2e1)](this['_getSignURL'](),''+_0x42ed88),_0x279eda=(await this[_0x18eb9d(0x3f4)][_0x18eb9d(0x47e)](_0x299906))[_0x18eb9d(0x22b)];if(_0x279eda[_0x18eb9d(0x4ee)]&&_0x279eda[_0x18eb9d(0x4ee)]['code']===_0x4015c2['OK']){const _0x22a4ff=new URL(_0x279eda[_0x18eb9d(0x253)],this['_getDownloadEndpointURL']())[_0x18eb9d(0x3a6)]();return Promise[_0x18eb9d(0x39d)](_0x22a4ff);}return Promise['reject'](_0x279eda[_0x18eb9d(0x4ee)]);}catch(_0x3fedc6){return Promise[_0x18eb9d(0x3a0)](_0x3fedc6);}}async[_0x997d7(0x48c)](_0x593097){var _0x1b6762=_0x997d7;let _0x28078c='';if(!_0x232409[_0x1b6762(0x289)](_0x593097[_0x1b6762(0x3b0)]))return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x4b6)]));if(_0x593097[_0x1b6762(0x498)]>_0x2d2fbd)return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x1fb)]));try{const _0x19a610=new FormData();_0x19a610[_0x1b6762(0x52b)]('file',_0x593097);const _0xb9e2a7=this[_0x1b6762(0x432)]['getFocusedUnit'](),_0x298676=_0xb9e2a7==null?void 0x0:_0xb9e2a7[_0x1b6762(0x4ae)]();if(!_0x298676)throw new Error(_0x1b6762(0x496));const _0x750144=this['_getUploadFileURL']()+'?size='+_0x593097[_0x1b6762(0x498)][_0x1b6762(0x3a6)]()+_0x1b6762(0x4ef)+_0x241a4e[_0x1b6762(0x4f6)]+_0x1b6762(0x29e)+encodeURIComponent(_0x298676),_0x9c7357={'body':_0x19a610},_0x3764e8=(await this[_0x1b6762(0x3f4)][_0x1b6762(0x540)](_0x750144,_0x9c7357))[_0x1b6762(0x22b)];if(typeof _0x3764e8[_0x1b6762(0x3ac)]!=_0x1b6762(0x2f0))return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x526)]));_0x28078c=_0x3764e8[_0x1b6762(0x3ac)];}catch{return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x526)]));}return new Promise((_0x57809c,_0x2a323f)=>{var _0xe1cc34=_0x1b6762;const _0x182e8b=new FileReader();_0x182e8b[_0xe1cc34(0x2d0)](_0x593097),_0x182e8b[_0xe1cc34(0x2c1)]=_0xae2b3a=>{var _0x5bdee2=_0xe1cc34,_0x1d8751;const _0x5750fb=(_0x1d8751=_0xae2b3a['target'])==null?void 0x0:_0x1d8751[_0x5bdee2(0x3aa)];if(_0x5750fb==null){this['_decreaseWaiting'](),_0x2a323f(new Error(_0x2b4a05['ImageUploadStatusType'][_0x5bdee2(0x526)]));return;}const _0x14e590=_0x29a664[_0x5bdee2(0x4de)](0x6);_0x57809c({'imageId':_0x14e590,'imageSourceType':_0x2b4a05[_0x5bdee2(0x244)]['UUID'],'source':_0x28078c,'base64Cache':_0x5750fb,'status':_0x2b4a05[_0x5bdee2(0x245)][_0x5bdee2(0x343)]}),this[_0x5bdee2(0x34d)]();};});}[_0x997d7(0x30e)](){var _0x5cb628=_0x997d7,_0x58494e;const _0x609e9f=this[_0x5cb628(0x261)][_0x5cb628(0x368)](_0x3fa783);return(_0x58494e=_0x609e9f==null?void 0x0:_0x609e9f[_0x5cb628(0x28b)])!=null?_0x58494e:_0x3b867b;}[_0x997d7(0x4d3)](){var _0x5bd86f=_0x997d7,_0x2bb207;const _0x5058b9=this[_0x5bd86f(0x261)][_0x5bd86f(0x368)](_0x3fa783);return(_0x2bb207=_0x5058b9==null?void 0x0:_0x5058b9['signUrlServerUrl'])!=null?_0x2bb207:_0x557d2e;}[_0x997d7(0x3de)](){var _0x217155=_0x997d7,_0xa87f13;const _0x263331=this[_0x217155(0x261)][_0x217155(0x368)](_0x3fa783);return(_0xa87f13=_0x263331==null?void 0x0:_0x263331[_0x217155(0x499)])!=null?_0xa87f13:location['origin'];}[_0x997d7(0x2e1)](_0x251c8d,_0x34b3ff){var _0x250c87=_0x997d7;return _0x251c8d['replace'](_0x250c87(0x3b5),_0x34b3ff);}[_0x997d7(0x34d)](){var _0x3b3ad2=_0x997d7;this['_waitCount']-=0x1,this['_change$'][_0x3b3ad2(0x476)](this['_waitCount']);}},_0x36d18b['CollaborationImageIoService']=_0x2b6ebb([_0x3b6329(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)])),_0x3b6329(0x1,_0x29a664[_0x997d7(0x4fc)]),_0x3b6329(0x2,_0x29a664[_0x997d7(0x346)](_0x29a664['IUniverInstanceService']))],_0x36d18b['CollaborationImageIoService']);var _0x5dabf8=Object[_0x997d7(0x539)],_0x4f4b0a=(_0x3be0b8,_0x4002d0,_0x1454b9,_0x4bc916)=>{var _0x5caaed=_0x997d7;for(var _0x2bd6c4=_0x4bc916>0x1?void 0x0:_0x4bc916?_0x5dabf8(_0x4002d0,_0x1454b9):_0x4002d0,_0x1a0cb6=_0x3be0b8[_0x5caaed(0x307)]-0x1,_0x50c918;_0x1a0cb6>=0x0;_0x1a0cb6--)(_0x50c918=_0x3be0b8[_0x1a0cb6])&&(_0x2bd6c4=_0x50c918(_0x2bd6c4)||_0x2bd6c4);return _0x2bd6c4;},_0x3e776e=(_0x54f06c,_0x82f883)=>(_0x505002,_0x55fc8b)=>_0x82f883(_0x505002,_0x55fc8b,_0x54f06c);const _0x49b07d=_0x997d7(0x2ba);_0x36d18b[_0x997d7(0x2a3)]=class{constructor(_0x5ef63a,_0x179486){var _0x460ac1=_0x997d7;this[_0x460ac1(0x261)]=_0x5ef63a,this[_0x460ac1(0x210)]=_0x179486;}[_0x997d7(0x2a4)](){var _0x4fdc79=_0x997d7,_0x6c354f;const _0x1e06bb=this[_0x4fdc79(0x261)][_0x4fdc79(0x368)](_0x3fa783);return(_0x6c354f=_0x1e06bb==null?void 0x0:_0x1e06bb[_0x4fdc79(0x534)])!=null?_0x6c354f:_0x49b07d;}async[_0x997d7(0x3ad)](_0x18c51a){var _0x5dcdfe=_0x997d7;const _0x54a818=this['_getAPIPrefixPath']()+_0x5dcdfe(0x43a);return{'list':[{'title':_0x5dcdfe(0x2bb),'mentions':(await this[_0x5dcdfe(0x210)][_0x5dcdfe(0x47e)](_0x54a818,{'params':{'objectID':_0x18c51a['unitId'],'unitID':_0x18c51a['unitId']}}))['body'][_0x5dcdfe(0x270)][_0x5dcdfe(0x2b1)](_0x3cf220=>({'objectId':_0x3cf220['id'],'name':_0x3cf220['subject'][_0x5dcdfe(0x4d2)],'metadata':{'icon':_0x3cf220[_0x5dcdfe(0x532)][_0x5dcdfe(0x2c2)]},'label':_0x3cf220[_0x5dcdfe(0x532)]['name'],'objectType':_0x29a664[_0x5dcdfe(0x20b)][_0x5dcdfe(0x366)]})),'metadata':{},'type':_0x29a664[_0x5dcdfe(0x20b)][_0x5dcdfe(0x366)]}]};}},_0x36d18b[_0x997d7(0x2a3)]=_0x4f4b0a([_0x3e776e(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664['IConfigService'])),_0x3e776e(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)]))],_0x36d18b['MentionIoHttpService']);var _0x128420=Object[_0x997d7(0x539)],_0x4c7d1f=(_0xf7ef07,_0x2e2fa3,_0x52f56c,_0x4e6279)=>{var _0x1376ad=_0x997d7;for(var _0xbdc2db=_0x4e6279>0x1?void 0x0:_0x4e6279?_0x128420(_0x2e2fa3,_0x52f56c):_0x2e2fa3,_0x3ebb12=_0xf7ef07[_0x1376ad(0x307)]-0x1,_0x4bbc11;_0x3ebb12>=0x0;_0x3ebb12--)(_0x4bbc11=_0xf7ef07[_0x3ebb12])&&(_0xbdc2db=_0x4bbc11(_0xbdc2db)||_0xbdc2db);return _0xbdc2db;},_0x315ae4=(_0x3f73b6,_0x181b0c)=>(_0x32ca1c,_0x2b98af)=>_0x181b0c(_0x32ca1c,_0x2b98af,_0x3f73b6);let _0x1f7836=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x348e68,_0x248a58,_0x2f3785,_0x4d948f,_0x4a4ad7){var _0x5d87f4=_0x997d7;super(),this['_injector']=_0x348e68,this[_0x5d87f4(0x432)]=_0x248a58,this[_0x5d87f4(0x412)]=_0x2f3785,this[_0x5d87f4(0x50b)]=_0x4d948f,this[_0x5d87f4(0x47a)]=_0x4a4ad7,this[_0x5d87f4(0x439)](),this['_initCloseConn']();}[_0x997d7(0x340)](){var _0x777287=_0x997d7;const _0x18bd89=async _0x15c080=>{var _0x5de1a4=_0x4ecd;(await this[_0x5de1a4(0x50b)]['requireSession'](_0x15c080))[_0x5de1a4(0x25c)][_0x5de1a4(0x2ab)](_0x12f47e[_0x5de1a4(0x469)](_0x54b529=>_0x54b529[_0x5de1a4(0x328)]===_0x5a7fdc['CollaborationEvent'][_0x5de1a4(0x35e)]),_0x12f47e['takeUntil'](this[_0x5de1a4(0x2a0)]))[_0x5de1a4(0x3cc)](_0x686dca=>{var _0x2f03ff=_0x5de1a4;const _0x1d21e5=_0x686dca,{reason:_0xabe5e}=_0x1d21e5['data'];this[_0x2f03ff(0x47a)][_0x2f03ff(0x2d4)]({'id':_0xedfb31[_0x2f03ff(0x21a)],'data':_0xabe5e}),this[_0x2f03ff(0x412)][_0x2f03ff(0x56e)](new _0x1ce604['WorkbookEditablePermission'](_0x15c080)['id'],!0x1),this[_0x2f03ff(0x50b)][_0x2f03ff(0x223)](_0x15c080);});};_0x32c204[_0x777287(0x2e7)](this[_0x777287(0x432)]['getTypeOfUnitAdded$'](_0x29a664[_0x777287(0x319)][_0x777287(0x4c5)]),this[_0x777287(0x432)][_0x777287(0x51b)](_0x29a664[_0x777287(0x319)]['UNIVER_DOC']))[_0x777287(0x2ab)](_0x12f47e[_0x777287(0x2b1)](_0x3c0b22=>_0x3c0b22[_0x777287(0x4ae)]()),_0x12f47e['filter'](_0x10eaae=>!_0x29a664[_0x777287(0x320)](_0x10eaae)),_0x12f47e['takeUntil'](this[_0x777287(0x2a0)]))[_0x777287(0x3cc)](_0x149873=>{_0x18bd89(_0x149873);});}[_0x997d7(0x439)](){var _0x1818a8=_0x997d7;const _0x4fe6c0=async _0x25166b=>{var _0x47b345=_0x4ecd;const _0x4e38eb=await this[_0x47b345(0x50b)][_0x47b345(0x1fe)](_0x25166b),_0x713cf7=this[_0x47b345(0x30a)][_0x47b345(0x47e)](_0x1ce604[_0x47b345(0x28c)]);_0x4e38eb[_0x47b345(0x25c)][_0x47b345(0x2ab)](_0x12f47e[_0x47b345(0x469)](_0xeaf2ac=>_0xeaf2ac[_0x47b345(0x328)]===_0x5a7fdc[_0x47b345(0x315)]['UPDATE_PERMISSION_OBJ']),_0x12f47e[_0x47b345(0x45b)](this[_0x47b345(0x2a0)]))[_0x47b345(0x3cc)](_0x3bb800=>{var _0x2178dc=_0x47b345;const _0x13347d=_0x3bb800,{objectId:_0x4c7a9c}=_0x13347d[_0x2178dc(0x40b)];_0x4c7a9c===_0x25166b?_0x713cf7['initWorkbookPermissionChange'](_0x25166b):_0x713cf7[_0x2178dc(0x35c)](_0x25166b,_0x4c7a9c);});};_0x32c204['merge'](this[_0x1818a8(0x432)]['getTypeOfUnitAdded$'](_0x29a664[_0x1818a8(0x319)][_0x1818a8(0x4c5)]))[_0x1818a8(0x2ab)](_0x12f47e['map'](_0x3afab0=>_0x3afab0['getUnitId']()),_0x12f47e[_0x1818a8(0x469)](_0x21027a=>!_0x29a664['isInternalEditorID'](_0x21027a)),_0x12f47e['takeUntil'](this[_0x1818a8(0x2a0)]))['subscribe'](_0x2f079c=>{_0x4fe6c0(_0x2f079c);});}};_0x1f7836=_0x4c7d1f([_0x315ae4(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x315ae4(0x1,_0x29a664['IUniverInstanceService']),_0x315ae4(0x2,_0x29a664[_0x997d7(0x471)]),_0x315ae4(0x3,_0x29a664['Inject'](_0x36d18b['CollaborationSessionService'])),_0x315ae4(0x4,_0x29a664[_0x997d7(0x346)](_0x495958))],_0x1f7836);var _0x14fce0=Object['getOwnPropertyDescriptor'],_0x4b0786=(_0x5b2de8,_0x49de44,_0x373d3a,_0x390ee6)=>{var _0x4f3ca=_0x997d7;for(var _0x51cbcc=_0x390ee6>0x1?void 0x0:_0x390ee6?_0x14fce0(_0x49de44,_0x373d3a):_0x49de44,_0x2d4dd7=_0x5b2de8[_0x4f3ca(0x307)]-0x1,_0x1c6bc7;_0x2d4dd7>=0x0;_0x2d4dd7--)(_0x1c6bc7=_0x5b2de8[_0x2d4dd7])&&(_0x51cbcc=_0x1c6bc7(_0x51cbcc)||_0x51cbcc);return _0x51cbcc;},_0x5cea33=(_0x5b04e0,_0x5d5ed7)=>(_0x395dec,_0x485d84)=>_0x5d5ed7(_0x395dec,_0x485d84,_0x5b04e0);_0x36d18b[_0x997d7(0x255)]=class{constructor(_0xb76f40,_0x28b90c){this['_configService']=_0xb76f40,this['_httpService']=_0x28b90c;}async[_0x997d7(0x31e)](_0x1df3f3,_0x8554c5){var _0x4083c7=_0x997d7,_0x4c5b68;const {unitID:_0x4e5513,type:_0x6dd02e,revision:_0x2124b4=0x0}=_0x8554c5,_0x421d70=this[_0x4083c7(0x4b2)]()+'/'+_0x6dd02e+_0x4083c7(0x484)+_0x4e5513+'/rev/'+_0x2124b4,_0x157978=(await this[_0x4083c7(0x3f4)][_0x4083c7(0x47e)](_0x421d70))['body'],_0x4a7345=(_0x4c5b68=_0x157978['snapshot'])==null?void 0x0:_0x4c5b68[_0x4083c7(0x378)];if(_0x4a7345){const _0x5e7349=_0x4a7345==null?void 0x0:_0x4a7345[_0x4083c7(0x3df)],_0x40264b=_0x5a7fdc['textEncoder'][_0x4083c7(0x22c)](_0x5a7fdc[_0x4083c7(0x4c7)](_0x5e7349));_0x4a7345[_0x4083c7(0x3df)]=_0x40264b,Object[_0x4083c7(0x53a)](_0x4a7345[_0x4083c7(0x401)])['forEach'](([,_0x579009])=>{var _0x554205=_0x4083c7;const _0x2e5d47=_0x579009[_0x554205(0x3df)],_0x336702=_0x5a7fdc[_0x554205(0x21e)][_0x554205(0x22c)](_0x5a7fdc[_0x554205(0x4c7)](_0x2e5d47));_0x579009[_0x554205(0x3df)]=_0x336702;});}return _0x157978;}async[_0x997d7(0x3e2)](_0xcfed00,_0x47cdee){var _0x5e8bd6=_0x997d7;const {unitID:_0x3a1dc9,type:_0x17d93c,blockID:_0x26b5ba}=_0x47cdee,_0x5537e5=this['_getAPIPrefix']()+'/'+_0x17d93c+_0x5e8bd6(0x484)+_0x3a1dc9+'/block/'+_0x26b5ba;return(await this[_0x5e8bd6(0x3f4)]['get'](_0x5537e5))[_0x5e8bd6(0x22b)];}async[_0x997d7(0x404)](_0x108e14,_0x5cbb9f){var _0x1cb88a=_0x997d7;const {unitID:_0x2f716c,type:_0x2e2ba8,blockID:_0x41bcc6}=_0x5cbb9f,_0x4cb065=this[_0x1cb88a(0x467)]()+_0x1cb88a(0x356)+_0x2e2ba8+_0x1cb88a(0x484)+_0x2f716c+_0x1cb88a(0x356)+_0x41bcc6;return(await this[_0x1cb88a(0x3f4)]['get'](_0x4cb065))[_0x1cb88a(0x22b)];}async['fetchMissingChangesets'](_0x4ae3d5,_0x194e5b){var _0x4ef8d4=_0x997d7;const {unitID:_0xa9a3f,type:_0x19fae9,from:_0x32400a,to:_0x2669fd}=_0x194e5b,_0x58e80f=this[_0x4ef8d4(0x467)]()+'/'+_0x19fae9+_0x4ef8d4(0x484)+_0xa9a3f+_0x4ef8d4(0x3e8)+_0x32400a+_0x4ef8d4(0x3d2)+_0x2669fd;return(await this['_httpService'][_0x4ef8d4(0x47e)](_0x58e80f))[_0x4ef8d4(0x22b)];}[_0x997d7(0x4b2)](){var _0x418a43=_0x997d7,_0x399ba6;return(_0x399ba6=this[_0x418a43(0x261)][_0x418a43(0x368)](_0x4a7c93))!=null?_0x399ba6:this[_0x418a43(0x467)]();}[_0x997d7(0x467)](){var _0x7f9bd6=_0x997d7,_0x9f193b;const _0x421032=this[_0x7f9bd6(0x261)][_0x7f9bd6(0x368)](_0x3fa783);return(_0x9f193b=_0x421032==null?void 0x0:_0x421032[_0x7f9bd6(0x278)])!=null?_0x9f193b:_0xe80868;}async[_0x997d7(0x336)](_0x2e8c4f,_0x4b9d65){var _0x22425f=_0x997d7;const _0x2bd66d='/universer-api/snapshot/'+_0x4b9d65[_0x22425f(0x3b0)]+_0x22425f(0x484)+_0x4b9d65[_0x22425f(0x297)]+_0x22425f(0x33e);return(await this[_0x22425f(0x3f4)][_0x22425f(0x47e)](_0x2bd66d,{'params':{'resourceId':JSON['stringify'](_0x4b9d65[_0x22425f(0x4ec)])}}))[_0x22425f(0x22b)];}[_0x997d7(0x4f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x997d7(0x2a8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x997d7(0x1f3)](){var _0x2aa41c=_0x997d7;throw new Error(_0x2aa41c(0x217));}['saveChangeset'](){var _0xdf8902=_0x997d7;throw new Error(_0xdf8902(0x217));}[_0x997d7(0x2a5)](){var _0x11b49c=_0x997d7;throw new Error(_0x11b49c(0x217));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x36d18b[_0x997d7(0x255)]=_0x4b0786([_0x5cea33(0x0,_0x29a664[_0x997d7(0x4fc)]),_0x5cea33(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService']))],_0x36d18b[_0x997d7(0x255)]);var _0x2c46a9=Object[_0x997d7(0x539)],_0x4abf13=(_0x5b5ce8,_0x39c610,_0x15ca72,_0x12a528)=>{var _0x1cb2d0=_0x997d7;for(var _0x5ed1b4=_0x12a528>0x1?void 0x0:_0x12a528?_0x2c46a9(_0x39c610,_0x15ca72):_0x39c610,_0x34f154=_0x5b5ce8[_0x1cb2d0(0x307)]-0x1,_0x52733e;_0x34f154>=0x0;_0x34f154--)(_0x52733e=_0x5b5ce8[_0x34f154])&&(_0x5ed1b4=_0x52733e(_0x5ed1b4)||_0x5ed1b4);return _0x5ed1b4;},_0x111041=(_0x3d2709,_0x2c0e50)=>(_0x3059e5,_0x40ee7a)=>_0x2c0e50(_0x3059e5,_0x40ee7a,_0x3d2709);_0x36d18b[_0x997d7(0x2d6)]=class extends _0x29a664[_0x997d7(0x4d6)]{constructor(_0x33414a,_0x37a382,_0x5650ce,_0x5e6dac,_0x5a1fe7){var _0x156afd=_0x997d7;super(_0x33414a,_0x37a382,_0x5650ce),this['_transformService']=_0x5e6dac,this[_0x156afd(0x221)]=_0x5a1fe7;}['transformUndoRedo'](_0x24c46e,_0x706d9){var _0x4fdf9a=_0x997d7;const _0x5d2e80=this[_0x4fdf9a(0x364)](_0x24c46e);if(_0x5d2e80)try{const _0x53344c=this[_0x4fdf9a(0x3a1)](_0x5d2e80,_0x706d9);this[_0x4fdf9a(0x541)](_0x24c46e,_0x53344c);}catch(_0x2741d9){this[_0x4fdf9a(0x221)][_0x4fdf9a(0x4ee)](_0x4fdf9a(0x286),_0x2741d9),this[_0x4fdf9a(0x48d)](_0x24c46e);}const _0x4cd6ba=this[_0x4fdf9a(0x500)](_0x24c46e);if(_0x4cd6ba)try{const _0x3dd43c=this[_0x4fdf9a(0x3a1)](_0x4cd6ba,_0x706d9);this[_0x4fdf9a(0x2f6)](_0x24c46e,_0x3dd43c);}catch(_0x4ccc72){this['_logService'][_0x4fdf9a(0x4ee)](_0x4ccc72),this[_0x4fdf9a(0x46d)](_0x24c46e);}}['_clearUndo'](_0x52aa11){var _0x4b633b=_0x997d7;const _0x103faa=this[_0x4b633b(0x364)](_0x52aa11);_0x103faa&&(_0x103faa[_0x4b633b(0x307)]=0x0,this[_0x4b633b(0x250)]());}[_0x997d7(0x46d)](_0x3cf752){var _0x5b12ec=_0x997d7;const _0x4d7473=this[_0x5b12ec(0x500)](_0x3cf752);_0x4d7473&&(_0x4d7473['length']=0x0,this[_0x5b12ec(0x250)]());}[_0x997d7(0x541)](_0x32f1aa,_0xb19a36){var _0x2283a8=_0x997d7;this[_0x2283a8(0x56d)][_0x2283a8(0x41e)](_0x32f1aa,_0xb19a36),this['_updateStatus']();}[_0x997d7(0x2f6)](_0x42bccd,_0x66923a){var _0x49d64e=_0x997d7;this[_0x49d64e(0x435)]['set'](_0x42bccd,_0x66923a),this['_updateStatus']();}[_0x997d7(0x3a1)](_0x2a1aab,_0x1ba684){var _0x41c7ac=_0x997d7;const _0x2b283e=[];let _0x306f48=_0x1ba684,_0x2d4243=_0x1ba684;for(let _0x5d2534=_0x2a1aab[_0x41c7ac(0x307)]-0x1;_0x5d2534>=0x0;_0x5d2534--){const {unitID:_0x4daf44,undoMutations:_0x2e130d,redoMutations:_0x25698d}=_0x2a1aab[_0x5d2534],_0x51fda2=this[_0x41c7ac(0x536)][_0x41c7ac(0x576)](_0x306f48,_0x2e130d),_0xfce4ca=this[_0x41c7ac(0x536)][_0x41c7ac(0x576)](_0x2d4243,_0x25698d);if(_0x5a7fdc[_0x41c7ac(0x1f5)](_0x51fda2)||_0x5a7fdc[_0x41c7ac(0x1f5)](_0xfce4ca)){this[_0x41c7ac(0x221)][_0x41c7ac(0x4ee)]('[CollaborationUndoRedoService]',_0x41c7ac(0x2ae),_0x51fda2,_0xfce4ca);break;}_0x306f48=_0x51fda2['c1Prime'],_0x2d4243=_0xfce4ca[_0x41c7ac(0x1ec)],_0x2b283e['push']({'unitID':_0x4daf44,'undoMutations':_0x51fda2[_0x41c7ac(0x2d3)],'redoMutations':_0xfce4ca[_0x41c7ac(0x2d3)]});}return _0x2b283e[_0x41c7ac(0x578)]();}},_0x36d18b[_0x997d7(0x2d6)]=_0x4abf13([_0x111041(0x0,_0x29a664['IUniverInstanceService']),_0x111041(0x1,_0x29a664[_0x997d7(0x37f)]),_0x111041(0x2,_0x29a664[_0x997d7(0x399)]),_0x111041(0x3,_0x5a7fdc[_0x997d7(0x4a5)]),_0x111041(0x4,_0x29a664['ILogService'])],_0x36d18b['CollaborativeUndoRedoService']);var _0x445173=Object['defineProperty'],_0x23fd22=Object[_0x997d7(0x539)],_0x1e0309=(_0x47a1d1,_0x58374c,_0x54dd7f)=>_0x58374c in _0x47a1d1?_0x445173(_0x47a1d1,_0x58374c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54dd7f}):_0x47a1d1[_0x58374c]=_0x54dd7f,_0x4e8bc1=(_0x29587f,_0xee8218,_0x218397,_0x15e11b)=>{var _0x54057d=_0x997d7;for(var _0x5c407b=_0x15e11b>0x1?void 0x0:_0x15e11b?_0x23fd22(_0xee8218,_0x218397):_0xee8218,_0x221459=_0x29587f[_0x54057d(0x307)]-0x1,_0x53021d;_0x221459>=0x0;_0x221459--)(_0x53021d=_0x29587f[_0x221459])&&(_0x5c407b=_0x53021d(_0x5c407b)||_0x5c407b);return _0x5c407b;},_0x1a6df7=(_0x18e6aa,_0x4864a2)=>(_0x87d986,_0x158fe4)=>_0x4864a2(_0x87d986,_0x158fe4,_0x18e6aa),_0x3cdfa2=(_0x5cafc2,_0x1d837e,_0x17c352)=>_0x1e0309(_0x5cafc2,_0x1d837e+'',_0x17c352);const _0x3b0cc0=_0x997d7(0x3d1);_0x36d18b[_0x997d7(0x4ac)]=class extends _0x29a664[_0x997d7(0x1f2)]{constructor(_0x5435e9,_0x515220,_0x99297c,_0x52fd3d){var _0x10b9df=_0x997d7;super(),_0x260f1e(this,_0x10b9df(0x47d)),(this[_0x10b9df(0x221)]=_0x515220,this['_injector']=_0x99297c,this[_0x10b9df(0x261)]=_0x52fd3d);const {..._0x3027f6}=_0x29a664[_0x10b9df(0x2e7)]({},_0x1ee5fd,_0x5435e9);if(!_0x3027f6[_0x10b9df(0x38a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x10b9df(0x47d)]=_0x3027f6,this[_0x10b9df(0x261)]['setConfig'](_0x3fa783,_0x3027f6);}[_0x997d7(0x4b4)](){var _0x236ac8=_0x997d7;this[_0x236ac8(0x39a)](),this['_initDependencies']();}['_registerDependencies'](){var _0x515402=_0x997d7,_0x2b5138,_0x47c563;this[_0x515402(0x30a)][_0x515402(0x572)](_0x29a664[_0x515402(0x232)])&&this[_0x515402(0x221)]['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4466dc=_0x29a664[_0x515402(0x3c7)]([[_0x29a664['IUndoRedoService'],{'useClass':_0x36d18b[_0x515402(0x2d6)]}],[_0x36d18b[_0x515402(0x446)]],[_0x36d18b[_0x515402(0x409)]],[_0x36d18b['SheetTransformSelectionsService']],[_0x57ab38],[_0x4417fe],[_0x3e15b7],[_0x1f7836],[_0x495958],[_0x36d18b[_0x515402(0x52a)]],[_0x5b4d23,{'useClass':this[_0x515402(0x47d)][_0x515402(0x38a)]}],[_0x5a7fdc[_0x515402(0x42f)],{'useClass':_0x36d18b[_0x515402(0x255)]}],[_0x29a664[_0x515402(0x398)],{'useClass':_0x36d18b[_0x515402(0x3dc)]}],[_0x2b4a05['IImageIoService'],{'useClass':_0x36d18b[_0x515402(0x4a1)]}],[_0x29a664['IMentionIOService'],{'useClass':_0x36d18b[_0x515402(0x2a3)]}],[_0x36d18b['CollaborationController']],[_0x4788c3]],(_0x2b5138=this[_0x515402(0x47d)])==null?void 0x0:_0x2b5138['override']);if(!((_0x47c563=this[_0x515402(0x47d)])!=null&&_0x47c563[_0x515402(0x37c)])){const _0x2b2328=_0x4466dc['findIndex'](([_0x12744d])=>_0x12744d===_0x4f3087);_0x2b2328!==-0x1&&_0x4466dc[_0x515402(0x425)](_0x2b2328,0x1);}_0x29a664[_0x515402(0x29d)](this['_injector'],_0x4466dc);}[_0x997d7(0x2d9)](){var _0x31bc31=_0x997d7,_0x11af39,_0x14c5f4,_0x56dcb2;this['_injector']['get'](_0x200e90[_0x31bc31(0x218)])[_0x31bc31(0x3d5)]({'priority':0x14,'interceptor':_0x200e90['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x11af39=this[_0x31bc31(0x47d)])!=null&&_0x11af39[_0x31bc31(0x512)]||(_0x14c5f4=this['_injector'][_0x31bc31(0x47e)](_0x3e2be6,_0x29a664[_0x31bc31(0x558)]['OPTIONAL']))==null||_0x14c5f4[_0x31bc31(0x268)](),(_0x56dcb2=this[_0x31bc31(0x47d)])!=null&&_0x56dcb2[_0x31bc31(0x545)]&&_0x29a664[_0x31bc31(0x361)](this['_injector'],[[_0x57ab38]]),_0x29a664[_0x31bc31(0x361)](this[_0x31bc31(0x30a)],[[_0x4417fe],[_0x36d18b[_0x31bc31(0x322)]],[_0x1f7836]]);}},_0x3cdfa2(_0x36d18b[_0x997d7(0x4ac)],'pluginName',_0x3b0cc0),_0x36d18b['UniverCollaborationClientPlugin']=_0x4e8bc1([_0x29a664[_0x997d7(0x553)](_0x5a7fdc[_0x997d7(0x3d0)],_0x200e90['UniverNetworkPlugin']),_0x1a6df7(0x1,_0x29a664['ILogService']),_0x1a6df7(0x2,_0x29a664['Inject'](_0x29a664['Injector'])),_0x1a6df7(0x3,_0x29a664['IConfigService'])],_0x36d18b[_0x997d7(0x4ac)]),_0x36d18b[_0x997d7(0x45e)]=_0x3fa783,_0x36d18b['CollaborationStatus']=_0x54c82e,_0x36d18b[_0x997d7(0x21f)]=_0xedfb31,_0x36d18b['CollaborationUIEventService']=_0x495958,_0x36d18b['CommentService']=_0x3e15b7,_0x36d18b['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x53efe6,_0x36d18b[_0x997d7(0x491)]=_0x77defc,_0x36d18b[_0x997d7(0x1fc)]=_0x4aaab9,_0x36d18b['HEARTBEAT_INTERVAL_KEY']=_0x2b6987,_0x36d18b[_0x997d7(0x4a2)]=_0x315b2c,_0x36d18b['ICollaborationSocketService']=_0x5b4d23,_0x36d18b[_0x997d7(0x495)]=_0x3e2be6,_0x36d18b[_0x997d7(0x3ee)]=_0x3b1d7a,_0x36d18b[_0x997d7(0x37d)]=_0x4f3087,_0x36d18b[_0x997d7(0x3a8)]=0x3e8,_0x36d18b[_0x997d7(0x3bd)]=_0xc708f2,_0x36d18b['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x48a22d,_0x36d18b[_0x997d7(0x434)]=_0x547549,_0x36d18b[_0x997d7(0x293)]=_0xbd299,_0x36d18b[_0x997d7(0x569)]=_0x4ff042,_0x36d18b[_0x997d7(0x55d)]=_0x5a583b,_0x36d18b['getLocalCacheKey']=_0x82f518,_0x36d18b['serializeCombRequest']=_0x4151ad,Object[_0x997d7(0x1ed)](_0x36d18b,Symbol['toStringTag'],{'value':_0x997d7(0x1f7)});}));function _0x4ecd(_0x54fdcb,_0x5bddf6){var _0x167719=_0x1677();return _0x4ecd=function(_0x4ecd6b,_0x499990){_0x4ecd6b=_0x4ecd6b-0x1e9;var _0x16a1c2=_0x167719[_0x4ecd6b];return _0x16a1c2;},_0x4ecd(_0x54fdcb,_0x5bddf6);}function _0x1677(){var _0x182f6e=['_onJoinRoomEvent','collabWebSocketUrl','LocalUndoRedoService','TOO_MANY_REQUESTS','LIVESHARE_OPERATION','/-/object/-/batch_allowed','_revisionService','onRemoteRetry','_onFetchMissResult','rev','generateRandomId','@univerjs-pro/license','_unitID','concat','clone','UNIVER_SLIDE','getCurrentRevOfUnit','WorkbookEditablePermission','UnitSnapshot','_createInitialStateImpl','onRemoteAck','createDecryptor','send','univer-pro.collaboration-client.network-condition.service','resourceIDs','ENTITLE_INSUFFICIENT_QUOTA','error','&source=','_createInitialState','saveSnapshot','awaitingChangeset','FETCH_MISSING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_toggleOffline','UnitEmbedded','_sessions','UPDATE_CURSOR','close','/new_changes','PAYMENT_CHANNEL_NOT_SUPPORT','IConfigService','deleteCollaborator','_doReset','UNIVER_PROJECT','_getRedoStack','CBC','REDEMPTION_USER_REDEEM_TIMES_EXCEED','LocaleService','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','_clearScheduledTask','/object','delay','_collaborationSessionService','LEAVE','_clearTimeoutTimer','method','padding','_commentService','failed\x20to\x20apply\x20missed\x20changesets!','enableOfflineEditing','COMPRESS_MUTATION_APPLY','repeat','RichTextEditingMutation','reduce','_executeRemoteChangeset','selections','newCsEvent','_append','getTypeOfUnitAdded$','INVALID_ARGUMENT','PERMISSION_REJ','mapDocumentTypeToUniverType','leaveEvent','_throwTelemetryCollaborationNewChangeset','error$','DocCollaborationEntity','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getTypeOfUnitDisposed$','ERROR_IMAGE','_acknowledgedAwaitingChangeset','fetchMiss','_tryReconnect','DataLoaderService','append','ISocketService','APPLY_REVISION_CONFILICT','listRoles','_transformUndoredo','YUUMI_CONNECTOR_URL_NOT_FOUND','Encryptor','subject','addHandlerCallback','authzUrl','_scheduleCompleteTimestamp','_transformService','_entities','kdf','getOwnPropertyDescriptor','entries','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','location','rxjs','CHANGESET_REVISION_CONFILICT','getValue','post','_substituteUndoStack','_onConnectionOpen','updateOfflineData','_initRequestHeader','enableAuthServer','setCurrentUser','_mode','getGlobalObject','REDEMPTION_CODE_FULLY_REDEEMED','offline','JOIN_ROOM_PERMISSION_DENIED','_onRemoteRejected','_snapshotService','_replayCachedMutations','decryptBlock','update','loadDoc','_undoRedoService','DependentOn','now','_tryEnsureSocket','HELLO','ALREADY_EXISTS','Quantity','APPLY_DUPLICATED','INGEST','onlyLocal','REDEMPTION_CODE_HAS_BEEN_CREATED','deserializeToCombResponse','createInstance','confirm','appendMutation','change$','CollaborationSocketService','_clearCollaborationTimeoutTimer','pending','updateCollaborator','cfg','CommandType','SyncedState','UnitStatus','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_transformRemoteChangesetByStateCache','sequenceExecute','_undoStacks','updatePermissionPoint','randomBytes','_onRecvEvent','_telemetryService','has','SnapshotService','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_REPORT_LIMIT_EXCEED','transformMutationsWithChangeset','pad','reverse','CURRENT_STATUS_CANNOT_OPERATE','Base64','ENTITLE_NEED_BILLING_ADDRESS','encrypt','c1Prime','defineProperty','LICENSE_DISTRO_REJECTED','_compressMutationService','headers','1861keSRYi','Plugin','saveSheetBlock','5982810TQEJLS','isTransformMutationsWithChangesetFailure','objectID','Module','USER_NOT_FOUND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNDEFINED','ERROR_EXCEED_SIZE','DEFAULT_WS_SESSION_TICKET_URL','_parse','requireSession','debug','params','6440697RWivbj','extend','hasOwnProperty','enableCollaboration','equals','dispose','_retryCount','IUniverInstanceService','SerializableCipher','@univerjs/sheets','MentionType','mode','_sendHeartbeat','onCommentUpdate','floor','_HTTPService','textRanges','ceil','getFocusedUnit','reset','keySize','APPLY_NON_SEQUENTIAL_REVISION','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HTTPService','c2Prime','CLOSE_ROOM','_syncEditingCollabCursor','JOIN_ROOM_NOT_EXISTS','_invKeySchedule','textEncoder','CollaborationUIEventId','_resendTimer','_logService','_oKey','closeSession','_state$','UNKNOWN_CMD','loadSheet','LICENSE_IMPORT_SIZE_EXCEEDED','session.join-failed','UNIVER_UNKNOWN','HmacSHA1','body','encode','stringify','/universer-api/oidc/authpage','USER_NOT_INVITED_CODE','HEARTBEAT','9126fJesir','IUndoRedoService','_key','Univer','cmd','prototype','onLocalMutation','[OfflineState]:\x20received\x20acknowledgement.','_collaborationPaused','_schedule','ENTITLE_CHAT_LIMIT_EXCEED','LIVESHARE_REQUEST_HOST','call','AWAITING_WITH_PENDING','Workbook','USER_IS_ANONYMOUS','_doCreateSocket','createCollaborator','CHANGESET_ACK','ImageSourceType','ImageUploadStatusType','ws://127.0.0.1:8000/universer-api/comb/connect','NOT_FOUND','APPLY_REJECT','JOINING','auth.needGotoLoginAlert','@univerjs-pro/collaboration','_ENC_XFORM_MODE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LOGIN_TOKEN_PROCESSING_FAILED','mixIn','_updateStatus','Hex','HEARTBEAT_TIMEOUT','url','fetch_missing','SnapshotServerOverHTTPService','_remoteChangesetQueue','NEW_CHANGESETS','UniverCore','routeKey','YUUMI_RATE_OVER_LIMIT','JOIN_ROOM_FAILED','event$','@univerjs/docs','transformChangesets','_sender','isTransformMutationsWithChangesetSuccess','_configService','entityInit$','EMAIL_HAS_BEEN_BOUND','uniscriptRunEvent','PendingState','fromCollab','setWaitCount','disableLocalCache','_changesetSessionId','setShowComponents','[SyncedState]:\x20received\x20rejection.','SetSelectionsOperation','parseChangesetToProtocol','UniverSheets','charCodeAt','collaborators','toggleOffline','_telemetryInfo','concatMap','focused$','_init','_submitChangeset','BufferedBlockAlgorithm','snapshotServerUrl','encodeURIComponent','joinEvent','MergeInterceptorFactory','[CollaborationSessionService]:\x20socket\x20error','getActiveSheet','INVITE_CODE_REQUIRED','_checkMissing','ITelemetryService','Malformed\x20UTF-8\x20data','LICENSE_MAX_UNITS_EXCEEDED','_networkConditionService','HmacMD5','Disposable','[CollaborationUndoRedoService]','max','subUnitId','includes','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','uploadFileServerUrl','SheetPermissionInitController','session','onSyncEditingCollabCursor','REDEMPTION_CODE_NOT_STARTED','OfflineState','univer-pro.collaboration-client.single-active-unit-service','_clearLocalCache','SessionStatus','editingUnit','revision','UniverProCollaboration','unitID','memberID','getTime','unitInfo$','Optional','function','registerDependencies','&assign=','\x20to\x20','dispose$','78896qWqVbv','COMMENT_UPDATE','MentionIoHttpService','_getAPIPrefixPath','copyFileMeta','SNAPSHOT_URL_KEY','close$','updateSnapshot','onTransformSelections','_socket$','pipe','CHANGESET_REJ','PERMISSION_DENIED','transformStack\x20failed!','mutations','byteLength','map','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateLocalCache','NoPadding','MUTATION','LOGIN_FAILED','[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.','_applyRemoteChangeset','/universer-api/snapshot','/universer-api/authz','People','INTERNAL_ERROR','forEach','Cipher','JSONX','_onConflict','onload','avatar','every','buffer','isArray','Injector','actions','PSEUDO_FETCH_MISSING_RESULT','_onRemoteChangeset','_onConnectionFailed','_removeRoom','awaiting_with_pending','_emitMembers','_localCacheService','_keyPriorReset','readAsDataURL','getInterceptPoints','x-univer-host','m2Prime','emitEvent','symbol','CollaborativeUndoRedoService','getRandomValues','OpenSSL','_initDependencies','uuidv4','_iKey','_commandService','_resendTimeout','_createHelper','_process','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_replaceFileID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','startsWith','_getLoginPath','_eventService','_waitCount','merge','image/jpg','baseRev','LICENSE_EXPORT_SIZE_EXCEEDED','sid','GLOBAL_ROOMS_CNT_EXCEEDS','_onLocalMutation','href','clear','string','getMemberID','enc','take','_prevBlock','unsubscribe','_substituteRedoStack','msCrypto','_pendingMutations','_handlerCallback','iterations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearRetryConnectingTimer','substr','CompressMutationService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','range','collabSubmitChangesetUrl','_resendWithTimeout','_memberService','image/bmp','_initMergeInterceptor','put','length','APPLY_PERMISSION_DENIED','[OfflineState]:\x20received\x20changeset.','_injector','_onCombEvent','csRejEvent','words','_getUploadFileURL','217WqTWUb','FetchingMissState','/-/object/list','_members','asObservable','onSendChangeset','CollaborationEvent','execute','toggleOnline','fromCharCode','UniverInstanceType','state','disposeWithMe','/universer-api/file/{fileID}/sign-url','_type','getUnitOnRev','ERROR_AGAIN','isInternalEditorID','COMPRESS_MUTATION_SEND','CollaborationController','loadUnitOfRevision','title','_status$','getCollabEntity$','catch','eventID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN','PY_RUNTIME_SCRIPT_ERROR','WECHAT_HAS_BEEN_BOUND','_snapshotServerService','INVALID_INVITE_CODE','_listenToNetworkCondition','RxDisposable','_toggleOnline','_roomMembers','_sheetTransformSelectionsService','_onRemoteACK','_exhaustRemoteChangesetQueue','getResourcesRequest','_socketReady','_shouldReportTelemetry','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collaboratorID','[OfflineState]:\x20received\x20rejection.','IDLE','online$','/resources','readyForCollab','_initCloseConn','removeMember','_state','SUCCUSS','[CollaborationSessionService]','_DEC_XFORM_MODE','Inject','?url=','commentUpdateEvent','capture','/allowed','join','_reverseMap','_decreaseWaiting','_scheduleCollaborationTimeoutTimer','_transformSelections','_members$','status$','_getCurrentRevision','UserManagerService','image/png','_doProcessBlock','/block/','\x20in\x20_schedule.','session.room-cnt-exceeds','[CollaborationEntity]','onRemoteRej','ciphertext','refreshPermission','_entityInit$','SHOULD_CLOSE_CONN','amd','clamp','touchDependencies','/universer-api/uniscript','MD5','_getUndoStack','_change$','PERSON','then','getConfig','init','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','waitForRoom$','INVITE_CODE_HAS_BEEN_UES','376IYIXPO','_changesetReqId','objectActions','status','getUnitType','PasswordBasedCipher','REDEMPTION_CODE_INACTIVE','unknown','delete','_cipher','YUUMI_URL_COL_OUT_OF_RANGE','workbook','getWorkbookSelections','connection\x20error','open$','enableSingleActiveInstanceLock','ISingleActiveUnitService','AwaitingState','ICommandService','_startTelemetryCollaborationNewChangeset','_isPermissionRej','pauseCollaboration','getSheetId','Error\x20on\x20receiving\x20event','Undefined','/universer-api/stream/file/upload','Decryptor','add','_localeService','socketService','requestParams','_hash','_handler','createIdentifier','_timeoutTimer','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','[SyncedState]:\x20received\x20acknowledgement.','_iv','object','_imageSourceCache','csShouldRetryEvent','_unlockTransition','IAuthzIoService','IContextService','_registerDependencies','onCommandExecuted','synced','resolve','createEncryptor','[CollaborationState]:\x20apply\x20error!','reject','_transformStack','_stopTelemetryCollaborationNewChangeset','_sendHeartbeatTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onTransformState','toString','CHANGESET_SHOULD_RETRY','LOCAL_CACHE_INTERVAL','min','result','UNRECOGNIZED','FileId','list','save\x20fail\x20reason\x20is\x20','UNAUTHENTICATED','type','firstValueFrom','univer-pro.collaboration-client-socket-service','__creator','LIVESHARE_FETCH_OPERATIONS','{fileID}','Utf8','SOCKET_FAILED_RETRY','_nDataBytes','onTransformIME','parseProtocolChangeset','BlockCipher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_event$','_createHmacHelper','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','listCollaborators','_doFinalize','slice','ivSize','sendChangesetTimeout','mergeOverrideWithDependencies','UniverProCollaborationClient','REDEMPTION_USER_NOT_ELIGIBLE','_retryConnectingTimer','fetchMissingChangesets','subscribe','_nRounds','CONFLICT','_createHandler','UniverCollaborationPlugin','UNIVER_COLLABORATION_CLIENT_PLUGIN','&to=','isTransformChangesetsSuccess','HTTPRequest','registerHTTPInterceptor','_socketMessageSubscription','_onUserJoin','commentUpdate$','state$','_queuedRemoteChangesets','addImageSourceCache','AuthzIoHttpService','operators','_getDownloadEndpointURL','originalMeta','_singleActiveUnitService','isPermissionRej','getSheetBlock','10xkDFgN','message$','hostname','RECV','create','/fetchmissing?from=','code','UniverDrawing','_onOffline','_transitionLocked','collaboration-client.local-cache-service','INetworkConditionService','/universer-api/user/session-ticket','batchAllowed','_getSendChangesetTimeout','_collaborationTimeoutTimer','SUBMIT_CHANGESET_TIMEOUT','_httpService','indexOf','push','OTHER_CLIENTS_EDITING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','crypto','_doCryptBlock','OFFLINE','YUUMI_NO_CUBOID_FOR_QUESTION','lib','1429460HFQTHQ','sheets','YUUMI_ASYNCIO_CANCELLED','onMissedChangesetFetched','getDeserializedSheetBlock','telemetry\x20info\x20is\x20not\x20initialized','_sendingTimer','image/jpeg','withCredentials','MemberService','awaiting','data','compute','onTransformRemoteChangesetByIMECache','responseType','sessionStatus$','from','_xformMode','_permissionService','Base','changesets','SheetTransformSelectionsService','HttpImport','INVITE_CODE_ALREADY_BOUND','\x0aCurrent:\x20','_collabSessionService','_keySchedule','SheetsSelectionsService','Subject','loginUrlKey','set','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUser','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRoom','SNAPSHOT_INVALID_SNAPSHOT','RevisionService','splice','[PendingState]:\x20received\x20rejection.','liveShareNewHost','not_collab','ENSURE_SNAPSHOT_EXECUTION','complete','ONLINE','onRemoteChangeset','session.room-not-exists','key','ISnapshotServerService','CollaborationEntity','_roomCreated$','_univerInstanceService','_unitInfo$','RETRY_CONNECTING_MAX_COUNT_KEY','_redoStacks','getMember','EMAIL_VERIFY_CODE_MISMATCH','socket\x20open.','_initUnitPermissionChange','/collaborator','_showConflictNotification','onMissingChangesets','SHA1','MOBILE_VERIFY_CODE_MISMATCH','EvpKDF','transformSelections','unitId','_sessionStatus$','[CollaborationSession]','decrypt','ConflictState','CollaborationSessionService','UniverDocs','27751691fClwcG','/universer-api/comb','_startCollaboration','_commentUpdate$','_instanceService','YUUMI_UNABLE_LOAD_URL','NO_OTHER_CLIENTS_EDITING','joinRsp','localCacheService','reqId','_updateState','values','SheetCollaborationEntity','find','localeService','roomInfos','getUnit','executeCommand','@univerjs/drawing','takeUntil','\x0aAfter:\x20','updatePermissionObjEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','hasher','default','_map','liveShareOperation','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','retryConnectingInterval','HMAC','WordArray','_getAPIPrefix','fetchThroughInterceptors','filter','UniverProLicense','_waitForHeartbeatResponse','Hasher','_clearRedo','objectType','objects','_minBufferSize','IPermissionService','UserProfileImg','infoRsp','processBlock','[PendingState]:\x20received\x20acknowledgement.','next','OTHER_CLIENT_EDITING','image/gif','createSocket','_collaborationUIEventService','USERS_LEAVE','UNIVER_DOC','_config','get','_incrementRevisionNumber','_awaitingChangeset','_lockTransition','resend','UNISCRIPT_RUN','/unit/','_createSocket','updateMember','parse','blockSize','SOCKET_FAILED','DATA_SOURCE_TOO_LARGE','ENTITLE_DUP_SUBSCRIPTION','saveImage','_clearUndo','SUBMIT_CHANGESET','/object/','CONNECTOR_DATA_TOO_LARGE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ILogService','apply','fetching\x20missing\x20changesets\x20from\x20','ILocalCacheService','unitId\x20is\x20not\x20found','JOIN_ROOM_FULL','size','downloadEndpointUrl','encryptBlock','SNAPSHOT_HAS_BEEN_REMOVED','algo','onTransformRemoteChangesetByStateCache','_socket','_rescheduleHeartbeat','conflict','CollaborationImageIoService','HEARTBEAT_TIMEOUT_KEY','finalize','$super','ITransformService','Failed\x20to\x20update\x20permission\x20point','DisposableCollection','reconnect','charAt','StreamCipher','format','UniverCollaborationClientPlugin','random','getUnitId','AES','salt','Could\x20not\x20dynamically\x20require\x20\x22','getSnapshotAPIPath','loadOfflineData','onStarting','toDisposable','ERROR_IMAGE_TYPE','_hasher','USERS_ENTER','interceptor','AwaitingWithPendingState','permissionRejEvent','PENDING','AUTHORIZE_CODE_ILLEGAL','BehaviorSubject','onStateChange','ClipsheetFragments','UPDATE_PERMISSION_OBJ','getImageSourceCache','sigBytes','transformUndoRedo','UNIVER_SHEET','_userManagerService','b64DecodeUnicode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','340xzbsJq','_clearHeartbeatTimer','_data','_candidateSocket','userID','stopTime','UNKNOWN_CODE','collaMsg','CollaborationSession','name','_getSignURL'];_0x1677=function(){return _0x182f6e;};return _0x1677();}
2
+ function _0x1ac4(_0x5e6077,_0x189ef8){var _0x7d271f=_0x7d27();return _0x1ac4=function(_0x1ac4e4,_0x4d3c65){_0x1ac4e4=_0x1ac4e4-0x70;var _0x14be6c=_0x7d271f[_0x1ac4e4];return _0x14be6c;},_0x1ac4(_0x5e6077,_0x189ef8);}(function(_0x26f66b,_0x4f590b){var _0x45d7f6=_0x1ac4,_0x559093=_0x26f66b();while(!![]){try{var _0x412d58=-parseInt(_0x45d7f6(0x114))/0x1*(-parseInt(_0x45d7f6(0x8c))/0x2)+-parseInt(_0x45d7f6(0x22c))/0x3+parseInt(_0x45d7f6(0xa0))/0x4*(parseInt(_0x45d7f6(0x38a))/0x5)+-parseInt(_0x45d7f6(0x185))/0x6+parseInt(_0x45d7f6(0x343))/0x7+-parseInt(_0x45d7f6(0x26a))/0x8+-parseInt(_0x45d7f6(0x93))/0x9;if(_0x412d58===_0x4f590b)break;else _0x559093['push'](_0x559093['shift']());}catch(_0x1c662b){_0x559093['push'](_0x559093['shift']());}}}(_0x7d27,0x97635),function(_0x389121,_0x413d57){var _0x569b5f=_0x1ac4;typeof exports==_0x569b5f(0xf1)&&typeof module<'u'?_0x413d57(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x569b5f(0x96)&&define[_0x569b5f(0x2ae)]?define([_0x569b5f(0x17e),_0x569b5f(0x14a),_0x569b5f(0x129),_0x569b5f(0x20d),_0x569b5f(0x30c),_0x569b5f(0x2ba),_0x569b5f(0x3c4),_0x569b5f(0x366),'@univerjs/network',_0x569b5f(0x2eb),'@univerjs-pro/license'],_0x413d57):(_0x389121=typeof globalThis<'u'?globalThis:_0x389121||self,_0x413d57(_0x389121[_0x569b5f(0xfa)]={},_0x389121[_0x569b5f(0x86)],_0x389121[_0x569b5f(0x1ea)],_0x389121[_0x569b5f(0x14f)],_0x389121[_0x569b5f(0x1a6)],_0x389121[_0x569b5f(0x2ba)],_0x389121[_0x569b5f(0x247)],_0x389121[_0x569b5f(0x2ba)][_0x569b5f(0x383)],_0x389121['UniverNetwork'],_0x389121[_0x569b5f(0x3ef)],_0x389121[_0x569b5f(0x31f)]));}(this,function(_0x35847c,_0x32c4ad,_0x765608,_0x5068b0,_0x8c00ce,_0x2f43df,_0x62fd52,_0x3039f7,_0x102f6e,_0x18920f,_0x49e56d){'use strict';var _0x1b6ca5=_0x1ac4;var _0x1d6416=Object[_0x1b6ca5(0x335)],_0xa70983=(_0x2a55aa,_0x1de003,_0x282534)=>_0x1de003 in _0x2a55aa?_0x1d6416(_0x2a55aa,_0x1de003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282534}):_0x2a55aa[_0x1de003]=_0x282534,_0x1bac5f=(_0x4f3124,_0x3d08fd,_0x56a9c5)=>_0xa70983(_0x4f3124,typeof _0x3d08fd!=_0x1b6ca5(0x381)?_0x3d08fd+'':_0x3d08fd,_0x56a9c5);const _0xdbb69b=_0x1b6ca5(0x29a),_0x1ade4e=_0x1b6ca5(0x167),_0x58068b='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3729d7=_0x1b6ca5(0x2c5),_0x391bfd=_0x1b6ca5(0xa4),_0x40d4d2=_0x1b6ca5(0x141),_0x4e97c3=_0x1b6ca5(0x1a5),_0x560f63=_0x1b6ca5(0x1b5),_0x42d637='/universer-api/comb',_0x53153f='/universer-api/oidc/authpage',_0x26812e=_0x1b6ca5(0x171),_0x1c6e64=_0x1b6ca5(0x1d7);var _0x3f5711=(_0x269c75=>(_0x269c75[_0x269c75[_0x1b6ca5(0x359)]=0x0]=_0x1b6ca5(0x359),_0x269c75[_0x269c75['OK']=0x1]='OK',_0x269c75[_0x269c75[_0x1b6ca5(0x2c3)]=0x2]=_0x1b6ca5(0x2c3),_0x269c75[_0x269c75[_0x1b6ca5(0x2d4)]=0x3]=_0x1b6ca5(0x2d4),_0x269c75[_0x269c75[_0x1b6ca5(0x3a3)]=0x4]=_0x1b6ca5(0x3a3),_0x269c75[_0x269c75['UNAUTHENTICATED']=0x5]=_0x1b6ca5(0x384),_0x269c75[_0x269c75['ALREADY_EXISTS']=0x6]=_0x1b6ca5(0xed),_0x269c75[_0x269c75[_0x1b6ca5(0x1ce)]=0x7]=_0x1b6ca5(0x1ce),_0x269c75[_0x269c75[_0x1b6ca5(0x15a)]=0x8]=_0x1b6ca5(0x15a),_0x269c75[_0x269c75[_0x1b6ca5(0x395)]=0x9]=_0x1b6ca5(0x395),_0x269c75[_0x269c75[_0x1b6ca5(0x113)]=0xa]='LOGIN_FAILED',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b6ca5(0x345),_0x269c75[_0x269c75[_0x1b6ca5(0x1dc)]=0xd]=_0x1b6ca5(0x1dc),_0x269c75[_0x269c75[_0x1b6ca5(0x3a6)]=0xe]=_0x1b6ca5(0x3a6),_0x269c75[_0x269c75[_0x1b6ca5(0x314)]=0xf]=_0x1b6ca5(0x314),_0x269c75[_0x269c75[_0x1b6ca5(0x1b2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0xf5)]=0x64]=_0x1b6ca5(0xf5),_0x269c75[_0x269c75[_0x1b6ca5(0x36e)]=0x65]=_0x1b6ca5(0x36e),_0x269c75[_0x269c75[_0x1b6ca5(0x3f5)]=0xc9]=_0x1b6ca5(0x3f5),_0x269c75[_0x269c75[_0x1b6ca5(0x3e8)]=0xca]=_0x1b6ca5(0x3e8),_0x269c75[_0x269c75[_0x1b6ca5(0x29e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x269c75[_0x269c75[_0x1b6ca5(0x189)]=0x1771]=_0x1b6ca5(0x189),_0x269c75[_0x269c75[_0x1b6ca5(0x12e)]=0x1772]=_0x1b6ca5(0x12e),_0x269c75[_0x269c75[_0x1b6ca5(0x80)]=0x1773]=_0x1b6ca5(0x80),_0x269c75[_0x269c75[_0x1b6ca5(0x11b)]=0x1b59]=_0x1b6ca5(0x11b),_0x269c75[_0x269c75[_0x1b6ca5(0x316)]=0x1b5a]=_0x1b6ca5(0x316),_0x269c75[_0x269c75['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b6ca5(0x30b),_0x269c75[_0x269c75[_0x1b6ca5(0x3b8)]=0x1b5c]=_0x1b6ca5(0x3b8),_0x269c75[_0x269c75[_0x1b6ca5(0x3fe)]=0x1b5d]=_0x1b6ca5(0x3fe),_0x269c75[_0x269c75[_0x1b6ca5(0xad)]=0x1f41]=_0x1b6ca5(0xad),_0x269c75[_0x269c75[_0x1b6ca5(0x7a)]=0x2329]=_0x1b6ca5(0x7a),_0x269c75[_0x269c75['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1b6ca5(0x100),_0x269c75[_0x269c75['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1b6ca5(0xdf),_0x269c75[_0x269c75[_0x1b6ca5(0x245)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x269c75[_0x269c75[_0x1b6ca5(0x15f)]=0x232d]=_0x1b6ca5(0x15f),_0x269c75[_0x269c75[_0x1b6ca5(0x3ad)]=0x2711]=_0x1b6ca5(0x3ad),_0x269c75[_0x269c75['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x269c75[_0x269c75[_0x1b6ca5(0x341)]=0x2713]=_0x1b6ca5(0x341),_0x269c75[_0x269c75['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x1bb)]=0x271a]=_0x1b6ca5(0x1bb),_0x269c75[_0x269c75[_0x1b6ca5(0x2b7)]=0x271b]=_0x1b6ca5(0x2b7),_0x269c75[_0x269c75[_0x1b6ca5(0x369)]=0x271c]=_0x1b6ca5(0x369),_0x269c75[_0x269c75[_0x1b6ca5(0x1a9)]=0x271d]=_0x1b6ca5(0x1a9),_0x269c75[_0x269c75[_0x1b6ca5(0x235)]=0x271e]=_0x1b6ca5(0x235),_0x269c75[_0x269c75['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0x25a)]=0x2720]=_0x1b6ca5(0x25a),_0x269c75[_0x269c75['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x269c75[_0x269c75[_0x1b6ca5(0xae)]=0x2ee1]=_0x1b6ca5(0xae),_0x269c75[_0x269c75[_0x1b6ca5(0x273)]=0x2ee2]=_0x1b6ca5(0x273),_0x269c75[_0x269c75['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1b6ca5(0x3e0),_0x269c75[_0x269c75['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1b6ca5(0x16c),_0x269c75[_0x269c75[_0x1b6ca5(0x310)]=0x2ee5]=_0x1b6ca5(0x310),_0x269c75[_0x269c75[_0x1b6ca5(0x400)]=0x32c9]=_0x1b6ca5(0x400),_0x269c75[_0x269c75[_0x1b6ca5(0x286)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x269c75[_0x269c75['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x25f)]=0x36b1]=_0x1b6ca5(0x25f),_0x269c75[_0x269c75[_0x1b6ca5(0xac)]=0x36b2]=_0x1b6ca5(0xac),_0x269c75[_0x269c75['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b6ca5(0x10f),_0x269c75[_0x269c75[_0x1b6ca5(0x363)]=0x36b4]=_0x1b6ca5(0x363),_0x269c75[_0x269c75['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b6ca5(0x35e),_0x269c75[_0x269c75['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x269c75[_0x269c75[_0x1b6ca5(0x137)]=0x3717]=_0x1b6ca5(0x137),_0x269c75[_0x269c75['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1b6ca5(0x1e1),_0x269c75[_0x269c75[_0x1b6ca5(0x340)]=0x3a99]=_0x1b6ca5(0x340),_0x269c75[_0x269c75[_0x1b6ca5(0x337)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x269c75[_0x269c75[_0x1b6ca5(0xd7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x269c75[_0x269c75[_0x1b6ca5(0x269)]=0x3a9c]=_0x1b6ca5(0x269),_0x269c75[_0x269c75[_0x1b6ca5(0x27c)]=0x3a9d]=_0x1b6ca5(0x27c),_0x269c75[_0x269c75['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b6ca5(0x101),_0x269c75[_0x269c75['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x269c75[_0x269c75[_0x1b6ca5(0x83)]=0x3e81]=_0x1b6ca5(0x83),_0x269c75[_0x269c75['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x269c75))(_0x3f5711||{}),_0x56d87c=(_0x216d24=>(_0x216d24[_0x216d24[_0x1b6ca5(0x2c0)]=0x0]='UNIVER_UNKNOWN',_0x216d24[_0x216d24[_0x1b6ca5(0x31a)]=0x1]=_0x1b6ca5(0x31a),_0x216d24[_0x216d24[_0x1b6ca5(0x398)]=0x2]='UNIVER_SHEET',_0x216d24[_0x216d24[_0x1b6ca5(0x1ca)]=0x3]=_0x1b6ca5(0x1ca),_0x216d24[_0x216d24[_0x1b6ca5(0x19d)]=0x4]=_0x1b6ca5(0x19d),_0x216d24[_0x216d24[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x216d24))(_0x56d87c||{}),_0x1c4fc5=(_0x450779=>(_0x450779[_0x450779[_0x1b6ca5(0x1a0)]=0x0]=_0x1b6ca5(0x1a0),_0x450779[_0x450779[_0x1b6ca5(0x3a2)]=0x1]='HELLO',_0x450779[_0x450779[_0x1b6ca5(0x3b9)]=0x2]='JOIN',_0x450779[_0x450779[_0x1b6ca5(0x3c0)]=0x3]=_0x1b6ca5(0x3c0),_0x450779[_0x450779['INGEST']=0x4]=_0x1b6ca5(0x139),_0x450779[_0x450779[_0x1b6ca5(0x75)]=0x5]='HEARTBEAT',_0x450779[_0x450779[_0x1b6ca5(0x344)]=0x6]='RECV',_0x450779[_0x450779['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x450779))(_0x1c4fc5||{}),_0x5b7a0f=(_0x3559b4=>(_0x3559b4[_0x3559b4[_0x1b6ca5(0x3d8)]=0x0]=_0x1b6ca5(0x3d8),_0x3559b4[_0x3559b4['OK']=0x1]='OK',_0x3559b4[_0x3559b4['FAIL']=0x2]=_0x1b6ca5(0x33b),_0x3559b4[_0x3559b4[_0x1b6ca5(0x33a)]=0x3e9]=_0x1b6ca5(0x33a),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2a1)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3559b4[_0x3559b4[_0x1b6ca5(0xa7)]=0x3eb]=_0x1b6ca5(0xa7),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2ab)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3559b4[_0x3559b4[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x3559b4))(_0x5b7a0f||{}),_0x54ca25=(_0x137b64=>(_0x137b64[_0x137b64['Undefined']=0x0]=_0x1b6ca5(0xbc),_0x137b64[_0x137b64[_0x1b6ca5(0x313)]=0x1]=_0x1b6ca5(0x313),_0x137b64[_0x137b64[_0x1b6ca5(0x35c)]=0x2]=_0x1b6ca5(0x35c),_0x137b64[_0x137b64['UnitEmbedded']=0x3]=_0x1b6ca5(0x2bc),_0x137b64[_0x137b64['UnitSnapshot']=0x4]=_0x1b6ca5(0x70),_0x137b64[_0x137b64['UserProfileImg']=0x5]=_0x1b6ca5(0x35d),_0x137b64[_0x137b64[_0x1b6ca5(0x84)]=0x6]=_0x1b6ca5(0x84),_0x137b64[_0x137b64['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x137b64))(_0x54ca25||{});const _0x573e20=_0x1b6ca5(0x3e3);function _0x2ac52a(_0x2fd536){var _0x2574b9=_0x1b6ca5;return JSON[_0x2574b9(0x144)](_0x2fd536)[_0x2574b9(0x39e)];}var _0x4d6e97=(_0x129c16=>(_0x129c16[_0x1b6ca5(0x23e)]=_0x1b6ca5(0x23e),_0x129c16['PERMISSION_DENIED']='PERMISSION_DENIED',_0x129c16['CONFLICT']=_0x1b6ca5(0x3f0),_0x129c16['CLOSE_ROOM']=_0x1b6ca5(0x162),_0x129c16[_0x1b6ca5(0x3e9)]=_0x1b6ca5(0x3e9),_0x129c16['SOCKET_FAILED_RETRY']=_0x1b6ca5(0xe6),_0x129c16[_0x1b6ca5(0x15b)]=_0x1b6ca5(0x15b),_0x129c16['SUBMIT_CHANGESET_TIMEOUT']=_0x1b6ca5(0x3f3),_0x129c16))(_0x4d6e97||{});class _0x4474bb{constructor(){var _0x104c38=_0x1b6ca5;_0x1bac5f(this,'_event$',new _0x2f43df[(_0x104c38(0x216))]()),_0x1bac5f(this,_0x104c38(0x34d),this[_0x104c38(0x135)]['asObservable']());}[_0x1b6ca5(0x106)](_0x392f57){var _0x7f43f7=_0x1b6ca5;this[_0x7f43f7(0x135)][_0x7f43f7(0x1a2)](_0x392f57);}}class _0x1442e0{constructor(){var _0x23b5ac=_0x1b6ca5;_0x1bac5f(this,_0x23b5ac(0x36c),new _0x2f43df[(_0x23b5ac(0x216))]()),_0x1bac5f(this,_0x23b5ac(0x184),this['_commentUpdate$'][_0x23b5ac(0x99)]());}[_0x1b6ca5(0x2a8)](_0x90a7de){var _0x311202=_0x1b6ca5;this[_0x311202(0x36c)][_0x311202(0x1a2)](_0x90a7de);}}var _0x3caca0=Object[_0x1b6ca5(0x1d2)],_0x1f17fb=(_0x1366dd,_0xf3e806,_0x593f3d,_0x36c1f9)=>{var _0x23ee20=_0x1b6ca5;for(var _0xe4fa1f=_0x36c1f9>0x1?void 0x0:_0x36c1f9?_0x3caca0(_0xf3e806,_0x593f3d):_0xf3e806,_0x4fc7e5=_0x1366dd[_0x23ee20(0x39e)]-0x1,_0x3bcaf3;_0x4fc7e5>=0x0;_0x4fc7e5--)(_0x3bcaf3=_0x1366dd[_0x4fc7e5])&&(_0xe4fa1f=_0x3bcaf3(_0xe4fa1f)||_0xe4fa1f);return _0xe4fa1f;},_0x271523=(_0x15463c,_0x3890fe)=>(_0x1a1711,_0x5a7a84)=>_0x3890fe(_0x1a1711,_0x5a7a84,_0x15463c);_0x35847c[_0x1b6ca5(0x328)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x2f132f,_0x11bb56){var _0x3c2c5a=_0x1b6ca5;super(),_0x1bac5f(this,_0x3c2c5a(0xdd),new Map()),_0x1bac5f(this,_0x3c2c5a(0x3b1),new _0x2f43df[(_0x3c2c5a(0x216))]()),(this[_0x3c2c5a(0xe7)]=_0x2f132f,this[_0x3c2c5a(0x125)]=_0x11bb56,this['disposeWithMe'](_0x2f43df[_0x3c2c5a(0x308)](this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x398)])['pipe'](_0x3039f7[_0x3c2c5a(0x10d)](_0x1d274f=>_0x1d274f['getUnitId']())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x31a)])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x30727f=>_0x30727f[_0x3c2c5a(0xdc)]())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608[_0x3c2c5a(0x173)]['UNIVER_SLIDE'])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x5d60d3=>_0x5d60d3[_0x3c2c5a(0xdc)]())))[_0x3c2c5a(0xf0)](_0xd6d394=>this[_0x3c2c5a(0x13b)](_0xd6d394))));}[_0x1b6ca5(0x284)](_0x403afd){var _0x45c509=_0x1b6ca5;return this[_0x45c509(0xdd)][_0x45c509(0x1df)](_0x403afd)?_0x2f43df['of'](this['_roomMembers'][_0x45c509(0x2b3)](_0x403afd)):this[_0x45c509(0x3b1)][_0x45c509(0x39a)](_0x3039f7[_0x45c509(0x10d)](_0x3fc894=>{var _0x25b96f=_0x45c509;if(_0x3fc894===_0x403afd)return this['_roomMembers'][_0x25b96f(0x2b3)](_0x3fc894);}));}[_0x1b6ca5(0x165)](_0x3d9ae9){var _0x2050b5=_0x1b6ca5;this[_0x2050b5(0x125)]['setCurrentUser'](_0x3d9ae9);}[_0x1b6ca5(0x2cf)](){var _0x3d6f63=_0x1b6ca5;return this[_0x3d6f63(0x125)]['getCurrentUser']();}['updateMember'](_0x9c2399,_0x4c714b){var _0x9d87d3=_0x1b6ca5;let _0x1e49f3=this[_0x9d87d3(0xdd)]['get'](_0x9c2399);_0x1e49f3||(_0x1e49f3=new _0x5c3047(),this[_0x9d87d3(0xdd)][_0x9d87d3(0x26d)](_0x9c2399,_0x1e49f3),this[_0x9d87d3(0x3b1)][_0x9d87d3(0x1a2)](_0x9c2399)),_0x1e49f3[_0x9d87d3(0x327)](_0x4c714b);}[_0x1b6ca5(0x24a)](_0x3a2fb7,_0x3954a5){var _0x52530e=_0x1b6ca5;const _0x1e8b05=this['_roomMembers'][_0x52530e(0x2b3)](_0x3a2fb7);_0x1e8b05&&_0x1e8b05[_0x52530e(0x24a)](_0x3954a5);}['getRoom'](_0x4b836e){var _0x2f01c8=_0x1b6ca5;return this['_roomMembers'][_0x2f01c8(0x2b3)](_0x4b836e);}['getMember'](_0x392c06,_0x418903){var _0x5a725d=_0x1b6ca5;const _0x1989c9=this[_0x5a725d(0xdd)]['get'](_0x392c06);if(_0x1989c9)return _0x1989c9['getMember'](_0x418903);}[_0x1b6ca5(0x13b)](_0x1f6581){var _0x5c1d08=_0x1b6ca5;const _0x2b6474=this['_roomMembers'][_0x5c1d08(0x2b3)](_0x1f6581);_0x2b6474&&(_0x2b6474[_0x5c1d08(0xb1)](),this[_0x5c1d08(0xdd)][_0x5c1d08(0x3d7)](_0x1f6581));}[_0x1b6ca5(0xb1)](){var _0x1efdb8=_0x1b6ca5;this['_roomMembers'][_0x1efdb8(0x1d1)](_0x568753=>_0x568753[_0x1efdb8(0xb1)]()),this['_roomMembers'][_0x1efdb8(0x1c1)](),this['_roomCreated$'][_0x1efdb8(0x149)]();}},_0x35847c[_0x1b6ca5(0x328)]=_0x1f17fb([_0x271523(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x271523(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x25d)]))],_0x35847c[_0x1b6ca5(0x328)]);class _0x5c3047 extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(){var _0x448fab=_0x1b6ca5;super(...arguments),_0x1bac5f(this,'_members',new Map()),_0x1bac5f(this,_0x448fab(0x17f),new _0x2f43df[(_0x448fab(0x20b))](this[_0x448fab(0x133)])),_0x1bac5f(this,'members$',this[_0x448fab(0x17f)]['asObservable']());}[_0x1b6ca5(0xb1)](){var _0x3ff02a=_0x1b6ca5;this[_0x3ff02a(0x133)][_0x3ff02a(0x1c1)]();}[_0x1b6ca5(0x327)](_0x38a2eb){var _0x3c21e3=_0x1b6ca5;this['_members'][_0x3c21e3(0x26d)](_0x38a2eb[_0x3c21e3(0x296)],_0x38a2eb),this[_0x3c21e3(0x9d)]();}[_0x1b6ca5(0x24a)](_0x261ee7){var _0x36dbb0=_0x1b6ca5;this[_0x36dbb0(0x133)][_0x36dbb0(0x3d7)](_0x261ee7);}['getMember'](_0xb473a2){var _0x319be8=_0x1b6ca5;return this['_members'][_0x319be8(0x2b3)](_0xb473a2);}[_0x1b6ca5(0x3b6)](){var _0x2116cb=_0x1b6ca5;return Array[_0x2116cb(0x126)](this['_members']['values']());}[_0x1b6ca5(0x9d)](){var _0x59df47=_0x1b6ca5;this[_0x59df47(0x17f)][_0x59df47(0x1a2)](this[_0x59df47(0x133)]);}}var _0xccef21=Object['getOwnPropertyDescriptor'],_0x5016dd=(_0x260db0,_0x18dcfa,_0xb5ea1d,_0x5d1b46)=>{var _0x4b53a6=_0x1b6ca5;for(var _0x1d6669=_0x5d1b46>0x1?void 0x0:_0x5d1b46?_0xccef21(_0x18dcfa,_0xb5ea1d):_0x18dcfa,_0x8d379b=_0x260db0[_0x4b53a6(0x39e)]-0x1,_0x19a712;_0x8d379b>=0x0;_0x8d379b--)(_0x19a712=_0x260db0[_0x8d379b])&&(_0x1d6669=_0x19a712(_0x1d6669)||_0x1d6669);return _0x1d6669;},_0x2d031c=(_0xe1aaa5,_0x4ddd9c)=>(_0x48fe0a,_0x56e28b)=>_0x4ddd9c(_0x48fe0a,_0x56e28b,_0xe1aaa5),_0x34dd1c=(_0x37787b=>(_0x37787b[_0x37787b['IDLE']=0x0]=_0x1b6ca5(0x2f0),_0x37787b[_0x37787b[_0x1b6ca5(0x187)]=0x1]='JOINING',_0x37787b[_0x37787b[_0x1b6ca5(0x1c5)]=0x2]=_0x1b6ca5(0x1c5),_0x37787b[_0x37787b[_0x1b6ca5(0x22e)]=0x3]='ONLINE',_0x37787b))(_0x34dd1c||{});const _0x2c4026={[_0x5b7a0f[_0x1b6ca5(0x33b)]]:_0x1b6ca5(0x1e4),[_0x5b7a0f[_0x1b6ca5(0x33a)]]:_0x1b6ca5(0x74),[_0x5b7a0f['JOIN_ROOM_NOT_EXISTS']]:_0x1b6ca5(0x9e),[_0x5b7a0f['JOIN_ROOM_PERMISSION_DENIED']]:_0x1b6ca5(0x18b),[_0x5b7a0f[_0x1b6ca5(0x2ab)]]:_0x1b6ca5(0x262)};_0x35847c[_0x1b6ca5(0x325)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x37dd5c,_0x3e6747,_0x5ce467,_0x4399cc,_0x2c44d1,_0x56c456,_0x128bfb,_0x100dda){var _0x4c00d0=_0x1b6ca5;super(),_0x1bac5f(this,_0x4c00d0(0x3bb),new _0x2f43df['BehaviorSubject'](0x0)),_0x1bac5f(this,'sessionStatus$',this['_sessionStatus$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x135),new _0x2f43df[(_0x4c00d0(0x216))]()),_0x1bac5f(this,'event$',this['_event$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x2f2)),_0x1bac5f(this,_0x4c00d0(0x3db)),_0x1bac5f(this,_0x4c00d0(0x109)),_0x1bac5f(this,_0x4c00d0(0x30e),!0x1),_0x1bac5f(this,_0x4c00d0(0x1be),null),(this[_0x4c00d0(0x150)]=_0x37dd5c,this[_0x4c00d0(0x9f)]=_0x5ce467,this['_configService']=_0x4399cc,this[_0x4c00d0(0x2fa)]=_0x2c44d1,this['_commentService']=_0x56c456,this[_0x4c00d0(0x322)]=_0x128bfb,this[_0x4c00d0(0x275)]=_0x100dda,this['_shouldReportTelemetry']=!!this[_0x4c00d0(0x275)],_0x3e6747[_0x4c00d0(0x39a)](_0x2f43df[_0x4c00d0(0x18c)](this[_0x4c00d0(0x283)]))[_0x4c00d0(0xf0)](_0x4a82c2=>{var _0x427567=_0x4c00d0,_0x409900;typeof _0x4a82c2>'u'||(this[_0x427567(0x2f2)]=_0x4a82c2,_0x4a82c2?(this[_0x427567(0x1c0)](_0x4a82c2),this[_0x427567(0x3db)]=_0x4a82c2[_0x427567(0x32e)][_0x427567(0xf0)](_0x5d7afe=>{var _0xf3d661=_0x427567;_0x5d7afe[_0xf3d661(0x2a5)]===this[_0xf3d661(0x150)]&&this[_0xf3d661(0x193)](_0x5d7afe);})):(this[_0x427567(0xcc)](),this[_0x427567(0x3bb)]['next'](0x2),(_0x409900=this['_socketMessageSubscription'])==null||_0x409900[_0x427567(0x7c)](),this[_0x427567(0x3db)]=null));}));}get[_0x1b6ca5(0x28f)](){var _0x4b6a0b=_0x1b6ca5;return this[_0x4b6a0b(0x3bb)][_0x4b6a0b(0x3bc)]();}[_0x1b6ca5(0x14c)](){var _0xf47180=_0x1b6ca5,_0x45680a,_0x9d1e37;return(_0x9d1e37=(_0x45680a=this[_0xf47180(0x2f2)])==null?void 0x0:_0x45680a[_0xf47180(0x296)])!=null?_0x9d1e37:null;}[_0x1b6ca5(0xb1)](){var _0x4cdf44=_0x1b6ca5;super[_0x4cdf44(0xb1)](),this[_0x4cdf44(0x283)][_0x4cdf44(0x1a2)](),this['dispose$']['complete']();}[_0x1b6ca5(0x11c)](){var _0x3cfb8b=_0x1b6ca5,_0x390b75,_0x3a9ff1;this[_0x3cfb8b(0xcc)](),(_0x390b75=this[_0x3cfb8b(0x2f2)])==null||_0x390b75['send']({'cmd':_0x1c4fc5[_0x3cfb8b(0x3c0)],'data':{'roomID':this['_unitID']}}),(_0x3a9ff1=this[_0x3cfb8b(0x2f2)])==null||_0x3a9ff1[_0x3cfb8b(0x11c)](),this[_0x3cfb8b(0x135)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0x3bb)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0xb1)]();}[_0x1b6ca5(0x193)](_0x2928f7){var _0x139bc9=_0x1b6ca5;_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x3b9)]?this['_onJoinRoomEvent'](_0x2928f7):_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x344)]&&this[_0x139bc9(0x34f)](_0x2928f7);}['_joinRoom'](_0x4a11c5){var _0x1b7811=_0x1b6ca5;this['_sessionStatus$'][_0x1b7811(0x1a2)](0x1),_0x4a11c5[_0x1b7811(0x8a)]({'cmd':_0x1c4fc5['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b7811(0x150)]}]}});}[_0x1b6ca5(0x38b)](_0x44592a){var _0x557333=_0x1b6ca5,_0x3ad3d3;if(_0x44592a['code']in _0x2c4026){this['_collaborationUIEventService'][_0x557333(0x106)]({'id':_0x4d6e97['JOIN_ROOM_FAILED'],'data':_0x2c4026[_0x44592a[_0x557333(0x3e6)]]}),this['_sessionStatus$'][_0x557333(0x1a2)](0x2);return;}this[_0x557333(0x3bb)]['next'](0x3);const _0x494791=(_0x3ad3d3=_0x44592a['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x3ad3d3[_0x557333(0xfb)];_0x494791&&_0x494791[_0x557333(0x1d1)](_0x5d0a1b=>this[_0x557333(0x2fa)]['updateMember'](this['_unitID'],_0x5d0a1b));}[_0x1b6ca5(0x34f)](_0x1c7eaf){var _0x44405d=_0x1b6ca5;try{const _0x1b1fa0=_0x1c7eaf['data'];switch(_0x1b1fa0[_0x44405d(0x239)]){case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x2de)]:this[_0x44405d(0xb7)](_0x1b1fa0),this['_event$'][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad['CollaborationEvent'][_0x44405d(0x259)]:this['_onUserLeave'](_0x1b1fa0),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x20f)]:case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x29c)]:this[_0x44405d(0x15e)](),this[_0x44405d(0xb6)](),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x13e)]:this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x44405d(0x1bd)+JSON['stringify'](_0x1b1fa0)),this[_0x44405d(0x135)]['next'](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x27d)]:this[_0x44405d(0x3a0)][_0x44405d(0x2a8)](_0x1b1fa0[_0x44405d(0x3c7)]),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;default:this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);}}catch(_0x52a5a5){this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x52a5a5,_0x1c7eaf);}}[_0x1b6ca5(0xb7)](_0x2e96c9){var _0x4baf50=_0x1b6ca5;this[_0x4baf50(0x2fa)][_0x4baf50(0x327)](this[_0x4baf50(0x150)],_0x2e96c9[_0x4baf50(0x3c7)]);}[_0x1b6ca5(0x39b)](_0x4f12a4){var _0x4522e0=_0x1b6ca5;this[_0x4522e0(0x2fa)]['removeMember'](this[_0x4522e0(0x150)],_0x4f12a4[_0x4522e0(0x3c7)]['memberID']);}async[_0x1b6ca5(0x8a)](_0x340704,_0x3ec901){var _0x3e097b=_0x1b6ca5;if(this['sessionStatus']!==0x3||!this[_0x3e097b(0x2f2)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x340704[_0x3e097b(0x239)]===_0x32c4ad['CollaborationEvent'][_0x3e097b(0x209)]&&(this[_0x3e097b(0x28a)](),this[_0x3e097b(0x91)](_0x340704)),this[_0x3e097b(0x2f2)][_0x3e097b(0x8a)]({'cmd':_0x1c4fc5['INGEST'],'routeKey':_0x3ec901,'routeType':'','data':_0x340704});}catch(_0x2efb30){this[_0x3e097b(0x9f)]['error'](_0x2efb30);}}[_0x1b6ca5(0x28a)](){var _0x3eadd7=_0x1b6ca5,_0x47fa78;this[_0x3eadd7(0x109)]=setTimeout(()=>{var _0x2c1a14=_0x3eadd7;this[_0x2c1a14(0x109)]=null,this[_0x2c1a14(0x322)][_0x2c1a14(0x106)]({'id':_0x4d6e97[_0x2c1a14(0x3f3)]});},(_0x47fa78=this[_0x3eadd7(0xd8)][_0x3eadd7(0x1ef)](_0x40d4d2))!=null?_0x47fa78:0x4e20);}[_0x1b6ca5(0xb6)](){var _0x2f6b69=_0x1b6ca5;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2f6b69(0x109)]),this[_0x2f6b69(0x109)]=null);}[_0x1b6ca5(0x91)](_0x59f7b6){var _0x22a08e=_0x1b6ca5;if(!this[_0x22a08e(0x30e)])return;const {data:_0x4be0f3}=_0x59f7b6,{unitID:_0x4d1e70,changeset:_0x3954e6}=_0x4be0f3,{mutations:_0x1d3290,type:_0x51faac}=_0x3954e6;this['_telemetryInfo']={'unitId':_0x4d1e70,'type':_0x51faac,'startTime':performance[_0x22a08e(0x3cb)](),'stopTime':0x0,'duration':0x0,'size':_0x2ac52a(_0x1d3290)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5477bb=_0x1b6ca5;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5477bb(0x9f)][_0x5477bb(0x35f)](_0x5477bb(0x9c),_0x5477bb(0x203));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x5477bb(0x1be)][_0x5477bb(0x3a1)]=this[_0x5477bb(0x1be)][_0x5477bb(0x238)]-this[_0x5477bb(0x1be)][_0x5477bb(0x2c1)],this[_0x5477bb(0x275)][_0x5477bb(0x10a)](_0x573e20,this[_0x5477bb(0x1be)]),this[_0x5477bb(0x1be)]=null;}}[_0x1b6ca5(0xcc)](){var _0x4265d9=_0x1b6ca5;this[_0x4265d9(0x1be)]=null;}},_0x35847c[_0x1b6ca5(0x325)]=_0x5016dd([_0x2d031c(0x2,_0x765608[_0x1b6ca5(0x3f9)]),_0x2d031c(0x3,_0x765608[_0x1b6ca5(0x1af)]),_0x2d031c(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x328)])),_0x2d031c(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x1442e0)),_0x2d031c(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x2d031c(0x7,_0x765608[_0x1b6ca5(0x136)](_0x62fd52['ITelemetryService']))],_0x35847c[_0x1b6ca5(0x325)]);const _0x9f10c=_0x765608[_0x1b6ca5(0x24d)]('collaboration-client.local-cache-service');function _0x3698d0(_0xaf5c5f){var _0xbed287=_0x1b6ca5;return _0xbed287(0x94)+_0xaf5c5f;}var _0x379318=Object['getOwnPropertyDescriptor'],_0xc9be1e=(_0x31fa86,_0x2e4878,_0x3eebcd,_0x485e07)=>{var _0x1d0443=_0x1b6ca5;for(var _0x5bb91b=_0x485e07>0x1?void 0x0:_0x485e07?_0x379318(_0x2e4878,_0x3eebcd):_0x2e4878,_0x159db9=_0x31fa86[_0x1d0443(0x39e)]-0x1,_0x5571a2;_0x159db9>=0x0;_0x159db9--)(_0x5571a2=_0x31fa86[_0x159db9])&&(_0x5bb91b=_0x5571a2(_0x5bb91b)||_0x5bb91b);return _0x5bb91b;},_0x4112cd=(_0x47821a,_0x13ece0)=>(_0xc52432,_0xf7ac92)=>_0x13ece0(_0xc52432,_0xf7ac92,_0x47821a);function _0x2e0552(_0x4efb55){var _0x4e2efa=_0x1b6ca5;const {unitID:_0x26ac08,mutations:_0x2f7737}=_0x4efb55;return{'unitId':_0x26ac08,'subUnitId':_0x2f7737[_0x4e2efa(0x39e)]>0x0?_0x2f7737[0x0]['params'][_0x4e2efa(0xe0)]:null};}_0x35847c[_0x1b6ca5(0x30f)]=class{constructor(_0x282262,_0x2f3887,_0x2b3158){var _0x13ef35=_0x1b6ca5;this[_0x13ef35(0x172)]=_0x282262,this[_0x13ef35(0x226)]=_0x2f3887,this[_0x13ef35(0x72)]=_0x2b3158;}[_0x1b6ca5(0x110)](_0x5f5ef4){var _0x31aa29=_0x1b6ca5,_0x497dbd,_0x2b92e2,_0x5d73a5,_0x278193;const _0x14f6be=this[_0x31aa29(0x172)][_0x31aa29(0x2b3)](_0x8c00ce[_0x31aa29(0xf9)]),{unitId:_0x1ce842,subUnitId:_0x512142}=_0x2e0552(_0x5f5ef4),_0x128808=_0x14f6be==null?void 0x0:_0x14f6be[_0x31aa29(0x2ec)](_0x1ce842)[_0x31aa29(0x2df)](),_0x283dbf=(_0x2b92e2=(_0x497dbd=this[_0x31aa29(0x72)][_0x31aa29(0x123)](_0x1ce842))==null?void 0x0:_0x497dbd[_0x31aa29(0x33e)]())==null?void 0x0:_0x2b92e2[_0x31aa29(0x378)]();if(_0x128808[_0x31aa29(0x39e)]===0x0||!_0x1ce842||!_0x512142)return;const _0x502c93=[{'id':_0x8c00ce[_0x31aa29(0xa9)]['id'],'params':{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x765608[_0x31aa29(0x2a4)][_0x31aa29(0x180)](_0x128808)}}],_0x21c202=this['_transformService'][_0x31aa29(0x291)](_0x5f5ef4,_0x502c93);if(!_0x32c4ad[_0x31aa29(0x256)](_0x21c202))throw _0x21c202[_0x31aa29(0x35f)];const _0x3abb43=(_0x278193=(_0x5d73a5=_0x21c202[_0x31aa29(0x1b7)][0x0])==null?void 0x0:_0x5d73a5[_0x31aa29(0x1e7)])==null?void 0x0:_0x278193[_0x31aa29(0x3f7)];if(Array[_0x31aa29(0x14e)](_0x3abb43)&&_0x3abb43[_0x31aa29(0x39e)]){if(_0x3abb43[_0x31aa29(0x39e)]===_0x502c93[0x0][_0x31aa29(0x1e7)]['selections']['length']&&_0x3abb43[_0x31aa29(0x188)]((_0x410aa7,_0x2a8904)=>_0x765608['Rectangle'][_0x31aa29(0x326)](_0x410aa7[_0x31aa29(0x21f)],_0x502c93[0x0][_0x31aa29(0x1e7)][_0x31aa29(0x3f7)][_0x2a8904][_0x31aa29(0x21f)])))return;this[_0x31aa29(0x172)]['get'](_0x765608[_0x31aa29(0x386)])[_0x31aa29(0x351)](_0x8c00ce['SetSelectionsOperation']['id'],{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x3abb43});}}},_0x35847c['SheetTransformSelectionsService']=_0xc9be1e([_0x4112cd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x4112cd(0x1,_0x32c4ad[_0x1b6ca5(0x152)]),_0x4112cd(0x2,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x30f)]);const _0x2aceed=_0x765608[_0x1b6ca5(0x24d)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1601ee=(_0x4ad8e5=>(_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x174)]=0x0]=_0x1b6ca5(0x174),_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x36f)]=0x1]='OTHER_CLIENTS_EDITING',_0x4ad8e5))(_0x1601ee||{});const _0x32b669='collaboration-client.config',_0x5a1779={},_0x26a872=new Set([_0x8c00ce['InsertSheetMutation']['id']]);function _0x46ce9b(_0x1f44b5,_0x295b12,_0x9697b8,_0x39ddf3,_0x14f05d){var _0x4858c8=_0x1b6ca5,_0x568e2c,_0x1b3890,_0x476902,_0x519b97;const _0x1e9a9f=[];for(const _0x331861 of _0x1f44b5)if(_0x26a872[_0x4858c8(0x1df)](_0x331861['id'])){if(_0x1e9a9f['length']>0x0)break;_0x1e9a9f[_0x4858c8(0x13f)](_0x331861);break;}else _0x1e9a9f[_0x4858c8(0x13f)](_0x331861);const _0x2f0a4b=(_0x1b3890=(_0x568e2c=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x568e2c[_0x4858c8(0x37b)])!=null?_0x1b3890:_0x4858c8(0x3e1),_0x57c4ab=(_0x519b97=(_0x476902=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x476902[_0x4858c8(0x296)])!=null?_0x519b97:_0x4858c8(0x3e1);return{'changeset':{'unitID':_0x295b12,'type':_0x32c4ad[_0x4858c8(0x321)](_0x9697b8[_0x4858c8(0x3de)](_0x295b12)),'baseRev':_0x39ddf3[_0x4858c8(0x390)](_0x295b12),'revision':0x0,'userID':_0x2f0a4b,'memberID':_0x57c4ab,'mutations':_0x1e9a9f},'pendingMutations':_0x1f44b5[_0x4858c8(0x1a1)](_0x1e9a9f['length'])};}function _0x7d0fa8(_0x10ef1b,_0x382e8e,_0x51bac4,_0x2b54fb,_0x3600ba){var _0x6b0771=_0x1b6ca5,_0x253065,_0x176d1e,_0x5d356f,_0x292da0;const _0x203069=[_0x10ef1b[_0x6b0771(0x37a)]((_0x213686,_0xd5ad0f)=>{var _0x268e47=_0x6b0771,_0x2c3155;const {id:_0xa570cc}=_0x213686,{id:_0x512518,type:_0xdfeeb9}=_0xd5ad0f,_0x41780b=(_0x2c3155=_0x213686['params'])!=null?_0x2c3155:{'actions':null},_0x1eaf28=_0xd5ad0f['params'];if(_0xa570cc&&_0xa570cc!==_0x512518)throw new Error(_0x268e47(0x31b)+_0xa570cc+_0x268e47(0x3d1)+_0x512518+'.');return{..._0x213686,'id':_0x512518,'type':_0xdfeeb9,'params':{'unitId':_0x1eaf28[_0x268e47(0x272)],'textRanges':_0x1eaf28[_0x268e47(0x2ff)],'actions':_0x765608[_0x268e47(0xef)][_0x268e47(0x3b5)](_0x41780b[_0x268e47(0x303)],_0x1eaf28[_0x268e47(0x303)])}};},{})],_0x2f9455=(_0x176d1e=(_0x253065=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x253065['userID'])!=null?_0x176d1e:_0x6b0771(0x3e1),_0x164538=(_0x292da0=(_0x5d356f=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x5d356f[_0x6b0771(0x296)])!=null?_0x292da0:_0x6b0771(0x3e1);return{'changeset':{'unitID':_0x382e8e,'type':_0x32c4ad['mapDocumentTypeToUniverType'](_0x51bac4[_0x6b0771(0x3de)](_0x382e8e)),'baseRev':_0x2b54fb[_0x6b0771(0x390)](_0x382e8e),'revision':0x0,'userID':_0x2f9455,'memberID':_0x164538,'mutations':_0x203069},'pendingMutations':[]};}function _0x54537f(_0x20f87b,_0x33ba37){var _0x3d5009=_0x1b6ca5;const _0x273629=new _0x2f43df[(_0x3d5009(0x2a9))](0x1);return setTimeout(()=>_0x273629[_0x3d5009(0x1a2)](_0x33ba37),_0x20f87b),_0x273629['asObservable']()['pipe'](_0x2f43df[_0x3d5009(0x274)](0x1));}var _0x368a2d=Object['getOwnPropertyDescriptor'],_0x33358a=(_0xe527d8,_0x357e91,_0x5a3212,_0x456491)=>{var _0x1497ae=_0x1b6ca5;for(var _0x4de3cd=_0x456491>0x1?void 0x0:_0x456491?_0x368a2d(_0x357e91,_0x5a3212):_0x357e91,_0x58c006=_0xe527d8[_0x1497ae(0x39e)]-0x1,_0x5c6c41;_0x58c006>=0x0;_0x58c006--)(_0x5c6c41=_0xe527d8[_0x58c006])&&(_0x4de3cd=_0x5c6c41(_0x4de3cd)||_0x4de3cd);return _0x4de3cd;},_0x3bc723=(_0x4ccb49,_0x58bb2c)=>(_0x37cbf6,_0x5296ee)=>_0x58bb2c(_0x37cbf6,_0x5296ee,_0x4ccb49),_0x528d90=(_0x3b5061=>(_0x3b5061[_0x1b6ca5(0x3e2)]=_0x1b6ca5(0x2da),_0x3b5061['SYNCED']='synced',_0x3b5061['PENDING']=_0x1b6ca5(0x357),_0x3b5061[_0x1b6ca5(0xf8)]=_0x1b6ca5(0x320),_0x3b5061[_0x1b6ca5(0x15c)]=_0x1b6ca5(0x2fb),_0x3b5061[_0x1b6ca5(0x89)]=_0x1b6ca5(0x3c6),_0x3b5061[_0x1b6ca5(0x3f0)]=_0x1b6ca5(0x391),_0x3b5061['OFFLINE']='offline',_0x3b5061))(_0x528d90||{});const _0x5b1990=0xea60;class _0x40eaa2{constructor(_0x21c055,_0x25b4fe,_0x369dd8,_0x1c04de,_0x454edf,_0x408eae,_0x464283,_0x1f9a84,_0x3c4be5){var _0x3cc049=_0x1b6ca5;_0x1bac5f(this,_0x3cc049(0x2bb),null),_0x1bac5f(this,_0x3cc049(0x3a9),[]),(this[_0x3cc049(0xfe)]=_0x21c055,this[_0x3cc049(0xbb)]=_0x25b4fe,this[_0x3cc049(0x2f9)]=_0x454edf,this[_0x3cc049(0xa1)]=_0x408eae,this[_0x3cc049(0x2f6)]=_0x464283,this['_revisionService']=_0x1f9a84,this[_0x3cc049(0x294)]=_0x3c4be5,this[_0x3cc049(0x2bb)]=_0x369dd8,this[_0x3cc049(0x3a9)]=_0x1c04de);}[_0x1b6ca5(0x37d)](_0x18b3ab){var _0x59f697=_0x1b6ca5;const _0x5e5aee=this[_0x59f697(0x2d0)]['getCurrentRevOfUnit'](this['unitID']);return _0x18b3ab[_0x59f697(0x2e6)]>_0x5e5aee+0x1?(this['_handler'][_0x59f697(0x21b)]({'from':_0x5e5aee,'to':_0x18b3ab[_0x59f697(0x2e6)]-0x1}),!0x0):!0x1;}[_0x1b6ca5(0x387)](_0x4e511c){var _0x5b111f=_0x1b6ca5;this[_0x5b111f(0x2f6)]['transformUndoRedo'](this['unitID'],_0x4e511c);}[_0x1b6ca5(0x2f4)](_0x1cb0b8){var _0x377c73=_0x1b6ca5,_0x3d068c,_0x4aa74d;(_0x4aa74d=(_0x3d068c=this[_0x377c73(0x2f9)])['onTransformSelections'])==null||_0x4aa74d[_0x377c73(0x118)](_0x3d068c,_0x1cb0b8);}[_0x1b6ca5(0x246)](_0x62d615){var _0x13f809=_0x1b6ca5,_0x4c644a,_0x400bd3;return(_0x400bd3=(_0x4c644a=this[_0x13f809(0x2f9)])[_0x13f809(0x242)])==null?void 0x0:_0x400bd3[_0x13f809(0x118)](_0x4c644a,_0x62d615);}[_0x1b6ca5(0x32f)](_0x22fd4b){var _0x58a2f5=_0x1b6ca5,_0x2dbe09,_0x3a8733;return(_0x3a8733=(_0x2dbe09=this['_handler'])[_0x58a2f5(0x3f1)])==null?void 0x0:_0x3a8733['call'](_0x2dbe09,_0x22fd4b);}[_0x1b6ca5(0x151)](_0x39130f){var _0x9a1396=_0x1b6ca5,_0x4e9f0c,_0x563da7,_0x4b5f3b;return(_0x4b5f3b=(_0x563da7=(_0x4e9f0c=this[_0x9a1396(0x2f9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x563da7['call'](_0x4e9f0c,_0x39130f))!=null?_0x4b5f3b:_0x39130f;}[_0x1b6ca5(0x1d9)](_0x380b06){var _0x2d73a2=_0x1b6ca5,_0x354e07,_0x269748,_0x4e9ec0;return(_0x4e9ec0=(_0x269748=(_0x354e07=this[_0x2d73a2(0x2f9)])[_0x2d73a2(0x364)])==null?void 0x0:_0x269748[_0x2d73a2(0x118)](_0x354e07,_0x380b06))!=null?_0x4e9ec0:_0x380b06;}[_0x1b6ca5(0x1b6)](_0x3a92f0){var _0x16ffe4=_0x1b6ca5,_0x3308f6,_0x2806a6;if(this[_0x16ffe4(0xbb)]===_0x56d87c[_0x16ffe4(0x31a)]){const {unitID:_0x1310b1,mutations:_0x43ae82,memberID:_0x305fa3}=_0x3a92f0,_0x17be50=_0x43ae82[_0x16ffe4(0x39e)]>0x0?_0x43ae82[0x0][_0x16ffe4(0x1e7)][_0x16ffe4(0x2ff)]:[];Array[_0x16ffe4(0x14e)](_0x17be50)&&_0x17be50[_0x16ffe4(0x39e)]>0x0&&((_0x2806a6=(_0x3308f6=this[_0x16ffe4(0x2f9)])[_0x16ffe4(0x34e)])==null||_0x2806a6[_0x16ffe4(0x118)](_0x3308f6,{'unitID':_0x1310b1,'memberID':_0x305fa3,'textRanges':_0x17be50}));}}['_updateLocalCache'](){var _0x501bd5=_0x1b6ca5,_0x17831c;(_0x17831c=this['_localCacheService'])==null||_0x17831c['updateOfflineData'](this[_0x501bd5(0xfe)],this[_0x501bd5(0xbb)],this['_awaitingChangeset'],this[_0x501bd5(0x3a9)]);}[_0x1b6ca5(0x1e5)](){var _0x5083f9=_0x1b6ca5;return this['_revisionService'][_0x5083f9(0x390)](this[_0x5083f9(0xfe)]);}[_0x1b6ca5(0x32d)](){var _0x1145b9=_0x1b6ca5;this[_0x1145b9(0x2d0)][_0x1145b9(0x169)](this[_0x1145b9(0xfe)]);}[_0x1b6ca5(0x177)](_0x3c8d2e){var _0x3de5b8=_0x1b6ca5,_0x7d6542;let _0x306442=this['_transformRemoteChangesetByIMECache'](_0x3c8d2e);_0x306442=this[_0x3de5b8(0x1d9)](_0x306442);const _0x457562=_0x765608[_0x3de5b8(0x8b)](_0x306442[_0x3de5b8(0x233)],this['_commandService'],{'fromCollab':!0x0});if(!_0x457562[_0x3de5b8(0x27b)])throw _0x457562[_0x3de5b8(0x35f)]instanceof Error?_0x457562['error']:new Error((_0x7d6542=_0x457562[_0x3de5b8(0x35f)])!=null?_0x7d6542:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x306442),this[_0x3de5b8(0x32f)](_0x306442),this[_0x3de5b8(0x387)](_0x3c8d2e),this[_0x3de5b8(0x2f4)](_0x306442),this[_0x3de5b8(0x1b6)](_0x306442),this[_0x3de5b8(0x32d)]();}}_0x35847c[_0x1b6ca5(0x1fd)]=class extends _0x40eaa2{constructor(_0x180e35,_0x4d93e5,_0x30d852,_0x110cdd,_0x94cd90,_0x3b507f,_0x2b5472,_0x3df488,_0x4d8ef8,_0x4eed4f){var _0x365ff0=_0x1b6ca5;super(_0x180e35,_0x4d93e5,null,[],_0x30d852,_0x2b5472,_0x3b507f,_0x110cdd,_0x4eed4f),_0x1bac5f(this,_0x365ff0(0x2cd),_0x365ff0(0x215)),(this[_0x365ff0(0x172)]=_0x94cd90,this['_logService']=_0x3df488,this[_0x365ff0(0x226)]=_0x4d8ef8,this[_0x365ff0(0x389)]=_0x4eed4f);}[_0x1b6ca5(0x377)](_0x2499f5){var _0x17c034=_0x1b6ca5;const _0x3d5528=this[_0x17c034(0x172)]['createInstance'](_0x35847c[_0x17c034(0xc7)],this['unitID'],this[_0x17c034(0xbb)],[_0x2499f5],this[_0x17c034(0x2f9)]);return _0x3d5528[_0x17c034(0x3ff)](),_0x3d5528['_updateLocalCache'](),_0x3d5528;}['onRemoteChangeset'](_0x1cfee6){var _0x3e80bd=_0x1b6ca5;if(this[_0x3e80bd(0x37d)](_0x1cfee6))return this[_0x3e80bd(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x3e80bd(0xfe)],this['type'],null,[],null,[_0x1cfee6],this[_0x3e80bd(0x2f9)]);try{const _0x4fb5df=this[_0x3e80bd(0x226)][_0x3e80bd(0x291)](_0x1cfee6,[_0x32c4ad[_0x3e80bd(0xb2)]]);if(_0x32c4ad[_0x3e80bd(0x256)](_0x4fb5df)){const {c1Prime:_0x3b9ad6}=_0x4fb5df;return this[_0x3e80bd(0x177)](_0x3b9ad6),this;}throw _0x4fb5df[_0x3e80bd(0x35f)];}catch(_0x40cb8e){return this[_0x3e80bd(0x9f)][_0x3e80bd(0x35f)](_0x40cb8e),this[_0x3e80bd(0x2e8)](!0x1);}}[_0x1b6ca5(0x2e8)](_0x40828c){var _0x5dd37d=_0x1b6ca5;return this[_0x5dd37d(0x172)][_0x5dd37d(0xc8)](_0x35847c['ConflictState'],this[_0x5dd37d(0xfe)],this[_0x5dd37d(0xbb)],null,[],this[_0x5dd37d(0x2f9)],_0x40828c);}['onRemoteAck'](){var _0x3f6176=_0x1b6ca5;throw new Error(_0x3f6176(0xc9));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){var _0x12c466=_0x1b6ca5;return this[_0x12c466(0x172)][_0x12c466(0xc8)](_0x35847c[_0x12c466(0x183)],this[_0x12c466(0xfe)],this['type'],null,[],this[_0x12c466(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x309645=_0x1b6ca5;throw new Error(_0x309645(0x370));}[_0x1b6ca5(0x319)](){var _0x50ed63=_0x1b6ca5;const _0x5edc58=this['_revisionService'][_0x50ed63(0x390)](this[_0x50ed63(0xfe)]);return this['_handler'][_0x50ed63(0x21b)]({'from':_0x5edc58,'to':0x0}),this[_0x50ed63(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x50ed63(0xfe)],this['type'],null,[],null,[],this['_handler']);}},_0x35847c[_0x1b6ca5(0x1fd)]=_0x33358a([_0x3bc723(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608['ILogService']),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x1fd)]),_0x35847c[_0x1b6ca5(0xc7)]=class extends _0x40eaa2{constructor(_0x14bba1,_0xd10fc7,_0x25974f,_0x3372da,_0x377f44,_0x3ef2df,_0x1d3f48,_0xec0653,_0xa401ff,_0x42e5ea,_0x296eaa,_0x82c32f,_0x5ba803,_0x1dff4b){var _0x1a02fd=_0x1b6ca5;super(_0x14bba1,_0xd10fc7,null,_0x25974f,_0x3372da,_0xa401ff,_0x5ba803,_0x3ef2df,_0x1dff4b),_0x1bac5f(this,'status',_0x1a02fd(0x357)),_0x1bac5f(this,_0x1a02fd(0x3c5),null),_0x1bac5f(this,_0x1a02fd(0x1f9),null),(this[_0x1a02fd(0x172)]=_0x377f44,this['_memberService']=_0x1d3f48,this[_0x1a02fd(0x9f)]=_0xec0653,this[_0x1a02fd(0xd8)]=_0x42e5ea,this['_transformService']=_0x296eaa,this[_0x1a02fd(0xe7)]=_0x82c32f);}['appendMutation'](_0x1440a0){var _0x365839=_0x1b6ca5;return this[_0x365839(0x3a9)][_0x365839(0x13f)](_0x1440a0),this[_0x365839(0x220)](),this;}[_0x1b6ca5(0x12f)](_0x4d7355){var _0x36c2b9=_0x1b6ca5;if(this['_checkMissing'](_0x4d7355))return this[_0x36c2b9(0x31d)](),this['_injector'][_0x36c2b9(0xc8)](_0x35847c[_0x36c2b9(0x25e)],this['unitID'],this['type'],null,this[_0x36c2b9(0x3a9)],null,[_0x4d7355],this[_0x36c2b9(0x2f9)]);try{const _0x48f566=this[_0x36c2b9(0x226)][_0x36c2b9(0x291)](_0x4d7355,this['_pendingMutations']);if(_0x32c4ad[_0x36c2b9(0x256)](_0x48f566)){const {c1Prime:_0x3a3b54,m2Prime:_0x112a6a}=_0x48f566;this['_executeRemoteChangeset'](_0x3a3b54);const _0x976f82=this['_injector']['createInstance'](_0x35847c[_0x36c2b9(0xc7)],this[_0x36c2b9(0xfe)],this['type'],_0x112a6a,this['_handler']);this[_0x36c2b9(0x31d)]();const _0x1df099=new Date()[_0x36c2b9(0x3ed)](),_0x1d6b6d=this[_0x36c2b9(0x3c5)]?Math[_0x36c2b9(0x298)](this[_0x36c2b9(0x3c5)]-_0x1df099,0x0):this[_0x36c2b9(0x16f)]();return _0x976f82['_schedule'](_0x1d6b6d),_0x976f82;}throw _0x48f566['error'];}catch(_0x5675cc){return this['_logService'][_0x36c2b9(0x35f)](_0x5675cc),this[_0x36c2b9(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](){var _0x9de6c0=_0x1b6ca5;throw new Error(_0x9de6c0(0x3e4));}[_0x1b6ca5(0xde)](){var _0x1b752a=_0x1b6ca5;throw new Error(_0x1b752a(0xc1));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x55692e=_0x1b6ca5;return this[_0x55692e(0x31d)](),this[_0x55692e(0x172)]['createInstance'](_0x35847c[_0x55692e(0x183)],this[_0x55692e(0xfe)],this['type'],null,this[_0x55692e(0x3a9)],this[_0x55692e(0x2f9)]);}['toggleOnline'](){return this;}[_0x1b6ca5(0x3ff)](_0x772d43){var _0x3453fd=_0x1b6ca5;const _0xe5169b=_0x772d43!=null?_0x772d43:this[_0x3453fd(0x16f)]();this[_0x3453fd(0x3c5)]=new Date()[_0x3453fd(0x3ed)]()+_0xe5169b,this[_0x3453fd(0x1f9)]=setTimeout(()=>{var _0x34e11a=_0x3453fd;this[_0x34e11a(0x31d)]();let _0x5533bd=null;switch(this['type']){case _0x56d87c[_0x34e11a(0x398)]:{_0x5533bd=_0x46ce9b(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}case _0x56d87c[_0x34e11a(0x31a)]:{this['_pendingMutations'][_0x34e11a(0x188)](_0x22d356=>_0x22d356['id']===_0x5068b0[_0x34e11a(0x21d)]['id'])?_0x5533bd=_0x7d0fa8(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]):_0x5533bd=_0x46ce9b(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}default:throw new Error(_0x34e11a(0x1b1)+this[_0x34e11a(0xbb)]+_0x34e11a(0x1dd));}const {changeset:_0x17f6b2,pendingMutations:_0x5a3e1f}=_0x5533bd;this[_0x34e11a(0x2f9)][_0x34e11a(0x3fc)](_0x17f6b2);const _0xc78e9e=_0x5a3e1f[_0x34e11a(0x39e)]?this[_0x34e11a(0x172)][_0x34e11a(0xc8)](_0x35847c[_0x34e11a(0x2e9)],this['unitID'],this[_0x34e11a(0xbb)],_0x17f6b2,_0x5a3e1f,this[_0x34e11a(0x2f9)],void 0x0):this['_injector']['createInstance'](_0x35847c[_0x34e11a(0xd4)],this[_0x34e11a(0xfe)],this[_0x34e11a(0xbb)],_0x17f6b2,this[_0x34e11a(0x2f9)]);_0xc78e9e[_0x34e11a(0x220)](),this['_handler'][_0x34e11a(0x3ec)](this,_0xc78e9e);},_0xe5169b);}['_getSendChangesetTimeout'](){var _0x419ce6=_0x1b6ca5,_0x4fea2d;const _0x289182=this[_0x419ce6(0xd8)][_0x419ce6(0x1ef)](_0x32b669);return(_0x4fea2d=_0x289182==null?void 0x0:_0x289182[_0x419ce6(0x347)])!=null?_0x4fea2d:0x7d0;}[_0x1b6ca5(0x2d2)](){var _0x43a8c6=_0x1b6ca5;throw new Error(_0x43a8c6(0x111));}[_0x1b6ca5(0x31d)](){var _0x9a5ad2=_0x1b6ca5;this['_sendingTimer']!=null&&(clearTimeout(this[_0x9a5ad2(0x1f9)]),this[_0x9a5ad2(0x1f9)]=null);}['_onConflict'](_0x52dcb6){var _0x69eda0=_0x1b6ca5;return this[_0x69eda0(0x31d)](),this[_0x69eda0(0x172)][_0x69eda0(0xc8)](_0x35847c[_0x69eda0(0x3a8)],this['unitID'],this[_0x69eda0(0xbb)],null,this['_pendingMutations'],this['_handler'],_0x52dcb6);}},_0x35847c[_0x1b6ca5(0xc7)]=_0x33358a([_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x6,_0x765608['Inject'](_0x35847c['MemberService'])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x765608['ICommandService']),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x1af)]),_0x3bc723(0xa,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x175)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['PendingState']),_0x35847c[_0x1b6ca5(0xd4)]=class extends _0x40eaa2{constructor(_0x56f10a,_0x310305,_0xb532ba,_0x81252c,_0x4d8df0,_0x1a9090,_0x43fa52,_0x5c18a9,_0x11b0c5,_0x28a5b4,_0x534f21){var _0x19a0ce=_0x1b6ca5;super(_0x56f10a,_0x310305,_0xb532ba,[],_0x81252c,_0x43fa52,_0x28a5b4,_0x1a9090,_0x534f21),_0x1bac5f(this,_0x19a0ce(0x2cd),_0x19a0ce(0x320)),_0x1bac5f(this,_0x19a0ce(0x201),0x0),_0x1bac5f(this,_0x19a0ce(0xca)),_0x1bac5f(this,_0x19a0ce(0x3fb)),(this['_injector']=_0x4d8df0,this[_0x19a0ce(0x9f)]=_0x5c18a9,this[_0x19a0ce(0x226)]=_0x11b0c5);}[_0x1b6ca5(0x377)](_0x2f6b5b){var _0x577211=_0x1b6ca5;this['_clearScheduledTask']();const _0x393d4f=this[_0x577211(0x172)][_0x577211(0xc8)](_0x35847c[_0x577211(0x2e9)],this[_0x577211(0xfe)],this['type'],this['_awaitingChangeset'],[_0x2f6b5b],this['_handler'],this[_0x577211(0xca)]);return _0x393d4f[_0x577211(0x220)](),_0x393d4f;}[_0x1b6ca5(0x12f)](_0x5d6042){var _0x4e367d=_0x1b6ca5;if(this[_0x4e367d(0x37d)](_0x5d6042))return this[_0x4e367d(0x31d)](),this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0x25e)],this[_0x4e367d(0xfe)],this[_0x4e367d(0xbb)],this[_0x4e367d(0x2bb)],[],null,[_0x5d6042],this[_0x4e367d(0x2f9)]);try{const _0x560ccb=this[_0x4e367d(0x226)][_0x4e367d(0x2c6)]([_0x5d6042],[this[_0x4e367d(0x2bb)]],!0x1);if(_0x32c4ad[_0x4e367d(0xcd)](_0x560ccb)){const {c1Prime:_0x2fbd4f,c2Prime:_0x1d3524}=_0x560ccb;this[_0x4e367d(0x177)](_0x2fbd4f[0x0]),_0x1d3524[0x0][_0x4e367d(0x292)]=this[_0x4e367d(0x1e5)](),this[_0x4e367d(0x31d)]();const _0x5dcf79=this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0xd4)],this['unitID'],this['type'],_0x1d3524[0x0],this[_0x4e367d(0x2f9)]);return _0x5dcf79[_0x4e367d(0x220)](),_0x5dcf79;}return this['_onConflict'](!0x1);}catch(_0x457977){return this[_0x4e367d(0x9f)]['error'](_0x457977),this[_0x4e367d(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x5065e6){var _0x10bcce=_0x1b6ca5;this[_0x10bcce(0x31d)]();const _0x3bb061=this[_0x10bcce(0x2d0)][_0x10bcce(0x390)](this['unitID']);if(_0x5065e6[_0x10bcce(0x2e6)]<_0x3bb061-0x1)return this;if(this[_0x10bcce(0x37d)](_0x5065e6))return this[_0x10bcce(0x172)]['createInstance'](_0x35847c[_0x10bcce(0x25e)],this[_0x10bcce(0xfe)],this[_0x10bcce(0xbb)],null,[],this[_0x10bcce(0x2bb)],[],this['_handler']);this[_0x10bcce(0x32d)]();const _0x52e9cb=this['_injector']['createInstance'](_0x35847c[_0x10bcce(0x1fd)],this['unitID'],this['type'],this[_0x10bcce(0x2f9)]);return _0x52e9cb[_0x10bcce(0x220)](),_0x52e9cb;}['onRemoteRej'](_0x1d1a4){var _0x5e7f99=_0x1b6ca5;return this['_onConflict'](!!(_0x1d1a4!=null&&_0x1d1a4[_0x5e7f99(0xb3)]));}['onRemoteRetry'](_0x4bdb50){var _0x1939a1=_0x1b6ca5;return this[_0x1939a1(0x201)]>_0x5b1990?this[_0x1939a1(0x265)]():(this[_0x1939a1(0xca)]=_0x54537f(this[_0x1939a1(0x201)],{'timeout':this[_0x1939a1(0x201)],'reqId':_0x4bdb50[_0x1939a1(0x393)]}),this[_0x1939a1(0x3fb)]=this[_0x1939a1(0xca)][_0x1939a1(0xf0)](({reqId:_0x2c5aba,timeout:_0x177765})=>{var _0xe40e03=_0x1939a1;this[_0xe40e03(0x37c)](_0x2c5aba,_0x177765);}),this);}['toggleOffline'](){var _0x387dc3=_0x1b6ca5;return this[_0x387dc3(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x387dc3(0x183)],this['unitID'],this[_0x387dc3(0xbb)],this[_0x387dc3(0x2bb)],[],this[_0x387dc3(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}['resend'](){var _0xad04e5=_0x1b6ca5;this[_0xad04e5(0x2f9)][_0xad04e5(0x3fc)](this[_0xad04e5(0x2bb)]);}[_0x1b6ca5(0x2e8)](_0x4c3d08){var _0x56d912=_0x1b6ca5;return this[_0x56d912(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x56d912(0x3a8)],this['unitID'],this[_0x56d912(0xbb)],this['_awaitingChangeset'],[],this['_handler'],_0x4c3d08);}[_0x1b6ca5(0x37c)](_0x2c1468,_0x42aee2){var _0xa3b44d=_0x1b6ca5,_0x24d5cf;_0x2c1468===((_0x24d5cf=this[_0xa3b44d(0x2bb)])==null?void 0x0:_0x24d5cf[_0xa3b44d(0x393)])&&(this[_0xa3b44d(0x2d2)](),this[_0xa3b44d(0x201)]=_0x42aee2===0x0?0x3e8:_0x42aee2*0x2);}[_0x1b6ca5(0x31d)](){var _0x454e76=_0x1b6ca5,_0x2c27ff;(_0x2c27ff=this[_0x454e76(0x3fb)])==null||_0x2c27ff['unsubscribe'](),this[_0x454e76(0x201)]=0x0;}},_0x35847c[_0x1b6ca5(0xd4)]=_0x33358a([_0x3bc723(0x4,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xa,_0x765608['Optional'](_0x9f10c))],_0x35847c['AwaitingState']),_0x35847c[_0x1b6ca5(0x2e9)]=class extends _0x40eaa2{constructor(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x5abdef,_0x3d0069,_0x3138f6,_0x2b8c4d,_0x4159a9,_0x591d9f,_0x3221a8,_0x4a39c9){var _0x4cb4d5=_0x1b6ca5;super(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x2b8c4d,_0x3221a8,_0x3138f6,_0x4a39c9),_0x1bac5f(this,_0x4cb4d5(0x2cd),_0x4cb4d5(0x2fb)),_0x1bac5f(this,_0x4cb4d5(0x201),0x0),_0x1bac5f(this,_0x4cb4d5(0xca)),_0x1bac5f(this,'_sender'),(this['_injector']=_0x3d0069,this[_0x4cb4d5(0x9f)]=_0x4159a9,this[_0x4cb4d5(0x226)]=_0x591d9f,this[_0x4cb4d5(0x389)]=_0x4a39c9,_0x5abdef&&(this[_0x4cb4d5(0xca)]=_0x5abdef,this['_sender']=this[_0x4cb4d5(0xca)][_0x4cb4d5(0xf0)](({reqId:_0x3583db,timeout:_0x3b2514})=>{this['_resendWithTimeout'](_0x3583db,_0x3b2514);})));}['appendMutation'](_0x5bd059){var _0x294b1f=_0x1b6ca5;return this[_0x294b1f(0x3a9)][_0x294b1f(0x13f)](_0x5bd059),this;}[_0x1b6ca5(0x12f)](_0x5810b7){var _0x46c072=_0x1b6ca5;if(this['_checkMissing'](_0x5810b7))return this[_0x46c072(0x31d)](),this[_0x46c072(0x172)]['createInstance'](_0x35847c[_0x46c072(0x25e)],this[_0x46c072(0xfe)],this['type'],this[_0x46c072(0x2bb)],this[_0x46c072(0x3a9)],null,[_0x5810b7],this[_0x46c072(0x2f9)]);try{const _0x255b0c=this['_transformService']['transformChangesets']([_0x5810b7],[this['_awaitingChangeset']],!0x1);if(_0x32c4ad[_0x46c072(0xcd)](_0x255b0c)){const {c1Prime:_0x2e32a7,c2Prime:_0x2b0c68}=_0x255b0c,_0x519da5=this[_0x46c072(0x226)][_0x46c072(0x291)](_0x2e32a7[0x0],this[_0x46c072(0x3a9)]);if(_0x32c4ad[_0x46c072(0x256)](_0x519da5)){const {c1Prime:_0x3661a5,m2Prime:_0x409890}=_0x519da5;return this[_0x46c072(0x177)](_0x3661a5),_0x2b0c68[0x0][_0x46c072(0x292)]=this[_0x46c072(0x1e5)](),this[_0x46c072(0x31d)](),this['_injector'][_0x46c072(0xc8)](_0x35847c[_0x46c072(0x2e9)],this[_0x46c072(0xfe)],this[_0x46c072(0xbb)],_0x2b0c68[0x0],_0x409890,this['_handler'],void 0x0);}throw _0x519da5['error'];}throw _0x255b0c[_0x46c072(0x35f)];}catch(_0x3cc83c){return this[_0x46c072(0x9f)][_0x46c072(0x35f)](_0x3cc83c),this[_0x46c072(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x3264a8){var _0x386560=_0x1b6ca5;if(this[_0x386560(0x31d)](),this[_0x386560(0x37d)](_0x3264a8))return this[_0x386560(0x172)][_0x386560(0xc8)](_0x35847c[_0x386560(0x25e)],this['unitID'],this[_0x386560(0xbb)],null,this['_pendingMutations'],this[_0x386560(0x2bb)],[],this[_0x386560(0x2f9)]);this[_0x386560(0x32d)]();const _0x152bb1=this[_0x386560(0x172)]['createInstance'](_0x35847c[_0x386560(0xc7)],this[_0x386560(0xfe)],this[_0x386560(0xbb)],this[_0x386560(0x3a9)],this[_0x386560(0x2f9)]);return _0x152bb1['_schedule'](),_0x152bb1[_0x386560(0x220)](),_0x152bb1;}[_0x1b6ca5(0xde)](_0xbb46b6){var _0x10f7cd=_0x1b6ca5;return this[_0x10f7cd(0x2e8)](!!(_0xbb46b6!=null&&_0xbb46b6[_0x10f7cd(0xb3)]));}[_0x1b6ca5(0x264)](_0x2ce39f){var _0x474ba3=_0x1b6ca5;return this['_resendTimeout']>_0x5b1990?this[_0x474ba3(0x265)]():(this[_0x474ba3(0xca)]=_0x54537f(this[_0x474ba3(0x201)],{'timeout':this['_resendTimeout'],'reqId':_0x2ce39f[_0x474ba3(0x393)]}),this['_sender']=this[_0x474ba3(0xca)]['subscribe'](({reqId:_0x3d1c7e,timeout:_0x3f4f01})=>{this['_resendWithTimeout'](_0x3d1c7e,_0x3f4f01);}),this);}[_0x1b6ca5(0x265)](){var _0x35cad4=_0x1b6ca5;return this[_0x35cad4(0x31d)](),this[_0x35cad4(0x172)][_0x35cad4(0xc8)](_0x35847c['OfflineState'],this['unitID'],this[_0x35cad4(0xbb)],this[_0x35cad4(0x2bb)],this[_0x35cad4(0x3a9)],this[_0x35cad4(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x114a40=_0x1b6ca5;this[_0x114a40(0x2f9)][_0x114a40(0x3fc)](this[_0x114a40(0x2bb)]);}['_onConflict'](_0x1c7492){var _0x37469f=_0x1b6ca5;return this[_0x37469f(0x31d)](),this['_injector'][_0x37469f(0xc8)](_0x35847c[_0x37469f(0x3a8)],this[_0x37469f(0xfe)],this[_0x37469f(0xbb)],null,this[_0x37469f(0x3a9)],this[_0x37469f(0x2f9)],_0x1c7492);}[_0x1b6ca5(0x37c)](_0x9112c1,_0x418378){var _0x38eb11=_0x1b6ca5,_0x4b721b;_0x9112c1===((_0x4b721b=this[_0x38eb11(0x2bb)])==null?void 0x0:_0x4b721b['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x418378===0x0?0x3e8:_0x418378*0x2);}['_clearScheduledTask'](){var _0x527105=_0x1b6ca5,_0x4d0d03;(_0x4d0d03=this[_0x527105(0x3fb)])==null||_0x4d0d03[_0x527105(0x7c)](),this['_resendTimeout']=0x0;}},_0x35847c[_0x1b6ca5(0x2e9)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x32c4ad['ITransformService']),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x2e9)]),_0x35847c[_0x1b6ca5(0x3a8)]=class extends _0x40eaa2{constructor(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0xc4579a=!0x1,_0xbd92c8,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x30516f,_0x16604e,_0x3abd8d){var _0x380cf8=_0x1b6ca5;super(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x3abd8d),_0x1bac5f(this,_0x380cf8(0x2cd),_0x380cf8(0x391)),(this[_0x380cf8(0x281)]=_0xc4579a,this['_permissionService']=_0xbd92c8,this[_0x380cf8(0x237)]=_0x30516f,this['_collaborationUIEventService']=_0x16604e,this[_0x380cf8(0x389)]=_0x3abd8d,this['_showConflictNotification'](),this[_0x380cf8(0x1a4)](),this[_0x380cf8(0x1e6)]());}[_0x1b6ca5(0x377)](){return this;}[_0x1b6ca5(0x12f)](){return this;}[_0x1b6ca5(0x206)](){return this;}[_0x1b6ca5(0xde)](){return this;}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){return this;}['toggleOnline'](){return this;}[_0x1b6ca5(0x2d2)](){var _0x3c73f8=_0x1b6ca5;throw new Error(_0x3c73f8(0x289));}['_clearLocalCache'](){var _0x59f082=_0x1b6ca5,_0x2d0393;(_0x2d0393=this['_localCacheService'])==null||_0x2d0393[_0x59f082(0x19a)](this[_0x59f082(0xfe)],this['type'],null,[]);}[_0x1b6ca5(0x18f)](){var _0x5d801c=_0x1b6ca5;this['_isPermissionRej']?this[_0x5d801c(0x322)][_0x5d801c(0x106)]({'id':_0x4d6e97['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x5d801c(0x106)]({'id':_0x4d6e97[_0x5d801c(0x3f0)]});}['_disableEditing'](){var _0x16a4b5=_0x1b6ca5;this[_0x16a4b5(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x16a4b5(0x228))](this[_0x16a4b5(0xfe)])['id'],!0x1);}},_0x35847c[_0x1b6ca5(0x3a8)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x112)])),_0x3bc723(0x7,_0x765608['ICommandService']),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0xa,_0x765608['Inject'](_0x765608['LocaleService'])),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['ConflictState']),_0x35847c[_0x1b6ca5(0x183)]=class extends _0x40eaa2{constructor(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x2ef681,_0x34b771,_0x163622,_0x2ee5e8,_0x4cb79f){var _0x5056eb=_0x1b6ca5;super(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x163622,_0x2ee5e8,_0x34b771,_0x4cb79f),_0x1bac5f(this,'status','offline'),this[_0x5056eb(0x172)]=_0x2ef681;}[_0x1b6ca5(0x377)](_0x169441){var _0x3a0ce9=_0x1b6ca5;return this[_0x3a0ce9(0x3a9)]['push'](_0x169441),this['_updateLocalCache'](),this;}[_0x1b6ca5(0x12f)](_0x3c8c64){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1b6ca5(0x206)](){var _0x4b11b8=_0x1b6ca5;throw new Error(_0x4b11b8(0x2af));}[_0x1b6ca5(0xde)](){var _0x5947fc=_0x1b6ca5;throw new Error(_0x5947fc(0x2a3));}[_0x1b6ca5(0x264)](){return this;}[_0x1b6ca5(0x265)](){return this;}[_0x1b6ca5(0x3fd)](){var _0xbdea32=_0x1b6ca5;const {_injector:_0x10191e,_pendingMutations:_0x334b91,_awaitingChangeset:_0x3c608c,unitID:_0x4ab40a,_handler:_0x3fc1a3,type:_0x5ec5c8}=this,_0x285db8=_0x437143(_0x10191e,_0x4ab40a,_0x5ec5c8,_0x3c608c,_0x334b91,_0x3fc1a3);return _0x285db8 instanceof _0x35847c[_0xbdea32(0xc7)]?_0x285db8['_schedule']():(_0x285db8 instanceof _0x35847c[_0xbdea32(0x2e9)]||_0x285db8 instanceof _0x35847c['AwaitingState'])&&_0x285db8[_0xbdea32(0x2d2)](),_0x285db8;}['resend'](){var _0x306c24=_0x1b6ca5;throw new Error(_0x306c24(0x241));}},_0x35847c['OfflineState']=_0x33358a([_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['Injector'])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608['Optional'](_0x9f10c))],_0x35847c[_0x1b6ca5(0x183)]),_0x35847c[_0x1b6ca5(0x25e)]=class extends _0x40eaa2{constructor(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0x37e4db,_0x3a0a2f,_0xe92a44,_0x12163e,_0x3b15d6,_0x4bee77,_0x3b5a4d,_0xddb263,_0x1c431a,_0x449f28){var _0x54aab6=_0x1b6ca5;super(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0xe92a44,_0x3b5a4d,_0xddb263,_0x3b15d6,_0x449f28),_0x1bac5f(this,'status',_0x54aab6(0x3c6)),(this[_0x54aab6(0x396)]=_0x37e4db,this[_0x54aab6(0x385)]=_0x3a0a2f,this['_injector']=_0x12163e,this[_0x54aab6(0x9f)]=_0x4bee77,this[_0x54aab6(0x226)]=_0x1c431a,this[_0x54aab6(0x389)]=_0x449f28);}[_0x1b6ca5(0x288)](_0x2ee86c){var _0x3e85fe=_0x1b6ca5;try{const _0x4f2db4=[..._0x2ee86c,...this[_0x3e85fe(0x385)]],_0x1ba750=[this['_awaitingChangeset']||this[_0x3e85fe(0x396)]]['filter'](_0xca613f=>!!_0xca613f);let _0x27adf2,_0x5f5092;if(_0x1ba750[_0x3e85fe(0x39e)]){const _0xdd61ce=this[_0x3e85fe(0x226)][_0x3e85fe(0x2c6)](_0x4f2db4,_0x1ba750,!0x1);if(!_0x32c4ad[_0x3e85fe(0xcd)](_0xdd61ce))throw _0xdd61ce[_0x3e85fe(0x35f)];_0x27adf2=_0xdd61ce[_0x3e85fe(0x147)],_0x5f5092=_0xdd61ce[_0x3e85fe(0x374)];}else _0x27adf2=_0x4f2db4,_0x5f5092=[];let _0x129e22=this['_pendingMutations'];_0x27adf2[_0x3e85fe(0x1d1)](_0x42ab9b=>{var _0x3a5a11=_0x3e85fe;let _0x340454;if(_0x129e22[_0x3a5a11(0x39e)]){const _0x3d5316=this['_transformService'][_0x3a5a11(0x291)](_0x42ab9b,_0x129e22);if(!_0x32c4ad[_0x3a5a11(0x256)](_0x3d5316))throw _0x3d5316['error'];_0x340454=_0x3d5316['c1Prime'],_0x129e22=_0x3d5316[_0x3a5a11(0x1b7)];}else _0x340454=_0x42ab9b;this[_0x3a5a11(0x177)](_0x340454);}),this[_0x3e85fe(0x396)]&&this['_incrementRevisionNumber'](),this[_0x3e85fe(0x2bb)]&&_0x5f5092[_0x3e85fe(0x39e)]&&(_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)]());let _0x2b0abe;if(this[_0x3e85fe(0x2bb)]&&_0x129e22[_0x3e85fe(0x39e)]!==0x0)_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x2e9)],this[_0x3e85fe(0xfe)],this['type'],_0x5f5092[0x0],_0x129e22,this[_0x3e85fe(0x2f9)],void 0x0);else{if(this[_0x3e85fe(0x2bb)]&&_0x129e22['length']===0x0)_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)](),_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0xd4)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x5f5092[0x0],this[_0x3e85fe(0x2f9)]);else{if(_0x129e22[_0x3e85fe(0x39e)]!==0x0){const _0x2050d2=this[_0x3e85fe(0x172)]['createInstance'](_0x35847c[_0x3e85fe(0xc7)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x129e22,this[_0x3e85fe(0x2f9)]);_0x2050d2['_schedule'](),_0x2b0abe=_0x2050d2;}else _0x2b0abe=this['_injector']['createInstance'](_0x35847c[_0x3e85fe(0x1fd)],this['unitID'],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2f9)]);}}return _0x2b0abe['_updateLocalCache'](),_0x2b0abe;}catch(_0x2649d4){return this[_0x3e85fe(0x9f)]['error'](_0x3e85fe(0x18d),_0x3e85fe(0x8f),_0x2649d4),this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x3a8)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2bb)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1b6ca5(0x2d2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b6ca5(0x377)](_0x31dbb8){var _0x190bde=_0x1b6ca5;return this['_pendingMutations'][_0x190bde(0x13f)](_0x31dbb8),this;}[_0x1b6ca5(0x12f)](_0xc62fc5){return this['_queuedRemoteChangesets']['push'](_0xc62fc5),this;}[_0x1b6ca5(0x206)](_0x5bc260){var _0x44663a=_0x1b6ca5;if(this['_awaitingChangeset'])return this[_0x44663a(0x396)]=this[_0x44663a(0x2bb)],this[_0x44663a(0x2bb)]=null,this;throw new Error(_0x44663a(0x2bd));}[_0x1b6ca5(0xde)](_0x3a8a7c){var _0x4b42b3=_0x1b6ca5;return this['_onConflict'](!!(_0x3a8a7c!=null&&_0x3a8a7c[_0x4b42b3(0xb3)]));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x585431=_0x1b6ca5;return this['_injector'][_0x585431(0xc8)](_0x35847c[_0x585431(0x183)],this[_0x585431(0xfe)],this[_0x585431(0xbb)],this[_0x585431(0x2bb)],this[_0x585431(0x3a9)],this[_0x585431(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2e8)](_0x42cc1e){var _0x4440b1=_0x1b6ca5;return this['_injector']['createInstance'](_0x35847c[_0x4440b1(0x3a8)],this[_0x4440b1(0xfe)],this[_0x4440b1(0xbb)],this['_awaitingChangeset'],this[_0x4440b1(0x3a9)],this[_0x4440b1(0x2f9)],_0x42cc1e);}},_0x35847c[_0x1b6ca5(0x25e)]=_0x33358a([_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['FetchingMissState']);function _0x437143(_0x1ab710,_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c){var _0x2c849c=_0x1b6ca5;return _0x4eb6d5&&_0x5a3b04[_0x2c849c(0x39e)]?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x2e9)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c,void 0x0):_0x4eb6d5?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xd4)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x4d7f3c):_0x5a3b04['length']?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xc7)],_0x25409f,_0x30dc9e,_0x5a3b04,_0x4d7f3c):_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x1fd)],_0x25409f,_0x30dc9e,_0x4d7f3c);}var _0x330911=Object[_0x1b6ca5(0x1d2)],_0x31d509=(_0x3394c3,_0x243f6d,_0x472381,_0x1d2670)=>{var _0x2a7761=_0x1b6ca5;for(var _0x27bf9b=_0x1d2670>0x1?void 0x0:_0x1d2670?_0x330911(_0x243f6d,_0x472381):_0x243f6d,_0x381393=_0x3394c3[_0x2a7761(0x39e)]-0x1,_0x53bb43;_0x381393>=0x0;_0x381393--)(_0x53bb43=_0x3394c3[_0x381393])&&(_0x27bf9b=_0x53bb43(_0x27bf9b)||_0x27bf9b);return _0x27bf9b;},_0x1d2720=(_0x1eebaf,_0x47d5ad)=>(_0x3b5907,_0x18a11f)=>_0x47d5ad(_0x3b5907,_0x18a11f,_0x1eebaf);_0x35847c['CollaborationEntity']=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x555c8b,_0x3f4fe4,_0xc8e6dd,_0xf4148c,_0x255ede,_0x287b34,_0x2e3a27,_0x51fc2c,_0x379d8a,_0x575380,_0x138293,_0x29533f,_0x5a04ae,_0x366d3d){var _0x14b0c6=_0x1b6ca5;super(),_0x1bac5f(this,_0x14b0c6(0x311),new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x14b0c6(0x248),this[_0x14b0c6(0x311)]['asObservable']()),_0x1bac5f(this,_0x14b0c6(0x2ef)),_0x1bac5f(this,'_collaborationPaused',!0x1),_0x1bac5f(this,_0x14b0c6(0x3d4),''),_0x1bac5f(this,_0x14b0c6(0x1c8),0x0),_0x1bac5f(this,_0x14b0c6(0x33c),this[_0x14b0c6(0x248)]['pipe'](_0x2f43df[_0x14b0c6(0x10d)](_0x57295d=>_0x57295d?_0x57295d['status']:_0x528d90[_0x14b0c6(0x1c5)]),_0x2f43df[_0x14b0c6(0x202)](0x1))),_0x1bac5f(this,'_transitionLocked',!0x1),_0x1bac5f(this,_0x14b0c6(0xc5),[]),(this['unitID']=_0x555c8b,this[_0x14b0c6(0xa6)]=_0x3f4fe4,this['_type']=_0xc8e6dd,this[_0x14b0c6(0x172)]=_0xf4148c,this[_0x14b0c6(0xbf)]=_0x255ede,this[_0x14b0c6(0x237)]=_0x287b34,this[_0x14b0c6(0x2d0)]=_0x2e3a27,this[_0x14b0c6(0x212)]=_0x51fc2c,this[_0x14b0c6(0xe7)]=_0x379d8a,this[_0x14b0c6(0x9f)]=_0x575380,this['_commandService']=_0x138293,this[_0x14b0c6(0x1d5)]=_0x29533f,this[_0x14b0c6(0x79)]=_0x5a04ae,this[_0x14b0c6(0x294)]=_0x366d3d);}get[_0x1b6ca5(0x219)](){return this['_state'];}async[_0x1b6ca5(0x82)](){var _0x239814=_0x1b6ca5;if(this['state'])throw new Error(_0x239814(0x32b));await this[_0x239814(0xfc)]();}[_0x1b6ca5(0x301)](){var _0x3ffa95=_0x1b6ca5;return this[_0x3ffa95(0x31c)]=!0x0,_0x765608[_0x3ffa95(0x182)](()=>{var _0x568137=_0x3ffa95;this[_0x568137(0x31c)]=!0x1,this[_0x568137(0x17c)]();});}[_0x1b6ca5(0x2b8)](_0x471c07){this['_onLocalMutation'](_0x471c07);}[_0x1b6ca5(0xb5)](_0x392c30){var _0x146850=_0x1b6ca5;this[_0x146850(0x2ef)]=_0x392c30,this[_0x146850(0x311)][_0x146850(0x1a2)](_0x392c30);}async[_0x1b6ca5(0xfc)](){var _0x721cce=_0x1b6ca5,_0x31080c;this['_updateState'](await this['_createInitialState']()),this[_0x721cce(0x79)]&&((_0x31080c=this[_0x721cce(0x79)])==null||_0x31080c['editingUnit'](this[_0x721cce(0xfe)]),this[_0x721cce(0x115)](this[_0x721cce(0x79)][_0x721cce(0x379)](this[_0x721cce(0xfe)])[_0x721cce(0xf0)](_0x3c07c1=>{var _0x1d7890=_0x721cce;this[_0x1d7890(0x9f)][_0x1d7890(0x368)](_0x1d7890(0xa8),'editing\x20status\x20changed\x20to',_0x3c07c1),_0x3c07c1===_0x1601ee['OTHER_CLIENTS_EDITING']?(this[_0x1d7890(0x212)][_0x1d7890(0x106)]({'id':_0x4d6e97[_0x1d7890(0x23e)]}),this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce['WorkbookEditablePermission'](this[_0x1d7890(0xfe)])['id'],!0x1),this[_0x1d7890(0x1d5)][_0x1d7890(0x104)](!0x1)):(this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce[(_0x1d7890(0x228))](this[_0x1d7890(0xfe)])['id'],!0x0),this[_0x1d7890(0x1d5)]['setShowComponents'](!0x0));})));let _0x28a670=!0x1;return this[_0x721cce(0x115)](this[_0x721cce(0xa6)]['sessionStatus$'][_0x721cce(0xf0)](_0x35ecbb=>{var _0x238df9=_0x721cce;_0x35ecbb===_0x34dd1c[_0x238df9(0x22e)]?this[_0x238df9(0x3c9)](_0x28a670):_0x35ecbb===_0x34dd1c[_0x238df9(0x1c5)]&&(_0x28a670=!0x0,this['_toggleOffline']());})),this[_0x721cce(0x115)](this[_0x721cce(0xa6)][_0x721cce(0x34d)][_0x721cce(0xf0)](_0x227e8c=>{var _0x4381b6=_0x721cce;try{switch(_0x227e8c[_0x4381b6(0x239)]){case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x1f6)]:{this[_0x4381b6(0x1f4)](_0x32c4ad[_0x4381b6(0x232)](_0x227e8c[_0x4381b6(0x3c7)]));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x20f)]:{this[_0x4381b6(0x36d)](_0x227e8c[_0x4381b6(0x3c7)]);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0xbe)]:{this['_onRemoteRejected']();break;}case _0x32c4ad[_0x4381b6(0x28d)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x227e8c['data']);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0x2dc)]:{this[_0x4381b6(0x349)](_0x227e8c['data'][_0x4381b6(0x3bf)]['map'](_0x369aab=>_0x32c4ad[_0x4381b6(0x232)](_0x369aab)));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x3dc)]:{this[_0x4381b6(0x134)]({'isPermissionRej':!0x0});break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x34c)]:break;}}catch(_0x94a9c0){throw console[_0x4381b6(0x35f)](_0x4381b6(0x350),_0x94a9c0),_0x94a9c0;}})),this[_0x721cce(0x2ef)];}[_0x1b6ca5(0x324)](){this['_transitionLocked']=!0x1;}[_0x1b6ca5(0x254)](){var _0x3f6d18=_0x1b6ca5;if(this[_0x3f6d18(0x300)])throw new Error(_0x3f6d18(0x16a));this[_0x3f6d18(0x300)]=!0x0;}[_0x1b6ca5(0x145)](_0x459893){var _0x2c1831=_0x1b6ca5;this[_0x2c1831(0x254)](),this[_0x2c1831(0xb5)](this[_0x2c1831(0x2ef)][_0x2c1831(0x377)](_0x459893)),this[_0x2c1831(0x324)]();}[_0x1b6ca5(0x1f4)](_0x3f709b){var _0x51fdbb=_0x1b6ca5;if(!(_0x3f709b[_0x51fdbb(0x2e6)]<=this[_0x51fdbb(0x2d0)][_0x51fdbb(0x390)](this['unitID']))){if(this[_0x51fdbb(0x31c)]){this[_0x51fdbb(0xc5)]['push'](_0x3f709b);return;}this[_0x51fdbb(0xf2)](_0x3f709b);}}['_exhaustRemoteChangesetQueue'](){var _0x12f8c9=_0x1b6ca5;this[_0x12f8c9(0xc5)]['forEach'](_0xc1220d=>this['_applyRemoteChangeset'](_0xc1220d)),this[_0x12f8c9(0xc5)]=[];}[_0x1b6ca5(0xf2)](_0x5aac36){var _0x38f743=_0x1b6ca5;const _0x1d8c0f=this[_0x38f743(0xbf)][_0x38f743(0x305)]['fetchThroughInterceptors'](this[_0x38f743(0xbf)][_0x38f743(0x305)][_0x38f743(0x32a)]()[_0x38f743(0x2fc)])(_0x5aac36[_0x38f743(0x233)],null)||_0x5aac36[_0x38f743(0x233)],_0x2ba98e={..._0x5aac36,'mutations':_0x1d8c0f};this[_0x38f743(0x254)](),this['_updateState'](this['_state'][_0x38f743(0x12f)](_0x2ba98e)),this['_unlockTransition']();}[_0x1b6ca5(0x36d)](_0xe81c65){var _0x392912=_0x1b6ca5;this[_0x392912(0x254)](),this[_0x392912(0xb5)](this['_state'][_0x392912(0x206)](_0xe81c65)),this['_unlockTransition']();}[_0x1b6ca5(0x134)](_0x3fba0e){var _0x1dbf47=_0x1b6ca5;this[_0x1dbf47(0x254)](),this[_0x1dbf47(0xb5)](this['_state'][_0x1dbf47(0xde)](_0x3fba0e)),this[_0x1dbf47(0x324)]();}['_onRemoteRetry'](_0x3de13e){var _0x3e1b19=_0x1b6ca5;this[_0x3e1b19(0x254)](),this['_updateState'](this['_state'][_0x3e1b19(0x264)](_0x3de13e)),this['_unlockTransition']();}[_0x1b6ca5(0x349)](_0x2ee3c5){var _0x11f6a1=_0x1b6ca5;if(!(this['_state']instanceof _0x35847c[_0x11f6a1(0x25e)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5bd7b8=_0x2ee3c5[_0x11f6a1(0x10d)](_0x39d9b3=>{var _0x4f1621=_0x11f6a1;const _0x26bfb9=this[_0x4f1621(0xbf)][_0x4f1621(0x305)][_0x4f1621(0x7d)](this[_0x4f1621(0xbf)]['interceptor'][_0x4f1621(0x32a)]()[_0x4f1621(0x2fc)])(_0x39d9b3['mutations'],null)||_0x39d9b3['mutations'];return{..._0x39d9b3,'mutations':_0x26bfb9};});this[_0x11f6a1(0x254)](),this[_0x11f6a1(0xb5)](this[_0x11f6a1(0x2ef)][_0x11f6a1(0x288)](_0x5bd7b8)),this[_0x11f6a1(0x324)]();}[_0x1b6ca5(0x1f2)](){var _0x1daf10=_0x1b6ca5;this[_0x1daf10(0x254)](),this[_0x1daf10(0xb5)](this['_state'][_0x1daf10(0x265)]()),this['_unlockTransition']();}['_toggleOnline'](_0x5880a1=!0x1){var _0x51d4a2=_0x1b6ca5;this['_lockTransition'](),this[_0x51d4a2(0xb5)](this[_0x51d4a2(0x2ef)]['toggleOnline']()),this[_0x51d4a2(0x324)]();const _0x2d043f=this['_state'];_0x5880a1&&_0x2d043f instanceof _0x35847c['SyncedState']&&(this['_lockTransition'](),this[_0x51d4a2(0xb5)](_0x2d043f[_0x51d4a2(0x319)]()),this[_0x51d4a2(0x324)]());}async[_0x1b6ca5(0x3d2)](){return new Promise(_0x4d4a90=>{var _0x55fc02=_0x1ac4;this[_0x55fc02(0xa6)][_0x55fc02(0x132)]['pipe'](_0x2f43df[_0x55fc02(0x274)](0x1))['subscribe'](async _0x2f2595=>{var _0x4d8c69=_0x55fc02;_0x4d4a90(await this['_createInitialStateImpl'](_0x2f2595===_0x34dd1c[_0x4d8c69(0x22e)]));});});}[_0x1b6ca5(0x14b)](){var _0x534184=_0x1b6ca5;const _0xa51c62=this[_0x534184(0xfe)];return{'onStateChange':(_0xfa7124,_0x205d7c)=>{var _0xa666ae=_0x534184;if(_0xfa7124!==this[_0xa666ae(0x2ef)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xfa7124['status']+_0xa666ae(0x38d)+_0x205d7c['status']+_0xa666ae(0x252)+this[_0xa666ae(0x2ef)][_0xa666ae(0x2cd)]);this[_0xa666ae(0xb5)](_0x205d7c);},'onSendChangeset':_0x33d200=>{var _0x965746=_0x534184;_0x33d200['sid']||(_0x33d200[_0x965746(0x7e)]=this[_0x965746(0x3d4)],_0x33d200['reqId']=++this[_0x965746(0x1c8)]);const _0x452806={'eventID':_0x32c4ad['CollaborationEvent'][_0x965746(0x209)],'data':{'unitID':_0x33d200[_0x965746(0xfe)],'unitType':this[_0x965746(0x307)],'changeset':_0x33d200,'memberID':this['session'][_0x965746(0x14c)]()}};this[_0x965746(0xa6)][_0x965746(0x8a)](_0x452806,this[_0x965746(0xfe)]);},'onMissingChangesets':({from:_0x470924,to:_0x2dfd36})=>{var _0x4f2bbb=_0x534184;this['_logService'][_0x4f2bbb(0x368)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x470924+_0x4f2bbb(0x1a3)+_0x2dfd36);const _0x56ac73={'eventID':_0x32c4ad['CollaborationEvent'][_0x4f2bbb(0x181)],'data':{'unitID':_0xa51c62,'unitType':this['_type'],'from':_0x470924,'to':_0x2dfd36}};this['session'][_0x4f2bbb(0x8a)](_0x56ac73,this[_0x4f2bbb(0xfe)]);}};}async[_0x1b6ca5(0x309)](_0x59fc2d){var _0x4029c2=_0x1b6ca5,_0x2e3a5e,_0x314394,_0x46fd82;const _0x489b45=await((_0x2e3a5e=this['_localCacheService'])==null?void 0x0:_0x2e3a5e[_0x4029c2(0x1eb)](this['unitID'])),_0x558e39=(_0x314394=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x233)])!=null?_0x314394:[],_0x2cdf2b=(_0x46fd82=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x1fc)])!=null?_0x46fd82:null,_0x2062b1=!!(_0x2cdf2b!=null&&_0x2cdf2b[_0x4029c2(0x7e)])&&!!(_0x2cdf2b!=null&&_0x2cdf2b['reqId']);this[_0x4029c2(0x3d4)]=_0x2062b1?_0x2cdf2b[_0x4029c2(0x7e)]:_0x32c4ad[_0x4029c2(0x3f4)](),this['_changesetReqId']=_0x2062b1?_0x2cdf2b['reqId']:0x0;const _0x451b75=this['unitID'];try{this['_replayCachedMutations'](_0x2cdf2b,_0x558e39);}catch(_0x28ec10){this[_0x4029c2(0x9f)][_0x4029c2(0x35f)](_0x28ec10);}const _0x49184f=this['_createHandler']();if(_0x59fc2d){const _0x16caa9=_0x437143(this['_injector'],_0x451b75,this['_type'],_0x2cdf2b,_0x558e39,_0x49184f);return _0x16caa9 instanceof _0x35847c[_0x4029c2(0xc7)]?_0x16caa9[_0x4029c2(0x3ff)]():(_0x16caa9 instanceof _0x35847c[_0x4029c2(0x2e9)]||_0x16caa9 instanceof _0x35847c[_0x4029c2(0xd4)])&&_0x16caa9[_0x4029c2(0x2d2)](),_0x16caa9;}return this[_0x4029c2(0x172)][_0x4029c2(0xc8)](_0x35847c[_0x4029c2(0x183)],_0x451b75,this[_0x4029c2(0x307)],_0x2cdf2b,_0x558e39,_0x49184f);}['_replayCachedMutations'](_0x896812,_0xad9c02){var _0x215368=_0x1b6ca5,_0x286a0b,_0x34fe07;const _0x48d458=this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x7d)](this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x32a)]()['COMPRESS_MUTATION_APPLY']);(_0x286a0b=_0x48d458((_0x896812==null?void 0x0:_0x896812['mutations'])||[],null))==null||_0x286a0b[_0x215368(0x1d1)](_0x567c6e=>this[_0x215368(0xa1)][_0x215368(0x351)](_0x567c6e['id'],_0x567c6e[_0x215368(0x1e7)])),(_0x34fe07=_0x48d458(_0xad9c02||[],null))==null||_0x34fe07[_0x215368(0x1d1)](_0x555fe7=>this['_commandService']['executeCommand'](_0x555fe7['id'],_0x555fe7[_0x215368(0x1e7)]));}},_0x35847c[_0x1b6ca5(0xec)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608['ILogService']),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xb,_0x765608['IPermissionService']),_0x1d2720(0xc,_0x765608['Optional'](_0x2aceed)),_0x1d2720(0xd,_0x765608['Optional'](_0x9f10c))],_0x35847c['CollaborationEntity']),_0x35847c[_0x1b6ca5(0xe3)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x40b0b9,_0x4190a7,_0x2bbbf9,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539){var _0x249113=_0x1b6ca5;super(_0x40b0b9,_0x2bbbf9,_0x4190a7,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539),_0x1bac5f(this,'_handlerCallback',null),(this[_0x249113(0xfe)]=_0x40b0b9,this[_0x249113(0xbb)]=_0x4190a7);}[_0x1b6ca5(0x17d)](_0x6428e){var _0x3e1fe6=_0x1b6ca5;this[_0x3e1fe6(0x12a)]=_0x6428e;}[_0x1b6ca5(0xb1)](){var _0x331b8e=_0x1b6ca5;this[_0x331b8e(0x12a)]=null,super['dispose']();}[_0x1b6ca5(0x14b)](){var _0x104772=_0x1b6ca5;const _0x174bab=super[_0x104772(0x14b)]();return _0x174bab[_0x104772(0x242)]=_0x3e2941=>{var _0xcc84a3=_0x104772,_0x184552,_0x5ce44a;return(_0x5ce44a=(_0x184552=this[_0xcc84a3(0x12a)])==null?void 0x0:_0x184552['onTransformIME'])==null?void 0x0:_0x5ce44a['call'](_0x184552,_0x3e2941);},_0x174bab[_0x104772(0x3f1)]=_0x231338=>{var _0x4171b5=_0x104772,_0x2c50a2,_0x287bac;return(_0x287bac=(_0x2c50a2=this[_0x4171b5(0x12a)])==null?void 0x0:_0x2c50a2['onTransformState'])==null?void 0x0:_0x287bac[_0x4171b5(0x118)](_0x2c50a2,_0x231338);},_0x174bab['onTransformSelections']=_0x21f3fd=>{var _0x4f9f21=_0x104772,_0x33f5b1,_0x49212e;return(_0x49212e=(_0x33f5b1=this[_0x4f9f21(0x12a)])==null?void 0x0:_0x33f5b1[_0x4f9f21(0x392)])==null?void 0x0:_0x49212e[_0x4f9f21(0x118)](_0x33f5b1,_0x21f3fd);},_0x174bab[_0x104772(0x34e)]=_0x12abd8=>{var _0x339659=_0x104772,_0x2536ea,_0x5e1231;return(_0x5e1231=(_0x2536ea=this['_handlerCallback'])==null?void 0x0:_0x2536ea[_0x339659(0x34e)])==null?void 0x0:_0x5e1231[_0x339659(0x118)](_0x2536ea,_0x12abd8);},_0x174bab['onTransformRemoteChangesetByIMECache']=_0x523ec1=>{var _0x1dbb25=_0x104772,_0x389cb7,_0x3f4b77,_0x43a29f;if(!((_0x389cb7=this[_0x1dbb25(0x12a)])!=null&&_0x389cb7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43a29f=(_0x3f4b77=this['_handlerCallback'])==null?void 0x0:_0x3f4b77[_0x1dbb25(0x271)])==null?void 0x0:_0x43a29f[_0x1dbb25(0x118)](_0x3f4b77,_0x523ec1);},_0x174bab[_0x104772(0x364)]=_0xa12bae=>{var _0x4c153b=_0x104772,_0x44025c,_0x3aad7f,_0x1c8ace;if(!((_0x44025c=this[_0x4c153b(0x12a)])!=null&&_0x44025c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c153b(0x1e0));return(_0x1c8ace=(_0x3aad7f=this['_handlerCallback'])==null?void 0x0:_0x3aad7f[_0x4c153b(0x364)])==null?void 0x0:_0x1c8ace['call'](_0x3aad7f,_0xa12bae);},_0x174bab;}async[_0x1b6ca5(0xfc)](){var _0xf4854c=_0x1b6ca5;const _0x5df0b5=await super[_0xf4854c(0xfc)]();return this['disposeWithMe'](this[_0xf4854c(0xa1)][_0xf4854c(0x35b)]((_0x41f488,_0x43599c)=>{var _0x2f3a3f=_0xf4854c;if(_0x41f488[_0x2f3a3f(0xbb)]!==_0x765608[_0x2f3a3f(0x23b)][_0x2f3a3f(0x3cf)]||_0x43599c!=null&&_0x43599c[_0x2f3a3f(0x24e)]||_0x43599c!=null&&_0x43599c['onlyLocal']||_0x41f488['id']===_0x5068b0[_0x2f3a3f(0x21d)]['id'])return;const _0x5d09d0=_0x41f488[_0x2f3a3f(0x1e7)];if((_0x5d09d0==null?void 0x0:_0x5d09d0[_0x2f3a3f(0x272)])!==this[_0x2f3a3f(0xfe)])return;const _0x2ddb36=_0x41f488,_0x53d359=this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)][_0x2f3a3f(0x7d)](this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)]['getInterceptPoints']()[_0x2f3a3f(0x279)])([_0x2ddb36],this[_0x2f3a3f(0xe7)])||[_0x2ddb36];this[_0x2f3a3f(0x145)](_0x53d359[0x0]);})),_0x5df0b5;}},_0x35847c[_0x1b6ca5(0xe3)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x1d2720(0x7,_0x765608['Inject'](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xa,_0x765608['ICommandService']),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x112)]),_0x1d2720(0xc,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0xe3)]),_0x35847c[_0x1b6ca5(0x13d)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x3ba9c0,_0x2bafc5,_0x183486,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x12c7bf,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836){var _0xb80298=_0x1b6ca5;super(_0x3ba9c0,_0x183486,_0x2bafc5,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836),this[_0xb80298(0xfe)]=_0x3ba9c0,this['type']=_0x2bafc5,this[_0xb80298(0x76)]=_0x12c7bf;}[_0x1b6ca5(0x14b)](){var _0x48b1fe=_0x1b6ca5;const _0x436825=super['_createHandler']();return _0x436825[_0x48b1fe(0x392)]=_0x5a7061=>this[_0x48b1fe(0x76)][_0x48b1fe(0x110)](_0x5a7061),_0x436825;}async[_0x1b6ca5(0xfc)](){var _0x276230=_0x1b6ca5;const _0x47cc0e=await super[_0x276230(0xfc)]();return this[_0x276230(0x115)](this[_0x276230(0xa1)]['onCommandExecuted']((_0x502656,_0x5170f0)=>{var _0x4c685a=_0x276230;if(_0x502656['type']!==_0x765608[_0x4c685a(0x23b)][_0x4c685a(0x3cf)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x24e)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x154)])return;const _0x4c240d=_0x502656[_0x4c685a(0x1e7)];if((_0x4c240d==null?void 0x0:_0x4c240d[_0x4c685a(0x272)])!==this[_0x4c685a(0xfe)])return;const _0x56ce8b=_0x502656,_0x47bb03=this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x7d)](this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x32a)]()[_0x4c685a(0x279)])([_0x56ce8b],this[_0x4c685a(0xe7)])||[_0x56ce8b];this[_0x4c685a(0x145)](_0x47bb03[0x0]);})),_0x47cc0e;}},_0x35847c[_0x1b6ca5(0x13d)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608['Inject'](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608['Inject'](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x30f)])),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xc,_0x765608['IPermissionService']),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xe,_0x765608['Optional'](_0x9f10c))],_0x35847c['SheetCollaborationEntity']);const _0x13a6a4=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0x2ed));function _0x4123d4(_0x48012f){var _0x38feca=_0x1b6ca5,_0x6129b3,_0x1f191b,_0x3d5cac,_0x9a50ad,_0x2bcea9;const _0x53bf72=_0x48012f[_0x38feca(0x3c7)],_0x508aa3=JSON['parse'](_0x53bf72);switch(_0x508aa3[_0x38feca(0x3b4)]){case _0x1c4fc5[_0x38feca(0x75)]:case _0x1c4fc5['HELLO']:{const _0xe3b874=_0x508aa3[_0x38feca(0x163)];return{..._0x508aa3,'data':_0xe3b874,'cmd':_0x508aa3[_0x38feca(0x3b4)]};}case _0x1c4fc5[_0x38feca(0x3b9)]:{const _0x4d68c9=_0x508aa3[_0x38feca(0x39c)];return{..._0x508aa3,'data':_0x4d68c9,'cmd':_0x508aa3['cmd']};}case _0x1c4fc5[_0x38feca(0x344)]:{const _0x53e840=_0x508aa3[_0x38feca(0x2b4)];switch(_0x53e840[_0x38feca(0x239)]){case _0x32c4ad['CollaborationEvent'][_0x38feca(0x3dc)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x6129b3=_0x53e840['permissionRejEvent'])==null?void 0x0:_0x6129b3['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x20f)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x1f191b=_0x53e840[_0x38feca(0x1b0)])==null?void 0x0:_0x1f191b['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f6)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x3d5cac=_0x53e840['newCsEvent'])==null?void 0x0:_0x3d5cac['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0xbe)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x9a50ad=_0x53e840['csRejEvent'])==null?void 0x0:_0x9a50ad['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x2bcea9=_0x53e840[_0x38feca(0x1ff)])==null?void 0x0:_0x2bcea9['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x117)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updateCursorEvent']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2de)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3be)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x259)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x121)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2dd)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f1)]:case _0x32c4ad[_0x38feca(0x28d)]['LIVESHARE_OPERATION']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3a5)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x3a4)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x13e)]:return{..._0x508aa3,'data':_0x53e840,'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x27d)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x1fe)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29b)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updatePermissionObjEvent']},'cmd':_0x508aa3['cmd']};case _0x32c4ad['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0xc4)]},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x34c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x20e)]},'cmd':_0x508aa3['cmd']};default:return _0x508aa3;}}default:return _0x508aa3;}}function _0x4ffe11(_0xad4130){var _0x577fff=_0x1b6ca5;switch(_0xad4130[_0x577fff(0x3b4)]){case _0x1c4fc5[_0x577fff(0x75)]:case _0x1c4fc5[_0x577fff(0x3a2)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)]});case _0x1c4fc5[_0x577fff(0x139)]:{let _0x567422;switch(_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]){case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x117)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x259)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2de)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x2de)],'joinEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)],'liveShareNewHost':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2e3)],'liveShareOperation':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent'][_0x577fff(0x3a4)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x3a4)],'liveShareTerminate':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x231)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_FETCH_OPERATIONS']:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x1f1)]};break;}default:_0x567422={'eventID':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]};}return JSON['stringify']({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'collaMsg':_0x567422});}case _0x1c4fc5[_0x577fff(0x3b9)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'joinReq':_0xad4130['data']});case _0x1c4fc5[_0x577fff(0x3c0)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'leaveReq':_0xad4130[_0x577fff(0x3c7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x5b253f=Object[_0x1b6ca5(0x1d2)],_0x1604be=(_0x19090c,_0x3f97e1,_0x340eac,_0x29faf5)=>{var _0x5bfbac=_0x1b6ca5;for(var _0x359cae=_0x29faf5>0x1?void 0x0:_0x29faf5?_0x5b253f(_0x3f97e1,_0x340eac):_0x3f97e1,_0x3a214c=_0x19090c[_0x5bfbac(0x39e)]-0x1,_0x2c8aaf;_0x3a214c>=0x0;_0x3a214c--)(_0x2c8aaf=_0x19090c[_0x3a214c])&&(_0x359cae=_0x2c8aaf(_0x359cae)||_0x359cae);return _0x359cae;},_0x561054=(_0x25d12a,_0x318f62)=>(_0x741662,_0x2dab93)=>_0x318f62(_0x741662,_0x2dab93,_0x25d12a);const _0x1d154d=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0xa5));function _0x507d64(_0xbe7a19,_0x1e6ffd,_0x4ac5de){var _0x36be09=_0x1b6ca5;return _0xbe7a19+'/'+_0x1e6ffd+_0x36be09(0x1ba)+_0x4ac5de+_0x36be09(0x2b2);}_0x35847c[_0x1b6ca5(0x1f0)]=class extends _0x765608['Disposable']{constructor(_0x5cc9fd,_0x4d8abd,_0x240b13,_0x4e95ac,_0x8345c7){var _0x3e3b29=_0x1b6ca5;super(),this['_injector']=_0x5cc9fd,this[_0x3e3b29(0x2be)]=_0x4d8abd,this[_0x3e3b29(0xd8)]=_0x240b13,this[_0x3e3b29(0x9f)]=_0x4e95ac,this[_0x3e3b29(0x295)]=_0x8345c7;}[_0x1b6ca5(0x290)](_0x59d67b){var _0x270ab6=_0x1b6ca5;const _0xa27733=this[_0x270ab6(0x172)][_0x270ab6(0x2b3)](_0x102f6e['ISocketService']);if(!_0xa27733)throw new Error(_0x270ab6(0x302));const _0x49bd14=_0xa27733[_0x270ab6(0x16e)](_0x59d67b);if(!_0x49bd14)throw new Error(_0x270ab6(0x361));const _0x1bdffb=new _0x765608['DisposableCollection'](),_0x47793e=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14['close$'][_0x270ab6(0xf0)](_0x3ff19b=>_0x47793e[_0x270ab6(0x1a2)](_0x3ff19b))),_0x1bdffb['add'](_0x765608['toDisposable'](()=>_0x47793e[_0x270ab6(0x149)]()));const _0x58bca0=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14[_0x270ab6(0x19e)][_0x270ab6(0xf0)](_0x2832d0=>_0x58bca0[_0x270ab6(0x1a2)](_0x2832d0))),_0x1bdffb[_0x270ab6(0x1db)](_0x765608[_0x270ab6(0x182)](()=>_0x58bca0[_0x270ab6(0x149)]()));const _0x307255=new _0x2f43df[(_0x270ab6(0x216))]();_0x1bdffb['add'](_0x49bd14[_0x270ab6(0x32e)][_0x270ab6(0xf0)](_0x46167a=>{var _0x50eb4d=_0x270ab6;const _0x3e611c=_0x4123d4(_0x46167a);_0x307255[_0x50eb4d(0x1a2)](_0x3e611c);})),_0x1bdffb['add'](_0x765608[_0x270ab6(0x182)](()=>_0x307255['complete']()));let _0xc83642;const _0x5698cb=()=>{var _0xbb1936=_0x270ab6;_0x58bca0[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0x47793e[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0xc83642[_0xbb1936(0x11c)]();};return _0xc83642={'memberID':'','close$':_0x47793e[_0x270ab6(0x99)](),'error$':_0x58bca0['asObservable'](),'open$':_0x49bd14[_0x270ab6(0x3b2)],'message$':_0x307255[_0x270ab6(0x99)](),'send':_0x50a20e=>{var _0x331b3d=_0x270ab6;if(_0x50a20e['cmd']===_0x1c4fc5[_0x331b3d(0x139)]){if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x331b3d(0x1b4)](_0xc83642,_0x50a20e[_0x331b3d(0x3c7)])[_0x331b3d(0xd5)](_0x49df64=>{var _0x5d44de=_0x331b3d;this[_0x5d44de(0x9f)][_0x5d44de(0x35f)](_0x49df64),_0x5698cb();});return;}if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad[_0x331b3d(0x28d)]['FETCH_MISSING']){const _0x2d884c=_0x50a20e[_0x331b3d(0x3c7)];this[_0x331b3d(0x200)](_0x2d884c)[_0x331b3d(0x1b9)](_0x325c35=>{var _0x27a861=_0x331b3d;_0x307255[_0x27a861(0x1a2)]({'cmd':_0x1c4fc5[_0x27a861(0x344)],'code':_0x5b7a0f['OK'],'routeKey':_0x2d884c[_0x27a861(0x3c7)][_0x27a861(0xfe)],'routeType':'','data':{'eventID':_0x32c4ad[_0x27a861(0x28d)][_0x27a861(0x2dc)],'data':{'changesets':_0x325c35}}});})[_0x331b3d(0xd5)](_0x1f5f52=>{var _0x30d1ef=_0x331b3d;this[_0x30d1ef(0x9f)][_0x30d1ef(0x35f)](_0x1f5f52),_0x5698cb();});return;}}_0x49bd14[_0x331b3d(0x8a)](_0x4ffe11(_0x50a20e));},'close':()=>{var _0x133f51=_0x270ab6;_0x49bd14['close'](),_0x1bdffb[_0x133f51(0xb1)]();}},_0xc83642;}async['_submitChangeset'](_0x13006d,_0x46bdb7){var _0x188e54=_0x1b6ca5,_0x2afcb6;const {unitType:_0xe33f06,unitID:_0x5e89b6,changeset:_0x3a0fb8}=_0x46bdb7[_0x188e54(0x3c7)],_0x52c00c={'unitID':_0x5e89b6,'memberID':_0x13006d['memberID'],'type':_0xe33f06,'changeset':_0x32c4ad[_0x188e54(0xd1)](_0x3a0fb8)},_0x4fd81d=this[_0x188e54(0xd8)][_0x188e54(0x1ef)](_0x32b669),_0x525834=_0x507d64((_0x2afcb6=_0x4fd81d==null?void 0x0:_0x4fd81d['collabSubmitChangesetUrl'])!=null?_0x2afcb6:_0x42d637,_0xe33f06,_0x5e89b6);try{await this['_httpService'][_0x188e54(0x268)](_0x525834,{'body':_0x52c00c});}catch(_0x1afc84){throw this[_0x188e54(0x9f)][_0x188e54(0x35f)](_0x188e54(0x9c),_0x188e54(0xe5)),_0x1afc84;}}async[_0x1b6ca5(0x200)](_0x19a052){var _0x1953eb=_0x1b6ca5;const {unitID:_0x3e5c3e,from:_0x522a25,to:_0x49a8a3,unitType:_0x521f71}=_0x19a052[_0x1953eb(0x3c7)];return(await this[_0x1953eb(0x295)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3e5c3e,'type':_0x521f71,'from':_0x522a25,'to':_0x49a8a3}))[_0x1953eb(0x3bf)][_0x1953eb(0x10d)](_0x598cd2=>((_0x598cd2[_0x1953eb(0x233)]===null||_0x598cd2[_0x1953eb(0x233)]===void 0x0)&&(_0x598cd2[_0x1953eb(0x233)]=[]),_0x598cd2));}},_0x35847c[_0x1b6ca5(0x1f0)]=_0x1604be([_0x561054(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x561054(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x561054(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x561054(0x3,_0x765608[_0x1b6ca5(0x3f9)]),_0x561054(0x4,_0x32c4ad[_0x1b6ca5(0x2a7)])],_0x35847c[_0x1b6ca5(0x1f0)]);var _0x24c8da=Object[_0x1b6ca5(0x1d2)],_0x4a223d=(_0x468bb4,_0x11f368,_0x9ec4cc,_0x4a79db)=>{for(var _0x55cc77=_0x4a79db>0x1?void 0x0:_0x4a79db?_0x24c8da(_0x11f368,_0x9ec4cc):_0x11f368,_0x4daeb1=_0x468bb4['length']-0x1,_0x33c3e3;_0x4daeb1>=0x0;_0x4daeb1--)(_0x33c3e3=_0x468bb4[_0x4daeb1])&&(_0x55cc77=_0x33c3e3(_0x55cc77)||_0x55cc77);return _0x55cc77;},_0x43a4bd=(_0x1956f8,_0x4db2dc)=>(_0x2dac5f,_0x2c973f)=>_0x4db2dc(_0x2dac5f,_0x2c973f,_0x1956f8);_0x35847c[_0x1b6ca5(0x97)]=class extends _0x765608['Disposable']{constructor(_0x31e57e,_0x48966a,_0x47ca7d,_0x30ae89,_0x5d7823,_0x46586b){var _0x1f5a82=_0x1b6ca5;super(),_0x1bac5f(this,_0x1f5a82(0xf7),new _0x2f43df[(_0x1f5a82(0x20b))](void 0x0)),_0x1bac5f(this,'socket$',this['_socket$'][_0x1f5a82(0x99)]()),_0x1bac5f(this,'_candidateSocket',null),_0x1bac5f(this,_0x1f5a82(0xcf),new Map()),_0x1bac5f(this,_0x1f5a82(0xaa),new _0x2f43df[(_0x1f5a82(0x20b))](_0x34dd1c[_0x1f5a82(0x2f0)])),_0x1bac5f(this,'status$',this[_0x1f5a82(0xaa)][_0x1f5a82(0x99)]()),_0x1bac5f(this,_0x1f5a82(0x267),!0x1),_0x1bac5f(this,_0x1f5a82(0x23d)),_0x1bac5f(this,_0x1f5a82(0x3c2),0x0),_0x1bac5f(this,_0x1f5a82(0x128)),_0x1bac5f(this,_0x1f5a82(0x23c)),(this['_injector']=_0x31e57e,this[_0x1f5a82(0x9f)]=_0x48966a,this[_0x1f5a82(0xd8)]=_0x47ca7d,this[_0x1f5a82(0x34b)]=_0x30ae89,this['_collaborationUIEventService']=_0x5d7823,this[_0x1f5a82(0x3bd)]=_0x46586b,this['_listenToNetworkCondition']());}get[_0x1b6ca5(0x2f2)](){return this['_socket$']['getValue']();}[_0x1b6ca5(0x224)](){var _0x475b7e=_0x1b6ca5;this[_0x475b7e(0x3bd)]&&this['disposeWithMe'](this[_0x475b7e(0x3bd)]['online$'][_0x475b7e(0xf0)](_0x2cc87d=>{var _0x151c86=_0x475b7e;_0x2cc87d&&!this['_socket']&&this['reconnect'](),_0x2cc87d||this[_0x151c86(0x1cd)]();}));}[_0x1b6ca5(0xb1)](){var _0x161814=_0x1b6ca5;super[_0x161814(0xb1)](),this[_0x161814(0x11f)](),this['_clearTimeoutTimer'](),this[_0x161814(0x2e4)](),this[_0x161814(0xcf)]['forEach'](_0x5af8a8=>_0x5af8a8['dispose']()),this[_0x161814(0xcf)]['clear'](),this['_status$'][_0x161814(0x149)]();}async[_0x1b6ca5(0x22d)](_0x4b9ddc){var _0x42b9e1=_0x1b6ca5;if(this[_0x42b9e1(0xcf)][_0x42b9e1(0x1df)](_0x4b9ddc))return this[_0x42b9e1(0xcf)][_0x42b9e1(0x2b3)](_0x4b9ddc);this[_0x42b9e1(0xd9)]();const _0x50f8fd=this[_0x42b9e1(0x172)][_0x42b9e1(0xc8)](_0x35847c[_0x42b9e1(0x325)],_0x4b9ddc,this['_socket$']['asObservable']());return this[_0x42b9e1(0xcf)][_0x42b9e1(0x26d)](_0x4b9ddc,_0x50f8fd),_0x50f8fd;}['closeSession'](_0x9bbac7){var _0x110b47=_0x1b6ca5,_0x228650;const _0x30b830=this['_sessions'][_0x110b47(0x2b3)](_0x9bbac7);_0x30b830&&(this['_sessions']['delete'](_0x9bbac7),_0x30b830['close']()),this['_sessions'][_0x110b47(0x336)]||(_0x228650=this[_0x110b47(0x2f2)])==null||_0x228650['close']();}[_0x1b6ca5(0x2c7)](){var _0x23e8f4=_0x1b6ca5;this[_0x23e8f4(0x3c2)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x23e8f4(0x244)]();}[_0x1b6ca5(0x11f)](){var _0x58e60b=_0x1b6ca5;this[_0x58e60b(0x23d)]!=null&&(clearTimeout(this[_0x58e60b(0x23d)]),this[_0x58e60b(0x23d)]=null);}async['_createSocket'](){var _0x10ea3f=_0x1b6ca5,_0x421344;const _0x384171=this[_0x10ea3f(0xd8)][_0x10ea3f(0x1ef)](_0x32b669),_0x11f772=(_0x421344=_0x384171==null?void 0x0:_0x384171['collabWebSocketUrl'])!=null?_0x421344:_0x58068b,_0x7f20ae=await this[_0x10ea3f(0x34b)][_0x10ea3f(0x16e)](_0x11f772);return this[_0x10ea3f(0x3da)]=_0x7f20ae,_0x7f20ae;}async[_0x1b6ca5(0xd9)](){var _0x589ade=_0x1b6ca5,_0x13d3a5,_0x305c0e;try{const _0x7c9cf2=(_0x305c0e=(_0x13d3a5=this[_0x589ade(0x2f2)])!=null?_0x13d3a5:this[_0x589ade(0x3da)])!=null?_0x305c0e:await this[_0x589ade(0xb0)]();if(_0x7c9cf2){const _0x2e3602=_0x7c9cf2['send'];_0x7c9cf2[_0x589ade(0x8a)]=_0x1d8cab=>(this['_rescheduleHeartbeat'](),_0x2e3602[_0x589ade(0x1fa)](_0x7c9cf2,[_0x1d8cab])),_0x7c9cf2[_0x589ade(0x32e)]['subscribe'](_0x4158b1=>this[_0x589ade(0x19f)](_0x7c9cf2,_0x4158b1)),_0x7c9cf2['error$'][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](_0x58efb9=>this[_0x589ade(0x9f)]['error'](_0x589ade(0x1f8),_0x58efb9)),_0x7c9cf2[_0x589ade(0x3b2)][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](()=>{this['_onConnectionOpen'](_0x7c9cf2);}),_0x7c9cf2[_0x589ade(0x3c8)][_0x589ade(0x39a)](_0x3039f7['take'](0x1))[_0x589ade(0xf0)](_0x398df8=>{var _0x569be2=_0x589ade;this[_0x569be2(0x9f)][_0x569be2(0x368)](_0x569be2(0x29d),_0x569be2(0x221),_0x398df8),this[_0x569be2(0x3dd)]();});}}catch(_0x3426a0){this[_0x589ade(0x9f)][_0x589ade(0x35f)](_0x3426a0),this[_0x589ade(0x3dd)]();}}[_0x1b6ca5(0x191)](_0x38e1c0){var _0x24a0bf=_0x1b6ca5;this[_0x24a0bf(0x9f)][_0x24a0bf(0x368)]('[CollaborationSessionService]','socket\x20open.'),_0x38e1c0[_0x24a0bf(0x8a)]({'cmd':_0x1c4fc5['HELLO']}),this[_0x24a0bf(0x122)]();}[_0x1b6ca5(0x1cd)](){var _0x426079=_0x1b6ca5;this[_0x426079(0x267)]=!0x1,this[_0x426079(0x3da)]=null,this[_0x426079(0xaa)]['next'](_0x34dd1c[_0x426079(0x1c5)]),this[_0x426079(0xf7)]['next'](null),this[_0x426079(0x299)](),this[_0x426079(0x2e4)]();}[_0x1b6ca5(0x3dd)](){var _0x49ba43=_0x1b6ca5,_0x12243d;this[_0x49ba43(0x1cd)](),this[_0x49ba43(0x3c2)]<((_0x12243d=this[_0x49ba43(0xd8)]['getConfig'](_0x4e97c3))!=null?_0x12243d:0x3)?(this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0xe6)]}),this[_0x49ba43(0x244)]()):this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0x15b)]});}[_0x1b6ca5(0x244)](){var _0x339459=_0x1b6ca5,_0x46e28b;const _0x197059=this[_0x339459(0x3c2)],_0x3e93bb=this[_0x339459(0xd8)][_0x339459(0x1ef)](_0x32b669),_0x3edb0f=_0x197059===0x0?0x0:((_0x46e28b=_0x3e93bb==null?void 0x0:_0x3e93bb[_0x339459(0x2e2)])!=null?_0x46e28b:0x4e20)*0x2**_0x197059;this[_0x339459(0x23d)]=setTimeout(()=>{var _0x4d4670=_0x339459;clearTimeout(this[_0x4d4670(0x23d)]),this[_0x4d4670(0x23d)]=null,this[_0x4d4670(0xd9)]();},_0x3edb0f),this[_0x339459(0x3c2)]+=0x1;}['_onMessage'](_0x5a36e3,_0x418eaf){var _0x5e9883=_0x1b6ca5;const {cmd:_0x172cef}=_0x418eaf;_0x172cef===_0x1c4fc5[_0x5e9883(0x3a2)]&&!this[_0x5e9883(0x267)]&&(_0x5a36e3[_0x5e9883(0x296)]=_0x418eaf[_0x5e9883(0x3c7)]['memberID'],this[_0x5e9883(0xf7)]['next'](_0x5a36e3),this[_0x5e9883(0xaa)][_0x5e9883(0x1a2)](_0x34dd1c[_0x5e9883(0x22e)]),this[_0x5e9883(0x267)]=!0x0,this[_0x5e9883(0x3da)]=null),_0x172cef===_0x1c4fc5['HEARTBEAT']&&this[_0x5e9883(0x299)](),this[_0x5e9883(0x122)]();}[_0x1b6ca5(0x122)](){var _0x59ebeb=_0x1b6ca5,_0x24861b;this[_0x59ebeb(0x2e4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x59ebeb(0x380)](),(_0x24861b=this[_0x59ebeb(0xd8)][_0x59ebeb(0x1ef)](_0x391bfd))!=null?_0x24861b:0x7530);}[_0x1b6ca5(0x380)](){var _0x51c889=_0x1b6ca5;this['_socket'][_0x51c889(0x8a)]({'cmd':_0x1c4fc5[_0x51c889(0x75)]}),this[_0x51c889(0x168)]();}[_0x1b6ca5(0x168)](){var _0x5a272e=_0x1b6ca5,_0x12ca4a;this[_0x5a272e(0x23c)]=setTimeout(()=>this[_0x5a272e(0x3dd)](),(_0x12ca4a=this[_0x5a272e(0xd8)][_0x5a272e(0x1ef)](_0x40d4d2))!=null?_0x12ca4a:0x4e20);}[_0x1b6ca5(0x2e4)](){var _0x4f4afc=_0x1b6ca5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4f4afc(0x128)]),this['_sendHeartbeatTimer']=null);}[_0x1b6ca5(0x299)](){var _0x3457bb=_0x1b6ca5;this[_0x3457bb(0x23c)]!=null&&(clearTimeout(this[_0x3457bb(0x23c)]),this[_0x3457bb(0x23c)]=null);}},_0x35847c[_0x1b6ca5(0x97)]=_0x4a223d([_0x43a4bd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x43a4bd(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x43a4bd(0x2,_0x765608['IConfigService']),_0x43a4bd(0x3,_0x1d154d),_0x43a4bd(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x43a4bd(0x5,_0x765608[_0x1b6ca5(0x136)](_0x13a6a4))],_0x35847c[_0x1b6ca5(0x97)]);var _0x40ba83=Object[_0x1b6ca5(0x1d2)],_0x12d755=(_0x34aa96,_0x118873,_0x3881d0,_0x71991e)=>{var _0x478994=_0x1b6ca5;for(var _0x36e56d=_0x71991e>0x1?void 0x0:_0x71991e?_0x40ba83(_0x118873,_0x3881d0):_0x118873,_0x435cf=_0x34aa96[_0x478994(0x39e)]-0x1,_0x1ce789;_0x435cf>=0x0;_0x435cf--)(_0x1ce789=_0x34aa96[_0x435cf])&&(_0x36e56d=_0x1ce789(_0x36e56d)||_0x36e56d);return _0x36e56d;},_0x1af6ec=(_0x3fb2bf,_0x40fc17)=>(_0x493d04,_0x3dc909)=>_0x40fc17(_0x493d04,_0x3dc909,_0x3fb2bf);_0x35847c[_0x1b6ca5(0x236)]=class extends _0x765608['RxDisposable']{constructor(_0xd8453e,_0x40c8fe,_0x32f2f9,_0x3ad32a){var _0x44dec5=_0x1b6ca5,_0x264a0d;super(),_0x1bac5f(this,_0x44dec5(0x2f7),new Map()),_0x1bac5f(this,_0x44dec5(0x3cc),new _0x2f43df[(_0x44dec5(0x216))]()),_0x1bac5f(this,_0x44dec5(0x276),this['_entityInit$']['asObservable']()),(this[_0x44dec5(0x172)]=_0xd8453e,this['_collabSessionService']=_0x40c8fe,this[_0x44dec5(0xd8)]=_0x32f2f9,this[_0x44dec5(0xe7)]=_0x3ad32a,((_0x264a0d=this['_configService'][_0x44dec5(0x1ef)](_0x32b669))==null?void 0x0:_0x264a0d[_0x44dec5(0x205)])!==!0x1&&this[_0x44dec5(0xfc)]());}[_0x1b6ca5(0xb1)](){var _0x34443d=_0x1b6ca5;super[_0x34443d(0xb1)](),this[_0x34443d(0x2f7)][_0x34443d(0x1d1)](_0x573eda=>_0x573eda[_0x34443d(0xb1)]()),this['_entities'][_0x34443d(0x1c1)]();}[_0x1b6ca5(0x7f)](_0x31c60a){var _0x7fdbaf=_0x1b6ca5,_0x1c765e;return(_0x1c765e=this['_entities'][_0x7fdbaf(0x2b3)](_0x31c60a))!=null?_0x1c765e:null;}['getCollabEntity$'](_0x3c6224){var _0x2a34b4=_0x1b6ca5;const _0x4dab4d=this['getCollabEntity'](_0x3c6224);return _0x4dab4d?_0x2f43df['of'](_0x4dab4d):this['_entityInit$'][_0x2a34b4(0x39a)](_0x3039f7[_0x2a34b4(0x153)](_0x23655b=>_0x23655b['unitID']===_0x3c6224));}[_0x1b6ca5(0x342)](_0x3048d1){var _0x26b129=_0x1b6ca5;return _0x2f43df[_0x26b129(0x3d3)](this['getCollabEntity$'](_0x3048d1)[_0x26b129(0x39a)](_0x3039f7['map'](()=>{})));}[_0x1b6ca5(0xfc)](){var _0x4d0898=_0x1b6ca5;this[_0x4d0898(0xe7)]['getTypeOfUnitAdded$'](_0x765608['UniverInstanceType'][_0x4d0898(0x398)])[_0x4d0898(0x39a)](_0x2f43df[_0x4d0898(0x18c)](this[_0x4d0898(0x283)]),_0x3039f7['delay'](0x10))[_0x4d0898(0xf0)](async _0x4bf0fe=>{var _0x298115=_0x4d0898;const _0x4a527d=_0x4bf0fe['getUnitId'](),_0x1f505c=await this[_0x298115(0x85)](_0x4a527d,_0x56d87c[_0x298115(0x398)]);this[_0x298115(0x2f7)][_0x298115(0x26d)](_0x4a527d,_0x1f505c);}),this[_0x4d0898(0xe7)][_0x4d0898(0x2ac)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x31a)])[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]),_0x3039f7[_0x4d0898(0x213)](0x10))['pipe'](_0x3039f7['filter'](_0x304fdf=>!_0x304fdf['getUnitId']()[_0x4d0898(0x157)]('__')))[_0x4d0898(0xf0)](async _0x183e02=>{var _0x1eca04=_0x4d0898;const _0x53abf3=_0x183e02[_0x1eca04(0xdc)](),_0x68655c=await this[_0x1eca04(0x85)](_0x53abf3,_0x56d87c[_0x1eca04(0x31a)]);this[_0x1eca04(0x2f7)]['set'](_0x53abf3,_0x68655c);}),_0x2f43df[_0x4d0898(0x308)](this[_0x4d0898(0xe7)][_0x4d0898(0x24b)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x398)]),this[_0x4d0898(0xe7)]['getTypeOfUnitDisposed$'](_0x765608['UniverInstanceType'][_0x4d0898(0x31a)]))[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]))[_0x4d0898(0xf0)](_0x4ddf3b=>{var _0x173861=_0x4d0898;const _0x2b6389=_0x4ddf3b[_0x173861(0xdc)](),_0x4b697c=this[_0x173861(0x2f7)][_0x173861(0x2b3)](_0x2b6389);_0x4b697c&&(_0x4b697c[_0x173861(0xb1)](),this[_0x173861(0x2f7)][_0x173861(0x3d7)](_0x2b6389));});}async[_0x1b6ca5(0x85)](_0x2e0b99,_0x1ab46f){var _0x3288f2=_0x1b6ca5;const _0x4422f5=await this['_collabSessionService']['requireSession'](_0x2e0b99),_0xa4b368=this[_0x3288f2(0x172)][_0x3288f2(0xc8)](this['_getCtorByUniverType'](_0x1ab46f),_0x2e0b99,_0x1ab46f,_0x4422f5);return await _0xa4b368[_0x3288f2(0x82)](),this[_0x3288f2(0x3cc)]['next'](_0xa4b368),_0xa4b368;}[_0x1b6ca5(0x1c7)](_0x5c2cd2){var _0x485ea7=_0x1b6ca5;switch(_0x5c2cd2){case _0x56d87c[_0x485ea7(0x31a)]:return _0x35847c[_0x485ea7(0xe3)];case _0x56d87c[_0x485ea7(0x398)]:return _0x35847c[_0x485ea7(0x13d)];default:throw new Error(_0x485ea7(0x1aa)+_0x5c2cd2);}}},_0x35847c[_0x1b6ca5(0x236)]=_0x12d755([_0x1af6ec(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1af6ec(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x35847c['CollaborationSessionService'])),_0x1af6ec(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x1af6ec(0x3,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x236)]);var _0xa42d89=Object[_0x1b6ca5(0x1d2)],_0x32874a=(_0x13df33,_0x2f2f2b,_0x379d40,_0x5652de)=>{var _0x4d7c0b=_0x1b6ca5;for(var _0x215022=_0x5652de>0x1?void 0x0:_0x5652de?_0xa42d89(_0x2f2f2b,_0x379d40):_0x2f2f2b,_0x41b7c0=_0x13df33[_0x4d7c0b(0x39e)]-0x1,_0x10c738;_0x41b7c0>=0x0;_0x41b7c0--)(_0x10c738=_0x13df33[_0x41b7c0])&&(_0x215022=_0x10c738(_0x215022)||_0x215022);return _0x215022;},_0xf5c9bc=(_0x294035,_0x46093f)=>(_0x1335ff,_0x1e03da)=>_0x46093f(_0x1335ff,_0x1e03da,_0x294035);const _0x13ebfd=_0x1b6ca5(0x108),_0x579600=_0x1b6ca5(0x2d3);let _0x287d89=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x4ed9d0,_0x409771){var _0x3e254e=_0x1b6ca5;super(),this[_0x3e254e(0xe7)]=_0x4ed9d0,this['_configService']=_0x409771,this[_0x3e254e(0xfc)]();}[_0x1b6ca5(0xfc)](){var _0x32d0ac=_0x1b6ca5;this[_0x32d0ac(0x115)](this[_0x32d0ac(0xe7)][_0x32d0ac(0x130)][_0x32d0ac(0xf0)](()=>{var _0x271656=_0x32d0ac,_0x12b4ea;const _0x38ffb8=this[_0x271656(0xe7)][_0x271656(0x353)]();let _0x4bc804=(_0x12b4ea=this['_configService'][_0x271656(0x1ef)](_0x13ebfd))!=null?_0x12b4ea:_0x579600;_0x38ffb8 instanceof _0x765608[_0x271656(0x243)]&&(_0x4bc804=_0x38ffb8[_0x271656(0x317)]),document[_0x271656(0x195)]=_0x4bc804;}));}};_0x287d89=_0x32874a([_0xf5c9bc(0x0,_0x765608[_0x1b6ca5(0x175)]),_0xf5c9bc(0x1,_0x765608['IConfigService'])],_0x287d89);var _0x5d4f54=Object[_0x1b6ca5(0x1d2)],_0x5cb059=(_0x3b044b,_0x1adf47,_0x13c800,_0x20a25f)=>{var _0x55d98e=_0x1b6ca5;for(var _0x484f19=_0x20a25f>0x1?void 0x0:_0x20a25f?_0x5d4f54(_0x1adf47,_0x13c800):_0x1adf47,_0x1681e7=_0x3b044b[_0x55d98e(0x39e)]-0x1,_0x1ccafb;_0x1681e7>=0x0;_0x1681e7--)(_0x1ccafb=_0x3b044b[_0x1681e7])&&(_0x484f19=_0x1ccafb(_0x484f19)||_0x484f19);return _0x484f19;},_0x5da9a5=(_0x2e6b23,_0x1234e4)=>(_0x436293,_0x11a889)=>_0x1234e4(_0x436293,_0x11a889,_0x2e6b23);let _0x3e75fa=class{constructor(_0x69c0e6,_0x46071b,_0x5dc19e){var _0x557c50=_0x1b6ca5;this[_0x557c50(0xd8)]=_0x69c0e6,this[_0x557c50(0x2be)]=_0x46071b,this[_0x557c50(0x31e)]=_0x5dc19e,this[_0x557c50(0x82)]();}['init'](){var _0x3b255a=_0x1b6ca5;this[_0x3b255a(0x2be)][_0x3b255a(0xce)]({'priority':0x1,'interceptor':(_0x3ea02b,_0x3e25cb)=>_0x3e25cb(_0x3ea02b)[_0x3b255a(0x39a)](_0x2f43df['concatMap'](async _0x24e5dd=>{var _0x177263=_0x3b255a;const _0x4b0eea=_0x24e5dd;if(_0x4b0eea[_0x177263(0x2cd)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x177263(0x362)](this[_0x177263(0x31e)]['t']('auth.needGotoLoginAlert'))){const _0x19ae5f=window['encodeURIComponent'](window[_0x177263(0x250)]['href']);window[_0x177263(0x250)]['href']=this['_getLoginPath']()+_0x177263(0x2b1)+_0x19ae5f;}}return _0x4b0eea;}))});}[_0x1b6ca5(0x18e)](){var _0xa9964c=_0x1b6ca5,_0x4e2886;const _0x50138b=this[_0xa9964c(0xd8)][_0xa9964c(0x1ef)](_0x32b669);return(_0x4e2886=_0x50138b==null?void 0x0:_0x50138b[_0xa9964c(0x3b7)])!=null?_0x4e2886:_0x53153f;}};_0x3e75fa=_0x5cb059([_0x5da9a5(0x0,_0x765608['IConfigService']),_0x5da9a5(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x5da9a5(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)]))],_0x3e75fa);var _0xa5cf99=Object[_0x1b6ca5(0x1d2)],_0x56aabf=(_0x2e6db1,_0xe3822a,_0x3c11be,_0x518987)=>{var _0x221167=_0x1b6ca5;for(var _0x13bdb0=_0x518987>0x1?void 0x0:_0x518987?_0xa5cf99(_0xe3822a,_0x3c11be):_0xe3822a,_0x21959d=_0x2e6db1[_0x221167(0x39e)]-0x1,_0x198278;_0x21959d>=0x0;_0x21959d--)(_0x198278=_0x2e6db1[_0x21959d])&&(_0x13bdb0=_0x198278(_0x13bdb0)||_0x13bdb0);return _0x13bdb0;},_0x2b8a78=(_0x402c34,_0x5b89b5)=>(_0x3c00da,_0x79b7f5)=>_0x5b89b5(_0x3c00da,_0x79b7f5,_0x402c34);const _0x55d47a='/universer-api/authz';_0x35847c[_0x1b6ca5(0x3af)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x187ce9,_0xe9e57a){var _0x41c366=_0x1b6ca5;super(),this[_0x41c366(0x24c)]=_0x187ce9,this[_0x41c366(0xd8)]=_0xe9e57a,this[_0x41c366(0xc0)]();}[_0x1b6ca5(0xc0)](){var _0xcfdf12=_0x1b6ca5;const _0x5c3f2f=this;this['disposeWithMe'](this[_0xcfdf12(0x24c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x102f6e[_0xcfdf12(0x17a)]({'isMatch'(_0x24758e){var _0x3b063d=_0xcfdf12,_0x3993a8;if(_0x24758e['method']==='POST'&&((_0x3993a8=_0x24758e[_0x3b063d(0x29f)])!=null&&_0x3993a8[_0x3b063d(0x35a)])){const {objectID:_0x5c33ed,objectType:_0x3e57b2}=_0x24758e[_0x3b063d(0x29f)][_0x3b063d(0x35a)]||{};if(!_0x5c33ed||_0x3e57b2===void 0x0)return!0x1;const _0x362596=_0x5c3f2f[_0x3b063d(0x127)]()+'/'+_0x3e57b2+'/object/'+_0x5c33ed+_0x3b063d(0x2cb);if(_0x24758e[_0x3b063d(0x367)]===_0x362596)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3803c7){var _0x43a381=_0xcfdf12,_0x470935;return(_0x470935=_0x3803c7[_0x43a381(0x29f)])==null?void 0x0:_0x470935[_0x43a381(0x35a)];},'mergeParamsToRequest'(_0x1c0f1c,_0xcc09e5){var _0x1da559=_0xcfdf12;const _0x44f183=_0x5c3f2f[_0x1da559(0x127)]()+_0x1da559(0xdb),_0x4f9025=_0x1c0f1c[_0x1da559(0x37a)]((_0x2f98ff,_0x1438b2)=>{var _0x46bf38=_0x1da559;const {unitID:_0x11b06e,objectID:_0xfb8c0,objectType:_0x1770d5,actions:_0x2b661a}=_0x1438b2;return _0x2f98ff[_0x11b06e]||(_0x2f98ff[_0x11b06e]={}),_0x2f98ff[_0x11b06e][_0xfb8c0]||(_0x2f98ff[_0x11b06e][_0xfb8c0]={'objectID':_0xfb8c0,'objectType':_0x1770d5,'actions':[]}),_0x2f98ff[_0x11b06e][_0xfb8c0][_0x46bf38(0x303)][_0x46bf38(0x13f)](..._0x2b661a),_0x2f98ff;},{}),_0x409f6f=[];for(const _0x42a1a7 in _0x4f9025)for(const _0x6216be in _0x4f9025[_0x42a1a7]){const {actions:_0x17d067,objectType:_0x202e3f}=_0x4f9025[_0x42a1a7][_0x6216be],_0x9cf5a0=[...new Set(_0x17d067)];_0x409f6f['push']({'unitID':_0x42a1a7,'objectID':_0x6216be,'objectType':_0x202e3f,'actions':_0x9cf5a0});}return new _0x102f6e[(_0x1da559(0x21e))](_0x1da559(0x2f1),_0x44f183,{'headers':_0xcc09e5[_0x1da559(0x3e5)],'withCredentials':_0xcc09e5[_0x1da559(0x11e)],'responseType':_0xcc09e5[_0x1da559(0xe2)],'body':{'requests':_0x409f6f}});}},{'distributeResult'(_0x235603,_0x239b6c){var _0x3f39bb=_0xcfdf12;const {objectActions:_0x4f6311}=_0x235603;return _0x239b6c[_0x3f39bb(0x10d)](_0x4c07f2=>{var _0xea76fc=_0x3f39bb;const {unitID:_0x55caf3,objectID:_0xabf8a0,actions:_0x2e74e6}=_0x4c07f2,_0x13d3ee=_0x4f6311[_0xea76fc(0x23a)](_0x5b7264=>_0x5b7264['unitID']===_0x55caf3&&_0x5b7264[_0xea76fc(0x20a)]===_0xabf8a0),_0x252141=_0x2e74e6[_0xea76fc(0x10d)](_0xbc2730=>_0x13d3ee==null?void 0x0:_0x13d3ee[_0xea76fc(0x303)]['find'](_0x1b67d4=>_0x1b67d4[_0xea76fc(0x161)]===_0xbc2730))[_0xea76fc(0x153)](_0x200fd6=>!!_0x200fd6);return{'config':_0x4c07f2,'result':{'actions':_0x252141,'error':_0x235603[_0xea76fc(0x35f)]}};});}})}));}[_0x1b6ca5(0x127)](){var _0x5a524b=_0x1b6ca5,_0x6048d7;const _0xb2a267=this[_0x5a524b(0xd8)]['getConfig'](_0x32b669);return(_0x6048d7=_0xb2a267==null?void 0x0:_0xb2a267[_0x5a524b(0x270)])!=null?_0x6048d7:_0x55d47a;}async[_0x1b6ca5(0x355)](_0x4ed59f){var _0x5a4840=_0x1b6ca5;const _0x42119a=this['_getAPIPrefixPath']()+'/'+_0x4ed59f[_0x5a4840(0x124)]+_0x5a4840(0x334);return(await this[_0x5a4840(0x24c)][_0x5a4840(0x268)](_0x42119a,{'body':_0x4ed59f}))[_0x5a4840(0x35a)][_0x5a4840(0x20a)]||'';}async['list'](_0x1d0045){var _0x123e0f=_0x1b6ca5;const _0x13d8d9=this[_0x123e0f(0x127)]()+_0x123e0f(0xb8);return(await this[_0x123e0f(0x24c)][_0x123e0f(0x268)](_0x13d8d9,{'body':_0x1d0045}))['body']['objects'];}async[_0x1b6ca5(0x2d1)](_0x266cfd){var _0x42dd80=_0x1b6ca5,_0x2ff44e,_0x4d78d0;const _0xdf4e58=this[_0x42dd80(0x127)]()+'/'+_0x266cfd[_0x42dd80(0x124)]+'/object/'+_0x266cfd[_0x42dd80(0x20a)],_0x406640=await this[_0x42dd80(0x24c)][_0x42dd80(0x280)](_0xdf4e58,{'body':_0x266cfd});if(((_0x4d78d0=(_0x2ff44e=_0x406640==null?void 0x0:_0x406640[_0x42dd80(0x35a)])==null?void 0x0:_0x2ff44e[_0x42dd80(0x35f)])==null?void 0x0:_0x4d78d0[_0x42dd80(0x3e6)])!==0x1)throw new Error(_0x42dd80(0x81));}async[_0x1b6ca5(0x1cc)](_0x59661e){var _0x12a988=_0x1b6ca5;const _0x330222=this[_0x12a988(0x127)]()+'/'+_0x59661e[_0x12a988(0x124)]+_0x12a988(0x3c1)+_0x59661e[_0x12a988(0x20a)]+_0x12a988(0x2cb);return(await this['_HTTPService'][_0x12a988(0x268)](_0x330222,{'body':_0x59661e}))['body'][_0x12a988(0x303)];}async[_0x1b6ca5(0x103)](_0x45b89c){var _0x5a74c1=_0x1b6ca5;const _0x193f21=this[_0x5a74c1(0x127)]()+'/-/object/-/batch_allowed';return(await this[_0x5a74c1(0x24c)][_0x5a74c1(0x268)](_0x193f21,{'body':{'requests':_0x45b89c}}))[_0x5a74c1(0x35a)][_0x5a74c1(0x2c4)];}async[_0x1b6ca5(0x2a0)](_0x35f1f9){var _0x5a795e=_0x1b6ca5;const _0x3c19e4=this[_0x5a795e(0x127)]()+'/'+_0x35f1f9[_0x5a795e(0x124)]+'/role',_0x5ca487=await this[_0x5a795e(0x24c)][_0x5a795e(0x268)](_0x3c19e4,{'body':_0x35f1f9});return{'roles':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x28c)],'actions':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x303)]};}async[_0x1b6ca5(0x230)](_0x1c80c2){var _0x37f0da=_0x1b6ca5;const _0xbbf12f=this[_0x37f0da(0x127)]()+_0x37f0da(0x21c);await this[_0x37f0da(0x24c)][_0x37f0da(0x3d7)](_0xbbf12f,{'params':{'collaboratorID':_0x1c80c2['collaboratorID'],'objectID':_0x1c80c2['objectID'],'unitID':_0x1c80c2[_0x37f0da(0xfe)]}});}async[_0x1b6ca5(0x214)](_0x43326e){var _0x32975a=_0x1b6ca5;const _0x16a172=this['_getAPIPrefixPath']()+_0x32975a(0x21c);await this[_0x32975a(0x24c)][_0x32975a(0x33f)](_0x16a172,{'body':_0x43326e});}async[_0x1b6ca5(0x2ea)](_0x2cd7a3){var _0x4ce9a0=_0x1b6ca5;const _0x4924c3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4ce9a0(0x24c)][_0x4ce9a0(0x268)](_0x4924c3,{'body':_0x2cd7a3});}async[_0x1b6ca5(0x13c)](_0x5a025c){var _0x2ce93b=_0x1b6ca5;const _0x4e670c=this[_0x2ce93b(0x127)]()+_0x2ce93b(0x21c);return(await this[_0x2ce93b(0x24c)][_0x2ce93b(0x2b3)](_0x4e670c,{'params':{'objectID':_0x5a025c[_0x2ce93b(0x20a)],'unitID':_0x5a025c[_0x2ce93b(0xfe)]}}))[_0x2ce93b(0x35a)][_0x2ce93b(0x3aa)];}async[_0x1b6ca5(0x16d)](_0x491446){var _0x2ffaf5=_0x1b6ca5;const _0x2b103d=this[_0x2ffaf5(0x127)]()+_0x2ffaf5(0x21c);await this[_0x2ffaf5(0x24c)][_0x2ffaf5(0x280)](_0x2b103d,{'body':_0x491446});}},_0x35847c['AuthzIoHttpService']=_0x56aabf([_0x2b8a78(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e['HTTPService'])),_0x2b8a78(0x1,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x1af)]))],_0x35847c[_0x1b6ca5(0x3af)]);var _0x374344=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x208e50(_0x293532){var _0xa7aa80=_0x1b6ca5;return _0x293532&&_0x293532[_0xa7aa80(0x194)]&&Object[_0xa7aa80(0x3d9)][_0xa7aa80(0x2f8)]['call'](_0x293532,'default')?_0x293532[_0xa7aa80(0x92)]:_0x293532;}var _0x29c350={'exports':{}};function _0x22fc74(_0x39b647){var _0x3a6c89=_0x1b6ca5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x39b647+_0x3a6c89(0x1de));}var _0x519e66={'exports':{}},_0x3b6d3c=_0x519e66[_0x1b6ca5(0x17e)],_0x177da6;function _0x20f9b7(){var _0x848d17=_0x1b6ca5;return _0x177da6||(_0x177da6=0x1,function(_0xc8b7c5,_0xa50ac8){(function(_0x1cc6a0,_0x45d55c){_0xc8b7c5['exports']=_0x45d55c();}(_0x3b6d3c,function(){var _0x1ee095=_0x1ee095||function(_0x149267,_0x49547a){var _0x37b7cf=_0x1ac4,_0x1d1a71;if(typeof window<'u'&&window[_0x37b7cf(0x2ee)]&&(_0x1d1a71=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d1a71=self['crypto']),typeof globalThis<'u'&&globalThis[_0x37b7cf(0x2ee)]&&(_0x1d1a71=globalThis['crypto']),!_0x1d1a71&&typeof window<'u'&&window[_0x37b7cf(0x3d0)]&&(_0x1d1a71=window[_0x37b7cf(0x3d0)]),!_0x1d1a71&&typeof _0x374344<'u'&&_0x374344['crypto']&&(_0x1d1a71=_0x374344[_0x37b7cf(0x2ee)]),!_0x1d1a71&&typeof _0x22fc74==_0x37b7cf(0x96))try{_0x1d1a71=require('crypto');}catch{}var _0x18312c=function(){var _0x5aab21=_0x37b7cf;if(_0x1d1a71){if(typeof _0x1d1a71['getRandomValues']=='function')try{return _0x1d1a71['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d1a71[_0x5aab21(0x10e)]==_0x5aab21(0x96))try{return _0x1d1a71[_0x5aab21(0x10e)](0x4)[_0x5aab21(0x1e8)]();}catch{}}throw new Error(_0x5aab21(0x2c9));},_0x334c80=Object[_0x37b7cf(0x355)]||(function(){function _0x1920e6(){}return function(_0x1a956a){var _0x24f9e6=_0x1ac4,_0xe2a9af;return _0x1920e6[_0x24f9e6(0x3d9)]=_0x1a956a,_0xe2a9af=new _0x1920e6(),_0x1920e6['prototype']=null,_0xe2a9af;};}()),_0x31a05e={},_0x43e313=_0x31a05e['lib']={},_0x263089=_0x43e313['Base']=(function(){return{'extend':function(_0x52c96a){var _0x2b0f2c=_0x1ac4,_0xc5dc20=_0x334c80(this);return _0x52c96a&&_0xc5dc20[_0x2b0f2c(0x323)](_0x52c96a),(!_0xc5dc20[_0x2b0f2c(0x2f8)]('init')||this['init']===_0xc5dc20[_0x2b0f2c(0x82)])&&(_0xc5dc20[_0x2b0f2c(0x82)]=function(){var _0x37db03=_0x2b0f2c;_0xc5dc20[_0x37db03(0x282)][_0x37db03(0x82)][_0x37db03(0x1fa)](this,arguments);}),_0xc5dc20[_0x2b0f2c(0x82)][_0x2b0f2c(0x3d9)]=_0xc5dc20,_0xc5dc20[_0x2b0f2c(0x282)]=this,_0xc5dc20;},'create':function(){var _0x24629d=_0x1ac4,_0x29b86c=this[_0x24629d(0x22f)]();return _0x29b86c['init'][_0x24629d(0x1fa)](_0x29b86c,arguments),_0x29b86c;},'init':function(){},'mixIn':function(_0x7c4f87){var _0xc6c6e=_0x1ac4;for(var _0x4fde40 in _0x7c4f87)_0x7c4f87[_0xc6c6e(0x2f8)](_0x4fde40)&&(this[_0x4fde40]=_0x7c4f87[_0x4fde40]);_0x7c4f87[_0xc6c6e(0x2f8)](_0xc6c6e(0x1ac))&&(this[_0xc6c6e(0x1ac)]=_0x7c4f87[_0xc6c6e(0x1ac)]);},'clone':function(){var _0x56b7d5=_0x1ac4;return this[_0x56b7d5(0x82)][_0x56b7d5(0x3d9)][_0x56b7d5(0x22f)](this);}};}()),_0x322751=_0x43e313[_0x37b7cf(0x26f)]=_0x263089['extend']({'init':function(_0x9af985,_0x3d05b4){var _0x3668bb=_0x37b7cf;_0x9af985=this[_0x3668bb(0x2f5)]=_0x9af985||[],_0x3d05b4!=_0x49547a?this[_0x3668bb(0x3b3)]=_0x3d05b4:this[_0x3668bb(0x3b3)]=_0x9af985[_0x3668bb(0x39e)]*0x4;},'toString':function(_0x4b51ef){var _0x303520=_0x37b7cf;return(_0x4b51ef||_0x2519a3)[_0x303520(0x144)](this);},'concat':function(_0x3ddf92){var _0x2efe17=_0x37b7cf,_0xed9339=this[_0x2efe17(0x2f5)],_0xef7a69=_0x3ddf92[_0x2efe17(0x2f5)],_0x4341be=this['sigBytes'],_0x167b76=_0x3ddf92[_0x2efe17(0x3b3)];if(this[_0x2efe17(0x90)](),_0x4341be%0x4)for(var _0x293265=0x0;_0x293265<_0x167b76;_0x293265++){var _0xba0fe7=_0xef7a69[_0x293265>>>0x2]>>>0x18-_0x293265%0x4*0x8&0xff;_0xed9339[_0x4341be+_0x293265>>>0x2]|=_0xba0fe7<<0x18-(_0x4341be+_0x293265)%0x4*0x8;}else{for(var _0x1f0261=0x0;_0x1f0261<_0x167b76;_0x1f0261+=0x4)_0xed9339[_0x4341be+_0x1f0261>>>0x2]=_0xef7a69[_0x1f0261>>>0x2];}return this[_0x2efe17(0x3b3)]+=_0x167b76,this;},'clamp':function(){var _0x2c6683=_0x37b7cf,_0x2b3d1e=this[_0x2c6683(0x2f5)],_0x34f667=this[_0x2c6683(0x3b3)];_0x2b3d1e[_0x34f667>>>0x2]&=0xffffffff<<0x20-_0x34f667%0x4*0x8,_0x2b3d1e[_0x2c6683(0x39e)]=_0x149267[_0x2c6683(0x278)](_0x34f667/0x4);},'clone':function(){var _0x116ddf=_0x37b7cf,_0xb5b4f9=_0x263089['clone']['call'](this);return _0xb5b4f9[_0x116ddf(0x2f5)]=this[_0x116ddf(0x2f5)][_0x116ddf(0x1a1)](0x0),_0xb5b4f9;},'random':function(_0x2151d9){var _0x46bbcc=_0x37b7cf;for(var _0x2b5f81=[],_0xa660e0=0x0;_0xa660e0<_0x2151d9;_0xa660e0+=0x4)_0x2b5f81['push'](_0x18312c());return new _0x322751[(_0x46bbcc(0x82))](_0x2b5f81,_0x2151d9);}}),_0xc30929=_0x31a05e[_0x37b7cf(0x37f)]={},_0x2519a3=_0xc30929[_0x37b7cf(0x352)]={'stringify':function(_0x148653){var _0x2d5670=_0x37b7cf;for(var _0xd46f32=_0x148653['words'],_0x3e1240=_0x148653[_0x2d5670(0x3b3)],_0x457c38=[],_0x10cc3d=0x0;_0x10cc3d<_0x3e1240;_0x10cc3d++){var _0x2ac818=_0xd46f32[_0x10cc3d>>>0x2]>>>0x18-_0x10cc3d%0x4*0x8&0xff;_0x457c38[_0x2d5670(0x13f)]((_0x2ac818>>>0x4)[_0x2d5670(0x1ac)](0x10)),_0x457c38[_0x2d5670(0x13f)]((_0x2ac818&0xf)[_0x2d5670(0x1ac)](0x10));}return _0x457c38[_0x2d5670(0x234)]('');},'parse':function(_0xd39a67){var _0x3b1b65=_0x37b7cf;for(var _0xe90a3=_0xd39a67[_0x3b1b65(0x39e)],_0x1d64eb=[],_0x158688=0x0;_0x158688<_0xe90a3;_0x158688+=0x2)_0x1d64eb[_0x158688>>>0x3]|=parseInt(_0xd39a67[_0x3b1b65(0x25c)](_0x158688,0x2),0x10)<<0x18-_0x158688%0x8*0x4;return new _0x322751['init'](_0x1d64eb,_0xe90a3/0x2);}},_0x8016fc=_0xc30929[_0x37b7cf(0x17b)]={'stringify':function(_0x434e7f){var _0xd00837=_0x37b7cf;for(var _0x53acb6=_0x434e7f[_0xd00837(0x2f5)],_0x48f3a9=_0x434e7f[_0xd00837(0x3b3)],_0x3e1c69=[],_0x405c21=0x0;_0x405c21<_0x48f3a9;_0x405c21++){var _0x2675b7=_0x53acb6[_0x405c21>>>0x2]>>>0x18-_0x405c21%0x4*0x8&0xff;_0x3e1c69['push'](String[_0xd00837(0x1ee)](_0x2675b7));}return _0x3e1c69[_0xd00837(0x234)]('');},'parse':function(_0x35d142){var _0x13c51f=_0x37b7cf;for(var _0x2c6e47=_0x35d142[_0x13c51f(0x39e)],_0x8b1b93=[],_0x3c6439=0x0;_0x3c6439<_0x2c6e47;_0x3c6439++)_0x8b1b93[_0x3c6439>>>0x2]|=(_0x35d142[_0x13c51f(0x158)](_0x3c6439)&0xff)<<0x18-_0x3c6439%0x4*0x8;return new _0x322751[(_0x13c51f(0x82))](_0x8b1b93,_0x2c6e47);}},_0x1b1bf4=_0xc30929[_0x37b7cf(0x3ba)]={'stringify':function(_0x2f8f05){var _0x450121=_0x37b7cf;try{return decodeURIComponent(escape(_0x8016fc['stringify'](_0x2f8f05)));}catch{throw new Error(_0x450121(0x10b));}},'parse':function(_0x4ced57){var _0x15fdac=_0x37b7cf;return _0x8016fc[_0x15fdac(0x9b)](unescape(encodeURIComponent(_0x4ced57)));}},_0x5e900b=_0x43e313['BufferedBlockAlgorithm']=_0x263089[_0x37b7cf(0x22f)]({'reset':function(){var _0x3c4bbc=_0x37b7cf;this[_0x3c4bbc(0x71)]=new _0x322751[(_0x3c4bbc(0x82))](),this['_nDataBytes']=0x0;},'_append':function(_0x3f18cf){var _0x4c078b=_0x37b7cf;typeof _0x3f18cf==_0x4c078b(0x2d5)&&(_0x3f18cf=_0x1b1bf4[_0x4c078b(0x9b)](_0x3f18cf)),this[_0x4c078b(0x71)][_0x4c078b(0x260)](_0x3f18cf),this['_nDataBytes']+=_0x3f18cf[_0x4c078b(0x3b3)];},'_process':function(_0x27e019){var _0x41ca17=_0x37b7cf,_0x1a5f31,_0x3336e2=this[_0x41ca17(0x71)],_0x36c4a2=_0x3336e2['words'],_0x3c4f72=_0x3336e2['sigBytes'],_0x4c5aad=this[_0x41ca17(0x3df)],_0x27e6dd=_0x4c5aad*0x4,_0x298e26=_0x3c4f72/_0x27e6dd;_0x27e019?_0x298e26=_0x149267[_0x41ca17(0x278)](_0x298e26):_0x298e26=_0x149267[_0x41ca17(0x298)]((_0x298e26|0x0)-this[_0x41ca17(0x140)],0x0);var _0x560ca1=_0x298e26*_0x4c5aad,_0x218a64=_0x149267[_0x41ca17(0x1bf)](_0x560ca1*0x4,_0x3c4f72);if(_0x560ca1){for(var _0x4addd4=0x0;_0x4addd4<_0x560ca1;_0x4addd4+=_0x4c5aad)this[_0x41ca17(0x1bc)](_0x36c4a2,_0x4addd4);_0x1a5f31=_0x36c4a2[_0x41ca17(0x3c3)](0x0,_0x560ca1),_0x3336e2[_0x41ca17(0x3b3)]-=_0x218a64;}return new _0x322751[(_0x41ca17(0x82))](_0x1a5f31,_0x218a64);},'clone':function(){var _0x152f8f=_0x37b7cf,_0x5f3d12=_0x263089[_0x152f8f(0x170)][_0x152f8f(0x118)](this);return _0x5f3d12['_data']=this[_0x152f8f(0x71)][_0x152f8f(0x170)](),_0x5f3d12;},'_minBufferSize':0x0});_0x43e313['Hasher']=_0x5e900b[_0x37b7cf(0x22f)]({'cfg':_0x263089['extend'](),'init':function(_0x54bafc){var _0x4a6131=_0x37b7cf;this[_0x4a6131(0x198)]=this[_0x4a6131(0x198)][_0x4a6131(0x22f)](_0x54bafc),this[_0x4a6131(0x3a7)]();},'reset':function(){var _0x29dce4=_0x37b7cf;_0x5e900b['reset'][_0x29dce4(0x118)](this),this['_doReset']();},'update':function(_0x58105c){var _0x13a294=_0x37b7cf;return this[_0x13a294(0x30d)](_0x58105c),this[_0x13a294(0x1e3)](),this;},'finalize':function(_0x1374da){var _0xa1f22c=_0x37b7cf;_0x1374da&&this[_0xa1f22c(0x30d)](_0x1374da);var _0xedb162=this[_0xa1f22c(0x365)]();return _0xedb162;},'blockSize':0x10,'_createHelper':function(_0x3ec77e){return function(_0x5f122f,_0x4f17e5){var _0xf33597=_0x1ac4;return new _0x3ec77e[(_0xf33597(0x82))](_0x4f17e5)[_0xf33597(0x332)](_0x5f122f);};},'_createHmacHelper':function(_0x3fcf01){return function(_0x1df49d,_0x357035){var _0x5b88e6=_0x1ac4;return new _0x3bfa0d[(_0x5b88e6(0x1ad))][(_0x5b88e6(0x82))](_0x3fcf01,_0x357035)[_0x5b88e6(0x332)](_0x1df49d);};}});var _0x3bfa0d=_0x31a05e[_0x37b7cf(0x227)]={};return _0x31a05e;}(Math);return _0x1ee095;}));}(_0x519e66)),_0x519e66[_0x848d17(0x17e)];}var _0x57ebd2={'exports':{}},_0x202844=_0x57ebd2[_0x1b6ca5(0x17e)],_0x38a7c0;function _0x29f71f(){var _0x194cb0=_0x1b6ca5;return _0x38a7c0||(_0x38a7c0=0x1,function(_0x6b2ede,_0x6c0404){(function(_0x4f60b0,_0xf44977){var _0x2f1546=_0x1ac4;_0x6b2ede[_0x2f1546(0x17e)]=_0xf44977(_0x20f9b7());}(_0x202844,function(_0x14e3b4){var _0x3f7888=_0x1ac4;return(function(){var _0x39fd09=_0x1ac4,_0x56fa94=_0x14e3b4,_0x2427eb=_0x56fa94[_0x39fd09(0x223)],_0x51a32d=_0x2427eb[_0x39fd09(0x26f)],_0x5b5eab=_0x56fa94['enc'];_0x5b5eab[_0x39fd09(0x39f)]={'stringify':function(_0x18b972){var _0x41eaae=_0x39fd09,_0x5a0de4=_0x18b972[_0x41eaae(0x2f5)],_0x13bf89=_0x18b972[_0x41eaae(0x3b3)],_0x585843=this['_map'];_0x18b972[_0x41eaae(0x90)]();for(var _0x2b1c02=[],_0x46796c=0x0;_0x46796c<_0x13bf89;_0x46796c+=0x3)for(var _0x493447=_0x5a0de4[_0x46796c>>>0x2]>>>0x18-_0x46796c%0x4*0x8&0xff,_0x55d2b0=_0x5a0de4[_0x46796c+0x1>>>0x2]>>>0x18-(_0x46796c+0x1)%0x4*0x8&0xff,_0x336115=_0x5a0de4[_0x46796c+0x2>>>0x2]>>>0x18-(_0x46796c+0x2)%0x4*0x8&0xff,_0x3f866d=_0x493447<<0x10|_0x55d2b0<<0x8|_0x336115,_0x5a49c5=0x0;_0x5a49c5<0x4&&_0x46796c+_0x5a49c5*0.75<_0x13bf89;_0x5a49c5++)_0x2b1c02[_0x41eaae(0x13f)](_0x585843['charAt'](_0x3f866d>>>0x6*(0x3-_0x5a49c5)&0x3f));var _0x3f6e4f=_0x585843[_0x41eaae(0xa2)](0x40);if(_0x3f6e4f){for(;_0x2b1c02['length']%0x4;)_0x2b1c02[_0x41eaae(0x13f)](_0x3f6e4f);}return _0x2b1c02[_0x41eaae(0x234)]('');},'parse':function(_0x3b4609){var _0x25f1f1=_0x39fd09,_0x36fa7c=_0x3b4609[_0x25f1f1(0x39e)],_0x18821e=this[_0x25f1f1(0xf6)],_0x35ddf4=this[_0x25f1f1(0x373)];if(!_0x35ddf4){_0x35ddf4=this[_0x25f1f1(0x373)]=[];for(var _0x1e7b34=0x0;_0x1e7b34<_0x18821e[_0x25f1f1(0x39e)];_0x1e7b34++)_0x35ddf4[_0x18821e['charCodeAt'](_0x1e7b34)]=_0x1e7b34;}var _0xcd55ac=_0x18821e['charAt'](0x40);if(_0xcd55ac){var _0x572880=_0x3b4609[_0x25f1f1(0x159)](_0xcd55ac);_0x572880!==-0x1&&(_0x36fa7c=_0x572880);}return _0x449e46(_0x3b4609,_0x36fa7c,_0x35ddf4);},'_map':_0x39fd09(0x2c8)};function _0x449e46(_0x4b11ab,_0x28af44,_0x183a36){var _0x101997=_0x39fd09;for(var _0x7a0398=[],_0x224f82=0x0,_0x52bbe8=0x0;_0x52bbe8<_0x28af44;_0x52bbe8++)if(_0x52bbe8%0x4){var _0x30e854=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8-0x1)]<<_0x52bbe8%0x4*0x2,_0x5d3c9e=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8)]>>>0x6-_0x52bbe8%0x4*0x2,_0x516822=_0x30e854|_0x5d3c9e;_0x7a0398[_0x224f82>>>0x2]|=_0x516822<<0x18-_0x224f82%0x4*0x8,_0x224f82++;}return _0x51a32d[_0x101997(0x355)](_0x7a0398,_0x224f82);}}()),_0x14e3b4[_0x3f7888(0x37f)][_0x3f7888(0x39f)];}));}(_0x57ebd2)),_0x57ebd2[_0x194cb0(0x17e)];}var _0x6feedb={'exports':{}},_0x555e4a=_0x6feedb[_0x1b6ca5(0x17e)],_0x428652;function _0x1855fc(){return _0x428652||(_0x428652=0x1,function(_0x2c6752,_0x5e90ca){(function(_0x4354ff,_0x468949){_0x2c6752['exports']=_0x468949(_0x20f9b7());}(_0x555e4a,function(_0x243d6c){var _0x396996=_0x1ac4;return function(_0x1896e6){var _0x1d177b=_0x1ac4,_0x3fba26=_0x243d6c,_0x309a85=_0x3fba26['lib'],_0x486890=_0x309a85['WordArray'],_0x566acb=_0x309a85['Hasher'],_0x1cc4a8=_0x3fba26[_0x1d177b(0x227)],_0x488ebd=[];(function(){var _0x5f1256=_0x1d177b;for(var _0x1b6c63=0x0;_0x1b6c63<0x40;_0x1b6c63++)_0x488ebd[_0x1b6c63]=_0x1896e6[_0x5f1256(0x22b)](_0x1896e6['sin'](_0x1b6c63+0x1))*0x100000000|0x0;}());var _0x199344=_0x1cc4a8[_0x1d177b(0x229)]=_0x566acb['extend']({'_doReset':function(){var _0x1853b4=_0x1d177b;this['_hash']=new _0x486890[(_0x1853b4(0x82))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xae0014,_0x43580f){var _0x3d9852=_0x1d177b;for(var _0x3c6eef=0x0;_0x3c6eef<0x10;_0x3c6eef++){var _0x1cfa2c=_0x43580f+_0x3c6eef,_0x2fc301=_0xae0014[_0x1cfa2c];_0xae0014[_0x1cfa2c]=(_0x2fc301<<0x8|_0x2fc301>>>0x18)&0xff00ff|(_0x2fc301<<0x18|_0x2fc301>>>0x8)&0xff00ff00;}var _0x4d7ab6=this[_0x3d9852(0x25b)][_0x3d9852(0x2f5)],_0x442c2a=_0xae0014[_0x43580f+0x0],_0x33c7c4=_0xae0014[_0x43580f+0x1],_0x367f30=_0xae0014[_0x43580f+0x2],_0x3d4de9=_0xae0014[_0x43580f+0x3],_0x37d637=_0xae0014[_0x43580f+0x4],_0x3e32f0=_0xae0014[_0x43580f+0x5],_0xc28a15=_0xae0014[_0x43580f+0x6],_0x13dc13=_0xae0014[_0x43580f+0x7],_0x9066c1=_0xae0014[_0x43580f+0x8],_0x100d43=_0xae0014[_0x43580f+0x9],_0x2573f9=_0xae0014[_0x43580f+0xa],_0x4154ca=_0xae0014[_0x43580f+0xb],_0x13d617=_0xae0014[_0x43580f+0xc],_0x3bc198=_0xae0014[_0x43580f+0xd],_0x5969fa=_0xae0014[_0x43580f+0xe],_0x5608e5=_0xae0014[_0x43580f+0xf],_0x13e5a9=_0x4d7ab6[0x0],_0x362122=_0x4d7ab6[0x1],_0x31ce02=_0x4d7ab6[0x2],_0x4c4ed3=_0x4d7ab6[0x3];_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x7,_0x488ebd[0x0]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x33c7c4,0xc,_0x488ebd[0x1]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0x11,_0x488ebd[0x2]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3d4de9,0x16,_0x488ebd[0x3]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x7,_0x488ebd[0x4]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3e32f0,0xc,_0x488ebd[0x5]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0x11,_0x488ebd[0x6]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13dc13,0x16,_0x488ebd[0x7]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x7,_0x488ebd[0x8]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x100d43,0xc,_0x488ebd[0x9]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0x11,_0x488ebd[0xa]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x4154ca,0x16,_0x488ebd[0xb]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x7,_0x488ebd[0xc]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3bc198,0xc,_0x488ebd[0xd]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0x11,_0x488ebd[0xe]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5608e5,0x16,_0x488ebd[0xf]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x5,_0x488ebd[0x10]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0xc28a15,0x9,_0x488ebd[0x11]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0xe,_0x488ebd[0x12]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x442c2a,0x14,_0x488ebd[0x13]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x5,_0x488ebd[0x14]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x2573f9,0x9,_0x488ebd[0x15]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0xe,_0x488ebd[0x16]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x37d637,0x14,_0x488ebd[0x17]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x5,_0x488ebd[0x18]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5969fa,0x9,_0x488ebd[0x19]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0xe,_0x488ebd[0x1a]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x9066c1,0x14,_0x488ebd[0x1b]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x5,_0x488ebd[0x1c]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x367f30,0x9,_0x488ebd[0x1d]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0xe,_0x488ebd[0x1e]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13d617,0x14,_0x488ebd[0x1f]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x4,_0x488ebd[0x20]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x9066c1,0xb,_0x488ebd[0x21]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0x10,_0x488ebd[0x22]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5969fa,0x17,_0x488ebd[0x23]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x4,_0x488ebd[0x24]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x37d637,0xb,_0x488ebd[0x25]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0x10,_0x488ebd[0x26]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x2573f9,0x17,_0x488ebd[0x27]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x4,_0x488ebd[0x28]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x442c2a,0xb,_0x488ebd[0x29]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0x10,_0x488ebd[0x2a]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0xc28a15,0x17,_0x488ebd[0x2b]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x4,_0x488ebd[0x2c]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13d617,0xb,_0x488ebd[0x2d]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0x10,_0x488ebd[0x2e]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x367f30,0x17,_0x488ebd[0x2f]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x6,_0x488ebd[0x30]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13dc13,0xa,_0x488ebd[0x31]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0xf,_0x488ebd[0x32]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3e32f0,0x15,_0x488ebd[0x33]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x6,_0x488ebd[0x34]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3d4de9,0xa,_0x488ebd[0x35]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0xf,_0x488ebd[0x36]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x33c7c4,0x15,_0x488ebd[0x37]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x6,_0x488ebd[0x38]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5608e5,0xa,_0x488ebd[0x39]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0xf,_0x488ebd[0x3a]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3bc198,0x15,_0x488ebd[0x3b]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x6,_0x488ebd[0x3c]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x4154ca,0xa,_0x488ebd[0x3d]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0xf,_0x488ebd[0x3e]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x100d43,0x15,_0x488ebd[0x3f]),_0x4d7ab6[0x0]=_0x4d7ab6[0x0]+_0x13e5a9|0x0,_0x4d7ab6[0x1]=_0x4d7ab6[0x1]+_0x362122|0x0,_0x4d7ab6[0x2]=_0x4d7ab6[0x2]+_0x31ce02|0x0,_0x4d7ab6[0x3]=_0x4d7ab6[0x3]+_0x4c4ed3|0x0;},'_doFinalize':function(){var _0x1bcfb2=_0x1d177b,_0xfccba9=this[_0x1bcfb2(0x71)],_0x4dad1e=_0xfccba9[_0x1bcfb2(0x2f5)],_0xf6742b=this['_nDataBytes']*0x8,_0x4e2d35=_0xfccba9['sigBytes']*0x8;_0x4dad1e[_0x4e2d35>>>0x5]|=0x80<<0x18-_0x4e2d35%0x20;var _0xb2516a=_0x1896e6[_0x1bcfb2(0x331)](_0xf6742b/0x100000000),_0x15c096=_0xf6742b;_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xf]=(_0xb2516a<<0x8|_0xb2516a>>>0x18)&0xff00ff|(_0xb2516a<<0x18|_0xb2516a>>>0x8)&0xff00ff00,_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xe]=(_0x15c096<<0x8|_0x15c096>>>0x18)&0xff00ff|(_0x15c096<<0x18|_0x15c096>>>0x8)&0xff00ff00,_0xfccba9[_0x1bcfb2(0x3b3)]=(_0x4dad1e[_0x1bcfb2(0x39e)]+0x1)*0x4,this['_process']();for(var _0x141c2c=this['_hash'],_0x19ea97=_0x141c2c[_0x1bcfb2(0x2f5)],_0x21a16d=0x0;_0x21a16d<0x4;_0x21a16d++){var _0x3e0fd9=_0x19ea97[_0x21a16d];_0x19ea97[_0x21a16d]=(_0x3e0fd9<<0x8|_0x3e0fd9>>>0x18)&0xff00ff|(_0x3e0fd9<<0x18|_0x3e0fd9>>>0x8)&0xff00ff00;}return _0x141c2c;},'clone':function(){var _0x8715cd=_0x1d177b,_0x595a4d=_0x566acb[_0x8715cd(0x170)][_0x8715cd(0x118)](this);return _0x595a4d[_0x8715cd(0x25b)]=this[_0x8715cd(0x25b)][_0x8715cd(0x170)](),_0x595a4d;}});function _0x13e765(_0x235359,_0x1a6850,_0x5b7b8f,_0x581baf,_0x15b280,_0x30e556,_0x4529b5){var _0x2e808f=_0x235359+(_0x1a6850&_0x5b7b8f|~_0x1a6850&_0x581baf)+_0x15b280+_0x4529b5;return(_0x2e808f<<_0x30e556|_0x2e808f>>>0x20-_0x30e556)+_0x1a6850;}function _0x35555b(_0x283b64,_0x35b3f7,_0xa83b1b,_0x462fdc,_0x3ca91e,_0x1b54cf,_0x152158){var _0x35b2ae=_0x283b64+(_0x35b3f7&_0x462fdc|_0xa83b1b&~_0x462fdc)+_0x3ca91e+_0x152158;return(_0x35b2ae<<_0x1b54cf|_0x35b2ae>>>0x20-_0x1b54cf)+_0x35b3f7;}function _0x24d373(_0x1a3673,_0x395f19,_0x1a3a21,_0x51e46c,_0x431d27,_0x22c852,_0xb7cdce){var _0x53b54f=_0x1a3673+(_0x395f19^_0x1a3a21^_0x51e46c)+_0x431d27+_0xb7cdce;return(_0x53b54f<<_0x22c852|_0x53b54f>>>0x20-_0x22c852)+_0x395f19;}function _0x4b0116(_0x4d60e9,_0x2eb897,_0x1f19c6,_0x5f2d49,_0x47d1f5,_0x46a10e,_0x9d77ac){var _0x5541a9=_0x4d60e9+(_0x1f19c6^(_0x2eb897|~_0x5f2d49))+_0x47d1f5+_0x9d77ac;return(_0x5541a9<<_0x46a10e|_0x5541a9>>>0x20-_0x46a10e)+_0x2eb897;}_0x3fba26[_0x1d177b(0x229)]=_0x566acb[_0x1d177b(0x1d0)](_0x199344),_0x3fba26[_0x1d177b(0x11d)]=_0x566acb['_createHmacHelper'](_0x199344);}(Math),_0x243d6c[_0x396996(0x229)];}));}(_0x6feedb)),_0x6feedb['exports'];}var _0x587674={'exports':{}},_0x4b5134={'exports':{}},_0x292db4=_0x4b5134[_0x1b6ca5(0x17e)],_0x427168;function _0x4757c3(){return _0x427168||(_0x427168=0x1,function(_0x585b2f,_0xb5eb80){(function(_0x56383f,_0x3f9321){var _0x484034=_0x1ac4;_0x585b2f[_0x484034(0x17e)]=_0x3f9321(_0x20f9b7());}(_0x292db4,function(_0x13f1fe){var _0x5aa036=_0x1ac4;return(function(){var _0x1911ba=_0x1ac4,_0x15960b=_0x13f1fe,_0x297e8a=_0x15960b[_0x1911ba(0x223)],_0x1f88f3=_0x297e8a[_0x1911ba(0x26f)],_0x18ecf7=_0x297e8a[_0x1911ba(0x38e)],_0x1cf578=_0x15960b[_0x1911ba(0x227)],_0x59d2fa=[],_0x10cc7c=_0x1cf578[_0x1911ba(0xf3)]=_0x18ecf7[_0x1911ba(0x22f)]({'_doReset':function(){this['_hash']=new _0x1f88f3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x527302,_0x265a18){var _0x569af7=_0x1911ba;for(var _0x11522b=this['_hash'][_0x569af7(0x2f5)],_0x1d1c2e=_0x11522b[0x0],_0x569c25=_0x11522b[0x1],_0x996d00=_0x11522b[0x2],_0xd93a10=_0x11522b[0x3],_0x40226d=_0x11522b[0x4],_0xe05578=0x0;_0xe05578<0x50;_0xe05578++){if(_0xe05578<0x10)_0x59d2fa[_0xe05578]=_0x527302[_0x265a18+_0xe05578]|0x0;else{var _0x5b7e91=_0x59d2fa[_0xe05578-0x3]^_0x59d2fa[_0xe05578-0x8]^_0x59d2fa[_0xe05578-0xe]^_0x59d2fa[_0xe05578-0x10];_0x59d2fa[_0xe05578]=_0x5b7e91<<0x1|_0x5b7e91>>>0x1f;}var _0x367da3=(_0x1d1c2e<<0x5|_0x1d1c2e>>>0x1b)+_0x40226d+_0x59d2fa[_0xe05578];_0xe05578<0x14?_0x367da3+=(_0x569c25&_0x996d00|~_0x569c25&_0xd93a10)+0x5a827999:_0xe05578<0x28?_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)+0x6ed9eba1:_0xe05578<0x3c?_0x367da3+=(_0x569c25&_0x996d00|_0x569c25&_0xd93a10|_0x996d00&_0xd93a10)-0x70e44324:_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)-0x359d3e2a,_0x40226d=_0xd93a10,_0xd93a10=_0x996d00,_0x996d00=_0x569c25<<0x1e|_0x569c25>>>0x2,_0x569c25=_0x1d1c2e,_0x1d1c2e=_0x367da3;}_0x11522b[0x0]=_0x11522b[0x0]+_0x1d1c2e|0x0,_0x11522b[0x1]=_0x11522b[0x1]+_0x569c25|0x0,_0x11522b[0x2]=_0x11522b[0x2]+_0x996d00|0x0,_0x11522b[0x3]=_0x11522b[0x3]+_0xd93a10|0x0,_0x11522b[0x4]=_0x11522b[0x4]+_0x40226d|0x0;},'_doFinalize':function(){var _0x257788=_0x1911ba,_0x841fd8=this[_0x257788(0x71)],_0x50897a=_0x841fd8[_0x257788(0x2f5)],_0x21d928=this[_0x257788(0x371)]*0x8,_0x49022d=_0x841fd8[_0x257788(0x3b3)]*0x8;return _0x50897a[_0x49022d>>>0x5]|=0x80<<0x18-_0x49022d%0x20,_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x21d928/0x100000000),_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xf]=_0x21d928,_0x841fd8[_0x257788(0x3b3)]=_0x50897a['length']*0x4,this[_0x257788(0x1e3)](),this['_hash'];},'clone':function(){var _0x19ce45=_0x1911ba,_0x5c45f2=_0x18ecf7[_0x19ce45(0x170)][_0x19ce45(0x118)](this);return _0x5c45f2[_0x19ce45(0x25b)]=this[_0x19ce45(0x25b)][_0x19ce45(0x170)](),_0x5c45f2;}});_0x15960b[_0x1911ba(0xf3)]=_0x18ecf7['_createHelper'](_0x10cc7c),_0x15960b['HmacSHA1']=_0x18ecf7['_createHmacHelper'](_0x10cc7c);}()),_0x13f1fe[_0x5aa036(0xf3)];}));}(_0x4b5134)),_0x4b5134['exports'];}var _0x4f758c={'exports':{}},_0x4b4d55=_0x4f758c[_0x1b6ca5(0x17e)],_0x375340;function _0x16cd90(){var _0x3e9c51=_0x1b6ca5;return _0x375340||(_0x375340=0x1,function(_0x2f8568,_0x534af4){(function(_0x1e6e00,_0x37aec5){_0x2f8568['exports']=_0x37aec5(_0x20f9b7());}(_0x4b4d55,function(_0x2f91b6){(function(){var _0x245521=_0x1ac4,_0x32f636=_0x2f91b6,_0xad51ba=_0x32f636['lib'],_0x61f061=_0xad51ba[_0x245521(0x38c)],_0x118568=_0x32f636[_0x245521(0x37f)],_0x25786f=_0x118568[_0x245521(0x3ba)],_0x4dbc65=_0x32f636[_0x245521(0x227)];_0x4dbc65[_0x245521(0x1ad)]=_0x61f061[_0x245521(0x22f)]({'init':function(_0x43ec99,_0xbd176d){var _0x3bb778=_0x245521;_0x43ec99=this[_0x3bb778(0x3ea)]=new _0x43ec99[(_0x3bb778(0x82))](),typeof _0xbd176d=='string'&&(_0xbd176d=_0x25786f[_0x3bb778(0x9b)](_0xbd176d));var _0x2a37f5=_0x43ec99[_0x3bb778(0x3df)],_0x44d586=_0x2a37f5*0x4;_0xbd176d[_0x3bb778(0x3b3)]>_0x44d586&&(_0xbd176d=_0x43ec99[_0x3bb778(0x332)](_0xbd176d)),_0xbd176d[_0x3bb778(0x90)]();for(var _0x3c24eb=this[_0x3bb778(0x2b9)]=_0xbd176d[_0x3bb778(0x170)](),_0x280b37=this['_iKey']=_0xbd176d[_0x3bb778(0x170)](),_0x469980=_0x3c24eb['words'],_0x5e2031=_0x280b37['words'],_0x41e3c7=0x0;_0x41e3c7<_0x2a37f5;_0x41e3c7++)_0x469980[_0x41e3c7]^=0x5c5c5c5c,_0x5e2031[_0x41e3c7]^=0x36363636;_0x3c24eb[_0x3bb778(0x3b3)]=_0x280b37[_0x3bb778(0x3b3)]=_0x44d586,this['reset']();},'reset':function(){var _0x396ef6=_0x245521,_0x172779=this[_0x396ef6(0x3ea)];_0x172779[_0x396ef6(0x3a7)](),_0x172779['update'](this[_0x396ef6(0x2b6)]);},'update':function(_0x26589c){return this['_hasher']['update'](_0x26589c),this;},'finalize':function(_0x57c0e3){var _0x5d32cb=_0x245521,_0x2b72b3=this[_0x5d32cb(0x3ea)],_0x41ac52=_0x2b72b3[_0x5d32cb(0x332)](_0x57c0e3);_0x2b72b3[_0x5d32cb(0x3a7)]();var _0x584cdd=_0x2b72b3[_0x5d32cb(0x332)](this[_0x5d32cb(0x2b9)][_0x5d32cb(0x170)]()[_0x5d32cb(0x260)](_0x41ac52));return _0x584cdd;}});}());}));}(_0x4f758c)),_0x4f758c[_0x3e9c51(0x17e)];}var _0x3e513=_0x587674[_0x1b6ca5(0x17e)],_0x48d27d;function _0x2cd659(){var _0x4d17c0=_0x1b6ca5;return _0x48d27d||(_0x48d27d=0x1,function(_0x1eef6b,_0x1587ab){(function(_0x47f4fe,_0x51e1fc,_0x307738){var _0x20d891=_0x1ac4;_0x1eef6b[_0x20d891(0x17e)]=_0x51e1fc(_0x20f9b7(),_0x4757c3(),_0x16cd90());}(_0x3e513,function(_0x3ff45f){var _0x2e9eb2=_0x1ac4;return(function(){var _0x4131cb=_0x1ac4,_0x3e4d91=_0x3ff45f,_0x41ebf9=_0x3e4d91['lib'],_0x58327e=_0x41ebf9[_0x4131cb(0x38c)],_0x3c1e85=_0x41ebf9['WordArray'],_0x143826=_0x3e4d91[_0x4131cb(0x227)],_0x2305bb=_0x143826[_0x4131cb(0x229)],_0x251aca=_0x143826[_0x4131cb(0x297)]=_0x58327e[_0x4131cb(0x22f)]({'cfg':_0x58327e[_0x4131cb(0x22f)]({'keySize':0x80/0x20,'hasher':_0x2305bb,'iterations':0x1}),'init':function(_0x1590f0){var _0x291250=_0x4131cb;this[_0x291250(0x198)]=this[_0x291250(0x198)]['extend'](_0x1590f0);},'compute':function(_0xbd8421,_0x5e25e9){var _0x5ad7d0=_0x4131cb;for(var _0x54fb3e,_0x919675=this[_0x5ad7d0(0x198)],_0x54a88e=_0x919675[_0x5ad7d0(0x21a)][_0x5ad7d0(0x355)](),_0xf5babe=_0x3c1e85[_0x5ad7d0(0x355)](),_0x22e199=_0xf5babe[_0x5ad7d0(0x2f5)],_0x28abeb=_0x919675['keySize'],_0x2f8d5f=_0x919675[_0x5ad7d0(0x95)];_0x22e199[_0x5ad7d0(0x39e)]<_0x28abeb;){_0x54fb3e&&_0x54a88e[_0x5ad7d0(0x2d1)](_0x54fb3e),_0x54fb3e=_0x54a88e[_0x5ad7d0(0x2d1)](_0xbd8421)[_0x5ad7d0(0x332)](_0x5e25e9),_0x54a88e[_0x5ad7d0(0x3a7)]();for(var _0x15f2d0=0x1;_0x15f2d0<_0x2f8d5f;_0x15f2d0++)_0x54fb3e=_0x54a88e[_0x5ad7d0(0x332)](_0x54fb3e),_0x54a88e['reset']();_0xf5babe['concat'](_0x54fb3e);}return _0xf5babe['sigBytes']=_0x28abeb*0x4,_0xf5babe;}});_0x3e4d91[_0x4131cb(0x297)]=function(_0x367bdd,_0x2a2496,_0x364936){var _0x34b9e5=_0x4131cb;return _0x251aca[_0x34b9e5(0x355)](_0x364936)[_0x34b9e5(0xe9)](_0x367bdd,_0x2a2496);};}()),_0x3ff45f[_0x2e9eb2(0x297)];}));}(_0x587674)),_0x587674[_0x4d17c0(0x17e)];}var _0x480dae={'exports':{}},_0x425fd5=_0x480dae[_0x1b6ca5(0x17e)],_0x31c122;function _0x708e85(){return _0x31c122||(_0x31c122=0x1,function(_0x5a22f7,_0x5ab3b9){(function(_0x461c81,_0x333249,_0x628d1b){var _0x33c20f=_0x1ac4;_0x5a22f7[_0x33c20f(0x17e)]=_0x333249(_0x20f9b7(),_0x2cd659());}(_0x425fd5,function(_0x27e7f9){var _0x369d28=_0x1ac4;_0x27e7f9[_0x369d28(0x223)][_0x369d28(0x23f)]||function(_0x4fb8f1){var _0x5f50f5=_0x369d28,_0x1280d9=_0x27e7f9,_0x53dc95=_0x1280d9[_0x5f50f5(0x223)],_0x46f2d0=_0x53dc95[_0x5f50f5(0x38c)],_0x108923=_0x53dc95[_0x5f50f5(0x26f)],_0x1ecd44=_0x53dc95[_0x5f50f5(0x1f7)],_0x507915=_0x1280d9[_0x5f50f5(0x37f)];_0x507915[_0x5f50f5(0x3ba)];var _0x41dd80=_0x507915[_0x5f50f5(0x39f)],_0x244648=_0x1280d9[_0x5f50f5(0x227)],_0x1ff8e2=_0x244648[_0x5f50f5(0x297)],_0x2b1b10=_0x53dc95[_0x5f50f5(0x23f)]=_0x1ecd44[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)](),'createEncryptor':function(_0x320422,_0x14a06e){var _0x233b9f=_0x5f50f5;return this[_0x233b9f(0x355)](this[_0x233b9f(0x2b5)],_0x320422,_0x14a06e);},'createDecryptor':function(_0x10a59a,_0x192614){return this['create'](this['_DEC_XFORM_MODE'],_0x10a59a,_0x192614);},'init':function(_0x154342,_0x29010c,_0x276303){var _0x2c35cd=_0x5f50f5;this[_0x2c35cd(0x198)]=this['cfg']['extend'](_0x276303),this[_0x2c35cd(0x354)]=_0x154342,this['_key']=_0x29010c,this[_0x2c35cd(0x3a7)]();},'reset':function(){var _0x36dcb1=_0x5f50f5;_0x1ecd44[_0x36dcb1(0x3a7)][_0x36dcb1(0x118)](this),this['_doReset']();},'process':function(_0x4f3ac3){var _0x683a8e=_0x5f50f5;return this[_0x683a8e(0x30d)](_0x4f3ac3),this[_0x683a8e(0x1e3)]();},'finalize':function(_0x5c1a18){var _0x3c16ad=_0x5f50f5;_0x5c1a18&&this['_append'](_0x5c1a18);var _0xe5b9bc=this[_0x3c16ad(0x365)]();return _0xe5b9bc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x441fd5(_0x2cfac7){var _0x1cc54d=_0x1ac4;return typeof _0x2cfac7==_0x1cc54d(0x2d5)?_0x548669:_0x255342;}return function(_0x457bb3){return{'encrypt':function(_0xc4a2a2,_0x48ed11,_0x3d1c62){var _0x3d1f45=_0x1ac4;return _0x441fd5(_0x48ed11)[_0x3d1f45(0x1c9)](_0x457bb3,_0xc4a2a2,_0x48ed11,_0x3d1c62);},'decrypt':function(_0x429997,_0x1599d0,_0x1d2498){var _0x2d136a=_0x1ac4;return _0x441fd5(_0x1599d0)[_0x2d136a(0x318)](_0x457bb3,_0x429997,_0x1599d0,_0x1d2498);}};};}())});_0x53dc95['StreamCipher']=_0x2b1b10['extend']({'_doFinalize':function(){var _0x486774=_0x5f50f5,_0xe16582=this[_0x486774(0x1e3)](!0x0);return _0xe16582;},'blockSize':0x1});var _0x298ed9=_0x1280d9['mode']={},_0x57c1c2=_0x53dc95['BlockCipherMode']=_0x46f2d0[_0x5f50f5(0x22f)]({'createEncryptor':function(_0x315101,_0x523057){var _0x2b3e15=_0x5f50f5;return this[_0x2b3e15(0xb9)]['create'](_0x315101,_0x523057);},'createDecryptor':function(_0x4ad826,_0x5b7a5b){var _0x9c53b9=_0x5f50f5;return this[_0x9c53b9(0xf4)][_0x9c53b9(0x355)](_0x4ad826,_0x5b7a5b);},'init':function(_0x551387,_0xd770ee){var _0x540279=_0x5f50f5;this[_0x540279(0xbd)]=_0x551387,this[_0x540279(0x261)]=_0xd770ee;}}),_0x5e2118=_0x298ed9[_0x5f50f5(0xff)]=(function(){var _0x56c4f7=_0x5f50f5,_0x7307c=_0x57c1c2[_0x56c4f7(0x22f)]();_0x7307c[_0x56c4f7(0xb9)]=_0x7307c['extend']({'processBlock':function(_0x2cfe25,_0x2f4839){var _0x5adcef=_0x56c4f7,_0x491b41=this[_0x5adcef(0xbd)],_0x40f3ea=_0x491b41[_0x5adcef(0x3df)];_0x4103bb[_0x5adcef(0x118)](this,_0x2cfe25,_0x2f4839,_0x40f3ea),_0x491b41['encryptBlock'](_0x2cfe25,_0x2f4839),this[_0x5adcef(0x3ee)]=_0x2cfe25['slice'](_0x2f4839,_0x2f4839+_0x40f3ea);}}),_0x7307c[_0x56c4f7(0xf4)]=_0x7307c['extend']({'processBlock':function(_0x2d76d3,_0x7a3949){var _0x192322=_0x56c4f7,_0x1f6aaf=this[_0x192322(0xbd)],_0x88f3d1=_0x1f6aaf[_0x192322(0x3df)],_0xb1ead3=_0x2d76d3[_0x192322(0x1a1)](_0x7a3949,_0x7a3949+_0x88f3d1);_0x1f6aaf[_0x192322(0x190)](_0x2d76d3,_0x7a3949),_0x4103bb[_0x192322(0x118)](this,_0x2d76d3,_0x7a3949,_0x88f3d1),this['_prevBlock']=_0xb1ead3;}});function _0x4103bb(_0x140683,_0x2963c3,_0x562860){var _0x5dc2ff=_0x56c4f7,_0x4a42d9,_0x58502e=this[_0x5dc2ff(0x261)];_0x58502e?(_0x4a42d9=_0x58502e,this['_iv']=_0x4fb8f1):_0x4a42d9=this[_0x5dc2ff(0x3ee)];for(var _0x2689cf=0x0;_0x2689cf<_0x562860;_0x2689cf++)_0x140683[_0x2963c3+_0x2689cf]^=_0x4a42d9[_0x2689cf];}return _0x7307c;}()),_0x54abf5=_0x1280d9[_0x5f50f5(0x3b0)]={},_0x312756=_0x54abf5[_0x5f50f5(0x3f6)]={'pad':function(_0x1c464c,_0x1184d6){var _0x3158cd=_0x5f50f5;for(var _0x248127=_0x1184d6*0x4,_0x25fac9=_0x248127-_0x1c464c[_0x3158cd(0x3b3)]%_0x248127,_0x39def4=_0x25fac9<<0x18|_0x25fac9<<0x10|_0x25fac9<<0x8|_0x25fac9,_0x4350c8=[],_0x66f87=0x0;_0x66f87<_0x25fac9;_0x66f87+=0x4)_0x4350c8[_0x3158cd(0x13f)](_0x39def4);var _0x5557f7=_0x108923[_0x3158cd(0x355)](_0x4350c8,_0x25fac9);_0x1c464c[_0x3158cd(0x260)](_0x5557f7);},'unpad':function(_0x5a868c){var _0x108dc8=_0x5f50f5,_0x1c0c18=_0x5a868c[_0x108dc8(0x2f5)][_0x5a868c['sigBytes']-0x1>>>0x2]&0xff;_0x5a868c[_0x108dc8(0x3b3)]-=_0x1c0c18;}};_0x53dc95[_0x5f50f5(0x263)]=_0x2b1b10['extend']({'cfg':_0x2b1b10[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'mode':_0x5e2118,'padding':_0x312756}),'reset':function(){var _0x122732=_0x5f50f5,_0x550a89;_0x2b1b10[_0x122732(0x3a7)][_0x122732(0x118)](this);var _0x1a999c=this[_0x122732(0x198)],_0x1c5feb=_0x1a999c['iv'],_0x50be92=_0x1a999c[_0x122732(0x12b)];this[_0x122732(0x354)]==this[_0x122732(0x2b5)]?_0x550a89=_0x50be92[_0x122732(0x38f)]:(_0x550a89=_0x50be92['createDecryptor'],this[_0x122732(0x140)]=0x1),this[_0x122732(0x1d3)]&&this[_0x122732(0x1d3)][_0x122732(0xfd)]==_0x550a89?this[_0x122732(0x1d3)]['init'](this,_0x1c5feb&&_0x1c5feb['words']):(this[_0x122732(0x1d3)]=_0x550a89['call'](_0x50be92,this,_0x1c5feb&&_0x1c5feb[_0x122732(0x2f5)]),this['_mode'][_0x122732(0xfd)]=_0x550a89);},'_doProcessBlock':function(_0xa7a07a,_0x3b1f54){var _0x116360=_0x5f50f5;this[_0x116360(0x1d3)][_0x116360(0xb4)](_0xa7a07a,_0x3b1f54);},'_doFinalize':function(){var _0xbd3c65=_0x5f50f5,_0x623bc9,_0x4df787=this[_0xbd3c65(0x198)][_0xbd3c65(0x293)];return this[_0xbd3c65(0x354)]==this[_0xbd3c65(0x2b5)]?(_0x4df787[_0xbd3c65(0x3b0)](this['_data'],this['blockSize']),_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0)):(_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0),_0x4df787[_0xbd3c65(0x217)](_0x623bc9)),_0x623bc9;},'blockSize':0x80/0x20});var _0x4d6417=_0x53dc95['CipherParams']=_0x46f2d0[_0x5f50f5(0x22f)]({'init':function(_0x11b708){var _0x3f6f39=_0x5f50f5;this[_0x3f6f39(0x323)](_0x11b708);},'toString':function(_0x35825b){var _0x2ca3e5=_0x5f50f5;return(_0x35825b||this[_0x2ca3e5(0x3ae)])['stringify'](this);}}),_0x4f7e10=_0x1280d9['format']={},_0x2fda93=_0x4f7e10['OpenSSL']={'stringify':function(_0x4a34d4){var _0x2da540=_0x5f50f5,_0x5cb5fc,_0x14c3c6=_0x4a34d4[_0x2da540(0x1cf)],_0x459c67=_0x4a34d4[_0x2da540(0x155)];return _0x459c67?_0x5cb5fc=_0x108923[_0x2da540(0x355)]([0x53616c74,0x65645f5f])[_0x2da540(0x260)](_0x459c67)[_0x2da540(0x260)](_0x14c3c6):_0x5cb5fc=_0x14c3c6,_0x5cb5fc[_0x2da540(0x1ac)](_0x41dd80);},'parse':function(_0x2d1be5){var _0x2d3e8a=_0x5f50f5,_0x46872a,_0x3b95d5=_0x41dd80[_0x2d3e8a(0x9b)](_0x2d1be5),_0x2a2dee=_0x3b95d5['words'];return _0x2a2dee[0x0]==0x53616c74&&_0x2a2dee[0x1]==0x65645f5f&&(_0x46872a=_0x108923[_0x2d3e8a(0x355)](_0x2a2dee['slice'](0x2,0x4)),_0x2a2dee[_0x2d3e8a(0x3c3)](0x0,0x4),_0x3b95d5['sigBytes']-=0x10),_0x4d6417[_0x2d3e8a(0x355)]({'ciphertext':_0x3b95d5,'salt':_0x46872a});}},_0x255342=_0x53dc95['SerializableCipher']=_0x46f2d0[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)]({'format':_0x2fda93}),'encrypt':function(_0x49641d,_0x52ecc3,_0xd4b995,_0x3935a0){var _0x4c27c4=_0x5f50f5;_0x3935a0=this[_0x4c27c4(0x198)][_0x4c27c4(0x22f)](_0x3935a0);var _0x1b5734=_0x49641d[_0x4c27c4(0x38f)](_0xd4b995,_0x3935a0),_0x596d1f=_0x1b5734[_0x4c27c4(0x332)](_0x52ecc3),_0x41af4b=_0x1b5734[_0x4c27c4(0x198)];return _0x4d6417[_0x4c27c4(0x355)]({'ciphertext':_0x596d1f,'key':_0xd4b995,'iv':_0x41af4b['iv'],'algorithm':_0x49641d,'mode':_0x41af4b[_0x4c27c4(0x12b)],'padding':_0x41af4b[_0x4c27c4(0x293)],'blockSize':_0x49641d[_0x4c27c4(0x3df)],'formatter':_0x3935a0['format']});},'decrypt':function(_0x28d458,_0x2732ea,_0x37cae5,_0x367f75){var _0x446fa3=_0x5f50f5;_0x367f75=this[_0x446fa3(0x198)][_0x446fa3(0x22f)](_0x367f75),_0x2732ea=this[_0x446fa3(0x164)](_0x2732ea,_0x367f75[_0x446fa3(0x9a)]);var _0x145605=_0x28d458[_0x446fa3(0x143)](_0x37cae5,_0x367f75)[_0x446fa3(0x332)](_0x2732ea[_0x446fa3(0x1cf)]);return _0x145605;},'_parse':function(_0x111446,_0x598f89){var _0x43595a=_0x5f50f5;return typeof _0x111446==_0x43595a(0x2d5)?_0x598f89[_0x43595a(0x9b)](_0x111446,this):_0x111446;}}),_0xddbd46=_0x1280d9[_0x5f50f5(0xda)]={},_0x132631=_0xddbd46['OpenSSL']={'execute':function(_0x550526,_0x20717a,_0x26ee0a,_0x4c9197,_0x3903d4){var _0xb1c53=_0x5f50f5;if(_0x4c9197||(_0x4c9197=_0x108923[_0xb1c53(0x131)](0x40/0x8)),_0x3903d4)var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a,'hasher':_0x3903d4})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);else var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);var _0x572605=_0x108923[_0xb1c53(0x355)](_0x19c536[_0xb1c53(0x2f5)]['slice'](_0x20717a),_0x26ee0a*0x4);return _0x19c536[_0xb1c53(0x3b3)]=_0x20717a*0x4,_0x4d6417[_0xb1c53(0x355)]({'key':_0x19c536,'iv':_0x572605,'salt':_0x4c9197});}},_0x548669=_0x53dc95['PasswordBasedCipher']=_0x255342[_0x5f50f5(0x22f)]({'cfg':_0x255342[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'kdf':_0x132631}),'encrypt':function(_0x154ad9,_0x2a55e5,_0x2e3887,_0x2f847f){var _0x40cc38=_0x5f50f5;_0x2f847f=this[_0x40cc38(0x198)][_0x40cc38(0x22f)](_0x2f847f);var _0xcda618=_0x2f847f[_0x40cc38(0xda)][_0x40cc38(0x277)](_0x2e3887,_0x154ad9['keySize'],_0x154ad9[_0x40cc38(0x210)],_0x2f847f['salt'],_0x2f847f[_0x40cc38(0x21a)]);_0x2f847f['iv']=_0xcda618['iv'];var _0x5f05f4=_0x255342[_0x40cc38(0x1c9)][_0x40cc38(0x118)](this,_0x154ad9,_0x2a55e5,_0xcda618['key'],_0x2f847f);return _0x5f05f4[_0x40cc38(0x323)](_0xcda618),_0x5f05f4;},'decrypt':function(_0x283b7e,_0x500a96,_0x59389f,_0x4ec0ca){var _0x562e12=_0x5f50f5;_0x4ec0ca=this[_0x562e12(0x198)][_0x562e12(0x22f)](_0x4ec0ca),_0x500a96=this['_parse'](_0x500a96,_0x4ec0ca[_0x562e12(0x9a)]);var _0x592a35=_0x4ec0ca[_0x562e12(0xda)]['execute'](_0x59389f,_0x283b7e[_0x562e12(0x3eb)],_0x283b7e[_0x562e12(0x210)],_0x500a96[_0x562e12(0x155)],_0x4ec0ca[_0x562e12(0x21a)]);_0x4ec0ca['iv']=_0x592a35['iv'];var _0x46cc4e=_0x255342[_0x562e12(0x318)]['call'](this,_0x283b7e,_0x500a96,_0x592a35[_0x562e12(0x22a)],_0x4ec0ca);return _0x46cc4e;}});}();}));}(_0x480dae)),_0x480dae['exports'];}var _0x9d82ef=_0x29c350[_0x1b6ca5(0x17e)],_0x15b0eb;function _0x28fe95(){var _0x330be1=_0x1b6ca5;return _0x15b0eb||(_0x15b0eb=0x1,function(_0x289c1f,_0xfda357){(function(_0x30bd78,_0x86cde6,_0xbd81fe){_0x289c1f['exports']=_0x86cde6(_0x20f9b7(),_0x29f71f(),_0x1855fc(),_0x2cd659(),_0x708e85());}(_0x9d82ef,function(_0x186d54){var _0x2f54da=_0x1ac4;return(function(){var _0x52df1d=_0x1ac4,_0x5e2700=_0x186d54,_0x513c00=_0x5e2700['lib'],_0x5abdf8=_0x513c00[_0x52df1d(0x263)],_0xb9d5e4=_0x5e2700['algo'],_0x1f54cf=[],_0xca9d31=[],_0x46ea10=[],_0x1093be=[],_0x2b2cd7=[],_0x1c93a8=[],_0x4a9479=[],_0x2d1ac1=[],_0x971b97=[],_0x589020=[];(function(){for(var _0x341ecb=[],_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++)_0x1a0915<0x80?_0x341ecb[_0x1a0915]=_0x1a0915<<0x1:_0x341ecb[_0x1a0915]=_0x1a0915<<0x1^0x11b;for(var _0x46a31f=0x0,_0xfc8ee3=0x0,_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++){var _0x4cc6af=_0xfc8ee3^_0xfc8ee3<<0x1^_0xfc8ee3<<0x2^_0xfc8ee3<<0x3^_0xfc8ee3<<0x4;_0x4cc6af=_0x4cc6af>>>0x8^_0x4cc6af&0xff^0x63,_0x1f54cf[_0x46a31f]=_0x4cc6af,_0xca9d31[_0x4cc6af]=_0x46a31f;var _0x435274=_0x341ecb[_0x46a31f],_0x5111d3=_0x341ecb[_0x435274],_0x3e109b=_0x341ecb[_0x5111d3],_0x2ca87f=_0x341ecb[_0x4cc6af]*0x101^_0x4cc6af*0x1010100;_0x46ea10[_0x46a31f]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x1093be[_0x46a31f]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x2b2cd7[_0x46a31f]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x1c93a8[_0x46a31f]=_0x2ca87f;var _0x2ca87f=_0x3e109b*0x1010101^_0x5111d3*0x10001^_0x435274*0x101^_0x46a31f*0x1010100;_0x4a9479[_0x4cc6af]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x2d1ac1[_0x4cc6af]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x971b97[_0x4cc6af]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x589020[_0x4cc6af]=_0x2ca87f,_0x46a31f?(_0x46a31f=_0x435274^_0x341ecb[_0x341ecb[_0x341ecb[_0x3e109b^_0x435274]]],_0xfc8ee3^=_0x341ecb[_0x341ecb[_0xfc8ee3]]):_0x46a31f=_0xfc8ee3=0x1;}}());var _0x29ed40=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x42b0e3=_0xb9d5e4[_0x52df1d(0x26c)]=_0x5abdf8['extend']({'_doReset':function(){var _0x58b5b9=_0x52df1d,_0xece958;if(!(this[_0x58b5b9(0x287)]&&this['_keyPriorReset']===this[_0x58b5b9(0x375)])){for(var _0x14c6e3=this[_0x58b5b9(0x1c4)]=this[_0x58b5b9(0x375)],_0x315638=_0x14c6e3['words'],_0x5cc88d=_0x14c6e3[_0x58b5b9(0x3b3)]/0x4,_0x2c2445=this[_0x58b5b9(0x287)]=_0x5cc88d+0x6,_0x4efb85=(_0x2c2445+0x1)*0x4,_0x2836c0=this[_0x58b5b9(0xeb)]=[],_0x4ebcb8=0x0;_0x4ebcb8<_0x4efb85;_0x4ebcb8++)_0x4ebcb8<_0x5cc88d?_0x2836c0[_0x4ebcb8]=_0x315638[_0x4ebcb8]:(_0xece958=_0x2836c0[_0x4ebcb8-0x1],_0x4ebcb8%_0x5cc88d?_0x5cc88d>0x6&&_0x4ebcb8%_0x5cc88d==0x4&&(_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff]):(_0xece958=_0xece958<<0x8|_0xece958>>>0x18,_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff],_0xece958^=_0x29ed40[_0x4ebcb8/_0x5cc88d|0x0]<<0x18),_0x2836c0[_0x4ebcb8]=_0x2836c0[_0x4ebcb8-_0x5cc88d]^_0xece958);for(var _0x452eaa=this[_0x58b5b9(0x338)]=[],_0x3ef0b3=0x0;_0x3ef0b3<_0x4efb85;_0x3ef0b3++){var _0x4ebcb8=_0x4efb85-_0x3ef0b3;if(_0x3ef0b3%0x4)var _0xece958=_0x2836c0[_0x4ebcb8];else var _0xece958=_0x2836c0[_0x4ebcb8-0x4];_0x3ef0b3<0x4||_0x4ebcb8<=0x4?_0x452eaa[_0x3ef0b3]=_0xece958:_0x452eaa[_0x3ef0b3]=_0x4a9479[_0x1f54cf[_0xece958>>>0x18]]^_0x2d1ac1[_0x1f54cf[_0xece958>>>0x10&0xff]]^_0x971b97[_0x1f54cf[_0xece958>>>0x8&0xff]]^_0x589020[_0x1f54cf[_0xece958&0xff]];}}},'encryptBlock':function(_0x40314b,_0x222e8a){var _0x283743=_0x52df1d;this[_0x283743(0x3ab)](_0x40314b,_0x222e8a,this[_0x283743(0xeb)],_0x46ea10,_0x1093be,_0x2b2cd7,_0x1c93a8,_0x1f54cf);},'decryptBlock':function(_0x49d432,_0x41a09d){var _0x59d376=_0x52df1d,_0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6,this[_0x59d376(0x3ab)](_0x49d432,_0x41a09d,this[_0x59d376(0x338)],_0x4a9479,_0x2d1ac1,_0x971b97,_0x589020,_0xca9d31);var _0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6;},'_doCryptBlock':function(_0x18aaab,_0x184f18,_0x138799,_0x5e539a,_0x54421a,_0xfb9cab,_0xb9a134,_0x59416b){for(var _0x1d5a8b=this['_nRounds'],_0x133ca4=_0x18aaab[_0x184f18]^_0x138799[0x0],_0x303d69=_0x18aaab[_0x184f18+0x1]^_0x138799[0x1],_0x1f0612=_0x18aaab[_0x184f18+0x2]^_0x138799[0x2],_0x3bf19c=_0x18aaab[_0x184f18+0x3]^_0x138799[0x3],_0xdafb95=0x4,_0x176ff6=0x1;_0x176ff6<_0x1d5a8b;_0x176ff6++){var _0x7a1ec=_0x5e539a[_0x133ca4>>>0x18]^_0x54421a[_0x303d69>>>0x10&0xff]^_0xfb9cab[_0x1f0612>>>0x8&0xff]^_0xb9a134[_0x3bf19c&0xff]^_0x138799[_0xdafb95++],_0x2fc504=_0x5e539a[_0x303d69>>>0x18]^_0x54421a[_0x1f0612>>>0x10&0xff]^_0xfb9cab[_0x3bf19c>>>0x8&0xff]^_0xb9a134[_0x133ca4&0xff]^_0x138799[_0xdafb95++],_0x1c68d4=_0x5e539a[_0x1f0612>>>0x18]^_0x54421a[_0x3bf19c>>>0x10&0xff]^_0xfb9cab[_0x133ca4>>>0x8&0xff]^_0xb9a134[_0x303d69&0xff]^_0x138799[_0xdafb95++],_0x3c9695=_0x5e539a[_0x3bf19c>>>0x18]^_0x54421a[_0x133ca4>>>0x10&0xff]^_0xfb9cab[_0x303d69>>>0x8&0xff]^_0xb9a134[_0x1f0612&0xff]^_0x138799[_0xdafb95++];_0x133ca4=_0x7a1ec,_0x303d69=_0x2fc504,_0x1f0612=_0x1c68d4,_0x3bf19c=_0x3c9695;}var _0x7a1ec=(_0x59416b[_0x133ca4>>>0x18]<<0x18|_0x59416b[_0x303d69>>>0x10&0xff]<<0x10|_0x59416b[_0x1f0612>>>0x8&0xff]<<0x8|_0x59416b[_0x3bf19c&0xff])^_0x138799[_0xdafb95++],_0x2fc504=(_0x59416b[_0x303d69>>>0x18]<<0x18|_0x59416b[_0x1f0612>>>0x10&0xff]<<0x10|_0x59416b[_0x3bf19c>>>0x8&0xff]<<0x8|_0x59416b[_0x133ca4&0xff])^_0x138799[_0xdafb95++],_0x1c68d4=(_0x59416b[_0x1f0612>>>0x18]<<0x18|_0x59416b[_0x3bf19c>>>0x10&0xff]<<0x10|_0x59416b[_0x133ca4>>>0x8&0xff]<<0x8|_0x59416b[_0x303d69&0xff])^_0x138799[_0xdafb95++],_0x3c9695=(_0x59416b[_0x3bf19c>>>0x18]<<0x18|_0x59416b[_0x133ca4>>>0x10&0xff]<<0x10|_0x59416b[_0x303d69>>>0x8&0xff]<<0x8|_0x59416b[_0x1f0612&0xff])^_0x138799[_0xdafb95++];_0x18aaab[_0x184f18]=_0x7a1ec,_0x18aaab[_0x184f18+0x1]=_0x2fc504,_0x18aaab[_0x184f18+0x2]=_0x1c68d4,_0x18aaab[_0x184f18+0x3]=_0x3c9695;},'keySize':0x100/0x20});_0x5e2700['AES']=_0x5abdf8[_0x52df1d(0x1d0)](_0x42b0e3);}()),_0x186d54[_0x2f54da(0x26c)];}));}(_0x29c350)),_0x29c350[_0x330be1(0x17e)];}var _0xec352b=_0x28fe95();const _0x28c803=_0x208e50(_0xec352b);var _0x409a2d=_0x29f71f();const _0x3c4f46=_0x208e50(_0x409a2d);var _0x360a32={'exports':{}},_0x302b39=_0x360a32['exports'],_0x1f0721;function _0x40543a(){return _0x1f0721||(_0x1f0721=0x1,function(_0x105823,_0x368fd6){(function(_0x3c72f9,_0xef3294){_0x105823['exports']=_0xef3294(_0x20f9b7());}(_0x302b39,function(_0x1184bb){var _0x362b7e=_0x1ac4;return _0x1184bb[_0x362b7e(0x37f)][_0x362b7e(0x3ba)];}));}(_0x360a32)),_0x360a32['exports'];}var _0x5c10f4=_0x40543a();const _0x4f7af9=_0x208e50(_0x5c10f4);var _0x367a6e={'exports':{}},_0x4f4381=_0x367a6e[_0x1b6ca5(0x17e)],_0x3b754e;function _0x4553eb(){var _0x5498f5=_0x1b6ca5;return _0x3b754e||(_0x3b754e=0x1,function(_0x204d00,_0x3ce0c4){(function(_0xbdf04,_0x2f3e79){var _0x3dfd97=_0x1ac4;_0x204d00[_0x3dfd97(0x17e)]=_0x2f3e79(_0x20f9b7());}(_0x4f4381,function(_0x13f470){var _0x400b11=_0x1ac4;return(function(){var _0x2043a6=_0x1ac4;if(typeof ArrayBuffer=='function'){var _0xbcc975=_0x13f470,_0x5b232e=_0xbcc975[_0x2043a6(0x223)],_0x5d1d44=_0x5b232e['WordArray'],_0x17ce60=_0x5d1d44[_0x2043a6(0x82)],_0xce80cd=_0x5d1d44[_0x2043a6(0x82)]=function(_0x3e4a95){var _0x10cae2=_0x2043a6;if(_0x3e4a95 instanceof ArrayBuffer&&(_0x3e4a95=new Uint8Array(_0x3e4a95)),(_0x3e4a95 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e4a95 instanceof Uint8ClampedArray||_0x3e4a95 instanceof Int16Array||_0x3e4a95 instanceof Uint16Array||_0x3e4a95 instanceof Int32Array||_0x3e4a95 instanceof Uint32Array||_0x3e4a95 instanceof Float32Array||_0x3e4a95 instanceof Float64Array)&&(_0x3e4a95=new Uint8Array(_0x3e4a95['buffer'],_0x3e4a95['byteOffset'],_0x3e4a95['byteLength'])),_0x3e4a95 instanceof Uint8Array){for(var _0x387c66=_0x3e4a95[_0x10cae2(0x176)],_0x4b0fdc=[],_0x611170=0x0;_0x611170<_0x387c66;_0x611170++)_0x4b0fdc[_0x611170>>>0x2]|=_0x3e4a95[_0x611170]<<0x18-_0x611170%0x4*0x8;_0x17ce60[_0x10cae2(0x118)](this,_0x4b0fdc,_0x387c66);}else _0x17ce60['apply'](this,arguments);};_0xce80cd['prototype']=_0x5d1d44;}}()),_0x13f470['lib'][_0x400b11(0x26f)];}));}(_0x367a6e)),_0x367a6e[_0x5498f5(0x17e)];}var _0xefc745=_0x4553eb();const _0x25d0dc=_0x208e50(_0xefc745);var _0x2f177a={'exports':{}},_0x5da06e=_0x2f177a[_0x1b6ca5(0x17e)],_0x56ec82;function _0x1193aa(){var _0x212a08=_0x1b6ca5;return _0x56ec82||(_0x56ec82=0x1,function(_0x32e5fc,_0x463159){(function(_0x13f2de,_0x22a2da,_0x3a0837){var _0xccf61c=_0x1ac4;_0x32e5fc[_0xccf61c(0x17e)]=_0x22a2da(_0x20f9b7(),_0x708e85());}(_0x5da06e,function(_0x4a0232){var _0x523757=_0x1ac4;return _0x4a0232[_0x523757(0x3b0)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4a0232[_0x523757(0x3b0)][_0x523757(0x376)];}));}(_0x2f177a)),_0x2f177a[_0x212a08(0x17e)];}var _0x45953a=_0x1193aa();const _0x1fb257=_0x208e50(_0x45953a);function _0x54669e(_0x502c0d,_0xaa6a3){var _0x24451c=_0x1b6ca5;const _0x72fc1=_0xaa6a3-_0x502c0d['length']%_0xaa6a3,_0x5c9a25=String[_0x24451c(0x1ee)](_0x72fc1)[_0x24451c(0x3f2)](_0x72fc1);return _0x502c0d+_0x5c9a25;}function _0x583eed(_0x102cc1,_0xc3283c){var _0x198c76=_0x1b6ca5;const _0x395a9e=_0x25d0dc['random'](0x10),_0x78002a=_0x54669e(_0x102cc1,0x10),_0x2008bd=_0x28c803[_0x198c76(0x1c9)](_0x4f7af9['parse'](_0x78002a),_0x3c4f46[_0x198c76(0x9b)](_0xc3283c),{'iv':_0x395a9e,'padding':_0x1fb257});return _0x395a9e['concat'](_0x2008bd[_0x198c76(0x1cf)])[_0x198c76(0x1ac)](_0x3c4f46);}function _0x4b2d4f(){var _0x319eb2=_0x1b6ca5;const _0xdb98c2=_0x49e56d[_0x319eb2(0x1d8)]()['__Key__'];if(_0xdb98c2){const _0x539a45={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x319eb2(0x2e7)]};return _0x583eed(JSON[_0x319eb2(0x144)](_0x539a45),_0xdb98c2);}}var _0x1ce3ae=Object[_0x1b6ca5(0x1d2)],_0x21b435=(_0x26d3d6,_0x1c397e,_0x44130b,_0x215d0d)=>{var _0x10577f=_0x1b6ca5;for(var _0xad69a8=_0x215d0d>0x1?void 0x0:_0x215d0d?_0x1ce3ae(_0x1c397e,_0x44130b):_0x1c397e,_0x2da08b=_0x26d3d6[_0x10577f(0x39e)]-0x1,_0x17d596;_0x2da08b>=0x0;_0x2da08b--)(_0x17d596=_0x26d3d6[_0x2da08b])&&(_0xad69a8=_0x17d596(_0xad69a8)||_0xad69a8);return _0xad69a8;},_0x4047a5=(_0x31552f,_0x57e63e)=>(_0x1e02a5,_0x49e06a)=>_0x57e63e(_0x1e02a5,_0x49e06a,_0x31552f);let _0x13c997=class{constructor(_0x3a03ae){var _0x133e71=_0x1b6ca5;this[_0x133e71(0x2be)]=_0x3a03ae,this[_0x133e71(0x192)]();}[_0x1b6ca5(0x192)](){var _0x57ca10=_0x1b6ca5;this[_0x57ca10(0x2be)][_0x57ca10(0xce)]({'interceptor':(_0xd66e38,_0x307405)=>{var _0x29bc05=_0x57ca10;const _0x1cdcd7=_0xd66e38['headers'],_0x335ed9=_0x4b2d4f();return _0x335ed9&&_0x1cdcd7[_0x29bc05(0x26d)](_0x29bc05(0x2aa),_0x335ed9),_0x307405(_0xd66e38);}});}};_0x13c997=_0x21b435([_0x4047a5(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x13c997);var _0x23de5f=Object[_0x1b6ca5(0x1d2)],_0x5ea687=(_0xb1b20,_0x3379cd,_0x92b3f8,_0x207780)=>{var _0x39c8c7=_0x1b6ca5;for(var _0x839237=_0x207780>0x1?void 0x0:_0x207780?_0x23de5f(_0x3379cd,_0x92b3f8):_0x3379cd,_0x47bd4b=_0xb1b20[_0x39c8c7(0x39e)]-0x1,_0x36649f;_0x47bd4b>=0x0;_0x47bd4b--)(_0x36649f=_0xb1b20[_0x47bd4b])&&(_0x839237=_0x36649f(_0x839237)||_0x839237);return _0x839237;},_0x1cda8f=(_0x1502de,_0x1c54ab)=>(_0x4bd051,_0x13665d)=>_0x1c54ab(_0x4bd051,_0x13665d,_0x1502de);_0x35847c[_0x1b6ca5(0x3d5)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x15c453,_0x31877c,_0x19c6e3){var _0x4bfb78=_0x1b6ca5;super(),_0x1bac5f(this,'_unitInfo$',new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x4bfb78(0x2cc),this[_0x4bfb78(0x14d)][_0x4bfb78(0x99)]()),(this[_0x4bfb78(0x9f)]=_0x15c453,this[_0x4bfb78(0x358)]=_0x31877c,this[_0x4bfb78(0x294)]=_0x19c6e3);}async[_0x1b6ca5(0x197)](_0x5d6886,_0x2839e2,_0x480d8e){var _0x577fdd=_0x1b6ca5;this[_0x577fdd(0x14d)][_0x577fdd(0x1a2)]({'unitId':_0x5d6886,'type':_0x2839e2});let _0x195f72=null;switch(_0x2839e2){case _0x56d87c[_0x577fdd(0x398)]:{_0x195f72=await this[_0x577fdd(0x358)][_0x577fdd(0x1a8)](_0x5d6886,_0x480d8e);break;}case _0x56d87c[_0x577fdd(0x31a)]:{_0x195f72=await this[_0x577fdd(0x358)]['loadDoc'](_0x5d6886,_0x480d8e);break;}default:{this[_0x577fdd(0x9f)][_0x577fdd(0x35f)](_0x577fdd(0x388),_0x577fdd(0x285));break;}}return _0x195f72;}async[_0x1b6ca5(0x11a)](_0x51bb1f,_0x3588fe,_0x2d52c0){var _0x3c5bf9=_0x1b6ca5,_0xdc9abc;this[_0x3c5bf9(0x14d)][_0x3c5bf9(0x1a2)]({'unitId':_0x51bb1f,'type':_0x3588fe,'subUnitId':_0x2d52c0});let _0x57717a=0x0;const _0x203801=await((_0xdc9abc=this[_0x3c5bf9(0x294)])==null?void 0x0:_0xdc9abc[_0x3c5bf9(0x1eb)](_0x51bb1f));return _0x203801&&(_0x203801[_0x3c5bf9(0x1fc)]||_0x203801['mutations'][_0x3c5bf9(0x39e)]!==0x0)&&(_0x57717a=_0x203801['rev']),_0x57717a===0x0&&this[_0x3c5bf9(0x9f)]['debug'](_0x3c5bf9(0x388),_0x3c5bf9(0x249)),this[_0x3c5bf9(0x197)](_0x51bb1f,_0x3588fe,_0x57717a);}},_0x35847c[_0x1b6ca5(0x3d5)]=_0x5ea687([_0x1cda8f(0x0,_0x765608[_0x1b6ca5(0x3f9)]),_0x1cda8f(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['SnapshotService'])),_0x1cda8f(0x2,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x3d5)]);var _0x3e400b=Object[_0x1b6ca5(0x1d2)],_0x113cff=(_0x468aac,_0x5408de,_0x5492df,_0x311bc2)=>{var _0x194052=_0x1b6ca5;for(var _0x528681=_0x311bc2>0x1?void 0x0:_0x311bc2?_0x3e400b(_0x5408de,_0x5492df):_0x5408de,_0x68fe20=_0x468aac[_0x194052(0x39e)]-0x1,_0x4e9d8d;_0x68fe20>=0x0;_0x68fe20--)(_0x4e9d8d=_0x468aac[_0x68fe20])&&(_0x528681=_0x4e9d8d(_0x528681)||_0x528681);return _0x528681;},_0x13254b=(_0x53821b,_0x46ecdb)=>(_0x20c8c9,_0x31afb2)=>_0x46ecdb(_0x20c8c9,_0x31afb2,_0x53821b);const _0x41d53c=[_0x1b6ca5(0x1b8),_0x1b6ca5(0x98),_0x1b6ca5(0x116),_0x1b6ca5(0x1c3),_0x1b6ca5(0x1ec)],_0x2dfb72=0x5*0x400*0x400,_0x175b10=_0x1b6ca5(0x240),_0x284c40=_0x1b6ca5(0x1c6);_0x35847c[_0x1b6ca5(0x120)]=class{constructor(_0x2b084f,_0x1aec52,_0x508041){var _0x5afec9=_0x1b6ca5;_0x1bac5f(this,_0x5afec9(0x27f),0x0),_0x1bac5f(this,'_change$',new _0x2f43df[(_0x5afec9(0x216))]()),_0x1bac5f(this,'change$',this[_0x5afec9(0x3ca)]),_0x1bac5f(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x2b084f,this[_0x5afec9(0xd8)]=_0x1aec52,this[_0x5afec9(0xe7)]=_0x508041);}[_0x1b6ca5(0x382)](_0x4f5c05){var _0x180f1f=_0x1b6ca5;this['_waitCount']=_0x4f5c05,this[_0x180f1f(0x3ca)][_0x180f1f(0x1a2)](_0x4f5c05);}[_0x1b6ca5(0x102)](_0x415884,_0x1b1dbb){var _0x3bfb26=_0x1b6ca5;if(_0x1b1dbb===_0x18920f[_0x3bfb26(0x3f8)][_0x3bfb26(0x2d6)]){const _0x1a7278=new Image();return _0x1a7278[_0x3bfb26(0x166)]=_0x415884,_0x1a7278;}return this[_0x3bfb26(0x12d)][_0x3bfb26(0x2b3)](_0x415884);}[_0x1b6ca5(0x1a7)](_0x14d117,_0x59614f,_0x4bcd83){var _0x5b30b1=_0x1b6ca5;_0x59614f===_0x18920f[_0x5b30b1(0x3f8)][_0x5b30b1(0x2d6)]||_0x4bcd83==null||this[_0x5b30b1(0x12d)]['set'](_0x14d117,_0x4bcd83);}async[_0x1b6ca5(0x394)](_0xf48373){var _0x259a66=_0x1b6ca5;try{const _0x3e6b50=this[_0x259a66(0x255)](this[_0x259a66(0x1cb)](),''+_0xf48373),_0x277386=(await this[_0x259a66(0x2be)][_0x259a66(0x2b3)](_0x3e6b50))[_0x259a66(0x35a)];if(_0x277386[_0x259a66(0x35f)]&&_0x277386[_0x259a66(0x35f)]['code']===_0x3f5711['OK']){const _0x50fd9c=new URL(_0x277386[_0x259a66(0x367)],this['_getDownloadEndpointURL']())[_0x259a66(0x1ac)]();return Promise['resolve'](_0x50fd9c);}return Promise[_0x259a66(0x1c2)](_0x277386[_0x259a66(0x35f)]);}catch(_0x5544ce){return Promise[_0x259a66(0x1c2)](_0x5544ce);}}async[_0x1b6ca5(0x208)](_0x437ba4){var _0x429dc1=_0x1b6ca5;let _0x4b3202='';if(!_0x41d53c[_0x429dc1(0xea)](_0x437ba4[_0x429dc1(0xbb)]))return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f[_0x429dc1(0xa3)]['ERROR_IMAGE_TYPE']));if(_0x437ba4[_0x429dc1(0x336)]>_0x2dfb72)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x3e7)]));try{const _0x10f50e=new FormData();_0x10f50e[_0x429dc1(0x28e)](_0x429dc1(0xaf),_0x437ba4);const _0x2819ef=this[_0x429dc1(0xe7)][_0x429dc1(0x353)](),_0x5173ae=_0x2819ef==null?void 0x0:_0x2819ef['getUnitId']();if(!_0x5173ae)throw new Error(_0x429dc1(0x2f3));const _0x53e00e=this[_0x429dc1(0x12c)]()+_0x429dc1(0xd6)+_0x437ba4[_0x429dc1(0x336)][_0x429dc1(0x1ac)]()+'&source='+_0x54ca25[_0x429dc1(0x2bc)]+'&assign='+encodeURIComponent(_0x5173ae),_0x441141={'body':_0x10f50e},_0x29f48a=(await this[_0x429dc1(0x2be)][_0x429dc1(0x268)](_0x53e00e,_0x441141))[_0x429dc1(0x35a)];if(typeof _0x29f48a['FileId']!=_0x429dc1(0x2d5))return this[_0x429dc1(0x196)](),Promise['reject'](new Error(_0x18920f[_0x429dc1(0xa3)][_0x429dc1(0x397)]));_0x4b3202=_0x29f48a['FileId'];}catch{return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x397)]));}return new Promise((_0x5bbdf2,_0x2360ae)=>{var _0x22f904=_0x429dc1;const _0x19fc88=new FileReader();_0x19fc88[_0x22f904(0x315)](_0x437ba4),_0x19fc88['onload']=_0x1a43fa=>{var _0x78d1eb=_0x22f904,_0xf71c18;const _0x1f6071=(_0xf71c18=_0x1a43fa[_0x78d1eb(0x19b)])==null?void 0x0:_0xf71c18[_0x78d1eb(0x27b)];if(_0x1f6071==null){this[_0x78d1eb(0x196)](),_0x2360ae(new Error(_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0x397)]));return;}const _0x1a1695=_0x765608[_0x78d1eb(0x199)](0x6);_0x5bbdf2({'imageId':_0x1a1695,'imageSourceType':_0x18920f[_0x78d1eb(0x3f8)]['UUID'],'source':_0x4b3202,'base64Cache':_0x1f6071,'status':_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0xd0)]}),this['_decreaseWaiting']();};});}[_0x1b6ca5(0x12c)](){var _0x48919=_0x1b6ca5,_0x50a23d;const _0x5f0e5e=this[_0x48919(0xd8)][_0x48919(0x1ef)](_0x32b669);return(_0x50a23d=_0x5f0e5e==null?void 0x0:_0x5f0e5e[_0x48919(0x258)])!=null?_0x50a23d:_0x175b10;}['_getSignURL'](){var _0x3657ea=_0x1b6ca5,_0x50e8db;const _0x5e5f69=this[_0x3657ea(0xd8)][_0x3657ea(0x1ef)](_0x32b669);return(_0x50e8db=_0x5e5f69==null?void 0x0:_0x5e5f69[_0x3657ea(0x2b0)])!=null?_0x50e8db:_0x284c40;}['_getDownloadEndpointURL'](){var _0x56720f=_0x1b6ca5,_0x18c89b;const _0x445853=this[_0x56720f(0xd8)][_0x56720f(0x1ef)](_0x32b669);return(_0x18c89b=_0x445853==null?void 0x0:_0x445853[_0x56720f(0x10c)])!=null?_0x18c89b:location[_0x56720f(0x73)];}[_0x1b6ca5(0x255)](_0x1ff8f8,_0x36097b){var _0x41cc74=_0x1b6ca5;return _0x1ff8f8[_0x41cc74(0x87)]('{fileID}',_0x36097b);}['_decreaseWaiting'](){var _0x16e499=_0x1b6ca5;this[_0x16e499(0x27f)]-=0x1,this[_0x16e499(0x3ca)][_0x16e499(0x1a2)](this['_waitCount']);}},_0x35847c[_0x1b6ca5(0x120)]=_0x113cff([_0x13254b(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x13254b(0x1,_0x765608[_0x1b6ca5(0x1af)]),_0x13254b(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x175)]))],_0x35847c[_0x1b6ca5(0x120)]);var _0x437acd=Object[_0x1b6ca5(0x1d2)],_0x58bffb=(_0x26e18e,_0x62e56e,_0x4bad39,_0x3fb214)=>{var _0x4b80bc=_0x1b6ca5;for(var _0x30f55d=_0x3fb214>0x1?void 0x0:_0x3fb214?_0x437acd(_0x62e56e,_0x4bad39):_0x62e56e,_0x3ac4b4=_0x26e18e[_0x4b80bc(0x39e)]-0x1,_0x47e8e5;_0x3ac4b4>=0x0;_0x3ac4b4--)(_0x47e8e5=_0x26e18e[_0x3ac4b4])&&(_0x30f55d=_0x47e8e5(_0x30f55d)||_0x30f55d);return _0x30f55d;},_0x142bd6=(_0x485510,_0x46b89e)=>(_0x434ad5,_0x549b02)=>_0x46b89e(_0x434ad5,_0x549b02,_0x485510);const _0x2bc6b6=_0x1b6ca5(0x36a);_0x35847c[_0x1b6ca5(0x33d)]=class{constructor(_0x580e3f,_0x1d0d31){var _0x429fdd=_0x1b6ca5;this[_0x429fdd(0xd8)]=_0x580e3f,this['_HTTPService']=_0x1d0d31;}[_0x1b6ca5(0x127)](){var _0x1bdd87=_0x1b6ca5,_0x5948a3;const _0x88b02b=this[_0x1bdd87(0xd8)]['getConfig'](_0x32b669);return(_0x5948a3=_0x88b02b==null?void 0x0:_0x88b02b[_0x1bdd87(0x270)])!=null?_0x5948a3:_0x2bc6b6;}async[_0x1b6ca5(0x7b)](_0x33e90e){var _0x53d2cf=_0x1b6ca5;const _0x391f59=this[_0x53d2cf(0x127)]()+_0x53d2cf(0x21c);return{'list':[{'title':_0x53d2cf(0x27a),'mentions':(await this[_0x53d2cf(0x24c)][_0x53d2cf(0x2b3)](_0x391f59,{'params':{'objectID':_0x33e90e['unitId'],'unitID':_0x33e90e[_0x53d2cf(0x272)]}}))['body'][_0x53d2cf(0x3aa)][_0x53d2cf(0x10d)](_0x3baef0=>({'objectId':_0x3baef0['id'],'name':_0x3baef0[_0x53d2cf(0x13a)]['name'],'metadata':{'icon':_0x3baef0[_0x53d2cf(0x13a)][_0x53d2cf(0x266)]},'label':_0x3baef0['subject']['name'],'objectType':_0x765608[_0x53d2cf(0x2a6)]['PERSON']})),'metadata':{},'type':_0x765608[_0x53d2cf(0x2a6)][_0x53d2cf(0x1da)]}]};}},_0x35847c[_0x1b6ca5(0x33d)]=_0x58bffb([_0x142bd6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608['IConfigService'])),_0x142bd6(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x33d)]);var _0x2f80d1=Object[_0x1b6ca5(0x1d2)],_0x3bf16f=(_0x5b054a,_0x25e29a,_0x235977,_0x62116b)=>{for(var _0x8a20a1=_0x62116b>0x1?void 0x0:_0x62116b?_0x2f80d1(_0x25e29a,_0x235977):_0x25e29a,_0x3e02e4=_0x5b054a['length']-0x1,_0x7ed4a6;_0x3e02e4>=0x0;_0x3e02e4--)(_0x7ed4a6=_0x5b054a[_0x3e02e4])&&(_0x8a20a1=_0x7ed4a6(_0x8a20a1)||_0x8a20a1);return _0x8a20a1;},_0x5c4af6=(_0x5800f6,_0x540c03)=>(_0x541b86,_0x324c78)=>_0x540c03(_0x541b86,_0x324c78,_0x5800f6);let _0x14028a=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x38f8ec,_0x390246,_0x364b48,_0x3ff551,_0xc8b4ae){var _0x26e4e9=_0x1b6ca5;super(),this[_0x26e4e9(0x172)]=_0x38f8ec,this[_0x26e4e9(0xe7)]=_0x390246,this[_0x26e4e9(0x1d5)]=_0x364b48,this[_0x26e4e9(0xba)]=_0x3ff551,this[_0x26e4e9(0x322)]=_0xc8b4ae,this[_0x26e4e9(0xe1)](),this['_initCloseConn']();}[_0x1b6ca5(0x20c)](){var _0x28457d=_0x1b6ca5;const _0x1bbc0b=async _0xd661b9=>{var _0x539cdb=_0x1ac4;(await this[_0x539cdb(0xba)]['requireSession'](_0xd661b9))[_0x539cdb(0x34d)][_0x539cdb(0x39a)](_0x3039f7[_0x539cdb(0x153)](_0x4e8d09=>_0x4e8d09['eventID']===_0x32c4ad[_0x539cdb(0x28d)][_0x539cdb(0x356)]),_0x3039f7[_0x539cdb(0x18c)](this['dispose$']))[_0x539cdb(0xf0)](_0x38b2ec=>{var _0x5553f4=_0x539cdb;const _0x201101=_0x38b2ec,{reason:_0xb96908}=_0x201101['data'];this['_collaborationUIEventService'][_0x5553f4(0x106)]({'id':_0x4d6e97[_0x5553f4(0x162)],'data':_0xb96908}),this[_0x5553f4(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x5553f4(0x228))](_0xd661b9)['id'],!0x1),this[_0x5553f4(0xba)][_0x5553f4(0x253)](_0xd661b9);});};_0x2f43df['merge'](this[_0x28457d(0xe7)]['getTypeOfUnitAdded$'](_0x765608[_0x28457d(0x173)][_0x28457d(0x398)]),this[_0x28457d(0xe7)][_0x28457d(0x2ac)](_0x765608[_0x28457d(0x173)][_0x28457d(0x31a)]))[_0x28457d(0x39a)](_0x3039f7[_0x28457d(0x10d)](_0xce3d15=>_0xce3d15[_0x28457d(0xdc)]()),_0x3039f7[_0x28457d(0x153)](_0x48a7f6=>!_0x765608[_0x28457d(0x1b3)](_0x48a7f6)),_0x3039f7[_0x28457d(0x18c)](this[_0x28457d(0x283)]))[_0x28457d(0xf0)](_0x10b2fd=>{_0x1bbc0b(_0x10b2fd);});}['_initUnitPermissionChange'](){var _0x3a727=_0x1b6ca5;const _0xc5d7d=async _0xa9ffd3=>{var _0x17ba62=_0x1ac4;const _0x71e4f9=await this[_0x17ba62(0xba)]['requireSession'](_0xa9ffd3),_0x351531=this['_injector'][_0x17ba62(0x2b3)](_0x8c00ce[_0x17ba62(0x1ed)]);_0x71e4f9[_0x17ba62(0x34d)][_0x17ba62(0x39a)](_0x3039f7[_0x17ba62(0x153)](_0x20d4ef=>_0x20d4ef[_0x17ba62(0x239)]===_0x32c4ad[_0x17ba62(0x28d)][_0x17ba62(0x29b)]),_0x3039f7[_0x17ba62(0x18c)](this[_0x17ba62(0x283)]))['subscribe'](_0x14d6c0=>{var _0xcbdc3=_0x17ba62;const _0x2c3a97=_0x14d6c0,{objectId:_0x2af3ee}=_0x2c3a97['data'];_0x2af3ee===_0xa9ffd3?_0x351531[_0xcbdc3(0x1d4)](_0xa9ffd3):_0x351531[_0xcbdc3(0x8e)](_0xa9ffd3,_0x2af3ee);});};_0x2f43df[_0x3a727(0x308)](this[_0x3a727(0xe7)][_0x3a727(0x2ac)](_0x765608['UniverInstanceType'][_0x3a727(0x398)]))[_0x3a727(0x39a)](_0x3039f7[_0x3a727(0x10d)](_0x413a8c=>_0x413a8c[_0x3a727(0xdc)]()),_0x3039f7['filter'](_0x28d47c=>!_0x765608[_0x3a727(0x1b3)](_0x28d47c)),_0x3039f7['takeUntil'](this[_0x3a727(0x283)]))['subscribe'](_0x530fa0=>{_0xc5d7d(_0x530fa0);});}};_0x14028a=_0x3bf16f([_0x5c4af6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x5c4af6(0x1,_0x765608[_0x1b6ca5(0x175)]),_0x5c4af6(0x2,_0x765608[_0x1b6ca5(0x112)]),_0x5c4af6(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x97)])),_0x5c4af6(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb))],_0x14028a);var _0x3fa282=Object[_0x1b6ca5(0x1d2)],_0x36f40a=(_0xa9ebfb,_0x43e7b7,_0x29adbe,_0x331702)=>{for(var _0x2b241a=_0x331702>0x1?void 0x0:_0x331702?_0x3fa282(_0x43e7b7,_0x29adbe):_0x43e7b7,_0x158b6a=_0xa9ebfb['length']-0x1,_0x2cf2d5;_0x158b6a>=0x0;_0x158b6a--)(_0x2cf2d5=_0xa9ebfb[_0x158b6a])&&(_0x2b241a=_0x2cf2d5(_0x2b241a)||_0x2b241a);return _0x2b241a;},_0x454e73=(_0x3b794d,_0x493687)=>(_0x38e77f,_0x5db998)=>_0x493687(_0x38e77f,_0x5db998,_0x3b794d);_0x35847c[_0x1b6ca5(0x312)]=class{constructor(_0xe6d162,_0x4191ad){var _0x1948fd=_0x1b6ca5;this[_0x1948fd(0xd8)]=_0xe6d162,this[_0x1948fd(0x2be)]=_0x4191ad;}async[_0x1b6ca5(0xc3)](_0x18af4a,_0x88f56d){var _0x4ba068=_0x1b6ca5,_0x218a51;const {unitID:_0x88c2b7,type:_0x44a26a,revision:_0x2de613=0x0}=_0x88f56d,_0x5e2258=this[_0x4ba068(0xe4)]()+'/'+_0x44a26a+'/unit/'+_0x88c2b7+_0x4ba068(0x2e1)+_0x2de613,_0x273e9e=(await this['_httpService']['get'](_0x5e2258))[_0x4ba068(0x35a)],_0x4666eb=(_0x218a51=_0x273e9e['snapshot'])==null?void 0x0:_0x218a51['workbook'];if(_0x4666eb){const _0x1d606c=_0x4666eb==null?void 0x0:_0x4666eb[_0x4ba068(0x178)],_0xbbf8d4=_0x32c4ad[_0x4ba068(0x26b)][_0x4ba068(0x27e)](_0x32c4ad[_0x4ba068(0x186)](_0x1d606c));_0x4666eb[_0x4ba068(0x178)]=_0xbbf8d4,Object[_0x4ba068(0x2fe)](_0x4666eb[_0x4ba068(0x3d6)])['forEach'](([,_0x13345a])=>{var _0x2ec3ab=_0x4ba068;const _0x1a62e1=_0x13345a[_0x2ec3ab(0x178)],_0x578709=_0x32c4ad[_0x2ec3ab(0x26b)][_0x2ec3ab(0x27e)](_0x32c4ad['b64DecodeUnicode'](_0x1a62e1));_0x13345a[_0x2ec3ab(0x178)]=_0x578709;});}return _0x273e9e;}async[_0x1b6ca5(0x156)](_0x130b53,_0x55f038){var _0x1d8cf3=_0x1b6ca5;const {unitID:_0x5ebe6e,type:_0x421623,blockID:_0xcafb57}=_0x55f038,_0x587d85=this[_0x1d8cf3(0x19c)]()+'/'+_0x421623+_0x1d8cf3(0x1ba)+_0x5ebe6e+_0x1d8cf3(0xcb)+_0xcafb57;return(await this[_0x1d8cf3(0x2be)][_0x1d8cf3(0x2b3)](_0x587d85))['body'];}async['getDeserializedSheetBlock'](_0x3dc2b5,_0x299fcb){var _0x23c20e=_0x1b6ca5;const {unitID:_0x1b9b32,type:_0x46a7f5,blockID:_0x681f65}=_0x299fcb,_0x309181=this[_0x23c20e(0x19c)]()+_0x23c20e(0xcb)+_0x46a7f5+_0x23c20e(0x1ba)+_0x1b9b32+_0x23c20e(0xcb)+_0x681f65;return(await this[_0x23c20e(0x2be)][_0x23c20e(0x2b3)](_0x309181))[_0x23c20e(0x35a)];}async[_0x1b6ca5(0x78)](_0x2540aa,_0x4e1f6d){var _0x5f552a=_0x1b6ca5;const {unitID:_0x340a86,type:_0x387530,from:_0x334658,to:_0x2095b4}=_0x4e1f6d,_0x217aa7=this[_0x5f552a(0x19c)]()+'/'+_0x387530+'/unit/'+_0x340a86+_0x5f552a(0x15d)+_0x334658+_0x5f552a(0x142)+_0x2095b4;return(await this[_0x5f552a(0x2be)]['get'](_0x217aa7))[_0x5f552a(0x35a)];}['getSnapshotAPIPath'](){var _0x4a4312=_0x1b6ca5,_0x10256e;return(_0x10256e=this[_0x4a4312(0xd8)][_0x4a4312(0x1ef)](_0x1ade4e))!=null?_0x10256e:this[_0x4a4312(0x19c)]();}[_0x1b6ca5(0x19c)](){var _0x840563=_0x1b6ca5,_0x1f2883;const _0x5b7c53=this[_0x840563(0xd8)][_0x840563(0x1ef)](_0x32b669);return(_0x1f2883=_0x5b7c53==null?void 0x0:_0x5b7c53[_0x840563(0x3cd)])!=null?_0x1f2883:_0xdbb69b;}async[_0x1b6ca5(0x148)](_0x431e54,_0x546814){var _0x30f4d1=_0x1b6ca5;const _0x10542='/universer-api/snapshot/'+_0x546814['type']+'/unit/'+_0x546814[_0x30f4d1(0xfe)]+_0x30f4d1(0x105);return(await this[_0x30f4d1(0x2be)][_0x30f4d1(0x2b3)](_0x10542,{'params':{'resourceId':JSON[_0x30f4d1(0x144)](_0x546814['resourceIDs'])}}))['body'];}[_0x1b6ca5(0x204)](){var _0x24caf4=_0x1b6ca5;throw new Error(_0x24caf4(0x2fd));}[_0x1b6ca5(0x37e)](){var _0x1fa276=_0x1b6ca5;throw new Error(_0x1fa276(0x2fd));}[_0x1b6ca5(0x3ce)](){var _0x319ee1=_0x1b6ca5;throw new Error(_0x319ee1(0x2fd));}[_0x1b6ca5(0x16b)](){var _0x38d088=_0x1b6ca5;throw new Error(_0x38d088(0x2fd));}[_0x1b6ca5(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b6ca5(0x225)](){var _0xab738b=_0x1b6ca5;throw new Error(_0xab738b(0x2fd));}},_0x35847c['SnapshotServerOverHTTPService']=_0x36f40a([_0x454e73(0x0,_0x765608[_0x1b6ca5(0x1af)]),_0x454e73(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x312)]);var _0x5112f2=Object[_0x1b6ca5(0x1d2)],_0x3b3ed6=(_0x438cda,_0x11a598,_0xb27b46,_0x257957)=>{var _0x269fd1=_0x1b6ca5;for(var _0x32f18c=_0x257957>0x1?void 0x0:_0x257957?_0x5112f2(_0x11a598,_0xb27b46):_0x11a598,_0x5ccf51=_0x438cda[_0x269fd1(0x39e)]-0x1,_0x7cc7ea;_0x5ccf51>=0x0;_0x5ccf51--)(_0x7cc7ea=_0x438cda[_0x5ccf51])&&(_0x32f18c=_0x7cc7ea(_0x32f18c)||_0x32f18c);return _0x32f18c;},_0x119d17=(_0x11d796,_0x475fc4)=>(_0x3855ba,_0x4b6498)=>_0x475fc4(_0x3855ba,_0x4b6498,_0x11d796);_0x35847c['CollaborativeUndoRedoService']=class extends _0x765608[_0x1b6ca5(0x1fb)]{constructor(_0x2c3b08,_0x2f2f60,_0x1ee41f,_0x5e5bdb,_0x42cf4d){var _0xfbe868=_0x1b6ca5;super(_0x2c3b08,_0x2f2f60,_0x1ee41f),this[_0xfbe868(0x226)]=_0x5e5bdb,this['_logService']=_0x42cf4d;}['transformUndoRedo'](_0x4b8ada,_0x91c42a){var _0x514fec=_0x1b6ca5;const _0x3a5b01=this[_0x514fec(0x2d9)](_0x4b8ada);if(_0x3a5b01)try{const _0x2acd78=this[_0x514fec(0x24f)](_0x3a5b01,_0x91c42a);this[_0x514fec(0x146)](_0x4b8ada,_0x2acd78);}catch(_0x1338a4){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x514fec(0x1f5),_0x1338a4),this['_clearUndo'](_0x4b8ada);}const _0x5b435b=this['_getRedoStack'](_0x4b8ada);if(_0x5b435b)try{const _0x4cb6d1=this[_0x514fec(0x24f)](_0x5b435b,_0x91c42a);this['_substituteRedoStack'](_0x4b8ada,_0x4cb6d1);}catch(_0x11e19c){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x11e19c),this[_0x514fec(0x2ca)](_0x4b8ada);}}[_0x1b6ca5(0x30a)](_0x462d20){var _0x319114=_0x1b6ca5;const _0xcc7cfb=this[_0x319114(0x2d9)](_0x462d20);_0xcc7cfb&&(_0xcc7cfb[_0x319114(0x39e)]=0x0,this[_0x319114(0x39d)]());}[_0x1b6ca5(0x2ca)](_0x426728){var _0x5edbf4=_0x1b6ca5;const _0x2e74ed=this['_getRedoStack'](_0x426728);_0x2e74ed&&(_0x2e74ed[_0x5edbf4(0x39e)]=0x0,this['_updateStatus']());}[_0x1b6ca5(0x146)](_0x56fa23,_0x292386){var _0x5a9c18=_0x1b6ca5;this['_undoStacks'][_0x5a9c18(0x26d)](_0x56fa23,_0x292386),this[_0x5a9c18(0x39d)]();}[_0x1b6ca5(0x32c)](_0x1f220a,_0x37bb70){this['_redoStacks']['set'](_0x1f220a,_0x37bb70),this['_updateStatus']();}[_0x1b6ca5(0x24f)](_0x1a5278,_0x17b1cc){var _0x36f1d2=_0x1b6ca5;const _0x131d4c=[];let _0x21e770=_0x17b1cc,_0x4a1adf=_0x17b1cc;for(let _0x392f2b=_0x1a5278['length']-0x1;_0x392f2b>=0x0;_0x392f2b--){const {unitID:_0x56209d,undoMutations:_0x11cc40,redoMutations:_0x6c16e1}=_0x1a5278[_0x392f2b],_0x4b198d=this['_transformService']['transformMutationsWithChangeset'](_0x21e770,_0x11cc40),_0x59c4ec=this[_0x36f1d2(0x226)][_0x36f1d2(0x291)](_0x4a1adf,_0x6c16e1);if(_0x32c4ad['isTransformMutationsWithChangesetFailure'](_0x4b198d)||_0x32c4ad[_0x36f1d2(0x2d7)](_0x59c4ec)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x36f1d2(0x8d),_0x4b198d,_0x59c4ec);break;}_0x21e770=_0x4b198d[_0x36f1d2(0x147)],_0x4a1adf=_0x59c4ec[_0x36f1d2(0x147)],_0x131d4c[_0x36f1d2(0x13f)]({'unitID':_0x56209d,'undoMutations':_0x4b198d[_0x36f1d2(0x1b7)],'redoMutations':_0x59c4ec['m2Prime']});}return _0x131d4c[_0x36f1d2(0x1f3)]();}},_0x35847c['CollaborativeUndoRedoService']=_0x3b3ed6([_0x119d17(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x119d17(0x1,_0x765608[_0x1b6ca5(0x386)]),_0x119d17(0x2,_0x765608[_0x1b6ca5(0x2e5)]),_0x119d17(0x3,_0x32c4ad[_0x1b6ca5(0x152)]),_0x119d17(0x4,_0x765608[_0x1b6ca5(0x3f9)])],_0x35847c[_0x1b6ca5(0xd3)]);var _0x9ac0e8=Object[_0x1b6ca5(0x335)],_0x448025=Object[_0x1b6ca5(0x1d2)],_0x3f9f36=(_0xd78a8c,_0x5ee595,_0xd0c970)=>_0x5ee595 in _0xd78a8c?_0x9ac0e8(_0xd78a8c,_0x5ee595,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd0c970}):_0xd78a8c[_0x5ee595]=_0xd0c970,_0x5ae503=(_0x2e9c97,_0x5d8d6a,_0xe525ab,_0x37344d)=>{var _0x38dd56=_0x1b6ca5;for(var _0x35fc6b=_0x37344d>0x1?void 0x0:_0x37344d?_0x448025(_0x5d8d6a,_0xe525ab):_0x5d8d6a,_0x4e40e4=_0x2e9c97[_0x38dd56(0x39e)]-0x1,_0x44df6f;_0x4e40e4>=0x0;_0x4e40e4--)(_0x44df6f=_0x2e9c97[_0x4e40e4])&&(_0x35fc6b=_0x44df6f(_0x35fc6b)||_0x35fc6b);return _0x35fc6b;},_0x2bd820=(_0x58fb1e,_0x301b80)=>(_0x2d2a54,_0x1b2b1a)=>_0x301b80(_0x2d2a54,_0x1b2b1a,_0x58fb1e),_0x1ea5ab=(_0x2936b9,_0x55bd64,_0x1098ae)=>_0x3f9f36(_0x2936b9,_0x55bd64+'',_0x1098ae);const _0x5690bc=_0x1b6ca5(0x138);_0x35847c[_0x1b6ca5(0x372)]=class extends _0x765608[_0x1b6ca5(0x2a2)]{constructor(_0x2f0802,_0xf795e9,_0xc72818,_0x285f0c){var _0x10436c=_0x1b6ca5;super(),_0x1bac5f(this,_0x10436c(0x1ab)),(this['_logService']=_0xf795e9,this[_0x10436c(0x172)]=_0xc72818,this[_0x10436c(0xd8)]=_0x285f0c);const {..._0x555383}=_0x765608[_0x10436c(0x308)]({},_0x5a1779,_0x2f0802);if(!_0x555383[_0x10436c(0x1d6)])throw new Error(_0x10436c(0x339));this[_0x10436c(0x1ab)]=_0x555383,this[_0x10436c(0xd8)]['setConfig'](_0x32b669,_0x555383);}['onStarting'](){var _0x55f19e=_0x1b6ca5;this[_0x55f19e(0xc2)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1f150d=_0x1b6ca5,_0x223675,_0x4e2d23;this[_0x1f150d(0x172)]['has'](_0x765608['IUndoRedoService'])&&this[_0x1f150d(0x9f)]['error'](_0x1f150d(0x36b),_0x1f150d(0x218));const _0x1a4a8f=_0x765608[_0x1f150d(0xab)]([[_0x765608[_0x1f150d(0x77)],{'useClass':_0x35847c[_0x1f150d(0xd3)]}],[_0x35847c[_0x1f150d(0x97)]],[_0x35847c['MemberService']],[_0x35847c['SheetTransformSelectionsService']],[_0x3e75fa],[_0x13c997],[_0x1442e0],[_0x14028a],[_0x4474bb],[_0x35847c[_0x1f150d(0x3d5)]],[_0x1d154d,{'useClass':this[_0x1f150d(0x1ab)][_0x1f150d(0x1d6)]}],[_0x32c4ad[_0x1f150d(0x2a7)],{'useClass':_0x35847c[_0x1f150d(0x312)]}],[_0x765608[_0x1f150d(0x2d8)],{'useClass':_0x35847c['AuthzIoHttpService']}],[_0x18920f[_0x1f150d(0xee)],{'useClass':_0x35847c[_0x1f150d(0x120)]}],[_0x765608['IMentionIOService'],{'useClass':_0x35847c[_0x1f150d(0x33d)]}],[_0x35847c[_0x1f150d(0x236)]],[_0x287d89]],(_0x223675=this[_0x1f150d(0x1ab)])==null?void 0x0:_0x223675[_0x1f150d(0x1e2)]);if(!((_0x4e2d23=this['_config'])!=null&&_0x4e2d23[_0x1f150d(0x360)])){const _0x41a703=_0x1a4a8f[_0x1f150d(0x18a)](([_0x703f3b])=>_0x703f3b===_0x2aceed);_0x41a703!==-0x1&&_0x1a4a8f[_0x1f150d(0x3c3)](_0x41a703,0x1);}_0x765608['registerDependencies'](this['_injector'],_0x1a4a8f);}[_0x1b6ca5(0x2ad)](){var _0x42a1fb=_0x1b6ca5,_0x4b7972,_0x5a09b1,_0x56fd0f;this[_0x42a1fb(0x172)]['get'](_0x102f6e['HTTPService'])[_0x42a1fb(0xce)]({'priority':0x14,'interceptor':_0x102f6e[_0x42a1fb(0x2db)]({'maxParallel':0x6})}),(_0x4b7972=this[_0x42a1fb(0x1ab)])!=null&&_0x4b7972[_0x42a1fb(0x2c2)]||(_0x5a09b1=this[_0x42a1fb(0x172)][_0x42a1fb(0x2b3)](_0x9f10c,_0x765608[_0x42a1fb(0x251)]['OPTIONAL']))==null||_0x5a09b1[_0x42a1fb(0x34a)](),(_0x56fd0f=this['_config'])!=null&&_0x56fd0f[_0x42a1fb(0x333)]&&_0x765608[_0x42a1fb(0x348)](this[_0x42a1fb(0x172)],[[_0x3e75fa]]),_0x765608[_0x42a1fb(0x348)](this['_injector'],[[_0x13c997],[_0x35847c[_0x42a1fb(0x236)]],[_0x14028a]]);}},_0x1ea5ab(_0x35847c[_0x1b6ca5(0x372)],'pluginName',_0x5690bc),_0x35847c[_0x1b6ca5(0x372)]=_0x5ae503([_0x765608['DependentOn'](_0x32c4ad[_0x1b6ca5(0x1e9)],_0x102f6e['UniverNetworkPlugin']),_0x2bd820(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x2bd820(0x2,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x2bd820(0x3,_0x765608[_0x1b6ca5(0x1af)])],_0x35847c[_0x1b6ca5(0x372)]),_0x35847c[_0x1b6ca5(0x2ce)]=_0x32b669,_0x35847c[_0x1b6ca5(0x107)]=_0x528d90,_0x35847c[_0x1b6ca5(0xd2)]=_0x4d6e97,_0x35847c['CollaborationUIEventService']=_0x4474bb,_0x35847c['CommentService']=_0x1442e0,_0x35847c[_0x1b6ca5(0x222)]=_0x58068b,_0x35847c[_0x1b6ca5(0x207)]=_0x1c6e64,_0x35847c['DEFAULT_WS_SESSION_TICKET_URL']=_0x3729d7,_0x35847c[_0x1b6ca5(0x257)]=_0x391bfd,_0x35847c['HEARTBEAT_TIMEOUT_KEY']=_0x40d4d2,_0x35847c['ICollaborationSocketService']=_0x1d154d,_0x35847c[_0x1b6ca5(0xc6)]=_0x9f10c,_0x35847c['INetworkConditionService']=_0x13a6a4,_0x35847c['ISingleActiveUnitService']=_0x2aceed,_0x35847c[_0x1b6ca5(0x1b5)]=0x3e8,_0x35847c[_0x1b6ca5(0x306)]=_0x560f63,_0x35847c[_0x1b6ca5(0x1ae)]=_0x26812e,_0x35847c['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x4e97c3,_0x35847c[_0x1b6ca5(0x304)]=_0x34dd1c,_0x35847c['UnitStatus']=_0x1601ee,_0x35847c[_0x1b6ca5(0x2e0)]=_0x4123d4,_0x35847c[_0x1b6ca5(0x88)]=_0x3698d0,_0x35847c[_0x1b6ca5(0x211)]=_0x4ffe11,Object[_0x1b6ca5(0x335)](_0x35847c,Symbol[_0x1b6ca5(0x346)],{'value':_0x1b6ca5(0x179)});}));function _0x7d27(){var _0xd48df3=['not_collab','ThresholdInterceptorFactory','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_NEW_HOST','USERS_ENTER','getCurrentSelections','deserializeToCombResponse','/rev/','retryConnectingInterval','LIVESHARE_OPERATION','_clearHeartbeatTimer','IContextService','revision','hostname','_onConflict','AwaitingWithPendingState','createCollaborator','@univerjs/drawing','getWorkbookSelections','univer-pro.collaboration-client.network-condition.service','crypto','_state','IDLE','POST','_socket','unitId\x20is\x20not\x20found','_transformSelections','words','_undoRedoService','_entities','hasOwnProperty','_handler','_memberService','awaiting_with_pending','COMPRESS_MUTATION_APPLY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','entries','textRanges','_transitionLocked','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','SessionStatus','interceptor','LOCAL_CACHE_INTERVAL_KEY','_type','merge','_createInitialStateImpl','_clearUndo','APPLY_REVISION_CONFILICT','@univerjs/sheets','_append','_shouldReportTelemetry','SheetTransformSelectionsService','INVITE_CODE_ALREADY_BOUND','_state$','SnapshotServerOverHTTPService','HttpImport','AUTHORIZE_CODE_ILLEGAL','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','name','decrypt','fetchMiss','UNIVER_DOC','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationPaused','_clearScheduledTask','localeService','UniverProLicense','awaiting','mapDocumentTypeToUniverType','_collaborationUIEventService','mixIn','_unlockTransition','CollaborationSession','equals','updateMember','MemberService','Injector','getInterceptPoints','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_substituteRedoStack','_incrementRevisionNumber','message$','_transformStateCache','HTTPService','floor','finalize','enableAuthServer','/object','defineProperty','size','REDEMPTION_CODE_INACTIVE','_invKeySchedule','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','JOIN_ROOM_FULL','FAIL','status$','MentionIoHttpService','getActiveSheet','patch','REDEMPTION_INVALID_CODE','YUUMI_RATE_OVER_LIMIT','readyForCollab','2414986dycLwH','RECV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toStringTag','sendChangesetTimeout','touchDependencies','_onFetchMissResult','disableLocalCache','_socketService','UNISCRIPT_RUN','event$','onSyncEditingCollabCursor','_onRecvEvent','Error\x20on\x20receiving\x20event','executeCommand','Hex','getFocusedUnit','_xformMode','create','SHOULD_CLOSE_CONN','pending','_snapshotService','UNDEFINED','body','onCommandExecuted','HttpExport','UserProfileImg','ENTITLE_CHAT_LIMIT_EXCEED','error','enableSingleActiveInstanceLock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','onTransformRemoteChangesetByStateCache','_doFinalize','rxjs/operators','url','debug','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/universer-api/authz','[UniverCollaborationClientPlugin]','_commentUpdate$','_onRemoteACK','ERROR_AGAIN','OTHER_CLIENTS_EDITING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nDataBytes','UniverCollaborationClientPlugin','_reverseMap','c2Prime','_key','NoPadding','appendMutation','getSheetId','getUnitStatus$','reduce','userID','_resendWithTimeout','_checkMissing','updateSnapshot','enc','_sendHeartbeat','symbol','setWaitCount','operators','UNAUTHENTICATED','_queuedRemoteChangesets','ICommandService','_transformUndoredo','[DataLoaderService]','localCacheService','697185XyqpfL','_onJoinRoomEvent','Base','\x0aAfter:\x20','Hasher','createEncryptor','getCurrentRevOfUnit','conflict','onTransformSelections','reqId','getImage','COMPLETION_FINISHED','_acknowledgedAwaitingChangeset','ERROR_IMAGE','UNIVER_SHEET','RevisionService','pipe','_onUserLeave','joinRsp','_updateStatus','length','Base64','_commentService','duration','HELLO','NOT_FOUND','LIVESHARE_TERMINATE','liveShareOperation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','reset','ConflictState','_pendingMutations','collaborators','_doCryptBlock','RxDisposable','YUUMI_UNABLE_LOAD_URL','formatter','AuthzIoHttpService','pad','_roomCreated$','open$','sigBytes','cmd','compose','getAllMembers','loginUrlKey','APPLY_PERMISSION_DENIED','JOIN','Utf8','_sessionStatus$','getValue','_networkConditionService','joinEvent','changesets','LEAVE','/object/','_retryCount','splice','@univerjs/telemetry','_scheduleCompleteTimestamp','fetch_missing','data','close$','_toggleOnline','_change$','now','_entityInit$','snapshotServerUrl','saveSheetBlock','MUTATION','msCrypto','\x20-\x20','_createInitialState','firstValueFrom','_changesetSessionId','DataLoaderService','sheets','delete','UNKNOWN_CODE','prototype','_candidateSocket','_socketMessageSubscription','PERMISSION_REJ','_onConnectionFailed','getUnitType','blockSize','INVITE_CODE_REQUIRED','unknown','NOT_COLLAB','collaboration_new_changeset','[PendingState]:\x20received\x20acknowledgement.','headers','code','ERROR_EXCEED_SIZE','USER_IS_ANONYMOUS','JOIN_ROOM_FAILED','_hasher','keySize','onStateChange','getTime','_prevBlock','UniverDrawing','CONFLICT','onTransformState','repeat','SUBMIT_CHANGESET_TIMEOUT','uuidv4','USER_NOT_FOUND','Pkcs7','selections','ImageSourceType','ILogService','copyFileMeta','_sender','onSendChangeset','toggleOnline','APPLY_DUPLICATED','_schedule','WECHAT_HAS_BEEN_BOUND','UnitSnapshot','_data','_instanceService','origin','session.room-full','HEARTBEAT','_sheetTransformSelectionsService','IUndoRedoService','fetchMissingChangesets','_singleActiveUnitService','LICENSE_MAX_UNITS_EXCEEDED','list','unsubscribe','fetchThroughInterceptors','sid','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','Failed\x20to\x20update\x20permission\x20point','init','DATA_SOURCE_TOO_LARGE','ClipsheetFragments','_startCollaboration','UniverProCollaboration','replace','getLocalCacheKey','FETCH_MISS','send','sequenceExecute','2395602OFYPvN','transformStack\x20failed!','refreshPermission','failed\x20to\x20apply\x20missed\x20changesets!','clamp','_startTelemetryCollaborationNewChangeset','default','1309923XZHpwd','unit-cache-','iterations','function','CollaborationSessionService','image/jpeg','asObservable','format','parse','[CollaborationSession]','_emitMembers','session.room-not-exists','_logService','20TPKqsb','_commandService','charAt','ImageUploadStatusType','HEARTBEAT_INTERVAL','univer-pro.collaboration-client-socket-service','session','JOIN_ROOM_PERMISSION_DENIED','[CollaborationEntity]','SetSelectionsOperation','_status$','mergeOverrideWithDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_HAS_BEEN_UES','file','_createSocket','dispose','EmptyMutationInfo','isPermissionRej','processBlock','_updateState','_clearCollaborationTimeoutTimer','_onUserJoin','/-/object/list','Encryptor','_collaborationSessionService','type','Undefined','_cipher','CHANGESET_REJ','_compressMutationService','_initMergeInterceptor','[PendingState]:\x20received\x20rejection.','_registerDependencies','getUnitOnRev','shouldCloseConn','_remoteChangesetQueue','ILocalCacheService','PendingState','createInstance','[SyncedState]:\x20received\x20acknowledgement.','_resendTimer','/block/','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','registerHTTPInterceptor','_sessions','SUCCUSS','parseChangesetToProtocol','CollaborationUIEventId','CollaborativeUndoRedoService','AwaitingState','catch','?size=','REDEMPTION_CODE_FULLY_REDEEMED','_configService','_tryEnsureSocket','kdf','/-/object/-/batch_allowed','getUnitId','_roomMembers','onRemoteRej','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_initUnitPermissionChange','responseType','DocCollaborationEntity','getSnapshotAPIPath','submit\x20changeset\x20error!','SOCKET_FAILED_RETRY','_univerInstanceService','Inject','compute','includes','_keySchedule','CollaborationEntity','ALREADY_EXISTS','IImageIoService','JSONX','subscribe','object','_applyRemoteChangeset','SHA1','Decryptor','CURRENT_STATUS_CANNOT_OPERATE','_map','_socket$','AWAITING','SheetsSelectionsService','UniverProCollaborationClient','members','_init','__creator','unitID','CBC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getImageSourceCache','batchAllowed','setShowComponents','/resources','emitEvent','CollaborationStatus','DEFAULT_FILE_NAME','_collaborationTimeoutTimer','capture','Malformed\x20UTF-8\x20data','downloadEndpointUrl','map','randomBytes','ENTITLE_DUP_SUBSCRIPTION','transformSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IPermissionService','LOGIN_FAILED','1LUIHzD','disposeWithMe','image/jpg','UPDATE_CURSOR','call','connection\x20error','loadUnit','APPLY_REJECT','close','HmacMD5','withCredentials','_clearRetryConnectingTimer','CollaborationImageIoService','leaveEvent','_rescheduleHeartbeat','getUnit','objectType','_userManagerService','from','_getAPIPrefixPath','_sendHeartbeatTimer','@univerjs/core','_handlerCallback','mode','_getUploadFileURL','_imageSourceCache','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteChangeset','focused$','random','sessionStatus$','_members','_onRemoteRejected','_event$','Optional','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_COLLABORATION_CLIENT_PLUGIN','INGEST','subject','_removeRoom','listCollaborators','SheetCollaborationEntity','MSG_FOR_ERROR','push','_minBufferSize','HEARTBEAT_TIMEOUT','&to=','createDecryptor','stringify','_onLocalMutation','_substituteUndoStack','c1Prime','getResourcesRequest','complete','@univerjs-pro/collaboration','_createHandler','getMemberID','_unitInfo$','isArray','UniverDocs','_unitID','_transformRemoteChangesetByIMECache','ITransformService','filter','onlyLocal','salt','getSheetBlock','startsWith','charCodeAt','indexOf','TOO_MANY_REQUESTS','SOCKET_FAILED','AWAITING_WITH_PENDING','/fetchmissing?from=','_stopTelemetryCollaborationNewChangeset','LICENSE_DISTRO_REJECTED','LocaleService','action','CLOSE_ROOM','infoRsp','_parse','setCurrentUser','src','SNAPSHOT_URL_KEY','_waitForHeartbeatResponse','incrementRevOfUnit','[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.','saveChangeset','USER_NOT_INVITED_CODE','putCollaborators','createSocket','_getSendChangesetTimeout','clone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','UniverInstanceType','NO_OTHER_CLIENTS_EDITING','IUniverInstanceService','byteLength','_executeRemoteChangeset','originalMeta','Module','MergeInterceptorFactory','Latin1','_exhaustRemoteChangesetQueue','addHandlerCallback','exports','_members$','deepClone','FETCH_MISSING','toDisposable','OfflineState','commentUpdate$','581046jkIOtJ','b64DecodeUnicode','JOINING','every','SNAPSHOT_INVALID_SNAPSHOT','findIndex','session.room-permission-denied','takeUntil','[FetchMissState]','_getLoginPath','_showConflictNotification','decryptBlock','_onConnectionOpen','_initRequestHeader','_onCombEvent','__esModule','title','_decreaseWaiting','loadUnitOfRevision','cfg','generateRandomId','updateOfflineData','target','_getAPIPrefix','UNIVER_PROJECT','error$','_onMessage','UNKNOWN_CMD','slice','next','\x20to\x20','_clearLocalCache','RETRY_CONNECTING_MAX_COUNT','UniverSheets','addImageSourceCache','loadSheet','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_config','toString','HMAC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','csAckEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_TOKEN_PROCESSING_FAILED','isInternalEditorID','_submitChangeset','LOCAL_CACHE_INTERVAL','_syncEditingCollabCursor','m2Prime','image/png','then','/unit/','YUUMI_NO_CUBOID_FOR_QUESTION','_doProcessBlock','save\x20fail\x20reason\x20is\x20','_telemetryInfo','min','_joinRoom','clear','reject','image/gif','_keyPriorReset','OFFLINE','/universer-api/file/{fileID}/sign-url','_getCtorByUniverType','_changesetReqId','encrypt','UNIVER_SLIDE','_getSignURL','allowed','_onOffline','INVALID_ARGUMENT','ciphertext','_createHelper','forEach','getOwnPropertyDescriptor','_mode','initWorkbookPermissionChange','_permissionService','socketService','/universer-api/uniscript','getGlobalObject','_transformRemoteChangesetByStateCache','PERSON','add','EMAIL_VERIFY_CODE_MISMATCH','\x20in\x20_schedule.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','has','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_NEED_BILLING_ADDRESS','override','_process','session.join-failed','_getCurrentRevision','_disableEditing','params','readInt32LE','UniverCollaborationPlugin','UniverCore','loadOfflineData','image/bmp','SheetPermissionInitController','fromCharCode','getConfig','CollaborationSocketService','LIVESHARE_FETCH_OPERATIONS','_toggleOffline','reverse','_onRemoteChangeset','[CollaborationUndoRedoService]','NEW_CHANGESETS','BufferedBlockAlgorithm','[CollaborationSessionService]:\x20socket\x20error','_sendingTimer','apply','LocalUndoRedoService','awaitingChangeset','SyncedState','commentUpdateEvent','csShouldRetryEvent','_fetchMissChangesets','_resendTimeout','shareReplay','telemetry\x20info\x20is\x20not\x20initialized','saveSnapshot','enableCollaboration','onRemoteAck','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','saveImage','SUBMIT_CHANGESET','objectID','BehaviorSubject','_initCloseConn','@univerjs/docs','uniscriptRunEvent','CHANGESET_ACK','ivSize','serializeCombRequest','_eventService','delay','updateCollaborator','synced','Subject','unpad','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','state','hasher','onMissingChangesets','/collaborator','RichTextEditingMutation','HTTPRequest','range','_updateLocalCache','socket\x20close','DEFAULT_COLLAB_WEB_SOCKET_URL','lib','_listenToNetworkCondition','getLatestCsReqIdBySid','_transformService','algo','WorkbookEditablePermission','MD5','key','abs','3014484TeqyQY','requireSession','ONLINE','extend','deleteCollaborator','LIVESHARE_REQUEST_HOST','parseProtocolChangeset','mutations','join','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','_localeService','stopTime','eventID','find','CommandType','_timeoutTimer','_retryConnectingTimer','OTHER_CLIENT_EDITING','Cipher','/universer-api/stream/file/upload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformIME','Workbook','_tryReconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_transformIMECache','UniverTelemetry','state$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','removeMember','getTypeOfUnitDisposed$','_HTTPService','createIdentifier','fromCollab','_transformStack','location','Quantity','\x0aCurrent:\x20','closeSession','_lockTransition','_replaceFileID','isTransformMutationsWithChangesetSuccess','HEARTBEAT_INTERVAL_KEY','uploadFileServerUrl','USERS_LEAVE','YUUMI_CONNECTOR_URL_NOT_FOUND','_hash','substr','UserManagerService','FetchingMissState','ENTITLE_CAN_NOT_BUY_LOWER_OTP','concat','_iv','session.room-cnt-exceeds','BlockCipher','onRemoteRetry','toggleOffline','avatar','_socketReady','post','REDEMPTION_CODE_NOT_STARTED','2981464mAfEyP','textEncoder','AES','set','updatePermissionPoint','WordArray','authzUrl','onTransformRemoteChangesetByIMECache','unitId','INVALID_INVITE_CODE','take','_telemetryService','entityInit$','execute','ceil','COMPRESS_MUTATION_SEND','People','result','REDEMPTION_USER_NOT_ELIGIBLE','COMMENT_UPDATE','encode','_waitCount','put','_isPermissionRej','$super','dispose$','waitForRoom$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MOBILE_HAS_BEEN_BOUND','_nRounds','onMissedChangesetFetched','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','UNRECOGNIZED','roles','CollaborationEvent','append','sessionStatus','_doCreateSocket','transformMutationsWithChangeset','baseRev','padding','_localCacheService','_snapshotServerService','memberID','EvpKDF','max','_clearTimeoutTimer','/universer-api/snapshot','UPDATE_PERMISSION_OBJ','CHANGESET_SHOULD_RETRY','[CollaborationSessionService]','CHANGESET_REVISION_CONFILICT','requestParams','listRoles','JOIN_ROOM_NOT_EXISTS','Plugin','[OfflineState]:\x20received\x20rejection.','Tools','routeKey','MentionType','ISnapshotServerService','onCommentUpdate','ReplaySubject','x-univer-host','GLOBAL_ROOMS_CNT_EXCEEDS','getTypeOfUnitAdded$','_initDependencies','amd','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','?url=','/new_changes','get','collaMsg','_ENC_XFORM_MODE','_iKey','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','_oKey','rxjs','_awaitingChangeset','UnitEmbedded','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_httpService','Disposable','UNIVER_UNKNOWN','startTime','enableOfflineEditing','INTERNAL_ERROR','objectActions','/universer-api/user/session-ticket','transformChangesets','reconnect','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearRedo','/allowed','unitInfo$','status','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCurrentUser','_revisionService','update','resend','Univer','PERMISSION_DENIED','string','BASE64','isTransformMutationsWithChangesetFailure','IAuthzIoService','_getUndoStack'];_0x7d27=function(){return _0xd48df3;};return _0x7d27();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x350f(_0x1a12db,_0x288da1){var _0x3635af=_0x3635();return _0x350f=function(_0x350fcc,_0x5efc80){_0x350fcc=_0x350fcc-0xe2;var _0x13f87b=_0x3635af[_0x350fcc];return _0x13f87b;},_0x350f(_0x1a12db,_0x288da1);}(function(_0x431062,_0x49cfa7){var _0x3bafa4=_0x350f,_0xe4842a=_0x431062();while(!![]){try{var _0x2013af=parseInt(_0x3bafa4(0x115))/0x1+parseInt(_0x3bafa4(0xf5))/0x2+-parseInt(_0x3bafa4(0xf3))/0x3*(parseInt(_0x3bafa4(0x107))/0x4)+parseInt(_0x3bafa4(0x10c))/0x5+parseInt(_0x3bafa4(0xee))/0x6+-parseInt(_0x3bafa4(0xe9))/0x7+-parseInt(_0x3bafa4(0xfa))/0x8;if(_0x2013af===_0x49cfa7)break;else _0xe4842a['push'](_0xe4842a['shift']());}catch(_0x224297){_0xe4842a['push'](_0xe4842a['shift']());}}}(_0x3635,0xd3248),function(_0x30c58e,_0x158d30){var _0x1b967b=_0x350f;typeof exports=='object'&&typeof module<'u'?_0x158d30(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x1b967b(0x104)&&define[_0x1b967b(0xe5)]?define([_0x1b967b(0xfc),_0x1b967b(0xe6),_0x1b967b(0x113),_0x1b967b(0xf0),'@univerjs/core',_0x1b967b(0xf9)],_0x158d30):(_0x30c58e=typeof globalThis<'u'?globalThis:_0x30c58e||self,_0x158d30(_0x30c58e[_0x1b967b(0xfd)]={},_0x30c58e[_0x1b967b(0xf7)],_0x30c58e[_0x1b967b(0xef)],_0x30c58e[_0x1b967b(0xe7)],_0x30c58e[_0x1b967b(0x10e)],_0x30c58e[_0x1b967b(0xf9)]));}(this,function(_0x41ac2a,_0x36535c,_0x355a7f,_0x53573a,_0x2ed65c,_0x8337b1){'use strict';var _0x1bedcb=_0x350f;var _0x3fbdb6=Object[_0x1bedcb(0x100)],_0x2a719b=(_0x5b7c25,_0x1e8694,_0x3f70e7,_0x2ae772)=>{var _0x27fba4=_0x1bedcb;for(var _0x17db19=_0x2ae772>0x1?void 0x0:_0x2ae772?_0x3fbdb6(_0x1e8694,_0x3f70e7):_0x1e8694,_0x681ca7=_0x5b7c25[_0x27fba4(0x111)]-0x1,_0x3207cf;_0x681ca7>=0x0;_0x681ca7--)(_0x3207cf=_0x5b7c25[_0x681ca7])&&(_0x17db19=_0x3207cf(_0x17db19)||_0x17db19);return _0x17db19;},_0x142842=(_0x5bf7e5,_0xed6a48)=>(_0x132cb4,_0x4fd8f1)=>_0xed6a48(_0x132cb4,_0x4fd8f1,_0x5bf7e5);_0x41ac2a[_0x1bedcb(0xe2)]=class extends _0x355a7f[_0x1bedcb(0xf4)]{constructor(_0x3a8d96,_0x258388,_0x417193,_0x7acab4,_0x5f08a2){var _0x1c09fc=_0x1bedcb;super(),this['_handler']=_0x3a8d96,this[_0x1c09fc(0xe8)]=_0x258388,this[_0x1c09fc(0xe3)]=_0x417193,this[_0x1c09fc(0xf2)]=_0x7acab4,this[_0x1c09fc(0xf6)]=_0x5f08a2;}async[_0x1bedcb(0xec)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x200d95=_0x1bedcb;throw new Error(_0x200d95(0xeb));}async['loadSheet'](_0x26943a){var _0x934b2c=_0x1bedcb;return this[_0x934b2c(0x10a)](_0x26943a);}async['loadSheetAsync'](_0x2292c9,_0x51d9c8){var _0x540fd6=_0x1bedcb;return await this[_0x540fd6(0xf2)][_0x540fd6(0xf1)](_0x2292c9,0x0,_0x51d9c8)?(await this[_0x540fd6(0xf6)]['readyForCollab'](_0x2292c9),this['_handler'][_0x540fd6(0x116)](_0x2292c9)):null;}['subscribeCollaborators'](_0x18730a,_0x50cdc8){var _0x10ca7b=_0x1bedcb;const _0x4d09ad=this['_injector']['get'](_0x36535c['MemberService'])[_0x10ca7b(0x110)](_0x18730a)['pipe'](_0x8337b1[_0x10ca7b(0x103)](_0x14752e=>_0x14752e[_0x10ca7b(0xed)]))[_0x10ca7b(0x101)](_0x4e0a04=>_0x50cdc8(Array['from'](_0x4e0a04[_0x10ca7b(0x109)]())));return _0x2ed65c['toDisposable'](_0x4d09ad);}},_0x41ac2a[_0x1bedcb(0xe2)]=_0x2a719b([_0x142842(0x1,_0x2ed65c[_0x1bedcb(0x105)](_0x2ed65c[_0x1bedcb(0x10b)])),_0x142842(0x2,_0x2ed65c[_0x1bedcb(0x114)]),_0x142842(0x3,_0x2ed65c[_0x1bedcb(0x105)](_0x53573a[_0x1bedcb(0xe4)])),_0x142842(0x4,_0x2ed65c[_0x1bedcb(0x105)](_0x36535c[_0x1bedcb(0xfb)]))],_0x41ac2a['FCollaboration']);class _0x132580 extends _0x355a7f[_0x1bedcb(0x108)]{['getCollaboration'](){var _0x496e5a=_0x1bedcb;return this[_0x496e5a(0xe8)][_0x496e5a(0xff)](_0x41ac2a[_0x496e5a(0xe2)],{'getUniverSheet':_0x1b14d3=>this[_0x496e5a(0x116)](_0x1b14d3)});}[_0x1bedcb(0x112)](_0x4a034e,_0x189b1f,_0x33a516){var _0x5a1160=_0x1bedcb;return this[_0x5a1160(0xe8)][_0x5a1160(0xea)](_0x36535c[_0x5a1160(0xf8)])[_0x5a1160(0x106)](_0x4a034e,_0x189b1f,_0x33a516);}[_0x1bedcb(0xfe)](_0x5c0efe,_0x18bd2e,_0x54faf3){var _0x37b5a4=_0x1bedcb;return this[_0x37b5a4(0xe8)]['get'](_0x36535c[_0x37b5a4(0xf8)])['loadUnitOfRevision'](_0x5c0efe,_0x18bd2e,_0x54faf3);}}_0x355a7f[_0x1bedcb(0x108)][_0x1bedcb(0x10d)](_0x132580),Object[_0x1bedcb(0x102)](_0x41ac2a,Symbol['toStringTag'],{'value':_0x1bedcb(0x10f)});}));function _0x3635(){var _0x5d7826=['getUniverSheet','FCollaboration','_univerInstanceService','SnapshotService','amd','@univerjs-pro/collaboration-client','UniverProCollaboration','_injector','8269513aMRbnC','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','members$','3570714GgzlOf','UniverCoreFacade','@univerjs-pro/collaboration','loadSheet','_snapshotService','2528781Cehufn','FBase','2567456IKhOoA','_collaborationController','UniverProCollaborationClient','DataLoaderService','rxjs','6708328JrdQVg','CollaborationController','exports','UniverProCollaborationClientFacade','loadServerUnitOfRevision','createInstance','getOwnPropertyDescriptor','subscribe','defineProperty','switchMap','function','Inject','loadUnit','4EEmyJR','FUniver','values','loadSheetAsync','Injector','6744870sszaDZ','extend','UniverCore','Module','waitForRoom$','length','loadServerUnit','@univerjs/core/facade','IUniverInstanceService','499846kxAATa'];_0x3635=function(){return _0x5d7826;};return _0x3635();}
5
+ function _0xcf94(_0x35f672,_0x2a9725){const _0xe6d781=_0xe6d7();return _0xcf94=function(_0xcf943,_0x6da399){_0xcf943=_0xcf943-0x1a6;let _0x59303c=_0xe6d781[_0xcf943];return _0x59303c;},_0xcf94(_0x35f672,_0x2a9725);}(function(_0x26e7d1,_0x2c5d0e){const _0x124fbc=_0xcf94,_0x5b330e=_0x26e7d1();while(!![]){try{const _0x3bbf48=parseInt(_0x124fbc(0x1c7))/0x1+-parseInt(_0x124fbc(0x1e7))/0x2*(-parseInt(_0x124fbc(0x1d9))/0x3)+parseInt(_0x124fbc(0x1ab))/0x4+parseInt(_0x124fbc(0x1d5))/0x5*(parseInt(_0x124fbc(0x1e4))/0x6)+parseInt(_0x124fbc(0x1ca))/0x7+-parseInt(_0x124fbc(0x1a7))/0x8*(-parseInt(_0x124fbc(0x1be))/0x9)+-parseInt(_0x124fbc(0x1b2))/0xa;if(_0x3bbf48===_0x2c5d0e)break;else _0x5b330e['push'](_0x5b330e['shift']());}catch(_0x24b128){_0x5b330e['push'](_0x5b330e['shift']());}}}(_0xe6d7,0xcb5d1),function(_0x51653f,_0x1c2760){const _0x427cfa=_0xcf94;typeof exports==_0x427cfa(0x1c2)&&typeof module<'u'?_0x1c2760(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x427cfa(0x1b8)&&define['amd']?define([_0x427cfa(0x1c9),_0x427cfa(0x1bc),_0x427cfa(0x1b9),'@univerjs-pro/collaboration',_0x427cfa(0x1d2),_0x427cfa(0x1c0)],_0x1c2760):(_0x51653f=typeof globalThis<'u'?globalThis:_0x51653f||self,_0x1c2760(_0x51653f[_0x427cfa(0x1b1)]={},_0x51653f[_0x427cfa(0x1af)],_0x51653f[_0x427cfa(0x1c8)],_0x51653f[_0x427cfa(0x1cd)],_0x51653f['UniverCore'],_0x51653f['rxjs']));}(this,function(_0xec28d,_0x1bde76,_0xa4a1d7,_0x468100,_0x57f053,_0x4022ea){'use strict';const _0x229c94=_0xcf94;class _0x411c21 extends _0xa4a1d7[_0x229c94(0x1ce)]{get['CollaborationStatus'](){return _0x1bde76['CollaborationStatus'];}}_0xa4a1d7[_0x229c94(0x1ce)][_0x229c94(0x1d6)](_0x411c21);var _0x216c51=Object[_0x229c94(0x1aa)],_0x31b8ab=(_0x457774,_0x5a0797,_0x2f463a,_0x51f1f0)=>{const _0x4e1471=_0x229c94;for(var _0x5d9086=_0x51f1f0>0x1?void 0x0:_0x51f1f0?_0x216c51(_0x5a0797,_0x2f463a):_0x5a0797,_0x2e933a=_0x457774[_0x4e1471(0x1c4)]-0x1,_0x29d88c;_0x2e933a>=0x0;_0x2e933a--)(_0x29d88c=_0x457774[_0x2e933a])&&(_0x5d9086=_0x29d88c(_0x5d9086)||_0x5d9086);return _0x5d9086;},_0x570e92=(_0x5eeb16,_0x5721c5)=>(_0x174e32,_0x2d9764)=>_0x5721c5(_0x174e32,_0x2d9764,_0x5eeb16);_0xec28d[_0x229c94(0x1d7)]=class extends _0xa4a1d7[_0x229c94(0x1c3)]{constructor(_0x450902,_0xf76435,_0x48a5dd,_0x2d05a7,_0x1d225c){const _0x401c45=_0x229c94;super(),this[_0x401c45(0x1e2)]=_0x450902,this['_injector']=_0xf76435,this['_univerInstanceService']=_0x48a5dd,this[_0x401c45(0x1e5)]=_0x2d05a7,this[_0x401c45(0x1da)]=_0x1d225c;}async[_0x229c94(0x1d3)](){const _0x25baa1=_0x229c94;return this[_0x25baa1(0x1cc)]();}async[_0x229c94(0x1cc)](){const _0x473f89=_0x229c94;throw new Error(_0x473f89(0x1d0));}async[_0x229c94(0x1b5)](_0x17d1ad){const _0x3d843e=_0x229c94;return this[_0x3d843e(0x1b3)](_0x17d1ad);}async['loadSheetAsync'](_0x26556a,_0xd808f){const _0x2dea81=_0x229c94;return await this[_0x2dea81(0x1e5)][_0x2dea81(0x1b5)](_0x26556a,0x0,_0xd808f)?(await this['_collaborationController']['readyForCollab'](_0x26556a),this['_handler'][_0x2dea81(0x1c6)](_0x26556a)):null;}[_0x229c94(0x1b6)](_0x5c47dc,_0x1df1f6){const _0x4cc89e=_0x229c94,_0x150533=this['_injector']['get'](_0x1bde76[_0x4cc89e(0x1a8)])['waitForRoom$'](_0x5c47dc)[_0x4cc89e(0x1a9)](_0x4022ea[_0x4cc89e(0x1ba)](_0x31520f=>_0x31520f[_0x4cc89e(0x1e6)]))[_0x4cc89e(0x1cb)](_0x20983a=>_0x1df1f6(Array[_0x4cc89e(0x1ad)](_0x20983a['values']())));return _0x57f053[_0x4cc89e(0x1cf)](_0x150533);}['getCollaborationStatus'](){const _0x3b1710=_0x229c94,_0x5ddfc2=this[_0x3b1710(0x1dc)][_0x3b1710(0x1db)]();if(!_0x5ddfc2)return _0x1bde76[_0x3b1710(0x1b7)][_0x3b1710(0x1df)];const _0x4a4b2a=this[_0x3b1710(0x1da)][_0x3b1710(0x1a6)](_0x5ddfc2[_0x3b1710(0x1ac)]());return _0x4a4b2a?_0x4a4b2a[_0x3b1710(0x1d8)][_0x3b1710(0x1e0)]:_0x1bde76['CollaborationStatus'][_0x3b1710(0x1df)];}},_0xec28d[_0x229c94(0x1d7)]=_0x31b8ab([_0x570e92(0x1,_0x57f053[_0x229c94(0x1b0)](_0x57f053[_0x229c94(0x1d1)])),_0x570e92(0x2,_0x57f053[_0x229c94(0x1e1)]),_0x570e92(0x3,_0x57f053['Inject'](_0x468100['SnapshotService'])),_0x570e92(0x4,_0x57f053[_0x229c94(0x1b0)](_0x1bde76[_0x229c94(0x1b4)]))],_0xec28d['FCollaboration']);class _0x336663 extends _0xa4a1d7[_0x229c94(0x1c5)]{[_0x229c94(0x1de)](){const _0x12ed7e=_0x229c94;return this[_0x12ed7e(0x1c1)][_0x12ed7e(0x1dd)](_0xec28d[_0x12ed7e(0x1d7)],{'getUniverSheet':_0x5c33da=>this[_0x12ed7e(0x1c6)](_0x5c33da)});}[_0x229c94(0x1bd)](_0x753082,_0x56121c,_0x24b299){const _0x2e31fb=_0x229c94;return this[_0x2e31fb(0x1c1)][_0x2e31fb(0x1bf)](_0x1bde76[_0x2e31fb(0x1e3)])['loadUnit'](_0x753082,_0x56121c,_0x24b299);}[_0x229c94(0x1bb)](_0x20bc96,_0x47ebbb,_0x236d91){const _0x1d0aa3=_0x229c94;return this[_0x1d0aa3(0x1c1)][_0x1d0aa3(0x1bf)](_0x1bde76['DataLoaderService'])[_0x1d0aa3(0x1d4)](_0x20bc96,_0x47ebbb,_0x236d91);}}_0xa4a1d7[_0x229c94(0x1c5)][_0x229c94(0x1d6)](_0x336663),Object[_0x229c94(0x1ae)](_0xec28d,Symbol['toStringTag'],{'value':'Module'});}));function _0xe6d7(){const _0x102098=['pipe','getOwnPropertyDescriptor','3852996yJTCqT','getUnitId','from','defineProperty','UniverProCollaborationClient','Inject','UniverProCollaborationClientFacade','49191000zHzpMQ','loadSheetAsync','CollaborationController','loadSheet','subscribeCollaborators','CollaborationStatus','function','@univerjs/core/facade','switchMap','loadServerUnitOfRevision','@univerjs-pro/collaboration-client','loadServerUnit','18QfzlsA','get','rxjs','_injector','object','FBase','length','FUniver','getUniverSheet','766333gtvuFG','UniverCoreFacade','exports','6086542mKpovb','subscribe','loadActiveSheetAsync','UniverProCollaboration','FEnum','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Injector','@univerjs/core','loadActiveSheet','loadUnitOfRevision','138070cfPDMA','extend','FCollaboration','state','4403859scXjvK','_collaborationController','getFocusedUnit','_univerInstanceService','createInstance','getCollaboration','NOT_COLLAB','status','IUniverInstanceService','_handler','DataLoaderService','330WniDhm','_snapshotService','members$','2pLSskr','getCollabEntity','665064Ihahyn','MemberService'];_0xe6d7=function(){return _0x102098;};return _0xe6d7();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- (function(_0x39a91c,_0x3c1999){const _0x45bbc2=_0x1a8e,_0x592ba6=_0x39a91c();while(!![]){try{const _0x39fa18=parseInt(_0x45bbc2(0x1e2))/0x1+-parseInt(_0x45bbc2(0x425))/0x2+-parseInt(_0x45bbc2(0x253))/0x3*(parseInt(_0x45bbc2(0x3b0))/0x4)+parseInt(_0x45bbc2(0x204))/0x5*(-parseInt(_0x45bbc2(0x205))/0x6)+parseInt(_0x45bbc2(0x270))/0x7+parseInt(_0x45bbc2(0x3ef))/0x8+-parseInt(_0x45bbc2(0x28a))/0x9;if(_0x39fa18===_0x3c1999)break;else _0x592ba6['push'](_0x592ba6['shift']());}catch(_0x2ae363){_0x592ba6['push'](_0x592ba6['shift']());}}}(_0x14a7,0xd7a44),function(_0x41738b,_0x71ca4c){const _0x39a7ef=_0x1a8e;typeof exports=='object'&&typeof module<'u'?_0x71ca4c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x39a7ef(0x1d2)]?define([_0x39a7ef(0x444),_0x39a7ef(0x1ff),_0x39a7ef(0x401),_0x39a7ef(0x28f),'@univerjs/ui',_0x39a7ef(0x31a),_0x39a7ef(0x1e0),_0x39a7ef(0x493),'@univerjs/rpc',_0x39a7ef(0x360),_0x39a7ef(0x36a),_0x39a7ef(0x2e5),_0x39a7ef(0x34d),_0x39a7ef(0x2b5),_0x39a7ef(0x288),'@univerjs/docs',_0x39a7ef(0x323),_0x39a7ef(0x468),_0x39a7ef(0x21e)],_0x71ca4c):(_0x41738b=typeof globalThis<'u'?globalThis:_0x41738b||self,_0x71ca4c(_0x41738b[_0x39a7ef(0x1f7)]={},_0x41738b[_0x39a7ef(0x382)],_0x41738b[_0x39a7ef(0x3c8)],_0x41738b['UniverCore'],_0x41738b[_0x39a7ef(0x22f)],_0x41738b[_0x39a7ef(0x31a)],_0x41738b[_0x39a7ef(0x3b9)],_0x41738b['React'],_0x41738b[_0x39a7ef(0x1e8)],_0x41738b[_0x39a7ef(0x224)],_0x41738b[_0x39a7ef(0x464)],_0x41738b['UniverNetwork'],_0x41738b[_0x39a7ef(0x3ad)],_0x41738b[_0x39a7ef(0x32c)],_0x41738b[_0x39a7ef(0x223)],_0x41738b[_0x39a7ef(0x21a)],_0x41738b[_0x39a7ef(0x1ea)],_0x41738b[_0x39a7ef(0x31a)]['operators'],_0x41738b[_0x39a7ef(0x20b)]));}(this,function(_0x46875a,_0x246a04,_0x46104e,_0x161ac6,_0x4291c6,_0x66cc31,_0x37af48,_0x166ef5,_0xbc9216,_0xc6f6be,_0x1fade8,_0x4db2d9,_0x5d4e8b,_0x275a1a,_0x48fdef,_0x4db13e,_0x50020c,_0x136df2,_0x5b4c60){'use strict';const _0x4624f5=_0x1a8e;var _0x489fc9=Object[_0x4624f5(0x340)],_0x1b6f59=(_0x2f034f,_0x5c44a7,_0x4e409e)=>_0x5c44a7 in _0x2f034f?_0x489fc9(_0x2f034f,_0x5c44a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e409e}):_0x2f034f[_0x5c44a7]=_0x4e409e,_0x47bfcc=(_0x3a75be,_0x3aaffa,_0x2e5fd1)=>_0x1b6f59(_0x3a75be,typeof _0x3aaffa!='symbol'?_0x3aaffa+'':_0x3aaffa,_0x2e5fd1);function _0x3874fc({ref:_0x8d73ff,..._0x2edd9d}){const _0x6a3ff8=_0x4624f5,{icon:_0x1103ff,id:_0x2347d1,className:_0x47f2ad,extend:_0x5749d4,..._0x566b9e}=_0x2edd9d,_0x2ab888=(_0x6a3ff8(0x486)+_0x2347d1+'\x20'+(_0x47f2ad||''))[_0x6a3ff8(0x358)](),_0x406f6=_0x166ef5[_0x6a3ff8(0x2a7)]('_'+_0x2bd72d());return _0xd862a4(_0x1103ff,''+_0x2347d1,{'defIds':_0x1103ff[_0x6a3ff8(0x40a)],'idSuffix':_0x406f6[_0x6a3ff8(0x472)]},{'ref':_0x8d73ff,'className':_0x2ab888,..._0x566b9e},_0x5749d4);}function _0xd862a4(_0x1afe7a,_0x33591f,_0x3ee733,_0x15eafa,_0x257323){const _0xed069b=_0x4624f5;return _0x166ef5[_0xed069b(0x3cc)](_0x1afe7a['tag'],{'key':_0x33591f,..._0x504ee4(_0x1afe7a,_0x3ee733,_0x257323),..._0x15eafa},(_0x301629(_0x1afe7a,_0x3ee733)['children']||[])[_0xed069b(0x44e)]((_0x71a161,_0x2e2b7b)=>_0xd862a4(_0x71a161,_0x33591f+'-'+_0x1afe7a['tag']+'-'+_0x2e2b7b,_0x3ee733,void 0x0,_0x257323)));}function _0x504ee4(_0x3870cb,_0x138cac,_0x1005ff){const _0x48ddcd=_0x4624f5,_0xf1b5cd={..._0x3870cb[_0x48ddcd(0x495)]};_0x1005ff!=null&&_0x1005ff[_0x48ddcd(0x39f)]&&_0xf1b5cd[_0x48ddcd(0x201)]===_0x48ddcd(0x39f)&&(_0xf1b5cd[_0x48ddcd(0x201)]=_0x1005ff[_0x48ddcd(0x39f)]),_0x3870cb[_0x48ddcd(0x32f)]===_0x48ddcd(0x231)&&_0xf1b5cd['id']&&(_0xf1b5cd['id']=_0xf1b5cd['id']+_0x138cac['idSuffix']),Object[_0x48ddcd(0x2a6)](_0xf1b5cd)[_0x48ddcd(0x265)](([_0x337cb1,_0x31e44b])=>{const _0x1b6909=_0x48ddcd;_0x337cb1==='mask'&&typeof _0x31e44b==_0x1b6909(0x306)&&(_0xf1b5cd[_0x337cb1]=_0x31e44b['replace'](/url\(#(.*)\)/,_0x1b6909(0x28e)+_0x138cac[_0x1b6909(0x35e)]+')'));});const {defIds:_0x41edb4}=_0x138cac;return!_0x41edb4||_0x41edb4['length']===0x0||(_0x3870cb[_0x48ddcd(0x32f)]===_0x48ddcd(0x275)&&_0xf1b5cd[_0x48ddcd(0x284)]&&(_0xf1b5cd[_0x48ddcd(0x284)]=_0xf1b5cd[_0x48ddcd(0x284)]+_0x138cac[_0x48ddcd(0x35e)]),Object[_0x48ddcd(0x2a6)](_0xf1b5cd)[_0x48ddcd(0x265)](([_0x3ecec7,_0x4c1d74])=>{const _0x456352=_0x48ddcd;typeof _0x4c1d74==_0x456352(0x306)&&(_0xf1b5cd[_0x3ecec7]=_0x4c1d74[_0x456352(0x3bc)](/url\(#(.*)\)/,_0x456352(0x28e)+_0x138cac[_0x456352(0x35e)]+')'));})),_0xf1b5cd;}function _0x301629(_0x5df16e,_0x4b3cb7){const _0x865fcd=_0x4624f5;var _0x1ee7ea;const {defIds:_0x3673ef}=_0x4b3cb7;return!_0x3673ef||_0x3673ef[_0x865fcd(0x1e5)]===0x0?_0x5df16e:_0x5df16e[_0x865fcd(0x32f)]==='defs'&&((_0x1ee7ea=_0x5df16e[_0x865fcd(0x34c)])!=null&&_0x1ee7ea[_0x865fcd(0x1e5)])?{..._0x5df16e,'children':_0x5df16e[_0x865fcd(0x34c)][_0x865fcd(0x44e)](_0x22acce=>typeof _0x22acce[_0x865fcd(0x495)]['id']==_0x865fcd(0x306)&&_0x3673ef&&_0x3673ef[_0x865fcd(0x354)](_0x22acce[_0x865fcd(0x495)]['id'])?{..._0x22acce,'attrs':{..._0x22acce[_0x865fcd(0x495)],'id':_0x22acce[_0x865fcd(0x495)]['id']+_0x4b3cb7['idSuffix']}}:_0x22acce)}:_0x5df16e;}function _0x2bd72d(){const _0x3e5712=_0x4624f5;return Math['random']()[_0x3e5712(0x266)](0x24)[_0x3e5712(0x27b)](0x2,0x8);}_0x3874fc[_0x4624f5(0x49e)]=_0x4624f5(0x3af);const _0x5a0d1b={'tag':_0x4624f5(0x396),'attrs':{'xmlns':_0x4624f5(0x208),'fill':_0x4624f5(0x3ba),'viewBox':_0x4624f5(0x350),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4624f5(0x2cb)},'children':[{'tag':_0x4624f5(0x461),'attrs':{'stroke':'currentColor','d':_0x4624f5(0x1dc),'strokeLinecap':'round','strokeLinejoin':_0x4624f5(0x31e),'strokeWidth':1.2}}]},{'tag':_0x4624f5(0x2ff),'attrs':{},'children':[{'tag':_0x4624f5(0x246),'attrs':{'id':_0x4624f5(0x453)},'children':[{'tag':_0x4624f5(0x461),'attrs':{'fill':_0x4624f5(0x471),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4624f5(0x453)]},_0x879869=_0x166ef5[_0x4624f5(0x28d)](function(_0x52cbcc,_0xcd2715){const _0x302fa6=_0x4624f5;return _0x166ef5[_0x302fa6(0x3cc)](_0x3874fc,Object[_0x302fa6(0x2b7)]({},_0x52cbcc,{'id':_0x302fa6(0x45e),'ref':_0xcd2715,'icon':_0x5a0d1b}));});_0x879869[_0x4624f5(0x49e)]=_0x4624f5(0x43e);const _0x3ee199={'tag':'svg','attrs':{'xmlns':_0x4624f5(0x208),'fill':_0x4624f5(0x3ba),'viewBox':'0\x200\x2017\x2016','width':_0x4624f5(0x437),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4624f5(0x461),'attrs':{'stroke':_0x4624f5(0x2a8),'d':_0x4624f5(0x206),'strokeLinecap':_0x4624f5(0x31e),'strokeLinejoin':_0x4624f5(0x31e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4624f5(0x246),'attrs':{'id':_0x4624f5(0x2a1)},'children':[{'tag':'path','attrs':{'fill':_0x4624f5(0x471),'d':_0x4624f5(0x3a3),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4624f5(0x2a1)]},_0xc8a5ab=_0x166ef5['forwardRef'](function(_0x5aaba8,_0x3c3199){const _0x1603b0=_0x4624f5;return _0x166ef5[_0x1603b0(0x3cc)](_0x3874fc,Object[_0x1603b0(0x2b7)]({},_0x5aaba8,{'id':'on-line-icon','ref':_0x3c3199,'icon':_0x3ee199}));});_0xc8a5ab[_0x4624f5(0x49e)]=_0x4624f5(0x349);function _0xe2a3cc(_0xffd0af){const _0x46744e=_0x4624f5;switch(_0xffd0af){case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x442)]:return _0x46744e(0x49f);case _0x46104e[_0x46744e(0x2e6)]['CONFLICT']:return _0x46744e(0x1f6);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3a7)]:return _0x46744e(0x258);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x484)]:return _0x46744e(0x47f);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3dd)]:case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x2d7)]:return _0x46744e(0x2d5);case _0x46104e['CollaborationStatus'][_0x46744e(0x219)]:case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3f6)]:return _0x46744e(0x316);}}function _0x58006a(_0x5b11b1){const _0x549c66=_0x4624f5,{status$:_0x33bccf}=_0x5b11b1,_0x329ec4=_0x4291c6['useObservable'](_0x33bccf,_0x46104e[_0x549c66(0x2e6)][_0x549c66(0x484)]),_0xe9d830=_0x4291c6[_0x549c66(0x3fd)](_0x161ac6[_0x549c66(0x25a)]),_0x319616=_0x4291c6[_0x549c66(0x3fd)](_0x46104e[_0x549c66(0x26a)]),_0x14f059=_0x329ec4!==_0x46104e['CollaborationStatus'][_0x549c66(0x442)],_0x3b1b11=_0xe9d830['t'](_0xe2a3cc(_0x329ec4)),_0x437d34=_0x14f059?_0x246a04[_0x549c66(0x2cf)](_0xc8a5ab,{}):_0x246a04[_0x549c66(0x2cf)](_0x879869,{}),_0x1a0225=_0x166ef5[_0x549c66(0x352)](()=>{const _0x368dea=_0x549c66;_0x14f059||_0x319616[_0x368dea(0x474)]();},[_0x14f059,_0x319616]);function _0x32cb69(){const _0x1d9b62=_0x549c66;return _0x246a04['jsxs'](_0x1d9b62(0x414),{'className':'univer-flex\x20univer-items-center','onClick':_0x1a0225,'children':[_0x246a04['jsx'](_0x1d9b62(0x414),{'className':_0x37af48['clsx'](_0x1d9b62(0x3ac),{'univer-text-green-500':_0x14f059,'univer-text-red-500':!_0x14f059}),'children':_0x437d34}),_0x246a04['jsx'](_0x1d9b62(0x414),{'className':_0x1d9b62(0x400),'children':_0x3b1b11})]});}return _0x14f059?_0x32cb69():_0x246a04[_0x549c66(0x2cf)](_0x37af48[_0x549c66(0x318)],{'title':_0xe9d830['t'](_0x549c66(0x47d)),'children':_0x32cb69()});}var _0x13d5fd=Object['getOwnPropertyDescriptor'],_0x1d9a4a=(_0x243bdd,_0xc1e9d5,_0x4a996e,_0xc727a5)=>{const _0x35f124=_0x4624f5;for(var _0x21886c=_0xc727a5>0x1?void 0x0:_0xc727a5?_0x13d5fd(_0xc1e9d5,_0x4a996e):_0xc1e9d5,_0x36ee63=_0x243bdd[_0x35f124(0x1e5)]-0x1,_0x5e4002;_0x36ee63>=0x0;_0x36ee63--)(_0x5e4002=_0x243bdd[_0x36ee63])&&(_0x21886c=_0x5e4002(_0x21886c)||_0x21886c);return _0x21886c;},_0x2fc7d5=(_0x55ca09,_0x1509fe)=>(_0x10faf0,_0x214fb9)=>_0x1509fe(_0x10faf0,_0x214fb9,_0x55ca09);_0x46875a[_0x4624f5(0x492)]=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x382067,_0x47a158,_0x282d21,_0xa37ee1){const _0x2b296b=_0x4624f5;super(),_0x47bfcc(this,_0x2b296b(0x3e7),new _0x66cc31['BehaviorSubject'](_0x46104e['CollaborationStatus'][_0x2b296b(0x484)])),(this['_univerInstanceService']=_0x382067,this[_0x2b296b(0x298)]=_0x47a158,this[_0x2b296b(0x2c0)]=_0x282d21,this[_0x2b296b(0x2ab)]=_0xa37ee1,this[_0x2b296b(0x384)](),this[_0x2b296b(0x33d)]());}['_initStatusListener'](){const _0x4ad62b=_0x4624f5;this[_0x4ad62b(0x30f)](this[_0x4ad62b(0x485)]['focused$'][_0x4ad62b(0x1ef)](_0x66cc31[_0x4ad62b(0x46f)](()=>{const _0x588c97=_0x4ad62b,_0x3938fa=this[_0x588c97(0x485)][_0x588c97(0x45a)]();return _0x3938fa?this['_collaborationController'][_0x588c97(0x46c)](_0x3938fa[_0x588c97(0x30b)]()):_0x66cc31['of'](null);}),_0x66cc31[_0x4ad62b(0x46f)](_0x22da9e=>_0x22da9e?_0x22da9e[_0x4ad62b(0x2dd)]:_0x66cc31['of'](_0x46104e[_0x4ad62b(0x2e6)][_0x4ad62b(0x484)])))[_0x4ad62b(0x26b)](_0x1e5375=>{const _0x2f6df3=_0x4ad62b;this[_0x2f6df3(0x3e7)][_0x2f6df3(0x3c9)](_0x1e5375);}));}[_0x4624f5(0x384)](){const _0x532a40=_0x4624f5;this[_0x532a40(0x30f)](this[_0x532a40(0x2ab)][_0x532a40(0x3eb)](_0x4291c6[_0x532a40(0x411)]['HEADER_MENU'],()=>_0x4291c6[_0x532a40(0x370)](_0x423244({'status$':this[_0x532a40(0x3e7)][_0x532a40(0x215)]()}),this[_0x532a40(0x298)])));}},_0x46875a[_0x4624f5(0x492)]=_0x1d9a4a([_0x2fc7d5(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x2fc7d5(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x2fc7d5(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x23f)])),_0x2fc7d5(0x3,_0x4291c6[_0x4624f5(0x228)])],_0x46875a[_0x4624f5(0x492)]);function _0x423244(_0x4dc632){const {status$:_0x451a79}=_0x4dc632;return function(){return _0x246a04['jsx'](_0x58006a,{'status$':_0x451a79});};}const _0x5a3a5f=_0x161ac6[_0x4624f5(0x282)]('uni.network.url-service');var _0x4f5c71=Object['getOwnPropertyDescriptor'],_0x318a87=(_0x53c002,_0x4063b5,_0x528898,_0x249335)=>{const _0x1e2fae=_0x4624f5;for(var _0x1ae9dd=_0x249335>0x1?void 0x0:_0x249335?_0x4f5c71(_0x4063b5,_0x528898):_0x4063b5,_0x1c09c7=_0x53c002[_0x1e2fae(0x1e5)]-0x1,_0x1bf666;_0x1c09c7>=0x0;_0x1c09c7--)(_0x1bf666=_0x53c002[_0x1c09c7])&&(_0x1ae9dd=_0x1bf666(_0x1ae9dd)||_0x1ae9dd);return _0x1ae9dd;},_0x158e8b=(_0x229ae8,_0x5d6300)=>(_0x3a4259,_0x2e48a9)=>_0x5d6300(_0x3a4259,_0x2e48a9,_0x229ae8);_0x46875a[_0x4624f5(0x25f)]=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x3c2c95,_0x57c844,_0x3012bc,_0x2d2d4b,_0x291d1e){const _0x42fd77=_0x4624f5;super(),this[_0x42fd77(0x27e)]=_0x3c2c95,this[_0x42fd77(0x3a2)]=_0x57c844,this[_0x42fd77(0x43a)]=_0x3012bc,this[_0x42fd77(0x1e1)]=_0x2d2d4b,_0x291d1e?_0x291d1e==null||_0x291d1e[_0x42fd77(0x38f)]()[_0x42fd77(0x2e0)](()=>this[_0x42fd77(0x48d)]()):(this[_0x42fd77(0x3a2)]['debug'](_0x42fd77(0x48a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x42fd77(0x48d)]());}async[_0x4624f5(0x48d)](){const _0x1263eb=_0x4624f5,_0x28c684=this[_0x1263eb(0x27e)]['getParam'](_0x1263eb(0x285)),_0x3ccaf9=this[_0x1263eb(0x27e)]['getParam'](_0x1263eb(0x35b)),_0x4adb75=this['_urlService'][_0x1263eb(0x3cd)](_0x1263eb(0x1cc));if(!_0x28c684||!_0x3ccaf9){this[_0x1263eb(0x3a2)]['debug']('[CollaborationDataLoaderController]',_0x1263eb(0x489));return;}const _0x268129=await this[_0x1263eb(0x1e1)][_0x1263eb(0x2ef)](_0x28c684,Number(_0x3ccaf9),_0x4adb75);_0x268129&&_0x268129 instanceof _0x161ac6[_0x1263eb(0x477)]&&this[_0x1263eb(0x296)](_0x268129);}async[_0x4624f5(0x296)](_0x218552){const _0x66c61f=_0x4624f5;await this[_0x66c61f(0x404)](_0x218552),_0x218552[_0x66c61f(0x1f4)]['pipe'](_0x66cc31[_0x66c61f(0x45d)](this['dispose$']))[_0x66c61f(0x26b)](_0x22f203=>{const _0x441d76=_0x66c61f;_0x22f203&&this[_0x441d76(0x2c6)](_0x22f203);}),this['_urlService'][_0x66c61f(0x23e)][_0x66c61f(0x1ef)](_0x66cc31[_0x66c61f(0x45d)](this['dispose$']))[_0x66c61f(0x26b)](()=>this['_updateSubUnitFromURLParams'](_0x218552));}['_updateURLWithCurrentState'](_0x22d09a,_0x5ec5e4=!0x1){const _0x796eb2=_0x4624f5,_0x1f1fe8=this[_0x796eb2(0x27e)][_0x796eb2(0x3cd)]('subunit');_0x22d09a[_0x796eb2(0x447)]()!==_0x1f1fe8&&this[_0x796eb2(0x27e)][_0x796eb2(0x2c9)](_0x796eb2(0x1cc),_0x22d09a[_0x796eb2(0x447)](),_0x5ec5e4);}async[_0x4624f5(0x404)](_0xdffe92){const _0x378517=_0x4624f5;var _0x31c659;const _0x37a4c9=this[_0x378517(0x27e)][_0x378517(0x3cd)](_0x378517(0x1cc));if(!_0x37a4c9||!_0xdffe92[_0x378517(0x481)](_0x37a4c9)){const _0x1644ee=_0xdffe92['getUnhiddenWorksheets']()[0x0],_0x4a08c1=_0xdffe92[_0x378517(0x481)](_0x1644ee);if(!_0x4a08c1)return;this['_updateURLWithCurrentState'](_0x4a08c1,!0x0),await this[_0x378517(0x43a)][_0x378517(0x225)](_0xc6f6be['SetWorksheetActivateCommand']['id'],{'unitId':_0xdffe92['getUnitId'](),'subUnitId':_0x1644ee});return;}((_0x31c659=_0xdffe92['getActiveSheet']())==null?void 0x0:_0x31c659[_0x378517(0x447)]())!==_0x37a4c9&&await this['_commandService'][_0x378517(0x225)](_0xc6f6be[_0x378517(0x244)]['id'],{'unitId':_0xdffe92[_0x378517(0x30b)](),'subUnitId':_0x37a4c9});}},_0x46875a[_0x4624f5(0x25f)]=_0x318a87([_0x158e8b(0x0,_0x5a3a5f),_0x158e8b(0x1,_0x161ac6[_0x4624f5(0x210)]),_0x158e8b(0x2,_0x161ac6[_0x4624f5(0x41a)]),_0x158e8b(0x3,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x1fa)])),_0x158e8b(0x4,_0x161ac6[_0x4624f5(0x41f)](_0xbc9216[_0x4624f5(0x3a9)]))],_0x46875a[_0x4624f5(0x25f)]);var _0x582e4f=Object[_0x4624f5(0x272)],_0x4e6c57=(_0x40201a,_0x58ab84,_0x4acd1b,_0x8b88a5)=>{const _0x5a8eb5=_0x4624f5;for(var _0x5e28af=_0x8b88a5>0x1?void 0x0:_0x8b88a5?_0x582e4f(_0x58ab84,_0x4acd1b):_0x58ab84,_0x3a69cc=_0x40201a[_0x5a8eb5(0x1e5)]-0x1,_0x467cb9;_0x3a69cc>=0x0;_0x3a69cc--)(_0x467cb9=_0x40201a[_0x3a69cc])&&(_0x5e28af=_0x467cb9(_0x5e28af)||_0x5e28af);return _0x5e28af;},_0x47b507=(_0x26b1e4,_0x1a2ce8)=>(_0x25af79,_0xc18dbc)=>_0x1a2ce8(_0x25af79,_0xc18dbc,_0x26b1e4);let _0x665a7a=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x536590,_0x15159f){const _0x59c500=_0x4624f5;super(),this[_0x59c500(0x1fe)]=_0x536590,this['_imageIoService']=_0x15159f,this[_0x59c500(0x48d)]();}[_0x4624f5(0x48d)](){const _0x1ba81c=_0x4624f5,_0x4d231d=this;this[_0x1ba81c(0x30f)](this['_docClipboardService'][_0x1ba81c(0x378)]({'onBeforePasteImage':async _0x21584e=>{const _0x3ad2c4=_0x1ba81c,_0x4e9323=await _0x4d231d[_0x3ad2c4(0x424)][_0x3ad2c4(0x29f)](_0x21584e);return _0x4e9323?{'source':_0x4e9323[_0x3ad2c4(0x309)],'imageSourceType':_0x4e9323[_0x3ad2c4(0x356)]}:null;}}));}};_0x665a7a=_0x4e6c57([_0x47b507(0x0,_0x5d4e8b[_0x4624f5(0x26f)]),_0x47b507(0x1,_0x275a1a[_0x4624f5(0x1d5)])],_0x665a7a);const _0x167276=[_0x4624f5(0x1f8),_0x4624f5(0x238),_0x4624f5(0x3a0),_0x4624f5(0x2cc),'blue.400','yellow.400'];class _0x1846fc extends _0x161ac6[_0x4624f5(0x482)]{constructor(){const _0xa1d2e1=_0x4624f5;super(...arguments),_0x47bfcc(this,_0xa1d2e1(0x27a),new Map()),_0x47bfcc(this,_0xa1d2e1(0x260),0x0);}['assignAColorForMemberID'](_0x2c819c){const _0x5e9a02=_0x4624f5;if(this[_0x5e9a02(0x27a)]['has'](_0x2c819c))return this['_assignedColors'][_0x5e9a02(0x333)](_0x2c819c);const _0x38e613=_0x167276[this[_0x5e9a02(0x260)]];return this[_0x5e9a02(0x260)]=(this[_0x5e9a02(0x260)]+0x1)%_0x167276[_0x5e9a02(0x1e5)],this[_0x5e9a02(0x27a)][_0x5e9a02(0x3d5)](_0x2c819c,_0x38e613),_0x38e613;}}function _0xa63dd7(_0x54eb37){const _0x3d6c59=_0x4624f5;let _0x15b4cb='';for(const _0x10cc92 of _0x54eb37){const {startOffset:_0x2da0a1,endOffset:_0x331b9a,isActive:_0x2014af,rangeType:_0x5809ba,segmentId:_0x130c72,segmentPage:_0xb890be}=_0x10cc92;_0x15b4cb[_0x3d6c59(0x1e5)]&&(_0x15b4cb+=','),_0x15b4cb+=_0x2da0a1+':'+_0x331b9a+':'+(_0x2014af?'1':'0')+':'+_0x5809ba+':'+_0x130c72+':'+_0xb890be;}return _0x15b4cb;}function _0x7e2e27(_0x23bae7){const _0x5ce0f0=_0x4624f5,_0x23ec43=_0x23bae7[_0x5ce0f0(0x44a)](','),_0x588347=[];for(const _0x313416 of _0x23ec43){const [_0x599993,_0x176852,_0x1d9c78,_0x4cf3b1,_0x5bb60d,_0x166929]=_0x313416[_0x5ce0f0(0x44a)](':');_0x588347[_0x5ce0f0(0x426)]({'startOffset':Number(_0x599993),'endOffset':Number(_0x176852),'collapsed':_0x599993===_0x176852,'isActive':_0x1d9c78==='1','rangeType':_0x4cf3b1===_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x2d1)]?_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x2d1)]:_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x475)],'segmentId':typeof _0x5bb60d==_0x5ce0f0(0x306)?String(_0x5bb60d):'','segmentPage':Number(_0x166929!=null?_0x166929:-0x1)});}return _0x588347['some'](_0x1d27ed=>_0x1d27ed[_0x5ce0f0(0x37e)])||(_0x588347[0x0][_0x5ce0f0(0x37e)]=!0x0),_0x588347;}class _0x360498 extends _0x161ac6[_0x4624f5(0x240)]{constructor(){const _0x434d28=_0x4624f5;super(...arguments),_0x47bfcc(this,_0x434d28(0x3b8),new _0x66cc31[(_0x434d28(0x41e))](null)),_0x47bfcc(this,'collabCursorState$',this['_collabCursorState$'][_0x434d28(0x215)]());}[_0x4624f5(0x26c)](_0x1aa26e){const _0x5ad895=_0x4624f5,{unitID:_0x5f19ae,memberID:_0x21d109,textRanges:_0x3c6c3d}=_0x1aa26e,_0x207765=_0xa63dd7(_0x3c6c3d);if(_0x207765==='')return;const _0x48d573={'unitID':_0x5f19ae,'memberID':_0x21d109,'selection':_0x207765};this['_collabCursorState$'][_0x5ad895(0x3c9)](_0x48d573);}}var _0x47ce8f=Object[_0x4624f5(0x272)],_0x55c00a=(_0x25934b,_0x3d3967,_0x152ff7,_0x464338)=>{for(var _0x10933f=_0x464338>0x1?void 0x0:_0x464338?_0x47ce8f(_0x3d3967,_0x152ff7):_0x3d3967,_0x262a38=_0x25934b['length']-0x1,_0x249a21;_0x262a38>=0x0;_0x262a38--)(_0x249a21=_0x25934b[_0x262a38])&&(_0x10933f=_0x249a21(_0x10933f)||_0x10933f);return _0x10933f;},_0x25c269=(_0x5bdaae,_0x2a5e8e)=>(_0x531365,_0x59ba94)=>_0x2a5e8e(_0x531365,_0x59ba94,_0x5bdaae);const _0x28488e=0x12c,_0x406130=0x64;let _0x2262fb=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x6ce01f,_0x14a533,_0x443724,_0x530c72,_0x13bbeb,_0x4ef41e,_0x487800,_0x285957,_0x3da708){const _0xb95fd4=_0x4624f5;super(),_0x47bfcc(this,_0xb95fd4(0x27f),!0x1),_0x47bfcc(this,_0xb95fd4(0x48d),!0x1),_0x47bfcc(this,_0xb95fd4(0x218),new _0x66cc31['BehaviorSubject'](new Map())),_0x47bfcc(this,_0xb95fd4(0x3ed),this[_0xb95fd4(0x218)][_0xb95fd4(0x215)]()),_0x47bfcc(this,_0xb95fd4(0x3a8),new _0x66cc31[(_0xb95fd4(0x41e))]([])),_0x47bfcc(this,'roomMembers$',this[_0xb95fd4(0x3a8)][_0xb95fd4(0x1ef)](_0x66cc31[_0xb95fd4(0x405)](_0x28488e))),_0x47bfcc(this,_0xb95fd4(0x2c5),_0x161ac6[_0xb95fd4(0x3e4)](_0x5742d7=>{const _0x5083b6=_0xb95fd4,_0x5328ac={'eventID':_0x48fdef[_0x5083b6(0x3b2)][_0x5083b6(0x261)],'data':{'unitID':this[_0x5083b6(0x2e9)],'memberID':this[_0x5083b6(0x344)][_0x5083b6(0x3d2)](),'selection':_0xa63dd7(_0x5742d7)}};this[_0x5083b6(0x344)]['send'](_0x5328ac,this[_0x5083b6(0x2e9)]);},_0x406130)),(this['unitID']=_0x6ce01f,this['_session']=_0x14a533,this[_0xb95fd4(0x298)]=_0x443724,this['_colorAssignService']=_0x530c72,this[_0xb95fd4(0x23a)]=_0x13bbeb,this[_0xb95fd4(0x3f5)]=_0x4ef41e,this['_transformService']=_0x487800,this[_0xb95fd4(0x485)]=_0x285957,this[_0xb95fd4(0x43a)]=_0x3da708);}get[_0x4624f5(0x20c)](){const _0x4d5ad3=_0x4624f5;return this[_0x4d5ad3(0x218)][_0x4d5ad3(0x3dc)]();}get[_0x4624f5(0x2fe)](){const _0x3d3584=_0x4624f5;return this[_0x3d3584(0x3a8)][_0x3d3584(0x3dc)]();}['dispose'](){const _0x189164=_0x4624f5;super['dispose'](),this[_0x189164(0x218)]['next'](new Map()),this['_cursorInfo$'][_0x189164(0x487)](),this[_0x189164(0x3a8)][_0x189164(0x3c9)]([]),this[_0x189164(0x3a8)]['complete']();}[_0x4624f5(0x2b2)](){const _0x31dd4e=_0x4624f5;this[_0x31dd4e(0x48d)]||(this['_init']=!0x0,this[_0x31dd4e(0x344)][_0x31dd4e(0x221)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))[_0x31dd4e(0x26b)](_0x7066ae=>{const _0x35694e=_0x31dd4e;_0x7066ae===_0x46104e[_0x35694e(0x290)][_0x35694e(0x428)]?this['_toggleOnline']():this[_0x35694e(0x1dd)]();}),this[_0x31dd4e(0x344)][_0x31dd4e(0x3fa)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))[_0x31dd4e(0x26b)](_0x8f5b3=>{const _0x11b227=_0x31dd4e,_0x152bbe=_0x8f5b3['eventID'];_0x152bbe===_0x48fdef[_0x11b227(0x3b2)][_0x11b227(0x261)]&&this[_0x11b227(0x315)](_0x8f5b3),_0x152bbe===_0x48fdef[_0x11b227(0x3b2)][_0x11b227(0x217)]&&this['_onCursorDelete'](_0x8f5b3);}),this['disposeWithMe'](this[_0x31dd4e(0x43a)][_0x31dd4e(0x391)](_0x185c27=>{const _0x5d4e38=_0x31dd4e,_0x181f30=_0x185c27['params'];_0x181f30!=null&&this['_online']&&_0x185c27['id']===_0x4db13e[_0x5d4e38(0x1d7)]['id']&&_0x181f30[_0x5d4e38(0x470)]===this['unitID']&&_0x181f30[_0x5d4e38(0x281)]===!0x1&&_0x181f30[_0x5d4e38(0x1e9)][_0x5d4e38(0x1e5)]>0x0&&this[_0x5d4e38(0x2c5)](_0x181f30[_0x5d4e38(0x1e9)]);})),this['_syncEditingCollabCursorService'][_0x31dd4e(0x422)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))['subscribe'](_0x2f054a=>{const _0x5b3369=_0x31dd4e;if((_0x2f054a==null?void 0x0:_0x2f054a[_0x5b3369(0x2e9)])!==this['unitID'])return;const _0x465b9f={'eventID':_0x48fdef['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x2f054a};this[_0x5b3369(0x315)](_0x465b9f);}),this['disposeWithMe'](this[_0x31dd4e(0x43a)]['onCommandExecuted'](_0x5eeada=>{const _0x22e80b=_0x31dd4e;if(_0x5eeada['params']==null)return;const _0x395393=_0x5eeada[_0x22e80b(0x276)];if(_0x5eeada['id']!==_0x4db13e['RichTextEditingMutation']['id']||_0x395393[_0x22e80b(0x470)]!==this[_0x22e80b(0x2e9)])return;const _0x39a862={'id':_0x22e80b(0x25b),'params':_0x395393},_0x253af1=this[_0x22e80b(0x20c)];for(const [_0x1c58ed,_0x5a66d8]of _0x253af1){const _0x4ba3c5={'id':_0x22e80b(0x25b),'params':{'unitId':this[_0x22e80b(0x2e9)],'actions':null,'textRanges':_0x5a66d8[_0x22e80b(0x1e9)]}},_0x59a6af=this[_0x22e80b(0x27c)][_0x22e80b(0x3d7)](_0x39a862,_0x4ba3c5,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x59a6af))throw _0x59a6af[_0x22e80b(0x3ff)];_0x253af1[_0x22e80b(0x3d5)](_0x1c58ed,{..._0x5a66d8,'ranges':_0x59a6af[_0x22e80b(0x397)][_0x22e80b(0x276)][_0x22e80b(0x3c5)]});}queueMicrotask(()=>{const _0x4829f9=_0x22e80b;this[_0x4829f9(0x218)][_0x4829f9(0x3c9)](_0x253af1);});})));}[_0x4624f5(0x315)](_0x51f33b){const _0x34210e=_0x4624f5;var _0x4b6137,_0x9105e1;const {memberID:_0x3886f5,selection:_0x5744db}=_0x51f33b['data'],_0x1969ab=_0x7e2e27(_0x5744db),_0xc5a33d=(_0x9105e1=(_0x4b6137=this[_0x34210e(0x23a)]['getMember'](this[_0x34210e(0x2e9)],_0x3886f5))==null?void 0x0:_0x4b6137[_0x34210e(0x433)])!=null?_0x9105e1:_0x34210e(0x463),_0x2b9790={'color':this[_0x34210e(0x274)][_0x34210e(0x2ba)](_0x3886f5),'name':_0xc5a33d,'ranges':_0x1969ab},_0x8a8f85=this['cursorInfo'];_0x8a8f85[_0x34210e(0x3d5)](_0x3886f5,_0x2b9790),this[_0x34210e(0x218)][_0x34210e(0x3c9)](_0x8a8f85);}[_0x4624f5(0x2de)](_0x5cbfb2){const _0x45ca51=_0x4624f5,{memberID:_0x37970f}=_0x5cbfb2['data'],_0xe406b8=this[_0x45ca51(0x20c)];_0xe406b8[_0x45ca51(0x40e)](_0x37970f),this[_0x45ca51(0x218)][_0x45ca51(0x3c9)](_0xe406b8);}[_0x4624f5(0x24d)](){const _0x12c179=_0x4624f5;var _0x4a4fd8;if(this['_online']=!0x0,((_0x4a4fd8=this[_0x12c179(0x485)][_0x12c179(0x45a)]())==null?void 0x0:_0x4a4fd8[_0x12c179(0x30b)]())!==this[_0x12c179(0x2e9)])return;const _0x174f0e=this[_0x12c179(0x298)][_0x12c179(0x333)](_0x4db13e[_0x12c179(0x3c7)])[_0x12c179(0x2ae)]();Array[_0x12c179(0x462)](_0x174f0e)&&_0x174f0e[_0x12c179(0x1e5)]>0x0&&this[_0x12c179(0x2c5)](_0x174f0e);}['_toggleOffline'](){const _0x62379=_0x4624f5;this[_0x62379(0x27f)]=!0x1;}};_0x2262fb=_0x55c00a([_0x25c269(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x25c269(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x1846fc)),_0x25c269(0x4,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x222)])),_0x25c269(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x360498)),_0x25c269(0x6,_0x48fdef['ITransformService']),_0x25c269(0x7,_0x161ac6[_0x4624f5(0x37d)]),_0x25c269(0x8,_0x161ac6[_0x4624f5(0x41a)])],_0x2262fb);var _0x2278be=Object[_0x4624f5(0x272)],_0x11a7d9=(_0x370f85,_0x43d9f3,_0x399957,_0x2db51c)=>{for(var _0x2b32cb=_0x2db51c>0x1?void 0x0:_0x2db51c?_0x2278be(_0x43d9f3,_0x399957):_0x43d9f3,_0x4b13aa=_0x370f85['length']-0x1,_0x190f73;_0x4b13aa>=0x0;_0x4b13aa--)(_0x190f73=_0x370f85[_0x4b13aa])&&(_0x2b32cb=_0x190f73(_0x2b32cb)||_0x2b32cb);return _0x2b32cb;},_0x5ea10f=(_0x5ac5ff,_0x545fda)=>(_0x571717,_0x171529)=>_0x545fda(_0x571717,_0x171529,_0x5ac5ff);const _0x15a2ba=0x12c,_0x2c182a=0x64,_0x1cd72c=()=>{let _0x1e0796=[],_0x385d17=!0x1;return _0x166c55=>{_0x1e0796['push'](_0x166c55),_0x385d17||(_0x385d17=!0x0,setTimeout(()=>{_0x1e0796['forEach'](_0x40d488=>_0x40d488()),_0x1e0796=[],_0x385d17=!0x1;}));};};let _0x285ce1=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x156e92,_0x800dea,_0x52de8c,_0x2a37f0,_0x13e197,_0x95fdaa,_0x41dcde,_0x44f945){const _0x333339=_0x4624f5;super(),_0x47bfcc(this,_0x333339(0x27f),!0x1),_0x47bfcc(this,'_init',!0x1),_0x47bfcc(this,_0x333339(0x218),new _0x66cc31['BehaviorSubject'](new Map())),_0x47bfcc(this,_0x333339(0x3ed),this[_0x333339(0x218)]['asObservable']()),_0x47bfcc(this,'_roomMembers$',new _0x66cc31[(_0x333339(0x41e))]([])),_0x47bfcc(this,_0x333339(0x479),this[_0x333339(0x3a8)]['pipe'](_0x66cc31[_0x333339(0x405)](_0x15a2ba))),_0x47bfcc(this,_0x333339(0x2c5),_0x161ac6[_0x333339(0x3e4)]((_0x1fc79,_0x2b6c61)=>{const _0x459161=_0x333339,_0x1d7f0c={'eventID':_0x48fdef['CollaborationEvent'][_0x459161(0x261)],'data':{'unitID':this[_0x459161(0x2e9)],'memberID':this[_0x459161(0x344)][_0x459161(0x3d2)](),'selection':_0x50020c[_0x459161(0x45c)](_0x1fc79,_0x2b6c61[_0x459161(0x3d1)])}};this[_0x459161(0x344)][_0x459161(0x418)](_0x1d7f0c,this[_0x459161(0x2e9)]);},_0x2c182a)),(this[_0x333339(0x2e9)]=_0x156e92,this[_0x333339(0x344)]=_0x800dea,this[_0x333339(0x298)]=_0x52de8c,this[_0x333339(0x274)]=_0x2a37f0,this[_0x333339(0x23a)]=_0x13e197,this[_0x333339(0x485)]=_0x95fdaa,this[_0x333339(0x43a)]=_0x41dcde,this['_refRangeService']=_0x44f945);}get[_0x4624f5(0x20c)](){const _0x314306=_0x4624f5;return this[_0x314306(0x218)]['getValue']();}get[_0x4624f5(0x2fe)](){const _0x2406a4=_0x4624f5;return this[_0x2406a4(0x3a8)][_0x2406a4(0x3dc)]();}[_0x4624f5(0x214)](){const _0x1be0bb=_0x4624f5;super[_0x1be0bb(0x214)](),this[_0x1be0bb(0x218)][_0x1be0bb(0x3c9)](new Map()),this[_0x1be0bb(0x218)]['complete'](),this[_0x1be0bb(0x3a8)][_0x1be0bb(0x3c9)]([]),this[_0x1be0bb(0x3a8)][_0x1be0bb(0x487)]();}[_0x4624f5(0x2b2)](){const _0x3d8ed2=_0x4624f5;this[_0x3d8ed2(0x48d)]||(this[_0x3d8ed2(0x48d)]=!0x0,this[_0x3d8ed2(0x344)][_0x3d8ed2(0x221)][_0x3d8ed2(0x1ef)](_0x66cc31[_0x3d8ed2(0x45d)](this[_0x3d8ed2(0x289)]))[_0x3d8ed2(0x26b)](_0x33c10c=>{const _0x33e309=_0x3d8ed2;_0x33c10c===_0x46104e[_0x33e309(0x290)][_0x33e309(0x428)]?this[_0x33e309(0x24d)]():this[_0x33e309(0x1dd)]();}),this[_0x3d8ed2(0x344)][_0x3d8ed2(0x3fa)][_0x3d8ed2(0x1ef)](_0x66cc31[_0x3d8ed2(0x45d)](this[_0x3d8ed2(0x289)]))[_0x3d8ed2(0x26b)](_0x550a36=>{const _0x3a6cf0=_0x3d8ed2,_0x4bd5b2=_0x550a36[_0x3a6cf0(0x327)];_0x4bd5b2===_0x48fdef['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3a6cf0(0x315)](_0x550a36),_0x4bd5b2===_0x48fdef[_0x3a6cf0(0x3b2)][_0x3a6cf0(0x217)]&&this[_0x3a6cf0(0x2de)](_0x550a36);}),this[_0x3d8ed2(0x1cd)](),this['disposeWithMe'](this[_0x3d8ed2(0x43a)]['onCommandExecuted'](_0x3c4335=>{const _0x58811f=_0x3d8ed2;if(this['_online']&&_0x3c4335['id']===_0xc6f6be[_0x58811f(0x278)]['id']&&_0x3c4335[_0x58811f(0x276)][_0x58811f(0x470)]===this['unitID']){const _0x2c6244=_0x3c4335[_0x58811f(0x276)];this[_0x58811f(0x2c5)](_0x2c6244[_0x58811f(0x41b)],_0x2c6244[_0x58811f(0x209)][0x0]);}})));}['_onCursorUpdate'](_0x37f342){const _0x2f6360=_0x4624f5;var _0x1dff97,_0x703710;const {memberID:_0x266ef1,selection:_0xbc74a4}=_0x37f342[_0x2f6360(0x345)],{sheetName:_0x549446,range:_0x55b03}=_0x50020c[_0x2f6360(0x269)](_0xbc74a4),_0xae412b={'name':(_0x703710=(_0x1dff97=this[_0x2f6360(0x23a)]['getMember'](this[_0x2f6360(0x2e9)],_0x266ef1))==null?void 0x0:_0x1dff97[_0x2f6360(0x433)])!=null?_0x703710:_0x2f6360(0x463),'range':this[_0x2f6360(0x412)](_0x549446,_0x55b03),'sheetID':_0x549446,'color':this[_0x2f6360(0x274)][_0x2f6360(0x2ba)](_0x266ef1),'selection':_0xbc74a4},_0x10caaf=this[_0x2f6360(0x20c)];_0x10caaf[_0x2f6360(0x3d5)](_0x266ef1,_0xae412b),this['_cursorInfo$'][_0x2f6360(0x3c9)](_0x10caaf);}[_0x4624f5(0x2de)](_0x40b3f8){const _0x42e950=_0x4624f5,{memberID:_0x557ea0}=_0x40b3f8['data'],_0x2c76e1=this[_0x42e950(0x20c)];_0x2c76e1[_0x42e950(0x40e)](_0x557ea0),this['_cursorInfo$']['next'](_0x2c76e1);}[_0x4624f5(0x412)](_0x3768fe,_0x4e5d35){const _0x53a174=_0x4624f5;var _0x452567,_0x2c11a2;const _0x4cf103=(_0x2c11a2=(_0x452567=this[_0x53a174(0x485)]['getUniverSheetInstance'](this[_0x53a174(0x2e9)]))==null?void 0x0:_0x452567[_0x53a174(0x481)](_0x3768fe))==null?void 0x0:_0x2c11a2['getMergeData']();return(_0x4cf103==null?void 0x0:_0x4cf103[_0x53a174(0x1d8)](_0x57bce5=>_0x161ac6['Rectangle']['contains'](_0x57bce5,_0x4e5d35)))||_0x4e5d35;}['_onRefRangeChange'](){const _0x9d8619=_0x4624f5,_0x5670a3=new _0x161ac6[(_0x9d8619(0x46a))](),_0x8f853=_0x1cd72c(),_0x1b6564=()=>{const _0x4496ea=_0x9d8619;_0x5670a3[_0x4496ea(0x214)]();const _0x4845c9=(_0x4e5d48,_0x444cb4,_0x34756d,_0x3361f5)=>{const _0x3f344f=_0x4496ea;let _0x44fae0=[];switch(_0x4e5d48['id']){case _0xc6f6be['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x44fae0=_0xc6f6be[_0x3f344f(0x22b)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x20a)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x430)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)]['InsertColCommandId']:{_0x44fae0=_0xc6f6be[_0x3f344f(0x24e)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x279)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x379)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x29d)]:{_0x44fae0=_0xc6f6be['handleInsertRangeMoveRight'](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be['EffectRefRangId'][_0x3f344f(0x37f)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x420)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x34f)]:{_0x44fae0=_0xc6f6be['handleMoveRange'](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x30c)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x31d)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x26e)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x33a)](_0x4e5d48,_0x3361f5);break;}}const _0x3e40aa=_0xc6f6be[_0x3f344f(0x335)](_0x44fae0,_0x3361f5),_0x1b410a=this['cursorInfo'][_0x3f344f(0x333)](_0x444cb4);if(_0x1b410a&&_0x3e40aa){const _0x25673e={..._0x1b410a,'range':_0x3e40aa};this[_0x3f344f(0x20c)]['set'](_0x444cb4,_0x25673e),_0x8f853(()=>{const _0x511fd4=_0x3f344f,_0x2392dc=this[_0x511fd4(0x216)][_0x511fd4(0x255)](_0x3e40aa,_0x19572d=>(_0x2392dc['dispose'](),_0x4845c9(_0x19572d,_0x444cb4,_0x34756d,_0x3e40aa)));_0x5670a3[_0x511fd4(0x455)](_0x2392dc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4496ea(0x265)]((_0x269efa,_0x3f0b07)=>{const _0x2ad6c5=_0x4496ea,{range:_0x44d0af,sheetID:_0x49fc84}=_0x269efa,_0x54a8e7=this[_0x2ad6c5(0x216)][_0x2ad6c5(0x255)](_0x44d0af,_0x11a34c=>(_0x54a8e7[_0x2ad6c5(0x214)](),_0x4845c9(_0x11a34c,_0x3f0b07,_0x49fc84,_0x44d0af)));_0x5670a3[_0x2ad6c5(0x455)](_0x54a8e7);});};this[_0x9d8619(0x30f)](_0x161ac6['toDisposable'](this[_0x9d8619(0x218)][_0x9d8619(0x26b)](()=>{_0x1b6564();})));}[_0x4624f5(0x24d)](){const _0x1f7c78=_0x4624f5;var _0x3fe35f,_0x1c2079;if(this['_online']=!0x0,((_0x3fe35f=this[_0x1f7c78(0x485)][_0x1f7c78(0x45a)]())==null?void 0x0:_0x3fe35f[_0x1f7c78(0x30b)]())!==this[_0x1f7c78(0x2e9)])return;const _0x23eb5c=(_0x1c2079=this['_injector'][_0x1f7c78(0x333)](_0xc6f6be['SheetsSelectionsService'])[_0x1f7c78(0x491)]())==null?void 0x0:_0x1c2079[0x0],_0x399dfa=this[_0x1f7c78(0x485)][_0x1f7c78(0x2bc)](_0x161ac6[_0x1f7c78(0x2d9)][_0x1f7c78(0x28b)])[_0x1f7c78(0x203)]();_0x23eb5c&&_0x399dfa&&this[_0x1f7c78(0x2c5)](_0x399dfa[_0x1f7c78(0x447)](),_0x23eb5c);}[_0x4624f5(0x1dd)](){const _0x1b72fc=_0x4624f5;this[_0x1b72fc(0x27f)]=!0x1;}};_0x285ce1=_0x11a7d9([_0x5ea10f(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x5ea10f(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x1846fc)),_0x5ea10f(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x222)])),_0x5ea10f(0x5,_0x161ac6['IUniverInstanceService']),_0x5ea10f(0x6,_0x161ac6[_0x4624f5(0x41a)]),_0x5ea10f(0x7,_0x161ac6['Inject'](_0xc6f6be[_0x4624f5(0x372)]))],_0x285ce1);var _0xfa0237=Object[_0x4624f5(0x272)],_0x33189d=(_0x131046,_0x50b1ad,_0x3c96a2,_0x492368)=>{for(var _0x802f16=_0x492368>0x1?void 0x0:_0x492368?_0xfa0237(_0x50b1ad,_0x3c96a2):_0x50b1ad,_0x2f5fd4=_0x131046['length']-0x1,_0x47ad8e;_0x2f5fd4>=0x0;_0x2f5fd4--)(_0x47ad8e=_0x131046[_0x2f5fd4])&&(_0x802f16=_0x47ad8e(_0x802f16)||_0x802f16);return _0x802f16;},_0x60fcfe=(_0x59dede,_0x1a2503)=>(_0x38ab0f,_0x52ddff)=>_0x1a2503(_0x38ab0f,_0x52ddff,_0x59dede);let _0x1508be=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x18b50f,_0xece82a,_0x324dc9){const _0x9d4787=_0x4624f5;super(),_0x47bfcc(this,_0x9d4787(0x3e2),new Map()),_0x47bfcc(this,_0x9d4787(0x29c),new _0x66cc31[(_0x9d4787(0x434))]()),(this['_univerInstanceService']=_0x18b50f,this[_0x9d4787(0x298)]=_0xece82a,this[_0x9d4787(0x264)]=_0x324dc9,this['_init']());}[_0x4624f5(0x214)](){const _0x326559=_0x4624f5;super[_0x326559(0x214)](),this[_0x326559(0x29c)]['complete'](),this['_entities']['forEach'](_0x5f07a4=>_0x5f07a4[_0x326559(0x214)]());}['getCollabCursors$'](_0xf5de5d){const _0x25b689=_0x4624f5;return this['_entities'][_0x25b689(0x390)](_0xf5de5d)?this[_0x25b689(0x3e2)][_0x25b689(0x333)](_0xf5de5d)[_0x25b689(0x3ed)]:this[_0x25b689(0x29c)][_0x25b689(0x1ef)](_0x66cc31[_0x25b689(0x438)](_0x2c3244=>_0x2c3244['unitID']===_0xf5de5d),_0x66cc31[_0x25b689(0x46f)](_0x5c1fcc=>_0x5c1fcc[_0x25b689(0x3ed)]));}[_0x4624f5(0x48d)](){const _0x2ced5f=_0x4624f5;this[_0x2ced5f(0x485)][_0x2ced5f(0x3b5)](_0x161ac6['UniverInstanceType'][_0x2ced5f(0x28b)])[_0x2ced5f(0x1ef)](_0x66cc31['takeUntil'](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x26b)](async _0x473be6=>{const _0x3bfbfc=_0x2ced5f,_0x4dc573=_0x473be6['getUnitId'](),_0x5a1fe7=await this[_0x3bfbfc(0x351)](_0x4dc573);this[_0x3bfbfc(0x29c)][_0x3bfbfc(0x3c9)](_0x5a1fe7),this[_0x3bfbfc(0x3e2)]['set'](_0x4dc573,_0x5a1fe7);}),this['_univerInstanceService'][_0x2ced5f(0x3b5)](_0x161ac6[_0x2ced5f(0x2d9)][_0x2ced5f(0x23d)])[_0x2ced5f(0x1ef)](_0x66cc31[_0x2ced5f(0x45d)](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x1ef)](_0x66cc31[_0x2ced5f(0x438)](_0x3df3f=>!_0x3df3f[_0x2ced5f(0x30b)]()[_0x2ced5f(0x25e)]('__')))[_0x2ced5f(0x26b)](async _0x5afa52=>{const _0x288190=_0x2ced5f,_0x42fd5d=_0x5afa52['getUnitId'](),_0x290f79=await this[_0x288190(0x2c7)](_0x42fd5d);this['_entityInit$'][_0x288190(0x3c9)](_0x290f79),this[_0x288190(0x3e2)][_0x288190(0x3d5)](_0x42fd5d,_0x290f79);}),_0x66cc31[_0x2ced5f(0x348)](this[_0x2ced5f(0x485)][_0x2ced5f(0x2f4)](_0x161ac6['UniverInstanceType']['UNIVER_DOC']),this[_0x2ced5f(0x485)][_0x2ced5f(0x2f4)](_0x161ac6[_0x2ced5f(0x2d9)]['UNIVER_SHEET']))[_0x2ced5f(0x1ef)](_0x66cc31['takeUntil'](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x26b)](_0x3f4675=>{const _0x23adc6=_0x2ced5f,_0x3c17ce=_0x3f4675['getUnitId'](),_0xfc078a=this[_0x23adc6(0x3e2)][_0x23adc6(0x333)](_0x3c17ce);_0xfc078a&&(_0xfc078a[_0x23adc6(0x214)](),this[_0x23adc6(0x3e2)][_0x23adc6(0x40e)](_0x3c17ce));});}async[_0x4624f5(0x351)](_0x3eec7e){const _0x588ef0=_0x4624f5,_0x460088=await this['_collabSessionService'][_0x588ef0(0x43b)](_0x3eec7e),_0x418629=this[_0x588ef0(0x298)][_0x588ef0(0x3f2)](_0x285ce1,_0x3eec7e,_0x460088);return _0x418629['init'](),_0x418629;}async['_startDocCollabCursor'](_0x13f518){const _0x1bbf0f=_0x4624f5,_0x501abf=await this['_collabSessionService']['requireSession'](_0x13f518),_0x9a2322=this['_injector'][_0x1bbf0f(0x3f2)](_0x2262fb,_0x13f518,_0x501abf);return _0x9a2322['init'](),_0x9a2322;}};_0x1508be=_0x33189d([_0x60fcfe(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x60fcfe(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x60fcfe(0x2,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x26a)]))],_0x1508be);const _0x5a3e8a=0x14,_0x3574cb=0xc8,_0x319642=0x4,_0x5ad9a7=0x5;function _0xe175e2(_0x2f754e,_0x56fe6d){const _0x19e68f=_0x4624f5;let {radius:_0x116b5d,width:_0x558098,height:_0x9fbc0d}=_0x56fe6d;_0x116b5d=_0x116b5d!=null?_0x116b5d:0x0,_0x558098=_0x558098!=null?_0x558098:0x1e,_0x9fbc0d=_0x9fbc0d!=null?_0x9fbc0d:0x1e;let _0x7423e4=0x0,_0x58bdba=0x0,_0x347f51=0x0;_0x7423e4=_0x58bdba=_0x347f51=Math['min'](_0x116b5d,_0x558098/0x2,_0x9fbc0d/0x2),_0x2f754e['beginPath'](),_0x2f754e['moveTo'](_0x7423e4,0x0),_0x2f754e[_0x19e68f(0x467)](_0x558098-_0x58bdba,0x0),_0x2f754e[_0x19e68f(0x2aa)](_0x558098-_0x58bdba,_0x58bdba,_0x58bdba,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f754e[_0x19e68f(0x467)](_0x558098,_0x9fbc0d-_0x347f51),_0x2f754e[_0x19e68f(0x2aa)](_0x558098-_0x347f51,_0x9fbc0d-_0x347f51,_0x347f51,0x0,Math['PI']/0x2,!0x1),_0x2f754e['lineTo'](0x0,_0x9fbc0d),_0x2f754e['lineTo'](0x0,_0x7423e4),_0x2f754e['arc'](_0x7423e4,_0x7423e4,_0x7423e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f754e[_0x19e68f(0x450)](),_0x56fe6d[_0x19e68f(0x201)]&&(_0x2f754e[_0x19e68f(0x37b)](),_0x2f754e[_0x19e68f(0x42c)]=_0x56fe6d[_0x19e68f(0x201)],_0x56fe6d[_0x19e68f(0x457)]==='evenodd'?_0x2f754e[_0x19e68f(0x201)]('evenodd'):_0x2f754e[_0x19e68f(0x201)](),_0x2f754e[_0x19e68f(0x304)]());}class _0x6ab412 extends _0x1fade8[_0x4624f5(0x3d9)]{constructor(_0x4fbca6,_0x343612){const _0x3252bf=_0x4624f5;super(_0x4fbca6,_0x343612),_0x47bfcc(this,'color'),_0x47bfcc(this,_0x3252bf(0x32d)),(this[_0x3252bf(0x2fc)]=_0x343612==null?void 0x0:_0x343612[_0x3252bf(0x2fc)],this[_0x3252bf(0x32d)]=_0x343612==null?void 0x0:_0x343612[_0x3252bf(0x32d)]);}static[_0x4624f5(0x3b4)](_0x18afcb,_0x4edf0c){const _0x1ed160=_0x4624f5,{text:_0x589130,color:_0x34c7dc}=_0x4edf0c;_0x18afcb[_0x1ed160(0x37b)](),_0x18afcb[_0x1ed160(0x371)]=_0x1ed160(0x49b);const _0x265d95=_0x18afcb[_0x1ed160(0x478)](_0x589130)['width'],_0x54ccf8=Math[_0x1ed160(0x38a)](_0x265d95+0x2*_0x319642,_0x3574cb);_0xe175e2(_0x18afcb,{'height':_0x5a3e8a,'radius':0x4,'width':_0x54ccf8,'fill':_0x34c7dc}),_0x18afcb[_0x1ed160(0x42c)]=_0x1ed160(0x213);const _0x349b3a=_0x319642,_0x48e380=_0x5a3e8a-_0x5ad9a7,_0x1a69ce=_0x3574cb-0x2*_0x319642;if(_0x265d95>_0x1a69ce){let _0x42b243='',_0x253b4a=0x0;for(const _0x5cf810 of _0x589130){const _0x8d1159=_0x18afcb[_0x1ed160(0x478)](_0x5cf810)[_0x1ed160(0x230)];if(_0x253b4a+_0x8d1159<=_0x1a69ce-_0x18afcb[_0x1ed160(0x478)](_0x1ed160(0x362))[_0x1ed160(0x230)])_0x42b243+=_0x5cf810,_0x253b4a+=_0x8d1159;else{_0x42b243+=_0x1ed160(0x362);break;}}_0x18afcb['fillText'](_0x42b243,_0x349b3a,_0x48e380);}else _0x18afcb[_0x1ed160(0x3e1)](_0x589130,_0x349b3a,_0x48e380);_0x18afcb[_0x1ed160(0x304)]();}[_0x4624f5(0x249)](_0x2ab829){_0x6ab412['drawWith'](_0x2ab829,this);}}const _0x22ea6a='collab-text-anchor-',_0x7e52ff=_0x4624f5(0x36c),_0x349ac6=_0x4624f5(0x211),_0x21cd66=0x6,_0x1ac3bb=1.5,_0xc9f299=0x4,_0x108bd2=1.5,_0x3faf28=_0x4624f5(0x2f7);class _0x5942d4{constructor(_0x59727b,_0x1e3f12,_0xd7e4bf,_0x3361b2){const _0x2c5481=_0x4624f5;_0x47bfcc(this,'_shapes',[]),_0x47bfcc(this,_0x2c5481(0x454),null),_0x47bfcc(this,_0x2c5481(0x2f6),null),_0x47bfcc(this,'_anchorDot',null),_0x47bfcc(this,_0x2c5481(0x488),null),_0x47bfcc(this,'_eventUnsubscribe',null),(this[_0x2c5481(0x3ea)]=_0x59727b,this[_0x2c5481(0x2f3)]=_0x1e3f12,this[_0x2c5481(0x212)]=_0xd7e4bf,this[_0x2c5481(0x44b)]=_0x3361b2,this[_0x2c5481(0x399)]());}set[_0x4624f5(0x3da)](_0x5825b0){const _0x389e96=_0x4624f5;_0x5825b0?(this[_0x389e96(0x377)]&&this[_0x389e96(0x377)][_0x389e96(0x295)](),this['_textBubble']&&this[_0x389e96(0x2f6)][_0x389e96(0x27d)]()):(this[_0x389e96(0x377)]&&this[_0x389e96(0x377)][_0x389e96(0x27d)](),this[_0x389e96(0x2f6)]&&this[_0x389e96(0x2f6)][_0x389e96(0x295)]());}['dispose'](){const _0xfc06a3=_0x4624f5;for(const _0x283c2a of this[_0xfc06a3(0x387)])_0x283c2a[_0xfc06a3(0x214)]();this[_0xfc06a3(0x2f6)]&&this[_0xfc06a3(0x2f6)][_0xfc06a3(0x214)](),this[_0xfc06a3(0x377)]&&this[_0xfc06a3(0x377)][_0xfc06a3(0x214)](),this['_anchor']&&this[_0xfc06a3(0x454)][_0xfc06a3(0x214)](),this['_eventUnsubscribe']&&this[_0xfc06a3(0x250)]();}[_0x4624f5(0x399)](){const _0xf6a5f3=_0x4624f5;var _0x19c86b;const {_docSkeleton:_0x4cee51,_document:_0x8ff928}=this,{color:_0x19bac8,name:_0x57fd98,ranges:_0x582562}=this[_0xf6a5f3(0x3ea)],_0x4c5856=_0x8ff928[_0xf6a5f3(0x25d)](),{docsLeft:_0x560f25,docsTop:_0x500460}=_0x4c5856,_0x3e7cf5=new _0x5d4e8b[(_0xf6a5f3(0x36b))](_0x4c5856,_0x4cee51);for(const {startOffset:_0x23520e,endOffset:_0x1c1701,rangeType:_0x31ecd1,segmentId:_0x3e237a,segmentPage:_0x543c35,collapsed:_0x1b2d97,isActive:_0x4f22f3}of _0x582562){const _0x3cec7b=_0x4cee51[_0xf6a5f3(0x31b)](_0x23520e,!0x0,_0x3e237a,_0x543c35);let _0x493c4d=_0x4cee51[_0xf6a5f3(0x31b)](_0x1c1701,!0x0,_0x3e237a,_0x543c35);if(_0x493c4d==null&&(_0x493c4d=_0x4cee51[_0xf6a5f3(0x31b)](_0x1c1701-0x1,!0x1,_0x3e237a,_0x543c35)),_0x4f22f3){const {contentBoxPointGroup:_0x5df147}=_0x3e7cf5[_0xf6a5f3(0x38e)](_0x493c4d,_0x493c4d);if(_0x5df147['length']===0x0)continue;this[_0xf6a5f3(0x407)](_0x19bac8,_0x5df147,_0x560f25,_0x500460,_0x57fd98),this[_0xf6a5f3(0x250)]=this[_0xf6a5f3(0x226)]();}if(_0x3cec7b&&_0x493c4d){if(_0x31ecd1===_0x161ac6[_0xf6a5f3(0x29b)][_0xf6a5f3(0x475)]){const _0x501a18=new _0x5d4e8b[(_0xf6a5f3(0x2d0))](_0x4c5856,_0x4cee51),{pointGroup:_0x85b3d5}=(_0x19c86b=_0x501a18[_0xf6a5f3(0x38e)](_0x3cec7b,_0x493c4d))!=null?_0x19c86b:{};if(_0x85b3d5==null||_0x85b3d5[_0xf6a5f3(0x1e5)]===0x0)continue;this[_0xf6a5f3(0x48e)](_0x19bac8,_0x85b3d5,_0x560f25,_0x500460);}else{if(!_0x1b2d97){const {borderBoxPointGroup:_0x7c9f47}=_0x3e7cf5[_0xf6a5f3(0x38e)](_0x3cec7b,_0x493c4d);if(_0x7c9f47[_0xf6a5f3(0x1e5)]===0x0)continue;this[_0xf6a5f3(0x256)](_0x19bac8,_0x7c9f47,_0x560f25,_0x500460);}}}}}['_drawAnchor'](_0x28e112,_0xde7109,_0x4c80c2,_0x40302f,_0x50862d){const _0x4b0133=_0x4624f5,_0x91f582=this[_0x4b0133(0x363)](_0xde7109),{left:_0x2d7d99,top:_0x1e8042,height:_0x33c4dd}=_0x91f582,_0x4e8fe4=this[_0x4b0133(0x328)](),_0x25bcd9=_0x108bd2/_0x4e8fe4,_0x1cd87a=new _0x1fade8['Rect'](_0x22ea6a+_0x161ac6[_0x4b0133(0x497)](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f,'height':_0x33c4dd,'width':_0x1ac3bb,'fill':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6[_0x4b0133(0x406)][_0x4b0133(0x4a2)],0x0),'strokeWidth':_0x25bcd9,'stroke':_0x3faf28,'evented':!0x0});this[_0x4b0133(0x454)]=_0x1cd87a,this['_scene'][_0x4b0133(0x49c)](_0x1cd87a,_0x5d4e8b[_0x4b0133(0x44c)]);const _0x3df983=new _0x1fade8[(_0x4b0133(0x374))](_0x22ea6a+_0x161ac6[_0x4b0133(0x497)](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f-_0xc9f299/0x2,'height':_0xc9f299,'width':_0xc9f299,'fill':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6[_0x4b0133(0x406)][_0x4b0133(0x4a2)],0x0),'strokeWidth':0x0,'stroke':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6['COLORS'][_0x4b0133(0x4a2)],0x0),'evented':!0x1});this['_anchorDot']=_0x3df983,this[_0x4b0133(0x2f3)][_0x4b0133(0x49c)](_0x3df983,_0x5d4e8b['TEXT_RANGE_LAYER_INDEX']);const _0x1f9cf5=new _0x6ab412(_0x22ea6a+_0x161ac6['generateRandomId'](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f-_0x5a3e8a,'text':_0x50862d,'color':_0x28e112});this[_0x4b0133(0x2f6)]=_0x1f9cf5,this['_scene'][_0x4b0133(0x49c)](_0x1f9cf5,_0x5d4e8b[_0x4b0133(0x44c)]),this[_0x4b0133(0x3da)]=!0x1;}[_0x4624f5(0x226)](){const _0x118671=_0x4624f5,_0x575a21=this[_0x118671(0x454)][_0x118671(0x1d3)][_0x118671(0x37c)](()=>{const _0x2c4956=_0x118671;this[_0x2c4956(0x3da)]=!0x0;}),_0x568398=this['_anchor'][_0x118671(0x498)][_0x118671(0x37c)](()=>{const _0x4964fa=_0x118671;this[_0x4964fa(0x488)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x1c8a26=_0x4964fa;this[_0x1c8a26(0x3da)]=!0x1;},0x7d0);});return()=>{const _0x409074=_0x118671;_0x575a21[_0x409074(0x3aa)](),_0x568398['unsubscribe']();};}['_drawTextRange'](_0x3894f6,_0x53eb5c,_0x3b8ce3,_0x5a1dc7){const _0x39ccb7=_0x4624f5,_0x29bafe=new _0x161ac6[(_0x39ccb7(0x2a9))](_0x3894f6)[_0x39ccb7(0x45b)](0.2)[_0x39ccb7(0x466)](),_0x1d4b17=new _0x1fade8['RegularPolygon'](_0x7e52ff+_0x161ac6[_0x39ccb7(0x497)](_0x21cd66),{'pointsGroup':_0x53eb5c,'fill':_0x29bafe||_0x1fade8[_0x39ccb7(0x293)](_0x161ac6['COLORS'][_0x39ccb7(0x4a2)],0.2),'left':_0x3b8ce3,'top':_0x5a1dc7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39ccb7(0x387)]['push'](_0x1d4b17),this[_0x39ccb7(0x2f3)][_0x39ccb7(0x49c)](_0x1d4b17,_0x5d4e8b[_0x39ccb7(0x44c)]);}[_0x4624f5(0x48e)](_0x1e041d,_0x4e0162,_0x8a3555,_0x35a54f){const _0xbbeb2b=_0x4624f5,_0x2fb77f=new _0x161ac6[(_0xbbeb2b(0x2a9))](_0x1e041d)[_0xbbeb2b(0x45b)](0.2)[_0xbbeb2b(0x466)](),_0x30a017=new _0x1fade8[(_0xbbeb2b(0x3fe))](_0x349ac6+_0x161ac6['generateRandomId'](_0x21cd66),{'pointsGroup':_0x4e0162,'fill':_0x2fb77f||_0x1fade8[_0xbbeb2b(0x293)](_0x161ac6[_0xbbeb2b(0x406)][_0xbbeb2b(0x4a2)],0.2),'left':_0x8a3555,'top':_0x35a54f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xbbeb2b(0x426)](_0x30a017),this[_0xbbeb2b(0x2f3)][_0xbbeb2b(0x49c)](_0x30a017,_0x5d4e8b[_0xbbeb2b(0x44c)]);}[_0x4624f5(0x363)](_0x39b9b9){const _0x227915=_0x39b9b9[0x0],_0x4d7eae=_0x227915[0x0],_0x3587df=_0x227915[0x2],{x:_0x2f1ed9,y:_0x4fa667}=_0x4d7eae,{x:_0x15ef27,y:_0x2e7394}=_0x3587df;return{'left':_0x2f1ed9,'top':_0x4fa667,'width':_0x15ef27-_0x2f1ed9,'height':_0x2e7394-_0x4fa667};}[_0x4624f5(0x328)](){const _0x459a10=_0x4624f5,{scaleX:_0x57d601,scaleY:_0x41b8f3}=this[_0x459a10(0x2f3)][_0x459a10(0x1fc)]();return Math[_0x459a10(0x251)](_0x57d601,_0x41b8f3);}}var _0x4a5667=Object[_0x4624f5(0x272)],_0xb1469b=(_0x512f72,_0x3130c1,_0x1296c5,_0x171887)=>{const _0x1d3fce=_0x4624f5;for(var _0x4d22ad=_0x171887>0x1?void 0x0:_0x171887?_0x4a5667(_0x3130c1,_0x1296c5):_0x3130c1,_0x18fd73=_0x512f72[_0x1d3fce(0x1e5)]-0x1,_0x4b61d2;_0x18fd73>=0x0;_0x18fd73--)(_0x4b61d2=_0x512f72[_0x18fd73])&&(_0x4d22ad=_0x4b61d2(_0x4d22ad)||_0x4d22ad);return _0x4d22ad;},_0xf20c48=(_0x547082,_0x1c8e31)=>(_0x2d57c6,_0x59290c)=>_0x1c8e31(_0x2d57c6,_0x59290c,_0x547082);let _0x47d0f4=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x743b12,_0x31eb66,_0x2dee19,_0x298aed,_0x445271){const _0x177637=_0x4624f5;super(),_0x47bfcc(this,_0x177637(0x34b),[]),_0x47bfcc(this,'_cursors',[]),(this[_0x177637(0x38c)]=_0x743b12,this[_0x177637(0x395)]=_0x31eb66,this[_0x177637(0x2c8)]=_0x2dee19,this[_0x177637(0x43a)]=_0x298aed,this[_0x177637(0x3c0)]=_0x445271,this[_0x177637(0x48d)]());}[_0x4624f5(0x48d)](){const _0x3394a9=_0x4624f5,_0x3a307e=this[_0x3394a9(0x38c)][_0x3394a9(0x470)],_0x4597fd=this[_0x3394a9(0x395)];this['disposeWithMe'](_0x66cc31[_0x3394a9(0x2f0)]([this['_collabCursorController']['getCollabCursors$'](_0x3a307e),this[_0x3394a9(0x3c0)][_0x3394a9(0x271)]])[_0x3394a9(0x1ef)](_0x136df2['map'](([_0x3119bd,_0x3cd825])=>({'skeleton':_0x4597fd[_0x3394a9(0x341)](),'cursors':[..._0x3119bd[_0x3394a9(0x42f)]()][_0x3394a9(0x1f5)](_0x4aa686=>({..._0x4aa686,'color':this[_0x3394a9(0x3c0)]['getColorFromTheme'](_0x4aa686[_0x3394a9(0x2fc)])}))})))[_0x3394a9(0x26b)](_0x4fcfe0=>{const _0xee3841=_0x3394a9;if(this[_0xee3841(0x22c)](),_0x4fcfe0){const {skeleton:_0xbb0f9f,cursors:_0x4670a1}=_0x4fcfe0;this[_0xee3841(0x398)](_0xbb0f9f,_0x4670a1);}})),this['_initResize'](),this[_0x3394a9(0x36d)]();}[_0x4624f5(0x398)](_0x29ba06,_0x1fb455){const _0x34e260=_0x4624f5,{scene:_0x3f327e,mainComponent:_0x36598c}=this[_0x34e260(0x38c)],_0x21d5d3=_0x1fb455[_0x34e260(0x44e)](_0x3081d2=>new _0x5942d4(_0x3081d2,_0x3f327e,_0x29ba06,_0x36598c));this['_cursorShapes']=_0x21d5d3,this[_0x34e260(0x322)]=_0x1fb455;}[_0x4624f5(0x2b3)](){const _0x2bf5fe=_0x4624f5;this[_0x2bf5fe(0x22c)]();const {scene:_0x284a6e,mainComponent:_0x11ecf0}=this[_0x2bf5fe(0x38c)],_0x524ae1=this['_docSkeletonManagerService'][_0x2bf5fe(0x341)](),_0x3e1231=this['_cursors'][_0x2bf5fe(0x44e)](_0x2603bd=>new _0x5942d4(_0x2603bd,_0x284a6e,_0x524ae1,_0x11ecf0));this['_cursorShapes']=_0x3e1231;}[_0x4624f5(0x22c)](){const _0x1c7506=_0x4624f5;this[_0x1c7506(0x34b)][_0x1c7506(0x265)](_0x4d9f99=>_0x4d9f99[_0x1c7506(0x214)]()),this['_cursorShapes']=[];}[_0x4624f5(0x36d)](){const _0x2f7ebb=_0x4624f5,_0x5b1e0d=[_0x5d4e8b['SetDocZoomRatioOperation']['id']];this[_0x2f7ebb(0x30f)](this[_0x2f7ebb(0x43a)]['onCommandExecuted'](_0xa672e5=>{const _0x2b8c92=_0x2f7ebb;_0x5b1e0d[_0x2b8c92(0x354)](_0xa672e5['id'])&&_0xa672e5[_0x2b8c92(0x276)]['unitId']===this[_0x2b8c92(0x38c)][_0x2b8c92(0x470)]&&this[_0x2b8c92(0x2b3)]();}));}[_0x4624f5(0x40d)](){const _0x11e0c1=_0x4624f5;this[_0x11e0c1(0x30f)](_0x161ac6[_0x11e0c1(0x312)](this[_0x11e0c1(0x38c)][_0x11e0c1(0x303)][_0x11e0c1(0x36f)])['pipe'](_0x136df2[_0x11e0c1(0x438)](_0x586fd8=>_0x586fd8[_0x11e0c1(0x35b)]===_0x1fade8[_0x11e0c1(0x37a)][_0x11e0c1(0x38b)]),_0x136df2[_0x11e0c1(0x440)](0x10))['subscribe'](()=>{const _0x14d1e2=_0x11e0c1;this[_0x14d1e2(0x2b3)]();}));}};_0x47d0f4=_0xb1469b([_0xf20c48(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db13e[_0x4624f5(0x242)])),_0xf20c48(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x1508be)),_0xf20c48(0x3,_0x161ac6[_0x4624f5(0x41a)]),_0xf20c48(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x31f)]))],_0x47d0f4);const _0xd5b4f0=0x1,_0x5f0efe=1.5;class _0x5c4987 extends _0x1fade8[_0x4624f5(0x3d9)]{constructor(_0x22a934,_0x5593ae){const _0x1c7248=_0x4624f5;super(_0x22a934,_0x5593ae),_0x47bfcc(this,'_color'),_0x47bfcc(this,_0x1c7248(0x2a0),!0x1),_0x47bfcc(this,_0x1c7248(0x24c)),_0x47bfcc(this,'_name',''),_0x47bfcc(this,'_labelPosition','top'),_0x47bfcc(this,'_backgroundColor'),(_0x5593ae&&this[_0x1c7248(0x3e0)](_0x5593ae),this[_0x1c7248(0x1d3)][_0x1c7248(0x37c)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1c7248(0x37c)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x124c0f){const _0x39eefd=_0x4624f5;var _0x530750,_0x38243f,_0x3cbe7a,_0x301d22,_0x3b97e6,_0x58fd44;this[_0x39eefd(0x452)]=(_0x530750=_0x124c0f[_0x39eefd(0x2fc)])!=null?_0x530750:this[_0x39eefd(0x452)],this[_0x39eefd(0x2a0)]=(_0x38243f=_0x124c0f[_0x39eefd(0x42d)])!=null?_0x38243f:this[_0x39eefd(0x2a0)],this[_0x39eefd(0x24c)]=(_0x3cbe7a=_0x124c0f[_0x39eefd(0x3d1)])!=null?_0x3cbe7a:this['_range'],this[_0x39eefd(0x33f)]=(_0x301d22=_0x124c0f[_0x39eefd(0x433)])!=null?_0x301d22:this[_0x39eefd(0x33f)],this[_0x39eefd(0x3f4)]=(_0x3b97e6=_0x124c0f['labelPosition'])!=null?_0x3b97e6:this[_0x39eefd(0x3f4)],this[_0x39eefd(0x446)]=(_0x58fd44=_0x124c0f[_0x39eefd(0x331)])!=null?_0x58fd44:this['_backgroundColor'],this[_0x39eefd(0x2f8)]({'width':_0x124c0f[_0x39eefd(0x230)],'height':_0x124c0f['height']});}[_0x4624f5(0x28c)](_0x1ae4bc){const _0x4f3789=_0x4624f5,{row:_0x4dd8ec,column:_0x86e9b}=_0x1ae4bc;if(_0x4dd8ec>=this[_0x4f3789(0x24c)][_0x4f3789(0x2e8)]&&_0x4dd8ec<=this[_0x4f3789(0x24c)]['endRow']&&_0x86e9b>=this[_0x4f3789(0x24c)][_0x4f3789(0x2cd)]&&_0x86e9b<=this[_0x4f3789(0x24c)][_0x4f3789(0x3f9)]){this[_0x4f3789(0x3e0)]({'hovered':!0x0});return;}this[_0x4f3789(0x3e0)]({'hovered':!0x1});}[_0x4624f5(0x1f3)](_0x12fcfe){return!0x1;}['_draw'](_0x13ca51){const _0x4f1cbc=_0x4624f5;_0x1fade8[_0x4f1cbc(0x374)][_0x4f1cbc(0x3b4)](_0x13ca51,{'width':this['width'],'height':this[_0x4f1cbc(0x3f8)],'strokeWidth':_0x5f0efe,'stroke':this[_0x4f1cbc(0x452)],'evented':!0x1,'fill':this[_0x4f1cbc(0x446)]}),this[_0x4f1cbc(0x2a0)]&&(_0x13ca51[_0x4f1cbc(0x37b)](),_0x13ca51['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4f1cbc(0x23b)?0x0:-_0x5a3e8a),_0x6ab412[_0x4f1cbc(0x3b4)](_0x13ca51,{'text':this['_name'],'color':this[_0x4f1cbc(0x452)]}),_0x13ca51['restore']());}}var _0x222b6c=Object[_0x4624f5(0x272)],_0x44d088=(_0x3972e2,_0x350b7b,_0x2782a7,_0x37e1ff)=>{const _0x41429d=_0x4624f5;for(var _0x389d18=_0x37e1ff>0x1?void 0x0:_0x37e1ff?_0x222b6c(_0x350b7b,_0x2782a7):_0x350b7b,_0x533d26=_0x3972e2[_0x41429d(0x1e5)]-0x1,_0x165812;_0x533d26>=0x0;_0x533d26--)(_0x165812=_0x3972e2[_0x533d26])&&(_0x389d18=_0x165812(_0x389d18)||_0x389d18);return _0x389d18;},_0x49f4d0=(_0x566584,_0x2e9bb9)=>(_0x8e1276,_0x51bc22)=>_0x2e9bb9(_0x8e1276,_0x51bc22,_0x566584);const _0x5356fe=0x1389;let _0x2d665f=class extends _0x161ac6['RxDisposable']{constructor(_0x3ac546,_0x2225fa,_0x4cfbeb,_0x1e8d2a){const _0x106e99=_0x4624f5;super(),_0x47bfcc(this,_0x106e99(0x322),new Set()),_0x47bfcc(this,_0x106e99(0x1fd),null),(this[_0x106e99(0x38c)]=_0x3ac546,this[_0x106e99(0x393)]=_0x2225fa,this['_collabCursorController']=_0x4cfbeb,this['_themeService']=_0x1e8d2a,this['_init']());}[_0x4624f5(0x48d)](){const _0x40c3c4=_0x4624f5;this[_0x40c3c4(0x393)][_0x40c3c4(0x330)][_0x40c3c4(0x1ef)](_0x136df2[_0x40c3c4(0x45d)](this[_0x40c3c4(0x289)]),_0x136df2[_0x40c3c4(0x46f)](_0x377cfc=>{const _0xa6ace8=_0x40c3c4;if(_0x377cfc){const _0x3bc775=_0x377cfc[_0xa6ace8(0x2bf)];return _0x66cc31[_0xa6ace8(0x2f0)](this[_0xa6ace8(0x2c8)][_0xa6ace8(0x2c3)](this[_0xa6ace8(0x38c)][_0xa6ace8(0x470)]),this[_0xa6ace8(0x3c0)][_0xa6ace8(0x271)])[_0xa6ace8(0x1ef)](_0x136df2[_0xa6ace8(0x44e)](([_0x726aaf,_0x22a5c8])=>{const _0x51db45=_0xa6ace8,_0x5ca8a5=new Map();return _0x726aaf[_0x51db45(0x265)]((_0x5dd89e,_0x21aec5)=>{const _0x59b6ee=_0x51db45;if(_0x5dd89e['sheetID']===_0x3bc775){const _0x85e4f4={..._0x5dd89e};_0x85e4f4[_0x59b6ee(0x2fc)]=this[_0x59b6ee(0x3c0)][_0x59b6ee(0x3d8)](_0x5dd89e[_0x59b6ee(0x2fc)]),_0x5ca8a5[_0x59b6ee(0x3d5)](_0x21aec5,_0x85e4f4);}}),{'skeleton':_0x377cfc,'cursors':_0x5ca8a5};}));}return _0x66cc31['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4af596,cursors:_0x4cdeff})=>{const _0x1f6f63=_0x40c3c4;this[_0x1f6f63(0x22c)](),_0x4af596&&this[_0x1f6f63(0x398)](_0x4af596,_0x4cdeff);}),this[_0x40c3c4(0x393)][_0x40c3c4(0x330)]['subscribe'](_0x2eec4d=>{const _0x6551b6=_0x40c3c4;if(_0x2eec4d==null)return;const {skeleton:_0x4ec28c}=_0x2eec4d,{scene:_0x207b74}=this[_0x6551b6(0x38c)];_0x207b74[_0x6551b6(0x458)][_0x6551b6(0x37c)](_0x161ac6[_0x6551b6(0x3e4)](_0xed68=>{const _0x1f371a=_0x6551b6;var _0x18a802,_0x36aba4;const {offsetX:_0x5c2771,offsetY:_0x4d078b}=_0xed68,{x:_0x3b3b50,y:_0x30c118}=_0x207b74[_0x1f371a(0x2fd)](_0x1fade8[_0x1f371a(0x305)][_0x1f371a(0x427)]([_0x5c2771,_0x4d078b])),{scaleX:_0x365b45,scaleY:_0x197a9a}=_0x207b74['getAncestorScale'](),_0x29601e=_0x207b74[_0x1f371a(0x3db)](_0x1fade8['SHEET_VIEWPORT_KEY'][_0x1f371a(0x2bd)]),_0x13104c=_0x207b74[_0x1f371a(0x483)](_0x1fade8[_0x1f371a(0x305)][_0x1f371a(0x427)]([_0x3b3b50,_0x30c118]),_0x29601e),_0x299ebf=_0x4ec28c['getCellPositionByOffset'](_0x5c2771,_0x4d078b,_0x365b45,_0x197a9a,_0x13104c);((_0x18a802=this[_0x1f371a(0x1fd)])==null?void 0x0:_0x18a802[_0x1f371a(0x476)])===_0x299ebf[_0x1f371a(0x476)]&&((_0x36aba4=this['_lastPointer'])==null?void 0x0:_0x36aba4[_0x1f371a(0x3e5)])===_0x299ebf[_0x1f371a(0x3e5)]||this['_cursors'][_0x1f371a(0x265)](_0x2ca931=>{const _0x9fb1fa=_0x1f371a;_0x2ca931[_0x9fb1fa(0x28c)](_0x299ebf);});},0x64));});}[_0x4624f5(0x398)](_0x24b9cd,_0xd7a9f){const _0x2104f7=_0x4624f5;var _0x4a9344;const _0x1a6e72=(_0x4a9344=this[_0x2104f7(0x393)][_0x2104f7(0x2e2)]())==null?void 0x0:_0x4a9344[_0x2104f7(0x49a)];if(!_0x1a6e72)return;const _0x46b57d=this[_0x2104f7(0x3df)]();if(!_0x46b57d)return;this[_0x2104f7(0x322)][_0x2104f7(0x265)](_0x35c410=>{const _0x52b53e=_0x2104f7;_0x35c410[_0x52b53e(0x236)]();});const {scene:_0x4c3713}=_0x46b57d,_0x58f058=_0x22fbae(Array[_0x2104f7(0x243)](_0xd7a9f[_0x2104f7(0x42f)]()))[_0x2104f7(0x44e)](_0x4227d3=>{const _0x444647=_0x2104f7,{color:_0x584e3c,range:_0x584927,name:_0xe96b1b,selection:_0x5cd971,sheetID:_0xe886fb}=_0x4227d3,{startColumn:_0xaa0ef,startRow:_0x3bb447,endColumn:_0x3fc287,endRow:_0x28e3ff}=_0x584927,_0x376d17=_0x5b4c60['getCoordByCell'](_0x3bb447,_0xaa0ef,_0x4c3713,_0x1a6e72),_0xf6a6a6=_0x5b4c60['getCoordByCell'](_0x28e3ff,_0x3fc287,_0x4c3713,_0x1a6e72),{columnHeaderHeightAndMarginTop:_0x360639}=_0x1a6e72,{startX:_0x39b636,startY:_0xd31f44}=_0x376d17,{endX:_0xdec112,endY:_0x5ef07b}=_0xf6a6a6,_0x4b6b08=_0xdec112-_0x39b636,_0x47fc30=_0x5ef07b-_0xd31f44,_0x3afda2={'labelPosition':_0xd31f44-_0x360639>=_0x5a3e8a?_0x444647(0x3a1):_0x444647(0x23b),'sheetID':_0xe886fb,'range':_0x584927,'color':_0x584e3c,'name':_0xe96b1b,'selection':_0x5cd971,'left':_0x39b636,'top':_0xd31f44,'width':_0x4b6b08,'height':_0x47fc30,'evented':!0x1,'zIndex':_0x5356fe};return new _0x5c4987(_0xe96b1b,_0x3afda2);});_0x4c3713[_0x2104f7(0x2dc)](_0x58f058,_0xd5b4f0),this[_0x2104f7(0x322)]=new Set(_0x58f058);}[_0x4624f5(0x22c)](){const _0x169345=_0x4624f5;var _0x4117e9;(_0x4117e9=this[_0x169345(0x322)])==null||_0x4117e9['forEach'](_0x5e188b=>_0x5e188b[_0x169345(0x214)]());}['_getSheetObject'](){const _0x3910ae=_0x4624f5;return _0x5b4c60[_0x3910ae(0x386)](this[_0x3910ae(0x38c)]['unit'],this[_0x3910ae(0x38c)]);}};_0x2d665f=_0x44d088([_0x49f4d0(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x5b4c60[_0x4624f5(0x39a)])),_0x49f4d0(0x2,_0x161ac6['Inject'](_0x1508be)),_0x49f4d0(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['ThemeService']))],_0x2d665f);function _0x22fbae(_0x165e1a){const _0x9686a1=_0x4624f5,_0x109777=new Map();return _0x165e1a[_0x9686a1(0x265)](_0x50bc15=>{const _0x1f5fb5=_0x9686a1;if(_0x109777[_0x1f5fb5(0x390)](_0x50bc15['selection'])){const _0x3a5512=_0x109777[_0x1f5fb5(0x333)](_0x50bc15['selection']);_0x3a5512[_0x1f5fb5(0x433)]+=',\x20'+_0x50bc15[_0x1f5fb5(0x433)];}else _0x109777['set'](_0x50bc15['selection'],_0x50bc15);}),Array['from'](_0x109777['values']());}var _0xb4bcb1=Object['getOwnPropertyDescriptor'],_0x1a32df=(_0x3b7189,_0x4ec178,_0x54e464,_0x3452de)=>{const _0x1b9732=_0x4624f5;for(var _0x6c02dd=_0x3452de>0x1?void 0x0:_0x3452de?_0xb4bcb1(_0x4ec178,_0x54e464):_0x4ec178,_0x33ae4a=_0x3b7189[_0x1b9732(0x1e5)]-0x1,_0x109921;_0x33ae4a>=0x0;_0x33ae4a--)(_0x109921=_0x3b7189[_0x33ae4a])&&(_0x6c02dd=_0x109921(_0x6c02dd)||_0x6c02dd);return _0x6c02dd;},_0x3aea0f=(_0x176467,_0x14e6b1)=>(_0x41191e,_0x5abc01)=>_0x14e6b1(_0x41191e,_0x5abc01,_0x176467);let _0x1a48d1=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x52e10a,_0x5558f8,_0x15aa9d,_0x445bb7,_0x30b562,_0x241f9f){const _0x2573ec=_0x4624f5;super(),this[_0x2573ec(0x2f5)]=_0x52e10a,this[_0x2573ec(0x346)]=_0x5558f8,this['_collaborationUIEventService']=_0x15aa9d,this[_0x2573ec(0x47b)]=_0x445bb7,this[_0x2573ec(0x3bd)]=_0x30b562,this[_0x2573ec(0x23c)]=_0x241f9f,this[_0x2573ec(0x3f1)](),this[_0x2573ec(0x413)]();}[_0x4624f5(0x3f1)](){const _0x5bba5e=_0x4624f5;this[_0x5bba5e(0x30f)](this[_0x5bba5e(0x2f5)]['registerBeforeClose'](()=>{const _0x5e4787=_0x5bba5e;if(this[_0x5e4787(0x346)][_0x5e4787(0x47c)]['size'])return this[_0x5e4787(0x23c)]['t'](_0x5e4787(0x1f9));}));}[_0x4624f5(0x413)](){const _0x58c133=_0x4624f5;this[_0x58c133(0x30f)](this[_0x58c133(0x449)][_0x58c133(0x3fa)][_0x58c133(0x26b)](_0x1285e4=>{const _0x16c244=_0x58c133;_0x1285e4['id']===_0x46104e[_0x16c244(0x334)]['OTHER_CLIENT_EDITING']&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x1d1))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x403)]&&this['_messageService'][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x436))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2a5)]&&this[_0x16c244(0x3bd)][_0x16c244(0x27d)]({'title':this[_0x16c244(0x23c)]['t'](_0x16c244(0x339)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x499)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x368)],'content':this[_0x16c244(0x23c)]['t']('collaboration.closeRoom')+'('+_0x1285e4[_0x16c244(0x345)]+')'}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2ce)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48['MessageType'][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x1285e4[_0x16c244(0x345)]||'')}),_0x1285e4['id']===_0x46104e['CollaborationUIEventId'][_0x16c244(0x1f0)]&&this[_0x16c244(0x47b)]['show']({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this['_localeService']['t']('session.will-retry')}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2b6)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48['MessageType'][_0x16c244(0x368)],'content':this['_localeService']['t'](_0x16c244(0x46d))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x342)]&&this['_messageService'][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x368)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x22a))});}));}};_0x1a48d1=_0x1a32df([_0x3aea0f(0x0,_0x4291c6[_0x4624f5(0x234)]),_0x3aea0f(0x1,_0x46104e['ILocalCacheService']),_0x3aea0f(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x421)])),_0x3aea0f(0x3,_0x4291c6['IMessageService']),_0x3aea0f(0x4,_0x4291c6[_0x4624f5(0x2be)]),_0x3aea0f(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['LocaleService']))],_0x1a48d1);const _0x2f76a0=_0x4624f5(0x2ca),_0xbf724b={};var _0x525560=Object[_0x4624f5(0x272)],_0x39ab76=(_0x1099bf,_0x3b7e14,_0x4d5bdd,_0x40b79a)=>{const _0x20f698=_0x4624f5;for(var _0x5cf551=_0x40b79a>0x1?void 0x0:_0x40b79a?_0x525560(_0x3b7e14,_0x4d5bdd):_0x3b7e14,_0xb6897=_0x1099bf[_0x20f698(0x1e5)]-0x1,_0x46af3b;_0xb6897>=0x0;_0xb6897--)(_0x46af3b=_0x1099bf[_0xb6897])&&(_0x5cf551=_0x46af3b(_0x5cf551)||_0x5cf551);return _0x5cf551;},_0x345a26=(_0x5e6075,_0x4b3678)=>(_0xd65cf4,_0x10d20e)=>_0x4b3678(_0xd65cf4,_0x10d20e,_0x5e6075);let _0x6698d6=class{constructor(_0x36c676,_0x3e4712){const _0x151b0e=_0x4624f5;this[_0x151b0e(0x27c)]=_0x36c676,this[_0x151b0e(0x338)]=_0x3e4712;}['transformIMECache'](_0x3dbc5e){const _0x558447=_0x4624f5;this[_0x558447(0x3bf)](_0x3dbc5e),this[_0x558447(0x394)](_0x3dbc5e);}[_0x4624f5(0x3c2)](_0x141025){const _0xe14221=_0x4624f5,{unitID:_0x3365e2}=_0x141025,_0x486c6c=this['_renderManagerService'][_0xe14221(0x1ed)](_0x3365e2)[_0xe14221(0x287)](_0x5d4e8b[_0xe14221(0x32b)]),{redoCache:_0x502a16}=_0x486c6c['getUndoRedoMutationParamsCache']();if(_0x502a16['length']===0x0)return _0x141025;let _0x53d5a0=_0x161ac6[_0xe14221(0x460)]['deepClone'](_0x141025[_0xe14221(0x35d)][0x0]);for(let _0x3ee009=0x0;_0x3ee009<_0x502a16[_0xe14221(0x1e5)];_0x3ee009++){const _0x4a64c5={'id':_0xe14221(0x25b),'params':{..._0x502a16[_0x3ee009]}},_0x115a32=this[_0xe14221(0x27c)][_0xe14221(0x3d7)](_0x53d5a0,_0x4a64c5,!0x1);if(_0x48fdef[_0xe14221(0x32e)](_0x115a32))throw _0x115a32[_0xe14221(0x3ff)];_0x53d5a0=_0x115a32[_0xe14221(0x494)];}return{..._0x161ac6[_0xe14221(0x460)][_0xe14221(0x2d8)](_0x141025),'mutations':[_0x53d5a0]};}[_0x4624f5(0x3bf)](_0x11433d){const _0x1cfbe0=_0x4624f5,{unitID:_0x14d498}=_0x11433d,_0x2b9811=this[_0x1cfbe0(0x338)][_0x1cfbe0(0x1ed)](_0x14d498)[_0x1cfbe0(0x287)](_0x5d4e8b[_0x1cfbe0(0x32b)]),{undoCache:_0x394620,redoCache:_0xb3b2ff}=_0x2b9811[_0x1cfbe0(0x302)]();if(_0x394620[_0x1cfbe0(0x1e5)]===0x0||_0xb3b2ff['length']===0x0)return;const _0x43d85d=[],_0x5318e7=[];let _0x1948f3=_0x161ac6['Tools'][_0x1cfbe0(0x2d8)](_0x11433d['mutations'][0x0]),_0x39e7f7=_0x161ac6[_0x1cfbe0(0x460)][_0x1cfbe0(0x2d8)](_0x11433d[_0x1cfbe0(0x35d)][0x0]);for(let _0xde89e2=_0x394620[_0x1cfbe0(0x1e5)]-0x1;_0xde89e2>=0x0;_0xde89e2--){const _0x30ab9e={'id':_0x1cfbe0(0x25b),'params':{..._0x394620[_0xde89e2]}},_0x50efd7={'id':_0x1cfbe0(0x25b),'params':{..._0xb3b2ff[_0xde89e2]}},_0x5c9ce8=this['_transformService'][_0x1cfbe0(0x3d7)](_0x1948f3,_0x30ab9e,!0x1),_0xaadcab=this[_0x1cfbe0(0x27c)][_0x1cfbe0(0x3d7)](_0x39e7f7,_0x50efd7,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x5c9ce8))throw _0x5c9ce8[_0x1cfbe0(0x3ff)];if(_0x48fdef[_0x1cfbe0(0x32e)](_0xaadcab))throw _0xaadcab[_0x1cfbe0(0x3ff)];_0x43d85d[_0x1cfbe0(0x1f2)](_0x5c9ce8['m2Prime'][_0x1cfbe0(0x276)]),_0x5318e7[_0x1cfbe0(0x1f2)](_0xaadcab[_0x1cfbe0(0x397)][_0x1cfbe0(0x276)]),_0x1948f3=_0x5c9ce8[_0x1cfbe0(0x494)],_0x39e7f7=_0xaadcab['m1Prime'];}_0x2b9811['setUndoRedoMutationParamsCache']({'undoCache':_0x43d85d,'redoCache':_0x5318e7});}[_0x4624f5(0x394)](_0x483508){const _0x23aed7=_0x4624f5,{unitID:_0x582c3f}=_0x483508,_0x1d7e1c=this['_renderManagerService']['getRenderById'](_0x582c3f)[_0x23aed7(0x287)](_0x5d4e8b[_0x23aed7(0x32b)]),_0x18f0b4=_0x1d7e1c[_0x23aed7(0x3a6)]();if(_0x18f0b4==null)return;const _0x958197=[{'id':_0x23aed7(0x25b),'params':{'unitId':_0x483508[_0x23aed7(0x2e9)],'actions':null,'textRanges':[_0x18f0b4]}}],_0x4b42be=this[_0x23aed7(0x27c)][_0x23aed7(0x2bb)](_0x483508,_0x958197);if(!_0x48fdef[_0x23aed7(0x245)](_0x4b42be))throw _0x4b42be[_0x23aed7(0x3ff)];const _0x5ccda8=_0x4b42be[_0x23aed7(0x397)][0x0][_0x23aed7(0x276)][_0x23aed7(0x3c5)];Array[_0x23aed7(0x462)](_0x5ccda8)&&_0x5ccda8[_0x23aed7(0x1e5)]&&_0x1d7e1c['setActiveRange'](_0x5ccda8[0x0]);}};_0x6698d6=_0x39ab76([_0x345a26(0x0,_0x48fdef['ITransformService']),_0x345a26(0x1,_0x1fade8[_0x4624f5(0x383)])],_0x6698d6);var _0xe85881=Object[_0x4624f5(0x272)],_0x20e6bb=(_0x283a50,_0x57ab02,_0x3bd32a,_0x2a9cac)=>{const _0x11942a=_0x4624f5;for(var _0x4eac68=_0x2a9cac>0x1?void 0x0:_0x2a9cac?_0xe85881(_0x57ab02,_0x3bd32a):_0x57ab02,_0x5850a2=_0x283a50[_0x11942a(0x1e5)]-0x1,_0x36852f;_0x5850a2>=0x0;_0x5850a2--)(_0x36852f=_0x283a50[_0x5850a2])&&(_0x4eac68=_0x36852f(_0x4eac68)||_0x4eac68);return _0x4eac68;},_0x5e50d1=(_0x11388c,_0x4da7e3)=>(_0x59d4f4,_0x18ad08)=>_0x4da7e3(_0x59d4f4,_0x18ad08,_0x11388c);let _0xa7a54c=class{constructor(_0x7f556b,_0x1af56e,_0x2ee72d){const _0x3af573=_0x4624f5;this[_0x3af573(0x298)]=_0x7f556b,this[_0x3af573(0x27c)]=_0x1af56e,this[_0x3af573(0x22e)]=_0x2ee72d;}[_0x4624f5(0x307)](_0x1aaee7){const _0x93433d=_0x4624f5;this[_0x93433d(0x3c1)](_0x1aaee7);}[_0x4624f5(0x3c2)](_0x1053a4){const _0x3043a3=_0x4624f5,{unitID:_0x270535}=_0x1053a4,{collaboration:_0x39335c}=this[_0x3043a3(0x22e)][_0x3043a3(0x39e)](_0x270535);if(_0x39335c[_0x3043a3(0x1e5)]===0x0)return _0x1053a4;let _0x340834=_0x161ac6[_0x3043a3(0x460)][_0x3043a3(0x2d8)](_0x1053a4[_0x3043a3(0x35d)][0x0]);for(let _0x42ea20=0x0;_0x42ea20<_0x39335c['length'];_0x42ea20++){const _0x40ca5e={'id':_0x3043a3(0x25b),'params':{'unitId':_0x39335c[_0x42ea20]['unitId'],..._0x39335c[_0x42ea20][_0x3043a3(0x4a1)]}},_0x1c19af=this[_0x3043a3(0x27c)][_0x3043a3(0x3d7)](_0x340834,_0x40ca5e,!0x1);if(_0x48fdef[_0x3043a3(0x32e)](_0x1c19af))throw _0x1c19af[_0x3043a3(0x3ff)];_0x340834=_0x1c19af['m1Prime'];}return{..._0x161ac6['Tools'][_0x3043a3(0x2d8)](_0x1053a4),'mutations':[_0x340834]};}[_0x4624f5(0x3c1)](_0x1de933){const _0x4d3d5b=_0x4624f5,{unitID:_0x1e54c7}=_0x1de933,{history:_0x33ebd3,collaboration:_0x197a05}=this[_0x4d3d5b(0x22e)][_0x4d3d5b(0x39e)](_0x1e54c7);if(_0x33ebd3[_0x4d3d5b(0x1e5)]===0x0&&_0x197a05[_0x4d3d5b(0x1e5)]===0x0)return;const _0x4fdf63=[],_0x1d6504=[];let _0x24483f=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]),_0x1d48d6=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]);for(let _0x30bf00=_0x33ebd3['length']-0x1;_0x30bf00>=0x0;_0x30bf00--){const _0x240579={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x33ebd3[_0x30bf00][_0x4d3d5b(0x470)],..._0x33ebd3[_0x30bf00]['undoState']}},_0x17607b={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x33ebd3[_0x30bf00][_0x4d3d5b(0x470)],..._0x33ebd3[_0x30bf00][_0x4d3d5b(0x4a1)]}},_0x462534=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x24483f,_0x240579,!0x1),_0x27c7fb=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x1d48d6,_0x17607b,!0x1);if(_0x48fdef[_0x4d3d5b(0x32e)](_0x462534))throw _0x462534[_0x4d3d5b(0x3ff)];if(_0x48fdef[_0x4d3d5b(0x32e)](_0x27c7fb))throw _0x27c7fb['error'];_0x4fdf63['unshift']({..._0x33ebd3[_0x30bf00],'undoState':_0x462534[_0x4d3d5b(0x397)][_0x4d3d5b(0x276)],'redoState':_0x27c7fb['m2Prime'][_0x4d3d5b(0x276)]}),_0x24483f=_0x462534[_0x4d3d5b(0x494)],_0x1d48d6=_0x27c7fb['m1Prime'];}_0x24483f=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]),_0x1d48d6=_0x161ac6['Tools'][_0x4d3d5b(0x2d8)](_0x1de933['mutations'][0x0]);for(let _0x20eb2d=_0x197a05[_0x4d3d5b(0x1e5)]-0x1;_0x20eb2d>=0x0;_0x20eb2d--){const _0x2ac1b8={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x197a05[_0x20eb2d][_0x4d3d5b(0x470)],..._0x197a05[_0x20eb2d][_0x4d3d5b(0x20e)]}},_0x2653b7={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x197a05[_0x20eb2d][_0x4d3d5b(0x470)],..._0x197a05[_0x20eb2d][_0x4d3d5b(0x4a1)]}},_0x5a45e0=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x24483f,_0x2ac1b8,!0x1),_0x446a2d=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x1d48d6,_0x2653b7,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x5a45e0))throw _0x5a45e0[_0x4d3d5b(0x3ff)];if(_0x48fdef[_0x4d3d5b(0x32e)](_0x446a2d))throw _0x446a2d[_0x4d3d5b(0x3ff)];_0x1d6504[_0x4d3d5b(0x1f2)]({..._0x197a05[_0x20eb2d],'undoState':_0x5a45e0['m2Prime'][_0x4d3d5b(0x276)],'redoState':_0x446a2d[_0x4d3d5b(0x397)][_0x4d3d5b(0x276)]}),_0x24483f=_0x5a45e0[_0x4d3d5b(0x494)],_0x1d48d6=_0x446a2d[_0x4d3d5b(0x494)];}this[_0x4d3d5b(0x22e)][_0x4d3d5b(0x207)](_0x1e54c7,{'history':_0x4fdf63,'collaboration':_0x1d6504});}};_0xa7a54c=_0x20e6bb([_0x5e50d1(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x5e50d1(0x1,_0x48fdef[_0x4624f5(0x254)]),_0x5e50d1(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x5d4e8b[_0x4624f5(0x3f0)]))],_0xa7a54c);var _0x57ad3c=Object[_0x4624f5(0x272)],_0x42e18e=(_0x30091c,_0x3f8d4e,_0x5e41f2,_0x165eb7)=>{const _0x1407cc=_0x4624f5;for(var _0x44becc=_0x165eb7>0x1?void 0x0:_0x165eb7?_0x57ad3c(_0x3f8d4e,_0x5e41f2):_0x3f8d4e,_0x3c2778=_0x30091c[_0x1407cc(0x1e5)]-0x1,_0xcae1a;_0x3c2778>=0x0;_0x3c2778--)(_0xcae1a=_0x30091c[_0x3c2778])&&(_0x44becc=_0xcae1a(_0x44becc)||_0x44becc);return _0x44becc;},_0x3e339d=(_0x14fe80,_0x578ed5)=>(_0x1a9d2d,_0x47fe78)=>_0x578ed5(_0x1a9d2d,_0x47fe78,_0x14fe80);let _0x16e8f2=class{constructor(_0x4d088f,_0x24c689){this['_injector']=_0x4d088f,this['_transformService']=_0x24c689;}['transformSelections'](_0x561d0f){const _0xafd62=_0x4624f5;var _0x478b5d;const _0xf6ec35=this[_0xafd62(0x298)][_0xafd62(0x333)](_0x4db13e[_0xafd62(0x3c7)]),_0x2205ed=(_0x478b5d=_0xf6ec35[_0xafd62(0x2ae)]())!=null?_0x478b5d:[];if(_0x2205ed[_0xafd62(0x1e5)]===0x0)return;const _0x44c61e=_0x561d0f[_0xafd62(0x2e9)],_0x3a8dbf=[{'id':_0xafd62(0x25b),'params':{'unitId':_0x44c61e,'actions':null,'textRanges':_0x2205ed}}],_0x2063bb=this['_transformService']['transformMutationsWithChangeset'](_0x561d0f,_0x3a8dbf);if(!_0x48fdef['isTransformMutationsWithChangesetSuccess'](_0x2063bb))throw _0x2063bb[_0xafd62(0x3ff)];const _0x127821=_0x2063bb['m2Prime'][0x0][_0xafd62(0x276)][_0xafd62(0x3c5)];Array['isArray'](_0x127821)&&_0x127821['length']&&_0xf6ec35[_0xafd62(0x2b8)](_0x127821,{'unitId':_0x44c61e,'subUnitId':_0x44c61e},!0x1);}};_0x16e8f2=_0x42e18e([_0x3e339d(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x3e339d(0x1,_0x48fdef['ITransformService'])],_0x16e8f2);var _0x51fbdb=Object[_0x4624f5(0x272)],_0x485991=(_0x5b2727,_0x12d06e,_0x56d4d4,_0x5a2083)=>{for(var _0x5e01b0=_0x5a2083>0x1?void 0x0:_0x5a2083?_0x51fbdb(_0x12d06e,_0x56d4d4):_0x12d06e,_0x2024d9=_0x5b2727['length']-0x1,_0x587b4a;_0x2024d9>=0x0;_0x2024d9--)(_0x587b4a=_0x5b2727[_0x2024d9])&&(_0x5e01b0=_0x587b4a(_0x5e01b0)||_0x5e01b0);return _0x5e01b0;},_0xb392fd=(_0x2ba211,_0x2aba97)=>(_0x45d113,_0x582c43)=>_0x2aba97(_0x45d113,_0x582c43,_0x2ba211);let _0x41f840=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x3155a2,_0x5739f4,_0x407101,_0x43c9c1,_0x22486e,_0x4f5593,_0x139f99,_0x1b07de){const _0x124180=_0x4624f5;super(),_0x47bfcc(this,_0x124180(0x3e7),new _0x66cc31[(_0x124180(0x41e))](_0x46104e['CollaborationStatus']['NOT_COLLAB'])),(this[_0x124180(0x22e)]=_0x3155a2,this[_0x124180(0x2c0)]=_0x5739f4,this['_docTransformIMECacheService']=_0x407101,this['_docTransformStateCacheService']=_0x43c9c1,this[_0x124180(0x1df)]=_0x22486e,this[_0x124180(0x2eb)]=_0x4f5593,this[_0x124180(0x47b)]=_0x139f99,this[_0x124180(0x23c)]=_0x1b07de,this[_0x124180(0x21d)]());}[_0x4624f5(0x21d)](){const _0x4fe9e4=_0x4624f5;this[_0x4fe9e4(0x30f)](this[_0x4fe9e4(0x2c0)][_0x4fe9e4(0x43c)][_0x4fe9e4(0x26b)](_0x5531b7=>{const _0x1049b=_0x4fe9e4,_0x243c49=this['_docStateChangeManagerService'][_0x1049b(0x2fa)]['subscribe'](_0x1e31c9=>{const _0x3cf30c=_0x1049b;if(_0x1e31c9==null)return;const {unitId:_0x1c2a68,redoState:_0x2d92c6,commandId:_0x29b2bc}=_0x1e31c9;if(_0x1c2a68!==_0x5531b7['unitID'])return;const _0x1665c8={'id':_0x29b2bc,'type':_0x161ac6[_0x3cf30c(0x367)]['MUTATION'],'params':{'unitId':_0x1c2a68,'actions':_0x2d92c6[_0x3cf30c(0x31c)],'textRanges':null}};_0x5531b7['onLocalMutation'](_0x1665c8);});if(_0x5531b7[_0x1049b(0x30f)](_0x243c49),_0x5531b7 instanceof _0x46104e[_0x1049b(0x465)]){const _0x1b75b4={'onTransformIME':_0xf94ca=>this[_0x1049b(0x3d4)]['transformIMECache'](_0xf94ca),'onTransformState':_0xc0a988=>this[_0x1049b(0x3d3)]['transformStateCache'](_0xc0a988),'onTransformSelections':_0x1ba053=>this[_0x1049b(0x1df)][_0x1049b(0x297)](_0x1ba053),'onSyncEditingCollabCursor':_0x3f76d3=>this[_0x1049b(0x2eb)][_0x1049b(0x26c)](_0x3f76d3),'onTransformRemoteChangesetByIMECache':_0x4b6beb=>this['_docTransformIMECacheService'][_0x1049b(0x3c2)](_0x4b6beb),'onTransformRemoteChangesetByStateCache':_0x1604a9=>this[_0x1049b(0x3d3)][_0x1049b(0x3c2)](_0x1604a9)};_0x5531b7[_0x1049b(0x1e3)](_0x1b75b4);}}));}};_0x41f840=_0x485991([_0xb392fd(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x5d4e8b[_0x4624f5(0x3f0)])),_0xb392fd(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x23f)])),_0xb392fd(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x6698d6)),_0xb392fd(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0xa7a54c)),_0xb392fd(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x16e8f2)),_0xb392fd(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x360498)),_0xb392fd(0x6,_0x4291c6['IMessageService']),_0xb392fd(0x7,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['LocaleService']))],_0x41f840);var _0x5a1443=(_0x5ceda4=>(_0x5ceda4[_0x5ceda4[_0x4624f5(0x451)]=0x0]=_0x4624f5(0x451),_0x5ceda4[_0x5ceda4['OK']=0x1]='OK',_0x5ceda4[_0x5ceda4['INTERNAL_ERROR']=0x2]=_0x4624f5(0x313),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2a5)]=0x3]=_0x4624f5(0x2a5),_0x5ceda4[_0x5ceda4['NOT_FOUND']=0x4]=_0x4624f5(0x47e),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1d0)]=0x5]='UNAUTHENTICATED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x364)]=0x6]='ALREADY_EXISTS',_0x5ceda4[_0x5ceda4[_0x4624f5(0x259)]=0x7]=_0x4624f5(0x259),_0x5ceda4[_0x5ceda4['TOO_MANY_REQUESTS']=0x8]=_0x4624f5(0x308),_0x5ceda4[_0x5ceda4['COMPLETION_FINISHED']=0x9]=_0x4624f5(0x2b4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2ac)]=0xa]=_0x4624f5(0x2ac),_0x5ceda4[_0x5ceda4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4624f5(0x3b1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x30e)]=0xc]=_0x4624f5(0x30e),_0x5ceda4[_0x5ceda4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4624f5(0x375),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1e4)]=0xe]=_0x4624f5(0x1e4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x40f)]=0xf]=_0x4624f5(0x40f),_0x5ceda4[_0x5ceda4[_0x4624f5(0x267)]=0x10]=_0x4624f5(0x267),_0x5ceda4[_0x5ceda4['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x4624f5(0x439),_0x5ceda4[_0x5ceda4[_0x4624f5(0x200)]=0x65]=_0x4624f5(0x200),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3b3)]=0xc9]=_0x4624f5(0x3b3),_0x5ceda4[_0x5ceda4['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5ceda4[_0x5ceda4['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2f1)]=0x1771]=_0x4624f5(0x2f1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x4a0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x32a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5ceda4[_0x5ceda4[_0x4624f5(0x22d)]=0x1b59]=_0x4624f5(0x22d),_0x5ceda4[_0x5ceda4[_0x4624f5(0x39b)]=0x1b5a]=_0x4624f5(0x39b),_0x5ceda4[_0x5ceda4[_0x4624f5(0x365)]=0x1b5b]=_0x4624f5(0x365),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2df)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x21f)]=0x1b5d]='APPLY_DUPLICATED',_0x5ceda4[_0x5ceda4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4624f5(0x2ed),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1e7)]=0x2329]=_0x4624f5(0x1e7),_0x5ceda4[_0x5ceda4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4624f5(0x46e),_0x5ceda4[_0x5ceda4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4624f5(0x248),_0x5ceda4[_0x5ceda4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4624f5(0x20f),_0x5ceda4[_0x5ceda4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4624f5(0x347),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2d6)]=0x2711]=_0x4624f5(0x2d6),_0x5ceda4[_0x5ceda4[_0x4624f5(0x257)]=0x2712]=_0x4624f5(0x257),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3ca)]=0x2713]=_0x4624f5(0x3ca),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1f1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5ceda4[_0x5ceda4[_0x4624f5(0x235)]=0x271a]=_0x4624f5(0x235),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1cf)]=0x271b]=_0x4624f5(0x1cf),_0x5ceda4[_0x5ceda4[_0x4624f5(0x291)]=0x271c]=_0x4624f5(0x291),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2ad)]=0x271d]=_0x4624f5(0x2ad),_0x5ceda4[_0x5ceda4[_0x4624f5(0x262)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5ceda4[_0x5ceda4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2e4)]=0x2720]=_0x4624f5(0x2e4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x473)]=0x2af9]=_0x4624f5(0x473),_0x5ceda4[_0x5ceda4[_0x4624f5(0x229)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5ceda4[_0x5ceda4['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2a3)]=0x2ee3]=_0x4624f5(0x2a3),_0x5ceda4[_0x5ceda4['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2fb)]=0x2ee5]=_0x4624f5(0x2fb),_0x5ceda4[_0x5ceda4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4624f5(0x2c1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x277)]=0x32ca]=_0x4624f5(0x277),_0x5ceda4[_0x5ceda4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5ceda4[_0x5ceda4['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4624f5(0x2ea),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1ee)]=0x36b2]=_0x4624f5(0x1ee),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1de)]=0x36b3]=_0x4624f5(0x1de),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3b7)]=0x36b4]=_0x4624f5(0x3b7),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3e6)]=0x3715]=_0x4624f5(0x3e6),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2f9)]=0x3716]=_0x4624f5(0x2f9),_0x5ceda4[_0x5ceda4[_0x4624f5(0x385)]=0x3717]=_0x4624f5(0x385),_0x5ceda4[_0x5ceda4[_0x4624f5(0x369)]=0x37dd]=_0x4624f5(0x369),_0x5ceda4[_0x5ceda4[_0x4624f5(0x232)]=0x3a99]=_0x4624f5(0x232),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3f7)]=0x3a9a]=_0x4624f5(0x3f7),_0x5ceda4[_0x5ceda4[_0x4624f5(0x41c)]=0x3a9b]=_0x4624f5(0x41c),_0x5ceda4[_0x5ceda4[_0x4624f5(0x268)]=0x3a9c]=_0x4624f5(0x268),_0x5ceda4[_0x5ceda4['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4624f5(0x388),_0x5ceda4[_0x5ceda4[_0x4624f5(0x423)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x336)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5ceda4[_0x5ceda4['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4624f5(0x29e),_0x5ceda4[_0x5ceda4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5ceda4))(_0x5a1443||{});function _0x5b982b(_0x29df05){const _0x345493=_0x4624f5;var _0x45588c,_0x970d53;const _0x1f327b=(_0x45588c=_0x29df05[_0x345493(0x42a)])==null?void 0x0:_0x45588c[_0x345493(0x3bb)],_0x2c4028=((_0x970d53=_0x29df05[_0x345493(0x42a)])==null?void 0x0:_0x970d53[_0x345493(0x42b)])||0x0;return _0x1f327b===_0x50020c[_0x345493(0x416)][_0x345493(0x41d)]&&_0x2c4028>0x0;}function _0x2088f2(_0x2ce4d7){const _0x2abe2c=_0x4624f5;return _0x2ce4d7['functionsExecutedState']===_0x50020c[_0x2abe2c(0x3c4)][_0x2abe2c(0x44d)];}var _0x2ac3f3=Object['getOwnPropertyDescriptor'],_0x4d9d48=(_0x1a34ef,_0x341851,_0x3aa090,_0x50e4e7)=>{const _0x24d6a4=_0x4624f5;for(var _0x42d82f=_0x50e4e7>0x1?void 0x0:_0x50e4e7?_0x2ac3f3(_0x341851,_0x3aa090):_0x341851,_0x3e055d=_0x1a34ef[_0x24d6a4(0x1e5)]-0x1,_0x207251;_0x3e055d>=0x0;_0x3e055d--)(_0x207251=_0x1a34ef[_0x3e055d])&&(_0x42d82f=_0x207251(_0x42d82f)||_0x42d82f);return _0x42d82f;},_0x18dac4=(_0x2ce19b,_0x2476ef)=>(_0x245232,_0x10710c)=>_0x2476ef(_0x245232,_0x10710c,_0x2ce19b);const _0x3f8613='/universer-api/license/formula/limit/status',_0x446ba0=_0x4624f5(0x299),_0x14fb45=_0x4624f5(0x392);let _0x35cb3d=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x58b5e9,_0x2d38f9,_0x2dad49,_0x1610d,_0x12a469,_0x4a1ef0,_0x2b95d1){const _0xfff95b=_0x4624f5;super(),_0x47bfcc(this,_0xfff95b(0x44f),null),_0x47bfcc(this,_0xfff95b(0x320),0x0),_0x47bfcc(this,_0xfff95b(0x3c3),0x0),_0x47bfcc(this,_0xfff95b(0x3f3),[]),_0x47bfcc(this,_0xfff95b(0x389),0x0),(this[_0xfff95b(0x47b)]=_0x58b5e9,this[_0xfff95b(0x43a)]=_0x2d38f9,this[_0xfff95b(0x415)]=_0x2dad49,this[_0xfff95b(0x373)]=_0x1610d,this[_0xfff95b(0x485)]=_0x12a469,this[_0xfff95b(0x3a2)]=_0x4a1ef0,this[_0xfff95b(0x23c)]=_0x2b95d1,this[_0xfff95b(0x202)]());}[_0x4624f5(0x202)](){const _0x17e65a=_0x4624f5;this[_0x17e65a(0x30f)](this['_commandService'][_0x17e65a(0x355)]((_0x46da84,_0x3904e2)=>{const _0x548cd2=_0x17e65a;var _0x43c55a;if(_0x46da84['id']!==_0x50020c['SetFormulaCalculationStartMutation']['id'])return;const _0x40e99a=_0x46da84['params'];if(!this[_0x548cd2(0x24b)]((_0x43c55a=_0x40e99a[_0x548cd2(0x39c)])!=null?_0x43c55a:[]))return;if(!this[_0x548cd2(0x2af)]())throw this['_checkAndWaitForCalculationPermission'](_0x46da84,_0x3904e2),this[_0x548cd2(0x1ec)](),new _0x161ac6[(_0x548cd2(0x3e8))]();})),this[_0x17e65a(0x30f)](this[_0x17e65a(0x43a)][_0x17e65a(0x391)]((_0x11799f,_0x5c6828)=>{const _0x55ff92=_0x17e65a;if(_0x11799f['id']!==_0x50020c[_0x55ff92(0x1ce)]['id'])return;const _0x20c17e=_0x11799f[_0x55ff92(0x276)];if(_0x5b982b(_0x20c17e)){const _0x235f3a=_0x161ac6[_0x55ff92(0x497)]();this[_0x55ff92(0x3f3)]['push'](_0x235f3a),this[_0x55ff92(0x20d)](_0x235f3a);}else{if(_0x2088f2(_0x20c17e)&&this[_0x55ff92(0x3f3)][_0x55ff92(0x1e5)]>0x0){const _0x1f3da8=this[_0x55ff92(0x3f3)][_0x55ff92(0x35c)]();this[_0x55ff92(0x1d4)](_0x1f3da8);}}}));}[_0x4624f5(0x214)](){const _0x23ce92=_0x4624f5;super[_0x23ce92(0x214)](),this[_0x23ce92(0x3e9)](),this[_0x23ce92(0x3f3)]=[],this[_0x23ce92(0x3c3)]=0x0,this[_0x23ce92(0x320)]=0x0,this[_0x23ce92(0x389)]=0x0;}async[_0x4624f5(0x45f)](_0x101b15,_0x4c4502){const _0x69e3cd=_0x4624f5;for(let _0x1f82d6=0x0;_0x1f82d6<0x1e;_0x1f82d6++)try{if(await this[_0x69e3cd(0x459)](),this['_checkCalculationAvailable']()){this[_0x69e3cd(0x47a)](_0x101b15,_0x4c4502),this[_0x69e3cd(0x47b)][_0x69e3cd(0x27d)]({'content':this[_0x69e3cd(0x23c)]['t']('formula.calculation.started'),'type':_0x37af48[_0x69e3cd(0x366)][_0x69e3cd(0x292)]});return;}await new Promise(_0xc5a6ab=>{const _0x21d217=_0x69e3cd;this[_0x21d217(0x44f)]=window['setTimeout'](_0xc5a6ab,0x3e8);});}catch(_0x16db0a){this[_0x69e3cd(0x3a2)][_0x69e3cd(0x3ff)](_0x16db0a);}this[_0x69e3cd(0x47b)][_0x69e3cd(0x27d)]({'content':this[_0x69e3cd(0x23c)]['t']('formula.calculation.unable'),'type':_0x37af48[_0x69e3cd(0x366)][_0x69e3cd(0x368)]});}['_applyCommand'](_0x55cf87,_0x4620fa){const _0x531796=_0x4624f5;try{this[_0x531796(0x43a)][_0x531796(0x225)](_0x55cf87['id'],_0x55cf87[_0x531796(0x276)],_0x4620fa);}catch(_0x5b95c0){this[_0x531796(0x3a2)][_0x531796(0x3ff)](_0x5b95c0);}}[_0x4624f5(0x237)](_0x327078,_0x40d1be){const _0x43e82c=_0x4624f5;_0x40d1be<this[_0x43e82c(0x389)]||(this[_0x43e82c(0x389)]=_0x40d1be,this[_0x43e82c(0x320)]=Number[_0x43e82c(0x3ab)](_0x327078[_0x43e82c(0x2e7)]),this[_0x43e82c(0x3c3)]=Number['parseInt'](_0x327078['currentUsage']));}async[_0x4624f5(0x20d)](_0x4e5f43){const _0x4b7fe2=_0x4624f5;var _0x34fcc9,_0x5dd860;const _0x4a35a6=Date[_0x4b7fe2(0x480)]();try{const _0x3eaa02=((_0x34fcc9=this[_0x4b7fe2(0x415)]['getConfig'](_0x46104e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x34fcc9[_0x4b7fe2(0x43f)])||_0x446ba0,_0x24ec91=(await this['_httpService']['post'](_0x3eaa02,{'body':JSON[_0x4b7fe2(0x3e3)]({'taskId':_0x4e5f43})}))['body'];if(((_0x5dd860=_0x24ec91['error'])==null?void 0x0:_0x5dd860[_0x4b7fe2(0x429)])!==_0x5a1443['OK'])return;this[_0x4b7fe2(0x237)](_0x24ec91[_0x4b7fe2(0x410)],_0x4a35a6);}catch(_0x29ceba){this['_logService'][_0x4b7fe2(0x3ff)](_0x29ceba);}}async[_0x4624f5(0x459)](_0x30eb24){const _0x23e231=_0x4624f5;var _0x376444,_0x3d42dc;const _0x1d2c48=Date['now']();try{const _0x348652=((_0x376444=this[_0x23e231(0x415)][_0x23e231(0x310)](_0x46104e[_0x23e231(0x33c)]))==null?void 0x0:_0x376444[_0x23e231(0x33b)])||_0x3f8613,_0x40014e=_0x30eb24?_0x348652+'?taskId='+encodeURIComponent(_0x30eb24):_0x348652,_0x1d04c7=(await this[_0x23e231(0x373)][_0x23e231(0x333)](_0x40014e))[_0x23e231(0x3d0)];if(((_0x3d42dc=_0x1d04c7[_0x23e231(0x3ff)])==null?void 0x0:_0x3d42dc['code'])!==_0x5a1443['OK'])return;this['_setFormulaLimitStatus'](_0x1d04c7[_0x23e231(0x410)],_0x1d2c48);}catch(_0x308174){this[_0x23e231(0x3a2)]['error'](_0x308174);}}async['_releaseCalculationLimit'](_0x51cea0){const _0x348fd5=_0x4624f5;var _0x3ad1c9,_0x2f7f0a;const _0x4295ff=Date['now']();try{const _0x150e09=((_0x3ad1c9=this['_configService'][_0x348fd5(0x310)](_0x46104e[_0x348fd5(0x33c)]))==null?void 0x0:_0x3ad1c9[_0x348fd5(0x1eb)])||_0x14fb45,_0x5381c1=(await this[_0x348fd5(0x373)]['post'](_0x150e09,{'body':JSON[_0x348fd5(0x3e3)]({'taskId':_0x51cea0})}))['body'];if(((_0x2f7f0a=_0x5381c1['error'])==null?void 0x0:_0x2f7f0a[_0x348fd5(0x429)])!==_0x5a1443['OK'])return;this['_setFormulaLimitStatus'](_0x5381c1[_0x348fd5(0x410)],_0x4295ff);}catch(_0x38cbc7){this[_0x348fd5(0x3a2)][_0x348fd5(0x3ff)](_0x38cbc7);}}[_0x4624f5(0x2af)](){const _0x4a6dae=_0x4624f5;return this[_0x4a6dae(0x320)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x4a6dae(0x3c3)]>0x0;}[_0x4624f5(0x3e9)](){const _0x317336=_0x4624f5;this[_0x317336(0x44f)]&&(clearTimeout(this[_0x317336(0x44f)]),this[_0x317336(0x44f)]=null);}[_0x4624f5(0x1ec)](){const _0x2f312c=_0x4624f5;this[_0x2f312c(0x47b)][_0x2f312c(0x27d)]({'content':this[_0x2f312c(0x23c)]['t']('formula.calculation.waiting'),'type':_0x37af48[_0x2f312c(0x366)][_0x2f312c(0x3ee)]});}[_0x4624f5(0x24b)](_0x16db6e){const _0x52a069=_0x4624f5;for(const _0x4780fc of _0x16db6e){const {unitId:_0x3a0bb8,sheetId:_0x5cf83c,range:_0x120e3d}=_0x4780fc,_0x930c3e=this[_0x52a069(0x485)][_0x52a069(0x3cb)](_0x3a0bb8);if(!_0x930c3e)continue;const _0x276474=_0x930c3e['getSheetBySheetId'](_0x5cf83c);if(!_0x276474)continue;const _0x1bbdad=_0x276474[_0x52a069(0x263)]();for(let _0x530494=_0x120e3d['startRow'];_0x530494<=_0x120e3d[_0x52a069(0x3fc)];_0x530494++)for(let _0x46a3e3=_0x120e3d[_0x52a069(0x2cd)];_0x46a3e3<=_0x120e3d[_0x52a069(0x3f9)];_0x46a3e3++){const _0x288878=_0x1bbdad[_0x52a069(0x3dc)](_0x530494,_0x46a3e3);if(_0x288878&&(_0x161ac6[_0x52a069(0x326)](_0x288878['f'])||_0x161ac6[_0x52a069(0x321)](_0x288878['si'])))return!0x0;}}return!0x1;}};_0x35cb3d=_0x4d9d48([_0x18dac4(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x4291c6[_0x4624f5(0x337)])),_0x18dac4(0x1,_0x161ac6[_0x4624f5(0x41a)]),_0x18dac4(0x2,_0x161ac6[_0x4624f5(0x343)]),_0x18dac4(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x18dac4(0x4,_0x161ac6[_0x4624f5(0x37d)]),_0x18dac4(0x5,_0x161ac6[_0x4624f5(0x210)]),_0x18dac4(0x6,_0x161ac6['Inject'](_0x161ac6[_0x4624f5(0x25a)]))],_0x35cb3d);var _0xfc29a9=Object[_0x4624f5(0x272)],_0x178809=(_0x2a0a4b,_0x5dbc4a,_0x47e7da,_0x3e573c)=>{const _0x4484a3=_0x4624f5;for(var _0x246796=_0x3e573c>0x1?void 0x0:_0x3e573c?_0xfc29a9(_0x5dbc4a,_0x47e7da):_0x5dbc4a,_0x289a78=_0x2a0a4b[_0x4484a3(0x1e5)]-0x1,_0x584463;_0x289a78>=0x0;_0x289a78--)(_0x584463=_0x2a0a4b[_0x289a78])&&(_0x246796=_0x584463(_0x246796)||_0x246796);return _0x246796;},_0x56963f=(_0x45f3f1,_0x44dc63)=>(_0x453083,_0x2acc20)=>_0x44dc63(_0x453083,_0x2acc20,_0x45f3f1);let _0x4673bd=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x546d27,_0x5603fb,_0x499217){const _0x763431=_0x4624f5;super(),_0x47bfcc(this,_0x763431(0x3ce),new Map()),_0x47bfcc(this,_0x763431(0x1fb),new Map()),_0x47bfcc(this,'_disabled',!0x1),(this[_0x763431(0x415)]=_0x546d27,this[_0x763431(0x2f2)]=_0x5603fb,this[_0x763431(0x25c)]=_0x499217);}[_0x4624f5(0x448)](){this['_disabled']=!0x0;}[_0x4624f5(0x35a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4624f5(0x214)](){const _0x3e2c85=_0x4624f5;this[_0x3e2c85(0x324)]()[_0x3e2c85(0x2e0)](()=>super[_0x3e2c85(0x214)]());}async['loadOfflineData'](_0x2694b9){const _0x1eb06f=_0x4624f5;return this['_disabled']?null:this['_localStorageService'][_0x1eb06f(0x3d6)](_0x46104e[_0x1eb06f(0x319)](_0x2694b9));}async[_0x4624f5(0x311)](_0x5315e4,_0x2ae806){const _0x49aa6d=_0x4624f5;return!!this[_0x49aa6d(0x2f2)][_0x49aa6d(0x332)](_0x5315e4,_0x2ae806);}['updateOfflineData'](_0xfd2cab,_0x561fea,_0x40a660,_0x2413ff){const _0x414ed8=_0x4624f5,_0x5a1758=this[_0x414ed8(0x25c)]['getCurrentRevOfUnit'](_0xfd2cab);this[_0x414ed8(0x3ce)]['set'](_0xfd2cab,{'unitID':_0xfd2cab,'type':_0x561fea,'awaitingChangeset':_0x40a660,'mutations':_0x2413ff,'rev':_0x5a1758}),this[_0x414ed8(0x1fb)][_0x414ed8(0x390)](_0xfd2cab)||this[_0x414ed8(0x456)](_0xfd2cab);}[_0x4624f5(0x456)](_0x3083e4){const _0x368b10=_0x4624f5,_0x198619=this[_0x368b10(0x300)]();_0x198619===0x0?this[_0x368b10(0x3b6)](_0x3083e4):this[_0x368b10(0x1fb)][_0x368b10(0x3d5)](_0x3083e4,setTimeout(()=>this[_0x368b10(0x3b6)](_0x3083e4),_0x198619));}['_getSaveTimeout'](){const _0x516b3e=_0x4624f5;var _0x43ba0a;return(_0x43ba0a=this[_0x516b3e(0x415)]['getConfig'](_0x46104e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x43ba0a:_0x46104e['LOCAL_CACHE_INTERVAL'];}[_0x4624f5(0x3b6)](_0x1c13ea){const _0x4decf5=_0x4624f5,_0x4dc18b=this[_0x4decf5(0x1fb)]['get'](_0x1c13ea);return _0x4dc18b!==void 0x0&&window[_0x4decf5(0x435)](_0x4dc18b),this[_0x4decf5(0x2f2)]['setItem'](_0x46104e['getLocalCacheKey'](_0x1c13ea),this[_0x4decf5(0x3ce)][_0x4decf5(0x333)](_0x1c13ea))[_0x4decf5(0x2e0)](()=>this[_0x4decf5(0x1fb)][_0x4decf5(0x40e)](_0x1c13ea));}async[_0x4624f5(0x324)](){const _0x12cfb7=_0x4624f5,_0x3e7908=[];this[_0x12cfb7(0x1fb)]['forEach']((_0x385f05,_0x4038a9)=>{const _0x5ca9ac=_0x12cfb7;window['clearTimeout'](_0x385f05),_0x3e7908[_0x5ca9ac(0x426)](this[_0x5ca9ac(0x3b6)](_0x4038a9)[_0x5ca9ac(0x2e0)](()=>{const _0x781732=_0x5ca9ac;this[_0x781732(0x1fb)][_0x781732(0x40e)](_0x4038a9);}));}),await Promise[_0x12cfb7(0x42e)](_0x3e7908);}};_0x4673bd=_0x178809([_0x56963f(0x0,_0x161ac6[_0x4624f5(0x343)]),_0x56963f(0x1,_0x161ac6[_0x4624f5(0x2ee)]),_0x56963f(0x2,_0x161ac6['Inject'](_0x48fdef['RevisionService']))],_0x4673bd);class _0x49e0db extends _0x161ac6['RxDisposable']{constructor(){const _0x17f0c9=_0x4624f5;super(),_0x47bfcc(this,_0x17f0c9(0x23e)),this[_0x17f0c9(0x23e)]=_0x66cc31[_0x17f0c9(0x38d)](window,_0x17f0c9(0x3a5))[_0x17f0c9(0x1ef)](_0x66cc31[_0x17f0c9(0x45d)](this[_0x17f0c9(0x289)]),_0x66cc31[_0x17f0c9(0x496)](0x1),_0x66cc31[_0x17f0c9(0x46b)](void 0x0));}[_0x4624f5(0x2c9)](_0x448091,_0x14555d,_0x5ce2c9=!0x1){const _0x10e6be=_0x4624f5,_0x14b27e=new URL(window[_0x10e6be(0x227)][_0x10e6be(0x33e)]);_0x14b27e['searchParams'][_0x10e6be(0x3d5)](_0x448091,_0x14555d),_0x5ce2c9?window['history'][_0x10e6be(0x445)]('','',_0x14b27e['toString']()):window['history']['pushState']('','',_0x14b27e[_0x10e6be(0x266)]());}[_0x4624f5(0x39d)](_0x85c3d8,_0x540f59=!0x1){const _0x3b5705=_0x4624f5,_0x3b51b3=new URL(window['location'][_0x3b5705(0x33e)]);_0x3b51b3[_0x3b5705(0x357)]['delete'](_0x85c3d8),_0x540f59?window[_0x3b5705(0x3c6)][_0x3b5705(0x445)]('','',_0x3b51b3['toString']()):window['history'][_0x3b5705(0x3fb)]('','',_0x3b51b3[_0x3b5705(0x266)]());}[_0x4624f5(0x3cd)](_0x1a6025){const _0x58f1aa=_0x4624f5;var _0x2bd162;return(_0x2bd162=new URL(window['location'][_0x58f1aa(0x33e)])[_0x58f1aa(0x357)][_0x58f1aa(0x333)](_0x1a6025))!=null?_0x2bd162:void 0x0;}}var _0x2cdf0a=Object[_0x4624f5(0x340)],_0x1a810a=Object['getOwnPropertyDescriptor'],_0x49289e=(_0x32a4ee,_0x2a34ac,_0x59f67e)=>_0x2a34ac in _0x32a4ee?_0x2cdf0a(_0x32a4ee,_0x2a34ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f67e}):_0x32a4ee[_0x2a34ac]=_0x59f67e,_0x4057e8=(_0x41faf3,_0x45e67e,_0x3447d1,_0x410bed)=>{const _0x11c49b=_0x4624f5;for(var _0x1fbf22=_0x410bed>0x1?void 0x0:_0x410bed?_0x1a810a(_0x45e67e,_0x3447d1):_0x45e67e,_0x4efb20=_0x41faf3[_0x11c49b(0x1e5)]-0x1,_0x4ed5ce;_0x4efb20>=0x0;_0x4efb20--)(_0x4ed5ce=_0x41faf3[_0x4efb20])&&(_0x1fbf22=_0x4ed5ce(_0x1fbf22)||_0x1fbf22);return _0x1fbf22;},_0x45387b=(_0x41761c,_0x1ee7b3)=>(_0x4d0bbc,_0xfe0718)=>_0x1ee7b3(_0x4d0bbc,_0xfe0718,_0x41761c),_0x5efc18=(_0x502a18,_0x32440e,_0x52311d)=>_0x49289e(_0x502a18,_0x32440e+'',_0x52311d);const _0x2e2247='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46875a['UniverCollaborationClientUIPlugin']=class extends _0x161ac6[_0x4624f5(0x24a)]{constructor(_0x367569=_0xbf724b,_0x3f7d35,_0x11a6d0,_0x54f727){const _0x147342=_0x4624f5;super(),this[_0x147342(0x419)]=_0x367569,this[_0x147342(0x338)]=_0x3f7d35,this['_injector']=_0x11a6d0,this['_configService']=_0x54f727;const {..._0x5eeb18}=_0x161ac6[_0x147342(0x348)]({},_0xbf724b,this['_config']);this[_0x147342(0x415)][_0x147342(0x441)](_0x2f76a0,_0x5eeb18);}['onStarting'](){const _0x4a5d5d=_0x4624f5;this[_0x4a5d5d(0x325)](),this[_0x4a5d5d(0x40b)]();}[_0x4624f5(0x43d)](){const _0x4d862f=_0x4624f5;this[_0x4d862f(0x286)]();}[_0x4624f5(0x325)](){const _0x40b94f=_0x4624f5;var _0xc12153;const _0x4267be=[[_0x1846fc],[_0x35cb3d],[_0x16e8f2],[_0x6698d6],[_0xa7a54c],[_0x360498],[_0x5a3a5f,{'useClass':_0x49e0db}],[_0x4db2d9[_0x40b94f(0x3be)],{'useClass':_0x4db2d9[_0x40b94f(0x239)]}],[_0x46104e[_0x40b94f(0x49d)],{'useClass':_0x4673bd}],[_0x46875a[_0x40b94f(0x492)]],[_0x41f840],[_0x1a48d1],[_0x1508be],[_0x665a7a],[_0x46875a['CollaborationDataLoaderController']]];_0x161ac6[_0x40b94f(0x381)](this[_0x40b94f(0x298)],_0x161ac6['mergeOverrideWithDependencies'](_0x4267be,(_0xc12153=this['_config'])==null?void 0x0:_0xc12153[_0x40b94f(0x280)]));}[_0x4624f5(0x286)](){const _0x511404=_0x4624f5;this[_0x511404(0x30f)](this[_0x511404(0x338)]['registerRenderModule'](_0x161ac6[_0x511404(0x2d9)][_0x511404(0x23d)],[_0x47d0f4])),this[_0x511404(0x30f)](this['_renderManagerService']['registerRenderModule'](_0x161ac6[_0x511404(0x2d9)][_0x511404(0x28b)],[_0x2d665f]));}[_0x4624f5(0x40b)](){const _0x1aa9a8=_0x4624f5;_0x161ac6[_0x1aa9a8(0x301)](this[_0x1aa9a8(0x298)],[[_0x1508be],[_0x46875a[_0x1aa9a8(0x492)]],[_0x41f840],[_0x1a48d1],[_0x46875a[_0x1aa9a8(0x25f)]],[_0x35cb3d]]);}},_0x5efc18(_0x46875a['UniverCollaborationClientUIPlugin'],'pluginName',_0x2e2247),_0x46875a[_0x4624f5(0x3ae)]=_0x4057e8([_0x161ac6[_0x4624f5(0x48f)](_0x46104e[_0x4624f5(0x1db)]),_0x45387b(0x1,_0x1fade8['IRenderManagerService']),_0x45387b(0x2,_0x161ac6['Inject'](_0x161ac6[_0x4624f5(0x2c2)])),_0x45387b(0x3,_0x161ac6[_0x4624f5(0x343)])],_0x46875a[_0x4624f5(0x3ae)]);var _0x4c2125=Object['getOwnPropertyDescriptor'],_0x6768c0=(_0x27b955,_0x42dc63,_0x1c9e69,_0x567291)=>{const _0x20b807=_0x4624f5;for(var _0x80e7d9=_0x567291>0x1?void 0x0:_0x567291?_0x4c2125(_0x42dc63,_0x1c9e69):_0x42dc63,_0x347aeb=_0x27b955[_0x20b807(0x1e5)]-0x1,_0x435d90;_0x347aeb>=0x0;_0x347aeb--)(_0x435d90=_0x27b955[_0x347aeb])&&(_0x80e7d9=_0x435d90(_0x80e7d9)||_0x80e7d9);return _0x80e7d9;},_0x53b6af=(_0x3e492b,_0x57d939)=>(_0x3b8d27,_0x8b69c3)=>_0x57d939(_0x3b8d27,_0x8b69c3,_0x3e492b);_0x46875a[_0x4624f5(0x417)]=class extends _0x46104e[_0x4624f5(0x314)]{constructor(_0x184e66,_0x2bf2ad,_0x4d1552,_0x403921,_0x58e700){super(_0x184e66,_0x2bf2ad,_0x4d1552,_0x403921,_0x58e700);}async[_0x4624f5(0x408)](_0x4be928){const _0x637255=_0x4624f5,_0x1ffe02=await this[_0x637255(0x1d9)](),_0xb0ee1d=this['_createSocketURL'](_0x4be928,_0x1ffe02);return this[_0x637255(0x2db)](_0xb0ee1d);}[_0x4624f5(0x431)](_0x1cc26e,_0x18ee55){const _0x2144f5=_0x4624f5,_0x70f96c=typeof window>'u'?new URL(_0x1cc26e):new URL(_0x1cc26e,window['location']['origin']);_0x70f96c[_0x2144f5(0x357)][_0x2144f5(0x3d5)](_0x2144f5(0x2d2),_0x18ee55);const _0x157335=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x157335[_0x2144f5(0x333)](_0x2144f5(0x2da))&&_0x70f96c['searchParams'][_0x2144f5(0x3d5)](_0x2144f5(0x2da),_0x157335[_0x2144f5(0x333)](_0x2144f5(0x2da))),_0x70f96c[_0x2144f5(0x266)]();}async['_getSessionTicket'](){const _0x36f71d=_0x4624f5;var _0x37994d,_0x40a5c4,_0x554bc4;const _0x2102bc=this['_configService'][_0x36f71d(0x310)](_0x46104e[_0x36f71d(0x33c)]),_0x5c35b7=(_0x37994d=_0x2102bc==null?void 0x0:_0x2102bc[_0x36f71d(0x35f)])!=null?_0x37994d:_0x46104e[_0x36f71d(0x2a2)];return(_0x554bc4=(_0x40a5c4=(await this[_0x36f71d(0x373)]['get'](_0x5c35b7,{'headers':{'Content-Type':_0x36f71d(0x48b)}}))[_0x36f71d(0x3d0)])==null?void 0x0:_0x40a5c4['ticket'])!=null?_0x554bc4:'';}},_0x46875a[_0x4624f5(0x417)]=_0x6768c0([_0x53b6af(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x53b6af(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x53b6af(0x2,_0x161ac6[_0x4624f5(0x343)]),_0x53b6af(0x3,_0x161ac6[_0x4624f5(0x210)]),_0x53b6af(0x4,_0x48fdef['ISnapshotServerService'])],_0x46875a[_0x4624f5(0x417)]);var _0x1a0c68=Object[_0x4624f5(0x272)],_0x18e6da=(_0x5e0b66,_0x30c15b,_0x2feb64,_0x105b05)=>{const _0x146a5e=_0x4624f5;for(var _0x2d0d3b=_0x105b05>0x1?void 0x0:_0x105b05?_0x1a0c68(_0x30c15b,_0x2feb64):_0x30c15b,_0x4afebb=_0x5e0b66[_0x146a5e(0x1e5)]-0x1,_0x371b2d;_0x4afebb>=0x0;_0x4afebb--)(_0x371b2d=_0x5e0b66[_0x4afebb])&&(_0x2d0d3b=_0x371b2d(_0x2d0d3b)||_0x2d0d3b);return _0x2d0d3b;},_0x1c64a7=(_0x8106f,_0x486c9e)=>(_0x164830,_0x57913a)=>_0x486c9e(_0x164830,_0x57913a,_0x8106f);_0x46875a[_0x4624f5(0x3a4)]=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x50c1b9,_0x8c480e,_0x31eab8){const _0x2c81ee=_0x4624f5;super(),this[_0x2c81ee(0x34a)]=_0x50c1b9,this['_httpService']=_0x8c480e,this[_0x2c81ee(0x415)]=_0x31eab8;}async[_0x4624f5(0x294)](_0x59dece,_0x49782c,_0xde71e4,..._0x53bdf0){const _0x3fce4d=_0x4624f5;var _0x34e900,_0x5369d0,_0x5b9f56,_0x271a72;const _0x1f2a18=this[_0x3fce4d(0x34a)][_0x3fce4d(0x45a)]();if(!_0x1f2a18)throw new Error(_0x3fce4d(0x247));const _0x68dcb2=((_0x34e900=this[_0x3fce4d(0x415)][_0x3fce4d(0x310)](_0x46104e[_0x3fce4d(0x469)]))!=null?_0x34e900:_0x46104e[_0x3fce4d(0x26d)])+'/'+_0x59dece+_0x3fce4d(0x490)+_0x49782c,_0x138dcc=new URL(window[_0x3fce4d(0x227)]['href']),_0x4a9470={'scriptId':_0x59dece,'runId':(_0x5369d0=_0x138dcc[_0x3fce4d(0x357)][_0x3fce4d(0x333)](_0x3fce4d(0x2da)))!=null?_0x5369d0:'','function':_0x49782c,'unitId':_0x1f2a18['getUnitId'](),'argsOfFunction':JSON[_0x3fce4d(0x3e3)](_0x53bdf0),'invokeId':(_0x5b9f56=_0xde71e4['invokeId'])!=null?_0x5b9f56:'','executionId':(_0x271a72=_0xde71e4[_0x3fce4d(0x2ec)])!=null?_0x271a72:''};try{const _0x301675=await this['_httpService'][_0x3fce4d(0x376)](_0x68dcb2,{'body':_0x4a9470});return _0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x3ff)]&&_0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x3ff)]['code']!==_0x5a1443['OK']?_0x3fce4d(0x443):_0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x233)];}catch{return _0x3fce4d(0x443);}}},_0x46875a['RemoteUniscriptService']=_0x18e6da([_0x1c64a7(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x1c64a7(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x1c64a7(0x2,_0x161ac6['IConfigService'])],_0x46875a[_0x4624f5(0x3a4)]);const _0x44039e=0x7530,_0x21dbfb='ACTIVE_UNIT_EVENT_CHANNEL';class _0xbd79a9 extends _0x161ac6['Disposable']{constructor(){const _0x4aed3f=_0x4624f5;super(),_0x47bfcc(this,_0x4aed3f(0x432),_0x161ac6[_0x4aed3f(0x497)]()),_0x47bfcc(this,_0x4aed3f(0x24f),new Set()),_0x47bfcc(this,'_unitOnClients',new Map()),_0x47bfcc(this,_0x4aed3f(0x40c),null),_0x47bfcc(this,'_clearOtherTimers',new Map()),_0x47bfcc(this,_0x4aed3f(0x29a),new Map()),this[_0x4aed3f(0x48d)]();}[_0x4624f5(0x214)](){const _0x591f57=_0x4624f5;super[_0x591f57(0x214)](),this[_0x591f57(0x1da)][_0x591f57(0x265)]((_0x275f63,_0x4b4519)=>this['_removeClearOtherTimer'](_0x4b4519)),this[_0x591f57(0x40c)]&&window[_0x591f57(0x2e3)](this[_0x591f57(0x40c)]);}[_0x4624f5(0x317)](_0xe4de9a){const _0x58534d=_0x4624f5;return this[_0x58534d(0x2c4)](_0xe4de9a)[_0x58534d(0x1ef)](_0x66cc31['distinctUntilChanged']());}[_0x4624f5(0x21c)](_0x5e63ad){const _0x5f20c8=_0x4624f5;this['_selfUnitIDs'][_0x5f20c8(0x36e)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5f20c8(0x24f)]['add'](_0x5e63ad),this[_0x5f20c8(0x409)]({'type':0x0,'memberID':this[_0x5f20c8(0x432)],'unitIDs':[_0x5e63ad],'isForwarded':!0x1});}[_0x4624f5(0x353)](_0x5ea865){const _0x64953a=_0x4624f5;this[_0x64953a(0x24f)]['delete'](_0x5ea865),this[_0x64953a(0x24f)][_0x64953a(0x36e)]===0x0&&this[_0x64953a(0x40c)]&&window[_0x64953a(0x2e3)](this[_0x64953a(0x40c)]);}[_0x4624f5(0x48d)](){const _0x149284=_0x4624f5;this[_0x149284(0x30f)](_0x161ac6[_0x149284(0x2b9)](_0x66cc31[_0x149284(0x38d)](window,_0x149284(0x30a))[_0x149284(0x26b)](_0x281bc7=>{const _0x2df8c1=_0x149284;if(_0x281bc7[_0x2df8c1(0x220)]!==_0x21dbfb||!_0x281bc7[_0x2df8c1(0x2b1)])return;const _0x929690=JSON[_0x2df8c1(0x34e)](_0x281bc7['newValue']);this[_0x2df8c1(0x2a4)](_0x929690);}))),window[_0x149284(0x283)]('unload',()=>this[_0x149284(0x409)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x149284(0x24f)])}));}['_handleEvent'](_0x5df6d0){const _0x183c67=_0x4624f5;switch(_0x5df6d0[_0x183c67(0x35b)]){case 0x0:this[_0x183c67(0x1d6)](_0x5df6d0);break;case 0x1:this[_0x183c67(0x329)](_0x5df6d0);break;case 0x2:this[_0x183c67(0x3cf)](_0x5df6d0);break;}}[_0x4624f5(0x1d6)](_0x4973dc){const _0x546d0b=_0x4624f5,{unitIDs:_0x56e80b,memberID:_0x5b6ff2,isForwarded:_0x5ead33}=_0x4973dc;_0x56e80b['forEach'](_0x1d3542=>{const _0x4e05a1=_0x1a8e;if(!_0x5ead33&&this[_0x4e05a1(0x2e1)][_0x4e05a1(0x390)](_0x1d3542)&&this[_0x4e05a1(0x2c4)](_0x1d3542)[_0x4e05a1(0x3c9)](_0x46104e['UnitStatus'][_0x4e05a1(0x402)]),!this[_0x4e05a1(0x2e1)][_0x4e05a1(0x390)](_0x1d3542)||!this['_unitOnClients']['get'](_0x1d3542)[_0x4e05a1(0x390)](_0x5b6ff2)){const _0x291a9c=this['_unitOnClients'][_0x4e05a1(0x333)](_0x1d3542)||new Set();_0x291a9c[_0x4e05a1(0x455)](_0x5b6ff2),this[_0x4e05a1(0x2e1)][_0x4e05a1(0x3d5)](_0x1d3542,_0x291a9c),this[_0x4e05a1(0x48c)](_0x5b6ff2);}}),_0x5ead33||this['_send']({'type':0x0,'memberID':this[_0x546d0b(0x432)],'unitIDs':[...this[_0x546d0b(0x24f)]],'isForwarded':!0x0});}[_0x4624f5(0x48c)](_0x2b18c3){const _0x20f15d=_0x4624f5;this[_0x20f15d(0x380)](_0x2b18c3);const _0x3bc30d=window[_0x20f15d(0x1e6)](()=>{const _0xc6e11d=_0x20f15d;this['_unitOnClients'][_0xc6e11d(0x265)](_0x10676d=>{const _0x472708=_0xc6e11d;_0x10676d[_0x472708(0x40e)](_0x2b18c3);});},_0x44039e*0x2);this[_0x20f15d(0x1da)][_0x20f15d(0x3d5)](_0x2b18c3,_0x3bc30d);}[_0x4624f5(0x380)](_0x203423){const _0x125d12=_0x4624f5;if(this[_0x125d12(0x1da)][_0x125d12(0x390)](_0x203423)){const _0x2e9405=this[_0x125d12(0x1da)]['get'](_0x203423);_0x2e9405&&window['clearTimeout'](_0x2e9405),this[_0x125d12(0x1da)][_0x125d12(0x3d5)](_0x203423,null);}}[_0x4624f5(0x329)](_0xbbd737){const _0x24e1bd=_0x4624f5,{memberID:_0x4f2029,unitIDs:_0x430e1a}=_0xbbd737;_0x430e1a[_0x24e1bd(0x265)](_0x55b81e=>{const _0x909a1=_0x24e1bd;var _0x16a7c6;const _0xbb3476=this['_unitOnClients'][_0x909a1(0x333)](_0x55b81e);_0xbb3476&&(_0xbb3476['delete'](_0x4f2029),(_0x16a7c6=this['_ensureSubject'](_0x55b81e))==null||_0x16a7c6[_0x909a1(0x3c9)](_0xbb3476[_0x909a1(0x36e)]===0x0?_0x46104e[_0x909a1(0x2d3)][_0x909a1(0x1cb)]:_0x46104e[_0x909a1(0x2d3)][_0x909a1(0x402)]));}),this[_0x24e1bd(0x380)](_0x4f2029);}[_0x4624f5(0x3cf)](_0x2f8ed6){const _0x3921ff=_0x4624f5;this['_scheduleClearOtherTimer'](_0x2f8ed6[_0x3921ff(0x3de)]);}[_0x4624f5(0x409)](_0x47037d){localStorage['setItem'](_0x21dbfb,JSON['stringify'](_0x47037d));}[_0x4624f5(0x2d4)](){const _0x2a0d68=_0x4624f5;this['_heartbeatTimer']=window[_0x2a0d68(0x3ec)](()=>{const _0x4180d1=_0x2a0d68;this[_0x4180d1(0x409)]({'type':0x2,'memberID':this[_0x4180d1(0x432)]});},_0x44039e);}[_0x4624f5(0x2c4)](_0x3966ae){const _0x587623=_0x4624f5;return this['_unitStatus']['has'](_0x3966ae)||this[_0x587623(0x29a)]['set'](_0x3966ae,new _0x66cc31[(_0x587623(0x41e))](_0x46104e[_0x587623(0x2d3)][_0x587623(0x1cb)])),this[_0x587623(0x29a)][_0x587623(0x333)](_0x3966ae);}}_0x46875a['IURLService']=_0x5a3a5f,_0x46875a[_0x4624f5(0x359)]=_0x5c4987,_0x46875a['WebBrowserSingleActiveUnitService']=_0xbd79a9,_0x46875a[_0x4624f5(0x252)]=_0x49e0db,Object[_0x4624f5(0x340)](_0x46875a,Symbol[_0x4624f5(0x21b)],{'value':_0x4624f5(0x273)});}));function _0x1a8e(_0x56b0b5,_0xcea906){const _0x14a715=_0x14a7();return _0x1a8e=function(_0x1a8e47,_0x2f648c){_0x1a8e47=_0x1a8e47-0x1cb;let _0xf27d37=_0x14a715[_0x1a8e47];return _0xf27d37;},_0x1a8e(_0x56b0b5,_0xcea906);}function _0x14a7(){const _0x19ae58=['MOBILE_VERIFY_CODE_MISMATCH','CollaborationEvent','USER_NOT_FOUND','drawWith','getTypeOfUnitAdded$','_saveCache','PAYMENT_CHANNEL_NOT_SUPPORT','_collabCursorState$','UniverDesign','none','stage','replace','_notificationService','ISocketService','_transformUndoRedoStack','_themeService','_transformHistoryAndStateStack','transformRemoteChangeset','_currentUsage','FormulaExecutedStateType','textRanges','history','DocSelectionManagerService','UniverProCollaborationClient','next','YUUMI_RATE_OVER_LIMIT','getUnit','createElement','getParam','_cachedData','_handleHeartbeatEvent','body','range','getMemberID','_docTransformStateCacheService','_docTransformIMECacheService','set','getItem','transformMutation','getColorFromTheme','Shape','_hover','getViewport','getValue','AWAITING','memberID','_getSheetObject','setShapeProps','fillText','_entities','stringify','debounce','row','ENTITLE_CHAT_LIMIT_EXCEED','_status$','CanceledError','_clearPolling','_cursor','registerComponent','setInterval','cursorInfo$','Loading','12848760UgXbap','DocStateChangeManagerService','_setupBeforeClosingHandler','createInstance','_taskIds','_labelPosition','_syncEditingCollabCursorService','PENDING','REDEMPTION_CODE_INACTIVE','height','endColumn','event$','pushState','endRow','useDependency','RegularPolygon','error','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','@univerjs-pro/collaboration-client','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_updateSubUnitFromURLParams','debounceTime','COLORS','_drawAnchor','createSocket','_send','defIds','_initDependencies','_heartbeatTimer','_initResize','delete','AUTHORIZE_CODE_ILLEGAL','limitInfo','BuiltInUIPart','_getMergeRange','_initEvent','div','_configService','FormulaExecuteStageType','BrowserCollaborationSocketService','send','_config','ICommandService','subUnitId','REDEMPTION_CODE_FULLY_REDEEMED','START_CALCULATION','BehaviorSubject','Optional','handleInsertRow','CollaborationUIEventService','collabCursorState$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_imageIoService','376572jdieHg','push','FromArray','ONLINE','code','stageInfo','totalFormulasToCalculate','fillStyle','hovered','all','values','handleDeleteRangeMoveUp','_createSocketURL','_id','name','Subject','clearTimeout','collaboration.closeRoom','1em','filter','CURRENT_STATUS_CANNOT_OPERATE','_commandService','requireSession','entityInit$','onRendered','OffLineIcon','startFormulaLimitUrl','throttleTime','setConfig','OFFLINE','Failed','exports','replaceState','_backgroundColor','getSheetId','disableLocalCache','_collaborationUIEventService','split','_document','TEXT_RANGE_LAYER_INDEX','SUCCESS','map','_pollingInterval','closePath','UNDEFINED','_color','off-line-icon_clip0_910_343','_anchor','add','_scheduleSaving','fillRule','onPointerMove$','_getFormulaLimitStatus','getFocusedUnit','setAlpha','serializeRangeWithSheet','takeUntil','off-line-icon','_checkAndWaitForCalculationPermission','Tools','path','isArray','Unknown\x20user','UniverEngineRender','DocCollaborationEntity','toRgbString','lineTo','rxjs/operators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DisposableCollection','mapTo','getCollabEntity$','session.connection-failed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','switchMap','unitId','white','current','PY_RUNTIME_SCRIPT_ERROR','reconnect','RECT','column','Workbook','measureText','roomMembers$','_applyCommand','_messageService','saveTaskMap','collab-client.tooltip.reconnect','NOT_FOUND','collabStatus.notCollab','now','getSheetBySheetId','Disposable','getVpScrollXYInfoByPosToVp','NOT_COLLAB','_univerInstanceService','univerjs-icon\x20univerjs-icon-','complete','_hideTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationDataLoaderController]','application/json','_scheduleClearOtherTimer','_init','_drawRectRange','DependentOn','/run/','getCurrentSelections','DesktopCollaborationStatusDisplayController','react','m1Prime','attrs','shareReplay','generateRandomId','onPointerLeave$','CONFLICT','skeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObject','ILocalCacheService','displayName','collabStatus.offline','SNAPSHOT_HAS_BEEN_REMOVED','redoState','black','NO_OTHER_CLIENTS_EDITING','subunit','_onRefRangeChange','SetFormulaCalculationNotificationMutation','YUUMI_ASYNCIO_CANCELLED','UNAUTHENTICATED','collaboration.single-unit.warning','amd','onPointerEnter$','_releaseCalculationLimit','IImageIoService','_handleJoinEvent','SetTextSelectionsOperation','find','_getSessionTicket','_clearOtherTimers','UniverCollaborationClientPlugin','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_toggleOffline','ENTITLE_DUP_SUBSCRIPTION','_docTransformSelectionsService','@univerjs/design','_dataLoaderService','143104dpbOhB','addHandlerCallback','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','length','setTimeout','LICENSE_MAX_UNITS_EXCEEDED','UniverRpc','ranges','UniverEngineFormula','releaseFormulaLimitUrl','_showGuardMessage','getRenderById','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','pipe','SOCKET_FAILED_RETRY','YUUMI_SUBSCRIPTION_NOT_FOUND','unshift','triggerDblclick','activeSheet$','flatMap','collabStatus.conflict','UniverProCollaborationClientUi','purple.300','collaboration-client.offline-data-not-saved','DataLoaderService','_saveTaskMap','getAncestorScale','_lastPointer','_docClipboardService','react/jsx-runtime','ERROR_AGAIN','fill','_initCommandInterceptor','getActiveSheet','14590CWxtwa','1812eVxkPS','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','setStateCache','http://www.w3.org/2000/svg','selections','DeleteRangeMoveUpCommandId','UniverSheetsUi','cursorInfo','_startCalculationLimit','undoState','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','collab-rect-range-','_docSkeleton','#FFF','dispose','asObservable','_refRangeService','USERS_LEAVE','_cursorInfo$','SYNCED','UniverDocs','toStringTag','editingUnit','_initEntityListener','@univerjs/sheets-ui','APPLY_DUPLICATED','key','sessionStatus$','MemberService','UniverProCollaboration','UniverSheets','executeCommand','_handleHover','location','IUIPartsService','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','handleDeleteRangeMoveLeft','_removeCollabCursors','APPLY_REJECT','_docStateChangeManagerService','UniverUi','width','mask','REDEMPTION_INVALID_CODE','result','IBeforeCloseService','YUUMI_NO_CUBOID_FOR_QUESTION','makeDirty','_setFormulaLimitStatus','jiqing.500','WebSocketService','_memberService','bottom','_localeService','UNIVER_DOC','urlChange$','CollaborationController','RxDisposable','Warning','DocSkeletonManagerService','from','SetWorksheetActivateCommand','isTransformMutationsWithChangesetSuccess','clipPath','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_IMPORT_SIZE_EXCEEDED','_draw','Plugin','_hasFormulaInDirtyRanges','_range','_toggleOnline','handleInsertCol','_selfUnitIDs','_eventUnsubscribe','max','WebURLService','1562286ftGtly','ITransformService','registerRefRange','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.fetchMiss','INVALID_ARGUMENT','LocaleService','doc.mutation.rich-text-editing','_revisionService','getOffsetConfig','startsWith','CollaborationDataLoaderController','_colorIndex','UPDATE_CURSOR','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCellMatrix','_collabSessionService','forEach','toString','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','deserializeRangeWithSheet','CollaborationSessionService','subscribe','syncEditingCollabCursor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','RemoveRowCommandId','IDocClipboardService','9926210SjavBu','currentTheme$','getOwnPropertyDescriptor','Module','_colorAssignService','use','params','MOBILE_HAS_BEEN_BOUND','SetSelectionsOperation','InsertRangeMoveDownCommandId','_assignedColors','substring','_transformService','show','_urlService','_online','override','isEditing','createIdentifier','addEventListener','xlink:href','unit','_registerRenderDependencies','with','@univerjs-pro/collaboration','dispose$','6243093RvHIRZ','UNIVER_SHEET','onMouseMove','forwardRef','url(#$1','@univerjs/core','SessionStatus','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','getColor','runOnServer','hide','_setupSubUnitSync','transformSelections','_injector','/universer-api/license/formula/limit/start','_unitStatus','DOC_RANGE_TYPE','_entityInit$','InsertRangeMoveRightCommandId','DATA_SOURCE_TOO_LARGE','saveImage','_hovered','on-line-icon_clip0_910_349','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_REQUIRED','_handleEvent','PERMISSION_DENIED','entries','useRef','currentColor','ColorKit','arc','_uiPartsService','LOGIN_FAILED','YUUMI_ALL_TABLES_IS_INVALID','getDocRanges','_checkCalculationAvailable','Inject','newValue','init','_refreshCollabCursors','COMPLETION_FINISHED','@univerjs/drawing','SOCKET_FAILED','assign','replaceDocRanges','toDisposable','assignAColorForMemberID','transformMutationsWithChangeset','getCurrentUnitForType','VIEW_MAIN','INotificationService','sheetId','_collaborationController','WECHAT_HAS_BEEN_BOUND','Injector','getCollabCursors$','_ensureSubject','_updateLocalCursor','_updateURLWithCurrentState','_startDocCollabCursor','_collabCursorController','setParam','collaboration-client-ui.config','url(#off-line-icon_clip0_910_343)','red.300','startColumn','JOIN_ROOM_FAILED','jsx','NodePositionConvertToRectRange','TEXT','sessionTicket','UnitStatus','_scheduleHeartbeat','collabStatus.syncing','YUUMI_UNABLE_LOAD_URL','AWAITING_WITH_PENDING','deepClone','UniverInstanceType','runId','_doCreateSocket','addObjects','status$','_onCursorDelete','APPLY_PERMISSION_DENIED','then','_unitOnClients','getCurrent','clearInterval','YUUMI_CONNECTOR_URL_NOT_FOUND','@univerjs/network','CollaborationStatus','maxFormulaLimit','startRow','unitID','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_docSyncEditingCollabCursorService','executionId','CONNECTOR_DATA_TOO_LARGE','ILocalStorageService','loadUnit','combineLatest','SNAPSHOT_INVALID_SNAPSHOT','_localStorageService','_scene','getTypeOfUnitDisposed$','_beforeCloseService','_textBubble','rgba(255,\x20255,\x20255,\x200.01)','transformByState','ENTITLE_REPORT_LIMIT_EXCEED','docStateChange$','INVITE_CODE_ALREADY_BOUND','color','getRelativeToViewportCoord','roomMembers','defs','_getSaveTimeout','touchDependencies','getUndoRedoMutationParamsCache','engine','restore','Vector2','string','transformStateCache','TOO_MANY_REQUESTS','source','storage','getUnitId','RemoveColCommandId','HTTPService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','disposeWithMe','getConfig','saveOfflineData','fromEventSubject','INTERNAL_ERROR','CollaborationSocketService','_onCursorUpdate','collabStatus.synced','getUnitStatus$','Tooltip','getLocalCacheKey','rxjs','findNodePositionByCharIndex','actions','handleIRemoveCol','round','ThemeService','_maxFormulaLimit','isFormulaId','_cursors','@univerjs/engine-formula','exhaustSavingTask','_registerDependencies','isFormulaString','eventID','_getScale','_handleLeaveEvent','ENSURE_SNAPSHOT_EXECUTION','DocIMEInputManagerService','UniverDrawing','text','isTransformMutationFailure','tag','currentSkeleton$','backgroundColor','setItem','get','CollaborationUIEventId','runRefRangeMutations','REDEMPTION_CODE_HAS_BEEN_CREATED','IMessageService','_renderManagerService','permission.title','handleIRemoveRow','getformulaLimitStatusUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initStatusListener','href','_name','defineProperty','getSkeleton','SUBMIT_CHANGESET_TIMEOUT','IConfigService','_session','data','_localCacheService','LICENSE_DISTRO_REJECTED','merge','OnLineIcon','_instanceService','_cursorShapes','children','@univerjs/docs-ui','parse','MoveRangeCommandId','0\x200\x2016\x2016','_startSheetCollabCursor','useCallback','disposeUnit','includes','beforeCommandExecuted','imageSourceType','searchParams','trim','SheetCollabCursorShape','enableLocalCache','type','shift','mutations','idSuffix','wsSessionTicketUrl','@univerjs/sheets','EffectRefRangId','...','_getAnchorBounding','ALREADY_EXISTS','APPLY_REVISION_CONFILICT','MessageType','CommandType','Error','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/engine-render','NodePositionConvertToCursor','collab-text-range-','_initCommandExecutedListener','size','onTransformChange$','connectInjector','font','RefRangeService','_httpService','Rect','EMAIL_VERIFY_CODE_MISMATCH','post','_anchorDot','addClipboardHook','handleInsertRangeMoveDown','TRANSFORM_CHANGE_OBSERVABLE_TYPE','save','subscribeEvent','IUniverInstanceService','isActive','InsertRowCommandId','_removeClearOtherTimer','registerDependencies','React','IRenderManagerService','_initStatusComponent','ENTITLE_INSUFFICIENT_QUOTA','getSheetObject','_shapes','REDEMPTION_USER_NOT_ELIGIBLE','_lastResponseTimestamp','min','resize','_context','fromEvent','getRangePointData','whenReady','has','onCommandExecuted','/universer-api/license/formula/limit/done','_sheetSkeletonManagerService','_transformPreviousActiveRange','_docSkeletonManagerService','svg','m2Prime','_updateCollabCursors','_render','SheetSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','dirtyRanges','removeParam','getStateCache','colorChannel1','green.600','top','_logService','M0\x200H16V16H0z','RemoteUniscriptService','popstate','getActiveRange','FETCH_MISS','_roomMembers$','IRemoteInstanceService','unsubscribe','parseInt','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverDocsUi','UniverCollaborationClientUIPlugin','UniverIcon','4VIbCTe'];_0x14a7=function(){return _0x19ae58;};return _0x14a7();}
8
+ function _0x3674(){const _0x278f08=['font','_cachedData','mergeOverrideWithDependencies','range','unitId','_commandService','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setFormulaLimitStatus','_maxFormulaLimit','data','addHandlerCallback','children','YUUMI_URL_COL_OUT_OF_RANGE','black','application/json','SOCKET_FAILED_RETRY','origin','handleDeleteRangeMoveLeft','get','some','Inject','IUIPartsService','combineLatest','INVALID_INVITE_CODE','getCurrentSelections','handleDeleteRangeMoveUp','startRow','ENTITLE_INSUFFICIENT_QUOTA','width','_startSheetCollabCursor','_getMergeRange','_updateCollabCursors','disposeWithMe','getCoordByCell','RegularPolygon','_backgroundColor','_hover','setConfig','_checkAndWaitForCalculationPermission','href','_transformUndoRedoStack','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentColor','_themeService','_showGuardMessage','assign','TOO_MANY_REQUESTS','urlChange$','getDocRanges','onRendered','_toggleOffline','UniverProCollaborationClient','_currentUsage','status$','FromArray','colorChannel1','/universer-api/license/formula/limit/status','white','reason','_scene','arc','transformIMECache','color','newValue','getSkeleton','roomMembers','rxjs/operators','_handleEvent','getOwnPropertyDescriptor','_checkCalculationAvailable','UniverDesign','HEADER_MENU','limitInfo','Error','ERROR_AGAIN','setParam','next','show','setInterval','Success','undoState','findNodePositionByCharIndex','path','LOCAL_CACHE_INTERVAL','RefRangeService','_dataLoaderService','replace','url(#on-line-icon_clip0_910_349)','85257ScLQcw','socket$','UniverRpc','getUnitId','...','disableLocalCache','disposeUnit','_entityInit$','handleMoveRange','UniverProCollaborationClientUi','_cursorShapes','join','drawWith','UniverEngineFormula','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','saveOfflineData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','onPointerMove$','_handleHover','LOGIN_TOKEN_PROCESSING_FAILED','delete','UNIVER_DOC','registerRefRange','find','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getUnit','_notificationService','ILocalCacheService','EMAIL_VERIFY_CODE_MISMATCH','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_heartbeatTimer','mask','pipe','WebBrowserSingleActiveUnitService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','APPLY_REVISION_CONFILICT','DocStateChangeManagerService','_taskIds','Optional','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','then','ICommandService','Injector','exhaustSavingTask','_anchor','DocSelectionManagerService','BrowserCollaborationSocketService','unsubscribe','_ensureSubject','toDisposable','_scheduleHeartbeat','_onCursorDelete','save','defs','getViewport','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','_collabCursorController','executeCommand','isArray','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_initUnhandledRejectionListener','removeParam','M0\x200H16V16H0z','actions','size','SetWorksheetActivateCommand','fromEvent','operators','mapTo','CollaborationEvent','clearTimeout','values','YUUMI_SUBSCRIPTION_NOT_FOUND','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','843488HkKOmC','LOGIN_FAILED','switchMap','UniverUi','AWAITING','getMemberID','_session','NodePositionConvertToRectRange','toString','ENTITLE_DUP_SUBSCRIPTION','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','_docTransformIMECacheService','replaceDocRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','dispose$','object','START_CALCULATION','requireSession','onLocalMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','RECT','_docSkeletonManagerService','handleInsertRangeMoveRight','fillRule','onStarting','CollaborationSocketService','getformulaLimitStatusUrl','_pollingInterval','_initEvent','_anchorDot','CollaborationController','measureText','storage','LOCAL_CACHE_INTERVAL_KEY','idSuffix','[LogService\x20Error]:\x20','body','REDEMPTION_CODE_NOT_STARTED','_collabSessionService','LICENSE_MAX_UNITS_EXCEEDED','fillText','jsx','handleIRemoveRow','_instanceService','NodePositionConvertToCursor','lineTo','currentTheme$','TEXT','entityInit$','collabStatus.fetchMiss','isEditing','selection','jiqing.500','on-line-icon','@univerjs/core','IConfigService','_updateSubUnitFromURLParams','_entities','YUUMI_AI_RUN_FAILED','_textBubble','getMember','setShapeProps','takeUntil','_draw','UNDEFINED','filter','FETCH_MISS','random','evenodd','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','top','/universer-api/license/formula/limit/start','length','INVALID_ARGUMENT','subscribe','complete','collaboration-client-ui.config','eventID','_initStatusComponent','collaboration.single-unit.warning','makeDirty','getCurrentRevOfUnit','1em','tag','getColor','_cursorInfo$','isFormulaString','string','assignAColorForMemberID','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','hovered','debug','DeleteRangeMoveUpCommandId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getRenderById','getCellPositionByOffset','collabStatus.notCollab','m2Prime','map','endRow','ENTITLE_CHAT_LIMIT_EXCEED','_imageIoService','getTypeOfUnitAdded$','set','includes','ACTIVE_UNIT_EVENT_CHANNEL','Tools','SetDocZoomRatioOperation','throttleTime','react/jsx-runtime','UnitStatus','transformMutation','none','_status$','searchParams','docStateChange$','parseInt','UniverCollaborationClientUIPlugin','_id','params','transformByState','CURRENT_STATUS_CANNOT_OPERATE','JOIN_ROOM_FAILED','code','_saveTaskMap','loadOfflineData','cursorInfo$','forwardRef','59345FmCrYi','DATA_SOURCE_TOO_LARGE','85806XGYiLX','split','_getScale','CollaborationDataLoaderController','setTimeout','_roomMembers$','roomMembers$','_docStateChangeManagerService','_eventUnsubscribe','location','ONLINE','Disposable','@univerjs/design','MOBILE_HAS_BEEN_BOUND','WECHAT_HAS_BEEN_BOUND','displayName','UNIVER_SHEET','unit','getSheetObject','debounce','2734VaCMpi','startsWith','sessionStatus$','endColumn','getItem','yellow.400','_configService','_memberService','NOT_FOUND','IURLService','IRemoteInstanceService','_monkeyPatchLogService','_getFormulaLimitStatus','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','removeEventListener','getCurrent','cursorInfo','getCollabEntity$','transformSelections','@univerjs-pro/collaboration-client','_initCommandExecutedListener','Failed','MOBILE_VERIFY_CODE_MISMATCH','beginPath','triggerDblclick','getActiveSheet','MoveRangeCommandId','@univerjs/engine-formula','add','addEventListener','setStateCache','UniverIcon','LICENSE_DISTRO_REJECTED','green.600','_localeService','getVpScrollXYInfoByPosToVp','Rect','getLocalCacheKey','\x20at\x20','clipPath','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','getSheetId','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startDocCollabCursor','MessageType','div','INVITE_CODE_ALREADY_BOUND','_hideTimer','releaseFormulaLimitUrl','_toggleOnline','maxFormulaLimit','with','dispose','_unitOnClients','ITransformService','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','session.will-retry','DocCollaborationEntity','handleInsertRow','memberID','collab-rect-range-','_collaborationController','useObservable','AUTHORIZE_CODE_ILLEGAL','_initStatusListener','handleInsertRangeMoveDown','saveImage','svg','_localStorageService','toRgbString','APPLY_DUPLICATED','USER_NOT_FOUND','RemoveRowCommandId','collabStatus.synced','_cursors','getStateCache','UniverSheets','_getSheetObject','_cursor','UniverProCollaboration','_transformHistoryAndStateStack','RxDisposable','search','getMergeData','BehaviorSubject','IRenderManagerService','Warning','blue.400','_render','formula.calculation.unable','_injector','bind','_clearPolling','exports','permission.title','@univerjs/docs-ui','handleIRemoveCol','deepClone','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','catch','stringify','replaceState','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','setAlpha','2211240mawCrz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','onMouseMove','Shape','UniverEngineRender','off-line-icon','NOT_COLLAB','http://www.w3.org/2000/svg','useDependency','substring','editingUnit','_createSocketURL','ENTITLE_REPORT_LIMIT_EXCEED','0\x200\x2016\x2016','_updateURLWithCurrentState','subUnitId','post','DocIMEInputManagerService','_docClipboardService','clearInterval','SetFormulaCalculationStartMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setItem','[Window\x20Error]:\x20','bottom','runRefRangeMutations','330ZgUmQj','@univerjs/rpc','_labelPosition','redoState','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','merge','clsx','saveTaskMap','row','getOffsetConfig','event$','_messageService','_hovered','OffLineIcon','moveTo','history','uni.network.url-service','_sheetSkeletonManagerService','getRangePointData','doc.mutation.rich-text-editing','_collaborationSessionService','registerComponent','_handleHeartbeatEvent','TEXT_RANGE_LAYER_INDEX','UniverDocs','unshift','on-line-icon_clip0_910_349','IUniverInstanceService','[CollaborationDataLoaderController]','22XnfkHs','PAYMENT_CHANNEL_NOT_SUPPORT','transformStateCache','InsertColCommandId','getFocusedUnit','syncEditingCollabCursor','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','off-line-icon_clip0_910_343','_send','handleInsertCol','filename','_initWindowErrorListener','_refRangeService','debounceTime','skeleton','_syncEditingCollabCursorService','defIds','createSocket','_revisionService','resize','_init','APPLY_PERMISSION_DENIED','_initEntityListener','_releaseCalculationLimit','ranges','round','createElement','rxjs','COLORS','_collabCursorState$','EffectRefRangId','_localCacheService','_collaborationUIEventService','defineProperty','addObjects','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','PENDING','init','dirtyRanges','createIdentifier','getParam','sessionTicket','PERMISSION_DENIED','_setupSubUnitSync','UniverInstanceType','_initUserListener','runId','textRanges','ColorKit','_colorIndex','_lastResponseTimestamp','_initCommandInterceptor','_uiPartsService','attrs','@univerjs/sheets-ui','ILogService','_color','type','_shapes','contains','USER_IS_ANONYMOUS','getValue','REDEMPTION_USER_NOT_ELIGIBLE','INVITE_CODE_REQUIRED','getCellMatrix','trim','name','80fTBAiV','send','CollaborationUIEventService','_lastPointer','amd','text','OFFLINE','2658hQfSyJ','m1Prime','COMPLETION_FINISHED','Vector2','getAncestorScale','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','?taskId=','onPointerLeave$','translate(.97)','_assignedColors','addClipboardHook','_initDependencies','_handleLeaveEvent','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_drawTextRange','_disabled','createInstance','5047OKLFHy','_logService','registerDependencies','activeSheet$','shift','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_NOT_INVITED_CODE','Subject','_onRefRangeChange','IDocClipboardService','_uploadLog','_renderManagerService','pushState','RemoteUniscriptService','fillStyle','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','runOnServer','formula.calculation.started','column','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','_setupBeforeClosingHandler','APPLY_NON_SEQUENTIAL_REVISION','red.300','error','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','UniverSheetsUi','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','_drawRectRange','DOC_RANGE_TYPE','subunit','@univerjs/drawing','getUniverSheetInstance','ALREADY_EXISTS','url(#$1','RevisionService','INTERNAL_ERROR','has','addObject','collabStatus.conflict','ISnapshotServerService','_beforeCloseService','_memberID','imageSourceType','getCollabCursors$','CollaborationSessionService','React','executionId','reconnect','xlink:href','MemberService','purple.300','useCallback','getRelativeToViewportCoord','UniverDocsUi','_transformPreviousActiveRange','isActive','entries','_online','message','from','stageInfo','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INotificationService','327VmfBiz','forEach','_applyCommand','asObservable','/universer-api/license/formula/limit/done','_saveCache','getActiveRange','generateRandomId','_getSessionTicket','_removeCollabCursors','mutations','height','min','_drawAnchor','USERS_LEAVE','hide','CollaborationUIEventId','_univerInstanceService','#FFF','distinctUntilChanged','unitID','now','fill','restore','_urlService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','CONFLICT','FormulaExecuteStageType','collabCursorState$','@univerjs/ui','FormulaExecutedStateType','_transformService','collabStatus.offline','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','_initResize','_httpService','_startCalculationLimit','currentSkeleton$','transformMutationsWithChangeset','stack','InsertRangeMoveDownCommandId','_clearOtherTimers','SessionStatus','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','transformRemoteChangeset','fromEventSubject','getUnitStatus$','VIEW_MAIN','source','_range','_name','UPDATE_CURSOR','APPLY_REJECT','push','/run/','UniverCollaborationClientPlugin','_getSaveTimeout','_docTransformStateCacheService','labelPosition','ThemeService','shareReplay','override','_config','Workbook','_doCreateSocket','_docSyncEditingCollabCursorService','_unitStatus','ISocketService','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','isTransformMutationFailure','current','univer-flex\x20univer-items-center','_context','unhandledrejection'];_0x3674=function(){return _0x278f08;};return _0x3674();}function _0x3621(_0x3c01a0,_0x5b0b36){const _0x367459=_0x3674();return _0x3621=function(_0x362151,_0x411d0c){_0x362151=_0x362151-0x1ba;let _0x5baea0=_0x367459[_0x362151];return _0x5baea0;},_0x3621(_0x3c01a0,_0x5b0b36);}(function(_0x1fb1e3,_0xe6a074){const _0x158be5=_0x3621,_0x4d19f8=_0x1fb1e3();while(!![]){try{const _0x5f5d74=parseInt(_0x158be5(0x427))/0x1+parseInt(_0x158be5(0x43b))/0x2*(-parseInt(_0x158be5(0x2a7))/0x3)+-parseInt(_0x158be5(0x249))/0x4*(-parseInt(_0x158be5(0x425))/0x5)+-parseInt(_0x158be5(0x250))/0x6*(-parseInt(_0x158be5(0x262))/0x7)+-parseInt(_0x158be5(0x3a1))/0x8+-parseInt(_0x158be5(0x350))/0x9*(-parseInt(_0x158be5(0x1e5))/0xa)+parseInt(_0x158be5(0x203))/0xb*(-parseInt(_0x158be5(0x1c9))/0xc);if(_0x5f5d74===_0xe6a074)break;else _0x4d19f8['push'](_0x4d19f8['shift']());}catch(_0x3feb4c){_0x4d19f8['push'](_0x4d19f8['shift']());}}}(_0x3674,0x511bb),function(_0x4cc780,_0x271d09){const _0xb6337a=_0x3621;typeof exports==_0xb6337a(0x3b2)&&typeof module<'u'?_0x271d09(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0xb6337a(0x24d)]?define([_0xb6337a(0x1bb),_0xb6337a(0x412),_0xb6337a(0x44f),_0xb6337a(0x3d9),_0xb6337a(0x2c5),_0xb6337a(0x220),_0xb6337a(0x433),'react',_0xb6337a(0x1e6),'@univerjs/sheets','@univerjs/engine-render','@univerjs/network',_0xb6337a(0x1bd),_0xb6337a(0x285),_0xb6337a(0x3e9),'@univerjs/docs',_0xb6337a(0x457),_0xb6337a(0x33a),_0xb6337a(0x23c)],_0x271d09):(_0x4cc780=typeof globalThis<'u'?globalThis:_0x4cc780||self,_0x271d09(_0x4cc780[_0xb6337a(0x359)]={},_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x32b)],_0x4cc780['UniverCore'],_0x4cc780[_0xb6337a(0x3a4)],_0x4cc780[_0xb6337a(0x220)],_0x4cc780[_0xb6337a(0x33e)],_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x352)],_0x4cc780[_0xb6337a(0x48b)],_0x4cc780[_0xb6337a(0x1cf)],_0x4cc780['UniverNetwork'],_0x4cc780[_0xb6337a(0x29c)],_0x4cc780['UniverDrawing'],_0x4cc780[_0xb6337a(0x48e)],_0x4cc780[_0xb6337a(0x1fe)],_0x4cc780[_0xb6337a(0x35d)],_0x4cc780[_0xb6337a(0x220)][_0xb6337a(0x399)],_0x4cc780[_0xb6337a(0x27f)]));}(this,function(_0x8036c6,_0x56c279,_0x19f8d7,_0x3772e7,_0x2e0e04,_0x104804,_0x4d7604,_0x430ffc,_0x2bbe73,_0x235c42,_0x29b571,_0xe6cf6e,_0x7ab617,_0x331913,_0x116492,_0x37acc3,_0x4915ec,_0x568e97,_0x3e18f2){'use strict';const _0x513e05=_0x3621;var _0xcaddf5=Object['defineProperty'],_0x2b860e=(_0x38ba96,_0x1e448d,_0x54a2f2)=>_0x1e448d in _0x38ba96?_0xcaddf5(_0x38ba96,_0x1e448d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a2f2}):_0x38ba96[_0x1e448d]=_0x54a2f2,_0xfd5d9c=(_0xead01,_0x494ee9,_0x51d4aa)=>_0x2b860e(_0xead01,typeof _0x494ee9!='symbol'?_0x494ee9+'':_0x494ee9,_0x51d4aa);function _0x1e85c1({ref:_0xe86f5c,..._0x281e53}){const _0x2fbb59=_0x3621,{icon:_0x256f37,id:_0x139a09,className:_0x16071c,extend:_0x16e8a6,..._0x1742b8}=_0x281e53,_0x2efc03=('univerjs-icon\x20univerjs-icon-'+_0x139a09+'\x20'+(_0x16071c||''))[_0x2fbb59(0x247)](),_0xe32f61=_0x430ffc['useRef']('_'+_0x2fc302());return _0x35ac53(_0x256f37,''+_0x139a09,{'defIds':_0x256f37[_0x2fbb59(0x215)],'idSuffix':_0xe32f61[_0x2fbb59(0x2f2)]},{'ref':_0xe86f5c,'className':_0x2efc03,..._0x1742b8},_0x16e8a6);}function _0x35ac53(_0x5055ed,_0x20066b,_0x533f6d,_0x475994,_0x33ea58){const _0x13f0e2=_0x3621;return _0x430ffc[_0x13f0e2(0x21f)](_0x5055ed[_0x13f0e2(0x3f7)],{'key':_0x20066b,..._0x23eaeb(_0x5055ed,_0x533f6d,_0x33ea58),..._0x475994},(_0x2f85fd(_0x5055ed,_0x533f6d)[_0x13f0e2(0x302)]||[])[_0x13f0e2(0x407)]((_0x4475cf,_0x3eb428)=>_0x35ac53(_0x4475cf,_0x20066b+'-'+_0x5055ed[_0x13f0e2(0x3f7)]+'-'+_0x3eb428,_0x533f6d,void 0x0,_0x33ea58)));}function _0x23eaeb(_0x66bab,_0x5b02ec,_0x205b0f){const _0x5dbea4=_0x3621,_0xfc991a={..._0x66bab['attrs']};_0x205b0f!=null&&_0x205b0f['colorChannel1']&&_0xfc991a['fill']===_0x5dbea4(0x32f)&&(_0xfc991a[_0x5dbea4(0x2bd)]=_0x205b0f[_0x5dbea4(0x32f)]),_0x66bab[_0x5dbea4(0x3f7)]===_0x5dbea4(0x371)&&_0xfc991a['id']&&(_0xfc991a['id']=_0xfc991a['id']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0xc860a7,_0x4e8672])=>{const _0x5a3e33=_0x5dbea4;_0xc860a7===_0x5a3e33(0x371)&&typeof _0x4e8672=='string'&&(_0xfc991a[_0xc860a7]=_0x4e8672[_0x5a3e33(0x34e)](/url\(#(.*)\)/,'url(#$1'+_0x5b02ec[_0x5a3e33(0x3c5)]+')'));});const {defIds:_0x3f4f08}=_0x5b02ec;return!_0x3f4f08||_0x3f4f08[_0x5dbea4(0x3ec)]===0x0||(_0x66bab[_0x5dbea4(0x3f7)]==='use'&&_0xfc991a[_0x5dbea4(0x297)]&&(_0xfc991a[_0x5dbea4(0x297)]=_0xfc991a['xlink:href']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0x55b305,_0x4782d0])=>{const _0x3c18f6=_0x5dbea4;typeof _0x4782d0=='string'&&(_0xfc991a[_0x55b305]=_0x4782d0[_0x3c18f6(0x34e)](/url\(#(.*)\)/,_0x3c18f6(0x288)+_0x5b02ec[_0x3c18f6(0x3c5)]+')'));})),_0xfc991a;}function _0x2f85fd(_0x43d4f1,_0x33da0b){const _0x220a96=_0x3621;var _0x40f495;const {defIds:_0x1fd22d}=_0x33da0b;return!_0x1fd22d||_0x1fd22d[_0x220a96(0x3ec)]===0x0?_0x43d4f1:_0x43d4f1[_0x220a96(0x3f7)]==='defs'&&((_0x40f495=_0x43d4f1['children'])!=null&&_0x40f495[_0x220a96(0x3ec)])?{..._0x43d4f1,'children':_0x43d4f1[_0x220a96(0x302)]['map'](_0x569cdf=>typeof _0x569cdf[_0x220a96(0x23b)]['id']==_0x220a96(0x3fb)&&_0x1fd22d&&_0x1fd22d[_0x220a96(0x40d)](_0x569cdf[_0x220a96(0x23b)]['id'])?{..._0x569cdf,'attrs':{..._0x569cdf['attrs'],'id':_0x569cdf[_0x220a96(0x23b)]['id']+_0x33da0b[_0x220a96(0x3c5)]}}:_0x569cdf)}:_0x43d4f1;}function _0x2fc302(){const _0x563a4c=_0x3621;return Math[_0x563a4c(0x3e6)]()['toString'](0x24)[_0x563a4c(0x1d4)](0x2,0x8);}_0x1e85c1['displayName']=_0x513e05(0x45b);const _0x4503bd={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1d8),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x513e05(0x35e),'strokeLinecap':_0x513e05(0x21e),'strokeLinejoin':_0x513e05(0x21e),'strokeWidth':1.2}}]},{'tag':_0x513e05(0x389),'attrs':{},'children':[{'tag':_0x513e05(0x463),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':'white','d':_0x513e05(0x394)}}]}]}],'defIds':[_0x513e05(0x20c)]},_0x2f76b9=_0x430ffc[_0x513e05(0x424)](function(_0x523f19,_0x3c0fb9){const _0x17a5ab=_0x513e05;return _0x430ffc[_0x17a5ab(0x21f)](_0x1e85c1,Object[_0x17a5ab(0x325)]({},_0x523f19,{'id':_0x17a5ab(0x1d0),'ref':_0x3c0fb9,'icon':_0x4503bd}));});_0x2f76b9[_0x513e05(0x436)]=_0x513e05(0x1f3);const _0x1ede86={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1e9),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x513e05(0x34f)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'stroke':_0x513e05(0x322),'d':_0x513e05(0x36f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x513e05(0x200)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':_0x513e05(0x331),'d':_0x513e05(0x394),'transform':_0x513e05(0x259)}}]}]}],'defIds':[_0x513e05(0x200)]},_0x2b2972=_0x430ffc['forwardRef'](function(_0x2524a6,_0x3da9ee){const _0x3eb8fa=_0x513e05;return _0x430ffc[_0x3eb8fa(0x21f)](_0x1e85c1,Object[_0x3eb8fa(0x325)]({},_0x2524a6,{'id':_0x3eb8fa(0x3d8),'ref':_0x3da9ee,'icon':_0x1ede86}));});_0x2b2972[_0x513e05(0x436)]='OnLineIcon';function _0x187e4c(_0x5dc5c1){const _0x225b5e=_0x513e05;switch(_0x5dc5c1){case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x24f)]:return _0x225b5e(0x2c8);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x2c2)]:return _0x225b5e(0x28d);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x3e5)]:return _0x225b5e(0x3d4);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x1d1)]:return _0x225b5e(0x405);case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x3a5)]:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x255)]:return'collabStatus.syncing';case _0x19f8d7[_0x225b5e(0x2c1)]['SYNCED']:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x22a)]:return _0x225b5e(0x488);}}function _0x4e96ee(_0x4f1c5d){const _0x5c3840=_0x513e05,{status$:_0x4a8481}=_0x4f1c5d,_0x15936e=_0x2e0e04[_0x5c3840(0x47d)](_0x4a8481,_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x1d1)]),_0x55af6a=_0x2e0e04[_0x5c3840(0x1d3)](_0x3772e7['LocaleService']),_0x41fd37=_0x2e0e04[_0x5c3840(0x1d3)](_0x19f8d7[_0x5c3840(0x293)]),_0x29a1e9=_0x15936e!==_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x24f)],_0x384cc3=_0x55af6a['t'](_0x187e4c(_0x15936e)),_0x27a613=_0x29a1e9?_0x56c279[_0x5c3840(0x3cc)](_0x2b2972,{}):_0x56c279[_0x5c3840(0x3cc)](_0x2f76b9,{}),_0x41a943=_0x430ffc[_0x5c3840(0x29a)](()=>{const _0x18473c=_0x5c3840;_0x29a1e9||_0x41fd37[_0x18473c(0x296)]();},[_0x29a1e9,_0x41fd37]);function _0x1a1f00(){const _0x5bcaca=_0x5c3840;return _0x56c279['jsxs'](_0x5bcaca(0x46b),{'className':_0x5bcaca(0x2f3),'onClick':_0x41a943,'children':[_0x56c279[_0x5bcaca(0x3cc)](_0x5bcaca(0x46b),{'className':_0x4d7604[_0x5bcaca(0x1ec)](_0x5bcaca(0x3b6),{'univer-text-green-500':_0x29a1e9,'univer-text-red-500':!_0x29a1e9}),'children':_0x27a613}),_0x56c279[_0x5bcaca(0x3cc)]('div',{'className':_0x5bcaca(0x321),'children':_0x384cc3})]});}return _0x29a1e9?_0x1a1f00():_0x56c279[_0x5c3840(0x3cc)](_0x4d7604['Tooltip'],{'title':_0x55af6a['t'](_0x5c3840(0x3e8)),'children':_0x1a1f00()});}var _0x2094ef=Object['getOwnPropertyDescriptor'],_0x494b85=(_0x11ee00,_0x1401f2,_0x30c2b7,_0x1e5084)=>{const _0x2cb164=_0x513e05;for(var _0x2b82b1=_0x1e5084>0x1?void 0x0:_0x1e5084?_0x2094ef(_0x1401f2,_0x30c2b7):_0x1401f2,_0xa65337=_0x11ee00[_0x2cb164(0x3ec)]-0x1,_0x1bc7d6;_0xa65337>=0x0;_0xa65337--)(_0x1bc7d6=_0x11ee00[_0xa65337])&&(_0x2b82b1=_0x1bc7d6(_0x2b82b1)||_0x2b82b1);return _0x2b82b1;},_0x464ce5=(_0x81033f,_0x3b4167)=>(_0x2cdab2,_0x5420f9)=>_0x3b4167(_0x2cdab2,_0x5420f9,_0x81033f);_0x8036c6[_0x513e05(0x1c0)]=class extends _0x3772e7['Disposable']{constructor(_0x5765b9,_0x136f0e,_0x4068c3,_0x2d2709){const _0x2e8c02=_0x513e05;super(),_0xfd5d9c(this,_0x2e8c02(0x416),new _0x104804['BehaviorSubject'](_0x19f8d7[_0x2e8c02(0x2c1)][_0x2e8c02(0x1d1)])),(this['_univerInstanceService']=_0x5765b9,this[_0x2e8c02(0x499)]=_0x136f0e,this[_0x2e8c02(0x47c)]=_0x4068c3,this[_0x2e8c02(0x23a)]=_0x2d2709,this[_0x2e8c02(0x3f2)](),this[_0x2e8c02(0x47f)]());}[_0x513e05(0x47f)](){const _0x57bd4a=_0x513e05;this[_0x57bd4a(0x317)](this['_univerInstanceService']['focused$'][_0x57bd4a(0x372)](_0x104804[_0x57bd4a(0x3a3)](()=>{const _0x43c545=_0x57bd4a,_0x1e30fb=this[_0x43c545(0x2b8)][_0x43c545(0x207)]();return _0x1e30fb?this[_0x43c545(0x47c)][_0x43c545(0x44d)](_0x1e30fb[_0x43c545(0x353)]()):_0x104804['of'](null);}),_0x104804[_0x57bd4a(0x3a3)](_0x488c93=>_0x488c93?_0x488c93[_0x57bd4a(0x32d)]:_0x104804['of'](_0x19f8d7[_0x57bd4a(0x2c1)][_0x57bd4a(0x1d1)])))[_0x57bd4a(0x3ee)](_0xc16a43=>{const _0x2aa95d=_0x57bd4a;this[_0x2aa95d(0x416)][_0x2aa95d(0x344)](_0xc16a43);}));}['_initStatusComponent'](){const _0x2dea3f=_0x513e05;this[_0x2dea3f(0x317)](this[_0x2dea3f(0x23a)][_0x2dea3f(0x1fb)](_0x2e0e04['BuiltInUIPart'][_0x2dea3f(0x33f)],()=>_0x2e0e04['connectInjector'](_0x2382d0({'status$':this[_0x2dea3f(0x416)]['asObservable']()}),this[_0x2dea3f(0x499)])));}},_0x8036c6[_0x513e05(0x1c0)]=_0x494b85([_0x464ce5(0x0,_0x3772e7[_0x513e05(0x201)]),_0x464ce5(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x464ce5(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x464ce5(0x3,_0x2e0e04[_0x513e05(0x30c)])],_0x8036c6[_0x513e05(0x1c0)]);function _0x2382d0(_0x49756a){const {status$:_0x1230c2}=_0x49756a;return function(){const _0x49d3da=_0x3621;return _0x56c279[_0x49d3da(0x3cc)](_0x4e96ee,{'status$':_0x1230c2});};}const _0x2a7c11=_0x3772e7[_0x513e05(0x22d)](_0x513e05(0x1f6));var _0x2a8c15=Object[_0x513e05(0x33c)],_0x9e51a9=(_0x2045be,_0x3e035d,_0x272527,_0x3fd9c9)=>{const _0x277f32=_0x513e05;for(var _0x3f362a=_0x3fd9c9>0x1?void 0x0:_0x3fd9c9?_0x2a8c15(_0x3e035d,_0x272527):_0x3e035d,_0x92d593=_0x2045be[_0x277f32(0x3ec)]-0x1,_0x5a68b8;_0x92d593>=0x0;_0x92d593--)(_0x5a68b8=_0x2045be[_0x92d593])&&(_0x3f362a=_0x5a68b8(_0x3f362a)||_0x3f362a);return _0x3f362a;},_0x2978ea=(_0x304539,_0x59b503)=>(_0xe8af11,_0x253600)=>_0x59b503(_0xe8af11,_0x253600,_0x304539);_0x8036c6[_0x513e05(0x42a)]=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x45778c,_0x358d6d,_0x28b3d0,_0x51c18a,_0x8138e4){const _0x353388=_0x513e05;super(),this['_urlService']=_0x45778c,this[_0x353388(0x263)]=_0x358d6d,this[_0x353388(0x2fb)]=_0x28b3d0,this[_0x353388(0x34d)]=_0x51c18a,_0x8138e4?_0x8138e4==null||_0x8138e4['whenReady']()[_0x353388(0x37c)](()=>this[_0x353388(0x219)]()):(this[_0x353388(0x263)][_0x353388(0x400)](_0x353388(0x202),_0x353388(0x2d5)),this[_0x353388(0x219)]());}async[_0x513e05(0x219)](){const _0x56de9f=_0x513e05,_0x56a7f3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x438)),_0x473946=this[_0x56de9f(0x2bf)]['getParam'](_0x56de9f(0x23f)),_0x142dd3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x284));if(!_0x56a7f3||!_0x473946){this[_0x56de9f(0x263)][_0x56de9f(0x400)]('[CollaborationDataLoaderController]',_0x56de9f(0x2c0));return;}const _0x58b0bb=await this['_dataLoaderService'][_0x56de9f(0x280)](_0x56a7f3,Number(_0x473946),_0x142dd3);_0x58b0bb&&_0x58b0bb instanceof _0x3772e7[_0x56de9f(0x2ea)]&&this[_0x56de9f(0x231)](_0x58b0bb);}async[_0x513e05(0x231)](_0x3b3f13){const _0x2fbf3f=_0x513e05;await this[_0x2fbf3f(0x3db)](_0x3b3f13),_0x3b3f13[_0x2fbf3f(0x265)][_0x2fbf3f(0x372)](_0x104804[_0x2fbf3f(0x3e1)](this[_0x2fbf3f(0x3b1)]))[_0x2fbf3f(0x3ee)](_0x2e0f83=>{_0x2e0f83&&this['_updateURLWithCurrentState'](_0x2e0f83);}),this['_urlService'][_0x2fbf3f(0x327)][_0x2fbf3f(0x372)](_0x104804['takeUntil'](this[_0x2fbf3f(0x3b1)]))['subscribe'](()=>this[_0x2fbf3f(0x3db)](_0x3b3f13));}[_0x513e05(0x1d9)](_0x4e4eb9,_0x54e928=!0x1){const _0xda4e3d=_0x513e05,_0x14d73f=this[_0xda4e3d(0x2bf)][_0xda4e3d(0x22e)]('subunit');_0x4e4eb9[_0xda4e3d(0x466)]()!==_0x14d73f&&this[_0xda4e3d(0x2bf)][_0xda4e3d(0x343)]('subunit',_0x4e4eb9[_0xda4e3d(0x466)](),_0x54e928);}async['_updateSubUnitFromURLParams'](_0x570c4a){const _0x4d9a08=_0x513e05;var _0x28ed0a;const _0x21a133=this[_0x4d9a08(0x2bf)]['getParam'](_0x4d9a08(0x284));if(!_0x21a133||!_0x570c4a['getSheetBySheetId'](_0x21a133)){const _0x1d16e4=_0x570c4a['getUnhiddenWorksheets']()[0x0],_0x1dfc4f=_0x570c4a[_0x4d9a08(0x271)](_0x1d16e4);if(!_0x1dfc4f)return;this[_0x4d9a08(0x1d9)](_0x1dfc4f,!0x0),await this[_0x4d9a08(0x2fb)]['executeCommand'](_0x235c42['SetWorksheetActivateCommand']['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x1d16e4});return;}((_0x28ed0a=_0x570c4a[_0x4d9a08(0x455)]())==null?void 0x0:_0x28ed0a['getSheetId']())!==_0x21a133&&await this[_0x4d9a08(0x2fb)][_0x4d9a08(0x38e)](_0x235c42[_0x4d9a08(0x397)]['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x21a133});}},_0x8036c6['CollaborationDataLoaderController']=_0x9e51a9([_0x2978ea(0x0,_0x2a7c11),_0x2978ea(0x1,_0x3772e7[_0x513e05(0x23d)]),_0x2978ea(0x2,_0x3772e7[_0x513e05(0x37d)]),_0x2978ea(0x3,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7['DataLoaderService'])),_0x2978ea(0x4,_0x3772e7[_0x513e05(0x379)](_0x2bbe73[_0x513e05(0x445)]))],_0x8036c6['CollaborationDataLoaderController']);var _0x2f3241=Object[_0x513e05(0x33c)],_0x1690a9=(_0x4c479b,_0x153315,_0x3c453b,_0x4e500c)=>{for(var _0x1728f0=_0x4e500c>0x1?void 0x0:_0x4e500c?_0x2f3241(_0x153315,_0x3c453b):_0x153315,_0x3b98d0=_0x4c479b['length']-0x1,_0x15b740;_0x3b98d0>=0x0;_0x3b98d0--)(_0x15b740=_0x4c479b[_0x3b98d0])&&(_0x1728f0=_0x15b740(_0x1728f0)||_0x1728f0);return _0x1728f0;},_0x57947e=(_0x58e2f7,_0x3254f1)=>(_0x33a8b3,_0x1ca669)=>_0x3254f1(_0x33a8b3,_0x1ca669,_0x58e2f7);let _0x459a5d=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x501863,_0x142944){const _0x5d6d2a=_0x513e05;super(),this[_0x5d6d2a(0x1dd)]=_0x501863,this['_imageIoService']=_0x142944,this[_0x5d6d2a(0x219)]();}[_0x513e05(0x219)](){const _0x4f9da4=_0x513e05,_0x21901b=this;this[_0x4f9da4(0x317)](this[_0x4f9da4(0x1dd)][_0x4f9da4(0x25b)]({'onBeforePasteImage':async _0x3d26f6=>{const _0x47e041=_0x4f9da4,_0x794551=await _0x21901b[_0x47e041(0x40a)][_0x47e041(0x481)](_0x3d26f6);return _0x794551?{'source':_0x794551[_0x47e041(0x2db)],'imageSourceType':_0x794551[_0x47e041(0x291)]}:null;}}));}};_0x459a5d=_0x1690a9([_0x57947e(0x0,_0x7ab617[_0x513e05(0x26b)]),_0x57947e(0x1,_0x331913['IImageIoService'])],_0x459a5d);const _0x717805=[_0x513e05(0x299),_0x513e05(0x3d7),_0x513e05(0x45d),_0x513e05(0x27a),_0x513e05(0x496),_0x513e05(0x440)];class _0x2e3fbf extends _0x3772e7[_0x513e05(0x432)]{constructor(){const _0x34af51=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x34af51(0x25a),new Map()),_0xfd5d9c(this,_0x34af51(0x237),0x0);}[_0x513e05(0x3fc)](_0x558af0){const _0x53e338=_0x513e05;if(this['_assignedColors'][_0x53e338(0x28b)](_0x558af0))return this['_assignedColors'][_0x53e338(0x309)](_0x558af0);const _0x3f5ea3=_0x717805[this[_0x53e338(0x237)]];return this[_0x53e338(0x237)]=(this[_0x53e338(0x237)]+0x1)%_0x717805[_0x53e338(0x3ec)],this['_assignedColors'][_0x53e338(0x40c)](_0x558af0,_0x3f5ea3),_0x3f5ea3;}}function _0x55ad25(_0x45ad1b){const _0x368891=_0x513e05;let _0x530a91='';for(const _0x1bcca1 of _0x45ad1b){const {startOffset:_0x520e82,endOffset:_0x3d2898,isActive:_0x57fa3b,rangeType:_0x8004e2,segmentId:_0x86d390,segmentPage:_0x323c2e}=_0x1bcca1;_0x530a91[_0x368891(0x3ec)]&&(_0x530a91+=','),_0x530a91+=_0x520e82+':'+_0x3d2898+':'+(_0x57fa3b?'1':'0')+':'+_0x8004e2+':'+_0x86d390+':'+_0x323c2e;}return _0x530a91;}function _0x4a02b9(_0x26dc9f){const _0x1e9471=_0x513e05,_0x27b7d0=_0x26dc9f[_0x1e9471(0x428)](','),_0x16df61=[];for(const _0x5c22ce of _0x27b7d0){const [_0x183f5f,_0x5f38e9,_0x4460a8,_0x978111,_0x575734,_0x255cfa]=_0x5c22ce[_0x1e9471(0x428)](':');_0x16df61[_0x1e9471(0x2e0)]({'startOffset':Number(_0x183f5f),'endOffset':Number(_0x5f38e9),'collapsed':_0x183f5f===_0x5f38e9,'isActive':_0x4460a8==='1','rangeType':_0x978111===_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]?_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]:_0x3772e7[_0x1e9471(0x283)]['RECT'],'segmentId':typeof _0x575734==_0x1e9471(0x3fb)?String(_0x575734):'','segmentPage':Number(_0x255cfa!=null?_0x255cfa:-0x1)});}return _0x16df61[_0x1e9471(0x30a)](_0x80c020=>_0x80c020[_0x1e9471(0x29e)])||(_0x16df61[0x0][_0x1e9471(0x29e)]=!0x0),_0x16df61;}class _0x39a103 extends _0x3772e7['RxDisposable']{constructor(){const _0x2be7c4=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x2be7c4(0x222),new _0x104804['BehaviorSubject'](null)),_0xfd5d9c(this,_0x2be7c4(0x2c4),this['_collabCursorState$'][_0x2be7c4(0x2aa)]());}[_0x513e05(0x208)](_0x4a4aaf){const _0x3da5f1=_0x513e05,{unitID:_0x18a123,memberID:_0x31e19c,textRanges:_0x293cd9}=_0x4a4aaf,_0x17e69f=_0x55ad25(_0x293cd9);if(_0x17e69f==='')return;const _0x2b989b={'unitID':_0x18a123,'memberID':_0x31e19c,'selection':_0x17e69f};this[_0x3da5f1(0x222)][_0x3da5f1(0x344)](_0x2b989b);}}var _0x4df8b5=Object[_0x513e05(0x33c)],_0x3dc6b8=(_0x5180b3,_0x5368ea,_0x18eec2,_0x455016)=>{const _0x5f1d0a=_0x513e05;for(var _0x3b4fd6=_0x455016>0x1?void 0x0:_0x455016?_0x4df8b5(_0x5368ea,_0x18eec2):_0x5368ea,_0xef037e=_0x5180b3[_0x5f1d0a(0x3ec)]-0x1,_0x4f7316;_0xef037e>=0x0;_0xef037e--)(_0x4f7316=_0x5180b3[_0xef037e])&&(_0x3b4fd6=_0x4f7316(_0x3b4fd6)||_0x3b4fd6);return _0x3b4fd6;},_0x25e0f9=(_0x4b0ad0,_0x1ed3be)=>(_0x28f8be,_0x4e576c)=>_0x1ed3be(_0x28f8be,_0x4e576c,_0x4b0ad0);const _0x4cbf16=0x12c,_0x146e9e=0x64;let _0x49a88b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x3430c6,_0x256f97,_0x26ea97,_0x33180d,_0x41d3d8,_0x5717fd,_0x159b8e,_0x28ddb8,_0x508f0b){const _0x377d97=_0x513e05;super(),_0xfd5d9c(this,_0x377d97(0x2a0),!0x1),_0xfd5d9c(this,_0x377d97(0x219),!0x1),_0xfd5d9c(this,_0x377d97(0x3f9),new _0x104804[(_0x377d97(0x493))](new Map())),_0xfd5d9c(this,_0x377d97(0x423),this['_cursorInfo$']['asObservable']()),_0xfd5d9c(this,_0x377d97(0x42c),new _0x104804[(_0x377d97(0x493))]([])),_0xfd5d9c(this,_0x377d97(0x42d),this[_0x377d97(0x42c)]['pipe'](_0x104804[_0x377d97(0x212)](_0x4cbf16))),_0xfd5d9c(this,'_updateLocalCursor',_0x3772e7[_0x377d97(0x43a)](_0x4c6972=>{const _0x4544ba=_0x377d97,_0x2c8cdc={'eventID':_0x116492['CollaborationEvent'][_0x4544ba(0x2de)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4544ba(0x3a6)](),'selection':_0x55ad25(_0x4c6972)}};this[_0x4544ba(0x3a7)][_0x4544ba(0x24a)](_0x2c8cdc,this[_0x4544ba(0x2bb)]);},_0x146e9e)),(this[_0x377d97(0x2bb)]=_0x3430c6,this[_0x377d97(0x3a7)]=_0x256f97,this[_0x377d97(0x499)]=_0x26ea97,this[_0x377d97(0x3b0)]=_0x33180d,this[_0x377d97(0x442)]=_0x41d3d8,this['_syncEditingCollabCursorService']=_0x5717fd,this[_0x377d97(0x2c7)]=_0x159b8e,this['_univerInstanceService']=_0x28ddb8,this['_commandService']=_0x508f0b);}get[_0x513e05(0x44c)](){const _0x69693f=_0x513e05;return this[_0x69693f(0x3f9)][_0x69693f(0x243)]();}get[_0x513e05(0x339)](){const _0x23b53a=_0x513e05;return this[_0x23b53a(0x42c)][_0x23b53a(0x243)]();}[_0x513e05(0x472)](){const _0x2bdc7a=_0x513e05;super[_0x2bdc7a(0x472)](),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x344)](new Map()),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x3ef)](),this[_0x2bdc7a(0x42c)][_0x2bdc7a(0x344)]([]),this[_0x2bdc7a(0x42c)]['complete']();}[_0x513e05(0x22b)](){const _0x15c93a=_0x513e05;this[_0x15c93a(0x219)]||(this[_0x15c93a(0x219)]=!0x0,this['_session'][_0x15c93a(0x43d)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x5b960c=>{const _0x503b7a=_0x15c93a;_0x5b960c===_0x19f8d7[_0x503b7a(0x2d3)]['ONLINE']?this[_0x503b7a(0x46f)]():this[_0x503b7a(0x32a)]();}),this[_0x15c93a(0x3a7)][_0x15c93a(0x1f0)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x8727a8=>{const _0x39eb0b=_0x15c93a,_0x40f268=_0x8727a8['eventID'];_0x40f268===_0x116492[_0x39eb0b(0x39b)][_0x39eb0b(0x2de)]&&this[_0x39eb0b(0x375)](_0x8727a8),_0x40f268===_0x116492['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x8727a8);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x172e26=>{const _0x26cff4=_0x15c93a,_0x1fc34b=_0x172e26[_0x26cff4(0x41c)];_0x1fc34b!=null&&this[_0x26cff4(0x2a0)]&&_0x172e26['id']===_0x37acc3['SetTextSelectionsOperation']['id']&&_0x1fc34b['unitId']===this[_0x26cff4(0x2bb)]&&_0x1fc34b[_0x26cff4(0x3d5)]===!0x1&&_0x1fc34b[_0x26cff4(0x21d)][_0x26cff4(0x3ec)]>0x0&&this[_0x26cff4(0x2d4)](_0x1fc34b[_0x26cff4(0x21d)]);})),this[_0x15c93a(0x214)][_0x15c93a(0x2c4)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))[_0x15c93a(0x3ee)](_0x46c392=>{const _0x5584bd=_0x15c93a;if((_0x46c392==null?void 0x0:_0x46c392['unitID'])!==this[_0x5584bd(0x2bb)])return;const _0x2b5804={'eventID':_0x116492['CollaborationEvent'][_0x5584bd(0x2de)],'data':_0x46c392};this['_onCursorUpdate'](_0x2b5804);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x265464=>{const _0x51df1a=_0x15c93a;if(_0x265464[_0x51df1a(0x41c)]==null)return;const _0x255346=_0x265464['params'];if(_0x265464['id']!==_0x37acc3['RichTextEditingMutation']['id']||_0x255346[_0x51df1a(0x2fa)]!==this['unitID'])return;const _0x52259b={'id':_0x51df1a(0x1f9),'params':_0x255346},_0x41ecf7=this[_0x51df1a(0x44c)];for(const [_0xa2d9f3,_0x38027f]of _0x41ecf7){const _0xb7d971={'id':_0x51df1a(0x1f9),'params':{'unitId':this[_0x51df1a(0x2bb)],'actions':null,'textRanges':_0x38027f[_0x51df1a(0x21d)]}},_0x379baa=this['_transformService'][_0x51df1a(0x414)](_0x52259b,_0xb7d971,!0x1);if(_0x116492['isTransformMutationFailure'](_0x379baa))throw _0x379baa[_0x51df1a(0x27b)];_0x41ecf7[_0x51df1a(0x40c)](_0xa2d9f3,{..._0x38027f,'ranges':_0x379baa[_0x51df1a(0x406)][_0x51df1a(0x41c)]['textRanges']});}queueMicrotask(()=>{const _0x16d919=_0x51df1a;this[_0x16d919(0x3f9)][_0x16d919(0x344)](_0x41ecf7);});})));}['_onCursorUpdate'](_0x3a88ac){const _0x27dd0b=_0x513e05;var _0x2b3dd5,_0x5063c4;const {memberID:_0x1d8101,selection:_0x17ce50}=_0x3a88ac['data'],_0x1c794c=_0x4a02b9(_0x17ce50),_0x90ab4a=(_0x5063c4=(_0x2b3dd5=this[_0x27dd0b(0x442)][_0x27dd0b(0x3df)](this[_0x27dd0b(0x2bb)],_0x1d8101))==null?void 0x0:_0x2b3dd5[_0x27dd0b(0x248)])!=null?_0x5063c4:'Unknown\x20user',_0x149026={'color':this[_0x27dd0b(0x3b0)][_0x27dd0b(0x3fc)](_0x1d8101),'name':_0x90ab4a,'ranges':_0x1c794c},_0x43f4ef=this['cursorInfo'];_0x43f4ef['set'](_0x1d8101,_0x149026),this[_0x27dd0b(0x3f9)][_0x27dd0b(0x344)](_0x43f4ef);}[_0x513e05(0x387)](_0x160718){const _0x310baf=_0x513e05,{memberID:_0x51e41d}=_0x160718['data'],_0x4c2462=this[_0x310baf(0x44c)];_0x4c2462['delete'](_0x51e41d),this[_0x310baf(0x3f9)]['next'](_0x4c2462);}['_toggleOnline'](){const _0x10249c=_0x513e05;var _0x162f73;if(this[_0x10249c(0x2a0)]=!0x0,((_0x162f73=this[_0x10249c(0x2b8)][_0x10249c(0x207)]())==null?void 0x0:_0x162f73[_0x10249c(0x353)]())!==this[_0x10249c(0x2bb)])return;const _0xc3f4fc=this[_0x10249c(0x499)][_0x10249c(0x309)](_0x37acc3[_0x10249c(0x381)])[_0x10249c(0x328)]();Array[_0x10249c(0x38f)](_0xc3f4fc)&&_0xc3f4fc[_0x10249c(0x3ec)]>0x0&&this[_0x10249c(0x2d4)](_0xc3f4fc);}[_0x513e05(0x32a)](){const _0x2b10c1=_0x513e05;this[_0x2b10c1(0x2a0)]=!0x1;}};_0x49a88b=_0x3dc6b8([_0x25e0f9(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x25e0f9(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x25e0f9(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x25e0f9(0x5,_0x3772e7['Inject'](_0x39a103)),_0x25e0f9(0x6,_0x116492[_0x513e05(0x474)]),_0x25e0f9(0x7,_0x3772e7[_0x513e05(0x201)]),_0x25e0f9(0x8,_0x3772e7[_0x513e05(0x37d)])],_0x49a88b);var _0x64f36b=Object['getOwnPropertyDescriptor'],_0x3a993e=(_0x151cea,_0x4b0a69,_0x4afa2a,_0x5a8be6)=>{const _0x5c4733=_0x513e05;for(var _0x4473e3=_0x5a8be6>0x1?void 0x0:_0x5a8be6?_0x64f36b(_0x4b0a69,_0x4afa2a):_0x4b0a69,_0x1391fc=_0x151cea[_0x5c4733(0x3ec)]-0x1,_0xc360d0;_0x1391fc>=0x0;_0x1391fc--)(_0xc360d0=_0x151cea[_0x1391fc])&&(_0x4473e3=_0xc360d0(_0x4473e3)||_0x4473e3);return _0x4473e3;},_0x62df0b=(_0x186208,_0x55bff6)=>(_0x41bb77,_0x5719d3)=>_0x55bff6(_0x41bb77,_0x5719d3,_0x186208);const _0xc589c4=0x12c,_0x3203fd=0x64,_0x12dbb7=()=>{let _0xe1419=[],_0x409f1f=!0x1;return _0x2736a1=>{_0xe1419['push'](_0x2736a1),_0x409f1f||(_0x409f1f=!0x0,setTimeout(()=>{_0xe1419['forEach'](_0x2819ef=>_0x2819ef()),_0xe1419=[],_0x409f1f=!0x1;}));};};let _0x42473b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x16f045,_0x3c650b,_0x4d534c,_0x303e87,_0x522873,_0x387eb3,_0x17bdec,_0x4420db){const _0x541eee=_0x513e05;super(),_0xfd5d9c(this,_0x541eee(0x2a0),!0x1),_0xfd5d9c(this,_0x541eee(0x219),!0x1),_0xfd5d9c(this,_0x541eee(0x3f9),new _0x104804['BehaviorSubject'](new Map())),_0xfd5d9c(this,_0x541eee(0x423),this[_0x541eee(0x3f9)][_0x541eee(0x2aa)]()),_0xfd5d9c(this,_0x541eee(0x42c),new _0x104804[(_0x541eee(0x493))]([])),_0xfd5d9c(this,'roomMembers$',this[_0x541eee(0x42c)][_0x541eee(0x372)](_0x104804[_0x541eee(0x212)](_0xc589c4))),_0xfd5d9c(this,_0x541eee(0x2d4),_0x3772e7['debounce']((_0x1fdf56,_0x557a50)=>{const _0x125735=_0x541eee,_0x3e1cb5={'eventID':_0x116492[_0x125735(0x39b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x125735(0x2bb)],'memberID':this[_0x125735(0x3a7)][_0x125735(0x3a6)](),'selection':_0x4915ec['serializeRangeWithSheet'](_0x1fdf56,_0x557a50['range'])}};this[_0x125735(0x3a7)][_0x125735(0x24a)](_0x3e1cb5,this[_0x125735(0x2bb)]);},_0x3203fd)),(this[_0x541eee(0x2bb)]=_0x16f045,this['_session']=_0x3c650b,this[_0x541eee(0x499)]=_0x4d534c,this[_0x541eee(0x3b0)]=_0x303e87,this['_memberService']=_0x522873,this[_0x541eee(0x2b8)]=_0x387eb3,this[_0x541eee(0x2fb)]=_0x17bdec,this[_0x541eee(0x211)]=_0x4420db);}get[_0x513e05(0x44c)](){return this['_cursorInfo$']['getValue']();}get[_0x513e05(0x339)](){const _0x182f6e=_0x513e05;return this[_0x182f6e(0x42c)][_0x182f6e(0x243)]();}[_0x513e05(0x472)](){const _0x49c1d1=_0x513e05;super[_0x49c1d1(0x472)](),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x344)](new Map()),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x3ef)](),this[_0x49c1d1(0x42c)][_0x49c1d1(0x344)]([]),this[_0x49c1d1(0x42c)][_0x49c1d1(0x3ef)]();}[_0x513e05(0x22b)](){const _0x5b4bd7=_0x513e05;this['_init']||(this[_0x5b4bd7(0x219)]=!0x0,this[_0x5b4bd7(0x3a7)]['sessionStatus$'][_0x5b4bd7(0x372)](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))[_0x5b4bd7(0x3ee)](_0x1a2d05=>{const _0xa3aadc=_0x5b4bd7;_0x1a2d05===_0x19f8d7[_0xa3aadc(0x2d3)][_0xa3aadc(0x431)]?this['_toggleOnline']():this[_0xa3aadc(0x32a)]();}),this['_session'][_0x5b4bd7(0x1f0)]['pipe'](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))['subscribe'](_0x5bf2fd=>{const _0x11ff6f=_0x5b4bd7,_0x29d45a=_0x5bf2fd[_0x11ff6f(0x3f1)];_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2de)]&&this[_0x11ff6f(0x375)](_0x5bf2fd),_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2b5)]&&this[_0x11ff6f(0x387)](_0x5bf2fd);}),this[_0x5b4bd7(0x26a)](),this['disposeWithMe'](this[_0x5b4bd7(0x2fb)][_0x5b4bd7(0x27e)](_0x4821d9=>{const _0x3dee1c=_0x5b4bd7;if(this[_0x3dee1c(0x2a0)]&&_0x4821d9['id']===_0x235c42['SetSelectionsOperation']['id']&&_0x4821d9[_0x3dee1c(0x41c)][_0x3dee1c(0x2fa)]===this[_0x3dee1c(0x2bb)]){const _0x1eb5c5=_0x4821d9[_0x3dee1c(0x41c)];this[_0x3dee1c(0x2d4)](_0x1eb5c5[_0x3dee1c(0x1da)],_0x1eb5c5['selections'][0x0]);}})));}[_0x513e05(0x375)](_0x25b34f){const _0x549ff1=_0x513e05;var _0x50bdfc,_0x25a8b3;const {memberID:_0x406214,selection:_0x326768}=_0x25b34f[_0x549ff1(0x300)],{sheetName:_0x5af176,range:_0x4c2bf9}=_0x4915ec['deserializeRangeWithSheet'](_0x326768),_0x1ca767={'name':(_0x25a8b3=(_0x50bdfc=this[_0x549ff1(0x442)][_0x549ff1(0x3df)](this['unitID'],_0x406214))==null?void 0x0:_0x50bdfc[_0x549ff1(0x248)])!=null?_0x25a8b3:'Unknown\x20user','range':this['_getMergeRange'](_0x5af176,_0x4c2bf9),'sheetID':_0x5af176,'color':this[_0x549ff1(0x3b0)]['assignAColorForMemberID'](_0x406214),'selection':_0x326768},_0x39f0a1=this['cursorInfo'];_0x39f0a1[_0x549ff1(0x40c)](_0x406214,_0x1ca767),this[_0x549ff1(0x3f9)][_0x549ff1(0x344)](_0x39f0a1);}[_0x513e05(0x387)](_0x464662){const _0x3b06cf=_0x513e05,{memberID:_0x525daf}=_0x464662[_0x3b06cf(0x300)],_0x60830e=this[_0x3b06cf(0x44c)];_0x60830e[_0x3b06cf(0x365)](_0x525daf),this[_0x3b06cf(0x3f9)][_0x3b06cf(0x344)](_0x60830e);}[_0x513e05(0x315)](_0x4fc43c,_0x2b01bd){const _0x53c8cf=_0x513e05;var _0x10f591,_0x4bb857;const _0x2a493d=(_0x4bb857=(_0x10f591=this[_0x53c8cf(0x2b8)][_0x53c8cf(0x286)](this[_0x53c8cf(0x2bb)]))==null?void 0x0:_0x10f591[_0x53c8cf(0x271)](_0x4fc43c))==null?void 0x0:_0x4bb857[_0x53c8cf(0x492)]();return(_0x2a493d==null?void 0x0:_0x2a493d[_0x53c8cf(0x368)](_0x516345=>_0x3772e7['Rectangle'][_0x53c8cf(0x241)](_0x516345,_0x2b01bd)))||_0x2b01bd;}[_0x513e05(0x26a)](){const _0x43f4c4=_0x513e05,_0x5be895=new _0x3772e7['DisposableCollection'](),_0x4aa4fb=_0x12dbb7(),_0xb69b68=()=>{const _0x5debf2=_0x3621;_0x5be895[_0x5debf2(0x472)]();const _0x13cd8b=(_0x49a93e,_0x436872,_0x52febc,_0x481ef8)=>{const _0x30043a=_0x5debf2;let _0x1a8ab7=[];switch(_0x49a93e['id']){case _0x235c42[_0x30043a(0x223)]['DeleteRangeMoveLeftCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x308)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x401)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x310)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x206)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x20e)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x2d1)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x480)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x276)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3b9)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['InsertRowCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x479)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x456)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x358)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['RemoveColCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x1be)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x487)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3cd)](_0x49a93e,_0x481ef8);break;}}const _0x16173e=_0x235c42[_0x30043a(0x1e4)](_0x1a8ab7,_0x481ef8),_0x4b6746=this[_0x30043a(0x44c)][_0x30043a(0x309)](_0x436872);if(_0x4b6746&&_0x16173e){const _0x30cbda={..._0x4b6746,'range':_0x16173e};this[_0x30043a(0x44c)][_0x30043a(0x40c)](_0x436872,_0x30cbda),_0x4aa4fb(()=>{const _0x5cd1ff=_0x30043a,_0x1e0e9a=this['_refRangeService'][_0x5cd1ff(0x367)](_0x16173e,_0x4dbc29=>(_0x1e0e9a[_0x5cd1ff(0x472)](),_0x13cd8b(_0x4dbc29,_0x436872,_0x52febc,_0x16173e)));_0x5be895['add'](_0x1e0e9a);});}return{'redos':[],'undos':[]};};this[_0x5debf2(0x44c)][_0x5debf2(0x2a8)]((_0x2d8721,_0x472e7a)=>{const _0x5a349d=_0x5debf2,{range:_0x3092e1,sheetID:_0x19b8f8}=_0x2d8721,_0x25d00f=this[_0x5a349d(0x211)][_0x5a349d(0x367)](_0x3092e1,_0x19ce1f=>(_0x25d00f[_0x5a349d(0x472)](),_0x13cd8b(_0x19ce1f,_0x472e7a,_0x19b8f8,_0x3092e1)));_0x5be895['add'](_0x25d00f);});};this[_0x43f4c4(0x317)](_0x3772e7[_0x43f4c4(0x385)](this[_0x43f4c4(0x3f9)][_0x43f4c4(0x3ee)](()=>{_0xb69b68();})));}[_0x513e05(0x46f)](){const _0xbdf5be=_0x513e05;var _0x58cdc3,_0x3deae2;if(this['_online']=!0x0,((_0x58cdc3=this[_0xbdf5be(0x2b8)][_0xbdf5be(0x207)]())==null?void 0x0:_0x58cdc3['getUnitId']())!==this[_0xbdf5be(0x2bb)])return;const _0x52e50f=(_0x3deae2=this['_injector'][_0xbdf5be(0x309)](_0x235c42['SheetsSelectionsService'])[_0xbdf5be(0x30f)]())==null?void 0x0:_0x3deae2[0x0],_0x476167=this['_univerInstanceService']['getCurrentUnitForType'](_0x3772e7['UniverInstanceType'][_0xbdf5be(0x437)])[_0xbdf5be(0x455)]();_0x52e50f&&_0x476167&&this[_0xbdf5be(0x2d4)](_0x476167[_0xbdf5be(0x466)](),_0x52e50f);}[_0x513e05(0x32a)](){const _0x467a81=_0x513e05;this[_0x467a81(0x2a0)]=!0x1;}};_0x42473b=_0x3a993e([_0x62df0b(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x62df0b(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x62df0b(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x62df0b(0x5,_0x3772e7['IUniverInstanceService']),_0x62df0b(0x6,_0x3772e7[_0x513e05(0x37d)]),_0x62df0b(0x7,_0x3772e7[_0x513e05(0x30b)](_0x235c42[_0x513e05(0x34c)]))],_0x42473b);var _0x5dc3a1=Object[_0x513e05(0x33c)],_0x1ed3bf=(_0x2b2032,_0x4f2dbe,_0x25b904,_0xa3937e)=>{const _0x5d5bb5=_0x513e05;for(var _0x1e7001=_0xa3937e>0x1?void 0x0:_0xa3937e?_0x5dc3a1(_0x4f2dbe,_0x25b904):_0x4f2dbe,_0x23c4c7=_0x2b2032[_0x5d5bb5(0x3ec)]-0x1,_0x1b4516;_0x23c4c7>=0x0;_0x23c4c7--)(_0x1b4516=_0x2b2032[_0x23c4c7])&&(_0x1e7001=_0x1b4516(_0x1e7001)||_0x1e7001);return _0x1e7001;},_0x3b0807=(_0x5e6722,_0x2cf0e1)=>(_0xec3dd3,_0x17f663)=>_0x2cf0e1(_0xec3dd3,_0x17f663,_0x5e6722);let _0x2234d1=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x21b776,_0x1440f5,_0x40fa11){const _0x173aed=_0x513e05;super(),_0xfd5d9c(this,'_entities',new Map()),_0xfd5d9c(this,_0x173aed(0x357),new _0x104804[(_0x173aed(0x269))]()),(this[_0x173aed(0x2b8)]=_0x21b776,this[_0x173aed(0x499)]=_0x1440f5,this[_0x173aed(0x3c9)]=_0x40fa11,this[_0x173aed(0x219)]());}[_0x513e05(0x472)](){const _0x2d623f=_0x513e05;super[_0x2d623f(0x472)](),this['_entityInit$'][_0x2d623f(0x3ef)](),this[_0x2d623f(0x3dc)]['forEach'](_0x330c0a=>_0x330c0a[_0x2d623f(0x472)]());}[_0x513e05(0x292)](_0x3bbd6c){const _0x55379c=_0x513e05;return this['_entities']['has'](_0x3bbd6c)?this[_0x55379c(0x3dc)]['get'](_0x3bbd6c)[_0x55379c(0x423)]:this[_0x55379c(0x357)]['pipe'](_0x104804[_0x55379c(0x3e4)](_0x2aae8a=>_0x2aae8a['unitID']===_0x3bbd6c),_0x104804[_0x55379c(0x3a3)](_0x5864c8=>_0x5864c8[_0x55379c(0x423)]));}[_0x513e05(0x219)](){const _0x20879d=_0x513e05;this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))['subscribe'](async _0x579fce=>{const _0x5a0ff1=_0x20879d,_0x1cd7d5=_0x579fce['getUnitId'](),_0x77853b=await this[_0x5a0ff1(0x314)](_0x1cd7d5);this[_0x5a0ff1(0x357)][_0x5a0ff1(0x344)](_0x77853b),this[_0x5a0ff1(0x3dc)][_0x5a0ff1(0x40c)](_0x1cd7d5,_0x77853b);}),this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this['dispose$']))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e4)](_0xfe335f=>!_0xfe335f[_0x20879d(0x353)]()[_0x20879d(0x43c)]('__')))['subscribe'](async _0xf36c05=>{const _0x1311ef=_0x20879d,_0x106d92=_0xf36c05[_0x1311ef(0x353)](),_0x280553=await this['_startDocCollabCursor'](_0x106d92);this[_0x1311ef(0x357)][_0x1311ef(0x344)](_0x280553),this[_0x1311ef(0x3dc)][_0x1311ef(0x40c)](_0x106d92,_0x280553);}),_0x104804[_0x20879d(0x1eb)](this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)]),this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)]))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))[_0x20879d(0x3ee)](_0x19fe44=>{const _0x2c7ccc=_0x20879d,_0x3607a3=_0x19fe44[_0x2c7ccc(0x353)](),_0x1df31b=this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x309)](_0x3607a3);_0x1df31b&&(_0x1df31b[_0x2c7ccc(0x472)](),this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x365)](_0x3607a3));});}async[_0x513e05(0x314)](_0x563269){const _0x4a0783=_0x513e05,_0x112671=await this[_0x4a0783(0x3c9)][_0x4a0783(0x3b4)](_0x563269),_0x2f7275=this['_injector'][_0x4a0783(0x261)](_0x42473b,_0x563269,_0x112671);return _0x2f7275[_0x4a0783(0x22b)](),_0x2f7275;}async[_0x513e05(0x469)](_0x214d8c){const _0x4b747f=_0x513e05,_0x2023ed=await this[_0x4b747f(0x3c9)][_0x4b747f(0x3b4)](_0x214d8c),_0x3c416e=this['_injector'][_0x4b747f(0x261)](_0x49a88b,_0x214d8c,_0x2023ed);return _0x3c416e[_0x4b747f(0x22b)](),_0x3c416e;}};_0x2234d1=_0x1ed3bf([_0x3b0807(0x0,_0x3772e7[_0x513e05(0x201)]),_0x3b0807(0x1,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x3b0807(0x2,_0x3772e7['Inject'](_0x19f8d7['CollaborationSessionService']))],_0x2234d1);const _0x2d8fb8=0x14,_0x4ee5d3=0xc8,_0x1a82ee=0x4,_0x55e3cb=0x5;function _0x2b814f(_0x17c2de,_0x4e4f02){const _0x314e70=_0x513e05;let {radius:_0x5077e8,width:_0x49b425,height:_0x284619}=_0x4e4f02;_0x5077e8=_0x5077e8!=null?_0x5077e8:0x0,_0x49b425=_0x49b425!=null?_0x49b425:0x1e,_0x284619=_0x284619!=null?_0x284619:0x1e;let _0x4e62ac=0x0,_0x34772a=0x0,_0x5a1273=0x0;_0x4e62ac=_0x34772a=_0x5a1273=Math['min'](_0x5077e8,_0x49b425/0x2,_0x284619/0x2),_0x17c2de[_0x314e70(0x453)](),_0x17c2de[_0x314e70(0x1f4)](_0x4e62ac,0x0),_0x17c2de[_0x314e70(0x3d0)](_0x49b425-_0x34772a,0x0),_0x17c2de[_0x314e70(0x334)](_0x49b425-_0x34772a,_0x34772a,_0x34772a,Math['PI']*0x3/0x2,0x0,!0x1),_0x17c2de[_0x314e70(0x3d0)](_0x49b425,_0x284619-_0x5a1273),_0x17c2de['arc'](_0x49b425-_0x5a1273,_0x284619-_0x5a1273,_0x5a1273,0x0,Math['PI']/0x2,!0x1),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x284619),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x4e62ac),_0x17c2de[_0x314e70(0x334)](_0x4e62ac,_0x4e62ac,_0x4e62ac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17c2de['closePath'](),_0x4e4f02['fill']&&(_0x17c2de['save'](),_0x17c2de[_0x314e70(0x270)]=_0x4e4f02['fill'],_0x4e4f02[_0x314e70(0x3ba)]===_0x314e70(0x3e7)?_0x17c2de[_0x314e70(0x2bd)](_0x314e70(0x3e7)):_0x17c2de[_0x314e70(0x2bd)](),_0x17c2de[_0x314e70(0x2be)]());}class _0x1ebdbd extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x3ec316,_0x1f8f72){const _0x2a7592=_0x513e05;super(_0x3ec316,_0x1f8f72),_0xfd5d9c(this,'color'),_0xfd5d9c(this,_0x2a7592(0x24e)),(this['color']=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x336)],this[_0x2a7592(0x24e)]=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x24e)]);}static['drawWith'](_0x533679,_0x37c57e){const _0xabdeb1=_0x513e05,{text:_0x43fe14,color:_0x1b6bfa}=_0x37c57e;_0x533679[_0xabdeb1(0x388)](),_0x533679[_0xabdeb1(0x2f6)]=_0xabdeb1(0x360);const _0x57c439=_0x533679[_0xabdeb1(0x3c2)](_0x43fe14)[_0xabdeb1(0x313)],_0xb76790=Math[_0xabdeb1(0x2b3)](_0x57c439+0x2*_0x1a82ee,_0x4ee5d3);_0x2b814f(_0x533679,{'height':_0x2d8fb8,'radius':0x4,'width':_0xb76790,'fill':_0x1b6bfa}),_0x533679[_0xabdeb1(0x270)]=_0xabdeb1(0x2b9);const _0x14e1c6=_0x1a82ee,_0x23fc03=_0x2d8fb8-_0x55e3cb,_0x5ee7e5=_0x4ee5d3-0x2*_0x1a82ee;if(_0x57c439>_0x5ee7e5){let _0x3ad4ba='',_0x3f4796=0x0;for(const _0x7d3095 of _0x43fe14){const _0x5c8ab3=_0x533679[_0xabdeb1(0x3c2)](_0x7d3095)[_0xabdeb1(0x313)];if(_0x3f4796+_0x5c8ab3<=_0x5ee7e5-_0x533679[_0xabdeb1(0x3c2)](_0xabdeb1(0x354))['width'])_0x3ad4ba+=_0x7d3095,_0x3f4796+=_0x5c8ab3;else{_0x3ad4ba+=_0xabdeb1(0x354);break;}}_0x533679[_0xabdeb1(0x3cb)](_0x3ad4ba,_0x14e1c6,_0x23fc03);}else _0x533679['fillText'](_0x43fe14,_0x14e1c6,_0x23fc03);_0x533679[_0xabdeb1(0x2be)]();}[_0x513e05(0x3e2)](_0x375269){const _0xe7766d=_0x513e05;_0x1ebdbd[_0xe7766d(0x35c)](_0x375269,this);}}const _0x32883b='collab-text-anchor-',_0x51bf40='collab-text-range-',_0x474afd=_0x513e05(0x47b),_0x404681=0x6,_0x40e8c1=1.5,_0x136e3c=0x4,_0x104b0d=1.5,_0x551ba4=_0x513e05(0x1c6);class _0xe6a382{constructor(_0x3a76f4,_0x5bf1e5,_0x497eeb,_0x213938){const _0x2a0e42=_0x513e05;_0xfd5d9c(this,_0x2a0e42(0x240),[]),_0xfd5d9c(this,_0x2a0e42(0x380),null),_0xfd5d9c(this,_0x2a0e42(0x3de),null),_0xfd5d9c(this,_0x2a0e42(0x3c0),null),_0xfd5d9c(this,_0x2a0e42(0x46d),null),_0xfd5d9c(this,_0x2a0e42(0x42f),null),(this['_cursor']=_0x3a76f4,this[_0x2a0e42(0x333)]=_0x5bf1e5,this['_docSkeleton']=_0x497eeb,this['_document']=_0x213938,this[_0x2a0e42(0x497)]());}set[_0x513e05(0x31b)](_0x15b9f8){const _0x89e8f8=_0x513e05;_0x15b9f8?(this[_0x89e8f8(0x3c0)]&&this['_anchorDot'][_0x89e8f8(0x2b6)](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x345)]()):(this[_0x89e8f8(0x3c0)]&&this['_anchorDot']['show'](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x2b6)]());}[_0x513e05(0x472)](){const _0x29d28b=_0x513e05;for(const _0x3892a0 of this[_0x29d28b(0x240)])_0x3892a0[_0x29d28b(0x472)]();this['_textBubble']&&this[_0x29d28b(0x3de)][_0x29d28b(0x472)](),this[_0x29d28b(0x3c0)]&&this[_0x29d28b(0x3c0)][_0x29d28b(0x472)](),this[_0x29d28b(0x380)]&&this[_0x29d28b(0x380)][_0x29d28b(0x472)](),this[_0x29d28b(0x42f)]&&this[_0x29d28b(0x42f)]();}[_0x513e05(0x497)](){const _0x535f32=_0x513e05;var _0x1d5092;const {_docSkeleton:_0x326ec8,_document:_0x8a97c4}=this,{color:_0x130bb5,name:_0x4d1d4c,ranges:_0x2e8889}=this[_0x535f32(0x48d)],_0xe52f85=_0x8a97c4[_0x535f32(0x1ef)](),{docsLeft:_0x154a33,docsTop:_0x1d8d7c}=_0xe52f85,_0x2b713a=new _0x7ab617[(_0x535f32(0x3cf))](_0xe52f85,_0x326ec8);for(const {startOffset:_0x890178,endOffset:_0xd331bc,rangeType:_0x529d8b,segmentId:_0x4098f3,segmentPage:_0x54f6cb,collapsed:_0x383d2d,isActive:_0x13c2ee}of _0x2e8889){const _0x4b3b4e=_0x326ec8['findNodePositionByCharIndex'](_0x890178,!0x0,_0x4098f3,_0x54f6cb);let _0x3deb1b=_0x326ec8['findNodePositionByCharIndex'](_0xd331bc,!0x0,_0x4098f3,_0x54f6cb);if(_0x3deb1b==null&&(_0x3deb1b=_0x326ec8[_0x535f32(0x349)](_0xd331bc-0x1,!0x1,_0x4098f3,_0x54f6cb)),_0x13c2ee){const {contentBoxPointGroup:_0x2defa4}=_0x2b713a[_0x535f32(0x1f8)](_0x3deb1b,_0x3deb1b);if(_0x2defa4[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x2b4)](_0x130bb5,_0x2defa4,_0x154a33,_0x1d8d7c,_0x4d1d4c),this['_eventUnsubscribe']=this[_0x535f32(0x363)]();}if(_0x4b3b4e&&_0x3deb1b){if(_0x529d8b===_0x3772e7['DOC_RANGE_TYPE'][_0x535f32(0x3b7)]){const _0x182a96=new _0x7ab617[(_0x535f32(0x3a8))](_0xe52f85,_0x326ec8),{pointGroup:_0xb0f904}=(_0x1d5092=_0x182a96[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b))!=null?_0x1d5092:{};if(_0xb0f904==null||_0xb0f904[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x282)](_0x130bb5,_0xb0f904,_0x154a33,_0x1d8d7c);}else{if(!_0x383d2d){const {borderBoxPointGroup:_0x2d1d71}=_0x2b713a[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b);if(_0x2d1d71[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x25f)](_0x130bb5,_0x2d1d71,_0x154a33,_0x1d8d7c);}}}}}[_0x513e05(0x2b4)](_0x48fb6d,_0x37181b,_0x135a11,_0x40c1a8,_0x458422){const _0x34bbe5=_0x513e05,_0x43fa79=this['_getAnchorBounding'](_0x37181b),{left:_0x2301c3,top:_0x3ce6bf,height:_0x833ae6}=_0x43fa79,_0x52170d=this[_0x34bbe5(0x429)](),_0x3c6373=_0x104b0d/_0x52170d,_0x28b6bf=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8,'height':_0x833ae6,'width':_0x40e8c1,'fill':_0x48fb6d||_0x29b571['getColor'](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':_0x3c6373,'stroke':_0x551ba4,'evented':!0x0});this[_0x34bbe5(0x380)]=_0x28b6bf,this['_scene'][_0x34bbe5(0x28c)](_0x28b6bf,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);const _0x5e001c=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7[_0x34bbe5(0x2ae)](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x136e3c/0x2,'height':_0x136e3c,'width':_0x136e3c,'fill':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':0x0,'stroke':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7[_0x34bbe5(0x221)][_0x34bbe5(0x304)],0x0),'evented':!0x1});this[_0x34bbe5(0x3c0)]=_0x5e001c,this[_0x34bbe5(0x333)][_0x34bbe5(0x28c)](_0x5e001c,_0x7ab617[_0x34bbe5(0x1fd)]);const _0x312b09=new _0x1ebdbd(_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x2d8fb8,'text':_0x458422,'color':_0x48fb6d});this['_textBubble']=_0x312b09,this['_scene']['addObject'](_0x312b09,_0x7ab617[_0x34bbe5(0x1fd)]),this['_hover']=!0x1;}['_handleHover'](){const _0x358d32=_0x513e05,_0x2b8d64=this[_0x358d32(0x380)][_0x358d32(0x20b)]['subscribeEvent'](()=>{const _0x2a5a81=_0x358d32;this[_0x2a5a81(0x31b)]=!0x0;}),_0x2a9906=this['_anchor'][_0x358d32(0x258)]['subscribeEvent'](()=>{const _0x2ee4d3=_0x358d32;this[_0x2ee4d3(0x46d)]&&clearTimeout(this[_0x2ee4d3(0x46d)]),this[_0x2ee4d3(0x46d)]=setTimeout(()=>{const _0x7e5813=_0x2ee4d3;this[_0x7e5813(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x4111f6=_0x358d32;_0x2b8d64[_0x4111f6(0x383)](),_0x2a9906[_0x4111f6(0x383)]();};}[_0x513e05(0x25f)](_0x2aed28,_0x5f472e,_0x1e0e42,_0x2fbba8){const _0x508fb2=_0x513e05,_0x11c010=new _0x3772e7['ColorKit'](_0x2aed28)[_0x508fb2(0x1c8)](0.2)[_0x508fb2(0x484)](),_0x552c01=new _0x29b571[(_0x508fb2(0x319))](_0x51bf40+_0x3772e7['generateRandomId'](_0x404681),{'pointsGroup':_0x5f472e,'fill':_0x11c010||_0x29b571[_0x508fb2(0x3f8)](_0x3772e7[_0x508fb2(0x221)][_0x508fb2(0x304)],0.2),'left':_0x1e0e42,'top':_0x2fbba8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x508fb2(0x240)][_0x508fb2(0x2e0)](_0x552c01),this['_scene'][_0x508fb2(0x28c)](_0x552c01,_0x7ab617[_0x508fb2(0x1fd)]);}[_0x513e05(0x282)](_0x11f0bf,_0x2e5dc,_0x45b373,_0x5e4286){const _0x35729f=_0x513e05,_0x328aad=new _0x3772e7[(_0x35729f(0x236))](_0x11f0bf)['setAlpha'](0.2)[_0x35729f(0x484)](),_0x4e30cd=new _0x29b571[(_0x35729f(0x319))](_0x474afd+_0x3772e7[_0x35729f(0x2ae)](_0x404681),{'pointsGroup':_0x2e5dc,'fill':_0x328aad||_0x29b571[_0x35729f(0x3f8)](_0x3772e7['COLORS'][_0x35729f(0x304)],0.2),'left':_0x45b373,'top':_0x5e4286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35729f(0x240)]['push'](_0x4e30cd),this[_0x35729f(0x333)]['addObject'](_0x4e30cd,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);}[_0x513e05(0x3fd)](_0x11e699){const _0x4e39fd=_0x11e699[0x0],_0x47c9db=_0x4e39fd[0x0],_0x14f768=_0x4e39fd[0x2],{x:_0x6fcd1e,y:_0x49469c}=_0x47c9db,{x:_0x106562,y:_0x3eb4b9}=_0x14f768;return{'left':_0x6fcd1e,'top':_0x49469c,'width':_0x106562-_0x6fcd1e,'height':_0x3eb4b9-_0x49469c};}['_getScale'](){const _0x283284=_0x513e05,{scaleX:_0x23a028,scaleY:_0x12e7eb}=this[_0x283284(0x333)][_0x283284(0x254)]();return Math['max'](_0x23a028,_0x12e7eb);}}var _0x318d1d=Object[_0x513e05(0x33c)],_0xfd50fd=(_0x12307b,_0x528f88,_0x5419b1,_0x4c881d)=>{const _0x50b167=_0x513e05;for(var _0x25484c=_0x4c881d>0x1?void 0x0:_0x4c881d?_0x318d1d(_0x528f88,_0x5419b1):_0x528f88,_0xdace3a=_0x12307b[_0x50b167(0x3ec)]-0x1,_0x5a3420;_0xdace3a>=0x0;_0xdace3a--)(_0x5a3420=_0x12307b[_0xdace3a])&&(_0x25484c=_0x5a3420(_0x25484c)||_0x25484c);return _0x25484c;},_0x1f5c41=(_0x384e79,_0x53c53d)=>(_0x4b594d,_0x14560f)=>_0x53c53d(_0x4b594d,_0x14560f,_0x384e79);let _0x4d05f1=class extends _0x3772e7['RxDisposable']{constructor(_0x2cafae,_0x90c3f6,_0x2fc4f,_0x280736,_0x315fca){const _0x29490f=_0x513e05;super(),_0xfd5d9c(this,_0x29490f(0x35a),[]),_0xfd5d9c(this,'_cursors',[]),(this['_context']=_0x2cafae,this[_0x29490f(0x3b8)]=_0x90c3f6,this[_0x29490f(0x38d)]=_0x2fc4f,this[_0x29490f(0x2fb)]=_0x280736,this[_0x29490f(0x323)]=_0x315fca,this[_0x29490f(0x219)]());}[_0x513e05(0x219)](){const _0x5f0dfe=_0x513e05,_0x588e68=this[_0x5f0dfe(0x2f4)][_0x5f0dfe(0x2fa)],_0x3557d2=this[_0x5f0dfe(0x3b8)];this[_0x5f0dfe(0x317)](_0x104804[_0x5f0dfe(0x30d)]([this[_0x5f0dfe(0x38d)]['getCollabCursors$'](_0x588e68),this[_0x5f0dfe(0x323)][_0x5f0dfe(0x3d1)]])[_0x5f0dfe(0x372)](_0x568e97[_0x5f0dfe(0x407)](([_0x1d325d,_0x1dbed5])=>({'skeleton':_0x3557d2['getSkeleton'](),'cursors':[..._0x1d325d[_0x5f0dfe(0x39d)]()]['flatMap'](_0x4fa6f2=>({..._0x4fa6f2,'color':this[_0x5f0dfe(0x323)][_0x5f0dfe(0x476)](_0x4fa6f2[_0x5f0dfe(0x336)])}))})))[_0x5f0dfe(0x3ee)](_0x3478b0=>{const _0x1e9d27=_0x5f0dfe;if(this[_0x1e9d27(0x2b0)](),_0x3478b0){const {skeleton:_0x155408,cursors:_0xee3ba7}=_0x3478b0;this[_0x1e9d27(0x316)](_0x155408,_0xee3ba7);}})),this[_0x5f0dfe(0x2cb)](),this[_0x5f0dfe(0x450)]();}[_0x513e05(0x316)](_0x420556,_0x14f122){const _0x4604c1=_0x513e05,{scene:_0x4a218c,mainComponent:_0x2ccdda}=this['_context'],_0x263af1=_0x14f122['map'](_0x3fb87c=>new _0xe6a382(_0x3fb87c,_0x4a218c,_0x420556,_0x2ccdda));this[_0x4604c1(0x35a)]=_0x263af1,this['_cursors']=_0x14f122;}[_0x513e05(0x2a4)](){const _0x5437c4=_0x513e05;this[_0x5437c4(0x2b0)]();const {scene:_0x1d80f5,mainComponent:_0x456d22}=this[_0x5437c4(0x2f4)],_0x57d739=this[_0x5437c4(0x3b8)][_0x5437c4(0x338)](),_0x10689d=this[_0x5437c4(0x489)][_0x5437c4(0x407)](_0x249b8a=>new _0xe6a382(_0x249b8a,_0x1d80f5,_0x57d739,_0x456d22));this[_0x5437c4(0x35a)]=_0x10689d;}['_removeCollabCursors'](){const _0x13d2d5=_0x513e05;this[_0x13d2d5(0x35a)][_0x13d2d5(0x2a8)](_0x150b4e=>_0x150b4e[_0x13d2d5(0x472)]()),this[_0x13d2d5(0x35a)]=[];}['_initCommandExecutedListener'](){const _0x320ca5=_0x513e05,_0x449bbe=[_0x7ab617[_0x320ca5(0x410)]['id']];this[_0x320ca5(0x317)](this['_commandService']['onCommandExecuted'](_0xf36dd0=>{const _0xa27884=_0x320ca5;_0x449bbe[_0xa27884(0x40d)](_0xf36dd0['id'])&&_0xf36dd0[_0xa27884(0x41c)]['unitId']===this['_context'][_0xa27884(0x2fa)]&&this[_0xa27884(0x2a4)]();}));}['_initResize'](){const _0x55ac46=_0x513e05;this[_0x55ac46(0x317)](_0x3772e7[_0x55ac46(0x2d8)](this[_0x55ac46(0x2f4)]['engine']['onTransformChange$'])[_0x55ac46(0x372)](_0x568e97[_0x55ac46(0x3e4)](_0x12e2d8=>_0x12e2d8[_0x55ac46(0x23f)]===_0x29b571['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x55ac46(0x218)]),_0x568e97[_0x55ac46(0x411)](0x10))['subscribe'](()=>{const _0x1e96d7=_0x55ac46;this[_0x1e96d7(0x2a4)]();}));}};_0x4d05f1=_0xfd50fd([_0x1f5c41(0x1,_0x3772e7['Inject'](_0x37acc3[_0x513e05(0x465)])),_0x1f5c41(0x2,_0x3772e7['Inject'](_0x2234d1)),_0x1f5c41(0x3,_0x3772e7['ICommandService']),_0x1f5c41(0x4,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4d05f1);const _0x8ae3bd=0x1,_0x519199=1.5;class _0xc79a86 extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x39987c,_0xda71b0){const _0x43e7ef=_0x513e05;super(_0x39987c,_0xda71b0),_0xfd5d9c(this,'_color'),_0xfd5d9c(this,_0x43e7ef(0x1f2),!0x1),_0xfd5d9c(this,'_range'),_0xfd5d9c(this,'_name',''),_0xfd5d9c(this,'_labelPosition','top'),_0xfd5d9c(this,_0x43e7ef(0x31a)),(_0xda71b0&&this[_0x43e7ef(0x3e0)](_0xda71b0),this[_0x43e7ef(0x20b)][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8aaf){const _0x5d3463=_0x513e05;var _0x5b3bac,_0x426284,_0x4227f7,_0x29dc60,_0x33f5d8,_0x32e118;this[_0x5d3463(0x23e)]=(_0x5b3bac=_0x3e8aaf[_0x5d3463(0x336)])!=null?_0x5b3bac:this[_0x5d3463(0x23e)],this[_0x5d3463(0x1f2)]=(_0x426284=_0x3e8aaf[_0x5d3463(0x3ff)])!=null?_0x426284:this['_hovered'],this['_range']=(_0x4227f7=_0x3e8aaf[_0x5d3463(0x2f9)])!=null?_0x4227f7:this[_0x5d3463(0x2dc)],this[_0x5d3463(0x2dd)]=(_0x29dc60=_0x3e8aaf[_0x5d3463(0x248)])!=null?_0x29dc60:this['_name'],this[_0x5d3463(0x1e7)]=(_0x33f5d8=_0x3e8aaf[_0x5d3463(0x2e5)])!=null?_0x33f5d8:this[_0x5d3463(0x1e7)],this[_0x5d3463(0x31a)]=(_0x32e118=_0x3e8aaf['backgroundColor'])!=null?_0x32e118:this[_0x5d3463(0x31a)],this[_0x5d3463(0x41d)]({'width':_0x3e8aaf[_0x5d3463(0x313)],'height':_0x3e8aaf[_0x5d3463(0x2b2)]});}[_0x513e05(0x1cd)](_0x17432b){const _0xfd46d5=_0x513e05,{row:_0x2e1e51,column:_0x5b0463}=_0x17432b;if(_0x2e1e51>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x311)]&&_0x2e1e51<=this['_range'][_0xfd46d5(0x408)]&&_0x5b0463>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x2d6)]&&_0x5b0463<=this[_0xfd46d5(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xfd46d5(0x3e0)]({'hovered':!0x1});}[_0x513e05(0x454)](_0x2057c2){return!0x1;}[_0x513e05(0x3e2)](_0x2213d7){const _0x1c80a3=_0x513e05;_0x29b571[_0x1c80a3(0x460)][_0x1c80a3(0x35c)](_0x2213d7,{'width':this['width'],'height':this[_0x1c80a3(0x2b2)],'strokeWidth':_0x519199,'stroke':this[_0x1c80a3(0x23e)],'evented':!0x1,'fill':this[_0x1c80a3(0x31a)]}),this[_0x1c80a3(0x1f2)]&&(_0x2213d7[_0x1c80a3(0x388)](),_0x2213d7['transform'](0x1,0x0,0x0,0x1,this[_0x1c80a3(0x313)],this[_0x1c80a3(0x1e7)]===_0x1c80a3(0x1e3)?0x0:-_0x2d8fb8),_0x1ebdbd['drawWith'](_0x2213d7,{'text':this[_0x1c80a3(0x2dd)],'color':this[_0x1c80a3(0x23e)]}),_0x2213d7['restore']());}}var _0x2e98ed=Object[_0x513e05(0x33c)],_0x21ad4b=(_0x40f8b9,_0x48fd6a,_0x51b62c,_0x108bef)=>{const _0x549863=_0x513e05;for(var _0x186b3f=_0x108bef>0x1?void 0x0:_0x108bef?_0x2e98ed(_0x48fd6a,_0x51b62c):_0x48fd6a,_0x51732f=_0x40f8b9[_0x549863(0x3ec)]-0x1,_0x5e49e9;_0x51732f>=0x0;_0x51732f--)(_0x5e49e9=_0x40f8b9[_0x51732f])&&(_0x186b3f=_0x5e49e9(_0x186b3f)||_0x186b3f);return _0x186b3f;},_0x22e80f=(_0x53ab7b,_0x146e27)=>(_0x2c5c27,_0x1cfac3)=>_0x146e27(_0x2c5c27,_0x1cfac3,_0x53ab7b);const _0x354c78=0x1389;let _0x4fc936=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x31ee8c,_0x491daf,_0x70d571,_0x951809){const _0x7740ba=_0x513e05;super(),_0xfd5d9c(this,'_cursors',new Set()),_0xfd5d9c(this,_0x7740ba(0x24c),null),(this['_context']=_0x31ee8c,this[_0x7740ba(0x1f7)]=_0x491daf,this[_0x7740ba(0x38d)]=_0x70d571,this[_0x7740ba(0x323)]=_0x951809,this['_init']());}['_init'](){const _0x2c4811=_0x513e05;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2c4811(0x372)](_0x568e97[_0x2c4811(0x3e1)](this[_0x2c4811(0x3b1)]),_0x568e97[_0x2c4811(0x3a3)](_0x5e7407=>{const _0x32580a=_0x2c4811;if(_0x5e7407){const _0x1c7166=_0x5e7407['sheetId'];return _0x104804[_0x32580a(0x30d)](this['_collabCursorController'][_0x32580a(0x292)](this[_0x32580a(0x2f4)][_0x32580a(0x2fa)]),this[_0x32580a(0x323)][_0x32580a(0x3d1)])['pipe'](_0x568e97[_0x32580a(0x407)](([_0x3fe3d7,_0x452339])=>{const _0x1b0b2f=_0x32580a,_0x5736f9=new Map();return _0x3fe3d7[_0x1b0b2f(0x2a8)]((_0x834c28,_0x3f43c2)=>{const _0x19f1fd=_0x1b0b2f;if(_0x834c28['sheetID']===_0x1c7166){const _0x3670ef={..._0x834c28};_0x3670ef['color']=this['_themeService']['getColorFromTheme'](_0x834c28[_0x19f1fd(0x336)]),_0x5736f9[_0x19f1fd(0x40c)](_0x3f43c2,_0x3670ef);}}),{'skeleton':_0x5e7407,'cursors':_0x5736f9};}));}return _0x104804['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x42bafc,cursors:_0x2a61ea})=>{const _0x43ed3d=_0x2c4811;this[_0x43ed3d(0x2b0)](),_0x42bafc&&this['_updateCollabCursors'](_0x42bafc,_0x2a61ea);}),this[_0x2c4811(0x1f7)][_0x2c4811(0x2ce)]['subscribe'](_0x2a8593=>{const _0x72553=_0x2c4811;if(_0x2a8593==null)return;const {skeleton:_0x35862e}=_0x2a8593,{scene:_0x2a6da1}=this['_context'];_0x2a6da1[_0x72553(0x362)][_0x72553(0x37a)](_0x3772e7[_0x72553(0x43a)](_0x20a506=>{const _0x1e5ff0=_0x72553;var _0x3dcbed,_0x3fa7d6;const {offsetX:_0x3a905c,offsetY:_0x4c480e}=_0x20a506,{x:_0x4cd532,y:_0x355cce}=_0x2a6da1[_0x1e5ff0(0x29b)](_0x29b571['Vector2'][_0x1e5ff0(0x32e)]([_0x3a905c,_0x4c480e])),{scaleX:_0x56d765,scaleY:_0x4bd465}=_0x2a6da1[_0x1e5ff0(0x254)](),_0x2bf5a9=_0x2a6da1[_0x1e5ff0(0x38a)](_0x29b571['SHEET_VIEWPORT_KEY'][_0x1e5ff0(0x2da)]),_0x50b788=_0x2a6da1[_0x1e5ff0(0x45f)](_0x29b571[_0x1e5ff0(0x253)][_0x1e5ff0(0x32e)]([_0x4cd532,_0x355cce]),_0x2bf5a9),_0x576aec=_0x35862e[_0x1e5ff0(0x404)](_0x3a905c,_0x4c480e,_0x56d765,_0x4bd465,_0x50b788);((_0x3dcbed=this[_0x1e5ff0(0x24c)])==null?void 0x0:_0x3dcbed['column'])===_0x576aec[_0x1e5ff0(0x275)]&&((_0x3fa7d6=this['_lastPointer'])==null?void 0x0:_0x3fa7d6['row'])===_0x576aec[_0x1e5ff0(0x1ee)]||this['_cursors'][_0x1e5ff0(0x2a8)](_0x103ccc=>{const _0xc34117=_0x1e5ff0;_0x103ccc[_0xc34117(0x1cd)](_0x576aec);});},0x64));});}['_updateCollabCursors'](_0x14c980,_0x15af29){const _0x204fa0=_0x513e05;var _0x4cbc01;const _0x684e3d=(_0x4cbc01=this[_0x204fa0(0x1f7)][_0x204fa0(0x44b)]())==null?void 0x0:_0x4cbc01[_0x204fa0(0x213)];if(!_0x684e3d)return;const _0x32757e=this[_0x204fa0(0x48c)]();if(!_0x32757e)return;this['_cursors'][_0x204fa0(0x2a8)](_0x22ca18=>{const _0x12d855=_0x204fa0;_0x22ca18[_0x12d855(0x3f4)]();});const {scene:_0x1d5bef}=_0x32757e,_0x3914ae=_0x56585e(Array[_0x204fa0(0x2a2)](_0x15af29['values']()))[_0x204fa0(0x407)](_0x2e68fa=>{const _0xe94795=_0x204fa0,{color:_0x37f57f,range:_0x25981e,name:_0x5bc598,selection:_0x40b755,sheetID:_0x12e2bf}=_0x2e68fa,{startColumn:_0x28a945,startRow:_0x2e7bfb,endColumn:_0x348f2a,endRow:_0x39fe65}=_0x25981e,_0x52c7f2=_0x3e18f2['getCoordByCell'](_0x2e7bfb,_0x28a945,_0x1d5bef,_0x684e3d),_0x72acba=_0x3e18f2[_0xe94795(0x318)](_0x39fe65,_0x348f2a,_0x1d5bef,_0x684e3d),{columnHeaderHeightAndMarginTop:_0x116240}=_0x684e3d,{startX:_0x3df4c0,startY:_0x45d3f2}=_0x52c7f2,{endX:_0x453f04,endY:_0x4cb7b6}=_0x72acba,_0x299809=_0x453f04-_0x3df4c0,_0x5a7d82=_0x4cb7b6-_0x45d3f2,_0x1577f4={'labelPosition':_0x45d3f2-_0x116240>=_0x2d8fb8?_0xe94795(0x3ea):_0xe94795(0x1e3),'sheetID':_0x12e2bf,'range':_0x25981e,'color':_0x37f57f,'name':_0x5bc598,'selection':_0x40b755,'left':_0x3df4c0,'top':_0x45d3f2,'width':_0x299809,'height':_0x5a7d82,'evented':!0x1,'zIndex':_0x354c78};return new _0xc79a86(_0x5bc598,_0x1577f4);});_0x1d5bef[_0x204fa0(0x227)](_0x3914ae,_0x8ae3bd),this[_0x204fa0(0x489)]=new Set(_0x3914ae);}[_0x513e05(0x2b0)](){const _0x1f1caf=_0x513e05;var _0x211c5a;(_0x211c5a=this[_0x1f1caf(0x489)])==null||_0x211c5a[_0x1f1caf(0x2a8)](_0x436720=>_0x436720[_0x1f1caf(0x472)]());}['_getSheetObject'](){const _0x43c1e3=_0x513e05;return _0x3e18f2[_0x43c1e3(0x439)](this[_0x43c1e3(0x2f4)][_0x43c1e3(0x438)],this['_context']);}};_0x4fc936=_0x21ad4b([_0x22e80f(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3e18f2['SheetSkeletonManagerService'])),_0x22e80f(0x2,_0x3772e7[_0x513e05(0x30b)](_0x2234d1)),_0x22e80f(0x3,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4fc936);function _0x56585e(_0x5de952){const _0x144b04=_0x513e05,_0x1de40c=new Map();return _0x5de952[_0x144b04(0x2a8)](_0x27ee28=>{const _0x197385=_0x144b04;if(_0x1de40c[_0x197385(0x28b)](_0x27ee28['selection'])){const _0x136060=_0x1de40c[_0x197385(0x309)](_0x27ee28[_0x197385(0x3d6)]);_0x136060[_0x197385(0x248)]+=',\x20'+_0x27ee28[_0x197385(0x248)];}else _0x1de40c[_0x197385(0x40c)](_0x27ee28[_0x197385(0x3d6)],_0x27ee28);}),Array[_0x144b04(0x2a2)](_0x1de40c[_0x144b04(0x39d)]());}var _0x1fc807=Object[_0x513e05(0x33c)],_0xeecbf1=(_0x78943f,_0x39e1df,_0x2bff15,_0x5ea7a7)=>{for(var _0x19dec1=_0x5ea7a7>0x1?void 0x0:_0x5ea7a7?_0x1fc807(_0x39e1df,_0x2bff15):_0x39e1df,_0x1667c4=_0x78943f['length']-0x1,_0x347ad5;_0x1667c4>=0x0;_0x1667c4--)(_0x347ad5=_0x78943f[_0x1667c4])&&(_0x19dec1=_0x347ad5(_0x19dec1)||_0x19dec1);return _0x19dec1;},_0x15f4ee=(_0x2e8f24,_0x5a61c4)=>(_0x11235b,_0x2ffb4e)=>_0x5a61c4(_0x11235b,_0x2ffb4e,_0x2e8f24);let _0x23daa2=class extends _0x3772e7['Disposable']{constructor(_0x1190a0,_0x37c60b,_0x39e3e9,_0x137925,_0x36bd2a,_0x25930d){const _0x2c0081=_0x513e05;super(),this[_0x2c0081(0x28f)]=_0x1190a0,this[_0x2c0081(0x224)]=_0x37c60b,this[_0x2c0081(0x225)]=_0x39e3e9,this[_0x2c0081(0x1f1)]=_0x137925,this[_0x2c0081(0x36c)]=_0x36bd2a,this[_0x2c0081(0x45e)]=_0x25930d,this[_0x2c0081(0x278)](),this[_0x2c0081(0x3bf)]();}[_0x513e05(0x278)](){const _0x5bcbd4=_0x513e05;this[_0x5bcbd4(0x317)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x18bb8a=_0x5bcbd4;if(this[_0x18bb8a(0x224)]['saveTaskMap'][_0x18bb8a(0x396)])return this[_0x18bb8a(0x45e)]['t'](_0x18bb8a(0x229));}));}[_0x513e05(0x3bf)](){const _0x3907d8=_0x513e05;this[_0x3907d8(0x317)](this['_collaborationUIEventService'][_0x3907d8(0x1f0)]['subscribe'](_0x293ccd=>{const _0xc22a3c=_0x3907d8;_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604['MessageType'][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x3f3))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x391)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x230)]&&this[_0xc22a3c(0x36c)]['show']({'title':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x1bc)),'content':this[_0xc22a3c(0x45e)]['t']('permission.content'),'type':_0xc22a3c(0x27b),'duration':0x0}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x2c2)]&&this['_messageService']['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')+'('+_0x293ccd['data']+')'}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x41f)]&&this['_messageService'][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0x293ccd[_0xc22a3c(0x300)]||'')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x306)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this['_localeService']['t'](_0xc22a3c(0x477))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.connection-failed')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.collaboration-timeout')});}));}};_0x23daa2=_0xeecbf1([_0x15f4ee(0x0,_0x2e0e04['IBeforeCloseService']),_0x15f4ee(0x1,_0x19f8d7[_0x513e05(0x36d)]),_0x15f4ee(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x24b)])),_0x15f4ee(0x3,_0x2e0e04[_0x513e05(0x320)]),_0x15f4ee(0x4,_0x2e0e04[_0x513e05(0x2a6)]),_0x15f4ee(0x5,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x23daa2);var _0x41ee97=Object[_0x513e05(0x33c)],_0x42024e=(_0x37b62e,_0x488ab9,_0x3d8854,_0x496979)=>{const _0xfedb5c=_0x513e05;for(var _0x57ecf4=_0x496979>0x1?void 0x0:_0x496979?_0x41ee97(_0x488ab9,_0x3d8854):_0x488ab9,_0x33b252=_0x37b62e[_0xfedb5c(0x3ec)]-0x1,_0x2bec64;_0x33b252>=0x0;_0x33b252--)(_0x2bec64=_0x37b62e[_0x33b252])&&(_0x57ecf4=_0x2bec64(_0x57ecf4)||_0x57ecf4);return _0x57ecf4;},_0x207359=(_0x30a909,_0x9a48d7)=>(_0x5772db,_0x512a77)=>_0x9a48d7(_0x5772db,_0x512a77,_0x30a909);let _0x19eb72=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x52e992,_0x1e788b,_0x360329,_0x22d765){const _0x14494c=_0x513e05;super(),_0xfd5d9c(this,'_memberID'),(this[_0x14494c(0x499)]=_0x52e992,this[_0x14494c(0x2cc)]=_0x1e788b,this['_logService']=_0x360329,this[_0x14494c(0x1fa)]=_0x22d765,this[_0x14494c(0x219)]());}[_0x513e05(0x219)](){const _0x368c0c=_0x513e05;this[_0x368c0c(0x210)](),this[_0x368c0c(0x392)](),this[_0x368c0c(0x446)](),this[_0x368c0c(0x233)]();}[_0x513e05(0x233)](){const _0x15130c=_0x513e05;this[_0x15130c(0x317)](this[_0x15130c(0x1fa)][_0x15130c(0x351)][_0x15130c(0x3ee)](_0x3fbdc5=>{const _0x33def3=_0x15130c;this['_memberID']=_0x3fbdc5==null?void 0x0:_0x3fbdc5[_0x33def3(0x47a)];}));}['_initWindowErrorListener'](){const _0x569f9c=_0x513e05,_0x308455=_0x38e438=>{const _0x4ac515=_0x3621;var _0x2a5251;this[_0x4ac515(0x26c)]('error',_0x4ac515(0x1e2)+_0x38e438[_0x4ac515(0x2a1)]+_0x4ac515(0x462)+_0x38e438[_0x4ac515(0x20f)]+':'+_0x38e438['lineno']+':'+_0x38e438['colno']+'\x0a'+(((_0x2a5251=_0x38e438['error'])==null?void 0x0:_0x2a5251[_0x4ac515(0x2d0)])||''));};window[_0x569f9c(0x459)](_0x569f9c(0x27b),_0x308455),this[_0x569f9c(0x317)](()=>{const _0x37a7cf=_0x569f9c;window[_0x37a7cf(0x44a)](_0x37a7cf(0x27b),_0x308455);});}[_0x513e05(0x392)](){const _0xf9499f=_0x513e05,_0x46caec=_0x43aeca=>{const _0x511d62=_0x3621;this[_0x511d62(0x26c)]('error',_0x511d62(0x39f)+_0x43aeca[_0x511d62(0x332)]);};window[_0xf9499f(0x459)](_0xf9499f(0x2f5),_0x46caec),this[_0xf9499f(0x317)](()=>{const _0x23fefe=_0xf9499f;window[_0x23fefe(0x44a)](_0x23fefe(0x2f5),_0x46caec);});}[_0x513e05(0x446)](){const _0x2da058=_0x513e05,_0x20f4c5=this['_logService'][_0x2da058(0x27b)][_0x2da058(0x49a)](this['_logService']);this['_logService'][_0x2da058(0x27b)]=(..._0x224570)=>{const _0x46e62e=_0x2da058,_0x18ba83=_0x224570[_0x46e62e(0x407)](_0x23b76f=>_0x23b76f instanceof Error?_0x23b76f[_0x46e62e(0x2a1)]+'\x0a'+_0x23b76f[_0x46e62e(0x2d0)]:String(_0x23b76f))[_0x46e62e(0x35b)]('\x20');this[_0x46e62e(0x26c)](_0x46e62e(0x27b),_0x46e62e(0x3c6)+_0x18ba83),_0x20f4c5(..._0x224570);},this[_0x2da058(0x317)](()=>{const _0x44f090=_0x2da058;this[_0x44f090(0x263)][_0x44f090(0x27b)]=_0x20f4c5;});}['_uploadLog'](_0x573d74,_0x290014){const _0x3b448b=_0x513e05;try{const _0x50c658={'userId':this[_0x3b448b(0x290)],'logLabel':_0x573d74,'content':_0x290014};this['_httpService'][_0x3b448b(0x1db)](_0x3b448b(0x38b),{'body':_0x50c658})[_0x3b448b(0x1c3)](()=>{});}catch{}}};_0x19eb72=_0x42024e([_0x207359(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x207359(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x207359(0x2,_0x3772e7[_0x513e05(0x23d)]),_0x207359(0x3,_0x3772e7['Inject'](_0x19f8d7[_0x513e05(0x293)]))],_0x19eb72);const _0x2157a3=_0x513e05(0x3f0),_0x52c7c0={};var _0xf0dfb2=Object[_0x513e05(0x33c)],_0x33eddd=(_0x104115,_0xa508f9,_0x184bcd,_0x4cff1f)=>{const _0x4c6897=_0x513e05;for(var _0x10a093=_0x4cff1f>0x1?void 0x0:_0x4cff1f?_0xf0dfb2(_0xa508f9,_0x184bcd):_0xa508f9,_0x429611=_0x104115[_0x4c6897(0x3ec)]-0x1,_0x1fd8c9;_0x429611>=0x0;_0x429611--)(_0x1fd8c9=_0x104115[_0x429611])&&(_0x10a093=_0x1fd8c9(_0x10a093)||_0x10a093);return _0x10a093;},_0x23af59=(_0x2b0a14,_0x5f58e7)=>(_0x3a15df,_0x9d97cb)=>_0x5f58e7(_0x3a15df,_0x9d97cb,_0x2b0a14);let _0x32f42e=class{constructor(_0x2c17ab,_0x1d2a8d){const _0x1cc9a0=_0x513e05;this[_0x1cc9a0(0x2c7)]=_0x2c17ab,this['_renderManagerService']=_0x1d2a8d;}['transformIMECache'](_0xa4c095){const _0x4b1a16=_0x513e05;this[_0x4b1a16(0x31f)](_0xa4c095),this['_transformPreviousActiveRange'](_0xa4c095);}['transformRemoteChangeset'](_0x26bec9){const _0x42db4c=_0x513e05,{unitID:_0x4841e5}=_0x26bec9,_0x53b5d7=this[_0x42db4c(0x26d)][_0x42db4c(0x403)](_0x4841e5)[_0x42db4c(0x471)](_0x7ab617[_0x42db4c(0x1dc)]),{redoCache:_0x5ef349}=_0x53b5d7['getUndoRedoMutationParamsCache']();if(_0x5ef349[_0x42db4c(0x3ec)]===0x0)return _0x26bec9;let _0x38f1e1=_0x3772e7[_0x42db4c(0x40f)]['deepClone'](_0x26bec9[_0x42db4c(0x2b1)][0x0]);for(let _0x10804b=0x0;_0x10804b<_0x5ef349[_0x42db4c(0x3ec)];_0x10804b++){const _0x46d4d7={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef349[_0x10804b]}},_0x1b86e5=this['_transformService'][_0x42db4c(0x414)](_0x38f1e1,_0x46d4d7,!0x1);if(_0x116492['isTransformMutationFailure'](_0x1b86e5))throw _0x1b86e5[_0x42db4c(0x27b)];_0x38f1e1=_0x1b86e5['m1Prime'];}return{..._0x3772e7[_0x42db4c(0x40f)][_0x42db4c(0x1bf)](_0x26bec9),'mutations':[_0x38f1e1]};}[_0x513e05(0x31f)](_0x4f76c0){const _0x133ee8=_0x513e05,{unitID:_0x3f5376}=_0x4f76c0,_0x51eff9=this[_0x133ee8(0x26d)]['getRenderById'](_0x3f5376)[_0x133ee8(0x471)](_0x7ab617['DocIMEInputManagerService']),{undoCache:_0x5ee065,redoCache:_0x50a9f5}=_0x51eff9['getUndoRedoMutationParamsCache']();if(_0x5ee065[_0x133ee8(0x3ec)]===0x0||_0x50a9f5[_0x133ee8(0x3ec)]===0x0)return;const _0x3560ce=[],_0x12c045=[];let _0x3cd3f8=_0x3772e7['Tools']['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]),_0x390471=_0x3772e7[_0x133ee8(0x40f)]['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]);for(let _0x216eb0=_0x5ee065[_0x133ee8(0x3ec)]-0x1;_0x216eb0>=0x0;_0x216eb0--){const _0x439b74={'id':'doc.mutation.rich-text-editing','params':{..._0x5ee065[_0x216eb0]}},_0x5df481={'id':_0x133ee8(0x1f9),'params':{..._0x50a9f5[_0x216eb0]}},_0x31e8bc=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x3cd3f8,_0x439b74,!0x1),_0x36a01a=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x390471,_0x5df481,!0x1);if(_0x116492['isTransformMutationFailure'](_0x31e8bc))throw _0x31e8bc[_0x133ee8(0x27b)];if(_0x116492[_0x133ee8(0x2f1)](_0x36a01a))throw _0x36a01a['error'];_0x3560ce[_0x133ee8(0x1ff)](_0x31e8bc[_0x133ee8(0x406)]['params']),_0x12c045['unshift'](_0x36a01a['m2Prime'][_0x133ee8(0x41c)]),_0x3cd3f8=_0x31e8bc[_0x133ee8(0x251)],_0x390471=_0x36a01a['m1Prime'];}_0x51eff9['setUndoRedoMutationParamsCache']({'undoCache':_0x3560ce,'redoCache':_0x12c045});}[_0x513e05(0x29d)](_0x2242fa){const _0x4d53ef=_0x513e05,{unitID:_0x248847}=_0x2242fa,_0x1f6ee3=this[_0x4d53ef(0x26d)][_0x4d53ef(0x403)](_0x248847)['with'](_0x7ab617[_0x4d53ef(0x1dc)]),_0x2a55de=_0x1f6ee3[_0x4d53ef(0x2ad)]();if(_0x2a55de==null)return;const _0x2adf75=[{'id':_0x4d53ef(0x1f9),'params':{'unitId':_0x2242fa[_0x4d53ef(0x2bb)],'actions':null,'textRanges':[_0x2a55de]}}],_0x209e7c=this['_transformService'][_0x4d53ef(0x2cf)](_0x2242fa,_0x2adf75);if(!_0x116492[_0x4d53ef(0x361)](_0x209e7c))throw _0x209e7c[_0x4d53ef(0x27b)];const _0xdb0ee9=_0x209e7c[_0x4d53ef(0x406)][0x0][_0x4d53ef(0x41c)]['textRanges'];Array[_0x4d53ef(0x38f)](_0xdb0ee9)&&_0xdb0ee9[_0x4d53ef(0x3ec)]&&_0x1f6ee3['setActiveRange'](_0xdb0ee9[0x0]);}};_0x32f42e=_0x33eddd([_0x23af59(0x0,_0x116492[_0x513e05(0x474)]),_0x23af59(0x1,_0x29b571[_0x513e05(0x494)])],_0x32f42e);var _0x3b59f6=Object[_0x513e05(0x33c)],_0x12dab7=(_0x313a01,_0x5ef9c0,_0x3c7bb4,_0x5bf269)=>{const _0x108720=_0x513e05;for(var _0x3fdc0c=_0x5bf269>0x1?void 0x0:_0x5bf269?_0x3b59f6(_0x5ef9c0,_0x3c7bb4):_0x5ef9c0,_0x1d6429=_0x313a01[_0x108720(0x3ec)]-0x1,_0x469c82;_0x1d6429>=0x0;_0x1d6429--)(_0x469c82=_0x313a01[_0x1d6429])&&(_0x3fdc0c=_0x469c82(_0x3fdc0c)||_0x3fdc0c);return _0x3fdc0c;},_0xd8c785=(_0x45d74c,_0x1207dd)=>(_0x59535c,_0x517d09)=>_0x1207dd(_0x59535c,_0x517d09,_0x45d74c);let _0x52ca15=class{constructor(_0x4e4225,_0x44835c,_0xf60d91){const _0x1c0d15=_0x513e05;this['_injector']=_0x4e4225,this[_0x1c0d15(0x2c7)]=_0x44835c,this[_0x1c0d15(0x42e)]=_0xf60d91;}[_0x513e05(0x205)](_0x26596f){const _0x4dd691=_0x513e05;this[_0x4dd691(0x48f)](_0x26596f);}[_0x513e05(0x2d7)](_0x2ef70a){const _0x3cd1ca=_0x513e05,{unitID:_0x2f9de0}=_0x2ef70a,{collaboration:_0x2162fb}=this[_0x3cd1ca(0x42e)][_0x3cd1ca(0x48a)](_0x2f9de0);if(_0x2162fb[_0x3cd1ca(0x3ec)]===0x0)return _0x2ef70a;let _0x48d3a5=_0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a[_0x3cd1ca(0x2b1)][0x0]);for(let _0x508086=0x0;_0x508086<_0x2162fb[_0x3cd1ca(0x3ec)];_0x508086++){const _0x4b8f86={'id':_0x3cd1ca(0x1f9),'params':{'unitId':_0x2162fb[_0x508086][_0x3cd1ca(0x2fa)],..._0x2162fb[_0x508086][_0x3cd1ca(0x1e8)]}},_0x474ded=this[_0x3cd1ca(0x2c7)]['transformMutation'](_0x48d3a5,_0x4b8f86,!0x1);if(_0x116492['isTransformMutationFailure'](_0x474ded))throw _0x474ded[_0x3cd1ca(0x27b)];_0x48d3a5=_0x474ded[_0x3cd1ca(0x251)];}return{..._0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a),'mutations':[_0x48d3a5]};}[_0x513e05(0x48f)](_0x328bae){const _0x1bd963=_0x513e05,{unitID:_0x160443}=_0x328bae,{history:_0x5732ea,collaboration:_0x2f6339}=this[_0x1bd963(0x42e)][_0x1bd963(0x48a)](_0x160443);if(_0x5732ea[_0x1bd963(0x3ec)]===0x0&&_0x2f6339[_0x1bd963(0x3ec)]===0x0)return;const _0xbb91a7=[],_0x5f37f0=[];let _0x239a6c=_0x3772e7[_0x1bd963(0x40f)]['deepClone'](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x5a5c57=_0x5732ea['length']-0x1;_0x5a5c57>=0x0;_0x5a5c57--){const _0x248973={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x348)]}},_0x2705ae={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x1e8)]}},_0x1b6650=this['_transformService']['transformMutation'](_0x239a6c,_0x248973,!0x1),_0x2cf554=this[_0x1bd963(0x2c7)]['transformMutation'](_0x4937ff,_0x2705ae,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x1b6650))throw _0x1b6650[_0x1bd963(0x27b)];if(_0x116492[_0x1bd963(0x2f1)](_0x2cf554))throw _0x2cf554[_0x1bd963(0x27b)];_0xbb91a7['unshift']({..._0x5732ea[_0x5a5c57],'undoState':_0x1b6650[_0x1bd963(0x406)][_0x1bd963(0x41c)],'redoState':_0x2cf554[_0x1bd963(0x406)][_0x1bd963(0x41c)]}),_0x239a6c=_0x1b6650[_0x1bd963(0x251)],_0x4937ff=_0x2cf554[_0x1bd963(0x251)];}_0x239a6c=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7['Tools'][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x30bc1a=_0x2f6339[_0x1bd963(0x3ec)]-0x1;_0x30bc1a>=0x0;_0x30bc1a--){const _0x5f292e={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x2f6339[_0x30bc1a][_0x1bd963(0x2fa)],..._0x2f6339[_0x30bc1a]['undoState']}},_0x4c1e8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6339[_0x30bc1a]['unitId'],..._0x2f6339[_0x30bc1a][_0x1bd963(0x1e8)]}},_0x45beb4=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x239a6c,_0x5f292e,!0x1),_0x141402=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x4937ff,_0x4c1e8f,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x45beb4))throw _0x45beb4['error'];if(_0x116492[_0x1bd963(0x2f1)](_0x141402))throw _0x141402['error'];_0x5f37f0['unshift']({..._0x2f6339[_0x30bc1a],'undoState':_0x45beb4['m2Prime']['params'],'redoState':_0x141402[_0x1bd963(0x406)]['params']}),_0x239a6c=_0x45beb4[_0x1bd963(0x251)],_0x4937ff=_0x141402[_0x1bd963(0x251)];}this[_0x1bd963(0x42e)][_0x1bd963(0x45a)](_0x160443,{'history':_0xbb91a7,'collaboration':_0x5f37f0});}};_0x52ca15=_0x12dab7([_0xd8c785(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0xd8c785(0x1,_0x116492[_0x513e05(0x474)]),_0xd8c785(0x2,_0x3772e7['Inject'](_0x7ab617[_0x513e05(0x377)]))],_0x52ca15);var _0x1d2f37=Object[_0x513e05(0x33c)],_0x41b06b=(_0x3b3d9c,_0x59b8ec,_0xc8973b,_0x13f08e)=>{for(var _0x41f22f=_0x13f08e>0x1?void 0x0:_0x13f08e?_0x1d2f37(_0x59b8ec,_0xc8973b):_0x59b8ec,_0x4d993d=_0x3b3d9c['length']-0x1,_0x4cda86;_0x4d993d>=0x0;_0x4d993d--)(_0x4cda86=_0x3b3d9c[_0x4d993d])&&(_0x41f22f=_0x4cda86(_0x41f22f)||_0x41f22f);return _0x41f22f;},_0x91bd8d=(_0x55f2d8,_0x33b374)=>(_0x31a658,_0x155689)=>_0x33b374(_0x31a658,_0x155689,_0x55f2d8);let _0x348751=class{constructor(_0xb5396,_0x209445){const _0x2313e1=_0x513e05;this[_0x2313e1(0x499)]=_0xb5396,this[_0x2313e1(0x2c7)]=_0x209445;}['transformSelections'](_0x4afaeb){const _0x19872f=_0x513e05;var _0x18b48a;const _0x441051=this[_0x19872f(0x499)]['get'](_0x37acc3[_0x19872f(0x381)]),_0x50b347=(_0x18b48a=_0x441051['getDocRanges']())!=null?_0x18b48a:[];if(_0x50b347['length']===0x0)return;const _0xb419a7=_0x4afaeb[_0x19872f(0x2bb)],_0x2b80c6=[{'id':_0x19872f(0x1f9),'params':{'unitId':_0xb419a7,'actions':null,'textRanges':_0x50b347}}],_0x4f6127=this['_transformService'][_0x19872f(0x2cf)](_0x4afaeb,_0x2b80c6);if(!_0x116492['isTransformMutationsWithChangesetSuccess'](_0x4f6127))throw _0x4f6127[_0x19872f(0x27b)];const _0x1f1e71=_0x4f6127['m2Prime'][0x0][_0x19872f(0x41c)][_0x19872f(0x235)];Array[_0x19872f(0x38f)](_0x1f1e71)&&_0x1f1e71[_0x19872f(0x3ec)]&&_0x441051[_0x19872f(0x3ae)](_0x1f1e71,{'unitId':_0xb419a7,'subUnitId':_0xb419a7},!0x1);}};_0x348751=_0x41b06b([_0x91bd8d(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x91bd8d(0x1,_0x116492[_0x513e05(0x474)])],_0x348751);var _0x2cf5f3=Object[_0x513e05(0x33c)],_0x202b36=(_0x1b8a13,_0xc88c3f,_0x423485,_0xd4323d)=>{const _0x57551d=_0x513e05;for(var _0x5b47a8=_0xd4323d>0x1?void 0x0:_0xd4323d?_0x2cf5f3(_0xc88c3f,_0x423485):_0xc88c3f,_0x33157a=_0x1b8a13[_0x57551d(0x3ec)]-0x1,_0x4cc91f;_0x33157a>=0x0;_0x33157a--)(_0x4cc91f=_0x1b8a13[_0x33157a])&&(_0x5b47a8=_0x4cc91f(_0x5b47a8)||_0x5b47a8);return _0x5b47a8;},_0x2d0061=(_0x19bf0a,_0x457f1a)=>(_0x5a6727,_0xf2e10c)=>_0x457f1a(_0x5a6727,_0xf2e10c,_0x19bf0a);let _0x27ca3d=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x56d518,_0x1260d4,_0x2513a6,_0x37e09c,_0x46ef61,_0x1e1f54,_0x43dc7d,_0x5465fa){const _0x498ab7=_0x513e05;super(),_0xfd5d9c(this,'_status$',new _0x104804[(_0x498ab7(0x493))](_0x19f8d7[_0x498ab7(0x2c1)][_0x498ab7(0x1d1)])),(this['_docStateChangeManagerService']=_0x56d518,this[_0x498ab7(0x47c)]=_0x1260d4,this[_0x498ab7(0x3ad)]=_0x2513a6,this['_docTransformStateCacheService']=_0x37e09c,this['_docTransformSelectionsService']=_0x46ef61,this[_0x498ab7(0x2ec)]=_0x1e1f54,this[_0x498ab7(0x1f1)]=_0x43dc7d,this[_0x498ab7(0x45e)]=_0x5465fa,this[_0x498ab7(0x21b)]());}['_initEntityListener'](){const _0x4826c1=_0x513e05;this[_0x4826c1(0x317)](this[_0x4826c1(0x47c)][_0x4826c1(0x3d3)][_0x4826c1(0x3ee)](_0x2f5c1e=>{const _0xf64037=_0x4826c1,_0xccc75c=this['_docStateChangeManagerService'][_0xf64037(0x418)]['subscribe'](_0x3de056=>{const _0x12c4d0=_0xf64037;if(_0x3de056==null)return;const {unitId:_0x3463e8,redoState:_0x4539ba,commandId:_0x115a23}=_0x3de056;if(_0x3463e8!==_0x2f5c1e[_0x12c4d0(0x2bb)])return;const _0xf74158={'id':_0x115a23,'type':_0x3772e7['CommandType']['MUTATION'],'params':{'unitId':_0x3463e8,'actions':_0x4539ba[_0x12c4d0(0x395)],'textRanges':null}};_0x2f5c1e[_0x12c4d0(0x3b5)](_0xf74158);});if(_0x2f5c1e[_0xf64037(0x317)](_0xccc75c),_0x2f5c1e instanceof _0x19f8d7[_0xf64037(0x478)]){const _0x3ac909={'onTransformIME':_0x1285f6=>this[_0xf64037(0x3ad)][_0xf64037(0x335)](_0x1285f6),'onTransformState':_0x1832bb=>this[_0xf64037(0x2e4)][_0xf64037(0x205)](_0x1832bb),'onTransformSelections':_0x564257=>this['_docTransformSelectionsService'][_0xf64037(0x44e)](_0x564257),'onSyncEditingCollabCursor':_0x15f7cc=>this[_0xf64037(0x2ec)]['syncEditingCollabCursor'](_0x15f7cc),'onTransformRemoteChangesetByIMECache':_0x1ec292=>this[_0xf64037(0x3ad)]['transformRemoteChangeset'](_0x1ec292),'onTransformRemoteChangesetByStateCache':_0x4d16df=>this[_0xf64037(0x2e4)][_0xf64037(0x2d7)](_0x4d16df)};_0x2f5c1e[_0xf64037(0x301)](_0x3ac909);}}));}};_0x27ca3d=_0x202b36([_0x2d0061(0x0,_0x3772e7[_0x513e05(0x30b)](_0x7ab617[_0x513e05(0x377)])),_0x2d0061(0x1,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x2d0061(0x2,_0x3772e7[_0x513e05(0x30b)](_0x32f42e)),_0x2d0061(0x3,_0x3772e7['Inject'](_0x52ca15)),_0x2d0061(0x4,_0x3772e7[_0x513e05(0x30b)](_0x348751)),_0x2d0061(0x5,_0x3772e7['Inject'](_0x39a103)),_0x2d0061(0x6,_0x2e0e04[_0x513e05(0x320)]),_0x2d0061(0x7,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x27ca3d);var _0x47161c=(_0x3f19da=>(_0x3f19da[_0x3f19da[_0x513e05(0x3e3)]=0x0]=_0x513e05(0x3e3),_0x3f19da[_0x3f19da['OK']=0x1]='OK',_0x3f19da[_0x3f19da['INTERNAL_ERROR']=0x2]=_0x513e05(0x28a),_0x3f19da[_0x3f19da[_0x513e05(0x230)]=0x3]='PERMISSION_DENIED',_0x3f19da[_0x3f19da[_0x513e05(0x443)]=0x4]=_0x513e05(0x443),_0x3f19da[_0x3f19da['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f19da[_0x3f19da[_0x513e05(0x287)]=0x6]=_0x513e05(0x287),_0x3f19da[_0x3f19da[_0x513e05(0x3ed)]=0x7]='INVALID_ARGUMENT',_0x3f19da[_0x3f19da[_0x513e05(0x326)]=0x8]=_0x513e05(0x326),_0x3f19da[_0x3f19da['COMPLETION_FINISHED']=0x9]=_0x513e05(0x252),_0x3f19da[_0x3f19da[_0x513e05(0x3a2)]=0xa]=_0x513e05(0x3a2),_0x3f19da[_0x3f19da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x513e05(0x452),_0x3f19da[_0x3f19da[_0x513e05(0x374)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3f19da[_0x3f19da[_0x513e05(0x36e)]=0xd]=_0x513e05(0x36e),_0x3f19da[_0x3f19da[_0x513e05(0x267)]=0xe]=_0x513e05(0x267),_0x3f19da[_0x3f19da[_0x513e05(0x47e)]=0xf]=_0x513e05(0x47e),_0x3f19da[_0x3f19da[_0x513e05(0x364)]=0x10]=_0x513e05(0x364),_0x3f19da[_0x3f19da[_0x513e05(0x41e)]=0x64]=_0x513e05(0x41e),_0x3f19da[_0x3f19da[_0x513e05(0x342)]=0x65]=_0x513e05(0x342),_0x3f19da[_0x3f19da[_0x513e05(0x486)]=0xc9]=_0x513e05(0x486),_0x3f19da[_0x3f19da[_0x513e05(0x242)]=0xca]=_0x513e05(0x242),_0x3f19da[_0x3f19da['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f19da[_0x3f19da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x513e05(0x449),_0x3f19da[_0x3f19da[_0x513e05(0x256)]=0x1772]=_0x513e05(0x256),_0x3f19da[_0x3f19da[_0x513e05(0x272)]=0x1773]=_0x513e05(0x272),_0x3f19da[_0x3f19da[_0x513e05(0x2df)]=0x1b59]=_0x513e05(0x2df),_0x3f19da[_0x3f19da[_0x513e05(0x279)]=0x1b5a]=_0x513e05(0x279),_0x3f19da[_0x3f19da[_0x513e05(0x376)]=0x1b5b]=_0x513e05(0x376),_0x3f19da[_0x3f19da[_0x513e05(0x21a)]=0x1b5c]=_0x513e05(0x21a),_0x3f19da[_0x3f19da[_0x513e05(0x485)]=0x1b5d]=_0x513e05(0x485),_0x3f19da[_0x3f19da[_0x513e05(0x27d)]=0x1f41]=_0x513e05(0x27d),_0x3f19da[_0x3f19da[_0x513e05(0x3ca)]=0x2329]=_0x513e05(0x3ca),_0x3f19da[_0x3f19da[_0x513e05(0x1ca)]=0x232a]=_0x513e05(0x1ca),_0x3f19da[_0x3f19da[_0x513e05(0x228)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513e05(0x45c),_0x3f19da[_0x3f19da[_0x513e05(0x3fe)]=0x2711]=_0x513e05(0x3fe),_0x3f19da[_0x3f19da['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x513e05(0x303),_0x3f19da[_0x3f19da[_0x513e05(0x464)]=0x2713]=_0x513e05(0x464),_0x3f19da[_0x3f19da['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x513e05(0x39e),_0x3f19da[_0x3f19da[_0x513e05(0x369)]=0x271a]=_0x513e05(0x369),_0x3f19da[_0x3f19da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x513e05(0x20a),_0x3f19da[_0x3f19da[_0x513e05(0x1cb)]=0x271c]=_0x513e05(0x1cb),_0x3f19da[_0x3f19da['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x513e05(0x38c),_0x3f19da[_0x3f19da[_0x513e05(0x1e0)]=0x271e]=_0x513e05(0x1e0),_0x3f19da[_0x3f19da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x513e05(0x3dd),_0x3f19da[_0x3f19da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x513e05(0x1ea),_0x3f19da[_0x3f19da[_0x513e05(0x2a5)]=0x2af9]=_0x513e05(0x2a5),_0x3f19da[_0x3f19da[_0x513e05(0x37b)]=0x2ee1]=_0x513e05(0x37b),_0x3f19da[_0x3f19da[_0x513e05(0x30e)]=0x2ee2]=_0x513e05(0x30e),_0x3f19da[_0x3f19da[_0x513e05(0x245)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f19da[_0x3f19da[_0x513e05(0x268)]=0x2ee4]=_0x513e05(0x268),_0x3f19da[_0x3f19da[_0x513e05(0x46c)]=0x2ee5]=_0x513e05(0x46c),_0x3f19da[_0x3f19da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x513e05(0x435),_0x3f19da[_0x3f19da[_0x513e05(0x434)]=0x32ca]=_0x513e05(0x434),_0x3f19da[_0x3f19da['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x513e05(0x475),_0x3f19da[_0x3f19da[_0x513e05(0x25e)]=0x36b1]=_0x513e05(0x25e),_0x3f19da[_0x3f19da[_0x513e05(0x402)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3f19da[_0x3f19da[_0x513e05(0x3aa)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3f19da[_0x3f19da[_0x513e05(0x204)]=0x36b4]=_0x513e05(0x204),_0x3f19da[_0x3f19da[_0x513e05(0x409)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3f19da[_0x3f19da[_0x513e05(0x1d7)]=0x3716]=_0x513e05(0x1d7),_0x3f19da[_0x3f19da['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x513e05(0x312),_0x3f19da[_0x3f19da[_0x513e05(0x3ac)]=0x37dd]=_0x513e05(0x3ac),_0x3f19da[_0x3f19da[_0x513e05(0x467)]=0x3a99]=_0x513e05(0x467),_0x3f19da[_0x3f19da['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x513e05(0x2c9),_0x3f19da[_0x3f19da[_0x513e05(0x448)]=0x3a9b]=_0x513e05(0x448),_0x3f19da[_0x3f19da[_0x513e05(0x3c8)]=0x3a9c]=_0x513e05(0x3c8),_0x3f19da[_0x3f19da[_0x513e05(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3f19da[_0x3f19da['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x513e05(0x36a),_0x3f19da[_0x3f19da[_0x513e05(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3f19da[_0x3f19da['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x513e05(0x426),_0x3f19da[_0x3f19da['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f19da))(_0x47161c||{});function _0x45cbe8(_0x4dd6a2){const _0x1b7136=_0x513e05;var _0x163ca1,_0x5b2343;const _0xecfb2=(_0x163ca1=_0x4dd6a2[_0x1b7136(0x2a3)])==null?void 0x0:_0x163ca1['stage'],_0xbf135=((_0x5b2343=_0x4dd6a2['stageInfo'])==null?void 0x0:_0x5b2343[_0x1b7136(0x3ab)])||0x0;return _0xecfb2===_0x4915ec[_0x1b7136(0x2c3)][_0x1b7136(0x3b3)]&&_0xbf135>0x0;}function _0x3ae9d2(_0x1f87ea){const _0x424112=_0x513e05;return _0x1f87ea[_0x424112(0x209)]===_0x4915ec[_0x424112(0x2c6)]['SUCCESS'];}var _0x5c1bed=Object[_0x513e05(0x33c)],_0x547cfe=(_0x25d0f8,_0x1fc232,_0x105f9c,_0x113e59)=>{const _0x279a20=_0x513e05;for(var _0x469526=_0x113e59>0x1?void 0x0:_0x113e59?_0x5c1bed(_0x1fc232,_0x105f9c):_0x1fc232,_0x3ce19c=_0x25d0f8[_0x279a20(0x3ec)]-0x1,_0x1305f5;_0x3ce19c>=0x0;_0x3ce19c--)(_0x1305f5=_0x25d0f8[_0x3ce19c])&&(_0x469526=_0x1305f5(_0x469526)||_0x469526);return _0x469526;},_0x165919=(_0x3c3500,_0x228ee5)=>(_0x167188,_0x53390b)=>_0x228ee5(_0x167188,_0x53390b,_0x3c3500);const _0x43e127=_0x513e05(0x330),_0x72413=_0x513e05(0x3eb),_0x322cce=_0x513e05(0x2ab);let _0x498739=class extends _0x3772e7['Disposable']{constructor(_0x41929e,_0x1a0177,_0x25f9b0,_0x4299e4,_0x545d01,_0x2c9f30,_0xd8d871){const _0x5b4f69=_0x513e05;super(),_0xfd5d9c(this,_0x5b4f69(0x3be),null),_0xfd5d9c(this,'_maxFormulaLimit',0x0),_0xfd5d9c(this,_0x5b4f69(0x32c),0x0),_0xfd5d9c(this,_0x5b4f69(0x378),[]),_0xfd5d9c(this,'_lastResponseTimestamp',0x0),(this[_0x5b4f69(0x1f1)]=_0x41929e,this[_0x5b4f69(0x2fb)]=_0x1a0177,this[_0x5b4f69(0x441)]=_0x25f9b0,this[_0x5b4f69(0x2cc)]=_0x4299e4,this[_0x5b4f69(0x2b8)]=_0x545d01,this[_0x5b4f69(0x263)]=_0x2c9f30,this['_localeService']=_0xd8d871,this['_initCommandInterceptor']());}[_0x513e05(0x239)](){const _0x47a081=_0x513e05;this[_0x47a081(0x317)](this[_0x47a081(0x2fb)]['beforeCommandExecuted']((_0x3476bf,_0x46eb5c)=>{const _0x2aeaed=_0x47a081;var _0x31c888;if(_0x3476bf['id']!==_0x4915ec[_0x2aeaed(0x1df)]['id'])return;const _0x5c124b=_0x3476bf[_0x2aeaed(0x41c)];if(!this[_0x2aeaed(0x2f0)]((_0x31c888=_0x5c124b[_0x2aeaed(0x22c)])!=null?_0x31c888:[]))return;if(!this[_0x2aeaed(0x33d)]())throw this[_0x2aeaed(0x31d)](_0x3476bf,_0x46eb5c),this[_0x2aeaed(0x324)](),new _0x3772e7['CanceledError']();})),this[_0x47a081(0x317)](this['_commandService'][_0x47a081(0x27e)]((_0x2c2389,_0x472874)=>{const _0x120dad=_0x47a081;if(_0x2c2389['id']!==_0x4915ec['SetFormulaCalculationNotificationMutation']['id'])return;const _0x211926=_0x2c2389[_0x120dad(0x41c)];if(_0x45cbe8(_0x211926)){const _0xbc2639=_0x3772e7[_0x120dad(0x2ae)]();this[_0x120dad(0x378)]['push'](_0xbc2639),this[_0x120dad(0x2cd)](_0xbc2639);}else{if(_0x3ae9d2(_0x211926)&&this[_0x120dad(0x378)][_0x120dad(0x3ec)]>0x0){const _0x22daf7=this[_0x120dad(0x378)][_0x120dad(0x266)]();this[_0x120dad(0x21c)](_0x22daf7);}}}));}[_0x513e05(0x472)](){const _0x3492cf=_0x513e05;super[_0x3492cf(0x472)](),this[_0x3492cf(0x1ba)](),this[_0x3492cf(0x378)]=[],this[_0x3492cf(0x32c)]=0x0,this[_0x3492cf(0x2ff)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x513e05(0x31d)](_0x14d11b,_0x20494f){const _0x242538=_0x513e05;for(let _0x5b7684=0x0;_0x5b7684<0x1e;_0x5b7684++)try{if(await this[_0x242538(0x447)](),this['_checkCalculationAvailable']()){this[_0x242538(0x2a9)](_0x14d11b,_0x20494f),this[_0x242538(0x1f1)]['show']({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x274)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x347)]});return;}await new Promise(_0x4a7905=>{const _0x59b818=_0x242538;this['_pollingInterval']=window[_0x59b818(0x42b)](_0x4a7905,0x3e8);});}catch(_0x3274ab){this['_logService']['error'](_0x3274ab);}this['_messageService'][_0x242538(0x345)]({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x498)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x341)]});}[_0x513e05(0x2a9)](_0x39cbd5,_0x3bc3fe){const _0x23d2fa=_0x513e05;try{this[_0x23d2fa(0x2fb)][_0x23d2fa(0x38e)](_0x39cbd5['id'],_0x39cbd5[_0x23d2fa(0x41c)],_0x3bc3fe);}catch(_0x58561b){this['_logService'][_0x23d2fa(0x27b)](_0x58561b);}}[_0x513e05(0x2fe)](_0xbef603,_0x54a53a){const _0x32339b=_0x513e05;_0x54a53a<this[_0x32339b(0x238)]||(this[_0x32339b(0x238)]=_0x54a53a,this['_maxFormulaLimit']=Number[_0x32339b(0x419)](_0xbef603[_0x32339b(0x470)]),this['_currentUsage']=Number[_0x32339b(0x419)](_0xbef603['currentUsage']));}async[_0x513e05(0x2cd)](_0x388b54){const _0x2e6739=_0x513e05;var _0x4a16df,_0x4cf367;const _0x41f397=Date[_0x2e6739(0x2bc)]();try{const _0x577b36=((_0x4a16df=this[_0x2e6739(0x441)][_0x2e6739(0x2fc)](_0x19f8d7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a16df['startFormulaLimitUrl'])||_0x72413,_0x16aabf=(await this['_httpService'][_0x2e6739(0x1db)](_0x577b36,{'body':JSON[_0x2e6739(0x1c4)]({'taskId':_0x388b54})}))['body'];if(((_0x4cf367=_0x16aabf[_0x2e6739(0x27b)])==null?void 0x0:_0x4cf367[_0x2e6739(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x16aabf[_0x2e6739(0x340)],_0x41f397);}catch(_0x1a15a7){this[_0x2e6739(0x263)][_0x2e6739(0x27b)](_0x1a15a7);}}async['_getFormulaLimitStatus'](_0x560cab){const _0x3710f6=_0x513e05;var _0x4ace94,_0x4dda40;const _0x34cc12=Date['now']();try{const _0x5adcaa=((_0x4ace94=this[_0x3710f6(0x441)][_0x3710f6(0x2fc)](_0x19f8d7[_0x3710f6(0x2fd)]))==null?void 0x0:_0x4ace94[_0x3710f6(0x3bd)])||_0x43e127,_0x594435=_0x560cab?_0x5adcaa+_0x3710f6(0x257)+encodeURIComponent(_0x560cab):_0x5adcaa,_0x5b4f21=(await this['_httpService'][_0x3710f6(0x309)](_0x594435))[_0x3710f6(0x3c7)];if(((_0x4dda40=_0x5b4f21['error'])==null?void 0x0:_0x4dda40[_0x3710f6(0x420)])!==_0x47161c['OK'])return;this[_0x3710f6(0x2fe)](_0x5b4f21[_0x3710f6(0x340)],_0x34cc12);}catch(_0x14b066){this[_0x3710f6(0x263)][_0x3710f6(0x27b)](_0x14b066);}}async[_0x513e05(0x21c)](_0x12ab92){const _0xd9d9e2=_0x513e05;var _0x1c8da2,_0x1835ba;const _0x4fc9ea=Date[_0xd9d9e2(0x2bc)]();try{const _0x45dcef=((_0x1c8da2=this[_0xd9d9e2(0x441)][_0xd9d9e2(0x2fc)](_0x19f8d7[_0xd9d9e2(0x2fd)]))==null?void 0x0:_0x1c8da2[_0xd9d9e2(0x46e)])||_0x322cce,_0x4a0829=(await this[_0xd9d9e2(0x2cc)][_0xd9d9e2(0x1db)](_0x45dcef,{'body':JSON['stringify']({'taskId':_0x12ab92})}))[_0xd9d9e2(0x3c7)];if(((_0x1835ba=_0x4a0829[_0xd9d9e2(0x27b)])==null?void 0x0:_0x1835ba[_0xd9d9e2(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x4a0829['limitInfo'],_0x4fc9ea);}catch(_0x2ad3cd){this['_logService'][_0xd9d9e2(0x27b)](_0x2ad3cd);}}[_0x513e05(0x33d)](){const _0x5c6ba6=_0x513e05;return this[_0x5c6ba6(0x2ff)]===0x0?!0x0:this[_0x5c6ba6(0x2ff)]-this[_0x5c6ba6(0x32c)]>0x0;}[_0x513e05(0x1ba)](){const _0x42430b=_0x513e05;this['_pollingInterval']&&(clearTimeout(this[_0x42430b(0x3be)]),this[_0x42430b(0x3be)]=null);}['_showGuardMessage'](){const _0xa0a995=_0x513e05;this[_0xa0a995(0x1f1)][_0xa0a995(0x345)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x4d7604[_0xa0a995(0x46a)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x1e434a){const _0x393c8a=_0x513e05;for(const _0x2b40e of _0x1e434a){const {unitId:_0x562feb,sheetId:_0x5cf05e,range:_0x4d8e53}=_0x2b40e,_0x2432b9=this[_0x393c8a(0x2b8)][_0x393c8a(0x36b)](_0x562feb);if(!_0x2432b9)continue;const _0x155dc7=_0x2432b9[_0x393c8a(0x271)](_0x5cf05e);if(!_0x155dc7)continue;const _0xd6d498=_0x155dc7[_0x393c8a(0x246)]();for(let _0x59bf94=_0x4d8e53['startRow'];_0x59bf94<=_0x4d8e53['endRow'];_0x59bf94++)for(let _0x5cb158=_0x4d8e53[_0x393c8a(0x2d6)];_0x5cb158<=_0x4d8e53[_0x393c8a(0x43e)];_0x5cb158++){const _0x59f917=_0xd6d498[_0x393c8a(0x243)](_0x59bf94,_0x5cb158);if(_0x59f917&&(_0x3772e7[_0x393c8a(0x3fa)](_0x59f917['f'])||_0x3772e7['isFormulaId'](_0x59f917['si'])))return!0x0;}}return!0x1;}};_0x498739=_0x547cfe([_0x165919(0x0,_0x3772e7[_0x513e05(0x30b)](_0x2e0e04[_0x513e05(0x320)])),_0x165919(0x1,_0x3772e7[_0x513e05(0x37d)]),_0x165919(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x165919(0x3,_0x3772e7['Inject'](_0xe6cf6e[_0x513e05(0x1cc)])),_0x165919(0x4,_0x3772e7['IUniverInstanceService']),_0x165919(0x5,_0x3772e7['ILogService']),_0x165919(0x6,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x498739);var _0x50d826=Object[_0x513e05(0x33c)],_0x2462a1=(_0x5928ae,_0x398a58,_0x49e847,_0xe2e77d)=>{const _0x4ee6cb=_0x513e05;for(var _0x3cdabd=_0xe2e77d>0x1?void 0x0:_0xe2e77d?_0x50d826(_0x398a58,_0x49e847):_0x398a58,_0x1b42da=_0x5928ae[_0x4ee6cb(0x3ec)]-0x1,_0x220dcb;_0x1b42da>=0x0;_0x1b42da--)(_0x220dcb=_0x5928ae[_0x1b42da])&&(_0x3cdabd=_0x220dcb(_0x3cdabd)||_0x3cdabd);return _0x3cdabd;},_0x214577=(_0x5bd627,_0x6fe9fb)=>(_0x6b2b71,_0xc6b0c8)=>_0x6fe9fb(_0x6b2b71,_0xc6b0c8,_0x5bd627);let _0x1853ac=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x5b1534,_0xb9c86f,_0xd68d99){const _0x2f04eb=_0x513e05;super(),_0xfd5d9c(this,_0x2f04eb(0x2f7),new Map()),_0xfd5d9c(this,_0x2f04eb(0x421),new Map()),_0xfd5d9c(this,_0x2f04eb(0x260),!0x1),(this[_0x2f04eb(0x441)]=_0x5b1534,this['_localStorageService']=_0xb9c86f,this[_0x2f04eb(0x217)]=_0xd68d99);}[_0x513e05(0x355)](){const _0x4365b3=_0x513e05;this[_0x4365b3(0x260)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x513e05(0x1ed)](){return this['_saveTaskMap'];}[_0x513e05(0x472)](){const _0x1b136f=_0x513e05;this[_0x1b136f(0x37f)]()[_0x1b136f(0x37c)](()=>super[_0x1b136f(0x472)]());}async[_0x513e05(0x422)](_0x28ab1d){const _0x260bcc=_0x513e05;return this[_0x260bcc(0x260)]?null:this['_localStorageService'][_0x260bcc(0x43f)](_0x19f8d7[_0x260bcc(0x461)](_0x28ab1d));}async[_0x513e05(0x35f)](_0x54726e,_0x27f00e){const _0x57bfb0=_0x513e05;return!!this['_localStorageService'][_0x57bfb0(0x1e1)](_0x54726e,_0x27f00e);}['updateOfflineData'](_0x5e0a96,_0x280cf8,_0x14aa0d,_0x3ccdc0){const _0x2b3729=_0x513e05,_0x268851=this[_0x2b3729(0x217)][_0x2b3729(0x3f5)](_0x5e0a96);this[_0x2b3729(0x2f7)][_0x2b3729(0x40c)](_0x5e0a96,{'unitID':_0x5e0a96,'type':_0x280cf8,'awaitingChangeset':_0x14aa0d,'mutations':_0x3ccdc0,'rev':_0x268851}),this['_saveTaskMap'][_0x2b3729(0x28b)](_0x5e0a96)||this['_scheduleSaving'](_0x5e0a96);}['_scheduleSaving'](_0x1f684d){const _0x769e8e=_0x513e05,_0x568b29=this[_0x769e8e(0x2e3)]();_0x568b29===0x0?this[_0x769e8e(0x2ac)](_0x1f684d):this['_saveTaskMap'][_0x769e8e(0x40c)](_0x1f684d,setTimeout(()=>this[_0x769e8e(0x2ac)](_0x1f684d),_0x568b29));}['_getSaveTimeout'](){const _0x3cfb83=_0x513e05;var _0x2731e7;return(_0x2731e7=this[_0x3cfb83(0x441)][_0x3cfb83(0x2fc)](_0x19f8d7[_0x3cfb83(0x3c4)]))!=null?_0x2731e7:_0x19f8d7[_0x3cfb83(0x34b)];}['_saveCache'](_0x589a51){const _0x4ee6e5=_0x513e05,_0x592cfd=this['_saveTaskMap'][_0x4ee6e5(0x309)](_0x589a51);return _0x592cfd!==void 0x0&&window[_0x4ee6e5(0x39c)](_0x592cfd),this[_0x4ee6e5(0x483)][_0x4ee6e5(0x1e1)](_0x19f8d7[_0x4ee6e5(0x461)](_0x589a51),this['_cachedData']['get'](_0x589a51))[_0x4ee6e5(0x37c)](()=>this[_0x4ee6e5(0x421)][_0x4ee6e5(0x365)](_0x589a51));}async[_0x513e05(0x37f)](){const _0x25ad9d=_0x513e05,_0x500a99=[];this[_0x25ad9d(0x421)][_0x25ad9d(0x2a8)]((_0x3373fa,_0x2aa396)=>{const _0x379e2c=_0x25ad9d;window[_0x379e2c(0x39c)](_0x3373fa),_0x500a99[_0x379e2c(0x2e0)](this['_saveCache'](_0x2aa396)['then'](()=>{const _0x2b41bb=_0x379e2c;this[_0x2b41bb(0x421)][_0x2b41bb(0x365)](_0x2aa396);}));}),await Promise['all'](_0x500a99);}};_0x1853ac=_0x2462a1([_0x214577(0x0,_0x3772e7['IConfigService']),_0x214577(0x1,_0x3772e7[_0x513e05(0x27c)]),_0x214577(0x2,_0x3772e7[_0x513e05(0x30b)](_0x116492[_0x513e05(0x289)]))],_0x1853ac);class _0x39c7f7 extends _0x3772e7[_0x513e05(0x490)]{constructor(){const _0x42e1c2=_0x513e05;super(),_0xfd5d9c(this,_0x42e1c2(0x327)),this[_0x42e1c2(0x327)]=_0x104804[_0x42e1c2(0x398)](window,'popstate')[_0x42e1c2(0x372)](_0x104804[_0x42e1c2(0x3e1)](this['dispose$']),_0x104804[_0x42e1c2(0x2e7)](0x1),_0x104804[_0x42e1c2(0x39a)](void 0x0));}['setParam'](_0x3d90f5,_0x8e5b9c,_0x1e749f=!0x1){const _0x599318=_0x513e05,_0x22ba32=new URL(window[_0x599318(0x430)][_0x599318(0x31e)]);_0x22ba32['searchParams'][_0x599318(0x40c)](_0x3d90f5,_0x8e5b9c),_0x1e749f?window[_0x599318(0x1f5)][_0x599318(0x1c5)]('','',_0x22ba32['toString']()):window[_0x599318(0x1f5)][_0x599318(0x26e)]('','',_0x22ba32[_0x599318(0x3a9)]());}[_0x513e05(0x393)](_0x1e215c,_0x5db700=!0x1){const _0x234511=_0x513e05,_0x2c9352=new URL(window[_0x234511(0x430)][_0x234511(0x31e)]);_0x2c9352[_0x234511(0x417)]['delete'](_0x1e215c),_0x5db700?window['history'][_0x234511(0x1c5)]('','',_0x2c9352[_0x234511(0x3a9)]()):window['history']['pushState']('','',_0x2c9352[_0x234511(0x3a9)]());}[_0x513e05(0x22e)](_0x2ac35e){const _0x41dbc2=_0x513e05;var _0x1ed3a9;return(_0x1ed3a9=new URL(window[_0x41dbc2(0x430)][_0x41dbc2(0x31e)])[_0x41dbc2(0x417)][_0x41dbc2(0x309)](_0x2ac35e))!=null?_0x1ed3a9:void 0x0;}}var _0x3feea5=Object[_0x513e05(0x226)],_0x42c8e1=Object['getOwnPropertyDescriptor'],_0x419814=(_0x53bed1,_0x215e79,_0x4784e7)=>_0x215e79 in _0x53bed1?_0x3feea5(_0x53bed1,_0x215e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4784e7}):_0x53bed1[_0x215e79]=_0x4784e7,_0x318a22=(_0x2df643,_0x42ed79,_0x298add,_0x4ae870)=>{for(var _0x4680f4=_0x4ae870>0x1?void 0x0:_0x4ae870?_0x42c8e1(_0x42ed79,_0x298add):_0x42ed79,_0x11faad=_0x2df643['length']-0x1,_0x26fa0c;_0x11faad>=0x0;_0x11faad--)(_0x26fa0c=_0x2df643[_0x11faad])&&(_0x4680f4=_0x26fa0c(_0x4680f4)||_0x4680f4);return _0x4680f4;},_0x2e8ae0=(_0x32648f,_0x692bf3)=>(_0x12696c,_0x14e15d)=>_0x692bf3(_0x12696c,_0x14e15d,_0x32648f),_0x4a9300=(_0xcf762c,_0x6670a,_0x4c0e84)=>_0x419814(_0xcf762c,_0x6670a+'',_0x4c0e84);const _0x5049ca=_0x513e05(0x468);_0x8036c6[_0x513e05(0x41a)]=class extends _0x3772e7['Plugin']{constructor(_0xea60b1=_0x52c7c0,_0x14917b,_0x3ba0a4,_0x277063){const _0x3833dd=_0x513e05;super(),this[_0x3833dd(0x2e9)]=_0xea60b1,this[_0x3833dd(0x26d)]=_0x14917b,this[_0x3833dd(0x499)]=_0x3ba0a4,this['_configService']=_0x277063;const {..._0x39ffe6}=_0x3772e7['merge']({},_0x52c7c0,this[_0x3833dd(0x2e9)]);this['_configService'][_0x3833dd(0x31c)](_0x2157a3,_0x39ffe6);}[_0x513e05(0x3bb)](){const _0x5b60c4=_0x513e05;this['_registerDependencies'](),this[_0x5b60c4(0x25c)]();}[_0x513e05(0x329)](){const _0x56381b=_0x513e05;this[_0x56381b(0x3a0)]();}['_registerDependencies'](){const _0x33e5f8=_0x513e05;var _0x1fca3d;const _0x1a3e83=[[_0x2e3fbf],[_0x498739],[_0x348751],[_0x32f42e],[_0x52ca15],[_0x39a103],[_0x2a7c11,{'useClass':_0x39c7f7}],[_0xe6cf6e[_0x33e5f8(0x2ee)],{'useClass':_0xe6cf6e['WebSocketService']}],[_0x19f8d7[_0x33e5f8(0x36d)],{'useClass':_0x1853ac}],[_0x8036c6[_0x33e5f8(0x1c0)]],[_0x27ca3d],[_0x23daa2],[_0x2234d1],[_0x459a5d],[_0x8036c6[_0x33e5f8(0x42a)]]];this[_0x33e5f8(0x2e9)]['enableFrontendLog']&&_0x1a3e83[_0x33e5f8(0x2e0)]([_0x19eb72]),_0x3772e7[_0x33e5f8(0x264)](this[_0x33e5f8(0x499)],_0x3772e7[_0x33e5f8(0x2f8)](_0x1a3e83,(_0x1fca3d=this[_0x33e5f8(0x2e9)])==null?void 0x0:_0x1fca3d[_0x33e5f8(0x2e8)]));}['_registerRenderDependencies'](){const _0x186f81=_0x513e05;this[_0x186f81(0x317)](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x366)],[_0x4d05f1])),this['disposeWithMe'](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x437)],[_0x4fc936]));}[_0x513e05(0x25c)](){const _0x308ee0=_0x513e05;_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x2234d1],[_0x8036c6['DesktopCollaborationStatusDisplayController']],[_0x27ca3d],[_0x23daa2],[_0x8036c6['CollaborationDataLoaderController']],[_0x498739]]),this[_0x308ee0(0x2e9)]['enableFrontendLog']&&_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x19eb72]]);}},_0x4a9300(_0x8036c6[_0x513e05(0x41a)],'pluginName',_0x5049ca),_0x8036c6[_0x513e05(0x41a)]=_0x318a22([_0x3772e7['DependentOn'](_0x19f8d7[_0x513e05(0x2e2)]),_0x2e8ae0(0x1,_0x29b571[_0x513e05(0x494)]),_0x2e8ae0(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x2e8ae0(0x3,_0x3772e7['IConfigService'])],_0x8036c6['UniverCollaborationClientUIPlugin']);var _0x130241=Object[_0x513e05(0x33c)],_0x5ddeed=(_0x7f3be1,_0xc6d3b8,_0x210dc6,_0x426342)=>{const _0x479ab0=_0x513e05;for(var _0x27ec7a=_0x426342>0x1?void 0x0:_0x426342?_0x130241(_0xc6d3b8,_0x210dc6):_0xc6d3b8,_0x49361d=_0x7f3be1[_0x479ab0(0x3ec)]-0x1,_0x436ad6;_0x49361d>=0x0;_0x49361d--)(_0x436ad6=_0x7f3be1[_0x49361d])&&(_0x27ec7a=_0x436ad6(_0x27ec7a)||_0x27ec7a);return _0x27ec7a;},_0x52934b=(_0x37fde8,_0x4f3f35)=>(_0x5610a0,_0x25f3e5)=>_0x4f3f35(_0x5610a0,_0x25f3e5,_0x37fde8);_0x8036c6[_0x513e05(0x382)]=class extends _0x19f8d7[_0x513e05(0x3bc)]{constructor(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d){super(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d);}async[_0x513e05(0x216)](_0x377044){const _0xf0b049=_0x513e05,_0x474a08=await this[_0xf0b049(0x2af)](),_0x58620d=this[_0xf0b049(0x1d6)](_0x377044,_0x474a08);return this[_0xf0b049(0x2eb)](_0x58620d);}[_0x513e05(0x1d6)](_0x188fea,_0x24333c){const _0x5ef18e=_0x513e05,_0x31db8f=typeof window>'u'?new URL(_0x188fea):new URL(_0x188fea,window[_0x5ef18e(0x430)][_0x5ef18e(0x307)]);_0x31db8f[_0x5ef18e(0x417)]['set'](_0x5ef18e(0x22f),_0x24333c);const _0x463c79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ef18e(0x430)][_0x5ef18e(0x491)]);return _0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))&&_0x31db8f['searchParams'][_0x5ef18e(0x40c)](_0x5ef18e(0x234),_0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))),_0x31db8f['toString']();}async['_getSessionTicket'](){const _0xdbfdd4=_0x513e05;var _0x5c3d12,_0x195efd,_0x2f08ea;const _0x267b48=this[_0xdbfdd4(0x441)][_0xdbfdd4(0x2fc)](_0x19f8d7[_0xdbfdd4(0x2fd)]),_0xba795e=(_0x5c3d12=_0x267b48==null?void 0x0:_0x267b48['wsSessionTicketUrl'])!=null?_0x5c3d12:_0x19f8d7[_0xdbfdd4(0x1c1)];return(_0x2f08ea=(_0x195efd=(await this[_0xdbfdd4(0x2cc)][_0xdbfdd4(0x309)](_0xba795e,{'headers':{'Content-Type':_0xdbfdd4(0x305)}}))[_0xdbfdd4(0x3c7)])==null?void 0x0:_0x195efd['ticket'])!=null?_0x2f08ea:'';}},_0x8036c6[_0x513e05(0x382)]=_0x5ddeed([_0x52934b(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x52934b(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x52934b(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x52934b(0x3,_0x3772e7['ILogService']),_0x52934b(0x4,_0x116492[_0x513e05(0x28e)])],_0x8036c6['BrowserCollaborationSocketService']);var _0x16cc04=Object[_0x513e05(0x33c)],_0x5770e8=(_0x5b28da,_0x1a2eeb,_0x294702,_0x323b4)=>{const _0x4d729a=_0x513e05;for(var _0x11b788=_0x323b4>0x1?void 0x0:_0x323b4?_0x16cc04(_0x1a2eeb,_0x294702):_0x1a2eeb,_0x587833=_0x5b28da[_0x4d729a(0x3ec)]-0x1,_0x34d95f;_0x587833>=0x0;_0x587833--)(_0x34d95f=_0x5b28da[_0x587833])&&(_0x11b788=_0x34d95f(_0x11b788)||_0x11b788);return _0x11b788;},_0x2702fb=(_0x3b4ad0,_0x1d0631)=>(_0x512a8a,_0x4dd87b)=>_0x1d0631(_0x512a8a,_0x4dd87b,_0x3b4ad0);_0x8036c6[_0x513e05(0x26f)]=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x319ba3,_0x27a756,_0x5a8711){const _0x2e6f5e=_0x513e05;super(),this['_instanceService']=_0x319ba3,this[_0x2e6f5e(0x2cc)]=_0x27a756,this[_0x2e6f5e(0x441)]=_0x5a8711;}async[_0x513e05(0x273)](_0x5d4a42,_0x3e3564,_0x3eaa30,..._0x13b607){const _0x380063=_0x513e05;var _0x639b66,_0x2bc033,_0x5b7b0f,_0x163c7e;const _0x5d0977=this[_0x380063(0x3ce)][_0x380063(0x207)]();if(!_0x5d0977)throw new Error(_0x380063(0x3af));const _0x24cde3=((_0x639b66=this[_0x380063(0x441)][_0x380063(0x2fc)](_0x19f8d7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x639b66:_0x19f8d7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5d4a42+_0x380063(0x2e1)+_0x3e3564,_0x386439=new URL(window[_0x380063(0x430)][_0x380063(0x31e)]),_0x1b8740={'scriptId':_0x5d4a42,'runId':(_0x2bc033=_0x386439[_0x380063(0x417)][_0x380063(0x309)]('runId'))!=null?_0x2bc033:'','function':_0x3e3564,'unitId':_0x5d0977[_0x380063(0x353)](),'argsOfFunction':JSON['stringify'](_0x13b607),'invokeId':(_0x5b7b0f=_0x3eaa30['invokeId'])!=null?_0x5b7b0f:'','executionId':(_0x163c7e=_0x3eaa30[_0x380063(0x295)])!=null?_0x163c7e:''};try{const _0x3bdf2c=await this[_0x380063(0x2cc)][_0x380063(0x1db)](_0x24cde3,{'body':_0x1b8740});return _0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)]&&_0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)][_0x380063(0x420)]!==_0x47161c['OK']?_0x380063(0x451):_0x3bdf2c[_0x380063(0x3c7)]['result'];}catch{return _0x380063(0x451);}}},_0x8036c6[_0x513e05(0x26f)]=_0x5770e8([_0x2702fb(0x0,_0x3772e7[_0x513e05(0x201)]),_0x2702fb(0x1,_0x3772e7['Inject'](_0xe6cf6e['HTTPService'])),_0x2702fb(0x2,_0x3772e7[_0x513e05(0x3da)])],_0x8036c6['RemoteUniscriptService']);const _0x99680c=0x7530,_0x4094b6=_0x513e05(0x40e);class _0x26e4a4 extends _0x3772e7['Disposable']{constructor(){const _0x2cf71c=_0x513e05;super(),_0xfd5d9c(this,_0x2cf71c(0x41b),_0x3772e7[_0x2cf71c(0x2ae)]()),_0xfd5d9c(this,_0x2cf71c(0x1c2),new Set()),_0xfd5d9c(this,_0x2cf71c(0x473),new Map()),_0xfd5d9c(this,_0x2cf71c(0x370),null),_0xfd5d9c(this,_0x2cf71c(0x2d2),new Map()),_0xfd5d9c(this,'_unitStatus',new Map()),this[_0x2cf71c(0x219)]();}[_0x513e05(0x472)](){const _0xb8b5b8=_0x513e05;super[_0xb8b5b8(0x472)](),this[_0xb8b5b8(0x2d2)][_0xb8b5b8(0x2a8)]((_0x2520a1,_0x281725)=>this[_0xb8b5b8(0x2ca)](_0x281725)),this[_0xb8b5b8(0x370)]&&window[_0xb8b5b8(0x1de)](this[_0xb8b5b8(0x370)]);}[_0x513e05(0x2d9)](_0x1f0cf5){const _0x11d0ee=_0x513e05;return this[_0x11d0ee(0x384)](_0x1f0cf5)[_0x11d0ee(0x372)](_0x104804[_0x11d0ee(0x2ba)]());}[_0x513e05(0x1d5)](_0xec2d5b){const _0x566c9d=_0x513e05;this[_0x566c9d(0x1c2)][_0x566c9d(0x396)]===0x0&&this[_0x566c9d(0x386)](),this[_0x566c9d(0x1c2)]['add'](_0xec2d5b),this[_0x566c9d(0x20d)]({'type':0x0,'memberID':this[_0x566c9d(0x41b)],'unitIDs':[_0xec2d5b],'isForwarded':!0x1});}[_0x513e05(0x356)](_0x5cc433){const _0x55e28f=_0x513e05;this[_0x55e28f(0x1c2)]['delete'](_0x5cc433),this[_0x55e28f(0x1c2)][_0x55e28f(0x396)]===0x0&&this[_0x55e28f(0x370)]&&window[_0x55e28f(0x1de)](this[_0x55e28f(0x370)]);}[_0x513e05(0x219)](){const _0x4efc29=_0x513e05;this[_0x4efc29(0x317)](_0x3772e7[_0x4efc29(0x385)](_0x104804['fromEvent'](window,_0x4efc29(0x3c3))[_0x4efc29(0x3ee)](_0x3a2d13=>{const _0x2e523e=_0x4efc29;if(_0x3a2d13['key']!==_0x4094b6||!_0x3a2d13[_0x2e523e(0x337)])return;const _0x435281=JSON['parse'](_0x3a2d13[_0x2e523e(0x337)]);this[_0x2e523e(0x33b)](_0x435281);}))),window[_0x4efc29(0x459)]('unload',()=>this[_0x4efc29(0x20d)]({'type':0x1,'memberID':this[_0x4efc29(0x41b)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x513e05(0x33b)](_0x1cd135){const _0x20546f=_0x513e05;switch(_0x1cd135[_0x20546f(0x23f)]){case 0x0:this[_0x20546f(0x1c7)](_0x1cd135);break;case 0x1:this[_0x20546f(0x25d)](_0x1cd135);break;case 0x2:this[_0x20546f(0x1fc)](_0x1cd135);break;}}[_0x513e05(0x1c7)](_0x3cf225){const _0x2b3634=_0x513e05,{unitIDs:_0x32bd66,memberID:_0x203e23,isForwarded:_0x718ab5}=_0x3cf225;_0x32bd66[_0x2b3634(0x2a8)](_0x446f8f=>{const _0x3461c4=_0x2b3634;if(!_0x718ab5&&this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)&&this[_0x3461c4(0x384)](_0x446f8f)[_0x3461c4(0x344)](_0x19f8d7[_0x3461c4(0x413)][_0x3461c4(0x390)]),!this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)||!this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)['has'](_0x203e23)){const _0x279ce4=this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)||new Set();_0x279ce4[_0x3461c4(0x458)](_0x203e23),this[_0x3461c4(0x473)][_0x3461c4(0x40c)](_0x446f8f,_0x279ce4),this['_scheduleClearOtherTimer'](_0x203e23);}}),_0x718ab5||this[_0x2b3634(0x20d)]({'type':0x0,'memberID':this[_0x2b3634(0x41b)],'unitIDs':[...this[_0x2b3634(0x1c2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dc944){const _0x1c434e=_0x513e05;this[_0x1c434e(0x2ca)](_0x5dc944);const _0x329296=window[_0x1c434e(0x42b)](()=>{const _0x28addd=_0x1c434e;this[_0x28addd(0x473)][_0x28addd(0x2a8)](_0x8265d8=>{const _0x4b0fe2=_0x28addd;_0x8265d8[_0x4b0fe2(0x365)](_0x5dc944);});},_0x99680c*0x2);this[_0x1c434e(0x2d2)][_0x1c434e(0x40c)](_0x5dc944,_0x329296);}[_0x513e05(0x2ca)](_0x251043){const _0x195167=_0x513e05;if(this['_clearOtherTimers']['has'](_0x251043)){const _0x3e80cd=this['_clearOtherTimers'][_0x195167(0x309)](_0x251043);_0x3e80cd&&window[_0x195167(0x39c)](_0x3e80cd),this[_0x195167(0x2d2)]['set'](_0x251043,null);}}['_handleLeaveEvent'](_0x4effdb){const _0x24d44a=_0x513e05,{memberID:_0x5aed11,unitIDs:_0xdcfc70}=_0x4effdb;_0xdcfc70['forEach'](_0xf77538=>{const _0x4edbaa=_0x3621;var _0x2554f2;const _0x2a5cb0=this[_0x4edbaa(0x473)]['get'](_0xf77538);_0x2a5cb0&&(_0x2a5cb0[_0x4edbaa(0x365)](_0x5aed11),(_0x2554f2=this[_0x4edbaa(0x384)](_0xf77538))==null||_0x2554f2[_0x4edbaa(0x344)](_0x2a5cb0[_0x4edbaa(0x396)]===0x0?_0x19f8d7[_0x4edbaa(0x413)]['NO_OTHER_CLIENTS_EDITING']:_0x19f8d7[_0x4edbaa(0x413)][_0x4edbaa(0x390)]));}),this[_0x24d44a(0x2ca)](_0x5aed11);}[_0x513e05(0x1fc)](_0x404f4a){const _0x264838=_0x513e05;this[_0x264838(0x277)](_0x404f4a[_0x264838(0x47a)]);}[_0x513e05(0x20d)](_0x4f5d01){const _0x280fc9=_0x513e05;localStorage[_0x280fc9(0x1e1)](_0x4094b6,JSON['stringify'](_0x4f5d01));}['_scheduleHeartbeat'](){const _0x40e502=_0x513e05;this[_0x40e502(0x370)]=window[_0x40e502(0x346)](()=>{const _0x5c6f70=_0x40e502;this[_0x5c6f70(0x20d)]({'type':0x2,'memberID':this[_0x5c6f70(0x41b)]});},_0x99680c);}[_0x513e05(0x384)](_0x46b507){const _0x2fe2ca=_0x513e05;return this[_0x2fe2ca(0x2ed)][_0x2fe2ca(0x28b)](_0x46b507)||this[_0x2fe2ca(0x2ed)]['set'](_0x46b507,new _0x104804[(_0x2fe2ca(0x493))](_0x19f8d7[_0x2fe2ca(0x413)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x46b507);}}_0x8036c6[_0x513e05(0x444)]=_0x2a7c11,_0x8036c6['SheetCollabCursorShape']=_0xc79a86,_0x8036c6[_0x513e05(0x373)]=_0x26e4a4,_0x8036c6['WebURLService']=_0x39c7f7,Object[_0x513e05(0x226)](_0x8036c6,Symbol['toStringTag'],{'value':'Module'});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x2fc59f,_0x7bff46){var _0x17babd=_0x51c7,_0x269fe5=_0x2fc59f();while(!![]){try{var _0x154c94=-parseInt(_0x17babd(0xd9))/0x1*(-parseInt(_0x17babd(0xe7))/0x2)+parseInt(_0x17babd(0xe0))/0x3*(-parseInt(_0x17babd(0xd4))/0x4)+parseInt(_0x17babd(0xd8))/0x5+parseInt(_0x17babd(0xd7))/0x6+parseInt(_0x17babd(0xd3))/0x7*(-parseInt(_0x17babd(0xe5))/0x8)+-parseInt(_0x17babd(0xdd))/0x9*(parseInt(_0x17babd(0xd6))/0xa)+-parseInt(_0x17babd(0xe3))/0xb*(parseInt(_0x17babd(0xdb))/0xc);if(_0x154c94===_0x7bff46)break;else _0x269fe5['push'](_0x269fe5['shift']());}catch(_0x1a87fa){_0x269fe5['push'](_0x269fe5['shift']());}}}(_0x5cda,0x8f1c2),function(_0x2b76b4,_0x14c58c){var _0x3107a4=_0x51c7;typeof exports==_0x3107a4(0xe4)&&typeof module<'u'?_0x14c58c(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x3107a4(0xe9)&&define[_0x3107a4(0xd5)]?define([_0x3107a4(0xe6),_0x3107a4(0xde)],_0x14c58c):(_0x2b76b4=typeof globalThis<'u'?globalThis:_0x2b76b4||self,_0x14c58c(_0x2b76b4[_0x3107a4(0xdf)],_0x2b76b4['UniverCoreFacade']));}(this,function(_0x5840f5,_0x3e02cf){'use strict';var _0x20e9ed=_0x51c7;class _0x3a4cc8 extends _0x3e02cf[_0x20e9ed(0xe2)]{[_0x20e9ed(0xdc)](_0x4e9481,_0x3c4314,..._0x508d3c){var _0x2667b8=_0x20e9ed;return this[_0x2667b8(0xe8)]['get'](_0x5840f5[_0x2667b8(0xe1)])['runOnServer'](_0x4e9481,_0x3c4314,{},..._0x508d3c);}}_0x3e02cf['FUniver'][_0x20e9ed(0xda)](_0x3a4cc8);}));function _0x51c7(_0x96f382,_0x40b6ee){var _0x5cdad6=_0x5cda();return _0x51c7=function(_0x51c75e,_0x3d3fdf){_0x51c75e=_0x51c75e-0xd3;var _0x398235=_0x5cdad6[_0x51c75e];return _0x398235;},_0x51c7(_0x96f382,_0x40b6ee);}function _0x5cda(){var _0x4e529c=['2324GRWHmz','amd','10EiKCDT','4822764XtbdEO','4652530flDroF','23cwrGzl','extend','36ptFXjV','runOnServer','1661211nKYHqZ','@univerjs/core/facade','UniverProCollaborationClientUi','4914KTDHZk','RemoteUniscriptService','FUniver','3665629hyBDrY','object','24312IRucUX','@univerjs-pro/collaboration-client-ui','87750LRLeqz','_injector','function','49KWnUSj'];_0x5cda=function(){return _0x4e529c;};return _0x5cda();}
11
+ function _0x512e(_0x14489a,_0x43ac7c){var _0x14431f=_0x1443();return _0x512e=function(_0x512e10,_0x4e6363){_0x512e10=_0x512e10-0x116;var _0x37a383=_0x14431f[_0x512e10];return _0x37a383;},_0x512e(_0x14489a,_0x43ac7c);}(function(_0x392d42,_0x5e5076){var _0x1bd7ee=_0x512e,_0xa8f59d=_0x392d42();while(!![]){try{var _0x3c4fc3=-parseInt(_0x1bd7ee(0x128))/0x1*(-parseInt(_0x1bd7ee(0x121))/0x2)+parseInt(_0x1bd7ee(0x125))/0x3+parseInt(_0x1bd7ee(0x11e))/0x4*(parseInt(_0x1bd7ee(0x126))/0x5)+-parseInt(_0x1bd7ee(0x120))/0x6*(-parseInt(_0x1bd7ee(0x11b))/0x7)+parseInt(_0x1bd7ee(0x116))/0x8*(parseInt(_0x1bd7ee(0x11f))/0x9)+-parseInt(_0x1bd7ee(0x124))/0xa+-parseInt(_0x1bd7ee(0x11d))/0xb;if(_0x3c4fc3===_0x5e5076)break;else _0xa8f59d['push'](_0xa8f59d['shift']());}catch(_0x1f8d5f){_0xa8f59d['push'](_0xa8f59d['shift']());}}}(_0x1443,0x2d7c5),function(_0x31b25a,_0x201f1d){var _0x3dd62b=_0x512e;typeof exports=='object'&&typeof module<'u'?_0x201f1d(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x3dd62b(0x129)]?define([_0x3dd62b(0x127),_0x3dd62b(0x123)],_0x201f1d):(_0x31b25a=typeof globalThis<'u'?globalThis:_0x31b25a||self,_0x201f1d(_0x31b25a[_0x3dd62b(0x11c)],_0x31b25a['UniverCoreFacade']));}(this,function(_0x37f358,_0x295e8d){'use strict';var _0x2c271d=_0x512e;class _0x5ec3a3 extends _0x295e8d[_0x2c271d(0x118)]{[_0x2c271d(0x117)](_0x34f4c2,_0x5862f1,..._0x446977){var _0x5913a5=_0x2c271d;return this['_injector'][_0x5913a5(0x122)](_0x37f358[_0x5913a5(0x119)])['runOnServer'](_0x34f4c2,_0x5862f1,{},..._0x446977);}}_0x295e8d['FUniver'][_0x2c271d(0x11a)](_0x5ec3a3);}));function _0x1443(){var _0x189621=['UniverProCollaborationClientUi','7443612zyNNwy','48584OsPowg','4383DNyBFI','6XlAsNS','45788Tnjgkk','get','@univerjs/core/facade','766630rzYEfU','309519KGglhh','15TZfWgH','@univerjs-pro/collaboration-client-ui','4bRUvcv','amd','5552mtKqsP','runOnServer','FUniver','RemoteUniscriptService','extend','2593493TAacQb'];_0x1443=function(){return _0x189621;};return _0x1443();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));