@univerjs-pro/collaboration-client 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x4e146c=_0x541a;(function(_0xc9a706,_0x114cf5){var _0xd68f34=_0x541a,_0x371c53=_0xc9a706();while(!![]){try{var _0x520b82=parseInt(_0xd68f34(0x397))/0x1+parseInt(_0xd68f34(0x1d6))/0x2*(parseInt(_0xd68f34(0x2f3))/0x3)+parseInt(_0xd68f34(0x28b))/0x4+parseInt(_0xd68f34(0x225))/0x5+parseInt(_0xd68f34(0x410))/0x6*(-parseInt(_0xd68f34(0x3de))/0x7)+parseInt(_0xd68f34(0x32b))/0x8+-parseInt(_0xd68f34(0x15a))/0x9*(parseInt(_0xd68f34(0x155))/0xa);if(_0x520b82===_0x114cf5)break;else _0x371c53['push'](_0x371c53['shift']());}catch(_0x10d655){_0x371c53['push'](_0x371c53['shift']());}}}(_0x90d5,0x88a0b));var bt=Object[_0x4e146c(0x1f5)],Ot=(_0x9f014e,_0x46a944,_0x2f0db9)=>_0x46a944 in _0x9f014e?bt(_0x9f014e,_0x46a944,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f0db9}):_0x9f014e[_0x46a944]=_0x2f0db9,A=(_0x4eda1b,_0x55ac61,_0x35e37c)=>Ot(_0x4eda1b,typeof _0x55ac61!=_0x4e146c(0x1a1)?_0x55ac61+'':_0x55ac61,_0x35e37c);Object[_0x4e146c(0x1f5)](exports,Symbol['toStringTag'],{'value':_0x4e146c(0x371)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Nt=require('@univerjs-pro/license'),Dt=_0x4e146c(0x2bc),yt=_0x4e146c(0x198),Ut=0x7d0,ht=_0x4e146c(0xe7),At=_0x4e146c(0x346),_t=_0x4e146c(0x31f),Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,Lt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,wt=_0x4e146c(0x424),xt=0x3e8,kt='/universer-api/comb',Ht='/universer-api/oidc/authpage',$t=_0x4e146c(0x125),jt=_0x4e146c(0x412);var vt=(_0x3aa1c1=>(_0x3aa1c1[_0x3aa1c1['UNDEFINED']=0x0]=_0x4e146c(0x17e),_0x3aa1c1[_0x3aa1c1['OK']=0x1]='OK',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3b2)]=0x2]='INTERNAL_ERROR',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x339)]=0x3]=_0x4e146c(0x339),_0x3aa1c1[_0x3aa1c1['NOT_FOUND']=0x4]=_0x4e146c(0x436),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x288)]=0x5]='UNAUTHENTICATED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x205)]=0x6]=_0x4e146c(0x205),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x440)]=0x7]=_0x4e146c(0x440),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x29c)]=0x8]='TOO_MANY_REQUESTS',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3db)]=0x9]='COMPLETION_FINISHED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2d1)]=0xa]=_0x4e146c(0x2d1),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3c6)]=0xb]=_0x4e146c(0x3c6),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x1a9)]=0xc]=_0x4e146c(0x1a9),_0x3aa1c1[_0x3aa1c1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4e146c(0x3da),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3be)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3aa1c1[_0x3aa1c1['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x4e146c(0x1aa),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x43f)]=0x10]=_0x4e146c(0x43f),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x209)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x415)]=0x65]=_0x4e146c(0x415),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x13f)]=0xc9]=_0x4e146c(0x13f),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x33e)]=0xca]=_0x4e146c(0x33e),_0x3aa1c1[_0x3aa1c1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4e146c(0x1f7),_0x3aa1c1[_0x3aa1c1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4e146c(0x16c),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x262)]=0x1772]=_0x4e146c(0x262),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x394)]=0x1773]=_0x4e146c(0x394),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x420)]=0x1b59]=_0x4e146c(0x420),_0x3aa1c1[_0x3aa1c1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x40e)]=0x1b5b]=_0x4e146c(0x40e),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x1f9)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x21c)]=0x1b5d]=_0x4e146c(0x21c),_0x3aa1c1[_0x3aa1c1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4e146c(0x15d),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x11a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x42b)]=0x232a]=_0x4e146c(0x42b),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x264)]=0x232b]=_0x4e146c(0x264),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x254)]=0x232c]=_0x4e146c(0x254),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x330)]=0x232d]=_0x4e146c(0x330),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x170)]=0x2711]=_0x4e146c(0x170),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x1ae)]=0x2712]=_0x4e146c(0x1ae),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x411)]=0x2713]=_0x4e146c(0x411),_0x3aa1c1[_0x3aa1c1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e146c(0x3a6),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0xf0)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x423)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x221)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x21b)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3aa1c1[_0x3aa1c1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2b6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3fb)]=0x2720]=_0x4e146c(0x3fb),_0x3aa1c1[_0x3aa1c1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4e146c(0x163),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x195)]=0x2ee1]=_0x4e146c(0x195),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x241)]=0x2ee2]=_0x4e146c(0x241),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3cb)]=0x2ee3]=_0x4e146c(0x3cb),_0x3aa1c1[_0x3aa1c1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4e146c(0xe2),_0x3aa1c1[_0x3aa1c1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x138)]=0x32c9]=_0x4e146c(0x138),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3aa1c1[_0x3aa1c1['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2af)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x3aa1c1[_0x3aa1c1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4e146c(0x17c),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x1b3)]=0x36b3]=_0x4e146c(0x1b3),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x1ca)]=0x36b4]=_0x4e146c(0x1ca),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2fd)]=0x3715]=_0x4e146c(0x2fd),_0x3aa1c1[_0x3aa1c1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2e3)]=0x3717]=_0x4e146c(0x2e3),_0x3aa1c1[_0x3aa1c1['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3cc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3aa1c1[_0x3aa1c1['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x4e146c(0x39a),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x386)]=0x3a9b]=_0x4e146c(0x386),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x176)]=0x3a9c]=_0x4e146c(0x176),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x3e8)]=0x3a9d]=_0x4e146c(0x3e8),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0xed)]=0x3a9e]=_0x4e146c(0xed),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x2ab)]=0x3a9f]=_0x4e146c(0x2ab),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x37d)]=0x3e81]=_0x4e146c(0x37d),_0x3aa1c1[_0x3aa1c1[_0x4e146c(0x24c)]=-0x1]=_0x4e146c(0x24c),_0x3aa1c1))(vt||{}),X=(_0x31e045=>(_0x31e045[_0x31e045[_0x4e146c(0x41b)]=0x0]=_0x4e146c(0x41b),_0x31e045[_0x31e045['UNIVER_DOC']=0x1]=_0x4e146c(0x26a),_0x31e045[_0x31e045[_0x4e146c(0x40c)]=0x2]='UNIVER_SHEET',_0x31e045[_0x31e045[_0x4e146c(0x40f)]=0x3]=_0x4e146c(0x40f),_0x31e045[_0x31e045[_0x4e146c(0x19e)]=0x4]=_0x4e146c(0x19e),_0x31e045[_0x31e045[_0x4e146c(0x24c)]=-0x1]=_0x4e146c(0x24c),_0x31e045))(X||{}),W=(_0x56781e=>(_0x56781e[_0x56781e['UNKNOWN_CMD']=0x0]=_0x4e146c(0xd5),_0x56781e[_0x56781e[_0x4e146c(0x38c)]=0x1]=_0x4e146c(0x38c),_0x56781e[_0x56781e['JOIN']=0x2]=_0x4e146c(0x187),_0x56781e[_0x56781e[_0x4e146c(0x1df)]=0x3]=_0x4e146c(0x1df),_0x56781e[_0x56781e['INGEST']=0x4]='INGEST',_0x56781e[_0x56781e[_0x4e146c(0x175)]=0x5]=_0x4e146c(0x175),_0x56781e[_0x56781e[_0x4e146c(0x3a3)]=0x6]=_0x4e146c(0x3a3),_0x56781e[_0x56781e[_0x4e146c(0x24c)]=-0x1]=_0x4e146c(0x24c),_0x56781e))(W||{}),re=(_0x17afb2=>(_0x17afb2[_0x17afb2['UNKNOWN_CODE']=0x0]=_0x4e146c(0x16e),_0x17afb2[_0x17afb2['OK']=0x1]='OK',_0x17afb2[_0x17afb2['FAIL']=0x2]='FAIL',_0x17afb2[_0x17afb2['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x17afb2[_0x17afb2[_0x4e146c(0x30e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x17afb2[_0x17afb2[_0x4e146c(0x1e7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x17afb2[_0x17afb2['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4e146c(0x2ae),_0x17afb2[_0x17afb2['UNRECOGNIZED']=-0x1]=_0x4e146c(0x24c),_0x17afb2))(re||{}),dt=(_0xf8e41c=>(_0xf8e41c[_0xf8e41c[_0x4e146c(0x372)]=0x0]=_0x4e146c(0x372),_0xf8e41c[_0xf8e41c[_0x4e146c(0x247)]=0x1]=_0x4e146c(0x247),_0xf8e41c[_0xf8e41c[_0x4e146c(0x3f1)]=0x2]=_0x4e146c(0x3f1),_0xf8e41c[_0xf8e41c[_0x4e146c(0x357)]=0x3]=_0x4e146c(0x357),_0xf8e41c[_0xf8e41c[_0x4e146c(0x29a)]=0x4]='UnitSnapshot',_0xf8e41c[_0xf8e41c[_0x4e146c(0x319)]=0x5]=_0x4e146c(0x319),_0xf8e41c[_0xf8e41c[_0x4e146c(0x3fe)]=0x6]=_0x4e146c(0x3fe),_0xf8e41c[_0xf8e41c[_0x4e146c(0x24c)]=-0x1]=_0x4e146c(0x24c),_0xf8e41c))(dt||{});const Bt=_0x4e146c(0x328);function Ft(_0x3f01c9){var _0x5c0a66=_0x4e146c;return JSON[_0x5c0a66(0x1ba)](_0x3f01c9)[_0x5c0a66(0x276)];}var J=(_0x410637=>(_0x410637[_0x4e146c(0x33f)]=_0x4e146c(0x33f),_0x410637[_0x4e146c(0x339)]=_0x4e146c(0x339),_0x410637[_0x4e146c(0xfa)]=_0x4e146c(0xfa),_0x410637['CLOSE_ROOM']=_0x4e146c(0x2ad),_0x410637[_0x4e146c(0x35e)]=_0x4e146c(0x35e),_0x410637[_0x4e146c(0x148)]=_0x4e146c(0x148),_0x410637[_0x4e146c(0x26f)]=_0x4e146c(0x26f),_0x410637[_0x4e146c(0x366)]=_0x4e146c(0x366),_0x410637))(J||{});class ee{constructor(){var _0x2c41cf=_0x4e146c;A(this,_0x2c41cf(0x2e8),new j[(_0x2c41cf(0x166))]()),A(this,'event$',this[_0x2c41cf(0x2e8)][_0x2c41cf(0x296)]());}['emitEvent'](_0x1f00f7){var _0x56b15d=_0x4e146c;this[_0x56b15d(0x2e8)][_0x56b15d(0xd2)](_0x1f00f7);}}class He{constructor(){var _0x58bda1=_0x4e146c;A(this,'_commentUpdate$',new j['Subject']()),A(this,'commentUpdate$',this['_commentUpdate$'][_0x58bda1(0x296)]());}[_0x4e146c(0x1e5)](_0x35de29){var _0x2bb8b7=_0x4e146c;this[_0x2bb8b7(0x100)]['next'](_0x35de29);}}var Vt=Object[_0x4e146c(0x374)],Wt=(_0x214881,_0x3d5126,_0x553687,_0x4dc9e0)=>{var _0x50cedb=_0x4e146c;for(var _0x4a55a5=_0x4dc9e0>0x1?void 0x0:_0x4dc9e0?Vt(_0x3d5126,_0x553687):_0x3d5126,_0x47cad8=_0x214881[_0x50cedb(0x276)]-0x1,_0x2607d0;_0x47cad8>=0x0;_0x47cad8--)(_0x2607d0=_0x214881[_0x47cad8])&&(_0x4a55a5=_0x2607d0(_0x4a55a5)||_0x4a55a5);return _0x4a55a5;},Ve=(_0x37b4ba,_0x469fd5)=>(_0x8c8c4a,_0x5a9355)=>_0x469fd5(_0x8c8c4a,_0x5a9355,_0x37b4ba);exports[_0x4e146c(0x36c)]=class extends o['Disposable']{constructor(_0x390606,_0x52c012){var _0x5b058e=_0x4e146c;super(),A(this,'_roomMembers',new Map()),A(this,_0x5b058e(0x12e),new j[(_0x5b058e(0x166))]()),(this['_univerInstanceService']=_0x390606,this['_userManagerService']=_0x52c012,this[_0x5b058e(0x210)](j['merge'](this[_0x5b058e(0x206)][_0x5b058e(0x2bb)](o['UniverInstanceType'][_0x5b058e(0x40c)])[_0x5b058e(0x126)](V[_0x5b058e(0x3f6)](_0x5d95bc=>_0x5d95bc[_0x5b058e(0xf9)]())),this[_0x5b058e(0x206)][_0x5b058e(0x2bb)](o[_0x5b058e(0x102)][_0x5b058e(0x26a)])[_0x5b058e(0x126)](V[_0x5b058e(0x3f6)](_0x54a108=>_0x54a108[_0x5b058e(0xf9)]())),this['_univerInstanceService'][_0x5b058e(0x2bb)](o[_0x5b058e(0x102)][_0x5b058e(0x40f)])[_0x5b058e(0x126)](V[_0x5b058e(0x3f6)](_0x56bd01=>_0x56bd01['getUnitId']())))[_0x5b058e(0x34b)](_0x79fb37=>this['_removeRoom'](_0x79fb37))));}['waitForRoom$'](_0x37bfc8){var _0x11fc55=_0x4e146c;return this['_roomMembers'][_0x11fc55(0x2fc)](_0x37bfc8)?j['of'](this[_0x11fc55(0x3b1)][_0x11fc55(0x38b)](_0x37bfc8)):this[_0x11fc55(0x12e)][_0x11fc55(0x126)](V[_0x11fc55(0x3f6)](_0x29711a=>{var _0xb5d6f=_0x11fc55;if(_0x29711a===_0x37bfc8)return this['_roomMembers'][_0xb5d6f(0x38b)](_0x29711a);}));}[_0x4e146c(0x2d7)](_0x58227e){var _0x3c6fd9=_0x4e146c;this[_0x3c6fd9(0x2c6)][_0x3c6fd9(0x2d7)](_0x58227e);}['getCurrentUser'](){var _0xa67761=_0x4e146c;return this[_0xa67761(0x2c6)][_0xa67761(0x15e)]();}['updateMember'](_0x921e06,_0x4b8f82){var _0x2fa822=_0x4e146c;let _0x5e9dd5=this['_roomMembers'][_0x2fa822(0x38b)](_0x921e06);_0x5e9dd5||(_0x5e9dd5=new Gt(),this[_0x2fa822(0x3b1)]['set'](_0x921e06,_0x5e9dd5),this[_0x2fa822(0x12e)][_0x2fa822(0xd2)](_0x921e06)),_0x5e9dd5[_0x2fa822(0x35a)](_0x4b8f82);}[_0x4e146c(0x285)](_0x4d9686,_0x56f98e){var _0x545e00=_0x4e146c;const _0x4b0cc0=this[_0x545e00(0x3b1)]['get'](_0x4d9686);_0x4b0cc0&&_0x4b0cc0['removeMember'](_0x56f98e);}['getRoom'](_0x479718){var _0x411aa3=_0x4e146c;return this[_0x411aa3(0x3b1)][_0x411aa3(0x38b)](_0x479718);}[_0x4e146c(0x1f8)](_0x569b69,_0x1d7869){var _0xa62b9e=_0x4e146c;const _0x39dd32=this[_0xa62b9e(0x3b1)][_0xa62b9e(0x38b)](_0x569b69);if(_0x39dd32)return _0x39dd32[_0xa62b9e(0x1f8)](_0x1d7869);}['_removeRoom'](_0xa539de){var _0x5885ab=_0x4e146c;const _0x1cfe92=this[_0x5885ab(0x3b1)]['get'](_0xa539de);_0x1cfe92&&(_0x1cfe92[_0x5885ab(0x356)](),this[_0x5885ab(0x3b1)]['delete'](_0xa539de));}[_0x4e146c(0x356)](){var _0x746b8a=_0x4e146c;this[_0x746b8a(0x3b1)][_0x746b8a(0x407)](_0x10dcac=>_0x10dcac['dispose']()),this[_0x746b8a(0x3b1)][_0x746b8a(0x1dc)](),this[_0x746b8a(0x12e)]['complete']();}},exports[_0x4e146c(0x36c)]=Wt([Ve(0x0,o['IUniverInstanceService']),Ve(0x1,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2b4)]))],exports[_0x4e146c(0x36c)]);class Gt extends o[_0x4e146c(0x3a7)]{constructor(){var _0x134444=_0x4e146c;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new j['BehaviorSubject'](this[_0x134444(0x2f5)])),A(this,_0x134444(0x27c),this[_0x134444(0x1b4)][_0x134444(0x296)]());}[_0x4e146c(0x356)](){var _0x2ac4da=_0x4e146c;this[_0x2ac4da(0x2f5)]['clear']();}['updateMember'](_0x169a99){var _0x111cd9=_0x4e146c;this[_0x111cd9(0x2f5)][_0x111cd9(0x3b5)](_0x169a99[_0x111cd9(0x3f4)],_0x169a99),this[_0x111cd9(0x24e)]();}['removeMember'](_0x4f69e7){var _0x12f942=_0x4e146c;this[_0x12f942(0x2f5)][_0x12f942(0x1ff)](_0x4f69e7);}[_0x4e146c(0x1f8)](_0x4dd6f4){var _0x49d597=_0x4e146c;return this['_members'][_0x49d597(0x38b)](_0x4dd6f4);}[_0x4e146c(0x320)](){var _0x3f1b0a=_0x4e146c;return Array[_0x3f1b0a(0x3e4)](this[_0x3f1b0a(0x2f5)][_0x3f1b0a(0x22c)]());}[_0x4e146c(0x24e)](){var _0x4f0132=_0x4e146c;this[_0x4f0132(0x1b4)][_0x4f0132(0xd2)](this[_0x4f0132(0x2f5)]);}}var Yt=Object[_0x4e146c(0x374)],Kt=(_0xdbb2e2,_0x124e61,_0x5eda2d,_0x28aaa9)=>{var _0x4e473d=_0x4e146c;for(var _0x674347=_0x28aaa9>0x1?void 0x0:_0x28aaa9?Yt(_0x124e61,_0x5eda2d):_0x124e61,_0xf49bb3=_0xdbb2e2[_0x4e473d(0x276)]-0x1,_0xe1250d;_0xf49bb3>=0x0;_0xf49bb3--)(_0xe1250d=_0xdbb2e2[_0xf49bb3])&&(_0x674347=_0xe1250d(_0x674347)||_0x674347);return _0x674347;},ce=(_0x510008,_0x1892a4)=>(_0x5ed449,_0x34085c)=>_0x1892a4(_0x5ed449,_0x34085c,_0x510008),se=(_0x15b8b0=>(_0x15b8b0[_0x15b8b0[_0x4e146c(0x306)]=0x0]='IDLE',_0x15b8b0[_0x15b8b0[_0x4e146c(0x29d)]=0x1]=_0x4e146c(0x29d),_0x15b8b0[_0x15b8b0[_0x4e146c(0xef)]=0x2]=_0x4e146c(0xef),_0x15b8b0[_0x15b8b0['ONLINE']=0x3]=_0x4e146c(0x367),_0x15b8b0))(se||{});const We={[re[_0x4e146c(0x20e)]]:_0x4e146c(0x258),[re[_0x4e146c(0x28a)]]:'session.room-full',[re[_0x4e146c(0x30e)]]:_0x4e146c(0x202),[re[_0x4e146c(0x1e7)]]:_0x4e146c(0x2a0),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x4e146c(0x11f)};exports[_0x4e146c(0x139)]=class extends o[_0x4e146c(0x191)]{constructor(_0x3a9b96,_0x59c1dd,_0x5a1e1b,_0x3ee637,_0x3f789b,_0x2c0bd5,_0x30653d,_0x55f7e0){var _0x405914=_0x4e146c;super(),A(this,_0x405914(0x438),new j[(_0x405914(0x3e1))](0x0)),A(this,_0x405914(0x3ca),this['_sessionStatus$'][_0x405914(0x296)]()),A(this,_0x405914(0x2e8),new j[(_0x405914(0x166))]()),A(this,'event$',this['_event$']['asObservable']()),A(this,_0x405914(0x236)),A(this,_0x405914(0x30c)),A(this,_0x405914(0x1c0)),A(this,_0x405914(0x3d2),!0x1),A(this,_0x405914(0x3e9),null),(this[_0x405914(0xea)]=_0x3a9b96,this['_logService']=_0x5a1e1b,this[_0x405914(0xe6)]=_0x3ee637,this[_0x405914(0x144)]=_0x3f789b,this[_0x405914(0x1c5)]=_0x2c0bd5,this[_0x405914(0xdf)]=_0x30653d,this['_telemetryService']=_0x55f7e0,this[_0x405914(0x3d2)]=!!this[_0x405914(0x1ac)],_0x59c1dd[_0x405914(0x126)](j[_0x405914(0x145)](this[_0x405914(0x15c)]))[_0x405914(0x34b)](_0x5e34be=>{var _0x289a03=_0x405914,_0x116daa;typeof _0x5e34be>'u'||(this[_0x289a03(0x236)]=_0x5e34be,_0x5e34be?(this[_0x289a03(0x3c5)](_0x5e34be),this[_0x289a03(0x30c)]=_0x5e34be[_0x289a03(0x439)]['subscribe'](_0x4f66b2=>{var _0x3f60aa=_0x289a03;_0x4f66b2[_0x3f60aa(0x2dc)]===this[_0x3f60aa(0xea)]&&this['_onCombEvent'](_0x4f66b2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x289a03(0x438)][_0x289a03(0xd2)](0x2),(_0x116daa=this['_socketMessageSubscription'])==null||_0x116daa[_0x289a03(0x130)](),this[_0x289a03(0x30c)]=null));}));}get['sessionStatus'](){var _0x517f4d=_0x4e146c;return this[_0x517f4d(0x438)][_0x517f4d(0x3ef)]();}['getMemberID'](){var _0x465257=_0x4e146c,_0x20a7ae,_0x4ee8ee;return(_0x4ee8ee=(_0x20a7ae=this[_0x465257(0x236)])==null?void 0x0:_0x20a7ae[_0x465257(0x3f4)])!=null?_0x4ee8ee:null;}[_0x4e146c(0x356)](){var _0x802b2c=_0x4e146c;super[_0x802b2c(0x356)](),this[_0x802b2c(0x15c)][_0x802b2c(0xd2)](),this['dispose$'][_0x802b2c(0x389)]();}[_0x4e146c(0x1a6)](){var _0x5734ef=_0x4e146c,_0x20a8e2,_0x25986d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x20a8e2=this['_socket'])==null||_0x20a8e2['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x5734ef(0xea)]}}),(_0x25986d=this[_0x5734ef(0x236)])==null||_0x25986d['close'](),this[_0x5734ef(0x2e8)][_0x5734ef(0x389)](),this[_0x5734ef(0x438)][_0x5734ef(0x389)](),this[_0x5734ef(0x356)]();}[_0x4e146c(0x119)](_0x21122d){var _0x3040cd=_0x4e146c;_0x21122d[_0x3040cd(0x1ed)]===W[_0x3040cd(0x187)]?this['_onJoinRoomEvent'](_0x21122d):_0x21122d[_0x3040cd(0x1ed)]===W[_0x3040cd(0x3a3)]&&this['_onRecvEvent'](_0x21122d);}[_0x4e146c(0x3c5)](_0x6046e8){var _0x577a27=_0x4e146c;this[_0x577a27(0x438)][_0x577a27(0xd2)](0x1),_0x6046e8[_0x577a27(0x200)]({'cmd':W[_0x577a27(0x187)],'routeKey':this[_0x577a27(0xea)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x3800f7){var _0x137ec7=_0x4e146c,_0x58c57e;if(_0x3800f7['code']in We){this['_collaborationUIEventService'][_0x137ec7(0x325)]({'id':J[_0x137ec7(0x35e)],'data':We[_0x3800f7[_0x137ec7(0x33b)]]}),this[_0x137ec7(0x438)]['next'](0x2);return;}this[_0x137ec7(0x438)][_0x137ec7(0xd2)](0x3);const _0x1ad6dd=(_0x58c57e=_0x3800f7['data'][_0x137ec7(0x2d8)][this[_0x137ec7(0xea)]])==null?void 0x0:_0x58c57e[_0x137ec7(0x1d9)];_0x1ad6dd&&_0x1ad6dd[_0x137ec7(0x407)](_0x403f81=>this['_memberService'][_0x137ec7(0x35a)](this[_0x137ec7(0xea)],_0x403f81));}[_0x4e146c(0x1d1)](_0x1182ba){var _0x22cbfd=_0x4e146c;try{const _0x3cb5e1=_0x1182ba[_0x22cbfd(0x2b3)];switch(_0x3cb5e1[_0x22cbfd(0x25d)]){case E['CollaborationEvent']['USERS_ENTER']:this[_0x22cbfd(0x39c)](_0x3cb5e1),this['_event$'][_0x22cbfd(0xd2)](_0x3cb5e1);break;case E[_0x22cbfd(0x2e5)][_0x22cbfd(0x369)]:this[_0x22cbfd(0x188)](_0x3cb5e1),this['_event$'][_0x22cbfd(0xd2)](_0x3cb5e1);break;case E[_0x22cbfd(0x2e5)][_0x22cbfd(0x1fd)]:case E[_0x22cbfd(0x2e5)][_0x22cbfd(0x142)]:this[_0x22cbfd(0x2f2)](),this[_0x22cbfd(0x425)](),this[_0x22cbfd(0x2e8)][_0x22cbfd(0xd2)](_0x3cb5e1);break;case E[_0x22cbfd(0x2e5)][_0x22cbfd(0x1f1)]:this['_logService']['error'](_0x22cbfd(0xdd)+JSON[_0x22cbfd(0x1ba)](_0x3cb5e1)),this[_0x22cbfd(0x2e8)][_0x22cbfd(0xd2)](_0x3cb5e1);break;case E['CollaborationEvent'][_0x22cbfd(0x137)]:this[_0x22cbfd(0x1c5)][_0x22cbfd(0x1e5)](_0x3cb5e1[_0x22cbfd(0x2b3)]),this[_0x22cbfd(0x2e8)][_0x22cbfd(0xd2)](_0x3cb5e1);break;default:this[_0x22cbfd(0x2e8)][_0x22cbfd(0xd2)](_0x3cb5e1);}}catch(_0x39e96d){this['_logService'][_0x22cbfd(0x259)](_0x39e96d,_0x1182ba);}}['_onUserJoin'](_0xb0c986){var _0x1d6868=_0x4e146c;this[_0x1d6868(0x144)]['updateMember'](this['_unitID'],_0xb0c986['data']);}['_onUserLeave'](_0x58c53b){var _0x55af1f=_0x4e146c;this[_0x55af1f(0x144)]['removeMember'](this[_0x55af1f(0xea)],_0x58c53b[_0x55af1f(0x2b3)][_0x55af1f(0x3f4)]);}async[_0x4e146c(0x200)](_0xe36355,_0x5a0775){var _0x3fad54=_0x4e146c;if(this[_0x3fad54(0x140)]!==0x3||!this[_0x3fad54(0x236)])throw new Error(_0x3fad54(0x323));try{_0xe36355[_0x3fad54(0x25d)]===E['CollaborationEvent'][_0x3fad54(0x2e2)]&&(this[_0x3fad54(0x249)](),this[_0x3fad54(0x22e)](_0xe36355)),this['_socket']['send']({'cmd':W[_0x3fad54(0x1ab)],'routeKey':_0x5a0775,'routeType':'','data':_0xe36355});}catch(_0x5293af){this[_0x3fad54(0x3d5)][_0x3fad54(0x259)](_0x5293af);}}[_0x4e146c(0x249)](){var _0x330be8=_0x4e146c,_0x21e89f;this[_0x330be8(0x1c0)]=setTimeout(()=>{var _0x5c16a0=_0x330be8;this[_0x5c16a0(0x1c0)]=null,this[_0x5c16a0(0xdf)][_0x5c16a0(0x325)]({'id':J[_0x5c16a0(0x366)]});},(_0x21e89f=this[_0x330be8(0xe6)][_0x330be8(0x382)](ke))!=null?_0x21e89f:lt);}[_0x4e146c(0x425)](){var _0x471820=_0x4e146c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x471820(0x1c0)]),this[_0x471820(0x1c0)]=null);}[_0x4e146c(0x22e)](_0x4c0c94){var _0x4d2526=_0x4e146c;if(!this[_0x4d2526(0x3d2)])return;const {data:_0x41b522}=_0x4c0c94,{unitID:_0x1833e3,changeset:_0x4803b4}=_0x41b522,{mutations:_0x43249e,type:_0x3f12e7}=_0x4803b4;this[_0x4d2526(0x3e9)]={'unitId':_0x1833e3,'type':_0x3f12e7,'startTime':performance[_0x4d2526(0x38d)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x43249e)};}[_0x4e146c(0x2f2)](){var _0x7abfab=_0x4e146c;if(this[_0x7abfab(0x3d2)]){if(!this[_0x7abfab(0x3e9)]){this[_0x7abfab(0x3d5)]['error'](_0x7abfab(0x270),_0x7abfab(0x107));return;}this[_0x7abfab(0x3e9)][_0x7abfab(0x324)]=performance[_0x7abfab(0x38d)](),this[_0x7abfab(0x3e9)]['duration']=this[_0x7abfab(0x3e9)][_0x7abfab(0x324)]-this['_telemetryInfo'][_0x7abfab(0x257)],this['_telemetryService'][_0x7abfab(0x1b1)](Bt,this['_telemetryInfo']),this[_0x7abfab(0x3e9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1fdfd0=_0x4e146c;this[_0x1fdfd0(0x3e9)]=null;}},exports[_0x4e146c(0x139)]=Kt([ce(0x2,o['ILogService']),ce(0x3,o['IConfigService']),ce(0x4,o[_0x4e146c(0xd7)](exports[_0x4e146c(0x36c)])),ce(0x5,o['Inject'](He)),ce(0x6,o[_0x4e146c(0xd7)](ee)),ce(0x7,o[_0x4e146c(0x1a4)](Rt['ITelemetryService']))],exports[_0x4e146c(0x139)]);const q=o[_0x4e146c(0x299)](_0x4e146c(0x2cb));function qt(_0x566f24){return'unit-cache-'+_0x566f24;}var zt=Object[_0x4e146c(0x374)],Xt=(_0x2cdda2,_0x379eb7,_0x21c0a5,_0x4a2e4d)=>{var _0x292f51=_0x4e146c;for(var _0x314b02=_0x4a2e4d>0x1?void 0x0:_0x4a2e4d?zt(_0x379eb7,_0x21c0a5):_0x379eb7,_0x457f52=_0x2cdda2[_0x292f51(0x276)]-0x1,_0x46cb24;_0x457f52>=0x0;_0x457f52--)(_0x46cb24=_0x2cdda2[_0x457f52])&&(_0x314b02=_0x46cb24(_0x314b02)||_0x314b02);return _0x314b02;},Ue=(_0x348a0f,_0x14133c)=>(_0x4400b8,_0x79bc49)=>_0x14133c(_0x4400b8,_0x79bc49,_0x348a0f);function Jt(_0x387570){var _0x3e55ff=_0x4e146c;const {unitID:_0x19067c,mutations:_0x145fe3}=_0x387570;return{'unitId':_0x19067c,'subUnitId':_0x145fe3[_0x3e55ff(0x276)]>0x0?_0x145fe3[0x0][_0x3e55ff(0x2c9)][_0x3e55ff(0xeb)]:null};}exports[_0x4e146c(0x390)]=class{constructor(_0x47a619,_0x5d9c6f,_0x5a4383){var _0x5bac0c=_0x4e146c;this[_0x5bac0c(0x2ee)]=_0x47a619,this[_0x5bac0c(0x381)]=_0x5d9c6f,this[_0x5bac0c(0x41a)]=_0x5a4383;}[_0x4e146c(0x20a)](_0x204fbf){var _0x356026=_0x4e146c,_0x493aa9,_0x314cb6,_0x3d021c,_0x14b13a;const _0x29ca3e=this[_0x356026(0x2ee)][_0x356026(0x38b)](Q[_0x356026(0x132)]),{unitId:_0x28546f,subUnitId:_0x31f59c}=Jt(_0x204fbf),_0x406191=_0x29ca3e==null?void 0x0:_0x29ca3e[_0x356026(0x27b)](_0x28546f)[_0x356026(0x151)](),_0x2116d9=(_0x314cb6=(_0x493aa9=this[_0x356026(0x41a)][_0x356026(0x1a3)](_0x28546f))==null?void 0x0:_0x493aa9['getActiveSheet']())==null?void 0x0:_0x314cb6[_0x356026(0x1de)]();if(_0x406191[_0x356026(0x276)]===0x0||!_0x28546f||!_0x31f59c)return;const _0x35ee4b=[{'id':Q[_0x356026(0x213)]['id'],'params':{'unitId':_0x28546f,'subUnitId':_0x2116d9,'selections':o[_0x356026(0x310)]['deepClone'](_0x406191)}}],_0x387634=this[_0x356026(0x381)][_0x356026(0x39f)](_0x204fbf,_0x35ee4b);if(!E[_0x356026(0xf6)](_0x387634))throw _0x387634['error'];const _0x80cae6=(_0x14b13a=(_0x3d021c=_0x387634[_0x356026(0x2b7)][0x0])==null?void 0x0:_0x3d021c[_0x356026(0x2c9)])==null?void 0x0:_0x14b13a[_0x356026(0x263)];if(Array['isArray'](_0x80cae6)&&_0x80cae6[_0x356026(0x276)]){if(_0x80cae6['length']===_0x35ee4b[0x0][_0x356026(0x2c9)][_0x356026(0x263)][_0x356026(0x276)]&&_0x80cae6[_0x356026(0x311)]((_0x40f729,_0x4fd0ba)=>o[_0x356026(0x18c)][_0x356026(0xe0)](_0x40f729[_0x356026(0x117)],_0x35ee4b[0x0]['params']['selections'][_0x4fd0ba][_0x356026(0x117)])))return;this[_0x356026(0x2ee)][_0x356026(0x38b)](o[_0x356026(0x268)])[_0x356026(0x3b6)](Q[_0x356026(0x213)]['id'],{'unitId':_0x28546f,'subUnitId':_0x2116d9,'selections':_0x80cae6});}}},exports[_0x4e146c(0x390)]=Xt([Ue(0x0,o['Inject'](o[_0x4e146c(0x2a3)])),Ue(0x1,E[_0x4e146c(0x10f)]),Ue(0x2,o[_0x4e146c(0x401)])],exports[_0x4e146c(0x390)]);const ve=o[_0x4e146c(0x299)](_0x4e146c(0x129));var $e=(_0x718fb6=>(_0x718fb6[_0x718fb6[_0x4e146c(0x18e)]=0x0]=_0x4e146c(0x18e),_0x718fb6[_0x718fb6[_0x4e146c(0x238)]=0x1]=_0x4e146c(0x238),_0x718fb6))($e||{});const Y=_0x4e146c(0x416),Zt={},Qt=new Set([Q[_0x4e146c(0x2f9)]['id']]);function Ge(_0x18340f,_0x5da578,_0x562703,_0x524e5b,_0x585455){var _0x45f857=_0x4e146c,_0x36919b,_0x55ec47,_0x2c5896,_0x5bff62;const _0x596848=[];for(const _0xbf31f1 of _0x18340f)if(Qt[_0x45f857(0x2fc)](_0xbf31f1['id'])){if(_0x596848['length']>0x0)break;_0x596848['push'](_0xbf31f1);break;}else _0x596848['push'](_0xbf31f1);const _0x396e78=(_0x55ec47=(_0x36919b=_0x585455[_0x45f857(0x15e)]())==null?void 0x0:_0x36919b[_0x45f857(0x1d2)])!=null?_0x55ec47:'unknown',_0x3ec2ce=(_0x5bff62=(_0x2c5896=_0x585455[_0x45f857(0x15e)]())==null?void 0x0:_0x2c5896[_0x45f857(0x3f4)])!=null?_0x5bff62:'unknown';return{'changeset':{'unitID':_0x5da578,'type':E[_0x45f857(0x21f)](_0x562703[_0x45f857(0xcd)](_0x5da578)),'baseRev':_0x524e5b['getCurrentRevOfUnit'](_0x5da578),'revision':0x0,'userID':_0x396e78,'memberID':_0x3ec2ce,'mutations':_0x596848},'pendingMutations':_0x18340f[_0x45f857(0x261)](_0x596848[_0x45f857(0x276)])};}function ei(_0x444608,_0x16a54d,_0x3ad473,_0x30b252,_0x2d0e78){var _0x512210=_0x4e146c,_0x41e897,_0x2287e1,_0x5aa858,_0x5f4fdc;const _0x21507b=[_0x444608[_0x512210(0x337)]((_0x519456,_0x939c9d)=>{var _0x2aed08=_0x512210,_0x11679e;const {id:_0xf56908}=_0x519456,{id:_0x4dd819,type:_0x35a5e7}=_0x939c9d,_0x44f536=(_0x11679e=_0x519456[_0x2aed08(0x2c9)])!=null?_0x11679e:{'actions':null},_0x307fc7=_0x939c9d[_0x2aed08(0x2c9)];if(_0xf56908&&_0xf56908!==_0x4dd819)throw new Error(_0x2aed08(0x442)+_0xf56908+_0x2aed08(0x10c)+_0x4dd819+'.');return{..._0x519456,'id':_0x4dd819,'type':_0x35a5e7,'params':{'unitId':_0x307fc7[_0x2aed08(0xf7)],'textRanges':_0x307fc7[_0x2aed08(0x2ff)],'actions':o[_0x2aed08(0x1ee)]['compose'](_0x44f536[_0x2aed08(0x168)],_0x307fc7[_0x2aed08(0x168)])}};},{})],_0x43330a=(_0x2287e1=(_0x41e897=_0x2d0e78[_0x512210(0x15e)]())==null?void 0x0:_0x41e897['userID'])!=null?_0x2287e1:_0x512210(0x217),_0x502b37=(_0x5f4fdc=(_0x5aa858=_0x2d0e78['getCurrentUser']())==null?void 0x0:_0x5aa858['memberID'])!=null?_0x5f4fdc:_0x512210(0x217);return{'changeset':{'unitID':_0x16a54d,'type':E[_0x512210(0x21f)](_0x3ad473[_0x512210(0xcd)](_0x16a54d)),'baseRev':_0x30b252['getCurrentRevOfUnit'](_0x16a54d),'revision':0x0,'userID':_0x43330a,'memberID':_0x502b37,'mutations':_0x21507b},'pendingMutations':[]};}function St(_0x307c59,_0x4bc564){var _0x4ceb8a=_0x4e146c;const _0x4f44ba=new j[(_0x4ceb8a(0x39e))](0x1);return setTimeout(()=>_0x4f44ba[_0x4ceb8a(0xd2)](_0x4bc564),_0x307c59),_0x4f44ba[_0x4ceb8a(0x296)]()[_0x4ceb8a(0x126)](j[_0x4ceb8a(0xc4)](0x1));}var ti=Object[_0x4e146c(0x374)],ae=(_0x1e28cb,_0x3370ec,_0x51e47e,_0x5b2961)=>{for(var _0x382c3f=_0x5b2961>0x1?void 0x0:_0x5b2961?ti(_0x3370ec,_0x51e47e):_0x3370ec,_0x537fa6=_0x1e28cb['length']-0x1,_0x33bc56;_0x537fa6>=0x0;_0x537fa6--)(_0x33bc56=_0x1e28cb[_0x537fa6])&&(_0x382c3f=_0x33bc56(_0x382c3f)||_0x382c3f);return _0x382c3f;},L=(_0x221ca0,_0x509852)=>(_0x3c5d7b,_0x41ee95)=>_0x509852(_0x3c5d7b,_0x41ee95,_0x221ca0),je=(_0x4baeeb=>(_0x4baeeb[_0x4e146c(0x280)]=_0x4e146c(0x43a),_0x4baeeb[_0x4e146c(0xd9)]=_0x4e146c(0x25f),_0x4baeeb[_0x4e146c(0x30b)]=_0x4e146c(0x1bf),_0x4baeeb[_0x4e146c(0xc1)]=_0x4e146c(0xdc),_0x4baeeb['AWAITING_WITH_PENDING']=_0x4e146c(0x2db),_0x4baeeb[_0x4e146c(0x16d)]=_0x4e146c(0x127),_0x4baeeb[_0x4e146c(0xfa)]=_0x4e146c(0x291),_0x4baeeb['OFFLINE']=_0x4e146c(0x2ef),_0x4baeeb))(je||{});const It=0xea60;class oe{constructor(_0x16559b,_0x43a97f,_0x2c9be5,_0x4b0522,_0x3b99c8,_0x9c0e7a,_0x947e10,_0x42cf9e,_0x1737cb){var _0x8ae7a9=_0x4e146c;A(this,'_awaitingChangeset',null),A(this,_0x8ae7a9(0x326),[]),(this[_0x8ae7a9(0x1a0)]=_0x16559b,this[_0x8ae7a9(0x250)]=_0x43a97f,this['_handler']=_0x3b99c8,this['_commandService']=_0x9c0e7a,this[_0x8ae7a9(0x265)]=_0x947e10,this[_0x8ae7a9(0x2eb)]=_0x42cf9e,this['_localCacheService']=_0x1737cb,this[_0x8ae7a9(0x34d)]=_0x2c9be5,this['_pendingMutations']=_0x4b0522);}[_0x4e146c(0x312)](_0xe21f69){var _0x3f5f67=_0x4e146c;const _0x3dc897=this[_0x3f5f67(0x2eb)][_0x3f5f67(0x106)](this[_0x3f5f67(0x1a0)]);return _0xe21f69[_0x3f5f67(0x352)]>_0x3dc897+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3dc897,'to':_0xe21f69[_0x3f5f67(0x352)]-0x1}),!0x0):!0x1;}[_0x4e146c(0x2ec)](_0x164b0c){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x164b0c);}[_0x4e146c(0x228)](_0x585f44){var _0x5ba07b=_0x4e146c,_0xfb225b,_0x243f69;(_0x243f69=(_0xfb225b=this[_0x5ba07b(0x1b6)])[_0x5ba07b(0x317)])==null||_0x243f69['call'](_0xfb225b,_0x585f44);}[_0x4e146c(0x177)](_0x10b5bb){var _0x123dce=_0x4e146c,_0x4ba949,_0x2d4dad;return(_0x2d4dad=(_0x4ba949=this['_handler'])[_0x123dce(0x3fd)])==null?void 0x0:_0x2d4dad['call'](_0x4ba949,_0x10b5bb);}[_0x4e146c(0x3b8)](_0x49d5bf){var _0x2f7446=_0x4e146c,_0xd936f3,_0x1c2b7c;return(_0x1c2b7c=(_0xd936f3=this['_handler'])['onTransformState'])==null?void 0x0:_0x1c2b7c[_0x2f7446(0x13e)](_0xd936f3,_0x49d5bf);}[_0x4e146c(0x406)](_0x41a691){var _0x2f95ce=_0x4e146c,_0x55119d,_0x25139f,_0x542622;return(_0x542622=(_0x25139f=(_0x55119d=this['_handler'])[_0x2f95ce(0x3ac)])==null?void 0x0:_0x25139f[_0x2f95ce(0x13e)](_0x55119d,_0x41a691))!=null?_0x542622:_0x41a691;}[_0x4e146c(0x363)](_0x27cb0a){var _0x5979ff=_0x4e146c,_0x4a2987,_0x1943b4,_0xf27b9;return(_0xf27b9=(_0x1943b4=(_0x4a2987=this[_0x5979ff(0x1b6)])[_0x5979ff(0x3ce)])==null?void 0x0:_0x1943b4['call'](_0x4a2987,_0x27cb0a))!=null?_0xf27b9:_0x27cb0a;}[_0x4e146c(0x3dc)](_0x20726b){var _0x4f9e1c=_0x4e146c,_0x41de07,_0x5b3b44;if(this[_0x4f9e1c(0x250)]===X[_0x4f9e1c(0x26a)]){const {unitID:_0x5474a2,mutations:_0x42a76f,memberID:_0x5b694b}=_0x20726b,_0x14a322=_0x42a76f[_0x4f9e1c(0x276)]>0x0?_0x42a76f[0x0][_0x4f9e1c(0x2c9)]['textRanges']:[];Array[_0x4f9e1c(0x429)](_0x14a322)&&_0x14a322[_0x4f9e1c(0x276)]>0x0&&((_0x5b3b44=(_0x41de07=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5b3b44['call'](_0x41de07,{'unitID':_0x5474a2,'memberID':_0x5b694b,'textRanges':_0x14a322}));}}[_0x4e146c(0x1da)](){var _0x204397=_0x4e146c,_0x194806;(_0x194806=this['_localCacheService'])==null||_0x194806['updateOfflineData'](this[_0x204397(0x1a0)],this[_0x204397(0x250)],this['_awaitingChangeset'],this[_0x204397(0x326)]);}[_0x4e146c(0x116)](){var _0x182430=_0x4e146c;return this[_0x182430(0x2eb)]['getCurrentRevOfUnit'](this[_0x182430(0x1a0)]);}[_0x4e146c(0x12c)](){var _0x20b319=_0x4e146c;this[_0x20b319(0x2eb)][_0x20b319(0x27a)](this[_0x20b319(0x1a0)]);}[_0x4e146c(0x2d4)](_0x2cf0a6){var _0x182b15=_0x4e146c,_0x3cd970;let _0x5c53c4=this['_transformRemoteChangesetByIMECache'](_0x2cf0a6);_0x5c53c4=this[_0x182b15(0x363)](_0x5c53c4);const _0x290498=o[_0x182b15(0x156)](_0x5c53c4[_0x182b15(0x14f)],this[_0x182b15(0x307)],{'fromCollab':!0x0});if(!_0x290498[_0x182b15(0x1fa)])throw _0x290498['error']instanceof Error?_0x290498[_0x182b15(0x259)]:new Error((_0x3cd970=_0x290498[_0x182b15(0x259)])!=null?_0x3cd970:_0x182b15(0x37f));this[_0x182b15(0x177)](_0x5c53c4),this['_transformStateCache'](_0x5c53c4),this[_0x182b15(0x2ec)](_0x2cf0a6),this[_0x182b15(0x228)](_0x5c53c4),this['_syncEditingCollabCursor'](_0x5c53c4),this['_incrementRevisionNumber']();}}exports[_0x4e146c(0x255)]=class extends oe{constructor(_0x198499,_0x400e03,_0x11963c,_0x1ebad7,_0x2ac80a,_0x3f43c4,_0x4aaf5a,_0x257e7f,_0x48d9b3,_0x2fba9d){var _0x1366f5=_0x4e146c;super(_0x198499,_0x400e03,null,[],_0x11963c,_0x4aaf5a,_0x3f43c4,_0x1ebad7,_0x2fba9d),A(this,'status',_0x1366f5(0x25f)),(this[_0x1366f5(0x2ee)]=_0x2ac80a,this[_0x1366f5(0x3d5)]=_0x257e7f,this[_0x1366f5(0x381)]=_0x48d9b3,this['localCacheService']=_0x2fba9d);}[_0x4e146c(0x2c8)](_0x4ea5e9){var _0x121e17=_0x4e146c;const _0x3dba7=this[_0x121e17(0x2ee)][_0x121e17(0x15f)](exports[_0x121e17(0x22d)],this['unitID'],this['type'],[_0x4ea5e9],this[_0x121e17(0x1b6)]);return _0x3dba7[_0x121e17(0x3d8)](),_0x3dba7['_updateLocalCache'](),_0x3dba7;}['onRemoteChangeset'](_0x4e4656){var _0x302038=_0x4e146c;if(this['_checkMissing'](_0x4e4656))return this[_0x302038(0x2ee)][_0x302038(0x15f)](exports[_0x302038(0x2ba)],this['unitID'],this[_0x302038(0x250)],null,[],null,[_0x4e4656],this['_handler']);try{const _0x2c813d=this[_0x302038(0x381)]['transformMutationsWithChangeset'](_0x4e4656,[E['EmptyMutationInfo']]);if(E[_0x302038(0xf6)](_0x2c813d)){const {c1Prime:_0x4b2878}=_0x2c813d;return this[_0x302038(0x2d4)](_0x4b2878),this;}throw _0x2c813d[_0x302038(0x259)];}catch(_0x40ea71){return this['_logService']['error'](_0x40ea71),this[_0x302038(0x23e)](!0x1);}}['_onConflict'](_0xf64649){var _0x21696f=_0x4e146c;return this[_0x21696f(0x2ee)][_0x21696f(0x15f)](exports[_0x21696f(0x2d0)],this[_0x21696f(0x1a0)],this[_0x21696f(0x250)],null,[],this[_0x21696f(0x1b6)],_0xf64649);}[_0x4e146c(0x348)](){var _0x770f6a=_0x4e146c;throw new Error(_0x770f6a(0x2bf));}[_0x4e146c(0x190)](){var _0x3ff8a7=_0x4e146c;throw new Error(_0x3ff8a7(0x121));}[_0x4e146c(0x3ae)](){return this;}[_0x4e146c(0x149)](){var _0x49a3c1=_0x4e146c;return this[_0x49a3c1(0x2ee)]['createInstance'](exports['OfflineState'],this[_0x49a3c1(0x1a0)],this['type'],null,[],this[_0x49a3c1(0x1b6)]);}['toggleOnline'](){return this;}[_0x4e146c(0x32d)](){var _0x5c4f99=_0x4e146c;throw new Error(_0x5c4f99(0x2ed));}[_0x4e146c(0x26d)](){var _0x56ede5=_0x4e146c;const _0x42cf2f=this['_revisionService']['getCurrentRevOfUnit'](this[_0x56ede5(0x1a0)]);return this[_0x56ede5(0x1b6)]['onMissingChangesets']({'from':_0x42cf2f,'to':0x0}),this[_0x56ede5(0x2ee)][_0x56ede5(0x15f)](exports['FetchingMissState'],this[_0x56ede5(0x1a0)],this['type'],null,[],null,[],this[_0x56ede5(0x1b6)]);}},exports[_0x4e146c(0x255)]=ae([L(0x3,o[_0x4e146c(0xd7)](E['RevisionService'])),L(0x4,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x4e146c(0x268)]),L(0x7,o[_0x4e146c(0x428)]),L(0x8,E[_0x4e146c(0x10f)]),L(0x9,o[_0x4e146c(0x1a4)](q))],exports['SyncedState']),exports[_0x4e146c(0x22d)]=class extends oe{constructor(_0x16ae27,_0x175bfd,_0x662cba,_0x45e8b5,_0xc2ae3e,_0x2e6808,_0x4d056e,_0x2d51f9,_0x38c036,_0x1008c7,_0x3e1c86,_0x2c2a8e,_0x50ec78,_0x4401f6){var _0x297b87=_0x4e146c;super(_0x16ae27,_0x175bfd,null,_0x662cba,_0x45e8b5,_0x38c036,_0x50ec78,_0x2e6808,_0x4401f6),A(this,_0x297b87(0x408),_0x297b87(0x1bf)),A(this,_0x297b87(0x318),null),A(this,_0x297b87(0x3a1),null),(this['_injector']=_0xc2ae3e,this[_0x297b87(0x144)]=_0x4d056e,this[_0x297b87(0x3d5)]=_0x2d51f9,this[_0x297b87(0xe6)]=_0x1008c7,this[_0x297b87(0x381)]=_0x3e1c86,this['_univerInstanceService']=_0x2c2a8e);}[_0x4e146c(0x2c8)](_0x3b8ff5){var _0x4a4ff2=_0x4e146c;return this[_0x4a4ff2(0x326)][_0x4a4ff2(0x2c1)](_0x3b8ff5),this[_0x4a4ff2(0x1da)](),this;}[_0x4e146c(0x3a0)](_0x291559){var _0x46a39f=_0x4e146c;if(this[_0x46a39f(0x312)](_0x291559))return this[_0x46a39f(0x2d9)](),this[_0x46a39f(0x2ee)]['createInstance'](exports[_0x46a39f(0x2ba)],this[_0x46a39f(0x1a0)],this['type'],null,this['_pendingMutations'],null,[_0x291559],this[_0x46a39f(0x1b6)]);try{const _0x4e86e2=this['_transformService'][_0x46a39f(0x39f)](_0x291559,this[_0x46a39f(0x326)]);if(E[_0x46a39f(0xf6)](_0x4e86e2)){const {c1Prime:_0x397958,m2Prime:_0x1f5a66}=_0x4e86e2;this['_executeRemoteChangeset'](_0x397958);const _0x1130fc=this[_0x46a39f(0x2ee)][_0x46a39f(0x15f)](exports[_0x46a39f(0x22d)],this[_0x46a39f(0x1a0)],this[_0x46a39f(0x250)],_0x1f5a66,this[_0x46a39f(0x1b6)]);this[_0x46a39f(0x2d9)]();const _0x4447fd=new Date()[_0x46a39f(0x3ee)](),_0x41ae6f=this[_0x46a39f(0x318)]?Math[_0x46a39f(0x431)](this[_0x46a39f(0x318)]-_0x4447fd,0x0):this[_0x46a39f(0x362)]();return _0x1130fc['_schedule'](_0x41ae6f),_0x1130fc;}throw _0x4e86e2[_0x46a39f(0x259)];}catch(_0x3a7a84){return this['_logService']['error'](_0x3a7a84),this['_onConflict'](!0x1);}}[_0x4e146c(0x348)](){var _0x472eb7=_0x4e146c;throw new Error(_0x472eb7(0x39d));}[_0x4e146c(0x190)](){var _0x138a42=_0x4e146c;throw new Error(_0x138a42(0x179));}[_0x4e146c(0x3ae)](){return this;}[_0x4e146c(0x149)](){var _0x121013=_0x4e146c;return this[_0x121013(0x2d9)](),this['_injector'][_0x121013(0x15f)](exports[_0x121013(0x277)],this[_0x121013(0x1a0)],this[_0x121013(0x250)],null,this[_0x121013(0x326)],this[_0x121013(0x1b6)]);}[_0x4e146c(0x109)](){return this;}['_schedule'](_0x3b20c6){var _0x1856b9=_0x4e146c;const _0x5cbf94=_0x3b20c6!=null?_0x3b20c6:this[_0x1856b9(0x362)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1856b9(0x3ee)]()+_0x5cbf94,this[_0x1856b9(0x3a1)]=setTimeout(()=>{var _0x52408f=_0x1856b9;this[_0x52408f(0x2d9)]();let _0x447585=null;switch(this[_0x52408f(0x250)]){case X[_0x52408f(0x40c)]:{_0x447585=Ge(this[_0x52408f(0x326)],this[_0x52408f(0x1a0)],this[_0x52408f(0x206)],this['_revisionService'],this[_0x52408f(0x144)]);break;}case X[_0x52408f(0x26a)]:{this[_0x52408f(0x326)]['every'](_0x410819=>_0x410819['id']===ct['RichTextEditingMutation']['id'])?_0x447585=ei(this[_0x52408f(0x326)],this[_0x52408f(0x1a0)],this[_0x52408f(0x206)],this['_revisionService'],this['_memberService']):_0x447585=Ge(this[_0x52408f(0x326)],this[_0x52408f(0x1a0)],this[_0x52408f(0x206)],this['_revisionService'],this[_0x52408f(0x144)]);break;}default:throw new Error(_0x52408f(0x1c6)+this[_0x52408f(0x250)]+_0x52408f(0x183));}const {changeset:_0x4a7215,pendingMutations:_0x1feafc}=_0x447585;this[_0x52408f(0x1b6)][_0x52408f(0x10a)](_0x4a7215);const _0x3598b2=_0x1feafc[_0x52408f(0x276)]?this[_0x52408f(0x2ee)][_0x52408f(0x15f)](exports[_0x52408f(0x3c9)],this[_0x52408f(0x1a0)],this[_0x52408f(0x250)],_0x4a7215,_0x1feafc,this[_0x52408f(0x1b6)],void 0x0):this[_0x52408f(0x2ee)][_0x52408f(0x15f)](exports['AwaitingState'],this[_0x52408f(0x1a0)],this[_0x52408f(0x250)],_0x4a7215,this[_0x52408f(0x1b6)]);_0x3598b2[_0x52408f(0x1da)](),this[_0x52408f(0x1b6)]['onStateChange'](this,_0x3598b2);},_0x5cbf94);}[_0x4e146c(0x362)](){var _0x210136=_0x4e146c,_0x17ed75;const _0x6eb5fb=this[_0x210136(0xe6)]['getConfig'](Y);return(_0x17ed75=_0x6eb5fb==null?void 0x0:_0x6eb5fb[_0x210136(0x23d)])!=null?_0x17ed75:Ut;}[_0x4e146c(0x32d)](){var _0x55dd61=_0x4e146c;throw new Error(_0x55dd61(0x3bd));}[_0x4e146c(0x2d9)](){var _0x31997c=_0x4e146c;this[_0x31997c(0x3a1)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x31997c(0x3a1)]=null);}[_0x4e146c(0x23e)](_0x2bbd03){var _0x4429c5=_0x4e146c;return this['_clearScheduledTask'](),this[_0x4429c5(0x2ee)][_0x4429c5(0x15f)](exports['ConflictState'],this['unitID'],this[_0x4429c5(0x250)],null,this[_0x4429c5(0x326)],this[_0x4429c5(0x1b6)],_0x2bbd03);}},exports[_0x4e146c(0x22d)]=ae([L(0x4,o[_0x4e146c(0xd7)](o['Injector'])),L(0x5,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),L(0x6,o[_0x4e146c(0xd7)](exports[_0x4e146c(0x36c)])),L(0x7,o[_0x4e146c(0x428)]),L(0x8,o[_0x4e146c(0x268)]),L(0x9,o['IConfigService']),L(0xa,E[_0x4e146c(0x10f)]),L(0xb,o[_0x4e146c(0x401)]),L(0xc,o[_0x4e146c(0x1c3)]),L(0xd,o['Optional'](q))],exports['PendingState']),exports[_0x4e146c(0x3ec)]=class extends oe{constructor(_0x353902,_0x38dc9e,_0x1cd4e6,_0x3a0f41,_0x2b07bf,_0x40ccdc,_0x47bfbb,_0x14c46b,_0xa7f194,_0x4f949a,_0x2a23b9){var _0x424f4d=_0x4e146c;super(_0x353902,_0x38dc9e,_0x1cd4e6,[],_0x3a0f41,_0x47bfbb,_0x4f949a,_0x40ccdc,_0x2a23b9),A(this,_0x424f4d(0x408),_0x424f4d(0xdc)),A(this,_0x424f4d(0xe5),0x0),A(this,_0x424f4d(0xe1)),A(this,_0x424f4d(0x11d)),(this[_0x424f4d(0x2ee)]=_0x2b07bf,this[_0x424f4d(0x3d5)]=_0x14c46b,this[_0x424f4d(0x381)]=_0xa7f194);}[_0x4e146c(0x2c8)](_0x3bbeb3){var _0x42ae8c=_0x4e146c;this[_0x42ae8c(0x2d9)]();const _0x6a065b=this[_0x42ae8c(0x2ee)][_0x42ae8c(0x15f)](exports[_0x42ae8c(0x3c9)],this[_0x42ae8c(0x1a0)],this[_0x42ae8c(0x250)],this[_0x42ae8c(0x34d)],[_0x3bbeb3],this[_0x42ae8c(0x1b6)],this[_0x42ae8c(0xe1)]);return _0x6a065b[_0x42ae8c(0x1da)](),_0x6a065b;}['onRemoteChangeset'](_0x445b5a){var _0x47ee15=_0x4e146c;if(this['_checkMissing'](_0x445b5a))return this[_0x47ee15(0x2d9)](),this['_injector'][_0x47ee15(0x15f)](exports[_0x47ee15(0x2ba)],this[_0x47ee15(0x1a0)],this[_0x47ee15(0x250)],this[_0x47ee15(0x34d)],[],null,[_0x445b5a],this[_0x47ee15(0x1b6)]);try{const _0x312375=this[_0x47ee15(0x381)][_0x47ee15(0x361)]([_0x445b5a],[this[_0x47ee15(0x34d)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x312375)){const {c1Prime:_0x43028a,c2Prime:_0x5cfaa6}=_0x312375;this['_executeRemoteChangeset'](_0x43028a[0x0]),_0x5cfaa6[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x128e10=this[_0x47ee15(0x2ee)][_0x47ee15(0x15f)](exports[_0x47ee15(0x3ec)],this['unitID'],this[_0x47ee15(0x250)],_0x5cfaa6[0x0],this['_handler']);return _0x128e10[_0x47ee15(0x1da)](),_0x128e10;}return this[_0x47ee15(0x23e)](!0x1);}catch(_0x46135e){return this[_0x47ee15(0x3d5)][_0x47ee15(0x259)](_0x46135e),this[_0x47ee15(0x23e)](!0x1);}}[_0x4e146c(0x348)](_0x4b1fba){var _0x1825d7=_0x4e146c;this[_0x1825d7(0x2d9)]();const _0x508ed8=this[_0x1825d7(0x2eb)]['getCurrentRevOfUnit'](this[_0x1825d7(0x1a0)]);if(_0x4b1fba[_0x1825d7(0x352)]<_0x508ed8-0x1)return this;if(this[_0x1825d7(0x312)](_0x4b1fba))return this['_injector'][_0x1825d7(0x15f)](exports[_0x1825d7(0x2ba)],this['unitID'],this[_0x1825d7(0x250)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x1825d7(0x12c)]();const _0x5e1811=this['_injector'][_0x1825d7(0x15f)](exports[_0x1825d7(0x255)],this[_0x1825d7(0x1a0)],this['type'],this[_0x1825d7(0x1b6)]);return _0x5e1811['_updateLocalCache'](),_0x5e1811;}[_0x4e146c(0x190)](_0x3fa813){var _0x11c9d0=_0x4e146c;return this[_0x11c9d0(0x23e)](!!(_0x3fa813!=null&&_0x3fa813[_0x11c9d0(0x2dd)]));}[_0x4e146c(0x3ae)](_0x2ec535){var _0x1e1815=_0x4e146c;return this['_resendTimeout']>It?this[_0x1e1815(0x149)]():(this[_0x1e1815(0xe1)]=St(this[_0x1e1815(0xe5)],{'timeout':this[_0x1e1815(0xe5)],'reqId':_0x2ec535[_0x1e1815(0x192)]}),this['_sender']=this[_0x1e1815(0xe1)][_0x1e1815(0x34b)](({reqId:_0x133c6b,timeout:_0xef302f})=>{var _0xf3f705=_0x1e1815;this[_0xf3f705(0x110)](_0x133c6b,_0xef302f);}),this);}['toggleOffline'](){var _0x5d9fa5=_0x4e146c;return this[_0x5d9fa5(0x2d9)](),this[_0x5d9fa5(0x2ee)][_0x5d9fa5(0x15f)](exports['OfflineState'],this[_0x5d9fa5(0x1a0)],this[_0x5d9fa5(0x250)],this['_awaitingChangeset'],[],this[_0x5d9fa5(0x1b6)]);}[_0x4e146c(0x109)](){return this;}[_0x4e146c(0x32d)](){var _0x546657=_0x4e146c;this[_0x546657(0x1b6)][_0x546657(0x10a)](this[_0x546657(0x34d)]);}['_onConflict'](_0x61753c){var _0x15010a=_0x4e146c;return this[_0x15010a(0x2d9)](),this['_injector'][_0x15010a(0x15f)](exports[_0x15010a(0x2d0)],this[_0x15010a(0x1a0)],this['type'],this['_awaitingChangeset'],[],this[_0x15010a(0x1b6)],_0x61753c);}['_resendWithTimeout'](_0xed7026,_0x5c572b){var _0x2c55a3=_0x4e146c,_0x3cafff;_0xed7026===((_0x3cafff=this[_0x2c55a3(0x34d)])==null?void 0x0:_0x3cafff['reqId'])&&(this[_0x2c55a3(0x32d)](),this[_0x2c55a3(0xe5)]=_0x5c572b===0x0?0x3e8:_0x5c572b*0x2);}[_0x4e146c(0x2d9)](){var _0x5bfe02=_0x4e146c,_0x3c5216;(_0x3c5216=this[_0x5bfe02(0x11d)])==null||_0x3c5216['unsubscribe'](),this[_0x5bfe02(0xe5)]=0x0;}},exports[_0x4e146c(0x3ec)]=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x4e146c(0xd7)](E['RevisionService'])),L(0x6,o[_0x4e146c(0x268)]),L(0x7,o[_0x4e146c(0x428)]),L(0x8,E[_0x4e146c(0x10f)]),L(0x9,o[_0x4e146c(0x1c3)]),L(0xa,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x3ec)]),exports[_0x4e146c(0x3c9)]=class extends oe{constructor(_0x18f881,_0x3b911e,_0x4dca07,_0x1fe50c,_0x5aec8a,_0x4a582e,_0x47d50f,_0x461876,_0x39bf1a,_0x37a6e5,_0x3644d4,_0x5445b4,_0x58167){var _0x33e23b=_0x4e146c;super(_0x18f881,_0x3b911e,_0x4dca07,_0x1fe50c,_0x5aec8a,_0x39bf1a,_0x5445b4,_0x461876,_0x58167),A(this,_0x33e23b(0x408),_0x33e23b(0x2db)),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x33e23b(0x2ee)]=_0x47d50f,this[_0x33e23b(0x3d5)]=_0x37a6e5,this[_0x33e23b(0x381)]=_0x3644d4,this['localCacheService']=_0x58167,_0x4a582e&&(this[_0x33e23b(0xe1)]=_0x4a582e,this[_0x33e23b(0x11d)]=this[_0x33e23b(0xe1)][_0x33e23b(0x34b)](({reqId:_0x296c2c,timeout:_0x45b8a1})=>{var _0x5a1a7b=_0x33e23b;this[_0x5a1a7b(0x110)](_0x296c2c,_0x45b8a1);})));}['appendMutation'](_0xb04def){return this['_pendingMutations']['push'](_0xb04def),this;}[_0x4e146c(0x3a0)](_0x1a0d4c){var _0x3b00b7=_0x4e146c;if(this['_checkMissing'](_0x1a0d4c))return this[_0x3b00b7(0x2d9)](),this['_injector'][_0x3b00b7(0x15f)](exports[_0x3b00b7(0x2ba)],this[_0x3b00b7(0x1a0)],this['type'],this[_0x3b00b7(0x34d)],this[_0x3b00b7(0x326)],null,[_0x1a0d4c],this['_handler']);try{const _0x4947cb=this['_transformService'][_0x3b00b7(0x361)]([_0x1a0d4c],[this[_0x3b00b7(0x34d)]],!0x1);if(E[_0x3b00b7(0x347)](_0x4947cb)){const {c1Prime:_0xb9a129,c2Prime:_0x1f947f}=_0x4947cb,_0x3355bb=this['_transformService'][_0x3b00b7(0x39f)](_0xb9a129[0x0],this[_0x3b00b7(0x326)]);if(E[_0x3b00b7(0xf6)](_0x3355bb)){const {c1Prime:_0x97e113,m2Prime:_0x59211f}=_0x3355bb;return this['_executeRemoteChangeset'](_0x97e113),_0x1f947f[0x0][_0x3b00b7(0x14c)]=this[_0x3b00b7(0x116)](),this[_0x3b00b7(0x2d9)](),this[_0x3b00b7(0x2ee)][_0x3b00b7(0x15f)](exports[_0x3b00b7(0x3c9)],this['unitID'],this['type'],_0x1f947f[0x0],_0x59211f,this[_0x3b00b7(0x1b6)],void 0x0);}throw _0x3355bb[_0x3b00b7(0x259)];}throw _0x4947cb[_0x3b00b7(0x259)];}catch(_0x43c040){return this[_0x3b00b7(0x3d5)]['error'](_0x43c040),this[_0x3b00b7(0x23e)](!0x1);}}[_0x4e146c(0x348)](_0x4a7ff8){var _0x47e8a9=_0x4e146c;if(this[_0x47e8a9(0x2d9)](),this[_0x47e8a9(0x312)](_0x4a7ff8))return this[_0x47e8a9(0x2ee)]['createInstance'](exports['FetchingMissState'],this[_0x47e8a9(0x1a0)],this[_0x47e8a9(0x250)],null,this[_0x47e8a9(0x326)],this[_0x47e8a9(0x34d)],[],this['_handler']);this[_0x47e8a9(0x12c)]();const _0x4158c9=this[_0x47e8a9(0x2ee)][_0x47e8a9(0x15f)](exports[_0x47e8a9(0x22d)],this['unitID'],this[_0x47e8a9(0x250)],this[_0x47e8a9(0x326)],this[_0x47e8a9(0x1b6)]);return _0x4158c9[_0x47e8a9(0x3d8)](),_0x4158c9[_0x47e8a9(0x1da)](),_0x4158c9;}[_0x4e146c(0x190)](_0xfb106a){var _0x27276e=_0x4e146c;return this[_0x27276e(0x23e)](!!(_0xfb106a!=null&&_0xfb106a[_0x27276e(0x2dd)]));}[_0x4e146c(0x3ae)](_0x4d0e00){var _0x13a0a4=_0x4e146c;return this['_resendTimeout']>It?this[_0x13a0a4(0x149)]():(this[_0x13a0a4(0xe1)]=St(this[_0x13a0a4(0xe5)],{'timeout':this['_resendTimeout'],'reqId':_0x4d0e00[_0x13a0a4(0x192)]}),this[_0x13a0a4(0x11d)]=this[_0x13a0a4(0xe1)][_0x13a0a4(0x34b)](({reqId:_0x3dfcfe,timeout:_0x3bdfdc})=>{var _0x3411e0=_0x13a0a4;this[_0x3411e0(0x110)](_0x3dfcfe,_0x3bdfdc);}),this);}['toggleOffline'](){var _0x16f1d9=_0x4e146c;return this[_0x16f1d9(0x2d9)](),this[_0x16f1d9(0x2ee)][_0x16f1d9(0x15f)](exports[_0x16f1d9(0x277)],this[_0x16f1d9(0x1a0)],this[_0x16f1d9(0x250)],this[_0x16f1d9(0x34d)],this[_0x16f1d9(0x326)],this[_0x16f1d9(0x1b6)]);}[_0x4e146c(0x109)](){return this;}['resend'](){var _0x1e2efb=_0x4e146c;this[_0x1e2efb(0x1b6)][_0x1e2efb(0x10a)](this[_0x1e2efb(0x34d)]);}[_0x4e146c(0x23e)](_0x40cb8c){var _0x58b114=_0x4e146c;return this[_0x58b114(0x2d9)](),this[_0x58b114(0x2ee)]['createInstance'](exports['ConflictState'],this[_0x58b114(0x1a0)],this[_0x58b114(0x250)],null,this['_pendingMutations'],this[_0x58b114(0x1b6)],_0x40cb8c);}[_0x4e146c(0x110)](_0x2cd2d1,_0x3149eb){var _0x4efd2d=_0x4e146c,_0x2539d6;_0x2cd2d1===((_0x2539d6=this['_awaitingChangeset'])==null?void 0x0:_0x2539d6[_0x4efd2d(0x192)])&&(this[_0x4efd2d(0x32d)](),this[_0x4efd2d(0xe5)]=_0x3149eb===0x0?0x3e8:_0x3149eb*0x2);}[_0x4e146c(0x2d9)](){var _0x4aa7b5=_0x4e146c,_0x113aec;(_0x113aec=this[_0x4aa7b5(0x11d)])==null||_0x113aec[_0x4aa7b5(0x130)](),this['_resendTimeout']=0x0;}},exports[_0x4e146c(0x3c9)]=ae([L(0x6,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),L(0x7,o[_0x4e146c(0xd7)](E['RevisionService'])),L(0x8,o[_0x4e146c(0x268)]),L(0x9,o[_0x4e146c(0x428)]),L(0xa,E[_0x4e146c(0x10f)]),L(0xb,o[_0x4e146c(0x1c3)]),L(0xc,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x3c9)]),exports[_0x4e146c(0x2d0)]=class extends oe{constructor(_0x524c6d,_0x4121af,_0x4a84b6,_0x415411,_0x1c2ffb,_0x25c51e=!0x1,_0x39a9e5,_0x303896,_0x35bc1d,_0x979120,_0x156799,_0x59d267,_0x57000d){var _0x303b65=_0x4e146c;super(_0x524c6d,_0x4121af,_0x4a84b6,_0x415411,_0x1c2ffb,_0x303896,_0x35bc1d,_0x979120,_0x57000d),A(this,_0x303b65(0x408),'conflict'),(this[_0x303b65(0x3bc)]=_0x25c51e,this['_permissionService']=_0x39a9e5,this[_0x303b65(0x1b7)]=_0x156799,this[_0x303b65(0xdf)]=_0x59d267,this[_0x303b65(0x3b3)]=_0x57000d,this[_0x303b65(0x2a9)](),this[_0x303b65(0x2be)](),this[_0x303b65(0x13a)]());}[_0x4e146c(0x2c8)](){return this;}['onRemoteChangeset'](){return this;}[_0x4e146c(0x348)](){return this;}[_0x4e146c(0x190)](){return this;}[_0x4e146c(0x3ae)](){return this;}['toggleOffline'](){return this;}[_0x4e146c(0x109)](){return this;}[_0x4e146c(0x32d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4e146c(0x2be)](){var _0x466043=_0x4e146c,_0x1e5ec7;(_0x1e5ec7=this[_0x466043(0x271)])==null||_0x1e5ec7[_0x466043(0x34c)](this[_0x466043(0x1a0)],this[_0x466043(0x250)],null,[]);}[_0x4e146c(0x2a9)](){var _0x179265=_0x4e146c;this[_0x179265(0x3bc)]?this['_collaborationUIEventService'][_0x179265(0x325)]({'id':J[_0x179265(0x339)]}):this[_0x179265(0xdf)][_0x179265(0x325)]({'id':J[_0x179265(0xfa)]});}[_0x4e146c(0x13a)](){var _0x5b2a8e=_0x4e146c;this[_0x5b2a8e(0x23b)][_0x5b2a8e(0x28e)](new Q[(_0x5b2a8e(0x437))](this['unitID'])['id'],!0x1);}},exports[_0x4e146c(0x2d0)]=ae([L(0x6,o[_0x4e146c(0xd7)](o['IPermissionService'])),L(0x7,o['ICommandService']),L(0x8,o[_0x4e146c(0x1c3)]),L(0x9,o['Inject'](E[_0x4e146c(0xc8)])),L(0xa,o[_0x4e146c(0xd7)](o[_0x4e146c(0x42e)])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x2d0)]),exports[_0x4e146c(0x277)]=class extends oe{constructor(_0x548d25,_0x37c6ce,_0x151ac5,_0x2e3292,_0x2be320,_0x214032,_0x3ba12b,_0xcd7725,_0x53f153,_0x499177){var _0x2f72e1=_0x4e146c;super(_0x548d25,_0x37c6ce,_0x151ac5,_0x2e3292,_0x2be320,_0xcd7725,_0x53f153,_0x3ba12b,_0x499177),A(this,_0x2f72e1(0x408),'offline'),this[_0x2f72e1(0x2ee)]=_0x214032;}['appendMutation'](_0x2e4cc3){var _0x5d711b=_0x4e146c;return this[_0x5d711b(0x326)]['push'](_0x2e4cc3),this[_0x5d711b(0x1da)](),this;}[_0x4e146c(0x3a0)](_0x359ff5){var _0x505fe8=_0x4e146c;throw new Error(_0x505fe8(0x43e));}[_0x4e146c(0x348)](){var _0x589095=_0x4e146c;throw new Error(_0x589095(0x3c0));}[_0x4e146c(0x190)](){var _0x41f5a3=_0x4e146c;throw new Error(_0x41f5a3(0x41e));}['onRemoteRetry'](){return this;}[_0x4e146c(0x149)](){return this;}[_0x4e146c(0x109)](){var _0x37794a=_0x4e146c;const {_injector:_0x27bbce,_pendingMutations:_0x2302b7,_awaitingChangeset:_0x1ca88b,unitID:_0x278e4d,_handler:_0x4a6cbc,type:_0x57eebf}=this,_0x3d1d87=ft(_0x27bbce,_0x278e4d,_0x57eebf,_0x1ca88b,_0x2302b7,_0x4a6cbc);return _0x3d1d87 instanceof exports[_0x37794a(0x22d)]?_0x3d1d87[_0x37794a(0x3d8)]():(_0x3d1d87 instanceof exports['AwaitingWithPendingState']||_0x3d1d87 instanceof exports[_0x37794a(0x3ec)])&&_0x3d1d87[_0x37794a(0x32d)](),_0x3d1d87;}['resend'](){var _0x17606c=_0x4e146c;throw new Error(_0x17606c(0x18a));}},exports[_0x4e146c(0x277)]=ae([L(0x5,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),L(0x6,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),L(0x7,o[_0x4e146c(0x268)]),L(0x8,o[_0x4e146c(0x1c3)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x4e146c(0x2ba)]=class extends oe{constructor(_0x713914,_0x2c9cc7,_0x3804d0,_0x3cdd8f,_0x5ea99b,_0x2db32a,_0x51ec86,_0x1443d7,_0x2ec225,_0x3060f2,_0x313b0b,_0x48d83b,_0x8a20d8,_0x8bc643){var _0xc0cd82=_0x4e146c;super(_0x713914,_0x2c9cc7,_0x3804d0,_0x3cdd8f,_0x51ec86,_0x313b0b,_0x48d83b,_0x2ec225,_0x8bc643),A(this,_0xc0cd82(0x408),_0xc0cd82(0x127)),(this[_0xc0cd82(0x358)]=_0x5ea99b,this[_0xc0cd82(0x3b7)]=_0x2db32a,this['_injector']=_0x1443d7,this[_0xc0cd82(0x3d5)]=_0x3060f2,this[_0xc0cd82(0x381)]=_0x8a20d8,this[_0xc0cd82(0x3b3)]=_0x8bc643);}[_0x4e146c(0x2c3)](_0x8f324b){var _0x3b26a2=_0x4e146c;try{const _0x451678=[..._0x8f324b,...this[_0x3b26a2(0x3b7)]],_0x2d4c56=[this['_awaitingChangeset']||this[_0x3b26a2(0x358)]][_0x3b26a2(0x12a)](_0x576664=>!!_0x576664);let _0x9171d5,_0x4ff947;if(_0x2d4c56[_0x3b26a2(0x276)]){const _0x2a7a5f=this[_0x3b26a2(0x381)][_0x3b26a2(0x361)](_0x451678,_0x2d4c56,!0x1);if(!E['isTransformChangesetsSuccess'](_0x2a7a5f))throw _0x2a7a5f['error'];_0x9171d5=_0x2a7a5f[_0x3b26a2(0x434)],_0x4ff947=_0x2a7a5f[_0x3b26a2(0x152)];}else _0x9171d5=_0x451678,_0x4ff947=[];let _0x2091eb=this[_0x3b26a2(0x326)];_0x9171d5[_0x3b26a2(0x407)](_0x46c364=>{var _0x47a206=_0x3b26a2;let _0x521d21;if(_0x2091eb['length']){const _0x496550=this[_0x47a206(0x381)][_0x47a206(0x39f)](_0x46c364,_0x2091eb);if(!E[_0x47a206(0xf6)](_0x496550))throw _0x496550['error'];_0x521d21=_0x496550[_0x47a206(0x434)],_0x2091eb=_0x496550[_0x47a206(0x2b7)];}else _0x521d21=_0x46c364;this[_0x47a206(0x2d4)](_0x521d21);}),this[_0x3b26a2(0x358)]&&this[_0x3b26a2(0x12c)](),this['_awaitingChangeset']&&_0x4ff947['length']&&(_0x4ff947[0x0][_0x3b26a2(0x14c)]=this[_0x3b26a2(0x116)]());let _0x9244ae;if(this[_0x3b26a2(0x34d)]&&_0x2091eb[_0x3b26a2(0x276)]!==0x0)_0x9244ae=this['_injector']['createInstance'](exports[_0x3b26a2(0x3c9)],this[_0x3b26a2(0x1a0)],this[_0x3b26a2(0x250)],_0x4ff947[0x0],_0x2091eb,this[_0x3b26a2(0x1b6)],void 0x0);else{if(this[_0x3b26a2(0x34d)]&&_0x2091eb[_0x3b26a2(0x276)]===0x0)_0x4ff947[0x0][_0x3b26a2(0x14c)]=this[_0x3b26a2(0x116)](),_0x9244ae=this['_injector']['createInstance'](exports[_0x3b26a2(0x3ec)],this[_0x3b26a2(0x1a0)],this['type'],_0x4ff947[0x0],this[_0x3b26a2(0x1b6)]);else{if(_0x2091eb[_0x3b26a2(0x276)]!==0x0){const _0x38965a=this[_0x3b26a2(0x2ee)][_0x3b26a2(0x15f)](exports[_0x3b26a2(0x22d)],this[_0x3b26a2(0x1a0)],this[_0x3b26a2(0x250)],_0x2091eb,this['_handler']);_0x38965a[_0x3b26a2(0x3d8)](),_0x9244ae=_0x38965a;}else _0x9244ae=this['_injector'][_0x3b26a2(0x15f)](exports['SyncedState'],this[_0x3b26a2(0x1a0)],this[_0x3b26a2(0x250)],this['_handler']);}}return _0x9244ae['_updateLocalCache'](),_0x9244ae;}catch(_0x428492){return this[_0x3b26a2(0x3d5)][_0x3b26a2(0x259)](_0x3b26a2(0x186),_0x3b26a2(0x3f2),_0x428492),this['_injector'][_0x3b26a2(0x15f)](exports[_0x3b26a2(0x2d0)],this['unitID'],this[_0x3b26a2(0x250)],this[_0x3b26a2(0x34d)],this[_0x3b26a2(0x326)],this['_handler'],!0x1);}}[_0x4e146c(0x32d)](){var _0x3827ab=_0x4e146c;throw new Error(_0x3827ab(0x2d6));}[_0x4e146c(0x2c8)](_0x13b27f){var _0x5d95d4=_0x4e146c;return this['_pendingMutations'][_0x5d95d4(0x2c1)](_0x13b27f),this;}[_0x4e146c(0x3a0)](_0xd069fc){var _0x4f3e95=_0x4e146c;return this['_queuedRemoteChangesets'][_0x4f3e95(0x2c1)](_0xd069fc),this;}[_0x4e146c(0x348)](_0x4239b7){var _0x6c54ba=_0x4e146c;if(this[_0x6c54ba(0x34d)])return this[_0x6c54ba(0x358)]=this['_awaitingChangeset'],this[_0x6c54ba(0x34d)]=null,this;throw new Error(_0x6c54ba(0x162));}[_0x4e146c(0x190)](_0x481aa1){var _0x61b134=_0x4e146c;return this[_0x61b134(0x23e)](!!(_0x481aa1!=null&&_0x481aa1[_0x61b134(0x2dd)]));}['onRemoteRetry'](){return this;}[_0x4e146c(0x149)](){var _0x1603b3=_0x4e146c;return this[_0x1603b3(0x2ee)][_0x1603b3(0x15f)](exports['OfflineState'],this['unitID'],this[_0x1603b3(0x250)],this['_awaitingChangeset'],this[_0x1603b3(0x326)],this[_0x1603b3(0x1b6)]);}['toggleOnline'](){return this;}[_0x4e146c(0x23e)](_0x1c7777){var _0x25c3ac=_0x4e146c;return this['_injector'][_0x25c3ac(0x15f)](exports[_0x25c3ac(0x2d0)],this[_0x25c3ac(0x1a0)],this[_0x25c3ac(0x250)],this[_0x25c3ac(0x34d)],this[_0x25c3ac(0x326)],this['_handler'],_0x1c7777);}},exports[_0x4e146c(0x2ba)]=ae([L(0x7,o[_0x4e146c(0xd7)](o['Injector'])),L(0x8,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),L(0x9,o['ILogService']),L(0xa,o[_0x4e146c(0x268)]),L(0xb,o[_0x4e146c(0x1c3)]),L(0xc,E[_0x4e146c(0x10f)]),L(0xd,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x2ba)]);function ft(_0x271658,_0xe13650,_0x474000,_0x178bf2,_0x4ca853,_0x12e60c){var _0x59cdae=_0x4e146c;return _0x178bf2&&_0x4ca853[_0x59cdae(0x276)]?_0x271658[_0x59cdae(0x15f)](exports[_0x59cdae(0x3c9)],_0xe13650,_0x474000,_0x178bf2,_0x4ca853,_0x12e60c,void 0x0):_0x178bf2?_0x271658[_0x59cdae(0x15f)](exports[_0x59cdae(0x3ec)],_0xe13650,_0x474000,_0x178bf2,_0x12e60c):_0x4ca853['length']?_0x271658[_0x59cdae(0x15f)](exports[_0x59cdae(0x22d)],_0xe13650,_0x474000,_0x4ca853,_0x12e60c):_0x271658['createInstance'](exports['SyncedState'],_0xe13650,_0x474000,_0x12e60c);}var ii=Object[_0x4e146c(0x374)],Be=(_0x3b4107,_0x438285,_0x6eb730,_0xd86271)=>{for(var _0x5ca222=_0xd86271>0x1?void 0x0:_0xd86271?ii(_0x438285,_0x6eb730):_0x438285,_0x568101=_0x3b4107['length']-0x1,_0x3f1425;_0x568101>=0x0;_0x568101--)(_0x3f1425=_0x3b4107[_0x568101])&&(_0x5ca222=_0x3f1425(_0x5ca222)||_0x5ca222);return _0x5ca222;},H=(_0x5434f3,_0x2e8bf5)=>(_0x7c1a23,_0x2f14d1)=>_0x2e8bf5(_0x7c1a23,_0x2f14d1,_0x5434f3);exports[_0x4e146c(0x287)]=class extends o[_0x4e146c(0x191)]{constructor(_0x42ce56,_0x4ffe0e,_0x1dea55,_0x14cc48,_0x169ae0,_0x46865e,_0x594b73,_0x20bc4b,_0x440619,_0x4d1240,_0x2029e6,_0x4cd930,_0x4ed693,_0xeaca55){var _0x11cdfa=_0x4e146c;super(),A(this,_0x11cdfa(0xf4),new j['BehaviorSubject'](null)),A(this,'state$',this[_0x11cdfa(0xf4)][_0x11cdfa(0x296)]()),A(this,'_state'),A(this,_0x11cdfa(0x146),!0x1),A(this,_0x11cdfa(0x14d),''),A(this,_0x11cdfa(0x20d),0x0),A(this,_0x11cdfa(0x303),this[_0x11cdfa(0x36f)][_0x11cdfa(0x126)](j[_0x11cdfa(0x3f6)](_0x5ab646=>_0x5ab646?_0x5ab646[_0x11cdfa(0x408)]:je[_0x11cdfa(0xef)]),j[_0x11cdfa(0x216)](0x1))),A(this,_0x11cdfa(0x3d9),!0x1),A(this,_0x11cdfa(0x2e0),[]),(this[_0x11cdfa(0x1a0)]=_0x42ce56,this[_0x11cdfa(0x11c)]=_0x4ffe0e,this[_0x11cdfa(0x251)]=_0x1dea55,this[_0x11cdfa(0x2ee)]=_0x14cc48,this['_compressMutationService']=_0x169ae0,this[_0x11cdfa(0x1b7)]=_0x46865e,this['_revisionService']=_0x594b73,this[_0x11cdfa(0x2de)]=_0x20bc4b,this[_0x11cdfa(0x206)]=_0x440619,this['_logService']=_0x4d1240,this[_0x11cdfa(0x307)]=_0x2029e6,this['_permissionService']=_0x4cd930,this['_singleActiveUnitService']=_0x4ed693,this[_0x11cdfa(0x271)]=_0xeaca55);}get[_0x4e146c(0x2e7)](){var _0x2a95e1=_0x4e146c;return this[_0x2a95e1(0x1c9)];}async[_0x4e146c(0x354)](){var _0x4e2cec=_0x4e146c;if(this[_0x4e2cec(0x2e7)])throw new Error(_0x4e2cec(0x1b9));await this[_0x4e2cec(0x42c)]();}[_0x4e146c(0x294)](){var _0x28a94f=_0x4e146c;return this[_0x28a94f(0x146)]=!0x0,o[_0x28a94f(0x274)](()=>{var _0x438648=_0x28a94f;this[_0x438648(0x146)]=!0x1,this[_0x438648(0x1f3)]();});}['onLocalMutation'](_0x58f3cd){var _0x63dbc0=_0x4e146c;this[_0x63dbc0(0x10d)](_0x58f3cd);}[_0x4e146c(0x351)](_0xc44b8f){var _0x577be5=_0x4e146c;this[_0x577be5(0x1c9)]=_0xc44b8f,this[_0x577be5(0xf4)][_0x577be5(0xd2)](_0xc44b8f);}async[_0x4e146c(0x42c)](){var _0xb263d0=_0x4e146c,_0x404160;this[_0xb263d0(0x351)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x404160=this['_singleActiveUnitService'])==null||_0x404160[_0xb263d0(0x3fa)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0xb263d0(0x435)](this[_0xb263d0(0x1a0)])[_0xb263d0(0x34b)](_0x1ac0a7=>{var _0x5df8c2=_0xb263d0;this[_0x5df8c2(0x3d5)][_0x5df8c2(0x29f)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x1ac0a7),_0x1ac0a7===$e['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':J[_0x5df8c2(0x33f)]}),this[_0x5df8c2(0x23b)][_0x5df8c2(0x28e)](new Q['WorkbookEditablePermission'](this[_0x5df8c2(0x1a0)])['id'],!0x1),this['_permissionService'][_0x5df8c2(0x1a5)](!0x1)):(this[_0x5df8c2(0x23b)][_0x5df8c2(0x28e)](new Q[(_0x5df8c2(0x437))](this[_0x5df8c2(0x1a0)])['id'],!0x0),this[_0x5df8c2(0x23b)][_0x5df8c2(0x1a5)](!0x0));})));let _0x2aa3a9=!0x1;return this[_0xb263d0(0x210)](this[_0xb263d0(0x11c)][_0xb263d0(0x3ca)][_0xb263d0(0x34b)](_0x7c109a=>{var _0x4a3527=_0xb263d0;_0x7c109a===se['ONLINE']?this['_toggleOnline'](_0x2aa3a9):_0x7c109a===se[_0x4a3527(0xef)]&&(_0x2aa3a9=!0x0,this[_0x4a3527(0x400)]());})),this[_0xb263d0(0x210)](this[_0xb263d0(0x11c)][_0xb263d0(0x375)]['subscribe'](_0x3b3996=>{var _0x39a9f3=_0xb263d0;try{switch(_0x3b3996[_0x39a9f3(0x25d)]){case E[_0x39a9f3(0x2e5)][_0x39a9f3(0x24d)]:{this[_0x39a9f3(0x256)](E[_0x39a9f3(0x1ad)](_0x3b3996[_0x39a9f3(0x2b3)]));break;}case E[_0x39a9f3(0x2e5)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x3b3996['data']);break;}case E['CollaborationEvent'][_0x39a9f3(0x1fc)]:{this[_0x39a9f3(0x2a8)]();break;}case E[_0x39a9f3(0x2e5)]['CHANGESET_SHOULD_RETRY']:{this[_0x39a9f3(0x185)](_0x3b3996['data']);break;}case E[_0x39a9f3(0x2e5)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x39a9f3(0x253)](_0x3b3996['data']['changesets'][_0x39a9f3(0x3f6)](_0x4b2584=>E[_0x39a9f3(0x1ad)](_0x4b2584)));break;}case E[_0x39a9f3(0x2e5)]['PERMISSION_REJ']:{this[_0x39a9f3(0x2a8)]({'isPermissionRej':!0x0});break;}case E[_0x39a9f3(0x2e5)][_0x39a9f3(0x2fb)]:break;}}catch(_0x2eead1){throw console[_0x39a9f3(0x259)](_0x39a9f3(0x403),_0x2eead1),_0x2eead1;}})),this[_0xb263d0(0x1c9)];}[_0x4e146c(0x1e9)](){this['_transitionLocked']=!0x1;}[_0x4e146c(0x141)](){var _0x49b3ea=_0x4e146c;if(this[_0x49b3ea(0x3d9)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x49b3ea(0x3d9)]=!0x0;}['_onLocalMutation'](_0x196049){var _0x2b6058=_0x4e146c;this[_0x2b6058(0x141)](),this[_0x2b6058(0x351)](this['_state'][_0x2b6058(0x2c8)](_0x196049)),this[_0x2b6058(0x1e9)]();}[_0x4e146c(0x256)](_0x427a93){var _0x4430ee=_0x4e146c;if(!(_0x427a93['revision']<=this[_0x4430ee(0x2eb)][_0x4430ee(0x106)](this['unitID']))){if(this[_0x4430ee(0x146)]){this[_0x4430ee(0x2e0)][_0x4430ee(0x2c1)](_0x427a93);return;}this[_0x4430ee(0x2a6)](_0x427a93);}}[_0x4e146c(0x1f3)](){var _0x47b8d7=_0x4e146c;this['_remoteChangesetQueue'][_0x47b8d7(0x407)](_0xb13df7=>this[_0x47b8d7(0x2a6)](_0xb13df7)),this[_0x47b8d7(0x2e0)]=[];}[_0x4e146c(0x2a6)](_0xfa3768){var _0x823c9a=_0x4e146c;const _0x439e16=this[_0x823c9a(0x243)][_0x823c9a(0x222)][_0x823c9a(0x332)](this[_0x823c9a(0x243)]['interceptor'][_0x823c9a(0x360)]()[_0x823c9a(0x194)])(_0xfa3768[_0x823c9a(0x14f)],null)||_0xfa3768[_0x823c9a(0x14f)],_0x441251={..._0xfa3768,'mutations':_0x439e16};this[_0x823c9a(0x141)](),this['_updateState'](this[_0x823c9a(0x1c9)][_0x823c9a(0x3a0)](_0x441251)),this[_0x823c9a(0x1e9)]();}[_0x4e146c(0x316)](_0x593850){var _0x24ddcd=_0x4e146c;this[_0x24ddcd(0x141)](),this[_0x24ddcd(0x351)](this[_0x24ddcd(0x1c9)][_0x24ddcd(0x348)](_0x593850)),this['_unlockTransition']();}[_0x4e146c(0x2a8)](_0x356fbf){var _0x368daa=_0x4e146c;this[_0x368daa(0x141)](),this[_0x368daa(0x351)](this[_0x368daa(0x1c9)]['onRemoteRej'](_0x356fbf)),this[_0x368daa(0x1e9)]();}[_0x4e146c(0x185)](_0x2bb3ee){var _0x387d9b=_0x4e146c;this[_0x387d9b(0x141)](),this['_updateState'](this[_0x387d9b(0x1c9)][_0x387d9b(0x3ae)](_0x2bb3ee)),this[_0x387d9b(0x1e9)]();}[_0x4e146c(0x253)](_0x2a4e4c){var _0x1c3ac3=_0x4e146c;if(!(this[_0x1c3ac3(0x1c9)]instanceof exports[_0x1c3ac3(0x2ba)]))throw new TypeError(_0x1c3ac3(0x203));const _0x369ef0=_0x2a4e4c[_0x1c3ac3(0x3f6)](_0x31af4d=>{var _0x297efe=_0x1c3ac3;const _0x544672=this['_compressMutationService'][_0x297efe(0x222)][_0x297efe(0x332)](this[_0x297efe(0x243)][_0x297efe(0x222)][_0x297efe(0x360)]()[_0x297efe(0x194)])(_0x31af4d['mutations'],null)||_0x31af4d[_0x297efe(0x14f)];return{..._0x31af4d,'mutations':_0x544672};});this[_0x1c3ac3(0x141)](),this[_0x1c3ac3(0x351)](this[_0x1c3ac3(0x1c9)][_0x1c3ac3(0x2c3)](_0x369ef0)),this[_0x1c3ac3(0x1e9)]();}['_toggleOffline'](){var _0x554317=_0x4e146c;this[_0x554317(0x141)](),this['_updateState'](this['_state'][_0x554317(0x149)]()),this['_unlockTransition']();}[_0x4e146c(0x232)](_0xaeedb7=!0x1){var _0x84ae76=_0x4e146c;this[_0x84ae76(0x141)](),this[_0x84ae76(0x351)](this['_state'][_0x84ae76(0x109)]()),this[_0x84ae76(0x1e9)]();const _0x53ad20=this[_0x84ae76(0x1c9)];_0xaeedb7&&_0x53ad20 instanceof exports[_0x84ae76(0x255)]&&(this[_0x84ae76(0x141)](),this['_updateState'](_0x53ad20[_0x84ae76(0x26d)]()),this[_0x84ae76(0x1e9)]());}async[_0x4e146c(0x28f)](){return new Promise(_0x4b1055=>{var _0x3e2dbb=_0x541a;this[_0x3e2dbb(0x11c)][_0x3e2dbb(0x3ca)][_0x3e2dbb(0x126)](j[_0x3e2dbb(0xc4)](0x1))[_0x3e2dbb(0x34b)](async _0x17abde=>{var _0x51b40d=_0x3e2dbb;_0x4b1055(await this[_0x51b40d(0x404)](_0x17abde===se[_0x51b40d(0x367)]));});});}['_createHandler'](){var _0x1f88fb=_0x4e146c;const _0x5c1432=this[_0x1f88fb(0x1a0)];return{'onStateChange':(_0x10b243,_0x503fb4)=>{var _0x2a6bff=_0x1f88fb;if(_0x10b243!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x10b243[_0x2a6bff(0x408)]+_0x2a6bff(0x327)+_0x503fb4[_0x2a6bff(0x408)]+_0x2a6bff(0x3b4)+this[_0x2a6bff(0x1c9)][_0x2a6bff(0x408)]);this[_0x2a6bff(0x351)](_0x503fb4);},'onSendChangeset':_0x5e8e85=>{var _0x10a300=_0x1f88fb;_0x5e8e85['sid']||(_0x5e8e85['sid']=this[_0x10a300(0x14d)],_0x5e8e85[_0x10a300(0x192)]=++this[_0x10a300(0x20d)]);const _0x29b191={'eventID':E[_0x10a300(0x2e5)][_0x10a300(0x2e2)],'data':{'unitID':_0x5e8e85['unitID'],'unitType':this[_0x10a300(0x251)],'changeset':_0x5e8e85,'memberID':this['session'][_0x10a300(0x13c)]()}};this[_0x10a300(0x11c)][_0x10a300(0x200)](_0x29b191,this[_0x10a300(0x1a0)]);},'onMissingChangesets':({from:_0x33f625,to:_0x979546})=>{var _0x384ccd=_0x1f88fb;this[_0x384ccd(0x3d5)][_0x384ccd(0x29f)](_0x384ccd(0xfc),'fetching\x20missing\x20changesets\x20from\x20'+_0x33f625+'\x20to\x20'+_0x979546);const _0x2abab3={'eventID':E['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x5c1432,'unitType':this[_0x384ccd(0x251)],'from':_0x33f625,'to':_0x979546}};this['session'][_0x384ccd(0x200)](_0x2abab3,this[_0x384ccd(0x1a0)]);}};}async['_createInitialStateImpl'](_0x25f7ee){var _0x2efea7=_0x4e146c,_0x5a87f5,_0x1d0c39,_0x5f1686;const _0x2708e9=await((_0x5a87f5=this[_0x2efea7(0x271)])==null?void 0x0:_0x5a87f5[_0x2efea7(0x1a8)](this[_0x2efea7(0x1a0)])),_0x5c1033=(_0x1d0c39=_0x2708e9==null?void 0x0:_0x2708e9[_0x2efea7(0x14f)])!=null?_0x1d0c39:[],_0xa5bdd0=(_0x5f1686=_0x2708e9==null?void 0x0:_0x2708e9[_0x2efea7(0x418)])!=null?_0x5f1686:null,_0x38e7c0=!!(_0xa5bdd0!=null&&_0xa5bdd0[_0x2efea7(0x101)])&&!!(_0xa5bdd0!=null&&_0xa5bdd0[_0x2efea7(0x192)]);this['_changesetSessionId']=_0x38e7c0?_0xa5bdd0[_0x2efea7(0x101)]:E[_0x2efea7(0x113)](),this[_0x2efea7(0x20d)]=_0x38e7c0?_0xa5bdd0[_0x2efea7(0x192)]:0x0;const _0x30ba44=this['unitID'];try{this[_0x2efea7(0x3b0)](_0xa5bdd0,_0x5c1033);}catch(_0x2b19b3){this[_0x2efea7(0x3d5)][_0x2efea7(0x259)](_0x2b19b3);}const _0x1831a5=this[_0x2efea7(0x12b)]();if(_0x25f7ee){const _0xfb9bc4=ft(this[_0x2efea7(0x2ee)],_0x30ba44,this[_0x2efea7(0x251)],_0xa5bdd0,_0x5c1033,_0x1831a5);return _0xfb9bc4 instanceof exports[_0x2efea7(0x22d)]?_0xfb9bc4[_0x2efea7(0x3d8)]():(_0xfb9bc4 instanceof exports[_0x2efea7(0x3c9)]||_0xfb9bc4 instanceof exports['AwaitingState'])&&_0xfb9bc4[_0x2efea7(0x32d)](),_0xfb9bc4;}return this[_0x2efea7(0x2ee)][_0x2efea7(0x15f)](exports['OfflineState'],_0x30ba44,this[_0x2efea7(0x251)],_0xa5bdd0,_0x5c1033,_0x1831a5);}[_0x4e146c(0x3b0)](_0x5f4bc7,_0x1712f5){var _0x5cada2=_0x4e146c,_0x423cfe,_0x172f36;const _0x5d3bed=this[_0x5cada2(0x243)][_0x5cada2(0x222)][_0x5cada2(0x332)](this[_0x5cada2(0x243)][_0x5cada2(0x222)][_0x5cada2(0x360)]()['COMPRESS_MUTATION_APPLY']);(_0x423cfe=_0x5d3bed((_0x5f4bc7==null?void 0x0:_0x5f4bc7[_0x5cada2(0x14f)])||[],null))==null||_0x423cfe[_0x5cada2(0x407)](_0x3720a2=>this[_0x5cada2(0x307)][_0x5cada2(0x3b6)](_0x3720a2['id'],_0x3720a2[_0x5cada2(0x2c9)])),(_0x172f36=_0x5d3bed(_0x1712f5||[],null))==null||_0x172f36['forEach'](_0x2ddfc7=>this[_0x5cada2(0x307)]['executeCommand'](_0x2ddfc7['id'],_0x2ddfc7[_0x5cada2(0x2c9)]));}},exports[_0x4e146c(0x287)]=Be([H(0x3,o[_0x4e146c(0xd7)](o['Injector'])),H(0x4,o[_0x4e146c(0xd7)](E[_0x4e146c(0xfb)])),H(0x5,o['Inject'](o[_0x4e146c(0x42e)])),H(0x6,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),H(0x7,o[_0x4e146c(0xd7)](ee)),H(0x8,o[_0x4e146c(0x401)]),H(0x9,o[_0x4e146c(0x428)]),H(0xa,o[_0x4e146c(0x268)]),H(0xb,o[_0x4e146c(0xd0)]),H(0xc,o[_0x4e146c(0x1a4)](ve)),H(0xd,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x287)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x15066c,_0x2881bf,_0x27bea2,_0x3140e1,_0x157031,_0x496b0b,_0x3e1d24,_0xee044d,_0x54d806,_0xd7391d,_0x40b179,_0x49b870,_0x437e44,_0x397268){var _0x1a4ffe=_0x4e146c;super(_0x15066c,_0x27bea2,_0x2881bf,_0x3140e1,_0x157031,_0x496b0b,_0x3e1d24,_0xee044d,_0x54d806,_0xd7391d,_0x40b179,_0x49b870,_0x437e44,_0x397268),A(this,_0x1a4ffe(0x2b9),null),(this[_0x1a4ffe(0x1a0)]=_0x15066c,this[_0x1a4ffe(0x250)]=_0x2881bf);}[_0x4e146c(0x235)](_0x46fd5a){var _0x3c40a0=_0x4e146c;this[_0x3c40a0(0x2b9)]=_0x46fd5a;}['dispose'](){var _0x216e81=_0x4e146c;this[_0x216e81(0x2b9)]=null,super['dispose']();}[_0x4e146c(0x12b)](){var _0x14e061=_0x4e146c;const _0x46d207=super[_0x14e061(0x12b)]();return _0x46d207[_0x14e061(0x3fd)]=_0x10c27a=>{var _0x56f94b=_0x14e061,_0x8bea0b,_0x355524;return(_0x355524=(_0x8bea0b=this[_0x56f94b(0x2b9)])==null?void 0x0:_0x8bea0b[_0x56f94b(0x3fd)])==null?void 0x0:_0x355524[_0x56f94b(0x13e)](_0x8bea0b,_0x10c27a);},_0x46d207[_0x14e061(0x1e4)]=_0x13d55c=>{var _0x331b4d=_0x14e061,_0x2759e0,_0x11b71d;return(_0x11b71d=(_0x2759e0=this['_handlerCallback'])==null?void 0x0:_0x2759e0[_0x331b4d(0x1e4)])==null?void 0x0:_0x11b71d[_0x331b4d(0x13e)](_0x2759e0,_0x13d55c);},_0x46d207[_0x14e061(0x317)]=_0x47c81d=>{var _0x5dc38f=_0x14e061,_0x1726a4,_0xc254aa;return(_0xc254aa=(_0x1726a4=this[_0x5dc38f(0x2b9)])==null?void 0x0:_0x1726a4[_0x5dc38f(0x317)])==null?void 0x0:_0xc254aa[_0x5dc38f(0x13e)](_0x1726a4,_0x47c81d);},_0x46d207[_0x14e061(0x10b)]=_0x26aa39=>{var _0x344312=_0x14e061,_0x315a82,_0x4be6b8;return(_0x4be6b8=(_0x315a82=this[_0x344312(0x2b9)])==null?void 0x0:_0x315a82['onSyncEditingCollabCursor'])==null?void 0x0:_0x4be6b8['call'](_0x315a82,_0x26aa39);},_0x46d207[_0x14e061(0x3ac)]=_0x1ccb99=>{var _0x394a4e=_0x14e061,_0x2d3e41,_0x2988d4,_0x33546a;if(!((_0x2d3e41=this['_handlerCallback'])!=null&&_0x2d3e41[_0x394a4e(0x3ac)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x33546a=(_0x2988d4=this[_0x394a4e(0x2b9)])==null?void 0x0:_0x2988d4[_0x394a4e(0x3ac)])==null?void 0x0:_0x33546a[_0x394a4e(0x13e)](_0x2988d4,_0x1ccb99);},_0x46d207[_0x14e061(0x3ce)]=_0xa55c58=>{var _0x49afdc=_0x14e061,_0x3ab9f9,_0x388884,_0x3565aa;if(!((_0x3ab9f9=this['_handlerCallback'])!=null&&_0x3ab9f9[_0x49afdc(0x3ce)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3565aa=(_0x388884=this[_0x49afdc(0x2b9)])==null?void 0x0:_0x388884[_0x49afdc(0x3ce)])==null?void 0x0:_0x3565aa[_0x49afdc(0x13e)](_0x388884,_0xa55c58);},_0x46d207;}async[_0x4e146c(0x42c)](){var _0x361313=_0x4e146c;const _0x206521=await super[_0x361313(0x42c)]();return this[_0x361313(0x210)](this[_0x361313(0x307)]['onCommandExecuted']((_0x990712,_0x1fc2e8)=>{var _0x22b8f9=_0x361313;if(_0x990712[_0x22b8f9(0x250)]!==o[_0x22b8f9(0x173)][_0x22b8f9(0x22a)]||_0x1fc2e8!=null&&_0x1fc2e8[_0x22b8f9(0x11e)]||_0x1fc2e8!=null&&_0x1fc2e8[_0x22b8f9(0x223)]||_0x990712['id']===ct[_0x22b8f9(0xfe)]['id'])return;const _0x261fff=_0x990712[_0x22b8f9(0x2c9)];if((_0x261fff==null?void 0x0:_0x261fff['unitId'])!==this['unitID'])return;const _0x233ddf=_0x990712,_0x53d722=this[_0x22b8f9(0x243)]['interceptor']['fetchThroughInterceptors'](this[_0x22b8f9(0x243)][_0x22b8f9(0x222)][_0x22b8f9(0x360)]()[_0x22b8f9(0x2d5)])([_0x233ddf],this['_univerInstanceService'])||[_0x233ddf];this[_0x22b8f9(0x10d)](_0x53d722[0x0]);})),_0x206521;}},exports['DocCollaborationEntity']=Be([H(0x3,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),H(0x4,o[_0x4e146c(0xd7)](E[_0x4e146c(0xfb)])),H(0x5,o[_0x4e146c(0xd7)](o[_0x4e146c(0x42e)])),H(0x6,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),H(0x7,o['Inject'](ee)),H(0x8,o[_0x4e146c(0x401)]),H(0x9,o['ILogService']),H(0xa,o['ICommandService']),H(0xb,o[_0x4e146c(0xd0)]),H(0xc,o[_0x4e146c(0x1a4)](ve)),H(0xd,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x1a7)]),exports[_0x4e146c(0x1eb)]=class extends exports[_0x4e146c(0x287)]{constructor(_0x546fb2,_0x34b19c,_0x6027cf,_0x2ec017,_0x33a9a2,_0x2a8f4a,_0x3f3b20,_0x109e79,_0x471579,_0x281632,_0x1e2bf5,_0x49f628,_0x429e8f,_0x3e1c08,_0x308180){var _0xe25a57=_0x4e146c;super(_0x546fb2,_0x6027cf,_0x34b19c,_0x2ec017,_0x33a9a2,_0x2a8f4a,_0x3f3b20,_0x471579,_0x281632,_0x1e2bf5,_0x49f628,_0x429e8f,_0x3e1c08,_0x308180),this[_0xe25a57(0x1a0)]=_0x546fb2,this[_0xe25a57(0x250)]=_0x34b19c,this[_0xe25a57(0x32a)]=_0x109e79;}[_0x4e146c(0x12b)](){var _0x1a55b3=_0x4e146c;const _0xaf9b5b=super[_0x1a55b3(0x12b)]();return _0xaf9b5b[_0x1a55b3(0x317)]=_0x4da5d9=>this[_0x1a55b3(0x32a)][_0x1a55b3(0x20a)](_0x4da5d9),_0xaf9b5b;}async['_init'](){var _0x516186=_0x4e146c;const _0x160efd=await super[_0x516186(0x42c)]();return this[_0x516186(0x210)](this[_0x516186(0x307)][_0x516186(0x14e)]((_0x5b6556,_0x4249e0)=>{var _0x4c8a3e=_0x516186;if(_0x5b6556[_0x4c8a3e(0x250)]!==o['CommandType'][_0x4c8a3e(0x22a)]||_0x4249e0!=null&&_0x4249e0[_0x4c8a3e(0x11e)]||_0x4249e0!=null&&_0x4249e0[_0x4c8a3e(0x223)])return;const _0x4b4757=_0x5b6556['params'];if((_0x4b4757==null?void 0x0:_0x4b4757[_0x4c8a3e(0xf7)])!==this[_0x4c8a3e(0x1a0)])return;const _0x5343a6=_0x5b6556,_0x47a789=this[_0x4c8a3e(0x243)][_0x4c8a3e(0x222)]['fetchThroughInterceptors'](this[_0x4c8a3e(0x243)][_0x4c8a3e(0x222)][_0x4c8a3e(0x360)]()[_0x4c8a3e(0x2d5)])([_0x5343a6],this[_0x4c8a3e(0x206)])||[_0x5343a6];this['_onLocalMutation'](_0x47a789[0x0]);})),_0x160efd;}},exports[_0x4e146c(0x1eb)]=Be([H(0x3,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),H(0x4,o['Inject'](E[_0x4e146c(0xfb)])),H(0x5,o[_0x4e146c(0xd7)](o[_0x4e146c(0x42e)])),H(0x6,o[_0x4e146c(0xd7)](E[_0x4e146c(0xc8)])),H(0x7,o['Inject'](exports['SheetTransformSelectionsService'])),H(0x8,o['Inject'](ee)),H(0x9,o[_0x4e146c(0x401)]),H(0xa,o[_0x4e146c(0x428)]),H(0xb,o[_0x4e146c(0x268)]),H(0xc,o[_0x4e146c(0xd0)]),H(0xd,o[_0x4e146c(0x1a4)](ve)),H(0xe,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x1eb)]);const Et=o[_0x4e146c(0x299)]('univer-pro.collaboration-client.network-condition.service');function pt(_0x33f3c8){var _0x49eb62=_0x4e146c,_0xd43c78,_0x16c398,_0x4e4e1b,_0x9f29d6,_0x1354be;const _0x3fefb7=_0x33f3c8[_0x49eb62(0x2b3)],_0x39f3f4=JSON[_0x49eb62(0x133)](_0x3fefb7);switch(_0x39f3f4['cmd']){case W['HEARTBEAT']:case W['HELLO']:{const _0x28ec73=_0x39f3f4['infoRsp'];return{..._0x39f3f4,'data':_0x28ec73,'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};}case W[_0x49eb62(0x187)]:{const _0x1ab0f9=_0x39f3f4[_0x49eb62(0x31b)];return{..._0x39f3f4,'data':_0x1ab0f9,'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};}case W[_0x49eb62(0x3a3)]:{const _0x2fc82f=_0x39f3f4['collaMsg'];switch(_0x2fc82f[_0x49eb62(0x25d)]){case E['CollaborationEvent'][_0x49eb62(0x379)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':(_0xd43c78=_0x2fc82f[_0x49eb62(0x245)])==null?void 0x0:_0xd43c78['cs']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x1fd)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':(_0x16c398=_0x2fc82f['csAckEvent'])==null?void 0x0:_0x16c398['cs']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':(_0x4e4e1b=_0x2fc82f[_0x49eb62(0x38f)])==null?void 0x0:_0x4e4e1b['cs']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x1fc)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':(_0x9f29d6=_0x2fc82f[_0x49eb62(0x3fc)])==null?void 0x0:_0x9f29d6['cs']},'cmd':_0x39f3f4['cmd']};case E[_0x49eb62(0x2e5)][_0x49eb62(0x142)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':(_0x1354be=_0x2fc82f[_0x49eb62(0x25e)])==null?void 0x0:_0x1354be['cs']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)]['UPDATE_CURSOR']:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0x2df)]},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x23f)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0xf8)]},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x369)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f['leaveEvent']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x17f)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0x3e5)]},'cmd':_0x39f3f4['cmd']};case E[_0x49eb62(0x2e5)][_0x49eb62(0x2f1)]:case E['CollaborationEvent'][_0x49eb62(0x207)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f['liveShareOperation']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x376)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0x3e5)]},'cmd':_0x39f3f4['cmd']};case E[_0x49eb62(0x2e5)][_0x49eb62(0x1f1)]:return{..._0x39f3f4,'data':_0x2fc82f,'cmd':_0x39f3f4['cmd']};case E[_0x49eb62(0x2e5)][_0x49eb62(0x137)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0x158)]},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x309)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f['updatePermissionObjEvent']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E[_0x49eb62(0x2e5)][_0x49eb62(0x31e)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f['shouldCloseConn']},'cmd':_0x39f3f4[_0x49eb62(0x1ed)]};case E['CollaborationEvent'][_0x49eb62(0x2fb)]:return{..._0x39f3f4,'data':{..._0x2fc82f,'data':_0x2fc82f[_0x49eb62(0x171)]},'cmd':_0x39f3f4['cmd']};default:return _0x39f3f4;}}default:return _0x39f3f4;}}function mt(_0x4ffe63){var _0x316b50=_0x4e146c;switch(_0x4ffe63[_0x316b50(0x1ed)]){case W['HEARTBEAT']:case W['HELLO']:return JSON['stringify']({'cmd':_0x4ffe63['cmd'],'routeKey':_0x4ffe63['routeKey']});case W['INGEST']:{let _0x441e4f;switch(_0x4ffe63[_0x316b50(0x2b3)]['eventID']){case E[_0x316b50(0x2e5)][_0x316b50(0x365)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x365)],'updateCursorEvent':_0x4ffe63['data'][_0x316b50(0x2b3)]};break;}case E['CollaborationEvent'][_0x316b50(0x369)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x369)],'leaveEvent':_0x4ffe63['data'][_0x316b50(0x2b3)]};break;}case E['CollaborationEvent'][_0x316b50(0x23f)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x23f)],'joinEvent':_0x4ffe63[_0x316b50(0x2b3)][_0x316b50(0x2b3)]};break;}case E[_0x316b50(0x2e5)][_0x316b50(0x17f)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x17f)],'liveShareNewHost':_0x4ffe63[_0x316b50(0x2b3)][_0x316b50(0x2b3)]};break;}case E['CollaborationEvent'][_0x316b50(0x207)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4ffe63[_0x316b50(0x2b3)][_0x316b50(0x2b3)]};break;}case E['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x376)],'liveShareTerminate':_0x4ffe63['data'][_0x316b50(0x2b3)]};break;}case E[_0x316b50(0x2e5)][_0x316b50(0x3ba)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)][_0x316b50(0x3ba)],'liveShareRequestHost':_0x4ffe63[_0x316b50(0x2b3)]['data']};break;}case E['CollaborationEvent'][_0x316b50(0x2f1)]:{_0x441e4f={'eventID':E[_0x316b50(0x2e5)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x441e4f={'eventID':_0x4ffe63[_0x316b50(0x2b3)][_0x316b50(0x25d)]};}return JSON[_0x316b50(0x1ba)]({'cmd':_0x4ffe63[_0x316b50(0x1ed)],'routeKey':_0x4ffe63[_0x316b50(0x2dc)],'collaMsg':_0x441e4f});}case W['JOIN']:return JSON[_0x316b50(0x1ba)]({'cmd':_0x4ffe63[_0x316b50(0x1ed)],'routeKey':_0x4ffe63[_0x316b50(0x2dc)],'joinReq':_0x4ffe63['data']});case W[_0x316b50(0x1df)]:return JSON[_0x316b50(0x1ba)]({'cmd':_0x4ffe63[_0x316b50(0x1ed)],'routeKey':_0x4ffe63['routeKey'],'leaveReq':_0x4ffe63[_0x316b50(0x2b3)]});default:throw new Error(_0x316b50(0x1e2));}}var ni=Object[_0x4e146c(0x374)],si=(_0x534621,_0x448146,_0x107529,_0x15924d)=>{var _0x3a61e3=_0x4e146c;for(var _0xeececd=_0x15924d>0x1?void 0x0:_0x15924d?ni(_0x448146,_0x107529):_0x448146,_0x215b20=_0x534621[_0x3a61e3(0x276)]-0x1,_0x37335d;_0x215b20>=0x0;_0x215b20--)(_0x37335d=_0x534621[_0x215b20])&&(_0xeececd=_0x37335d(_0xeececd)||_0xeececd);return _0xeececd;},_e=(_0x3081f3,_0x4f0cbb)=>(_0x448964,_0x49bd21)=>_0x4f0cbb(_0x448964,_0x49bd21,_0x3081f3);const Fe=o[_0x4e146c(0x299)](_0x4e146c(0x421));function ri(_0x114a1d,_0x49d307,_0x23d28b){var _0x37d689=_0x4e146c;return _0x114a1d+'/'+_0x49d307+_0x37d689(0x211)+_0x23d28b+'/new_changes';}exports['CollaborationSocketService']=class extends o['Disposable']{constructor(_0xac4386,_0x4999e8,_0x4d5e85,_0x2e7a89,_0x5471a7){var _0x9741f8=_0x4e146c;super(),this[_0x9741f8(0x2ee)]=_0xac4386,this[_0x9741f8(0x40a)]=_0x4999e8,this['_configService']=_0x4d5e85,this[_0x9741f8(0x3d5)]=_0x2e7a89,this[_0x9741f8(0xc2)]=_0x5471a7;}['_doCreateSocket'](_0x5c0aef){var _0x46c87c=_0x4e146c;const _0x5df081=this['_injector'][_0x46c87c(0x38b)](K[_0x46c87c(0x3df)]);if(!_0x5df081)throw new Error(_0x46c87c(0x1ea));const _0x59aa32=_0x5df081[_0x46c87c(0x1bc)](_0x5c0aef);if(!_0x59aa32)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x33831e=new o[(_0x46c87c(0x38e))](),_0x3e0555=new j[(_0x46c87c(0x166))]();_0x33831e[_0x46c87c(0x335)](_0x59aa32[_0x46c87c(0x329)]['subscribe'](_0x137466=>_0x3e0555[_0x46c87c(0xd2)](_0x137466))),_0x33831e[_0x46c87c(0x335)](o[_0x46c87c(0x274)](()=>_0x3e0555['complete']()));const _0x283194=new j[(_0x46c87c(0x166))]();_0x33831e[_0x46c87c(0x335)](_0x59aa32[_0x46c87c(0x417)]['subscribe'](_0x3765d6=>_0x283194[_0x46c87c(0xd2)](_0x3765d6))),_0x33831e['add'](o[_0x46c87c(0x274)](()=>_0x283194['complete']()));const _0x4ac304=new j[(_0x46c87c(0x166))]();_0x33831e[_0x46c87c(0x335)](_0x59aa32['message$']['subscribe'](_0x1c2802=>{var _0xd583e8=_0x46c87c;const _0x331c7c=pt(_0x1c2802);_0x4ac304[_0xd583e8(0xd2)](_0x331c7c);})),_0x33831e[_0x46c87c(0x335)](o['toDisposable'](()=>_0x4ac304[_0x46c87c(0x389)]()));let _0x15c9b5;const _0x31da67=()=>{var _0x3f5846=_0x46c87c;_0x283194['next'](new Event(_0x3f5846(0x3f5))),_0x3e0555['next'](new Event(_0x3f5846(0x3f5))),_0x15c9b5[_0x3f5846(0x1a6)]();};return _0x15c9b5={'memberID':'','close$':_0x3e0555[_0x46c87c(0x296)](),'error$':_0x283194[_0x46c87c(0x296)](),'open$':_0x59aa32[_0x46c87c(0x1d3)],'message$':_0x4ac304[_0x46c87c(0x296)](),'send':_0xa0e1f6=>{var _0x35c772=_0x46c87c;if(_0xa0e1f6[_0x35c772(0x1ed)]===W[_0x35c772(0x1ab)]){if(_0xa0e1f6['data']['eventID']===E['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x35c772(0x3f8)](_0x15c9b5,_0xa0e1f6['data'])['catch'](_0x2d27e0=>{var _0x467a47=_0x35c772;this['_logService'][_0x467a47(0x259)](_0x2d27e0),_0x31da67();});return;}if(_0xa0e1f6[_0x35c772(0x2b3)][_0x35c772(0x25d)]===E[_0x35c772(0x2e5)]['FETCH_MISSING']){const _0x55a2ff=_0xa0e1f6[_0x35c772(0x2b3)];this[_0x35c772(0x364)](_0x55a2ff)[_0x35c772(0x161)](_0x1f93f9=>{var _0x309d38=_0x35c772;_0x4ac304[_0x309d38(0xd2)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x55a2ff['data'][_0x309d38(0x1a0)],'routeType':'','data':{'eventID':E[_0x309d38(0x2e5)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1f93f9}}});})[_0x35c772(0x29b)](_0x137c45=>{var _0x4b162b=_0x35c772;this['_logService'][_0x4b162b(0x259)](_0x137c45),_0x31da67();});return;}}_0x59aa32[_0x35c772(0x200)](mt(_0xa0e1f6));},'close':()=>{_0x59aa32['close'](),_0x33831e['dispose']();}},_0x15c9b5;}async[_0x4e146c(0x3f8)](_0x4c82a9,_0x1a8549){var _0x25a034=_0x4e146c,_0x280a67;const {unitType:_0x563a8d,unitID:_0x45a263,changeset:_0x282e0a}=_0x1a8549[_0x25a034(0x2b3)],_0x58cab0={'unitID':_0x45a263,'memberID':_0x4c82a9[_0x25a034(0x3f4)],'type':_0x563a8d,'changeset':E[_0x25a034(0x2f7)](_0x282e0a)},_0x1f4e28=this['_configService']['getConfig'](Y),_0x3d5749=ri((_0x280a67=_0x1f4e28==null?void 0x0:_0x1f4e28[_0x25a034(0x2c7)])!=null?_0x280a67:kt,_0x563a8d,_0x45a263);try{await this['_httpService'][_0x25a034(0x24a)](_0x3d5749,{'body':_0x58cab0});}catch(_0x210726){throw this['_logService']['error']('[CollaborationSession]',_0x25a034(0x20b)),_0x210726;}}async[_0x4e146c(0x364)](_0x6f4e52){var _0x5e19ff=_0x4e146c;const {unitID:_0x430a99,from:_0x15cdc3,to:_0x5f44ab,unitType:_0x18cca6}=_0x6f4e52['data'];return(await this[_0x5e19ff(0xc2)][_0x5e19ff(0x39b)]({'metadata':void 0x0},{'unitID':_0x430a99,'type':_0x18cca6,'from':_0x15cdc3,'to':_0x5f44ab}))['changesets'][_0x5e19ff(0x3f6)](_0x100f2f=>((_0x100f2f[_0x5e19ff(0x14f)]===null||_0x100f2f[_0x5e19ff(0x14f)]===void 0x0)&&(_0x100f2f['mutations']=[]),_0x100f2f));}},exports[_0x4e146c(0xce)]=si([_e(0x0,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),_e(0x1,o[_0x4e146c(0xd7)](K['HTTPService'])),_e(0x2,o[_0x4e146c(0x1ec)]),_e(0x3,o[_0x4e146c(0x428)]),_e(0x4,E[_0x4e146c(0x393)])],exports[_0x4e146c(0xce)]);function _0x90d5(){var _0x245e73=['_initCloseConn','DATA_SOURCE_TOO_LARGE','change$','[CollaborationState]:\x20apply\x20error!','getCollabEntity$','_transformService','getConfig','/rev/','subject','_change$','REDEMPTION_CODE_FULLY_REDEEMED','prototype','focused$','complete','_initDependencies','get','HELLO','now','DisposableCollection','newCsEvent','SheetTransformSelectionsService','salt','headers','ISnapshotServerService','ENSURE_SNAPSHOT_EXECUTION','_prevBlock','WordArray','876831mOuGOf','CollaborationSessionService','reverse','REDEMPTION_CODE_INACTIVE','fetchMissingChangesets','_onUserJoin','[PendingState]:\x20received\x20acknowledgement.','ReplaySubject','transformMutationsWithChangeset','onRemoteChangeset','_sendingTimer','_getCtorByUniverType','RECV','workbook','NoPadding','YUUMI_SUBSCRIPTION_NOT_FOUND','Disposable','/-/object/-/batch_allowed','_hash','SerializableCipher','b64DecodeUnicode','onTransformRemoteChangesetByIMECache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onRemoteRetry','collabWebSocketUrl','_replayCachedMutations','_roomMembers','INTERNAL_ERROR','localCacheService','\x0aCurrent:\x20','set','executeCommand','_queuedRemoteChangesets','_transformStateCache','_iKey','LIVESHARE_REQUEST_HOST','_sendHeartbeatTimer','_isPermissionRej','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_process','[OfflineState]:\x20received\x20acknowledgement.','cfg','?size=','Hex','kdf','_joinRoom','MOBILE_VERIFY_CODE_MISMATCH','auth.needGotoLoginAlert','body','AwaitingWithPendingState','sessionStatus$','INVITE_CODE_REQUIRED','REDEMPTION_INVALID_CODE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformRemoteChangesetByStateCache','requestParams','_doFinalize','compute','_shouldReportTelemetry','_doCryptBlock','getSheetBlock','_logService','objectID','_clearUndo','_schedule','_transitionLocked','EMAIL_VERIFY_CODE_MISMATCH','COMPLETION_FINISHED','_syncEditingCollabCursor','&source=','64687wHNxWZ','ISocketService','snapshotServerUrl','BehaviorSubject','_socketService','_onOffline','from','liveShareNewHost','_map','execute','REDEMPTION_USER_NOT_ELIGIBLE','_telemetryInfo','serializeCombRequest','Latin1','AwaitingState','UNIVER_COLLABORATION_CLIENT_PLUGIN','getTime','getValue','_unitInfo$','HttpExport','failed\x20to\x20apply\x20missed\x20changesets!','createCollaborator','memberID','connection\x20error','map','_config','_submitChangeset','objectType','editingUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','csRejEvent','onTransformIME','ClipsheetFragments','textEncoder','_toggleOffline','IUniverInstanceService','abs','Error\x20on\x20receiving\x20event','_createInitialStateImpl','_clearRedo','_transformRemoteChangesetByIMECache','forEach','status','createDecryptor','_httpService','&to=','UNIVER_SHEET','onload','APPLY_REVISION_CONFILICT','UNIVER_SLIDE','624UauGNW','YUUMI_RATE_OVER_LIMIT','/universer-api/uniscript','ThresholdInterceptorFactory','Pkcs7','ERROR_AGAIN','collaboration-client.config','error$','awaitingChangeset','_registerDependencies','_instanceService','UNIVER_UNKNOWN','/resources','[DataLoaderService]','[OfflineState]:\x20received\x20rejection.','pluginName','APPLY_REJECT','univer-pro.collaboration-client-socket-service','create','YUUMI_ASYNCIO_CANCELLED','LOCAL_CACHE_INTERVAL','_clearCollaborationTimeoutTimer','getImageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ILogService','isArray','hasOwnProperty','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_init','transformStack\x20failed!','LocaleService','HEARTBEAT_INTERVAL_KEY','enableAuthServer','max','signUrlServerUrl','authzUrl','c1Prime','getUnitStatus$','NOT_FOUND','WorkbookEditablePermission','_sessionStatus$','message$','not_collab','concat','put','isInternalEditorID','[OfflineState]:\x20received\x20changeset.','LOGIN_TOKEN_PROCESSING_FAILED','INVALID_ARGUMENT','Hasher','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','getTypeOfUnitAdded$','AWAITING','_snapshotServerService','_tryEnsureSocket','take','patch','_sessions','listCollaborators','RevisionService','getGlobalObject','encrypt','Decryptor','/universer-api/authz','getUnitType','CollaborationSocketService','toString','IPermissionService','_createHelper','next','SheetPermissionInitController','loadUnit','UNKNOWN_CMD','loadUnitOfRevision','Inject','exports','SYNCED','putCollaborators','batchAllowed','awaiting','save\x20fail\x20reason\x20is\x20','People','_collaborationUIEventService','equals','_resendTimer','USER_NOT_INVITED_CODE','_doReset','AuthzIoHttpService','_resendTimeout','_configService','ws://127.0.0.1:8000/universer-api/comb/connect','CollaborationUIEventId','/allowed','_unitID','subUnitId','enc','REDEMPTION_USER_REDEEM_TIMES_EXCEED','collaborators','OFFLINE','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationSessionService','HMAC','lib','_state$','_retryConnectingTimer','isTransformMutationsWithChangesetSuccess','unitId','joinEvent','getUnitId','CONFLICT','CompressMutationService','[CollaborationEntity]','_ENC_XFORM_MODE','RichTextEditingMutation','/collaborator','_commentUpdate$','sid','UniverInstanceType','Base','_initUnitPermissionChange','_iv','getCurrentRevOfUnit','telemetry\x20info\x20is\x20not\x20initialized','sheets','toggleOnline','onSendChangeset','onSyncEditingCollabCursor','\x20-\x20','_onLocalMutation','_timeoutTimer','ITransformService','_resendWithTimeout','origin','online$','uuidv4','processBlock','_mode','_getCurrentRevision','range','onStarting','_onCombEvent','LICENSE_MAX_UNITS_EXCEEDED','encodeURIComponent','session','_sender','fromCollab','session.room-cnt-exceeds','_getUndoStack','[SyncedState]:\x20received\x20rejection.','_socketReady','DataLoaderService','_oKey','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pipe','fetch_missing','decrypt','univer-pro.collaboration-client.single-active-unit-service','filter','_createHandler','_incrementRevisionNumber','_rescheduleHeartbeat','_roomCreated$','_cipher','unsubscribe','_socket$','SheetsSelectionsService','parse','key','hostname','BlockCipherMode','COMMENT_UPDATE','WECHAT_HAS_BEEN_BOUND','CollaborationSession','_disableEditing','_getAPIPrefix','getMemberID','byteLength','call','USER_NOT_FOUND','sessionStatus','_lockTransition','CHANGESET_SHOULD_RETRY','BlockCipher','_memberService','takeUntil','_collaborationPaused','href','SOCKET_FAILED_RETRY','toggleOffline','/object','ceil','baseRev','_changesetSessionId','onCommandExecuted','mutations','HTTPRequest','getCurrentSelections','c2Prime','concatMap','ERROR_IMAGE','1049930eIidBP','sequenceExecute','src','commentUpdateEvent','MergeInterceptorFactory','99qxOGcQ','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','dispose$','CONNECTOR_DATA_TOO_LARGE','getCurrentUser','createInstance','reset','then','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','PY_RUNTIME_SCRIPT_ERROR','_clearHeartbeatTimer','/block/','Subject','_networkConditionService','actions','_snapshotService','retryConnectingInterval','keySize','SNAPSHOT_INVALID_SNAPSHOT','FETCH_MISS','UNKNOWN_CODE','_getDownloadEndpointURL','YUUMI_UNABLE_LOAD_URL','uniscriptRunEvent','MentionType','CommandType','/fetchmissing?from=','HEARTBEAT','REDEMPTION_CODE_NOT_STARTED','_transformIMECache','loadDoc','[PendingState]:\x20received\x20rejection.','_tryReconnect','HTTPService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','generateRandomId','UNDEFINED','LIVESHARE_NEW_HOST','_onMessage','unitId\x20is\x20not\x20found','SnapshotServerOverHTTPService','\x20in\x20_schedule.','socketService','_onRemoteRetry','[FetchMissState]','JOIN','_onUserLeave','apply','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_status$','Rectangle','BufferedBlockAlgorithm','NO_OTHER_CLIENTS_EDITING','IImageIoService','onRemoteRej','RxDisposable','reqId','delay','COMPRESS_MUTATION_APPLY','INVITE_CODE_HAS_BEEN_UES','_updateStatus','Encryptor','SNAPSHOT_URL_KEY','ILocalCacheService','unpad','Quantity','Utf8','_key','UNIVER_PROJECT','CommentService','unitID','symbol','resourceIDs','getUnit','Optional','setShowComponents','close','DocCollaborationEntity','loadOfflineData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AUTHORIZE_CODE_ILLEGAL','INGEST','_telemetryService','parseProtocolChangeset','YUUMI_URL_COL_OUT_OF_RANGE','_append','find','capture','indexOf','ENTITLE_DUP_SUBSCRIPTION','_members$','blockSize','_handler','_localeService','min','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','stringify','Failed\x20to\x20update\x20permission\x20point','createSocket','reject','_hasher','pending','_collaborationTimeoutTimer','_collabSessionService','enableSingleActiveInstanceLock','IUndoRedoService','IAuthzIoService','_commentService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Malformed\x20UTF-8\x20data','getDeserializedSheetBlock','_state','PAYMENT_CHANNEL_NOT_SUPPORT','string','_DEC_XFORM_MODE','_substituteRedoStack','repeat','_getRedoStack','size','_onRecvEvent','userID','open$','collaboratorID','enableOfflineEditing','12614ZkNWvc','saveSheetBlock','CollaborativeUndoRedoService','members','_updateLocalCache','CollaborationController','clear','?url=','getSheetId','LEAVE','BASE64','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_reverseMap','onTransformState','onCommentUpdate','_minBufferSize','JOIN_ROOM_PERMISSION_DENIED','SHA1','_unlockTransition','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SheetCollaborationEntity','IConfigService','cmd','JSONX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initMergeInterceptor','MSG_FOR_ERROR','responseType','_exhaustRemoteChangesetQueue','MD5','defineProperty','readInt32LE','CHANGESET_REVISION_CONFILICT','getMember','APPLY_PERMISSION_DENIED','result','_keyPriorReset','CHANGESET_REJ','CHANGESET_ACK','_initRequestHeader','delete','send','_entityInit$','session.room-not-exists','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_keySchedule','ALREADY_EXISTS','_univerInstanceService','LIVESHARE_OPERATION','deserializeToCombResponse','CURRENT_STATUS_CANNOT_OPERATE','transformSelections','submit\x20changeset\x20error!','socket\x20open.','_changesetReqId','FAIL','mixIn','disposeWithMe','/unit/','_retryCount','SetSelectionsOperation','$super','RETRY_CONNECTING_MAX_COUNT_KEY','shareReplay','unknown','CollaborationImageIoService','getLocalCacheKey','_substituteUndoStack','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','downloadEndpointUrl','buffer','mapDocumentTypeToUniverType','sigBytes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','interceptor','onlyLocal','loginUrlKey','4419135rRvXPS','image/gif','CollaborationUIEventService','_transformSelections','CipherParams','MUTATION','padding','values','PendingState','_startTelemetryCollaborationNewChangeset','fromCharCode','_nDataBytes','function','_toggleOnline','LOCAL_CACHE_INTERVAL_KEY','__esModule','addHandlerCallback','_socket','_transformStack','OTHER_CLIENTS_EDITING','charCodeAt','charAt','_permissionService','_replaceFileID','sendChangesetTimeout','_onConflict','USERS_ENTER','crypto','INVALID_INVITE_CODE','_getUploadFileURL','_compressMutationService','isTransformMutationsWithChangesetFailure','permissionRejEvent','IContextService','HttpImport','ciphertext','_scheduleCollaborationTimeoutTimer','post','__creator','UNRECOGNIZED','NEW_CHANGESETS','_emitMembers','disableLocalCache','type','_type','POST','_onFetchMissResult','LICENSE_EXPORT_SIZE_EXCEEDED','SyncedState','_onRemoteChangeset','startTime','session.join-failed','error','action','ivSize','SnapshotService','eventID','csShouldRetryEvent','synced','msCrypto','slice','SNAPSHOT_HAS_BEEN_REMOVED','selections','LICENSE_IMPORT_SIZE_EXCEEDED','_undoRedoService','[CollaborationUndoRedoService]','resolve','ICommandService','format','UNIVER_DOC','setConfig','MOBILE_HAS_BEEN_BOUND','fetchMiss','default','SOCKET_FAILED','[CollaborationSession]','_localCacheService','SessionStatus','_invKeySchedule','toDisposable','StreamCipher','length','OfflineState','mergeOverrideWithDependencies','_onConnectionOpen','incrementRevOfUnit','getWorkbookSelections','members$','encode','_onConnectionFailed','OpenSSL','NOT_COLLAB','_data','EvpKDF','x-univer-host','readAsDataURL','removeMember','snapshot','CollaborationEntity','UNAUTHENTICATED','_redoStacks','JOIN_ROOM_FULL','419696hVgSRF','getSnapshotAPIPath','refreshPermission','updatePermissionPoint','_createInitialState','FileId','conflict','image/jpg','substr','pauseCollaboration','merge','asObservable','algo','_waitCount','createIdentifier','UnitSnapshot','catch','TOO_MANY_REQUESTS','JOINING','Univer','debug','session.room-permission-denied','ImageSourceType','_clearTimeoutTimer','Injector','_decreaseWaiting','join','_applyRemoteChangeset','getFocusedUnit','_onRemoteRejected','_showConflictNotification','UUID','REDEMPTION_CODE_HAS_BEEN_CREATED','createEncryptor','CLOSE_ROOM','GLOBAL_ROOMS_CNT_EXCEEDS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ImageUploadStatusType','socket$','mode','data','UserManagerService','DEFAULT_FILE_NAME','YUUMI_AI_RUN_FAILED','m2Prime','enableCollaboration','_handlerCallback','FetchingMissState','getTypeOfUnitDisposed$','/universer-api/snapshot','UniverCollaborationClientPlugin','_clearLocalCache','[SyncedState]:\x20received\x20acknowledgement.','HmacMD5','push','reconnect','onMissedChangesetFetched','Workbook','HmacSHA1','_userManagerService','collabSubmitChangesetUrl','appendMutation','params','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collaboration-client.local-cache-service','_entities','getLatestCsReqIdBySid','registerHTTPInterceptor','random','ConflictState','LOGIN_FAILED','ERROR_IMAGE_TYPE','override','_executeRemoteChangeset','COMPRESS_MUTATION_SEND','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setCurrentUser','roomInfos','_clearScheduledTask','finalize','awaiting_with_pending','routeKey','isPermissionRej','_eventService','updateCursorEvent','_remoteChangesetQueue','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SUBMIT_CHANGESET','ENTITLE_INSUFFICIENT_QUOTA','originalMeta','CollaborationEvent','decryptBlock','state','_event$','_xformMode','encryptBlock','_revisionService','_transformUndoredo','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','offline','__Key__','LIVESHARE_FETCH_OPERATIONS','_stopTelemetryCollaborationNewChangeset','321mxKWIP','location','_members','_clearRetryConnectingTimer','parseChangesetToProtocol','title','InsertSheetMutation','_candidateSocket','UNISCRIPT_RUN','has','ENTITLE_CHAT_LIMIT_EXCEED','UniverCollaborationPlugin','textRanges','clone','_createHmacHelper','floor','status$','_waitForHeartbeatResponse','[CollaborationSessionService]:\x20socket\x20error','IDLE','_commandService','MentionIoHttpService','UPDATE_PERMISSION_OBJ','getRandomValues','PENDING','_socketMessageSubscription','_HTTPService','JOIN_ROOM_NOT_EXISTS','{fileID}','Tools','every','_checkMissing','clamp','closeSession','append','_onRemoteACK','onTransformSelections','_scheduleCompleteTimestamp','UserProfileImg','pad','joinRsp','_getSignURL','objectActions','SHOULD_CLOSE_CONN','HEARTBEAT_INTERVAL','getAllMembers','image/png','/object/','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','stopTime','emitEvent','_pendingMutations','\x0aAfter:\x20','collaboration_new_changeset','close$','_sheetTransformSelectionsService','1081464cQlUsO','entityInit$','resend','AES','saveChangeset','LICENSE_DISTRO_REJECTED','getUnitOnRev','fetchThroughInterceptors','_nRounds','PasswordBasedCipher','add','Could\x20not\x20dynamically\x20require\x20\x22','reduce','name','PERMISSION_DENIED','splice','code','DependentOn','randomBytes','USER_IS_ANONYMOUS','OTHER_CLIENT_EDITING','extend','listRoles','image/jpeg','getResourcesRequest','Base64','allowed','/universer-api/user/session-ticket','isTransformChangesetsSuccess','onRemoteAck','image/bmp','updateSnapshot','subscribe','updateOfflineData','_awaitingChangeset','update','[CollaborationSessionService]','_sendHeartbeat','_updateState','revision','hasher','init','updateCollaborator','dispose','UnitEmbedded','_acknowledgedAwaitingChangeset','touchDependencies','updateMember','words','confirm','_createSocket','JOIN_ROOM_FAILED','UnitStatus','getInterceptPoints','transformChangesets','_getSendChangesetTimeout','_transformRemoteChangesetByStateCache','_fetchMissChangesets','UPDATE_CURSOR','SUBMIT_CHANGESET_TIMEOUT','ONLINE','_getAPIPrefixPath','USERS_LEAVE','rev','localeService','MemberService','_startCollaboration','iterations','state$','list','Module','Undefined','ICollaborationSocketService','getOwnPropertyDescriptor','event$','LIVESHARE_TERMINATE','_parse','/-/object/list','PERMISSION_REJ','requireSession','_listenToNetworkCondition'];_0x90d5=function(){return _0x245e73;};return _0x90d5();}var ai=Object['getOwnPropertyDescriptor'],oi=(_0x5f1f11,_0x19a4ff,_0x6d92ad,_0x28d380)=>{var _0x2f38d3=_0x4e146c;for(var _0xea8545=_0x28d380>0x1?void 0x0:_0x28d380?ai(_0x19a4ff,_0x6d92ad):_0x19a4ff,_0x5d38b2=_0x5f1f11[_0x2f38d3(0x276)]-0x1,_0xc1bba9;_0x5d38b2>=0x0;_0x5d38b2--)(_0xc1bba9=_0x5f1f11[_0x5d38b2])&&(_0xea8545=_0xc1bba9(_0xea8545)||_0xea8545);return _0xea8545;},he=(_0x52e6d7,_0x296aa9)=>(_0x30480e,_0x593fe0)=>_0x296aa9(_0x30480e,_0x593fe0,_0x52e6d7);exports['CollaborationSessionService']=class extends o[_0x4e146c(0x3a7)]{constructor(_0x241dd9,_0x417373,_0x16111d,_0x419801,_0x4f3482,_0x532338){var _0x4d722f=_0x4e146c;super(),A(this,_0x4d722f(0x131),new j['BehaviorSubject'](void 0x0)),A(this,_0x4d722f(0x2b1),this[_0x4d722f(0x131)]['asObservable']()),A(this,_0x4d722f(0x2fa),null),A(this,_0x4d722f(0xc6),new Map()),A(this,_0x4d722f(0x18b),new j[(_0x4d722f(0x3e1))](se[_0x4d722f(0x306)])),A(this,'status$',this[_0x4d722f(0x18b)][_0x4d722f(0x296)]()),A(this,'_socketReady',!0x1),A(this,_0x4d722f(0xf5)),A(this,_0x4d722f(0x212),0x0),A(this,_0x4d722f(0x3bb)),A(this,_0x4d722f(0x10e)),(this[_0x4d722f(0x2ee)]=_0x241dd9,this[_0x4d722f(0x3d5)]=_0x417373,this['_configService']=_0x16111d,this[_0x4d722f(0x3e2)]=_0x419801,this[_0x4d722f(0xdf)]=_0x4f3482,this[_0x4d722f(0x167)]=_0x532338,this[_0x4d722f(0x37b)]());}get['_socket'](){var _0x46535a=_0x4e146c;return this['_socket$'][_0x46535a(0x3ef)]();}[_0x4e146c(0x37b)](){var _0x36eb6a=_0x4e146c;this[_0x36eb6a(0x167)]&&this['disposeWithMe'](this[_0x36eb6a(0x167)][_0x36eb6a(0x112)][_0x36eb6a(0x34b)](_0x190a11=>{var _0x1aaf0f=_0x36eb6a;_0x190a11&&!this[_0x1aaf0f(0x236)]&&this[_0x1aaf0f(0x2c2)](),_0x190a11||this[_0x1aaf0f(0x3e3)]();}));}[_0x4e146c(0x356)](){var _0x10d01e=_0x4e146c;super[_0x10d01e(0x356)](),this[_0x10d01e(0x2f6)](),this[_0x10d01e(0x2a2)](),this[_0x10d01e(0x164)](),this[_0x10d01e(0xc6)][_0x10d01e(0x407)](_0x13a6d8=>_0x13a6d8[_0x10d01e(0x356)]()),this['_sessions'][_0x10d01e(0x1dc)](),this[_0x10d01e(0x18b)]['complete']();}async['requireSession'](_0x4f9cae){var _0x53ad3c=_0x4e146c;if(this[_0x53ad3c(0xc6)][_0x53ad3c(0x2fc)](_0x4f9cae))return this['_sessions'][_0x53ad3c(0x38b)](_0x4f9cae);this['_tryEnsureSocket']();const _0x169438=this['_injector'][_0x53ad3c(0x15f)](exports[_0x53ad3c(0x139)],_0x4f9cae,this['_socket$'][_0x53ad3c(0x296)]());return this[_0x53ad3c(0xc6)][_0x53ad3c(0x3b5)](_0x4f9cae,_0x169438),_0x169438;}[_0x4e146c(0x314)](_0x2dbda9){var _0x37963c=_0x4e146c,_0x3b6f65;const _0x177c85=this[_0x37963c(0xc6)]['get'](_0x2dbda9);_0x177c85&&(this['_sessions']['delete'](_0x2dbda9),_0x177c85[_0x37963c(0x1a6)]()),this[_0x37963c(0xc6)][_0x37963c(0x1d0)]||(_0x3b6f65=this[_0x37963c(0x236)])==null||_0x3b6f65[_0x37963c(0x1a6)]();}[_0x4e146c(0x2c2)](){var _0x48bd18=_0x4e146c;this[_0x48bd18(0x212)]=0x0,this[_0x48bd18(0x2f6)](),this[_0x48bd18(0x17a)]();}[_0x4e146c(0x2f6)](){var _0x38f813=_0x4e146c;this[_0x38f813(0xf5)]!=null&&(clearTimeout(this[_0x38f813(0xf5)]),this[_0x38f813(0xf5)]=null);}async[_0x4e146c(0x35d)](){var _0x28a259=_0x4e146c,_0x4fab64;const _0x415496=this[_0x28a259(0xe6)][_0x28a259(0x382)](Y),_0x721b6c=(_0x4fab64=_0x415496==null?void 0x0:_0x415496[_0x28a259(0x3af)])!=null?_0x4fab64:ht,_0x2d1114=await this[_0x28a259(0x3e2)][_0x28a259(0x1bc)](_0x721b6c);return this[_0x28a259(0x2fa)]=_0x2d1114,_0x2d1114;}async[_0x4e146c(0xc3)](){var _0x1014ae=_0x4e146c,_0x599211,_0x3f717e;try{const _0x18fb29=(_0x3f717e=(_0x599211=this['_socket'])!=null?_0x599211:this[_0x1014ae(0x2fa)])!=null?_0x3f717e:await this[_0x1014ae(0x35d)]();if(_0x18fb29){const _0x39b944=_0x18fb29[_0x1014ae(0x200)];_0x18fb29[_0x1014ae(0x200)]=_0x5054b0=>(this[_0x1014ae(0x12d)](),_0x39b944['apply'](_0x18fb29,[_0x5054b0])),_0x18fb29['message$']['subscribe'](_0x5580c1=>this[_0x1014ae(0x180)](_0x18fb29,_0x5580c1)),_0x18fb29['error$'][_0x1014ae(0x126)](V['take'](0x1))[_0x1014ae(0x34b)](_0x48fc00=>this[_0x1014ae(0x3d5)][_0x1014ae(0x259)](_0x1014ae(0x305),_0x48fc00)),_0x18fb29[_0x1014ae(0x1d3)][_0x1014ae(0x126)](V[_0x1014ae(0xc4)](0x1))[_0x1014ae(0x34b)](()=>{var _0x2eff0d=_0x1014ae;this[_0x2eff0d(0x279)](_0x18fb29);}),_0x18fb29[_0x1014ae(0x329)][_0x1014ae(0x126)](V['take'](0x1))['subscribe'](_0x290c0b=>{var _0x5da873=_0x1014ae;this[_0x5da873(0x3d5)][_0x5da873(0x29f)](_0x5da873(0x34f),'socket\x20close',_0x290c0b),this[_0x5da873(0x27e)]();});}}catch(_0x31c43e){this['_logService']['error'](_0x31c43e),this[_0x1014ae(0x27e)]();}}['_onConnectionOpen'](_0xf2b794){var _0x34f3ee=_0x4e146c;this[_0x34f3ee(0x3d5)][_0x34f3ee(0x29f)]('[CollaborationSessionService]',_0x34f3ee(0x20c)),_0xf2b794[_0x34f3ee(0x200)]({'cmd':W[_0x34f3ee(0x38c)]}),this[_0x34f3ee(0x12d)]();}[_0x4e146c(0x3e3)](){var _0x2bae68=_0x4e146c;this[_0x2bae68(0x122)]=!0x1,this[_0x2bae68(0x2fa)]=null,this['_status$'][_0x2bae68(0xd2)](se[_0x2bae68(0xef)]),this[_0x2bae68(0x131)][_0x2bae68(0xd2)](null),this[_0x2bae68(0x2a2)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x13f4e9=_0x4e146c,_0x5c5795;this[_0x13f4e9(0x3e3)](),this[_0x13f4e9(0x212)]<((_0x5c5795=this['_configService'][_0x13f4e9(0x382)](ut))!=null?_0x5c5795:Mt)?(this['_collaborationUIEventService']['emitEvent']({'id':J[_0x13f4e9(0x148)]}),this['_tryReconnect']()):this[_0x13f4e9(0xdf)]['emitEvent']({'id':J['SOCKET_FAILED']});}[_0x4e146c(0x17a)](){var _0x32d831=_0x4e146c,_0xe9d4e5;const _0x43270c=this[_0x32d831(0x212)],_0x2aadaf=this[_0x32d831(0xe6)][_0x32d831(0x382)](Y),_0xfaee32=_0x43270c===0x0?0x0:((_0xe9d4e5=_0x2aadaf==null?void 0x0:_0x2aadaf[_0x32d831(0x16a)])!=null?_0xe9d4e5:Lt)*0x2**_0x43270c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4f1708=_0x32d831;clearTimeout(this[_0x4f1708(0xf5)]),this[_0x4f1708(0xf5)]=null,this['_tryEnsureSocket']();},_0xfaee32),this[_0x32d831(0x212)]+=0x1;}[_0x4e146c(0x180)](_0x2ce219,_0x335565){var _0x338fc7=_0x4e146c;const {cmd:_0x52df34}=_0x335565;_0x52df34===W[_0x338fc7(0x38c)]&&!this[_0x338fc7(0x122)]&&(_0x2ce219['memberID']=_0x335565[_0x338fc7(0x2b3)][_0x338fc7(0x3f4)],this[_0x338fc7(0x131)][_0x338fc7(0xd2)](_0x2ce219),this[_0x338fc7(0x18b)]['next'](se[_0x338fc7(0x367)]),this[_0x338fc7(0x122)]=!0x0,this[_0x338fc7(0x2fa)]=null),_0x52df34===W[_0x338fc7(0x175)]&&this[_0x338fc7(0x2a2)](),this[_0x338fc7(0x12d)]();}['_rescheduleHeartbeat'](){var _0x5d2b3e=_0x4e146c,_0x4186ca;this[_0x5d2b3e(0x164)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x5d2b3e(0x350)](),(_0x4186ca=this[_0x5d2b3e(0xe6)]['getConfig'](_t))!=null?_0x4186ca:Pt);}[_0x4e146c(0x350)](){var _0x283596=_0x4e146c;this['_socket'][_0x283596(0x200)]({'cmd':W[_0x283596(0x175)]}),this[_0x283596(0x304)]();}[_0x4e146c(0x304)](){var _0x5de97c=_0x4e146c,_0x2f824e;this[_0x5de97c(0x10e)]=setTimeout(()=>this[_0x5de97c(0x27e)](),(_0x2f824e=this[_0x5de97c(0xe6)][_0x5de97c(0x382)](ke))!=null?_0x2f824e:lt);}[_0x4e146c(0x164)](){var _0x1a6983=_0x4e146c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1a6983(0x3bb)]),this[_0x1a6983(0x3bb)]=null);}['_clearTimeoutTimer'](){var _0x2a197b=_0x4e146c;this[_0x2a197b(0x10e)]!=null&&(clearTimeout(this[_0x2a197b(0x10e)]),this[_0x2a197b(0x10e)]=null);}},exports['CollaborationSessionService']=oi([he(0x0,o['Inject'](o[_0x4e146c(0x2a3)])),he(0x1,o[_0x4e146c(0x428)]),he(0x2,o[_0x4e146c(0x1ec)]),he(0x3,Fe),he(0x4,o['Inject'](ee)),he(0x5,o[_0x4e146c(0x1a4)](Et))],exports[_0x4e146c(0x398)]);var ci=Object[_0x4e146c(0x374)],hi=(_0x582b5d,_0x565361,_0x3e9bcd,_0xafd7dd)=>{var _0xdcc3f6=_0x4e146c;for(var _0x3f786f=_0xafd7dd>0x1?void 0x0:_0xafd7dd?ci(_0x565361,_0x3e9bcd):_0x565361,_0x21e8c1=_0x582b5d[_0xdcc3f6(0x276)]-0x1,_0x3dc92b;_0x21e8c1>=0x0;_0x21e8c1--)(_0x3dc92b=_0x582b5d[_0x21e8c1])&&(_0x3f786f=_0x3dc92b(_0x3f786f)||_0x3f786f);return _0x3f786f;},Se=(_0x9d53b4,_0x311677)=>(_0x118c62,_0x5cb5ef)=>_0x311677(_0x118c62,_0x5cb5ef,_0x9d53b4);function _0x541a(_0xfbaa8c,_0x2a6b1a){var _0x90d57=_0x90d5();return _0x541a=function(_0x541aec,_0x89bde2){_0x541aec=_0x541aec-0xc1;var _0x5ca3ec=_0x90d57[_0x541aec];return _0x5ca3ec;},_0x541a(_0xfbaa8c,_0x2a6b1a);}exports[_0x4e146c(0x1db)]=class extends o['RxDisposable']{constructor(_0x13f555,_0x1c730f,_0xb41845,_0x59f71e){var _0x151bea=_0x4e146c,_0x2c190e;super(),A(this,_0x151bea(0x2cc),new Map()),A(this,_0x151bea(0x201),new j[(_0x151bea(0x166))]()),A(this,_0x151bea(0x32c),this['_entityInit$'][_0x151bea(0x296)]()),(this[_0x151bea(0x2ee)]=_0x13f555,this[_0x151bea(0x1c1)]=_0x1c730f,this['_configService']=_0xb41845,this[_0x151bea(0x206)]=_0x59f71e,((_0x2c190e=this[_0x151bea(0xe6)][_0x151bea(0x382)](Y))==null?void 0x0:_0x2c190e[_0x151bea(0x2b8)])!==!0x1&&this[_0x151bea(0x42c)]());}[_0x4e146c(0x356)](){var _0x57e26e=_0x4e146c;super[_0x57e26e(0x356)](),this[_0x57e26e(0x2cc)][_0x57e26e(0x407)](_0x5223d3=>_0x5223d3[_0x57e26e(0x356)]()),this[_0x57e26e(0x2cc)][_0x57e26e(0x1dc)]();}['getCollabEntity'](_0x1e867b){var _0x2c717f=_0x4e146c,_0x10995f;return(_0x10995f=this[_0x2c717f(0x2cc)][_0x2c717f(0x38b)](_0x1e867b))!=null?_0x10995f:null;}[_0x4e146c(0x380)](_0x139611){var _0x117cc8=_0x4e146c;const _0x2fff64=this['getCollabEntity'](_0x139611);return _0x2fff64?j['of'](_0x2fff64):this[_0x117cc8(0x201)][_0x117cc8(0x126)](V[_0x117cc8(0x12a)](_0x133cd0=>_0x133cd0[_0x117cc8(0x1a0)]===_0x139611));}['readyForCollab'](_0x1f7d8f){var _0x4d3d3b=_0x4e146c;return j['firstValueFrom'](this['getCollabEntity$'](_0x1f7d8f)[_0x4d3d3b(0x126)](V[_0x4d3d3b(0x3f6)](()=>{})));}[_0x4e146c(0x42c)](){var _0x5de0ee=_0x4e146c;this[_0x5de0ee(0x206)][_0x5de0ee(0x444)](o['UniverInstanceType'][_0x5de0ee(0x40c)])[_0x5de0ee(0x126)](j[_0x5de0ee(0x145)](this[_0x5de0ee(0x15c)]),V[_0x5de0ee(0x193)](0x10))[_0x5de0ee(0x34b)](async _0x4b0bd2=>{var _0x3c4da2=_0x5de0ee;const _0x52c82d=_0x4b0bd2[_0x3c4da2(0xf9)](),_0x5a3057=await this['_startCollaboration'](_0x52c82d,X[_0x3c4da2(0x40c)]);this[_0x3c4da2(0x2cc)]['set'](_0x52c82d,_0x5a3057);}),this[_0x5de0ee(0x206)][_0x5de0ee(0x444)](o[_0x5de0ee(0x102)][_0x5de0ee(0x26a)])['pipe'](j[_0x5de0ee(0x145)](this['dispose$']),V[_0x5de0ee(0x193)](0x10))[_0x5de0ee(0x126)](V[_0x5de0ee(0x12a)](_0x5db1cb=>!_0x5db1cb[_0x5de0ee(0xf9)]()['startsWith']('__')))[_0x5de0ee(0x34b)](async _0x37e7be=>{var _0x30ba26=_0x5de0ee;const _0x319285=_0x37e7be[_0x30ba26(0xf9)](),_0x381512=await this[_0x30ba26(0x36d)](_0x319285,X[_0x30ba26(0x26a)]);this[_0x30ba26(0x2cc)]['set'](_0x319285,_0x381512);}),j['merge'](this[_0x5de0ee(0x206)]['getTypeOfUnitDisposed$'](o['UniverInstanceType'][_0x5de0ee(0x40c)]),this[_0x5de0ee(0x206)]['getTypeOfUnitDisposed$'](o['UniverInstanceType'][_0x5de0ee(0x26a)]))['pipe'](j[_0x5de0ee(0x145)](this[_0x5de0ee(0x15c)]))[_0x5de0ee(0x34b)](_0x4461e9=>{var _0x2b73ea=_0x5de0ee;const _0x34fc36=_0x4461e9['getUnitId'](),_0x35bd1e=this['_entities'][_0x2b73ea(0x38b)](_0x34fc36);_0x35bd1e&&(_0x35bd1e[_0x2b73ea(0x356)](),this[_0x2b73ea(0x2cc)][_0x2b73ea(0x1ff)](_0x34fc36));});}async[_0x4e146c(0x36d)](_0xf37539,_0x47d6e8){var _0x35c992=_0x4e146c;const _0x3c1d4e=await this[_0x35c992(0x1c1)][_0x35c992(0x37a)](_0xf37539),_0x3313a1=this[_0x35c992(0x2ee)][_0x35c992(0x15f)](this[_0x35c992(0x3a2)](_0x47d6e8),_0xf37539,_0x47d6e8,_0x3c1d4e);return await _0x3313a1[_0x35c992(0x354)](),this[_0x35c992(0x201)][_0x35c992(0xd2)](_0x3313a1),_0x3313a1;}[_0x4e146c(0x3a2)](_0x28a3c7){var _0x44d21d=_0x4e146c;switch(_0x28a3c7){case X[_0x44d21d(0x26a)]:return exports[_0x44d21d(0x1a7)];case X['UNIVER_SHEET']:return exports[_0x44d21d(0x1eb)];default:throw new Error(_0x44d21d(0x15b)+_0x28a3c7);}}},exports[_0x4e146c(0x1db)]=hi([Se(0x0,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),Se(0x1,o['Inject'](exports[_0x4e146c(0x398)])),Se(0x2,o[_0x4e146c(0x1ec)]),Se(0x3,o[_0x4e146c(0x401)])],exports['CollaborationController']);var _i=Object['getOwnPropertyDescriptor'],li=(_0x5926a0,_0x5bf96b,_0x38625f,_0x54acf7)=>{for(var _0x3d08f6=_0x54acf7>0x1?void 0x0:_0x54acf7?_i(_0x5bf96b,_0x38625f):_0x5bf96b,_0x91efe8=_0x5926a0['length']-0x1,_0x1248c6;_0x91efe8>=0x0;_0x91efe8--)(_0x1248c6=_0x5926a0[_0x91efe8])&&(_0x3d08f6=_0x1248c6(_0x3d08f6)||_0x3d08f6);return _0x3d08f6;},Ye=(_0x3895ba,_0x49b5c1)=>(_0x3475d9,_0x4654e6)=>_0x49b5c1(_0x3475d9,_0x4654e6,_0x3895ba);const ui=_0x4e146c(0x2b5),vi=_0x4e146c(0x29e);let xe=class extends o[_0x4e146c(0x3a7)]{constructor(_0x291603,_0x425b78){var _0x37ce32=_0x4e146c;super(),this[_0x37ce32(0x206)]=_0x291603,this[_0x37ce32(0xe6)]=_0x425b78,this['_init']();}[_0x4e146c(0x42c)](){var _0x15884e=_0x4e146c;this[_0x15884e(0x210)](this[_0x15884e(0x206)][_0x15884e(0x388)][_0x15884e(0x34b)](()=>{var _0xf92d36=_0x15884e,_0x9c58b6;const _0x2b5c0c=this[_0xf92d36(0x206)][_0xf92d36(0x2a7)]();let _0x20b4ad=(_0x9c58b6=this[_0xf92d36(0xe6)][_0xf92d36(0x382)](ui))!=null?_0x9c58b6:vi;_0x2b5c0c instanceof o[_0xf92d36(0x2c4)]&&(_0x20b4ad=_0x2b5c0c['name']),document[_0xf92d36(0x2f8)]=_0x20b4ad;}));}};xe=li([Ye(0x0,o[_0x4e146c(0x401)]),Ye(0x1,o[_0x4e146c(0x1ec)])],xe);var di=Object[_0x4e146c(0x374)],Si=(_0x3ec152,_0x380666,_0x26160b,_0x1a32c6)=>{var _0x59819c=_0x4e146c;for(var _0x4a19de=_0x1a32c6>0x1?void 0x0:_0x1a32c6?di(_0x380666,_0x26160b):_0x380666,_0xdc66de=_0x3ec152[_0x59819c(0x276)]-0x1,_0x411d10;_0xdc66de>=0x0;_0xdc66de--)(_0x411d10=_0x3ec152[_0xdc66de])&&(_0x4a19de=_0x411d10(_0x4a19de)||_0x4a19de);return _0x4a19de;},Ae=(_0x38fb1f,_0x54ab04)=>(_0xf360db,_0x340889)=>_0x54ab04(_0xf360db,_0x340889,_0x38fb1f);let Ne=class{constructor(_0x1a4de8,_0x29fbb3,_0x3c3324){var _0x30670f=_0x4e146c;this[_0x30670f(0xe6)]=_0x1a4de8,this[_0x30670f(0x40a)]=_0x29fbb3,this[_0x30670f(0x36b)]=_0x3c3324,this[_0x30670f(0x354)]();}[_0x4e146c(0x354)](){var _0x117bf3=_0x4e146c;this[_0x117bf3(0x40a)][_0x117bf3(0x2ce)]({'priority':0x1,'interceptor':(_0x445ea3,_0x1686cc)=>_0x1686cc(_0x445ea3)[_0x117bf3(0x126)](j[_0x117bf3(0x153)](async _0x72792f=>{var _0x50f557=_0x117bf3;const _0x3d53d4=_0x72792f;if(_0x3d53d4['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x50f557(0x35c)](this[_0x50f557(0x36b)]['t'](_0x50f557(0x3c7)))){const _0x512bbd=window[_0x50f557(0x11b)](window[_0x50f557(0x2f4)][_0x50f557(0x147)]);window['location']['href']=this['_getLoginPath']()+_0x50f557(0x1dd)+_0x512bbd;}}return _0x3d53d4;}))});}['_getLoginPath'](){var _0x354489=_0x4e146c,_0x1b4a7f;const _0x336b77=this[_0x354489(0xe6)][_0x354489(0x382)](Y);return(_0x1b4a7f=_0x336b77==null?void 0x0:_0x336b77[_0x354489(0x224)])!=null?_0x1b4a7f:Ht;}};Ne=Si([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x4e146c(0xd7)](K[_0x4e146c(0x17b)])),Ae(0x2,o[_0x4e146c(0xd7)](o[_0x4e146c(0x42e)]))],Ne);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x370f45,_0x537406,_0x481daf,_0x29ee65)=>{var _0x1f6485=_0x4e146c;for(var _0x248b1e=_0x29ee65>0x1?void 0x0:_0x29ee65?Ii(_0x537406,_0x481daf):_0x537406,_0x4684c6=_0x370f45[_0x1f6485(0x276)]-0x1,_0x31affe;_0x4684c6>=0x0;_0x4684c6--)(_0x31affe=_0x370f45[_0x4684c6])&&(_0x248b1e=_0x31affe(_0x248b1e)||_0x248b1e);return _0x248b1e;},Ke=(_0x45651c,_0x2ba6c0)=>(_0x552f58,_0x42b358)=>_0x2ba6c0(_0x552f58,_0x42b358,_0x45651c);const Ei=_0x4e146c(0xcc);exports[_0x4e146c(0xe4)]=class extends o[_0x4e146c(0x3a7)]{constructor(_0x296799,_0x4215db){var _0x1fc804=_0x4e146c;super(),this[_0x1fc804(0x30d)]=_0x296799,this['_configService']=_0x4215db,this['_initMergeInterceptor']();}[_0x4e146c(0x1f0)](){var _0x3575a5=_0x4e146c;const _0x49c032=this;this['disposeWithMe'](this['_HTTPService'][_0x3575a5(0x2ce)]({'priority':0x3e7,'interceptor':K[_0x3575a5(0x159)]({'isMatch'(_0x58d226){var _0x12ced3=_0x3575a5,_0x4009a1;if(_0x58d226['method']===_0x12ced3(0x252)&&((_0x4009a1=_0x58d226[_0x12ced3(0x3cf)])!=null&&_0x4009a1[_0x12ced3(0x3c8)])){const {objectID:_0x783c1e,objectType:_0x1d53eb}=_0x58d226[_0x12ced3(0x3cf)][_0x12ced3(0x3c8)]||{};if(!_0x783c1e||_0x1d53eb===void 0x0)return!0x1;const _0x2e3481=_0x49c032['_getAPIPrefixPath']()+'/'+_0x1d53eb+_0x12ced3(0x322)+_0x783c1e+_0x12ced3(0xe9);if(_0x58d226['url']===_0x2e3481)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x115c70){var _0x1598da=_0x3575a5,_0x276f77;return(_0x276f77=_0x115c70[_0x1598da(0x3cf)])==null?void 0x0:_0x276f77[_0x1598da(0x3c8)];},'mergeParamsToRequest'(_0x5f565f,_0x81a0bb){var _0x168606=_0x3575a5;const _0x3d91b8=_0x49c032[_0x168606(0x368)]()+_0x168606(0x3a8),_0x1e72bc=_0x5f565f['reduce']((_0x363860,_0x159c54)=>{var _0xca43fb=_0x168606;const {unitID:_0x508c11,objectID:_0x4e1caf,objectType:_0x29d2b4,actions:_0x480529}=_0x159c54;return _0x363860[_0x508c11]||(_0x363860[_0x508c11]={}),_0x363860[_0x508c11][_0x4e1caf]||(_0x363860[_0x508c11][_0x4e1caf]={'objectID':_0x4e1caf,'objectType':_0x29d2b4,'actions':[]}),_0x363860[_0x508c11][_0x4e1caf][_0xca43fb(0x168)][_0xca43fb(0x2c1)](..._0x480529),_0x363860;},{}),_0x96c33e=[];for(const _0x2dc9da in _0x1e72bc)for(const _0x355654 in _0x1e72bc[_0x2dc9da]){const {actions:_0x5530a3,objectType:_0xc5a645}=_0x1e72bc[_0x2dc9da][_0x355654],_0x4fb180=[...new Set(_0x5530a3)];_0x96c33e[_0x168606(0x2c1)]({'unitID':_0x2dc9da,'objectID':_0x355654,'objectType':_0xc5a645,'actions':_0x4fb180});}return new K[(_0x168606(0x150))](_0x168606(0x252),_0x3d91b8,{'headers':_0x81a0bb[_0x168606(0x392)],'withCredentials':_0x81a0bb['withCredentials'],'responseType':_0x81a0bb[_0x168606(0x1f2)],'body':{'requests':_0x96c33e}});}},{'distributeResult'(_0x2eca27,_0x499bd5){var _0x5db3ab=_0x3575a5;const {objectActions:_0x204acb}=_0x2eca27;return _0x499bd5[_0x5db3ab(0x3f6)](_0x549b85=>{var _0x35c60c=_0x5db3ab;const {unitID:_0x5af741,objectID:_0x2aba3f,actions:_0xacd889}=_0x549b85,_0x9304b2=_0x204acb[_0x35c60c(0x1b0)](_0x547830=>_0x547830['unitID']===_0x5af741&&_0x547830[_0x35c60c(0x3d6)]===_0x2aba3f),_0x230e1e=_0xacd889[_0x35c60c(0x3f6)](_0x528bc3=>_0x9304b2==null?void 0x0:_0x9304b2[_0x35c60c(0x168)][_0x35c60c(0x1b0)](_0xd022dc=>_0xd022dc[_0x35c60c(0x25a)]===_0x528bc3))['filter'](_0x41b5da=>!!_0x41b5da);return{'config':_0x549b85,'result':{'actions':_0x230e1e,'error':_0x2eca27[_0x35c60c(0x259)]}};});}})}));}[_0x4e146c(0x368)](){var _0x4c2b33=_0x4e146c,_0x4d2b77;const _0x15279f=this[_0x4c2b33(0xe6)][_0x4c2b33(0x382)](Y);return(_0x4d2b77=_0x15279f==null?void 0x0:_0x15279f[_0x4c2b33(0x433)])!=null?_0x4d2b77:Ei;}async[_0x4e146c(0x422)](_0x248bc4){var _0x564c68=_0x4e146c;const _0x43c615=this[_0x564c68(0x368)]()+'/'+_0x248bc4[_0x564c68(0x3f9)]+_0x564c68(0x14a);return(await this[_0x564c68(0x30d)][_0x564c68(0x24a)](_0x43c615,{'body':_0x248bc4}))['body'][_0x564c68(0x3d6)]||'';}async[_0x4e146c(0x370)](_0xa86b31){var _0x4c07f3=_0x4e146c;const _0x3b2daf=this['_getAPIPrefixPath']()+_0x4c07f3(0x378);return(await this[_0x4c07f3(0x30d)][_0x4c07f3(0x24a)](_0x3b2daf,{'body':_0xa86b31}))[_0x4c07f3(0x3c8)]['objects'];}async[_0x4e146c(0x34e)](_0x346750){var _0x3cd175=_0x4e146c,_0x38e170,_0x203e4d;const _0x2e406b=this[_0x3cd175(0x368)]()+'/'+_0x346750[_0x3cd175(0x3f9)]+_0x3cd175(0x322)+_0x346750['objectID'],_0x379107=await this[_0x3cd175(0x30d)][_0x3cd175(0x43c)](_0x2e406b,{'body':_0x346750});if(((_0x203e4d=(_0x38e170=_0x379107==null?void 0x0:_0x379107[_0x3cd175(0x3c8)])==null?void 0x0:_0x38e170[_0x3cd175(0x259)])==null?void 0x0:_0x203e4d[_0x3cd175(0x33b)])!==0x1)throw new Error(_0x3cd175(0x1bb));}async[_0x4e146c(0x345)](_0x325c48){var _0x4ddc9e=_0x4e146c;const _0x464efd=this[_0x4ddc9e(0x368)]()+'/'+_0x325c48[_0x4ddc9e(0x3f9)]+'/object/'+_0x325c48[_0x4ddc9e(0x3d6)]+'/allowed';return(await this['_HTTPService'][_0x4ddc9e(0x24a)](_0x464efd,{'body':_0x325c48}))[_0x4ddc9e(0x3c8)][_0x4ddc9e(0x168)];}async[_0x4e146c(0xdb)](_0x4da27f){var _0x4d1bb6=_0x4e146c;const _0x58bbb4=this[_0x4d1bb6(0x368)]()+_0x4d1bb6(0x3a8);return(await this['_HTTPService']['post'](_0x58bbb4,{'body':{'requests':_0x4da27f}}))[_0x4d1bb6(0x3c8)][_0x4d1bb6(0x31d)];}async[_0x4e146c(0x341)](_0x164bce){var _0x262c10=_0x4e146c;const _0x389288=this[_0x262c10(0x368)]()+'/'+_0x164bce[_0x262c10(0x3f9)]+'/role',_0x3a36cc=await this[_0x262c10(0x30d)][_0x262c10(0x24a)](_0x389288,{'body':_0x164bce});return{'roles':_0x3a36cc['body']['roles'],'actions':_0x3a36cc[_0x262c10(0x3c8)]['actions']};}async['deleteCollaborator'](_0x4df827){var _0x985f21=_0x4e146c;const _0xa5a1a6=this[_0x985f21(0x368)]()+_0x985f21(0xff);await this[_0x985f21(0x30d)][_0x985f21(0x1ff)](_0xa5a1a6,{'params':{'collaboratorID':_0x4df827[_0x985f21(0x1d4)],'objectID':_0x4df827['objectID'],'unitID':_0x4df827[_0x985f21(0x1a0)]}});}async[_0x4e146c(0x355)](_0x1c3753){var _0x40870c=_0x4e146c;const _0x66f31a=this[_0x40870c(0x368)]()+_0x40870c(0xff);await this['_HTTPService'][_0x40870c(0xc5)](_0x66f31a,{'body':_0x1c3753});}async[_0x4e146c(0x3f3)](_0x3e97e0){var _0x3e58bb=_0x4e146c;const _0x3263dc=this[_0x3e58bb(0x368)]()+_0x3e58bb(0xff);await this[_0x3e58bb(0x30d)][_0x3e58bb(0x24a)](_0x3263dc,{'body':_0x3e97e0});}async[_0x4e146c(0xc7)](_0x32b70d){var _0x310417=_0x4e146c;const _0x237ab3=this['_getAPIPrefixPath']()+_0x310417(0xff);return(await this[_0x310417(0x30d)][_0x310417(0x38b)](_0x237ab3,{'params':{'objectID':_0x32b70d[_0x310417(0x3d6)],'unitID':_0x32b70d[_0x310417(0x1a0)]}}))[_0x310417(0x3c8)][_0x310417(0xee)];}async[_0x4e146c(0xda)](_0x527e61){var _0x4ebb69=_0x4e146c;const _0x1f0058=this[_0x4ebb69(0x368)]()+_0x4ebb69(0xff);await this['_HTTPService']['put'](_0x1f0058,{'body':_0x527e61});}},exports['AuthzIoHttpService']=fi([Ke(0x0,o[_0x4e146c(0xd7)](K[_0x4e146c(0x17b)])),Ke(0x1,o['Inject'](o['IConfigService']))],exports[_0x4e146c(0xe4)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x1f607f){var _0x38a7a6=_0x4e146c;return _0x1f607f&&_0x1f607f[_0x38a7a6(0x234)]&&Object['prototype'][_0x38a7a6(0x42a)][_0x38a7a6(0x13e)](_0x1f607f,_0x38a7a6(0x26e))?_0x1f607f[_0x38a7a6(0x26e)]:_0x1f607f;}var Ie={'exports':{}};function pi(_0x505a5b){var _0x41b8ca=_0x4e146c;throw new Error(_0x41b8ca(0x336)+_0x505a5b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var fe={'exports':{}},mi=fe[_0x4e146c(0xd8)],qe;function Z(){return qe||(qe=0x1,function(_0x3c279a,_0x2944e1){(function(_0x28d35d,_0x44c286){var _0x29e27a=_0x541a;_0x3c279a[_0x29e27a(0xd8)]=_0x44c286();}(mi,function(){var _0x2881fe=_0x2881fe||function(_0x44c5fe,_0x35d371){var _0x3fa872=_0x541a,_0x59ff37;if(typeof window<'u'&&window['crypto']&&(_0x59ff37=window[_0x3fa872(0x240)]),typeof self<'u'&&self[_0x3fa872(0x240)]&&(_0x59ff37=self[_0x3fa872(0x240)]),typeof globalThis<'u'&&globalThis[_0x3fa872(0x240)]&&(_0x59ff37=globalThis[_0x3fa872(0x240)]),!_0x59ff37&&typeof window<'u'&&window[_0x3fa872(0x260)]&&(_0x59ff37=window[_0x3fa872(0x260)]),!_0x59ff37&&typeof Pe<'u'&&Pe[_0x3fa872(0x240)]&&(_0x59ff37=Pe[_0x3fa872(0x240)]),!_0x59ff37&&typeof pi==_0x3fa872(0x231))try{_0x59ff37=require('crypto');}catch{}var _0x3fd170=function(){var _0x157be1=_0x3fa872;if(_0x59ff37){if(typeof _0x59ff37['getRandomValues']=='function')try{return _0x59ff37[_0x157be1(0x30a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59ff37[_0x157be1(0x33d)]=='function')try{return _0x59ff37[_0x157be1(0x33d)](0x4)[_0x157be1(0x1f6)]();}catch{}}throw new Error(_0x157be1(0x3ad));},_0x23cbe6=Object[_0x3fa872(0x422)]||(function(){function _0x5d6e71(){}return function(_0x352afa){var _0x37ad9c=_0x541a,_0xae6a56;return _0x5d6e71['prototype']=_0x352afa,_0xae6a56=new _0x5d6e71(),_0x5d6e71[_0x37ad9c(0x387)]=null,_0xae6a56;};}()),_0x1931d0={},_0x4de6ee=_0x1931d0[_0x3fa872(0xf3)]={},_0x454e65=_0x4de6ee[_0x3fa872(0x103)]=(function(){return{'extend':function(_0x3dc8c4){var _0x4b3dd=_0x541a,_0x4f38e9=_0x23cbe6(this);return _0x3dc8c4&&_0x4f38e9[_0x4b3dd(0x20f)](_0x3dc8c4),(!_0x4f38e9[_0x4b3dd(0x42a)](_0x4b3dd(0x354))||this[_0x4b3dd(0x354)]===_0x4f38e9[_0x4b3dd(0x354)])&&(_0x4f38e9['init']=function(){var _0x13cc2b=_0x4b3dd;_0x4f38e9[_0x13cc2b(0x214)][_0x13cc2b(0x354)]['apply'](this,arguments);}),_0x4f38e9[_0x4b3dd(0x354)][_0x4b3dd(0x387)]=_0x4f38e9,_0x4f38e9[_0x4b3dd(0x214)]=this,_0x4f38e9;},'create':function(){var _0x35e0d4=_0x541a,_0x372f81=this[_0x35e0d4(0x340)]();return _0x372f81[_0x35e0d4(0x354)][_0x35e0d4(0x189)](_0x372f81,arguments),_0x372f81;},'init':function(){},'mixIn':function(_0x26add2){var _0x4a780a=_0x541a;for(var _0x2703f9 in _0x26add2)_0x26add2['hasOwnProperty'](_0x2703f9)&&(this[_0x2703f9]=_0x26add2[_0x2703f9]);_0x26add2[_0x4a780a(0x42a)](_0x4a780a(0xcf))&&(this[_0x4a780a(0xcf)]=_0x26add2[_0x4a780a(0xcf)]);},'clone':function(){var _0x113b9a=_0x541a;return this['init'][_0x113b9a(0x387)][_0x113b9a(0x340)](this);}};}()),_0x46408f=_0x4de6ee['WordArray']=_0x454e65['extend']({'init':function(_0x572332,_0x364be3){var _0x536e12=_0x3fa872;_0x572332=this[_0x536e12(0x35b)]=_0x572332||[],_0x364be3!=_0x35d371?this[_0x536e12(0x220)]=_0x364be3:this[_0x536e12(0x220)]=_0x572332[_0x536e12(0x276)]*0x4;},'toString':function(_0x1b383a){return(_0x1b383a||_0x10bb9e)['stringify'](this);},'concat':function(_0x14ee7d){var _0x4c55de=_0x3fa872,_0x3d8270=this[_0x4c55de(0x35b)],_0x48acd7=_0x14ee7d[_0x4c55de(0x35b)],_0x2a1d9c=this[_0x4c55de(0x220)],_0x2f79a4=_0x14ee7d[_0x4c55de(0x220)];if(this[_0x4c55de(0x313)](),_0x2a1d9c%0x4)for(var _0x19e66d=0x0;_0x19e66d<_0x2f79a4;_0x19e66d++){var _0x3e666d=_0x48acd7[_0x19e66d>>>0x2]>>>0x18-_0x19e66d%0x4*0x8&0xff;_0x3d8270[_0x2a1d9c+_0x19e66d>>>0x2]|=_0x3e666d<<0x18-(_0x2a1d9c+_0x19e66d)%0x4*0x8;}else{for(var _0x26879d=0x0;_0x26879d<_0x2f79a4;_0x26879d+=0x4)_0x3d8270[_0x2a1d9c+_0x26879d>>>0x2]=_0x48acd7[_0x26879d>>>0x2];}return this[_0x4c55de(0x220)]+=_0x2f79a4,this;},'clamp':function(){var _0x125189=_0x3fa872,_0x1ac15f=this[_0x125189(0x35b)],_0x101bea=this['sigBytes'];_0x1ac15f[_0x101bea>>>0x2]&=0xffffffff<<0x20-_0x101bea%0x4*0x8,_0x1ac15f[_0x125189(0x276)]=_0x44c5fe[_0x125189(0x14b)](_0x101bea/0x4);},'clone':function(){var _0x2cf51e=_0x3fa872,_0x304f2a=_0x454e65['clone'][_0x2cf51e(0x13e)](this);return _0x304f2a[_0x2cf51e(0x35b)]=this[_0x2cf51e(0x35b)]['slice'](0x0),_0x304f2a;},'random':function(_0x795a5f){var _0x1d509e=_0x3fa872;for(var _0x31fbc2=[],_0x2a3dad=0x0;_0x2a3dad<_0x795a5f;_0x2a3dad+=0x4)_0x31fbc2[_0x1d509e(0x2c1)](_0x3fd170());return new _0x46408f[(_0x1d509e(0x354))](_0x31fbc2,_0x795a5f);}}),_0x7a1e95=_0x1931d0[_0x3fa872(0xec)]={},_0x10bb9e=_0x7a1e95[_0x3fa872(0x3c3)]={'stringify':function(_0x254625){var _0x1ce448=_0x3fa872;for(var _0x530fda=_0x254625[_0x1ce448(0x35b)],_0xf55790=_0x254625[_0x1ce448(0x220)],_0x3bfa58=[],_0x40f0b7=0x0;_0x40f0b7<_0xf55790;_0x40f0b7++){var _0x93e544=_0x530fda[_0x40f0b7>>>0x2]>>>0x18-_0x40f0b7%0x4*0x8&0xff;_0x3bfa58[_0x1ce448(0x2c1)]((_0x93e544>>>0x4)[_0x1ce448(0xcf)](0x10)),_0x3bfa58[_0x1ce448(0x2c1)]((_0x93e544&0xf)['toString'](0x10));}return _0x3bfa58['join']('');},'parse':function(_0x4eb4dc){var _0x5175de=_0x3fa872;for(var _0xa1d6c2=_0x4eb4dc[_0x5175de(0x276)],_0x4c4035=[],_0x39e674=0x0;_0x39e674<_0xa1d6c2;_0x39e674+=0x2)_0x4c4035[_0x39e674>>>0x3]|=parseInt(_0x4eb4dc[_0x5175de(0x293)](_0x39e674,0x2),0x10)<<0x18-_0x39e674%0x8*0x4;return new _0x46408f['init'](_0x4c4035,_0xa1d6c2/0x2);}},_0x391025=_0x7a1e95[_0x3fa872(0x3eb)]={'stringify':function(_0x4b615f){var _0x93ec34=_0x3fa872;for(var _0x486f8a=_0x4b615f[_0x93ec34(0x35b)],_0x386daf=_0x4b615f[_0x93ec34(0x220)],_0x401266=[],_0x2641b1=0x0;_0x2641b1<_0x386daf;_0x2641b1++){var _0xbbbc70=_0x486f8a[_0x2641b1>>>0x2]>>>0x18-_0x2641b1%0x4*0x8&0xff;_0x401266[_0x93ec34(0x2c1)](String[_0x93ec34(0x22f)](_0xbbbc70));}return _0x401266['join']('');},'parse':function(_0x3c555e){var _0x114f00=_0x3fa872;for(var _0x2bdc48=_0x3c555e[_0x114f00(0x276)],_0x4359f8=[],_0x4ed055=0x0;_0x4ed055<_0x2bdc48;_0x4ed055++)_0x4359f8[_0x4ed055>>>0x2]|=(_0x3c555e[_0x114f00(0x239)](_0x4ed055)&0xff)<<0x18-_0x4ed055%0x4*0x8;return new _0x46408f['init'](_0x4359f8,_0x2bdc48);}},_0x1ef2f5=_0x7a1e95['Utf8']={'stringify':function(_0x546911){var _0x53b3b9=_0x3fa872;try{return decodeURIComponent(escape(_0x391025[_0x53b3b9(0x1ba)](_0x546911)));}catch{throw new Error(_0x53b3b9(0x1c7));}},'parse':function(_0x5b388b){return _0x391025['parse'](unescape(encodeURIComponent(_0x5b388b)));}},_0x4b058c=_0x4de6ee['BufferedBlockAlgorithm']=_0x454e65['extend']({'reset':function(){var _0x5a7f48=_0x3fa872;this[_0x5a7f48(0x281)]=new _0x46408f[(_0x5a7f48(0x354))](),this[_0x5a7f48(0x230)]=0x0;},'_append':function(_0x15aa74){var _0x57b25d=_0x3fa872;typeof _0x15aa74=='string'&&(_0x15aa74=_0x1ef2f5[_0x57b25d(0x133)](_0x15aa74)),this['_data'][_0x57b25d(0x43b)](_0x15aa74),this['_nDataBytes']+=_0x15aa74[_0x57b25d(0x220)];},'_process':function(_0x14ec8f){var _0x1d1b1c=_0x3fa872,_0x162ffd,_0x12ef1b=this['_data'],_0x264387=_0x12ef1b['words'],_0x3fab6a=_0x12ef1b[_0x1d1b1c(0x220)],_0xe75f7c=this[_0x1d1b1c(0x1b5)],_0x53b97c=_0xe75f7c*0x4,_0x8916b3=_0x3fab6a/_0x53b97c;_0x14ec8f?_0x8916b3=_0x44c5fe['ceil'](_0x8916b3):_0x8916b3=_0x44c5fe['max']((_0x8916b3|0x0)-this['_minBufferSize'],0x0);var _0x3f33b8=_0x8916b3*_0xe75f7c,_0x4e510e=_0x44c5fe[_0x1d1b1c(0x1b8)](_0x3f33b8*0x4,_0x3fab6a);if(_0x3f33b8){for(var _0x4127d4=0x0;_0x4127d4<_0x3f33b8;_0x4127d4+=_0xe75f7c)this['_doProcessBlock'](_0x264387,_0x4127d4);_0x162ffd=_0x264387[_0x1d1b1c(0x33a)](0x0,_0x3f33b8),_0x12ef1b[_0x1d1b1c(0x220)]-=_0x4e510e;}return new _0x46408f[(_0x1d1b1c(0x354))](_0x162ffd,_0x4e510e);},'clone':function(){var _0x310fbc=_0x3fa872,_0x4ac980=_0x454e65[_0x310fbc(0x300)][_0x310fbc(0x13e)](this);return _0x4ac980[_0x310fbc(0x281)]=this[_0x310fbc(0x281)][_0x310fbc(0x300)](),_0x4ac980;},'_minBufferSize':0x0});_0x4de6ee[_0x3fa872(0x441)]=_0x4b058c[_0x3fa872(0x340)]({'cfg':_0x454e65[_0x3fa872(0x340)](),'init':function(_0x536d9b){var _0x3c5cba=_0x3fa872;this[_0x3c5cba(0x3c1)]=this['cfg']['extend'](_0x536d9b),this[_0x3c5cba(0x160)]();},'reset':function(){var _0x4a3833=_0x3fa872;_0x4b058c[_0x4a3833(0x160)][_0x4a3833(0x13e)](this),this[_0x4a3833(0xe3)]();},'update':function(_0x1ab100){var _0x22452c=_0x3fa872;return this[_0x22452c(0x1af)](_0x1ab100),this[_0x22452c(0x3bf)](),this;},'finalize':function(_0x55696c){var _0x53d250=_0x3fa872;_0x55696c&&this['_append'](_0x55696c);var _0x2fc70e=this[_0x53d250(0x3d0)]();return _0x2fc70e;},'blockSize':0x10,'_createHelper':function(_0x4dde49){return function(_0x23ffab,_0x2b256c){var _0x3058cd=_0x541a;return new _0x4dde49[(_0x3058cd(0x354))](_0x2b256c)[_0x3058cd(0x2da)](_0x23ffab);};},'_createHmacHelper':function(_0x1116d3){return function(_0x201bb0,_0xdebb83){var _0x5492a7=_0x541a;return new _0x2d960b['HMAC'][(_0x5492a7(0x354))](_0x1116d3,_0xdebb83)[_0x5492a7(0x2da)](_0x201bb0);};}});var _0x2d960b=_0x1931d0[_0x3fa872(0x297)]={};return _0x1931d0;}(Math);return _0x2881fe;}));}(fe)),fe['exports'];}var Ee={'exports':{}},gi=Ee[_0x4e146c(0xd8)],ze;function gt(){return ze||(ze=0x1,function(_0x168193,_0xdbd754){(function(_0xee1a39,_0x298543){_0x168193['exports']=_0x298543(Z());}(gi,function(_0x4fa01e){var _0x3107af=_0x541a;return(function(){var _0x5a279f=_0x541a,_0x2a7b69=_0x4fa01e,_0xe9b3b7=_0x2a7b69[_0x5a279f(0xf3)],_0x4cb671=_0xe9b3b7[_0x5a279f(0x396)],_0x1b75ac=_0x2a7b69['enc'];_0x1b75ac['Base64']={'stringify':function(_0x47c357){var _0x187c8d=_0x5a279f,_0x4358c4=_0x47c357[_0x187c8d(0x35b)],_0x598af4=_0x47c357[_0x187c8d(0x220)],_0x5e8532=this[_0x187c8d(0x3e6)];_0x47c357[_0x187c8d(0x313)]();for(var _0x309b9a=[],_0x13741b=0x0;_0x13741b<_0x598af4;_0x13741b+=0x3)for(var _0x161d4b=_0x4358c4[_0x13741b>>>0x2]>>>0x18-_0x13741b%0x4*0x8&0xff,_0xe3312a=_0x4358c4[_0x13741b+0x1>>>0x2]>>>0x18-(_0x13741b+0x1)%0x4*0x8&0xff,_0x18c0b3=_0x4358c4[_0x13741b+0x2>>>0x2]>>>0x18-(_0x13741b+0x2)%0x4*0x8&0xff,_0x1d5108=_0x161d4b<<0x10|_0xe3312a<<0x8|_0x18c0b3,_0xe2b3f8=0x0;_0xe2b3f8<0x4&&_0x13741b+_0xe2b3f8*0.75<_0x598af4;_0xe2b3f8++)_0x309b9a['push'](_0x5e8532[_0x187c8d(0x23a)](_0x1d5108>>>0x6*(0x3-_0xe2b3f8)&0x3f));var _0xc1efb0=_0x5e8532['charAt'](0x40);if(_0xc1efb0){for(;_0x309b9a[_0x187c8d(0x276)]%0x4;)_0x309b9a[_0x187c8d(0x2c1)](_0xc1efb0);}return _0x309b9a[_0x187c8d(0x2a5)]('');},'parse':function(_0x264537){var _0x362101=_0x5a279f,_0x453fa2=_0x264537['length'],_0x13f8bf=this[_0x362101(0x3e6)],_0xa5f0e8=this[_0x362101(0x1e3)];if(!_0xa5f0e8){_0xa5f0e8=this[_0x362101(0x1e3)]=[];for(var _0xe0f3d1=0x0;_0xe0f3d1<_0x13f8bf[_0x362101(0x276)];_0xe0f3d1++)_0xa5f0e8[_0x13f8bf[_0x362101(0x239)](_0xe0f3d1)]=_0xe0f3d1;}var _0x395821=_0x13f8bf[_0x362101(0x23a)](0x40);if(_0x395821){var _0x47561b=_0x264537[_0x362101(0x1b2)](_0x395821);_0x47561b!==-0x1&&(_0x453fa2=_0x47561b);}return _0x411227(_0x264537,_0x453fa2,_0xa5f0e8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x411227(_0x1d51ce,_0x491a5a,_0x2faca6){var _0x1d816e=_0x5a279f;for(var _0x4583a2=[],_0x4a1fef=0x0,_0xc3238d=0x0;_0xc3238d<_0x491a5a;_0xc3238d++)if(_0xc3238d%0x4){var _0x25677=_0x2faca6[_0x1d51ce[_0x1d816e(0x239)](_0xc3238d-0x1)]<<_0xc3238d%0x4*0x2,_0x427aa3=_0x2faca6[_0x1d51ce[_0x1d816e(0x239)](_0xc3238d)]>>>0x6-_0xc3238d%0x4*0x2,_0x5952fc=_0x25677|_0x427aa3;_0x4583a2[_0x4a1fef>>>0x2]|=_0x5952fc<<0x18-_0x4a1fef%0x4*0x8,_0x4a1fef++;}return _0x4cb671[_0x1d816e(0x422)](_0x4583a2,_0x4a1fef);}}()),_0x4fa01e[_0x3107af(0xec)]['Base64'];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Ti=pe[_0x4e146c(0xd8)],Xe;function Ci(){var _0x1c9a54=_0x4e146c;return Xe||(Xe=0x1,function(_0x27d51d,_0xd16723){(function(_0x58c5ba,_0x51b05a){_0x27d51d['exports']=_0x51b05a(Z());}(Ti,function(_0x19413f){var _0x909ac7=_0x541a;return function(_0x3e2a19){var _0xd0e313=_0x541a,_0x56aed6=_0x19413f,_0x213fb8=_0x56aed6[_0xd0e313(0xf3)],_0x4c32f6=_0x213fb8[_0xd0e313(0x396)],_0x268194=_0x213fb8['Hasher'],_0x48ba5c=_0x56aed6['algo'],_0x28841a=[];(function(){var _0x4e142d=_0xd0e313;for(var _0x8d59df=0x0;_0x8d59df<0x40;_0x8d59df++)_0x28841a[_0x8d59df]=_0x3e2a19[_0x4e142d(0x402)](_0x3e2a19['sin'](_0x8d59df+0x1))*0x100000000|0x0;}());var _0x31ed26=_0x48ba5c[_0xd0e313(0x1f4)]=_0x268194['extend']({'_doReset':function(){var _0x545831=_0xd0e313;this[_0x545831(0x3a9)]=new _0x4c32f6[(_0x545831(0x354))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x229abc,_0x194cc4){var _0x2f97b8=_0xd0e313;for(var _0x16f898=0x0;_0x16f898<0x10;_0x16f898++){var _0x82f519=_0x194cc4+_0x16f898,_0x3a9d1d=_0x229abc[_0x82f519];_0x229abc[_0x82f519]=(_0x3a9d1d<<0x8|_0x3a9d1d>>>0x18)&0xff00ff|(_0x3a9d1d<<0x18|_0x3a9d1d>>>0x8)&0xff00ff00;}var _0x23f31d=this[_0x2f97b8(0x3a9)]['words'],_0x3127c3=_0x229abc[_0x194cc4+0x0],_0x4cae89=_0x229abc[_0x194cc4+0x1],_0x457067=_0x229abc[_0x194cc4+0x2],_0x8a4590=_0x229abc[_0x194cc4+0x3],_0xea4928=_0x229abc[_0x194cc4+0x4],_0x12fcb7=_0x229abc[_0x194cc4+0x5],_0x22f102=_0x229abc[_0x194cc4+0x6],_0x3c76d2=_0x229abc[_0x194cc4+0x7],_0x393245=_0x229abc[_0x194cc4+0x8],_0x474047=_0x229abc[_0x194cc4+0x9],_0x5b7d0f=_0x229abc[_0x194cc4+0xa],_0x52d99f=_0x229abc[_0x194cc4+0xb],_0x30e0e1=_0x229abc[_0x194cc4+0xc],_0x51d7de=_0x229abc[_0x194cc4+0xd],_0x324c78=_0x229abc[_0x194cc4+0xe],_0xab9d8d=_0x229abc[_0x194cc4+0xf],_0x5a46a2=_0x23f31d[0x0],_0xa60a3b=_0x23f31d[0x1],_0x21b590=_0x23f31d[0x2],_0x2f0a0a=_0x23f31d[0x3];_0x5a46a2=_0x455789(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x3127c3,0x7,_0x28841a[0x0]),_0x2f0a0a=_0x455789(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x4cae89,0xc,_0x28841a[0x1]),_0x21b590=_0x455789(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x457067,0x11,_0x28841a[0x2]),_0xa60a3b=_0x455789(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x8a4590,0x16,_0x28841a[0x3]),_0x5a46a2=_0x455789(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0xea4928,0x7,_0x28841a[0x4]),_0x2f0a0a=_0x455789(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x12fcb7,0xc,_0x28841a[0x5]),_0x21b590=_0x455789(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x22f102,0x11,_0x28841a[0x6]),_0xa60a3b=_0x455789(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x3c76d2,0x16,_0x28841a[0x7]),_0x5a46a2=_0x455789(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x393245,0x7,_0x28841a[0x8]),_0x2f0a0a=_0x455789(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x474047,0xc,_0x28841a[0x9]),_0x21b590=_0x455789(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x5b7d0f,0x11,_0x28841a[0xa]),_0xa60a3b=_0x455789(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x52d99f,0x16,_0x28841a[0xb]),_0x5a46a2=_0x455789(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x30e0e1,0x7,_0x28841a[0xc]),_0x2f0a0a=_0x455789(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x51d7de,0xc,_0x28841a[0xd]),_0x21b590=_0x455789(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x324c78,0x11,_0x28841a[0xe]),_0xa60a3b=_0x455789(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0xab9d8d,0x16,_0x28841a[0xf]),_0x5a46a2=_0x1ade84(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x4cae89,0x5,_0x28841a[0x10]),_0x2f0a0a=_0x1ade84(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x22f102,0x9,_0x28841a[0x11]),_0x21b590=_0x1ade84(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x52d99f,0xe,_0x28841a[0x12]),_0xa60a3b=_0x1ade84(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x3127c3,0x14,_0x28841a[0x13]),_0x5a46a2=_0x1ade84(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x12fcb7,0x5,_0x28841a[0x14]),_0x2f0a0a=_0x1ade84(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x5b7d0f,0x9,_0x28841a[0x15]),_0x21b590=_0x1ade84(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0xab9d8d,0xe,_0x28841a[0x16]),_0xa60a3b=_0x1ade84(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0xea4928,0x14,_0x28841a[0x17]),_0x5a46a2=_0x1ade84(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x474047,0x5,_0x28841a[0x18]),_0x2f0a0a=_0x1ade84(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x324c78,0x9,_0x28841a[0x19]),_0x21b590=_0x1ade84(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x8a4590,0xe,_0x28841a[0x1a]),_0xa60a3b=_0x1ade84(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x393245,0x14,_0x28841a[0x1b]),_0x5a46a2=_0x1ade84(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x51d7de,0x5,_0x28841a[0x1c]),_0x2f0a0a=_0x1ade84(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x457067,0x9,_0x28841a[0x1d]),_0x21b590=_0x1ade84(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x3c76d2,0xe,_0x28841a[0x1e]),_0xa60a3b=_0x1ade84(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x30e0e1,0x14,_0x28841a[0x1f]),_0x5a46a2=_0x252ef5(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x12fcb7,0x4,_0x28841a[0x20]),_0x2f0a0a=_0x252ef5(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x393245,0xb,_0x28841a[0x21]),_0x21b590=_0x252ef5(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x52d99f,0x10,_0x28841a[0x22]),_0xa60a3b=_0x252ef5(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x324c78,0x17,_0x28841a[0x23]),_0x5a46a2=_0x252ef5(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x4cae89,0x4,_0x28841a[0x24]),_0x2f0a0a=_0x252ef5(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0xea4928,0xb,_0x28841a[0x25]),_0x21b590=_0x252ef5(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x3c76d2,0x10,_0x28841a[0x26]),_0xa60a3b=_0x252ef5(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x5b7d0f,0x17,_0x28841a[0x27]),_0x5a46a2=_0x252ef5(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x51d7de,0x4,_0x28841a[0x28]),_0x2f0a0a=_0x252ef5(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x3127c3,0xb,_0x28841a[0x29]),_0x21b590=_0x252ef5(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x8a4590,0x10,_0x28841a[0x2a]),_0xa60a3b=_0x252ef5(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x22f102,0x17,_0x28841a[0x2b]),_0x5a46a2=_0x252ef5(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x474047,0x4,_0x28841a[0x2c]),_0x2f0a0a=_0x252ef5(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x30e0e1,0xb,_0x28841a[0x2d]),_0x21b590=_0x252ef5(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0xab9d8d,0x10,_0x28841a[0x2e]),_0xa60a3b=_0x252ef5(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x457067,0x17,_0x28841a[0x2f]),_0x5a46a2=_0x462c94(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x3127c3,0x6,_0x28841a[0x30]),_0x2f0a0a=_0x462c94(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x3c76d2,0xa,_0x28841a[0x31]),_0x21b590=_0x462c94(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x324c78,0xf,_0x28841a[0x32]),_0xa60a3b=_0x462c94(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x12fcb7,0x15,_0x28841a[0x33]),_0x5a46a2=_0x462c94(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x30e0e1,0x6,_0x28841a[0x34]),_0x2f0a0a=_0x462c94(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x8a4590,0xa,_0x28841a[0x35]),_0x21b590=_0x462c94(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x5b7d0f,0xf,_0x28841a[0x36]),_0xa60a3b=_0x462c94(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x4cae89,0x15,_0x28841a[0x37]),_0x5a46a2=_0x462c94(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0x393245,0x6,_0x28841a[0x38]),_0x2f0a0a=_0x462c94(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0xab9d8d,0xa,_0x28841a[0x39]),_0x21b590=_0x462c94(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x22f102,0xf,_0x28841a[0x3a]),_0xa60a3b=_0x462c94(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x51d7de,0x15,_0x28841a[0x3b]),_0x5a46a2=_0x462c94(_0x5a46a2,_0xa60a3b,_0x21b590,_0x2f0a0a,_0xea4928,0x6,_0x28841a[0x3c]),_0x2f0a0a=_0x462c94(_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x21b590,_0x52d99f,0xa,_0x28841a[0x3d]),_0x21b590=_0x462c94(_0x21b590,_0x2f0a0a,_0x5a46a2,_0xa60a3b,_0x457067,0xf,_0x28841a[0x3e]),_0xa60a3b=_0x462c94(_0xa60a3b,_0x21b590,_0x2f0a0a,_0x5a46a2,_0x474047,0x15,_0x28841a[0x3f]),_0x23f31d[0x0]=_0x23f31d[0x0]+_0x5a46a2|0x0,_0x23f31d[0x1]=_0x23f31d[0x1]+_0xa60a3b|0x0,_0x23f31d[0x2]=_0x23f31d[0x2]+_0x21b590|0x0,_0x23f31d[0x3]=_0x23f31d[0x3]+_0x2f0a0a|0x0;},'_doFinalize':function(){var _0x5b96a1=_0xd0e313,_0x3dfc0c=this['_data'],_0x19f25b=_0x3dfc0c[_0x5b96a1(0x35b)],_0x1e0ccb=this[_0x5b96a1(0x230)]*0x8,_0x3c926a=_0x3dfc0c[_0x5b96a1(0x220)]*0x8;_0x19f25b[_0x3c926a>>>0x5]|=0x80<<0x18-_0x3c926a%0x20;var _0x274514=_0x3e2a19[_0x5b96a1(0x302)](_0x1e0ccb/0x100000000),_0x3ffdfc=_0x1e0ccb;_0x19f25b[(_0x3c926a+0x40>>>0x9<<0x4)+0xf]=(_0x274514<<0x8|_0x274514>>>0x18)&0xff00ff|(_0x274514<<0x18|_0x274514>>>0x8)&0xff00ff00,_0x19f25b[(_0x3c926a+0x40>>>0x9<<0x4)+0xe]=(_0x3ffdfc<<0x8|_0x3ffdfc>>>0x18)&0xff00ff|(_0x3ffdfc<<0x18|_0x3ffdfc>>>0x8)&0xff00ff00,_0x3dfc0c[_0x5b96a1(0x220)]=(_0x19f25b[_0x5b96a1(0x276)]+0x1)*0x4,this[_0x5b96a1(0x3bf)]();for(var _0x315ad1=this['_hash'],_0x2e3e61=_0x315ad1[_0x5b96a1(0x35b)],_0x25c981=0x0;_0x25c981<0x4;_0x25c981++){var _0xeb8ef1=_0x2e3e61[_0x25c981];_0x2e3e61[_0x25c981]=(_0xeb8ef1<<0x8|_0xeb8ef1>>>0x18)&0xff00ff|(_0xeb8ef1<<0x18|_0xeb8ef1>>>0x8)&0xff00ff00;}return _0x315ad1;},'clone':function(){var _0x382902=_0xd0e313,_0x57c7ad=_0x268194[_0x382902(0x300)][_0x382902(0x13e)](this);return _0x57c7ad['_hash']=this[_0x382902(0x3a9)][_0x382902(0x300)](),_0x57c7ad;}});function _0x455789(_0x435951,_0x2edf16,_0x422803,_0x37b620,_0x5928d1,_0x3a89d5,_0x55348f){var _0x4e1cfa=_0x435951+(_0x2edf16&_0x422803|~_0x2edf16&_0x37b620)+_0x5928d1+_0x55348f;return(_0x4e1cfa<<_0x3a89d5|_0x4e1cfa>>>0x20-_0x3a89d5)+_0x2edf16;}function _0x1ade84(_0xb3932b,_0x42105b,_0x342441,_0x1646e4,_0x19f636,_0x3516a3,_0x3b9f17){var _0x56ae5f=_0xb3932b+(_0x42105b&_0x1646e4|_0x342441&~_0x1646e4)+_0x19f636+_0x3b9f17;return(_0x56ae5f<<_0x3516a3|_0x56ae5f>>>0x20-_0x3516a3)+_0x42105b;}function _0x252ef5(_0x8c77d,_0xe57bbe,_0x514222,_0x4a9c6b,_0x46af99,_0x2d73c3,_0x1efae8){var _0x195a8f=_0x8c77d+(_0xe57bbe^_0x514222^_0x4a9c6b)+_0x46af99+_0x1efae8;return(_0x195a8f<<_0x2d73c3|_0x195a8f>>>0x20-_0x2d73c3)+_0xe57bbe;}function _0x462c94(_0x75de0e,_0x4746cf,_0x53b844,_0x304db3,_0x5ea7d0,_0x1d8d58,_0x5935d7){var _0xfc93fc=_0x75de0e+(_0x53b844^(_0x4746cf|~_0x304db3))+_0x5ea7d0+_0x5935d7;return(_0xfc93fc<<_0x1d8d58|_0xfc93fc>>>0x20-_0x1d8d58)+_0x4746cf;}_0x56aed6[_0xd0e313(0x1f4)]=_0x268194[_0xd0e313(0xd1)](_0x31ed26),_0x56aed6[_0xd0e313(0x2c0)]=_0x268194[_0xd0e313(0x301)](_0x31ed26);}(Math),_0x19413f[_0x909ac7(0x1f4)];}));}(pe)),pe[_0x1c9a54(0xd8)];}var me={'exports':{}},ge={'exports':{}},bi=ge[_0x4e146c(0xd8)],Je;function Oi(){var _0x362c7a=_0x4e146c;return Je||(Je=0x1,function(_0x161bc4,_0x21bcb9){(function(_0x1258aa,_0x191f9c){var _0x34a077=_0x541a;_0x161bc4[_0x34a077(0xd8)]=_0x191f9c(Z());}(bi,function(_0x244179){var _0x188685=_0x541a;return(function(){var _0x4d6830=_0x541a,_0x428f6c=_0x244179,_0x37d55f=_0x428f6c[_0x4d6830(0xf3)],_0x5bfcce=_0x37d55f['WordArray'],_0x4a60e5=_0x37d55f['Hasher'],_0x442bbc=_0x428f6c['algo'],_0x2bb7db=[],_0x1cd72e=_0x442bbc[_0x4d6830(0x1e8)]=_0x4a60e5[_0x4d6830(0x340)]({'_doReset':function(){var _0x100636=_0x4d6830;this[_0x100636(0x3a9)]=new _0x5bfcce[(_0x100636(0x354))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xd926a8,_0x2c07e7){var _0x13e95f=_0x4d6830;for(var _0x3a717b=this[_0x13e95f(0x3a9)][_0x13e95f(0x35b)],_0x1903aa=_0x3a717b[0x0],_0x10c860=_0x3a717b[0x1],_0x390d41=_0x3a717b[0x2],_0x12878a=_0x3a717b[0x3],_0x176778=_0x3a717b[0x4],_0x4607fd=0x0;_0x4607fd<0x50;_0x4607fd++){if(_0x4607fd<0x10)_0x2bb7db[_0x4607fd]=_0xd926a8[_0x2c07e7+_0x4607fd]|0x0;else{var _0x41302d=_0x2bb7db[_0x4607fd-0x3]^_0x2bb7db[_0x4607fd-0x8]^_0x2bb7db[_0x4607fd-0xe]^_0x2bb7db[_0x4607fd-0x10];_0x2bb7db[_0x4607fd]=_0x41302d<<0x1|_0x41302d>>>0x1f;}var _0x162bb0=(_0x1903aa<<0x5|_0x1903aa>>>0x1b)+_0x176778+_0x2bb7db[_0x4607fd];_0x4607fd<0x14?_0x162bb0+=(_0x10c860&_0x390d41|~_0x10c860&_0x12878a)+0x5a827999:_0x4607fd<0x28?_0x162bb0+=(_0x10c860^_0x390d41^_0x12878a)+0x6ed9eba1:_0x4607fd<0x3c?_0x162bb0+=(_0x10c860&_0x390d41|_0x10c860&_0x12878a|_0x390d41&_0x12878a)-0x70e44324:_0x162bb0+=(_0x10c860^_0x390d41^_0x12878a)-0x359d3e2a,_0x176778=_0x12878a,_0x12878a=_0x390d41,_0x390d41=_0x10c860<<0x1e|_0x10c860>>>0x2,_0x10c860=_0x1903aa,_0x1903aa=_0x162bb0;}_0x3a717b[0x0]=_0x3a717b[0x0]+_0x1903aa|0x0,_0x3a717b[0x1]=_0x3a717b[0x1]+_0x10c860|0x0,_0x3a717b[0x2]=_0x3a717b[0x2]+_0x390d41|0x0,_0x3a717b[0x3]=_0x3a717b[0x3]+_0x12878a|0x0,_0x3a717b[0x4]=_0x3a717b[0x4]+_0x176778|0x0;},'_doFinalize':function(){var _0x33cf1f=_0x4d6830,_0x312b0b=this[_0x33cf1f(0x281)],_0x2a6177=_0x312b0b[_0x33cf1f(0x35b)],_0x8989e7=this[_0x33cf1f(0x230)]*0x8,_0x59017c=_0x312b0b[_0x33cf1f(0x220)]*0x8;return _0x2a6177[_0x59017c>>>0x5]|=0x80<<0x18-_0x59017c%0x20,_0x2a6177[(_0x59017c+0x40>>>0x9<<0x4)+0xe]=Math[_0x33cf1f(0x302)](_0x8989e7/0x100000000),_0x2a6177[(_0x59017c+0x40>>>0x9<<0x4)+0xf]=_0x8989e7,_0x312b0b[_0x33cf1f(0x220)]=_0x2a6177[_0x33cf1f(0x276)]*0x4,this['_process'](),this[_0x33cf1f(0x3a9)];},'clone':function(){var _0x3410d5=_0x4d6830,_0x3d4db0=_0x4a60e5['clone'][_0x3410d5(0x13e)](this);return _0x3d4db0[_0x3410d5(0x3a9)]=this['_hash'][_0x3410d5(0x300)](),_0x3d4db0;}});_0x428f6c[_0x4d6830(0x1e8)]=_0x4a60e5['_createHelper'](_0x1cd72e),_0x428f6c[_0x4d6830(0x2c5)]=_0x4a60e5[_0x4d6830(0x301)](_0x1cd72e);}()),_0x244179[_0x188685(0x1e8)];}));}(ge)),ge[_0x362c7a(0xd8)];}var Te={'exports':{}},Ri=Te[_0x4e146c(0xd8)],Ze;function Ni(){var _0x45e381=_0x4e146c;return Ze||(Ze=0x1,function(_0x221455,_0x2e72b2){(function(_0x34e8f0,_0x3be301){_0x221455['exports']=_0x3be301(Z());}(Ri,function(_0x3f7f36){(function(){var _0x462626=_0x541a,_0x3c3337=_0x3f7f36,_0x120036=_0x3c3337[_0x462626(0xf3)],_0x3519c0=_0x120036['Base'],_0x24ee6e=_0x3c3337[_0x462626(0xec)],_0x1618ef=_0x24ee6e[_0x462626(0x19c)],_0xb312f3=_0x3c3337[_0x462626(0x297)];_0xb312f3[_0x462626(0xf2)]=_0x3519c0[_0x462626(0x340)]({'init':function(_0x15ff47,_0x164103){var _0x4b7a80=_0x462626;_0x15ff47=this['_hasher']=new _0x15ff47[(_0x4b7a80(0x354))](),typeof _0x164103==_0x4b7a80(0x1cb)&&(_0x164103=_0x1618ef[_0x4b7a80(0x133)](_0x164103));var _0x464b3b=_0x15ff47[_0x4b7a80(0x1b5)],_0x4ae42c=_0x464b3b*0x4;_0x164103[_0x4b7a80(0x220)]>_0x4ae42c&&(_0x164103=_0x15ff47['finalize'](_0x164103)),_0x164103[_0x4b7a80(0x313)]();for(var _0x1237bc=this['_oKey']=_0x164103['clone'](),_0x2a9375=this[_0x4b7a80(0x3b9)]=_0x164103[_0x4b7a80(0x300)](),_0x5d2a85=_0x1237bc[_0x4b7a80(0x35b)],_0x42edae=_0x2a9375['words'],_0x37e6dc=0x0;_0x37e6dc<_0x464b3b;_0x37e6dc++)_0x5d2a85[_0x37e6dc]^=0x5c5c5c5c,_0x42edae[_0x37e6dc]^=0x36363636;_0x1237bc[_0x4b7a80(0x220)]=_0x2a9375[_0x4b7a80(0x220)]=_0x4ae42c,this['reset']();},'reset':function(){var _0x5b669d=_0x462626,_0x417d5d=this['_hasher'];_0x417d5d[_0x5b669d(0x160)](),_0x417d5d['update'](this['_iKey']);},'update':function(_0x1cd8b3){var _0x29362e=_0x462626;return this[_0x29362e(0x1be)][_0x29362e(0x34e)](_0x1cd8b3),this;},'finalize':function(_0xcf1873){var _0x225ca1=_0x462626,_0xec832a=this['_hasher'],_0xf5b3d7=_0xec832a[_0x225ca1(0x2da)](_0xcf1873);_0xec832a['reset']();var _0x1900a7=_0xec832a[_0x225ca1(0x2da)](this[_0x225ca1(0x124)]['clone']()[_0x225ca1(0x43b)](_0xf5b3d7));return _0x1900a7;}});}());}));}(Te)),Te[_0x45e381(0xd8)];}var Di=me[_0x4e146c(0xd8)],Qe;function Tt(){var _0x18f8fe=_0x4e146c;return Qe||(Qe=0x1,function(_0x1a9254,_0x3060f1){(function(_0x2e3f88,_0x23aaab,_0x4ba066){var _0x5a5480=_0x541a;_0x1a9254[_0x5a5480(0xd8)]=_0x23aaab(Z(),Oi(),Ni());}(Di,function(_0x2b50dd){var _0x558591=_0x541a;return(function(){var _0x5b668f=_0x541a,_0x134dc8=_0x2b50dd,_0x2fed94=_0x134dc8['lib'],_0x5c19f2=_0x2fed94[_0x5b668f(0x103)],_0x266a25=_0x2fed94[_0x5b668f(0x396)],_0x496da0=_0x134dc8['algo'],_0x1b9333=_0x496da0[_0x5b668f(0x1f4)],_0x46235a=_0x496da0[_0x5b668f(0x282)]=_0x5c19f2['extend']({'cfg':_0x5c19f2[_0x5b668f(0x340)]({'keySize':0x80/0x20,'hasher':_0x1b9333,'iterations':0x1}),'init':function(_0xaede0c){var _0xc4319b=_0x5b668f;this['cfg']=this[_0xc4319b(0x3c1)][_0xc4319b(0x340)](_0xaede0c);},'compute':function(_0x341703,_0x222f79){var _0x45a1f6=_0x5b668f;for(var _0x4c90aa,_0xd235f7=this[_0x45a1f6(0x3c1)],_0x5492e2=_0xd235f7[_0x45a1f6(0x353)][_0x45a1f6(0x422)](),_0x13ef3a=_0x266a25['create'](),_0x4e9936=_0x13ef3a['words'],_0x1326ab=_0xd235f7[_0x45a1f6(0x16b)],_0x158976=_0xd235f7[_0x45a1f6(0x36e)];_0x4e9936[_0x45a1f6(0x276)]<_0x1326ab;){_0x4c90aa&&_0x5492e2[_0x45a1f6(0x34e)](_0x4c90aa),_0x4c90aa=_0x5492e2['update'](_0x341703)[_0x45a1f6(0x2da)](_0x222f79),_0x5492e2[_0x45a1f6(0x160)]();for(var _0x192666=0x1;_0x192666<_0x158976;_0x192666++)_0x4c90aa=_0x5492e2[_0x45a1f6(0x2da)](_0x4c90aa),_0x5492e2[_0x45a1f6(0x160)]();_0x13ef3a[_0x45a1f6(0x43b)](_0x4c90aa);}return _0x13ef3a[_0x45a1f6(0x220)]=_0x1326ab*0x4,_0x13ef3a;}});_0x134dc8[_0x5b668f(0x282)]=function(_0x41236b,_0x142d8d,_0x5686f9){var _0x473aff=_0x5b668f;return _0x46235a[_0x473aff(0x422)](_0x5686f9)[_0x473aff(0x3d1)](_0x41236b,_0x142d8d);};}()),_0x2b50dd[_0x558591(0x282)];}));}(me)),me[_0x18f8fe(0xd8)];}var Ce={'exports':{}},yi=Ce[_0x4e146c(0xd8)],et;function Ct(){return et||(et=0x1,function(_0x46437f,_0xff59b){(function(_0x927307,_0x4d0e52,_0x4ea446){var _0xa0b7b6=_0x541a;_0x46437f[_0xa0b7b6(0xd8)]=_0x4d0e52(Z(),Tt());}(yi,function(_0x3fe237){var _0x45e24e=_0x541a;_0x3fe237[_0x45e24e(0xf3)]['Cipher']||function(_0x854ec1){var _0x310986=_0x45e24e,_0xa0719=_0x3fe237,_0x5e0be0=_0xa0719['lib'],_0x61bf56=_0x5e0be0['Base'],_0x2907fc=_0x5e0be0[_0x310986(0x396)],_0x47bb37=_0x5e0be0[_0x310986(0x18d)],_0x28f72f=_0xa0719[_0x310986(0xec)];_0x28f72f[_0x310986(0x19c)];var _0x15bfad=_0x28f72f[_0x310986(0x344)],_0x2c9695=_0xa0719[_0x310986(0x297)],_0x254400=_0x2c9695[_0x310986(0x282)],_0x2ce634=_0x5e0be0['Cipher']=_0x47bb37[_0x310986(0x340)]({'cfg':_0x61bf56['extend'](),'createEncryptor':function(_0x2c3dbf,_0x5083c1){var _0x175cdc=_0x310986;return this[_0x175cdc(0x422)](this[_0x175cdc(0xfd)],_0x2c3dbf,_0x5083c1);},'createDecryptor':function(_0x578bee,_0x1cc0ed){var _0x49e7a3=_0x310986;return this['create'](this[_0x49e7a3(0x1cc)],_0x578bee,_0x1cc0ed);},'init':function(_0x1c995a,_0x3c673b,_0x50014e){var _0x182240=_0x310986;this[_0x182240(0x3c1)]=this[_0x182240(0x3c1)][_0x182240(0x340)](_0x50014e),this['_xformMode']=_0x1c995a,this[_0x182240(0x19d)]=_0x3c673b,this[_0x182240(0x160)]();},'reset':function(){var _0x51eef7=_0x310986;_0x47bb37['reset'][_0x51eef7(0x13e)](this),this[_0x51eef7(0xe3)]();},'process':function(_0x510648){var _0x2fa80b=_0x310986;return this[_0x2fa80b(0x1af)](_0x510648),this[_0x2fa80b(0x3bf)]();},'finalize':function(_0x515619){var _0x3d14ca=_0x310986;_0x515619&&this['_append'](_0x515619);var _0x30794a=this[_0x3d14ca(0x3d0)]();return _0x30794a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x383e62(_0x1d6784){var _0x36f22a=_0x541a;return typeof _0x1d6784==_0x36f22a(0x1cb)?_0x39fbf0:_0x526f07;}return function(_0xa3845f){return{'encrypt':function(_0x23a3e3,_0xcaaa14,_0x308620){return _0x383e62(_0xcaaa14)['encrypt'](_0xa3845f,_0x23a3e3,_0xcaaa14,_0x308620);},'decrypt':function(_0x45b2b0,_0x11b0d6,_0x5a8597){var _0x42f4a7=_0x541a;return _0x383e62(_0x11b0d6)[_0x42f4a7(0x128)](_0xa3845f,_0x45b2b0,_0x11b0d6,_0x5a8597);}};};}())});_0x5e0be0[_0x310986(0x275)]=_0x2ce634[_0x310986(0x340)]({'_doFinalize':function(){var _0x34e2ed=_0x310986,_0x3f4a67=this[_0x34e2ed(0x3bf)](!0x0);return _0x3f4a67;},'blockSize':0x1});var _0x5e71a2=_0xa0719[_0x310986(0x2b2)]={},_0x43e734=_0x5e0be0[_0x310986(0x136)]=_0x61bf56[_0x310986(0x340)]({'createEncryptor':function(_0x5558f8,_0x18bbba){var _0x3d0b90=_0x310986;return this[_0x3d0b90(0x197)][_0x3d0b90(0x422)](_0x5558f8,_0x18bbba);},'createDecryptor':function(_0x32b985,_0xfaeeb6){var _0x4abba9=_0x310986;return this[_0x4abba9(0xcb)]['create'](_0x32b985,_0xfaeeb6);},'init':function(_0x435f10,_0x32fb3e){var _0xcf11b0=_0x310986;this[_0xcf11b0(0x12f)]=_0x435f10,this[_0xcf11b0(0x105)]=_0x32fb3e;}}),_0x3f07ec=_0x5e71a2['CBC']=(function(){var _0x4149d6=_0x310986,_0x5cbafd=_0x43e734[_0x4149d6(0x340)]();_0x5cbafd['Encryptor']=_0x5cbafd[_0x4149d6(0x340)]({'processBlock':function(_0x1bdfc8,_0x1a165f){var _0x51bd0f=_0x4149d6,_0xd606e0=this[_0x51bd0f(0x12f)],_0xb09795=_0xd606e0[_0x51bd0f(0x1b5)];_0xe058d2[_0x51bd0f(0x13e)](this,_0x1bdfc8,_0x1a165f,_0xb09795),_0xd606e0[_0x51bd0f(0x2ea)](_0x1bdfc8,_0x1a165f),this['_prevBlock']=_0x1bdfc8['slice'](_0x1a165f,_0x1a165f+_0xb09795);}}),_0x5cbafd['Decryptor']=_0x5cbafd[_0x4149d6(0x340)]({'processBlock':function(_0x1fea1a,_0x2fb8a4){var _0x5ede4a=_0x4149d6,_0x3a0d4a=this[_0x5ede4a(0x12f)],_0xd786cc=_0x3a0d4a[_0x5ede4a(0x1b5)],_0x3684f9=_0x1fea1a[_0x5ede4a(0x261)](_0x2fb8a4,_0x2fb8a4+_0xd786cc);_0x3a0d4a[_0x5ede4a(0x2e6)](_0x1fea1a,_0x2fb8a4),_0xe058d2[_0x5ede4a(0x13e)](this,_0x1fea1a,_0x2fb8a4,_0xd786cc),this['_prevBlock']=_0x3684f9;}});function _0xe058d2(_0x58dbdb,_0x1412d3,_0x5762dc){var _0x591881=_0x4149d6,_0x5c29d7,_0x21f402=this[_0x591881(0x105)];_0x21f402?(_0x5c29d7=_0x21f402,this[_0x591881(0x105)]=_0x854ec1):_0x5c29d7=this[_0x591881(0x395)];for(var _0x1b17ab=0x0;_0x1b17ab<_0x5762dc;_0x1b17ab++)_0x58dbdb[_0x1412d3+_0x1b17ab]^=_0x5c29d7[_0x1b17ab];}return _0x5cbafd;}()),_0xb5a59e=_0xa0719[_0x310986(0x31a)]={},_0x167d6e=_0xb5a59e[_0x310986(0x414)]={'pad':function(_0x5415cc,_0x3ecd15){var _0x10a7b0=_0x310986;for(var _0x3babf6=_0x3ecd15*0x4,_0x10aff8=_0x3babf6-_0x5415cc[_0x10a7b0(0x220)]%_0x3babf6,_0x4a20d1=_0x10aff8<<0x18|_0x10aff8<<0x10|_0x10aff8<<0x8|_0x10aff8,_0x2bb80f=[],_0x4d4177=0x0;_0x4d4177<_0x10aff8;_0x4d4177+=0x4)_0x2bb80f[_0x10a7b0(0x2c1)](_0x4a20d1);var _0x5af738=_0x2907fc[_0x10a7b0(0x422)](_0x2bb80f,_0x10aff8);_0x5415cc[_0x10a7b0(0x43b)](_0x5af738);},'unpad':function(_0x37779d){var _0x2dc76b=_0x310986,_0x3275ca=_0x37779d['words'][_0x37779d[_0x2dc76b(0x220)]-0x1>>>0x2]&0xff;_0x37779d[_0x2dc76b(0x220)]-=_0x3275ca;}};_0x5e0be0[_0x310986(0x143)]=_0x2ce634['extend']({'cfg':_0x2ce634[_0x310986(0x3c1)][_0x310986(0x340)]({'mode':_0x3f07ec,'padding':_0x167d6e}),'reset':function(){var _0x4e9ce0=_0x310986,_0x11ae07;_0x2ce634[_0x4e9ce0(0x160)][_0x4e9ce0(0x13e)](this);var _0x3af91f=this[_0x4e9ce0(0x3c1)],_0x287b13=_0x3af91f['iv'],_0x3ef7a1=_0x3af91f['mode'];this[_0x4e9ce0(0x2e9)]==this[_0x4e9ce0(0xfd)]?_0x11ae07=_0x3ef7a1[_0x4e9ce0(0x2ac)]:(_0x11ae07=_0x3ef7a1['createDecryptor'],this[_0x4e9ce0(0x1e6)]=0x1),this[_0x4e9ce0(0x115)]&&this[_0x4e9ce0(0x115)]['__creator']==_0x11ae07?this[_0x4e9ce0(0x115)][_0x4e9ce0(0x354)](this,_0x287b13&&_0x287b13['words']):(this[_0x4e9ce0(0x115)]=_0x11ae07[_0x4e9ce0(0x13e)](_0x3ef7a1,this,_0x287b13&&_0x287b13[_0x4e9ce0(0x35b)]),this[_0x4e9ce0(0x115)][_0x4e9ce0(0x24b)]=_0x11ae07);},'_doProcessBlock':function(_0x228461,_0x450d00){var _0x6f32da=_0x310986;this[_0x6f32da(0x115)][_0x6f32da(0x114)](_0x228461,_0x450d00);},'_doFinalize':function(){var _0x37ccf8=_0x310986,_0xbe35ff,_0x12091d=this['cfg'][_0x37ccf8(0x22b)];return this[_0x37ccf8(0x2e9)]==this[_0x37ccf8(0xfd)]?(_0x12091d[_0x37ccf8(0x31a)](this[_0x37ccf8(0x281)],this[_0x37ccf8(0x1b5)]),_0xbe35ff=this[_0x37ccf8(0x3bf)](!0x0)):(_0xbe35ff=this[_0x37ccf8(0x3bf)](!0x0),_0x12091d[_0x37ccf8(0x19a)](_0xbe35ff)),_0xbe35ff;},'blockSize':0x80/0x20});var _0x381f20=_0x5e0be0[_0x310986(0x229)]=_0x61bf56[_0x310986(0x340)]({'init':function(_0xbe7a94){this['mixIn'](_0xbe7a94);},'toString':function(_0x5ee417){return(_0x5ee417||this['formatter'])['stringify'](this);}}),_0x506a30=_0xa0719[_0x310986(0x269)]={},_0x4284a2=_0x506a30[_0x310986(0x27f)]={'stringify':function(_0x1729c6){var _0x133cb0=_0x310986,_0x31dde8,_0x669619=_0x1729c6[_0x133cb0(0x248)],_0x290afe=_0x1729c6[_0x133cb0(0x391)];return _0x290afe?_0x31dde8=_0x2907fc[_0x133cb0(0x422)]([0x53616c74,0x65645f5f])[_0x133cb0(0x43b)](_0x290afe)[_0x133cb0(0x43b)](_0x669619):_0x31dde8=_0x669619,_0x31dde8[_0x133cb0(0xcf)](_0x15bfad);},'parse':function(_0x14779e){var _0x1fc41e=_0x310986,_0x2cbefa,_0x3ce80d=_0x15bfad['parse'](_0x14779e),_0x3ebc75=_0x3ce80d['words'];return _0x3ebc75[0x0]==0x53616c74&&_0x3ebc75[0x1]==0x65645f5f&&(_0x2cbefa=_0x2907fc[_0x1fc41e(0x422)](_0x3ebc75[_0x1fc41e(0x261)](0x2,0x4)),_0x3ebc75[_0x1fc41e(0x33a)](0x0,0x4),_0x3ce80d[_0x1fc41e(0x220)]-=0x10),_0x381f20[_0x1fc41e(0x422)]({'ciphertext':_0x3ce80d,'salt':_0x2cbefa});}},_0x526f07=_0x5e0be0[_0x310986(0x3aa)]=_0x61bf56['extend']({'cfg':_0x61bf56[_0x310986(0x340)]({'format':_0x4284a2}),'encrypt':function(_0x2c0dc1,_0x14dedd,_0x563af2,_0x26598e){var _0x55e141=_0x310986;_0x26598e=this[_0x55e141(0x3c1)][_0x55e141(0x340)](_0x26598e);var _0x3ba17e=_0x2c0dc1[_0x55e141(0x2ac)](_0x563af2,_0x26598e),_0x384a07=_0x3ba17e[_0x55e141(0x2da)](_0x14dedd),_0x55ed80=_0x3ba17e[_0x55e141(0x3c1)];return _0x381f20['create']({'ciphertext':_0x384a07,'key':_0x563af2,'iv':_0x55ed80['iv'],'algorithm':_0x2c0dc1,'mode':_0x55ed80[_0x55e141(0x2b2)],'padding':_0x55ed80['padding'],'blockSize':_0x2c0dc1['blockSize'],'formatter':_0x26598e['format']});},'decrypt':function(_0x3bd823,_0x133768,_0x355287,_0x5b0a2a){var _0x58b97d=_0x310986;_0x5b0a2a=this['cfg'][_0x58b97d(0x340)](_0x5b0a2a),_0x133768=this[_0x58b97d(0x377)](_0x133768,_0x5b0a2a[_0x58b97d(0x269)]);var _0x437778=_0x3bd823[_0x58b97d(0x409)](_0x355287,_0x5b0a2a)['finalize'](_0x133768[_0x58b97d(0x248)]);return _0x437778;},'_parse':function(_0x3b0e69,_0x526493){var _0x19a13d=_0x310986;return typeof _0x3b0e69==_0x19a13d(0x1cb)?_0x526493[_0x19a13d(0x133)](_0x3b0e69,this):_0x3b0e69;}}),_0x1c59d3=_0xa0719['kdf']={},_0x2d0408=_0x1c59d3['OpenSSL']={'execute':function(_0x5740d3,_0x4b1246,_0x30483e,_0x270b46,_0x225740){var _0x487061=_0x310986;if(_0x270b46||(_0x270b46=_0x2907fc[_0x487061(0x2cf)](0x40/0x8)),_0x225740)var _0x25776d=_0x254400[_0x487061(0x422)]({'keySize':_0x4b1246+_0x30483e,'hasher':_0x225740})[_0x487061(0x3d1)](_0x5740d3,_0x270b46);else var _0x25776d=_0x254400[_0x487061(0x422)]({'keySize':_0x4b1246+_0x30483e})[_0x487061(0x3d1)](_0x5740d3,_0x270b46);var _0x3b3a81=_0x2907fc['create'](_0x25776d[_0x487061(0x35b)][_0x487061(0x261)](_0x4b1246),_0x30483e*0x4);return _0x25776d[_0x487061(0x220)]=_0x4b1246*0x4,_0x381f20[_0x487061(0x422)]({'key':_0x25776d,'iv':_0x3b3a81,'salt':_0x270b46});}},_0x39fbf0=_0x5e0be0[_0x310986(0x334)]=_0x526f07[_0x310986(0x340)]({'cfg':_0x526f07[_0x310986(0x3c1)][_0x310986(0x340)]({'kdf':_0x2d0408}),'encrypt':function(_0xe283ad,_0x2ea369,_0x596fa7,_0x4e313f){var _0x254496=_0x310986;_0x4e313f=this['cfg'][_0x254496(0x340)](_0x4e313f);var _0x2fef25=_0x4e313f[_0x254496(0x3c4)][_0x254496(0x3e7)](_0x596fa7,_0xe283ad[_0x254496(0x16b)],_0xe283ad[_0x254496(0x25b)],_0x4e313f[_0x254496(0x391)],_0x4e313f[_0x254496(0x353)]);_0x4e313f['iv']=_0x2fef25['iv'];var _0x4397db=_0x526f07['encrypt']['call'](this,_0xe283ad,_0x2ea369,_0x2fef25[_0x254496(0x134)],_0x4e313f);return _0x4397db[_0x254496(0x20f)](_0x2fef25),_0x4397db;},'decrypt':function(_0x396fc8,_0x5c843e,_0x3e663f,_0x402935){var _0x1dae22=_0x310986;_0x402935=this['cfg'][_0x1dae22(0x340)](_0x402935),_0x5c843e=this['_parse'](_0x5c843e,_0x402935['format']);var _0x4e0d95=_0x402935[_0x1dae22(0x3c4)]['execute'](_0x3e663f,_0x396fc8[_0x1dae22(0x16b)],_0x396fc8[_0x1dae22(0x25b)],_0x5c843e[_0x1dae22(0x391)],_0x402935[_0x1dae22(0x353)]);_0x402935['iv']=_0x4e0d95['iv'];var _0x4f7f11=_0x526f07['decrypt'][_0x1dae22(0x13e)](this,_0x396fc8,_0x5c843e,_0x4e0d95[_0x1dae22(0x134)],_0x402935);return _0x4f7f11;}});}();}));}(Ce)),Ce['exports'];}var Ui=Ie[_0x4e146c(0xd8)],tt;function Ai(){var _0x39b8be=_0x4e146c;return tt||(tt=0x1,function(_0x5277a4,_0x3cfdd4){(function(_0x1363f8,_0x3b6cfd,_0x198b00){var _0x2d15eb=_0x541a;_0x5277a4[_0x2d15eb(0xd8)]=_0x3b6cfd(Z(),gt(),Ci(),Tt(),Ct());}(Ui,function(_0x5ad6cc){var _0x7440ac=_0x541a;return(function(){var _0x39bf77=_0x541a,_0x696d11=_0x5ad6cc,_0x31235a=_0x696d11[_0x39bf77(0xf3)],_0x499fd7=_0x31235a[_0x39bf77(0x143)],_0x13b133=_0x696d11[_0x39bf77(0x297)],_0x355ca1=[],_0x21a472=[],_0x14cf1f=[],_0x5bd8c4=[],_0x535981=[],_0xb8a79f=[],_0x32b231=[],_0x591bdc=[],_0x4d2a82=[],_0x31ddc4=[];(function(){for(var _0x25d47d=[],_0x172e7c=0x0;_0x172e7c<0x100;_0x172e7c++)_0x172e7c<0x80?_0x25d47d[_0x172e7c]=_0x172e7c<<0x1:_0x25d47d[_0x172e7c]=_0x172e7c<<0x1^0x11b;for(var _0x39b2d5=0x0,_0x3c614e=0x0,_0x172e7c=0x0;_0x172e7c<0x100;_0x172e7c++){var _0x5a2cca=_0x3c614e^_0x3c614e<<0x1^_0x3c614e<<0x2^_0x3c614e<<0x3^_0x3c614e<<0x4;_0x5a2cca=_0x5a2cca>>>0x8^_0x5a2cca&0xff^0x63,_0x355ca1[_0x39b2d5]=_0x5a2cca,_0x21a472[_0x5a2cca]=_0x39b2d5;var _0x24163f=_0x25d47d[_0x39b2d5],_0x28165c=_0x25d47d[_0x24163f],_0x494372=_0x25d47d[_0x28165c],_0x338c72=_0x25d47d[_0x5a2cca]*0x101^_0x5a2cca*0x1010100;_0x14cf1f[_0x39b2d5]=_0x338c72<<0x18|_0x338c72>>>0x8,_0x5bd8c4[_0x39b2d5]=_0x338c72<<0x10|_0x338c72>>>0x10,_0x535981[_0x39b2d5]=_0x338c72<<0x8|_0x338c72>>>0x18,_0xb8a79f[_0x39b2d5]=_0x338c72;var _0x338c72=_0x494372*0x1010101^_0x28165c*0x10001^_0x24163f*0x101^_0x39b2d5*0x1010100;_0x32b231[_0x5a2cca]=_0x338c72<<0x18|_0x338c72>>>0x8,_0x591bdc[_0x5a2cca]=_0x338c72<<0x10|_0x338c72>>>0x10,_0x4d2a82[_0x5a2cca]=_0x338c72<<0x8|_0x338c72>>>0x18,_0x31ddc4[_0x5a2cca]=_0x338c72,_0x39b2d5?(_0x39b2d5=_0x24163f^_0x25d47d[_0x25d47d[_0x25d47d[_0x494372^_0x24163f]]],_0x3c614e^=_0x25d47d[_0x25d47d[_0x3c614e]]):_0x39b2d5=_0x3c614e=0x1;}}());var _0x2703fa=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x42fee9=_0x13b133[_0x39bf77(0x32e)]=_0x499fd7[_0x39bf77(0x340)]({'_doReset':function(){var _0x23c57f=_0x39bf77,_0x6052e;if(!(this[_0x23c57f(0x333)]&&this['_keyPriorReset']===this['_key'])){for(var _0x15398a=this[_0x23c57f(0x1fb)]=this[_0x23c57f(0x19d)],_0x77be7c=_0x15398a[_0x23c57f(0x35b)],_0x4b69d3=_0x15398a['sigBytes']/0x4,_0x1a2330=this['_nRounds']=_0x4b69d3+0x6,_0x163932=(_0x1a2330+0x1)*0x4,_0x15c460=this['_keySchedule']=[],_0x3b76ef=0x0;_0x3b76ef<_0x163932;_0x3b76ef++)_0x3b76ef<_0x4b69d3?_0x15c460[_0x3b76ef]=_0x77be7c[_0x3b76ef]:(_0x6052e=_0x15c460[_0x3b76ef-0x1],_0x3b76ef%_0x4b69d3?_0x4b69d3>0x6&&_0x3b76ef%_0x4b69d3==0x4&&(_0x6052e=_0x355ca1[_0x6052e>>>0x18]<<0x18|_0x355ca1[_0x6052e>>>0x10&0xff]<<0x10|_0x355ca1[_0x6052e>>>0x8&0xff]<<0x8|_0x355ca1[_0x6052e&0xff]):(_0x6052e=_0x6052e<<0x8|_0x6052e>>>0x18,_0x6052e=_0x355ca1[_0x6052e>>>0x18]<<0x18|_0x355ca1[_0x6052e>>>0x10&0xff]<<0x10|_0x355ca1[_0x6052e>>>0x8&0xff]<<0x8|_0x355ca1[_0x6052e&0xff],_0x6052e^=_0x2703fa[_0x3b76ef/_0x4b69d3|0x0]<<0x18),_0x15c460[_0x3b76ef]=_0x15c460[_0x3b76ef-_0x4b69d3]^_0x6052e);for(var _0x42705f=this[_0x23c57f(0x273)]=[],_0x2949b2=0x0;_0x2949b2<_0x163932;_0x2949b2++){var _0x3b76ef=_0x163932-_0x2949b2;if(_0x2949b2%0x4)var _0x6052e=_0x15c460[_0x3b76ef];else var _0x6052e=_0x15c460[_0x3b76ef-0x4];_0x2949b2<0x4||_0x3b76ef<=0x4?_0x42705f[_0x2949b2]=_0x6052e:_0x42705f[_0x2949b2]=_0x32b231[_0x355ca1[_0x6052e>>>0x18]]^_0x591bdc[_0x355ca1[_0x6052e>>>0x10&0xff]]^_0x4d2a82[_0x355ca1[_0x6052e>>>0x8&0xff]]^_0x31ddc4[_0x355ca1[_0x6052e&0xff]];}}},'encryptBlock':function(_0x4173d5,_0x4d044f){var _0xd0774c=_0x39bf77;this['_doCryptBlock'](_0x4173d5,_0x4d044f,this[_0xd0774c(0x204)],_0x14cf1f,_0x5bd8c4,_0x535981,_0xb8a79f,_0x355ca1);},'decryptBlock':function(_0x32b715,_0x2b11f9){var _0x3284d6=_0x39bf77,_0x1d5467=_0x32b715[_0x2b11f9+0x1];_0x32b715[_0x2b11f9+0x1]=_0x32b715[_0x2b11f9+0x3],_0x32b715[_0x2b11f9+0x3]=_0x1d5467,this[_0x3284d6(0x3d3)](_0x32b715,_0x2b11f9,this[_0x3284d6(0x273)],_0x32b231,_0x591bdc,_0x4d2a82,_0x31ddc4,_0x21a472);var _0x1d5467=_0x32b715[_0x2b11f9+0x1];_0x32b715[_0x2b11f9+0x1]=_0x32b715[_0x2b11f9+0x3],_0x32b715[_0x2b11f9+0x3]=_0x1d5467;},'_doCryptBlock':function(_0x3c9c3a,_0x50b8b7,_0x2e5772,_0x3465ad,_0x13ea21,_0x4a81c1,_0x549cec,_0x36940c){var _0x345f1a=_0x39bf77;for(var _0x4186a7=this[_0x345f1a(0x333)],_0x1c12db=_0x3c9c3a[_0x50b8b7]^_0x2e5772[0x0],_0x2b7e12=_0x3c9c3a[_0x50b8b7+0x1]^_0x2e5772[0x1],_0xb37919=_0x3c9c3a[_0x50b8b7+0x2]^_0x2e5772[0x2],_0x52df71=_0x3c9c3a[_0x50b8b7+0x3]^_0x2e5772[0x3],_0x17a029=0x4,_0x529a55=0x1;_0x529a55<_0x4186a7;_0x529a55++){var _0x4c2922=_0x3465ad[_0x1c12db>>>0x18]^_0x13ea21[_0x2b7e12>>>0x10&0xff]^_0x4a81c1[_0xb37919>>>0x8&0xff]^_0x549cec[_0x52df71&0xff]^_0x2e5772[_0x17a029++],_0x246693=_0x3465ad[_0x2b7e12>>>0x18]^_0x13ea21[_0xb37919>>>0x10&0xff]^_0x4a81c1[_0x52df71>>>0x8&0xff]^_0x549cec[_0x1c12db&0xff]^_0x2e5772[_0x17a029++],_0x447ac7=_0x3465ad[_0xb37919>>>0x18]^_0x13ea21[_0x52df71>>>0x10&0xff]^_0x4a81c1[_0x1c12db>>>0x8&0xff]^_0x549cec[_0x2b7e12&0xff]^_0x2e5772[_0x17a029++],_0x5d03fc=_0x3465ad[_0x52df71>>>0x18]^_0x13ea21[_0x1c12db>>>0x10&0xff]^_0x4a81c1[_0x2b7e12>>>0x8&0xff]^_0x549cec[_0xb37919&0xff]^_0x2e5772[_0x17a029++];_0x1c12db=_0x4c2922,_0x2b7e12=_0x246693,_0xb37919=_0x447ac7,_0x52df71=_0x5d03fc;}var _0x4c2922=(_0x36940c[_0x1c12db>>>0x18]<<0x18|_0x36940c[_0x2b7e12>>>0x10&0xff]<<0x10|_0x36940c[_0xb37919>>>0x8&0xff]<<0x8|_0x36940c[_0x52df71&0xff])^_0x2e5772[_0x17a029++],_0x246693=(_0x36940c[_0x2b7e12>>>0x18]<<0x18|_0x36940c[_0xb37919>>>0x10&0xff]<<0x10|_0x36940c[_0x52df71>>>0x8&0xff]<<0x8|_0x36940c[_0x1c12db&0xff])^_0x2e5772[_0x17a029++],_0x447ac7=(_0x36940c[_0xb37919>>>0x18]<<0x18|_0x36940c[_0x52df71>>>0x10&0xff]<<0x10|_0x36940c[_0x1c12db>>>0x8&0xff]<<0x8|_0x36940c[_0x2b7e12&0xff])^_0x2e5772[_0x17a029++],_0x5d03fc=(_0x36940c[_0x52df71>>>0x18]<<0x18|_0x36940c[_0x1c12db>>>0x10&0xff]<<0x10|_0x36940c[_0x2b7e12>>>0x8&0xff]<<0x8|_0x36940c[_0xb37919&0xff])^_0x2e5772[_0x17a029++];_0x3c9c3a[_0x50b8b7]=_0x4c2922,_0x3c9c3a[_0x50b8b7+0x1]=_0x246693,_0x3c9c3a[_0x50b8b7+0x2]=_0x447ac7,_0x3c9c3a[_0x50b8b7+0x3]=_0x5d03fc;},'keySize':0x100/0x20});_0x696d11['AES']=_0x499fd7[_0x39bf77(0xd1)](_0x42fee9);}()),_0x5ad6cc[_0x7440ac(0x32e)];}));}(Ie)),Ie[_0x39b8be(0xd8)];}var Pi=Ai();const Li=de(Pi);var Mi=gt();const it=de(Mi);var be={'exports':{}},wi=be[_0x4e146c(0xd8)],nt;function xi(){return nt||(nt=0x1,function(_0x366ad4,_0x5d68be){(function(_0x170fa7,_0x310d6e){_0x366ad4['exports']=_0x310d6e(Z());}(wi,function(_0x3f0a16){var _0x35f176=_0x541a;return _0x3f0a16[_0x35f176(0xec)][_0x35f176(0x19c)];}));}(be)),be['exports'];}var ki=xi();const Hi=de(ki);var Oe={'exports':{}},$i=Oe[_0x4e146c(0xd8)],st;function ji(){var _0xd3b490=_0x4e146c;return st||(st=0x1,function(_0x54463f,_0x21ccca){(function(_0x58b885,_0x3a2347){_0x54463f['exports']=_0x3a2347(Z());}($i,function(_0x4ab23a){var _0x393140=_0x541a;return(function(){var _0x74b8e6=_0x541a;if(typeof ArrayBuffer==_0x74b8e6(0x231)){var _0x8e566b=_0x4ab23a,_0x2838bc=_0x8e566b['lib'],_0xb080fa=_0x2838bc[_0x74b8e6(0x396)],_0x136f57=_0xb080fa[_0x74b8e6(0x354)],_0x565e31=_0xb080fa[_0x74b8e6(0x354)]=function(_0xf0b32e){var _0x241fae=_0x74b8e6;if(_0xf0b32e instanceof ArrayBuffer&&(_0xf0b32e=new Uint8Array(_0xf0b32e)),(_0xf0b32e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf0b32e instanceof Uint8ClampedArray||_0xf0b32e instanceof Int16Array||_0xf0b32e instanceof Uint16Array||_0xf0b32e instanceof Int32Array||_0xf0b32e instanceof Uint32Array||_0xf0b32e instanceof Float32Array||_0xf0b32e instanceof Float64Array)&&(_0xf0b32e=new Uint8Array(_0xf0b32e[_0x241fae(0x21e)],_0xf0b32e['byteOffset'],_0xf0b32e['byteLength'])),_0xf0b32e instanceof Uint8Array){for(var _0x1e66bc=_0xf0b32e[_0x241fae(0x13d)],_0x1d305e=[],_0x2d78dd=0x0;_0x2d78dd<_0x1e66bc;_0x2d78dd++)_0x1d305e[_0x2d78dd>>>0x2]|=_0xf0b32e[_0x2d78dd]<<0x18-_0x2d78dd%0x4*0x8;_0x136f57[_0x241fae(0x13e)](this,_0x1d305e,_0x1e66bc);}else _0x136f57[_0x241fae(0x189)](this,arguments);};_0x565e31['prototype']=_0xb080fa;}}()),_0x4ab23a[_0x393140(0xf3)][_0x393140(0x396)];}));}(Oe)),Oe[_0xd3b490(0xd8)];}var Bi=ji();const Fi=de(Bi);var Re={'exports':{}},Vi=Re[_0x4e146c(0xd8)],rt;function Wi(){var _0x17c9a0=_0x4e146c;return rt||(rt=0x1,function(_0x81159f,_0x52b24a){(function(_0x535bf4,_0x58b49b,_0x4e25b3){var _0xe82ee6=_0x541a;_0x81159f[_0xe82ee6(0xd8)]=_0x58b49b(Z(),Ct());}(Vi,function(_0x5b39cc){var _0x2f8949=_0x541a;return _0x5b39cc['pad'][_0x2f8949(0x3a5)]={'pad':function(){},'unpad':function(){}},_0x5b39cc[_0x2f8949(0x31a)][_0x2f8949(0x3a5)];}));}(Re)),Re[_0x17c9a0(0xd8)];}var Gi=Wi();const Yi=de(Gi);function Ki(_0x2692b8,_0x1d6b38){var _0x38dece=_0x4e146c;const _0x47fe67=_0x1d6b38-_0x2692b8[_0x38dece(0x276)]%_0x1d6b38,_0x16f2c6=String['fromCharCode'](_0x47fe67)[_0x38dece(0x1ce)](_0x47fe67);return _0x2692b8+_0x16f2c6;}function qi(_0x237d6a,_0x4419d4){var _0x4298b5=_0x4e146c;const _0x58c49d=Fi[_0x4298b5(0x2cf)](0x10),_0x28b603=Ki(_0x237d6a,0x10),_0x1c9c17=Li[_0x4298b5(0xca)](Hi[_0x4298b5(0x133)](_0x28b603),it['parse'](_0x4419d4),{'iv':_0x58c49d,'padding':Yi});return _0x58c49d[_0x4298b5(0x43b)](_0x1c9c17[_0x4298b5(0x248)])[_0x4298b5(0xcf)](it);}function zi(){var _0x1cdb58=_0x4e146c;const _0x2488d2=Nt[_0x1cdb58(0xc9)]()[_0x1cdb58(0x2f0)];if(_0x2488d2){const _0x5023a1={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x1cdb58(0x135)]};return qi(JSON[_0x1cdb58(0x1ba)](_0x5023a1),_0x2488d2);}}var Xi=Object[_0x4e146c(0x374)],Ji=(_0xea2a5f,_0xbd233f,_0x2b7089,_0x23c17b)=>{var _0x14a28f=_0x4e146c;for(var _0x1e0d76=_0x23c17b>0x1?void 0x0:_0x23c17b?Xi(_0xbd233f,_0x2b7089):_0xbd233f,_0x49cedd=_0xea2a5f[_0x14a28f(0x276)]-0x1,_0x504d61;_0x49cedd>=0x0;_0x49cedd--)(_0x504d61=_0xea2a5f[_0x49cedd])&&(_0x1e0d76=_0x504d61(_0x1e0d76)||_0x1e0d76);return _0x1e0d76;},Zi=(_0x5e8205,_0x4f0d77)=>(_0xd08f2c,_0x1a7a35)=>_0x4f0d77(_0xd08f2c,_0x1a7a35,_0x5e8205);let De=class{constructor(_0x1e9342){var _0x157d3f=_0x4e146c;this['_httpService']=_0x1e9342,this[_0x157d3f(0x1fe)]();}[_0x4e146c(0x1fe)](){var _0x5674cf=_0x4e146c;this[_0x5674cf(0x40a)][_0x5674cf(0x2ce)]({'interceptor':(_0x158a31,_0x20aaaf)=>{var _0xedcb6b=_0x5674cf;const _0x4365ce=_0x158a31['headers'],_0x401e09=zi();return _0x401e09&&_0x4365ce[_0xedcb6b(0x3b5)](_0xedcb6b(0x283),_0x401e09),_0x20aaaf(_0x158a31);}});}};De=Ji([Zi(0x0,o[_0x4e146c(0xd7)](K['HTTPService']))],De);var Qi=Object['getOwnPropertyDescriptor'],en=(_0x3a0605,_0x427ec4,_0x25e5fe,_0x33e02a)=>{var _0xa49f4=_0x4e146c;for(var _0x4b0307=_0x33e02a>0x1?void 0x0:_0x33e02a?Qi(_0x427ec4,_0x25e5fe):_0x427ec4,_0x278239=_0x3a0605[_0xa49f4(0x276)]-0x1,_0xfe3313;_0x278239>=0x0;_0x278239--)(_0xfe3313=_0x3a0605[_0x278239])&&(_0x4b0307=_0xfe3313(_0x4b0307)||_0x4b0307);return _0x4b0307;},Le=(_0x5a8e1a,_0x5e9a6c)=>(_0x7711,_0x228001)=>_0x5e9a6c(_0x7711,_0x228001,_0x5a8e1a);exports[_0x4e146c(0x123)]=class extends o[_0x4e146c(0x191)]{constructor(_0x2548af,_0x15d0ee,_0x4855e9){var _0x1c2234=_0x4e146c;super(),A(this,_0x1c2234(0x3f0),new j[(_0x1c2234(0x3e1))](null)),A(this,'unitInfo$',this[_0x1c2234(0x3f0)][_0x1c2234(0x296)]()),(this[_0x1c2234(0x3d5)]=_0x2548af,this[_0x1c2234(0x169)]=_0x15d0ee,this[_0x1c2234(0x271)]=_0x4855e9);}async[_0x4e146c(0xd6)](_0x453e55,_0x4277f3,_0x293b45){var _0x3770e0=_0x4e146c;this[_0x3770e0(0x3f0)][_0x3770e0(0xd2)]({'unitId':_0x453e55,'type':_0x4277f3});let _0x12e0a1=null;switch(_0x4277f3){case X['UNIVER_SHEET']:{_0x12e0a1=await this[_0x3770e0(0x169)]['loadSheet'](_0x453e55,_0x293b45);break;}case X[_0x3770e0(0x26a)]:{_0x12e0a1=await this['_snapshotService'][_0x3770e0(0x178)](_0x453e55,_0x293b45);break;}default:{this[_0x3770e0(0x3d5)][_0x3770e0(0x259)](_0x3770e0(0x41d),_0x3770e0(0x3cd));break;}}return _0x12e0a1;}async[_0x4e146c(0xd4)](_0x4a1da1,_0x39a573,_0x73d37a){var _0x44e60a=_0x4e146c,_0x942d8e;this[_0x44e60a(0x3f0)][_0x44e60a(0xd2)]({'unitId':_0x4a1da1,'type':_0x39a573,'subUnitId':_0x73d37a});let _0x55763c=0x0;const _0x2fb985=await((_0x942d8e=this['_localCacheService'])==null?void 0x0:_0x942d8e['loadOfflineData'](_0x4a1da1));return _0x2fb985&&(_0x2fb985[_0x44e60a(0x418)]||_0x2fb985[_0x44e60a(0x14f)][_0x44e60a(0x276)]!==0x0)&&(_0x55763c=_0x2fb985[_0x44e60a(0x36a)]),_0x55763c===0x0&&this[_0x44e60a(0x3d5)]['debug'](_0x44e60a(0x41d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x44e60a(0xd6)](_0x4a1da1,_0x39a573,_0x55763c);}},exports[_0x4e146c(0x123)]=en([Le(0x0,o[_0x4e146c(0x428)]),Le(0x1,o[_0x4e146c(0xd7)](E[_0x4e146c(0x25c)])),Le(0x2,o[_0x4e146c(0x1a4)](q))],exports[_0x4e146c(0x123)]);var tn=Object[_0x4e146c(0x374)],nn=(_0x60b446,_0x1348bf,_0x4742e9,_0x34bf76)=>{var _0x2d840e=_0x4e146c;for(var _0x32ac8f=_0x34bf76>0x1?void 0x0:_0x34bf76?tn(_0x1348bf,_0x4742e9):_0x1348bf,_0x2df8bc=_0x60b446[_0x2d840e(0x276)]-0x1,_0x5ad590;_0x2df8bc>=0x0;_0x2df8bc--)(_0x5ad590=_0x60b446[_0x2df8bc])&&(_0x32ac8f=_0x5ad590(_0x32ac8f)||_0x32ac8f);return _0x32ac8f;},Me=(_0x69c5c3,_0x1196e1)=>(_0x37076a,_0x2ead52)=>_0x1196e1(_0x37076a,_0x2ead52,_0x69c5c3);const sn=[_0x4e146c(0x321),_0x4e146c(0x342),_0x4e146c(0x292),_0x4e146c(0x226),_0x4e146c(0x349)],rn=0x5*0x400*0x400,an='/universer-api/stream/file/upload',on='/universer-api/file/{fileID}/sign-url';exports[_0x4e146c(0x218)]=class{constructor(_0x19d63f,_0x3ba069,_0x27e72d){var _0x2a4c26=_0x4e146c;A(this,_0x2a4c26(0x298),0x0),A(this,'_change$',new j[(_0x2a4c26(0x166))]()),A(this,_0x2a4c26(0x37e),this[_0x2a4c26(0x385)]),A(this,'_imageSourceCache',new Map()),(this[_0x2a4c26(0x40a)]=_0x19d63f,this[_0x2a4c26(0xe6)]=_0x3ba069,this[_0x2a4c26(0x206)]=_0x27e72d);}['setWaitCount'](_0x36477f){var _0x4ac81a=_0x4e146c;this[_0x4ac81a(0x298)]=_0x36477f,this[_0x4ac81a(0x385)]['next'](_0x36477f);}[_0x4e146c(0x426)](_0x267552,_0x1857aa){var _0x1323c5=_0x4e146c;if(_0x1857aa===z[_0x1323c5(0x2a1)][_0x1323c5(0x1e0)]){const _0x5dce3a=new Image();return _0x5dce3a[_0x1323c5(0x157)]=_0x267552,_0x5dce3a;}return this['_imageSourceCache']['get'](_0x267552);}['addImageSourceCache'](_0x647073,_0x3a9d37,_0x56c30c){var _0x1e7a72=_0x4e146c;_0x3a9d37===z['ImageSourceType'][_0x1e7a72(0x1e0)]||_0x56c30c==null||this['_imageSourceCache'][_0x1e7a72(0x3b5)](_0x647073,_0x56c30c);}async['getImage'](_0x15668){var _0x532ddb=_0x4e146c;try{const _0x34ad6b=this[_0x532ddb(0x23c)](this[_0x532ddb(0x31c)](),''+_0x15668),_0x542a87=(await this[_0x532ddb(0x40a)][_0x532ddb(0x38b)](_0x34ad6b))[_0x532ddb(0x3c8)];if(_0x542a87[_0x532ddb(0x259)]&&_0x542a87['error'][_0x532ddb(0x33b)]===vt['OK']){const _0x375eb3=new URL(_0x542a87['url'],this[_0x532ddb(0x16f)]())[_0x532ddb(0xcf)]();return Promise[_0x532ddb(0x267)](_0x375eb3);}return Promise[_0x532ddb(0x1bd)](_0x542a87['error']);}catch(_0x17df66){return Promise[_0x532ddb(0x1bd)](_0x17df66);}}async['saveImage'](_0xd8b738){var _0x5b6f4d=_0x4e146c;let _0x113a77='';if(!sn['includes'](_0xd8b738['type']))return this['_decreaseWaiting'](),Promise[_0x5b6f4d(0x1bd)](new Error(z[_0x5b6f4d(0x2b0)][_0x5b6f4d(0x2d2)]));if(_0xd8b738['size']>rn)return this[_0x5b6f4d(0x2a4)](),Promise['reject'](new Error(z[_0x5b6f4d(0x2b0)]['ERROR_EXCEED_SIZE']));try{const _0xbde511=new FormData();_0xbde511[_0x5b6f4d(0x315)]('file',_0xd8b738);const _0x4b6539=this[_0x5b6f4d(0x206)][_0x5b6f4d(0x2a7)](),_0x3b0cef=_0x4b6539==null?void 0x0:_0x4b6539[_0x5b6f4d(0xf9)]();if(!_0x3b0cef)throw new Error(_0x5b6f4d(0x181));const _0x344318=this[_0x5b6f4d(0x242)]()+_0x5b6f4d(0x3c2)+_0xd8b738[_0x5b6f4d(0x1d0)][_0x5b6f4d(0xcf)]()+_0x5b6f4d(0x3dd)+dt[_0x5b6f4d(0x357)]+_0x5b6f4d(0x1e1)+encodeURIComponent(_0x3b0cef),_0x1ad52c={'body':_0xbde511},_0x10100f=(await this[_0x5b6f4d(0x40a)][_0x5b6f4d(0x24a)](_0x344318,_0x1ad52c))[_0x5b6f4d(0x3c8)];if(typeof _0x10100f[_0x5b6f4d(0x290)]!=_0x5b6f4d(0x1cb))return this['_decreaseWaiting'](),Promise[_0x5b6f4d(0x1bd)](new Error(z['ImageUploadStatusType'][_0x5b6f4d(0x154)]));_0x113a77=_0x10100f['FileId'];}catch{return this[_0x5b6f4d(0x2a4)](),Promise[_0x5b6f4d(0x1bd)](new Error(z['ImageUploadStatusType'][_0x5b6f4d(0x154)]));}return new Promise((_0x1d43bd,_0x2c27ff)=>{var _0x4f14c6=_0x5b6f4d;const _0x30d8d1=new FileReader();_0x30d8d1[_0x4f14c6(0x284)](_0xd8b738),_0x30d8d1[_0x4f14c6(0x40d)]=_0x9c6d2b=>{var _0x521eed=_0x4f14c6,_0x20a3c6;const _0x4b0dbf=(_0x20a3c6=_0x9c6d2b['target'])==null?void 0x0:_0x20a3c6[_0x521eed(0x1fa)];if(_0x4b0dbf==null){this[_0x521eed(0x2a4)](),_0x2c27ff(new Error(z[_0x521eed(0x2b0)]['ERROR_IMAGE']));return;}const _0x57757d=o[_0x521eed(0x17d)](0x6);_0x1d43bd({'imageId':_0x57757d,'imageSourceType':z[_0x521eed(0x2a1)][_0x521eed(0x2aa)],'source':_0x113a77,'base64Cache':_0x4b0dbf,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x521eed(0x2a4)]();};});}[_0x4e146c(0x242)](){var _0x51cb47=_0x4e146c,_0x56be20;const _0x16ae31=this[_0x51cb47(0xe6)][_0x51cb47(0x382)](Y);return(_0x56be20=_0x16ae31==null?void 0x0:_0x16ae31['uploadFileServerUrl'])!=null?_0x56be20:an;}['_getSignURL'](){var _0x3b5bd4=_0x4e146c,_0x43b57d;const _0x486277=this[_0x3b5bd4(0xe6)][_0x3b5bd4(0x382)](Y);return(_0x43b57d=_0x486277==null?void 0x0:_0x486277[_0x3b5bd4(0x432)])!=null?_0x43b57d:on;}['_getDownloadEndpointURL'](){var _0x19005b=_0x4e146c,_0x5370d2;const _0xc37e8d=this[_0x19005b(0xe6)][_0x19005b(0x382)](Y);return(_0x5370d2=_0xc37e8d==null?void 0x0:_0xc37e8d[_0x19005b(0x21d)])!=null?_0x5370d2:location[_0x19005b(0x111)];}[_0x4e146c(0x23c)](_0x2b0919,_0x44c6d7){var _0x7000d1=_0x4e146c;return _0x2b0919['replace'](_0x7000d1(0x30f),_0x44c6d7);}['_decreaseWaiting'](){var _0x490a6d=_0x4e146c;this['_waitCount']-=0x1,this[_0x490a6d(0x385)][_0x490a6d(0xd2)](this[_0x490a6d(0x298)]);}},exports[_0x4e146c(0x218)]=nn([Me(0x0,o[_0x4e146c(0xd7)](K[_0x4e146c(0x17b)])),Me(0x1,o[_0x4e146c(0x1ec)]),Me(0x2,o[_0x4e146c(0xd7)](o[_0x4e146c(0x401)]))],exports[_0x4e146c(0x218)]);var cn=Object[_0x4e146c(0x374)],hn=(_0x5ce454,_0x17c1a0,_0xc6d2a5,_0x549319)=>{for(var _0x2b9484=_0x549319>0x1?void 0x0:_0x549319?cn(_0x17c1a0,_0xc6d2a5):_0x17c1a0,_0xcccd3c=_0x5ce454['length']-0x1,_0x5a28d0;_0xcccd3c>=0x0;_0xcccd3c--)(_0x5a28d0=_0x5ce454[_0xcccd3c])&&(_0x2b9484=_0x5a28d0(_0x2b9484)||_0x2b9484);return _0x2b9484;},at=(_0x25a82e,_0x519a42)=>(_0x52fe49,_0x59aa31)=>_0x519a42(_0x52fe49,_0x59aa31,_0x25a82e);const _n=_0x4e146c(0xcc);exports['MentionIoHttpService']=class{constructor(_0x21f8f7,_0x1dfa4d){var _0x5ef0d7=_0x4e146c;this[_0x5ef0d7(0xe6)]=_0x21f8f7,this[_0x5ef0d7(0x30d)]=_0x1dfa4d;}['_getAPIPrefixPath'](){var _0x5c4295=_0x4e146c,_0x1e1db3;const _0x5b9f7f=this[_0x5c4295(0xe6)][_0x5c4295(0x382)](Y);return(_0x1e1db3=_0x5b9f7f==null?void 0x0:_0x5b9f7f[_0x5c4295(0x433)])!=null?_0x1e1db3:_n;}async['list'](_0xe407c6){var _0x227626=_0x4e146c;const _0x5e8445=this[_0x227626(0x368)]()+'/collaborator';return{'list':[{'title':_0x227626(0xde),'mentions':(await this[_0x227626(0x30d)][_0x227626(0x38b)](_0x5e8445,{'params':{'objectID':_0xe407c6[_0x227626(0xf7)],'unitID':_0xe407c6[_0x227626(0xf7)]}}))['body'][_0x227626(0xee)]['map'](_0x5cf8ef=>({'objectId':_0x5cf8ef['id'],'name':_0x5cf8ef[_0x227626(0x384)]['name'],'metadata':{'icon':_0x5cf8ef[_0x227626(0x384)]['avatar']},'label':_0x5cf8ef[_0x227626(0x384)][_0x227626(0x338)],'objectType':o['MentionType']['PERSON']})),'metadata':{},'type':o[_0x227626(0x172)]['PERSON']}]};}},exports['MentionIoHttpService']=hn([at(0x0,o['Inject'](o[_0x4e146c(0x1ec)])),at(0x1,o['Inject'](K[_0x4e146c(0x17b)]))],exports['MentionIoHttpService']);var ln=Object[_0x4e146c(0x374)],un=(_0x352363,_0x56883e,_0x1b89e1,_0x24220f)=>{for(var _0x24d291=_0x24220f>0x1?void 0x0:_0x24220f?ln(_0x56883e,_0x1b89e1):_0x56883e,_0x452d76=_0x352363['length']-0x1,_0x1712aa;_0x452d76>=0x0;_0x452d76--)(_0x1712aa=_0x352363[_0x452d76])&&(_0x24d291=_0x1712aa(_0x24d291)||_0x24d291);return _0x24d291;},le=(_0x440325,_0xbaa233)=>(_0x10198d,_0x2fbfe1)=>_0xbaa233(_0x10198d,_0x2fbfe1,_0x440325);let ye=class extends o['RxDisposable']{constructor(_0x335c5c,_0x1f79bf,_0xb897e2,_0x480743,_0x59536a){var _0x28e877=_0x4e146c;super(),this['_injector']=_0x335c5c,this['_univerInstanceService']=_0x1f79bf,this[_0x28e877(0x23b)]=_0xb897e2,this[_0x28e877(0xf1)]=_0x480743,this['_collaborationUIEventService']=_0x59536a,this[_0x28e877(0x104)](),this['_initCloseConn']();}[_0x4e146c(0x37c)](){var _0x1a8fd5=_0x4e146c;const _0x5a4972=async _0x4d2264=>{var _0x3e0177=_0x541a;(await this[_0x3e0177(0xf1)][_0x3e0177(0x37a)](_0x4d2264))['event$'][_0x3e0177(0x126)](V[_0x3e0177(0x12a)](_0x1c15bf=>_0x1c15bf[_0x3e0177(0x25d)]===E[_0x3e0177(0x2e5)]['SHOULD_CLOSE_CONN']),V[_0x3e0177(0x145)](this['dispose$']))['subscribe'](_0x592afa=>{var _0x490daa=_0x3e0177;const _0x5671ad=_0x592afa,{reason:_0x18328a}=_0x5671ad['data'];this['_collaborationUIEventService']['emitEvent']({'id':J[_0x490daa(0x2ad)],'data':_0x18328a}),this[_0x490daa(0x23b)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](_0x4d2264)['id'],!0x1),this['_collaborationSessionService'][_0x490daa(0x314)](_0x4d2264);});};j[_0x1a8fd5(0x295)](this[_0x1a8fd5(0x206)]['getTypeOfUnitAdded$'](o['UniverInstanceType'][_0x1a8fd5(0x40c)]),this['_univerInstanceService'][_0x1a8fd5(0x444)](o[_0x1a8fd5(0x102)][_0x1a8fd5(0x26a)]))[_0x1a8fd5(0x126)](V['map'](_0x575459=>_0x575459[_0x1a8fd5(0xf9)]()),V['filter'](_0xf84209=>!o[_0x1a8fd5(0x43d)](_0xf84209)),V['takeUntil'](this[_0x1a8fd5(0x15c)]))[_0x1a8fd5(0x34b)](_0xc605c4=>{_0x5a4972(_0xc605c4);});}[_0x4e146c(0x104)](){var _0x1e7f3f=_0x4e146c;const _0x243aff=async _0x5d2858=>{var _0x18c2d3=_0x541a;const _0x404197=await this[_0x18c2d3(0xf1)]['requireSession'](_0x5d2858),_0x4470a1=this[_0x18c2d3(0x2ee)][_0x18c2d3(0x38b)](Q[_0x18c2d3(0xd3)]);_0x404197[_0x18c2d3(0x375)][_0x18c2d3(0x126)](V[_0x18c2d3(0x12a)](_0x2be314=>_0x2be314[_0x18c2d3(0x25d)]===E['CollaborationEvent'][_0x18c2d3(0x309)]),V[_0x18c2d3(0x145)](this[_0x18c2d3(0x15c)]))[_0x18c2d3(0x34b)](_0x18c86=>{var _0x3a998b=_0x18c2d3;const _0x3c08c1=_0x18c86,{objectId:_0x3e28ae}=_0x3c08c1[_0x3a998b(0x2b3)];_0x3e28ae===_0x5d2858?_0x4470a1['initWorkbookPermissionChange'](_0x5d2858):_0x4470a1[_0x3a998b(0x28d)](_0x5d2858,_0x3e28ae);});};j['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](o[_0x1e7f3f(0x102)][_0x1e7f3f(0x40c)]))[_0x1e7f3f(0x126)](V[_0x1e7f3f(0x3f6)](_0x4eea74=>_0x4eea74['getUnitId']()),V[_0x1e7f3f(0x12a)](_0x2c36bd=>!o[_0x1e7f3f(0x43d)](_0x2c36bd)),V[_0x1e7f3f(0x145)](this[_0x1e7f3f(0x15c)]))['subscribe'](_0x93e3f4=>{_0x243aff(_0x93e3f4);});}};ye=un([le(0x0,o['Inject'](o[_0x4e146c(0x2a3)])),le(0x1,o['IUniverInstanceService']),le(0x2,o['IPermissionService']),le(0x3,o['Inject'](exports['CollaborationSessionService'])),le(0x4,o[_0x4e146c(0xd7)](ee))],ye);var vn=Object['getOwnPropertyDescriptor'],dn=(_0xcd9d42,_0x7d59d8,_0x242923,_0x27b8a0)=>{var _0x44e741=_0x4e146c;for(var _0xcb567a=_0x27b8a0>0x1?void 0x0:_0x27b8a0?vn(_0x7d59d8,_0x242923):_0x7d59d8,_0x4ccd8f=_0xcd9d42[_0x44e741(0x276)]-0x1,_0x545bef;_0x4ccd8f>=0x0;_0x4ccd8f--)(_0x545bef=_0xcd9d42[_0x4ccd8f])&&(_0xcb567a=_0x545bef(_0xcb567a)||_0xcb567a);return _0xcb567a;},ot=(_0x2d8d77,_0xbc2745)=>(_0x254142,_0x3cc35c)=>_0xbc2745(_0x254142,_0x3cc35c,_0x2d8d77);exports[_0x4e146c(0x182)]=class{constructor(_0x2dcfcc,_0x2dbc58){var _0x52d2a6=_0x4e146c;this[_0x52d2a6(0xe6)]=_0x2dcfcc,this[_0x52d2a6(0x40a)]=_0x2dbc58;}async[_0x4e146c(0x331)](_0x39453d,_0x27f070){var _0x225f8a=_0x4e146c,_0x159313;const {unitID:_0x5984bf,type:_0x435b97,revision:_0x5cac8a=0x0}=_0x27f070,_0x435ca1=this['getSnapshotAPIPath']()+'/'+_0x435b97+_0x225f8a(0x211)+_0x5984bf+_0x225f8a(0x383)+_0x5cac8a,_0x462a81=(await this[_0x225f8a(0x40a)][_0x225f8a(0x38b)](_0x435ca1))[_0x225f8a(0x3c8)],_0x5d0a58=(_0x159313=_0x462a81[_0x225f8a(0x286)])==null?void 0x0:_0x159313[_0x225f8a(0x3a4)];if(_0x5d0a58){const _0x1fa784=_0x5d0a58==null?void 0x0:_0x5d0a58[_0x225f8a(0x2e4)],_0xbffc21=E[_0x225f8a(0x3ff)]['encode'](E[_0x225f8a(0x3ab)](_0x1fa784));_0x5d0a58[_0x225f8a(0x2e4)]=_0xbffc21,Object['entries'](_0x5d0a58[_0x225f8a(0x108)])[_0x225f8a(0x407)](([,_0x1f5135])=>{var _0x1595d9=_0x225f8a;const _0x231624=_0x1f5135[_0x1595d9(0x2e4)],_0x2e153b=E['textEncoder'][_0x1595d9(0x27d)](E[_0x1595d9(0x3ab)](_0x231624));_0x1f5135[_0x1595d9(0x2e4)]=_0x2e153b;});}return _0x462a81;}async[_0x4e146c(0x3d4)](_0x2f5a97,_0x13d4aa){var _0x233440=_0x4e146c;const {unitID:_0x88f807,type:_0x5b55c4,blockID:_0xe33a8}=_0x13d4aa,_0x263fa8=this[_0x233440(0x13b)]()+'/'+_0x5b55c4+_0x233440(0x211)+_0x88f807+'/block/'+_0xe33a8;return(await this['_httpService'][_0x233440(0x38b)](_0x263fa8))[_0x233440(0x3c8)];}async[_0x4e146c(0x1c8)](_0x516ede,_0x1f3f22){var _0x3a0069=_0x4e146c;const {unitID:_0x1e0ec2,type:_0x957646,blockID:_0x313daa}=_0x1f3f22,_0x74b558=this['_getAPIPrefix']()+'/block/'+_0x957646+_0x3a0069(0x211)+_0x1e0ec2+_0x3a0069(0x165)+_0x313daa;return(await this[_0x3a0069(0x40a)][_0x3a0069(0x38b)](_0x74b558))[_0x3a0069(0x3c8)];}async[_0x4e146c(0x39b)](_0x475e2a,_0x55ae60){var _0x37bffe=_0x4e146c;const {unitID:_0x358d24,type:_0x258375,from:_0x404ba8,to:_0x126887}=_0x55ae60,_0x175d3f=this[_0x37bffe(0x13b)]()+'/'+_0x258375+_0x37bffe(0x211)+_0x358d24+_0x37bffe(0x174)+_0x404ba8+_0x37bffe(0x40b)+_0x126887;return(await this[_0x37bffe(0x40a)][_0x37bffe(0x38b)](_0x175d3f))[_0x37bffe(0x3c8)];}[_0x4e146c(0x28c)](){var _0x5beb44;return(_0x5beb44=this['_configService']['getConfig'](yt))!=null?_0x5beb44:this['_getAPIPrefix']();}[_0x4e146c(0x13b)](){var _0x252827=_0x4e146c,_0x35d2e2;const _0x22432b=this['_configService'][_0x252827(0x382)](Y);return(_0x35d2e2=_0x22432b==null?void 0x0:_0x22432b[_0x252827(0x3e0)])!=null?_0x35d2e2:Dt;}async[_0x4e146c(0x343)](_0x45e045,_0x4a2273){var _0x43a10f=_0x4e146c;const _0x5291ee='/universer-api/snapshot/'+_0x4a2273[_0x43a10f(0x250)]+'/unit/'+_0x4a2273[_0x43a10f(0x1a0)]+_0x43a10f(0x41c);return(await this[_0x43a10f(0x40a)][_0x43a10f(0x38b)](_0x5291ee,{'params':{'resourceId':JSON[_0x43a10f(0x1ba)](_0x4a2273[_0x43a10f(0x1a2)])}}))[_0x43a10f(0x3c8)];}['saveSnapshot'](){var _0x527441=_0x4e146c;throw new Error(_0x527441(0x2e1));}[_0x4e146c(0x34a)](){var _0x48d576=_0x4e146c;throw new Error(_0x48d576(0x2e1));}[_0x4e146c(0x1d7)](){var _0x1eb86e=_0x4e146c;throw new Error(_0x1eb86e(0x2e1));}[_0x4e146c(0x32f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0xcb61d8=_0x4e146c;throw new Error(_0xcb61d8(0x2e1));}[_0x4e146c(0x2cd)](){var _0x8be6ae=_0x4e146c;throw new Error(_0x8be6ae(0x2e1));}},exports[_0x4e146c(0x182)]=dn([ot(0x0,o[_0x4e146c(0x1ec)]),ot(0x1,o[_0x4e146c(0xd7)](K[_0x4e146c(0x17b)]))],exports[_0x4e146c(0x182)]);var Sn=Object[_0x4e146c(0x374)],In=(_0x2ec0bd,_0x22ed78,_0x9e3e43,_0x4ecd3b)=>{var _0x16f9d9=_0x4e146c;for(var _0x586bb9=_0x4ecd3b>0x1?void 0x0:_0x4ecd3b?Sn(_0x22ed78,_0x9e3e43):_0x22ed78,_0x2f986a=_0x2ec0bd[_0x16f9d9(0x276)]-0x1,_0x1067cc;_0x2f986a>=0x0;_0x2f986a--)(_0x1067cc=_0x2ec0bd[_0x2f986a])&&(_0x586bb9=_0x1067cc(_0x586bb9)||_0x586bb9);return _0x586bb9;},ue=(_0x224a70,_0xcab518)=>(_0x528610,_0xa96f24)=>_0xcab518(_0x528610,_0xa96f24,_0x224a70);exports[_0x4e146c(0x1d8)]=class extends o['LocalUndoRedoService']{constructor(_0x2910d7,_0x1f2f57,_0x578a76,_0x3ece6d,_0x33051f){var _0x3523e4=_0x4e146c;super(_0x2910d7,_0x1f2f57,_0x578a76),this[_0x3523e4(0x381)]=_0x3ece6d,this[_0x3523e4(0x3d5)]=_0x33051f;}['transformUndoRedo'](_0x928b55,_0x25ac56){var _0x4d0f2b=_0x4e146c;const _0x4c621b=this[_0x4d0f2b(0x120)](_0x928b55);if(_0x4c621b)try{const _0x49030d=this[_0x4d0f2b(0x237)](_0x4c621b,_0x25ac56);this[_0x4d0f2b(0x21a)](_0x928b55,_0x49030d);}catch(_0x2444ed){this[_0x4d0f2b(0x3d5)][_0x4d0f2b(0x259)]('[CollaborationUndoRedoService]',_0x2444ed),this['_clearUndo'](_0x928b55);}const _0x209f3d=this['_getRedoStack'](_0x928b55);if(_0x209f3d)try{const _0x11b27c=this['_transformStack'](_0x209f3d,_0x25ac56);this[_0x4d0f2b(0x1cd)](_0x928b55,_0x11b27c);}catch(_0x3fb456){this[_0x4d0f2b(0x3d5)][_0x4d0f2b(0x259)](_0x3fb456),this[_0x4d0f2b(0x405)](_0x928b55);}}[_0x4e146c(0x3d7)](_0x410e88){var _0x51c6ca=_0x4e146c;const _0x222b60=this[_0x51c6ca(0x120)](_0x410e88);_0x222b60&&(_0x222b60[_0x51c6ca(0x276)]=0x0,this[_0x51c6ca(0x196)]());}[_0x4e146c(0x405)](_0x25ef43){var _0x29b10f=_0x4e146c;const _0x216083=this[_0x29b10f(0x1cf)](_0x25ef43);_0x216083&&(_0x216083[_0x29b10f(0x276)]=0x0,this['_updateStatus']());}[_0x4e146c(0x21a)](_0x5e8450,_0x258aa1){var _0x150de5=_0x4e146c;this['_undoStacks'][_0x150de5(0x3b5)](_0x5e8450,_0x258aa1),this[_0x150de5(0x196)]();}[_0x4e146c(0x1cd)](_0x14917b,_0x528cb9){var _0x212c0c=_0x4e146c;this[_0x212c0c(0x289)][_0x212c0c(0x3b5)](_0x14917b,_0x528cb9),this[_0x212c0c(0x196)]();}['_transformStack'](_0x5e3412,_0x55ebeb){var _0x24b3e1=_0x4e146c;const _0x8104e9=[];let _0x52e8f4=_0x55ebeb,_0x169201=_0x55ebeb;for(let _0x28e535=_0x5e3412[_0x24b3e1(0x276)]-0x1;_0x28e535>=0x0;_0x28e535--){const {unitID:_0x37bebc,undoMutations:_0x3dca55,redoMutations:_0x118507}=_0x5e3412[_0x28e535],_0x2a7eaa=this[_0x24b3e1(0x381)][_0x24b3e1(0x39f)](_0x52e8f4,_0x3dca55),_0x2937e4=this[_0x24b3e1(0x381)][_0x24b3e1(0x39f)](_0x169201,_0x118507);if(E[_0x24b3e1(0x244)](_0x2a7eaa)||E[_0x24b3e1(0x244)](_0x2937e4)){this[_0x24b3e1(0x3d5)]['error'](_0x24b3e1(0x266),_0x24b3e1(0x42d),_0x2a7eaa,_0x2937e4);break;}_0x52e8f4=_0x2a7eaa[_0x24b3e1(0x434)],_0x169201=_0x2937e4['c1Prime'],_0x8104e9['push']({'unitID':_0x37bebc,'undoMutations':_0x2a7eaa['m2Prime'],'redoMutations':_0x2937e4[_0x24b3e1(0x2b7)]});}return _0x8104e9[_0x24b3e1(0x399)]();}},exports['CollaborativeUndoRedoService']=In([ue(0x0,o[_0x4e146c(0x401)]),ue(0x1,o['ICommandService']),ue(0x2,o[_0x4e146c(0x246)]),ue(0x3,E[_0x4e146c(0x10f)]),ue(0x4,o[_0x4e146c(0x428)])],exports[_0x4e146c(0x1d8)]);var fn=Object[_0x4e146c(0x1f5)],En=Object[_0x4e146c(0x374)],pn=(_0x307349,_0xff6060,_0x504b38)=>_0xff6060 in _0x307349?fn(_0x307349,_0xff6060,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x504b38}):_0x307349[_0xff6060]=_0x504b38,mn=(_0x30689e,_0x24d2e0,_0x49adc6,_0x50a5f2)=>{var _0x1e5eaf=_0x4e146c;for(var _0x3e2090=_0x50a5f2>0x1?void 0x0:_0x50a5f2?En(_0x24d2e0,_0x49adc6):_0x24d2e0,_0x331d10=_0x30689e[_0x1e5eaf(0x276)]-0x1,_0x1cd68e;_0x331d10>=0x0;_0x331d10--)(_0x1cd68e=_0x30689e[_0x331d10])&&(_0x3e2090=_0x1cd68e(_0x3e2090)||_0x3e2090);return _0x3e2090;},we=(_0x133d5b,_0x3f5f02)=>(_0x47c83c,_0x251f9a)=>_0x3f5f02(_0x47c83c,_0x251f9a,_0x133d5b),gn=(_0x906889,_0x5d8053,_0x5a8735)=>pn(_0x906889,_0x5d8053+'',_0x5a8735);const Tn=_0x4e146c(0x3ed);exports['UniverCollaborationClientPlugin']=class extends o['Plugin']{constructor(_0x440c5b,_0x1214d9,_0x5896d1,_0x5a362e){var _0x536832=_0x4e146c;super(),A(this,_0x536832(0x3f7)),(this['_logService']=_0x1214d9,this[_0x536832(0x2ee)]=_0x5896d1,this[_0x536832(0xe6)]=_0x5a362e);const {..._0x395789}=o[_0x536832(0x295)]({},Zt,_0x440c5b);if(!_0x395789[_0x536832(0x184)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x536832(0x3f7)]=_0x395789,this[_0x536832(0xe6)][_0x536832(0x26b)](Y,_0x395789);}[_0x4e146c(0x118)](){var _0x280c2d=_0x4e146c;this[_0x280c2d(0x419)](),this[_0x280c2d(0x38a)]();}['_registerDependencies'](){var _0x4b1794=_0x4e146c,_0xb2c83c,_0x2005ba;this[_0x4b1794(0x2ee)]['has'](o[_0x4b1794(0x1c3)])&&this[_0x4b1794(0x3d5)][_0x4b1794(0x259)](_0x4b1794(0x443),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2a7cad=o[_0x4b1794(0x278)]([[o[_0x4b1794(0x1c3)],{'useClass':exports[_0x4b1794(0x1d8)]}],[exports[_0x4b1794(0x398)]],[exports[_0x4b1794(0x36c)]],[exports['SheetTransformSelectionsService']],[Ne],[De],[He],[ye],[ee],[exports[_0x4b1794(0x123)]],[Fe,{'useClass':this[_0x4b1794(0x3f7)]['socketService']}],[E[_0x4b1794(0x393)],{'useClass':exports[_0x4b1794(0x182)]}],[o[_0x4b1794(0x1c4)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x4b1794(0x18f)],{'useClass':exports[_0x4b1794(0x218)]}],[o['IMentionIOService'],{'useClass':exports[_0x4b1794(0x308)]}],[exports[_0x4b1794(0x1db)]],[xe]],(_0xb2c83c=this[_0x4b1794(0x3f7)])==null?void 0x0:_0xb2c83c[_0x4b1794(0x2d3)]);if(!((_0x2005ba=this[_0x4b1794(0x3f7)])!=null&&_0x2005ba[_0x4b1794(0x1c2)])){const _0x4a2f30=_0x2a7cad['findIndex'](([_0x5387e2])=>_0x5387e2===ve);_0x4a2f30!==-0x1&&_0x2a7cad[_0x4b1794(0x33a)](_0x4a2f30,0x1);}o['registerDependencies'](this[_0x4b1794(0x2ee)],_0x2a7cad);}['_initDependencies'](){var _0x2e8a95=_0x4e146c,_0xfbf983,_0xbe1c92,_0x12860a;this[_0x2e8a95(0x2ee)][_0x2e8a95(0x38b)](K['HTTPService'])[_0x2e8a95(0x2ce)]({'priority':0x14,'interceptor':K[_0x2e8a95(0x413)]({'maxParallel':0x6})}),(_0xfbf983=this['_config'])!=null&&_0xfbf983[_0x2e8a95(0x1d5)]||(_0xbe1c92=this[_0x2e8a95(0x2ee)][_0x2e8a95(0x38b)](q,o[_0x2e8a95(0x19b)]['OPTIONAL']))==null||_0xbe1c92[_0x2e8a95(0x24f)](),(_0x12860a=this['_config'])!=null&&_0x12860a[_0x2e8a95(0x430)]&&o['touchDependencies'](this[_0x2e8a95(0x2ee)],[[Ne]]),o[_0x2e8a95(0x359)](this[_0x2e8a95(0x2ee)],[[De],[exports[_0x2e8a95(0x1db)]],[ye]]);}},gn(exports['UniverCollaborationClientPlugin'],_0x4e146c(0x41f),Tn),exports[_0x4e146c(0x2bd)]=mn([o[_0x4e146c(0x33c)](E[_0x4e146c(0x2fe)],K['UniverNetworkPlugin']),we(0x1,o[_0x4e146c(0x428)]),we(0x2,o[_0x4e146c(0xd7)](o[_0x4e146c(0x2a3)])),we(0x3,o[_0x4e146c(0x1ec)])],exports['UniverCollaborationClientPlugin']),exports[_0x4e146c(0x1ef)]=Y,exports['CollaborationStatus']=je,exports[_0x4e146c(0xe8)]=J,exports[_0x4e146c(0x227)]=ee,exports[_0x4e146c(0x19f)]=He,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ht,exports[_0x4e146c(0x2ca)]=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports[_0x4e146c(0x42f)]=_t,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x4e146c(0x373)]=Fe,exports[_0x4e146c(0x199)]=q,exports['INetworkConditionService']=Et,exports['ISingleActiveUnitService']=ve,exports[_0x4e146c(0x424)]=xt,exports[_0x4e146c(0x233)]=wt,exports[_0x4e146c(0x427)]=$t,exports[_0x4e146c(0x215)]=ut,exports[_0x4e146c(0x272)]=se,exports[_0x4e146c(0x35f)]=$e,exports[_0x4e146c(0x208)]=pt,exports[_0x4e146c(0x219)]=qt,exports[_0x4e146c(0x3ea)]=mt;
|
|
1
|
+
'use strict';var _0x51f573=_0xf568;(function(_0xf0db5e,_0x1431a7){var _0xda4697=_0xf568,_0x2bd83d=_0xf0db5e();while(!![]){try{var _0x132d1e=-parseInt(_0xda4697(0x1e5))/0x1+parseInt(_0xda4697(0x178))/0x2*(parseInt(_0xda4697(0x402))/0x3)+parseInt(_0xda4697(0x2c5))/0x4*(parseInt(_0xda4697(0x1e3))/0x5)+-parseInt(_0xda4697(0x19c))/0x6+-parseInt(_0xda4697(0x18f))/0x7*(-parseInt(_0xda4697(0x3a2))/0x8)+-parseInt(_0xda4697(0x232))/0x9*(parseInt(_0xda4697(0x3d3))/0xa)+parseInt(_0xda4697(0x307))/0xb*(parseInt(_0xda4697(0xb3))/0xc);if(_0x132d1e===_0x1431a7)break;else _0x2bd83d['push'](_0x2bd83d['shift']());}catch(_0x28309a){_0x2bd83d['push'](_0x2bd83d['shift']());}}}(_0x5d99,0x8b076));var bt=Object[_0x51f573(0x17f)],Ot=(_0x5d954d,_0x239d9e,_0x52815a)=>_0x239d9e in _0x5d954d?bt(_0x5d954d,_0x239d9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52815a}):_0x5d954d[_0x239d9e]=_0x52815a,A=(_0x356a35,_0x294121,_0x55c649)=>Ot(_0x356a35,typeof _0x294121!=_0x51f573(0x1fe)?_0x294121+'':_0x294121,_0x55c649);Object[_0x51f573(0x17f)](exports,Symbol[_0x51f573(0x332)],{'value':_0x51f573(0x1bc)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Nt=require('@univerjs-pro/license'),Dt=_0x51f573(0xdc),yt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x51f573(0x1b5),At='/universer-api/user/session-ticket',_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke=_0x51f573(0x1db),lt=0x4e20,Lt=0x4e20,ut=_0x51f573(0x382),Mt=0x3,wt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt='/universer-api/comb',$t=_0x51f573(0x37d),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt='/universer-api/uniscript';var vt=(_0x3a8bf0=>(_0x3a8bf0[_0x3a8bf0[_0x51f573(0x195)]=0x0]=_0x51f573(0x195),_0x3a8bf0[_0x3a8bf0['OK']=0x1]='OK',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x216)]=0x2]='INTERNAL_ERROR',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d6)]=0x3]=_0x51f573(0x2d6),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x422)]=0x4]=_0x51f573(0x422),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xc9)]=0x5]='UNAUTHENTICATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x27f)]=0x6]=_0x51f573(0x27f),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x273)]=0x7]=_0x51f573(0x273),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1c4)]=0x8]='TOO_MANY_REQUESTS',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3f2)]=0x9]='COMPLETION_FINISHED',_0x3a8bf0[_0x3a8bf0['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3d7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x164)]=0xc]=_0x51f573(0x164),_0x3a8bf0[_0x3a8bf0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x51f573(0x1d5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3c8)]=0xe]=_0x51f573(0x3c8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x212)]=0xf]=_0x51f573(0x212),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xd5)]=0x10]=_0x51f573(0xd5),_0x3a8bf0[_0x3a8bf0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3a8bf0[_0x3a8bf0['ERROR_AGAIN']=0x65]=_0x51f573(0xaa),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d5)]=0xc9]=_0x51f573(0x2d5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x30f)]=0xca]=_0x51f573(0x30f),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x192)]=0x1389]=_0x51f573(0x192),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2cc)]=0x1771]=_0x51f573(0x2cc),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x381)]=0x1772]=_0x51f573(0x381),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3fe)]=0x1773]=_0x51f573(0x3fe),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1fd)]=0x1b59]=_0x51f573(0x1fd),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1c1)]=0x1b5a]=_0x51f573(0x1c1),_0x3a8bf0[_0x3a8bf0[_0x51f573(0xe8)]=0x1b5b]=_0x51f573(0xe8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3c2)]=0x1b5c]=_0x51f573(0x3c2),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x131)]=0x1b5d]='APPLY_DUPLICATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x20b)]=0x1f41]=_0x51f573(0x20b),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x420)]=0x2329]=_0x51f573(0x420),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1cb)]=0x232a]=_0x51f573(0x1cb),_0x3a8bf0[_0x3a8bf0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51f573(0x22c),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x371)]=0x232c]=_0x51f573(0x371),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2a4)]=0x232d]=_0x51f573(0x2a4),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2f5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3a8bf0[_0x3a8bf0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x51f573(0x410),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x193)]=0x2713]=_0x51f573(0x193),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x228)]=0x2714]=_0x51f573(0x228),_0x3a8bf0[_0x3a8bf0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x51f573(0x39a),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3e7)]=0x271b]=_0x51f573(0x3e7),_0x3a8bf0[_0x3a8bf0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x51f573(0x35f),_0x3a8bf0[_0x3a8bf0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x51f573(0x393),_0x3a8bf0[_0x3a8bf0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x51f573(0xb8),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x144)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1b8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x200)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a8bf0[_0x3a8bf0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3dc)]=0x2ee2]='INVALID_INVITE_CODE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x30a)]=0x2ee3]=_0x51f573(0x30a),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3e4)]=0x2ee4]=_0x51f573(0x3e4),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1a5)]=0x2ee5]=_0x51f573(0x1a5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2c0)]=0x32c9]=_0x51f573(0x2c0),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2b3)]=0x32ca]=_0x51f573(0x2b3),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x124)]=0x32cb]=_0x51f573(0x124),_0x3a8bf0[_0x3a8bf0['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x51f573(0x1a8),_0x3a8bf0[_0x3a8bf0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x51f573(0x196),_0x3a8bf0[_0x3a8bf0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x51f573(0xf5),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x145)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x415)]=0x3715]=_0x51f573(0x415),_0x3a8bf0[_0x3a8bf0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x51f573(0x2ab),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x342)]=0x3717]=_0x51f573(0x342),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x379)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x18b)]=0x3a99]=_0x51f573(0x18b),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x2d7)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x197)]=0x3a9b]=_0x51f573(0x197),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x158)]=0x3a9c]=_0x51f573(0x158),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3cc)]=0x3a9d]=_0x51f573(0x3cc),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x1a1)]=0x3a9e]=_0x51f573(0x1a1),_0x3a8bf0[_0x3a8bf0[_0x51f573(0x3ac)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3a8bf0[_0x3a8bf0[_0x51f573(0x394)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x3a8bf0[_0x3a8bf0[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x3a8bf0))(vt||{}),X=(_0x25b2dc=>(_0x25b2dc[_0x25b2dc[_0x51f573(0x23e)]=0x0]=_0x51f573(0x23e),_0x25b2dc[_0x25b2dc[_0x51f573(0x187)]=0x1]=_0x51f573(0x187),_0x25b2dc[_0x25b2dc[_0x51f573(0x1bb)]=0x2]=_0x51f573(0x1bb),_0x25b2dc[_0x25b2dc[_0x51f573(0x21d)]=0x3]=_0x51f573(0x21d),_0x25b2dc[_0x25b2dc['UNIVER_PROJECT']=0x4]=_0x51f573(0xa2),_0x25b2dc[_0x25b2dc['UNRECOGNIZED']=-0x1]=_0x51f573(0xcf),_0x25b2dc))(X||{}),W=(_0x2d8187=>(_0x2d8187[_0x2d8187[_0x51f573(0xed)]=0x0]=_0x51f573(0xed),_0x2d8187[_0x2d8187[_0x51f573(0xb5)]=0x1]=_0x51f573(0xb5),_0x2d8187[_0x2d8187[_0x51f573(0x1dd)]=0x2]='JOIN',_0x2d8187[_0x2d8187[_0x51f573(0x3b3)]=0x3]=_0x51f573(0x3b3),_0x2d8187[_0x2d8187[_0x51f573(0x38d)]=0x4]='INGEST',_0x2d8187[_0x2d8187[_0x51f573(0x298)]=0x5]=_0x51f573(0x298),_0x2d8187[_0x2d8187[_0x51f573(0x3d2)]=0x6]=_0x51f573(0x3d2),_0x2d8187[_0x2d8187[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x2d8187))(W||{}),re=(_0x153b1d=>(_0x153b1d[_0x153b1d[_0x51f573(0x269)]=0x0]=_0x51f573(0x269),_0x153b1d[_0x153b1d['OK']=0x1]='OK',_0x153b1d[_0x153b1d['FAIL']=0x2]=_0x51f573(0x13c),_0x153b1d[_0x153b1d[_0x51f573(0x2d1)]=0x3e9]='JOIN_ROOM_FULL',_0x153b1d[_0x153b1d[_0x51f573(0x425)]=0x3ea]=_0x51f573(0x425),_0x153b1d[_0x153b1d[_0x51f573(0xbc)]=0x3eb]=_0x51f573(0xbc),_0x153b1d[_0x153b1d[_0x51f573(0x31d)]=0x3ec]=_0x51f573(0x31d),_0x153b1d[_0x153b1d[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x153b1d))(re||{}),dt=(_0x48c571=>(_0x48c571[_0x48c571[_0x51f573(0x414)]=0x0]='Undefined',_0x48c571[_0x48c571[_0x51f573(0x201)]=0x1]='HttpImport',_0x48c571[_0x48c571[_0x51f573(0xc2)]=0x2]=_0x51f573(0xc2),_0x48c571[_0x48c571[_0x51f573(0x311)]=0x3]=_0x51f573(0x311),_0x48c571[_0x48c571['UnitSnapshot']=0x4]=_0x51f573(0x283),_0x48c571[_0x48c571[_0x51f573(0x34d)]=0x5]=_0x51f573(0x34d),_0x48c571[_0x48c571[_0x51f573(0x148)]=0x6]='ClipsheetFragments',_0x48c571[_0x48c571[_0x51f573(0xcf)]=-0x1]=_0x51f573(0xcf),_0x48c571))(dt||{});const Bt=_0x51f573(0x16e);function _0x5d99(){var _0xabb1a6=['$super','collaboration-client.config','roomInfos','418MMdYTO','_startTelemetryCollaborationNewChangeset','readAsDataURL','INVITE_CODE_REQUIRED','iterations','CipherParams','_handler','requestParams','USER_IS_ANONYMOUS','ICommandService','UnitEmbedded','serializeCombRequest','EvpKDF','commentUpdate$','telemetry\x20info\x20is\x20not\x20initialized','SheetTransformSelectionsService','UserManagerService','authzUrl','[CollaborationUndoRedoService]','words','_collaborationPaused','updatePermissionPoint','GLOBAL_ROOMS_CNT_EXCEEDS','startsWith','call','next','_event$','encrypt','onLocalMutation','image/gif','byteOffset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','{fileID}','touchDependencies','reset','_members','add','/new_changes','string','session','unitId','fetching\x20missing\x20changesets\x20from\x20','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toStringTag','LIVESHARE_REQUEST_HOST','Hasher','_key','_doCryptBlock','debug','session.room-not-exists','includes','SnapshotServerOverHTTPService','WordArray','type','get','crypto','onRemoteChangeset','_awaitingChangeset','toDisposable','ENTITLE_INSUFFICIENT_QUOTA','CLOSE_ROOM','ivSize','_submitChangeset','getCollabEntity','loginUrlKey','UniverNetworkPlugin','_onRemoteACK','cmd','_onOffline','UPDATE_CURSOR','UserProfileImg','getUnitId','session.join-failed','/allowed','univer-pro.collaboration-client-socket-service','AES','_onUserJoin','_disableEditing','onStarting','CommandType','algo','_decreaseWaiting','leaveEvent','[CollaborationSessionService]','_networkConditionService','_onCombEvent','_sheetTransformSelectionsService','headers','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOINING','encode','waitForRoom$','CHANGESET_SHOULD_RETRY','Injector','status$','Optional','function','IContextService','[OfflineState]:\x20received\x20acknowledgement.','loadUnit','_sender','_getLoginPath','_collaborationUIEventService','sendChangesetTimeout','IPermissionService','SnapshotService','LICENSE_EXPORT_SIZE_EXCEEDED','textRanges','_configService','loadOfflineData','create','shouldCloseConn','shareReplay','isTransformMutationsWithChangesetFailure','ENTITLE_NEED_BILLING_ADDRESS','_pendingMutations','_map','_lockTransition','/universer-api/oidc/authpage','roles','onRemoteAck','toggleOnline','SNAPSHOT_HAS_BEEN_REMOVED','RETRY_CONNECTING_MAX_COUNT','PERSON','JOIN_ROOM_FAILED','_onConnectionOpen','_collaborationTimeoutTimer','MUTATION','saveImage','exports','_toggleOffline','PendingState','\x20in\x20_schedule.','INGEST','capture','editing\x20status\x20changed\x20to','mixIn','WorkbookEditablePermission','onTransformRemoteChangesetByStateCache','YUUMI_ALL_TABLES_IS_INVALID','DATA_SOURCE_TOO_LARGE','getOwnPropertyDescriptor','_scheduleCollaborationTimeoutTimer','transformUndoRedo','randomBytes','[DataLoaderService]','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_FILE_NAME','uniscriptRunEvent','onTransformIME','join','_clearRedo','updateOfflineData','delete','712qbZqLz','_getDownloadEndpointURL','saveSnapshot','registerHTTPInterceptor','FetchingMissState','byteLength','unknown','mutations','pipe','listCollaborators','REDEMPTION_CODE_HAS_BEEN_CREATED','reject','executeCommand','ImageUploadStatusType','formatter','_shouldReportTelemetry','isTransformMutationsWithChangesetSuccess','LEAVE','prototype','_xformMode','_getCurrentRevision','_commentService','execute','_doCreateSocket','charCodeAt','_sendHeartbeatTimer','__Key__','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ISingleActiveUnitService','_onFetchMissResult','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','file','APPLY_PERMISSION_DENIED','incrementRevOfUnit','People','_injector','_parse','findIndex','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformChangesets','body','_substituteRedoStack','REDEMPTION_USER_NOT_ELIGIBLE','onTransformRemoteChangesetByIMECache','SyncedState','size','_socket','sequenceExecute','RECV','1349870pdPMbJ','_socketMessageSubscription','refreshPermission','unitID','MOBILE_VERIFY_CODE_MISMATCH','listRoles','FileId','userID','eventID','INVALID_INVITE_CODE','_keySchedule','createCollaborator','has','_permissionService','_clearCollaborationTimeoutTimer','lib','event$','USER_NOT_INVITED_CODE','floor','Workbook','YUUMI_ASYNCIO_CANCELLED','getValue','onSyncEditingCollabCursor','readyForCollab','LocaleService','IConfigService','update','revision','message$','_acknowledgedAwaitingChangeset','_instanceService','COMPLETION_FINISHED','Cipher','setWaitCount','&source=','getImage','_createHelper','selections','PENDING','AuthzIoHttpService','_onRemoteChangeset','_incrementRevisionNumber','_transformStack','ENSURE_SNAPSHOT_EXECUTION','session.room-permission-denied','AwaitingWithPendingState','toString','36QpvRVy','appendMutation','collaborators','USERS_ENTER','RichTextEditingMutation','createSocket','send','getRoom','\x0aCurrent:\x20','CollaborationSessionService','_socket$','RevisionService','ONLINE','_createInitialStateImpl','YUUMI_URL_COL_OUT_OF_RANGE','mapDocumentTypeToUniverType','complete','BehaviorSubject','Undefined','ENTITLE_CHAT_LIMIT_EXCEED','AWAITING','CollaborationUIEventId','hasher','_sendHeartbeat','[SyncedState]:\x20received\x20acknowledgement.','/-/object/-/batch_allowed','_transformRemoteChangesetByIMECache','_iKey','updateSnapshot','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','_initUnitPermissionChange','NOT_FOUND','_iv','SOCKET_FAILED','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','cfg','parseProtocolChangeset','sigBytes','take','indexOf','_retryCount','onTransformState','onlyLocal','Could\x20not\x20dynamically\x20require\x20\x22','_data','getFocusedUnit','onRemoteRej','avatar','_onJoinRoomEvent','Malformed\x20UTF-8\x20data','c1Prime','PERMISSION_REJ','CommentService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose$','UNIVER_PROJECT','_transformStateCache','parse','_invKeySchedule','collabWebSocketUrl','_rescheduleHeartbeat','socketService','reduce','ERROR_AGAIN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','UniverInstanceType','_toggleOnline','&to=','transformMutationsWithChangeset','_minBufferSize','_changesetReqId','16980smQtOr','_onRecvEvent','HELLO','_transformSelections','\x20-\x20','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_members$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initCloseConn','_clearScheduledTask','_state','clear','HttpExport','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRetryConnectingTimer','LOCAL_CACHE_INTERVAL_KEY','image/jpeg','Base64','csShouldRetryEvent','UNAUTHENTICATED','_onConflict','title','state','subscribe','_entityInit$','UNRECOGNIZED','_clearLocalCache','univer-pro.collaboration-client.single-active-unit-service','getDeserializedSheetBlock','getLatestCsReqIdBySid','HMAC','LOGIN_TOKEN_PROCESSING_FAILED','deleteCollaborator','_onUserLeave','permissionRejEvent','SUBMIT_CHANGESET_TIMEOUT','/universer-api/authz','requireSession','/universer-api/snapshot','_getRedoStack','_socketService','onMissingChangesets','BlockCipherMode','_unitInfo$','HmacMD5','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_localCacheService','CompressMutationService','_clearTimeoutTimer','charAt','APPLY_REVISION_CONFILICT','entityInit$','_hasher','onload','objectType','UNKNOWN_CMD','reqId','getLocalCacheKey','/resources','HEARTBEAT_INTERVAL_KEY','csRejEvent','LocalUndoRedoService','_replayCachedMutations','ENTITLE_DUP_SUBSCRIPTION','_updateState','RxDisposable','fromCollab','_undoRedoService','values','encryptBlock','takeUntil','/object/','Error\x20on\x20receiving\x20event','_config','?url=','forEach','IUndoRedoService','_getAPIPrefixPath','LIVESHARE_TERMINATE','DisposableCollection','keySize','onTransformSelections','getAllMembers','CHANGESET_REJ','_clearHeartbeatTimer','COMPRESS_MUTATION_APPLY','conflict','_roomMembers','ICollaborationSocketService','catch','SHOULD_CLOSE_CONN','_ENC_XFORM_MODE','[CollaborationSession]','ILocalCacheService','compute','_eventService','ERROR_IMAGE','[UniverCollaborationClientPlugin]','_DEC_XFORM_MODE','UUID','hasOwnProperty','ReplaySubject','uploadFileServerUrl','createDecryptor','getTypeOfUnitDisposed$','decrypt','getMemberID','_isPermissionRej','ISnapshotServerService','_collaborationSessionService','EMAIL_HAS_BEEN_BOUND','HTTPRequest','CollaborationEntity','auth.needGotoLoginAlert','_listenToNetworkCondition','_resendTimeout','ciphertext','unitId\x20is\x20not\x20found','SOCKET_FAILED_RETRY','_commentUpdate$','_onLocalMutation','DataLoaderService','_transitionLocked','APPLY_DUPLICATED','_initRequestHeader','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_state$','_doFinalize','DependentOn','_tryEnsureSocket','[SyncedState]:\x20received\x20rejection.','ITelemetryService','Encryptor','post','FAIL','abs','substr','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ITransformService','name','_getSendChangesetTimeout','_onConnectionFailed','YUUMI_AI_RUN_FAILED','PAYMENT_CHANNEL_NOT_SUPPORT','CollaborationImageIoService','_timeoutTimer','ClipsheetFragments','_telemetryService','loadDoc','compose','_memberService','_resendTimer','\x0aAfter:\x20','_transformService','CONFLICT','_throwTelemetryCollaborationNewChangeset','responseType','commentUpdateEvent','BlockCipher','_cipher','getInterceptPoints','enableCollaboration','REDEMPTION_CODE_NOT_STARTED','MSG_FOR_ERROR','concat','BASE64','change$','_retryConnectingTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','fetchMiss','transformSelections','stopTime','now','ILogService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','offline','sessionStatus$','OfflineState','IUniverInstanceService','fromCharCode','subject','_registerDependencies','liveShareOperation','?size=','collaboration_new_changeset','_executeRemoteChangeset','csAckEvent','_mode','_initMergeInterceptor','_nDataBytes','_roomCreated$','workbook','_prevBlock','univer-pro.collaboration-client.network-condition.service','116306gETlJB','splice','length','processBlock','SheetCollaborationEntity','result','_transformIMECache','defineProperty','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_changesetSessionId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationStatus','_undoStacks','reverse','_fetchMissChangesets','UNIVER_DOC','collaboratorID','merge','/role','REDEMPTION_INVALID_CODE','onRemoteRetry','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_PLUGIN','23527QtkWJe','_queuedRemoteChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','YUUMI_RATE_OVER_LIMIT','HTTPService','UNDEFINED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_FULLY_REDEEMED','objectID','patch','_change$','snapshot','835434eCUEst','/universer-api/stream/file/upload','_getSignURL','toggleOffline','close$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEARTBEAT_TIMEOUT_KEY','_revisionService','_collabSessionService','INVITE_CODE_ALREADY_BOUND','deserializeToCombResponse','addImageSourceCache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','slice','infoRsp','open$','_commandService','synced','liveShareNewHost','_doReset','getActiveSheet','_singleActiveUnitService','awaitingChangeset','initWorkbookPermissionChange','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','SUBMIT_CHANGESET','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','_userManagerService','save\x20fail\x20reason\x20is\x20','UNIVER_SHEET','Module','_candidateSocket','subUnitId','Pkcs7','_joinRoom','APPLY_NON_SEQUENTIAL_REVISION','_transformUndoredo','_localeService','TOO_MANY_REQUESTS','collaMsg','_emitMembers','createInstance','state$','getConfig','_onRemoteRetry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','CollaborationController','_createHandler','_remoteChangesetQueue','signUrlServerUrl','max','range','reconnect','MergeInterceptorFactory','EMAIL_VERIFY_CODE_MISMATCH','CBC','updatePermissionObjEvent','salt','_syncEditingCollabCursor','POST','HEARTBEAT_TIMEOUT','onCommandExecuted','JOIN','/rev/','_keyPriorReset','sessionStatus','then','LIVESHARE_NEW_HOST','19130NRkzCv','retryConnectingInterval','271012tzyLnC','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearUndo','msCrypto','sid','OTHER_CLIENTS_EDITING','editingUnit','href','CollaborationEvent','repeat','updateMember','encodeURIComponent','baseRev','[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.','Disposable','_updateLocalCache','IMentionIOService','__esModule','COMMENT_UPDATE','error','asObservable','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SUCCUSS','_getAPIPrefix','APPLY_REJECT','symbol','close','PY_RUNTIME_SCRIPT_ERROR','HttpImport','_replaceFileID','originalMeta','getResourcesRequest','/block/','onMissedChangesetFetched','OTHER_CLIENT_EDITING','MentionIoHttpService','push','random','CONNECTOR_DATA_TOO_LARGE','SetSelectionsOperation','_getCtorByUniverType','MD5','src','SheetPermissionInitController','IAuthzIoService','AUTHORIZE_CODE_ILLEGAL','sheets','joinRsp','data','INTERNAL_ERROR','unpad','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PSEUDO_FETCH_MISSING_RESULT','UnitStatus','NEW_CHANGESETS','ImageSourceType','UNIVER_SLIDE','[PendingState]:\x20received\x20acknowledgement.','USERS_LEAVE','OpenSSL','onStateChange','isPermissionRej','_startCollaboration','removeMember','/unit/','SessionStatus','_HTTPService','YUUMI_SUBSCRIPTION_NOT_FOUND','awaiting','kdf','/object','LICENSE_IMPORT_SIZE_EXCEEDED','_sessions','_logService','init','disposeWithMe','collaboration-client.local-cache-service','18XJVZUT','copyFileMeta','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','location','CollaborationSession','isArray','parseChangesetToProtocol','isInternalEditorID','createEncryptor','CollaborationSocketService','_socketReady','concatMap','UNIVER_UNKNOWN','apply','MentionType','_init','delay','Subject','resend','_append','key','\x20to\x20','_compressMutationService','interceptor','_waitCount','getMember','enableSingleActiveInstanceLock','_onRemoteRejected','unsubscribe','_oKey','socket$','AwaitingState','UNISCRIPT_RUN','FETCH_MISSING','_updateStatus','loadUnitOfRevision','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getCollabEntity$','_transformRemoteChangesetByStateCache','UPDATE_PERMISSION_OBJ','_hash','getTypeOfUnitAdded$','UniverCollaborationClientPlugin','from','c2Prime','onSendChangeset','_handlerCallback','finalize','x-univer-host','_onMessage','Quantity','[PendingState]:\x20received\x20rejection.','blockSize','CollaborativeUndoRedoService','clone','UNKNOWN_CODE','getTime','CHANGESET_ACK','session.room-cnt-exceeds','_httpService','pluginName','_substituteUndoStack','memberID','default','DEFAULT_COLLAB_WEB_SOCKET_URL','INVALID_ARGUMENT','actions','pending','emitEvent','every','enableOfflineEditing','getRandomValues','_checkMissing','Base','onCommentUpdate','getUnitStatus$','dispose','ALREADY_EXISTS','_createHmacHelper','ConflictState','not_collab','UnitSnapshot','_sessionStatus$','putCollaborators','_telemetryInfo','/fetchmissing?from=','resourceIDs','ERROR_EXCEED_SIZE','set','socket\x20close','enc','_getUndoStack','isTransformChangesetsSuccess','_status$','filter','addHandlerCallback','origin','_univerInstanceService','startTime','_resendWithTimeout','[CollaborationEntity]','localeService','HEARTBEAT','_applyRemoteChangeset','Plugin','closeSession','stringify','getCurrentSelections','_imageSourceCache','routeKey','newCsEvent','Decryptor','status','_scheduleCompleteTimestamp','LICENSE_DISTRO_REJECTED','map','OFFLINE','duration','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','format','textEncoder','ENTITLE_REPORT_LIMIT_EXCEED','LIVESHARE_OPERATION','unitInfo$','override','clamp','online$','CollaborationUIEventService','objects','MOBILE_HAS_BEEN_BOUND','focused$','resolve','_nRounds','_reverseMap','params','rev','Inject','createIdentifier','getCurrentRevOfUnit','/-/object/list','getUnitOnRev','find','WECHAT_HAS_BEEN_BOUND','b64DecodeUnicode','AWAITING_WITH_PENDING','COMPRESS_MUTATION_SEND','getWorkbookSelections','208LlwbkR','disableLocalCache','enableAuthServer','fetchMissingChangesets','min','_createSocket','SheetsSelectionsService','SNAPSHOT_INVALID_SNAPSHOT','allowed','_initDependencies','batchAllowed','m2Prime','JOIN_ROOM_FULL','code','localCacheService','ISocketService','USER_NOT_FOUND','PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','_exhaustRemoteChangesetQueue','list','session.room-full','_createInitialState','failed\x20to\x20apply\x20missed\x20changesets!','getUnitType','BufferedBlockAlgorithm','_process','transformStack\x20failed!','IDLE','_unitID','NOT_COLLAB','error$','fetchThroughInterceptors','fetch_missing','MemberService','setConfig','setCurrentUser','getCurrentUser','Rectangle','mergeOverrideWithDependencies','url','_unlockTransition','decryptBlock','target','_doProcessBlock','_type','_showConflictNotification','put','YUUMI_UNABLE_LOAD_URL','/universer-api/file/{fileID}/sign-url','Utf8','_tryReconnect','_entities','sin','/collaborator','_snapshotService','connection\x20error','pad','LIVESHARE_FETCH_OPERATIONS','updateCursorEvent','hostname','_schedule','OPTIONAL'];_0x5d99=function(){return _0xabb1a6;};return _0x5d99();}function Ft(_0x58c853){var _0xb33e1c=_0x51f573;return JSON[_0xb33e1c(0x29c)](_0x58c853)[_0xb33e1c(0x17a)];}var J=(_0x45095=>(_0x45095[_0x51f573(0x207)]=_0x51f573(0x207),_0x45095[_0x51f573(0x2d6)]=_0x51f573(0x2d6),_0x45095[_0x51f573(0x150)]=_0x51f573(0x150),_0x45095['CLOSE_ROOM']=_0x51f573(0x343),_0x45095[_0x51f573(0x384)]=_0x51f573(0x384),_0x45095[_0x51f573(0x12c)]='SOCKET_FAILED_RETRY',_0x45095['SOCKET_FAILED']=_0x51f573(0x424),_0x45095[_0x51f573(0xd9)]=_0x51f573(0xd9),_0x45095))(J||{});class ee{constructor(){var _0x3987f8=_0x51f573;A(this,_0x3987f8(0x321),new j[(_0x3987f8(0x243))]()),A(this,_0x3987f8(0x3e3),this[_0x3987f8(0x321)]['asObservable']());}[_0x51f573(0x276)](_0xf0e1bd){var _0x67ab00=_0x51f573;this[_0x67ab00(0x321)][_0x67ab00(0x320)](_0xf0e1bd);}}class $e{constructor(){var _0x21c9ed=_0x51f573;A(this,_0x21c9ed(0x12d),new j[(_0x21c9ed(0x243))]()),A(this,_0x21c9ed(0x314),this[_0x21c9ed(0x12d)][_0x21c9ed(0x1f9)]());}[_0x51f573(0x27c)](_0x263ebc){var _0x8fb274=_0x51f573;this[_0x8fb274(0x12d)]['next'](_0x263ebc);}}var Vt=Object[_0x51f573(0x395)],Wt=(_0x37657e,_0x3ad712,_0x53a487,_0x180ee4)=>{var _0x57be37=_0x51f573;for(var _0x2ee0e0=_0x180ee4>0x1?void 0x0:_0x180ee4?Vt(_0x3ad712,_0x53a487):_0x3ad712,_0x1f9bd1=_0x37657e[_0x57be37(0x17a)]-0x1,_0x316e5c;_0x1f9bd1>=0x0;_0x1f9bd1--)(_0x316e5c=_0x37657e[_0x1f9bd1])&&(_0x2ee0e0=_0x316e5c(_0x2ee0e0)||_0x2ee0e0);return _0x2ee0e0;},Ve=(_0x50b062,_0xd877b)=>(_0x503d95,_0x229f3a)=>_0xd877b(_0x503d95,_0x229f3a,_0x50b062);exports['MemberService']=class extends o[_0x51f573(0x1f3)]{constructor(_0xdd603d,_0x1958b2){var _0x3900cf=_0x51f573;super(),A(this,_0x3900cf(0x10d),new Map()),A(this,_0x3900cf(0x174),new j['Subject']()),(this[_0x3900cf(0x293)]=_0xdd603d,this[_0x3900cf(0x1b9)]=_0x1958b2,this['disposeWithMe'](j[_0x3900cf(0x189)](this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)][_0x3900cf(0x1bb)])[_0x3900cf(0x3aa)](V[_0x3900cf(0x2a5)](_0x154df1=>_0x154df1[_0x3900cf(0x34e)]())),this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)][_0x3900cf(0x187)])['pipe'](V[_0x3900cf(0x2a5)](_0x3be513=>_0x3be513['getUnitId']())),this[_0x3900cf(0x293)][_0x3900cf(0x11e)](o[_0x3900cf(0xad)]['UNIVER_SLIDE'])[_0x3900cf(0x3aa)](V[_0x3900cf(0x2a5)](_0x535e29=>_0x535e29[_0x3900cf(0x34e)]())))[_0x3900cf(0xcd)](_0x10a90d=>this['_removeRoom'](_0x10a90d))));}[_0x51f573(0x362)](_0x1664d9){var _0x49bdd8=_0x51f573;return this[_0x49bdd8(0x10d)][_0x49bdd8(0x3df)](_0x1664d9)?j['of'](this[_0x49bdd8(0x10d)][_0x49bdd8(0x33d)](_0x1664d9)):this[_0x49bdd8(0x174)][_0x49bdd8(0x3aa)](V[_0x49bdd8(0x2a5)](_0x16f74d=>{var _0x42a6ef=_0x49bdd8;if(_0x16f74d===_0x1664d9)return this[_0x42a6ef(0x10d)]['get'](_0x16f74d);}));}[_0x51f573(0x2e9)](_0x3248a5){var _0x232ad4=_0x51f573;this[_0x232ad4(0x1b9)][_0x232ad4(0x2e9)](_0x3248a5);}[_0x51f573(0x2ea)](){var _0x5bb0f1=_0x51f573;return this[_0x5bb0f1(0x1b9)][_0x5bb0f1(0x2ea)]();}[_0x51f573(0x1ef)](_0x57a43e,_0x210075){var _0x513dfb=_0x51f573;let _0x5c1e2e=this['_roomMembers'][_0x513dfb(0x33d)](_0x57a43e);_0x5c1e2e||(_0x5c1e2e=new Gt(),this['_roomMembers'][_0x513dfb(0x28a)](_0x57a43e,_0x5c1e2e),this[_0x513dfb(0x174)][_0x513dfb(0x320)](_0x57a43e)),_0x5c1e2e[_0x513dfb(0x1ef)](_0x210075);}[_0x51f573(0x224)](_0x35b744,_0x1f3c56){var _0x39a8a3=_0x51f573;const _0x1c244e=this['_roomMembers'][_0x39a8a3(0x33d)](_0x35b744);_0x1c244e&&_0x1c244e[_0x39a8a3(0x224)](_0x1f3c56);}[_0x51f573(0x409)](_0x3009ea){var _0x40b7bc=_0x51f573;return this['_roomMembers'][_0x40b7bc(0x33d)](_0x3009ea);}[_0x51f573(0x24b)](_0x3ff1f7,_0x523bc6){var _0x18c40c=_0x51f573;const _0x30ab2a=this[_0x18c40c(0x10d)][_0x18c40c(0x33d)](_0x3ff1f7);if(_0x30ab2a)return _0x30ab2a[_0x18c40c(0x24b)](_0x523bc6);}['_removeRoom'](_0x337888){var _0x566d2c=_0x51f573;const _0x5bc535=this[_0x566d2c(0x10d)][_0x566d2c(0x33d)](_0x337888);_0x5bc535&&(_0x5bc535[_0x566d2c(0x27e)](),this[_0x566d2c(0x10d)][_0x566d2c(0x3a1)](_0x337888));}[_0x51f573(0x27e)](){var _0x1997bf=_0x51f573;this['_roomMembers'][_0x1997bf(0x101)](_0x47ec9b=>_0x47ec9b[_0x1997bf(0x27e)]()),this[_0x1997bf(0x10d)]['clear'](),this[_0x1997bf(0x174)][_0x1997bf(0x412)]();}},exports[_0x51f573(0x2e7)]=Wt([Ve(0x0,o['IUniverInstanceService']),Ve(0x1,o[_0x51f573(0x2ba)](o[_0x51f573(0x317)]))],exports[_0x51f573(0x2e7)]);class Gt extends o[_0x51f573(0x1f3)]{constructor(){var _0xd8f987=_0x51f573;super(...arguments),A(this,_0xd8f987(0x32a),new Map()),A(this,_0xd8f987(0xb9),new j[(_0xd8f987(0x413))](this[_0xd8f987(0x32a)])),A(this,'members$',this[_0xd8f987(0xb9)][_0xd8f987(0x1f9)]());}[_0x51f573(0x27e)](){var _0x59e3be=_0x51f573;this['_members'][_0x59e3be(0xc1)]();}['updateMember'](_0x42f5cf){var _0x1c0d4e=_0x51f573;this[_0x1c0d4e(0x32a)][_0x1c0d4e(0x28a)](_0x42f5cf[_0x1c0d4e(0x270)],_0x42f5cf),this[_0x1c0d4e(0x1c6)]();}[_0x51f573(0x224)](_0x2a85a0){var _0x4e08dd=_0x51f573;this['_members'][_0x4e08dd(0x3a1)](_0x2a85a0);}[_0x51f573(0x24b)](_0x1203c2){var _0x418aa5=_0x51f573;return this[_0x418aa5(0x32a)][_0x418aa5(0x33d)](_0x1203c2);}[_0x51f573(0x108)](){var _0x51e45f=_0x51f573;return Array[_0x51e45f(0x25d)](this[_0x51e45f(0x32a)][_0x51e45f(0xfa)]());}[_0x51f573(0x1c6)](){var _0x45d0a2=_0x51f573;this['_members$'][_0x45d0a2(0x320)](this[_0x45d0a2(0x32a)]);}}var Yt=Object['getOwnPropertyDescriptor'],Kt=(_0x8d3dfc,_0x1e6926,_0x1d61df,_0x3e4085)=>{var _0x1d7a02=_0x51f573;for(var _0x17627c=_0x3e4085>0x1?void 0x0:_0x3e4085?Yt(_0x1e6926,_0x1d61df):_0x1e6926,_0x4a5a16=_0x8d3dfc[_0x1d7a02(0x17a)]-0x1,_0x3cd3b6;_0x4a5a16>=0x0;_0x4a5a16--)(_0x3cd3b6=_0x8d3dfc[_0x4a5a16])&&(_0x17627c=_0x3cd3b6(_0x17627c)||_0x17627c);return _0x17627c;},ce=(_0x52f77d,_0x2e14c6)=>(_0x1beaa5,_0x39e80a)=>_0x2e14c6(_0x1beaa5,_0x39e80a,_0x52f77d),se=(_0xbaee6c=>(_0xbaee6c[_0xbaee6c[_0x51f573(0x2e1)]=0x0]=_0x51f573(0x2e1),_0xbaee6c[_0xbaee6c[_0x51f573(0x360)]=0x1]=_0x51f573(0x360),_0xbaee6c[_0xbaee6c['OFFLINE']=0x2]='OFFLINE',_0xbaee6c[_0xbaee6c[_0x51f573(0x40e)]=0x3]=_0x51f573(0x40e),_0xbaee6c))(se||{});const We={[re[_0x51f573(0x13c)]]:_0x51f573(0x34f),[re[_0x51f573(0x2d1)]]:_0x51f573(0x2da),[re[_0x51f573(0x425)]]:_0x51f573(0x338),[re[_0x51f573(0xbc)]]:_0x51f573(0x3ff),[re[_0x51f573(0x31d)]]:_0x51f573(0x26c)};exports[_0x51f573(0x236)]=class extends o[_0x51f573(0xf7)]{constructor(_0x454b91,_0x29d460,_0x28593a,_0x4f86b9,_0x1306d2,_0x166660,_0x3d93cd,_0x2d41df){var _0x16b7f4=_0x51f573;super(),A(this,_0x16b7f4(0x284),new j[(_0x16b7f4(0x413))](0x0)),A(this,_0x16b7f4(0x166),this[_0x16b7f4(0x284)][_0x16b7f4(0x1f9)]()),A(this,'_event$',new j[(_0x16b7f4(0x243))]()),A(this,_0x16b7f4(0x3e3),this[_0x16b7f4(0x321)][_0x16b7f4(0x1f9)]()),A(this,_0x16b7f4(0x3d0)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,_0x16b7f4(0x3b1),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x454b91,this[_0x16b7f4(0x22e)]=_0x28593a,this[_0x16b7f4(0x373)]=_0x4f86b9,this[_0x16b7f4(0x14c)]=_0x1306d2,this[_0x16b7f4(0x3b7)]=_0x166660,this[_0x16b7f4(0x36d)]=_0x3d93cd,this[_0x16b7f4(0x149)]=_0x2d41df,this[_0x16b7f4(0x3b1)]=!!this['_telemetryService'],_0x29d460['pipe'](j[_0x16b7f4(0xfc)](this[_0x16b7f4(0xa1)]))[_0x16b7f4(0xcd)](_0x1bd647=>{var _0x1a27f8=_0x16b7f4,_0x3533f9;typeof _0x1bd647>'u'||(this['_socket']=_0x1bd647,_0x1bd647?(this[_0x1a27f8(0x1c0)](_0x1bd647),this[_0x1a27f8(0x3d4)]=_0x1bd647[_0x1a27f8(0x3ef)]['subscribe'](_0x3f0d67=>{var _0x4da811=_0x1a27f8;_0x3f0d67[_0x4da811(0x29f)]===this[_0x4da811(0x2e2)]&&this[_0x4da811(0x35c)](_0x3f0d67);})):(this[_0x1a27f8(0x151)](),this[_0x1a27f8(0x284)][_0x1a27f8(0x320)](0x2),(_0x3533f9=this[_0x1a27f8(0x3d4)])==null||_0x3533f9[_0x1a27f8(0x24e)](),this[_0x1a27f8(0x3d4)]=null));}));}get[_0x51f573(0x1e0)](){var _0x2213d6=_0x51f573;return this[_0x2213d6(0x284)]['getValue']();}[_0x51f573(0x120)](){var _0x54451b=_0x51f573,_0x55c174,_0x6097ec;return(_0x6097ec=(_0x55c174=this[_0x54451b(0x3d0)])==null?void 0x0:_0x55c174['memberID'])!=null?_0x6097ec:null;}[_0x51f573(0x27e)](){var _0x497ea0=_0x51f573;super[_0x497ea0(0x27e)](),this['dispose$'][_0x497ea0(0x320)](),this[_0x497ea0(0xa1)][_0x497ea0(0x412)]();}['close'](){var _0x34f98b=_0x51f573,_0x376d72,_0x13da1b;this[_0x34f98b(0x151)](),(_0x376d72=this[_0x34f98b(0x3d0)])==null||_0x376d72[_0x34f98b(0x408)]({'cmd':W[_0x34f98b(0x3b3)],'data':{'roomID':this[_0x34f98b(0x2e2)]}}),(_0x13da1b=this[_0x34f98b(0x3d0)])==null||_0x13da1b[_0x34f98b(0x1ff)](),this['_event$']['complete'](),this[_0x34f98b(0x284)][_0x34f98b(0x412)](),this['dispose']();}['_onCombEvent'](_0x2ce279){var _0x345b38=_0x51f573;_0x2ce279[_0x345b38(0x34a)]===W[_0x345b38(0x1dd)]?this[_0x345b38(0x9b)](_0x2ce279):_0x2ce279[_0x345b38(0x34a)]===W[_0x345b38(0x3d2)]&&this[_0x345b38(0xb4)](_0x2ce279);}[_0x51f573(0x1c0)](_0x3a4327){var _0x1da485=_0x51f573;this['_sessionStatus$']['next'](0x1),_0x3a4327['send']({'cmd':W['JOIN'],'routeKey':this[_0x1da485(0x2e2)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x360594){var _0xebd757=_0x51f573,_0x3d6ecf;if(_0x360594[_0xebd757(0x2d2)]in We){this[_0xebd757(0x36d)][_0xebd757(0x276)]({'id':J[_0xebd757(0x384)],'data':We[_0x360594[_0xebd757(0x2d2)]]}),this[_0xebd757(0x284)][_0xebd757(0x320)](0x2);return;}this['_sessionStatus$'][_0xebd757(0x320)](0x3);const _0x515688=(_0x3d6ecf=_0x360594[_0xebd757(0x215)][_0xebd757(0x306)][this['_unitID']])==null?void 0x0:_0x3d6ecf['members'];_0x515688&&_0x515688[_0xebd757(0x101)](_0x4c1fe0=>this[_0xebd757(0x14c)]['updateMember'](this[_0xebd757(0x2e2)],_0x4c1fe0));}[_0x51f573(0xb4)](_0x462018){var _0x5ecc13=_0x51f573;try{const _0x38d3fe=_0x462018[_0x5ecc13(0x215)];switch(_0x38d3fe[_0x5ecc13(0x3db)]){case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x405)]:this[_0x5ecc13(0x353)](_0x38d3fe),this[_0x5ecc13(0x321)]['next'](_0x38d3fe);break;case E['CollaborationEvent'][_0x5ecc13(0x21f)]:this[_0x5ecc13(0xd7)](_0x38d3fe),this['_event$'][_0x5ecc13(0x320)](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x26b)]:case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x363)]:this[_0x5ecc13(0xbb)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5ecc13(0x321)]['next'](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)]['MSG_FOR_ERROR']:this[_0x5ecc13(0x22e)][_0x5ecc13(0x1f8)](_0x5ecc13(0x1ba)+JSON['stringify'](_0x38d3fe)),this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);break;case E[_0x5ecc13(0x1ed)][_0x5ecc13(0x1f7)]:this[_0x5ecc13(0x3b7)][_0x5ecc13(0x27c)](_0x38d3fe['data']),this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);break;default:this[_0x5ecc13(0x321)][_0x5ecc13(0x320)](_0x38d3fe);}}catch(_0x2cf186){this[_0x5ecc13(0x22e)][_0x5ecc13(0x1f8)](_0x2cf186,_0x462018);}}[_0x51f573(0x353)](_0x2080f8){var _0x187ae3=_0x51f573;this['_memberService']['updateMember'](this[_0x187ae3(0x2e2)],_0x2080f8[_0x187ae3(0x215)]);}[_0x51f573(0xd7)](_0x376c92){var _0x6381e6=_0x51f573;this['_memberService']['removeMember'](this[_0x6381e6(0x2e2)],_0x376c92[_0x6381e6(0x215)][_0x6381e6(0x270)]);}async[_0x51f573(0x408)](_0x4c82b1,_0x25bd04){var _0x2098d8=_0x51f573;if(this[_0x2098d8(0x1e0)]!==0x3||!this[_0x2098d8(0x3d0)])throw new Error(_0x2098d8(0x3bd));try{_0x4c82b1['eventID']===E[_0x2098d8(0x1ed)][_0x2098d8(0x1b6)]&&(this[_0x2098d8(0x396)](),this[_0x2098d8(0x308)](_0x4c82b1)),this['_socket'][_0x2098d8(0x408)]({'cmd':W[_0x2098d8(0x38d)],'routeKey':_0x25bd04,'routeType':'','data':_0x4c82b1});}catch(_0xedf885){this[_0x2098d8(0x22e)][_0x2098d8(0x1f8)](_0xedf885);}}['_scheduleCollaborationTimeoutTimer'](){var _0x99eb08=_0x51f573,_0x1c1b64;this[_0x99eb08(0x386)]=setTimeout(()=>{var _0x27db25=_0x99eb08;this[_0x27db25(0x386)]=null,this[_0x27db25(0x36d)][_0x27db25(0x276)]({'id':J[_0x27db25(0xd9)]});},(_0x1c1b64=this[_0x99eb08(0x373)][_0x99eb08(0x1c9)](ke))!=null?_0x1c1b64:lt);}[_0x51f573(0x3e1)](){var _0x3ce495=_0x51f573;this[_0x3ce495(0x386)]&&(clearTimeout(this[_0x3ce495(0x386)]),this[_0x3ce495(0x386)]=null);}[_0x51f573(0x308)](_0x41eee5){var _0x452e03=_0x51f573;if(!this['_shouldReportTelemetry'])return;const {data:_0x1de11a}=_0x41eee5,{unitID:_0x2c311b,changeset:_0xa4789a}=_0x1de11a,{mutations:_0x41bc98,type:_0x368a42}=_0xa4789a;this[_0x452e03(0x286)]={'unitId':_0x2c311b,'type':_0x368a42,'startTime':performance[_0x452e03(0x162)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x41bc98)};}[_0x51f573(0xbb)](){var _0x2fa7b0=_0x51f573;if(this[_0x2fa7b0(0x3b1)]){if(!this['_telemetryInfo']){this[_0x2fa7b0(0x22e)][_0x2fa7b0(0x1f8)](_0x2fa7b0(0x112),_0x2fa7b0(0x315));return;}this[_0x2fa7b0(0x286)][_0x2fa7b0(0x161)]=performance[_0x2fa7b0(0x162)](),this['_telemetryInfo'][_0x2fa7b0(0x2a7)]=this[_0x2fa7b0(0x286)][_0x2fa7b0(0x161)]-this[_0x2fa7b0(0x286)][_0x2fa7b0(0x294)],this[_0x2fa7b0(0x149)][_0x2fa7b0(0x38e)](Bt,this[_0x2fa7b0(0x286)]),this[_0x2fa7b0(0x286)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xb6f492=_0x51f573;this[_0xb6f492(0x286)]=null;}},exports['CollaborationSession']=Kt([ce(0x2,o[_0x51f573(0x163)]),ce(0x3,o[_0x51f573(0x3ec)]),ce(0x4,o[_0x51f573(0x2ba)](exports[_0x51f573(0x2e7)])),ce(0x5,o[_0x51f573(0x2ba)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x51f573(0x366)](Rt[_0x51f573(0x139)]))],exports[_0x51f573(0x236)]);const q=o['createIdentifier'](_0x51f573(0x231));function qt(_0x3c2010){return'unit-cache-'+_0x3c2010;}var zt=Object['getOwnPropertyDescriptor'],Xt=(_0x4c1d73,_0xf34e8a,_0x55774a,_0x44bbba)=>{var _0x326ffc=_0x51f573;for(var _0x59a3d1=_0x44bbba>0x1?void 0x0:_0x44bbba?zt(_0xf34e8a,_0x55774a):_0xf34e8a,_0x33216d=_0x4c1d73[_0x326ffc(0x17a)]-0x1,_0x1c03fe;_0x33216d>=0x0;_0x33216d--)(_0x1c03fe=_0x4c1d73[_0x33216d])&&(_0x59a3d1=_0x1c03fe(_0x59a3d1)||_0x59a3d1);return _0x59a3d1;},Ue=(_0x476254,_0x29947a)=>(_0x3d5f59,_0x3ec5f5)=>_0x29947a(_0x3d5f59,_0x3ec5f5,_0x476254);function Jt(_0x189e98){var _0x3ef0dd=_0x51f573;const {unitID:_0x174901,mutations:_0x41caec}=_0x189e98;return{'unitId':_0x174901,'subUnitId':_0x41caec[_0x3ef0dd(0x17a)]>0x0?_0x41caec[0x0]['params'][_0x3ef0dd(0x1be)]:null};}exports[_0x51f573(0x316)]=class{constructor(_0x420b87,_0xd0170e,_0xf4abd){var _0x535e2f=_0x51f573;this[_0x535e2f(0x3c5)]=_0x420b87,this[_0x535e2f(0x14f)]=_0xd0170e,this[_0x535e2f(0x3f1)]=_0xf4abd;}[_0x51f573(0x160)](_0x4b3c8e){var _0x2f9979=_0x51f573,_0x5f5d87,_0x1f978f,_0x5c5f4b,_0x8687a2;const _0x2198db=this[_0x2f9979(0x3c5)]['get'](Q[_0x2f9979(0x2cb)]),{unitId:_0x1b4702,subUnitId:_0x537b1f}=Jt(_0x4b3c8e),_0x46a985=_0x2198db==null?void 0x0:_0x2198db[_0x2f9979(0x2c4)](_0x1b4702)[_0x2f9979(0x29d)](),_0x540505=(_0x1f978f=(_0x5f5d87=this['_instanceService']['getUnit'](_0x1b4702))==null?void 0x0:_0x5f5d87[_0x2f9979(0x1b0)]())==null?void 0x0:_0x1f978f['getSheetId']();if(_0x46a985[_0x2f9979(0x17a)]===0x0||!_0x1b4702||!_0x537b1f)return;const _0x18b98d=[{'id':Q[_0x2f9979(0x20c)]['id'],'params':{'unitId':_0x1b4702,'subUnitId':_0x540505,'selections':o['Tools']['deepClone'](_0x46a985)}}],_0x469776=this[_0x2f9979(0x14f)][_0x2f9979(0xb0)](_0x4b3c8e,_0x18b98d);if(!E[_0x2f9979(0x3b2)](_0x469776))throw _0x469776[_0x2f9979(0x1f8)];const _0x3b1c15=(_0x8687a2=(_0x5c5f4b=_0x469776['m2Prime'][0x0])==null?void 0x0:_0x5c5f4b['params'])==null?void 0x0:_0x8687a2[_0x2f9979(0x3f8)];if(Array[_0x2f9979(0x237)](_0x3b1c15)&&_0x3b1c15[_0x2f9979(0x17a)]){if(_0x3b1c15['length']===_0x18b98d[0x0]['params'][_0x2f9979(0x3f8)][_0x2f9979(0x17a)]&&_0x3b1c15[_0x2f9979(0x277)]((_0x44192e,_0x1dafa0)=>o[_0x2f9979(0x2eb)]['equals'](_0x44192e['range'],_0x18b98d[0x0][_0x2f9979(0x2b8)][_0x2f9979(0x3f8)][_0x1dafa0][_0x2f9979(0x1d2)])))return;this[_0x2f9979(0x3c5)][_0x2f9979(0x33d)](o[_0x2f9979(0x310)])[_0x2f9979(0x3ae)](Q[_0x2f9979(0x20c)]['id'],{'unitId':_0x1b4702,'subUnitId':_0x540505,'selections':_0x3b1c15});}}},exports[_0x51f573(0x316)]=Xt([Ue(0x0,o[_0x51f573(0x2ba)](o['Injector'])),Ue(0x1,E[_0x51f573(0x140)]),Ue(0x2,o[_0x51f573(0x168)])],exports[_0x51f573(0x316)]);const ve=o['createIdentifier'](_0x51f573(0xd1));var He=(_0x442fa4=>(_0x442fa4[_0x442fa4[_0x51f573(0x1b7)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x442fa4[_0x442fa4[_0x51f573(0x1ea)]=0x1]=_0x51f573(0x1ea),_0x442fa4))(He||{});const Y=_0x51f573(0x305),Zt={},Qt=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0x44b5b8,_0xb052aa,_0x1d12be,_0x50b1ed,_0x1e2aad){var _0x4ec7ec=_0x51f573,_0xc53c66,_0x20085d,_0x416108,_0xb01270;const _0x4b11cb=[];for(const _0x41f67f of _0x44b5b8)if(Qt[_0x4ec7ec(0x3df)](_0x41f67f['id'])){if(_0x4b11cb[_0x4ec7ec(0x17a)]>0x0)break;_0x4b11cb[_0x4ec7ec(0x209)](_0x41f67f);break;}else _0x4b11cb['push'](_0x41f67f);const _0x3184f3=(_0x20085d=(_0xc53c66=_0x1e2aad[_0x4ec7ec(0x2ea)]())==null?void 0x0:_0xc53c66[_0x4ec7ec(0x3da)])!=null?_0x20085d:_0x4ec7ec(0x3a8),_0x17592d=(_0xb01270=(_0x416108=_0x1e2aad[_0x4ec7ec(0x2ea)]())==null?void 0x0:_0x416108[_0x4ec7ec(0x270)])!=null?_0xb01270:_0x4ec7ec(0x3a8);return{'changeset':{'unitID':_0xb052aa,'type':E[_0x4ec7ec(0x411)](_0x1d12be[_0x4ec7ec(0x2dd)](_0xb052aa)),'baseRev':_0x50b1ed['getCurrentRevOfUnit'](_0xb052aa),'revision':0x0,'userID':_0x3184f3,'memberID':_0x17592d,'mutations':_0x4b11cb},'pendingMutations':_0x44b5b8[_0x4ec7ec(0x1a9)](_0x4b11cb[_0x4ec7ec(0x17a)])};}function ei(_0x3fef9c,_0x3cc8f4,_0x6fcaa3,_0x123fcd,_0x259b9a){var _0x3d4878=_0x51f573,_0x2db156,_0x7223fc,_0x2609b,_0x46f581;const _0x34ac63=[_0x3fef9c[_0x3d4878(0xa9)]((_0x24614e,_0x51ded5)=>{var _0x1fecf6=_0x3d4878,_0x1fdbc6;const {id:_0x22f665}=_0x24614e,{id:_0x149497,type:_0xcd7ca3}=_0x51ded5,_0x46ff40=(_0x1fdbc6=_0x24614e[_0x1fecf6(0x2b8)])!=null?_0x1fdbc6:{'actions':null},_0x56e596=_0x51ded5[_0x1fecf6(0x2b8)];if(_0x22f665&&_0x22f665!==_0x149497)throw new Error(_0x1fecf6(0x133)+_0x22f665+_0x1fecf6(0xb7)+_0x149497+'.');return{..._0x24614e,'id':_0x149497,'type':_0xcd7ca3,'params':{'unitId':_0x56e596[_0x1fecf6(0x32f)],'textRanges':_0x56e596[_0x1fecf6(0x372)],'actions':o['JSONX'][_0x1fecf6(0x14b)](_0x46ff40['actions'],_0x56e596['actions'])}};},{})],_0x5f40ea=(_0x7223fc=(_0x2db156=_0x259b9a[_0x3d4878(0x2ea)]())==null?void 0x0:_0x2db156['userID'])!=null?_0x7223fc:_0x3d4878(0x3a8),_0x244040=(_0x46f581=(_0x2609b=_0x259b9a[_0x3d4878(0x2ea)]())==null?void 0x0:_0x2609b[_0x3d4878(0x270)])!=null?_0x46f581:'unknown';return{'changeset':{'unitID':_0x3cc8f4,'type':E[_0x3d4878(0x411)](_0x6fcaa3[_0x3d4878(0x2dd)](_0x3cc8f4)),'baseRev':_0x123fcd['getCurrentRevOfUnit'](_0x3cc8f4),'revision':0x0,'userID':_0x5f40ea,'memberID':_0x244040,'mutations':_0x34ac63},'pendingMutations':[]};}function St(_0x1dce35,_0x37a297){var _0x4fa052=_0x51f573;const _0x488f88=new j[(_0x4fa052(0x11b))](0x1);return setTimeout(()=>_0x488f88['next'](_0x37a297),_0x1dce35),_0x488f88[_0x4fa052(0x1f9)]()[_0x4fa052(0x3aa)](j[_0x4fa052(0x42a)](0x1));}var ti=Object['getOwnPropertyDescriptor'],ae=(_0x2e5f37,_0x13837b,_0x303555,_0xeab928)=>{var _0x20d9f7=_0x51f573;for(var _0x297923=_0xeab928>0x1?void 0x0:_0xeab928?ti(_0x13837b,_0x303555):_0x13837b,_0x437c4b=_0x2e5f37[_0x20d9f7(0x17a)]-0x1,_0x2d6af6;_0x437c4b>=0x0;_0x437c4b--)(_0x2d6af6=_0x2e5f37[_0x437c4b])&&(_0x297923=_0x2d6af6(_0x297923)||_0x297923);return _0x297923;},L=(_0x786996,_0x20f037)=>(_0x10014a,_0x2257de)=>_0x20f037(_0x10014a,_0x2257de,_0x786996),je=(_0x256c8b=>(_0x256c8b[_0x51f573(0x2e3)]=_0x51f573(0x282),_0x256c8b['SYNCED']=_0x51f573(0x1ad),_0x256c8b[_0x51f573(0x3f9)]=_0x51f573(0x275),_0x256c8b[_0x51f573(0x416)]='awaiting',_0x256c8b[_0x51f573(0x2c2)]='awaiting_with_pending',_0x256c8b['FETCH_MISS']=_0x51f573(0x2e6),_0x256c8b[_0x51f573(0x150)]=_0x51f573(0x10c),_0x256c8b[_0x51f573(0x2a6)]=_0x51f573(0x165),_0x256c8b))(je||{});const It=0xea60;class oe{constructor(_0xbc87d9,_0x1b19e2,_0x553d6a,_0x642638,_0x5f1f39,_0xdd0b70,_0x524ae8,_0x37f237,_0x9b030d){var _0x30e47d=_0x51f573;A(this,_0x30e47d(0x340),null),A(this,_0x30e47d(0x37a),[]),(this[_0x30e47d(0x3d6)]=_0xbc87d9,this['type']=_0x1b19e2,this['_handler']=_0x5f1f39,this[_0x30e47d(0x1ac)]=_0xdd0b70,this[_0x30e47d(0xf9)]=_0x524ae8,this[_0x30e47d(0x1a3)]=_0x37f237,this[_0x30e47d(0xe4)]=_0x9b030d,this[_0x30e47d(0x340)]=_0x553d6a,this[_0x30e47d(0x37a)]=_0x642638);}[_0x51f573(0x27a)](_0x3b657b){var _0x11589f=_0x51f573;const _0xc0fd6=this[_0x11589f(0x1a3)][_0x11589f(0x2bc)](this['unitID']);return _0x3b657b['revision']>_0xc0fd6+0x1?(this[_0x11589f(0x30d)][_0x11589f(0xdf)]({'from':_0xc0fd6,'to':_0x3b657b[_0x11589f(0x3ee)]-0x1}),!0x0):!0x1;}[_0x51f573(0x1c2)](_0x6a355a){var _0x11b606=_0x51f573;this[_0x11b606(0xf9)][_0x11b606(0x397)](this[_0x11b606(0x3d6)],_0x6a355a);}[_0x51f573(0xb6)](_0x4a7529){var _0x25a62c=_0x51f573,_0x1d6bf6,_0x50e81a;(_0x50e81a=(_0x1d6bf6=this[_0x25a62c(0x30d)])['onTransformSelections'])==null||_0x50e81a['call'](_0x1d6bf6,_0x4a7529);}[_0x51f573(0x17e)](_0x3e07aa){var _0x3cb3c0=_0x51f573,_0x163c0f,_0x150aa1;return(_0x150aa1=(_0x163c0f=this[_0x3cb3c0(0x30d)])[_0x3cb3c0(0x39d)])==null?void 0x0:_0x150aa1['call'](_0x163c0f,_0x3e07aa);}[_0x51f573(0xa3)](_0x169dd6){var _0x4c6451=_0x51f573,_0x5451e6,_0x57190a;return(_0x57190a=(_0x5451e6=this[_0x4c6451(0x30d)])[_0x4c6451(0x94)])==null?void 0x0:_0x57190a['call'](_0x5451e6,_0x169dd6);}[_0x51f573(0x41c)](_0x1063ab){var _0xbb39a8=_0x51f573,_0x31d1dc,_0x3e1cfb,_0xf1509a;return(_0xf1509a=(_0x3e1cfb=(_0x31d1dc=this[_0xbb39a8(0x30d)])[_0xbb39a8(0x3cd)])==null?void 0x0:_0x3e1cfb[_0xbb39a8(0x31f)](_0x31d1dc,_0x1063ab))!=null?_0xf1509a:_0x1063ab;}[_0x51f573(0x258)](_0xf3e212){var _0x3f7843=_0x51f573,_0x21ebc1,_0x316c7a,_0x44f404;return(_0x44f404=(_0x316c7a=(_0x21ebc1=this[_0x3f7843(0x30d)])[_0x3f7843(0x392)])==null?void 0x0:_0x316c7a[_0x3f7843(0x31f)](_0x21ebc1,_0xf3e212))!=null?_0x44f404:_0xf3e212;}['_syncEditingCollabCursor'](_0x4d214a){var _0x4cd65e=_0x51f573,_0x32990b,_0x2e4619;if(this[_0x4cd65e(0x33c)]===X[_0x4cd65e(0x187)]){const {unitID:_0x222486,mutations:_0x10247f,memberID:_0x41ff79}=_0x4d214a,_0x34a62c=_0x10247f[_0x4cd65e(0x17a)]>0x0?_0x10247f[0x0][_0x4cd65e(0x2b8)][_0x4cd65e(0x372)]:[];Array[_0x4cd65e(0x237)](_0x34a62c)&&_0x34a62c[_0x4cd65e(0x17a)]>0x0&&((_0x2e4619=(_0x32990b=this['_handler'])[_0x4cd65e(0x3e9)])==null||_0x2e4619[_0x4cd65e(0x31f)](_0x32990b,{'unitID':_0x222486,'memberID':_0x41ff79,'textRanges':_0x34a62c}));}}['_updateLocalCache'](){var _0x13275f=_0x51f573,_0x558ab1;(_0x558ab1=this[_0x13275f(0xe4)])==null||_0x558ab1[_0x13275f(0x3a0)](this['unitID'],this[_0x13275f(0x33c)],this[_0x13275f(0x340)],this['_pendingMutations']);}[_0x51f573(0x3b6)](){var _0x1bfa7f=_0x51f573;return this[_0x1bfa7f(0x1a3)][_0x1bfa7f(0x2bc)](this[_0x1bfa7f(0x3d6)]);}[_0x51f573(0x3fc)](){var _0xf3f3a8=_0x51f573;this['_revisionService'][_0xf3f3a8(0x3c3)](this[_0xf3f3a8(0x3d6)]);}[_0x51f573(0x16f)](_0x14b1d0){var _0x4b3630=_0x51f573,_0x468356;let _0x18fb97=this[_0x4b3630(0x41c)](_0x14b1d0);_0x18fb97=this[_0x4b3630(0x258)](_0x18fb97);const _0x5c533d=o[_0x4b3630(0x3d1)](_0x18fb97[_0x4b3630(0x3a9)],this[_0x4b3630(0x1ac)],{'fromCollab':!0x0});if(!_0x5c533d[_0x4b3630(0x17d)])throw _0x5c533d[_0x4b3630(0x1f8)]instanceof Error?_0x5c533d['error']:new Error((_0x468356=_0x5c533d['error'])!=null?_0x468356:'[CollaborationState]:\x20apply\x20error!');this[_0x4b3630(0x17e)](_0x18fb97),this[_0x4b3630(0xa3)](_0x18fb97),this['_transformUndoredo'](_0x14b1d0),this['_transformSelections'](_0x18fb97),this[_0x4b3630(0x1d9)](_0x18fb97),this[_0x4b3630(0x3fc)]();}}exports[_0x51f573(0x3ce)]=class extends oe{constructor(_0x41855a,_0x15a61e,_0x331390,_0x5cc3c4,_0x183282,_0x30ca5a,_0x334bb5,_0x33f605,_0x4f050c,_0x2b59c0){var _0x4508b8=_0x51f573;super(_0x41855a,_0x15a61e,null,[],_0x331390,_0x334bb5,_0x30ca5a,_0x5cc3c4,_0x2b59c0),A(this,_0x4508b8(0x2a2),_0x4508b8(0x1ad)),(this['_injector']=_0x183282,this[_0x4508b8(0x22e)]=_0x33f605,this[_0x4508b8(0x14f)]=_0x4f050c,this[_0x4508b8(0x2d3)]=_0x2b59c0);}[_0x51f573(0x403)](_0x3e3e11){var _0x36ff32=_0x51f573;const _0x56da41=this[_0x36ff32(0x3c5)]['createInstance'](exports['PendingState'],this[_0x36ff32(0x3d6)],this[_0x36ff32(0x33c)],[_0x3e3e11],this['_handler']);return _0x56da41['_schedule'](),_0x56da41[_0x36ff32(0x1f4)](),_0x56da41;}['onRemoteChangeset'](_0x4349fd){var _0x4badf1=_0x51f573;if(this[_0x4badf1(0x27a)](_0x4349fd))return this['_injector'][_0x4badf1(0x1c7)](exports['FetchingMissState'],this[_0x4badf1(0x3d6)],this[_0x4badf1(0x33c)],null,[],null,[_0x4349fd],this[_0x4badf1(0x30d)]);try{const _0x130ae3=this[_0x4badf1(0x14f)][_0x4badf1(0xb0)](_0x4349fd,[E['EmptyMutationInfo']]);if(E[_0x4badf1(0x3b2)](_0x130ae3)){const {c1Prime:_0x2310ef}=_0x130ae3;return this[_0x4badf1(0x16f)](_0x2310ef),this;}throw _0x130ae3[_0x4badf1(0x1f8)];}catch(_0x578c4b){return this[_0x4badf1(0x22e)][_0x4badf1(0x1f8)](_0x578c4b),this[_0x4badf1(0xca)](!0x1);}}[_0x51f573(0xca)](_0x41e8a4){var _0x3d52a7=_0x51f573;return this[_0x3d52a7(0x3c5)]['createInstance'](exports[_0x3d52a7(0x281)],this[_0x3d52a7(0x3d6)],this[_0x3d52a7(0x33c)],null,[],this[_0x3d52a7(0x30d)],_0x41e8a4);}[_0x51f573(0x37f)](){var _0x45b6dc=_0x51f573;throw new Error(_0x45b6dc(0x41a));}[_0x51f573(0x99)](){var _0x34fd90=_0x51f573;throw new Error(_0x34fd90(0x138));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x417b49=_0x51f573;return this['_injector'][_0x417b49(0x1c7)](exports['OfflineState'],this['unitID'],this[_0x417b49(0x33c)],null,[],this[_0x417b49(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x244)](){var _0x39589e=_0x51f573;throw new Error(_0x39589e(0xa0));}[_0x51f573(0x15f)](){var _0x2e6de5=_0x51f573;const _0xa0eefa=this[_0x2e6de5(0x1a3)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x2e6de5(0xdf)]({'from':_0xa0eefa,'to':0x0}),this[_0x2e6de5(0x3c5)][_0x2e6de5(0x1c7)](exports[_0x2e6de5(0x3a6)],this[_0x2e6de5(0x3d6)],this[_0x2e6de5(0x33c)],null,[],null,[],this[_0x2e6de5(0x30d)]);}},exports[_0x51f573(0x3ce)]=ae([L(0x3,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x51f573(0x310)]),L(0x7,o[_0x51f573(0x163)]),L(0x8,E['ITransformService']),L(0x9,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x3ce)]),exports[_0x51f573(0x38b)]=class extends oe{constructor(_0x3d3fb8,_0x3ff779,_0x8458be,_0x57f5d3,_0x57ef7c,_0x56083a,_0x5c1174,_0x230eba,_0xd172a5,_0x20e486,_0x3f1b92,_0x36e776,_0x3d5238,_0x3b9205){var _0x583f7d=_0x51f573;super(_0x3d3fb8,_0x3ff779,null,_0x8458be,_0x57f5d3,_0xd172a5,_0x3d5238,_0x56083a,_0x3b9205),A(this,_0x583f7d(0x2a2),_0x583f7d(0x275)),A(this,_0x583f7d(0x2a3),null),A(this,'_sendingTimer',null),(this[_0x583f7d(0x3c5)]=_0x57ef7c,this['_memberService']=_0x5c1174,this[_0x583f7d(0x22e)]=_0x230eba,this[_0x583f7d(0x373)]=_0x20e486,this[_0x583f7d(0x14f)]=_0x3f1b92,this[_0x583f7d(0x293)]=_0x36e776);}[_0x51f573(0x403)](_0x5993ad){var _0xec925f=_0x51f573;return this[_0xec925f(0x37a)]['push'](_0x5993ad),this[_0xec925f(0x1f4)](),this;}[_0x51f573(0x33f)](_0x23a798){var _0x5181b6=_0x51f573;if(this[_0x5181b6(0x27a)](_0x23a798))return this[_0x5181b6(0xbf)](),this[_0x5181b6(0x3c5)][_0x5181b6(0x1c7)](exports[_0x5181b6(0x3a6)],this[_0x5181b6(0x3d6)],this[_0x5181b6(0x33c)],null,this[_0x5181b6(0x37a)],null,[_0x23a798],this['_handler']);try{const _0x569aad=this[_0x5181b6(0x14f)][_0x5181b6(0xb0)](_0x23a798,this['_pendingMutations']);if(E[_0x5181b6(0x3b2)](_0x569aad)){const {c1Prime:_0x6ef544,m2Prime:_0x37819f}=_0x569aad;this[_0x5181b6(0x16f)](_0x6ef544);const _0x51653e=this[_0x5181b6(0x3c5)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x5181b6(0x33c)],_0x37819f,this['_handler']);this[_0x5181b6(0xbf)]();const _0x37eebc=new Date()[_0x5181b6(0x26a)](),_0x588d8f=this[_0x5181b6(0x2a3)]?Math[_0x5181b6(0x1d1)](this['_scheduleCompleteTimestamp']-_0x37eebc,0x0):this[_0x5181b6(0x142)]();return _0x51653e['_schedule'](_0x588d8f),_0x51653e;}throw _0x569aad[_0x5181b6(0x1f8)];}catch(_0x3498cc){return this[_0x5181b6(0x22e)][_0x5181b6(0x1f8)](_0x3498cc),this[_0x5181b6(0xca)](!0x1);}}[_0x51f573(0x37f)](){var _0x1a9608=_0x51f573;throw new Error(_0x1a9608(0x21e));}[_0x51f573(0x99)](){var _0x2899bb=_0x51f573;throw new Error(_0x2899bb(0x265));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x5b5b2e=_0x51f573;return this['_clearScheduledTask'](),this[_0x5b5b2e(0x3c5)][_0x5b5b2e(0x1c7)](exports[_0x5b5b2e(0x167)],this['unitID'],this[_0x5b5b2e(0x33c)],null,this['_pendingMutations'],this[_0x5b5b2e(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x302)](_0x58eb6c){var _0x59de6c=_0x51f573;const _0xfd2de7=_0x58eb6c!=null?_0x58eb6c:this['_getSendChangesetTimeout']();this[_0x59de6c(0x2a3)]=new Date()['getTime']()+_0xfd2de7,this[_0x59de6c(0xac)]=setTimeout(()=>{var _0x1401fa=_0x59de6c;this[_0x1401fa(0xbf)]();let _0x383a04=null;switch(this[_0x1401fa(0x33c)]){case X[_0x1401fa(0x1bb)]:{_0x383a04=Ge(this[_0x1401fa(0x37a)],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this[_0x1401fa(0x14c)]);break;}case X[_0x1401fa(0x187)]:{this[_0x1401fa(0x37a)][_0x1401fa(0x277)](_0x212522=>_0x212522['id']===ct[_0x1401fa(0x406)]['id'])?_0x383a04=ei(this['_pendingMutations'],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this['_memberService']):_0x383a04=Ge(this['_pendingMutations'],this['unitID'],this[_0x1401fa(0x293)],this[_0x1401fa(0x1a3)],this[_0x1401fa(0x14c)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1401fa(0x33c)]+_0x1401fa(0x38c));}const {changeset:_0x506511,pendingMutations:_0x2c9de9}=_0x383a04;this[_0x1401fa(0x30d)][_0x1401fa(0x25f)](_0x506511);const _0x50d277=_0x2c9de9[_0x1401fa(0x17a)]?this[_0x1401fa(0x3c5)][_0x1401fa(0x1c7)](exports[_0x1401fa(0x400)],this[_0x1401fa(0x3d6)],this[_0x1401fa(0x33c)],_0x506511,_0x2c9de9,this[_0x1401fa(0x30d)],void 0x0):this[_0x1401fa(0x3c5)][_0x1401fa(0x1c7)](exports['AwaitingState'],this[_0x1401fa(0x3d6)],this['type'],_0x506511,this[_0x1401fa(0x30d)]);_0x50d277['_updateLocalCache'](),this[_0x1401fa(0x30d)][_0x1401fa(0x221)](this,_0x50d277);},_0xfd2de7);}[_0x51f573(0x142)](){var _0xfd6562=_0x51f573,_0xf9f0e4;const _0x29d5a2=this[_0xfd6562(0x373)][_0xfd6562(0x1c9)](Y);return(_0xf9f0e4=_0x29d5a2==null?void 0x0:_0x29d5a2[_0xfd6562(0x36e)])!=null?_0xf9f0e4:Ut;}[_0x51f573(0x244)](){var _0x16299c=_0x51f573;throw new Error(_0x16299c(0xab));}[_0x51f573(0xbf)](){var _0x42dc8a=_0x51f573;this[_0x42dc8a(0xac)]!=null&&(clearTimeout(this[_0x42dc8a(0xac)]),this[_0x42dc8a(0xac)]=null);}[_0x51f573(0xca)](_0x3d5480){var _0x15cdab=_0x51f573;return this[_0x15cdab(0xbf)](),this[_0x15cdab(0x3c5)][_0x15cdab(0x1c7)](exports['ConflictState'],this[_0x15cdab(0x3d6)],this['type'],null,this['_pendingMutations'],this[_0x15cdab(0x30d)],_0x3d5480);}},exports[_0x51f573(0x38b)]=ae([L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o['Inject'](E['RevisionService'])),L(0x6,o[_0x51f573(0x2ba)](exports[_0x51f573(0x2e7)])),L(0x7,o[_0x51f573(0x163)]),L(0x8,o[_0x51f573(0x310)]),L(0x9,o[_0x51f573(0x3ec)]),L(0xa,E[_0x51f573(0x140)]),L(0xb,o[_0x51f573(0x168)]),L(0xc,o[_0x51f573(0x102)]),L(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x38b)]),exports['AwaitingState']=class extends oe{constructor(_0x31a262,_0x3da02e,_0x674665,_0x2bcb69,_0x5b8843,_0x5a2848,_0x24c9ac,_0x581d8,_0x55188f,_0x470a4c,_0x2cc289){var _0x53670d=_0x51f573;super(_0x31a262,_0x3da02e,_0x674665,[],_0x2bcb69,_0x24c9ac,_0x470a4c,_0x5a2848,_0x2cc289),A(this,'status',_0x53670d(0x229)),A(this,'_resendTimeout',0x0),A(this,_0x53670d(0x14d)),A(this,_0x53670d(0x36b)),(this[_0x53670d(0x3c5)]=_0x5b8843,this[_0x53670d(0x22e)]=_0x581d8,this[_0x53670d(0x14f)]=_0x55188f);}['appendMutation'](_0x74e6a9){var _0x4262bc=_0x51f573;this[_0x4262bc(0xbf)]();const _0x3b673c=this[_0x4262bc(0x3c5)][_0x4262bc(0x1c7)](exports[_0x4262bc(0x400)],this[_0x4262bc(0x3d6)],this[_0x4262bc(0x33c)],this[_0x4262bc(0x340)],[_0x74e6a9],this['_handler'],this[_0x4262bc(0x14d)]);return _0x3b673c[_0x4262bc(0x1f4)](),_0x3b673c;}[_0x51f573(0x33f)](_0x3a3cac){var _0x3c2000=_0x51f573;if(this[_0x3c2000(0x27a)](_0x3a3cac))return this[_0x3c2000(0xbf)](),this[_0x3c2000(0x3c5)][_0x3c2000(0x1c7)](exports[_0x3c2000(0x3a6)],this[_0x3c2000(0x3d6)],this[_0x3c2000(0x33c)],this[_0x3c2000(0x340)],[],null,[_0x3a3cac],this['_handler']);try{const _0x39baca=this[_0x3c2000(0x14f)][_0x3c2000(0x3c9)]([_0x3a3cac],[this[_0x3c2000(0x340)]],!0x1);if(E[_0x3c2000(0x28e)](_0x39baca)){const {c1Prime:_0x3a1376,c2Prime:_0x346de7}=_0x39baca;this[_0x3c2000(0x16f)](_0x3a1376[0x0]),_0x346de7[0x0][_0x3c2000(0x1f1)]=this[_0x3c2000(0x3b6)](),this['_clearScheduledTask']();const _0x480d27=this['_injector'][_0x3c2000(0x1c7)](exports['AwaitingState'],this[_0x3c2000(0x3d6)],this['type'],_0x346de7[0x0],this[_0x3c2000(0x30d)]);return _0x480d27[_0x3c2000(0x1f4)](),_0x480d27;}return this[_0x3c2000(0xca)](!0x1);}catch(_0x35cc6b){return this[_0x3c2000(0x22e)][_0x3c2000(0x1f8)](_0x35cc6b),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x25ac34){var _0x16edd7=_0x51f573;this[_0x16edd7(0xbf)]();const _0x240808=this[_0x16edd7(0x1a3)][_0x16edd7(0x2bc)](this[_0x16edd7(0x3d6)]);if(_0x25ac34[_0x16edd7(0x3ee)]<_0x240808-0x1)return this;if(this['_checkMissing'](_0x25ac34))return this[_0x16edd7(0x3c5)][_0x16edd7(0x1c7)](exports[_0x16edd7(0x3a6)],this['unitID'],this['type'],null,[],this[_0x16edd7(0x340)],[],this[_0x16edd7(0x30d)]);this[_0x16edd7(0x3fc)]();const _0x21950b=this[_0x16edd7(0x3c5)][_0x16edd7(0x1c7)](exports[_0x16edd7(0x3ce)],this[_0x16edd7(0x3d6)],this[_0x16edd7(0x33c)],this['_handler']);return _0x21950b[_0x16edd7(0x1f4)](),_0x21950b;}[_0x51f573(0x99)](_0x162612){var _0x456acc=_0x51f573;return this[_0x456acc(0xca)](!!(_0x162612!=null&&_0x162612['isPermissionRej']));}[_0x51f573(0x18c)](_0x38af1f){var _0x4f56f5=_0x51f573;return this[_0x4f56f5(0x129)]>It?this[_0x4f56f5(0x19f)]():(this[_0x4f56f5(0x14d)]=St(this[_0x4f56f5(0x129)],{'timeout':this['_resendTimeout'],'reqId':_0x38af1f[_0x4f56f5(0xee)]}),this['_sender']=this[_0x4f56f5(0x14d)][_0x4f56f5(0xcd)](({reqId:_0x7cf5df,timeout:_0xbf47b3})=>{var _0x329f3a=_0x4f56f5;this[_0x329f3a(0x295)](_0x7cf5df,_0xbf47b3);}),this);}[_0x51f573(0x19f)](){var _0x466a07=_0x51f573;return this[_0x466a07(0xbf)](),this[_0x466a07(0x3c5)]['createInstance'](exports[_0x466a07(0x167)],this[_0x466a07(0x3d6)],this[_0x466a07(0x33c)],this[_0x466a07(0x340)],[],this[_0x466a07(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0x244)](){var _0x1478ee=_0x51f573;this[_0x1478ee(0x30d)]['onSendChangeset'](this[_0x1478ee(0x340)]);}[_0x51f573(0xca)](_0x3576ae){var _0x73cfcb=_0x51f573;return this[_0x73cfcb(0xbf)](),this[_0x73cfcb(0x3c5)][_0x73cfcb(0x1c7)](exports['ConflictState'],this[_0x73cfcb(0x3d6)],this[_0x73cfcb(0x33c)],this[_0x73cfcb(0x340)],[],this[_0x73cfcb(0x30d)],_0x3576ae);}[_0x51f573(0x295)](_0x5362ef,_0x241811){var _0x56c654=_0x51f573,_0x403e89;_0x5362ef===((_0x403e89=this[_0x56c654(0x340)])==null?void 0x0:_0x403e89[_0x56c654(0xee)])&&(this[_0x56c654(0x244)](),this['_resendTimeout']=_0x241811===0x0?0x3e8:_0x241811*0x2);}[_0x51f573(0xbf)](){var _0x431d12=_0x51f573,_0x50e2f2;(_0x50e2f2=this[_0x431d12(0x36b)])==null||_0x50e2f2[_0x431d12(0x24e)](),this[_0x431d12(0x129)]=0x0;}},exports['AwaitingState']=ae([L(0x4,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x5,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x6,o[_0x51f573(0x310)]),L(0x7,o[_0x51f573(0x163)]),L(0x8,E[_0x51f573(0x140)]),L(0x9,o['IUndoRedoService']),L(0xa,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x251)]),exports['AwaitingWithPendingState']=class extends oe{constructor(_0x45b4d0,_0x1875b6,_0x852c85,_0x417b70,_0x55f904,_0x542ea8,_0x41cdb1,_0x5d70ba,_0x537d6b,_0x563343,_0x152304,_0x4ec7d8,_0x3ba3f4){var _0x5e9a7a=_0x51f573;super(_0x45b4d0,_0x1875b6,_0x852c85,_0x417b70,_0x55f904,_0x537d6b,_0x4ec7d8,_0x5d70ba,_0x3ba3f4),A(this,'status','awaiting_with_pending'),A(this,_0x5e9a7a(0x129),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this['_injector']=_0x41cdb1,this[_0x5e9a7a(0x22e)]=_0x563343,this['_transformService']=_0x152304,this[_0x5e9a7a(0x2d3)]=_0x3ba3f4,_0x542ea8&&(this[_0x5e9a7a(0x14d)]=_0x542ea8,this[_0x5e9a7a(0x36b)]=this[_0x5e9a7a(0x14d)][_0x5e9a7a(0xcd)](({reqId:_0x3a7270,timeout:_0x1e32d2})=>{this['_resendWithTimeout'](_0x3a7270,_0x1e32d2);})));}[_0x51f573(0x403)](_0x32362b){return this['_pendingMutations']['push'](_0x32362b),this;}[_0x51f573(0x33f)](_0x33e089){var _0x417c00=_0x51f573;if(this[_0x417c00(0x27a)](_0x33e089))return this[_0x417c00(0xbf)](),this[_0x417c00(0x3c5)][_0x417c00(0x1c7)](exports[_0x417c00(0x3a6)],this[_0x417c00(0x3d6)],this[_0x417c00(0x33c)],this[_0x417c00(0x340)],this[_0x417c00(0x37a)],null,[_0x33e089],this[_0x417c00(0x30d)]);try{const _0x11c98b=this['_transformService']['transformChangesets']([_0x33e089],[this[_0x417c00(0x340)]],!0x1);if(E[_0x417c00(0x28e)](_0x11c98b)){const {c1Prime:_0x4bf169,c2Prime:_0x414cdf}=_0x11c98b,_0xa842a5=this[_0x417c00(0x14f)][_0x417c00(0xb0)](_0x4bf169[0x0],this[_0x417c00(0x37a)]);if(E[_0x417c00(0x3b2)](_0xa842a5)){const {c1Prime:_0x1a22d9,m2Prime:_0x7377f2}=_0xa842a5;return this[_0x417c00(0x16f)](_0x1a22d9),_0x414cdf[0x0][_0x417c00(0x1f1)]=this[_0x417c00(0x3b6)](),this[_0x417c00(0xbf)](),this[_0x417c00(0x3c5)][_0x417c00(0x1c7)](exports['AwaitingWithPendingState'],this[_0x417c00(0x3d6)],this[_0x417c00(0x33c)],_0x414cdf[0x0],_0x7377f2,this['_handler'],void 0x0);}throw _0xa842a5[_0x417c00(0x1f8)];}throw _0x11c98b['error'];}catch(_0xcca586){return this['_logService']['error'](_0xcca586),this[_0x417c00(0xca)](!0x1);}}[_0x51f573(0x37f)](_0x3e1d7b){var _0x5be908=_0x51f573;if(this[_0x5be908(0xbf)](),this[_0x5be908(0x27a)](_0x3e1d7b))return this[_0x5be908(0x3c5)][_0x5be908(0x1c7)](exports['FetchingMissState'],this['unitID'],this['type'],null,this[_0x5be908(0x37a)],this[_0x5be908(0x340)],[],this[_0x5be908(0x30d)]);this[_0x5be908(0x3fc)]();const _0x4dae4b=this[_0x5be908(0x3c5)][_0x5be908(0x1c7)](exports[_0x5be908(0x38b)],this[_0x5be908(0x3d6)],this[_0x5be908(0x33c)],this['_pendingMutations'],this['_handler']);return _0x4dae4b[_0x5be908(0x302)](),_0x4dae4b[_0x5be908(0x1f4)](),_0x4dae4b;}[_0x51f573(0x99)](_0x407738){var _0x1b9ff3=_0x51f573;return this[_0x1b9ff3(0xca)](!!(_0x407738!=null&&_0x407738[_0x1b9ff3(0x222)]));}['onRemoteRetry'](_0x41fa97){var _0x1a93be=_0x51f573;return this[_0x1a93be(0x129)]>It?this[_0x1a93be(0x19f)]():(this[_0x1a93be(0x14d)]=St(this[_0x1a93be(0x129)],{'timeout':this[_0x1a93be(0x129)],'reqId':_0x41fa97[_0x1a93be(0xee)]}),this[_0x1a93be(0x36b)]=this[_0x1a93be(0x14d)][_0x1a93be(0xcd)](({reqId:_0x16d32d,timeout:_0x144274})=>{var _0x4f0ac1=_0x1a93be;this[_0x4f0ac1(0x295)](_0x16d32d,_0x144274);}),this);}[_0x51f573(0x19f)](){var _0x3cf698=_0x51f573;return this[_0x3cf698(0xbf)](),this[_0x3cf698(0x3c5)]['createInstance'](exports[_0x3cf698(0x167)],this[_0x3cf698(0x3d6)],this[_0x3cf698(0x33c)],this[_0x3cf698(0x340)],this[_0x3cf698(0x37a)],this[_0x3cf698(0x30d)]);}['toggleOnline'](){return this;}[_0x51f573(0x244)](){var _0x4da899=_0x51f573;this[_0x4da899(0x30d)][_0x4da899(0x25f)](this['_awaitingChangeset']);}[_0x51f573(0xca)](_0x5d4b7d){var _0x349e3d=_0x51f573;return this[_0x349e3d(0xbf)](),this[_0x349e3d(0x3c5)][_0x349e3d(0x1c7)](exports[_0x349e3d(0x281)],this[_0x349e3d(0x3d6)],this['type'],null,this['_pendingMutations'],this[_0x349e3d(0x30d)],_0x5d4b7d);}['_resendWithTimeout'](_0x2cd639,_0x340aa0){var _0x3eb7e5=_0x51f573,_0x305e01;_0x2cd639===((_0x305e01=this[_0x3eb7e5(0x340)])==null?void 0x0:_0x305e01[_0x3eb7e5(0xee)])&&(this[_0x3eb7e5(0x244)](),this[_0x3eb7e5(0x129)]=_0x340aa0===0x0?0x3e8:_0x340aa0*0x2);}[_0x51f573(0xbf)](){var _0x2cbd94=_0x51f573,_0x2c3b54;(_0x2c3b54=this['_sender'])==null||_0x2c3b54['unsubscribe'](),this[_0x2cbd94(0x129)]=0x0;}},exports[_0x51f573(0x400)]=ae([L(0x6,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x7,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x8,o[_0x51f573(0x310)]),L(0x9,o[_0x51f573(0x163)]),L(0xa,E[_0x51f573(0x140)]),L(0xb,o[_0x51f573(0x102)]),L(0xc,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x400)]),exports[_0x51f573(0x281)]=class extends oe{constructor(_0x37e61f,_0x5eb56f,_0x5ea87a,_0x559d58,_0x443a50,_0x37c53c=!0x1,_0x210cd1,_0x581b56,_0x7b1cbb,_0x2df171,_0x2afd9f,_0x1b4ae2,_0xbb1069){var _0x5ed461=_0x51f573;super(_0x37e61f,_0x5eb56f,_0x5ea87a,_0x559d58,_0x443a50,_0x581b56,_0x7b1cbb,_0x2df171,_0xbb1069),A(this,_0x5ed461(0x2a2),'conflict'),(this[_0x5ed461(0x121)]=_0x37c53c,this[_0x5ed461(0x3e0)]=_0x210cd1,this[_0x5ed461(0x1c3)]=_0x2afd9f,this[_0x5ed461(0x36d)]=_0x1b4ae2,this[_0x5ed461(0x2d3)]=_0xbb1069,this[_0x5ed461(0x2f3)](),this[_0x5ed461(0xd0)](),this['_disableEditing']());}[_0x51f573(0x403)](){return this;}[_0x51f573(0x33f)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x51f573(0x19f)](){return this;}['toggleOnline'](){return this;}[_0x51f573(0x244)](){var _0x5bf20a=_0x51f573;throw new Error(_0x5bf20a(0x234));}[_0x51f573(0xd0)](){var _0x29d049=_0x51f573,_0x50222b;(_0x50222b=this[_0x29d049(0xe4)])==null||_0x50222b[_0x29d049(0x3a0)](this[_0x29d049(0x3d6)],this['type'],null,[]);}[_0x51f573(0x2f3)](){var _0x277569=_0x51f573;this[_0x277569(0x121)]?this[_0x277569(0x36d)][_0x277569(0x276)]({'id':J[_0x277569(0x2d6)]}):this[_0x277569(0x36d)][_0x277569(0x276)]({'id':J[_0x277569(0x150)]});}[_0x51f573(0x354)](){var _0x2c0353=_0x51f573;this[_0x2c0353(0x3e0)][_0x2c0353(0x31c)](new Q[(_0x2c0353(0x391))](this[_0x2c0353(0x3d6)])['id'],!0x1);}},exports[_0x51f573(0x281)]=ae([L(0x6,o[_0x51f573(0x2ba)](o[_0x51f573(0x36f)])),L(0x7,o['ICommandService']),L(0x8,o['IUndoRedoService']),L(0x9,o['Inject'](E[_0x51f573(0x40d)])),L(0xa,o[_0x51f573(0x2ba)](o['LocaleService'])),L(0xb,o[_0x51f573(0x2ba)](ee)),L(0xc,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x281)]),exports[_0x51f573(0x167)]=class extends oe{constructor(_0x350a10,_0x3fa61a,_0x33b6bb,_0x2b00a5,_0x11b83f,_0x2caa51,_0x102f63,_0x162818,_0x4d5bef,_0x287e12){var _0x26ec64=_0x51f573;super(_0x350a10,_0x3fa61a,_0x33b6bb,_0x2b00a5,_0x11b83f,_0x162818,_0x4d5bef,_0x102f63,_0x287e12),A(this,_0x26ec64(0x2a2),_0x26ec64(0x165)),this[_0x26ec64(0x3c5)]=_0x2caa51;}[_0x51f573(0x403)](_0x4442ba){var _0x452c8d=_0x51f573;return this[_0x452c8d(0x37a)]['push'](_0x4442ba),this['_updateLocalCache'](),this;}[_0x51f573(0x33f)](_0x3b832c){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x149fd2=_0x51f573;throw new Error(_0x149fd2(0x369));}[_0x51f573(0x99)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x51f573(0x18c)](){return this;}['toggleOffline'](){return this;}[_0x51f573(0x380)](){var _0x434f25=_0x51f573;const {_injector:_0x3379e1,_pendingMutations:_0x2e2106,_awaitingChangeset:_0x5b0645,unitID:_0x370f12,_handler:_0x51742a,type:_0x33a625}=this,_0x4f4b26=ft(_0x3379e1,_0x370f12,_0x33a625,_0x5b0645,_0x2e2106,_0x51742a);return _0x4f4b26 instanceof exports[_0x434f25(0x38b)]?_0x4f4b26['_schedule']():(_0x4f4b26 instanceof exports[_0x434f25(0x400)]||_0x4f4b26 instanceof exports['AwaitingState'])&&_0x4f4b26[_0x434f25(0x244)](),_0x4f4b26;}[_0x51f573(0x244)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x51f573(0x167)]=ae([L(0x5,o[_0x51f573(0x2ba)](o['Injector'])),L(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x7,o[_0x51f573(0x310)]),L(0x8,o[_0x51f573(0x102)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x51f573(0x3a6)]=class extends oe{constructor(_0x521795,_0x23346d,_0x43e3eb,_0x5e3c25,_0x3dbfb2,_0x55fcff,_0x38a004,_0x172825,_0x205f95,_0x88b2ba,_0x47385f,_0x1e23c3,_0x4ce6a8,_0x327844){var _0x5c613c=_0x51f573;super(_0x521795,_0x23346d,_0x43e3eb,_0x5e3c25,_0x38a004,_0x47385f,_0x1e23c3,_0x205f95,_0x327844),A(this,'status',_0x5c613c(0x2e6)),(this[_0x5c613c(0x3f0)]=_0x3dbfb2,this[_0x5c613c(0x190)]=_0x55fcff,this[_0x5c613c(0x3c5)]=_0x172825,this[_0x5c613c(0x22e)]=_0x88b2ba,this[_0x5c613c(0x14f)]=_0x4ce6a8,this['localCacheService']=_0x327844);}[_0x51f573(0x206)](_0x3c7b4a){var _0x460bd8=_0x51f573;try{const _0x1deaac=[..._0x3c7b4a,...this[_0x460bd8(0x190)]],_0xbe284f=[this[_0x460bd8(0x340)]||this[_0x460bd8(0x3f0)]][_0x460bd8(0x290)](_0x45f5d7=>!!_0x45f5d7);let _0x1e4b49,_0x423e48;if(_0xbe284f[_0x460bd8(0x17a)]){const _0x4fc8cb=this[_0x460bd8(0x14f)][_0x460bd8(0x3c9)](_0x1deaac,_0xbe284f,!0x1);if(!E[_0x460bd8(0x28e)](_0x4fc8cb))throw _0x4fc8cb[_0x460bd8(0x1f8)];_0x1e4b49=_0x4fc8cb[_0x460bd8(0x9d)],_0x423e48=_0x4fc8cb[_0x460bd8(0x25e)];}else _0x1e4b49=_0x1deaac,_0x423e48=[];let _0x19d5c5=this[_0x460bd8(0x37a)];_0x1e4b49['forEach'](_0x18fff2=>{var _0x368d94=_0x460bd8;let _0x52f152;if(_0x19d5c5[_0x368d94(0x17a)]){const _0x570d07=this[_0x368d94(0x14f)]['transformMutationsWithChangeset'](_0x18fff2,_0x19d5c5);if(!E[_0x368d94(0x3b2)](_0x570d07))throw _0x570d07['error'];_0x52f152=_0x570d07[_0x368d94(0x9d)],_0x19d5c5=_0x570d07['m2Prime'];}else _0x52f152=_0x18fff2;this[_0x368d94(0x16f)](_0x52f152);}),this[_0x460bd8(0x3f0)]&&this[_0x460bd8(0x3fc)](),this[_0x460bd8(0x340)]&&_0x423e48[_0x460bd8(0x17a)]&&(_0x423e48[0x0][_0x460bd8(0x1f1)]=this[_0x460bd8(0x3b6)]());let _0x2dee80;if(this[_0x460bd8(0x340)]&&_0x19d5c5[_0x460bd8(0x17a)]!==0x0)_0x2dee80=this['_injector'][_0x460bd8(0x1c7)](exports['AwaitingWithPendingState'],this[_0x460bd8(0x3d6)],this[_0x460bd8(0x33c)],_0x423e48[0x0],_0x19d5c5,this[_0x460bd8(0x30d)],void 0x0);else{if(this[_0x460bd8(0x340)]&&_0x19d5c5['length']===0x0)_0x423e48[0x0][_0x460bd8(0x1f1)]=this[_0x460bd8(0x3b6)](),_0x2dee80=this[_0x460bd8(0x3c5)][_0x460bd8(0x1c7)](exports[_0x460bd8(0x251)],this[_0x460bd8(0x3d6)],this['type'],_0x423e48[0x0],this[_0x460bd8(0x30d)]);else{if(_0x19d5c5['length']!==0x0){const _0x580f3d=this['_injector'][_0x460bd8(0x1c7)](exports[_0x460bd8(0x38b)],this[_0x460bd8(0x3d6)],this[_0x460bd8(0x33c)],_0x19d5c5,this[_0x460bd8(0x30d)]);_0x580f3d[_0x460bd8(0x302)](),_0x2dee80=_0x580f3d;}else _0x2dee80=this[_0x460bd8(0x3c5)][_0x460bd8(0x1c7)](exports['SyncedState'],this['unitID'],this['type'],this[_0x460bd8(0x30d)]);}}return _0x2dee80[_0x460bd8(0x1f4)](),_0x2dee80;}catch(_0x3ba97c){return this[_0x460bd8(0x22e)][_0x460bd8(0x1f8)]('[FetchMissState]',_0x460bd8(0x2dc),_0x3ba97c),this[_0x460bd8(0x3c5)]['createInstance'](exports[_0x460bd8(0x281)],this['unitID'],this[_0x460bd8(0x33c)],this[_0x460bd8(0x340)],this[_0x460bd8(0x37a)],this[_0x460bd8(0x30d)],!0x1);}}['resend'](){var _0x352e49=_0x51f573;throw new Error(_0x352e49(0x191));}[_0x51f573(0x403)](_0x483e19){var _0x42b36f=_0x51f573;return this[_0x42b36f(0x37a)][_0x42b36f(0x209)](_0x483e19),this;}[_0x51f573(0x33f)](_0x25df8d){var _0x4c1f56=_0x51f573;return this[_0x4c1f56(0x190)][_0x4c1f56(0x209)](_0x25df8d),this;}[_0x51f573(0x37f)](_0x546c9f){var _0x44c845=_0x51f573;if(this[_0x44c845(0x340)])return this[_0x44c845(0x3f0)]=this[_0x44c845(0x340)],this['_awaitingChangeset']=null,this;throw new Error(_0x44c845(0x180));}[_0x51f573(0x99)](_0x272081){var _0x347533=_0x51f573;return this['_onConflict'](!!(_0x272081!=null&&_0x272081[_0x347533(0x222)]));}[_0x51f573(0x18c)](){return this;}[_0x51f573(0x19f)](){var _0x53adc3=_0x51f573;return this[_0x53adc3(0x3c5)]['createInstance'](exports[_0x53adc3(0x167)],this[_0x53adc3(0x3d6)],this[_0x53adc3(0x33c)],this[_0x53adc3(0x340)],this[_0x53adc3(0x37a)],this[_0x53adc3(0x30d)]);}[_0x51f573(0x380)](){return this;}[_0x51f573(0xca)](_0x25f1ff){var _0x5aa87b=_0x51f573;return this['_injector'][_0x5aa87b(0x1c7)](exports[_0x5aa87b(0x281)],this[_0x5aa87b(0x3d6)],this['type'],this[_0x5aa87b(0x340)],this[_0x5aa87b(0x37a)],this['_handler'],_0x25f1ff);}},exports[_0x51f573(0x3a6)]=ae([L(0x7,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),L(0x8,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),L(0x9,o[_0x51f573(0x163)]),L(0xa,o['ICommandService']),L(0xb,o[_0x51f573(0x102)]),L(0xc,E['ITransformService']),L(0xd,o['Optional'](q))],exports[_0x51f573(0x3a6)]);function ft(_0x83ebce,_0x883451,_0x198739,_0xeacc4,_0x51ebf2,_0x14458e){var _0x1e8eb0=_0x51f573;return _0xeacc4&&_0x51ebf2[_0x1e8eb0(0x17a)]?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x400)],_0x883451,_0x198739,_0xeacc4,_0x51ebf2,_0x14458e,void 0x0):_0xeacc4?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x251)],_0x883451,_0x198739,_0xeacc4,_0x14458e):_0x51ebf2[_0x1e8eb0(0x17a)]?_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x38b)],_0x883451,_0x198739,_0x51ebf2,_0x14458e):_0x83ebce[_0x1e8eb0(0x1c7)](exports[_0x1e8eb0(0x3ce)],_0x883451,_0x198739,_0x14458e);}var ii=Object['getOwnPropertyDescriptor'],Be=(_0x141a26,_0x4cc656,_0xe3d1c0,_0x2ea50a)=>{var _0x1f128d=_0x51f573;for(var _0x3a5c31=_0x2ea50a>0x1?void 0x0:_0x2ea50a?ii(_0x4cc656,_0xe3d1c0):_0x4cc656,_0x451538=_0x141a26[_0x1f128d(0x17a)]-0x1,_0xad9693;_0x451538>=0x0;_0x451538--)(_0xad9693=_0x141a26[_0x451538])&&(_0x3a5c31=_0xad9693(_0x3a5c31)||_0x3a5c31);return _0x3a5c31;},$=(_0x6a497e,_0x4189bf)=>(_0x10dc5c,_0x3566c5)=>_0x4189bf(_0x10dc5c,_0x3566c5,_0x6a497e);exports['CollaborationEntity']=class extends o[_0x51f573(0xf7)]{constructor(_0x3786fb,_0x2f0672,_0x2c4323,_0x11755a,_0x378e91,_0x7e4ff3,_0x5d175a,_0x46b02e,_0x16da6c,_0x3a449c,_0x943bf7,_0x336dcf,_0xc6563c,_0x29ca89){var _0x27f8ad=_0x51f573;super(),A(this,'_state$',new j['BehaviorSubject'](null)),A(this,_0x27f8ad(0x1c8),this[_0x27f8ad(0x134)][_0x27f8ad(0x1f9)]()),A(this,_0x27f8ad(0xc0)),A(this,'_collaborationPaused',!0x1),A(this,_0x27f8ad(0x181),''),A(this,_0x27f8ad(0xb2),0x0),A(this,_0x27f8ad(0x365),this[_0x27f8ad(0x1c8)]['pipe'](j[_0x27f8ad(0x2a5)](_0x5c409b=>_0x5c409b?_0x5c409b[_0x27f8ad(0x2a2)]:je[_0x27f8ad(0x2a6)]),j[_0x27f8ad(0x377)](0x1))),A(this,_0x27f8ad(0x130),!0x1),A(this,_0x27f8ad(0x1cf),[]),(this['unitID']=_0x3786fb,this[_0x27f8ad(0x32e)]=_0x2f0672,this['_type']=_0x2c4323,this['_injector']=_0x11755a,this[_0x27f8ad(0x248)]=_0x378e91,this[_0x27f8ad(0x1c3)]=_0x7e4ff3,this[_0x27f8ad(0x1a3)]=_0x5d175a,this['_eventService']=_0x46b02e,this[_0x27f8ad(0x293)]=_0x16da6c,this['_logService']=_0x3a449c,this[_0x27f8ad(0x1ac)]=_0x943bf7,this['_permissionService']=_0x336dcf,this['_singleActiveUnitService']=_0xc6563c,this[_0x27f8ad(0xe4)]=_0x29ca89);}get[_0x51f573(0xcc)](){var _0x52c0ee=_0x51f573;return this[_0x52c0ee(0xc0)];}async[_0x51f573(0x22f)](){var _0x17567a=_0x51f573;if(this[_0x17567a(0xcc)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x17567a(0x241)]();}['pauseCollaboration'](){var _0x1f20d6=_0x51f573;return this[_0x1f20d6(0x31b)]=!0x0,o[_0x1f20d6(0x341)](()=>{var _0x4806a5=_0x1f20d6;this[_0x4806a5(0x31b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x51f573(0x323)](_0x16ce64){var _0x8f8166=_0x51f573;this[_0x8f8166(0x12e)](_0x16ce64);}[_0x51f573(0xf6)](_0x5e3080){var _0x2ef9ba=_0x51f573;this[_0x2ef9ba(0xc0)]=_0x5e3080,this[_0x2ef9ba(0x134)][_0x2ef9ba(0x320)](_0x5e3080);}async[_0x51f573(0x241)](){var _0x5e14eb=_0x51f573,_0x496f58;this[_0x5e14eb(0xf6)](await this[_0x5e14eb(0x2db)]()),this[_0x5e14eb(0x1b1)]&&((_0x496f58=this['_singleActiveUnitService'])==null||_0x496f58[_0x5e14eb(0x1eb)](this[_0x5e14eb(0x3d6)]),this[_0x5e14eb(0x230)](this[_0x5e14eb(0x1b1)][_0x5e14eb(0x27d)](this[_0x5e14eb(0x3d6)])[_0x5e14eb(0xcd)](_0x2a7b03=>{var _0x8e8bba=_0x5e14eb;this['_logService'][_0x8e8bba(0x337)]('[CollaborationEntity]',_0x8e8bba(0x38f),_0x2a7b03),_0x2a7b03===He['OTHER_CLIENTS_EDITING']?(this[_0x8e8bba(0x115)]['emitEvent']({'id':J[_0x8e8bba(0x207)]}),this[_0x8e8bba(0x3e0)]['updatePermissionPoint'](new Q[(_0x8e8bba(0x391))](this[_0x8e8bba(0x3d6)])['id'],!0x1),this['_permissionService'][_0x8e8bba(0x41f)](!0x1)):(this['_permissionService'][_0x8e8bba(0x31c)](new Q[(_0x8e8bba(0x391))](this[_0x8e8bba(0x3d6)])['id'],!0x0),this[_0x8e8bba(0x3e0)][_0x8e8bba(0x41f)](!0x0));})));let _0x427be4=!0x1;return this[_0x5e14eb(0x230)](this['session'][_0x5e14eb(0x166)][_0x5e14eb(0xcd)](_0x3cf8b1=>{var _0x42502f=_0x5e14eb;_0x3cf8b1===se[_0x42502f(0x40e)]?this[_0x42502f(0xae)](_0x427be4):_0x3cf8b1===se[_0x42502f(0x2a6)]&&(_0x427be4=!0x0,this[_0x42502f(0x38a)]());})),this[_0x5e14eb(0x230)](this[_0x5e14eb(0x32e)]['event$']['subscribe'](_0x493276=>{var _0x152830=_0x5e14eb;try{switch(_0x493276[_0x152830(0x3db)]){case E[_0x152830(0x1ed)][_0x152830(0x21b)]:{this[_0x152830(0x3fb)](E[_0x152830(0x428)](_0x493276[_0x152830(0x215)]));break;}case E['CollaborationEvent'][_0x152830(0x26b)]:{this[_0x152830(0x349)](_0x493276[_0x152830(0x215)]);break;}case E[_0x152830(0x1ed)][_0x152830(0x109)]:{this[_0x152830(0x24d)]();break;}case E[_0x152830(0x1ed)][_0x152830(0x363)]:{this[_0x152830(0x1ca)](_0x493276[_0x152830(0x215)]);break;}case E[_0x152830(0x1ed)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x493276[_0x152830(0x215)][_0x152830(0x1b4)][_0x152830(0x2a5)](_0x48d531=>E['parseProtocolChangeset'](_0x48d531)));break;}case E[_0x152830(0x1ed)][_0x152830(0x9e)]:{this[_0x152830(0x24d)]({'isPermissionRej':!0x0});break;}case E[_0x152830(0x1ed)][_0x152830(0x252)]:break;}}catch(_0x40c176){throw console[_0x152830(0x1f8)](_0x152830(0xfe),_0x40c176),_0x40c176;}})),this['_state'];}[_0x51f573(0x2ee)](){var _0x4a1d70=_0x51f573;this[_0x4a1d70(0x130)]=!0x1;}[_0x51f573(0x37c)](){var _0x4bf402=_0x51f573;if(this[_0x4bf402(0x130)])throw new Error(_0x4bf402(0x1f2));this[_0x4bf402(0x130)]=!0x0;}[_0x51f573(0x12e)](_0x5baea1){var _0x5ac2a1=_0x51f573;this[_0x5ac2a1(0x37c)](),this['_updateState'](this[_0x5ac2a1(0xc0)]['appendMutation'](_0x5baea1)),this[_0x5ac2a1(0x2ee)]();}[_0x51f573(0x3fb)](_0xd4118){var _0x1a2e64=_0x51f573;if(!(_0xd4118[_0x1a2e64(0x3ee)]<=this[_0x1a2e64(0x1a3)][_0x1a2e64(0x2bc)](this[_0x1a2e64(0x3d6)]))){if(this[_0x1a2e64(0x31b)]){this['_remoteChangesetQueue'][_0x1a2e64(0x209)](_0xd4118);return;}this[_0x1a2e64(0x299)](_0xd4118);}}[_0x51f573(0x2d8)](){var _0x2ca11d=_0x51f573;this['_remoteChangesetQueue'][_0x2ca11d(0x101)](_0x25d5bc=>this[_0x2ca11d(0x299)](_0x25d5bc)),this[_0x2ca11d(0x1cf)]=[];}[_0x51f573(0x299)](_0x2059ee){var _0x5bf7d5=_0x51f573;const _0x503a4e=this[_0x5bf7d5(0x248)]['interceptor'][_0x5bf7d5(0x2e5)](this[_0x5bf7d5(0x248)][_0x5bf7d5(0x249)][_0x5bf7d5(0x156)]()['COMPRESS_MUTATION_APPLY'])(_0x2059ee['mutations'],null)||_0x2059ee['mutations'],_0x1a8432={..._0x2059ee,'mutations':_0x503a4e};this[_0x5bf7d5(0x37c)](),this[_0x5bf7d5(0xf6)](this[_0x5bf7d5(0xc0)][_0x5bf7d5(0x33f)](_0x1a8432)),this[_0x5bf7d5(0x2ee)]();}[_0x51f573(0x349)](_0x20b593){var _0x25dcd6=_0x51f573;this[_0x25dcd6(0x37c)](),this['_updateState'](this['_state'][_0x25dcd6(0x37f)](_0x20b593)),this[_0x25dcd6(0x2ee)]();}['_onRemoteRejected'](_0x676563){var _0x48204e=_0x51f573;this[_0x48204e(0x37c)](),this[_0x48204e(0xf6)](this[_0x48204e(0xc0)][_0x48204e(0x99)](_0x676563)),this[_0x48204e(0x2ee)]();}[_0x51f573(0x1ca)](_0x25b751){var _0x493666=_0x51f573;this[_0x493666(0x37c)](),this[_0x493666(0xf6)](this[_0x493666(0xc0)][_0x493666(0x18c)](_0x25b751)),this['_unlockTransition']();}[_0x51f573(0x3bf)](_0x169985){var _0x46ae06=_0x51f573;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x46ae06(0x426));const _0x103c95=_0x169985[_0x46ae06(0x2a5)](_0x197496=>{var _0x587245=_0x46ae06;const _0x5b4d0e=this[_0x587245(0x248)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x587245(0x249)][_0x587245(0x156)]()['COMPRESS_MUTATION_APPLY'])(_0x197496['mutations'],null)||_0x197496[_0x587245(0x3a9)];return{..._0x197496,'mutations':_0x5b4d0e};});this['_lockTransition'](),this[_0x46ae06(0xf6)](this[_0x46ae06(0xc0)][_0x46ae06(0x206)](_0x103c95)),this[_0x46ae06(0x2ee)]();}['_toggleOffline'](){var _0x204593=_0x51f573;this[_0x204593(0x37c)](),this[_0x204593(0xf6)](this[_0x204593(0xc0)][_0x204593(0x19f)]()),this[_0x204593(0x2ee)]();}[_0x51f573(0xae)](_0x23d5a1=!0x1){var _0x1bc3c9=_0x51f573;this[_0x1bc3c9(0x37c)](),this[_0x1bc3c9(0xf6)](this[_0x1bc3c9(0xc0)][_0x1bc3c9(0x380)]()),this[_0x1bc3c9(0x2ee)]();const _0x4055ec=this[_0x1bc3c9(0xc0)];_0x23d5a1&&_0x4055ec instanceof exports['SyncedState']&&(this[_0x1bc3c9(0x37c)](),this[_0x1bc3c9(0xf6)](_0x4055ec['fetchMiss']()),this['_unlockTransition']());}async[_0x51f573(0x2db)](){return new Promise(_0x994f48=>{var _0x251b5b=_0xf568;this[_0x251b5b(0x32e)][_0x251b5b(0x166)]['pipe'](j[_0x251b5b(0x42a)](0x1))[_0x251b5b(0xcd)](async _0x219c0f=>{var _0x367792=_0x251b5b;_0x994f48(await this['_createInitialStateImpl'](_0x219c0f===se[_0x367792(0x40e)]));});});}[_0x51f573(0x1ce)](){var _0x17749f=_0x51f573;const _0x33fc07=this[_0x17749f(0x3d6)];return{'onStateChange':(_0xebbc32,_0x5a4099)=>{var _0x404f35=_0x17749f;if(_0xebbc32!==this[_0x404f35(0xc0)])throw new Error(_0x404f35(0x1fa)+_0xebbc32[_0x404f35(0x2a2)]+_0x404f35(0x14e)+_0x5a4099[_0x404f35(0x2a2)]+_0x404f35(0x40a)+this['_state']['status']);this[_0x404f35(0xf6)](_0x5a4099);},'onSendChangeset':_0x8d0c58=>{var _0x86050=_0x17749f;_0x8d0c58['sid']||(_0x8d0c58[_0x86050(0x1e9)]=this[_0x86050(0x181)],_0x8d0c58[_0x86050(0xee)]=++this[_0x86050(0xb2)]);const _0x39d450={'eventID':E['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x8d0c58[_0x86050(0x3d6)],'unitType':this['_type'],'changeset':_0x8d0c58,'memberID':this[_0x86050(0x32e)]['getMemberID']()}};this[_0x86050(0x32e)][_0x86050(0x408)](_0x39d450,this[_0x86050(0x3d6)]);},'onMissingChangesets':({from:_0x7ddc0b,to:_0x33297d})=>{var _0x56f2b4=_0x17749f;this[_0x56f2b4(0x22e)][_0x56f2b4(0x337)](_0x56f2b4(0x296),_0x56f2b4(0x330)+_0x7ddc0b+_0x56f2b4(0x247)+_0x33297d);const _0x538f7f={'eventID':E[_0x56f2b4(0x1ed)]['FETCH_MISSING'],'data':{'unitID':_0x33fc07,'unitType':this[_0x56f2b4(0x2f2)],'from':_0x7ddc0b,'to':_0x33297d}};this[_0x56f2b4(0x32e)][_0x56f2b4(0x408)](_0x538f7f,this['unitID']);}};}async[_0x51f573(0x40f)](_0x3149f9){var _0x525d46=_0x51f573,_0xa7c3d2,_0x1b5800,_0x727786;const _0x2ecae4=await((_0xa7c3d2=this[_0x525d46(0xe4)])==null?void 0x0:_0xa7c3d2[_0x525d46(0x374)](this[_0x525d46(0x3d6)])),_0xa0727e=(_0x1b5800=_0x2ecae4==null?void 0x0:_0x2ecae4[_0x525d46(0x3a9)])!=null?_0x1b5800:[],_0x466f27=(_0x727786=_0x2ecae4==null?void 0x0:_0x2ecae4[_0x525d46(0x1b2)])!=null?_0x727786:null,_0x2fd104=!!(_0x466f27!=null&&_0x466f27[_0x525d46(0x1e9)])&&!!(_0x466f27!=null&&_0x466f27[_0x525d46(0xee)]);this[_0x525d46(0x181)]=_0x2fd104?_0x466f27['sid']:E['uuidv4'](),this[_0x525d46(0xb2)]=_0x2fd104?_0x466f27['reqId']:0x0;const _0x12ab07=this[_0x525d46(0x3d6)];try{this[_0x525d46(0xf4)](_0x466f27,_0xa0727e);}catch(_0x100ea8){this[_0x525d46(0x22e)][_0x525d46(0x1f8)](_0x100ea8);}const _0x41675f=this[_0x525d46(0x1ce)]();if(_0x3149f9){const _0x50a13b=ft(this[_0x525d46(0x3c5)],_0x12ab07,this['_type'],_0x466f27,_0xa0727e,_0x41675f);return _0x50a13b instanceof exports[_0x525d46(0x38b)]?_0x50a13b[_0x525d46(0x302)]():(_0x50a13b instanceof exports[_0x525d46(0x400)]||_0x50a13b instanceof exports['AwaitingState'])&&_0x50a13b['resend'](),_0x50a13b;}return this[_0x525d46(0x3c5)][_0x525d46(0x1c7)](exports[_0x525d46(0x167)],_0x12ab07,this[_0x525d46(0x2f2)],_0x466f27,_0xa0727e,_0x41675f);}[_0x51f573(0xf4)](_0x14e160,_0x16fdc6){var _0x4beebf=_0x51f573,_0x5acf7f,_0x3f8121;const _0x2a7cbb=this[_0x4beebf(0x248)][_0x4beebf(0x249)]['fetchThroughInterceptors'](this[_0x4beebf(0x248)][_0x4beebf(0x249)][_0x4beebf(0x156)]()[_0x4beebf(0x10b)]);(_0x5acf7f=_0x2a7cbb((_0x14e160==null?void 0x0:_0x14e160[_0x4beebf(0x3a9)])||[],null))==null||_0x5acf7f[_0x4beebf(0x101)](_0x2717c0=>this[_0x4beebf(0x1ac)][_0x4beebf(0x3ae)](_0x2717c0['id'],_0x2717c0['params'])),(_0x3f8121=_0x2a7cbb(_0x16fdc6||[],null))==null||_0x3f8121[_0x4beebf(0x101)](_0x36238d=>this['_commandService']['executeCommand'](_0x36238d['id'],_0x36238d['params']));}},exports[_0x51f573(0x126)]=Be([$(0x3,o[_0x51f573(0x2ba)](o['Injector'])),$(0x4,o[_0x51f573(0x2ba)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](ee)),$(0x8,o[_0x51f573(0x168)]),$(0x9,o[_0x51f573(0x163)]),$(0xa,o[_0x51f573(0x310)]),$(0xb,o[_0x51f573(0x36f)]),$(0xc,o[_0x51f573(0x366)](ve)),$(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x126)]),exports[_0x51f573(0x18d)]=class extends exports[_0x51f573(0x126)]{constructor(_0x3d3eeb,_0x524372,_0x2521a9,_0x431895,_0x24b4eb,_0x42d115,_0x5a9b8d,_0x5e36f9,_0x3110f5,_0x308923,_0x3bfaae,_0x413798,_0x10bd97,_0x4037d1){var _0x5ed224=_0x51f573;super(_0x3d3eeb,_0x2521a9,_0x524372,_0x431895,_0x24b4eb,_0x42d115,_0x5a9b8d,_0x5e36f9,_0x3110f5,_0x308923,_0x3bfaae,_0x413798,_0x10bd97,_0x4037d1),A(this,_0x5ed224(0x260),null),(this[_0x5ed224(0x3d6)]=_0x3d3eeb,this[_0x5ed224(0x33c)]=_0x524372);}[_0x51f573(0x291)](_0x574c3b){var _0x4233e1=_0x51f573;this[_0x4233e1(0x260)]=_0x574c3b;}[_0x51f573(0x27e)](){var _0x284f53=_0x51f573;this[_0x284f53(0x260)]=null,super[_0x284f53(0x27e)]();}['_createHandler'](){var _0x292124=_0x51f573;const _0xb08972=super[_0x292124(0x1ce)]();return _0xb08972[_0x292124(0x39d)]=_0x3d5b5e=>{var _0x4ccf92=_0x292124,_0x1dbc2d,_0x981531;return(_0x981531=(_0x1dbc2d=this[_0x4ccf92(0x260)])==null?void 0x0:_0x1dbc2d[_0x4ccf92(0x39d)])==null?void 0x0:_0x981531[_0x4ccf92(0x31f)](_0x1dbc2d,_0x3d5b5e);},_0xb08972[_0x292124(0x94)]=_0x5a180a=>{var _0x43c230=_0x292124,_0x3399b6,_0x5aa9d7;return(_0x5aa9d7=(_0x3399b6=this[_0x43c230(0x260)])==null?void 0x0:_0x3399b6[_0x43c230(0x94)])==null?void 0x0:_0x5aa9d7[_0x43c230(0x31f)](_0x3399b6,_0x5a180a);},_0xb08972[_0x292124(0x107)]=_0x1dcf21=>{var _0x335751=_0x292124,_0x2305df,_0xd4536b;return(_0xd4536b=(_0x2305df=this[_0x335751(0x260)])==null?void 0x0:_0x2305df[_0x335751(0x107)])==null?void 0x0:_0xd4536b[_0x335751(0x31f)](_0x2305df,_0x1dcf21);},_0xb08972[_0x292124(0x3e9)]=_0xd83953=>{var _0x9e81e8=_0x292124,_0xbaeb71,_0x45e0cd;return(_0x45e0cd=(_0xbaeb71=this[_0x9e81e8(0x260)])==null?void 0x0:_0xbaeb71[_0x9e81e8(0x3e9)])==null?void 0x0:_0x45e0cd[_0x9e81e8(0x31f)](_0xbaeb71,_0xd83953);},_0xb08972[_0x292124(0x3cd)]=_0x454b1e=>{var _0x375238=_0x292124,_0x3fa345,_0x50b5c,_0x431faf;if(!((_0x3fa345=this[_0x375238(0x260)])!=null&&_0x3fa345[_0x375238(0x3cd)]))throw new Error(_0x375238(0x218));return(_0x431faf=(_0x50b5c=this[_0x375238(0x260)])==null?void 0x0:_0x50b5c[_0x375238(0x3cd)])==null?void 0x0:_0x431faf[_0x375238(0x31f)](_0x50b5c,_0x454b1e);},_0xb08972['onTransformRemoteChangesetByStateCache']=_0x3c00af=>{var _0x5ca49c=_0x292124,_0x55f95f,_0x4e9b0f,_0x1634bb;if(!((_0x55f95f=this[_0x5ca49c(0x260)])!=null&&_0x55f95f[_0x5ca49c(0x392)]))throw new Error(_0x5ca49c(0x1e6));return(_0x1634bb=(_0x4e9b0f=this[_0x5ca49c(0x260)])==null?void 0x0:_0x4e9b0f[_0x5ca49c(0x392)])==null?void 0x0:_0x1634bb['call'](_0x4e9b0f,_0x3c00af);},_0xb08972;}async[_0x51f573(0x241)](){var _0x4228b1=_0x51f573;const _0x2b6825=await super['_init']();return this[_0x4228b1(0x230)](this['_commandService'][_0x4228b1(0x1dc)]((_0x23ee73,_0xf8a548)=>{var _0x30f4ae=_0x4228b1;if(_0x23ee73['type']!==o[_0x30f4ae(0x356)][_0x30f4ae(0x387)]||_0xf8a548!=null&&_0xf8a548[_0x30f4ae(0xf8)]||_0xf8a548!=null&&_0xf8a548[_0x30f4ae(0x95)]||_0x23ee73['id']===ct[_0x30f4ae(0x406)]['id'])return;const _0x3bfbc3=_0x23ee73[_0x30f4ae(0x2b8)];if((_0x3bfbc3==null?void 0x0:_0x3bfbc3[_0x30f4ae(0x32f)])!==this[_0x30f4ae(0x3d6)])return;const _0x502f92=_0x23ee73,_0x4f4645=this[_0x30f4ae(0x248)][_0x30f4ae(0x249)][_0x30f4ae(0x2e5)](this[_0x30f4ae(0x248)][_0x30f4ae(0x249)][_0x30f4ae(0x156)]()[_0x30f4ae(0x2c3)])([_0x502f92],this[_0x30f4ae(0x293)])||[_0x502f92];this[_0x30f4ae(0x12e)](_0x4f4645[0x0]);})),_0x2b6825;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),$(0x4,o['Inject'](E['CompressMutationService'])),$(0x5,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](ee)),$(0x8,o[_0x51f573(0x168)]),$(0x9,o[_0x51f573(0x163)]),$(0xa,o['ICommandService']),$(0xb,o[_0x51f573(0x36f)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x18d)]),exports['SheetCollaborationEntity']=class extends exports[_0x51f573(0x126)]{constructor(_0x55b5c1,_0x3c19cc,_0x17d8b5,_0x35601c,_0x3c6197,_0xcab8ea,_0x49e6f1,_0x5be873,_0x359658,_0x1a3ba6,_0x24d8ad,_0x4d14bf,_0x14eaff,_0x5e65d9,_0xff86b0){var _0x4c69db=_0x51f573;super(_0x55b5c1,_0x17d8b5,_0x3c19cc,_0x35601c,_0x3c6197,_0xcab8ea,_0x49e6f1,_0x359658,_0x1a3ba6,_0x24d8ad,_0x4d14bf,_0x14eaff,_0x5e65d9,_0xff86b0),this[_0x4c69db(0x3d6)]=_0x55b5c1,this['type']=_0x3c19cc,this[_0x4c69db(0x35d)]=_0x5be873;}[_0x51f573(0x1ce)](){var _0x145c89=_0x51f573;const _0xb14538=super[_0x145c89(0x1ce)]();return _0xb14538[_0x145c89(0x107)]=_0x5f3f76=>this[_0x145c89(0x35d)][_0x145c89(0x160)](_0x5f3f76),_0xb14538;}async['_init'](){var _0x5059a3=_0x51f573;const _0x37fd74=await super['_init']();return this[_0x5059a3(0x230)](this['_commandService'][_0x5059a3(0x1dc)]((_0x469ac,_0x232129)=>{var _0x39be98=_0x5059a3;if(_0x469ac[_0x39be98(0x33c)]!==o[_0x39be98(0x356)][_0x39be98(0x387)]||_0x232129!=null&&_0x232129[_0x39be98(0xf8)]||_0x232129!=null&&_0x232129[_0x39be98(0x95)])return;const _0x55c612=_0x469ac['params'];if((_0x55c612==null?void 0x0:_0x55c612['unitId'])!==this[_0x39be98(0x3d6)])return;const _0xfa9c1e=_0x469ac,_0x14e1c9=this[_0x39be98(0x248)][_0x39be98(0x249)][_0x39be98(0x2e5)](this['_compressMutationService'][_0x39be98(0x249)][_0x39be98(0x156)]()[_0x39be98(0x2c3)])([_0xfa9c1e],this[_0x39be98(0x293)])||[_0xfa9c1e];this[_0x39be98(0x12e)](_0x14e1c9[0x0]);})),_0x37fd74;}},exports[_0x51f573(0x17c)]=Be([$(0x3,o[_0x51f573(0x2ba)](o['Injector'])),$(0x4,o[_0x51f573(0x2ba)](E[_0x51f573(0xe5)])),$(0x5,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)])),$(0x6,o[_0x51f573(0x2ba)](E[_0x51f573(0x40d)])),$(0x7,o[_0x51f573(0x2ba)](exports[_0x51f573(0x316)])),$(0x8,o[_0x51f573(0x2ba)](ee)),$(0x9,o[_0x51f573(0x168)]),$(0xa,o[_0x51f573(0x163)]),$(0xb,o[_0x51f573(0x310)]),$(0xc,o[_0x51f573(0x36f)]),$(0xd,o['Optional'](ve)),$(0xe,o[_0x51f573(0x366)](q))],exports[_0x51f573(0x17c)]);const Et=o[_0x51f573(0x2bb)](_0x51f573(0x177));function pt(_0x50fd4d){var _0x5800cc=_0x51f573,_0x542ffd,_0x3f3950,_0x2a7ddf,_0x1fcc26,_0x12ec62;const _0x5a6e85=_0x50fd4d['data'],_0x1d6e57=JSON[_0x5800cc(0xa4)](_0x5a6e85);switch(_0x1d6e57[_0x5800cc(0x34a)]){case W[_0x5800cc(0x298)]:case W[_0x5800cc(0xb5)]:{const _0x57481b=_0x1d6e57[_0x5800cc(0x1aa)];return{..._0x1d6e57,'data':_0x57481b,'cmd':_0x1d6e57['cmd']};}case W[_0x5800cc(0x1dd)]:{const _0x817e5=_0x1d6e57[_0x5800cc(0x214)];return{..._0x1d6e57,'data':_0x817e5,'cmd':_0x1d6e57[_0x5800cc(0x34a)]};}case W['RECV']:{const _0x57f2fb=_0x1d6e57[_0x5800cc(0x1c5)];switch(_0x57f2fb[_0x5800cc(0x3db)]){case E['CollaborationEvent'][_0x5800cc(0x9e)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x542ffd=_0x57f2fb[_0x5800cc(0xd8)])==null?void 0x0:_0x542ffd['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x26b)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x3f3950=_0x57f2fb[_0x5800cc(0x170)])==null?void 0x0:_0x3f3950['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x21b)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x2a7ddf=_0x57f2fb[_0x5800cc(0x2a0)])==null?void 0x0:_0x2a7ddf['cs']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)]['CHANGESET_REJ']:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x1fcc26=_0x57f2fb[_0x5800cc(0xf2)])==null?void 0x0:_0x1fcc26['cs']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x363)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':(_0x12ec62=_0x57f2fb[_0x5800cc(0xc8)])==null?void 0x0:_0x12ec62['cs']},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x34c)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x300)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x405)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb['joinEvent']},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x21f)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x359)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x1e2)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1ae)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x2ff)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x16c)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x104)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1ae)]},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x159)]:return{..._0x1d6e57,'data':_0x57f2fb,'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x1f7)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x153)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E['CollaborationEvent'][_0x5800cc(0x259)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x1d7)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};case E[_0x5800cc(0x1ed)][_0x5800cc(0x110)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x376)]},'cmd':_0x1d6e57['cmd']};case E[_0x5800cc(0x1ed)][_0x5800cc(0x252)]:return{..._0x1d6e57,'data':{..._0x57f2fb,'data':_0x57f2fb[_0x5800cc(0x39c)]},'cmd':_0x1d6e57[_0x5800cc(0x34a)]};default:return _0x1d6e57;}}default:return _0x1d6e57;}}function mt(_0x1e27a3){var _0x233548=_0x51f573;switch(_0x1e27a3[_0x233548(0x34a)]){case W[_0x233548(0x298)]:case W[_0x233548(0xb5)]:return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3['routeKey']});case W[_0x233548(0x38d)]:{let _0x13a9cb;switch(_0x1e27a3[_0x233548(0x215)][_0x233548(0x3db)]){case E[_0x233548(0x1ed)][_0x233548(0x34c)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x34c)],'updateCursorEvent':_0x1e27a3['data'][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x21f)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x21f)],'leaveEvent':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x405)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x405)],'joinEvent':_0x1e27a3['data'][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x1e2)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x1e2)],'liveShareNewHost':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)][_0x233548(0x2ac)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x2ac)],'liveShareOperation':_0x1e27a3['data']['data']};break;}case E[_0x233548(0x1ed)][_0x233548(0x104)]:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x104)],'liveShareTerminate':_0x1e27a3[_0x233548(0x215)]['data']};break;}case E['CollaborationEvent'][_0x233548(0x333)]:{_0x13a9cb={'eventID':E['CollaborationEvent'][_0x233548(0x333)],'liveShareRequestHost':_0x1e27a3[_0x233548(0x215)][_0x233548(0x215)]};break;}case E[_0x233548(0x1ed)]['LIVESHARE_FETCH_OPERATIONS']:{_0x13a9cb={'eventID':E[_0x233548(0x1ed)][_0x233548(0x2ff)]};break;}default:_0x13a9cb={'eventID':_0x1e27a3['data']['eventID']};}return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'collaMsg':_0x13a9cb});}case W['JOIN']:return JSON[_0x233548(0x29c)]({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'joinReq':_0x1e27a3[_0x233548(0x215)]});case W[_0x233548(0x3b3)]:return JSON['stringify']({'cmd':_0x1e27a3[_0x233548(0x34a)],'routeKey':_0x1e27a3[_0x233548(0x29f)],'leaveReq':_0x1e27a3[_0x233548(0x215)]});default:throw new Error(_0x233548(0x2a8));}}var ni=Object[_0x51f573(0x395)],si=(_0x51092d,_0x567fad,_0x44d983,_0x325bb2)=>{var _0x825fe1=_0x51f573;for(var _0x3afcdf=_0x325bb2>0x1?void 0x0:_0x325bb2?ni(_0x567fad,_0x44d983):_0x567fad,_0x2d20b7=_0x51092d[_0x825fe1(0x17a)]-0x1,_0xf5966;_0x2d20b7>=0x0;_0x2d20b7--)(_0xf5966=_0x51092d[_0x2d20b7])&&(_0x3afcdf=_0xf5966(_0x3afcdf)||_0x3afcdf);return _0x3afcdf;},_e=(_0x3b51cd,_0x91d355)=>(_0x29108a,_0xda28f9)=>_0x91d355(_0x29108a,_0xda28f9,_0x3b51cd);const Fe=o[_0x51f573(0x2bb)](_0x51f573(0x351));function ri(_0x17977b,_0x166059,_0x4c5e79){var _0x2fe851=_0x51f573;return _0x17977b+'/'+_0x166059+_0x2fe851(0x225)+_0x4c5e79+_0x2fe851(0x32c);}exports[_0x51f573(0x23b)]=class extends o[_0x51f573(0x1f3)]{constructor(_0x105890,_0x326109,_0x4935c3,_0x249fff,_0x49e9d2){var _0xa145ef=_0x51f573;super(),this[_0xa145ef(0x3c5)]=_0x105890,this['_httpService']=_0x326109,this[_0xa145ef(0x373)]=_0x4935c3,this[_0xa145ef(0x22e)]=_0x249fff,this['_snapshotServerService']=_0x49e9d2;}[_0x51f573(0x3b9)](_0x27f702){var _0x2e3b51=_0x51f573;const _0x4dd10b=this[_0x2e3b51(0x3c5)][_0x2e3b51(0x33d)](K[_0x2e3b51(0x2d4)]);if(!_0x4dd10b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2376e0=_0x4dd10b[_0x2e3b51(0x407)](_0x27f702);if(!_0x2376e0)throw new Error(_0x2e3b51(0xe3));const _0x41b42b=new o[(_0x2e3b51(0x105))](),_0x27ba6a=new j[(_0x2e3b51(0x243))]();_0x41b42b['add'](_0x2376e0[_0x2e3b51(0x1a0)]['subscribe'](_0x21d8d0=>_0x27ba6a['next'](_0x21d8d0))),_0x41b42b[_0x2e3b51(0x32b)](o[_0x2e3b51(0x341)](()=>_0x27ba6a[_0x2e3b51(0x412)]()));const _0x576c3e=new j['Subject']();_0x41b42b[_0x2e3b51(0x32b)](_0x2376e0[_0x2e3b51(0x2e4)][_0x2e3b51(0xcd)](_0x353d35=>_0x576c3e['next'](_0x353d35))),_0x41b42b[_0x2e3b51(0x32b)](o[_0x2e3b51(0x341)](()=>_0x576c3e['complete']()));const _0x416bc0=new j[(_0x2e3b51(0x243))]();_0x41b42b[_0x2e3b51(0x32b)](_0x2376e0[_0x2e3b51(0x3ef)][_0x2e3b51(0xcd)](_0x1b9f27=>{var _0x55863e=_0x2e3b51;const _0x1be65c=pt(_0x1b9f27);_0x416bc0[_0x55863e(0x320)](_0x1be65c);})),_0x41b42b['add'](o[_0x2e3b51(0x341)](()=>_0x416bc0[_0x2e3b51(0x412)]()));let _0x379663;const _0x31bb5f=()=>{var _0x390b4b=_0x2e3b51;_0x576c3e[_0x390b4b(0x320)](new Event(_0x390b4b(0x2fd))),_0x27ba6a[_0x390b4b(0x320)](new Event(_0x390b4b(0x2fd))),_0x379663['close']();};return _0x379663={'memberID':'','close$':_0x27ba6a[_0x2e3b51(0x1f9)](),'error$':_0x576c3e[_0x2e3b51(0x1f9)](),'open$':_0x2376e0[_0x2e3b51(0x1ab)],'message$':_0x416bc0[_0x2e3b51(0x1f9)](),'send':_0x4ad91a=>{var _0x95c6c6=_0x2e3b51;if(_0x4ad91a['cmd']===W[_0x95c6c6(0x38d)]){if(_0x4ad91a['data'][_0x95c6c6(0x3db)]===E[_0x95c6c6(0x1ed)][_0x95c6c6(0x1b6)]){this[_0x95c6c6(0x345)](_0x379663,_0x4ad91a[_0x95c6c6(0x215)])['catch'](_0x4918d1=>{var _0x33e80d=_0x95c6c6;this[_0x33e80d(0x22e)][_0x33e80d(0x1f8)](_0x4918d1),_0x31bb5f();});return;}if(_0x4ad91a[_0x95c6c6(0x215)][_0x95c6c6(0x3db)]===E[_0x95c6c6(0x1ed)][_0x95c6c6(0x253)]){const _0x433874=_0x4ad91a[_0x95c6c6(0x215)];this[_0x95c6c6(0x186)](_0x433874)[_0x95c6c6(0x1e1)](_0x38cb2f=>{var _0xd701c8=_0x95c6c6;_0x416bc0['next']({'cmd':W[_0xd701c8(0x3d2)],'code':re['OK'],'routeKey':_0x433874[_0xd701c8(0x215)][_0xd701c8(0x3d6)],'routeType':'','data':{'eventID':E[_0xd701c8(0x1ed)][_0xd701c8(0x219)],'data':{'changesets':_0x38cb2f}}});})[_0x95c6c6(0x10f)](_0x2c5554=>{var _0x183783=_0x95c6c6;this[_0x183783(0x22e)][_0x183783(0x1f8)](_0x2c5554),_0x31bb5f();});return;}}_0x2376e0[_0x95c6c6(0x408)](mt(_0x4ad91a));},'close':()=>{var _0x512790=_0x2e3b51;_0x2376e0[_0x512790(0x1ff)](),_0x41b42b['dispose']();}},_0x379663;}async[_0x51f573(0x345)](_0x16d2ec,_0x4852e3){var _0x46fdaf=_0x51f573,_0xe8a592;const {unitType:_0x8c2ee9,unitID:_0x2d8a36,changeset:_0x48381e}=_0x4852e3[_0x46fdaf(0x215)],_0x5339ea={'unitID':_0x2d8a36,'memberID':_0x16d2ec['memberID'],'type':_0x8c2ee9,'changeset':E[_0x46fdaf(0x238)](_0x48381e)},_0x49defe=this[_0x46fdaf(0x373)][_0x46fdaf(0x1c9)](Y),_0xd2c0d=ri((_0xe8a592=_0x49defe==null?void 0x0:_0x49defe['collabSubmitChangesetUrl'])!=null?_0xe8a592:kt,_0x8c2ee9,_0x2d8a36);try{await this['_httpService']['post'](_0xd2c0d,{'body':_0x5339ea});}catch(_0x279c94){throw this['_logService']['error'](_0x46fdaf(0x112),'submit\x20changeset\x20error!'),_0x279c94;}}async[_0x51f573(0x186)](_0x32f1fd){var _0x18eddc=_0x51f573;const {unitID:_0x216e08,from:_0x1b0bb4,to:_0x248691,unitType:_0x5c399c}=_0x32f1fd['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x216e08,'type':_0x5c399c,'from':_0x1b0bb4,'to':_0x248691}))['changesets'][_0x18eddc(0x2a5)](_0xd9737c=>((_0xd9737c['mutations']===null||_0xd9737c[_0x18eddc(0x3a9)]===void 0x0)&&(_0xd9737c[_0x18eddc(0x3a9)]=[]),_0xd9737c));}},exports[_0x51f573(0x23b)]=si([_e(0x0,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),_e(0x1,o['Inject'](K['HTTPService'])),_e(0x2,o['IConfigService']),_e(0x3,o[_0x51f573(0x163)]),_e(0x4,E[_0x51f573(0x122)])],exports[_0x51f573(0x23b)]);var ai=Object[_0x51f573(0x395)],oi=(_0x5be7aa,_0x46ff9f,_0x36cf09,_0x197832)=>{var _0x1fcc18=_0x51f573;for(var _0x7f6e47=_0x197832>0x1?void 0x0:_0x197832?ai(_0x46ff9f,_0x36cf09):_0x46ff9f,_0x4691a3=_0x5be7aa[_0x1fcc18(0x17a)]-0x1,_0xdad851;_0x4691a3>=0x0;_0x4691a3--)(_0xdad851=_0x5be7aa[_0x4691a3])&&(_0x7f6e47=_0xdad851(_0x7f6e47)||_0x7f6e47);return _0x7f6e47;},he=(_0x2ca4b4,_0x1a2e0f)=>(_0x4b8b62,_0x5d6b2d)=>_0x1a2e0f(_0x4b8b62,_0x5d6b2d,_0x2ca4b4);exports[_0x51f573(0x40b)]=class extends o[_0x51f573(0x1f3)]{constructor(_0x200a30,_0x32df24,_0x21e270,_0x242e62,_0x5dfbd1,_0x28094e){var _0x22d8c4=_0x51f573;super(),A(this,'_socket$',new j[(_0x22d8c4(0x413))](void 0x0)),A(this,_0x22d8c4(0x250),this[_0x22d8c4(0x40c)][_0x22d8c4(0x1f9)]()),A(this,'_candidateSocket',null),A(this,_0x22d8c4(0x22d),new Map()),A(this,_0x22d8c4(0x28f),new j[(_0x22d8c4(0x413))](se[_0x22d8c4(0x2e1)])),A(this,'status$',this['_status$']['asObservable']()),A(this,_0x22d8c4(0x23c),!0x1),A(this,_0x22d8c4(0x15d)),A(this,'_retryCount',0x0),A(this,_0x22d8c4(0x3bb)),A(this,'_timeoutTimer'),(this[_0x22d8c4(0x3c5)]=_0x200a30,this[_0x22d8c4(0x22e)]=_0x32df24,this[_0x22d8c4(0x373)]=_0x21e270,this[_0x22d8c4(0xde)]=_0x242e62,this[_0x22d8c4(0x36d)]=_0x5dfbd1,this[_0x22d8c4(0x35b)]=_0x28094e,this[_0x22d8c4(0x128)]());}get['_socket'](){var _0x4113d1=_0x51f573;return this[_0x4113d1(0x40c)][_0x4113d1(0x3e8)]();}[_0x51f573(0x128)](){var _0x4699d2=_0x51f573;this[_0x4699d2(0x35b)]&&this['disposeWithMe'](this[_0x4699d2(0x35b)][_0x4699d2(0x2b0)][_0x4699d2(0xcd)](_0x2f413c=>{var _0x57636c=_0x4699d2;_0x2f413c&&!this[_0x57636c(0x3d0)]&&this[_0x57636c(0x1d3)](),_0x2f413c||this[_0x57636c(0x34b)]();}));}[_0x51f573(0x27e)](){var _0x3cbc2c=_0x51f573;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x3cbc2c(0xe6)](),this[_0x3cbc2c(0x10a)](),this[_0x3cbc2c(0x22d)]['forEach'](_0x77a3ff=>_0x77a3ff[_0x3cbc2c(0x27e)]()),this[_0x3cbc2c(0x22d)]['clear'](),this[_0x3cbc2c(0x28f)]['complete']();}async['requireSession'](_0x18e230){var _0x50440c=_0x51f573;if(this[_0x50440c(0x22d)][_0x50440c(0x3df)](_0x18e230))return this['_sessions'][_0x50440c(0x33d)](_0x18e230);this[_0x50440c(0x137)]();const _0x23eb10=this[_0x50440c(0x3c5)][_0x50440c(0x1c7)](exports[_0x50440c(0x236)],_0x18e230,this['_socket$']['asObservable']());return this[_0x50440c(0x22d)][_0x50440c(0x28a)](_0x18e230,_0x23eb10),_0x23eb10;}['closeSession'](_0x3ae556){var _0x5bde36=_0x51f573,_0x37d0bc;const _0x5d926d=this['_sessions'][_0x5bde36(0x33d)](_0x3ae556);_0x5d926d&&(this[_0x5bde36(0x22d)][_0x5bde36(0x3a1)](_0x3ae556),_0x5d926d[_0x5bde36(0x1ff)]()),this[_0x5bde36(0x22d)]['size']||(_0x37d0bc=this[_0x5bde36(0x3d0)])==null||_0x37d0bc[_0x5bde36(0x1ff)]();}['reconnect'](){var _0x507049=_0x51f573;this['_retryCount']=0x0,this[_0x507049(0xc4)](),this[_0x507049(0x2f8)]();}[_0x51f573(0xc4)](){var _0x555970=_0x51f573;this[_0x555970(0x15d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x555970(0x15d)]=null);}async['_createSocket'](){var _0xd9a862=_0x51f573,_0x2a2e27;const _0x2a2d56=this[_0xd9a862(0x373)][_0xd9a862(0x1c9)](Y),_0x4cafc4=(_0x2a2e27=_0x2a2d56==null?void 0x0:_0x2a2d56[_0xd9a862(0xa6)])!=null?_0x2a2e27:ht,_0x3d4051=await this[_0xd9a862(0xde)][_0xd9a862(0x407)](_0x4cafc4);return this[_0xd9a862(0x1bd)]=_0x3d4051,_0x3d4051;}async[_0x51f573(0x137)](){var _0x2e9d60=_0x51f573,_0x39737d,_0x4fe832;try{const _0x7cf339=(_0x4fe832=(_0x39737d=this['_socket'])!=null?_0x39737d:this[_0x2e9d60(0x1bd)])!=null?_0x4fe832:await this[_0x2e9d60(0x2ca)]();if(_0x7cf339){const _0x5d3912=_0x7cf339['send'];_0x7cf339['send']=_0x43a5cf=>(this[_0x2e9d60(0xa7)](),_0x5d3912[_0x2e9d60(0x23f)](_0x7cf339,[_0x43a5cf])),_0x7cf339[_0x2e9d60(0x3ef)][_0x2e9d60(0xcd)](_0x1dd04f=>this[_0x2e9d60(0x263)](_0x7cf339,_0x1dd04f)),_0x7cf339[_0x2e9d60(0x2e4)][_0x2e9d60(0x3aa)](V[_0x2e9d60(0x42a)](0x1))[_0x2e9d60(0xcd)](_0x46cc7d=>this[_0x2e9d60(0x22e)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x46cc7d)),_0x7cf339[_0x2e9d60(0x1ab)][_0x2e9d60(0x3aa)](V[_0x2e9d60(0x42a)](0x1))[_0x2e9d60(0xcd)](()=>{this['_onConnectionOpen'](_0x7cf339);}),_0x7cf339[_0x2e9d60(0x1a0)][_0x2e9d60(0x3aa)](V['take'](0x1))[_0x2e9d60(0xcd)](_0x297207=>{var _0x4c5549=_0x2e9d60;this[_0x4c5549(0x22e)][_0x4c5549(0x337)]('[CollaborationSessionService]',_0x4c5549(0x28b),_0x297207),this[_0x4c5549(0x143)]();});}}catch(_0x28c913){this[_0x2e9d60(0x22e)][_0x2e9d60(0x1f8)](_0x28c913),this[_0x2e9d60(0x143)]();}}[_0x51f573(0x385)](_0x203b55){var _0x36f3d5=_0x51f573;this[_0x36f3d5(0x22e)][_0x36f3d5(0x337)](_0x36f3d5(0x35a),'socket\x20open.'),_0x203b55[_0x36f3d5(0x408)]({'cmd':W[_0x36f3d5(0xb5)]}),this[_0x36f3d5(0xa7)]();}[_0x51f573(0x34b)](){var _0x52757c=_0x51f573;this[_0x52757c(0x23c)]=!0x1,this[_0x52757c(0x1bd)]=null,this[_0x52757c(0x28f)][_0x52757c(0x320)](se[_0x52757c(0x2a6)]),this['_socket$'][_0x52757c(0x320)](null),this[_0x52757c(0xe6)](),this[_0x52757c(0x10a)]();}[_0x51f573(0x143)](){var _0x240e27=_0x51f573,_0x4df106;this[_0x240e27(0x34b)](),this[_0x240e27(0x93)]<((_0x4df106=this[_0x240e27(0x373)][_0x240e27(0x1c9)](ut))!=null?_0x4df106:Mt)?(this[_0x240e27(0x36d)][_0x240e27(0x276)]({'id':J[_0x240e27(0x12c)]}),this[_0x240e27(0x2f8)]()):this['_collaborationUIEventService'][_0x240e27(0x276)]({'id':J[_0x240e27(0x424)]});}[_0x51f573(0x2f8)](){var _0x57e96a=_0x51f573,_0x1a196e;const _0x1b9208=this[_0x57e96a(0x93)],_0x45bb48=this[_0x57e96a(0x373)]['getConfig'](Y),_0x3e30b0=_0x1b9208===0x0?0x0:((_0x1a196e=_0x45bb48==null?void 0x0:_0x45bb48[_0x57e96a(0x1e4)])!=null?_0x1a196e:Lt)*0x2**_0x1b9208;this['_retryConnectingTimer']=setTimeout(()=>{var _0x46a7f3=_0x57e96a;clearTimeout(this[_0x46a7f3(0x15d)]),this[_0x46a7f3(0x15d)]=null,this['_tryEnsureSocket']();},_0x3e30b0),this['_retryCount']+=0x1;}[_0x51f573(0x263)](_0x4078fb,_0x135e45){var _0x3cef22=_0x51f573;const {cmd:_0x17101d}=_0x135e45;_0x17101d===W[_0x3cef22(0xb5)]&&!this[_0x3cef22(0x23c)]&&(_0x4078fb[_0x3cef22(0x270)]=_0x135e45[_0x3cef22(0x215)][_0x3cef22(0x270)],this[_0x3cef22(0x40c)][_0x3cef22(0x320)](_0x4078fb),this['_status$'][_0x3cef22(0x320)](se['ONLINE']),this[_0x3cef22(0x23c)]=!0x0,this[_0x3cef22(0x1bd)]=null),_0x17101d===W['HEARTBEAT']&&this[_0x3cef22(0xe6)](),this[_0x3cef22(0xa7)]();}[_0x51f573(0xa7)](){var _0x2efa20=_0x51f573,_0x3163e1;this[_0x2efa20(0x10a)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2efa20(0x419)](),(_0x3163e1=this[_0x2efa20(0x373)][_0x2efa20(0x1c9)](_t))!=null?_0x3163e1:Pt);}[_0x51f573(0x419)](){var _0x267db2=_0x51f573;this[_0x267db2(0x3d0)][_0x267db2(0x408)]({'cmd':W[_0x267db2(0x298)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x49f350=_0x51f573,_0x4ff5c1;this[_0x49f350(0x147)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4ff5c1=this[_0x49f350(0x373)][_0x49f350(0x1c9)](ke))!=null?_0x4ff5c1:lt);}[_0x51f573(0x10a)](){var _0x46e5de=_0x51f573;this[_0x46e5de(0x3bb)]!=null&&(clearTimeout(this[_0x46e5de(0x3bb)]),this[_0x46e5de(0x3bb)]=null);}[_0x51f573(0xe6)](){var _0x56713e=_0x51f573;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x56713e(0x147)]=null);}},exports[_0x51f573(0x40b)]=oi([he(0x0,o[_0x51f573(0x2ba)](o[_0x51f573(0x364)])),he(0x1,o[_0x51f573(0x163)]),he(0x2,o[_0x51f573(0x3ec)]),he(0x3,Fe),he(0x4,o[_0x51f573(0x2ba)](ee)),he(0x5,o[_0x51f573(0x366)](Et))],exports[_0x51f573(0x40b)]);var ci=Object[_0x51f573(0x395)],hi=(_0x29ef63,_0x9c0bd,_0x2e0ab1,_0x10c709)=>{var _0x84b1bb=_0x51f573;for(var _0x18fed3=_0x10c709>0x1?void 0x0:_0x10c709?ci(_0x9c0bd,_0x2e0ab1):_0x9c0bd,_0x456633=_0x29ef63[_0x84b1bb(0x17a)]-0x1,_0x5e2052;_0x456633>=0x0;_0x456633--)(_0x5e2052=_0x29ef63[_0x456633])&&(_0x18fed3=_0x5e2052(_0x18fed3)||_0x18fed3);return _0x18fed3;},Se=(_0x249afc,_0x18a9a3)=>(_0x34e66f,_0x40e210)=>_0x18a9a3(_0x34e66f,_0x40e210,_0x249afc);exports[_0x51f573(0x1cd)]=class extends o[_0x51f573(0xf7)]{constructor(_0x36d426,_0x3c3712,_0x2ef670,_0x479d6f){var _0x29c2d5=_0x51f573,_0x2275b9;super(),A(this,_0x29c2d5(0x2f9),new Map()),A(this,_0x29c2d5(0xce),new j[(_0x29c2d5(0x243))]()),A(this,_0x29c2d5(0xe9),this['_entityInit$'][_0x29c2d5(0x1f9)]()),(this[_0x29c2d5(0x3c5)]=_0x36d426,this[_0x29c2d5(0x1a4)]=_0x3c3712,this[_0x29c2d5(0x373)]=_0x2ef670,this[_0x29c2d5(0x293)]=_0x479d6f,((_0x2275b9=this['_configService']['getConfig'](Y))==null?void 0x0:_0x2275b9[_0x29c2d5(0x157)])!==!0x1&&this['_init']());}['dispose'](){var _0xc2ce67=_0x51f573;super[_0xc2ce67(0x27e)](),this[_0xc2ce67(0x2f9)][_0xc2ce67(0x101)](_0x53e978=>_0x53e978[_0xc2ce67(0x27e)]()),this[_0xc2ce67(0x2f9)]['clear']();}['getCollabEntity'](_0x5bb000){var _0x45c5b1=_0x51f573,_0x3a8c1f;return(_0x3a8c1f=this[_0x45c5b1(0x2f9)][_0x45c5b1(0x33d)](_0x5bb000))!=null?_0x3a8c1f:null;}[_0x51f573(0x257)](_0x3311f4){var _0x11c2bd=_0x51f573;const _0x5f013d=this[_0x11c2bd(0x346)](_0x3311f4);return _0x5f013d?j['of'](_0x5f013d):this[_0x11c2bd(0xce)][_0x11c2bd(0x3aa)](V[_0x11c2bd(0x290)](_0xbe4a37=>_0xbe4a37['unitID']===_0x3311f4));}[_0x51f573(0x3ea)](_0x578662){var _0x296f78=_0x51f573;return j['firstValueFrom'](this[_0x296f78(0x257)](_0x578662)[_0x296f78(0x3aa)](V[_0x296f78(0x2a5)](()=>{})));}[_0x51f573(0x241)](){var _0x6bf20e=_0x51f573;this[_0x6bf20e(0x293)][_0x6bf20e(0x25b)](o[_0x6bf20e(0xad)][_0x6bf20e(0x1bb)])['pipe'](j[_0x6bf20e(0xfc)](this[_0x6bf20e(0xa1)]),V[_0x6bf20e(0x242)](0x10))[_0x6bf20e(0xcd)](async _0x164722=>{var _0x4db031=_0x6bf20e;const _0x4ea260=_0x164722[_0x4db031(0x34e)](),_0x3eb525=await this[_0x4db031(0x223)](_0x4ea260,X[_0x4db031(0x1bb)]);this['_entities']['set'](_0x4ea260,_0x3eb525);}),this[_0x6bf20e(0x293)][_0x6bf20e(0x25b)](o[_0x6bf20e(0xad)]['UNIVER_DOC'])[_0x6bf20e(0x3aa)](j['takeUntil'](this[_0x6bf20e(0xa1)]),V['delay'](0x10))['pipe'](V['filter'](_0x2089f8=>!_0x2089f8[_0x6bf20e(0x34e)]()[_0x6bf20e(0x31e)]('__')))[_0x6bf20e(0xcd)](async _0x2d4242=>{var _0x5e339a=_0x6bf20e;const _0x433736=_0x2d4242[_0x5e339a(0x34e)](),_0x516e33=await this[_0x5e339a(0x223)](_0x433736,X[_0x5e339a(0x187)]);this['_entities'][_0x5e339a(0x28a)](_0x433736,_0x516e33);}),j[_0x6bf20e(0x189)](this[_0x6bf20e(0x293)][_0x6bf20e(0x11e)](o[_0x6bf20e(0xad)][_0x6bf20e(0x1bb)]),this['_univerInstanceService'][_0x6bf20e(0x11e)](o[_0x6bf20e(0xad)][_0x6bf20e(0x187)]))[_0x6bf20e(0x3aa)](j[_0x6bf20e(0xfc)](this[_0x6bf20e(0xa1)]))[_0x6bf20e(0xcd)](_0x36b2e5=>{var _0x1a7a25=_0x6bf20e;const _0x3f7aa8=_0x36b2e5[_0x1a7a25(0x34e)](),_0x8f8df0=this[_0x1a7a25(0x2f9)][_0x1a7a25(0x33d)](_0x3f7aa8);_0x8f8df0&&(_0x8f8df0[_0x1a7a25(0x27e)](),this[_0x1a7a25(0x2f9)][_0x1a7a25(0x3a1)](_0x3f7aa8));});}async[_0x51f573(0x223)](_0x59c779,_0x4da04d){var _0x3aaf88=_0x51f573;const _0x1713b6=await this[_0x3aaf88(0x1a4)][_0x3aaf88(0xdb)](_0x59c779),_0x26eb07=this[_0x3aaf88(0x3c5)]['createInstance'](this[_0x3aaf88(0x20d)](_0x4da04d),_0x59c779,_0x4da04d,_0x1713b6);return await _0x26eb07['init'](),this[_0x3aaf88(0xce)]['next'](_0x26eb07),_0x26eb07;}['_getCtorByUniverType'](_0x2002d7){var _0x3994f3=_0x51f573;switch(_0x2002d7){case X[_0x3994f3(0x187)]:return exports[_0x3994f3(0x18d)];case X[_0x3994f3(0x1bb)]:return exports[_0x3994f3(0x17c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2002d7);}}},exports[_0x51f573(0x1cd)]=hi([Se(0x0,o[_0x51f573(0x2ba)](o['Injector'])),Se(0x1,o[_0x51f573(0x2ba)](exports[_0x51f573(0x40b)])),Se(0x2,o['IConfigService']),Se(0x3,o['IUniverInstanceService'])],exports['CollaborationController']);var _i=Object[_0x51f573(0x395)],li=(_0x204103,_0x2b97f3,_0x8847d1,_0x1682ad)=>{var _0x580118=_0x51f573;for(var _0x512e33=_0x1682ad>0x1?void 0x0:_0x1682ad?_i(_0x2b97f3,_0x8847d1):_0x2b97f3,_0x624de1=_0x204103[_0x580118(0x17a)]-0x1,_0x2ce3d0;_0x624de1>=0x0;_0x624de1--)(_0x2ce3d0=_0x204103[_0x624de1])&&(_0x512e33=_0x2ce3d0(_0x512e33)||_0x512e33);return _0x512e33;},Ye=(_0x1b37e7,_0x1f2d52)=>(_0x44fb3b,_0x385740)=>_0x1f2d52(_0x44fb3b,_0x385740,_0x1b37e7);const ui=_0x51f573(0x39b),vi='Univer';let xe=class extends o[_0x51f573(0x1f3)]{constructor(_0x7116c5,_0xb7024){var _0x473544=_0x51f573;super(),this[_0x473544(0x293)]=_0x7116c5,this[_0x473544(0x373)]=_0xb7024,this[_0x473544(0x241)]();}[_0x51f573(0x241)](){var _0x23d6d2=_0x51f573;this[_0x23d6d2(0x230)](this[_0x23d6d2(0x293)][_0x23d6d2(0x2b4)][_0x23d6d2(0xcd)](()=>{var _0x18b542=_0x23d6d2,_0xde0713;const _0x1cbdb9=this['_univerInstanceService'][_0x18b542(0x98)]();let _0x9386f0=(_0xde0713=this[_0x18b542(0x373)]['getConfig'](ui))!=null?_0xde0713:vi;_0x1cbdb9 instanceof o[_0x18b542(0x3e6)]&&(_0x9386f0=_0x1cbdb9[_0x18b542(0x141)]),document[_0x18b542(0xcb)]=_0x9386f0;}));}};xe=li([Ye(0x0,o[_0x51f573(0x168)]),Ye(0x1,o[_0x51f573(0x3ec)])],xe);var di=Object[_0x51f573(0x395)],Si=(_0x1af722,_0x4fff91,_0x1c8ced,_0x313e34)=>{for(var _0xa16686=_0x313e34>0x1?void 0x0:_0x313e34?di(_0x4fff91,_0x1c8ced):_0x4fff91,_0x336a83=_0x1af722['length']-0x1,_0xebeb1c;_0x336a83>=0x0;_0x336a83--)(_0xebeb1c=_0x1af722[_0x336a83])&&(_0xa16686=_0xebeb1c(_0xa16686)||_0xa16686);return _0xa16686;},Ae=(_0xf900d,_0x2ba4cd)=>(_0x14206a,_0x53ddaf)=>_0x2ba4cd(_0x14206a,_0x53ddaf,_0xf900d);let Ne=class{constructor(_0x521f69,_0x6db07f,_0x5c4806){var _0xe71384=_0x51f573;this[_0xe71384(0x373)]=_0x521f69,this[_0xe71384(0x26d)]=_0x6db07f,this[_0xe71384(0x297)]=_0x5c4806,this[_0xe71384(0x22f)]();}[_0x51f573(0x22f)](){var _0x57b807=_0x51f573;this['_httpService'][_0x57b807(0x3a5)]({'priority':0x1,'interceptor':(_0x30c69c,_0x19fd21)=>_0x19fd21(_0x30c69c)['pipe'](j[_0x57b807(0x23d)](async _0xa1627e=>{var _0x37162c=_0x57b807;const _0x1c360a=_0xa1627e;if(_0x1c360a[_0x37162c(0x2a2)]===0x191){if(typeof window>'u')throw new Error(_0x37162c(0x3c0));if(window['confirm'](this[_0x37162c(0x297)]['t'](_0x37162c(0x127)))){const _0x5b45ee=window[_0x37162c(0x1f0)](window['location'][_0x37162c(0x1ec)]);window[_0x37162c(0x235)][_0x37162c(0x1ec)]=this[_0x37162c(0x36c)]()+_0x37162c(0x100)+_0x5b45ee;}}return _0x1c360a;}))});}[_0x51f573(0x36c)](){var _0x22bc22=_0x51f573,_0x119919;const _0x32c381=this[_0x22bc22(0x373)]['getConfig'](Y);return(_0x119919=_0x32c381==null?void 0x0:_0x32c381[_0x22bc22(0x347)])!=null?_0x119919:$t;}};Ne=Si([Ae(0x0,o[_0x51f573(0x3ec)]),Ae(0x1,o[_0x51f573(0x2ba)](K['HTTPService'])),Ae(0x2,o[_0x51f573(0x2ba)](o[_0x51f573(0x3eb)]))],Ne);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x521dbd,_0xfddd90,_0x21f946,_0x431256)=>{var _0x5ace76=_0x51f573;for(var _0x5ab8ce=_0x431256>0x1?void 0x0:_0x431256?Ii(_0xfddd90,_0x21f946):_0xfddd90,_0x4db1f7=_0x521dbd[_0x5ace76(0x17a)]-0x1,_0x294882;_0x4db1f7>=0x0;_0x4db1f7--)(_0x294882=_0x521dbd[_0x4db1f7])&&(_0x5ab8ce=_0x294882(_0x5ab8ce)||_0x5ab8ce);return _0x5ab8ce;},Ke=(_0x463f7b,_0x45eea7)=>(_0x30da01,_0x2091aa)=>_0x45eea7(_0x30da01,_0x2091aa,_0x463f7b);const Ei=_0x51f573(0xda);exports['AuthzIoHttpService']=class extends o['Disposable']{constructor(_0x104a61,_0x42251c){var _0x25f72c=_0x51f573;super(),this[_0x25f72c(0x227)]=_0x104a61,this[_0x25f72c(0x373)]=_0x42251c,this[_0x25f72c(0x172)]();}['_initMergeInterceptor'](){var _0x5571f8=_0x51f573;const _0x9c72fc=this;this[_0x5571f8(0x230)](this[_0x5571f8(0x227)][_0x5571f8(0x3a5)]({'priority':0x3e7,'interceptor':K[_0x5571f8(0x1d4)]({'isMatch'(_0x53c7a4){var _0x3a3917=_0x5571f8,_0xa9d869;if(_0x53c7a4['method']==='POST'&&((_0xa9d869=_0x53c7a4[_0x3a3917(0x30e)])!=null&&_0xa9d869[_0x3a3917(0x3ca)])){const {objectID:_0x1bee2d,objectType:_0x1803ae}=_0x53c7a4[_0x3a3917(0x30e)][_0x3a3917(0x3ca)]||{};if(!_0x1bee2d||_0x1803ae===void 0x0)return!0x1;const _0x48feb7=_0x9c72fc[_0x3a3917(0x103)]()+'/'+_0x1803ae+_0x3a3917(0xfd)+_0x1bee2d+'/allowed';if(_0x53c7a4['url']===_0x48feb7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2922dd){var _0x52f784=_0x5571f8,_0xd4c504;return(_0xd4c504=_0x2922dd[_0x52f784(0x30e)])==null?void 0x0:_0xd4c504['body'];},'mergeParamsToRequest'(_0x41ec81,_0x4a4e7c){var _0x4243c9=_0x5571f8;const _0xffaa02=_0x9c72fc[_0x4243c9(0x103)]()+_0x4243c9(0x41b),_0x4d05d4=_0x41ec81[_0x4243c9(0xa9)]((_0x4edd7d,_0x5a140e)=>{var _0xfc61bf=_0x4243c9;const {unitID:_0x341792,objectID:_0x5f1983,objectType:_0x477e2a,actions:_0x414f7e}=_0x5a140e;return _0x4edd7d[_0x341792]||(_0x4edd7d[_0x341792]={}),_0x4edd7d[_0x341792][_0x5f1983]||(_0x4edd7d[_0x341792][_0x5f1983]={'objectID':_0x5f1983,'objectType':_0x477e2a,'actions':[]}),_0x4edd7d[_0x341792][_0x5f1983][_0xfc61bf(0x274)][_0xfc61bf(0x209)](..._0x414f7e),_0x4edd7d;},{}),_0x3b2d69=[];for(const _0x161d7b in _0x4d05d4)for(const _0x4e1aaa in _0x4d05d4[_0x161d7b]){const {actions:_0x7c638f,objectType:_0x2bfc77}=_0x4d05d4[_0x161d7b][_0x4e1aaa],_0x5e6827=[...new Set(_0x7c638f)];_0x3b2d69[_0x4243c9(0x209)]({'unitID':_0x161d7b,'objectID':_0x4e1aaa,'objectType':_0x2bfc77,'actions':_0x5e6827});}return new K[(_0x4243c9(0x125))](_0x4243c9(0x1da),_0xffaa02,{'headers':_0x4a4e7c[_0x4243c9(0x35e)],'withCredentials':_0x4a4e7c['withCredentials'],'responseType':_0x4a4e7c[_0x4243c9(0x152)],'body':{'requests':_0x3b2d69}});}},{'distributeResult'(_0x1ded0a,_0x52b144){var _0x436e58=_0x5571f8;const {objectActions:_0x4420f1}=_0x1ded0a;return _0x52b144[_0x436e58(0x2a5)](_0x3864ec=>{var _0x2ce332=_0x436e58;const {unitID:_0x5c8a50,objectID:_0x54b988,actions:_0xfadf68}=_0x3864ec,_0x188563=_0x4420f1[_0x2ce332(0x2bf)](_0x215a79=>_0x215a79['unitID']===_0x5c8a50&&_0x215a79['objectID']===_0x54b988),_0x72276c=_0xfadf68[_0x2ce332(0x2a5)](_0x19b1b9=>_0x188563==null?void 0x0:_0x188563[_0x2ce332(0x274)][_0x2ce332(0x2bf)](_0x1f16c3=>_0x1f16c3['action']===_0x19b1b9))[_0x2ce332(0x290)](_0x2ecba8=>!!_0x2ecba8);return{'config':_0x3864ec,'result':{'actions':_0x72276c,'error':_0x1ded0a[_0x2ce332(0x1f8)]}};});}})}));}[_0x51f573(0x103)](){var _0x364a6e=_0x51f573,_0x265cc2;const _0x59138d=this[_0x364a6e(0x373)][_0x364a6e(0x1c9)](Y);return(_0x265cc2=_0x59138d==null?void 0x0:_0x59138d['authzUrl'])!=null?_0x265cc2:Ei;}async[_0x51f573(0x375)](_0x5cd006){var _0x5cf358=_0x51f573;const _0x23995f=this[_0x5cf358(0x103)]()+'/'+_0x5cd006[_0x5cf358(0xec)]+_0x5cf358(0x22b);return(await this[_0x5cf358(0x227)][_0x5cf358(0x13b)](_0x23995f,{'body':_0x5cd006}))[_0x5cf358(0x3ca)]['objectID']||'';}async[_0x51f573(0x2d9)](_0x353370){var _0x5e9b9a=_0x51f573;const _0x7f9ff8=this[_0x5e9b9a(0x103)]()+_0x5e9b9a(0x2bd);return(await this[_0x5e9b9a(0x227)][_0x5e9b9a(0x13b)](_0x7f9ff8,{'body':_0x353370}))['body'][_0x5e9b9a(0x2b2)];}async['update'](_0x2f97bf){var _0x45ac86=_0x51f573,_0x104400,_0x297f33;const _0x3759cb=this[_0x45ac86(0x103)]()+'/'+_0x2f97bf[_0x45ac86(0xec)]+_0x45ac86(0xfd)+_0x2f97bf[_0x45ac86(0x198)],_0x53949e=await this[_0x45ac86(0x227)][_0x45ac86(0x2f4)](_0x3759cb,{'body':_0x2f97bf});if(((_0x297f33=(_0x104400=_0x53949e==null?void 0x0:_0x53949e[_0x45ac86(0x3ca)])==null?void 0x0:_0x104400[_0x45ac86(0x1f8)])==null?void 0x0:_0x297f33[_0x45ac86(0x2d2)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x51f573(0x2cd)](_0x15cc66){var _0x59c3fc=_0x51f573;const _0x5bb0d6=this[_0x59c3fc(0x103)]()+'/'+_0x15cc66[_0x59c3fc(0xec)]+_0x59c3fc(0xfd)+_0x15cc66[_0x59c3fc(0x198)]+_0x59c3fc(0x350);return(await this[_0x59c3fc(0x227)][_0x59c3fc(0x13b)](_0x5bb0d6,{'body':_0x15cc66}))['body'][_0x59c3fc(0x274)];}async[_0x51f573(0x2cf)](_0x229dd5){var _0x3f7996=_0x51f573;const _0x11caec=this[_0x3f7996(0x103)]()+_0x3f7996(0x41b);return(await this[_0x3f7996(0x227)][_0x3f7996(0x13b)](_0x11caec,{'body':{'requests':_0x229dd5}}))[_0x3f7996(0x3ca)]['objectActions'];}async[_0x51f573(0x3d8)](_0x37a83a){var _0x5d9fe8=_0x51f573;const _0x3f389e=this[_0x5d9fe8(0x103)]()+'/'+_0x37a83a[_0x5d9fe8(0xec)]+_0x5d9fe8(0x18a),_0x17f7c6=await this['_HTTPService'][_0x5d9fe8(0x13b)](_0x3f389e,{'body':_0x37a83a});return{'roles':_0x17f7c6[_0x5d9fe8(0x3ca)][_0x5d9fe8(0x37e)],'actions':_0x17f7c6['body'][_0x5d9fe8(0x274)]};}async[_0x51f573(0xd6)](_0x2bab4e){var _0x448bb6=_0x51f573;const _0x396c58=this[_0x448bb6(0x103)]()+_0x448bb6(0x2fb);await this[_0x448bb6(0x227)]['delete'](_0x396c58,{'params':{'collaboratorID':_0x2bab4e[_0x448bb6(0x188)],'objectID':_0x2bab4e[_0x448bb6(0x198)],'unitID':_0x2bab4e['unitID']}});}async['updateCollaborator'](_0x37c979){var _0x1cd333=_0x51f573;const _0xf69ef7=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x1cd333(0x199)](_0xf69ef7,{'body':_0x37c979});}async[_0x51f573(0x3de)](_0x3e799d){var _0x10e6e9=_0x51f573;const _0xf23ca0=this[_0x10e6e9(0x103)]()+_0x10e6e9(0x2fb);await this[_0x10e6e9(0x227)][_0x10e6e9(0x13b)](_0xf23ca0,{'body':_0x3e799d});}async[_0x51f573(0x3ab)](_0x599e67){var _0x3f0a1a=_0x51f573;const _0x5c9d3d=this[_0x3f0a1a(0x103)]()+_0x3f0a1a(0x2fb);return(await this[_0x3f0a1a(0x227)][_0x3f0a1a(0x33d)](_0x5c9d3d,{'params':{'objectID':_0x599e67[_0x3f0a1a(0x198)],'unitID':_0x599e67['unitID']}}))[_0x3f0a1a(0x3ca)]['collaborators'];}async[_0x51f573(0x285)](_0x22a514){var _0x347117=_0x51f573;const _0x50f2cb=this[_0x347117(0x103)]()+_0x347117(0x2fb);await this['_HTTPService'][_0x347117(0x2f4)](_0x50f2cb,{'body':_0x22a514});}},exports[_0x51f573(0x3fa)]=fi([Ke(0x0,o['Inject'](K['HTTPService'])),Ke(0x1,o[_0x51f573(0x2ba)](o[_0x51f573(0x3ec)]))],exports[_0x51f573(0x3fa)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x4f4da1){var _0xf9dd5a=_0x51f573;return _0x4f4da1&&_0x4f4da1[_0xf9dd5a(0x1f6)]&&Object[_0xf9dd5a(0x3b4)][_0xf9dd5a(0x11a)][_0xf9dd5a(0x31f)](_0x4f4da1,_0xf9dd5a(0x271))?_0x4f4da1['default']:_0x4f4da1;}var Ie={'exports':{}};function pi(_0x30f392){var _0x4bb994=_0x51f573;throw new Error(_0x4bb994(0x96)+_0x30f392+_0x4bb994(0xba));}var fe={'exports':{}},mi=fe[_0x51f573(0x389)],qe;function Z(){return qe||(qe=0x1,function(_0x1a4159,_0x212abb){(function(_0x596451,_0x330140){var _0x2f6d52=_0xf568;_0x1a4159[_0x2f6d52(0x389)]=_0x330140();}(mi,function(){var _0x833fca=_0x833fca||function(_0x1e5191,_0x48ded9){var _0x5bfc89=_0xf568,_0x295195;if(typeof window<'u'&&window['crypto']&&(_0x295195=window[_0x5bfc89(0x33e)]),typeof self<'u'&&self['crypto']&&(_0x295195=self[_0x5bfc89(0x33e)]),typeof globalThis<'u'&&globalThis[_0x5bfc89(0x33e)]&&(_0x295195=globalThis[_0x5bfc89(0x33e)]),!_0x295195&&typeof window<'u'&&window['msCrypto']&&(_0x295195=window[_0x5bfc89(0x1e8)]),!_0x295195&&typeof Pe<'u'&&Pe[_0x5bfc89(0x33e)]&&(_0x295195=Pe['crypto']),!_0x295195&&typeof pi==_0x5bfc89(0x367))try{_0x295195=require('crypto');}catch{}var _0x4e4364=function(){var _0x50321d=_0x5bfc89;if(_0x295195){if(typeof _0x295195[_0x50321d(0x279)]==_0x50321d(0x367))try{return _0x295195['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x295195['randomBytes']=='function')try{return _0x295195[_0x50321d(0x398)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x50321d(0x15e));},_0x30e363=Object['create']||(function(){function _0x246f01(){}return function(_0xa811be){var _0xdacb32=_0xf568,_0x510f24;return _0x246f01[_0xdacb32(0x3b4)]=_0xa811be,_0x510f24=new _0x246f01(),_0x246f01[_0xdacb32(0x3b4)]=null,_0x510f24;};}()),_0xdf70f2={},_0xb02faa=_0xdf70f2[_0x5bfc89(0x3e2)]={},_0x591bfe=_0xb02faa['Base']=(function(){return{'extend':function(_0x3402cc){var _0x1a1c8e=_0xf568,_0x28931b=_0x30e363(this);return _0x3402cc&&_0x28931b[_0x1a1c8e(0x390)](_0x3402cc),(!_0x28931b['hasOwnProperty'](_0x1a1c8e(0x22f))||this['init']===_0x28931b[_0x1a1c8e(0x22f)])&&(_0x28931b[_0x1a1c8e(0x22f)]=function(){var _0x59c0dc=_0x1a1c8e;_0x28931b[_0x59c0dc(0x304)][_0x59c0dc(0x22f)]['apply'](this,arguments);}),_0x28931b[_0x1a1c8e(0x22f)][_0x1a1c8e(0x3b4)]=_0x28931b,_0x28931b[_0x1a1c8e(0x304)]=this,_0x28931b;},'create':function(){var _0x253f16=_0xf568,_0x47a882=this[_0x253f16(0x1cc)]();return _0x47a882[_0x253f16(0x22f)][_0x253f16(0x23f)](_0x47a882,arguments),_0x47a882;},'init':function(){},'mixIn':function(_0x4c9f5f){var _0x476c46=_0xf568;for(var _0x364d18 in _0x4c9f5f)_0x4c9f5f[_0x476c46(0x11a)](_0x364d18)&&(this[_0x364d18]=_0x4c9f5f[_0x364d18]);_0x4c9f5f[_0x476c46(0x11a)](_0x476c46(0x401))&&(this['toString']=_0x4c9f5f['toString']);},'clone':function(){var _0x5be337=_0xf568;return this[_0x5be337(0x22f)]['prototype'][_0x5be337(0x1cc)](this);}};}()),_0x8f1235=_0xb02faa[_0x5bfc89(0x33b)]=_0x591bfe[_0x5bfc89(0x1cc)]({'init':function(_0x3e1214,_0x21daab){var _0x5c8ee1=_0x5bfc89;_0x3e1214=this['words']=_0x3e1214||[],_0x21daab!=_0x48ded9?this[_0x5c8ee1(0x429)]=_0x21daab:this[_0x5c8ee1(0x429)]=_0x3e1214['length']*0x4;},'toString':function(_0x14e32a){return(_0x14e32a||_0x1217a4)['stringify'](this);},'concat':function(_0x526594){var _0x1b2531=_0x5bfc89,_0x3c5878=this[_0x1b2531(0x31a)],_0x330e6=_0x526594[_0x1b2531(0x31a)],_0x94a471=this[_0x1b2531(0x429)],_0x4fb598=_0x526594[_0x1b2531(0x429)];if(this[_0x1b2531(0x2af)](),_0x94a471%0x4)for(var _0x2276ca=0x0;_0x2276ca<_0x4fb598;_0x2276ca++){var _0x490d12=_0x330e6[_0x2276ca>>>0x2]>>>0x18-_0x2276ca%0x4*0x8&0xff;_0x3c5878[_0x94a471+_0x2276ca>>>0x2]|=_0x490d12<<0x18-(_0x94a471+_0x2276ca)%0x4*0x8;}else{for(var _0x20c28c=0x0;_0x20c28c<_0x4fb598;_0x20c28c+=0x4)_0x3c5878[_0x94a471+_0x20c28c>>>0x2]=_0x330e6[_0x20c28c>>>0x2];}return this['sigBytes']+=_0x4fb598,this;},'clamp':function(){var _0x3b4e16=_0x5bfc89,_0x2215ce=this[_0x3b4e16(0x31a)],_0x521607=this[_0x3b4e16(0x429)];_0x2215ce[_0x521607>>>0x2]&=0xffffffff<<0x20-_0x521607%0x4*0x8,_0x2215ce[_0x3b4e16(0x17a)]=_0x1e5191['ceil'](_0x521607/0x4);},'clone':function(){var _0x410d62=_0x5bfc89,_0x248583=_0x591bfe['clone'][_0x410d62(0x31f)](this);return _0x248583['words']=this[_0x410d62(0x31a)][_0x410d62(0x1a9)](0x0),_0x248583;},'random':function(_0x4157fa){var _0x1be172=_0x5bfc89;for(var _0x10dcd8=[],_0x35417c=0x0;_0x35417c<_0x4157fa;_0x35417c+=0x4)_0x10dcd8[_0x1be172(0x209)](_0x4e4364());return new _0x8f1235[(_0x1be172(0x22f))](_0x10dcd8,_0x4157fa);}}),_0x45f62e=_0xdf70f2[_0x5bfc89(0x28c)]={},_0x1217a4=_0x45f62e['Hex']={'stringify':function(_0x5b4bcd){var _0x44cd40=_0x5bfc89;for(var _0x29a921=_0x5b4bcd['words'],_0x5c41f2=_0x5b4bcd[_0x44cd40(0x429)],_0x27c38a=[],_0x2b6ae0=0x0;_0x2b6ae0<_0x5c41f2;_0x2b6ae0++){var _0x5e255f=_0x29a921[_0x2b6ae0>>>0x2]>>>0x18-_0x2b6ae0%0x4*0x8&0xff;_0x27c38a[_0x44cd40(0x209)]((_0x5e255f>>>0x4)[_0x44cd40(0x401)](0x10)),_0x27c38a[_0x44cd40(0x209)]((_0x5e255f&0xf)[_0x44cd40(0x401)](0x10));}return _0x27c38a[_0x44cd40(0x39e)]('');},'parse':function(_0x6140ad){var _0x48be1c=_0x5bfc89;for(var _0x23babc=_0x6140ad['length'],_0x19f70b=[],_0x5d1fab=0x0;_0x5d1fab<_0x23babc;_0x5d1fab+=0x2)_0x19f70b[_0x5d1fab>>>0x3]|=parseInt(_0x6140ad[_0x48be1c(0x13e)](_0x5d1fab,0x2),0x10)<<0x18-_0x5d1fab%0x8*0x4;return new _0x8f1235[(_0x48be1c(0x22f))](_0x19f70b,_0x23babc/0x2);}},_0x40553b=_0x45f62e['Latin1']={'stringify':function(_0x4c19c7){var _0x621136=_0x5bfc89;for(var _0x1c5659=_0x4c19c7[_0x621136(0x31a)],_0x2adb5b=_0x4c19c7['sigBytes'],_0x2ea6f3=[],_0x32b99f=0x0;_0x32b99f<_0x2adb5b;_0x32b99f++){var _0x41c357=_0x1c5659[_0x32b99f>>>0x2]>>>0x18-_0x32b99f%0x4*0x8&0xff;_0x2ea6f3[_0x621136(0x209)](String[_0x621136(0x169)](_0x41c357));}return _0x2ea6f3[_0x621136(0x39e)]('');},'parse':function(_0x2e2262){var _0x2e239f=_0x5bfc89;for(var _0x4cc0b9=_0x2e2262[_0x2e239f(0x17a)],_0x248ef0=[],_0x43e5db=0x0;_0x43e5db<_0x4cc0b9;_0x43e5db++)_0x248ef0[_0x43e5db>>>0x2]|=(_0x2e2262[_0x2e239f(0x3ba)](_0x43e5db)&0xff)<<0x18-_0x43e5db%0x4*0x8;return new _0x8f1235['init'](_0x248ef0,_0x4cc0b9);}},_0x4f694f=_0x45f62e[_0x5bfc89(0x2f7)]={'stringify':function(_0xe61e03){var _0x47fefe=_0x5bfc89;try{return decodeURIComponent(escape(_0x40553b['stringify'](_0xe61e03)));}catch{throw new Error(_0x47fefe(0x9c));}},'parse':function(_0x35ef2c){var _0x11483f=_0x5bfc89;return _0x40553b[_0x11483f(0xa4)](unescape(encodeURIComponent(_0x35ef2c)));}},_0x18b8c8=_0xb02faa[_0x5bfc89(0x2de)]=_0x591bfe['extend']({'reset':function(){var _0x3fa4f8=_0x5bfc89;this[_0x3fa4f8(0x97)]=new _0x8f1235[(_0x3fa4f8(0x22f))](),this['_nDataBytes']=0x0;},'_append':function(_0x3ef322){var _0x5a67f5=_0x5bfc89;typeof _0x3ef322==_0x5a67f5(0x32d)&&(_0x3ef322=_0x4f694f[_0x5a67f5(0xa4)](_0x3ef322)),this[_0x5a67f5(0x97)][_0x5a67f5(0x15a)](_0x3ef322),this[_0x5a67f5(0x173)]+=_0x3ef322[_0x5a67f5(0x429)];},'_process':function(_0x50b4d4){var _0x34f4d3=_0x5bfc89,_0x437c14,_0x467a1e=this[_0x34f4d3(0x97)],_0x113dd1=_0x467a1e[_0x34f4d3(0x31a)],_0x3424ae=_0x467a1e[_0x34f4d3(0x429)],_0x2bb624=this[_0x34f4d3(0x266)],_0x3f716b=_0x2bb624*0x4,_0x4abadd=_0x3424ae/_0x3f716b;_0x50b4d4?_0x4abadd=_0x1e5191['ceil'](_0x4abadd):_0x4abadd=_0x1e5191[_0x34f4d3(0x1d1)]((_0x4abadd|0x0)-this[_0x34f4d3(0xb1)],0x0);var _0x181715=_0x4abadd*_0x2bb624,_0x4868e9=_0x1e5191[_0x34f4d3(0x2c9)](_0x181715*0x4,_0x3424ae);if(_0x181715){for(var _0x3fc4b6=0x0;_0x3fc4b6<_0x181715;_0x3fc4b6+=_0x2bb624)this[_0x34f4d3(0x2f1)](_0x113dd1,_0x3fc4b6);_0x437c14=_0x113dd1['splice'](0x0,_0x181715),_0x467a1e[_0x34f4d3(0x429)]-=_0x4868e9;}return new _0x8f1235['init'](_0x437c14,_0x4868e9);},'clone':function(){var _0x2e8e25=_0x5bfc89,_0xd65d38=_0x591bfe['clone'][_0x2e8e25(0x31f)](this);return _0xd65d38[_0x2e8e25(0x97)]=this[_0x2e8e25(0x97)][_0x2e8e25(0x268)](),_0xd65d38;},'_minBufferSize':0x0});_0xb02faa[_0x5bfc89(0x334)]=_0x18b8c8[_0x5bfc89(0x1cc)]({'cfg':_0x591bfe[_0x5bfc89(0x1cc)](),'init':function(_0x3ed5d0){var _0x228f97=_0x5bfc89;this[_0x228f97(0x427)]=this['cfg'][_0x228f97(0x1cc)](_0x3ed5d0),this[_0x228f97(0x329)]();},'reset':function(){var _0x54f5f7=_0x5bfc89;_0x18b8c8[_0x54f5f7(0x329)][_0x54f5f7(0x31f)](this),this[_0x54f5f7(0x1af)]();},'update':function(_0x57c187){var _0x215589=_0x5bfc89;return this[_0x215589(0x245)](_0x57c187),this[_0x215589(0x2df)](),this;},'finalize':function(_0x52fefc){var _0x340658=_0x5bfc89;_0x52fefc&&this['_append'](_0x52fefc);var _0x13cd77=this[_0x340658(0x135)]();return _0x13cd77;},'blockSize':0x10,'_createHelper':function(_0xdb641){return function(_0xbbe97d,_0x1cdc08){var _0xe0364d=_0xf568;return new _0xdb641[(_0xe0364d(0x22f))](_0x1cdc08)[_0xe0364d(0x261)](_0xbbe97d);};},'_createHmacHelper':function(_0x2804ed){return function(_0x14cbea,_0xa1f44d){var _0x2d5c53=_0xf568;return new _0x2e1865[(_0x2d5c53(0xd4))][(_0x2d5c53(0x22f))](_0x2804ed,_0xa1f44d)[_0x2d5c53(0x261)](_0x14cbea);};}});var _0x2e1865=_0xdf70f2[_0x5bfc89(0x357)]={};return _0xdf70f2;}(Math);return _0x833fca;}));}(fe)),fe['exports'];}var Ee={'exports':{}},gi=Ee[_0x51f573(0x389)],ze;function gt(){var _0x13b2e9=_0x51f573;return ze||(ze=0x1,function(_0x5915e0,_0x32d157){(function(_0x2add4c,_0x5d2794){var _0x23a187=_0xf568;_0x5915e0[_0x23a187(0x389)]=_0x5d2794(Z());}(gi,function(_0x244553){var _0x1e8704=_0xf568;return(function(){var _0x2eae67=_0xf568,_0x3c1596=_0x244553,_0x5a3228=_0x3c1596[_0x2eae67(0x3e2)],_0x72c153=_0x5a3228[_0x2eae67(0x33b)],_0x2deaa3=_0x3c1596['enc'];_0x2deaa3[_0x2eae67(0xc7)]={'stringify':function(_0x462a9e){var _0x3f48cb=_0x2eae67,_0x188f35=_0x462a9e[_0x3f48cb(0x31a)],_0x285f3b=_0x462a9e['sigBytes'],_0x3470d4=this[_0x3f48cb(0x37b)];_0x462a9e[_0x3f48cb(0x2af)]();for(var _0x2ae38e=[],_0x4045c5=0x0;_0x4045c5<_0x285f3b;_0x4045c5+=0x3)for(var _0x2889d6=_0x188f35[_0x4045c5>>>0x2]>>>0x18-_0x4045c5%0x4*0x8&0xff,_0x4eacc1=_0x188f35[_0x4045c5+0x1>>>0x2]>>>0x18-(_0x4045c5+0x1)%0x4*0x8&0xff,_0xd5f21b=_0x188f35[_0x4045c5+0x2>>>0x2]>>>0x18-(_0x4045c5+0x2)%0x4*0x8&0xff,_0x5a9fac=_0x2889d6<<0x10|_0x4eacc1<<0x8|_0xd5f21b,_0x2c9c77=0x0;_0x2c9c77<0x4&&_0x4045c5+_0x2c9c77*0.75<_0x285f3b;_0x2c9c77++)_0x2ae38e[_0x3f48cb(0x209)](_0x3470d4[_0x3f48cb(0xe7)](_0x5a9fac>>>0x6*(0x3-_0x2c9c77)&0x3f));var _0x20f3ac=_0x3470d4[_0x3f48cb(0xe7)](0x40);if(_0x20f3ac){for(;_0x2ae38e[_0x3f48cb(0x17a)]%0x4;)_0x2ae38e[_0x3f48cb(0x209)](_0x20f3ac);}return _0x2ae38e[_0x3f48cb(0x39e)]('');},'parse':function(_0x5732a5){var _0x35e4d3=_0x2eae67,_0x4980ad=_0x5732a5[_0x35e4d3(0x17a)],_0xad31d3=this[_0x35e4d3(0x37b)],_0x4e106d=this[_0x35e4d3(0x2b7)];if(!_0x4e106d){_0x4e106d=this[_0x35e4d3(0x2b7)]=[];for(var _0x215e66=0x0;_0x215e66<_0xad31d3[_0x35e4d3(0x17a)];_0x215e66++)_0x4e106d[_0xad31d3[_0x35e4d3(0x3ba)](_0x215e66)]=_0x215e66;}var _0x4e1042=_0xad31d3['charAt'](0x40);if(_0x4e1042){var _0x4e47ac=_0x5732a5[_0x35e4d3(0x92)](_0x4e1042);_0x4e47ac!==-0x1&&(_0x4980ad=_0x4e47ac);}return _0xa468bc(_0x5732a5,_0x4980ad,_0x4e106d);},'_map':_0x2eae67(0x326)};function _0xa468bc(_0x20d6d9,_0x227fe2,_0x1068fe){var _0x5d6329=_0x2eae67;for(var _0x2808db=[],_0x29c4f8=0x0,_0x1fec28=0x0;_0x1fec28<_0x227fe2;_0x1fec28++)if(_0x1fec28%0x4){var _0xfbda3b=_0x1068fe[_0x20d6d9[_0x5d6329(0x3ba)](_0x1fec28-0x1)]<<_0x1fec28%0x4*0x2,_0x45c26a=_0x1068fe[_0x20d6d9[_0x5d6329(0x3ba)](_0x1fec28)]>>>0x6-_0x1fec28%0x4*0x2,_0x4ffd69=_0xfbda3b|_0x45c26a;_0x2808db[_0x29c4f8>>>0x2]|=_0x4ffd69<<0x18-_0x29c4f8%0x4*0x8,_0x29c4f8++;}return _0x72c153[_0x5d6329(0x375)](_0x2808db,_0x29c4f8);}}()),_0x244553['enc'][_0x1e8704(0xc7)];}));}(Ee)),Ee[_0x13b2e9(0x389)];}var pe={'exports':{}},Ti=pe['exports'],Xe;function Ci(){var _0x462a8c=_0x51f573;return Xe||(Xe=0x1,function(_0x5c6b5e,_0x395f77){(function(_0x1732ff,_0x5e1865){_0x5c6b5e['exports']=_0x5e1865(Z());}(Ti,function(_0x3a4c42){var _0x16a677=_0xf568;return function(_0x5f366d){var _0xda0a85=_0xf568,_0x38392f=_0x3a4c42,_0x26af3e=_0x38392f[_0xda0a85(0x3e2)],_0x13a353=_0x26af3e[_0xda0a85(0x33b)],_0x15ceb4=_0x26af3e[_0xda0a85(0x334)],_0x4577f5=_0x38392f['algo'],_0x54eeac=[];(function(){var _0x3b32ed=_0xda0a85;for(var _0x30b732=0x0;_0x30b732<0x40;_0x30b732++)_0x54eeac[_0x30b732]=_0x5f366d[_0x3b32ed(0x13d)](_0x5f366d[_0x3b32ed(0x2fa)](_0x30b732+0x1))*0x100000000|0x0;}());var _0x4a6758=_0x4577f5['MD5']=_0x15ceb4[_0xda0a85(0x1cc)]({'_doReset':function(){var _0x1b4024=_0xda0a85;this[_0x1b4024(0x25a)]=new _0x13a353['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x460c3e,_0x51c8ea){var _0x3e4340=_0xda0a85;for(var _0x31fe96=0x0;_0x31fe96<0x10;_0x31fe96++){var _0x7ef219=_0x51c8ea+_0x31fe96,_0x25429d=_0x460c3e[_0x7ef219];_0x460c3e[_0x7ef219]=(_0x25429d<<0x8|_0x25429d>>>0x18)&0xff00ff|(_0x25429d<<0x18|_0x25429d>>>0x8)&0xff00ff00;}var _0x378967=this[_0x3e4340(0x25a)][_0x3e4340(0x31a)],_0x8efb3a=_0x460c3e[_0x51c8ea+0x0],_0x2f9ba2=_0x460c3e[_0x51c8ea+0x1],_0x480872=_0x460c3e[_0x51c8ea+0x2],_0x49394d=_0x460c3e[_0x51c8ea+0x3],_0x1c8e6e=_0x460c3e[_0x51c8ea+0x4],_0x38e85e=_0x460c3e[_0x51c8ea+0x5],_0x4dc429=_0x460c3e[_0x51c8ea+0x6],_0x17e278=_0x460c3e[_0x51c8ea+0x7],_0x325dab=_0x460c3e[_0x51c8ea+0x8],_0x4d0e3f=_0x460c3e[_0x51c8ea+0x9],_0x2c8bd0=_0x460c3e[_0x51c8ea+0xa],_0x491f92=_0x460c3e[_0x51c8ea+0xb],_0x4a96e0=_0x460c3e[_0x51c8ea+0xc],_0x255d7d=_0x460c3e[_0x51c8ea+0xd],_0x4e2b58=_0x460c3e[_0x51c8ea+0xe],_0x4733c2=_0x460c3e[_0x51c8ea+0xf],_0x15c41d=_0x378967[0x0],_0x454ef4=_0x378967[0x1],_0xe4dfa7=_0x378967[0x2],_0x74dd02=_0x378967[0x3];_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x8efb3a,0x7,_0x54eeac[0x0]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x2f9ba2,0xc,_0x54eeac[0x1]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x480872,0x11,_0x54eeac[0x2]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x49394d,0x16,_0x54eeac[0x3]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x1c8e6e,0x7,_0x54eeac[0x4]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x38e85e,0xc,_0x54eeac[0x5]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4dc429,0x11,_0x54eeac[0x6]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x17e278,0x16,_0x54eeac[0x7]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x325dab,0x7,_0x54eeac[0x8]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4d0e3f,0xc,_0x54eeac[0x9]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x2c8bd0,0x11,_0x54eeac[0xa]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x491f92,0x16,_0x54eeac[0xb]),_0x15c41d=_0x1cbd12(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4a96e0,0x7,_0x54eeac[0xc]),_0x74dd02=_0x1cbd12(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x255d7d,0xc,_0x54eeac[0xd]),_0xe4dfa7=_0x1cbd12(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4e2b58,0x11,_0x54eeac[0xe]),_0x454ef4=_0x1cbd12(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4733c2,0x16,_0x54eeac[0xf]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x2f9ba2,0x5,_0x54eeac[0x10]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4dc429,0x9,_0x54eeac[0x11]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x491f92,0xe,_0x54eeac[0x12]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x8efb3a,0x14,_0x54eeac[0x13]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x38e85e,0x5,_0x54eeac[0x14]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x2c8bd0,0x9,_0x54eeac[0x15]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4733c2,0xe,_0x54eeac[0x16]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x1c8e6e,0x14,_0x54eeac[0x17]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4d0e3f,0x5,_0x54eeac[0x18]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4e2b58,0x9,_0x54eeac[0x19]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x49394d,0xe,_0x54eeac[0x1a]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x325dab,0x14,_0x54eeac[0x1b]),_0x15c41d=_0x174e9e(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x255d7d,0x5,_0x54eeac[0x1c]),_0x74dd02=_0x174e9e(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x480872,0x9,_0x54eeac[0x1d]),_0xe4dfa7=_0x174e9e(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x17e278,0xe,_0x54eeac[0x1e]),_0x454ef4=_0x174e9e(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4a96e0,0x14,_0x54eeac[0x1f]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x38e85e,0x4,_0x54eeac[0x20]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x325dab,0xb,_0x54eeac[0x21]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x491f92,0x10,_0x54eeac[0x22]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4e2b58,0x17,_0x54eeac[0x23]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x2f9ba2,0x4,_0x54eeac[0x24]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x1c8e6e,0xb,_0x54eeac[0x25]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x17e278,0x10,_0x54eeac[0x26]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x2c8bd0,0x17,_0x54eeac[0x27]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x255d7d,0x4,_0x54eeac[0x28]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x8efb3a,0xb,_0x54eeac[0x29]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x49394d,0x10,_0x54eeac[0x2a]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4dc429,0x17,_0x54eeac[0x2b]),_0x15c41d=_0x414515(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4d0e3f,0x4,_0x54eeac[0x2c]),_0x74dd02=_0x414515(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4a96e0,0xb,_0x54eeac[0x2d]),_0xe4dfa7=_0x414515(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4733c2,0x10,_0x54eeac[0x2e]),_0x454ef4=_0x414515(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x480872,0x17,_0x54eeac[0x2f]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x8efb3a,0x6,_0x54eeac[0x30]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x17e278,0xa,_0x54eeac[0x31]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4e2b58,0xf,_0x54eeac[0x32]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x38e85e,0x15,_0x54eeac[0x33]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x4a96e0,0x6,_0x54eeac[0x34]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x49394d,0xa,_0x54eeac[0x35]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x2c8bd0,0xf,_0x54eeac[0x36]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x2f9ba2,0x15,_0x54eeac[0x37]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x325dab,0x6,_0x54eeac[0x38]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x4733c2,0xa,_0x54eeac[0x39]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x4dc429,0xf,_0x54eeac[0x3a]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x255d7d,0x15,_0x54eeac[0x3b]),_0x15c41d=_0x5950b0(_0x15c41d,_0x454ef4,_0xe4dfa7,_0x74dd02,_0x1c8e6e,0x6,_0x54eeac[0x3c]),_0x74dd02=_0x5950b0(_0x74dd02,_0x15c41d,_0x454ef4,_0xe4dfa7,_0x491f92,0xa,_0x54eeac[0x3d]),_0xe4dfa7=_0x5950b0(_0xe4dfa7,_0x74dd02,_0x15c41d,_0x454ef4,_0x480872,0xf,_0x54eeac[0x3e]),_0x454ef4=_0x5950b0(_0x454ef4,_0xe4dfa7,_0x74dd02,_0x15c41d,_0x4d0e3f,0x15,_0x54eeac[0x3f]),_0x378967[0x0]=_0x378967[0x0]+_0x15c41d|0x0,_0x378967[0x1]=_0x378967[0x1]+_0x454ef4|0x0,_0x378967[0x2]=_0x378967[0x2]+_0xe4dfa7|0x0,_0x378967[0x3]=_0x378967[0x3]+_0x74dd02|0x0;},'_doFinalize':function(){var _0x55a4a9=_0xda0a85,_0x8fa853=this['_data'],_0x52763d=_0x8fa853[_0x55a4a9(0x31a)],_0x5842ac=this[_0x55a4a9(0x173)]*0x8,_0x1a5b1d=_0x8fa853[_0x55a4a9(0x429)]*0x8;_0x52763d[_0x1a5b1d>>>0x5]|=0x80<<0x18-_0x1a5b1d%0x20;var _0x27572b=_0x5f366d[_0x55a4a9(0x3e5)](_0x5842ac/0x100000000),_0x3fa94d=_0x5842ac;_0x52763d[(_0x1a5b1d+0x40>>>0x9<<0x4)+0xf]=(_0x27572b<<0x8|_0x27572b>>>0x18)&0xff00ff|(_0x27572b<<0x18|_0x27572b>>>0x8)&0xff00ff00,_0x52763d[(_0x1a5b1d+0x40>>>0x9<<0x4)+0xe]=(_0x3fa94d<<0x8|_0x3fa94d>>>0x18)&0xff00ff|(_0x3fa94d<<0x18|_0x3fa94d>>>0x8)&0xff00ff00,_0x8fa853[_0x55a4a9(0x429)]=(_0x52763d['length']+0x1)*0x4,this[_0x55a4a9(0x2df)]();for(var _0x40f1f9=this['_hash'],_0x20c4d9=_0x40f1f9['words'],_0x8fa4c9=0x0;_0x8fa4c9<0x4;_0x8fa4c9++){var _0x2e3077=_0x20c4d9[_0x8fa4c9];_0x20c4d9[_0x8fa4c9]=(_0x2e3077<<0x8|_0x2e3077>>>0x18)&0xff00ff|(_0x2e3077<<0x18|_0x2e3077>>>0x8)&0xff00ff00;}return _0x40f1f9;},'clone':function(){var _0x3d5c71=_0xda0a85,_0x1dd304=_0x15ceb4[_0x3d5c71(0x268)]['call'](this);return _0x1dd304[_0x3d5c71(0x25a)]=this[_0x3d5c71(0x25a)][_0x3d5c71(0x268)](),_0x1dd304;}});function _0x1cbd12(_0x2adac3,_0xca773f,_0x174102,_0x39de7d,_0x17e72d,_0x54cf2c,_0x4410d4){var _0x377bc6=_0x2adac3+(_0xca773f&_0x174102|~_0xca773f&_0x39de7d)+_0x17e72d+_0x4410d4;return(_0x377bc6<<_0x54cf2c|_0x377bc6>>>0x20-_0x54cf2c)+_0xca773f;}function _0x174e9e(_0x14f278,_0x51d0bc,_0x5b55e4,_0x374c00,_0x5d95b5,_0xa3207f,_0x4a8cd2){var _0x48f683=_0x14f278+(_0x51d0bc&_0x374c00|_0x5b55e4&~_0x374c00)+_0x5d95b5+_0x4a8cd2;return(_0x48f683<<_0xa3207f|_0x48f683>>>0x20-_0xa3207f)+_0x51d0bc;}function _0x414515(_0x399486,_0x4cb54b,_0x5094ee,_0x5ef8c5,_0x5372d2,_0x3ba90d,_0x15c6de){var _0x5d8007=_0x399486+(_0x4cb54b^_0x5094ee^_0x5ef8c5)+_0x5372d2+_0x15c6de;return(_0x5d8007<<_0x3ba90d|_0x5d8007>>>0x20-_0x3ba90d)+_0x4cb54b;}function _0x5950b0(_0x2e75b9,_0x422a74,_0x8b940f,_0x11eca1,_0x4658b7,_0x3cf9a4,_0x225bd1){var _0x3967c6=_0x2e75b9+(_0x8b940f^(_0x422a74|~_0x11eca1))+_0x4658b7+_0x225bd1;return(_0x3967c6<<_0x3cf9a4|_0x3967c6>>>0x20-_0x3cf9a4)+_0x422a74;}_0x38392f[_0xda0a85(0x20e)]=_0x15ceb4['_createHelper'](_0x4a6758),_0x38392f[_0xda0a85(0xe2)]=_0x15ceb4[_0xda0a85(0x280)](_0x4a6758);}(Math),_0x3a4c42[_0x16a677(0x20e)];}));}(pe)),pe[_0x462a8c(0x389)];}var me={'exports':{}},ge={'exports':{}},bi=ge['exports'],Je;function Oi(){var _0x269b60=_0x51f573;return Je||(Je=0x1,function(_0x46f670,_0x2104a3){(function(_0x25db4f,_0x2ea372){_0x46f670['exports']=_0x2ea372(Z());}(bi,function(_0x21ba94){return(function(){var _0x1258fa=_0xf568,_0x14f643=_0x21ba94,_0x593304=_0x14f643[_0x1258fa(0x3e2)],_0xb40a3=_0x593304[_0x1258fa(0x33b)],_0x1eb725=_0x593304['Hasher'],_0x3f2642=_0x14f643[_0x1258fa(0x357)],_0x325d72=[],_0x41e7ba=_0x3f2642['SHA1']=_0x1eb725['extend']({'_doReset':function(){var _0x3277b8=_0x1258fa;this['_hash']=new _0xb40a3[(_0x3277b8(0x22f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b3b0a,_0x4d20b5){var _0x4947bf=_0x1258fa;for(var _0x985bcd=this['_hash'][_0x4947bf(0x31a)],_0x4a1001=_0x985bcd[0x0],_0x2e03f1=_0x985bcd[0x1],_0x165ff1=_0x985bcd[0x2],_0x5d4412=_0x985bcd[0x3],_0x26dd43=_0x985bcd[0x4],_0x937618=0x0;_0x937618<0x50;_0x937618++){if(_0x937618<0x10)_0x325d72[_0x937618]=_0x5b3b0a[_0x4d20b5+_0x937618]|0x0;else{var _0x1fa084=_0x325d72[_0x937618-0x3]^_0x325d72[_0x937618-0x8]^_0x325d72[_0x937618-0xe]^_0x325d72[_0x937618-0x10];_0x325d72[_0x937618]=_0x1fa084<<0x1|_0x1fa084>>>0x1f;}var _0x16d2aa=(_0x4a1001<<0x5|_0x4a1001>>>0x1b)+_0x26dd43+_0x325d72[_0x937618];_0x937618<0x14?_0x16d2aa+=(_0x2e03f1&_0x165ff1|~_0x2e03f1&_0x5d4412)+0x5a827999:_0x937618<0x28?_0x16d2aa+=(_0x2e03f1^_0x165ff1^_0x5d4412)+0x6ed9eba1:_0x937618<0x3c?_0x16d2aa+=(_0x2e03f1&_0x165ff1|_0x2e03f1&_0x5d4412|_0x165ff1&_0x5d4412)-0x70e44324:_0x16d2aa+=(_0x2e03f1^_0x165ff1^_0x5d4412)-0x359d3e2a,_0x26dd43=_0x5d4412,_0x5d4412=_0x165ff1,_0x165ff1=_0x2e03f1<<0x1e|_0x2e03f1>>>0x2,_0x2e03f1=_0x4a1001,_0x4a1001=_0x16d2aa;}_0x985bcd[0x0]=_0x985bcd[0x0]+_0x4a1001|0x0,_0x985bcd[0x1]=_0x985bcd[0x1]+_0x2e03f1|0x0,_0x985bcd[0x2]=_0x985bcd[0x2]+_0x165ff1|0x0,_0x985bcd[0x3]=_0x985bcd[0x3]+_0x5d4412|0x0,_0x985bcd[0x4]=_0x985bcd[0x4]+_0x26dd43|0x0;},'_doFinalize':function(){var _0x2d9e76=_0x1258fa,_0x1ac7c7=this['_data'],_0x31bb38=_0x1ac7c7['words'],_0x3c426c=this['_nDataBytes']*0x8,_0x584a11=_0x1ac7c7[_0x2d9e76(0x429)]*0x8;return _0x31bb38[_0x584a11>>>0x5]|=0x80<<0x18-_0x584a11%0x20,_0x31bb38[(_0x584a11+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d9e76(0x3e5)](_0x3c426c/0x100000000),_0x31bb38[(_0x584a11+0x40>>>0x9<<0x4)+0xf]=_0x3c426c,_0x1ac7c7['sigBytes']=_0x31bb38[_0x2d9e76(0x17a)]*0x4,this['_process'](),this[_0x2d9e76(0x25a)];},'clone':function(){var _0x2e11ed=_0x1258fa,_0x49740c=_0x1eb725['clone'][_0x2e11ed(0x31f)](this);return _0x49740c[_0x2e11ed(0x25a)]=this[_0x2e11ed(0x25a)][_0x2e11ed(0x268)](),_0x49740c;}});_0x14f643['SHA1']=_0x1eb725['_createHelper'](_0x41e7ba),_0x14f643['HmacSHA1']=_0x1eb725['_createHmacHelper'](_0x41e7ba);}()),_0x21ba94['SHA1'];}));}(ge)),ge[_0x269b60(0x389)];}var Te={'exports':{}},Ri=Te[_0x51f573(0x389)],Ze;function Ni(){var _0x8f96d2=_0x51f573;return Ze||(Ze=0x1,function(_0x22071a,_0x2d7028){(function(_0x11a563,_0x3e569a){var _0x1b7128=_0xf568;_0x22071a[_0x1b7128(0x389)]=_0x3e569a(Z());}(Ri,function(_0x25a097){(function(){var _0x4eaa96=_0xf568,_0x246c40=_0x25a097,_0x214072=_0x246c40['lib'],_0x53b044=_0x214072[_0x4eaa96(0x27b)],_0x32bbbe=_0x246c40[_0x4eaa96(0x28c)],_0x1da1c9=_0x32bbbe[_0x4eaa96(0x2f7)],_0x4ee932=_0x246c40['algo'];_0x4ee932[_0x4eaa96(0xd4)]=_0x53b044[_0x4eaa96(0x1cc)]({'init':function(_0x3a91f0,_0x175563){var _0x190977=_0x4eaa96;_0x3a91f0=this[_0x190977(0xea)]=new _0x3a91f0[(_0x190977(0x22f))](),typeof _0x175563==_0x190977(0x32d)&&(_0x175563=_0x1da1c9[_0x190977(0xa4)](_0x175563));var _0x58678c=_0x3a91f0[_0x190977(0x266)],_0x16864c=_0x58678c*0x4;_0x175563[_0x190977(0x429)]>_0x16864c&&(_0x175563=_0x3a91f0[_0x190977(0x261)](_0x175563)),_0x175563[_0x190977(0x2af)]();for(var _0x153485=this['_oKey']=_0x175563[_0x190977(0x268)](),_0xe9b55b=this['_iKey']=_0x175563[_0x190977(0x268)](),_0xcb2a4f=_0x153485[_0x190977(0x31a)],_0x15b6c4=_0xe9b55b[_0x190977(0x31a)],_0x26f7f1=0x0;_0x26f7f1<_0x58678c;_0x26f7f1++)_0xcb2a4f[_0x26f7f1]^=0x5c5c5c5c,_0x15b6c4[_0x26f7f1]^=0x36363636;_0x153485[_0x190977(0x429)]=_0xe9b55b[_0x190977(0x429)]=_0x16864c,this[_0x190977(0x329)]();},'reset':function(){var _0x283bcf=_0x4eaa96,_0x37c304=this['_hasher'];_0x37c304['reset'](),_0x37c304[_0x283bcf(0x3ed)](this[_0x283bcf(0x41d)]);},'update':function(_0x3f5440){var _0x5a4d80=_0x4eaa96;return this[_0x5a4d80(0xea)][_0x5a4d80(0x3ed)](_0x3f5440),this;},'finalize':function(_0x2ce1da){var _0x28f0bb=_0x4eaa96,_0xa9d87e=this[_0x28f0bb(0xea)],_0xcb1b1a=_0xa9d87e[_0x28f0bb(0x261)](_0x2ce1da);_0xa9d87e['reset']();var _0x49d2d9=_0xa9d87e[_0x28f0bb(0x261)](this[_0x28f0bb(0x24f)][_0x28f0bb(0x268)]()[_0x28f0bb(0x15a)](_0xcb1b1a));return _0x49d2d9;}});}());}));}(Te)),Te[_0x8f96d2(0x389)];}var Di=me[_0x51f573(0x389)],Qe;function Tt(){var _0x3cfbc9=_0x51f573;return Qe||(Qe=0x1,function(_0x323e94,_0x17498a){(function(_0x4c62d9,_0x2c9869,_0x442063){var _0x31a54a=_0xf568;_0x323e94[_0x31a54a(0x389)]=_0x2c9869(Z(),Oi(),Ni());}(Di,function(_0x121437){var _0x3b62d6=_0xf568;return(function(){var _0x1813c0=_0xf568,_0x559ced=_0x121437,_0x19c9cc=_0x559ced['lib'],_0x2442e2=_0x19c9cc[_0x1813c0(0x27b)],_0x42dff9=_0x19c9cc[_0x1813c0(0x33b)],_0x47ad91=_0x559ced[_0x1813c0(0x357)],_0x5a562c=_0x47ad91[_0x1813c0(0x20e)],_0x65a3d7=_0x47ad91[_0x1813c0(0x313)]=_0x2442e2[_0x1813c0(0x1cc)]({'cfg':_0x2442e2['extend']({'keySize':0x80/0x20,'hasher':_0x5a562c,'iterations':0x1}),'init':function(_0x1b2a62){var _0x43cb5e=_0x1813c0;this[_0x43cb5e(0x427)]=this[_0x43cb5e(0x427)][_0x43cb5e(0x1cc)](_0x1b2a62);},'compute':function(_0x43b600,_0x220022){var _0x18ab05=_0x1813c0;for(var _0x237410,_0x377eed=this['cfg'],_0x326b24=_0x377eed[_0x18ab05(0x418)][_0x18ab05(0x375)](),_0x325ddf=_0x42dff9[_0x18ab05(0x375)](),_0xee6bbc=_0x325ddf[_0x18ab05(0x31a)],_0x58ba8f=_0x377eed[_0x18ab05(0x106)],_0x27d7cc=_0x377eed[_0x18ab05(0x30b)];_0xee6bbc['length']<_0x58ba8f;){_0x237410&&_0x326b24[_0x18ab05(0x3ed)](_0x237410),_0x237410=_0x326b24[_0x18ab05(0x3ed)](_0x43b600)['finalize'](_0x220022),_0x326b24[_0x18ab05(0x329)]();for(var _0x771e86=0x1;_0x771e86<_0x27d7cc;_0x771e86++)_0x237410=_0x326b24[_0x18ab05(0x261)](_0x237410),_0x326b24[_0x18ab05(0x329)]();_0x325ddf['concat'](_0x237410);}return _0x325ddf[_0x18ab05(0x429)]=_0x58ba8f*0x4,_0x325ddf;}});_0x559ced[_0x1813c0(0x313)]=function(_0x25e374,_0x1d8332,_0x383cbd){var _0x5c8d14=_0x1813c0;return _0x65a3d7[_0x5c8d14(0x375)](_0x383cbd)['compute'](_0x25e374,_0x1d8332);};}()),_0x121437[_0x3b62d6(0x313)];}));}(me)),me[_0x3cfbc9(0x389)];}var Ce={'exports':{}},yi=Ce[_0x51f573(0x389)],et;function Ct(){return et||(et=0x1,function(_0x2b4961,_0x34a171){(function(_0x4d8999,_0x5e08c3,_0x38b54d){var _0x15df6f=_0xf568;_0x2b4961[_0x15df6f(0x389)]=_0x5e08c3(Z(),Tt());}(yi,function(_0x230d34){var _0x35cfcc=_0xf568;_0x230d34[_0x35cfcc(0x3e2)]['Cipher']||function(_0x2dc244){var _0x529614=_0x35cfcc,_0x183281=_0x230d34,_0x483c3e=_0x183281['lib'],_0x5e8aa7=_0x483c3e[_0x529614(0x27b)],_0x9c78=_0x483c3e[_0x529614(0x33b)],_0x1e1ae7=_0x483c3e[_0x529614(0x2de)],_0x371f65=_0x183281[_0x529614(0x28c)];_0x371f65[_0x529614(0x2f7)];var _0x45a9de=_0x371f65[_0x529614(0xc7)],_0x1ae955=_0x183281[_0x529614(0x357)],_0x260bd8=_0x1ae955['EvpKDF'],_0x41041c=_0x483c3e[_0x529614(0x3f3)]=_0x1e1ae7[_0x529614(0x1cc)]({'cfg':_0x5e8aa7[_0x529614(0x1cc)](),'createEncryptor':function(_0x162c6b,_0x3a0989){var _0x5879a1=_0x529614;return this[_0x5879a1(0x375)](this[_0x5879a1(0x111)],_0x162c6b,_0x3a0989);},'createDecryptor':function(_0x3fdcef,_0xfe4982){var _0x487b48=_0x529614;return this[_0x487b48(0x375)](this[_0x487b48(0x118)],_0x3fdcef,_0xfe4982);},'init':function(_0xcee57a,_0xa60e53,_0x2c9337){var _0x598fd0=_0x529614;this['cfg']=this[_0x598fd0(0x427)]['extend'](_0x2c9337),this['_xformMode']=_0xcee57a,this[_0x598fd0(0x335)]=_0xa60e53,this[_0x598fd0(0x329)]();},'reset':function(){var _0x29ac3e=_0x529614;_0x1e1ae7['reset'][_0x29ac3e(0x31f)](this),this[_0x29ac3e(0x1af)]();},'process':function(_0x1c25ee){var _0x375207=_0x529614;return this[_0x375207(0x245)](_0x1c25ee),this[_0x375207(0x2df)]();},'finalize':function(_0x4ef661){var _0x39f6fa=_0x529614;_0x4ef661&&this[_0x39f6fa(0x245)](_0x4ef661);var _0x3a9178=this[_0x39f6fa(0x135)]();return _0x3a9178;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5ac994(_0x3b599d){return typeof _0x3b599d=='string'?_0x135655:_0x470a00;}return function(_0x404276){return{'encrypt':function(_0x50343f,_0x106ca9,_0x509ff6){var _0xab5af1=_0xf568;return _0x5ac994(_0x106ca9)[_0xab5af1(0x322)](_0x404276,_0x50343f,_0x106ca9,_0x509ff6);},'decrypt':function(_0x56851f,_0x5a9ff2,_0x399917){var _0x5bc891=_0xf568;return _0x5ac994(_0x5a9ff2)[_0x5bc891(0x11f)](_0x404276,_0x56851f,_0x5a9ff2,_0x399917);}};};}())});_0x483c3e['StreamCipher']=_0x41041c[_0x529614(0x1cc)]({'_doFinalize':function(){var _0x149dc7=this['_process'](!0x0);return _0x149dc7;},'blockSize':0x1});var _0x373710=_0x183281['mode']={},_0x57ab77=_0x483c3e[_0x529614(0xe0)]=_0x5e8aa7[_0x529614(0x1cc)]({'createEncryptor':function(_0x1767cc,_0x4f6de5){var _0x5a32f5=_0x529614;return this['Encryptor'][_0x5a32f5(0x375)](_0x1767cc,_0x4f6de5);},'createDecryptor':function(_0x464365,_0x3e62ce){var _0x34ca3b=_0x529614;return this[_0x34ca3b(0x2a1)][_0x34ca3b(0x375)](_0x464365,_0x3e62ce);},'init':function(_0x32ad1b,_0xb03885){var _0x27000c=_0x529614;this[_0x27000c(0x155)]=_0x32ad1b,this[_0x27000c(0x423)]=_0xb03885;}}),_0x3e839b=_0x373710[_0x529614(0x1d6)]=(function(){var _0x46e7d6=_0x529614,_0x162228=_0x57ab77[_0x46e7d6(0x1cc)]();_0x162228[_0x46e7d6(0x13a)]=_0x162228[_0x46e7d6(0x1cc)]({'processBlock':function(_0x4ae0a2,_0x2f1864){var _0x5dd003=_0x46e7d6,_0xec76ce=this['_cipher'],_0x505c91=_0xec76ce[_0x5dd003(0x266)];_0xa671d3['call'](this,_0x4ae0a2,_0x2f1864,_0x505c91),_0xec76ce[_0x5dd003(0xfb)](_0x4ae0a2,_0x2f1864),this[_0x5dd003(0x176)]=_0x4ae0a2['slice'](_0x2f1864,_0x2f1864+_0x505c91);}}),_0x162228[_0x46e7d6(0x2a1)]=_0x162228[_0x46e7d6(0x1cc)]({'processBlock':function(_0x5d07aa,_0xd3af5b){var _0x56d50f=_0x46e7d6,_0x3c7702=this[_0x56d50f(0x155)],_0x9a09c6=_0x3c7702[_0x56d50f(0x266)],_0xc56a2c=_0x5d07aa[_0x56d50f(0x1a9)](_0xd3af5b,_0xd3af5b+_0x9a09c6);_0x3c7702[_0x56d50f(0x2ef)](_0x5d07aa,_0xd3af5b),_0xa671d3[_0x56d50f(0x31f)](this,_0x5d07aa,_0xd3af5b,_0x9a09c6),this['_prevBlock']=_0xc56a2c;}});function _0xa671d3(_0x1cbd84,_0x2604cb,_0x259bbc){var _0x2c063c=_0x46e7d6,_0x209f17,_0x14c30e=this['_iv'];_0x14c30e?(_0x209f17=_0x14c30e,this[_0x2c063c(0x423)]=_0x2dc244):_0x209f17=this['_prevBlock'];for(var _0x2c520f=0x0;_0x2c520f<_0x259bbc;_0x2c520f++)_0x1cbd84[_0x2604cb+_0x2c520f]^=_0x209f17[_0x2c520f];}return _0x162228;}()),_0x483859=_0x183281[_0x529614(0x2fe)]={},_0x357f64=_0x483859[_0x529614(0x1bf)]={'pad':function(_0xf0761a,_0x434e6a){var _0x635e98=_0x529614;for(var _0x11b6d8=_0x434e6a*0x4,_0x50254a=_0x11b6d8-_0xf0761a[_0x635e98(0x429)]%_0x11b6d8,_0x4a1595=_0x50254a<<0x18|_0x50254a<<0x10|_0x50254a<<0x8|_0x50254a,_0xf800a1=[],_0x521a61=0x0;_0x521a61<_0x50254a;_0x521a61+=0x4)_0xf800a1['push'](_0x4a1595);var _0x4aabb3=_0x9c78[_0x635e98(0x375)](_0xf800a1,_0x50254a);_0xf0761a['concat'](_0x4aabb3);},'unpad':function(_0x247b97){var _0x49d1d4=_0x247b97['words'][_0x247b97['sigBytes']-0x1>>>0x2]&0xff;_0x247b97['sigBytes']-=_0x49d1d4;}};_0x483c3e[_0x529614(0x154)]=_0x41041c[_0x529614(0x1cc)]({'cfg':_0x41041c[_0x529614(0x427)][_0x529614(0x1cc)]({'mode':_0x3e839b,'padding':_0x357f64}),'reset':function(){var _0x32a223=_0x529614,_0x57237a;_0x41041c[_0x32a223(0x329)][_0x32a223(0x31f)](this);var _0x11ad7e=this[_0x32a223(0x427)],_0x350372=_0x11ad7e['iv'],_0x8a5498=_0x11ad7e['mode'];this[_0x32a223(0x3b5)]==this[_0x32a223(0x111)]?_0x57237a=_0x8a5498[_0x32a223(0x23a)]:(_0x57237a=_0x8a5498['createDecryptor'],this[_0x32a223(0xb1)]=0x1),this[_0x32a223(0x171)]&&this[_0x32a223(0x171)]['__creator']==_0x57237a?this['_mode'][_0x32a223(0x22f)](this,_0x350372&&_0x350372[_0x32a223(0x31a)]):(this[_0x32a223(0x171)]=_0x57237a['call'](_0x8a5498,this,_0x350372&&_0x350372[_0x32a223(0x31a)]),this[_0x32a223(0x171)]['__creator']=_0x57237a);},'_doProcessBlock':function(_0x27dab3,_0x2ac42d){var _0x3e3807=_0x529614;this['_mode'][_0x3e3807(0x17b)](_0x27dab3,_0x2ac42d);},'_doFinalize':function(){var _0xbc4aae=_0x529614,_0x300b52,_0x3a72eb=this[_0xbc4aae(0x427)]['padding'];return this[_0xbc4aae(0x3b5)]==this[_0xbc4aae(0x111)]?(_0x3a72eb['pad'](this[_0xbc4aae(0x97)],this[_0xbc4aae(0x266)]),_0x300b52=this[_0xbc4aae(0x2df)](!0x0)):(_0x300b52=this[_0xbc4aae(0x2df)](!0x0),_0x3a72eb[_0xbc4aae(0x217)](_0x300b52)),_0x300b52;},'blockSize':0x80/0x20});var _0x567bba=_0x483c3e[_0x529614(0x30c)]=_0x5e8aa7[_0x529614(0x1cc)]({'init':function(_0x3ce6af){var _0x306230=_0x529614;this[_0x306230(0x390)](_0x3ce6af);},'toString':function(_0x3ffd75){var _0x3cffb2=_0x529614;return(_0x3ffd75||this[_0x3cffb2(0x3b0)])['stringify'](this);}}),_0x46d464=_0x183281[_0x529614(0x2a9)]={},_0x1c351d=_0x46d464[_0x529614(0x220)]={'stringify':function(_0x548871){var _0x12da41=_0x529614,_0x5b8e7d,_0x5d9f67=_0x548871['ciphertext'],_0x593d97=_0x548871[_0x12da41(0x1d8)];return _0x593d97?_0x5b8e7d=_0x9c78[_0x12da41(0x375)]([0x53616c74,0x65645f5f])[_0x12da41(0x15a)](_0x593d97)[_0x12da41(0x15a)](_0x5d9f67):_0x5b8e7d=_0x5d9f67,_0x5b8e7d[_0x12da41(0x401)](_0x45a9de);},'parse':function(_0x2d1902){var _0x5dfa30=_0x529614,_0x2dfdb0,_0x440574=_0x45a9de[_0x5dfa30(0xa4)](_0x2d1902),_0x3c9173=_0x440574[_0x5dfa30(0x31a)];return _0x3c9173[0x0]==0x53616c74&&_0x3c9173[0x1]==0x65645f5f&&(_0x2dfdb0=_0x9c78['create'](_0x3c9173['slice'](0x2,0x4)),_0x3c9173[_0x5dfa30(0x179)](0x0,0x4),_0x440574['sigBytes']-=0x10),_0x567bba[_0x5dfa30(0x375)]({'ciphertext':_0x440574,'salt':_0x2dfdb0});}},_0x470a00=_0x483c3e['SerializableCipher']=_0x5e8aa7[_0x529614(0x1cc)]({'cfg':_0x5e8aa7[_0x529614(0x1cc)]({'format':_0x1c351d}),'encrypt':function(_0x4aac2e,_0x22a6c5,_0x3cca89,_0x2c6191){var _0x5f5433=_0x529614;_0x2c6191=this['cfg'][_0x5f5433(0x1cc)](_0x2c6191);var _0x57d5db=_0x4aac2e[_0x5f5433(0x23a)](_0x3cca89,_0x2c6191),_0x4ddf38=_0x57d5db[_0x5f5433(0x261)](_0x22a6c5),_0x1fec5b=_0x57d5db[_0x5f5433(0x427)];return _0x567bba[_0x5f5433(0x375)]({'ciphertext':_0x4ddf38,'key':_0x3cca89,'iv':_0x1fec5b['iv'],'algorithm':_0x4aac2e,'mode':_0x1fec5b['mode'],'padding':_0x1fec5b['padding'],'blockSize':_0x4aac2e[_0x5f5433(0x266)],'formatter':_0x2c6191[_0x5f5433(0x2a9)]});},'decrypt':function(_0x50396f,_0x24d93a,_0x43b254,_0x2f4ec3){var _0x2ef51d=_0x529614;_0x2f4ec3=this[_0x2ef51d(0x427)]['extend'](_0x2f4ec3),_0x24d93a=this[_0x2ef51d(0x3c6)](_0x24d93a,_0x2f4ec3[_0x2ef51d(0x2a9)]);var _0x175c3a=_0x50396f[_0x2ef51d(0x11d)](_0x43b254,_0x2f4ec3)['finalize'](_0x24d93a[_0x2ef51d(0x12a)]);return _0x175c3a;},'_parse':function(_0x204531,_0x51365e){var _0x2242a4=_0x529614;return typeof _0x204531==_0x2242a4(0x32d)?_0x51365e['parse'](_0x204531,this):_0x204531;}}),_0x4408c8=_0x183281['kdf']={},_0x63c51b=_0x4408c8['OpenSSL']={'execute':function(_0x54fdf6,_0x2b8a35,_0x19ff19,_0x2e09c9,_0x137940){var _0x49b933=_0x529614;if(_0x2e09c9||(_0x2e09c9=_0x9c78[_0x49b933(0x20a)](0x40/0x8)),_0x137940)var _0x4ec375=_0x260bd8[_0x49b933(0x375)]({'keySize':_0x2b8a35+_0x19ff19,'hasher':_0x137940})[_0x49b933(0x114)](_0x54fdf6,_0x2e09c9);else var _0x4ec375=_0x260bd8[_0x49b933(0x375)]({'keySize':_0x2b8a35+_0x19ff19})[_0x49b933(0x114)](_0x54fdf6,_0x2e09c9);var _0x5aa9e1=_0x9c78[_0x49b933(0x375)](_0x4ec375[_0x49b933(0x31a)][_0x49b933(0x1a9)](_0x2b8a35),_0x19ff19*0x4);return _0x4ec375['sigBytes']=_0x2b8a35*0x4,_0x567bba[_0x49b933(0x375)]({'key':_0x4ec375,'iv':_0x5aa9e1,'salt':_0x2e09c9});}},_0x135655=_0x483c3e['PasswordBasedCipher']=_0x470a00['extend']({'cfg':_0x470a00[_0x529614(0x427)][_0x529614(0x1cc)]({'kdf':_0x63c51b}),'encrypt':function(_0x52a461,_0x1c84e0,_0xacdefb,_0x1678a8){var _0x59beae=_0x529614;_0x1678a8=this[_0x59beae(0x427)]['extend'](_0x1678a8);var _0x35c75e=_0x1678a8['kdf'][_0x59beae(0x3b8)](_0xacdefb,_0x52a461[_0x59beae(0x106)],_0x52a461[_0x59beae(0x344)],_0x1678a8[_0x59beae(0x1d8)],_0x1678a8['hasher']);_0x1678a8['iv']=_0x35c75e['iv'];var _0x1fd5cb=_0x470a00[_0x59beae(0x322)]['call'](this,_0x52a461,_0x1c84e0,_0x35c75e[_0x59beae(0x246)],_0x1678a8);return _0x1fd5cb['mixIn'](_0x35c75e),_0x1fd5cb;},'decrypt':function(_0x564ef1,_0x2b4b4b,_0x5c41e0,_0x47ec45){var _0x3a7b61=_0x529614;_0x47ec45=this[_0x3a7b61(0x427)][_0x3a7b61(0x1cc)](_0x47ec45),_0x2b4b4b=this[_0x3a7b61(0x3c6)](_0x2b4b4b,_0x47ec45[_0x3a7b61(0x2a9)]);var _0x850ca0=_0x47ec45[_0x3a7b61(0x22a)][_0x3a7b61(0x3b8)](_0x5c41e0,_0x564ef1[_0x3a7b61(0x106)],_0x564ef1['ivSize'],_0x2b4b4b[_0x3a7b61(0x1d8)],_0x47ec45[_0x3a7b61(0x418)]);_0x47ec45['iv']=_0x850ca0['iv'];var _0x1c6205=_0x470a00[_0x3a7b61(0x11f)][_0x3a7b61(0x31f)](this,_0x564ef1,_0x2b4b4b,_0x850ca0[_0x3a7b61(0x246)],_0x47ec45);return _0x1c6205;}});}();}));}(Ce)),Ce['exports'];}var Ui=Ie[_0x51f573(0x389)],tt;function Ai(){var _0x581ced=_0x51f573;return tt||(tt=0x1,function(_0x6524cc,_0x5b9748){(function(_0x1cba98,_0x2c903a,_0x21cc02){var _0xfa13ba=_0xf568;_0x6524cc[_0xfa13ba(0x389)]=_0x2c903a(Z(),gt(),Ci(),Tt(),Ct());}(Ui,function(_0xeda5ab){var _0xf2b093=_0xf568;return(function(){var _0x15c7e2=_0xf568,_0x251e77=_0xeda5ab,_0x20b98b=_0x251e77['lib'],_0x396154=_0x20b98b[_0x15c7e2(0x154)],_0x4cf56e=_0x251e77[_0x15c7e2(0x357)],_0x5b083b=[],_0x29927c=[],_0x23ab29=[],_0x36ff2a=[],_0x11ce3c=[],_0x5a3120=[],_0x56d835=[],_0x1b5149=[],_0x2a36b3=[],_0x4ecdf9=[];(function(){for(var _0x5f44c9=[],_0x581bca=0x0;_0x581bca<0x100;_0x581bca++)_0x581bca<0x80?_0x5f44c9[_0x581bca]=_0x581bca<<0x1:_0x5f44c9[_0x581bca]=_0x581bca<<0x1^0x11b;for(var _0x493387=0x0,_0x3db874=0x0,_0x581bca=0x0;_0x581bca<0x100;_0x581bca++){var _0x1a4668=_0x3db874^_0x3db874<<0x1^_0x3db874<<0x2^_0x3db874<<0x3^_0x3db874<<0x4;_0x1a4668=_0x1a4668>>>0x8^_0x1a4668&0xff^0x63,_0x5b083b[_0x493387]=_0x1a4668,_0x29927c[_0x1a4668]=_0x493387;var _0x466453=_0x5f44c9[_0x493387],_0x39e058=_0x5f44c9[_0x466453],_0x1ea026=_0x5f44c9[_0x39e058],_0x2551ae=_0x5f44c9[_0x1a4668]*0x101^_0x1a4668*0x1010100;_0x23ab29[_0x493387]=_0x2551ae<<0x18|_0x2551ae>>>0x8,_0x36ff2a[_0x493387]=_0x2551ae<<0x10|_0x2551ae>>>0x10,_0x11ce3c[_0x493387]=_0x2551ae<<0x8|_0x2551ae>>>0x18,_0x5a3120[_0x493387]=_0x2551ae;var _0x2551ae=_0x1ea026*0x1010101^_0x39e058*0x10001^_0x466453*0x101^_0x493387*0x1010100;_0x56d835[_0x1a4668]=_0x2551ae<<0x18|_0x2551ae>>>0x8,_0x1b5149[_0x1a4668]=_0x2551ae<<0x10|_0x2551ae>>>0x10,_0x2a36b3[_0x1a4668]=_0x2551ae<<0x8|_0x2551ae>>>0x18,_0x4ecdf9[_0x1a4668]=_0x2551ae,_0x493387?(_0x493387=_0x466453^_0x5f44c9[_0x5f44c9[_0x5f44c9[_0x1ea026^_0x466453]]],_0x3db874^=_0x5f44c9[_0x5f44c9[_0x3db874]]):_0x493387=_0x3db874=0x1;}}());var _0x428f82=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29e6c4=_0x4cf56e[_0x15c7e2(0x352)]=_0x396154['extend']({'_doReset':function(){var _0x356fe4=_0x15c7e2,_0x17ce2d;if(!(this['_nRounds']&&this[_0x356fe4(0x1df)]===this[_0x356fe4(0x335)])){for(var _0x4d4208=this[_0x356fe4(0x1df)]=this['_key'],_0x4904b8=_0x4d4208[_0x356fe4(0x31a)],_0x281f0e=_0x4d4208[_0x356fe4(0x429)]/0x4,_0xb383ee=this[_0x356fe4(0x2b6)]=_0x281f0e+0x6,_0x2623be=(_0xb383ee+0x1)*0x4,_0x112cbd=this['_keySchedule']=[],_0x30d689=0x0;_0x30d689<_0x2623be;_0x30d689++)_0x30d689<_0x281f0e?_0x112cbd[_0x30d689]=_0x4904b8[_0x30d689]:(_0x17ce2d=_0x112cbd[_0x30d689-0x1],_0x30d689%_0x281f0e?_0x281f0e>0x6&&_0x30d689%_0x281f0e==0x4&&(_0x17ce2d=_0x5b083b[_0x17ce2d>>>0x18]<<0x18|_0x5b083b[_0x17ce2d>>>0x10&0xff]<<0x10|_0x5b083b[_0x17ce2d>>>0x8&0xff]<<0x8|_0x5b083b[_0x17ce2d&0xff]):(_0x17ce2d=_0x17ce2d<<0x8|_0x17ce2d>>>0x18,_0x17ce2d=_0x5b083b[_0x17ce2d>>>0x18]<<0x18|_0x5b083b[_0x17ce2d>>>0x10&0xff]<<0x10|_0x5b083b[_0x17ce2d>>>0x8&0xff]<<0x8|_0x5b083b[_0x17ce2d&0xff],_0x17ce2d^=_0x428f82[_0x30d689/_0x281f0e|0x0]<<0x18),_0x112cbd[_0x30d689]=_0x112cbd[_0x30d689-_0x281f0e]^_0x17ce2d);for(var _0x2a1f3a=this['_invKeySchedule']=[],_0x19c2b2=0x0;_0x19c2b2<_0x2623be;_0x19c2b2++){var _0x30d689=_0x2623be-_0x19c2b2;if(_0x19c2b2%0x4)var _0x17ce2d=_0x112cbd[_0x30d689];else var _0x17ce2d=_0x112cbd[_0x30d689-0x4];_0x19c2b2<0x4||_0x30d689<=0x4?_0x2a1f3a[_0x19c2b2]=_0x17ce2d:_0x2a1f3a[_0x19c2b2]=_0x56d835[_0x5b083b[_0x17ce2d>>>0x18]]^_0x1b5149[_0x5b083b[_0x17ce2d>>>0x10&0xff]]^_0x2a36b3[_0x5b083b[_0x17ce2d>>>0x8&0xff]]^_0x4ecdf9[_0x5b083b[_0x17ce2d&0xff]];}}},'encryptBlock':function(_0x33c5de,_0x3f3523){var _0x313e29=_0x15c7e2;this[_0x313e29(0x336)](_0x33c5de,_0x3f3523,this[_0x313e29(0x3dd)],_0x23ab29,_0x36ff2a,_0x11ce3c,_0x5a3120,_0x5b083b);},'decryptBlock':function(_0x4fe154,_0x3ac23d){var _0x342571=_0x15c7e2,_0xf438dd=_0x4fe154[_0x3ac23d+0x1];_0x4fe154[_0x3ac23d+0x1]=_0x4fe154[_0x3ac23d+0x3],_0x4fe154[_0x3ac23d+0x3]=_0xf438dd,this[_0x342571(0x336)](_0x4fe154,_0x3ac23d,this[_0x342571(0xa5)],_0x56d835,_0x1b5149,_0x2a36b3,_0x4ecdf9,_0x29927c);var _0xf438dd=_0x4fe154[_0x3ac23d+0x1];_0x4fe154[_0x3ac23d+0x1]=_0x4fe154[_0x3ac23d+0x3],_0x4fe154[_0x3ac23d+0x3]=_0xf438dd;},'_doCryptBlock':function(_0x8cad5d,_0x123df7,_0x2ed05f,_0x4f6657,_0x472a69,_0x285adf,_0x5a699e,_0x5aa7aa){var _0x36f169=_0x15c7e2;for(var _0x10e58b=this[_0x36f169(0x2b6)],_0x131f96=_0x8cad5d[_0x123df7]^_0x2ed05f[0x0],_0x5ce58e=_0x8cad5d[_0x123df7+0x1]^_0x2ed05f[0x1],_0x2c137f=_0x8cad5d[_0x123df7+0x2]^_0x2ed05f[0x2],_0x9bb2d=_0x8cad5d[_0x123df7+0x3]^_0x2ed05f[0x3],_0x1de261=0x4,_0x22c9da=0x1;_0x22c9da<_0x10e58b;_0x22c9da++){var _0x30e2e4=_0x4f6657[_0x131f96>>>0x18]^_0x472a69[_0x5ce58e>>>0x10&0xff]^_0x285adf[_0x2c137f>>>0x8&0xff]^_0x5a699e[_0x9bb2d&0xff]^_0x2ed05f[_0x1de261++],_0x1b8db5=_0x4f6657[_0x5ce58e>>>0x18]^_0x472a69[_0x2c137f>>>0x10&0xff]^_0x285adf[_0x9bb2d>>>0x8&0xff]^_0x5a699e[_0x131f96&0xff]^_0x2ed05f[_0x1de261++],_0x445877=_0x4f6657[_0x2c137f>>>0x18]^_0x472a69[_0x9bb2d>>>0x10&0xff]^_0x285adf[_0x131f96>>>0x8&0xff]^_0x5a699e[_0x5ce58e&0xff]^_0x2ed05f[_0x1de261++],_0x33cf52=_0x4f6657[_0x9bb2d>>>0x18]^_0x472a69[_0x131f96>>>0x10&0xff]^_0x285adf[_0x5ce58e>>>0x8&0xff]^_0x5a699e[_0x2c137f&0xff]^_0x2ed05f[_0x1de261++];_0x131f96=_0x30e2e4,_0x5ce58e=_0x1b8db5,_0x2c137f=_0x445877,_0x9bb2d=_0x33cf52;}var _0x30e2e4=(_0x5aa7aa[_0x131f96>>>0x18]<<0x18|_0x5aa7aa[_0x5ce58e>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x2c137f>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x9bb2d&0xff])^_0x2ed05f[_0x1de261++],_0x1b8db5=(_0x5aa7aa[_0x5ce58e>>>0x18]<<0x18|_0x5aa7aa[_0x2c137f>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x9bb2d>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x131f96&0xff])^_0x2ed05f[_0x1de261++],_0x445877=(_0x5aa7aa[_0x2c137f>>>0x18]<<0x18|_0x5aa7aa[_0x9bb2d>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x131f96>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x5ce58e&0xff])^_0x2ed05f[_0x1de261++],_0x33cf52=(_0x5aa7aa[_0x9bb2d>>>0x18]<<0x18|_0x5aa7aa[_0x131f96>>>0x10&0xff]<<0x10|_0x5aa7aa[_0x5ce58e>>>0x8&0xff]<<0x8|_0x5aa7aa[_0x2c137f&0xff])^_0x2ed05f[_0x1de261++];_0x8cad5d[_0x123df7]=_0x30e2e4,_0x8cad5d[_0x123df7+0x1]=_0x1b8db5,_0x8cad5d[_0x123df7+0x2]=_0x445877,_0x8cad5d[_0x123df7+0x3]=_0x33cf52;},'keySize':0x100/0x20});_0x251e77[_0x15c7e2(0x352)]=_0x396154[_0x15c7e2(0x3f7)](_0x29e6c4);}()),_0xeda5ab[_0xf2b093(0x352)];}));}(Ie)),Ie[_0x581ced(0x389)];}var Pi=Ai();const Li=de(Pi);var Mi=gt();const it=de(Mi);var be={'exports':{}},wi=be[_0x51f573(0x389)],nt;function _0xf568(_0x17d990,_0x138031){var _0x5d99c1=_0x5d99();return _0xf568=function(_0xf56858,_0x455c41){_0xf56858=_0xf56858-0x92;var _0x390d3f=_0x5d99c1[_0xf56858];return _0x390d3f;},_0xf568(_0x17d990,_0x138031);}function xi(){var _0x3f0d2d=_0x51f573;return nt||(nt=0x1,function(_0x4a8bbd,_0x23bc9c){(function(_0x8fa2f7,_0x432ead){_0x4a8bbd['exports']=_0x432ead(Z());}(wi,function(_0x3204fc){var _0x4ebd63=_0xf568;return _0x3204fc[_0x4ebd63(0x28c)][_0x4ebd63(0x2f7)];}));}(be)),be[_0x3f0d2d(0x389)];}var ki=xi();const $i=de(ki);var Oe={'exports':{}},Hi=Oe['exports'],st;function ji(){return st||(st=0x1,function(_0x23c2ac,_0x4cbf3d){(function(_0x5aa29e,_0x554525){_0x23c2ac['exports']=_0x554525(Z());}(Hi,function(_0x52d84f){var _0x3b7bc6=_0xf568;return(function(){var _0x897c5b=_0xf568;if(typeof ArrayBuffer==_0x897c5b(0x367)){var _0x1387da=_0x52d84f,_0x419fa5=_0x1387da['lib'],_0x2603fe=_0x419fa5['WordArray'],_0x505724=_0x2603fe[_0x897c5b(0x22f)],_0x2e1bf3=_0x2603fe[_0x897c5b(0x22f)]=function(_0x2caf76){var _0x1ef10d=_0x897c5b;if(_0x2caf76 instanceof ArrayBuffer&&(_0x2caf76=new Uint8Array(_0x2caf76)),(_0x2caf76 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2caf76 instanceof Uint8ClampedArray||_0x2caf76 instanceof Int16Array||_0x2caf76 instanceof Uint16Array||_0x2caf76 instanceof Int32Array||_0x2caf76 instanceof Uint32Array||_0x2caf76 instanceof Float32Array||_0x2caf76 instanceof Float64Array)&&(_0x2caf76=new Uint8Array(_0x2caf76['buffer'],_0x2caf76[_0x1ef10d(0x325)],_0x2caf76[_0x1ef10d(0x3a7)])),_0x2caf76 instanceof Uint8Array){for(var _0x2341d6=_0x2caf76[_0x1ef10d(0x3a7)],_0x731c8d=[],_0x56503c=0x0;_0x56503c<_0x2341d6;_0x56503c++)_0x731c8d[_0x56503c>>>0x2]|=_0x2caf76[_0x56503c]<<0x18-_0x56503c%0x4*0x8;_0x505724['call'](this,_0x731c8d,_0x2341d6);}else _0x505724['apply'](this,arguments);};_0x2e1bf3[_0x897c5b(0x3b4)]=_0x2603fe;}}()),_0x52d84f[_0x3b7bc6(0x3e2)]['WordArray'];}));}(Oe)),Oe['exports'];}var Bi=ji();const Fi=de(Bi);var Re={'exports':{}},Vi=Re[_0x51f573(0x389)],rt;function Wi(){return rt||(rt=0x1,function(_0x3b8bc0,_0x38ecda){(function(_0x179d2b,_0x1948fb,_0x429b4c){var _0x3629ab=_0xf568;_0x3b8bc0[_0x3629ab(0x389)]=_0x1948fb(Z(),Ct());}(Vi,function(_0x895ed3){var _0x791bd5=_0xf568;return _0x895ed3[_0x791bd5(0x2fe)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x895ed3['pad']['NoPadding'];}));}(Re)),Re['exports'];}var Gi=Wi();const Yi=de(Gi);function Ki(_0x32c213,_0x1627ce){var _0x392629=_0x51f573;const _0x87ae59=_0x1627ce-_0x32c213[_0x392629(0x17a)]%_0x1627ce,_0x59c598=String[_0x392629(0x169)](_0x87ae59)[_0x392629(0x1ee)](_0x87ae59);return _0x32c213+_0x59c598;}function qi(_0x2ed8d4,_0x50baf4){var _0x2a3834=_0x51f573;const _0xbed06d=Fi[_0x2a3834(0x20a)](0x10),_0x599602=Ki(_0x2ed8d4,0x10),_0x33278b=Li[_0x2a3834(0x322)]($i[_0x2a3834(0xa4)](_0x599602),it[_0x2a3834(0xa4)](_0x50baf4),{'iv':_0xbed06d,'padding':Yi});return _0xbed06d['concat'](_0x33278b[_0x2a3834(0x12a)])[_0x2a3834(0x401)](it);}function zi(){var _0x28bdcb=_0x51f573;const _0x46563e=Nt['getGlobalObject']()[_0x28bdcb(0x3bc)];if(_0x46563e){const _0x4eb0db={'time':Math[_0x28bdcb(0x3e5)](Date[_0x28bdcb(0x162)]()/0x3e8),'domain':location[_0x28bdcb(0x301)]};return qi(JSON[_0x28bdcb(0x29c)](_0x4eb0db),_0x46563e);}}var Xi=Object[_0x51f573(0x395)],Ji=(_0x50c103,_0x42903f,_0x3638bb,_0x530989)=>{var _0x186370=_0x51f573;for(var _0x5daf07=_0x530989>0x1?void 0x0:_0x530989?Xi(_0x42903f,_0x3638bb):_0x42903f,_0x56aa6f=_0x50c103[_0x186370(0x17a)]-0x1,_0xacae40;_0x56aa6f>=0x0;_0x56aa6f--)(_0xacae40=_0x50c103[_0x56aa6f])&&(_0x5daf07=_0xacae40(_0x5daf07)||_0x5daf07);return _0x5daf07;},Zi=(_0x389497,_0x488227)=>(_0x99aa18,_0xeb37a9)=>_0x488227(_0x99aa18,_0xeb37a9,_0x389497);let De=class{constructor(_0x2708a9){var _0x39e926=_0x51f573;this[_0x39e926(0x26d)]=_0x2708a9,this[_0x39e926(0x132)]();}[_0x51f573(0x132)](){var _0x540462=_0x51f573;this[_0x540462(0x26d)]['registerHTTPInterceptor']({'interceptor':(_0x25fdca,_0xaaf3de)=>{var _0x49e01f=_0x540462;const _0xffb3d7=_0x25fdca[_0x49e01f(0x35e)],_0x16262a=zi();return _0x16262a&&_0xffb3d7[_0x49e01f(0x28a)](_0x49e01f(0x262),_0x16262a),_0xaaf3de(_0x25fdca);}});}};De=Ji([Zi(0x0,o[_0x51f573(0x2ba)](K[_0x51f573(0x194)]))],De);var Qi=Object[_0x51f573(0x395)],en=(_0x414cb7,_0x1f728f,_0x4cd021,_0x2f5976)=>{for(var _0x4a5b0c=_0x2f5976>0x1?void 0x0:_0x2f5976?Qi(_0x1f728f,_0x4cd021):_0x1f728f,_0x371e7b=_0x414cb7['length']-0x1,_0x1d2001;_0x371e7b>=0x0;_0x371e7b--)(_0x1d2001=_0x414cb7[_0x371e7b])&&(_0x4a5b0c=_0x1d2001(_0x4a5b0c)||_0x4a5b0c);return _0x4a5b0c;},Le=(_0x5421ea,_0x1bd29e)=>(_0x546c02,_0x51b535)=>_0x1bd29e(_0x546c02,_0x51b535,_0x5421ea);exports[_0x51f573(0x12f)]=class extends o[_0x51f573(0xf7)]{constructor(_0x54377e,_0x9f01e9,_0x11b85b){var _0x16a0bd=_0x51f573;super(),A(this,_0x16a0bd(0xe1),new j[(_0x16a0bd(0x413))](null)),A(this,_0x16a0bd(0x2ad),this[_0x16a0bd(0xe1)][_0x16a0bd(0x1f9)]()),(this[_0x16a0bd(0x22e)]=_0x54377e,this['_snapshotService']=_0x9f01e9,this[_0x16a0bd(0xe4)]=_0x11b85b);}async['loadUnitOfRevision'](_0x150a77,_0x12f6b2,_0x451bd7){var _0x5e4bcf=_0x51f573;this[_0x5e4bcf(0xe1)][_0x5e4bcf(0x320)]({'unitId':_0x150a77,'type':_0x12f6b2});let _0x1d6a78=null;switch(_0x12f6b2){case X[_0x5e4bcf(0x1bb)]:{_0x1d6a78=await this[_0x5e4bcf(0x2fc)]['loadSheet'](_0x150a77,_0x451bd7);break;}case X['UNIVER_DOC']:{_0x1d6a78=await this[_0x5e4bcf(0x2fc)][_0x5e4bcf(0x14a)](_0x150a77,_0x451bd7);break;}default:{this[_0x5e4bcf(0x22e)][_0x5e4bcf(0x1f8)](_0x5e4bcf(0x399),_0x5e4bcf(0xc3));break;}}return _0x1d6a78;}async[_0x51f573(0x36a)](_0x47636a,_0x48b565,_0x3b408d){var _0x55842a=_0x51f573,_0x296885;this[_0x55842a(0xe1)]['next']({'unitId':_0x47636a,'type':_0x48b565,'subUnitId':_0x3b408d});let _0x48485c=0x0;const _0x55253a=await((_0x296885=this[_0x55842a(0xe4)])==null?void 0x0:_0x296885[_0x55842a(0x374)](_0x47636a));return _0x55253a&&(_0x55253a['awaitingChangeset']||_0x55253a['mutations'][_0x55842a(0x17a)]!==0x0)&&(_0x48485c=_0x55253a[_0x55842a(0x2b9)]),_0x48485c===0x0&&this['_logService']['debug'](_0x55842a(0x399),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x55842a(0x255)](_0x47636a,_0x48b565,_0x48485c);}},exports['DataLoaderService']=en([Le(0x0,o[_0x51f573(0x163)]),Le(0x1,o[_0x51f573(0x2ba)](E[_0x51f573(0x370)])),Le(0x2,o['Optional'](q))],exports[_0x51f573(0x12f)]);var tn=Object[_0x51f573(0x395)],nn=(_0xd15f78,_0x1ca607,_0x333eef,_0x5a2aba)=>{var _0x3ea00e=_0x51f573;for(var _0x5766e1=_0x5a2aba>0x1?void 0x0:_0x5a2aba?tn(_0x1ca607,_0x333eef):_0x1ca607,_0x376553=_0xd15f78[_0x3ea00e(0x17a)]-0x1,_0x1f3b5d;_0x376553>=0x0;_0x376553--)(_0x1f3b5d=_0xd15f78[_0x376553])&&(_0x5766e1=_0x1f3b5d(_0x5766e1)||_0x5766e1);return _0x5766e1;},Me=(_0x57af57,_0x345a79)=>(_0xfe31e1,_0x5d0960)=>_0x345a79(_0xfe31e1,_0x5d0960,_0x57af57);const sn=['image/png',_0x51f573(0xc6),'image/jpg',_0x51f573(0x324),'image/bmp'],rn=0x5*0x400*0x400,an=_0x51f573(0x19d),on=_0x51f573(0x2f6);exports[_0x51f573(0x146)]=class{constructor(_0x303d40,_0x504a7f,_0x5a7ad6){var _0x5211a8=_0x51f573;A(this,_0x5211a8(0x24a),0x0),A(this,_0x5211a8(0x19a),new j[(_0x5211a8(0x243))]()),A(this,_0x5211a8(0x15c),this[_0x5211a8(0x19a)]),A(this,_0x5211a8(0x29e),new Map()),(this[_0x5211a8(0x26d)]=_0x303d40,this[_0x5211a8(0x373)]=_0x504a7f,this[_0x5211a8(0x293)]=_0x5a7ad6);}[_0x51f573(0x3f4)](_0x1fd4a7){var _0x4abf5f=_0x51f573;this[_0x4abf5f(0x24a)]=_0x1fd4a7,this[_0x4abf5f(0x19a)][_0x4abf5f(0x320)](_0x1fd4a7);}['getImageSourceCache'](_0x26216d,_0x51450f){var _0x55a202=_0x51f573;if(_0x51450f===z[_0x55a202(0x21c)]['BASE64']){const _0x1cf99a=new Image();return _0x1cf99a[_0x55a202(0x20f)]=_0x26216d,_0x1cf99a;}return this[_0x55a202(0x29e)][_0x55a202(0x33d)](_0x26216d);}[_0x51f573(0x1a7)](_0xa18723,_0x59959e,_0xb78209){var _0x562579=_0x51f573;_0x59959e===z[_0x562579(0x21c)][_0x562579(0x15b)]||_0xb78209==null||this[_0x562579(0x29e)]['set'](_0xa18723,_0xb78209);}async[_0x51f573(0x3f6)](_0x301e28){var _0x34ef30=_0x51f573;try{const _0x1a6d46=this['_replaceFileID'](this[_0x34ef30(0x19e)](),''+_0x301e28),_0xb79a6a=(await this[_0x34ef30(0x26d)][_0x34ef30(0x33d)](_0x1a6d46))['body'];if(_0xb79a6a[_0x34ef30(0x1f8)]&&_0xb79a6a[_0x34ef30(0x1f8)][_0x34ef30(0x2d2)]===vt['OK']){const _0x1c4e9e=new URL(_0xb79a6a[_0x34ef30(0x2ed)],this[_0x34ef30(0x3a3)]())[_0x34ef30(0x401)]();return Promise[_0x34ef30(0x2b5)](_0x1c4e9e);}return Promise[_0x34ef30(0x3ad)](_0xb79a6a[_0x34ef30(0x1f8)]);}catch(_0x1c14d4){return Promise[_0x34ef30(0x3ad)](_0x1c14d4);}}async[_0x51f573(0x388)](_0x435976){var _0x3ce0a0=_0x51f573;let _0x146d84='';if(!sn[_0x3ce0a0(0x339)](_0x435976[_0x3ce0a0(0x33c)]))return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x435976[_0x3ce0a0(0x3cf)]>rn)return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z['ImageUploadStatusType'][_0x3ce0a0(0x289)]));try{const _0x256cd4=new FormData();_0x256cd4['append'](_0x3ce0a0(0x3c1),_0x435976);const _0x253ada=this['_univerInstanceService'][_0x3ce0a0(0x98)](),_0x18a77e=_0x253ada==null?void 0x0:_0x253ada['getUnitId']();if(!_0x18a77e)throw new Error(_0x3ce0a0(0x12b));const _0x40bdb9=this['_getUploadFileURL']()+_0x3ce0a0(0x16d)+_0x435976[_0x3ce0a0(0x3cf)][_0x3ce0a0(0x401)]()+_0x3ce0a0(0x3f5)+dt[_0x3ce0a0(0x311)]+'&assign='+encodeURIComponent(_0x18a77e),_0x36eb28={'body':_0x256cd4},_0x1f50ac=(await this[_0x3ce0a0(0x26d)]['post'](_0x40bdb9,_0x36eb28))[_0x3ce0a0(0x3ca)];if(typeof _0x1f50ac[_0x3ce0a0(0x3d9)]!=_0x3ce0a0(0x32d))return this['_decreaseWaiting'](),Promise[_0x3ce0a0(0x3ad)](new Error(z[_0x3ce0a0(0x3af)][_0x3ce0a0(0x116)]));_0x146d84=_0x1f50ac['FileId'];}catch{return this[_0x3ce0a0(0x358)](),Promise[_0x3ce0a0(0x3ad)](new Error(z[_0x3ce0a0(0x3af)][_0x3ce0a0(0x116)]));}return new Promise((_0x183eb9,_0x107afe)=>{var _0x55b005=_0x3ce0a0;const _0x177fde=new FileReader();_0x177fde[_0x55b005(0x309)](_0x435976),_0x177fde[_0x55b005(0xeb)]=_0x14f48c=>{var _0x1413cd=_0x55b005,_0x4dc7c3;const _0x24f0fe=(_0x4dc7c3=_0x14f48c[_0x1413cd(0x2f0)])==null?void 0x0:_0x4dc7c3[_0x1413cd(0x17d)];if(_0x24f0fe==null){this[_0x1413cd(0x358)](),_0x107afe(new Error(z[_0x1413cd(0x3af)][_0x1413cd(0x116)]));return;}const _0x2c77fe=o['generateRandomId'](0x6);_0x183eb9({'imageId':_0x2c77fe,'imageSourceType':z[_0x1413cd(0x21c)][_0x1413cd(0x119)],'source':_0x146d84,'base64Cache':_0x24f0fe,'status':z[_0x1413cd(0x3af)][_0x1413cd(0x1fb)]}),this[_0x1413cd(0x358)]();};});}['_getUploadFileURL'](){var _0x38a77b=_0x51f573,_0x22c46e;const _0x1b40b0=this[_0x38a77b(0x373)]['getConfig'](Y);return(_0x22c46e=_0x1b40b0==null?void 0x0:_0x1b40b0[_0x38a77b(0x11c)])!=null?_0x22c46e:an;}['_getSignURL'](){var _0x32262b=_0x51f573,_0x48a1ee;const _0x50abaf=this['_configService'][_0x32262b(0x1c9)](Y);return(_0x48a1ee=_0x50abaf==null?void 0x0:_0x50abaf[_0x32262b(0x1d0)])!=null?_0x48a1ee:on;}[_0x51f573(0x3a3)](){var _0x18abea=_0x51f573,_0x3343d5;const _0x1faac7=this[_0x18abea(0x373)]['getConfig'](Y);return(_0x3343d5=_0x1faac7==null?void 0x0:_0x1faac7['downloadEndpointUrl'])!=null?_0x3343d5:location[_0x18abea(0x292)];}[_0x51f573(0x202)](_0x2a23a5,_0x390447){var _0x4a910d=_0x51f573;return _0x2a23a5['replace'](_0x4a910d(0x327),_0x390447);}[_0x51f573(0x358)](){var _0x3fde6c=_0x51f573;this[_0x3fde6c(0x24a)]-=0x1,this[_0x3fde6c(0x19a)][_0x3fde6c(0x320)](this['_waitCount']);}},exports['CollaborationImageIoService']=nn([Me(0x0,o[_0x51f573(0x2ba)](K[_0x51f573(0x194)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x51f573(0x2ba)](o[_0x51f573(0x168)]))],exports['CollaborationImageIoService']);var cn=Object[_0x51f573(0x395)],hn=(_0x5cdbfb,_0x2e557b,_0x5678dd,_0x2301af)=>{var _0x1ec8a8=_0x51f573;for(var _0x3cbef7=_0x2301af>0x1?void 0x0:_0x2301af?cn(_0x2e557b,_0x5678dd):_0x2e557b,_0x17135d=_0x5cdbfb[_0x1ec8a8(0x17a)]-0x1,_0x47b32a;_0x17135d>=0x0;_0x17135d--)(_0x47b32a=_0x5cdbfb[_0x17135d])&&(_0x3cbef7=_0x47b32a(_0x3cbef7)||_0x3cbef7);return _0x3cbef7;},at=(_0x221a59,_0x2c5c2d)=>(_0x2b683c,_0x244724)=>_0x2c5c2d(_0x2b683c,_0x244724,_0x221a59);const _n='/universer-api/authz';exports[_0x51f573(0x208)]=class{constructor(_0x16140c,_0x475e0a){var _0x223d07=_0x51f573;this[_0x223d07(0x373)]=_0x16140c,this[_0x223d07(0x227)]=_0x475e0a;}['_getAPIPrefixPath'](){var _0xacefb5=_0x51f573,_0x32bdb5;const _0x4127a4=this[_0xacefb5(0x373)][_0xacefb5(0x1c9)](Y);return(_0x32bdb5=_0x4127a4==null?void 0x0:_0x4127a4[_0xacefb5(0x318)])!=null?_0x32bdb5:_n;}async['list'](_0x15b9c1){var _0x455fc3=_0x51f573;const _0x387df4=this[_0x455fc3(0x103)]()+_0x455fc3(0x2fb);return{'list':[{'title':_0x455fc3(0x3c4),'mentions':(await this['_HTTPService'][_0x455fc3(0x33d)](_0x387df4,{'params':{'objectID':_0x15b9c1[_0x455fc3(0x32f)],'unitID':_0x15b9c1['unitId']}}))[_0x455fc3(0x3ca)][_0x455fc3(0x404)]['map'](_0x4e21b9=>({'objectId':_0x4e21b9['id'],'name':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x141)],'metadata':{'icon':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x9a)]},'label':_0x4e21b9[_0x455fc3(0x16a)][_0x455fc3(0x141)],'objectType':o[_0x455fc3(0x240)][_0x455fc3(0x383)]})),'metadata':{},'type':o[_0x455fc3(0x240)][_0x455fc3(0x383)]}]};}},exports['MentionIoHttpService']=hn([at(0x0,o[_0x51f573(0x2ba)](o['IConfigService'])),at(0x1,o['Inject'](K[_0x51f573(0x194)]))],exports[_0x51f573(0x208)]);var ln=Object['getOwnPropertyDescriptor'],un=(_0x2c1922,_0x41eec7,_0x3d25de,_0x4bd4d2)=>{for(var _0x40b326=_0x4bd4d2>0x1?void 0x0:_0x4bd4d2?ln(_0x41eec7,_0x3d25de):_0x41eec7,_0x401fbf=_0x2c1922['length']-0x1,_0x205ed7;_0x401fbf>=0x0;_0x401fbf--)(_0x205ed7=_0x2c1922[_0x401fbf])&&(_0x40b326=_0x205ed7(_0x40b326)||_0x40b326);return _0x40b326;},le=(_0x28cdc6,_0x2c6968)=>(_0x1ab10e,_0x3231a0)=>_0x2c6968(_0x1ab10e,_0x3231a0,_0x28cdc6);let ye=class extends o[_0x51f573(0xf7)]{constructor(_0x5abcba,_0x3ffa55,_0x3a7073,_0x508df2,_0x59e958){var _0x230d3a=_0x51f573;super(),this[_0x230d3a(0x3c5)]=_0x5abcba,this[_0x230d3a(0x293)]=_0x3ffa55,this[_0x230d3a(0x3e0)]=_0x3a7073,this['_collaborationSessionService']=_0x508df2,this['_collaborationUIEventService']=_0x59e958,this['_initUnitPermissionChange'](),this[_0x230d3a(0xbe)]();}[_0x51f573(0xbe)](){var _0x1b6591=_0x51f573;const _0x2dfff6=async _0x68d153=>{var _0x57c5ba=_0xf568;(await this[_0x57c5ba(0x123)][_0x57c5ba(0xdb)](_0x68d153))[_0x57c5ba(0x3e3)]['pipe'](V[_0x57c5ba(0x290)](_0x13adf5=>_0x13adf5[_0x57c5ba(0x3db)]===E[_0x57c5ba(0x1ed)][_0x57c5ba(0x110)]),V['takeUntil'](this[_0x57c5ba(0xa1)]))[_0x57c5ba(0xcd)](_0x1888ca=>{var _0x4d26fc=_0x57c5ba;const _0x10f53c=_0x1888ca,{reason:_0x3185b6}=_0x10f53c[_0x4d26fc(0x215)];this['_collaborationUIEventService'][_0x4d26fc(0x276)]({'id':J[_0x4d26fc(0x343)],'data':_0x3185b6}),this['_permissionService'][_0x4d26fc(0x31c)](new Q[(_0x4d26fc(0x391))](_0x68d153)['id'],!0x1),this[_0x4d26fc(0x123)][_0x4d26fc(0x29b)](_0x68d153);});};j[_0x1b6591(0x189)](this[_0x1b6591(0x293)][_0x1b6591(0x25b)](o[_0x1b6591(0xad)][_0x1b6591(0x1bb)]),this[_0x1b6591(0x293)][_0x1b6591(0x25b)](o[_0x1b6591(0xad)]['UNIVER_DOC']))[_0x1b6591(0x3aa)](V[_0x1b6591(0x2a5)](_0x4ecdac=>_0x4ecdac[_0x1b6591(0x34e)]()),V[_0x1b6591(0x290)](_0x2b599a=>!o[_0x1b6591(0x239)](_0x2b599a)),V['takeUntil'](this['dispose$']))['subscribe'](_0x374a4e=>{_0x2dfff6(_0x374a4e);});}[_0x51f573(0x421)](){var _0x193cd8=_0x51f573;const _0x2a79b6=async _0x342a69=>{var _0x5b8549=_0xf568;const _0x2abb82=await this['_collaborationSessionService'][_0x5b8549(0xdb)](_0x342a69),_0x878307=this['_injector'][_0x5b8549(0x33d)](Q[_0x5b8549(0x210)]);_0x2abb82['event$'][_0x5b8549(0x3aa)](V[_0x5b8549(0x290)](_0x16548f=>_0x16548f[_0x5b8549(0x3db)]===E[_0x5b8549(0x1ed)][_0x5b8549(0x259)]),V[_0x5b8549(0xfc)](this[_0x5b8549(0xa1)]))[_0x5b8549(0xcd)](_0x2e6469=>{var _0x2816c4=_0x5b8549;const _0x530959=_0x2e6469,{objectId:_0x22070d}=_0x530959[_0x2816c4(0x215)];_0x22070d===_0x342a69?_0x878307[_0x2816c4(0x1b3)](_0x342a69):_0x878307[_0x2816c4(0x3d5)](_0x342a69,_0x22070d);});};j[_0x193cd8(0x189)](this[_0x193cd8(0x293)][_0x193cd8(0x25b)](o[_0x193cd8(0xad)][_0x193cd8(0x1bb)]))['pipe'](V[_0x193cd8(0x2a5)](_0x3299f7=>_0x3299f7[_0x193cd8(0x34e)]()),V['filter'](_0x16763c=>!o['isInternalEditorID'](_0x16763c)),V[_0x193cd8(0xfc)](this[_0x193cd8(0xa1)]))['subscribe'](_0x199856=>{_0x2a79b6(_0x199856);});}};ye=un([le(0x0,o['Inject'](o[_0x51f573(0x364)])),le(0x1,o[_0x51f573(0x168)]),le(0x2,o[_0x51f573(0x36f)]),le(0x3,o[_0x51f573(0x2ba)](exports['CollaborationSessionService'])),le(0x4,o[_0x51f573(0x2ba)](ee))],ye);var vn=Object[_0x51f573(0x395)],dn=(_0xc55ace,_0x235114,_0x52b16f,_0xba1f5)=>{var _0x4e30cc=_0x51f573;for(var _0x4e4938=_0xba1f5>0x1?void 0x0:_0xba1f5?vn(_0x235114,_0x52b16f):_0x235114,_0x5ca614=_0xc55ace[_0x4e30cc(0x17a)]-0x1,_0x303399;_0x5ca614>=0x0;_0x5ca614--)(_0x303399=_0xc55ace[_0x5ca614])&&(_0x4e4938=_0x303399(_0x4e4938)||_0x4e4938);return _0x4e4938;},ot=(_0x11b1f9,_0x51418c)=>(_0xabdc84,_0x5a0356)=>_0x51418c(_0xabdc84,_0x5a0356,_0x11b1f9);exports[_0x51f573(0x33a)]=class{constructor(_0x17013c,_0x34b439){var _0x581a6c=_0x51f573;this[_0x581a6c(0x373)]=_0x17013c,this[_0x581a6c(0x26d)]=_0x34b439;}async[_0x51f573(0x2be)](_0x1c70b8,_0x1dcc10){var _0x301d3f=_0x51f573,_0x27001a;const {unitID:_0x420fdf,type:_0x118d14,revision:_0x243deb=0x0}=_0x1dcc10,_0x3a4189=this['getSnapshotAPIPath']()+'/'+_0x118d14+_0x301d3f(0x225)+_0x420fdf+_0x301d3f(0x1de)+_0x243deb,_0x4a496d=(await this[_0x301d3f(0x26d)]['get'](_0x3a4189))[_0x301d3f(0x3ca)],_0x2d3506=(_0x27001a=_0x4a496d[_0x301d3f(0x19b)])==null?void 0x0:_0x27001a[_0x301d3f(0x175)];if(_0x2d3506){const _0x18a537=_0x2d3506==null?void 0x0:_0x2d3506[_0x301d3f(0x203)],_0x13b32c=E[_0x301d3f(0x2aa)]['encode'](E['b64DecodeUnicode'](_0x18a537));_0x2d3506[_0x301d3f(0x203)]=_0x13b32c,Object['entries'](_0x2d3506[_0x301d3f(0x213)])[_0x301d3f(0x101)](([,_0x48cd15])=>{var _0x16c2a5=_0x301d3f;const _0x250ca3=_0x48cd15[_0x16c2a5(0x203)],_0x525998=E[_0x16c2a5(0x2aa)][_0x16c2a5(0x361)](E[_0x16c2a5(0x2c1)](_0x250ca3));_0x48cd15[_0x16c2a5(0x203)]=_0x525998;});}return _0x4a496d;}async['getSheetBlock'](_0x419e7e,_0x4bb5f5){var _0x5f2367=_0x51f573;const {unitID:_0x1f00c1,type:_0x12b47f,blockID:_0x309a14}=_0x4bb5f5,_0x180ba8=this[_0x5f2367(0x1fc)]()+'/'+_0x12b47f+_0x5f2367(0x225)+_0x1f00c1+_0x5f2367(0x205)+_0x309a14;return(await this[_0x5f2367(0x26d)][_0x5f2367(0x33d)](_0x180ba8))[_0x5f2367(0x3ca)];}async[_0x51f573(0xd2)](_0x4e2bc2,_0x53f2da){var _0x484ff9=_0x51f573;const {unitID:_0x178ffc,type:_0x81c816,blockID:_0x578bcd}=_0x53f2da,_0x5ed5f8=this[_0x484ff9(0x1fc)]()+_0x484ff9(0x205)+_0x81c816+_0x484ff9(0x225)+_0x178ffc+'/block/'+_0x578bcd;return(await this['_httpService'][_0x484ff9(0x33d)](_0x5ed5f8))[_0x484ff9(0x3ca)];}async[_0x51f573(0x2c8)](_0x14e2e5,_0x228634){var _0x4ff5b0=_0x51f573;const {unitID:_0x36bd3d,type:_0x46e8de,from:_0x41e5ee,to:_0x2e3752}=_0x228634,_0x40ea6c=this[_0x4ff5b0(0x1fc)]()+'/'+_0x46e8de+'/unit/'+_0x36bd3d+_0x4ff5b0(0x287)+_0x41e5ee+_0x4ff5b0(0xaf)+_0x2e3752;return(await this['_httpService']['get'](_0x40ea6c))['body'];}['getSnapshotAPIPath'](){var _0x26d854=_0x51f573,_0x16b9b9;return(_0x16b9b9=this[_0x26d854(0x373)]['getConfig'](yt))!=null?_0x16b9b9:this[_0x26d854(0x1fc)]();}[_0x51f573(0x1fc)](){var _0x219921=_0x51f573,_0x4c27c1;const _0x48cc1a=this[_0x219921(0x373)][_0x219921(0x1c9)](Y);return(_0x4c27c1=_0x48cc1a==null?void 0x0:_0x48cc1a['snapshotServerUrl'])!=null?_0x4c27c1:Dt;}async[_0x51f573(0x204)](_0x23de48,_0x212569){var _0x39c3aa=_0x51f573;const _0x3f9444='/universer-api/snapshot/'+_0x212569[_0x39c3aa(0x33c)]+'/unit/'+_0x212569['unitID']+_0x39c3aa(0xf0);return(await this[_0x39c3aa(0x26d)][_0x39c3aa(0x33d)](_0x3f9444,{'params':{'resourceId':JSON[_0x39c3aa(0x29c)](_0x212569[_0x39c3aa(0x288)])}}))['body'];}[_0x51f573(0x3a4)](){var _0x381c2f=_0x51f573;throw new Error(_0x381c2f(0x13f));}[_0x51f573(0x41e)](){var _0x5eebb8=_0x51f573;throw new Error(_0x5eebb8(0x13f));}['saveSheetBlock'](){var _0x4bf6a9=_0x51f573;throw new Error(_0x4bf6a9(0x13f));}['saveChangeset'](){var _0x13c8ed=_0x51f573;throw new Error(_0x13c8ed(0x13f));}[_0x51f573(0x233)](){var _0x418867=_0x51f573;throw new Error(_0x418867(0x13f));}[_0x51f573(0xd3)](){var _0x4daa73=_0x51f573;throw new Error(_0x4daa73(0x13f));}},exports['SnapshotServerOverHTTPService']=dn([ot(0x0,o[_0x51f573(0x3ec)]),ot(0x1,o[_0x51f573(0x2ba)](K['HTTPService']))],exports[_0x51f573(0x33a)]);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x292068,_0x52a782,_0x4d83d6,_0xe95ca0)=>{var _0x39458c=_0x51f573;for(var _0x441667=_0xe95ca0>0x1?void 0x0:_0xe95ca0?Sn(_0x52a782,_0x4d83d6):_0x52a782,_0x37eef5=_0x292068[_0x39458c(0x17a)]-0x1,_0x55aeca;_0x37eef5>=0x0;_0x37eef5--)(_0x55aeca=_0x292068[_0x37eef5])&&(_0x441667=_0x55aeca(_0x441667)||_0x441667);return _0x441667;},ue=(_0x48d238,_0x502aba)=>(_0x472f8b,_0x238d30)=>_0x502aba(_0x472f8b,_0x238d30,_0x48d238);exports[_0x51f573(0x267)]=class extends o[_0x51f573(0xf3)]{constructor(_0x555250,_0xa9a33a,_0x5cb2e2,_0x32260f,_0x3cd159){var _0x40bcad=_0x51f573;super(_0x555250,_0xa9a33a,_0x5cb2e2),this[_0x40bcad(0x14f)]=_0x32260f,this[_0x40bcad(0x22e)]=_0x3cd159;}['transformUndoRedo'](_0x5075a6,_0xeb90ed){var _0x565e38=_0x51f573;const _0x1e2632=this[_0x565e38(0x28d)](_0x5075a6);if(_0x1e2632)try{const _0x521c20=this['_transformStack'](_0x1e2632,_0xeb90ed);this[_0x565e38(0x26f)](_0x5075a6,_0x521c20);}catch(_0x1ad04a){this[_0x565e38(0x22e)][_0x565e38(0x1f8)](_0x565e38(0x319),_0x1ad04a),this[_0x565e38(0x1e7)](_0x5075a6);}const _0x10b267=this['_getRedoStack'](_0x5075a6);if(_0x10b267)try{const _0x2c09e0=this[_0x565e38(0x3fd)](_0x10b267,_0xeb90ed);this[_0x565e38(0x3cb)](_0x5075a6,_0x2c09e0);}catch(_0x520b6d){this[_0x565e38(0x22e)]['error'](_0x520b6d),this[_0x565e38(0x39f)](_0x5075a6);}}[_0x51f573(0x1e7)](_0x41a007){var _0x580c03=_0x51f573;const _0x224ba1=this[_0x580c03(0x28d)](_0x41a007);_0x224ba1&&(_0x224ba1[_0x580c03(0x17a)]=0x0,this[_0x580c03(0x254)]());}[_0x51f573(0x39f)](_0x1d51e4){var _0x479b4e=_0x51f573;const _0x1ba21c=this[_0x479b4e(0xdd)](_0x1d51e4);_0x1ba21c&&(_0x1ba21c['length']=0x0,this[_0x479b4e(0x254)]());}[_0x51f573(0x26f)](_0xabe9d1,_0x308dbe){var _0x3f2f86=_0x51f573;this[_0x3f2f86(0x184)][_0x3f2f86(0x28a)](_0xabe9d1,_0x308dbe),this[_0x3f2f86(0x254)]();}[_0x51f573(0x3cb)](_0x3253d0,_0x4fe371){var _0x2665a2=_0x51f573;this['_redoStacks'][_0x2665a2(0x28a)](_0x3253d0,_0x4fe371),this[_0x2665a2(0x254)]();}[_0x51f573(0x3fd)](_0x36a728,_0x29ec4f){var _0x2c698c=_0x51f573;const _0x57f849=[];let _0x13283b=_0x29ec4f,_0x270321=_0x29ec4f;for(let _0x4e196a=_0x36a728[_0x2c698c(0x17a)]-0x1;_0x4e196a>=0x0;_0x4e196a--){const {unitID:_0x29c1ee,undoMutations:_0x32c7e9,redoMutations:_0x406226}=_0x36a728[_0x4e196a],_0x11047c=this[_0x2c698c(0x14f)]['transformMutationsWithChangeset'](_0x13283b,_0x32c7e9),_0xcb3136=this['_transformService'][_0x2c698c(0xb0)](_0x270321,_0x406226);if(E[_0x2c698c(0x378)](_0x11047c)||E['isTransformMutationsWithChangesetFailure'](_0xcb3136)){this[_0x2c698c(0x22e)][_0x2c698c(0x1f8)](_0x2c698c(0x319),_0x2c698c(0x2e0),_0x11047c,_0xcb3136);break;}_0x13283b=_0x11047c[_0x2c698c(0x9d)],_0x270321=_0xcb3136['c1Prime'],_0x57f849[_0x2c698c(0x209)]({'unitID':_0x29c1ee,'undoMutations':_0x11047c['m2Prime'],'redoMutations':_0xcb3136[_0x2c698c(0x2d0)]});}return _0x57f849[_0x2c698c(0x185)]();}},exports['CollaborativeUndoRedoService']=In([ue(0x0,o[_0x51f573(0x168)]),ue(0x1,o[_0x51f573(0x310)]),ue(0x2,o[_0x51f573(0x368)]),ue(0x3,E['ITransformService']),ue(0x4,o['ILogService'])],exports[_0x51f573(0x267)]);var fn=Object['defineProperty'],En=Object['getOwnPropertyDescriptor'],pn=(_0x430adb,_0x5d949c,_0x433ad6)=>_0x5d949c in _0x430adb?fn(_0x430adb,_0x5d949c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x433ad6}):_0x430adb[_0x5d949c]=_0x433ad6,mn=(_0x104717,_0x110e33,_0x649f5b,_0x1ee610)=>{var _0xc6afd0=_0x51f573;for(var _0x583c81=_0x1ee610>0x1?void 0x0:_0x1ee610?En(_0x110e33,_0x649f5b):_0x110e33,_0x35a54e=_0x104717[_0xc6afd0(0x17a)]-0x1,_0x5ae22c;_0x35a54e>=0x0;_0x35a54e--)(_0x5ae22c=_0x104717[_0x35a54e])&&(_0x583c81=_0x5ae22c(_0x583c81)||_0x583c81);return _0x583c81;},we=(_0x23ceb7,_0x2f3ff4)=>(_0x3162de,_0x4e0b38)=>_0x2f3ff4(_0x3162de,_0x4e0b38,_0x23ceb7),gn=(_0x1f739d,_0x330d0f,_0x5039ac)=>pn(_0x1f739d,_0x330d0f+'',_0x5039ac);const Tn=_0x51f573(0x18e);exports[_0x51f573(0x25c)]=class extends o[_0x51f573(0x29a)]{constructor(_0xf60796,_0x227021,_0x8ca19c,_0x56170e){var _0x344c03=_0x51f573;super(),A(this,'_config'),(this[_0x344c03(0x22e)]=_0x227021,this[_0x344c03(0x3c5)]=_0x8ca19c,this[_0x344c03(0x373)]=_0x56170e);const {..._0x17b21d}=o[_0x344c03(0x189)]({},Zt,_0xf60796);if(!_0x17b21d[_0x344c03(0xa8)])throw new Error(_0x344c03(0x256));this[_0x344c03(0xff)]=_0x17b21d,this[_0x344c03(0x373)][_0x344c03(0x2e8)](Y,_0x17b21d);}[_0x51f573(0x355)](){var _0xa90f31=_0x51f573;this[_0xa90f31(0x16b)](),this[_0xa90f31(0x2ce)]();}[_0x51f573(0x16b)](){var _0x1dae94=_0x51f573,_0x13ef4d,_0x3adad5;this['_injector'][_0x1dae94(0x3df)](o[_0x1dae94(0x102)])&&this[_0x1dae94(0x22e)][_0x1dae94(0x1f8)](_0x1dae94(0x117),_0x1dae94(0x331));const _0x473f40=o[_0x1dae94(0x2ec)]([[o[_0x1dae94(0x102)],{'useClass':exports[_0x1dae94(0x267)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x1dae94(0x316)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x1dae94(0x12f)]],[Fe,{'useClass':this[_0x1dae94(0xff)][_0x1dae94(0xa8)]}],[E[_0x1dae94(0x122)],{'useClass':exports[_0x1dae94(0x33a)]}],[o[_0x1dae94(0x211)],{'useClass':exports['AuthzIoHttpService']}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[o[_0x1dae94(0x1f5)],{'useClass':exports[_0x1dae94(0x208)]}],[exports[_0x1dae94(0x1cd)]],[xe]],(_0x13ef4d=this[_0x1dae94(0xff)])==null?void 0x0:_0x13ef4d[_0x1dae94(0x2ae)]);if(!((_0x3adad5=this[_0x1dae94(0xff)])!=null&&_0x3adad5[_0x1dae94(0x24c)])){const _0x97e0a0=_0x473f40[_0x1dae94(0x3c7)](([_0x5e6fd0])=>_0x5e6fd0===ve);_0x97e0a0!==-0x1&&_0x473f40['splice'](_0x97e0a0,0x1);}o['registerDependencies'](this[_0x1dae94(0x3c5)],_0x473f40);}[_0x51f573(0x2ce)](){var _0x141ca2=_0x51f573,_0x52e9f4,_0x50729e,_0x26ccb0;this[_0x141ca2(0x3c5)]['get'](K['HTTPService'])[_0x141ca2(0x3a5)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x52e9f4=this[_0x141ca2(0xff)])!=null&&_0x52e9f4[_0x141ca2(0x278)]||(_0x50729e=this[_0x141ca2(0x3c5)][_0x141ca2(0x33d)](q,o[_0x141ca2(0x264)][_0x141ca2(0x303)]))==null||_0x50729e[_0x141ca2(0x2c6)](),(_0x26ccb0=this['_config'])!=null&&_0x26ccb0[_0x141ca2(0x2c7)]&&o[_0x141ca2(0x328)](this[_0x141ca2(0x3c5)],[[Ne]]),o[_0x141ca2(0x328)](this[_0x141ca2(0x3c5)],[[De],[exports[_0x141ca2(0x1cd)]],[ye]]);}},gn(exports[_0x51f573(0x25c)],_0x51f573(0x26e),Tn),exports[_0x51f573(0x25c)]=mn([o[_0x51f573(0x136)](E['UniverCollaborationPlugin'],K[_0x51f573(0x348)]),we(0x1,o[_0x51f573(0x163)]),we(0x2,o[_0x51f573(0x2ba)](o['Injector'])),we(0x3,o['IConfigService'])],exports[_0x51f573(0x25c)]),exports[_0x51f573(0xbd)]=Y,exports[_0x51f573(0x183)]=je,exports[_0x51f573(0x417)]=J,exports[_0x51f573(0x2b1)]=ee,exports[_0x51f573(0x9f)]=$e,exports[_0x51f573(0x272)]=ht,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports[_0x51f573(0xf1)]=_t,exports[_0x51f573(0x1a2)]=ke,exports[_0x51f573(0x10e)]=Fe,exports[_0x51f573(0x113)]=q,exports['INetworkConditionService']=Et,exports[_0x51f573(0x3be)]=ve,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x51f573(0xc5)]=wt,exports[_0x51f573(0x182)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x51f573(0x226)]=se,exports[_0x51f573(0x21a)]=He,exports[_0x51f573(0x1a6)]=pt,exports[_0x51f573(0xef)]=qt,exports[_0x51f573(0x312)]=mt;
|