@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-fa407d3 → 0.6.7-experimental.20250401-9542b43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0xaa7fc=_0x453e;(function(_0xf36d66,_0x45af36){var _0x91e8e7=_0x453e,_0x36a48f=_0xf36d66();while(!![]){try{var _0xa5aa27=parseInt(_0x91e8e7(0x170))/0x1*(parseInt(_0x91e8e7(0x242))/0x2)+parseInt(_0x91e8e7(0x211))/0x3+parseInt(_0x91e8e7(0x430))/0x4+parseInt(_0x91e8e7(0x2aa))/0x5+-parseInt(_0x91e8e7(0x20b))/0x6*(-parseInt(_0x91e8e7(0x3c4))/0x7)+-parseInt(_0x91e8e7(0x3d9))/0x8+parseInt(_0x91e8e7(0x433))/0x9*(-parseInt(_0x91e8e7(0x20e))/0xa);if(_0xa5aa27===_0x45af36)break;else _0x36a48f['push'](_0x36a48f['shift']());}catch(_0x36edb9){_0x36a48f['push'](_0x36a48f['shift']());}}}(_0x165d,0xa1fd1));var wt=Object['defineProperty'],Lt=(_0x1c554f,_0x3ad3ad,_0x41df6a)=>_0x3ad3ad in _0x1c554f?wt(_0x1c554f,_0x3ad3ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41df6a}):_0x1c554f[_0x3ad3ad]=_0x41df6a,A=(_0x19146f,_0x984d7d,_0x330d06)=>Lt(_0x19146f,typeof _0x984d7d!=_0xaa7fc(0x312)?_0x984d7d+'':_0x984d7d,_0x330d06);Object[_0xaa7fc(0x16f)](exports,Symbol[_0xaa7fc(0x1a0)],{'value':_0xaa7fc(0x132)});const a=require(_0xaa7fc(0x2c3)),j=require('rxjs'),V=require(_0xaa7fc(0x2b6)),g=require(_0xaa7fc(0x410)),q=require('@univerjs/network'),Mt=require(_0xaa7fc(0x375)),ut=require(_0xaa7fc(0x251)),Z=require('@univerjs/sheets'),J=require(_0xaa7fc(0x104)),xt=require('@univerjs-pro/license'),dt=_0xaa7fc(0x348),kt=_0xaa7fc(0x372),vt=_0xaa7fc(0x428),Ht=_0xaa7fc(0x1e8),jt=0x7d0,St=_0xaa7fc(0x318),ft=_0xaa7fc(0x1e9),$t='/universer-api/user/session-ticket',pt=_0xaa7fc(0x392),Bt=0x7530,je=_0xaa7fc(0x224),gt=0x4e20,Ft=0x4e20,mt=_0xaa7fc(0x241),Vt=0x3,Wt=_0xaa7fc(0x270),Gt=0x3e8,It=_0xaa7fc(0xfe),Kt='/universer-api/comb',Et='LOGIN_URL_KEY',Yt=_0xaa7fc(0x108),qt=_0xaa7fc(0x350),zt=_0xaa7fc(0x283);var Ct=(_0x15f134=>(_0x15f134[_0x15f134[_0xaa7fc(0x14a)]=0x0]='UNDEFINED',_0x15f134[_0x15f134['OK']=0x1]='OK',_0x15f134[_0x15f134[_0xaa7fc(0x115)]=0x2]=_0xaa7fc(0x115),_0x15f134[_0x15f134['PERMISSION_DENIED']=0x3]=_0xaa7fc(0xcc),_0x15f134[_0x15f134['NOT_FOUND']=0x4]=_0xaa7fc(0x22c),_0x15f134[_0x15f134['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x15f134[_0x15f134[_0xaa7fc(0x180)]=0x6]=_0xaa7fc(0x180),_0x15f134[_0x15f134['INVALID_ARGUMENT']=0x7]=_0xaa7fc(0xf7),_0x15f134[_0x15f134[_0xaa7fc(0x3b5)]=0x8]='TOO_MANY_REQUESTS',_0x15f134[_0x15f134[_0xaa7fc(0x36e)]=0x9]='COMPLETION_FINISHED',_0x15f134[_0x15f134['LOGIN_FAILED']=0xa]=_0xaa7fc(0x319),_0x15f134[_0x15f134['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xaa7fc(0x1ff),_0x15f134[_0x15f134[_0xaa7fc(0x2d0)]=0x1771]=_0xaa7fc(0x2d0),_0x15f134[_0x15f134[_0xaa7fc(0x32e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x15f134[_0x15f134[_0xaa7fc(0xfc)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x15f134[_0x15f134[_0xaa7fc(0x12d)]=0x1b59]=_0xaa7fc(0x12d),_0x15f134[_0x15f134[_0xaa7fc(0x1b1)]=0x1b5a]=_0xaa7fc(0x1b1),_0x15f134[_0x15f134['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xaa7fc(0x304),_0x15f134[_0x15f134[_0xaa7fc(0x396)]=0x1b5c]=_0xaa7fc(0x396),_0x15f134[_0x15f134['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15f134[_0x15f134[_0xaa7fc(0x2a6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x15f134[_0x15f134[_0xaa7fc(0x221)]=0x2329]=_0xaa7fc(0x221),_0x15f134[_0x15f134[_0xaa7fc(0x13f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x15f134[_0x15f134[_0xaa7fc(0xec)]=0x232b]=_0xaa7fc(0xec),_0x15f134[_0x15f134[_0xaa7fc(0x1f7)]=0x232c]=_0xaa7fc(0x1f7),_0x15f134[_0x15f134['LICENSE_DISTRO_REJECTED']=0x232d]=_0xaa7fc(0x408),_0x15f134[_0x15f134[_0xaa7fc(0x328)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15f134[_0x15f134[_0xaa7fc(0x29b)]=0x2712]=_0xaa7fc(0x29b),_0x15f134[_0x15f134[_0xaa7fc(0x2bc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15f134[_0x15f134[_0xaa7fc(0x1b0)]=0x2714]=_0xaa7fc(0x1b0),_0x15f134[_0x15f134[_0xaa7fc(0x409)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x15f134[_0x15f134[_0xaa7fc(0x1dc)]=0x2ee1]=_0xaa7fc(0x1dc),_0x15f134[_0x15f134[_0xaa7fc(0x420)]=0x2ee2]=_0xaa7fc(0x420),_0x15f134[_0x15f134[_0xaa7fc(0x1b4)]=0x2ee3]=_0xaa7fc(0x1b4),_0x15f134[_0x15f134[_0xaa7fc(0x23f)]=0x2ee4]=_0xaa7fc(0x23f),_0x15f134[_0x15f134[_0xaa7fc(0x383)]=0x2ee5]=_0xaa7fc(0x383),_0x15f134[_0x15f134[_0xaa7fc(0x1c5)]=-0x1]='UNRECOGNIZED',_0x15f134))(Ct||{}),X=(_0x44b677=>(_0x44b677[_0x44b677[_0xaa7fc(0x3ec)]=0x0]='UNIVER_UNKNOWN',_0x44b677[_0x44b677[_0xaa7fc(0x32c)]=0x1]=_0xaa7fc(0x32c),_0x44b677[_0x44b677['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x44b677[_0x44b677['UNIVER_SLIDE']=0x3]=_0xaa7fc(0x36d),_0x44b677[_0x44b677[_0xaa7fc(0x3b8)]=0x4]='UNIVER_PROJECT',_0x44b677[_0x44b677[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x44b677))(X||{}),W=(_0x1796cb=>(_0x1796cb[_0x1796cb['UNKNOWN_CMD']=0x0]=_0xaa7fc(0x2c1),_0x1796cb[_0x1796cb[_0xaa7fc(0x279)]=0x1]=_0xaa7fc(0x279),_0x1796cb[_0x1796cb[_0xaa7fc(0x137)]=0x2]=_0xaa7fc(0x137),_0x1796cb[_0x1796cb[_0xaa7fc(0x15e)]=0x3]=_0xaa7fc(0x15e),_0x1796cb[_0x1796cb['INGEST']=0x4]=_0xaa7fc(0x195),_0x1796cb[_0x1796cb['HEARTBEAT']=0x5]=_0xaa7fc(0x347),_0x1796cb[_0x1796cb[_0xaa7fc(0x3ca)]=0x6]=_0xaa7fc(0x3ca),_0x1796cb[_0x1796cb[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x1796cb))(W||{}),ae=(_0x191cfd=>(_0x191cfd[_0x191cfd[_0xaa7fc(0x33b)]=0x0]=_0xaa7fc(0x33b),_0x191cfd[_0x191cfd['OK']=0x1]='OK',_0x191cfd[_0x191cfd['FAIL']=0x2]=_0xaa7fc(0x40f),_0x191cfd[_0x191cfd[_0xaa7fc(0x402)]=0x3e9]=_0xaa7fc(0x402),_0x191cfd[_0x191cfd[_0xaa7fc(0x240)]=0x3ea]=_0xaa7fc(0x240),_0x191cfd[_0x191cfd[_0xaa7fc(0x39c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x191cfd[_0x191cfd[_0xaa7fc(0xf0)]=0x3ec]=_0xaa7fc(0xf0),_0x191cfd[_0x191cfd[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x191cfd))(ae||{}),Tt=(_0x12fc88=>(_0x12fc88[_0x12fc88['Undefined']=0x0]=_0xaa7fc(0x1b7),_0x12fc88[_0x12fc88[_0xaa7fc(0x26b)]=0x1]=_0xaa7fc(0x26b),_0x12fc88[_0x12fc88[_0xaa7fc(0xe0)]=0x2]=_0xaa7fc(0xe0),_0x12fc88[_0x12fc88[_0xaa7fc(0x327)]=0x3]='UnitEmbedded',_0x12fc88[_0x12fc88[_0xaa7fc(0x3b3)]=0x4]='UnitSnapshot',_0x12fc88[_0x12fc88[_0xaa7fc(0x1c5)]=-0x1]=_0xaa7fc(0x1c5),_0x12fc88))(Tt||{});const Y=_0xaa7fc(0x22d),Jt={};var Q=(_0x1c2e96=>(_0x1c2e96[_0xaa7fc(0x3ac)]=_0xaa7fc(0x3ac),_0x1c2e96[_0xaa7fc(0xcc)]=_0xaa7fc(0xcc),_0x1c2e96[_0xaa7fc(0x218)]=_0xaa7fc(0x218),_0x1c2e96['CLOSE_ROOM']=_0xaa7fc(0x3e2),_0x1c2e96[_0xaa7fc(0x1d8)]='JOIN_ROOM_FAILED',_0x1c2e96['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x1c2e96[_0xaa7fc(0x357)]=_0xaa7fc(0x357),_0x1c2e96['SUBMIT_CHANGESET_TIMEOUT']=_0xaa7fc(0x3f7),_0x1c2e96))(Q||{});class te{constructor(){var _0x22d504=_0xaa7fc;A(this,_0x22d504(0xe7),new j[(_0x22d504(0x2c4))]()),A(this,_0x22d504(0x3c6),this[_0x22d504(0xe7)][_0x22d504(0xc7)]());}[_0xaa7fc(0x2ac)](_0x5972c7){var _0x154f10=_0xaa7fc;this[_0x154f10(0xe7)]['next'](_0x5972c7);}}const bt=a[_0xaa7fc(0x1d4)](_0xaa7fc(0x257));function Rt(_0x2cd79f){var _0x599659=_0xaa7fc,_0x49badc,_0x105483,_0x4ae7e0,_0x31cf9e,_0x3d143c;const _0x521026=_0x2cd79f[_0x599659(0x18e)],_0x1b2071=JSON[_0x599659(0x332)](_0x521026);switch(_0x1b2071[_0x599659(0x43a)]){case W[_0x599659(0x347)]:case W[_0x599659(0x279)]:{const _0x59e313=_0x1b2071[_0x599659(0x1f1)];return{..._0x1b2071,'data':_0x59e313,'cmd':_0x1b2071['cmd']};}case W[_0x599659(0x137)]:{const _0x4b067d=_0x1b2071[_0x599659(0xd4)];return{..._0x1b2071,'data':_0x4b067d,'cmd':_0x1b2071['cmd']};}case W[_0x599659(0x3ca)]:{const _0xcd1bb1=_0x1b2071[_0x599659(0xd2)];switch(_0xcd1bb1[_0x599659(0x17d)]){case g[_0x599659(0x209)][_0x599659(0x378)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x49badc=_0xcd1bb1[_0x599659(0x15c)])==null?void 0x0:_0x49badc['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x3d3)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x105483=_0xcd1bb1[_0x599659(0x113)])==null?void 0x0:_0x105483['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x423)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x4ae7e0=_0xcd1bb1[_0x599659(0x425)])==null?void 0x0:_0x4ae7e0['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g['CollaborationEvent'][_0x599659(0x21b)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x31cf9e=_0xcd1bb1[_0x599659(0x27e)])==null?void 0x0:_0x31cf9e['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)]['CHANGESET_SHOULD_RETRY']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':(_0x3d143c=_0xcd1bb1['csShouldRetryEvent'])==null?void 0x0:_0x3d143c['cs']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x2b4)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['updateCursorEvent']},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x151)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['joinEvent']},'cmd':_0x1b2071['cmd']};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x439)]},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x287)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x1f5)]},'cmd':_0x1b2071['cmd']};case g['CollaborationEvent'][_0x599659(0x2b3)]:case g[_0x599659(0x209)][_0x599659(0x103)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x10c)]},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x14d)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['liveShareNewHost']},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)]['MSG_FOR_ERROR']:return{..._0x1b2071,'data':_0xcd1bb1,'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x100)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x363)]},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)][_0x599659(0x172)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1['updatePermissionObjEvent']},'cmd':_0x1b2071[_0x599659(0x43a)]};case g[_0x599659(0x209)]['SHOULD_CLOSE_CONN']:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x127)]},'cmd':_0x1b2071['cmd']};case g[_0x599659(0x209)][_0x599659(0x188)]:return{..._0x1b2071,'data':{..._0xcd1bb1,'data':_0xcd1bb1[_0x599659(0x136)]},'cmd':_0x1b2071[_0x599659(0x43a)]};default:return _0x1b2071;}}default:return _0x1b2071;}}function yt(_0x291754){var _0x2814ce=_0xaa7fc;switch(_0x291754[_0x2814ce(0x43a)]){case W['HEARTBEAT']:case W[_0x2814ce(0x279)]:return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754[_0x2814ce(0x43a)],'routeKey':_0x291754[_0x2814ce(0x374)]});case W['INGEST']:{let _0x3ce1a5;switch(_0x291754['data']['eventID']){case g[_0x2814ce(0x209)]['UPDATE_CURSOR']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x2b4)],'updateCursorEvent':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['USERS_LEAVE']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x30a)],'leaveEvent':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)][_0x2814ce(0x151)]:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)]['USERS_ENTER'],'joinEvent':_0x291754[_0x2814ce(0x18e)]['data']};break;}case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x287)],'liveShareNewHost':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g['CollaborationEvent'][_0x2814ce(0x103)]:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x103)],'liveShareOperation':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_TERMINATE']:{_0x3ce1a5={'eventID':g['CollaborationEvent'][_0x2814ce(0x14d)],'liveShareTerminate':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_REQUEST_HOST']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x18e)]};break;}case g[_0x2814ce(0x209)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3ce1a5={'eventID':g[_0x2814ce(0x209)][_0x2814ce(0x2b3)]};break;}default:_0x3ce1a5={'eventID':_0x291754[_0x2814ce(0x18e)][_0x2814ce(0x17d)]};}return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754['cmd'],'routeKey':_0x291754['routeKey'],'collaMsg':_0x3ce1a5});}case W['JOIN']:return JSON[_0x2814ce(0x10f)]({'cmd':_0x291754[_0x2814ce(0x43a)],'routeKey':_0x291754[_0x2814ce(0x374)],'joinReq':_0x291754['data']});case W['LEAVE']:return JSON['stringify']({'cmd':_0x291754['cmd'],'routeKey':_0x291754[_0x2814ce(0x374)],'leaveReq':_0x291754[_0x2814ce(0x18e)]});default:throw new Error(_0x2814ce(0x300));}}var Xt=Object[_0xaa7fc(0x198)],Zt=(_0x2cc5d3,_0x54c5f4,_0x3d338b,_0x204dce)=>{var _0x5e7236=_0xaa7fc;for(var _0x1bc56c=_0x204dce>0x1?void 0x0:_0x204dce?Xt(_0x54c5f4,_0x3d338b):_0x54c5f4,_0x363bdd=_0x2cc5d3[_0x5e7236(0x3b0)]-0x1,_0x94eae1;_0x363bdd>=0x0;_0x363bdd--)(_0x94eae1=_0x2cc5d3[_0x363bdd])&&(_0x1bc56c=_0x94eae1(_0x1bc56c)||_0x1bc56c);return _0x1bc56c;},_e=(_0x504040,_0x5d0c1d)=>(_0x5471b7,_0x2e8b17)=>_0x5d0c1d(_0x5471b7,_0x2e8b17,_0x504040);const $e=a[_0xaa7fc(0x1d4)](_0xaa7fc(0x19c));function Qt(_0x5dd611,_0x67459c,_0x92abd4){var _0x2c695d=_0xaa7fc;return _0x5dd611+'/'+_0x67459c+_0x2c695d(0xfa)+_0x92abd4+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x174fb7,_0x3d45dd,_0x5a3da0,_0x9958bd,_0x22b25b){var _0x2d08e5=_0xaa7fc;super(),this[_0x2d08e5(0x2e2)]=_0x174fb7,this[_0x2d08e5(0x143)]=_0x3d45dd,this[_0x2d08e5(0x20d)]=_0x5a3da0,this[_0x2d08e5(0x26f)]=_0x9958bd,this['_snapshotServerService']=_0x22b25b;}['_doCreateSocket'](_0x1cba2b){var _0x5efd79=_0xaa7fc;const _0x3fa7b3=this[_0x5efd79(0x2e2)][_0x5efd79(0xe9)](q['ISocketService']);if(!_0x3fa7b3)throw new Error(_0x5efd79(0x12b));const _0x358583=_0x3fa7b3[_0x5efd79(0x234)](_0x1cba2b);if(!_0x358583)throw new Error(_0x5efd79(0x157));const _0x2503d6=new a['DisposableCollection'](),_0x2f76fe=new j[(_0x5efd79(0x2c4))]();_0x2503d6[_0x5efd79(0x2a3)](_0x358583['close$'][_0x5efd79(0xe5)](_0xb23cc9=>_0x2f76fe['next'](_0xb23cc9))),_0x2503d6[_0x5efd79(0x2a3)](a[_0x5efd79(0x1c9)](()=>_0x2f76fe[_0x5efd79(0x384)]()));const _0x59a9e9=new j['Subject']();_0x2503d6['add'](_0x358583[_0x5efd79(0x1e0)][_0x5efd79(0xe5)](_0x5a299d=>_0x59a9e9[_0x5efd79(0x38d)](_0x5a299d))),_0x2503d6[_0x5efd79(0x2a3)](a['toDisposable'](()=>_0x59a9e9['complete']()));const _0x158685=new j[(_0x5efd79(0x2c4))]();_0x2503d6['add'](_0x358583[_0x5efd79(0x2ce)][_0x5efd79(0xe5)](_0x4da36f=>{var _0x4e914e=_0x5efd79;const _0x5729dc=Rt(_0x4da36f);_0x158685[_0x4e914e(0x38d)](_0x5729dc);})),_0x2503d6[_0x5efd79(0x2a3)](a[_0x5efd79(0x1c9)](()=>_0x158685['complete']()));let _0x58596c;const _0x3e4867=()=>{var _0x219063=_0x5efd79;_0x59a9e9[_0x219063(0x38d)](new Event(_0x219063(0x342))),_0x2f76fe[_0x219063(0x38d)](new Event('connection\x20error')),_0x58596c[_0x219063(0x362)]();};return _0x58596c={'memberID':'','close$':_0x2f76fe[_0x5efd79(0xc7)](),'error$':_0x59a9e9[_0x5efd79(0xc7)](),'open$':_0x358583[_0x5efd79(0x15b)],'message$':_0x158685['asObservable'](),'send':_0x578ed9=>{var _0x2d7710=_0x5efd79;if(_0x578ed9[_0x2d7710(0x43a)]===W[_0x2d7710(0x195)]){if(_0x578ed9[_0x2d7710(0x18e)]['eventID']===g[_0x2d7710(0x209)][_0x2d7710(0x155)]){this[_0x2d7710(0x220)](_0x58596c,_0x578ed9[_0x2d7710(0x18e)])[_0x2d7710(0x38e)](_0x2df9d2=>{var _0x253105=_0x2d7710;this['_logService'][_0x253105(0x256)](_0x2df9d2),_0x3e4867();});return;}if(_0x578ed9[_0x2d7710(0x18e)]['eventID']===g[_0x2d7710(0x209)]['FETCH_MISSING']){const _0x54b350=_0x578ed9[_0x2d7710(0x18e)];this[_0x2d7710(0x1c3)](_0x54b350)[_0x2d7710(0x29e)](_0x25ddd4=>{var _0x2999f5=_0x2d7710;_0x158685[_0x2999f5(0x38d)]({'cmd':W[_0x2999f5(0x3ca)],'code':ae['OK'],'routeKey':_0x54b350[_0x2999f5(0x18e)][_0x2999f5(0x1e1)],'routeType':'','data':{'eventID':g[_0x2999f5(0x209)][_0x2999f5(0x299)],'data':{'changesets':_0x25ddd4}}});})[_0x2d7710(0x38e)](_0x3131fe=>{var _0x6978dc=_0x2d7710;this[_0x6978dc(0x26f)][_0x6978dc(0x256)](_0x3131fe),_0x3e4867();});return;}}_0x358583[_0x2d7710(0x43c)](yt(_0x578ed9));},'close':()=>{var _0x46703d=_0x5efd79;_0x358583[_0x46703d(0x362)](),_0x2503d6['dispose']();}},_0x58596c;}async[_0xaa7fc(0x220)](_0x40704f,_0x5b5c44){var _0x46dc36=_0xaa7fc,_0x115f8f,_0x43a4d4;const {unitType:_0x357609,unitID:_0x4033b6,changeset:_0x3a4434}=_0x5b5c44[_0x46dc36(0x18e)],_0x4da95a={'unitID':_0x4033b6,'memberID':_0x40704f['memberID'],'type':_0x357609,'changeset':g[_0x46dc36(0xcb)](_0x3a4434)},_0x4df67a=this[_0x46dc36(0x20d)]['getConfig'](It),_0x24c05b=this[_0x46dc36(0x20d)]['getConfig'](Y),_0x335f82=Qt((_0x43a4d4=(_0x115f8f=_0x24c05b==null?void 0x0:_0x24c05b[_0x46dc36(0x14c)])!=null?_0x115f8f:_0x4df67a)!=null?_0x43a4d4:Kt,_0x357609,_0x4033b6);try{await this[_0x46dc36(0x143)][_0x46dc36(0x2ba)](_0x335f82,{'body':_0x4da95a});}catch(_0x3b53cf){throw this[_0x46dc36(0x26f)][_0x46dc36(0x256)]('[CollaborationSession]',_0x46dc36(0x168)),_0x3b53cf;}}async[_0xaa7fc(0x1c3)](_0x292d38){var _0x567a84=_0xaa7fc;const {unitID:_0x5ef353,from:_0x3afcd5,to:_0x253dfc,unitType:_0x2e3204}=_0x292d38[_0x567a84(0x18e)];return(await this[_0x567a84(0x178)][_0x567a84(0x154)]({'metadata':void 0x0},{'unitID':_0x5ef353,'type':_0x2e3204,'from':_0x3afcd5,'to':_0x253dfc}))[_0x567a84(0x22e)];}},exports[_0xaa7fc(0x17a)]=Zt([_e(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),_e(0x1,a['Inject'](q['HTTPService'])),_e(0x2,a[_0xaa7fc(0x41a)]),_e(0x3,a[_0xaa7fc(0x434)]),_e(0x4,g[_0xaa7fc(0x21e)])],exports['CollaborationSocketService']);const ei='collaboration_new_changeset';function ti(_0x45ad6e){var _0x187c01=_0xaa7fc;return JSON[_0x187c01(0x10f)](_0x45ad6e)['length'];}class Be{constructor(){var _0x48766c=_0xaa7fc;A(this,'_commentUpdate$',new j[(_0x48766c(0x2c4))]()),A(this,'commentUpdate$',this[_0x48766c(0x2fa)][_0x48766c(0xc7)]());}[_0xaa7fc(0x2a9)](_0x340791){var _0x4d42f8=_0xaa7fc;this[_0x4d42f8(0x2fa)]['next'](_0x340791);}}var ii=Object[_0xaa7fc(0x198)],ni=(_0x2d443d,_0x2e2a87,_0x286734,_0x4ab768)=>{var _0x3095b5=_0xaa7fc;for(var _0x3ed833=_0x4ab768>0x1?void 0x0:_0x4ab768?ii(_0x2e2a87,_0x286734):_0x2e2a87,_0x2468f2=_0x2d443d[_0x3095b5(0x3b0)]-0x1,_0x43d191;_0x2468f2>=0x0;_0x2468f2--)(_0x43d191=_0x2d443d[_0x2468f2])&&(_0x3ed833=_0x43d191(_0x3ed833)||_0x3ed833);return _0x3ed833;},Ke=(_0x392320,_0x194e44)=>(_0x309232,_0x128d95)=>_0x194e44(_0x309232,_0x128d95,_0x392320);exports[_0xaa7fc(0xc8)]=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x4a3569,_0x13de0e){var _0x980cfd=_0xaa7fc;super(),A(this,_0x980cfd(0x3ce),new Map()),A(this,'_roomCreated$',new j[(_0x980cfd(0x2c4))]()),(this['_univerInstanceService']=_0x4a3569,this['_userManagerService']=_0x13de0e,this['disposeWithMe'](j[_0x980cfd(0x2f8)](this[_0x980cfd(0xbf)][_0x980cfd(0x2ae)](a[_0x980cfd(0x231)]['UNIVER_SHEET'])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x4c5fc5=>_0x4c5fc5[_0x980cfd(0x217)]())),this['_univerInstanceService'][_0x980cfd(0x2ae)](a[_0x980cfd(0x231)][_0x980cfd(0x32c)])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x1c5861=>_0x1c5861['getUnitId']())),this[_0x980cfd(0xbf)][_0x980cfd(0x2ae)](a['UniverInstanceType']['UNIVER_SLIDE'])[_0x980cfd(0x2a5)](V[_0x980cfd(0x2e9)](_0x1026aa=>_0x1026aa[_0x980cfd(0x217)]())))['subscribe'](_0x31077a=>this[_0x980cfd(0x2f7)](_0x31077a))));}[_0xaa7fc(0x2f3)](_0x36ee39){var _0x40c4f5=_0xaa7fc;return this[_0x40c4f5(0x3ce)]['has'](_0x36ee39)?j['of'](this[_0x40c4f5(0x3ce)]['get'](_0x36ee39)):this[_0x40c4f5(0x3c2)]['pipe'](V[_0x40c4f5(0x2e9)](_0xae50fe=>{var _0x33f983=_0x40c4f5;if(_0xae50fe===_0x36ee39)return this['_roomMembers'][_0x33f983(0xe9)](_0xae50fe);}));}[_0xaa7fc(0x432)](_0x1892f4){var _0x1c44f2=_0xaa7fc;this['_userManagerService'][_0x1c44f2(0x432)](_0x1892f4);}[_0xaa7fc(0x39d)](){var _0x391084=_0xaa7fc;return this[_0x391084(0x31d)][_0x391084(0x39d)]();}['updateMember'](_0x53c7f7,_0x1a7213){var _0x4c5d7c=_0xaa7fc;let _0x1d3f1f=this[_0x4c5d7c(0x3ce)][_0x4c5d7c(0xe9)](_0x53c7f7);_0x1d3f1f||(_0x1d3f1f=new ri(),this[_0x4c5d7c(0x3ce)]['set'](_0x53c7f7,_0x1d3f1f),this['_roomCreated$'][_0x4c5d7c(0x38d)](_0x53c7f7)),_0x1d3f1f[_0x4c5d7c(0x232)](_0x1a7213);}[_0xaa7fc(0x1ae)](_0x5da694,_0x5d2a67){var _0x42dac6=_0xaa7fc;const _0x173883=this[_0x42dac6(0x3ce)][_0x42dac6(0xe9)](_0x5da694);_0x173883&&_0x173883['removeMember'](_0x5d2a67);}[_0xaa7fc(0x330)](_0x3f251b){var _0x374fa2=_0xaa7fc;return this[_0x374fa2(0x3ce)][_0x374fa2(0xe9)](_0x3f251b);}[_0xaa7fc(0x3c1)](_0x1481ca,_0x155bfa){var _0x1f650b=_0xaa7fc;const _0x2c02cc=this[_0x1f650b(0x3ce)][_0x1f650b(0xe9)](_0x1481ca);if(_0x2c02cc)return _0x2c02cc[_0x1f650b(0x3c1)](_0x155bfa);}[_0xaa7fc(0x2f7)](_0xe96380){var _0x1f5291=_0xaa7fc;const _0x37497e=this['_roomMembers']['get'](_0xe96380);_0x37497e&&(_0x37497e[_0x1f5291(0x41e)](),this[_0x1f5291(0x3ce)]['delete'](_0xe96380));}[_0xaa7fc(0x41e)](){var _0x5bddf3=_0xaa7fc;this[_0x5bddf3(0x3ce)][_0x5bddf3(0xfd)](_0x452eed=>_0x452eed[_0x5bddf3(0x41e)]()),this[_0x5bddf3(0x3ce)][_0x5bddf3(0x174)](),this[_0x5bddf3(0x3c2)]['complete']();}},exports[_0xaa7fc(0xc8)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x185)]))],exports[_0xaa7fc(0xc8)]);class ri extends a[_0xaa7fc(0x2e0)]{constructor(){var _0xc6d132=_0xaa7fc;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new j[(_0xc6d132(0xd7))](this[_0xc6d132(0x166)])),A(this,_0xc6d132(0x1a8),this['_members$'][_0xc6d132(0xc7)]());}[_0xaa7fc(0x41e)](){var _0x3d244a=_0xaa7fc;this[_0x3d244a(0x166)]['clear']();}[_0xaa7fc(0x232)](_0x56c73c){var _0x13602b=_0xaa7fc;this[_0x13602b(0x166)][_0x13602b(0x3d5)](_0x56c73c[_0x13602b(0x437)],_0x56c73c),this['_emitMembers']();}['removeMember'](_0x307726){var _0x240707=_0xaa7fc;this[_0x240707(0x166)]['delete'](_0x307726);}[_0xaa7fc(0x3c1)](_0x1c7620){var _0x248a4b=_0xaa7fc;return this[_0x248a4b(0x166)]['get'](_0x1c7620);}['getAllMembers'](){var _0x350c5b=_0xaa7fc;return Array[_0x350c5b(0x355)](this[_0x350c5b(0x166)][_0x350c5b(0x2de)]());}[_0xaa7fc(0x422)](){var _0xc4e2f1=_0xaa7fc;this[_0xc4e2f1(0x325)][_0xc4e2f1(0x38d)](this['_members']);}}var si=Object[_0xaa7fc(0x198)],oi=(_0x5b596b,_0x488af5,_0x264b4a,_0xb312e3)=>{var _0x40ad45=_0xaa7fc;for(var _0x2880d6=_0xb312e3>0x1?void 0x0:_0xb312e3?si(_0x488af5,_0x264b4a):_0x488af5,_0x331dd1=_0x5b596b[_0x40ad45(0x3b0)]-0x1,_0x4e2f23;_0x331dd1>=0x0;_0x331dd1--)(_0x4e2f23=_0x5b596b[_0x331dd1])&&(_0x2880d6=_0x4e2f23(_0x2880d6)||_0x2880d6);return _0x2880d6;},oe=(_0x396ce7,_0x530dd0)=>(_0x31e000,_0xc5fc)=>_0x530dd0(_0x31e000,_0xc5fc,_0x396ce7),se=(_0x6dec66=>(_0x6dec66[_0x6dec66[_0xaa7fc(0x311)]=0x0]=_0xaa7fc(0x311),_0x6dec66[_0x6dec66[_0xaa7fc(0x3a9)]=0x1]='JOINING',_0x6dec66[_0x6dec66['OFFLINE']=0x2]='OFFLINE',_0x6dec66[_0x6dec66[_0xaa7fc(0x144)]=0x3]=_0xaa7fc(0x144),_0x6dec66))(se||{});const Ye={[ae['FAIL']]:_0xaa7fc(0x394),[ae[_0xaa7fc(0x402)]]:_0xaa7fc(0x2cd),[ae['JOIN_ROOM_NOT_EXISTS']]:_0xaa7fc(0x360),[ae[_0xaa7fc(0x39c)]]:_0xaa7fc(0x128),[ae[_0xaa7fc(0xf0)]]:_0xaa7fc(0x305)};exports['CollaborationSession']=class extends a[_0xaa7fc(0x102)]{constructor(_0x21078e,_0x1ba9c6,_0x2c9188,_0x1e8602,_0x5680cf,_0x3e5154,_0x44789d,_0x13cddf,_0x4e661c){var _0x5847d7=_0xaa7fc;super(),A(this,'_sessionStatus$',new j[(_0x5847d7(0xd7))](0x0)),A(this,_0x5847d7(0x1a2),this[_0x5847d7(0x26e)][_0x5847d7(0xc7)]()),A(this,'_event$',new j['Subject']()),A(this,_0x5847d7(0x3c6),this[_0x5847d7(0xe7)]['asObservable']()),A(this,_0x5847d7(0x22f)),A(this,_0x5847d7(0x238)),A(this,_0x5847d7(0x36a)),A(this,_0x5847d7(0x230),!0x1),A(this,_0x5847d7(0x33e),null),(this[_0x5847d7(0x12a)]=_0x21078e,this['_logService']=_0x2c9188,this[_0x5847d7(0x20d)]=_0x1e8602,this[_0x5847d7(0x23a)]=_0x5680cf,this[_0x5847d7(0x435)]=_0x3e5154,this['_commentService']=_0x44789d,this[_0x5847d7(0x344)]=_0x13cddf,this['_telemetryService']=_0x4e661c,this[_0x5847d7(0x230)]=!!this[_0x5847d7(0x429)],_0x1ba9c6[_0x5847d7(0x2a5)](j[_0x5847d7(0x356)](this['dispose$']))['subscribe'](_0x5991c0=>{var _0x22355b=_0x5847d7,_0x26fcd2;typeof _0x5991c0>'u'||(this[_0x22355b(0x22f)]=_0x5991c0,_0x5991c0?(this['_joinRoom'](_0x5991c0),this['_socketMessageSubscription']=_0x5991c0['message$'][_0x22355b(0xe5)](_0x5e5297=>{var _0x215a44=_0x22355b;_0x5e5297[_0x215a44(0x374)]===this['_unitID']&&this[_0x215a44(0x267)](_0x5e5297);})):(this[_0x22355b(0x3aa)](),this[_0x22355b(0x26e)]['next'](0x2),(_0x26fcd2=this[_0x22355b(0x238)])==null||_0x26fcd2['unsubscribe'](),this[_0x22355b(0x238)]=null));}));}get[_0xaa7fc(0x438)](){var _0x1ef842=_0xaa7fc;return this[_0x1ef842(0x26e)]['getValue']();}[_0xaa7fc(0x3e8)](){var _0x4a00f0=_0xaa7fc,_0x1b6a57,_0xedaf2f;return(_0xedaf2f=(_0x1b6a57=this[_0x4a00f0(0x22f)])==null?void 0x0:_0x1b6a57[_0x4a00f0(0x437)])!=null?_0xedaf2f:null;}[_0xaa7fc(0x41e)](){var _0x962887=_0xaa7fc;super['dispose'](),this[_0x962887(0x2e6)][_0x962887(0x38d)](),this['dispose$'][_0x962887(0x384)]();}[_0xaa7fc(0x362)](){var _0x466d20=_0xaa7fc,_0x31b732,_0x4d904e;this[_0x466d20(0x3aa)](),(_0x31b732=this[_0x466d20(0x22f)])==null||_0x31b732[_0x466d20(0x43c)]({'cmd':W[_0x466d20(0x15e)],'data':{'roomID':this[_0x466d20(0x12a)]}}),(_0x4d904e=this['_socket'])==null||_0x4d904e[_0x466d20(0x362)](),this[_0x466d20(0xe7)][_0x466d20(0x384)](),this['_sessionStatus$']['complete'](),this[_0x466d20(0x41e)]();}['_onCombEvent'](_0x1cda6e){var _0x50c314=_0xaa7fc;_0x1cda6e[_0x50c314(0x43a)]===W[_0x50c314(0x137)]?this['_onJoinRoomEvent'](_0x1cda6e):_0x1cda6e[_0x50c314(0x43a)]===W[_0x50c314(0x3ca)]&&this[_0x50c314(0x2da)](_0x1cda6e);}[_0xaa7fc(0x1c0)](_0x523ec3){var _0x452ef4=_0xaa7fc;this[_0x452ef4(0x26e)][_0x452ef4(0x38d)](0x1),_0x523ec3[_0x452ef4(0x43c)]({'cmd':W[_0x452ef4(0x137)],'routeKey':this[_0x452ef4(0x12a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x452ef4(0x12a)]}]}});}[_0xaa7fc(0x111)](_0xd2334b){var _0x4e69d3=_0xaa7fc,_0x4d8dbb;if(_0xd2334b[_0x4e69d3(0xf3)]in Ye){this['_collaborationUIEventService'][_0x4e69d3(0x2ac)]({'id':Q[_0x4e69d3(0x1d8)],'data':Ye[_0xd2334b[_0x4e69d3(0xf3)]]}),this[_0x4e69d3(0x26e)][_0x4e69d3(0x38d)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x215917=(_0x4d8dbb=_0xd2334b[_0x4e69d3(0x18e)][_0x4e69d3(0xba)][this[_0x4e69d3(0x12a)]])==null?void 0x0:_0x4d8dbb[_0x4e69d3(0x187)];_0x215917&&_0x215917[_0x4e69d3(0xfd)](_0xde322e=>this[_0x4e69d3(0x435)][_0x4e69d3(0x232)](this[_0x4e69d3(0x12a)],_0xde322e));}[_0xaa7fc(0x2da)](_0x578d8f){var _0x4b27ef=_0xaa7fc;try{const _0xefdf58=_0x578d8f[_0x4b27ef(0x18e)];switch(_0xefdf58[_0x4b27ef(0x17d)]){case g[_0x4b27ef(0x209)]['USERS_ENTER']:this[_0x4b27ef(0x3f0)](_0xefdf58),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)][_0x4b27ef(0x30a)]:this[_0x4b27ef(0xbe)](_0xefdf58),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g['CollaborationEvent']['CHANGESET_ACK']:case g[_0x4b27ef(0x209)][_0x4b27ef(0x37b)]:this[_0x4b27ef(0xdb)](),this[_0x4b27ef(0x3db)](),this['_event$'][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)]['MSG_FOR_ERROR']:this['_logService'][_0x4b27ef(0x256)](_0x4b27ef(0x40c)+JSON[_0x4b27ef(0x10f)](_0xefdf58)),this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);break;case g[_0x4b27ef(0x209)][_0x4b27ef(0x100)]:this[_0x4b27ef(0x359)][_0x4b27ef(0x2a9)](_0xefdf58['data']),this['_event$'][_0x4b27ef(0x38d)](_0xefdf58);break;default:this[_0x4b27ef(0xe7)][_0x4b27ef(0x38d)](_0xefdf58);}}catch(_0x148bfb){this[_0x4b27ef(0x26f)][_0x4b27ef(0x256)](_0x148bfb,_0x578d8f);}}['_onUserJoin'](_0x2aeb77){var _0x12f485=_0xaa7fc;this[_0x12f485(0x435)][_0x12f485(0x232)](this[_0x12f485(0x12a)],_0x2aeb77[_0x12f485(0x18e)]);}['_onUserLeave'](_0x2d8c36){var _0x120f87=_0xaa7fc;this[_0x120f87(0x435)][_0x120f87(0x1ae)](this['_unitID'],_0x2d8c36[_0x120f87(0x18e)][_0x120f87(0x437)]);}async['send'](_0x1d29b9,_0x5a3996){var _0x3ca5f6=_0xaa7fc;if(this['sessionStatus']!==0x3||!this[_0x3ca5f6(0x22f)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1d29b9[_0x3ca5f6(0x17d)]===g[_0x3ca5f6(0x209)]['SUBMIT_CHANGESET']&&(this[_0x3ca5f6(0x34b)](),this[_0x3ca5f6(0xc5)](_0x1d29b9)),this[_0x3ca5f6(0x22f)][_0x3ca5f6(0x43c)]({'cmd':W[_0x3ca5f6(0x195)],'routeKey':_0x5a3996,'routeType':'','data':_0x1d29b9});}catch(_0x48acca){this[_0x3ca5f6(0x26f)]['error'](_0x48acca);}}[_0xaa7fc(0x34b)](){var _0x2a21c6=_0xaa7fc,_0xd4fdc;this[_0x2a21c6(0x36a)]=setTimeout(()=>{var _0x25f703=_0x2a21c6;this[_0x25f703(0x36a)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0xd4fdc=this['_configService'][_0x2a21c6(0xb5)](je))!=null?_0xd4fdc:gt);}[_0xaa7fc(0x3db)](){var _0x5d0575=_0xaa7fc;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5d0575(0x36a)]=null);}[_0xaa7fc(0xc5)](_0x13b9c2){var _0x11e050=_0xaa7fc;if(!this['_shouldReportTelemetry'])return;const {data:_0xbcd2f8}=_0x13b9c2,{unitID:_0x17e670,changeset:_0x16179b}=_0xbcd2f8,{mutations:_0x1a2007,type:_0xc4e1b7}=_0x16179b;this[_0x11e050(0x33e)]={'unitId':_0x17e670,'type':_0xc4e1b7,'startTime':performance[_0x11e050(0x153)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1a2007)};}[_0xaa7fc(0xdb)](){var _0x2732c6=_0xaa7fc;if(this[_0x2732c6(0x230)]){if(!this[_0x2732c6(0x33e)]){this[_0x2732c6(0x26f)][_0x2732c6(0x256)](_0x2732c6(0x21c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2732c6(0x33e)][_0x2732c6(0x2dd)]=performance['now'](),this[_0x2732c6(0x33e)]['duration']=this[_0x2732c6(0x33e)]['stopTime']-this[_0x2732c6(0x33e)][_0x2732c6(0x2f6)],this['_telemetryService']['capture'](ei,this[_0x2732c6(0x33e)]),this[_0x2732c6(0x33e)]=null;}}[_0xaa7fc(0x3aa)](){var _0x34dd38=_0xaa7fc;this[_0x34dd38(0x33e)]=null;}},exports[_0xaa7fc(0x2bb)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0xaa7fc(0x41a)]),oe(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),oe(0x5,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0xc8)])),oe(0x6,a[_0xaa7fc(0x1a1)](Be)),oe(0x7,a[_0xaa7fc(0x1a1)](te)),oe(0x8,a['Optional'](Mt[_0xaa7fc(0x36c)]))],exports[_0xaa7fc(0x2bb)]);var ai=Object[_0xaa7fc(0x198)],ci=(_0x2bd648,_0x55c7cf,_0x41203b,_0x9e84ad)=>{var _0x43cb72=_0xaa7fc;for(var _0x123300=_0x9e84ad>0x1?void 0x0:_0x9e84ad?ai(_0x55c7cf,_0x41203b):_0x55c7cf,_0x186269=_0x2bd648[_0x43cb72(0x3b0)]-0x1,_0xcb4ce7;_0x186269>=0x0;_0x186269--)(_0xcb4ce7=_0x2bd648[_0x186269])&&(_0x123300=_0xcb4ce7(_0x123300)||_0x123300);return _0x123300;},le=(_0x1c549b,_0x404ea7)=>(_0x459162,_0x3be865)=>_0x404ea7(_0x459162,_0x3be865,_0x1c549b);exports[_0xaa7fc(0x24e)]=class extends a['Disposable']{constructor(_0x5adcf8,_0xfb741f,_0x5148fd,_0x25f2e8,_0x1acf50,_0x5c945d){var _0x521347=_0xaa7fc;super(),A(this,_0x521347(0x152),new j[(_0x521347(0xd7))](void 0x0)),A(this,_0x521347(0x1df),this[_0x521347(0x152)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0x521347(0x1f2),new Map()),A(this,'_status$',new j[(_0x521347(0xd7))](se[_0x521347(0x311)])),A(this,_0x521347(0x199),this[_0x521347(0x15a)][_0x521347(0xc7)]()),A(this,_0x521347(0x184),!0x1),A(this,_0x521347(0x2e8)),A(this,_0x521347(0x169),0x0),A(this,_0x521347(0x121)),A(this,_0x521347(0x2f9)),(this['_injector']=_0x5adcf8,this[_0x521347(0x26f)]=_0xfb741f,this['_configService']=_0x5148fd,this[_0x521347(0x33f)]=_0x25f2e8,this[_0x521347(0x344)]=_0x1acf50,this[_0x521347(0x203)]=_0x5c945d,this[_0x521347(0x259)]());}get[_0xaa7fc(0x22f)](){var _0x54b685=_0xaa7fc;return this[_0x54b685(0x152)][_0x54b685(0x3a0)]();}['_listenToNetworkCondition'](){var _0x2a5521=_0xaa7fc;this[_0x2a5521(0x203)]&&this[_0x2a5521(0x3fd)](this[_0x2a5521(0x203)][_0x2a5521(0x3cc)][_0x2a5521(0xe5)](_0x3bb8b0=>{var _0x4df900=_0x2a5521;_0x3bb8b0&&!this[_0x4df900(0x22f)]&&this['reconnect'](),_0x3bb8b0||this['_onOffline']();}));}[_0xaa7fc(0x41e)](){var _0x9588c7=_0xaa7fc;super['dispose'](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x9588c7(0x3c9)](),this[_0x9588c7(0x1f2)][_0x9588c7(0xfd)](_0x50ca53=>_0x50ca53['dispose']()),this['_sessions'][_0x9588c7(0x174)](),this['_status$'][_0x9588c7(0x384)]();}async[_0xaa7fc(0x13a)](_0xa49d0){var _0xf2db13=_0xaa7fc;if(this['_sessions'][_0xf2db13(0x3d7)](_0xa49d0))return this[_0xf2db13(0x1f2)][_0xf2db13(0xe9)](_0xa49d0);this[_0xf2db13(0x1cf)]();const _0x5d658b=this[_0xf2db13(0x2e2)]['createInstance'](exports[_0xf2db13(0x2bb)],_0xa49d0,this['_socket$'][_0xf2db13(0xc7)]());return this[_0xf2db13(0x1f2)][_0xf2db13(0x3d5)](_0xa49d0,_0x5d658b),_0x5d658b;}[_0xaa7fc(0x32f)](_0x9c8cdc){var _0x4a6283=_0xaa7fc,_0x2931cc;const _0x18d154=this[_0x4a6283(0x1f2)][_0x4a6283(0xe9)](_0x9c8cdc);_0x18d154&&(this['_sessions'][_0x4a6283(0x3b1)](_0x9c8cdc),_0x18d154['close']()),this[_0x4a6283(0x1f2)]['size']||(_0x2931cc=this[_0x4a6283(0x22f)])==null||_0x2931cc[_0x4a6283(0x362)]();}[_0xaa7fc(0x16c)](){var _0x4277b3=_0xaa7fc;this['_retryCount']=0x0,this[_0x4277b3(0x3ea)](),this['_tryReconnect']();}[_0xaa7fc(0x3ea)](){var _0x25dba6=_0xaa7fc;this[_0x25dba6(0x2e8)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0xaa7fc(0x1fe)](){var _0x41f7cb=_0xaa7fc,_0x3537c9,_0x4986ce;const _0xb4bc1c=this[_0x41f7cb(0x20d)][_0x41f7cb(0xb5)](St),_0x1d2252=this['_configService']['getConfig'](Y),_0x455307=(_0x4986ce=(_0x3537c9=_0x1d2252==null?void 0x0:_0x1d2252['collabWebSocketUrl'])!=null?_0x3537c9:_0xb4bc1c)!=null?_0x4986ce:ft,_0x1638f8=await this['_socketService'][_0x41f7cb(0x234)](_0x455307);return this['_candidateSocket']=_0x1638f8,_0x1638f8;}async['_tryEnsureSocket'](){var _0x3eb29d=_0xaa7fc,_0x172689,_0x56b056;try{const _0x30fe9a=(_0x56b056=(_0x172689=this[_0x3eb29d(0x22f)])!=null?_0x172689:this[_0x3eb29d(0xc0)])!=null?_0x56b056:await this['_createSocket']();if(_0x30fe9a){const _0x5485da=_0x30fe9a[_0x3eb29d(0x43c)];_0x30fe9a[_0x3eb29d(0x43c)]=_0x227e78=>(this[_0x3eb29d(0x266)](),_0x5485da[_0x3eb29d(0x2c5)](_0x30fe9a,[_0x227e78])),_0x30fe9a['message$'][_0x3eb29d(0xe5)](_0x1c04db=>this['_onMessage'](_0x30fe9a,_0x1c04db)),_0x30fe9a[_0x3eb29d(0x1e0)][_0x3eb29d(0x2a5)](V[_0x3eb29d(0x31a)](0x1))['subscribe'](_0x2fc6e3=>this[_0x3eb29d(0x26f)][_0x3eb29d(0x256)]('[CollaborationSessionService]:\x20socket\x20error',_0x2fc6e3)),_0x30fe9a['open$']['pipe'](V[_0x3eb29d(0x31a)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x30fe9a);}),_0x30fe9a['close$'][_0x3eb29d(0x2a5)](V[_0x3eb29d(0x31a)](0x1))[_0x3eb29d(0xe5)](_0x15eda2=>{var _0x31647e=_0x3eb29d;this['_logService'][_0x31647e(0xc1)](_0x31647e(0x227),_0x31647e(0x1e5),_0x15eda2),this[_0x31647e(0x2df)]();});}}catch(_0x4ba8ec){this[_0x3eb29d(0x26f)][_0x3eb29d(0x256)](_0x4ba8ec),this[_0x3eb29d(0x2df)]();}}[_0xaa7fc(0x1c8)](_0x1fc55e){var _0x2287d2=_0xaa7fc;this['_logService']['debug'](_0x2287d2(0x227),'socket\x20open.'),_0x1fc55e[_0x2287d2(0x43c)]({'cmd':W[_0x2287d2(0x279)]}),this['_rescheduleHeartbeat']();}[_0xaa7fc(0x431)](){var _0x4f711e=_0xaa7fc;this[_0x4f711e(0x184)]=!0x1,this[_0x4f711e(0xc0)]=null,this['_status$']['next'](se['OFFLINE']),this[_0x4f711e(0x152)][_0x4f711e(0x38d)](null),this[_0x4f711e(0x1fa)](),this['_clearHeartbeatTimer']();}[_0xaa7fc(0x2df)](){var _0x55afa3=_0xaa7fc,_0x40413e;this[_0x55afa3(0x431)](),this[_0x55afa3(0x169)]<((_0x40413e=this['_configService'][_0x55afa3(0xb5)](mt))!=null?_0x40413e:Vt)?(this['_collaborationUIEventService'][_0x55afa3(0x2ac)]({'id':Q[_0x55afa3(0x1f0)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':Q['SOCKET_FAILED']});}[_0xaa7fc(0x167)](){var _0x1cd4e1=_0xaa7fc,_0x19c6b0;const _0x40bb2d=this[_0x1cd4e1(0x169)],_0x5d54ae=this['_configService'][_0x1cd4e1(0xb5)](Y),_0x24396f=_0x40bb2d===0x0?0x0:((_0x19c6b0=_0x5d54ae==null?void 0x0:_0x5d54ae[_0x1cd4e1(0x3cb)])!=null?_0x19c6b0:Ft)*0x2**_0x40bb2d;this[_0x1cd4e1(0x2e8)]=setTimeout(()=>{var _0x1a83be=_0x1cd4e1;clearTimeout(this[_0x1a83be(0x2e8)]),this['_retryConnectingTimer']=null,this[_0x1a83be(0x1cf)]();},_0x24396f),this['_retryCount']+=0x1;}[_0xaa7fc(0x21a)](_0x69501b,_0xb82ddd){var _0xa27def=_0xaa7fc;const {cmd:_0x12db7d}=_0xb82ddd;_0x12db7d===W[_0xa27def(0x279)]&&!this[_0xa27def(0x184)]&&(_0x69501b[_0xa27def(0x437)]=_0xb82ddd[_0xa27def(0x18e)][_0xa27def(0x437)],this[_0xa27def(0x152)][_0xa27def(0x38d)](_0x69501b),this['_status$']['next'](se[_0xa27def(0x144)]),this[_0xa27def(0x184)]=!0x0,this['_candidateSocket']=null),_0x12db7d===W[_0xa27def(0x347)]&&this[_0xa27def(0x1fa)](),this[_0xa27def(0x266)]();}['_rescheduleHeartbeat'](){var _0x25abc6=_0xaa7fc,_0x2c01aa;this[_0x25abc6(0x3c9)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x2c01aa=this[_0x25abc6(0x20d)][_0x25abc6(0xb5)](pt))!=null?_0x2c01aa:Bt);}[_0xaa7fc(0x1cb)](){var _0x485b2b=_0xaa7fc;this[_0x485b2b(0x22f)]['send']({'cmd':W[_0x485b2b(0x347)]}),this[_0x485b2b(0x101)]();}[_0xaa7fc(0x101)](){var _0x540163=_0xaa7fc,_0x1daa6a;this[_0x540163(0x2f9)]=setTimeout(()=>this[_0x540163(0x2df)](),(_0x1daa6a=this['_configService']['getConfig'](je))!=null?_0x1daa6a:gt);}[_0xaa7fc(0x3c9)](){var _0x41e7cc=_0xaa7fc;this[_0x41e7cc(0x121)]!=null&&(clearTimeout(this[_0x41e7cc(0x121)]),this[_0x41e7cc(0x121)]=null);}[_0xaa7fc(0x1fa)](){var _0x10893b=_0xaa7fc;this[_0x10893b(0x2f9)]!=null&&(clearTimeout(this[_0x10893b(0x2f9)]),this[_0x10893b(0x2f9)]=null);}},exports[_0xaa7fc(0x24e)]=ci([le(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),le(0x1,a['ILogService']),le(0x2,a[_0xaa7fc(0x41a)]),le(0x3,$e),le(0x4,a[_0xaa7fc(0x1a1)](te)),le(0x5,a['Optional'](bt))],exports[_0xaa7fc(0x24e)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)['toString'](0x10)[_0xaa7fc(0x161)](0x1));function hi(_0x413465,_0x38f5f3=0x0){var _0x41344e=_0xaa7fc;return(G[_0x413465[_0x38f5f3+0x0]]+G[_0x413465[_0x38f5f3+0x1]]+G[_0x413465[_0x38f5f3+0x2]]+G[_0x413465[_0x38f5f3+0x3]]+'-'+G[_0x413465[_0x38f5f3+0x4]]+G[_0x413465[_0x38f5f3+0x5]]+'-'+G[_0x413465[_0x38f5f3+0x6]]+G[_0x413465[_0x38f5f3+0x7]]+'-'+G[_0x413465[_0x38f5f3+0x8]]+G[_0x413465[_0x38f5f3+0x9]]+'-'+G[_0x413465[_0x38f5f3+0xa]]+G[_0x413465[_0x38f5f3+0xb]]+G[_0x413465[_0x38f5f3+0xc]]+G[_0x413465[_0x38f5f3+0xd]]+G[_0x413465[_0x38f5f3+0xe]]+G[_0x413465[_0x38f5f3+0xf]])[_0x41344e(0x134)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3f5437=_0xaa7fc;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3f5437(0x265)])throw new Error(_0x3f5437(0x1da));Ue=crypto[_0x3f5437(0x265)][_0x3f5437(0x317)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0xaa7fc(0x176)]&&crypto[_0xaa7fc(0x176)][_0xaa7fc(0x317)](crypto),qe={'randomUUID':ui};function di(_0x47658a,_0xf5898c,_0x2802ad){var _0x410462=_0xaa7fc,_0x137bcc,_0x2e5aae,_0x326265;if(qe[_0x410462(0x176)]&&!_0x47658a)return qe[_0x410462(0x176)]();_0x47658a=_0x47658a||{};const _0x1da9fd=(_0x326265=(_0x2e5aae=_0x47658a['random'])!=null?_0x2e5aae:(_0x137bcc=_0x47658a[_0x410462(0x3ad)])==null?void 0x0:_0x137bcc[_0x410462(0x247)](_0x47658a))!=null?_0x326265:_i();if(_0x1da9fd[_0x410462(0x3b0)]<0x10)throw new Error(_0x410462(0x1a7));return _0x1da9fd[0x6]=_0x1da9fd[0x6]&0xf|0x40,_0x1da9fd[0x8]=_0x1da9fd[0x8]&0x3f|0x80,hi(_0x1da9fd);}function _0x165d(){var _0x2a2083=['_logService','LOCAL_CACHE_INTERVAL','SheetsSelectionsService','c1Prime','_createHelper','_decreaseWaiting','_acknowledgedAwaitingChangeset','_init','lib','readAsDataURL','HELLO','_map','Injector','processBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','csRejEvent','/-/object/list','ThresholdInterceptorFactory','_parse','_getUndoStack','/universer-api/uniscript','_updateState','_unitInfo$','mode','LIVESHARE_NEW_HOST','iterations','href','formatter','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','startsWith','list','IMentionIOService','loadOfflineData','DEFAULT_COLLAB_WEB_SOCKET_URL','addHandlerCallback','decrypt','max','?size=','update','editingUnit','isTransformChangesetsSuccess','unpad','PSEUDO_FETCH_MISSING_RESULT','createDecryptor','YUUMI_URL_COL_OUT_OF_RANGE','_getSendChangesetTimeout','__esModule','then','awaiting_with_pending','subject','HEARTBEAT_TIMEOUT_KEY','localeService','add','readInt32LE','pipe','CONNECTOR_DATA_TOO_LARGE','LocalUndoRedoService','toString','onCommentUpdate','390580vfQkGM','/resources','emitEvent','onStateChange','getTypeOfUnitDisposed$','CollaborationImageIoService','uploadFileServerUrl','_doFinalize','unit-cache-','LIVESHARE_FETCH_OPERATIONS','UPDATE_CURSOR','hasOwnProperty','rxjs/operators','onCommandExecuted','NO_OTHER_CLIENTS_EDITING','_commandService','post','CollaborationSession','YUUMI_RATE_OVER_LIMIT','&to=','transformChangesets','CipherParams','_onRemoteChangeset','UNKNOWN_CMD','/-/object/-/batch_allowed','@univerjs/core','Subject','apply','_awaitingChangeset','SEND_CHANGESET_TIMEOUT_KEY','POST','words','_createHandler','MentionType','initWorkbookPermissionChange','session.room-full','message$','_transformSelections','SNAPSHOT_INVALID_SNAPSHOT','&assign=','getTypeOfUnitAdded$','_onRemoteRejected','_collaborationSessionService','entries','setShowComponents','parseProtocolChangeset','fromCharCode','onTransformSelections','_onRecvEvent','params','_initUnitPermissionChange','stopTime','values','_onConnectionFailed','Disposable','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_injector','getImage','findIndex','_permissionService','dispose$','_prevBlock','_retryConnectingTimer','map','textEncoder','_mode','signUrlServerUrl','getUnitStatus$','BlockCipherMode','ConflictState','ERROR_EXCEED_SIZE','ERROR_IMAGE_TYPE','_collaborationPaused','waitForRoom$','_syncEditingCollabCursor','find','startTime','_removeRoom','merge','_timeoutTimer','_commentUpdate$','_onRemoteACK','entityInit$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unitId','transformMutationsWithChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','OfflineState','_getAPIPrefixPath','AwaitingState','APPLY_REVISION_CONFILICT','session.room-cnt-exceeds','getDeserializedSheetBlock','DataLoaderService','[SyncedState]:\x20received\x20acknowledgement.','actions','USERS_LEAVE','FETCH_MISSING','image/gif','Rectangle','_replaceFileID','_getRedoStack','SheetPermissionInitController','IDLE','symbol','state','AUTHZ_URL_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getSheetBlock','bind','COLLAB_WEB_SOCKET_URL','LOGIN_FAILED','take','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_keySchedule','_userManagerService','[CollaborationEntity]','readyForCollab','onRemoteChangeset','_waitCount','addImageSourceCache','image/jpeg','_createInitialState','_members$','appendMutation','UnitEmbedded','YUUMI_UNABLE_LOAD_URL','baseRev','includes','\x0aCurrent:\x20','UNIVER_DOC','[OfflineState]:\x20received\x20changeset.','SNAPSHOT_HAS_BEEN_REMOVED','closeSession','getRoom','padding','parse','_applyRemoteChangeset','_initMergeInterceptor','_cipher','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','COMPRESS_MUTATION_SEND','random','onRemoteRetry','_ENC_XFORM_MODE','UNKNOWN_CODE','_clearLocalCache','__Key__','_telemetryInfo','_socketService','batchAllowed','_DEC_XFORM_MODE','connection\x20error','exports','_collaborationUIEventService','AwaitingWithPendingState','create','HEARTBEAT','SNAPSHOT_SERVER_URL_KEY','src','_initRequestHeader','_scheduleCollaborationTimeoutTimer','_remoteChangesetQueue','FetchingMissState','UnitStatus','getSnapshotAPIPath','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','compute','Base64','/collaborator','$super','from','takeUntil','SOCKET_FAILED','_data','_commentService','EmptyMutation','function','refreshPermission','resend','json','_toggleOffline','session.room-not-exists','__creator','close','commentUpdateEvent','SnapshotServerOverHTTPService','_executeRemoteChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','{fileID}','fetchThroughInterceptors','url','_collaborationTimeoutTimer','disableLocalCache','ITelemetryService','UNIVER_SLIDE','COMPLETION_FINISHED','\x20-\x20','_disableEditing','People','/universer-api/snapshot','PasswordBasedCipher','routeKey','@univerjs/telemetry','updatePermissionPoint','onRemoteAck','PERMISSION_REJ','status','enc','CHANGESET_SHOULD_RETRY','/role','IUniverInstanceService','Latin1','UNIVER_SHEET','_getAPIPrefix','downloadEndpointUrl','localCacheService','INVITE_CODE_ALREADY_BOUND','complete','synced','[PendingState]:\x20received\x20acknowledgement.','_resendWithTimeout','isTransformMutationsWithChangesetSuccess','range','DEFAULT_FILE_NAME','Utf8','getUnit','next','catch','UniverCollaborationPlugin','_transformRemoteChangesetByIMECache','_nDataBytes','HEARTBEAT_INTERVAL','LOGIN_URL_KEY','session.join-failed','DocCollaborationEntity','APPLY_PERMISSION_DENIED','_minBufferSize','_transformStack','interceptor','serializeCombRequest','incrementRevOfUnit','JOIN_ROOM_PERMISSION_DENIED','getCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','touchDependencies','getValue','algo','originalMeta','SerializableCipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','MentionIoHttpService','pad','updateOfflineData','_isPermissionRej','JOINING','_throwTelemetryCollaborationNewChangeset','unsubscribe','OTHER_CLIENT_EDITING','rng','result','image/png','length','delete','reset','UnitSnapshot','awaiting','TOO_MANY_REQUESTS','SheetTransformSelectionsService','auth.needGotoLoginAlert','UNIVER_PROJECT','size','mapDocumentTypeToUniverType','setConfig','onSyncEditingCollabCursor','allowed','_revisionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCompleteTimestamp','getMember','_roomCreated$','_createHmacHelper','7384069RKhmWe','randomBytes','event$','charCodeAt','AuthzIoHttpService','_clearHeartbeatTimer','RECV','retryConnectingInterval','online$','pending','_roomMembers','BufferedBlockAlgorithm','push','c2Prime','ISingleActiveUnitService','CHANGESET_ACK','join','set','encrypt','has','_transformService','7040360NrQaZV','CommandType','_clearCollaborationTimeoutTimer','_invKeySchedule','[SyncedState]:\x20received\x20rejection.','transformSelections','_doProcessBlock','OPTIONAL','_compressMutationService','CLOSE_ROOM','default','_process','\x20in\x20_schedule.','HMAC','createCollaborator','getMemberID','kdf','_clearRetryConnectingTimer','_type','UNIVER_UNKNOWN','finalize','getCollabEntity$','ERROR_IMAGE','_onUserJoin','_changesetSessionId','location','CBC','ReplaySubject','WorkbookEditablePermission','HmacSHA1','SUBMIT_CHANGESET_TIMEOUT','LocaleService','_replayCachedMutations','getInterceptPoints','CollaborativeUndoRedoService','_clearScheduledTask','disposeWithMe','not_collab','onStarting','override','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','JOIN_ROOM_FULL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/file/{fileID}/sign-url','SheetCollaborationEntity','_getLoginPath','objectType','LICENSE_DISTRO_REJECTED','PY_RUNTIME_SCRIPT_ERROR','transformUndoRedo','ImageUploadStatusType','save\x20fail\x20reason\x20is\x20','floor','SYNCED','FAIL','@univerjs-pro/collaboration','_HTTPService','m2Prime','[UniverCollaborationClientPlugin]','objectID','saveSheetBlock','/rev/','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_undoRedoService','onSendChangeset','IConfigService','isPermissionRej','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_singleActiveUnitService','dispose','title','INVALID_INVITE_CODE','createInstance','_emitMembers','NEW_CHANGESETS','loginUrlKey','newCsEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onMissingChangesets','SNAPSHOT_URL_KEY','_telemetryService','abs','onTransformRemoteChangesetByIMECache','prototype','splice','_onRemoteRetry','OTHER_CLIENTS_EDITING','1639384NWarHy','_onOffline','setCurrentUser','31923oXXuMF','ILogService','_memberService','append','memberID','sessionStatus','leaveEvent','cmd','PENDING','send','IPermissionService','_handlerCallback','Workbook','getConfig','_clearRedo','HEARTBEAT_INTERVAL_KEY','_toggleOnline','fetch_missing','roomInfos','mergeOverrideWithDependencies','_eventService','focused$','_onUserLeave','_univerInstanceService','_candidateSocket','debug','unitId\x20is\x20not\x20found','conflict','Quantity','_startTelemetryCollaborationNewChangeset','_initCloseConn','asObservable','MemberService','sendChangesetTimeout','SessionStatus','parseChangesetToProtocol','PERMISSION_DENIED','SUCCUSS','objectActions','_transitionLocked','clamp','Could\x20not\x20dynamically\x20require\x20\x22','collaMsg','COMPRESS_MUTATION_APPLY','joinRsp','avatar','StreamCipher','BehaviorSubject','encryptBlock','init','?url=','_stopTelemetryCollaborationNewChangeset','collaboratorID','_entityInit$','filter','patch','HttpExport','toggleOffline','_change$','file','_showConflictNotification','subscribe','sin','_event$','/block/','get','PERSON','_checkMissing','LICENSE_IMPORT_SIZE_EXCEEDED','Base','sid','salt','GLOBAL_ROOMS_CNT_EXCEEDS','Hex','getImageSourceCache','code','subUnitId','onTransformState','_clearUndo','INVALID_ARGUMENT','onMissedChangesetFetched','registerDependencies','/unit/','_pendingMutations','ENSURE_SNAPSHOT_EXECUTION','forEach','COLLAB_SUBMIT_CHANGESET_URL','[FetchMissState]','COMMENT_UPDATE','_waitForHeartbeatResponse','RxDisposable','LIVESHARE_OPERATION','@univerjs/drawing','SetSelectionsOperation','_xformMode','/object','/universer-api/oidc/authpage','blockSize','_state','getActiveSheet','liveShareOperation','reduce','_changesetReqId','stringify','crypto','_onJoinRoomEvent','buffer','csAckEvent','_collabSessionService','INTERNAL_ERROR','_sendingTimer','_onFetchMissResult','_onLocalMutation','_transformUndoredo','_getSignURL','UniverNetworkPlugin','getCurrentRevOfUnit','decryptBlock','_instanceService','InsertSheetMutation','Optional','_sendHeartbeatTimer','onRemoteRej','onTransformIME','_reverseMap','key','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','shouldCloseConn','session.room-permission-denied','OFFLINE','_unitID','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[OfflineState]:\x20received\x20rejection.','APPLY_REJECT','/object/','_entities','_snapshotService','onlyLocal','Module','charAt','toLowerCase','/universer-api/authz','uniscriptRunEvent','JOIN','_updateStatus','editing\x20status\x20changed\x20to','requireSession','CollaborationUIEventService','execute','executeCommand','delay','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Hasher','_imageSourceCache','offline','_httpService','ONLINE','_transformRemoteChangesetByStateCache','_updateLocalCache','deepClone','SyncedState','getLocalCacheKey','UNDEFINED','encode','collabSubmitChangesetUrl','LIVESHARE_TERMINATE','CollaborationUIEventId','firstValueFrom','_loadDoc','USERS_ENTER','_socket$','now','fetchMissingChangesets','SUBMIT_CHANGESET','[DataLoaderService]','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','IImageIoService','_resendTimeout','_status$','open$','permissionRejEvent','equals','LEAVE','WordArray','fromCollab','slice','hasher','hostname','awaitingChangeset','collaborators','_members','_tryReconnect','submit\x20changeset\x20error!','_retryCount','workbook','[CollaborationUndoRedoService]','reconnect','failed\x20to\x20apply\x20missed\x20changesets!','Decryptor','defineProperty','17TupnxE','reqId','UPDATE_PERMISSION_OBJ','body','clear','HTTPRequest','randomUUID','CollaborationEntity','_snapshotServerService','FETCH_MISS','CollaborationSocketService','_unlockTransition','getCollabEntity','eventID','MUTATION','compose','ALREADY_EXISTS','string','OpenSSL','extend','_socketReady','UserManagerService','isTransformMutationsWithChangesetFailure','members','UNISCRIPT_RUN','reject','revision','EvpKDF','unknown','_onConflict','data','clone','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ImageSourceType','transformStack\x20failed!','session','listCollaborators','INGEST','\x20to\x20','/allowed','getOwnPropertyDescriptor','status$','state$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','univer-pro.collaboration-client-socket-service','format','loadUnit','msCrypto','toStringTag','Inject','sessionStatus$','HTTPService','_getCurrentRevision','snapshotServerUrl','image/jpg','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','members$','_keyPriorReset','name','replace','_getCtorByUniverType','_transformIMECache','removeMember','ceil','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','_getDownloadEndpointURL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','INVITE_CODE_REQUIRED','getCurrentSelections','substr','Undefined','_registerDependencies','_append','_sheetTransformSelectionsService','Cipher','ICommandService','_loadSheet','_queuedRemoteChangesets','_lockTransition','_joinRoom','getWorkbookSelections','_transformStateCache','_fetchMissChangesets','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UNRECOGNIZED','getSheetId','Failed\x20to\x20update\x20permission\x20point','_onConnectionOpen','toDisposable','selections','_sendHeartbeat','univer-pro.collaboration-client.single-active-unit-service','Encryptor','RichTextEditingMutation','_tryEnsureSocket','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_schedule','_substituteUndoStack','_sender','createIdentifier','headers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOIN_ROOM_FAILED','CompressMutationService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','NoPadding','INVITE_CODE_HAS_BEEN_UES','textRanges','_iv','socket$','error$','unitID','authzUrl','keySize','_doReset','socket\x20close','NOT_COLLAB','/universer-api/stream/file/upload','SEND_CHANGESET_TIMEOUT','ws://127.0.0.1:8000/universer-api/comb/connect','Tools','SnapshotService','BlockCipher','_state$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetching\x20missing\x20changesets\x20from\x20','SOCKET_FAILED_RETRY','infoRsp','_sessions','ciphertext','toggleOnline','liveShareNewHost','_resendTimer','LICENSE_EXPORT_SIZE_EXCEEDED','concat','_hasher','_clearTimeoutTimer','CollaborationController','concatMap','sigBytes','_createSocket','CHANGESET_REVISION_CONFILICT','_handler','copyFileMeta','method','_networkConditionService','put','Error\x20on\x20receiving\x20event','target','UniverCollaborationClientPlugin','rev','CollaborationEvent','_startCollaboration','6PBvOxh','_nRounds','_configService','1930YptAtL','COLLAB_WEB_SOCKET_URL_KEY','pauseCollaboration','94314dxBhNi','enableOfflineEditing','_incrementRevisionNumber','encodeURIComponent','mixIn','loadDoc','getUnitId','CONFLICT','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_onMessage','CHANGESET_REJ','[CollaborationSession]','SHA1','ISnapshotServerService','requestParams','_submitChangeset','LICENSE_MAX_UNITS_EXCEEDED','IUndoRedoService','registerHTTPInterceptor','HEARTBEAT_TIMEOUT','ITransformService','withCredentials','[CollaborationSessionService]','objects','_hash','_key','_doCryptBlock','NOT_FOUND','collaboration-client.config','changesets','_socket','_shouldReportTelemetry','UniverInstanceType','updateMember','isArray','createSocket','b64DecodeUnicode','SHOULD_CLOSE_CONN','change$','_socketMessageSubscription','MD5','_localeService','socketService','[OfflineState]:\x20received\x20acknowledgement.','deserializeToCombResponse','&source=','USER_NOT_INVITED_CODE','JOIN_ROOM_NOT_EXISTS','RETRY_CONNECTING_MAX_COUNT','76924DXzaSI','PendingState','type','pluginName','[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.','call','FileId','AES','getFocusedUnit','IAuthzIoService','fetchMiss','BASE64','CollaborationSessionService','indexOf','_initDependencies','@univerjs/docs','getLatestCsReqIdBySid','every','min','sheets','error','univer-pro.collaboration-client.network-condition.service','RevisionService','_listenToNetworkCondition','CommentService','resolve','saveImage','isInternalEditorID','_localCacheService','createEncryptor','userID','mutations','_config','repeat','onTransformRemoteChangesetByStateCache','getRandomValues','_rescheduleHeartbeat','_onCombEvent','_exhaustRemoteChangesetQueue','cfg','byteLength','HttpImport','setWaitCount','_createInitialStateImpl','_sessionStatus$'];_0x165d=function(){return _0x2a2083;};return _0x165d();}const z=a[_0xaa7fc(0x1d4)]('collaboration-client.local-cache-service');function vi(_0x4c8f97){var _0x2b948d=_0xaa7fc;return _0x2b948d(0x2b2)+_0x4c8f97;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x536775,_0x22df14,_0xd2cbae,_0x2c2efc)=>{var _0x4eb469=_0xaa7fc;for(var _0x7eb570=_0x2c2efc>0x1?void 0x0:_0x2c2efc?Si(_0x22df14,_0xd2cbae):_0x22df14,_0x3525a2=_0x536775[_0x4eb469(0x3b0)]-0x1,_0x756ce;_0x3525a2>=0x0;_0x3525a2--)(_0x756ce=_0x536775[_0x3525a2])&&(_0x7eb570=_0x756ce(_0x7eb570)||_0x7eb570);return _0x7eb570;},Ae=(_0x215146,_0x15b9f8)=>(_0x580d0d,_0x4a8588)=>_0x15b9f8(_0x580d0d,_0x4a8588,_0x215146);function pi(_0x268416){var _0x551c89=_0xaa7fc;const {unitID:_0x22771b,mutations:_0x256696}=_0x268416;return{'unitId':_0x22771b,'subUnitId':_0x256696[0x0][_0x551c89(0x2db)][_0x551c89(0xf4)]};}exports[_0xaa7fc(0x3b6)]=class{constructor(_0x5853bb,_0x4b45fd,_0x40e3b0){var _0x5c7aef=_0xaa7fc;this[_0x5c7aef(0x2e2)]=_0x5853bb,this[_0x5c7aef(0x3d8)]=_0x4b45fd,this[_0x5c7aef(0x11e)]=_0x40e3b0;}[_0xaa7fc(0x3de)](_0xad85b4){var _0x229023=_0xaa7fc,_0x1b74ee,_0x27f07,_0x2b1d56,_0x4468a1;const _0x2c5765=this[_0x229023(0x2e2)][_0x229023(0xe9)](Z[_0x229023(0x271)]),{unitId:_0x356e9e,subUnitId:_0x50b671}=pi(_0xad85b4),_0x16163e=_0x2c5765==null?void 0x0:_0x2c5765[_0x229023(0x1c1)](_0x356e9e)[_0x229023(0x1b5)](),_0x556f97=(_0x27f07=(_0x1b74ee=this[_0x229023(0x11e)][_0x229023(0x38c)](_0x356e9e))==null?void 0x0:_0x1b74ee[_0x229023(0x10b)]())==null?void 0x0:_0x27f07[_0x229023(0x1c6)]();if(_0x16163e['length']===0x0||!_0x356e9e||!_0x50b671)return;const _0x566253=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x356e9e,'subUnitId':_0x556f97,'selections':a['Tools'][_0x229023(0x147)](_0x16163e)}}],_0x55160a=this['_transformService'][_0x229023(0x2ff)](_0xad85b4,_0x566253);if(!g[_0x229023(0x388)](_0x55160a))throw _0x55160a[_0x229023(0x256)];const _0x1385b5=(_0x4468a1=(_0x2b1d56=_0x55160a[_0x229023(0x412)][0x0])==null?void 0x0:_0x2b1d56['params'])==null?void 0x0:_0x4468a1[_0x229023(0x1ca)];if(Array[_0x229023(0x233)](_0x1385b5)&&_0x1385b5[_0x229023(0x3b0)]){if(_0x1385b5[_0x229023(0x3b0)]===_0x566253[0x0][_0x229023(0x2db)]['selections'][_0x229023(0x3b0)]&&_0x1385b5[_0x229023(0x253)]((_0x48a3cc,_0x2bc2b4)=>a[_0x229023(0x30d)][_0x229023(0x15d)](_0x48a3cc[_0x229023(0x389)],_0x566253[0x0][_0x229023(0x2db)][_0x229023(0x1ca)][_0x2bc2b4][_0x229023(0x389)])))return;this[_0x229023(0x2e2)][_0x229023(0xe9)](a[_0x229023(0x1bc)])[_0x229023(0x13d)](Z[_0x229023(0x105)]['id'],{'unitId':_0x356e9e,'subUnitId':_0x556f97,'selections':_0x1385b5});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),Ae(0x1,g[_0xaa7fc(0x225)]),Ae(0x2,a[_0xaa7fc(0x37d)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0xaa7fc(0x1cc));var Fe=(_0x275ecd=>(_0x275ecd[_0x275ecd[_0xaa7fc(0x2b8)]=0x0]=_0xaa7fc(0x2b8),_0x275ecd[_0x275ecd['OTHER_CLIENTS_EDITING']=0x1]=_0xaa7fc(0x42f),_0x275ecd))(Fe||{});const gi=new Set([Z[_0xaa7fc(0x11f)]['id']]);function ze(_0x43df69,_0x10d3d9,_0x5d5686,_0x4d1921,_0x40d864){var _0x21b1f2=_0xaa7fc,_0x461780,_0x1ce538,_0x8a8b00,_0x458395;const _0x23fda6=[];for(const _0x52f281 of _0x43df69)if(gi['has'](_0x52f281['id'])){if(_0x23fda6[_0x21b1f2(0x3b0)]>0x0)break;_0x23fda6['push'](_0x52f281);break;}else _0x23fda6['push'](_0x52f281);const _0x2c903b=(_0x1ce538=(_0x461780=_0x40d864[_0x21b1f2(0x39d)]())==null?void 0x0:_0x461780[_0x21b1f2(0x260)])!=null?_0x1ce538:_0x21b1f2(0x18c),_0x536088=(_0x458395=(_0x8a8b00=_0x40d864[_0x21b1f2(0x39d)]())==null?void 0x0:_0x8a8b00[_0x21b1f2(0x437)])!=null?_0x458395:'unknown';return{'changeset':{'unitID':_0x10d3d9,'type':g['mapDocumentTypeToUniverType'](_0x5d5686['getUnitType'](_0x10d3d9)),'baseRev':_0x4d1921[_0x21b1f2(0x11c)](_0x10d3d9),'revision':0x0,'userID':_0x2c903b,'memberID':_0x536088,'mutations':_0x23fda6},'pendingMutations':_0x43df69[_0x21b1f2(0x161)](_0x23fda6[_0x21b1f2(0x3b0)])};}function mi(_0x555ca3,_0x56a5ef,_0x157e81,_0x234f94,_0x13614a){var _0x43b024=_0xaa7fc,_0x4d3395,_0x3a27ab,_0x2a1eff,_0x1e3dd1;const _0x13013c=[_0x555ca3[_0x43b024(0x10d)]((_0x1c0e9b,_0x59eba5)=>{var _0x238410=_0x43b024,_0xa091ab;const {id:_0x5d69bf}=_0x1c0e9b,{id:_0x519d88,type:_0x31b665}=_0x59eba5,_0x10ec99=(_0xa091ab=_0x1c0e9b[_0x238410(0x2db)])!=null?_0xa091ab:{'actions':null},_0x2a16e7=_0x59eba5[_0x238410(0x2db)];if(_0x5d69bf&&_0x5d69bf!==_0x519d88)throw new Error(_0x238410(0x426)+_0x5d69bf+_0x238410(0x36f)+_0x519d88+'.');return{..._0x1c0e9b,'id':_0x519d88,'type':_0x31b665,'params':{'unitId':_0x2a16e7[_0x238410(0x2fe)],'textRanges':_0x2a16e7[_0x238410(0x1dd)],'actions':a['JSONX'][_0x238410(0x17f)](_0x10ec99['actions'],_0x2a16e7[_0x238410(0x309)])}};},{})],_0x2159fe=(_0x3a27ab=(_0x4d3395=_0x13614a[_0x43b024(0x39d)]())==null?void 0x0:_0x4d3395[_0x43b024(0x260)])!=null?_0x3a27ab:'unknown',_0x4c3230=(_0x1e3dd1=(_0x2a1eff=_0x13614a[_0x43b024(0x39d)]())==null?void 0x0:_0x2a1eff[_0x43b024(0x437)])!=null?_0x1e3dd1:_0x43b024(0x18c);return{'changeset':{'unitID':_0x56a5ef,'type':g[_0x43b024(0x3ba)](_0x157e81['getUnitType'](_0x56a5ef)),'baseRev':_0x234f94['getCurrentRevOfUnit'](_0x56a5ef),'revision':0x0,'userID':_0x2159fe,'memberID':_0x4c3230,'mutations':_0x13013c},'pendingMutations':[]};}function Ot(_0x13b92b,_0x2e5695){var _0x470eac=_0xaa7fc;const _0x35c924=new j[(_0x470eac(0x3f4))](0x1);return setTimeout(()=>_0x35c924['next'](_0x2e5695),_0x13b92b),_0x35c924[_0x470eac(0xc7)]()[_0x470eac(0x2a5)](j[_0x470eac(0x31a)](0x1));}const Ii={'id':Z[_0xaa7fc(0x35a)]['id'],'type':a['CommandType'][_0xaa7fc(0x17e)],'params':{}};var Ei=Object[_0xaa7fc(0x198)],ce=(_0xc166bb,_0x447022,_0x582043,_0x3bfc23)=>{var _0x512271=_0xaa7fc;for(var _0x1ecb31=_0x3bfc23>0x1?void 0x0:_0x3bfc23?Ei(_0x447022,_0x582043):_0x447022,_0xe4d275=_0xc166bb[_0x512271(0x3b0)]-0x1,_0x5da791;_0xe4d275>=0x0;_0xe4d275--)(_0x5da791=_0xc166bb[_0xe4d275])&&(_0x1ecb31=_0x5da791(_0x1ecb31)||_0x1ecb31);return _0x1ecb31;},w=(_0x548c5f,_0x200e0f)=>(_0x41557f,_0x246bb5)=>_0x200e0f(_0x41557f,_0x246bb5,_0x548c5f),Ve=(_0x35e686=>(_0x35e686[_0xaa7fc(0x1e6)]=_0xaa7fc(0x3fe),_0x35e686[_0xaa7fc(0x40e)]=_0xaa7fc(0x385),_0x35e686[_0xaa7fc(0x43b)]=_0xaa7fc(0x3cd),_0x35e686['AWAITING']='awaiting',_0x35e686['AWAITING_WITH_PENDING']=_0xaa7fc(0x29f),_0x35e686[_0xaa7fc(0x179)]=_0xaa7fc(0xb9),_0x35e686[_0xaa7fc(0x218)]=_0xaa7fc(0xc3),_0x35e686[_0xaa7fc(0x129)]=_0xaa7fc(0x142),_0x35e686))(Ve||{});const Nt=0xea60;class he{constructor(_0x50d888,_0x157ffd,_0x343e80,_0x268afc,_0x1a44ec,_0x197e91,_0x5005bd,_0x24b759,_0x62e20c){var _0x5c1fe2=_0xaa7fc;A(this,_0x5c1fe2(0x2c6),null),A(this,_0x5c1fe2(0xfb),[]),(this[_0x5c1fe2(0x1e1)]=_0x50d888,this['type']=_0x157ffd,this[_0x5c1fe2(0x200)]=_0x1a44ec,this[_0x5c1fe2(0x2b9)]=_0x197e91,this[_0x5c1fe2(0x418)]=_0x5005bd,this[_0x5c1fe2(0x3be)]=_0x24b759,this[_0x5c1fe2(0x25e)]=_0x62e20c,this[_0x5c1fe2(0x2c6)]=_0x343e80,this[_0x5c1fe2(0xfb)]=_0x268afc);}['_checkMissing'](_0x419b0d){var _0x14f49e=_0xaa7fc;const _0xd867da=this[_0x14f49e(0x3be)][_0x14f49e(0x11c)](this['unitID']);return _0x419b0d[_0x14f49e(0x18a)]>_0xd867da+0x1?(this[_0x14f49e(0x200)][_0x14f49e(0x427)]({'from':_0xd867da,'to':_0x419b0d[_0x14f49e(0x18a)]-0x1}),!0x0):!0x1;}[_0xaa7fc(0x119)](_0x2fe713){var _0xc17f77=_0xaa7fc;this[_0xc17f77(0x418)][_0xc17f77(0x40a)](this['unitID'],_0x2fe713);}[_0xaa7fc(0x2cf)](_0x5e2e40){var _0x21b7fd=_0xaa7fc,_0x42e4eb,_0x4497f9;(_0x4497f9=(_0x42e4eb=this['_handler'])[_0x21b7fd(0x2d9)])==null||_0x4497f9[_0x21b7fd(0x247)](_0x42e4eb,_0x5e2e40);}['_transformIMECache'](_0x57b305){var _0x2128a2=_0xaa7fc,_0x359c15,_0x20b6a1;return(_0x20b6a1=(_0x359c15=this[_0x2128a2(0x200)])[_0x2128a2(0x123)])==null?void 0x0:_0x20b6a1['call'](_0x359c15,_0x57b305);}[_0xaa7fc(0x1c2)](_0x163f9a){var _0x4e64d6=_0xaa7fc,_0x2f4c46,_0x2b16a5;return(_0x2b16a5=(_0x2f4c46=this[_0x4e64d6(0x200)])[_0x4e64d6(0xf5)])==null?void 0x0:_0x2b16a5[_0x4e64d6(0x247)](_0x2f4c46,_0x163f9a);}[_0xaa7fc(0x390)](_0x497d92){var _0x13f4bc=_0xaa7fc,_0xfc01ab,_0x259e31,_0x179b35;return(_0x179b35=(_0x259e31=(_0xfc01ab=this[_0x13f4bc(0x200)])[_0x13f4bc(0x42b)])==null?void 0x0:_0x259e31[_0x13f4bc(0x247)](_0xfc01ab,_0x497d92))!=null?_0x179b35:_0x497d92;}[_0xaa7fc(0x145)](_0x4536b4){var _0x423698=_0xaa7fc,_0x566ded,_0x56f827,_0x229cc1;return(_0x229cc1=(_0x56f827=(_0x566ded=this[_0x423698(0x200)])[_0x423698(0x264)])==null?void 0x0:_0x56f827[_0x423698(0x247)](_0x566ded,_0x4536b4))!=null?_0x229cc1:_0x4536b4;}[_0xaa7fc(0x2f4)](_0x486872){var _0x1245db=_0xaa7fc,_0x294ee3,_0x30e622;if(this[_0x1245db(0x244)]===X[_0x1245db(0x32c)]){const {unitID:_0x13d815,mutations:_0x21a7f3,memberID:_0x5a8a02}=_0x486872,_0x4e1e23=_0x21a7f3[0x0][_0x1245db(0x2db)][_0x1245db(0x1dd)];Array[_0x1245db(0x233)](_0x4e1e23)&&_0x4e1e23[_0x1245db(0x3b0)]>0x0&&((_0x30e622=(_0x294ee3=this[_0x1245db(0x200)])[_0x1245db(0x3bc)])==null||_0x30e622[_0x1245db(0x247)](_0x294ee3,{'unitID':_0x13d815,'memberID':_0x5a8a02,'textRanges':_0x4e1e23}));}}[_0xaa7fc(0x146)](){var _0x57805a=_0xaa7fc,_0x133102;(_0x133102=this[_0x57805a(0x25e)])==null||_0x133102[_0x57805a(0x3a7)](this['unitID'],this[_0x57805a(0x244)],this[_0x57805a(0x2c6)],this[_0x57805a(0xfb)]);}[_0xaa7fc(0x1a4)](){var _0x219a25=_0xaa7fc;return this[_0x219a25(0x3be)]['getCurrentRevOfUnit'](this[_0x219a25(0x1e1)]);}['_incrementRevisionNumber'](){var _0x17431f=_0xaa7fc;this[_0x17431f(0x3be)][_0x17431f(0x39b)](this[_0x17431f(0x1e1)]);}[_0xaa7fc(0x365)](_0x3ca429){var _0x2ce44a=_0xaa7fc,_0x190eeb;let _0x3f55f4=this['_transformRemoteChangesetByIMECache'](_0x3ca429);_0x3f55f4=this[_0x2ce44a(0x145)](_0x3f55f4);const _0x19d46d=a['sequenceExecute'](_0x3f55f4[_0x2ce44a(0x261)],this[_0x2ce44a(0x2b9)],{'fromCollab':!0x0});if(!_0x19d46d[_0x2ce44a(0x3ae)])throw _0x19d46d[_0x2ce44a(0x256)]instanceof Error?_0x19d46d[_0x2ce44a(0x256)]:new Error((_0x190eeb=_0x19d46d[_0x2ce44a(0x256)])!=null?_0x190eeb:'[CollaborationState]:\x20apply\x20error!');this[_0x2ce44a(0x1ad)](_0x3f55f4),this['_transformStateCache'](_0x3f55f4),this[_0x2ce44a(0x119)](_0x3ca429),this[_0x2ce44a(0x2cf)](_0x3f55f4),this[_0x2ce44a(0x2f4)](_0x3f55f4),this[_0x2ce44a(0x213)]();}}exports[_0xaa7fc(0x148)]=class extends he{constructor(_0x15e2ab,_0x5bd25d,_0x30fcc4,_0x21cb06,_0xa6b629,_0x5e2280,_0x3aa4b1,_0x5f12f5,_0x27c9ce,_0x383c20){var _0x135c06=_0xaa7fc;super(_0x15e2ab,_0x5bd25d,null,[],_0x30fcc4,_0x3aa4b1,_0x5e2280,_0x21cb06,_0x383c20),A(this,'status','synced'),(this[_0x135c06(0x2e2)]=_0xa6b629,this['_logService']=_0x5f12f5,this[_0x135c06(0x3d8)]=_0x27c9ce,this['localCacheService']=_0x383c20);}[_0xaa7fc(0x326)](_0x942135){var _0x1827c6=_0xaa7fc;const _0x4d2319=this[_0x1827c6(0x2e2)]['createInstance'](exports[_0x1827c6(0x243)],this['unitID'],this[_0x1827c6(0x244)],[_0x942135],this['_handler']);return _0x4d2319[_0x1827c6(0x1d1)](),_0x4d2319[_0x1827c6(0x146)](),_0x4d2319;}['onRemoteChangeset'](_0x4d9699){var _0x1fe996=_0xaa7fc;if(this[_0x1fe996(0xeb)](_0x4d9699))return this[_0x1fe996(0x2e2)][_0x1fe996(0x421)](exports[_0x1fe996(0x34d)],this[_0x1fe996(0x1e1)],this['type'],null,[],null,[_0x4d9699],this[_0x1fe996(0x200)]);try{const _0x2b15e7=this[_0x1fe996(0x3d8)][_0x1fe996(0x2ff)](_0x4d9699,[Ii]);if(g[_0x1fe996(0x388)](_0x2b15e7)){const {c1Prime:_0x5776a1}=_0x2b15e7;return this['_executeRemoteChangeset'](_0x5776a1),this;}throw _0x2b15e7[_0x1fe996(0x256)];}catch(_0xec071){return this[_0x1fe996(0x26f)][_0x1fe996(0x256)](_0xec071),this['_onConflict'](!0x1);}}[_0xaa7fc(0x18d)](_0x2dfe98){var _0x58ab3e=_0xaa7fc;return this[_0x58ab3e(0x2e2)]['createInstance'](exports[_0x58ab3e(0x2ef)],this[_0x58ab3e(0x1e1)],this[_0x58ab3e(0x244)],null,[],this['_handler'],_0x2dfe98);}[_0xaa7fc(0x377)](){var _0x55da47=_0xaa7fc;throw new Error(_0x55da47(0x308));}[_0xaa7fc(0x122)](){var _0x1531e8=_0xaa7fc;throw new Error(_0x1531e8(0x3dd));}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){var _0x7e7392=_0xaa7fc;return this[_0x7e7392(0x2e2)][_0x7e7392(0x421)](exports['OfflineState'],this[_0x7e7392(0x1e1)],this['type'],null,[],this['_handler']);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x584da0=_0xaa7fc;throw new Error(_0x584da0(0x3bf));}[_0xaa7fc(0x24c)](){var _0x5b836a=_0xaa7fc;const _0xa38fe1=this[_0x5b836a(0x3be)][_0x5b836a(0x11c)](this[_0x5b836a(0x1e1)]);return this[_0x5b836a(0x200)][_0x5b836a(0x427)]({'from':_0xa38fe1,'to':0x0}),this[_0x5b836a(0x2e2)][_0x5b836a(0x421)](exports[_0x5b836a(0x34d)],this['unitID'],this[_0x5b836a(0x244)],null,[],null,[],this['_handler']);}},exports[_0xaa7fc(0x148)]=ce([w(0x3,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0xaa7fc(0x1bc)]),w(0x7,a[_0xaa7fc(0x434)]),w(0x8,g[_0xaa7fc(0x225)]),w(0x9,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x148)]),exports[_0xaa7fc(0x243)]=class extends he{constructor(_0x550f2d,_0x2b80f8,_0x2ef5b7,_0x3dfcc7,_0x43d580,_0x50a32c,_0x112226,_0xe7e71e,_0x4bcf22,_0x1f67ef,_0x20cefa,_0x5ae788,_0x30677d,_0x3dfce9){var _0x5df3a0=_0xaa7fc;super(_0x550f2d,_0x2b80f8,null,_0x2ef5b7,_0x3dfcc7,_0x4bcf22,_0x30677d,_0x50a32c,_0x3dfce9),A(this,_0x5df3a0(0x379),'pending'),A(this,_0x5df3a0(0x3c0),null),A(this,'_sendingTimer',null),(this['_injector']=_0x43d580,this[_0x5df3a0(0x435)]=_0x112226,this[_0x5df3a0(0x26f)]=_0xe7e71e,this['_configService']=_0x1f67ef,this[_0x5df3a0(0x3d8)]=_0x20cefa,this[_0x5df3a0(0xbf)]=_0x5ae788);}[_0xaa7fc(0x326)](_0x5868c3){var _0x50a6fc=_0xaa7fc;return this[_0x50a6fc(0xfb)][_0x50a6fc(0x3d0)](_0x5868c3),this[_0x50a6fc(0x146)](),this;}[_0xaa7fc(0x320)](_0x4d1417){var _0x3f913d=_0xaa7fc;if(this[_0x3f913d(0xeb)](_0x4d1417))return this[_0x3f913d(0x3fc)](),this['_injector']['createInstance'](exports[_0x3f913d(0x34d)],this[_0x3f913d(0x1e1)],this[_0x3f913d(0x244)],null,this[_0x3f913d(0xfb)],null,[_0x4d1417],this['_handler']);try{const _0x5b858e=this[_0x3f913d(0x3d8)][_0x3f913d(0x2ff)](_0x4d1417,this[_0x3f913d(0xfb)]);if(g[_0x3f913d(0x388)](_0x5b858e)){const {c1Prime:_0xcfc634,m2Prime:_0x24debb}=_0x5b858e;this[_0x3f913d(0x365)](_0xcfc634);const _0x1797e7=this['_injector'][_0x3f913d(0x421)](exports[_0x3f913d(0x243)],this[_0x3f913d(0x1e1)],this['type'],_0x24debb,this[_0x3f913d(0x200)]);this[_0x3f913d(0x3fc)]();const _0x4b9954=new Date()['getTime'](),_0x3101ca=this[_0x3f913d(0x3c0)]?Math[_0x3f913d(0x293)](this[_0x3f913d(0x3c0)]-_0x4b9954,0x0):this[_0x3f913d(0x29c)]();return _0x1797e7[_0x3f913d(0x1d1)](_0x3101ca),_0x1797e7;}throw _0x5b858e['error'];}catch(_0x87a5a2){return this[_0x3f913d(0x26f)]['error'](_0x87a5a2),this[_0x3f913d(0x18d)](!0x1);}}[_0xaa7fc(0x377)](){var _0x475a92=_0xaa7fc;throw new Error(_0x475a92(0x386));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){var _0x57ab43=_0xaa7fc;return this['_clearScheduledTask'](),this['_injector'][_0x57ab43(0x421)](exports[_0x57ab43(0x301)],this[_0x57ab43(0x1e1)],this[_0x57ab43(0x244)],null,this['_pendingMutations'],this['_handler']);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x1d1)](_0x1283c1){var _0x3c4eeb=_0xaa7fc;const _0x4746bf=_0x1283c1!=null?_0x1283c1:this[_0x3c4eeb(0x29c)]();this[_0x3c4eeb(0x3c0)]=new Date()['getTime']()+_0x4746bf,this['_sendingTimer']=setTimeout(()=>{var _0x289033=_0x3c4eeb;this['_clearScheduledTask']();let _0x4deef5=null;switch(this['type']){case X['UNIVER_SHEET']:{_0x4deef5=ze(this[_0x289033(0xfb)],this[_0x289033(0x1e1)],this[_0x289033(0xbf)],this[_0x289033(0x3be)],this[_0x289033(0x435)]);break;}case X[_0x289033(0x32c)]:{this['_pendingMutations'][_0x289033(0x253)](_0x530780=>_0x530780['id']===ut[_0x289033(0x1ce)]['id'])?_0x4deef5=mi(this[_0x289033(0xfb)],this['unitID'],this[_0x289033(0xbf)],this[_0x289033(0x3be)],this[_0x289033(0x435)]):_0x4deef5=ze(this[_0x289033(0xfb)],this[_0x289033(0x1e1)],this['_univerInstanceService'],this[_0x289033(0x3be)],this[_0x289033(0x435)]);break;}default:throw new Error(_0x289033(0x2fd)+this['type']+_0x289033(0x3e5));}const {changeset:_0x450fbc,pendingMutations:_0x5b0133}=_0x4deef5;this[_0x289033(0x200)][_0x289033(0x419)](_0x450fbc);const _0x5b5686=_0x5b0133[_0x289033(0x3b0)]?this[_0x289033(0x2e2)][_0x289033(0x421)](exports[_0x289033(0x345)],this['unitID'],this[_0x289033(0x244)],_0x450fbc,_0x5b0133,this[_0x289033(0x200)],void 0x0):this[_0x289033(0x2e2)][_0x289033(0x421)](exports[_0x289033(0x303)],this[_0x289033(0x1e1)],this[_0x289033(0x244)],_0x450fbc,this[_0x289033(0x200)]);_0x5b5686[_0x289033(0x146)](),this[_0x289033(0x200)][_0x289033(0x2ad)](this,_0x5b5686);},_0x4746bf);}[_0xaa7fc(0x29c)](){var _0xe30ddc=_0xaa7fc,_0x4643b2;const _0x1039da=this['_configService'][_0xe30ddc(0xb5)](Y);return(_0x4643b2=_0x1039da==null?void 0x0:_0x1039da[_0xe30ddc(0xc9)])!=null?_0x4643b2:jt;}['resend'](){var _0x2e257c=_0xaa7fc;throw new Error(_0x2e257c(0x28b));}[_0xaa7fc(0x3fc)](){var _0x1f99be=_0xaa7fc;this[_0x1f99be(0x116)]!=null&&(clearTimeout(this[_0x1f99be(0x116)]),this[_0x1f99be(0x116)]=null);}[_0xaa7fc(0x18d)](_0x2c88de){var _0x331c31=_0xaa7fc;return this[_0x331c31(0x3fc)](),this[_0x331c31(0x2e2)][_0x331c31(0x421)](exports[_0x331c31(0x2ef)],this[_0x331c31(0x1e1)],this['type'],null,this['_pendingMutations'],this[_0x331c31(0x200)],_0x2c88de);}},exports['PendingState']=ce([w(0x4,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x5,a[_0xaa7fc(0x1a1)](g['RevisionService'])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a[_0xaa7fc(0x1bc)]),w(0x9,a['IConfigService']),w(0xa,g[_0xaa7fc(0x225)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0xaa7fc(0x222)]),w(0xd,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x243)]),exports[_0xaa7fc(0x303)]=class extends he{constructor(_0x4bc39e,_0x1c52ef,_0x12c243,_0x371f7c,_0x59cac1,_0x3a3761,_0x4f12bb,_0x36a5ce,_0x4c61ca,_0x4e0b39,_0x7b082e){var _0x39dfbf=_0xaa7fc;super(_0x4bc39e,_0x1c52ef,_0x12c243,[],_0x371f7c,_0x4f12bb,_0x4e0b39,_0x3a3761,_0x7b082e),A(this,_0x39dfbf(0x379),_0x39dfbf(0x3b4)),A(this,_0x39dfbf(0x159),0x0),A(this,_0x39dfbf(0x1f6)),A(this,_0x39dfbf(0x1d3)),(this[_0x39dfbf(0x2e2)]=_0x59cac1,this[_0x39dfbf(0x26f)]=_0x36a5ce,this[_0x39dfbf(0x3d8)]=_0x4c61ca);}[_0xaa7fc(0x326)](_0x1fccb1){var _0x41f60c=_0xaa7fc;this[_0x41f60c(0x3fc)]();const _0x3a556e=this[_0x41f60c(0x2e2)][_0x41f60c(0x421)](exports[_0x41f60c(0x345)],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1fccb1],this[_0x41f60c(0x200)],this[_0x41f60c(0x1f6)]);return _0x3a556e['_updateLocalCache'](),_0x3a556e;}[_0xaa7fc(0x320)](_0x4af0e){var _0xb5c2c=_0xaa7fc;if(this[_0xb5c2c(0xeb)](_0x4af0e))return this[_0xb5c2c(0x3fc)](),this[_0xb5c2c(0x2e2)][_0xb5c2c(0x421)](exports[_0xb5c2c(0x34d)],this[_0xb5c2c(0x1e1)],this['type'],this['_awaitingChangeset'],[],null,[_0x4af0e],this[_0xb5c2c(0x200)]);try{const _0x135478=this[_0xb5c2c(0x3d8)][_0xb5c2c(0x2be)]([_0x4af0e],[this[_0xb5c2c(0x2c6)]],!0x1);if(g[_0xb5c2c(0x297)](_0x135478)){const {c1Prime:_0x52c12e,c2Prime:_0x1d6c76}=_0x135478;this['_executeRemoteChangeset'](_0x52c12e[0x0]),_0x1d6c76[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xb5c2c(0x3fc)]();const _0x2541ef=this[_0xb5c2c(0x2e2)][_0xb5c2c(0x421)](exports[_0xb5c2c(0x303)],this[_0xb5c2c(0x1e1)],this['type'],_0x1d6c76[0x0],this['_handler']);return _0x2541ef[_0xb5c2c(0x146)](),_0x2541ef;}return this[_0xb5c2c(0x18d)](!0x1);}catch(_0x247943){return this[_0xb5c2c(0x26f)][_0xb5c2c(0x256)](_0x247943),this[_0xb5c2c(0x18d)](!0x1);}}[_0xaa7fc(0x377)](_0x4d5f26){var _0x164e99=_0xaa7fc;this[_0x164e99(0x3fc)]();const _0x3693cb=this[_0x164e99(0x3be)][_0x164e99(0x11c)](this['unitID']);if(_0x4d5f26[_0x164e99(0x18a)]<_0x3693cb-0x1)return this;if(this[_0x164e99(0xeb)](_0x4d5f26))return this['_injector'][_0x164e99(0x421)](exports['FetchingMissState'],this['unitID'],this[_0x164e99(0x244)],null,[],this[_0x164e99(0x2c6)],[],this[_0x164e99(0x200)]);this[_0x164e99(0x213)]();const _0x5d33c7=this[_0x164e99(0x2e2)]['createInstance'](exports['SyncedState'],this[_0x164e99(0x1e1)],this[_0x164e99(0x244)],this[_0x164e99(0x200)]);return _0x5d33c7[_0x164e99(0x146)](),_0x5d33c7;}['onRemoteRej'](_0x48d34e){var _0x3f4335=_0xaa7fc;return this[_0x3f4335(0x18d)](!!(_0x48d34e!=null&&_0x48d34e['isPermissionRej']));}[_0xaa7fc(0x339)](_0x35623b){var _0x3d67fa=_0xaa7fc;return this[_0x3d67fa(0x159)]>Nt?this[_0x3d67fa(0xe1)]():(this[_0x3d67fa(0x1f6)]=Ot(this['_resendTimeout'],{'timeout':this[_0x3d67fa(0x159)],'reqId':_0x35623b['reqId']}),this['_sender']=this[_0x3d67fa(0x1f6)][_0x3d67fa(0xe5)](({reqId:_0x45182f,timeout:_0x4fb37c})=>{this['_resendWithTimeout'](_0x45182f,_0x4fb37c);}),this);}[_0xaa7fc(0xe1)](){var _0x4733e9=_0xaa7fc;return this[_0x4733e9(0x3fc)](),this[_0x4733e9(0x2e2)]['createInstance'](exports[_0x4733e9(0x301)],this[_0x4733e9(0x1e1)],this[_0x4733e9(0x244)],this[_0x4733e9(0x2c6)],[],this[_0x4733e9(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x10e2d4=_0xaa7fc;this[_0x10e2d4(0x200)][_0x10e2d4(0x419)](this[_0x10e2d4(0x2c6)]);}['_onConflict'](_0x2d815c){var _0x2172bb=_0xaa7fc;return this[_0x2172bb(0x3fc)](),this[_0x2172bb(0x2e2)][_0x2172bb(0x421)](exports['ConflictState'],this[_0x2172bb(0x1e1)],this[_0x2172bb(0x244)],this[_0x2172bb(0x2c6)],[],this[_0x2172bb(0x200)],_0x2d815c);}[_0xaa7fc(0x387)](_0xd2535c,_0xd5d3b5){var _0x34ddeb=_0xaa7fc,_0x56178e;_0xd2535c===((_0x56178e=this[_0x34ddeb(0x2c6)])==null?void 0x0:_0x56178e[_0x34ddeb(0x171)])&&(this[_0x34ddeb(0x35d)](),this['_resendTimeout']=_0xd5d3b5===0x0?0x3e8:_0xd5d3b5*0x2);}[_0xaa7fc(0x3fc)](){var _0x3c1285=_0xaa7fc,_0x50551d;(_0x50551d=this['_sender'])==null||_0x50551d[_0x3c1285(0x3ab)](),this['_resendTimeout']=0x0;}},exports[_0xaa7fc(0x303)]=ce([w(0x4,a['Inject'](a[_0xaa7fc(0x27b)])),w(0x5,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x6,a[_0xaa7fc(0x1bc)]),w(0x7,a[_0xaa7fc(0x434)]),w(0x8,g[_0xaa7fc(0x225)]),w(0x9,a[_0xaa7fc(0x222)]),w(0xa,a[_0xaa7fc(0x120)](z))],exports['AwaitingState']),exports[_0xaa7fc(0x345)]=class extends he{constructor(_0xddf2ca,_0x2baeb0,_0x32fde7,_0xd0d9f4,_0x103c35,_0x36c2f1,_0x1da7e5,_0x3216ef,_0x5017e0,_0x34de8c,_0x245854,_0x91957a,_0x1f0565){var _0x5c5af0=_0xaa7fc;super(_0xddf2ca,_0x2baeb0,_0x32fde7,_0xd0d9f4,_0x103c35,_0x5017e0,_0x91957a,_0x3216ef,_0x1f0565),A(this,'status',_0x5c5af0(0x29f)),A(this,_0x5c5af0(0x159),0x0),A(this,_0x5c5af0(0x1f6)),A(this,_0x5c5af0(0x1d3)),(this[_0x5c5af0(0x2e2)]=_0x1da7e5,this[_0x5c5af0(0x26f)]=_0x34de8c,this[_0x5c5af0(0x3d8)]=_0x245854,this['localCacheService']=_0x1f0565,_0x36c2f1&&(this[_0x5c5af0(0x1f6)]=_0x36c2f1,this[_0x5c5af0(0x1d3)]=this[_0x5c5af0(0x1f6)][_0x5c5af0(0xe5)](({reqId:_0xf80bd7,timeout:_0x48ffce})=>{var _0x242b04=_0x5c5af0;this[_0x242b04(0x387)](_0xf80bd7,_0x48ffce);})));}[_0xaa7fc(0x326)](_0x10160a){var _0x4e44b2=_0xaa7fc;return this[_0x4e44b2(0xfb)][_0x4e44b2(0x3d0)](_0x10160a),this;}['onRemoteChangeset'](_0x30b7c5){var _0x13052f=_0xaa7fc;if(this['_checkMissing'](_0x30b7c5))return this['_clearScheduledTask'](),this[_0x13052f(0x2e2)][_0x13052f(0x421)](exports[_0x13052f(0x34d)],this[_0x13052f(0x1e1)],this['type'],this[_0x13052f(0x2c6)],this[_0x13052f(0xfb)],null,[_0x30b7c5],this['_handler']);try{const _0x43df7a=this[_0x13052f(0x3d8)][_0x13052f(0x2be)]([_0x30b7c5],[this[_0x13052f(0x2c6)]],!0x1);if(g[_0x13052f(0x297)](_0x43df7a)){const {c1Prime:_0x377580,c2Prime:_0x2336b1}=_0x43df7a,_0x1fee58=this[_0x13052f(0x3d8)]['transformMutationsWithChangeset'](_0x377580[0x0],this[_0x13052f(0xfb)]);if(g[_0x13052f(0x388)](_0x1fee58)){const {c1Prime:_0x20f6c9,m2Prime:_0x192300}=_0x1fee58;return this['_executeRemoteChangeset'](_0x20f6c9),_0x2336b1[0x0][_0x13052f(0x329)]=this[_0x13052f(0x1a4)](),this['_clearScheduledTask'](),this[_0x13052f(0x2e2)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x13052f(0x1e1)],this[_0x13052f(0x244)],_0x2336b1[0x0],_0x192300,this[_0x13052f(0x200)],void 0x0);}throw _0x1fee58[_0x13052f(0x256)];}throw _0x43df7a['error'];}catch(_0x2a7ab0){return this[_0x13052f(0x26f)]['error'](_0x2a7ab0),this[_0x13052f(0x18d)](!0x1);}}['onRemoteAck'](_0x3a304c){var _0x417d1f=_0xaa7fc;if(this[_0x417d1f(0x3fc)](),this['_checkMissing'](_0x3a304c))return this['_injector']['createInstance'](exports[_0x417d1f(0x34d)],this['unitID'],this[_0x417d1f(0x244)],null,this[_0x417d1f(0xfb)],this[_0x417d1f(0x2c6)],[],this[_0x417d1f(0x200)]);this[_0x417d1f(0x213)]();const _0x26d09a=this['_injector'][_0x417d1f(0x421)](exports[_0x417d1f(0x243)],this[_0x417d1f(0x1e1)],this['type'],this['_pendingMutations'],this[_0x417d1f(0x200)]);return _0x26d09a[_0x417d1f(0x1d1)](),_0x26d09a[_0x417d1f(0x146)](),_0x26d09a;}['onRemoteRej'](_0x5195c9){var _0x2a23fb=_0xaa7fc;return this['_onConflict'](!!(_0x5195c9!=null&&_0x5195c9[_0x2a23fb(0x41b)]));}[_0xaa7fc(0x339)](_0x43120c){var _0x1ab70b=_0xaa7fc;return this[_0x1ab70b(0x159)]>Nt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x1ab70b(0x159)],{'timeout':this[_0x1ab70b(0x159)],'reqId':_0x43120c['reqId']}),this[_0x1ab70b(0x1d3)]=this[_0x1ab70b(0x1f6)]['subscribe'](({reqId:_0x4d1922,timeout:_0x1621ca})=>{this['_resendWithTimeout'](_0x4d1922,_0x1621ca);}),this);}[_0xaa7fc(0xe1)](){var _0x4de8de=_0xaa7fc;return this[_0x4de8de(0x3fc)](),this[_0x4de8de(0x2e2)][_0x4de8de(0x421)](exports[_0x4de8de(0x301)],this[_0x4de8de(0x1e1)],this[_0x4de8de(0x244)],this[_0x4de8de(0x2c6)],this[_0x4de8de(0xfb)],this[_0x4de8de(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}['resend'](){var _0x1c76c7=_0xaa7fc;this['_handler'][_0x1c76c7(0x419)](this[_0x1c76c7(0x2c6)]);}[_0xaa7fc(0x18d)](_0x34aa6c){var _0xbc4915=_0xaa7fc;return this[_0xbc4915(0x3fc)](),this[_0xbc4915(0x2e2)][_0xbc4915(0x421)](exports[_0xbc4915(0x2ef)],this[_0xbc4915(0x1e1)],this[_0xbc4915(0x244)],null,this[_0xbc4915(0xfb)],this[_0xbc4915(0x200)],_0x34aa6c);}[_0xaa7fc(0x387)](_0x11bc59,_0x185bc1){var _0x1193bc=_0xaa7fc,_0x2e39dd;_0x11bc59===((_0x2e39dd=this['_awaitingChangeset'])==null?void 0x0:_0x2e39dd['reqId'])&&(this[_0x1193bc(0x35d)](),this[_0x1193bc(0x159)]=_0x185bc1===0x0?0x3e8:_0x185bc1*0x2);}[_0xaa7fc(0x3fc)](){var _0x5e3332=_0xaa7fc,_0x127617;(_0x127617=this[_0x5e3332(0x1d3)])==null||_0x127617[_0x5e3332(0x3ab)](),this[_0x5e3332(0x159)]=0x0;}},exports[_0xaa7fc(0x345)]=ce([w(0x6,a[_0xaa7fc(0x1a1)](a['Injector'])),w(0x7,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x8,a[_0xaa7fc(0x1bc)]),w(0x9,a[_0xaa7fc(0x434)]),w(0xa,g['ITransformService']),w(0xb,a[_0xaa7fc(0x222)]),w(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x345)]),exports[_0xaa7fc(0x2ef)]=class extends he{constructor(_0x52fad9,_0xde9a9c,_0x240f6d,_0x226ddb,_0x342079,_0x77a3c5=!0x1,_0xbdd89,_0x1e3a07,_0x37d4b7,_0x585d27,_0x2f0c36,_0x516ab4,_0x497a06){var _0x1c1afc=_0xaa7fc;super(_0x52fad9,_0xde9a9c,_0x240f6d,_0x226ddb,_0x342079,_0x1e3a07,_0x37d4b7,_0x585d27,_0x497a06),A(this,_0x1c1afc(0x379),'conflict'),(this[_0x1c1afc(0x3a8)]=_0x77a3c5,this[_0x1c1afc(0x2e5)]=_0xbdd89,this[_0x1c1afc(0x23a)]=_0x2f0c36,this[_0x1c1afc(0x344)]=_0x516ab4,this[_0x1c1afc(0x382)]=_0x497a06,this[_0x1c1afc(0xe4)](),this['_clearLocalCache'](),this[_0x1c1afc(0x370)]());}[_0xaa7fc(0x326)](){return this;}[_0xaa7fc(0x320)](){return this;}[_0xaa7fc(0x377)](){return this;}[_0xaa7fc(0x122)](){return this;}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){return this;}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x35d)](){var _0x429bd0=_0xaa7fc;throw new Error(_0x429bd0(0x403));}[_0xaa7fc(0x33c)](){var _0x40be63=_0xaa7fc,_0x2b436b;(_0x2b436b=this[_0x40be63(0x25e)])==null||_0x2b436b[_0x40be63(0x3a7)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x42c89d=_0xaa7fc;this['_isPermissionRej']?this[_0x42c89d(0x344)][_0x42c89d(0x2ac)]({'id':Q[_0x42c89d(0xcc)]}):this['_collaborationUIEventService'][_0x42c89d(0x2ac)]({'id':Q[_0x42c89d(0x218)]});}[_0xaa7fc(0x370)](){var _0x5b2334=_0xaa7fc;this[_0x5b2334(0x2e5)][_0x5b2334(0x376)](new Z[(_0x5b2334(0x3f5))](this[_0x5b2334(0x1e1)])['id'],!0x1);}},exports[_0xaa7fc(0x2ef)]=ce([w(0x6,a[_0xaa7fc(0x1a1)](a['IPermissionService'])),w(0x7,a['ICommandService']),w(0x8,a[_0xaa7fc(0x222)]),w(0x9,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0xa,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),w(0xb,a[_0xaa7fc(0x1a1)](te)),w(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0xaa7fc(0x301)]=class extends he{constructor(_0x3e2543,_0xc17f7a,_0x37cebc,_0x3d474b,_0x2274c8,_0x3f2190,_0x134be3,_0xe8a64e,_0x55041f,_0x32fc8e){var _0x52477f=_0xaa7fc;super(_0x3e2543,_0xc17f7a,_0x37cebc,_0x3d474b,_0x2274c8,_0xe8a64e,_0x55041f,_0x134be3,_0x32fc8e),A(this,_0x52477f(0x379),'offline'),this[_0x52477f(0x2e2)]=_0x3f2190;}[_0xaa7fc(0x326)](_0x2b2df9){var _0x540bbf=_0xaa7fc;return this[_0x540bbf(0xfb)][_0x540bbf(0x3d0)](_0x2b2df9),this[_0x540bbf(0x146)](),this;}[_0xaa7fc(0x320)](_0x3c367e){var _0x3e506b=_0xaa7fc;throw new Error(_0x3e506b(0x32d));}[_0xaa7fc(0x377)](){var _0xc8ed62=_0xaa7fc;throw new Error(_0xc8ed62(0x23c));}['onRemoteRej'](){var _0xa740ab=_0xaa7fc;throw new Error(_0xa740ab(0x12c));}[_0xaa7fc(0x339)](){return this;}[_0xaa7fc(0xe1)](){return this;}['toggleOnline'](){var _0x471222=_0xaa7fc;const {_injector:_0x1aba03,_pendingMutations:_0x1c06f5,_awaitingChangeset:_0x3149bd,unitID:_0x6625fa,_handler:_0x48c212,type:_0x12ad26}=this,_0x6ed5c=Dt(_0x1aba03,_0x6625fa,_0x12ad26,_0x3149bd,_0x1c06f5,_0x48c212);return _0x6ed5c instanceof exports['PendingState']?_0x6ed5c['_schedule']():(_0x6ed5c instanceof exports[_0x471222(0x345)]||_0x6ed5c instanceof exports[_0x471222(0x303)])&&_0x6ed5c[_0x471222(0x35d)](),_0x6ed5c;}[_0xaa7fc(0x35d)](){var _0x39aae5=_0xaa7fc;throw new Error(_0x39aae5(0x27d));}},exports['OfflineState']=ce([w(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x6,a['Inject'](g[_0xaa7fc(0x258)])),w(0x7,a[_0xaa7fc(0x1bc)]),w(0x8,a[_0xaa7fc(0x222)]),w(0x9,a['Optional'](z))],exports[_0xaa7fc(0x301)]),exports[_0xaa7fc(0x34d)]=class extends he{constructor(_0xc88ee9,_0x5d71ac,_0x18b010,_0x471702,_0x3048ef,_0x256f3f,_0x39d279,_0x1aff73,_0x466e89,_0x2268ea,_0x3b8e2e,_0xdf4350,_0x457e36,_0xe2e6e6){var _0x2b6d92=_0xaa7fc;super(_0xc88ee9,_0x5d71ac,_0x18b010,_0x471702,_0x39d279,_0x3b8e2e,_0xdf4350,_0x466e89,_0xe2e6e6),A(this,_0x2b6d92(0x379),_0x2b6d92(0xb9)),(this[_0x2b6d92(0x275)]=_0x3048ef,this[_0x2b6d92(0x1be)]=_0x256f3f,this['_injector']=_0x1aff73,this['_logService']=_0x2268ea,this['_transformService']=_0x457e36,this[_0x2b6d92(0x382)]=_0xe2e6e6);}[_0xaa7fc(0xf8)](_0xa70fba){var _0x288375=_0xaa7fc;try{const _0x41ea55=[..._0xa70fba,...this[_0x288375(0x1be)]],_0x260263=[this[_0x288375(0x2c6)]||this[_0x288375(0x275)]][_0x288375(0xde)](_0x18c9b0=>!!_0x18c9b0);let _0x385884,_0x5db131;if(_0x260263[_0x288375(0x3b0)]){const _0x4cdff8=this[_0x288375(0x3d8)][_0x288375(0x2be)](_0x41ea55,_0x260263,!0x1);if(!g[_0x288375(0x297)](_0x4cdff8))throw _0x4cdff8['error'];_0x385884=_0x4cdff8[_0x288375(0x272)],_0x5db131=_0x4cdff8[_0x288375(0x3d1)];}else _0x385884=_0x41ea55,_0x5db131=[];let _0x26b191=this[_0x288375(0xfb)];_0x385884[_0x288375(0xfd)](_0xeab8f2=>{var _0x33ddcc=_0x288375;let _0x1a8127;if(_0x26b191[_0x33ddcc(0x3b0)]){const _0x254d9b=this[_0x33ddcc(0x3d8)][_0x33ddcc(0x2ff)](_0xeab8f2,_0x26b191);if(!g['isTransformMutationsWithChangesetSuccess'](_0x254d9b))throw _0x254d9b[_0x33ddcc(0x256)];_0x1a8127=_0x254d9b[_0x33ddcc(0x272)],_0x26b191=_0x254d9b[_0x33ddcc(0x412)];}else _0x1a8127=_0xeab8f2;this['_executeRemoteChangeset'](_0x1a8127);}),this[_0x288375(0x275)]&&this['_incrementRevisionNumber'](),this[_0x288375(0x2c6)]&&_0x5db131[_0x288375(0x3b0)]&&(_0x5db131[0x0]['baseRev']=this['_getCurrentRevision']());let _0x40ef89;if(this[_0x288375(0x2c6)]&&_0x26b191['length']!==0x0)_0x40ef89=this[_0x288375(0x2e2)]['createInstance'](exports[_0x288375(0x345)],this[_0x288375(0x1e1)],this[_0x288375(0x244)],_0x5db131[0x0],_0x26b191,this[_0x288375(0x200)],void 0x0);else{if(this[_0x288375(0x2c6)]&&_0x26b191[_0x288375(0x3b0)]===0x0)_0x5db131[0x0]['baseRev']=this['_getCurrentRevision'](),_0x40ef89=this[_0x288375(0x2e2)][_0x288375(0x421)](exports['AwaitingState'],this[_0x288375(0x1e1)],this[_0x288375(0x244)],_0x5db131[0x0],this[_0x288375(0x200)]);else{if(_0x26b191[_0x288375(0x3b0)]!==0x0){const _0x567851=this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x243)],this[_0x288375(0x1e1)],this['type'],_0x26b191,this[_0x288375(0x200)]);_0x567851[_0x288375(0x1d1)](),_0x40ef89=_0x567851;}else _0x40ef89=this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x148)],this[_0x288375(0x1e1)],this[_0x288375(0x244)],this[_0x288375(0x200)]);}}return _0x40ef89[_0x288375(0x146)](),_0x40ef89;}catch(_0x3fe21f){return this['_logService']['error'](_0x288375(0xff),_0x288375(0x16d),_0x3fe21f),this[_0x288375(0x2e2)][_0x288375(0x421)](exports[_0x288375(0x2ef)],this[_0x288375(0x1e1)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x288375(0x200)],!0x1);}}[_0xaa7fc(0x35d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xaa7fc(0x326)](_0xaa3536){var _0x293795=_0xaa7fc;return this[_0x293795(0xfb)][_0x293795(0x3d0)](_0xaa3536),this;}[_0xaa7fc(0x320)](_0x2d0442){var _0x1cfd8d=_0xaa7fc;return this[_0x1cfd8d(0x1be)][_0x1cfd8d(0x3d0)](_0x2d0442),this;}['onRemoteAck'](_0xff2710){var _0x3c3feb=_0xaa7fc;if(this['_awaitingChangeset'])return this[_0x3c3feb(0x275)]=this['_awaitingChangeset'],this[_0x3c3feb(0x2c6)]=null,this;throw new Error(_0x3c3feb(0x3a4));}[_0xaa7fc(0x122)](_0x51bf97){var _0x12f44d=_0xaa7fc;return this[_0x12f44d(0x18d)](!!(_0x51bf97!=null&&_0x51bf97[_0x12f44d(0x41b)]));}[_0xaa7fc(0x339)](){return this;}['toggleOffline'](){var _0x13be41=_0xaa7fc;return this[_0x13be41(0x2e2)][_0x13be41(0x421)](exports['OfflineState'],this[_0x13be41(0x1e1)],this[_0x13be41(0x244)],this[_0x13be41(0x2c6)],this[_0x13be41(0xfb)],this[_0x13be41(0x200)]);}[_0xaa7fc(0x1f4)](){return this;}[_0xaa7fc(0x18d)](_0x130b1e){var _0x40dc79=_0xaa7fc;return this[_0x40dc79(0x2e2)][_0x40dc79(0x421)](exports[_0x40dc79(0x2ef)],this['unitID'],this['type'],this[_0x40dc79(0x2c6)],this[_0x40dc79(0xfb)],this[_0x40dc79(0x200)],_0x130b1e);}},exports['FetchingMissState']=ce([w(0x7,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),w(0x8,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),w(0x9,a['ILogService']),w(0xa,a[_0xaa7fc(0x1bc)]),w(0xb,a[_0xaa7fc(0x222)]),w(0xc,g[_0xaa7fc(0x225)]),w(0xd,a['Optional'](z))],exports[_0xaa7fc(0x34d)]);function Dt(_0x44bffb,_0x8ca510,_0x42f24c,_0x4557fe,_0x56aa2e,_0x59fa1e){var _0x111b10=_0xaa7fc;return _0x4557fe&&_0x56aa2e['length']?_0x44bffb['createInstance'](exports[_0x111b10(0x345)],_0x8ca510,_0x42f24c,_0x4557fe,_0x56aa2e,_0x59fa1e,void 0x0):_0x4557fe?_0x44bffb[_0x111b10(0x421)](exports['AwaitingState'],_0x8ca510,_0x42f24c,_0x4557fe,_0x59fa1e):_0x56aa2e[_0x111b10(0x3b0)]?_0x44bffb[_0x111b10(0x421)](exports[_0x111b10(0x243)],_0x8ca510,_0x42f24c,_0x56aa2e,_0x59fa1e):_0x44bffb[_0x111b10(0x421)](exports[_0x111b10(0x148)],_0x8ca510,_0x42f24c,_0x59fa1e);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x1d7948,_0x3fd0d0,_0x3025ad,_0xc1a87f)=>{for(var _0x152406=_0xc1a87f>0x1?void 0x0:_0xc1a87f?Ci(_0x3fd0d0,_0x3025ad):_0x3fd0d0,_0x227fba=_0x1d7948['length']-0x1,_0x419ecb;_0x227fba>=0x0;_0x227fba--)(_0x419ecb=_0x1d7948[_0x227fba])&&(_0x152406=_0x419ecb(_0x152406)||_0x152406);return _0x152406;},$=(_0x2bdae9,_0xeb3ae7)=>(_0xbeb12b,_0x1a91e3)=>_0xeb3ae7(_0xbeb12b,_0x1a91e3,_0x2bdae9);exports[_0xaa7fc(0x177)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x254fb5,_0xd7360,_0x18ceb9,_0x3bc7d4,_0x14d93d,_0x3fb24f,_0x470b8e,_0x5d9ed9,_0x2f4de3,_0x20934a,_0x37c068,_0x462a73,_0x211be1){var _0x1e0eb4=_0xaa7fc;super(),A(this,_0x1e0eb4(0x1ed),new j[(_0x1e0eb4(0xd7))](null)),A(this,_0x1e0eb4(0x19a),this[_0x1e0eb4(0x1ed)][_0x1e0eb4(0xc7)]()),A(this,_0x1e0eb4(0x10a)),A(this,_0x1e0eb4(0x2f2),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x1e0eb4(0x199),this['state$'][_0x1e0eb4(0x2a5)](j[_0x1e0eb4(0x2e9)](_0x4dff89=>_0x4dff89?_0x4dff89[_0x1e0eb4(0x379)]:Ve[_0x1e0eb4(0x129)]),j['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x1e0eb4(0x34c),[]),(this[_0x1e0eb4(0x1e1)]=_0x254fb5,this[_0x1e0eb4(0x193)]=_0xd7360,this[_0x1e0eb4(0x3eb)]=_0x18ceb9,this[_0x1e0eb4(0x2e2)]=_0x3bc7d4,this[_0x1e0eb4(0x3e1)]=_0x14d93d,this[_0x1e0eb4(0x23a)]=_0x3fb24f,this[_0x1e0eb4(0x3be)]=_0x470b8e,this[_0x1e0eb4(0xbc)]=_0x5d9ed9,this[_0x1e0eb4(0x26f)]=_0x2f4de3,this[_0x1e0eb4(0x2b9)]=_0x20934a,this[_0x1e0eb4(0x2e5)]=_0x37c068,this[_0x1e0eb4(0x41d)]=_0x462a73,this[_0x1e0eb4(0x25e)]=_0x211be1);}get[_0xaa7fc(0x313)](){var _0x23c1e1=_0xaa7fc;return this[_0x23c1e1(0x10a)];}async[_0xaa7fc(0xd9)](){var _0x258503=_0xaa7fc;if(this[_0x258503(0x313)])throw new Error(_0x258503(0x126));await this[_0x258503(0x276)]();}[_0xaa7fc(0x210)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x8eac1c=_0x453e;this[_0x8eac1c(0x2f2)]=!0x1,this[_0x8eac1c(0x268)]();});}['onLocalMutation'](_0x40815f){var _0x6ac15f=_0xaa7fc;this[_0x6ac15f(0x118)](_0x40815f);}[_0xaa7fc(0x284)](_0x4d0f83){var _0x280543=_0xaa7fc;this[_0x280543(0x10a)]=_0x4d0f83,this['_state$'][_0x280543(0x38d)](_0x4d0f83);}async[_0xaa7fc(0x276)](){var _0x182d8b=_0xaa7fc,_0x5e3724;this[_0x182d8b(0x284)](await this['_createInitialState']()),this[_0x182d8b(0x41d)]&&((_0x5e3724=this[_0x182d8b(0x41d)])==null||_0x5e3724[_0x182d8b(0x296)](this[_0x182d8b(0x1e1)]),this['disposeWithMe'](this[_0x182d8b(0x41d)][_0x182d8b(0x2ed)](this[_0x182d8b(0x1e1)])[_0x182d8b(0xe5)](_0x3cb5e2=>{var _0x2fb337=_0x182d8b;this['_logService'][_0x2fb337(0xc1)](_0x2fb337(0x31e),_0x2fb337(0x139),_0x3cb5e2),_0x3cb5e2===Fe[_0x2fb337(0x42f)]?(this[_0x2fb337(0xbc)][_0x2fb337(0x2ac)]({'id':Q[_0x2fb337(0x3ac)]}),this[_0x2fb337(0x2e5)]['updatePermissionPoint'](new Z[(_0x2fb337(0x3f5))](this[_0x2fb337(0x1e1)])['id'],!0x1),this['_permissionService'][_0x2fb337(0x2d6)](!0x1)):(this[_0x2fb337(0x2e5)][_0x2fb337(0x376)](new Z[(_0x2fb337(0x3f5))](this[_0x2fb337(0x1e1)])['id'],!0x0),this[_0x2fb337(0x2e5)][_0x2fb337(0x2d6)](!0x0));})));let _0x311d7a=!0x1;return this[_0x182d8b(0x3fd)](this[_0x182d8b(0x193)]['sessionStatus$']['subscribe'](_0x56c74a=>{var _0x36b85e=_0x182d8b;_0x56c74a===se[_0x36b85e(0x144)]?this[_0x36b85e(0xb8)](_0x311d7a):_0x56c74a===se['OFFLINE']&&(_0x311d7a=!0x0,this[_0x36b85e(0x35f)]());})),this['disposeWithMe'](this['session'][_0x182d8b(0x3c6)][_0x182d8b(0xe5)](_0xef882a=>{var _0x134d85=_0x182d8b;try{switch(_0xef882a[_0x134d85(0x17d)]){case g[_0x134d85(0x209)][_0x134d85(0x423)]:{this[_0x134d85(0x2c0)](g[_0x134d85(0x2d7)](_0xef882a[_0x134d85(0x18e)]));break;}case g[_0x134d85(0x209)]['CHANGESET_ACK']:{this[_0x134d85(0x2fb)](_0xef882a[_0x134d85(0x18e)]);break;}case g[_0x134d85(0x209)][_0x134d85(0x21b)]:{this[_0x134d85(0x2d3)]();break;}case g[_0x134d85(0x209)][_0x134d85(0x37b)]:{this[_0x134d85(0x42e)](_0xef882a[_0x134d85(0x18e)]);break;}case g[_0x134d85(0x209)][_0x134d85(0x299)]:{this[_0x134d85(0x117)](_0xef882a[_0x134d85(0x18e)][_0x134d85(0x22e)]['map'](_0x36c7da=>g[_0x134d85(0x2d7)](_0x36c7da)));break;}case g[_0x134d85(0x209)][_0x134d85(0x378)]:{this[_0x134d85(0x2d3)]({'isPermissionRej':!0x0});break;}case g[_0x134d85(0x209)][_0x134d85(0x188)]:break;}}catch(_0x50721d){throw console['error'](_0x134d85(0x205),_0x50721d),_0x50721d;}})),this[_0x182d8b(0x10a)];}[_0xaa7fc(0x17b)](){this['_transitionLocked']=!0x1;}[_0xaa7fc(0x1bf)](){var _0x3a04e3=_0xaa7fc;if(this[_0x3a04e3(0xcf)])throw new Error(_0x3a04e3(0x246));this['_transitionLocked']=!0x0;}[_0xaa7fc(0x118)](_0x250e98){var _0x216e1f=_0xaa7fc;this['_lockTransition'](),this[_0x216e1f(0x284)](this['_state'][_0x216e1f(0x326)](_0x250e98)),this['_unlockTransition']();}[_0xaa7fc(0x2c0)](_0x413a4b){var _0x5683ed=_0xaa7fc;if(!(_0x413a4b[_0x5683ed(0x18a)]<=this[_0x5683ed(0x3be)][_0x5683ed(0x11c)](this[_0x5683ed(0x1e1)]))){if(this[_0x5683ed(0x2f2)]){this[_0x5683ed(0x34c)][_0x5683ed(0x3d0)](_0x413a4b);return;}this[_0x5683ed(0x333)](_0x413a4b);}}[_0xaa7fc(0x268)](){var _0x3fc808=_0xaa7fc;this[_0x3fc808(0x34c)][_0x3fc808(0xfd)](_0x80356c=>this[_0x3fc808(0x333)](_0x80356c)),this[_0x3fc808(0x34c)]=[];}['_applyRemoteChangeset'](_0x616809){var _0x369b8a=_0xaa7fc;const _0x387d71=this[_0x369b8a(0x3e1)][_0x369b8a(0x399)][_0x369b8a(0x368)](this[_0x369b8a(0x3e1)]['interceptor']['getInterceptPoints']()[_0x369b8a(0xd3)])(_0x616809[_0x369b8a(0x261)],null)||_0x616809[_0x369b8a(0x261)],_0x1a2ffb={..._0x616809,'mutations':_0x387d71};this[_0x369b8a(0x1bf)](),this[_0x369b8a(0x284)](this['_state'][_0x369b8a(0x320)](_0x1a2ffb)),this[_0x369b8a(0x17b)]();}[_0xaa7fc(0x2fb)](_0x2ee0dd){var _0x4c793e=_0xaa7fc;this[_0x4c793e(0x1bf)](),this[_0x4c793e(0x284)](this[_0x4c793e(0x10a)]['onRemoteAck'](_0x2ee0dd)),this[_0x4c793e(0x17b)]();}[_0xaa7fc(0x2d3)](_0x47e311){var _0x31e515=_0xaa7fc;this['_lockTransition'](),this[_0x31e515(0x284)](this[_0x31e515(0x10a)][_0x31e515(0x122)](_0x47e311)),this[_0x31e515(0x17b)]();}[_0xaa7fc(0x42e)](_0x1eabf4){var _0x157cda=_0xaa7fc;this[_0x157cda(0x1bf)](),this[_0x157cda(0x284)](this[_0x157cda(0x10a)][_0x157cda(0x339)](_0x1eabf4)),this['_unlockTransition']();}[_0xaa7fc(0x117)](_0x4070e4){var _0x1f812f=_0xaa7fc;if(!(this[_0x1f812f(0x10a)]instanceof exports['FetchingMissState']))throw new TypeError(_0x1f812f(0x190));const _0x4dd80b=_0x4070e4[_0x1f812f(0x2e9)](_0x5891c4=>{var _0x4a03aa=_0x1f812f;const _0x4201e9=this[_0x4a03aa(0x3e1)]['interceptor']['fetchThroughInterceptors'](this[_0x4a03aa(0x3e1)][_0x4a03aa(0x399)][_0x4a03aa(0x3fa)]()[_0x4a03aa(0xd3)])(_0x5891c4[_0x4a03aa(0x261)],null)||_0x5891c4[_0x4a03aa(0x261)];return{..._0x5891c4,'mutations':_0x4201e9};});this[_0x1f812f(0x1bf)](),this[_0x1f812f(0x284)](this['_state']['onMissedChangesetFetched'](_0x4dd80b)),this['_unlockTransition']();}[_0xaa7fc(0x35f)](){var _0x2d31f6=_0xaa7fc;this[_0x2d31f6(0x1bf)](),this['_updateState'](this[_0x2d31f6(0x10a)][_0x2d31f6(0xe1)]()),this[_0x2d31f6(0x17b)]();}[_0xaa7fc(0xb8)](_0x12d784=!0x1){var _0x1f279e=_0xaa7fc;this[_0x1f279e(0x1bf)](),this[_0x1f279e(0x284)](this['_state'][_0x1f279e(0x1f4)]()),this['_unlockTransition']();const _0x46e092=this[_0x1f279e(0x10a)];_0x12d784&&_0x46e092 instanceof exports[_0x1f279e(0x148)]&&(this['_lockTransition'](),this['_updateState'](_0x46e092['fetchMiss']()),this[_0x1f279e(0x17b)]());}async[_0xaa7fc(0x324)](){return new Promise(_0x2fa4e8=>{var _0x54c65e=_0x453e;this[_0x54c65e(0x193)][_0x54c65e(0x1a2)][_0x54c65e(0x2a5)](j['take'](0x1))[_0x54c65e(0xe5)](async _0x275569=>{var _0x23e4ca=_0x54c65e;_0x2fa4e8(await this['_createInitialStateImpl'](_0x275569===se[_0x23e4ca(0x144)]));});});}[_0xaa7fc(0x2ca)](){var _0x594cb3=_0xaa7fc;const _0x59f7ef=this[_0x594cb3(0x1e1)];return{'onStateChange':(_0x193144,_0x3579a2)=>{var _0x17f757=_0x594cb3;if(_0x193144!==this['_state'])throw new Error(_0x17f757(0x19b)+_0x193144['status']+'\x0aAfter:\x20'+_0x3579a2[_0x17f757(0x379)]+_0x17f757(0x32b)+this[_0x17f757(0x10a)][_0x17f757(0x379)]);this['_updateState'](_0x3579a2);},'onSendChangeset':_0x2f6713=>{var _0xb1bf5b=_0x594cb3;_0x2f6713[_0xb1bf5b(0xee)]||(_0x2f6713[_0xb1bf5b(0xee)]=this[_0xb1bf5b(0x3f1)],_0x2f6713['reqId']=++this[_0xb1bf5b(0x10e)]);const _0x49ac7d={'eventID':g[_0xb1bf5b(0x209)][_0xb1bf5b(0x155)],'data':{'unitID':_0x2f6713[_0xb1bf5b(0x1e1)],'unitType':this[_0xb1bf5b(0x3eb)],'changeset':_0x2f6713,'memberID':this[_0xb1bf5b(0x193)][_0xb1bf5b(0x3e8)]()}};this[_0xb1bf5b(0x193)]['send'](_0x49ac7d,this[_0xb1bf5b(0x1e1)]);},'onMissingChangesets':({from:_0x57c41f,to:_0x33662c})=>{var _0x3cce2a=_0x594cb3;this[_0x3cce2a(0x26f)]['debug'](_0x3cce2a(0x31e),_0x3cce2a(0x1ef)+_0x57c41f+_0x3cce2a(0x196)+_0x33662c);const _0x55bddf={'eventID':g[_0x3cce2a(0x209)][_0x3cce2a(0x30b)],'data':{'unitID':_0x59f7ef,'unitType':this[_0x3cce2a(0x3eb)],'from':_0x57c41f,'to':_0x33662c}};this[_0x3cce2a(0x193)][_0x3cce2a(0x43c)](_0x55bddf,this[_0x3cce2a(0x1e1)]);}};}async[_0xaa7fc(0x26d)](_0x2b0e25){var _0xb66c30=_0xaa7fc,_0x2e262f,_0x4fcf31,_0x3ff764;const _0x2d54d3=await((_0x2e262f=this[_0xb66c30(0x25e)])==null?void 0x0:_0x2e262f[_0xb66c30(0x28f)](this['unitID'])),_0x687054=(_0x4fcf31=_0x2d54d3==null?void 0x0:_0x2d54d3[_0xb66c30(0x261)])!=null?_0x4fcf31:[],_0x452895=(_0x3ff764=_0x2d54d3==null?void 0x0:_0x2d54d3[_0xb66c30(0x164)])!=null?_0x3ff764:null,_0x32f74=!!(_0x452895!=null&&_0x452895[_0xb66c30(0xee)])&&!!(_0x452895!=null&&_0x452895['reqId']);this[_0xb66c30(0x3f1)]=_0x32f74?_0x452895[_0xb66c30(0xee)]:di(),this[_0xb66c30(0x10e)]=_0x32f74?_0x452895[_0xb66c30(0x171)]:0x0;const _0x121084=this[_0xb66c30(0x1e1)];try{this[_0xb66c30(0x3f9)](_0x452895,_0x687054);}catch(_0x24d9f9){this[_0xb66c30(0x26f)][_0xb66c30(0x256)](_0x24d9f9);}const _0x53d13f=this[_0xb66c30(0x2ca)]();if(_0x2b0e25){const _0x525218=Dt(this[_0xb66c30(0x2e2)],_0x121084,this[_0xb66c30(0x3eb)],_0x452895,_0x687054,_0x53d13f);return _0x525218 instanceof exports['PendingState']?_0x525218['_schedule']():(_0x525218 instanceof exports[_0xb66c30(0x345)]||_0x525218 instanceof exports[_0xb66c30(0x303)])&&_0x525218[_0xb66c30(0x35d)](),_0x525218;}return this[_0xb66c30(0x2e2)]['createInstance'](exports['OfflineState'],_0x121084,this[_0xb66c30(0x3eb)],_0x452895,_0x687054,_0x53d13f);}[_0xaa7fc(0x3f9)](_0x3a0e46,_0x2d028f){var _0x5a05ca=_0xaa7fc,_0x3f2757,_0x523b30;const _0x5d2ed2=this[_0x5a05ca(0x3e1)][_0x5a05ca(0x399)]['fetchThroughInterceptors'](this[_0x5a05ca(0x3e1)][_0x5a05ca(0x399)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x3f2757=_0x5d2ed2((_0x3a0e46==null?void 0x0:_0x3a0e46['mutations'])||[],null))==null||_0x3f2757['forEach'](_0x286e31=>this['_commandService'][_0x5a05ca(0x13d)](_0x286e31['id'],_0x286e31[_0x5a05ca(0x2db)])),(_0x523b30=_0x5d2ed2(_0x2d028f||[],null))==null||_0x523b30[_0x5a05ca(0xfd)](_0x455e92=>this[_0x5a05ca(0x2b9)][_0x5a05ca(0x13d)](_0x455e92['id'],_0x455e92[_0x5a05ca(0x2db)]));}},exports[_0xaa7fc(0x177)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](te)),$(0x8,a[_0xaa7fc(0x434)]),$(0x9,a[_0xaa7fc(0x1bc)]),$(0xa,a[_0xaa7fc(0x43d)]),$(0xb,a[_0xaa7fc(0x120)](ve)),$(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x177)]),exports['DocCollaborationEntity']=class extends exports[_0xaa7fc(0x177)]{constructor(_0x5dbf31,_0x102caa,_0xc145d2,_0x17ddaf,_0x4eaf27,_0xd25ea3,_0x26bddc,_0x934828,_0x6ca414,_0x8f3fba,_0x365daa,_0x1a036a,_0x302cb1){var _0x14fed4=_0xaa7fc;super(_0x5dbf31,_0xc145d2,_0x102caa,_0x17ddaf,_0x4eaf27,_0xd25ea3,_0x26bddc,_0x934828,_0x6ca414,_0x8f3fba,_0x365daa,_0x1a036a,_0x302cb1),A(this,_0x14fed4(0x43e),null),(this[_0x14fed4(0x1e1)]=_0x5dbf31,this[_0x14fed4(0x244)]=_0x102caa);}[_0xaa7fc(0x291)](_0x38ac71){this['_handlerCallback']=_0x38ac71;}['dispose'](){var _0xbb3613=_0xaa7fc;this[_0xbb3613(0x43e)]=null,super['dispose']();}['_createHandler'](){var _0xa8bcfc=_0xaa7fc;const _0x369aa0=super['_createHandler']();return _0x369aa0[_0xa8bcfc(0x123)]=_0x527f8a=>{var _0x4208e9=_0xa8bcfc,_0x541031,_0x524e83;return(_0x524e83=(_0x541031=this[_0x4208e9(0x43e)])==null?void 0x0:_0x541031[_0x4208e9(0x123)])==null?void 0x0:_0x524e83[_0x4208e9(0x247)](_0x541031,_0x527f8a);},_0x369aa0['onTransformState']=_0x40d38c=>{var _0x4b11c9,_0x36f56c;return(_0x36f56c=(_0x4b11c9=this['_handlerCallback'])==null?void 0x0:_0x4b11c9['onTransformState'])==null?void 0x0:_0x36f56c['call'](_0x4b11c9,_0x40d38c);},_0x369aa0['onTransformSelections']=_0x227902=>{var _0x43fe63=_0xa8bcfc,_0x1164fe,_0x359de8;return(_0x359de8=(_0x1164fe=this[_0x43fe63(0x43e)])==null?void 0x0:_0x1164fe[_0x43fe63(0x2d9)])==null?void 0x0:_0x359de8[_0x43fe63(0x247)](_0x1164fe,_0x227902);},_0x369aa0['onSyncEditingCollabCursor']=_0x402ea=>{var _0x2b4c59=_0xa8bcfc,_0x1662f5,_0xc1febb;return(_0xc1febb=(_0x1662f5=this[_0x2b4c59(0x43e)])==null?void 0x0:_0x1662f5[_0x2b4c59(0x3bc)])==null?void 0x0:_0xc1febb[_0x2b4c59(0x247)](_0x1662f5,_0x402ea);},_0x369aa0['onTransformRemoteChangesetByIMECache']=_0x4a7585=>{var _0x5d8e01=_0xa8bcfc,_0xefdda8,_0x466d4c,_0x107373;if(!((_0xefdda8=this[_0x5d8e01(0x43e)])!=null&&_0xefdda8['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x107373=(_0x466d4c=this[_0x5d8e01(0x43e)])==null?void 0x0:_0x466d4c[_0x5d8e01(0x42b)])==null?void 0x0:_0x107373[_0x5d8e01(0x247)](_0x466d4c,_0x4a7585);},_0x369aa0[_0xa8bcfc(0x264)]=_0x207d16=>{var _0x2f8028=_0xa8bcfc,_0x32bd6f,_0x2e6266,_0x50170d;if(!((_0x32bd6f=this[_0x2f8028(0x43e)])!=null&&_0x32bd6f[_0x2f8028(0x264)]))throw new Error(_0x2f8028(0x2e1));return(_0x50170d=(_0x2e6266=this[_0x2f8028(0x43e)])==null?void 0x0:_0x2e6266[_0x2f8028(0x264)])==null?void 0x0:_0x50170d[_0x2f8028(0x247)](_0x2e6266,_0x207d16);},_0x369aa0;}async[_0xaa7fc(0x276)](){var _0x48f760=_0xaa7fc;const _0x322d7a=await super[_0x48f760(0x276)]();return this[_0x48f760(0x3fd)](this[_0x48f760(0x2b9)][_0x48f760(0x2b7)]((_0x5f4f1b,_0x457c9c)=>{var _0x3b643f=_0x48f760;if(_0x5f4f1b[_0x3b643f(0x244)]!==a['CommandType']['MUTATION']||_0x457c9c!=null&&_0x457c9c[_0x3b643f(0x160)]||_0x457c9c!=null&&_0x457c9c[_0x3b643f(0x131)]||_0x5f4f1b['id']===ut['RichTextEditingMutation']['id'])return;const _0x56a6a5=_0x5f4f1b['params'];if((_0x56a6a5==null?void 0x0:_0x56a6a5['unitId'])!==this[_0x3b643f(0x1e1)])return;const _0x55305c=_0x5f4f1b,_0x469f7a=this[_0x3b643f(0x3e1)][_0x3b643f(0x399)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3b643f(0x399)][_0x3b643f(0x3fa)]()[_0x3b643f(0x337)])([_0x55305c],null)||[_0x55305c];this[_0x3b643f(0x118)](_0x469f7a[0x0]);})),_0x322d7a;}},exports[_0xaa7fc(0x395)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a['Injector'])),$(0x4,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x1d9)])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](te)),$(0x8,a[_0xaa7fc(0x434)]),$(0x9,a['ICommandService']),$(0xa,a[_0xaa7fc(0x43d)]),$(0xb,a[_0xaa7fc(0x120)](ve)),$(0xc,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x395)]),exports[_0xaa7fc(0x405)]=class extends exports[_0xaa7fc(0x177)]{constructor(_0x1d9947,_0x2839f2,_0x90fee3,_0x4507aa,_0x5ed18a,_0x3fb41e,_0x9be22f,_0x4ba3f0,_0x246ea5,_0x51b082,_0x1cf5a8,_0x20d2a6,_0x50a250,_0x6ca994){var _0x3c1447=_0xaa7fc;super(_0x1d9947,_0x90fee3,_0x2839f2,_0x4507aa,_0x5ed18a,_0x3fb41e,_0x9be22f,_0x246ea5,_0x51b082,_0x1cf5a8,_0x20d2a6,_0x50a250,_0x6ca994),this['unitID']=_0x1d9947,this[_0x3c1447(0x244)]=_0x2839f2,this['_sheetTransformSelectionsService']=_0x4ba3f0;}[_0xaa7fc(0x2ca)](){var _0x43b1a2=_0xaa7fc;const _0xe26374=super[_0x43b1a2(0x2ca)]();return _0xe26374[_0x43b1a2(0x2d9)]=_0x1c6f07=>this[_0x43b1a2(0x1ba)][_0x43b1a2(0x3de)](_0x1c6f07),_0xe26374;}async[_0xaa7fc(0x276)](){var _0x41cb3b=_0xaa7fc;const _0x172e94=await super[_0x41cb3b(0x276)]();return this[_0x41cb3b(0x3fd)](this[_0x41cb3b(0x2b9)][_0x41cb3b(0x2b7)]((_0x3e1db5,_0x13a870)=>{var _0xcc87cf=_0x41cb3b;if(_0x3e1db5[_0xcc87cf(0x244)]!==a[_0xcc87cf(0x3da)][_0xcc87cf(0x17e)]||_0x13a870!=null&&_0x13a870[_0xcc87cf(0x160)]||_0x13a870!=null&&_0x13a870[_0xcc87cf(0x131)])return;const _0x57fbdb=_0x3e1db5[_0xcc87cf(0x2db)];if((_0x57fbdb==null?void 0x0:_0x57fbdb[_0xcc87cf(0x2fe)])!==this[_0xcc87cf(0x1e1)])return;const _0x21638=_0x3e1db5,_0x2934a7=this[_0xcc87cf(0x3e1)]['interceptor'][_0xcc87cf(0x368)](this[_0xcc87cf(0x3e1)][_0xcc87cf(0x399)][_0xcc87cf(0x3fa)]()[_0xcc87cf(0x337)])([_0x21638],null)||[_0x21638];this['_onLocalMutation'](_0x2934a7[0x0]);})),_0x172e94;}},exports[_0xaa7fc(0x405)]=We([$(0x3,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),$(0x4,a[_0xaa7fc(0x1a1)](g['CompressMutationService'])),$(0x5,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)])),$(0x6,a['Inject'](g[_0xaa7fc(0x258)])),$(0x7,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0x3b6)])),$(0x8,a[_0xaa7fc(0x1a1)](te)),$(0x9,a[_0xaa7fc(0x434)]),$(0xa,a[_0xaa7fc(0x1bc)]),$(0xb,a[_0xaa7fc(0x43d)]),$(0xc,a[_0xaa7fc(0x120)](ve)),$(0xd,a['Optional'](z))],exports[_0xaa7fc(0x405)]);var Ti=Object[_0xaa7fc(0x198)],bi=(_0x11ca20,_0x42051c,_0x4b315e,_0x2ad960)=>{var _0x225eef=_0xaa7fc;for(var _0xbfa1e2=_0x2ad960>0x1?void 0x0:_0x2ad960?Ti(_0x42051c,_0x4b315e):_0x42051c,_0x13eafc=_0x11ca20[_0x225eef(0x3b0)]-0x1,_0x232862;_0x13eafc>=0x0;_0x13eafc--)(_0x232862=_0x11ca20[_0x13eafc])&&(_0xbfa1e2=_0x232862(_0xbfa1e2)||_0xbfa1e2);return _0xbfa1e2;},Pe=(_0x4e769d,_0x36a544)=>(_0x53b6b3,_0x3b3a5b)=>_0x36a544(_0x53b6b3,_0x3b3a5b,_0x4e769d);exports[_0xaa7fc(0x1fb)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x48d2e5,_0x502f85,_0x12f144){var _0x414745=_0xaa7fc;super(),A(this,_0x414745(0x12f),new Map()),A(this,_0x414745(0xdd),new j[(_0x414745(0x2c4))]()),A(this,_0x414745(0x2fc),this['_entityInit$'][_0x414745(0xc7)]()),(this['_injector']=_0x48d2e5,this['_collabSessionService']=_0x502f85,this[_0x414745(0xbf)]=_0x12f144,this['_init']());}['dispose'](){var _0x1f2276=_0xaa7fc;super[_0x1f2276(0x41e)](),this[_0x1f2276(0x12f)][_0x1f2276(0xfd)](_0x169cea=>_0x169cea['dispose']()),this['_entities'][_0x1f2276(0x174)]();}[_0xaa7fc(0x17c)](_0x4938f0){var _0x44a3a6=_0xaa7fc,_0x41c774;return(_0x41c774=this[_0x44a3a6(0x12f)][_0x44a3a6(0xe9)](_0x4938f0))!=null?_0x41c774:null;}['getCollabEntity$'](_0x7bd02){var _0x625523=_0xaa7fc;const _0xef1fe6=this[_0x625523(0x17c)](_0x7bd02);return _0xef1fe6?j['of'](_0xef1fe6):this[_0x625523(0xdd)]['pipe'](V[_0x625523(0xde)](_0x2183ca=>_0x2183ca[_0x625523(0x1e1)]===_0x7bd02));}[_0xaa7fc(0x31f)](_0x25ecc){var _0x8cc1ac=_0xaa7fc;return j[_0x8cc1ac(0x14f)](this[_0x8cc1ac(0x3ee)](_0x25ecc)[_0x8cc1ac(0x2a5)](V['map'](()=>{})));}[_0xaa7fc(0x276)](){var _0x54c813=_0xaa7fc;this[_0x54c813(0xbf)][_0x54c813(0x2d2)](a[_0x54c813(0x231)][_0x54c813(0x37f)])[_0x54c813(0x2a5)](j[_0x54c813(0x356)](this[_0x54c813(0x2e6)]),V[_0x54c813(0x13e)](0x10))['subscribe'](async _0x3bcdc0=>{var _0x57c30f=_0x54c813;const _0x18123b=_0x3bcdc0['getUnitId'](),_0x1986f6=await this[_0x57c30f(0x20a)](_0x18123b,X[_0x57c30f(0x37f)]);this['_entities'][_0x57c30f(0x3d5)](_0x18123b,_0x1986f6);}),this[_0x54c813(0xbf)][_0x54c813(0x2d2)](a[_0x54c813(0x231)][_0x54c813(0x32c)])[_0x54c813(0x2a5)](j['takeUntil'](this[_0x54c813(0x2e6)]),V[_0x54c813(0x13e)](0x10))['pipe'](V['filter'](_0x5c59c9=>!_0x5c59c9[_0x54c813(0x217)]()[_0x54c813(0x28c)]('__')))['subscribe'](async _0x25af7a=>{var _0x2f713a=_0x54c813;const _0x4bc95a=_0x25af7a[_0x2f713a(0x217)](),_0x2f1bea=await this['_startCollaboration'](_0x4bc95a,X['UNIVER_DOC']);this[_0x2f713a(0x12f)][_0x2f713a(0x3d5)](_0x4bc95a,_0x2f1bea);}),j[_0x54c813(0x2f8)](this[_0x54c813(0xbf)]['getTypeOfUnitDisposed$'](a[_0x54c813(0x231)][_0x54c813(0x37f)]),this[_0x54c813(0xbf)]['getTypeOfUnitDisposed$'](a[_0x54c813(0x231)][_0x54c813(0x32c)]))['pipe'](j[_0x54c813(0x356)](this[_0x54c813(0x2e6)]))[_0x54c813(0xe5)](_0x2894ac=>{var _0x15d577=_0x54c813;const _0x3ca621=_0x2894ac[_0x15d577(0x217)](),_0xe4e91e=this[_0x15d577(0x12f)][_0x15d577(0xe9)](_0x3ca621);_0xe4e91e&&(_0xe4e91e[_0x15d577(0x41e)](),this[_0x15d577(0x12f)][_0x15d577(0x3b1)](_0x3ca621));});}async[_0xaa7fc(0x20a)](_0x6637f1,_0x512bec){var _0x110dde=_0xaa7fc;const _0x19614a=await this[_0x110dde(0x114)]['requireSession'](_0x6637f1),_0x3294c5=this[_0x110dde(0x2e2)][_0x110dde(0x421)](this[_0x110dde(0x1ac)](_0x512bec),_0x6637f1,_0x512bec,_0x19614a);return await _0x3294c5['init'](),this[_0x110dde(0xdd)][_0x110dde(0x38d)](_0x3294c5),_0x3294c5;}[_0xaa7fc(0x1ac)](_0x5b7ff9){var _0x35c784=_0xaa7fc;switch(_0x5b7ff9){case X[_0x35c784(0x32c)]:return exports[_0x35c784(0x395)];case X[_0x35c784(0x37f)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5b7ff9);}}},exports[_0xaa7fc(0x1fb)]=bi([Pe(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),Pe(0x1,a[_0xaa7fc(0x1a1)](exports[_0xaa7fc(0x24e)])),Pe(0x2,a[_0xaa7fc(0x37d)])],exports['CollaborationController']);function _0x453e(_0x13a64b,_0x4c560e){var _0x165d4c=_0x165d();return _0x453e=function(_0x453e41,_0x336a86){_0x453e41=_0x453e41-0xb5;var _0x442bd1=_0x165d4c[_0x453e41];return _0x442bd1;},_0x453e(_0x13a64b,_0x4c560e);}var Ri=Object[_0xaa7fc(0x198)],yi=(_0xa3c047,_0x52073c,_0x581de1,_0x16af3d)=>{var _0x298d21=_0xaa7fc;for(var _0x52f83e=_0x16af3d>0x1?void 0x0:_0x16af3d?Ri(_0x52073c,_0x581de1):_0x52073c,_0x4a0553=_0xa3c047[_0x298d21(0x3b0)]-0x1,_0x174c0b;_0x4a0553>=0x0;_0x4a0553--)(_0x174c0b=_0xa3c047[_0x4a0553])&&(_0x52f83e=_0x174c0b(_0x52f83e)||_0x52f83e);return _0x52f83e;},Je=(_0x4275fd,_0x141cfc)=>(_0x31d056,_0x2171d3)=>_0x141cfc(_0x31d056,_0x2171d3,_0x4275fd);const Oi=_0xaa7fc(0x38a),Ni='Univer';let He=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x49fd27,_0x2a13ce){var _0x34bb43=_0xaa7fc;super(),this[_0x34bb43(0xbf)]=_0x49fd27,this[_0x34bb43(0x20d)]=_0x2a13ce,this['_init']();}[_0xaa7fc(0x276)](){var _0x465270=_0xaa7fc;this['disposeWithMe'](this[_0x465270(0xbf)][_0x465270(0xbd)][_0x465270(0xe5)](()=>{var _0x147e1d=_0x465270,_0x57e60e;const _0x2ec78d=this[_0x147e1d(0xbf)][_0x147e1d(0x24a)]();let _0x8a36ff=(_0x57e60e=this['_configService'][_0x147e1d(0xb5)](Oi))!=null?_0x57e60e:Ni;_0x2ec78d instanceof a[_0x147e1d(0x43f)]&&(_0x8a36ff=_0x2ec78d['name']),document[_0x147e1d(0x41f)]=_0x8a36ff;}));}};He=yi([Je(0x0,a[_0xaa7fc(0x37d)]),Je(0x1,a[_0xaa7fc(0x41a)])],He);var Di=Object[_0xaa7fc(0x198)],Ui=(_0x493f40,_0x53fabf,_0x2d5b29,_0x6b58ad)=>{for(var _0xd209f8=_0x6b58ad>0x1?void 0x0:_0x6b58ad?Di(_0x53fabf,_0x2d5b29):_0x53fabf,_0x1a8334=_0x493f40['length']-0x1,_0x4fcc01;_0x1a8334>=0x0;_0x1a8334--)(_0x4fcc01=_0x493f40[_0x1a8334])&&(_0xd209f8=_0x4fcc01(_0xd209f8)||_0xd209f8);return _0xd209f8;},we=(_0x11513a,_0x58a625)=>(_0x71fe9a,_0xd7c956)=>_0x58a625(_0x71fe9a,_0xd7c956,_0x11513a);let Oe=class{constructor(_0x217066,_0x5b8710,_0x530e2a){var _0x3cb1e6=_0xaa7fc;this[_0x3cb1e6(0x20d)]=_0x217066,this[_0x3cb1e6(0x143)]=_0x5b8710,this[_0x3cb1e6(0x2a2)]=_0x530e2a,this['init']();}[_0xaa7fc(0xd9)](){var _0x292044=_0xaa7fc;this[_0x292044(0x143)][_0x292044(0x223)]({'priority':0x1,'interceptor':(_0x2b4b04,_0x14b6a6)=>_0x14b6a6(_0x2b4b04)['pipe'](j[_0x292044(0x1fc)](async _0x5a124a=>{var _0x4b1550=_0x292044;const _0x3277aa=_0x5a124a;if(_0x3277aa['status']===0x191){if(typeof window>'u')throw new Error(_0x4b1550(0x1d7));if(window['confirm'](this['localeService']['t'](_0x4b1550(0x3b7)))){const _0x5e1fe9=window[_0x4b1550(0x214)](window[_0x4b1550(0x3f2)][_0x4b1550(0x289)]);window[_0x4b1550(0x3f2)][_0x4b1550(0x289)]=this[_0x4b1550(0x406)]()+_0x4b1550(0xda)+_0x5e1fe9;}}return _0x3277aa;}))});}[_0xaa7fc(0x406)](){var _0x505edd=_0xaa7fc,_0x3d2444,_0x214dd5;const _0x39439a=this[_0x505edd(0x20d)][_0x505edd(0xb5)](Et),_0x5e29d2=this[_0x505edd(0x20d)][_0x505edd(0xb5)](Y);return(_0x214dd5=(_0x3d2444=_0x5e29d2==null?void 0x0:_0x5e29d2[_0x505edd(0x424)])!=null?_0x3d2444:_0x39439a)!=null?_0x214dd5:Yt;}};Oe=Ui([we(0x0,a[_0xaa7fc(0x41a)]),we(0x1,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)])),we(0x2,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x3f8)]))],Oe);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x2a34e4,_0x520b7e,_0x27f00a,_0x42e86c)=>{var _0x34525c=_0xaa7fc;for(var _0xdea46=_0x42e86c>0x1?void 0x0:_0x42e86c?Ai(_0x520b7e,_0x27f00a):_0x520b7e,_0x159cf4=_0x2a34e4[_0x34525c(0x3b0)]-0x1,_0x2bad3e;_0x159cf4>=0x0;_0x159cf4--)(_0x2bad3e=_0x2a34e4[_0x159cf4])&&(_0xdea46=_0x2bad3e(_0xdea46)||_0xdea46);return _0xdea46;},Xe=(_0x574407,_0x65d38a)=>(_0x20ac19,_0x172d37)=>_0x65d38a(_0x20ac19,_0x172d37,_0x574407);const Ge='AUTHZ_URL_KEY',wi=_0xaa7fc(0x135);exports[_0xaa7fc(0x3c8)]=class extends a[_0xaa7fc(0x2e0)]{constructor(_0x30af5a,_0x5bf00b){var _0x3cfb00=_0xaa7fc;super(),this[_0x3cfb00(0x411)]=_0x30af5a,this[_0x3cfb00(0x20d)]=_0x5bf00b,this[_0x3cfb00(0x334)]();}[_0xaa7fc(0x334)](){var _0xb799bd=_0xaa7fc;const _0xb0011b=this;this[_0xb799bd(0x3fd)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x38da06){var _0x309e65=_0xb799bd,_0x518e03;if(_0x38da06[_0x309e65(0x202)]===_0x309e65(0x2c8)&&((_0x518e03=_0x38da06[_0x309e65(0x21f)])!=null&&_0x518e03[_0x309e65(0x173)])){const {objectID:_0x1f9275,objectType:_0x30542a}=_0x38da06['requestParams']['body']||{};if(!_0x1f9275||_0x30542a===void 0x0)return!0x1;const _0x45324c=_0xb0011b[_0x309e65(0x302)]()+'/'+_0x30542a+_0x309e65(0x12e)+_0x1f9275+_0x309e65(0x197);if(_0x38da06[_0x309e65(0x369)]===_0x45324c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30348e){var _0x1c014c=_0xb799bd,_0x32ccd8;return(_0x32ccd8=_0x30348e[_0x1c014c(0x21f)])==null?void 0x0:_0x32ccd8[_0x1c014c(0x173)];},'mergeParamsToRequest'(_0x28b320,_0x4b5d80){var _0x52f552=_0xb799bd;const _0x165a50=_0xb0011b[_0x52f552(0x302)]()+_0x52f552(0x2c2),_0x69e271=_0x28b320[_0x52f552(0x10d)]((_0x53e808,_0x24366a)=>{var _0xc1f74a=_0x52f552;const {unitID:_0x9bb13b,objectID:_0x480b9d,objectType:_0x4f4bd6,actions:_0x1b603d}=_0x24366a;return _0x53e808[_0x9bb13b]||(_0x53e808[_0x9bb13b]={}),_0x53e808[_0x9bb13b][_0x480b9d]||(_0x53e808[_0x9bb13b][_0x480b9d]={'objectID':_0x480b9d,'objectType':_0x4f4bd6,'actions':[]}),_0x53e808[_0x9bb13b][_0x480b9d][_0xc1f74a(0x309)]['push'](..._0x1b603d),_0x53e808;},{}),_0x507797=[];for(const _0x1d6df0 in _0x69e271)for(const _0x5e8b7e in _0x69e271[_0x1d6df0]){const {actions:_0x234d1d,objectType:_0x2ff1fc}=_0x69e271[_0x1d6df0][_0x5e8b7e],_0x495392=[...new Set(_0x234d1d)];_0x507797[_0x52f552(0x3d0)]({'unitID':_0x1d6df0,'objectID':_0x5e8b7e,'objectType':_0x2ff1fc,'actions':_0x495392});}return new q[(_0x52f552(0x175))](_0x52f552(0x2c8),_0x165a50,{'headers':_0x4b5d80[_0x52f552(0x1d5)],'withCredentials':_0x4b5d80[_0x52f552(0x226)],'responseType':_0x4b5d80['responseType'],'body':{'requests':_0x507797}});}},{'distributeResult'(_0x50033c,_0x322c00){var _0x6f35a3=_0xb799bd;const {objectActions:_0x415ffa}=_0x50033c;return _0x322c00[_0x6f35a3(0x2e9)](_0x26f245=>{var _0x136996=_0x6f35a3;const {unitID:_0x33678f,objectID:_0x30a6de,actions:_0x58a45b}=_0x26f245,_0x22adc8=_0x415ffa[_0x136996(0x2f5)](_0x290a3e=>_0x290a3e[_0x136996(0x1e1)]===_0x33678f&&_0x290a3e[_0x136996(0x414)]===_0x30a6de),_0x1c4194=_0x58a45b[_0x136996(0x2e9)](_0x376962=>_0x22adc8==null?void 0x0:_0x22adc8[_0x136996(0x309)][_0x136996(0x2f5)](_0x45addb=>_0x45addb['action']===_0x376962))['filter'](_0x2ac48f=>!!_0x2ac48f);return{'config':_0x26f245,'result':{'actions':_0x1c4194,'error':_0x50033c[_0x136996(0x256)]}};});}})}));}[_0xaa7fc(0x302)](){var _0x4f1044=_0xaa7fc,_0x453a27,_0xee6320;const _0x42802f=this['_configService'][_0x4f1044(0xb5)](Ge),_0x5a9c22=this[_0x4f1044(0x20d)][_0x4f1044(0xb5)](Y);return(_0xee6320=(_0x453a27=_0x5a9c22==null?void 0x0:_0x5a9c22[_0x4f1044(0x1e2)])!=null?_0x453a27:_0x42802f)!=null?_0xee6320:wi;}async[_0xaa7fc(0x346)](_0x56a833){var _0x42a9d8=_0xaa7fc;const _0x1eda8c=this['_getAPIPrefixPath']()+'/'+_0x56a833[_0x42a9d8(0x407)]+_0x42a9d8(0x107);return(await this[_0x42a9d8(0x411)][_0x42a9d8(0x2ba)](_0x1eda8c,{'body':_0x56a833}))[_0x42a9d8(0x173)][_0x42a9d8(0x414)]||'';}async['list'](_0x58a251){var _0x2fc245=_0xaa7fc;const _0x1ab122=this['_getAPIPrefixPath']()+_0x2fc245(0x27f);return(await this[_0x2fc245(0x411)]['post'](_0x1ab122,{'body':_0x58a251}))[_0x2fc245(0x173)][_0x2fc245(0x228)];}async['update'](_0x1eefd3){var _0x19eb5b=_0xaa7fc,_0x548b02,_0x450f2a;const _0x388270=this[_0x19eb5b(0x302)]()+'/'+_0x1eefd3['objectType']+_0x19eb5b(0x12e)+_0x1eefd3['objectID'],_0x331a91=await this[_0x19eb5b(0x411)][_0x19eb5b(0x204)](_0x388270,{'body':_0x1eefd3});if(((_0x450f2a=(_0x548b02=_0x331a91==null?void 0x0:_0x331a91['body'])==null?void 0x0:_0x548b02[_0x19eb5b(0x256)])==null?void 0x0:_0x450f2a[_0x19eb5b(0xf3)])!==0x1)throw new Error(_0x19eb5b(0x1c7));}async[_0xaa7fc(0x3bd)](_0x1dbd44){var _0x1af1bc=_0xaa7fc;const _0x292991=this[_0x1af1bc(0x302)]()+'/'+_0x1dbd44[_0x1af1bc(0x407)]+_0x1af1bc(0x12e)+_0x1dbd44['objectID']+'/allowed';return(await this[_0x1af1bc(0x411)][_0x1af1bc(0x2ba)](_0x292991,{'body':_0x1dbd44}))['body'][_0x1af1bc(0x309)];}async[_0xaa7fc(0x340)](_0x1bc9ce){var _0x8205a=_0xaa7fc;const _0x105310=this[_0x8205a(0x302)]()+'/-/object/-/batch_allowed';return(await this[_0x8205a(0x411)][_0x8205a(0x2ba)](_0x105310,{'body':{'requests':_0x1bc9ce}}))['body'][_0x8205a(0xce)];}async['listRoles'](_0x2e8155){var _0x3307a5=_0xaa7fc;const _0x41de9c=this['_getAPIPrefixPath']()+'/'+_0x2e8155['objectType']+_0x3307a5(0x37c),_0x4838c8=await this[_0x3307a5(0x411)]['post'](_0x41de9c,{'body':_0x2e8155});return{'roles':_0x4838c8[_0x3307a5(0x173)]['roles'],'actions':_0x4838c8[_0x3307a5(0x173)][_0x3307a5(0x309)]};}async['deleteCollaborator'](_0x3ea71f){var _0x43a04e=_0xaa7fc;const _0x34352e=this[_0x43a04e(0x302)]()+_0x43a04e(0x353);await this[_0x43a04e(0x411)][_0x43a04e(0x3b1)](_0x34352e,{'params':{'collaboratorID':_0x3ea71f[_0x43a04e(0xdc)],'objectID':_0x3ea71f[_0x43a04e(0x414)],'unitID':_0x3ea71f[_0x43a04e(0x1e1)]}});}async['updateCollaborator'](_0x3ab549){var _0x20c02f=_0xaa7fc;const _0x4ecc8b=this[_0x20c02f(0x302)]()+'/collaborator';await this[_0x20c02f(0x411)][_0x20c02f(0xdf)](_0x4ecc8b,{'body':_0x3ab549});}async[_0xaa7fc(0x3e7)](_0xbb454c){var _0x5db6f4=_0xaa7fc;const _0x142eb1=this[_0x5db6f4(0x302)]()+_0x5db6f4(0x353);await this[_0x5db6f4(0x411)][_0x5db6f4(0x2ba)](_0x142eb1,{'body':_0xbb454c});}async[_0xaa7fc(0x194)](_0x29269){var _0x329f12=_0xaa7fc;const _0x652303=this[_0x329f12(0x302)]()+'/collaborator';return(await this[_0x329f12(0x411)][_0x329f12(0xe9)](_0x652303,{'params':{'objectID':_0x29269[_0x329f12(0x414)],'unitID':_0x29269[_0x329f12(0x1e1)]}}))[_0x329f12(0x173)][_0x329f12(0x165)];}async['putCollaborators'](_0x1635dc){var _0x8fb479=_0xaa7fc;const _0x1391fc=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x8fb479(0x204)](_0x1391fc,{'body':_0x1635dc});}},exports[_0xaa7fc(0x3c8)]=Pi([Xe(0x0,a['Inject'](q[_0xaa7fc(0x1a3)])),Xe(0x1,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x41a)]))],exports[_0xaa7fc(0x3c8)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x1291b9){var _0x8d3450=_0xaa7fc;return _0x1291b9&&_0x1291b9[_0x8d3450(0x29d)]&&Object[_0x8d3450(0x42c)][_0x8d3450(0x2b5)][_0x8d3450(0x247)](_0x1291b9,'default')?_0x1291b9[_0x8d3450(0x3e3)]:_0x1291b9;}var fe={'exports':{}};function Li(_0x80b714){var _0xf09990=_0xaa7fc;throw new Error(_0xf09990(0xd1)+_0x80b714+_0xf09990(0x336));}var pe={'exports':{}},Mi=pe[_0xaa7fc(0x343)],Ze;function ee(){var _0x2c6d56=_0xaa7fc;return Ze||(Ze=0x1,function(_0x2dee79,_0x38358e){(function(_0x5e848a,_0x45c89a){var _0x41bde5=_0x453e;_0x2dee79[_0x41bde5(0x343)]=_0x45c89a();}(Mi,function(){var _0x10b363=_0x10b363||function(_0x5c1467,_0x46f1c7){var _0x335aa4=_0x453e,_0x41ec2d;if(typeof window<'u'&&window[_0x335aa4(0x110)]&&(_0x41ec2d=window[_0x335aa4(0x110)]),typeof self<'u'&&self[_0x335aa4(0x110)]&&(_0x41ec2d=self[_0x335aa4(0x110)]),typeof globalThis<'u'&&globalThis[_0x335aa4(0x110)]&&(_0x41ec2d=globalThis[_0x335aa4(0x110)]),!_0x41ec2d&&typeof window<'u'&&window[_0x335aa4(0x19f)]&&(_0x41ec2d=window['msCrypto']),!_0x41ec2d&&typeof Le<'u'&&Le[_0x335aa4(0x110)]&&(_0x41ec2d=Le[_0x335aa4(0x110)]),!_0x41ec2d&&typeof Li=='function')try{_0x41ec2d=require('crypto');}catch{}var _0x2f3a77=function(){var _0x5dfc47=_0x335aa4;if(_0x41ec2d){if(typeof _0x41ec2d[_0x5dfc47(0x265)]=='function')try{return _0x41ec2d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x41ec2d[_0x5dfc47(0x3c5)]==_0x5dfc47(0x35b))try{return _0x41ec2d[_0x5dfc47(0x3c5)](0x4)[_0x5dfc47(0x2a4)]();}catch{}}throw new Error(_0x5dfc47(0x1b3));},_0x40e0e0=Object['create']||(function(){function _0x6963c7(){}return function(_0x2694fb){var _0x4f4955=_0x453e,_0x170fdd;return _0x6963c7['prototype']=_0x2694fb,_0x170fdd=new _0x6963c7(),_0x6963c7[_0x4f4955(0x42c)]=null,_0x170fdd;};}()),_0x453986={},_0x479e9e=_0x453986[_0x335aa4(0x277)]={},_0x387cf4=_0x479e9e[_0x335aa4(0xed)]=(function(){return{'extend':function(_0x450d6b){var _0x492d4d=_0x453e,_0x140cf3=_0x40e0e0(this);return _0x450d6b&&_0x140cf3[_0x492d4d(0x215)](_0x450d6b),(!_0x140cf3[_0x492d4d(0x2b5)](_0x492d4d(0xd9))||this[_0x492d4d(0xd9)]===_0x140cf3[_0x492d4d(0xd9)])&&(_0x140cf3['init']=function(){var _0x1e49e3=_0x492d4d;_0x140cf3[_0x1e49e3(0x354)][_0x1e49e3(0xd9)][_0x1e49e3(0x2c5)](this,arguments);}),_0x140cf3[_0x492d4d(0xd9)][_0x492d4d(0x42c)]=_0x140cf3,_0x140cf3[_0x492d4d(0x354)]=this,_0x140cf3;},'create':function(){var _0x1a8925=_0x453e,_0x1c5ecb=this[_0x1a8925(0x183)]();return _0x1c5ecb['init']['apply'](_0x1c5ecb,arguments),_0x1c5ecb;},'init':function(){},'mixIn':function(_0x593455){var _0x577e61=_0x453e;for(var _0x3a45f9 in _0x593455)_0x593455[_0x577e61(0x2b5)](_0x3a45f9)&&(this[_0x3a45f9]=_0x593455[_0x3a45f9]);_0x593455[_0x577e61(0x2b5)](_0x577e61(0x2a8))&&(this[_0x577e61(0x2a8)]=_0x593455[_0x577e61(0x2a8)]);},'clone':function(){var _0x4212e0=_0x453e;return this['init'][_0x4212e0(0x42c)]['extend'](this);}};}()),_0x297344=_0x479e9e[_0x335aa4(0x15f)]=_0x387cf4[_0x335aa4(0x183)]({'init':function(_0x563882,_0x362803){var _0x4e98c1=_0x335aa4;_0x563882=this[_0x4e98c1(0x2c9)]=_0x563882||[],_0x362803!=_0x46f1c7?this['sigBytes']=_0x362803:this['sigBytes']=_0x563882[_0x4e98c1(0x3b0)]*0x4;},'toString':function(_0x316f1e){var _0x5d4394=_0x335aa4;return(_0x316f1e||_0x3a260e)[_0x5d4394(0x10f)](this);},'concat':function(_0x110170){var _0xab5f86=_0x335aa4,_0x15f6ac=this[_0xab5f86(0x2c9)],_0x3d5ed8=_0x110170[_0xab5f86(0x2c9)],_0x4803ba=this[_0xab5f86(0x1fd)],_0x5b1b41=_0x110170[_0xab5f86(0x1fd)];if(this[_0xab5f86(0xd0)](),_0x4803ba%0x4)for(var _0x41cd94=0x0;_0x41cd94<_0x5b1b41;_0x41cd94++){var _0x38941b=_0x3d5ed8[_0x41cd94>>>0x2]>>>0x18-_0x41cd94%0x4*0x8&0xff;_0x15f6ac[_0x4803ba+_0x41cd94>>>0x2]|=_0x38941b<<0x18-(_0x4803ba+_0x41cd94)%0x4*0x8;}else{for(var _0x4d2947=0x0;_0x4d2947<_0x5b1b41;_0x4d2947+=0x4)_0x15f6ac[_0x4803ba+_0x4d2947>>>0x2]=_0x3d5ed8[_0x4d2947>>>0x2];}return this['sigBytes']+=_0x5b1b41,this;},'clamp':function(){var _0x5d52ed=_0x335aa4,_0x3b1bb1=this[_0x5d52ed(0x2c9)],_0x4865ba=this['sigBytes'];_0x3b1bb1[_0x4865ba>>>0x2]&=0xffffffff<<0x20-_0x4865ba%0x4*0x8,_0x3b1bb1[_0x5d52ed(0x3b0)]=_0x5c1467[_0x5d52ed(0x1af)](_0x4865ba/0x4);},'clone':function(){var _0x392b48=_0x335aa4,_0x24dac7=_0x387cf4['clone'][_0x392b48(0x247)](this);return _0x24dac7[_0x392b48(0x2c9)]=this['words'][_0x392b48(0x161)](0x0),_0x24dac7;},'random':function(_0xb08f71){var _0x48ed96=_0x335aa4;for(var _0x59176c=[],_0x518581=0x0;_0x518581<_0xb08f71;_0x518581+=0x4)_0x59176c[_0x48ed96(0x3d0)](_0x2f3a77());return new _0x297344[(_0x48ed96(0xd9))](_0x59176c,_0xb08f71);}}),_0x409677=_0x453986[_0x335aa4(0x37a)]={},_0x3a260e=_0x409677[_0x335aa4(0xf1)]={'stringify':function(_0x4ae248){var _0x133b7e=_0x335aa4;for(var _0x2a5d69=_0x4ae248[_0x133b7e(0x2c9)],_0x5171b3=_0x4ae248['sigBytes'],_0x13e3be=[],_0x479a59=0x0;_0x479a59<_0x5171b3;_0x479a59++){var _0x145bc3=_0x2a5d69[_0x479a59>>>0x2]>>>0x18-_0x479a59%0x4*0x8&0xff;_0x13e3be['push']((_0x145bc3>>>0x4)['toString'](0x10)),_0x13e3be[_0x133b7e(0x3d0)]((_0x145bc3&0xf)[_0x133b7e(0x2a8)](0x10));}return _0x13e3be[_0x133b7e(0x3d4)]('');},'parse':function(_0x18e15f){var _0x57706=_0x335aa4;for(var _0x1e9324=_0x18e15f[_0x57706(0x3b0)],_0x85734f=[],_0x3b5185=0x0;_0x3b5185<_0x1e9324;_0x3b5185+=0x2)_0x85734f[_0x3b5185>>>0x3]|=parseInt(_0x18e15f[_0x57706(0x1b6)](_0x3b5185,0x2),0x10)<<0x18-_0x3b5185%0x8*0x4;return new _0x297344[(_0x57706(0xd9))](_0x85734f,_0x1e9324/0x2);}},_0x4eca60=_0x409677[_0x335aa4(0x37e)]={'stringify':function(_0x4de9bb){var _0x3dcaf9=_0x335aa4;for(var _0x126504=_0x4de9bb['words'],_0x6423ac=_0x4de9bb[_0x3dcaf9(0x1fd)],_0x1f52ec=[],_0x45c667=0x0;_0x45c667<_0x6423ac;_0x45c667++){var _0x3e7755=_0x126504[_0x45c667>>>0x2]>>>0x18-_0x45c667%0x4*0x8&0xff;_0x1f52ec[_0x3dcaf9(0x3d0)](String['fromCharCode'](_0x3e7755));}return _0x1f52ec['join']('');},'parse':function(_0x15ddaa){var _0x29c6ff=_0x335aa4;for(var _0xb84553=_0x15ddaa[_0x29c6ff(0x3b0)],_0x5a245e=[],_0x12cba4=0x0;_0x12cba4<_0xb84553;_0x12cba4++)_0x5a245e[_0x12cba4>>>0x2]|=(_0x15ddaa['charCodeAt'](_0x12cba4)&0xff)<<0x18-_0x12cba4%0x4*0x8;return new _0x297344[(_0x29c6ff(0xd9))](_0x5a245e,_0xb84553);}},_0x2c35ad=_0x409677['Utf8']={'stringify':function(_0x51d6a3){var _0x588993=_0x335aa4;try{return decodeURIComponent(escape(_0x4eca60[_0x588993(0x10f)](_0x51d6a3)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x44a9ee){var _0x15fc7a=_0x335aa4;return _0x4eca60[_0x15fc7a(0x332)](unescape(encodeURIComponent(_0x44a9ee)));}},_0x4a08ef=_0x479e9e[_0x335aa4(0x3cf)]=_0x387cf4['extend']({'reset':function(){var _0x109e37=_0x335aa4;this['_data']=new _0x297344[(_0x109e37(0xd9))](),this[_0x109e37(0x391)]=0x0;},'_append':function(_0x2773a9){var _0x59f180=_0x335aa4;typeof _0x2773a9=='string'&&(_0x2773a9=_0x2c35ad[_0x59f180(0x332)](_0x2773a9)),this[_0x59f180(0x358)][_0x59f180(0x1f8)](_0x2773a9),this[_0x59f180(0x391)]+=_0x2773a9['sigBytes'];},'_process':function(_0x1cd361){var _0x340bf8=_0x335aa4,_0x244e99,_0x53189f=this[_0x340bf8(0x358)],_0x24e9ee=_0x53189f[_0x340bf8(0x2c9)],_0x473c88=_0x53189f[_0x340bf8(0x1fd)],_0x324955=this['blockSize'],_0x3d28d5=_0x324955*0x4,_0x1735f7=_0x473c88/_0x3d28d5;_0x1cd361?_0x1735f7=_0x5c1467[_0x340bf8(0x1af)](_0x1735f7):_0x1735f7=_0x5c1467[_0x340bf8(0x293)]((_0x1735f7|0x0)-this[_0x340bf8(0x397)],0x0);var _0x1fa88d=_0x1735f7*_0x324955,_0x26c667=_0x5c1467[_0x340bf8(0x254)](_0x1fa88d*0x4,_0x473c88);if(_0x1fa88d){for(var _0x2889d0=0x0;_0x2889d0<_0x1fa88d;_0x2889d0+=_0x324955)this[_0x340bf8(0x3df)](_0x24e9ee,_0x2889d0);_0x244e99=_0x24e9ee[_0x340bf8(0x42d)](0x0,_0x1fa88d),_0x53189f[_0x340bf8(0x1fd)]-=_0x26c667;}return new _0x297344[(_0x340bf8(0xd9))](_0x244e99,_0x26c667);},'clone':function(){var _0x22d340=_0x335aa4,_0x5e93fe=_0x387cf4[_0x22d340(0x18f)][_0x22d340(0x247)](this);return _0x5e93fe['_data']=this[_0x22d340(0x358)][_0x22d340(0x18f)](),_0x5e93fe;},'_minBufferSize':0x0});_0x479e9e[_0x335aa4(0x140)]=_0x4a08ef[_0x335aa4(0x183)]({'cfg':_0x387cf4[_0x335aa4(0x183)](),'init':function(_0xad2faa){var _0x44451c=_0x335aa4;this[_0x44451c(0x269)]=this[_0x44451c(0x269)][_0x44451c(0x183)](_0xad2faa),this['reset']();},'reset':function(){var _0x1db92a=_0x335aa4;_0x4a08ef['reset'][_0x1db92a(0x247)](this),this[_0x1db92a(0x1e4)]();},'update':function(_0xe43a54){return this['_append'](_0xe43a54),this['_process'](),this;},'finalize':function(_0x4a7d90){var _0x28c9fd=_0x335aa4;_0x4a7d90&&this[_0x28c9fd(0x1b9)](_0x4a7d90);var _0x14d5c7=this[_0x28c9fd(0x2b1)]();return _0x14d5c7;},'blockSize':0x10,'_createHelper':function(_0x53da43){return function(_0x3bcc03,_0x1d3d42){var _0x1764ad=_0x453e;return new _0x53da43[(_0x1764ad(0xd9))](_0x1d3d42)['finalize'](_0x3bcc03);};},'_createHmacHelper':function(_0x37babd){return function(_0x38a61b,_0x8bd1ef){var _0x1eef84=_0x453e;return new _0x11f4ed[(_0x1eef84(0x3e6))][(_0x1eef84(0xd9))](_0x37babd,_0x8bd1ef)[_0x1eef84(0x3ed)](_0x38a61b);};}});var _0x11f4ed=_0x453986[_0x335aa4(0x3a1)]={};return _0x453986;}(Math);return _0x10b363;}));}(pe)),pe[_0x2c6d56(0x343)];}var ge={'exports':{}},xi=ge[_0xaa7fc(0x343)],Qe;function Ut(){var _0x388237=_0xaa7fc;return Qe||(Qe=0x1,function(_0x336b68,_0x1f67f4){(function(_0x5decd8,_0x547b02){var _0x1319dd=_0x453e;_0x336b68[_0x1319dd(0x343)]=_0x547b02(ee());}(xi,function(_0x2177a5){var _0x1acaf5=_0x453e;return(function(){var _0x3da166=_0x453e,_0x11b32c=_0x2177a5,_0x5c8b02=_0x11b32c[_0x3da166(0x277)],_0x1414c9=_0x5c8b02[_0x3da166(0x15f)],_0x18f4e8=_0x11b32c[_0x3da166(0x37a)];_0x18f4e8[_0x3da166(0x352)]={'stringify':function(_0x61d72c){var _0x4ec5fc=_0x3da166,_0x17f965=_0x61d72c[_0x4ec5fc(0x2c9)],_0x58b65b=_0x61d72c[_0x4ec5fc(0x1fd)],_0x44c28a=this[_0x4ec5fc(0x27a)];_0x61d72c['clamp']();for(var _0x1b2d9b=[],_0x18acb8=0x0;_0x18acb8<_0x58b65b;_0x18acb8+=0x3)for(var _0x323901=_0x17f965[_0x18acb8>>>0x2]>>>0x18-_0x18acb8%0x4*0x8&0xff,_0x3cbf7b=_0x17f965[_0x18acb8+0x1>>>0x2]>>>0x18-(_0x18acb8+0x1)%0x4*0x8&0xff,_0x229dd6=_0x17f965[_0x18acb8+0x2>>>0x2]>>>0x18-(_0x18acb8+0x2)%0x4*0x8&0xff,_0x2e88c2=_0x323901<<0x10|_0x3cbf7b<<0x8|_0x229dd6,_0x21c4ca=0x0;_0x21c4ca<0x4&&_0x18acb8+_0x21c4ca*0.75<_0x58b65b;_0x21c4ca++)_0x1b2d9b[_0x4ec5fc(0x3d0)](_0x44c28a[_0x4ec5fc(0x133)](_0x2e88c2>>>0x6*(0x3-_0x21c4ca)&0x3f));var _0x3efa01=_0x44c28a['charAt'](0x40);if(_0x3efa01){for(;_0x1b2d9b[_0x4ec5fc(0x3b0)]%0x4;)_0x1b2d9b[_0x4ec5fc(0x3d0)](_0x3efa01);}return _0x1b2d9b[_0x4ec5fc(0x3d4)]('');},'parse':function(_0x3ffd14){var _0x2271e0=_0x3da166,_0x3d4e51=_0x3ffd14['length'],_0x4a1e28=this[_0x2271e0(0x27a)],_0x21180d=this[_0x2271e0(0x124)];if(!_0x21180d){_0x21180d=this['_reverseMap']=[];for(var _0x77fcf=0x0;_0x77fcf<_0x4a1e28[_0x2271e0(0x3b0)];_0x77fcf++)_0x21180d[_0x4a1e28[_0x2271e0(0x3c7)](_0x77fcf)]=_0x77fcf;}var _0x27d02a=_0x4a1e28[_0x2271e0(0x133)](0x40);if(_0x27d02a){var _0x3c5665=_0x3ffd14[_0x2271e0(0x24f)](_0x27d02a);_0x3c5665!==-0x1&&(_0x3d4e51=_0x3c5665);}return _0x51dcfe(_0x3ffd14,_0x3d4e51,_0x21180d);},'_map':_0x3da166(0x41c)};function _0x51dcfe(_0x2c1e54,_0x53c216,_0x5778aa){var _0x53c5bd=_0x3da166;for(var _0x53c65e=[],_0x450b8c=0x0,_0x3afe71=0x0;_0x3afe71<_0x53c216;_0x3afe71++)if(_0x3afe71%0x4){var _0x17fe6f=_0x5778aa[_0x2c1e54[_0x53c5bd(0x3c7)](_0x3afe71-0x1)]<<_0x3afe71%0x4*0x2,_0x52b84b=_0x5778aa[_0x2c1e54[_0x53c5bd(0x3c7)](_0x3afe71)]>>>0x6-_0x3afe71%0x4*0x2,_0x2532d8=_0x17fe6f|_0x52b84b;_0x53c65e[_0x450b8c>>>0x2]|=_0x2532d8<<0x18-_0x450b8c%0x4*0x8,_0x450b8c++;}return _0x1414c9[_0x53c5bd(0x346)](_0x53c65e,_0x450b8c);}}()),_0x2177a5[_0x1acaf5(0x37a)][_0x1acaf5(0x352)];}));}(ge)),ge[_0x388237(0x343)];}var me={'exports':{}},ki=me[_0xaa7fc(0x343)],et;function Hi(){return et||(et=0x1,function(_0x13d181,_0x322f1e){(function(_0x90b2aa,_0x62d58b){var _0xf3fdc=_0x453e;_0x13d181[_0xf3fdc(0x343)]=_0x62d58b(ee());}(ki,function(_0x2e687f){var _0x5d2c26=_0x453e;return function(_0x4d9a91){var _0x31056c=_0x453e,_0x4dc801=_0x2e687f,_0x18acca=_0x4dc801[_0x31056c(0x277)],_0x857f02=_0x18acca[_0x31056c(0x15f)],_0x107f9e=_0x18acca['Hasher'],_0x2f591f=_0x4dc801[_0x31056c(0x3a1)],_0x36f0d6=[];(function(){var _0x5c5c4d=_0x31056c;for(var _0x10ccc1=0x0;_0x10ccc1<0x40;_0x10ccc1++)_0x36f0d6[_0x10ccc1]=_0x4d9a91[_0x5c5c4d(0x42a)](_0x4d9a91[_0x5c5c4d(0xe6)](_0x10ccc1+0x1))*0x100000000|0x0;}());var _0x5ed191=_0x2f591f[_0x31056c(0x239)]=_0x107f9e['extend']({'_doReset':function(){var _0x2939e0=_0x31056c;this[_0x2939e0(0x229)]=new _0x857f02[(_0x2939e0(0xd9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x253b87,_0x4e1c9f){var _0x2b028b=_0x31056c;for(var _0x3e418a=0x0;_0x3e418a<0x10;_0x3e418a++){var _0x5c5b85=_0x4e1c9f+_0x3e418a,_0x3d8c8f=_0x253b87[_0x5c5b85];_0x253b87[_0x5c5b85]=(_0x3d8c8f<<0x8|_0x3d8c8f>>>0x18)&0xff00ff|(_0x3d8c8f<<0x18|_0x3d8c8f>>>0x8)&0xff00ff00;}var _0xd35f80=this[_0x2b028b(0x229)][_0x2b028b(0x2c9)],_0x4f79a1=_0x253b87[_0x4e1c9f+0x0],_0x3b934a=_0x253b87[_0x4e1c9f+0x1],_0x30296f=_0x253b87[_0x4e1c9f+0x2],_0x15df8a=_0x253b87[_0x4e1c9f+0x3],_0x9bf9a3=_0x253b87[_0x4e1c9f+0x4],_0x55dc7c=_0x253b87[_0x4e1c9f+0x5],_0x1a0c98=_0x253b87[_0x4e1c9f+0x6],_0x318f99=_0x253b87[_0x4e1c9f+0x7],_0x396e43=_0x253b87[_0x4e1c9f+0x8],_0x283276=_0x253b87[_0x4e1c9f+0x9],_0x15decc=_0x253b87[_0x4e1c9f+0xa],_0x2efe63=_0x253b87[_0x4e1c9f+0xb],_0x25fb7d=_0x253b87[_0x4e1c9f+0xc],_0x53f48a=_0x253b87[_0x4e1c9f+0xd],_0x3a797c=_0x253b87[_0x4e1c9f+0xe],_0x38e5fd=_0x253b87[_0x4e1c9f+0xf],_0x1a9d96=_0xd35f80[0x0],_0x2dd3c7=_0xd35f80[0x1],_0x395ed0=_0xd35f80[0x2],_0x59bf2a=_0xd35f80[0x3];_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x4f79a1,0x7,_0x36f0d6[0x0]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x3b934a,0xc,_0x36f0d6[0x1]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x30296f,0x11,_0x36f0d6[0x2]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x15df8a,0x16,_0x36f0d6[0x3]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x9bf9a3,0x7,_0x36f0d6[0x4]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x55dc7c,0xc,_0x36f0d6[0x5]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x1a0c98,0x11,_0x36f0d6[0x6]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x318f99,0x16,_0x36f0d6[0x7]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x396e43,0x7,_0x36f0d6[0x8]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x283276,0xc,_0x36f0d6[0x9]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15decc,0x11,_0x36f0d6[0xa]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2efe63,0x16,_0x36f0d6[0xb]),_0x1a9d96=_0x90ecdf(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x25fb7d,0x7,_0x36f0d6[0xc]),_0x59bf2a=_0x90ecdf(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x53f48a,0xc,_0x36f0d6[0xd]),_0x395ed0=_0x90ecdf(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x3a797c,0x11,_0x36f0d6[0xe]),_0x2dd3c7=_0x90ecdf(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x38e5fd,0x16,_0x36f0d6[0xf]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x3b934a,0x5,_0x36f0d6[0x10]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x1a0c98,0x9,_0x36f0d6[0x11]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x2efe63,0xe,_0x36f0d6[0x12]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x4f79a1,0x14,_0x36f0d6[0x13]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x55dc7c,0x5,_0x36f0d6[0x14]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x15decc,0x9,_0x36f0d6[0x15]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x38e5fd,0xe,_0x36f0d6[0x16]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x9bf9a3,0x14,_0x36f0d6[0x17]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x283276,0x5,_0x36f0d6[0x18]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x3a797c,0x9,_0x36f0d6[0x19]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15df8a,0xe,_0x36f0d6[0x1a]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x396e43,0x14,_0x36f0d6[0x1b]),_0x1a9d96=_0x12d7b6(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x53f48a,0x5,_0x36f0d6[0x1c]),_0x59bf2a=_0x12d7b6(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x30296f,0x9,_0x36f0d6[0x1d]),_0x395ed0=_0x12d7b6(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x318f99,0xe,_0x36f0d6[0x1e]),_0x2dd3c7=_0x12d7b6(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x25fb7d,0x14,_0x36f0d6[0x1f]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x55dc7c,0x4,_0x36f0d6[0x20]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x396e43,0xb,_0x36f0d6[0x21]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x2efe63,0x10,_0x36f0d6[0x22]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x3a797c,0x17,_0x36f0d6[0x23]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x3b934a,0x4,_0x36f0d6[0x24]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x9bf9a3,0xb,_0x36f0d6[0x25]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x318f99,0x10,_0x36f0d6[0x26]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x15decc,0x17,_0x36f0d6[0x27]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x53f48a,0x4,_0x36f0d6[0x28]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x4f79a1,0xb,_0x36f0d6[0x29]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15df8a,0x10,_0x36f0d6[0x2a]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x1a0c98,0x17,_0x36f0d6[0x2b]),_0x1a9d96=_0x3a7fe1(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x283276,0x4,_0x36f0d6[0x2c]),_0x59bf2a=_0x3a7fe1(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x25fb7d,0xb,_0x36f0d6[0x2d]),_0x395ed0=_0x3a7fe1(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x38e5fd,0x10,_0x36f0d6[0x2e]),_0x2dd3c7=_0x3a7fe1(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x30296f,0x17,_0x36f0d6[0x2f]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x4f79a1,0x6,_0x36f0d6[0x30]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x318f99,0xa,_0x36f0d6[0x31]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x3a797c,0xf,_0x36f0d6[0x32]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x55dc7c,0x15,_0x36f0d6[0x33]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x25fb7d,0x6,_0x36f0d6[0x34]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x15df8a,0xa,_0x36f0d6[0x35]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x15decc,0xf,_0x36f0d6[0x36]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x3b934a,0x15,_0x36f0d6[0x37]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x396e43,0x6,_0x36f0d6[0x38]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x38e5fd,0xa,_0x36f0d6[0x39]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x1a0c98,0xf,_0x36f0d6[0x3a]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x53f48a,0x15,_0x36f0d6[0x3b]),_0x1a9d96=_0x2e9ea5(_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x9bf9a3,0x6,_0x36f0d6[0x3c]),_0x59bf2a=_0x2e9ea5(_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x395ed0,_0x2efe63,0xa,_0x36f0d6[0x3d]),_0x395ed0=_0x2e9ea5(_0x395ed0,_0x59bf2a,_0x1a9d96,_0x2dd3c7,_0x30296f,0xf,_0x36f0d6[0x3e]),_0x2dd3c7=_0x2e9ea5(_0x2dd3c7,_0x395ed0,_0x59bf2a,_0x1a9d96,_0x283276,0x15,_0x36f0d6[0x3f]),_0xd35f80[0x0]=_0xd35f80[0x0]+_0x1a9d96|0x0,_0xd35f80[0x1]=_0xd35f80[0x1]+_0x2dd3c7|0x0,_0xd35f80[0x2]=_0xd35f80[0x2]+_0x395ed0|0x0,_0xd35f80[0x3]=_0xd35f80[0x3]+_0x59bf2a|0x0;},'_doFinalize':function(){var _0x465994=_0x31056c,_0x1f7660=this['_data'],_0x5e0d40=_0x1f7660[_0x465994(0x2c9)],_0x2246d4=this[_0x465994(0x391)]*0x8,_0x1dc36f=_0x1f7660[_0x465994(0x1fd)]*0x8;_0x5e0d40[_0x1dc36f>>>0x5]|=0x80<<0x18-_0x1dc36f%0x20;var _0x5c4515=_0x4d9a91[_0x465994(0x40d)](_0x2246d4/0x100000000),_0x14592f=_0x2246d4;_0x5e0d40[(_0x1dc36f+0x40>>>0x9<<0x4)+0xf]=(_0x5c4515<<0x8|_0x5c4515>>>0x18)&0xff00ff|(_0x5c4515<<0x18|_0x5c4515>>>0x8)&0xff00ff00,_0x5e0d40[(_0x1dc36f+0x40>>>0x9<<0x4)+0xe]=(_0x14592f<<0x8|_0x14592f>>>0x18)&0xff00ff|(_0x14592f<<0x18|_0x14592f>>>0x8)&0xff00ff00,_0x1f7660[_0x465994(0x1fd)]=(_0x5e0d40[_0x465994(0x3b0)]+0x1)*0x4,this['_process']();for(var _0x128193=this[_0x465994(0x229)],_0x1a71cf=_0x128193[_0x465994(0x2c9)],_0xac1211=0x0;_0xac1211<0x4;_0xac1211++){var _0x58f823=_0x1a71cf[_0xac1211];_0x1a71cf[_0xac1211]=(_0x58f823<<0x8|_0x58f823>>>0x18)&0xff00ff|(_0x58f823<<0x18|_0x58f823>>>0x8)&0xff00ff00;}return _0x128193;},'clone':function(){var _0x23de6a=_0x31056c,_0x3db6d5=_0x107f9e[_0x23de6a(0x18f)][_0x23de6a(0x247)](this);return _0x3db6d5[_0x23de6a(0x229)]=this[_0x23de6a(0x229)]['clone'](),_0x3db6d5;}});function _0x90ecdf(_0x43ebc4,_0x51c8b4,_0x236e16,_0x22e48f,_0x314725,_0xeef834,_0x598b77){var _0x46254d=_0x43ebc4+(_0x51c8b4&_0x236e16|~_0x51c8b4&_0x22e48f)+_0x314725+_0x598b77;return(_0x46254d<<_0xeef834|_0x46254d>>>0x20-_0xeef834)+_0x51c8b4;}function _0x12d7b6(_0x276fbd,_0x20c0f9,_0x4c0bfb,_0x34fb63,_0x1bbf74,_0x38f276,_0x208d1d){var _0xb31612=_0x276fbd+(_0x20c0f9&_0x34fb63|_0x4c0bfb&~_0x34fb63)+_0x1bbf74+_0x208d1d;return(_0xb31612<<_0x38f276|_0xb31612>>>0x20-_0x38f276)+_0x20c0f9;}function _0x3a7fe1(_0x31fd9b,_0x48058d,_0x56449a,_0x568793,_0x2a738b,_0x36a4e1,_0x363eb3){var _0x281ac0=_0x31fd9b+(_0x48058d^_0x56449a^_0x568793)+_0x2a738b+_0x363eb3;return(_0x281ac0<<_0x36a4e1|_0x281ac0>>>0x20-_0x36a4e1)+_0x48058d;}function _0x2e9ea5(_0xcfa353,_0x559955,_0x5b3810,_0x1f6620,_0x4305b6,_0x27c6e8,_0x3c4362){var _0x4217d3=_0xcfa353+(_0x5b3810^(_0x559955|~_0x1f6620))+_0x4305b6+_0x3c4362;return(_0x4217d3<<_0x27c6e8|_0x4217d3>>>0x20-_0x27c6e8)+_0x559955;}_0x4dc801['MD5']=_0x107f9e['_createHelper'](_0x5ed191),_0x4dc801['HmacMD5']=_0x107f9e[_0x31056c(0x3c3)](_0x5ed191);}(Math),_0x2e687f[_0x5d2c26(0x239)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0xaa7fc(0x343)],tt;function $i(){return tt||(tt=0x1,function(_0x16f1fb,_0x3c039b){(function(_0x3072b2,_0x4588c2){_0x16f1fb['exports']=_0x4588c2(ee());}(ji,function(_0x441202){var _0x21f42d=_0x453e;return(function(){var _0x519cce=_0x453e,_0x5807cd=_0x441202,_0x121747=_0x5807cd[_0x519cce(0x277)],_0xad1f12=_0x121747[_0x519cce(0x15f)],_0x4f4be4=_0x121747[_0x519cce(0x140)],_0x49e510=_0x5807cd[_0x519cce(0x3a1)],_0x1324d1=[],_0x45d773=_0x49e510[_0x519cce(0x21d)]=_0x4f4be4[_0x519cce(0x183)]({'_doReset':function(){this['_hash']=new _0xad1f12['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x210c72,_0x100ae5){var _0x2dc29a=_0x519cce;for(var _0x5a9a4e=this['_hash'][_0x2dc29a(0x2c9)],_0x492448=_0x5a9a4e[0x0],_0x5ccbec=_0x5a9a4e[0x1],_0x1acfec=_0x5a9a4e[0x2],_0x3232c3=_0x5a9a4e[0x3],_0x573ed6=_0x5a9a4e[0x4],_0x3e2a38=0x0;_0x3e2a38<0x50;_0x3e2a38++){if(_0x3e2a38<0x10)_0x1324d1[_0x3e2a38]=_0x210c72[_0x100ae5+_0x3e2a38]|0x0;else{var _0x414bd0=_0x1324d1[_0x3e2a38-0x3]^_0x1324d1[_0x3e2a38-0x8]^_0x1324d1[_0x3e2a38-0xe]^_0x1324d1[_0x3e2a38-0x10];_0x1324d1[_0x3e2a38]=_0x414bd0<<0x1|_0x414bd0>>>0x1f;}var _0x929b2f=(_0x492448<<0x5|_0x492448>>>0x1b)+_0x573ed6+_0x1324d1[_0x3e2a38];_0x3e2a38<0x14?_0x929b2f+=(_0x5ccbec&_0x1acfec|~_0x5ccbec&_0x3232c3)+0x5a827999:_0x3e2a38<0x28?_0x929b2f+=(_0x5ccbec^_0x1acfec^_0x3232c3)+0x6ed9eba1:_0x3e2a38<0x3c?_0x929b2f+=(_0x5ccbec&_0x1acfec|_0x5ccbec&_0x3232c3|_0x1acfec&_0x3232c3)-0x70e44324:_0x929b2f+=(_0x5ccbec^_0x1acfec^_0x3232c3)-0x359d3e2a,_0x573ed6=_0x3232c3,_0x3232c3=_0x1acfec,_0x1acfec=_0x5ccbec<<0x1e|_0x5ccbec>>>0x2,_0x5ccbec=_0x492448,_0x492448=_0x929b2f;}_0x5a9a4e[0x0]=_0x5a9a4e[0x0]+_0x492448|0x0,_0x5a9a4e[0x1]=_0x5a9a4e[0x1]+_0x5ccbec|0x0,_0x5a9a4e[0x2]=_0x5a9a4e[0x2]+_0x1acfec|0x0,_0x5a9a4e[0x3]=_0x5a9a4e[0x3]+_0x3232c3|0x0,_0x5a9a4e[0x4]=_0x5a9a4e[0x4]+_0x573ed6|0x0;},'_doFinalize':function(){var _0xecf5e5=_0x519cce,_0x54269d=this[_0xecf5e5(0x358)],_0xe1a4d2=_0x54269d[_0xecf5e5(0x2c9)],_0x4fd513=this[_0xecf5e5(0x391)]*0x8,_0x567c7e=_0x54269d['sigBytes']*0x8;return _0xe1a4d2[_0x567c7e>>>0x5]|=0x80<<0x18-_0x567c7e%0x20,_0xe1a4d2[(_0x567c7e+0x40>>>0x9<<0x4)+0xe]=Math[_0xecf5e5(0x40d)](_0x4fd513/0x100000000),_0xe1a4d2[(_0x567c7e+0x40>>>0x9<<0x4)+0xf]=_0x4fd513,_0x54269d[_0xecf5e5(0x1fd)]=_0xe1a4d2[_0xecf5e5(0x3b0)]*0x4,this[_0xecf5e5(0x3e4)](),this[_0xecf5e5(0x229)];},'clone':function(){var _0x20c0b5=_0x519cce,_0x4c7ce5=_0x4f4be4[_0x20c0b5(0x18f)][_0x20c0b5(0x247)](this);return _0x4c7ce5[_0x20c0b5(0x229)]=this['_hash'][_0x20c0b5(0x18f)](),_0x4c7ce5;}});_0x5807cd[_0x519cce(0x21d)]=_0x4f4be4[_0x519cce(0x273)](_0x45d773),_0x5807cd[_0x519cce(0x3f6)]=_0x4f4be4[_0x519cce(0x3c3)](_0x45d773);}()),_0x441202[_0x21f42d(0x21d)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0xaa7fc(0x343)],it;function Fi(){var _0x5de118=_0xaa7fc;return it||(it=0x1,function(_0x2b29f7,_0x4d3a2b){(function(_0x2f341a,_0x12144d){var _0x279486=_0x453e;_0x2b29f7[_0x279486(0x343)]=_0x12144d(ee());}(Bi,function(_0x24e7d7){(function(){var _0x4fb4b5=_0x453e,_0x498ca6=_0x24e7d7,_0x5358ea=_0x498ca6[_0x4fb4b5(0x277)],_0x159abe=_0x5358ea['Base'],_0x179078=_0x498ca6['enc'],_0x627e18=_0x179078[_0x4fb4b5(0x38b)],_0x500d00=_0x498ca6[_0x4fb4b5(0x3a1)];_0x500d00[_0x4fb4b5(0x3e6)]=_0x159abe[_0x4fb4b5(0x183)]({'init':function(_0xa8f6bc,_0x3e27ff){var _0x348f11=_0x4fb4b5;_0xa8f6bc=this['_hasher']=new _0xa8f6bc[(_0x348f11(0xd9))](),typeof _0x3e27ff=='string'&&(_0x3e27ff=_0x627e18[_0x348f11(0x332)](_0x3e27ff));var _0x2ee819=_0xa8f6bc[_0x348f11(0x109)],_0x10783f=_0x2ee819*0x4;_0x3e27ff['sigBytes']>_0x10783f&&(_0x3e27ff=_0xa8f6bc[_0x348f11(0x3ed)](_0x3e27ff)),_0x3e27ff[_0x348f11(0xd0)]();for(var _0x4dc3df=this['_oKey']=_0x3e27ff[_0x348f11(0x18f)](),_0x586908=this['_iKey']=_0x3e27ff[_0x348f11(0x18f)](),_0x5df65c=_0x4dc3df[_0x348f11(0x2c9)],_0x3cf442=_0x586908['words'],_0x2a287e=0x0;_0x2a287e<_0x2ee819;_0x2a287e++)_0x5df65c[_0x2a287e]^=0x5c5c5c5c,_0x3cf442[_0x2a287e]^=0x36363636;_0x4dc3df['sigBytes']=_0x586908[_0x348f11(0x1fd)]=_0x10783f,this[_0x348f11(0x3b2)]();},'reset':function(){var _0xf820f2=_0x4fb4b5,_0x222282=this[_0xf820f2(0x1f9)];_0x222282['reset'](),_0x222282['update'](this['_iKey']);},'update':function(_0x28a0b8){var _0x30143b=_0x4fb4b5;return this['_hasher'][_0x30143b(0x295)](_0x28a0b8),this;},'finalize':function(_0x1aacb4){var _0x3435e3=_0x4fb4b5,_0x30ff1c=this[_0x3435e3(0x1f9)],_0x19aab2=_0x30ff1c[_0x3435e3(0x3ed)](_0x1aacb4);_0x30ff1c[_0x3435e3(0x3b2)]();var _0x1016aa=_0x30ff1c[_0x3435e3(0x3ed)](this['_oKey']['clone']()[_0x3435e3(0x1f8)](_0x19aab2));return _0x1016aa;}});}());}));}(Ce)),Ce[_0x5de118(0x343)];}var Vi=Ie[_0xaa7fc(0x343)],nt;function At(){return nt||(nt=0x1,function(_0x4b845a,_0x4a14a4){(function(_0x397361,_0x1d68fa,_0x4d1766){var _0x57f6d0=_0x453e;_0x4b845a[_0x57f6d0(0x343)]=_0x1d68fa(ee(),$i(),Fi());}(Vi,function(_0x2f03fb){var _0x3cda28=_0x453e;return(function(){var _0x1a27c2=_0x453e,_0x3c5076=_0x2f03fb,_0x3d298f=_0x3c5076[_0x1a27c2(0x277)],_0x4fb6ce=_0x3d298f['Base'],_0xaa703=_0x3d298f['WordArray'],_0x5dfc98=_0x3c5076[_0x1a27c2(0x3a1)],_0x1a772d=_0x5dfc98[_0x1a27c2(0x239)],_0x11a4e2=_0x5dfc98[_0x1a27c2(0x18b)]=_0x4fb6ce[_0x1a27c2(0x183)]({'cfg':_0x4fb6ce[_0x1a27c2(0x183)]({'keySize':0x80/0x20,'hasher':_0x1a772d,'iterations':0x1}),'init':function(_0x3dc649){var _0x423ea1=_0x1a27c2;this[_0x423ea1(0x269)]=this[_0x423ea1(0x269)][_0x423ea1(0x183)](_0x3dc649);},'compute':function(_0xc9a8e4,_0x9aa69e){var _0x28cae0=_0x1a27c2;for(var _0x23f4b0,_0x70c36f=this['cfg'],_0xf5078e=_0x70c36f[_0x28cae0(0x162)]['create'](),_0x1aa076=_0xaa703[_0x28cae0(0x346)](),_0x28e9a3=_0x1aa076[_0x28cae0(0x2c9)],_0x5c37cf=_0x70c36f[_0x28cae0(0x1e3)],_0x16590d=_0x70c36f[_0x28cae0(0x288)];_0x28e9a3[_0x28cae0(0x3b0)]<_0x5c37cf;){_0x23f4b0&&_0xf5078e[_0x28cae0(0x295)](_0x23f4b0),_0x23f4b0=_0xf5078e[_0x28cae0(0x295)](_0xc9a8e4)['finalize'](_0x9aa69e),_0xf5078e['reset']();for(var _0xf83b1=0x1;_0xf83b1<_0x16590d;_0xf83b1++)_0x23f4b0=_0xf5078e['finalize'](_0x23f4b0),_0xf5078e[_0x28cae0(0x3b2)]();_0x1aa076[_0x28cae0(0x1f8)](_0x23f4b0);}return _0x1aa076[_0x28cae0(0x1fd)]=_0x5c37cf*0x4,_0x1aa076;}});_0x3c5076['EvpKDF']=function(_0x383951,_0x5bf2e3,_0x5d60a0){var _0x1f46cb=_0x1a27c2;return _0x11a4e2[_0x1f46cb(0x346)](_0x5d60a0)['compute'](_0x383951,_0x5bf2e3);};}()),_0x2f03fb[_0x3cda28(0x18b)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te[_0xaa7fc(0x343)],rt;function Pt(){var _0x1d3921=_0xaa7fc;return rt||(rt=0x1,function(_0x8dfa74,_0xe65541){(function(_0x3aabd5,_0x27fab9,_0x4995cb){_0x8dfa74['exports']=_0x27fab9(ee(),At());}(Wi,function(_0x2f7731){var _0x385215=_0x453e;_0x2f7731[_0x385215(0x277)][_0x385215(0x1bb)]||function(_0x38286e){var _0x3734c0=_0x385215,_0x139777=_0x2f7731,_0x129b4f=_0x139777[_0x3734c0(0x277)],_0x425362=_0x129b4f[_0x3734c0(0xed)],_0x1dd3dd=_0x129b4f[_0x3734c0(0x15f)],_0x2511be=_0x129b4f[_0x3734c0(0x3cf)],_0x578273=_0x139777[_0x3734c0(0x37a)];_0x578273[_0x3734c0(0x38b)];var _0x1006b3=_0x578273[_0x3734c0(0x352)],_0x13724c=_0x139777[_0x3734c0(0x3a1)],_0x570298=_0x13724c['EvpKDF'],_0x40cc29=_0x129b4f['Cipher']=_0x2511be['extend']({'cfg':_0x425362[_0x3734c0(0x183)](),'createEncryptor':function(_0x2ced57,_0xdddb74){var _0x4ae12a=_0x3734c0;return this[_0x4ae12a(0x346)](this[_0x4ae12a(0x33a)],_0x2ced57,_0xdddb74);},'createDecryptor':function(_0x42817d,_0x1553a4){var _0x35f0dd=_0x3734c0;return this['create'](this[_0x35f0dd(0x341)],_0x42817d,_0x1553a4);},'init':function(_0x1d6851,_0x35bcc3,_0x45869a){var _0x38d35e=_0x3734c0;this[_0x38d35e(0x269)]=this[_0x38d35e(0x269)][_0x38d35e(0x183)](_0x45869a),this[_0x38d35e(0x106)]=_0x1d6851,this[_0x38d35e(0x22a)]=_0x35bcc3,this['reset']();},'reset':function(){var _0x4e9bf3=_0x3734c0;_0x2511be[_0x4e9bf3(0x3b2)]['call'](this),this['_doReset']();},'process':function(_0x5dbc1b){var _0x47eaaf=_0x3734c0;return this[_0x47eaaf(0x1b9)](_0x5dbc1b),this[_0x47eaaf(0x3e4)]();},'finalize':function(_0x38f19c){var _0x513981=_0x3734c0;_0x38f19c&&this[_0x513981(0x1b9)](_0x38f19c);var _0x33cba1=this[_0x513981(0x2b1)]();return _0x33cba1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa7f40a(_0x571032){var _0x58d382=_0x453e;return typeof _0x571032==_0x58d382(0x181)?_0x95c473:_0x566e9b;}return function(_0x52818d){return{'encrypt':function(_0x1857a8,_0x453861,_0x3fcaa2){return _0xa7f40a(_0x453861)['encrypt'](_0x52818d,_0x1857a8,_0x453861,_0x3fcaa2);},'decrypt':function(_0x4027ff,_0x2b319a,_0x1bbc0c){return _0xa7f40a(_0x2b319a)['decrypt'](_0x52818d,_0x4027ff,_0x2b319a,_0x1bbc0c);}};};}())});_0x129b4f[_0x3734c0(0xd6)]=_0x40cc29[_0x3734c0(0x183)]({'_doFinalize':function(){var _0x3597e4=_0x3734c0,_0x4fb488=this[_0x3597e4(0x3e4)](!0x0);return _0x4fb488;},'blockSize':0x1});var _0x17cd31=_0x139777[_0x3734c0(0x286)]={},_0x4c242c=_0x129b4f[_0x3734c0(0x2ee)]=_0x425362[_0x3734c0(0x183)]({'createEncryptor':function(_0x15536c,_0x57ab01){var _0x3db958=_0x3734c0;return this[_0x3db958(0x1cd)][_0x3db958(0x346)](_0x15536c,_0x57ab01);},'createDecryptor':function(_0x1e5228,_0x566b01){var _0x42f319=_0x3734c0;return this[_0x42f319(0x16e)][_0x42f319(0x346)](_0x1e5228,_0x566b01);},'init':function(_0x5cb12,_0x599be2){var _0x14f394=_0x3734c0;this[_0x14f394(0x335)]=_0x5cb12,this[_0x14f394(0x1de)]=_0x599be2;}}),_0x3c6203=_0x17cd31[_0x3734c0(0x3f3)]=(function(){var _0x2e5b4e=_0x3734c0,_0x7cf9c9=_0x4c242c[_0x2e5b4e(0x183)]();_0x7cf9c9['Encryptor']=_0x7cf9c9['extend']({'processBlock':function(_0x2612e2,_0x2b24e4){var _0x2b7db7=_0x2e5b4e,_0x57614b=this[_0x2b7db7(0x335)],_0x3ee4b7=_0x57614b['blockSize'];_0x3468c1['call'](this,_0x2612e2,_0x2b24e4,_0x3ee4b7),_0x57614b[_0x2b7db7(0xd8)](_0x2612e2,_0x2b24e4),this[_0x2b7db7(0x2e7)]=_0x2612e2[_0x2b7db7(0x161)](_0x2b24e4,_0x2b24e4+_0x3ee4b7);}}),_0x7cf9c9[_0x2e5b4e(0x16e)]=_0x7cf9c9[_0x2e5b4e(0x183)]({'processBlock':function(_0x2a9150,_0x15248f){var _0x585d73=_0x2e5b4e,_0x4e8f6b=this[_0x585d73(0x335)],_0x143499=_0x4e8f6b['blockSize'],_0x8dfc2f=_0x2a9150[_0x585d73(0x161)](_0x15248f,_0x15248f+_0x143499);_0x4e8f6b[_0x585d73(0x11d)](_0x2a9150,_0x15248f),_0x3468c1[_0x585d73(0x247)](this,_0x2a9150,_0x15248f,_0x143499),this[_0x585d73(0x2e7)]=_0x8dfc2f;}});function _0x3468c1(_0x5da6ae,_0x378f9b,_0x40c13a){var _0x48bb8b=_0x2e5b4e,_0x58ac85,_0x2c4145=this[_0x48bb8b(0x1de)];_0x2c4145?(_0x58ac85=_0x2c4145,this[_0x48bb8b(0x1de)]=_0x38286e):_0x58ac85=this[_0x48bb8b(0x2e7)];for(var _0x242000=0x0;_0x242000<_0x40c13a;_0x242000++)_0x5da6ae[_0x378f9b+_0x242000]^=_0x58ac85[_0x242000];}return _0x7cf9c9;}()),_0x4ac4d8=_0x139777[_0x3734c0(0x3a6)]={},_0x532c8f=_0x4ac4d8['Pkcs7']={'pad':function(_0x39fbe2,_0x24e173){var _0x24aa8a=_0x3734c0;for(var _0x6a9807=_0x24e173*0x4,_0x3be79b=_0x6a9807-_0x39fbe2[_0x24aa8a(0x1fd)]%_0x6a9807,_0x30b1d2=_0x3be79b<<0x18|_0x3be79b<<0x10|_0x3be79b<<0x8|_0x3be79b,_0x28d419=[],_0x189211=0x0;_0x189211<_0x3be79b;_0x189211+=0x4)_0x28d419[_0x24aa8a(0x3d0)](_0x30b1d2);var _0x3095eb=_0x1dd3dd[_0x24aa8a(0x346)](_0x28d419,_0x3be79b);_0x39fbe2[_0x24aa8a(0x1f8)](_0x3095eb);},'unpad':function(_0x2c6b9e){var _0x4ce396=_0x3734c0,_0x549ad1=_0x2c6b9e[_0x4ce396(0x2c9)][_0x2c6b9e[_0x4ce396(0x1fd)]-0x1>>>0x2]&0xff;_0x2c6b9e[_0x4ce396(0x1fd)]-=_0x549ad1;}};_0x129b4f[_0x3734c0(0x1ec)]=_0x40cc29[_0x3734c0(0x183)]({'cfg':_0x40cc29[_0x3734c0(0x269)][_0x3734c0(0x183)]({'mode':_0x3c6203,'padding':_0x532c8f}),'reset':function(){var _0x5f54de=_0x3734c0,_0x19cedc;_0x40cc29[_0x5f54de(0x3b2)]['call'](this);var _0x437134=this['cfg'],_0x49c517=_0x437134['iv'],_0x501055=_0x437134['mode'];this['_xformMode']==this[_0x5f54de(0x33a)]?_0x19cedc=_0x501055[_0x5f54de(0x25f)]:(_0x19cedc=_0x501055['createDecryptor'],this[_0x5f54de(0x397)]=0x1),this[_0x5f54de(0x2eb)]&&this[_0x5f54de(0x2eb)][_0x5f54de(0x361)]==_0x19cedc?this['_mode'][_0x5f54de(0xd9)](this,_0x49c517&&_0x49c517[_0x5f54de(0x2c9)]):(this[_0x5f54de(0x2eb)]=_0x19cedc[_0x5f54de(0x247)](_0x501055,this,_0x49c517&&_0x49c517[_0x5f54de(0x2c9)]),this[_0x5f54de(0x2eb)]['__creator']=_0x19cedc);},'_doProcessBlock':function(_0x3437c3,_0x11c214){var _0x528d77=_0x3734c0;this[_0x528d77(0x2eb)][_0x528d77(0x27c)](_0x3437c3,_0x11c214);},'_doFinalize':function(){var _0x160908=_0x3734c0,_0x397534,_0x3e5eec=this[_0x160908(0x269)][_0x160908(0x331)];return this['_xformMode']==this[_0x160908(0x33a)]?(_0x3e5eec[_0x160908(0x3a6)](this[_0x160908(0x358)],this[_0x160908(0x109)]),_0x397534=this['_process'](!0x0)):(_0x397534=this[_0x160908(0x3e4)](!0x0),_0x3e5eec[_0x160908(0x298)](_0x397534)),_0x397534;},'blockSize':0x80/0x20});var _0x308f97=_0x129b4f[_0x3734c0(0x2bf)]=_0x425362['extend']({'init':function(_0x256519){var _0x109ddc=_0x3734c0;this[_0x109ddc(0x215)](_0x256519);},'toString':function(_0x22a711){var _0x42706b=_0x3734c0;return(_0x22a711||this[_0x42706b(0x28a)])[_0x42706b(0x10f)](this);}}),_0x2076f9=_0x139777['format']={},_0x4e246a=_0x2076f9['OpenSSL']={'stringify':function(_0x5b7683){var _0x3ce1b=_0x3734c0,_0xa62ebf,_0x1d897f=_0x5b7683[_0x3ce1b(0x1f3)],_0x4f06a3=_0x5b7683['salt'];return _0x4f06a3?_0xa62ebf=_0x1dd3dd['create']([0x53616c74,0x65645f5f])[_0x3ce1b(0x1f8)](_0x4f06a3)[_0x3ce1b(0x1f8)](_0x1d897f):_0xa62ebf=_0x1d897f,_0xa62ebf['toString'](_0x1006b3);},'parse':function(_0x15e812){var _0x36ba32=_0x3734c0,_0x1d988d,_0x74c3ff=_0x1006b3[_0x36ba32(0x332)](_0x15e812),_0x139a98=_0x74c3ff[_0x36ba32(0x2c9)];return _0x139a98[0x0]==0x53616c74&&_0x139a98[0x1]==0x65645f5f&&(_0x1d988d=_0x1dd3dd[_0x36ba32(0x346)](_0x139a98['slice'](0x2,0x4)),_0x139a98[_0x36ba32(0x42d)](0x0,0x4),_0x74c3ff[_0x36ba32(0x1fd)]-=0x10),_0x308f97[_0x36ba32(0x346)]({'ciphertext':_0x74c3ff,'salt':_0x1d988d});}},_0x566e9b=_0x129b4f[_0x3734c0(0x3a3)]=_0x425362[_0x3734c0(0x183)]({'cfg':_0x425362[_0x3734c0(0x183)]({'format':_0x4e246a}),'encrypt':function(_0x50e572,_0x2144c7,_0x182e7f,_0x39bcac){var _0x4c9cdb=_0x3734c0;_0x39bcac=this[_0x4c9cdb(0x269)][_0x4c9cdb(0x183)](_0x39bcac);var _0x35ae35=_0x50e572[_0x4c9cdb(0x25f)](_0x182e7f,_0x39bcac),_0x4b9283=_0x35ae35[_0x4c9cdb(0x3ed)](_0x2144c7),_0x2fcd60=_0x35ae35[_0x4c9cdb(0x269)];return _0x308f97[_0x4c9cdb(0x346)]({'ciphertext':_0x4b9283,'key':_0x182e7f,'iv':_0x2fcd60['iv'],'algorithm':_0x50e572,'mode':_0x2fcd60[_0x4c9cdb(0x286)],'padding':_0x2fcd60[_0x4c9cdb(0x331)],'blockSize':_0x50e572[_0x4c9cdb(0x109)],'formatter':_0x39bcac[_0x4c9cdb(0x19d)]});},'decrypt':function(_0x381952,_0xdb4cf6,_0x178984,_0x164d46){var _0x100d09=_0x3734c0;_0x164d46=this[_0x100d09(0x269)][_0x100d09(0x183)](_0x164d46),_0xdb4cf6=this[_0x100d09(0x281)](_0xdb4cf6,_0x164d46['format']);var _0x2ecc89=_0x381952[_0x100d09(0x29a)](_0x178984,_0x164d46)[_0x100d09(0x3ed)](_0xdb4cf6[_0x100d09(0x1f3)]);return _0x2ecc89;},'_parse':function(_0x4e29a8,_0x24b77b){var _0x530191=_0x3734c0;return typeof _0x4e29a8==_0x530191(0x181)?_0x24b77b['parse'](_0x4e29a8,this):_0x4e29a8;}}),_0x3beaf1=_0x139777[_0x3734c0(0x3e9)]={},_0x9798e9=_0x3beaf1[_0x3734c0(0x182)]={'execute':function(_0x179106,_0x5728be,_0x50b7f8,_0x562641,_0x9cd8d7){var _0x381295=_0x3734c0;if(_0x562641||(_0x562641=_0x1dd3dd[_0x381295(0x338)](0x40/0x8)),_0x9cd8d7)var _0x20338f=_0x570298['create']({'keySize':_0x5728be+_0x50b7f8,'hasher':_0x9cd8d7})[_0x381295(0x351)](_0x179106,_0x562641);else var _0x20338f=_0x570298[_0x381295(0x346)]({'keySize':_0x5728be+_0x50b7f8})['compute'](_0x179106,_0x562641);var _0x475563=_0x1dd3dd[_0x381295(0x346)](_0x20338f[_0x381295(0x2c9)][_0x381295(0x161)](_0x5728be),_0x50b7f8*0x4);return _0x20338f['sigBytes']=_0x5728be*0x4,_0x308f97[_0x381295(0x346)]({'key':_0x20338f,'iv':_0x475563,'salt':_0x562641});}},_0x95c473=_0x129b4f[_0x3734c0(0x373)]=_0x566e9b[_0x3734c0(0x183)]({'cfg':_0x566e9b[_0x3734c0(0x269)][_0x3734c0(0x183)]({'kdf':_0x9798e9}),'encrypt':function(_0x54a4b0,_0x4fc7d3,_0x59f75a,_0x1d77d0){var _0x887ce7=_0x3734c0;_0x1d77d0=this[_0x887ce7(0x269)][_0x887ce7(0x183)](_0x1d77d0);var _0x45b0ac=_0x1d77d0[_0x887ce7(0x3e9)]['execute'](_0x59f75a,_0x54a4b0[_0x887ce7(0x1e3)],_0x54a4b0['ivSize'],_0x1d77d0[_0x887ce7(0xef)],_0x1d77d0[_0x887ce7(0x162)]);_0x1d77d0['iv']=_0x45b0ac['iv'];var _0xa7e16d=_0x566e9b[_0x887ce7(0x3d6)][_0x887ce7(0x247)](this,_0x54a4b0,_0x4fc7d3,_0x45b0ac[_0x887ce7(0x125)],_0x1d77d0);return _0xa7e16d[_0x887ce7(0x215)](_0x45b0ac),_0xa7e16d;},'decrypt':function(_0x1d3aee,_0x5bb48e,_0x412c2b,_0x8e3481){var _0xabfcfd=_0x3734c0;_0x8e3481=this[_0xabfcfd(0x269)]['extend'](_0x8e3481),_0x5bb48e=this['_parse'](_0x5bb48e,_0x8e3481['format']);var _0x3fb467=_0x8e3481['kdf'][_0xabfcfd(0x13c)](_0x412c2b,_0x1d3aee[_0xabfcfd(0x1e3)],_0x1d3aee['ivSize'],_0x5bb48e[_0xabfcfd(0xef)],_0x8e3481[_0xabfcfd(0x162)]);_0x8e3481['iv']=_0x3fb467['iv'];var _0x1afe5a=_0x566e9b[_0xabfcfd(0x292)]['call'](this,_0x1d3aee,_0x5bb48e,_0x3fb467[_0xabfcfd(0x125)],_0x8e3481);return _0x1afe5a;}});}();}));}(Te)),Te[_0x1d3921(0x343)];}var Gi=fe[_0xaa7fc(0x343)],st;function Ki(){return st||(st=0x1,function(_0x234940,_0x11462e){(function(_0x70cf3e,_0x440563,_0x389e28){var _0x122da7=_0x453e;_0x234940[_0x122da7(0x343)]=_0x440563(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x482564){var _0x461ef9=_0x453e;return(function(){var _0xbec1e3=_0x453e,_0x50d072=_0x482564,_0x4f55d8=_0x50d072[_0xbec1e3(0x277)],_0x1d648a=_0x4f55d8['BlockCipher'],_0x34f9ae=_0x50d072[_0xbec1e3(0x3a1)],_0x31860f=[],_0x503d02=[],_0x26a759=[],_0x3b6fa3=[],_0x1a29d5=[],_0x30f551=[],_0x2e34ad=[],_0xc4e47f=[],_0x119281=[],_0x19bbad=[];(function(){for(var _0x103982=[],_0x59efde=0x0;_0x59efde<0x100;_0x59efde++)_0x59efde<0x80?_0x103982[_0x59efde]=_0x59efde<<0x1:_0x103982[_0x59efde]=_0x59efde<<0x1^0x11b;for(var _0x10d44c=0x0,_0x31c62e=0x0,_0x59efde=0x0;_0x59efde<0x100;_0x59efde++){var _0x2fd271=_0x31c62e^_0x31c62e<<0x1^_0x31c62e<<0x2^_0x31c62e<<0x3^_0x31c62e<<0x4;_0x2fd271=_0x2fd271>>>0x8^_0x2fd271&0xff^0x63,_0x31860f[_0x10d44c]=_0x2fd271,_0x503d02[_0x2fd271]=_0x10d44c;var _0x1789e6=_0x103982[_0x10d44c],_0x12c988=_0x103982[_0x1789e6],_0x2e5e1f=_0x103982[_0x12c988],_0x19ef70=_0x103982[_0x2fd271]*0x101^_0x2fd271*0x1010100;_0x26a759[_0x10d44c]=_0x19ef70<<0x18|_0x19ef70>>>0x8,_0x3b6fa3[_0x10d44c]=_0x19ef70<<0x10|_0x19ef70>>>0x10,_0x1a29d5[_0x10d44c]=_0x19ef70<<0x8|_0x19ef70>>>0x18,_0x30f551[_0x10d44c]=_0x19ef70;var _0x19ef70=_0x2e5e1f*0x1010101^_0x12c988*0x10001^_0x1789e6*0x101^_0x10d44c*0x1010100;_0x2e34ad[_0x2fd271]=_0x19ef70<<0x18|_0x19ef70>>>0x8,_0xc4e47f[_0x2fd271]=_0x19ef70<<0x10|_0x19ef70>>>0x10,_0x119281[_0x2fd271]=_0x19ef70<<0x8|_0x19ef70>>>0x18,_0x19bbad[_0x2fd271]=_0x19ef70,_0x10d44c?(_0x10d44c=_0x1789e6^_0x103982[_0x103982[_0x103982[_0x2e5e1f^_0x1789e6]]],_0x31c62e^=_0x103982[_0x103982[_0x31c62e]]):_0x10d44c=_0x31c62e=0x1;}}());var _0x33a867=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x485b26=_0x34f9ae[_0xbec1e3(0x249)]=_0x1d648a[_0xbec1e3(0x183)]({'_doReset':function(){var _0x16bef0=_0xbec1e3,_0x3c3aed;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x16bef0(0x22a)])){for(var _0x381321=this[_0x16bef0(0x1a9)]=this['_key'],_0x4b6397=_0x381321[_0x16bef0(0x2c9)],_0x41c6b7=_0x381321[_0x16bef0(0x1fd)]/0x4,_0x4d9590=this['_nRounds']=_0x41c6b7+0x6,_0x30afce=(_0x4d9590+0x1)*0x4,_0x460264=this['_keySchedule']=[],_0x4cf9a1=0x0;_0x4cf9a1<_0x30afce;_0x4cf9a1++)_0x4cf9a1<_0x41c6b7?_0x460264[_0x4cf9a1]=_0x4b6397[_0x4cf9a1]:(_0x3c3aed=_0x460264[_0x4cf9a1-0x1],_0x4cf9a1%_0x41c6b7?_0x41c6b7>0x6&&_0x4cf9a1%_0x41c6b7==0x4&&(_0x3c3aed=_0x31860f[_0x3c3aed>>>0x18]<<0x18|_0x31860f[_0x3c3aed>>>0x10&0xff]<<0x10|_0x31860f[_0x3c3aed>>>0x8&0xff]<<0x8|_0x31860f[_0x3c3aed&0xff]):(_0x3c3aed=_0x3c3aed<<0x8|_0x3c3aed>>>0x18,_0x3c3aed=_0x31860f[_0x3c3aed>>>0x18]<<0x18|_0x31860f[_0x3c3aed>>>0x10&0xff]<<0x10|_0x31860f[_0x3c3aed>>>0x8&0xff]<<0x8|_0x31860f[_0x3c3aed&0xff],_0x3c3aed^=_0x33a867[_0x4cf9a1/_0x41c6b7|0x0]<<0x18),_0x460264[_0x4cf9a1]=_0x460264[_0x4cf9a1-_0x41c6b7]^_0x3c3aed);for(var _0x2053ad=this[_0x16bef0(0x3dc)]=[],_0x4ace6c=0x0;_0x4ace6c<_0x30afce;_0x4ace6c++){var _0x4cf9a1=_0x30afce-_0x4ace6c;if(_0x4ace6c%0x4)var _0x3c3aed=_0x460264[_0x4cf9a1];else var _0x3c3aed=_0x460264[_0x4cf9a1-0x4];_0x4ace6c<0x4||_0x4cf9a1<=0x4?_0x2053ad[_0x4ace6c]=_0x3c3aed:_0x2053ad[_0x4ace6c]=_0x2e34ad[_0x31860f[_0x3c3aed>>>0x18]]^_0xc4e47f[_0x31860f[_0x3c3aed>>>0x10&0xff]]^_0x119281[_0x31860f[_0x3c3aed>>>0x8&0xff]]^_0x19bbad[_0x31860f[_0x3c3aed&0xff]];}}},'encryptBlock':function(_0x36231f,_0x2e5ea0){var _0x2c15f1=_0xbec1e3;this[_0x2c15f1(0x22b)](_0x36231f,_0x2e5ea0,this[_0x2c15f1(0x31c)],_0x26a759,_0x3b6fa3,_0x1a29d5,_0x30f551,_0x31860f);},'decryptBlock':function(_0xad4001,_0x1b728a){var _0x1f364a=_0xbec1e3,_0x1aea66=_0xad4001[_0x1b728a+0x1];_0xad4001[_0x1b728a+0x1]=_0xad4001[_0x1b728a+0x3],_0xad4001[_0x1b728a+0x3]=_0x1aea66,this[_0x1f364a(0x22b)](_0xad4001,_0x1b728a,this[_0x1f364a(0x3dc)],_0x2e34ad,_0xc4e47f,_0x119281,_0x19bbad,_0x503d02);var _0x1aea66=_0xad4001[_0x1b728a+0x1];_0xad4001[_0x1b728a+0x1]=_0xad4001[_0x1b728a+0x3],_0xad4001[_0x1b728a+0x3]=_0x1aea66;},'_doCryptBlock':function(_0x272d14,_0x24f1d2,_0x576dea,_0x201ac5,_0x47ed88,_0x14c9d3,_0x3aa3a9,_0x27e5a4){var _0x1205ac=_0xbec1e3;for(var _0x2de45d=this[_0x1205ac(0x20c)],_0x4f45dd=_0x272d14[_0x24f1d2]^_0x576dea[0x0],_0x5c43d5=_0x272d14[_0x24f1d2+0x1]^_0x576dea[0x1],_0x17e3b0=_0x272d14[_0x24f1d2+0x2]^_0x576dea[0x2],_0x57bce2=_0x272d14[_0x24f1d2+0x3]^_0x576dea[0x3],_0x26c461=0x4,_0x28d1d1=0x1;_0x28d1d1<_0x2de45d;_0x28d1d1++){var _0x2c6a13=_0x201ac5[_0x4f45dd>>>0x18]^_0x47ed88[_0x5c43d5>>>0x10&0xff]^_0x14c9d3[_0x17e3b0>>>0x8&0xff]^_0x3aa3a9[_0x57bce2&0xff]^_0x576dea[_0x26c461++],_0x4c8370=_0x201ac5[_0x5c43d5>>>0x18]^_0x47ed88[_0x17e3b0>>>0x10&0xff]^_0x14c9d3[_0x57bce2>>>0x8&0xff]^_0x3aa3a9[_0x4f45dd&0xff]^_0x576dea[_0x26c461++],_0x5f021c=_0x201ac5[_0x17e3b0>>>0x18]^_0x47ed88[_0x57bce2>>>0x10&0xff]^_0x14c9d3[_0x4f45dd>>>0x8&0xff]^_0x3aa3a9[_0x5c43d5&0xff]^_0x576dea[_0x26c461++],_0x2544b0=_0x201ac5[_0x57bce2>>>0x18]^_0x47ed88[_0x4f45dd>>>0x10&0xff]^_0x14c9d3[_0x5c43d5>>>0x8&0xff]^_0x3aa3a9[_0x17e3b0&0xff]^_0x576dea[_0x26c461++];_0x4f45dd=_0x2c6a13,_0x5c43d5=_0x4c8370,_0x17e3b0=_0x5f021c,_0x57bce2=_0x2544b0;}var _0x2c6a13=(_0x27e5a4[_0x4f45dd>>>0x18]<<0x18|_0x27e5a4[_0x5c43d5>>>0x10&0xff]<<0x10|_0x27e5a4[_0x17e3b0>>>0x8&0xff]<<0x8|_0x27e5a4[_0x57bce2&0xff])^_0x576dea[_0x26c461++],_0x4c8370=(_0x27e5a4[_0x5c43d5>>>0x18]<<0x18|_0x27e5a4[_0x17e3b0>>>0x10&0xff]<<0x10|_0x27e5a4[_0x57bce2>>>0x8&0xff]<<0x8|_0x27e5a4[_0x4f45dd&0xff])^_0x576dea[_0x26c461++],_0x5f021c=(_0x27e5a4[_0x17e3b0>>>0x18]<<0x18|_0x27e5a4[_0x57bce2>>>0x10&0xff]<<0x10|_0x27e5a4[_0x4f45dd>>>0x8&0xff]<<0x8|_0x27e5a4[_0x5c43d5&0xff])^_0x576dea[_0x26c461++],_0x2544b0=(_0x27e5a4[_0x57bce2>>>0x18]<<0x18|_0x27e5a4[_0x4f45dd>>>0x10&0xff]<<0x10|_0x27e5a4[_0x5c43d5>>>0x8&0xff]<<0x8|_0x27e5a4[_0x17e3b0&0xff])^_0x576dea[_0x26c461++];_0x272d14[_0x24f1d2]=_0x2c6a13,_0x272d14[_0x24f1d2+0x1]=_0x4c8370,_0x272d14[_0x24f1d2+0x2]=_0x5f021c,_0x272d14[_0x24f1d2+0x3]=_0x2544b0;},'keySize':0x100/0x20});_0x50d072[_0xbec1e3(0x249)]=_0x1d648a[_0xbec1e3(0x273)](_0x485b26);}()),_0x482564[_0x461ef9(0x249)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x433a46=_0xaa7fc;return at||(at=0x1,function(_0x3df1de,_0x16c469){(function(_0x28b73d,_0x36951c){_0x3df1de['exports']=_0x36951c(ee());}(Ji,function(_0x1f6f61){var _0x5e9a43=_0x453e;return _0x1f6f61[_0x5e9a43(0x37a)]['Utf8'];}));}(be)),be[_0x433a46(0x343)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0xaa7fc(0x343)],ct;function tn(){var _0x32f3c3=_0xaa7fc;return ct||(ct=0x1,function(_0x1510bf,_0x538539){(function(_0x538c30,_0x33152d){_0x1510bf['exports']=_0x33152d(ee());}(en,function(_0x25c1cc){var _0x1c0278=_0x453e;return(function(){var _0x5d5758=_0x453e;if(typeof ArrayBuffer==_0x5d5758(0x35b)){var _0x4597e4=_0x25c1cc,_0xd49226=_0x4597e4[_0x5d5758(0x277)],_0xab7e1d=_0xd49226[_0x5d5758(0x15f)],_0x9e4a2=_0xab7e1d[_0x5d5758(0xd9)],_0x22e209=_0xab7e1d['init']=function(_0x161dfb){var _0x177427=_0x5d5758;if(_0x161dfb instanceof ArrayBuffer&&(_0x161dfb=new Uint8Array(_0x161dfb)),(_0x161dfb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x161dfb instanceof Uint8ClampedArray||_0x161dfb instanceof Int16Array||_0x161dfb instanceof Uint16Array||_0x161dfb instanceof Int32Array||_0x161dfb instanceof Uint32Array||_0x161dfb instanceof Float32Array||_0x161dfb instanceof Float64Array)&&(_0x161dfb=new Uint8Array(_0x161dfb[_0x177427(0x112)],_0x161dfb['byteOffset'],_0x161dfb[_0x177427(0x26a)])),_0x161dfb instanceof Uint8Array){for(var _0x3eb447=_0x161dfb[_0x177427(0x26a)],_0x436839=[],_0x419ee3=0x0;_0x419ee3<_0x3eb447;_0x419ee3++)_0x436839[_0x419ee3>>>0x2]|=_0x161dfb[_0x419ee3]<<0x18-_0x419ee3%0x4*0x8;_0x9e4a2[_0x177427(0x247)](this,_0x436839,_0x3eb447);}else _0x9e4a2[_0x177427(0x2c5)](this,arguments);};_0x22e209[_0x5d5758(0x42c)]=_0xab7e1d;}}()),_0x25c1cc[_0x1c0278(0x277)][_0x1c0278(0x15f)];}));}(Re)),Re[_0x32f3c3(0x343)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0xaa7fc(0x343)],ht;function on(){var _0x2a8607=_0xaa7fc;return ht||(ht=0x1,function(_0x10d5c1,_0x387380){(function(_0x42bb91,_0x5f075f,_0x254fba){_0x10d5c1['exports']=_0x5f075f(ee(),Pt());}(sn,function(_0x1e2155){var _0x2a59b9=_0x453e;return _0x1e2155['pad'][_0x2a59b9(0x1db)]={'pad':function(){},'unpad':function(){}},_0x1e2155['pad']['NoPadding'];}));}(ye)),ye[_0x2a8607(0x343)];}var an=on();const cn=Se(an);function hn(_0x1a5276,_0x2d1285){var _0x4b7c62=_0xaa7fc;const _0x2b5f2a=_0x2d1285-_0x1a5276[_0x4b7c62(0x3b0)]%_0x2d1285,_0x3ce7c5=String[_0x4b7c62(0x2d8)](_0x2b5f2a)[_0x4b7c62(0x263)](_0x2b5f2a);return _0x1a5276+_0x3ce7c5;}function ln(_0x5acca1,_0x46ffc3){var _0x259059=_0xaa7fc;const _0x3bb54e=rn['random'](0x10),_0x55cafc=hn(_0x5acca1,0x10),_0xd69d43=qi[_0x259059(0x3d6)](Qi['parse'](_0x55cafc),ot[_0x259059(0x332)](_0x46ffc3),{'iv':_0x3bb54e,'padding':cn});return _0x3bb54e['concat'](_0xd69d43['ciphertext'])[_0x259059(0x2a8)](ot);}function _n(){var _0x1ca1a0=_0xaa7fc;const _0x49b267=xt['getGlobalObject']()[_0x1ca1a0(0x33d)];if(_0x49b267){const _0x2feb4d={'time':Math[_0x1ca1a0(0x40d)](Date[_0x1ca1a0(0x153)]()/0x3e8),'domain':location[_0x1ca1a0(0x163)]};return ln(JSON[_0x1ca1a0(0x10f)](_0x2feb4d),_0x49b267);}}var un=Object[_0xaa7fc(0x198)],dn=(_0x5eccb3,_0x40aa72,_0x437aaa,_0x59397e)=>{var _0x5c0bac=_0xaa7fc;for(var _0x2e9f9f=_0x59397e>0x1?void 0x0:_0x59397e?un(_0x40aa72,_0x437aaa):_0x40aa72,_0x3a05ec=_0x5eccb3[_0x5c0bac(0x3b0)]-0x1,_0x352f48;_0x3a05ec>=0x0;_0x3a05ec--)(_0x352f48=_0x5eccb3[_0x3a05ec])&&(_0x2e9f9f=_0x352f48(_0x2e9f9f)||_0x2e9f9f);return _0x2e9f9f;},vn=(_0x23d32a,_0x331720)=>(_0x4a6cc7,_0x164be8)=>_0x331720(_0x4a6cc7,_0x164be8,_0x23d32a);let Ne=class{constructor(_0x575530){var _0x1bcc89=_0xaa7fc;this['_httpService']=_0x575530,this[_0x1bcc89(0x34a)]();}[_0xaa7fc(0x34a)](){var _0x5b3373=_0xaa7fc;this[_0x5b3373(0x143)][_0x5b3373(0x223)]({'interceptor':(_0x2c1029,_0x2f2b60)=>{var _0x32cee0=_0x5b3373;const _0x152184=_0x2c1029['headers'],_0x4a93bf=_n();return _0x4a93bf&&_0x152184[_0x32cee0(0x3d5)]('x-univer-host',_0x4a93bf),_0x2f2b60(_0x2c1029);}});}};Ne=dn([vn(0x0,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)]))],Ne);var Sn=Object[_0xaa7fc(0x198)],fn=(_0x2c6416,_0x10d6c5,_0x3703a1,_0x2ee425)=>{var _0x41eac6=_0xaa7fc;for(var _0x5abb0d=_0x2ee425>0x1?void 0x0:_0x2ee425?Sn(_0x10d6c5,_0x3703a1):_0x10d6c5,_0x39e35b=_0x2c6416[_0x41eac6(0x3b0)]-0x1,_0x102250;_0x39e35b>=0x0;_0x39e35b--)(_0x102250=_0x2c6416[_0x39e35b])&&(_0x5abb0d=_0x102250(_0x5abb0d)||_0x5abb0d);return _0x5abb0d;},Me=(_0x3aeb95,_0x25a52c)=>(_0x344f04,_0x3c9202)=>_0x25a52c(_0x344f04,_0x3c9202,_0x3aeb95);exports[_0xaa7fc(0x307)]=class extends a[_0xaa7fc(0x102)]{constructor(_0x254fcd,_0x214936,_0x5e7d48){var _0x1152d1=_0xaa7fc;super(),A(this,'_unitInfo$',new j[(_0x1152d1(0xd7))](null)),A(this,'unitInfo$',this[_0x1152d1(0x285)][_0x1152d1(0xc7)]()),(this['_logService']=_0x254fcd,this[_0x1152d1(0x130)]=_0x214936,this['_localCacheService']=_0x5e7d48);}async[_0xaa7fc(0x19e)](_0x1d56dc,_0x2d9a20,_0x3b2e69){var _0x2d0f4b=_0xaa7fc;this['_unitInfo$'][_0x2d0f4b(0x38d)]({'unitId':_0x1d56dc,'type':_0x2d9a20,'subUnitId':_0x3b2e69});let _0x3fbbf8=null;switch(_0x2d9a20){case X[_0x2d0f4b(0x37f)]:{_0x3fbbf8=await this['_loadSheet'](_0x1d56dc);break;}case X[_0x2d0f4b(0x32c)]:{_0x3fbbf8=await this[_0x2d0f4b(0x150)](_0x1d56dc);break;}default:{this[_0x2d0f4b(0x26f)][_0x2d0f4b(0x256)](_0x2d0f4b(0x156),_0x2d0f4b(0x1ee));break;}}return _0x3fbbf8;}async[_0xaa7fc(0x1bd)](_0x423bfd){var _0x1c190f=_0xaa7fc,_0x56b4d8;let _0x327db3=0x0;const _0x4ea7d0=await((_0x56b4d8=this[_0x1c190f(0x25e)])==null?void 0x0:_0x56b4d8['loadOfflineData'](_0x423bfd));return _0x4ea7d0&&(_0x4ea7d0[_0x1c190f(0x164)]||_0x4ea7d0['mutations'][_0x1c190f(0x3b0)]!==0x0)&&(_0x327db3=_0x4ea7d0[_0x1c190f(0x208)]),_0x327db3===0x0&&this['_logService'][_0x1c190f(0xc1)](_0x1c190f(0x156),_0x1c190f(0x315)),this[_0x1c190f(0x130)]['loadSheet'](_0x423bfd,_0x327db3);}async['_loadDoc'](_0x58f85a){var _0x26d3e7=_0xaa7fc,_0xaf1f82;let _0x47cb7f=0x0;const _0x3f9212=await((_0xaf1f82=this['_localCacheService'])==null?void 0x0:_0xaf1f82[_0x26d3e7(0x28f)](_0x58f85a));return _0x3f9212&&(_0x3f9212[_0x26d3e7(0x164)]||_0x3f9212[_0x26d3e7(0x261)][_0x26d3e7(0x3b0)]!==0x0)&&(_0x47cb7f=_0x3f9212['rev']),_0x47cb7f===0x0&&this[_0x26d3e7(0x26f)][_0x26d3e7(0xc1)](_0x26d3e7(0x156),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x26d3e7(0x130)][_0x26d3e7(0x216)](_0x58f85a,_0x47cb7f);}},exports[_0xaa7fc(0x307)]=fn([Me(0x0,a[_0xaa7fc(0x434)]),Me(0x1,a[_0xaa7fc(0x1a1)](g[_0xaa7fc(0x1eb)])),Me(0x2,a[_0xaa7fc(0x120)](z))],exports[_0xaa7fc(0x307)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x4a2a92,_0x2c4de6,_0x4cd8e7,_0x5f0ed8)=>{var _0x35276d=_0xaa7fc;for(var _0x592f88=_0x5f0ed8>0x1?void 0x0:_0x5f0ed8?pn(_0x2c4de6,_0x4cd8e7):_0x2c4de6,_0x394a1d=_0x4a2a92[_0x35276d(0x3b0)]-0x1,_0x16904f;_0x394a1d>=0x0;_0x394a1d--)(_0x16904f=_0x4a2a92[_0x394a1d])&&(_0x592f88=_0x16904f(_0x592f88)||_0x592f88);return _0x592f88;},xe=(_0x4da2e5,_0x1f3b86)=>(_0x2db65f,_0x35296e)=>_0x1f3b86(_0x2db65f,_0x35296e,_0x4da2e5);const mn=[_0xaa7fc(0x3af),_0xaa7fc(0x323),_0xaa7fc(0x1a6),_0xaa7fc(0x30c),'image/bmp'],In=0x5*0x400*0x400,En=_0xaa7fc(0x1d0),Cn=_0xaa7fc(0x1e7),Tn=_0xaa7fc(0x1d6),bn=_0xaa7fc(0x404);exports['CollaborationImageIoService']=class{constructor(_0x1bf9a1,_0x751f8,_0x58ddd2){var _0x4634e6=_0xaa7fc;A(this,'_waitCount',0x0),A(this,_0x4634e6(0xe2),new j[(_0x4634e6(0x2c4))]()),A(this,_0x4634e6(0x237),this[_0x4634e6(0xe2)]),A(this,_0x4634e6(0x141),new Map()),(this['_httpService']=_0x1bf9a1,this[_0x4634e6(0x20d)]=_0x751f8,this['_univerInstanceService']=_0x58ddd2);}[_0xaa7fc(0x26c)](_0x35b42c){var _0x418aee=_0xaa7fc;this[_0x418aee(0x321)]=_0x35b42c,this[_0x418aee(0xe2)][_0x418aee(0x38d)](_0x35b42c);}[_0xaa7fc(0xf2)](_0x2d61d2,_0x5a476c){var _0x471d30=_0xaa7fc;if(_0x5a476c===J[_0x471d30(0x191)][_0x471d30(0x24d)]){const _0x3da132=new Image();return _0x3da132[_0x471d30(0x349)]=_0x2d61d2,_0x3da132;}return this[_0x471d30(0x141)][_0x471d30(0xe9)](_0x2d61d2);}[_0xaa7fc(0x322)](_0x1ca692,_0x328053,_0x1a2f19){var _0x509af2=_0xaa7fc;_0x328053===J[_0x509af2(0x191)][_0x509af2(0x24d)]||_0x1a2f19==null||this[_0x509af2(0x141)][_0x509af2(0x3d5)](_0x1ca692,_0x1a2f19);}async[_0xaa7fc(0x2e3)](_0x5459c9){var _0x28609d=_0xaa7fc;try{const _0x38759c=this[_0x28609d(0x30e)](this['_getSignURL'](),''+_0x5459c9),_0x111047=(await this[_0x28609d(0x143)]['get'](_0x38759c))[_0x28609d(0x173)];if(_0x111047[_0x28609d(0x256)]&&_0x111047['error'][_0x28609d(0xf3)]===Ct['OK']){const _0x563624=new URL(_0x111047[_0x28609d(0x369)],this[_0x28609d(0x1b2)]())['toString']();return Promise[_0x28609d(0x25b)](_0x563624);}return Promise[_0x28609d(0x189)](_0x111047[_0x28609d(0x256)]);}catch(_0x2eefe7){return Promise['reject'](_0x2eefe7);}}async[_0xaa7fc(0x25c)](_0x185152){var _0x186555=_0xaa7fc;let _0x5a567d='';if(!mn[_0x186555(0x32a)](_0x185152[_0x186555(0x244)]))return this[_0x186555(0x274)](),Promise[_0x186555(0x189)](new Error(J['ImageUploadStatusType'][_0x186555(0x2f1)]));if(_0x185152[_0x186555(0x3b9)]>In)return this[_0x186555(0x274)](),Promise['reject'](new Error(J[_0x186555(0x40b)][_0x186555(0x2f0)]));try{const _0x4cdc8b=new FormData();_0x4cdc8b[_0x186555(0x436)](_0x186555(0xe3),_0x185152);const _0x461d06=this[_0x186555(0xbf)][_0x186555(0x24a)](),_0x29543f=_0x461d06==null?void 0x0:_0x461d06[_0x186555(0x217)]();if(!_0x29543f)throw new Error(_0x186555(0xc2));const _0x3c14dc=this['_getUploadFileURL']()+_0x186555(0x294)+_0x185152[_0x186555(0x3b9)]['toString']()+_0x186555(0x23e)+Tt[_0x186555(0x327)]+_0x186555(0x2d1)+encodeURIComponent(_0x29543f),_0x2d8c9b=await(await fetch(_0x3c14dc,{'method':_0x186555(0x2c8),'body':_0x4cdc8b}))[_0x186555(0x35e)]();if(typeof _0x2d8c9b[_0x186555(0x248)]!=_0x186555(0x181))return this['_decreaseWaiting'](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x186555(0x3ef)]));_0x5a567d=_0x2d8c9b['FileId'];}catch{return this[_0x186555(0x274)](),Promise['reject'](new Error(J[_0x186555(0x40b)][_0x186555(0x3ef)]));}return new Promise((_0xa3b907,_0x2e9966)=>{var _0x5846ae=_0x186555;const _0x4b6c5b=new FileReader();_0x4b6c5b[_0x5846ae(0x278)](_0x185152),_0x4b6c5b['onload']=_0x63b21b=>{var _0x2b248d=_0x5846ae,_0x4938d7;const _0x44f376=(_0x4938d7=_0x63b21b[_0x2b248d(0x206)])==null?void 0x0:_0x4938d7[_0x2b248d(0x3ae)];if(_0x44f376==null){this[_0x2b248d(0x274)](),_0x2e9966(new Error(J[_0x2b248d(0x40b)][_0x2b248d(0x3ef)]));return;}const _0x5cf590=a[_0x2b248d(0x1ea)]['generateRandomId'](0x6);_0xa3b907({'imageId':_0x5cf590,'imageSourceType':J[_0x2b248d(0x191)]['UUID'],'source':_0x5a567d,'base64Cache':_0x44f376,'status':J['ImageUploadStatusType'][_0x2b248d(0xcd)]}),this[_0x2b248d(0x274)]();};});}['_getUploadFileURL'](){var _0x2c9497=_0xaa7fc,_0x21a6ea,_0x5e318d;const _0x42e1eb=this[_0x2c9497(0x20d)][_0x2c9497(0xb5)](En),_0x50698c=this[_0x2c9497(0x20d)][_0x2c9497(0xb5)](Y);return(_0x5e318d=(_0x21a6ea=_0x50698c==null?void 0x0:_0x50698c[_0x2c9497(0x2b0)])!=null?_0x21a6ea:_0x42e1eb)!=null?_0x5e318d:Cn;}[_0xaa7fc(0x11a)](){var _0xe341c9=_0xaa7fc,_0x470ed5,_0x42ecde;const _0x16ffa1=this[_0xe341c9(0x20d)]['getConfig'](Tn),_0x1385d9=this[_0xe341c9(0x20d)][_0xe341c9(0xb5)](Y);return(_0x42ecde=(_0x470ed5=_0x1385d9==null?void 0x0:_0x1385d9[_0xe341c9(0x2ec)])!=null?_0x470ed5:_0x16ffa1)!=null?_0x42ecde:bn;}[_0xaa7fc(0x1b2)](){var _0x4694fc=_0xaa7fc,_0x35ba4f;const _0x57c851=this[_0x4694fc(0x20d)][_0x4694fc(0xb5)](Y);return(_0x35ba4f=_0x57c851==null?void 0x0:_0x57c851[_0x4694fc(0x381)])!=null?_0x35ba4f:location['origin'];}[_0xaa7fc(0x30e)](_0x129bbc,_0x341144){var _0x3ecdc1=_0xaa7fc;return _0x129bbc[_0x3ecdc1(0x1ab)](_0x3ecdc1(0x367),_0x341144);}['_decreaseWaiting'](){var _0x455b62=_0xaa7fc;this[_0x455b62(0x321)]-=0x1,this[_0x455b62(0xe2)][_0x455b62(0x38d)](this[_0x455b62(0x321)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)])),xe(0x1,a[_0xaa7fc(0x41a)]),xe(0x2,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x37d)]))],exports[_0xaa7fc(0x2af)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x205921,_0x686641,_0x399c9e,_0x40f7b0)=>{for(var _0x4db12c=_0x40f7b0>0x1?void 0x0:_0x40f7b0?Rn(_0x686641,_0x399c9e):_0x686641,_0x38b3c6=_0x205921['length']-0x1,_0x370b02;_0x38b3c6>=0x0;_0x38b3c6--)(_0x370b02=_0x205921[_0x38b3c6])&&(_0x4db12c=_0x370b02(_0x4db12c)||_0x4db12c);return _0x4db12c;},lt=(_0x1a01cf,_0x58c3b4)=>(_0x3a6c15,_0x425234)=>_0x58c3b4(_0x3a6c15,_0x425234,_0x1a01cf);const On=_0xaa7fc(0x135);exports[_0xaa7fc(0x3a5)]=class{constructor(_0x40e83c,_0x2c0447){var _0x8fc964=_0xaa7fc;this['_configService']=_0x40e83c,this[_0x8fc964(0x411)]=_0x2c0447;}[_0xaa7fc(0x302)](){var _0x52c9a2=_0xaa7fc,_0x56ccdc,_0x91b0a2;const _0x2312cb=this[_0x52c9a2(0x20d)][_0x52c9a2(0xb5)](Ge),_0x561cb9=this[_0x52c9a2(0x20d)]['getConfig'](Y);return(_0x91b0a2=(_0x56ccdc=_0x561cb9==null?void 0x0:_0x561cb9[_0x52c9a2(0x1e2)])!=null?_0x56ccdc:_0x2312cb)!=null?_0x91b0a2:On;}async[_0xaa7fc(0x28d)](_0xbddbd2){var _0x487f63=_0xaa7fc;const _0x371215=this[_0x487f63(0x302)]()+_0x487f63(0x353);return{'list':[{'title':_0x487f63(0x371),'mentions':(await this[_0x487f63(0x411)][_0x487f63(0xe9)](_0x371215,{'params':{'objectID':_0xbddbd2[_0x487f63(0x2fe)],'unitID':_0xbddbd2['unitId']}}))[_0x487f63(0x173)][_0x487f63(0x165)][_0x487f63(0x2e9)](_0x1705e6=>({'objectId':_0x1705e6['id'],'name':_0x1705e6['subject'][_0x487f63(0x1aa)],'metadata':{'icon':_0x1705e6[_0x487f63(0x2a0)][_0x487f63(0xd5)]},'label':_0x1705e6[_0x487f63(0x2a0)][_0x487f63(0x1aa)],'objectType':a[_0x487f63(0x2cb)][_0x487f63(0xea)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0xaa7fc(0x3a5)]=yn([lt(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x41a)])),lt(0x1,a[_0xaa7fc(0x1a1)](q[_0xaa7fc(0x1a3)]))],exports[_0xaa7fc(0x3a5)]);var Nn=Object[_0xaa7fc(0x198)],Dn=(_0x433a18,_0x1677fe,_0x1bd37c,_0x2c5dce)=>{var _0x3e3e3e=_0xaa7fc;for(var _0x23f1d6=_0x2c5dce>0x1?void 0x0:_0x2c5dce?Nn(_0x1677fe,_0x1bd37c):_0x1677fe,_0x11e5db=_0x433a18[_0x3e3e3e(0x3b0)]-0x1,_0x3d88bb;_0x11e5db>=0x0;_0x11e5db--)(_0x3d88bb=_0x433a18[_0x11e5db])&&(_0x23f1d6=_0x3d88bb(_0x23f1d6)||_0x23f1d6);return _0x23f1d6;},ue=(_0xcea541,_0x54209b)=>(_0x4e2c3f,_0x5c303d)=>_0x54209b(_0x4e2c3f,_0x5c303d,_0xcea541);let De=class extends a[_0xaa7fc(0x102)]{constructor(_0x320ffd,_0x2d413e,_0x5be470,_0x248c70,_0x94561d){var _0x297d54=_0xaa7fc;super(),this[_0x297d54(0x2e2)]=_0x320ffd,this[_0x297d54(0xbf)]=_0x2d413e,this[_0x297d54(0x2e5)]=_0x5be470,this[_0x297d54(0x2d4)]=_0x248c70,this[_0x297d54(0x344)]=_0x94561d,this[_0x297d54(0x2dc)](),this[_0x297d54(0xc6)]();}[_0xaa7fc(0xc6)](){var _0x1942a1=_0xaa7fc;const _0x515c2c=async _0x192f04=>{var _0x21a93b=_0x453e;(await this[_0x21a93b(0x2d4)][_0x21a93b(0x13a)](_0x192f04))[_0x21a93b(0x3c6)][_0x21a93b(0x2a5)](V[_0x21a93b(0xde)](_0x56e707=>_0x56e707[_0x21a93b(0x17d)]===g[_0x21a93b(0x209)][_0x21a93b(0x236)]),V[_0x21a93b(0x356)](this[_0x21a93b(0x2e6)]))[_0x21a93b(0xe5)](_0x1a798a=>{var _0x40ed30=_0x21a93b;const _0x50b943=_0x1a798a,{reason:_0x1ab05e}=_0x50b943[_0x40ed30(0x18e)];this[_0x40ed30(0x344)][_0x40ed30(0x2ac)]({'id':Q[_0x40ed30(0x3e2)],'data':_0x1ab05e}),this[_0x40ed30(0x2e5)]['updatePermissionPoint'](new Z[(_0x40ed30(0x3f5))](_0x192f04)['id'],!0x1),this[_0x40ed30(0x2d4)][_0x40ed30(0x32f)](_0x192f04);});};j[_0x1942a1(0x2f8)](this[_0x1942a1(0xbf)]['getTypeOfUnitAdded$'](a[_0x1942a1(0x231)][_0x1942a1(0x37f)]),this[_0x1942a1(0xbf)][_0x1942a1(0x2d2)](a[_0x1942a1(0x231)][_0x1942a1(0x32c)]))[_0x1942a1(0x2a5)](V['map'](_0x29925d=>_0x29925d[_0x1942a1(0x217)]()),V[_0x1942a1(0xde)](_0x3a3336=>!a['isInternalEditorID'](_0x3a3336)),V['takeUntil'](this[_0x1942a1(0x2e6)]))['subscribe'](_0x377e7f=>{_0x515c2c(_0x377e7f);});}[_0xaa7fc(0x2dc)](){var _0x218db1=_0xaa7fc;const _0x3a5d30=async _0x59b3f3=>{var _0x34e6e9=_0x453e;const _0x1db057=await this['_collaborationSessionService'][_0x34e6e9(0x13a)](_0x59b3f3),_0x2db636=this['_injector']['get'](Z[_0x34e6e9(0x310)]);_0x1db057['event$'][_0x34e6e9(0x2a5)](V[_0x34e6e9(0xde)](_0x4b7f49=>_0x4b7f49['eventID']===g['CollaborationEvent'][_0x34e6e9(0x172)]),V[_0x34e6e9(0x356)](this[_0x34e6e9(0x2e6)]))['subscribe'](_0x897301=>{var _0x287cf9=_0x34e6e9;const _0x3e7af7=_0x897301,{objectId:_0x272fc3}=_0x3e7af7[_0x287cf9(0x18e)];_0x272fc3===_0x59b3f3?_0x2db636[_0x287cf9(0x2cc)](_0x59b3f3):_0x2db636[_0x287cf9(0x35c)](_0x59b3f3,_0x272fc3);});};j[_0x218db1(0x2f8)](this['_univerInstanceService'][_0x218db1(0x2d2)](a[_0x218db1(0x231)][_0x218db1(0x37f)]))[_0x218db1(0x2a5)](V['map'](_0x5cad5f=>_0x5cad5f[_0x218db1(0x217)]()),V[_0x218db1(0xde)](_0xbddc85=>!a[_0x218db1(0x25d)](_0xbddc85)),V[_0x218db1(0x356)](this['dispose$']))[_0x218db1(0xe5)](_0x1851b5=>{_0x3a5d30(_0x1851b5);});}};De=Dn([ue(0x0,a[_0xaa7fc(0x1a1)](a[_0xaa7fc(0x27b)])),ue(0x1,a[_0xaa7fc(0x37d)]),ue(0x2,a['IPermissionService']),ue(0x3,a['Inject'](exports[_0xaa7fc(0x24e)])),ue(0x4,a[_0xaa7fc(0x1a1)](te))],De);var Un=Object[_0xaa7fc(0x198)],An=(_0x5337c8,_0x834b7e,_0x4c3f17,_0x4a3df9)=>{var _0x55f103=_0xaa7fc;for(var _0x2b3b85=_0x4a3df9>0x1?void 0x0:_0x4a3df9?Un(_0x834b7e,_0x4c3f17):_0x834b7e,_0x3b19fd=_0x5337c8[_0x55f103(0x3b0)]-0x1,_0x3ad544;_0x3b19fd>=0x0;_0x3b19fd--)(_0x3ad544=_0x5337c8[_0x3b19fd])&&(_0x2b3b85=_0x3ad544(_0x2b3b85)||_0x2b3b85);return _0x2b3b85;},_t=(_0x73c636,_0x1d92d7)=>(_0x15f5e4,_0x3dac9a)=>_0x1d92d7(_0x15f5e4,_0x3dac9a,_0x73c636);exports[_0xaa7fc(0x364)]=class{constructor(_0x1c8b0c,_0x1b9385){var _0x64a000=_0xaa7fc;this[_0x64a000(0x20d)]=_0x1c8b0c,this[_0x64a000(0x143)]=_0x1b9385;}async['getUnitOnRev'](_0x150514,_0xf68b0f){var _0xc45a0c=_0xaa7fc,_0x36da54;const {unitID:_0x2e2080,type:_0x5810f9,revision:_0x53d43b=0x0}=_0xf68b0f,_0xfadce5=this[_0xc45a0c(0x34f)]()+'/'+_0x5810f9+_0xc45a0c(0xfa)+_0x2e2080+_0xc45a0c(0x416)+_0x53d43b,_0x820e9a=(await this[_0xc45a0c(0x143)][_0xc45a0c(0xe9)](_0xfadce5))[_0xc45a0c(0x173)],_0xaf69d2=(_0x36da54=_0x820e9a['snapshot'])==null?void 0x0:_0x36da54[_0xc45a0c(0x16a)];if(_0xaf69d2){const _0xa799d=_0xaf69d2==null?void 0x0:_0xaf69d2[_0xc45a0c(0x3a2)],_0x466958=g[_0xc45a0c(0x2ea)][_0xc45a0c(0x14b)](g[_0xc45a0c(0x235)](_0xa799d));_0xaf69d2[_0xc45a0c(0x3a2)]=_0x466958,Object[_0xc45a0c(0x2d5)](_0xaf69d2[_0xc45a0c(0x255)])[_0xc45a0c(0xfd)](([,_0x4bf75f])=>{var _0xd1fc54=_0xc45a0c;const _0x1a2731=_0x4bf75f[_0xd1fc54(0x3a2)],_0x276bbf=g[_0xd1fc54(0x2ea)]['encode'](g[_0xd1fc54(0x235)](_0x1a2731));_0x4bf75f[_0xd1fc54(0x3a2)]=_0x276bbf;});}return _0x820e9a;}async[_0xaa7fc(0x316)](_0x475c4d,_0x5615d6){var _0x471b02=_0xaa7fc;const {unitID:_0x492c8f,type:_0x5563aa,blockID:_0xad500a}=_0x5615d6,_0x366ee2=this[_0x471b02(0x380)]()+'/'+_0x5563aa+_0x471b02(0xfa)+_0x492c8f+_0x471b02(0xe8)+_0xad500a;return(await this[_0x471b02(0x143)][_0x471b02(0xe9)](_0x366ee2))['body'];}async[_0xaa7fc(0x306)](_0x10c68a,_0x27a180){var _0x2009e6=_0xaa7fc;const {unitID:_0xed5182,type:_0x5a78ef,blockID:_0x56e1f1}=_0x27a180,_0xf95242=this['_getAPIPrefix']()+'/block/'+_0x5a78ef+'/unit/'+_0xed5182+_0x2009e6(0xe8)+_0x56e1f1;return(await this[_0x2009e6(0x143)][_0x2009e6(0xe9)](_0xf95242))[_0x2009e6(0x173)];}async[_0xaa7fc(0x154)](_0x16b9ca,_0x47767f){var _0x224e8b=_0xaa7fc;const {unitID:_0x5622fa,type:_0x230852,from:_0x24228c,to:_0x25e685}=_0x47767f,_0x372364=this[_0x224e8b(0x380)]()+'/'+_0x230852+'/unit/'+_0x5622fa+'/fetchmissing?from='+_0x24228c+_0x224e8b(0x2bd)+_0x25e685;return(await this['_httpService'][_0x224e8b(0xe9)](_0x372364))[_0x224e8b(0x173)];}[_0xaa7fc(0x34f)](){var _0x17eaba=_0xaa7fc,_0x305451;return(_0x305451=this[_0x17eaba(0x20d)][_0x17eaba(0xb5)](vt))!=null?_0x305451:this[_0x17eaba(0x380)]();}[_0xaa7fc(0x380)](){var _0x43bd16=_0xaa7fc,_0x118d26,_0x3a4eb6;const _0x103ef7=this[_0x43bd16(0x20d)][_0x43bd16(0xb5)](dt),_0x176787=this['_configService'][_0x43bd16(0xb5)](Y);return(_0x3a4eb6=(_0x118d26=_0x176787==null?void 0x0:_0x176787[_0x43bd16(0x1a5)])!=null?_0x118d26:_0x103ef7)!=null?_0x3a4eb6:kt;}async['getResourcesRequest'](_0x29ee64,_0x29fd0d){var _0x1c61c9=_0xaa7fc;const _0x45864c='/universer-api/snapshot/'+_0x29fd0d[_0x1c61c9(0x244)]+_0x1c61c9(0xfa)+_0x29fd0d['unitID']+_0x1c61c9(0x2ab);return(await this[_0x1c61c9(0x143)][_0x1c61c9(0xe9)](_0x45864c,{'params':{'resourceId':JSON[_0x1c61c9(0x10f)](_0x29fd0d['resourceIDs'])}}))[_0x1c61c9(0x173)];}['saveSnapshot'](){var _0x545b92=_0xaa7fc;throw new Error(_0x545b92(0x401));}[_0xaa7fc(0x415)](){var _0xe24c53=_0xaa7fc;throw new Error(_0xe24c53(0x401));}['saveChangeset'](){var _0x58a07a=_0xaa7fc;throw new Error(_0x58a07a(0x401));}[_0xaa7fc(0x201)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xaa7fc(0x252)](){var _0x1709bd=_0xaa7fc;throw new Error(_0x1709bd(0x401));}},exports['SnapshotServerOverHTTPService']=An([_t(0x0,a[_0xaa7fc(0x41a)]),_t(0x1,a['Inject'](q[_0xaa7fc(0x1a3)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0xaa7fc(0x198)],wn=(_0x870590,_0x112b25,_0x972771,_0x3be3b)=>{var _0x1cd6ad=_0xaa7fc;for(var _0x5908bc=_0x3be3b>0x1?void 0x0:_0x3be3b?Pn(_0x112b25,_0x972771):_0x112b25,_0x1c04cb=_0x870590[_0x1cd6ad(0x3b0)]-0x1,_0x3a67cd;_0x1c04cb>=0x0;_0x1c04cb--)(_0x3a67cd=_0x870590[_0x1c04cb])&&(_0x5908bc=_0x3a67cd(_0x5908bc)||_0x5908bc);return _0x5908bc;},de=(_0x42ef7f,_0x124330)=>(_0x3e4c46,_0x7d4a44)=>_0x124330(_0x3e4c46,_0x7d4a44,_0x42ef7f);exports[_0xaa7fc(0x3fb)]=class extends a[_0xaa7fc(0x2a7)]{constructor(_0xa0a59c,_0x5290d7,_0x2364e9,_0x13d20d,_0x20edb2){var _0x2da8e6=_0xaa7fc;super(_0xa0a59c,_0x5290d7,_0x2364e9),this[_0x2da8e6(0x3d8)]=_0x13d20d,this[_0x2da8e6(0x26f)]=_0x20edb2;}['transformUndoRedo'](_0x501f9c,_0x66b293){var _0xace3fa=_0xaa7fc;const _0x21464c=this[_0xace3fa(0x282)](_0x501f9c);if(_0x21464c)try{const _0x163d73=this[_0xace3fa(0x398)](_0x21464c,_0x66b293);this[_0xace3fa(0x1d2)](_0x501f9c,_0x163d73);}catch(_0x5223d5){this['_logService'][_0xace3fa(0x256)](_0xace3fa(0x16b),_0x5223d5),this['_clearUndo'](_0x501f9c);}const _0xcef556=this[_0xace3fa(0x30f)](_0x501f9c);if(_0xcef556)try{const _0x3f06d8=this['_transformStack'](_0xcef556,_0x66b293);this['_substituteRedoStack'](_0x501f9c,_0x3f06d8);}catch(_0x231156){this[_0xace3fa(0x26f)][_0xace3fa(0x256)](_0x231156),this[_0xace3fa(0xb6)](_0x501f9c);}}[_0xaa7fc(0xf6)](_0x5adfb9){var _0x20284b=_0xaa7fc;const _0xe90e1b=this[_0x20284b(0x282)](_0x5adfb9);_0xe90e1b&&(_0xe90e1b[_0x20284b(0x3b0)]=0x0,this[_0x20284b(0x138)]());}[_0xaa7fc(0xb6)](_0x406c27){var _0x143261=_0xaa7fc;const _0x2b5ac5=this[_0x143261(0x30f)](_0x406c27);_0x2b5ac5&&(_0x2b5ac5[_0x143261(0x3b0)]=0x0,this[_0x143261(0x138)]());}['_substituteUndoStack'](_0x5945c9,_0x131e16){var _0x560c96=_0xaa7fc;this['_undoStacks'][_0x560c96(0x3d5)](_0x5945c9,_0x131e16),this[_0x560c96(0x138)]();}['_substituteRedoStack'](_0x456410,_0x16dd1a){var _0x3eb337=_0xaa7fc;this['_redoStacks'][_0x3eb337(0x3d5)](_0x456410,_0x16dd1a),this[_0x3eb337(0x138)]();}['_transformStack'](_0x2e3d46,_0x220ffd){var _0x28d819=_0xaa7fc;const _0x48e8bc=[];let _0x5ad4de=_0x220ffd,_0x3f0c5f=_0x220ffd;for(let _0x13c9ec=_0x2e3d46[_0x28d819(0x3b0)]-0x1;_0x13c9ec>=0x0;_0x13c9ec--){const {unitID:_0x1ecbc2,undoMutations:_0x4e1365,redoMutations:_0x250c93}=_0x2e3d46[_0x13c9ec],_0x4b250e=this['_transformService']['transformMutationsWithChangeset'](_0x5ad4de,_0x4e1365),_0x47cdb6=this[_0x28d819(0x3d8)]['transformMutationsWithChangeset'](_0x3f0c5f,_0x250c93);if(g[_0x28d819(0x186)](_0x4b250e)||g[_0x28d819(0x186)](_0x47cdb6)){this['_logService']['error'](_0x28d819(0x16b),_0x28d819(0x192),_0x4b250e,_0x47cdb6);break;}_0x5ad4de=_0x4b250e[_0x28d819(0x272)],_0x3f0c5f=_0x47cdb6[_0x28d819(0x272)],_0x48e8bc[_0x28d819(0x3d0)]({'unitID':_0x1ecbc2,'undoMutations':_0x4b250e[_0x28d819(0x412)],'redoMutations':_0x47cdb6['m2Prime']});}return _0x48e8bc['reverse']();}},exports[_0xaa7fc(0x3fb)]=wn([de(0x0,a[_0xaa7fc(0x37d)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,g[_0xaa7fc(0x225)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0xaa7fc(0x16f)],Mn=Object[_0xaa7fc(0x198)],xn=(_0x24d8ef,_0x1f9d6d,_0x205dce)=>_0x1f9d6d in _0x24d8ef?Ln(_0x24d8ef,_0x1f9d6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205dce}):_0x24d8ef[_0x1f9d6d]=_0x205dce,kn=(_0x2ae8e6,_0x43cd8c,_0x1de996,_0x4f5d61)=>{var _0x23506b=_0xaa7fc;for(var _0x694c8c=_0x4f5d61>0x1?void 0x0:_0x4f5d61?Mn(_0x43cd8c,_0x1de996):_0x43cd8c,_0x37cf97=_0x2ae8e6[_0x23506b(0x3b0)]-0x1,_0x12ed49;_0x37cf97>=0x0;_0x37cf97--)(_0x12ed49=_0x2ae8e6[_0x37cf97])&&(_0x694c8c=_0x12ed49(_0x694c8c)||_0x694c8c);return _0x694c8c;},ke=(_0x191d45,_0x57969d)=>(_0x826db7,_0x10f775)=>_0x57969d(_0x826db7,_0x10f775,_0x191d45),Hn=(_0x5e751f,_0x4c9dde,_0x36dd36)=>xn(_0x5e751f,_0x4c9dde+'',_0x36dd36);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xaa7fc(0x207)]=class extends a['Plugin']{constructor(_0x11b5b2,_0x3150ff,_0x3f2916,_0x56ed0c){var _0x18d5a7=_0xaa7fc;super(),A(this,'_config'),(this[_0x18d5a7(0x26f)]=_0x3150ff,this['_injector']=_0x3f2916,this[_0x18d5a7(0x20d)]=_0x56ed0c);const {..._0x5bafba}=a[_0x18d5a7(0x2f8)]({},Jt,_0x11b5b2);if(!_0x5bafba[_0x18d5a7(0x23b)])throw new Error(_0x18d5a7(0x219));this[_0x18d5a7(0x262)]=_0x5bafba,this[_0x18d5a7(0x20d)][_0x18d5a7(0x3bb)](Y,_0x5bafba);}[_0xaa7fc(0x3ff)](){var _0x2cbe5b=_0xaa7fc;this[_0x2cbe5b(0x1b8)](),this[_0x2cbe5b(0x250)]();}[_0xaa7fc(0x1b8)](){var _0x4f746b=_0xaa7fc,_0x119842,_0x55da8d;this[_0x4f746b(0x2e2)][_0x4f746b(0x3d7)](a['IUndoRedoService'])&&this[_0x4f746b(0x26f)][_0x4f746b(0x256)](_0x4f746b(0x413),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x139e6a=a[_0x4f746b(0xbb)]([[a[_0x4f746b(0x222)],{'useClass':exports[_0x4f746b(0x3fb)]}],[exports[_0x4f746b(0x24e)]],[exports[_0x4f746b(0xc8)]],[exports[_0x4f746b(0x3b6)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x4f746b(0x262)]['socketService']}],[g['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4f746b(0x24b)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x4f746b(0x158)],{'useClass':exports[_0x4f746b(0x2af)]}],[a[_0x4f746b(0x28e)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4f746b(0x1fb)]],[He]],(_0x119842=this[_0x4f746b(0x262)])==null?void 0x0:_0x119842[_0x4f746b(0x400)]);if(!((_0x55da8d=this[_0x4f746b(0x262)])!=null&&_0x55da8d['enableSingleActiveInstanceLock'])){const _0x3dc6a6=_0x139e6a[_0x4f746b(0x2e4)](([_0x2d2107])=>_0x2d2107===ve);_0x3dc6a6!==-0x1&&_0x139e6a['splice'](_0x3dc6a6,0x1);}a[_0x4f746b(0xf9)](this[_0x4f746b(0x2e2)],_0x139e6a);}[_0xaa7fc(0x250)](){var _0x474a42=_0xaa7fc,_0x104781,_0x4a04a3,_0x4ebb44;this[_0x474a42(0x2e2)][_0x474a42(0xe9)](q['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x474a42(0x280)]({'maxParallel':0x6})}),(_0x104781=this['_config'])!=null&&_0x104781[_0x474a42(0x212)]||(_0x4a04a3=this['_injector']['get'](z,a[_0x474a42(0xc4)][_0x474a42(0x3e0)]))==null||_0x4a04a3[_0x474a42(0x36b)](),(_0x4ebb44=this['_config'])!=null&&_0x4ebb44['enableAuthServer']&&a['touchDependencies'](this[_0x474a42(0x2e2)],[[Oe]]),a[_0x474a42(0x39f)](this[_0x474a42(0x2e2)],[[Ne],[exports[_0x474a42(0x1fb)]],[De]]);}},Hn(exports[_0xaa7fc(0x207)],_0xaa7fc(0x245),jn),exports[_0xaa7fc(0x207)]=kn([a['DependentOn'](g[_0xaa7fc(0x38f)],q[_0xaa7fc(0x11b)]),ke(0x1,a[_0xaa7fc(0x434)]),ke(0x2,a[_0xaa7fc(0x1a1)](a['Injector'])),ke(0x3,a[_0xaa7fc(0x41a)])],exports[_0xaa7fc(0x207)]),exports[_0xaa7fc(0x314)]=Ge,exports[_0xaa7fc(0x31b)]=Y,exports[_0xaa7fc(0x39e)]=It,exports[_0xaa7fc(0x20f)]=St,exports['CollaborationStatus']=Ve,exports[_0xaa7fc(0x14e)]=Q,exports[_0xaa7fc(0x13b)]=te,exports[_0xaa7fc(0x25a)]=Be,exports[_0xaa7fc(0x290)]=ft,exports[_0xaa7fc(0x417)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0xaa7fc(0xb7)]=pt,exports[_0xaa7fc(0x2a1)]=je,exports['ICollaborationSocketService']=$e,exports['ILocalCacheService']=z,exports['INetworkConditionService']=bt,exports[_0xaa7fc(0x3d2)]=ve,exports[_0xaa7fc(0x270)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0xaa7fc(0x393)]=Et,exports[_0xaa7fc(0x1c4)]=qt,exports[_0xaa7fc(0x366)]=mt,exports[_0xaa7fc(0x2c7)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0xaa7fc(0x428)]=vt,exports[_0xaa7fc(0xca)]=se,exports[_0xaa7fc(0x34e)]=Fe,exports[_0xaa7fc(0x23d)]=Rt,exports[_0xaa7fc(0x149)]=vi,exports[_0xaa7fc(0x39a)]=yt;
|
1
|
+
'use strict';var _0x29ecf9=_0x5bf0;(function(_0x585302,_0x272eea){var _0x4afc7d=_0x5bf0,_0x42189f=_0x585302();while(!![]){try{var _0x444d8d=parseInt(_0x4afc7d(0x3a4))/0x1*(-parseInt(_0x4afc7d(0x1f4))/0x2)+parseInt(_0x4afc7d(0x34f))/0x3*(-parseInt(_0x4afc7d(0x35f))/0x4)+parseInt(_0x4afc7d(0x2f3))/0x5+-parseInt(_0x4afc7d(0x2e1))/0x6*(-parseInt(_0x4afc7d(0x3df))/0x7)+parseInt(_0x4afc7d(0x1ee))/0x8*(parseInt(_0x4afc7d(0x2e6))/0x9)+parseInt(_0x4afc7d(0x17c))/0xa+parseInt(_0x4afc7d(0x212))/0xb*(-parseInt(_0x4afc7d(0x229))/0xc);if(_0x444d8d===_0x272eea)break;else _0x42189f['push'](_0x42189f['shift']());}catch(_0x684a1b){_0x42189f['push'](_0x42189f['shift']());}}}(_0x334b,0xefabf));var wt=Object[_0x29ecf9(0x43a)],Lt=(_0x1bd1e3,_0x487556,_0x1128d5)=>_0x487556 in _0x1bd1e3?wt(_0x1bd1e3,_0x487556,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1128d5}):_0x1bd1e3[_0x487556]=_0x1128d5,A=(_0x19a53e,_0x259039,_0x205bf4)=>Lt(_0x19a53e,typeof _0x259039!=_0x29ecf9(0x4ad)?_0x259039+'':_0x259039,_0x205bf4);Object[_0x29ecf9(0x43a)](exports,Symbol[_0x29ecf9(0x218)],{'value':_0x29ecf9(0x3ef)});const a=require(_0x29ecf9(0x2cd)),j=require(_0x29ecf9(0x237)),V=require(_0x29ecf9(0x168)),g=require(_0x29ecf9(0x41c)),q=require(_0x29ecf9(0x3bd)),Mt=require(_0x29ecf9(0x3e6)),ut=require(_0x29ecf9(0x41e)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0x29ecf9(0x40b)),dt=_0x29ecf9(0x27c),kt='/universer-api/snapshot',vt=_0x29ecf9(0x470),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x29ecf9(0x2b4),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x29ecf9(0x2c3),pt=_0x29ecf9(0x205),Bt=0x7530,je=_0x29ecf9(0x1e3),gt=0x4e20,Ft=0x4e20,mt=_0x29ecf9(0x3e8),Vt=0x3,Wt=_0x29ecf9(0x45e),Gt=0x3e8,It=_0x29ecf9(0x3cb),Kt=_0x29ecf9(0x459),Et=_0x29ecf9(0x458),Yt=_0x29ecf9(0x2ed),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x29ecf9(0x22b);var Ct=(_0x4bcf7e=>(_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x31a)]=0x0]='UNDEFINED',_0x4bcf7e[_0x4bcf7e['OK']=0x1]='OK',_0x4bcf7e[_0x4bcf7e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x148)]=0x3]=_0x29ecf9(0x148),_0x4bcf7e[_0x4bcf7e['NOT_FOUND']=0x4]=_0x29ecf9(0x4b2),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x39c)]=0x5]=_0x29ecf9(0x39c),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x362)]=0x6]=_0x29ecf9(0x362),_0x4bcf7e[_0x4bcf7e['INVALID_ARGUMENT']=0x7]=_0x29ecf9(0x3d5),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x190)]=0x8]='TOO_MANY_REQUESTS',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x29f)]=0x9]='COMPLETION_FINISHED',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x44f)]=0xa]=_0x29ecf9(0x44f),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x348)]=0x1389]=_0x29ecf9(0x348),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x176)]=0x1771]=_0x29ecf9(0x176),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x243)]=0x1772]=_0x29ecf9(0x243),_0x4bcf7e[_0x4bcf7e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x29ecf9(0x443),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x2d2)]=0x1b59]=_0x29ecf9(0x2d2),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x2c8)]=0x1b5a]=_0x29ecf9(0x2c8),_0x4bcf7e[_0x4bcf7e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29ecf9(0x404),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x259)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4bcf7e[_0x4bcf7e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x32e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x266)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4bcf7e[_0x4bcf7e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x29ecf9(0x173),_0x4bcf7e[_0x4bcf7e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x29ecf9(0x264),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x32b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4bcf7e[_0x4bcf7e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x29ecf9(0x142),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x2f8)]=0x2711]=_0x29ecf9(0x2f8),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x389)]=0x2712]=_0x29ecf9(0x389),_0x4bcf7e[_0x4bcf7e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x29ecf9(0x1c2),_0x4bcf7e[_0x4bcf7e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29ecf9(0x208),_0x4bcf7e[_0x4bcf7e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x29ecf9(0x245),_0x4bcf7e[_0x4bcf7e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29ecf9(0x4c2),_0x4bcf7e[_0x4bcf7e['INVALID_INVITE_CODE']=0x2ee2]=_0x29ecf9(0x194),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x477)]=0x2ee3]=_0x29ecf9(0x477),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x21f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x2a1)]=0x2ee5]=_0x29ecf9(0x2a1),_0x4bcf7e[_0x4bcf7e[_0x29ecf9(0x1d0)]=-0x1]=_0x29ecf9(0x1d0),_0x4bcf7e))(Ct||{}),X=(_0x445f8a=>(_0x445f8a[_0x445f8a[_0x29ecf9(0x3b9)]=0x0]=_0x29ecf9(0x3b9),_0x445f8a[_0x445f8a[_0x29ecf9(0x2bf)]=0x1]=_0x29ecf9(0x2bf),_0x445f8a[_0x445f8a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x445f8a[_0x445f8a[_0x29ecf9(0x42a)]=0x3]=_0x29ecf9(0x42a),_0x445f8a[_0x445f8a[_0x29ecf9(0x3fb)]=0x4]=_0x29ecf9(0x3fb),_0x445f8a[_0x445f8a[_0x29ecf9(0x1d0)]=-0x1]=_0x29ecf9(0x1d0),_0x445f8a))(X||{}),W=(_0x1f3030=>(_0x1f3030[_0x1f3030[_0x29ecf9(0x33d)]=0x0]=_0x29ecf9(0x33d),_0x1f3030[_0x1f3030[_0x29ecf9(0x1db)]=0x1]=_0x29ecf9(0x1db),_0x1f3030[_0x1f3030['JOIN']=0x2]=_0x29ecf9(0x1a7),_0x1f3030[_0x1f3030[_0x29ecf9(0x421)]=0x3]=_0x29ecf9(0x421),_0x1f3030[_0x1f3030['INGEST']=0x4]='INGEST',_0x1f3030[_0x1f3030[_0x29ecf9(0x17d)]=0x5]=_0x29ecf9(0x17d),_0x1f3030[_0x1f3030[_0x29ecf9(0x388)]=0x6]=_0x29ecf9(0x388),_0x1f3030[_0x1f3030[_0x29ecf9(0x1d0)]=-0x1]=_0x29ecf9(0x1d0),_0x1f3030))(W||{}),ae=(_0x3e9b1d=>(_0x3e9b1d[_0x3e9b1d['UNKNOWN_CODE']=0x0]=_0x29ecf9(0x272),_0x3e9b1d[_0x3e9b1d['OK']=0x1]='OK',_0x3e9b1d[_0x3e9b1d[_0x29ecf9(0x20f)]=0x2]=_0x29ecf9(0x20f),_0x3e9b1d[_0x3e9b1d['JOIN_ROOM_FULL']=0x3e9]=_0x29ecf9(0x3d9),_0x3e9b1d[_0x3e9b1d[_0x29ecf9(0x364)]=0x3ea]=_0x29ecf9(0x364),_0x3e9b1d[_0x3e9b1d[_0x29ecf9(0x2cb)]=0x3eb]=_0x29ecf9(0x2cb),_0x3e9b1d[_0x3e9b1d[_0x29ecf9(0x428)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e9b1d[_0x3e9b1d['UNRECOGNIZED']=-0x1]=_0x29ecf9(0x1d0),_0x3e9b1d))(ae||{}),Tt=(_0x558e73=>(_0x558e73[_0x558e73[_0x29ecf9(0x36a)]=0x0]=_0x29ecf9(0x36a),_0x558e73[_0x558e73[_0x29ecf9(0x342)]=0x1]=_0x29ecf9(0x342),_0x558e73[_0x558e73[_0x29ecf9(0x44b)]=0x2]=_0x29ecf9(0x44b),_0x558e73[_0x558e73[_0x29ecf9(0x298)]=0x3]=_0x29ecf9(0x298),_0x558e73[_0x558e73[_0x29ecf9(0x2f1)]=0x4]=_0x29ecf9(0x2f1),_0x558e73[_0x558e73[_0x29ecf9(0x1d0)]=-0x1]=_0x29ecf9(0x1d0),_0x558e73))(Tt||{});const Y=_0x29ecf9(0x19d),Jt={};var Q=(_0x311ee9=>(_0x311ee9['OTHER_CLIENT_EDITING']=_0x29ecf9(0x303),_0x311ee9[_0x29ecf9(0x148)]=_0x29ecf9(0x148),_0x311ee9[_0x29ecf9(0x29b)]=_0x29ecf9(0x29b),_0x311ee9['CLOSE_ROOM']=_0x29ecf9(0x49c),_0x311ee9[_0x29ecf9(0x1e2)]=_0x29ecf9(0x1e2),_0x311ee9[_0x29ecf9(0x490)]=_0x29ecf9(0x490),_0x311ee9['SOCKET_FAILED']='SOCKET_FAILED',_0x311ee9[_0x29ecf9(0x43d)]=_0x29ecf9(0x43d),_0x311ee9))(Q||{});class te{constructor(){var _0x35d6de=_0x29ecf9;A(this,_0x35d6de(0x2df),new j[(_0x35d6de(0x1c8))]()),A(this,_0x35d6de(0x25f),this['_event$'][_0x35d6de(0x2f6)]());}[_0x29ecf9(0x14d)](_0x106542){var _0x464aca=_0x29ecf9;this[_0x464aca(0x2df)][_0x464aca(0x3f0)](_0x106542);}}const bt=a[_0x29ecf9(0x4c3)](_0x29ecf9(0x28f));function Rt(_0x5b9bb6){var _0x306f36=_0x29ecf9,_0x5e9869,_0x54a17e,_0x4dc2df,_0x3ba19d,_0x4ee333;const _0x563f61=_0x5b9bb6[_0x306f36(0x45b)],_0x33204c=JSON['parse'](_0x563f61);switch(_0x33204c[_0x306f36(0x26d)]){case W[_0x306f36(0x17d)]:case W[_0x306f36(0x1db)]:{const _0x2c87bd=_0x33204c['infoRsp'];return{..._0x33204c,'data':_0x2c87bd,'cmd':_0x33204c['cmd']};}case W[_0x306f36(0x1a7)]:{const _0x56566e=_0x33204c[_0x306f36(0x432)];return{..._0x33204c,'data':_0x56566e,'cmd':_0x33204c[_0x306f36(0x26d)]};}case W[_0x306f36(0x388)]:{const _0xa9c7a1=_0x33204c[_0x306f36(0x413)];switch(_0xa9c7a1[_0x306f36(0x1d1)]){case g[_0x306f36(0x23c)][_0x306f36(0x36e)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':(_0x5e9869=_0xa9c7a1['permissionRejEvent'])==null?void 0x0:_0x5e9869['cs']},'cmd':_0x33204c[_0x306f36(0x26d)]};case g['CollaborationEvent'][_0x306f36(0x29c)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':(_0x54a17e=_0xa9c7a1[_0x306f36(0x3a8)])==null?void 0x0:_0x54a17e['cs']},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)]['NEW_CHANGESETS']:return{..._0x33204c,'data':{..._0xa9c7a1,'data':(_0x4dc2df=_0xa9c7a1[_0x306f36(0x3a5)])==null?void 0x0:_0x4dc2df['cs']},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x46d)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':(_0x3ba19d=_0xa9c7a1[_0x306f36(0x371)])==null?void 0x0:_0x3ba19d['cs']},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x2b7)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':(_0x4ee333=_0xa9c7a1[_0x306f36(0x183)])==null?void 0x0:_0x4ee333['cs']},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x2c0)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x24c)]},'cmd':_0x33204c['cmd']};case g['CollaborationEvent'][_0x306f36(0x3aa)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x4b4)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x301)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x248)]},'cmd':_0x33204c['cmd']};case g[_0x306f36(0x23c)][_0x306f36(0x3a2)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x34b)]},'cmd':_0x33204c['cmd']};case g[_0x306f36(0x23c)][_0x306f36(0x28a)]:case g[_0x306f36(0x23c)][_0x306f36(0x344)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x28b)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g['CollaborationEvent'][_0x306f36(0x466)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x34b)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x33204c,'data':_0xa9c7a1,'cmd':_0x33204c[_0x306f36(0x26d)]};case g['CollaborationEvent'][_0x306f36(0x47f)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x1ff)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g['CollaborationEvent'][_0x306f36(0x157)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x2fd)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x4bc)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x2b1)]},'cmd':_0x33204c[_0x306f36(0x26d)]};case g[_0x306f36(0x23c)][_0x306f36(0x2af)]:return{..._0x33204c,'data':{..._0xa9c7a1,'data':_0xa9c7a1[_0x306f36(0x15f)]},'cmd':_0x33204c[_0x306f36(0x26d)]};default:return _0x33204c;}}default:return _0x33204c;}}function yt(_0x31e3ac){var _0x3bd545=_0x29ecf9;switch(_0x31e3ac[_0x3bd545(0x26d)]){case W[_0x3bd545(0x17d)]:case W[_0x3bd545(0x1db)]:return JSON['stringify']({'cmd':_0x31e3ac[_0x3bd545(0x26d)],'routeKey':_0x31e3ac[_0x3bd545(0x2d7)]});case W[_0x3bd545(0x42d)]:{let _0x8b352;switch(_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x1d1)]){case g[_0x3bd545(0x23c)]['UPDATE_CURSOR']:{_0x8b352={'eventID':g['CollaborationEvent'][_0x3bd545(0x2c0)],'updateCursorEvent':_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x45b)]};break;}case g[_0x3bd545(0x23c)][_0x3bd545(0x301)]:{_0x8b352={'eventID':g[_0x3bd545(0x23c)][_0x3bd545(0x301)],'leaveEvent':_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x45b)]};break;}case g['CollaborationEvent'][_0x3bd545(0x3aa)]:{_0x8b352={'eventID':g['CollaborationEvent'][_0x3bd545(0x3aa)],'joinEvent':_0x31e3ac['data'][_0x3bd545(0x45b)]};break;}case g[_0x3bd545(0x23c)]['LIVESHARE_NEW_HOST']:{_0x8b352={'eventID':g[_0x3bd545(0x23c)][_0x3bd545(0x3a2)],'liveShareNewHost':_0x31e3ac[_0x3bd545(0x45b)]['data']};break;}case g['CollaborationEvent'][_0x3bd545(0x344)]:{_0x8b352={'eventID':g[_0x3bd545(0x23c)][_0x3bd545(0x344)],'liveShareOperation':_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x45b)]};break;}case g[_0x3bd545(0x23c)]['LIVESHARE_TERMINATE']:{_0x8b352={'eventID':g[_0x3bd545(0x23c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31e3ac['data'][_0x3bd545(0x45b)]};break;}case g['CollaborationEvent'][_0x3bd545(0x21a)]:{_0x8b352={'eventID':g['CollaborationEvent'][_0x3bd545(0x21a)],'liveShareRequestHost':_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x45b)]};break;}case g[_0x3bd545(0x23c)]['LIVESHARE_FETCH_OPERATIONS']:{_0x8b352={'eventID':g[_0x3bd545(0x23c)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x8b352={'eventID':_0x31e3ac[_0x3bd545(0x45b)][_0x3bd545(0x1d1)]};}return JSON['stringify']({'cmd':_0x31e3ac['cmd'],'routeKey':_0x31e3ac[_0x3bd545(0x2d7)],'collaMsg':_0x8b352});}case W['JOIN']:return JSON['stringify']({'cmd':_0x31e3ac[_0x3bd545(0x26d)],'routeKey':_0x31e3ac['routeKey'],'joinReq':_0x31e3ac[_0x3bd545(0x45b)]});case W[_0x3bd545(0x421)]:return JSON['stringify']({'cmd':_0x31e3ac[_0x3bd545(0x26d)],'routeKey':_0x31e3ac['routeKey'],'leaveReq':_0x31e3ac[_0x3bd545(0x45b)]});default:throw new Error(_0x3bd545(0x341));}}var Xt=Object[_0x29ecf9(0x161)],Zt=(_0x2e4346,_0x5e7580,_0x1f1c14,_0x1566b1)=>{var _0x38c591=_0x29ecf9;for(var _0x40ea16=_0x1566b1>0x1?void 0x0:_0x1566b1?Xt(_0x5e7580,_0x1f1c14):_0x5e7580,_0x3766ca=_0x2e4346[_0x38c591(0x439)]-0x1,_0x476be4;_0x3766ca>=0x0;_0x3766ca--)(_0x476be4=_0x2e4346[_0x3766ca])&&(_0x40ea16=_0x476be4(_0x40ea16)||_0x40ea16);return _0x40ea16;},_e=(_0x283a6a,_0x50e0c8)=>(_0x9778f2,_0x47003a)=>_0x50e0c8(_0x9778f2,_0x47003a,_0x283a6a);const $e=a[_0x29ecf9(0x4c3)](_0x29ecf9(0x275));function Qt(_0xefb207,_0x1b821f,_0x1c5db7){var _0x5222f9=_0x29ecf9;return _0xefb207+'/'+_0x1b821f+'/unit/'+_0x1c5db7+_0x5222f9(0x30a);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x2c854e,_0x3814b2,_0x23b6ed,_0x3f226a,_0x5248f0){var _0xca89f7=_0x29ecf9;super(),this[_0xca89f7(0x199)]=_0x2c854e,this[_0xca89f7(0x497)]=_0x3814b2,this['_configService']=_0x23b6ed,this['_logService']=_0x3f226a,this[_0xca89f7(0x1ef)]=_0x5248f0;}[_0x29ecf9(0x1cb)](_0x3a1118){var _0x2b80ca=_0x29ecf9;const _0x58397c=this[_0x2b80ca(0x199)][_0x2b80ca(0x26e)](q[_0x2b80ca(0x3c9)]);if(!_0x58397c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4bc44b=_0x58397c['createSocket'](_0x3a1118);if(!_0x4bc44b)throw new Error(_0x2b80ca(0x462));const _0x36f2b8=new a[(_0x2b80ca(0x304))](),_0x22a14b=new j[(_0x2b80ca(0x1c8))]();_0x36f2b8[_0x2b80ca(0x18c)](_0x4bc44b['close$'][_0x2b80ca(0x366)](_0x5ecab3=>_0x22a14b[_0x2b80ca(0x3f0)](_0x5ecab3))),_0x36f2b8[_0x2b80ca(0x18c)](a[_0x2b80ca(0x1b6)](()=>_0x22a14b[_0x2b80ca(0x171)]()));const _0x418da7=new j[(_0x2b80ca(0x1c8))]();_0x36f2b8[_0x2b80ca(0x18c)](_0x4bc44b['error$'][_0x2b80ca(0x366)](_0x17f634=>_0x418da7[_0x2b80ca(0x3f0)](_0x17f634))),_0x36f2b8[_0x2b80ca(0x18c)](a['toDisposable'](()=>_0x418da7[_0x2b80ca(0x171)]()));const _0x8708d3=new j[(_0x2b80ca(0x1c8))]();_0x36f2b8[_0x2b80ca(0x18c)](_0x4bc44b[_0x2b80ca(0x25a)][_0x2b80ca(0x366)](_0x290296=>{var _0x218d0e=_0x2b80ca;const _0x449612=Rt(_0x290296);_0x8708d3[_0x218d0e(0x3f0)](_0x449612);})),_0x36f2b8['add'](a[_0x2b80ca(0x1b6)](()=>_0x8708d3[_0x2b80ca(0x171)]()));let _0x5d232b;const _0x10b3b6=()=>{var _0x275fb5=_0x2b80ca;_0x418da7['next'](new Event('connection\x20error')),_0x22a14b[_0x275fb5(0x3f0)](new Event(_0x275fb5(0x23e))),_0x5d232b[_0x275fb5(0x200)]();};return _0x5d232b={'memberID':'','close$':_0x22a14b[_0x2b80ca(0x2f6)](),'error$':_0x418da7[_0x2b80ca(0x2f6)](),'open$':_0x4bc44b[_0x2b80ca(0x1ae)],'message$':_0x8708d3[_0x2b80ca(0x2f6)](),'send':_0x56a981=>{var _0x193eba=_0x2b80ca;if(_0x56a981[_0x193eba(0x26d)]===W[_0x193eba(0x42d)]){if(_0x56a981[_0x193eba(0x45b)][_0x193eba(0x1d1)]===g['CollaborationEvent'][_0x193eba(0x228)]){this[_0x193eba(0x48e)](_0x5d232b,_0x56a981['data'])[_0x193eba(0x430)](_0x46aedc=>{var _0x2d86d3=_0x193eba;this[_0x2d86d3(0x17b)]['error'](_0x46aedc),_0x10b3b6();});return;}if(_0x56a981['data']['eventID']===g['CollaborationEvent'][_0x193eba(0x3d0)]){const _0x10a89e=_0x56a981[_0x193eba(0x45b)];this[_0x193eba(0x43c)](_0x10a89e)[_0x193eba(0x46a)](_0x20cfc1=>{var _0x14a0b3=_0x193eba;_0x8708d3[_0x14a0b3(0x3f0)]({'cmd':W[_0x14a0b3(0x388)],'code':ae['OK'],'routeKey':_0x10a89e[_0x14a0b3(0x45b)]['unitID'],'routeType':'','data':{'eventID':g[_0x14a0b3(0x23c)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x20cfc1}}});})[_0x193eba(0x430)](_0x5be47b=>{this['_logService']['error'](_0x5be47b),_0x10b3b6();});return;}}_0x4bc44b[_0x193eba(0x231)](yt(_0x56a981));},'close':()=>{var _0xcbb419=_0x2b80ca;_0x4bc44b[_0xcbb419(0x200)](),_0x36f2b8[_0xcbb419(0x3c2)]();}},_0x5d232b;}async[_0x29ecf9(0x48e)](_0x130186,_0x328379){var _0x5799fb=_0x29ecf9,_0x17bd3e,_0x1ebf41;const {unitType:_0x5b6607,unitID:_0x3e2a7f,changeset:_0x555d1d}=_0x328379['data'],_0x78de6b={'unitID':_0x3e2a7f,'memberID':_0x130186['memberID'],'type':_0x5b6607,'changeset':g[_0x5799fb(0x293)](_0x555d1d)},_0x223856=this[_0x5799fb(0x486)][_0x5799fb(0x320)](It),_0x34c12b=this['_configService']['getConfig'](Y),_0x40a8ee=Qt((_0x1ebf41=(_0x17bd3e=_0x34c12b==null?void 0x0:_0x34c12b[_0x5799fb(0x3bf)])!=null?_0x17bd3e:_0x223856)!=null?_0x1ebf41:Kt,_0x5b6607,_0x3e2a7f);try{await this[_0x5799fb(0x497)][_0x5799fb(0x2ca)](_0x40a8ee,{'body':_0x78de6b});}catch(_0x5251d2){throw this[_0x5799fb(0x17b)][_0x5799fb(0x3b2)](_0x5799fb(0x1a2),_0x5799fb(0x2a9)),_0x5251d2;}}async[_0x29ecf9(0x43c)](_0x2de34a){var _0x8157cd=_0x29ecf9;const {unitID:_0x497008,from:_0x4ba06c,to:_0x46c56a,unitType:_0x210e43}=_0x2de34a[_0x8157cd(0x45b)];return(await this[_0x8157cd(0x1ef)][_0x8157cd(0x2ee)]({'metadata':void 0x0},{'unitID':_0x497008,'type':_0x210e43,'from':_0x4ba06c,'to':_0x46c56a}))[_0x8157cd(0x4a1)];}},exports[_0x29ecf9(0x43e)]=Zt([_e(0x0,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),_e(0x1,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)])),_e(0x2,a[_0x29ecf9(0x1de)]),_e(0x3,a[_0x29ecf9(0x241)]),_e(0x4,g[_0x29ecf9(0x485)])],exports[_0x29ecf9(0x43e)]);const ei=_0x29ecf9(0x394);function ti(_0x5bb3c3){var _0x3ee723=_0x29ecf9;return JSON['stringify'](_0x5bb3c3)[_0x3ee723(0x439)];}class Be{constructor(){var _0x8f1117=_0x29ecf9;A(this,_0x8f1117(0x313),new j['Subject']()),A(this,_0x8f1117(0x435),this[_0x8f1117(0x313)][_0x8f1117(0x2f6)]());}['onCommentUpdate'](_0x2b80ee){var _0x4ed74c=_0x29ecf9;this[_0x4ed74c(0x313)][_0x4ed74c(0x3f0)](_0x2b80ee);}}var ii=Object[_0x29ecf9(0x161)],ni=(_0x301082,_0x4f13f9,_0x2ff176,_0x40f330)=>{var _0xdca53b=_0x29ecf9;for(var _0x3bc72b=_0x40f330>0x1?void 0x0:_0x40f330?ii(_0x4f13f9,_0x2ff176):_0x4f13f9,_0xd126b5=_0x301082[_0xdca53b(0x439)]-0x1,_0x515b2b;_0xd126b5>=0x0;_0xd126b5--)(_0x515b2b=_0x301082[_0xd126b5])&&(_0x3bc72b=_0x515b2b(_0x3bc72b)||_0x3bc72b);return _0x3bc72b;},Ke=(_0x12d1e9,_0x3505fa)=>(_0x10642d,_0x480e0b)=>_0x3505fa(_0x10642d,_0x480e0b,_0x12d1e9);exports[_0x29ecf9(0x3e0)]=class extends a[_0x29ecf9(0x314)]{constructor(_0x39b419,_0x1c53fb){var _0x576c30=_0x29ecf9;super(),A(this,'_roomMembers',new Map()),A(this,_0x576c30(0x219),new j[(_0x576c30(0x1c8))]()),(this['_univerInstanceService']=_0x39b419,this[_0x576c30(0x46b)]=_0x1c53fb,this['disposeWithMe'](j[_0x576c30(0x4be)](this[_0x576c30(0x32d)][_0x576c30(0x15b)](a[_0x576c30(0x2e8)][_0x576c30(0x2db)])['pipe'](V[_0x576c30(0x27b)](_0x2e8b66=>_0x2e8b66[_0x576c30(0x352)]())),this[_0x576c30(0x32d)][_0x576c30(0x15b)](a['UniverInstanceType'][_0x576c30(0x2bf)])[_0x576c30(0x260)](V[_0x576c30(0x27b)](_0xd13726=>_0xd13726[_0x576c30(0x352)]())),this[_0x576c30(0x32d)]['getTypeOfUnitDisposed$'](a[_0x576c30(0x2e8)][_0x576c30(0x42a)])[_0x576c30(0x260)](V[_0x576c30(0x27b)](_0x2d094f=>_0x2d094f['getUnitId']())))[_0x576c30(0x366)](_0x2f4fb6=>this[_0x576c30(0x3c4)](_0x2f4fb6))));}['waitForRoom$'](_0x48acf7){var _0x403bf8=_0x29ecf9;return this[_0x403bf8(0x3fa)][_0x403bf8(0x159)](_0x48acf7)?j['of'](this[_0x403bf8(0x3fa)][_0x403bf8(0x26e)](_0x48acf7)):this[_0x403bf8(0x219)][_0x403bf8(0x260)](V['map'](_0x3fa020=>{var _0x51b547=_0x403bf8;if(_0x3fa020===_0x48acf7)return this[_0x51b547(0x3fa)][_0x51b547(0x26e)](_0x3fa020);}));}[_0x29ecf9(0x1b2)](_0x34e674){this['_userManagerService']['setCurrentUser'](_0x34e674);}[_0x29ecf9(0x14e)](){var _0x207962=_0x29ecf9;return this[_0x207962(0x46b)][_0x207962(0x14e)]();}['updateMember'](_0x50db3c,_0x51423b){var _0x5cf593=_0x29ecf9;let _0x72f89e=this['_roomMembers'][_0x5cf593(0x26e)](_0x50db3c);_0x72f89e||(_0x72f89e=new ri(),this[_0x5cf593(0x3fa)]['set'](_0x50db3c,_0x72f89e),this[_0x5cf593(0x219)]['next'](_0x50db3c)),_0x72f89e[_0x5cf593(0x1cd)](_0x51423b);}[_0x29ecf9(0x27e)](_0x211011,_0x54ec52){var _0x3cafcd=_0x29ecf9;const _0x37f1eb=this['_roomMembers'][_0x3cafcd(0x26e)](_0x211011);_0x37f1eb&&_0x37f1eb[_0x3cafcd(0x27e)](_0x54ec52);}['getRoom'](_0x172a75){var _0x420640=_0x29ecf9;return this[_0x420640(0x3fa)]['get'](_0x172a75);}[_0x29ecf9(0x4b7)](_0x350b2d,_0x4e7736){var _0x473f5b=_0x29ecf9;const _0x1135c9=this[_0x473f5b(0x3fa)]['get'](_0x350b2d);if(_0x1135c9)return _0x1135c9[_0x473f5b(0x4b7)](_0x4e7736);}[_0x29ecf9(0x3c4)](_0x498b4e){var _0x423efa=_0x29ecf9;const _0x138f50=this[_0x423efa(0x3fa)][_0x423efa(0x26e)](_0x498b4e);_0x138f50&&(_0x138f50[_0x423efa(0x3c2)](),this[_0x423efa(0x3fa)][_0x423efa(0x169)](_0x498b4e));}[_0x29ecf9(0x3c2)](){var _0x2fa055=_0x29ecf9;this[_0x2fa055(0x3fa)]['forEach'](_0x100a3e=>_0x100a3e['dispose']()),this[_0x2fa055(0x3fa)]['clear'](),this[_0x2fa055(0x219)][_0x2fa055(0x171)]();}},exports[_0x29ecf9(0x3e0)]=ni([Ke(0x0,a[_0x29ecf9(0x322)]),Ke(0x1,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x236)]))],exports['MemberService']);class ri extends a[_0x29ecf9(0x314)]{constructor(){var _0x88bea7=_0x29ecf9;super(...arguments),A(this,_0x88bea7(0x2ad),new Map()),A(this,_0x88bea7(0x433),new j['BehaviorSubject'](this['_members'])),A(this,_0x88bea7(0x274),this[_0x88bea7(0x433)][_0x88bea7(0x2f6)]());}[_0x29ecf9(0x3c2)](){var _0x2a5961=_0x29ecf9;this[_0x2a5961(0x2ad)][_0x2a5961(0x164)]();}[_0x29ecf9(0x1cd)](_0x49efc7){var _0x132d96=_0x29ecf9;this[_0x132d96(0x2ad)][_0x132d96(0x16e)](_0x49efc7[_0x132d96(0x2a5)],_0x49efc7),this['_emitMembers']();}[_0x29ecf9(0x27e)](_0x421616){var _0x273030=_0x29ecf9;this[_0x273030(0x2ad)]['delete'](_0x421616);}[_0x29ecf9(0x4b7)](_0x358145){var _0x3863af=_0x29ecf9;return this[_0x3863af(0x2ad)][_0x3863af(0x26e)](_0x358145);}[_0x29ecf9(0x3fe)](){var _0x185841=_0x29ecf9;return Array['from'](this[_0x185841(0x2ad)][_0x185841(0x1dc)]());}[_0x29ecf9(0x438)](){var _0x5b8f76=_0x29ecf9;this['_members$'][_0x5b8f76(0x3f0)](this['_members']);}}function _0x5bf0(_0x8e8aee,_0x402aec){var _0x334bb9=_0x334b();return _0x5bf0=function(_0x5bf02e,_0x56f120){_0x5bf02e=_0x5bf02e-0x141;var _0x5b42b5=_0x334bb9[_0x5bf02e];return _0x5b42b5;},_0x5bf0(_0x8e8aee,_0x402aec);}var si=Object[_0x29ecf9(0x161)],oi=(_0x7b463f,_0xae056a,_0x111e76,_0x5bf128)=>{var _0x253bf6=_0x29ecf9;for(var _0x161d96=_0x5bf128>0x1?void 0x0:_0x5bf128?si(_0xae056a,_0x111e76):_0xae056a,_0x202636=_0x7b463f[_0x253bf6(0x439)]-0x1,_0x3b9e34;_0x202636>=0x0;_0x202636--)(_0x3b9e34=_0x7b463f[_0x202636])&&(_0x161d96=_0x3b9e34(_0x161d96)||_0x161d96);return _0x161d96;},oe=(_0x2b9a3c,_0xaf43fe)=>(_0x4f8272,_0x37a8a4)=>_0xaf43fe(_0x4f8272,_0x37a8a4,_0x2b9a3c),se=(_0x35b484=>(_0x35b484[_0x35b484['IDLE']=0x0]=_0x29ecf9(0x390),_0x35b484[_0x35b484[_0x29ecf9(0x350)]=0x1]=_0x29ecf9(0x350),_0x35b484[_0x35b484['OFFLINE']=0x2]=_0x29ecf9(0x41d),_0x35b484[_0x35b484[_0x29ecf9(0x324)]=0x3]=_0x29ecf9(0x324),_0x35b484))(se||{});const Ye={[ae['FAIL']]:_0x29ecf9(0x19c),[ae[_0x29ecf9(0x3d9)]]:_0x29ecf9(0x386),[ae[_0x29ecf9(0x364)]]:_0x29ecf9(0x182),[ae[_0x29ecf9(0x2cb)]]:_0x29ecf9(0x407),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x29ecf9(0x39d)};exports[_0x29ecf9(0x431)]=class extends a[_0x29ecf9(0x4d1)]{constructor(_0x277168,_0x9cac55,_0x37368e,_0x33d051,_0x3b4198,_0x113e5c,_0x31b8d6,_0x4f31a1,_0x8f59b2){var _0x466c2b=_0x29ecf9;super(),A(this,_0x466c2b(0x256),new j[(_0x466c2b(0x3ff))](0x0)),A(this,_0x466c2b(0x464),this[_0x466c2b(0x256)][_0x466c2b(0x2f6)]()),A(this,_0x466c2b(0x2df),new j['Subject']()),A(this,_0x466c2b(0x25f),this[_0x466c2b(0x2df)][_0x466c2b(0x2f6)]()),A(this,_0x466c2b(0x3d8)),A(this,_0x466c2b(0x1b8)),A(this,'_collaborationTimeoutTimer'),A(this,_0x466c2b(0x1d9),!0x1),A(this,_0x466c2b(0x398),null),(this[_0x466c2b(0x292)]=_0x277168,this[_0x466c2b(0x17b)]=_0x37368e,this['_configService']=_0x33d051,this[_0x466c2b(0x247)]=_0x3b4198,this[_0x466c2b(0x453)]=_0x113e5c,this[_0x466c2b(0x37c)]=_0x31b8d6,this['_collaborationUIEventService']=_0x4f31a1,this[_0x466c2b(0x2c2)]=_0x8f59b2,this[_0x466c2b(0x1d9)]=!!this[_0x466c2b(0x2c2)],_0x9cac55[_0x466c2b(0x260)](j['takeUntil'](this['dispose$']))[_0x466c2b(0x366)](_0x5eb064=>{var _0x458c17=_0x466c2b,_0xd03ab5;typeof _0x5eb064>'u'||(this[_0x458c17(0x3d8)]=_0x5eb064,_0x5eb064?(this['_joinRoom'](_0x5eb064),this[_0x458c17(0x1b8)]=_0x5eb064[_0x458c17(0x25a)][_0x458c17(0x366)](_0x7625fb=>{var _0x408073=_0x458c17;_0x7625fb[_0x408073(0x2d7)]===this[_0x408073(0x292)]&&this['_onCombEvent'](_0x7625fb);})):(this[_0x458c17(0x30d)](),this['_sessionStatus$'][_0x458c17(0x3f0)](0x2),(_0xd03ab5=this[_0x458c17(0x1b8)])==null||_0xd03ab5[_0x458c17(0x18f)](),this[_0x458c17(0x1b8)]=null));}));}get[_0x29ecf9(0x39a)](){var _0x3d499d=_0x29ecf9;return this['_sessionStatus$'][_0x3d499d(0x359)]();}['getMemberID'](){var _0x4ba7b3=_0x29ecf9,_0x18367d,_0x5e4158;return(_0x5e4158=(_0x18367d=this[_0x4ba7b3(0x3d8)])==null?void 0x0:_0x18367d['memberID'])!=null?_0x5e4158:null;}[_0x29ecf9(0x3c2)](){var _0x507b80=_0x29ecf9;super[_0x507b80(0x3c2)](),this[_0x507b80(0x482)]['next'](),this[_0x507b80(0x482)]['complete']();}['close'](){var _0xa46e2d=_0x29ecf9,_0x29ed91,_0x173f80;this[_0xa46e2d(0x30d)](),(_0x29ed91=this[_0xa46e2d(0x3d8)])==null||_0x29ed91[_0xa46e2d(0x231)]({'cmd':W[_0xa46e2d(0x421)],'data':{'roomID':this[_0xa46e2d(0x292)]}}),(_0x173f80=this[_0xa46e2d(0x3d8)])==null||_0x173f80[_0xa46e2d(0x200)](),this[_0xa46e2d(0x2df)][_0xa46e2d(0x171)](),this['_sessionStatus$'][_0xa46e2d(0x171)](),this[_0xa46e2d(0x3c2)]();}[_0x29ecf9(0x26f)](_0x11f579){var _0x612aa7=_0x29ecf9;_0x11f579[_0x612aa7(0x26d)]===W['JOIN']?this['_onJoinRoomEvent'](_0x11f579):_0x11f579['cmd']===W[_0x612aa7(0x388)]&&this[_0x612aa7(0x3f7)](_0x11f579);}[_0x29ecf9(0x4b9)](_0x504769){var _0x5f168e=_0x29ecf9;this[_0x5f168e(0x256)][_0x5f168e(0x3f0)](0x1),_0x504769[_0x5f168e(0x231)]({'cmd':W['JOIN'],'routeKey':this[_0x5f168e(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5f168e(0x292)]}]}});}[_0x29ecf9(0x387)](_0x5aa30c){var _0x51211f=_0x29ecf9,_0x2ab33d;if(_0x5aa30c[_0x51211f(0x1fa)]in Ye){this[_0x51211f(0x227)]['emitEvent']({'id':Q[_0x51211f(0x1e2)],'data':Ye[_0x5aa30c[_0x51211f(0x1fa)]]}),this[_0x51211f(0x256)][_0x51211f(0x3f0)](0x2);return;}this[_0x51211f(0x256)][_0x51211f(0x3f0)](0x3);const _0x2ac882=(_0x2ab33d=_0x5aa30c[_0x51211f(0x45b)][_0x51211f(0x4ce)][this[_0x51211f(0x292)]])==null?void 0x0:_0x2ab33d['members'];_0x2ac882&&_0x2ac882[_0x51211f(0x420)](_0x45f9d2=>this['_memberService'][_0x51211f(0x1cd)](this[_0x51211f(0x292)],_0x45f9d2));}[_0x29ecf9(0x3f7)](_0x2cbe96){var _0x222b15=_0x29ecf9;try{const _0x89efde=_0x2cbe96[_0x222b15(0x45b)];switch(_0x89efde['eventID']){case g[_0x222b15(0x23c)]['USERS_ENTER']:this['_onUserJoin'](_0x89efde),this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);break;case g[_0x222b15(0x23c)]['USERS_LEAVE']:this[_0x222b15(0x15d)](_0x89efde),this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);break;case g[_0x222b15(0x23c)][_0x222b15(0x29c)]:case g[_0x222b15(0x23c)][_0x222b15(0x2b7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x222b15(0x1fb)](),this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);break;case g[_0x222b15(0x23c)][_0x222b15(0x226)]:this[_0x222b15(0x17b)][_0x222b15(0x3b2)](_0x222b15(0x258)+JSON[_0x222b15(0x4a8)](_0x89efde)),this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);break;case g[_0x222b15(0x23c)][_0x222b15(0x47f)]:this[_0x222b15(0x37c)]['onCommentUpdate'](_0x89efde[_0x222b15(0x45b)]),this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);break;default:this[_0x222b15(0x2df)][_0x222b15(0x3f0)](_0x89efde);}}catch(_0x2bea1d){this[_0x222b15(0x17b)][_0x222b15(0x3b2)](_0x2bea1d,_0x2cbe96);}}[_0x29ecf9(0x3e2)](_0x2ffb4d){var _0x3f2534=_0x29ecf9;this['_memberService'][_0x3f2534(0x1cd)](this['_unitID'],_0x2ffb4d[_0x3f2534(0x45b)]);}[_0x29ecf9(0x15d)](_0x3df482){var _0x377947=_0x29ecf9;this[_0x377947(0x453)][_0x377947(0x27e)](this[_0x377947(0x292)],_0x3df482[_0x377947(0x45b)][_0x377947(0x2a5)]);}async['send'](_0x2a25ec,_0x513508){var _0x2e71f8=_0x29ecf9;if(this[_0x2e71f8(0x39a)]!==0x3||!this[_0x2e71f8(0x3d8)])throw new Error(_0x2e71f8(0x1e6));try{_0x2a25ec[_0x2e71f8(0x1d1)]===g[_0x2e71f8(0x23c)][_0x2e71f8(0x228)]&&(this[_0x2e71f8(0x392)](),this[_0x2e71f8(0x2fc)](_0x2a25ec)),this[_0x2e71f8(0x3d8)][_0x2e71f8(0x231)]({'cmd':W[_0x2e71f8(0x42d)],'routeKey':_0x513508,'routeType':'','data':_0x2a25ec});}catch(_0x4e0c2b){this[_0x2e71f8(0x17b)][_0x2e71f8(0x3b2)](_0x4e0c2b);}}[_0x29ecf9(0x392)](){var _0x232330=_0x29ecf9,_0x281021;this[_0x232330(0x46c)]=setTimeout(()=>{var _0x19fac9=_0x232330;this[_0x19fac9(0x46c)]=null,this['_collaborationUIEventService'][_0x19fac9(0x14d)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x281021=this[_0x232330(0x486)]['getConfig'](je))!=null?_0x281021:gt);}[_0x29ecf9(0x1fb)](){var _0x4e75f1=_0x29ecf9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4e75f1(0x46c)]),this[_0x4e75f1(0x46c)]=null);}[_0x29ecf9(0x2fc)](_0x2001c8){var _0x375c7b=_0x29ecf9;if(!this[_0x375c7b(0x1d9)])return;const {data:_0x13c76c}=_0x2001c8,{unitID:_0x5e9a66,changeset:_0x5156b7}=_0x13c76c,{mutations:_0x15f75b,type:_0x18f1b0}=_0x5156b7;this['_telemetryInfo']={'unitId':_0x5e9a66,'type':_0x18f1b0,'startTime':performance[_0x375c7b(0x3dc)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x15f75b)};}[_0x29ecf9(0x481)](){var _0x51c991=_0x29ecf9;if(this[_0x51c991(0x1d9)]){if(!this['_telemetryInfo']){this['_logService'][_0x51c991(0x3b2)](_0x51c991(0x1a2),_0x51c991(0x2f2));return;}this[_0x51c991(0x398)][_0x51c991(0x37b)]=performance[_0x51c991(0x3dc)](),this[_0x51c991(0x398)][_0x51c991(0x188)]=this[_0x51c991(0x398)][_0x51c991(0x37b)]-this[_0x51c991(0x398)][_0x51c991(0x250)],this[_0x51c991(0x2c2)][_0x51c991(0x277)](ei,this[_0x51c991(0x398)]),this['_telemetryInfo']=null;}}[_0x29ecf9(0x30d)](){var _0x5c8573=_0x29ecf9;this[_0x5c8573(0x398)]=null;}},exports[_0x29ecf9(0x431)]=oi([oe(0x2,a[_0x29ecf9(0x241)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a[_0x29ecf9(0x16a)])),oe(0x5,a[_0x29ecf9(0x36f)](exports[_0x29ecf9(0x3e0)])),oe(0x6,a[_0x29ecf9(0x36f)](Be)),oe(0x7,a[_0x29ecf9(0x36f)](te)),oe(0x8,a[_0x29ecf9(0x172)](Mt[_0x29ecf9(0x1f6)]))],exports['CollaborationSession']);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x16c649,_0x215c92,_0x2dbe42,_0x1c6b0e)=>{var _0x287508=_0x29ecf9;for(var _0x32fa70=_0x1c6b0e>0x1?void 0x0:_0x1c6b0e?ai(_0x215c92,_0x2dbe42):_0x215c92,_0x303259=_0x16c649[_0x287508(0x439)]-0x1,_0x14a5f6;_0x303259>=0x0;_0x303259--)(_0x14a5f6=_0x16c649[_0x303259])&&(_0x32fa70=_0x14a5f6(_0x32fa70)||_0x32fa70);return _0x32fa70;},le=(_0x50e124,_0x6999ba)=>(_0x3a16a8,_0x2a3a59)=>_0x6999ba(_0x3a16a8,_0x2a3a59,_0x50e124);exports['CollaborationSessionService']=class extends a[_0x29ecf9(0x314)]{constructor(_0x27ff87,_0x323984,_0x3213d1,_0x133031,_0x44f2d6,_0x57bc0c){var _0x3db999=_0x29ecf9;super(),A(this,_0x3db999(0x3c1),new j[(_0x3db999(0x3ff))](void 0x0)),A(this,_0x3db999(0x2b6),this[_0x3db999(0x3c1)][_0x3db999(0x2f6)]()),A(this,_0x3db999(0x225),null),A(this,_0x3db999(0x1f9),new Map()),A(this,_0x3db999(0x3c7),new j[(_0x3db999(0x3ff))](se[_0x3db999(0x390)])),A(this,_0x3db999(0x207),this['_status$'][_0x3db999(0x2f6)]()),A(this,_0x3db999(0x2d9),!0x1),A(this,_0x3db999(0x29d)),A(this,_0x3db999(0x3db),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x3db999(0x1c3)),(this[_0x3db999(0x199)]=_0x27ff87,this[_0x3db999(0x17b)]=_0x323984,this[_0x3db999(0x486)]=_0x3213d1,this[_0x3db999(0x155)]=_0x133031,this[_0x3db999(0x227)]=_0x44f2d6,this[_0x3db999(0x16b)]=_0x57bc0c,this[_0x3db999(0x1ca)]());}get[_0x29ecf9(0x3d8)](){var _0x155962=_0x29ecf9;return this[_0x155962(0x3c1)][_0x155962(0x359)]();}[_0x29ecf9(0x1ca)](){var _0x24feac=_0x29ecf9;this[_0x24feac(0x16b)]&&this[_0x24feac(0x44c)](this['_networkConditionService'][_0x24feac(0x409)][_0x24feac(0x366)](_0x831fbe=>{var _0x1a89dc=_0x24feac;_0x831fbe&&!this['_socket']&&this[_0x1a89dc(0x38d)](),_0x831fbe||this[_0x1a89dc(0x1f1)]();}));}['dispose'](){var _0x5a3f78=_0x29ecf9;super['dispose'](),this[_0x5a3f78(0x17e)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x5a3f78(0x1f9)][_0x5a3f78(0x420)](_0x327893=>_0x327893['dispose']()),this[_0x5a3f78(0x1f9)][_0x5a3f78(0x164)](),this[_0x5a3f78(0x3c7)][_0x5a3f78(0x171)]();}async[_0x29ecf9(0x2fe)](_0x41ff03){var _0x5c841f=_0x29ecf9;if(this['_sessions'][_0x5c841f(0x159)](_0x41ff03))return this[_0x5c841f(0x1f9)][_0x5c841f(0x26e)](_0x41ff03);this[_0x5c841f(0x410)]();const _0x11080c=this[_0x5c841f(0x199)][_0x5c841f(0x4ba)](exports[_0x5c841f(0x431)],_0x41ff03,this[_0x5c841f(0x3c1)][_0x5c841f(0x2f6)]());return this[_0x5c841f(0x1f9)][_0x5c841f(0x16e)](_0x41ff03,_0x11080c),_0x11080c;}[_0x29ecf9(0x1c0)](_0x1d1dd1){var _0x4f172e=_0x29ecf9,_0x3169bd;const _0x372ed9=this[_0x4f172e(0x1f9)]['get'](_0x1d1dd1);_0x372ed9&&(this['_sessions']['delete'](_0x1d1dd1),_0x372ed9[_0x4f172e(0x200)]()),this[_0x4f172e(0x1f9)][_0x4f172e(0x1e0)]||(_0x3169bd=this['_socket'])==null||_0x3169bd[_0x4f172e(0x200)]();}[_0x29ecf9(0x38d)](){this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x105efd=_0x29ecf9;this[_0x105efd(0x29d)]!=null&&(clearTimeout(this[_0x105efd(0x29d)]),this[_0x105efd(0x29d)]=null);}async[_0x29ecf9(0x31d)](){var _0x1e9c25=_0x29ecf9,_0x358e76,_0x1cb9ad;const _0x4a5b9b=this[_0x1e9c25(0x486)][_0x1e9c25(0x320)](St),_0x39ab41=this['_configService']['getConfig'](Y),_0x250176=(_0x1cb9ad=(_0x358e76=_0x39ab41==null?void 0x0:_0x39ab41[_0x1e9c25(0x20d)])!=null?_0x358e76:_0x4a5b9b)!=null?_0x1cb9ad:ft,_0x2e98bb=await this['_socketService'][_0x1e9c25(0x372)](_0x250176);return this[_0x1e9c25(0x225)]=_0x2e98bb,_0x2e98bb;}async[_0x29ecf9(0x410)](){var _0x312dcd=_0x29ecf9,_0x1f9857,_0xb5e91;try{const _0xee9b2d=(_0xb5e91=(_0x1f9857=this['_socket'])!=null?_0x1f9857:this[_0x312dcd(0x225)])!=null?_0xb5e91:await this['_createSocket']();if(_0xee9b2d){const _0x37ef6f=_0xee9b2d['send'];_0xee9b2d[_0x312dcd(0x231)]=_0x4405ed=>(this[_0x312dcd(0x317)](),_0x37ef6f[_0x312dcd(0x1d7)](_0xee9b2d,[_0x4405ed])),_0xee9b2d[_0x312dcd(0x25a)]['subscribe'](_0x153229=>this['_onMessage'](_0xee9b2d,_0x153229)),_0xee9b2d[_0x312dcd(0x414)]['pipe'](V[_0x312dcd(0x4d0)](0x1))[_0x312dcd(0x366)](_0x324bb9=>this[_0x312dcd(0x17b)][_0x312dcd(0x3b2)](_0x312dcd(0x43b),_0x324bb9)),_0xee9b2d[_0x312dcd(0x1ae)][_0x312dcd(0x260)](V[_0x312dcd(0x4d0)](0x1))[_0x312dcd(0x366)](()=>{var _0x481212=_0x312dcd;this[_0x481212(0x1e8)](_0xee9b2d);}),_0xee9b2d[_0x312dcd(0x405)][_0x312dcd(0x260)](V['take'](0x1))[_0x312dcd(0x366)](_0xcf18ca=>{var _0xa98510=_0x312dcd;this['_logService'][_0xa98510(0x2b5)](_0xa98510(0x18e),_0xa98510(0x3b0),_0xcf18ca),this['_onConnectionFailed']();});}}catch(_0x22b444){this[_0x312dcd(0x17b)][_0x312dcd(0x3b2)](_0x22b444),this[_0x312dcd(0x22d)]();}}['_onConnectionOpen'](_0x55e227){var _0x2c7651=_0x29ecf9;this['_logService'][_0x2c7651(0x2b5)](_0x2c7651(0x18e),_0x2c7651(0x1f8)),_0x55e227[_0x2c7651(0x231)]({'cmd':W[_0x2c7651(0x1db)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x353baf=_0x29ecf9;this[_0x353baf(0x2d9)]=!0x1,this[_0x353baf(0x225)]=null,this[_0x353baf(0x3c7)][_0x353baf(0x3f0)](se[_0x353baf(0x41d)]),this[_0x353baf(0x3c1)][_0x353baf(0x3f0)](null),this['_clearTimeoutTimer'](),this[_0x353baf(0x2d4)]();}[_0x29ecf9(0x22d)](){var _0xba6d3e=_0x29ecf9,_0x10d2e2;this[_0xba6d3e(0x1f1)](),this[_0xba6d3e(0x3db)]<((_0x10d2e2=this[_0xba6d3e(0x486)][_0xba6d3e(0x320)](mt))!=null?_0x10d2e2:Vt)?(this[_0xba6d3e(0x227)][_0xba6d3e(0x14d)]({'id':Q[_0xba6d3e(0x490)]}),this[_0xba6d3e(0x4aa)]()):this[_0xba6d3e(0x227)][_0xba6d3e(0x14d)]({'id':Q['SOCKET_FAILED']});}[_0x29ecf9(0x4aa)](){var _0x2f6957=_0x29ecf9,_0x5c4696;const _0x10e3c1=this[_0x2f6957(0x3db)],_0x56fb49=this['_configService'][_0x2f6957(0x320)](Y),_0x191cb4=_0x10e3c1===0x0?0x0:((_0x5c4696=_0x56fb49==null?void 0x0:_0x56fb49[_0x2f6957(0x294)])!=null?_0x5c4696:Ft)*0x2**_0x10e3c1;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3357c3=_0x2f6957;clearTimeout(this[_0x3357c3(0x29d)]),this[_0x3357c3(0x29d)]=null,this['_tryEnsureSocket']();},_0x191cb4),this[_0x2f6957(0x3db)]+=0x1;}[_0x29ecf9(0x349)](_0x125497,_0xef6e7){var _0x3c18f0=_0x29ecf9;const {cmd:_0x135190}=_0xef6e7;_0x135190===W[_0x3c18f0(0x1db)]&&!this['_socketReady']&&(_0x125497[_0x3c18f0(0x2a5)]=_0xef6e7[_0x3c18f0(0x45b)][_0x3c18f0(0x2a5)],this[_0x3c18f0(0x3c1)]['next'](_0x125497),this[_0x3c18f0(0x3c7)]['next'](se[_0x3c18f0(0x324)]),this[_0x3c18f0(0x2d9)]=!0x0,this[_0x3c18f0(0x225)]=null),_0x135190===W[_0x3c18f0(0x17d)]&&this[_0x3c18f0(0x271)](),this[_0x3c18f0(0x317)]();}[_0x29ecf9(0x317)](){var _0x4868b5=_0x29ecf9,_0x13cbbb;this[_0x4868b5(0x2d4)](),this[_0x4868b5(0x4a2)]=setTimeout(()=>this[_0x4868b5(0x181)](),(_0x13cbbb=this[_0x4868b5(0x486)][_0x4868b5(0x320)](pt))!=null?_0x13cbbb:Bt);}[_0x29ecf9(0x181)](){var _0x66d033=_0x29ecf9;this[_0x66d033(0x3d8)][_0x66d033(0x231)]({'cmd':W[_0x66d033(0x17d)]}),this[_0x66d033(0x1e4)]();}[_0x29ecf9(0x1e4)](){var _0x2be1cf=_0x29ecf9,_0x38c970;this[_0x2be1cf(0x1c3)]=setTimeout(()=>this[_0x2be1cf(0x22d)](),(_0x38c970=this[_0x2be1cf(0x486)][_0x2be1cf(0x320)](je))!=null?_0x38c970:gt);}[_0x29ecf9(0x2d4)](){var _0x3d37d1=_0x29ecf9;this[_0x3d37d1(0x4a2)]!=null&&(clearTimeout(this[_0x3d37d1(0x4a2)]),this['_sendHeartbeatTimer']=null);}[_0x29ecf9(0x271)](){var _0x56c06b=_0x29ecf9;this[_0x56c06b(0x1c3)]!=null&&(clearTimeout(this[_0x56c06b(0x1c3)]),this[_0x56c06b(0x1c3)]=null);}},exports[_0x29ecf9(0x1ed)]=ci([le(0x0,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),le(0x1,a[_0x29ecf9(0x241)]),le(0x2,a[_0x29ecf9(0x1de)]),le(0x3,$e),le(0x4,a[_0x29ecf9(0x36f)](te)),le(0x5,a['Optional'](bt))],exports[_0x29ecf9(0x1ed)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)['toString'](0x10)[_0x29ecf9(0x244)](0x1));function hi(_0x5ab639,_0x9c676d=0x0){var _0x934e4d=_0x29ecf9;return(G[_0x5ab639[_0x9c676d+0x0]]+G[_0x5ab639[_0x9c676d+0x1]]+G[_0x5ab639[_0x9c676d+0x2]]+G[_0x5ab639[_0x9c676d+0x3]]+'-'+G[_0x5ab639[_0x9c676d+0x4]]+G[_0x5ab639[_0x9c676d+0x5]]+'-'+G[_0x5ab639[_0x9c676d+0x6]]+G[_0x5ab639[_0x9c676d+0x7]]+'-'+G[_0x5ab639[_0x9c676d+0x8]]+G[_0x5ab639[_0x9c676d+0x9]]+'-'+G[_0x5ab639[_0x9c676d+0xa]]+G[_0x5ab639[_0x9c676d+0xb]]+G[_0x5ab639[_0x9c676d+0xc]]+G[_0x5ab639[_0x9c676d+0xd]]+G[_0x5ab639[_0x9c676d+0xe]]+G[_0x5ab639[_0x9c676d+0xf]])[_0x934e4d(0x143)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3a2ba8=_0x29ecf9;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x3a2ba8(0x2da)][_0x3a2ba8(0x347)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x29ecf9(0x2e7)]&&crypto['randomUUID']['bind'](crypto),qe={'randomUUID':ui};function di(_0x49d8d8,_0x41b8a5,_0x41f7d2){var _0x5e87b7=_0x29ecf9,_0x24ce7a,_0xd4ec26,_0x4d7001;if(qe[_0x5e87b7(0x2e7)]&&!_0x49d8d8)return qe[_0x5e87b7(0x2e7)]();_0x49d8d8=_0x49d8d8||{};const _0x5e4447=(_0x4d7001=(_0xd4ec26=_0x49d8d8[_0x5e87b7(0x406)])!=null?_0xd4ec26:(_0x24ce7a=_0x49d8d8[_0x5e87b7(0x379)])==null?void 0x0:_0x24ce7a[_0x5e87b7(0x38f)](_0x49d8d8))!=null?_0x4d7001:_i();if(_0x5e4447[_0x5e87b7(0x439)]<0x10)throw new Error(_0x5e87b7(0x427));return _0x5e4447[0x6]=_0x5e4447[0x6]&0xf|0x40,_0x5e4447[0x8]=_0x5e4447[0x8]&0x3f|0x80,hi(_0x5e4447);}const z=a[_0x29ecf9(0x4c3)](_0x29ecf9(0x3c0));function vi(_0x323c55){return'unit-cache-'+_0x323c55;}var Si=Object[_0x29ecf9(0x161)],fi=(_0x50e00c,_0x34b58c,_0x4202a6,_0x4c0838)=>{for(var _0x432521=_0x4c0838>0x1?void 0x0:_0x4c0838?Si(_0x34b58c,_0x4202a6):_0x34b58c,_0x4be7ec=_0x50e00c['length']-0x1,_0x39ff9e;_0x4be7ec>=0x0;_0x4be7ec--)(_0x39ff9e=_0x50e00c[_0x4be7ec])&&(_0x432521=_0x39ff9e(_0x432521)||_0x432521);return _0x432521;},Ae=(_0x1ae8f2,_0x32797d)=>(_0x4d66a8,_0x68f27e)=>_0x32797d(_0x4d66a8,_0x68f27e,_0x1ae8f2);function pi(_0x225954){var _0x555379=_0x29ecf9;const {unitID:_0x46c40a,mutations:_0x399abf}=_0x225954;return{'unitId':_0x46c40a,'subUnitId':_0x399abf[0x0][_0x555379(0x254)][_0x555379(0x238)]};}exports[_0x29ecf9(0x196)]=class{constructor(_0x1b22eb,_0x4f1786,_0x46bb5e){var _0x49179a=_0x29ecf9;this['_injector']=_0x1b22eb,this[_0x49179a(0x4af)]=_0x4f1786,this[_0x49179a(0x3b8)]=_0x46bb5e;}[_0x29ecf9(0x318)](_0xc22479){var _0x2510d9=_0x29ecf9,_0x33a799,_0x19c588,_0x412e06,_0x476e80;const _0x1e3476=this[_0x2510d9(0x199)]['get'](Z[_0x2510d9(0x3d7)]),{unitId:_0x51d15a,subUnitId:_0xcf679b}=pi(_0xc22479),_0x218524=_0x1e3476==null?void 0x0:_0x1e3476[_0x2510d9(0x3e7)](_0x51d15a)[_0x2510d9(0x201)](),_0x47070c=(_0x19c588=(_0x33a799=this[_0x2510d9(0x3b8)]['getUnit'](_0x51d15a))==null?void 0x0:_0x33a799['getActiveSheet']())==null?void 0x0:_0x19c588['getSheetId']();if(_0x218524[_0x2510d9(0x439)]===0x0||!_0x51d15a||!_0xcf679b)return;const _0xbedd6=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x51d15a,'subUnitId':_0x47070c,'selections':a['Tools'][_0x2510d9(0x1b0)](_0x218524)}}],_0x474486=this[_0x2510d9(0x4af)][_0x2510d9(0x447)](_0xc22479,_0xbedd6);if(!g[_0x2510d9(0x488)](_0x474486))throw _0x474486['error'];const _0x2ecc7e=(_0x476e80=(_0x412e06=_0x474486[_0x2510d9(0x33f)][0x0])==null?void 0x0:_0x412e06['params'])==null?void 0x0:_0x476e80[_0x2510d9(0x391)];if(Array[_0x2510d9(0x1c6)](_0x2ecc7e)&&_0x2ecc7e['length']){if(_0x2ecc7e[_0x2510d9(0x439)]===_0xbedd6[0x0]['params']['selections'][_0x2510d9(0x439)]&&_0x2ecc7e[_0x2510d9(0x25b)]((_0x338ddd,_0x2077d5)=>a[_0x2510d9(0x3e4)][_0x2510d9(0x308)](_0x338ddd['range'],_0xbedd6[0x0][_0x2510d9(0x254)]['selections'][_0x2077d5][_0x2510d9(0x4c6)])))return;this[_0x2510d9(0x199)]['get'](a[_0x2510d9(0x2bc)])[_0x2510d9(0x300)](Z['SetSelectionsOperation']['id'],{'unitId':_0x51d15a,'subUnitId':_0x47070c,'selections':_0x2ecc7e});}}},exports[_0x29ecf9(0x196)]=fi([Ae(0x0,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x29ecf9(0x322)])],exports[_0x29ecf9(0x196)]);const ve=a[_0x29ecf9(0x4c3)](_0x29ecf9(0x2be));var Fe=(_0x2aa0f1=>(_0x2aa0f1[_0x2aa0f1[_0x29ecf9(0x21e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2aa0f1[_0x2aa0f1[_0x29ecf9(0x434)]=0x1]=_0x29ecf9(0x434),_0x2aa0f1))(Fe||{});const gi=new Set([Z[_0x29ecf9(0x436)]['id']]);function ze(_0x34ce9b,_0x1e930e,_0x30b78d,_0x2e2533,_0x58b044){var _0x1e8898=_0x29ecf9,_0x1d2f08,_0x1ddb5b,_0x4e0a80,_0x27951f;const _0x3b36f3=[];for(const _0x45f65b of _0x34ce9b)if(gi['has'](_0x45f65b['id'])){if(_0x3b36f3[_0x1e8898(0x439)]>0x0)break;_0x3b36f3[_0x1e8898(0x363)](_0x45f65b);break;}else _0x3b36f3[_0x1e8898(0x363)](_0x45f65b);const _0x1919f7=(_0x1ddb5b=(_0x1d2f08=_0x58b044[_0x1e8898(0x14e)]())==null?void 0x0:_0x1d2f08['userID'])!=null?_0x1ddb5b:_0x1e8898(0x454),_0x593855=(_0x27951f=(_0x4e0a80=_0x58b044['getCurrentUser']())==null?void 0x0:_0x4e0a80[_0x1e8898(0x2a5)])!=null?_0x27951f:'unknown';return{'changeset':{'unitID':_0x1e930e,'type':g[_0x1e8898(0x215)](_0x30b78d[_0x1e8898(0x3ad)](_0x1e930e)),'baseRev':_0x2e2533['getCurrentRevOfUnit'](_0x1e930e),'revision':0x0,'userID':_0x1919f7,'memberID':_0x593855,'mutations':_0x3b36f3},'pendingMutations':_0x34ce9b[_0x1e8898(0x244)](_0x3b36f3[_0x1e8898(0x439)])};}function mi(_0x348675,_0x520e83,_0x8d218f,_0x2062d0,_0x4ead2d){var _0x5512fb=_0x29ecf9,_0x49ac3b,_0x47d886,_0x2a4276,_0x12cc49;const _0x2a9375=[_0x348675[_0x5512fb(0x4c5)]((_0x5f14e7,_0x134e19)=>{var _0x531274=_0x5512fb,_0x5d18d7;const {id:_0x5491e6}=_0x5f14e7,{id:_0x1f433c,type:_0x35fdc}=_0x134e19,_0x19fb24=(_0x5d18d7=_0x5f14e7[_0x531274(0x254)])!=null?_0x5d18d7:{'actions':null},_0x1281e8=_0x134e19['params'];if(_0x5491e6&&_0x5491e6!==_0x1f433c)throw new Error(_0x531274(0x2b8)+_0x5491e6+_0x531274(0x369)+_0x1f433c+'.');return{..._0x5f14e7,'id':_0x1f433c,'type':_0x35fdc,'params':{'unitId':_0x1281e8[_0x531274(0x235)],'textRanges':_0x1281e8[_0x531274(0x48b)],'actions':a[_0x531274(0x4c7)][_0x531274(0x1ac)](_0x19fb24['actions'],_0x1281e8[_0x531274(0x4ac)])}};},{})],_0x3854f4=(_0x47d886=(_0x49ac3b=_0x4ead2d[_0x5512fb(0x14e)]())==null?void 0x0:_0x49ac3b[_0x5512fb(0x3b6)])!=null?_0x47d886:_0x5512fb(0x454),_0x48c5fc=(_0x12cc49=(_0x2a4276=_0x4ead2d[_0x5512fb(0x14e)]())==null?void 0x0:_0x2a4276['memberID'])!=null?_0x12cc49:'unknown';return{'changeset':{'unitID':_0x520e83,'type':g[_0x5512fb(0x215)](_0x8d218f['getUnitType'](_0x520e83)),'baseRev':_0x2062d0[_0x5512fb(0x296)](_0x520e83),'revision':0x0,'userID':_0x3854f4,'memberID':_0x48c5fc,'mutations':_0x2a9375},'pendingMutations':[]};}function Ot(_0x4416b3,_0x135a6d){var _0x34bea5=_0x29ecf9;const _0xd5a99f=new j[(_0x34bea5(0x3ce))](0x1);return setTimeout(()=>_0xd5a99f[_0x34bea5(0x3f0)](_0x135a6d),_0x4416b3),_0xd5a99f['asObservable']()[_0x34bea5(0x260)](j['take'](0x1));}const Ii={'id':Z[_0x29ecf9(0x489)]['id'],'type':a[_0x29ecf9(0x41b)]['MUTATION'],'params':{}};var Ei=Object[_0x29ecf9(0x161)],ce=(_0x184f4b,_0x3083f5,_0x298151,_0x11ed4c)=>{for(var _0x42322c=_0x11ed4c>0x1?void 0x0:_0x11ed4c?Ei(_0x3083f5,_0x298151):_0x3083f5,_0x2195e4=_0x184f4b['length']-0x1,_0x4e016e;_0x2195e4>=0x0;_0x2195e4--)(_0x4e016e=_0x184f4b[_0x2195e4])&&(_0x42322c=_0x4e016e(_0x42322c)||_0x42322c);return _0x42322c;},w=(_0x1fbe01,_0x488293)=>(_0x3dba52,_0x383e26)=>_0x488293(_0x3dba52,_0x383e26,_0x1fbe01),Ve=(_0x282d77=>(_0x282d77[_0x29ecf9(0x3f4)]='not_collab',_0x282d77[_0x29ecf9(0x23b)]='synced',_0x282d77[_0x29ecf9(0x354)]=_0x29ecf9(0x1ad),_0x282d77[_0x29ecf9(0x445)]=_0x29ecf9(0x312),_0x282d77[_0x29ecf9(0x24b)]=_0x29ecf9(0x310),_0x282d77['FETCH_MISS']='fetch_missing',_0x282d77['CONFLICT']=_0x29ecf9(0x426),_0x282d77[_0x29ecf9(0x41d)]='offline',_0x282d77))(Ve||{});const Nt=0xea60;class he{constructor(_0x4306bc,_0x5ee5a4,_0x24c74f,_0x316f48,_0x4b3148,_0x59097e,_0x5af9e9,_0x1fb503,_0x433277){var _0x4e2d65=_0x29ecf9;A(this,_0x4e2d65(0x1a5),null),A(this,_0x4e2d65(0x3cc),[]),(this[_0x4e2d65(0x465)]=_0x4306bc,this[_0x4e2d65(0x3e9)]=_0x5ee5a4,this[_0x4e2d65(0x1c1)]=_0x4b3148,this[_0x4e2d65(0x1cc)]=_0x59097e,this[_0x4e2d65(0x184)]=_0x5af9e9,this[_0x4e2d65(0x1d3)]=_0x1fb503,this[_0x4e2d65(0x3bb)]=_0x433277,this[_0x4e2d65(0x1a5)]=_0x24c74f,this['_pendingMutations']=_0x316f48);}[_0x29ecf9(0x479)](_0x19890d){var _0x4357b9=_0x29ecf9;const _0xe78ed3=this[_0x4357b9(0x1d3)][_0x4357b9(0x296)](this[_0x4357b9(0x465)]);return _0x19890d[_0x4357b9(0x476)]>_0xe78ed3+0x1?(this[_0x4357b9(0x1c1)][_0x4357b9(0x2e0)]({'from':_0xe78ed3,'to':_0x19890d[_0x4357b9(0x476)]-0x1}),!0x0):!0x1;}[_0x29ecf9(0x3d2)](_0x533eb5){var _0x524dce=_0x29ecf9;this['_undoRedoService'][_0x524dce(0x18a)](this['unitID'],_0x533eb5);}['_transformSelections'](_0x34f5aa){var _0xe41efd=_0x29ecf9,_0x5c27e2,_0x4ed1c9;(_0x4ed1c9=(_0x5c27e2=this[_0xe41efd(0x1c1)])[_0xe41efd(0x311)])==null||_0x4ed1c9[_0xe41efd(0x38f)](_0x5c27e2,_0x34f5aa);}[_0x29ecf9(0x1bc)](_0x1a9ae2){var _0x46baec=_0x29ecf9,_0x396984,_0x562b80;return(_0x562b80=(_0x396984=this['_handler'])['onTransformIME'])==null?void 0x0:_0x562b80[_0x46baec(0x38f)](_0x396984,_0x1a9ae2);}[_0x29ecf9(0x2c1)](_0x492acc){var _0x2359d7=_0x29ecf9,_0x3ec746,_0x2206b8;return(_0x2206b8=(_0x3ec746=this[_0x2359d7(0x1c1)])[_0x2359d7(0x222)])==null?void 0x0:_0x2206b8[_0x2359d7(0x38f)](_0x3ec746,_0x492acc);}[_0x29ecf9(0x44a)](_0x293db7){var _0x436937=_0x29ecf9,_0x8b5546,_0x4d398b,_0xe57575;return(_0xe57575=(_0x4d398b=(_0x8b5546=this['_handler'])[_0x436937(0x355)])==null?void 0x0:_0x4d398b['call'](_0x8b5546,_0x293db7))!=null?_0xe57575:_0x293db7;}[_0x29ecf9(0x19a)](_0x30eb31){var _0x15a8a0=_0x29ecf9,_0x3d9a07,_0x4dcedb,_0xe31301;return(_0xe31301=(_0x4dcedb=(_0x3d9a07=this[_0x15a8a0(0x1c1)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4dcedb['call'](_0x3d9a07,_0x30eb31))!=null?_0xe31301:_0x30eb31;}[_0x29ecf9(0x37d)](_0x47010d){var _0x282e21=_0x29ecf9,_0x1b7f1a,_0xac5f5a;if(this[_0x282e21(0x3e9)]===X[_0x282e21(0x2bf)]){const {unitID:_0x1a9bff,mutations:_0x409ea6,memberID:_0x4ce6e1}=_0x47010d,_0x24c51b=_0x409ea6[0x0][_0x282e21(0x254)][_0x282e21(0x48b)];Array[_0x282e21(0x1c6)](_0x24c51b)&&_0x24c51b[_0x282e21(0x439)]>0x0&&((_0xac5f5a=(_0x1b7f1a=this[_0x282e21(0x1c1)])[_0x282e21(0x187)])==null||_0xac5f5a[_0x282e21(0x38f)](_0x1b7f1a,{'unitID':_0x1a9bff,'memberID':_0x4ce6e1,'textRanges':_0x24c51b}));}}[_0x29ecf9(0x367)](){var _0x33d0a9=_0x29ecf9,_0x36fc82;(_0x36fc82=this[_0x33d0a9(0x3bb)])==null||_0x36fc82[_0x33d0a9(0x1bb)](this[_0x33d0a9(0x465)],this['type'],this[_0x33d0a9(0x1a5)],this[_0x33d0a9(0x3cc)]);}[_0x29ecf9(0x469)](){var _0x32359e=_0x29ecf9;return this[_0x32359e(0x1d3)][_0x32359e(0x296)](this[_0x32359e(0x465)]);}['_incrementRevisionNumber'](){var _0x22b266=_0x29ecf9;this['_revisionService'][_0x22b266(0x4a9)](this[_0x22b266(0x465)]);}['_executeRemoteChangeset'](_0x26ac30){var _0x1be154=_0x29ecf9,_0x1b16a4;let _0x46df98=this['_transformRemoteChangesetByIMECache'](_0x26ac30);_0x46df98=this[_0x1be154(0x19a)](_0x46df98);const _0x19f73a=a[_0x1be154(0x1eb)](_0x46df98[_0x1be154(0x3f6)],this[_0x1be154(0x1cc)],{'fromCollab':!0x0});if(!_0x19f73a[_0x1be154(0x2bb)])throw _0x19f73a[_0x1be154(0x3b2)]instanceof Error?_0x19f73a[_0x1be154(0x3b2)]:new Error((_0x1b16a4=_0x19f73a['error'])!=null?_0x1b16a4:_0x1be154(0x325));this[_0x1be154(0x1bc)](_0x46df98),this[_0x1be154(0x2c1)](_0x46df98),this['_transformUndoredo'](_0x26ac30),this['_transformSelections'](_0x46df98),this[_0x1be154(0x37d)](_0x46df98),this[_0x1be154(0x4a3)]();}}exports[_0x29ecf9(0x3cf)]=class extends he{constructor(_0x2bc758,_0x11eb0e,_0x249246,_0x3d8b91,_0x1f4692,_0x43943d,_0x4f3a5c,_0x146438,_0x329288,_0x2eb146){var _0x49d1c1=_0x29ecf9;super(_0x2bc758,_0x11eb0e,null,[],_0x249246,_0x4f3a5c,_0x43943d,_0x3d8b91,_0x2eb146),A(this,_0x49d1c1(0x33b),_0x49d1c1(0x4a6)),(this[_0x49d1c1(0x199)]=_0x1f4692,this[_0x49d1c1(0x17b)]=_0x146438,this['_transformService']=_0x329288,this[_0x49d1c1(0x1af)]=_0x2eb146);}[_0x29ecf9(0x40c)](_0x163cbe){var _0x5c8438=_0x29ecf9;const _0x66829a=this[_0x5c8438(0x199)]['createInstance'](exports['PendingState'],this[_0x5c8438(0x465)],this['type'],[_0x163cbe],this[_0x5c8438(0x1c1)]);return _0x66829a[_0x5c8438(0x35e)](),_0x66829a[_0x5c8438(0x367)](),_0x66829a;}[_0x29ecf9(0x1f0)](_0x13bc11){var _0x138897=_0x29ecf9;if(this[_0x138897(0x479)](_0x13bc11))return this['_injector']['createInstance'](exports[_0x138897(0x47e)],this['unitID'],this['type'],null,[],null,[_0x13bc11],this[_0x138897(0x1c1)]);try{const _0x5d9581=this[_0x138897(0x4af)][_0x138897(0x447)](_0x13bc11,[Ii]);if(g[_0x138897(0x488)](_0x5d9581)){const {c1Prime:_0x229b4b}=_0x5d9581;return this[_0x138897(0x309)](_0x229b4b),this;}throw _0x5d9581[_0x138897(0x3b2)];}catch(_0x2771b0){return this[_0x138897(0x17b)]['error'](_0x2771b0),this[_0x138897(0x4d4)](!0x1);}}[_0x29ecf9(0x4d4)](_0x4e9357){var _0x8c6b90=_0x29ecf9;return this[_0x8c6b90(0x199)][_0x8c6b90(0x4ba)](exports[_0x8c6b90(0x4d5)],this['unitID'],this[_0x8c6b90(0x3e9)],null,[],this[_0x8c6b90(0x1c1)],_0x4e9357);}[_0x29ecf9(0x21b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x29ecf9(0x251)](){var _0x23ba3e=_0x29ecf9;throw new Error(_0x23ba3e(0x27d));}[_0x29ecf9(0x1e1)](){return this;}[_0x29ecf9(0x401)](){var _0xa434d6=_0x29ecf9;return this[_0xa434d6(0x199)]['createInstance'](exports[_0xa434d6(0x20e)],this[_0xa434d6(0x465)],this[_0xa434d6(0x3e9)],null,[],this[_0xa434d6(0x1c1)]);}[_0x29ecf9(0x240)](){return this;}[_0x29ecf9(0x473)](){var _0x14f273=_0x29ecf9;throw new Error(_0x14f273(0x2ff));}['fetchMiss'](){var _0x4029cd=_0x29ecf9;const _0x40df3b=this[_0x4029cd(0x1d3)][_0x4029cd(0x296)](this['unitID']);return this[_0x4029cd(0x1c1)][_0x4029cd(0x2e0)]({'from':_0x40df3b,'to':0x0}),this[_0x4029cd(0x199)][_0x4029cd(0x4ba)](exports['FetchingMissState'],this[_0x4029cd(0x465)],this[_0x4029cd(0x3e9)],null,[],null,[],this[_0x4029cd(0x1c1)]);}},exports[_0x29ecf9(0x3cf)]=ce([w(0x3,a[_0x29ecf9(0x36f)](g['RevisionService'])),w(0x4,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),w(0x5,a[_0x29ecf9(0x1f3)]),w(0x6,a[_0x29ecf9(0x2bc)]),w(0x7,a[_0x29ecf9(0x241)]),w(0x8,g[_0x29ecf9(0x336)]),w(0x9,a['Optional'](z))],exports[_0x29ecf9(0x3cf)]),exports['PendingState']=class extends he{constructor(_0x52b45e,_0x35dcd3,_0x1ca927,_0x3a6f27,_0x3d4641,_0x2cc98a,_0x51b8dc,_0x587304,_0xc6c381,_0x40ae90,_0x676da1,_0x4547d7,_0x35adac,_0x22388a){var _0x379911=_0x29ecf9;super(_0x52b45e,_0x35dcd3,null,_0x1ca927,_0x3a6f27,_0xc6c381,_0x35adac,_0x2cc98a,_0x22388a),A(this,_0x379911(0x33b),_0x379911(0x1ad)),A(this,_0x379911(0x28c),null),A(this,_0x379911(0x197),null),(this[_0x379911(0x199)]=_0x3d4641,this['_memberService']=_0x51b8dc,this[_0x379911(0x17b)]=_0x587304,this['_configService']=_0x40ae90,this[_0x379911(0x4af)]=_0x676da1,this[_0x379911(0x32d)]=_0x4547d7);}[_0x29ecf9(0x40c)](_0x22438f){var _0x3163e6=_0x29ecf9;return this[_0x3163e6(0x3cc)][_0x3163e6(0x363)](_0x22438f),this[_0x3163e6(0x367)](),this;}[_0x29ecf9(0x1f0)](_0x30434c){var _0x39082f=_0x29ecf9;if(this['_checkMissing'](_0x30434c))return this['_clearScheduledTask'](),this[_0x39082f(0x199)][_0x39082f(0x4ba)](exports[_0x39082f(0x47e)],this[_0x39082f(0x465)],this['type'],null,this[_0x39082f(0x3cc)],null,[_0x30434c],this[_0x39082f(0x1c1)]);try{const _0x58bc3e=this['_transformService'][_0x39082f(0x447)](_0x30434c,this[_0x39082f(0x3cc)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x58bc3e)){const {c1Prime:_0x4f19e7,m2Prime:_0x1e88f2}=_0x58bc3e;this['_executeRemoteChangeset'](_0x4f19e7);const _0x2e0f59=this['_injector'][_0x39082f(0x4ba)](exports[_0x39082f(0x192)],this[_0x39082f(0x465)],this[_0x39082f(0x3e9)],_0x1e88f2,this[_0x39082f(0x1c1)]);this[_0x39082f(0x335)]();const _0x2d9569=new Date()[_0x39082f(0x315)](),_0x4c64d7=this[_0x39082f(0x28c)]?Math[_0x39082f(0x4c8)](this['_scheduleCompleteTimestamp']-_0x2d9569,0x0):this[_0x39082f(0x42e)]();return _0x2e0f59[_0x39082f(0x35e)](_0x4c64d7),_0x2e0f59;}throw _0x58bc3e[_0x39082f(0x3b2)];}catch(_0x4991b6){return this[_0x39082f(0x17b)]['error'](_0x4991b6),this[_0x39082f(0x4d4)](!0x1);}}['onRemoteAck'](){var _0x44895e=_0x29ecf9;throw new Error(_0x44895e(0x4a5));}[_0x29ecf9(0x251)](){var _0x489f37=_0x29ecf9;throw new Error(_0x489f37(0x34a));}[_0x29ecf9(0x1e1)](){return this;}[_0x29ecf9(0x401)](){var _0x2ca129=_0x29ecf9;return this['_clearScheduledTask'](),this['_injector'][_0x2ca129(0x4ba)](exports[_0x2ca129(0x20e)],this[_0x2ca129(0x465)],this['type'],null,this[_0x2ca129(0x3cc)],this['_handler']);}[_0x29ecf9(0x240)](){return this;}['_schedule'](_0x4200ac){var _0x5d93e6=_0x29ecf9;const _0x3f9156=_0x4200ac!=null?_0x4200ac:this[_0x5d93e6(0x42e)]();this[_0x5d93e6(0x28c)]=new Date()[_0x5d93e6(0x315)]()+_0x3f9156,this[_0x5d93e6(0x197)]=setTimeout(()=>{var _0x44bd7b=_0x5d93e6;this[_0x44bd7b(0x335)]();let _0x8aba3e=null;switch(this[_0x44bd7b(0x3e9)]){case X[_0x44bd7b(0x2db)]:{_0x8aba3e=ze(this['_pendingMutations'],this[_0x44bd7b(0x465)],this[_0x44bd7b(0x32d)],this[_0x44bd7b(0x1d3)],this[_0x44bd7b(0x453)]);break;}case X[_0x44bd7b(0x2bf)]:{this[_0x44bd7b(0x3cc)][_0x44bd7b(0x25b)](_0x1c75a3=>_0x1c75a3['id']===ut['RichTextEditingMutation']['id'])?_0x8aba3e=mi(this[_0x44bd7b(0x3cc)],this[_0x44bd7b(0x465)],this[_0x44bd7b(0x32d)],this['_revisionService'],this[_0x44bd7b(0x453)]):_0x8aba3e=ze(this[_0x44bd7b(0x3cc)],this[_0x44bd7b(0x465)],this['_univerInstanceService'],this[_0x44bd7b(0x1d3)],this[_0x44bd7b(0x453)]);break;}default:throw new Error(_0x44bd7b(0x42b)+this['type']+_0x44bd7b(0x2d5));}const {changeset:_0xd94cef,pendingMutations:_0x198346}=_0x8aba3e;this['_handler'][_0x44bd7b(0x40a)](_0xd94cef);const _0x1f5421=_0x198346[_0x44bd7b(0x439)]?this[_0x44bd7b(0x199)][_0x44bd7b(0x4ba)](exports[_0x44bd7b(0x1d4)],this['unitID'],this['type'],_0xd94cef,_0x198346,this[_0x44bd7b(0x1c1)],void 0x0):this[_0x44bd7b(0x199)]['createInstance'](exports['AwaitingState'],this[_0x44bd7b(0x465)],this[_0x44bd7b(0x3e9)],_0xd94cef,this[_0x44bd7b(0x1c1)]);_0x1f5421['_updateLocalCache'](),this[_0x44bd7b(0x1c1)]['onStateChange'](this,_0x1f5421);},_0x3f9156);}[_0x29ecf9(0x42e)](){var _0x17a05a=_0x29ecf9,_0x1b2a61;const _0x39634d=this[_0x17a05a(0x486)][_0x17a05a(0x320)](Y);return(_0x1b2a61=_0x39634d==null?void 0x0:_0x39634d[_0x17a05a(0x3fc)])!=null?_0x1b2a61:jt;}['resend'](){var _0x3b234d=_0x29ecf9;throw new Error(_0x3b234d(0x253));}[_0x29ecf9(0x335)](){var _0x511347=_0x29ecf9;this[_0x511347(0x197)]!=null&&(clearTimeout(this[_0x511347(0x197)]),this[_0x511347(0x197)]=null);}[_0x29ecf9(0x4d4)](_0x518343){var _0x1969f2=_0x29ecf9;return this[_0x1969f2(0x335)](),this[_0x1969f2(0x199)][_0x1969f2(0x4ba)](exports[_0x1969f2(0x4d5)],this[_0x1969f2(0x465)],this[_0x1969f2(0x3e9)],null,this[_0x1969f2(0x3cc)],this[_0x1969f2(0x1c1)],_0x518343);}},exports['PendingState']=ce([w(0x4,a[_0x29ecf9(0x36f)](a['Injector'])),w(0x5,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),w(0x6,a[_0x29ecf9(0x36f)](exports[_0x29ecf9(0x3e0)])),w(0x7,a[_0x29ecf9(0x241)]),w(0x8,a[_0x29ecf9(0x2bc)]),w(0x9,a[_0x29ecf9(0x1de)]),w(0xa,g['ITransformService']),w(0xb,a[_0x29ecf9(0x322)]),w(0xc,a[_0x29ecf9(0x1f3)]),w(0xd,a[_0x29ecf9(0x172)](z))],exports['PendingState']),exports['AwaitingState']=class extends he{constructor(_0x53fca8,_0x37ef5b,_0x1af3e5,_0x26a42f,_0x3e6bb3,_0x4648db,_0x3be04d,_0x1e3feb,_0x26ebef,_0x51410b,_0xa7dbb){var _0x35b934=_0x29ecf9;super(_0x53fca8,_0x37ef5b,_0x1af3e5,[],_0x26a42f,_0x3be04d,_0x51410b,_0x4648db,_0xa7dbb),A(this,'status','awaiting'),A(this,_0x35b934(0x2a8),0x0),A(this,_0x35b934(0x483)),A(this,_0x35b934(0x450)),(this[_0x35b934(0x199)]=_0x3e6bb3,this[_0x35b934(0x17b)]=_0x1e3feb,this[_0x35b934(0x4af)]=_0x26ebef);}[_0x29ecf9(0x40c)](_0x242e43){var _0x447d20=_0x29ecf9;this[_0x447d20(0x335)]();const _0x19ac3a=this[_0x447d20(0x199)]['createInstance'](exports[_0x447d20(0x1d4)],this['unitID'],this[_0x447d20(0x3e9)],this[_0x447d20(0x1a5)],[_0x242e43],this['_handler'],this[_0x447d20(0x483)]);return _0x19ac3a['_updateLocalCache'](),_0x19ac3a;}[_0x29ecf9(0x1f0)](_0xd032db){var _0xf4aa35=_0x29ecf9;if(this[_0xf4aa35(0x479)](_0xd032db))return this[_0xf4aa35(0x335)](),this[_0xf4aa35(0x199)][_0xf4aa35(0x4ba)](exports[_0xf4aa35(0x47e)],this[_0xf4aa35(0x465)],this[_0xf4aa35(0x3e9)],this['_awaitingChangeset'],[],null,[_0xd032db],this[_0xf4aa35(0x1c1)]);try{const _0x327863=this[_0xf4aa35(0x4af)][_0xf4aa35(0x3f8)]([_0xd032db],[this[_0xf4aa35(0x1a5)]],!0x1);if(g[_0xf4aa35(0x1c4)](_0x327863)){const {c1Prime:_0xc057a1,c2Prime:_0x665a1a}=_0x327863;this[_0xf4aa35(0x309)](_0xc057a1[0x0]),_0x665a1a[0x0]['baseRev']=this[_0xf4aa35(0x469)](),this[_0xf4aa35(0x335)]();const _0xf80f77=this[_0xf4aa35(0x199)][_0xf4aa35(0x4ba)](exports['AwaitingState'],this[_0xf4aa35(0x465)],this[_0xf4aa35(0x3e9)],_0x665a1a[0x0],this['_handler']);return _0xf80f77[_0xf4aa35(0x367)](),_0xf80f77;}return this[_0xf4aa35(0x4d4)](!0x1);}catch(_0x3da2fc){return this[_0xf4aa35(0x17b)][_0xf4aa35(0x3b2)](_0x3da2fc),this[_0xf4aa35(0x4d4)](!0x1);}}[_0x29ecf9(0x21b)](_0x4352c2){var _0x85039=_0x29ecf9;this[_0x85039(0x335)]();const _0x3b8438=this[_0x85039(0x1d3)][_0x85039(0x296)](this[_0x85039(0x465)]);if(_0x4352c2['revision']<_0x3b8438-0x1)return this;if(this[_0x85039(0x479)](_0x4352c2))return this[_0x85039(0x199)][_0x85039(0x4ba)](exports[_0x85039(0x47e)],this[_0x85039(0x465)],this[_0x85039(0x3e9)],null,[],this['_awaitingChangeset'],[],this[_0x85039(0x1c1)]);this[_0x85039(0x4a3)]();const _0x4a42b5=this[_0x85039(0x199)][_0x85039(0x4ba)](exports[_0x85039(0x3cf)],this[_0x85039(0x465)],this[_0x85039(0x3e9)],this[_0x85039(0x1c1)]);return _0x4a42b5[_0x85039(0x367)](),_0x4a42b5;}[_0x29ecf9(0x251)](_0x2b3e9e){var _0x33f172=_0x29ecf9;return this[_0x33f172(0x4d4)](!!(_0x2b3e9e!=null&&_0x2b3e9e[_0x33f172(0x358)]));}[_0x29ecf9(0x1e1)](_0x77904f){var _0x5d28d8=_0x29ecf9;return this[_0x5d28d8(0x2a8)]>Nt?this[_0x5d28d8(0x401)]():(this[_0x5d28d8(0x483)]=Ot(this[_0x5d28d8(0x2a8)],{'timeout':this[_0x5d28d8(0x2a8)],'reqId':_0x77904f[_0x5d28d8(0x25e)]}),this[_0x5d28d8(0x450)]=this[_0x5d28d8(0x483)][_0x5d28d8(0x366)](({reqId:_0x18c308,timeout:_0x18ba7a})=>{var _0x4da6fc=_0x5d28d8;this[_0x4da6fc(0x1ba)](_0x18c308,_0x18ba7a);}),this);}['toggleOffline'](){var _0x58d4b6=_0x29ecf9;return this[_0x58d4b6(0x335)](),this[_0x58d4b6(0x199)][_0x58d4b6(0x4ba)](exports['OfflineState'],this[_0x58d4b6(0x465)],this['type'],this[_0x58d4b6(0x1a5)],[],this[_0x58d4b6(0x1c1)]);}[_0x29ecf9(0x240)](){return this;}[_0x29ecf9(0x473)](){var _0x59892a=_0x29ecf9;this[_0x59892a(0x1c1)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x29ecf9(0x4d4)](_0x2d393f){var _0x4c9b73=_0x29ecf9;return this['_clearScheduledTask'](),this[_0x4c9b73(0x199)]['createInstance'](exports['ConflictState'],this[_0x4c9b73(0x465)],this[_0x4c9b73(0x3e9)],this['_awaitingChangeset'],[],this[_0x4c9b73(0x1c1)],_0x2d393f);}['_resendWithTimeout'](_0x30a827,_0x5ccfa2){var _0x5035e3=_0x29ecf9,_0x253b76;_0x30a827===((_0x253b76=this[_0x5035e3(0x1a5)])==null?void 0x0:_0x253b76[_0x5035e3(0x25e)])&&(this[_0x5035e3(0x473)](),this[_0x5035e3(0x2a8)]=_0x5ccfa2===0x0?0x3e8:_0x5ccfa2*0x2);}['_clearScheduledTask'](){var _0x344d72=_0x29ecf9,_0x33e6bb;(_0x33e6bb=this[_0x344d72(0x450)])==null||_0x33e6bb[_0x344d72(0x18f)](),this[_0x344d72(0x2a8)]=0x0;}},exports[_0x29ecf9(0x3ba)]=ce([w(0x4,a['Inject'](a[_0x29ecf9(0x378)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x29ecf9(0x2bc)]),w(0x7,a[_0x29ecf9(0x241)]),w(0x8,g[_0x29ecf9(0x336)]),w(0x9,a[_0x29ecf9(0x1f3)]),w(0xa,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x3ba)]),exports['AwaitingWithPendingState']=class extends he{constructor(_0x297e3d,_0x2bc4bb,_0x39c247,_0x5a7efe,_0x2d9b12,_0x2091f7,_0x29840a,_0x4fabcb,_0x155cf0,_0x581fc4,_0x17f1a1,_0x32bd76,_0x528679){var _0x562a53=_0x29ecf9;super(_0x297e3d,_0x2bc4bb,_0x39c247,_0x5a7efe,_0x2d9b12,_0x155cf0,_0x32bd76,_0x4fabcb,_0x528679),A(this,_0x562a53(0x33b),_0x562a53(0x310)),A(this,_0x562a53(0x2a8),0x0),A(this,_0x562a53(0x483)),A(this,'_sender'),(this['_injector']=_0x29840a,this[_0x562a53(0x17b)]=_0x581fc4,this[_0x562a53(0x4af)]=_0x17f1a1,this[_0x562a53(0x1af)]=_0x528679,_0x2091f7&&(this[_0x562a53(0x483)]=_0x2091f7,this[_0x562a53(0x450)]=this[_0x562a53(0x483)][_0x562a53(0x366)](({reqId:_0xaac386,timeout:_0x27400e})=>{var _0x229262=_0x562a53;this[_0x229262(0x1ba)](_0xaac386,_0x27400e);})));}[_0x29ecf9(0x40c)](_0x2f36c2){var _0x5b5484=_0x29ecf9;return this[_0x5b5484(0x3cc)][_0x5b5484(0x363)](_0x2f36c2),this;}['onRemoteChangeset'](_0x286a49){var _0xd7b044=_0x29ecf9;if(this[_0xd7b044(0x479)](_0x286a49))return this['_clearScheduledTask'](),this[_0xd7b044(0x199)][_0xd7b044(0x4ba)](exports[_0xd7b044(0x47e)],this[_0xd7b044(0x465)],this['type'],this[_0xd7b044(0x1a5)],this['_pendingMutations'],null,[_0x286a49],this['_handler']);try{const _0x2f946=this[_0xd7b044(0x4af)][_0xd7b044(0x3f8)]([_0x286a49],[this[_0xd7b044(0x1a5)]],!0x1);if(g[_0xd7b044(0x1c4)](_0x2f946)){const {c1Prime:_0x2ccdd0,c2Prime:_0x1a8279}=_0x2f946,_0xd7263f=this[_0xd7b044(0x4af)][_0xd7b044(0x447)](_0x2ccdd0[0x0],this[_0xd7b044(0x3cc)]);if(g['isTransformMutationsWithChangesetSuccess'](_0xd7263f)){const {c1Prime:_0x53fe70,m2Prime:_0x121ca2}=_0xd7263f;return this['_executeRemoteChangeset'](_0x53fe70),_0x1a8279[0x0][_0xd7b044(0x19f)]=this[_0xd7b044(0x469)](),this[_0xd7b044(0x335)](),this[_0xd7b044(0x199)][_0xd7b044(0x4ba)](exports['AwaitingWithPendingState'],this[_0xd7b044(0x465)],this['type'],_0x1a8279[0x0],_0x121ca2,this[_0xd7b044(0x1c1)],void 0x0);}throw _0xd7263f[_0xd7b044(0x3b2)];}throw _0x2f946[_0xd7b044(0x3b2)];}catch(_0x1f8188){return this[_0xd7b044(0x17b)][_0xd7b044(0x3b2)](_0x1f8188),this[_0xd7b044(0x4d4)](!0x1);}}[_0x29ecf9(0x21b)](_0x1b30f8){var _0x299f59=_0x29ecf9;if(this[_0x299f59(0x335)](),this[_0x299f59(0x479)](_0x1b30f8))return this[_0x299f59(0x199)][_0x299f59(0x4ba)](exports[_0x299f59(0x47e)],this[_0x299f59(0x465)],this[_0x299f59(0x3e9)],null,this['_pendingMutations'],this[_0x299f59(0x1a5)],[],this[_0x299f59(0x1c1)]);this[_0x299f59(0x4a3)]();const _0x624a13=this[_0x299f59(0x199)][_0x299f59(0x4ba)](exports[_0x299f59(0x192)],this['unitID'],this[_0x299f59(0x3e9)],this[_0x299f59(0x3cc)],this[_0x299f59(0x1c1)]);return _0x624a13['_schedule'](),_0x624a13[_0x299f59(0x367)](),_0x624a13;}[_0x29ecf9(0x251)](_0x530da9){return this['_onConflict'](!!(_0x530da9!=null&&_0x530da9['isPermissionRej']));}[_0x29ecf9(0x1e1)](_0x2ad598){var _0x184cf1=_0x29ecf9;return this[_0x184cf1(0x2a8)]>Nt?this[_0x184cf1(0x401)]():(this[_0x184cf1(0x483)]=Ot(this[_0x184cf1(0x2a8)],{'timeout':this[_0x184cf1(0x2a8)],'reqId':_0x2ad598[_0x184cf1(0x25e)]}),this['_sender']=this[_0x184cf1(0x483)][_0x184cf1(0x366)](({reqId:_0x479568,timeout:_0x1b6ea0})=>{var _0x38e808=_0x184cf1;this[_0x38e808(0x1ba)](_0x479568,_0x1b6ea0);}),this);}['toggleOffline'](){var _0x446853=_0x29ecf9;return this['_clearScheduledTask'](),this[_0x446853(0x199)]['createInstance'](exports[_0x446853(0x20e)],this['unitID'],this[_0x446853(0x3e9)],this[_0x446853(0x1a5)],this[_0x446853(0x3cc)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x1109d0=_0x29ecf9;this[_0x1109d0(0x1c1)][_0x1109d0(0x40a)](this[_0x1109d0(0x1a5)]);}['_onConflict'](_0x32b37d){var _0x3fbf72=_0x29ecf9;return this['_clearScheduledTask'](),this[_0x3fbf72(0x199)][_0x3fbf72(0x4ba)](exports[_0x3fbf72(0x4d5)],this[_0x3fbf72(0x465)],this[_0x3fbf72(0x3e9)],null,this[_0x3fbf72(0x3cc)],this['_handler'],_0x32b37d);}[_0x29ecf9(0x1ba)](_0x5bbf5b,_0x371bca){var _0x4c0f85=_0x29ecf9,_0x34bf12;_0x5bbf5b===((_0x34bf12=this[_0x4c0f85(0x1a5)])==null?void 0x0:_0x34bf12[_0x4c0f85(0x25e)])&&(this[_0x4c0f85(0x473)](),this[_0x4c0f85(0x2a8)]=_0x371bca===0x0?0x3e8:_0x371bca*0x2);}['_clearScheduledTask'](){var _0x228697=_0x29ecf9,_0x27bde5;(_0x27bde5=this[_0x228697(0x450)])==null||_0x27bde5[_0x228697(0x18f)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),w(0x7,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),w(0x8,a[_0x29ecf9(0x2bc)]),w(0x9,a[_0x29ecf9(0x241)]),w(0xa,g[_0x29ecf9(0x336)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x1d4)]),exports[_0x29ecf9(0x4d5)]=class extends he{constructor(_0x4adf55,_0x1f045f,_0xad7511,_0x42d2ea,_0x20eb3d,_0x51813a=!0x1,_0x37509d,_0x403b27,_0x2c899c,_0x446e7c,_0xb45a36,_0x203c55,_0x1d1f23){var _0x3e706e=_0x29ecf9;super(_0x4adf55,_0x1f045f,_0xad7511,_0x42d2ea,_0x20eb3d,_0x403b27,_0x2c899c,_0x446e7c,_0x1d1f23),A(this,_0x3e706e(0x33b),_0x3e706e(0x426)),(this[_0x3e706e(0x2e5)]=_0x51813a,this['_permissionService']=_0x37509d,this['_localeService']=_0xb45a36,this[_0x3e706e(0x227)]=_0x203c55,this[_0x3e706e(0x1af)]=_0x1d1f23,this[_0x3e706e(0x3f3)](),this['_clearLocalCache'](),this[_0x3e706e(0x38c)]());}[_0x29ecf9(0x40c)](){return this;}['onRemoteChangeset'](){return this;}[_0x29ecf9(0x21b)](){return this;}[_0x29ecf9(0x251)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x3bf093=_0x29ecf9;throw new Error(_0x3bf093(0x361));}[_0x29ecf9(0x44d)](){var _0xb867f2=_0x29ecf9,_0x2eb4e8;(_0x2eb4e8=this[_0xb867f2(0x3bb)])==null||_0x2eb4e8['updateOfflineData'](this[_0xb867f2(0x465)],this['type'],null,[]);}[_0x29ecf9(0x3f3)](){var _0x462afa=_0x29ecf9;this['_isPermissionRej']?this[_0x462afa(0x227)][_0x462afa(0x14d)]({'id':Q[_0x462afa(0x148)]}):this[_0x462afa(0x227)][_0x462afa(0x14d)]({'id':Q['CONFLICT']});}['_disableEditing'](){var _0x531604=_0x29ecf9;this['_permissionService']['updatePermissionPoint'](new Z[(_0x531604(0x468))](this['unitID'])['id'],!0x1);}},exports[_0x29ecf9(0x4d5)]=ce([w(0x6,a[_0x29ecf9(0x36f)](a['IPermissionService'])),w(0x7,a[_0x29ecf9(0x2bc)]),w(0x8,a[_0x29ecf9(0x1f3)]),w(0x9,a['Inject'](g['RevisionService'])),w(0xa,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x16a)])),w(0xb,a[_0x29ecf9(0x36f)](te)),w(0xc,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x4d5)]),exports['OfflineState']=class extends he{constructor(_0x159fdb,_0x1454d8,_0x90b8b2,_0x1be00a,_0x2f3b8,_0x302978,_0x2d8738,_0x1a4f91,_0x4deee3,_0x2404fa){var _0x12c441=_0x29ecf9;super(_0x159fdb,_0x1454d8,_0x90b8b2,_0x1be00a,_0x2f3b8,_0x1a4f91,_0x4deee3,_0x2d8738,_0x2404fa),A(this,'status',_0x12c441(0x1ec)),this['_injector']=_0x302978;}[_0x29ecf9(0x40c)](_0x504059){var _0x407fd5=_0x29ecf9;return this[_0x407fd5(0x3cc)][_0x407fd5(0x363)](_0x504059),this[_0x407fd5(0x367)](),this;}[_0x29ecf9(0x1f0)](_0x235dd8){var _0x348bdb=_0x29ecf9;throw new Error(_0x348bdb(0x1c9));}[_0x29ecf9(0x21b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x29ecf9(0x251)](){var _0x123e70=_0x29ecf9;throw new Error(_0x123e70(0x1e9));}[_0x29ecf9(0x1e1)](){return this;}['toggleOffline'](){return this;}[_0x29ecf9(0x240)](){var _0x4e5194=_0x29ecf9;const {_injector:_0x459073,_pendingMutations:_0x1789bd,_awaitingChangeset:_0x118499,unitID:_0x1fd69e,_handler:_0x3c7a9f,type:_0x89a3e9}=this,_0x5adaf5=Dt(_0x459073,_0x1fd69e,_0x89a3e9,_0x118499,_0x1789bd,_0x3c7a9f);return _0x5adaf5 instanceof exports['PendingState']?_0x5adaf5[_0x4e5194(0x35e)]():(_0x5adaf5 instanceof exports[_0x4e5194(0x1d4)]||_0x5adaf5 instanceof exports[_0x4e5194(0x3ba)])&&_0x5adaf5[_0x4e5194(0x473)](),_0x5adaf5;}[_0x29ecf9(0x473)](){var _0x50d89c=_0x29ecf9;throw new Error(_0x50d89c(0x1ea));}},exports['OfflineState']=ce([w(0x5,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),w(0x6,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),w(0x7,a[_0x29ecf9(0x2bc)]),w(0x8,a[_0x29ecf9(0x1f3)]),w(0x9,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x20e)]),exports[_0x29ecf9(0x47e)]=class extends he{constructor(_0x35cd37,_0x54f4a6,_0x5f3f11,_0x5e37a0,_0x1f65d3,_0x1062ed,_0x3d0857,_0x38ca6f,_0xb2e0bf,_0x7d0293,_0x1c5899,_0x1f4dbf,_0xa95082,_0x369182){var _0x304031=_0x29ecf9;super(_0x35cd37,_0x54f4a6,_0x5f3f11,_0x5e37a0,_0x3d0857,_0x1c5899,_0x1f4dbf,_0xb2e0bf,_0x369182),A(this,_0x304031(0x33b),_0x304031(0x1df)),(this[_0x304031(0x40e)]=_0x1f65d3,this[_0x304031(0x22c)]=_0x1062ed,this[_0x304031(0x199)]=_0x38ca6f,this[_0x304031(0x17b)]=_0x7d0293,this[_0x304031(0x4af)]=_0xa95082,this[_0x304031(0x1af)]=_0x369182);}[_0x29ecf9(0x43f)](_0x497fd){var _0x1a132a=_0x29ecf9;try{const _0x14d137=[..._0x497fd,...this[_0x1a132a(0x22c)]],_0x4f4cd3=[this[_0x1a132a(0x1a5)]||this['_acknowledgedAwaitingChangeset']][_0x1a132a(0x475)](_0x4866d1=>!!_0x4866d1);let _0x2d4551,_0x3a3f2c;if(_0x4f4cd3['length']){const _0x351a73=this[_0x1a132a(0x4af)][_0x1a132a(0x3f8)](_0x14d137,_0x4f4cd3,!0x1);if(!g[_0x1a132a(0x1c4)](_0x351a73))throw _0x351a73[_0x1a132a(0x3b2)];_0x2d4551=_0x351a73[_0x1a132a(0x1a1)],_0x3a3f2c=_0x351a73[_0x1a132a(0x2d3)];}else _0x2d4551=_0x14d137,_0x3a3f2c=[];let _0x10c549=this[_0x1a132a(0x3cc)];_0x2d4551['forEach'](_0x116921=>{var _0x5c8de6=_0x1a132a;let _0x30aa18;if(_0x10c549['length']){const _0x2e8dfb=this[_0x5c8de6(0x4af)][_0x5c8de6(0x447)](_0x116921,_0x10c549);if(!g[_0x5c8de6(0x488)](_0x2e8dfb))throw _0x2e8dfb[_0x5c8de6(0x3b2)];_0x30aa18=_0x2e8dfb[_0x5c8de6(0x1a1)],_0x10c549=_0x2e8dfb[_0x5c8de6(0x33f)];}else _0x30aa18=_0x116921;this[_0x5c8de6(0x309)](_0x30aa18);}),this[_0x1a132a(0x40e)]&&this[_0x1a132a(0x4a3)](),this['_awaitingChangeset']&&_0x3a3f2c[_0x1a132a(0x439)]&&(_0x3a3f2c[0x0]['baseRev']=this[_0x1a132a(0x469)]());let _0x215fb0;if(this[_0x1a132a(0x1a5)]&&_0x10c549[_0x1a132a(0x439)]!==0x0)_0x215fb0=this['_injector'][_0x1a132a(0x4ba)](exports[_0x1a132a(0x1d4)],this[_0x1a132a(0x465)],this[_0x1a132a(0x3e9)],_0x3a3f2c[0x0],_0x10c549,this[_0x1a132a(0x1c1)],void 0x0);else{if(this[_0x1a132a(0x1a5)]&&_0x10c549[_0x1a132a(0x439)]===0x0)_0x3a3f2c[0x0][_0x1a132a(0x19f)]=this[_0x1a132a(0x469)](),_0x215fb0=this[_0x1a132a(0x199)][_0x1a132a(0x4ba)](exports[_0x1a132a(0x3ba)],this[_0x1a132a(0x465)],this[_0x1a132a(0x3e9)],_0x3a3f2c[0x0],this['_handler']);else{if(_0x10c549[_0x1a132a(0x439)]!==0x0){const _0x378e54=this[_0x1a132a(0x199)][_0x1a132a(0x4ba)](exports[_0x1a132a(0x192)],this[_0x1a132a(0x465)],this[_0x1a132a(0x3e9)],_0x10c549,this[_0x1a132a(0x1c1)]);_0x378e54[_0x1a132a(0x35e)](),_0x215fb0=_0x378e54;}else _0x215fb0=this[_0x1a132a(0x199)][_0x1a132a(0x4ba)](exports[_0x1a132a(0x3cf)],this[_0x1a132a(0x465)],this[_0x1a132a(0x3e9)],this[_0x1a132a(0x1c1)]);}}return _0x215fb0[_0x1a132a(0x367)](),_0x215fb0;}catch(_0x2ff26c){return this[_0x1a132a(0x17b)][_0x1a132a(0x3b2)](_0x1a132a(0x4cf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2ff26c),this[_0x1a132a(0x199)][_0x1a132a(0x4ba)](exports['ConflictState'],this['unitID'],this['type'],this[_0x1a132a(0x1a5)],this[_0x1a132a(0x3cc)],this[_0x1a132a(0x1c1)],!0x1);}}[_0x29ecf9(0x473)](){var _0xd3c823=_0x29ecf9;throw new Error(_0xd3c823(0x2dc));}[_0x29ecf9(0x40c)](_0x25f23c){var _0x2f383c=_0x29ecf9;return this[_0x2f383c(0x3cc)][_0x2f383c(0x363)](_0x25f23c),this;}['onRemoteChangeset'](_0x26bb8f){var _0x59b539=_0x29ecf9;return this[_0x59b539(0x22c)][_0x59b539(0x363)](_0x26bb8f),this;}[_0x29ecf9(0x21b)](_0x315c5f){var _0x48ed4d=_0x29ecf9;if(this[_0x48ed4d(0x1a5)])return this[_0x48ed4d(0x40e)]=this[_0x48ed4d(0x1a5)],this[_0x48ed4d(0x1a5)]=null,this;throw new Error(_0x48ed4d(0x265));}[_0x29ecf9(0x251)](_0x3fed54){var _0x2770fd=_0x29ecf9;return this[_0x2770fd(0x4d4)](!!(_0x3fed54!=null&&_0x3fed54[_0x2770fd(0x358)]));}[_0x29ecf9(0x1e1)](){return this;}[_0x29ecf9(0x401)](){var _0x510414=_0x29ecf9;return this[_0x510414(0x199)][_0x510414(0x4ba)](exports['OfflineState'],this['unitID'],this['type'],this[_0x510414(0x1a5)],this[_0x510414(0x3cc)],this[_0x510414(0x1c1)]);}['toggleOnline'](){return this;}[_0x29ecf9(0x4d4)](_0x526f6d){var _0x365a79=_0x29ecf9;return this[_0x365a79(0x199)][_0x365a79(0x4ba)](exports[_0x365a79(0x4d5)],this[_0x365a79(0x465)],this['type'],this[_0x365a79(0x1a5)],this['_pendingMutations'],this[_0x365a79(0x1c1)],_0x526f6d);}},exports[_0x29ecf9(0x47e)]=ce([w(0x7,a['Inject'](a[_0x29ecf9(0x378)])),w(0x8,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),w(0x9,a[_0x29ecf9(0x241)]),w(0xa,a[_0x29ecf9(0x2bc)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x29ecf9(0x336)]),w(0xd,a['Optional'](z))],exports[_0x29ecf9(0x47e)]);function Dt(_0x2b47ee,_0x52b87e,_0x5b89c8,_0x41e702,_0x3f31fe,_0x254922){var _0x4b21b7=_0x29ecf9;return _0x41e702&&_0x3f31fe[_0x4b21b7(0x439)]?_0x2b47ee['createInstance'](exports[_0x4b21b7(0x1d4)],_0x52b87e,_0x5b89c8,_0x41e702,_0x3f31fe,_0x254922,void 0x0):_0x41e702?_0x2b47ee[_0x4b21b7(0x4ba)](exports[_0x4b21b7(0x3ba)],_0x52b87e,_0x5b89c8,_0x41e702,_0x254922):_0x3f31fe[_0x4b21b7(0x439)]?_0x2b47ee[_0x4b21b7(0x4ba)](exports['PendingState'],_0x52b87e,_0x5b89c8,_0x3f31fe,_0x254922):_0x2b47ee[_0x4b21b7(0x4ba)](exports['SyncedState'],_0x52b87e,_0x5b89c8,_0x254922);}var Ci=Object[_0x29ecf9(0x161)],We=(_0x159908,_0x3655c3,_0xc9a1ef,_0x53099f)=>{for(var _0x2a2151=_0x53099f>0x1?void 0x0:_0x53099f?Ci(_0x3655c3,_0xc9a1ef):_0x3655c3,_0x4267c3=_0x159908['length']-0x1,_0x1b2df6;_0x4267c3>=0x0;_0x4267c3--)(_0x1b2df6=_0x159908[_0x4267c3])&&(_0x2a2151=_0x1b2df6(_0x2a2151)||_0x2a2151);return _0x2a2151;},$=(_0x559573,_0x57749f)=>(_0x25f7a4,_0x4cb5c8)=>_0x57749f(_0x25f7a4,_0x4cb5c8,_0x559573);exports[_0x29ecf9(0x1f7)]=class extends a[_0x29ecf9(0x4d1)]{constructor(_0x32deeb,_0x4ae60a,_0x1c872e,_0x2d9ad9,_0x1759f2,_0x2b9dd9,_0x5aefae,_0x624510,_0x4e6633,_0x484916,_0x4395f4,_0x5a021f,_0x259fda){var _0x1d7506=_0x29ecf9;super(),A(this,_0x1d7506(0x2f4),new j[(_0x1d7506(0x3ff))](null)),A(this,'state$',this['_state$'][_0x1d7506(0x2f6)]()),A(this,'_state'),A(this,_0x1d7506(0x471),!0x1),A(this,_0x1d7506(0x2c4),''),A(this,_0x1d7506(0x1d8),0x0),A(this,_0x1d7506(0x207),this[_0x1d7506(0x35b)][_0x1d7506(0x260)](j[_0x1d7506(0x27b)](_0x68f168=>_0x68f168?_0x68f168[_0x1d7506(0x33b)]:Ve[_0x1d7506(0x41d)]),j[_0x1d7506(0x2cc)](0x1))),A(this,_0x1d7506(0x15a),!0x1),A(this,_0x1d7506(0x32c),[]),(this[_0x1d7506(0x465)]=_0x32deeb,this[_0x1d7506(0x202)]=_0x4ae60a,this[_0x1d7506(0x37e)]=_0x1c872e,this[_0x1d7506(0x199)]=_0x2d9ad9,this[_0x1d7506(0x3e5)]=_0x1759f2,this[_0x1d7506(0x247)]=_0x2b9dd9,this[_0x1d7506(0x1d3)]=_0x5aefae,this[_0x1d7506(0x281)]=_0x624510,this['_logService']=_0x4e6633,this[_0x1d7506(0x1cc)]=_0x484916,this[_0x1d7506(0x249)]=_0x4395f4,this['_singleActiveUnitService']=_0x5a021f,this[_0x1d7506(0x3bb)]=_0x259fda);}get[_0x29ecf9(0x14b)](){return this['_state'];}async[_0x29ecf9(0x3b3)](){var _0x3a5745=_0x29ecf9;if(this['state'])throw new Error(_0x3a5745(0x316));await this[_0x3a5745(0x30e)]();}[_0x29ecf9(0x1a0)](){var _0x5ef4e0=_0x29ecf9;return this[_0x5ef4e0(0x471)]=!0x0,a[_0x5ef4e0(0x1b6)](()=>{var _0x11217d=_0x5ef4e0;this[_0x11217d(0x471)]=!0x1,this[_0x11217d(0x20a)]();});}[_0x29ecf9(0x1c7)](_0x22aae9){this['_onLocalMutation'](_0x22aae9);}[_0x29ecf9(0x45a)](_0x54c8f3){var _0x2d3e80=_0x29ecf9;this[_0x2d3e80(0x38e)]=_0x54c8f3,this[_0x2d3e80(0x2f4)][_0x2d3e80(0x3f0)](_0x54c8f3);}async[_0x29ecf9(0x30e)](){var _0x2b41b9=_0x29ecf9,_0x56b228;this[_0x2b41b9(0x45a)](await this[_0x2b41b9(0x2ac)]()),this[_0x2b41b9(0x154)]&&((_0x56b228=this[_0x2b41b9(0x154)])==null||_0x56b228['editingUnit'](this['unitID']),this[_0x2b41b9(0x44c)](this[_0x2b41b9(0x154)]['getUnitStatus$'](this['unitID'])[_0x2b41b9(0x366)](_0x4f6d47=>{var _0x5f3384=_0x2b41b9;this[_0x5f3384(0x17b)][_0x5f3384(0x2b5)](_0x5f3384(0x4a7),_0x5f3384(0x3f9),_0x4f6d47),_0x4f6d47===Fe['OTHER_CLIENTS_EDITING']?(this[_0x5f3384(0x281)]['emitEvent']({'id':Q[_0x5f3384(0x303)]}),this[_0x5f3384(0x249)][_0x5f3384(0x424)](new Z[(_0x5f3384(0x468))](this['unitID'])['id'],!0x1),this[_0x5f3384(0x249)][_0x5f3384(0x2c7)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x5f3384(0x468))](this[_0x5f3384(0x465)])['id'],!0x0),this[_0x5f3384(0x249)][_0x5f3384(0x2c7)](!0x0));})));let _0x57fbf9=!0x1;return this[_0x2b41b9(0x44c)](this[_0x2b41b9(0x202)]['sessionStatus$']['subscribe'](_0x51b2b2=>{var _0x135a51=_0x2b41b9;_0x51b2b2===se[_0x135a51(0x324)]?this[_0x135a51(0x2e4)](_0x57fbf9):_0x51b2b2===se[_0x135a51(0x41d)]&&(_0x57fbf9=!0x0,this[_0x135a51(0x4c9)]());})),this[_0x2b41b9(0x44c)](this[_0x2b41b9(0x202)][_0x2b41b9(0x25f)][_0x2b41b9(0x366)](_0x5e046c=>{var _0x36d82c=_0x2b41b9;try{switch(_0x5e046c['eventID']){case g['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](g[_0x36d82c(0x16f)](_0x5e046c['data']));break;}case g[_0x36d82c(0x23c)][_0x36d82c(0x29c)]:{this[_0x36d82c(0x193)](_0x5e046c['data']);break;}case g[_0x36d82c(0x23c)][_0x36d82c(0x46d)]:{this[_0x36d82c(0x47b)]();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5e046c[_0x36d82c(0x45b)]);break;}case g[_0x36d82c(0x23c)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x36d82c(0x18b)](_0x5e046c['data'][_0x36d82c(0x4a1)][_0x36d82c(0x27b)](_0x219895=>g[_0x36d82c(0x16f)](_0x219895)));break;}case g[_0x36d82c(0x23c)][_0x36d82c(0x36e)]:{this[_0x36d82c(0x47b)]({'isPermissionRej':!0x0});break;}case g[_0x36d82c(0x23c)][_0x36d82c(0x2af)]:break;}}catch(_0x3540f1){throw console['error']('Error\x20on\x20receiving\x20event',_0x3540f1),_0x3540f1;}})),this[_0x2b41b9(0x38e)];}[_0x29ecf9(0x46e)](){var _0x2321e=_0x29ecf9;this[_0x2321e(0x15a)]=!0x1;}[_0x29ecf9(0x3bc)](){var _0x2e77c5=_0x29ecf9;if(this[_0x2e77c5(0x15a)])throw new Error(_0x2e77c5(0x14c));this[_0x2e77c5(0x15a)]=!0x0;}[_0x29ecf9(0x1d6)](_0x2bb92d){var _0x39187a=_0x29ecf9;this[_0x39187a(0x3bc)](),this['_updateState'](this[_0x39187a(0x38e)][_0x39187a(0x40c)](_0x2bb92d)),this[_0x39187a(0x46e)]();}[_0x29ecf9(0x334)](_0x39a3ae){var _0x18db0a=_0x29ecf9;if(!(_0x39a3ae[_0x18db0a(0x476)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x18db0a(0x465)]))){if(this[_0x18db0a(0x471)]){this['_remoteChangesetQueue']['push'](_0x39a3ae);return;}this[_0x18db0a(0x1be)](_0x39a3ae);}}[_0x29ecf9(0x20a)](){var _0x48bd60=_0x29ecf9;this[_0x48bd60(0x32c)][_0x48bd60(0x420)](_0x206d24=>this[_0x48bd60(0x1be)](_0x206d24)),this[_0x48bd60(0x32c)]=[];}['_applyRemoteChangeset'](_0x25d667){var _0x42dfc9=_0x29ecf9;const _0x43c846=this[_0x42dfc9(0x3e5)][_0x42dfc9(0x49a)][_0x42dfc9(0x34c)](this[_0x42dfc9(0x3e5)]['interceptor'][_0x42dfc9(0x156)]()['COMPRESS_MUTATION_APPLY'])(_0x25d667[_0x42dfc9(0x3f6)],null)||_0x25d667[_0x42dfc9(0x3f6)],_0x2c685a={..._0x25d667,'mutations':_0x43c846};this[_0x42dfc9(0x3bc)](),this[_0x42dfc9(0x45a)](this[_0x42dfc9(0x38e)][_0x42dfc9(0x1f0)](_0x2c685a)),this[_0x42dfc9(0x46e)]();}[_0x29ecf9(0x193)](_0x2de020){var _0x2b70fa=_0x29ecf9;this[_0x2b70fa(0x3bc)](),this[_0x2b70fa(0x45a)](this[_0x2b70fa(0x38e)][_0x2b70fa(0x21b)](_0x2de020)),this[_0x2b70fa(0x46e)]();}[_0x29ecf9(0x47b)](_0x15c97d){var _0x4dec54=_0x29ecf9;this[_0x4dec54(0x3bc)](),this[_0x4dec54(0x45a)](this[_0x4dec54(0x38e)]['onRemoteRej'](_0x15c97d)),this[_0x4dec54(0x46e)]();}[_0x29ecf9(0x4a4)](_0x28a054){var _0x125ef1=_0x29ecf9;this[_0x125ef1(0x3bc)](),this[_0x125ef1(0x45a)](this[_0x125ef1(0x38e)][_0x125ef1(0x1e1)](_0x28a054)),this[_0x125ef1(0x46e)]();}[_0x29ecf9(0x18b)](_0x27eb9f){var _0x397299=_0x29ecf9;if(!(this[_0x397299(0x38e)]instanceof exports[_0x397299(0x47e)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3e9af0=_0x27eb9f[_0x397299(0x27b)](_0x1e9e64=>{var _0x4117b4=_0x397299;const _0x56b1d4=this[_0x4117b4(0x3e5)][_0x4117b4(0x49a)][_0x4117b4(0x34c)](this[_0x4117b4(0x3e5)][_0x4117b4(0x49a)][_0x4117b4(0x156)]()[_0x4117b4(0x220)])(_0x1e9e64['mutations'],null)||_0x1e9e64[_0x4117b4(0x3f6)];return{..._0x1e9e64,'mutations':_0x56b1d4};});this[_0x397299(0x3bc)](),this[_0x397299(0x45a)](this['_state'][_0x397299(0x43f)](_0x3e9af0)),this['_unlockTransition']();}[_0x29ecf9(0x4c9)](){var _0x5db77d=_0x29ecf9;this[_0x5db77d(0x3bc)](),this['_updateState'](this[_0x5db77d(0x38e)][_0x5db77d(0x401)]()),this[_0x5db77d(0x46e)]();}[_0x29ecf9(0x2e4)](_0x1a2a14=!0x1){var _0x5532e9=_0x29ecf9;this[_0x5532e9(0x3bc)](),this[_0x5532e9(0x45a)](this[_0x5532e9(0x38e)][_0x5532e9(0x240)]()),this[_0x5532e9(0x46e)]();const _0x1f1dc7=this[_0x5532e9(0x38e)];_0x1a2a14&&_0x1f1dc7 instanceof exports['SyncedState']&&(this['_lockTransition'](),this[_0x5532e9(0x45a)](_0x1f1dc7[_0x5532e9(0x35c)]()),this[_0x5532e9(0x46e)]());}async[_0x29ecf9(0x2ac)](){return new Promise(_0x3327b3=>{var _0x49fec5=_0x5bf0;this[_0x49fec5(0x202)][_0x49fec5(0x464)][_0x49fec5(0x260)](j['take'](0x1))['subscribe'](async _0x37eac7=>{var _0x33621d=_0x49fec5;_0x3327b3(await this[_0x33621d(0x499)](_0x37eac7===se[_0x33621d(0x324)]));});});}[_0x29ecf9(0x48d)](){const _0x4f293a=this['unitID'];return{'onStateChange':(_0x5f0485,_0x292ff2)=>{var _0x4ad615=_0x5bf0;if(_0x5f0485!==this['_state'])throw new Error(_0x4ad615(0x151)+_0x5f0485[_0x4ad615(0x33b)]+_0x4ad615(0x158)+_0x292ff2[_0x4ad615(0x33b)]+'\x0aCurrent:\x20'+this[_0x4ad615(0x38e)][_0x4ad615(0x33b)]);this[_0x4ad615(0x45a)](_0x292ff2);},'onSendChangeset':_0x3cd2d8=>{var _0x2f7bfc=_0x5bf0;_0x3cd2d8['sid']||(_0x3cd2d8[_0x2f7bfc(0x3eb)]=this[_0x2f7bfc(0x2c4)],_0x3cd2d8['reqId']=++this[_0x2f7bfc(0x1d8)]);const _0xa50930={'eventID':g[_0x2f7bfc(0x23c)][_0x2f7bfc(0x228)],'data':{'unitID':_0x3cd2d8[_0x2f7bfc(0x465)],'unitType':this[_0x2f7bfc(0x37e)],'changeset':_0x3cd2d8,'memberID':this['session'][_0x2f7bfc(0x166)]()}};this[_0x2f7bfc(0x202)][_0x2f7bfc(0x231)](_0xa50930,this['unitID']);},'onMissingChangesets':({from:_0x2625d2,to:_0x51810c})=>{var _0x1767b1=_0x5bf0;this['_logService']['debug'](_0x1767b1(0x4a7),_0x1767b1(0x18d)+_0x2625d2+_0x1767b1(0x1da)+_0x51810c);const _0x319aa0={'eventID':g[_0x1767b1(0x23c)][_0x1767b1(0x3d0)],'data':{'unitID':_0x4f293a,'unitType':this[_0x1767b1(0x37e)],'from':_0x2625d2,'to':_0x51810c}};this[_0x1767b1(0x202)][_0x1767b1(0x231)](_0x319aa0,this[_0x1767b1(0x465)]);}};}async[_0x29ecf9(0x499)](_0x3c574d){var _0x1b41ce=_0x29ecf9,_0x3635be,_0x4cc7e3,_0x2b5037;const _0x153a9f=await((_0x3635be=this[_0x1b41ce(0x3bb)])==null?void 0x0:_0x3635be[_0x1b41ce(0x1f5)](this[_0x1b41ce(0x465)])),_0x26a4e9=(_0x4cc7e3=_0x153a9f==null?void 0x0:_0x153a9f[_0x1b41ce(0x3f6)])!=null?_0x4cc7e3:[],_0x57ea7e=(_0x2b5037=_0x153a9f==null?void 0x0:_0x153a9f[_0x1b41ce(0x305)])!=null?_0x2b5037:null,_0x58e80f=!!(_0x57ea7e!=null&&_0x57ea7e[_0x1b41ce(0x3eb)])&&!!(_0x57ea7e!=null&&_0x57ea7e['reqId']);this[_0x1b41ce(0x2c4)]=_0x58e80f?_0x57ea7e[_0x1b41ce(0x3eb)]:di(),this[_0x1b41ce(0x1d8)]=_0x58e80f?_0x57ea7e[_0x1b41ce(0x25e)]:0x0;const _0x19de0b=this[_0x1b41ce(0x465)];try{this[_0x1b41ce(0x25d)](_0x57ea7e,_0x26a4e9);}catch(_0x37894c){this[_0x1b41ce(0x17b)][_0x1b41ce(0x3b2)](_0x37894c);}const _0x2c17f7=this[_0x1b41ce(0x48d)]();if(_0x3c574d){const _0x514b1c=Dt(this['_injector'],_0x19de0b,this[_0x1b41ce(0x37e)],_0x57ea7e,_0x26a4e9,_0x2c17f7);return _0x514b1c instanceof exports[_0x1b41ce(0x192)]?_0x514b1c['_schedule']():(_0x514b1c instanceof exports[_0x1b41ce(0x1d4)]||_0x514b1c instanceof exports[_0x1b41ce(0x3ba)])&&_0x514b1c[_0x1b41ce(0x473)](),_0x514b1c;}return this[_0x1b41ce(0x199)][_0x1b41ce(0x4ba)](exports[_0x1b41ce(0x20e)],_0x19de0b,this[_0x1b41ce(0x37e)],_0x57ea7e,_0x26a4e9,_0x2c17f7);}[_0x29ecf9(0x25d)](_0x2cef3f,_0x2c8af7){var _0x92252a=_0x29ecf9,_0x3da8c8,_0xdcabb7;const _0x24c5fa=this[_0x92252a(0x3e5)][_0x92252a(0x49a)]['fetchThroughInterceptors'](this[_0x92252a(0x3e5)]['interceptor'][_0x92252a(0x156)]()[_0x92252a(0x220)]);(_0x3da8c8=_0x24c5fa((_0x2cef3f==null?void 0x0:_0x2cef3f[_0x92252a(0x3f6)])||[],null))==null||_0x3da8c8[_0x92252a(0x420)](_0x3c07ef=>this[_0x92252a(0x1cc)][_0x92252a(0x300)](_0x3c07ef['id'],_0x3c07ef['params'])),(_0xdcabb7=_0x24c5fa(_0x2c8af7||[],null))==null||_0xdcabb7[_0x92252a(0x420)](_0x5793b1=>this[_0x92252a(0x1cc)][_0x92252a(0x300)](_0x5793b1['id'],_0x5793b1[_0x92252a(0x254)]));}},exports[_0x29ecf9(0x1f7)]=We([$(0x3,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),$(0x4,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x382)])),$(0x5,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x16a)])),$(0x6,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),$(0x7,a[_0x29ecf9(0x36f)](te)),$(0x8,a[_0x29ecf9(0x241)]),$(0x9,a[_0x29ecf9(0x2bc)]),$(0xa,a[_0x29ecf9(0x396)]),$(0xb,a[_0x29ecf9(0x172)](ve)),$(0xc,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x1f7)]),exports[_0x29ecf9(0x1b3)]=class extends exports['CollaborationEntity']{constructor(_0x55262a,_0x2f4580,_0x381bdb,_0x4f4e76,_0x4492e0,_0x180f59,_0x402940,_0x57662a,_0x121845,_0x42d3e7,_0x4fcf0c,_0x1c9a87,_0x837f24){var _0x4d3023=_0x29ecf9;super(_0x55262a,_0x381bdb,_0x2f4580,_0x4f4e76,_0x4492e0,_0x180f59,_0x402940,_0x57662a,_0x121845,_0x42d3e7,_0x4fcf0c,_0x1c9a87,_0x837f24),A(this,'_handlerCallback',null),(this[_0x4d3023(0x465)]=_0x55262a,this[_0x4d3023(0x3e9)]=_0x2f4580);}[_0x29ecf9(0x276)](_0x1eb6b0){var _0x1156d9=_0x29ecf9;this[_0x1156d9(0x31e)]=_0x1eb6b0;}[_0x29ecf9(0x3c2)](){var _0x4af0bc=_0x29ecf9;this[_0x4af0bc(0x31e)]=null,super[_0x4af0bc(0x3c2)]();}[_0x29ecf9(0x48d)](){var _0xc991ee=_0x29ecf9;const _0x565acd=super['_createHandler']();return _0x565acd[_0xc991ee(0x278)]=_0x521390=>{var _0x95b05a=_0xc991ee,_0x118354,_0x442476;return(_0x442476=(_0x118354=this[_0x95b05a(0x31e)])==null?void 0x0:_0x118354[_0x95b05a(0x278)])==null?void 0x0:_0x442476[_0x95b05a(0x38f)](_0x118354,_0x521390);},_0x565acd[_0xc991ee(0x222)]=_0x11e13c=>{var _0x312aa5=_0xc991ee,_0x13c109,_0x54b34d;return(_0x54b34d=(_0x13c109=this['_handlerCallback'])==null?void 0x0:_0x13c109[_0x312aa5(0x222)])==null?void 0x0:_0x54b34d[_0x312aa5(0x38f)](_0x13c109,_0x11e13c);},_0x565acd[_0xc991ee(0x311)]=_0x181038=>{var _0x5cb64a=_0xc991ee,_0x4c2220,_0x4251e1;return(_0x4251e1=(_0x4c2220=this[_0x5cb64a(0x31e)])==null?void 0x0:_0x4c2220[_0x5cb64a(0x311)])==null?void 0x0:_0x4251e1[_0x5cb64a(0x38f)](_0x4c2220,_0x181038);},_0x565acd[_0xc991ee(0x187)]=_0x558afb=>{var _0x1cfc49=_0xc991ee,_0x520944,_0x421b15;return(_0x421b15=(_0x520944=this['_handlerCallback'])==null?void 0x0:_0x520944['onSyncEditingCollabCursor'])==null?void 0x0:_0x421b15[_0x1cfc49(0x38f)](_0x520944,_0x558afb);},_0x565acd['onTransformRemoteChangesetByIMECache']=_0x3ede3f=>{var _0x2d45e2=_0xc991ee,_0x504f6a,_0xc4d318,_0x402e8f;if(!((_0x504f6a=this[_0x2d45e2(0x31e)])!=null&&_0x504f6a['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2d45e2(0x239));return(_0x402e8f=(_0xc4d318=this['_handlerCallback'])==null?void 0x0:_0xc4d318[_0x2d45e2(0x355)])==null?void 0x0:_0x402e8f['call'](_0xc4d318,_0x3ede3f);},_0x565acd[_0xc991ee(0x418)]=_0x114015=>{var _0x353564=_0xc991ee,_0x558f9e,_0x4c6453,_0x139fc2;if(!((_0x558f9e=this[_0x353564(0x31e)])!=null&&_0x558f9e[_0x353564(0x418)]))throw new Error(_0x353564(0x1b1));return(_0x139fc2=(_0x4c6453=this[_0x353564(0x31e)])==null?void 0x0:_0x4c6453['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x139fc2['call'](_0x4c6453,_0x114015);},_0x565acd;}async[_0x29ecf9(0x30e)](){var _0x51121e=_0x29ecf9;const _0x5dacf2=await super[_0x51121e(0x30e)]();return this[_0x51121e(0x44c)](this['_commandService'][_0x51121e(0x2c9)]((_0x4bccd0,_0x377f5a)=>{var _0x4e0993=_0x51121e;if(_0x4bccd0[_0x4e0993(0x3e9)]!==a['CommandType'][_0x4e0993(0x29a)]||_0x377f5a!=null&&_0x377f5a[_0x4e0993(0x2ce)]||_0x377f5a!=null&&_0x377f5a[_0x4e0993(0x24e)]||_0x4bccd0['id']===ut[_0x4e0993(0x46f)]['id'])return;const _0x4ea165=_0x4bccd0[_0x4e0993(0x254)];if((_0x4ea165==null?void 0x0:_0x4ea165['unitId'])!==this['unitID'])return;const _0x4f5b3d=_0x4bccd0,_0x4169cb=this[_0x4e0993(0x3e5)][_0x4e0993(0x49a)][_0x4e0993(0x34c)](this['_compressMutationService'][_0x4e0993(0x49a)][_0x4e0993(0x156)]()[_0x4e0993(0x4bb)])([_0x4f5b3d],null)||[_0x4f5b3d];this[_0x4e0993(0x1d6)](_0x4169cb[0x0]);})),_0x5dacf2;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x16a)])),$(0x6,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x22e)])),$(0x7,a[_0x29ecf9(0x36f)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x29ecf9(0x2bc)]),$(0xa,a[_0x29ecf9(0x396)]),$(0xb,a[_0x29ecf9(0x172)](ve)),$(0xc,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x1b3)]),exports[_0x29ecf9(0x203)]=class extends exports[_0x29ecf9(0x1f7)]{constructor(_0x1ac011,_0x1f5ef5,_0x2650df,_0x5be691,_0x4f14bf,_0x21aa65,_0x89c83e,_0x369d01,_0x5127bc,_0x1813e9,_0x2af503,_0x242387,_0x596886,_0x31d80b){var _0x41c0e2=_0x29ecf9;super(_0x1ac011,_0x2650df,_0x1f5ef5,_0x5be691,_0x4f14bf,_0x21aa65,_0x89c83e,_0x5127bc,_0x1813e9,_0x2af503,_0x242387,_0x596886,_0x31d80b),this[_0x41c0e2(0x465)]=_0x1ac011,this[_0x41c0e2(0x3e9)]=_0x1f5ef5,this[_0x41c0e2(0x42c)]=_0x369d01;}[_0x29ecf9(0x48d)](){var _0x3a1bb0=_0x29ecf9;const _0x1ae1e8=super['_createHandler']();return _0x1ae1e8[_0x3a1bb0(0x311)]=_0x1a64b9=>this[_0x3a1bb0(0x42c)]['transformSelections'](_0x1a64b9),_0x1ae1e8;}async[_0x29ecf9(0x30e)](){var _0x978c46=_0x29ecf9;const _0xe752f8=await super['_init']();return this['disposeWithMe'](this[_0x978c46(0x1cc)][_0x978c46(0x2c9)]((_0xfe6de9,_0x35d91b)=>{var _0x18a455=_0x978c46;if(_0xfe6de9[_0x18a455(0x3e9)]!==a['CommandType'][_0x18a455(0x29a)]||_0x35d91b!=null&&_0x35d91b[_0x18a455(0x2ce)]||_0x35d91b!=null&&_0x35d91b[_0x18a455(0x24e)])return;const _0x57f472=_0xfe6de9[_0x18a455(0x254)];if((_0x57f472==null?void 0x0:_0x57f472['unitId'])!==this[_0x18a455(0x465)])return;const _0x5a43ec=_0xfe6de9,_0x5b611c=this[_0x18a455(0x3e5)]['interceptor']['fetchThroughInterceptors'](this[_0x18a455(0x3e5)][_0x18a455(0x49a)][_0x18a455(0x156)]()['COMPRESS_MUTATION_SEND'])([_0x5a43ec],null)||[_0x5a43ec];this[_0x18a455(0x1d6)](_0x5b611c[0x0]);})),_0xe752f8;}},exports['SheetCollaborationEntity']=We([$(0x3,a['Inject'](a['Injector'])),$(0x4,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x382)])),$(0x5,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x16a)])),$(0x6,a[_0x29ecf9(0x36f)](g['RevisionService'])),$(0x7,a[_0x29ecf9(0x36f)](exports[_0x29ecf9(0x196)])),$(0x8,a[_0x29ecf9(0x36f)](te)),$(0x9,a['ILogService']),$(0xa,a['ICommandService']),$(0xb,a[_0x29ecf9(0x396)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x29ecf9(0x172)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xfb6316,_0x4c951e,_0x194a53,_0x455767)=>{var _0x17c126=_0x29ecf9;for(var _0x26d112=_0x455767>0x1?void 0x0:_0x455767?Ti(_0x4c951e,_0x194a53):_0x4c951e,_0x4bd961=_0xfb6316[_0x17c126(0x439)]-0x1,_0x38e7be;_0x4bd961>=0x0;_0x4bd961--)(_0x38e7be=_0xfb6316[_0x4bd961])&&(_0x26d112=_0x38e7be(_0x26d112)||_0x26d112);return _0x26d112;},Pe=(_0x26b8e4,_0x579f55)=>(_0xb6f429,_0x54b663)=>_0x579f55(_0xb6f429,_0x54b663,_0x26b8e4);exports[_0x29ecf9(0x3c6)]=class extends a[_0x29ecf9(0x4d1)]{constructor(_0x3e50fd,_0x4db80a,_0x4a6638){var _0x4f342d=_0x29ecf9;super(),A(this,_0x4f342d(0x377),new Map()),A(this,_0x4f342d(0x402),new j[(_0x4f342d(0x1c8))]()),A(this,_0x4f342d(0x343),this[_0x4f342d(0x402)]['asObservable']()),(this['_injector']=_0x3e50fd,this[_0x4f342d(0x337)]=_0x4db80a,this['_univerInstanceService']=_0x4a6638,this[_0x4f342d(0x30e)]());}['dispose'](){var _0x286e23=_0x29ecf9;super[_0x286e23(0x3c2)](),this[_0x286e23(0x377)][_0x286e23(0x420)](_0x1abb50=>_0x1abb50['dispose']()),this[_0x286e23(0x377)]['clear']();}[_0x29ecf9(0x2d1)](_0x587c43){var _0x38cf26=_0x29ecf9,_0x2685fd;return(_0x2685fd=this[_0x38cf26(0x377)][_0x38cf26(0x26e)](_0x587c43))!=null?_0x2685fd:null;}[_0x29ecf9(0x23a)](_0x2c066a){var _0x3f1b3d=_0x29ecf9;const _0x308fed=this[_0x3f1b3d(0x2d1)](_0x2c066a);return _0x308fed?j['of'](_0x308fed):this[_0x3f1b3d(0x402)][_0x3f1b3d(0x260)](V[_0x3f1b3d(0x475)](_0x4cb468=>_0x4cb468[_0x3f1b3d(0x465)]===_0x2c066a));}[_0x29ecf9(0x351)](_0x3a6c2b){var _0x400a2d=_0x29ecf9;return j[_0x400a2d(0x15c)](this[_0x400a2d(0x23a)](_0x3a6c2b)[_0x400a2d(0x260)](V[_0x400a2d(0x27b)](()=>{})));}['_init'](){var _0x287d6f=_0x29ecf9;this[_0x287d6f(0x32d)][_0x287d6f(0x423)](a[_0x287d6f(0x2e8)][_0x287d6f(0x2db)])['pipe'](j[_0x287d6f(0x49e)](this[_0x287d6f(0x482)]),V[_0x287d6f(0x3b7)](0x10))[_0x287d6f(0x366)](async _0x37ad83=>{var _0x2a5665=_0x287d6f;const _0x237f4e=_0x37ad83[_0x2a5665(0x352)](),_0x190d2a=await this['_startCollaboration'](_0x237f4e,X[_0x2a5665(0x2db)]);this[_0x2a5665(0x377)]['set'](_0x237f4e,_0x190d2a);}),this[_0x287d6f(0x32d)][_0x287d6f(0x423)](a[_0x287d6f(0x2e8)][_0x287d6f(0x2bf)])['pipe'](j[_0x287d6f(0x49e)](this['dispose$']),V[_0x287d6f(0x3b7)](0x10))['pipe'](V[_0x287d6f(0x475)](_0x5ea7d6=>!_0x5ea7d6['getUnitId']()[_0x287d6f(0x45c)]('__')))[_0x287d6f(0x366)](async _0x27135c=>{var _0x1170af=_0x287d6f;const _0x4d71c3=_0x27135c[_0x1170af(0x352)](),_0x4bf0e6=await this['_startCollaboration'](_0x4d71c3,X[_0x1170af(0x2bf)]);this[_0x1170af(0x377)][_0x1170af(0x16e)](_0x4d71c3,_0x4bf0e6);}),j[_0x287d6f(0x4be)](this[_0x287d6f(0x32d)][_0x287d6f(0x15b)](a['UniverInstanceType'][_0x287d6f(0x2db)]),this[_0x287d6f(0x32d)]['getTypeOfUnitDisposed$'](a[_0x287d6f(0x2e8)][_0x287d6f(0x2bf)]))['pipe'](j[_0x287d6f(0x49e)](this[_0x287d6f(0x482)]))[_0x287d6f(0x366)](_0x5e6a87=>{var _0x13e00e=_0x287d6f;const _0x3dba8f=_0x5e6a87['getUnitId'](),_0x31a22c=this[_0x13e00e(0x377)][_0x13e00e(0x26e)](_0x3dba8f);_0x31a22c&&(_0x31a22c[_0x13e00e(0x3c2)](),this[_0x13e00e(0x377)][_0x13e00e(0x169)](_0x3dba8f));});}async[_0x29ecf9(0x4cc)](_0x61da01,_0x55be64){var _0x50644f=_0x29ecf9;const _0xd9f19d=await this[_0x50644f(0x337)]['requireSession'](_0x61da01),_0x49c29b=this[_0x50644f(0x199)][_0x50644f(0x4ba)](this[_0x50644f(0x3c3)](_0x55be64),_0x61da01,_0x55be64,_0xd9f19d);return await _0x49c29b[_0x50644f(0x3b3)](),this[_0x50644f(0x402)][_0x50644f(0x3f0)](_0x49c29b),_0x49c29b;}['_getCtorByUniverType'](_0x48d56d){var _0x16c702=_0x29ecf9;switch(_0x48d56d){case X['UNIVER_DOC']:return exports[_0x16c702(0x1b3)];case X[_0x16c702(0x2db)]:return exports[_0x16c702(0x203)];default:throw new Error(_0x16c702(0x3ae)+_0x48d56d);}}},exports[_0x29ecf9(0x3c6)]=bi([Pe(0x0,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x378)])),Pe(0x1,a[_0x29ecf9(0x36f)](exports[_0x29ecf9(0x1ed)])),Pe(0x2,a[_0x29ecf9(0x322)])],exports[_0x29ecf9(0x3c6)]);var Ri=Object[_0x29ecf9(0x161)],yi=(_0x30874b,_0x19cb7f,_0xc078b6,_0x1ec6cf)=>{var _0x1144e1=_0x29ecf9;for(var _0x3531fe=_0x1ec6cf>0x1?void 0x0:_0x1ec6cf?Ri(_0x19cb7f,_0xc078b6):_0x19cb7f,_0xdae701=_0x30874b[_0x1144e1(0x439)]-0x1,_0x5a8b3c;_0xdae701>=0x0;_0xdae701--)(_0x5a8b3c=_0x30874b[_0xdae701])&&(_0x3531fe=_0x5a8b3c(_0x3531fe)||_0x3531fe);return _0x3531fe;},Je=(_0xdfd9ae,_0x3d2bd4)=>(_0xd6d015,_0x4dce04)=>_0x3d2bd4(_0xd6d015,_0x4dce04,_0xdfd9ae);const Oi=_0x29ecf9(0x455),Ni='Univer';let He=class extends a[_0x29ecf9(0x314)]{constructor(_0x2c6bb8,_0x15ef8e){var _0x44db93=_0x29ecf9;super(),this[_0x44db93(0x32d)]=_0x2c6bb8,this['_configService']=_0x15ef8e,this[_0x44db93(0x30e)]();}[_0x29ecf9(0x30e)](){var _0x5024ba=_0x29ecf9;this[_0x5024ba(0x44c)](this[_0x5024ba(0x32d)][_0x5024ba(0x2a2)]['subscribe'](()=>{var _0x364c65=_0x5024ba,_0xa36e05;const _0x1087da=this['_univerInstanceService']['getFocusedUnit']();let _0x14392d=(_0xa36e05=this['_configService'][_0x364c65(0x320)](Oi))!=null?_0xa36e05:Ni;_0x1087da instanceof a[_0x364c65(0x2a7)]&&(_0x14392d=_0x1087da[_0x364c65(0x3d3)]),document[_0x364c65(0x2f0)]=_0x14392d;}));}};He=yi([Je(0x0,a[_0x29ecf9(0x322)]),Je(0x1,a[_0x29ecf9(0x1de)])],He);var Di=Object[_0x29ecf9(0x161)],Ui=(_0x38c45f,_0x70972d,_0x4e6188,_0x35e1ab)=>{var _0x338b5a=_0x29ecf9;for(var _0x3f2674=_0x35e1ab>0x1?void 0x0:_0x35e1ab?Di(_0x70972d,_0x4e6188):_0x70972d,_0x2d17b5=_0x38c45f[_0x338b5a(0x439)]-0x1,_0x3dc161;_0x2d17b5>=0x0;_0x2d17b5--)(_0x3dc161=_0x38c45f[_0x2d17b5])&&(_0x3f2674=_0x3dc161(_0x3f2674)||_0x3f2674);return _0x3f2674;},we=(_0x7dee8b,_0x2bc07b)=>(_0x1910eb,_0x55789b)=>_0x2bc07b(_0x1910eb,_0x55789b,_0x7dee8b);let Oe=class{constructor(_0x388cca,_0x97f662,_0x13918c){var _0x102e25=_0x29ecf9;this[_0x102e25(0x486)]=_0x388cca,this[_0x102e25(0x497)]=_0x97f662,this[_0x102e25(0x40f)]=_0x13918c,this[_0x102e25(0x3b3)]();}[_0x29ecf9(0x3b3)](){var _0x40efa1=_0x29ecf9;this['_httpService'][_0x40efa1(0x37a)]({'priority':0x1,'interceptor':(_0x4b133f,_0x1fced6)=>_0x1fced6(_0x4b133f)[_0x40efa1(0x260)](j[_0x40efa1(0x2bd)](async _0x1400a3=>{var _0x5bf52=_0x40efa1;const _0x24ffff=_0x1400a3;if(_0x24ffff[_0x5bf52(0x33b)]===0x191){if(typeof window>'u')throw new Error(_0x5bf52(0x36d));if(window[_0x5bf52(0x484)](this[_0x5bf52(0x40f)]['t']('auth.needGotoLoginAlert'))){const _0x2fb005=window[_0x5bf52(0x2f7)](window[_0x5bf52(0x35d)][_0x5bf52(0x474)]);window['location']['href']=this[_0x5bf52(0x411)]()+'?url='+_0x2fb005;}}return _0x24ffff;}))});}[_0x29ecf9(0x411)](){var _0x1ba072=_0x29ecf9,_0x9d26cc,_0x201c47;const _0x5453b4=this['_configService'][_0x1ba072(0x320)](Et),_0x3aadaa=this[_0x1ba072(0x486)][_0x1ba072(0x320)](Y);return(_0x201c47=(_0x9d26cc=_0x3aadaa==null?void 0x0:_0x3aadaa['loginUrlKey'])!=null?_0x9d26cc:_0x5453b4)!=null?_0x201c47:Yt;}};Oe=Ui([we(0x0,a[_0x29ecf9(0x1de)]),we(0x1,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)])),we(0x2,a[_0x29ecf9(0x36f)](a['LocaleService']))],Oe);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x1e2043,_0x219a3f,_0x2d7363,_0x1cbb0b)=>{for(var _0x262709=_0x1cbb0b>0x1?void 0x0:_0x1cbb0b?Ai(_0x219a3f,_0x2d7363):_0x219a3f,_0x13d1cf=_0x1e2043['length']-0x1,_0x3bfeca;_0x13d1cf>=0x0;_0x13d1cf--)(_0x3bfeca=_0x1e2043[_0x13d1cf])&&(_0x262709=_0x3bfeca(_0x262709)||_0x262709);return _0x262709;},Xe=(_0xa3c785,_0x35a20c)=>(_0x58a0f2,_0xe324a0)=>_0x35a20c(_0x58a0f2,_0xe324a0,_0xa3c785);const Ge=_0x29ecf9(0x416),wi=_0x29ecf9(0x14f);exports[_0x29ecf9(0x150)]=class extends a['Disposable']{constructor(_0x220d2f,_0x4b7e55){var _0x56ba54=_0x29ecf9;super(),this[_0x56ba54(0x47a)]=_0x220d2f,this[_0x56ba54(0x486)]=_0x4b7e55,this[_0x56ba54(0x33e)]();}[_0x29ecf9(0x33e)](){var _0x4fa3d7=_0x29ecf9;const _0x5cf4b9=this;this[_0x4fa3d7(0x44c)](this[_0x4fa3d7(0x47a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x1b816a){var _0x398c54=_0x4fa3d7,_0xc3ec1e;if(_0x1b816a[_0x398c54(0x230)]===_0x398c54(0x323)&&((_0xc3ec1e=_0x1b816a['requestParams'])!=null&&_0xc3ec1e[_0x398c54(0x214)])){const {objectID:_0x59f792,objectType:_0x3eeb28}=_0x1b816a[_0x398c54(0x141)][_0x398c54(0x214)]||{};if(!_0x59f792||_0x3eeb28===void 0x0)return!0x1;const _0x18853c=_0x5cf4b9[_0x398c54(0x295)]()+'/'+_0x3eeb28+_0x398c54(0x370)+_0x59f792+'/allowed';if(_0x1b816a['url']===_0x18853c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3c7529){var _0x130f3e=_0x4fa3d7,_0x1cab08;return(_0x1cab08=_0x3c7529[_0x130f3e(0x141)])==null?void 0x0:_0x1cab08[_0x130f3e(0x214)];},'mergeParamsToRequest'(_0x1026b4,_0x15c800){var _0x448427=_0x4fa3d7;const _0x411338=_0x5cf4b9['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x582e1f=_0x1026b4[_0x448427(0x4c5)]((_0x80c34b,_0x20829d)=>{var _0x5561e7=_0x448427;const {unitID:_0x2eac54,objectID:_0x304ecc,objectType:_0x4ca1b1,actions:_0x2f8cea}=_0x20829d;return _0x80c34b[_0x2eac54]||(_0x80c34b[_0x2eac54]={}),_0x80c34b[_0x2eac54][_0x304ecc]||(_0x80c34b[_0x2eac54][_0x304ecc]={'objectID':_0x304ecc,'objectType':_0x4ca1b1,'actions':[]}),_0x80c34b[_0x2eac54][_0x304ecc]['actions'][_0x5561e7(0x363)](..._0x2f8cea),_0x80c34b;},{}),_0x4f01cb=[];for(const _0x25c19a in _0x582e1f)for(const _0x29758d in _0x582e1f[_0x25c19a]){const {actions:_0x2421d8,objectType:_0x5314fc}=_0x582e1f[_0x25c19a][_0x29758d],_0x51e63c=[...new Set(_0x2421d8)];_0x4f01cb['push']({'unitID':_0x25c19a,'objectID':_0x29758d,'objectType':_0x5314fc,'actions':_0x51e63c});}return new q[(_0x448427(0x2e2))](_0x448427(0x323),_0x411338,{'headers':_0x15c800[_0x448427(0x19e)],'withCredentials':_0x15c800[_0x448427(0x32a)],'responseType':_0x15c800[_0x448427(0x44e)],'body':{'requests':_0x4f01cb}});}},{'distributeResult'(_0x4c2807,_0x167798){const {objectActions:_0x517357}=_0x4c2807;return _0x167798['map'](_0x4fa91b=>{var _0x2d1bd8=_0x5bf0;const {unitID:_0x345ddb,objectID:_0x4c3186,actions:_0x18a0f8}=_0x4fa91b,_0xf9ec02=_0x517357[_0x2d1bd8(0x480)](_0x1507c2=>_0x1507c2['unitID']===_0x345ddb&&_0x1507c2[_0x2d1bd8(0x1ab)]===_0x4c3186),_0x1276f4=_0x18a0f8[_0x2d1bd8(0x27b)](_0x12e068=>_0xf9ec02==null?void 0x0:_0xf9ec02[_0x2d1bd8(0x4ac)][_0x2d1bd8(0x480)](_0x599de4=>_0x599de4[_0x2d1bd8(0x3a7)]===_0x12e068))[_0x2d1bd8(0x475)](_0x31f43d=>!!_0x31f43d);return{'config':_0x4fa91b,'result':{'actions':_0x1276f4,'error':_0x4c2807['error']}};});}})}));}[_0x29ecf9(0x295)](){var _0x2a7b9b=_0x29ecf9,_0xae15,_0x341090;const _0x391bbc=this[_0x2a7b9b(0x486)][_0x2a7b9b(0x320)](Ge),_0x27d987=this[_0x2a7b9b(0x486)]['getConfig'](Y);return(_0x341090=(_0xae15=_0x27d987==null?void 0x0:_0x27d987[_0x2a7b9b(0x2d6)])!=null?_0xae15:_0x391bbc)!=null?_0x341090:wi;}async[_0x29ecf9(0x4b1)](_0x4ecfcb){var _0x31359e=_0x29ecf9;const _0x413eed=this[_0x31359e(0x295)]()+'/'+_0x4ecfcb[_0x31359e(0x263)]+_0x31359e(0x39e);return(await this[_0x31359e(0x47a)][_0x31359e(0x2ca)](_0x413eed,{'body':_0x4ecfcb}))[_0x31359e(0x214)][_0x31359e(0x1ab)]||'';}async[_0x29ecf9(0x457)](_0x2819ba){var _0x277935=_0x29ecf9;const _0x310e97=this[_0x277935(0x295)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x310e97,{'body':_0x2819ba}))[_0x277935(0x214)][_0x277935(0x1a6)];}async[_0x29ecf9(0x3c5)](_0x6b6a1a){var _0x4139d1=_0x29ecf9,_0x52e75b,_0x444eca;const _0x5f2cc9=this[_0x4139d1(0x295)]()+'/'+_0x6b6a1a[_0x4139d1(0x263)]+_0x4139d1(0x370)+_0x6b6a1a[_0x4139d1(0x1ab)],_0x128fe=await this['_HTTPService'][_0x4139d1(0x48a)](_0x5f2cc9,{'body':_0x6b6a1a});if(((_0x444eca=(_0x52e75b=_0x128fe==null?void 0x0:_0x128fe[_0x4139d1(0x214)])==null?void 0x0:_0x52e75b[_0x4139d1(0x3b2)])==null?void 0x0:_0x444eca['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x29ecf9(0x2de)](_0x160dec){var _0x2f3cb4=_0x29ecf9;const _0x264462=this[_0x2f3cb4(0x295)]()+'/'+_0x160dec[_0x2f3cb4(0x263)]+_0x2f3cb4(0x370)+_0x160dec[_0x2f3cb4(0x1ab)]+_0x2f3cb4(0x1b7);return(await this[_0x2f3cb4(0x47a)][_0x2f3cb4(0x2ca)](_0x264462,{'body':_0x160dec}))['body']['actions'];}async[_0x29ecf9(0x3fd)](_0x42a625){var _0x46b5e0=_0x29ecf9;const _0x5011c=this['_getAPIPrefixPath']()+_0x46b5e0(0x2b3);return(await this[_0x46b5e0(0x47a)][_0x46b5e0(0x2ca)](_0x5011c,{'body':{'requests':_0x42a625}}))['body'][_0x46b5e0(0x460)];}async[_0x29ecf9(0x3ec)](_0x2418a6){var _0x54ca39=_0x29ecf9;const _0x36705d=this['_getAPIPrefixPath']()+'/'+_0x2418a6['objectType']+_0x54ca39(0x291),_0x14b497=await this[_0x54ca39(0x47a)][_0x54ca39(0x2ca)](_0x36705d,{'body':_0x2418a6});return{'roles':_0x14b497['body']['roles'],'actions':_0x14b497['body']['actions']};}async[_0x29ecf9(0x30c)](_0x19323e){var _0x21754b=_0x29ecf9;const _0x57ae4b=this[_0x21754b(0x295)]()+'/collaborator';await this[_0x21754b(0x47a)]['delete'](_0x57ae4b,{'params':{'collaboratorID':_0x19323e[_0x21754b(0x29e)],'objectID':_0x19323e[_0x21754b(0x1ab)],'unitID':_0x19323e[_0x21754b(0x465)]}});}async[_0x29ecf9(0x329)](_0x226854){var _0x399b55=_0x29ecf9;const _0x1a3158=this[_0x399b55(0x295)]()+_0x399b55(0x261);await this[_0x399b55(0x47a)][_0x399b55(0x262)](_0x1a3158,{'body':_0x226854});}async[_0x29ecf9(0x494)](_0x176e50){var _0xa9ed13=_0x29ecf9;const _0x5b3ccf=this[_0xa9ed13(0x295)]()+_0xa9ed13(0x261);await this[_0xa9ed13(0x47a)]['post'](_0x5b3ccf,{'body':_0x176e50});}async[_0x29ecf9(0x4ca)](_0x5e8723){var _0x4893ba=_0x29ecf9;const _0xf757e2=this[_0x4893ba(0x295)]()+_0x4893ba(0x261);return(await this['_HTTPService'][_0x4893ba(0x26e)](_0xf757e2,{'params':{'objectID':_0x5e8723[_0x4893ba(0x1ab)],'unitID':_0x5e8723[_0x4893ba(0x465)]}}))[_0x4893ba(0x214)][_0x4893ba(0x1d2)];}async[_0x29ecf9(0x210)](_0x600101){var _0x3e9f58=_0x29ecf9;const _0x4de984=this[_0x3e9f58(0x295)]()+_0x3e9f58(0x261);await this[_0x3e9f58(0x47a)]['put'](_0x4de984,{'body':_0x600101});}},exports[_0x29ecf9(0x150)]=Pi([Xe(0x0,a[_0x29ecf9(0x36f)](q['HTTPService'])),Xe(0x1,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x1de)]))],exports[_0x29ecf9(0x150)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x124b4b){var _0x1ef70a=_0x29ecf9;return _0x124b4b&&_0x124b4b[_0x1ef70a(0x252)]&&Object['prototype'][_0x1ef70a(0x287)][_0x1ef70a(0x38f)](_0x124b4b,_0x1ef70a(0x49f))?_0x124b4b[_0x1ef70a(0x49f)]:_0x124b4b;}var fe={'exports':{}};function Li(_0x25e8c2){var _0x4e85e8=_0x29ecf9;throw new Error(_0x4e85e8(0x3ee)+_0x25e8c2+_0x4e85e8(0x472));}var pe={'exports':{}},Mi=pe[_0x29ecf9(0x32f)],Ze;function ee(){var _0x308f6e=_0x29ecf9;return Ze||(Ze=0x1,function(_0x232d15,_0x550934){(function(_0x2dd449,_0x1ca913){var _0xf4cc3e=_0x5bf0;_0x232d15[_0xf4cc3e(0x32f)]=_0x1ca913();}(Mi,function(){var _0x5a1e52=_0x5a1e52||function(_0x4c26c6,_0x508cb0){var _0xd4a3fb=_0x5bf0,_0x2a2180;if(typeof window<'u'&&window[_0xd4a3fb(0x31b)]&&(_0x2a2180=window[_0xd4a3fb(0x31b)]),typeof self<'u'&&self['crypto']&&(_0x2a2180=self[_0xd4a3fb(0x31b)]),typeof globalThis<'u'&&globalThis[_0xd4a3fb(0x31b)]&&(_0x2a2180=globalThis[_0xd4a3fb(0x31b)]),!_0x2a2180&&typeof window<'u'&&window['msCrypto']&&(_0x2a2180=window[_0xd4a3fb(0x440)]),!_0x2a2180&&typeof Le<'u'&&Le[_0xd4a3fb(0x31b)]&&(_0x2a2180=Le[_0xd4a3fb(0x31b)]),!_0x2a2180&&typeof Li==_0xd4a3fb(0x4c4))try{_0x2a2180=require('crypto');}catch{}var _0x4fca22=function(){var _0x2d1341=_0xd4a3fb;if(_0x2a2180){if(typeof _0x2a2180[_0x2d1341(0x2da)]=='function')try{return _0x2a2180[_0x2d1341(0x2da)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a2180[_0x2d1341(0x242)]=='function')try{return _0x2a2180[_0x2d1341(0x242)](0x4)[_0x2d1341(0x165)]();}catch{}}throw new Error(_0x2d1341(0x24a));},_0x6ac27d=Object[_0xd4a3fb(0x4b1)]||(function(){function _0x669a87(){}return function(_0x18234b){var _0x56656e=_0x5bf0,_0x4e33f0;return _0x669a87[_0x56656e(0x27a)]=_0x18234b,_0x4e33f0=new _0x669a87(),_0x669a87[_0x56656e(0x27a)]=null,_0x4e33f0;};}()),_0x252bee={},_0x2a5a1d=_0x252bee[_0xd4a3fb(0x478)]={},_0x381f06=_0x2a5a1d[_0xd4a3fb(0x368)]=(function(){return{'extend':function(_0x12117e){var _0xa81cc4=_0x5bf0,_0x4d0afa=_0x6ac27d(this);return _0x12117e&&_0x4d0afa[_0xa81cc4(0x3a0)](_0x12117e),(!_0x4d0afa[_0xa81cc4(0x287)](_0xa81cc4(0x3b3))||this[_0xa81cc4(0x3b3)]===_0x4d0afa[_0xa81cc4(0x3b3)])&&(_0x4d0afa[_0xa81cc4(0x3b3)]=function(){var _0x28d4b4=_0xa81cc4;_0x4d0afa[_0x28d4b4(0x1b9)][_0x28d4b4(0x3b3)][_0x28d4b4(0x1d7)](this,arguments);}),_0x4d0afa[_0xa81cc4(0x3b3)][_0xa81cc4(0x27a)]=_0x4d0afa,_0x4d0afa[_0xa81cc4(0x1b9)]=this,_0x4d0afa;},'create':function(){var _0xe19480=_0x5bf0,_0xc338bd=this['extend']();return _0xc338bd[_0xe19480(0x3b3)][_0xe19480(0x1d7)](_0xc338bd,arguments),_0xc338bd;},'init':function(){},'mixIn':function(_0x19b9a8){var _0x44a73d=_0x5bf0;for(var _0x478471 in _0x19b9a8)_0x19b9a8[_0x44a73d(0x287)](_0x478471)&&(this[_0x478471]=_0x19b9a8[_0x478471]);_0x19b9a8['hasOwnProperty'](_0x44a73d(0x20b))&&(this[_0x44a73d(0x20b)]=_0x19b9a8[_0x44a73d(0x20b)]);},'clone':function(){var _0x1dd4a3=_0x5bf0;return this[_0x1dd4a3(0x3b3)][_0x1dd4a3(0x27a)][_0x1dd4a3(0x4b3)](this);}};}()),_0x5939f4=_0x2a5a1d['WordArray']=_0x381f06[_0xd4a3fb(0x4b3)]({'init':function(_0x3a82b4,_0x2d0048){var _0x14d451=_0xd4a3fb;_0x3a82b4=this['words']=_0x3a82b4||[],_0x2d0048!=_0x508cb0?this[_0x14d451(0x279)]=_0x2d0048:this[_0x14d451(0x279)]=_0x3a82b4[_0x14d451(0x439)]*0x4;},'toString':function(_0xac4d7b){return(_0xac4d7b||_0x51fb72)['stringify'](this);},'concat':function(_0x451ff8){var _0x52f97e=_0xd4a3fb,_0x3540f0=this[_0x52f97e(0x441)],_0x1c38b4=_0x451ff8[_0x52f97e(0x441)],_0xa46f01=this['sigBytes'],_0x3cd919=_0x451ff8['sigBytes'];if(this[_0x52f97e(0x221)](),_0xa46f01%0x4)for(var _0x218456=0x0;_0x218456<_0x3cd919;_0x218456++){var _0x23545a=_0x1c38b4[_0x218456>>>0x2]>>>0x18-_0x218456%0x4*0x8&0xff;_0x3540f0[_0xa46f01+_0x218456>>>0x2]|=_0x23545a<<0x18-(_0xa46f01+_0x218456)%0x4*0x8;}else{for(var _0x426a02=0x0;_0x426a02<_0x3cd919;_0x426a02+=0x4)_0x3540f0[_0xa46f01+_0x426a02>>>0x2]=_0x1c38b4[_0x426a02>>>0x2];}return this['sigBytes']+=_0x3cd919,this;},'clamp':function(){var _0x16534f=_0xd4a3fb,_0x3b594a=this['words'],_0x42afc8=this[_0x16534f(0x279)];_0x3b594a[_0x42afc8>>>0x2]&=0xffffffff<<0x20-_0x42afc8%0x4*0x8,_0x3b594a[_0x16534f(0x439)]=_0x4c26c6[_0x16534f(0x3d4)](_0x42afc8/0x4);},'clone':function(){var _0x4cb874=_0xd4a3fb,_0x4ee777=_0x381f06[_0x4cb874(0x2ae)][_0x4cb874(0x38f)](this);return _0x4ee777[_0x4cb874(0x441)]=this[_0x4cb874(0x441)][_0x4cb874(0x244)](0x0),_0x4ee777;},'random':function(_0x4deb52){var _0x49eb68=_0xd4a3fb;for(var _0x386cf6=[],_0x41142f=0x0;_0x41142f<_0x4deb52;_0x41142f+=0x4)_0x386cf6[_0x49eb68(0x363)](_0x4fca22());return new _0x5939f4[(_0x49eb68(0x3b3))](_0x386cf6,_0x4deb52);}}),_0x45fc6c=_0x252bee[_0xd4a3fb(0x4cd)]={},_0x51fb72=_0x45fc6c['Hex']={'stringify':function(_0x3e350e){var _0xef186e=_0xd4a3fb;for(var _0xbf730b=_0x3e350e[_0xef186e(0x441)],_0x20c6c0=_0x3e350e[_0xef186e(0x279)],_0x510736=[],_0x243073=0x0;_0x243073<_0x20c6c0;_0x243073++){var _0xca12db=_0xbf730b[_0x243073>>>0x2]>>>0x18-_0x243073%0x4*0x8&0xff;_0x510736[_0xef186e(0x363)]((_0xca12db>>>0x4)[_0xef186e(0x20b)](0x10)),_0x510736['push']((_0xca12db&0xf)['toString'](0x10));}return _0x510736['join']('');},'parse':function(_0x15c6a9){var _0x39e178=_0xd4a3fb;for(var _0x50616c=_0x15c6a9[_0x39e178(0x439)],_0xa3ed44=[],_0x28dfb4=0x0;_0x28dfb4<_0x50616c;_0x28dfb4+=0x2)_0xa3ed44[_0x28dfb4>>>0x3]|=parseInt(_0x15c6a9[_0x39e178(0x25c)](_0x28dfb4,0x2),0x10)<<0x18-_0x28dfb4%0x8*0x4;return new _0x5939f4['init'](_0xa3ed44,_0x50616c/0x2);}},_0x2814d6=_0x45fc6c[_0xd4a3fb(0x178)]={'stringify':function(_0x11a8d9){var _0x32f366=_0xd4a3fb;for(var _0x155ce1=_0x11a8d9[_0x32f366(0x441)],_0x322603=_0x11a8d9['sigBytes'],_0x3df8e6=[],_0x2b130e=0x0;_0x2b130e<_0x322603;_0x2b130e++){var _0x22f135=_0x155ce1[_0x2b130e>>>0x2]>>>0x18-_0x2b130e%0x4*0x8&0xff;_0x3df8e6['push'](String['fromCharCode'](_0x22f135));}return _0x3df8e6[_0x32f366(0x3a6)]('');},'parse':function(_0x31dd32){var _0x54dfbb=_0xd4a3fb;for(var _0x15526c=_0x31dd32['length'],_0xdea63c=[],_0x36b54b=0x0;_0x36b54b<_0x15526c;_0x36b54b++)_0xdea63c[_0x36b54b>>>0x2]|=(_0x31dd32[_0x54dfbb(0x384)](_0x36b54b)&0xff)<<0x18-_0x36b54b%0x4*0x8;return new _0x5939f4[(_0x54dfbb(0x3b3))](_0xdea63c,_0x15526c);}},_0x53c807=_0x45fc6c[_0xd4a3fb(0x403)]={'stringify':function(_0x3525df){var _0x10f662=_0xd4a3fb;try{return decodeURIComponent(escape(_0x2814d6['stringify'](_0x3525df)));}catch{throw new Error(_0x10f662(0x267));}},'parse':function(_0x2174a0){var _0x4c9ac9=_0xd4a3fb;return _0x2814d6[_0x4c9ac9(0x365)](unescape(encodeURIComponent(_0x2174a0)));}},_0x29c0eb=_0x2a5a1d[_0xd4a3fb(0x26b)]=_0x381f06[_0xd4a3fb(0x4b3)]({'reset':function(){var _0x17ee96=_0xd4a3fb;this[_0x17ee96(0x393)]=new _0x5939f4[(_0x17ee96(0x3b3))](),this[_0x17ee96(0x246)]=0x0;},'_append':function(_0x4fded1){var _0x278540=_0xd4a3fb;typeof _0x4fded1==_0x278540(0x2c5)&&(_0x4fded1=_0x53c807[_0x278540(0x365)](_0x4fded1)),this[_0x278540(0x393)][_0x278540(0x47c)](_0x4fded1),this[_0x278540(0x246)]+=_0x4fded1['sigBytes'];},'_process':function(_0x1b8110){var _0x21416e=_0xd4a3fb,_0xbb9f82,_0x3296ec=this['_data'],_0x1abf78=_0x3296ec[_0x21416e(0x441)],_0x1db982=_0x3296ec[_0x21416e(0x279)],_0x4b9c9b=this[_0x21416e(0x39b)],_0x293380=_0x4b9c9b*0x4,_0x5703b2=_0x1db982/_0x293380;_0x1b8110?_0x5703b2=_0x4c26c6['ceil'](_0x5703b2):_0x5703b2=_0x4c26c6[_0x21416e(0x4c8)]((_0x5703b2|0x0)-this[_0x21416e(0x425)],0x0);var _0x1ea5a5=_0x5703b2*_0x4b9c9b,_0x2a2f19=_0x4c26c6['min'](_0x1ea5a5*0x4,_0x1db982);if(_0x1ea5a5){for(var _0x2abb28=0x0;_0x2abb28<_0x1ea5a5;_0x2abb28+=_0x4b9c9b)this[_0x21416e(0x47d)](_0x1abf78,_0x2abb28);_0xbb9f82=_0x1abf78['splice'](0x0,_0x1ea5a5),_0x3296ec[_0x21416e(0x279)]-=_0x2a2f19;}return new _0x5939f4['init'](_0xbb9f82,_0x2a2f19);},'clone':function(){var _0x290d9e=_0xd4a3fb,_0x5b3f62=_0x381f06[_0x290d9e(0x2ae)]['call'](this);return _0x5b3f62[_0x290d9e(0x393)]=this[_0x290d9e(0x393)][_0x290d9e(0x2ae)](),_0x5b3f62;},'_minBufferSize':0x0});_0x2a5a1d[_0xd4a3fb(0x2e3)]=_0x29c0eb['extend']({'cfg':_0x381f06[_0xd4a3fb(0x4b3)](),'init':function(_0x82d986){var _0x3cced6=_0xd4a3fb;this[_0x3cced6(0x28d)]=this[_0x3cced6(0x28d)][_0x3cced6(0x4b3)](_0x82d986),this[_0x3cced6(0x1fe)]();},'reset':function(){var _0x5a6b0d=_0xd4a3fb;_0x29c0eb[_0x5a6b0d(0x1fe)][_0x5a6b0d(0x38f)](this),this[_0x5a6b0d(0x3ed)]();},'update':function(_0x448ef1){var _0x33602e=_0xd4a3fb;return this[_0x33602e(0x22f)](_0x448ef1),this[_0x33602e(0x1b4)](),this;},'finalize':function(_0x41f2d9){var _0x32ff14=_0xd4a3fb;_0x41f2d9&&this[_0x32ff14(0x22f)](_0x41f2d9);var _0x22eee9=this[_0x32ff14(0x345)]();return _0x22eee9;},'blockSize':0x10,'_createHelper':function(_0x492a72){return function(_0x3f2289,_0x3430aa){return new _0x492a72['init'](_0x3430aa)['finalize'](_0x3f2289);};},'_createHmacHelper':function(_0x495edb){return function(_0x38567f,_0x16f0f9){var _0x39634f=_0x5bf0;return new _0x439461['HMAC'][(_0x39634f(0x3b3))](_0x495edb,_0x16f0f9)[_0x39634f(0x3b5)](_0x38567f);};}});var _0x439461=_0x252bee['algo']={};return _0x252bee;}(Math);return _0x5a1e52;}));}(pe)),pe[_0x308f6e(0x32f)];}var ge={'exports':{}},xi=ge[_0x29ecf9(0x32f)],Qe;function Ut(){var _0x536f7e=_0x29ecf9;return Qe||(Qe=0x1,function(_0x219614,_0x57de7c){(function(_0x36330e,_0x267d0a){var _0x292593=_0x5bf0;_0x219614[_0x292593(0x32f)]=_0x267d0a(ee());}(xi,function(_0x2017d4){var _0x36996f=_0x5bf0;return(function(){var _0x5bb865=_0x5bf0,_0x19c359=_0x2017d4,_0x214d43=_0x19c359[_0x5bb865(0x478)],_0xfc055=_0x214d43['WordArray'],_0x18206b=_0x19c359[_0x5bb865(0x4cd)];_0x18206b[_0x5bb865(0x23d)]={'stringify':function(_0x4cc4d1){var _0x410e7b=_0x5bb865,_0x3123f3=_0x4cc4d1[_0x410e7b(0x441)],_0x25d1f1=_0x4cc4d1['sigBytes'],_0x15e967=this[_0x410e7b(0x3dd)];_0x4cc4d1[_0x410e7b(0x221)]();for(var _0x487065=[],_0x19eec2=0x0;_0x19eec2<_0x25d1f1;_0x19eec2+=0x3)for(var _0xee5dc2=_0x3123f3[_0x19eec2>>>0x2]>>>0x18-_0x19eec2%0x4*0x8&0xff,_0x179a59=_0x3123f3[_0x19eec2+0x1>>>0x2]>>>0x18-(_0x19eec2+0x1)%0x4*0x8&0xff,_0x3a8e1d=_0x3123f3[_0x19eec2+0x2>>>0x2]>>>0x18-(_0x19eec2+0x2)%0x4*0x8&0xff,_0x4138cc=_0xee5dc2<<0x10|_0x179a59<<0x8|_0x3a8e1d,_0x3683bd=0x0;_0x3683bd<0x4&&_0x19eec2+_0x3683bd*0.75<_0x25d1f1;_0x3683bd++)_0x487065['push'](_0x15e967[_0x410e7b(0x376)](_0x4138cc>>>0x6*(0x3-_0x3683bd)&0x3f));var _0x456faa=_0x15e967[_0x410e7b(0x376)](0x40);if(_0x456faa){for(;_0x487065['length']%0x4;)_0x487065['push'](_0x456faa);}return _0x487065['join']('');},'parse':function(_0x42611c){var _0x44bf44=_0x5bb865,_0x4ada3e=_0x42611c['length'],_0x5b43cb=this[_0x44bf44(0x3dd)],_0x40754e=this[_0x44bf44(0x20c)];if(!_0x40754e){_0x40754e=this['_reverseMap']=[];for(var _0x288c43=0x0;_0x288c43<_0x5b43cb[_0x44bf44(0x439)];_0x288c43++)_0x40754e[_0x5b43cb['charCodeAt'](_0x288c43)]=_0x288c43;}var _0x52ade3=_0x5b43cb['charAt'](0x40);if(_0x52ade3){var _0x4a0219=_0x42611c[_0x44bf44(0x333)](_0x52ade3);_0x4a0219!==-0x1&&(_0x4ada3e=_0x4a0219);}return _0x15951d(_0x42611c,_0x4ada3e,_0x40754e);},'_map':_0x5bb865(0x149)};function _0x15951d(_0x45b1f7,_0x240286,_0x495548){var _0x36ca9f=_0x5bb865;for(var _0x327401=[],_0x43c142=0x0,_0x399958=0x0;_0x399958<_0x240286;_0x399958++)if(_0x399958%0x4){var _0x2986ff=_0x495548[_0x45b1f7['charCodeAt'](_0x399958-0x1)]<<_0x399958%0x4*0x2,_0x5b3088=_0x495548[_0x45b1f7[_0x36ca9f(0x384)](_0x399958)]>>>0x6-_0x399958%0x4*0x2,_0x2e205c=_0x2986ff|_0x5b3088;_0x327401[_0x43c142>>>0x2]|=_0x2e205c<<0x18-_0x43c142%0x4*0x8,_0x43c142++;}return _0xfc055['create'](_0x327401,_0x43c142);}}()),_0x2017d4[_0x36996f(0x4cd)]['Base64'];}));}(ge)),ge[_0x536f7e(0x32f)];}var me={'exports':{}},ki=me[_0x29ecf9(0x32f)],et;function Hi(){var _0x47d343=_0x29ecf9;return et||(et=0x1,function(_0x436ec8,_0x5ad477){(function(_0x564090,_0x1772a4){_0x436ec8['exports']=_0x1772a4(ee());}(ki,function(_0x4cb001){var _0x3df030=_0x5bf0;return function(_0xf2bb63){var _0x38b0ab=_0x5bf0,_0x4c55da=_0x4cb001,_0x5bd791=_0x4c55da[_0x38b0ab(0x478)],_0x451640=_0x5bd791[_0x38b0ab(0x408)],_0x93e6de=_0x5bd791['Hasher'],_0x5b94a6=_0x4c55da[_0x38b0ab(0x1f2)],_0x3f7ca8=[];(function(){var _0x39326c=_0x38b0ab;for(var _0xa9c9f5=0x0;_0xa9c9f5<0x40;_0xa9c9f5++)_0x3f7ca8[_0xa9c9f5]=_0xf2bb63['abs'](_0xf2bb63[_0x39326c(0x22a)](_0xa9c9f5+0x1))*0x100000000|0x0;}());var _0x4753cd=_0x5b94a6[_0x38b0ab(0x283)]=_0x93e6de['extend']({'_doReset':function(){var _0x12a5e4=_0x38b0ab;this[_0x12a5e4(0x17f)]=new _0x451640[(_0x12a5e4(0x3b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2cb3b3,_0x2b43ad){var _0x44f6be=_0x38b0ab;for(var _0x5828cb=0x0;_0x5828cb<0x10;_0x5828cb++){var _0x8b250f=_0x2b43ad+_0x5828cb,_0x511d60=_0x2cb3b3[_0x8b250f];_0x2cb3b3[_0x8b250f]=(_0x511d60<<0x8|_0x511d60>>>0x18)&0xff00ff|(_0x511d60<<0x18|_0x511d60>>>0x8)&0xff00ff00;}var _0x4cc912=this[_0x44f6be(0x17f)]['words'],_0x597750=_0x2cb3b3[_0x2b43ad+0x0],_0x36ac72=_0x2cb3b3[_0x2b43ad+0x1],_0x2c77dc=_0x2cb3b3[_0x2b43ad+0x2],_0x12fa76=_0x2cb3b3[_0x2b43ad+0x3],_0x4e31f0=_0x2cb3b3[_0x2b43ad+0x4],_0x1e06e6=_0x2cb3b3[_0x2b43ad+0x5],_0x5ce14d=_0x2cb3b3[_0x2b43ad+0x6],_0x5dbd06=_0x2cb3b3[_0x2b43ad+0x7],_0x37c09a=_0x2cb3b3[_0x2b43ad+0x8],_0x1fb301=_0x2cb3b3[_0x2b43ad+0x9],_0x49eb58=_0x2cb3b3[_0x2b43ad+0xa],_0x1ed73d=_0x2cb3b3[_0x2b43ad+0xb],_0xb261db=_0x2cb3b3[_0x2b43ad+0xc],_0xece31f=_0x2cb3b3[_0x2b43ad+0xd],_0x25325b=_0x2cb3b3[_0x2b43ad+0xe],_0x14f961=_0x2cb3b3[_0x2b43ad+0xf],_0x340070=_0x4cc912[0x0],_0x51203f=_0x4cc912[0x1],_0x4bd429=_0x4cc912[0x2],_0x3639f9=_0x4cc912[0x3];_0x340070=_0x585027(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x597750,0x7,_0x3f7ca8[0x0]),_0x3639f9=_0x585027(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x36ac72,0xc,_0x3f7ca8[0x1]),_0x4bd429=_0x585027(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x2c77dc,0x11,_0x3f7ca8[0x2]),_0x51203f=_0x585027(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x12fa76,0x16,_0x3f7ca8[0x3]),_0x340070=_0x585027(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x4e31f0,0x7,_0x3f7ca8[0x4]),_0x3639f9=_0x585027(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x1e06e6,0xc,_0x3f7ca8[0x5]),_0x4bd429=_0x585027(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x5ce14d,0x11,_0x3f7ca8[0x6]),_0x51203f=_0x585027(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x5dbd06,0x16,_0x3f7ca8[0x7]),_0x340070=_0x585027(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x37c09a,0x7,_0x3f7ca8[0x8]),_0x3639f9=_0x585027(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x1fb301,0xc,_0x3f7ca8[0x9]),_0x4bd429=_0x585027(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x49eb58,0x11,_0x3f7ca8[0xa]),_0x51203f=_0x585027(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x1ed73d,0x16,_0x3f7ca8[0xb]),_0x340070=_0x585027(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0xb261db,0x7,_0x3f7ca8[0xc]),_0x3639f9=_0x585027(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0xece31f,0xc,_0x3f7ca8[0xd]),_0x4bd429=_0x585027(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x25325b,0x11,_0x3f7ca8[0xe]),_0x51203f=_0x585027(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x14f961,0x16,_0x3f7ca8[0xf]),_0x340070=_0x12a4c6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x36ac72,0x5,_0x3f7ca8[0x10]),_0x3639f9=_0x12a4c6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x5ce14d,0x9,_0x3f7ca8[0x11]),_0x4bd429=_0x12a4c6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x1ed73d,0xe,_0x3f7ca8[0x12]),_0x51203f=_0x12a4c6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x597750,0x14,_0x3f7ca8[0x13]),_0x340070=_0x12a4c6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x1e06e6,0x5,_0x3f7ca8[0x14]),_0x3639f9=_0x12a4c6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x49eb58,0x9,_0x3f7ca8[0x15]),_0x4bd429=_0x12a4c6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x14f961,0xe,_0x3f7ca8[0x16]),_0x51203f=_0x12a4c6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x4e31f0,0x14,_0x3f7ca8[0x17]),_0x340070=_0x12a4c6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x1fb301,0x5,_0x3f7ca8[0x18]),_0x3639f9=_0x12a4c6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x25325b,0x9,_0x3f7ca8[0x19]),_0x4bd429=_0x12a4c6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x12fa76,0xe,_0x3f7ca8[0x1a]),_0x51203f=_0x12a4c6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x37c09a,0x14,_0x3f7ca8[0x1b]),_0x340070=_0x12a4c6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0xece31f,0x5,_0x3f7ca8[0x1c]),_0x3639f9=_0x12a4c6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x2c77dc,0x9,_0x3f7ca8[0x1d]),_0x4bd429=_0x12a4c6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x5dbd06,0xe,_0x3f7ca8[0x1e]),_0x51203f=_0x12a4c6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0xb261db,0x14,_0x3f7ca8[0x1f]),_0x340070=_0x5cebf6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x1e06e6,0x4,_0x3f7ca8[0x20]),_0x3639f9=_0x5cebf6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x37c09a,0xb,_0x3f7ca8[0x21]),_0x4bd429=_0x5cebf6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x1ed73d,0x10,_0x3f7ca8[0x22]),_0x51203f=_0x5cebf6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x25325b,0x17,_0x3f7ca8[0x23]),_0x340070=_0x5cebf6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x36ac72,0x4,_0x3f7ca8[0x24]),_0x3639f9=_0x5cebf6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x4e31f0,0xb,_0x3f7ca8[0x25]),_0x4bd429=_0x5cebf6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x5dbd06,0x10,_0x3f7ca8[0x26]),_0x51203f=_0x5cebf6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x49eb58,0x17,_0x3f7ca8[0x27]),_0x340070=_0x5cebf6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0xece31f,0x4,_0x3f7ca8[0x28]),_0x3639f9=_0x5cebf6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x597750,0xb,_0x3f7ca8[0x29]),_0x4bd429=_0x5cebf6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x12fa76,0x10,_0x3f7ca8[0x2a]),_0x51203f=_0x5cebf6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x5ce14d,0x17,_0x3f7ca8[0x2b]),_0x340070=_0x5cebf6(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x1fb301,0x4,_0x3f7ca8[0x2c]),_0x3639f9=_0x5cebf6(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0xb261db,0xb,_0x3f7ca8[0x2d]),_0x4bd429=_0x5cebf6(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x14f961,0x10,_0x3f7ca8[0x2e]),_0x51203f=_0x5cebf6(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x2c77dc,0x17,_0x3f7ca8[0x2f]),_0x340070=_0xdf1b7(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x597750,0x6,_0x3f7ca8[0x30]),_0x3639f9=_0xdf1b7(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x5dbd06,0xa,_0x3f7ca8[0x31]),_0x4bd429=_0xdf1b7(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x25325b,0xf,_0x3f7ca8[0x32]),_0x51203f=_0xdf1b7(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x1e06e6,0x15,_0x3f7ca8[0x33]),_0x340070=_0xdf1b7(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0xb261db,0x6,_0x3f7ca8[0x34]),_0x3639f9=_0xdf1b7(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x12fa76,0xa,_0x3f7ca8[0x35]),_0x4bd429=_0xdf1b7(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x49eb58,0xf,_0x3f7ca8[0x36]),_0x51203f=_0xdf1b7(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x36ac72,0x15,_0x3f7ca8[0x37]),_0x340070=_0xdf1b7(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x37c09a,0x6,_0x3f7ca8[0x38]),_0x3639f9=_0xdf1b7(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x14f961,0xa,_0x3f7ca8[0x39]),_0x4bd429=_0xdf1b7(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x5ce14d,0xf,_0x3f7ca8[0x3a]),_0x51203f=_0xdf1b7(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0xece31f,0x15,_0x3f7ca8[0x3b]),_0x340070=_0xdf1b7(_0x340070,_0x51203f,_0x4bd429,_0x3639f9,_0x4e31f0,0x6,_0x3f7ca8[0x3c]),_0x3639f9=_0xdf1b7(_0x3639f9,_0x340070,_0x51203f,_0x4bd429,_0x1ed73d,0xa,_0x3f7ca8[0x3d]),_0x4bd429=_0xdf1b7(_0x4bd429,_0x3639f9,_0x340070,_0x51203f,_0x2c77dc,0xf,_0x3f7ca8[0x3e]),_0x51203f=_0xdf1b7(_0x51203f,_0x4bd429,_0x3639f9,_0x340070,_0x1fb301,0x15,_0x3f7ca8[0x3f]),_0x4cc912[0x0]=_0x4cc912[0x0]+_0x340070|0x0,_0x4cc912[0x1]=_0x4cc912[0x1]+_0x51203f|0x0,_0x4cc912[0x2]=_0x4cc912[0x2]+_0x4bd429|0x0,_0x4cc912[0x3]=_0x4cc912[0x3]+_0x3639f9|0x0;},'_doFinalize':function(){var _0x4523bb=_0x38b0ab,_0x14bd84=this[_0x4523bb(0x393)],_0x35746d=_0x14bd84[_0x4523bb(0x441)],_0x1de0ed=this[_0x4523bb(0x246)]*0x8,_0x35763c=_0x14bd84[_0x4523bb(0x279)]*0x8;_0x35746d[_0x35763c>>>0x5]|=0x80<<0x18-_0x35763c%0x20;var _0x1280d5=_0xf2bb63[_0x4523bb(0x299)](_0x1de0ed/0x100000000),_0x5a7904=_0x1de0ed;_0x35746d[(_0x35763c+0x40>>>0x9<<0x4)+0xf]=(_0x1280d5<<0x8|_0x1280d5>>>0x18)&0xff00ff|(_0x1280d5<<0x18|_0x1280d5>>>0x8)&0xff00ff00,_0x35746d[(_0x35763c+0x40>>>0x9<<0x4)+0xe]=(_0x5a7904<<0x8|_0x5a7904>>>0x18)&0xff00ff|(_0x5a7904<<0x18|_0x5a7904>>>0x8)&0xff00ff00,_0x14bd84['sigBytes']=(_0x35746d[_0x4523bb(0x439)]+0x1)*0x4,this['_process']();for(var _0x3a4155=this['_hash'],_0x4ed4b9=_0x3a4155[_0x4523bb(0x441)],_0x5110e7=0x0;_0x5110e7<0x4;_0x5110e7++){var _0x5b4067=_0x4ed4b9[_0x5110e7];_0x4ed4b9[_0x5110e7]=(_0x5b4067<<0x8|_0x5b4067>>>0x18)&0xff00ff|(_0x5b4067<<0x18|_0x5b4067>>>0x8)&0xff00ff00;}return _0x3a4155;},'clone':function(){var _0x3525d0=_0x38b0ab,_0x3865e0=_0x93e6de[_0x3525d0(0x2ae)]['call'](this);return _0x3865e0[_0x3525d0(0x17f)]=this[_0x3525d0(0x17f)][_0x3525d0(0x2ae)](),_0x3865e0;}});function _0x585027(_0x152247,_0x38002e,_0x1d94b0,_0x11d843,_0x2c92d3,_0xdc2a6b,_0x48ec6a){var _0x5238d7=_0x152247+(_0x38002e&_0x1d94b0|~_0x38002e&_0x11d843)+_0x2c92d3+_0x48ec6a;return(_0x5238d7<<_0xdc2a6b|_0x5238d7>>>0x20-_0xdc2a6b)+_0x38002e;}function _0x12a4c6(_0x2d883a,_0x15d98b,_0x35e357,_0x242b56,_0x5f2830,_0x26eaea,_0x5a9b47){var _0x19fe6a=_0x2d883a+(_0x15d98b&_0x242b56|_0x35e357&~_0x242b56)+_0x5f2830+_0x5a9b47;return(_0x19fe6a<<_0x26eaea|_0x19fe6a>>>0x20-_0x26eaea)+_0x15d98b;}function _0x5cebf6(_0x384d84,_0x65b30e,_0x35f651,_0x3303b5,_0x59b476,_0x214b92,_0x84368b){var _0x190672=_0x384d84+(_0x65b30e^_0x35f651^_0x3303b5)+_0x59b476+_0x84368b;return(_0x190672<<_0x214b92|_0x190672>>>0x20-_0x214b92)+_0x65b30e;}function _0xdf1b7(_0xc46ae5,_0x32b4a7,_0x52702,_0x535958,_0xec3aa5,_0xb47a5d,_0x12bd28){var _0x404614=_0xc46ae5+(_0x52702^(_0x32b4a7|~_0x535958))+_0xec3aa5+_0x12bd28;return(_0x404614<<_0xb47a5d|_0x404614>>>0x20-_0xb47a5d)+_0x32b4a7;}_0x4c55da[_0x38b0ab(0x283)]=_0x93e6de[_0x38b0ab(0x28e)](_0x4753cd),_0x4c55da[_0x38b0ab(0x16d)]=_0x93e6de['_createHmacHelper'](_0x4753cd);}(Math),_0x4cb001[_0x3df030(0x283)];}));}(me)),me[_0x47d343(0x32f)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x29ecf9(0x32f)],tt;function $i(){var _0x41f4d7=_0x29ecf9;return tt||(tt=0x1,function(_0x114a52,_0x647574){(function(_0x555ac6,_0x8151e6){var _0x26a4ff=_0x5bf0;_0x114a52[_0x26a4ff(0x32f)]=_0x8151e6(ee());}(ji,function(_0x36c405){var _0x56ab19=_0x5bf0;return(function(){var _0x4d3f16=_0x5bf0,_0x5040c9=_0x36c405,_0x2e05ec=_0x5040c9[_0x4d3f16(0x478)],_0xfbcae1=_0x2e05ec[_0x4d3f16(0x408)],_0x4acc59=_0x2e05ec[_0x4d3f16(0x2e3)],_0x172080=_0x5040c9[_0x4d3f16(0x1f2)],_0x34e9b0=[],_0x2e6e44=_0x172080[_0x4d3f16(0x1aa)]=_0x4acc59['extend']({'_doReset':function(){this['_hash']=new _0xfbcae1['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3b51a,_0x2b90b6){var _0x511370=_0x4d3f16;for(var _0x5c9646=this[_0x511370(0x17f)][_0x511370(0x441)],_0x5672be=_0x5c9646[0x0],_0x36d61c=_0x5c9646[0x1],_0x52e7e6=_0x5c9646[0x2],_0x2e6e93=_0x5c9646[0x3],_0x5dc338=_0x5c9646[0x4],_0x4161ef=0x0;_0x4161ef<0x50;_0x4161ef++){if(_0x4161ef<0x10)_0x34e9b0[_0x4161ef]=_0x3b51a[_0x2b90b6+_0x4161ef]|0x0;else{var _0x18cc79=_0x34e9b0[_0x4161ef-0x3]^_0x34e9b0[_0x4161ef-0x8]^_0x34e9b0[_0x4161ef-0xe]^_0x34e9b0[_0x4161ef-0x10];_0x34e9b0[_0x4161ef]=_0x18cc79<<0x1|_0x18cc79>>>0x1f;}var _0x552768=(_0x5672be<<0x5|_0x5672be>>>0x1b)+_0x5dc338+_0x34e9b0[_0x4161ef];_0x4161ef<0x14?_0x552768+=(_0x36d61c&_0x52e7e6|~_0x36d61c&_0x2e6e93)+0x5a827999:_0x4161ef<0x28?_0x552768+=(_0x36d61c^_0x52e7e6^_0x2e6e93)+0x6ed9eba1:_0x4161ef<0x3c?_0x552768+=(_0x36d61c&_0x52e7e6|_0x36d61c&_0x2e6e93|_0x52e7e6&_0x2e6e93)-0x70e44324:_0x552768+=(_0x36d61c^_0x52e7e6^_0x2e6e93)-0x359d3e2a,_0x5dc338=_0x2e6e93,_0x2e6e93=_0x52e7e6,_0x52e7e6=_0x36d61c<<0x1e|_0x36d61c>>>0x2,_0x36d61c=_0x5672be,_0x5672be=_0x552768;}_0x5c9646[0x0]=_0x5c9646[0x0]+_0x5672be|0x0,_0x5c9646[0x1]=_0x5c9646[0x1]+_0x36d61c|0x0,_0x5c9646[0x2]=_0x5c9646[0x2]+_0x52e7e6|0x0,_0x5c9646[0x3]=_0x5c9646[0x3]+_0x2e6e93|0x0,_0x5c9646[0x4]=_0x5c9646[0x4]+_0x5dc338|0x0;},'_doFinalize':function(){var _0x2c76b4=_0x4d3f16,_0x4c8ed7=this[_0x2c76b4(0x393)],_0x5d040d=_0x4c8ed7[_0x2c76b4(0x441)],_0x56ed05=this[_0x2c76b4(0x246)]*0x8,_0x4361cd=_0x4c8ed7[_0x2c76b4(0x279)]*0x8;return _0x5d040d[_0x4361cd>>>0x5]|=0x80<<0x18-_0x4361cd%0x20,_0x5d040d[(_0x4361cd+0x40>>>0x9<<0x4)+0xe]=Math[_0x2c76b4(0x299)](_0x56ed05/0x100000000),_0x5d040d[(_0x4361cd+0x40>>>0x9<<0x4)+0xf]=_0x56ed05,_0x4c8ed7['sigBytes']=_0x5d040d['length']*0x4,this[_0x2c76b4(0x1b4)](),this[_0x2c76b4(0x17f)];},'clone':function(){var _0x3e1a5c=_0x4d3f16,_0x39b7b3=_0x4acc59[_0x3e1a5c(0x2ae)][_0x3e1a5c(0x38f)](this);return _0x39b7b3[_0x3e1a5c(0x17f)]=this[_0x3e1a5c(0x17f)][_0x3e1a5c(0x2ae)](),_0x39b7b3;}});_0x5040c9[_0x4d3f16(0x1aa)]=_0x4acc59['_createHelper'](_0x2e6e44),_0x5040c9['HmacSHA1']=_0x4acc59[_0x4d3f16(0x3a1)](_0x2e6e44);}()),_0x36c405[_0x56ab19(0x1aa)];}));}(Ee)),Ee[_0x41f4d7(0x32f)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x487063,_0x2f24eb){(function(_0x3d8b21,_0x45d396){var _0x304266=_0x5bf0;_0x487063[_0x304266(0x32f)]=_0x45d396(ee());}(Bi,function(_0x486a43){(function(){var _0x200fb2=_0x5bf0,_0x584607=_0x486a43,_0x222feb=_0x584607[_0x200fb2(0x478)],_0x17a16a=_0x222feb['Base'],_0x11de54=_0x584607[_0x200fb2(0x4cd)],_0x1df00b=_0x11de54[_0x200fb2(0x403)],_0x7c0922=_0x584607[_0x200fb2(0x1f2)];_0x7c0922[_0x200fb2(0x27f)]=_0x17a16a[_0x200fb2(0x4b3)]({'init':function(_0x3a8a4d,_0x336b61){var _0x24a528=_0x200fb2;_0x3a8a4d=this[_0x24a528(0x2d0)]=new _0x3a8a4d[(_0x24a528(0x3b3))](),typeof _0x336b61=='string'&&(_0x336b61=_0x1df00b[_0x24a528(0x365)](_0x336b61));var _0x446762=_0x3a8a4d[_0x24a528(0x39b)],_0x350aa2=_0x446762*0x4;_0x336b61[_0x24a528(0x279)]>_0x350aa2&&(_0x336b61=_0x3a8a4d[_0x24a528(0x3b5)](_0x336b61)),_0x336b61['clamp']();for(var _0x425370=this['_oKey']=_0x336b61[_0x24a528(0x2ae)](),_0x585cde=this[_0x24a528(0x195)]=_0x336b61[_0x24a528(0x2ae)](),_0x4553c2=_0x425370[_0x24a528(0x441)],_0x3f136d=_0x585cde[_0x24a528(0x441)],_0x28eeea=0x0;_0x28eeea<_0x446762;_0x28eeea++)_0x4553c2[_0x28eeea]^=0x5c5c5c5c,_0x3f136d[_0x28eeea]^=0x36363636;_0x425370['sigBytes']=_0x585cde['sigBytes']=_0x350aa2,this['reset']();},'reset':function(){var _0x33cd39=_0x200fb2,_0x59f761=this[_0x33cd39(0x2d0)];_0x59f761['reset'](),_0x59f761[_0x33cd39(0x3c5)](this['_iKey']);},'update':function(_0x112659){var _0xfd4db5=_0x200fb2;return this[_0xfd4db5(0x2d0)]['update'](_0x112659),this;},'finalize':function(_0x101817){var _0x2149a0=_0x200fb2,_0x55fd5f=this[_0x2149a0(0x2d0)],_0x23714a=_0x55fd5f[_0x2149a0(0x3b5)](_0x101817);_0x55fd5f[_0x2149a0(0x1fe)]();var _0x28186a=_0x55fd5f['finalize'](this[_0x2149a0(0x211)][_0x2149a0(0x2ae)]()[_0x2149a0(0x47c)](_0x23714a));return _0x28186a;}});}());}));}(Ce)),Ce['exports'];}var Vi=Ie[_0x29ecf9(0x32f)],nt;function At(){var _0x288aaf=_0x29ecf9;return nt||(nt=0x1,function(_0x2ca578,_0x2fe3ca){(function(_0x55103b,_0x3e51de,_0x73159e){_0x2ca578['exports']=_0x3e51de(ee(),$i(),Fi());}(Vi,function(_0x434cdb){var _0x3e3c96=_0x5bf0;return(function(){var _0x1f49d6=_0x5bf0,_0x46a042=_0x434cdb,_0x24cd42=_0x46a042[_0x1f49d6(0x478)],_0xff4d0d=_0x24cd42['Base'],_0x42fdb1=_0x24cd42['WordArray'],_0x1dfbf5=_0x46a042[_0x1f49d6(0x1f2)],_0x4203fd=_0x1dfbf5['MD5'],_0x3fd3ea=_0x1dfbf5[_0x1f49d6(0x48f)]=_0xff4d0d['extend']({'cfg':_0xff4d0d['extend']({'keySize':0x80/0x20,'hasher':_0x4203fd,'iterations':0x1}),'init':function(_0x4158de){var _0x250b8c=_0x1f49d6;this[_0x250b8c(0x28d)]=this[_0x250b8c(0x28d)][_0x250b8c(0x4b3)](_0x4158de);},'compute':function(_0x21f89a,_0x4b0b91){var _0x1da39d=_0x1f49d6;for(var _0x405dcb,_0x12a099=this['cfg'],_0x1e70c0=_0x12a099[_0x1da39d(0x2aa)][_0x1da39d(0x4b1)](),_0x2869f7=_0x42fdb1[_0x1da39d(0x4b1)](),_0x24dee4=_0x2869f7[_0x1da39d(0x441)],_0x1191b5=_0x12a099[_0x1da39d(0x26c)],_0x13461a=_0x12a099[_0x1da39d(0x2ea)];_0x24dee4[_0x1da39d(0x439)]<_0x1191b5;){_0x405dcb&&_0x1e70c0[_0x1da39d(0x3c5)](_0x405dcb),_0x405dcb=_0x1e70c0['update'](_0x21f89a)[_0x1da39d(0x3b5)](_0x4b0b91),_0x1e70c0[_0x1da39d(0x1fe)]();for(var _0x238149=0x1;_0x238149<_0x13461a;_0x238149++)_0x405dcb=_0x1e70c0[_0x1da39d(0x3b5)](_0x405dcb),_0x1e70c0['reset']();_0x2869f7['concat'](_0x405dcb);}return _0x2869f7[_0x1da39d(0x279)]=_0x1191b5*0x4,_0x2869f7;}});_0x46a042[_0x1f49d6(0x48f)]=function(_0x50a282,_0x33f379,_0x33ca8d){var _0x2a1762=_0x1f49d6;return _0x3fd3ea[_0x2a1762(0x4b1)](_0x33ca8d)[_0x2a1762(0x37f)](_0x50a282,_0x33f379);};}()),_0x434cdb[_0x3e3c96(0x48f)];}));}(Ie)),Ie[_0x288aaf(0x32f)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x14f7fa=_0x29ecf9;return rt||(rt=0x1,function(_0x30ce64,_0x2186b1){(function(_0x100f0a,_0x2cdf07,_0x5698e1){var _0x570efd=_0x5bf0;_0x30ce64[_0x570efd(0x32f)]=_0x2cdf07(ee(),At());}(Wi,function(_0x2fb090){var _0x2bddbf=_0x5bf0;_0x2fb090[_0x2bddbf(0x478)][_0x2bddbf(0x189)]||function(_0xfc50a2){var _0x440061=_0x2bddbf,_0xa4d127=_0x2fb090,_0x8f99af=_0xa4d127[_0x440061(0x478)],_0x253b75=_0x8f99af[_0x440061(0x368)],_0x3909f3=_0x8f99af[_0x440061(0x408)],_0x2a9ddb=_0x8f99af[_0x440061(0x26b)],_0x47a249=_0xa4d127[_0x440061(0x4cd)];_0x47a249[_0x440061(0x403)];var _0x208912=_0x47a249[_0x440061(0x23d)],_0x3ecab3=_0xa4d127[_0x440061(0x1f2)],_0x4a4c37=_0x3ecab3[_0x440061(0x48f)],_0x1c8667=_0x8f99af[_0x440061(0x189)]=_0x2a9ddb[_0x440061(0x4b3)]({'cfg':_0x253b75['extend'](),'createEncryptor':function(_0x39b01a,_0x479b15){var _0x3de0fa=_0x440061;return this[_0x3de0fa(0x4b1)](this[_0x3de0fa(0x2b2)],_0x39b01a,_0x479b15);},'createDecryptor':function(_0x15b06e,_0x50db11){var _0x56af31=_0x440061;return this[_0x56af31(0x4b1)](this['_DEC_XFORM_MODE'],_0x15b06e,_0x50db11);},'init':function(_0x249d96,_0xe01b4f,_0x42efe3){var _0x4e56b3=_0x440061;this[_0x4e56b3(0x28d)]=this[_0x4e56b3(0x28d)]['extend'](_0x42efe3),this['_xformMode']=_0x249d96,this[_0x4e56b3(0x444)]=_0xe01b4f,this[_0x4e56b3(0x1fe)]();},'reset':function(){var _0x33bae6=_0x440061;_0x2a9ddb[_0x33bae6(0x1fe)][_0x33bae6(0x38f)](this),this[_0x33bae6(0x3ed)]();},'process':function(_0x4ca6a7){var _0x5d4884=_0x440061;return this[_0x5d4884(0x22f)](_0x4ca6a7),this[_0x5d4884(0x1b4)]();},'finalize':function(_0x33ef9d){var _0x10c18f=_0x440061;_0x33ef9d&&this[_0x10c18f(0x22f)](_0x33ef9d);var _0x4c3e52=this[_0x10c18f(0x345)]();return _0x4c3e52;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xea5b6e(_0x4ad38a){var _0x974aa5=_0x5bf0;return typeof _0x4ad38a==_0x974aa5(0x2c5)?_0xcc673f:_0x403faf;}return function(_0x135d09){return{'encrypt':function(_0x50eaf0,_0x49f798,_0x1c040b){var _0x27ad6f=_0x5bf0;return _0xea5b6e(_0x49f798)[_0x27ad6f(0x233)](_0x135d09,_0x50eaf0,_0x49f798,_0x1c040b);},'decrypt':function(_0xbe0324,_0x1d6879,_0x436bc7){var _0x3aa9f2=_0x5bf0;return _0xea5b6e(_0x1d6879)[_0x3aa9f2(0x3f5)](_0x135d09,_0xbe0324,_0x1d6879,_0x436bc7);}};};}())});_0x8f99af['StreamCipher']=_0x1c8667[_0x440061(0x4b3)]({'_doFinalize':function(){var _0x4fc6b2=_0x440061,_0x10d0c8=this[_0x4fc6b2(0x1b4)](!0x0);return _0x10d0c8;},'blockSize':0x1});var _0xba7fd9=_0xa4d127[_0x440061(0x4b8)]={},_0x267719=_0x8f99af['BlockCipherMode']=_0x253b75['extend']({'createEncryptor':function(_0x24b50a,_0x597b03){var _0x11c271=_0x440061;return this[_0x11c271(0x2b0)][_0x11c271(0x4b1)](_0x24b50a,_0x597b03);},'createDecryptor':function(_0x1d69ef,_0x591e02){var _0x4f1271=_0x440061;return this[_0x4f1271(0x4b0)][_0x4f1271(0x4b1)](_0x1d69ef,_0x591e02);},'init':function(_0x2a45ff,_0x271390){var _0x3bb398=_0x440061;this[_0x3bb398(0x3ca)]=_0x2a45ff,this['_iv']=_0x271390;}}),_0x3cb024=_0xba7fd9[_0x440061(0x419)]=(function(){var _0x58ec7b=_0x440061,_0x2fc363=_0x267719[_0x58ec7b(0x4b3)]();_0x2fc363[_0x58ec7b(0x2b0)]=_0x2fc363[_0x58ec7b(0x4b3)]({'processBlock':function(_0x2fc387,_0x3fd410){var _0x35b201=_0x58ec7b,_0x1525a5=this[_0x35b201(0x3ca)],_0x2eae97=_0x1525a5['blockSize'];_0x4e7c1e['call'](this,_0x2fc387,_0x3fd410,_0x2eae97),_0x1525a5[_0x35b201(0x286)](_0x2fc387,_0x3fd410),this[_0x35b201(0x449)]=_0x2fc387['slice'](_0x3fd410,_0x3fd410+_0x2eae97);}}),_0x2fc363[_0x58ec7b(0x4b0)]=_0x2fc363[_0x58ec7b(0x4b3)]({'processBlock':function(_0x54cf9f,_0x4cbac7){var _0x263951=_0x58ec7b,_0x276127=this[_0x263951(0x3ca)],_0x140343=_0x276127[_0x263951(0x39b)],_0x49f6a2=_0x54cf9f[_0x263951(0x244)](_0x4cbac7,_0x4cbac7+_0x140343);_0x276127[_0x263951(0x2dd)](_0x54cf9f,_0x4cbac7),_0x4e7c1e[_0x263951(0x38f)](this,_0x54cf9f,_0x4cbac7,_0x140343),this['_prevBlock']=_0x49f6a2;}});function _0x4e7c1e(_0x2391c4,_0x596601,_0x462121){var _0x467332=_0x58ec7b,_0x317014,_0x93237e=this['_iv'];_0x93237e?(_0x317014=_0x93237e,this[_0x467332(0x34d)]=_0xfc50a2):_0x317014=this[_0x467332(0x449)];for(var _0x1609bc=0x0;_0x1609bc<_0x462121;_0x1609bc++)_0x2391c4[_0x596601+_0x1609bc]^=_0x317014[_0x1609bc];}return _0x2fc363;}()),_0x3660f3=_0xa4d127['pad']={},_0x3a49e2=_0x3660f3[_0x440061(0x385)]={'pad':function(_0x52904c,_0x17a174){var _0x217789=_0x440061;for(var _0x19a9cc=_0x17a174*0x4,_0x3b5af=_0x19a9cc-_0x52904c[_0x217789(0x279)]%_0x19a9cc,_0x1cab97=_0x3b5af<<0x18|_0x3b5af<<0x10|_0x3b5af<<0x8|_0x3b5af,_0x3a4fdd=[],_0x25bf91=0x0;_0x25bf91<_0x3b5af;_0x25bf91+=0x4)_0x3a4fdd[_0x217789(0x363)](_0x1cab97);var _0x22c5a2=_0x3909f3[_0x217789(0x4b1)](_0x3a4fdd,_0x3b5af);_0x52904c[_0x217789(0x47c)](_0x22c5a2);},'unpad':function(_0x236a97){var _0x1e0f72=_0x440061,_0x4de2c4=_0x236a97[_0x1e0f72(0x441)][_0x236a97['sigBytes']-0x1>>>0x2]&0xff;_0x236a97[_0x1e0f72(0x279)]-=_0x4de2c4;}};_0x8f99af[_0x440061(0x340)]=_0x1c8667[_0x440061(0x4b3)]({'cfg':_0x1c8667[_0x440061(0x28d)][_0x440061(0x4b3)]({'mode':_0x3cb024,'padding':_0x3a49e2}),'reset':function(){var _0x13992a=_0x440061,_0x18564b;_0x1c8667[_0x13992a(0x1fe)][_0x13992a(0x38f)](this);var _0x23767f=this[_0x13992a(0x28d)],_0x579bbe=_0x23767f['iv'],_0x373e9d=_0x23767f[_0x13992a(0x4b8)];this[_0x13992a(0x3ac)]==this[_0x13992a(0x2b2)]?_0x18564b=_0x373e9d[_0x13992a(0x302)]:(_0x18564b=_0x373e9d[_0x13992a(0x399)],this[_0x13992a(0x425)]=0x1),this['_mode']&&this[_0x13992a(0x160)][_0x13992a(0x495)]==_0x18564b?this[_0x13992a(0x160)]['init'](this,_0x579bbe&&_0x579bbe[_0x13992a(0x441)]):(this['_mode']=_0x18564b[_0x13992a(0x38f)](_0x373e9d,this,_0x579bbe&&_0x579bbe[_0x13992a(0x441)]),this[_0x13992a(0x160)][_0x13992a(0x495)]=_0x18564b);},'_doProcessBlock':function(_0x30365e,_0x54a69b){var _0x16ba8d=_0x440061;this[_0x16ba8d(0x160)][_0x16ba8d(0x3de)](_0x30365e,_0x54a69b);},'_doFinalize':function(){var _0x2f57d3=_0x440061,_0x13e5a2,_0x10bf4e=this['cfg'][_0x2f57d3(0x4bd)];return this[_0x2f57d3(0x3ac)]==this['_ENC_XFORM_MODE']?(_0x10bf4e['pad'](this['_data'],this[_0x2f57d3(0x39b)]),_0x13e5a2=this['_process'](!0x0)):(_0x13e5a2=this[_0x2f57d3(0x1b4)](!0x0),_0x10bf4e[_0x2f57d3(0x45f)](_0x13e5a2)),_0x13e5a2;},'blockSize':0x80/0x20});var _0xe09618=_0x8f99af['CipherParams']=_0x253b75[_0x440061(0x4b3)]({'init':function(_0x3677cc){var _0x3e3d66=_0x440061;this[_0x3e3d66(0x3a0)](_0x3677cc);},'toString':function(_0x255c4f){var _0x4eec67=_0x440061;return(_0x255c4f||this[_0x4eec67(0x3af)])[_0x4eec67(0x4a8)](this);}}),_0x2cdb87=_0xa4d127[_0x440061(0x180)]={},_0x26861b=_0x2cdb87[_0x440061(0x2b9)]={'stringify':function(_0x226c44){var _0x4880a2=_0x440061,_0xa1065c,_0x1f095c=_0x226c44[_0x4880a2(0x400)],_0x3d23b4=_0x226c44[_0x4880a2(0x321)];return _0x3d23b4?_0xa1065c=_0x3909f3['create']([0x53616c74,0x65645f5f])[_0x4880a2(0x47c)](_0x3d23b4)[_0x4880a2(0x47c)](_0x1f095c):_0xa1065c=_0x1f095c,_0xa1065c['toString'](_0x208912);},'parse':function(_0x5929b1){var _0xb5edb9=_0x440061,_0x46219a,_0x22b19d=_0x208912[_0xb5edb9(0x365)](_0x5929b1),_0x1eec15=_0x22b19d['words'];return _0x1eec15[0x0]==0x53616c74&&_0x1eec15[0x1]==0x65645f5f&&(_0x46219a=_0x3909f3['create'](_0x1eec15['slice'](0x2,0x4)),_0x1eec15[_0xb5edb9(0x492)](0x0,0x4),_0x22b19d[_0xb5edb9(0x279)]-=0x10),_0xe09618['create']({'ciphertext':_0x22b19d,'salt':_0x46219a});}},_0x403faf=_0x8f99af[_0x440061(0x3d1)]=_0x253b75[_0x440061(0x4b3)]({'cfg':_0x253b75['extend']({'format':_0x26861b}),'encrypt':function(_0x509267,_0x1329ae,_0x3e852b,_0x5cfb41){var _0x356bfe=_0x440061;_0x5cfb41=this[_0x356bfe(0x28d)]['extend'](_0x5cfb41);var _0x30b473=_0x509267['createEncryptor'](_0x3e852b,_0x5cfb41),_0x56304c=_0x30b473[_0x356bfe(0x3b5)](_0x1329ae),_0x1e3404=_0x30b473['cfg'];return _0xe09618['create']({'ciphertext':_0x56304c,'key':_0x3e852b,'iv':_0x1e3404['iv'],'algorithm':_0x509267,'mode':_0x1e3404[_0x356bfe(0x4b8)],'padding':_0x1e3404['padding'],'blockSize':_0x509267['blockSize'],'formatter':_0x5cfb41[_0x356bfe(0x180)]});},'decrypt':function(_0xa6be46,_0x2a651b,_0x4babed,_0x518731){var _0x1453e6=_0x440061;_0x518731=this[_0x1453e6(0x28d)]['extend'](_0x518731),_0x2a651b=this['_parse'](_0x2a651b,_0x518731[_0x1453e6(0x180)]);var _0x23b754=_0xa6be46[_0x1453e6(0x399)](_0x4babed,_0x518731)[_0x1453e6(0x3b5)](_0x2a651b['ciphertext']);return _0x23b754;},'_parse':function(_0x489b07,_0x331c67){var _0x1c2d39=_0x440061;return typeof _0x489b07==_0x1c2d39(0x2c5)?_0x331c67[_0x1c2d39(0x365)](_0x489b07,this):_0x489b07;}}),_0x3c6830=_0xa4d127[_0x440061(0x2a6)]={},_0x219357=_0x3c6830['OpenSSL']={'execute':function(_0x1682e8,_0x280f30,_0x13cfcf,_0x116d1c,_0x55981c){var _0x136da3=_0x440061;if(_0x116d1c||(_0x116d1c=_0x3909f3[_0x136da3(0x406)](0x40/0x8)),_0x55981c)var _0x3d5384=_0x4a4c37[_0x136da3(0x4b1)]({'keySize':_0x280f30+_0x13cfcf,'hasher':_0x55981c})[_0x136da3(0x37f)](_0x1682e8,_0x116d1c);else var _0x3d5384=_0x4a4c37[_0x136da3(0x4b1)]({'keySize':_0x280f30+_0x13cfcf})[_0x136da3(0x37f)](_0x1682e8,_0x116d1c);var _0x45597=_0x3909f3[_0x136da3(0x4b1)](_0x3d5384[_0x136da3(0x441)][_0x136da3(0x244)](_0x280f30),_0x13cfcf*0x4);return _0x3d5384[_0x136da3(0x279)]=_0x280f30*0x4,_0xe09618['create']({'key':_0x3d5384,'iv':_0x45597,'salt':_0x116d1c});}},_0xcc673f=_0x8f99af['PasswordBasedCipher']=_0x403faf[_0x440061(0x4b3)]({'cfg':_0x403faf['cfg'][_0x440061(0x4b3)]({'kdf':_0x219357}),'encrypt':function(_0x507c3c,_0x40998a,_0x3c71ea,_0x3a5aa7){var _0xd4b65f=_0x440061;_0x3a5aa7=this[_0xd4b65f(0x28d)]['extend'](_0x3a5aa7);var _0x1b9965=_0x3a5aa7[_0xd4b65f(0x2a6)]['execute'](_0x3c71ea,_0x507c3c[_0xd4b65f(0x26c)],_0x507c3c[_0xd4b65f(0x35a)],_0x3a5aa7['salt'],_0x3a5aa7[_0xd4b65f(0x2aa)]);_0x3a5aa7['iv']=_0x1b9965['iv'];var _0x8756d4=_0x403faf[_0xd4b65f(0x233)][_0xd4b65f(0x38f)](this,_0x507c3c,_0x40998a,_0x1b9965[_0xd4b65f(0x3e3)],_0x3a5aa7);return _0x8756d4[_0xd4b65f(0x3a0)](_0x1b9965),_0x8756d4;},'decrypt':function(_0x4ebc64,_0x495cbb,_0xe61cf9,_0x174472){var _0x280048=_0x440061;_0x174472=this[_0x280048(0x28d)][_0x280048(0x4b3)](_0x174472),_0x495cbb=this[_0x280048(0x3b1)](_0x495cbb,_0x174472[_0x280048(0x180)]);var _0x3a4a18=_0x174472[_0x280048(0x2a6)][_0x280048(0x467)](_0xe61cf9,_0x4ebc64['keySize'],_0x4ebc64[_0x280048(0x35a)],_0x495cbb['salt'],_0x174472[_0x280048(0x2aa)]);_0x174472['iv']=_0x3a4a18['iv'];var _0x3322e3=_0x403faf[_0x280048(0x3f5)]['call'](this,_0x4ebc64,_0x495cbb,_0x3a4a18[_0x280048(0x3e3)],_0x174472);return _0x3322e3;}});}();}));}(Te)),Te[_0x14f7fa(0x32f)];}var Gi=fe[_0x29ecf9(0x32f)],st;function Ki(){return st||(st=0x1,function(_0x1c48b3,_0x23affd){(function(_0x120cf1,_0x497e61,_0x1e9ead){var _0x36fd5e=_0x5bf0;_0x1c48b3[_0x36fd5e(0x32f)]=_0x497e61(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0xacb82d){var _0x350925=_0x5bf0;return(function(){var _0x43a005=_0x5bf0,_0x4aa6ac=_0xacb82d,_0x5d1e6f=_0x4aa6ac[_0x43a005(0x478)],_0xcd760b=_0x5d1e6f[_0x43a005(0x340)],_0x2fc33a=_0x4aa6ac['algo'],_0x43f8d7=[],_0x1b9234=[],_0x5be0d5=[],_0x3042fe=[],_0x43b2b8=[],_0x3d4a60=[],_0xc671c9=[],_0x38b552=[],_0x4d16e7=[],_0x252d50=[];(function(){for(var _0x1752ac=[],_0x1e1b0b=0x0;_0x1e1b0b<0x100;_0x1e1b0b++)_0x1e1b0b<0x80?_0x1752ac[_0x1e1b0b]=_0x1e1b0b<<0x1:_0x1752ac[_0x1e1b0b]=_0x1e1b0b<<0x1^0x11b;for(var _0x4275c3=0x0,_0x187d5e=0x0,_0x1e1b0b=0x0;_0x1e1b0b<0x100;_0x1e1b0b++){var _0x56edb1=_0x187d5e^_0x187d5e<<0x1^_0x187d5e<<0x2^_0x187d5e<<0x3^_0x187d5e<<0x4;_0x56edb1=_0x56edb1>>>0x8^_0x56edb1&0xff^0x63,_0x43f8d7[_0x4275c3]=_0x56edb1,_0x1b9234[_0x56edb1]=_0x4275c3;var _0x3ef3c8=_0x1752ac[_0x4275c3],_0x23dce6=_0x1752ac[_0x3ef3c8],_0x1b3d6a=_0x1752ac[_0x23dce6],_0x309975=_0x1752ac[_0x56edb1]*0x101^_0x56edb1*0x1010100;_0x5be0d5[_0x4275c3]=_0x309975<<0x18|_0x309975>>>0x8,_0x3042fe[_0x4275c3]=_0x309975<<0x10|_0x309975>>>0x10,_0x43b2b8[_0x4275c3]=_0x309975<<0x8|_0x309975>>>0x18,_0x3d4a60[_0x4275c3]=_0x309975;var _0x309975=_0x1b3d6a*0x1010101^_0x23dce6*0x10001^_0x3ef3c8*0x101^_0x4275c3*0x1010100;_0xc671c9[_0x56edb1]=_0x309975<<0x18|_0x309975>>>0x8,_0x38b552[_0x56edb1]=_0x309975<<0x10|_0x309975>>>0x10,_0x4d16e7[_0x56edb1]=_0x309975<<0x8|_0x309975>>>0x18,_0x252d50[_0x56edb1]=_0x309975,_0x4275c3?(_0x4275c3=_0x3ef3c8^_0x1752ac[_0x1752ac[_0x1752ac[_0x1b3d6a^_0x3ef3c8]]],_0x187d5e^=_0x1752ac[_0x1752ac[_0x187d5e]]):_0x4275c3=_0x187d5e=0x1;}}());var _0x109482=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40134d=_0x2fc33a[_0x43a005(0x144)]=_0xcd760b[_0x43a005(0x4b3)]({'_doReset':function(){var _0x3506f6=_0x43a005,_0x303d29;if(!(this[_0x3506f6(0x224)]&&this['_keyPriorReset']===this[_0x3506f6(0x444)])){for(var _0x12c2bf=this[_0x3506f6(0x185)]=this[_0x3506f6(0x444)],_0x18032e=_0x12c2bf[_0x3506f6(0x441)],_0x1c9e0c=_0x12c2bf['sigBytes']/0x4,_0x37ec1a=this['_nRounds']=_0x1c9e0c+0x6,_0x433643=(_0x37ec1a+0x1)*0x4,_0x100794=this[_0x3506f6(0x1fd)]=[],_0x2e77a8=0x0;_0x2e77a8<_0x433643;_0x2e77a8++)_0x2e77a8<_0x1c9e0c?_0x100794[_0x2e77a8]=_0x18032e[_0x2e77a8]:(_0x303d29=_0x100794[_0x2e77a8-0x1],_0x2e77a8%_0x1c9e0c?_0x1c9e0c>0x6&&_0x2e77a8%_0x1c9e0c==0x4&&(_0x303d29=_0x43f8d7[_0x303d29>>>0x18]<<0x18|_0x43f8d7[_0x303d29>>>0x10&0xff]<<0x10|_0x43f8d7[_0x303d29>>>0x8&0xff]<<0x8|_0x43f8d7[_0x303d29&0xff]):(_0x303d29=_0x303d29<<0x8|_0x303d29>>>0x18,_0x303d29=_0x43f8d7[_0x303d29>>>0x18]<<0x18|_0x43f8d7[_0x303d29>>>0x10&0xff]<<0x10|_0x43f8d7[_0x303d29>>>0x8&0xff]<<0x8|_0x43f8d7[_0x303d29&0xff],_0x303d29^=_0x109482[_0x2e77a8/_0x1c9e0c|0x0]<<0x18),_0x100794[_0x2e77a8]=_0x100794[_0x2e77a8-_0x1c9e0c]^_0x303d29);for(var _0x16533f=this[_0x3506f6(0x36c)]=[],_0x4931e1=0x0;_0x4931e1<_0x433643;_0x4931e1++){var _0x2e77a8=_0x433643-_0x4931e1;if(_0x4931e1%0x4)var _0x303d29=_0x100794[_0x2e77a8];else var _0x303d29=_0x100794[_0x2e77a8-0x4];_0x4931e1<0x4||_0x2e77a8<=0x4?_0x16533f[_0x4931e1]=_0x303d29:_0x16533f[_0x4931e1]=_0xc671c9[_0x43f8d7[_0x303d29>>>0x18]]^_0x38b552[_0x43f8d7[_0x303d29>>>0x10&0xff]]^_0x4d16e7[_0x43f8d7[_0x303d29>>>0x8&0xff]]^_0x252d50[_0x43f8d7[_0x303d29&0xff]];}}},'encryptBlock':function(_0x3eafd0,_0x3f3dca){var _0x23f949=_0x43a005;this[_0x23f949(0x356)](_0x3eafd0,_0x3f3dca,this[_0x23f949(0x1fd)],_0x5be0d5,_0x3042fe,_0x43b2b8,_0x3d4a60,_0x43f8d7);},'decryptBlock':function(_0x591587,_0x2ce643){var _0x56531c=_0x43a005,_0x38a36f=_0x591587[_0x2ce643+0x1];_0x591587[_0x2ce643+0x1]=_0x591587[_0x2ce643+0x3],_0x591587[_0x2ce643+0x3]=_0x38a36f,this[_0x56531c(0x356)](_0x591587,_0x2ce643,this[_0x56531c(0x36c)],_0xc671c9,_0x38b552,_0x4d16e7,_0x252d50,_0x1b9234);var _0x38a36f=_0x591587[_0x2ce643+0x1];_0x591587[_0x2ce643+0x1]=_0x591587[_0x2ce643+0x3],_0x591587[_0x2ce643+0x3]=_0x38a36f;},'_doCryptBlock':function(_0x28acd0,_0x43208f,_0x4ec2ab,_0x5a41cd,_0x2b750f,_0x244844,_0x53e13d,_0x44f7a2){var _0x3ac03e=_0x43a005;for(var _0x37d6b7=this[_0x3ac03e(0x224)],_0x40e3b4=_0x28acd0[_0x43208f]^_0x4ec2ab[0x0],_0x31ca93=_0x28acd0[_0x43208f+0x1]^_0x4ec2ab[0x1],_0x3e6af2=_0x28acd0[_0x43208f+0x2]^_0x4ec2ab[0x2],_0x423115=_0x28acd0[_0x43208f+0x3]^_0x4ec2ab[0x3],_0x45b8fe=0x4,_0x2ce63f=0x1;_0x2ce63f<_0x37d6b7;_0x2ce63f++){var _0x8e5f2c=_0x5a41cd[_0x40e3b4>>>0x18]^_0x2b750f[_0x31ca93>>>0x10&0xff]^_0x244844[_0x3e6af2>>>0x8&0xff]^_0x53e13d[_0x423115&0xff]^_0x4ec2ab[_0x45b8fe++],_0x56fcb1=_0x5a41cd[_0x31ca93>>>0x18]^_0x2b750f[_0x3e6af2>>>0x10&0xff]^_0x244844[_0x423115>>>0x8&0xff]^_0x53e13d[_0x40e3b4&0xff]^_0x4ec2ab[_0x45b8fe++],_0x3296f8=_0x5a41cd[_0x3e6af2>>>0x18]^_0x2b750f[_0x423115>>>0x10&0xff]^_0x244844[_0x40e3b4>>>0x8&0xff]^_0x53e13d[_0x31ca93&0xff]^_0x4ec2ab[_0x45b8fe++],_0x510837=_0x5a41cd[_0x423115>>>0x18]^_0x2b750f[_0x40e3b4>>>0x10&0xff]^_0x244844[_0x31ca93>>>0x8&0xff]^_0x53e13d[_0x3e6af2&0xff]^_0x4ec2ab[_0x45b8fe++];_0x40e3b4=_0x8e5f2c,_0x31ca93=_0x56fcb1,_0x3e6af2=_0x3296f8,_0x423115=_0x510837;}var _0x8e5f2c=(_0x44f7a2[_0x40e3b4>>>0x18]<<0x18|_0x44f7a2[_0x31ca93>>>0x10&0xff]<<0x10|_0x44f7a2[_0x3e6af2>>>0x8&0xff]<<0x8|_0x44f7a2[_0x423115&0xff])^_0x4ec2ab[_0x45b8fe++],_0x56fcb1=(_0x44f7a2[_0x31ca93>>>0x18]<<0x18|_0x44f7a2[_0x3e6af2>>>0x10&0xff]<<0x10|_0x44f7a2[_0x423115>>>0x8&0xff]<<0x8|_0x44f7a2[_0x40e3b4&0xff])^_0x4ec2ab[_0x45b8fe++],_0x3296f8=(_0x44f7a2[_0x3e6af2>>>0x18]<<0x18|_0x44f7a2[_0x423115>>>0x10&0xff]<<0x10|_0x44f7a2[_0x40e3b4>>>0x8&0xff]<<0x8|_0x44f7a2[_0x31ca93&0xff])^_0x4ec2ab[_0x45b8fe++],_0x510837=(_0x44f7a2[_0x423115>>>0x18]<<0x18|_0x44f7a2[_0x40e3b4>>>0x10&0xff]<<0x10|_0x44f7a2[_0x31ca93>>>0x8&0xff]<<0x8|_0x44f7a2[_0x3e6af2&0xff])^_0x4ec2ab[_0x45b8fe++];_0x28acd0[_0x43208f]=_0x8e5f2c,_0x28acd0[_0x43208f+0x1]=_0x56fcb1,_0x28acd0[_0x43208f+0x2]=_0x3296f8,_0x28acd0[_0x43208f+0x3]=_0x510837;},'keySize':0x100/0x20});_0x4aa6ac['AES']=_0xcd760b[_0x43a005(0x28e)](_0x40134d);}()),_0xacb82d[_0x350925(0x144)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x29ecf9(0x32f)],at;function Xi(){var _0x391aa7=_0x29ecf9;return at||(at=0x1,function(_0x5567f4,_0x2f8778){(function(_0x686a4c,_0x33e8c1){var _0x19ac51=_0x5bf0;_0x5567f4[_0x19ac51(0x32f)]=_0x33e8c1(ee());}(Ji,function(_0x4f55a4){var _0x3a1d53=_0x5bf0;return _0x4f55a4[_0x3a1d53(0x4cd)][_0x3a1d53(0x403)];}));}(be)),be[_0x391aa7(0x32f)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){var _0x2e99f9=_0x29ecf9;return ct||(ct=0x1,function(_0x231b68,_0x350f58){(function(_0x58e3c7,_0x113135){var _0x6fa02e=_0x5bf0;_0x231b68[_0x6fa02e(0x32f)]=_0x113135(ee());}(en,function(_0x472561){var _0x1aa3dd=_0x5bf0;return(function(){var _0x1591d4=_0x5bf0;if(typeof ArrayBuffer=='function'){var _0x7e1a93=_0x472561,_0x55b4d6=_0x7e1a93[_0x1591d4(0x478)],_0x357730=_0x55b4d6[_0x1591d4(0x408)],_0x35348d=_0x357730[_0x1591d4(0x3b3)],_0x4e4efa=_0x357730[_0x1591d4(0x3b3)]=function(_0x2c69b0){var _0x177f56=_0x1591d4;if(_0x2c69b0 instanceof ArrayBuffer&&(_0x2c69b0=new Uint8Array(_0x2c69b0)),(_0x2c69b0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c69b0 instanceof Uint8ClampedArray||_0x2c69b0 instanceof Int16Array||_0x2c69b0 instanceof Uint16Array||_0x2c69b0 instanceof Int32Array||_0x2c69b0 instanceof Uint32Array||_0x2c69b0 instanceof Float32Array||_0x2c69b0 instanceof Float64Array)&&(_0x2c69b0=new Uint8Array(_0x2c69b0[_0x177f56(0x1e7)],_0x2c69b0[_0x177f56(0x33c)],_0x2c69b0[_0x177f56(0x41f)])),_0x2c69b0 instanceof Uint8Array){for(var _0x58a098=_0x2c69b0[_0x177f56(0x41f)],_0x1bff08=[],_0x294459=0x0;_0x294459<_0x58a098;_0x294459++)_0x1bff08[_0x294459>>>0x2]|=_0x2c69b0[_0x294459]<<0x18-_0x294459%0x4*0x8;_0x35348d[_0x177f56(0x38f)](this,_0x1bff08,_0x58a098);}else _0x35348d[_0x177f56(0x1d7)](this,arguments);};_0x4e4efa[_0x1591d4(0x27a)]=_0x357730;}}()),_0x472561[_0x1aa3dd(0x478)][_0x1aa3dd(0x408)];}));}(Re)),Re[_0x2e99f9(0x32f)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x29ecf9(0x32f)],ht;function on(){var _0x482958=_0x29ecf9;return ht||(ht=0x1,function(_0xfff0af,_0xf9ee2e){(function(_0x278ac8,_0x25b515,_0x3d5b55){var _0x3e378c=_0x5bf0;_0xfff0af[_0x3e378c(0x32f)]=_0x25b515(ee(),Pt());}(sn,function(_0xa1105f){var _0x3415b1=_0x5bf0;return _0xa1105f['pad'][_0x3415b1(0x451)]={'pad':function(){},'unpad':function(){}},_0xa1105f[_0x3415b1(0x4ae)]['NoPadding'];}));}(ye)),ye[_0x482958(0x32f)];}var an=on();const cn=Se(an);function hn(_0xccaf5f,_0x56e693){var _0x49264c=_0x29ecf9;const _0x30ef59=_0x56e693-_0xccaf5f[_0x49264c(0x439)]%_0x56e693,_0x980125=String[_0x49264c(0x380)](_0x30ef59)[_0x49264c(0x175)](_0x30ef59);return _0xccaf5f+_0x980125;}function ln(_0x5ea133,_0x8f6b88){var _0x465e97=_0x29ecf9;const _0x581764=rn['random'](0x10),_0x167230=hn(_0x5ea133,0x10),_0x26d4ff=qi['encrypt'](Qi[_0x465e97(0x365)](_0x167230),ot[_0x465e97(0x365)](_0x8f6b88),{'iv':_0x581764,'padding':cn});return _0x581764[_0x465e97(0x47c)](_0x26d4ff[_0x465e97(0x400)])[_0x465e97(0x20b)](ot);}function _n(){var _0x125092=_0x29ecf9;const _0x5d36ff=xt[_0x125092(0x4c0)]()[_0x125092(0x31f)];if(_0x5d36ff){const _0xd6cf5d={'time':Math[_0x125092(0x299)](Date[_0x125092(0x3dc)]()/0x3e8),'domain':location['hostname']};return ln(JSON[_0x125092(0x4a8)](_0xd6cf5d),_0x5d36ff);}}var un=Object[_0x29ecf9(0x161)],dn=(_0x26073e,_0x811812,_0x11d6e3,_0x53dd43)=>{var _0xd7ae39=_0x29ecf9;for(var _0x20e2b5=_0x53dd43>0x1?void 0x0:_0x53dd43?un(_0x811812,_0x11d6e3):_0x811812,_0x6f33e4=_0x26073e[_0xd7ae39(0x439)]-0x1,_0x2dd069;_0x6f33e4>=0x0;_0x6f33e4--)(_0x2dd069=_0x26073e[_0x6f33e4])&&(_0x20e2b5=_0x2dd069(_0x20e2b5)||_0x20e2b5);return _0x20e2b5;},vn=(_0x5d231f,_0x3fa78f)=>(_0x14c02d,_0x20a044)=>_0x3fa78f(_0x14c02d,_0x20a044,_0x5d231f);let Ne=class{constructor(_0x169c0d){this['_httpService']=_0x169c0d,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x2b876c=_0x29ecf9;this[_0x2b876c(0x497)]['registerHTTPInterceptor']({'interceptor':(_0x2dcc22,_0x122d1d)=>{var _0x51ac77=_0x2b876c;const _0x5536cc=_0x2dcc22[_0x51ac77(0x19e)],_0x3ad225=_n();return _0x3ad225&&_0x5536cc[_0x51ac77(0x16e)]('x-univer-host',_0x3ad225),_0x122d1d(_0x2dcc22);}});}};Ne=dn([vn(0x0,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)]))],Ne);var Sn=Object[_0x29ecf9(0x161)],fn=(_0xbc00bd,_0x2c6fad,_0x5e48d9,_0x4a5df2)=>{var _0x3d4861=_0x29ecf9;for(var _0x54726d=_0x4a5df2>0x1?void 0x0:_0x4a5df2?Sn(_0x2c6fad,_0x5e48d9):_0x2c6fad,_0x30cce4=_0xbc00bd[_0x3d4861(0x439)]-0x1,_0x1a3649;_0x30cce4>=0x0;_0x30cce4--)(_0x1a3649=_0xbc00bd[_0x30cce4])&&(_0x54726d=_0x1a3649(_0x54726d)||_0x54726d);return _0x54726d;},Me=(_0x322d96,_0x2aeb1c)=>(_0x5c31d2,_0x58b6c1)=>_0x2aeb1c(_0x5c31d2,_0x58b6c1,_0x322d96);exports[_0x29ecf9(0x1d5)]=class extends a['RxDisposable']{constructor(_0x49bf5f,_0x4ef3cc,_0x373de2){var _0x86c955=_0x29ecf9;super(),A(this,_0x86c955(0x257),new j['BehaviorSubject'](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x86c955(0x2f6)]()),(this[_0x86c955(0x17b)]=_0x49bf5f,this[_0x86c955(0x1cf)]=_0x4ef3cc,this[_0x86c955(0x3bb)]=_0x373de2);}async[_0x29ecf9(0x442)](_0x375f5f,_0xc5b0b5,_0xddad86){var _0x4ef4ff=_0x29ecf9;this[_0x4ef4ff(0x257)]['next']({'unitId':_0x375f5f,'type':_0xc5b0b5,'subUnitId':_0xddad86});let _0x3020f0=null;switch(_0xc5b0b5){case X[_0x4ef4ff(0x2db)]:{_0x3020f0=await this['_loadSheet'](_0x375f5f);break;}case X[_0x4ef4ff(0x2bf)]:{_0x3020f0=await this[_0x4ef4ff(0x1c5)](_0x375f5f);break;}default:{this[_0x4ef4ff(0x17b)][_0x4ef4ff(0x3b2)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3020f0;}async['_loadSheet'](_0x3bf4f3){var _0x25e40a=_0x29ecf9,_0x1b3889;let _0x2e73be=0x0;const _0x5049b2=await((_0x1b3889=this['_localCacheService'])==null?void 0x0:_0x1b3889[_0x25e40a(0x1f5)](_0x3bf4f3));return _0x5049b2&&(_0x5049b2[_0x25e40a(0x305)]||_0x5049b2['mutations'][_0x25e40a(0x439)]!==0x0)&&(_0x2e73be=_0x5049b2['rev']),_0x2e73be===0x0&&this[_0x25e40a(0x17b)][_0x25e40a(0x2b5)](_0x25e40a(0x39f),_0x25e40a(0x4b6)),this[_0x25e40a(0x1cf)][_0x25e40a(0x297)](_0x3bf4f3,_0x2e73be);}async['_loadDoc'](_0x5cab65){var _0x584347=_0x29ecf9,_0x34b84a;let _0x3d2732=0x0;const _0x5503a7=await((_0x34b84a=this[_0x584347(0x3bb)])==null?void 0x0:_0x34b84a[_0x584347(0x1f5)](_0x5cab65));return _0x5503a7&&(_0x5503a7[_0x584347(0x305)]||_0x5503a7[_0x584347(0x3f6)][_0x584347(0x439)]!==0x0)&&(_0x3d2732=_0x5503a7[_0x584347(0x2a0)]),_0x3d2732===0x0&&this[_0x584347(0x17b)][_0x584347(0x2b5)](_0x584347(0x39f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x584347(0x1cf)][_0x584347(0x2fa)](_0x5cab65,_0x3d2732);}},exports[_0x29ecf9(0x1d5)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x29ecf9(0x36f)](g[_0x29ecf9(0x174)])),Me(0x2,a[_0x29ecf9(0x172)](z))],exports[_0x29ecf9(0x1d5)]);var pn=Object[_0x29ecf9(0x161)],gn=(_0x22a918,_0x555271,_0x3e07fc,_0x5b8ea)=>{var _0x20a44b=_0x29ecf9;for(var _0x45019e=_0x5b8ea>0x1?void 0x0:_0x5b8ea?pn(_0x555271,_0x3e07fc):_0x555271,_0x49413e=_0x22a918[_0x20a44b(0x439)]-0x1,_0x570727;_0x49413e>=0x0;_0x49413e--)(_0x570727=_0x22a918[_0x49413e])&&(_0x45019e=_0x570727(_0x45019e)||_0x45019e);return _0x45019e;},xe=(_0x1dfb4d,_0x1b23f7)=>(_0x66b034,_0x2c1fe5)=>_0x1b23f7(_0x66b034,_0x2c1fe5,_0x1dfb4d);const mn=[_0x29ecf9(0x2f9),_0x29ecf9(0x456),_0x29ecf9(0x290),_0x29ecf9(0x496),_0x29ecf9(0x23f)],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x29ecf9(0x330),Tn=_0x29ecf9(0x326),bn=_0x29ecf9(0x3a9);exports[_0x29ecf9(0x417)]=class{constructor(_0x49d341,_0x370272,_0x10688a){var _0x23013b=_0x29ecf9;A(this,_0x23013b(0x38a),0x0),A(this,'_change$',new j[(_0x23013b(0x1c8))]()),A(this,'change$',this[_0x23013b(0x285)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x49d341,this[_0x23013b(0x486)]=_0x370272,this[_0x23013b(0x32d)]=_0x10688a);}['setWaitCount'](_0x10898a){var _0x2277cb=_0x29ecf9;this[_0x2277cb(0x38a)]=_0x10898a,this[_0x2277cb(0x285)][_0x2277cb(0x3f0)](_0x10898a);}[_0x29ecf9(0x3f1)](_0x1a67ca,_0x488718){var _0x138e01=_0x29ecf9;if(_0x488718===J[_0x138e01(0x307)]['BASE64']){const _0x56740c=new Image();return _0x56740c[_0x138e01(0x17a)]=_0x1a67ca,_0x56740c;}return this[_0x138e01(0x198)]['get'](_0x1a67ca);}['addImageSourceCache'](_0x1ed6f0,_0x2e6046,_0x4496ca){var _0x28d7ae=_0x29ecf9;_0x2e6046===J[_0x28d7ae(0x307)]['BASE64']||_0x4496ca==null||this[_0x28d7ae(0x198)][_0x28d7ae(0x16e)](_0x1ed6f0,_0x4496ca);}async[_0x29ecf9(0x1a3)](_0x10e5fa){var _0x4ad7cb=_0x29ecf9;try{const _0x16720c=this[_0x4ad7cb(0x1bd)](this[_0x4ad7cb(0x209)](),''+_0x10e5fa),_0xfe5d39=(await this['_httpService'][_0x4ad7cb(0x26e)](_0x16720c))[_0x4ad7cb(0x214)];if(_0xfe5d39[_0x4ad7cb(0x3b2)]&&_0xfe5d39[_0x4ad7cb(0x3b2)][_0x4ad7cb(0x1fa)]===Ct['OK']){const _0x1c542a=new URL(_0xfe5d39[_0x4ad7cb(0x284)],this[_0x4ad7cb(0x357)]())[_0x4ad7cb(0x20b)]();return Promise[_0x4ad7cb(0x4d2)](_0x1c542a);}return Promise[_0x4ad7cb(0x282)](_0xfe5d39[_0x4ad7cb(0x3b2)]);}catch(_0x1a9ae8){return Promise['reject'](_0x1a9ae8);}}async[_0x29ecf9(0x163)](_0x360b80){var _0x5dd883=_0x29ecf9;let _0x54b7e1='';if(!mn['includes'](_0x360b80['type']))return this[_0x5dd883(0x3e1)](),Promise[_0x5dd883(0x282)](new Error(J[_0x5dd883(0x48c)][_0x5dd883(0x21c)]));if(_0x360b80['size']>In)return this[_0x5dd883(0x3e1)](),Promise[_0x5dd883(0x282)](new Error(J[_0x5dd883(0x48c)][_0x5dd883(0x14a)]));try{const _0x28022d=new FormData();_0x28022d[_0x5dd883(0x36b)]('file',_0x360b80);const _0x3af797=this['_univerInstanceService']['getFocusedUnit'](),_0x4d09c2=_0x3af797==null?void 0x0:_0x3af797[_0x5dd883(0x352)]();if(!_0x4d09c2)throw new Error(_0x5dd883(0x49b));const _0x10976a=this['_getUploadFileURL']()+_0x5dd883(0x216)+_0x360b80[_0x5dd883(0x1e0)][_0x5dd883(0x20b)]()+'&source='+Tt[_0x5dd883(0x298)]+_0x5dd883(0x19b)+encodeURIComponent(_0x4d09c2),_0x4e8f36=await(await fetch(_0x10976a,{'method':_0x5dd883(0x323),'body':_0x28022d}))['json']();if(typeof _0x4e8f36['FileId']!=_0x5dd883(0x2c5))return this[_0x5dd883(0x3e1)](),Promise[_0x5dd883(0x282)](new Error(J[_0x5dd883(0x48c)][_0x5dd883(0x306)]));_0x54b7e1=_0x4e8f36['FileId'];}catch{return this[_0x5dd883(0x3e1)](),Promise[_0x5dd883(0x282)](new Error(J[_0x5dd883(0x48c)]['ERROR_IMAGE']));}return new Promise((_0x11bf9e,_0x847c52)=>{var _0x47dbcb=_0x5dd883;const _0x32418f=new FileReader();_0x32418f[_0x47dbcb(0x1ce)](_0x360b80),_0x32418f[_0x47dbcb(0x30f)]=_0x10bce0=>{var _0x12a63b=_0x47dbcb,_0x1f1317;const _0x3a63e3=(_0x1f1317=_0x10bce0[_0x12a63b(0x375)])==null?void 0x0:_0x1f1317[_0x12a63b(0x2bb)];if(_0x3a63e3==null){this[_0x12a63b(0x3e1)](),_0x847c52(new Error(J[_0x12a63b(0x48c)]['ERROR_IMAGE']));return;}const _0x24ef78=a[_0x12a63b(0x395)][_0x12a63b(0x41a)](0x6);_0x11bf9e({'imageId':_0x24ef78,'imageSourceType':J['ImageSourceType'][_0x12a63b(0x179)],'source':_0x54b7e1,'base64Cache':_0x3a63e3,'status':J[_0x12a63b(0x48c)][_0x12a63b(0x2c6)]}),this[_0x12a63b(0x3e1)]();};});}[_0x29ecf9(0x4cb)](){var _0x450a85=_0x29ecf9,_0x46e263,_0x5dbfca;const _0x39780f=this[_0x450a85(0x486)][_0x450a85(0x320)](En),_0xd53024=this['_configService']['getConfig'](Y);return(_0x5dbfca=(_0x46e263=_0xd53024==null?void 0x0:_0xd53024[_0x450a85(0x498)])!=null?_0x46e263:_0x39780f)!=null?_0x5dbfca:Cn;}[_0x29ecf9(0x209)](){var _0x340839=_0x29ecf9,_0x54685e,_0x2f786c;const _0x1cbbf8=this['_configService'][_0x340839(0x320)](Tn),_0x10e562=this[_0x340839(0x486)][_0x340839(0x320)](Y);return(_0x2f786c=(_0x54685e=_0x10e562==null?void 0x0:_0x10e562[_0x340839(0x360)])!=null?_0x54685e:_0x1cbbf8)!=null?_0x2f786c:bn;}['_getDownloadEndpointURL'](){var _0x23621e=_0x29ecf9,_0x4700c0;const _0x287c97=this[_0x23621e(0x486)]['getConfig'](Y);return(_0x4700c0=_0x287c97==null?void 0x0:_0x287c97['downloadEndpointUrl'])!=null?_0x4700c0:location[_0x23621e(0x167)];}[_0x29ecf9(0x1bd)](_0x54515c,_0x405010){var _0xb17224=_0x29ecf9;return _0x54515c[_0xb17224(0x2f5)](_0xb17224(0x153),_0x405010);}[_0x29ecf9(0x3e1)](){var _0x4a395a=_0x29ecf9;this[_0x4a395a(0x38a)]-=0x1,this['_change$'][_0x4a395a(0x3f0)](this[_0x4a395a(0x38a)]);}},exports[_0x29ecf9(0x417)]=gn([xe(0x0,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)])),xe(0x1,a[_0x29ecf9(0x1de)]),xe(0x2,a['Inject'](a[_0x29ecf9(0x322)]))],exports['CollaborationImageIoService']);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x39a26f,_0x354866,_0x2574c9,_0x16f933)=>{var _0x400a81=_0x29ecf9;for(var _0x26eebc=_0x16f933>0x1?void 0x0:_0x16f933?Rn(_0x354866,_0x2574c9):_0x354866,_0x5a2a5c=_0x39a26f[_0x400a81(0x439)]-0x1,_0x8e61c4;_0x5a2a5c>=0x0;_0x5a2a5c--)(_0x8e61c4=_0x39a26f[_0x5a2a5c])&&(_0x26eebc=_0x8e61c4(_0x26eebc)||_0x26eebc);return _0x26eebc;},lt=(_0x5f11ae,_0x2aeb9a)=>(_0x1d5453,_0x5ee645)=>_0x2aeb9a(_0x1d5453,_0x5ee645,_0x5f11ae);const On='/universer-api/authz';function _0x334b(){var _0x13dbba=['onSendChangeset','@univerjs-pro/license','appendMutation','RETRY_CONNECTING_MAX_COUNT_KEY','_acknowledgedAwaitingChangeset','localeService','_tryEnsureSocket','_getLoginPath','findIndex','collaMsg','error$','pluginName','AUTHZ_URL_KEY','CollaborationImageIoService','onTransformRemoteChangesetByStateCache','CBC','generateRandomId','CommandType','@univerjs-pro/collaboration','OFFLINE','@univerjs/docs','byteLength','forEach','LEAVE','isTransformMutationsWithChangesetFailure','getTypeOfUnitAdded$','updatePermissionPoint','_minBufferSize','conflict','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','GLOBAL_ROOMS_CNT_EXCEEDS','serializeCombRequest','UNIVER_SLIDE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_sheetTransformSelectionsService','INGEST','_getSendChangesetTimeout','avatar','catch','CollaborationSession','joinRsp','_members$','OTHER_CLIENTS_EDITING','commentUpdate$','InsertSheetMutation','subject','_emitMembers','length','defineProperty','[CollaborationSessionService]:\x20socket\x20error','_fetchMissChangesets','SUBMIT_CHANGESET_TIMEOUT','CollaborationSocketService','onMissedChangesetFetched','msCrypto','words','loadUnit','ENSURE_SNAPSHOT_EXECUTION','_key','AWAITING','ILocalCacheService','transformMutationsWithChangeset','encode','_prevBlock','_transformRemoteChangesetByIMECache','HttpExport','disposeWithMe','_clearLocalCache','responseType','LOGIN_FAILED','_sender','NoPadding','originalMeta','_memberService','unknown','DEFAULT_FILE_NAME','image/jpeg','list','LOGIN_URL_KEY','/universer-api/comb','_updateState','data','startsWith','MentionIoHttpService','LOCAL_CACHE_INTERVAL','unpad','objectActions','_getAPIPrefix','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','sessionStatus$','unitID','LIVESHARE_TERMINATE','execute','WorkbookEditablePermission','_getCurrentRevision','then','_userManagerService','_collaborationTimeoutTimer','CHANGESET_REJ','_unlockTransition','RichTextEditingMutation','SNAPSHOT_URL_KEY','_collaborationPaused','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','resend','href','filter','revision','INVITE_CODE_REQUIRED','lib','_checkMissing','_HTTPService','_onRemoteRejected','concat','_doProcessBlock','FetchingMissState','COMMENT_UPDATE','find','_stopTelemetryCollaborationNewChangeset','dispose$','_resendTimer','confirm','ISnapshotServerService','_configService','setConfig','isTransformMutationsWithChangesetSuccess','EmptyMutation','put','textRanges','ImageUploadStatusType','_createHandler','_submitChangeset','EvpKDF','SOCKET_FAILED_RETRY','COLLAB_SUBMIT_CHANGESET_URL_KEY','splice','getSheetBlock','createCollaborator','__creator','image/gif','_httpService','uploadFileServerUrl','_createInitialStateImpl','interceptor','unitId\x20is\x20not\x20found','CLOSE_ROOM','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','takeUntil','default','_substituteUndoStack','changesets','_sendHeartbeatTimer','_incrementRevisionNumber','_onRemoteRetry','[PendingState]:\x20received\x20acknowledgement.','synced','[CollaborationEntity]','stringify','incrementRevOfUnit','_tryReconnect','initWorkbookPermissionChange','actions','symbol','pad','_transformService','Decryptor','create','NOT_FOUND','extend','joinEvent','UnitStatus','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getMember','mode','_joinRoom','createInstance','COMPRESS_MUTATION_SEND','SHOULD_CLOSE_CONN','padding','merge','HEARTBEAT_TIMEOUT_KEY','getGlobalObject','IContextService','INVITE_CODE_HAS_BEEN_UES','createIdentifier','function','reduce','range','JSONX','max','_toggleOffline','listCollaborators','_getUploadFileURL','_startCollaboration','enc','roomInfos','[FetchMissState]','take','RxDisposable','resolve','DEFAULT_WS_SESSION_TICKET_URL','_onConflict','ConflictState','saveSnapshot','requestParams','LICENSE_DISTRO_REJECTED','toLowerCase','AES','HEARTBEAT_INTERVAL_KEY','getLatestCsReqIdBySid','copyFileMeta','PERMISSION_DENIED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ERROR_EXCEED_SIZE','state','[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.','emitEvent','getCurrentUser','/universer-api/authz','AuthzIoHttpService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','reverse','{fileID}','_singleActiveUnitService','_socketService','getInterceptPoints','UPDATE_PERMISSION_OBJ','\x0aAfter:\x20','has','_transitionLocked','getTypeOfUnitDisposed$','firstValueFrom','_onUserLeave','touchDependencies','uniscriptRunEvent','_mode','getOwnPropertyDescriptor','Plugin','saveImage','clear','readInt32LE','getMemberID','origin','rxjs/operators','delete','LocaleService','_networkConditionService','[CollaborationUndoRedoService]','HmacMD5','set','parseProtocolChangeset','MentionType','complete','Optional','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SnapshotService','repeat','SNAPSHOT_INVALID_SNAPSHOT','SheetPermissionInitController','Latin1','UUID','src','_logService','12242240yEjINg','HEARTBEAT','_clearRetryConnectingTimer','_hash','format','_sendHeartbeat','session.room-not-exists','csShouldRetryEvent','_undoRedoService','_keyPriorReset','UniverCollaborationClientPlugin','onSyncEditingCollabCursor','duration','Cipher','transformUndoRedo','_onFetchMissResult','add','fetching\x20missing\x20changesets\x20from\x20','[CollaborationSessionService]','unsubscribe','TOO_MANY_REQUESTS','CollaborationStatus','PendingState','_onRemoteACK','INVALID_INVITE_CODE','_iKey','SheetTransformSelectionsService','_sendingTimer','_imageSourceCache','_injector','_transformRemoteChangesetByStateCache','&assign=','session.join-failed','collaboration-client.config','headers','baseRev','pauseCollaboration','c1Prime','[CollaborationSession]','getImage','CommentService','_awaitingChangeset','objects','JOIN','ThresholdInterceptorFactory','LocalUndoRedoService','SHA1','objectID','compose','pending','open$','localCacheService','deepClone','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','setCurrentUser','DocCollaborationEntity','_process','_transformStack','toDisposable','/allowed','_socketMessageSubscription','$super','_resendWithTimeout','updateOfflineData','_transformIMECache','_replaceFileID','_applyRemoteChangeset','CollaborativeUndoRedoService','closeSession','_handler','YUUMI_RATE_OVER_LIMIT','_timeoutTimer','isTransformChangesetsSuccess','_loadDoc','isArray','onLocalMutation','Subject','[OfflineState]:\x20received\x20changeset.','_listenToNetworkCondition','_doCreateSocket','_commandService','updateMember','readAsDataURL','_snapshotService','UNRECOGNIZED','eventID','collaborators','_revisionService','AwaitingWithPendingState','DataLoaderService','_onLocalMutation','apply','_changesetReqId','_shouldReportTelemetry','\x20to\x20','HELLO','values','COLLAB_WEB_SOCKET_URL_KEY','IConfigService','fetch_missing','size','onRemoteRetry','JOIN_ROOM_FAILED','HEARTBEAT_TIMEOUT','_waitForHeartbeatResponse','IMentionIOService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','buffer','_onConnectionOpen','[OfflineState]:\x20received\x20rejection.','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','sequenceExecute','offline','CollaborationSessionService','48hXRBdr','_snapshotServerService','onRemoteChangeset','_onOffline','algo','IUndoRedoService','11878XkkIQe','loadOfflineData','ITelemetryService','CollaborationEntity','socket\x20open.','_sessions','code','_clearCollaborationTimeoutTimer','getLocalCacheKey','_keySchedule','reset','commentUpdateEvent','close','getCurrentSelections','session','SheetCollaborationEntity','onStarting','HEARTBEAT_INTERVAL','_getUndoStack','status$','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSignURL','_exhaustRemoteChangesetQueue','toString','_reverseMap','collabWebSocketUrl','OfflineState','FAIL','putCollaborators','_oKey','99MQNeDa','ISingleActiveUnitService','body','mapDocumentTypeToUniverType','?size=','_clearUndo','toStringTag','_roomCreated$','LIVESHARE_REQUEST_HOST','onRemoteAck','ERROR_IMAGE_TYPE','_initUnitPermissionChange','NO_OTHER_CLIENTS_EDITING','USER_NOT_INVITED_CODE','COMPRESS_MUTATION_APPLY','clamp','onTransformState','People','_nRounds','_candidateSocket','MSG_FOR_ERROR','_collaborationUIEventService','SUBMIT_CHANGESET','1342584KvlHcB','sin','/universer-api/uniscript','_queuedRemoteChangesets','_onConnectionFailed','RevisionService','_append','method','send','_redoStacks','encrypt','deserializeToCombResponse','unitId','UserManagerService','rxjs','subUnitId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getCollabEntity$','SYNCED','CollaborationEvent','Base64','connection\x20error','image/bmp','toggleOnline','ILogService','randomBytes','SNAPSHOT_HAS_BEEN_REMOVED','slice','PY_RUNTIME_SCRIPT_ERROR','_nDataBytes','_localeService','leaveEvent','_permissionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','AWAITING_WITH_PENDING','updateCursorEvent','_collaborationSessionService','onlyLocal','enableOfflineEditing','startTime','onRemoteRej','__esModule','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','params','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sessionStatus$','_unitInfo$','save\x20fail\x20reason\x20is\x20','APPLY_PERMISSION_DENIED','message$','every','substr','_replayCachedMutations','reqId','event$','pipe','/collaborator','patch','objectType','LICENSE_IMPORT_SIZE_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LICENSE_MAX_UNITS_EXCEEDED','Malformed\x20UTF-8\x20data','HTTPService','saveChangeset','getSnapshotAPIPath','BufferedBlockAlgorithm','keySize','cmd','get','_onCombEvent','SEND_CHANGESET_TIMEOUT_KEY','_clearTimeoutTimer','UNKNOWN_CODE','entries','members$','univer-pro.collaboration-client-socket-service','addHandlerCallback','capture','onTransformIME','sigBytes','prototype','map','SNAPSHOT_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','removeMember','HMAC','getResourcesRequest','_eventService','reject','MD5','url','_change$','encryptBlock','hasOwnProperty','b64DecodeUnicode','_undoStacks','LIVESHARE_FETCH_OPERATIONS','liveShareOperation','_scheduleCompleteTimestamp','cfg','_createHelper','univer-pro.collaboration-client.network-condition.service','image/jpg','/role','_unitID','parseChangesetToProtocol','retryConnectingInterval','_getAPIPrefixPath','getCurrentRevOfUnit','loadSheet','UnitEmbedded','floor','MUTATION','CONFLICT','CHANGESET_ACK','_retryConnectingTimer','collaboratorID','COMPLETION_FINISHED','rev','INVITE_CODE_ALREADY_BOUND','focused$','override','_substituteRedoStack','memberID','kdf','Workbook','_resendTimeout','submit\x20changeset\x20error!','hasher','CollaborationUIEventId','_createInitialState','_members','clone','UNISCRIPT_RUN','Encryptor','shouldCloseConn','_ENC_XFORM_MODE','/-/object/-/batch_allowed','COLLAB_WEB_SOCKET_URL','debug','socket$','CHANGESET_SHOULD_RETRY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','OpenSSL','_clearRedo','result','ICommandService','concatMap','univer-pro.collaboration-client.single-active-unit-service','UNIVER_DOC','UPDATE_CURSOR','_transformStateCache','_telemetryService','/universer-api/user/session-ticket','_changesetSessionId','string','SUCCUSS','setShowComponents','APPLY_NON_SEQUENTIAL_REVISION','onCommandExecuted','post','JOIN_ROOM_PERMISSION_DENIED','shareReplay','@univerjs/core','fromCollab','/rev/','_hasher','getCollabEntity','APPLY_REJECT','c2Prime','_clearHeartbeatTimer','\x20in\x20_schedule.','authzUrl','routeKey','getDeserializedSheetBlock','_socketReady','getRandomValues','UNIVER_SHEET','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','decryptBlock','allowed','_event$','onMissingChangesets','12IJaWXz','HTTPRequest','Hasher','_toggleOnline','_isPermissionRej','84528sbfrqO','randomUUID','UniverInstanceType','_updateStatus','iterations','registerDependencies','DEFAULT_COLLAB_WEB_SOCKET_URL','/universer-api/oidc/authpage','fetchMissingChangesets','UniverCollaborationPlugin','title','UnitSnapshot','telemetry\x20info\x20is\x20not\x20initialized','6657940tQCJrT','_state$','replace','asObservable','encodeURIComponent','YUUMI_UNABLE_LOAD_URL','image/png','loadDoc','enableAuthServer','_startTelemetryCollaborationNewChangeset','updatePermissionObjEvent','requireSession','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','executeCommand','USERS_LEAVE','createEncryptor','OTHER_CLIENT_EDITING','DisposableCollection','awaitingChangeset','ERROR_IMAGE','ImageSourceType','equals','_executeRemoteChangeset','/new_changes','_initDependencies','deleteCollaborator','_throwTelemetryCollaborationNewChangeset','_init','onload','awaiting_with_pending','onTransformSelections','awaiting','_commentUpdate$','Disposable','getTime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_rescheduleHeartbeat','transformSelections','UniverNetworkPlugin','UNDEFINED','crypto','IAuthzIoService','_createSocket','_handlerCallback','__Key__','getConfig','salt','IUniverInstanceService','POST','ONLINE','[CollaborationState]:\x20apply\x20error!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_initCloseConn','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','updateCollaborator','withCredentials','LICENSE_EXPORT_SIZE_EXCEEDED','_remoteChangesetQueue','_univerInstanceService','CONNECTOR_DATA_TOO_LARGE','exports','/universer-api/stream/file/upload','refreshPermission','INetworkConditionService','indexOf','_onRemoteChangeset','_clearScheduledTask','ITransformService','_collabSessionService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','PERSON','mergeOverrideWithDependencies','status','byteOffset','UNKNOWN_CMD','_initMergeInterceptor','m2Prime','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HttpImport','entityInit$','LIVESHARE_OPERATION','_doFinalize','/block/','bind','CHANGESET_REVISION_CONFILICT','_onMessage','[PendingState]:\x20received\x20rejection.','liveShareNewHost','fetchThroughInterceptors','_iv','socketService','1689IaydPq','JOINING','readyForCollab','getUnitId','/universer-api/snapshot/','PENDING','onTransformRemoteChangesetByIMECache','_doCryptBlock','_getDownloadEndpointURL','isPermissionRej','getValue','ivSize','state$','fetchMiss','location','_schedule','860tcBzGE','signUrlServerUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ALREADY_EXISTS','push','JOIN_ROOM_NOT_EXISTS','parse','subscribe','_updateLocalCache','Base','\x20-\x20','Undefined','append','_invKeySchedule','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','PERMISSION_REJ','Inject','/object/','csRejEvent','createSocket','_registerDependencies','SnapshotServerOverHTTPService','target','charAt','_entities','Injector','rng','registerHTTPInterceptor','stopTime','_commentService','_syncEditingCollabCursor','_type','compute','fromCharCode','SessionStatus','CompressMutationService','resourceIDs','charCodeAt','Pkcs7','session.room-full','_onJoinRoomEvent','RECV','YUUMI_URL_COL_OUT_OF_RANGE','_waitCount','/unit/','_disableEditing','reconnect','_state','call','IDLE','selections','_scheduleCollaborationTimeoutTimer','_data','collaboration_new_changeset','Tools','IPermissionService','snapshotServerUrl','_telemetryInfo','createDecryptor','sessionStatus','blockSize','UNAUTHENTICATED','session.room-cnt-exceeds','/object','[DataLoaderService]','mixIn','_createHmacHelper','LIVESHARE_NEW_HOST','CollaborationUIEventService','326aIJyoq','newCsEvent','join','action','csAckEvent','/universer-api/file/{fileID}/sign-url','USERS_ENTER','getUnitOnRev','_xformMode','getUnitType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','formatter','socket\x20close','_parse','error','init','LOCAL_CACHE_INTERVAL_KEY','finalize','userID','delay','_instanceService','UNIVER_UNKNOWN','AwaitingState','_localCacheService','_lockTransition','@univerjs/network','OPTIONAL','collabSubmitChangesetUrl','collaboration-client.local-cache-service','_socket$','dispose','_getCtorByUniverType','_removeRoom','update','CollaborationController','_status$','textEncoder','ISocketService','_cipher','COLLAB_SUBMIT_CHANGESET_URL','_pendingMutations','_config','ReplaySubject','SyncedState','FETCH_MISSING','SerializableCipher','_transformUndoredo','name','ceil','INVALID_ARGUMENT','workbook','SheetsSelectionsService','_socket','JOIN_ROOM_FULL','disableLocalCache','_retryCount','now','_map','processBlock','5017698MFhIjf','MemberService','_decreaseWaiting','_onUserJoin','key','Rectangle','_compressMutationService','@univerjs/telemetry','getWorkbookSelections','RETRY_CONNECTING_MAX_COUNT','type','sheets','sid','listRoles','_doReset','Could\x20not\x20dynamically\x20require\x20\x22','Module','next','getImageSourceCache','snapshot','_showConflictNotification','NOT_COLLAB','decrypt','mutations','_onRecvEvent','transformChangesets','editing\x20status\x20changed\x20to','_roomMembers','UNIVER_PROJECT','sendChangesetTimeout','batchAllowed','getAllMembers','BehaviorSubject','ciphertext','toggleOffline','_entityInit$','Utf8','APPLY_REVISION_CONFILICT','close$','random','session.room-permission-denied','WordArray','online$'];_0x334b=function(){return _0x13dbba;};return _0x334b();}exports[_0x29ecf9(0x45d)]=class{constructor(_0x10287f,_0x11fc19){var _0x5362dc=_0x29ecf9;this[_0x5362dc(0x486)]=_0x10287f,this[_0x5362dc(0x47a)]=_0x11fc19;}[_0x29ecf9(0x295)](){var _0x351da9=_0x29ecf9,_0x37e2a7,_0x2a73a1;const _0x20d08b=this['_configService']['getConfig'](Ge),_0x1134b7=this['_configService'][_0x351da9(0x320)](Y);return(_0x2a73a1=(_0x37e2a7=_0x1134b7==null?void 0x0:_0x1134b7[_0x351da9(0x2d6)])!=null?_0x37e2a7:_0x20d08b)!=null?_0x2a73a1:On;}async[_0x29ecf9(0x457)](_0x4d5a22){var _0x120783=_0x29ecf9;const _0xaf178e=this['_getAPIPrefixPath']()+_0x120783(0x261);return{'list':[{'title':_0x120783(0x223),'mentions':(await this[_0x120783(0x47a)]['get'](_0xaf178e,{'params':{'objectID':_0x4d5a22[_0x120783(0x235)],'unitID':_0x4d5a22[_0x120783(0x235)]}}))[_0x120783(0x214)]['collaborators']['map'](_0x2e3b2f=>({'objectId':_0x2e3b2f['id'],'name':_0x2e3b2f[_0x120783(0x437)][_0x120783(0x3d3)],'metadata':{'icon':_0x2e3b2f['subject'][_0x120783(0x42f)]},'label':_0x2e3b2f[_0x120783(0x437)]['name'],'objectType':a[_0x120783(0x170)]['PERSON']})),'metadata':{},'type':a[_0x120783(0x170)][_0x120783(0x339)]}]};}},exports[_0x29ecf9(0x45d)]=yn([lt(0x0,a[_0x29ecf9(0x36f)](a[_0x29ecf9(0x1de)])),lt(0x1,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)]))],exports[_0x29ecf9(0x45d)]);var Nn=Object[_0x29ecf9(0x161)],Dn=(_0x15bcdb,_0x4a17b8,_0x4aab84,_0x1d77a4)=>{var _0x2c05c1=_0x29ecf9;for(var _0x551ada=_0x1d77a4>0x1?void 0x0:_0x1d77a4?Nn(_0x4a17b8,_0x4aab84):_0x4a17b8,_0x109c83=_0x15bcdb[_0x2c05c1(0x439)]-0x1,_0x5bf18a;_0x109c83>=0x0;_0x109c83--)(_0x5bf18a=_0x15bcdb[_0x109c83])&&(_0x551ada=_0x5bf18a(_0x551ada)||_0x551ada);return _0x551ada;},ue=(_0x18a307,_0x4dc5f9)=>(_0x4f2583,_0x1fcf53)=>_0x4dc5f9(_0x4f2583,_0x1fcf53,_0x18a307);let De=class extends a[_0x29ecf9(0x4d1)]{constructor(_0x2b9fc0,_0x52ab2e,_0x5ce7d9,_0x33015c,_0x1f5ce6){var _0x28b493=_0x29ecf9;super(),this[_0x28b493(0x199)]=_0x2b9fc0,this['_univerInstanceService']=_0x52ab2e,this[_0x28b493(0x249)]=_0x5ce7d9,this[_0x28b493(0x24d)]=_0x33015c,this[_0x28b493(0x227)]=_0x1f5ce6,this[_0x28b493(0x21d)](),this['_initCloseConn']();}[_0x29ecf9(0x327)](){var _0x11bcd3=_0x29ecf9;const _0x3eab06=async _0x1ef39c=>{var _0x4d49ff=_0x5bf0;(await this['_collaborationSessionService']['requireSession'](_0x1ef39c))[_0x4d49ff(0x25f)][_0x4d49ff(0x260)](V[_0x4d49ff(0x475)](_0x3eadd2=>_0x3eadd2[_0x4d49ff(0x1d1)]===g[_0x4d49ff(0x23c)][_0x4d49ff(0x4bc)]),V[_0x4d49ff(0x49e)](this[_0x4d49ff(0x482)]))[_0x4d49ff(0x366)](_0x592840=>{var _0x2c8062=_0x4d49ff;const _0x3a84a4=_0x592840,{reason:_0x200de6}=_0x3a84a4[_0x2c8062(0x45b)];this[_0x2c8062(0x227)][_0x2c8062(0x14d)]({'id':Q['CLOSE_ROOM'],'data':_0x200de6}),this['_permissionService']['updatePermissionPoint'](new Z[(_0x2c8062(0x468))](_0x1ef39c)['id'],!0x1),this['_collaborationSessionService'][_0x2c8062(0x1c0)](_0x1ef39c);});};j[_0x11bcd3(0x4be)](this[_0x11bcd3(0x32d)][_0x11bcd3(0x423)](a[_0x11bcd3(0x2e8)][_0x11bcd3(0x2db)]),this[_0x11bcd3(0x32d)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x11bcd3(0x260)](V['map'](_0x68c164=>_0x68c164['getUnitId']()),V[_0x11bcd3(0x475)](_0x19f361=>!a['isInternalEditorID'](_0x19f361)),V[_0x11bcd3(0x49e)](this['dispose$']))[_0x11bcd3(0x366)](_0x1d1ea5=>{_0x3eab06(_0x1d1ea5);});}[_0x29ecf9(0x21d)](){var _0x3b7cb9=_0x29ecf9;const _0x56c67c=async _0x1b34ae=>{var _0x136076=_0x5bf0;const _0x293a2c=await this[_0x136076(0x24d)]['requireSession'](_0x1b34ae),_0x310c7f=this[_0x136076(0x199)][_0x136076(0x26e)](Z[_0x136076(0x177)]);_0x293a2c['event$'][_0x136076(0x260)](V[_0x136076(0x475)](_0x1bba00=>_0x1bba00[_0x136076(0x1d1)]===g[_0x136076(0x23c)][_0x136076(0x157)]),V[_0x136076(0x49e)](this['dispose$']))['subscribe'](_0x1f4a59=>{var _0x6d75d4=_0x136076;const _0xe3f0c7=_0x1f4a59,{objectId:_0x3de734}=_0xe3f0c7[_0x6d75d4(0x45b)];_0x3de734===_0x1b34ae?_0x310c7f[_0x6d75d4(0x4ab)](_0x1b34ae):_0x310c7f[_0x6d75d4(0x331)](_0x1b34ae,_0x3de734);});};j[_0x3b7cb9(0x4be)](this[_0x3b7cb9(0x32d)][_0x3b7cb9(0x423)](a[_0x3b7cb9(0x2e8)][_0x3b7cb9(0x2db)]))[_0x3b7cb9(0x260)](V[_0x3b7cb9(0x27b)](_0x52430b=>_0x52430b[_0x3b7cb9(0x352)]()),V[_0x3b7cb9(0x475)](_0x530f94=>!a['isInternalEditorID'](_0x530f94)),V[_0x3b7cb9(0x49e)](this['dispose$']))[_0x3b7cb9(0x366)](_0x312960=>{_0x56c67c(_0x312960);});}};De=Dn([ue(0x0,a[_0x29ecf9(0x36f)](a['Injector'])),ue(0x1,a[_0x29ecf9(0x322)]),ue(0x2,a['IPermissionService']),ue(0x3,a[_0x29ecf9(0x36f)](exports[_0x29ecf9(0x1ed)])),ue(0x4,a[_0x29ecf9(0x36f)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x3ed910,_0x134cb9,_0x20a3b4,_0x3921a2)=>{var _0x45929e=_0x29ecf9;for(var _0x597b9a=_0x3921a2>0x1?void 0x0:_0x3921a2?Un(_0x134cb9,_0x20a3b4):_0x134cb9,_0x4cc231=_0x3ed910[_0x45929e(0x439)]-0x1,_0x3af770;_0x4cc231>=0x0;_0x4cc231--)(_0x3af770=_0x3ed910[_0x4cc231])&&(_0x597b9a=_0x3af770(_0x597b9a)||_0x597b9a);return _0x597b9a;},_t=(_0x30b55c,_0x4950e6)=>(_0x395bac,_0x314ba6)=>_0x4950e6(_0x395bac,_0x314ba6,_0x30b55c);exports['SnapshotServerOverHTTPService']=class{constructor(_0x1120ca,_0x26e13b){var _0x27543c=_0x29ecf9;this[_0x27543c(0x486)]=_0x1120ca,this['_httpService']=_0x26e13b;}async[_0x29ecf9(0x3ab)](_0x2ef092,_0x5899fd){var _0x1ff450=_0x29ecf9,_0x3d4af7;const {unitID:_0x32fc95,type:_0xac3081,revision:_0x2d0f3e=0x0}=_0x5899fd,_0x34960f=this[_0x1ff450(0x26a)]()+'/'+_0xac3081+'/unit/'+_0x32fc95+_0x1ff450(0x2cf)+_0x2d0f3e,_0x4f90cc=(await this['_httpService']['get'](_0x34960f))['body'],_0x592a66=(_0x3d4af7=_0x4f90cc[_0x1ff450(0x3f2)])==null?void 0x0:_0x3d4af7[_0x1ff450(0x3d6)];if(_0x592a66){const _0x410941=_0x592a66==null?void 0x0:_0x592a66[_0x1ff450(0x452)],_0x20ebae=g['textEncoder'][_0x1ff450(0x448)](g[_0x1ff450(0x288)](_0x410941));_0x592a66[_0x1ff450(0x452)]=_0x20ebae,Object[_0x1ff450(0x273)](_0x592a66[_0x1ff450(0x3ea)])[_0x1ff450(0x420)](([,_0x189c5b])=>{var _0x37d954=_0x1ff450;const _0x4361f4=_0x189c5b['originalMeta'],_0x12ba0f=g[_0x37d954(0x3c8)][_0x37d954(0x448)](g[_0x37d954(0x288)](_0x4361f4));_0x189c5b[_0x37d954(0x452)]=_0x12ba0f;});}return _0x4f90cc;}async[_0x29ecf9(0x493)](_0x1a91ef,_0x1e016a){var _0x3a1c5a=_0x29ecf9;const {unitID:_0x2e3e10,type:_0x4040ce,blockID:_0x583cb1}=_0x1e016a,_0x148fa0=this[_0x3a1c5a(0x461)]()+'/'+_0x4040ce+_0x3a1c5a(0x38b)+_0x2e3e10+_0x3a1c5a(0x346)+_0x583cb1;return(await this['_httpService'][_0x3a1c5a(0x26e)](_0x148fa0))['body'];}async[_0x29ecf9(0x2d8)](_0x2457ce,_0x430618){var _0x3c3cb0=_0x29ecf9;const {unitID:_0x34b39a,type:_0x2aea77,blockID:_0xfe855c}=_0x430618,_0x2f9fb8=this[_0x3c3cb0(0x461)]()+'/block/'+_0x2aea77+_0x3c3cb0(0x38b)+_0x34b39a+_0x3c3cb0(0x346)+_0xfe855c;return(await this['_httpService'][_0x3c3cb0(0x26e)](_0x2f9fb8))['body'];}async['fetchMissingChangesets'](_0x1eedaa,_0x503262){var _0x4bda13=_0x29ecf9;const {unitID:_0x514c86,type:_0x24e4cb,from:_0x2dc2be,to:_0x5a259b}=_0x503262,_0x4021b3=this[_0x4bda13(0x461)]()+'/'+_0x24e4cb+_0x4bda13(0x38b)+_0x514c86+'/fetchmissing?from='+_0x2dc2be+'&to='+_0x5a259b;return(await this[_0x4bda13(0x497)][_0x4bda13(0x26e)](_0x4021b3))[_0x4bda13(0x214)];}['getSnapshotAPIPath'](){var _0xdc7273;return(_0xdc7273=this['_configService']['getConfig'](vt))!=null?_0xdc7273:this['_getAPIPrefix']();}[_0x29ecf9(0x461)](){var _0x1eeba3=_0x29ecf9,_0x2e218d,_0x4a7d07;const _0x487786=this[_0x1eeba3(0x486)][_0x1eeba3(0x320)](dt),_0x3dd33f=this['_configService'][_0x1eeba3(0x320)](Y);return(_0x4a7d07=(_0x2e218d=_0x3dd33f==null?void 0x0:_0x3dd33f[_0x1eeba3(0x397)])!=null?_0x2e218d:_0x487786)!=null?_0x4a7d07:kt;}async[_0x29ecf9(0x280)](_0x2c5951,_0xb3e1a){var _0x56acce=_0x29ecf9;const _0x55a0ae=_0x56acce(0x353)+_0xb3e1a[_0x56acce(0x3e9)]+_0x56acce(0x38b)+_0xb3e1a[_0x56acce(0x465)]+'/resources';return(await this[_0x56acce(0x497)][_0x56acce(0x26e)](_0x55a0ae,{'params':{'resourceId':JSON[_0x56acce(0x4a8)](_0xb3e1a[_0x56acce(0x383)])}}))['body'];}[_0x29ecf9(0x4d6)](){var _0x177fb8=_0x29ecf9;throw new Error(_0x177fb8(0x49d));}['saveSheetBlock'](){var _0x4e8a4b=_0x29ecf9;throw new Error(_0x4e8a4b(0x49d));}[_0x29ecf9(0x269)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x29ecf9(0x147)](){var _0x1d5dc2=_0x29ecf9;throw new Error(_0x1d5dc2(0x49d));}[_0x29ecf9(0x146)](){var _0x5bed25=_0x29ecf9;throw new Error(_0x5bed25(0x49d));}},exports[_0x29ecf9(0x374)]=An([_t(0x0,a[_0x29ecf9(0x1de)]),_t(0x1,a[_0x29ecf9(0x36f)](q[_0x29ecf9(0x268)]))],exports[_0x29ecf9(0x374)]);var Pn=Object[_0x29ecf9(0x161)],wn=(_0x444301,_0x5b7d5f,_0x43bff6,_0x2281d5)=>{var _0x4c0197=_0x29ecf9;for(var _0x4ee2de=_0x2281d5>0x1?void 0x0:_0x2281d5?Pn(_0x5b7d5f,_0x43bff6):_0x5b7d5f,_0x3a620a=_0x444301[_0x4c0197(0x439)]-0x1,_0x3eb2f0;_0x3a620a>=0x0;_0x3a620a--)(_0x3eb2f0=_0x444301[_0x3a620a])&&(_0x4ee2de=_0x3eb2f0(_0x4ee2de)||_0x4ee2de);return _0x4ee2de;},de=(_0x6035ce,_0x36253b)=>(_0x5a49a4,_0x118b59)=>_0x36253b(_0x5a49a4,_0x118b59,_0x6035ce);exports[_0x29ecf9(0x1bf)]=class extends a[_0x29ecf9(0x1a9)]{constructor(_0x4ad594,_0x4cf89a,_0x2924c9,_0x179817,_0x23cb1d){var _0x43afea=_0x29ecf9;super(_0x4ad594,_0x4cf89a,_0x2924c9),this[_0x43afea(0x4af)]=_0x179817,this[_0x43afea(0x17b)]=_0x23cb1d;}[_0x29ecf9(0x18a)](_0x33bb36,_0x13763e){var _0x32c996=_0x29ecf9;const _0x1328f1=this[_0x32c996(0x206)](_0x33bb36);if(_0x1328f1)try{const _0x4d80aa=this[_0x32c996(0x1b5)](_0x1328f1,_0x13763e);this[_0x32c996(0x4a0)](_0x33bb36,_0x4d80aa);}catch(_0x3f2964){this[_0x32c996(0x17b)][_0x32c996(0x3b2)](_0x32c996(0x16c),_0x3f2964),this['_clearUndo'](_0x33bb36);}const _0x2feff0=this['_getRedoStack'](_0x33bb36);if(_0x2feff0)try{const _0x87b0ca=this[_0x32c996(0x1b5)](_0x2feff0,_0x13763e);this[_0x32c996(0x2a4)](_0x33bb36,_0x87b0ca);}catch(_0x70ca61){this[_0x32c996(0x17b)][_0x32c996(0x3b2)](_0x70ca61),this[_0x32c996(0x2ba)](_0x33bb36);}}[_0x29ecf9(0x217)](_0x34f2c4){var _0x1b629e=_0x29ecf9;const _0x31b60a=this['_getUndoStack'](_0x34f2c4);_0x31b60a&&(_0x31b60a[_0x1b629e(0x439)]=0x0,this[_0x1b629e(0x2e9)]());}[_0x29ecf9(0x2ba)](_0x43b7c6){var _0x3b3c8d=_0x29ecf9;const _0x15ae93=this['_getRedoStack'](_0x43b7c6);_0x15ae93&&(_0x15ae93['length']=0x0,this[_0x3b3c8d(0x2e9)]());}['_substituteUndoStack'](_0x1a44f7,_0x23b142){var _0xe9c41=_0x29ecf9;this[_0xe9c41(0x289)][_0xe9c41(0x16e)](_0x1a44f7,_0x23b142),this[_0xe9c41(0x2e9)]();}[_0x29ecf9(0x2a4)](_0x67c56b,_0x22ba03){var _0x23c694=_0x29ecf9;this[_0x23c694(0x232)]['set'](_0x67c56b,_0x22ba03),this['_updateStatus']();}[_0x29ecf9(0x1b5)](_0x506470,_0x1335af){var _0x1e9ac6=_0x29ecf9;const _0x408739=[];let _0x440fc0=_0x1335af,_0x47202b=_0x1335af;for(let _0x5b12ae=_0x506470[_0x1e9ac6(0x439)]-0x1;_0x5b12ae>=0x0;_0x5b12ae--){const {unitID:_0x412a87,undoMutations:_0x686cb2,redoMutations:_0x20bb58}=_0x506470[_0x5b12ae],_0x3b076a=this[_0x1e9ac6(0x4af)][_0x1e9ac6(0x447)](_0x440fc0,_0x686cb2),_0x1526d6=this['_transformService']['transformMutationsWithChangeset'](_0x47202b,_0x20bb58);if(g[_0x1e9ac6(0x422)](_0x3b076a)||g['isTransformMutationsWithChangesetFailure'](_0x1526d6)){this[_0x1e9ac6(0x17b)][_0x1e9ac6(0x3b2)](_0x1e9ac6(0x16c),'transformStack\x20failed!',_0x3b076a,_0x1526d6);break;}_0x440fc0=_0x3b076a[_0x1e9ac6(0x1a1)],_0x47202b=_0x1526d6[_0x1e9ac6(0x1a1)],_0x408739[_0x1e9ac6(0x363)]({'unitID':_0x412a87,'undoMutations':_0x3b076a[_0x1e9ac6(0x33f)],'redoMutations':_0x1526d6[_0x1e9ac6(0x33f)]});}return _0x408739[_0x1e9ac6(0x152)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x29ecf9(0x322)]),de(0x1,a[_0x29ecf9(0x2bc)]),de(0x2,a[_0x29ecf9(0x4c1)]),de(0x3,g[_0x29ecf9(0x336)]),de(0x4,a[_0x29ecf9(0x241)])],exports[_0x29ecf9(0x1bf)]);var Ln=Object['defineProperty'],Mn=Object[_0x29ecf9(0x161)],xn=(_0x1785b6,_0x25a84a,_0x467eba)=>_0x25a84a in _0x1785b6?Ln(_0x1785b6,_0x25a84a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x467eba}):_0x1785b6[_0x25a84a]=_0x467eba,kn=(_0x38b1a9,_0x5348a5,_0x390b58,_0x2f1457)=>{var _0xe288f8=_0x29ecf9;for(var _0xa2e32=_0x2f1457>0x1?void 0x0:_0x2f1457?Mn(_0x5348a5,_0x390b58):_0x5348a5,_0xb292c4=_0x38b1a9[_0xe288f8(0x439)]-0x1,_0x3f0b6b;_0xb292c4>=0x0;_0xb292c4--)(_0x3f0b6b=_0x38b1a9[_0xb292c4])&&(_0xa2e32=_0x3f0b6b(_0xa2e32)||_0xa2e32);return _0xa2e32;},ke=(_0x80c19a,_0x3a5390)=>(_0x5869ef,_0x318d44)=>_0x3a5390(_0x5869ef,_0x318d44,_0x80c19a),Hn=(_0x36efa0,_0x330902,_0x498cf2)=>xn(_0x36efa0,_0x330902+'',_0x498cf2);const jn=_0x29ecf9(0x255);exports['UniverCollaborationClientPlugin']=class extends a[_0x29ecf9(0x162)]{constructor(_0x4f1891,_0x23dda7,_0x31c225,_0x27190f){var _0x138665=_0x29ecf9;super(),A(this,_0x138665(0x3cd)),(this[_0x138665(0x17b)]=_0x23dda7,this[_0x138665(0x199)]=_0x31c225,this[_0x138665(0x486)]=_0x27190f);const {..._0x389581}=a[_0x138665(0x4be)]({},Jt,_0x4f1891);if(!_0x389581['socketService'])throw new Error(_0x138665(0x338));this[_0x138665(0x3cd)]=_0x389581,this[_0x138665(0x486)][_0x138665(0x487)](Y,_0x389581);}[_0x29ecf9(0x204)](){var _0x5d6660=_0x29ecf9;this[_0x5d6660(0x373)](),this[_0x5d6660(0x30b)]();}[_0x29ecf9(0x373)](){var _0x15aacd=_0x29ecf9,_0xae4cbf,_0x4bb791;this[_0x15aacd(0x199)][_0x15aacd(0x159)](a[_0x15aacd(0x1f3)])&&this[_0x15aacd(0x17b)]['error']('[UniverCollaborationClientPlugin]',_0x15aacd(0x328));const _0x2fd065=a[_0x15aacd(0x33a)]([[a[_0x15aacd(0x1f3)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x15aacd(0x1ed)]],[exports[_0x15aacd(0x3e0)]],[exports[_0x15aacd(0x196)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x15aacd(0x1d5)]],[$e,{'useClass':this[_0x15aacd(0x3cd)][_0x15aacd(0x34e)]}],[g['ISnapshotServerService'],{'useClass':exports[_0x15aacd(0x374)]}],[a[_0x15aacd(0x31c)],{'useClass':exports['AuthzIoHttpService']}],[J['IImageIoService'],{'useClass':exports[_0x15aacd(0x417)]}],[a[_0x15aacd(0x1e5)],{'useClass':exports[_0x15aacd(0x45d)]}],[exports[_0x15aacd(0x3c6)]],[He]],(_0xae4cbf=this[_0x15aacd(0x3cd)])==null?void 0x0:_0xae4cbf[_0x15aacd(0x2a3)]);if(!((_0x4bb791=this[_0x15aacd(0x3cd)])!=null&&_0x4bb791['enableSingleActiveInstanceLock'])){const _0x4862b8=_0x2fd065[_0x15aacd(0x412)](([_0xc3301])=>_0xc3301===ve);_0x4862b8!==-0x1&&_0x2fd065['splice'](_0x4862b8,0x1);}a[_0x15aacd(0x2eb)](this[_0x15aacd(0x199)],_0x2fd065);}[_0x29ecf9(0x30b)](){var _0x49fcab=_0x29ecf9,_0x654e49,_0x547fdf,_0x5267f1;this[_0x49fcab(0x199)][_0x49fcab(0x26e)](q[_0x49fcab(0x268)])[_0x49fcab(0x37a)]({'priority':0x14,'interceptor':q[_0x49fcab(0x1a8)]({'maxParallel':0x6})}),(_0x654e49=this[_0x49fcab(0x3cd)])!=null&&_0x654e49[_0x49fcab(0x24f)]||(_0x547fdf=this[_0x49fcab(0x199)][_0x49fcab(0x26e)](z,a['Quantity'][_0x49fcab(0x3be)]))==null||_0x547fdf[_0x49fcab(0x3da)](),(_0x5267f1=this[_0x49fcab(0x3cd)])!=null&&_0x5267f1[_0x49fcab(0x2fb)]&&a[_0x49fcab(0x15e)](this[_0x49fcab(0x199)],[[Oe]]),a['touchDependencies'](this['_injector'],[[Ne],[exports[_0x49fcab(0x3c6)]],[De]]);}},Hn(exports[_0x29ecf9(0x186)],_0x29ecf9(0x415),jn),exports['UniverCollaborationClientPlugin']=kn([a['DependentOn'](g[_0x29ecf9(0x2ef)],q[_0x29ecf9(0x319)]),ke(0x1,a[_0x29ecf9(0x241)]),ke(0x2,a['Inject'](a[_0x29ecf9(0x378)])),ke(0x3,a[_0x29ecf9(0x1de)])],exports[_0x29ecf9(0x186)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x29ecf9(0x463)]=Y,exports[_0x29ecf9(0x491)]=It,exports[_0x29ecf9(0x1dd)]=St,exports[_0x29ecf9(0x191)]=Ve,exports[_0x29ecf9(0x2ab)]=Q,exports[_0x29ecf9(0x3a3)]=te,exports[_0x29ecf9(0x1a4)]=Be,exports[_0x29ecf9(0x2ec)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x29ecf9(0x4d3)]=$t,exports[_0x29ecf9(0x145)]=pt,exports[_0x29ecf9(0x4bf)]=je,exports['ICollaborationSocketService']=$e,exports[_0x29ecf9(0x446)]=z,exports[_0x29ecf9(0x332)]=bt,exports[_0x29ecf9(0x213)]=ve,exports[_0x29ecf9(0x45e)]=Gt,exports[_0x29ecf9(0x3b4)]=Wt,exports[_0x29ecf9(0x458)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x29ecf9(0x40d)]=mt,exports[_0x29ecf9(0x270)]=Ht,exports[_0x29ecf9(0x27c)]=dt,exports[_0x29ecf9(0x470)]=vt,exports[_0x29ecf9(0x381)]=se,exports[_0x29ecf9(0x4b5)]=Fe,exports[_0x29ecf9(0x234)]=Rt,exports[_0x29ecf9(0x1fc)]=vi,exports[_0x29ecf9(0x429)]=yt;
|