@univerjs/preset-docs-collaboration 0.15.0 → 0.15.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(_0xf1a215,_0x41a0ae){var _0x154b13=_0x29a5,_0x47798a=_0xf1a215();while(!![]){try{var _0x3c14b5=-parseInt(_0x154b13(0x106))/0x1*(parseInt(_0x154b13(0xd3))/0x2)+-parseInt(_0x154b13(0x384))/0x3+parseInt(_0x154b13(0x134))/0x4+parseInt(_0x154b13(0x14e))/0x5+parseInt(_0x154b13(0x202))/0x6*(-parseInt(_0x154b13(0x2d1))/0x7)+-parseInt(_0x154b13(0x193))/0x8*(-parseInt(_0x154b13(0x3a2))/0x9)+-parseInt(_0x154b13(0x38f))/0xa;if(_0x3c14b5===_0x41a0ae)break;else _0x47798a['push'](_0x47798a['shift']());}catch(_0x2ba418){_0x47798a['push'](_0x47798a['shift']());}}}(_0x2d69,0xdfc97),function(_0x1339fd,_0x5909f4){var _0x83ad49=_0x29a5;typeof exports==_0x83ad49(0x486)&&typeof module<'u'?_0x5909f4(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==_0x83ad49(0x44f)&&define[_0x83ad49(0x210)]?define([_0x83ad49(0x483),_0x83ad49(0x268),'@univerjs/core',_0x83ad49(0x38d),'@univerjs/sheets','rxjs','@univerjs/telemetry',_0x83ad49(0xfd),_0x83ad49(0xe2),_0x83ad49(0x346),_0x83ad49(0x26d)],_0x5909f4):(_0x1339fd=typeof globalThis<'u'?globalThis:_0x1339fd||self,_0x5909f4(_0x1339fd[_0x83ad49(0x1e9)]={},_0x1339fd[_0x83ad49(0x2eb)],_0x1339fd['UniverCore'],_0x1339fd[_0x83ad49(0x1fe)],_0x1339fd[_0x83ad49(0x3df)],_0x1339fd[_0x83ad49(0x1ab)],_0x1339fd[_0x83ad49(0x376)],_0x1339fd['rxjs'][_0x83ad49(0x1f9)],_0x1339fd[_0x83ad49(0x18d)],_0x1339fd[_0x83ad49(0x21d)],_0x1339fd['UniverProLicense']));}(this,function(_0x1a0555,_0x319b76,_0x5c9291,_0x124cb1,_0x22532b,_0x41392c,_0x449f45,_0x3ecfb0,_0x381bb4,_0x377a64,_0x13677f){'use strict';var _0x3125cd=_0x29a5;var _0x180de9=Object[_0x3125cd(0x16d)],_0x252bf6=(_0x3c53af,_0x9060ef,_0x524023)=>_0x9060ef in _0x3c53af?_0x180de9(_0x3c53af,_0x9060ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x524023}):_0x3c53af[_0x9060ef]=_0x524023,_0x27328e=(_0x539d81,_0x481f7,_0x54bd9a)=>_0x252bf6(_0x539d81,typeof _0x481f7!=_0x3125cd(0x423)?_0x481f7+'':_0x481f7,_0x54bd9a);const _0x2c00fc=_0x3125cd(0x28e),_0x328092='SNAPSHOT_URL_KEY',_0x5e9de5=_0x3125cd(0x2d2),_0x11c487=_0x3125cd(0x122),_0x551f79=_0x3125cd(0x411),_0x493c73='HEARTBEAT_TIMEOUT',_0x45c332=_0x3125cd(0x220),_0x4e1d34=_0x3125cd(0x401),_0x504654=_0x3125cd(0x3cd),_0x4be0c7=_0x3125cd(0x383),_0x192fb9=_0x3125cd(0x1e3),_0x10878f=_0x3125cd(0x364);var _0x720ba3=(_0x370aac=>(_0x370aac[_0x370aac[_0x3125cd(0x129)]=0x0]=_0x3125cd(0x129),_0x370aac[_0x370aac['OK']=0x1]='OK',_0x370aac[_0x370aac[_0x3125cd(0x2e1)]=0x2]=_0x3125cd(0x2e1),_0x370aac[_0x370aac['PERMISSION_DENIED']=0x3]=_0x3125cd(0x2e4),_0x370aac[_0x370aac[_0x3125cd(0x2ba)]=0x4]='NOT_FOUND',_0x370aac[_0x370aac[_0x3125cd(0x2a2)]=0x5]=_0x3125cd(0x2a2),_0x370aac[_0x370aac[_0x3125cd(0x1c9)]=0x6]=_0x3125cd(0x1c9),_0x370aac[_0x370aac[_0x3125cd(0x298)]=0x7]=_0x3125cd(0x298),_0x370aac[_0x370aac[_0x3125cd(0xf4)]=0x8]=_0x3125cd(0xf4),_0x370aac[_0x370aac[_0x3125cd(0x429)]=0x9]=_0x3125cd(0x429),_0x370aac[_0x370aac[_0x3125cd(0x455)]=0xa]=_0x3125cd(0x455),_0x370aac[_0x370aac[_0x3125cd(0x14f)]=0xb]=_0x3125cd(0x14f),_0x370aac[_0x370aac['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3125cd(0x1c7),_0x370aac[_0x370aac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3125cd(0x30b),_0x370aac[_0x370aac[_0x3125cd(0x349)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x370aac[_0x370aac[_0x3125cd(0x31c)]=0xf]=_0x3125cd(0x31c),_0x370aac[_0x370aac[_0x3125cd(0x152)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x370aac[_0x370aac[_0x3125cd(0x172)]=0x64]=_0x3125cd(0x172),_0x370aac[_0x370aac[_0x3125cd(0x124)]=0x65]=_0x3125cd(0x124),_0x370aac[_0x370aac[_0x3125cd(0x24c)]=0xc9]='USER_NOT_FOUND',_0x370aac[_0x370aac['USER_IS_ANONYMOUS']=0xca]=_0x3125cd(0x334),_0x370aac[_0x370aac[_0x3125cd(0x47d)]=0x1389]=_0x3125cd(0x47d),_0x370aac[_0x370aac[_0x3125cd(0x14b)]=0x1771]=_0x3125cd(0x14b),_0x370aac[_0x370aac[_0x3125cd(0x3a5)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x370aac[_0x370aac[_0x3125cd(0x1d3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x370aac[_0x370aac['APPLY_REJECT']=0x1b59]=_0x3125cd(0x1f0),_0x370aac[_0x370aac[_0x3125cd(0x240)]=0x1b5a]=_0x3125cd(0x240),_0x370aac[_0x370aac[_0x3125cd(0xf1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x370aac[_0x370aac[_0x3125cd(0xe3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x370aac[_0x370aac[_0x3125cd(0x315)]=0x1b5d]='APPLY_DUPLICATED',_0x370aac[_0x370aac[_0x3125cd(0x1a9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x370aac[_0x370aac[_0x3125cd(0x312)]=0x2329]=_0x3125cd(0x312),_0x370aac[_0x370aac[_0x3125cd(0x46d)]=0x232a]=_0x3125cd(0x46d),_0x370aac[_0x370aac[_0x3125cd(0x347)]=0x232b]=_0x3125cd(0x347),_0x370aac[_0x370aac[_0x3125cd(0x3e3)]=0x232c]=_0x3125cd(0x3e3),_0x370aac[_0x370aac['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x370aac[_0x370aac['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x370aac[_0x370aac[_0x3125cd(0x3ff)]=0x2712]=_0x3125cd(0x3ff),_0x370aac[_0x370aac['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3125cd(0x254),_0x370aac[_0x370aac[_0x3125cd(0x307)]=0x2714]=_0x3125cd(0x307),_0x370aac[_0x370aac[_0x3125cd(0x310)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x370aac[_0x370aac['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3125cd(0x16b),_0x370aac[_0x370aac[_0x3125cd(0x282)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x370aac[_0x370aac[_0x3125cd(0x1c0)]=0x271d]=_0x3125cd(0x1c0),_0x370aac[_0x370aac['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3125cd(0x454),_0x370aac[_0x370aac['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3125cd(0x385),_0x370aac[_0x370aac[_0x3125cd(0xe1)]=0x2720]=_0x3125cd(0xe1),_0x370aac[_0x370aac[_0x3125cd(0x35a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x370aac[_0x370aac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3125cd(0x10c),_0x370aac[_0x370aac[_0x3125cd(0x27e)]=0x2ee2]='INVALID_INVITE_CODE',_0x370aac[_0x370aac['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3125cd(0x272),_0x370aac[_0x370aac[_0x3125cd(0x1c3)]=0x2ee4]=_0x3125cd(0x1c3),_0x370aac[_0x370aac['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3125cd(0x1ae),_0x370aac[_0x370aac[_0x3125cd(0x2d3)]=0x32c9]=_0x3125cd(0x2d3),_0x370aac[_0x370aac[_0x3125cd(0x157)]=0x32ca]=_0x3125cd(0x157),_0x370aac[_0x370aac[_0x3125cd(0x24a)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x370aac[_0x370aac[_0x3125cd(0x3e2)]=0x36b1]=_0x3125cd(0x3e2),_0x370aac[_0x370aac[_0x3125cd(0x3b7)]=0x36b2]=_0x3125cd(0x3b7),_0x370aac[_0x370aac['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x370aac[_0x370aac[_0x3125cd(0x2dc)]=0x36b4]=_0x3125cd(0x2dc),_0x370aac[_0x370aac['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3125cd(0x27b),_0x370aac[_0x370aac[_0x3125cd(0x33c)]=0x36b6]=_0x3125cd(0x33c),_0x370aac[_0x370aac[_0x3125cd(0x463)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x370aac[_0x370aac[_0x3125cd(0x424)]=0x36b8]=_0x3125cd(0x424),_0x370aac[_0x370aac['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x370aac[_0x370aac['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3125cd(0x1cf),_0x370aac[_0x370aac['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3125cd(0x30e),_0x370aac[_0x370aac['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3125cd(0x24e),_0x370aac[_0x370aac[_0x3125cd(0x259)]=0x3a99]=_0x3125cd(0x259),_0x370aac[_0x370aac['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3125cd(0x421),_0x370aac[_0x370aac[_0x3125cd(0x1a7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x370aac[_0x370aac[_0x3125cd(0x3f6)]=0x3a9c]=_0x3125cd(0x3f6),_0x370aac[_0x370aac[_0x3125cd(0x2c0)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x370aac[_0x370aac['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x370aac[_0x370aac[_0x3125cd(0x417)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x370aac[_0x370aac[_0x3125cd(0x336)]=0x3e81]=_0x3125cd(0x336),_0x370aac[_0x370aac[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x370aac))(_0x720ba3||{}),_0x5c7530=(_0x525a63=>(_0x525a63[_0x525a63[_0x3125cd(0x3ea)]=0x0]='UNIVER_UNKNOWN',_0x525a63[_0x525a63[_0x3125cd(0x484)]=0x1]=_0x3125cd(0x484),_0x525a63[_0x525a63[_0x3125cd(0x350)]=0x2]=_0x3125cd(0x350),_0x525a63[_0x525a63[_0x3125cd(0x33f)]=0x3]=_0x3125cd(0x33f),_0x525a63[_0x525a63[_0x3125cd(0x32e)]=0x4]=_0x3125cd(0x32e),_0x525a63[_0x525a63[_0x3125cd(0x17b)]=-0x1]='UNRECOGNIZED',_0x525a63))(_0x5c7530||{}),_0x16f444=(_0x4565db=>(_0x4565db[_0x4565db[_0x3125cd(0x23e)]=0x0]='UNKNOWN_CMD',_0x4565db[_0x4565db[_0x3125cd(0x1ef)]=0x1]=_0x3125cd(0x1ef),_0x4565db[_0x4565db[_0x3125cd(0x462)]=0x2]=_0x3125cd(0x462),_0x4565db[_0x4565db[_0x3125cd(0x435)]=0x3]='LEAVE',_0x4565db[_0x4565db['INGEST']=0x4]=_0x3125cd(0x1e6),_0x4565db[_0x4565db[_0x3125cd(0x30f)]=0x5]=_0x3125cd(0x30f),_0x4565db[_0x4565db[_0x3125cd(0x392)]=0x6]=_0x3125cd(0x392),_0x4565db[_0x4565db[_0x3125cd(0x17b)]=-0x1]='UNRECOGNIZED',_0x4565db))(_0x16f444||{}),_0xbe2cfc=(_0x381337=>(_0x381337[_0x381337['UNKNOWN_CODE']=0x0]=_0x3125cd(0x38b),_0x381337[_0x381337['OK']=0x1]='OK',_0x381337[_0x381337['FAIL']=0x2]=_0x3125cd(0x3de),_0x381337[_0x381337[_0x3125cd(0xde)]=0x3e9]=_0x3125cd(0xde),_0x381337[_0x381337[_0x3125cd(0x10e)]=0x3ea]=_0x3125cd(0x10e),_0x381337[_0x381337[_0x3125cd(0x283)]=0x3eb]=_0x3125cd(0x283),_0x381337[_0x381337[_0x3125cd(0x166)]=0x3ec]=_0x3125cd(0x166),_0x381337[_0x381337[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x381337))(_0xbe2cfc||{}),_0xe15aa3=(_0x378bb3=>(_0x378bb3[_0x378bb3[_0x3125cd(0x43f)]=0x0]=_0x3125cd(0x43f),_0x378bb3[_0x378bb3[_0x3125cd(0x3b9)]=0x1]=_0x3125cd(0x3b9),_0x378bb3[_0x378bb3[_0x3125cd(0x1f5)]=0x2]=_0x3125cd(0x1f5),_0x378bb3[_0x378bb3[_0x3125cd(0x27c)]=0x3]=_0x3125cd(0x27c),_0x378bb3[_0x378bb3[_0x3125cd(0x1ce)]=0x4]=_0x3125cd(0x1ce),_0x378bb3[_0x378bb3[_0x3125cd(0x344)]=0x5]=_0x3125cd(0x344),_0x378bb3[_0x378bb3['ClipsheetFragments']=0x6]=_0x3125cd(0x34c),_0x378bb3[_0x378bb3[_0x3125cd(0x17b)]=-0x1]=_0x3125cd(0x17b),_0x378bb3))(_0xe15aa3||{});const _0x40ec43=_0x3125cd(0x1ac);function _0x3ee79e(_0x562941){var _0x1e6dd5=_0x3125cd;return JSON[_0x1e6dd5(0x1b5)](_0x562941)[_0x1e6dd5(0x367)];}var _0x19b9e8=(_0x46bba7=>(_0x46bba7['OTHER_CLIENT_EDITING']=_0x3125cd(0x40a),_0x46bba7[_0x3125cd(0x2e4)]=_0x3125cd(0x2e4),_0x46bba7['CONFLICT']=_0x3125cd(0x19a),_0x46bba7[_0x3125cd(0xd8)]=_0x3125cd(0xd8),_0x46bba7[_0x3125cd(0x3e5)]='JOIN_ROOM_FAILED',_0x46bba7['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x46bba7[_0x3125cd(0x183)]='SOCKET_FAILED',_0x46bba7['SUBMIT_CHANGESET_TIMEOUT']=_0x3125cd(0xe8),_0x46bba7))(_0x19b9e8||{});class _0x5cf853{constructor(){var _0x17eeb0=_0x3125cd;_0x27328e(this,_0x17eeb0(0x279),new _0x41392c[(_0x17eeb0(0x225))]()),_0x27328e(this,_0x17eeb0(0x296),this['_event$'][_0x17eeb0(0x241)]());}[_0x3125cd(0x179)](_0x68b7df){var _0x41cb0a=_0x3125cd;this[_0x41cb0a(0x279)]['next'](_0x68b7df);}}class _0x60caf4{constructor(){var _0x305010=_0x3125cd;_0x27328e(this,_0x305010(0x242),new _0x41392c['Subject']()),_0x27328e(this,_0x305010(0x234),this[_0x305010(0x242)]['asObservable']());}[_0x3125cd(0x2dd)](_0x55d9cc){var _0x2fd3f6=_0x3125cd;this[_0x2fd3f6(0x242)][_0x2fd3f6(0x1b9)](_0x55d9cc);}}var _0x141746=Object['getOwnPropertyDescriptor'],_0x5f2bed=(_0x32a521,_0x598599,_0x14cf49,_0x2abbb5)=>{var _0x37c7c0=_0x3125cd;for(var _0x37f259=_0x2abbb5>0x1?void 0x0:_0x2abbb5?_0x141746(_0x598599,_0x14cf49):_0x598599,_0x288c33=_0x32a521[_0x37c7c0(0x367)]-0x1,_0x20061c;_0x288c33>=0x0;_0x288c33--)(_0x20061c=_0x32a521[_0x288c33])&&(_0x37f259=_0x20061c(_0x37f259)||_0x37f259);return _0x37f259;},_0x49e7f6=(_0x36ca33,_0x3e5274)=>(_0x43c024,_0x196dfa)=>_0x3e5274(_0x43c024,_0x196dfa,_0x36ca33);_0x1a0555[_0x3125cd(0x469)]=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x1dbee1,_0x1e7b7c){var _0x1e1aae=_0x3125cd;super(),_0x27328e(this,_0x1e1aae(0x188),new Map()),_0x27328e(this,_0x1e1aae(0x3bd),new _0x41392c[(_0x1e1aae(0x225))]()),(this[_0x1e1aae(0x471)]=_0x1dbee1,this['_userManagerService']=_0x1e7b7c,this['disposeWithMe'](_0x41392c['merge'](this['_univerInstanceService'][_0x1e1aae(0x1ec)](_0x5c9291[_0x1e1aae(0x29b)][_0x1e1aae(0x350)])[_0x1e1aae(0x34f)](_0x3ecfb0[_0x1e1aae(0x434)](_0xcb8c08=>_0xcb8c08[_0x1e1aae(0x388)]())),this[_0x1e1aae(0x471)][_0x1e1aae(0x1ec)](_0x5c9291[_0x1e1aae(0x29b)][_0x1e1aae(0x484)])[_0x1e1aae(0x34f)](_0x3ecfb0['map'](_0x18131a=>_0x18131a[_0x1e1aae(0x388)]())),this[_0x1e1aae(0x471)][_0x1e1aae(0x1ec)](_0x5c9291['UniverInstanceType'][_0x1e1aae(0x33f)])[_0x1e1aae(0x34f)](_0x3ecfb0['map'](_0x295de6=>_0x295de6[_0x1e1aae(0x388)]())))[_0x1e1aae(0x399)](_0x592147=>this[_0x1e1aae(0x291)](_0x592147))));}[_0x3125cd(0x428)](_0x160dd2){var _0x7832a0=_0x3125cd;return this[_0x7832a0(0x188)]['has'](_0x160dd2)?_0x41392c['of'](this['_roomMembers'][_0x7832a0(0x108)](_0x160dd2)):this[_0x7832a0(0x3bd)][_0x7832a0(0x34f)](_0x3ecfb0[_0x7832a0(0x434)](_0x117b82=>{var _0x4b12e7=_0x7832a0;if(_0x117b82===_0x160dd2)return this['_roomMembers'][_0x4b12e7(0x108)](_0x117b82);}));}[_0x3125cd(0x2df)](_0x4d6b4b){var _0x4b2232=_0x3125cd;this[_0x4b2232(0x353)][_0x4b2232(0x2df)](_0x4d6b4b);}[_0x3125cd(0x410)](){var _0xf2adb8=_0x3125cd;return this[_0xf2adb8(0x353)]['getCurrentUser']();}[_0x3125cd(0x3f8)](_0x46f16a,_0x326594){var _0x431ebc=_0x3125cd;let _0x58a4a7=this['_roomMembers'][_0x431ebc(0x108)](_0x46f16a);_0x58a4a7||(_0x58a4a7=new _0x23d744(),this['_roomMembers'][_0x431ebc(0x300)](_0x46f16a,_0x58a4a7),this['_roomCreated$'][_0x431ebc(0x1b9)](_0x46f16a)),_0x58a4a7['updateMember'](_0x326594);}[_0x3125cd(0x1b6)](_0xe7e5d1,_0x396df7){var _0x4e6517=_0x3125cd;const _0x554cb4=this['_roomMembers'][_0x4e6517(0x108)](_0xe7e5d1);_0x554cb4&&_0x554cb4[_0x4e6517(0x1b6)](_0x396df7);}[_0x3125cd(0x369)](_0x4e05b0){var _0x38d55d=_0x3125cd;return this[_0x38d55d(0x188)]['get'](_0x4e05b0);}[_0x3125cd(0x420)](_0x1014ef,_0x2b66b5){var _0x1c9e39=_0x3125cd;const _0x5e44f4=this['_roomMembers']['get'](_0x1014ef);if(_0x5e44f4)return _0x5e44f4[_0x1c9e39(0x420)](_0x2b66b5);}[_0x3125cd(0x291)](_0x2b16fa){var _0x423dee=_0x3125cd;const _0x31061f=this['_roomMembers']['get'](_0x2b16fa);_0x31061f&&(_0x31061f[_0x423dee(0x456)](),this[_0x423dee(0x188)]['delete'](_0x2b16fa));}[_0x3125cd(0x456)](){var _0x2ca40c=_0x3125cd;this[_0x2ca40c(0x188)][_0x2ca40c(0x322)](_0x3f8c09=>_0x3f8c09['dispose']()),this['_roomMembers'][_0x2ca40c(0x3c4)](),this[_0x2ca40c(0x3bd)]['complete']();}},_0x1a0555[_0x3125cd(0x469)]=_0x5f2bed([_0x49e7f6(0x0,_0x5c9291['IUniverInstanceService']),_0x49e7f6(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x1b8)]))],_0x1a0555[_0x3125cd(0x469)]);class _0x23d744 extends _0x5c9291[_0x3125cd(0x402)]{constructor(){var _0x25aef4=_0x3125cd;super(...arguments),_0x27328e(this,_0x25aef4(0x480),new Map()),_0x27328e(this,_0x25aef4(0x381),new _0x41392c[(_0x25aef4(0x35c))](this['_members'])),_0x27328e(this,_0x25aef4(0x1a6),this['_members$']['asObservable']());}[_0x3125cd(0x456)](){var _0x2764d8=_0x3125cd;this[_0x2764d8(0x480)]['clear']();}[_0x3125cd(0x3f8)](_0x2daced){var _0x324ac0=_0x3125cd;this[_0x324ac0(0x480)][_0x324ac0(0x300)](_0x2daced[_0x324ac0(0x2be)],_0x2daced),this[_0x324ac0(0x3db)]();}[_0x3125cd(0x1b6)](_0x338383){this['_members']['delete'](_0x338383);}[_0x3125cd(0x420)](_0x576a9e){var _0x1f3d2c=_0x3125cd;return this[_0x1f3d2c(0x480)]['get'](_0x576a9e);}[_0x3125cd(0x212)](){var _0x482a9d=_0x3125cd;return Array['from'](this[_0x482a9d(0x480)][_0x482a9d(0x178)]());}['_emitMembers'](){var _0x30d398=_0x3125cd;this[_0x30d398(0x381)]['next'](this['_members']);}}var _0x5f2906=Object['getOwnPropertyDescriptor'],_0x440f07=(_0x119fb9,_0x566a20,_0x1ddba7,_0x21b71d)=>{var _0xbfcb1a=_0x3125cd;for(var _0x7159ec=_0x21b71d>0x1?void 0x0:_0x21b71d?_0x5f2906(_0x566a20,_0x1ddba7):_0x566a20,_0x51f498=_0x119fb9[_0xbfcb1a(0x367)]-0x1,_0x2797d0;_0x51f498>=0x0;_0x51f498--)(_0x2797d0=_0x119fb9[_0x51f498])&&(_0x7159ec=_0x2797d0(_0x7159ec)||_0x7159ec);return _0x7159ec;},_0x496e3f=(_0x5770e0,_0x287c2d)=>(_0x37a820,_0x16fd90)=>_0x287c2d(_0x37a820,_0x16fd90,_0x5770e0),_0x8660ba=(_0x461be1=>(_0x461be1[_0x461be1[_0x3125cd(0x232)]=0x0]='IDLE',_0x461be1[_0x461be1['JOINING']=0x1]=_0x3125cd(0x214),_0x461be1[_0x461be1[_0x3125cd(0x2c5)]=0x2]=_0x3125cd(0x2c5),_0x461be1[_0x461be1[_0x3125cd(0x28d)]=0x3]='ONLINE',_0x461be1))(_0x8660ba||{});const _0x442be6={[_0xbe2cfc['FAIL']]:_0x3125cd(0x26b),[_0xbe2cfc[_0x3125cd(0xde)]]:'session.room-full',[_0xbe2cfc[_0x3125cd(0x10e)]]:_0x3125cd(0x317),[_0xbe2cfc['JOIN_ROOM_PERMISSION_DENIED']]:_0x3125cd(0x168),[_0xbe2cfc['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3125cd(0x365)};_0x1a0555['CollaborationSession']=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x3b3e88,_0x2e3301,_0x359486,_0x1d9561,_0x4b6dad,_0x2d734,_0x1412da,_0xb6fe8e){var _0x5ed7c4=_0x3125cd;super(),_0x27328e(this,_0x5ed7c4(0x19b),new _0x41392c[(_0x5ed7c4(0x35c))](0x0)),_0x27328e(this,_0x5ed7c4(0x321),this[_0x5ed7c4(0x19b)][_0x5ed7c4(0x241)]()),_0x27328e(this,_0x5ed7c4(0x279),new _0x41392c[(_0x5ed7c4(0x225))]()),_0x27328e(this,_0x5ed7c4(0x296),this[_0x5ed7c4(0x279)]['asObservable']()),_0x27328e(this,_0x5ed7c4(0x15a)),_0x27328e(this,_0x5ed7c4(0x3fb)),_0x27328e(this,'_collaborationTimeoutTimer'),_0x27328e(this,_0x5ed7c4(0x3fd),!0x1),_0x27328e(this,_0x5ed7c4(0x326),null),(this[_0x5ed7c4(0x246)]=_0x3b3e88,this[_0x5ed7c4(0x18a)]=_0x359486,this['_configService']=_0x1d9561,this[_0x5ed7c4(0x22c)]=_0x4b6dad,this['_commentService']=_0x2d734,this[_0x5ed7c4(0xef)]=_0x1412da,this[_0x5ed7c4(0x368)]=_0xb6fe8e,this[_0x5ed7c4(0x3fd)]=!!this[_0x5ed7c4(0x368)],_0x2e3301[_0x5ed7c4(0x34f)](_0x41392c[_0x5ed7c4(0x1fd)](this[_0x5ed7c4(0x2ef)]))['subscribe'](_0x5d5c7d=>{var _0x43127f=_0x5ed7c4,_0x2ae12d;typeof _0x5d5c7d>'u'||(this[_0x43127f(0x15a)]=_0x5d5c7d,_0x5d5c7d?(this[_0x43127f(0x213)](_0x5d5c7d),this[_0x43127f(0x3fb)]=_0x5d5c7d[_0x43127f(0xe0)][_0x43127f(0x399)](_0x2d3ed2=>{var _0x8f0c90=_0x43127f;_0x2d3ed2['routeKey']===this[_0x8f0c90(0x246)]&&this['_onCombEvent'](_0x2d3ed2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x43127f(0x19b)][_0x43127f(0x1b9)](0x2),(_0x2ae12d=this[_0x43127f(0x3fb)])==null||_0x2ae12d[_0x43127f(0x205)](),this[_0x43127f(0x3fb)]=null));}));}get[_0x3125cd(0x1d6)](){var _0x4eaf50=_0x3125cd;return this[_0x4eaf50(0x19b)][_0x4eaf50(0xf2)]();}[_0x3125cd(0x22b)](){var _0x1ddfa4=_0x3125cd,_0x47b99d,_0x48305b;return(_0x48305b=(_0x47b99d=this[_0x1ddfa4(0x15a)])==null?void 0x0:_0x47b99d[_0x1ddfa4(0x2be)])!=null?_0x48305b:null;}[_0x3125cd(0x456)](){var _0xdcafe2=_0x3125cd;super[_0xdcafe2(0x456)](),this['dispose$'][_0xdcafe2(0x1b9)](),this[_0xdcafe2(0x2ef)][_0xdcafe2(0x12e)]();}[_0x3125cd(0x44a)](){var _0x1611d8=_0x3125cd,_0x21cbea,_0x22a22c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x21cbea=this[_0x1611d8(0x15a)])==null||_0x21cbea['send']({'cmd':_0x16f444[_0x1611d8(0x435)],'data':{'roomID':this[_0x1611d8(0x246)]}}),(_0x22a22c=this[_0x1611d8(0x15a)])==null||_0x22a22c[_0x1611d8(0x44a)](),this[_0x1611d8(0x279)][_0x1611d8(0x12e)](),this['_sessionStatus$'][_0x1611d8(0x12e)](),this[_0x1611d8(0x456)]();}[_0x3125cd(0x446)](_0x1f33e1){var _0x3222c8=_0x3125cd;_0x1f33e1['cmd']===_0x16f444[_0x3222c8(0x462)]?this['_onJoinRoomEvent'](_0x1f33e1):_0x1f33e1['cmd']===_0x16f444['RECV']&&this[_0x3222c8(0x209)](_0x1f33e1);}[_0x3125cd(0x213)](_0x5830f9){var _0x5612e4=_0x3125cd;this[_0x5612e4(0x19b)][_0x5612e4(0x1b9)](0x1),_0x5830f9[_0x5612e4(0x105)]({'cmd':_0x16f444[_0x5612e4(0x462)],'routeKey':this[_0x5612e4(0x246)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5612e4(0x246)]}]}});}[_0x3125cd(0xd1)](_0x18c193){var _0x4d13c4=_0x3125cd,_0xc3ad5f;if(_0x18c193[_0x4d13c4(0x162)]in _0x442be6){this[_0x4d13c4(0xef)]['emitEvent']({'id':_0x19b9e8[_0x4d13c4(0x3e5)],'data':_0x442be6[_0x18c193[_0x4d13c4(0x162)]]}),this[_0x4d13c4(0x19b)]['next'](0x2);return;}this[_0x4d13c4(0x19b)][_0x4d13c4(0x1b9)](0x3);const _0x46d19a=(_0xc3ad5f=_0x18c193[_0x4d13c4(0x438)][_0x4d13c4(0x3e8)][this[_0x4d13c4(0x246)]])==null?void 0x0:_0xc3ad5f[_0x4d13c4(0x2a8)];_0x46d19a&&_0x46d19a[_0x4d13c4(0x322)](_0x20d026=>this[_0x4d13c4(0x22c)][_0x4d13c4(0x3f8)](this[_0x4d13c4(0x246)],_0x20d026));}[_0x3125cd(0x209)](_0x5cda1a){var _0x2b742e=_0x3125cd;try{const _0xaf3aa0=_0x5cda1a[_0x2b742e(0x438)];switch(_0xaf3aa0['eventID']){case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x180)]:this[_0x2b742e(0x26f)](_0xaf3aa0),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)]['USERS_LEAVE']:this[_0x2b742e(0x28a)](_0xaf3aa0),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x21b)]:case _0x319b76['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2b742e(0x1f1)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76[_0x2b742e(0xff)][_0x2b742e(0x165)]:this['_logService'][_0x2b742e(0x231)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2b742e(0x1b5)](_0xaf3aa0)),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;case _0x319b76['CollaborationEvent'][_0x2b742e(0x185)]:this['_commentService'][_0x2b742e(0x2dd)](_0xaf3aa0['data']),this[_0x2b742e(0x279)][_0x2b742e(0x1b9)](_0xaf3aa0);break;default:this['_event$'][_0x2b742e(0x1b9)](_0xaf3aa0);}}catch(_0x59b3f9){this[_0x2b742e(0x18a)][_0x2b742e(0x231)](_0x59b3f9,_0x5cda1a);}}['_onUserJoin'](_0x4156e9){var _0x27209b=_0x3125cd;this[_0x27209b(0x22c)]['updateMember'](this[_0x27209b(0x246)],_0x4156e9['data']);}[_0x3125cd(0x28a)](_0x100425){var _0x3d66b1=_0x3125cd;this[_0x3d66b1(0x22c)]['removeMember'](this[_0x3d66b1(0x246)],_0x100425['data']['memberID']);}async['send'](_0x34a65d,_0x17b071){var _0x4f7d7d=_0x3125cd;if(this[_0x4f7d7d(0x1d6)]!==0x3||!this[_0x4f7d7d(0x15a)])throw new Error(_0x4f7d7d(0x3e7));try{_0x34a65d[_0x4f7d7d(0x2ff)]===_0x319b76[_0x4f7d7d(0xff)]['SUBMIT_CHANGESET']&&(this[_0x4f7d7d(0x1a8)](),this[_0x4f7d7d(0x1a0)](_0x34a65d)),this['_socket'][_0x4f7d7d(0x105)]({'cmd':_0x16f444[_0x4f7d7d(0x1e6)],'routeKey':_0x17b071,'routeType':'','data':_0x34a65d});}catch(_0x5f3704){this['_logService'][_0x4f7d7d(0x231)](_0x5f3704);}}['_scheduleCollaborationTimeoutTimer'](){var _0x116f14=_0x3125cd,_0x289a2e;this[_0x116f14(0x148)]=setTimeout(()=>{var _0x3f6ee2=_0x116f14;this[_0x3f6ee2(0x148)]=null,this[_0x3f6ee2(0xef)][_0x3f6ee2(0x179)]({'id':_0x19b9e8[_0x3f6ee2(0xe8)]});},(_0x289a2e=this[_0x116f14(0xdf)][_0x116f14(0x39a)](_0x493c73))!=null?_0x289a2e:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x2cc8d7=_0x3125cd;this[_0x2cc8d7(0x148)]&&(clearTimeout(this[_0x2cc8d7(0x148)]),this[_0x2cc8d7(0x148)]=null);}[_0x3125cd(0x1a0)](_0x57b644){var _0x355446=_0x3125cd;if(!this[_0x355446(0x3fd)])return;const {data:_0x1fac29}=_0x57b644,{unitID:_0x3dce9,changeset:_0x135cfd}=_0x1fac29,{mutations:_0x5d26fa,type:_0x2de0cb}=_0x135cfd;this['_telemetryInfo']={'unitId':_0x3dce9,'type':_0x2de0cb,'startTime':performance[_0x355446(0x412)](),'stopTime':0x0,'duration':0x0,'size':_0x3ee79e(_0x5d26fa)};}[_0x3125cd(0x1f1)](){var _0xbeeab2=_0x3125cd;if(this[_0xbeeab2(0x3fd)]){if(!this[_0xbeeab2(0x326)]){this['_logService'][_0xbeeab2(0x231)](_0xbeeab2(0x29d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xbeeab2(0x326)][_0xbeeab2(0x137)]=performance['now'](),this['_telemetryInfo'][_0xbeeab2(0x2b2)]=this['_telemetryInfo'][_0xbeeab2(0x137)]-this[_0xbeeab2(0x326)][_0xbeeab2(0x2e2)],this['_telemetryService'][_0xbeeab2(0x2f6)](_0x40ec43,this['_telemetryInfo']),this[_0xbeeab2(0x326)]=null;}}[_0x3125cd(0x34d)](){var _0x54e16c=_0x3125cd;this[_0x54e16c(0x326)]=null;}},_0x1a0555[_0x3125cd(0x314)]=_0x440f07([_0x496e3f(0x2,_0x5c9291[_0x3125cd(0x109)]),_0x496e3f(0x3,_0x5c9291[_0x3125cd(0x226)]),_0x496e3f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555['MemberService'])),_0x496e3f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x60caf4)),_0x496e3f(0x6,_0x5c9291['Inject'](_0x5cf853)),_0x496e3f(0x7,_0x5c9291['Optional'](_0x449f45[_0x3125cd(0x1e7)]))],_0x1a0555[_0x3125cd(0x314)]);const _0x1d3985=_0x5c9291[_0x3125cd(0x1bc)]('collaboration-client.local-cache-service');function _0x3fee3e(_0x17b118){var _0x1d5b81=_0x3125cd;return _0x1d5b81(0x16e)+_0x17b118;}var _0x1a32d4=Object[_0x3125cd(0x143)],_0x9d8921=(_0x44b281,_0x3135b4,_0x5c0414,_0x5d1d91)=>{var _0x228f71=_0x3125cd;for(var _0xa27ffe=_0x5d1d91>0x1?void 0x0:_0x5d1d91?_0x1a32d4(_0x3135b4,_0x5c0414):_0x3135b4,_0x31e9cc=_0x44b281[_0x228f71(0x367)]-0x1,_0x515723;_0x31e9cc>=0x0;_0x31e9cc--)(_0x515723=_0x44b281[_0x31e9cc])&&(_0xa27ffe=_0x515723(_0xa27ffe)||_0xa27ffe);return _0xa27ffe;},_0x22c35c=(_0x30955a,_0x1e4f47)=>(_0x2c907,_0x35f05e)=>_0x1e4f47(_0x2c907,_0x35f05e,_0x30955a);function _0x40d41e(_0x1dc6a9){var _0x12674e=_0x3125cd;const {unitID:_0x58bc5b,mutations:_0x54cfbc}=_0x1dc6a9;return{'unitId':_0x58bc5b,'subUnitId':_0x54cfbc[_0x12674e(0x367)]>0x0?_0x54cfbc[0x0]['params'][_0x12674e(0x1d8)]:null};}_0x1a0555['SheetTransformSelectionsService']=class{constructor(_0x8116d2,_0x428b1f,_0x30d149){var _0x31ff71=_0x3125cd;this[_0x31ff71(0x1a2)]=_0x8116d2,this[_0x31ff71(0x1eb)]=_0x428b1f,this[_0x31ff71(0x140)]=_0x30d149;}[_0x3125cd(0x372)](_0x475e28){var _0x4b5c77=_0x3125cd,_0x314973,_0x3cb788,_0x4781c1,_0x2dd896;const _0x17aae1=this['_injector']['get'](_0x22532b[_0x4b5c77(0x2bc)]),{unitId:_0x25eaaa,subUnitId:_0x39c44c}=_0x40d41e(_0x475e28),_0x5e850e=_0x17aae1==null?void 0x0:_0x17aae1['getWorkbookSelections'](_0x25eaaa)[_0x4b5c77(0xd7)](),_0x2ec9b2=(_0x3cb788=(_0x314973=this[_0x4b5c77(0x140)][_0x4b5c77(0x1e5)](_0x25eaaa))==null?void 0x0:_0x314973[_0x4b5c77(0x28b)]())==null?void 0x0:_0x3cb788[_0x4b5c77(0xd9)]();if(_0x5e850e['length']===0x0||!_0x25eaaa||!_0x39c44c)return;const _0x471018=[{'id':_0x22532b[_0x4b5c77(0x21e)]['id'],'params':{'unitId':_0x25eaaa,'subUnitId':_0x2ec9b2,'selections':_0x5c9291[_0x4b5c77(0x251)][_0x4b5c77(0x361)](_0x5e850e)}}],_0x4ba8e=this[_0x4b5c77(0x1eb)][_0x4b5c77(0x2cb)](_0x475e28,_0x471018);if(!_0x319b76[_0x4b5c77(0x43b)](_0x4ba8e))throw _0x4ba8e[_0x4b5c77(0x231)];const _0x138e2f=(_0x2dd896=(_0x4781c1=_0x4ba8e[_0x4b5c77(0x119)][0x0])==null?void 0x0:_0x4781c1[_0x4b5c77(0x197)])==null?void 0x0:_0x2dd896[_0x4b5c77(0x1ba)];if(Array[_0x4b5c77(0x101)](_0x138e2f)&&_0x138e2f[_0x4b5c77(0x367)]){if(_0x138e2f['length']===_0x471018[0x0][_0x4b5c77(0x197)][_0x4b5c77(0x1ba)][_0x4b5c77(0x367)]&&_0x138e2f[_0x4b5c77(0x133)]((_0x6887f9,_0x20aa9e)=>_0x5c9291[_0x4b5c77(0x118)]['equals'](_0x6887f9[_0x4b5c77(0x117)],_0x471018[0x0][_0x4b5c77(0x197)][_0x4b5c77(0x1ba)][_0x20aa9e]['range'])))return;this[_0x4b5c77(0x1a2)]['get'](_0x5c9291[_0x4b5c77(0x357)])[_0x4b5c77(0x1cb)](_0x22532b[_0x4b5c77(0x21e)]['id'],{'unitId':_0x25eaaa,'subUnitId':_0x2ec9b2,'selections':_0x138e2f});}}},_0x1a0555[_0x3125cd(0x2d0)]=_0x9d8921([_0x22c35c(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x22c35c(0x1,_0x319b76[_0x3125cd(0x332)]),_0x22c35c(0x2,_0x5c9291[_0x3125cd(0x200)])],_0x1a0555[_0x3125cd(0x2d0)]);const _0x2753d1=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x13c));var _0x29e528=(_0x3c33a5=>(_0x3c33a5[_0x3c33a5[_0x3125cd(0x3b8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c33a5[_0x3c33a5[_0x3125cd(0x405)]=0x1]=_0x3125cd(0x405),_0x3c33a5))(_0x29e528||{});const _0x1ace84=_0x3125cd(0x32f),_0x43b491={};function _0x415585(_0x1d2a6f){var _0x4e1e69=_0x3125cd,_0x2937dd;return!!((_0x2937dd=_0x1d2a6f[_0x4e1e69(0x197)])!=null&&_0x2937dd[_0x4e1e69(0x422)]);}const _0x2d1b5d=new Set([_0x22532b[_0x3125cd(0x447)]['id']]);function _0x3c683a(_0x1501e9,_0x3f27f7,_0xc6d974,_0x3ad336,_0x2fbcc4){var _0x440760=_0x3125cd,_0x1491bd,_0x1ab931,_0x331659,_0x4cb9ff;const _0x544371=[];for(const _0x56c230 of _0x1501e9){if(_0x2d1b5d[_0x440760(0x1de)](_0x56c230['id'])){if(_0x544371['length']>0x0)break;_0x544371[_0x440760(0x123)](_0x56c230);break;}if(_0x415585(_0x56c230)){if(_0x544371[_0x440760(0x367)]>0x0)break;_0x544371['push'](_0x56c230);break;}_0x544371[_0x440760(0x123)](_0x56c230);}const _0x1eb5a5=(_0x1ab931=(_0x1491bd=_0x2fbcc4[_0x440760(0x410)]())==null?void 0x0:_0x1491bd['userID'])!=null?_0x1ab931:'unknown',_0x45424d=(_0x4cb9ff=(_0x331659=_0x2fbcc4[_0x440760(0x410)]())==null?void 0x0:_0x331659['memberID'])!=null?_0x4cb9ff:_0x440760(0xe5);return{'changeset':{'unitID':_0x3f27f7,'type':_0x319b76['mapDocumentTypeToUniverType'](_0xc6d974[_0x440760(0x443)](_0x3f27f7)),'baseRev':_0x3ad336['getCurrentRevOfUnit'](_0x3f27f7),'revision':0x0,'userID':_0x1eb5a5,'memberID':_0x45424d,'mutations':_0x544371},'pendingMutations':_0x1501e9[_0x440760(0x3d9)](_0x544371[_0x440760(0x367)])};}function _0x442418(_0x5a3daf,_0x234eb0,_0x14aa89,_0x2c1ad8,_0x5cce46){var _0x4e3b51=_0x3125cd,_0x2d29e7,_0x2786a1,_0x1ba213,_0x1d808b;const _0x11afc6=[_0x5a3daf[_0x4e3b51(0x13e)]((_0x4dbc25,_0x1e54c3)=>{var _0x204bb6=_0x4e3b51,_0x2f9bef;const {id:_0x3888c1}=_0x4dbc25,{id:_0x2bdf37,type:_0x1d65b9}=_0x1e54c3,_0x4ca7de=(_0x2f9bef=_0x4dbc25[_0x204bb6(0x197)])!=null?_0x2f9bef:{'actions':null},_0x453d9c=_0x1e54c3[_0x204bb6(0x197)];if(_0x3888c1&&_0x3888c1!==_0x2bdf37)throw new Error(_0x204bb6(0x395)+_0x3888c1+'\x20-\x20'+_0x2bdf37+'.');return{..._0x4dbc25,'id':_0x2bdf37,'type':_0x1d65b9,'params':{'unitId':_0x453d9c[_0x204bb6(0xf0)],'textRanges':_0x453d9c[_0x204bb6(0x45f)],'actions':_0x5c9291[_0x204bb6(0x12c)][_0x204bb6(0x47a)](_0x4ca7de[_0x204bb6(0x1f8)],_0x453d9c['actions'])}};},{})],_0x2f5e28=(_0x2786a1=(_0x2d29e7=_0x5cce46['getCurrentUser']())==null?void 0x0:_0x2d29e7[_0x4e3b51(0x11a)])!=null?_0x2786a1:_0x4e3b51(0xe5),_0x420803=(_0x1d808b=(_0x1ba213=_0x5cce46[_0x4e3b51(0x410)]())==null?void 0x0:_0x1ba213['memberID'])!=null?_0x1d808b:_0x4e3b51(0xe5);return{'changeset':{'unitID':_0x234eb0,'type':_0x319b76['mapDocumentTypeToUniverType'](_0x14aa89[_0x4e3b51(0x443)](_0x234eb0)),'baseRev':_0x2c1ad8[_0x4e3b51(0x244)](_0x234eb0),'revision':0x0,'userID':_0x2f5e28,'memberID':_0x420803,'mutations':_0x11afc6},'pendingMutations':[]};}function _0x48f847(_0x2a355,_0x55ccfc){var _0x5c0d88=_0x3125cd;const _0x28076d=new _0x41392c['ReplaySubject'](0x1);return setTimeout(()=>_0x28076d[_0x5c0d88(0x1b9)](_0x55ccfc),_0x2a355),_0x28076d[_0x5c0d88(0x241)]()[_0x5c0d88(0x34f)](_0x41392c[_0x5c0d88(0x370)](0x1));}var _0xbac86b=Object[_0x3125cd(0x143)],_0x49a640=(_0x425226,_0x4adeee,_0x2381d9,_0x1cb198)=>{var _0x4229d6=_0x3125cd;for(var _0x510e52=_0x1cb198>0x1?void 0x0:_0x1cb198?_0xbac86b(_0x4adeee,_0x2381d9):_0x4adeee,_0x51b089=_0x425226[_0x4229d6(0x367)]-0x1,_0x5e92f7;_0x51b089>=0x0;_0x51b089--)(_0x5e92f7=_0x425226[_0x51b089])&&(_0x510e52=_0x5e92f7(_0x510e52)||_0x510e52);return _0x510e52;},_0x49eda2=(_0x4ea17d,_0x4ead1a)=>(_0x260a8d,_0x900354)=>_0x4ead1a(_0x260a8d,_0x900354,_0x4ea17d),_0x2c3058=(_0x9852dd=>(_0x9852dd[_0x3125cd(0x379)]=_0x3125cd(0x153),_0x9852dd[_0x3125cd(0x453)]='synced',_0x9852dd[_0x3125cd(0x323)]='pending',_0x9852dd[_0x3125cd(0x47f)]=_0x3125cd(0x40e),_0x9852dd['AWAITING_WITH_PENDING']=_0x3125cd(0xf8),_0x9852dd[_0x3125cd(0x352)]=_0x3125cd(0x404),_0x9852dd[_0x3125cd(0x19a)]=_0x3125cd(0x237),_0x9852dd[_0x3125cd(0x2c5)]=_0x3125cd(0x38c),_0x9852dd))(_0x2c3058||{});const _0x4f7161=0x4e20,_0x2aa9af=0x2bf20;class _0x5463be{constructor(_0x5d9e01,_0x4efabb,_0x304926,_0x35c134,_0x3ee039,_0x22aede,_0x31d1cf,_0xef3c88,_0x121cbb){var _0x726e57=_0x3125cd;_0x27328e(this,_0x726e57(0x2f1),null),_0x27328e(this,_0x726e57(0x29a),[]),(this['unitID']=_0x5d9e01,this['type']=_0x4efabb,this[_0x726e57(0x276)]=_0x3ee039,this[_0x726e57(0x479)]=_0x22aede,this[_0x726e57(0x3d5)]=_0x31d1cf,this[_0x726e57(0x2a1)]=_0xef3c88,this[_0x726e57(0x219)]=_0x121cbb,this[_0x726e57(0x2f1)]=_0x304926,this[_0x726e57(0x29a)]=_0x35c134);}[_0x3125cd(0x278)](_0x15c8db){var _0x5f23d4=_0x3125cd;const _0xdae89d=this[_0x5f23d4(0x2a1)][_0x5f23d4(0x244)](this[_0x5f23d4(0x11c)]);return _0x15c8db['revision']>_0xdae89d+0x1?(this[_0x5f23d4(0x276)][_0x5f23d4(0x261)]({'from':_0xdae89d,'to':_0x15c8db['revision']-0x1}),!0x0):!0x1;}[_0x3125cd(0x3bc)](_0x32d4cc){var _0x5b379f=_0x3125cd;this[_0x5b379f(0x3d5)][_0x5b379f(0x287)](this[_0x5b379f(0x11c)],_0x32d4cc);}['_transformSelections'](_0x56c1d3){var _0x2b07e9=_0x3125cd,_0x1deb63,_0x9548b4;(_0x9548b4=(_0x1deb63=this['_handler'])['onTransformSelections'])==null||_0x9548b4[_0x2b07e9(0x1d4)](_0x1deb63,_0x56c1d3);}[_0x3125cd(0x3cf)](_0x421d16){var _0x45279a=_0x3125cd,_0x4dccb1,_0x5aca02;return(_0x5aca02=(_0x4dccb1=this[_0x45279a(0x276)])[_0x45279a(0x26a)])==null?void 0x0:_0x5aca02['call'](_0x4dccb1,_0x421d16);}[_0x3125cd(0x112)](_0x15866e){var _0x386cf1=_0x3125cd,_0x23d880,_0x37b1c5;return(_0x37b1c5=(_0x23d880=this['_handler'])['onTransformState'])==null?void 0x0:_0x37b1c5[_0x386cf1(0x1d4)](_0x23d880,_0x15866e);}['_transformRemoteChangesetByIMECache'](_0x4342e8){var _0x3a3945=_0x3125cd,_0x1e08d1,_0x270c14,_0x2b23ab;return(_0x2b23ab=(_0x270c14=(_0x1e08d1=this[_0x3a3945(0x276)])[_0x3a3945(0x29c)])==null?void 0x0:_0x270c14[_0x3a3945(0x1d4)](_0x1e08d1,_0x4342e8))!=null?_0x2b23ab:_0x4342e8;}[_0x3125cd(0x328)](_0x509d9a){var _0x1fc3ef=_0x3125cd,_0x4bcf39,_0x203ed4,_0x4adc3a;return(_0x4adc3a=(_0x203ed4=(_0x4bcf39=this[_0x1fc3ef(0x276)])[_0x1fc3ef(0x2b1)])==null?void 0x0:_0x203ed4[_0x1fc3ef(0x1d4)](_0x4bcf39,_0x509d9a))!=null?_0x4adc3a:_0x509d9a;}[_0x3125cd(0xe7)](_0x16d396){var _0x411e08=_0x3125cd,_0x286913,_0x23a81a;if(this[_0x411e08(0x266)]===_0x5c7530['UNIVER_DOC']){const {unitID:_0x2f6379,mutations:_0x3b0f53,memberID:_0x585757}=_0x16d396,_0x5779cb=_0x3b0f53[_0x411e08(0x367)]>0x0?_0x3b0f53[0x0]['params'][_0x411e08(0x45f)]:[];Array[_0x411e08(0x101)](_0x5779cb)&&_0x5779cb['length']>0x0&&((_0x23a81a=(_0x286913=this['_handler'])[_0x411e08(0x18e)])==null||_0x23a81a['call'](_0x286913,{'unitID':_0x2f6379,'memberID':_0x585757,'textRanges':_0x5779cb}));}}[_0x3125cd(0x46a)](){var _0x301116=_0x3125cd,_0xe6edf9;(_0xe6edf9=this[_0x301116(0x219)])==null||_0xe6edf9['updateOfflineData'](this[_0x301116(0x11c)],this[_0x301116(0x266)],this[_0x301116(0x2f1)],this['_pendingMutations']);}[_0x3125cd(0x233)](){var _0x502dd7=_0x3125cd;return this[_0x502dd7(0x2a1)]['getCurrentRevOfUnit'](this[_0x502dd7(0x11c)]);}['_incrementRevisionNumber'](){var _0x454bae=_0x3125cd;this[_0x454bae(0x2a1)][_0x454bae(0xe4)](this[_0x454bae(0x11c)]);}[_0x3125cd(0x144)](_0xbc8b59){var _0x36bf74=_0x3125cd,_0x376035;let _0xc7ed9d=this['_transformRemoteChangesetByIMECache'](_0xbc8b59);_0xc7ed9d=this[_0x36bf74(0x328)](_0xc7ed9d);const _0x4fadd4=_0x5c9291['sequenceExecute'](_0xc7ed9d['mutations'],this[_0x36bf74(0x479)],{'fromCollab':!0x0});if(!_0x4fadd4[_0x36bf74(0x21f)])throw _0x4fadd4[_0x36bf74(0x231)]instanceof Error?_0x4fadd4[_0x36bf74(0x231)]:new Error((_0x376035=_0x4fadd4[_0x36bf74(0x231)])!=null?_0x376035:_0x36bf74(0x44e));this[_0x36bf74(0x3cf)](_0xc7ed9d),this[_0x36bf74(0x112)](_0xc7ed9d),this[_0x36bf74(0x3bc)](_0xbc8b59),this[_0x36bf74(0x2ae)](_0xc7ed9d),this[_0x36bf74(0xe7)](_0xc7ed9d),this[_0x36bf74(0x448)]();}}_0x1a0555[_0x3125cd(0x30a)]=class extends _0x5463be{constructor(_0x59fef2,_0x4cdcb7,_0x367f89,_0x47e91c,_0x4aef34,_0x2e9ca5,_0x548512,_0x37bf66,_0x528f8e,_0x3af2c5){var _0x1c36d3=_0x3125cd;super(_0x59fef2,_0x4cdcb7,null,[],_0x367f89,_0x548512,_0x2e9ca5,_0x47e91c,_0x3af2c5),_0x27328e(this,_0x1c36d3(0x262),_0x1c36d3(0x190)),(this[_0x1c36d3(0x1a2)]=_0x4aef34,this[_0x1c36d3(0x18a)]=_0x37bf66,this[_0x1c36d3(0x1eb)]=_0x528f8e,this[_0x1c36d3(0x20d)]=_0x3af2c5);}[_0x3125cd(0x2bd)](_0x4700e8){var _0x8a3a3c=_0x3125cd;const _0x2e1453=this[_0x8a3a3c(0x1a2)][_0x8a3a3c(0x1d1)](_0x1a0555[_0x8a3a3c(0x255)],this[_0x8a3a3c(0x11c)],this['type'],[_0x4700e8],this[_0x8a3a3c(0x276)]);return _0x2e1453[_0x8a3a3c(0x418)](),_0x2e1453[_0x8a3a3c(0x46a)](),_0x2e1453;}['onRemoteChangeset'](_0x24762a){var _0x3eeebf=_0x3125cd;if(this['_checkMissing'](_0x24762a))return this[_0x3eeebf(0x1a2)]['createInstance'](_0x1a0555[_0x3eeebf(0xf6)],this['unitID'],this[_0x3eeebf(0x266)],null,[],null,[_0x24762a],this[_0x3eeebf(0x276)]);try{const _0x27cbda=this['_transformService'][_0x3eeebf(0x2cb)](_0x24762a,[_0x319b76['EmptyMutationInfo']]);if(_0x319b76[_0x3eeebf(0x43b)](_0x27cbda)){const {c1Prime:_0x40ebb0}=_0x27cbda;return this[_0x3eeebf(0x144)](_0x40ebb0),this;}throw _0x27cbda[_0x3eeebf(0x231)];}catch(_0x1ed50d){return this[_0x3eeebf(0x18a)]['error'](_0x1ed50d),this['_onConflict'](!0x1);}}['_onConflict'](_0x34601f){var _0x15c6e0=_0x3125cd;return this[_0x15c6e0(0x1a2)][_0x15c6e0(0x1d1)](_0x1a0555[_0x15c6e0(0x175)],this['unitID'],this[_0x15c6e0(0x266)],null,[],this['_handler'],_0x34601f);}[_0x3125cd(0x390)](){var _0x2b1057=_0x3125cd;throw new Error(_0x2b1057(0x23c));}['onRemoteRej'](){var _0x1e4831=_0x3125cd;throw new Error(_0x1e4831(0x32a));}[_0x3125cd(0x277)](){return this;}[_0x3125cd(0x320)](){var _0x4803a6=_0x3125cd;return this['_injector'][_0x4803a6(0x1d1)](_0x1a0555[_0x4803a6(0x207)],this[_0x4803a6(0x11c)],this['type'],null,[],this[_0x4803a6(0x276)]);}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){var _0x46f622=_0x3125cd;throw new Error(_0x46f622(0x250));}['fetchMiss'](){var _0x5be1cc=_0x3125cd;const _0x2a0eca=this[_0x5be1cc(0x2a1)][_0x5be1cc(0x244)](this[_0x5be1cc(0x11c)]);return this[_0x5be1cc(0x276)]['onMissingChangesets']({'from':_0x2a0eca,'to':0x0}),this[_0x5be1cc(0x1a2)][_0x5be1cc(0x1d1)](_0x1a0555[_0x5be1cc(0xf6)],this[_0x5be1cc(0x11c)],this[_0x5be1cc(0x266)],null,[],null,[],this[_0x5be1cc(0x276)]);}},_0x1a0555[_0x3125cd(0x30a)]=_0x49a640([_0x49eda2(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0x6,_0x5c9291['ICommandService']),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['SyncedState']),_0x1a0555[_0x3125cd(0x255)]=class extends _0x5463be{constructor(_0x32b5f0,_0x2f0e62,_0x2ad2d6,_0x67023b,_0xc038e4,_0x4d49df,_0x5689d5,_0x24bc8,_0x2be3f3,_0x47f325,_0x4bd976,_0x3aa0ec,_0x4d5270,_0x1ca6be){var _0x3dafac=_0x3125cd;super(_0x32b5f0,_0x2f0e62,null,_0x2ad2d6,_0x67023b,_0x2be3f3,_0x4d5270,_0x4d49df,_0x1ca6be),_0x27328e(this,_0x3dafac(0x262),_0x3dafac(0x45b)),_0x27328e(this,_0x3dafac(0x18c),null),_0x27328e(this,_0x3dafac(0x3a4),null),(this[_0x3dafac(0x1a2)]=_0xc038e4,this['_memberService']=_0x5689d5,this['_logService']=_0x24bc8,this[_0x3dafac(0xdf)]=_0x47f325,this[_0x3dafac(0x1eb)]=_0x4bd976,this[_0x3dafac(0x471)]=_0x3aa0ec);}[_0x3125cd(0x2bd)](_0x2d1243){var _0x4f07c3=_0x3125cd;return this[_0x4f07c3(0x29a)][_0x4f07c3(0x123)](_0x2d1243),this['_updateLocalCache'](),this;}[_0x3125cd(0x2b3)](_0x189533){var _0x223b9b=_0x3125cd;if(this[_0x223b9b(0x278)](_0x189533))return this['_clearScheduledTask'](),this[_0x223b9b(0x1a2)][_0x223b9b(0x1d1)](_0x1a0555['FetchingMissState'],this['unitID'],this[_0x223b9b(0x266)],null,this[_0x223b9b(0x29a)],null,[_0x189533],this[_0x223b9b(0x276)]);try{const _0x381e1d=this[_0x223b9b(0x1eb)][_0x223b9b(0x2cb)](_0x189533,this[_0x223b9b(0x29a)]);if(_0x319b76[_0x223b9b(0x43b)](_0x381e1d)){const {c1Prime:_0x231ec0,m2Prime:_0x3ef24e}=_0x381e1d;this[_0x223b9b(0x144)](_0x231ec0);const _0xc59119=this[_0x223b9b(0x1a2)][_0x223b9b(0x1d1)](_0x1a0555[_0x223b9b(0x255)],this['unitID'],this['type'],_0x3ef24e,this[_0x223b9b(0x276)]);this[_0x223b9b(0x2e7)]();const _0x18025f=new Date()[_0x223b9b(0x473)](),_0x3217d2=this[_0x223b9b(0x18c)]?Math[_0x223b9b(0x3f7)](this['_scheduleCompleteTimestamp']-_0x18025f,0x0):this[_0x223b9b(0x2d7)]();return _0xc59119[_0x223b9b(0x418)](_0x3217d2),_0xc59119;}throw _0x381e1d['error'];}catch(_0x18d5a6){return this[_0x223b9b(0x18a)]['error'](_0x18d5a6),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3125cd(0x284)](){var _0x72bde9=_0x3125cd;throw new Error(_0x72bde9(0x121));}[_0x3125cd(0x277)](){return this;}['toggleOffline'](){var _0x459885=_0x3125cd;return this[_0x459885(0x2e7)](),this[_0x459885(0x1a2)][_0x459885(0x1d1)](_0x1a0555[_0x459885(0x207)],this['unitID'],this[_0x459885(0x266)],null,this[_0x459885(0x29a)],this[_0x459885(0x276)]);}[_0x3125cd(0x34e)](){return this;}['_schedule'](_0x2929b2){var _0x325634=_0x3125cd;const _0x24f9ce=_0x2929b2!=null?_0x2929b2:this[_0x325634(0x2d7)]();this[_0x325634(0x18c)]=new Date()[_0x325634(0x473)]()+_0x24f9ce,this['_sendingTimer']=setTimeout(()=>{var _0x23dbea=_0x325634;this[_0x23dbea(0x2e7)]();let _0x407c04=null;switch(this[_0x23dbea(0x266)]){case _0x5c7530[_0x23dbea(0x350)]:{_0x407c04=_0x3c683a(this['_pendingMutations'],this[_0x23dbea(0x11c)],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this['_memberService']);break;}case _0x5c7530['UNIVER_DOC']:{this[_0x23dbea(0x29a)][_0x23dbea(0x133)](_0x24992a=>_0x24992a['id']===_0x124cb1[_0x23dbea(0x31a)]['id'])?_0x407c04=_0x442418(this[_0x23dbea(0x29a)],this['unitID'],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this[_0x23dbea(0x22c)]):_0x407c04=_0x3c683a(this[_0x23dbea(0x29a)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x471)],this[_0x23dbea(0x2a1)],this[_0x23dbea(0x22c)]);break;}default:throw new Error(_0x23dbea(0x342)+this[_0x23dbea(0x266)]+_0x23dbea(0x235));}const {changeset:_0x478b90,pendingMutations:_0x576a6d}=_0x407c04;this['_handler'][_0x23dbea(0x173)](_0x478b90);const _0x5ad937=_0x576a6d[_0x23dbea(0x367)]?this[_0x23dbea(0x1a2)][_0x23dbea(0x1d1)](_0x1a0555[_0x23dbea(0x41a)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x266)],_0x478b90,_0x576a6d,this[_0x23dbea(0x276)],void 0x0):this[_0x23dbea(0x1a2)]['createInstance'](_0x1a0555[_0x23dbea(0x26e)],this[_0x23dbea(0x11c)],this[_0x23dbea(0x266)],_0x478b90,this[_0x23dbea(0x276)]);_0x5ad937[_0x23dbea(0x46a)](),this[_0x23dbea(0x276)][_0x23dbea(0x217)](this,_0x5ad937);},_0x24f9ce);}['_getSendChangesetTimeout'](){var _0x28e2c5=_0x3125cd,_0x17099f;const _0x39411f=this[_0x28e2c5(0xdf)][_0x28e2c5(0x39a)](_0x1ace84);return(_0x17099f=_0x39411f==null?void 0x0:_0x39411f[_0x28e2c5(0x459)])!=null?_0x17099f:0x7d0;}[_0x3125cd(0x3b0)](){var _0x16c213=_0x3125cd;throw new Error(_0x16c213(0x2f0));}[_0x3125cd(0x2e7)](){var _0x205e74=_0x3125cd;this[_0x205e74(0x3a4)]!=null&&(clearTimeout(this[_0x205e74(0x3a4)]),this[_0x205e74(0x3a4)]=null);}['_onConflict'](_0x4cb90b){var _0x4c5316=_0x3125cd;return this[_0x4c5316(0x2e7)](),this[_0x4c5316(0x1a2)][_0x4c5316(0x1d1)](_0x1a0555[_0x4c5316(0x175)],this[_0x4c5316(0x11c)],this['type'],null,this[_0x4c5316(0x29a)],this[_0x4c5316(0x276)],_0x4cb90b);}},_0x1a0555['PendingState']=_0x49a640([_0x49eda2(0x4,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x6,_0x5c9291['Inject'](_0x1a0555[_0x3125cd(0x469)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x9,_0x5c9291['IConfigService']),_0x49eda2(0xa,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x200)]),_0x49eda2(0xc,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xd,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555[_0x3125cd(0x255)]),_0x1a0555[_0x3125cd(0x26e)]=class extends _0x5463be{constructor(_0x8bbebc,_0x10d0b5,_0x114003,_0x3a5cff,_0x5b408c,_0x101d6c,_0x722af,_0x5a910b,_0x111609,_0x3ddab4,_0x3e1e0a){var _0x35a8e2=_0x3125cd;super(_0x8bbebc,_0x10d0b5,_0x114003,[],_0x3a5cff,_0x722af,_0x3ddab4,_0x101d6c,_0x3e1e0a),_0x27328e(this,'status',_0x35a8e2(0x40e)),_0x27328e(this,_0x35a8e2(0x485),0x0),_0x27328e(this,_0x35a8e2(0x1e8),0x0),_0x27328e(this,_0x35a8e2(0x149)),_0x27328e(this,_0x35a8e2(0xfa)),(this[_0x35a8e2(0x1a2)]=_0x5b408c,this['_logService']=_0x5a910b,this[_0x35a8e2(0x1eb)]=_0x111609);}[_0x3125cd(0x2bd)](_0x130678){var _0x39f9ff=_0x3125cd;this[_0x39f9ff(0x2e7)]();const _0x423ee1=this['_injector'][_0x39f9ff(0x1d1)](_0x1a0555[_0x39f9ff(0x41a)],this['unitID'],this[_0x39f9ff(0x266)],this[_0x39f9ff(0x2f1)],[_0x130678],this[_0x39f9ff(0x276)],this['_resendTimer']);return _0x423ee1[_0x39f9ff(0x46a)](),_0x423ee1;}['onRemoteChangeset'](_0x33b75c){var _0x2ac668=_0x3125cd;if(this['_checkMissing'](_0x33b75c))return this['_clearScheduledTask'](),this[_0x2ac668(0x1a2)][_0x2ac668(0x1d1)](_0x1a0555[_0x2ac668(0xf6)],this[_0x2ac668(0x11c)],this[_0x2ac668(0x266)],this[_0x2ac668(0x2f1)],[],null,[_0x33b75c],this[_0x2ac668(0x276)]);try{const _0x49fcee=this[_0x2ac668(0x1eb)][_0x2ac668(0x2c8)]([_0x33b75c],[this[_0x2ac668(0x2f1)]],!0x1);if(_0x319b76[_0x2ac668(0x44d)](_0x49fcee)){const {c1Prime:_0x1b27f3,c2Prime:_0x557e7f}=_0x49fcee;this['_executeRemoteChangeset'](_0x1b27f3[0x0]),_0x557e7f[0x0][_0x2ac668(0x181)]=this[_0x2ac668(0x233)](),this['_clearScheduledTask']();const _0x5d6bf5=this[_0x2ac668(0x1a2)]['createInstance'](_0x1a0555['AwaitingState'],this[_0x2ac668(0x11c)],this[_0x2ac668(0x266)],_0x557e7f[0x0],this['_handler']);return _0x5d6bf5[_0x2ac668(0x46a)](),_0x5d6bf5;}return this[_0x2ac668(0x1bb)](!0x1);}catch(_0x32d4c0){return this['_logService'][_0x2ac668(0x231)](_0x32d4c0),this[_0x2ac668(0x1bb)](!0x1);}}['onRemoteAck'](_0x5bd09b){var _0x5ce563=_0x3125cd;this['_clearScheduledTask']();const _0x1e5190=this[_0x5ce563(0x2a1)]['getCurrentRevOfUnit'](this[_0x5ce563(0x11c)]);if(_0x5bd09b[_0x5ce563(0x1f6)]<_0x1e5190-0x1)return this;if(this['_checkMissing'](_0x5bd09b))return this[_0x5ce563(0x1a2)][_0x5ce563(0x1d1)](_0x1a0555['FetchingMissState'],this[_0x5ce563(0x11c)],this['type'],null,[],this[_0x5ce563(0x2f1)],[],this[_0x5ce563(0x276)]);this['_incrementRevisionNumber']();const _0x17a0a3=this[_0x5ce563(0x1a2)][_0x5ce563(0x1d1)](_0x1a0555[_0x5ce563(0x30a)],this['unitID'],this[_0x5ce563(0x266)],this[_0x5ce563(0x276)]);return _0x17a0a3[_0x5ce563(0x46a)](),_0x17a0a3;}[_0x3125cd(0x284)](_0x147350){var _0x112679=_0x3125cd;return this['_onConflict'](!!(_0x147350!=null&&_0x147350[_0x112679(0x26c)]));}[_0x3125cd(0x277)](_0x3d8bf3){var _0x5f2761=_0x3125cd;return this[_0x5f2761(0x1e8)]>_0x2aa9af?this['toggleOffline']():(this[_0x5f2761(0x149)]=_0x48f847(this['_resendTimeout'],{'timeout':this[_0x5f2761(0x485)],'reqId':_0x3d8bf3[_0x5f2761(0x338)]}),this[_0x5f2761(0xfa)]=this[_0x5f2761(0x149)][_0x5f2761(0x399)](({reqId:_0x2943b0,timeout:_0xf31877})=>{this['_resendWithTimeout'](_0x2943b0,_0xf31877);}),this);}[_0x3125cd(0x320)](){var _0x4b75e3=_0x3125cd;return this[_0x4b75e3(0x2e7)](),this['_injector']['createInstance'](_0x1a0555[_0x4b75e3(0x207)],this[_0x4b75e3(0x11c)],this['type'],this[_0x4b75e3(0x2f1)],[],this[_0x4b75e3(0x276)]);}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x578b6d){var _0x33a69d=_0x3125cd;return this[_0x33a69d(0x2e7)](),this['_injector']['createInstance'](_0x1a0555[_0x33a69d(0x175)],this['unitID'],this['type'],this[_0x33a69d(0x2f1)],[],this[_0x33a69d(0x276)],_0x578b6d);}[_0x3125cd(0x110)](_0x180034,_0x418080){var _0xd8cdfc=_0x3125cd,_0x27245a;_0x180034===((_0x27245a=this[_0xd8cdfc(0x2f1)])==null?void 0x0:_0x27245a['reqId'])&&(this[_0xd8cdfc(0x3b0)](),this[_0xd8cdfc(0x485)]=_0x418080===0x0?0x3e8:Math['min'](_0x418080*0x2,_0x4f7161),this[_0xd8cdfc(0x1e8)]+=this[_0xd8cdfc(0x485)]);}[_0x3125cd(0x2e7)](){var _0x3b5278=_0x3125cd,_0x4580ae;(_0x4580ae=this[_0x3b5278(0xfa)])==null||_0x4580ae['unsubscribe'](),this[_0x3b5278(0x485)]=0x0,this[_0x3b5278(0x1e8)]=0x0;}},_0x1a0555[_0x3125cd(0x26e)]=_0x49a640([_0x49eda2(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0x8,_0x319b76['ITransformService']),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xa,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555['AwaitingState']),_0x1a0555[_0x3125cd(0x41a)]=class extends _0x5463be{constructor(_0x3a0671,_0x423d10,_0x5d7baa,_0x4cffe4,_0x1359a7,_0x185b43,_0x3bd6db,_0x15f196,_0x3a6f39,_0xf0363f,_0x98fd67,_0x401118,_0x41eb5e){var _0x4926d2=_0x3125cd;super(_0x3a0671,_0x423d10,_0x5d7baa,_0x4cffe4,_0x1359a7,_0x3a6f39,_0x401118,_0x15f196,_0x41eb5e),_0x27328e(this,'status',_0x4926d2(0xf8)),_0x27328e(this,'_resendTimeout',0x0),_0x27328e(this,_0x4926d2(0x1e8),0x0),_0x27328e(this,_0x4926d2(0x149)),_0x27328e(this,_0x4926d2(0xfa)),(this[_0x4926d2(0x1a2)]=_0x3bd6db,this[_0x4926d2(0x18a)]=_0xf0363f,this[_0x4926d2(0x1eb)]=_0x98fd67,this[_0x4926d2(0x20d)]=_0x41eb5e,_0x185b43&&(this['_resendTimer']=_0x185b43,this['_sender']=this[_0x4926d2(0x149)][_0x4926d2(0x399)](({reqId:_0x23d78c,timeout:_0x49d196})=>{var _0x341f2b=_0x4926d2;this[_0x341f2b(0x110)](_0x23d78c,_0x49d196);})));}['appendMutation'](_0x326ddd){var _0x20b6b7=_0x3125cd;return this[_0x20b6b7(0x29a)][_0x20b6b7(0x123)](_0x326ddd),this;}[_0x3125cd(0x2b3)](_0x12db25){var _0x4febc9=_0x3125cd;if(this[_0x4febc9(0x278)](_0x12db25))return this[_0x4febc9(0x2e7)](),this[_0x4febc9(0x1a2)][_0x4febc9(0x1d1)](_0x1a0555[_0x4febc9(0xf6)],this['unitID'],this[_0x4febc9(0x266)],this['_awaitingChangeset'],this[_0x4febc9(0x29a)],null,[_0x12db25],this['_handler']);try{const _0xf666f7=this[_0x4febc9(0x1eb)][_0x4febc9(0x2c8)]([_0x12db25],[this[_0x4febc9(0x2f1)]],!0x1);if(_0x319b76[_0x4febc9(0x44d)](_0xf666f7)){const {c1Prime:_0x3ac68f,c2Prime:_0x44c3e1}=_0xf666f7,_0x79fe2a=this[_0x4febc9(0x1eb)][_0x4febc9(0x2cb)](_0x3ac68f[0x0],this['_pendingMutations']);if(_0x319b76[_0x4febc9(0x43b)](_0x79fe2a)){const {c1Prime:_0x1aa788,m2Prime:_0x341ed8}=_0x79fe2a;return this[_0x4febc9(0x144)](_0x1aa788),_0x44c3e1[0x0][_0x4febc9(0x181)]=this['_getCurrentRevision'](),this[_0x4febc9(0x2e7)](),this[_0x4febc9(0x1a2)][_0x4febc9(0x1d1)](_0x1a0555['AwaitingWithPendingState'],this['unitID'],this[_0x4febc9(0x266)],_0x44c3e1[0x0],_0x341ed8,this[_0x4febc9(0x276)],void 0x0);}throw _0x79fe2a[_0x4febc9(0x231)];}throw _0xf666f7[_0x4febc9(0x231)];}catch(_0x3ea2e0){return this[_0x4febc9(0x18a)][_0x4febc9(0x231)](_0x3ea2e0),this[_0x4febc9(0x1bb)](!0x1);}}['onRemoteAck'](_0xa75097){var _0x4eb7bd=_0x3125cd;if(this['_clearScheduledTask'](),this[_0x4eb7bd(0x278)](_0xa75097))return this[_0x4eb7bd(0x1a2)][_0x4eb7bd(0x1d1)](_0x1a0555[_0x4eb7bd(0xf6)],this['unitID'],this[_0x4eb7bd(0x266)],null,this[_0x4eb7bd(0x29a)],this['_awaitingChangeset'],[],this[_0x4eb7bd(0x276)]);this[_0x4eb7bd(0x448)]();const _0x28fe34=this[_0x4eb7bd(0x1a2)][_0x4eb7bd(0x1d1)](_0x1a0555[_0x4eb7bd(0x255)],this[_0x4eb7bd(0x11c)],this[_0x4eb7bd(0x266)],this[_0x4eb7bd(0x29a)],this[_0x4eb7bd(0x276)]);return _0x28fe34[_0x4eb7bd(0x418)](),_0x28fe34[_0x4eb7bd(0x46a)](),_0x28fe34;}[_0x3125cd(0x284)](_0x3d0226){var _0x18e7d1=_0x3125cd;return this[_0x18e7d1(0x1bb)](!!(_0x3d0226!=null&&_0x3d0226[_0x18e7d1(0x26c)]));}[_0x3125cd(0x277)](_0x2b4db8){var _0x1db727=_0x3125cd;return this[_0x1db727(0x1e8)]>_0x2aa9af?this[_0x1db727(0x320)]():(this[_0x1db727(0x149)]=_0x48f847(this['_resendTimeout'],{'timeout':this[_0x1db727(0x485)],'reqId':_0x2b4db8[_0x1db727(0x338)]}),this[_0x1db727(0xfa)]=this[_0x1db727(0x149)][_0x1db727(0x399)](({reqId:_0x4a6ed4,timeout:_0x264aee})=>{var _0x25a2cf=_0x1db727;this[_0x25a2cf(0x110)](_0x4a6ed4,_0x264aee);}),this);}['toggleOffline'](){var _0x8bc13d=_0x3125cd;return this[_0x8bc13d(0x2e7)](),this[_0x8bc13d(0x1a2)][_0x8bc13d(0x1d1)](_0x1a0555[_0x8bc13d(0x207)],this[_0x8bc13d(0x11c)],this[_0x8bc13d(0x266)],this[_0x8bc13d(0x2f1)],this[_0x8bc13d(0x29a)],this[_0x8bc13d(0x276)]);}['toggleOnline'](){return this;}[_0x3125cd(0x3b0)](){var _0x49bb29=_0x3125cd;this['_handler']['onSendChangeset'](this[_0x49bb29(0x2f1)]);}['_onConflict'](_0x4a7478){var _0x35c796=_0x3125cd;return this[_0x35c796(0x2e7)](),this[_0x35c796(0x1a2)][_0x35c796(0x1d1)](_0x1a0555[_0x35c796(0x175)],this['unitID'],this['type'],null,this[_0x35c796(0x29a)],this[_0x35c796(0x276)],_0x4a7478);}[_0x3125cd(0x110)](_0x5d560e,_0x433f98){var _0x5329d8=_0x3125cd,_0x356521;_0x5d560e===((_0x356521=this['_awaitingChangeset'])==null?void 0x0:_0x356521['reqId'])&&(this['resend'](),this[_0x5329d8(0x485)]=_0x433f98===0x0?0x3e8:Math[_0x5329d8(0x3d7)](_0x433f98*0x2,_0x4f7161),this[_0x5329d8(0x1e8)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x548553=_0x3125cd,_0x510e47;(_0x510e47=this[_0x548553(0xfa)])==null||_0x510e47[_0x548553(0x205)](),this[_0x548553(0x485)]=0x0,this[_0x548553(0x1e8)]=0x0;}},_0x1a0555[_0x3125cd(0x41a)]=_0x49a640([_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0xa,_0x319b76['ITransformService']),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xc,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555['AwaitingWithPendingState']),_0x1a0555[_0x3125cd(0x175)]=class extends _0x5463be{constructor(_0x4d77ff,_0x3514e4,_0x5b638d,_0x324cbc,_0x4b8b18,_0x17bc3c=!0x1,_0x2937ce,_0x544787,_0x3ba46b,_0x52c95e,_0x3a6ac8,_0xbf59f5,_0x5c38af){var _0x170a30=_0x3125cd;super(_0x4d77ff,_0x3514e4,_0x5b638d,_0x324cbc,_0x4b8b18,_0x544787,_0x3ba46b,_0x52c95e,_0x5c38af),_0x27328e(this,'status','conflict'),(this[_0x170a30(0x289)]=_0x17bc3c,this[_0x170a30(0x416)]=_0x2937ce,this['_localeService']=_0x3a6ac8,this[_0x170a30(0xef)]=_0xbf59f5,this[_0x170a30(0x20d)]=_0x5c38af,this[_0x170a30(0x1e0)](),this[_0x170a30(0x31b)](),this['_disableEditing']());}[_0x3125cd(0x2bd)](){return this;}[_0x3125cd(0x2b3)](){return this;}[_0x3125cd(0x390)](){return this;}[_0x3125cd(0x284)](){return this;}['onRemoteRetry'](){return this;}[_0x3125cd(0x320)](){return this;}[_0x3125cd(0x34e)](){return this;}[_0x3125cd(0x3b0)](){var _0x4fd3cf=_0x3125cd;throw new Error(_0x4fd3cf(0x1f2));}[_0x3125cd(0x31b)](){var _0x32635f=_0x3125cd,_0xa6f4f7;(_0xa6f4f7=this[_0x32635f(0x219)])==null||_0xa6f4f7[_0x32635f(0x340)](this[_0x32635f(0x11c)],this[_0x32635f(0x266)],null,[]);}['_showConflictNotification'](){var _0x2e98a6=_0x3125cd;this[_0x2e98a6(0x289)]?this['_collaborationUIEventService'][_0x2e98a6(0x179)]({'id':_0x19b9e8[_0x2e98a6(0x2e4)]}):this[_0x2e98a6(0xef)][_0x2e98a6(0x179)]({'id':_0x19b9e8[_0x2e98a6(0x19a)]});}[_0x3125cd(0x15d)](){var _0x1147d5=_0x3125cd;this[_0x1147d5(0x416)][_0x1147d5(0x127)](new _0x22532b[(_0x1147d5(0x19c))](this[_0x1147d5(0x11c)])['id'],!0x1);}},_0x1a0555[_0x3125cd(0x175)]=_0x49a640([_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x1da)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x8,_0x5c9291['IUndoRedoService']),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0xa,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x3f9)])),_0x49eda2(0xb,_0x5c9291['Inject'](_0x5cf853)),_0x49eda2(0xc,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['ConflictState']),_0x1a0555[_0x3125cd(0x207)]=class extends _0x5463be{constructor(_0x5e58ec,_0x72cad1,_0x766890,_0xd39344,_0x47d09d,_0x17b063,_0x30f57a,_0x2acc64,_0x3e5af3,_0x25f942){var _0x120b58=_0x3125cd;super(_0x5e58ec,_0x72cad1,_0x766890,_0xd39344,_0x47d09d,_0x2acc64,_0x3e5af3,_0x30f57a,_0x25f942),_0x27328e(this,_0x120b58(0x262),'offline'),this['_injector']=_0x17b063;}[_0x3125cd(0x2bd)](_0x1eed53){var _0x3c950b=_0x3125cd;return this[_0x3c950b(0x29a)][_0x3c950b(0x123)](_0x1eed53),this['_updateLocalCache'](),this;}[_0x3125cd(0x2b3)](_0x52b65b){var _0x295bbc=_0x3125cd;throw new Error(_0x295bbc(0x3ae));}[_0x3125cd(0x390)](){var _0x1ecd60=_0x3125cd;throw new Error(_0x1ecd60(0x415));}[_0x3125cd(0x284)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3125cd(0x277)](){return this;}[_0x3125cd(0x320)](){return this;}[_0x3125cd(0x34e)](){var _0x45b321=_0x3125cd;const {_injector:_0x56fa1d,_pendingMutations:_0x5ddbc0,_awaitingChangeset:_0x44f256,unitID:_0x2ad974,_handler:_0x15211f,type:_0x30f3d7}=this,_0x3d335f=_0xbbe362(_0x56fa1d,_0x2ad974,_0x30f3d7,_0x44f256,_0x5ddbc0,_0x15211f);return _0x3d335f instanceof _0x1a0555['PendingState']?_0x3d335f[_0x45b321(0x418)]():(_0x3d335f instanceof _0x1a0555[_0x45b321(0x41a)]||_0x3d335f instanceof _0x1a0555['AwaitingState'])&&_0x3d335f[_0x45b321(0x3b0)](),_0x3d335f;}[_0x3125cd(0x3b0)](){var _0x226123=_0x3125cd;throw new Error(_0x226123(0x442));}},_0x1a0555[_0x3125cd(0x207)]=_0x49a640([_0x49eda2(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x49eda2(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x357)]),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555['OfflineState']),_0x1a0555['FetchingMissState']=class extends _0x5463be{constructor(_0x200965,_0x420b73,_0x23fb8c,_0x9c86a6,_0x1b0a7b,_0x1e8aa3,_0x411a7f,_0x229ee4,_0x56b84f,_0x36509f,_0x1eb381,_0x4654cf,_0x124153,_0x1759aa){var _0xb31b90=_0x3125cd;super(_0x200965,_0x420b73,_0x23fb8c,_0x9c86a6,_0x411a7f,_0x1eb381,_0x4654cf,_0x56b84f,_0x1759aa),_0x27328e(this,_0xb31b90(0x262),_0xb31b90(0x404)),(this[_0xb31b90(0x177)]=_0x1b0a7b,this['_queuedRemoteChangesets']=_0x1e8aa3,this[_0xb31b90(0x1a2)]=_0x229ee4,this[_0xb31b90(0x18a)]=_0x36509f,this[_0xb31b90(0x1eb)]=_0x124153,this[_0xb31b90(0x20d)]=_0x1759aa);}[_0x3125cd(0x33e)](_0x339cb7){var _0x2f250e=_0x3125cd;try{const _0x3b5c63=[..._0x339cb7,...this[_0x2f250e(0x3e4)]],_0x4bf869=[this['_awaitingChangeset']||this[_0x2f250e(0x177)]]['filter'](_0x24a192=>!!_0x24a192);let _0x4fcf32,_0x3a327c;if(_0x4bf869[_0x2f250e(0x367)]){const _0xd11149=this[_0x2f250e(0x1eb)][_0x2f250e(0x2c8)](_0x3b5c63,_0x4bf869,!0x1);if(!_0x319b76[_0x2f250e(0x44d)](_0xd11149))throw _0xd11149[_0x2f250e(0x231)];_0x4fcf32=_0xd11149['c1Prime'],_0x3a327c=_0xd11149[_0x2f250e(0x325)];}else _0x4fcf32=_0x3b5c63,_0x3a327c=[];let _0x2bb479=this[_0x2f250e(0x29a)];_0x4fcf32[_0x2f250e(0x322)](_0x2266a0=>{var _0x36dca4=_0x2f250e;let _0x349a7c;if(_0x2bb479['length']){const _0x44e53d=this[_0x36dca4(0x1eb)][_0x36dca4(0x2cb)](_0x2266a0,_0x2bb479);if(!_0x319b76[_0x36dca4(0x43b)](_0x44e53d))throw _0x44e53d[_0x36dca4(0x231)];_0x349a7c=_0x44e53d[_0x36dca4(0x1c4)],_0x2bb479=_0x44e53d['m2Prime'];}else _0x349a7c=_0x2266a0;this[_0x36dca4(0x144)](_0x349a7c);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2f250e(0x448)](),this[_0x2f250e(0x2f1)]&&_0x3a327c['length']&&(_0x3a327c[0x0][_0x2f250e(0x181)]=this['_getCurrentRevision']());let _0x183463;if(this[_0x2f250e(0x2f1)]&&_0x2bb479[_0x2f250e(0x367)]!==0x0)_0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x41a)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],_0x3a327c[0x0],_0x2bb479,this[_0x2f250e(0x276)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2bb479[_0x2f250e(0x367)]===0x0)_0x3a327c[0x0][_0x2f250e(0x181)]=this['_getCurrentRevision'](),_0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x26e)],this['unitID'],this['type'],_0x3a327c[0x0],this[_0x2f250e(0x276)]);else{if(_0x2bb479[_0x2f250e(0x367)]!==0x0){const _0x48df64=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x255)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],_0x2bb479,this[_0x2f250e(0x276)]);_0x48df64['_schedule'](),_0x183463=_0x48df64;}else _0x183463=this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555[_0x2f250e(0x30a)],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],this['_handler']);}}return _0x183463[_0x2f250e(0x46a)](),_0x183463;}catch(_0x4d1754){return this['_logService'][_0x2f250e(0x231)](_0x2f250e(0x316),_0x2f250e(0x2a7),_0x4d1754),this[_0x2f250e(0x1a2)][_0x2f250e(0x1d1)](_0x1a0555['ConflictState'],this[_0x2f250e(0x11c)],this[_0x2f250e(0x266)],this[_0x2f250e(0x2f1)],this[_0x2f250e(0x29a)],this[_0x2f250e(0x276)],!0x1);}}[_0x3125cd(0x3b0)](){var _0x31b965=_0x3125cd;throw new Error(_0x31b965(0x211));}[_0x3125cd(0x2bd)](_0x76c76f){var _0x485772=_0x3125cd;return this['_pendingMutations'][_0x485772(0x123)](_0x76c76f),this;}[_0x3125cd(0x2b3)](_0x3a3858){var _0xeb74cc=_0x3125cd;return this[_0xeb74cc(0x3e4)][_0xeb74cc(0x123)](_0x3a3858),this;}[_0x3125cd(0x390)](_0xc0018e){var _0x5e064f=_0x3125cd;if(this[_0x5e064f(0x2f1)])return this[_0x5e064f(0x177)]=this[_0x5e064f(0x2f1)],this['_awaitingChangeset']=null,this;throw new Error(_0x5e064f(0x1b0));}[_0x3125cd(0x284)](_0x28f9e2){var _0x47ddcc=_0x3125cd;return this['_onConflict'](!!(_0x28f9e2!=null&&_0x28f9e2[_0x47ddcc(0x26c)]));}[_0x3125cd(0x277)](){return this;}['toggleOffline'](){var _0x4a319a=_0x3125cd;return this['_injector'][_0x4a319a(0x1d1)](_0x1a0555['OfflineState'],this[_0x4a319a(0x11c)],this[_0x4a319a(0x266)],this[_0x4a319a(0x2f1)],this['_pendingMutations'],this['_handler']);}[_0x3125cd(0x34e)](){return this;}['_onConflict'](_0x30365d){var _0x43755f=_0x3125cd;return this['_injector'][_0x43755f(0x1d1)](_0x1a0555[_0x43755f(0x175)],this[_0x43755f(0x11c)],this[_0x43755f(0x266)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x43755f(0x276)],_0x30365d);}},_0x1a0555['FetchingMissState']=_0x49a640([_0x49eda2(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0x49eda2(0x8,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x49eda2(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x49eda2(0xa,_0x5c9291['ICommandService']),_0x49eda2(0xb,_0x5c9291[_0x3125cd(0x467)]),_0x49eda2(0xc,_0x319b76[_0x3125cd(0x332)]),_0x49eda2(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0xf6)]);function _0xbbe362(_0x80d05d,_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x4c98eb,_0x15fe4b){var _0x427126=_0x3125cd;return _0xdf6267&&_0x4c98eb['length']?_0x80d05d[_0x427126(0x1d1)](_0x1a0555['AwaitingWithPendingState'],_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x4c98eb,_0x15fe4b,void 0x0):_0xdf6267?_0x80d05d['createInstance'](_0x1a0555[_0x427126(0x26e)],_0xdfa2b5,_0x3e9ab9,_0xdf6267,_0x15fe4b):_0x4c98eb['length']?_0x80d05d['createInstance'](_0x1a0555[_0x427126(0x255)],_0xdfa2b5,_0x3e9ab9,_0x4c98eb,_0x15fe4b):_0x80d05d[_0x427126(0x1d1)](_0x1a0555[_0x427126(0x30a)],_0xdfa2b5,_0x3e9ab9,_0x15fe4b);}var _0x46a5f6=Object[_0x3125cd(0x143)],_0x3cc6b3=(_0x5aa491,_0x2474b2,_0x161d7d,_0x154a6c)=>{var _0x5030a6=_0x3125cd;for(var _0x553f21=_0x154a6c>0x1?void 0x0:_0x154a6c?_0x46a5f6(_0x2474b2,_0x161d7d):_0x2474b2,_0x51ad9e=_0x5aa491[_0x5030a6(0x367)]-0x1,_0x42649c;_0x51ad9e>=0x0;_0x51ad9e--)(_0x42649c=_0x5aa491[_0x51ad9e])&&(_0x553f21=_0x42649c(_0x553f21)||_0x553f21);return _0x553f21;},_0x3ef79f=(_0x49bf37,_0x56ddb8)=>(_0x4ec851,_0x59ae8f)=>_0x56ddb8(_0x4ec851,_0x59ae8f,_0x49bf37);_0x1a0555[_0x3125cd(0x2b8)]=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x579e29,_0x4564f4,_0x1a466c,_0x28a1c8,_0x5b92e8,_0x491a41,_0x5c1d9e,_0x5ec62f,_0xc7ef07,_0x1c8083,_0x18eae6,_0x185881,_0x397839,_0x30d441){var _0x49fc3c=_0x3125cd;super(),_0x27328e(this,_0x49fc3c(0x265),new _0x41392c['BehaviorSubject'](null)),_0x27328e(this,_0x49fc3c(0x126),this[_0x49fc3c(0x265)][_0x49fc3c(0x241)]()),_0x27328e(this,_0x49fc3c(0x1c1)),_0x27328e(this,'_collaborationPaused',!0x1),_0x27328e(this,_0x49fc3c(0x355),''),_0x27328e(this,_0x49fc3c(0x2ce),0x0),_0x27328e(this,_0x49fc3c(0xee),this['state$'][_0x49fc3c(0x34f)](_0x41392c['map'](_0x2009af=>_0x2009af?_0x2009af[_0x49fc3c(0x262)]:_0x2c3058['OFFLINE']),_0x41392c[_0x49fc3c(0x39f)](0x1))),_0x27328e(this,'_transitionLocked',!0x1),_0x27328e(this,_0x49fc3c(0x1ca),[]),(this[_0x49fc3c(0x11c)]=_0x579e29,this[_0x49fc3c(0x2cc)]=_0x4564f4,this[_0x49fc3c(0x1ad)]=_0x1a466c,this[_0x49fc3c(0x1a2)]=_0x28a1c8,this[_0x49fc3c(0x13a)]=_0x5b92e8,this[_0x49fc3c(0x47c)]=_0x491a41,this[_0x49fc3c(0x2a1)]=_0x5c1d9e,this['_eventService']=_0x5ec62f,this[_0x49fc3c(0x471)]=_0xc7ef07,this[_0x49fc3c(0x18a)]=_0x1c8083,this[_0x49fc3c(0x479)]=_0x18eae6,this[_0x49fc3c(0x416)]=_0x185881,this[_0x49fc3c(0x169)]=_0x397839,this[_0x49fc3c(0x219)]=_0x30d441);}get[_0x3125cd(0x14a)](){var _0x325756=_0x3125cd;return this[_0x325756(0x1c1)];}async[_0x3125cd(0xd6)](){var _0x56ecb0=_0x3125cd;if(this[_0x56ecb0(0x14a)])throw new Error(_0x56ecb0(0x37d));await this[_0x56ecb0(0x141)]();}[_0x3125cd(0x23d)](){var _0x2ad687=_0x3125cd;return this[_0x2ad687(0x47e)]=!0x0,_0x5c9291[_0x2ad687(0x46c)](()=>{var _0x25c33c=_0x2ad687;this['_collaborationPaused']=!0x1,this[_0x25c33c(0x12b)]();});}[_0x3125cd(0x45d)](_0x161f90){var _0x5ebd35=_0x3125cd;this[_0x5ebd35(0x1ed)](_0x161f90);}[_0x3125cd(0x393)](_0x54fe7b){var _0x109205=_0x3125cd;this['_state']=_0x54fe7b,this[_0x109205(0x265)]['next'](_0x54fe7b);}async[_0x3125cd(0x141)](){var _0x1dc599=_0x3125cd,_0x32d219;this[_0x1dc599(0x393)](await this[_0x1dc599(0x23a)]()),this[_0x1dc599(0x169)]&&((_0x32d219=this[_0x1dc599(0x169)])==null||_0x32d219['editingUnit'](this['unitID']),this[_0x1dc599(0xf3)](this['_singleActiveUnitService'][_0x1dc599(0x2b5)](this['unitID'])[_0x1dc599(0x399)](_0x25313a=>{var _0x2a24ab=_0x1dc599;this[_0x2a24ab(0x18a)][_0x2a24ab(0x20c)](_0x2a24ab(0x3ef),_0x2a24ab(0x2fc),_0x25313a),_0x25313a===_0x29e528['OTHER_CLIENTS_EDITING']?(this[_0x2a24ab(0x271)][_0x2a24ab(0x179)]({'id':_0x19b9e8[_0x2a24ab(0x40a)]}),this[_0x2a24ab(0x416)][_0x2a24ab(0x127)](new _0x22532b[(_0x2a24ab(0x19c))](this[_0x2a24ab(0x11c)])['id'],!0x1),this[_0x2a24ab(0x416)][_0x2a24ab(0x47b)](!0x1)):(this[_0x2a24ab(0x416)][_0x2a24ab(0x127)](new _0x22532b[(_0x2a24ab(0x19c))](this[_0x2a24ab(0x11c)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x13fca2=!0x1;return this[_0x1dc599(0xf3)](this[_0x1dc599(0x2cc)]['sessionStatus$']['subscribe'](_0x3a4512=>{var _0xa47e4f=_0x1dc599;_0x3a4512===_0x8660ba['ONLINE']?this[_0xa47e4f(0x2a0)](_0x13fca2):_0x3a4512===_0x8660ba[_0xa47e4f(0x2c5)]&&(_0x13fca2=!0x0,this[_0xa47e4f(0x3f0)]());})),this[_0x1dc599(0xf3)](this['session']['event$'][_0x1dc599(0x399)](_0x4b339d=>{var _0x481e25=_0x1dc599;try{switch(_0x4b339d[_0x481e25(0x2ff)]){case _0x319b76[_0x481e25(0xff)][_0x481e25(0x34b)]:{this[_0x481e25(0x1a1)](_0x319b76[_0x481e25(0xe9)](_0x4b339d[_0x481e25(0x438)]));break;}case _0x319b76[_0x481e25(0xff)]['CHANGESET_ACK']:{this[_0x481e25(0x2bf)](_0x4b339d['data']);break;}case _0x319b76[_0x481e25(0xff)][_0x481e25(0x3ca)]:{this[_0x481e25(0x2b0)]();break;}case _0x319b76[_0x481e25(0xff)][_0x481e25(0x1c6)]:{this['_onRemoteRetry'](_0x4b339d[_0x481e25(0x438)]);break;}case _0x319b76['CollaborationEvent'][_0x481e25(0x293)]:{this[_0x481e25(0x3d6)](_0x4b339d[_0x481e25(0x438)][_0x481e25(0x2ec)][_0x481e25(0x434)](_0x3a8337=>_0x319b76[_0x481e25(0xe9)](_0x3a8337)));break;}case _0x319b76[_0x481e25(0xff)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x319b76['CollaborationEvent'][_0x481e25(0x12a)]:break;}}catch(_0x3840dc){throw console[_0x481e25(0x231)]('Error\x20on\x20receiving\x20event',_0x3840dc),_0x3840dc;}})),this[_0x1dc599(0x1c1)];}['_unlockTransition'](){var _0x9f06d4=_0x3125cd;this[_0x9f06d4(0x3c5)]=!0x1;}['_lockTransition'](){var _0x3b04b0=_0x3125cd;if(this['_transitionLocked'])throw new Error(_0x3b04b0(0x1af));this[_0x3b04b0(0x3c5)]=!0x0;}[_0x3125cd(0x1ed)](_0x222a35){var _0x252cd1=_0x3125cd;this['_lockTransition'](),this[_0x252cd1(0x393)](this[_0x252cd1(0x1c1)][_0x252cd1(0x2bd)](_0x222a35)),this[_0x252cd1(0x27d)]();}[_0x3125cd(0x1a1)](_0x2f92f3){var _0x16e25f=_0x3125cd;if(!(_0x2f92f3[_0x16e25f(0x1f6)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x16e25f(0x11c)]))){if(this['_collaborationPaused']){this[_0x16e25f(0x1ca)][_0x16e25f(0x123)](_0x2f92f3);return;}this[_0x16e25f(0x2a9)](_0x2f92f3);}}[_0x3125cd(0x12b)](){var _0x14b0d0=_0x3125cd;this[_0x14b0d0(0x1ca)]['forEach'](_0x46b388=>this['_applyRemoteChangeset'](_0x46b388)),this[_0x14b0d0(0x1ca)]=[];}[_0x3125cd(0x2a9)](_0x50b87e){var _0x309911=_0x3125cd;const _0x1e3195=this['_compressMutationService'][_0x309911(0x2c1)][_0x309911(0x10d)](this['_compressMutationService'][_0x309911(0x2c1)][_0x309911(0x2c2)]()[_0x309911(0x362)])(_0x50b87e[_0x309911(0x457)],null)||_0x50b87e['mutations'],_0x3a23ce={..._0x50b87e,'mutations':_0x1e3195};this[_0x309911(0x204)](),this[_0x309911(0x393)](this[_0x309911(0x1c1)][_0x309911(0x2b3)](_0x3a23ce)),this['_unlockTransition']();}['_onRemoteACK'](_0x8825c3){var _0x49700f=_0x3125cd;this[_0x49700f(0x204)](),this[_0x49700f(0x393)](this['_state'][_0x49700f(0x390)](_0x8825c3)),this[_0x49700f(0x27d)]();}[_0x3125cd(0x2b0)](_0x483db5){var _0x2ea18f=_0x3125cd;this[_0x2ea18f(0x204)](),this['_updateState'](this['_state'][_0x2ea18f(0x284)](_0x483db5)),this[_0x2ea18f(0x27d)]();}['_onRemoteRetry'](_0xeb5207){var _0x3ce105=_0x3125cd;this[_0x3ce105(0x204)](),this['_updateState'](this[_0x3ce105(0x1c1)]['onRemoteRetry'](_0xeb5207)),this[_0x3ce105(0x27d)]();}[_0x3125cd(0x3d6)](_0x43845d){var _0x3535a5=_0x3125cd;if(!(this[_0x3535a5(0x1c1)]instanceof _0x1a0555[_0x3535a5(0xf6)]))throw new TypeError(_0x3535a5(0x39d));const _0x28c9ed=_0x43845d[_0x3535a5(0x434)](_0x5310c6=>{var _0x2d8eaa=_0x3535a5;const _0x9c93ff=this[_0x2d8eaa(0x13a)][_0x2d8eaa(0x2c1)][_0x2d8eaa(0x10d)](this['_compressMutationService'][_0x2d8eaa(0x2c1)]['getInterceptPoints']()[_0x2d8eaa(0x362)])(_0x5310c6[_0x2d8eaa(0x457)],null)||_0x5310c6[_0x2d8eaa(0x457)];return{..._0x5310c6,'mutations':_0x9c93ff};});this['_lockTransition'](),this[_0x3535a5(0x393)](this[_0x3535a5(0x1c1)]['onMissedChangesetFetched'](_0x28c9ed)),this[_0x3535a5(0x27d)]();}[_0x3125cd(0x3f0)](){var _0x1fdcc2=_0x3125cd;this['_lockTransition'](),this[_0x1fdcc2(0x393)](this[_0x1fdcc2(0x1c1)][_0x1fdcc2(0x320)]()),this[_0x1fdcc2(0x27d)]();}['_toggleOnline'](_0x1cb2bc=!0x1){var _0x2bb073=_0x3125cd;this[_0x2bb073(0x204)](),this[_0x2bb073(0x393)](this['_state'][_0x2bb073(0x34e)]()),this[_0x2bb073(0x27d)]();const _0x1e319f=this[_0x2bb073(0x1c1)];_0x1cb2bc&&_0x1e319f instanceof _0x1a0555[_0x2bb073(0x30a)]&&(this[_0x2bb073(0x204)](),this[_0x2bb073(0x393)](_0x1e319f['fetchMiss']()),this[_0x2bb073(0x27d)]());}async[_0x3125cd(0x23a)](){return new Promise(_0x5d8d58=>{var _0x53b021=_0x29a5;this[_0x53b021(0x2cc)]['sessionStatus$'][_0x53b021(0x34f)](_0x41392c[_0x53b021(0x370)](0x1))[_0x53b021(0x399)](async _0x3529d6=>{var _0x1943f5=_0x53b021;_0x5d8d58(await this[_0x1943f5(0x167)](_0x3529d6===_0x8660ba[_0x1943f5(0x28d)]));});});}[_0x3125cd(0x2ed)](){var _0x58212e=_0x3125cd;const _0x170dda=this[_0x58212e(0x11c)];return{'onStateChange':(_0x43aa3b,_0x3a2815)=>{var _0x23be5d=_0x58212e;if(_0x43aa3b!==this['_state'])throw new Error(_0x23be5d(0x3af)+_0x43aa3b[_0x23be5d(0x262)]+_0x23be5d(0xea)+_0x3a2815['status']+_0x23be5d(0x3d2)+this[_0x23be5d(0x1c1)][_0x23be5d(0x262)]);this[_0x23be5d(0x393)](_0x3a2815);},'onSendChangeset':_0x1f4147=>{var _0x2f0638=_0x58212e;_0x1f4147['sid']||(_0x1f4147[_0x2f0638(0x2fa)]=this[_0x2f0638(0x355)],_0x1f4147[_0x2f0638(0x338)]=++this[_0x2f0638(0x2ce)]);const _0x33f81f={'eventID':_0x319b76[_0x2f0638(0xff)][_0x2f0638(0x139)],'data':{'unitID':_0x1f4147['unitID'],'unitType':this[_0x2f0638(0x1ad)],'changeset':_0x1f4147,'memberID':this[_0x2f0638(0x2cc)][_0x2f0638(0x22b)]()}};this[_0x2f0638(0x2cc)][_0x2f0638(0x105)](_0x33f81f,this[_0x2f0638(0x11c)]);},'onMissingChangesets':({from:_0x33064e,to:_0x295a17})=>{var _0x370855=_0x58212e;this['_logService']['debug']('[CollaborationEntity]',_0x370855(0x474)+_0x33064e+_0x370855(0x198)+_0x295a17);const _0x58a053={'eventID':_0x319b76[_0x370855(0xff)][_0x370855(0x41e)],'data':{'unitID':_0x170dda,'unitType':this[_0x370855(0x1ad)],'from':_0x33064e,'to':_0x295a17}};this[_0x370855(0x2cc)][_0x370855(0x105)](_0x58a053,this[_0x370855(0x11c)]);}};}async[_0x3125cd(0x167)](_0xdcf0ef){var _0xb2437a=_0x3125cd,_0x415e58,_0x242b6b,_0x5ebef4;const _0x47a819=await((_0x415e58=this[_0xb2437a(0x219)])==null?void 0x0:_0x415e58[_0xb2437a(0x20b)](this[_0xb2437a(0x11c)])),_0x302a88=(_0x242b6b=_0x47a819==null?void 0x0:_0x47a819[_0xb2437a(0x457)])!=null?_0x242b6b:[],_0x5d65c6=(_0x5ebef4=_0x47a819==null?void 0x0:_0x47a819[_0xb2437a(0x2e3)])!=null?_0x5ebef4:null,_0x2f8820=!!(_0x5d65c6!=null&&_0x5d65c6[_0xb2437a(0x2fa)])&&!!(_0x5d65c6!=null&&_0x5d65c6['reqId']);this[_0xb2437a(0x355)]=_0x2f8820?_0x5d65c6['sid']:_0x319b76[_0xb2437a(0x331)](),this[_0xb2437a(0x2ce)]=_0x2f8820?_0x5d65c6[_0xb2437a(0x338)]:0x0;const _0x4d3a62=this[_0xb2437a(0x11c)];try{this[_0xb2437a(0x1b2)](_0x5d65c6,_0x302a88);}catch(_0x3bc236){this[_0xb2437a(0x18a)]['error'](_0x3bc236);}const _0x40b1c4=this['_createHandler']();if(_0xdcf0ef){const _0x13d89f=_0xbbe362(this['_injector'],_0x4d3a62,this[_0xb2437a(0x1ad)],_0x5d65c6,_0x302a88,_0x40b1c4);return _0x13d89f instanceof _0x1a0555[_0xb2437a(0x255)]?_0x13d89f[_0xb2437a(0x418)]():(_0x13d89f instanceof _0x1a0555[_0xb2437a(0x41a)]||_0x13d89f instanceof _0x1a0555[_0xb2437a(0x26e)])&&_0x13d89f['resend'](),_0x13d89f;}return this['_injector']['createInstance'](_0x1a0555[_0xb2437a(0x207)],_0x4d3a62,this[_0xb2437a(0x1ad)],_0x5d65c6,_0x302a88,_0x40b1c4);}[_0x3125cd(0x1b2)](_0x2a12e9,_0x29cc51){var _0x1614de=_0x3125cd,_0x589491,_0x45fa7e;const _0x5d41c8=this['_compressMutationService'][_0x1614de(0x2c1)][_0x1614de(0x10d)](this[_0x1614de(0x13a)][_0x1614de(0x2c1)][_0x1614de(0x2c2)]()[_0x1614de(0x362)]);(_0x589491=_0x5d41c8((_0x2a12e9==null?void 0x0:_0x2a12e9['mutations'])||[],null))==null||_0x589491[_0x1614de(0x322)](_0x122804=>this['_commandService'][_0x1614de(0x1cb)](_0x122804['id'],_0x122804[_0x1614de(0x197)])),(_0x45fa7e=_0x5d41c8(_0x29cc51||[],null))==null||_0x45fa7e[_0x1614de(0x322)](_0x53527d=>this[_0x1614de(0x479)][_0x1614de(0x1cb)](_0x53527d['id'],_0x53527d['params']));}},_0x1a0555['CollaborationEntity']=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x131)])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['LocaleService'])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x3ef79f(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853)),_0x3ef79f(0x8,_0x5c9291[_0x3125cd(0x200)]),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xa,_0x5c9291[_0x3125cd(0x357)]),_0x3ef79f(0xb,_0x5c9291['IPermissionService']),_0x3ef79f(0xc,_0x5c9291[_0x3125cd(0x3d8)](_0x2753d1)),_0x3ef79f(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x2b8)]),_0x1a0555[_0x3125cd(0x2b6)]=class extends _0x1a0555[_0x3125cd(0x2b8)]{constructor(_0x3b21a2,_0x4be079,_0x397348,_0x1be244,_0x39cc5a,_0x386b34,_0x424b44,_0xce5199,_0x427626,_0x353638,_0x54f4df,_0x3957a7,_0x47eda3,_0x522fe9){var _0x58770a=_0x3125cd;super(_0x3b21a2,_0x397348,_0x4be079,_0x1be244,_0x39cc5a,_0x386b34,_0x424b44,_0xce5199,_0x427626,_0x353638,_0x54f4df,_0x3957a7,_0x47eda3,_0x522fe9),_0x27328e(this,_0x58770a(0x458),null),(this['unitID']=_0x3b21a2,this[_0x58770a(0x266)]=_0x4be079);}[_0x3125cd(0x309)](_0x144934){this['_handlerCallback']=_0x144934;}[_0x3125cd(0x456)](){var _0x13980f=_0x3125cd;this[_0x13980f(0x458)]=null,super[_0x13980f(0x456)]();}['_createHandler'](){var _0x1bd94e=_0x3125cd;const _0x5f4371=super[_0x1bd94e(0x2ed)]();return _0x5f4371['onTransformIME']=_0x393962=>{var _0x432700=_0x1bd94e,_0x16c8d7,_0x48c49e;return(_0x48c49e=(_0x16c8d7=this['_handlerCallback'])==null?void 0x0:_0x16c8d7[_0x432700(0x26a)])==null?void 0x0:_0x48c49e[_0x432700(0x1d4)](_0x16c8d7,_0x393962);},_0x5f4371['onTransformState']=_0x158ef5=>{var _0x3868b7=_0x1bd94e,_0x2a80de,_0x562eaa;return(_0x562eaa=(_0x2a80de=this['_handlerCallback'])==null?void 0x0:_0x2a80de[_0x3868b7(0x461)])==null?void 0x0:_0x562eaa[_0x3868b7(0x1d4)](_0x2a80de,_0x158ef5);},_0x5f4371[_0x1bd94e(0x389)]=_0x201096=>{var _0x55d45b=_0x1bd94e,_0x2115b1,_0x534f92;return(_0x534f92=(_0x2115b1=this[_0x55d45b(0x458)])==null?void 0x0:_0x2115b1[_0x55d45b(0x389)])==null?void 0x0:_0x534f92[_0x55d45b(0x1d4)](_0x2115b1,_0x201096);},_0x5f4371['onSyncEditingCollabCursor']=_0xe35655=>{var _0x42004e=_0x1bd94e,_0x3d0f31,_0x4e086b;return(_0x4e086b=(_0x3d0f31=this['_handlerCallback'])==null?void 0x0:_0x3d0f31[_0x42004e(0x18e)])==null?void 0x0:_0x4e086b[_0x42004e(0x1d4)](_0x3d0f31,_0xe35655);},_0x5f4371[_0x1bd94e(0x29c)]=_0x446738=>{var _0x4b0471=_0x1bd94e,_0x52ba59,_0x59b089,_0x4d2687;if(!((_0x52ba59=this['_handlerCallback'])!=null&&_0x52ba59['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4b0471(0x465));return(_0x4d2687=(_0x59b089=this[_0x4b0471(0x458)])==null?void 0x0:_0x59b089[_0x4b0471(0x29c)])==null?void 0x0:_0x4d2687[_0x4b0471(0x1d4)](_0x59b089,_0x446738);},_0x5f4371[_0x1bd94e(0x2b1)]=_0x18cd4e=>{var _0x5c35ec=_0x1bd94e,_0x17d4f1,_0x491d11,_0x1b3b92;if(!((_0x17d4f1=this[_0x5c35ec(0x458)])!=null&&_0x17d4f1[_0x5c35ec(0x2b1)]))throw new Error(_0x5c35ec(0x3eb));return(_0x1b3b92=(_0x491d11=this[_0x5c35ec(0x458)])==null?void 0x0:_0x491d11['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1b3b92['call'](_0x491d11,_0x18cd4e);},_0x5f4371;}async['_init'](){var _0x47a746=_0x3125cd;const _0x320089=await super[_0x47a746(0x141)]();return this[_0x47a746(0xf3)](this[_0x47a746(0x479)][_0x47a746(0x42d)]((_0xe19a3,_0x549462)=>{var _0x5cd5f0=_0x47a746;if(_0xe19a3['type']!==_0x5c9291[_0x5cd5f0(0xd2)]['MUTATION']||_0x549462!=null&&_0x549462['fromCollab']||_0x549462!=null&&_0x549462[_0x5cd5f0(0x192)]||_0xe19a3['id']===_0x124cb1[_0x5cd5f0(0x31a)]['id'])return;const _0x8c18ec=_0xe19a3[_0x5cd5f0(0x197)];if((_0x8c18ec==null?void 0x0:_0x8c18ec[_0x5cd5f0(0xf0)])!==this[_0x5cd5f0(0x11c)])return;const _0x7ba556=_0xe19a3,_0x155642=this[_0x5cd5f0(0x13a)]['interceptor'][_0x5cd5f0(0x10d)](this[_0x5cd5f0(0x13a)][_0x5cd5f0(0x2c1)]['getInterceptPoints']()[_0x5cd5f0(0x46f)])([_0x7ba556],this[_0x5cd5f0(0x471)])||[_0x7ba556];this[_0x5cd5f0(0x1ed)](_0x155642[0x0]);})),_0x320089;}},_0x1a0555['DocCollaborationEntity']=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291['Inject'](_0x319b76[_0x3125cd(0x131)])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x3f9)])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['RevisionService'])),_0x3ef79f(0x7,_0x5c9291['Inject'](_0x5cf853)),_0x3ef79f(0x8,_0x5c9291['IUniverInstanceService']),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xa,_0x5c9291['ICommandService']),_0x3ef79f(0xb,_0x5c9291[_0x3125cd(0x1da)]),_0x3ef79f(0xc,_0x5c9291['Optional'](_0x2753d1)),_0x3ef79f(0xd,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x2b6)]),_0x1a0555[_0x3125cd(0x11b)]=class extends _0x1a0555[_0x3125cd(0x2b8)]{constructor(_0x3b197a,_0x504a11,_0x581831,_0x4d11a2,_0x56cd3f,_0x2ccfd9,_0x5307b0,_0x4da5f6,_0xd60f37,_0x821e19,_0x7bb3e8,_0x5d9feb,_0x208eda,_0x1c56f8,_0x3125c5){var _0x479483=_0x3125cd;super(_0x3b197a,_0x581831,_0x504a11,_0x4d11a2,_0x56cd3f,_0x2ccfd9,_0x5307b0,_0xd60f37,_0x821e19,_0x7bb3e8,_0x5d9feb,_0x208eda,_0x1c56f8,_0x3125c5),this['unitID']=_0x3b197a,this['type']=_0x504a11,this[_0x479483(0x445)]=_0x4da5f6;}[_0x3125cd(0x2ed)](){var _0x30c91e=_0x3125cd;const _0x2605ef=super[_0x30c91e(0x2ed)]();return _0x2605ef[_0x30c91e(0x389)]=_0x125e91=>this[_0x30c91e(0x445)]['transformSelections'](_0x125e91),_0x2605ef;}async[_0x3125cd(0x141)](){var _0x242f20=_0x3125cd;const _0x421c7e=await super[_0x242f20(0x141)]();return this[_0x242f20(0xf3)](this[_0x242f20(0x479)][_0x242f20(0x42d)]((_0x2b2dc9,_0x316f79)=>{var _0x2d946b=_0x242f20;if(_0x2b2dc9['type']!==_0x5c9291[_0x2d946b(0xd2)]['MUTATION']||_0x316f79!=null&&_0x316f79[_0x2d946b(0x10a)]||_0x316f79!=null&&_0x316f79['onlyLocal'])return;const _0x77e355=_0x2b2dc9['params'];if((_0x77e355==null?void 0x0:_0x77e355[_0x2d946b(0xf0)])!==this[_0x2d946b(0x11c)])return;const _0x41de7d=_0x2b2dc9,_0x5aebe9=this[_0x2d946b(0x13a)]['interceptor']['fetchThroughInterceptors'](this[_0x2d946b(0x13a)][_0x2d946b(0x2c1)]['getInterceptPoints']()[_0x2d946b(0x46f)])([_0x41de7d],this[_0x2d946b(0x471)])||[_0x41de7d];this[_0x2d946b(0x1ed)](_0x5aebe9[0x0]);})),_0x421c7e;}},_0x1a0555[_0x3125cd(0x11b)]=_0x3cc6b3([_0x3ef79f(0x3,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x3ef79f(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x319b76['CompressMutationService'])),_0x3ef79f(0x5,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['LocaleService'])),_0x3ef79f(0x6,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x171)])),_0x3ef79f(0x7,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555[_0x3125cd(0x2d0)])),_0x3ef79f(0x8,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853)),_0x3ef79f(0x9,_0x5c9291[_0x3125cd(0x200)]),_0x3ef79f(0xa,_0x5c9291[_0x3125cd(0x109)]),_0x3ef79f(0xb,_0x5c9291[_0x3125cd(0x357)]),_0x3ef79f(0xc,_0x5c9291[_0x3125cd(0x1da)]),_0x3ef79f(0xd,_0x5c9291['Optional'](_0x2753d1)),_0x3ef79f(0xe,_0x5c9291[_0x3125cd(0x3d8)](_0x1d3985))],_0x1a0555[_0x3125cd(0x11b)]);const _0x5ec6c3=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x3e6));function _0x3801fe(_0x5b35ca){var _0x5aa848=_0x3125cd,_0x3e8459,_0x27d0bd,_0x4a5c3a,_0x5f1265,_0x1766ff;const _0x326ca7=_0x5b35ca[_0x5aa848(0x438)],_0x387169=JSON[_0x5aa848(0x345)](_0x326ca7);switch(_0x387169[_0x5aa848(0x42f)]){case _0x16f444[_0x5aa848(0x30f)]:case _0x16f444['HELLO']:{const _0x5e5d52=_0x387169[_0x5aa848(0x299)];return{..._0x387169,'data':_0x5e5d52,'cmd':_0x387169['cmd']};}case _0x16f444[_0x5aa848(0x462)]:{const _0x51d4c0=_0x387169['joinRsp'];return{..._0x387169,'data':_0x51d4c0,'cmd':_0x387169[_0x5aa848(0x42f)]};}case _0x16f444['RECV']:{const _0x8c36ff=_0x387169[_0x5aa848(0x19d)];switch(_0x8c36ff[_0x5aa848(0x2ff)]){case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x318)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x3e8459=_0x8c36ff[_0x5aa848(0x154)])==null?void 0x0:_0x3e8459['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x21b)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x27d0bd=_0x8c36ff[_0x5aa848(0x466)])==null?void 0x0:_0x27d0bd['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x34b)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x4a5c3a=_0x8c36ff[_0x5aa848(0x430)])==null?void 0x0:_0x4a5c3a['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x3ca)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x5f1265=_0x8c36ff[_0x5aa848(0x130)])==null?void 0x0:_0x5f1265['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x1c6)]:return{..._0x387169,'data':{..._0x8c36ff,'data':(_0x1766ff=_0x8c36ff['csShouldRetryEvent'])==null?void 0x0:_0x1766ff['cs']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x2af)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x1e2)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x180)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3fe)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x2ee)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['leaveEvent']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x297)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3b3)]},'cmd':_0x387169['cmd']};case _0x319b76['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x333)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x341)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x3a0)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x3b3)]},'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x165)]:return{..._0x387169,'data':_0x8c36ff,'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)][_0x5aa848(0x185)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['commentUpdateEvent']},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76['CollaborationEvent'][_0x5aa848(0x1c5)]:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x42e)]},'cmd':_0x387169[_0x5aa848(0x42f)]};case _0x319b76[_0x5aa848(0xff)]['SHOULD_CLOSE_CONN']:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff['shouldCloseConn']},'cmd':_0x387169['cmd']};case _0x319b76[_0x5aa848(0xff)]['UNISCRIPT_RUN']:return{..._0x387169,'data':{..._0x8c36ff,'data':_0x8c36ff[_0x5aa848(0x1e1)]},'cmd':_0x387169[_0x5aa848(0x42f)]};default:return _0x387169;}}default:return _0x387169;}}function _0x574f0b(_0x47f5a2){var _0x502d91=_0x3125cd;switch(_0x47f5a2[_0x502d91(0x42f)]){case _0x16f444[_0x502d91(0x30f)]:case _0x16f444[_0x502d91(0x1ef)]:return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey']});case _0x16f444[_0x502d91(0x1e6)]:{let _0x2f8871;switch(_0x47f5a2[_0x502d91(0x438)]['eventID']){case _0x319b76['CollaborationEvent'][_0x502d91(0x2af)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x2af)],'updateCursorEvent':_0x47f5a2['data']['data']};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x2ee)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x2ee)],'leaveEvent':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x180)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)]['USERS_ENTER'],'joinEvent':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x297)]:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)]['LIVESHARE_OPERATION']:{_0x2f8871={'eventID':_0x319b76[_0x502d91(0xff)][_0x502d91(0x333)],'liveShareOperation':_0x47f5a2['data'][_0x502d91(0x438)]};break;}case _0x319b76['CollaborationEvent'][_0x502d91(0x3a0)]:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x3a0)],'liveShareTerminate':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)][_0x502d91(0x24f)]:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x24f)],'liveShareRequestHost':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x438)]};break;}case _0x319b76[_0x502d91(0xff)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2f8871={'eventID':_0x319b76['CollaborationEvent'][_0x502d91(0x377)]};break;}default:_0x2f8871={'eventID':_0x47f5a2[_0x502d91(0x438)][_0x502d91(0x2ff)]};}return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey'],'collaMsg':_0x2f8871});}case _0x16f444['JOIN']:return JSON[_0x502d91(0x1b5)]({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2[_0x502d91(0x2fb)],'joinReq':_0x47f5a2[_0x502d91(0x438)]});case _0x16f444['LEAVE']:return JSON['stringify']({'cmd':_0x47f5a2[_0x502d91(0x42f)],'routeKey':_0x47f5a2['routeKey'],'leaveReq':_0x47f5a2[_0x502d91(0x438)]});default:throw new Error(_0x502d91(0x3d0));}}var _0x3b281e=Object[_0x3125cd(0x143)],_0x2c7a27=(_0x10f593,_0x1092e4,_0x5a1c7a,_0x53325b)=>{var _0x1c59d3=_0x3125cd;for(var _0x3fb831=_0x53325b>0x1?void 0x0:_0x53325b?_0x3b281e(_0x1092e4,_0x5a1c7a):_0x1092e4,_0xc2411d=_0x10f593[_0x1c59d3(0x367)]-0x1,_0x450c88;_0xc2411d>=0x0;_0xc2411d--)(_0x450c88=_0x10f593[_0xc2411d])&&(_0x3fb831=_0x450c88(_0x3fb831)||_0x3fb831);return _0x3fb831;},_0x429d22=(_0x44a5dc,_0x560055)=>(_0x4119c3,_0x57a4e6)=>_0x560055(_0x4119c3,_0x57a4e6,_0x44a5dc);const _0x2c7f4e=_0x5c9291[_0x3125cd(0x1bc)](_0x3125cd(0x264));function _0x45f1b3(_0x869021,_0xccd8cb,_0x4d5bd2){var _0x34f4fc=_0x3125cd;return _0x869021+'/'+_0xccd8cb+'/unit/'+_0x4d5bd2+_0x34f4fc(0x37e);}_0x1a0555[_0x3125cd(0x375)]=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x1adb56,_0x1d8bda,_0x4bc20d,_0x335a86,_0x41beb7){var _0x3df8d3=_0x3125cd;super(),this[_0x3df8d3(0x1a2)]=_0x1adb56,this[_0x3df8d3(0x35b)]=_0x1d8bda,this[_0x3df8d3(0xdf)]=_0x4bc20d,this[_0x3df8d3(0x18a)]=_0x335a86,this['_snapshotServerService']=_0x41beb7;}['_doCreateSocket'](_0x120d6){var _0x2e19dc=_0x3125cd;const _0x43f3c1=this[_0x2e19dc(0x1a2)][_0x2e19dc(0x108)](_0x381bb4[_0x2e19dc(0x206)]);if(!_0x43f3c1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x30dcac=_0x43f3c1[_0x2e19dc(0x30c)](_0x120d6);if(!_0x30dcac)throw new Error(_0x2e19dc(0x281));const _0x496b74=new _0x5c9291[(_0x2e19dc(0x1bd))](),_0xae8a18=new _0x41392c[(_0x2e19dc(0x225))]();_0x496b74[_0x2e19dc(0x2a6)](_0x30dcac[_0x2e19dc(0x223)][_0x2e19dc(0x399)](_0xa729be=>_0xae8a18[_0x2e19dc(0x1b9)](_0xa729be))),_0x496b74['add'](_0x5c9291[_0x2e19dc(0x46c)](()=>_0xae8a18[_0x2e19dc(0x12e)]()));const _0x412bab=new _0x41392c[(_0x2e19dc(0x225))]();_0x496b74['add'](_0x30dcac['error$'][_0x2e19dc(0x399)](_0x30a4a2=>_0x412bab[_0x2e19dc(0x1b9)](_0x30a4a2))),_0x496b74[_0x2e19dc(0x2a6)](_0x5c9291[_0x2e19dc(0x46c)](()=>_0x412bab['complete']()));const _0x125688=new _0x41392c['Subject']();_0x496b74['add'](_0x30dcac[_0x2e19dc(0xe0)][_0x2e19dc(0x399)](_0x4af26a=>{const _0x309a6a=_0x3801fe(_0x4af26a);_0x125688['next'](_0x309a6a);})),_0x496b74[_0x2e19dc(0x2a6)](_0x5c9291[_0x2e19dc(0x46c)](()=>_0x125688[_0x2e19dc(0x12e)]()));let _0xc575c1;const _0x4188fc=()=>{var _0x3ec158=_0x2e19dc;_0x412bab[_0x3ec158(0x1b9)](new Event('connection\x20error')),_0xae8a18[_0x3ec158(0x1b9)](new Event(_0x3ec158(0x116))),_0xc575c1[_0x3ec158(0x44a)]();};return _0xc575c1={'memberID':'','close$':_0xae8a18['asObservable'](),'error$':_0x412bab[_0x2e19dc(0x241)](),'open$':_0x30dcac[_0x2e19dc(0x32b)],'message$':_0x125688[_0x2e19dc(0x241)](),'send':_0x233c5e=>{var _0x1c7ad8=_0x2e19dc;if(_0x233c5e[_0x1c7ad8(0x42f)]===_0x16f444[_0x1c7ad8(0x1e6)]){if(_0x233c5e[_0x1c7ad8(0x438)]['eventID']===_0x319b76['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xc575c1,_0x233c5e[_0x1c7ad8(0x438)])['catch'](_0x497dc2=>{var _0x23c01e=_0x1c7ad8;this[_0x23c01e(0x18a)][_0x23c01e(0x231)](_0x497dc2),_0x4188fc();});return;}if(_0x233c5e[_0x1c7ad8(0x438)]['eventID']===_0x319b76[_0x1c7ad8(0xff)][_0x1c7ad8(0x41e)]){const _0x2539df=_0x233c5e[_0x1c7ad8(0x438)];this['_fetchMissChangesets'](_0x2539df)['then'](_0x31a80e=>{var _0x426f05=_0x1c7ad8;_0x125688[_0x426f05(0x1b9)]({'cmd':_0x16f444['RECV'],'code':_0xbe2cfc['OK'],'routeKey':_0x2539df['data'][_0x426f05(0x11c)],'routeType':'','data':{'eventID':_0x319b76[_0x426f05(0xff)][_0x426f05(0x293)],'data':{'changesets':_0x31a80e}}});})['catch'](_0x366f63=>{var _0x7ddd2=_0x1c7ad8;this[_0x7ddd2(0x18a)]['error'](_0x366f63),_0x4188fc();});return;}}_0x30dcac[_0x1c7ad8(0x105)](_0x574f0b(_0x233c5e));},'close':()=>{_0x30dcac['close'](),_0x496b74['dispose']();}},_0xc575c1;}async['_submitChangeset'](_0x3063cf,_0x1ea0b3){var _0x15dcaa=_0x3125cd,_0x5c02f3;const {unitType:_0x5e3a74,unitID:_0x122394,changeset:_0x3cff61}=_0x1ea0b3[_0x15dcaa(0x438)],_0x12175a={'unitID':_0x122394,'memberID':_0x3063cf['memberID'],'type':_0x5e3a74,'changeset':_0x319b76[_0x15dcaa(0x22a)](_0x3cff61)},_0x180ba7=this[_0x15dcaa(0xdf)][_0x15dcaa(0x39a)](_0x1ace84),_0x2f92a3=_0x45f1b3((_0x5c02f3=_0x180ba7==null?void 0x0:_0x180ba7[_0x15dcaa(0x3b1)])!=null?_0x5c02f3:_0x504654,_0x5e3a74,_0x122394);try{await this[_0x15dcaa(0x35b)]['post'](_0x2f92a3,{'body':_0x12175a});}catch(_0x59d91e){throw this[_0x15dcaa(0x18a)]['error'](_0x15dcaa(0x29d),'submit\x20changeset\x20error!'),_0x59d91e;}}async[_0x3125cd(0x3ee)](_0x113c36){var _0x321c84=_0x3125cd;const {unitID:_0x2692cc,from:_0x3467e6,to:_0x56935c,unitType:_0x43c916}=_0x113c36[_0x321c84(0x438)];return(await this[_0x321c84(0x3e9)][_0x321c84(0x359)]({'metadata':void 0x0},{'unitID':_0x2692cc,'type':_0x43c916,'from':_0x3467e6,'to':_0x56935c}))[_0x321c84(0x2ec)][_0x321c84(0x434)](_0x205c3b=>((_0x205c3b[_0x321c84(0x457)]===null||_0x205c3b['mutations']===void 0x0)&&(_0x205c3b[_0x321c84(0x457)]=[]),_0x205c3b));}},_0x1a0555['CollaborationSocketService']=_0x2c7a27([_0x429d22(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x429d22(0x1,_0x5c9291['Inject'](_0x381bb4['HTTPService'])),_0x429d22(0x2,_0x5c9291['IConfigService']),_0x429d22(0x3,_0x5c9291[_0x3125cd(0x109)]),_0x429d22(0x4,_0x319b76[_0x3125cd(0x3c7)])],_0x1a0555[_0x3125cd(0x375)]);var _0x280919=Object[_0x3125cd(0x143)],_0x297134=(_0x1e5d30,_0x4dbb7c,_0x12e738,_0x4e9672)=>{var _0x4a2d6f=_0x3125cd;for(var _0x3fa46d=_0x4e9672>0x1?void 0x0:_0x4e9672?_0x280919(_0x4dbb7c,_0x12e738):_0x4dbb7c,_0x53ab1b=_0x1e5d30[_0x4a2d6f(0x367)]-0x1,_0x5b639a;_0x53ab1b>=0x0;_0x53ab1b--)(_0x5b639a=_0x1e5d30[_0x53ab1b])&&(_0x3fa46d=_0x5b639a(_0x3fa46d)||_0x3fa46d);return _0x3fa46d;},_0xa94f87=(_0x1601b4,_0x2ec1c5)=>(_0x1decff,_0xc16c22)=>_0x2ec1c5(_0x1decff,_0xc16c22,_0x1601b4);_0x1a0555['CollaborationSessionService']=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x541703,_0x4eabb1,_0x5f1a99,_0x4a2153,_0x55276d,_0x35f4e7){var _0x2b26b8=_0x3125cd;super(),_0x27328e(this,_0x2b26b8(0x24d),new _0x41392c[(_0x2b26b8(0x35c))](void 0x0)),_0x27328e(this,'socket$',this[_0x2b26b8(0x24d)][_0x2b26b8(0x241)]()),_0x27328e(this,'_candidateSocket',null),_0x27328e(this,_0x2b26b8(0x14c),new Map()),_0x27328e(this,_0x2b26b8(0x100),new _0x41392c[(_0x2b26b8(0x35c))](_0x8660ba[_0x2b26b8(0x232)])),_0x27328e(this,_0x2b26b8(0xee),this[_0x2b26b8(0x100)][_0x2b26b8(0x241)]()),_0x27328e(this,_0x2b26b8(0x37f),!0x1),_0x27328e(this,_0x2b26b8(0x30d)),_0x27328e(this,_0x2b26b8(0x182),0x0),_0x27328e(this,'_sendHeartbeatTimer'),_0x27328e(this,'_timeoutTimer'),(this[_0x2b26b8(0x1a2)]=_0x541703,this['_logService']=_0x4eabb1,this[_0x2b26b8(0xdf)]=_0x5f1a99,this[_0x2b26b8(0x37c)]=_0x4a2153,this['_collaborationUIEventService']=_0x55276d,this['_networkConditionService']=_0x35f4e7,this[_0x2b26b8(0x147)]());}get[_0x3125cd(0x15a)](){var _0xb9bef6=_0x3125cd;return this[_0xb9bef6(0x24d)]['getValue']();}[_0x3125cd(0x147)](){var _0x3036f9=_0x3125cd;this[_0x3036f9(0x199)]&&this[_0x3036f9(0xf3)](this[_0x3036f9(0x199)][_0x3036f9(0x387)]['subscribe'](_0x37d432=>{var _0xfbd5d3=_0x3036f9;_0x37d432&&!this[_0xfbd5d3(0x15a)]&&this[_0xfbd5d3(0xf5)](),_0x37d432||this['_onOffline']();}));}[_0x3125cd(0x456)](){var _0xfe6579=_0x3125cd;super[_0xfe6579(0x456)](),this[_0xfe6579(0x436)](),this[_0xfe6579(0x451)](),this[_0xfe6579(0x437)](),this[_0xfe6579(0x14c)][_0xfe6579(0x322)](_0x471525=>_0x471525[_0xfe6579(0x456)]()),this[_0xfe6579(0x14c)][_0xfe6579(0x3c4)](),this[_0xfe6579(0x100)][_0xfe6579(0x12e)]();}async['requireSession'](_0x53adb8){var _0x18deaa=_0x3125cd;if(this[_0x18deaa(0x14c)]['has'](_0x53adb8))return this[_0x18deaa(0x14c)]['get'](_0x53adb8);this['_tryEnsureSocket']();const _0x5b1426=this[_0x18deaa(0x1a2)]['createInstance'](_0x1a0555[_0x18deaa(0x314)],_0x53adb8,this[_0x18deaa(0x24d)][_0x18deaa(0x241)]());return this[_0x18deaa(0x14c)][_0x18deaa(0x300)](_0x53adb8,_0x5b1426),_0x5b1426;}[_0x3125cd(0x33a)](_0x2b5dfe){var _0x3481f6=_0x3125cd,_0x398b24;const _0x55720b=this[_0x3481f6(0x14c)][_0x3481f6(0x108)](_0x2b5dfe);_0x55720b&&(this[_0x3481f6(0x14c)][_0x3481f6(0x2c3)](_0x2b5dfe),_0x55720b[_0x3481f6(0x44a)]()),this[_0x3481f6(0x14c)][_0x3481f6(0x18b)]||(_0x398b24=this[_0x3481f6(0x15a)])==null||_0x398b24[_0x3481f6(0x44a)]();}[_0x3125cd(0xf5)](){var _0x325c54=_0x3125cd;this[_0x325c54(0x182)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x3125cd(0x436)](){var _0x1c88e0=_0x3125cd;this[_0x1c88e0(0x30d)]!=null&&(clearTimeout(this[_0x1c88e0(0x30d)]),this[_0x1c88e0(0x30d)]=null);}async['_createSocket'](){var _0x2ce6d0=_0x3125cd,_0x3ae738;const _0x56bd86=this[_0x2ce6d0(0xdf)][_0x2ce6d0(0x39a)](_0x1ace84),_0x503f99=(_0x3ae738=_0x56bd86==null?void 0x0:_0x56bd86[_0x2ce6d0(0x487)])!=null?_0x3ae738:_0x5e9de5,_0x55394e=await this[_0x2ce6d0(0x37c)][_0x2ce6d0(0x30c)](_0x503f99);return this['_candidateSocket']=_0x55394e,_0x55394e;}async[_0x3125cd(0x138)](){var _0x1a1411=_0x3125cd,_0x4cf1b0,_0x2f9faa;try{const _0x30365e=(_0x2f9faa=(_0x4cf1b0=this[_0x1a1411(0x15a)])!=null?_0x4cf1b0:this[_0x1a1411(0x39c)])!=null?_0x2f9faa:await this[_0x1a1411(0x274)]();if(_0x30365e){const _0x41cb60=_0x30365e['send'];_0x30365e[_0x1a1411(0x105)]=_0x34f1b5=>(this[_0x1a1411(0x1d0)](),_0x41cb60[_0x1a1411(0x17d)](_0x30365e,[_0x34f1b5])),_0x30365e[_0x1a1411(0xe0)][_0x1a1411(0x399)](_0x36dfb3=>this[_0x1a1411(0x40d)](_0x30365e,_0x36dfb3)),_0x30365e[_0x1a1411(0x295)][_0x1a1411(0x34f)](_0x3ecfb0['take'](0x1))['subscribe'](_0x66b8f3=>this[_0x1a1411(0x18a)]['error'](_0x1a1411(0x380),_0x66b8f3)),_0x30365e[_0x1a1411(0x32b)][_0x1a1411(0x34f)](_0x3ecfb0[_0x1a1411(0x370)](0x1))[_0x1a1411(0x399)](()=>{var _0x516625=_0x1a1411;this[_0x516625(0x19e)](_0x30365e);}),_0x30365e[_0x1a1411(0x223)][_0x1a1411(0x34f)](_0x3ecfb0[_0x1a1411(0x370)](0x1))[_0x1a1411(0x399)](_0x91f8ca=>{var _0x495dca=_0x1a1411;this[_0x495dca(0x18a)][_0x495dca(0x20c)](_0x495dca(0x24b),_0x495dca(0xe6),_0x91f8ca),this[_0x495dca(0x248)]();});}}catch(_0x3d0174){this[_0x1a1411(0x18a)][_0x1a1411(0x231)](_0x3d0174),this[_0x1a1411(0x248)]();}}[_0x3125cd(0x19e)](_0x32d6a0){var _0x374b6f=_0x3125cd;this['_logService'][_0x374b6f(0x20c)]('[CollaborationSessionService]',_0x374b6f(0x22f)),_0x32d6a0[_0x374b6f(0x105)]({'cmd':_0x16f444['HELLO']}),this[_0x374b6f(0x1d0)]();}[_0x3125cd(0x16a)](){var _0x2b8118=_0x3125cd;this['_socketReady']=!0x1,this[_0x2b8118(0x39c)]=null,this['_status$'][_0x2b8118(0x1b9)](_0x8660ba[_0x2b8118(0x2c5)]),this[_0x2b8118(0x24d)][_0x2b8118(0x1b9)](null),this[_0x2b8118(0x451)](),this[_0x2b8118(0x437)]();}[_0x3125cd(0x248)](){var _0x510b6a=_0x3125cd,_0x786e6c;this[_0x510b6a(0x16a)](),this[_0x510b6a(0x182)]<((_0x786e6c=this[_0x510b6a(0xdf)][_0x510b6a(0x39a)](_0x45c332))!=null?_0x786e6c:0x3)?(this[_0x510b6a(0xef)][_0x510b6a(0x179)]({'id':_0x19b9e8[_0x510b6a(0x3a3)]}),this[_0x510b6a(0x150)]()):this[_0x510b6a(0xef)][_0x510b6a(0x179)]({'id':_0x19b9e8[_0x510b6a(0x183)]});}[_0x3125cd(0x150)](){var _0x28b90c=_0x3125cd,_0x4521d6;const _0x3a68a9=this[_0x28b90c(0x182)],_0x154565=this[_0x28b90c(0xdf)][_0x28b90c(0x39a)](_0x1ace84),_0x19e337=_0x3a68a9===0x0?0x0:((_0x4521d6=_0x154565==null?void 0x0:_0x154565[_0x28b90c(0x191)])!=null?_0x4521d6:0x4e20)*0x2**_0x3a68a9;this[_0x28b90c(0x30d)]=setTimeout(()=>{var _0x24f12a=_0x28b90c;clearTimeout(this[_0x24f12a(0x30d)]),this[_0x24f12a(0x30d)]=null,this[_0x24f12a(0x138)]();},_0x19e337),this[_0x28b90c(0x182)]+=0x1;}[_0x3125cd(0x40d)](_0x834651,_0x330f4d){var _0x18042c=_0x3125cd;const {cmd:_0xf5a064}=_0x330f4d;_0xf5a064===_0x16f444[_0x18042c(0x1ef)]&&!this[_0x18042c(0x37f)]&&(_0x834651['memberID']=_0x330f4d[_0x18042c(0x438)][_0x18042c(0x2be)],this['_socket$'][_0x18042c(0x1b9)](_0x834651),this[_0x18042c(0x100)]['next'](_0x8660ba['ONLINE']),this['_socketReady']=!0x0,this[_0x18042c(0x39c)]=null),_0xf5a064===_0x16f444[_0x18042c(0x30f)]&&this[_0x18042c(0x451)](),this[_0x18042c(0x1d0)]();}[_0x3125cd(0x1d0)](){var _0x27b142=_0x3125cd,_0xde30d9;this[_0x27b142(0x437)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x27b142(0x3e1)](),(_0xde30d9=this[_0x27b142(0xdf)][_0x27b142(0x39a)](_0x551f79))!=null?_0xde30d9:0x7530);}[_0x3125cd(0x3e1)](){var _0xed014c=_0x3125cd;this[_0xed014c(0x15a)][_0xed014c(0x105)]({'cmd':_0x16f444[_0xed014c(0x30f)]}),this[_0xed014c(0x46b)]();}[_0x3125cd(0x46b)](){var _0x1c0a83=_0x3125cd,_0x263255;this[_0x1c0a83(0x16c)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x263255=this[_0x1c0a83(0xdf)][_0x1c0a83(0x39a)](_0x493c73))!=null?_0x263255:0x4e20);}[_0x3125cd(0x437)](){var _0x1d9c38=_0x3125cd;this[_0x1d9c38(0x394)]!=null&&(clearTimeout(this[_0x1d9c38(0x394)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x16a8ed=_0x3125cd;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x16a8ed(0x16c)]),this[_0x16a8ed(0x16c)]=null);}},_0x1a0555[_0x3125cd(0x114)]=_0x297134([_0xa94f87(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291['Injector'])),_0xa94f87(0x1,_0x5c9291[_0x3125cd(0x109)]),_0xa94f87(0x2,_0x5c9291['IConfigService']),_0xa94f87(0x3,_0x2c7f4e),_0xa94f87(0x4,_0x5c9291['Inject'](_0x5cf853)),_0xa94f87(0x5,_0x5c9291[_0x3125cd(0x3d8)](_0x5ec6c3))],_0x1a0555[_0x3125cd(0x114)]);var _0x3b1060=Object['getOwnPropertyDescriptor'],_0x1b9500=(_0x3145f5,_0x43d58a,_0x31743c,_0x745ff3)=>{for(var _0x762c72=_0x745ff3>0x1?void 0x0:_0x745ff3?_0x3b1060(_0x43d58a,_0x31743c):_0x43d58a,_0x5236ee=_0x3145f5['length']-0x1,_0x138252;_0x5236ee>=0x0;_0x5236ee--)(_0x138252=_0x3145f5[_0x5236ee])&&(_0x762c72=_0x138252(_0x762c72)||_0x762c72);return _0x762c72;},_0x56beeb=(_0x395b42,_0x597cec)=>(_0x2ab98f,_0x362da9)=>_0x597cec(_0x2ab98f,_0x362da9,_0x395b42);_0x1a0555['CollaborationController']=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x52423e,_0x4c39a5,_0x195eba,_0x30b710){var _0x1d8b1f=_0x3125cd,_0x2e2527;super(),_0x27328e(this,_0x1d8b1f(0x396),new Map()),_0x27328e(this,_0x1d8b1f(0x145),new _0x41392c[(_0x1d8b1f(0x225))]()),_0x27328e(this,_0x1d8b1f(0x29f),this[_0x1d8b1f(0x145)][_0x1d8b1f(0x241)]()),(this['_injector']=_0x52423e,this[_0x1d8b1f(0x335)]=_0x4c39a5,this[_0x1d8b1f(0xdf)]=_0x195eba,this['_univerInstanceService']=_0x30b710,((_0x2e2527=this['_configService'][_0x1d8b1f(0x39a)](_0x1ace84))==null?void 0x0:_0x2e2527[_0x1d8b1f(0x17c)])!==!0x1&&this[_0x1d8b1f(0x141)]());}['dispose'](){var _0x25b00e=_0x3125cd;super[_0x25b00e(0x456)](),this[_0x25b00e(0x396)][_0x25b00e(0x322)](_0x19ba60=>_0x19ba60['dispose']()),this[_0x25b00e(0x396)][_0x25b00e(0x3c4)]();}[_0x3125cd(0x46e)](_0x448857){var _0xd0da07=_0x3125cd,_0x1bd494;return(_0x1bd494=this[_0xd0da07(0x396)][_0xd0da07(0x108)](_0x448857))!=null?_0x1bd494:null;}[_0x3125cd(0x449)](_0x4c6c3a){var _0x3861d1=_0x3125cd;const _0x53d36d=this['getCollabEntity'](_0x4c6c3a);return _0x53d36d?_0x41392c['of'](_0x53d36d):this[_0x3861d1(0x145)][_0x3861d1(0x34f)](_0x3ecfb0['filter'](_0x933125=>_0x933125[_0x3861d1(0x11c)]===_0x4c6c3a));}['readyForCollab'](_0x2027fc){var _0x55d1bf=_0x3125cd;return _0x41392c[_0x55d1bf(0x3a9)](this[_0x55d1bf(0x449)](_0x2027fc)[_0x55d1bf(0x34f)](_0x3ecfb0[_0x55d1bf(0x434)](()=>{})));}[_0x3125cd(0x141)](){var _0x5a9ff0=_0x3125cd;this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1db)](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x350)])[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]),_0x3ecfb0[_0x5a9ff0(0x230)](0x10))['subscribe'](async _0x4a357d=>{var _0x16dc69=_0x5a9ff0;const _0x181c75=_0x4a357d[_0x16dc69(0x388)](),_0x458fb8=await this['_startCollaboration'](_0x181c75,_0x5c7530['UNIVER_SHEET']);this[_0x16dc69(0x396)][_0x16dc69(0x300)](_0x181c75,_0x458fb8);}),this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1db)](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x484)])[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]),_0x3ecfb0[_0x5a9ff0(0x230)](0x10))[_0x5a9ff0(0x34f)](_0x3ecfb0[_0x5a9ff0(0x125)](_0x2488d8=>!_0x2488d8[_0x5a9ff0(0x388)]()[_0x5a9ff0(0x3fc)]('__')))[_0x5a9ff0(0x399)](async _0x4bf48e=>{var _0x312a25=_0x5a9ff0;const _0x2c5e69=_0x4bf48e['getUnitId'](),_0x41b272=await this[_0x312a25(0x319)](_0x2c5e69,_0x5c7530['UNIVER_DOC']);this[_0x312a25(0x396)][_0x312a25(0x300)](_0x2c5e69,_0x41b272);}),_0x41392c[_0x5a9ff0(0x3dd)](this[_0x5a9ff0(0x471)][_0x5a9ff0(0x1ec)](_0x5c9291[_0x5a9ff0(0x29b)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5c9291[_0x5a9ff0(0x29b)][_0x5a9ff0(0x484)]))[_0x5a9ff0(0x34f)](_0x41392c[_0x5a9ff0(0x1fd)](this[_0x5a9ff0(0x2ef)]))['subscribe'](_0x52ca1a=>{var _0xb429ca=_0x5a9ff0;const _0x40c0bd=_0x52ca1a[_0xb429ca(0x388)](),_0x114bd7=this[_0xb429ca(0x396)][_0xb429ca(0x108)](_0x40c0bd);_0x114bd7&&(_0x114bd7[_0xb429ca(0x456)](),this[_0xb429ca(0x396)]['delete'](_0x40c0bd));});}async[_0x3125cd(0x319)](_0x1fc561,_0x3fcf92){var _0x59fedd=_0x3125cd;const _0xfc09df=await this[_0x59fedd(0x335)][_0x59fedd(0x245)](_0x1fc561),_0xf7f7b9=this[_0x59fedd(0x1a2)]['createInstance'](this[_0x59fedd(0x22d)](_0x3fcf92),_0x1fc561,_0x3fcf92,_0xfc09df);return await _0xf7f7b9[_0x59fedd(0xd6)](),this[_0x59fedd(0x145)][_0x59fedd(0x1b9)](_0xf7f7b9),_0xf7f7b9;}[_0x3125cd(0x22d)](_0x13a538){var _0x5d7bf4=_0x3125cd;switch(_0x13a538){case _0x5c7530[_0x5d7bf4(0x484)]:return _0x1a0555[_0x5d7bf4(0x2b6)];case _0x5c7530[_0x5d7bf4(0x350)]:return _0x1a0555[_0x5d7bf4(0x11b)];default:throw new Error(_0x5d7bf4(0x327)+_0x13a538);}}},_0x1a0555[_0x3125cd(0x22e)]=_0x1b9500([_0x56beeb(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x56beeb(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x1a0555[_0x3125cd(0x114)])),_0x56beeb(0x2,_0x5c9291[_0x3125cd(0x226)]),_0x56beeb(0x3,_0x5c9291[_0x3125cd(0x200)])],_0x1a0555[_0x3125cd(0x22e)]);var _0x36aada=Object[_0x3125cd(0x143)],_0x2052d8=(_0x572864,_0x50a8e3,_0x4e8be8,_0x54aa9e)=>{for(var _0x21ab8c=_0x54aa9e>0x1?void 0x0:_0x54aa9e?_0x36aada(_0x50a8e3,_0x4e8be8):_0x50a8e3,_0x22b865=_0x572864['length']-0x1,_0x18702d;_0x22b865>=0x0;_0x22b865--)(_0x18702d=_0x572864[_0x22b865])&&(_0x21ab8c=_0x18702d(_0x21ab8c)||_0x21ab8c);return _0x21ab8c;},_0x1e80db=(_0x304678,_0x2f057a)=>(_0x2c7150,_0x266f77)=>_0x2f057a(_0x2c7150,_0x266f77,_0x304678);const _0xc32b36=_0x3125cd(0xda),_0x537398=_0x3125cd(0x203);let _0x5434f2=class extends _0x5c9291[_0x3125cd(0x402)]{constructor(_0x8a042d,_0xe9bba9){var _0xf8cd54=_0x3125cd;super(),this[_0xf8cd54(0x471)]=_0x8a042d,this[_0xf8cd54(0xdf)]=_0xe9bba9,this['_init']();}[_0x3125cd(0x141)](){var _0x4bd0a6=_0x3125cd;this[_0x4bd0a6(0xf3)](this['_univerInstanceService'][_0x4bd0a6(0x358)][_0x4bd0a6(0x399)](()=>{var _0x9aa02f=_0x4bd0a6,_0x5a79fb;const _0x479a1d=this[_0x9aa02f(0x471)][_0x9aa02f(0x135)]();let _0x2b1860=(_0x5a79fb=this[_0x9aa02f(0xdf)][_0x9aa02f(0x39a)](_0xc32b36))!=null?_0x5a79fb:_0x537398;_0x479a1d instanceof _0x5c9291['Workbook']&&(_0x2b1860=_0x479a1d[_0x9aa02f(0x17a)]),document[_0x9aa02f(0x11f)]=_0x2b1860;}));}};_0x5434f2=_0x2052d8([_0x1e80db(0x0,_0x5c9291[_0x3125cd(0x200)]),_0x1e80db(0x1,_0x5c9291['IConfigService'])],_0x5434f2);var _0x4bf8c3=Object['getOwnPropertyDescriptor'],_0x6ef7a1=(_0x11259d,_0xf0af09,_0x3d0f57,_0x445a65)=>{for(var _0xa0c9d=_0x445a65>0x1?void 0x0:_0x445a65?_0x4bf8c3(_0xf0af09,_0x3d0f57):_0xf0af09,_0x2d65cc=_0x11259d['length']-0x1,_0x32c2e8;_0x2d65cc>=0x0;_0x2d65cc--)(_0x32c2e8=_0x11259d[_0x2d65cc])&&(_0xa0c9d=_0x32c2e8(_0xa0c9d)||_0xa0c9d);return _0xa0c9d;},_0x1b4158=(_0x302e65,_0x2c6931)=>(_0x339935,_0x3ed04e)=>_0x2c6931(_0x339935,_0x3ed04e,_0x302e65);let _0x173c2c=class{constructor(_0x39432b,_0x33a500,_0x5e021d){var _0x54663e=_0x3125cd;this['_configService']=_0x39432b,this[_0x54663e(0x35b)]=_0x33a500,this['localeService']=_0x5e021d,this[_0x54663e(0xd6)]();}[_0x3125cd(0xd6)](){var _0x18ee8b=_0x3125cd;this[_0x18ee8b(0x35b)][_0x18ee8b(0x15e)]({'priority':0x1,'interceptor':(_0x5ba879,_0x48a56a)=>_0x48a56a(_0x5ba879)[_0x18ee8b(0x34f)](_0x41392c['concatMap'](async _0x5c0845=>{var _0xc00263=_0x18ee8b;const _0x25ccec=_0x5c0845;if(_0x25ccec['status']===0x191){if(typeof window>'u')throw new Error(_0xc00263(0x17f));if(window[_0xc00263(0x2ac)](this[_0xc00263(0x419)]['t']('auth.needGotoLoginAlert'))){const _0x1bd4bb=window[_0xc00263(0x1d5)](window[_0xc00263(0x1f4)][_0xc00263(0x270)]);window[_0xc00263(0x1f4)][_0xc00263(0x270)]=this['_getLoginPath']()+_0xc00263(0x1fa)+_0x1bd4bb;}}return _0x25ccec;}))});}['_getLoginPath'](){var _0x17d0d7=_0x3125cd,_0xc6ca29;const _0x16304d=this[_0x17d0d7(0xdf)][_0x17d0d7(0x39a)](_0x1ace84);return(_0xc6ca29=_0x16304d==null?void 0x0:_0x16304d[_0x17d0d7(0x3f3)])!=null?_0xc6ca29:_0x4be0c7;}};_0x173c2c=_0x6ef7a1([_0x1b4158(0x0,_0x5c9291[_0x3125cd(0x226)]),_0x1b4158(0x1,_0x5c9291['Inject'](_0x381bb4[_0x3125cd(0x2bb)])),_0x1b4158(0x2,_0x5c9291['Inject'](_0x5c9291['LocaleService']))],_0x173c2c);var _0x360888=Object[_0x3125cd(0x143)],_0x1a4331=(_0xdcb7ae,_0x34df1c,_0xa3ec6,_0xa5e438)=>{var _0x26cb66=_0x3125cd;for(var _0x413a09=_0xa5e438>0x1?void 0x0:_0xa5e438?_0x360888(_0x34df1c,_0xa3ec6):_0x34df1c,_0x3a0ffc=_0xdcb7ae[_0x26cb66(0x367)]-0x1,_0x158be8;_0x3a0ffc>=0x0;_0x3a0ffc--)(_0x158be8=_0xdcb7ae[_0x3a0ffc])&&(_0x413a09=_0x158be8(_0x413a09)||_0x413a09);return _0x413a09;},_0x5e10f7=(_0x2d7559,_0x33e56e)=>(_0x5d95f5,_0x2d0a64)=>_0x33e56e(_0x5d95f5,_0x2d0a64,_0x2d7559);const _0x50d4ab='/universer-api/authz';_0x1a0555[_0x3125cd(0x3e0)]=class extends _0x5c9291['Disposable']{constructor(_0x3286eb,_0x1ac8de){var _0x530b62=_0x3125cd;super(),this[_0x530b62(0x163)]=_0x3286eb,this[_0x530b62(0xdf)]=_0x1ac8de,this['_initMergeInterceptor']();}[_0x3125cd(0x2c6)](){var _0x69fb87=_0x3125cd;const _0x11760c=this;this[_0x69fb87(0xf3)](this[_0x69fb87(0x163)][_0x69fb87(0x15e)]({'priority':0x3e7,'interceptor':_0x381bb4[_0x69fb87(0x161)]({'isMatch'(_0x4d23b6){var _0x47ebf7=_0x69fb87,_0x59d321;if(_0x4d23b6[_0x47ebf7(0x164)]===_0x47ebf7(0x391)&&((_0x59d321=_0x4d23b6[_0x47ebf7(0x3ac)])!=null&&_0x59d321[_0x47ebf7(0x44c)])){const {objectID:_0xff00d0,objectType:_0x4c3703}=_0x4d23b6['requestParams'][_0x47ebf7(0x44c)]||{};if(!_0xff00d0||_0x4c3703===void 0x0)return!0x1;const _0xcdd9ea=_0x11760c['_getAPIPrefixPath']()+'/'+_0x4c3703+'/object/'+_0xff00d0+_0x47ebf7(0x35e);if(_0x4d23b6[_0x47ebf7(0x1df)]===_0xcdd9ea)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1db2d8){var _0x539811=_0x69fb87,_0x351a95;return(_0x351a95=_0x1db2d8[_0x539811(0x3ac)])==null?void 0x0:_0x351a95['body'];},'mergeParamsToRequest'(_0x4768ce,_0x3ac534){var _0x130f8b=_0x69fb87;const _0x4518cb=_0x11760c[_0x130f8b(0x41f)]()+'/-/object/-/batch_allowed',_0xa8f842=_0x4768ce[_0x130f8b(0x13e)]((_0x3d92e2,_0x2ffd0b)=>{var _0x2d26c5=_0x130f8b;const {unitID:_0x5aa2a5,objectID:_0x58c34e,objectType:_0x457b3e,actions:_0x2eec7d}=_0x2ffd0b;return _0x3d92e2[_0x5aa2a5]||(_0x3d92e2[_0x5aa2a5]={}),_0x3d92e2[_0x5aa2a5][_0x58c34e]||(_0x3d92e2[_0x5aa2a5][_0x58c34e]={'objectID':_0x58c34e,'objectType':_0x457b3e,'actions':[]}),_0x3d92e2[_0x5aa2a5][_0x58c34e][_0x2d26c5(0x1f8)][_0x2d26c5(0x123)](..._0x2eec7d),_0x3d92e2;},{}),_0x2dd9b6=[];for(const _0x432f11 in _0xa8f842)for(const _0x36b2e1 in _0xa8f842[_0x432f11]){const {actions:_0x27e864,objectType:_0x180af6}=_0xa8f842[_0x432f11][_0x36b2e1],_0x33eb=[...new Set(_0x27e864)];_0x2dd9b6['push']({'unitID':_0x432f11,'objectID':_0x36b2e1,'objectType':_0x180af6,'actions':_0x33eb});}return new _0x381bb4[(_0x130f8b(0x373))](_0x130f8b(0x391),_0x4518cb,{'headers':_0x3ac534['headers'],'withCredentials':_0x3ac534['withCredentials'],'responseType':_0x3ac534[_0x130f8b(0x2f5)],'body':{'requests':_0x2dd9b6}});}},{'distributeResult'(_0xc77b6a,_0x1277da){var _0x1f0a53=_0x69fb87;const {objectActions:_0x1a13b4}=_0xc77b6a;return _0x1277da[_0x1f0a53(0x434)](_0x470268=>{var _0xc52670=_0x1f0a53;const {unitID:_0x3d407c,objectID:_0x5da4bf,actions:_0x1d24ea}=_0x470268,_0xb618f=_0x1a13b4[_0xc52670(0x15b)](_0xf9e7e6=>_0xf9e7e6[_0xc52670(0x11c)]===_0x3d407c&&_0xf9e7e6[_0xc52670(0x2a4)]===_0x5da4bf),_0x515616=_0x1d24ea['map'](_0x4a7e73=>_0xb618f==null?void 0x0:_0xb618f[_0xc52670(0x1f8)][_0xc52670(0x15b)](_0x20d81b=>_0x20d81b[_0xc52670(0x2ab)]===_0x4a7e73))[_0xc52670(0x125)](_0x20775e=>!!_0x20775e);return{'config':_0x470268,'result':{'actions':_0x515616,'error':_0xc77b6a[_0xc52670(0x231)]}};});}})}));}['_getAPIPrefixPath'](){var _0x19bca0;const _0x4fffa6=this['_configService']['getConfig'](_0x1ace84);return(_0x19bca0=_0x4fffa6==null?void 0x0:_0x4fffa6['authzUrl'])!=null?_0x19bca0:_0x50d4ab;}async['create'](_0x3faae3){var _0x505653=_0x3125cd;const _0xc69c6a=this[_0x505653(0x41f)]()+'/'+_0x3faae3['objectType']+_0x505653(0x308);return(await this[_0x505653(0x163)][_0x505653(0x33d)](_0xc69c6a,{'body':_0x3faae3}))[_0x505653(0x44c)]['objectID']||'';}async[_0x3125cd(0x33b)](_0x2fdd6c){var _0x1d8e00=_0x3125cd;const _0x484431=this[_0x1d8e00(0x41f)]()+_0x1d8e00(0x36a);return(await this['_HTTPService'][_0x1d8e00(0x33d)](_0x484431,{'body':_0x2fdd6c}))[_0x1d8e00(0x44c)][_0x1d8e00(0x2c7)];}async[_0x3125cd(0x184)](_0x42c7d4){var _0x31ec59=_0x3125cd,_0x4b9556,_0x21a483;const _0x450af7=this[_0x31ec59(0x41f)]()+'/'+_0x42c7d4[_0x31ec59(0x31d)]+_0x31ec59(0xed)+_0x42c7d4['objectID'],_0x52691d=await this[_0x31ec59(0x163)][_0x31ec59(0x189)](_0x450af7,{'body':_0x42c7d4});if(((_0x21a483=(_0x4b9556=_0x52691d==null?void 0x0:_0x52691d[_0x31ec59(0x44c)])==null?void 0x0:_0x4b9556[_0x31ec59(0x231)])==null?void 0x0:_0x21a483[_0x31ec59(0x162)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3125cd(0x247)](_0x127c20){var _0x2a7bc8=_0x3125cd;const _0x161971=this['_getAPIPrefixPath']()+'/'+_0x127c20[_0x2a7bc8(0x31d)]+'/object/'+_0x127c20['objectID']+_0x2a7bc8(0x35e);return(await this[_0x2a7bc8(0x163)][_0x2a7bc8(0x33d)](_0x161971,{'body':_0x127c20}))['body'][_0x2a7bc8(0x1f8)];}async['batchAllowed'](_0x2820bb){var _0x230100=_0x3125cd;const _0x377136=this[_0x230100(0x41f)]()+_0x230100(0x215);return(await this[_0x230100(0x163)][_0x230100(0x33d)](_0x377136,{'body':{'requests':_0x2820bb}}))[_0x230100(0x44c)]['objectActions'];}async[_0x3125cd(0x29e)](_0x4b5431){var _0xf72a07=_0x3125cd;const _0x486081=this[_0xf72a07(0x41f)]()+'/'+_0x4b5431['objectType']+_0xf72a07(0x1aa),_0x534e94=await this[_0xf72a07(0x163)]['post'](_0x486081,{'body':_0x4b5431});return{'roles':_0x534e94[_0xf72a07(0x44c)][_0xf72a07(0x45a)],'actions':_0x534e94[_0xf72a07(0x44c)]['actions']};}async['deleteCollaborator'](_0x5c2835){var _0x38d898=_0x3125cd;const _0x5c64b5=this[_0x38d898(0x41f)]()+_0x38d898(0x16f);await this[_0x38d898(0x163)][_0x38d898(0x2c3)](_0x5c64b5,{'params':{'collaboratorID':_0x5c2835['collaboratorID'],'objectID':_0x5c2835['objectID'],'unitID':_0x5c2835[_0x38d898(0x11c)]}});}async[_0x3125cd(0x3b6)](_0x5a498c){var _0xb58bc1=_0x3125cd;const _0x17bb6e=this[_0xb58bc1(0x41f)]()+_0xb58bc1(0x16f);await this[_0xb58bc1(0x163)][_0xb58bc1(0x25b)](_0x17bb6e,{'body':_0x5a498c});}async['createCollaborator'](_0x4a3bc0){var _0x2ff266=_0x3125cd;const _0xd61790=this[_0x2ff266(0x41f)]()+_0x2ff266(0x16f);await this[_0x2ff266(0x163)][_0x2ff266(0x33d)](_0xd61790,{'body':_0x4a3bc0});}async[_0x3125cd(0x42c)](_0x35b3b2){var _0x2030f3=_0x3125cd;const _0x14c2cb=this[_0x2030f3(0x41f)]()+_0x2030f3(0x16f);return(await this[_0x2030f3(0x163)][_0x2030f3(0x108)](_0x14c2cb,{'params':{'objectID':_0x35b3b2[_0x2030f3(0x2a4)],'unitID':_0x35b3b2['unitID']}}))['body'][_0x2030f3(0x10b)];}async[_0x3125cd(0x31e)](_0x152d27){var _0x415155=_0x3125cd;const _0x29369a=this[_0x415155(0x41f)]()+_0x415155(0x16f);await this[_0x415155(0x163)]['put'](_0x29369a,{'body':_0x152d27});}},_0x1a0555['AuthzIoHttpService']=_0x1a4331([_0x5e10f7(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService'])),_0x5e10f7(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0x226)]))],_0x1a0555['AuthzIoHttpService']);var _0x346592=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x22f387(_0x54dc56){var _0x1ff31c=_0x3125cd;return _0x54dc56&&_0x54dc56[_0x1ff31c(0x351)]&&Object[_0x1ff31c(0x2d8)][_0x1ff31c(0x187)][_0x1ff31c(0x1d4)](_0x54dc56,_0x1ff31c(0xdc))?_0x54dc56['default']:_0x54dc56;}var _0xd3719c={'exports':{}};function _0x4eb1ec(_0x59a335){var _0x53cac9=_0x3125cd;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x59a335+_0x53cac9(0x2f4));}var _0x305955={'exports':{}},_0x1d7995=_0x305955[_0x3125cd(0x483)],_0xe8699c;function _0x37b84e(){var _0x53bf36=_0x3125cd;return _0xe8699c||(_0xe8699c=0x1,function(_0x16782b,_0x19945c){(function(_0x409690,_0x42343e){var _0x5c14fd=_0x29a5;_0x16782b[_0x5c14fd(0x483)]=_0x42343e();}(_0x1d7995,function(){var _0xeb8652=_0xeb8652||function(_0x4e40c5,_0x25ee1f){var _0x1ffb09=_0x29a5,_0x123b1c;if(typeof window<'u'&&window['crypto']&&(_0x123b1c=window[_0x1ffb09(0x440)]),typeof self<'u'&&self['crypto']&&(_0x123b1c=self[_0x1ffb09(0x440)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x123b1c=globalThis[_0x1ffb09(0x440)]),!_0x123b1c&&typeof window<'u'&&window[_0x1ffb09(0x236)]&&(_0x123b1c=window['msCrypto']),!_0x123b1c&&typeof _0x346592<'u'&&_0x346592['crypto']&&(_0x123b1c=_0x346592[_0x1ffb09(0x440)]),!_0x123b1c&&typeof _0x4eb1ec==_0x1ffb09(0x44f))try{_0x123b1c=require('crypto');}catch{}var _0x5a8473=function(){var _0x21681c=_0x1ffb09;if(_0x123b1c){if(typeof _0x123b1c['getRandomValues']==_0x21681c(0x44f))try{return _0x123b1c[_0x21681c(0x431)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x123b1c[_0x21681c(0x37a)]=='function')try{return _0x123b1c[_0x21681c(0x37a)](0x4)[_0x21681c(0xfc)]();}catch{}}throw new Error(_0x21681c(0x3cc));},_0x12f5d2=Object['create']||(function(){function _0x23a537(){}return function(_0x491f12){var _0x57d01=_0x29a5,_0x5bb5d3;return _0x23a537['prototype']=_0x491f12,_0x5bb5d3=new _0x23a537(),_0x23a537[_0x57d01(0x2d8)]=null,_0x5bb5d3;};}()),_0x30448d={},_0x323b7c=_0x30448d[_0x1ffb09(0x3a6)]={},_0x3833bf=_0x323b7c[_0x1ffb09(0x3f4)]=(function(){return{'extend':function(_0xa3b1d7){var _0x326e45=_0x29a5,_0x37bdaa=_0x12f5d2(this);return _0xa3b1d7&&_0x37bdaa['mixIn'](_0xa3b1d7),(!_0x37bdaa[_0x326e45(0x187)](_0x326e45(0xd6))||this[_0x326e45(0xd6)]===_0x37bdaa[_0x326e45(0xd6)])&&(_0x37bdaa[_0x326e45(0xd6)]=function(){var _0x497d7e=_0x326e45;_0x37bdaa[_0x497d7e(0x1a4)][_0x497d7e(0xd6)]['apply'](this,arguments);}),_0x37bdaa['init'][_0x326e45(0x2d8)]=_0x37bdaa,_0x37bdaa['$super']=this,_0x37bdaa;},'create':function(){var _0x9b3e18=_0x29a5,_0x18d612=this['extend']();return _0x18d612['init'][_0x9b3e18(0x17d)](_0x18d612,arguments),_0x18d612;},'init':function(){},'mixIn':function(_0x25d917){var _0x411d26=_0x29a5;for(var _0x2a543c in _0x25d917)_0x25d917[_0x411d26(0x187)](_0x2a543c)&&(this[_0x2a543c]=_0x25d917[_0x2a543c]);_0x25d917[_0x411d26(0x187)](_0x411d26(0x195))&&(this[_0x411d26(0x195)]=_0x25d917['toString']);},'clone':function(){var _0x323311=_0x29a5;return this[_0x323311(0xd6)][_0x323311(0x2d8)][_0x323311(0x292)](this);}};}()),_0x51b69d=_0x323b7c[_0x1ffb09(0x2f2)]=_0x3833bf[_0x1ffb09(0x292)]({'init':function(_0x1a788f,_0x4557d6){var _0x48da5a=_0x1ffb09;_0x1a788f=this['words']=_0x1a788f||[],_0x4557d6!=_0x25ee1f?this[_0x48da5a(0x1bf)]=_0x4557d6:this['sigBytes']=_0x1a788f[_0x48da5a(0x367)]*0x4;},'toString':function(_0x3cef5c){return(_0x3cef5c||_0x5970c5)['stringify'](this);},'concat':function(_0x761fe5){var _0x27419e=_0x1ffb09,_0x314399=this[_0x27419e(0x186)],_0x397b04=_0x761fe5[_0x27419e(0x186)],_0x3101dd=this[_0x27419e(0x1bf)],_0x31f11d=_0x761fe5[_0x27419e(0x1bf)];if(this[_0x27419e(0x208)](),_0x3101dd%0x4)for(var _0x167066=0x0;_0x167066<_0x31f11d;_0x167066++){var _0x243211=_0x397b04[_0x167066>>>0x2]>>>0x18-_0x167066%0x4*0x8&0xff;_0x314399[_0x3101dd+_0x167066>>>0x2]|=_0x243211<<0x18-(_0x3101dd+_0x167066)%0x4*0x8;}else{for(var _0x8a8951=0x0;_0x8a8951<_0x31f11d;_0x8a8951+=0x4)_0x314399[_0x3101dd+_0x8a8951>>>0x2]=_0x397b04[_0x8a8951>>>0x2];}return this[_0x27419e(0x1bf)]+=_0x31f11d,this;},'clamp':function(){var _0x59853b=_0x1ffb09,_0x52bba0=this[_0x59853b(0x186)],_0x42ee61=this['sigBytes'];_0x52bba0[_0x42ee61>>>0x2]&=0xffffffff<<0x20-_0x42ee61%0x4*0x8,_0x52bba0[_0x59853b(0x367)]=_0x4e40c5[_0x59853b(0x1d9)](_0x42ee61/0x4);},'clone':function(){var _0x4e4f96=_0x1ffb09,_0x2a096c=_0x3833bf['clone'][_0x4e4f96(0x1d4)](this);return _0x2a096c[_0x4e4f96(0x186)]=this[_0x4e4f96(0x186)][_0x4e4f96(0x3d9)](0x0),_0x2a096c;},'random':function(_0x299e8e){var _0xc0a64e=_0x1ffb09;for(var _0x2088be=[],_0xc2de5c=0x0;_0xc2de5c<_0x299e8e;_0xc2de5c+=0x4)_0x2088be[_0xc0a64e(0x123)](_0x5a8473());return new _0x51b69d['init'](_0x2088be,_0x299e8e);}}),_0x33dfe4=_0x30448d[_0x1ffb09(0x363)]={},_0x5970c5=_0x33dfe4[_0x1ffb09(0x3b4)]={'stringify':function(_0x35c375){var _0x38e85a=_0x1ffb09;for(var _0x495898=_0x35c375[_0x38e85a(0x186)],_0x8a2dd=_0x35c375[_0x38e85a(0x1bf)],_0x39712e=[],_0x815cca=0x0;_0x815cca<_0x8a2dd;_0x815cca++){var _0x46cbe9=_0x495898[_0x815cca>>>0x2]>>>0x18-_0x815cca%0x4*0x8&0xff;_0x39712e[_0x38e85a(0x123)]((_0x46cbe9>>>0x4)[_0x38e85a(0x195)](0x10)),_0x39712e['push']((_0x46cbe9&0xf)[_0x38e85a(0x195)](0x10));}return _0x39712e[_0x38e85a(0x432)]('');},'parse':function(_0x45565a){var _0x576bbb=_0x1ffb09;for(var _0x5725a6=_0x45565a[_0x576bbb(0x367)],_0x40b269=[],_0x18e90e=0x0;_0x18e90e<_0x5725a6;_0x18e90e+=0x2)_0x40b269[_0x18e90e>>>0x3]|=parseInt(_0x45565a[_0x576bbb(0x1c2)](_0x18e90e,0x2),0x10)<<0x18-_0x18e90e%0x8*0x4;return new _0x51b69d[(_0x576bbb(0xd6))](_0x40b269,_0x5725a6/0x2);}},_0x45215a=_0x33dfe4[_0x1ffb09(0x285)]={'stringify':function(_0x48430e){var _0x2c1c2e=_0x1ffb09;for(var _0x3804ba=_0x48430e[_0x2c1c2e(0x186)],_0x15a4b5=_0x48430e[_0x2c1c2e(0x1bf)],_0x3eb54b=[],_0x3d2ed1=0x0;_0x3d2ed1<_0x15a4b5;_0x3d2ed1++){var _0x44e365=_0x3804ba[_0x3d2ed1>>>0x2]>>>0x18-_0x3d2ed1%0x4*0x8&0xff;_0x3eb54b[_0x2c1c2e(0x123)](String['fromCharCode'](_0x44e365));}return _0x3eb54b[_0x2c1c2e(0x432)]('');},'parse':function(_0x553361){var _0xdfb8c4=_0x1ffb09;for(var _0x183a41=_0x553361['length'],_0x4af4f1=[],_0xd61c11=0x0;_0xd61c11<_0x183a41;_0xd61c11++)_0x4af4f1[_0xd61c11>>>0x2]|=(_0x553361[_0xdfb8c4(0x156)](_0xd61c11)&0xff)<<0x18-_0xd61c11%0x4*0x8;return new _0x51b69d[(_0xdfb8c4(0xd6))](_0x4af4f1,_0x183a41);}},_0x468bdc=_0x33dfe4[_0x1ffb09(0x2ad)]={'stringify':function(_0x2d8145){var _0x144ee1=_0x1ffb09;try{return decodeURIComponent(escape(_0x45215a[_0x144ee1(0x1b5)](_0x2d8145)));}catch{throw new Error(_0x144ee1(0x3c1));}},'parse':function(_0x3720c0){var _0x2757ec=_0x1ffb09;return _0x45215a[_0x2757ec(0x345)](unescape(encodeURIComponent(_0x3720c0)));}},_0x5b1e67=_0x323b7c[_0x1ffb09(0x2b7)]=_0x3833bf[_0x1ffb09(0x292)]({'reset':function(){var _0x4ea6fb=_0x1ffb09;this[_0x4ea6fb(0xd5)]=new _0x51b69d['init'](),this[_0x4ea6fb(0x257)]=0x0;},'_append':function(_0x24f474){var _0x4bea69=_0x1ffb09;typeof _0x24f474=='string'&&(_0x24f474=_0x468bdc[_0x4bea69(0x345)](_0x24f474)),this[_0x4bea69(0xd5)][_0x4bea69(0x25c)](_0x24f474),this['_nDataBytes']+=_0x24f474[_0x4bea69(0x1bf)];},'_process':function(_0x54f85e){var _0x1e0bab=_0x1ffb09,_0x1b1f03,_0x40a1a5=this[_0x1e0bab(0xd5)],_0x26af36=_0x40a1a5['words'],_0x47c155=_0x40a1a5[_0x1e0bab(0x1bf)],_0xaf361e=this[_0x1e0bab(0xeb)],_0x3e17e4=_0xaf361e*0x4,_0x4972b2=_0x47c155/_0x3e17e4;_0x54f85e?_0x4972b2=_0x4e40c5[_0x1e0bab(0x1d9)](_0x4972b2):_0x4972b2=_0x4e40c5[_0x1e0bab(0x3f7)]((_0x4972b2|0x0)-this[_0x1e0bab(0x1b1)],0x0);var _0x4eb9d1=_0x4972b2*_0xaf361e,_0x4e0acb=_0x4e40c5[_0x1e0bab(0x3d7)](_0x4eb9d1*0x4,_0x47c155);if(_0x4eb9d1){for(var _0x281487=0x0;_0x281487<_0x4eb9d1;_0x281487+=_0xaf361e)this[_0x1e0bab(0x464)](_0x26af36,_0x281487);_0x1b1f03=_0x26af36[_0x1e0bab(0x1d2)](0x0,_0x4eb9d1),_0x40a1a5['sigBytes']-=_0x4e0acb;}return new _0x51b69d[(_0x1e0bab(0xd6))](_0x1b1f03,_0x4e0acb);},'clone':function(){var _0xb2ab77=_0x1ffb09,_0x42a24e=_0x3833bf[_0xb2ab77(0x229)]['call'](this);return _0x42a24e[_0xb2ab77(0xd5)]=this['_data']['clone'](),_0x42a24e;},'_minBufferSize':0x0});_0x323b7c[_0x1ffb09(0x41d)]=_0x5b1e67[_0x1ffb09(0x292)]({'cfg':_0x3833bf[_0x1ffb09(0x292)](),'init':function(_0x18a293){var _0x55767e=_0x1ffb09;this[_0x55767e(0x2de)]=this['cfg'][_0x55767e(0x292)](_0x18a293),this[_0x55767e(0x224)]();},'reset':function(){var _0x4ca96d=_0x1ffb09;_0x5b1e67[_0x4ca96d(0x224)][_0x4ca96d(0x1d4)](this),this[_0x4ca96d(0x15f)]();},'update':function(_0x979d34){var _0x273d3a=_0x1ffb09;return this[_0x273d3a(0x174)](_0x979d34),this['_process'](),this;},'finalize':function(_0x17c51e){_0x17c51e&&this['_append'](_0x17c51e);var _0x4eaad8=this['_doFinalize']();return _0x4eaad8;},'blockSize':0x10,'_createHelper':function(_0x59a0ff){return function(_0x1bebdc,_0x4af0da){return new _0x59a0ff['init'](_0x4af0da)['finalize'](_0x1bebdc);};},'_createHmacHelper':function(_0x3b0efd){return function(_0xf28094,_0x175e03){var _0x87ca36=_0x29a5;return new _0x2dcdb7[(_0x87ca36(0x2f9))]['init'](_0x3b0efd,_0x175e03)[_0x87ca36(0x3c9)](_0xf28094);};}});var _0x2dcdb7=_0x30448d[_0x1ffb09(0x2d9)]={};return _0x30448d;}(Math);return _0xeb8652;}));}(_0x305955)),_0x305955[_0x53bf36(0x483)];}var _0xcc2b85={'exports':{}},_0x4e6af5=_0xcc2b85[_0x3125cd(0x483)],_0x327e21;function _0x48e90e(){var _0x1b821c=_0x3125cd;return _0x327e21||(_0x327e21=0x1,function(_0x206396,_0x45d3ec){(function(_0x2a71a9,_0x140926){var _0x58a238=_0x29a5;_0x206396[_0x58a238(0x483)]=_0x140926(_0x37b84e());}(_0x4e6af5,function(_0xf9b786){var _0x27737b=_0x29a5;return(function(){var _0x573bfc=_0x29a5,_0x3a2270=_0xf9b786,_0x1132a6=_0x3a2270[_0x573bfc(0x3a6)],_0x206df=_0x1132a6[_0x573bfc(0x2f2)],_0x48b257=_0x3a2270[_0x573bfc(0x363)];_0x48b257[_0x573bfc(0x348)]={'stringify':function(_0x5d5f8d){var _0x1e002b=_0x573bfc,_0x34d75e=_0x5d5f8d[_0x1e002b(0x186)],_0x51a6e4=_0x5d5f8d[_0x1e002b(0x1bf)],_0x35bbe7=this[_0x1e002b(0x15c)];_0x5d5f8d[_0x1e002b(0x208)]();for(var _0x1e3fc6=[],_0x1ed555=0x0;_0x1ed555<_0x51a6e4;_0x1ed555+=0x3)for(var _0x37e5a8=_0x34d75e[_0x1ed555>>>0x2]>>>0x18-_0x1ed555%0x4*0x8&0xff,_0x31e3fc=_0x34d75e[_0x1ed555+0x1>>>0x2]>>>0x18-(_0x1ed555+0x1)%0x4*0x8&0xff,_0x16ab44=_0x34d75e[_0x1ed555+0x2>>>0x2]>>>0x18-(_0x1ed555+0x2)%0x4*0x8&0xff,_0x5dd628=_0x37e5a8<<0x10|_0x31e3fc<<0x8|_0x16ab44,_0x243699=0x0;_0x243699<0x4&&_0x1ed555+_0x243699*0.75<_0x51a6e4;_0x243699++)_0x1e3fc6[_0x1e002b(0x123)](_0x35bbe7['charAt'](_0x5dd628>>>0x6*(0x3-_0x243699)&0x3f));var _0xd3ccbe=_0x35bbe7[_0x1e002b(0x1b7)](0x40);if(_0xd3ccbe){for(;_0x1e3fc6[_0x1e002b(0x367)]%0x4;)_0x1e3fc6['push'](_0xd3ccbe);}return _0x1e3fc6[_0x1e002b(0x432)]('');},'parse':function(_0x386200){var _0x37513f=_0x573bfc,_0x4acc56=_0x386200[_0x37513f(0x367)],_0x8e8775=this[_0x37513f(0x15c)],_0x328d11=this[_0x37513f(0x2c4)];if(!_0x328d11){_0x328d11=this[_0x37513f(0x2c4)]=[];for(var _0x22562b=0x0;_0x22562b<_0x8e8775[_0x37513f(0x367)];_0x22562b++)_0x328d11[_0x8e8775[_0x37513f(0x156)](_0x22562b)]=_0x22562b;}var _0x3404a4=_0x8e8775[_0x37513f(0x1b7)](0x40);if(_0x3404a4){var _0x51ae08=_0x386200[_0x37513f(0x11e)](_0x3404a4);_0x51ae08!==-0x1&&(_0x4acc56=_0x51ae08);}return _0x1c1b7b(_0x386200,_0x4acc56,_0x328d11);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1c1b7b(_0x4d54e2,_0x2acad7,_0x306987){var _0x3d479e=_0x573bfc;for(var _0x1c58ad=[],_0x2dbb67=0x0,_0x3c701b=0x0;_0x3c701b<_0x2acad7;_0x3c701b++)if(_0x3c701b%0x4){var _0x293fb7=_0x306987[_0x4d54e2[_0x3d479e(0x156)](_0x3c701b-0x1)]<<_0x3c701b%0x4*0x2,_0x3279f8=_0x306987[_0x4d54e2[_0x3d479e(0x156)](_0x3c701b)]>>>0x6-_0x3c701b%0x4*0x2,_0x286190=_0x293fb7|_0x3279f8;_0x1c58ad[_0x2dbb67>>>0x2]|=_0x286190<<0x18-_0x2dbb67%0x4*0x8,_0x2dbb67++;}return _0x206df[_0x3d479e(0x221)](_0x1c58ad,_0x2dbb67);}}()),_0xf9b786['enc'][_0x27737b(0x348)];}));}(_0xcc2b85)),_0xcc2b85[_0x1b821c(0x483)];}var _0xc3d0c6={'exports':{}},_0x5e4bba=_0xc3d0c6[_0x3125cd(0x483)],_0x3a35e1;function _0x18eba3(){var _0x2fc2a4=_0x3125cd;return _0x3a35e1||(_0x3a35e1=0x1,function(_0x1b6c35,_0x326f40){(function(_0x19deea,_0x35ce6a){var _0xfeb628=_0x29a5;_0x1b6c35[_0xfeb628(0x483)]=_0x35ce6a(_0x37b84e());}(_0x5e4bba,function(_0x5e5017){return function(_0x477bfa){var _0x46d8ad=_0x29a5,_0x467877=_0x5e5017,_0x63a3c9=_0x467877[_0x46d8ad(0x3a6)],_0x1d8827=_0x63a3c9[_0x46d8ad(0x2f2)],_0xf4c25f=_0x63a3c9[_0x46d8ad(0x41d)],_0x27512b=_0x467877[_0x46d8ad(0x2d9)],_0x5ccace=[];(function(){var _0x53c65f=_0x46d8ad;for(var _0x4bc798=0x0;_0x4bc798<0x40;_0x4bc798++)_0x5ccace[_0x4bc798]=_0x477bfa[_0x53c65f(0x128)](_0x477bfa[_0x53c65f(0x1a3)](_0x4bc798+0x1))*0x100000000|0x0;}());var _0x18a492=_0x27512b[_0x46d8ad(0x481)]=_0xf4c25f['extend']({'_doReset':function(){var _0x166419=_0x46d8ad;this[_0x166419(0xfb)]=new _0x1d8827[(_0x166419(0xd6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x51ae6f,_0xaeb6f){var _0x34a3e7=_0x46d8ad;for(var _0x37fc46=0x0;_0x37fc46<0x10;_0x37fc46++){var _0x2ab453=_0xaeb6f+_0x37fc46,_0x3e1f19=_0x51ae6f[_0x2ab453];_0x51ae6f[_0x2ab453]=(_0x3e1f19<<0x8|_0x3e1f19>>>0x18)&0xff00ff|(_0x3e1f19<<0x18|_0x3e1f19>>>0x8)&0xff00ff00;}var _0x30246c=this['_hash'][_0x34a3e7(0x186)],_0x22874d=_0x51ae6f[_0xaeb6f+0x0],_0x52a485=_0x51ae6f[_0xaeb6f+0x1],_0x532519=_0x51ae6f[_0xaeb6f+0x2],_0x50effc=_0x51ae6f[_0xaeb6f+0x3],_0x2aaa66=_0x51ae6f[_0xaeb6f+0x4],_0x1c2f87=_0x51ae6f[_0xaeb6f+0x5],_0x4d756e=_0x51ae6f[_0xaeb6f+0x6],_0x19b556=_0x51ae6f[_0xaeb6f+0x7],_0x22b885=_0x51ae6f[_0xaeb6f+0x8],_0x2d0258=_0x51ae6f[_0xaeb6f+0x9],_0x169e25=_0x51ae6f[_0xaeb6f+0xa],_0x1598d5=_0x51ae6f[_0xaeb6f+0xb],_0xc083fc=_0x51ae6f[_0xaeb6f+0xc],_0x5339c3=_0x51ae6f[_0xaeb6f+0xd],_0x57ad43=_0x51ae6f[_0xaeb6f+0xe],_0x138c9e=_0x51ae6f[_0xaeb6f+0xf],_0x147ed9=_0x30246c[0x0],_0x3ab21f=_0x30246c[0x1],_0xf9b359=_0x30246c[0x2],_0x4df631=_0x30246c[0x3];_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22874d,0x7,_0x5ccace[0x0]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x52a485,0xc,_0x5ccace[0x1]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x532519,0x11,_0x5ccace[0x2]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x50effc,0x16,_0x5ccace[0x3]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2aaa66,0x7,_0x5ccace[0x4]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x1c2f87,0xc,_0x5ccace[0x5]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x4d756e,0x11,_0x5ccace[0x6]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x19b556,0x16,_0x5ccace[0x7]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22b885,0x7,_0x5ccace[0x8]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x2d0258,0xc,_0x5ccace[0x9]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x169e25,0x11,_0x5ccace[0xa]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x1598d5,0x16,_0x5ccace[0xb]),_0x147ed9=_0x5f1b88(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0xc083fc,0x7,_0x5ccace[0xc]),_0x4df631=_0x5f1b88(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x5339c3,0xc,_0x5ccace[0xd]),_0xf9b359=_0x5f1b88(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x57ad43,0x11,_0x5ccace[0xe]),_0x3ab21f=_0x5f1b88(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x138c9e,0x16,_0x5ccace[0xf]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x52a485,0x5,_0x5ccace[0x10]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x4d756e,0x9,_0x5ccace[0x11]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x1598d5,0xe,_0x5ccace[0x12]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x22874d,0x14,_0x5ccace[0x13]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x1c2f87,0x5,_0x5ccace[0x14]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x169e25,0x9,_0x5ccace[0x15]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x138c9e,0xe,_0x5ccace[0x16]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x2aaa66,0x14,_0x5ccace[0x17]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2d0258,0x5,_0x5ccace[0x18]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x57ad43,0x9,_0x5ccace[0x19]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x50effc,0xe,_0x5ccace[0x1a]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x22b885,0x14,_0x5ccace[0x1b]),_0x147ed9=_0x3a7363(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x5339c3,0x5,_0x5ccace[0x1c]),_0x4df631=_0x3a7363(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x532519,0x9,_0x5ccace[0x1d]),_0xf9b359=_0x3a7363(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x19b556,0xe,_0x5ccace[0x1e]),_0x3ab21f=_0x3a7363(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0xc083fc,0x14,_0x5ccace[0x1f]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x1c2f87,0x4,_0x5ccace[0x20]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x22b885,0xb,_0x5ccace[0x21]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x1598d5,0x10,_0x5ccace[0x22]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x57ad43,0x17,_0x5ccace[0x23]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x52a485,0x4,_0x5ccace[0x24]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x2aaa66,0xb,_0x5ccace[0x25]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x19b556,0x10,_0x5ccace[0x26]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x169e25,0x17,_0x5ccace[0x27]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x5339c3,0x4,_0x5ccace[0x28]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x22874d,0xb,_0x5ccace[0x29]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x50effc,0x10,_0x5ccace[0x2a]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x4d756e,0x17,_0x5ccace[0x2b]),_0x147ed9=_0x2d364e(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2d0258,0x4,_0x5ccace[0x2c]),_0x4df631=_0x2d364e(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0xc083fc,0xb,_0x5ccace[0x2d]),_0xf9b359=_0x2d364e(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x138c9e,0x10,_0x5ccace[0x2e]),_0x3ab21f=_0x2d364e(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x532519,0x17,_0x5ccace[0x2f]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22874d,0x6,_0x5ccace[0x30]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x19b556,0xa,_0x5ccace[0x31]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x57ad43,0xf,_0x5ccace[0x32]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x1c2f87,0x15,_0x5ccace[0x33]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0xc083fc,0x6,_0x5ccace[0x34]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x50effc,0xa,_0x5ccace[0x35]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x169e25,0xf,_0x5ccace[0x36]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x52a485,0x15,_0x5ccace[0x37]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x22b885,0x6,_0x5ccace[0x38]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x138c9e,0xa,_0x5ccace[0x39]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x4d756e,0xf,_0x5ccace[0x3a]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x5339c3,0x15,_0x5ccace[0x3b]),_0x147ed9=_0x243b26(_0x147ed9,_0x3ab21f,_0xf9b359,_0x4df631,_0x2aaa66,0x6,_0x5ccace[0x3c]),_0x4df631=_0x243b26(_0x4df631,_0x147ed9,_0x3ab21f,_0xf9b359,_0x1598d5,0xa,_0x5ccace[0x3d]),_0xf9b359=_0x243b26(_0xf9b359,_0x4df631,_0x147ed9,_0x3ab21f,_0x532519,0xf,_0x5ccace[0x3e]),_0x3ab21f=_0x243b26(_0x3ab21f,_0xf9b359,_0x4df631,_0x147ed9,_0x2d0258,0x15,_0x5ccace[0x3f]),_0x30246c[0x0]=_0x30246c[0x0]+_0x147ed9|0x0,_0x30246c[0x1]=_0x30246c[0x1]+_0x3ab21f|0x0,_0x30246c[0x2]=_0x30246c[0x2]+_0xf9b359|0x0,_0x30246c[0x3]=_0x30246c[0x3]+_0x4df631|0x0;},'_doFinalize':function(){var _0x4c8bc2=_0x46d8ad,_0x2cc618=this['_data'],_0x4e0776=_0x2cc618[_0x4c8bc2(0x186)],_0x18c3f9=this['_nDataBytes']*0x8,_0x3488aa=_0x2cc618[_0x4c8bc2(0x1bf)]*0x8;_0x4e0776[_0x3488aa>>>0x5]|=0x80<<0x18-_0x3488aa%0x20;var _0x5506f1=_0x477bfa[_0x4c8bc2(0x378)](_0x18c3f9/0x100000000),_0x3187ab=_0x18c3f9;_0x4e0776[(_0x3488aa+0x40>>>0x9<<0x4)+0xf]=(_0x5506f1<<0x8|_0x5506f1>>>0x18)&0xff00ff|(_0x5506f1<<0x18|_0x5506f1>>>0x8)&0xff00ff00,_0x4e0776[(_0x3488aa+0x40>>>0x9<<0x4)+0xe]=(_0x3187ab<<0x8|_0x3187ab>>>0x18)&0xff00ff|(_0x3187ab<<0x18|_0x3187ab>>>0x8)&0xff00ff00,_0x2cc618[_0x4c8bc2(0x1bf)]=(_0x4e0776[_0x4c8bc2(0x367)]+0x1)*0x4,this['_process']();for(var _0x19d1c8=this[_0x4c8bc2(0xfb)],_0x2ac76d=_0x19d1c8[_0x4c8bc2(0x186)],_0x5cf126=0x0;_0x5cf126<0x4;_0x5cf126++){var _0x2a70ab=_0x2ac76d[_0x5cf126];_0x2ac76d[_0x5cf126]=(_0x2a70ab<<0x8|_0x2a70ab>>>0x18)&0xff00ff|(_0x2a70ab<<0x18|_0x2a70ab>>>0x8)&0xff00ff00;}return _0x19d1c8;},'clone':function(){var _0x4f15c9=_0x46d8ad,_0x3f2988=_0xf4c25f[_0x4f15c9(0x229)][_0x4f15c9(0x1d4)](this);return _0x3f2988[_0x4f15c9(0xfb)]=this[_0x4f15c9(0xfb)]['clone'](),_0x3f2988;}});function _0x5f1b88(_0x44f564,_0x2d3d81,_0x99fd4,_0x32af69,_0x1fb185,_0x5c25ec,_0x24fcd9){var _0x115ffa=_0x44f564+(_0x2d3d81&_0x99fd4|~_0x2d3d81&_0x32af69)+_0x1fb185+_0x24fcd9;return(_0x115ffa<<_0x5c25ec|_0x115ffa>>>0x20-_0x5c25ec)+_0x2d3d81;}function _0x3a7363(_0x5249c0,_0x5705d6,_0x4e5862,_0xa61859,_0xb90288,_0x20a510,_0x559db9){var _0x9ace57=_0x5249c0+(_0x5705d6&_0xa61859|_0x4e5862&~_0xa61859)+_0xb90288+_0x559db9;return(_0x9ace57<<_0x20a510|_0x9ace57>>>0x20-_0x20a510)+_0x5705d6;}function _0x2d364e(_0x389a09,_0x64699b,_0xf8f9c8,_0x5297b2,_0x2331dd,_0x37dac7,_0x46c84c){var _0x497b37=_0x389a09+(_0x64699b^_0xf8f9c8^_0x5297b2)+_0x2331dd+_0x46c84c;return(_0x497b37<<_0x37dac7|_0x497b37>>>0x20-_0x37dac7)+_0x64699b;}function _0x243b26(_0xddb58d,_0x485a1d,_0x5040a6,_0x53204c,_0x455bbb,_0x750bd0,_0x1f0154){var _0x5dce85=_0xddb58d+(_0x5040a6^(_0x485a1d|~_0x53204c))+_0x455bbb+_0x1f0154;return(_0x5dce85<<_0x750bd0|_0x5dce85>>>0x20-_0x750bd0)+_0x485a1d;}_0x467877[_0x46d8ad(0x481)]=_0xf4c25f[_0x46d8ad(0x19f)](_0x18a492),_0x467877[_0x46d8ad(0x238)]=_0xf4c25f[_0x46d8ad(0x36e)](_0x18a492);}(Math),_0x5e5017['MD5'];}));}(_0xc3d0c6)),_0xc3d0c6[_0x2fc2a4(0x483)];}var _0x5b3ce3={'exports':{}},_0x2ea8d8={'exports':{}},_0x2a33fe=_0x2ea8d8['exports'],_0x349034;function _0x460410(){var _0x3aab2c=_0x3125cd;return _0x349034||(_0x349034=0x1,function(_0x2278d4,_0x431302){(function(_0x5c3dc1,_0x2c8d75){var _0x159303=_0x29a5;_0x2278d4[_0x159303(0x483)]=_0x2c8d75(_0x37b84e());}(_0x2a33fe,function(_0x5c418e){var _0x1fa05c=_0x29a5;return(function(){var _0x5b6e75=_0x29a5,_0x578454=_0x5c418e,_0x595fda=_0x578454[_0x5b6e75(0x3a6)],_0x24d41e=_0x595fda[_0x5b6e75(0x2f2)],_0x3567ff=_0x595fda[_0x5b6e75(0x41d)],_0x467443=_0x578454[_0x5b6e75(0x2d9)],_0x2e9367=[],_0x442806=_0x467443[_0x5b6e75(0x3dc)]=_0x3567ff['extend']({'_doReset':function(){var _0x575a7a=_0x5b6e75;this[_0x575a7a(0xfb)]=new _0x24d41e[(_0x575a7a(0xd6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d00d9,_0x1eb1c0){var _0x21303d=_0x5b6e75;for(var _0x3a24ef=this['_hash'][_0x21303d(0x186)],_0x2fbdd5=_0x3a24ef[0x0],_0x1ac3e5=_0x3a24ef[0x1],_0x4d435d=_0x3a24ef[0x2],_0x3fcd54=_0x3a24ef[0x3],_0x512e60=_0x3a24ef[0x4],_0x8d49cd=0x0;_0x8d49cd<0x50;_0x8d49cd++){if(_0x8d49cd<0x10)_0x2e9367[_0x8d49cd]=_0x5d00d9[_0x1eb1c0+_0x8d49cd]|0x0;else{var _0x3c8c25=_0x2e9367[_0x8d49cd-0x3]^_0x2e9367[_0x8d49cd-0x8]^_0x2e9367[_0x8d49cd-0xe]^_0x2e9367[_0x8d49cd-0x10];_0x2e9367[_0x8d49cd]=_0x3c8c25<<0x1|_0x3c8c25>>>0x1f;}var _0x5660c2=(_0x2fbdd5<<0x5|_0x2fbdd5>>>0x1b)+_0x512e60+_0x2e9367[_0x8d49cd];_0x8d49cd<0x14?_0x5660c2+=(_0x1ac3e5&_0x4d435d|~_0x1ac3e5&_0x3fcd54)+0x5a827999:_0x8d49cd<0x28?_0x5660c2+=(_0x1ac3e5^_0x4d435d^_0x3fcd54)+0x6ed9eba1:_0x8d49cd<0x3c?_0x5660c2+=(_0x1ac3e5&_0x4d435d|_0x1ac3e5&_0x3fcd54|_0x4d435d&_0x3fcd54)-0x70e44324:_0x5660c2+=(_0x1ac3e5^_0x4d435d^_0x3fcd54)-0x359d3e2a,_0x512e60=_0x3fcd54,_0x3fcd54=_0x4d435d,_0x4d435d=_0x1ac3e5<<0x1e|_0x1ac3e5>>>0x2,_0x1ac3e5=_0x2fbdd5,_0x2fbdd5=_0x5660c2;}_0x3a24ef[0x0]=_0x3a24ef[0x0]+_0x2fbdd5|0x0,_0x3a24ef[0x1]=_0x3a24ef[0x1]+_0x1ac3e5|0x0,_0x3a24ef[0x2]=_0x3a24ef[0x2]+_0x4d435d|0x0,_0x3a24ef[0x3]=_0x3a24ef[0x3]+_0x3fcd54|0x0,_0x3a24ef[0x4]=_0x3a24ef[0x4]+_0x512e60|0x0;},'_doFinalize':function(){var _0x2bdb65=_0x5b6e75,_0x46d633=this['_data'],_0x11abf1=_0x46d633[_0x2bdb65(0x186)],_0x1177d1=this['_nDataBytes']*0x8,_0x1a23f1=_0x46d633['sigBytes']*0x8;return _0x11abf1[_0x1a23f1>>>0x5]|=0x80<<0x18-_0x1a23f1%0x20,_0x11abf1[(_0x1a23f1+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1177d1/0x100000000),_0x11abf1[(_0x1a23f1+0x40>>>0x9<<0x4)+0xf]=_0x1177d1,_0x46d633[_0x2bdb65(0x1bf)]=_0x11abf1['length']*0x4,this[_0x2bdb65(0x324)](),this[_0x2bdb65(0xfb)];},'clone':function(){var _0x2957d7=_0x5b6e75,_0x19511d=_0x3567ff[_0x2957d7(0x229)][_0x2957d7(0x1d4)](this);return _0x19511d['_hash']=this[_0x2957d7(0xfb)][_0x2957d7(0x229)](),_0x19511d;}});_0x578454[_0x5b6e75(0x3dc)]=_0x3567ff[_0x5b6e75(0x19f)](_0x442806),_0x578454[_0x5b6e75(0x3cb)]=_0x3567ff['_createHmacHelper'](_0x442806);}()),_0x5c418e[_0x1fa05c(0x3dc)];}));}(_0x2ea8d8)),_0x2ea8d8[_0x3aab2c(0x483)];}var _0x533ace={'exports':{}},_0x454f75=_0x533ace['exports'],_0x46b933;function _0xd29bcf(){var _0x43a70e=_0x3125cd;return _0x46b933||(_0x46b933=0x1,function(_0x300b30,_0x990a7d){(function(_0x3b721d,_0x50c0f1){var _0x45cc1e=_0x29a5;_0x300b30[_0x45cc1e(0x483)]=_0x50c0f1(_0x37b84e());}(_0x454f75,function(_0x234fca){(function(){var _0x37232c=_0x29a5,_0x4c1a87=_0x234fca,_0x2623c6=_0x4c1a87[_0x37232c(0x3a6)],_0x47fda2=_0x2623c6['Base'],_0x41964a=_0x4c1a87[_0x37232c(0x363)],_0x2017c7=_0x41964a[_0x37232c(0x2ad)],_0x4993fc=_0x4c1a87[_0x37232c(0x2d9)];_0x4993fc[_0x37232c(0x2f9)]=_0x47fda2[_0x37232c(0x292)]({'init':function(_0x1df384,_0x268f9a){var _0x3bef90=_0x37232c;_0x1df384=this[_0x3bef90(0x228)]=new _0x1df384[(_0x3bef90(0xd6))](),typeof _0x268f9a==_0x3bef90(0x360)&&(_0x268f9a=_0x2017c7[_0x3bef90(0x345)](_0x268f9a));var _0x19ea05=_0x1df384[_0x3bef90(0xeb)],_0x2665a6=_0x19ea05*0x4;_0x268f9a[_0x3bef90(0x1bf)]>_0x2665a6&&(_0x268f9a=_0x1df384[_0x3bef90(0x3c9)](_0x268f9a)),_0x268f9a[_0x3bef90(0x208)]();for(var _0x233593=this['_oKey']=_0x268f9a['clone'](),_0x573e7d=this[_0x3bef90(0x2e8)]=_0x268f9a[_0x3bef90(0x229)](),_0xdcfec9=_0x233593[_0x3bef90(0x186)],_0x422f50=_0x573e7d[_0x3bef90(0x186)],_0x545961=0x0;_0x545961<_0x19ea05;_0x545961++)_0xdcfec9[_0x545961]^=0x5c5c5c5c,_0x422f50[_0x545961]^=0x36363636;_0x233593[_0x3bef90(0x1bf)]=_0x573e7d[_0x3bef90(0x1bf)]=_0x2665a6,this[_0x3bef90(0x224)]();},'reset':function(){var _0x391d36=_0x37232c,_0x1a8d45=this[_0x391d36(0x228)];_0x1a8d45[_0x391d36(0x224)](),_0x1a8d45['update'](this[_0x391d36(0x2e8)]);},'update':function(_0x3d8ff2){var _0x185ec4=_0x37232c;return this['_hasher'][_0x185ec4(0x184)](_0x3d8ff2),this;},'finalize':function(_0x513df2){var _0x316fd0=_0x37232c,_0x40adde=this[_0x316fd0(0x228)],_0x56bbe3=_0x40adde[_0x316fd0(0x3c9)](_0x513df2);_0x40adde[_0x316fd0(0x224)]();var _0x1f6d3a=_0x40adde[_0x316fd0(0x3c9)](this[_0x316fd0(0x1dc)]['clone']()[_0x316fd0(0x25c)](_0x56bbe3));return _0x1f6d3a;}});}());}));}(_0x533ace)),_0x533ace[_0x43a70e(0x483)];}var _0x20a1b2=_0x5b3ce3['exports'],_0x34d381;function _0x525988(){var _0x580760=_0x3125cd;return _0x34d381||(_0x34d381=0x1,function(_0x3142d7,_0x4cc894){(function(_0x59aa85,_0x4da036,_0x3094a6){var _0x436663=_0x29a5;_0x3142d7[_0x436663(0x483)]=_0x4da036(_0x37b84e(),_0x460410(),_0xd29bcf());}(_0x20a1b2,function(_0x48eb7c){var _0x3edeb8=_0x29a5;return(function(){var _0x4f9139=_0x29a5,_0x1a5264=_0x48eb7c,_0xfe2f68=_0x1a5264[_0x4f9139(0x3a6)],_0x3d5be3=_0xfe2f68['Base'],_0x549f5a=_0xfe2f68[_0x4f9139(0x2f2)],_0xc90e52=_0x1a5264['algo'],_0x5ea011=_0xc90e52[_0x4f9139(0x481)],_0x2451da=_0xc90e52[_0x4f9139(0x305)]=_0x3d5be3['extend']({'cfg':_0x3d5be3[_0x4f9139(0x292)]({'keySize':0x80/0x20,'hasher':_0x5ea011,'iterations':0x1}),'init':function(_0x17a66c){var _0x16995c=_0x4f9139;this[_0x16995c(0x2de)]=this[_0x16995c(0x2de)][_0x16995c(0x292)](_0x17a66c);},'compute':function(_0x47456e,_0x19a666){var _0x4b22bd=_0x4f9139;for(var _0x4c46f8,_0x208741=this[_0x4b22bd(0x2de)],_0x11c606=_0x208741[_0x4b22bd(0x25e)]['create'](),_0x32d54b=_0x549f5a[_0x4b22bd(0x221)](),_0x4896f8=_0x32d54b[_0x4b22bd(0x186)],_0x969305=_0x208741[_0x4b22bd(0x3ba)],_0x1e9e1b=_0x208741[_0x4b22bd(0x43c)];_0x4896f8[_0x4b22bd(0x367)]<_0x969305;){_0x4c46f8&&_0x11c606[_0x4b22bd(0x184)](_0x4c46f8),_0x4c46f8=_0x11c606['update'](_0x47456e)[_0x4b22bd(0x3c9)](_0x19a666),_0x11c606[_0x4b22bd(0x224)]();for(var _0x53b851=0x1;_0x53b851<_0x1e9e1b;_0x53b851++)_0x4c46f8=_0x11c606[_0x4b22bd(0x3c9)](_0x4c46f8),_0x11c606[_0x4b22bd(0x224)]();_0x32d54b[_0x4b22bd(0x25c)](_0x4c46f8);}return _0x32d54b[_0x4b22bd(0x1bf)]=_0x969305*0x4,_0x32d54b;}});_0x1a5264[_0x4f9139(0x305)]=function(_0x3aa271,_0x456ef5,_0x1d02ef){var _0x5bd149=_0x4f9139;return _0x2451da[_0x5bd149(0x221)](_0x1d02ef)[_0x5bd149(0x427)](_0x3aa271,_0x456ef5);};}()),_0x48eb7c[_0x3edeb8(0x305)];}));}(_0x5b3ce3)),_0x5b3ce3[_0x580760(0x483)];}var _0x41e7cb={'exports':{}},_0x17b33e=_0x41e7cb[_0x3125cd(0x483)],_0x4ffc9e;function _0x2e3d6e(){var _0x28f4c8=_0x3125cd;return _0x4ffc9e||(_0x4ffc9e=0x1,function(_0x5afc97,_0x409899){(function(_0x1e56d3,_0xf9e502,_0x4e36f3){var _0x3cfb6f=_0x29a5;_0x5afc97[_0x3cfb6f(0x483)]=_0xf9e502(_0x37b84e(),_0x525988());}(_0x17b33e,function(_0x1d8758){var _0x25693e=_0x29a5;_0x1d8758[_0x25693e(0x3a6)]['Cipher']||function(_0x5b7315){var _0xe49c4a=_0x25693e,_0x5a6c07=_0x1d8758,_0x27a4d1=_0x5a6c07['lib'],_0xfbdc61=_0x27a4d1[_0xe49c4a(0x3f4)],_0x48bb33=_0x27a4d1[_0xe49c4a(0x2f2)],_0x55ba4f=_0x27a4d1[_0xe49c4a(0x2b7)],_0x9057da=_0x5a6c07['enc'];_0x9057da['Utf8'];var _0x3b8ddb=_0x9057da[_0xe49c4a(0x348)],_0x4aea13=_0x5a6c07[_0xe49c4a(0x2d9)],_0x21dbf1=_0x4aea13[_0xe49c4a(0x305)],_0x437542=_0x27a4d1['Cipher']=_0x55ba4f[_0xe49c4a(0x292)]({'cfg':_0xfbdc61[_0xe49c4a(0x292)](),'createEncryptor':function(_0x32a4c9,_0xa187c){var _0x42452a=_0xe49c4a;return this['create'](this[_0x42452a(0x2fd)],_0x32a4c9,_0xa187c);},'createDecryptor':function(_0x4bb707,_0x5e37bd){var _0x4fe3cc=_0xe49c4a;return this[_0x4fe3cc(0x221)](this[_0x4fe3cc(0x1b3)],_0x4bb707,_0x5e37bd);},'init':function(_0x22a300,_0x110fcf,_0x3680b7){var _0x3bc74c=_0xe49c4a;this[_0x3bc74c(0x2de)]=this[_0x3bc74c(0x2de)]['extend'](_0x3680b7),this[_0x3bc74c(0x2e0)]=_0x22a300,this[_0x3bc74c(0x41b)]=_0x110fcf,this['reset']();},'reset':function(){var _0x57239b=_0xe49c4a;_0x55ba4f[_0x57239b(0x224)][_0x57239b(0x1d4)](this),this[_0x57239b(0x15f)]();},'process':function(_0x2599d4){var _0x4af3f3=_0xe49c4a;return this[_0x4af3f3(0x174)](_0x2599d4),this[_0x4af3f3(0x324)]();},'finalize':function(_0x41085d){var _0x66ce26=_0xe49c4a;_0x41085d&&this[_0x66ce26(0x174)](_0x41085d);var _0x1ebae4=this[_0x66ce26(0x43a)]();return _0x1ebae4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40ba99(_0x2abf16){return typeof _0x2abf16=='string'?_0x577246:_0x2e479c;}return function(_0x22ff88){return{'encrypt':function(_0x1da6b7,_0x2db1fc,_0x51e6a5){var _0x195150=_0x29a5;return _0x40ba99(_0x2db1fc)[_0x195150(0x426)](_0x22ff88,_0x1da6b7,_0x2db1fc,_0x51e6a5);},'decrypt':function(_0x35f63f,_0x2f8700,_0xb06c17){var _0x2670dd=_0x29a5;return _0x40ba99(_0x2f8700)[_0x2670dd(0x304)](_0x22ff88,_0x35f63f,_0x2f8700,_0xb06c17);}};};}())});_0x27a4d1[_0xe49c4a(0x1d7)]=_0x437542[_0xe49c4a(0x292)]({'_doFinalize':function(){var _0x326c96=_0xe49c4a,_0x1dd680=this[_0x326c96(0x324)](!0x0);return _0x1dd680;},'blockSize':0x1});var _0x73c7f2=_0x5a6c07[_0xe49c4a(0x25d)]={},_0x6785a4=_0x27a4d1[_0xe49c4a(0x14d)]=_0xfbdc61['extend']({'createEncryptor':function(_0x5a2e87,_0x2f4b02){var _0x4328bd=_0xe49c4a;return this[_0x4328bd(0x42b)][_0x4328bd(0x221)](_0x5a2e87,_0x2f4b02);},'createDecryptor':function(_0x576246,_0x263755){var _0x317c73=_0xe49c4a;return this[_0x317c73(0x3f5)][_0x317c73(0x221)](_0x576246,_0x263755);},'init':function(_0x47f5f6,_0x36f0ad){var _0x64f12a=_0xe49c4a;this[_0x64f12a(0x13b)]=_0x47f5f6,this['_iv']=_0x36f0ad;}}),_0x2a756f=_0x73c7f2[_0xe49c4a(0x3ab)]=(function(){var _0x37293e=_0xe49c4a,_0x986848=_0x6785a4[_0x37293e(0x292)]();_0x986848[_0x37293e(0x42b)]=_0x986848['extend']({'processBlock':function(_0x367e2e,_0xd43c3){var _0x1c2d36=_0x37293e,_0x458459=this[_0x1c2d36(0x13b)],_0x552095=_0x458459[_0x1c2d36(0xeb)];_0x3ab7a6['call'](this,_0x367e2e,_0xd43c3,_0x552095),_0x458459[_0x1c2d36(0x146)](_0x367e2e,_0xd43c3),this[_0x1c2d36(0x43e)]=_0x367e2e[_0x1c2d36(0x3d9)](_0xd43c3,_0xd43c3+_0x552095);}}),_0x986848[_0x37293e(0x3f5)]=_0x986848['extend']({'processBlock':function(_0x4878cc,_0x231569){var _0x4e1ca6=_0x37293e,_0x381f53=this[_0x4e1ca6(0x13b)],_0x530993=_0x381f53[_0x4e1ca6(0xeb)],_0x2de772=_0x4878cc[_0x4e1ca6(0x3d9)](_0x231569,_0x231569+_0x530993);_0x381f53[_0x4e1ca6(0x3f1)](_0x4878cc,_0x231569),_0x3ab7a6[_0x4e1ca6(0x1d4)](this,_0x4878cc,_0x231569,_0x530993),this['_prevBlock']=_0x2de772;}});function _0x3ab7a6(_0x575e1d,_0x2def80,_0x328673){var _0x7676d7=_0x37293e,_0x542103,_0x466ad8=this[_0x7676d7(0x3ce)];_0x466ad8?(_0x542103=_0x466ad8,this['_iv']=_0x5b7315):_0x542103=this[_0x7676d7(0x43e)];for(var _0x142031=0x0;_0x142031<_0x328673;_0x142031++)_0x575e1d[_0x2def80+_0x142031]^=_0x542103[_0x142031];}return _0x986848;}()),_0x2a0444=_0x5a6c07[_0xe49c4a(0x2cf)]={},_0x4a18f8=_0x2a0444[_0xe49c4a(0x103)]={'pad':function(_0x168682,_0xc3763f){var _0x11dafa=_0xe49c4a;for(var _0x28d810=_0xc3763f*0x4,_0x320d0f=_0x28d810-_0x168682['sigBytes']%_0x28d810,_0x5092c1=_0x320d0f<<0x18|_0x320d0f<<0x10|_0x320d0f<<0x8|_0x320d0f,_0xa607af=[],_0x4021c2=0x0;_0x4021c2<_0x320d0f;_0x4021c2+=0x4)_0xa607af['push'](_0x5092c1);var _0x2f46ac=_0x48bb33[_0x11dafa(0x221)](_0xa607af,_0x320d0f);_0x168682[_0x11dafa(0x25c)](_0x2f46ac);},'unpad':function(_0x5872d5){var _0x59b681=_0xe49c4a,_0x1fc204=_0x5872d5[_0x59b681(0x186)][_0x5872d5['sigBytes']-0x1>>>0x2]&0xff;_0x5872d5[_0x59b681(0x1bf)]-=_0x1fc204;}};_0x27a4d1['BlockCipher']=_0x437542[_0xe49c4a(0x292)]({'cfg':_0x437542[_0xe49c4a(0x2de)][_0xe49c4a(0x292)]({'mode':_0x2a756f,'padding':_0x4a18f8}),'reset':function(){var _0x3c5eb1=_0xe49c4a,_0xb00e7f;_0x437542[_0x3c5eb1(0x224)][_0x3c5eb1(0x1d4)](this);var _0xab06bd=this[_0x3c5eb1(0x2de)],_0x29dbc9=_0xab06bd['iv'],_0x7ccc91=_0xab06bd[_0x3c5eb1(0x25d)];this[_0x3c5eb1(0x2e0)]==this[_0x3c5eb1(0x2fd)]?_0xb00e7f=_0x7ccc91[_0x3c5eb1(0x12d)]:(_0xb00e7f=_0x7ccc91['createDecryptor'],this[_0x3c5eb1(0x1b1)]=0x1),this[_0x3c5eb1(0x40f)]&&this[_0x3c5eb1(0x40f)][_0x3c5eb1(0x339)]==_0xb00e7f?this[_0x3c5eb1(0x40f)][_0x3c5eb1(0xd6)](this,_0x29dbc9&&_0x29dbc9[_0x3c5eb1(0x186)]):(this[_0x3c5eb1(0x40f)]=_0xb00e7f[_0x3c5eb1(0x1d4)](_0x7ccc91,this,_0x29dbc9&&_0x29dbc9[_0x3c5eb1(0x186)]),this['_mode'][_0x3c5eb1(0x339)]=_0xb00e7f);},'_doProcessBlock':function(_0x233b42,_0x2335e7){var _0x110df8=_0xe49c4a;this['_mode'][_0x110df8(0x1c8)](_0x233b42,_0x2335e7);},'_doFinalize':function(){var _0x450842=_0xe49c4a,_0x57e873,_0x5cd754=this[_0x450842(0x2de)][_0x450842(0x269)];return this[_0x450842(0x2e0)]==this['_ENC_XFORM_MODE']?(_0x5cd754[_0x450842(0x2cf)](this[_0x450842(0xd5)],this[_0x450842(0xeb)]),_0x57e873=this[_0x450842(0x324)](!0x0)):(_0x57e873=this['_process'](!0x0),_0x5cd754[_0x450842(0x2d4)](_0x57e873)),_0x57e873;},'blockSize':0x80/0x20});var _0x1def82=_0x27a4d1[_0xe49c4a(0x13f)]=_0xfbdc61['extend']({'init':function(_0x16e43a){var _0x5a1ddd=_0xe49c4a;this[_0x5a1ddd(0x439)](_0x16e43a);},'toString':function(_0x9593be){var _0xe5ebdf=_0xe49c4a;return(_0x9593be||this[_0xe5ebdf(0x13d)])[_0xe5ebdf(0x1b5)](this);}}),_0x2199df=_0x5a6c07[_0xe49c4a(0x414)]={},_0x155d97=_0x2199df[_0xe49c4a(0x366)]={'stringify':function(_0x4fc01e){var _0x317306=_0xe49c4a,_0x9fef6c,_0x391561=_0x4fc01e[_0x317306(0x409)],_0x2a9069=_0x4fc01e[_0x317306(0x25f)];return _0x2a9069?_0x9fef6c=_0x48bb33[_0x317306(0x221)]([0x53616c74,0x65645f5f])[_0x317306(0x25c)](_0x2a9069)[_0x317306(0x25c)](_0x391561):_0x9fef6c=_0x391561,_0x9fef6c[_0x317306(0x195)](_0x3b8ddb);},'parse':function(_0x444922){var _0x3f01e4=_0xe49c4a,_0x25500a,_0xdf0a9d=_0x3b8ddb[_0x3f01e4(0x345)](_0x444922),_0x36e1a5=_0xdf0a9d[_0x3f01e4(0x186)];return _0x36e1a5[0x0]==0x53616c74&&_0x36e1a5[0x1]==0x65645f5f&&(_0x25500a=_0x48bb33[_0x3f01e4(0x221)](_0x36e1a5['slice'](0x2,0x4)),_0x36e1a5['splice'](0x0,0x4),_0xdf0a9d[_0x3f01e4(0x1bf)]-=0x10),_0x1def82[_0x3f01e4(0x221)]({'ciphertext':_0xdf0a9d,'salt':_0x25500a});}},_0x2e479c=_0x27a4d1[_0xe49c4a(0x303)]=_0xfbdc61[_0xe49c4a(0x292)]({'cfg':_0xfbdc61['extend']({'format':_0x155d97}),'encrypt':function(_0x26c258,_0x5cbd07,_0x5ee360,_0xc84a96){var _0x34a631=_0xe49c4a;_0xc84a96=this[_0x34a631(0x2de)][_0x34a631(0x292)](_0xc84a96);var _0x484718=_0x26c258[_0x34a631(0x12d)](_0x5ee360,_0xc84a96),_0x3d7925=_0x484718[_0x34a631(0x3c9)](_0x5cbd07),_0x461da9=_0x484718['cfg'];return _0x1def82[_0x34a631(0x221)]({'ciphertext':_0x3d7925,'key':_0x5ee360,'iv':_0x461da9['iv'],'algorithm':_0x26c258,'mode':_0x461da9[_0x34a631(0x25d)],'padding':_0x461da9[_0x34a631(0x269)],'blockSize':_0x26c258[_0x34a631(0xeb)],'formatter':_0xc84a96[_0x34a631(0x414)]});},'decrypt':function(_0x4df07f,_0x4d1ab3,_0x2b3d22,_0x33c58c){var _0x6ac7fd=_0xe49c4a;_0x33c58c=this[_0x6ac7fd(0x2de)]['extend'](_0x33c58c),_0x4d1ab3=this[_0x6ac7fd(0x201)](_0x4d1ab3,_0x33c58c['format']);var _0x356fd2=_0x4df07f['createDecryptor'](_0x2b3d22,_0x33c58c)[_0x6ac7fd(0x3c9)](_0x4d1ab3[_0x6ac7fd(0x409)]);return _0x356fd2;},'_parse':function(_0x512c8e,_0x1a18e8){return typeof _0x512c8e=='string'?_0x1a18e8['parse'](_0x512c8e,this):_0x512c8e;}}),_0x16bcb6=_0x5a6c07[_0xe49c4a(0x3c8)]={},_0x312269=_0x16bcb6['OpenSSL']={'execute':function(_0x2a3a47,_0x4412bc,_0x20bcf1,_0x56f1d5,_0x5f0fab){var _0x3aa912=_0xe49c4a;if(_0x56f1d5||(_0x56f1d5=_0x48bb33[_0x3aa912(0x2aa)](0x40/0x8)),_0x5f0fab)var _0x3a9be8=_0x21dbf1[_0x3aa912(0x221)]({'keySize':_0x4412bc+_0x20bcf1,'hasher':_0x5f0fab})[_0x3aa912(0x427)](_0x2a3a47,_0x56f1d5);else var _0x3a9be8=_0x21dbf1[_0x3aa912(0x221)]({'keySize':_0x4412bc+_0x20bcf1})[_0x3aa912(0x427)](_0x2a3a47,_0x56f1d5);var _0x53ffdd=_0x48bb33[_0x3aa912(0x221)](_0x3a9be8[_0x3aa912(0x186)][_0x3aa912(0x3d9)](_0x4412bc),_0x20bcf1*0x4);return _0x3a9be8[_0x3aa912(0x1bf)]=_0x4412bc*0x4,_0x1def82[_0x3aa912(0x221)]({'key':_0x3a9be8,'iv':_0x53ffdd,'salt':_0x56f1d5});}},_0x577246=_0x27a4d1['PasswordBasedCipher']=_0x2e479c['extend']({'cfg':_0x2e479c[_0xe49c4a(0x2de)][_0xe49c4a(0x292)]({'kdf':_0x312269}),'encrypt':function(_0x375fe8,_0x358290,_0x12ae70,_0x2311bc){var _0x235def=_0xe49c4a;_0x2311bc=this[_0x235def(0x2de)][_0x235def(0x292)](_0x2311bc);var _0x3e971f=_0x2311bc[_0x235def(0x3c8)][_0x235def(0x25a)](_0x12ae70,_0x375fe8['keySize'],_0x375fe8[_0x235def(0x36b)],_0x2311bc['salt'],_0x2311bc[_0x235def(0x25e)]);_0x2311bc['iv']=_0x3e971f['iv'];var _0x4b982a=_0x2e479c[_0x235def(0x426)][_0x235def(0x1d4)](this,_0x375fe8,_0x358290,_0x3e971f['key'],_0x2311bc);return _0x4b982a[_0x235def(0x439)](_0x3e971f),_0x4b982a;},'decrypt':function(_0x20e258,_0x5744b9,_0x1124c1,_0x3cab35){var _0xd5a5b9=_0xe49c4a;_0x3cab35=this['cfg']['extend'](_0x3cab35),_0x5744b9=this[_0xd5a5b9(0x201)](_0x5744b9,_0x3cab35['format']);var _0x39f9b1=_0x3cab35['kdf'][_0xd5a5b9(0x25a)](_0x1124c1,_0x20e258[_0xd5a5b9(0x3ba)],_0x20e258['ivSize'],_0x5744b9[_0xd5a5b9(0x25f)],_0x3cab35[_0xd5a5b9(0x25e)]);_0x3cab35['iv']=_0x39f9b1['iv'];var _0x279573=_0x2e479c[_0xd5a5b9(0x304)]['call'](this,_0x20e258,_0x5744b9,_0x39f9b1[_0xd5a5b9(0x354)],_0x3cab35);return _0x279573;}});}();}));}(_0x41e7cb)),_0x41e7cb[_0x28f4c8(0x483)];}var _0x37786e=_0xd3719c[_0x3125cd(0x483)],_0x439496;function _0x236b4a(){var _0x10b9e7=_0x3125cd;return _0x439496||(_0x439496=0x1,function(_0x1e1ff4,_0x30e6ad){(function(_0x386759,_0x462fec,_0x2b80c7){var _0x1ee537=_0x29a5;_0x1e1ff4[_0x1ee537(0x483)]=_0x462fec(_0x37b84e(),_0x48e90e(),_0x18eba3(),_0x525988(),_0x2e3d6e());}(_0x37786e,function(_0x2da98c){var _0x489f8d=_0x29a5;return(function(){var _0x25480b=_0x29a5,_0xf6d082=_0x2da98c,_0x3dad3a=_0xf6d082[_0x25480b(0x3a6)],_0x48edd5=_0x3dad3a[_0x25480b(0x3d3)],_0x19e7ad=_0xf6d082[_0x25480b(0x2d9)],_0x442d0d=[],_0x174c1f=[],_0x8df3d4=[],_0x3cf685=[],_0x137d82=[],_0x364504=[],_0x482d7c=[],_0x52ba48=[],_0x18d758=[],_0x38339a=[];(function(){for(var _0xb5f15f=[],_0xc4082b=0x0;_0xc4082b<0x100;_0xc4082b++)_0xc4082b<0x80?_0xb5f15f[_0xc4082b]=_0xc4082b<<0x1:_0xb5f15f[_0xc4082b]=_0xc4082b<<0x1^0x11b;for(var _0x2e798e=0x0,_0x4a673c=0x0,_0xc4082b=0x0;_0xc4082b<0x100;_0xc4082b++){var _0x1c0c45=_0x4a673c^_0x4a673c<<0x1^_0x4a673c<<0x2^_0x4a673c<<0x3^_0x4a673c<<0x4;_0x1c0c45=_0x1c0c45>>>0x8^_0x1c0c45&0xff^0x63,_0x442d0d[_0x2e798e]=_0x1c0c45,_0x174c1f[_0x1c0c45]=_0x2e798e;var _0x3aa9b2=_0xb5f15f[_0x2e798e],_0x376066=_0xb5f15f[_0x3aa9b2],_0x56bcc1=_0xb5f15f[_0x376066],_0x3cf817=_0xb5f15f[_0x1c0c45]*0x101^_0x1c0c45*0x1010100;_0x8df3d4[_0x2e798e]=_0x3cf817<<0x18|_0x3cf817>>>0x8,_0x3cf685[_0x2e798e]=_0x3cf817<<0x10|_0x3cf817>>>0x10,_0x137d82[_0x2e798e]=_0x3cf817<<0x8|_0x3cf817>>>0x18,_0x364504[_0x2e798e]=_0x3cf817;var _0x3cf817=_0x56bcc1*0x1010101^_0x376066*0x10001^_0x3aa9b2*0x101^_0x2e798e*0x1010100;_0x482d7c[_0x1c0c45]=_0x3cf817<<0x18|_0x3cf817>>>0x8,_0x52ba48[_0x1c0c45]=_0x3cf817<<0x10|_0x3cf817>>>0x10,_0x18d758[_0x1c0c45]=_0x3cf817<<0x8|_0x3cf817>>>0x18,_0x38339a[_0x1c0c45]=_0x3cf817,_0x2e798e?(_0x2e798e=_0x3aa9b2^_0xb5f15f[_0xb5f15f[_0xb5f15f[_0x56bcc1^_0x3aa9b2]]],_0x4a673c^=_0xb5f15f[_0xb5f15f[_0x4a673c]]):_0x2e798e=_0x4a673c=0x1;}}());var _0x245e89=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bea0a=_0x19e7ad['AES']=_0x48edd5[_0x25480b(0x292)]({'_doReset':function(){var _0x5c1a0f=_0x25480b,_0x369c2a;if(!(this[_0x5c1a0f(0x159)]&&this[_0x5c1a0f(0x313)]===this[_0x5c1a0f(0x41b)])){for(var _0x5dd312=this[_0x5c1a0f(0x313)]=this[_0x5c1a0f(0x41b)],_0x17dc31=_0x5dd312[_0x5c1a0f(0x186)],_0x33fd6c=_0x5dd312['sigBytes']/0x4,_0x2eba3c=this['_nRounds']=_0x33fd6c+0x6,_0x434174=(_0x2eba3c+0x1)*0x4,_0x2900e8=this['_keySchedule']=[],_0x57535c=0x0;_0x57535c<_0x434174;_0x57535c++)_0x57535c<_0x33fd6c?_0x2900e8[_0x57535c]=_0x17dc31[_0x57535c]:(_0x369c2a=_0x2900e8[_0x57535c-0x1],_0x57535c%_0x33fd6c?_0x33fd6c>0x6&&_0x57535c%_0x33fd6c==0x4&&(_0x369c2a=_0x442d0d[_0x369c2a>>>0x18]<<0x18|_0x442d0d[_0x369c2a>>>0x10&0xff]<<0x10|_0x442d0d[_0x369c2a>>>0x8&0xff]<<0x8|_0x442d0d[_0x369c2a&0xff]):(_0x369c2a=_0x369c2a<<0x8|_0x369c2a>>>0x18,_0x369c2a=_0x442d0d[_0x369c2a>>>0x18]<<0x18|_0x442d0d[_0x369c2a>>>0x10&0xff]<<0x10|_0x442d0d[_0x369c2a>>>0x8&0xff]<<0x8|_0x442d0d[_0x369c2a&0xff],_0x369c2a^=_0x245e89[_0x57535c/_0x33fd6c|0x0]<<0x18),_0x2900e8[_0x57535c]=_0x2900e8[_0x57535c-_0x33fd6c]^_0x369c2a);for(var _0x2e8747=this['_invKeySchedule']=[],_0x1f78d0=0x0;_0x1f78d0<_0x434174;_0x1f78d0++){var _0x57535c=_0x434174-_0x1f78d0;if(_0x1f78d0%0x4)var _0x369c2a=_0x2900e8[_0x57535c];else var _0x369c2a=_0x2900e8[_0x57535c-0x4];_0x1f78d0<0x4||_0x57535c<=0x4?_0x2e8747[_0x1f78d0]=_0x369c2a:_0x2e8747[_0x1f78d0]=_0x482d7c[_0x442d0d[_0x369c2a>>>0x18]]^_0x52ba48[_0x442d0d[_0x369c2a>>>0x10&0xff]]^_0x18d758[_0x442d0d[_0x369c2a>>>0x8&0xff]]^_0x38339a[_0x442d0d[_0x369c2a&0xff]];}}},'encryptBlock':function(_0x28c2f6,_0x582a31){var _0xfb1c4c=_0x25480b;this[_0xfb1c4c(0x36f)](_0x28c2f6,_0x582a31,this['_keySchedule'],_0x8df3d4,_0x3cf685,_0x137d82,_0x364504,_0x442d0d);},'decryptBlock':function(_0xe81a71,_0x4abc5c){var _0x5e0c10=_0x25480b,_0x2c8c6f=_0xe81a71[_0x4abc5c+0x1];_0xe81a71[_0x4abc5c+0x1]=_0xe81a71[_0x4abc5c+0x3],_0xe81a71[_0x4abc5c+0x3]=_0x2c8c6f,this[_0x5e0c10(0x36f)](_0xe81a71,_0x4abc5c,this['_invKeySchedule'],_0x482d7c,_0x52ba48,_0x18d758,_0x38339a,_0x174c1f);var _0x2c8c6f=_0xe81a71[_0x4abc5c+0x1];_0xe81a71[_0x4abc5c+0x1]=_0xe81a71[_0x4abc5c+0x3],_0xe81a71[_0x4abc5c+0x3]=_0x2c8c6f;},'_doCryptBlock':function(_0x964b78,_0xc21345,_0x4505fd,_0x341781,_0x280e86,_0x4618f9,_0x2c2169,_0x6159e){var _0x45fbd3=_0x25480b;for(var _0x4c85f0=this[_0x45fbd3(0x159)],_0x19c91f=_0x964b78[_0xc21345]^_0x4505fd[0x0],_0x2dd16c=_0x964b78[_0xc21345+0x1]^_0x4505fd[0x1],_0x2a4428=_0x964b78[_0xc21345+0x2]^_0x4505fd[0x2],_0x3684f5=_0x964b78[_0xc21345+0x3]^_0x4505fd[0x3],_0x34ca35=0x4,_0x68528a=0x1;_0x68528a<_0x4c85f0;_0x68528a++){var _0x3bfb1d=_0x341781[_0x19c91f>>>0x18]^_0x280e86[_0x2dd16c>>>0x10&0xff]^_0x4618f9[_0x2a4428>>>0x8&0xff]^_0x2c2169[_0x3684f5&0xff]^_0x4505fd[_0x34ca35++],_0x4348c3=_0x341781[_0x2dd16c>>>0x18]^_0x280e86[_0x2a4428>>>0x10&0xff]^_0x4618f9[_0x3684f5>>>0x8&0xff]^_0x2c2169[_0x19c91f&0xff]^_0x4505fd[_0x34ca35++],_0x5caa33=_0x341781[_0x2a4428>>>0x18]^_0x280e86[_0x3684f5>>>0x10&0xff]^_0x4618f9[_0x19c91f>>>0x8&0xff]^_0x2c2169[_0x2dd16c&0xff]^_0x4505fd[_0x34ca35++],_0x2f6c4c=_0x341781[_0x3684f5>>>0x18]^_0x280e86[_0x19c91f>>>0x10&0xff]^_0x4618f9[_0x2dd16c>>>0x8&0xff]^_0x2c2169[_0x2a4428&0xff]^_0x4505fd[_0x34ca35++];_0x19c91f=_0x3bfb1d,_0x2dd16c=_0x4348c3,_0x2a4428=_0x5caa33,_0x3684f5=_0x2f6c4c;}var _0x3bfb1d=(_0x6159e[_0x19c91f>>>0x18]<<0x18|_0x6159e[_0x2dd16c>>>0x10&0xff]<<0x10|_0x6159e[_0x2a4428>>>0x8&0xff]<<0x8|_0x6159e[_0x3684f5&0xff])^_0x4505fd[_0x34ca35++],_0x4348c3=(_0x6159e[_0x2dd16c>>>0x18]<<0x18|_0x6159e[_0x2a4428>>>0x10&0xff]<<0x10|_0x6159e[_0x3684f5>>>0x8&0xff]<<0x8|_0x6159e[_0x19c91f&0xff])^_0x4505fd[_0x34ca35++],_0x5caa33=(_0x6159e[_0x2a4428>>>0x18]<<0x18|_0x6159e[_0x3684f5>>>0x10&0xff]<<0x10|_0x6159e[_0x19c91f>>>0x8&0xff]<<0x8|_0x6159e[_0x2dd16c&0xff])^_0x4505fd[_0x34ca35++],_0x2f6c4c=(_0x6159e[_0x3684f5>>>0x18]<<0x18|_0x6159e[_0x19c91f>>>0x10&0xff]<<0x10|_0x6159e[_0x2dd16c>>>0x8&0xff]<<0x8|_0x6159e[_0x2a4428&0xff])^_0x4505fd[_0x34ca35++];_0x964b78[_0xc21345]=_0x3bfb1d,_0x964b78[_0xc21345+0x1]=_0x4348c3,_0x964b78[_0xc21345+0x2]=_0x5caa33,_0x964b78[_0xc21345+0x3]=_0x2f6c4c;},'keySize':0x100/0x20});_0xf6d082[_0x25480b(0x475)]=_0x48edd5[_0x25480b(0x19f)](_0x4bea0a);}()),_0x2da98c[_0x489f8d(0x475)];}));}(_0xd3719c)),_0xd3719c[_0x10b9e7(0x483)];}var _0x341625=_0x236b4a();const _0x437f01=_0x22f387(_0x341625);var _0x3cbe2a=_0x48e90e();const _0x2957a1=_0x22f387(_0x3cbe2a);var _0x3ed6c2={'exports':{}},_0x40b7cd=_0x3ed6c2[_0x3125cd(0x483)],_0x4405ec;function _0x268f28(){return _0x4405ec||(_0x4405ec=0x1,function(_0xa26f96,_0x29815a){(function(_0x25ca63,_0x41d51f){var _0x4dfe26=_0x29a5;_0xa26f96[_0x4dfe26(0x483)]=_0x41d51f(_0x37b84e());}(_0x40b7cd,function(_0x40e9d7){var _0xfb80b4=_0x29a5;return _0x40e9d7[_0xfb80b4(0x363)][_0xfb80b4(0x2ad)];}));}(_0x3ed6c2)),_0x3ed6c2['exports'];}var _0x1f034d=_0x268f28();const _0x351000=_0x22f387(_0x1f034d);var _0x33d056={'exports':{}},_0x58a8d6=_0x33d056[_0x3125cd(0x483)],_0x626a73;function _0x5ba5e1(){return _0x626a73||(_0x626a73=0x1,function(_0x21441f,_0x4663b7){(function(_0x3fcded,_0x2fe223){var _0x286cc7=_0x29a5;_0x21441f[_0x286cc7(0x483)]=_0x2fe223(_0x37b84e());}(_0x58a8d6,function(_0xfc86f2){var _0x4753d5=_0x29a5;return(function(){var _0x392252=_0x29a5;if(typeof ArrayBuffer==_0x392252(0x44f)){var _0x2c7399=_0xfc86f2,_0x884a3=_0x2c7399[_0x392252(0x3a6)],_0x47a341=_0x884a3['WordArray'],_0x4ee6aa=_0x47a341[_0x392252(0xd6)],_0x509aba=_0x47a341[_0x392252(0xd6)]=function(_0x419960){var _0x353874=_0x392252;if(_0x419960 instanceof ArrayBuffer&&(_0x419960=new Uint8Array(_0x419960)),(_0x419960 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x419960 instanceof Uint8ClampedArray||_0x419960 instanceof Int16Array||_0x419960 instanceof Uint16Array||_0x419960 instanceof Int32Array||_0x419960 instanceof Uint32Array||_0x419960 instanceof Float32Array||_0x419960 instanceof Float64Array)&&(_0x419960=new Uint8Array(_0x419960[_0x353874(0x249)],_0x419960['byteOffset'],_0x419960[_0x353874(0x1fb)])),_0x419960 instanceof Uint8Array){for(var _0x8c7004=_0x419960[_0x353874(0x1fb)],_0x146c3d=[],_0x52c033=0x0;_0x52c033<_0x8c7004;_0x52c033++)_0x146c3d[_0x52c033>>>0x2]|=_0x419960[_0x52c033]<<0x18-_0x52c033%0x4*0x8;_0x4ee6aa['call'](this,_0x146c3d,_0x8c7004);}else _0x4ee6aa[_0x353874(0x17d)](this,arguments);};_0x509aba['prototype']=_0x47a341;}}()),_0xfc86f2[_0x4753d5(0x3a6)][_0x4753d5(0x2f2)];}));}(_0x33d056)),_0x33d056['exports'];}var _0x15523c=_0x5ba5e1();const _0x19aea3=_0x22f387(_0x15523c);var _0xb099b7={'exports':{}},_0x520a1f=_0xb099b7[_0x3125cd(0x483)],_0x11c404;function _0x5dcd3f(){var _0xbb8d03=_0x3125cd;return _0x11c404||(_0x11c404=0x1,function(_0x4bfa85,_0x17aa71){(function(_0x5938de,_0x12729e,_0x3fd9f5){var _0x717384=_0x29a5;_0x4bfa85[_0x717384(0x483)]=_0x12729e(_0x37b84e(),_0x2e3d6e());}(_0x520a1f,function(_0x234e24){var _0x475f4a=_0x29a5;return _0x234e24[_0x475f4a(0x2cf)][_0x475f4a(0x273)]={'pad':function(){},'unpad':function(){}},_0x234e24[_0x475f4a(0x2cf)][_0x475f4a(0x273)];}));}(_0xb099b7)),_0xb099b7[_0xbb8d03(0x483)];}var _0x3cfb23=_0x5dcd3f();const _0x4162aa=_0x22f387(_0x3cfb23);function _0x50edc0(_0x452dec,_0x12397a){var _0x42c01b=_0x3125cd;const _0x321157=_0x12397a-_0x452dec['length']%_0x12397a,_0x5e55f5=String[_0x42c01b(0x306)](_0x321157)[_0x42c01b(0x11d)](_0x321157);return _0x452dec+_0x5e55f5;}function _0xe6f79b(_0x59f9da,_0x1c6fc6){var _0x1441ab=_0x3125cd;const _0x383813=_0x19aea3[_0x1441ab(0x2aa)](0x10),_0x224120=_0x50edc0(_0x59f9da,0x10),_0x59edb3=_0x437f01[_0x1441ab(0x426)](_0x351000['parse'](_0x224120),_0x2957a1[_0x1441ab(0x345)](_0x1c6fc6),{'iv':_0x383813,'padding':_0x4162aa});return _0x383813['concat'](_0x59edb3['ciphertext'])[_0x1441ab(0x195)](_0x2957a1);}function _0x57fad0(){var _0x5b7068=_0x3125cd;const _0x4f3333=_0x13677f[_0x5b7068(0x136)]()[_0x5b7068(0x38a)];if(_0x4f3333){const _0x1ea6e3={'time':Math['floor'](Date[_0x5b7068(0x412)]()/0x3e8),'domain':location[_0x5b7068(0x32c)]};return _0xe6f79b(JSON[_0x5b7068(0x1b5)](_0x1ea6e3),_0x4f3333);}}var _0x560021=Object[_0x3125cd(0x143)],_0x28fc2e=(_0xff485d,_0x406c88,_0x8f8d66,_0x258dd2)=>{var _0x4ad408=_0x3125cd;for(var _0xc7926d=_0x258dd2>0x1?void 0x0:_0x258dd2?_0x560021(_0x406c88,_0x8f8d66):_0x406c88,_0x1a5f17=_0xff485d[_0x4ad408(0x367)]-0x1,_0x50b780;_0x1a5f17>=0x0;_0x1a5f17--)(_0x50b780=_0xff485d[_0x1a5f17])&&(_0xc7926d=_0x50b780(_0xc7926d)||_0xc7926d);return _0xc7926d;},_0x4ceedc=(_0x14b7ea,_0x44885a)=>(_0x5523d3,_0xcbc319)=>_0x44885a(_0x5523d3,_0xcbc319,_0x14b7ea);let _0x3cdf86=class{constructor(_0xd295da){var _0x5c8f54=_0x3125cd;this[_0x5c8f54(0x35b)]=_0xd295da,this[_0x5c8f54(0x115)]();}[_0x3125cd(0x115)](){var _0x344820=_0x3125cd;this[_0x344820(0x35b)][_0x344820(0x15e)]({'interceptor':(_0x257e77,_0x4f19a5)=>{var _0x391fab=_0x344820;const _0x45d59e=_0x257e77['headers'],_0x437315=_0x57fad0();return _0x437315&&_0x45d59e['set'](_0x391fab(0x311),_0x437315),_0x4f19a5(_0x257e77);}});}};_0x3cdf86=_0x28fc2e([_0x4ceedc(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService']))],_0x3cdf86);var _0x510da1=Object[_0x3125cd(0x143)],_0x5a9abe=(_0x42899d,_0x3c03af,_0x2405b0,_0x3c4e96)=>{var _0x158e5e=_0x3125cd;for(var _0x59868b=_0x3c4e96>0x1?void 0x0:_0x3c4e96?_0x510da1(_0x3c03af,_0x2405b0):_0x3c03af,_0x2c6bcf=_0x42899d[_0x158e5e(0x367)]-0x1,_0x295d36;_0x2c6bcf>=0x0;_0x2c6bcf--)(_0x295d36=_0x42899d[_0x2c6bcf])&&(_0x59868b=_0x295d36(_0x59868b)||_0x59868b);return _0x59868b;},_0x11c783=(_0x122947,_0x1a987c)=>(_0x540163,_0x2521b5)=>_0x1a987c(_0x540163,_0x2521b5,_0x122947);_0x1a0555['DataLoaderService']=class extends _0x5c9291['RxDisposable']{constructor(_0x4b62f9,_0x4628c5,_0x242985){var _0x15e8e6=_0x3125cd;super(),_0x27328e(this,_0x15e8e6(0x104),new _0x41392c[(_0x15e8e6(0x35c))](null)),_0x27328e(this,'unitInfo$',this[_0x15e8e6(0x104)][_0x15e8e6(0x241)]()),(this[_0x15e8e6(0x18a)]=_0x4b62f9,this[_0x15e8e6(0x1f7)]=_0x4628c5,this[_0x15e8e6(0x219)]=_0x242985);}async['loadUnitOfRevision'](_0x3a36db,_0x4a6d1b,_0x367d05){var _0xe3ba20=_0x3125cd;this[_0xe3ba20(0x104)][_0xe3ba20(0x1b9)]({'unitId':_0x3a36db,'type':_0x4a6d1b});let _0x57d4f7=null;switch(_0x4a6d1b){case _0x5c7530[_0xe3ba20(0x350)]:{_0x57d4f7=await this[_0xe3ba20(0x1f7)][_0xe3ba20(0x2b9)](_0x3a36db,_0x367d05);break;}case _0x5c7530['UNIVER_DOC']:{_0x57d4f7=await this['_snapshotService'][_0xe3ba20(0x382)](_0x3a36db,_0x367d05);break;}default:{this['_logService'][_0xe3ba20(0x231)](_0xe3ba20(0x34a),_0xe3ba20(0x31f));break;}}return _0x57d4f7;}async[_0x3125cd(0x2e9)](_0x18a913,_0x42fb9c,_0x48cf3b){var _0x4a8631=_0x3125cd,_0x42bf2a;this[_0x4a8631(0x104)][_0x4a8631(0x1b9)]({'unitId':_0x18a913,'type':_0x42fb9c,'subUnitId':_0x48cf3b});let _0x3d3aa3=0x0;const _0xb17174=await((_0x42bf2a=this['_localCacheService'])==null?void 0x0:_0x42bf2a['loadOfflineData'](_0x18a913));return _0xb17174&&(_0xb17174[_0x4a8631(0x2e3)]||_0xb17174[_0x4a8631(0x457)][_0x4a8631(0x367)]!==0x0)&&(_0x3d3aa3=_0xb17174[_0x4a8631(0x107)]),_0x3d3aa3===0x0&&this['_logService'][_0x4a8631(0x20c)](_0x4a8631(0x34a),_0x4a8631(0x1cc)),this[_0x4a8631(0x216)](_0x18a913,_0x42fb9c,_0x3d3aa3);}},_0x1a0555[_0x3125cd(0x18f)]=_0x5a9abe([_0x11c783(0x0,_0x5c9291[_0x3125cd(0x109)]),_0x11c783(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x319b76[_0x3125cd(0x42a)])),_0x11c783(0x2,_0x5c9291['Optional'](_0x1d3985))],_0x1a0555[_0x3125cd(0x18f)]);var _0xb2e164=Object[_0x3125cd(0x143)],_0x2446a=(_0x38e2c3,_0x504357,_0x304dbc,_0x477b80)=>{for(var _0x32d9f0=_0x477b80>0x1?void 0x0:_0x477b80?_0xb2e164(_0x504357,_0x304dbc):_0x504357,_0x30136f=_0x38e2c3['length']-0x1,_0x51ff75;_0x30136f>=0x0;_0x30136f--)(_0x51ff75=_0x38e2c3[_0x30136f])&&(_0x32d9f0=_0x51ff75(_0x32d9f0)||_0x32d9f0);return _0x32d9f0;},_0x5ca237=(_0x4e5ab0,_0x3dcd84)=>(_0x231fb7,_0x30a9b2)=>_0x3dcd84(_0x231fb7,_0x30a9b2,_0x4e5ab0);const _0xf47379=[_0x3125cd(0x3a1),_0x3125cd(0x40b),_0x3125cd(0x3da),_0x3125cd(0x452),'image/bmp'],_0x1dce9e=0x5*0x400*0x400,_0x3a9832='/universer-api/stream/file/upload',_0x409482=_0x3125cd(0x433);_0x1a0555['CollaborationImageIoService']=class{constructor(_0x432fb1,_0x3d3b4e,_0x34ed21){var _0x5e5359=_0x3125cd;_0x27328e(this,_0x5e5359(0x3a8),0x0),_0x27328e(this,_0x5e5359(0x21c),new _0x41392c[(_0x5e5359(0x225))]()),_0x27328e(this,_0x5e5359(0x3f2),this[_0x5e5359(0x21c)]),_0x27328e(this,'_imageSourceCache',new Map()),(this[_0x5e5359(0x35b)]=_0x432fb1,this[_0x5e5359(0xdf)]=_0x3d3b4e,this[_0x5e5359(0x471)]=_0x34ed21);}[_0x3125cd(0x403)](_0xe41033){var _0x37a727=_0x3125cd;this['_waitCount']=_0xe41033,this['_change$'][_0x37a727(0x1b9)](_0xe41033);}[_0x3125cd(0x477)](_0x2560ac,_0x36b416){var _0x3568ba=_0x3125cd;if(_0x36b416===_0x377a64[_0x3568ba(0x2f7)][_0x3568ba(0x38e)]){const _0x29ebd0=new Image();return _0x29ebd0[_0x3568ba(0x218)]=_0x2560ac,_0x29ebd0;}return this[_0x3568ba(0x450)][_0x3568ba(0x108)](_0x2560ac);}[_0x3125cd(0x41c)](_0x22266b,_0x54e719,_0x24e415){var _0x15a34a=_0x3125cd;_0x54e719===_0x377a64['ImageSourceType'][_0x15a34a(0x38e)]||_0x24e415==null||this[_0x15a34a(0x450)]['set'](_0x22266b,_0x24e415);}async[_0x3125cd(0x3ad)](_0xa8601e){var _0x47d5c0=_0x3125cd;try{const _0x3a2a64=this[_0x47d5c0(0x3ed)](this[_0x47d5c0(0x28c)](),''+_0xa8601e),_0x20bf2b=(await this[_0x47d5c0(0x35b)]['get'](_0x3a2a64))[_0x47d5c0(0x44c)];if(_0x20bf2b['error']&&_0x20bf2b[_0x47d5c0(0x231)][_0x47d5c0(0x162)]===_0x720ba3['OK']){const _0x290443=new URL(_0x20bf2b['url'],this[_0x47d5c0(0x194)]())[_0x47d5c0(0x195)]();return Promise[_0x47d5c0(0x343)](_0x290443);}return Promise['reject'](_0x20bf2b[_0x47d5c0(0x231)]);}catch(_0x3b4979){return Promise[_0x47d5c0(0x397)](_0x3b4979);}}async[_0x3125cd(0x275)](_0x51bb38){var _0xdcf34d=_0x3125cd;let _0x4611f4='';if(!_0xf47379['includes'](_0x51bb38[_0xdcf34d(0x266)]))return this['_decreaseWaiting'](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64[_0xdcf34d(0x329)]['ERROR_IMAGE_TYPE']));if(_0x51bb38[_0xdcf34d(0x18b)]>_0x1dce9e)return this[_0xdcf34d(0xec)](),Promise['reject'](new Error(_0x377a64[_0xdcf34d(0x329)][_0xdcf34d(0x35f)]));try{const _0x54e3a4=new FormData();_0x54e3a4[_0xdcf34d(0x1ee)](_0xdcf34d(0x227),_0x51bb38);const _0x33ca8f=this[_0xdcf34d(0x471)][_0xdcf34d(0x135)](),_0x6f229=_0x33ca8f==null?void 0x0:_0x33ca8f[_0xdcf34d(0x388)]();if(!_0x6f229)throw new Error(_0xdcf34d(0x3b2));const _0x945f9e=this[_0xdcf34d(0x2d5)]()+_0xdcf34d(0x27f)+_0x51bb38[_0xdcf34d(0x18b)][_0xdcf34d(0x195)]()+_0xdcf34d(0x3c6)+_0xe15aa3[_0xdcf34d(0x27c)]+_0xdcf34d(0x408)+encodeURIComponent(_0x6f229),_0x1a8c13={'body':_0x54e3a4},_0x2b19fe=(await this[_0xdcf34d(0x35b)]['post'](_0x945f9e,_0x1a8c13))['body'];if(typeof _0x2b19fe[_0xdcf34d(0x476)]!=_0xdcf34d(0x360))return this[_0xdcf34d(0xec)](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64[_0xdcf34d(0x329)]['ERROR_IMAGE']));_0x4611f4=_0x2b19fe[_0xdcf34d(0x476)];}catch{return this[_0xdcf34d(0xec)](),Promise[_0xdcf34d(0x397)](new Error(_0x377a64['ImageUploadStatusType'][_0xdcf34d(0x3aa)]));}return new Promise((_0xf0feae,_0x5016cb)=>{var _0x116526=_0xdcf34d;const _0x350b9c=new FileReader();_0x350b9c[_0x116526(0x239)](_0x51bb38),_0x350b9c[_0x116526(0x2ca)]=_0x224d18=>{var _0x39cb6c=_0x116526,_0x39fe5b;const _0xcee749=(_0x39fe5b=_0x224d18[_0x39cb6c(0x2c9)])==null?void 0x0:_0x39fe5b[_0x39cb6c(0x21f)];if(_0xcee749==null){this[_0x39cb6c(0xec)](),_0x5016cb(new Error(_0x377a64['ImageUploadStatusType'][_0x39cb6c(0x3aa)]));return;}const _0x3827af=_0x5c9291[_0x39cb6c(0x21a)](0x6);_0xf0feae({'imageId':_0x3827af,'imageSourceType':_0x377a64[_0x39cb6c(0x2f7)][_0x39cb6c(0x371)],'source':_0x4611f4,'base64Cache':_0xcee749,'status':_0x377a64['ImageUploadStatusType'][_0x39cb6c(0x40c)]}),this[_0x39cb6c(0xec)]();};});}[_0x3125cd(0x2d5)](){var _0x4c8ef4=_0x3125cd,_0x3a5ebb;const _0x27b944=this[_0x4c8ef4(0xdf)]['getConfig'](_0x1ace84);return(_0x3a5ebb=_0x27b944==null?void 0x0:_0x27b944[_0x4c8ef4(0x196)])!=null?_0x3a5ebb:_0x3a9832;}[_0x3125cd(0x28c)](){var _0x4c9b64=_0x3125cd,_0x2e45c3;const _0x20e3df=this['_configService'][_0x4c9b64(0x39a)](_0x1ace84);return(_0x2e45c3=_0x20e3df==null?void 0x0:_0x20e3df[_0x4c9b64(0x1cd)])!=null?_0x2e45c3:_0x409482;}['_getDownloadEndpointURL'](){var _0x3c4c10=_0x3125cd,_0x19b7ea;const _0x43c58c=this[_0x3c4c10(0xdf)][_0x3c4c10(0x39a)](_0x1ace84);return(_0x19b7ea=_0x43c58c==null?void 0x0:_0x43c58c[_0x3c4c10(0x111)])!=null?_0x19b7ea:location['origin'];}['_replaceFileID'](_0x21c159,_0x288675){var _0x11d936=_0x3125cd;return _0x21c159[_0x11d936(0x1ff)]('{fileID}',_0x288675);}[_0x3125cd(0xec)](){var _0x131e52=_0x3125cd;this[_0x131e52(0x3a8)]-=0x1,this[_0x131e52(0x21c)]['next'](this[_0x131e52(0x3a8)]);}},_0x1a0555['CollaborationImageIoService']=_0x2446a([_0x5ca237(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4[_0x3125cd(0x2bb)])),_0x5ca237(0x1,_0x5c9291[_0x3125cd(0x226)]),_0x5ca237(0x2,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0x200)]))],_0x1a0555[_0x3125cd(0x441)]);var _0xcda50b=Object[_0x3125cd(0x143)],_0x5136a1=(_0x2db016,_0xfe5c10,_0x150e09,_0x19141d)=>{for(var _0x47373f=_0x19141d>0x1?void 0x0:_0x19141d?_0xcda50b(_0xfe5c10,_0x150e09):_0xfe5c10,_0x447d4f=_0x2db016['length']-0x1,_0x64133b;_0x447d4f>=0x0;_0x447d4f--)(_0x64133b=_0x2db016[_0x447d4f])&&(_0x47373f=_0x64133b(_0x47373f)||_0x47373f);return _0x47373f;},_0x31efd6=(_0x39a27c,_0x24a923)=>(_0x42405d,_0x1c23dd)=>_0x24a923(_0x42405d,_0x1c23dd,_0x39a27c);const _0x3980e2=_0x3125cd(0xd4);_0x1a0555[_0x3125cd(0x158)]=class{constructor(_0x80c21e,_0x55d8da){var _0x2b6925=_0x3125cd;this['_configService']=_0x80c21e,this[_0x2b6925(0x163)]=_0x55d8da;}[_0x3125cd(0x41f)](){var _0x12d5eb=_0x3125cd,_0x17e0ae;const _0x4c6a2d=this[_0x12d5eb(0xdf)][_0x12d5eb(0x39a)](_0x1ace84);return(_0x17e0ae=_0x4c6a2d==null?void 0x0:_0x4c6a2d[_0x12d5eb(0x302)])!=null?_0x17e0ae:_0x3980e2;}async[_0x3125cd(0x33b)](_0x371135){var _0x4816f2=_0x3125cd;const _0xca76c9=this[_0x4816f2(0x41f)]()+_0x4816f2(0x16f);return{'list':[{'title':_0x4816f2(0x3fa),'mentions':(await this[_0x4816f2(0x163)][_0x4816f2(0x108)](_0xca76c9,{'params':{'objectID':_0x371135[_0x4816f2(0xf0)],'unitID':_0x371135[_0x4816f2(0xf0)]}}))[_0x4816f2(0x44c)][_0x4816f2(0x10b)][_0x4816f2(0x434)](_0x50b72b=>({'objectId':_0x50b72b['id'],'name':_0x50b72b[_0x4816f2(0x2f3)][_0x4816f2(0x17a)],'metadata':{'icon':_0x50b72b[_0x4816f2(0x2f3)][_0x4816f2(0x256)]},'label':_0x50b72b['subject'][_0x4816f2(0x17a)],'objectType':_0x5c9291[_0x4816f2(0x288)][_0x4816f2(0x2fe)]})),'metadata':{},'type':_0x5c9291['MentionType']['PERSON']}]};}},_0x1a0555[_0x3125cd(0x158)]=_0x5136a1([_0x31efd6(0x0,_0x5c9291['Inject'](_0x5c9291[_0x3125cd(0x226)])),_0x31efd6(0x1,_0x5c9291['Inject'](_0x381bb4[_0x3125cd(0x2bb)]))],_0x1a0555[_0x3125cd(0x158)]);var _0x2fdd60=Object['getOwnPropertyDescriptor'],_0x594341=(_0x1892cb,_0x47e8aa,_0x594d73,_0x53b91b)=>{var _0x462000=_0x3125cd;for(var _0x2adbeb=_0x53b91b>0x1?void 0x0:_0x53b91b?_0x2fdd60(_0x47e8aa,_0x594d73):_0x47e8aa,_0x426d93=_0x1892cb[_0x462000(0x367)]-0x1,_0x3153f4;_0x426d93>=0x0;_0x426d93--)(_0x3153f4=_0x1892cb[_0x426d93])&&(_0x2adbeb=_0x3153f4(_0x2adbeb)||_0x2adbeb);return _0x2adbeb;},_0x22cbcd=(_0x2cdc09,_0xf9eb1)=>(_0x614cf8,_0x5bf9a6)=>_0xf9eb1(_0x614cf8,_0x5bf9a6,_0x2cdc09);let _0x57aeb4=class extends _0x5c9291[_0x3125cd(0x267)]{constructor(_0x43ffe1,_0x4118ff,_0x6207cd,_0x1ff1e8,_0x6515b6){var _0x5e756a=_0x3125cd;super(),this['_injector']=_0x43ffe1,this[_0x5e756a(0x471)]=_0x4118ff,this['_permissionService']=_0x6207cd,this[_0x5e756a(0x1a5)]=_0x1ff1e8,this['_collaborationUIEventService']=_0x6515b6,this[_0x5e756a(0x280)](),this[_0x5e756a(0x478)]();}[_0x3125cd(0x478)](){var _0x573c21=_0x3125cd;const _0x203247=async _0x28651=>{var _0x47a132=_0x29a5;(await this[_0x47a132(0x1a5)]['requireSession'](_0x28651))[_0x47a132(0x296)][_0x47a132(0x34f)](_0x3ecfb0['filter'](_0x48ade6=>_0x48ade6[_0x47a132(0x2ff)]===_0x319b76['CollaborationEvent'][_0x47a132(0x2b4)]),_0x3ecfb0['takeUntil'](this[_0x47a132(0x2ef)]))['subscribe'](_0x6f9e5b=>{var _0xe40090=_0x47a132;const _0x15dc0d=_0x6f9e5b,{reason:_0x54a5c0}=_0x15dc0d[_0xe40090(0x438)];this['_collaborationUIEventService'][_0xe40090(0x179)]({'id':_0x19b9e8[_0xe40090(0xd8)],'data':_0x54a5c0}),this[_0xe40090(0x416)][_0xe40090(0x127)](new _0x22532b[(_0xe40090(0x19c))](_0x28651)['id'],!0x1),this['_collaborationSessionService'][_0xe40090(0x33a)](_0x28651);});};_0x41392c['merge'](this[_0x573c21(0x471)]['getTypeOfUnitAdded$'](_0x5c9291[_0x573c21(0x29b)][_0x573c21(0x350)]),this[_0x573c21(0x471)][_0x573c21(0x1db)](_0x5c9291['UniverInstanceType'][_0x573c21(0x484)]))[_0x573c21(0x34f)](_0x3ecfb0['map'](_0x2b5e7f=>_0x2b5e7f[_0x573c21(0x388)]()),_0x3ecfb0[_0x573c21(0x125)](_0x5d1717=>!_0x5c9291[_0x573c21(0x28f)](_0x5d1717)),_0x3ecfb0['takeUntil'](this[_0x573c21(0x2ef)]))[_0x573c21(0x399)](_0x485a06=>{_0x203247(_0x485a06);});}[_0x3125cd(0x280)](){var _0x13b845=_0x3125cd;const _0x26741a=async _0x557501=>{var _0x46e867=_0x29a5;const _0x335c68=await this[_0x46e867(0x1a5)][_0x46e867(0x245)](_0x557501),_0x3ea678=this[_0x46e867(0x1a2)]['get'](_0x22532b[_0x46e867(0x222)]);_0x335c68[_0x46e867(0x296)][_0x46e867(0x34f)](_0x3ecfb0['filter'](_0x34ca43=>_0x34ca43['eventID']===_0x319b76['CollaborationEvent'][_0x46e867(0x1c5)]),_0x3ecfb0['takeUntil'](this[_0x46e867(0x2ef)]))[_0x46e867(0x399)](_0xece2e6=>{var _0x167063=_0x46e867;const _0x582363=_0xece2e6,{objectId:_0x292cd5}=_0x582363[_0x167063(0x438)];_0x292cd5===_0x557501?_0x3ea678['initWorkbookPermissionChange'](_0x557501):_0x3ea678[_0x167063(0x39e)](_0x557501,_0x292cd5);});};_0x41392c['merge'](this[_0x13b845(0x471)][_0x13b845(0x1db)](_0x5c9291[_0x13b845(0x29b)][_0x13b845(0x350)]))['pipe'](_0x3ecfb0[_0x13b845(0x434)](_0x1a4c56=>_0x1a4c56[_0x13b845(0x388)]()),_0x3ecfb0[_0x13b845(0x125)](_0x12f3b0=>!_0x5c9291[_0x13b845(0x28f)](_0x12f3b0)),_0x3ecfb0['takeUntil'](this[_0x13b845(0x2ef)]))[_0x13b845(0x399)](_0x28ffa3=>{_0x26741a(_0x28ffa3);});}};_0x57aeb4=_0x594341([_0x22cbcd(0x0,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x22cbcd(0x1,_0x5c9291[_0x3125cd(0x200)]),_0x22cbcd(0x2,_0x5c9291[_0x3125cd(0x1da)]),_0x22cbcd(0x3,_0x5c9291['Inject'](_0x1a0555['CollaborationSessionService'])),_0x22cbcd(0x4,_0x5c9291[_0x3125cd(0x10f)](_0x5cf853))],_0x57aeb4);var _0x366264=Object[_0x3125cd(0x143)],_0x53c099=(_0x34d5c1,_0x1c625c,_0x31af7d,_0x41ccd9)=>{for(var _0x645106=_0x41ccd9>0x1?void 0x0:_0x41ccd9?_0x366264(_0x1c625c,_0x31af7d):_0x1c625c,_0x33c5f4=_0x34d5c1['length']-0x1,_0x63ac86;_0x33c5f4>=0x0;_0x33c5f4--)(_0x63ac86=_0x34d5c1[_0x33c5f4])&&(_0x645106=_0x63ac86(_0x645106)||_0x645106);return _0x645106;},_0x513142=(_0x27ed58,_0x349d2e)=>(_0x43de66,_0x26eb86)=>_0x349d2e(_0x43de66,_0x26eb86,_0x27ed58);_0x1a0555[_0x3125cd(0x1e4)]=class{constructor(_0x2941c5,_0x8dc7b4){var _0x3b6952=_0x3125cd;this[_0x3b6952(0xdf)]=_0x2941c5,this['_httpService']=_0x8dc7b4;}async[_0x3125cd(0x3b5)](_0x17ca66,_0x3bb50c){var _0x39a16d=_0x3125cd,_0x48bcc7;const {unitID:_0x40be7c,type:_0xb3d76a,revision:_0x4c4d23=0x0}=_0x3bb50c,_0x362e07=this[_0x39a16d(0x3a7)]()+'/'+_0xb3d76a+_0x39a16d(0x36c)+_0x40be7c+_0x39a16d(0x12f)+_0x4c4d23,_0x29a7c0=(await this[_0x39a16d(0x35b)][_0x39a16d(0x108)](_0x362e07))[_0x39a16d(0x44c)],_0x5eeec1=(_0x48bcc7=_0x29a7c0['snapshot'])==null?void 0x0:_0x48bcc7[_0x39a16d(0x253)];if(_0x5eeec1){const _0x5e871d=_0x5eeec1==null?void 0x0:_0x5eeec1['originalMeta'],_0x505448=_0x319b76['textEncoder']['encode'](_0x319b76['b64DecodeUnicode'](_0x5e871d));_0x5eeec1['originalMeta']=_0x505448,Object[_0x39a16d(0x3d4)](_0x5eeec1[_0x39a16d(0x407)])[_0x39a16d(0x322)](([,_0x508f52])=>{var _0x52edbc=_0x39a16d;const _0x4c48d5=_0x508f52['originalMeta'],_0x253cab=_0x319b76[_0x52edbc(0x2da)][_0x52edbc(0x1fc)](_0x319b76[_0x52edbc(0x337)](_0x4c48d5));_0x508f52[_0x52edbc(0x290)]=_0x253cab;});}return _0x29a7c0;}async[_0x3125cd(0x32d)](_0x1c5c46,_0x1f32fe){var _0x28ee8b=_0x3125cd;const {unitID:_0x4c64e4,type:_0x588095,blockID:_0x5569cd}=_0x1f32fe,_0xeaae12=this[_0x28ee8b(0x260)]()+'/'+_0x588095+_0x28ee8b(0x36c)+_0x4c64e4+_0x28ee8b(0x3d1)+_0x5569cd;return(await this['_httpService'][_0x28ee8b(0x108)](_0xeaae12))['body'];}async[_0x3125cd(0x406)](_0x4da9ab,_0x3fc252){var _0x21f75c=_0x3125cd;const {unitID:_0x5e1a83,type:_0xca797f,blockID:_0x17456c}=_0x3fc252,_0x3a094f=this[_0x21f75c(0x260)]()+'/block/'+_0xca797f+'/unit/'+_0x5e1a83+'/block/'+_0x17456c;return(await this['_httpService'][_0x21f75c(0x108)](_0x3a094f))[_0x21f75c(0x44c)];}async[_0x3125cd(0x359)](_0x56aa2d,_0x23dce0){var _0x3a7323=_0x3125cd;const {unitID:_0x4d9fb1,type:_0x3974d4,from:_0x5c1b15,to:_0x3d6c5b}=_0x23dce0,_0x12e343=this[_0x3a7323(0x260)]()+'/'+_0x3974d4+_0x3a7323(0x36c)+_0x4d9fb1+'/fetchmissing?from='+_0x5c1b15+_0x3a7323(0x151)+_0x3d6c5b;return(await this[_0x3a7323(0x35b)][_0x3a7323(0x108)](_0x12e343))[_0x3a7323(0x44c)];}[_0x3125cd(0x3a7)](){var _0x33ed72=_0x3125cd,_0x44fc2f;return(_0x44fc2f=this['_configService'][_0x33ed72(0x39a)](_0x328092))!=null?_0x44fc2f:this[_0x33ed72(0x260)]();}[_0x3125cd(0x260)](){var _0x52fd77=_0x3125cd,_0x37965d;const _0x52e6e3=this[_0x52fd77(0xdf)][_0x52fd77(0x39a)](_0x1ace84);return(_0x37965d=_0x52e6e3==null?void 0x0:_0x52e6e3[_0x52fd77(0x2f8)])!=null?_0x37965d:_0x2c00fc;}async[_0x3125cd(0x263)](_0xd8d6aa,_0x48d52d){var _0xceeba=_0x3125cd;const _0x523ee8='/universer-api/snapshot/'+_0x48d52d['type']+_0xceeba(0x36c)+_0x48d52d['unitID']+_0xceeba(0x2a3);return(await this['_httpService'][_0xceeba(0x108)](_0x523ee8,{'params':{'resourceId':JSON[_0xceeba(0x1b5)](_0x48d52d[_0xceeba(0x176)])}}))[_0xceeba(0x44c)];}[_0x3125cd(0x470)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3125cd(0x301)](){var _0x4731d8=_0x3125cd;throw new Error(_0x4731d8(0x23b));}[_0x3125cd(0x243)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3125cd(0x286)](){var _0x5e8ebd=_0x3125cd;throw new Error(_0x5e8ebd(0x23b));}[_0x3125cd(0xf7)](){var _0x214a46=_0x3125cd;throw new Error(_0x214a46(0x23b));}[_0x3125cd(0x44b)](){var _0x22339e=_0x3125cd;throw new Error(_0x22339e(0x23b));}},_0x1a0555[_0x3125cd(0x1e4)]=_0x53c099([_0x513142(0x0,_0x5c9291[_0x3125cd(0x226)]),_0x513142(0x1,_0x5c9291[_0x3125cd(0x10f)](_0x381bb4['HTTPService']))],_0x1a0555[_0x3125cd(0x1e4)]);var _0x29eeb9=Object['getOwnPropertyDescriptor'],_0x3abec7=(_0x1858e2,_0x4986e3,_0x354f48,_0xf2a5b2)=>{for(var _0x191177=_0xf2a5b2>0x1?void 0x0:_0xf2a5b2?_0x29eeb9(_0x4986e3,_0x354f48):_0x4986e3,_0x4ea2d1=_0x1858e2['length']-0x1,_0x100cc8;_0x4ea2d1>=0x0;_0x4ea2d1--)(_0x100cc8=_0x1858e2[_0x4ea2d1])&&(_0x191177=_0x100cc8(_0x191177)||_0x191177);return _0x191177;},_0x5c1ef2=(_0xcad3c9,_0x18c812)=>(_0x3baedb,_0x1f390b)=>_0x18c812(_0x3baedb,_0x1f390b,_0xcad3c9);_0x1a0555[_0x3125cd(0x2d6)]=class extends _0x5c9291[_0x3125cd(0x1b4)]{constructor(_0xddb3cf,_0x4e1956,_0x137c58,_0x136f61,_0x191cf1){var _0x380e0a=_0x3125cd;super(_0xddb3cf,_0x4e1956,_0x137c58),this[_0x380e0a(0x1eb)]=_0x136f61,this[_0x380e0a(0x18a)]=_0x191cf1;}[_0x3125cd(0x287)](_0x1c80da,_0x41d544){var _0x14121b=_0x3125cd;const _0xa9d170=this[_0x14121b(0x468)](_0x1c80da);if(_0xa9d170)try{const _0x1eabb2=this[_0x14121b(0x374)](_0xa9d170,_0x41d544);this[_0x14121b(0xfe)](_0x1c80da,_0x1eabb2);}catch(_0x38910c){this['_logService'][_0x14121b(0x231)](_0x14121b(0x1be),_0x38910c),this[_0x14121b(0x400)](_0x1c80da);}const _0x1560e7=this[_0x14121b(0x155)](_0x1c80da);if(_0x1560e7)try{const _0x47d93c=this[_0x14121b(0x374)](_0x1560e7,_0x41d544);this['_substituteRedoStack'](_0x1c80da,_0x47d93c);}catch(_0x2df82a){this[_0x14121b(0x18a)][_0x14121b(0x231)](_0x2df82a),this[_0x14121b(0x330)](_0x1c80da);}}[_0x3125cd(0x400)](_0x2feaf3){var _0x11e018=_0x3125cd;const _0x3d2e37=this[_0x11e018(0x468)](_0x2feaf3);_0x3d2e37&&(_0x3d2e37[_0x11e018(0x367)]=0x0,this[_0x11e018(0x3c0)]());}['_clearRedo'](_0x4bb4a2){var _0xff562a=_0x3125cd;const _0x1df981=this[_0xff562a(0x155)](_0x4bb4a2);_0x1df981&&(_0x1df981[_0xff562a(0x367)]=0x0,this[_0xff562a(0x3c0)]());}[_0x3125cd(0xfe)](_0x10c366,_0x129085){var _0x38895f=_0x3125cd;this[_0x38895f(0x20f)][_0x38895f(0x300)](_0x10c366,_0x129085),this[_0x38895f(0x3c0)]();}['_substituteRedoStack'](_0x298f5c,_0x5ae2bd){var _0x227cb3=_0x3125cd;this[_0x227cb3(0x17e)][_0x227cb3(0x300)](_0x298f5c,_0x5ae2bd),this[_0x227cb3(0x3c0)]();}[_0x3125cd(0x374)](_0x3010c4,_0x412462){var _0x3911ef=_0x3125cd;const _0xd35a98=[];let _0x100c0f=_0x412462,_0x23bb86=_0x412462;for(let _0x4787a2=_0x3010c4[_0x3911ef(0x367)]-0x1;_0x4787a2>=0x0;_0x4787a2--){const {unitID:_0x43c3d2,undoMutations:_0x301bde,redoMutations:_0x2903d9}=_0x3010c4[_0x4787a2],_0x445d17=this[_0x3911ef(0x1eb)]['transformMutationsWithChangeset'](_0x100c0f,_0x301bde),_0x4ead0b=this[_0x3911ef(0x1eb)]['transformMutationsWithChangeset'](_0x23bb86,_0x2903d9);if(_0x319b76[_0x3911ef(0x3c2)](_0x445d17)||_0x319b76[_0x3911ef(0x3c2)](_0x4ead0b)){this[_0x3911ef(0x18a)][_0x3911ef(0x231)](_0x3911ef(0x1be),_0x3911ef(0x2cd),_0x445d17,_0x4ead0b);break;}_0x100c0f=_0x445d17[_0x3911ef(0x1c4)],_0x23bb86=_0x4ead0b[_0x3911ef(0x1c4)],_0xd35a98['push']({'unitID':_0x43c3d2,'undoMutations':_0x445d17[_0x3911ef(0x119)],'redoMutations':_0x4ead0b[_0x3911ef(0x119)]});}return _0xd35a98[_0x3911ef(0x120)]();}},_0x1a0555['CollaborativeUndoRedoService']=_0x3abec7([_0x5c1ef2(0x0,_0x5c9291[_0x3125cd(0x200)]),_0x5c1ef2(0x1,_0x5c9291[_0x3125cd(0x357)]),_0x5c1ef2(0x2,_0x5c9291[_0x3125cd(0x170)]),_0x5c1ef2(0x3,_0x319b76[_0x3125cd(0x332)]),_0x5c1ef2(0x4,_0x5c9291[_0x3125cd(0x109)])],_0x1a0555[_0x3125cd(0x2d6)]);var _0x56ffb3=Object[_0x3125cd(0x16d)],_0x5ae50c=Object['getOwnPropertyDescriptor'],_0x3137b3=(_0x57ea3a,_0x418f2a,_0x132887)=>_0x418f2a in _0x57ea3a?_0x56ffb3(_0x57ea3a,_0x418f2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x132887}):_0x57ea3a[_0x418f2a]=_0x132887,_0x5274f3=(_0x5adda2,_0x21f1b1,_0x2ad027,_0x522bfd)=>{for(var _0x326f17=_0x522bfd>0x1?void 0x0:_0x522bfd?_0x5ae50c(_0x21f1b1,_0x2ad027):_0x21f1b1,_0x3b9435=_0x5adda2['length']-0x1,_0x4d8087;_0x3b9435>=0x0;_0x3b9435--)(_0x4d8087=_0x5adda2[_0x3b9435])&&(_0x326f17=_0x4d8087(_0x326f17)||_0x326f17);return _0x326f17;},_0x319dad=(_0x4ba207,_0x279d6f)=>(_0x56927e,_0x148113)=>_0x279d6f(_0x56927e,_0x148113,_0x4ba207),_0x560a1b=(_0x1c9f90,_0x2ea156,_0x4daf3a)=>_0x3137b3(_0x1c9f90,_0x2ea156+'',_0x4daf3a);const _0x1af4d7=_0x3125cd(0x472);_0x1a0555['UniverCollaborationClientPlugin']=class extends _0x5c9291[_0x3125cd(0x3bb)]{constructor(_0x4752e1,_0x1a6240,_0x1e72b4,_0x5348ed){var _0x3ad58a=_0x3125cd;super(),_0x27328e(this,'_config'),(this['_logService']=_0x1a6240,this['_injector']=_0x1e72b4,this[_0x3ad58a(0xdf)]=_0x5348ed);const {..._0xa06f95}=_0x5c9291[_0x3ad58a(0x3dd)]({},_0x43b491,_0x4752e1);if(!_0xa06f95[_0x3ad58a(0x20a)])throw new Error(_0x3ad58a(0x425));this[_0x3ad58a(0x444)]=_0xa06f95,this['_configService'][_0x3ad58a(0x39b)](_0x1ace84,_0xa06f95);}['onStarting'](){var _0x4593c6=_0x3125cd;this['_registerDependencies'](),this[_0x4593c6(0x35d)]();}[_0x3125cd(0x294)](){var _0x52971a=_0x3125cd,_0xb9b70,_0x8c6ba3;this[_0x52971a(0x1a2)][_0x52971a(0x1de)](_0x5c9291[_0x52971a(0x467)])&&this[_0x52971a(0x18a)]['error']('[UniverCollaborationClientPlugin]',_0x52971a(0x460));const _0x3ca4cc=_0x5c9291[_0x52971a(0x43d)]([[_0x5c9291['IUndoRedoService'],{'useClass':_0x1a0555[_0x52971a(0x2d6)]}],[_0x1a0555[_0x52971a(0x114)]],[_0x1a0555[_0x52971a(0x469)]],[_0x1a0555[_0x52971a(0x2d0)]],[_0x173c2c],[_0x3cdf86],[_0x60caf4],[_0x57aeb4],[_0x5cf853],[_0x1a0555['DataLoaderService']],[_0x2c7f4e,{'useClass':this['_config'][_0x52971a(0x20a)]}],[_0x319b76['ISnapshotServerService'],{'useClass':_0x1a0555[_0x52971a(0x1e4)]}],[_0x5c9291[_0x52971a(0x482)],{'useClass':_0x1a0555['AuthzIoHttpService']}],[_0x377a64[_0x52971a(0x45c)],{'useClass':_0x1a0555['CollaborationImageIoService']}],[_0x5c9291[_0x52971a(0x45e)],{'useClass':_0x1a0555[_0x52971a(0x158)]}],[_0x1a0555[_0x52971a(0x22e)]],[_0x5434f2]],(_0xb9b70=this['_config'])==null?void 0x0:_0xb9b70['override']);if(!((_0x8c6ba3=this[_0x52971a(0x444)])!=null&&_0x8c6ba3[_0x52971a(0x398)])){const _0x46decb=_0x3ca4cc['findIndex'](([_0x6c46c5])=>_0x6c46c5===_0x2753d1);_0x46decb!==-0x1&&_0x3ca4cc[_0x52971a(0x1d2)](_0x46decb,0x1);}_0x5c9291['registerDependencies'](this['_injector'],_0x3ca4cc);}[_0x3125cd(0x35d)](){var _0x4410d3=_0x3125cd,_0x5f0730,_0x3797aa,_0x24cbd2;this[_0x4410d3(0x1a2)][_0x4410d3(0x108)](_0x381bb4[_0x4410d3(0x2bb)])[_0x4410d3(0x15e)]({'priority':0x14,'interceptor':_0x381bb4[_0x4410d3(0x160)]({'maxParallel':0x6})}),(_0x5f0730=this[_0x4410d3(0x444)])!=null&&_0x5f0730[_0x4410d3(0x142)]||(_0x3797aa=this[_0x4410d3(0x1a2)]['get'](_0x1d3985,_0x5c9291[_0x4410d3(0x356)][_0x4410d3(0x27a)]))==null||_0x3797aa[_0x4410d3(0x113)](),(_0x24cbd2=this[_0x4410d3(0x444)])!=null&&_0x24cbd2[_0x4410d3(0x2ea)]&&_0x5c9291[_0x4410d3(0x1f3)](this[_0x4410d3(0x1a2)],[[_0x173c2c]]),_0x5c9291['touchDependencies'](this[_0x4410d3(0x1a2)],[[_0x3cdf86],[_0x1a0555[_0x4410d3(0x22e)]],[_0x57aeb4]]);}},_0x560a1b(_0x1a0555[_0x3125cd(0x2e6)],_0x3125cd(0x413),_0x1af4d7),_0x1a0555[_0x3125cd(0x2e6)]=_0x5274f3([_0x5c9291[_0x3125cd(0x132)](_0x319b76[_0x3125cd(0x258)],_0x381bb4[_0x3125cd(0x3be)]),_0x319dad(0x1,_0x5c9291['ILogService']),_0x319dad(0x2,_0x5c9291[_0x3125cd(0x10f)](_0x5c9291[_0x3125cd(0xf9)])),_0x319dad(0x3,_0x5c9291[_0x3125cd(0x226)])],_0x1a0555[_0x3125cd(0x2e6)]),_0x1a0555[_0x3125cd(0x36d)]=_0x1ace84,_0x1a0555['CollaborationStatus']=_0x2c3058,_0x1a0555['CollaborationUIEventId']=_0x19b9e8,_0x1a0555[_0x3125cd(0x102)]=_0x5cf853,_0x1a0555[_0x3125cd(0x3bf)]=_0x60caf4,_0x1a0555[_0x3125cd(0x2e5)]=_0x5e9de5,_0x1a0555['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x10878f,_0x1a0555[_0x3125cd(0x386)]=_0x11c487,_0x1a0555[_0x3125cd(0x23f)]=_0x551f79,_0x1a0555[_0x3125cd(0x2db)]=_0x493c73,_0x1a0555['ICollaborationSocketService']=_0x2c7f4e,_0x1a0555['ILocalCacheService']=_0x1d3985,_0x1a0555['INetworkConditionService']=_0x5ec6c3,_0x1a0555[_0x3125cd(0x3c3)]=_0x2753d1,_0x1a0555[_0x3125cd(0x401)]=0x3e8,_0x1a0555[_0x3125cd(0x252)]=_0x4e1d34,_0x1a0555['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x192fb9,_0x1a0555[_0x3125cd(0x1ea)]=_0x45c332,_0x1a0555[_0x3125cd(0xdd)]=_0x8660ba,_0x1a0555[_0x3125cd(0x20e)]=_0x29e528,_0x1a0555[_0x3125cd(0x2a5)]=_0x3801fe,_0x1a0555[_0x3125cd(0x37b)]=_0x3fee3e,_0x1a0555[_0x3125cd(0xdb)]=_0x574f0b,Object[_0x3125cd(0x16d)](_0x1a0555,Symbol[_0x3125cd(0x3ec)],{'value':_0x3125cd(0x1dd)});}));function _0x29a5(_0x28e7c4,_0x4453b5){_0x28e7c4=_0x28e7c4-0xd1;var _0x2d6929=_0x2d69();var _0x29a52a=_0x2d6929[_0x28e7c4];return _0x29a52a;}function _0x2d69(){var _0x33008f=['closeSession','list','ENTITLE_COUPON_EXPIRED','post','onMissedChangesetFetched','UNIVER_SLIDE','updateOfflineData','liveShareOperation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','resolve','UserProfileImg','parse','@univerjs/drawing','LICENSE_IMPORT_SIZE_EXCEEDED','Base64','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[DataLoaderService]','NEW_CHANGESETS','ClipsheetFragments','_throwTelemetryCollaborationNewChangeset','toggleOnline','pipe','UNIVER_SHEET','__esModule','FETCH_MISS','_userManagerService','key','_changesetSessionId','Quantity','ICommandService','focused$','fetchMissingChangesets','PY_RUNTIME_SCRIPT_ERROR','_httpService','BehaviorSubject','_initDependencies','/allowed','ERROR_EXCEED_SIZE','string','deepClone','COMPRESS_MUTATION_APPLY','enc','/universer-api/uniscript','session.room-cnt-exceeds','OpenSSL','length','_telemetryService','getRoom','/-/object/list','ivSize','/unit/','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_createHmacHelper','_doCryptBlock','take','UUID','transformSelections','HTTPRequest','_transformStack','CollaborationSocketService','UniverTelemetry','LIVESHARE_FETCH_OPERATIONS','floor','NOT_COLLAB','randomBytes','getLocalCacheKey','_socketService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/new_changes','_socketReady','[CollaborationSessionService]:\x20socket\x20error','_members$','loadDoc','/universer-api/oidc/authpage','2851797wvfZAL','YUUMI_AI_RUN_FAILED','DEFAULT_WS_SESSION_TICKET_URL','online$','getUnitId','onTransformSelections','__Key__','UNKNOWN_CODE','offline','@univerjs/docs','BASE64','5019140KxZRZX','onRemoteAck','POST','RECV','_updateState','_sendHeartbeatTimer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entities','reject','enableSingleActiveInstanceLock','subscribe','getConfig','setConfig','_candidateSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','refreshPermission','shareReplay','LIVESHARE_TERMINATE','image/png','18ApswSB','SOCKET_FAILED_RETRY','_sendingTimer','SNAPSHOT_HAS_BEEN_REMOVED','lib','getSnapshotAPIPath','_waitCount','firstValueFrom','ERROR_IMAGE','CBC','requestParams','getImage','[OfflineState]:\x20received\x20changeset.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','resend','collabSubmitChangesetUrl','unitId\x20is\x20not\x20found','liveShareNewHost','Hex','getUnitOnRev','updateCollaborator','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','NO_OTHER_CLIENTS_EDITING','HttpImport','keySize','Plugin','_transformUndoredo','_roomCreated$','UniverNetworkPlugin','CommentService','_updateStatus','Malformed\x20UTF-8\x20data','isTransformMutationsWithChangesetFailure','ISingleActiveUnitService','clear','_transitionLocked','&source=','ISnapshotServerService','kdf','finalize','CHANGESET_REJ','HmacSHA1','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/comb','_iv','_transformIMECache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/block/','\x0aCurrent:\x20','BlockCipher','entries','_undoRedoService','_onFetchMissResult','min','Optional','slice','image/jpg','_emitMembers','SHA1','merge','FAIL','UniverSheets','AuthzIoHttpService','_sendHeartbeat','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LICENSE_EXPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','JOIN_ROOM_FAILED','univer-pro.collaboration-client.network-condition.service','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','roomInfos','_snapshotServerService','UNIVER_UNKNOWN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','toStringTag','_replaceFileID','_fetchMissChangesets','[CollaborationEntity]','_toggleOffline','decryptBlock','change$','loginUrlKey','Base','Decryptor','REDEMPTION_CODE_NOT_STARTED','max','updateMember','LocaleService','People','_socketMessageSubscription','startsWith','_shouldReportTelemetry','joinEvent','YUUMI_URL_COL_OUT_OF_RANGE','_clearUndo','LOCAL_CACHE_INTERVAL','Disposable','setWaitCount','fetch_missing','OTHER_CLIENTS_EDITING','getDeserializedSheetBlock','sheets','&assign=','ciphertext','OTHER_CLIENT_EDITING','image/jpeg','SUCCUSS','_onMessage','awaiting','_mode','getCurrentUser','HEARTBEAT_INTERVAL','now','pluginName','format','[OfflineState]:\x20received\x20acknowledgement.','_permissionService','REDEMPTION_CODE_HAS_BEEN_CREATED','_schedule','localeService','AwaitingWithPendingState','_key','addImageSourceCache','Hasher','FETCH_MISSING','_getAPIPrefixPath','getMember','REDEMPTION_CODE_INACTIVE','__splitChunk__','symbol','ENTITLE_USE_COUPON_NOT_1ST_TRADE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','encrypt','compute','waitForRoom$','COMPLETION_FINISHED','SnapshotService','Encryptor','listCollaborators','onMutationExecutedForCollab','updatePermissionObjEvent','cmd','newCsEvent','getRandomValues','join','/universer-api/file/{fileID}/sign-url','map','LEAVE','_clearRetryConnectingTimer','_clearHeartbeatTimer','data','mixIn','_doFinalize','isTransformMutationsWithChangesetSuccess','iterations','mergeOverrideWithDependencies','_prevBlock','Undefined','crypto','CollaborationImageIoService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitType','_config','_sheetTransformSelectionsService','_onCombEvent','InsertSheetMutation','_incrementRevisionNumber','getCollabEntity$','close','getLatestCsReqIdBySid','body','isTransformChangesetsSuccess','[CollaborationState]:\x20apply\x20error!','function','_imageSourceCache','_clearTimeoutTimer','image/gif','SYNCED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LOGIN_FAILED','dispose','mutations','_handlerCallback','sendChangesetTimeout','roles','pending','IImageIoService','onLocalMutation','IMentionIOService','textRanges','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onTransformState','JOIN','ENTITLE_COUPON_USED_UP','_doProcessBlock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','csAckEvent','IUndoRedoService','_getUndoStack','MemberService','_updateLocalCache','_waitForHeartbeatResponse','toDisposable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCollabEntity','COMPRESS_MUTATION_SEND','saveSnapshot','_univerInstanceService','UNIVER_COLLABORATION_CLIENT_PLUGIN','getTime','fetching\x20missing\x20changesets\x20from\x20','AES','FileId','getImageSourceCache','_initCloseConn','_commandService','compose','setShowComponents','_localeService','CHANGESET_REVISION_CONFILICT','_collaborationPaused','AWAITING','_members','MD5','IAuthzIoService','exports','UNIVER_DOC','_resendTimeout','object','collabWebSocketUrl','_onJoinRoomEvent','CommandType','10462dcNuax','/universer-api/authz','_data','init','getCurrentSelections','CLOSE_ROOM','getSheetId','DEFAULT_FILE_NAME','serializeCombRequest','default','SessionStatus','JOIN_ROOM_FULL','_configService','message$','YUUMI_CONNECTOR_URL_NOT_FOUND','@univerjs/network','APPLY_PERMISSION_DENIED','incrementRevOfUnit','unknown','socket\x20close','_syncEditingCollabCursor','SUBMIT_CHANGESET_TIMEOUT','parseProtocolChangeset','\x0aAfter:\x20','blockSize','_decreaseWaiting','/object/','status$','_collaborationUIEventService','unitId','APPLY_REVISION_CONFILICT','getValue','disposeWithMe','TOO_MANY_REQUESTS','reconnect','FetchingMissState','copyFileMeta','awaiting_with_pending','Injector','_sender','_hash','readInt32LE','rxjs/operators','_substituteUndoStack','CollaborationEvent','_status$','isArray','CollaborationUIEventService','Pkcs7','_unitInfo$','send','146XAZhdg','rev','get','ILogService','fromCollab','collaborators','INVITE_CODE_HAS_BEEN_UES','fetchThroughInterceptors','JOIN_ROOM_NOT_EXISTS','Inject','_resendWithTimeout','downloadEndpointUrl','_transformStateCache','disableLocalCache','CollaborationSessionService','_initRequestHeader','connection\x20error','range','Rectangle','m2Prime','userID','SheetCollaborationEntity','unitID','repeat','indexOf','title','reverse','[PendingState]:\x20received\x20rejection.','/universer-api/user/session-ticket','push','ERROR_AGAIN','filter','state$','updatePermissionPoint','abs','UNDEFINED','UNISCRIPT_RUN','_exhaustRemoteChangesetQueue','JSONX','createEncryptor','complete','/rev/','csRejEvent','CompressMutationService','DependentOn','every','5622556wbRpKn','getFocusedUnit','getGlobalObject','stopTime','_tryEnsureSocket','SUBMIT_CHANGESET','_compressMutationService','_cipher','univer-pro.collaboration-client.single-active-unit-service','formatter','reduce','CipherParams','_instanceService','_init','enableOfflineEditing','getOwnPropertyDescriptor','_executeRemoteChangeset','_entityInit$','encryptBlock','_listenToNetworkCondition','_collaborationTimeoutTimer','_resendTimer','state','SNAPSHOT_INVALID_SNAPSHOT','_sessions','BlockCipherMode','7649625KjjDih','MOBILE_VERIFY_CODE_MISMATCH','_tryReconnect','&to=','LOGIN_TOKEN_PROCESSING_FAILED','not_collab','permissionRejEvent','_getRedoStack','charCodeAt','MOBILE_HAS_BEEN_BOUND','MentionIoHttpService','_nRounds','_socket','find','_map','_disableEditing','registerHTTPInterceptor','_doReset','ThresholdInterceptorFactory','MergeInterceptorFactory','code','_HTTPService','method','MSG_FOR_ERROR','GLOBAL_ROOMS_CNT_EXCEEDS','_createInitialStateImpl','session.room-permission-denied','_singleActiveUnitService','_onOffline','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','defineProperty','unit-cache-','/collaborator','IContextService','RevisionService','CURRENT_STATUS_CANNOT_OPERATE','onSendChangeset','_append','ConflictState','resourceIDs','_acknowledgedAwaitingChangeset','values','emitEvent','name','UNRECOGNIZED','enableCollaboration','apply','_redoStacks','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','USERS_ENTER','baseRev','_retryCount','SOCKET_FAILED','update','COMMENT_UPDATE','words','hasOwnProperty','_roomMembers','put','_logService','size','_scheduleCompleteTimestamp','UniverNetwork','onSyncEditingCollabCursor','DataLoaderService','synced','retryConnectingInterval','onlyLocal','4261312bIfOyn','_getDownloadEndpointURL','toString','uploadFileServerUrl','params','\x20to\x20','_networkConditionService','CONFLICT','_sessionStatus$','WorkbookEditablePermission','collaMsg','_onConnectionOpen','_createHelper','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','_injector','sin','$super','_collaborationSessionService','members$','REDEMPTION_CODE_FULLY_REDEEMED','_scheduleCollaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','/role','rxjs','collaboration_new_changeset','_type','INVITE_CODE_ALREADY_BOUND','[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.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_minBufferSize','_replayCachedMutations','_DEC_XFORM_MODE','LocalUndoRedoService','stringify','removeMember','charAt','UserManagerService','next','selections','_onConflict','createIdentifier','DisposableCollection','[CollaborationUndoRedoService]','sigBytes','YUUMI_ALL_TABLES_IS_INVALID','_state','substr','USER_NOT_INVITED_CODE','c1Prime','UPDATE_PERMISSION_OBJ','CHANGESET_SHOULD_RETRY','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','processBlock','ALREADY_EXISTS','_remoteChangesetQueue','executeCommand','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','signUrlServerUrl','UnitSnapshot','ENTITLE_REPORT_LIMIT_EXCEED','_rescheduleHeartbeat','createInstance','splice','ENSURE_SNAPSHOT_EXECUTION','call','encodeURIComponent','sessionStatus','StreamCipher','subUnitId','ceil','IPermissionService','getTypeOfUnitAdded$','_oKey','Module','has','url','_showConflictNotification','uniscriptRunEvent','updateCursorEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SnapshotServerOverHTTPService','getUnit','INGEST','ITelemetryService','_maxTotalRetryTimeout','UniverProCollaborationClient','RETRY_CONNECTING_MAX_COUNT_KEY','_transformService','getTypeOfUnitDisposed$','_onLocalMutation','append','HELLO','APPLY_REJECT','_stopTelemetryCollaborationNewChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','touchDependencies','location','HttpExport','revision','_snapshotService','actions','operators','?url=','byteLength','encode','takeUntil','UniverDocs','replace','IUniverInstanceService','_parse','12jLnrKb','Univer','_lockTransition','unsubscribe','ISocketService','OfflineState','clamp','_onRecvEvent','socketService','loadOfflineData','debug','localCacheService','UnitStatus','_undoStacks','amd','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','_joinRoom','JOINING','/-/object/-/batch_allowed','loadUnitOfRevision','onStateChange','src','_localCacheService','generateRandomId','CHANGESET_ACK','_change$','UniverDrawing','SetSelectionsOperation','result','RETRY_CONNECTING_MAX_COUNT','create','SheetPermissionInitController','close$','reset','Subject','IConfigService','file','_hasher','clone','parseChangesetToProtocol','getMemberID','_memberService','_getCtorByUniverType','CollaborationController','socket\x20open.','delay','error','IDLE','_getCurrentRevision','commentUpdate$','\x20in\x20_schedule.','msCrypto','conflict','HmacMD5','readAsDataURL','_createInitialState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20acknowledgement.','pauseCollaboration','UNKNOWN_CMD','HEARTBEAT_INTERVAL_KEY','APPLY_NON_SEQUENTIAL_REVISION','asObservable','_commentUpdate$','saveSheetBlock','getCurrentRevOfUnit','requireSession','_unitID','allowed','_onConnectionFailed','buffer','EMAIL_HAS_BEEN_BOUND','[CollaborationSessionService]','USER_NOT_FOUND','_socket$','ENTITLE_NEED_BILLING_ADDRESS','LIVESHARE_REQUEST_HOST','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','LOCAL_CACHE_INTERVAL_KEY','workbook','YUUMI_RATE_OVER_LIMIT','PendingState','avatar','_nDataBytes','UniverCollaborationPlugin','REDEMPTION_INVALID_CODE','execute','patch','concat','mode','hasher','salt','_getAPIPrefix','onMissingChangesets','status','getResourcesRequest','univer-pro.collaboration-client-socket-service','_state$','type','RxDisposable','@univerjs-pro/collaboration','padding','onTransformIME','session.join-failed','isPermissionRej','@univerjs-pro/license','AwaitingState','_onUserJoin','href','_eventService','INVITE_CODE_REQUIRED','NoPadding','_createSocket','saveImage','_handler','onRemoteRetry','_checkMissing','_event$','OPTIONAL','ENTITLE_INVALID_COUPON_CODE','UnitEmbedded','_unlockTransition','INVALID_INVITE_CODE','?size=','_initUnitPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_PERMISSION_DENIED','onRemoteRej','Latin1','saveChangeset','transformUndoRedo','MentionType','_isPermissionRej','_onUserLeave','getActiveSheet','_getSignURL','ONLINE','/universer-api/snapshot','isInternalEditorID','originalMeta','_removeRoom','extend','PSEUDO_FETCH_MISSING_RESULT','_registerDependencies','error$','event$','LIVESHARE_NEW_HOST','INVALID_ARGUMENT','infoRsp','_pendingMutations','UniverInstanceType','onTransformRemoteChangesetByIMECache','[CollaborationSession]','listRoles','entityInit$','_toggleOnline','_revisionService','UNAUTHENTICATED','/resources','objectID','deserializeToCombResponse','add','failed\x20to\x20apply\x20missed\x20changesets!','members','_applyRemoteChangeset','random','action','confirm','Utf8','_transformSelections','UPDATE_CURSOR','_onRemoteRejected','onTransformRemoteChangesetByStateCache','duration','onRemoteChangeset','SHOULD_CLOSE_CONN','getUnitStatus$','DocCollaborationEntity','BufferedBlockAlgorithm','CollaborationEntity','loadSheet','NOT_FOUND','HTTPService','SheetsSelectionsService','appendMutation','memberID','_onRemoteACK','REDEMPTION_USER_NOT_ELIGIBLE','interceptor','getInterceptPoints','delete','_reverseMap','OFFLINE','_initMergeInterceptor','objects','transformChangesets','target','onload','transformMutationsWithChangeset','session','transformStack\x20failed!','_changesetReqId','pad','SheetTransformSelectionsService','3038077sOuBMG','ws://127.0.0.1:8000/universer-api/comb/connect','WECHAT_HAS_BEEN_BOUND','unpad','_getUploadFileURL','CollaborativeUndoRedoService','_getSendChangesetTimeout','prototype','algo','textEncoder','HEARTBEAT_TIMEOUT_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','onCommentUpdate','cfg','setCurrentUser','_xformMode','INTERNAL_ERROR','startTime','awaitingChangeset','PERMISSION_DENIED','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverCollaborationClientPlugin','_clearScheduledTask','_iKey','loadUnit','enableAuthServer','UniverProCollaboration','changesets','_createHandler','USERS_LEAVE','dispose$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_awaitingChangeset','WordArray','subject','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','responseType','capture','ImageSourceType','snapshotServerUrl','HMAC','sid','routeKey','editing\x20status\x20changed\x20to','_ENC_XFORM_MODE','PERSON','eventID','set','updateSnapshot','authzUrl','SerializableCipher','decrypt','EvpKDF','fromCharCode','YUUMI_SUBSCRIPTION_NOT_FOUND','/object','addHandlerCallback','SyncedState','EMAIL_VERIFY_CODE_MISMATCH','createSocket','_retryConnectingTimer','ENTITLE_INSUFFICIENT_QUOTA','HEARTBEAT','YUUMI_NO_CUBOID_FOR_QUESTION','x-univer-host','LICENSE_MAX_UNITS_EXCEEDED','_keyPriorReset','CollaborationSession','APPLY_DUPLICATED','[FetchMissState]','session.room-not-exists','PERMISSION_REJ','_startCollaboration','RichTextEditingMutation','_clearLocalCache','AUTHORIZE_CODE_ILLEGAL','objectType','putCollaborators','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOffline','sessionStatus$','forEach','PENDING','_process','c2Prime','_telemetryInfo','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transformRemoteChangesetByStateCache','ImageUploadStatusType','[SyncedState]:\x20received\x20rejection.','open$','hostname','getSheetBlock','UNIVER_PROJECT','collaboration-client.config','_clearRedo','uuidv4','ITransformService','LIVESHARE_OPERATION','USER_IS_ANONYMOUS','_collabSessionService','DATA_SOURCE_TOO_LARGE','b64DecodeUnicode','reqId','__creator'];_0x2d69=function(){return _0x33008f;};return _0x2d69();}
2
+ (function(_0x24e0a5,_0x4eb591){var _0x585a8d=_0xac1b,_0x31c76d=_0x24e0a5();while(!![]){try{var _0x28fe9=parseInt(_0x585a8d(0x3ce))/0x1*(parseInt(_0x585a8d(0x1a5))/0x2)+-parseInt(_0x585a8d(0x1e4))/0x3*(parseInt(_0x585a8d(0x480))/0x4)+parseInt(_0x585a8d(0x154))/0x5+parseInt(_0x585a8d(0x229))/0x6+-parseInt(_0x585a8d(0x171))/0x7*(-parseInt(_0x585a8d(0x44f))/0x8)+parseInt(_0x585a8d(0x46b))/0x9+-parseInt(_0x585a8d(0x3db))/0xa*(parseInt(_0x585a8d(0x210))/0xb);if(_0x28fe9===_0x4eb591)break;else _0x31c76d['push'](_0x31c76d['shift']());}catch(_0x15d38e){_0x31c76d['push'](_0x31c76d['shift']());}}}(_0x195d,0x7f5ae),function(_0x586a52,_0xe27ee9){var _0x5339b2=_0xac1b;typeof exports==_0x5339b2(0x24d)&&typeof module<'u'?_0xe27ee9(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==_0x5339b2(0x1a3)&&define[_0x5339b2(0x2f5)]?define([_0x5339b2(0x38d),_0x5339b2(0x441),_0x5339b2(0x2f4),_0x5339b2(0x205),_0x5339b2(0xfb),'rxjs',_0x5339b2(0x1fe),_0x5339b2(0x3f3),_0x5339b2(0x329),_0x5339b2(0x2c7),_0x5339b2(0x1ad)],_0xe27ee9):(_0x586a52=typeof globalThis<'u'?globalThis:_0x586a52||self,_0xe27ee9(_0x586a52['UniverProCollaborationClient']={},_0x586a52[_0x5339b2(0x20c)],_0x586a52[_0x5339b2(0x457)],_0x586a52[_0x5339b2(0x37e)],_0x586a52['UniverSheets'],_0x586a52['rxjs'],_0x586a52[_0x5339b2(0x2d4)],_0x586a52['rxjs']['operators'],_0x586a52[_0x5339b2(0x387)],_0x586a52[_0x5339b2(0x2ea)],_0x586a52[_0x5339b2(0x1fb)]));}(this,function(_0x23269f,_0x1cf310,_0x58829f,_0x54b995,_0x538c19,_0x3d04ed,_0x1835bb,_0x66d2a7,_0xd2c5f8,_0x516017,_0x5a475d){'use strict';var _0x444a33=_0xac1b;var _0x542b8c=Object[_0x444a33(0x1f8)],_0x1ef166=(_0x3653a6,_0xdb4e12,_0x487acc)=>_0xdb4e12 in _0x3653a6?_0x542b8c(_0x3653a6,_0xdb4e12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x487acc}):_0x3653a6[_0xdb4e12]=_0x487acc,_0x11728e=(_0x3b00f2,_0x329794,_0x1333dd)=>_0x1ef166(_0x3b00f2,typeof _0x329794!=_0x444a33(0x20e)?_0x329794+'':_0x329794,_0x1333dd);const _0x32f745=_0x444a33(0x1a8),_0x1fb3c1='SNAPSHOT_URL_KEY',_0x433089=_0x444a33(0x2da),_0x32d380=_0x444a33(0x172),_0x2ac995=_0x444a33(0x246),_0x3c3820=_0x444a33(0xfe),_0x5857f1=_0x444a33(0x37d),_0x4a6f0b=_0x444a33(0x371),_0x5e7d61='/universer-api/comb',_0x344066=_0x444a33(0x14f),_0xf7335d=_0x444a33(0x26b),_0x545c2c=_0x444a33(0x440);var _0x3e9701=(_0x335982=>(_0x335982[_0x335982[_0x444a33(0x208)]=0x0]=_0x444a33(0x208),_0x335982[_0x335982['OK']=0x1]='OK',_0x335982[_0x335982[_0x444a33(0x353)]=0x2]='INTERNAL_ERROR',_0x335982[_0x335982[_0x444a33(0x2ce)]=0x3]=_0x444a33(0x2ce),_0x335982[_0x335982['NOT_FOUND']=0x4]=_0x444a33(0x1ef),_0x335982[_0x335982[_0x444a33(0x103)]=0x5]=_0x444a33(0x103),_0x335982[_0x335982[_0x444a33(0x2fd)]=0x6]=_0x444a33(0x2fd),_0x335982[_0x335982['INVALID_ARGUMENT']=0x7]=_0x444a33(0x314),_0x335982[_0x335982[_0x444a33(0x278)]=0x8]=_0x444a33(0x278),_0x335982[_0x335982['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x335982[_0x335982[_0x444a33(0x28f)]=0xa]='LOGIN_FAILED',_0x335982[_0x335982[_0x444a33(0x350)]=0xb]=_0x444a33(0x350),_0x335982[_0x335982['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x335982[_0x335982[_0x444a33(0x1c5)]=0xd]=_0x444a33(0x1c5),_0x335982[_0x335982['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x444a33(0x34a),_0x335982[_0x335982['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x444a33(0x1c0),_0x335982[_0x335982[_0x444a33(0x105)]=0x10]=_0x444a33(0x105),_0x335982[_0x335982[_0x444a33(0x3b2)]=0x64]=_0x444a33(0x3b2),_0x335982[_0x335982[_0x444a33(0x25f)]=0x65]='ERROR_AGAIN',_0x335982[_0x335982['USER_NOT_FOUND']=0xc9]=_0x444a33(0x15b),_0x335982[_0x335982['USER_IS_ANONYMOUS']=0xca]=_0x444a33(0x35c),_0x335982[_0x335982[_0x444a33(0x35d)]=0x1389]=_0x444a33(0x35d),_0x335982[_0x335982[_0x444a33(0x43a)]=0x1771]=_0x444a33(0x43a),_0x335982[_0x335982[_0x444a33(0x3d3)]=0x1772]=_0x444a33(0x3d3),_0x335982[_0x335982['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x444a33(0x11a),_0x335982[_0x335982[_0x444a33(0x116)]=0x1b59]=_0x444a33(0x116),_0x335982[_0x335982[_0x444a33(0x3e7)]=0x1b5a]=_0x444a33(0x3e7),_0x335982[_0x335982[_0x444a33(0x45b)]=0x1b5b]=_0x444a33(0x45b),_0x335982[_0x335982[_0x444a33(0x336)]=0x1b5c]=_0x444a33(0x336),_0x335982[_0x335982['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x335982[_0x335982['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x444a33(0x405),_0x335982[_0x335982[_0x444a33(0x1d0)]=0x2329]=_0x444a33(0x1d0),_0x335982[_0x335982[_0x444a33(0x479)]=0x232a]=_0x444a33(0x479),_0x335982[_0x335982[_0x444a33(0x4a4)]=0x232b]=_0x444a33(0x4a4),_0x335982[_0x335982[_0x444a33(0x112)]=0x232c]=_0x444a33(0x112),_0x335982[_0x335982[_0x444a33(0x38b)]=0x232d]=_0x444a33(0x38b),_0x335982[_0x335982[_0x444a33(0x2f7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x335982[_0x335982[_0x444a33(0x233)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x335982[_0x335982[_0x444a33(0x28b)]=0x2713]=_0x444a33(0x28b),_0x335982[_0x335982[_0x444a33(0x177)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x335982[_0x335982[_0x444a33(0x217)]=0x271a]=_0x444a33(0x217),_0x335982[_0x335982[_0x444a33(0x462)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x335982[_0x335982[_0x444a33(0x2bf)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x335982[_0x335982[_0x444a33(0x48a)]=0x271d]=_0x444a33(0x48a),_0x335982[_0x335982[_0x444a33(0x13b)]=0x271e]=_0x444a33(0x13b),_0x335982[_0x335982[_0x444a33(0x484)]=0x271f]=_0x444a33(0x484),_0x335982[_0x335982['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x335982[_0x335982[_0x444a33(0x490)]=0x2af9]=_0x444a33(0x490),_0x335982[_0x335982[_0x444a33(0x1e2)]=0x2ee1]=_0x444a33(0x1e2),_0x335982[_0x335982[_0x444a33(0x1c8)]=0x2ee2]=_0x444a33(0x1c8),_0x335982[_0x335982['INVITE_CODE_REQUIRED']=0x2ee3]=_0x444a33(0x48e),_0x335982[_0x335982[_0x444a33(0x2b7)]=0x2ee4]=_0x444a33(0x2b7),_0x335982[_0x335982[_0x444a33(0x1ea)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x335982[_0x335982[_0x444a33(0x49a)]=0x32c9]=_0x444a33(0x49a),_0x335982[_0x335982[_0x444a33(0x36d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x335982[_0x335982[_0x444a33(0x3a9)]=0x32cb]=_0x444a33(0x3a9),_0x335982[_0x335982['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x444a33(0x404),_0x335982[_0x335982[_0x444a33(0x47a)]=0x36b2]=_0x444a33(0x47a),_0x335982[_0x335982[_0x444a33(0x196)]=0x36b3]=_0x444a33(0x196),_0x335982[_0x335982['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x444a33(0x305),_0x335982[_0x335982[_0x444a33(0x2dd)]=0x36b5]=_0x444a33(0x2dd),_0x335982[_0x335982[_0x444a33(0x123)]=0x36b6]=_0x444a33(0x123),_0x335982[_0x335982[_0x444a33(0x3e0)]=0x36b7]=_0x444a33(0x3e0),_0x335982[_0x335982[_0x444a33(0x12a)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x335982[_0x335982['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x335982[_0x335982[_0x444a33(0x1b9)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x335982[_0x335982[_0x444a33(0x13c)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x335982[_0x335982[_0x444a33(0x244)]=0x37dd]=_0x444a33(0x244),_0x335982[_0x335982[_0x444a33(0x203)]=0x3a99]=_0x444a33(0x203),_0x335982[_0x335982['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x444a33(0x333),_0x335982[_0x335982[_0x444a33(0x3d5)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x335982[_0x335982[_0x444a33(0x36e)]=0x3a9c]=_0x444a33(0x36e),_0x335982[_0x335982[_0x444a33(0x498)]=0x3a9d]=_0x444a33(0x498),_0x335982[_0x335982[_0x444a33(0x15f)]=0x3a9e]=_0x444a33(0x15f),_0x335982[_0x335982[_0x444a33(0x426)]=0x3a9f]=_0x444a33(0x426),_0x335982[_0x335982[_0x444a33(0x4a0)]=0x3e81]=_0x444a33(0x4a0),_0x335982[_0x335982[_0x444a33(0x48b)]=-0x1]=_0x444a33(0x48b),_0x335982))(_0x3e9701||{}),_0x31019e=(_0x43de5b=>(_0x43de5b[_0x43de5b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x43de5b[_0x43de5b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x43de5b[_0x43de5b[_0x444a33(0x22a)]=0x2]=_0x444a33(0x22a),_0x43de5b[_0x43de5b['UNIVER_SLIDE']=0x3]=_0x444a33(0x10d),_0x43de5b[_0x43de5b[_0x444a33(0x49d)]=0x4]='UNIVER_PROJECT',_0x43de5b[_0x43de5b['UNRECOGNIZED']=-0x1]=_0x444a33(0x48b),_0x43de5b))(_0x31019e||{}),_0x2fa8a0=(_0x2dec75=>(_0x2dec75[_0x2dec75[_0x444a33(0x2a5)]=0x0]=_0x444a33(0x2a5),_0x2dec75[_0x2dec75[_0x444a33(0x230)]=0x1]='HELLO',_0x2dec75[_0x2dec75[_0x444a33(0x1de)]=0x2]='JOIN',_0x2dec75[_0x2dec75[_0x444a33(0x1cf)]=0x3]=_0x444a33(0x1cf),_0x2dec75[_0x2dec75[_0x444a33(0x121)]=0x4]=_0x444a33(0x121),_0x2dec75[_0x2dec75[_0x444a33(0x473)]=0x5]=_0x444a33(0x473),_0x2dec75[_0x2dec75['RECV']=0x6]=_0x444a33(0x357),_0x2dec75[_0x2dec75[_0x444a33(0x48b)]=-0x1]=_0x444a33(0x48b),_0x2dec75))(_0x2fa8a0||{}),_0x53265e=(_0xe13de1=>(_0xe13de1[_0xe13de1[_0x444a33(0x311)]=0x0]=_0x444a33(0x311),_0xe13de1[_0xe13de1['OK']=0x1]='OK',_0xe13de1[_0xe13de1[_0x444a33(0x298)]=0x2]=_0x444a33(0x298),_0xe13de1[_0xe13de1[_0x444a33(0x2bc)]=0x3e9]=_0x444a33(0x2bc),_0xe13de1[_0xe13de1[_0x444a33(0x322)]=0x3ea]=_0x444a33(0x322),_0xe13de1[_0xe13de1[_0x444a33(0x216)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xe13de1[_0xe13de1[_0x444a33(0x460)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xe13de1[_0xe13de1[_0x444a33(0x48b)]=-0x1]=_0x444a33(0x48b),_0xe13de1))(_0x53265e||{}),_0x5305fc=(_0x33a8b5=>(_0x33a8b5[_0x33a8b5[_0x444a33(0x1e7)]=0x0]='Undefined',_0x33a8b5[_0x33a8b5['HttpImport']=0x1]='HttpImport',_0x33a8b5[_0x33a8b5['HttpExport']=0x2]='HttpExport',_0x33a8b5[_0x33a8b5[_0x444a33(0x1f3)]=0x3]=_0x444a33(0x1f3),_0x33a8b5[_0x33a8b5['UnitSnapshot']=0x4]='UnitSnapshot',_0x33a8b5[_0x33a8b5[_0x444a33(0x290)]=0x5]=_0x444a33(0x290),_0x33a8b5[_0x33a8b5[_0x444a33(0x3b9)]=0x6]=_0x444a33(0x3b9),_0x33a8b5[_0x33a8b5[_0x444a33(0x48b)]=-0x1]=_0x444a33(0x48b),_0x33a8b5))(_0x5305fc||{});const _0x1b6745=_0x444a33(0x161);function _0x210b76(_0x58845e){var _0x55f456=_0x444a33;return JSON[_0x55f456(0x3b4)](_0x58845e)[_0x55f456(0x3bd)];}var _0x258302=(_0x3c06bb=>(_0x3c06bb['OTHER_CLIENT_EDITING']=_0x444a33(0x24b),_0x3c06bb[_0x444a33(0x2ce)]=_0x444a33(0x2ce),_0x3c06bb[_0x444a33(0x402)]=_0x444a33(0x402),_0x3c06bb[_0x444a33(0x39a)]='CLOSE_ROOM',_0x3c06bb[_0x444a33(0x3bb)]=_0x444a33(0x3bb),_0x3c06bb[_0x444a33(0x345)]=_0x444a33(0x345),_0x3c06bb[_0x444a33(0x2aa)]=_0x444a33(0x2aa),_0x3c06bb[_0x444a33(0x271)]=_0x444a33(0x271),_0x3c06bb))(_0x258302||{});class _0x5a0744{constructor(){var _0x3b2050=_0x444a33;_0x11728e(this,'_event$',new _0x3d04ed['Subject']()),_0x11728e(this,_0x3b2050(0x1b0),this[_0x3b2050(0x385)][_0x3b2050(0x22c)]());}[_0x444a33(0x1f2)](_0x4be8ab){var _0x367090=_0x444a33;this[_0x367090(0x385)][_0x367090(0x2dc)](_0x4be8ab);}}class _0x4b42a2{constructor(){var _0xb9ffec=_0x444a33;_0x11728e(this,'_commentUpdate$',new _0x3d04ed[(_0xb9ffec(0x1d1))]()),_0x11728e(this,_0xb9ffec(0x3f5),this['_commentUpdate$'][_0xb9ffec(0x22c)]());}['onCommentUpdate'](_0x5e35ef){var _0x11cf8a=_0x444a33;this[_0x11cf8a(0x3b3)][_0x11cf8a(0x2dc)](_0x5e35ef);}}var _0x1715a1=Object[_0x444a33(0x41d)],_0x1c4946=(_0xdf9166,_0x2da2d6,_0x7af19e,_0x2a931c)=>{var _0xbf8097=_0x444a33;for(var _0x10945e=_0x2a931c>0x1?void 0x0:_0x2a931c?_0x1715a1(_0x2da2d6,_0x7af19e):_0x2da2d6,_0xaf78ad=_0xdf9166[_0xbf8097(0x3bd)]-0x1,_0x503486;_0xaf78ad>=0x0;_0xaf78ad--)(_0x503486=_0xdf9166[_0xaf78ad])&&(_0x10945e=_0x503486(_0x10945e)||_0x10945e);return _0x10945e;},_0x35e08d=(_0x4bda38,_0x37f860)=>(_0x1a323e,_0x5833d7)=>_0x37f860(_0x1a323e,_0x5833d7,_0x4bda38);_0x23269f[_0x444a33(0x43d)]=class extends _0x58829f[_0x444a33(0x247)]{constructor(_0xf3d5f,_0x53ad50){var _0x4dbd31=_0x444a33;super(),_0x11728e(this,_0x4dbd31(0x258),new Map()),_0x11728e(this,'_roomCreated$',new _0x3d04ed[(_0x4dbd31(0x1d1))]()),(this[_0x4dbd31(0x3a4)]=_0xf3d5f,this['_userManagerService']=_0x53ad50,this[_0x4dbd31(0x373)](_0x3d04ed[_0x4dbd31(0x482)](this['_univerInstanceService'][_0x4dbd31(0x1d9)](_0x58829f[_0x4dbd31(0x277)][_0x4dbd31(0x22a)])[_0x4dbd31(0x293)](_0x66d2a7[_0x4dbd31(0x351)](_0x11a006=>_0x11a006[_0x4dbd31(0x260)]())),this[_0x4dbd31(0x3a4)][_0x4dbd31(0x1d9)](_0x58829f[_0x4dbd31(0x277)][_0x4dbd31(0x257)])[_0x4dbd31(0x293)](_0x66d2a7[_0x4dbd31(0x351)](_0x103c74=>_0x103c74[_0x4dbd31(0x260)]())),this['_univerInstanceService'][_0x4dbd31(0x1d9)](_0x58829f[_0x4dbd31(0x277)][_0x4dbd31(0x10d)])['pipe'](_0x66d2a7[_0x4dbd31(0x351)](_0x193e78=>_0x193e78[_0x4dbd31(0x260)]())))[_0x4dbd31(0x42c)](_0x16bd2d=>this[_0x4dbd31(0x137)](_0x16bd2d))));}['waitForRoom$'](_0x58bc3e){var _0x2f2aba=_0x444a33;return this[_0x2f2aba(0x258)][_0x2f2aba(0x2c5)](_0x58bc3e)?_0x3d04ed['of'](this['_roomMembers'][_0x2f2aba(0x35f)](_0x58bc3e)):this['_roomCreated$']['pipe'](_0x66d2a7[_0x2f2aba(0x351)](_0x3a063b=>{var _0x1cde32=_0x2f2aba;if(_0x3a063b===_0x58bc3e)return this[_0x1cde32(0x258)][_0x1cde32(0x35f)](_0x3a063b);}));}[_0x444a33(0x2b2)](_0xd06867){var _0x861276=_0x444a33;this[_0x861276(0x1f0)][_0x861276(0x2b2)](_0xd06867);}['getCurrentUser'](){var _0x36e86a=_0x444a33;return this[_0x36e86a(0x1f0)]['getCurrentUser']();}['updateMember'](_0x3e0347,_0x2663e8){var _0x3d8bbb=_0x444a33;let _0x4bc21a=this[_0x3d8bbb(0x258)]['get'](_0x3e0347);_0x4bc21a||(_0x4bc21a=new _0x271b79(),this[_0x3d8bbb(0x258)][_0x3d8bbb(0x214)](_0x3e0347,_0x4bc21a),this[_0x3d8bbb(0x1c3)]['next'](_0x3e0347)),_0x4bc21a[_0x3d8bbb(0x348)](_0x2663e8);}[_0x444a33(0x22f)](_0x2867b1,_0x43a96f){var _0x224321=_0x444a33;const _0x49ca4f=this[_0x224321(0x258)][_0x224321(0x35f)](_0x2867b1);_0x49ca4f&&_0x49ca4f[_0x224321(0x22f)](_0x43a96f);}[_0x444a33(0x299)](_0x37431c){var _0x3f7c93=_0x444a33;return this[_0x3f7c93(0x258)][_0x3f7c93(0x35f)](_0x37431c);}['getMember'](_0x19d51c,_0x559733){var _0x3ca9b8=_0x444a33;const _0x134328=this[_0x3ca9b8(0x258)][_0x3ca9b8(0x35f)](_0x19d51c);if(_0x134328)return _0x134328[_0x3ca9b8(0x2a9)](_0x559733);}[_0x444a33(0x137)](_0x5a2398){var _0x3afe2b=_0x444a33;const _0x5c0411=this[_0x3afe2b(0x258)][_0x3afe2b(0x35f)](_0x5a2398);_0x5c0411&&(_0x5c0411['dispose'](),this[_0x3afe2b(0x258)]['delete'](_0x5a2398));}[_0x444a33(0x1dd)](){var _0x1aa52c=_0x444a33;this[_0x1aa52c(0x258)][_0x1aa52c(0x437)](_0xe5bb44=>_0xe5bb44[_0x1aa52c(0x1dd)]()),this[_0x1aa52c(0x258)]['clear'](),this['_roomCreated$'][_0x1aa52c(0x3b8)]();}},_0x23269f[_0x444a33(0x43d)]=_0x1c4946([_0x35e08d(0x0,_0x58829f['IUniverInstanceService']),_0x35e08d(0x1,_0x58829f['Inject'](_0x58829f[_0x444a33(0x1ba)]))],_0x23269f[_0x444a33(0x43d)]);class _0x271b79 extends _0x58829f[_0x444a33(0x247)]{constructor(){var _0x3d898e=_0x444a33;super(...arguments),_0x11728e(this,_0x3d898e(0x2eb),new Map()),_0x11728e(this,_0x3d898e(0x18d),new _0x3d04ed['BehaviorSubject'](this['_members'])),_0x11728e(this,_0x3d898e(0x399),this[_0x3d898e(0x18d)][_0x3d898e(0x22c)]());}['dispose'](){var _0x446460=_0x444a33;this[_0x446460(0x2eb)][_0x446460(0x11b)]();}[_0x444a33(0x348)](_0x3bd2e1){var _0x5c4232=_0x444a33;this[_0x5c4232(0x2eb)][_0x5c4232(0x214)](_0x3bd2e1[_0x5c4232(0x2d5)],_0x3bd2e1),this[_0x5c4232(0x39e)]();}['removeMember'](_0x42512c){var _0x39956a=_0x444a33;this[_0x39956a(0x2eb)][_0x39956a(0x24c)](_0x42512c);}[_0x444a33(0x2a9)](_0x499f18){var _0x307232=_0x444a33;return this['_members'][_0x307232(0x35f)](_0x499f18);}[_0x444a33(0x124)](){var _0x135466=_0x444a33;return Array[_0x135466(0x40d)](this[_0x135466(0x2eb)][_0x135466(0x267)]());}[_0x444a33(0x39e)](){var _0x234971=_0x444a33;this['_members$'][_0x234971(0x2dc)](this[_0x234971(0x2eb)]);}}var _0x3d8f11=Object[_0x444a33(0x41d)],_0x10726e=(_0x246a6a,_0x2d45be,_0x23af4f,_0x325939)=>{var _0x213eb5=_0x444a33;for(var _0x3a4542=_0x325939>0x1?void 0x0:_0x325939?_0x3d8f11(_0x2d45be,_0x23af4f):_0x2d45be,_0x5643a4=_0x246a6a[_0x213eb5(0x3bd)]-0x1,_0x40d25e;_0x5643a4>=0x0;_0x5643a4--)(_0x40d25e=_0x246a6a[_0x5643a4])&&(_0x3a4542=_0x40d25e(_0x3a4542)||_0x3a4542);return _0x3a4542;},_0x9d7d20=(_0x314d91,_0x59ee9d)=>(_0x8a513f,_0x48e3bb)=>_0x59ee9d(_0x8a513f,_0x48e3bb,_0x314d91),_0xd0cc91=(_0x29a98f=>(_0x29a98f[_0x29a98f[_0x444a33(0x28d)]=0x0]=_0x444a33(0x28d),_0x29a98f[_0x29a98f['JOINING']=0x1]='JOINING',_0x29a98f[_0x29a98f['OFFLINE']=0x2]=_0x444a33(0x15d),_0x29a98f[_0x29a98f[_0x444a33(0x2e2)]=0x3]=_0x444a33(0x2e2),_0x29a98f))(_0xd0cc91||{});const _0x4c395a={[_0x53265e[_0x444a33(0x298)]]:_0x444a33(0x163),[_0x53265e[_0x444a33(0x2bc)]]:'session.room-full',[_0x53265e['JOIN_ROOM_NOT_EXISTS']]:_0x444a33(0x3fe),[_0x53265e[_0x444a33(0x216)]]:_0x444a33(0x12e),[_0x53265e[_0x444a33(0x460)]]:_0x444a33(0x282)};_0x23269f['CollaborationSession']=class extends _0x58829f['RxDisposable']{constructor(_0x41b05a,_0xaf2586,_0x63ba7b,_0x24ae2a,_0x2af155,_0x4686dc,_0x51d0fb,_0x8d7feb){var _0x30f181=_0x444a33;super(),_0x11728e(this,_0x30f181(0x3e9),new _0x3d04ed['BehaviorSubject'](0x0)),_0x11728e(this,_0x30f181(0x23e),this['_sessionStatus$'][_0x30f181(0x22c)]()),_0x11728e(this,_0x30f181(0x385),new _0x3d04ed[(_0x30f181(0x1d1))]()),_0x11728e(this,_0x30f181(0x1b0),this['_event$'][_0x30f181(0x22c)]()),_0x11728e(this,_0x30f181(0x3f9)),_0x11728e(this,_0x30f181(0x281)),_0x11728e(this,_0x30f181(0x191)),_0x11728e(this,'_shouldReportTelemetry',!0x1),_0x11728e(this,_0x30f181(0x328),null),(this[_0x30f181(0x31c)]=_0x41b05a,this['_logService']=_0x63ba7b,this[_0x30f181(0x219)]=_0x24ae2a,this[_0x30f181(0x425)]=_0x2af155,this[_0x30f181(0x2de)]=_0x4686dc,this[_0x30f181(0x491)]=_0x51d0fb,this[_0x30f181(0x3ae)]=_0x8d7feb,this['_shouldReportTelemetry']=!!this[_0x30f181(0x3ae)],_0xaf2586[_0x30f181(0x293)](_0x3d04ed[_0x30f181(0x21c)](this[_0x30f181(0x2d6)]))['subscribe'](_0x5cc8af=>{var _0x290f8e=_0x30f181,_0x50507b;typeof _0x5cc8af>'u'||(this[_0x290f8e(0x3f9)]=_0x5cc8af,_0x5cc8af?(this['_joinRoom'](_0x5cc8af),this[_0x290f8e(0x281)]=_0x5cc8af[_0x290f8e(0x485)][_0x290f8e(0x42c)](_0x3f9ccd=>{var _0x3b0eb0=_0x290f8e;_0x3f9ccd[_0x3b0eb0(0x115)]===this['_unitID']&&this[_0x3b0eb0(0x166)](_0x3f9ccd);})):(this[_0x290f8e(0x2a2)](),this[_0x290f8e(0x3e9)][_0x290f8e(0x2dc)](0x2),(_0x50507b=this[_0x290f8e(0x281)])==null||_0x50507b[_0x290f8e(0x36a)](),this[_0x290f8e(0x281)]=null));}));}get[_0x444a33(0x42d)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x1871ef=_0x444a33,_0x53454c,_0x3ffd06;return(_0x3ffd06=(_0x53454c=this[_0x1871ef(0x3f9)])==null?void 0x0:_0x53454c[_0x1871ef(0x2d5)])!=null?_0x3ffd06:null;}['dispose'](){var _0x4988ab=_0x444a33;super[_0x4988ab(0x1dd)](),this[_0x4988ab(0x2d6)][_0x4988ab(0x2dc)](),this[_0x4988ab(0x2d6)][_0x4988ab(0x3b8)]();}[_0x444a33(0x363)](){var _0x27fe5f=_0x444a33,_0x3afd0f,_0x57117a;this[_0x27fe5f(0x2a2)](),(_0x3afd0f=this[_0x27fe5f(0x3f9)])==null||_0x3afd0f['send']({'cmd':_0x2fa8a0[_0x27fe5f(0x1cf)],'data':{'roomID':this[_0x27fe5f(0x31c)]}}),(_0x57117a=this['_socket'])==null||_0x57117a[_0x27fe5f(0x363)](),this[_0x27fe5f(0x385)]['complete'](),this[_0x27fe5f(0x3e9)][_0x27fe5f(0x3b8)](),this[_0x27fe5f(0x1dd)]();}[_0x444a33(0x166)](_0x333ef0){var _0xb48099=_0x444a33;_0x333ef0['cmd']===_0x2fa8a0[_0xb48099(0x1de)]?this[_0xb48099(0x3a5)](_0x333ef0):_0x333ef0['cmd']===_0x2fa8a0[_0xb48099(0x357)]&&this['_onRecvEvent'](_0x333ef0);}[_0x444a33(0x321)](_0x66f31c){var _0x312c50=_0x444a33;this[_0x312c50(0x3e9)][_0x312c50(0x2dc)](0x1),_0x66f31c[_0x312c50(0x439)]({'cmd':_0x2fa8a0[_0x312c50(0x1de)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x312c50(0x31c)]}]}});}[_0x444a33(0x3a5)](_0x36ef72){var _0x1309d8=_0x444a33,_0x27ad90;if(_0x36ef72[_0x1309d8(0x3be)]in _0x4c395a){this[_0x1309d8(0x491)]['emitEvent']({'id':_0x258302['JOIN_ROOM_FAILED'],'data':_0x4c395a[_0x36ef72['code']]}),this[_0x1309d8(0x3e9)][_0x1309d8(0x2dc)](0x2);return;}this[_0x1309d8(0x3e9)][_0x1309d8(0x2dc)](0x3);const _0x2fd012=(_0x27ad90=_0x36ef72['data'][_0x1309d8(0x263)][this[_0x1309d8(0x31c)]])==null?void 0x0:_0x27ad90[_0x1309d8(0x2ac)];_0x2fd012&&_0x2fd012[_0x1309d8(0x437)](_0x16971c=>this[_0x1309d8(0x425)][_0x1309d8(0x348)](this[_0x1309d8(0x31c)],_0x16971c));}['_onRecvEvent'](_0x3cb94b){var _0x8c419b=_0x444a33;try{const _0x2ae883=_0x3cb94b[_0x8c419b(0x291)];switch(_0x2ae883[_0x8c419b(0x3b0)]){case _0x1cf310[_0x8c419b(0x2be)][_0x8c419b(0x21b)]:this[_0x8c419b(0x464)](_0x2ae883),this[_0x8c419b(0x385)]['next'](_0x2ae883);break;case _0x1cf310[_0x8c419b(0x2be)][_0x8c419b(0x343)]:this[_0x8c419b(0x461)](_0x2ae883),this['_event$']['next'](_0x2ae883);break;case _0x1cf310[_0x8c419b(0x2be)][_0x8c419b(0x318)]:case _0x1cf310[_0x8c419b(0x2be)][_0x8c419b(0x3e1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x8c419b(0x34c)](),this[_0x8c419b(0x385)][_0x8c419b(0x2dc)](_0x2ae883);break;case _0x1cf310[_0x8c419b(0x2be)]['MSG_FOR_ERROR']:this[_0x8c419b(0x41c)]['error'](_0x8c419b(0x3f6)+JSON[_0x8c419b(0x3b4)](_0x2ae883)),this[_0x8c419b(0x385)][_0x8c419b(0x2dc)](_0x2ae883);break;case _0x1cf310[_0x8c419b(0x2be)][_0x8c419b(0x12f)]:this[_0x8c419b(0x2de)][_0x8c419b(0x3c8)](_0x2ae883[_0x8c419b(0x291)]),this[_0x8c419b(0x385)][_0x8c419b(0x2dc)](_0x2ae883);break;default:this[_0x8c419b(0x385)][_0x8c419b(0x2dc)](_0x2ae883);}}catch(_0x141c1e){this[_0x8c419b(0x41c)][_0x8c419b(0x3f8)](_0x141c1e,_0x3cb94b);}}[_0x444a33(0x464)](_0x18be00){var _0x19c912=_0x444a33;this[_0x19c912(0x425)]['updateMember'](this['_unitID'],_0x18be00[_0x19c912(0x291)]);}[_0x444a33(0x461)](_0x25091c){var _0x81f7b1=_0x444a33;this['_memberService']['removeMember'](this[_0x81f7b1(0x31c)],_0x25091c[_0x81f7b1(0x291)][_0x81f7b1(0x2d5)]);}async['send'](_0x327b05,_0x4c6e1e){var _0xfbe0ee=_0x444a33;if(this[_0xfbe0ee(0x42d)]!==0x3||!this[_0xfbe0ee(0x3f9)])throw new Error(_0xfbe0ee(0x17a));try{_0x327b05[_0xfbe0ee(0x3b0)]===_0x1cf310[_0xfbe0ee(0x2be)][_0xfbe0ee(0x397)]&&(this[_0xfbe0ee(0x2a3)](),this[_0xfbe0ee(0x294)](_0x327b05)),this[_0xfbe0ee(0x3f9)][_0xfbe0ee(0x439)]({'cmd':_0x2fa8a0['INGEST'],'routeKey':_0x4c6e1e,'routeType':'','data':_0x327b05});}catch(_0x3d24d7){this['_logService'][_0xfbe0ee(0x3f8)](_0x3d24d7);}}['_scheduleCollaborationTimeoutTimer'](){var _0xfd34fd=_0x444a33,_0x3cc994;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4af564=_0xac1b;this['_collaborationTimeoutTimer']=null,this[_0x4af564(0x491)][_0x4af564(0x1f2)]({'id':_0x258302['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3cc994=this[_0xfd34fd(0x219)][_0xfd34fd(0x3d6)](_0x3c3820))!=null?_0x3cc994:0x4e20);}[_0x444a33(0x34c)](){var _0x19121e=_0x444a33;this[_0x19121e(0x191)]&&(clearTimeout(this[_0x19121e(0x191)]),this[_0x19121e(0x191)]=null);}[_0x444a33(0x294)](_0x3f4387){var _0x5d1f4a=_0x444a33;if(!this[_0x5d1f4a(0x444)])return;const {data:_0x5f3656}=_0x3f4387,{unitID:_0x54c149,changeset:_0x5462c4}=_0x5f3656,{mutations:_0x218275,type:_0x3ad1fe}=_0x5462c4;this['_telemetryInfo']={'unitId':_0x54c149,'type':_0x3ad1fe,'startTime':performance[_0x5d1f4a(0x13d)](),'stopTime':0x0,'duration':0x0,'size':_0x210b76(_0x218275)};}[_0x444a33(0x1cc)](){var _0x224dac=_0x444a33;if(this['_shouldReportTelemetry']){if(!this[_0x224dac(0x328)]){this['_logService'][_0x224dac(0x3f8)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x224dac(0x175)]=performance[_0x224dac(0x13d)](),this[_0x224dac(0x328)][_0x224dac(0x228)]=this['_telemetryInfo'][_0x224dac(0x175)]-this['_telemetryInfo']['startTime'],this[_0x224dac(0x3ae)][_0x224dac(0x474)](_0x1b6745,this[_0x224dac(0x328)]),this[_0x224dac(0x328)]=null;}}[_0x444a33(0x2a2)](){var _0x4ee9d2=_0x444a33;this[_0x4ee9d2(0x328)]=null;}},_0x23269f[_0x444a33(0x41f)]=_0x10726e([_0x9d7d20(0x2,_0x58829f[_0x444a33(0x352)]),_0x9d7d20(0x3,_0x58829f[_0x444a33(0x142)]),_0x9d7d20(0x4,_0x58829f[_0x444a33(0x275)](_0x23269f[_0x444a33(0x43d)])),_0x9d7d20(0x5,_0x58829f[_0x444a33(0x275)](_0x4b42a2)),_0x9d7d20(0x6,_0x58829f['Inject'](_0x5a0744)),_0x9d7d20(0x7,_0x58829f[_0x444a33(0x49c)](_0x1835bb[_0x444a33(0x144)]))],_0x23269f[_0x444a33(0x41f)]);const _0x59fe82=_0x58829f[_0x444a33(0xff)](_0x444a33(0x29e));function _0x5436ac(_0x8f0eba){return'unit-cache-'+_0x8f0eba;}var _0x374800=Object[_0x444a33(0x41d)],_0x517615=(_0x44a89,_0x46a4e4,_0x5c6b33,_0xc595c)=>{var _0x5cf542=_0x444a33;for(var _0x2839cd=_0xc595c>0x1?void 0x0:_0xc595c?_0x374800(_0x46a4e4,_0x5c6b33):_0x46a4e4,_0x1d26dc=_0x44a89[_0x5cf542(0x3bd)]-0x1,_0x48bef8;_0x1d26dc>=0x0;_0x1d26dc--)(_0x48bef8=_0x44a89[_0x1d26dc])&&(_0x2839cd=_0x48bef8(_0x2839cd)||_0x2839cd);return _0x2839cd;},_0x1a7f9d=(_0x42a3df,_0x389aae)=>(_0x3e36bf,_0x3f8393)=>_0x389aae(_0x3e36bf,_0x3f8393,_0x42a3df);function _0x3d6635(_0x5e1246){var _0x2a6a30=_0x444a33;const {unitID:_0x423341,mutations:_0x2de9c1}=_0x5e1246;return{'unitId':_0x423341,'subUnitId':_0x2de9c1[_0x2a6a30(0x3bd)]>0x0?_0x2de9c1[0x0][_0x2a6a30(0x41e)][_0x2a6a30(0x40f)]:null};}_0x23269f[_0x444a33(0x140)]=class{constructor(_0x4ada04,_0x1ce7fa,_0x3f040b){var _0x12e10c=_0x444a33;this[_0x12e10c(0x2ba)]=_0x4ada04,this[_0x12e10c(0x325)]=_0x1ce7fa,this[_0x12e10c(0x285)]=_0x3f040b;}['transformSelections'](_0x27fe03){var _0x2c93bc=_0x444a33,_0x2c1f5a,_0x49b6a5,_0x16fa72,_0x3e9bf5;const _0x3219af=this[_0x2c93bc(0x2ba)]['get'](_0x538c19[_0x2c93bc(0x255)]),{unitId:_0x2c3064,subUnitId:_0x2ccaf1}=_0x3d6635(_0x27fe03),_0x1a51dc=_0x3219af==null?void 0x0:_0x3219af[_0x2c93bc(0x3ed)](_0x2c3064)[_0x2c93bc(0x2c8)](),_0x4a7a11=(_0x49b6a5=(_0x2c1f5a=this[_0x2c93bc(0x285)][_0x2c93bc(0x3d4)](_0x2c3064))==null?void 0x0:_0x2c1f5a[_0x2c93bc(0x44a)]())==null?void 0x0:_0x49b6a5[_0x2c93bc(0x3ee)]();if(_0x1a51dc['length']===0x0||!_0x2c3064||!_0x2ccaf1)return;const _0x4e1f1c=[{'id':_0x538c19[_0x2c93bc(0x431)]['id'],'params':{'unitId':_0x2c3064,'subUnitId':_0x4a7a11,'selections':_0x58829f[_0x2c93bc(0x422)][_0x2c93bc(0x3ad)](_0x1a51dc)}}],_0x2c3ffe=this[_0x2c93bc(0x325)][_0x2c93bc(0x42b)](_0x27fe03,_0x4e1f1c);if(!_0x1cf310[_0x2c93bc(0x1b8)](_0x2c3ffe))throw _0x2c3ffe[_0x2c93bc(0x3f8)];const _0xb8dd0f=(_0x3e9bf5=(_0x16fa72=_0x2c3ffe['m2Prime'][0x0])==null?void 0x0:_0x16fa72[_0x2c93bc(0x41e)])==null?void 0x0:_0x3e9bf5[_0x2c93bc(0x356)];if(Array[_0x2c93bc(0x30c)](_0xb8dd0f)&&_0xb8dd0f['length']){if(_0xb8dd0f['length']===_0x4e1f1c[0x0][_0x2c93bc(0x41e)][_0x2c93bc(0x356)]['length']&&_0xb8dd0f['every']((_0x46ba4b,_0xae7762)=>_0x58829f[_0x2c93bc(0x3a8)][_0x2c93bc(0x162)](_0x46ba4b[_0x2c93bc(0x3a7)],_0x4e1f1c[0x0][_0x2c93bc(0x41e)][_0x2c93bc(0x356)][_0xae7762]['range'])))return;this[_0x2c93bc(0x2ba)][_0x2c93bc(0x35f)](_0x58829f['ICommandService'])['executeCommand'](_0x538c19[_0x2c93bc(0x431)]['id'],{'unitId':_0x2c3064,'subUnitId':_0x4a7a11,'selections':_0xb8dd0f});}}},_0x23269f[_0x444a33(0x140)]=_0x517615([_0x1a7f9d(0x0,_0x58829f[_0x444a33(0x275)](_0x58829f['Injector'])),_0x1a7f9d(0x1,_0x1cf310['ITransformService']),_0x1a7f9d(0x2,_0x58829f[_0x444a33(0x2df)])],_0x23269f[_0x444a33(0x140)]);const _0x1fbfd9=_0x58829f['createIdentifier'](_0x444a33(0x209));var _0x2db7f5=(_0x42896b=>(_0x42896b[_0x42896b[_0x444a33(0x2fa)]=0x0]=_0x444a33(0x2fa),_0x42896b[_0x42896b[_0x444a33(0x45c)]=0x1]='OTHER_CLIENTS_EDITING',_0x42896b))(_0x2db7f5||{});const _0x420549='collaboration-client.config',_0x50290f={};function _0x3e6d1a(_0x366dd2){var _0x511a8b=_0x444a33,_0x689815;return!!((_0x689815=_0x366dd2[_0x511a8b(0x41e)])!=null&&_0x689815[_0x511a8b(0x41b)]);}const _0x2b0f1a=new Set([_0x538c19[_0x444a33(0x31b)]['id']]);function _0x480992(_0x21018d,_0x1c54fb,_0x4a9ef5,_0x9201e1,_0x1a11bb){var _0x35c195=_0x444a33,_0x40735c,_0xdca1c3,_0x5976fa,_0x288547;const _0x4f5a04=[];for(const _0x271d2d of _0x21018d){if(_0x2b0f1a['has'](_0x271d2d['id'])){if(_0x4f5a04[_0x35c195(0x3bd)]>0x0)break;_0x4f5a04[_0x35c195(0x332)](_0x271d2d);break;}if(_0x3e6d1a(_0x271d2d)){if(_0x4f5a04['length']>0x0)break;_0x4f5a04['push'](_0x271d2d);break;}_0x4f5a04[_0x35c195(0x332)](_0x271d2d);}const _0x3baa85=(_0xdca1c3=(_0x40735c=_0x1a11bb[_0x35c195(0x2fb)]())==null?void 0x0:_0x40735c[_0x35c195(0x334)])!=null?_0xdca1c3:_0x35c195(0x19b),_0x297c64=(_0x288547=(_0x5976fa=_0x1a11bb[_0x35c195(0x2fb)]())==null?void 0x0:_0x5976fa[_0x35c195(0x2d5)])!=null?_0x288547:'unknown';return{'changeset':{'unitID':_0x1c54fb,'type':_0x1cf310[_0x35c195(0x211)](_0x4a9ef5[_0x35c195(0x309)](_0x1c54fb)),'baseRev':_0x9201e1[_0x35c195(0x1c6)](_0x1c54fb),'revision':0x0,'userID':_0x3baa85,'memberID':_0x297c64,'mutations':_0x4f5a04},'pendingMutations':_0x21018d[_0x35c195(0x1b5)](_0x4f5a04['length'])};}function _0x4ce8db(_0x13192e,_0x2be1e4,_0x708456,_0x5c4276,_0xbb5a12){var _0x3b7a44=_0x444a33,_0x4affe5,_0x1fecd2,_0x3ae71e,_0x4545c6;const _0xf82118=[_0x13192e[_0x3b7a44(0x17d)]((_0x582162,_0x4aa8d1)=>{var _0x5df495=_0x3b7a44,_0x5c1cea;const {id:_0x4e3db9}=_0x582162,{id:_0x28f35a,type:_0x4e7bac}=_0x4aa8d1,_0xadb081=(_0x5c1cea=_0x582162[_0x5df495(0x41e)])!=null?_0x5c1cea:{'actions':null},_0x3c85f6=_0x4aa8d1['params'];if(_0x4e3db9&&_0x4e3db9!==_0x28f35a)throw new Error(_0x5df495(0x470)+_0x4e3db9+_0x5df495(0x326)+_0x28f35a+'.');return{..._0x582162,'id':_0x28f35a,'type':_0x4e7bac,'params':{'unitId':_0x3c85f6['unitId'],'textRanges':_0x3c85f6[_0x5df495(0x24f)],'actions':_0x58829f[_0x5df495(0x16d)][_0x5df495(0x2cc)](_0xadb081[_0x5df495(0x362)],_0x3c85f6[_0x5df495(0x362)])}};},{})],_0x572841=(_0x1fecd2=(_0x4affe5=_0xbb5a12[_0x3b7a44(0x2fb)]())==null?void 0x0:_0x4affe5[_0x3b7a44(0x334)])!=null?_0x1fecd2:_0x3b7a44(0x19b),_0x3373c3=(_0x4545c6=(_0x3ae71e=_0xbb5a12[_0x3b7a44(0x2fb)]())==null?void 0x0:_0x3ae71e[_0x3b7a44(0x2d5)])!=null?_0x4545c6:_0x3b7a44(0x19b);return{'changeset':{'unitID':_0x2be1e4,'type':_0x1cf310['mapDocumentTypeToUniverType'](_0x708456[_0x3b7a44(0x309)](_0x2be1e4)),'baseRev':_0x5c4276['getCurrentRevOfUnit'](_0x2be1e4),'revision':0x0,'userID':_0x572841,'memberID':_0x3373c3,'mutations':_0xf82118},'pendingMutations':[]};}function _0x36aaa0(_0x4e605f,_0x163b3e){var _0x594733=_0x444a33;const _0x9a408a=new _0x3d04ed['ReplaySubject'](0x1);return setTimeout(()=>_0x9a408a[_0x594733(0x2dc)](_0x163b3e),_0x4e605f),_0x9a408a[_0x594733(0x22c)]()[_0x594733(0x293)](_0x3d04ed[_0x594733(0x48d)](0x1));}var _0x392c9f=Object[_0x444a33(0x41d)],_0x3a2c4a=(_0x379f27,_0x120440,_0x14c82a,_0x59f122)=>{var _0x2d986a=_0x444a33;for(var _0x2b44ab=_0x59f122>0x1?void 0x0:_0x59f122?_0x392c9f(_0x120440,_0x14c82a):_0x120440,_0x162e1f=_0x379f27[_0x2d986a(0x3bd)]-0x1,_0x5c07ce;_0x162e1f>=0x0;_0x162e1f--)(_0x5c07ce=_0x379f27[_0x162e1f])&&(_0x2b44ab=_0x5c07ce(_0x2b44ab)||_0x2b44ab);return _0x2b44ab;},_0x1842e0=(_0xdefb6b,_0x100e17)=>(_0x1ce72b,_0x2c7603)=>_0x100e17(_0x1ce72b,_0x2c7603,_0xdefb6b),_0x34ef76=(_0x4013c7=>(_0x4013c7[_0x444a33(0x2c3)]=_0x444a33(0x2ff),_0x4013c7[_0x444a33(0x2cb)]=_0x444a33(0x45a),_0x4013c7[_0x444a33(0x2bb)]=_0x444a33(0x44b),_0x4013c7['AWAITING']=_0x444a33(0x23f),_0x4013c7[_0x444a33(0x106)]=_0x444a33(0x2e9),_0x4013c7[_0x444a33(0x2e5)]='fetch_missing',_0x4013c7[_0x444a33(0x402)]=_0x444a33(0x341),_0x4013c7[_0x444a33(0x15d)]='offline',_0x4013c7))(_0x34ef76||{});const _0x324b48=0x4e20,_0x49f3f1=0x2bf20;class _0x576199{constructor(_0x557b47,_0xb8933c,_0x1143ba,_0x59bdd7,_0x89efda,_0x573e81,_0x1f6b04,_0xb73903,_0x196220){var _0x2c5f87=_0x444a33;_0x11728e(this,_0x2c5f87(0x225),null),_0x11728e(this,_0x2c5f87(0x436),[]),(this[_0x2c5f87(0x2b3)]=_0x557b47,this[_0x2c5f87(0x20a)]=_0xb8933c,this[_0x2c5f87(0x1cd)]=_0x89efda,this[_0x2c5f87(0x396)]=_0x573e81,this[_0x2c5f87(0x272)]=_0x1f6b04,this[_0x2c5f87(0x339)]=_0xb73903,this['_localCacheService']=_0x196220,this[_0x2c5f87(0x225)]=_0x1143ba,this[_0x2c5f87(0x436)]=_0x59bdd7);}['_checkMissing'](_0x32f70c){var _0x2e95a7=_0x444a33;const _0x1e64bf=this[_0x2e95a7(0x339)]['getCurrentRevOfUnit'](this[_0x2e95a7(0x2b3)]);return _0x32f70c[_0x2e95a7(0x35e)]>_0x1e64bf+0x1?(this[_0x2e95a7(0x1cd)][_0x2e95a7(0x16b)]({'from':_0x1e64bf,'to':_0x32f70c[_0x2e95a7(0x35e)]-0x1}),!0x0):!0x1;}[_0x444a33(0x27d)](_0x164cc2){var _0x170d9e=_0x444a33;this[_0x170d9e(0x272)][_0x170d9e(0x1d8)](this[_0x170d9e(0x2b3)],_0x164cc2);}[_0x444a33(0x3ab)](_0x255a2f){var _0x523b4a=_0x444a33,_0x1346e6,_0x524d1a;(_0x524d1a=(_0x1346e6=this['_handler'])[_0x523b4a(0x28e)])==null||_0x524d1a[_0x523b4a(0x26e)](_0x1346e6,_0x255a2f);}[_0x444a33(0x415)](_0x448778){var _0x296f5a=_0x444a33,_0x44856c,_0x6e9f6c;return(_0x6e9f6c=(_0x44856c=this['_handler'])[_0x296f5a(0x218)])==null?void 0x0:_0x6e9f6c[_0x296f5a(0x26e)](_0x44856c,_0x448778);}[_0x444a33(0x24a)](_0x431142){var _0x2f1e59=_0x444a33,_0x2b946b,_0x27f53c;return(_0x27f53c=(_0x2b946b=this['_handler'])[_0x2f1e59(0x26f)])==null?void 0x0:_0x27f53c[_0x2f1e59(0x26e)](_0x2b946b,_0x431142);}['_transformRemoteChangesetByIMECache'](_0xc31801){var _0x4a9488=_0x444a33,_0x50beb1,_0x51474f,_0x273655;return(_0x273655=(_0x51474f=(_0x50beb1=this[_0x4a9488(0x1cd)])[_0x4a9488(0x37a)])==null?void 0x0:_0x51474f[_0x4a9488(0x26e)](_0x50beb1,_0xc31801))!=null?_0x273655:_0xc31801;}[_0x444a33(0x10e)](_0x2b7a14){var _0x61c159=_0x444a33,_0x2db20a,_0x15e980,_0x13bc0c;return(_0x13bc0c=(_0x15e980=(_0x2db20a=this['_handler'])[_0x61c159(0x11e)])==null?void 0x0:_0x15e980[_0x61c159(0x26e)](_0x2db20a,_0x2b7a14))!=null?_0x13bc0c:_0x2b7a14;}[_0x444a33(0xf9)](_0xce1650){var _0x39ec2f=_0x444a33,_0x1ca5de,_0x407fdb;if(this['type']===_0x31019e[_0x39ec2f(0x257)]){const {unitID:_0x1103ed,mutations:_0x5b4fb2,memberID:_0x1073d2}=_0xce1650,_0x1a2d67=_0x5b4fb2[_0x39ec2f(0x3bd)]>0x0?_0x5b4fb2[0x0][_0x39ec2f(0x41e)][_0x39ec2f(0x24f)]:[];Array['isArray'](_0x1a2d67)&&_0x1a2d67[_0x39ec2f(0x3bd)]>0x0&&((_0x407fdb=(_0x1ca5de=this['_handler'])[_0x39ec2f(0x253)])==null||_0x407fdb[_0x39ec2f(0x26e)](_0x1ca5de,{'unitID':_0x1103ed,'memberID':_0x1073d2,'textRanges':_0x1a2d67}));}}[_0x444a33(0x295)](){var _0x23c4b8=_0x444a33,_0x43a5ae;(_0x43a5ae=this['_localCacheService'])==null||_0x43a5ae[_0x23c4b8(0x3f2)](this[_0x23c4b8(0x2b3)],this[_0x23c4b8(0x20a)],this[_0x23c4b8(0x225)],this[_0x23c4b8(0x436)]);}[_0x444a33(0xfc)](){var _0xdfaeed=_0x444a33;return this[_0xdfaeed(0x339)][_0xdfaeed(0x1c6)](this[_0xdfaeed(0x2b3)]);}[_0x444a33(0x2e6)](){var _0x46a06d=_0x444a33;this['_revisionService'][_0x46a06d(0x478)](this['unitID']);}[_0x444a33(0x25a)](_0x636cdf){var _0x571178=_0x444a33,_0x2b9212;let _0x39f4fa=this[_0x571178(0x33f)](_0x636cdf);_0x39f4fa=this[_0x571178(0x10e)](_0x39f4fa);const _0x14c639=_0x58829f['sequenceExecute'](_0x39f4fa[_0x571178(0x366)],this[_0x571178(0x396)],{'fromCollab':!0x0});if(!_0x14c639[_0x571178(0x1b4)])throw _0x14c639[_0x571178(0x3f8)]instanceof Error?_0x14c639['error']:new Error((_0x2b9212=_0x14c639[_0x571178(0x3f8)])!=null?_0x2b9212:_0x571178(0x483));this[_0x571178(0x415)](_0x39f4fa),this[_0x571178(0x24a)](_0x39f4fa),this[_0x571178(0x27d)](_0x636cdf),this[_0x571178(0x3ab)](_0x39f4fa),this['_syncEditingCollabCursor'](_0x39f4fa),this[_0x571178(0x2e6)]();}}_0x23269f[_0x444a33(0x360)]=class extends _0x576199{constructor(_0x27aeba,_0xf9f2d3,_0x288c72,_0x829c29,_0x1fec84,_0x15715a,_0x29e687,_0x273a77,_0x571b2f,_0x68809e){var _0x343b74=_0x444a33;super(_0x27aeba,_0xf9f2d3,null,[],_0x288c72,_0x29e687,_0x15715a,_0x829c29,_0x68809e),_0x11728e(this,_0x343b74(0x47c),_0x343b74(0x45a)),(this['_injector']=_0x1fec84,this[_0x343b74(0x41c)]=_0x273a77,this['_transformService']=_0x571b2f,this[_0x343b74(0x320)]=_0x68809e);}[_0x444a33(0x32a)](_0x552167){var _0x3af269=_0x444a33;const _0x4d3b15=this[_0x3af269(0x2ba)][_0x3af269(0x31d)](_0x23269f[_0x3af269(0x125)],this['unitID'],this[_0x3af269(0x20a)],[_0x552167],this[_0x3af269(0x1cd)]);return _0x4d3b15['_schedule'](),_0x4d3b15[_0x3af269(0x295)](),_0x4d3b15;}['onRemoteChangeset'](_0x1a18b9){var _0x9d7d7a=_0x444a33;if(this[_0x9d7d7a(0x2d2)](_0x1a18b9))return this[_0x9d7d7a(0x2ba)][_0x9d7d7a(0x31d)](_0x23269f[_0x9d7d7a(0x23c)],this[_0x9d7d7a(0x2b3)],this[_0x9d7d7a(0x20a)],null,[],null,[_0x1a18b9],this['_handler']);try{const _0x86f323=this['_transformService']['transformMutationsWithChangeset'](_0x1a18b9,[_0x1cf310[_0x9d7d7a(0x10c)]]);if(_0x1cf310[_0x9d7d7a(0x1b8)](_0x86f323)){const {c1Prime:_0x37e9b8}=_0x86f323;return this[_0x9d7d7a(0x25a)](_0x37e9b8),this;}throw _0x86f323['error'];}catch(_0x57f734){return this['_logService'][_0x9d7d7a(0x3f8)](_0x57f734),this[_0x9d7d7a(0x2ec)](!0x1);}}['_onConflict'](_0x40e6c4){var _0x4835fd=_0x444a33;return this[_0x4835fd(0x2ba)][_0x4835fd(0x31d)](_0x23269f[_0x4835fd(0x109)],this['unitID'],this[_0x4835fd(0x20a)],null,[],this[_0x4835fd(0x1cd)],_0x40e6c4);}[_0x444a33(0x13f)](){var _0x49cafc=_0x444a33;throw new Error(_0x49cafc(0x3ec));}[_0x444a33(0x202)](){var _0x512ef6=_0x444a33;throw new Error(_0x512ef6(0x47f));}[_0x444a33(0x3dd)](){return this;}[_0x444a33(0x29b)](){var _0x2d216a=_0x444a33;return this['_injector'][_0x2d216a(0x31d)](_0x23269f[_0x2d216a(0x31a)],this['unitID'],this[_0x2d216a(0x20a)],null,[],this[_0x2d216a(0x1cd)]);}[_0x444a33(0x370)](){return this;}['resend'](){var _0x5a41fa=_0x444a33;throw new Error(_0x5a41fa(0x16a));}[_0x444a33(0x42f)](){var _0x52576a=_0x444a33;const _0x1e265d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x52576a(0x16b)]({'from':_0x1e265d,'to':0x0}),this[_0x52576a(0x2ba)][_0x52576a(0x31d)](_0x23269f[_0x52576a(0x23c)],this[_0x52576a(0x2b3)],this[_0x52576a(0x20a)],null,[],null,[],this[_0x52576a(0x1cd)]);}},_0x23269f[_0x444a33(0x360)]=_0x3a2c4a([_0x1842e0(0x3,_0x58829f[_0x444a33(0x275)](_0x1cf310['RevisionService'])),_0x1842e0(0x4,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x1842e0(0x5,_0x58829f[_0x444a33(0x128)]),_0x1842e0(0x6,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0x7,_0x58829f[_0x444a33(0x352)]),_0x1842e0(0x8,_0x1cf310[_0x444a33(0x355)]),_0x1842e0(0x9,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x360)]),_0x23269f[_0x444a33(0x125)]=class extends _0x576199{constructor(_0x2ffa07,_0x10347c,_0x43bc6e,_0x4f181f,_0x594f74,_0x306338,_0x431e76,_0x422bf4,_0x1bc85b,_0x12fb5a,_0x27f2a6,_0xb4981f,_0x3ee437,_0x340741){var _0x30fb60=_0x444a33;super(_0x2ffa07,_0x10347c,null,_0x43bc6e,_0x4f181f,_0x1bc85b,_0x3ee437,_0x306338,_0x340741),_0x11728e(this,_0x30fb60(0x47c),_0x30fb60(0x44b)),_0x11728e(this,_0x30fb60(0x2f2),null),_0x11728e(this,_0x30fb60(0x421),null),(this[_0x30fb60(0x2ba)]=_0x594f74,this[_0x30fb60(0x425)]=_0x431e76,this[_0x30fb60(0x41c)]=_0x422bf4,this[_0x30fb60(0x219)]=_0x12fb5a,this[_0x30fb60(0x325)]=_0x27f2a6,this['_univerInstanceService']=_0xb4981f);}[_0x444a33(0x32a)](_0x14c2a8){var _0x15f453=_0x444a33;return this[_0x15f453(0x436)][_0x15f453(0x332)](_0x14c2a8),this[_0x15f453(0x295)](),this;}[_0x444a33(0x27b)](_0x262eec){var _0x4f69f3=_0x444a33;if(this[_0x4f69f3(0x2d2)](_0x262eec))return this[_0x4f69f3(0x386)](),this['_injector']['createInstance'](_0x23269f[_0x4f69f3(0x23c)],this[_0x4f69f3(0x2b3)],this[_0x4f69f3(0x20a)],null,this[_0x4f69f3(0x436)],null,[_0x262eec],this['_handler']);try{const _0x5e727c=this['_transformService'][_0x4f69f3(0x42b)](_0x262eec,this[_0x4f69f3(0x436)]);if(_0x1cf310['isTransformMutationsWithChangesetSuccess'](_0x5e727c)){const {c1Prime:_0x47e775,m2Prime:_0xbafb3d}=_0x5e727c;this[_0x4f69f3(0x25a)](_0x47e775);const _0x2a3a4f=this[_0x4f69f3(0x2ba)][_0x4f69f3(0x31d)](_0x23269f[_0x4f69f3(0x125)],this[_0x4f69f3(0x2b3)],this['type'],_0xbafb3d,this[_0x4f69f3(0x1cd)]);this[_0x4f69f3(0x386)]();const _0x10a381=new Date()['getTime'](),_0x589506=this[_0x4f69f3(0x2f2)]?Math[_0x4f69f3(0x4a3)](this['_scheduleCompleteTimestamp']-_0x10a381,0x0):this[_0x4f69f3(0x2c1)]();return _0x2a3a4f[_0x4f69f3(0x1fa)](_0x589506),_0x2a3a4f;}throw _0x5e727c[_0x4f69f3(0x3f8)];}catch(_0x43f012){return this[_0x4f69f3(0x41c)][_0x4f69f3(0x3f8)](_0x43f012),this[_0x4f69f3(0x2ec)](!0x1);}}[_0x444a33(0x13f)](){var _0x4ea378=_0x444a33;throw new Error(_0x4ea378(0x18b));}[_0x444a33(0x202)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x444a33(0x29b)](){var _0x1c9af2=_0x444a33;return this[_0x1c9af2(0x386)](),this['_injector'][_0x1c9af2(0x31d)](_0x23269f[_0x1c9af2(0x31a)],this[_0x1c9af2(0x2b3)],this[_0x1c9af2(0x20a)],null,this[_0x1c9af2(0x436)],this['_handler']);}['toggleOnline'](){return this;}[_0x444a33(0x1fa)](_0x35c6ae){var _0x52170b=_0x444a33;const _0x465453=_0x35c6ae!=null?_0x35c6ae:this[_0x52170b(0x2c1)]();this[_0x52170b(0x2f2)]=new Date()['getTime']()+_0x465453,this[_0x52170b(0x421)]=setTimeout(()=>{var _0x35642f=_0x52170b;this['_clearScheduledTask']();let _0x2bd0db=null;switch(this[_0x35642f(0x20a)]){case _0x31019e[_0x35642f(0x22a)]:{_0x2bd0db=_0x480992(this['_pendingMutations'],this[_0x35642f(0x2b3)],this['_univerInstanceService'],this[_0x35642f(0x339)],this[_0x35642f(0x425)]);break;}case _0x31019e[_0x35642f(0x257)]:{this[_0x35642f(0x436)][_0x35642f(0x4a5)](_0x2cb4fa=>_0x2cb4fa['id']===_0x54b995[_0x35642f(0x1e0)]['id'])?_0x2bd0db=_0x4ce8db(this[_0x35642f(0x436)],this[_0x35642f(0x2b3)],this[_0x35642f(0x3a4)],this[_0x35642f(0x339)],this[_0x35642f(0x425)]):_0x2bd0db=_0x480992(this[_0x35642f(0x436)],this[_0x35642f(0x2b3)],this['_univerInstanceService'],this[_0x35642f(0x339)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x35642f(0x20a)]+_0x35642f(0x46f));}const {changeset:_0x39d08b,pendingMutations:_0x16077d}=_0x2bd0db;this[_0x35642f(0x1cd)][_0x35642f(0x274)](_0x39d08b);const _0x4fb580=_0x16077d[_0x35642f(0x3bd)]?this[_0x35642f(0x2ba)]['createInstance'](_0x23269f[_0x35642f(0x3b5)],this[_0x35642f(0x2b3)],this[_0x35642f(0x20a)],_0x39d08b,_0x16077d,this[_0x35642f(0x1cd)],void 0x0):this['_injector'][_0x35642f(0x31d)](_0x23269f['AwaitingState'],this['unitID'],this[_0x35642f(0x20a)],_0x39d08b,this[_0x35642f(0x1cd)]);_0x4fb580[_0x35642f(0x295)](),this['_handler'][_0x35642f(0x433)](this,_0x4fb580);},_0x465453);}['_getSendChangesetTimeout'](){var _0x9c3dc0=_0x444a33,_0x349db4;const _0x50f0b3=this[_0x9c3dc0(0x219)][_0x9c3dc0(0x3d6)](_0x420549);return(_0x349db4=_0x50f0b3==null?void 0x0:_0x50f0b3[_0x9c3dc0(0x30a)])!=null?_0x349db4:0x7d0;}[_0x444a33(0x2ee)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x444a33(0x386)](){var _0x110b5a=_0x444a33;this[_0x110b5a(0x421)]!=null&&(clearTimeout(this[_0x110b5a(0x421)]),this['_sendingTimer']=null);}[_0x444a33(0x2ec)](_0x43b925){var _0xc370bf=_0x444a33;return this[_0xc370bf(0x386)](),this[_0xc370bf(0x2ba)][_0xc370bf(0x31d)](_0x23269f[_0xc370bf(0x109)],this[_0xc370bf(0x2b3)],this[_0xc370bf(0x20a)],null,this[_0xc370bf(0x436)],this['_handler'],_0x43b925);}},_0x23269f[_0x444a33(0x125)]=_0x3a2c4a([_0x1842e0(0x4,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x1842e0(0x5,_0x58829f['Inject'](_0x1cf310['RevisionService'])),_0x1842e0(0x6,_0x58829f['Inject'](_0x23269f[_0x444a33(0x43d)])),_0x1842e0(0x7,_0x58829f[_0x444a33(0x352)]),_0x1842e0(0x8,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0x9,_0x58829f[_0x444a33(0x142)]),_0x1842e0(0xa,_0x1cf310[_0x444a33(0x355)]),_0x1842e0(0xb,_0x58829f[_0x444a33(0x2df)]),_0x1842e0(0xc,_0x58829f[_0x444a33(0x128)]),_0x1842e0(0xd,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x125)]),_0x23269f[_0x444a33(0x3bf)]=class extends _0x576199{constructor(_0x3fe396,_0x338ea0,_0x49cd80,_0x2a2330,_0x258843,_0x3a5fce,_0x399de3,_0x6c183a,_0x99e313,_0xaa4702,_0xbbda8b){var _0x20e33b=_0x444a33;super(_0x3fe396,_0x338ea0,_0x49cd80,[],_0x2a2330,_0x399de3,_0xaa4702,_0x3a5fce,_0xbbda8b),_0x11728e(this,_0x20e33b(0x47c),_0x20e33b(0x23f)),_0x11728e(this,'_resendTimeout',0x0),_0x11728e(this,'_maxTotalRetryTimeout',0x0),_0x11728e(this,_0x20e33b(0x346)),_0x11728e(this,_0x20e33b(0x129)),(this[_0x20e33b(0x2ba)]=_0x258843,this['_logService']=_0x6c183a,this[_0x20e33b(0x325)]=_0x99e313);}[_0x444a33(0x32a)](_0x2076a8){var _0x1f5ad0=_0x444a33;this['_clearScheduledTask']();const _0x49f441=this[_0x1f5ad0(0x2ba)]['createInstance'](_0x23269f[_0x1f5ad0(0x3b5)],this[_0x1f5ad0(0x2b3)],this[_0x1f5ad0(0x20a)],this[_0x1f5ad0(0x225)],[_0x2076a8],this[_0x1f5ad0(0x1cd)],this[_0x1f5ad0(0x346)]);return _0x49f441['_updateLocalCache'](),_0x49f441;}[_0x444a33(0x27b)](_0x45738d){var _0xb97d7=_0x444a33;if(this['_checkMissing'](_0x45738d))return this[_0xb97d7(0x386)](),this['_injector'][_0xb97d7(0x31d)](_0x23269f[_0xb97d7(0x23c)],this[_0xb97d7(0x2b3)],this[_0xb97d7(0x20a)],this[_0xb97d7(0x225)],[],null,[_0x45738d],this[_0xb97d7(0x1cd)]);try{const _0x47520d=this[_0xb97d7(0x325)][_0xb97d7(0x18f)]([_0x45738d],[this[_0xb97d7(0x225)]],!0x1);if(_0x1cf310[_0xb97d7(0x131)](_0x47520d)){const {c1Prime:_0x563b43,c2Prime:_0x40355a}=_0x47520d;this[_0xb97d7(0x25a)](_0x563b43[0x0]),_0x40355a[0x0][_0xb97d7(0x14d)]=this[_0xb97d7(0xfc)](),this[_0xb97d7(0x386)]();const _0x46b16f=this['_injector'][_0xb97d7(0x31d)](_0x23269f[_0xb97d7(0x3bf)],this['unitID'],this[_0xb97d7(0x20a)],_0x40355a[0x0],this[_0xb97d7(0x1cd)]);return _0x46b16f[_0xb97d7(0x295)](),_0x46b16f;}return this['_onConflict'](!0x1);}catch(_0x1f3bab){return this[_0xb97d7(0x41c)][_0xb97d7(0x3f8)](_0x1f3bab),this[_0xb97d7(0x2ec)](!0x1);}}[_0x444a33(0x13f)](_0x4cd697){var _0x44e2e2=_0x444a33;this[_0x44e2e2(0x386)]();const _0x3c3c16=this['_revisionService'][_0x44e2e2(0x1c6)](this[_0x44e2e2(0x2b3)]);if(_0x4cd697[_0x44e2e2(0x35e)]<_0x3c3c16-0x1)return this;if(this['_checkMissing'](_0x4cd697))return this[_0x44e2e2(0x2ba)][_0x44e2e2(0x31d)](_0x23269f['FetchingMissState'],this[_0x44e2e2(0x2b3)],this[_0x44e2e2(0x20a)],null,[],this[_0x44e2e2(0x225)],[],this[_0x44e2e2(0x1cd)]);this[_0x44e2e2(0x2e6)]();const _0x3f34d4=this[_0x44e2e2(0x2ba)][_0x44e2e2(0x31d)](_0x23269f[_0x44e2e2(0x360)],this[_0x44e2e2(0x2b3)],this['type'],this[_0x44e2e2(0x1cd)]);return _0x3f34d4[_0x44e2e2(0x295)](),_0x3f34d4;}['onRemoteRej'](_0x27b541){var _0x382b85=_0x444a33;return this[_0x382b85(0x2ec)](!!(_0x27b541!=null&&_0x27b541['isPermissionRej']));}['onRemoteRetry'](_0x331d08){var _0x5c8876=_0x444a33;return this[_0x5c8876(0x1ae)]>_0x49f3f1?this[_0x5c8876(0x29b)]():(this['_resendTimer']=_0x36aaa0(this[_0x5c8876(0x130)],{'timeout':this['_resendTimeout'],'reqId':_0x331d08[_0x5c8876(0x3a2)]}),this[_0x5c8876(0x129)]=this[_0x5c8876(0x346)][_0x5c8876(0x42c)](({reqId:_0x50afc7,timeout:_0x54dbf5})=>{this['_resendWithTimeout'](_0x50afc7,_0x54dbf5);}),this);}[_0x444a33(0x29b)](){var _0xaae7cf=_0x444a33;return this[_0xaae7cf(0x386)](),this[_0xaae7cf(0x2ba)][_0xaae7cf(0x31d)](_0x23269f['OfflineState'],this[_0xaae7cf(0x2b3)],this[_0xaae7cf(0x20a)],this['_awaitingChangeset'],[],this[_0xaae7cf(0x1cd)]);}[_0x444a33(0x370)](){return this;}[_0x444a33(0x2ee)](){var _0x4f7f82=_0x444a33;this[_0x4f7f82(0x1cd)][_0x4f7f82(0x274)](this[_0x4f7f82(0x225)]);}[_0x444a33(0x2ec)](_0x41b7f5){var _0x53a2dd=_0x444a33;return this[_0x53a2dd(0x386)](),this['_injector'][_0x53a2dd(0x31d)](_0x23269f[_0x53a2dd(0x109)],this[_0x53a2dd(0x2b3)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x41b7f5);}['_resendWithTimeout'](_0x337284,_0x1a5d81){var _0x1bc999=_0x444a33,_0x1c418e;_0x337284===((_0x1c418e=this[_0x1bc999(0x225)])==null?void 0x0:_0x1c418e[_0x1bc999(0x3a2)])&&(this[_0x1bc999(0x2ee)](),this['_resendTimeout']=_0x1a5d81===0x0?0x3e8:Math['min'](_0x1a5d81*0x2,_0x324b48),this['_maxTotalRetryTimeout']+=this[_0x1bc999(0x130)]);}[_0x444a33(0x386)](){var _0x541203=_0x444a33,_0x44f1b1;(_0x44f1b1=this['_sender'])==null||_0x44f1b1[_0x541203(0x36a)](),this[_0x541203(0x130)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x23269f['AwaitingState']=_0x3a2c4a([_0x1842e0(0x4,_0x58829f[_0x444a33(0x275)](_0x58829f['Injector'])),_0x1842e0(0x5,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x1842e0(0x6,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0x7,_0x58829f['ILogService']),_0x1842e0(0x8,_0x1cf310[_0x444a33(0x355)]),_0x1842e0(0x9,_0x58829f[_0x444a33(0x128)]),_0x1842e0(0xa,_0x58829f['Optional'](_0x59fe82))],_0x23269f['AwaitingState']),_0x23269f[_0x444a33(0x3b5)]=class extends _0x576199{constructor(_0x44aad6,_0x1d22f1,_0x883fb,_0x785c0f,_0x13ed24,_0x742767,_0x300c62,_0x5bd950,_0x3f34ee,_0x28ee33,_0x309499,_0x5464b8,_0x17ddb1){var _0x4e9826=_0x444a33;super(_0x44aad6,_0x1d22f1,_0x883fb,_0x785c0f,_0x13ed24,_0x3f34ee,_0x5464b8,_0x5bd950,_0x17ddb1),_0x11728e(this,_0x4e9826(0x47c),_0x4e9826(0x2e9)),_0x11728e(this,'_resendTimeout',0x0),_0x11728e(this,_0x4e9826(0x1ae),0x0),_0x11728e(this,_0x4e9826(0x346)),_0x11728e(this,_0x4e9826(0x129)),(this['_injector']=_0x300c62,this[_0x4e9826(0x41c)]=_0x28ee33,this['_transformService']=_0x309499,this[_0x4e9826(0x320)]=_0x17ddb1,_0x742767&&(this[_0x4e9826(0x346)]=_0x742767,this[_0x4e9826(0x129)]=this[_0x4e9826(0x346)]['subscribe'](({reqId:_0x1099a5,timeout:_0x400f3b})=>{var _0x4ba6b6=_0x4e9826;this[_0x4ba6b6(0x446)](_0x1099a5,_0x400f3b);})));}['appendMutation'](_0x2cafbe){var _0x146c91=_0x444a33;return this[_0x146c91(0x436)]['push'](_0x2cafbe),this;}[_0x444a33(0x27b)](_0xa6f504){var _0x2d0b70=_0x444a33;if(this[_0x2d0b70(0x2d2)](_0xa6f504))return this[_0x2d0b70(0x386)](),this[_0x2d0b70(0x2ba)][_0x2d0b70(0x31d)](_0x23269f[_0x2d0b70(0x23c)],this[_0x2d0b70(0x2b3)],this['type'],this[_0x2d0b70(0x225)],this[_0x2d0b70(0x436)],null,[_0xa6f504],this[_0x2d0b70(0x1cd)]);try{const _0x1d215d=this[_0x2d0b70(0x325)][_0x2d0b70(0x18f)]([_0xa6f504],[this[_0x2d0b70(0x225)]],!0x1);if(_0x1cf310[_0x2d0b70(0x131)](_0x1d215d)){const {c1Prime:_0x4142fb,c2Prime:_0x2717df}=_0x1d215d,_0x369a1a=this[_0x2d0b70(0x325)]['transformMutationsWithChangeset'](_0x4142fb[0x0],this[_0x2d0b70(0x436)]);if(_0x1cf310[_0x2d0b70(0x1b8)](_0x369a1a)){const {c1Prime:_0x20760b,m2Prime:_0x23cf03}=_0x369a1a;return this['_executeRemoteChangeset'](_0x20760b),_0x2717df[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2d0b70(0x386)](),this['_injector'][_0x2d0b70(0x31d)](_0x23269f[_0x2d0b70(0x3b5)],this[_0x2d0b70(0x2b3)],this[_0x2d0b70(0x20a)],_0x2717df[0x0],_0x23cf03,this[_0x2d0b70(0x1cd)],void 0x0);}throw _0x369a1a[_0x2d0b70(0x3f8)];}throw _0x1d215d[_0x2d0b70(0x3f8)];}catch(_0x491aaf){return this[_0x2d0b70(0x41c)][_0x2d0b70(0x3f8)](_0x491aaf),this[_0x2d0b70(0x2ec)](!0x1);}}['onRemoteAck'](_0x2c9b68){var _0x1ca791=_0x444a33;if(this[_0x1ca791(0x386)](),this[_0x1ca791(0x2d2)](_0x2c9b68))return this[_0x1ca791(0x2ba)][_0x1ca791(0x31d)](_0x23269f[_0x1ca791(0x23c)],this['unitID'],this[_0x1ca791(0x20a)],null,this[_0x1ca791(0x436)],this[_0x1ca791(0x225)],[],this['_handler']);this[_0x1ca791(0x2e6)]();const _0xcef7b2=this[_0x1ca791(0x2ba)][_0x1ca791(0x31d)](_0x23269f[_0x1ca791(0x125)],this['unitID'],this[_0x1ca791(0x20a)],this[_0x1ca791(0x436)],this[_0x1ca791(0x1cd)]);return _0xcef7b2[_0x1ca791(0x1fa)](),_0xcef7b2['_updateLocalCache'](),_0xcef7b2;}[_0x444a33(0x202)](_0x11e166){var _0x20bbd4=_0x444a33;return this[_0x20bbd4(0x2ec)](!!(_0x11e166!=null&&_0x11e166[_0x20bbd4(0x434)]));}[_0x444a33(0x3dd)](_0x34125e){var _0x368528=_0x444a33;return this[_0x368528(0x1ae)]>_0x49f3f1?this[_0x368528(0x29b)]():(this['_resendTimer']=_0x36aaa0(this[_0x368528(0x130)],{'timeout':this[_0x368528(0x130)],'reqId':_0x34125e['reqId']}),this[_0x368528(0x129)]=this[_0x368528(0x346)][_0x368528(0x42c)](({reqId:_0x4f4f28,timeout:_0x460309})=>{var _0x3c92ea=_0x368528;this[_0x3c92ea(0x446)](_0x4f4f28,_0x460309);}),this);}[_0x444a33(0x29b)](){var _0x1ed7b7=_0x444a33;return this['_clearScheduledTask'](),this[_0x1ed7b7(0x2ba)][_0x1ed7b7(0x31d)](_0x23269f['OfflineState'],this[_0x1ed7b7(0x2b3)],this[_0x1ed7b7(0x20a)],this[_0x1ed7b7(0x225)],this['_pendingMutations'],this['_handler']);}[_0x444a33(0x370)](){return this;}[_0x444a33(0x2ee)](){var _0x4de30e=_0x444a33;this['_handler']['onSendChangeset'](this[_0x4de30e(0x225)]);}[_0x444a33(0x2ec)](_0x1ef348){var _0x2a82b0=_0x444a33;return this['_clearScheduledTask'](),this[_0x2a82b0(0x2ba)][_0x2a82b0(0x31d)](_0x23269f['ConflictState'],this[_0x2a82b0(0x2b3)],this[_0x2a82b0(0x20a)],null,this[_0x2a82b0(0x436)],this[_0x2a82b0(0x1cd)],_0x1ef348);}[_0x444a33(0x446)](_0x4c5bb8,_0x2509aa){var _0x4f42da=_0x444a33,_0x2b4beb;_0x4c5bb8===((_0x2b4beb=this['_awaitingChangeset'])==null?void 0x0:_0x2b4beb['reqId'])&&(this[_0x4f42da(0x2ee)](),this[_0x4f42da(0x130)]=_0x2509aa===0x0?0x3e8:Math[_0x4f42da(0x1e6)](_0x2509aa*0x2,_0x324b48),this['_maxTotalRetryTimeout']+=this[_0x4f42da(0x130)]);}[_0x444a33(0x386)](){var _0x2cc841=_0x444a33,_0xca7f94;(_0xca7f94=this[_0x2cc841(0x129)])==null||_0xca7f94[_0x2cc841(0x36a)](),this[_0x2cc841(0x130)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x23269f[_0x444a33(0x3b5)]=_0x3a2c4a([_0x1842e0(0x6,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x149)])),_0x1842e0(0x7,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x1842e0(0x8,_0x58829f['ICommandService']),_0x1842e0(0x9,_0x58829f['ILogService']),_0x1842e0(0xa,_0x1cf310['ITransformService']),_0x1842e0(0xb,_0x58829f['IUndoRedoService']),_0x1842e0(0xc,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f['AwaitingWithPendingState']),_0x23269f[_0x444a33(0x109)]=class extends _0x576199{constructor(_0x4a6304,_0x3c1059,_0x577a11,_0x24cea9,_0x5cbfcc,_0x31f6ce=!0x1,_0xa6e652,_0x144780,_0x3f3e5b,_0x5cff34,_0x1e6f36,_0x223e9d,_0x161abf){var _0x4dbee5=_0x444a33;super(_0x4a6304,_0x3c1059,_0x577a11,_0x24cea9,_0x5cbfcc,_0x144780,_0x3f3e5b,_0x5cff34,_0x161abf),_0x11728e(this,'status',_0x4dbee5(0x341)),(this[_0x4dbee5(0x1ee)]=_0x31f6ce,this['_permissionService']=_0xa6e652,this[_0x4dbee5(0x2f8)]=_0x1e6f36,this['_collaborationUIEventService']=_0x223e9d,this[_0x4dbee5(0x320)]=_0x161abf,this[_0x4dbee5(0x193)](),this['_clearLocalCache'](),this[_0x4dbee5(0x20d)]());}[_0x444a33(0x32a)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x444a33(0x3dd)](){return this;}[_0x444a33(0x29b)](){return this;}[_0x444a33(0x370)](){return this;}[_0x444a33(0x2ee)](){var _0x4e96e0=_0x444a33;throw new Error(_0x4e96e0(0x42e));}[_0x444a33(0xf8)](){var _0x1ec4ad=_0x444a33,_0x242ed8;(_0x242ed8=this[_0x1ec4ad(0x3ca)])==null||_0x242ed8[_0x1ec4ad(0x3f2)](this[_0x1ec4ad(0x2b3)],this['type'],null,[]);}[_0x444a33(0x193)](){var _0x125d9e=_0x444a33;this[_0x125d9e(0x1ee)]?this[_0x125d9e(0x491)][_0x125d9e(0x1f2)]({'id':_0x258302[_0x125d9e(0x2ce)]}):this[_0x125d9e(0x491)][_0x125d9e(0x1f2)]({'id':_0x258302['CONFLICT']});}[_0x444a33(0x20d)](){var _0x10308f=_0x444a33;this[_0x10308f(0x489)][_0x10308f(0x1fd)](new _0x538c19['WorkbookEditablePermission'](this[_0x10308f(0x2b3)])['id'],!0x1);}},_0x23269f['ConflictState']=_0x3a2c4a([_0x1842e0(0x6,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x146)])),_0x1842e0(0x7,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0x8,_0x58829f['IUndoRedoService']),_0x1842e0(0x9,_0x58829f['Inject'](_0x1cf310['RevisionService'])),_0x1842e0(0xa,_0x58829f[_0x444a33(0x275)](_0x58829f['LocaleService'])),_0x1842e0(0xb,_0x58829f['Inject'](_0x5a0744)),_0x1842e0(0xc,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x109)]),_0x23269f[_0x444a33(0x31a)]=class extends _0x576199{constructor(_0x35d8c7,_0x218931,_0x46e70c,_0x1059c0,_0x22e353,_0x50e686,_0x33e79,_0x27456c,_0x1e0e5e,_0x5523ac){var _0x1c3658=_0x444a33;super(_0x35d8c7,_0x218931,_0x46e70c,_0x1059c0,_0x22e353,_0x27456c,_0x1e0e5e,_0x33e79,_0x5523ac),_0x11728e(this,_0x1c3658(0x47c),_0x1c3658(0x2d3)),this['_injector']=_0x50e686;}[_0x444a33(0x32a)](_0x22d069){var _0x16d932=_0x444a33;return this[_0x16d932(0x436)][_0x16d932(0x332)](_0x22d069),this[_0x16d932(0x295)](),this;}[_0x444a33(0x27b)](_0x28bae6){var _0x3195ff=_0x444a33;throw new Error(_0x3195ff(0x458));}[_0x444a33(0x13f)](){var _0xcf09e9=_0x444a33;throw new Error(_0xcf09e9(0x368));}[_0x444a33(0x202)](){var _0x4e33ac=_0x444a33;throw new Error(_0x4e33ac(0x466));}[_0x444a33(0x3dd)](){return this;}[_0x444a33(0x29b)](){return this;}[_0x444a33(0x370)](){var _0x50633a=_0x444a33;const {_injector:_0x14e28d,_pendingMutations:_0x4b674a,_awaitingChangeset:_0x2a7faa,unitID:_0x2233a5,_handler:_0x1ba3f4,type:_0x490dfd}=this,_0x542d65=_0x1737b4(_0x14e28d,_0x2233a5,_0x490dfd,_0x2a7faa,_0x4b674a,_0x1ba3f4);return _0x542d65 instanceof _0x23269f['PendingState']?_0x542d65[_0x50633a(0x1fa)]():(_0x542d65 instanceof _0x23269f[_0x50633a(0x3b5)]||_0x542d65 instanceof _0x23269f['AwaitingState'])&&_0x542d65[_0x50633a(0x2ee)](),_0x542d65;}[_0x444a33(0x2ee)](){var _0x326fdc=_0x444a33;throw new Error(_0x326fdc(0x447));}},_0x23269f[_0x444a33(0x31a)]=_0x3a2c4a([_0x1842e0(0x5,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x1842e0(0x6,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x1842e0(0x7,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0x8,_0x58829f['IUndoRedoService']),_0x1842e0(0x9,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x31a)]),_0x23269f[_0x444a33(0x23c)]=class extends _0x576199{constructor(_0x13d3ce,_0x14ae52,_0x3f37e8,_0x594eba,_0x2503a7,_0x6886fa,_0x430b6f,_0x292f90,_0x328bdd,_0x44c3c5,_0x5be84a,_0x1ac072,_0x946aa9,_0x8872c9){var _0x3950c3=_0x444a33;super(_0x13d3ce,_0x14ae52,_0x3f37e8,_0x594eba,_0x430b6f,_0x5be84a,_0x1ac072,_0x328bdd,_0x8872c9),_0x11728e(this,_0x3950c3(0x47c),_0x3950c3(0x37f)),(this[_0x3950c3(0x3c2)]=_0x2503a7,this[_0x3950c3(0x29a)]=_0x6886fa,this[_0x3950c3(0x2ba)]=_0x292f90,this[_0x3950c3(0x41c)]=_0x44c3c5,this[_0x3950c3(0x325)]=_0x946aa9,this[_0x3950c3(0x320)]=_0x8872c9);}[_0x444a33(0x1f4)](_0x4939f4){var _0x3b0313=_0x444a33;try{const _0x5a6077=[..._0x4939f4,...this[_0x3b0313(0x29a)]],_0xe9c54e=[this['_awaitingChangeset']||this[_0x3b0313(0x3c2)]][_0x3b0313(0x432)](_0xedc858=>!!_0xedc858);let _0x29d159,_0x1a84d4;if(_0xe9c54e['length']){const _0x541ce5=this[_0x3b0313(0x325)][_0x3b0313(0x18f)](_0x5a6077,_0xe9c54e,!0x1);if(!_0x1cf310[_0x3b0313(0x131)](_0x541ce5))throw _0x541ce5[_0x3b0313(0x3f8)];_0x29d159=_0x541ce5[_0x3b0313(0x337)],_0x1a84d4=_0x541ce5[_0x3b0313(0x237)];}else _0x29d159=_0x5a6077,_0x1a84d4=[];let _0xfb7c85=this[_0x3b0313(0x436)];_0x29d159['forEach'](_0x31e3e8=>{var _0x32f342=_0x3b0313;let _0x376497;if(_0xfb7c85['length']){const _0x42b891=this['_transformService'][_0x32f342(0x42b)](_0x31e3e8,_0xfb7c85);if(!_0x1cf310['isTransformMutationsWithChangesetSuccess'](_0x42b891))throw _0x42b891[_0x32f342(0x3f8)];_0x376497=_0x42b891[_0x32f342(0x337)],_0xfb7c85=_0x42b891['m2Prime'];}else _0x376497=_0x31e3e8;this['_executeRemoteChangeset'](_0x376497);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3b0313(0x2e6)](),this[_0x3b0313(0x225)]&&_0x1a84d4['length']&&(_0x1a84d4[0x0][_0x3b0313(0x14d)]=this[_0x3b0313(0xfc)]());let _0x5ead88;if(this[_0x3b0313(0x225)]&&_0xfb7c85[_0x3b0313(0x3bd)]!==0x0)_0x5ead88=this[_0x3b0313(0x2ba)][_0x3b0313(0x31d)](_0x23269f[_0x3b0313(0x3b5)],this[_0x3b0313(0x2b3)],this[_0x3b0313(0x20a)],_0x1a84d4[0x0],_0xfb7c85,this['_handler'],void 0x0);else{if(this[_0x3b0313(0x225)]&&_0xfb7c85['length']===0x0)_0x1a84d4[0x0][_0x3b0313(0x14d)]=this['_getCurrentRevision'](),_0x5ead88=this[_0x3b0313(0x2ba)][_0x3b0313(0x31d)](_0x23269f[_0x3b0313(0x3bf)],this['unitID'],this['type'],_0x1a84d4[0x0],this[_0x3b0313(0x1cd)]);else{if(_0xfb7c85['length']!==0x0){const _0x4185bd=this[_0x3b0313(0x2ba)][_0x3b0313(0x31d)](_0x23269f[_0x3b0313(0x125)],this[_0x3b0313(0x2b3)],this[_0x3b0313(0x20a)],_0xfb7c85,this[_0x3b0313(0x1cd)]);_0x4185bd[_0x3b0313(0x1fa)](),_0x5ead88=_0x4185bd;}else _0x5ead88=this['_injector'][_0x3b0313(0x31d)](_0x23269f[_0x3b0313(0x360)],this['unitID'],this[_0x3b0313(0x20a)],this['_handler']);}}return _0x5ead88[_0x3b0313(0x295)](),_0x5ead88;}catch(_0x2b266e){return this['_logService'][_0x3b0313(0x3f8)](_0x3b0313(0x2b6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2b266e),this[_0x3b0313(0x2ba)][_0x3b0313(0x31d)](_0x23269f['ConflictState'],this[_0x3b0313(0x2b3)],this[_0x3b0313(0x20a)],this[_0x3b0313(0x225)],this[_0x3b0313(0x436)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x444a33(0x32a)](_0x16a98b){var _0x407623=_0x444a33;return this['_pendingMutations'][_0x407623(0x332)](_0x16a98b),this;}[_0x444a33(0x27b)](_0x4a5afd){var _0x3c48a1=_0x444a33;return this[_0x3c48a1(0x29a)][_0x3c48a1(0x332)](_0x4a5afd),this;}[_0x444a33(0x13f)](_0xeea0b0){var _0x44cc45=_0x444a33;if(this[_0x44cc45(0x225)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x44cc45(0x225)]=null,this;throw new Error(_0x44cc45(0x223));}[_0x444a33(0x202)](_0x5e9a2c){var _0x252a26=_0x444a33;return this['_onConflict'](!!(_0x5e9a2c!=null&&_0x5e9a2c[_0x252a26(0x434)]));}[_0x444a33(0x3dd)](){return this;}[_0x444a33(0x29b)](){var _0x5ada7c=_0x444a33;return this[_0x5ada7c(0x2ba)][_0x5ada7c(0x31d)](_0x23269f[_0x5ada7c(0x31a)],this[_0x5ada7c(0x2b3)],this[_0x5ada7c(0x20a)],this[_0x5ada7c(0x225)],this[_0x5ada7c(0x436)],this['_handler']);}[_0x444a33(0x370)](){return this;}['_onConflict'](_0x563ec3){var _0x41bb9d=_0x444a33;return this['_injector'][_0x41bb9d(0x31d)](_0x23269f[_0x41bb9d(0x109)],this['unitID'],this[_0x41bb9d(0x20a)],this[_0x41bb9d(0x225)],this['_pendingMutations'],this[_0x41bb9d(0x1cd)],_0x563ec3);}},_0x23269f['FetchingMissState']=_0x3a2c4a([_0x1842e0(0x7,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x149)])),_0x1842e0(0x8,_0x58829f[_0x444a33(0x275)](_0x1cf310['RevisionService'])),_0x1842e0(0x9,_0x58829f['ILogService']),_0x1842e0(0xa,_0x58829f[_0x444a33(0x340)]),_0x1842e0(0xb,_0x58829f[_0x444a33(0x128)]),_0x1842e0(0xc,_0x1cf310[_0x444a33(0x355)]),_0x1842e0(0xd,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x23c)]);function _0x1737b4(_0x50cc94,_0x348344,_0x5c5c82,_0x119e55,_0x247d20,_0x3b3f7a){var _0x3120d6=_0x444a33;return _0x119e55&&_0x247d20[_0x3120d6(0x3bd)]?_0x50cc94['createInstance'](_0x23269f[_0x3120d6(0x3b5)],_0x348344,_0x5c5c82,_0x119e55,_0x247d20,_0x3b3f7a,void 0x0):_0x119e55?_0x50cc94[_0x3120d6(0x31d)](_0x23269f['AwaitingState'],_0x348344,_0x5c5c82,_0x119e55,_0x3b3f7a):_0x247d20[_0x3120d6(0x3bd)]?_0x50cc94[_0x3120d6(0x31d)](_0x23269f[_0x3120d6(0x125)],_0x348344,_0x5c5c82,_0x247d20,_0x3b3f7a):_0x50cc94[_0x3120d6(0x31d)](_0x23269f[_0x3120d6(0x360)],_0x348344,_0x5c5c82,_0x3b3f7a);}var _0x3d2cd2=Object[_0x444a33(0x41d)],_0x5c41da=(_0xe468d0,_0x39867a,_0x915e3d,_0x219aa2)=>{var _0x592b9f=_0x444a33;for(var _0x559ea1=_0x219aa2>0x1?void 0x0:_0x219aa2?_0x3d2cd2(_0x39867a,_0x915e3d):_0x39867a,_0x153c45=_0xe468d0[_0x592b9f(0x3bd)]-0x1,_0x5a7f0b;_0x153c45>=0x0;_0x153c45--)(_0x5a7f0b=_0xe468d0[_0x153c45])&&(_0x559ea1=_0x5a7f0b(_0x559ea1)||_0x559ea1);return _0x559ea1;},_0x3fb56d=(_0x3bc63a,_0x4d9d50)=>(_0x46e4b1,_0x3cbaf3)=>_0x4d9d50(_0x46e4b1,_0x3cbaf3,_0x3bc63a);_0x23269f[_0x444a33(0x292)]=class extends _0x58829f[_0x444a33(0x264)]{constructor(_0x35f417,_0x530e42,_0xabf7ba,_0x32958f,_0x130f41,_0x131e4e,_0x14f914,_0x4cc1a7,_0x30dd97,_0x437df0,_0x4b99ca,_0x56fc52,_0x3f880e,_0xeb0349){var _0x832675=_0x444a33;super(),_0x11728e(this,_0x832675(0x3a3),new _0x3d04ed['BehaviorSubject'](null)),_0x11728e(this,_0x832675(0x29f),this['_state$'][_0x832675(0x22c)]()),_0x11728e(this,_0x832675(0x242)),_0x11728e(this,_0x832675(0x453),!0x1),_0x11728e(this,'_changesetSessionId',''),_0x11728e(this,_0x832675(0x3e6),0x0),_0x11728e(this,_0x832675(0x302),this[_0x832675(0x29f)][_0x832675(0x293)](_0x3d04ed['map'](_0x240505=>_0x240505?_0x240505['status']:_0x34ef76['OFFLINE']),_0x3d04ed[_0x832675(0x47d)](0x1))),_0x11728e(this,_0x832675(0x499),!0x1),_0x11728e(this,_0x832675(0x114),[]),(this[_0x832675(0x2b3)]=_0x35f417,this[_0x832675(0x201)]=_0x530e42,this[_0x832675(0x1c4)]=_0xabf7ba,this['_injector']=_0x32958f,this[_0x832675(0x164)]=_0x130f41,this[_0x832675(0x2f8)]=_0x131e4e,this[_0x832675(0x339)]=_0x14f914,this[_0x832675(0x107)]=_0x4cc1a7,this[_0x832675(0x3a4)]=_0x30dd97,this[_0x832675(0x41c)]=_0x437df0,this[_0x832675(0x396)]=_0x4b99ca,this[_0x832675(0x489)]=_0x56fc52,this[_0x832675(0x192)]=_0x3f880e,this['_localCacheService']=_0xeb0349);}get['state'](){var _0x5a2f24=_0x444a33;return this[_0x5a2f24(0x242)];}async['init'](){var _0x3d35fa=_0x444a33;if(this[_0x3d35fa(0x383)])throw new Error(_0x3d35fa(0x379));await this[_0x3d35fa(0x4a1)]();}[_0x444a33(0x17b)](){var _0x5e9d46=_0x444a33;return this['_collaborationPaused']=!0x0,_0x58829f[_0x5e9d46(0x307)](()=>{var _0x3c69fc=_0x5e9d46;this[_0x3c69fc(0x453)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x444a33(0x135)](_0x1a7bdc){var _0x17f067=_0x444a33;this[_0x17f067(0x266)](_0x1a7bdc);}[_0x444a33(0x23d)](_0x166480){var _0x162088=_0x444a33;this[_0x162088(0x242)]=_0x166480,this[_0x162088(0x3a3)][_0x162088(0x2dc)](_0x166480);}async[_0x444a33(0x4a1)](){var _0x3051b4=_0x444a33,_0x5491ed;this['_updateState'](await this['_createInitialState']()),this[_0x3051b4(0x192)]&&((_0x5491ed=this['_singleActiveUnitService'])==null||_0x5491ed[_0x3051b4(0x3e2)](this['unitID']),this[_0x3051b4(0x373)](this[_0x3051b4(0x192)]['getUnitStatus$'](this[_0x3051b4(0x2b3)])[_0x3051b4(0x42c)](_0x435fa2=>{var _0x36d6e2=_0x3051b4;this[_0x36d6e2(0x41c)][_0x36d6e2(0x459)]('[CollaborationEntity]',_0x36d6e2(0x38e),_0x435fa2),_0x435fa2===_0x2db7f5['OTHER_CLIENTS_EDITING']?(this[_0x36d6e2(0x107)][_0x36d6e2(0x1f2)]({'id':_0x258302[_0x36d6e2(0x24b)]}),this[_0x36d6e2(0x489)]['updatePermissionPoint'](new _0x538c19['WorkbookEditablePermission'](this[_0x36d6e2(0x2b3)])['id'],!0x1),this['_permissionService'][_0x36d6e2(0x108)](!0x1)):(this[_0x36d6e2(0x489)]['updatePermissionPoint'](new _0x538c19[(_0x36d6e2(0x3c9))](this[_0x36d6e2(0x2b3)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x3d9a4e=!0x1;return this[_0x3051b4(0x373)](this[_0x3051b4(0x201)][_0x3051b4(0x23e)][_0x3051b4(0x42c)](_0xaf72ba=>{var _0x34fb0f=_0x3051b4;_0xaf72ba===_0xd0cc91[_0x34fb0f(0x2e2)]?this['_toggleOnline'](_0x3d9a4e):_0xaf72ba===_0xd0cc91[_0x34fb0f(0x15d)]&&(_0x3d9a4e=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x3051b4(0x201)]['event$']['subscribe'](_0x4efb55=>{var _0x472415=_0x3051b4;try{switch(_0x4efb55['eventID']){case _0x1cf310[_0x472415(0x2be)][_0x472415(0x136)]:{this[_0x472415(0x45d)](_0x1cf310[_0x472415(0x22d)](_0x4efb55[_0x472415(0x291)]));break;}case _0x1cf310['CollaborationEvent'][_0x472415(0x318)]:{this[_0x472415(0x12d)](_0x4efb55['data']);break;}case _0x1cf310[_0x472415(0x2be)][_0x472415(0x420)]:{this[_0x472415(0x33c)]();break;}case _0x1cf310[_0x472415(0x2be)][_0x472415(0x3e1)]:{this[_0x472415(0x1be)](_0x4efb55[_0x472415(0x291)]);break;}case _0x1cf310[_0x472415(0x2be)][_0x472415(0x238)]:{this[_0x472415(0x23a)](_0x4efb55[_0x472415(0x291)][_0x472415(0x367)][_0x472415(0x351)](_0x2afa9f=>_0x1cf310[_0x472415(0x22d)](_0x2afa9f)));break;}case _0x1cf310[_0x472415(0x2be)][_0x472415(0x374)]:{this[_0x472415(0x33c)]({'isPermissionRej':!0x0});break;}case _0x1cf310['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x4675ab){throw console[_0x472415(0x3f8)](_0x472415(0x310),_0x4675ab),_0x4675ab;}})),this[_0x3051b4(0x242)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x444a33(0x11d)](){var _0xdfbc02=_0x444a33;if(this[_0xdfbc02(0x499)])throw new Error(_0xdfbc02(0x170));this['_transitionLocked']=!0x0;}[_0x444a33(0x266)](_0x311070){var _0x21486f=_0x444a33;this[_0x21486f(0x11d)](),this[_0x21486f(0x23d)](this[_0x21486f(0x242)][_0x21486f(0x32a)](_0x311070)),this[_0x21486f(0x2c0)]();}[_0x444a33(0x45d)](_0x565ac7){var _0x11395d=_0x444a33;if(!(_0x565ac7[_0x11395d(0x35e)]<=this[_0x11395d(0x339)]['getCurrentRevOfUnit'](this[_0x11395d(0x2b3)]))){if(this[_0x11395d(0x453)]){this[_0x11395d(0x114)][_0x11395d(0x332)](_0x565ac7);return;}this[_0x11395d(0x3de)](_0x565ac7);}}[_0x444a33(0x39f)](){var _0x536be3=_0x444a33;this[_0x536be3(0x114)][_0x536be3(0x437)](_0x3071a9=>this[_0x536be3(0x3de)](_0x3071a9)),this[_0x536be3(0x114)]=[];}['_applyRemoteChangeset'](_0x3f2a37){var _0x1e336b=_0x444a33;const _0x1f753a=this['_compressMutationService']['interceptor'][_0x1e336b(0x1d3)](this['_compressMutationService']['interceptor'][_0x1e336b(0x3ff)]()[_0x1e336b(0x182)])(_0x3f2a37[_0x1e336b(0x366)],null)||_0x3f2a37[_0x1e336b(0x366)],_0x407f64={..._0x3f2a37,'mutations':_0x1f753a};this['_lockTransition'](),this['_updateState'](this[_0x1e336b(0x242)][_0x1e336b(0x27b)](_0x407f64)),this[_0x1e336b(0x2c0)]();}['_onRemoteACK'](_0x1c45a6){var _0x33e167=_0x444a33;this[_0x33e167(0x11d)](),this[_0x33e167(0x23d)](this[_0x33e167(0x242)][_0x33e167(0x13f)](_0x1c45a6)),this['_unlockTransition']();}['_onRemoteRejected'](_0x2426c2){var _0x582939=_0x444a33;this[_0x582939(0x11d)](),this[_0x582939(0x23d)](this['_state']['onRemoteRej'](_0x2426c2)),this['_unlockTransition']();}[_0x444a33(0x1be)](_0x4510c7){var _0x561b52=_0x444a33;this['_lockTransition'](),this[_0x561b52(0x23d)](this['_state']['onRemoteRetry'](_0x4510c7)),this[_0x561b52(0x2c0)]();}['_onFetchMissResult'](_0x6ee07e){var _0x548a53=_0x444a33;if(!(this[_0x548a53(0x242)]instanceof _0x23269f['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x58cf0f=_0x6ee07e[_0x548a53(0x351)](_0x197a19=>{var _0x2f92ad=_0x548a53;const _0x1c4925=this['_compressMutationService'][_0x2f92ad(0x297)][_0x2f92ad(0x1d3)](this['_compressMutationService'][_0x2f92ad(0x297)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x197a19[_0x2f92ad(0x366)],null)||_0x197a19[_0x2f92ad(0x366)];return{..._0x197a19,'mutations':_0x1c4925};});this[_0x548a53(0x11d)](),this[_0x548a53(0x23d)](this[_0x548a53(0x242)]['onMissedChangesetFetched'](_0x58cf0f)),this[_0x548a53(0x2c0)]();}[_0x444a33(0x3ea)](){var _0x1cdab1=_0x444a33;this[_0x1cdab1(0x11d)](),this[_0x1cdab1(0x23d)](this[_0x1cdab1(0x242)][_0x1cdab1(0x29b)]()),this['_unlockTransition']();}['_toggleOnline'](_0x326d03=!0x1){var _0x19edea=_0x444a33;this[_0x19edea(0x11d)](),this[_0x19edea(0x23d)](this[_0x19edea(0x242)]['toggleOnline']()),this[_0x19edea(0x2c0)]();const _0x427363=this[_0x19edea(0x242)];_0x326d03&&_0x427363 instanceof _0x23269f[_0x19edea(0x360)]&&(this[_0x19edea(0x11d)](),this[_0x19edea(0x23d)](_0x427363[_0x19edea(0x42f)]()),this[_0x19edea(0x2c0)]());}async['_createInitialState'](){return new Promise(_0x36d97c=>{var _0x17087b=_0xac1b;this[_0x17087b(0x201)][_0x17087b(0x23e)][_0x17087b(0x293)](_0x3d04ed['take'](0x1))[_0x17087b(0x42c)](async _0x280387=>{var _0xe6a3d5=_0x17087b;_0x36d97c(await this[_0xe6a3d5(0x185)](_0x280387===_0xd0cc91['ONLINE']));});});}['_createHandler'](){const _0x3fb575=this['unitID'];return{'onStateChange':(_0x2a5e52,_0x10245a)=>{var _0x5e6f47=_0xac1b;if(_0x2a5e52!==this[_0x5e6f47(0x242)])throw new Error(_0x5e6f47(0x3d8)+_0x2a5e52[_0x5e6f47(0x47c)]+_0x5e6f47(0x3c6)+_0x10245a[_0x5e6f47(0x47c)]+'\x0aCurrent:\x20'+this['_state'][_0x5e6f47(0x47c)]);this[_0x5e6f47(0x23d)](_0x10245a);},'onSendChangeset':_0x29e8d5=>{var _0x24c46d=_0xac1b;_0x29e8d5['sid']||(_0x29e8d5[_0x24c46d(0x104)]=this[_0x24c46d(0x488)],_0x29e8d5['reqId']=++this['_changesetReqId']);const _0x195535={'eventID':_0x1cf310['CollaborationEvent'][_0x24c46d(0x397)],'data':{'unitID':_0x29e8d5[_0x24c46d(0x2b3)],'unitType':this[_0x24c46d(0x1c4)],'changeset':_0x29e8d5,'memberID':this[_0x24c46d(0x201)][_0x24c46d(0x3d9)]()}};this[_0x24c46d(0x201)][_0x24c46d(0x439)](_0x195535,this[_0x24c46d(0x2b3)]);},'onMissingChangesets':({from:_0x2ff1df,to:_0x4087cb})=>{var _0x41532d=_0xac1b;this[_0x41532d(0x41c)][_0x41532d(0x459)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2ff1df+_0x41532d(0x18c)+_0x4087cb);const _0x594543={'eventID':_0x1cf310[_0x41532d(0x2be)][_0x41532d(0x44c)],'data':{'unitID':_0x3fb575,'unitType':this[_0x41532d(0x1c4)],'from':_0x2ff1df,'to':_0x4087cb}};this[_0x41532d(0x201)][_0x41532d(0x439)](_0x594543,this['unitID']);}};}async[_0x444a33(0x185)](_0x4735e1){var _0x1b05c5=_0x444a33,_0x1f2a73,_0xcbffd4,_0x497312;const _0x4dcd57=await((_0x1f2a73=this[_0x1b05c5(0x3ca)])==null?void 0x0:_0x1f2a73[_0x1b05c5(0x14b)](this[_0x1b05c5(0x2b3)])),_0xc015ac=(_0xcbffd4=_0x4dcd57==null?void 0x0:_0x4dcd57[_0x1b05c5(0x366)])!=null?_0xcbffd4:[],_0x45a5a8=(_0x497312=_0x4dcd57==null?void 0x0:_0x4dcd57[_0x1b05c5(0x445)])!=null?_0x497312:null,_0x3fdbaf=!!(_0x45a5a8!=null&&_0x45a5a8['sid'])&&!!(_0x45a5a8!=null&&_0x45a5a8[_0x1b05c5(0x3a2)]);this[_0x1b05c5(0x488)]=_0x3fdbaf?_0x45a5a8[_0x1b05c5(0x104)]:_0x1cf310['uuidv4'](),this[_0x1b05c5(0x3e6)]=_0x3fdbaf?_0x45a5a8[_0x1b05c5(0x3a2)]:0x0;const _0x114668=this[_0x1b05c5(0x2b3)];try{this['_replayCachedMutations'](_0x45a5a8,_0xc015ac);}catch(_0x3ddeb0){this['_logService'][_0x1b05c5(0x3f8)](_0x3ddeb0);}const _0x351c37=this[_0x1b05c5(0x344)]();if(_0x4735e1){const _0x1ebb27=_0x1737b4(this['_injector'],_0x114668,this[_0x1b05c5(0x1c4)],_0x45a5a8,_0xc015ac,_0x351c37);return _0x1ebb27 instanceof _0x23269f[_0x1b05c5(0x125)]?_0x1ebb27['_schedule']():(_0x1ebb27 instanceof _0x23269f[_0x1b05c5(0x3b5)]||_0x1ebb27 instanceof _0x23269f[_0x1b05c5(0x3bf)])&&_0x1ebb27[_0x1b05c5(0x2ee)](),_0x1ebb27;}return this[_0x1b05c5(0x2ba)][_0x1b05c5(0x31d)](_0x23269f[_0x1b05c5(0x31a)],_0x114668,this['_type'],_0x45a5a8,_0xc015ac,_0x351c37);}[_0x444a33(0x110)](_0x419e3f,_0x2e032f){var _0x33f601=_0x444a33,_0xdd9eef,_0x5be9b6;const _0x53fbdf=this[_0x33f601(0x164)][_0x33f601(0x297)][_0x33f601(0x1d3)](this[_0x33f601(0x164)]['interceptor'][_0x33f601(0x3ff)]()[_0x33f601(0x182)]);(_0xdd9eef=_0x53fbdf((_0x419e3f==null?void 0x0:_0x419e3f[_0x33f601(0x366)])||[],null))==null||_0xdd9eef[_0x33f601(0x437)](_0x4ff456=>this['_commandService'][_0x33f601(0x388)](_0x4ff456['id'],_0x4ff456['params'])),(_0x5be9b6=_0x53fbdf(_0x2e032f||[],null))==null||_0x5be9b6[_0x33f601(0x437)](_0x15b177=>this[_0x33f601(0x396)][_0x33f601(0x388)](_0x15b177['id'],_0x15b177[_0x33f601(0x41e)]));}},_0x23269f['CollaborationEntity']=_0x5c41da([_0x3fb56d(0x3,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x3fb56d(0x4,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x2c9)])),_0x3fb56d(0x5,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x283)])),_0x3fb56d(0x6,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x3fb56d(0x7,_0x58829f[_0x444a33(0x275)](_0x5a0744)),_0x3fb56d(0x8,_0x58829f[_0x444a33(0x2df)]),_0x3fb56d(0x9,_0x58829f['ILogService']),_0x3fb56d(0xa,_0x58829f['ICommandService']),_0x3fb56d(0xb,_0x58829f[_0x444a33(0x146)]),_0x3fb56d(0xc,_0x58829f[_0x444a33(0x49c)](_0x1fbfd9)),_0x3fb56d(0xd,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x292)]),_0x23269f[_0x444a33(0x27c)]=class extends _0x23269f['CollaborationEntity']{constructor(_0x3c62ab,_0x35a179,_0x3dc82a,_0x39a096,_0xc7152a,_0x1089a0,_0x292acd,_0x5cd6fb,_0x466973,_0x56281a,_0x453935,_0x5e8615,_0x1d92ae,_0x24b097){var _0xd63a4b=_0x444a33;super(_0x3c62ab,_0x3dc82a,_0x35a179,_0x39a096,_0xc7152a,_0x1089a0,_0x292acd,_0x5cd6fb,_0x466973,_0x56281a,_0x453935,_0x5e8615,_0x1d92ae,_0x24b097),_0x11728e(this,_0xd63a4b(0x377),null),(this['unitID']=_0x3c62ab,this[_0xd63a4b(0x20a)]=_0x35a179);}[_0x444a33(0x265)](_0x2992a6){var _0x5a8f3e=_0x444a33;this[_0x5a8f3e(0x377)]=_0x2992a6;}[_0x444a33(0x1dd)](){var _0x3a63a0=_0x444a33;this[_0x3a63a0(0x377)]=null,super['dispose']();}[_0x444a33(0x344)](){var _0x385f5a=_0x444a33;const _0x333bdb=super[_0x385f5a(0x344)]();return _0x333bdb[_0x385f5a(0x218)]=_0x3962bc=>{var _0x2e0f49=_0x385f5a,_0x21f3ba,_0x19747f;return(_0x19747f=(_0x21f3ba=this[_0x2e0f49(0x377)])==null?void 0x0:_0x21f3ba[_0x2e0f49(0x218)])==null?void 0x0:_0x19747f[_0x2e0f49(0x26e)](_0x21f3ba,_0x3962bc);},_0x333bdb[_0x385f5a(0x26f)]=_0x1dc716=>{var _0x59b43b=_0x385f5a,_0x431110,_0x3058a0;return(_0x3058a0=(_0x431110=this['_handlerCallback'])==null?void 0x0:_0x431110[_0x59b43b(0x26f)])==null?void 0x0:_0x3058a0[_0x59b43b(0x26e)](_0x431110,_0x1dc716);},_0x333bdb[_0x385f5a(0x28e)]=_0x69d8a3=>{var _0x23c08e=_0x385f5a,_0x4e4a3f,_0x3423d9;return(_0x3423d9=(_0x4e4a3f=this[_0x23c08e(0x377)])==null?void 0x0:_0x4e4a3f[_0x23c08e(0x28e)])==null?void 0x0:_0x3423d9['call'](_0x4e4a3f,_0x69d8a3);},_0x333bdb[_0x385f5a(0x253)]=_0x20d7c2=>{var _0x39e69e=_0x385f5a,_0x4b1709,_0x2c530c;return(_0x2c530c=(_0x4b1709=this[_0x39e69e(0x377)])==null?void 0x0:_0x4b1709[_0x39e69e(0x253)])==null?void 0x0:_0x2c530c[_0x39e69e(0x26e)](_0x4b1709,_0x20d7c2);},_0x333bdb['onTransformRemoteChangesetByIMECache']=_0x59bd38=>{var _0x431cfb=_0x385f5a,_0x360746,_0x64459f,_0x7fd3be;if(!((_0x360746=this['_handlerCallback'])!=null&&_0x360746[_0x431cfb(0x37a)]))throw new Error(_0x431cfb(0x33d));return(_0x7fd3be=(_0x64459f=this[_0x431cfb(0x377)])==null?void 0x0:_0x64459f[_0x431cfb(0x37a)])==null?void 0x0:_0x7fd3be[_0x431cfb(0x26e)](_0x64459f,_0x59bd38);},_0x333bdb[_0x385f5a(0x11e)]=_0x21d610=>{var _0x56f911=_0x385f5a,_0x24ac2d,_0x1e9868,_0x547629;if(!((_0x24ac2d=this[_0x56f911(0x377)])!=null&&_0x24ac2d[_0x56f911(0x11e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x547629=(_0x1e9868=this[_0x56f911(0x377)])==null?void 0x0:_0x1e9868['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x547629['call'](_0x1e9868,_0x21d610);},_0x333bdb;}async[_0x444a33(0x4a1)](){var _0xeb4baa=_0x444a33;const _0x17a920=await super[_0xeb4baa(0x4a1)]();return this[_0xeb4baa(0x373)](this[_0xeb4baa(0x396)][_0xeb4baa(0x1d2)]((_0x4f731a,_0x16bb9c)=>{var _0xee04f9=_0xeb4baa;if(_0x4f731a[_0xee04f9(0x20a)]!==_0x58829f[_0xee04f9(0x167)][_0xee04f9(0x2b0)]||_0x16bb9c!=null&&_0x16bb9c['fromCollab']||_0x16bb9c!=null&&_0x16bb9c['onlyLocal']||_0x4f731a['id']===_0x54b995[_0xee04f9(0x1e0)]['id'])return;const _0x1cec58=_0x4f731a[_0xee04f9(0x41e)];if((_0x1cec58==null?void 0x0:_0x1cec58['unitId'])!==this['unitID'])return;const _0x1c7871=_0x4f731a,_0x5829eb=this[_0xee04f9(0x164)][_0xee04f9(0x297)][_0xee04f9(0x1d3)](this[_0xee04f9(0x164)][_0xee04f9(0x297)][_0xee04f9(0x3ff)]()[_0xee04f9(0x2e4)])([_0x1c7871],this['_univerInstanceService'])||[_0x1c7871];this[_0xee04f9(0x266)](_0x5829eb[0x0]);})),_0x17a920;}},_0x23269f[_0x444a33(0x27c)]=_0x5c41da([_0x3fb56d(0x3,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x149)])),_0x3fb56d(0x4,_0x58829f['Inject'](_0x1cf310[_0x444a33(0x2c9)])),_0x3fb56d(0x5,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x283)])),_0x3fb56d(0x6,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x3fb56d(0x7,_0x58829f[_0x444a33(0x275)](_0x5a0744)),_0x3fb56d(0x8,_0x58829f[_0x444a33(0x2df)]),_0x3fb56d(0x9,_0x58829f[_0x444a33(0x352)]),_0x3fb56d(0xa,_0x58829f[_0x444a33(0x340)]),_0x3fb56d(0xb,_0x58829f[_0x444a33(0x146)]),_0x3fb56d(0xc,_0x58829f[_0x444a33(0x49c)](_0x1fbfd9)),_0x3fb56d(0xd,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x27c)]),_0x23269f[_0x444a33(0x287)]=class extends _0x23269f[_0x444a33(0x292)]{constructor(_0x1aec0c,_0x33a71b,_0x4b4370,_0x4f1975,_0x392abb,_0x5b90cc,_0x13a5a9,_0xc81f76,_0x3b3ad2,_0x16738a,_0x4b57be,_0x207447,_0x35ab50,_0x2fb0be,_0x4a200c){var _0x4ed11e=_0x444a33;super(_0x1aec0c,_0x4b4370,_0x33a71b,_0x4f1975,_0x392abb,_0x5b90cc,_0x13a5a9,_0x3b3ad2,_0x16738a,_0x4b57be,_0x207447,_0x35ab50,_0x2fb0be,_0x4a200c),this['unitID']=_0x1aec0c,this[_0x4ed11e(0x20a)]=_0x33a71b,this[_0x4ed11e(0x463)]=_0xc81f76;}['_createHandler'](){var _0x14222d=_0x444a33;const _0x4badcc=super['_createHandler']();return _0x4badcc[_0x14222d(0x28e)]=_0x1d200b=>this[_0x14222d(0x463)][_0x14222d(0x3a6)](_0x1d200b),_0x4badcc;}async[_0x444a33(0x4a1)](){var _0xb7b933=_0x444a33;const _0x4bbbc0=await super[_0xb7b933(0x4a1)]();return this[_0xb7b933(0x373)](this[_0xb7b933(0x396)]['onMutationExecutedForCollab']((_0x250d6e,_0xc2fb84)=>{var _0x2d3576=_0xb7b933;if(_0x250d6e[_0x2d3576(0x20a)]!==_0x58829f[_0x2d3576(0x167)][_0x2d3576(0x2b0)]||_0xc2fb84!=null&&_0xc2fb84[_0x2d3576(0x213)]||_0xc2fb84!=null&&_0xc2fb84['onlyLocal'])return;const _0x2e6518=_0x250d6e[_0x2d3576(0x41e)];if((_0x2e6518==null?void 0x0:_0x2e6518[_0x2d3576(0x2a1)])!==this[_0x2d3576(0x2b3)])return;const _0x25ccd7=_0x250d6e,_0x2bd8a1=this['_compressMutationService'][_0x2d3576(0x297)][_0x2d3576(0x1d3)](this[_0x2d3576(0x164)][_0x2d3576(0x297)][_0x2d3576(0x3ff)]()[_0x2d3576(0x2e4)])([_0x25ccd7],this[_0x2d3576(0x3a4)])||[_0x25ccd7];this[_0x2d3576(0x266)](_0x2bd8a1[0x0]);})),_0x4bbbc0;}},_0x23269f['SheetCollaborationEntity']=_0x5c41da([_0x3fb56d(0x3,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x149)])),_0x3fb56d(0x4,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x2c9)])),_0x3fb56d(0x5,_0x58829f['Inject'](_0x58829f[_0x444a33(0x283)])),_0x3fb56d(0x6,_0x58829f[_0x444a33(0x275)](_0x1cf310[_0x444a33(0x389)])),_0x3fb56d(0x7,_0x58829f[_0x444a33(0x275)](_0x23269f[_0x444a33(0x140)])),_0x3fb56d(0x8,_0x58829f['Inject'](_0x5a0744)),_0x3fb56d(0x9,_0x58829f[_0x444a33(0x2df)]),_0x3fb56d(0xa,_0x58829f[_0x444a33(0x352)]),_0x3fb56d(0xb,_0x58829f[_0x444a33(0x340)]),_0x3fb56d(0xc,_0x58829f[_0x444a33(0x146)]),_0x3fb56d(0xd,_0x58829f[_0x444a33(0x49c)](_0x1fbfd9)),_0x3fb56d(0xe,_0x58829f[_0x444a33(0x49c)](_0x59fe82))],_0x23269f[_0x444a33(0x287)]);const _0x1339b0=_0x58829f[_0x444a33(0xff)](_0x444a33(0x408));function _0x2e2d3f(_0x132b2d){var _0x1c5132=_0x444a33,_0xbf947d,_0x202586,_0x15eddf,_0x3239f5,_0x403cf6;const _0x2ad443=_0x132b2d[_0x1c5132(0x291)],_0x4fd6fb=JSON[_0x1c5132(0x127)](_0x2ad443);switch(_0x4fd6fb[_0x1c5132(0x1b1)]){case _0x2fa8a0['HEARTBEAT']:case _0x2fa8a0[_0x1c5132(0x230)]:{const _0x4f7593=_0x4fd6fb['infoRsp'];return{..._0x4fd6fb,'data':_0x4f7593,'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};}case _0x2fa8a0['JOIN']:{const _0x1822c0=_0x4fd6fb[_0x1c5132(0x3e3)];return{..._0x4fd6fb,'data':_0x1822c0,'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};}case _0x2fa8a0['RECV']:{const _0x296373=_0x4fd6fb[_0x1c5132(0x369)];switch(_0x296373[_0x1c5132(0x3b0)]){case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x374)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':(_0xbf947d=_0x296373['permissionRejEvent'])==null?void 0x0:_0xbf947d['cs']},'cmd':_0x4fd6fb['cmd']};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x318)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':(_0x202586=_0x296373['csAckEvent'])==null?void 0x0:_0x202586['cs']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)]['NEW_CHANGESETS']:return{..._0x4fd6fb,'data':{..._0x296373,'data':(_0x15eddf=_0x296373[_0x1c5132(0x252)])==null?void 0x0:_0x15eddf['cs']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x420)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':(_0x3239f5=_0x296373[_0x1c5132(0x401)])==null?void 0x0:_0x3239f5['cs']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)]['CHANGESET_SHOULD_RETRY']:return{..._0x4fd6fb,'data':{..._0x296373,'data':(_0x403cf6=_0x296373[_0x1c5132(0x20f)])==null?void 0x0:_0x403cf6['cs']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x3fb)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373['updateCursorEvent']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x21b)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x2c6)]},'cmd':_0x4fd6fb['cmd']};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x343)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x1f5)]},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310['CollaborationEvent'][_0x1c5132(0x39c)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x37b)]},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310['CollaborationEvent'][_0x1c5132(0x199)]:case _0x1cf310['CollaborationEvent'][_0x1c5132(0x372)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x187)]},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x28c)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x37b)]},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x155)]:return{..._0x4fd6fb,'data':_0x296373,'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310[_0x1c5132(0x2be)]['COMMENT_UPDATE']:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373[_0x1c5132(0x1aa)]},'cmd':_0x4fd6fb['cmd']};case _0x1cf310[_0x1c5132(0x2be)][_0x1c5132(0x3cb)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373['updatePermissionObjEvent']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310['CollaborationEvent'][_0x1c5132(0x454)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373['shouldCloseConn']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};case _0x1cf310['CollaborationEvent'][_0x1c5132(0x438)]:return{..._0x4fd6fb,'data':{..._0x296373,'data':_0x296373['uniscriptRunEvent']},'cmd':_0x4fd6fb[_0x1c5132(0x1b1)]};default:return _0x4fd6fb;}}default:return _0x4fd6fb;}}function _0x84fa5e(_0x170c39){var _0x53cc49=_0x444a33;switch(_0x170c39[_0x53cc49(0x1b1)]){case _0x2fa8a0['HEARTBEAT']:case _0x2fa8a0['HELLO']:return JSON[_0x53cc49(0x3b4)]({'cmd':_0x170c39['cmd'],'routeKey':_0x170c39[_0x53cc49(0x115)]});case _0x2fa8a0[_0x53cc49(0x121)]:{let _0x119471;switch(_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x3b0)]){case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x3fb)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)]['UPDATE_CURSOR'],'updateCursorEvent':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x343)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x343)],'leaveEvent':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310['CollaborationEvent'][_0x53cc49(0x21b)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x21b)],'joinEvent':_0x170c39['data'][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x39c)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x39c)],'liveShareNewHost':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)]['LIVESHARE_OPERATION']:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x372)],'liveShareOperation':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x28c)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x28c)],'liveShareTerminate':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x2f0)]:{_0x119471={'eventID':_0x1cf310['CollaborationEvent'][_0x53cc49(0x2f0)],'liveShareRequestHost':_0x170c39[_0x53cc49(0x291)][_0x53cc49(0x291)]};break;}case _0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x199)]:{_0x119471={'eventID':_0x1cf310[_0x53cc49(0x2be)][_0x53cc49(0x199)]};break;}default:_0x119471={'eventID':_0x170c39['data'][_0x53cc49(0x3b0)]};}return JSON[_0x53cc49(0x3b4)]({'cmd':_0x170c39[_0x53cc49(0x1b1)],'routeKey':_0x170c39[_0x53cc49(0x115)],'collaMsg':_0x119471});}case _0x2fa8a0[_0x53cc49(0x1de)]:return JSON[_0x53cc49(0x3b4)]({'cmd':_0x170c39[_0x53cc49(0x1b1)],'routeKey':_0x170c39[_0x53cc49(0x115)],'joinReq':_0x170c39[_0x53cc49(0x291)]});case _0x2fa8a0[_0x53cc49(0x1cf)]:return JSON[_0x53cc49(0x3b4)]({'cmd':_0x170c39[_0x53cc49(0x1b1)],'routeKey':_0x170c39[_0x53cc49(0x115)],'leaveReq':_0x170c39[_0x53cc49(0x291)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x16630c=Object[_0x444a33(0x41d)],_0x100b05=(_0x1f13d5,_0x2c0d1f,_0x3a210c,_0x4d0140)=>{var _0x59a3e6=_0x444a33;for(var _0x378ca1=_0x4d0140>0x1?void 0x0:_0x4d0140?_0x16630c(_0x2c0d1f,_0x3a210c):_0x2c0d1f,_0x192169=_0x1f13d5[_0x59a3e6(0x3bd)]-0x1,_0x839249;_0x192169>=0x0;_0x192169--)(_0x839249=_0x1f13d5[_0x192169])&&(_0x378ca1=_0x839249(_0x378ca1)||_0x378ca1);return _0x378ca1;},_0x5ae285=(_0x40738e,_0x38e8fc)=>(_0x220fbd,_0x45d38a)=>_0x38e8fc(_0x220fbd,_0x45d38a,_0x40738e);const _0x4161aa=_0x58829f['createIdentifier'](_0x444a33(0x111));function _0x1fe838(_0x186422,_0x37d296,_0x28c7ea){var _0x2c4d00=_0x444a33;return _0x186422+'/'+_0x37d296+'/unit/'+_0x28c7ea+_0x2c4d00(0x27f);}_0x23269f['CollaborationSocketService']=class extends _0x58829f[_0x444a33(0x247)]{constructor(_0x3c9143,_0x428dc6,_0x29bfac,_0x267cb7,_0x308228){var _0x2743f5=_0x444a33;super(),this[_0x2743f5(0x2ba)]=_0x3c9143,this[_0x2743f5(0x303)]=_0x428dc6,this[_0x2743f5(0x219)]=_0x29bfac,this[_0x2743f5(0x41c)]=_0x267cb7,this[_0x2743f5(0x392)]=_0x308228;}[_0x444a33(0x11f)](_0x70c9d7){var _0x30bc6f=_0x444a33;const _0x567001=this[_0x30bc6f(0x2ba)][_0x30bc6f(0x35f)](_0xd2c5f8[_0x30bc6f(0x240)]);if(!_0x567001)throw new Error(_0x30bc6f(0x1d5));const _0x1f1c5c=_0x567001[_0x30bc6f(0x3d1)](_0x70c9d7);if(!_0x1f1c5c)throw new Error(_0x30bc6f(0x152));const _0x19420f=new _0x58829f[(_0x30bc6f(0x3aa))](),_0x1ea76b=new _0x3d04ed['Subject']();_0x19420f['add'](_0x1f1c5c[_0x30bc6f(0x174)]['subscribe'](_0x5bba45=>_0x1ea76b[_0x30bc6f(0x2dc)](_0x5bba45))),_0x19420f[_0x30bc6f(0x467)](_0x58829f[_0x30bc6f(0x307)](()=>_0x1ea76b[_0x30bc6f(0x3b8)]()));const _0xb9ea04=new _0x3d04ed[(_0x30bc6f(0x1d1))]();_0x19420f[_0x30bc6f(0x467)](_0x1f1c5c[_0x30bc6f(0x49b)][_0x30bc6f(0x42c)](_0x27e487=>_0xb9ea04[_0x30bc6f(0x2dc)](_0x27e487))),_0x19420f['add'](_0x58829f['toDisposable'](()=>_0xb9ea04['complete']()));const _0x1be873=new _0x3d04ed[(_0x30bc6f(0x1d1))]();_0x19420f[_0x30bc6f(0x467)](_0x1f1c5c[_0x30bc6f(0x485)][_0x30bc6f(0x42c)](_0x3599d8=>{const _0x191097=_0x2e2d3f(_0x3599d8);_0x1be873['next'](_0x191097);})),_0x19420f['add'](_0x58829f['toDisposable'](()=>_0x1be873['complete']()));let _0xb77bc2;const _0x13839f=()=>{var _0x2edea0=_0x30bc6f;_0xb9ea04[_0x2edea0(0x2dc)](new Event(_0x2edea0(0x40b))),_0x1ea76b[_0x2edea0(0x2dc)](new Event(_0x2edea0(0x40b))),_0xb77bc2[_0x2edea0(0x363)]();};return _0xb77bc2={'memberID':'','close$':_0x1ea76b[_0x30bc6f(0x22c)](),'error$':_0xb9ea04['asObservable'](),'open$':_0x1f1c5c[_0x30bc6f(0x3ef)],'message$':_0x1be873['asObservable'](),'send':_0x2bf1d7=>{var _0x34dd3d=_0x30bc6f;if(_0x2bf1d7['cmd']===_0x2fa8a0['INGEST']){if(_0x2bf1d7[_0x34dd3d(0x291)][_0x34dd3d(0x3b0)]===_0x1cf310[_0x34dd3d(0x2be)][_0x34dd3d(0x397)]){this[_0x34dd3d(0x32f)](_0xb77bc2,_0x2bf1d7[_0x34dd3d(0x291)])['catch'](_0x1ed3a7=>{var _0x11c006=_0x34dd3d;this[_0x11c006(0x41c)]['error'](_0x1ed3a7),_0x13839f();});return;}if(_0x2bf1d7[_0x34dd3d(0x291)]['eventID']===_0x1cf310[_0x34dd3d(0x2be)][_0x34dd3d(0x44c)]){const _0x47a309=_0x2bf1d7[_0x34dd3d(0x291)];this['_fetchMissChangesets'](_0x47a309)[_0x34dd3d(0x48f)](_0x19463=>{var _0x298aab=_0x34dd3d;_0x1be873[_0x298aab(0x2dc)]({'cmd':_0x2fa8a0[_0x298aab(0x357)],'code':_0x53265e['OK'],'routeKey':_0x47a309['data'][_0x298aab(0x2b3)],'routeType':'','data':{'eventID':_0x1cf310[_0x298aab(0x2be)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x19463}}});})[_0x34dd3d(0x2c2)](_0x2fe35d=>{this['_logService']['error'](_0x2fe35d),_0x13839f();});return;}}_0x1f1c5c[_0x34dd3d(0x439)](_0x84fa5e(_0x2bf1d7));},'close':()=>{var _0x3744a3=_0x30bc6f;_0x1f1c5c[_0x3744a3(0x363)](),_0x19420f[_0x3744a3(0x1dd)]();}},_0xb77bc2;}async[_0x444a33(0x32f)](_0x40eee8,_0x3f2b9f){var _0x3d899f=_0x444a33,_0x587cd0;const {unitType:_0x51642d,unitID:_0x579aca,changeset:_0xc69584}=_0x3f2b9f[_0x3d899f(0x291)],_0x486030={'unitID':_0x579aca,'memberID':_0x40eee8['memberID'],'type':_0x51642d,'changeset':_0x1cf310[_0x3d899f(0x3b6)](_0xc69584)},_0x252f88=this[_0x3d899f(0x219)][_0x3d899f(0x3d6)](_0x420549),_0x5b76bf=_0x1fe838((_0x587cd0=_0x252f88==null?void 0x0:_0x252f88[_0x3d899f(0x1a9)])!=null?_0x587cd0:_0x5e7d61,_0x51642d,_0x579aca);try{await this[_0x3d899f(0x303)][_0x3d899f(0x430)](_0x5b76bf,{'body':_0x486030});}catch(_0x55c265){throw this[_0x3d899f(0x41c)]['error'](_0x3d899f(0x449),_0x3d899f(0x254)),_0x55c265;}}async['_fetchMissChangesets'](_0x29d62b){var _0xc0d764=_0x444a33;const {unitID:_0x336823,from:_0x4569a5,to:_0x4281dd,unitType:_0x6de79f}=_0x29d62b[_0xc0d764(0x291)];return(await this[_0xc0d764(0x392)][_0xc0d764(0x2ab)]({'metadata':void 0x0},{'unitID':_0x336823,'type':_0x6de79f,'from':_0x4569a5,'to':_0x4281dd}))[_0xc0d764(0x367)][_0xc0d764(0x351)](_0x3c1df3=>((_0x3c1df3['mutations']===null||_0x3c1df3['mutations']===void 0x0)&&(_0x3c1df3[_0xc0d764(0x366)]=[]),_0x3c1df3));}},_0x23269f[_0x444a33(0x19d)]=_0x100b05([_0x5ae285(0x0,_0x58829f[_0x444a33(0x275)](_0x58829f['Injector'])),_0x5ae285(0x1,_0x58829f[_0x444a33(0x275)](_0xd2c5f8[_0x444a33(0x1e3)])),_0x5ae285(0x2,_0x58829f[_0x444a33(0x142)]),_0x5ae285(0x3,_0x58829f[_0x444a33(0x352)]),_0x5ae285(0x4,_0x1cf310[_0x444a33(0x1bf)])],_0x23269f[_0x444a33(0x19d)]);var _0x5d5db1=Object[_0x444a33(0x41d)],_0x3b83d9=(_0x9573b1,_0xc3328c,_0x599a59,_0xd70f96)=>{var _0x414aa4=_0x444a33;for(var _0x200d4d=_0xd70f96>0x1?void 0x0:_0xd70f96?_0x5d5db1(_0xc3328c,_0x599a59):_0xc3328c,_0x91c28e=_0x9573b1[_0x414aa4(0x3bd)]-0x1,_0x3b454e;_0x91c28e>=0x0;_0x91c28e--)(_0x3b454e=_0x9573b1[_0x91c28e])&&(_0x200d4d=_0x3b454e(_0x200d4d)||_0x200d4d);return _0x200d4d;},_0x54cf0d=(_0x271ff1,_0x52fa0d)=>(_0x1049b4,_0x15389d)=>_0x52fa0d(_0x1049b4,_0x15389d,_0x271ff1);_0x23269f[_0x444a33(0x226)]=class extends _0x58829f[_0x444a33(0x247)]{constructor(_0x3d77d0,_0x31f59a,_0x4064bc,_0x16070a,_0x1d5dff,_0x7ee8a3){var _0x529acb=_0x444a33;super(),_0x11728e(this,_0x529acb(0x2e0),new _0x3d04ed[(_0x529acb(0x2d7))](void 0x0)),_0x11728e(this,_0x529acb(0x150),this[_0x529acb(0x2e0)]['asObservable']()),_0x11728e(this,_0x529acb(0x43f),null),_0x11728e(this,_0x529acb(0x419),new Map()),_0x11728e(this,_0x529acb(0x30f),new _0x3d04ed[(_0x529acb(0x2d7))](_0xd0cc91['IDLE'])),_0x11728e(this,_0x529acb(0x302),this[_0x529acb(0x30f)]['asObservable']()),_0x11728e(this,'_socketReady',!0x1),_0x11728e(this,'_retryConnectingTimer'),_0x11728e(this,_0x529acb(0x2c4),0x0),_0x11728e(this,_0x529acb(0x3fa)),_0x11728e(this,'_timeoutTimer'),(this[_0x529acb(0x2ba)]=_0x3d77d0,this[_0x529acb(0x41c)]=_0x31f59a,this['_configService']=_0x4064bc,this[_0x529acb(0x1bb)]=_0x16070a,this['_collaborationUIEventService']=_0x1d5dff,this[_0x529acb(0x21d)]=_0x7ee8a3,this[_0x529acb(0x2e8)]());}get['_socket'](){var _0x9bd322=_0x444a33;return this['_socket$'][_0x9bd322(0x1b3)]();}['_listenToNetworkCondition'](){var _0x3dc00a=_0x444a33;this[_0x3dc00a(0x21d)]&&this['disposeWithMe'](this[_0x3dc00a(0x21d)]['online$'][_0x3dc00a(0x42c)](_0x5f2756=>{var _0x1777ce=_0x3dc00a;_0x5f2756&&!this[_0x1777ce(0x3f9)]&&this[_0x1777ce(0x269)](),_0x5f2756||this['_onOffline']();}));}[_0x444a33(0x1dd)](){var _0x2e317e=_0x444a33;super[_0x2e317e(0x1dd)](),this[_0x2e317e(0x3e4)](),this[_0x2e317e(0x46e)](),this[_0x2e317e(0x477)](),this[_0x2e317e(0x419)]['forEach'](_0x37f734=>_0x37f734[_0x2e317e(0x1dd)]()),this['_sessions']['clear'](),this['_status$']['complete']();}async[_0x444a33(0x2cd)](_0x1dbab1){var _0x4b5363=_0x444a33;if(this['_sessions'][_0x4b5363(0x2c5)](_0x1dbab1))return this[_0x4b5363(0x419)][_0x4b5363(0x35f)](_0x1dbab1);this[_0x4b5363(0x2d8)]();const _0x1fb539=this[_0x4b5363(0x2ba)][_0x4b5363(0x31d)](_0x23269f['CollaborationSession'],_0x1dbab1,this[_0x4b5363(0x2e0)][_0x4b5363(0x22c)]());return this[_0x4b5363(0x419)][_0x4b5363(0x214)](_0x1dbab1,_0x1fb539),_0x1fb539;}[_0x444a33(0x138)](_0xfa59c7){var _0x5b5612=_0x444a33,_0x1c9058;const _0x18e412=this[_0x5b5612(0x419)][_0x5b5612(0x35f)](_0xfa59c7);_0x18e412&&(this[_0x5b5612(0x419)]['delete'](_0xfa59c7),_0x18e412[_0x5b5612(0x363)]()),this[_0x5b5612(0x419)][_0x5b5612(0x200)]||(_0x1c9058=this[_0x5b5612(0x3f9)])==null||_0x1c9058[_0x5b5612(0x363)]();}[_0x444a33(0x269)](){var _0x5b0902=_0x444a33;this['_retryCount']=0x0,this[_0x5b0902(0x3e4)](),this['_tryReconnect']();}[_0x444a33(0x3e4)](){var _0x27dcd6=_0x444a33;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x27dcd6(0x207)]),this[_0x27dcd6(0x207)]=null);}async[_0x444a33(0x227)](){var _0x52c857=_0x444a33,_0x2d56d3;const _0x3cf07c=this[_0x52c857(0x219)][_0x52c857(0x3d6)](_0x420549),_0xc83caf=(_0x2d56d3=_0x3cf07c==null?void 0x0:_0x3cf07c['collabWebSocketUrl'])!=null?_0x2d56d3:_0x433089,_0x58dcf7=await this[_0x52c857(0x1bb)][_0x52c857(0x3d1)](_0xc83caf);return this[_0x52c857(0x43f)]=_0x58dcf7,_0x58dcf7;}async[_0x444a33(0x2d8)](){var _0x677709=_0x444a33,_0xbdd0b8,_0x52ddf9;try{const _0x1b693e=(_0x52ddf9=(_0xbdd0b8=this[_0x677709(0x3f9)])!=null?_0xbdd0b8:this[_0x677709(0x43f)])!=null?_0x52ddf9:await this[_0x677709(0x227)]();if(_0x1b693e){const _0x4a5497=_0x1b693e[_0x677709(0x439)];_0x1b693e[_0x677709(0x439)]=_0x3b60bc=>(this['_rescheduleHeartbeat'](),_0x4a5497[_0x677709(0x256)](_0x1b693e,[_0x3b60bc])),_0x1b693e[_0x677709(0x485)][_0x677709(0x42c)](_0x14f02c=>this[_0x677709(0x324)](_0x1b693e,_0x14f02c)),_0x1b693e[_0x677709(0x49b)]['pipe'](_0x66d2a7[_0x677709(0x48d)](0x1))[_0x677709(0x42c)](_0x466160=>this[_0x677709(0x41c)][_0x677709(0x3f8)]('[CollaborationSessionService]:\x20socket\x20error',_0x466160)),_0x1b693e[_0x677709(0x3ef)][_0x677709(0x293)](_0x66d2a7[_0x677709(0x48d)](0x1))[_0x677709(0x42c)](()=>{var _0x74f129=_0x677709;this[_0x74f129(0x2cf)](_0x1b693e);}),_0x1b693e[_0x677709(0x174)]['pipe'](_0x66d2a7[_0x677709(0x48d)](0x1))[_0x677709(0x42c)](_0x86116b=>{var _0x1f31ff=_0x677709;this['_logService'][_0x1f31ff(0x459)](_0x1f31ff(0x268),'socket\x20close',_0x86116b),this[_0x1f31ff(0x2af)]();});}}catch(_0x2b600e){this['_logService'][_0x677709(0x3f8)](_0x2b600e),this['_onConnectionFailed']();}}[_0x444a33(0x2cf)](_0x38855c){var _0x1cff0a=_0x444a33;this['_logService'][_0x1cff0a(0x459)](_0x1cff0a(0x268),_0x1cff0a(0x17c)),_0x38855c['send']({'cmd':_0x2fa8a0[_0x1cff0a(0x230)]}),this[_0x1cff0a(0x3cc)]();}[_0x444a33(0x3b7)](){var _0x2ecd0f=_0x444a33;this[_0x2ecd0f(0x43c)]=!0x1,this[_0x2ecd0f(0x43f)]=null,this[_0x2ecd0f(0x30f)][_0x2ecd0f(0x2dc)](_0xd0cc91['OFFLINE']),this[_0x2ecd0f(0x2e0)][_0x2ecd0f(0x2dc)](null),this[_0x2ecd0f(0x46e)](),this['_clearHeartbeatTimer']();}[_0x444a33(0x2af)](){var _0x22c580=_0x444a33,_0x4d6cdb;this['_onOffline'](),this['_retryCount']<((_0x4d6cdb=this[_0x22c580(0x219)][_0x22c580(0x3d6)](_0x5857f1))!=null?_0x4d6cdb:0x3)?(this[_0x22c580(0x491)]['emitEvent']({'id':_0x258302[_0x22c580(0x345)]}),this[_0x22c580(0x234)]()):this['_collaborationUIEventService'][_0x22c580(0x1f2)]({'id':_0x258302[_0x22c580(0x2aa)]});}[_0x444a33(0x234)](){var _0x25ff81=_0x444a33,_0x4c5c7c;const _0xc0706d=this['_retryCount'],_0x611dcd=this['_configService'][_0x25ff81(0x3d6)](_0x420549),_0x3fab89=_0xc0706d===0x0?0x0:((_0x4c5c7c=_0x611dcd==null?void 0x0:_0x611dcd['retryConnectingInterval'])!=null?_0x4c5c7c:0x4e20)*0x2**_0xc0706d;this[_0x25ff81(0x207)]=setTimeout(()=>{var _0x155f3a=_0x25ff81;clearTimeout(this[_0x155f3a(0x207)]),this['_retryConnectingTimer']=null,this[_0x155f3a(0x2d8)]();},_0x3fab89),this['_retryCount']+=0x1;}[_0x444a33(0x324)](_0x3f9179,_0x551608){var _0x269578=_0x444a33;const {cmd:_0x1e7a47}=_0x551608;_0x1e7a47===_0x2fa8a0[_0x269578(0x230)]&&!this['_socketReady']&&(_0x3f9179[_0x269578(0x2d5)]=_0x551608[_0x269578(0x291)][_0x269578(0x2d5)],this[_0x269578(0x2e0)][_0x269578(0x2dc)](_0x3f9179),this[_0x269578(0x30f)]['next'](_0xd0cc91[_0x269578(0x2e2)]),this[_0x269578(0x43c)]=!0x0,this['_candidateSocket']=null),_0x1e7a47===_0x2fa8a0['HEARTBEAT']&&this[_0x269578(0x46e)](),this[_0x269578(0x3cc)]();}[_0x444a33(0x3cc)](){var _0x1013e5=_0x444a33,_0x4bd82e;this[_0x1013e5(0x477)](),this[_0x1013e5(0x3fa)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4bd82e=this[_0x1013e5(0x219)][_0x1013e5(0x3d6)](_0x2ac995))!=null?_0x4bd82e:0x7530);}[_0x444a33(0x44d)](){var _0x46efa6=_0x444a33;this[_0x46efa6(0x3f9)][_0x46efa6(0x439)]({'cmd':_0x2fa8a0[_0x46efa6(0x473)]}),this[_0x46efa6(0x1b2)]();}[_0x444a33(0x1b2)](){var _0x49176f=_0x444a33,_0x4fcdc3;this[_0x49176f(0x26d)]=setTimeout(()=>this[_0x49176f(0x2af)](),(_0x4fcdc3=this['_configService'][_0x49176f(0x3d6)](_0x3c3820))!=null?_0x4fcdc3:0x4e20);}['_clearHeartbeatTimer'](){var _0x332aca=_0x444a33;this[_0x332aca(0x3fa)]!=null&&(clearTimeout(this[_0x332aca(0x3fa)]),this[_0x332aca(0x3fa)]=null);}[_0x444a33(0x46e)](){var _0x54e0a6=_0x444a33;this[_0x54e0a6(0x26d)]!=null&&(clearTimeout(this[_0x54e0a6(0x26d)]),this['_timeoutTimer']=null);}},_0x23269f[_0x444a33(0x226)]=_0x3b83d9([_0x54cf0d(0x0,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x54cf0d(0x1,_0x58829f[_0x444a33(0x352)]),_0x54cf0d(0x2,_0x58829f['IConfigService']),_0x54cf0d(0x3,_0x4161aa),_0x54cf0d(0x4,_0x58829f[_0x444a33(0x275)](_0x5a0744)),_0x54cf0d(0x5,_0x58829f['Optional'](_0x1339b0))],_0x23269f[_0x444a33(0x226)]);var _0x4b4285=Object[_0x444a33(0x41d)],_0x5f09b2=(_0x4d10e4,_0xe15c64,_0x55a1ac,_0x5b29d8)=>{for(var _0x5dbba1=_0x5b29d8>0x1?void 0x0:_0x5b29d8?_0x4b4285(_0xe15c64,_0x55a1ac):_0xe15c64,_0x110c2b=_0x4d10e4['length']-0x1,_0x265413;_0x110c2b>=0x0;_0x110c2b--)(_0x265413=_0x4d10e4[_0x110c2b])&&(_0x5dbba1=_0x265413(_0x5dbba1)||_0x5dbba1);return _0x5dbba1;},_0x4f1d64=(_0x26a71a,_0x2334fa)=>(_0x5906e2,_0x29b40e)=>_0x2334fa(_0x5906e2,_0x29b40e,_0x26a71a);_0x23269f[_0x444a33(0x47b)]=class extends _0x58829f[_0x444a33(0x264)]{constructor(_0x3c0d64,_0x44ee94,_0x5aeaa,_0x12c188){var _0x3a9d05=_0x444a33,_0xe35da1;super(),_0x11728e(this,_0x3a9d05(0x3d2),new Map()),_0x11728e(this,'_entityInit$',new _0x3d04ed[(_0x3a9d05(0x1d1))]()),_0x11728e(this,'entityInit$',this[_0x3a9d05(0x2ca)][_0x3a9d05(0x22c)]()),(this['_injector']=_0x3c0d64,this['_collabSessionService']=_0x44ee94,this[_0x3a9d05(0x219)]=_0x5aeaa,this[_0x3a9d05(0x3a4)]=_0x12c188,((_0xe35da1=this['_configService'][_0x3a9d05(0x3d6)](_0x420549))==null?void 0x0:_0xe35da1[_0x3a9d05(0x1dc)])!==!0x1&&this[_0x3a9d05(0x4a1)]());}[_0x444a33(0x1dd)](){var _0x39a705=_0x444a33;super[_0x39a705(0x1dd)](),this['_entities']['forEach'](_0x59dd26=>_0x59dd26[_0x39a705(0x1dd)]()),this[_0x39a705(0x3d2)][_0x39a705(0x11b)]();}[_0x444a33(0x100)](_0x1492b9){var _0x1eb36b;return(_0x1eb36b=this['_entities']['get'](_0x1492b9))!=null?_0x1eb36b:null;}[_0x444a33(0x3c0)](_0x1a2ebe){var _0x3acead=_0x444a33;const _0x33de90=this['getCollabEntity'](_0x1a2ebe);return _0x33de90?_0x3d04ed['of'](_0x33de90):this[_0x3acead(0x2ca)]['pipe'](_0x66d2a7[_0x3acead(0x432)](_0x29b765=>_0x29b765[_0x3acead(0x2b3)]===_0x1a2ebe));}[_0x444a33(0x20b)](_0x1a2f7c){var _0x24138f=_0x444a33;return _0x3d04ed['firstValueFrom'](this[_0x24138f(0x3c0)](_0x1a2f7c)['pipe'](_0x66d2a7[_0x24138f(0x351)](()=>{})));}[_0x444a33(0x4a1)](){var _0x1c31d3=_0x444a33;this['_univerInstanceService'][_0x1c31d3(0x32c)](_0x58829f[_0x1c31d3(0x277)]['UNIVER_SHEET'])[_0x1c31d3(0x293)](_0x3d04ed[_0x1c31d3(0x21c)](this[_0x1c31d3(0x2d6)]),_0x66d2a7['delay'](0x10))[_0x1c31d3(0x42c)](async _0x1de866=>{var _0xad7c71=_0x1c31d3;const _0x46c5bf=_0x1de866[_0xad7c71(0x260)](),_0x1a67b9=await this[_0xad7c71(0x235)](_0x46c5bf,_0x31019e[_0xad7c71(0x22a)]);this[_0xad7c71(0x3d2)]['set'](_0x46c5bf,_0x1a67b9);}),this['_univerInstanceService'][_0x1c31d3(0x32c)](_0x58829f[_0x1c31d3(0x277)][_0x1c31d3(0x257)])[_0x1c31d3(0x293)](_0x3d04ed['takeUntil'](this[_0x1c31d3(0x2d6)]),_0x66d2a7[_0x1c31d3(0x1db)](0x10))['pipe'](_0x66d2a7[_0x1c31d3(0x432)](_0x216df3=>!_0x216df3[_0x1c31d3(0x260)]()[_0x1c31d3(0x452)]('__')))['subscribe'](async _0x5e5d04=>{var _0x295a75=_0x1c31d3;const _0x33ed88=_0x5e5d04['getUnitId'](),_0xbff7a9=await this['_startCollaboration'](_0x33ed88,_0x31019e[_0x295a75(0x257)]);this[_0x295a75(0x3d2)]['set'](_0x33ed88,_0xbff7a9);}),_0x3d04ed[_0x1c31d3(0x482)](this['_univerInstanceService'][_0x1c31d3(0x1d9)](_0x58829f[_0x1c31d3(0x277)][_0x1c31d3(0x22a)]),this[_0x1c31d3(0x3a4)][_0x1c31d3(0x1d9)](_0x58829f[_0x1c31d3(0x277)][_0x1c31d3(0x257)]))[_0x1c31d3(0x293)](_0x3d04ed[_0x1c31d3(0x21c)](this['dispose$']))[_0x1c31d3(0x42c)](_0x69fedf=>{var _0x5d106b=_0x1c31d3;const _0x4500cc=_0x69fedf[_0x5d106b(0x260)](),_0x46c034=this['_entities'][_0x5d106b(0x35f)](_0x4500cc);_0x46c034&&(_0x46c034[_0x5d106b(0x1dd)](),this[_0x5d106b(0x3d2)]['delete'](_0x4500cc));});}async[_0x444a33(0x235)](_0x35ed46,_0x22902e){var _0x138956=_0x444a33;const _0xd30218=await this[_0x138956(0x284)][_0x138956(0x2cd)](_0x35ed46),_0x550f0b=this[_0x138956(0x2ba)][_0x138956(0x31d)](this[_0x138956(0x319)](_0x22902e),_0x35ed46,_0x22902e,_0xd30218);return await _0x550f0b[_0x138956(0x486)](),this[_0x138956(0x2ca)][_0x138956(0x2dc)](_0x550f0b),_0x550f0b;}['_getCtorByUniverType'](_0x6210bf){var _0x1e4879=_0x444a33;switch(_0x6210bf){case _0x31019e[_0x1e4879(0x257)]:return _0x23269f['DocCollaborationEntity'];case _0x31019e['UNIVER_SHEET']:return _0x23269f[_0x1e4879(0x287)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x6210bf);}}},_0x23269f[_0x444a33(0x47b)]=_0x5f09b2([_0x4f1d64(0x0,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x4f1d64(0x1,_0x58829f[_0x444a33(0x275)](_0x23269f[_0x444a33(0x226)])),_0x4f1d64(0x2,_0x58829f['IConfigService']),_0x4f1d64(0x3,_0x58829f['IUniverInstanceService'])],_0x23269f[_0x444a33(0x47b)]);var _0x409e53=Object['getOwnPropertyDescriptor'],_0x59a41e=(_0x210054,_0x522343,_0x1a0ad5,_0x5c2e05)=>{var _0x16d581=_0x444a33;for(var _0x51ee2c=_0x5c2e05>0x1?void 0x0:_0x5c2e05?_0x409e53(_0x522343,_0x1a0ad5):_0x522343,_0xc0de91=_0x210054[_0x16d581(0x3bd)]-0x1,_0x384891;_0xc0de91>=0x0;_0xc0de91--)(_0x384891=_0x210054[_0xc0de91])&&(_0x51ee2c=_0x384891(_0x51ee2c)||_0x51ee2c);return _0x51ee2c;},_0x252a66=(_0x54a8ea,_0x48556e)=>(_0x54aad2,_0x4e4f24)=>_0x48556e(_0x54aad2,_0x4e4f24,_0x54a8ea);const _0x1ee0e2=_0x444a33(0x2e3),_0x22c666=_0x444a33(0x1da);let _0x56f53c=class extends _0x58829f[_0x444a33(0x247)]{constructor(_0x45f1a4,_0x2fdbeb){var _0x41fc03=_0x444a33;super(),this['_univerInstanceService']=_0x45f1a4,this[_0x41fc03(0x219)]=_0x2fdbeb,this[_0x41fc03(0x4a1)]();}[_0x444a33(0x4a1)](){var _0x2f8f43=_0x444a33;this[_0x2f8f43(0x373)](this[_0x2f8f43(0x3a4)][_0x2f8f43(0x2fe)][_0x2f8f43(0x42c)](()=>{var _0x39d9b0=_0x2f8f43,_0xbc9a51;const _0x50cc4b=this['_univerInstanceService'][_0x39d9b0(0x2f3)]();let _0x322571=(_0xbc9a51=this[_0x39d9b0(0x219)][_0x39d9b0(0x3d6)](_0x1ee0e2))!=null?_0xbc9a51:_0x22c666;_0x50cc4b instanceof _0x58829f[_0x39d9b0(0x1cb)]&&(_0x322571=_0x50cc4b[_0x39d9b0(0x122)]),document['title']=_0x322571;}));}};_0x56f53c=_0x59a41e([_0x252a66(0x0,_0x58829f[_0x444a33(0x2df)]),_0x252a66(0x1,_0x58829f['IConfigService'])],_0x56f53c);var _0x55c7dc=Object['getOwnPropertyDescriptor'],_0x417703=(_0x2e4cd6,_0x4dbe39,_0x374861,_0x1361c4)=>{var _0x50fade=_0x444a33;for(var _0x5e9c3a=_0x1361c4>0x1?void 0x0:_0x1361c4?_0x55c7dc(_0x4dbe39,_0x374861):_0x4dbe39,_0x4174db=_0x2e4cd6[_0x50fade(0x3bd)]-0x1,_0x3e0b13;_0x4174db>=0x0;_0x4174db--)(_0x3e0b13=_0x2e4cd6[_0x4174db])&&(_0x5e9c3a=_0x3e0b13(_0x5e9c3a)||_0x5e9c3a);return _0x5e9c3a;},_0x4f0940=(_0x1a87aa,_0xc1a068)=>(_0x40f775,_0x5b4dff)=>_0xc1a068(_0x40f775,_0x5b4dff,_0x1a87aa);let _0x62962d=class{constructor(_0x59c4b0,_0x2f8026,_0x58bff4){var _0x26b206=_0x444a33;this[_0x26b206(0x219)]=_0x59c4b0,this[_0x26b206(0x303)]=_0x2f8026,this[_0x26b206(0x1f7)]=_0x58bff4,this['init']();}['init'](){var _0x345787=_0x444a33;this['_httpService'][_0x345787(0x2b9)]({'priority':0x1,'interceptor':(_0x191e76,_0x5078bd)=>_0x5078bd(_0x191e76)[_0x345787(0x293)](_0x3d04ed['concatMap'](async _0x4a1965=>{var _0x59f5f3=_0x345787;const _0x34e124=_0x4a1965;if(_0x34e124[_0x59f5f3(0x47c)]===0x191){if(typeof window>'u')throw new Error(_0x59f5f3(0x31f));if(window[_0x59f5f3(0x2b8)](this['localeService']['t'](_0x59f5f3(0x118)))){const _0x2e2be6=window['encodeURIComponent'](window[_0x59f5f3(0x3f7)][_0x59f5f3(0x471)]);window[_0x59f5f3(0x3f7)]['href']=this['_getLoginPath']()+_0x59f5f3(0x186)+_0x2e2be6;}}return _0x34e124;}))});}[_0x444a33(0x206)](){var _0x1d0e5d=_0x444a33,_0xd39acf;const _0x363bae=this[_0x1d0e5d(0x219)]['getConfig'](_0x420549);return(_0xd39acf=_0x363bae==null?void 0x0:_0x363bae[_0x1d0e5d(0x288)])!=null?_0xd39acf:_0x344066;}};_0x62962d=_0x417703([_0x4f0940(0x0,_0x58829f['IConfigService']),_0x4f0940(0x1,_0x58829f['Inject'](_0xd2c5f8[_0x444a33(0x1e3)])),_0x4f0940(0x2,_0x58829f['Inject'](_0x58829f['LocaleService']))],_0x62962d);var _0x528f97=Object[_0x444a33(0x41d)],_0x41b475=(_0x5de8c6,_0x310c8d,_0xef18fc,_0x14e0d6)=>{var _0xe48d87=_0x444a33;for(var _0x5c2250=_0x14e0d6>0x1?void 0x0:_0x14e0d6?_0x528f97(_0x310c8d,_0xef18fc):_0x310c8d,_0xbd131b=_0x5de8c6[_0xe48d87(0x3bd)]-0x1,_0xb53ab4;_0xbd131b>=0x0;_0xbd131b--)(_0xb53ab4=_0x5de8c6[_0xbd131b])&&(_0x5c2250=_0xb53ab4(_0x5c2250)||_0x5c2250);return _0x5c2250;},_0x5ab3f1=(_0x306ddc,_0x3fefad)=>(_0x4c2b18,_0x35c9c2)=>_0x3fefad(_0x4c2b18,_0x35c9c2,_0x306ddc);const _0x835572='/universer-api/authz';_0x23269f[_0x444a33(0x2b1)]=class extends _0x58829f['Disposable']{constructor(_0x20753c,_0x54ee2b){var _0x2de384=_0x444a33;super(),this[_0x2de384(0x365)]=_0x20753c,this['_configService']=_0x54ee2b,this[_0x2de384(0xfa)]();}[_0x444a33(0xfa)](){var _0x32871a=_0x444a33;const _0x1a8494=this;this[_0x32871a(0x373)](this['_HTTPService'][_0x32871a(0x2b9)]({'priority':0x3e7,'interceptor':_0xd2c5f8[_0x32871a(0x427)]({'isMatch'(_0xd20d52){var _0x27605f=_0x32871a,_0x232288;if(_0xd20d52[_0x27605f(0x25c)]===_0x27605f(0x1e1)&&((_0x232288=_0xd20d52['requestParams'])!=null&&_0x232288[_0x27605f(0x1df)])){const {objectID:_0x109c1e,objectType:_0x456137}=_0xd20d52[_0x27605f(0x30e)][_0x27605f(0x1df)]||{};if(!_0x109c1e||_0x456137===void 0x0)return!0x1;const _0x2941bf=_0x1a8494[_0x27605f(0x21e)]()+'/'+_0x456137+'/object/'+_0x109c1e+_0x27605f(0x448);if(_0xd20d52['url']===_0x2941bf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ce266){var _0xfef98a=_0x32871a,_0x4b5023;return(_0x4b5023=_0x4ce266['requestParams'])==null?void 0x0:_0x4b5023[_0xfef98a(0x1df)];},'mergeParamsToRequest'(_0x8ab48d,_0x19dfe3){var _0x7feae4=_0x32871a;const _0xfe18a3=_0x1a8494[_0x7feae4(0x21e)]()+_0x7feae4(0x178),_0x5abee3=_0x8ab48d[_0x7feae4(0x17d)]((_0x2217e8,_0xf72d82)=>{var _0x338681=_0x7feae4;const {unitID:_0x7c67d1,objectID:_0x20847c,objectType:_0x49856a,actions:_0x5024ce}=_0xf72d82;return _0x2217e8[_0x7c67d1]||(_0x2217e8[_0x7c67d1]={}),_0x2217e8[_0x7c67d1][_0x20847c]||(_0x2217e8[_0x7c67d1][_0x20847c]={'objectID':_0x20847c,'objectType':_0x49856a,'actions':[]}),_0x2217e8[_0x7c67d1][_0x20847c]['actions'][_0x338681(0x332)](..._0x5024ce),_0x2217e8;},{}),_0x5947d1=[];for(const _0x70ec83 in _0x5abee3)for(const _0x2e767b in _0x5abee3[_0x70ec83]){const {actions:_0x517ecd,objectType:_0x4efe91}=_0x5abee3[_0x70ec83][_0x2e767b],_0x55bc85=[...new Set(_0x517ecd)];_0x5947d1[_0x7feae4(0x332)]({'unitID':_0x70ec83,'objectID':_0x2e767b,'objectType':_0x4efe91,'actions':_0x55bc85});}return new _0xd2c5f8[(_0x7feae4(0x15a))]('POST',_0xfe18a3,{'headers':_0x19dfe3[_0x7feae4(0x39b)],'withCredentials':_0x19dfe3[_0x7feae4(0x393)],'responseType':_0x19dfe3[_0x7feae4(0x497)],'body':{'requests':_0x5947d1}});}},{'distributeResult'(_0x2326f1,_0x1d77a7){var _0x41deea=_0x32871a;const {objectActions:_0x4e006b}=_0x2326f1;return _0x1d77a7[_0x41deea(0x351)](_0x5aba1a=>{var _0x470eb8=_0x41deea;const {unitID:_0x28103,objectID:_0x3298a2,actions:_0x40e7dd}=_0x5aba1a,_0x496ce2=_0x4e006b['find'](_0x2e63dd=>_0x2e63dd[_0x470eb8(0x2b3)]===_0x28103&&_0x2e63dd['objectID']===_0x3298a2),_0x5cb772=_0x40e7dd['map'](_0x5939ba=>_0x496ce2==null?void 0x0:_0x496ce2[_0x470eb8(0x362)][_0x470eb8(0x113)](_0x3ca261=>_0x3ca261[_0x470eb8(0x18e)]===_0x5939ba))[_0x470eb8(0x432)](_0x32591b=>!!_0x32591b);return{'config':_0x5aba1a,'result':{'actions':_0x5cb772,'error':_0x2326f1[_0x470eb8(0x3f8)]}};});}})}));}[_0x444a33(0x21e)](){var _0x277360=_0x444a33,_0x22a019;const _0x531349=this[_0x277360(0x219)][_0x277360(0x3d6)](_0x420549);return(_0x22a019=_0x531349==null?void 0x0:_0x531349[_0x277360(0x19f)])!=null?_0x22a019:_0x835572;}async[_0x444a33(0x117)](_0x58c7a9){var _0xbeebc9=_0x444a33;const _0x3a1b36=this[_0xbeebc9(0x21e)]()+'/'+_0x58c7a9['objectType']+'/object';return(await this[_0xbeebc9(0x365)][_0xbeebc9(0x430)](_0x3a1b36,{'body':_0x58c7a9}))[_0xbeebc9(0x1df)][_0xbeebc9(0x1eb)]||'';}async['list'](_0x220d7f){var _0x11f605=_0x444a33;const _0x288986=this[_0x11f605(0x21e)]()+_0x11f605(0x36b);return(await this['_HTTPService'][_0x11f605(0x430)](_0x288986,{'body':_0x220d7f}))[_0x11f605(0x1df)][_0x11f605(0x2fc)];}async[_0x444a33(0x476)](_0x55dfdb){var _0x3d4b48=_0x444a33,_0x4f4e84,_0x5a3518;const _0x49bfa1=this['_getAPIPrefixPath']()+'/'+_0x55dfdb['objectType']+_0x3d4b48(0x381)+_0x55dfdb[_0x3d4b48(0x1eb)],_0x415275=await this[_0x3d4b48(0x365)]['put'](_0x49bfa1,{'body':_0x55dfdb});if(((_0x5a3518=(_0x4f4e84=_0x415275==null?void 0x0:_0x415275['body'])==null?void 0x0:_0x4f4e84[_0x3d4b48(0x3f8)])==null?void 0x0:_0x5a3518['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x444a33(0x1ac)](_0x218ea9){var _0x46fa0c=_0x444a33;const _0x3faf4c=this['_getAPIPrefixPath']()+'/'+_0x218ea9[_0x46fa0c(0x1c1)]+_0x46fa0c(0x381)+_0x218ea9[_0x46fa0c(0x1eb)]+_0x46fa0c(0x448);return(await this[_0x46fa0c(0x365)][_0x46fa0c(0x430)](_0x3faf4c,{'body':_0x218ea9}))[_0x46fa0c(0x1df)][_0x46fa0c(0x362)];}async['batchAllowed'](_0x55f50a){var _0x31e461=_0x444a33;const _0x1d2abb=this[_0x31e461(0x21e)]()+_0x31e461(0x178);return(await this[_0x31e461(0x365)][_0x31e461(0x430)](_0x1d2abb,{'body':{'requests':_0x55f50a}}))[_0x31e461(0x1df)][_0x31e461(0x133)];}async[_0x444a33(0x13a)](_0x205829){var _0x3a9236=_0x444a33;const _0x5707f7=this['_getAPIPrefixPath']()+'/'+_0x205829['objectType']+_0x3a9236(0x3a0),_0x3bb126=await this[_0x3a9236(0x365)][_0x3a9236(0x430)](_0x5707f7,{'body':_0x205829});return{'roles':_0x3bb126['body'][_0x3a9236(0x224)],'actions':_0x3bb126[_0x3a9236(0x1df)][_0x3a9236(0x362)]};}async[_0x444a33(0x472)](_0x40dd64){var _0xcab1d3=_0x444a33;const _0xdd024d=this[_0xcab1d3(0x21e)]()+'/collaborator';await this[_0xcab1d3(0x365)]['delete'](_0xdd024d,{'params':{'collaboratorID':_0x40dd64[_0xcab1d3(0x349)],'objectID':_0x40dd64[_0xcab1d3(0x1eb)],'unitID':_0x40dd64[_0xcab1d3(0x2b3)]}});}async[_0x444a33(0x3dc)](_0x3d6284){var _0x17eb34=_0x444a33;const _0x455f44=this[_0x17eb34(0x21e)]()+'/collaborator';await this[_0x17eb34(0x365)][_0x17eb34(0x249)](_0x455f44,{'body':_0x3d6284});}async[_0x444a33(0x47e)](_0x13fa4f){var _0x1f00dd=_0x444a33;const _0x3f61f1=this[_0x1f00dd(0x21e)]()+_0x1f00dd(0x289);await this[_0x1f00dd(0x365)][_0x1f00dd(0x430)](_0x3f61f1,{'body':_0x13fa4f});}async[_0x444a33(0x493)](_0x4f19e1){var _0x5bac99=_0x444a33;const _0x52a85f=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x5bac99(0x365)][_0x5bac99(0x35f)](_0x52a85f,{'params':{'objectID':_0x4f19e1['objectID'],'unitID':_0x4f19e1[_0x5bac99(0x2b3)]}}))[_0x5bac99(0x1df)][_0x5bac99(0x17f)];}async['putCollaborators'](_0x4a8f06){const _0x5abbc2=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['put'](_0x5abbc2,{'body':_0x4a8f06});}},_0x23269f['AuthzIoHttpService']=_0x41b475([_0x5ab3f1(0x0,_0x58829f[_0x444a33(0x275)](_0xd2c5f8[_0x444a33(0x1e3)])),_0x5ab3f1(0x1,_0x58829f[_0x444a33(0x275)](_0x58829f['IConfigService']))],_0x23269f[_0x444a33(0x2b1)]);var _0x4f8af8=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2f773c(_0x8c8cfe){var _0x90ac3=_0x444a33;return _0x8c8cfe&&_0x8c8cfe[_0x90ac3(0x414)]&&Object['prototype']['hasOwnProperty'][_0x90ac3(0x26e)](_0x8c8cfe,'default')?_0x8c8cfe['default']:_0x8c8cfe;}var _0x5d1661={'exports':{}};function _0x3a97a4(_0x5bc7e3){var _0x1fa66d=_0x444a33;throw new Error(_0x1fa66d(0x2ed)+_0x5bc7e3+_0x1fa66d(0x14c));}var _0x55392c={'exports':{}},_0x46d4d2=_0x55392c[_0x444a33(0x38d)],_0x533a99;function _0x1c3bfa(){var _0x3e3674=_0x444a33;return _0x533a99||(_0x533a99=0x1,function(_0x4d580c,_0x2710bf){(function(_0x55be1f,_0x12e852){var _0x57fb7e=_0xac1b;_0x4d580c[_0x57fb7e(0x38d)]=_0x12e852();}(_0x46d4d2,function(){var _0x818fe4=_0x818fe4||function(_0x562661,_0x30ebf6){var _0x31e515=_0xac1b,_0x5cfb2f;if(typeof window<'u'&&window['crypto']&&(_0x5cfb2f=window[_0x31e515(0x1e8)]),typeof self<'u'&&self[_0x31e515(0x1e8)]&&(_0x5cfb2f=self[_0x31e515(0x1e8)]),typeof globalThis<'u'&&globalThis[_0x31e515(0x1e8)]&&(_0x5cfb2f=globalThis[_0x31e515(0x1e8)]),!_0x5cfb2f&&typeof window<'u'&&window['msCrypto']&&(_0x5cfb2f=window[_0x31e515(0x2e1)]),!_0x5cfb2f&&typeof _0x4f8af8<'u'&&_0x4f8af8[_0x31e515(0x1e8)]&&(_0x5cfb2f=_0x4f8af8['crypto']),!_0x5cfb2f&&typeof _0x3a97a4=='function')try{_0x5cfb2f=require('crypto');}catch{}var _0x543bfe=function(){var _0x279f8e=_0x31e515;if(_0x5cfb2f){if(typeof _0x5cfb2f['getRandomValues']=='function')try{return _0x5cfb2f[_0x279f8e(0x2ae)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5cfb2f['randomBytes']==_0x279f8e(0x1a3))try{return _0x5cfb2f[_0x279f8e(0xfd)](0x4)[_0x279f8e(0x1a1)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1aa99d=Object[_0x31e515(0x117)]||(function(){function _0x508e9c(){}return function(_0x37dfbb){var _0xb3868c=_0xac1b,_0x3ea309;return _0x508e9c[_0xb3868c(0x139)]=_0x37dfbb,_0x3ea309=new _0x508e9c(),_0x508e9c['prototype']=null,_0x3ea309;};}()),_0x5630b6={},_0x3e3181=_0x5630b6[_0x31e515(0x38c)]={},_0x19f143=_0x3e3181[_0x31e515(0x1e5)]=(function(){return{'extend':function(_0x23828c){var _0xeca5d2=_0xac1b,_0x3e55e2=_0x1aa99d(this);return _0x23828c&&_0x3e55e2[_0xeca5d2(0x327)](_0x23828c),(!_0x3e55e2[_0xeca5d2(0x3c4)](_0xeca5d2(0x486))||this[_0xeca5d2(0x486)]===_0x3e55e2[_0xeca5d2(0x486)])&&(_0x3e55e2[_0xeca5d2(0x486)]=function(){var _0x7f448c=_0xeca5d2;_0x3e55e2[_0x7f448c(0x220)][_0x7f448c(0x486)][_0x7f448c(0x256)](this,arguments);}),_0x3e55e2[_0xeca5d2(0x486)][_0xeca5d2(0x139)]=_0x3e55e2,_0x3e55e2['$super']=this,_0x3e55e2;},'create':function(){var _0x492a65=_0xac1b,_0x396f9c=this['extend']();return _0x396f9c[_0x492a65(0x486)][_0x492a65(0x256)](_0x396f9c,arguments),_0x396f9c;},'init':function(){},'mixIn':function(_0x55b6e5){var _0xe50618=_0xac1b;for(var _0x4b57ef in _0x55b6e5)_0x55b6e5[_0xe50618(0x3c4)](_0x4b57ef)&&(this[_0x4b57ef]=_0x55b6e5[_0x4b57ef]);_0x55b6e5['hasOwnProperty']('toString')&&(this['toString']=_0x55b6e5[_0xe50618(0x1e9)]);},'clone':function(){var _0x5c9865=_0xac1b;return this[_0x5c9865(0x486)][_0x5c9865(0x139)]['extend'](this);}};}()),_0x5895e7=_0x3e3181[_0x31e515(0x16c)]=_0x19f143[_0x31e515(0x145)]({'init':function(_0x597eae,_0x299b8f){var _0x44092b=_0x31e515;_0x597eae=this[_0x44092b(0x156)]=_0x597eae||[],_0x299b8f!=_0x30ebf6?this[_0x44092b(0x250)]=_0x299b8f:this['sigBytes']=_0x597eae['length']*0x4;},'toString':function(_0x1825f9){return(_0x1825f9||_0x3da0c3)['stringify'](this);},'concat':function(_0x2296f9){var _0x23747e=_0x31e515,_0x122cef=this[_0x23747e(0x156)],_0x2c10c3=_0x2296f9[_0x23747e(0x156)],_0xe0e395=this[_0x23747e(0x250)],_0x2d7690=_0x2296f9[_0x23747e(0x250)];if(this['clamp'](),_0xe0e395%0x4)for(var _0x4ebe71=0x0;_0x4ebe71<_0x2d7690;_0x4ebe71++){var _0x568b70=_0x2c10c3[_0x4ebe71>>>0x2]>>>0x18-_0x4ebe71%0x4*0x8&0xff;_0x122cef[_0xe0e395+_0x4ebe71>>>0x2]|=_0x568b70<<0x18-(_0xe0e395+_0x4ebe71)%0x4*0x8;}else{for(var _0x593a9e=0x0;_0x593a9e<_0x2d7690;_0x593a9e+=0x4)_0x122cef[_0xe0e395+_0x593a9e>>>0x2]=_0x2c10c3[_0x593a9e>>>0x2];}return this[_0x23747e(0x250)]+=_0x2d7690,this;},'clamp':function(){var _0x146a78=_0x31e515,_0x29559e=this['words'],_0x3099bb=this['sigBytes'];_0x29559e[_0x3099bb>>>0x2]&=0xffffffff<<0x20-_0x3099bb%0x4*0x8,_0x29559e['length']=_0x562661[_0x146a78(0x475)](_0x3099bb/0x4);},'clone':function(){var _0x2afcd4=_0x31e515,_0x5e9362=_0x19f143[_0x2afcd4(0x394)]['call'](this);return _0x5e9362[_0x2afcd4(0x156)]=this['words'][_0x2afcd4(0x1b5)](0x0),_0x5e9362;},'random':function(_0x54e7e3){var _0x1b9cc1=_0x31e515;for(var _0x2fd8ac=[],_0x520fe7=0x0;_0x520fe7<_0x54e7e3;_0x520fe7+=0x4)_0x2fd8ac['push'](_0x543bfe());return new _0x5895e7[(_0x1b9cc1(0x486))](_0x2fd8ac,_0x54e7e3);}}),_0x1a1d9e=_0x5630b6[_0x31e515(0x331)]={},_0x3da0c3=_0x1a1d9e[_0x31e515(0x409)]={'stringify':function(_0x298b21){var _0x586074=_0x31e515;for(var _0x1e33ec=_0x298b21[_0x586074(0x156)],_0x454518=_0x298b21['sigBytes'],_0x562f3c=[],_0x1d3c40=0x0;_0x1d3c40<_0x454518;_0x1d3c40++){var _0x56e0fb=_0x1e33ec[_0x1d3c40>>>0x2]>>>0x18-_0x1d3c40%0x4*0x8&0xff;_0x562f3c[_0x586074(0x332)]((_0x56e0fb>>>0x4)['toString'](0x10)),_0x562f3c[_0x586074(0x332)]((_0x56e0fb&0xf)[_0x586074(0x1e9)](0x10));}return _0x562f3c[_0x586074(0x315)]('');},'parse':function(_0x56d3be){var _0x822927=_0x31e515;for(var _0x3082cb=_0x56d3be[_0x822927(0x3bd)],_0x218ee4=[],_0x422499=0x0;_0x422499<_0x3082cb;_0x422499+=0x2)_0x218ee4[_0x422499>>>0x3]|=parseInt(_0x56d3be[_0x822927(0x375)](_0x422499,0x2),0x10)<<0x18-_0x422499%0x8*0x4;return new _0x5895e7[(_0x822927(0x486))](_0x218ee4,_0x3082cb/0x2);}},_0xde5fe4=_0x1a1d9e[_0x31e515(0x17e)]={'stringify':function(_0xbe8e90){var _0x1d87c5=_0x31e515;for(var _0x596fba=_0xbe8e90[_0x1d87c5(0x156)],_0x3bc064=_0xbe8e90[_0x1d87c5(0x250)],_0x451801=[],_0xaf7d24=0x0;_0xaf7d24<_0x3bc064;_0xaf7d24++){var _0x30db8a=_0x596fba[_0xaf7d24>>>0x2]>>>0x18-_0xaf7d24%0x4*0x8&0xff;_0x451801[_0x1d87c5(0x332)](String[_0x1d87c5(0x1ab)](_0x30db8a));}return _0x451801[_0x1d87c5(0x315)]('');},'parse':function(_0x1b6543){var _0x1d66b6=_0x31e515;for(var _0x3e8c1a=_0x1b6543[_0x1d66b6(0x3bd)],_0x233bb1=[],_0x1fbe9e=0x0;_0x1fbe9e<_0x3e8c1a;_0x1fbe9e++)_0x233bb1[_0x1fbe9e>>>0x2]|=(_0x1b6543['charCodeAt'](_0x1fbe9e)&0xff)<<0x18-_0x1fbe9e%0x4*0x8;return new _0x5895e7[(_0x1d66b6(0x486))](_0x233bb1,_0x3e8c1a);}},_0x9cbbb4=_0x1a1d9e['Utf8']={'stringify':function(_0x3cbc72){var _0x3bf8f0=_0x31e515;try{return decodeURIComponent(escape(_0xde5fe4[_0x3bf8f0(0x3b4)](_0x3cbc72)));}catch{throw new Error(_0x3bf8f0(0x1f1));}},'parse':function(_0x585c94){return _0xde5fe4['parse'](unescape(encodeURIComponent(_0x585c94)));}},_0x379a2d=_0x3e3181[_0x31e515(0x239)]=_0x19f143[_0x31e515(0x145)]({'reset':function(){var _0x519029=_0x31e515;this[_0x519029(0x2bd)]=new _0x5895e7[(_0x519029(0x486))](),this[_0x519029(0x29c)]=0x0;},'_append':function(_0x4387f6){var _0xc00ed0=_0x31e515;typeof _0x4387f6==_0xc00ed0(0x38a)&&(_0x4387f6=_0x9cbbb4['parse'](_0x4387f6)),this['_data']['concat'](_0x4387f6),this[_0xc00ed0(0x29c)]+=_0x4387f6[_0xc00ed0(0x250)];},'_process':function(_0x32afca){var _0x2c5f22=_0x31e515,_0x35117e,_0x3fcc6d=this[_0x2c5f22(0x2bd)],_0xe702e3=_0x3fcc6d[_0x2c5f22(0x156)],_0x359b18=_0x3fcc6d[_0x2c5f22(0x250)],_0x4d8e94=this[_0x2c5f22(0x35a)],_0x4ca7bb=_0x4d8e94*0x4,_0x329523=_0x359b18/_0x4ca7bb;_0x32afca?_0x329523=_0x562661[_0x2c5f22(0x475)](_0x329523):_0x329523=_0x562661[_0x2c5f22(0x4a3)]((_0x329523|0x0)-this['_minBufferSize'],0x0);var _0x1dbdce=_0x329523*_0x4d8e94,_0x1a8425=_0x562661[_0x2c5f22(0x1e6)](_0x1dbdce*0x4,_0x359b18);if(_0x1dbdce){for(var _0x3514b2=0x0;_0x3514b2<_0x1dbdce;_0x3514b2+=_0x4d8e94)this[_0x2c5f22(0x28a)](_0xe702e3,_0x3514b2);_0x35117e=_0xe702e3[_0x2c5f22(0x40a)](0x0,_0x1dbdce),_0x3fcc6d[_0x2c5f22(0x250)]-=_0x1a8425;}return new _0x5895e7[(_0x2c5f22(0x486))](_0x35117e,_0x1a8425);},'clone':function(){var _0x485679=_0x31e515,_0x47f310=_0x19f143[_0x485679(0x394)]['call'](this);return _0x47f310[_0x485679(0x2bd)]=this[_0x485679(0x2bd)][_0x485679(0x394)](),_0x47f310;},'_minBufferSize':0x0});_0x3e3181[_0x31e515(0x40e)]=_0x379a2d[_0x31e515(0x145)]({'cfg':_0x19f143['extend'](),'init':function(_0x1fc3b5){var _0x5184e9=_0x31e515;this[_0x5184e9(0x3eb)]=this['cfg'][_0x5184e9(0x145)](_0x1fc3b5),this[_0x5184e9(0x148)]();},'reset':function(){var _0x3fe17d=_0x31e515;_0x379a2d[_0x3fe17d(0x148)][_0x3fe17d(0x26e)](this),this[_0x3fe17d(0x132)]();},'update':function(_0x51c9c5){var _0x448f5b=_0x31e515;return this[_0x448f5b(0x1f6)](_0x51c9c5),this[_0x448f5b(0x3c5)](),this;},'finalize':function(_0x2b147b){var _0x38ed94=_0x31e515;_0x2b147b&&this[_0x38ed94(0x1f6)](_0x2b147b);var _0x42911c=this[_0x38ed94(0x1af)]();return _0x42911c;},'blockSize':0x10,'_createHelper':function(_0x2ad19c){return function(_0x5100bd,_0x4b3606){var _0x2c10e9=_0xac1b;return new _0x2ad19c[(_0x2c10e9(0x486))](_0x4b3606)[_0x2c10e9(0x1ce)](_0x5100bd);};},'_createHmacHelper':function(_0x370e98){return function(_0x4d8f08,_0x8d3175){var _0x2b7dac=_0xac1b;return new _0x15f9ff[(_0x2b7dac(0x3cf))]['init'](_0x370e98,_0x8d3175)[_0x2b7dac(0x1ce)](_0x4d8f08);};}});var _0x15f9ff=_0x5630b6['algo']={};return _0x5630b6;}(Math);return _0x818fe4;}));}(_0x55392c)),_0x55392c[_0x3e3674(0x38d)];}var _0x206072={'exports':{}},_0x223403=_0x206072[_0x444a33(0x38d)],_0x31642e;function _0x301ad2(){return _0x31642e||(_0x31642e=0x1,function(_0x3290eb,_0x5588a0){(function(_0x32bd62,_0x2fef9b){_0x3290eb['exports']=_0x2fef9b(_0x1c3bfa());}(_0x223403,function(_0x4ee8b0){var _0x45789f=_0xac1b;return(function(){var _0x10d3b2=_0xac1b,_0x241979=_0x4ee8b0,_0x1e4e73=_0x241979[_0x10d3b2(0x38c)],_0x2080fb=_0x1e4e73[_0x10d3b2(0x16c)],_0x4513c6=_0x241979[_0x10d3b2(0x331)];_0x4513c6[_0x10d3b2(0x198)]={'stringify':function(_0x15c463){var _0x4af6ec=_0x10d3b2,_0x4d15b0=_0x15c463[_0x4af6ec(0x156)],_0x97a62d=_0x15c463['sigBytes'],_0x4986a9=this[_0x4af6ec(0x317)];_0x15c463[_0x4af6ec(0x1b7)]();for(var _0x50b6b9=[],_0x3de721=0x0;_0x3de721<_0x97a62d;_0x3de721+=0x3)for(var _0x7adf4e=_0x4d15b0[_0x3de721>>>0x2]>>>0x18-_0x3de721%0x4*0x8&0xff,_0x120501=_0x4d15b0[_0x3de721+0x1>>>0x2]>>>0x18-(_0x3de721+0x1)%0x4*0x8&0xff,_0x66269f=_0x4d15b0[_0x3de721+0x2>>>0x2]>>>0x18-(_0x3de721+0x2)%0x4*0x8&0xff,_0x40f5b3=_0x7adf4e<<0x10|_0x120501<<0x8|_0x66269f,_0x3581b9=0x0;_0x3581b9<0x4&&_0x3de721+_0x3581b9*0.75<_0x97a62d;_0x3581b9++)_0x50b6b9[_0x4af6ec(0x332)](_0x4986a9[_0x4af6ec(0x3d7)](_0x40f5b3>>>0x6*(0x3-_0x3581b9)&0x3f));var _0x53f0d8=_0x4986a9[_0x4af6ec(0x3d7)](0x40);if(_0x53f0d8){for(;_0x50b6b9[_0x4af6ec(0x3bd)]%0x4;)_0x50b6b9['push'](_0x53f0d8);}return _0x50b6b9['join']('');},'parse':function(_0x5e92ac){var _0x269abf=_0x10d3b2,_0x154d53=_0x5e92ac[_0x269abf(0x3bd)],_0x5bcf17=this[_0x269abf(0x317)],_0x16a4a7=this[_0x269abf(0x403)];if(!_0x16a4a7){_0x16a4a7=this[_0x269abf(0x403)]=[];for(var _0x51971f=0x0;_0x51971f<_0x5bcf17['length'];_0x51971f++)_0x16a4a7[_0x5bcf17['charCodeAt'](_0x51971f)]=_0x51971f;}var _0x243b81=_0x5bcf17['charAt'](0x40);if(_0x243b81){var _0x49d977=_0x5e92ac[_0x269abf(0x42a)](_0x243b81);_0x49d977!==-0x1&&(_0x154d53=_0x49d977);}return _0x21f009(_0x5e92ac,_0x154d53,_0x16a4a7);},'_map':_0x10d3b2(0x32e)};function _0x21f009(_0x2b74db,_0x36cc27,_0x558e84){var _0xdc6236=_0x10d3b2;for(var _0x562858=[],_0x1e1a98=0x0,_0x430df1=0x0;_0x430df1<_0x36cc27;_0x430df1++)if(_0x430df1%0x4){var _0xea6507=_0x558e84[_0x2b74db['charCodeAt'](_0x430df1-0x1)]<<_0x430df1%0x4*0x2,_0x131ddb=_0x558e84[_0x2b74db[_0xdc6236(0x400)](_0x430df1)]>>>0x6-_0x430df1%0x4*0x2,_0xf5f946=_0xea6507|_0x131ddb;_0x562858[_0x1e1a98>>>0x2]|=_0xf5f946<<0x18-_0x1e1a98%0x4*0x8,_0x1e1a98++;}return _0x2080fb[_0xdc6236(0x117)](_0x562858,_0x1e1a98);}}()),_0x4ee8b0[_0x45789f(0x331)][_0x45789f(0x198)];}));}(_0x206072)),_0x206072['exports'];}var _0x1e317f={'exports':{}},_0x3b4512=_0x1e317f[_0x444a33(0x38d)],_0x27fb96;function _0x390b10(){var _0x27a6e7=_0x444a33;return _0x27fb96||(_0x27fb96=0x1,function(_0x579d2a,_0xdc70a5){(function(_0x28142b,_0x1674de){var _0x4d1dfe=_0xac1b;_0x579d2a[_0x4d1dfe(0x38d)]=_0x1674de(_0x1c3bfa());}(_0x3b4512,function(_0x248512){var _0x2f1f0f=_0xac1b;return function(_0x1ed2a1){var _0x3beffb=_0xac1b,_0x3d0a97=_0x248512,_0x47301c=_0x3d0a97[_0x3beffb(0x38c)],_0x224142=_0x47301c[_0x3beffb(0x16c)],_0x2f116a=_0x47301c['Hasher'],_0x357df4=_0x3d0a97[_0x3beffb(0x27e)],_0x1dbda8=[];(function(){var _0x487193=_0x3beffb;for(var _0x3dec12=0x0;_0x3dec12<0x40;_0x3dec12++)_0x1dbda8[_0x3dec12]=_0x1ed2a1[_0x487193(0x3a1)](_0x1ed2a1[_0x487193(0x465)](_0x3dec12+0x1))*0x100000000|0x0;}());var _0xc4209a=_0x357df4[_0x3beffb(0x276)]=_0x2f116a['extend']({'_doReset':function(){var _0x385f39=_0x3beffb;this['_hash']=new _0x224142[(_0x385f39(0x486))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x550c6b,_0x47dda8){var _0xd685a5=_0x3beffb;for(var _0x553da9=0x0;_0x553da9<0x10;_0x553da9++){var _0x5218f9=_0x47dda8+_0x553da9,_0x538504=_0x550c6b[_0x5218f9];_0x550c6b[_0x5218f9]=(_0x538504<<0x8|_0x538504>>>0x18)&0xff00ff|(_0x538504<<0x18|_0x538504>>>0x8)&0xff00ff00;}var _0x455c9d=this[_0xd685a5(0x248)][_0xd685a5(0x156)],_0x12c68f=_0x550c6b[_0x47dda8+0x0],_0x4efa24=_0x550c6b[_0x47dda8+0x1],_0x18b461=_0x550c6b[_0x47dda8+0x2],_0x5501ce=_0x550c6b[_0x47dda8+0x3],_0x11a2f6=_0x550c6b[_0x47dda8+0x4],_0x2f21cf=_0x550c6b[_0x47dda8+0x5],_0x1c7d24=_0x550c6b[_0x47dda8+0x6],_0x3e028f=_0x550c6b[_0x47dda8+0x7],_0x4cf979=_0x550c6b[_0x47dda8+0x8],_0x57cea5=_0x550c6b[_0x47dda8+0x9],_0x14d53d=_0x550c6b[_0x47dda8+0xa],_0x447dcc=_0x550c6b[_0x47dda8+0xb],_0x516905=_0x550c6b[_0x47dda8+0xc],_0x1180db=_0x550c6b[_0x47dda8+0xd],_0x3a6b0f=_0x550c6b[_0x47dda8+0xe],_0x31f944=_0x550c6b[_0x47dda8+0xf],_0x3437c2=_0x455c9d[0x0],_0x1dbc2f=_0x455c9d[0x1],_0x4a8c3f=_0x455c9d[0x2],_0x1dc999=_0x455c9d[0x3];_0x3437c2=_0x222d1d(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x12c68f,0x7,_0x1dbda8[0x0]),_0x1dc999=_0x222d1d(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x4efa24,0xc,_0x1dbda8[0x1]),_0x4a8c3f=_0x222d1d(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x18b461,0x11,_0x1dbda8[0x2]),_0x1dbc2f=_0x222d1d(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x5501ce,0x16,_0x1dbda8[0x3]),_0x3437c2=_0x222d1d(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x11a2f6,0x7,_0x1dbda8[0x4]),_0x1dc999=_0x222d1d(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x2f21cf,0xc,_0x1dbda8[0x5]),_0x4a8c3f=_0x222d1d(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x1c7d24,0x11,_0x1dbda8[0x6]),_0x1dbc2f=_0x222d1d(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x3e028f,0x16,_0x1dbda8[0x7]),_0x3437c2=_0x222d1d(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x4cf979,0x7,_0x1dbda8[0x8]),_0x1dc999=_0x222d1d(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x57cea5,0xc,_0x1dbda8[0x9]),_0x4a8c3f=_0x222d1d(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x14d53d,0x11,_0x1dbda8[0xa]),_0x1dbc2f=_0x222d1d(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x447dcc,0x16,_0x1dbda8[0xb]),_0x3437c2=_0x222d1d(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x516905,0x7,_0x1dbda8[0xc]),_0x1dc999=_0x222d1d(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1180db,0xc,_0x1dbda8[0xd]),_0x4a8c3f=_0x222d1d(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x3a6b0f,0x11,_0x1dbda8[0xe]),_0x1dbc2f=_0x222d1d(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x31f944,0x16,_0x1dbda8[0xf]),_0x3437c2=_0x564f11(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x4efa24,0x5,_0x1dbda8[0x10]),_0x1dc999=_0x564f11(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1c7d24,0x9,_0x1dbda8[0x11]),_0x4a8c3f=_0x564f11(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x447dcc,0xe,_0x1dbda8[0x12]),_0x1dbc2f=_0x564f11(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x12c68f,0x14,_0x1dbda8[0x13]),_0x3437c2=_0x564f11(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x2f21cf,0x5,_0x1dbda8[0x14]),_0x1dc999=_0x564f11(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x14d53d,0x9,_0x1dbda8[0x15]),_0x4a8c3f=_0x564f11(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x31f944,0xe,_0x1dbda8[0x16]),_0x1dbc2f=_0x564f11(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x11a2f6,0x14,_0x1dbda8[0x17]),_0x3437c2=_0x564f11(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x57cea5,0x5,_0x1dbda8[0x18]),_0x1dc999=_0x564f11(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x3a6b0f,0x9,_0x1dbda8[0x19]),_0x4a8c3f=_0x564f11(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x5501ce,0xe,_0x1dbda8[0x1a]),_0x1dbc2f=_0x564f11(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x4cf979,0x14,_0x1dbda8[0x1b]),_0x3437c2=_0x564f11(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x1180db,0x5,_0x1dbda8[0x1c]),_0x1dc999=_0x564f11(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x18b461,0x9,_0x1dbda8[0x1d]),_0x4a8c3f=_0x564f11(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x3e028f,0xe,_0x1dbda8[0x1e]),_0x1dbc2f=_0x564f11(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x516905,0x14,_0x1dbda8[0x1f]),_0x3437c2=_0x42b7c3(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x2f21cf,0x4,_0x1dbda8[0x20]),_0x1dc999=_0x42b7c3(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x4cf979,0xb,_0x1dbda8[0x21]),_0x4a8c3f=_0x42b7c3(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x447dcc,0x10,_0x1dbda8[0x22]),_0x1dbc2f=_0x42b7c3(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x3a6b0f,0x17,_0x1dbda8[0x23]),_0x3437c2=_0x42b7c3(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x4efa24,0x4,_0x1dbda8[0x24]),_0x1dc999=_0x42b7c3(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x11a2f6,0xb,_0x1dbda8[0x25]),_0x4a8c3f=_0x42b7c3(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x3e028f,0x10,_0x1dbda8[0x26]),_0x1dbc2f=_0x42b7c3(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x14d53d,0x17,_0x1dbda8[0x27]),_0x3437c2=_0x42b7c3(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x1180db,0x4,_0x1dbda8[0x28]),_0x1dc999=_0x42b7c3(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x12c68f,0xb,_0x1dbda8[0x29]),_0x4a8c3f=_0x42b7c3(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x5501ce,0x10,_0x1dbda8[0x2a]),_0x1dbc2f=_0x42b7c3(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1c7d24,0x17,_0x1dbda8[0x2b]),_0x3437c2=_0x42b7c3(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x57cea5,0x4,_0x1dbda8[0x2c]),_0x1dc999=_0x42b7c3(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x516905,0xb,_0x1dbda8[0x2d]),_0x4a8c3f=_0x42b7c3(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x31f944,0x10,_0x1dbda8[0x2e]),_0x1dbc2f=_0x42b7c3(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x18b461,0x17,_0x1dbda8[0x2f]),_0x3437c2=_0x23d8ea(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x12c68f,0x6,_0x1dbda8[0x30]),_0x1dc999=_0x23d8ea(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x3e028f,0xa,_0x1dbda8[0x31]),_0x4a8c3f=_0x23d8ea(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x3a6b0f,0xf,_0x1dbda8[0x32]),_0x1dbc2f=_0x23d8ea(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x2f21cf,0x15,_0x1dbda8[0x33]),_0x3437c2=_0x23d8ea(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x516905,0x6,_0x1dbda8[0x34]),_0x1dc999=_0x23d8ea(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x5501ce,0xa,_0x1dbda8[0x35]),_0x4a8c3f=_0x23d8ea(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x14d53d,0xf,_0x1dbda8[0x36]),_0x1dbc2f=_0x23d8ea(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x4efa24,0x15,_0x1dbda8[0x37]),_0x3437c2=_0x23d8ea(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x4cf979,0x6,_0x1dbda8[0x38]),_0x1dc999=_0x23d8ea(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x31f944,0xa,_0x1dbda8[0x39]),_0x4a8c3f=_0x23d8ea(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x1c7d24,0xf,_0x1dbda8[0x3a]),_0x1dbc2f=_0x23d8ea(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1180db,0x15,_0x1dbda8[0x3b]),_0x3437c2=_0x23d8ea(_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x11a2f6,0x6,_0x1dbda8[0x3c]),_0x1dc999=_0x23d8ea(_0x1dc999,_0x3437c2,_0x1dbc2f,_0x4a8c3f,_0x447dcc,0xa,_0x1dbda8[0x3d]),_0x4a8c3f=_0x23d8ea(_0x4a8c3f,_0x1dc999,_0x3437c2,_0x1dbc2f,_0x18b461,0xf,_0x1dbda8[0x3e]),_0x1dbc2f=_0x23d8ea(_0x1dbc2f,_0x4a8c3f,_0x1dc999,_0x3437c2,_0x57cea5,0x15,_0x1dbda8[0x3f]),_0x455c9d[0x0]=_0x455c9d[0x0]+_0x3437c2|0x0,_0x455c9d[0x1]=_0x455c9d[0x1]+_0x1dbc2f|0x0,_0x455c9d[0x2]=_0x455c9d[0x2]+_0x4a8c3f|0x0,_0x455c9d[0x3]=_0x455c9d[0x3]+_0x1dc999|0x0;},'_doFinalize':function(){var _0x3b1eb9=_0x3beffb,_0x22dc90=this[_0x3b1eb9(0x2bd)],_0x598ed0=_0x22dc90[_0x3b1eb9(0x156)],_0x3ed2e6=this[_0x3b1eb9(0x29c)]*0x8,_0x365502=_0x22dc90['sigBytes']*0x8;_0x598ed0[_0x365502>>>0x5]|=0x80<<0x18-_0x365502%0x20;var _0x14cbd0=_0x1ed2a1[_0x3b1eb9(0x3c3)](_0x3ed2e6/0x100000000),_0x3531ce=_0x3ed2e6;_0x598ed0[(_0x365502+0x40>>>0x9<<0x4)+0xf]=(_0x14cbd0<<0x8|_0x14cbd0>>>0x18)&0xff00ff|(_0x14cbd0<<0x18|_0x14cbd0>>>0x8)&0xff00ff00,_0x598ed0[(_0x365502+0x40>>>0x9<<0x4)+0xe]=(_0x3531ce<<0x8|_0x3531ce>>>0x18)&0xff00ff|(_0x3531ce<<0x18|_0x3531ce>>>0x8)&0xff00ff00,_0x22dc90[_0x3b1eb9(0x250)]=(_0x598ed0[_0x3b1eb9(0x3bd)]+0x1)*0x4,this['_process']();for(var _0x11f492=this[_0x3b1eb9(0x248)],_0x107f56=_0x11f492[_0x3b1eb9(0x156)],_0x4bdfb1=0x0;_0x4bdfb1<0x4;_0x4bdfb1++){var _0x213e9e=_0x107f56[_0x4bdfb1];_0x107f56[_0x4bdfb1]=(_0x213e9e<<0x8|_0x213e9e>>>0x18)&0xff00ff|(_0x213e9e<<0x18|_0x213e9e>>>0x8)&0xff00ff00;}return _0x11f492;},'clone':function(){var _0x42b87d=_0x3beffb,_0x18e4c2=_0x2f116a['clone'][_0x42b87d(0x26e)](this);return _0x18e4c2['_hash']=this[_0x42b87d(0x248)][_0x42b87d(0x394)](),_0x18e4c2;}});function _0x222d1d(_0x44606d,_0x1ead4c,_0x165db3,_0x4b868f,_0x5f43d5,_0x43d6c9,_0x33330f){var _0xb4f8e7=_0x44606d+(_0x1ead4c&_0x165db3|~_0x1ead4c&_0x4b868f)+_0x5f43d5+_0x33330f;return(_0xb4f8e7<<_0x43d6c9|_0xb4f8e7>>>0x20-_0x43d6c9)+_0x1ead4c;}function _0x564f11(_0x4ea2e8,_0x4daf25,_0x1bb357,_0x243ce9,_0x593d87,_0xade787,_0x10833f){var _0x3ce840=_0x4ea2e8+(_0x4daf25&_0x243ce9|_0x1bb357&~_0x243ce9)+_0x593d87+_0x10833f;return(_0x3ce840<<_0xade787|_0x3ce840>>>0x20-_0xade787)+_0x4daf25;}function _0x42b7c3(_0x4207ca,_0x4d0af9,_0x1f0832,_0x34e839,_0x407e5b,_0x4bc54c,_0x189eab){var _0x3339c7=_0x4207ca+(_0x4d0af9^_0x1f0832^_0x34e839)+_0x407e5b+_0x189eab;return(_0x3339c7<<_0x4bc54c|_0x3339c7>>>0x20-_0x4bc54c)+_0x4d0af9;}function _0x23d8ea(_0x17a992,_0x1a78a6,_0x3e16e0,_0x3db9ff,_0x3ae049,_0x20d564,_0x3fb00a){var _0xeefdb1=_0x17a992+(_0x3e16e0^(_0x1a78a6|~_0x3db9ff))+_0x3ae049+_0x3fb00a;return(_0xeefdb1<<_0x20d564|_0xeefdb1>>>0x20-_0x20d564)+_0x1a78a6;}_0x3d0a97[_0x3beffb(0x276)]=_0x2f116a['_createHelper'](_0xc4209a),_0x3d0a97[_0x3beffb(0x232)]=_0x2f116a[_0x3beffb(0x1d4)](_0xc4209a);}(Math),_0x248512[_0x2f1f0f(0x276)];}));}(_0x1e317f)),_0x1e317f[_0x27a6e7(0x38d)];}var _0x3463a5={'exports':{}},_0x2e83a7={'exports':{}},_0x58d572=_0x2e83a7[_0x444a33(0x38d)],_0x5dd78e;function _0x550f5c(){var _0x2f6f8a=_0x444a33;return _0x5dd78e||(_0x5dd78e=0x1,function(_0x459fec,_0x40f8ab){(function(_0x35ff4d,_0x515756){var _0x8f58a5=_0xac1b;_0x459fec[_0x8f58a5(0x38d)]=_0x515756(_0x1c3bfa());}(_0x58d572,function(_0x2217d8){return(function(){var _0x18eec7=_0xac1b,_0x500724=_0x2217d8,_0x30b021=_0x500724[_0x18eec7(0x38c)],_0xbb0239=_0x30b021[_0x18eec7(0x16c)],_0x452fde=_0x30b021[_0x18eec7(0x40e)],_0x32544c=_0x500724[_0x18eec7(0x27e)],_0x346200=[],_0x2db507=_0x32544c[_0x18eec7(0x120)]=_0x452fde[_0x18eec7(0x145)]({'_doReset':function(){var _0x2c31cd=_0x18eec7;this[_0x2c31cd(0x248)]=new _0xbb0239[(_0x2c31cd(0x486))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x18f0cd,_0x3c033e){var _0x1f3a2f=_0x18eec7;for(var _0x1ce181=this[_0x1f3a2f(0x248)][_0x1f3a2f(0x156)],_0x346bd4=_0x1ce181[0x0],_0x5e7b0b=_0x1ce181[0x1],_0x16a9ed=_0x1ce181[0x2],_0x13904a=_0x1ce181[0x3],_0x2a6d37=_0x1ce181[0x4],_0x244662=0x0;_0x244662<0x50;_0x244662++){if(_0x244662<0x10)_0x346200[_0x244662]=_0x18f0cd[_0x3c033e+_0x244662]|0x0;else{var _0x4f1db4=_0x346200[_0x244662-0x3]^_0x346200[_0x244662-0x8]^_0x346200[_0x244662-0xe]^_0x346200[_0x244662-0x10];_0x346200[_0x244662]=_0x4f1db4<<0x1|_0x4f1db4>>>0x1f;}var _0x57f268=(_0x346bd4<<0x5|_0x346bd4>>>0x1b)+_0x2a6d37+_0x346200[_0x244662];_0x244662<0x14?_0x57f268+=(_0x5e7b0b&_0x16a9ed|~_0x5e7b0b&_0x13904a)+0x5a827999:_0x244662<0x28?_0x57f268+=(_0x5e7b0b^_0x16a9ed^_0x13904a)+0x6ed9eba1:_0x244662<0x3c?_0x57f268+=(_0x5e7b0b&_0x16a9ed|_0x5e7b0b&_0x13904a|_0x16a9ed&_0x13904a)-0x70e44324:_0x57f268+=(_0x5e7b0b^_0x16a9ed^_0x13904a)-0x359d3e2a,_0x2a6d37=_0x13904a,_0x13904a=_0x16a9ed,_0x16a9ed=_0x5e7b0b<<0x1e|_0x5e7b0b>>>0x2,_0x5e7b0b=_0x346bd4,_0x346bd4=_0x57f268;}_0x1ce181[0x0]=_0x1ce181[0x0]+_0x346bd4|0x0,_0x1ce181[0x1]=_0x1ce181[0x1]+_0x5e7b0b|0x0,_0x1ce181[0x2]=_0x1ce181[0x2]+_0x16a9ed|0x0,_0x1ce181[0x3]=_0x1ce181[0x3]+_0x13904a|0x0,_0x1ce181[0x4]=_0x1ce181[0x4]+_0x2a6d37|0x0;},'_doFinalize':function(){var _0x1f40e5=_0x18eec7,_0x5ac5b4=this[_0x1f40e5(0x2bd)],_0x2a6678=_0x5ac5b4[_0x1f40e5(0x156)],_0x1ac97f=this['_nDataBytes']*0x8,_0x457aaf=_0x5ac5b4['sigBytes']*0x8;return _0x2a6678[_0x457aaf>>>0x5]|=0x80<<0x18-_0x457aaf%0x20,_0x2a6678[(_0x457aaf+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f40e5(0x3c3)](_0x1ac97f/0x100000000),_0x2a6678[(_0x457aaf+0x40>>>0x9<<0x4)+0xf]=_0x1ac97f,_0x5ac5b4[_0x1f40e5(0x250)]=_0x2a6678[_0x1f40e5(0x3bd)]*0x4,this['_process'](),this[_0x1f40e5(0x248)];},'clone':function(){var _0x21f997=_0x18eec7,_0x26aeed=_0x452fde[_0x21f997(0x394)][_0x21f997(0x26e)](this);return _0x26aeed[_0x21f997(0x248)]=this[_0x21f997(0x248)][_0x21f997(0x394)](),_0x26aeed;}});_0x500724[_0x18eec7(0x120)]=_0x452fde[_0x18eec7(0x46d)](_0x2db507),_0x500724[_0x18eec7(0x12c)]=_0x452fde['_createHmacHelper'](_0x2db507);}()),_0x2217d8['SHA1'];}));}(_0x2e83a7)),_0x2e83a7[_0x2f6f8a(0x38d)];}var _0x4ef61f={'exports':{}},_0x52e495=_0x4ef61f[_0x444a33(0x38d)],_0x2b133b;function _0x1ffa4e(){var _0x11e20b=_0x444a33;return _0x2b133b||(_0x2b133b=0x1,function(_0x3acd23,_0x2a111e){(function(_0x46d557,_0x19c978){_0x3acd23['exports']=_0x19c978(_0x1c3bfa());}(_0x52e495,function(_0x10d0a0){(function(){var _0x340b0d=_0xac1b,_0x537c36=_0x10d0a0,_0x40f35b=_0x537c36[_0x340b0d(0x38c)],_0x3ef4f1=_0x40f35b[_0x340b0d(0x1e5)],_0x7a8b81=_0x537c36[_0x340b0d(0x331)],_0x2124af=_0x7a8b81['Utf8'],_0x100fc7=_0x537c36['algo'];_0x100fc7[_0x340b0d(0x3cf)]=_0x3ef4f1[_0x340b0d(0x145)]({'init':function(_0x349696,_0xe8beac){var _0x565723=_0x340b0d;_0x349696=this[_0x565723(0x407)]=new _0x349696[(_0x565723(0x486))](),typeof _0xe8beac==_0x565723(0x38a)&&(_0xe8beac=_0x2124af[_0x565723(0x127)](_0xe8beac));var _0x571658=_0x349696[_0x565723(0x35a)],_0x49c3da=_0x571658*0x4;_0xe8beac[_0x565723(0x250)]>_0x49c3da&&(_0xe8beac=_0x349696[_0x565723(0x1ce)](_0xe8beac)),_0xe8beac[_0x565723(0x1b7)]();for(var _0x28b9a0=this[_0x565723(0x48c)]=_0xe8beac[_0x565723(0x394)](),_0x4f53e1=this[_0x565723(0x391)]=_0xe8beac[_0x565723(0x394)](),_0x44cb91=_0x28b9a0[_0x565723(0x156)],_0x3d0198=_0x4f53e1[_0x565723(0x156)],_0x145987=0x0;_0x145987<_0x571658;_0x145987++)_0x44cb91[_0x145987]^=0x5c5c5c5c,_0x3d0198[_0x145987]^=0x36363636;_0x28b9a0['sigBytes']=_0x4f53e1[_0x565723(0x250)]=_0x49c3da,this[_0x565723(0x148)]();},'reset':function(){var _0x4f2e52=_0x340b0d,_0x26e6a5=this[_0x4f2e52(0x407)];_0x26e6a5['reset'](),_0x26e6a5[_0x4f2e52(0x476)](this['_iKey']);},'update':function(_0x5922fc){var _0x2d5b8c=_0x340b0d;return this[_0x2d5b8c(0x407)][_0x2d5b8c(0x476)](_0x5922fc),this;},'finalize':function(_0x26ce77){var _0x3d7e0c=_0x340b0d,_0x23b12a=this['_hasher'],_0x545cd0=_0x23b12a[_0x3d7e0c(0x1ce)](_0x26ce77);_0x23b12a['reset']();var _0x59ae97=_0x23b12a[_0x3d7e0c(0x1ce)](this[_0x3d7e0c(0x48c)][_0x3d7e0c(0x394)]()[_0x3d7e0c(0x26c)](_0x545cd0));return _0x59ae97;}});}());}));}(_0x4ef61f)),_0x4ef61f[_0x11e20b(0x38d)];}var _0x2f1956=_0x3463a5[_0x444a33(0x38d)],_0x3d1b8f;function _0x201bc2(){var _0xd2ab0b=_0x444a33;return _0x3d1b8f||(_0x3d1b8f=0x1,function(_0x34334c,_0x3a13a2){(function(_0x1bc248,_0x41f24f,_0x575f90){_0x34334c['exports']=_0x41f24f(_0x1c3bfa(),_0x550f5c(),_0x1ffa4e());}(_0x2f1956,function(_0xea357f){var _0x4b3420=_0xac1b;return(function(){var _0x9e9d90=_0xac1b,_0x2f8780=_0xea357f,_0x48f937=_0x2f8780[_0x9e9d90(0x38c)],_0x135e34=_0x48f937[_0x9e9d90(0x1e5)],_0x477cac=_0x48f937[_0x9e9d90(0x16c)],_0xae1893=_0x2f8780[_0x9e9d90(0x27e)],_0x1e79a8=_0xae1893[_0x9e9d90(0x276)],_0x279883=_0xae1893[_0x9e9d90(0x15c)]=_0x135e34['extend']({'cfg':_0x135e34[_0x9e9d90(0x145)]({'keySize':0x80/0x20,'hasher':_0x1e79a8,'iterations':0x1}),'init':function(_0x254ca0){var _0x2af4b0=_0x9e9d90;this[_0x2af4b0(0x3eb)]=this[_0x2af4b0(0x3eb)]['extend'](_0x254ca0);},'compute':function(_0xd6823,_0x5074e9){var _0x30fbdb=_0x9e9d90;for(var _0x31aea,_0x3e6e61=this['cfg'],_0xc2d21f=_0x3e6e61['hasher']['create'](),_0x3a446c=_0x477cac[_0x30fbdb(0x117)](),_0x3ff1ab=_0x3a446c[_0x30fbdb(0x156)],_0x1372de=_0x3e6e61[_0x30fbdb(0x1a6)],_0x15245a=_0x3e6e61[_0x30fbdb(0x45f)];_0x3ff1ab['length']<_0x1372de;){_0x31aea&&_0xc2d21f[_0x30fbdb(0x476)](_0x31aea),_0x31aea=_0xc2d21f[_0x30fbdb(0x476)](_0xd6823)[_0x30fbdb(0x1ce)](_0x5074e9),_0xc2d21f[_0x30fbdb(0x148)]();for(var _0x438303=0x1;_0x438303<_0x15245a;_0x438303++)_0x31aea=_0xc2d21f[_0x30fbdb(0x1ce)](_0x31aea),_0xc2d21f[_0x30fbdb(0x148)]();_0x3a446c[_0x30fbdb(0x26c)](_0x31aea);}return _0x3a446c[_0x30fbdb(0x250)]=_0x1372de*0x4,_0x3a446c;}});_0x2f8780['EvpKDF']=function(_0x2ed67c,_0x420b50,_0x516bc1){var _0x40d535=_0x9e9d90;return _0x279883[_0x40d535(0x117)](_0x516bc1)['compute'](_0x2ed67c,_0x420b50);};}()),_0xea357f[_0x4b3420(0x15c)];}));}(_0x3463a5)),_0x3463a5[_0xd2ab0b(0x38d)];}var _0x5d9324={'exports':{}},_0x3c052d=_0x5d9324['exports'],_0x1e05ab;function _0x424c3e(){return _0x1e05ab||(_0x1e05ab=0x1,function(_0xfe5906,_0x397780){(function(_0x37ce72,_0x3f52fe,_0x326c4e){var _0x5c7396=_0xac1b;_0xfe5906[_0x5c7396(0x38d)]=_0x3f52fe(_0x1c3bfa(),_0x201bc2());}(_0x3c052d,function(_0x299ff5){var _0x446bc7=_0xac1b;_0x299ff5[_0x446bc7(0x38c)][_0x446bc7(0x29d)]||function(_0x2cef60){var _0x1233bd=_0x446bc7,_0x268a60=_0x299ff5,_0x1e0b82=_0x268a60[_0x1233bd(0x38c)],_0x3bfdfb=_0x1e0b82[_0x1233bd(0x1e5)],_0x66daa0=_0x1e0b82[_0x1233bd(0x16c)],_0x2c8d7c=_0x1e0b82[_0x1233bd(0x239)],_0xf39bf=_0x268a60[_0x1233bd(0x331)];_0xf39bf['Utf8'];var _0x56edd8=_0xf39bf[_0x1233bd(0x198)],_0x139c30=_0x268a60[_0x1233bd(0x27e)],_0x531584=_0x139c30[_0x1233bd(0x15c)],_0x588667=_0x1e0b82[_0x1233bd(0x29d)]=_0x2c8d7c['extend']({'cfg':_0x3bfdfb['extend'](),'createEncryptor':function(_0xce9755,_0x1bc02e){var _0x503d01=_0x1233bd;return this[_0x503d01(0x117)](this['_ENC_XFORM_MODE'],_0xce9755,_0x1bc02e);},'createDecryptor':function(_0x54293c,_0x5277d2){var _0x1f41a1=_0x1233bd;return this[_0x1f41a1(0x117)](this[_0x1f41a1(0x195)],_0x54293c,_0x5277d2);},'init':function(_0x29e7bd,_0x58f364,_0x20222e){var _0x1f361f=_0x1233bd;this[_0x1f361f(0x3eb)]=this['cfg'][_0x1f361f(0x145)](_0x20222e),this[_0x1f361f(0x27a)]=_0x29e7bd,this[_0x1f361f(0x3ac)]=_0x58f364,this['reset']();},'reset':function(){var _0xda53fa=_0x1233bd;_0x2c8d7c['reset'][_0xda53fa(0x26e)](this),this[_0xda53fa(0x132)]();},'process':function(_0x478f63){var _0x42092c=_0x1233bd;return this['_append'](_0x478f63),this[_0x42092c(0x3c5)]();},'finalize':function(_0x2d0239){var _0x3bab2b=_0x1233bd;_0x2d0239&&this[_0x3bab2b(0x1f6)](_0x2d0239);var _0x5dfeb5=this['_doFinalize']();return _0x5dfeb5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2120e9(_0x1bc8e6){return typeof _0x1bc8e6=='string'?_0x3e861c:_0x2e6cff;}return function(_0x2f05c2){return{'encrypt':function(_0x775eab,_0xbcd1a2,_0x1ae54b){var _0x2b8a76=_0xac1b;return _0x2120e9(_0xbcd1a2)[_0x2b8a76(0x2ad)](_0x2f05c2,_0x775eab,_0xbcd1a2,_0x1ae54b);},'decrypt':function(_0x4da6cb,_0x1ffb5f,_0x1b6c68){var _0x3afaf0=_0xac1b;return _0x2120e9(_0x1ffb5f)[_0x3afaf0(0x3c7)](_0x2f05c2,_0x4da6cb,_0x1ffb5f,_0x1b6c68);}};};}())});_0x1e0b82[_0x1233bd(0x354)]=_0x588667[_0x1233bd(0x145)]({'_doFinalize':function(){var _0x35d846=this['_process'](!0x0);return _0x35d846;},'blockSize':0x1});var _0x234d15=_0x268a60['mode']={},_0x58af38=_0x1e0b82[_0x1233bd(0x119)]=_0x3bfdfb['extend']({'createEncryptor':function(_0x26741e,_0x58546e){var _0x462e52=_0x1233bd;return this[_0x462e52(0x412)][_0x462e52(0x117)](_0x26741e,_0x58546e);},'createDecryptor':function(_0x5a5148,_0x4e8f98){var _0xbf8333=_0x1233bd;return this['Decryptor'][_0xbf8333(0x117)](_0x5a5148,_0x4e8f98);},'init':function(_0x514757,_0x2dbf2d){var _0x1fe8b2=_0x1233bd;this[_0x1fe8b2(0x411)]=_0x514757,this[_0x1fe8b2(0x32b)]=_0x2dbf2d;}}),_0x175740=_0x234d15[_0x1233bd(0x173)]=(function(){var _0x48524d=_0x1233bd,_0x5658a1=_0x58af38['extend']();_0x5658a1[_0x48524d(0x412)]=_0x5658a1['extend']({'processBlock':function(_0x3c7679,_0x339d7a){var _0x467c56=_0x48524d,_0x1b78f1=this[_0x467c56(0x411)],_0x44da0c=_0x1b78f1[_0x467c56(0x35a)];_0x4d7255[_0x467c56(0x26e)](this,_0x3c7679,_0x339d7a,_0x44da0c),_0x1b78f1[_0x467c56(0x2f1)](_0x3c7679,_0x339d7a),this[_0x467c56(0x380)]=_0x3c7679['slice'](_0x339d7a,_0x339d7a+_0x44da0c);}}),_0x5658a1[_0x48524d(0x141)]=_0x5658a1[_0x48524d(0x145)]({'processBlock':function(_0x1657f9,_0x45ac2a){var _0x2b4c84=_0x48524d,_0x3ad34e=this['_cipher'],_0x133eb9=_0x3ad34e[_0x2b4c84(0x35a)],_0x1726f6=_0x1657f9[_0x2b4c84(0x1b5)](_0x45ac2a,_0x45ac2a+_0x133eb9);_0x3ad34e[_0x2b4c84(0x43b)](_0x1657f9,_0x45ac2a),_0x4d7255['call'](this,_0x1657f9,_0x45ac2a,_0x133eb9),this[_0x2b4c84(0x380)]=_0x1726f6;}});function _0x4d7255(_0x45320b,_0x812ea1,_0x54d553){var _0x4b5cc4=_0x48524d,_0x44d8f6,_0x2bf843=this['_iv'];_0x2bf843?(_0x44d8f6=_0x2bf843,this[_0x4b5cc4(0x32b)]=_0x2cef60):_0x44d8f6=this[_0x4b5cc4(0x380)];for(var _0x15ce76=0x0;_0x15ce76<_0x54d553;_0x15ce76++)_0x45320b[_0x812ea1+_0x15ce76]^=_0x44d8f6[_0x15ce76];}return _0x5658a1;}()),_0xa1ab66=_0x268a60[_0x1233bd(0x243)]={},_0x505140=_0xa1ab66[_0x1233bd(0x1d6)]={'pad':function(_0x454253,_0x55ae20){var _0x4f06ee=_0x1233bd;for(var _0x3864e4=_0x55ae20*0x4,_0x21289b=_0x3864e4-_0x454253[_0x4f06ee(0x250)]%_0x3864e4,_0x537356=_0x21289b<<0x18|_0x21289b<<0x10|_0x21289b<<0x8|_0x21289b,_0x2e6d3f=[],_0x3d49c2=0x0;_0x3d49c2<_0x21289b;_0x3d49c2+=0x4)_0x2e6d3f[_0x4f06ee(0x332)](_0x537356);var _0x2bae1f=_0x66daa0['create'](_0x2e6d3f,_0x21289b);_0x454253['concat'](_0x2bae1f);},'unpad':function(_0xeafda7){var _0x3580bb=_0x1233bd,_0x37edc5=_0xeafda7[_0x3580bb(0x156)][_0xeafda7[_0x3580bb(0x250)]-0x1>>>0x2]&0xff;_0xeafda7['sigBytes']-=_0x37edc5;}};_0x1e0b82[_0x1233bd(0x323)]=_0x588667['extend']({'cfg':_0x588667[_0x1233bd(0x3eb)][_0x1233bd(0x145)]({'mode':_0x175740,'padding':_0x505140}),'reset':function(){var _0x903b6e=_0x1233bd,_0x1db693;_0x588667[_0x903b6e(0x148)][_0x903b6e(0x26e)](this);var _0x57da57=this[_0x903b6e(0x3eb)],_0x5329db=_0x57da57['iv'],_0x238e7c=_0x57da57[_0x903b6e(0x176)];this['_xformMode']==this[_0x903b6e(0x204)]?_0x1db693=_0x238e7c[_0x903b6e(0x429)]:(_0x1db693=_0x238e7c['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x903b6e(0x301)]==_0x1db693?this[_0x903b6e(0x342)][_0x903b6e(0x486)](this,_0x5329db&&_0x5329db[_0x903b6e(0x156)]):(this['_mode']=_0x1db693[_0x903b6e(0x26e)](_0x238e7c,this,_0x5329db&&_0x5329db['words']),this[_0x903b6e(0x342)][_0x903b6e(0x301)]=_0x1db693);},'_doProcessBlock':function(_0x1e353c,_0xab26fc){var _0x467925=_0x1233bd;this[_0x467925(0x342)][_0x467925(0x43e)](_0x1e353c,_0xab26fc);},'_doFinalize':function(){var _0xf1bfcb=_0x1233bd,_0x19cb9b,_0x298f6a=this[_0xf1bfcb(0x3eb)][_0xf1bfcb(0x1d7)];return this['_xformMode']==this[_0xf1bfcb(0x204)]?(_0x298f6a[_0xf1bfcb(0x243)](this[_0xf1bfcb(0x2bd)],this['blockSize']),_0x19cb9b=this[_0xf1bfcb(0x3c5)](!0x0)):(_0x19cb9b=this[_0xf1bfcb(0x3c5)](!0x0),_0x298f6a[_0xf1bfcb(0x151)](_0x19cb9b)),_0x19cb9b;},'blockSize':0x80/0x20});var _0x273f13=_0x1e0b82[_0x1233bd(0x390)]=_0x3bfdfb[_0x1233bd(0x145)]({'init':function(_0xc8baf3){var _0x5d4551=_0x1233bd;this[_0x5d4551(0x327)](_0xc8baf3);},'toString':function(_0x2454df){var _0x476dc3=_0x1233bd;return(_0x2454df||this[_0x476dc3(0x442)])[_0x476dc3(0x3b4)](this);}}),_0x724825=_0x268a60[_0x1233bd(0x22b)]={},_0x3bc17c=_0x724825[_0x1233bd(0x428)]={'stringify':function(_0x2e5bb1){var _0x2d2a5f=_0x1233bd,_0x58b9c6,_0x3f728f=_0x2e5bb1['ciphertext'],_0xb5aa5d=_0x2e5bb1[_0x2d2a5f(0x19a)];return _0xb5aa5d?_0x58b9c6=_0x66daa0['create']([0x53616c74,0x65645f5f])[_0x2d2a5f(0x26c)](_0xb5aa5d)['concat'](_0x3f728f):_0x58b9c6=_0x3f728f,_0x58b9c6['toString'](_0x56edd8);},'parse':function(_0x27e2b8){var _0x4adb7f=_0x1233bd,_0x660fbe,_0x1b15f2=_0x56edd8[_0x4adb7f(0x127)](_0x27e2b8),_0x1007bb=_0x1b15f2[_0x4adb7f(0x156)];return _0x1007bb[0x0]==0x53616c74&&_0x1007bb[0x1]==0x65645f5f&&(_0x660fbe=_0x66daa0[_0x4adb7f(0x117)](_0x1007bb['slice'](0x2,0x4)),_0x1007bb[_0x4adb7f(0x40a)](0x0,0x4),_0x1b15f2[_0x4adb7f(0x250)]-=0x10),_0x273f13[_0x4adb7f(0x117)]({'ciphertext':_0x1b15f2,'salt':_0x660fbe});}},_0x2e6cff=_0x1e0b82[_0x1233bd(0x2a7)]=_0x3bfdfb[_0x1233bd(0x145)]({'cfg':_0x3bfdfb[_0x1233bd(0x145)]({'format':_0x3bc17c}),'encrypt':function(_0x39ac02,_0x36bd27,_0x11b434,_0x38e6fc){var _0x6237b3=_0x1233bd;_0x38e6fc=this['cfg'][_0x6237b3(0x145)](_0x38e6fc);var _0xa62924=_0x39ac02[_0x6237b3(0x429)](_0x11b434,_0x38e6fc),_0x3e047a=_0xa62924[_0x6237b3(0x1ce)](_0x36bd27),_0x29d53f=_0xa62924[_0x6237b3(0x3eb)];return _0x273f13[_0x6237b3(0x117)]({'ciphertext':_0x3e047a,'key':_0x11b434,'iv':_0x29d53f['iv'],'algorithm':_0x39ac02,'mode':_0x29d53f[_0x6237b3(0x176)],'padding':_0x29d53f[_0x6237b3(0x1d7)],'blockSize':_0x39ac02['blockSize'],'formatter':_0x38e6fc['format']});},'decrypt':function(_0x4e22e9,_0x1388c4,_0x19f3ec,_0x41a5f1){var _0x3372b0=_0x1233bd;_0x41a5f1=this[_0x3372b0(0x3eb)][_0x3372b0(0x145)](_0x41a5f1),_0x1388c4=this[_0x3372b0(0x36f)](_0x1388c4,_0x41a5f1[_0x3372b0(0x22b)]);var _0x48444f=_0x4e22e9['createDecryptor'](_0x19f3ec,_0x41a5f1)['finalize'](_0x1388c4[_0x3372b0(0x487)]);return _0x48444f;},'_parse':function(_0x5d5c09,_0x4d4560){var _0x44c76a=_0x1233bd;return typeof _0x5d5c09==_0x44c76a(0x38a)?_0x4d4560[_0x44c76a(0x127)](_0x5d5c09,this):_0x5d5c09;}}),_0x5d7769=_0x268a60[_0x1233bd(0x24e)]={},_0x49cd45=_0x5d7769[_0x1233bd(0x428)]={'execute':function(_0x3e949a,_0x1079ea,_0x557d7d,_0x5ab7a3,_0x94f711){var _0x3d0c86=_0x1233bd;if(_0x5ab7a3||(_0x5ab7a3=_0x66daa0[_0x3d0c86(0x3e8)](0x40/0x8)),_0x94f711)var _0x27159c=_0x531584[_0x3d0c86(0x117)]({'keySize':_0x1079ea+_0x557d7d,'hasher':_0x94f711})[_0x3d0c86(0x1bd)](_0x3e949a,_0x5ab7a3);else var _0x27159c=_0x531584['create']({'keySize':_0x1079ea+_0x557d7d})[_0x3d0c86(0x1bd)](_0x3e949a,_0x5ab7a3);var _0x18df8d=_0x66daa0[_0x3d0c86(0x117)](_0x27159c[_0x3d0c86(0x156)]['slice'](_0x1079ea),_0x557d7d*0x4);return _0x27159c[_0x3d0c86(0x250)]=_0x1079ea*0x4,_0x273f13['create']({'key':_0x27159c,'iv':_0x18df8d,'salt':_0x5ab7a3});}},_0x3e861c=_0x1e0b82[_0x1233bd(0x15e)]=_0x2e6cff[_0x1233bd(0x145)]({'cfg':_0x2e6cff[_0x1233bd(0x3eb)][_0x1233bd(0x145)]({'kdf':_0x49cd45}),'encrypt':function(_0x3ae203,_0xdf926b,_0x4f19a2,_0x662b07){var _0x4cf44e=_0x1233bd;_0x662b07=this[_0x4cf44e(0x3eb)][_0x4cf44e(0x145)](_0x662b07);var _0x2cfc2f=_0x662b07[_0x4cf44e(0x24e)][_0x4cf44e(0x1ec)](_0x4f19a2,_0x3ae203[_0x4cf44e(0x1a6)],_0x3ae203['ivSize'],_0x662b07[_0x4cf44e(0x19a)],_0x662b07[_0x4cf44e(0x3da)]);_0x662b07['iv']=_0x2cfc2f['iv'];var _0x17d54a=_0x2e6cff[_0x4cf44e(0x2ad)]['call'](this,_0x3ae203,_0xdf926b,_0x2cfc2f['key'],_0x662b07);return _0x17d54a[_0x4cf44e(0x327)](_0x2cfc2f),_0x17d54a;},'decrypt':function(_0x5661d0,_0x96f621,_0x288f5c,_0x4efef8){var _0x4e600e=_0x1233bd;_0x4efef8=this[_0x4e600e(0x3eb)][_0x4e600e(0x145)](_0x4efef8),_0x96f621=this[_0x4e600e(0x36f)](_0x96f621,_0x4efef8['format']);var _0x1ed399=_0x4efef8['kdf'][_0x4e600e(0x1ec)](_0x288f5c,_0x5661d0[_0x4e600e(0x1a6)],_0x5661d0['ivSize'],_0x96f621[_0x4e600e(0x19a)],_0x4efef8[_0x4e600e(0x3da)]);_0x4efef8['iv']=_0x1ed399['iv'];var _0x2d06ac=_0x2e6cff[_0x4e600e(0x3c7)][_0x4e600e(0x26e)](this,_0x5661d0,_0x96f621,_0x1ed399[_0x4e600e(0x49e)],_0x4efef8);return _0x2d06ac;}});}();}));}(_0x5d9324)),_0x5d9324['exports'];}var _0x4861c7=_0x5d1661[_0x444a33(0x38d)],_0x2730f1;function _0x2a83cb(){var _0xe624ec=_0x444a33;return _0x2730f1||(_0x2730f1=0x1,function(_0x39eb60,_0x25f6e6){(function(_0x3dd3b5,_0x3daeed,_0x5c2595){var _0x611481=_0xac1b;_0x39eb60[_0x611481(0x38d)]=_0x3daeed(_0x1c3bfa(),_0x301ad2(),_0x390b10(),_0x201bc2(),_0x424c3e());}(_0x4861c7,function(_0x3f96b7){var _0x421a32=_0xac1b;return(function(){var _0x1c02b5=_0xac1b,_0x24525e=_0x3f96b7,_0x55f041=_0x24525e[_0x1c02b5(0x38c)],_0x205c5e=_0x55f041[_0x1c02b5(0x323)],_0xcca578=_0x24525e[_0x1c02b5(0x27e)],_0x3ad119=[],_0x1603c5=[],_0x11953a=[],_0x1f105b=[],_0x206f57=[],_0x57359f=[],_0x356974=[],_0x24c519=[],_0x5f2df0=[],_0x18b474=[];(function(){for(var _0x1ca990=[],_0xd5cd54=0x0;_0xd5cd54<0x100;_0xd5cd54++)_0xd5cd54<0x80?_0x1ca990[_0xd5cd54]=_0xd5cd54<<0x1:_0x1ca990[_0xd5cd54]=_0xd5cd54<<0x1^0x11b;for(var _0x3fcea4=0x0,_0x83b4c6=0x0,_0xd5cd54=0x0;_0xd5cd54<0x100;_0xd5cd54++){var _0x1f2688=_0x83b4c6^_0x83b4c6<<0x1^_0x83b4c6<<0x2^_0x83b4c6<<0x3^_0x83b4c6<<0x4;_0x1f2688=_0x1f2688>>>0x8^_0x1f2688&0xff^0x63,_0x3ad119[_0x3fcea4]=_0x1f2688,_0x1603c5[_0x1f2688]=_0x3fcea4;var _0xdca0a8=_0x1ca990[_0x3fcea4],_0x2ac773=_0x1ca990[_0xdca0a8],_0xc36f44=_0x1ca990[_0x2ac773],_0x516956=_0x1ca990[_0x1f2688]*0x101^_0x1f2688*0x1010100;_0x11953a[_0x3fcea4]=_0x516956<<0x18|_0x516956>>>0x8,_0x1f105b[_0x3fcea4]=_0x516956<<0x10|_0x516956>>>0x10,_0x206f57[_0x3fcea4]=_0x516956<<0x8|_0x516956>>>0x18,_0x57359f[_0x3fcea4]=_0x516956;var _0x516956=_0xc36f44*0x1010101^_0x2ac773*0x10001^_0xdca0a8*0x101^_0x3fcea4*0x1010100;_0x356974[_0x1f2688]=_0x516956<<0x18|_0x516956>>>0x8,_0x24c519[_0x1f2688]=_0x516956<<0x10|_0x516956>>>0x10,_0x5f2df0[_0x1f2688]=_0x516956<<0x8|_0x516956>>>0x18,_0x18b474[_0x1f2688]=_0x516956,_0x3fcea4?(_0x3fcea4=_0xdca0a8^_0x1ca990[_0x1ca990[_0x1ca990[_0xc36f44^_0xdca0a8]]],_0x83b4c6^=_0x1ca990[_0x1ca990[_0x83b4c6]]):_0x3fcea4=_0x83b4c6=0x1;}}());var _0x57401b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5e04e4=_0xcca578[_0x1c02b5(0x23b)]=_0x205c5e[_0x1c02b5(0x145)]({'_doReset':function(){var _0x248745=_0x1c02b5,_0x15225f;if(!(this[_0x248745(0x304)]&&this[_0x248745(0x221)]===this[_0x248745(0x3ac)])){for(var _0x5495a3=this[_0x248745(0x221)]=this[_0x248745(0x3ac)],_0x31c751=_0x5495a3[_0x248745(0x156)],_0x491a2b=_0x5495a3[_0x248745(0x250)]/0x4,_0x11e603=this['_nRounds']=_0x491a2b+0x6,_0x106d93=(_0x11e603+0x1)*0x4,_0x305a12=this[_0x248745(0x361)]=[],_0x54cf5e=0x0;_0x54cf5e<_0x106d93;_0x54cf5e++)_0x54cf5e<_0x491a2b?_0x305a12[_0x54cf5e]=_0x31c751[_0x54cf5e]:(_0x15225f=_0x305a12[_0x54cf5e-0x1],_0x54cf5e%_0x491a2b?_0x491a2b>0x6&&_0x54cf5e%_0x491a2b==0x4&&(_0x15225f=_0x3ad119[_0x15225f>>>0x18]<<0x18|_0x3ad119[_0x15225f>>>0x10&0xff]<<0x10|_0x3ad119[_0x15225f>>>0x8&0xff]<<0x8|_0x3ad119[_0x15225f&0xff]):(_0x15225f=_0x15225f<<0x8|_0x15225f>>>0x18,_0x15225f=_0x3ad119[_0x15225f>>>0x18]<<0x18|_0x3ad119[_0x15225f>>>0x10&0xff]<<0x10|_0x3ad119[_0x15225f>>>0x8&0xff]<<0x8|_0x3ad119[_0x15225f&0xff],_0x15225f^=_0x57401b[_0x54cf5e/_0x491a2b|0x0]<<0x18),_0x305a12[_0x54cf5e]=_0x305a12[_0x54cf5e-_0x491a2b]^_0x15225f);for(var _0x481009=this[_0x248745(0x39d)]=[],_0xc537e2=0x0;_0xc537e2<_0x106d93;_0xc537e2++){var _0x54cf5e=_0x106d93-_0xc537e2;if(_0xc537e2%0x4)var _0x15225f=_0x305a12[_0x54cf5e];else var _0x15225f=_0x305a12[_0x54cf5e-0x4];_0xc537e2<0x4||_0x54cf5e<=0x4?_0x481009[_0xc537e2]=_0x15225f:_0x481009[_0xc537e2]=_0x356974[_0x3ad119[_0x15225f>>>0x18]]^_0x24c519[_0x3ad119[_0x15225f>>>0x10&0xff]]^_0x5f2df0[_0x3ad119[_0x15225f>>>0x8&0xff]]^_0x18b474[_0x3ad119[_0x15225f&0xff]];}}},'encryptBlock':function(_0x518736,_0x3a3c13){var _0x52c22f=_0x1c02b5;this['_doCryptBlock'](_0x518736,_0x3a3c13,this[_0x52c22f(0x361)],_0x11953a,_0x1f105b,_0x206f57,_0x57359f,_0x3ad119);},'decryptBlock':function(_0x376431,_0x3db8ae){var _0x117cda=_0x1c02b5,_0x2c2918=_0x376431[_0x3db8ae+0x1];_0x376431[_0x3db8ae+0x1]=_0x376431[_0x3db8ae+0x3],_0x376431[_0x3db8ae+0x3]=_0x2c2918,this[_0x117cda(0x157)](_0x376431,_0x3db8ae,this[_0x117cda(0x39d)],_0x356974,_0x24c519,_0x5f2df0,_0x18b474,_0x1603c5);var _0x2c2918=_0x376431[_0x3db8ae+0x1];_0x376431[_0x3db8ae+0x1]=_0x376431[_0x3db8ae+0x3],_0x376431[_0x3db8ae+0x3]=_0x2c2918;},'_doCryptBlock':function(_0xd36486,_0x2c4112,_0x10fbd3,_0x29f052,_0x3f723c,_0x28e5ed,_0x4daedc,_0x514e4b){var _0x96ded9=_0x1c02b5;for(var _0x221682=this[_0x96ded9(0x304)],_0x1bf858=_0xd36486[_0x2c4112]^_0x10fbd3[0x0],_0x4af748=_0xd36486[_0x2c4112+0x1]^_0x10fbd3[0x1],_0x2bffb5=_0xd36486[_0x2c4112+0x2]^_0x10fbd3[0x2],_0x426763=_0xd36486[_0x2c4112+0x3]^_0x10fbd3[0x3],_0x53fe7b=0x4,_0x5b1d79=0x1;_0x5b1d79<_0x221682;_0x5b1d79++){var _0x48c0b9=_0x29f052[_0x1bf858>>>0x18]^_0x3f723c[_0x4af748>>>0x10&0xff]^_0x28e5ed[_0x2bffb5>>>0x8&0xff]^_0x4daedc[_0x426763&0xff]^_0x10fbd3[_0x53fe7b++],_0xc88383=_0x29f052[_0x4af748>>>0x18]^_0x3f723c[_0x2bffb5>>>0x10&0xff]^_0x28e5ed[_0x426763>>>0x8&0xff]^_0x4daedc[_0x1bf858&0xff]^_0x10fbd3[_0x53fe7b++],_0x29a652=_0x29f052[_0x2bffb5>>>0x18]^_0x3f723c[_0x426763>>>0x10&0xff]^_0x28e5ed[_0x1bf858>>>0x8&0xff]^_0x4daedc[_0x4af748&0xff]^_0x10fbd3[_0x53fe7b++],_0x578cdd=_0x29f052[_0x426763>>>0x18]^_0x3f723c[_0x1bf858>>>0x10&0xff]^_0x28e5ed[_0x4af748>>>0x8&0xff]^_0x4daedc[_0x2bffb5&0xff]^_0x10fbd3[_0x53fe7b++];_0x1bf858=_0x48c0b9,_0x4af748=_0xc88383,_0x2bffb5=_0x29a652,_0x426763=_0x578cdd;}var _0x48c0b9=(_0x514e4b[_0x1bf858>>>0x18]<<0x18|_0x514e4b[_0x4af748>>>0x10&0xff]<<0x10|_0x514e4b[_0x2bffb5>>>0x8&0xff]<<0x8|_0x514e4b[_0x426763&0xff])^_0x10fbd3[_0x53fe7b++],_0xc88383=(_0x514e4b[_0x4af748>>>0x18]<<0x18|_0x514e4b[_0x2bffb5>>>0x10&0xff]<<0x10|_0x514e4b[_0x426763>>>0x8&0xff]<<0x8|_0x514e4b[_0x1bf858&0xff])^_0x10fbd3[_0x53fe7b++],_0x29a652=(_0x514e4b[_0x2bffb5>>>0x18]<<0x18|_0x514e4b[_0x426763>>>0x10&0xff]<<0x10|_0x514e4b[_0x1bf858>>>0x8&0xff]<<0x8|_0x514e4b[_0x4af748&0xff])^_0x10fbd3[_0x53fe7b++],_0x578cdd=(_0x514e4b[_0x426763>>>0x18]<<0x18|_0x514e4b[_0x1bf858>>>0x10&0xff]<<0x10|_0x514e4b[_0x4af748>>>0x8&0xff]<<0x8|_0x514e4b[_0x2bffb5&0xff])^_0x10fbd3[_0x53fe7b++];_0xd36486[_0x2c4112]=_0x48c0b9,_0xd36486[_0x2c4112+0x1]=_0xc88383,_0xd36486[_0x2c4112+0x2]=_0x29a652,_0xd36486[_0x2c4112+0x3]=_0x578cdd;},'keySize':0x100/0x20});_0x24525e['AES']=_0x205c5e[_0x1c02b5(0x46d)](_0x5e04e4);}()),_0x3f96b7[_0x421a32(0x23b)];}));}(_0x5d1661)),_0x5d1661[_0xe624ec(0x38d)];}var _0x56849e=_0x2a83cb();const _0x1b0fe9=_0x2f773c(_0x56849e);var _0xc64e1a=_0x301ad2();const _0x43eeaf=_0x2f773c(_0xc64e1a);var _0x20f9e8={'exports':{}},_0x148e4f=_0x20f9e8[_0x444a33(0x38d)],_0x197914;function _0x1789a7(){var _0x42aa9a=_0x444a33;return _0x197914||(_0x197914=0x1,function(_0x1284e6,_0x2bf444){(function(_0x49e06b,_0x408038){var _0x2f307d=_0xac1b;_0x1284e6[_0x2f307d(0x38d)]=_0x408038(_0x1c3bfa());}(_0x148e4f,function(_0x4d945f){var _0xd20019=_0xac1b;return _0x4d945f[_0xd20019(0x331)][_0xd20019(0x2a4)];}));}(_0x20f9e8)),_0x20f9e8[_0x42aa9a(0x38d)];}var _0x21bb07=_0x1789a7();const _0x8a064f=_0x2f773c(_0x21bb07);var _0x4b21f2={'exports':{}},_0x1511ae=_0x4b21f2[_0x444a33(0x38d)],_0x417a2b;function _0x5ba90e(){var _0x3995a5=_0x444a33;return _0x417a2b||(_0x417a2b=0x1,function(_0x439ac3,_0xe9683a){(function(_0x13b196,_0x2f5ed4){var _0x4880ea=_0xac1b;_0x439ac3[_0x4880ea(0x38d)]=_0x2f5ed4(_0x1c3bfa());}(_0x1511ae,function(_0x4f4cc0){var _0x4b715a=_0xac1b;return(function(){var _0x460414=_0xac1b;if(typeof ArrayBuffer==_0x460414(0x1a3)){var _0x1c9e81=_0x4f4cc0,_0x31ab94=_0x1c9e81[_0x460414(0x38c)],_0x4a1063=_0x31ab94[_0x460414(0x16c)],_0x4578d7=_0x4a1063[_0x460414(0x486)],_0x141b69=_0x4a1063[_0x460414(0x486)]=function(_0x5f2a78){var _0x23adc0=_0x460414;if(_0x5f2a78 instanceof ArrayBuffer&&(_0x5f2a78=new Uint8Array(_0x5f2a78)),(_0x5f2a78 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5f2a78 instanceof Uint8ClampedArray||_0x5f2a78 instanceof Int16Array||_0x5f2a78 instanceof Uint16Array||_0x5f2a78 instanceof Int32Array||_0x5f2a78 instanceof Uint32Array||_0x5f2a78 instanceof Float32Array||_0x5f2a78 instanceof Float64Array)&&(_0x5f2a78=new Uint8Array(_0x5f2a78[_0x23adc0(0x423)],_0x5f2a78[_0x23adc0(0x181)],_0x5f2a78[_0x23adc0(0x16e)])),_0x5f2a78 instanceof Uint8Array){for(var _0x187ea2=_0x5f2a78[_0x23adc0(0x16e)],_0x1b37b3=[],_0xf8fce=0x0;_0xf8fce<_0x187ea2;_0xf8fce++)_0x1b37b3[_0xf8fce>>>0x2]|=_0x5f2a78[_0xf8fce]<<0x18-_0xf8fce%0x4*0x8;_0x4578d7[_0x23adc0(0x26e)](this,_0x1b37b3,_0x187ea2);}else _0x4578d7[_0x23adc0(0x256)](this,arguments);};_0x141b69[_0x460414(0x139)]=_0x4a1063;}}()),_0x4f4cc0[_0x4b715a(0x38c)][_0x4b715a(0x16c)];}));}(_0x4b21f2)),_0x4b21f2[_0x3995a5(0x38d)];}var _0x1c6709=_0x5ba90e();const _0x580582=_0x2f773c(_0x1c6709);var _0x32a0b2={'exports':{}},_0x1ab244=_0x32a0b2['exports'],_0x54b081;function _0x30f596(){return _0x54b081||(_0x54b081=0x1,function(_0x252d29,_0xf65dd2){(function(_0x2d3495,_0xba7754,_0x3cf96e){_0x252d29['exports']=_0xba7754(_0x1c3bfa(),_0x424c3e());}(_0x1ab244,function(_0x27cb1d){var _0x40394d=_0xac1b;return _0x27cb1d[_0x40394d(0x243)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x27cb1d[_0x40394d(0x243)][_0x40394d(0x25b)];}));}(_0x32a0b2)),_0x32a0b2['exports'];}var _0x5c65c0=_0x30f596();const _0x176a28=_0x2f773c(_0x5c65c0);function _0x2fa16f(_0x54b870,_0x157907){var _0x3773ac=_0x444a33;const _0x466a12=_0x157907-_0x54b870[_0x3773ac(0x3bd)]%_0x157907,_0x288fd7=String[_0x3773ac(0x1ab)](_0x466a12)[_0x3773ac(0x126)](_0x466a12);return _0x54b870+_0x288fd7;}function _0x1c3caf(_0x3a9045,_0x69aea7){var _0x29c607=_0x444a33;const _0x55618b=_0x580582[_0x29c607(0x3e8)](0x10),_0x2077ce=_0x2fa16f(_0x3a9045,0x10),_0x5b95a8=_0x1b0fe9[_0x29c607(0x2ad)](_0x8a064f['parse'](_0x2077ce),_0x43eeaf['parse'](_0x69aea7),{'iv':_0x55618b,'padding':_0x176a28});return _0x55618b['concat'](_0x5b95a8[_0x29c607(0x487)])['toString'](_0x43eeaf);}function _0x5b2584(){var _0x3ba716=_0x444a33;const _0x2cc61c=_0x5a475d[_0x3ba716(0x312)]()[_0x3ba716(0x158)];if(_0x2cc61c){const _0x519656={'time':Math[_0x3ba716(0x3c3)](Date[_0x3ba716(0x13d)]()/0x3e8),'domain':location[_0x3ba716(0x3cd)]};return _0x1c3caf(JSON['stringify'](_0x519656),_0x2cc61c);}}var _0x1a81f2=Object[_0x444a33(0x41d)],_0x29eab8=(_0x1764bf,_0x3617ae,_0x22407f,_0x1e79a6)=>{var _0x33f1c5=_0x444a33;for(var _0x479622=_0x1e79a6>0x1?void 0x0:_0x1e79a6?_0x1a81f2(_0x3617ae,_0x22407f):_0x3617ae,_0x12ad67=_0x1764bf[_0x33f1c5(0x3bd)]-0x1,_0x1c5ff0;_0x12ad67>=0x0;_0x12ad67--)(_0x1c5ff0=_0x1764bf[_0x12ad67])&&(_0x479622=_0x1c5ff0(_0x479622)||_0x479622);return _0x479622;},_0x96f090=(_0x349ff1,_0x4843f0)=>(_0x456641,_0x41c6e5)=>_0x4843f0(_0x456641,_0x41c6e5,_0x349ff1);let _0x4eb49c=class{constructor(_0x417995){var _0x37835e=_0x444a33;this[_0x37835e(0x303)]=_0x417995,this[_0x37835e(0x335)]();}[_0x444a33(0x335)](){var _0x13f41f=_0x444a33;this[_0x13f41f(0x303)][_0x13f41f(0x2b9)]({'interceptor':(_0x7c4d38,_0x16cb5d)=>{var _0x55fc1c=_0x13f41f;const _0x22de4f=_0x7c4d38[_0x55fc1c(0x39b)],_0x3f61c2=_0x5b2584();return _0x3f61c2&&_0x22de4f[_0x55fc1c(0x214)]('x-univer-host',_0x3f61c2),_0x16cb5d(_0x7c4d38);}});}};_0x4eb49c=_0x29eab8([_0x96f090(0x0,_0x58829f[_0x444a33(0x275)](_0xd2c5f8[_0x444a33(0x1e3)]))],_0x4eb49c);var _0x3a20f4=Object['getOwnPropertyDescriptor'],_0x588a9f=(_0x19a101,_0x388056,_0x247dab,_0x3fe3ea)=>{var _0x3bc567=_0x444a33;for(var _0x449279=_0x3fe3ea>0x1?void 0x0:_0x3fe3ea?_0x3a20f4(_0x388056,_0x247dab):_0x388056,_0x397b82=_0x19a101[_0x3bc567(0x3bd)]-0x1,_0x2787c4;_0x397b82>=0x0;_0x397b82--)(_0x2787c4=_0x19a101[_0x397b82])&&(_0x449279=_0x2787c4(_0x449279)||_0x449279);return _0x449279;},_0xac92ac=(_0x3843d0,_0x19faf0)=>(_0x5264d0,_0xeaaf54)=>_0x19faf0(_0x5264d0,_0xeaaf54,_0x3843d0);_0x23269f[_0x444a33(0x364)]=class extends _0x58829f[_0x444a33(0x264)]{constructor(_0x4106b4,_0x2a3d8a,_0x5efb96){var _0x212ac1=_0x444a33;super(),_0x11728e(this,_0x212ac1(0x13e),new _0x3d04ed['BehaviorSubject'](null)),_0x11728e(this,'unitInfo$',this[_0x212ac1(0x13e)][_0x212ac1(0x22c)]()),(this['_logService']=_0x4106b4,this[_0x212ac1(0x1fc)]=_0x2a3d8a,this[_0x212ac1(0x3ca)]=_0x5efb96);}async[_0x444a33(0x10b)](_0xf1842b,_0x5a4273,_0x273e2e){var _0x2eb53d=_0x444a33;this[_0x2eb53d(0x13e)][_0x2eb53d(0x2dc)]({'unitId':_0xf1842b,'type':_0x5a4273});let _0x3b8625=null;switch(_0x5a4273){case _0x31019e[_0x2eb53d(0x22a)]:{_0x3b8625=await this[_0x2eb53d(0x1fc)][_0x2eb53d(0x3f4)](_0xf1842b,_0x273e2e);break;}case _0x31019e[_0x2eb53d(0x257)]:{_0x3b8625=await this['_snapshotService'][_0x2eb53d(0x212)](_0xf1842b,_0x273e2e);break;}default:{this[_0x2eb53d(0x41c)][_0x2eb53d(0x3f8)](_0x2eb53d(0x12b),_0x2eb53d(0x183));break;}}return _0x3b8625;}async[_0x444a33(0x41a)](_0x2d1b0e,_0x1ec28c,_0x511709){var _0x511774=_0x444a33,_0x4c3aa5;this['_unitInfo$'][_0x511774(0x2dc)]({'unitId':_0x2d1b0e,'type':_0x1ec28c,'subUnitId':_0x511709});let _0x952341=0x0;const _0x80ea31=await((_0x4c3aa5=this[_0x511774(0x3ca)])==null?void 0x0:_0x4c3aa5[_0x511774(0x14b)](_0x2d1b0e));return _0x80ea31&&(_0x80ea31[_0x511774(0x445)]||_0x80ea31[_0x511774(0x366)][_0x511774(0x3bd)]!==0x0)&&(_0x952341=_0x80ea31[_0x511774(0x376)]),_0x952341===0x0&&this[_0x511774(0x41c)][_0x511774(0x459)](_0x511774(0x12b),_0x511774(0x26a)),this[_0x511774(0x10b)](_0x2d1b0e,_0x1ec28c,_0x952341);}},_0x23269f[_0x444a33(0x364)]=_0x588a9f([_0xac92ac(0x0,_0x58829f[_0x444a33(0x352)]),_0xac92ac(0x1,_0x58829f['Inject'](_0x1cf310[_0x444a33(0x21a)])),_0xac92ac(0x2,_0x58829f['Optional'](_0x59fe82))],_0x23269f[_0x444a33(0x364)]);var _0x2ae5a0=Object['getOwnPropertyDescriptor'],_0x865213=(_0x2dd6e6,_0x48fc86,_0x43b061,_0x13fc4a)=>{var _0x2cc95a=_0x444a33;for(var _0x325298=_0x13fc4a>0x1?void 0x0:_0x13fc4a?_0x2ae5a0(_0x48fc86,_0x43b061):_0x48fc86,_0x5c4ffa=_0x2dd6e6[_0x2cc95a(0x3bd)]-0x1,_0x2e7f9e;_0x5c4ffa>=0x0;_0x5c4ffa--)(_0x2e7f9e=_0x2dd6e6[_0x5c4ffa])&&(_0x325298=_0x2e7f9e(_0x325298)||_0x325298);return _0x325298;},_0x45bfc5=(_0x8dadd5,_0x1a49ca)=>(_0x58adec,_0x3d9896)=>_0x1a49ca(_0x58adec,_0x3d9896,_0x8dadd5);const _0xb9a814=[_0x444a33(0x2a8),'image/jpeg',_0x444a33(0x197),_0x444a33(0x2f6),'image/bmp'],_0x4df79a=0x5*0x400*0x400,_0x83391e=_0x444a33(0x1f9),_0x3aa459='/universer-api/file/{fileID}/sign-url';_0x23269f[_0x444a33(0x443)]=class{constructor(_0x32c073,_0x25d6a0,_0x15584b){var _0x11bf75=_0x444a33;_0x11728e(this,_0x11bf75(0x496),0x0),_0x11728e(this,_0x11bf75(0x251),new _0x3d04ed[(_0x11bf75(0x1d1))]()),_0x11728e(this,'change$',this['_change$']),_0x11728e(this,_0x11bf75(0x165),new Map()),(this[_0x11bf75(0x303)]=_0x32c073,this[_0x11bf75(0x219)]=_0x25d6a0,this[_0x11bf75(0x3a4)]=_0x15584b);}[_0x444a33(0x3b1)](_0x6bd4e5){var _0x2ac826=_0x444a33;this[_0x2ac826(0x496)]=_0x6bd4e5,this[_0x2ac826(0x251)][_0x2ac826(0x2dc)](_0x6bd4e5);}[_0x444a33(0x300)](_0x498107,_0x29fc9d){var _0x20cf1d=_0x444a33;if(_0x29fc9d===_0x516017[_0x20cf1d(0x25d)][_0x20cf1d(0x4a2)]){const _0x2c0ed9=new Image();return _0x2c0ed9[_0x20cf1d(0x2d1)]=_0x498107,_0x2c0ed9;}return this[_0x20cf1d(0x165)][_0x20cf1d(0x35f)](_0x498107);}['addImageSourceCache'](_0x3ac826,_0x29f43c,_0x3a0b0c){var _0x359668=_0x444a33;_0x29f43c===_0x516017[_0x359668(0x25d)][_0x359668(0x4a2)]||_0x3a0b0c==null||this[_0x359668(0x165)][_0x359668(0x214)](_0x3ac826,_0x3a0b0c);}async[_0x444a33(0x16f)](_0x19ffb7){var _0x37dfa9=_0x444a33;try{const _0x5344f1=this[_0x37dfa9(0x418)](this[_0x37dfa9(0x46a)](),''+_0x19ffb7),_0x22f0a2=(await this[_0x37dfa9(0x303)]['get'](_0x5344f1))[_0x37dfa9(0x1df)];if(_0x22f0a2[_0x37dfa9(0x3f8)]&&_0x22f0a2['error'][_0x37dfa9(0x3be)]===_0x3e9701['OK']){const _0x45a264=_0x58829f[_0x37dfa9(0x382)](_0x22f0a2[_0x37dfa9(0x1a0)],this[_0x37dfa9(0x3d0)]());return Promise[_0x37dfa9(0x179)](_0x45a264);}return Promise['reject'](_0x22f0a2[_0x37dfa9(0x3f8)]);}catch(_0x57bc3e){return Promise[_0x37dfa9(0x2ef)](_0x57bc3e);}}async[_0x444a33(0x1c9)](_0x37ae28){var _0x38791e=_0x444a33;let _0x56f79b='';if(!_0xb9a814[_0x38791e(0x3f0)](_0x37ae28[_0x38791e(0x20a)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x516017[_0x38791e(0x270)][_0x38791e(0x11c)]));if(_0x37ae28[_0x38791e(0x200)]>_0x4df79a)return this[_0x38791e(0x40c)](),Promise['reject'](new Error(_0x516017[_0x38791e(0x270)][_0x38791e(0x236)]));try{const _0x40d28e=new FormData();_0x40d28e[_0x38791e(0x306)](_0x38791e(0x215),_0x37ae28);const _0x3381e5=this[_0x38791e(0x3a4)]['getFocusedUnit'](),_0x4854bf=_0x3381e5==null?void 0x0:_0x3381e5[_0x38791e(0x260)]();if(!_0x4854bf)throw new Error(_0x38791e(0x159));const _0x56261c=this[_0x38791e(0x495)]()+_0x38791e(0x406)+_0x37ae28[_0x38791e(0x200)][_0x38791e(0x1e9)]()+'&source='+_0x5305fc[_0x38791e(0x1f3)]+_0x38791e(0x32d)+encodeURIComponent(_0x4854bf),_0x55869c={'body':_0x40d28e},_0x135105=(await this[_0x38791e(0x303)][_0x38791e(0x430)](_0x56261c,_0x55869c))['body'];if(typeof _0x135105[_0x38791e(0x18a)]!='string')return this[_0x38791e(0x40c)](),Promise['reject'](new Error(_0x516017[_0x38791e(0x270)]['ERROR_IMAGE']));_0x56f79b=_0x135105['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x38791e(0x2ef)](new Error(_0x516017['ImageUploadStatusType'][_0x38791e(0x10f)]));}return new Promise((_0x372c05,_0x41186e)=>{var _0x36bd18=_0x38791e;const _0x3e5218=new FileReader();_0x3e5218[_0x36bd18(0x34e)](_0x37ae28),_0x3e5218[_0x36bd18(0x1a2)]=_0x14883f=>{var _0x23fb50=_0x36bd18,_0x16092b;const _0x5729cd=(_0x16092b=_0x14883f[_0x23fb50(0x3c1)])==null?void 0x0:_0x16092b[_0x23fb50(0x1b4)];if(_0x5729cd==null){this[_0x23fb50(0x40c)](),_0x41186e(new Error(_0x516017['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x45ccb5=_0x58829f[_0x23fb50(0x347)](0x6);_0x372c05({'imageId':_0x45ccb5,'imageSourceType':_0x516017['ImageSourceType'][_0x23fb50(0x134)],'source':_0x56f79b,'base64Cache':_0x5729cd,'status':_0x516017[_0x23fb50(0x270)]['SUCCUSS']}),this[_0x23fb50(0x40c)]();};});}[_0x444a33(0x495)](){var _0x1222a8=_0x444a33,_0x2abdcc;const _0x4194fc=this['_configService'][_0x1222a8(0x3d6)](_0x420549);return(_0x2abdcc=_0x4194fc==null?void 0x0:_0x4194fc[_0x1222a8(0x280)])!=null?_0x2abdcc:_0x83391e;}[_0x444a33(0x46a)](){var _0x2d0898=_0x444a33,_0x220391;const _0x314fd2=this[_0x2d0898(0x219)][_0x2d0898(0x3d6)](_0x420549);return(_0x220391=_0x314fd2==null?void 0x0:_0x314fd2[_0x2d0898(0x222)])!=null?_0x220391:_0x3aa459;}[_0x444a33(0x3d0)](){var _0x5d98c0=_0x444a33,_0x5b6372;const _0x4a9e53=this[_0x5d98c0(0x219)]['getConfig'](_0x420549);return(_0x5b6372=_0x4a9e53==null?void 0x0:_0x4a9e53[_0x5d98c0(0x19e)])!=null?_0x5b6372:location['origin'];}[_0x444a33(0x418)](_0x51aeb7,_0x418413){var _0x2e5e46=_0x444a33;return _0x51aeb7[_0x2e5e46(0x3fd)](_0x2e5e46(0x188),_0x418413);}[_0x444a33(0x40c)](){var _0x41ff89=_0x444a33;this[_0x41ff89(0x496)]-=0x1,this[_0x41ff89(0x251)]['next'](this['_waitCount']);}},_0x23269f[_0x444a33(0x443)]=_0x865213([_0x45bfc5(0x0,_0x58829f['Inject'](_0xd2c5f8[_0x444a33(0x1e3)])),_0x45bfc5(0x1,_0x58829f[_0x444a33(0x142)]),_0x45bfc5(0x2,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x2df)]))],_0x23269f[_0x444a33(0x443)]);var _0x593caa=Object[_0x444a33(0x41d)],_0x42b0f4=(_0x3765bb,_0xcf1a5e,_0x39c042,_0x533dd3)=>{var _0x4456c8=_0x444a33;for(var _0x2d6ee7=_0x533dd3>0x1?void 0x0:_0x533dd3?_0x593caa(_0xcf1a5e,_0x39c042):_0xcf1a5e,_0x5e7ff2=_0x3765bb[_0x4456c8(0x3bd)]-0x1,_0x340e75;_0x5e7ff2>=0x0;_0x5e7ff2--)(_0x340e75=_0x3765bb[_0x5e7ff2])&&(_0x2d6ee7=_0x340e75(_0x2d6ee7)||_0x2d6ee7);return _0x2d6ee7;},_0x161dcd=(_0x23f676,_0x52d17c)=>(_0x2fad55,_0x4b0297)=>_0x52d17c(_0x2fad55,_0x4b0297,_0x23f676);const _0x4518e3=_0x444a33(0x30d);_0x23269f['MentionIoHttpService']=class{constructor(_0x5168bd,_0x352ad5){var _0x536434=_0x444a33;this[_0x536434(0x219)]=_0x5168bd,this[_0x536434(0x365)]=_0x352ad5;}[_0x444a33(0x21e)](){var _0x64e881=_0x444a33,_0x9fcf84;const _0x2f862f=this[_0x64e881(0x219)][_0x64e881(0x3d6)](_0x420549);return(_0x9fcf84=_0x2f862f==null?void 0x0:_0x2f862f[_0x64e881(0x19f)])!=null?_0x9fcf84:_0x4518e3;}async['list'](_0x36ad12){var _0x389b17=_0x444a33;const _0x10515d=this[_0x389b17(0x21e)]()+_0x389b17(0x289);return{'list':[{'title':'People','mentions':(await this[_0x389b17(0x365)]['get'](_0x10515d,{'params':{'objectID':_0x36ad12[_0x389b17(0x2a1)],'unitID':_0x36ad12[_0x389b17(0x2a1)]}}))[_0x389b17(0x1df)][_0x389b17(0x17f)][_0x389b17(0x351)](_0xf274d5=>({'objectId':_0xf274d5['id'],'name':_0xf274d5[_0x389b17(0x180)][_0x389b17(0x122)],'metadata':{'icon':_0xf274d5['subject'][_0x389b17(0x308)]},'label':_0xf274d5['subject'][_0x389b17(0x122)],'objectType':_0x58829f[_0x389b17(0x450)][_0x389b17(0x3e5)]})),'metadata':{},'type':_0x58829f[_0x389b17(0x450)][_0x389b17(0x3e5)]}]};}},_0x23269f[_0x444a33(0x384)]=_0x42b0f4([_0x161dcd(0x0,_0x58829f[_0x444a33(0x275)](_0x58829f[_0x444a33(0x142)])),_0x161dcd(0x1,_0x58829f[_0x444a33(0x275)](_0xd2c5f8['HTTPService']))],_0x23269f['MentionIoHttpService']);var _0x36479e=Object[_0x444a33(0x41d)],_0xc608f3=(_0x550e0c,_0x4e20ab,_0x3008a0,_0xd60cee)=>{var _0x2b15c2=_0x444a33;for(var _0xa4d2cf=_0xd60cee>0x1?void 0x0:_0xd60cee?_0x36479e(_0x4e20ab,_0x3008a0):_0x4e20ab,_0x309e9e=_0x550e0c[_0x2b15c2(0x3bd)]-0x1,_0x286c5f;_0x309e9e>=0x0;_0x309e9e--)(_0x286c5f=_0x550e0c[_0x309e9e])&&(_0xa4d2cf=_0x286c5f(_0xa4d2cf)||_0xa4d2cf);return _0xa4d2cf;},_0x3ced55=(_0x51aede,_0x4b57a3)=>(_0x2eadc9,_0x107b49)=>_0x4b57a3(_0x2eadc9,_0x107b49,_0x51aede);let _0x55ba0c=class extends _0x58829f[_0x444a33(0x264)]{constructor(_0x22e038,_0x17c287,_0x576c69,_0x2048d5,_0x21eefd){var _0xd52134=_0x444a33;super(),this[_0xd52134(0x2ba)]=_0x22e038,this['_univerInstanceService']=_0x17c287,this[_0xd52134(0x489)]=_0x576c69,this[_0xd52134(0x2b4)]=_0x2048d5,this['_collaborationUIEventService']=_0x21eefd,this[_0xd52134(0x3fc)](),this['_initCloseConn']();}[_0x444a33(0x21f)](){var _0x3af48a=_0x444a33;const _0x572dec=async _0x11f236=>{var _0x5a69e9=_0xac1b;(await this[_0x5a69e9(0x2b4)]['requireSession'](_0x11f236))[_0x5a69e9(0x1b0)][_0x5a69e9(0x293)](_0x66d2a7[_0x5a69e9(0x432)](_0x5054ce=>_0x5054ce[_0x5a69e9(0x3b0)]===_0x1cf310['CollaborationEvent'][_0x5a69e9(0x454)]),_0x66d2a7[_0x5a69e9(0x21c)](this[_0x5a69e9(0x2d6)]))[_0x5a69e9(0x42c)](_0x57e106=>{var _0x46d46b=_0x5a69e9;const _0x14d9b8=_0x57e106,{reason:_0x372d57}=_0x14d9b8[_0x46d46b(0x291)];this['_collaborationUIEventService'][_0x46d46b(0x1f2)]({'id':_0x258302[_0x46d46b(0x39a)],'data':_0x372d57}),this[_0x46d46b(0x489)][_0x46d46b(0x1fd)](new _0x538c19[(_0x46d46b(0x3c9))](_0x11f236)['id'],!0x1),this[_0x46d46b(0x2b4)]['closeSession'](_0x11f236);});};_0x3d04ed['merge'](this[_0x3af48a(0x3a4)][_0x3af48a(0x32c)](_0x58829f[_0x3af48a(0x277)][_0x3af48a(0x22a)]),this['_univerInstanceService'][_0x3af48a(0x32c)](_0x58829f[_0x3af48a(0x277)][_0x3af48a(0x257)]))[_0x3af48a(0x293)](_0x66d2a7[_0x3af48a(0x351)](_0x4aa214=>_0x4aa214[_0x3af48a(0x260)]()),_0x66d2a7[_0x3af48a(0x432)](_0x2ed029=>!_0x58829f['isInternalEditorID'](_0x2ed029)),_0x66d2a7[_0x3af48a(0x21c)](this[_0x3af48a(0x2d6)]))[_0x3af48a(0x42c)](_0x1e0f60=>{_0x572dec(_0x1e0f60);});}['_initUnitPermissionChange'](){var _0x56944e=_0x444a33;const _0x4bb614=async _0x518f99=>{var _0x6aaecb=_0xac1b;const _0x339206=await this[_0x6aaecb(0x2b4)][_0x6aaecb(0x2cd)](_0x518f99),_0x466d00=this['_injector'][_0x6aaecb(0x35f)](_0x538c19[_0x6aaecb(0x273)]);_0x339206['event$']['pipe'](_0x66d2a7['filter'](_0x28dbcc=>_0x28dbcc['eventID']===_0x1cf310['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x66d2a7[_0x6aaecb(0x21c)](this[_0x6aaecb(0x2d6)]))['subscribe'](_0x456caa=>{var _0x5bdf4b=_0x6aaecb;const _0x1d3448=_0x456caa,{objectId:_0x1d9377}=_0x1d3448[_0x5bdf4b(0x291)];_0x1d9377===_0x518f99?_0x466d00['initWorkbookPermissionChange'](_0x518f99):_0x466d00[_0x5bdf4b(0x316)](_0x518f99,_0x1d9377);});};_0x3d04ed[_0x56944e(0x482)](this[_0x56944e(0x3a4)][_0x56944e(0x32c)](_0x58829f[_0x56944e(0x277)][_0x56944e(0x22a)]))[_0x56944e(0x293)](_0x66d2a7[_0x56944e(0x351)](_0x4f57cd=>_0x4f57cd['getUnitId']()),_0x66d2a7[_0x56944e(0x432)](_0x25a0c5=>!_0x58829f[_0x56944e(0x147)](_0x25a0c5)),_0x66d2a7[_0x56944e(0x21c)](this[_0x56944e(0x2d6)]))[_0x56944e(0x42c)](_0x113d18=>{_0x4bb614(_0x113d18);});}};_0x55ba0c=_0xc608f3([_0x3ced55(0x0,_0x58829f[_0x444a33(0x275)](_0x58829f['Injector'])),_0x3ced55(0x1,_0x58829f['IUniverInstanceService']),_0x3ced55(0x2,_0x58829f[_0x444a33(0x146)]),_0x3ced55(0x3,_0x58829f[_0x444a33(0x275)](_0x23269f[_0x444a33(0x226)])),_0x3ced55(0x4,_0x58829f['Inject'](_0x5a0744))],_0x55ba0c);var _0x1988ee=Object[_0x444a33(0x41d)],_0x16e778=(_0x4b1239,_0x152d93,_0x68cd72,_0x224be7)=>{for(var _0x4ca8a1=_0x224be7>0x1?void 0x0:_0x224be7?_0x1988ee(_0x152d93,_0x68cd72):_0x152d93,_0x4b0fe1=_0x4b1239['length']-0x1,_0x34e4d1;_0x4b0fe1>=0x0;_0x4b0fe1--)(_0x34e4d1=_0x4b1239[_0x4b0fe1])&&(_0x4ca8a1=_0x34e4d1(_0x4ca8a1)||_0x4ca8a1);return _0x4ca8a1;},_0x583fe0=(_0x2a2586,_0x390ce4)=>(_0x3dfbbb,_0x6ab86e)=>_0x390ce4(_0x3dfbbb,_0x6ab86e,_0x2a2586);_0x23269f[_0x444a33(0x1ed)]=class{constructor(_0x12cf74,_0x1146ef){var _0xa2ad5b=_0x444a33;this[_0xa2ad5b(0x219)]=_0x12cf74,this['_httpService']=_0x1146ef;}async['getUnitOnRev'](_0x2e43a7,_0x2c4194){var _0x290aba=_0x444a33,_0x520dfb;const {unitID:_0x755a5f,type:_0x8f3558,revision:_0x41cbbf=0x0}=_0x2c4194,_0x5c5977=this[_0x290aba(0x1c2)]()+'/'+_0x8f3558+_0x290aba(0x30b)+_0x755a5f+_0x290aba(0x143)+_0x41cbbf,_0x4ee2df=(await this[_0x290aba(0x303)][_0x290aba(0x35f)](_0x5c5977))[_0x290aba(0x1df)],_0x101f60=(_0x520dfb=_0x4ee2df['snapshot'])==null?void 0x0:_0x520dfb[_0x290aba(0x33b)];if(_0x101f60){const _0x3b1a73=_0x101f60==null?void 0x0:_0x101f60[_0x290aba(0x19c)],_0x46ef78=_0x1cf310['textEncoder'][_0x290aba(0x395)](_0x1cf310[_0x290aba(0x259)](_0x3b1a73));_0x101f60['originalMeta']=_0x46ef78,Object['entries'](_0x101f60[_0x290aba(0x1a4)])[_0x290aba(0x437)](([,_0x52c8ba])=>{var _0x1d8b56=_0x290aba;const _0x1dc59c=_0x52c8ba[_0x1d8b56(0x19c)],_0x4d6df5=_0x1cf310['textEncoder'][_0x1d8b56(0x395)](_0x1cf310[_0x1d8b56(0x259)](_0x1dc59c));_0x52c8ba['originalMeta']=_0x4d6df5;});}return _0x4ee2df;}async[_0x444a33(0x14a)](_0x218e8f,_0x27c051){var _0x149a5e=_0x444a33;const {unitID:_0x180658,type:_0x347904,blockID:_0x1217e4}=_0x27c051,_0x134cd8=this[_0x149a5e(0x378)]()+'/'+_0x347904+_0x149a5e(0x30b)+_0x180658+'/block/'+_0x1217e4;return(await this[_0x149a5e(0x303)][_0x149a5e(0x35f)](_0x134cd8))[_0x149a5e(0x1df)];}async[_0x444a33(0x33e)](_0x44df75,_0x6c5ec0){var _0x422be1=_0x444a33;const {unitID:_0x143f3d,type:_0x285869,blockID:_0x58179f}=_0x6c5ec0,_0x25cdfb=this[_0x422be1(0x378)]()+_0x422be1(0x241)+_0x285869+_0x422be1(0x30b)+_0x143f3d+_0x422be1(0x241)+_0x58179f;return(await this['_httpService']['get'](_0x25cdfb))['body'];}async['fetchMissingChangesets'](_0x3491ea,_0x5a0d2a){var _0x216be8=_0x444a33;const {unitID:_0x16bc85,type:_0x37a29a,from:_0x1f4eb2,to:_0x45e9ff}=_0x5a0d2a,_0x1e666e=this['_getAPIPrefix']()+'/'+_0x37a29a+_0x216be8(0x30b)+_0x16bc85+'/fetchmissing?from='+_0x1f4eb2+_0x216be8(0x245)+_0x45e9ff;return(await this[_0x216be8(0x303)][_0x216be8(0x35f)](_0x1e666e))[_0x216be8(0x1df)];}[_0x444a33(0x1c2)](){var _0x20562d=_0x444a33,_0x51df0b;return(_0x51df0b=this[_0x20562d(0x219)][_0x20562d(0x3d6)](_0x1fb3c1))!=null?_0x51df0b:this[_0x20562d(0x378)]();}[_0x444a33(0x378)](){var _0x51b6e8=_0x444a33,_0x51403b;const _0x5d6505=this[_0x51b6e8(0x219)][_0x51b6e8(0x3d6)](_0x420549);return(_0x51403b=_0x5d6505==null?void 0x0:_0x5d6505[_0x51b6e8(0x153)])!=null?_0x51403b:_0x32f745;}async[_0x444a33(0x416)](_0x3f6616,_0x894237){var _0x1c5ea6=_0x444a33;const _0x30d76f=_0x1c5ea6(0x34d)+_0x894237[_0x1c5ea6(0x20a)]+_0x1c5ea6(0x30b)+_0x894237[_0x1c5ea6(0x2b3)]+'/resources';return(await this[_0x1c5ea6(0x303)][_0x1c5ea6(0x35f)](_0x30d76f,{'params':{'resourceId':JSON[_0x1c5ea6(0x3b4)](_0x894237[_0x1c5ea6(0x262)])}}))['body'];}[_0x444a33(0x481)](){var _0x23a74d=_0x444a33;throw new Error(_0x23a74d(0x168));}[_0x444a33(0x469)](){var _0x3f289c=_0x444a33;throw new Error(_0x3f289c(0x168));}[_0x444a33(0x468)](){var _0x3690c3=_0x444a33;throw new Error(_0x3690c3(0x168));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x444a33(0x34b)](){var _0xf347a1=_0x444a33;throw new Error(_0xf347a1(0x168));}[_0x444a33(0x451)](){var _0x2a568e=_0x444a33;throw new Error(_0x2a568e(0x168));}},_0x23269f['SnapshotServerOverHTTPService']=_0x16e778([_0x583fe0(0x0,_0x58829f[_0x444a33(0x142)]),_0x583fe0(0x1,_0x58829f[_0x444a33(0x275)](_0xd2c5f8[_0x444a33(0x1e3)]))],_0x23269f['SnapshotServerOverHTTPService']);var _0xc66c3e=Object[_0x444a33(0x41d)],_0x1b1090=(_0x563108,_0x13b798,_0x3cd00a,_0x5deb75)=>{var _0x5179aa=_0x444a33;for(var _0x597525=_0x5deb75>0x1?void 0x0:_0x5deb75?_0xc66c3e(_0x13b798,_0x3cd00a):_0x13b798,_0x12555b=_0x563108[_0x5179aa(0x3bd)]-0x1,_0xcb6e84;_0x12555b>=0x0;_0x12555b--)(_0xcb6e84=_0x563108[_0x12555b])&&(_0x597525=_0xcb6e84(_0x597525)||_0x597525);return _0x597525;},_0x4405e8=(_0x3c4bd6,_0x2cedfa)=>(_0x5249ae,_0x3401d3)=>_0x2cedfa(_0x5249ae,_0x3401d3,_0x3c4bd6);_0x23269f[_0x444a33(0x2db)]=class extends _0x58829f[_0x444a33(0x313)]{constructor(_0x47993c,_0x16baf2,_0x5bca7c,_0x314f90,_0x2872ea){var _0x2f3369=_0x444a33;super(_0x47993c,_0x16baf2,_0x5bca7c),this[_0x2f3369(0x325)]=_0x314f90,this[_0x2f3369(0x41c)]=_0x2872ea;}[_0x444a33(0x1d8)](_0x14abb2,_0x1a3494){var _0x5566a5=_0x444a33;const _0x2e6217=this[_0x5566a5(0x358)](_0x14abb2);if(_0x2e6217)try{const _0x2146f9=this[_0x5566a5(0x417)](_0x2e6217,_0x1a3494);this[_0x5566a5(0x189)](_0x14abb2,_0x2146f9);}catch(_0x1d7cea){this[_0x5566a5(0x41c)][_0x5566a5(0x3f8)](_0x5566a5(0x22e),_0x1d7cea),this[_0x5566a5(0x169)](_0x14abb2);}const _0x4dfbb2=this[_0x5566a5(0x3af)](_0x14abb2);if(_0x4dfbb2)try{const _0x313cad=this[_0x5566a5(0x417)](_0x4dfbb2,_0x1a3494);this['_substituteRedoStack'](_0x14abb2,_0x313cad);}catch(_0x5ee7e6){this['_logService'][_0x5566a5(0x3f8)](_0x5ee7e6),this['_clearRedo'](_0x14abb2);}}['_clearUndo'](_0x458aa8){var _0x1a6aef=_0x444a33;const _0x293276=this[_0x1a6aef(0x358)](_0x458aa8);_0x293276&&(_0x293276[_0x1a6aef(0x3bd)]=0x0,this[_0x1a6aef(0x37c)]());}['_clearRedo'](_0x5e9c24){var _0x1caf0c=_0x444a33;const _0x2c195b=this[_0x1caf0c(0x3af)](_0x5e9c24);_0x2c195b&&(_0x2c195b[_0x1caf0c(0x3bd)]=0x0,this['_updateStatus']());}[_0x444a33(0x189)](_0x20e81a,_0x3c9d09){var _0x29cbf0=_0x444a33;this[_0x29cbf0(0x194)][_0x29cbf0(0x214)](_0x20e81a,_0x3c9d09),this[_0x29cbf0(0x37c)]();}[_0x444a33(0x31e)](_0x5d8416,_0x17fd42){var _0x74b703=_0x444a33;this[_0x74b703(0x1bc)][_0x74b703(0x214)](_0x5d8416,_0x17fd42),this['_updateStatus']();}[_0x444a33(0x417)](_0x562f86,_0x45975c){var _0x4beb0e=_0x444a33;const _0x1c351f=[];let _0x362d86=_0x45975c,_0xeb4702=_0x45975c;for(let _0x365691=_0x562f86['length']-0x1;_0x365691>=0x0;_0x365691--){const {unitID:_0x4ba4d1,undoMutations:_0x40cebe,redoMutations:_0x13866d}=_0x562f86[_0x365691],_0x11d7f5=this[_0x4beb0e(0x325)][_0x4beb0e(0x42b)](_0x362d86,_0x40cebe),_0x536ed7=this[_0x4beb0e(0x325)][_0x4beb0e(0x42b)](_0xeb4702,_0x13866d);if(_0x1cf310[_0x4beb0e(0x49f)](_0x11d7f5)||_0x1cf310[_0x4beb0e(0x49f)](_0x536ed7)){this[_0x4beb0e(0x41c)][_0x4beb0e(0x3f8)](_0x4beb0e(0x22e),_0x4beb0e(0x3df),_0x11d7f5,_0x536ed7);break;}_0x362d86=_0x11d7f5[_0x4beb0e(0x337)],_0xeb4702=_0x536ed7['c1Prime'],_0x1c351f[_0x4beb0e(0x332)]({'unitID':_0x4ba4d1,'undoMutations':_0x11d7f5[_0x4beb0e(0x36c)],'redoMutations':_0x536ed7[_0x4beb0e(0x36c)]});}return _0x1c351f[_0x4beb0e(0x101)]();}},_0x23269f['CollaborativeUndoRedoService']=_0x1b1090([_0x4405e8(0x0,_0x58829f[_0x444a33(0x2df)]),_0x4405e8(0x1,_0x58829f[_0x444a33(0x340)]),_0x4405e8(0x2,_0x58829f[_0x444a33(0x38f)]),_0x4405e8(0x3,_0x1cf310[_0x444a33(0x355)]),_0x4405e8(0x4,_0x58829f[_0x444a33(0x352)])],_0x23269f['CollaborativeUndoRedoService']);var _0x4ed43e=Object[_0x444a33(0x1f8)],_0x378437=Object[_0x444a33(0x41d)],_0x12dbfc=(_0x4b3bf3,_0x53587c,_0x4323d0)=>_0x53587c in _0x4b3bf3?_0x4ed43e(_0x4b3bf3,_0x53587c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4323d0}):_0x4b3bf3[_0x53587c]=_0x4323d0,_0x407537=(_0x10c923,_0x458ed8,_0x14e073,_0x375cf7)=>{for(var _0x4cadfa=_0x375cf7>0x1?void 0x0:_0x375cf7?_0x378437(_0x458ed8,_0x14e073):_0x458ed8,_0x40cb91=_0x10c923['length']-0x1,_0x26a8b8;_0x40cb91>=0x0;_0x40cb91--)(_0x26a8b8=_0x10c923[_0x40cb91])&&(_0x4cadfa=_0x26a8b8(_0x4cadfa)||_0x4cadfa);return _0x4cadfa;},_0x58b5e2=(_0x3bf21d,_0x573409)=>(_0x7ee47e,_0x1853f0)=>_0x573409(_0x7ee47e,_0x1853f0,_0x3bf21d),_0x31d4db=(_0x9545ad,_0x493dd3,_0x1e4c16)=>_0x12dbfc(_0x9545ad,_0x493dd3+'',_0x1e4c16);const _0x18b1a9=_0x444a33(0x279);_0x23269f[_0x444a33(0x3f1)]=class extends _0x58829f[_0x444a33(0x359)]{constructor(_0x5d535c,_0x321947,_0x88a22a,_0x4c98c1){var _0x40314e=_0x444a33;super(),_0x11728e(this,_0x40314e(0x296)),(this[_0x40314e(0x41c)]=_0x321947,this['_injector']=_0x88a22a,this['_configService']=_0x4c98c1);const {..._0x36414a}=_0x58829f['merge']({},_0x50290f,_0x5d535c);if(!_0x36414a['socketService'])throw new Error(_0x40314e(0x231));this[_0x40314e(0x296)]=_0x36414a,this['_configService']['setConfig'](_0x420549,_0x36414a);}[_0x444a33(0x44e)](){var _0x163317=_0x444a33;this[_0x163317(0x14e)](),this[_0x163317(0x160)]();}['_registerDependencies'](){var _0x27ac4d=_0x444a33,_0x2df17f,_0x2f4f1c;this[_0x27ac4d(0x2ba)][_0x27ac4d(0x2c5)](_0x58829f[_0x27ac4d(0x128)])&&this[_0x27ac4d(0x41c)][_0x27ac4d(0x3f8)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x59273d=_0x58829f[_0x27ac4d(0x398)]([[_0x58829f['IUndoRedoService'],{'useClass':_0x23269f['CollaborativeUndoRedoService']}],[_0x23269f[_0x27ac4d(0x226)]],[_0x23269f[_0x27ac4d(0x43d)]],[_0x23269f['SheetTransformSelectionsService']],[_0x62962d],[_0x4eb49c],[_0x4b42a2],[_0x55ba0c],[_0x5a0744],[_0x23269f['DataLoaderService']],[_0x4161aa,{'useClass':this['_config'][_0x27ac4d(0x102)]}],[_0x1cf310[_0x27ac4d(0x1bf)],{'useClass':_0x23269f[_0x27ac4d(0x1ed)]}],[_0x58829f[_0x27ac4d(0x1ff)],{'useClass':_0x23269f['AuthzIoHttpService']}],[_0x516017[_0x27ac4d(0x3bc)],{'useClass':_0x23269f[_0x27ac4d(0x443)]}],[_0x58829f[_0x27ac4d(0x2a0)],{'useClass':_0x23269f[_0x27ac4d(0x384)]}],[_0x23269f['CollaborationController']],[_0x56f53c]],(_0x2df17f=this[_0x27ac4d(0x296)])==null?void 0x0:_0x2df17f[_0x27ac4d(0x184)]);if(!((_0x2f4f1c=this['_config'])!=null&&_0x2f4f1c[_0x27ac4d(0x35b)])){const _0x3572b2=_0x59273d['findIndex'](([_0x4d0ca0])=>_0x4d0ca0===_0x1fbfd9);_0x3572b2!==-0x1&&_0x59273d['splice'](_0x3572b2,0x1);}_0x58829f['registerDependencies'](this[_0x27ac4d(0x2ba)],_0x59273d);}['_initDependencies'](){var _0xf3eab2=_0x444a33,_0x180b4b,_0x13ba0c,_0x5f0afd;this[_0xf3eab2(0x2ba)][_0xf3eab2(0x35f)](_0xd2c5f8[_0xf3eab2(0x1e3)])[_0xf3eab2(0x2b9)]({'priority':0x14,'interceptor':_0xd2c5f8[_0xf3eab2(0x1ca)]({'maxParallel':0x6})}),(_0x180b4b=this[_0xf3eab2(0x296)])!=null&&_0x180b4b[_0xf3eab2(0x2e7)]||(_0x13ba0c=this[_0xf3eab2(0x2ba)][_0xf3eab2(0x35f)](_0x59fe82,_0x58829f['Quantity'][_0xf3eab2(0x25e)]))==null||_0x13ba0c[_0xf3eab2(0x455)](),(_0x5f0afd=this[_0xf3eab2(0x296)])!=null&&_0x5f0afd[_0xf3eab2(0x494)]&&_0x58829f[_0xf3eab2(0x34f)](this[_0xf3eab2(0x2ba)],[[_0x62962d]]),_0x58829f[_0xf3eab2(0x34f)](this[_0xf3eab2(0x2ba)],[[_0x4eb49c],[_0x23269f['CollaborationController']],[_0x55ba0c]]);}},_0x31d4db(_0x23269f[_0x444a33(0x3f1)],_0x444a33(0x338),_0x18b1a9),_0x23269f[_0x444a33(0x3f1)]=_0x407537([_0x58829f['DependentOn'](_0x1cf310[_0x444a33(0x1c7)],_0xd2c5f8['UniverNetworkPlugin']),_0x58b5e2(0x1,_0x58829f[_0x444a33(0x352)]),_0x58b5e2(0x2,_0x58829f['Inject'](_0x58829f[_0x444a33(0x149)])),_0x58b5e2(0x3,_0x58829f[_0x444a33(0x142)])],_0x23269f[_0x444a33(0x3f1)]),_0x23269f[_0x444a33(0x1b6)]=_0x420549,_0x23269f[_0x444a33(0x435)]=_0x34ef76,_0x23269f[_0x444a33(0x45e)]=_0x258302,_0x23269f[_0x444a33(0x492)]=_0x5a0744,_0x23269f[_0x444a33(0x1a7)]=_0x4b42a2,_0x23269f[_0x444a33(0x2a6)]=_0x433089,_0x23269f[_0x444a33(0x2b5)]=_0x545c2c,_0x23269f[_0x444a33(0x46c)]=_0x32d380,_0x23269f[_0x444a33(0x413)]=_0x2ac995,_0x23269f[_0x444a33(0x3ba)]=_0x3c3820,_0x23269f[_0x444a33(0x261)]=_0x4161aa,_0x23269f[_0x444a33(0x2d0)]=_0x59fe82,_0x23269f[_0x444a33(0x190)]=_0x1339b0,_0x23269f[_0x444a33(0x456)]=_0x1fbfd9,_0x23269f[_0x444a33(0x371)]=0x3e8,_0x23269f[_0x444a33(0x410)]=_0x4a6f0b,_0x23269f[_0x444a33(0x2f9)]=_0xf7335d,_0x23269f[_0x444a33(0x286)]=_0x5857f1,_0x23269f[_0x444a33(0x424)]=_0xd0cc91,_0x23269f['UnitStatus']=_0x2db7f5,_0x23269f['deserializeToCombResponse']=_0x2e2d3f,_0x23269f[_0x444a33(0x33a)]=_0x5436ac,_0x23269f[_0x444a33(0x2d9)]=_0x84fa5e,Object[_0x444a33(0x1f8)](_0x23269f,Symbol[_0x444a33(0x10a)],{'value':_0x444a33(0x330)});}));function _0xac1b(_0x1b8ef6,_0x5ec5e2){_0x1b8ef6=_0x1b8ef6-0xf8;var _0x195dad=_0x195d();var _0xac1ba8=_0x195dad[_0x1b8ef6];return _0xac1ba8;}function _0x195d(){var _0x5e79b0=['PENDING','JOIN_ROOM_FULL','_data','CollaborationEvent','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_unlockTransition','_getSendChangesetTimeout','catch','NOT_COLLAB','_retryCount','has','joinEvent','@univerjs/drawing','getCurrentSelections','CompressMutationService','_entityInit$','SYNCED','compose','requireSession','PERMISSION_DENIED','_onConnectionOpen','ILocalCacheService','src','_checkMissing','offline','UniverTelemetry','memberID','dispose$','BehaviorSubject','_tryEnsureSocket','serializeCombRequest','ws://127.0.0.1:8000/universer-api/comb/connect','CollaborativeUndoRedoService','next','ENTITLE_INVALID_COUPON_CODE','_commentService','IUniverInstanceService','_socket$','msCrypto','ONLINE','DEFAULT_FILE_NAME','COMPRESS_MUTATION_SEND','FETCH_MISS','_incrementRevisionNumber','enableOfflineEditing','_listenToNetworkCondition','awaiting_with_pending','UniverDrawing','_members','_onConflict','Could\x20not\x20dynamically\x20require\x20\x22','resend','reject','LIVESHARE_REQUEST_HOST','encryptBlock','_scheduleCompleteTimestamp','getFocusedUnit','@univerjs/core','amd','image/gif','YUUMI_UNABLE_LOAD_URL','_localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','NO_OTHER_CLIENTS_EDITING','getCurrentUser','objects','ALREADY_EXISTS','focused$','not_collab','getImageSourceCache','__creator','status$','_httpService','_nRounds','PAYMENT_CHANNEL_NOT_SUPPORT','append','toDisposable','avatar','getUnitType','sendChangesetTimeout','/unit/','isArray','/universer-api/authz','requestParams','_status$','Error\x20on\x20receiving\x20event','UNKNOWN_CODE','getGlobalObject','LocalUndoRedoService','INVALID_ARGUMENT','join','refreshPermission','_map','CHANGESET_ACK','_getCtorByUniverType','OfflineState','InsertSheetMutation','_unitID','createInstance','_substituteRedoStack','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','localCacheService','_joinRoom','JOIN_ROOM_NOT_EXISTS','BlockCipher','_onMessage','_transformService','\x20-\x20','mixIn','_telemetryInfo','@univerjs/network','appendMutation','_iv','getTypeOfUnitAdded$','&assign=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_submitChangeset','Module','enc','push','REDEMPTION_CODE_INACTIVE','userID','_initRequestHeader','APPLY_PERMISSION_DENIED','c1Prime','pluginName','_revisionService','getLocalCacheKey','workbook','_onRemoteRejected','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getDeserializedSheetBlock','_transformRemoteChangesetByIMECache','ICommandService','conflict','_mode','USERS_LEAVE','_createHandler','SOCKET_FAILED_RETRY','_resendTimer','generateRandomId','updateMember','collaboratorID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','copyFileMeta','_clearCollaborationTimeoutTimer','/universer-api/snapshot/','readAsDataURL','touchDependencies','MOBILE_VERIFY_CODE_MISMATCH','map','ILogService','INTERNAL_ERROR','StreamCipher','ITransformService','selections','RECV','_getUndoStack','Plugin','blockSize','enableSingleActiveInstanceLock','USER_IS_ANONYMOUS','CHANGESET_REVISION_CONFILICT','revision','get','SyncedState','_keySchedule','actions','close','DataLoaderService','_HTTPService','mutations','changesets','[OfflineState]:\x20received\x20acknowledgement.','collaMsg','unsubscribe','/-/object/list','m2Prime','MOBILE_HAS_BEEN_BOUND','REDEMPTION_CODE_NOT_STARTED','_parse','toggleOnline','LOCAL_CACHE_INTERVAL','LIVESHARE_OPERATION','disposeWithMe','PERMISSION_REJ','substr','rev','_handlerCallback','_getAPIPrefix','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onTransformRemoteChangesetByIMECache','liveShareNewHost','_updateStatus','RETRY_CONNECTING_MAX_COUNT','UniverDocs','fetch_missing','_prevBlock','/object/','resolveWithBasePath','state','MentionIoHttpService','_event$','_clearScheduledTask','UniverNetwork','executeCommand','RevisionService','string','LICENSE_DISTRO_REJECTED','lib','exports','editing\x20status\x20changed\x20to','IContextService','CipherParams','_iKey','_snapshotServerService','withCredentials','clone','encode','_commandService','SUBMIT_CHANGESET','mergeOverrideWithDependencies','members$','CLOSE_ROOM','headers','LIVESHARE_NEW_HOST','_invKeySchedule','_emitMembers','_exhaustRemoteChangesetQueue','/role','abs','reqId','_state$','_univerInstanceService','_onJoinRoomEvent','transformSelections','range','Rectangle','EMAIL_HAS_BEEN_BOUND','DisposableCollection','_transformSelections','_key','deepClone','_telemetryService','_getRedoStack','eventID','setWaitCount','CURRENT_STATUS_CANNOT_OPERATE','_commentUpdate$','stringify','AwaitingWithPendingState','parseChangesetToProtocol','_onOffline','complete','ClipsheetFragments','HEARTBEAT_TIMEOUT_KEY','JOIN_ROOM_FAILED','IImageIoService','length','code','AwaitingState','getCollabEntity$','target','_acknowledgedAwaitingChangeset','floor','hasOwnProperty','_process','\x0aAfter:\x20','decrypt','onCommentUpdate','WorkbookEditablePermission','_localCacheService','UPDATE_PERMISSION_OBJ','_rescheduleHeartbeat','hostname','61603QZiUCk','HMAC','_getDownloadEndpointURL','createSocket','_entities','SNAPSHOT_HAS_BEEN_REMOVED','getUnit','REDEMPTION_CODE_FULLY_REDEEMED','getConfig','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getMemberID','hasher','10KsrTrO','updateCollaborator','onRemoteRetry','_applyRemoteChangeset','transformStack\x20failed!','ENTITLE_COUPON_USED_UP','CHANGESET_SHOULD_RETRY','editingUnit','joinRsp','_clearRetryConnectingTimer','PERSON','_changesetReqId','APPLY_NON_SEQUENTIAL_REVISION','random','_sessionStatus$','_toggleOffline','cfg','[SyncedState]:\x20received\x20acknowledgement.','getWorkbookSelections','getSheetId','open$','includes','UniverCollaborationClientPlugin','updateOfflineData','rxjs/operators','loadSheet','commentUpdate$','save\x20fail\x20reason\x20is\x20','location','error','_socket','_sendHeartbeatTimer','UPDATE_CURSOR','_initUnitPermissionChange','replace','session.room-not-exists','getInterceptPoints','charCodeAt','csRejEvent','CONFLICT','_reverseMap','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CONNECTOR_DATA_TOO_LARGE','?size=','_hasher','univer-pro.collaboration-client.network-condition.service','Hex','splice','connection\x20error','_decreaseWaiting','from','Hasher','subUnitId','LOCAL_CACHE_INTERVAL_KEY','_cipher','Encryptor','HEARTBEAT_INTERVAL_KEY','__esModule','_transformIMECache','getResourcesRequest','_transformStack','_replaceFileID','_sessions','loadUnit','__splitChunk__','_logService','getOwnPropertyDescriptor','params','CollaborationSession','CHANGESET_REJ','_sendingTimer','Tools','buffer','SessionStatus','_memberService','REDEMPTION_CODE_HAS_BEEN_CREATED','MergeInterceptorFactory','OpenSSL','createEncryptor','indexOf','transformMutationsWithChangeset','subscribe','sessionStatus','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','post','SetSelectionsOperation','filter','onStateChange','isPermissionRej','CollaborationStatus','_pendingMutations','forEach','UNISCRIPT_RUN','send','SNAPSHOT_INVALID_SNAPSHOT','decryptBlock','_socketReady','MemberService','processBlock','_candidateSocket','/universer-api/uniscript','@univerjs-pro/collaboration','formatter','CollaborationImageIoService','_shouldReportTelemetry','awaitingChangeset','_resendWithTimeout','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','[CollaborationSession]','getActiveSheet','pending','FETCH_MISSING','_sendHeartbeat','onStarting','5342152cwGMhi','MentionType','getLatestCsReqIdBySid','startsWith','_collaborationPaused','SHOULD_CLOSE_CONN','disableLocalCache','ISingleActiveUnitService','UniverCore','[OfflineState]:\x20received\x20changeset.','debug','synced','APPLY_REVISION_CONFILICT','OTHER_CLIENTS_EDITING','_onRemoteChangeset','CollaborationUIEventId','iterations','GLOBAL_ROOMS_CNT_EXCEEDS','_onUserLeave','YUUMI_ASYNCIO_CANCELLED','_sheetTransformSelectionsService','_onUserJoin','sin','[OfflineState]:\x20received\x20rejection.','add','saveSheetBlock','updateSnapshot','_getSignURL','701901vFEZXO','DEFAULT_WS_SESSION_TICKET_URL','_createHelper','_clearTimeoutTimer','\x20in\x20_schedule.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','href','deleteCollaborator','HEARTBEAT','capture','ceil','update','_clearHeartbeatTimer','incrementRevOfUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','CollaborationController','status','shareReplay','createCollaborator','[SyncedState]:\x20received\x20rejection.','739828SXsbGN','saveSnapshot','merge','[CollaborationState]:\x20apply\x20error!','YUUMI_AI_RUN_FAILED','message$','init','ciphertext','_changesetSessionId','_permissionService','YUUMI_ALL_TABLES_IS_INVALID','UNRECOGNIZED','_oKey','take','INVITE_CODE_REQUIRED','then','PY_RUNTIME_SCRIPT_ERROR','_collaborationUIEventService','CollaborationUIEventService','listCollaborators','enableAuthServer','_getUploadFileURL','_waitCount','responseType','REDEMPTION_USER_NOT_ELIGIBLE','_transitionLocked','WECHAT_HAS_BEEN_BOUND','error$','Optional','UNIVER_PROJECT','key','isTransformMutationsWithChangesetFailure','DATA_SOURCE_TOO_LARGE','_init','BASE64','max','LICENSE_IMPORT_SIZE_EXCEEDED','every','_clearLocalCache','_syncEditingCollabCursor','_initMergeInterceptor','@univerjs/sheets','_getCurrentRevision','randomBytes','HEARTBEAT_TIMEOUT','createIdentifier','getCollabEntity','reverse','socketService','UNAUTHENTICATED','sid','LOGIN_TOKEN_PROCESSING_FAILED','AWAITING_WITH_PENDING','_eventService','setShowComponents','ConflictState','toStringTag','loadUnitOfRevision','EmptyMutationInfo','UNIVER_SLIDE','_transformRemoteChangesetByStateCache','ERROR_IMAGE','_replayCachedMutations','univer-pro.collaboration-client-socket-service','LICENSE_EXPORT_SIZE_EXCEEDED','find','_remoteChangesetQueue','routeKey','APPLY_REJECT','create','auth.needGotoLoginAlert','BlockCipherMode','ENSURE_SNAPSHOT_EXECUTION','clear','ERROR_IMAGE_TYPE','_lockTransition','onTransformRemoteChangesetByStateCache','_doCreateSocket','SHA1','INGEST','name','ENTITLE_COUPON_EXPIRED','getAllMembers','PendingState','repeat','parse','IUndoRedoService','_sender','ENTITLE_USE_COUPON_NOT_1ST_TRADE','[DataLoaderService]','HmacSHA1','_onRemoteACK','session.room-permission-denied','COMMENT_UPDATE','_resendTimeout','isTransformChangesetsSuccess','_doReset','objectActions','UUID','onLocalMutation','NEW_CHANGESETS','_removeRoom','closeSession','prototype','listRoles','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_INSUFFICIENT_QUOTA','now','_unitInfo$','onRemoteAck','SheetTransformSelectionsService','Decryptor','IConfigService','/rev/','ITelemetryService','extend','IPermissionService','isInternalEditorID','reset','Injector','getSheetBlock','loadOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','baseRev','_registerDependencies','/universer-api/oidc/authpage','socket$','unpad','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','snapshotServerUrl','4538925tCPpSo','MSG_FOR_ERROR','words','_doCryptBlock','__Key__','unitId\x20is\x20not\x20found','HTTPRequest','USER_NOT_FOUND','EvpKDF','OFFLINE','PasswordBasedCipher','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_initDependencies','collaboration_new_changeset','equals','session.join-failed','_compressMutationService','_imageSourceCache','_onCombEvent','CommandType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearUndo','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onMissingChangesets','WordArray','JSONX','byteLength','getImage','[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.','7JOAZxJ','/universer-api/user/session-ticket','CBC','close$','stopTime','mode','YUUMI_SUBSCRIPTION_NOT_FOUND','/-/object/-/batch_allowed','resolve','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','pauseCollaboration','socket\x20open.','reduce','Latin1','collaborators','subject','byteOffset','COMPRESS_MUTATION_APPLY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','override','_createInitialStateImpl','?url=','liveShareOperation','{fileID}','_substituteUndoStack','FileId','[PendingState]:\x20received\x20acknowledgement.','\x20to\x20','_members$','action','transformChangesets','INetworkConditionService','_collaborationTimeoutTimer','_singleActiveUnitService','_showConflictNotification','_undoStacks','_DEC_XFORM_MODE','ENTITLE_DUP_SUBSCRIPTION','image/jpg','Base64','LIVESHARE_FETCH_OPERATIONS','salt','unknown','originalMeta','CollaborationSocketService','downloadEndpointUrl','authzUrl','url','readInt32LE','onload','function','sheets','28cXTNdO','keySize','CommentService','/universer-api/snapshot','collabSubmitChangesetUrl','commentUpdateEvent','fromCharCode','allowed','@univerjs-pro/license','_maxTotalRetryTimeout','_doFinalize','event$','cmd','_waitForHeartbeatResponse','getValue','result','slice','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clamp','isTransformMutationsWithChangesetSuccess','ENTITLE_REPORT_LIMIT_EXCEED','UserManagerService','_socketService','_redoStacks','compute','_onRemoteRetry','ISnapshotServerService','AUTHORIZE_CODE_ILLEGAL','objectType','getSnapshotAPIPath','_roomCreated$','_type','EMAIL_VERIFY_CODE_MISMATCH','getCurrentRevOfUnit','UniverCollaborationPlugin','INVALID_INVITE_CODE','saveImage','ThresholdInterceptorFactory','Workbook','_stopTelemetryCollaborationNewChangeset','_handler','finalize','LEAVE','LICENSE_MAX_UNITS_EXCEEDED','Subject','onMutationExecutedForCollab','fetchThroughInterceptors','_createHmacHelper','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Pkcs7','padding','transformUndoRedo','getTypeOfUnitDisposed$','Univer','delay','enableCollaboration','dispose','JOIN','body','RichTextEditingMutation','POST','INVITE_CODE_HAS_BEEN_UES','HTTPService','12FFXcbZ','Base','min','Undefined','crypto','toString','INVITE_CODE_ALREADY_BOUND','objectID','execute','SnapshotServerOverHTTPService','_isPermissionRej','NOT_FOUND','_userManagerService','Malformed\x20UTF-8\x20data','emitEvent','UnitEmbedded','onMissedChangesetFetched','leaveEvent','_append','localeService','defineProperty','/universer-api/stream/file/upload','_schedule','UniverProLicense','_snapshotService','updatePermissionPoint','@univerjs/telemetry','IAuthzIoService','size','session','onRemoteRej','REDEMPTION_INVALID_CODE','_ENC_XFORM_MODE','@univerjs/docs','_getLoginPath','_retryConnectingTimer','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','type','readyForCollab','UniverProCollaboration','_disableEditing','symbol','csShouldRetryEvent','19168248QqVCHh','mapDocumentTypeToUniverType','loadDoc','fromCollab','set','file','JOIN_ROOM_PERMISSION_DENIED','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformIME','_configService','SnapshotService','USERS_ENTER','takeUntil','_networkConditionService','_getAPIPrefixPath','_initCloseConn','$super','_keyPriorReset','signUrlServerUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','roles','_awaitingChangeset','CollaborationSessionService','_createSocket','duration','2928342oaewLT','UNIVER_SHEET','format','asObservable','parseProtocolChangeset','[CollaborationUndoRedoService]','removeMember','HELLO','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HmacMD5','YUUMI_URL_COL_OUT_OF_RANGE','_tryReconnect','_startCollaboration','ERROR_EXCEED_SIZE','c2Prime','PSEUDO_FETCH_MISSING_RESULT','BufferedBlockAlgorithm','_onFetchMissResult','AES','FetchingMissState','_updateState','sessionStatus$','awaiting','ISocketService','/block/','_state','pad','ENTITLE_NEED_BILLING_ADDRESS','&to=','HEARTBEAT_INTERVAL','Disposable','_hash','patch','_transformStateCache','OTHER_CLIENT_EDITING','delete','object','kdf','textRanges','sigBytes','_change$','newCsEvent','onSyncEditingCollabCursor','submit\x20changeset\x20error!','SheetsSelectionsService','apply','UNIVER_DOC','_roomMembers','b64DecodeUnicode','_executeRemoteChangeset','NoPadding','method','ImageSourceType','OPTIONAL','ERROR_AGAIN','getUnitId','ICollaborationSocketService','resourceIDs','roomInfos','RxDisposable','addHandlerCallback','_onLocalMutation','values','[CollaborationSessionService]','reconnect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','concat','_timeoutTimer','call','onTransformState','ImageUploadStatusType','SUBMIT_CHANGESET_TIMEOUT','_undoRedoService','SheetPermissionInitController','onSendChangeset','Inject','MD5','UniverInstanceType','TOO_MANY_REQUESTS','UNIVER_COLLABORATION_CLIENT_PLUGIN','_xformMode','onRemoteChangeset','DocCollaborationEntity','_transformUndoredo','algo','/new_changes','uploadFileServerUrl','_socketMessageSubscription','session.room-cnt-exceeds','LocaleService','_collabSessionService','_instanceService','RETRY_CONNECTING_MAX_COUNT_KEY','SheetCollaborationEntity','loginUrlKey','/collaborator','_doProcessBlock','YUUMI_RATE_OVER_LIMIT','LIVESHARE_TERMINATE','IDLE','onTransformSelections','LOGIN_FAILED','UserProfileImg','data','CollaborationEntity','pipe','_startTelemetryCollaborationNewChangeset','_updateLocalCache','_config','interceptor','FAIL','getRoom','_queuedRemoteChangesets','toggleOffline','_nDataBytes','Cipher','collaboration-client.local-cache-service','state$','IMentionIOService','unitId','_throwTelemetryCollaborationNewChangeset','_scheduleCollaborationTimeoutTimer','Utf8','UNKNOWN_CMD','DEFAULT_COLLAB_WEB_SOCKET_URL','SerializableCipher','image/png','getMember','SOCKET_FAILED','fetchMissingChangesets','members','encrypt','getRandomValues','_onConnectionFailed','MUTATION','AuthzIoHttpService','setCurrentUser','unitID','_collaborationSessionService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[FetchMissState]','USER_NOT_INVITED_CODE','confirm','registerHTTPInterceptor','_injector'];_0x195d=function(){return _0x5e79b0;};return _0x195d();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- (function(_0x59dde5,_0x2303b1){const _0x93e602=_0x16ef,_0x232ac4=_0x59dde5();while(!![]){try{const _0x46a01e=-parseInt(_0x93e602(0x15a))/0x1*(-parseInt(_0x93e602(0x15b))/0x2)+parseInt(_0x93e602(0x128))/0x3+parseInt(_0x93e602(0x152))/0x4+-parseInt(_0x93e602(0x151))/0x5*(parseInt(_0x93e602(0x13e))/0x6)+-parseInt(_0x93e602(0x148))/0x7*(-parseInt(_0x93e602(0x132))/0x8)+-parseInt(_0x93e602(0x125))/0x9+parseInt(_0x93e602(0x139))/0xa*(parseInt(_0x93e602(0x13a))/0xb);if(_0x46a01e===_0x2303b1)break;else _0x232ac4['push'](_0x232ac4['shift']());}catch(_0x5177ed){_0x232ac4['push'](_0x232ac4['shift']());}}}(_0x5993,0xb2a9b),function(_0x1a9af8,_0x295d74){const _0x2914b1=_0x16ef;typeof exports==_0x2914b1(0x12d)&&typeof module<'u'?_0x295d74(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x2914b1(0x14b)]?define(['exports',_0x2914b1(0x13d),_0x2914b1(0x137),_0x2914b1(0x123),_0x2914b1(0x12b),_0x2914b1(0x15f)],_0x295d74):(_0x1a9af8=typeof globalThis<'u'?globalThis:_0x1a9af8||self,_0x295d74(_0x1a9af8[_0x2914b1(0x12f)]={},_0x1a9af8['UniverProCollaborationClient'],_0x1a9af8[_0x2914b1(0x165)],_0x1a9af8[_0x2914b1(0x149)],_0x1a9af8['UniverCore'],_0x1a9af8[_0x2914b1(0x15f)]));}(this,function(_0xf300d5,_0x28d35a,_0x368f9c,_0x58843d,_0x35668c,_0x3997ac){'use strict';const _0x35545e=_0x16ef;class _0x231fe3 extends _0x368f9c[_0x35545e(0x124)]{get['CollaborationStatus'](){return _0x28d35a['CollaborationStatus'];}}_0x368f9c[_0x35545e(0x124)][_0x35545e(0x129)](_0x231fe3);var _0x46924c=Object[_0x35545e(0x15d)],_0x3a3f79=(_0x5674ed,_0x2a214d,_0x363c67,_0xcdecc6)=>{const _0x28deb7=_0x35545e;for(var _0x4a013e=_0xcdecc6>0x1?void 0x0:_0xcdecc6?_0x46924c(_0x2a214d,_0x363c67):_0x2a214d,_0x42b79d=_0x5674ed[_0x28deb7(0x154)]-0x1,_0x295ec5;_0x42b79d>=0x0;_0x42b79d--)(_0x295ec5=_0x5674ed[_0x42b79d])&&(_0x4a013e=_0x295ec5(_0x4a013e)||_0x4a013e);return _0x4a013e;},_0xd0841a=(_0x78069,_0x31a04a)=>(_0x580d61,_0x56012e)=>_0x31a04a(_0x580d61,_0x56012e,_0x78069);_0xf300d5[_0x35545e(0x135)]=class extends _0x368f9c[_0x35545e(0x143)]{constructor(_0x2e6fe6,_0x2fea1c,_0x5013e2,_0x1b0d98,_0x563da9){const _0x31860f=_0x35545e;super(),this[_0x31860f(0x126)]=_0x2e6fe6,this[_0x31860f(0x162)]=_0x2fea1c,this[_0x31860f(0x14c)]=_0x5013e2,this[_0x31860f(0x136)]=_0x1b0d98,this[_0x31860f(0x163)]=_0x563da9;}async[_0x35545e(0x133)](){const _0x1284cd=_0x35545e;return this[_0x1284cd(0x141)]();}async[_0x35545e(0x141)](){const _0x234bc5=_0x35545e;throw new Error(_0x234bc5(0x127));}async[_0x35545e(0x12e)](_0x48d217){const _0x2f9efe=_0x35545e;return this[_0x2f9efe(0x15c)](_0x48d217);}async[_0x35545e(0x15c)](_0xce332,_0x172687){const _0x380088=_0x35545e;return await this[_0x380088(0x136)]['loadSheet'](_0xce332,0x0,_0x172687)?(await this['_collaborationController'][_0x380088(0x161)](_0xce332),this[_0x380088(0x126)][_0x380088(0x14d)](_0xce332)):null;}['subscribeCollaborators'](_0x3bb3ce,_0x11b40b){const _0x3eaa70=_0x35545e,_0x7abba6=this[_0x3eaa70(0x162)][_0x3eaa70(0x14a)](_0x28d35a[_0x3eaa70(0x14e)])[_0x3eaa70(0x160)](_0x3bb3ce)[_0x3eaa70(0x147)](_0x3997ac[_0x3eaa70(0x155)](_0x284d65=>_0x284d65[_0x3eaa70(0x144)]))[_0x3eaa70(0x153)](_0x2c7c87=>_0x11b40b(Array[_0x3eaa70(0x134)](_0x2c7c87[_0x3eaa70(0x159)]())));return _0x35668c['toDisposable'](_0x7abba6);}[_0x35545e(0x158)](){const _0x3b2267=_0x35545e,_0x15de43=this['_univerInstanceService'][_0x3b2267(0x145)]();if(!_0x15de43)return _0x28d35a[_0x3b2267(0x130)][_0x3b2267(0x146)];const _0xf72ec5=this[_0x3b2267(0x163)]['getCollabEntity'](_0x15de43[_0x3b2267(0x150)]());return _0xf72ec5?_0xf72ec5[_0x3b2267(0x157)]['status']:_0x28d35a['CollaborationStatus']['NOT_COLLAB'];}},_0xf300d5[_0x35545e(0x135)]=_0x3a3f79([_0xd0841a(0x1,_0x35668c[_0x35545e(0x14f)](_0x35668c[_0x35545e(0x138)])),_0xd0841a(0x2,_0x35668c[_0x35545e(0x12a)]),_0xd0841a(0x3,_0x35668c[_0x35545e(0x14f)](_0x58843d[_0x35545e(0x156)])),_0xd0841a(0x4,_0x35668c['Inject'](_0x28d35a[_0x35545e(0x13c)]))],_0xf300d5[_0x35545e(0x135)]);class _0x260c30 extends _0x368f9c['FUniver']{[_0x35545e(0x140)](){const _0x4b1731=_0x35545e;return this[_0x4b1731(0x162)]['createInstance'](_0xf300d5[_0x4b1731(0x135)],{'getUniverSheet':_0x34696=>this[_0x4b1731(0x14d)](_0x34696)});}[_0x35545e(0x142)](_0x1d488f,_0x3d2c43,_0x4756c0){const _0x27f3c8=_0x35545e;return this[_0x27f3c8(0x162)]['get'](_0x28d35a['DataLoaderService'])['loadUnit'](_0x1d488f,_0x3d2c43,_0x4756c0);}[_0x35545e(0x12c)](_0x22f385,_0x349d35,_0xe44ee6){const _0x4e0204=_0x35545e;return this[_0x4e0204(0x162)][_0x4e0204(0x14a)](_0x28d35a[_0x4e0204(0x13f)])[_0x4e0204(0x131)](_0x22f385,_0x349d35,_0xe44ee6);}}_0x368f9c[_0x35545e(0x15e)][_0x35545e(0x129)](_0x260c30),Object[_0x35545e(0x13b)](_0xf300d5,Symbol['toStringTag'],{'value':_0x35545e(0x164)});}));function _0x16ef(_0xf40deb,_0x2736d7){_0xf40deb=_0xf40deb-0x123;const _0x59939a=_0x5993();let _0x16ef02=_0x59939a[_0xf40deb];return _0x16ef02;}function _0x5993(){const _0x403c16=['waitForRoom$','readyForCollab','_injector','_collaborationController','Module','UniverCoreFacade','@univerjs-pro/collaboration','FEnum','11988585vrivns','_handler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','629571HfaQSn','extend','IUniverInstanceService','@univerjs/core','loadServerUnitOfRevision','object','loadSheet','UniverProCollaborationClientFacade','CollaborationStatus','loadUnitOfRevision','4232WnBTQo','loadActiveSheet','from','FCollaboration','_snapshotService','@univerjs/core/facade','Injector','133390AmEZNL','319CiiUkQ','defineProperty','CollaborationController','@univerjs-pro/collaboration-client','37110BcsFCZ','DataLoaderService','getCollaboration','loadActiveSheetAsync','loadServerUnit','FBase','members$','getFocusedUnit','NOT_COLLAB','pipe','10409SXZojf','UniverProCollaboration','get','amd','_univerInstanceService','getUniverSheet','MemberService','Inject','getUnitId','915oVLTZd','5091496HDMVXX','subscribe','length','switchMap','SnapshotService','state','getCollaborationStatus','values','89923bEQwqZ','12FHaOti','loadSheetAsync','getOwnPropertyDescriptor','FUniver','rxjs'];_0x5993=function(){return _0x403c16;};return _0x5993();}
5
+ function _0x297f(_0x1301b0,_0x3fe599){_0x1301b0=_0x1301b0-0x9f;const _0xdc37c9=_0xdc37();let _0x297fb6=_0xdc37c9[_0x1301b0];return _0x297fb6;}function _0xdc37(){const _0x1a9def=['getCollabEntity','loadSheet','subscribe','pipe','FEnum','loadActiveSheet','loadUnitOfRevision','loadServerUnitOfRevision','members$','UniverProCollaboration','1683605rtRXHb','NOT_COLLAB','FUniver','_handler','MemberService','extend','get','9uZXwmg','getOwnPropertyDescriptor','loadSheetAsync','6oCZsbi','_injector','amd','Inject','length','_univerInstanceService','FCollaboration','UniverProCollaborationClient','20944290ycNerX','from','getCollaborationStatus','toStringTag','waitForRoom$','2585332FDItLz','_snapshotService','defineProperty','FBase','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','878yeJYXV','CollaborationStatus','_collaborationController','6141dAJtxj','@univerjs-pro/collaboration-client','status','120272wkBWVj','getUnitId','6350869XmpRuN','CollaborationController','2528552JErIWz','Injector','UniverCore','rxjs','values','SnapshotService','loadServerUnit','@univerjs-pro/collaboration','switchMap','@univerjs/core'];_0xdc37=function(){return _0x1a9def;};return _0xdc37();}(function(_0x31d971,_0x443ec1){const _0x330b36=_0x297f,_0x4d4550=_0x31d971();while(!![]){try{const _0x519970=parseInt(_0x330b36(0xac))/0x1+-parseInt(_0x330b36(0xa6))/0x2*(-parseInt(_0x330b36(0xa9))/0x3)+parseInt(_0x330b36(0xa1))/0x4+parseInt(_0x330b36(0xc4))/0x5+-parseInt(_0x330b36(0xce))/0x6*(-parseInt(_0x330b36(0xae))/0x7)+-parseInt(_0x330b36(0xb0))/0x8*(parseInt(_0x330b36(0xcb))/0x9)+-parseInt(_0x330b36(0xd6))/0xa;if(_0x519970===_0x443ec1)break;else _0x4d4550['push'](_0x4d4550['shift']());}catch(_0x595acf){_0x4d4550['push'](_0x4d4550['shift']());}}}(_0xdc37,0x79c28),function(_0x3a473c,_0x1e0ab9){const _0x4dce0b=_0x297f;typeof exports=='object'&&typeof module<'u'?_0x1e0ab9(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x4dce0b(0xd0)]?define(['exports',_0x4dce0b(0xaa),'@univerjs/core/facade',_0x4dce0b(0xb7),_0x4dce0b(0xb9),_0x4dce0b(0xb3)],_0x1e0ab9):(_0x3a473c=typeof globalThis<'u'?globalThis:_0x3a473c||self,_0x1e0ab9(_0x3a473c['UniverProCollaborationClientFacade']={},_0x3a473c[_0x4dce0b(0xd5)],_0x3a473c['UniverCoreFacade'],_0x3a473c[_0x4dce0b(0xc3)],_0x3a473c[_0x4dce0b(0xb2)],_0x3a473c[_0x4dce0b(0xb3)]));}(this,function(_0x57a129,_0x37f8c9,_0x311a1c,_0x2463ae,_0x5eb065,_0x5cd6da){'use strict';const _0x474aeb=_0x297f;class _0xb2fcd9 extends _0x311a1c[_0x474aeb(0xbe)]{get[_0x474aeb(0xa7)](){const _0x5d115f=_0x474aeb;return _0x37f8c9[_0x5d115f(0xa7)];}}_0x311a1c[_0x474aeb(0xbe)][_0x474aeb(0xc9)](_0xb2fcd9);var _0x26da7a=Object[_0x474aeb(0xcc)],_0x2dda61=(_0x39eb24,_0x7c9cd5,_0xd6d108,_0x4aad74)=>{const _0x2cca75=_0x474aeb;for(var _0x1cf9ac=_0x4aad74>0x1?void 0x0:_0x4aad74?_0x26da7a(_0x7c9cd5,_0xd6d108):_0x7c9cd5,_0x134dd0=_0x39eb24[_0x2cca75(0xd2)]-0x1,_0xc6fcc5;_0x134dd0>=0x0;_0x134dd0--)(_0xc6fcc5=_0x39eb24[_0x134dd0])&&(_0x1cf9ac=_0xc6fcc5(_0x1cf9ac)||_0x1cf9ac);return _0x1cf9ac;},_0xcd5f3b=(_0xa9e4ff,_0x31ba47)=>(_0x1142e7,_0x444cb9)=>_0x31ba47(_0x1142e7,_0x444cb9,_0xa9e4ff);_0x57a129['FCollaboration']=class extends _0x311a1c[_0x474aeb(0xa4)]{constructor(_0x3a305c,_0x507caa,_0x3640c7,_0x18575d,_0x2bc97d){const _0x5bd7e3=_0x474aeb;super(),this[_0x5bd7e3(0xc7)]=_0x3a305c,this[_0x5bd7e3(0xcf)]=_0x507caa,this[_0x5bd7e3(0xd3)]=_0x3640c7,this[_0x5bd7e3(0xa2)]=_0x18575d,this['_collaborationController']=_0x2bc97d;}async[_0x474aeb(0xbf)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){const _0x218291=_0x474aeb;throw new Error(_0x218291(0xa5));}async[_0x474aeb(0xbb)](_0x25cd91){const _0x3576e9=_0x474aeb;return this[_0x3576e9(0xcd)](_0x25cd91);}async[_0x474aeb(0xcd)](_0x237e76,_0x3981d6){const _0x4e2bf3=_0x474aeb;return await this[_0x4e2bf3(0xa2)][_0x4e2bf3(0xbb)](_0x237e76,0x0,_0x3981d6)?(await this[_0x4e2bf3(0xa8)]['readyForCollab'](_0x237e76),this[_0x4e2bf3(0xc7)]['getUniverSheet'](_0x237e76)):null;}['subscribeCollaborators'](_0x33aff5,_0x534446){const _0x31fb78=_0x474aeb,_0x59ae96=this['_injector']['get'](_0x37f8c9[_0x31fb78(0xc8)])[_0x31fb78(0xa0)](_0x33aff5)[_0x31fb78(0xbd)](_0x5cd6da[_0x31fb78(0xb8)](_0x165c4a=>_0x165c4a[_0x31fb78(0xc2)]))[_0x31fb78(0xbc)](_0x4c5114=>_0x534446(Array[_0x31fb78(0xd7)](_0x4c5114[_0x31fb78(0xb4)]())));return _0x5eb065['toDisposable'](_0x59ae96);}[_0x474aeb(0xd8)](){const _0x17695a=_0x474aeb,_0x4b49d1=this[_0x17695a(0xd3)]['getFocusedUnit']();if(!_0x4b49d1)return _0x37f8c9[_0x17695a(0xa7)][_0x17695a(0xc5)];const _0x2e0fce=this['_collaborationController'][_0x17695a(0xba)](_0x4b49d1[_0x17695a(0xad)]());return _0x2e0fce?_0x2e0fce['state'][_0x17695a(0xab)]:_0x37f8c9[_0x17695a(0xa7)][_0x17695a(0xc5)];}},_0x57a129[_0x474aeb(0xd4)]=_0x2dda61([_0xcd5f3b(0x1,_0x5eb065[_0x474aeb(0xd1)](_0x5eb065[_0x474aeb(0xb1)])),_0xcd5f3b(0x2,_0x5eb065['IUniverInstanceService']),_0xcd5f3b(0x3,_0x5eb065[_0x474aeb(0xd1)](_0x2463ae[_0x474aeb(0xb5)])),_0xcd5f3b(0x4,_0x5eb065[_0x474aeb(0xd1)](_0x37f8c9[_0x474aeb(0xaf)]))],_0x57a129[_0x474aeb(0xd4)]);class _0x224657 extends _0x311a1c[_0x474aeb(0xc6)]{['getCollaboration'](){const _0x784cbb=_0x474aeb;return this['_injector']['createInstance'](_0x57a129[_0x784cbb(0xd4)],{'getUniverSheet':_0x5d64ac=>this['getUniverSheet'](_0x5d64ac)});}[_0x474aeb(0xb6)](_0x28ba64,_0x47986d,_0x4ae389){const _0x3abf06=_0x474aeb;return this['_injector'][_0x3abf06(0xca)](_0x37f8c9['DataLoaderService'])['loadUnit'](_0x28ba64,_0x47986d,_0x4ae389);}[_0x474aeb(0xc1)](_0x478c4a,_0x1e1be9,_0x31259d){const _0x217811=_0x474aeb;return this['_injector'][_0x217811(0xca)](_0x37f8c9['DataLoaderService'])[_0x217811(0xc0)](_0x478c4a,_0x1e1be9,_0x31259d);}}_0x311a1c[_0x474aeb(0xc6)]['extend'](_0x224657),Object[_0x474aeb(0xa3)](_0x57a129,Symbol[_0x474aeb(0x9f)],{'value':'Module'});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x1b11(_0x4bc4a6,_0x461449){_0x4bc4a6=_0x4bc4a6-0xea;const _0x5942b5=_0x5942();let _0x1b1133=_0x5942b5[_0x4bc4a6];return _0x1b1133;}(function(_0x41e4ec,_0x2f76af){const _0x25169b=_0x1b11,_0x54c780=_0x41e4ec();while(!![]){try{const _0x9af894=-parseInt(_0x25169b(0x2d3))/0x1+-parseInt(_0x25169b(0x178))/0x2*(-parseInt(_0x25169b(0x383))/0x3)+-parseInt(_0x25169b(0x19e))/0x4*(-parseInt(_0x25169b(0x31d))/0x5)+-parseInt(_0x25169b(0x346))/0x6+parseInt(_0x25169b(0x1f1))/0x7+parseInt(_0x25169b(0x282))/0x8*(parseInt(_0x25169b(0x316))/0x9)+-parseInt(_0x25169b(0x371))/0xa;if(_0x9af894===_0x2f76af)break;else _0x54c780['push'](_0x54c780['shift']());}catch(_0x20c881){_0x54c780['push'](_0x54c780['shift']());}}}(_0x5942,0xeac84),function(_0x2444a8,_0x10d435){const _0x434e5f=_0x1b11;typeof exports=='object'&&typeof module<'u'?_0x10d435(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==_0x434e5f(0x23d)&&define[_0x434e5f(0x389)]?define(['exports',_0x434e5f(0x25f),_0x434e5f(0x267),_0x434e5f(0x2f1),'@univerjs/ui',_0x434e5f(0xf4),_0x434e5f(0x170),_0x434e5f(0x114),_0x434e5f(0x205),'@univerjs/sheets',_0x434e5f(0x1ae),_0x434e5f(0x2dd),'@univerjs/docs-ui',_0x434e5f(0xf7),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x434e5f(0x1b1),_0x434e5f(0x25b)],_0x10d435):(_0x2444a8=typeof globalThis<'u'?globalThis:_0x2444a8||self,_0x10d435(_0x2444a8[_0x434e5f(0x3b4)]={},_0x2444a8[_0x434e5f(0x204)],_0x2444a8['UniverProCollaborationClient'],_0x2444a8['UniverCore'],_0x2444a8[_0x434e5f(0x327)],_0x2444a8[_0x434e5f(0xf4)],_0x2444a8['UniverDesign'],_0x2444a8['React'],_0x2444a8['UniverRpc'],_0x2444a8[_0x434e5f(0x303)],_0x2444a8[_0x434e5f(0xed)],_0x2444a8['UniverNetwork'],_0x2444a8[_0x434e5f(0x340)],_0x2444a8[_0x434e5f(0x2d4)],_0x2444a8[_0x434e5f(0x3c6)],_0x2444a8[_0x434e5f(0x171)],_0x2444a8[_0x434e5f(0x118)],_0x2444a8[_0x434e5f(0xf4)][_0x434e5f(0x2e8)],_0x2444a8[_0x434e5f(0x283)]));}(this,function(_0x279e32,_0x54d5e1,_0x44b518,_0x162031,_0x198137,_0xe327d9,_0x3fb0c6,_0x5052d2,_0x4285c8,_0x3f123f,_0x433081,_0x1a6c2d,_0x74e6be,_0x3ae936,_0x4cd710,_0x47f67f,_0xf4950,_0x57b5b5,_0x9b001c){'use strict';const _0x477bc3=_0x1b11;var _0x466ec5=Object[_0x477bc3(0x2e2)],_0x35e16b=(_0x326c08,_0x5771ad,_0x1cc577)=>_0x5771ad in _0x326c08?_0x466ec5(_0x326c08,_0x5771ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc577}):_0x326c08[_0x5771ad]=_0x1cc577,_0x387a01=(_0x335765,_0x3db743,_0x590ce7)=>_0x35e16b(_0x335765,typeof _0x3db743!=_0x477bc3(0x2c8)?_0x3db743+'':_0x3db743,_0x590ce7);function _0x1f6f00({ref:_0x35c15d,..._0x23899f}){const _0x7a8a2d=_0x477bc3,{icon:_0x39d060,id:_0x2f4805,className:_0xe39db5,extend:_0x3fdc21,..._0x5a4eee}=_0x23899f,_0x6ccf5d=(_0x7a8a2d(0x34e)+_0x2f4805+'\x20'+(_0xe39db5||''))['trim'](),_0x289461=_0x5052d2[_0x7a8a2d(0x13a)]('_'+_0x3136ff());return _0x58c339(_0x39d060,''+_0x2f4805,{'defIds':_0x39d060[_0x7a8a2d(0x12c)],'idSuffix':_0x289461[_0x7a8a2d(0x22e)]},{'ref':_0x35c15d,'className':_0x6ccf5d,..._0x5a4eee},_0x3fdc21);}function _0x58c339(_0xed048,_0x20f6c9,_0xcf8ace,_0xb6605a,_0x4cbebd){const _0x132e23=_0x477bc3;return _0x5052d2[_0x132e23(0x14f)](_0xed048[_0x132e23(0x3cb)],{'key':_0x20f6c9,..._0x213258(_0xed048,_0xcf8ace,_0x4cbebd),..._0xb6605a},(_0x56ecfc(_0xed048,_0xcf8ace)[_0x132e23(0x35d)]||[])[_0x132e23(0x239)]((_0x13b362,_0x3aabb)=>_0x58c339(_0x13b362,_0x20f6c9+'-'+_0xed048[_0x132e23(0x3cb)]+'-'+_0x3aabb,_0xcf8ace,void 0x0,_0x4cbebd)));}function _0x213258(_0x2c3fb4,_0x46cfab,_0xf98cc5){const _0x3eac24=_0x477bc3,_0x2de2d1={..._0x2c3fb4[_0x3eac24(0x2fb)]};_0xf98cc5!=null&&_0xf98cc5[_0x3eac24(0x223)]&&_0x2de2d1[_0x3eac24(0x368)]===_0x3eac24(0x223)&&(_0x2de2d1[_0x3eac24(0x368)]=_0xf98cc5[_0x3eac24(0x223)]),_0x2c3fb4['tag']===_0x3eac24(0xff)&&_0x2de2d1['id']&&(_0x2de2d1['id']=_0x2de2d1['id']+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x50f864,_0x478761])=>{const _0x58cbb1=_0x3eac24;_0x50f864===_0x58cbb1(0xff)&&typeof _0x478761==_0x58cbb1(0x1cb)&&(_0x2de2d1[_0x50f864]=_0x478761[_0x58cbb1(0x2e1)](/url\(#(.*)\)/,_0x58cbb1(0x264)+_0x46cfab[_0x58cbb1(0x393)]+')'));});const {defIds:_0x413341}=_0x46cfab;return!_0x413341||_0x413341[_0x3eac24(0x215)]===0x0||(_0x2c3fb4[_0x3eac24(0x3cb)]===_0x3eac24(0x121)&&_0x2de2d1[_0x3eac24(0x29a)]&&(_0x2de2d1['xlink:href']=_0x2de2d1[_0x3eac24(0x29a)]+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x3d5fb0,_0x542a55])=>{const _0x1204e3=_0x3eac24;typeof _0x542a55==_0x1204e3(0x1cb)&&(_0x2de2d1[_0x3d5fb0]=_0x542a55['replace'](/url\(#(.*)\)/,_0x1204e3(0x264)+_0x46cfab[_0x1204e3(0x393)]+')'));})),_0x2de2d1;}function _0x56ecfc(_0x3e045a,_0x398232){const _0x25c09b=_0x477bc3;var _0x3aabef;const {defIds:_0x4427da}=_0x398232;return!_0x4427da||_0x4427da[_0x25c09b(0x215)]===0x0?_0x3e045a:_0x3e045a[_0x25c09b(0x3cb)]===_0x25c09b(0x294)&&((_0x3aabef=_0x3e045a[_0x25c09b(0x35d)])!=null&&_0x3aabef[_0x25c09b(0x215)])?{..._0x3e045a,'children':_0x3e045a[_0x25c09b(0x35d)]['map'](_0x4e62cc=>typeof _0x4e62cc[_0x25c09b(0x2fb)]['id']==_0x25c09b(0x1cb)&&_0x4427da&&_0x4427da[_0x25c09b(0x3aa)](_0x4e62cc[_0x25c09b(0x2fb)]['id'])?{..._0x4e62cc,'attrs':{..._0x4e62cc['attrs'],'id':_0x4e62cc[_0x25c09b(0x2fb)]['id']+_0x398232[_0x25c09b(0x393)]}}:_0x4e62cc)}:_0x3e045a;}function _0x3136ff(){const _0x4fbc6c=_0x477bc3;return Math[_0x4fbc6c(0x3c9)]()[_0x4fbc6c(0x2a6)](0x24)['substring'](0x2,0x8);}_0x1f6f00[_0x477bc3(0x2f9)]=_0x477bc3(0x274);const _0x22e3f7={'tag':_0x477bc3(0x2c7),'attrs':{'xmlns':_0x477bc3(0x1db),'fill':_0x477bc3(0x230),'viewBox':'0\x200\x2016\x2016','width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x21e)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':_0x477bc3(0x2a4),'d':_0x477bc3(0x28e),'strokeLinecap':_0x477bc3(0x2ba),'strokeLinejoin':_0x477bc3(0x2ba),'strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x477bc3(0x11d)]},_0x3acc41=_0x5052d2[_0x477bc3(0x1a2)](function(_0x335fb5,_0x2aa23e){const _0x481cc7=_0x477bc3;return _0x5052d2[_0x481cc7(0x14f)](_0x1f6f00,Object[_0x481cc7(0x3ba)]({},_0x335fb5,{'id':'off-line-icon','ref':_0x2aa23e,'icon':_0x22e3f7}));});_0x3acc41['displayName']=_0x477bc3(0x2bf);const _0x5e11f8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x477bc3(0x230),'viewBox':_0x477bc3(0x2de),'width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x260)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':_0x477bc3(0x2f8)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z','transform':_0x477bc3(0x2c6)}}]}]}],'defIds':[_0x477bc3(0x2f8)]},_0x2e2546=_0x5052d2[_0x477bc3(0x1a2)](function(_0x434459,_0x51802f){const _0x44588d=_0x477bc3;return _0x5052d2[_0x44588d(0x14f)](_0x1f6f00,Object[_0x44588d(0x3ba)]({},_0x434459,{'id':_0x44588d(0x3d9),'ref':_0x51802f,'icon':_0x5e11f8}));});_0x2e2546[_0x477bc3(0x2f9)]=_0x477bc3(0x27b);function _0x8aa2ad(_0x34bc1c){const _0x1f2b13=_0x477bc3;switch(_0x34bc1c){case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x3b8)]:return _0x1f2b13(0x3c2);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x1eb)]:return _0x1f2b13(0x2b1);case _0x44b518['CollaborationStatus'][_0x1f2b13(0x22a)]:return _0x1f2b13(0x2f5);case _0x44b518[_0x1f2b13(0x2c2)]['NOT_COLLAB']:return _0x1f2b13(0x2d5);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x2ef)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x1bd)]:return _0x1f2b13(0x2b7);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x19f)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x12f)]:return _0x1f2b13(0x13d);}}function _0x50f449(_0x3c54f0){const _0x114d18=_0x477bc3,{status$:_0x5dcc64}=_0x3c54f0,_0x35dc72=_0x198137[_0x114d18(0x2d2)](_0x5dcc64,_0x44b518[_0x114d18(0x2c2)][_0x114d18(0x35c)]),_0x2a70c4=_0x198137['useDependency'](_0x162031['LocaleService']),_0x3ee78b=_0x198137[_0x114d18(0x290)](_0x44b518[_0x114d18(0x1e5)]),_0x4fcd08=_0x35dc72!==_0x44b518['CollaborationStatus']['OFFLINE'],_0x45ef2e=_0x2a70c4['t'](_0x8aa2ad(_0x35dc72)),_0x3e9700=_0x4fcd08?_0x54d5e1['jsx'](_0x2e2546,{}):_0x54d5e1[_0x114d18(0x181)](_0x3acc41,{}),_0xf74250=_0x5052d2[_0x114d18(0x23e)](()=>{const _0x356060=_0x114d18;_0x4fcd08||_0x3ee78b[_0x356060(0x329)]();},[_0x4fcd08,_0x3ee78b]);function _0x25a23c(){const _0x2d68ce=_0x114d18;return _0x54d5e1['jsxs'](_0x2d68ce(0x226),{'className':'univer-flex\x20univer-items-center','onClick':_0xf74250,'children':[_0x54d5e1[_0x2d68ce(0x181)](_0x2d68ce(0x226),{'className':_0x3fb0c6[_0x2d68ce(0x29e)](_0x2d68ce(0x333),{'univer-text-green-500':_0x4fcd08,'univer-text-red-500':!_0x4fcd08}),'children':_0x3e9700}),_0x54d5e1[_0x2d68ce(0x181)]('div',{'className':_0x2d68ce(0x3af),'children':_0x45ef2e})]});}return _0x4fcd08?_0x25a23c():_0x54d5e1['jsx'](_0x3fb0c6[_0x114d18(0x137)],{'title':_0x2a70c4['t'](_0x114d18(0x19a)),'children':_0x25a23c()});}var _0x1c8fdd=Object[_0x477bc3(0x1ec)],_0x39656a=(_0x233898,_0x27b967,_0x880d8,_0x4ed502)=>{const _0x5e52e8=_0x477bc3;for(var _0x5daccb=_0x4ed502>0x1?void 0x0:_0x4ed502?_0x1c8fdd(_0x27b967,_0x880d8):_0x27b967,_0x5b52c9=_0x233898[_0x5e52e8(0x215)]-0x1,_0x11e309;_0x5b52c9>=0x0;_0x5b52c9--)(_0x11e309=_0x233898[_0x5b52c9])&&(_0x5daccb=_0x11e309(_0x5daccb)||_0x5daccb);return _0x5daccb;},_0x20f050=(_0x55f3a4,_0x3a5633)=>(_0x1261b2,_0x5935ed)=>_0x3a5633(_0x1261b2,_0x5935ed,_0x55f3a4);_0x279e32[_0x477bc3(0x2b8)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x216994,_0xf1d9d7,_0x4ff177,_0x2e649e){const _0x3207ea=_0x477bc3;super(),_0x387a01(this,_0x3207ea(0x117),new _0xe327d9['BehaviorSubject'](_0x44b518['CollaborationStatus'][_0x3207ea(0x35c)])),(this[_0x3207ea(0x225)]=_0x216994,this['_injector']=_0xf1d9d7,this[_0x3207ea(0x2f2)]=_0x4ff177,this[_0x3207ea(0x17b)]=_0x2e649e,this['_initStatusComponent'](),this[_0x3207ea(0x206)]());}[_0x477bc3(0x206)](){const _0x3252ef=_0x477bc3;this['disposeWithMe'](this[_0x3252ef(0x225)][_0x3252ef(0x253)][_0x3252ef(0x2d1)](_0xe327d9[_0x3252ef(0x220)](()=>{const _0x2da279=_0x3252ef,_0x15b6f9=this['_univerInstanceService'][_0x2da279(0x14b)]();return _0x15b6f9?this[_0x2da279(0x2f2)][_0x2da279(0x307)](_0x15b6f9[_0x2da279(0x161)]()):_0xe327d9['of'](null);}),_0xe327d9[_0x3252ef(0x220)](_0x340f77=>_0x340f77?_0x340f77[_0x3252ef(0x1b2)]:_0xe327d9['of'](_0x44b518[_0x3252ef(0x2c2)]['NOT_COLLAB'])))['subscribe'](_0x3b8c59=>{const _0xff292f=_0x3252ef;this[_0xff292f(0x117)][_0xff292f(0x3be)](_0x3b8c59);}));}[_0x477bc3(0x25a)](){const _0x4cb6d=_0x477bc3;this[_0x4cb6d(0x32e)](this[_0x4cb6d(0x17b)][_0x4cb6d(0x29b)](_0x198137[_0x4cb6d(0x3a9)][_0x4cb6d(0x2b9)],()=>_0x198137[_0x4cb6d(0x2e7)](_0x208e22({'status$':this[_0x4cb6d(0x117)][_0x4cb6d(0x119)]()}),this[_0x4cb6d(0x3da)])));}},_0x279e32['DesktopCollaborationStatusDisplayController']=_0x39656a([_0x20f050(0x0,_0x162031[_0x477bc3(0x21c)]),_0x20f050(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x20f050(0x2,_0x162031['Inject'](_0x44b518[_0x477bc3(0x15a)])),_0x20f050(0x3,_0x198137[_0x477bc3(0x187)])],_0x279e32[_0x477bc3(0x2b8)]);function _0x208e22(_0x213b3c){const {status$:_0x168a17}=_0x213b3c;return function(){const _0x3ef4a7=_0x1b11;return _0x54d5e1[_0x3ef4a7(0x181)](_0x50f449,{'status$':_0x168a17});};}const _0x361122=_0x162031[_0x477bc3(0x3a4)](_0x477bc3(0x39d));var _0x1cd2ca=Object[_0x477bc3(0x1ec)],_0x329221=(_0x4adaa0,_0x2f7471,_0x17d441,_0x40a1c1)=>{for(var _0x281cbe=_0x40a1c1>0x1?void 0x0:_0x40a1c1?_0x1cd2ca(_0x2f7471,_0x17d441):_0x2f7471,_0x1c6c54=_0x4adaa0['length']-0x1,_0x41f548;_0x1c6c54>=0x0;_0x1c6c54--)(_0x41f548=_0x4adaa0[_0x1c6c54])&&(_0x281cbe=_0x41f548(_0x281cbe)||_0x281cbe);return _0x281cbe;},_0xe212eb=(_0x3a8096,_0x56c9ff)=>(_0x5e2280,_0x429073)=>_0x56c9ff(_0x5e2280,_0x429073,_0x3a8096);_0x279e32[_0x477bc3(0x174)]=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x35e221,_0x52832c,_0x2f838f,_0x3befd1,_0x2ad403){const _0x33fa88=_0x477bc3;super(),this[_0x33fa88(0x2d7)]=_0x35e221,this[_0x33fa88(0x297)]=_0x52832c,this[_0x33fa88(0x139)]=_0x2f838f,this[_0x33fa88(0x2ce)]=_0x3befd1,_0x2ad403?_0x2ad403==null||_0x2ad403[_0x33fa88(0x365)]()[_0x33fa88(0x22f)](()=>this[_0x33fa88(0x1ad)]()):(this[_0x33fa88(0x297)][_0x33fa88(0x146)](_0x33fa88(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33fa88(0x1ad)]());}async[_0x477bc3(0x1ad)](){const _0x3455e6=_0x477bc3,_0x2bf745=this['_urlService'][_0x3455e6(0x24e)]('unit'),_0x443c1b=this[_0x3455e6(0x2d7)][_0x3455e6(0x24e)](_0x3455e6(0x24d)),_0x54d9f8=this['_urlService'][_0x3455e6(0x24e)](_0x3455e6(0x2bc));if(!_0x2bf745||!_0x443c1b){this[_0x3455e6(0x297)][_0x3455e6(0x146)](_0x3455e6(0x234),_0x3455e6(0x216));return;}const _0x345e8e=await this[_0x3455e6(0x2ce)][_0x3455e6(0x1a5)](_0x2bf745,Number(_0x443c1b),_0x54d9f8);_0x345e8e&&_0x345e8e instanceof _0x162031[_0x3455e6(0x310)]&&this['_setupSubUnitSync'](_0x345e8e);}async[_0x477bc3(0x18e)](_0x4cc461){const _0x2225ef=_0x477bc3;await this[_0x2225ef(0x20c)](_0x4cc461),_0x4cc461[_0x2225ef(0x3b6)][_0x2225ef(0x2d1)](_0xe327d9[_0x2225ef(0x331)](this['dispose$']))['subscribe'](_0x658764=>{const _0xf1e1c8=_0x2225ef;_0x658764&&this[_0xf1e1c8(0x2f7)](_0x658764);}),this['_urlService']['urlChange$']['pipe'](_0xe327d9[_0x2225ef(0x331)](this[_0x2225ef(0x1c1)]))['subscribe'](()=>this[_0x2225ef(0x20c)](_0x4cc461));}[_0x477bc3(0x2f7)](_0x3fc877,_0x261b10=!0x1){const _0x31b9db=_0x477bc3,_0x597010=this[_0x31b9db(0x2d7)][_0x31b9db(0x24e)](_0x31b9db(0x2bc));_0x3fc877[_0x31b9db(0x2a7)]()!==_0x597010&&this[_0x31b9db(0x2d7)][_0x31b9db(0x33c)](_0x31b9db(0x2bc),_0x3fc877[_0x31b9db(0x2a7)](),_0x261b10);}async['_updateSubUnitFromURLParams'](_0x384c5e){const _0x288c26=_0x477bc3;var _0x3f4118;const _0x197120=this['_urlService'][_0x288c26(0x24e)](_0x288c26(0x2bc));if(!_0x197120||!_0x384c5e['getSheetBySheetId'](_0x197120)){const _0x47b7b4=_0x384c5e[_0x288c26(0x1d0)]()[0x0],_0x43fcfa=_0x384c5e[_0x288c26(0x2ca)](_0x47b7b4);if(!_0x43fcfa)return;this[_0x288c26(0x2f7)](_0x43fcfa,!0x0),await this[_0x288c26(0x139)][_0x288c26(0x269)](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e[_0x288c26(0x161)](),'subUnitId':_0x47b7b4});return;}((_0x3f4118=_0x384c5e['getActiveSheet']())==null?void 0x0:_0x3f4118[_0x288c26(0x2a7)]())!==_0x197120&&await this[_0x288c26(0x139)]['executeCommand'](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e['getUnitId'](),'subUnitId':_0x197120});}},_0x279e32['CollaborationDataLoaderController']=_0x329221([_0xe212eb(0x0,_0x361122),_0xe212eb(0x1,_0x162031[_0x477bc3(0x353)]),_0xe212eb(0x2,_0x162031[_0x477bc3(0x326)]),_0xe212eb(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x2bd)])),_0xe212eb(0x4,_0x162031[_0x477bc3(0x30b)](_0x4285c8[_0x477bc3(0x258)]))],_0x279e32['CollaborationDataLoaderController']);var _0x1f631f=Object[_0x477bc3(0x1ec)],_0x3b9181=(_0x3a8dc7,_0x8535a6,_0x26a632,_0x2cb1a6)=>{for(var _0x2d844d=_0x2cb1a6>0x1?void 0x0:_0x2cb1a6?_0x1f631f(_0x8535a6,_0x26a632):_0x8535a6,_0x212735=_0x3a8dc7['length']-0x1,_0xd023be;_0x212735>=0x0;_0x212735--)(_0xd023be=_0x3a8dc7[_0x212735])&&(_0x2d844d=_0xd023be(_0x2d844d)||_0x2d844d);return _0x2d844d;},_0x21f1aa=(_0x27172d,_0x50fd1c)=>(_0x1a6780,_0x556fe3)=>_0x50fd1c(_0x1a6780,_0x556fe3,_0x27172d);let _0x4b1658=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x5d2b36,_0x34e7f7){const _0x295a42=_0x477bc3;super(),this[_0x295a42(0x268)]=_0x5d2b36,this[_0x295a42(0x3bf)]=_0x34e7f7,this[_0x295a42(0x1ad)]();}['_init'](){const _0x2e4e60=_0x477bc3,_0x254877=this;this['disposeWithMe'](this[_0x2e4e60(0x268)][_0x2e4e60(0x369)]({'onBeforePasteImage':async _0x5ac041=>{const _0x2f9170=_0x2e4e60,_0x199419=await _0x254877[_0x2f9170(0x3bf)][_0x2f9170(0x2cf)](_0x5ac041);return _0x199419?{'source':_0x199419[_0x2f9170(0x285)],'imageSourceType':_0x199419[_0x2f9170(0x382)]}:null;}}));}};_0x4b1658=_0x3b9181([_0x21f1aa(0x0,_0x74e6be[_0x477bc3(0x120)]),_0x21f1aa(0x1,_0x3ae936[_0x477bc3(0x2f4)])],_0x4b1658);const _0x3a99c3=[_0x477bc3(0x2dc),_0x477bc3(0x1dc),_0x477bc3(0x384),'red.300',_0x477bc3(0x1e4),_0x477bc3(0x38f)];class _0x446316 extends _0x162031['Disposable']{constructor(){const _0x4d3501=_0x477bc3;super(...arguments),_0x387a01(this,'_assignedColors',new Map()),_0x387a01(this,_0x4d3501(0x355),0x0);}['assignAColorForMemberID'](_0x951527){const _0x2e6e3c=_0x477bc3;if(this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x3cf)](_0x951527))return this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x375)](_0x951527);const _0x28134b=_0x3a99c3[this[_0x2e6e3c(0x355)]];return this[_0x2e6e3c(0x355)]=(this['_colorIndex']+0x1)%_0x3a99c3['length'],this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x34a)](_0x951527,_0x28134b),_0x28134b;}}function _0x3b41bd(_0x524c93){const _0x50b5a3=_0x477bc3;let _0xe7ffaf='';for(const _0x5dbb4f of _0x524c93){const {startOffset:_0x391a38,endOffset:_0x12a495,isActive:_0xa453e8,rangeType:_0x51df26,segmentId:_0x50d11b,segmentPage:_0x1480a3}=_0x5dbb4f;_0xe7ffaf[_0x50b5a3(0x215)]&&(_0xe7ffaf+=','),_0xe7ffaf+=_0x391a38+':'+_0x12a495+':'+(_0xa453e8?'1':'0')+':'+_0x51df26+':'+_0x50d11b+':'+_0x1480a3;}return _0xe7ffaf;}function _0x121003(_0x57178b){const _0x55e27a=_0x477bc3,_0x246fe0=_0x57178b[_0x55e27a(0xf9)](','),_0x4c8bfb=[];for(const _0x887c3d of _0x246fe0){const [_0x49982a,_0x2153b9,_0x35dba0,_0xcd88b6,_0x37423a,_0xe3e418]=_0x887c3d['split'](':');_0x4c8bfb[_0x55e27a(0x138)]({'startOffset':Number(_0x49982a),'endOffset':Number(_0x2153b9),'collapsed':_0x49982a===_0x2153b9,'isActive':_0x35dba0==='1','rangeType':_0xcd88b6===_0x162031['DOC_RANGE_TYPE'][_0x55e27a(0x252)]?_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x252)]:_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x29d)],'segmentId':typeof _0x37423a==_0x55e27a(0x1cb)?String(_0x37423a):'','segmentPage':Number(_0xe3e418!=null?_0xe3e418:-0x1)});}return _0x4c8bfb[_0x55e27a(0x30e)](_0x23b56e=>_0x23b56e['isActive'])||(_0x4c8bfb[0x0]['isActive']=!0x0),_0x4c8bfb;}class _0x3f7f20 extends _0x162031['RxDisposable']{constructor(){const _0x52bf15=_0x477bc3;super(...arguments),_0x387a01(this,_0x52bf15(0x11e),new _0xe327d9[(_0x52bf15(0x136))](null)),_0x387a01(this,_0x52bf15(0x1ba),this['_collabCursorState$'][_0x52bf15(0x119)]());}[_0x477bc3(0x25d)](_0x28eceb){const _0x570079=_0x477bc3,{unitID:_0x152297,memberID:_0x15c498,textRanges:_0x4bf291}=_0x28eceb,_0x180787=_0x3b41bd(_0x4bf291);if(_0x180787==='')return;const _0x1c350a={'unitID':_0x152297,'memberID':_0x15c498,'selection':_0x180787};this[_0x570079(0x11e)][_0x570079(0x3be)](_0x1c350a);}}var _0x3a4aaa=Object[_0x477bc3(0x1ec)],_0x4246d9=(_0x48b371,_0x381dd9,_0x4f6655,_0x132ae8)=>{const _0x5c457e=_0x477bc3;for(var _0x246701=_0x132ae8>0x1?void 0x0:_0x132ae8?_0x3a4aaa(_0x381dd9,_0x4f6655):_0x381dd9,_0x42cf91=_0x48b371[_0x5c457e(0x215)]-0x1,_0x68757a;_0x42cf91>=0x0;_0x42cf91--)(_0x68757a=_0x48b371[_0x42cf91])&&(_0x246701=_0x68757a(_0x246701)||_0x246701);return _0x246701;},_0x2211aa=(_0x38a445,_0x3a2603)=>(_0x264873,_0x276d1b)=>_0x3a2603(_0x264873,_0x276d1b,_0x38a445);const _0x4b0adc=0x12c,_0x2f001d=0x64;let _0x36b425=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0xf42aeb,_0x1a14f7,_0x424f6d,_0x2353e1,_0x460170,_0x16dd61,_0x80fa2a,_0x20ba75,_0xc16b8c){const _0x31afdf=_0x477bc3;super(),_0x387a01(this,_0x31afdf(0x159),!0x1),_0x387a01(this,_0x31afdf(0x1ad),!0x1),_0x387a01(this,_0x31afdf(0x10e),new _0xe327d9[(_0x31afdf(0x136))](new Map())),_0x387a01(this,_0x31afdf(0x262),this['_cursorInfo$']['asObservable']()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x31afdf(0x136))]([])),_0x387a01(this,_0x31afdf(0x2db),this[_0x31afdf(0x281)][_0x31afdf(0x2d1)](_0xe327d9[_0x31afdf(0x1da)](_0x4b0adc))),_0x387a01(this,_0x31afdf(0x276),_0x162031[_0x31afdf(0x24c)](_0x12f555=>{const _0x5d1c98=_0x31afdf,_0x45553c={'eventID':_0x4cd710[_0x5d1c98(0x22d)][_0x5d1c98(0x164)],'data':{'unitID':this[_0x5d1c98(0x3d0)],'memberID':this[_0x5d1c98(0x20b)][_0x5d1c98(0x3ae)](),'selection':_0x3b41bd(_0x12f555)}};this[_0x5d1c98(0x20b)][_0x5d1c98(0x3a8)](_0x45553c,this['unitID']);},_0x2f001d)),(this[_0x31afdf(0x3d0)]=_0xf42aeb,this['_session']=_0x1a14f7,this[_0x31afdf(0x3da)]=_0x424f6d,this[_0x31afdf(0x343)]=_0x2353e1,this[_0x31afdf(0x1d3)]=_0x460170,this[_0x31afdf(0x304)]=_0x16dd61,this[_0x31afdf(0x22c)]=_0x80fa2a,this[_0x31afdf(0x225)]=_0x20ba75,this[_0x31afdf(0x139)]=_0xc16b8c);}get['cursorInfo'](){const _0x76b1c4=_0x477bc3;return this[_0x76b1c4(0x10e)][_0x76b1c4(0x182)]();}get['roomMembers'](){const _0x5e8db1=_0x477bc3;return this[_0x5e8db1(0x281)][_0x5e8db1(0x182)]();}[_0x477bc3(0x388)](){const _0x309104=_0x477bc3;super['dispose'](),this[_0x309104(0x10e)][_0x309104(0x3be)](new Map()),this[_0x309104(0x10e)]['complete'](),this[_0x309104(0x281)][_0x309104(0x3be)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2ac674=_0x477bc3;this[_0x2ac674(0x1ad)]||(this[_0x2ac674(0x1ad)]=!0x0,this[_0x2ac674(0x20b)][_0x2ac674(0x1af)]['pipe'](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x561f01=>{const _0x1ca633=_0x2ac674;_0x561f01===_0x44b518[_0x1ca633(0x385)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2ac674(0x20b)]['event$'][_0x2ac674(0x2d1)](_0xe327d9['takeUntil'](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x1e2f85=>{const _0x59371c=_0x2ac674,_0x51d66=_0x1e2f85[_0x59371c(0x2ad)];_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x164)]&&this[_0x59371c(0x25c)](_0x1e2f85),_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x314)]&&this['_onCursorDelete'](_0x1e2f85);}),this['disposeWithMe'](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x3619c3=>{const _0x58381e=_0x2ac674,_0x20be0a=_0x3619c3[_0x58381e(0x1ab)];_0x20be0a!=null&&this['_online']&&_0x3619c3['id']===_0x47f67f[_0x58381e(0x2b6)]['id']&&_0x20be0a[_0x58381e(0x150)]===this['unitID']&&_0x20be0a[_0x58381e(0x1a1)]===!0x1&&_0x20be0a[_0x58381e(0x1de)][_0x58381e(0x215)]>0x0&&this[_0x58381e(0x276)](_0x20be0a[_0x58381e(0x1de)]);})),this[_0x2ac674(0x304)]['collabCursorState$'][_0x2ac674(0x2d1)](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x48867b=>{const _0x225024=_0x2ac674;if((_0x48867b==null?void 0x0:_0x48867b[_0x225024(0x3d0)])!==this[_0x225024(0x3d0)])return;const _0x2d2093={'eventID':_0x4cd710[_0x225024(0x22d)][_0x225024(0x164)],'data':_0x48867b};this[_0x225024(0x25c)](_0x2d2093);}),this[_0x2ac674(0x32e)](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x1e9af6=>{const _0x4f0adc=_0x2ac674;if(_0x1e9af6[_0x4f0adc(0x1ab)]==null)return;const _0x170cfe=_0x1e9af6['params'];if(_0x1e9af6['id']!==_0x47f67f['RichTextEditingMutation']['id']||_0x170cfe[_0x4f0adc(0x150)]!==this['unitID'])return;const _0x53e19f={'id':_0x4f0adc(0x20a),'params':_0x170cfe},_0x590fec=this[_0x4f0adc(0x266)];for(const [_0x1a3e26,_0x456c9a]of _0x590fec){const _0x21c02a={'id':_0x4f0adc(0x20a),'params':{'unitId':this[_0x4f0adc(0x3d0)],'actions':null,'textRanges':_0x456c9a[_0x4f0adc(0x1de)]}},_0x4269ab=this[_0x4f0adc(0x22c)]['transformMutation'](_0x53e19f,_0x21c02a,!0x1);if(_0x4cd710[_0x4f0adc(0x3ad)](_0x4269ab))throw _0x4269ab[_0x4f0adc(0x2d0)];_0x590fec[_0x4f0adc(0x34a)](_0x1a3e26,{..._0x456c9a,'ranges':_0x4269ab[_0x4f0adc(0x250)][_0x4f0adc(0x1ab)][_0x4f0adc(0x395)]});}queueMicrotask(()=>{const _0x16a74d=_0x4f0adc;this[_0x16a74d(0x10e)][_0x16a74d(0x3be)](_0x590fec);});})));}[_0x477bc3(0x25c)](_0x49d18b){const _0x1e8498=_0x477bc3;var _0x4855aa,_0xa28809;const {memberID:_0x23e670,selection:_0x47d091}=_0x49d18b[_0x1e8498(0x1f9)],_0x17b7f1=_0x121003(_0x47d091),_0x266ea5=(_0xa28809=(_0x4855aa=this[_0x1e8498(0x1d3)][_0x1e8498(0x271)](this['unitID'],_0x23e670))==null?void 0x0:_0x4855aa[_0x1e8498(0x3d4)])!=null?_0xa28809:_0x1e8498(0x30f),_0x58ec2f={'color':this[_0x1e8498(0x343)][_0x1e8498(0x2ff)](_0x23e670),'name':_0x266ea5,'ranges':_0x17b7f1},_0x5a8c2f=this['cursorInfo'];_0x5a8c2f[_0x1e8498(0x34a)](_0x23e670,_0x58ec2f),this['_cursorInfo$']['next'](_0x5a8c2f);}[_0x477bc3(0x33f)](_0xd23022){const _0x37b767=_0x477bc3,{memberID:_0x948a80}=_0xd23022[_0x37b767(0x1f9)],_0x4b6ea4=this[_0x37b767(0x266)];_0x4b6ea4[_0x37b767(0x32d)](_0x948a80),this[_0x37b767(0x10e)][_0x37b767(0x3be)](_0x4b6ea4);}[_0x477bc3(0x32f)](){const _0x4848a8=_0x477bc3;var _0x40a7e5;if(this[_0x4848a8(0x159)]=!0x0,((_0x40a7e5=this[_0x4848a8(0x225)]['getFocusedUnit']())==null?void 0x0:_0x40a7e5[_0x4848a8(0x161)]())!==this[_0x4848a8(0x3d0)])return;const _0x495625=this[_0x4848a8(0x3da)][_0x4848a8(0x375)](_0x47f67f[_0x4848a8(0x293)])[_0x4848a8(0x28c)]();Array[_0x4848a8(0x165)](_0x495625)&&_0x495625['length']>0x0&&this['_updateLocalCursor'](_0x495625);}[_0x477bc3(0x1dd)](){const _0x554ca7=_0x477bc3;this[_0x554ca7(0x159)]=!0x1;}};_0x36b425=_0x4246d9([_0x2211aa(0x2,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x2211aa(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x2211aa(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x111)])),_0x2211aa(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x2211aa(0x6,_0x4cd710['ITransformService']),_0x2211aa(0x7,_0x162031[_0x477bc3(0x21c)]),_0x2211aa(0x8,_0x162031['ICommandService'])],_0x36b425);var _0x7dc9c=Object[_0x477bc3(0x1ec)],_0x3549ae=(_0x4ea3b8,_0x2047f0,_0x938f38,_0x435686)=>{for(var _0x21e602=_0x435686>0x1?void 0x0:_0x435686?_0x7dc9c(_0x2047f0,_0x938f38):_0x2047f0,_0x31c7ad=_0x4ea3b8['length']-0x1,_0x5d8a83;_0x31c7ad>=0x0;_0x31c7ad--)(_0x5d8a83=_0x4ea3b8[_0x31c7ad])&&(_0x21e602=_0x5d8a83(_0x21e602)||_0x21e602);return _0x21e602;},_0x314842=(_0x4d6efc,_0x230915)=>(_0x4fa9d1,_0x3de934)=>_0x230915(_0x4fa9d1,_0x3de934,_0x4d6efc);const _0x310d61=0x12c,_0x4e7e61=0x64,_0x50f2ad=()=>{let _0x1a6eb1=[],_0x57bc34=!0x1;return _0x58c501=>{_0x1a6eb1['push'](_0x58c501),_0x57bc34||(_0x57bc34=!0x0,setTimeout(()=>{const _0x2307aa=_0x1b11;_0x1a6eb1[_0x2307aa(0x3c7)](_0x404b73=>_0x404b73()),_0x1a6eb1=[],_0x57bc34=!0x1;}));};};let _0x3944c4=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x171d15,_0x285adc,_0x136bfc,_0x23b027,_0x1ff076,_0x2fa3be,_0x41f54e,_0x1ae9b8){const _0x3f4d45=_0x477bc3;super(),_0x387a01(this,_0x3f4d45(0x159),!0x1),_0x387a01(this,'_init',!0x1),_0x387a01(this,_0x3f4d45(0x10e),new _0xe327d9[(_0x3f4d45(0x136))](new Map())),_0x387a01(this,_0x3f4d45(0x262),this[_0x3f4d45(0x10e)][_0x3f4d45(0x119)]()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x3f4d45(0x136))]([])),_0x387a01(this,_0x3f4d45(0x2db),this[_0x3f4d45(0x281)][_0x3f4d45(0x2d1)](_0xe327d9[_0x3f4d45(0x1da)](_0x310d61))),_0x387a01(this,_0x3f4d45(0x276),_0x162031['debounce']((_0x54e2f7,_0x1fad34)=>{const _0x35bcde=_0x3f4d45,_0x67d265={'eventID':_0x4cd710['CollaborationEvent'][_0x35bcde(0x164)],'data':{'unitID':this[_0x35bcde(0x3d0)],'memberID':this[_0x35bcde(0x20b)][_0x35bcde(0x3ae)](),'selection':_0xf4950[_0x35bcde(0x228)](_0x54e2f7,_0x1fad34['range'])}};this[_0x35bcde(0x20b)][_0x35bcde(0x3a8)](_0x67d265,this[_0x35bcde(0x3d0)]);},_0x4e7e61)),(this['unitID']=_0x171d15,this[_0x3f4d45(0x20b)]=_0x285adc,this['_injector']=_0x136bfc,this['_colorAssignService']=_0x23b027,this[_0x3f4d45(0x1d3)]=_0x1ff076,this['_univerInstanceService']=_0x2fa3be,this[_0x3f4d45(0x139)]=_0x41f54e,this[_0x3f4d45(0x1a3)]=_0x1ae9b8);}get[_0x477bc3(0x266)](){const _0x55050e=_0x477bc3;return this[_0x55050e(0x10e)]['getValue']();}get[_0x477bc3(0x26d)](){const _0x25597d=_0x477bc3;return this[_0x25597d(0x281)][_0x25597d(0x182)]();}[_0x477bc3(0x388)](){const _0x4de6f2=_0x477bc3;super[_0x4de6f2(0x388)](),this['_cursorInfo$'][_0x4de6f2(0x3be)](new Map()),this[_0x4de6f2(0x10e)][_0x4de6f2(0x39e)](),this[_0x4de6f2(0x281)][_0x4de6f2(0x3be)]([]),this[_0x4de6f2(0x281)][_0x4de6f2(0x39e)]();}[_0x477bc3(0x10a)](){const _0x11b883=_0x477bc3;this[_0x11b883(0x1ad)]||(this[_0x11b883(0x1ad)]=!0x0,this[_0x11b883(0x20b)]['sessionStatus$'][_0x11b883(0x2d1)](_0xe327d9[_0x11b883(0x331)](this[_0x11b883(0x1c1)]))['subscribe'](_0x3ba9de=>{const _0x5c6639=_0x11b883;_0x3ba9de===_0x44b518[_0x5c6639(0x385)][_0x5c6639(0x39b)]?this[_0x5c6639(0x32f)]():this[_0x5c6639(0x1dd)]();}),this['_session']['event$'][_0x11b883(0x2d1)](_0xe327d9['takeUntil'](this[_0x11b883(0x1c1)]))[_0x11b883(0x2cd)](_0x253f74=>{const _0x41515d=_0x11b883,_0x4a7660=_0x253f74[_0x41515d(0x2ad)];_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x164)]&&this[_0x41515d(0x25c)](_0x253f74),_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x314)]&&this[_0x41515d(0x33f)](_0x253f74);}),this[_0x11b883(0x2a2)](),this['disposeWithMe'](this[_0x11b883(0x139)]['onCommandExecuted'](_0x2a939c=>{const _0x4f2bf7=_0x11b883;if(this[_0x4f2bf7(0x159)]&&_0x2a939c['id']===_0x3f123f[_0x4f2bf7(0x363)]['id']&&_0x2a939c[_0x4f2bf7(0x1ab)][_0x4f2bf7(0x150)]===this[_0x4f2bf7(0x3d0)]){const _0x2349ed=_0x2a939c['params'];this[_0x4f2bf7(0x276)](_0x2349ed[_0x4f2bf7(0x13f)],_0x2349ed[_0x4f2bf7(0xf3)][0x0]);}})));}[_0x477bc3(0x25c)](_0x599e85){const _0x254852=_0x477bc3;var _0x312205,_0x4261a6;const {memberID:_0xcd8dab,selection:_0x3c54b3}=_0x599e85['data'],{sheetName:_0x32a29a,range:_0x59c049}=_0xf4950[_0x254852(0x152)](_0x3c54b3),_0x526f96={'name':(_0x4261a6=(_0x312205=this[_0x254852(0x1d3)]['getMember'](this[_0x254852(0x3d0)],_0xcd8dab))==null?void 0x0:_0x312205[_0x254852(0x3d4)])!=null?_0x4261a6:_0x254852(0x30f),'range':this[_0x254852(0x202)](_0x32a29a,_0x59c049),'sheetID':_0x32a29a,'color':this[_0x254852(0x343)]['assignAColorForMemberID'](_0xcd8dab),'selection':_0x3c54b3},_0x3f3ae2=this[_0x254852(0x266)];_0x3f3ae2['set'](_0xcd8dab,_0x526f96),this[_0x254852(0x10e)][_0x254852(0x3be)](_0x3f3ae2);}['_onCursorDelete'](_0x3b863a){const _0x58ff4a=_0x477bc3,{memberID:_0x4cc127}=_0x3b863a[_0x58ff4a(0x1f9)],_0x3d26b3=this[_0x58ff4a(0x266)];_0x3d26b3[_0x58ff4a(0x32d)](_0x4cc127),this[_0x58ff4a(0x10e)][_0x58ff4a(0x3be)](_0x3d26b3);}['_getMergeRange'](_0x15f6f9,_0x3a3bc2){const _0xa1c253=_0x477bc3;var _0x36716b,_0x23fc84;const _0x58b9d5=(_0x23fc84=(_0x36716b=this[_0xa1c253(0x225)][_0xa1c253(0x3cd)](this['unitID']))==null?void 0x0:_0x36716b['getSheetBySheetId'](_0x15f6f9))==null?void 0x0:_0x23fc84[_0xa1c253(0x392)]();return(_0x58b9d5==null?void 0x0:_0x58b9d5[_0xa1c253(0x295)](_0x1b44d3=>_0x162031['Rectangle']['contains'](_0x1b44d3,_0x3a3bc2)))||_0x3a3bc2;}[_0x477bc3(0x2a2)](){const _0x2aabd9=_0x477bc3,_0x179e81=new _0x162031['DisposableCollection'](),_0x312e17=_0x50f2ad(),_0x18a892=()=>{const _0xdb8232=_0x1b11;_0x179e81[_0xdb8232(0x388)]();const _0x48066a=(_0x19cc6c,_0x210a3a,_0x4fc507,_0x54809c)=>{const _0x5d9072=_0xdb8232;let _0x4303bb=[];switch(_0x19cc6c['id']){case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1d8)]:{_0x4303bb=_0x3f123f['handleDeleteRangeMoveLeft'](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1b6)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x28b)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x154)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x14a)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2c1)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x349)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2a5)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e0)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)]['InsertRowCommandId']:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e8)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2fc)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x241)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x183)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x113)](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1f3)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x2f6)](_0x19cc6c,_0x54809c);break;}}const _0x35eecc=_0x3f123f['runRefRangeMutations'](_0x4303bb,_0x54809c),_0x27357a=this[_0x5d9072(0x266)][_0x5d9072(0x375)](_0x210a3a);if(_0x27357a&&_0x35eecc){const _0x19d255={..._0x27357a,'range':_0x35eecc};this[_0x5d9072(0x266)][_0x5d9072(0x34a)](_0x210a3a,_0x19d255),_0x312e17(()=>{const _0x5ad281=_0x5d9072,_0x3c6b26=this['_refRangeService'][_0x5ad281(0x287)](_0x35eecc,_0x2d4a21=>(_0x3c6b26[_0x5ad281(0x388)](),_0x48066a(_0x2d4a21,_0x210a3a,_0x4fc507,_0x35eecc)));_0x179e81[_0x5ad281(0x1d6)](_0x3c6b26);});}return{'redos':[],'undos':[]};};this[_0xdb8232(0x266)][_0xdb8232(0x3c7)]((_0x5ddf17,_0x15f060)=>{const _0x1f29f5=_0xdb8232,{range:_0x2bcd63,sheetID:_0x92ce5}=_0x5ddf17,_0xf965c=this[_0x1f29f5(0x1a3)][_0x1f29f5(0x287)](_0x2bcd63,_0x36f69f=>(_0xf965c[_0x1f29f5(0x388)](),_0x48066a(_0x36f69f,_0x15f060,_0x92ce5,_0x2bcd63)));_0x179e81[_0x1f29f5(0x1d6)](_0xf965c);});};this[_0x2aabd9(0x32e)](_0x162031[_0x2aabd9(0x16b)](this['_cursorInfo$'][_0x2aabd9(0x2cd)](()=>{_0x18a892();})));}[_0x477bc3(0x32f)](){const _0x1637e3=_0x477bc3;var _0x37388f,_0x1f9aa3;if(this[_0x1637e3(0x159)]=!0x0,((_0x37388f=this[_0x1637e3(0x225)]['getFocusedUnit']())==null?void 0x0:_0x37388f[_0x1637e3(0x161)]())!==this[_0x1637e3(0x3d0)])return;const _0x5b7bf2=(_0x1f9aa3=this[_0x1637e3(0x3da)]['get'](_0x3f123f['SheetsSelectionsService'])[_0x1637e3(0x27c)]())==null?void 0x0:_0x1f9aa3[0x0],_0x1874b9=this[_0x1637e3(0x225)]['getCurrentUnitForType'](_0x162031[_0x1637e3(0x1c9)][_0x1637e3(0x277)])['getActiveSheet']();_0x5b7bf2&&_0x1874b9&&this[_0x1637e3(0x276)](_0x1874b9[_0x1637e3(0x2a7)](),_0x5b7bf2);}[_0x477bc3(0x1dd)](){const _0x5f9419=_0x477bc3;this[_0x5f9419(0x159)]=!0x1;}};_0x3944c4=_0x3549ae([_0x314842(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x314842(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x314842(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518['MemberService'])),_0x314842(0x5,_0x162031[_0x477bc3(0x21c)]),_0x314842(0x6,_0x162031['ICommandService']),_0x314842(0x7,_0x162031['Inject'](_0x3f123f[_0x477bc3(0x209)]))],_0x3944c4);var _0x1a9566=Object[_0x477bc3(0x1ec)],_0x5bdd9f=(_0x5ee5e5,_0x4709cb,_0x804d18,_0x363b7f)=>{for(var _0x58a054=_0x363b7f>0x1?void 0x0:_0x363b7f?_0x1a9566(_0x4709cb,_0x804d18):_0x4709cb,_0x2871bd=_0x5ee5e5['length']-0x1,_0x272321;_0x2871bd>=0x0;_0x2871bd--)(_0x272321=_0x5ee5e5[_0x2871bd])&&(_0x58a054=_0x272321(_0x58a054)||_0x58a054);return _0x58a054;},_0x5225e8=(_0x1088d8,_0x3d0e2d)=>(_0x557ab7,_0x1d3021)=>_0x3d0e2d(_0x557ab7,_0x1d3021,_0x1088d8);let _0x421cc1=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x522773,_0x4e635a,_0x4f954b){const _0x166c40=_0x477bc3;super(),_0x387a01(this,_0x166c40(0x3c1),new Map()),_0x387a01(this,_0x166c40(0x200),new _0xe327d9[(_0x166c40(0x3b7))]()),(this[_0x166c40(0x225)]=_0x522773,this[_0x166c40(0x3da)]=_0x4e635a,this['_collabSessionService']=_0x4f954b,this[_0x166c40(0x1ad)]());}[_0x477bc3(0x388)](){const _0x1aaac0=_0x477bc3;super['dispose'](),this[_0x1aaac0(0x200)][_0x1aaac0(0x39e)](),this['_entities'][_0x1aaac0(0x3c7)](_0x29f867=>_0x29f867[_0x1aaac0(0x388)]());}[_0x477bc3(0x10c)](_0x5672bb){const _0x3ce46d=_0x477bc3;return this[_0x3ce46d(0x3c1)][_0x3ce46d(0x3cf)](_0x5672bb)?this[_0x3ce46d(0x3c1)]['get'](_0x5672bb)[_0x3ce46d(0x262)]:this['_entityInit$'][_0x3ce46d(0x2d1)](_0xe327d9['filter'](_0x27c868=>_0x27c868[_0x3ce46d(0x3d0)]===_0x5672bb),_0xe327d9[_0x3ce46d(0x220)](_0xb2628e=>_0xb2628e[_0x3ce46d(0x262)]));}[_0x477bc3(0x1ad)](){const _0x2c9e3d=_0x477bc3;this['_univerInstanceService'][_0x2c9e3d(0x15c)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)])[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2cd)](async _0x3543c8=>{const _0x3d8607=_0x2c9e3d,_0x2723aa=_0x3543c8[_0x3d8607(0x161)](),_0x17598d=await this[_0x3d8607(0x3b3)](_0x2723aa);this['_entityInit$'][_0x3d8607(0x3be)](_0x17598d),this[_0x3d8607(0x3c1)][_0x3d8607(0x34a)](_0x2723aa,_0x17598d);}),this[_0x2c9e3d(0x225)]['getTypeOfUnitAdded$'](_0x162031['UniverInstanceType'][_0x2c9e3d(0x2c3)])[_0x2c9e3d(0x2d1)](_0xe327d9['takeUntil'](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x124)](_0x15fa09=>!_0x15fa09['getUnitId']()[_0x2c9e3d(0x27d)]('__')))[_0x2c9e3d(0x2cd)](async _0x4ca835=>{const _0x2569db=_0x2c9e3d,_0x1ea1cc=_0x4ca835[_0x2569db(0x161)](),_0x47a71c=await this['_startDocCollabCursor'](_0x1ea1cc);this['_entityInit$'][_0x2569db(0x3be)](_0x47a71c),this[_0x2569db(0x3c1)][_0x2569db(0x34a)](_0x1ea1cc,_0x47a71c);}),_0xe327d9[_0x2c9e3d(0x249)](this[_0x2c9e3d(0x225)][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x2c3)]),this['_univerInstanceService'][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)]))['pipe'](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))['subscribe'](_0x4bafe0=>{const _0x59d98e=_0x2c9e3d,_0x514911=_0x4bafe0[_0x59d98e(0x161)](),_0x11c8d8=this[_0x59d98e(0x3c1)][_0x59d98e(0x375)](_0x514911);_0x11c8d8&&(_0x11c8d8[_0x59d98e(0x388)](),this[_0x59d98e(0x3c1)][_0x59d98e(0x32d)](_0x514911));});}async[_0x477bc3(0x3b3)](_0x462f6e){const _0xfdac2b=_0x477bc3,_0x45c56d=await this['_collabSessionService'][_0xfdac2b(0x107)](_0x462f6e),_0x1a8021=this[_0xfdac2b(0x3da)][_0xfdac2b(0x11c)](_0x3944c4,_0x462f6e,_0x45c56d);return _0x1a8021[_0xfdac2b(0x10a)](),_0x1a8021;}async[_0x477bc3(0x1a9)](_0xd56544){const _0x35b6e5=_0x477bc3,_0x194d6a=await this[_0x35b6e5(0x299)][_0x35b6e5(0x107)](_0xd56544),_0x3e0565=this[_0x35b6e5(0x3da)][_0x35b6e5(0x11c)](_0x36b425,_0xd56544,_0x194d6a);return _0x3e0565[_0x35b6e5(0x10a)](),_0x3e0565;}};_0x421cc1=_0x5bdd9f([_0x5225e8(0x0,_0x162031['IUniverInstanceService']),_0x5225e8(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x5225e8(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x1e5)]))],_0x421cc1);const _0x2a224c=0x14,_0x5b89ee=0xc8,_0x549daf=0x4,_0x41e0cc=0x5;function _0x5746fc(_0x4e5e2c,_0x3951e3){const _0x195657=_0x477bc3;let {radius:_0x519648,width:_0x265520,height:_0x3bebb7}=_0x3951e3;_0x519648=_0x519648!=null?_0x519648:0x0,_0x265520=_0x265520!=null?_0x265520:0x1e,_0x3bebb7=_0x3bebb7!=null?_0x3bebb7:0x1e;let _0x580dbd=0x0,_0x6627c6=0x0,_0xcb984e=0x0;_0x580dbd=_0x6627c6=_0xcb984e=Math[_0x195657(0x270)](_0x519648,_0x265520/0x2,_0x3bebb7/0x2),_0x4e5e2c[_0x195657(0x32a)](),_0x4e5e2c[_0x195657(0x195)](_0x580dbd,0x0),_0x4e5e2c['lineTo'](_0x265520-_0x6627c6,0x0),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0x6627c6,_0x6627c6,_0x6627c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e5e2c[_0x195657(0x108)](_0x265520,_0x3bebb7-_0xcb984e),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0xcb984e,_0x3bebb7-_0xcb984e,_0xcb984e,0x0,Math['PI']/0x2,!0x1),_0x4e5e2c['lineTo'](0x0,_0x3bebb7),_0x4e5e2c[_0x195657(0x108)](0x0,_0x580dbd),_0x4e5e2c[_0x195657(0x129)](_0x580dbd,_0x580dbd,_0x580dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e5e2c['closePath'](),_0x3951e3[_0x195657(0x368)]&&(_0x4e5e2c[_0x195657(0x381)](),_0x4e5e2c[_0x195657(0x3a5)]=_0x3951e3['fill'],_0x3951e3[_0x195657(0x3c8)]==='evenodd'?_0x4e5e2c[_0x195657(0x368)]('evenodd'):_0x4e5e2c['fill'](),_0x4e5e2c[_0x195657(0x1be)]());}class _0x2a34f4 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x7625cb,_0x3fbf26){const _0x356ea6=_0x477bc3;super(_0x7625cb,_0x3fbf26),_0x387a01(this,_0x356ea6(0x370)),_0x387a01(this,_0x356ea6(0x1ff)),(this[_0x356ea6(0x370)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x370)],this[_0x356ea6(0x1ff)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x1ff)]);}static[_0x477bc3(0x145)](_0x3aa136,_0x4bf87f){const _0x80000b=_0x477bc3,{text:_0x2073d2,color:_0x2a64ba}=_0x4bf87f;_0x3aa136[_0x80000b(0x381)](),_0x3aa136['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x576804=_0x3aa136['measureText'](_0x2073d2)[_0x80000b(0x2c0)],_0x5cb21a=Math[_0x80000b(0x270)](_0x576804+0x2*_0x549daf,_0x5b89ee);_0x5746fc(_0x3aa136,{'height':_0x2a224c,'radius':0x4,'width':_0x5cb21a,'fill':_0x2a64ba}),_0x3aa136['fillStyle']=_0x80000b(0x24b);const _0x34d1b3=_0x549daf,_0xb9138f=_0x2a224c-_0x41e0cc,_0x1b1bb6=_0x5b89ee-0x2*_0x549daf;if(_0x576804>_0x1b1bb6){let _0x61d362='',_0x164939=0x0;for(const _0x5e5de5 of _0x2073d2){const _0x46792b=_0x3aa136[_0x80000b(0x378)](_0x5e5de5)[_0x80000b(0x2c0)];if(_0x164939+_0x46792b<=_0x1b1bb6-_0x3aa136['measureText'](_0x80000b(0x240))[_0x80000b(0x2c0)])_0x61d362+=_0x5e5de5,_0x164939+=_0x46792b;else{_0x61d362+='...';break;}}_0x3aa136[_0x80000b(0x2e6)](_0x61d362,_0x34d1b3,_0xb9138f);}else _0x3aa136['fillText'](_0x2073d2,_0x34d1b3,_0xb9138f);_0x3aa136[_0x80000b(0x1be)]();}['_draw'](_0x531ed0){_0x2a34f4['drawWith'](_0x531ed0,this);}}const _0x3fded9=_0x477bc3(0x289),_0x49fae5='collab-text-range-',_0x2b7512='collab-rect-range-',_0x307f23=0x6,_0x5bca90=1.5,_0xcd4d86=0x4,_0x185f72=1.5,_0x384113=_0x477bc3(0x214);class _0x291d53{constructor(_0x1cea1a,_0x46ffa5,_0x431db1,_0x3410d1){const _0x3d405b=_0x477bc3;_0x387a01(this,_0x3d405b(0x100),[]),_0x387a01(this,'_anchor',null),_0x387a01(this,_0x3d405b(0x396),null),_0x387a01(this,_0x3d405b(0x27f),null),_0x387a01(this,_0x3d405b(0x2f3),null),_0x387a01(this,_0x3d405b(0x16a),null),(this[_0x3d405b(0x351)]=_0x1cea1a,this[_0x3d405b(0x2b5)]=_0x46ffa5,this[_0x3d405b(0x123)]=_0x431db1,this[_0x3d405b(0x2af)]=_0x3410d1,this['_render']());}set['_hover'](_0x37ea34){const _0x360abf=_0x477bc3;_0x37ea34?(this[_0x360abf(0x27f)]&&this[_0x360abf(0x27f)][_0x360abf(0x15f)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x348)]()):(this['_anchorDot']&&this[_0x360abf(0x27f)][_0x360abf(0x348)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x15f)]());}[_0x477bc3(0x388)](){const _0x27d86e=_0x477bc3;for(const _0x3e49eb of this[_0x27d86e(0x100)])_0x3e49eb[_0x27d86e(0x388)]();this[_0x27d86e(0x396)]&&this['_textBubble'][_0x27d86e(0x388)](),this[_0x27d86e(0x27f)]&&this['_anchorDot'][_0x27d86e(0x388)](),this[_0x27d86e(0x352)]&&this[_0x27d86e(0x352)][_0x27d86e(0x388)](),this[_0x27d86e(0x16a)]&&this[_0x27d86e(0x16a)]();}['_render'](){const _0x450f87=_0x477bc3;var _0x310bf6;const {_docSkeleton:_0x283018,_document:_0x18e4b2}=this,{color:_0x12cd20,name:_0xc87098,ranges:_0x44221e}=this[_0x450f87(0x351)],_0x19496c=_0x18e4b2[_0x450f87(0x1ed)](),{docsLeft:_0x63c746,docsTop:_0x3bbb3f}=_0x19496c,_0x5ad7b6=new _0x74e6be[(_0x450f87(0x35f))](_0x19496c,_0x283018);for(const {startOffset:_0x425c56,endOffset:_0x45f83d,rangeType:_0xa0b212,segmentId:_0x1675ba,segmentPage:_0xfd2f2a,collapsed:_0x5aaab2,isActive:_0x3b84a3}of _0x44221e){const _0x41f504=_0x283018['findNodePositionByCharIndex'](_0x425c56,!0x0,_0x1675ba,_0xfd2f2a);let _0x3e175e=_0x283018['findNodePositionByCharIndex'](_0x45f83d,!0x0,_0x1675ba,_0xfd2f2a);if(_0x3e175e==null&&(_0x3e175e=_0x283018[_0x450f87(0x33b)](_0x45f83d-0x1,!0x1,_0x1675ba,_0xfd2f2a)),_0x3b84a3){const {contentBoxPointGroup:_0x3efd77}=_0x5ad7b6[_0x450f87(0x324)](_0x3e175e,_0x3e175e);if(_0x3efd77['length']===0x0)continue;this[_0x450f87(0x28a)](_0x12cd20,_0x3efd77,_0x63c746,_0x3bbb3f,_0xc87098),this['_eventUnsubscribe']=this[_0x450f87(0x1f0)]();}if(_0x41f504&&_0x3e175e){if(_0xa0b212===_0x162031[_0x450f87(0x1d9)][_0x450f87(0x29d)]){const _0x345c50=new _0x74e6be[(_0x450f87(0xec))](_0x19496c,_0x283018),{pointGroup:_0x550c17}=(_0x310bf6=_0x345c50[_0x450f87(0x324)](_0x41f504,_0x3e175e))!=null?_0x310bf6:{};if(_0x550c17==null||_0x550c17[_0x450f87(0x215)]===0x0)continue;this[_0x450f87(0x37d)](_0x12cd20,_0x550c17,_0x63c746,_0x3bbb3f);}else{if(!_0x5aaab2){const {borderBoxPointGroup:_0x5a3c85}=_0x5ad7b6[_0x450f87(0x324)](_0x41f504,_0x3e175e);if(_0x5a3c85['length']===0x0)continue;this[_0x450f87(0x1ea)](_0x12cd20,_0x5a3c85,_0x63c746,_0x3bbb3f);}}}}}[_0x477bc3(0x28a)](_0xd7520d,_0x5866f5,_0x96ff79,_0x39d1e3,_0x307eaa){const _0x2cea40=_0x477bc3,_0x696f52=this['_getAnchorBounding'](_0x5866f5),{left:_0x5b5d9b,top:_0x1caa8e,height:_0x1a4d40}=_0x696f52,_0x214211=this[_0x2cea40(0x265)](),_0x4870c9=_0x185f72/_0x214211,_0x1232bc=new _0x433081['Rect'](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3,'height':_0x1a4d40,'width':_0x5bca90,'fill':_0xd7520d||_0x433081['getColor'](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'strokeWidth':_0x4870c9,'stroke':_0x384113,'evented':!0x0});this[_0x2cea40(0x352)]=_0x1232bc,this['_scene'][_0x2cea40(0x208)](_0x1232bc,_0x74e6be[_0x2cea40(0x302)]);const _0x59f298=new _0x433081[(_0x2cea40(0x231))](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0xcd4d86/0x2,'height':_0xcd4d86,'width':_0xcd4d86,'fill':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031['COLORS'][_0x2cea40(0x286)],0x0),'strokeWidth':0x0,'stroke':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'evented':!0x1});this[_0x2cea40(0x27f)]=_0x59f298,this['_scene'][_0x2cea40(0x208)](_0x59f298,_0x74e6be['TEXT_RANGE_LAYER_INDEX']);const _0x535216=new _0x2a34f4(_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0x2a224c,'text':_0x307eaa,'color':_0xd7520d});this[_0x2cea40(0x396)]=_0x535216,this[_0x2cea40(0x2b5)][_0x2cea40(0x208)](_0x535216,_0x74e6be['TEXT_RANGE_LAYER_INDEX']),this[_0x2cea40(0x158)]=!0x1;}[_0x477bc3(0x1f0)](){const _0x1c18b6=_0x477bc3,_0x42a2cf=this[_0x1c18b6(0x352)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x23f5e2=this[_0x1c18b6(0x352)][_0x1c18b6(0x243)]['subscribeEvent'](()=>{const _0x516770=_0x1c18b6;this[_0x516770(0x2f3)]&&clearTimeout(this[_0x516770(0x2f3)]),this[_0x516770(0x2f3)]=setTimeout(()=>{const _0x3e3e1d=_0x516770;this[_0x3e3e1d(0x158)]=!0x1;},0x7d0);});return()=>{const _0x489236=_0x1c18b6;_0x42a2cf[_0x489236(0x345)](),_0x23f5e2[_0x489236(0x345)]();};}[_0x477bc3(0x1ea)](_0x10b38f,_0x5d15e3,_0x567cb9,_0x3de138){const _0xbfbfdf=_0x477bc3,_0x1b7099=new _0x162031[(_0xbfbfdf(0x245))](_0x10b38f)[_0xbfbfdf(0x189)](0.2)[_0xbfbfdf(0x3d5)](),_0x4bcb1a=new _0x433081[(_0xbfbfdf(0x2e4))](_0x49fae5+_0x162031['generateRandomId'](_0x307f23),{'pointsGroup':_0x5d15e3,'fill':_0x1b7099||_0x433081[_0xbfbfdf(0x21a)](_0x162031[_0xbfbfdf(0x254)][_0xbfbfdf(0x286)],0.2),'left':_0x567cb9,'top':_0x3de138,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbfbfdf(0x100)]['push'](_0x4bcb1a),this['_scene']['addObject'](_0x4bcb1a,_0x74e6be[_0xbfbfdf(0x302)]);}[_0x477bc3(0x37d)](_0xe6e0fc,_0xf1f908,_0x2fcdc4,_0x574396){const _0x22b8b4=_0x477bc3,_0x45dc16=new _0x162031[(_0x22b8b4(0x245))](_0xe6e0fc)[_0x22b8b4(0x189)](0.2)[_0x22b8b4(0x3d5)](),_0x400628=new _0x433081['RegularPolygon'](_0x2b7512+_0x162031[_0x22b8b4(0x38e)](_0x307f23),{'pointsGroup':_0xf1f908,'fill':_0x45dc16||_0x433081[_0x22b8b4(0x21a)](_0x162031[_0x22b8b4(0x254)][_0x22b8b4(0x286)],0.2),'left':_0x2fcdc4,'top':_0x574396,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b8b4(0x100)][_0x22b8b4(0x138)](_0x400628),this[_0x22b8b4(0x2b5)]['addObject'](_0x400628,_0x74e6be[_0x22b8b4(0x302)]);}[_0x477bc3(0x323)](_0x505c86){const _0xa5afd2=_0x505c86[0x0],_0x38422b=_0xa5afd2[0x0],_0x183d0a=_0xa5afd2[0x2],{x:_0x25f4d4,y:_0x34a3c1}=_0x38422b,{x:_0x249e11,y:_0x345c5e}=_0x183d0a;return{'left':_0x25f4d4,'top':_0x34a3c1,'width':_0x249e11-_0x25f4d4,'height':_0x345c5e-_0x34a3c1};}['_getScale'](){const _0x206669=_0x477bc3,{scaleX:_0x3b243a,scaleY:_0x59f587}=this['_scene'][_0x206669(0x2e5)]();return Math[_0x206669(0x38b)](_0x3b243a,_0x59f587);}}var _0xceaa62=Object[_0x477bc3(0x1ec)],_0x4c60d3=(_0x2a9156,_0x309792,_0x4120b1,_0x150656)=>{const _0x55482d=_0x477bc3;for(var _0x241c69=_0x150656>0x1?void 0x0:_0x150656?_0xceaa62(_0x309792,_0x4120b1):_0x309792,_0x36d7d3=_0x2a9156[_0x55482d(0x215)]-0x1,_0x3c0d9d;_0x36d7d3>=0x0;_0x36d7d3--)(_0x3c0d9d=_0x2a9156[_0x36d7d3])&&(_0x241c69=_0x3c0d9d(_0x241c69)||_0x241c69);return _0x241c69;},_0x362ca2=(_0x5a971f,_0x1c601a)=>(_0x4d9123,_0x41e98e)=>_0x1c601a(_0x4d9123,_0x41e98e,_0x5a971f);let _0x560482=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x16097d,_0x12a5ee,_0x5cf45e,_0x28fba8,_0x13a3e6){const _0x5aa08e=_0x477bc3;super(),_0x387a01(this,_0x5aa08e(0x284),[]),_0x387a01(this,_0x5aa08e(0x218),[]),(this[_0x5aa08e(0x298)]=_0x16097d,this[_0x5aa08e(0x3a0)]=_0x12a5ee,this[_0x5aa08e(0x26e)]=_0x5cf45e,this[_0x5aa08e(0x139)]=_0x28fba8,this[_0x5aa08e(0x26b)]=_0x13a3e6,this[_0x5aa08e(0x1ad)]());}['_init'](){const _0x5e55b2=_0x477bc3,_0x286cf7=this[_0x5e55b2(0x298)]['unitId'],_0x328a0a=this['_docSkeletonManagerService'];this[_0x5e55b2(0x32e)](_0xe327d9['combineLatest']([this[_0x5e55b2(0x26e)][_0x5e55b2(0x10c)](_0x286cf7),this[_0x5e55b2(0x26b)][_0x5e55b2(0x1e9)]])['pipe'](_0x57b5b5['map'](([_0x55fce3,_0x5a2fec])=>({'skeleton':_0x328a0a[_0x5e55b2(0x115)](),'cursors':[..._0x55fce3[_0x5e55b2(0x3ca)]()][_0x5e55b2(0x1e1)](_0x516680=>({..._0x516680,'color':this[_0x5e55b2(0x26b)]['getColorFromTheme'](_0x516680[_0x5e55b2(0x370)])}))})))[_0x5e55b2(0x2cd)](_0xc8fe7e=>{const _0x2999ac=_0x5e55b2;if(this[_0x2999ac(0x280)](),_0xc8fe7e){const {skeleton:_0x1dbadb,cursors:_0x4c0f70}=_0xc8fe7e;this[_0x2999ac(0x168)](_0x1dbadb,_0x4c0f70);}})),this['_initResize'](),this[_0x5e55b2(0x335)]();}[_0x477bc3(0x168)](_0x1cd659,_0x52ba42){const _0x15b013=_0x477bc3,{scene:_0x14dfc3,mainComponent:_0x5b61ae}=this[_0x15b013(0x298)],_0x50baad=_0x52ba42[_0x15b013(0x239)](_0x3ea7ff=>new _0x291d53(_0x3ea7ff,_0x14dfc3,_0x1cd659,_0x5b61ae));this[_0x15b013(0x284)]=_0x50baad,this[_0x15b013(0x218)]=_0x52ba42;}[_0x477bc3(0x21b)](){const _0x31eda0=_0x477bc3;this[_0x31eda0(0x280)]();const {scene:_0x5245a6,mainComponent:_0x73f0fa}=this[_0x31eda0(0x298)],_0x3f00e0=this['_docSkeletonManagerService'][_0x31eda0(0x115)](),_0x21fe28=this[_0x31eda0(0x218)][_0x31eda0(0x239)](_0x316a9e=>new _0x291d53(_0x316a9e,_0x5245a6,_0x3f00e0,_0x73f0fa));this[_0x31eda0(0x284)]=_0x21fe28;}[_0x477bc3(0x280)](){const _0x23bd6c=_0x477bc3;this[_0x23bd6c(0x284)][_0x23bd6c(0x3c7)](_0x54a03d=>_0x54a03d[_0x23bd6c(0x388)]()),this['_cursorShapes']=[];}[_0x477bc3(0x335)](){const _0x49237a=_0x477bc3,_0x22c1a4=[_0x74e6be['SetDocZoomRatioOperation']['id']];this[_0x49237a(0x32e)](this[_0x49237a(0x139)][_0x49237a(0x1b7)](_0x1d6d3e=>{const _0x349650=_0x49237a;_0x22c1a4['includes'](_0x1d6d3e['id'])&&_0x1d6d3e['params'][_0x349650(0x150)]===this[_0x349650(0x298)][_0x349650(0x150)]&&this[_0x349650(0x21b)]();}));}[_0x477bc3(0x175)](){const _0x324a57=_0x477bc3;this[_0x324a57(0x32e)](_0x162031[_0x324a57(0x3a1)](this['_context'][_0x324a57(0x3d3)][_0x324a57(0x109)])['pipe'](_0x57b5b5[_0x324a57(0x124)](_0x515f97=>_0x515f97[_0x324a57(0x24d)]===_0x433081['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x324a57(0x1f8)]),_0x57b5b5['throttleTime'](0x10))['subscribe'](()=>{const _0x5b9ca4=_0x324a57;this[_0x5b9ca4(0x21b)]();}));}};_0x560482=_0x4c60d3([_0x362ca2(0x1,_0x162031[_0x477bc3(0x2b0)](_0x47f67f[_0x477bc3(0x2e0)])),_0x362ca2(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x362ca2(0x3,_0x162031[_0x477bc3(0x326)]),_0x362ca2(0x4,_0x162031['Inject'](_0x162031[_0x477bc3(0x2be)]))],_0x560482);const _0x49697b=0x1,_0xfe7f48=1.5;class _0x5ff006 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x5505f3,_0x227001){const _0x2c7eb7=_0x477bc3;super(_0x5505f3,_0x227001),_0x387a01(this,_0x2c7eb7(0x24a)),_0x387a01(this,_0x2c7eb7(0x26f),!0x1),_0x387a01(this,_0x2c7eb7(0xf5)),_0x387a01(this,'_name',''),_0x387a01(this,'_labelPosition',_0x2c7eb7(0x16d)),_0x387a01(this,_0x2c7eb7(0x338)),(_0x227001&&this[_0x2c7eb7(0x317)](_0x227001),this[_0x2c7eb7(0x3a6)][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x1})));}[_0x477bc3(0x317)](_0x11e478){const _0x3ed9df=_0x477bc3;var _0x3f7577,_0x174654,_0x405b99,_0x5c1fd9,_0x2a9078,_0x2d5904;this[_0x3ed9df(0x24a)]=(_0x3f7577=_0x11e478[_0x3ed9df(0x370)])!=null?_0x3f7577:this[_0x3ed9df(0x24a)],this['_hovered']=(_0x174654=_0x11e478[_0x3ed9df(0x3c5)])!=null?_0x174654:this[_0x3ed9df(0x26f)],this[_0x3ed9df(0xf5)]=(_0x405b99=_0x11e478[_0x3ed9df(0x2ac)])!=null?_0x405b99:this[_0x3ed9df(0xf5)],this[_0x3ed9df(0x1e6)]=(_0x5c1fd9=_0x11e478[_0x3ed9df(0x3d4)])!=null?_0x5c1fd9:this[_0x3ed9df(0x1e6)],this[_0x3ed9df(0x2fa)]=(_0x2a9078=_0x11e478[_0x3ed9df(0x301)])!=null?_0x2a9078:this[_0x3ed9df(0x2fa)],this[_0x3ed9df(0x338)]=(_0x2d5904=_0x11e478[_0x3ed9df(0x356)])!=null?_0x2d5904:this[_0x3ed9df(0x338)],this[_0x3ed9df(0x16e)]({'width':_0x11e478[_0x3ed9df(0x2c0)],'height':_0x11e478['height']});}[_0x477bc3(0x1a4)](_0x367d9d){const _0x5707ba=_0x477bc3,{row:_0x5f194c,column:_0x58ad06}=_0x367d9d;if(_0x5f194c>=this[_0x5707ba(0xf5)]['startRow']&&_0x5f194c<=this[_0x5707ba(0xf5)]['endRow']&&_0x58ad06>=this[_0x5707ba(0xf5)][_0x5707ba(0x163)]&&_0x58ad06<=this[_0x5707ba(0xf5)][_0x5707ba(0x21f)]){this[_0x5707ba(0x317)]({'hovered':!0x0});return;}this[_0x5707ba(0x317)]({'hovered':!0x1});}['triggerDblclick'](_0x44983d){return!0x1;}['_draw'](_0x3d40ad){const _0x7a12b6=_0x477bc3;_0x433081[_0x7a12b6(0x231)][_0x7a12b6(0x145)](_0x3d40ad,{'width':this[_0x7a12b6(0x2c0)],'height':this[_0x7a12b6(0x291)],'strokeWidth':_0xfe7f48,'stroke':this[_0x7a12b6(0x24a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x7a12b6(0x26f)]&&(_0x3d40ad[_0x7a12b6(0x381)](),_0x3d40ad[_0x7a12b6(0x142)](0x1,0x0,0x0,0x1,this['width'],this[_0x7a12b6(0x2fa)]===_0x7a12b6(0x2f0)?0x0:-_0x2a224c),_0x2a34f4[_0x7a12b6(0x145)](_0x3d40ad,{'text':this[_0x7a12b6(0x1e6)],'color':this[_0x7a12b6(0x24a)]}),_0x3d40ad[_0x7a12b6(0x1be)]());}}var _0x3efdf3=Object[_0x477bc3(0x1ec)],_0x21f188=(_0x4c6140,_0x3cdba1,_0x8752b8,_0x9cf6a1)=>{for(var _0x3a0146=_0x9cf6a1>0x1?void 0x0:_0x9cf6a1?_0x3efdf3(_0x3cdba1,_0x8752b8):_0x3cdba1,_0x553934=_0x4c6140['length']-0x1,_0x2b80c0;_0x553934>=0x0;_0x553934--)(_0x2b80c0=_0x4c6140[_0x553934])&&(_0x3a0146=_0x2b80c0(_0x3a0146)||_0x3a0146);return _0x3a0146;},_0x2b05e5=(_0x482322,_0x4a1065)=>(_0xcea71d,_0x3ace51)=>_0x4a1065(_0xcea71d,_0x3ace51,_0x482322);const _0x3edc2a=0x1389;let _0x2eb725=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x2c055b,_0x176596,_0x268ab8,_0x37435a){const _0x1931d5=_0x477bc3;super(),_0x387a01(this,_0x1931d5(0x218),new Set()),_0x387a01(this,_0x1931d5(0x36e),null),(this[_0x1931d5(0x298)]=_0x2c055b,this[_0x1931d5(0x300)]=_0x176596,this[_0x1931d5(0x26e)]=_0x268ab8,this[_0x1931d5(0x26b)]=_0x37435a,this['_init']());}[_0x477bc3(0x1ad)](){const _0x438ec3=_0x477bc3;this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2d1)](_0x57b5b5[_0x438ec3(0x331)](this[_0x438ec3(0x1c1)]),_0x57b5b5[_0x438ec3(0x220)](_0x24c6f0=>{const _0x50f39b=_0x438ec3;if(_0x24c6f0){const _0xdcc0d3=_0x24c6f0[_0x50f39b(0x39c)];return _0xe327d9[_0x50f39b(0x1fb)](this[_0x50f39b(0x26e)][_0x50f39b(0x10c)](this[_0x50f39b(0x298)]['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x57b5b5[_0x50f39b(0x239)](([_0x22d750,_0x5cddf1])=>{const _0x49e4e6=_0x50f39b,_0x38e03a=new Map();return _0x22d750[_0x49e4e6(0x3c7)]((_0x29f984,_0x42e22d)=>{const _0x3e72ee=_0x49e4e6;if(_0x29f984[_0x3e72ee(0x12e)]===_0xdcc0d3){const _0x675277={..._0x29f984};_0x675277[_0x3e72ee(0x370)]=this['_themeService'][_0x3e72ee(0x1a8)](_0x29f984[_0x3e72ee(0x370)]),_0x38e03a[_0x3e72ee(0x34a)](_0x42e22d,_0x675277);}}),{'skeleton':_0x24c6f0,'cursors':_0x38e03a};}));}return _0xe327d9['of']({'skeleton':null,'cursors':new Map()});}))[_0x438ec3(0x2cd)](({skeleton:_0xf1b502,cursors:_0x2e878b})=>{const _0x374bcd=_0x438ec3;this[_0x374bcd(0x280)](),_0xf1b502&&this[_0x374bcd(0x168)](_0xf1b502,_0x2e878b);}),this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2cd)](_0x4d245a=>{const _0x5d7b4a=_0x438ec3;if(_0x4d245a==null)return;const {skeleton:_0x1ab0ff}=_0x4d245a,{scene:_0x2360ff}=this[_0x5d7b4a(0x298)];_0x2360ff[_0x5d7b4a(0x1c6)][_0x5d7b4a(0x259)](_0x162031['debounce'](_0x10ddb5=>{const _0x5e31f2=_0x5d7b4a;var _0x3ddff7,_0x2f529c;const {offsetX:_0x32244d,offsetY:_0x47d3d2}=_0x10ddb5,{x:_0x1b9fc2,y:_0x182afd}=_0x2360ff['getRelativeToViewportCoord'](_0x433081[_0x5e31f2(0x1d4)][_0x5e31f2(0x373)]([_0x32244d,_0x47d3d2])),{scaleX:_0x59b025,scaleY:_0x343058}=_0x2360ff['getAncestorScale'](),_0x2ef878=_0x2360ff[_0x5e31f2(0x2ec)](_0x433081[_0x5e31f2(0x2ae)][_0x5e31f2(0x191)]),_0x301f56=_0x2360ff[_0x5e31f2(0x235)](_0x433081['Vector2'][_0x5e31f2(0x373)]([_0x1b9fc2,_0x182afd]),_0x2ef878),_0x2884f6=_0x1ab0ff[_0x5e31f2(0x337)](_0x32244d,_0x47d3d2,_0x59b025,_0x343058,_0x301f56);((_0x3ddff7=this[_0x5e31f2(0x36e)])==null?void 0x0:_0x3ddff7[_0x5e31f2(0x364)])===_0x2884f6[_0x5e31f2(0x364)]&&((_0x2f529c=this['_lastPointer'])==null?void 0x0:_0x2f529c['row'])===_0x2884f6[_0x5e31f2(0x1f2)]||this[_0x5e31f2(0x218)]['forEach'](_0x3abd30=>{const _0x57527f=_0x5e31f2;_0x3abd30[_0x57527f(0x1a4)](_0x2884f6);});},0x64));});}[_0x477bc3(0x168)](_0x58042d,_0x4bfec2){const _0x20b7c9=_0x477bc3;var _0x41b450;const _0x12ecc8=(_0x41b450=this['_sheetSkeletonManagerService'][_0x20b7c9(0x31c)]())==null?void 0x0:_0x41b450['skeleton'];if(!_0x12ecc8)return;const _0x38ddc1=this[_0x20b7c9(0x344)]();if(!_0x38ddc1)return;this[_0x20b7c9(0x218)]['forEach'](_0x17dd3d=>{const _0x63bbe7=_0x20b7c9;_0x17dd3d[_0x63bbe7(0x198)]();});const {scene:_0x43766d}=_0x38ddc1,_0x19ba27=_0x2a23ef(Array['from'](_0x4bfec2[_0x20b7c9(0x3ca)]()))[_0x20b7c9(0x239)](_0x45ad3c=>{const _0x58f3a1=_0x20b7c9,{color:_0x58109f,range:_0x332b48,name:_0x263fc6,selection:_0x469b7f,sheetID:_0xeb229e}=_0x45ad3c,{startColumn:_0x144fe7,startRow:_0x5b3c2f,endColumn:_0x4914aa,endRow:_0x5522f6}=_0x332b48,_0x2cd3ae=_0x9b001c[_0x58f3a1(0x1cf)](_0x5b3c2f,_0x144fe7,_0x43766d,_0x12ecc8),_0x148dcf=_0x9b001c[_0x58f3a1(0x1cf)](_0x5522f6,_0x4914aa,_0x43766d,_0x12ecc8),{columnHeaderHeightAndMarginTop:_0x781548}=_0x12ecc8,{startX:_0x47019d,startY:_0x9e982d}=_0x2cd3ae,{endX:_0x49e705,endY:_0x59488c}=_0x148dcf,_0x2fe238=_0x49e705-_0x47019d,_0x78122=_0x59488c-_0x9e982d,_0x5835f7={'labelPosition':_0x9e982d-_0x781548>=_0x2a224c?_0x58f3a1(0x16d):_0x58f3a1(0x2f0),'sheetID':_0xeb229e,'range':_0x332b48,'color':_0x58109f,'name':_0x263fc6,'selection':_0x469b7f,'left':_0x47019d,'top':_0x9e982d,'width':_0x2fe238,'height':_0x78122,'evented':!0x1,'zIndex':_0x3edc2a};return new _0x5ff006(_0x263fc6,_0x5835f7);});_0x43766d[_0x20b7c9(0x28f)](_0x19ba27,_0x49697b),this[_0x20b7c9(0x218)]=new Set(_0x19ba27);}[_0x477bc3(0x280)](){const _0x5e1a86=_0x477bc3;var _0x17504d;(_0x17504d=this[_0x5e1a86(0x218)])==null||_0x17504d[_0x5e1a86(0x3c7)](_0x31c8cd=>_0x31c8cd[_0x5e1a86(0x388)]());}[_0x477bc3(0x344)](){const _0x419428=_0x477bc3;return _0x9b001c[_0x419428(0x1ce)](this[_0x419428(0x298)][_0x419428(0x186)],this['_context']);}};_0x2eb725=_0x21f188([_0x2b05e5(0x1,_0x162031['Inject'](_0x9b001c['SheetSkeletonManagerService'])),_0x2b05e5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x2b05e5(0x3,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x2be)]))],_0x2eb725);function _0x2a23ef(_0x5a35ea){const _0xe870a2=_0x477bc3,_0x14f28f=new Map();return _0x5a35ea[_0xe870a2(0x3c7)](_0x2ac9c1=>{const _0x30465c=_0xe870a2;if(_0x14f28f[_0x30465c(0x3cf)](_0x2ac9c1[_0x30465c(0x197)])){const _0x57dfcc=_0x14f28f['get'](_0x2ac9c1[_0x30465c(0x197)]);_0x57dfcc[_0x30465c(0x3d4)]+=',\x20'+_0x2ac9c1[_0x30465c(0x3d4)];}else _0x14f28f[_0x30465c(0x34a)](_0x2ac9c1[_0x30465c(0x197)],_0x2ac9c1);}),Array[_0xe870a2(0x360)](_0x14f28f[_0xe870a2(0x3ca)]());}var _0x511c4d=Object['getOwnPropertyDescriptor'],_0x43570a=(_0x5c607d,_0x4dc8dc,_0x4f36bf,_0xc75653)=>{const _0x183b6e=_0x477bc3;for(var _0x35e517=_0xc75653>0x1?void 0x0:_0xc75653?_0x511c4d(_0x4dc8dc,_0x4f36bf):_0x4dc8dc,_0x351f52=_0x5c607d[_0x183b6e(0x215)]-0x1,_0x557dce;_0x351f52>=0x0;_0x351f52--)(_0x557dce=_0x5c607d[_0x351f52])&&(_0x35e517=_0x557dce(_0x35e517)||_0x35e517);return _0x35e517;},_0x514557=(_0x38c295,_0x503a3b)=>(_0x3f5773,_0x509603)=>_0x503a3b(_0x3f5773,_0x509603,_0x38c295);let _0x55cb2a=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x5f5adf,_0x30b101,_0x428a9b,_0x36b13d,_0x45b36c,_0x4e01cb){const _0x408c28=_0x477bc3;super(),this[_0x408c28(0x15b)]=_0x5f5adf,this[_0x408c28(0x273)]=_0x30b101,this[_0x408c28(0x227)]=_0x428a9b,this[_0x408c28(0x377)]=_0x36b13d,this[_0x408c28(0x3bc)]=_0x45b36c,this[_0x408c28(0x10b)]=_0x4e01cb,this['_setupBeforeClosingHandler'](),this[_0x408c28(0x25e)]();}[_0x477bc3(0x167)](){const _0x2eac18=_0x477bc3;this[_0x2eac18(0x32e)](this[_0x2eac18(0x15b)][_0x2eac18(0x3a7)](()=>{const _0x24b76f=_0x2eac18;if(this[_0x24b76f(0x273)][_0x24b76f(0x130)][_0x24b76f(0x12d)])return this['_localeService']['t'](_0x24b76f(0x39a));}));}[_0x477bc3(0x25e)](){const _0x4afecc=_0x477bc3;this[_0x4afecc(0x32e)](this[_0x4afecc(0x227)][_0x4afecc(0x177)][_0x4afecc(0x2cd)](_0x491368=>{const _0x46e683=_0x4afecc;_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x184)]&&this['_messageService'][_0x46e683(0x348)]({'type':_0x3fb0c6['MessageType'][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.single-unit.warning')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xee)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['PERMISSION_DENIED']&&this[_0x46e683(0x3bc)][_0x46e683(0x348)]({'title':this['_localeService']['t'](_0x46e683(0x1c4)),'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0xfb)),'type':_0x46e683(0x2d0),'duration':0x0}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x1eb)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')+'('+_0x491368['data']+')'}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x229)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)]['Warning'],'content':this[_0x46e683(0x10b)]['t'](_0x491368[_0x46e683(0x1f9)]||'')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SOCKET_FAILED_RETRY']&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this['_localeService']['t'](_0x46e683(0x10f))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xfd)]&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6['MessageType'][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x27a))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x367))});}));}};_0x55cb2a=_0x43570a([_0x514557(0x0,_0x198137[_0x477bc3(0x374)]),_0x514557(0x1,_0x44b518['ILocalCacheService']),_0x514557(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x2aa)])),_0x514557(0x3,_0x198137[_0x477bc3(0x222)]),_0x514557(0x4,_0x198137[_0x477bc3(0xeb)]),_0x514557(0x5,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x55cb2a);var _0x10bc08=Object[_0x477bc3(0x1ec)],_0x89c985=(_0x4498df,_0xc84eaf,_0x6f5fb3,_0x5d8359)=>{for(var _0x1cde41=_0x5d8359>0x1?void 0x0:_0x5d8359?_0x10bc08(_0xc84eaf,_0x6f5fb3):_0xc84eaf,_0x43b86c=_0x4498df['length']-0x1,_0x15c42e;_0x43b86c>=0x0;_0x43b86c--)(_0x15c42e=_0x4498df[_0x43b86c])&&(_0x1cde41=_0x15c42e(_0x1cde41)||_0x1cde41);return _0x1cde41;},_0x114be6=(_0x59c3e7,_0x476327)=>(_0x3e87d7,_0x2c384c)=>_0x476327(_0x3e87d7,_0x2c384c,_0x59c3e7);let _0x8f72b=class extends _0x162031['Disposable']{constructor(_0xfc81dc,_0x27687c,_0x338324,_0x55dbcf){const _0x3eb3da=_0x477bc3;super(),_0x387a01(this,_0x3eb3da(0x36d)),(this[_0x3eb3da(0x3da)]=_0xfc81dc,this['_httpService']=_0x27687c,this[_0x3eb3da(0x297)]=_0x338324,this['_collaborationSessionService']=_0x55dbcf,this[_0x3eb3da(0x1ad)]());}[_0x477bc3(0x1ad)](){const _0x40163f=_0x477bc3;this[_0x40163f(0x102)](),this[_0x40163f(0x3bb)](),this[_0x40163f(0x334)](),this[_0x40163f(0x38c)]();}[_0x477bc3(0x38c)](){const _0x1711f1=_0x477bc3;this[_0x1711f1(0x32e)](this[_0x1711f1(0x221)][_0x1711f1(0x36f)][_0x1711f1(0x2cd)](_0x570ff6=>{const _0x2b3c6d=_0x1711f1;this[_0x2b3c6d(0x36d)]=_0x570ff6==null?void 0x0:_0x570ff6[_0x2b3c6d(0x3b2)];}));}[_0x477bc3(0x102)](){const _0x5bdcf2=_0x477bc3,_0x512780=_0x19e5f8=>{const _0x510294=_0x1b11;var _0xd01e6e;this[_0x510294(0x131)](_0x510294(0x2d0),_0x510294(0x1b8)+_0x19e5f8['message']+_0x510294(0x347)+_0x19e5f8[_0x510294(0x1bb)]+':'+_0x19e5f8[_0x510294(0xf0)]+':'+_0x19e5f8['colno']+'\x0a'+(((_0xd01e6e=_0x19e5f8[_0x510294(0x2d0)])==null?void 0x0:_0xd01e6e[_0x510294(0x394)])||''));};window[_0x5bdcf2(0x2d6)](_0x5bdcf2(0x2d0),_0x512780),this[_0x5bdcf2(0x32e)](()=>{const _0x3d5467=_0x5bdcf2;window[_0x3d5467(0x279)]('error',_0x512780);});}[_0x477bc3(0x3bb)](){const _0x11fe5e=_0x477bc3,_0x1f0c0a=_0x2bc5ec=>{const _0x33f874=_0x1b11;this[_0x33f874(0x131)]('error',_0x33f874(0x305)+_0x2bc5ec[_0x33f874(0x397)]);};window['addEventListener']('unhandledrejection',_0x1f0c0a),this[_0x11fe5e(0x32e)](()=>{window['removeEventListener']('unhandledrejection',_0x1f0c0a);});}[_0x477bc3(0x334)](){const _0x159ffc=_0x477bc3,_0x2f939f=this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]['bind'](this['_logService']);this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]=(..._0x5b8dad)=>{const _0x1ccb4d=_0x159ffc,_0x49e19b=_0x5b8dad[_0x1ccb4d(0x239)](_0x385673=>_0x385673 instanceof Error?_0x385673['message']+'\x0a'+_0x385673[_0x1ccb4d(0x394)]:String(_0x385673))[_0x1ccb4d(0x122)]('\x20');this[_0x1ccb4d(0x131)](_0x1ccb4d(0x2d0),_0x1ccb4d(0x341)+_0x49e19b),_0x2f939f(..._0x5b8dad);},this[_0x159ffc(0x32e)](()=>{const _0x3fe18b=_0x159ffc;this[_0x3fe18b(0x297)][_0x3fe18b(0x2d0)]=_0x2f939f;});}['_uploadLog'](_0x3b2deb,_0x46f5de){const _0x6bb33c=_0x477bc3;try{const _0x148c42={'userId':this[_0x6bb33c(0x36d)],'logLabel':_0x3b2deb,'content':_0x46f5de};this[_0x6bb33c(0x180)]['post']('/universer-api/frontend/logs',{'body':_0x148c42})[_0x6bb33c(0x23b)](()=>{});}catch{}}};_0x8f72b=_0x89c985([_0x114be6(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x114be6(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0x114be6(0x2,_0x162031['ILogService']),_0x114be6(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x1e5)]))],_0x8f72b);const _0x1050c1=_0x477bc3(0x2df),_0x1b221={};var _0xede3e2=Object[_0x477bc3(0x1ec)],_0x411a7a=(_0x1d83c8,_0x13f5b7,_0x561fb0,_0x28d916)=>{const _0x553f13=_0x477bc3;for(var _0x2f14a6=_0x28d916>0x1?void 0x0:_0x28d916?_0xede3e2(_0x13f5b7,_0x561fb0):_0x13f5b7,_0x33ad8b=_0x1d83c8[_0x553f13(0x215)]-0x1,_0x1b04ca;_0x33ad8b>=0x0;_0x33ad8b--)(_0x1b04ca=_0x1d83c8[_0x33ad8b])&&(_0x2f14a6=_0x1b04ca(_0x2f14a6)||_0x2f14a6);return _0x2f14a6;},_0x15e2ef=(_0x306d24,_0x42b33d)=>(_0x54604f,_0x2fe650)=>_0x42b33d(_0x54604f,_0x2fe650,_0x306d24);let _0x492b1f=class{constructor(_0x232bc1,_0x6f0b38){const _0x2e9eb1=_0x477bc3;this[_0x2e9eb1(0x22c)]=_0x232bc1,this['_renderManagerService']=_0x6f0b38;}[_0x477bc3(0x350)](_0x1708a9){const _0x218516=_0x477bc3;this['_transformUndoRedoStack'](_0x1708a9),this[_0x218516(0x2b4)](_0x1708a9);}['transformRemoteChangeset'](_0xcce728){const _0x3407f0=_0x477bc3,{unitID:_0x41ec38}=_0xcce728,_0x434ba9=this[_0x3407f0(0x1f4)][_0x3407f0(0x288)](_0x41ec38)[_0x3407f0(0x135)](_0x74e6be[_0x3407f0(0x3d7)]),{redoCache:_0x3865a6}=_0x434ba9[_0x3407f0(0x212)]();if(_0x3865a6['length']===0x0)return _0xcce728;let _0x401235=_0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728[_0x3407f0(0x34d)][0x0]);for(let _0x3c9fd8=0x0;_0x3c9fd8<_0x3865a6[_0x3407f0(0x215)];_0x3c9fd8++){const _0x1f5ea9={'id':'doc.mutation.rich-text-editing','params':{..._0x3865a6[_0x3c9fd8]}},_0x56d6e8=this[_0x3407f0(0x22c)]['transformMutation'](_0x401235,_0x1f5ea9,!0x1);if(_0x4cd710[_0x3407f0(0x3ad)](_0x56d6e8))throw _0x56d6e8[_0x3407f0(0x2d0)];_0x401235=_0x56d6e8[_0x3407f0(0x358)];}return{..._0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728),'mutations':[_0x401235]};}['_transformUndoRedoStack'](_0x9ac426){const _0xb26878=_0x477bc3,{unitID:_0x206d4e}=_0x9ac426,_0x2f6137=this['_renderManagerService']['getRenderById'](_0x206d4e)['with'](_0x74e6be['DocIMEInputManagerService']),{undoCache:_0x122881,redoCache:_0x547572}=_0x2f6137[_0xb26878(0x212)]();if(_0x122881[_0xb26878(0x215)]===0x0||_0x547572['length']===0x0)return;const _0x1b7465=[],_0x5b0f54=[];let _0x23ef8c=_0x162031['Tools'][_0xb26878(0x193)](_0x9ac426[_0xb26878(0x34d)][0x0]),_0x197861=_0x162031[_0xb26878(0x31f)][_0xb26878(0x193)](_0x9ac426['mutations'][0x0]);for(let _0x257162=_0x122881[_0xb26878(0x215)]-0x1;_0x257162>=0x0;_0x257162--){const _0x4d81bd={'id':'doc.mutation.rich-text-editing','params':{..._0x122881[_0x257162]}},_0x8747cc={'id':'doc.mutation.rich-text-editing','params':{..._0x547572[_0x257162]}},_0x367b90=this['_transformService']['transformMutation'](_0x23ef8c,_0x4d81bd,!0x1),_0x1981a2=this[_0xb26878(0x22c)][_0xb26878(0x179)](_0x197861,_0x8747cc,!0x1);if(_0x4cd710[_0xb26878(0x3ad)](_0x367b90))throw _0x367b90[_0xb26878(0x2d0)];if(_0x4cd710[_0xb26878(0x3ad)](_0x1981a2))throw _0x1981a2[_0xb26878(0x2d0)];_0x1b7465[_0xb26878(0x188)](_0x367b90[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x5b0f54[_0xb26878(0x188)](_0x1981a2[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x23ef8c=_0x367b90[_0xb26878(0x358)],_0x197861=_0x1981a2[_0xb26878(0x358)];}_0x2f6137[_0xb26878(0x157)]({'undoCache':_0x1b7465,'redoCache':_0x5b0f54});}[_0x477bc3(0x2b4)](_0x4186ec){const _0xd1a9b9=_0x477bc3,{unitID:_0x35495b}=_0x4186ec,_0x5c0c47=this[_0xd1a9b9(0x1f4)][_0xd1a9b9(0x288)](_0x35495b)['with'](_0x74e6be[_0xd1a9b9(0x3d7)]),_0x4c6242=_0x5c0c47[_0xd1a9b9(0x1e3)]();if(_0x4c6242==null)return;const _0x166c6c=[{'id':_0xd1a9b9(0x20a),'params':{'unitId':_0x4186ec[_0xd1a9b9(0x3d0)],'actions':null,'textRanges':[_0x4c6242]}}],_0x33da04=this[_0xd1a9b9(0x22c)][_0xd1a9b9(0x34f)](_0x4186ec,_0x166c6c);if(!_0x4cd710['isTransformMutationsWithChangesetSuccess'](_0x33da04))throw _0x33da04['error'];const _0xbe90a1=_0x33da04[_0xd1a9b9(0x250)][0x0][_0xd1a9b9(0x1ab)][_0xd1a9b9(0x395)];Array[_0xd1a9b9(0x165)](_0xbe90a1)&&_0xbe90a1[_0xd1a9b9(0x215)]&&_0x5c0c47[_0xd1a9b9(0x127)](_0xbe90a1[0x0]);}};_0x492b1f=_0x411a7a([_0x15e2ef(0x0,_0x4cd710['ITransformService']),_0x15e2ef(0x1,_0x433081[_0x477bc3(0x1a7)])],_0x492b1f);var _0x3b9a8b=Object[_0x477bc3(0x1ec)],_0x3c68f3=(_0x2b46f4,_0x509e07,_0x209616,_0x1f0c79)=>{const _0x376b2b=_0x477bc3;for(var _0x31747c=_0x1f0c79>0x1?void 0x0:_0x1f0c79?_0x3b9a8b(_0x509e07,_0x209616):_0x509e07,_0x53c387=_0x2b46f4[_0x376b2b(0x215)]-0x1,_0x110488;_0x53c387>=0x0;_0x53c387--)(_0x110488=_0x2b46f4[_0x53c387])&&(_0x31747c=_0x110488(_0x31747c)||_0x31747c);return _0x31747c;},_0x3bd8c9=(_0x672319,_0x1823c7)=>(_0x31ebc9,_0x435a6e)=>_0x1823c7(_0x31ebc9,_0x435a6e,_0x672319);let _0x35832b=class{constructor(_0x4a28c1,_0x25f8c9,_0xc04570){const _0x5c2cea=_0x477bc3;this[_0x5c2cea(0x3da)]=_0x4a28c1,this['_transformService']=_0x25f8c9,this[_0x5c2cea(0xfc)]=_0xc04570;}[_0x477bc3(0x3cc)](_0x3288fc){const _0x21a4d6=_0x477bc3;this[_0x21a4d6(0x15e)](_0x3288fc);}[_0x477bc3(0x2ee)](_0x188388){const _0x195fc0=_0x477bc3,{unitID:_0x1d8f28}=_0x188388,{collaboration:_0x558dc9}=this[_0x195fc0(0xfc)]['getStateCache'](_0x1d8f28);if(_0x558dc9[_0x195fc0(0x215)]===0x0)return _0x188388;let _0x51614c=_0x162031['Tools'][_0x195fc0(0x193)](_0x188388[_0x195fc0(0x34d)][0x0]);for(let _0x2cc049=0x0;_0x2cc049<_0x558dc9['length'];_0x2cc049++){const _0x55d71f={'id':_0x195fc0(0x20a),'params':{'unitId':_0x558dc9[_0x2cc049][_0x195fc0(0x150)],..._0x558dc9[_0x2cc049][_0x195fc0(0xf1)]}},_0x2acb16=this['_transformService'][_0x195fc0(0x179)](_0x51614c,_0x55d71f,!0x1);if(_0x4cd710[_0x195fc0(0x3ad)](_0x2acb16))throw _0x2acb16[_0x195fc0(0x2d0)];_0x51614c=_0x2acb16[_0x195fc0(0x358)];}return{..._0x162031[_0x195fc0(0x31f)][_0x195fc0(0x193)](_0x188388),'mutations':[_0x51614c]};}[_0x477bc3(0x15e)](_0x54eb0c){const _0x252440=_0x477bc3,{unitID:_0x192443}=_0x54eb0c,{history:_0x470346,collaboration:_0x8d6c9e}=this['_docStateChangeManagerService'][_0x252440(0x19b)](_0x192443);if(_0x470346[_0x252440(0x215)]===0x0&&_0x8d6c9e[_0x252440(0x215)]===0x0)return;const _0x5ad112=[],_0x5e4f9f=[];let _0x52df32=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4e7de4=_0x470346[_0x252440(0x215)]-0x1;_0x4e7de4>=0x0;_0x4e7de4--){const _0x5f56cc={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0x26c)]}},_0x2c2053={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0xf1)]}},_0x25c33b=this[_0x252440(0x22c)]['transformMutation'](_0x52df32,_0x5f56cc,!0x1),_0x23fed0=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x2c2053,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x25c33b))throw _0x25c33b['error'];if(_0x4cd710['isTransformMutationFailure'](_0x23fed0))throw _0x23fed0['error'];_0x5ad112[_0x252440(0x188)]({..._0x470346[_0x4e7de4],'undoState':_0x25c33b[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x23fed0[_0x252440(0x250)][_0x252440(0x1ab)]}),_0x52df32=_0x25c33b[_0x252440(0x358)],_0x2b2636=_0x23fed0[_0x252440(0x358)];}_0x52df32=_0x162031[_0x252440(0x31f)]['deepClone'](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4b03b4=_0x8d6c9e[_0x252440(0x215)]-0x1;_0x4b03b4>=0x0;_0x4b03b4--){const _0x233501={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0x26c)]}},_0x53858b={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0xf1)]}},_0x35417d=this['_transformService'][_0x252440(0x179)](_0x52df32,_0x233501,!0x1),_0x49b19b=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x53858b,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x35417d))throw _0x35417d[_0x252440(0x2d0)];if(_0x4cd710[_0x252440(0x3ad)](_0x49b19b))throw _0x49b19b[_0x252440(0x2d0)];_0x5e4f9f[_0x252440(0x188)]({..._0x8d6c9e[_0x4b03b4],'undoState':_0x35417d[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x49b19b[_0x252440(0x250)]['params']}),_0x52df32=_0x35417d[_0x252440(0x358)],_0x2b2636=_0x49b19b['m1Prime'];}this['_docStateChangeManagerService'][_0x252440(0x31e)](_0x192443,{'history':_0x5ad112,'collaboration':_0x5e4f9f});}};_0x35832b=_0x3c68f3([_0x3bd8c9(0x0,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x3bd8c9(0x1,_0x4cd710['ITransformService']),_0x3bd8c9(0x2,_0x162031[_0x477bc3(0x2b0)](_0x74e6be[_0x477bc3(0x318)]))],_0x35832b);var _0x4fd5fc=Object[_0x477bc3(0x1ec)],_0x4b24d7=(_0x4ee892,_0x35d5ee,_0x5b46b4,_0x25e95b)=>{const _0x53440b=_0x477bc3;for(var _0x418df2=_0x25e95b>0x1?void 0x0:_0x25e95b?_0x4fd5fc(_0x35d5ee,_0x5b46b4):_0x35d5ee,_0x5d6135=_0x4ee892[_0x53440b(0x215)]-0x1,_0x304cfe;_0x5d6135>=0x0;_0x5d6135--)(_0x304cfe=_0x4ee892[_0x5d6135])&&(_0x418df2=_0x304cfe(_0x418df2)||_0x418df2);return _0x418df2;},_0x35db6c=(_0x67b54d,_0x2cfbe5)=>(_0x105132,_0x2bb644)=>_0x2cfbe5(_0x105132,_0x2bb644,_0x67b54d);let _0x1d044c=class{constructor(_0x2af8f7,_0x38e74e){const _0x40240a=_0x477bc3;this[_0x40240a(0x3da)]=_0x2af8f7,this[_0x40240a(0x22c)]=_0x38e74e;}[_0x477bc3(0x2e9)](_0x4d2a31){const _0x4f5634=_0x477bc3;var _0x2b7035;const _0x473c15=this[_0x4f5634(0x3da)][_0x4f5634(0x375)](_0x47f67f[_0x4f5634(0x293)]),_0x1be41f=(_0x2b7035=_0x473c15[_0x4f5634(0x28c)]())!=null?_0x2b7035:[];if(_0x1be41f['length']===0x0)return;const _0x1f2962=_0x4d2a31[_0x4f5634(0x3d0)],_0x5f13a5=[{'id':_0x4f5634(0x20a),'params':{'unitId':_0x1f2962,'actions':null,'textRanges':_0x1be41f}}],_0x59a340=this[_0x4f5634(0x22c)][_0x4f5634(0x34f)](_0x4d2a31,_0x5f13a5);if(!_0x4cd710[_0x4f5634(0x296)](_0x59a340))throw _0x59a340[_0x4f5634(0x2d0)];const _0x55f8ec=_0x59a340[_0x4f5634(0x250)][0x0][_0x4f5634(0x1ab)][_0x4f5634(0x395)];Array[_0x4f5634(0x165)](_0x55f8ec)&&_0x55f8ec['length']&&_0x473c15[_0x4f5634(0x1fe)](_0x55f8ec,{'unitId':_0x1f2962,'subUnitId':_0x1f2962},!0x1);}};_0x1d044c=_0x4b24d7([_0x35db6c(0x0,_0x162031['Inject'](_0x162031['Injector'])),_0x35db6c(0x1,_0x4cd710[_0x477bc3(0x176)])],_0x1d044c);var _0x3bf866=Object['getOwnPropertyDescriptor'],_0x3037ed=(_0x46c7f8,_0x1dc48d,_0x2ccaf8,_0x4c922f)=>{for(var _0x58d0a0=_0x4c922f>0x1?void 0x0:_0x4c922f?_0x3bf866(_0x1dc48d,_0x2ccaf8):_0x1dc48d,_0x5f1826=_0x46c7f8['length']-0x1,_0x43ccce;_0x5f1826>=0x0;_0x5f1826--)(_0x43ccce=_0x46c7f8[_0x5f1826])&&(_0x58d0a0=_0x43ccce(_0x58d0a0)||_0x58d0a0);return _0x58d0a0;},_0x1c8c44=(_0xd06b6b,_0x45d826)=>(_0x206f71,_0x535ba4)=>_0x45d826(_0x206f71,_0x535ba4,_0xd06b6b);let _0x1ba1e0=class extends _0x162031['Disposable']{constructor(_0x1c387e,_0x4edd4c,_0xe8d5b5,_0x23e96d,_0x2a4a80,_0x5adc4a,_0x34e9d6,_0x16ec62){const _0x82ca89=_0x477bc3;super(),_0x387a01(this,_0x82ca89(0x117),new _0xe327d9[(_0x82ca89(0x136))](_0x44b518[_0x82ca89(0x2c2)][_0x82ca89(0x35c)])),(this[_0x82ca89(0xfc)]=_0x1c387e,this[_0x82ca89(0x2f2)]=_0x4edd4c,this[_0x82ca89(0x247)]=_0xe8d5b5,this['_docTransformStateCacheService']=_0x23e96d,this['_docTransformSelectionsService']=_0x2a4a80,this[_0x82ca89(0x35b)]=_0x5adc4a,this[_0x82ca89(0x377)]=_0x34e9d6,this[_0x82ca89(0x10b)]=_0x16ec62,this[_0x82ca89(0x37f)]());}[_0x477bc3(0x37f)](){const _0x375e37=_0x477bc3;this[_0x375e37(0x32e)](this[_0x375e37(0x2f2)]['entityInit$'][_0x375e37(0x2cd)](_0x508a35=>{const _0x1cd8fb=_0x375e37,_0x347cfc=this['_docStateChangeManagerService'][_0x1cd8fb(0x166)][_0x1cd8fb(0x2cd)](_0x3d0692=>{const _0x3d151c=_0x1cd8fb;if(_0x3d0692==null)return;const {unitId:_0x171603,redoState:_0x3007ff,commandId:_0x145f97}=_0x3d0692;if(_0x171603!==_0x508a35['unitID'])return;const _0x319570={'id':_0x145f97,'type':_0x162031['CommandType'][_0x3d151c(0x20d)],'params':{'unitId':_0x171603,'actions':_0x3007ff['actions'],'textRanges':null}};_0x508a35['onLocalMutation'](_0x319570);});if(_0x508a35[_0x1cd8fb(0x32e)](_0x347cfc),_0x508a35 instanceof _0x44b518[_0x1cd8fb(0x194)]){const _0x155ab9={'onTransformIME':_0x261c90=>this[_0x1cd8fb(0x247)][_0x1cd8fb(0x350)](_0x261c90),'onTransformState':_0x213b4e=>this[_0x1cd8fb(0x3ce)][_0x1cd8fb(0x3cc)](_0x213b4e),'onTransformSelections':_0x566e35=>this['_docTransformSelectionsService'][_0x1cd8fb(0x2e9)](_0x566e35),'onSyncEditingCollabCursor':_0x2372d1=>this[_0x1cd8fb(0x35b)]['syncEditingCollabCursor'](_0x2372d1),'onTransformRemoteChangesetByIMECache':_0x3845fa=>this[_0x1cd8fb(0x247)]['transformRemoteChangeset'](_0x3845fa),'onTransformRemoteChangesetByStateCache':_0x11cca4=>this['_docTransformStateCacheService'][_0x1cd8fb(0x2ee)](_0x11cca4)};_0x508a35[_0x1cd8fb(0x143)](_0x155ab9);}}));}};_0x1ba1e0=_0x3037ed([_0x1c8c44(0x0,_0x162031['Inject'](_0x74e6be['DocStateChangeManagerService'])),_0x1c8c44(0x1,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x15a)])),_0x1c8c44(0x2,_0x162031[_0x477bc3(0x2b0)](_0x492b1f)),_0x1c8c44(0x3,_0x162031['Inject'](_0x35832b)),_0x1c8c44(0x4,_0x162031[_0x477bc3(0x2b0)](_0x1d044c)),_0x1c8c44(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x1c8c44(0x6,_0x198137['IMessageService']),_0x1c8c44(0x7,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x1ba1e0);var _0x99761d=(_0x535af9=>(_0x535af9[_0x535af9['UNDEFINED']=0x0]=_0x477bc3(0x255),_0x535af9[_0x535af9['OK']=0x1]='OK',_0x535af9[_0x535af9['INTERNAL_ERROR']=0x2]=_0x477bc3(0x224),_0x535af9[_0x535af9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x535af9[_0x535af9['NOT_FOUND']=0x4]=_0x477bc3(0x1c7),_0x535af9[_0x535af9[_0x477bc3(0x315)]=0x5]=_0x477bc3(0x315),_0x535af9[_0x535af9[_0x477bc3(0x1d1)]=0x6]='ALREADY_EXISTS',_0x535af9[_0x535af9[_0x477bc3(0x149)]=0x7]='INVALID_ARGUMENT',_0x535af9[_0x535af9['TOO_MANY_REQUESTS']=0x8]=_0x477bc3(0x134),_0x535af9[_0x535af9[_0x477bc3(0x13c)]=0x9]=_0x477bc3(0x13c),_0x535af9[_0x535af9[_0x477bc3(0x213)]=0xa]='LOGIN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x151)]=0xb]=_0x477bc3(0x151),_0x535af9[_0x535af9[_0x477bc3(0x32c)]=0xc]=_0x477bc3(0x32c),_0x535af9[_0x535af9[_0x477bc3(0x2b3)]=0xd]=_0x477bc3(0x2b3),_0x535af9[_0x535af9[_0x477bc3(0x162)]=0xe]=_0x477bc3(0x162),_0x535af9[_0x535af9[_0x477bc3(0x36c)]=0xf]=_0x477bc3(0x36c),_0x535af9[_0x535af9[_0x477bc3(0x2c5)]=0x10]=_0x477bc3(0x2c5),_0x535af9[_0x535af9[_0x477bc3(0x237)]=0x64]=_0x477bc3(0x237),_0x535af9[_0x535af9[_0x477bc3(0x2da)]=0x65]='ERROR_AGAIN',_0x535af9[_0x535af9[_0x477bc3(0x3ac)]=0xc9]=_0x477bc3(0x3ac),_0x535af9[_0x535af9[_0x477bc3(0x292)]=0xca]=_0x477bc3(0x292),_0x535af9[_0x535af9[_0x477bc3(0x156)]=0x1389]=_0x477bc3(0x156),_0x535af9[_0x535af9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x477bc3(0x101),_0x535af9[_0x535af9[_0x477bc3(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x535af9[_0x535af9[_0x477bc3(0x217)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x535af9[_0x535af9['APPLY_REJECT']=0x1b59]=_0x477bc3(0x1ac),_0x535af9[_0x535af9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x477bc3(0x29f),_0x535af9[_0x535af9[_0x477bc3(0xfe)]=0x1b5b]=_0x477bc3(0xfe),_0x535af9[_0x535af9[_0x477bc3(0x110)]=0x1b5c]=_0x477bc3(0x110),_0x535af9[_0x535af9[_0x477bc3(0x357)]=0x1b5d]=_0x477bc3(0x357),_0x535af9[_0x535af9[_0x477bc3(0x232)]=0x1f41]=_0x477bc3(0x232),_0x535af9[_0x535af9[_0x477bc3(0x11f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x30d)]=0x232a]=_0x477bc3(0x30d),_0x535af9[_0x535af9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x196)]=0x232c]=_0x477bc3(0x196),_0x535af9[_0x535af9[_0x477bc3(0x155)]=0x232d]=_0x477bc3(0x155),_0x535af9[_0x535af9[_0x477bc3(0x2a3)]=0x2711]=_0x477bc3(0x2a3),_0x535af9[_0x535af9[_0x477bc3(0x313)]=0x2712]=_0x477bc3(0x313),_0x535af9[_0x535af9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x477bc3(0x1c3),_0x535af9[_0x535af9[_0x477bc3(0x38a)]=0x2714]=_0x477bc3(0x38a),_0x535af9[_0x535af9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x477bc3(0x242),_0x535af9[_0x535af9[_0x477bc3(0x278)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x535af9[_0x535af9[_0x477bc3(0x387)]=0x271c]=_0x477bc3(0x387),_0x535af9[_0x535af9[_0x477bc3(0x17e)]=0x271d]=_0x477bc3(0x17e),_0x535af9[_0x535af9[_0x477bc3(0x1c8)]=0x271e]=_0x477bc3(0x1c8),_0x535af9[_0x535af9[_0x477bc3(0x128)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x3ab)]=0x2720]=_0x477bc3(0x3ab),_0x535af9[_0x535af9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x477bc3(0x132),_0x535af9[_0x535af9[_0x477bc3(0x20e)]=0x2ee1]=_0x477bc3(0x20e),_0x535af9[_0x535af9['INVALID_INVITE_CODE']=0x2ee2]=_0x477bc3(0x1f5),_0x535af9[_0x535af9[_0x477bc3(0x22b)]=0x2ee3]=_0x477bc3(0x22b),_0x535af9[_0x535af9[_0x477bc3(0x386)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x535af9[_0x535af9[_0x477bc3(0xf2)]=0x2ee5]=_0x477bc3(0xf2),_0x535af9[_0x535af9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x477bc3(0x27e),_0x535af9[_0x535af9[_0x477bc3(0x210)]=0x32ca]=_0x477bc3(0x210),_0x535af9[_0x535af9[_0x477bc3(0x201)]=0x32cb]=_0x477bc3(0x201),_0x535af9[_0x535af9[_0x477bc3(0x1aa)]=0x36b1]=_0x477bc3(0x1aa),_0x535af9[_0x535af9[_0x477bc3(0x2cc)]=0x36b2]=_0x477bc3(0x2cc),_0x535af9[_0x535af9[_0x477bc3(0x251)]=0x36b3]=_0x477bc3(0x251),_0x535af9[_0x535af9[_0x477bc3(0x2ab)]=0x36b4]=_0x477bc3(0x2ab),_0x535af9[_0x535af9[_0x477bc3(0x23f)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x535af9[_0x535af9[_0x477bc3(0x13b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x535af9[_0x535af9[_0x477bc3(0x1c2)]=0x36b7]=_0x477bc3(0x1c2),_0x535af9[_0x535af9[_0x477bc3(0x275)]=0x36b8]=_0x477bc3(0x275),_0x535af9[_0x535af9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x477bc3(0x336),_0x535af9[_0x535af9[_0x477bc3(0x2c4)]=0x3716]=_0x477bc3(0x2c4),_0x535af9[_0x535af9[_0x477bc3(0x16f)]=0x3717]=_0x477bc3(0x16f),_0x535af9[_0x535af9[_0x477bc3(0x2e3)]=0x37dd]=_0x477bc3(0x2e3),_0x535af9[_0x535af9[_0x477bc3(0x1d7)]=0x3a99]=_0x477bc3(0x1d7),_0x535af9[_0x535af9['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x535af9[_0x535af9[_0x477bc3(0x1a0)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x535af9[_0x535af9[_0x477bc3(0x256)]=0x3a9c]=_0x477bc3(0x256),_0x535af9[_0x535af9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x477bc3(0x1df),_0x535af9[_0x535af9[_0x477bc3(0x2bb)]=0x3a9e]=_0x477bc3(0x2bb),_0x535af9[_0x535af9[_0x477bc3(0x379)]=0x3a9f]=_0x477bc3(0x379),_0x535af9[_0x535af9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x477bc3(0x3d6),_0x535af9[_0x535af9[_0x477bc3(0x104)]=-0x1]=_0x477bc3(0x104),_0x535af9))(_0x99761d||{});function _0x2fcfc8(_0xa99774){const _0x1fc31e=_0x477bc3;var _0x17d3e2,_0x2d4df4;const _0x27584d=(_0x17d3e2=_0xa99774['stageInfo'])==null?void 0x0:_0x17d3e2['stage'],_0x44a13b=((_0x2d4df4=_0xa99774[_0x1fc31e(0x3b1)])==null?void 0x0:_0x2d4df4[_0x1fc31e(0x203)])||0x0;return _0x27584d===_0xf4950[_0x1fc31e(0x18c)][_0x1fc31e(0x30a)]&&_0x44a13b>0x0;}function _0x3af5b8(_0x314a61){const _0x45a2f1=_0x477bc3;return _0x314a61['functionsExecutedState']===_0xf4950[_0x45a2f1(0x153)][_0x45a2f1(0x361)];}var _0x21daf9=Object['getOwnPropertyDescriptor'],_0x25034e=(_0x43f868,_0xead90b,_0xd132ca,_0x3a372b)=>{for(var _0x429d5d=_0x3a372b>0x1?void 0x0:_0x3a372b?_0x21daf9(_0xead90b,_0xd132ca):_0xead90b,_0xb2446c=_0x43f868['length']-0x1,_0x3c5cc2;_0xb2446c>=0x0;_0xb2446c--)(_0x3c5cc2=_0x43f868[_0xb2446c])&&(_0x429d5d=_0x3c5cc2(_0x429d5d)||_0x429d5d);return _0x429d5d;},_0x20a083=(_0x2f073c,_0x33361f)=>(_0x174b9e,_0x555a23)=>_0x33361f(_0x174b9e,_0x555a23,_0x2f073c);const _0x529885=_0x477bc3(0x30c),_0x1cbb51=_0x477bc3(0x1a6),_0x576aca=_0x477bc3(0x36b);let _0x4667cb=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x8520d2,_0x34f2a3,_0xde9b98,_0x38d2e8,_0x57c8c4,_0x50e565,_0x27e734){const _0x5694dc=_0x477bc3;super(),_0x387a01(this,_0x5694dc(0x106),null),_0x387a01(this,_0x5694dc(0x33a),0x0),_0x387a01(this,_0x5694dc(0x1cc),0x0),_0x387a01(this,_0x5694dc(0x311),[]),_0x387a01(this,'_lastResponseTimestamp',0x0),(this[_0x5694dc(0x377)]=_0x8520d2,this[_0x5694dc(0x139)]=_0x34f2a3,this[_0x5694dc(0x219)]=_0xde9b98,this[_0x5694dc(0x180)]=_0x38d2e8,this[_0x5694dc(0x225)]=_0x57c8c4,this[_0x5694dc(0x297)]=_0x50e565,this[_0x5694dc(0x10b)]=_0x27e734,this[_0x5694dc(0x319)]());}[_0x477bc3(0x319)](){const _0x3b28d1=_0x477bc3;this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x18f)]((_0x46b701,_0x276b30)=>{const _0x1aebd9=_0x3b28d1;var _0x40074b;if(_0x46b701['id']!==_0xf4950[_0x1aebd9(0x380)]['id'])return;const _0x250f93=_0x46b701[_0x1aebd9(0x1ab)];if(!this['_hasFormulaInDirtyRanges']((_0x40074b=_0x250f93['dirtyRanges'])!=null?_0x40074b:[]))return;if(!this[_0x1aebd9(0x272)]())throw this['_checkAndWaitForCalculationPermission'](_0x46b701,_0x276b30),this[_0x1aebd9(0x244)](),new _0x162031[(_0x1aebd9(0x2a1))]();})),this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x1b7)]((_0x4b7a34,_0x1bf866)=>{const _0x13e022=_0x3b28d1;if(_0x4b7a34['id']!==_0xf4950[_0x13e022(0x169)]['id'])return;const _0x5c8824=_0x4b7a34[_0x13e022(0x1ab)];if(_0x2fcfc8(_0x5c8824)){const _0xaaad64=_0x162031[_0x13e022(0x38e)]();this[_0x13e022(0x311)]['push'](_0xaaad64),this[_0x13e022(0x2cb)](_0xaaad64);}else{if(_0x3af5b8(_0x5c8824)&&this['_taskIds'][_0x13e022(0x215)]>0x0){const _0x5c7175=this[_0x13e022(0x311)][_0x13e022(0x103)]();this['_releaseCalculationLimit'](_0x5c7175);}}}));}['dispose'](){const _0x1bc361=_0x477bc3;super[_0x1bc361(0x388)](),this['_clearPolling'](),this[_0x1bc361(0x311)]=[],this[_0x1bc361(0x1cc)]=0x0,this[_0x1bc361(0x33a)]=0x0,this[_0x1bc361(0x3d8)]=0x0;}async[_0x477bc3(0x211)](_0x333045,_0x5a9f86){const _0x1e946b=_0x477bc3;for(let _0x4a5fbd=0x0;_0x4a5fbd<0x1e;_0x4a5fbd++)try{if(await this[_0x1e946b(0x3c4)](),this[_0x1e946b(0x272)]()){this['_applyCommand'](_0x333045,_0x5a9f86),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x3fb0c6[_0x1e946b(0x33e)]['Success']});return;}await new Promise(_0x2b3889=>{const _0x3b3bf5=_0x1e946b;this['_pollingInterval']=window[_0x3b3bf5(0x366)](_0x2b3889,0x3e8);});}catch(_0x4e3c0c){this[_0x1e946b(0x297)][_0x1e946b(0x2d0)](_0x4e3c0c);}this[_0x1e946b(0x377)][_0x1e946b(0x348)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x3fb0c6[_0x1e946b(0x33e)][_0x1e946b(0x112)]});}[_0x477bc3(0x185)](_0x4bc622,_0xa900df){const _0x481e73=_0x477bc3;try{this[_0x481e73(0x139)][_0x481e73(0x269)](_0x4bc622['id'],_0x4bc622[_0x481e73(0x1ab)],_0xa900df);}catch(_0x3b1d14){this[_0x481e73(0x297)][_0x481e73(0x2d0)](_0x3b1d14);}}['_setFormulaLimitStatus'](_0x2ff49f,_0x3fc1ee){const _0x56a3c3=_0x477bc3;_0x3fc1ee<this['_lastResponseTimestamp']||(this[_0x56a3c3(0x3d8)]=_0x3fc1ee,this[_0x56a3c3(0x33a)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f['maxFormulaLimit']),this[_0x56a3c3(0x1cc)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f[_0x56a3c3(0x190)]));}async[_0x477bc3(0x2cb)](_0xb6409e){const _0x401fab=_0x477bc3;var _0x5886a6,_0x4c6356;const _0x52cca0=Date[_0x401fab(0xef)]();try{const _0x57948a=((_0x5886a6=this[_0x401fab(0x219)][_0x401fab(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5886a6['startFormulaLimitUrl'])||_0x1cbb51,_0xad5c04=(await this['_httpService']['post'](_0x57948a,{'body':JSON[_0x401fab(0x199)]({'taskId':_0xb6409e})}))[_0x401fab(0x34c)];if(((_0x4c6356=_0xad5c04[_0x401fab(0x2d0)])==null?void 0x0:_0x4c6356[_0x401fab(0x11a)])!==_0x99761d['OK'])return;this[_0x401fab(0x2c9)](_0xad5c04[_0x401fab(0x37e)],_0x52cca0);}catch(_0x4f46ef){this[_0x401fab(0x297)][_0x401fab(0x2d0)](_0x4f46ef);}}async[_0x477bc3(0x3c4)](_0x38d848){const _0x3031be=_0x477bc3;var _0x130d84,_0x1b0558;const _0xff5d9c=Date[_0x3031be(0xef)]();try{const _0xec9d46=((_0x130d84=this['_configService']['getConfig'](_0x44b518[_0x3031be(0x320)]))==null?void 0x0:_0x130d84[_0x3031be(0x359)])||_0x529885,_0x52d747=_0x38d848?_0xec9d46+_0x3031be(0x2fe)+encodeURIComponent(_0x38d848):_0xec9d46,_0x20552b=(await this[_0x3031be(0x180)]['get'](_0x52d747))[_0x3031be(0x34c)];if(((_0x1b0558=_0x20552b['error'])==null?void 0x0:_0x1b0558[_0x3031be(0x11a)])!==_0x99761d['OK'])return;this[_0x3031be(0x2c9)](_0x20552b[_0x3031be(0x37e)],_0xff5d9c);}catch(_0x58c6c6){this['_logService'][_0x3031be(0x2d0)](_0x58c6c6);}}async[_0x477bc3(0x3bd)](_0x130946){const _0xe747e7=_0x477bc3;var _0x50a5c5,_0x1cf393;const _0x3dd63f=Date['now']();try{const _0x48913a=((_0x50a5c5=this[_0xe747e7(0x219)][_0xe747e7(0x248)](_0x44b518[_0xe747e7(0x320)]))==null?void 0x0:_0x50a5c5[_0xe747e7(0x257)])||_0x576aca,_0x5b53d7=(await this[_0xe747e7(0x180)]['post'](_0x48913a,{'body':JSON[_0xe747e7(0x199)]({'taskId':_0x130946})}))['body'];if(((_0x1cf393=_0x5b53d7['error'])==null?void 0x0:_0x1cf393['code'])!==_0x99761d['OK'])return;this[_0xe747e7(0x2c9)](_0x5b53d7[_0xe747e7(0x37e)],_0x3dd63f);}catch(_0x10a895){this[_0xe747e7(0x297)]['error'](_0x10a895);}}[_0x477bc3(0x272)](){const _0x4d763e=_0x477bc3;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4d763e(0x33a)]-this[_0x4d763e(0x1cc)]>0x0;}[_0x477bc3(0x17c)](){const _0x24f34d=_0x477bc3;this[_0x24f34d(0x106)]&&(clearTimeout(this[_0x24f34d(0x106)]),this[_0x24f34d(0x106)]=null);}[_0x477bc3(0x244)](){const _0x11042d=_0x477bc3;this[_0x11042d(0x377)][_0x11042d(0x348)]({'content':this[_0x11042d(0x10b)]['t'](_0x11042d(0x3b0)),'type':_0x3fb0c6[_0x11042d(0x33e)][_0x11042d(0x321)]});}['_hasFormulaInDirtyRanges'](_0x428eaf){const _0x52f986=_0x477bc3;for(const _0x5e7777 of _0x428eaf){const {unitId:_0x438abb,sheetId:_0x59e6e8,range:_0x240773}=_0x5e7777,_0x157de3=this[_0x52f986(0x225)][_0x52f986(0x17f)](_0x438abb);if(!_0x157de3)continue;const _0x47432f=_0x157de3[_0x52f986(0x2ca)](_0x59e6e8);if(!_0x47432f)continue;const _0x3ed0b2=_0x47432f[_0x52f986(0x173)]();for(let _0x1aa148=_0x240773[_0x52f986(0x141)];_0x1aa148<=_0x240773['endRow'];_0x1aa148++)for(let _0xb3165f=_0x240773[_0x52f986(0x163)];_0xb3165f<=_0x240773['endColumn'];_0xb3165f++){const _0x5c37b7=_0x3ed0b2[_0x52f986(0x182)](_0x1aa148,_0xb3165f);if(_0x5c37b7&&(_0x162031[_0x52f986(0x3c3)](_0x5c37b7['f'])||_0x162031['isFormulaId'](_0x5c37b7['si'])))return!0x0;}}return!0x1;}};_0x4667cb=_0x25034e([_0x20a083(0x0,_0x162031[_0x477bc3(0x2b0)](_0x198137[_0x477bc3(0x222)])),_0x20a083(0x1,_0x162031[_0x477bc3(0x326)]),_0x20a083(0x2,_0x162031[_0x477bc3(0x13e)]),_0x20a083(0x3,_0x162031[_0x477bc3(0x2b0)](_0x1a6c2d['HTTPService'])),_0x20a083(0x4,_0x162031['IUniverInstanceService']),_0x20a083(0x5,_0x162031['ILogService']),_0x20a083(0x6,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x4667cb);var _0x3edc4c=Object[_0x477bc3(0x1ec)],_0x24db3c=(_0x57ef9e,_0x539272,_0x50fa33,_0x364f0b)=>{const _0x5f50ce=_0x477bc3;for(var _0x449ed6=_0x364f0b>0x1?void 0x0:_0x364f0b?_0x3edc4c(_0x539272,_0x50fa33):_0x539272,_0x520afd=_0x57ef9e[_0x5f50ce(0x215)]-0x1,_0x19eae8;_0x520afd>=0x0;_0x520afd--)(_0x19eae8=_0x57ef9e[_0x520afd])&&(_0x449ed6=_0x19eae8(_0x449ed6)||_0x449ed6);return _0x449ed6;},_0x4d35c5=(_0xdb43f1,_0x486f9f)=>(_0x5db083,_0x2f7991)=>_0x486f9f(_0x5db083,_0x2f7991,_0xdb43f1);let _0x41ee4b=class extends _0x162031['Disposable']{constructor(_0x2442f4,_0x151e3b,_0x3e95cd){const _0x407f53=_0x477bc3;super(),_0x387a01(this,'_cachedData',new Map()),_0x387a01(this,_0x407f53(0x24f),new Map()),_0x387a01(this,'_disabled',!0x1),(this[_0x407f53(0x219)]=_0x2442f4,this['_localStorageService']=_0x151e3b,this[_0x407f53(0x16c)]=_0x3e95cd);}['disableLocalCache'](){const _0x5c5c81=_0x477bc3;this[_0x5c5c81(0x20f)]=!0x0;}[_0x477bc3(0x339)](){const _0x413899=_0x477bc3;this[_0x413899(0x20f)]=!0x1;}get[_0x477bc3(0x130)](){const _0x4d0f59=_0x477bc3;return this[_0x4d0f59(0x24f)];}['dispose'](){const _0x174452=_0x477bc3;this[_0x174452(0x3a3)]()['then'](()=>super[_0x174452(0x388)]());}async['loadOfflineData'](_0x5027ed){const _0x42fc7a=_0x477bc3;return this[_0x42fc7a(0x20f)]?null:this[_0x42fc7a(0x34b)]['getItem'](_0x44b518[_0x42fc7a(0x37c)](_0x5027ed));}async['saveOfflineData'](_0xf749c0,_0x4fe836){const _0xdcc0=_0x477bc3;return!!this[_0xdcc0(0x34b)][_0xdcc0(0x23c)](_0xf749c0,_0x4fe836);}[_0x477bc3(0x116)](_0x5cf5c8,_0x346719,_0xef599c,_0x529f3c){const _0x3140bb=_0x477bc3,_0x5be622=this[_0x3140bb(0x16c)][_0x3140bb(0x2fd)](_0x5cf5c8);this[_0x3140bb(0x312)]['set'](_0x5cf5c8,{'unitID':_0x5cf5c8,'type':_0x346719,'awaitingChangeset':_0xef599c,'mutations':_0x529f3c,'rev':_0x5be622}),this[_0x3140bb(0x24f)]['has'](_0x5cf5c8)||this['_scheduleSaving'](_0x5cf5c8);}[_0x477bc3(0x3c0)](_0x1798ab){const _0x589a1e=_0x477bc3,_0x53936b=this['_getSaveTimeout']();_0x53936b===0x0?this[_0x589a1e(0x14d)](_0x1798ab):this[_0x589a1e(0x24f)][_0x589a1e(0x34a)](_0x1798ab,setTimeout(()=>this[_0x589a1e(0x14d)](_0x1798ab),_0x53936b));}['_getSaveTimeout'](){const _0x327da0=_0x477bc3;var _0x59d464;return(_0x59d464=this[_0x327da0(0x219)][_0x327da0(0x248)](_0x44b518['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x59d464:_0x44b518['LOCAL_CACHE_INTERVAL'];}[_0x477bc3(0x14d)](_0xdeb557){const _0x47f2a9=_0x477bc3,_0x44e494=this[_0x47f2a9(0x24f)]['get'](_0xdeb557);return _0x44e494!==void 0x0&&window[_0x47f2a9(0x23a)](_0x44e494),this[_0x47f2a9(0x34b)][_0x47f2a9(0x23c)](_0x44b518['getLocalCacheKey'](_0xdeb557),this['_cachedData'][_0x47f2a9(0x375)](_0xdeb557))[_0x47f2a9(0x22f)](()=>this[_0x47f2a9(0x24f)][_0x47f2a9(0x32d)](_0xdeb557));}async[_0x477bc3(0x3a3)](){const _0x124880=_0x477bc3,_0x4ba03b=[];this[_0x124880(0x24f)][_0x124880(0x3c7)]((_0x4541f8,_0x2c6e73)=>{const _0x21ff53=_0x124880;window['clearTimeout'](_0x4541f8),_0x4ba03b[_0x21ff53(0x138)](this[_0x21ff53(0x14d)](_0x2c6e73)['then'](()=>{const _0x16212c=_0x21ff53;this[_0x16212c(0x24f)][_0x16212c(0x32d)](_0x2c6e73);}));}),await Promise[_0x124880(0x2a8)](_0x4ba03b);}};_0x41ee4b=_0x24db3c([_0x4d35c5(0x0,_0x162031[_0x477bc3(0x13e)]),_0x4d35c5(0x1,_0x162031[_0x477bc3(0x1c5)]),_0x4d35c5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x4cd710[_0x477bc3(0x1d5)]))],_0x41ee4b);class _0x48e8ee extends _0x162031[_0x477bc3(0xea)]{constructor(){const _0x14a4a5=_0x477bc3;super(),_0x387a01(this,'urlChange$'),this[_0x14a4a5(0x35a)]=_0xe327d9[_0x14a4a5(0x2a9)](window,'popstate')[_0x14a4a5(0x2d1)](_0xe327d9[_0x14a4a5(0x331)](this[_0x14a4a5(0x1c1)]),_0xe327d9[_0x14a4a5(0x238)](0x1),_0xe327d9['mapTo'](void 0x0));}[_0x477bc3(0x33c)](_0x20e6e0,_0x5348d3,_0x510f82=!0x1){const _0x1a1820=_0x477bc3,_0x2ba932=new URL(window[_0x1a1820(0x32b)][_0x1a1820(0x246)]);_0x2ba932[_0x1a1820(0x1ca)][_0x1a1820(0x34a)](_0x20e6e0,_0x5348d3),_0x510f82?window[_0x1a1820(0x1e7)]['replaceState']('','',_0x2ba932['toString']()):window[_0x1a1820(0x1e7)][_0x1a1820(0x21d)]('','',_0x2ba932['toString']());}['removeParam'](_0x55f874,_0xbb0b6f=!0x1){const _0x84426f=_0x477bc3,_0x5d2fe5=new URL(window[_0x84426f(0x32b)][_0x84426f(0x246)]);_0x5d2fe5[_0x84426f(0x1ca)][_0x84426f(0x32d)](_0x55f874),_0xbb0b6f?window['history'][_0x84426f(0x2eb)]('','',_0x5d2fe5[_0x84426f(0x2a6)]()):window['history']['pushState']('','',_0x5d2fe5[_0x84426f(0x2a6)]());}['getParam'](_0x5b99fe){const _0x59f87a=_0x477bc3;var _0x2fea96;return(_0x2fea96=new URL(window[_0x59f87a(0x32b)][_0x59f87a(0x246)])[_0x59f87a(0x1ca)][_0x59f87a(0x375)](_0x5b99fe))!=null?_0x2fea96:void 0x0;}}var _0x4db249=Object[_0x477bc3(0x2e2)],_0xbad9d6=Object[_0x477bc3(0x1ec)],_0x1690f5=(_0x59003d,_0x4776dd,_0x1742eb)=>_0x4776dd in _0x59003d?_0x4db249(_0x59003d,_0x4776dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1742eb}):_0x59003d[_0x4776dd]=_0x1742eb,_0x270136=(_0x51b438,_0x48c1bb,_0x29bbde,_0x38ff03)=>{const _0x64697f=_0x477bc3;for(var _0x587ec7=_0x38ff03>0x1?void 0x0:_0x38ff03?_0xbad9d6(_0x48c1bb,_0x29bbde):_0x48c1bb,_0x109570=_0x51b438[_0x64697f(0x215)]-0x1,_0x27f125;_0x109570>=0x0;_0x109570--)(_0x27f125=_0x51b438[_0x109570])&&(_0x587ec7=_0x27f125(_0x587ec7)||_0x587ec7);return _0x587ec7;},_0x56b50f=(_0x246d4,_0x57df9a)=>(_0x544cce,_0x389c76)=>_0x57df9a(_0x544cce,_0x389c76,_0x246d4),_0x3efcc8=(_0xe8e028,_0x56903c,_0x17abcc)=>_0x1690f5(_0xe8e028,_0x56903c+'',_0x17abcc);const _0x2735fc=_0x477bc3(0x1b3);_0x279e32['UniverCollaborationClientUIPlugin']=class extends _0x162031[_0x477bc3(0x1fc)]{constructor(_0x47cf8b=_0x1b221,_0xd27834,_0x3327b1,_0x54ac9b){const _0x32e9ba=_0x477bc3;super(),this['_config']=_0x47cf8b,this['_renderManagerService']=_0xd27834,this[_0x32e9ba(0x3da)]=_0x3327b1,this[_0x32e9ba(0x219)]=_0x54ac9b;const {..._0x3b4c0b}=_0x162031[_0x32e9ba(0x249)]({},_0x1b221,this[_0x32e9ba(0x38d)]);this[_0x32e9ba(0x219)][_0x32e9ba(0x14c)](_0x1050c1,_0x3b4c0b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x477bc3(0x19c)](){this['_registerRenderDependencies']();}[_0x477bc3(0x15d)](){const _0x3b637c=_0x477bc3;var _0x52af25;const _0x3cc01d=[[_0x446316],[_0x4667cb],[_0x1d044c],[_0x492b1f],[_0x35832b],[_0x3f7f20],[_0x361122,{'useClass':_0x48e8ee}],[_0x1a6c2d[_0x3b637c(0x354)],{'useClass':_0x1a6c2d['WebSocketService']}],[_0x44b518['ILocalCacheService'],{'useClass':_0x41ee4b}],[_0x279e32[_0x3b637c(0x2b8)]],[_0x1ba1e0],[_0x55cb2a],[_0x421cc1],[_0x4b1658],[_0x279e32[_0x3b637c(0x174)]]];this[_0x3b637c(0x38d)][_0x3b637c(0x12a)]&&_0x3cc01d[_0x3b637c(0x138)]([_0x8f72b]),_0x162031[_0x3b637c(0x328)](this[_0x3b637c(0x3da)],_0x162031[_0x3b637c(0x39f)](_0x3cc01d,(_0x52af25=this[_0x3b637c(0x38d)])==null?void 0x0:_0x52af25[_0x3b637c(0x147)]));}[_0x477bc3(0x2b2)](){const _0x530a83=_0x477bc3;this['disposeWithMe'](this[_0x530a83(0x1f4)]['registerRenderModule'](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x2c3)],[_0x560482])),this[_0x530a83(0x32e)](this[_0x530a83(0x1f4)][_0x530a83(0x233)](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x277)],[_0x2eb725]));}[_0x477bc3(0x126)](){const _0x2b66e1=_0x477bc3;_0x162031['touchDependencies'](this[_0x2b66e1(0x3da)],[[_0x421cc1],[_0x279e32['DesktopCollaborationStatusDisplayController']],[_0x1ba1e0],[_0x55cb2a],[_0x279e32[_0x2b66e1(0x174)]],[_0x4667cb]]),this[_0x2b66e1(0x38d)]['enableFrontendLog']&&_0x162031[_0x2b66e1(0x17d)](this[_0x2b66e1(0x3da)],[[_0x8f72b]]);}},_0x3efcc8(_0x279e32[_0x477bc3(0x37a)],_0x477bc3(0x18d),_0x2735fc),_0x279e32[_0x477bc3(0x37a)]=_0x270136([_0x162031[_0x477bc3(0x207)](_0x44b518[_0x477bc3(0x399)]),_0x56b50f(0x1,_0x433081[_0x477bc3(0x1a7)]),_0x56b50f(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x56b50f(0x3,_0x162031['IConfigService'])],_0x279e32[_0x477bc3(0x37a)]);var _0x2e4e5c=Object[_0x477bc3(0x1ec)],_0x4d860a=(_0x5d176d,_0x55ca8b,_0x20b501,_0x4b4566)=>{const _0x9b316e=_0x477bc3;for(var _0xf330b1=_0x4b4566>0x1?void 0x0:_0x4b4566?_0x2e4e5c(_0x55ca8b,_0x20b501):_0x55ca8b,_0xc7005b=_0x5d176d[_0x9b316e(0x215)]-0x1,_0x3feec9;_0xc7005b>=0x0;_0xc7005b--)(_0x3feec9=_0x5d176d[_0xc7005b])&&(_0xf330b1=_0x3feec9(_0xf330b1)||_0xf330b1);return _0xf330b1;},_0x4183ce=(_0x4b2096,_0x1362da)=>(_0x50f22d,_0x2bfac0)=>_0x1362da(_0x50f22d,_0x2bfac0,_0x4b2096);_0x279e32[_0x477bc3(0x2d8)]=class extends _0x44b518[_0x477bc3(0x192)]{constructor(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63){super(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63);}async[_0x477bc3(0x3b5)](_0x436a56){const _0x3638ef=_0x477bc3,_0x2eab76=await this[_0x3638ef(0x1b0)](),_0x4a4785=this[_0x3638ef(0x1fa)](_0x436a56,_0x2eab76);return this[_0x3638ef(0x308)](_0x4a4785);}[_0x477bc3(0x1fa)](_0x1d439c,_0x5bd1a8){const _0x34a357=_0x477bc3,_0x3a1de4=typeof window>'u'?new URL(_0x1d439c):new URL(_0x1d439c,window[_0x34a357(0x32b)][_0x34a357(0x236)]);_0x3a1de4['searchParams'][_0x34a357(0x34a)]('sessionTicket',_0x5bd1a8);const _0x1d02bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a357(0x32b)][_0x34a357(0x29c)]);return _0x1d02bc[_0x34a357(0x375)](_0x34a357(0x1f6))&&_0x3a1de4[_0x34a357(0x1ca)][_0x34a357(0x34a)](_0x34a357(0x1f6),_0x1d02bc['get'](_0x34a357(0x1f6))),_0x3a1de4['toString']();}async[_0x477bc3(0x1b0)](){const _0xb956c1=_0x477bc3;var _0x2c84f9,_0x57ffee,_0x32d406;const _0x3a3cd8=this[_0xb956c1(0x219)][_0xb956c1(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x570525=(_0x2c84f9=_0x3a3cd8==null?void 0x0:_0x3a3cd8[_0xb956c1(0x28d)])!=null?_0x2c84f9:_0x44b518['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x32d406=(_0x57ffee=(await this[_0xb956c1(0x180)]['get'](_0x570525,{'headers':{'Content-Type':_0xb956c1(0x19d)}}))[_0xb956c1(0x34c)])==null?void 0x0:_0x57ffee['ticket'])!=null?_0x32d406:'';}},_0x279e32[_0x477bc3(0x2d8)]=_0x4d860a([_0x4183ce(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x4183ce(0x1,_0x162031['Inject'](_0x1a6c2d[_0x477bc3(0x133)])),_0x4183ce(0x2,_0x162031['IConfigService']),_0x4183ce(0x3,_0x162031[_0x477bc3(0x353)]),_0x4183ce(0x4,_0x4cd710[_0x477bc3(0x372)])],_0x279e32[_0x477bc3(0x2d8)]);var _0x59b697=Object[_0x477bc3(0x1ec)],_0x556298=(_0x4821fc,_0xeea9cb,_0x207cb7,_0x2073b9)=>{const _0x3b42e0=_0x477bc3;for(var _0x850e71=_0x2073b9>0x1?void 0x0:_0x2073b9?_0x59b697(_0xeea9cb,_0x207cb7):_0xeea9cb,_0x2920d6=_0x4821fc[_0x3b42e0(0x215)]-0x1,_0x1d4ae9;_0x2920d6>=0x0;_0x2920d6--)(_0x1d4ae9=_0x4821fc[_0x2920d6])&&(_0x850e71=_0x1d4ae9(_0x850e71)||_0x850e71);return _0x850e71;},_0xf413bd=(_0x52c0f0,_0x3c8d2c)=>(_0x3e6c87,_0x4c3fbb)=>_0x3c8d2c(_0x3e6c87,_0x4c3fbb,_0x52c0f0);_0x279e32[_0x477bc3(0x1f7)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x58e6b5,_0x2acef5,_0x5abedf){const _0x179706=_0x477bc3;super(),this[_0x179706(0x2ed)]=_0x58e6b5,this[_0x179706(0x180)]=_0x2acef5,this[_0x179706(0x219)]=_0x5abedf;}async['runOnServer'](_0x29ff8f,_0x509acd,_0x5da049,..._0x22f47f){const _0x388afe=_0x477bc3;var _0x151580,_0x179f69,_0x16d3a3,_0x1f703f;const _0x34f208=this[_0x388afe(0x2ed)][_0x388afe(0x14b)]();if(!_0x34f208)throw new Error(_0x388afe(0x2d9));const _0xf681e=((_0x151580=this[_0x388afe(0x219)]['getConfig'](_0x44b518[_0x388afe(0x1b4)]))!=null?_0x151580:_0x44b518[_0x388afe(0x391)])+'/'+_0x29ff8f+_0x388afe(0x1bc)+_0x509acd,_0x1bfccb=new URL(window[_0x388afe(0x32b)][_0x388afe(0x246)]),_0x3d131a={'scriptId':_0x29ff8f,'runId':(_0x179f69=_0x1bfccb[_0x388afe(0x1ca)][_0x388afe(0x375)](_0x388afe(0x1f6)))!=null?_0x179f69:'','function':_0x509acd,'unitId':_0x34f208[_0x388afe(0x161)](),'argsOfFunction':JSON[_0x388afe(0x199)](_0x22f47f),'invokeId':(_0x16d3a3=_0x5da049[_0x388afe(0x1fd)])!=null?_0x16d3a3:'','executionId':(_0x1f703f=_0x5da049[_0x388afe(0x1bf)])!=null?_0x1f703f:''};try{const _0x4f6b2d=await this[_0x388afe(0x180)][_0x388afe(0x376)](_0xf681e,{'body':_0x3d131a});return _0x4f6b2d['body'][_0x388afe(0x2d0)]&&_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x2d0)]['code']!==_0x99761d['OK']?_0x388afe(0x309):_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x37b)];}catch{return _0x388afe(0x309);}}},_0x279e32[_0x477bc3(0x1f7)]=_0x556298([_0xf413bd(0x0,_0x162031['IUniverInstanceService']),_0xf413bd(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0xf413bd(0x2,_0x162031[_0x477bc3(0x13e)])],_0x279e32[_0x477bc3(0x1f7)]);const _0x16821a=0x7530,_0x5c7102=_0x477bc3(0x140);class _0xc6a367 extends _0x162031[_0x477bc3(0x148)]{constructor(){const _0x633a9f=_0x477bc3;super(),_0x387a01(this,_0x633a9f(0x36a),_0x162031[_0x633a9f(0x38e)]()),_0x387a01(this,_0x633a9f(0x160),new Set()),_0x387a01(this,_0x633a9f(0x3db),new Map()),_0x387a01(this,_0x633a9f(0x1c0),null),_0x387a01(this,_0x633a9f(0x33d),new Map()),_0x387a01(this,_0x633a9f(0x26a),new Map()),this[_0x633a9f(0x1ad)]();}[_0x477bc3(0x388)](){const _0x245d35=_0x477bc3;super['dispose'](),this[_0x245d35(0x33d)][_0x245d35(0x3c7)]((_0x137431,_0x30b78e)=>this[_0x245d35(0x18a)](_0x30b78e)),this[_0x245d35(0x1c0)]&&window[_0x245d35(0x261)](this[_0x245d35(0x1c0)]);}['getUnitStatus$'](_0x523e0d){const _0x2389f4=_0x477bc3;return this['_ensureSubject'](_0x523e0d)['pipe'](_0xe327d9[_0x2389f4(0x1d2)]());}[_0x477bc3(0x17a)](_0x595c22){const _0x313e3e=_0x477bc3;this[_0x313e3e(0x160)]['size']===0x0&&this[_0x313e3e(0x1b5)](),this['_selfUnitIDs'][_0x313e3e(0x1d6)](_0x595c22),this[_0x313e3e(0x2ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x595c22],'isForwarded':!0x1});}[_0x477bc3(0x105)](_0x536eea){const _0x544da0=_0x477bc3;this[_0x544da0(0x160)]['delete'](_0x536eea),this[_0x544da0(0x160)][_0x544da0(0x12d)]===0x0&&this[_0x544da0(0x1c0)]&&window['clearInterval'](this[_0x544da0(0x1c0)]);}['_init'](){const _0x12c879=_0x477bc3;this[_0x12c879(0x32e)](_0x162031[_0x12c879(0x16b)](_0xe327d9['fromEvent'](window,_0x12c879(0x31a))[_0x12c879(0x2cd)](_0x50c020=>{const _0x9d7621=_0x12c879;if(_0x50c020[_0x9d7621(0x3b9)]!==_0x5c7102||!_0x50c020[_0x9d7621(0x144)])return;const _0x2bc8dd=JSON[_0x9d7621(0x398)](_0x50c020[_0x9d7621(0x144)]);this[_0x9d7621(0x1ee)](_0x2bc8dd);}))),window[_0x12c879(0x2d6)](_0x12c879(0x390),()=>this[_0x12c879(0x2ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x12c879(0x360)](this[_0x12c879(0x160)])}));}[_0x477bc3(0x1ee)](_0x123150){const _0x435219=_0x477bc3;switch(_0x123150['type']){case 0x0:this['_handleJoinEvent'](_0x123150);break;case 0x1:this[_0x435219(0x330)](_0x123150);break;case 0x2:this['_handleHeartbeatEvent'](_0x123150);break;}}[_0x477bc3(0x342)](_0x42d98f){const _0x29b8b6=_0x477bc3,{unitIDs:_0x2f16f1,memberID:_0x13253a,isForwarded:_0x47c1fe}=_0x42d98f;_0x2f16f1['forEach'](_0x1d98ee=>{const _0xbac29e=_0x1b11;if(!_0x47c1fe&&this[_0xbac29e(0x3db)]['has'](_0x1d98ee)&&this[_0xbac29e(0xf8)](_0x1d98ee)[_0xbac29e(0x3be)](_0x44b518[_0xbac29e(0x306)][_0xbac29e(0x10d)]),!this[_0xbac29e(0x3db)][_0xbac29e(0x3cf)](_0x1d98ee)||!this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)[_0xbac29e(0x3cf)](_0x13253a)){const _0x379181=this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)||new Set();_0x379181[_0xbac29e(0x1d6)](_0x13253a),this[_0xbac29e(0x3db)][_0xbac29e(0x34a)](_0x1d98ee,_0x379181),this['_scheduleClearOtherTimer'](_0x13253a);}}),_0x47c1fe||this['_send']({'type':0x0,'memberID':this[_0x29b8b6(0x36a)],'unitIDs':[...this[_0x29b8b6(0x160)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2e2bbd){const _0x35cc2d=_0x477bc3;this[_0x35cc2d(0x18a)](_0x2e2bbd);const _0x477a2a=window[_0x35cc2d(0x366)](()=>{const _0x52968d=_0x35cc2d;this['_unitOnClients'][_0x52968d(0x3c7)](_0x1086aa=>{_0x1086aa['delete'](_0x2e2bbd);});},_0x16821a*0x2);this[_0x35cc2d(0x33d)][_0x35cc2d(0x34a)](_0x2e2bbd,_0x477a2a);}[_0x477bc3(0x18a)](_0x36e5ae){const _0x2c26f3=_0x477bc3;if(this[_0x2c26f3(0x33d)][_0x2c26f3(0x3cf)](_0x36e5ae)){const _0x3951fb=this['_clearOtherTimers'][_0x2c26f3(0x375)](_0x36e5ae);_0x3951fb&&window['clearTimeout'](_0x3951fb),this[_0x2c26f3(0x33d)][_0x2c26f3(0x34a)](_0x36e5ae,null);}}[_0x477bc3(0x330)](_0x2ffb88){const {memberID:_0x152ab8,unitIDs:_0x4f6daa}=_0x2ffb88;_0x4f6daa['forEach'](_0xe98b55=>{const _0x50ccbd=_0x1b11;var _0x223f7c;const _0x1c73ba=this[_0x50ccbd(0x3db)][_0x50ccbd(0x375)](_0xe98b55);_0x1c73ba&&(_0x1c73ba['delete'](_0x152ab8),(_0x223f7c=this[_0x50ccbd(0xf8)](_0xe98b55))==null||_0x223f7c[_0x50ccbd(0x3be)](_0x1c73ba['size']===0x0?_0x44b518[_0x50ccbd(0x306)]['NO_OTHER_CLIENTS_EDITING']:_0x44b518[_0x50ccbd(0x306)][_0x50ccbd(0x10d)]));}),this['_removeClearOtherTimer'](_0x152ab8);}['_handleHeartbeatEvent'](_0x27f77a){const _0x198da2=_0x477bc3;this[_0x198da2(0x325)](_0x27f77a[_0x198da2(0x3b2)]);}[_0x477bc3(0x2ea)](_0x1fde18){const _0xa48988=_0x477bc3;localStorage[_0xa48988(0x23c)](_0x5c7102,JSON[_0xa48988(0x199)](_0x1fde18));}[_0x477bc3(0x1b5)](){const _0x435645=_0x477bc3;this['_heartbeatTimer']=window[_0x435645(0x18b)](()=>{const _0x12d860=_0x435645;this[_0x12d860(0x2ea)]({'type':0x2,'memberID':this[_0x12d860(0x36a)]});},_0x16821a);}[_0x477bc3(0xf8)](_0x2c91aa){const _0xa4087b=_0x477bc3;return this[_0xa4087b(0x26a)]['has'](_0x2c91aa)||this[_0xa4087b(0x26a)][_0xa4087b(0x34a)](_0x2c91aa,new _0xe327d9['BehaviorSubject'](_0x44b518['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0xa4087b(0x26a)]['get'](_0x2c91aa);}}_0x279e32[_0x477bc3(0x31b)]=_0x361122,_0x279e32[_0x477bc3(0x14e)]=_0x5ff006,_0x279e32[_0x477bc3(0x125)]=_0xc6a367,_0x279e32[_0x477bc3(0x1b9)]=_0x48e8ee,Object[_0x477bc3(0x2e2)](_0x279e32,Symbol[_0x477bc3(0x263)],{'value':'Module'});}));function _0x5942(){const _0x4e0804=['useCallback','ENTITLE_INVALID_COUPON_CODE','...','handleMoveRange','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','_showGuardMessage','ColorKit','href','_docTransformIMECacheService','getConfig','merge','_color','#FFF','debounce','type','getParam','_saveTaskMap','m2Prime','ENTITLE_DUP_SUBSCRIPTION','TEXT','focused$','COLORS','UNDEFINED','REDEMPTION_CODE_NOT_STARTED','releaseFormulaLimitUrl','IRemoteInstanceService','subscribeEvent','_initStatusComponent','@univerjs/sheets-ui','_onCursorUpdate','syncEditingCollabCursor','_initEvent','react/jsx-runtime','url(#on-line-icon_clip0_910_349)','clearInterval','cursorInfo$','toStringTag','url(#$1','_getScale','cursorInfo','@univerjs-pro/collaboration-client','_docClipboardService','executeCommand','_unitStatus','_themeService','undoState','roomMembers','_collabCursorController','_hovered','min','getMember','_checkCalculationAvailable','_localCacheService','UniverIcon','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_updateLocalCursor','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','removeEventListener','session.connection-failed','OnLineIcon','getCurrentSelections','startsWith','WECHAT_HAS_BEEN_BOUND','_anchorDot','_removeCollabCursors','_roomMembers$','6016232jQAWcs','UniverSheetsUi','_cursorShapes','source','black','registerRefRange','getRenderById','collab-text-anchor-','_drawAnchor','handleDeleteRangeMoveUp','getDocRanges','wsSessionTicketUrl','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','addObjects','useDependency','height','USER_IS_ANONYMOUS','DocSelectionManagerService','defs','find','isTransformMutationsWithChangesetSuccess','_logService','_context','_collabSessionService','xlink:href','registerComponent','search','RECT','clsx','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','CanceledError','_onRefRangeChange','YUUMI_UNABLE_LOAD_URL','currentColor','InsertRangeMoveRightCommandId','toString','getSheetId','all','fromEvent','CollaborationUIEventService','PAYMENT_CHANNEL_NOT_SUPPORT','range','eventID','SHEET_VIEWPORT_KEY','_document','Inject','collabStatus.conflict','_registerRenderDependencies','EMAIL_VERIFY_CODE_MISMATCH','_transformPreviousActiveRange','_scene','SetTextSelectionsOperation','collabStatus.syncing','DesktopCollaborationStatusDisplayController','HEADER_MENU','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','subunit','DataLoaderService','ThemeService','OffLineIcon','width','InsertRangeMoveDownCommandId','CollaborationStatus','UNIVER_DOC','ENTITLE_REPORT_LIMIT_EXCEED','LOGIN_TOKEN_PROCESSING_FAILED','translate(.97)','svg','symbol','_setFormulaLimitStatus','getSheetBySheetId','_startCalculationLimit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','subscribe','_dataLoaderService','saveImage','error','pipe','useObservable','981062aqzYLI','UniverDrawing','collabStatus.notCollab','addEventListener','_urlService','BrowserCollaborationSocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ERROR_AGAIN','roomMembers$','purple.300','@univerjs/network','0\x200\x2017\x2016','collaboration-client-ui.config','DocSkeletonManagerService','replace','defineProperty','ENTITLE_NEED_BILLING_ADDRESS','RegularPolygon','getAncestorScale','fillText','connectInjector','operators','transformSelections','_send','replaceState','getViewport','_instanceService','transformRemoteChangeset','AWAITING','bottom','@univerjs/core','_collaborationController','_hideTimer','IImageIoService','collabStatus.fetchMiss','handleIRemoveRow','_updateURLWithCurrentState','on-line-icon_clip0_910_349','displayName','_labelPosition','attrs','MoveRangeCommandId','getCurrentRevOfUnit','?taskId=','assignAColorForMemberID','_sheetSkeletonManagerService','labelPosition','TEXT_RANGE_LAYER_INDEX','UniverSheets','_syncEditingCollabCursorService','[Unhandled\x20Rejection]:\x20','UnitStatus','getCollabEntity$','_doCreateSocket','Failed','START_CALCULATION','Optional','/universer-api/license/formula/limit/status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','some','Unknown\x20user','Workbook','_taskIds','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','UNAUTHENTICATED','9VRMmkJ','setShapeProps','DocStateChangeManagerService','_initCommandInterceptor','storage','IURLService','getCurrent','17260bsJgrd','setStateCache','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Loading','SetWorksheetActivateCommand','_getAnchorBounding','getRangePointData','_scheduleClearOtherTimer','ICommandService','UniverUi','registerDependencies','reconnect','beginPath','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','disposeWithMe','_toggleOnline','_handleLeaveEvent','takeUntil','currentSkeleton$','univer-mr-2\x20univer-flex\x20univer-text-xl','_monkeyPatchLogService','_initCommandExecutedListener','ENTITLE_CHAT_LIMIT_EXCEED','getCellPositionByOffset','_backgroundColor','enableLocalCache','_maxFormulaLimit','findNodePositionByCharIndex','setParam','_clearOtherTimers','MessageType','_onCursorDelete','UniverDocsUi','[LogService\x20Error]:\x20','_handleJoinEvent','_colorAssignService','_getSheetObject','unsubscribe','4315830WdrmgC','\x20at\x20','show','handleInsertRangeMoveDown','set','_localStorageService','body','mutations','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','transformIMECache','_cursor','_anchor','ILogService','ISocketService','_colorIndex','backgroundColor','APPLY_DUPLICATED','m1Prime','getformulaLimitStatusUrl','urlChange$','_docSyncEditingCollabCursorService','NOT_COLLAB','children','EffectRefRangId','NodePositionConvertToCursor','from','SUCCESS','white','SetSelectionsOperation','column','whenReady','setTimeout','session.collaboration-timeout','fill','addClipboardHook','_id','/universer-api/license/formula/limit/done','AUTHORIZE_CODE_ILLEGAL','_memberID','_lastPointer','socket$','color','11010260CyITXJ','ISnapshotServerService','FromArray','IBeforeCloseService','get','post','_messageService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverCollaborationClientUIPlugin','result','getLocalCacheKey','_drawRectRange','limitInfo','_initEntityListener','SetFormulaCalculationStartMutation','save','imageSourceType','74253sDpKQK','green.600','SessionStatus','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose','amd','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_initUserListener','_config','generateRandomId','yellow.400','unload','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','idSuffix','stack','textRanges','_textBubble','reason','parse','UniverCollaborationClientPlugin','collaboration.offline-data-not-saved','ONLINE','sheetId','uni.network.url-service','complete','mergeOverrideWithDependencies','_docSkeletonManagerService','fromEventSubject','parseInt','exhaustSavingTask','createIdentifier','fillStyle','onPointerEnter$','registerBeforeClose','send','BuiltInUIPart','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','USER_NOT_FOUND','isTransformMutationFailure','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','formula.calculation.waiting','stageInfo','memberID','_startSheetCollabCursor','UniverProCollaborationClientUi','createSocket','activeSheet$','Subject','OFFLINE','key','assign','_initUnhandledRejectionListener','_notificationService','_releaseCalculationLimit','next','_imageIoService','_scheduleSaving','_entities','collabStatus.offline','isFormulaString','_getFormulaLimitStatus','hovered','UniverProCollaboration','forEach','fillRule','random','values','tag','transformStateCache','getUniverSheetInstance','_docTransformStateCacheService','has','unitID','1em','getTypeOfUnitDisposed$','engine','name','toRgbString','DATA_SOURCE_TOO_LARGE','DocIMEInputManagerService','_lastResponseTimestamp','on-line-icon','_injector','_unitOnClients','RxDisposable','INotificationService','NodePositionConvertToRectRange','UniverEngineRender','CLOSE_ROOM','now','lineno','redoState','INVITE_CODE_ALREADY_BOUND','selections','rxjs','_range','Shape','@univerjs/drawing','_ensureSubject','split','_assignedColors','permission.content','_docStateChangeManagerService','SOCKET_FAILED','APPLY_REVISION_CONFILICT','mask','_shapes','SNAPSHOT_INVALID_SNAPSHOT','_initWindowErrorListener','shift','UNRECOGNIZED','disposeUnit','_pollingInterval','requireSession','lineTo','onTransformChange$','init','_localeService','getCollabCursors$','OTHER_CLIENTS_EDITING','_cursorInfo$','session.will-retry','APPLY_PERMISSION_DENIED','MemberService','Error','handleIRemoveCol','react','getSkeleton','updateOfflineData','_status$','UniverEngineFormula','asObservable','code','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','off-line-icon_clip0_910_343','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','IDocClipboardService','use','join','_docSkeleton','filter','WebBrowserSingleActiveUnitService','_initDependencies','setActiveRange','YUUMI_AI_RUN_FAILED','arc','enableFrontendLog','path','defIds','size','sheetID','PENDING','saveTaskMap','_uploadLog','PY_RUNTIME_SCRIPT_ERROR','HTTPService','TOO_MANY_REQUESTS','with','BehaviorSubject','Tooltip','push','_commandService','useRef','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','collabStatus.synced','IConfigService','subUnitId','ACTIVE_UNIT_EVENT_CHANNEL','startRow','transform','addHandlerCallback','newValue','drawWith','debug','override','Disposable','INVALID_ARGUMENT','handleInsertCol','getFocusedUnit','setConfig','_saveCache','SheetCollabCursorShape','createElement','unitId','MOBILE_VERIFY_CODE_MISMATCH','deserializeRangeWithSheet','FormulaExecutedStateType','InsertColCommandId','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','setUndoRedoMutationParamsCache','_hover','_online','CollaborationController','_beforeCloseService','getTypeOfUnitAdded$','_registerDependencies','_transformHistoryAndStateStack','hide','_selfUnitIDs','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','UPDATE_CURSOR','isArray','docStateChange$','_setupBeforeClosingHandler','_updateCollabCursors','SetFormulaCalculationNotificationMutation','_eventUnsubscribe','toDisposable','_revisionService','top','transformByState','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/design','UniverDocs','clipPath','getCellMatrix','CollaborationDataLoaderController','_initResize','ITransformService','event$','102aWFpdV','transformMutation','editingUnit','_uiPartsService','_clearPolling','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_httpService','jsx','getValue','RemoveColCommandId','OTHER_CLIENT_EDITING','_applyCommand','unit','IUIPartsService','unshift','setAlpha','_removeClearOtherTimer','setInterval','FormulaExecuteStageType','pluginName','_setupSubUnitSync','beforeCommandExecuted','currentUsage','VIEW_MAIN','CollaborationSocketService','deepClone','DocCollaborationEntity','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','selection','makeDirty','stringify','collab-client.tooltip.reconnect','getStateCache','onRendered','application/json','516lHSYZS','SYNCED','REDEMPTION_CODE_FULLY_REDEEMED','isEditing','forwardRef','_refRangeService','onMouseMove','loadUnit','/universer-api/license/formula/limit/start','IRenderManagerService','getColorFromTheme','_startDocCollabCursor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','params','APPLY_REJECT','_init','@univerjs/engine-render','sessionStatus$','_getSessionTicket','rxjs/operators','status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleHeartbeat','DeleteRangeMoveUpCommandId','onCommandExecuted','[Window\x20Error]:\x20','WebURLService','collabCursorState$','filename','/run/','AWAITING_WITH_PENDING','restore','executionId','_heartbeatTimer','dispose$','ENTITLE_COUPON_USED_UP','YUUMI_RATE_OVER_LIMIT','permission.title','ILocalStorageService','onPointerMove$','NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverInstanceType','searchParams','string','_currentUsage','LocaleService','getSheetObject','getCoordByCell','getUnhiddenWorksheets','ALREADY_EXISTS','distinctUntilChanged','_memberService','Vector2','RevisionService','add','REDEMPTION_INVALID_CODE','DeleteRangeMoveLeftCommandId','DOC_RANGE_TYPE','debounceTime','http://www.w3.org/2000/svg','jiqing.500','_toggleOffline','ranges','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRangeMoveRight','flatMap','Injector','getActiveRange','blue.400','CollaborationSessionService','_name','history','handleInsertRow','currentTheme$','_drawTextRange','CONFLICT','getOwnPropertyDescriptor','getOffsetConfig','_handleEvent','Warning','_handleHover','9123961IfiBMl','row','RemoveRowCommandId','_renderManagerService','INVALID_INVITE_CODE','runId','RemoteUniscriptService','resize','data','_createSocketURL','combineLatest','Plugin','invokeId','replaceDocRanges','text','_entityInit$','EMAIL_HAS_BEEN_BOUND','_getMergeRange','totalFormulasToCalculate','React','@univerjs/rpc','_initStatusListener','DependentOn','addObject','RefRangeService','doc.mutation.rich-text-editing','_session','_updateSubUnitFromURLParams','MUTATION','INVITE_CODE_HAS_BEEN_UES','_disabled','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','getUndoRedoMutationParamsCache','LOGIN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','_cursors','_configService','getColor','_refreshCollabCursors','IUniverInstanceService','pushState','url(#off-line-icon_clip0_910_343)','endColumn','switchMap','_collaborationSessionService','IMessageService','colorChannel1','INTERNAL_ERROR','_univerInstanceService','div','_collaborationUIEventService','serializeRangeWithSheet','JOIN_ROOM_FAILED','FETCH_MISS','INVITE_CODE_REQUIRED','_transformService','CollaborationEvent','current','then','none','Rect','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','origin','CURRENT_STATUS_CANNOT_OPERATE','shareReplay','map','clearTimeout','catch','setItem','function'];_0x5942=function(){return _0x4e0804;};return _0x5942();}
8
+ function _0x2c0f(_0x534dcd,_0x3c8f37){_0x534dcd=_0x534dcd-0x1e6;const _0x467084=_0x4670();let _0x2c0f79=_0x467084[_0x534dcd];return _0x2c0f79;}(function(_0x5bb19a,_0x38c1c4){const _0x6733ab=_0x2c0f,_0x4489ea=_0x5bb19a();while(!![]){try{const _0x59e7db=parseInt(_0x6733ab(0x396))/0x1*(parseInt(_0x6733ab(0x445))/0x2)+parseInt(_0x6733ab(0x2c5))/0x3+-parseInt(_0x6733ab(0x261))/0x4*(parseInt(_0x6733ab(0x2d4))/0x5)+-parseInt(_0x6733ab(0x276))/0x6*(-parseInt(_0x6733ab(0x468))/0x7)+-parseInt(_0x6733ab(0x380))/0x8*(parseInt(_0x6733ab(0x251))/0x9)+-parseInt(_0x6733ab(0x377))/0xa+parseInt(_0x6733ab(0x1fa))/0xb*(-parseInt(_0x6733ab(0x1f1))/0xc);if(_0x59e7db===_0x38c1c4)break;else _0x4489ea['push'](_0x4489ea['shift']());}catch(_0x3cb1c8){_0x4489ea['push'](_0x4489ea['shift']());}}}(_0x4670,0x655a6),function(_0x23c90d,_0x2f4ae1){const _0x376707=_0x2c0f;typeof exports==_0x376707(0x432)&&typeof module<'u'?_0x2f4ae1(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==_0x376707(0x382)&&define['amd']?define(['exports',_0x376707(0x3dc),_0x376707(0x2b3),_0x376707(0x39e),_0x376707(0x2e6),_0x376707(0x240),_0x376707(0x462),_0x376707(0x45b),'@univerjs/rpc',_0x376707(0x3af),_0x376707(0x31c),_0x376707(0x477),_0x376707(0x44f),_0x376707(0x339),'@univerjs-pro/collaboration',_0x376707(0x467),_0x376707(0x2de),'rxjs/operators',_0x376707(0x33e)],_0x2f4ae1):(_0x23c90d=typeof globalThis<'u'?globalThis:_0x23c90d||self,_0x2f4ae1(_0x23c90d['UniverProCollaborationClientUi']={},_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x2b2)],_0x23c90d[_0x376707(0x2d8)],_0x23c90d['UniverUi'],_0x23c90d['rxjs'],_0x23c90d[_0x376707(0x341)],_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x1fe)],_0x23c90d[_0x376707(0x26a)],_0x23c90d[_0x376707(0x36a)],_0x23c90d['UniverNetwork'],_0x23c90d[_0x376707(0x421)],_0x23c90d[_0x376707(0x245)],_0x23c90d[_0x376707(0x26f)],_0x23c90d[_0x376707(0x3a2)],_0x23c90d[_0x376707(0x3bb)],_0x23c90d[_0x376707(0x240)][_0x376707(0x47d)],_0x23c90d[_0x376707(0x48e)]));}(this,function(_0x7f96f7,_0x5740b5,_0x34c9b1,_0xee8662,_0x2dde38,_0x3b7fba,_0xefc44b,_0x2e943d,_0x969f37,_0x3dd5c8,_0x358391,_0x4d0037,_0x42f82b,_0x2ac31a,_0x597660,_0xf806a0,_0x150340,_0x6bbe09,_0x28bc9b){'use strict';const _0x51d908=_0x2c0f;var _0x3377c9=Object[_0x51d908(0x359)],_0x195903=(_0x5c84a1,_0x41c3d5,_0x55096b)=>_0x41c3d5 in _0x5c84a1?_0x3377c9(_0x5c84a1,_0x41c3d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55096b}):_0x5c84a1[_0x41c3d5]=_0x55096b,_0x3dad76=(_0x3ac692,_0xc085ca,_0x5442f0)=>_0x195903(_0x3ac692,typeof _0xc085ca!=_0x51d908(0x3cf)?_0xc085ca+'':_0xc085ca,_0x5442f0);function _0x2dbb89({ref:_0x11392b,..._0x20b89c}){const _0x48a282=_0x51d908,{icon:_0xd1ad2a,id:_0x4467c7,className:_0x578904,extend:_0x51a0ce,..._0x5afffa}=_0x20b89c,_0x2a2680=(_0x48a282(0x4c9)+_0x4467c7+'\x20'+(_0x578904||''))[_0x48a282(0x31b)](),_0x10c022=_0x2e943d[_0x48a282(0x459)]('_'+_0x3c6c82());return _0xa8da4e(_0xd1ad2a,''+_0x4467c7,{'defIds':_0xd1ad2a[_0x48a282(0x217)],'idSuffix':_0x10c022[_0x48a282(0x306)]},{'ref':_0x11392b,'className':_0x2a2680,..._0x5afffa},_0x51a0ce);}function _0xa8da4e(_0x184571,_0x551fec,_0x54cf50,_0x54d764,_0x3bdb8d){const _0x5a7619=_0x51d908;return _0x2e943d[_0x5a7619(0x2da)](_0x184571['tag'],{'key':_0x551fec,..._0x3abdfe(_0x184571,_0x54cf50,_0x3bdb8d),..._0x54d764},(_0x71f79b(_0x184571,_0x54cf50)['children']||[])[_0x5a7619(0x1e7)]((_0x1153aa,_0x4b69a9)=>_0xa8da4e(_0x1153aa,_0x551fec+'-'+_0x184571[_0x5a7619(0x2b0)]+'-'+_0x4b69a9,_0x54cf50,void 0x0,_0x3bdb8d)));}function _0x3abdfe(_0x4be1e8,_0x3804e8,_0xc50a3a){const _0x468c47=_0x51d908,_0x5825bd={..._0x4be1e8[_0x468c47(0x424)]};_0xc50a3a!=null&&_0xc50a3a[_0x468c47(0x38e)]&&_0x5825bd[_0x468c47(0x405)]==='colorChannel1'&&(_0x5825bd[_0x468c47(0x405)]=_0xc50a3a[_0x468c47(0x38e)]),_0x4be1e8[_0x468c47(0x2b0)]===_0x468c47(0x2bd)&&_0x5825bd['id']&&(_0x5825bd['id']=_0x5825bd['id']+_0x3804e8[_0x468c47(0x410)]),Object[_0x468c47(0x2e0)](_0x5825bd)[_0x468c47(0x204)](([_0x55d95a,_0x2ff35f])=>{const _0xaef68e=_0x468c47;_0x55d95a===_0xaef68e(0x2bd)&&typeof _0x2ff35f=='string'&&(_0x5825bd[_0x55d95a]=_0x2ff35f[_0xaef68e(0x20a)](/url\(#(.*)\)/,_0xaef68e(0x40c)+_0x3804e8[_0xaef68e(0x410)]+')'));});const {defIds:_0x1daf17}=_0x3804e8;return!_0x1daf17||_0x1daf17['length']===0x0||(_0x4be1e8['tag']==='use'&&_0x5825bd[_0x468c47(0x258)]&&(_0x5825bd[_0x468c47(0x258)]=_0x5825bd[_0x468c47(0x258)]+_0x3804e8[_0x468c47(0x410)]),Object['entries'](_0x5825bd)['forEach'](([_0x107109,_0x58c554])=>{const _0x4321d2=_0x468c47;typeof _0x58c554==_0x4321d2(0x255)&&(_0x5825bd[_0x107109]=_0x58c554[_0x4321d2(0x20a)](/url\(#(.*)\)/,_0x4321d2(0x40c)+_0x3804e8['idSuffix']+')'));})),_0x5825bd;}function _0x71f79b(_0x4bbbea,_0x1f91f6){const _0x353ee2=_0x51d908;var _0x41c813;const {defIds:_0x182eba}=_0x1f91f6;return!_0x182eba||_0x182eba['length']===0x0?_0x4bbbea:_0x4bbbea[_0x353ee2(0x2b0)]===_0x353ee2(0x232)&&((_0x41c813=_0x4bbbea[_0x353ee2(0x48c)])!=null&&_0x41c813[_0x353ee2(0x3e5)])?{..._0x4bbbea,'children':_0x4bbbea[_0x353ee2(0x48c)]['map'](_0x481827=>typeof _0x481827[_0x353ee2(0x424)]['id']=='string'&&_0x182eba&&_0x182eba[_0x353ee2(0x3ab)](_0x481827[_0x353ee2(0x424)]['id'])?{..._0x481827,'attrs':{..._0x481827[_0x353ee2(0x424)],'id':_0x481827[_0x353ee2(0x424)]['id']+_0x1f91f6[_0x353ee2(0x410)]}}:_0x481827)}:_0x4bbbea;}function _0x3c6c82(){const _0x15802c=_0x51d908;return Math[_0x15802c(0x349)]()[_0x15802c(0x344)](0x24)['substring'](0x2,0x8);}_0x2dbb89[_0x51d908(0x369)]=_0x51d908(0x20d);const _0x2faee0={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':_0x51d908(0x2ff),'width':_0x51d908(0x4a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x51d908(0x1fb)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x51d908(0x39a),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':_0x51d908(0x232),'attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x312)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':'white','d':_0x51d908(0x375)}}]}]}],'defIds':[_0x51d908(0x312)]},_0x2cb984=_0x2e943d['forwardRef'](function(_0x439c10,_0x49a8dd){const _0xf93020=_0x51d908;return _0x2e943d[_0xf93020(0x2da)](_0x2dbb89,Object['assign']({},_0x439c10,{'id':'off-line-icon','ref':_0x49a8dd,'icon':_0x2faee0}));});_0x2cb984[_0x51d908(0x369)]=_0x51d908(0x403);const _0x3828e5={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':'0\x200\x2017\x2016','width':_0x51d908(0x4a4),'height':_0x51d908(0x4a4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x51d908(0x48b),'attrs':{'stroke':_0x51d908(0x4aa),'d':_0x51d908(0x3d3),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x3c1)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':_0x51d908(0x332),'d':_0x51d908(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c533b=_0x2e943d[_0x51d908(0x36e)](function(_0x16f147,_0x3d1e4b){const _0x3451ee=_0x51d908;return _0x2e943d['createElement'](_0x2dbb89,Object[_0x3451ee(0x35a)]({},_0x16f147,{'id':'on-line-icon','ref':_0x3d1e4b,'icon':_0x3828e5}));});_0x5c533b['displayName']=_0x51d908(0x3b0);function _0x32fce6(_0x3151f4){const _0x2d671c=_0x51d908;switch(_0x3151f4){case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x292)]:return'collabStatus.offline';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x254)]:return _0x2d671c(0x4a6);case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x20b)]:return'collabStatus.fetchMiss';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2a3)]:return'collabStatus.notCollab';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x223)]:case _0x34c9b1['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x2d671c(0x38b);case _0x34c9b1['CollaborationStatus']['SYNCED']:case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2c6)]:return _0x2d671c(0x200);}}function _0x401748(_0x1bd21e){const _0x1d8bcf=_0x51d908,{status$:_0x2654cf}=_0x1bd21e,_0x17337c=_0x2dde38['useObservable'](_0x2654cf,_0x34c9b1[_0x1d8bcf(0x326)][_0x1d8bcf(0x2a3)]),_0x59fd12=_0x2dde38['useDependency'](_0xee8662[_0x1d8bcf(0x241)]),_0x1e846a=_0x2dde38[_0x1d8bcf(0x325)](_0x34c9b1[_0x1d8bcf(0x25f)]),_0x44905a=_0x17337c!==_0x34c9b1['CollaborationStatus'][_0x1d8bcf(0x292)],_0x34560c=_0x59fd12['t'](_0x32fce6(_0x17337c)),_0x20253c=_0x44905a?_0x5740b5[_0x1d8bcf(0x330)](_0x5c533b,{}):_0x5740b5[_0x1d8bcf(0x330)](_0x2cb984,{}),_0x3bf655=_0x2e943d['useCallback'](()=>{const _0x3aa8be=_0x1d8bcf;_0x44905a||_0x1e846a[_0x3aa8be(0x450)]();},[_0x44905a,_0x1e846a]);function _0x2ae72a(){const _0x40b976=_0x1d8bcf;return _0x5740b5[_0x40b976(0x2f0)]('div',{'className':_0x40b976(0x26b),'onClick':_0x3bf655,'children':[_0x5740b5[_0x40b976(0x330)](_0x40b976(0x452),{'className':_0xefc44b[_0x40b976(0x3d4)](_0x40b976(0x30f),{'univer-text-green-500':_0x44905a,'univer-text-red-500':!_0x44905a}),'children':_0x20253c}),_0x5740b5['jsx'](_0x40b976(0x452),{'className':_0x40b976(0x4d2),'children':_0x34560c})]});}return _0x44905a?_0x2ae72a():_0x5740b5[_0x1d8bcf(0x330)](_0xefc44b[_0x1d8bcf(0x2dd)],{'title':_0x59fd12['t'](_0x1d8bcf(0x298)),'children':_0x2ae72a()});}var _0x45dc7c=Object[_0x51d908(0x34e)],_0x2ccc78=(_0x5f7199,_0x158ec4,_0x13b415,_0x5665f1)=>{const _0x1ea945=_0x51d908;for(var _0x186cee=_0x5665f1>0x1?void 0x0:_0x5665f1?_0x45dc7c(_0x158ec4,_0x13b415):_0x158ec4,_0x18e8aa=_0x5f7199[_0x1ea945(0x3e5)]-0x1,_0x512a18;_0x18e8aa>=0x0;_0x18e8aa--)(_0x512a18=_0x5f7199[_0x18e8aa])&&(_0x186cee=_0x512a18(_0x186cee)||_0x186cee);return _0x186cee;},_0x1faf92=(_0x53a220,_0x218945)=>(_0x123cab,_0x52535e)=>_0x218945(_0x123cab,_0x52535e,_0x53a220);_0x7f96f7[_0x51d908(0x4b3)]=class extends _0xee8662['Disposable']{constructor(_0x5f2549,_0x480a7d,_0x565c55,_0x243aeb){const _0x3d4a99=_0x51d908;super(),_0x3dad76(this,_0x3d4a99(0x419),new _0x3b7fba[(_0x3d4a99(0x45d))](_0x34c9b1['CollaborationStatus']['NOT_COLLAB'])),(this[_0x3d4a99(0x4c6)]=_0x5f2549,this[_0x3d4a99(0x3e2)]=_0x480a7d,this[_0x3d4a99(0x2cb)]=_0x565c55,this['_uiPartsService']=_0x243aeb,this[_0x3d4a99(0x3f2)](),this[_0x3d4a99(0x273)]());}[_0x51d908(0x273)](){const _0x22516e=_0x51d908;this[_0x22516e(0x45a)](this[_0x22516e(0x4c6)]['focused$'][_0x22516e(0x2ba)](_0x3b7fba['switchMap'](()=>{const _0x5451f6=_0x22516e,_0x1c29c8=this[_0x5451f6(0x4c6)][_0x5451f6(0x247)]();return _0x1c29c8?this['_collaborationController'][_0x5451f6(0x439)](_0x1c29c8[_0x5451f6(0x3d9)]()):_0x3b7fba['of'](null);}),_0x3b7fba[_0x22516e(0x40f)](_0x4c20ba=>_0x4c20ba?_0x4c20ba[_0x22516e(0x346)]:_0x3b7fba['of'](_0x34c9b1['CollaborationStatus'][_0x22516e(0x2a3)])))[_0x22516e(0x329)](_0x43de95=>{const _0x42a073=_0x22516e;this[_0x42a073(0x419)][_0x42a073(0x2e1)](_0x43de95);}));}[_0x51d908(0x3f2)](){const _0x56d832=_0x51d908;this['disposeWithMe'](this[_0x56d832(0x32c)][_0x56d832(0x2fc)](_0x2dde38['BuiltInUIPart'][_0x56d832(0x4b8)],()=>_0x2dde38['connectInjector'](_0x1f9bba({'status$':this[_0x56d832(0x419)][_0x56d832(0x428)]()}),this[_0x56d832(0x3e2)])));}},_0x7f96f7[_0x51d908(0x4b3)]=_0x2ccc78([_0x1faf92(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x1faf92(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x1faf92(0x2,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x1faf92(0x3,_0x2dde38[_0x51d908(0x394)])],_0x7f96f7['DesktopCollaborationStatusDisplayController']);function _0x1f9bba(_0x3180f5){const {status$:_0x1674d5}=_0x3180f5;return function(){const _0x4bcf72=_0x2c0f;return _0x5740b5[_0x4bcf72(0x330)](_0x401748,{'status$':_0x1674d5});};}const _0x188e9b=_0xee8662[_0x51d908(0x4af)](_0x51d908(0x381));var _0x3c84dc=Object['getOwnPropertyDescriptor'],_0x51ebe6=(_0xb613ca,_0x2d5ea0,_0x75b425,_0x578674)=>{const _0x290e3e=_0x51d908;for(var _0x182c49=_0x578674>0x1?void 0x0:_0x578674?_0x3c84dc(_0x2d5ea0,_0x75b425):_0x2d5ea0,_0x46aa41=_0xb613ca[_0x290e3e(0x3e5)]-0x1,_0x748303;_0x46aa41>=0x0;_0x46aa41--)(_0x748303=_0xb613ca[_0x46aa41])&&(_0x182c49=_0x748303(_0x182c49)||_0x182c49);return _0x182c49;},_0x3ac6a5=(_0x2f07e0,_0x4acf8e)=>(_0x4a8479,_0x8e2491)=>_0x4acf8e(_0x4a8479,_0x8e2491,_0x2f07e0);_0x7f96f7[_0x51d908(0x4ca)]=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2c53dc,_0x4538cb,_0xa99b80,_0x352380,_0x41f7ca){const _0x28a91c=_0x51d908;super(),this[_0x28a91c(0x40d)]=_0x2c53dc,this['_logService']=_0x4538cb,this['_commandService']=_0xa99b80,this['_dataLoaderService']=_0x352380,_0x41f7ca?_0x41f7ca==null||_0x41f7ca[_0x28a91c(0x3fd)]()[_0x28a91c(0x2ec)](()=>this[_0x28a91c(0x336)]()):(this[_0x28a91c(0x27c)][_0x28a91c(0x3c9)](_0x28a91c(0x1f6),_0x28a91c(0x34f)),this[_0x28a91c(0x336)]());}async[_0x51d908(0x336)](){const _0x3a462e=_0x51d908,_0x5aae74=this['_urlService'][_0x3a462e(0x2c3)](_0x3a462e(0x267)),_0x3030ce=this[_0x3a462e(0x40d)][_0x3a462e(0x2c3)](_0x3a462e(0x4b1)),_0x4dd1ed=this['_urlService'][_0x3a462e(0x2c3)]('subunit');if(!_0x5aae74||!_0x3030ce){this['_logService'][_0x3a462e(0x3c9)](_0x3a462e(0x1f6),_0x3a462e(0x3c6));return;}const _0x3bda1d=await this[_0x3a462e(0x469)]['loadUnit'](_0x5aae74,Number(_0x3030ce),_0x4dd1ed);_0x3bda1d&&_0x3bda1d instanceof _0xee8662[_0x3a462e(0x253)]&&this['_setupSubUnitSync'](_0x3bda1d);}async[_0x51d908(0x4c1)](_0x5ed162){const _0x2fc6dd=_0x51d908;await this[_0x2fc6dd(0x3e1)](_0x5ed162),_0x5ed162[_0x2fc6dd(0x4cf)][_0x2fc6dd(0x2ba)](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))['subscribe'](_0x10ff77=>{const _0x22e378=_0x2fc6dd;_0x10ff77&&this[_0x22e378(0x361)](_0x10ff77);}),this['_urlService'][_0x2fc6dd(0x2f4)]['pipe'](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))[_0x2fc6dd(0x329)](()=>this['_updateSubUnitFromURLParams'](_0x5ed162));}['_updateURLWithCurrentState'](_0x43e43,_0x2103fa=!0x1){const _0x3cd259=_0x51d908,_0x547448=this[_0x3cd259(0x40d)][_0x3cd259(0x2c3)](_0x3cd259(0x461));_0x43e43[_0x3cd259(0x451)]()!==_0x547448&&this['_urlService'][_0x3cd259(0x413)](_0x3cd259(0x461),_0x43e43[_0x3cd259(0x451)](),_0x2103fa);}async[_0x51d908(0x3e1)](_0x269afc){const _0xe850bf=_0x51d908;var _0x1fba28;const _0x454d5e=this['_urlService'][_0xe850bf(0x2c3)](_0xe850bf(0x461));if(!_0x454d5e||!_0x269afc[_0xe850bf(0x3a6)](_0x454d5e)){const _0x424250=_0x269afc[_0xe850bf(0x279)]()[0x0],_0x2f407c=_0x269afc[_0xe850bf(0x3a6)](_0x424250);if(!_0x2f407c)return;this[_0xe850bf(0x361)](_0x2f407c,!0x0),await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x424250});return;}((_0x1fba28=_0x269afc[_0xe850bf(0x23c)]())==null?void 0x0:_0x1fba28[_0xe850bf(0x451)]())!==_0x454d5e&&await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x454d5e});}},_0x7f96f7[_0x51d908(0x4ca)]=_0x51ebe6([_0x3ac6a5(0x0,_0x188e9b),_0x3ac6a5(0x1,_0xee8662[_0x51d908(0x4b0)]),_0x3ac6a5(0x2,_0xee8662[_0x51d908(0x2a9)]),_0x3ac6a5(0x3,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x33b)])),_0x3ac6a5(0x4,_0xee8662[_0x51d908(0x3bf)](_0x969f37[_0x51d908(0x301)]))],_0x7f96f7[_0x51d908(0x4ca)]);var _0x408d39=Object['getOwnPropertyDescriptor'],_0x43d4ce=(_0x3ae927,_0xd43520,_0x2ff21a,_0x5a5ca6)=>{const _0x4b5a6a=_0x51d908;for(var _0x1b62bd=_0x5a5ca6>0x1?void 0x0:_0x5a5ca6?_0x408d39(_0xd43520,_0x2ff21a):_0xd43520,_0x17235f=_0x3ae927[_0x4b5a6a(0x3e5)]-0x1,_0x80d9d8;_0x17235f>=0x0;_0x17235f--)(_0x80d9d8=_0x3ae927[_0x17235f])&&(_0x1b62bd=_0x80d9d8(_0x1b62bd)||_0x1b62bd);return _0x1b62bd;},_0x4a3e9b=(_0x2401df,_0x36e5ab)=>(_0x3de60a,_0x288c52)=>_0x36e5ab(_0x3de60a,_0x288c52,_0x2401df);let _0x124e21=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x191454,_0x60f656){const _0x3bf8b1=_0x51d908;super(),this[_0x3bf8b1(0x45c)]=_0x191454,this[_0x3bf8b1(0x37f)]=_0x60f656,this['_init']();}[_0x51d908(0x336)](){const _0x1d4d3c=_0x51d908,_0x588965=this;this[_0x1d4d3c(0x45a)](this[_0x1d4d3c(0x45c)]['addClipboardHook']({'onBeforePasteImage':async _0x245d36=>{const _0x4b681a=_0x1d4d3c,_0x2f759f=await _0x588965['_imageIoService'][_0x4b681a(0x486)](_0x245d36);return _0x2f759f?{'source':_0x2f759f[_0x4b681a(0x2a6)],'imageSourceType':_0x2f759f[_0x4b681a(0x3ce)]}:null;}}));}};_0x124e21=_0x43d4ce([_0x4a3e9b(0x0,_0x42f82b[_0x51d908(0x209)]),_0x4a3e9b(0x1,_0x2ac31a[_0x51d908(0x285)])],_0x124e21);const _0x4a51d0=[_0x51d908(0x43c),'jiqing.500',_0x51d908(0x495),_0x51d908(0x25d),_0x51d908(0x22c),'yellow.400'];class _0x280e8f extends _0xee8662[_0x51d908(0x4c2)]{constructor(){const _0x460afb=_0x51d908;super(...arguments),_0x3dad76(this,_0x460afb(0x324),new Map()),_0x3dad76(this,'_colorIndex',0x0);}[_0x51d908(0x3db)](_0x1aa977){const _0x321677=_0x51d908;if(this[_0x321677(0x324)][_0x321677(0x398)](_0x1aa977))return this[_0x321677(0x324)][_0x321677(0x2ea)](_0x1aa977);const _0x228992=_0x4a51d0[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x4a51d0['length'],this[_0x321677(0x324)][_0x321677(0x4c5)](_0x1aa977,_0x228992),_0x228992;}}function _0xe96057(_0x4c1d61){let _0xb17285='';for(const _0x917d5 of _0x4c1d61){const {startOffset:_0x524f70,endOffset:_0x4a389b,isActive:_0x4a0fb4,rangeType:_0xdc3cf8,segmentId:_0x217374,segmentPage:_0x4a969a}=_0x917d5;_0xb17285['length']&&(_0xb17285+=','),_0xb17285+=_0x524f70+':'+_0x4a389b+':'+(_0x4a0fb4?'1':'0')+':'+_0xdc3cf8+':'+_0x217374+':'+_0x4a969a;}return _0xb17285;}function _0x60d07a(_0x46c53c){const _0x3264fc=_0x51d908,_0x42d3b5=_0x46c53c[_0x3264fc(0x354)](','),_0x3c13dc=[];for(const _0x40a4a5 of _0x42d3b5){const [_0x20dd91,_0x7a161f,_0x7e5f33,_0x3ddb14,_0x506974,_0xa88b2b]=_0x40a4a5['split'](':');_0x3c13dc[_0x3264fc(0x29f)]({'startOffset':Number(_0x20dd91),'endOffset':Number(_0x7a161f),'collapsed':_0x20dd91===_0x7a161f,'isActive':_0x7e5f33==='1','rangeType':_0x3ddb14===_0xee8662[_0x3264fc(0x417)][_0x3264fc(0x46f)]?_0xee8662[_0x3264fc(0x417)]['TEXT']:_0xee8662['DOC_RANGE_TYPE'][_0x3264fc(0x238)],'segmentId':typeof _0x506974==_0x3264fc(0x255)?String(_0x506974):'','segmentPage':Number(_0xa88b2b!=null?_0xa88b2b:-0x1)});}return _0x3c13dc[_0x3264fc(0x32b)](_0x22e9ac=>_0x22e9ac['isActive'])||(_0x3c13dc[0x0][_0x3264fc(0x474)]=!0x0),_0x3c13dc;}class _0x3808c8 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x4f5d74=_0x51d908;super(...arguments),_0x3dad76(this,'_collabCursorState$',new _0x3b7fba['BehaviorSubject'](null)),_0x3dad76(this,'collabCursorState$',this['_collabCursorState$'][_0x4f5d74(0x428)]());}[_0x51d908(0x3e3)](_0x2e37c8){const _0x288aa7=_0x51d908,{unitID:_0x548912,memberID:_0x305baa,textRanges:_0x2f298f}=_0x2e37c8,_0x5e34c5=_0xe96057(_0x2f298f);if(_0x5e34c5==='')return;const _0x3ae71e={'unitID':_0x548912,'memberID':_0x305baa,'selection':_0x5e34c5};this['_collabCursorState$'][_0x288aa7(0x2e1)](_0x3ae71e);}}var _0x1cfbd0=Object[_0x51d908(0x34e)],_0x51a210=(_0x2284d4,_0xae39ee,_0x24b9ba,_0x5033af)=>{const _0x547f74=_0x51d908;for(var _0x2684cf=_0x5033af>0x1?void 0x0:_0x5033af?_0x1cfbd0(_0xae39ee,_0x24b9ba):_0xae39ee,_0x1764c5=_0x2284d4[_0x547f74(0x3e5)]-0x1,_0x1fec35;_0x1764c5>=0x0;_0x1764c5--)(_0x1fec35=_0x2284d4[_0x1764c5])&&(_0x2684cf=_0x1fec35(_0x2684cf)||_0x2684cf);return _0x2684cf;},_0xc73734=(_0x2a65fa,_0x4bd01a)=>(_0x869807,_0x2d5a1e)=>_0x4bd01a(_0x869807,_0x2d5a1e,_0x2a65fa);const _0x5b6e41=0x12c,_0x52b387=0x64;let _0x20ff4c=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0xd405e,_0x1b6761,_0xe3d5a8,_0x7b052a,_0x155b28,_0x2f5ee5,_0xd5c925,_0x50c252,_0x553216){const _0x788daf=_0x51d908;super(),_0x3dad76(this,'_online',!0x1),_0x3dad76(this,_0x788daf(0x336),!0x1),_0x3dad76(this,_0x788daf(0x43d),new _0x3b7fba[(_0x788daf(0x45d))](new Map())),_0x3dad76(this,_0x788daf(0x485),this['_cursorInfo$'][_0x788daf(0x428)]()),_0x3dad76(this,_0x788daf(0x2a8),new _0x3b7fba[(_0x788daf(0x45d))]([])),_0x3dad76(this,_0x788daf(0x2ac),this['_roomMembers$'][_0x788daf(0x2ba)](_0x3b7fba[_0x788daf(0x4cd)](_0x5b6e41))),_0x3dad76(this,'_updateLocalCursor',_0xee8662[_0x788daf(0x222)](_0x4301b5=>{const _0x1a6549=_0x788daf,_0x4b0e92={'eventID':_0x597660[_0x1a6549(0x331)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1a6549(0x436)],'memberID':this[_0x1a6549(0x29c)][_0x1a6549(0x23a)](),'selection':_0xe96057(_0x4301b5)}};this[_0x1a6549(0x29c)][_0x1a6549(0x320)](_0x4b0e92,this[_0x1a6549(0x436)]);},_0x52b387)),(this[_0x788daf(0x436)]=_0xd405e,this['_session']=_0x1b6761,this[_0x788daf(0x3e2)]=_0xe3d5a8,this[_0x788daf(0x3c7)]=_0x7b052a,this['_memberService']=_0x155b28,this[_0x788daf(0x230)]=_0x2f5ee5,this[_0x788daf(0x2bb)]=_0xd5c925,this['_univerInstanceService']=_0x50c252,this['_commandService']=_0x553216);}get[_0x51d908(0x463)](){const _0x5b8254=_0x51d908;return this[_0x5b8254(0x43d)]['getValue']();}get['roomMembers'](){const _0x4f90fc=_0x51d908;return this[_0x4f90fc(0x2a8)][_0x4f90fc(0x319)]();}['dispose'](){const _0x400444=_0x51d908;super['dispose'](),this[_0x400444(0x43d)][_0x400444(0x2e1)](new Map()),this[_0x400444(0x43d)]['complete'](),this[_0x400444(0x2a8)][_0x400444(0x2e1)]([]),this[_0x400444(0x2a8)][_0x400444(0x24e)]();}[_0x51d908(0x268)](){const _0x270d49=_0x51d908;this[_0x270d49(0x336)]||(this[_0x270d49(0x336)]=!0x0,this[_0x270d49(0x29c)][_0x270d49(0x39d)][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x582adc=>{const _0x48e821=_0x270d49;_0x582adc===_0x34c9b1[_0x48e821(0x1ef)][_0x48e821(0x404)]?this[_0x48e821(0x249)]():this[_0x48e821(0x309)]();}),this[_0x270d49(0x29c)]['event$'][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x5d4bdd=>{const _0x5cddeb=_0x270d49,_0x5a3d3a=_0x5d4bdd[_0x5cddeb(0x472)];_0x5a3d3a===_0x597660['CollaborationEvent'][_0x5cddeb(0x4a5)]&&this[_0x5cddeb(0x4c3)](_0x5d4bdd),_0x5a3d3a===_0x597660[_0x5cddeb(0x331)]['USERS_LEAVE']&&this[_0x5cddeb(0x422)](_0x5d4bdd);}),this['disposeWithMe'](this['_commandService'][_0x270d49(0x4c8)](_0x183960=>{const _0x16a0ea=_0x270d49,_0x5ef113=_0x183960[_0x16a0ea(0x41e)];_0x5ef113!=null&&this[_0x16a0ea(0x431)]&&_0x183960['id']===_0xf806a0[_0x16a0ea(0x357)]['id']&&_0x5ef113[_0x16a0ea(0x27a)]===this[_0x16a0ea(0x436)]&&_0x5ef113['isEditing']===!0x1&&_0x5ef113[_0x16a0ea(0x48d)][_0x16a0ea(0x3e5)]>0x0&&this[_0x16a0ea(0x2fd)](_0x5ef113[_0x16a0ea(0x48d)]);})),this[_0x270d49(0x230)]['collabCursorState$'][_0x270d49(0x2ba)](_0x3b7fba['takeUntil'](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0xd7e830=>{const _0x22e8cf=_0x270d49;if((_0xd7e830==null?void 0x0:_0xd7e830[_0x22e8cf(0x436)])!==this[_0x22e8cf(0x436)])return;const _0xe53483={'eventID':_0x597660[_0x22e8cf(0x331)][_0x22e8cf(0x4a5)],'data':_0xd7e830};this[_0x22e8cf(0x4c3)](_0xe53483);}),this[_0x270d49(0x45a)](this[_0x270d49(0x4b6)][_0x270d49(0x4c8)](_0x1d5972=>{const _0x16c5f4=_0x270d49;if(_0x1d5972['params']==null)return;const _0x52fecd=_0x1d5972[_0x16c5f4(0x41e)];if(_0x1d5972['id']!==_0xf806a0[_0x16c5f4(0x416)]['id']||_0x52fecd[_0x16c5f4(0x27a)]!==this[_0x16c5f4(0x436)])return;const _0x1294f4={'id':_0x16c5f4(0x333),'params':_0x52fecd},_0x5508f3=this[_0x16c5f4(0x463)];for(const [_0x722ad8,_0x4190b8]of _0x5508f3){const _0x3b1468={'id':_0x16c5f4(0x333),'params':{'unitId':this[_0x16c5f4(0x436)],'actions':null,'textRanges':_0x4190b8[_0x16c5f4(0x48d)]}},_0x23a22a=this[_0x16c5f4(0x2bb)][_0x16c5f4(0x311)](_0x1294f4,_0x3b1468,!0x1);if(_0x597660[_0x16c5f4(0x338)](_0x23a22a))throw _0x23a22a[_0x16c5f4(0x1f8)];_0x5508f3['set'](_0x722ad8,{..._0x4190b8,'ranges':_0x23a22a[_0x16c5f4(0x41d)][_0x16c5f4(0x41e)][_0x16c5f4(0x3cd)]});}queueMicrotask(()=>{const _0x2483a8=_0x16c5f4;this[_0x2483a8(0x43d)][_0x2483a8(0x2e1)](_0x5508f3);});})));}['_onCursorUpdate'](_0x479f42){const _0x20b6c6=_0x51d908;var _0x1560b0,_0x40377c;const {memberID:_0x1061b1,selection:_0x139711}=_0x479f42[_0x20b6c6(0x3f0)],_0x5474aa=_0x60d07a(_0x139711),_0x2f6cac=(_0x40377c=(_0x1560b0=this[_0x20b6c6(0x4d0)]['getMember'](this[_0x20b6c6(0x436)],_0x1061b1))==null?void 0x0:_0x1560b0[_0x20b6c6(0x2c7)])!=null?_0x40377c:'Unknown\x20user',_0x59ad0f={'color':this[_0x20b6c6(0x3c7)][_0x20b6c6(0x3db)](_0x1061b1),'name':_0x2f6cac,'ranges':_0x5474aa},_0x320cad=this[_0x20b6c6(0x463)];_0x320cad[_0x20b6c6(0x4c5)](_0x1061b1,_0x59ad0f),this[_0x20b6c6(0x43d)][_0x20b6c6(0x2e1)](_0x320cad);}[_0x51d908(0x422)](_0x579c5d){const _0x41121d=_0x51d908,{memberID:_0x4316b8}=_0x579c5d['data'],_0xbe5bfd=this['cursorInfo'];_0xbe5bfd['delete'](_0x4316b8),this[_0x41121d(0x43d)][_0x41121d(0x2e1)](_0xbe5bfd);}[_0x51d908(0x249)](){const _0xa70958=_0x51d908;var _0x1d96c7;if(this[_0xa70958(0x431)]=!0x0,((_0x1d96c7=this['_univerInstanceService'][_0xa70958(0x247)]())==null?void 0x0:_0x1d96c7[_0xa70958(0x3d9)]())!==this[_0xa70958(0x436)])return;const _0x55f7e7=this['_injector'][_0xa70958(0x2ea)](_0xf806a0['DocSelectionManagerService'])['getDocRanges']();Array[_0xa70958(0x1ee)](_0x55f7e7)&&_0x55f7e7[_0xa70958(0x3e5)]>0x0&&this[_0xa70958(0x2fd)](_0x55f7e7);}[_0x51d908(0x309)](){const _0x1e5b3c=_0x51d908;this[_0x1e5b3c(0x431)]=!0x1;}};_0x20ff4c=_0x51a210([_0xc73734(0x2,_0xee8662['Inject'](_0xee8662['Injector'])),_0xc73734(0x3,_0xee8662['Inject'](_0x280e8f)),_0xc73734(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1['MemberService'])),_0xc73734(0x5,_0xee8662['Inject'](_0x3808c8)),_0xc73734(0x6,_0x597660[_0x51d908(0x2ed)]),_0xc73734(0x7,_0xee8662[_0x51d908(0x3b1)]),_0xc73734(0x8,_0xee8662[_0x51d908(0x2a9)])],_0x20ff4c);var _0x143b3a=Object['getOwnPropertyDescriptor'],_0x4e8511=(_0x266a6e,_0x1be96b,_0x349241,_0x55ba8e)=>{const _0x1f5876=_0x51d908;for(var _0x4be22b=_0x55ba8e>0x1?void 0x0:_0x55ba8e?_0x143b3a(_0x1be96b,_0x349241):_0x1be96b,_0x19cbfd=_0x266a6e[_0x1f5876(0x3e5)]-0x1,_0x267ea3;_0x19cbfd>=0x0;_0x19cbfd--)(_0x267ea3=_0x266a6e[_0x19cbfd])&&(_0x4be22b=_0x267ea3(_0x4be22b)||_0x4be22b);return _0x4be22b;},_0x21faeb=(_0x2f21f1,_0x5acc24)=>(_0x14982c,_0x66d213)=>_0x5acc24(_0x14982c,_0x66d213,_0x2f21f1);const _0x3931d9=0x12c,_0x3024e4=0x64,_0x21b005=()=>{let _0x890c8=[],_0x236882=!0x1;return _0x3132b1=>{const _0x5ade21=_0x2c0f;_0x890c8[_0x5ade21(0x29f)](_0x3132b1),_0x236882||(_0x236882=!0x0,setTimeout(()=>{const _0x1a2de0=_0x5ade21;_0x890c8[_0x1a2de0(0x204)](_0x302c0b=>_0x302c0b()),_0x890c8=[],_0x236882=!0x1;}));};};let _0x2216dc=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x201aa6,_0x2f4cd9,_0x561f5d,_0x38b339,_0xf78053,_0x24646c,_0x207a7d,_0x1537c0){const _0x4f939e=_0x51d908;super(),_0x3dad76(this,_0x4f939e(0x431),!0x1),_0x3dad76(this,'_init',!0x1),_0x3dad76(this,_0x4f939e(0x43d),new _0x3b7fba[(_0x4f939e(0x45d))](new Map())),_0x3dad76(this,_0x4f939e(0x485),this[_0x4f939e(0x43d)]['asObservable']()),_0x3dad76(this,_0x4f939e(0x2a8),new _0x3b7fba['BehaviorSubject']([])),_0x3dad76(this,_0x4f939e(0x2ac),this[_0x4f939e(0x2a8)][_0x4f939e(0x2ba)](_0x3b7fba[_0x4f939e(0x4cd)](_0x3931d9))),_0x3dad76(this,_0x4f939e(0x2fd),_0xee8662['debounce']((_0x19d75e,_0x43645f)=>{const _0x3a1c08=_0x4f939e,_0x218464={'eventID':_0x597660['CollaborationEvent'][_0x3a1c08(0x4a5)],'data':{'unitID':this[_0x3a1c08(0x436)],'memberID':this[_0x3a1c08(0x29c)][_0x3a1c08(0x23a)](),'selection':_0x150340[_0x3a1c08(0x302)](_0x19d75e,_0x43645f[_0x3a1c08(0x24b)])}};this['_session'][_0x3a1c08(0x320)](_0x218464,this[_0x3a1c08(0x436)]);},_0x3024e4)),(this[_0x4f939e(0x436)]=_0x201aa6,this[_0x4f939e(0x29c)]=_0x2f4cd9,this[_0x4f939e(0x3e2)]=_0x561f5d,this[_0x4f939e(0x3c7)]=_0x38b339,this[_0x4f939e(0x4d0)]=_0xf78053,this[_0x4f939e(0x4c6)]=_0x24646c,this[_0x4f939e(0x4b6)]=_0x207a7d,this[_0x4f939e(0x2a1)]=_0x1537c0);}get[_0x51d908(0x463)](){const _0x2d498b=_0x51d908;return this[_0x2d498b(0x43d)]['getValue']();}get['roomMembers'](){const _0xea77a5=_0x51d908;return this[_0xea77a5(0x2a8)][_0xea77a5(0x319)]();}[_0x51d908(0x32d)](){const _0x4ad982=_0x51d908;super[_0x4ad982(0x32d)](),this[_0x4ad982(0x43d)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x4ad982(0x2a8)][_0x4ad982(0x24e)]();}[_0x51d908(0x268)](){const _0x1ec847=_0x51d908;this[_0x1ec847(0x336)]||(this[_0x1ec847(0x336)]=!0x0,this[_0x1ec847(0x29c)][_0x1ec847(0x39d)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x553d72=>{const _0x59e287=_0x1ec847;_0x553d72===_0x34c9b1[_0x59e287(0x1ef)]['ONLINE']?this[_0x59e287(0x249)]():this[_0x59e287(0x309)]();}),this[_0x1ec847(0x29c)][_0x1ec847(0x345)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x498b52=>{const _0x27f139=_0x1ec847,_0xa4ac51=_0x498b52[_0x27f139(0x472)];_0xa4ac51===_0x597660[_0x27f139(0x331)]['UPDATE_CURSOR']&&this[_0x27f139(0x4c3)](_0x498b52),_0xa4ac51===_0x597660['CollaborationEvent'][_0x27f139(0x3b9)]&&this['_onCursorDelete'](_0x498b52);}),this['_onRefRangeChange'](),this[_0x1ec847(0x45a)](this['_commandService'][_0x1ec847(0x4c8)](_0x321f12=>{const _0x317b66=_0x1ec847;if(this[_0x317b66(0x431)]&&_0x321f12['id']===_0x3dd5c8[_0x317b66(0x491)]['id']&&_0x321f12[_0x317b66(0x41e)][_0x317b66(0x27a)]===this[_0x317b66(0x436)]){const _0x3e6621=_0x321f12[_0x317b66(0x41e)];this[_0x317b66(0x2fd)](_0x3e6621['subUnitId'],_0x3e6621[_0x317b66(0x290)][0x0]);}})));}[_0x51d908(0x4c3)](_0x6223d7){const _0x45be00=_0x51d908;var _0x375b6c,_0x3d573a;const {memberID:_0x42aa5e,selection:_0x3d0725}=_0x6223d7[_0x45be00(0x3f0)],{sheetName:_0x36949c,range:_0x1d796a}=_0x150340[_0x45be00(0x313)](_0x3d0725),_0x29bbb7={'name':(_0x3d573a=(_0x375b6c=this[_0x45be00(0x4d0)][_0x45be00(0x214)](this[_0x45be00(0x436)],_0x42aa5e))==null?void 0x0:_0x375b6c[_0x45be00(0x2c7)])!=null?_0x3d573a:'Unknown\x20user','range':this[_0x45be00(0x35f)](_0x36949c,_0x1d796a),'sheetID':_0x36949c,'color':this[_0x45be00(0x3c7)][_0x45be00(0x3db)](_0x42aa5e),'selection':_0x3d0725},_0x2a645b=this[_0x45be00(0x463)];_0x2a645b[_0x45be00(0x4c5)](_0x42aa5e,_0x29bbb7),this[_0x45be00(0x43d)][_0x45be00(0x2e1)](_0x2a645b);}['_onCursorDelete'](_0x2244e5){const _0x48996e=_0x51d908,{memberID:_0x90e38f}=_0x2244e5[_0x48996e(0x3f0)],_0x28c764=this[_0x48996e(0x463)];_0x28c764[_0x48996e(0x3fe)](_0x90e38f),this[_0x48996e(0x43d)][_0x48996e(0x2e1)](_0x28c764);}['_getMergeRange'](_0x2ff337,_0x2da7e2){const _0x3eeb8f=_0x51d908;var _0x3b0918,_0x96acf8;const _0x4844fc=(_0x96acf8=(_0x3b0918=this[_0x3eeb8f(0x4c6)][_0x3eeb8f(0x205)](this[_0x3eeb8f(0x436)]))==null?void 0x0:_0x3b0918['getSheetBySheetId'](_0x2ff337))==null?void 0x0:_0x96acf8[_0x3eeb8f(0x376)]();return(_0x4844fc==null?void 0x0:_0x4844fc[_0x3eeb8f(0x33c)](_0x56804f=>_0xee8662[_0x3eeb8f(0x494)][_0x3eeb8f(0x239)](_0x56804f,_0x2da7e2)))||_0x2da7e2;}[_0x51d908(0x31f)](){const _0x16bc5e=_0x51d908,_0x367078=new _0xee8662['DisposableCollection'](),_0x1df0df=_0x21b005(),_0x5965df=()=>{const _0x5cb64a=_0x2c0f;_0x367078[_0x5cb64a(0x32d)]();const _0x50ff5b=(_0x40789f,_0x25d7c2,_0x431b3b,_0x43b228)=>{const _0x43d28c=_0x5cb64a;let _0x211a2d=[];switch(_0x40789f['id']){case _0x3dd5c8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x2b9)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['DeleteRangeMoveUpCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x34b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId']['InsertColCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x237)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x2df)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x42b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x4b4)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x4a1)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['InsertRowCommandId']:{_0x211a2d=_0x3dd5c8['handleInsertRow'](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x493)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x233)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x3e7)]:{_0x211a2d=_0x3dd5c8['handleIRemoveCol'](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x295)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x40a)](_0x40789f,_0x43b228);break;}}const _0x18a73c=_0x3dd5c8[_0x43d28c(0x34c)](_0x211a2d,_0x43b228),_0x1cc925=this[_0x43d28c(0x463)][_0x43d28c(0x2ea)](_0x25d7c2);if(_0x1cc925&&_0x18a73c){const _0x3a4ad8={..._0x1cc925,'range':_0x18a73c};this[_0x43d28c(0x463)][_0x43d28c(0x4c5)](_0x25d7c2,_0x3a4ad8),_0x1df0df(()=>{const _0x3f0e3d=_0x43d28c,_0x257d8d=this[_0x3f0e3d(0x2a1)][_0x3f0e3d(0x248)](_0x18a73c,_0x3d80ef=>(_0x257d8d['dispose'](),_0x50ff5b(_0x3d80ef,_0x25d7c2,_0x431b3b,_0x18a73c)));_0x367078['add'](_0x257d8d);});}return{'redos':[],'undos':[]};};this[_0x5cb64a(0x463)][_0x5cb64a(0x204)]((_0x393b49,_0x557383)=>{const _0x432aae=_0x5cb64a,{range:_0x17df1d,sheetID:_0x28a7ef}=_0x393b49,_0x204d32=this[_0x432aae(0x2a1)][_0x432aae(0x248)](_0x17df1d,_0x295ea8=>(_0x204d32[_0x432aae(0x32d)](),_0x50ff5b(_0x295ea8,_0x557383,_0x28a7ef,_0x17df1d)));_0x367078[_0x432aae(0x3b7)](_0x204d32);});};this[_0x16bc5e(0x45a)](_0xee8662[_0x16bc5e(0x211)](this[_0x16bc5e(0x43d)][_0x16bc5e(0x329)](()=>{_0x5965df();})));}[_0x51d908(0x249)](){const _0x787681=_0x51d908;var _0x7cbd19,_0x4c4788;if(this[_0x787681(0x431)]=!0x0,((_0x7cbd19=this[_0x787681(0x4c6)][_0x787681(0x247)]())==null?void 0x0:_0x7cbd19['getUnitId']())!==this['unitID'])return;const _0x2c5e8f=(_0x4c4788=this['_injector'][_0x787681(0x2ea)](_0x3dd5c8['SheetsSelectionsService'])[_0x787681(0x3bd)]())==null?void 0x0:_0x4c4788[0x0],_0x11f737=this[_0x787681(0x4c6)]['getCurrentUnitForType'](_0xee8662[_0x787681(0x47c)][_0x787681(0x1eb)])[_0x787681(0x23c)]();_0x2c5e8f&&_0x11f737&&this[_0x787681(0x2fd)](_0x11f737['getSheetId'](),_0x2c5e8f);}['_toggleOffline'](){const _0x419c8d=_0x51d908;this[_0x419c8d(0x431)]=!0x1;}};_0x2216dc=_0x4e8511([_0x21faeb(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21faeb(0x3,_0xee8662[_0x51d908(0x35b)](_0x280e8f)),_0x21faeb(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x2d9)])),_0x21faeb(0x5,_0xee8662[_0x51d908(0x3b1)]),_0x21faeb(0x6,_0xee8662[_0x51d908(0x2a9)]),_0x21faeb(0x7,_0xee8662[_0x51d908(0x35b)](_0x3dd5c8['RefRangeService']))],_0x2216dc);var _0x5dc663=Object['getOwnPropertyDescriptor'],_0x2e3cc7=(_0x210bb8,_0x160fad,_0x3e74ba,_0x478a85)=>{const _0x5d060c=_0x51d908;for(var _0x1cbfaa=_0x478a85>0x1?void 0x0:_0x478a85?_0x5dc663(_0x160fad,_0x3e74ba):_0x160fad,_0x204cb2=_0x210bb8[_0x5d060c(0x3e5)]-0x1,_0x2b80ed;_0x204cb2>=0x0;_0x204cb2--)(_0x2b80ed=_0x210bb8[_0x204cb2])&&(_0x1cbfaa=_0x2b80ed(_0x1cbfaa)||_0x1cbfaa);return _0x1cbfaa;},_0x21d541=(_0x55d411,_0x16858b)=>(_0x5184ac,_0x2f18a5)=>_0x16858b(_0x5184ac,_0x2f18a5,_0x55d411);let _0x16e293=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x3eca71,_0x397019,_0x28949e){const _0x153fd3=_0x51d908;super(),_0x3dad76(this,_0x153fd3(0x455),new Map()),_0x3dad76(this,'_entityInit$',new _0x3b7fba[(_0x153fd3(0x498))]()),(this['_univerInstanceService']=_0x3eca71,this['_injector']=_0x397019,this['_collabSessionService']=_0x28949e,this[_0x153fd3(0x336)]());}[_0x51d908(0x32d)](){const _0x28464b=_0x51d908;super[_0x28464b(0x32d)](),this[_0x28464b(0x366)]['complete'](),this[_0x28464b(0x455)][_0x28464b(0x204)](_0x486692=>_0x486692[_0x28464b(0x32d)]());}[_0x51d908(0x420)](_0x9d01b){const _0x3639dc=_0x51d908;return this['_entities'][_0x3639dc(0x398)](_0x9d01b)?this[_0x3639dc(0x455)][_0x3639dc(0x2ea)](_0x9d01b)[_0x3639dc(0x485)]:this[_0x3639dc(0x366)][_0x3639dc(0x2ba)](_0x3b7fba[_0x3639dc(0x202)](_0x123d76=>_0x123d76[_0x3639dc(0x436)]===_0x9d01b),_0x3b7fba[_0x3639dc(0x40f)](_0x192660=>_0x192660[_0x3639dc(0x485)]));}[_0x51d908(0x336)](){const _0x2ee84d=_0x51d908;this[_0x2ee84d(0x4c6)][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)])[_0x2ee84d(0x2ba)](_0x3b7fba[_0x2ee84d(0x2a7)](this[_0x2ee84d(0x3b5)]))['subscribe'](async _0x13148a=>{const _0x38470c=_0x2ee84d,_0x43c165=_0x13148a[_0x38470c(0x3d9)](),_0x13d225=await this[_0x38470c(0x27b)](_0x43c165);this['_entityInit$']['next'](_0x13d225),this[_0x38470c(0x455)][_0x38470c(0x4c5)](_0x43c165,_0x13d225);}),this['_univerInstanceService'][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)])['pipe'](_0x3b7fba[_0x2ee84d(0x2a7)](this['dispose$']))[_0x2ee84d(0x2ba)](_0x3b7fba['filter'](_0x2e1d4c=>!_0x2e1d4c[_0x2ee84d(0x3d9)]()['startsWith']('__')))[_0x2ee84d(0x329)](async _0x26a2a9=>{const _0x361363=_0x2ee84d,_0x5121a1=_0x26a2a9[_0x361363(0x3d9)](),_0x28c3f9=await this[_0x361363(0x318)](_0x5121a1);this[_0x361363(0x366)][_0x361363(0x2e1)](_0x28c3f9),this[_0x361363(0x455)][_0x361363(0x4c5)](_0x5121a1,_0x28c3f9);}),_0x3b7fba[_0x2ee84d(0x378)](this['_univerInstanceService'][_0x2ee84d(0x213)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)]),this[_0x2ee84d(0x4c6)]['getTypeOfUnitDisposed$'](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)]))[_0x2ee84d(0x2ba)](_0x3b7fba['takeUntil'](this['dispose$']))[_0x2ee84d(0x329)](_0x23b142=>{const _0x4669e2=_0x2ee84d,_0x26c9bf=_0x23b142[_0x4669e2(0x3d9)](),_0x473e30=this[_0x4669e2(0x455)][_0x4669e2(0x2ea)](_0x26c9bf);_0x473e30&&(_0x473e30['dispose'](),this[_0x4669e2(0x455)][_0x4669e2(0x3fe)](_0x26c9bf));});}async[_0x51d908(0x27b)](_0x36af25){const _0x326689=_0x51d908,_0x1b1fbc=await this[_0x326689(0x328)][_0x326689(0x2a4)](_0x36af25),_0x17918f=this[_0x326689(0x3e2)]['createInstance'](_0x2216dc,_0x36af25,_0x1b1fbc);return _0x17918f[_0x326689(0x268)](),_0x17918f;}async[_0x51d908(0x318)](_0x5874b5){const _0x158448=_0x51d908,_0x48960d=await this[_0x158448(0x328)]['requireSession'](_0x5874b5),_0x5c4380=this[_0x158448(0x3e2)][_0x158448(0x21b)](_0x20ff4c,_0x5874b5,_0x48960d);return _0x5c4380[_0x158448(0x268)](),_0x5c4380;}};_0x16e293=_0x2e3cc7([_0x21d541(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x21d541(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21d541(0x2,_0xee8662['Inject'](_0x34c9b1['CollaborationSessionService']))],_0x16e293);const _0x3dbef6=0x14,_0x16ae9a=0xc8,_0x1dc4a9=0x4,_0x2ae551=0x5;function _0x539c83(_0x54a6f4,_0x1ef7b6){const _0x2cfadc=_0x51d908;let {radius:_0xb5db2d,width:_0x2a1d16,height:_0x33c2db}=_0x1ef7b6;_0xb5db2d=_0xb5db2d!=null?_0xb5db2d:0x0,_0x2a1d16=_0x2a1d16!=null?_0x2a1d16:0x1e,_0x33c2db=_0x33c2db!=null?_0x33c2db:0x1e;let _0x500941=0x0,_0x55cc91=0x0,_0x540b85=0x0;_0x500941=_0x55cc91=_0x540b85=Math[_0x2cfadc(0x2ae)](_0xb5db2d,_0x2a1d16/0x2,_0x33c2db/0x2),_0x54a6f4[_0x2cfadc(0x389)](),_0x54a6f4[_0x2cfadc(0x453)](_0x500941,0x0),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16-_0x55cc91,0x0),_0x54a6f4[_0x2cfadc(0x1e6)](_0x2a1d16-_0x55cc91,_0x55cc91,_0x55cc91,Math['PI']*0x3/0x2,0x0,!0x1),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16,_0x33c2db-_0x540b85),_0x54a6f4['arc'](_0x2a1d16-_0x540b85,_0x33c2db-_0x540b85,_0x540b85,0x0,Math['PI']/0x2,!0x1),_0x54a6f4['lineTo'](0x0,_0x33c2db),_0x54a6f4[_0x2cfadc(0x293)](0x0,_0x500941),_0x54a6f4[_0x2cfadc(0x1e6)](_0x500941,_0x500941,_0x500941,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54a6f4[_0x2cfadc(0x300)](),_0x1ef7b6[_0x2cfadc(0x405)]&&(_0x54a6f4[_0x2cfadc(0x443)](),_0x54a6f4['fillStyle']=_0x1ef7b6[_0x2cfadc(0x405)],_0x1ef7b6[_0x2cfadc(0x384)]===_0x2cfadc(0x478)?_0x54a6f4[_0x2cfadc(0x405)](_0x2cfadc(0x478)):_0x54a6f4[_0x2cfadc(0x405)](),_0x54a6f4[_0x2cfadc(0x2ce)]());}class _0x466339 extends _0x358391[_0x51d908(0x243)]{constructor(_0x3ddb5a,_0x10cc74){const _0x10d021=_0x51d908;super(_0x3ddb5a,_0x10cc74),_0x3dad76(this,_0x10d021(0x3c8)),_0x3dad76(this,'text'),(this[_0x10d021(0x3c8)]=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3c8)],this['text']=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3ec)]);}static[_0x51d908(0x3fa)](_0x4e2421,_0x3026c9){const _0x518e86=_0x51d908,{text:_0x3f615f,color:_0x47e744}=_0x3026c9;_0x4e2421['save'](),_0x4e2421[_0x518e86(0x291)]=_0x518e86(0x33f);const _0x2813c1=_0x4e2421[_0x518e86(0x483)](_0x3f615f)[_0x518e86(0x3ff)],_0x516149=Math[_0x518e86(0x2ae)](_0x2813c1+0x2*_0x1dc4a9,_0x16ae9a);_0x539c83(_0x4e2421,{'height':_0x3dbef6,'radius':0x4,'width':_0x516149,'fill':_0x47e744}),_0x4e2421[_0x518e86(0x348)]=_0x518e86(0x4c7);const _0x563ede=_0x1dc4a9,_0x3630e6=_0x3dbef6-_0x2ae551,_0x46b1ff=_0x16ae9a-0x2*_0x1dc4a9;if(_0x2813c1>_0x46b1ff){let _0x447d6c='',_0x35ff69=0x0;for(const _0x199ff1 of _0x3f615f){const _0x57a751=_0x4e2421[_0x518e86(0x483)](_0x199ff1)[_0x518e86(0x3ff)];if(_0x35ff69+_0x57a751<=_0x46b1ff-_0x4e2421[_0x518e86(0x483)](_0x518e86(0x42e))['width'])_0x447d6c+=_0x199ff1,_0x35ff69+=_0x57a751;else{_0x447d6c+=_0x518e86(0x42e);break;}}_0x4e2421[_0x518e86(0x23d)](_0x447d6c,_0x563ede,_0x3630e6);}else _0x4e2421['fillText'](_0x3f615f,_0x563ede,_0x3630e6);_0x4e2421[_0x518e86(0x2ce)]();}[_0x51d908(0x368)](_0x4b3302){_0x466339['drawWith'](_0x4b3302,this);}}const _0x1b4c82=_0x51d908(0x4a7),_0x27b099=_0x51d908(0x3fc),_0x350465=_0x51d908(0x1ea),_0x1b8c2d=0x6,_0xeef53b=1.5,_0x515aba=0x4,_0x1e2581=1.5,_0x2259dc=_0x51d908(0x490);class _0x43cb6d{constructor(_0x596f19,_0x3b2d95,_0x5647ca,_0x28997f){const _0x285b8c=_0x51d908;_0x3dad76(this,_0x285b8c(0x2d2),[]),_0x3dad76(this,_0x285b8c(0x1f3),null),_0x3dad76(this,_0x285b8c(0x3a3),null),_0x3dad76(this,'_anchorDot',null),_0x3dad76(this,_0x285b8c(0x2e4),null),_0x3dad76(this,'_eventUnsubscribe',null),(this[_0x285b8c(0x30d)]=_0x596f19,this[_0x285b8c(0x38f)]=_0x3b2d95,this[_0x285b8c(0x2af)]=_0x5647ca,this[_0x285b8c(0x387)]=_0x28997f,this['_render']());}set['_hover'](_0x4cb16a){const _0x23a64c=_0x51d908;_0x4cb16a?(this[_0x23a64c(0x4bc)]&&this['_anchorDot']['hide'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)][_0x23a64c(0x458)]()):(this['_anchorDot']&&this[_0x23a64c(0x4bc)]['show'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)]['hide']());}[_0x51d908(0x32d)](){const _0xa5e2ac=_0x51d908;for(const _0x169fc7 of this[_0xa5e2ac(0x2d2)])_0x169fc7[_0xa5e2ac(0x32d)]();this[_0xa5e2ac(0x3a3)]&&this[_0xa5e2ac(0x3a3)]['dispose'](),this[_0xa5e2ac(0x4bc)]&&this[_0xa5e2ac(0x4bc)][_0xa5e2ac(0x32d)](),this[_0xa5e2ac(0x1f3)]&&this[_0xa5e2ac(0x1f3)][_0xa5e2ac(0x32d)](),this['_eventUnsubscribe']&&this[_0xa5e2ac(0x497)]();}[_0x51d908(0x4d1)](){const _0x139a7f=_0x51d908;var _0x11bd5d;const {_docSkeleton:_0x5537a6,_document:_0xba29aa}=this,{color:_0x5cc912,name:_0x13bdfd,ranges:_0xbd675}=this[_0x139a7f(0x30d)],_0x562049=_0xba29aa[_0x139a7f(0x250)](),{docsLeft:_0x66bae,docsTop:_0xcdc7e1}=_0x562049,_0x339c79=new _0x42f82b[(_0x139a7f(0x1f0))](_0x562049,_0x5537a6);for(const {startOffset:_0x2cd99c,endOffset:_0x359bb3,rangeType:_0x24ad23,segmentId:_0x5e7bc0,segmentPage:_0x889d2e,collapsed:_0x5b5bd7,isActive:_0x2de753}of _0xbd675){const _0x3a8e69=_0x5537a6[_0x139a7f(0x473)](_0x2cd99c,!0x0,_0x5e7bc0,_0x889d2e);let _0x40ef31=_0x5537a6['findNodePositionByCharIndex'](_0x359bb3,!0x0,_0x5e7bc0,_0x889d2e);if(_0x40ef31==null&&(_0x40ef31=_0x5537a6[_0x139a7f(0x473)](_0x359bb3-0x1,!0x1,_0x5e7bc0,_0x889d2e)),_0x2de753){const {contentBoxPointGroup:_0x33944b}=_0x339c79[_0x139a7f(0x2a2)](_0x40ef31,_0x40ef31);if(_0x33944b[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x252)](_0x5cc912,_0x33944b,_0x66bae,_0xcdc7e1,_0x13bdfd),this[_0x139a7f(0x497)]=this[_0x139a7f(0x4a3)]();}if(_0x3a8e69&&_0x40ef31){if(_0x24ad23===_0xee8662['DOC_RANGE_TYPE'][_0x139a7f(0x238)]){const _0x2cf031=new _0x42f82b['NodePositionConvertToRectRange'](_0x562049,_0x5537a6),{pointGroup:_0x2f1e27}=(_0x11bd5d=_0x2cf031[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31))!=null?_0x11bd5d:{};if(_0x2f1e27==null||_0x2f1e27[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x402)](_0x5cc912,_0x2f1e27,_0x66bae,_0xcdc7e1);}else{if(!_0x5b5bd7){const {borderBoxPointGroup:_0x2dd81c}=_0x339c79[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31);if(_0x2dd81c[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x353)](_0x5cc912,_0x2dd81c,_0x66bae,_0xcdc7e1);}}}}}['_drawAnchor'](_0x326d1f,_0x4e9580,_0x76b203,_0x1e075b,_0x12327f){const _0x48f09b=_0x51d908,_0x50671d=this[_0x48f09b(0x274)](_0x4e9580),{left:_0x46ee35,top:_0x97ed2a,height:_0x58bb2a}=_0x50671d,_0x200e40=this[_0x48f09b(0x1f7)](),_0x5ad0f2=_0x1e2581/_0x200e40,_0x312767=new _0x358391[(_0x48f09b(0x460))](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b,'height':_0x58bb2a,'width':_0xeef53b,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662[_0x48f09b(0x476)][_0x48f09b(0x208)],0x0),'strokeWidth':_0x5ad0f2,'stroke':_0x2259dc,'evented':!0x0});this[_0x48f09b(0x1f3)]=_0x312767,this[_0x48f09b(0x38f)]['addObject'](_0x312767,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);const _0x47e596=new _0x358391['Rect'](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x515aba/0x2,'height':_0x515aba,'width':_0x515aba,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS'][_0x48f09b(0x208)],0x0),'evented':!0x1});this[_0x48f09b(0x4bc)]=_0x47e596,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x47e596,_0x42f82b[_0x48f09b(0x41a)]);const _0x491a5b=new _0x466339(_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x3dbef6,'text':_0x12327f,'color':_0x326d1f});this[_0x48f09b(0x3a3)]=_0x491a5b,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x491a5b,_0x42f82b[_0x48f09b(0x41a)]),this[_0x48f09b(0x362)]=!0x1;}[_0x51d908(0x4a3)](){const _0x27c291=_0x51d908,_0x1e2ef1=this[_0x27c291(0x1f3)][_0x27c291(0x278)][_0x27c291(0x296)](()=>{const _0x1fd628=_0x27c291;this[_0x1fd628(0x362)]=!0x0;}),_0x1bb858=this[_0x27c291(0x1f3)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4837f7=_0x27c291;this['_hideTimer']&&clearTimeout(this[_0x4837f7(0x2e4)]),this[_0x4837f7(0x2e4)]=setTimeout(()=>{const _0x47de25=_0x4837f7;this[_0x47de25(0x362)]=!0x1;},0x7d0);});return()=>{const _0x986435=_0x27c291;_0x1e2ef1['unsubscribe'](),_0x1bb858[_0x986435(0x21f)]();};}[_0x51d908(0x353)](_0x3770b5,_0x16ebfc,_0x3b4307,_0x4e4aa4){const _0x4cb19d=_0x51d908,_0x27296a=new _0xee8662['ColorKit'](_0x3770b5)[_0x4cb19d(0x3f9)](0.2)['toRgbString'](),_0x35b04b=new _0x358391[(_0x4cb19d(0x406))](_0x27b099+_0xee8662['generateRandomId'](_0x1b8c2d),{'pointsGroup':_0x16ebfc,'fill':_0x27296a||_0x358391['getColor'](_0xee8662['COLORS'][_0x4cb19d(0x208)],0.2),'left':_0x3b4307,'top':_0x4e4aa4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cb19d(0x2d2)][_0x4cb19d(0x29f)](_0x35b04b),this[_0x4cb19d(0x38f)][_0x4cb19d(0x372)](_0x35b04b,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x402)](_0xc83e6,_0x134010,_0xd7ee59,_0x36a830){const _0xc40872=_0x51d908,_0x5cddfa=new _0xee8662['ColorKit'](_0xc83e6)['setAlpha'](0.2)[_0xc40872(0x235)](),_0x5e5667=new _0x358391['RegularPolygon'](_0x350465+_0xee8662[_0xc40872(0x4bf)](_0x1b8c2d),{'pointsGroup':_0x134010,'fill':_0x5cddfa||_0x358391['getColor'](_0xee8662[_0xc40872(0x476)][_0xc40872(0x208)],0.2),'left':_0xd7ee59,'top':_0x36a830,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc40872(0x2d2)][_0xc40872(0x29f)](_0x5e5667),this['_scene']['addObject'](_0x5e5667,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x274)](_0x49a817){const _0x38ccb0=_0x49a817[0x0],_0xd54a73=_0x38ccb0[0x0],_0x2d5712=_0x38ccb0[0x2],{x:_0x41d15d,y:_0x2eacf4}=_0xd54a73,{x:_0xf8ad0,y:_0x58c038}=_0x2d5712;return{'left':_0x41d15d,'top':_0x2eacf4,'width':_0xf8ad0-_0x41d15d,'height':_0x58c038-_0x2eacf4};}[_0x51d908(0x1f7)](){const _0x4fc14b=_0x51d908,{scaleX:_0x16a9e6,scaleY:_0x55e9bf}=this[_0x4fc14b(0x38f)][_0x4fc14b(0x2c1)]();return Math['max'](_0x16a9e6,_0x55e9bf);}}var _0x46765f=Object[_0x51d908(0x34e)],_0x4beb14=(_0x36acdc,_0x70b110,_0x471f8f,_0x1cef71)=>{const _0x510bb5=_0x51d908;for(var _0x1fd55e=_0x1cef71>0x1?void 0x0:_0x1cef71?_0x46765f(_0x70b110,_0x471f8f):_0x70b110,_0x115bf3=_0x36acdc[_0x510bb5(0x3e5)]-0x1,_0xacff7e;_0x115bf3>=0x0;_0x115bf3--)(_0xacff7e=_0x36acdc[_0x115bf3])&&(_0x1fd55e=_0xacff7e(_0x1fd55e)||_0x1fd55e);return _0x1fd55e;},_0x144519=(_0xc8cfc3,_0x4b5a11)=>(_0x2315cf,_0x35fb98)=>_0x4b5a11(_0x2315cf,_0x35fb98,_0xc8cfc3);let _0x3a6e42=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x5bc754,_0x2b612e,_0x4fd5b8,_0x171a77,_0x15f589){const _0x322db1=_0x51d908;super(),_0x3dad76(this,'_cursorShapes',[]),_0x3dad76(this,_0x322db1(0x3c3),[]),(this[_0x322db1(0x355)]=_0x5bc754,this[_0x322db1(0x286)]=_0x2b612e,this['_collabCursorController']=_0x4fd5b8,this[_0x322db1(0x4b6)]=_0x171a77,this[_0x322db1(0x429)]=_0x15f589,this['_init']());}[_0x51d908(0x336)](){const _0x2de9e7=_0x51d908,_0x869305=this['_context']['unitId'],_0x947358=this[_0x2de9e7(0x286)];this[_0x2de9e7(0x45a)](_0x3b7fba['combineLatest']([this[_0x2de9e7(0x3f3)][_0x2de9e7(0x420)](_0x869305),this[_0x2de9e7(0x429)][_0x2de9e7(0x343)]])[_0x2de9e7(0x2ba)](_0x6bbe09[_0x2de9e7(0x1e7)](([_0x13893a,_0x4163f1])=>({'skeleton':_0x947358[_0x2de9e7(0x229)](),'cursors':[..._0x13893a['values']()][_0x2de9e7(0x442)](_0x22c238=>({..._0x22c238,'color':this[_0x2de9e7(0x429)][_0x2de9e7(0x38d)](_0x22c238[_0x2de9e7(0x3c8)])}))})))['subscribe'](_0x21bbe3=>{const _0x2019f4=_0x2de9e7;if(this[_0x2019f4(0x4ad)](),_0x21bbe3){const {skeleton:_0x214c1b,cursors:_0x3b712b}=_0x21bbe3;this[_0x2019f4(0x3d8)](_0x214c1b,_0x3b712b);}})),this[_0x2de9e7(0x23e)](),this['_initCommandExecutedListener']();}[_0x51d908(0x3d8)](_0x303b6d,_0x5697cc){const _0x17385b=_0x51d908,{scene:_0x513576,mainComponent:_0x5b5fad}=this[_0x17385b(0x355)],_0x44a8df=_0x5697cc[_0x17385b(0x1e7)](_0x395e64=>new _0x43cb6d(_0x395e64,_0x513576,_0x303b6d,_0x5b5fad));this[_0x17385b(0x44e)]=_0x44a8df,this[_0x17385b(0x3c3)]=_0x5697cc;}[_0x51d908(0x4cb)](){const _0x4ea3c5=_0x51d908;this[_0x4ea3c5(0x4ad)]();const {scene:_0x508bbe,mainComponent:_0x58dbf3}=this['_context'],_0x27c571=this[_0x4ea3c5(0x286)][_0x4ea3c5(0x229)](),_0xcc5151=this[_0x4ea3c5(0x3c3)]['map'](_0x2624a1=>new _0x43cb6d(_0x2624a1,_0x508bbe,_0x27c571,_0x58dbf3));this[_0x4ea3c5(0x44e)]=_0xcc5151;}[_0x51d908(0x4ad)](){const _0x1d4804=_0x51d908;this['_cursorShapes'][_0x1d4804(0x204)](_0x5a4622=>_0x5a4622[_0x1d4804(0x32d)]()),this[_0x1d4804(0x44e)]=[];}[_0x51d908(0x40e)](){const _0x547e0d=_0x51d908,_0x4d061a=[_0x42f82b[_0x547e0d(0x281)]['id']];this[_0x547e0d(0x45a)](this[_0x547e0d(0x4b6)][_0x547e0d(0x4c8)](_0x233f00=>{const _0x1e8acd=_0x547e0d;_0x4d061a['includes'](_0x233f00['id'])&&_0x233f00[_0x1e8acd(0x41e)]['unitId']===this['_context'][_0x1e8acd(0x27a)]&&this[_0x1e8acd(0x4cb)]();}));}[_0x51d908(0x23e)](){const _0x421f1f=_0x51d908;this[_0x421f1f(0x45a)](_0xee8662['fromEventSubject'](this[_0x421f1f(0x355)][_0x421f1f(0x43b)][_0x421f1f(0x303)])[_0x421f1f(0x2ba)](_0x6bbe09[_0x421f1f(0x202)](_0x4fb106=>_0x4fb106[_0x421f1f(0x4b1)]===_0x358391['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x6bbe09[_0x421f1f(0x42f)](0x10))[_0x421f1f(0x329)](()=>{const _0x327d50=_0x421f1f;this[_0x327d50(0x4cb)]();}));}};_0x3a6e42=_0x4beb14([_0x144519(0x1,_0xee8662[_0x51d908(0x35b)](_0xf806a0[_0x51d908(0x35e)])),_0x144519(0x2,_0xee8662[_0x51d908(0x35b)](_0x16e293)),_0x144519(0x3,_0xee8662[_0x51d908(0x2a9)]),_0x144519(0x4,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x257)]))],_0x3a6e42);const _0x2ce8a5=0x1,_0x1340c4=1.5;class _0x118cd0 extends _0x358391[_0x51d908(0x243)]{constructor(_0x116a97,_0x4e19c4){const _0x4116ca=_0x51d908;super(_0x116a97,_0x4e19c4),_0x3dad76(this,'_color'),_0x3dad76(this,_0x4116ca(0x415),!0x1),_0x3dad76(this,_0x4116ca(0x220)),_0x3dad76(this,_0x4116ca(0x2d7),''),_0x3dad76(this,_0x4116ca(0x37a),'top'),_0x3dad76(this,'_backgroundColor'),(_0x4e19c4&&this[_0x4116ca(0x321)](_0x4e19c4),this[_0x4116ca(0x278)][_0x4116ca(0x296)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4116ca(0x44a)][_0x4116ca(0x296)](()=>this[_0x4116ca(0x321)]({'hovered':!0x1})));}[_0x51d908(0x321)](_0x1b3419){const _0x4d8a79=_0x51d908;var _0x2308a7,_0x337847,_0x47aec4,_0x17e779,_0x237523,_0x38b5ff;this[_0x4d8a79(0x2fb)]=(_0x2308a7=_0x1b3419[_0x4d8a79(0x3c8)])!=null?_0x2308a7:this[_0x4d8a79(0x2fb)],this['_hovered']=(_0x337847=_0x1b3419['hovered'])!=null?_0x337847:this[_0x4d8a79(0x415)],this[_0x4d8a79(0x220)]=(_0x47aec4=_0x1b3419[_0x4d8a79(0x24b)])!=null?_0x47aec4:this[_0x4d8a79(0x220)],this[_0x4d8a79(0x2d7)]=(_0x17e779=_0x1b3419[_0x4d8a79(0x2c7)])!=null?_0x17e779:this['_name'],this[_0x4d8a79(0x37a)]=(_0x237523=_0x1b3419['labelPosition'])!=null?_0x237523:this['_labelPosition'],this[_0x4d8a79(0x228)]=(_0x38b5ff=_0x1b3419['backgroundColor'])!=null?_0x38b5ff:this[_0x4d8a79(0x228)],this['transformByState']({'width':_0x1b3419[_0x4d8a79(0x3ff)],'height':_0x1b3419[_0x4d8a79(0x397)]});}['onMouseMove'](_0x1e60f9){const _0xacc8c=_0x51d908,{row:_0x5748e6,column:_0x1c06bd}=_0x1e60f9;if(_0x5748e6>=this[_0xacc8c(0x220)][_0xacc8c(0x25e)]&&_0x5748e6<=this[_0xacc8c(0x220)][_0xacc8c(0x2d5)]&&_0x1c06bd>=this[_0xacc8c(0x220)][_0xacc8c(0x1ec)]&&_0x1c06bd<=this[_0xacc8c(0x220)][_0xacc8c(0x34d)]){this[_0xacc8c(0x321)]({'hovered':!0x0});return;}this[_0xacc8c(0x321)]({'hovered':!0x1});}[_0x51d908(0x395)](_0x129b58){return!0x1;}[_0x51d908(0x368)](_0x47521c){const _0xcb3e9d=_0x51d908;_0x358391[_0xcb3e9d(0x460)][_0xcb3e9d(0x3fa)](_0x47521c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x1340c4,'stroke':this[_0xcb3e9d(0x2fb)],'evented':!0x1,'fill':this[_0xcb3e9d(0x228)]}),this['_hovered']&&(_0x47521c[_0xcb3e9d(0x443)](),_0x47521c[_0xcb3e9d(0x2bf)](0x1,0x0,0x0,0x1,this['width'],this[_0xcb3e9d(0x37a)]===_0xcb3e9d(0x1ff)?0x0:-_0x3dbef6),_0x466339['drawWith'](_0x47521c,{'text':this[_0xcb3e9d(0x2d7)],'color':this[_0xcb3e9d(0x2fb)]}),_0x47521c['restore']());}}var _0x4895b5=Object['getOwnPropertyDescriptor'],_0x2989f2=(_0x4b0067,_0x3682b4,_0x8f2b84,_0x45b4be)=>{const _0x197b57=_0x51d908;for(var _0x466ac4=_0x45b4be>0x1?void 0x0:_0x45b4be?_0x4895b5(_0x3682b4,_0x8f2b84):_0x3682b4,_0x26319a=_0x4b0067[_0x197b57(0x3e5)]-0x1,_0x19e75f;_0x26319a>=0x0;_0x26319a--)(_0x19e75f=_0x4b0067[_0x26319a])&&(_0x466ac4=_0x19e75f(_0x466ac4)||_0x466ac4);return _0x466ac4;},_0x9f0473=(_0x458b40,_0x4f9ebf)=>(_0x22e0a2,_0x57dc95)=>_0x4f9ebf(_0x22e0a2,_0x57dc95,_0x458b40);const _0x2f43a0=0x1389;let _0x21834f=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2392e5,_0x55f971,_0x2561bb,_0x840e2f){const _0x58faf3=_0x51d908;super(),_0x3dad76(this,_0x58faf3(0x3c3),new Set()),_0x3dad76(this,_0x58faf3(0x2f3),null),(this[_0x58faf3(0x355)]=_0x2392e5,this[_0x58faf3(0x49f)]=_0x55f971,this[_0x58faf3(0x3f3)]=_0x2561bb,this[_0x58faf3(0x429)]=_0x840e2f,this[_0x58faf3(0x336)]());}[_0x51d908(0x336)](){const _0x80f355=_0x51d908;this[_0x80f355(0x49f)][_0x80f355(0x386)][_0x80f355(0x2ba)](_0x6bbe09[_0x80f355(0x2a7)](this[_0x80f355(0x3b5)]),_0x6bbe09[_0x80f355(0x40f)](_0x4bd0f2=>{const _0x2f7e1b=_0x80f355;if(_0x4bd0f2){const _0x24ea42=_0x4bd0f2[_0x2f7e1b(0x383)];return _0x3b7fba[_0x2f7e1b(0x484)](this['_collabCursorController']['getCollabCursors$'](this[_0x2f7e1b(0x355)][_0x2f7e1b(0x27a)]),this['_themeService']['currentTheme$'])[_0x2f7e1b(0x2ba)](_0x6bbe09[_0x2f7e1b(0x1e7)](([_0x2c95a4,_0xaff1a1])=>{const _0x3218e3=_0x2f7e1b,_0x2587f0=new Map();return _0x2c95a4[_0x3218e3(0x204)]((_0x1424a3,_0x99f174)=>{const _0x539772=_0x3218e3;if(_0x1424a3[_0x539772(0x3f6)]===_0x24ea42){const _0x5f34b9={..._0x1424a3};_0x5f34b9[_0x539772(0x3c8)]=this[_0x539772(0x429)][_0x539772(0x38d)](_0x1424a3[_0x539772(0x3c8)]),_0x2587f0[_0x539772(0x4c5)](_0x99f174,_0x5f34b9);}}),{'skeleton':_0x4bd0f2,'cursors':_0x2587f0};}));}return _0x3b7fba['of']({'skeleton':null,'cursors':new Map()});}))[_0x80f355(0x329)](({skeleton:_0xe81286,cursors:_0x463481})=>{const _0x7e1b6d=_0x80f355;this['_removeCollabCursors'](),_0xe81286&&this[_0x7e1b6d(0x3d8)](_0xe81286,_0x463481);}),this[_0x80f355(0x49f)]['currentSkeleton$'][_0x80f355(0x329)](_0x1c1a65=>{const _0x3c62a0=_0x80f355;if(_0x1c1a65==null)return;const {skeleton:_0x1ff114}=_0x1c1a65,{scene:_0x3ee815}=this[_0x3c62a0(0x355)];_0x3ee815['onPointerMove$'][_0x3c62a0(0x296)](_0xee8662['debounce'](_0x2afdcc=>{const _0x104416=_0x3c62a0;var _0x29be8d,_0xf2c70;const {offsetX:_0x40bede,offsetY:_0x286ac9}=_0x2afdcc,{x:_0x3b92a8,y:_0xe9dce9}=_0x3ee815[_0x104416(0x210)](_0x358391[_0x104416(0x3e9)][_0x104416(0x31e)]([_0x40bede,_0x286ac9])),{scaleX:_0x17bb75,scaleY:_0x296d85}=_0x3ee815[_0x104416(0x2c1)](),_0x46945f=_0x3ee815[_0x104416(0x25c)](_0x358391['SHEET_VIEWPORT_KEY'][_0x104416(0x3d2)]),_0x430215=_0x3ee815[_0x104416(0x374)](_0x358391[_0x104416(0x3e9)]['FromArray']([_0x3b92a8,_0xe9dce9]),_0x46945f),_0x2dd544=_0x1ff114[_0x104416(0x218)](_0x40bede,_0x286ac9,_0x17bb75,_0x296d85,_0x430215);((_0x29be8d=this[_0x104416(0x2f3)])==null?void 0x0:_0x29be8d['column'])===_0x2dd544[_0x104416(0x489)]&&((_0xf2c70=this[_0x104416(0x2f3)])==null?void 0x0:_0xf2c70[_0x104416(0x4bb)])===_0x2dd544[_0x104416(0x4bb)]||this[_0x104416(0x3c3)][_0x104416(0x204)](_0x487363=>{const _0xbbce11=_0x104416;_0x487363[_0xbbce11(0x435)](_0x2dd544);});},0x64));});}[_0x51d908(0x3d8)](_0x157e48,_0x311e3d){const _0x2c3134=_0x51d908;var _0x3a0a0e;const _0x5c7b43=(_0x3a0a0e=this['_sheetSkeletonManagerService'][_0x2c3134(0x3d7)]())==null?void 0x0:_0x3a0a0e[_0x2c3134(0x3d1)];if(!_0x5c7b43)return;const _0x4b0277=this[_0x2c3134(0x282)]();if(!_0x4b0277)return;this['_cursors'][_0x2c3134(0x204)](_0x3ee0f1=>{_0x3ee0f1['makeDirty']();});const {scene:_0x59d237}=_0x4b0277,_0x1b5f8a=_0x1bdf4d(Array['from'](_0x311e3d[_0x2c3134(0x3ac)]()))[_0x2c3134(0x1e7)](_0x128f19=>{const _0x115530=_0x2c3134,{color:_0x3db745,range:_0xb393ef,name:_0x30b4f8,selection:_0x3283e3,sheetID:_0x2fe49a}=_0x128f19,{startColumn:_0x3cc093,startRow:_0x2a405d,endColumn:_0x485e12,endRow:_0x5894ec}=_0xb393ef,_0x54c5a5=_0x28bc9b[_0x115530(0x4a2)](_0x2a405d,_0x3cc093,_0x59d237,_0x5c7b43),_0x49a565=_0x28bc9b['getCoordByCell'](_0x5894ec,_0x485e12,_0x59d237,_0x5c7b43),{columnHeaderHeightAndMarginTop:_0x37eb9a}=_0x5c7b43,{startX:_0x323c9c,startY:_0x517e98}=_0x54c5a5,{endX:_0x1fcfed,endY:_0x2b83a3}=_0x49a565,_0x2a4957=_0x1fcfed-_0x323c9c,_0x12c882=_0x2b83a3-_0x517e98,_0x5162bc={'labelPosition':_0x517e98-_0x37eb9a>=_0x3dbef6?_0x115530(0x236):'bottom','sheetID':_0x2fe49a,'range':_0xb393ef,'color':_0x3db745,'name':_0x30b4f8,'selection':_0x3283e3,'left':_0x323c9c,'top':_0x517e98,'width':_0x2a4957,'height':_0x12c882,'evented':!0x1,'zIndex':_0x2f43a0};return new _0x118cd0(_0x30b4f8,_0x5162bc);});_0x59d237[_0x2c3134(0x4ae)](_0x1b5f8a,_0x2ce8a5),this['_cursors']=new Set(_0x1b5f8a);}[_0x51d908(0x4ad)](){const _0xe7cc43=_0x51d908;var _0x1757ba;(_0x1757ba=this[_0xe7cc43(0x3c3)])==null||_0x1757ba[_0xe7cc43(0x204)](_0x43c7fc=>_0x43c7fc[_0xe7cc43(0x32d)]());}['_getSheetObject'](){const _0x81c45d=_0x51d908;return _0x28bc9b['getSheetObject'](this['_context']['unit'],this[_0x81c45d(0x355)]);}};_0x21834f=_0x2989f2([_0x9f0473(0x1,_0xee8662[_0x51d908(0x35b)](_0x28bc9b[_0x51d908(0x22b)])),_0x9f0473(0x2,_0xee8662['Inject'](_0x16e293)),_0x9f0473(0x3,_0xee8662['Inject'](_0xee8662['ThemeService']))],_0x21834f);function _0x1bdf4d(_0x5e750f){const _0x2af8e3=_0x51d908,_0x368fc8=new Map();return _0x5e750f[_0x2af8e3(0x204)](_0x183e8c=>{const _0x34c729=_0x2af8e3;if(_0x368fc8[_0x34c729(0x398)](_0x183e8c[_0x34c729(0x49a)])){const _0x4b5749=_0x368fc8[_0x34c729(0x2ea)](_0x183e8c['selection']);_0x4b5749[_0x34c729(0x2c7)]+=',\x20'+_0x183e8c['name'];}else _0x368fc8[_0x34c729(0x4c5)](_0x183e8c[_0x34c729(0x49a)],_0x183e8c);}),Array['from'](_0x368fc8[_0x2af8e3(0x3ac)]());}var _0x33c20b=Object[_0x51d908(0x34e)],_0x4b76d8=(_0x1b0c9a,_0x5f29af,_0x3c9dd2,_0x26e5f9)=>{const _0x1110d3=_0x51d908;for(var _0x21f4c8=_0x26e5f9>0x1?void 0x0:_0x26e5f9?_0x33c20b(_0x5f29af,_0x3c9dd2):_0x5f29af,_0x5e8169=_0x1b0c9a[_0x1110d3(0x3e5)]-0x1,_0x2b927b;_0x5e8169>=0x0;_0x5e8169--)(_0x2b927b=_0x1b0c9a[_0x5e8169])&&(_0x21f4c8=_0x2b927b(_0x21f4c8)||_0x21f4c8);return _0x21f4c8;},_0x541d48=(_0x2366ee,_0x391fc1)=>(_0x9be950,_0x437798)=>_0x391fc1(_0x9be950,_0x437798,_0x2366ee);let _0x14801f=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x23e4b3,_0x1a4395,_0x226614,_0x3e0d6d,_0x15d149,_0x36060a){const _0x502f72=_0x51d908;super(),this[_0x502f72(0x496)]=_0x23e4b3,this[_0x502f72(0x356)]=_0x1a4395,this[_0x502f72(0x3e6)]=_0x226614,this[_0x502f72(0x423)]=_0x3e0d6d,this[_0x502f72(0x1fd)]=_0x15d149,this[_0x502f72(0x4b9)]=_0x36060a,this[_0x502f72(0x434)](),this[_0x502f72(0x3b4)]();}[_0x51d908(0x434)](){const _0x5d4c25=_0x51d908;this[_0x5d4c25(0x45a)](this[_0x5d4c25(0x496)][_0x5d4c25(0x3f8)](()=>{const _0x2c0156=_0x5d4c25;if(this[_0x2c0156(0x356)][_0x2c0156(0x24d)][_0x2c0156(0x283)])return this['_localeService']['t'](_0x2c0156(0x2c4));}));}[_0x51d908(0x3b4)](){const _0x44e60b=_0x51d908;this['disposeWithMe'](this[_0x44e60b(0x3e6)][_0x44e60b(0x345)][_0x44e60b(0x329)](_0x3a60ce=>{const _0x1e8c65=_0x44e60b;_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x36d)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.single-unit.warning')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x3ea)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.closeRoom')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x20f)]&&this[_0x1e8c65(0x1fd)]['show']({'title':this['_localeService']['t'](_0x1e8c65(0x4a8)),'content':this[_0x1e8c65(0x4b9)]['t']('permission.content'),'type':'error','duration':0x0}),_0x3a60ce['id']===_0x34c9b1['CollaborationUIEventId'][_0x1e8c65(0x254)]&&this['_messageService'][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x28d))+'('+_0x3a60ce['data']+')'}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x351)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x3a60ce['data']||'')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x48f)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x1f4))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SOCKET_FAILED']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this['_localeService']['t'](_0x1e8c65(0x2c9))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType']['Error'],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x3a1))});}));}};_0x14801f=_0x4b76d8([_0x541d48(0x0,_0x2dde38[_0x51d908(0x28f)]),_0x541d48(0x1,_0x34c9b1['ILocalCacheService']),_0x541d48(0x2,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x4bd)])),_0x541d48(0x3,_0x2dde38['IMessageService']),_0x541d48(0x4,_0x2dde38[_0x51d908(0x2e9)]),_0x541d48(0x5,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x14801f);var _0x940c4f=Object[_0x51d908(0x34e)],_0xe74c9=(_0x4b3114,_0x14362c,_0x30bddc,_0x41c51f)=>{const _0x4ab8cf=_0x51d908;for(var _0x5cf4b9=_0x41c51f>0x1?void 0x0:_0x41c51f?_0x940c4f(_0x14362c,_0x30bddc):_0x14362c,_0x24898a=_0x4b3114[_0x4ab8cf(0x3e5)]-0x1,_0x4c4352;_0x24898a>=0x0;_0x24898a--)(_0x4c4352=_0x4b3114[_0x24898a])&&(_0x5cf4b9=_0x4c4352(_0x5cf4b9)||_0x5cf4b9);return _0x5cf4b9;},_0x110937=(_0x56a58a,_0x4c445f)=>(_0x30aa6d,_0x4aa67f)=>_0x4c445f(_0x30aa6d,_0x4aa67f,_0x56a58a);let _0x182b9c=class extends _0xee8662['Disposable']{constructor(_0x220e6b,_0x3fa028,_0xb2f52e,_0x24314f){const _0x5f34fb=_0x51d908;super(),_0x3dad76(this,'_memberID'),(this[_0x5f34fb(0x3e2)]=_0x220e6b,this[_0x5f34fb(0x3df)]=_0x3fa028,this[_0x5f34fb(0x27c)]=_0xb2f52e,this['_collaborationSessionService']=_0x24314f,this[_0x5f34fb(0x336)]());}[_0x51d908(0x336)](){const _0x43ac82=_0x51d908;this[_0x43ac82(0x427)](),this[_0x43ac82(0x2f7)](),this['_monkeyPatchLogService'](),this[_0x43ac82(0x2cd)]();}[_0x51d908(0x2cd)](){const _0x33775a=_0x51d908;this[_0x33775a(0x45a)](this[_0x33775a(0x3de)][_0x33775a(0x263)][_0x33775a(0x329)](_0x101dcc=>{const _0x1735b7=_0x33775a;this['_memberID']=_0x101dcc==null?void 0x0:_0x101dcc[_0x1735b7(0x2ab)];}));}[_0x51d908(0x427)](){const _0x14cdb7=_0x51d908,_0x5dffc4=_0x1005ec=>{const _0x5af614=_0x2c0f;var _0x5b1a2a;this[_0x5af614(0x3ba)](_0x5af614(0x1f8),_0x5af614(0x408)+_0x1005ec['message']+'\x20at\x20'+_0x1005ec[_0x5af614(0x226)]+':'+_0x1005ec[_0x5af614(0x244)]+':'+_0x1005ec['colno']+'\x0a'+(((_0x5b1a2a=_0x1005ec[_0x5af614(0x1f8)])==null?void 0x0:_0x5b1a2a[_0x5af614(0x358)])||''));};window[_0x14cdb7(0x438)](_0x14cdb7(0x1f8),_0x5dffc4),this[_0x14cdb7(0x45a)](()=>{const _0x1412dc=_0x14cdb7;window[_0x1412dc(0x4b5)](_0x1412dc(0x1f8),_0x5dffc4);});}[_0x51d908(0x2f7)](){const _0x282bae=_0x51d908,_0x5e6beb=_0x2a1904=>{const _0x3b2a18=_0x2c0f;this[_0x3b2a18(0x3ba)]('error',_0x3b2a18(0x482)+_0x2a1904[_0x3b2a18(0x3b6)]);};window[_0x282bae(0x438)](_0x282bae(0x277),_0x5e6beb),this['disposeWithMe'](()=>{const _0x1f4703=_0x282bae;window[_0x1f4703(0x4b5)](_0x1f4703(0x277),_0x5e6beb);});}[_0x51d908(0x305)](){const _0x198016=_0x51d908,_0xae3df4=this[_0x198016(0x27c)][_0x198016(0x1f8)][_0x198016(0x317)](this[_0x198016(0x27c)]);this[_0x198016(0x27c)][_0x198016(0x1f8)]=(..._0x3c448a)=>{const _0x3076e1=_0x198016,_0x2827af=_0x3c448a[_0x3076e1(0x1e7)](_0x1c3ea4=>_0x1c3ea4 instanceof Error?_0x1c3ea4[_0x3076e1(0x44b)]+'\x0a'+_0x1c3ea4[_0x3076e1(0x358)]:String(_0x1c3ea4))[_0x3076e1(0x457)]('\x20');this[_0x3076e1(0x3ba)](_0x3076e1(0x1f8),_0x3076e1(0x3d6)+_0x2827af),_0xae3df4(..._0x3c448a);},this['disposeWithMe'](()=>{const _0xbf7f8a=_0x198016;this[_0xbf7f8a(0x27c)][_0xbf7f8a(0x1f8)]=_0xae3df4;});}[_0x51d908(0x3ba)](_0x3f5150,_0x339378){const _0x31fd5a=_0x51d908;try{const _0x2361e6={'userId':this[_0x31fd5a(0x234)],'logLabel':_0x3f5150,'content':_0x339378};this[_0x31fd5a(0x3df)][_0x31fd5a(0x3fb)](_0x31fd5a(0x44d),{'body':_0x2361e6})[_0x31fd5a(0x430)](()=>{});}catch{}}};_0x182b9c=_0xe74c9([_0x110937(0x0,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x110937(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037['HTTPService'])),_0x110937(0x2,_0xee8662['ILogService']),_0x110937(0x3,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x25f)]))],_0x182b9c);const _0x52af33=_0x51d908(0x499),_0x377916={};var _0x29dab6=Object[_0x51d908(0x34e)],_0x24dbb5=(_0x32c7d2,_0x4a90f5,_0x57197a,_0x534ab4)=>{const _0x34d944=_0x51d908;for(var _0x51d051=_0x534ab4>0x1?void 0x0:_0x534ab4?_0x29dab6(_0x4a90f5,_0x57197a):_0x4a90f5,_0x4a37d1=_0x32c7d2[_0x34d944(0x3e5)]-0x1,_0x471779;_0x4a37d1>=0x0;_0x4a37d1--)(_0x471779=_0x32c7d2[_0x4a37d1])&&(_0x51d051=_0x471779(_0x51d051)||_0x51d051);return _0x51d051;},_0x3b2f67=(_0x1e2af3,_0x43d41e)=>(_0x8f3095,_0x11a96b)=>_0x43d41e(_0x8f3095,_0x11a96b,_0x1e2af3);let _0xe97add=class{constructor(_0x4268d9,_0x473535){const _0x1f54ce=_0x51d908;this[_0x1f54ce(0x2bb)]=_0x4268d9,this[_0x1f54ce(0x334)]=_0x473535;}['transformIMECache'](_0x224049){const _0x4069ae=_0x51d908;this['_transformUndoRedoStack'](_0x224049),this[_0x4069ae(0x29b)](_0x224049);}[_0x51d908(0x225)](_0xfa4b03){const _0x42a2ba=_0x51d908,{unitID:_0x5ae651}=_0xfa4b03,_0x56c35a=this[_0x42a2ba(0x334)]['getRenderById'](_0x5ae651)[_0x42a2ba(0x265)](_0x42f82b['DocIMEInputManagerService']),{redoCache:_0x4f241b}=_0x56c35a[_0x42a2ba(0x23b)]();if(_0x4f241b[_0x42a2ba(0x3e5)]===0x0)return _0xfa4b03;let _0x266c45=_0xee8662[_0x42a2ba(0x492)]['deepClone'](_0xfa4b03[_0x42a2ba(0x21e)][0x0]);for(let _0x38507d=0x0;_0x38507d<_0x4f241b[_0x42a2ba(0x3e5)];_0x38507d++){const _0x4ff2e8={'id':_0x42a2ba(0x333),'params':{..._0x4f241b[_0x38507d]}},_0xef410f=this[_0x42a2ba(0x2bb)]['transformMutation'](_0x266c45,_0x4ff2e8,!0x1);if(_0x597660[_0x42a2ba(0x338)](_0xef410f))throw _0xef410f['error'];_0x266c45=_0xef410f[_0x42a2ba(0x2cf)];}return{..._0xee8662[_0x42a2ba(0x492)][_0x42a2ba(0x1ed)](_0xfa4b03),'mutations':[_0x266c45]};}['_transformUndoRedoStack'](_0x46936d){const _0x1d6563=_0x51d908,{unitID:_0x3c151a}=_0x46936d,_0x473460=this[_0x1d6563(0x334)]['getRenderById'](_0x3c151a)[_0x1d6563(0x265)](_0x42f82b['DocIMEInputManagerService']),{undoCache:_0x100791,redoCache:_0x193533}=_0x473460['getUndoRedoMutationParamsCache']();if(_0x100791[_0x1d6563(0x3e5)]===0x0||_0x193533[_0x1d6563(0x3e5)]===0x0)return;const _0x17ac32=[],_0x1c73cf=[];let _0x291e4c=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]),_0x13e022=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]);for(let _0x3b4aa8=_0x100791['length']-0x1;_0x3b4aa8>=0x0;_0x3b4aa8--){const _0x18390c={'id':'doc.mutation.rich-text-editing','params':{..._0x100791[_0x3b4aa8]}},_0xc8fa4={'id':_0x1d6563(0x333),'params':{..._0x193533[_0x3b4aa8]}},_0x39e71d=this['_transformService'][_0x1d6563(0x311)](_0x291e4c,_0x18390c,!0x1),_0x5bb046=this[_0x1d6563(0x2bb)][_0x1d6563(0x311)](_0x13e022,_0xc8fa4,!0x1);if(_0x597660['isTransformMutationFailure'](_0x39e71d))throw _0x39e71d[_0x1d6563(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x5bb046))throw _0x5bb046[_0x1d6563(0x1f8)];_0x17ac32[_0x1d6563(0x35d)](_0x39e71d[_0x1d6563(0x41d)][_0x1d6563(0x41e)]),_0x1c73cf[_0x1d6563(0x35d)](_0x5bb046['m2Prime'][_0x1d6563(0x41e)]),_0x291e4c=_0x39e71d[_0x1d6563(0x2cf)],_0x13e022=_0x5bb046[_0x1d6563(0x2cf)];}_0x473460[_0x1d6563(0x2fa)]({'undoCache':_0x17ac32,'redoCache':_0x1c73cf});}[_0x51d908(0x29b)](_0x48d341){const _0x1661ec=_0x51d908,{unitID:_0x2a078d}=_0x48d341,_0x4a119b=this['_renderManagerService'][_0x1661ec(0x3ad)](_0x2a078d)[_0x1661ec(0x265)](_0x42f82b[_0x1661ec(0x42c)]),_0x47351f=_0x4a119b['getActiveRange']();if(_0x47351f==null)return;const _0x4376c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48d341['unitID'],'actions':null,'textRanges':[_0x47351f]}}],_0x486ccd=this[_0x1661ec(0x2bb)][_0x1661ec(0x3e8)](_0x48d341,_0x4376c0);if(!_0x597660[_0x1661ec(0x470)](_0x486ccd))throw _0x486ccd[_0x1661ec(0x1f8)];const _0x37c9b7=_0x486ccd[_0x1661ec(0x41d)][0x0][_0x1661ec(0x41e)][_0x1661ec(0x3cd)];Array[_0x1661ec(0x1ee)](_0x37c9b7)&&_0x37c9b7['length']&&_0x4a119b['setActiveRange'](_0x37c9b7[0x0]);}};_0xe97add=_0x24dbb5([_0x3b2f67(0x0,_0x597660['ITransformService']),_0x3b2f67(0x1,_0x358391['IRenderManagerService'])],_0xe97add);var _0x18e25f=Object[_0x51d908(0x34e)],_0xa1e682=(_0x231fb6,_0x43b3e8,_0x1e82d1,_0x164150)=>{const _0x375061=_0x51d908;for(var _0xefcedd=_0x164150>0x1?void 0x0:_0x164150?_0x18e25f(_0x43b3e8,_0x1e82d1):_0x43b3e8,_0x363cc0=_0x231fb6[_0x375061(0x3e5)]-0x1,_0x18e04a;_0x363cc0>=0x0;_0x363cc0--)(_0x18e04a=_0x231fb6[_0x363cc0])&&(_0xefcedd=_0x18e04a(_0xefcedd)||_0xefcedd);return _0xefcedd;},_0x55cf43=(_0x19d9c4,_0x147094)=>(_0x20ccc4,_0x4c4e0d)=>_0x147094(_0x20ccc4,_0x4c4e0d,_0x19d9c4);let _0x149e20=class{constructor(_0x217e46,_0x341b89,_0x5368d2){const _0x1abb85=_0x51d908;this[_0x1abb85(0x3e2)]=_0x217e46,this['_transformService']=_0x341b89,this[_0x1abb85(0x456)]=_0x5368d2;}[_0x51d908(0x2c0)](_0x7d62ac){this['_transformHistoryAndStateStack'](_0x7d62ac);}['transformRemoteChangeset'](_0xb97d90){const _0x46a2a2=_0x51d908,{unitID:_0x4fb426}=_0xb97d90,{collaboration:_0x1099b5}=this[_0x46a2a2(0x456)][_0x46a2a2(0x30e)](_0x4fb426);if(_0x1099b5[_0x46a2a2(0x3e5)]===0x0)return _0xb97d90;let _0x42ef5b=_0xee8662[_0x46a2a2(0x492)][_0x46a2a2(0x1ed)](_0xb97d90[_0x46a2a2(0x21e)][0x0]);for(let _0x3ff972=0x0;_0x3ff972<_0x1099b5[_0x46a2a2(0x3e5)];_0x3ff972++){const _0x37b1fa={'id':_0x46a2a2(0x333),'params':{'unitId':_0x1099b5[_0x3ff972][_0x46a2a2(0x27a)],..._0x1099b5[_0x3ff972][_0x46a2a2(0x2f1)]}},_0x3d6667=this[_0x46a2a2(0x2bb)][_0x46a2a2(0x311)](_0x42ef5b,_0x37b1fa,!0x1);if(_0x597660[_0x46a2a2(0x338)](_0x3d6667))throw _0x3d6667[_0x46a2a2(0x1f8)];_0x42ef5b=_0x3d6667[_0x46a2a2(0x2cf)];}return{..._0xee8662['Tools'][_0x46a2a2(0x1ed)](_0xb97d90),'mutations':[_0x42ef5b]};}['_transformHistoryAndStateStack'](_0xff7797){const _0x12c1b7=_0x51d908,{unitID:_0x1a5dc0}=_0xff7797,{history:_0x2da2f7,collaboration:_0x18af87}=this[_0x12c1b7(0x456)]['getStateCache'](_0x1a5dc0);if(_0x2da2f7[_0x12c1b7(0x3e5)]===0x0&&_0x18af87[_0x12c1b7(0x3e5)]===0x0)return;const _0x4643d8=[],_0x48f769=[];let _0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]),_0x3ef22a=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x4ed15c=_0x2da2f7[_0x12c1b7(0x3e5)]-0x1;_0x4ed15c>=0x0;_0x4ed15c--){const _0xd07f3={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c][_0x12c1b7(0x367)]}},_0x10f7f={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c]['redoState']}},_0x13e52c=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0xd07f3,!0x1),_0x4c88f5=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x3ef22a,_0x10f7f,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x13e52c))throw _0x13e52c[_0x12c1b7(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x4c88f5))throw _0x4c88f5['error'];_0x4643d8['unshift']({..._0x2da2f7[_0x4ed15c],'undoState':_0x13e52c[_0x12c1b7(0x41d)]['params'],'redoState':_0x4c88f5[_0x12c1b7(0x41d)]['params']}),_0x22d049=_0x13e52c[_0x12c1b7(0x2cf)],_0x3ef22a=_0x4c88f5[_0x12c1b7(0x2cf)];}_0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797['mutations'][0x0]),_0x3ef22a=_0xee8662['Tools'][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x590d7d=_0x18af87[_0x12c1b7(0x3e5)]-0x1;_0x590d7d>=0x0;_0x590d7d--){const _0x462707={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d][_0x12c1b7(0x27a)],..._0x18af87[_0x590d7d][_0x12c1b7(0x367)]}},_0x2e0640={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d]['unitId'],..._0x18af87[_0x590d7d][_0x12c1b7(0x2f1)]}},_0x6d7dd3=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0x462707,!0x1),_0x2b471c=this['_transformService']['transformMutation'](_0x3ef22a,_0x2e0640,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x6d7dd3))throw _0x6d7dd3[_0x12c1b7(0x1f8)];if(_0x597660[_0x12c1b7(0x338)](_0x2b471c))throw _0x2b471c[_0x12c1b7(0x1f8)];_0x48f769[_0x12c1b7(0x35d)]({..._0x18af87[_0x590d7d],'undoState':_0x6d7dd3[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)],'redoState':_0x2b471c[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)]}),_0x22d049=_0x6d7dd3[_0x12c1b7(0x2cf)],_0x3ef22a=_0x2b471c[_0x12c1b7(0x2cf)];}this[_0x12c1b7(0x456)][_0x12c1b7(0x2be)](_0x1a5dc0,{'history':_0x4643d8,'collaboration':_0x48f769});}};_0x149e20=_0xa1e682([_0x55cf43(0x0,_0xee8662['Inject'](_0xee8662['Injector'])),_0x55cf43(0x1,_0x597660[_0x51d908(0x2ed)]),_0x55cf43(0x2,_0xee8662[_0x51d908(0x35b)](_0x42f82b[_0x51d908(0x1e9)]))],_0x149e20);var _0x1a8c91=Object[_0x51d908(0x34e)],_0x491528=(_0x5d5515,_0x44e6ff,_0x4c8fbf,_0x2b1af4)=>{const _0x21c35a=_0x51d908;for(var _0x43a314=_0x2b1af4>0x1?void 0x0:_0x2b1af4?_0x1a8c91(_0x44e6ff,_0x4c8fbf):_0x44e6ff,_0x194fd8=_0x5d5515[_0x21c35a(0x3e5)]-0x1,_0x1eadea;_0x194fd8>=0x0;_0x194fd8--)(_0x1eadea=_0x5d5515[_0x194fd8])&&(_0x43a314=_0x1eadea(_0x43a314)||_0x43a314);return _0x43a314;},_0x4d9cfd=(_0x25001c,_0x33aec6)=>(_0x1639d0,_0x7dc8d9)=>_0x33aec6(_0x1639d0,_0x7dc8d9,_0x25001c);let _0x359b23=class{constructor(_0xedbe0f,_0x88394a){this['_injector']=_0xedbe0f,this['_transformService']=_0x88394a;}[_0x51d908(0x36c)](_0x2f2c3a){const _0xf08659=_0x51d908;var _0xabeba9;const _0x41e239=this[_0xf08659(0x3e2)][_0xf08659(0x2ea)](_0xf806a0['DocSelectionManagerService']),_0x2a8fc9=(_0xabeba9=_0x41e239['getDocRanges']())!=null?_0xabeba9:[];if(_0x2a8fc9[_0xf08659(0x3e5)]===0x0)return;const _0x9d6fb1=_0x2f2c3a['unitID'],_0x482487=[{'id':_0xf08659(0x333),'params':{'unitId':_0x9d6fb1,'actions':null,'textRanges':_0x2a8fc9}}],_0x11744b=this[_0xf08659(0x2bb)][_0xf08659(0x3e8)](_0x2f2c3a,_0x482487);if(!_0x597660['isTransformMutationsWithChangesetSuccess'](_0x11744b))throw _0x11744b[_0xf08659(0x1f8)];const _0x15a91a=_0x11744b[_0xf08659(0x41d)][0x0][_0xf08659(0x41e)][_0xf08659(0x3cd)];Array[_0xf08659(0x1ee)](_0x15a91a)&&_0x15a91a[_0xf08659(0x3e5)]&&_0x41e239[_0xf08659(0x2b5)](_0x15a91a,{'unitId':_0x9d6fb1,'subUnitId':_0x9d6fb1},!0x1);}};_0x359b23=_0x491528([_0x4d9cfd(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x4d9cfd(0x1,_0x597660['ITransformService'])],_0x359b23);var _0x5b5f26=Object['getOwnPropertyDescriptor'],_0x36d830=(_0x1900b2,_0x20626e,_0x372eb2,_0x43da2a)=>{const _0x4f2674=_0x51d908;for(var _0x48b798=_0x43da2a>0x1?void 0x0:_0x43da2a?_0x5b5f26(_0x20626e,_0x372eb2):_0x20626e,_0x136a52=_0x1900b2[_0x4f2674(0x3e5)]-0x1,_0x2f84a8;_0x136a52>=0x0;_0x136a52--)(_0x2f84a8=_0x1900b2[_0x136a52])&&(_0x48b798=_0x2f84a8(_0x48b798)||_0x48b798);return _0x48b798;},_0x24c039=(_0x2df8da,_0x129c7d)=>(_0x302f21,_0xa1777)=>_0x129c7d(_0x302f21,_0xa1777,_0x2df8da);let _0x4352a6=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x235be7,_0xe9475c,_0x25df4e,_0x54a20f,_0x25c4de,_0x4d1bcd,_0x3bf149,_0x40e747){const _0x143f05=_0x51d908;super(),_0x3dad76(this,_0x143f05(0x419),new _0x3b7fba['BehaviorSubject'](_0x34c9b1[_0x143f05(0x326)][_0x143f05(0x2a3)])),(this[_0x143f05(0x456)]=_0x235be7,this[_0x143f05(0x2cb)]=_0xe9475c,this[_0x143f05(0x280)]=_0x25df4e,this[_0x143f05(0x2e7)]=_0x54a20f,this[_0x143f05(0x242)]=_0x25c4de,this[_0x143f05(0x29d)]=_0x4d1bcd,this['_messageService']=_0x3bf149,this[_0x143f05(0x4b9)]=_0x40e747,this[_0x143f05(0x44c)]());}[_0x51d908(0x44c)](){const _0x166966=_0x51d908;this[_0x166966(0x45a)](this['_collaborationController'][_0x166966(0x27f)]['subscribe'](_0x5e5c8c=>{const _0x358242=_0x166966,_0x1b1b6d=this[_0x358242(0x456)][_0x358242(0x360)]['subscribe'](_0xee2c3f=>{const _0x3655c2=_0x358242;if(_0xee2c3f==null)return;const {unitId:_0x24bed4,redoState:_0xca8cb1,commandId:_0x10a349}=_0xee2c3f;if(_0x24bed4!==_0x5e5c8c[_0x3655c2(0x436)])return;const _0x487a8e={'id':_0x10a349,'type':_0xee8662['CommandType'][_0x3655c2(0x337)],'params':{'unitId':_0x24bed4,'actions':_0xca8cb1[_0x3655c2(0x307)],'textRanges':null}};_0x5e5c8c[_0x3655c2(0x448)](_0x487a8e);});if(_0x5e5c8c[_0x358242(0x45a)](_0x1b1b6d),_0x5e5c8c instanceof _0x34c9b1['DocCollaborationEntity']){const _0x225e1b={'onTransformIME':_0x46e2eb=>this[_0x358242(0x280)]['transformIMECache'](_0x46e2eb),'onTransformState':_0x36bf93=>this[_0x358242(0x2e7)]['transformStateCache'](_0x36bf93),'onTransformSelections':_0xb2ccf8=>this[_0x358242(0x242)][_0x358242(0x36c)](_0xb2ccf8),'onSyncEditingCollabCursor':_0x3ff57b=>this[_0x358242(0x29d)][_0x358242(0x3e3)](_0x3ff57b),'onTransformRemoteChangesetByIMECache':_0x2166f2=>this[_0x358242(0x280)][_0x358242(0x225)](_0x2166f2),'onTransformRemoteChangesetByStateCache':_0x1ee41b=>this['_docTransformStateCacheService'][_0x358242(0x225)](_0x1ee41b)};_0x5e5c8c[_0x358242(0x24c)](_0x225e1b);}}));}};_0x4352a6=_0x36d830([_0x24c039(0x0,_0xee8662['Inject'](_0x42f82b['DocStateChangeManagerService'])),_0x24c039(0x1,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x24c039(0x2,_0xee8662[_0x51d908(0x35b)](_0xe97add)),_0x24c039(0x3,_0xee8662[_0x51d908(0x35b)](_0x149e20)),_0x24c039(0x4,_0xee8662['Inject'](_0x359b23)),_0x24c039(0x5,_0xee8662[_0x51d908(0x35b)](_0x3808c8)),_0x24c039(0x6,_0x2dde38[_0x51d908(0x3ca)]),_0x24c039(0x7,_0xee8662['Inject'](_0xee8662['LocaleService']))],_0x4352a6);var _0x28a552=(_0x56f67d=>(_0x56f67d[_0x56f67d[_0x51d908(0x30a)]=0x0]=_0x51d908(0x30a),_0x56f67d[_0x56f67d['OK']=0x1]='OK',_0x56f67d[_0x56f67d[_0x51d908(0x2d0)]=0x2]='INTERNAL_ERROR',_0x56f67d[_0x56f67d[_0x51d908(0x20f)]=0x3]='PERMISSION_DENIED',_0x56f67d[_0x56f67d['NOT_FOUND']=0x4]=_0x51d908(0x224),_0x56f67d[_0x56f67d[_0x51d908(0x391)]=0x5]='UNAUTHENTICATED',_0x56f67d[_0x56f67d[_0x51d908(0x36f)]=0x6]=_0x51d908(0x36f),_0x56f67d[_0x56f67d['INVALID_ARGUMENT']=0x7]=_0x51d908(0x2e8),_0x56f67d[_0x56f67d[_0x51d908(0x3a8)]=0x8]=_0x51d908(0x3a8),_0x56f67d[_0x56f67d[_0x51d908(0x327)]=0x9]=_0x51d908(0x327),_0x56f67d[_0x56f67d['LOGIN_FAILED']=0xa]=_0x51d908(0x46c),_0x56f67d[_0x56f67d[_0x51d908(0x437)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x56f67d[_0x56f67d[_0x51d908(0x216)]=0xc]=_0x51d908(0x216),_0x56f67d[_0x56f67d[_0x51d908(0x3c0)]=0xd]=_0x51d908(0x3c0),_0x56f67d[_0x56f67d[_0x51d908(0x3b2)]=0xe]=_0x51d908(0x3b2),_0x56f67d[_0x56f67d[_0x51d908(0x221)]=0xf]=_0x51d908(0x221),_0x56f67d[_0x56f67d[_0x51d908(0x3cc)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x56f67d[_0x56f67d[_0x51d908(0x1f5)]=0x64]=_0x51d908(0x1f5),_0x56f67d[_0x56f67d[_0x51d908(0x2d1)]=0x65]='ERROR_AGAIN',_0x56f67d[_0x56f67d[_0x51d908(0x449)]=0xc9]=_0x51d908(0x449),_0x56f67d[_0x56f67d[_0x51d908(0x41f)]=0xca]='USER_IS_ANONYMOUS',_0x56f67d[_0x56f67d[_0x51d908(0x37c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x56f67d[_0x56f67d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51d908(0x401),_0x56f67d[_0x56f67d[_0x51d908(0x21d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x56f67d[_0x56f67d[_0x51d908(0x32e)]=0x1773]=_0x51d908(0x32e),_0x56f67d[_0x56f67d['APPLY_REJECT']=0x1b59]=_0x51d908(0x488),_0x56f67d[_0x56f67d[_0x51d908(0x308)]=0x1b5a]=_0x51d908(0x308),_0x56f67d[_0x56f67d[_0x51d908(0x21c)]=0x1b5b]=_0x51d908(0x21c),_0x56f67d[_0x56f67d[_0x51d908(0x2ee)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x56f67d[_0x56f67d[_0x51d908(0x481)]=0x1b5d]=_0x51d908(0x481),_0x56f67d[_0x56f67d[_0x51d908(0x2b4)]=0x1f41]=_0x51d908(0x2b4),_0x56f67d[_0x56f67d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x373)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x56f67d[_0x56f67d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51d908(0x4b7),_0x56f67d[_0x56f67d[_0x51d908(0x3a7)]=0x232c]=_0x51d908(0x3a7),_0x56f67d[_0x56f67d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x51d908(0x20e),_0x56f67d[_0x56f67d[_0x51d908(0x260)]=0x2711]=_0x51d908(0x260),_0x56f67d[_0x56f67d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x51d908(0x3a9),_0x56f67d[_0x56f67d[_0x51d908(0x31d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x56f67d[_0x56f67d[_0x51d908(0x3b8)]=0x2714]=_0x51d908(0x3b8),_0x56f67d[_0x56f67d[_0x51d908(0x49c)]=0x271a]=_0x51d908(0x49c),_0x56f67d[_0x56f67d[_0x51d908(0x3f4)]=0x271b]=_0x51d908(0x3f4),_0x56f67d[_0x56f67d[_0x51d908(0x3a4)]=0x271c]=_0x51d908(0x3a4),_0x56f67d[_0x56f67d[_0x51d908(0x371)]=0x271d]=_0x51d908(0x371),_0x56f67d[_0x56f67d[_0x51d908(0x32a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x27e)]=0x271f]=_0x51d908(0x27e),_0x56f67d[_0x56f67d[_0x51d908(0x2a0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x56f67d[_0x56f67d[_0x51d908(0x206)]=0x2af9]=_0x51d908(0x206),_0x56f67d[_0x56f67d[_0x51d908(0x270)]=0x2ee1]=_0x51d908(0x270),_0x56f67d[_0x56f67d['INVALID_INVITE_CODE']=0x2ee2]=_0x51d908(0x215),_0x56f67d[_0x56f67d[_0x51d908(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x56f67d[_0x56f67d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51d908(0x49d),_0x56f67d[_0x56f67d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x51d908(0x38c),_0x56f67d[_0x56f67d[_0x51d908(0x3bc)]=0x32c9]=_0x51d908(0x3bc),_0x56f67d[_0x56f67d[_0x51d908(0x46a)]=0x32ca]=_0x51d908(0x46a),_0x56f67d[_0x56f67d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x51d908(0x1f9),_0x56f67d[_0x56f67d[_0x51d908(0x3e0)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x56f67d[_0x56f67d[_0x51d908(0x49e)]=0x36b2]=_0x51d908(0x49e),_0x56f67d[_0x56f67d[_0x51d908(0x294)]=0x36b3]=_0x51d908(0x294),_0x56f67d[_0x56f67d[_0x51d908(0x407)]=0x36b4]=_0x51d908(0x407),_0x56f67d[_0x56f67d['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x51d908(0x3da),_0x56f67d[_0x56f67d[_0x51d908(0x3dd)]=0x36b6]=_0x51d908(0x3dd),_0x56f67d[_0x56f67d[_0x51d908(0x2a5)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x56f67d[_0x56f67d['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x51d908(0x3b3),_0x56f67d[_0x56f67d[_0x51d908(0x411)]=0x3715]=_0x51d908(0x411),_0x56f67d[_0x56f67d[_0x51d908(0x3c4)]=0x3716]=_0x51d908(0x3c4),_0x56f67d[_0x56f67d['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x51d908(0x28a),_0x56f67d[_0x56f67d[_0x51d908(0x33d)]=0x37dd]=_0x51d908(0x33d),_0x56f67d[_0x56f67d[_0x51d908(0x454)]=0x3a99]=_0x51d908(0x454),_0x56f67d[_0x56f67d[_0x51d908(0x426)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x56f67d[_0x56f67d[_0x51d908(0x2b7)]=0x3a9b]=_0x51d908(0x2b7),_0x56f67d[_0x56f67d[_0x51d908(0x22f)]=0x3a9c]=_0x51d908(0x22f),_0x56f67d[_0x56f67d[_0x51d908(0x475)]=0x3a9d]=_0x51d908(0x475),_0x56f67d[_0x56f67d[_0x51d908(0x2b6)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x56f67d[_0x56f67d[_0x51d908(0x393)]=0x3a9f]=_0x51d908(0x393),_0x56f67d[_0x56f67d[_0x51d908(0x2e3)]=0x3e81]=_0x51d908(0x2e3),_0x56f67d[_0x56f67d[_0x51d908(0x340)]=-0x1]=_0x51d908(0x340),_0x56f67d))(_0x28a552||{});function _0x32f173(_0x34dddf){const _0x1d55ae=_0x51d908;var _0x1cb7a5,_0x47c66e;const _0x7c784d=(_0x1cb7a5=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x1cb7a5[_0x1d55ae(0x433)],_0x53a561=((_0x47c66e=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x47c66e[_0x1d55ae(0x2bc)])||0x0;return _0x7c784d===_0x150340[_0x1d55ae(0x3ee)][_0x1d55ae(0x2c8)]&&_0x53a561>0x0;}function _0x9ee2b8(_0x44f205){const _0x523896=_0x51d908;return _0x44f205[_0x523896(0x246)]===_0x150340[_0x523896(0x289)][_0x523896(0x297)];}var _0x358438=Object[_0x51d908(0x34e)],_0x3b80b6=(_0x4d8881,_0x40ddb5,_0x363f3c,_0x795c1b)=>{const _0x5e3d62=_0x51d908;for(var _0x216768=_0x795c1b>0x1?void 0x0:_0x795c1b?_0x358438(_0x40ddb5,_0x363f3c):_0x40ddb5,_0x32a51c=_0x4d8881[_0x5e3d62(0x3e5)]-0x1,_0x27a9d1;_0x32a51c>=0x0;_0x32a51c--)(_0x27a9d1=_0x4d8881[_0x32a51c])&&(_0x216768=_0x27a9d1(_0x216768)||_0x216768);return _0x216768;},_0x4b008e=(_0x55da95,_0x5c2ea)=>(_0x5594d8,_0x412c17)=>_0x5c2ea(_0x5594d8,_0x412c17,_0x55da95);const _0x8b4fcc=_0x51d908(0x409),_0x1ee3ff='/universer-api/license/formula/limit/start',_0xeba735=_0x51d908(0x43e);let _0x390518=class extends _0xee8662['Disposable']{constructor(_0x48ebb3,_0x2e1379,_0x8474b8,_0x3c7379,_0x1a2888,_0x416f24,_0xd440c9){const _0x24f739=_0x51d908;super(),_0x3dad76(this,_0x24f739(0x2ca),null),_0x3dad76(this,_0x24f739(0x3c5),0x0),_0x3dad76(this,_0x24f739(0x385),0x0),_0x3dad76(this,_0x24f739(0x310),[]),_0x3dad76(this,_0x24f739(0x2e2),0x0),(this[_0x24f739(0x423)]=_0x48ebb3,this[_0x24f739(0x4b6)]=_0x2e1379,this[_0x24f739(0x4ce)]=_0x8474b8,this[_0x24f739(0x3df)]=_0x3c7379,this[_0x24f739(0x4c6)]=_0x1a2888,this[_0x24f739(0x27c)]=_0x416f24,this['_localeService']=_0xd440c9,this[_0x24f739(0x272)]());}['_initCommandInterceptor'](){const _0x7d2c1c=_0x51d908;this[_0x7d2c1c(0x45a)](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4a9)]((_0x42f309,_0x475ea0)=>{const _0x2beea1=_0x7d2c1c;var _0x33eab4;if(_0x42f309['id']!==_0x150340[_0x2beea1(0x400)]['id'])return;const _0xc809e7=_0x42f309[_0x2beea1(0x41e)];if(!this['_hasFormulaInDirtyRanges']((_0x33eab4=_0xc809e7['dirtyRanges'])!=null?_0x33eab4:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x42f309,_0x475ea0),this[_0x2beea1(0x36b)](),new _0xee8662[(_0x2beea1(0x3e4))]();})),this['disposeWithMe'](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4c8)]((_0x24d801,_0x5aa852)=>{const _0x2da25f=_0x7d2c1c;if(_0x24d801['id']!==_0x150340[_0x2da25f(0x212)]['id'])return;const _0x236954=_0x24d801[_0x2da25f(0x41e)];if(_0x32f173(_0x236954)){const _0x353458=_0xee8662['generateRandomId']();this[_0x2da25f(0x310)][_0x2da25f(0x29f)](_0x353458),this['_startCalculationLimit'](_0x353458);}else{if(_0x9ee2b8(_0x236954)&&this[_0x2da25f(0x310)][_0x2da25f(0x3e5)]>0x0){const _0x36adbf=this[_0x2da25f(0x310)][_0x2da25f(0x49b)]();this[_0x2da25f(0x466)](_0x36adbf);}}}));}[_0x51d908(0x32d)](){const _0x1aab18=_0x51d908;super[_0x1aab18(0x32d)](),this[_0x1aab18(0x38a)](),this[_0x1aab18(0x310)]=[],this[_0x1aab18(0x385)]=0x0,this[_0x1aab18(0x3c5)]=0x0,this[_0x1aab18(0x2e2)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4b9691,_0x275f4d){const _0x5deca6=_0x51d908;for(let _0x541d55=0x0;_0x541d55<0x1e;_0x541d55++)try{if(await this[_0x5deca6(0x46e)](),this[_0x5deca6(0x3ed)]()){this[_0x5deca6(0x365)](_0x4b9691,_0x275f4d),this[_0x5deca6(0x423)]['show']({'content':this['_localeService']['t'](_0x5deca6(0x1e8)),'type':_0xefc44b[_0x5deca6(0x316)][_0x5deca6(0x47b)]});return;}await new Promise(_0x24f26d=>{const _0x1632a1=_0x5deca6;this[_0x1632a1(0x2ca)]=window[_0x1632a1(0x288)](_0x24f26d,0x3e8);});}catch(_0x447b7d){this[_0x5deca6(0x27c)][_0x5deca6(0x1f8)](_0x447b7d);}this[_0x5deca6(0x423)][_0x5deca6(0x458)]({'content':this[_0x5deca6(0x4b9)]['t']('formula.calculation.unable'),'type':_0xefc44b['MessageType'][_0x5deca6(0x46b)]});}[_0x51d908(0x365)](_0x126b44,_0x18bb34){const _0x36bd0b=_0x51d908;try{this[_0x36bd0b(0x4b6)][_0x36bd0b(0x45f)](_0x126b44['id'],_0x126b44['params'],_0x18bb34);}catch(_0x3be1c2){this[_0x36bd0b(0x27c)][_0x36bd0b(0x1f8)](_0x3be1c2);}}['_setFormulaLimitStatus'](_0x5ccf9c,_0x563906){const _0x3200c6=_0x51d908;_0x563906<this[_0x3200c6(0x2e2)]||(this[_0x3200c6(0x2e2)]=_0x563906,this[_0x3200c6(0x3c5)]=Number[_0x3200c6(0x3c2)](_0x5ccf9c[_0x3200c6(0x3be)]),this['_currentUsage']=Number[_0x3200c6(0x3c2)](_0x5ccf9c['currentUsage']));}async[_0x51d908(0x299)](_0x39ec59){const _0x2dae99=_0x51d908;var _0x471afe,_0x3cfb6f;const _0x423758=Date[_0x2dae99(0x335)]();try{const _0x263e04=((_0x471afe=this[_0x2dae99(0x4ce)][_0x2dae99(0x412)](_0x34c9b1[_0x2dae99(0x3eb)]))==null?void 0x0:_0x471afe[_0x2dae99(0x347)])||_0x1ee3ff,_0xe1fabf=(await this[_0x2dae99(0x3df)][_0x2dae99(0x3fb)](_0x263e04,{'body':JSON[_0x2dae99(0x464)]({'taskId':_0x39ec59})}))[_0x2dae99(0x2fe)];if(((_0x3cfb6f=_0xe1fabf[_0x2dae99(0x1f8)])==null?void 0x0:_0x3cfb6f['code'])!==_0x28a552['OK'])return;this[_0x2dae99(0x26c)](_0xe1fabf['limitInfo'],_0x423758);}catch(_0x29ef16){this[_0x2dae99(0x27c)][_0x2dae99(0x1f8)](_0x29ef16);}}async[_0x51d908(0x46e)](_0x2f7e30){const _0x5a4c86=_0x51d908;var _0x3fea4a,_0x74af5d;const _0x13dc01=Date[_0x5a4c86(0x335)]();try{const _0x208e77=((_0x3fea4a=this[_0x5a4c86(0x4ce)][_0x5a4c86(0x412)](_0x34c9b1[_0x5a4c86(0x3eb)]))==null?void 0x0:_0x3fea4a['getformulaLimitStatusUrl'])||_0x8b4fcc,_0x3894c7=_0x2f7e30?_0x208e77+_0x5a4c86(0x2dc)+encodeURIComponent(_0x2f7e30):_0x208e77,_0x24fab1=(await this[_0x5a4c86(0x3df)]['get'](_0x3894c7))[_0x5a4c86(0x2fe)];if(((_0x74af5d=_0x24fab1[_0x5a4c86(0x1f8)])==null?void 0x0:_0x74af5d[_0x5a4c86(0x43f)])!==_0x28a552['OK'])return;this[_0x5a4c86(0x26c)](_0x24fab1[_0x5a4c86(0x26d)],_0x13dc01);}catch(_0x5a5e44){this[_0x5a4c86(0x27c)][_0x5a4c86(0x1f8)](_0x5a5e44);}}async[_0x51d908(0x466)](_0x1902f1){const _0x49f76d=_0x51d908;var _0x2606ac,_0x3fb0b2;const _0x3f14bf=Date[_0x49f76d(0x335)]();try{const _0x40b09a=((_0x2606ac=this['_configService'][_0x49f76d(0x412)](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2606ac['releaseFormulaLimitUrl'])||_0xeba735,_0x3effa8=(await this[_0x49f76d(0x3df)][_0x49f76d(0x3fb)](_0x40b09a,{'body':JSON['stringify']({'taskId':_0x1902f1})}))[_0x49f76d(0x2fe)];if(((_0x3fb0b2=_0x3effa8[_0x49f76d(0x1f8)])==null?void 0x0:_0x3fb0b2[_0x49f76d(0x43f)])!==_0x28a552['OK'])return;this[_0x49f76d(0x26c)](_0x3effa8[_0x49f76d(0x26d)],_0x3f14bf);}catch(_0x386a54){this[_0x49f76d(0x27c)]['error'](_0x386a54);}}[_0x51d908(0x3ed)](){const _0x2aae40=_0x51d908;return this[_0x2aae40(0x3c5)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2aae40(0x385)]>0x0;}['_clearPolling'](){const _0x2fb953=_0x51d908;this[_0x2fb953(0x2ca)]&&(clearTimeout(this[_0x2fb953(0x2ca)]),this[_0x2fb953(0x2ca)]=null);}[_0x51d908(0x36b)](){const _0x55cc16=_0x51d908;this[_0x55cc16(0x423)][_0x55cc16(0x458)]({'content':this[_0x55cc16(0x4b9)]['t'](_0x55cc16(0x446)),'type':_0xefc44b['MessageType'][_0x55cc16(0x287)]});}['_hasFormulaInDirtyRanges'](_0x4ba447){const _0x330f4d=_0x51d908;for(const _0x43738d of _0x4ba447){const {unitId:_0x34a176,sheetId:_0x5dc196,range:_0x32e114}=_0x43738d,_0x99ecb9=this['_univerInstanceService']['getUnit'](_0x34a176);if(!_0x99ecb9)continue;const _0x3349aa=_0x99ecb9[_0x330f4d(0x3a6)](_0x5dc196);if(!_0x3349aa)continue;const _0xce5d96=_0x3349aa[_0x330f4d(0x42d)]();for(let _0x1ba7dd=_0x32e114[_0x330f4d(0x25e)];_0x1ba7dd<=_0x32e114[_0x330f4d(0x2d5)];_0x1ba7dd++)for(let _0x3745e7=_0x32e114[_0x330f4d(0x1ec)];_0x3745e7<=_0x32e114[_0x330f4d(0x34d)];_0x3745e7++){const _0x448cb6=_0xce5d96[_0x330f4d(0x319)](_0x1ba7dd,_0x3745e7);if(_0x448cb6&&(_0xee8662[_0x330f4d(0x43a)](_0x448cb6['f'])||_0xee8662['isFormulaId'](_0x448cb6['si'])))return!0x0;}}return!0x1;}};_0x390518=_0x3b80b6([_0x4b008e(0x0,_0xee8662[_0x51d908(0x35b)](_0x2dde38['IMessageService'])),_0x4b008e(0x1,_0xee8662[_0x51d908(0x2a9)]),_0x4b008e(0x2,_0xee8662[_0x51d908(0x487)]),_0x4b008e(0x3,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x4b008e(0x4,_0xee8662[_0x51d908(0x3b1)]),_0x4b008e(0x5,_0xee8662[_0x51d908(0x4b0)]),_0x4b008e(0x6,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x390518);var _0x19c6c2=Object[_0x51d908(0x34e)],_0x506e2c=(_0x22753c,_0x572196,_0x20e966,_0x4d0bd0)=>{for(var _0x1a2f2d=_0x4d0bd0>0x1?void 0x0:_0x4d0bd0?_0x19c6c2(_0x572196,_0x20e966):_0x572196,_0x5a6776=_0x22753c['length']-0x1,_0x1f30c6;_0x5a6776>=0x0;_0x5a6776--)(_0x1f30c6=_0x22753c[_0x5a6776])&&(_0x1a2f2d=_0x1f30c6(_0x1a2f2d)||_0x1a2f2d);return _0x1a2f2d;},_0xc84cb2=(_0x3ea0bf,_0x4f2011)=>(_0x3dc33a,_0x1b07a4)=>_0x4f2011(_0x3dc33a,_0x1b07a4,_0x3ea0bf);let _0x20f687=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x1f7fb2,_0x57713e,_0x16784c){const _0x5b1b9c=_0x51d908;super(),_0x3dad76(this,_0x5b1b9c(0x20c),new Map()),_0x3dad76(this,_0x5b1b9c(0x48a),new Map()),_0x3dad76(this,'_disabled',!0x1),(this['_configService']=_0x1f7fb2,this[_0x5b1b9c(0x37d)]=_0x57713e,this[_0x5b1b9c(0x3aa)]=_0x16784c);}[_0x51d908(0x29e)](){this['_disabled']=!0x0;}[_0x51d908(0x414)](){const _0x34a77b=_0x51d908;this[_0x34a77b(0x39c)]=!0x1;}get[_0x51d908(0x24d)](){const _0x16c585=_0x51d908;return this[_0x16c585(0x48a)];}[_0x51d908(0x32d)](){const _0xc7287e=_0x51d908;this[_0xc7287e(0x370)]()[_0xc7287e(0x2ec)](()=>super[_0xc7287e(0x32d)]());}async['loadOfflineData'](_0x27fcdc){const _0x5eb4dc=_0x51d908;return this[_0x5eb4dc(0x39c)]?null:this[_0x5eb4dc(0x37d)][_0x5eb4dc(0x2e5)](_0x34c9b1[_0x5eb4dc(0x2f2)](_0x27fcdc));}async[_0x51d908(0x22a)](_0x28a260,_0x133a1a){const _0x3e6c81=_0x51d908;return!!this[_0x3e6c81(0x37d)][_0x3e6c81(0x219)](_0x28a260,_0x133a1a);}['updateOfflineData'](_0x374d2c,_0x28abcc,_0x2824e6,_0x32a087){const _0x2d063b=_0x51d908,_0x20116d=this['_revisionService'][_0x2d063b(0x2b8)](_0x374d2c);this['_cachedData'][_0x2d063b(0x4c5)](_0x374d2c,{'unitID':_0x374d2c,'type':_0x28abcc,'awaitingChangeset':_0x2824e6,'mutations':_0x32a087,'rev':_0x20116d}),this[_0x2d063b(0x48a)][_0x2d063b(0x398)](_0x374d2c)||this[_0x2d063b(0x30b)](_0x374d2c);}[_0x51d908(0x30b)](_0x5072a6){const _0x1e652c=_0x51d908,_0x5c7685=this[_0x1e652c(0x47f)]();_0x5c7685===0x0?this[_0x1e652c(0x41c)](_0x5072a6):this['_saveTaskMap'][_0x1e652c(0x4c5)](_0x5072a6,setTimeout(()=>this['_saveCache'](_0x5072a6),_0x5c7685));}[_0x51d908(0x47f)](){const _0x4aacde=_0x51d908;var _0x21b51f;return(_0x21b51f=this[_0x4aacde(0x4ce)][_0x4aacde(0x412)](_0x34c9b1[_0x4aacde(0x364)]))!=null?_0x21b51f:_0x34c9b1[_0x4aacde(0x256)];}[_0x51d908(0x41c)](_0x5efae1){const _0x2f5087=_0x51d908,_0x3304e7=this[_0x2f5087(0x48a)][_0x2f5087(0x2ea)](_0x5efae1);return _0x3304e7!==void 0x0&&window[_0x2f5087(0x3f7)](_0x3304e7),this[_0x2f5087(0x37d)][_0x2f5087(0x219)](_0x34c9b1[_0x2f5087(0x2f2)](_0x5efae1),this[_0x2f5087(0x20c)][_0x2f5087(0x2ea)](_0x5efae1))[_0x2f5087(0x2ec)](()=>this['_saveTaskMap']['delete'](_0x5efae1));}async[_0x51d908(0x370)](){const _0x128c9d=_0x51d908,_0xd704d4=[];this[_0x128c9d(0x48a)][_0x128c9d(0x204)]((_0x75e55f,_0x10c948)=>{const _0x1ded2e=_0x128c9d;window[_0x1ded2e(0x3f7)](_0x75e55f),_0xd704d4['push'](this[_0x1ded2e(0x41c)](_0x10c948)[_0x1ded2e(0x2ec)](()=>{const _0x22e75b=_0x1ded2e;this[_0x22e75b(0x48a)][_0x22e75b(0x3fe)](_0x10c948);}));}),await Promise['all'](_0xd704d4);}};_0x20f687=_0x506e2c([_0xc84cb2(0x0,_0xee8662[_0x51d908(0x487)]),_0xc84cb2(0x1,_0xee8662[_0x51d908(0x1fc)]),_0xc84cb2(0x2,_0xee8662['Inject'](_0x597660[_0x51d908(0x21a)]))],_0x20f687);class _0xa62502 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x1a7b65=_0x51d908;super(),_0x3dad76(this,_0x1a7b65(0x2f4)),this[_0x1a7b65(0x2f4)]=_0x3b7fba[_0x1a7b65(0x315)](window,_0x1a7b65(0x3ef))[_0x1a7b65(0x2ba)](_0x3b7fba[_0x1a7b65(0x2a7)](this[_0x1a7b65(0x3b5)]),_0x3b7fba[_0x1a7b65(0x31a)](0x1),_0x3b7fba['mapTo'](void 0x0));}[_0x51d908(0x413)](_0x1f9ea8,_0x372e6d,_0xb3c4d5=!0x1){const _0xc035ab=_0x51d908,_0x21081c=new URL(window[_0xc035ab(0x25a)][_0xc035ab(0x4b2)]);_0x21081c['searchParams'][_0xc035ab(0x4c5)](_0x1f9ea8,_0x372e6d),_0xb3c4d5?window[_0xc035ab(0x444)][_0xc035ab(0x28e)]('','',_0x21081c[_0xc035ab(0x344)]()):window[_0xc035ab(0x444)][_0xc035ab(0x39f)]('','',_0x21081c[_0xc035ab(0x344)]());}[_0x51d908(0x30c)](_0x342fa2,_0x5210df=!0x1){const _0x35bf08=_0x51d908,_0x317b28=new URL(window[_0x35bf08(0x25a)][_0x35bf08(0x4b2)]);_0x317b28['searchParams'][_0x35bf08(0x3fe)](_0x342fa2),_0x5210df?window[_0x35bf08(0x444)][_0x35bf08(0x28e)]('','',_0x317b28['toString']()):window[_0x35bf08(0x444)]['pushState']('','',_0x317b28[_0x35bf08(0x344)]());}[_0x51d908(0x2c3)](_0x4e9252){const _0x17e227=_0x51d908;var _0x44fb2f;return(_0x44fb2f=new URL(window[_0x17e227(0x25a)][_0x17e227(0x4b2)])['searchParams'][_0x17e227(0x2ea)](_0x4e9252))!=null?_0x44fb2f:void 0x0;}}var _0x373fea=Object['defineProperty'],_0x2ed33f=Object[_0x51d908(0x34e)],_0x2320ae=(_0x469b2a,_0xf32d97,_0x2e262f)=>_0xf32d97 in _0x469b2a?_0x373fea(_0x469b2a,_0xf32d97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e262f}):_0x469b2a[_0xf32d97]=_0x2e262f,_0x2f68f7=(_0xac9f73,_0x3ef4bf,_0x50efa5,_0x39b4b7)=>{const _0x5c1637=_0x51d908;for(var _0x3aaf7f=_0x39b4b7>0x1?void 0x0:_0x39b4b7?_0x2ed33f(_0x3ef4bf,_0x50efa5):_0x3ef4bf,_0x4a6f64=_0xac9f73[_0x5c1637(0x3e5)]-0x1,_0x3a4023;_0x4a6f64>=0x0;_0x4a6f64--)(_0x3a4023=_0xac9f73[_0x4a6f64])&&(_0x3aaf7f=_0x3a4023(_0x3aaf7f)||_0x3aaf7f);return _0x3aaf7f;},_0x181ef4=(_0x1df3c1,_0xd8769)=>(_0x13dfcf,_0x4dfd87)=>_0xd8769(_0x13dfcf,_0x4dfd87,_0x1df3c1),_0x13fb9f=(_0x15d076,_0x266c41,_0x5ed013)=>_0x2320ae(_0x15d076,_0x266c41+'',_0x5ed013);const _0x1f5055=_0x51d908(0x259);_0x7f96f7[_0x51d908(0x2cc)]=class extends _0xee8662['Plugin']{constructor(_0x1d8cd4=_0x377916,_0x100b59,_0x1ab0b8,_0x1b13cb){const _0x56cd9d=_0x51d908;super(),this[_0x56cd9d(0x35c)]=_0x1d8cd4,this[_0x56cd9d(0x334)]=_0x100b59,this[_0x56cd9d(0x3e2)]=_0x1ab0b8,this[_0x56cd9d(0x4ce)]=_0x1b13cb;const {..._0x542af6}=_0xee8662[_0x56cd9d(0x378)]({},_0x377916,this[_0x56cd9d(0x35c)]);this['_configService'][_0x56cd9d(0x47a)](_0x52af33,_0x542af6);}['onStarting'](){const _0xb67af7=_0x51d908;this[_0xb67af7(0x2f8)](),this[_0xb67af7(0x4c0)]();}[_0x51d908(0x425)](){const _0x37a922=_0x51d908;this[_0x37a922(0x4ba)]();}[_0x51d908(0x2f8)](){const _0x3025c1=_0x51d908;var _0x2ce44f;const _0x547c39=[[_0x280e8f],[_0x390518],[_0x359b23],[_0xe97add],[_0x149e20],[_0x3808c8],[_0x188e9b,{'useClass':_0xa62502}],[_0x4d0037[_0x3025c1(0x479)],{'useClass':_0x4d0037['WebSocketService']}],[_0x34c9b1['ILocalCacheService'],{'useClass':_0x20f687}],[_0x7f96f7[_0x3025c1(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x16e293],[_0x124e21],[_0x7f96f7[_0x3025c1(0x4ca)]]];this['_config'][_0x3025c1(0x2ad)]&&_0x547c39[_0x3025c1(0x29f)]([_0x182b9c]),_0xee8662[_0x3025c1(0x2d3)](this['_injector'],_0xee8662[_0x3025c1(0x42a)](_0x547c39,(_0x2ce44f=this[_0x3025c1(0x35c)])==null?void 0x0:_0x2ce44f[_0x3025c1(0x352)]));}[_0x51d908(0x4ba)](){const _0x1afcc1=_0x51d908;this['disposeWithMe'](this[_0x1afcc1(0x334)]['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x2b1)],[_0x3a6e42])),this[_0x1afcc1(0x45a)](this['_renderManagerService']['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x1eb)],[_0x21834f]));}[_0x51d908(0x4c0)](){const _0x404690=_0x51d908;_0xee8662[_0x404690(0x350)](this[_0x404690(0x3e2)],[[_0x16e293],[_0x7f96f7[_0x404690(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x7f96f7[_0x404690(0x4ca)]],[_0x390518]]),this['_config']['enableFrontendLog']&&_0xee8662[_0x404690(0x350)](this['_injector'],[[_0x182b9c]]);}},_0x13fb9f(_0x7f96f7['UniverCollaborationClientUIPlugin'],_0x51d908(0x46d),_0x1f5055),_0x7f96f7[_0x51d908(0x2cc)]=_0x2f68f7([_0xee8662['DependentOn'](_0x34c9b1[_0x51d908(0x45e)]),_0x181ef4(0x1,_0x358391[_0x51d908(0x2d6)]),_0x181ef4(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x181ef4(0x3,_0xee8662['IConfigService'])],_0x7f96f7[_0x51d908(0x2cc)]);var _0x18494b=Object[_0x51d908(0x34e)],_0x1f7800=(_0x2e0c43,_0x2d3ef7,_0x13d874,_0x3f7b96)=>{const _0x535a55=_0x51d908;for(var _0x537268=_0x3f7b96>0x1?void 0x0:_0x3f7b96?_0x18494b(_0x2d3ef7,_0x13d874):_0x2d3ef7,_0x284ed1=_0x2e0c43[_0x535a55(0x3e5)]-0x1,_0x479536;_0x284ed1>=0x0;_0x284ed1--)(_0x479536=_0x2e0c43[_0x284ed1])&&(_0x537268=_0x479536(_0x537268)||_0x537268);return _0x537268;},_0x58729f=(_0x2a8747,_0x45febd)=>(_0x44d395,_0x4fee78)=>_0x45febd(_0x44d395,_0x4fee78,_0x2a8747);_0x7f96f7[_0x51d908(0x379)]=class extends _0x34c9b1[_0x51d908(0x2db)]{constructor(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6){super(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6);}async['createSocket'](_0x46d27e){const _0x3a9719=_0x51d908,_0x40ea73=await this[_0x3a9719(0x39b)](),_0x58f32d=this[_0x3a9719(0x231)](_0x46d27e,_0x40ea73);return this[_0x3a9719(0x440)](_0x58f32d);}[_0x51d908(0x231)](_0x45d0c5,_0x3b3fd9){const _0x4d09e9=_0x51d908,_0x3dbfd3=typeof window>'u'?new URL(_0x45d0c5):new URL(_0x45d0c5,window[_0x4d09e9(0x25a)][_0x4d09e9(0x392)]);_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)](_0x4d09e9(0x227),_0x3b3fd9);const _0x4b9321=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d09e9(0x25a)]['search']);return _0x4b9321['get'](_0x4d09e9(0x4c4))&&_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)]('runId',_0x4b9321['get'](_0x4d09e9(0x4c4))),_0x3dbfd3[_0x4d09e9(0x344)]();}async[_0x51d908(0x39b)](){const _0x26eb79=_0x51d908;var _0x254ed9,_0x44a5f4,_0x3616af;const _0xa699c0=this[_0x26eb79(0x4ce)]['getConfig'](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x411445=(_0x254ed9=_0xa699c0==null?void 0x0:_0xa699c0['wsSessionTicketUrl'])!=null?_0x254ed9:_0x34c9b1['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3616af=(_0x44a5f4=(await this[_0x26eb79(0x3df)][_0x26eb79(0x2ea)](_0x411445,{'headers':{'Content-Type':_0x26eb79(0x2f9)}}))[_0x26eb79(0x2fe)])==null?void 0x0:_0x44a5f4[_0x26eb79(0x201)])!=null?_0x3616af:'';}},_0x7f96f7[_0x51d908(0x379)]=_0x1f7800([_0x58729f(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x58729f(0x1,_0xee8662['Inject'](_0x4d0037[_0x51d908(0x32f)])),_0x58729f(0x2,_0xee8662[_0x51d908(0x487)]),_0x58729f(0x3,_0xee8662[_0x51d908(0x4b0)]),_0x58729f(0x4,_0x597660['ISnapshotServerService'])],_0x7f96f7[_0x51d908(0x379)]);var _0x2e334d=Object[_0x51d908(0x34e)],_0x223763=(_0x37ec36,_0x52e91f,_0x1a1b48,_0x84f114)=>{const _0x14be3d=_0x51d908;for(var _0x58816e=_0x84f114>0x1?void 0x0:_0x84f114?_0x2e334d(_0x52e91f,_0x1a1b48):_0x52e91f,_0x394022=_0x37ec36[_0x14be3d(0x3e5)]-0x1,_0x2f53a8;_0x394022>=0x0;_0x394022--)(_0x2f53a8=_0x37ec36[_0x394022])&&(_0x58816e=_0x2f53a8(_0x58816e)||_0x58816e);return _0x58816e;},_0x971ccb=(_0x1b38fa,_0x5447a6)=>(_0x4fb2a9,_0x41fbf4)=>_0x5447a6(_0x4fb2a9,_0x41fbf4,_0x1b38fa);_0x7f96f7[_0x51d908(0x271)]=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x2b92c6,_0xb150e1,_0x33cf42){const _0x4b47de=_0x51d908;super(),this[_0x4b47de(0x27d)]=_0x2b92c6,this['_httpService']=_0xb150e1,this['_configService']=_0x33cf42;}async[_0x51d908(0x441)](_0x3891ac,_0x23bcf8,_0x24606e,..._0x5c0f07){const _0x269ef2=_0x51d908;var _0x26a77f,_0x5dfcf2,_0x42e375,_0x3346f6;const _0x32c718=this[_0x269ef2(0x27d)][_0x269ef2(0x247)]();if(!_0x32c718)throw new Error(_0x269ef2(0x28b));const _0x1d49e9=((_0x26a77f=this[_0x269ef2(0x4ce)][_0x269ef2(0x412)](_0x34c9b1[_0x269ef2(0x262)]))!=null?_0x26a77f:_0x34c9b1[_0x269ef2(0x447)])+'/'+_0x3891ac+_0x269ef2(0x4ac)+_0x23bcf8,_0x162ee2=new URL(window['location'][_0x269ef2(0x4b2)]),_0x3472a6={'scriptId':_0x3891ac,'runId':(_0x5dfcf2=_0x162ee2['searchParams'][_0x269ef2(0x2ea)](_0x269ef2(0x4c4)))!=null?_0x5dfcf2:'','function':_0x23bcf8,'unitId':_0x32c718[_0x269ef2(0x3d9)](),'argsOfFunction':JSON[_0x269ef2(0x464)](_0x5c0f07),'invokeId':(_0x42e375=_0x24606e[_0x269ef2(0x24a)])!=null?_0x42e375:'','executionId':(_0x3346f6=_0x24606e[_0x269ef2(0x264)])!=null?_0x3346f6:''};try{const _0x46aabf=await this['_httpService'][_0x269ef2(0x3fb)](_0x1d49e9,{'body':_0x3472a6});return _0x46aabf['body']['error']&&_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x1f8)][_0x269ef2(0x43f)]!==_0x28a552['OK']?_0x269ef2(0x24f):_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x37e)];}catch{return'Failed';}}},_0x7f96f7['RemoteUniscriptService']=_0x223763([_0x971ccb(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x971ccb(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x971ccb(0x2,_0xee8662[_0x51d908(0x487)])],_0x7f96f7[_0x51d908(0x271)]);const _0x67458c=0x7530,_0x50edcd=_0x51d908(0x2c2);class _0x4f0a97 extends _0xee8662['Disposable']{constructor(){const _0x5e9fca=_0x51d908;super(),_0x3dad76(this,_0x5e9fca(0x2ef),_0xee8662['generateRandomId']()),_0x3dad76(this,_0x5e9fca(0x22d),new Set()),_0x3dad76(this,_0x5e9fca(0x304),new Map()),_0x3dad76(this,_0x5e9fca(0x269),null),_0x3dad76(this,_0x5e9fca(0x399),new Map()),_0x3dad76(this,_0x5e9fca(0x25b),new Map()),this[_0x5e9fca(0x336)]();}[_0x51d908(0x32d)](){const _0x29096c=_0x51d908;super[_0x29096c(0x32d)](),this[_0x29096c(0x399)][_0x29096c(0x204)]((_0x1dd37a,_0x2a96d5)=>this[_0x29096c(0x3d5)](_0x2a96d5)),this['_heartbeatTimer']&&window[_0x29096c(0x322)](this[_0x29096c(0x269)]);}[_0x51d908(0x284)](_0x329237){const _0x29de41=_0x51d908;return this[_0x29de41(0x47e)](_0x329237)[_0x29de41(0x2ba)](_0x3b7fba[_0x29de41(0x3a0)]());}[_0x51d908(0x3f5)](_0x1d375d){const _0x9cbb11=_0x51d908;this[_0x9cbb11(0x22d)][_0x9cbb11(0x283)]===0x0&&this[_0x9cbb11(0x26e)](),this[_0x9cbb11(0x22d)][_0x9cbb11(0x3b7)](_0x1d375d),this['_send']({'type':0x0,'memberID':this[_0x9cbb11(0x2ef)],'unitIDs':[_0x1d375d],'isForwarded':!0x1});}[_0x51d908(0x28c)](_0x2be12d){const _0x3688de=_0x51d908;this[_0x3688de(0x22d)]['delete'](_0x2be12d),this[_0x3688de(0x22d)][_0x3688de(0x283)]===0x0&&this[_0x3688de(0x269)]&&window[_0x3688de(0x322)](this['_heartbeatTimer']);}[_0x51d908(0x336)](){const _0xe0928e=_0x51d908;this[_0xe0928e(0x45a)](_0xee8662[_0xe0928e(0x211)](_0x3b7fba[_0xe0928e(0x315)](window,_0xe0928e(0x363))[_0xe0928e(0x329)](_0x28fa74=>{const _0x10a642=_0xe0928e;if(_0x28fa74['key']!==_0x50edcd||!_0x28fa74[_0x10a642(0x4cc)])return;const _0x5e6023=JSON['parse'](_0x28fa74[_0x10a642(0x4cc)]);this['_handleEvent'](_0x5e6023);}))),window[_0xe0928e(0x438)](_0xe0928e(0x471),()=>this[_0xe0928e(0x388)]({'type':0x1,'memberID':this[_0xe0928e(0x2ef)],'unitIDs':Array[_0xe0928e(0x3cb)](this[_0xe0928e(0x22d)])}));}[_0x51d908(0x2aa)](_0x2dee78){const _0xbb9fad=_0x51d908;switch(_0x2dee78[_0xbb9fad(0x4b1)]){case 0x0:this[_0xbb9fad(0x266)](_0x2dee78);break;case 0x1:this['_handleLeaveEvent'](_0x2dee78);break;case 0x2:this[_0xbb9fad(0x29a)](_0x2dee78);break;}}[_0x51d908(0x266)](_0x15b75e){const _0x33374d=_0x51d908,{unitIDs:_0x330e3c,memberID:_0x1003f2,isForwarded:_0x348ebb}=_0x15b75e;_0x330e3c['forEach'](_0x3a74c4=>{const _0x351fda=_0x2c0f;if(!_0x348ebb&&this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)&&this[_0x351fda(0x47e)](_0x3a74c4)[_0x351fda(0x2e1)](_0x34c9b1[_0x351fda(0x2f5)][_0x351fda(0x418)]),!this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)||!this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)['has'](_0x1003f2)){const _0xcee430=this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)||new Set();_0xcee430[_0x351fda(0x3b7)](_0x1003f2),this[_0x351fda(0x304)][_0x351fda(0x4c5)](_0x3a74c4,_0xcee430),this['_scheduleClearOtherTimer'](_0x1003f2);}}),_0x348ebb||this[_0x33374d(0x388)]({'type':0x0,'memberID':this[_0x33374d(0x2ef)],'unitIDs':[...this[_0x33374d(0x22d)]],'isForwarded':!0x0});}[_0x51d908(0x275)](_0x3a24de){const _0x5e15ef=_0x51d908;this['_removeClearOtherTimer'](_0x3a24de);const _0x11b927=window['setTimeout'](()=>{const _0x33014d=_0x2c0f;this[_0x33014d(0x304)][_0x33014d(0x204)](_0x12ab70=>{_0x12ab70['delete'](_0x3a24de);});},_0x67458c*0x2);this[_0x5e15ef(0x399)]['set'](_0x3a24de,_0x11b927);}[_0x51d908(0x3d5)](_0x465ccb){const _0xec26e1=_0x51d908;if(this[_0xec26e1(0x399)][_0xec26e1(0x398)](_0x465ccb)){const _0x45cb84=this[_0xec26e1(0x399)][_0xec26e1(0x2ea)](_0x465ccb);_0x45cb84&&window[_0xec26e1(0x3f7)](_0x45cb84),this[_0xec26e1(0x399)][_0xec26e1(0x4c5)](_0x465ccb,null);}}['_handleLeaveEvent'](_0x3ac982){const _0x4bc887=_0x51d908,{memberID:_0x347b98,unitIDs:_0x259f36}=_0x3ac982;_0x259f36[_0x4bc887(0x204)](_0x363bc3=>{const _0x59f2fe=_0x4bc887;var _0x291684;const _0x3e20fc=this[_0x59f2fe(0x304)][_0x59f2fe(0x2ea)](_0x363bc3);_0x3e20fc&&(_0x3e20fc[_0x59f2fe(0x3fe)](_0x347b98),(_0x291684=this['_ensureSubject'](_0x363bc3))==null||_0x291684[_0x59f2fe(0x2e1)](_0x3e20fc['size']===0x0?_0x34c9b1[_0x59f2fe(0x2f5)]['NO_OTHER_CLIENTS_EDITING']:_0x34c9b1['UnitStatus'][_0x59f2fe(0x418)]));}),this['_removeClearOtherTimer'](_0x347b98);}[_0x51d908(0x29a)](_0x46a850){const _0xe87eba=_0x51d908;this['_scheduleClearOtherTimer'](_0x46a850[_0xe87eba(0x2ab)]);}[_0x51d908(0x388)](_0x8c6d9b){localStorage['setItem'](_0x50edcd,JSON['stringify'](_0x8c6d9b));}[_0x51d908(0x26e)](){const _0x501db2=_0x51d908;this['_heartbeatTimer']=window[_0x501db2(0x342)](()=>{const _0x59528e=_0x501db2;this['_send']({'type':0x2,'memberID':this[_0x59528e(0x2ef)]});},_0x67458c);}[_0x51d908(0x47e)](_0x53a1e5){const _0x19e41f=_0x51d908;return this[_0x19e41f(0x25b)][_0x19e41f(0x398)](_0x53a1e5)||this[_0x19e41f(0x25b)][_0x19e41f(0x4c5)](_0x53a1e5,new _0x3b7fba[(_0x19e41f(0x45d))](_0x34c9b1[_0x19e41f(0x2f5)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x19e41f(0x25b)][_0x19e41f(0x2ea)](_0x53a1e5);}}_0x7f96f7[_0x51d908(0x3a5)]=_0x188e9b,_0x7f96f7[_0x51d908(0x203)]=_0x118cd0,_0x7f96f7[_0x51d908(0x3ae)]=_0x4f0a97,_0x7f96f7[_0x51d908(0x22e)]=_0xa62502,Object[_0x51d908(0x359)](_0x7f96f7,Symbol[_0x51d908(0x4be)],{'value':_0x51d908(0x480)});}));function _0x4670(){const _0x48224d=['addObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getVpScrollXYInfoByPosToVp','M0\x200H16V16H0z','getMergeData','764460tRyDtR','merge','BrowserCollaborationSocketService','_labelPosition','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','_localStorageService','result','_imageIoService','24dyoGEL','uni.network.url-service','function','sheetId','fillRule','_currentUsage','currentSkeleton$','_document','_send','beginPath','_clearPolling','collabStatus.syncing','INVITE_CODE_ALREADY_BOUND','getColorFromTheme','colorChannel1','_scene','stageInfo','UNAUTHENTICATED','origin','REDEMPTION_CODE_HAS_BEEN_CREATED','IUIPartsService','triggerDblclick','195599qkbVFo','height','has','_clearOtherTimers','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','_getSessionTicket','_disabled','sessionStatus$','@univerjs/core','pushState','distinctUntilChanged','session.collaboration-timeout','UniverDocs','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IURLService','getSheetBySheetId','LICENSE_EXPORT_SIZE_EXCEEDED','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','_revisionService','includes','values','getRenderById','WebBrowserSingleActiveUnitService','@univerjs/sheets','OnLineIcon','IUniverInstanceService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_initEvent','dispose$','reason','add','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','_uploadLog','UniverEngineFormula','WECHAT_HAS_BEEN_BOUND','getCurrentSelections','maxFormulaLimit','Optional','EMAIL_VERIFY_CODE_MISMATCH','on-line-icon_clip0_910_349','parseInt','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','_maxFormulaLimit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_colorAssignService','color','debug','IMessageService','from','LOGIN_TOKEN_PROCESSING_FAILED','textRanges','imageSourceType','symbol','getColor','skeleton','VIEW_MAIN','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','clsx','_removeClearOtherTimer','[LogService\x20Error]:\x20','getCurrent','_updateCollabCursors','getUnitId','ENTITLE_INVALID_COUPON_CODE','assignAColorForMemberID','react/jsx-runtime','ENTITLE_COUPON_EXPIRED','_collaborationSessionService','_httpService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_updateSubUnitFromURLParams','_injector','syncEditingCollabCursor','CanceledError','length','_collaborationUIEventService','RemoveColCommandId','transformMutationsWithChangeset','Vector2','CLOSE_ROOM','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','text','_checkCalculationAvailable','FormulaExecuteStageType','popstate','data','React','_initStatusComponent','_collabCursorController','YUUMI_ASYNCIO_CANCELLED','editingUnit','sheetID','clearTimeout','registerBeforeClose','setAlpha','drawWith','post','collab-text-range-','whenReady','delete','width','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','_drawRectRange','OffLineIcon','ONLINE','fill','RegularPolygon','PAYMENT_CHANNEL_NOT_SUPPORT','[Window\x20Error]:\x20','/universer-api/license/formula/limit/status','handleIRemoveRow','EffectRefRangId','url(#$1','_urlService','_initCommandExecutedListener','switchMap','idSuffix','ENTITLE_CHAT_LIMIT_EXCEED','getConfig','setParam','enableLocalCache','_hovered','RichTextEditingMutation','DOC_RANGE_TYPE','OTHER_CLIENTS_EDITING','_status$','TEXT_RANGE_LAYER_INDEX','http://www.w3.org/2000/svg','_saveCache','m2Prime','params','USER_IS_ANONYMOUS','getCollabCursors$','UniverDocsUi','_onCursorDelete','_messageService','attrs','onRendered','REDEMPTION_CODE_INACTIVE','_initWindowErrorListener','asObservable','_themeService','mergeOverrideWithDependencies','handleInsertRangeMoveDown','DocIMEInputManagerService','getCellMatrix','...','throttleTime','catch','_online','object','stage','_setupBeforeClosingHandler','onMouseMove','unitID','MOBILE_VERIFY_CODE_MISMATCH','addEventListener','getCollabEntity$','isFormulaString','engine','purple.300','_cursorInfo$','/universer-api/license/formula/limit/done','code','_doCreateSocket','runOnServer','flatMap','save','history','4EWPQRJ','formula.calculation.waiting','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','USER_NOT_FOUND','onPointerLeave$','message','_initEntityListener','/universer-api/frontend/logs','_cursorShapes','@univerjs/docs-ui','reconnect','getSheetId','div','moveTo','REDEMPTION_INVALID_CODE','_entities','_docStateChangeManagerService','join','show','useRef','disposeWithMe','react','_docClipboardService','BehaviorSubject','UniverCollaborationClientPlugin','executeCommand','Rect','subunit','@univerjs/design','cursorInfo','stringify','getTypeOfUnitAdded$','_releaseCalculationLimit','@univerjs/docs','427MfjwVJ','_dataLoaderService','MOBILE_HAS_BEEN_BOUND','Error','LOGIN_FAILED','pluginName','_getFormulaLimitStatus','TEXT','isTransformMutationsWithChangesetSuccess','unload','eventID','findNodePositionByCharIndex','isActive','REDEMPTION_USER_NOT_ELIGIBLE','COLORS','@univerjs/network','evenodd','ISocketService','setConfig','Success','UniverInstanceType','operators','_ensureSubject','_getSaveTimeout','Module','APPLY_DUPLICATED','[Unhandled\x20Rejection]:\x20','measureText','combineLatest','cursorInfo$','saveImage','IConfigService','APPLY_REJECT','column','_saveTaskMap','path','children','ranges','UniverSheetsUi','SOCKET_FAILED_RETRY','rgba(255,\x20255,\x20255,\x200.01)','SetSelectionsOperation','Tools','MoveRangeCommandId','Rectangle','green.600','_beforeCloseService','_eventUnsubscribe','Subject','collaboration-client-ui.config','selection','shift','YUUMI_NO_CUBOID_FOR_QUESTION','USER_NOT_INVITED_CODE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sheetSkeletonManagerService','clipPath','handleInsertRangeMoveRight','getCoordByCell','_handleHover','1em','UPDATE_CURSOR','collabStatus.conflict','collab-text-anchor-','permission.title','beforeCommandExecuted','currentColor','svg','/run/','_removeCollabCursors','addObjects','createIdentifier','ILogService','type','href','DesktopCollaborationStatusDisplayController','InsertRangeMoveRightCommandId','removeEventListener','_commandService','LICENSE_IMPORT_SIZE_EXCEEDED','HEADER_MENU','_localeService','_registerRenderDependencies','row','_anchorDot','CollaborationUIEventService','toStringTag','generateRandomId','_initDependencies','_setupSubUnitSync','Disposable','_onCursorUpdate','runId','set','_univerInstanceService','#FFF','onCommandExecuted','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','_refreshCollabCursors','newValue','debounceTime','_configService','activeSheet$','_memberService','_render','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','map','formula.calculation.started','DocStateChangeManagerService','collab-rect-range-','UNIVER_SHEET','startColumn','deepClone','isArray','SessionStatus','NodePositionConvertToCursor','156VIgURo','round','_anchor','session.will-retry','CURRENT_STATUS_CANNOT_OPERATE','[CollaborationDataLoaderController]','_getScale','error','EMAIL_HAS_BEEN_BOUND','109208fulQtH','url(#off-line-icon_clip0_910_343)','ILocalStorageService','_notificationService','UniverRpc','bottom','collabStatus.synced','ticket','filter','SheetCollabCursorShape','forEach','getUniverSheetInstance','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventId','black','IDocClipboardService','replace','FETCH_MISS','_cachedData','UniverIcon','LICENSE_DISTRO_REJECTED','PERMISSION_DENIED','getRelativeToViewportCoord','toDisposable','SetFormulaCalculationNotificationMutation','getTypeOfUnitDisposed$','getMember','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defIds','getCellPositionByOffset','setItem','RevisionService','createInstance','APPLY_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','mutations','unsubscribe','_range','AUTHORIZE_CODE_ILLEGAL','debounce','AWAITING','NOT_FOUND','transformRemoteChangeset','filename','sessionTicket','_backgroundColor','getSkeleton','saveOfflineData','SheetSkeletonManagerService','blue.400','_selfUnitIDs','WebURLService','REDEMPTION_CODE_NOT_STARTED','_syncEditingCollabCursorService','_createSocketURL','defs','handleMoveRange','_memberID','toRgbString','top','handleInsertCol','RECT','contains','getMemberID','getUndoRedoMutationParamsCache','getActiveSheet','fillText','_initResize','INVITE_CODE_REQUIRED','rxjs','LocaleService','_docTransformSelectionsService','Shape','lineno','UniverDrawing','functionsExecutedState','getFocusedUnit','registerRefRange','_toggleOnline','invokeId','range','addHandlerCallback','saveTaskMap','complete','Failed','getOffsetConfig','1260999WdqbXe','_drawAnchor','Workbook','CONFLICT','string','LOCAL_CACHE_INTERVAL','ThemeService','xlink:href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','location','_unitStatus','getViewport','red.300','startRow','CollaborationSessionService','YUUMI_UNABLE_LOAD_URL','148SUVJOy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','socket$','executionId','with','_handleJoinEvent','unit','init','_heartbeatTimer','UniverSheets','univer-flex\x20univer-items-center','_setFormulaLimitStatus','limitInfo','_scheduleHeartbeat','UniverProCollaboration','INVITE_CODE_HAS_BEEN_UES','RemoteUniscriptService','_initCommandInterceptor','_initStatusListener','_getAnchorBounding','_scheduleClearOtherTimer','40692PHQyOq','unhandledrejection','onPointerEnter$','getUnhiddenWorksheets','unitId','_startSheetCollabCursor','_logService','_instanceService','YUUMI_AI_RUN_FAILED','entityInit$','_docTransformIMECacheService','SetDocZoomRatioOperation','_getSheetObject','size','getUnitStatus$','IImageIoService','_docSkeletonManagerService','Loading','setTimeout','FormulaExecutedStateType','ENTITLE_INSUFFICIENT_QUOTA','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeUnit','collaboration.closeRoom','replaceState','IBeforeCloseService','selections','font','OFFLINE','lineTo','ENTITLE_DUP_SUBSCRIPTION','RemoveRowCommandId','subscribeEvent','SUCCESS','collab-client.tooltip.reconnect','_startCalculationLimit','_handleHeartbeatEvent','_transformPreviousActiveRange','_session','_docSyncEditingCollabCursorService','disableLocalCache','push','YUUMI_CONNECTOR_URL_NOT_FOUND','_refRangeService','getRangePointData','NOT_COLLAB','requireSession','ENTITLE_COUPON_USED_UP','source','takeUntil','_roomMembers$','ICommandService','_handleEvent','memberID','roomMembers$','enableFrontendLog','min','_docSkeleton','tag','UNIVER_DOC','UniverProCollaborationClient','@univerjs-pro/collaboration-client','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','REDEMPTION_CODE_FULLY_REDEEMED','getCurrentRevOfUnit','handleDeleteRangeMoveLeft','pipe','_transformService','totalFormulasToCalculate','mask','setStateCache','transform','transformStateCache','getAncestorScale','ACTIVE_UNIT_EVENT_CHANNEL','getParam','collaboration.offline-data-not-saved','1228956TMqrXP','PENDING','name','START_CALCULATION','session.connection-failed','_pollingInterval','_collaborationController','UniverCollaborationClientUIPlugin','_initUserListener','restore','m1Prime','INTERNAL_ERROR','ERROR_AGAIN','_shapes','registerDependencies','23455WLrdVT','endRow','IRenderManagerService','_name','UniverCore','MemberService','createElement','CollaborationSocketService','?taskId=','Tooltip','@univerjs/engine-formula','InsertRangeMoveDownCommandId','entries','next','_lastResponseTimestamp','DATA_SOURCE_TOO_LARGE','_hideTimer','getItem','@univerjs/ui','_docTransformStateCacheService','INVALID_ARGUMENT','INotificationService','get','RxDisposable','then','ITransformService','APPLY_PERMISSION_DENIED','_id','jsxs','redoState','getLocalCacheKey','_lastPointer','urlChange$','UnitStatus','searchParams','_initUnhandledRejectionListener','_registerDependencies','application/json','setUndoRedoMutationParamsCache','_color','registerComponent','_updateLocalCursor','body','0\x200\x2016\x2016','closePath','IRemoteInstanceService','serializeRangeWithSheet','onTransformChange$','_unitOnClients','_monkeyPatchLogService','current','actions','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','UNDEFINED','_scheduleSaving','removeParam','_cursor','getStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','transformMutation','off-line-icon_clip0_910_343','deserializeRangeWithSheet','Injector','fromEvent','MessageType','bind','_startDocCollabCursor','getValue','shareReplay','trim','@univerjs/engine-render','YUUMI_RATE_OVER_LIMIT','FromArray','_onRefRangeChange','send','setShapeProps','clearInterval','CollaborationController','_assignedColors','useDependency','CollaborationStatus','COMPLETION_FINISHED','_collabSessionService','subscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','_uiPartsService','dispose','ENSURE_SNAPSHOT_EXECUTION','HTTPService','jsx','CollaborationEvent','white','doc.mutation.rich-text-editing','_renderManagerService','now','_init','MUTATION','isTransformMutationFailure','@univerjs/drawing','Warning','DataLoaderService','find','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets-ui','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNRECOGNIZED','UniverDesign','setInterval','currentTheme$','toString','event$','status$','startFormulaLimitUrl','fillStyle','random','none','handleDeleteRangeMoveUp','runRefRangeMutations','endColumn','getOwnPropertyDescriptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','touchDependencies','JOIN_ROOM_FAILED','override','_drawTextRange','split','_context','_localCacheService','SetTextSelectionsOperation','stack','defineProperty','assign','Inject','_config','unshift','DocSkeletonManagerService','_getMergeRange','docStateChange$','_updateURLWithCurrentState','_hover','storage','LOCAL_CACHE_INTERVAL_KEY','_applyCommand','_entityInit$','undoState','_draw','displayName','UniverEngineRender','_showGuardMessage','transformSelections','OTHER_CLIENT_EDITING','forwardRef','ALREADY_EXISTS','exhaustSavingTask','YUUMI_ALL_TABLES_IS_INVALID'];_0x4670=function(){return _0x48224d;};return _0x4670();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x22d7(_0x4d8a71,_0x2c4844){_0x4d8a71=_0x4d8a71-0x1c6;var _0x2cbd22=_0x2cbd();var _0x22d737=_0x2cbd22[_0x4d8a71];return _0x22d737;}(function(_0x1b58c5,_0xf27da2){var _0x44f0da=_0x22d7,_0x31c2b0=_0x1b58c5();while(!![]){try{var _0x2d2a22=-parseInt(_0x44f0da(0x1ce))/0x1+-parseInt(_0x44f0da(0x1d3))/0x2*(-parseInt(_0x44f0da(0x1cb))/0x3)+-parseInt(_0x44f0da(0x1ca))/0x4+parseInt(_0x44f0da(0x1c8))/0x5*(parseInt(_0x44f0da(0x1db))/0x6)+parseInt(_0x44f0da(0x1cd))/0x7*(parseInt(_0x44f0da(0x1d2))/0x8)+parseInt(_0x44f0da(0x1d9))/0x9*(parseInt(_0x44f0da(0x1c9))/0xa)+-parseInt(_0x44f0da(0x1d4))/0xb*(parseInt(_0x44f0da(0x1c6))/0xc);if(_0x2d2a22===_0xf27da2)break;else _0x31c2b0['push'](_0x31c2b0['shift']());}catch(_0x122fd8){_0x31c2b0['push'](_0x31c2b0['shift']());}}}(_0x2cbd,0x23e69),function(_0x200ec6,_0x520c83){var _0x4840a9=_0x22d7;typeof exports==_0x4840a9(0x1d5)&&typeof module<'u'?_0x520c83(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x4840a9(0x1d1)&&define[_0x4840a9(0x1dd)]?define([_0x4840a9(0x1d8),_0x4840a9(0x1da)],_0x520c83):(_0x200ec6=typeof globalThis<'u'?globalThis:_0x200ec6||self,_0x520c83(_0x200ec6[_0x4840a9(0x1dc)],_0x200ec6[_0x4840a9(0x1d0)]));}(this,function(_0x3237d0,_0x3a1486){'use strict';var _0x3611b3=_0x22d7;class _0xc891cc extends _0x3a1486[_0x3611b3(0x1cf)]{[_0x3611b3(0x1cc)](_0x38f976,_0x173f8d,..._0x336375){var _0x4ccc42=_0x3611b3;return this[_0x4ccc42(0x1d7)][_0x4ccc42(0x1d6)](_0x3237d0[_0x4ccc42(0x1c7)])[_0x4ccc42(0x1cc)](_0x38f976,_0x173f8d,{},..._0x336375);}}_0x3a1486[_0x3611b3(0x1cf)]['extend'](_0xc891cc);}));function _0x2cbd(){var _0x4fddc0=['279554sVisPF','FUniver','UniverCoreFacade','function','808EkTZwQ','4VgBchu','1957615hOexde','object','get','_injector','@univerjs-pro/collaboration-client-ui','2438559WDAkQR','@univerjs/core/facade','6zjAwIK','UniverProCollaborationClientUi','amd','12hnJAdQ','RemoteUniscriptService','300470HBDwWk','10bsvZTM','228372EqooJh','201711obmspH','runOnServer','13594ZQULwf'];_0x2cbd=function(){return _0x4fddc0;};return _0x2cbd();}
11
+ function _0x44bb(_0x3c0cac,_0x26a197){_0x3c0cac=_0x3c0cac-0x18d;var _0x362397=_0x3623();var _0x44bb38=_0x362397[_0x3c0cac];return _0x44bb38;}(function(_0x4ca3da,_0x2e5057){var _0x428ccd=_0x44bb,_0x2b182c=_0x4ca3da();while(!![]){try{var _0x55a95b=parseInt(_0x428ccd(0x193))/0x1*(parseInt(_0x428ccd(0x198))/0x2)+parseInt(_0x428ccd(0x18e))/0x3*(-parseInt(_0x428ccd(0x19d))/0x4)+parseInt(_0x428ccd(0x192))/0x5*(-parseInt(_0x428ccd(0x195))/0x6)+parseInt(_0x428ccd(0x18f))/0x7+parseInt(_0x428ccd(0x19b))/0x8*(-parseInt(_0x428ccd(0x197))/0x9)+-parseInt(_0x428ccd(0x19e))/0xa+-parseInt(_0x428ccd(0x196))/0xb*(-parseInt(_0x428ccd(0x19c))/0xc);if(_0x55a95b===_0x2e5057)break;else _0x2b182c['push'](_0x2b182c['shift']());}catch(_0x1b7523){_0x2b182c['push'](_0x2b182c['shift']());}}}(_0x3623,0xb78ff),function(_0x554541,_0x1d05b8){var _0x3b0b14=_0x44bb;typeof exports=='object'&&typeof module<'u'?_0x1d05b8(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x3b0b14(0x19f)&&define['amd']?define([_0x3b0b14(0x190),_0x3b0b14(0x1a2)],_0x1d05b8):(_0x554541=typeof globalThis<'u'?globalThis:_0x554541||self,_0x1d05b8(_0x554541[_0x3b0b14(0x19a)],_0x554541[_0x3b0b14(0x18d)]));}(this,function(_0x1794ae,_0x4543db){'use strict';var _0x44e1aa=_0x44bb;class _0x520219 extends _0x4543db[_0x44e1aa(0x1a0)]{[_0x44e1aa(0x1a1)](_0x4b13e7,_0x25a863,..._0xf09d47){var _0x3b3c7a=_0x44e1aa;return this[_0x3b3c7a(0x191)][_0x3b3c7a(0x199)](_0x1794ae[_0x3b3c7a(0x194)])[_0x3b3c7a(0x1a1)](_0x4b13e7,_0x25a863,{},..._0xf09d47);}}_0x4543db[_0x44e1aa(0x1a0)]['extend'](_0x520219);}));function _0x3623(){var _0x255070=['@univerjs-pro/collaboration-client-ui','_injector','45CHQJJz','11135bDyetC','RemoteUniscriptService','539670qJhxLn','22PvngNA','12735lbcvfJ','184bONeFy','get','UniverProCollaborationClientUi','5864RnYKRZ','11608764MmfCMX','4PkgcTG','14787480eUPMSV','function','FUniver','runOnServer','@univerjs/core/facade','UniverCoreFacade','677244PcSRdg','9406971grtvoD'];_0x3623=function(){return _0x255070;};return _0x3623();}
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"})}));