@univerjs-pro/collaboration-client 0.6.0-nightly.202501251605 → 0.6.0-nightly.202501271606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -13
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x1c5774=_0x4097;(function(_0x3b5b30,_0x662c67){var _0xb8257f=_0x4097,_0x231dcf=_0x3b5b30();while(!![]){try{var _0x32c433=parseInt(_0xb8257f(0x4d5))/0x1+-parseInt(_0xb8257f(0x311))/0x2*(parseInt(_0xb8257f(0x447))/0x3)+-parseInt(_0xb8257f(0x1a9))/0x4*(parseInt(_0xb8257f(0x1dd))/0x5)+-parseInt(_0xb8257f(0x15c))/0x6+parseInt(_0xb8257f(0x317))/0x7*(parseInt(_0xb8257f(0x1e2))/0x8)+-parseInt(_0xb8257f(0x44b))/0x9*(-parseInt(_0xb8257f(0x27e))/0xa)+parseInt(_0xb8257f(0x235))/0xb;if(_0x32c433===_0x662c67)break;else _0x231dcf['push'](_0x231dcf['shift']());}catch(_0x2b3362){_0x231dcf['push'](_0x231dcf['shift']());}}}(_0x4427,0x973b1));var Mt=Object['defineProperty'],xt=(_0x157cd1,_0x564cae,_0x547e88)=>_0x564cae in _0x157cd1?Mt(_0x157cd1,_0x564cae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x547e88}):_0x157cd1[_0x564cae]=_0x547e88,D=(_0x557b9d,_0x3777ec,_0x5b5ec2)=>xt(_0x557b9d,typeof _0x3777ec!=_0x1c5774(0x40c)?_0x3777ec+'':_0x3777ec,_0x5b5ec2);Object[_0x1c5774(0x2b1)](exports,Symbol[_0x1c5774(0x42d)],{'value':_0x1c5774(0x200)});const a=require(_0x1c5774(0x206)),H=require(_0x1c5774(0x23d)),W=require(_0x1c5774(0x1eb)),q=require(_0x1c5774(0x473)),m=require(_0x1c5774(0x324)),jt=require('@univerjs/telemetry'),dt=require(_0x1c5774(0x259)),J=require(_0x1c5774(0x3c2)),X=require(_0x1c5774(0x435)),$t=require(_0x1c5774(0x2de)),vt=_0x1c5774(0x185),Ht=_0x1c5774(0x2b2),ft='SNAPSHOT_URL_KEY',kt=_0x1c5774(0x4c7),Bt=0x7d0,St=_0x1c5774(0x306),pt=_0x1c5774(0x24f),Ft=_0x1c5774(0x48a),mt=_0x1c5774(0x17f),Wt=0x7530,He=_0x1c5774(0x336),gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt=_0x1c5774(0x2b0),Yt=0x3e8,Et=_0x1c5774(0x2f1),qt=_0x1c5774(0x366),Ct=_0x1c5774(0x193),zt=_0x1c5774(0x4b8),Jt=_0x1c5774(0x2c2),Xt='/universer-api/uniscript';var Tt=(_0x47bd5b=>(_0x47bd5b[_0x47bd5b['UNDEFINED']=0x0]=_0x1c5774(0x360),_0x47bd5b[_0x47bd5b['OK']=0x1]='OK',_0x47bd5b[_0x47bd5b[_0x1c5774(0x28a)]=0x2]='INTERNAL_ERROR',_0x47bd5b[_0x47bd5b[_0x1c5774(0x3f7)]=0x3]=_0x1c5774(0x3f7),_0x47bd5b[_0x47bd5b[_0x1c5774(0x1af)]=0x4]=_0x1c5774(0x1af),_0x47bd5b[_0x47bd5b[_0x1c5774(0x34b)]=0x5]=_0x1c5774(0x34b),_0x47bd5b[_0x47bd5b[_0x1c5774(0x1ae)]=0x6]=_0x1c5774(0x1ae),_0x47bd5b[_0x47bd5b[_0x1c5774(0x49e)]=0x7]=_0x1c5774(0x49e),_0x47bd5b[_0x47bd5b[_0x1c5774(0x1da)]=0x8]=_0x1c5774(0x1da),_0x47bd5b[_0x47bd5b[_0x1c5774(0x1a0)]=0x9]=_0x1c5774(0x1a0),_0x47bd5b[_0x47bd5b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1c5774(0x168),_0x47bd5b[_0x47bd5b[_0x1c5774(0x381)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x47bd5b[_0x47bd5b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x47bd5b[_0x47bd5b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c5774(0x16f),_0x47bd5b[_0x47bd5b[_0x1c5774(0x3d0)]=0x1b59]='APPLY_REJECT',_0x47bd5b[_0x47bd5b[_0x1c5774(0x32a)]=0x1b5a]=_0x1c5774(0x32a),_0x47bd5b[_0x47bd5b[_0x1c5774(0x323)]=0x1b5b]=_0x1c5774(0x323),_0x47bd5b[_0x47bd5b[_0x1c5774(0x273)]=0x1b5c]=_0x1c5774(0x273),_0x47bd5b[_0x47bd5b[_0x1c5774(0x1ed)]=0x1b5d]=_0x1c5774(0x1ed),_0x47bd5b[_0x47bd5b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x47bd5b[_0x47bd5b[_0x1c5774(0x320)]=0x2329]=_0x1c5774(0x320),_0x47bd5b[_0x47bd5b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1c5774(0x2c7),_0x47bd5b[_0x47bd5b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x47bd5b[_0x47bd5b[_0x1c5774(0x375)]=0x232c]=_0x1c5774(0x375),_0x47bd5b[_0x47bd5b[_0x1c5774(0x368)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x47bd5b[_0x47bd5b[_0x1c5774(0x4c4)]=0x2711]=_0x1c5774(0x4c4),_0x47bd5b[_0x47bd5b[_0x1c5774(0x361)]=0x2712]=_0x1c5774(0x361),_0x47bd5b[_0x47bd5b[_0x1c5774(0x4bf)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x47bd5b[_0x47bd5b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1c5774(0x2f5),_0x47bd5b[_0x47bd5b[_0x1c5774(0x356)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x47bd5b[_0x47bd5b[_0x1c5774(0x220)]=-0x1]=_0x1c5774(0x220),_0x47bd5b))(Tt||{}),Z=(_0x47fcca=>(_0x47fcca[_0x47fcca[_0x1c5774(0x1cd)]=0x0]=_0x1c5774(0x1cd),_0x47fcca[_0x47fcca['UNIVER_DOC']=0x1]=_0x1c5774(0x466),_0x47fcca[_0x47fcca['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x47fcca[_0x47fcca['UNIVER_SLIDE']=0x3]=_0x1c5774(0x444),_0x47fcca[_0x47fcca[_0x1c5774(0x328)]=0x4]='UNIVER_PROJECT',_0x47fcca[_0x47fcca['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x47fcca))(Z||{}),G=(_0x4883c8=>(_0x4883c8[_0x4883c8['UNKNOWN_CMD']=0x0]=_0x1c5774(0x3fe),_0x4883c8[_0x4883c8['HELLO']=0x1]=_0x1c5774(0x21f),_0x4883c8[_0x4883c8[_0x1c5774(0x2c8)]=0x2]='JOIN',_0x4883c8[_0x4883c8[_0x1c5774(0x482)]=0x3]=_0x1c5774(0x482),_0x4883c8[_0x4883c8[_0x1c5774(0x1aa)]=0x4]=_0x1c5774(0x1aa),_0x4883c8[_0x4883c8['HEARTBEAT']=0x5]=_0x1c5774(0x3e5),_0x4883c8[_0x4883c8[_0x1c5774(0x275)]=0x6]=_0x1c5774(0x275),_0x4883c8[_0x4883c8[_0x1c5774(0x220)]=-0x1]=_0x1c5774(0x220),_0x4883c8))(G||{}),he=(_0x119dfc=>(_0x119dfc[_0x119dfc[_0x1c5774(0x229)]=0x0]=_0x1c5774(0x229),_0x119dfc[_0x119dfc['OK']=0x1]='OK',_0x119dfc[_0x119dfc[_0x1c5774(0x3d1)]=0x2]=_0x1c5774(0x3d1),_0x119dfc[_0x119dfc[_0x1c5774(0x413)]=0x3e9]=_0x1c5774(0x413),_0x119dfc[_0x119dfc[_0x1c5774(0x245)]=0x3ea]=_0x1c5774(0x245),_0x119dfc[_0x119dfc[_0x1c5774(0x20d)]=0x3eb]=_0x1c5774(0x20d),_0x119dfc[_0x119dfc[_0x1c5774(0x3b7)]=0x3ec]=_0x1c5774(0x3b7),_0x119dfc[_0x119dfc[_0x1c5774(0x220)]=-0x1]=_0x1c5774(0x220),_0x119dfc))(he||{}),bt=(_0x462804=>(_0x462804[_0x462804['Undefined']=0x0]=_0x1c5774(0x4cb),_0x462804[_0x462804[_0x1c5774(0x1cc)]=0x1]=_0x1c5774(0x1cc),_0x462804[_0x462804[_0x1c5774(0x1b8)]=0x2]='HttpExport',_0x462804[_0x462804[_0x1c5774(0x190)]=0x3]=_0x1c5774(0x190),_0x462804[_0x462804[_0x1c5774(0x409)]=0x4]=_0x1c5774(0x409),_0x462804[_0x462804[_0x1c5774(0x220)]=-0x1]=_0x1c5774(0x220),_0x462804))(bt||{});const Y=_0x1c5774(0x3cf),Ke={};var Q=(_0x475192=>(_0x475192[_0x1c5774(0x2a9)]=_0x1c5774(0x2a9),_0x475192[_0x1c5774(0x3f7)]=_0x1c5774(0x3f7),_0x475192[_0x1c5774(0x47c)]=_0x1c5774(0x47c),_0x475192[_0x1c5774(0x214)]=_0x1c5774(0x214),_0x475192['JOIN_ROOM_FAILED']=_0x1c5774(0x4ae),_0x475192['SOCKET_FAILED_RETRY']=_0x1c5774(0x1df),_0x475192[_0x1c5774(0x217)]=_0x1c5774(0x217),_0x475192['SUBMIT_CHANGESET_TIMEOUT']=_0x1c5774(0x4cc),_0x475192))(Q||{});class te{constructor(){var _0x471475=_0x1c5774;D(this,_0x471475(0x19d),new H[(_0x471475(0x42c))]()),D(this,'event$',this['_event$'][_0x471475(0x460)]());}[_0x1c5774(0x1bd)](_0x101612){var _0x56e2fb=_0x1c5774;this[_0x56e2fb(0x19d)][_0x56e2fb(0x4cf)](_0x101612);}}const Rt=a[_0x1c5774(0x48d)](_0x1c5774(0x365));function Ot(_0x2359cc){var _0x180cc2=_0x1c5774,_0x445df6,_0x3f0019,_0x3f45d6,_0x55b0d2,_0x188266;const _0x5eeabd=_0x2359cc['data'],_0x101314=JSON[_0x180cc2(0x164)](_0x5eeabd);switch(_0x101314[_0x180cc2(0x308)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x497e1e=_0x101314[_0x180cc2(0x3c4)];return{..._0x101314,'data':_0x497e1e,'cmd':_0x101314['cmd']};}case G[_0x180cc2(0x2c8)]:{const _0x1aba92=_0x101314[_0x180cc2(0x4b9)];return{..._0x101314,'data':_0x1aba92,'cmd':_0x101314['cmd']};}case G['RECV']:{const _0x2d096a=_0x101314[_0x180cc2(0x3b6)];switch(_0x2d096a[_0x180cc2(0x3ca)]){case m['CollaborationEvent'][_0x180cc2(0x2d4)]:return{..._0x101314,'data':{..._0x2d096a,'data':(_0x445df6=_0x2d096a[_0x180cc2(0x2ea)])==null?void 0x0:_0x445df6['cs']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x1d6)]:return{..._0x101314,'data':{..._0x2d096a,'data':(_0x3f0019=_0x2d096a[_0x180cc2(0x1c1)])==null?void 0x0:_0x3f0019['cs']},'cmd':_0x101314['cmd']};case m[_0x180cc2(0x3a6)][_0x180cc2(0x4d6)]:return{..._0x101314,'data':{..._0x2d096a,'data':(_0x3f45d6=_0x2d096a[_0x180cc2(0x47f)])==null?void 0x0:_0x3f45d6['cs']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x1ef)]:return{..._0x101314,'data':{..._0x2d096a,'data':(_0x55b0d2=_0x2d096a[_0x180cc2(0x2f7)])==null?void 0x0:_0x55b0d2['cs']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x204)]:return{..._0x101314,'data':{..._0x2d096a,'data':(_0x188266=_0x2d096a['csShouldRetryEvent'])==null?void 0x0:_0x188266['cs']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x43b)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a['updateCursorEvent']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x299)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a['joinEvent']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x46b)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x2e6)]},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x163)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x3fa)]},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x3f2)]:case m['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x1c8)]},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)]['LIVESHARE_TERMINATE']:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a['liveShareNewHost']},'cmd':_0x101314[_0x180cc2(0x308)]};case m[_0x180cc2(0x3a6)][_0x180cc2(0x1bf)]:return{..._0x101314,'data':_0x2d096a,'cmd':_0x101314['cmd']};case m[_0x180cc2(0x3a6)][_0x180cc2(0x2e3)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x351)]},'cmd':_0x101314['cmd']};case m[_0x180cc2(0x3a6)][_0x180cc2(0x499)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x23f)]},'cmd':_0x101314[_0x180cc2(0x308)]};case m['CollaborationEvent'][_0x180cc2(0x431)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x374)]},'cmd':_0x101314[_0x180cc2(0x308)]};case m['CollaborationEvent'][_0x180cc2(0x389)]:return{..._0x101314,'data':{..._0x2d096a,'data':_0x2d096a[_0x180cc2(0x210)]},'cmd':_0x101314[_0x180cc2(0x308)]};default:return _0x101314;}}default:return _0x101314;}}function yt(_0x2c8adc){var _0x494b1d=_0x1c5774;switch(_0x2c8adc[_0x494b1d(0x308)]){case G[_0x494b1d(0x3e5)]:case G[_0x494b1d(0x21f)]:return JSON[_0x494b1d(0x199)]({'cmd':_0x2c8adc[_0x494b1d(0x308)],'routeKey':_0x2c8adc['routeKey']});case G[_0x494b1d(0x1aa)]:{let _0x30d609;switch(_0x2c8adc['data'][_0x494b1d(0x3ca)]){case m['CollaborationEvent']['UPDATE_CURSOR']:{_0x30d609={'eventID':m[_0x494b1d(0x3a6)][_0x494b1d(0x43b)],'updateCursorEvent':_0x2c8adc['data'][_0x494b1d(0x1a1)]};break;}case m[_0x494b1d(0x3a6)][_0x494b1d(0x46b)]:{_0x30d609={'eventID':m['CollaborationEvent'][_0x494b1d(0x46b)],'leaveEvent':_0x2c8adc['data'][_0x494b1d(0x1a1)]};break;}case m['CollaborationEvent'][_0x494b1d(0x299)]:{_0x30d609={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x2c8adc['data'][_0x494b1d(0x1a1)]};break;}case m[_0x494b1d(0x3a6)][_0x494b1d(0x163)]:{_0x30d609={'eventID':m[_0x494b1d(0x3a6)][_0x494b1d(0x163)],'liveShareNewHost':_0x2c8adc['data']['data']};break;}case m['CollaborationEvent'][_0x494b1d(0x407)]:{_0x30d609={'eventID':m[_0x494b1d(0x3a6)][_0x494b1d(0x407)],'liveShareOperation':_0x2c8adc[_0x494b1d(0x1a1)]['data']};break;}case m[_0x494b1d(0x3a6)][_0x494b1d(0x281)]:{_0x30d609={'eventID':m[_0x494b1d(0x3a6)][_0x494b1d(0x281)],'liveShareTerminate':_0x2c8adc[_0x494b1d(0x1a1)][_0x494b1d(0x1a1)]};break;}case m[_0x494b1d(0x3a6)][_0x494b1d(0x3d6)]:{_0x30d609={'eventID':m[_0x494b1d(0x3a6)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2c8adc['data'][_0x494b1d(0x1a1)]};break;}case m[_0x494b1d(0x3a6)]['LIVESHARE_FETCH_OPERATIONS']:{_0x30d609={'eventID':m['CollaborationEvent'][_0x494b1d(0x3f2)]};break;}default:_0x30d609={'eventID':_0x2c8adc[_0x494b1d(0x1a1)][_0x494b1d(0x3ca)]};}return JSON[_0x494b1d(0x199)]({'cmd':_0x2c8adc[_0x494b1d(0x308)],'routeKey':_0x2c8adc[_0x494b1d(0x2ac)],'collaMsg':_0x30d609});}case G[_0x494b1d(0x2c8)]:return JSON[_0x494b1d(0x199)]({'cmd':_0x2c8adc[_0x494b1d(0x308)],'routeKey':_0x2c8adc['routeKey'],'joinReq':_0x2c8adc['data']});case G[_0x494b1d(0x482)]:return JSON[_0x494b1d(0x199)]({'cmd':_0x2c8adc[_0x494b1d(0x308)],'routeKey':_0x2c8adc[_0x494b1d(0x2ac)],'leaveReq':_0x2c8adc['data']});default:throw new Error(_0x494b1d(0x188));}}var Zt=Object[_0x1c5774(0x2b1)],Qt=Object[_0x1c5774(0x313)],en=(_0xd7e42d,_0x2b2ee5,_0x304f36,_0x24a810)=>{var _0x452799=_0x1c5774;for(var _0x1447d8=_0x24a810>0x1?void 0x0:_0x24a810?Qt(_0x2b2ee5,_0x304f36):_0x2b2ee5,_0x361fa1=_0xd7e42d[_0x452799(0x24b)]-0x1,_0x3f5a4e;_0x361fa1>=0x0;_0x361fa1--)(_0x3f5a4e=_0xd7e42d[_0x361fa1])&&(_0x1447d8=(_0x24a810?_0x3f5a4e(_0x2b2ee5,_0x304f36,_0x1447d8):_0x3f5a4e(_0x1447d8))||_0x1447d8);return _0x24a810&&_0x1447d8&&Zt(_0x2b2ee5,_0x304f36,_0x1447d8),_0x1447d8;},ue=(_0x2254e2,_0x727b57)=>(_0x3a1c3c,_0x47203a)=>_0x727b57(_0x3a1c3c,_0x47203a,_0x2254e2);const ke=a['createIdentifier'](_0x1c5774(0x340));function tn(_0x277b26,_0x431287,_0x2173f1){var _0x34f005=_0x1c5774;return _0x277b26+'/'+_0x431287+'/unit/'+_0x2173f1+_0x34f005(0x2d3);}exports[_0x1c5774(0x39e)]=class extends a[_0x1c5774(0x15f)]{constructor(_0x2862c6,_0x29e978,_0x2387ed,_0x52b426,_0x480884){var _0x5834b6=_0x1c5774;super(),this['_injector']=_0x2862c6,this[_0x5834b6(0x288)]=_0x29e978,this[_0x5834b6(0x26c)]=_0x2387ed,this[_0x5834b6(0x228)]=_0x52b426,this[_0x5834b6(0x4d9)]=_0x480884;}[_0x1c5774(0x2d8)](_0x5a9b07){var _0x3dc9fe=_0x1c5774;const _0x58ef7a=this[_0x3dc9fe(0x2b3)]['get'](q['ISocketService']);if(!_0x58ef7a)throw new Error(_0x3dc9fe(0x441));const _0x3439d5=_0x58ef7a[_0x3dc9fe(0x2d8)](_0x5a9b07);if(!_0x3439d5)throw new Error(_0x3dc9fe(0x330));const _0x190a69=new a['DisposableCollection'](),_0x5bb646=new H[(_0x3dc9fe(0x42c))]();_0x190a69[_0x3dc9fe(0x396)](_0x3439d5[_0x3dc9fe(0x276)][_0x3dc9fe(0x305)](_0x3bde40=>_0x5bb646[_0x3dc9fe(0x4cf)](_0x3bde40))),_0x190a69[_0x3dc9fe(0x396)](a[_0x3dc9fe(0x411)](()=>_0x5bb646[_0x3dc9fe(0x31b)]()));const _0x4e2abd=new H[(_0x3dc9fe(0x42c))]();_0x190a69[_0x3dc9fe(0x396)](_0x3439d5[_0x3dc9fe(0x29f)][_0x3dc9fe(0x305)](_0x34da4c=>_0x4e2abd[_0x3dc9fe(0x4cf)](_0x34da4c))),_0x190a69[_0x3dc9fe(0x396)](a[_0x3dc9fe(0x411)](()=>_0x4e2abd[_0x3dc9fe(0x31b)]()));const _0x1baff9=new H[(_0x3dc9fe(0x42c))]();_0x190a69[_0x3dc9fe(0x396)](_0x3439d5['message$'][_0x3dc9fe(0x305)](_0x4286d2=>{var _0xe91d89=_0x3dc9fe;const _0x53cc19=Ot(_0x4286d2);_0x1baff9[_0xe91d89(0x4cf)](_0x53cc19);})),_0x190a69[_0x3dc9fe(0x396)](a[_0x3dc9fe(0x411)](()=>_0x1baff9[_0x3dc9fe(0x31b)]()));let _0x2389b0;const _0x11dc0c=()=>{var _0x2ef344=_0x3dc9fe;_0x4e2abd['next'](new Event(_0x2ef344(0x1f0))),_0x5bb646['next'](new CloseEvent(_0x2ef344(0x1f0))),_0x2389b0[_0x2ef344(0x4c2)]();};return _0x2389b0={'memberID':'','close$':_0x5bb646[_0x3dc9fe(0x460)](),'error$':_0x4e2abd[_0x3dc9fe(0x460)](),'open$':_0x3439d5['open$'],'message$':_0x1baff9[_0x3dc9fe(0x460)](),'send':_0x11c340=>{var _0x2603b7=_0x3dc9fe;if(_0x11c340[_0x2603b7(0x308)]===G[_0x2603b7(0x1aa)]){if(_0x11c340[_0x2603b7(0x1a1)]['eventID']===m[_0x2603b7(0x3a6)][_0x2603b7(0x32e)]){this[_0x2603b7(0x274)](_0x2389b0,_0x11c340[_0x2603b7(0x1a1)])[_0x2603b7(0x15b)](_0x4432f6=>{var _0x3a9cc4=_0x2603b7;this[_0x3a9cc4(0x228)][_0x3a9cc4(0x496)](_0x4432f6),_0x11dc0c();});return;}if(_0x11c340[_0x2603b7(0x1a1)]['eventID']===m[_0x2603b7(0x3a6)][_0x2603b7(0x3e7)]){const _0x3aa834=_0x11c340[_0x2603b7(0x1a1)];this[_0x2603b7(0x42b)](_0x3aa834)[_0x2603b7(0x2e5)](_0x112134=>{var _0x12f09b=_0x2603b7;_0x1baff9[_0x12f09b(0x4cf)]({'cmd':G[_0x12f09b(0x275)],'code':he['OK'],'routeKey':_0x3aa834['data'][_0x12f09b(0x382)],'routeType':'','data':{'eventID':m[_0x12f09b(0x3a6)][_0x12f09b(0x181)],'data':{'changesets':_0x112134}}});})[_0x2603b7(0x15b)](_0xf769ed=>{var _0x153e11=_0x2603b7;this[_0x153e11(0x228)][_0x153e11(0x496)](_0xf769ed),_0x11dc0c();});return;}}_0x3439d5[_0x2603b7(0x3d3)](yt(_0x11c340));},'close':()=>{_0x3439d5['close'](),_0x190a69['dispose']();}},_0x2389b0;}async[_0x1c5774(0x274)](_0x324095,_0x5e9c9b){var _0x4967a4=_0x1c5774,_0x46bac9,_0x55e7c5;const {unitType:_0x4dfc43,unitID:_0x35312b,changeset:_0x3195d8}=_0x5e9c9b[_0x4967a4(0x1a1)],_0x17c78f={'unitID':_0x35312b,'memberID':_0x324095[_0x4967a4(0x3f5)],'type':_0x4dfc43,'changeset':m['parseChangesetToProtocol'](_0x3195d8)},_0x4fa9aa=this[_0x4967a4(0x26c)][_0x4967a4(0x28d)](Et),_0x497eeb=this[_0x4967a4(0x26c)]['getConfig'](Y),_0x54f035=tn((_0x55e7c5=(_0x46bac9=_0x497eeb==null?void 0x0:_0x497eeb[_0x4967a4(0x2f0)])!=null?_0x46bac9:_0x4fa9aa)!=null?_0x55e7c5:qt,_0x4dfc43,_0x35312b);try{await this[_0x4967a4(0x288)][_0x4967a4(0x20f)](_0x54f035,{'body':_0x17c78f});}catch(_0x4b5052){throw this['_logService']['error']('[CollaborationSession]',_0x4967a4(0x432)),_0x4b5052;}}async[_0x1c5774(0x42b)](_0x548dc0){var _0x1b7b43=_0x1c5774;const {unitID:_0x4eebe1,from:_0x52864c,to:_0x5eb7de,unitType:_0x1605a1}=_0x548dc0[_0x1b7b43(0x1a1)];return(await this[_0x1b7b43(0x4d9)][_0x1b7b43(0x2d2)]({'metadata':void 0x0},{'unitID':_0x4eebe1,'type':_0x1605a1,'from':_0x52864c,'to':_0x5eb7de}))['changesets'];}},exports[_0x1c5774(0x39e)]=en([ue(0x0,a[_0x1c5774(0x3b5)](a['Injector'])),ue(0x1,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)])),ue(0x2,a[_0x1c5774(0x304)]),ue(0x3,a['ILogService']),ue(0x4,m[_0x1c5774(0x230)])],exports[_0x1c5774(0x39e)]);const nn=_0x1c5774(0x35e);function rn(_0x5a2032){var _0x3e4940=_0x1c5774;return JSON['stringify'](_0x5a2032)[_0x3e4940(0x24b)];}class Be{constructor(){var _0x46e5e6=_0x1c5774;D(this,'_commentUpdate$',new H[(_0x46e5e6(0x42c))]()),D(this,_0x46e5e6(0x2aa),this['_commentUpdate$'][_0x46e5e6(0x460)]());}[_0x1c5774(0x341)](_0x542e30){var _0xe64e67=_0x1c5774;this[_0xe64e67(0x3fb)][_0xe64e67(0x4cf)](_0x542e30);}}var sn=Object[_0x1c5774(0x2b1)],on=Object[_0x1c5774(0x313)],an=(_0x1dce76,_0x212126,_0x505404,_0x47ddea)=>{var _0x2ae27d=_0x1c5774;for(var _0x3d8541=_0x47ddea>0x1?void 0x0:_0x47ddea?on(_0x212126,_0x505404):_0x212126,_0x25e98f=_0x1dce76[_0x2ae27d(0x24b)]-0x1,_0x35748c;_0x25e98f>=0x0;_0x25e98f--)(_0x35748c=_0x1dce76[_0x25e98f])&&(_0x3d8541=(_0x47ddea?_0x35748c(_0x212126,_0x505404,_0x3d8541):_0x35748c(_0x3d8541))||_0x3d8541);return _0x47ddea&&_0x3d8541&&sn(_0x212126,_0x505404,_0x3d8541),_0x3d8541;},Ye=(_0x45fe3f,_0x532a6f)=>(_0x56bb20,_0x93f1ae)=>_0x532a6f(_0x56bb20,_0x93f1ae,_0x45fe3f);exports[_0x1c5774(0x3f9)]=class extends a[_0x1c5774(0x15f)]{constructor(_0xe13a11,_0x434597){var _0x250260=_0x1c5774;super(),D(this,_0x250260(0x318),new Map()),D(this,_0x250260(0x36f),new H[(_0x250260(0x42c))]()),(this[_0x250260(0x44c)]=_0xe13a11,this[_0x250260(0x24d)]=_0x434597,this[_0x250260(0x26d)](H[_0x250260(0x223)](this[_0x250260(0x44c)][_0x250260(0x27c)](a[_0x250260(0x17a)][_0x250260(0x2a4)])[_0x250260(0x35c)](W['map'](_0x5cf545=>_0x5cf545[_0x250260(0x4ad)]())),this[_0x250260(0x44c)][_0x250260(0x27c)](a[_0x250260(0x17a)]['UNIVER_DOC'])['pipe'](W[_0x250260(0x439)](_0x3b6ff9=>_0x3b6ff9[_0x250260(0x4ad)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x250260(0x17a)][_0x250260(0x444)])['pipe'](W['map'](_0x4730b2=>_0x4730b2[_0x250260(0x4ad)]())))[_0x250260(0x305)](_0x52d0ec=>this[_0x250260(0x477)](_0x52d0ec))));}[_0x1c5774(0x3da)](_0x2d3202){var _0x4fd925=_0x1c5774;return this[_0x4fd925(0x318)][_0x4fd925(0x2df)](_0x2d3202)?H['of'](this['_roomMembers'][_0x4fd925(0x36c)](_0x2d3202)):this[_0x4fd925(0x36f)][_0x4fd925(0x35c)](W[_0x4fd925(0x439)](_0xf92db1=>{var _0x1f186f=_0x4fd925;if(_0xf92db1===_0x2d3202)return this[_0x1f186f(0x318)][_0x1f186f(0x36c)](_0xf92db1);}));}[_0x1c5774(0x401)](_0x13696b){var _0x4d99bb=_0x1c5774;this['_userManagerService'][_0x4d99bb(0x401)](_0x13696b);}[_0x1c5774(0x1c4)](){var _0x472233=_0x1c5774;return this[_0x472233(0x24d)][_0x472233(0x1c4)]();}['updateMember'](_0x1991fc,_0x4857b8){var _0x58cba0=_0x1c5774;let _0x47a9af=this['_roomMembers'][_0x58cba0(0x36c)](_0x1991fc);_0x47a9af||(_0x47a9af=new cn(),this[_0x58cba0(0x318)][_0x58cba0(0x325)](_0x1991fc,_0x47a9af),this[_0x58cba0(0x36f)]['next'](_0x1991fc)),_0x47a9af[_0x58cba0(0x428)](_0x4857b8);}[_0x1c5774(0x17e)](_0x3faa8c,_0xc15694){var _0x88b571=_0x1c5774;const _0x5ccbc0=this[_0x88b571(0x318)][_0x88b571(0x36c)](_0x3faa8c);_0x5ccbc0&&_0x5ccbc0[_0x88b571(0x17e)](_0xc15694);}['getRoom'](_0x3d904b){var _0x555d2e=_0x1c5774;return this['_roomMembers'][_0x555d2e(0x36c)](_0x3d904b);}['getMember'](_0x35a211,_0x5b694e){var _0x58c6cb=_0x1c5774;const _0x1c7034=this[_0x58c6cb(0x318)][_0x58c6cb(0x36c)](_0x35a211);if(_0x1c7034)return _0x1c7034[_0x58c6cb(0x237)](_0x5b694e);}[_0x1c5774(0x477)](_0x5d6dc9){var _0x3a049a=_0x1c5774;const _0x3b0563=this['_roomMembers']['get'](_0x5d6dc9);_0x3b0563&&(_0x3b0563[_0x3a049a(0x1ff)](),this[_0x3a049a(0x318)][_0x3a049a(0x36b)](_0x5d6dc9));}[_0x1c5774(0x1ff)](){var _0x42c9a0=_0x1c5774;this['_roomMembers'][_0x42c9a0(0x434)](_0x54de69=>_0x54de69['dispose']()),this[_0x42c9a0(0x318)][_0x42c9a0(0x4bb)](),this[_0x42c9a0(0x36f)][_0x42c9a0(0x31b)]();}},exports['MemberService']=an([Ye(0x0,a[_0x1c5774(0x3a9)]),Ye(0x1,a['Inject'](a[_0x1c5774(0x369)]))],exports['MemberService']);class cn extends a['Disposable']{constructor(){var _0x466eb7=_0x1c5774;super(...arguments),D(this,_0x466eb7(0x253),new Map()),D(this,_0x466eb7(0x40f),new H[(_0x466eb7(0x19a))](this[_0x466eb7(0x253)])),D(this,_0x466eb7(0x2be),this[_0x466eb7(0x40f)][_0x466eb7(0x460)]());}[_0x1c5774(0x1ff)](){var _0x22b3f1=_0x1c5774;this[_0x22b3f1(0x253)]['clear']();}[_0x1c5774(0x428)](_0xdd9e7){var _0x1d094e=_0x1c5774;this[_0x1d094e(0x253)][_0x1d094e(0x325)](_0xdd9e7[_0x1d094e(0x3f5)],_0xdd9e7),this['_emitMembers']();}[_0x1c5774(0x17e)](_0x3605e2){this['_members']['delete'](_0x3605e2);}[_0x1c5774(0x237)](_0x587011){var _0xb8cf1c=_0x1c5774;return this[_0xb8cf1c(0x253)][_0xb8cf1c(0x36c)](_0x587011);}[_0x1c5774(0x1ec)](){var _0x55944e=_0x1c5774;return Array[_0x55944e(0x300)](this[_0x55944e(0x253)][_0x55944e(0x2c5)]());}[_0x1c5774(0x4b0)](){var _0x5d181c=_0x1c5774;this[_0x5d181c(0x40f)][_0x5d181c(0x4cf)](this[_0x5d181c(0x253)]);}}var hn=Object[_0x1c5774(0x2b1)],ln=Object[_0x1c5774(0x313)],_n=(_0x6491a2,_0x20f1c9,_0x8554c2,_0xbec5f0)=>{for(var _0x49ed1e=_0xbec5f0>0x1?void 0x0:_0xbec5f0?ln(_0x20f1c9,_0x8554c2):_0x20f1c9,_0x3ab62e=_0x6491a2['length']-0x1,_0x2963cf;_0x3ab62e>=0x0;_0x3ab62e--)(_0x2963cf=_0x6491a2[_0x3ab62e])&&(_0x49ed1e=(_0xbec5f0?_0x2963cf(_0x20f1c9,_0x8554c2,_0x49ed1e):_0x2963cf(_0x49ed1e))||_0x49ed1e);return _0xbec5f0&&_0x49ed1e&&hn(_0x20f1c9,_0x8554c2,_0x49ed1e),_0x49ed1e;},oe=(_0x1d3656,_0x4f7d94)=>(_0x5e9143,_0x4aa050)=>_0x4f7d94(_0x5e9143,_0x4aa050,_0x1d3656),se=(_0x5dade6=>(_0x5dade6[_0x5dade6['IDLE']=0x0]=_0x1c5774(0x44e),_0x5dade6[_0x5dade6[_0x1c5774(0x3ee)]=0x1]=_0x1c5774(0x3ee),_0x5dade6[_0x5dade6['OFFLINE']=0x2]=_0x1c5774(0x28b),_0x5dade6[_0x5dade6[_0x1c5774(0x20b)]=0x3]=_0x1c5774(0x20b),_0x5dade6))(se||{});const qe={[he['FAIL']]:_0x1c5774(0x169),[he['JOIN_ROOM_FULL']]:_0x1c5774(0x247),[he['JOIN_ROOM_NOT_EXISTS']]:_0x1c5774(0x30a),[he[_0x1c5774(0x20d)]]:_0x1c5774(0x216),[he[_0x1c5774(0x3b7)]]:_0x1c5774(0x29b)};exports[_0x1c5774(0x346)]=class extends a[_0x1c5774(0x429)]{constructor(_0x1770fa,_0x4201ac,_0x828b28,_0x9e1c0c,_0x126358,_0x19c89f,_0x33a475,_0x43e817,_0x100685){var _0x1a5ecf=_0x1c5774;super(),D(this,_0x1a5ecf(0x378),new H[(_0x1a5ecf(0x19a))](0x0)),D(this,_0x1a5ecf(0x260),this['_sessionStatus$'][_0x1a5ecf(0x460)]()),D(this,_0x1a5ecf(0x19d),new H[(_0x1a5ecf(0x42c))]()),D(this,_0x1a5ecf(0x250),this[_0x1a5ecf(0x19d)]['asObservable']()),D(this,_0x1a5ecf(0x465)),D(this,_0x1a5ecf(0x1c2)),D(this,_0x1a5ecf(0x1e4)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x1770fa,this['_logService']=_0x828b28,this[_0x1a5ecf(0x26c)]=_0x9e1c0c,this[_0x1a5ecf(0x2b5)]=_0x126358,this[_0x1a5ecf(0x481)]=_0x19c89f,this[_0x1a5ecf(0x22e)]=_0x33a475,this[_0x1a5ecf(0x172)]=_0x43e817,this[_0x1a5ecf(0x3a3)]=_0x100685,this[_0x1a5ecf(0x3c8)]=!!this['_telemetryService'],_0x4201ac[_0x1a5ecf(0x35c)](H[_0x1a5ecf(0x29c)](this['dispose$']))['subscribe'](_0x5024e2=>{var _0xefeecd=_0x1a5ecf,_0x4a71f4;typeof _0x5024e2>'u'||(this[_0xefeecd(0x465)]=_0x5024e2,_0x5024e2?(this[_0xefeecd(0x388)](_0x5024e2),this[_0xefeecd(0x1c2)]=_0x5024e2[_0xefeecd(0x26e)]['subscribe'](_0x205521=>{var _0x13d0bd=_0xefeecd;_0x205521[_0x13d0bd(0x2ac)]===this['_unitID']&&this['_onCombEvent'](_0x205521);})):(this[_0xefeecd(0x3b4)](),this[_0xefeecd(0x378)][_0xefeecd(0x4cf)](0x2),(_0x4a71f4=this[_0xefeecd(0x1c2)])==null||_0x4a71f4[_0xefeecd(0x39d)](),this[_0xefeecd(0x1c2)]=null));}));}get[_0x1c5774(0x35f)](){var _0x4fd029=_0x1c5774;return this[_0x4fd029(0x378)][_0x4fd029(0x291)]();}['getMemberID'](){var _0xebe63c=_0x1c5774,_0x2d574c,_0x4dad92;return(_0x4dad92=(_0x2d574c=this[_0xebe63c(0x465)])==null?void 0x0:_0x2d574c[_0xebe63c(0x3f5)])!=null?_0x4dad92:null;}[_0x1c5774(0x1ff)](){var _0x7d1e7d=_0x1c5774;super['dispose'](),this['dispose$']['next'](),this[_0x7d1e7d(0x1e0)]['complete']();}['close'](){var _0x48f97e=_0x1c5774,_0x2e06da,_0x5b2fe0;this[_0x48f97e(0x3b4)](),(_0x2e06da=this[_0x48f97e(0x465)])==null||_0x2e06da[_0x48f97e(0x3d3)]({'cmd':G[_0x48f97e(0x482)],'data':{'roomID':this[_0x48f97e(0x1b7)]}}),(_0x5b2fe0=this[_0x48f97e(0x465)])==null||_0x5b2fe0[_0x48f97e(0x4c2)](),this[_0x48f97e(0x19d)]['complete'](),this['_sessionStatus$'][_0x48f97e(0x31b)](),this[_0x48f97e(0x1ff)]();}['_onCombEvent'](_0x31ce2b){var _0x28d595=_0x1c5774;_0x31ce2b['cmd']===G[_0x28d595(0x2c8)]?this['_onJoinRoomEvent'](_0x31ce2b):_0x31ce2b[_0x28d595(0x308)]===G[_0x28d595(0x275)]&&this[_0x28d595(0x349)](_0x31ce2b);}[_0x1c5774(0x388)](_0x4a7381){var _0x11b7cf=_0x1c5774;this[_0x11b7cf(0x378)][_0x11b7cf(0x4cf)](0x1),_0x4a7381[_0x11b7cf(0x3d3)]({'cmd':G[_0x11b7cf(0x2c8)],'routeKey':this[_0x11b7cf(0x1b7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x11b7cf(0x1b7)]}]}});}[_0x1c5774(0x480)](_0x4350b1){var _0x2a5014=_0x1c5774,_0x7a2974;if(_0x4350b1[_0x2a5014(0x2e9)]in qe){this[_0x2a5014(0x172)][_0x2a5014(0x1bd)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x4350b1[_0x2a5014(0x2e9)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2a5014(0x378)][_0x2a5014(0x4cf)](0x3);const _0x85c044=(_0x7a2974=_0x4350b1[_0x2a5014(0x1a1)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x7a2974[_0x2a5014(0x3a7)];_0x85c044&&_0x85c044['forEach'](_0x2372e3=>this[_0x2a5014(0x481)][_0x2a5014(0x428)](this[_0x2a5014(0x1b7)],_0x2372e3));}[_0x1c5774(0x349)](_0x48596a){var _0x18e9e8=_0x1c5774;try{const _0x47ce74=_0x48596a[_0x18e9e8(0x1a1)];switch(_0x47ce74[_0x18e9e8(0x3ca)]){case m[_0x18e9e8(0x3a6)]['USERS_ENTER']:this[_0x18e9e8(0x3ad)](_0x47ce74),this[_0x18e9e8(0x19d)]['next'](_0x47ce74);break;case m[_0x18e9e8(0x3a6)][_0x18e9e8(0x46b)]:this[_0x18e9e8(0x31e)](_0x47ce74),this[_0x18e9e8(0x19d)]['next'](_0x47ce74);break;case m['CollaborationEvent'][_0x18e9e8(0x1d6)]:case m[_0x18e9e8(0x3a6)][_0x18e9e8(0x204)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x18e9e8(0x379)](),this['_event$'][_0x18e9e8(0x4cf)](_0x47ce74);break;case m['CollaborationEvent'][_0x18e9e8(0x1bf)]:this[_0x18e9e8(0x228)][_0x18e9e8(0x496)](_0x18e9e8(0x314)+JSON['stringify'](_0x47ce74)),this['_event$'][_0x18e9e8(0x4cf)](_0x47ce74);break;case m[_0x18e9e8(0x3a6)][_0x18e9e8(0x2e3)]:this[_0x18e9e8(0x22e)]['onCommentUpdate'](_0x47ce74[_0x18e9e8(0x1a1)]),this[_0x18e9e8(0x19d)]['next'](_0x47ce74);break;default:this[_0x18e9e8(0x19d)][_0x18e9e8(0x4cf)](_0x47ce74);}}catch(_0x3bc656){this[_0x18e9e8(0x228)][_0x18e9e8(0x496)](_0x3bc656,_0x48596a);}}[_0x1c5774(0x3ad)](_0x126d20){var _0x14173=_0x1c5774;this[_0x14173(0x481)][_0x14173(0x428)](this[_0x14173(0x1b7)],_0x126d20['data']);}[_0x1c5774(0x31e)](_0x4b2ac8){var _0x1761d8=_0x1c5774;this[_0x1761d8(0x481)][_0x1761d8(0x17e)](this['_unitID'],_0x4b2ac8[_0x1761d8(0x1a1)][_0x1761d8(0x3f5)]);}async[_0x1c5774(0x3d3)](_0x5cc8d4,_0x4cd622){var _0x480291=_0x1c5774;if(this[_0x480291(0x35f)]!==0x3||!this['_socket'])throw new Error(_0x480291(0x3ff));try{_0x5cc8d4[_0x480291(0x3ca)]===m[_0x480291(0x3a6)][_0x480291(0x32e)]&&(this[_0x480291(0x209)](),this[_0x480291(0x414)](_0x5cc8d4)),this[_0x480291(0x465)]['send']({'cmd':G[_0x480291(0x1aa)],'routeKey':_0x4cd622,'routeType':'','data':_0x5cc8d4});}catch(_0x105b73){this['_logService'][_0x480291(0x496)](_0x105b73);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5d985e=_0x1c5774,_0x1c90e0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2a7c7e=_0x4097;this[_0x2a7c7e(0x1e4)]=null,this[_0x2a7c7e(0x172)]['emitEvent']({'id':Q[_0x2a7c7e(0x4cc)]});},(_0x1c90e0=this['_configService'][_0x5d985e(0x28d)](He))!=null?_0x1c90e0:gt);}['_clearCollaborationTimeoutTimer'](){var _0x337958=_0x1c5774;this[_0x337958(0x1e4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1c5774(0x414)](_0x339bcb){var _0x5d2c54=_0x1c5774;if(!this['_shouldReportTelemetry'])return;const {data:_0x1488e4}=_0x339bcb,{unitID:_0xcfaef1,changeset:_0x147727}=_0x1488e4,{mutations:_0x33dfc9,type:_0x423965}=_0x147727;this['_telemetryInfo']={'unitId':_0xcfaef1,'type':_0x423965,'startTime':performance[_0x5d2c54(0x471)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x33dfc9)};}[_0x1c5774(0x495)](){var _0x555ccf=_0x1c5774;if(this[_0x555ccf(0x3c8)]){if(!this['_telemetryInfo']){this['_logService'][_0x555ccf(0x496)](_0x555ccf(0x3c7),_0x555ccf(0x46d));return;}this[_0x555ccf(0x2c9)][_0x555ccf(0x493)]=performance['now'](),this[_0x555ccf(0x2c9)][_0x555ccf(0x353)]=this[_0x555ccf(0x2c9)]['stopTime']-this['_telemetryInfo'][_0x555ccf(0x49b)],this[_0x555ccf(0x3a3)]['capture'](nn,this['_telemetryInfo']),this[_0x555ccf(0x2c9)]=null;}}[_0x1c5774(0x3b4)](){var _0x470ba9=_0x1c5774;this[_0x470ba9(0x2c9)]=null;}},exports[_0x1c5774(0x346)]=_n([oe(0x2,a['ILogService']),oe(0x3,a['IConfigService']),oe(0x4,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2d1)])),oe(0x5,a[_0x1c5774(0x3b5)](exports['MemberService'])),oe(0x6,a[_0x1c5774(0x3b5)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x1c5774(0x440)](jt[_0x1c5774(0x1fe)]))],exports[_0x1c5774(0x346)]);var un=Object[_0x1c5774(0x2b1)],dn=Object[_0x1c5774(0x313)],vn=(_0x5e3f8c,_0x2ca132,_0x23cbdd,_0x1cebe3)=>{for(var _0x7710f8=_0x1cebe3>0x1?void 0x0:_0x1cebe3?dn(_0x2ca132,_0x23cbdd):_0x2ca132,_0x218b67=_0x5e3f8c['length']-0x1,_0x321de5;_0x218b67>=0x0;_0x218b67--)(_0x321de5=_0x5e3f8c[_0x218b67])&&(_0x7710f8=(_0x1cebe3?_0x321de5(_0x2ca132,_0x23cbdd,_0x7710f8):_0x321de5(_0x7710f8))||_0x7710f8);return _0x1cebe3&&_0x7710f8&&un(_0x2ca132,_0x23cbdd,_0x7710f8),_0x7710f8;},ae=(_0x4221b2,_0x25e73c)=>(_0x158c6e,_0x4f652c)=>_0x25e73c(_0x158c6e,_0x4f652c,_0x4221b2);exports[_0x1c5774(0x2dc)]=class extends a[_0x1c5774(0x15f)]{constructor(_0x536ae6,_0x40759f,_0x5b87e9,_0x5db31a,_0x44cf4b,_0x472805,_0x22ef07){var _0x4920dc=_0x1c5774;super(),D(this,_0x4920dc(0x3b3),new H[(_0x4920dc(0x19a))](void 0x0)),D(this,_0x4920dc(0x290),this['_socket$'][_0x4920dc(0x460)]()),D(this,_0x4920dc(0x4a5),null),D(this,'_sessions',new Map()),D(this,'_status$',new H[(_0x4920dc(0x19a))](se['IDLE'])),D(this,_0x4920dc(0x18d),this[_0x4920dc(0x238)][_0x4920dc(0x460)]()),D(this,_0x4920dc(0x192),!0x1),D(this,_0x4920dc(0x398)),D(this,_0x4920dc(0x46a),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x4920dc(0x155)),(this['_injector']=_0x536ae6,this[_0x4920dc(0x228)]=_0x40759f,this[_0x4920dc(0x26c)]=_0x5b87e9,this[_0x4920dc(0x239)]=_0x5db31a,this['_httpService']=_0x44cf4b,this[_0x4920dc(0x172)]=_0x472805,this[_0x4920dc(0x4d4)]=_0x22ef07,this[_0x4920dc(0x251)]());}get[_0x1c5774(0x465)](){var _0x21dae1=_0x1c5774;return this[_0x21dae1(0x3b3)]['getValue']();}[_0x1c5774(0x251)](){var _0x2aa935=_0x1c5774;this[_0x2aa935(0x4d4)]&&this[_0x2aa935(0x26d)](this[_0x2aa935(0x4d4)][_0x2aa935(0x4b1)]['subscribe'](_0xf02385=>{var _0x2ea0b8=_0x2aa935;_0xf02385&&!this[_0x2ea0b8(0x465)]&&this['reconnect'](),_0xf02385||this[_0x2ea0b8(0x21a)]();}));}['dispose'](){var _0x5328ca=_0x1c5774;super[_0x5328ca(0x1ff)](),this[_0x5328ca(0x2ed)][_0x5328ca(0x434)](_0x46d972=>_0x46d972[_0x5328ca(0x1ff)]()),this['_sessions'][_0x5328ca(0x4bb)](),this[_0x5328ca(0x238)][_0x5328ca(0x31b)]();}async[_0x1c5774(0x2fd)](_0x3adf78){var _0x38c6c5=_0x1c5774;if(this['_sessions'][_0x38c6c5(0x2df)](_0x3adf78))return this['_sessions']['get'](_0x3adf78);this[_0x38c6c5(0x264)]();const _0x2e6599=this[_0x38c6c5(0x2b3)]['createInstance'](exports['CollaborationSession'],_0x3adf78,this[_0x38c6c5(0x3b3)]['asObservable']());return this['_sessions'][_0x38c6c5(0x325)](_0x3adf78,_0x2e6599),_0x2e6599;}[_0x1c5774(0x278)](_0x254ac7){var _0x3e14d6=_0x1c5774,_0x267e01;const _0x28524c=this[_0x3e14d6(0x2ed)][_0x3e14d6(0x36c)](_0x254ac7);_0x28524c&&(this[_0x3e14d6(0x2ed)]['delete'](_0x254ac7),_0x28524c[_0x3e14d6(0x4c2)]()),this[_0x3e14d6(0x2ed)][_0x3e14d6(0x4a0)]||(_0x267e01=this[_0x3e14d6(0x465)])==null||_0x267e01[_0x3e14d6(0x4c2)]();}[_0x1c5774(0x257)](){var _0x3fc777=_0x1c5774;this[_0x3fc777(0x46a)]=0x0,this[_0x3fc777(0x398)]!=null&&(clearTimeout(this[_0x3fc777(0x398)]),this['_retryConnectingTimer']=null),this[_0x3fc777(0x433)]();}async['_getSessionTicket'](){var _0x3e2358=_0x1c5774,_0x3749af,_0x4e9170,_0x37d2da;const _0x45e3e2=this[_0x3e2358(0x26c)][_0x3e2358(0x28d)](Y),_0x4a5b24=(_0x3749af=_0x45e3e2==null?void 0x0:_0x45e3e2['wsSessionTicketUrl'])!=null?_0x3749af:Ft;return(_0x37d2da=(_0x4e9170=(await this['_httpService']['get'](_0x4a5b24,{'headers':{'Content-Type':_0x3e2358(0x386)}}))[_0x3e2358(0x377)])==null?void 0x0:_0x4e9170[_0x3e2358(0x3aa)])!=null?_0x37d2da:'';}[_0x1c5774(0x424)](_0x2c2af4){var _0x3869e0=_0x1c5774,_0xa01d52,_0x54a138;const _0x20f94e=this[_0x3869e0(0x26c)][_0x3869e0(0x28d)](St),_0x51b4f7=this[_0x3869e0(0x26c)][_0x3869e0(0x28d)](Y),_0x693d48=(_0x54a138=(_0xa01d52=_0x51b4f7==null?void 0x0:_0x51b4f7[_0x3869e0(0x1a8)])!=null?_0xa01d52:_0x20f94e)!=null?_0x54a138:pt,_0x3eb0b7=typeof window>'u'?new URL(_0x693d48):new URL(_0x693d48,window[_0x3869e0(0x4a9)][_0x3869e0(0x3ab)]);_0x3eb0b7[_0x3869e0(0x1c3)]['set'](_0x3869e0(0x2b7),_0x2c2af4);const _0xa0f8ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3869e0(0x4a9)][_0x3869e0(0x443)]);return _0xa0f8ba[_0x3869e0(0x36c)]('runId')&&_0x3eb0b7['searchParams'][_0x3869e0(0x325)](_0x3869e0(0x2ec),_0xa0f8ba['get']('runId')),_0x3eb0b7[_0x3869e0(0x359)]();}async[_0x1c5774(0x194)](){var _0x28e1a2=_0x1c5774;const _0xcb5676=await this[_0x28e1a2(0x1ac)](),_0x21904a=this[_0x28e1a2(0x424)](_0xcb5676),_0x3ebef7=this[_0x28e1a2(0x239)][_0x28e1a2(0x2d8)](_0x21904a);return this['_candidateSocket']=_0x3ebef7,_0x3ebef7;}async[_0x1c5774(0x264)](){var _0x5aef44=_0x1c5774,_0x5ec6de,_0x51522b;try{const _0x54c801=(_0x51522b=(_0x5ec6de=this[_0x5aef44(0x465)])!=null?_0x5ec6de:this[_0x5aef44(0x4a5)])!=null?_0x51522b:await this[_0x5aef44(0x194)]();if(_0x54c801){const _0x31b71d=_0x54c801[_0x5aef44(0x3d3)];_0x54c801[_0x5aef44(0x3d3)]=_0x4edaae=>(this['_rescheduleHeartbeat'](),_0x31b71d[_0x5aef44(0x226)](_0x54c801,[_0x4edaae])),_0x54c801['message$']['subscribe'](_0x2a2233=>this['_onMessage'](_0x54c801,_0x2a2233)),_0x54c801[_0x5aef44(0x29f)]['pipe'](W['take'](0x1))[_0x5aef44(0x305)](_0x6a3e14=>this[_0x5aef44(0x228)][_0x5aef44(0x496)](_0x5aef44(0x236),_0x6a3e14)),_0x54c801['open$'][_0x5aef44(0x35c)](W['take'](0x1))[_0x5aef44(0x305)](()=>{var _0x404528=_0x5aef44;this[_0x404528(0x40b)](_0x54c801);}),_0x54c801['close$'][_0x5aef44(0x35c)](W[_0x5aef44(0x2bb)](0x1))[_0x5aef44(0x305)](_0x23dd64=>{var _0xf77cd=_0x5aef44;this[_0xf77cd(0x228)][_0xf77cd(0x463)](_0xf77cd(0x234),'socket\x20close',_0x23dd64),this[_0xf77cd(0x267)]();});}}catch(_0x4c0eeb){this[_0x5aef44(0x228)][_0x5aef44(0x496)](_0x4c0eeb),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3efdcf){var _0x1d3810=_0x1c5774;this['_logService'][_0x1d3810(0x463)]('[CollaborationSessionService]','socket\x20open.'),_0x3efdcf[_0x1d3810(0x3d3)]({'cmd':G[_0x1d3810(0x21f)]}),this[_0x1d3810(0x232)]();}[_0x1c5774(0x21a)](){var _0x464379=_0x1c5774;this[_0x464379(0x192)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x464379(0x4cf)](se[_0x464379(0x28b)]),this[_0x464379(0x3b3)][_0x464379(0x4cf)](null),this[_0x464379(0x1fc)](),this[_0x464379(0x326)]();}['_onConnectionFailed'](){var _0x72f938=_0x1c5774,_0x16ca9d;this[_0x72f938(0x21a)](),this[_0x72f938(0x46a)]<((_0x16ca9d=this[_0x72f938(0x26c)]['getConfig'](It))!=null?_0x16ca9d:Vt)?(this[_0x72f938(0x172)][_0x72f938(0x1bd)]({'id':Q[_0x72f938(0x1df)]}),this['_tryReconnect']()):this[_0x72f938(0x172)][_0x72f938(0x1bd)]({'id':Q[_0x72f938(0x217)]});}[_0x1c5774(0x433)](){var _0x42d488=_0x1c5774,_0x45f005;const _0x3d47c2=this[_0x42d488(0x46a)],_0x5b612f=this['_configService']['getConfig'](Y),_0x32e020=_0x3d47c2===0x0?0x0:((_0x45f005=_0x5b612f==null?void 0x0:_0x5b612f[_0x42d488(0x35d)])!=null?_0x45f005:Gt)*0x2**_0x3d47c2;this[_0x42d488(0x398)]=setTimeout(()=>{var _0x314b9b=_0x42d488;clearTimeout(this['_retryConnectingTimer']),this[_0x314b9b(0x398)]=null,this['_tryEnsureSocket']();},_0x32e020),this['_retryCount']+=0x1;}[_0x1c5774(0x3de)](_0x589433,_0x1eae3f){var _0x411921=_0x1c5774;const {cmd:_0x330e8e}=_0x1eae3f;_0x330e8e===G[_0x411921(0x21f)]&&!this[_0x411921(0x192)]&&(_0x589433[_0x411921(0x3f5)]=_0x1eae3f[_0x411921(0x1a1)][_0x411921(0x3f5)],this[_0x411921(0x3b3)][_0x411921(0x4cf)](_0x589433),this[_0x411921(0x238)]['next'](se[_0x411921(0x20b)]),this[_0x411921(0x192)]=!0x0,this['_candidateSocket']=null),_0x330e8e===G[_0x411921(0x3e5)]&&this[_0x411921(0x1fc)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x222e38=_0x1c5774,_0xf46ac5;this[_0x222e38(0x326)](),this[_0x222e38(0x157)]=setTimeout(()=>this[_0x222e38(0x331)](),(_0xf46ac5=this[_0x222e38(0x26c)][_0x222e38(0x28d)](mt))!=null?_0xf46ac5:Wt);}[_0x1c5774(0x331)](){var _0x547986=_0x1c5774;this[_0x547986(0x465)][_0x547986(0x3d3)]({'cmd':G['HEARTBEAT']}),this[_0x547986(0x242)]();}[_0x1c5774(0x242)](){var _0x3437af=_0x1c5774,_0xdfbc6d;this[_0x3437af(0x155)]=setTimeout(()=>this['_onConnectionFailed'](),(_0xdfbc6d=this[_0x3437af(0x26c)][_0x3437af(0x28d)](He))!=null?_0xdfbc6d:gt);}['_clearHeartbeatTimer'](){var _0x47363c=_0x1c5774;this[_0x47363c(0x157)]!=null&&(clearTimeout(this[_0x47363c(0x157)]),this[_0x47363c(0x157)]=null);}[_0x1c5774(0x1fc)](){var _0xb091f6=_0x1c5774;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xb091f6(0x155)]),this[_0xb091f6(0x155)]=null);}},exports[_0x1c5774(0x2dc)]=vn([ae(0x0,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),ae(0x1,a[_0x1c5774(0x312)]),ae(0x2,a[_0x1c5774(0x304)]),ae(0x3,ke),ae(0x4,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)])),ae(0x5,a['Inject'](te)),ae(0x6,a['Optional'](Rt))],exports['CollaborationSessionService']);const V=[];for(let r=0x0;r<0x100;++r)V[_0x1c5774(0x2fa)]((r+0x100)[_0x1c5774(0x359)](0x10)['slice'](0x1));function fn(_0x5c62c,_0x52c36b=0x0){var _0x4d8efa=_0x1c5774;return(V[_0x5c62c[_0x52c36b+0x0]]+V[_0x5c62c[_0x52c36b+0x1]]+V[_0x5c62c[_0x52c36b+0x2]]+V[_0x5c62c[_0x52c36b+0x3]]+'-'+V[_0x5c62c[_0x52c36b+0x4]]+V[_0x5c62c[_0x52c36b+0x5]]+'-'+V[_0x5c62c[_0x52c36b+0x6]]+V[_0x5c62c[_0x52c36b+0x7]]+'-'+V[_0x5c62c[_0x52c36b+0x8]]+V[_0x5c62c[_0x52c36b+0x9]]+'-'+V[_0x5c62c[_0x52c36b+0xa]]+V[_0x5c62c[_0x52c36b+0xb]]+V[_0x5c62c[_0x52c36b+0xc]]+V[_0x5c62c[_0x52c36b+0xd]]+V[_0x5c62c[_0x52c36b+0xe]]+V[_0x5c62c[_0x52c36b+0xf]])[_0x4d8efa(0x284)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x51d6c9=_0x1c5774;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x51d6c9(0x4b4));Pe=crypto[_0x51d6c9(0x24a)][_0x51d6c9(0x371)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),ze={'randomUUID':mn};function gn(_0xb9c296,_0xf686a0,_0x4f9374){var _0x1c1d18=_0x1c5774,_0xbce85c,_0x3aa508,_0x5b7270;if(ze[_0x1c1d18(0x240)]&&!_0xb9c296)return ze['randomUUID']();_0xb9c296=_0xb9c296||{};const _0x155d7f=(_0x5b7270=(_0x3aa508=_0xb9c296[_0x1c1d18(0x3c1)])!=null?_0x3aa508:(_0xbce85c=_0xb9c296[_0x1c1d18(0x3c0)])==null?void 0x0:_0xbce85c['call'](_0xb9c296))!=null?_0x5b7270:pn();if(_0x155d7f[_0x1c1d18(0x24b)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x155d7f[0x6]=_0x155d7f[0x6]&0xf|0x40,_0x155d7f[0x8]=_0x155d7f[0x8]&0x3f|0x80,fn(_0x155d7f);}const z=a[_0x1c5774(0x48d)](_0x1c5774(0x27d));function In(_0x1e40fc){var _0x2ed926=_0x1c5774;return _0x2ed926(0x42f)+_0x1e40fc;}var En=Object['defineProperty'],Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x2c125c,_0x1291a9,_0x5f2cde,_0x5eb76f)=>{var _0x31772f=_0x1c5774;for(var _0x4dcd87=_0x5eb76f>0x1?void 0x0:_0x5eb76f?Cn(_0x1291a9,_0x5f2cde):_0x1291a9,_0x372fef=_0x2c125c[_0x31772f(0x24b)]-0x1,_0x2d0876;_0x372fef>=0x0;_0x372fef--)(_0x2d0876=_0x2c125c[_0x372fef])&&(_0x4dcd87=(_0x5eb76f?_0x2d0876(_0x1291a9,_0x5f2cde,_0x4dcd87):_0x2d0876(_0x4dcd87))||_0x4dcd87);return _0x5eb76f&&_0x4dcd87&&En(_0x1291a9,_0x5f2cde,_0x4dcd87),_0x4dcd87;},De=(_0xa0f9c0,_0x23457d)=>(_0x37f3c0,_0xc99b80)=>_0x23457d(_0x37f3c0,_0xc99b80,_0xa0f9c0);function bn(_0x39ca17){var _0x321e4b=_0x1c5774;const {unitID:_0x3c5fc5,mutations:_0x4952b1}=_0x39ca17;return{'unitId':_0x3c5fc5,'subUnitId':_0x4952b1[0x0][_0x321e4b(0x36d)][_0x321e4b(0x2c3)]};}exports[_0x1c5774(0x301)]=class{constructor(_0x27a09e,_0x5f1abf,_0x100d5b){var _0x3c4ece=_0x1c5774;this[_0x3c4ece(0x2b3)]=_0x27a09e,this['_transformService']=_0x5f1abf,this[_0x3c4ece(0x490)]=_0x100d5b;}['transformSelections'](_0x12ce9b){var _0x45985e=_0x1c5774,_0x2c4e94,_0x5d1463,_0x2b3331,_0x2d5330;const _0x278d01=this[_0x45985e(0x2b3)][_0x45985e(0x36c)](J[_0x45985e(0x1b0)]),{unitId:_0x27c79f,subUnitId:_0x101bb5}=bn(_0x12ce9b),_0x14825b=_0x278d01==null?void 0x0:_0x278d01[_0x45985e(0x34f)](_0x27c79f)[_0x45985e(0x159)](),_0x39cc85=(_0x5d1463=(_0x2c4e94=this[_0x45985e(0x490)][_0x45985e(0x19f)](_0x27c79f))==null?void 0x0:_0x2c4e94[_0x45985e(0x3db)]())==null?void 0x0:_0x5d1463[_0x45985e(0x1ad)]();if(_0x14825b['length']===0x0||!_0x27c79f||!_0x101bb5)return;const _0x1f8ce8=[{'id':J[_0x45985e(0x152)]['id'],'params':{'unitId':_0x27c79f,'subUnitId':_0x39cc85,'selections':a[_0x45985e(0x270)][_0x45985e(0x43f)](_0x14825b)}}],_0x3fec4a=this['_transformService']['transformMutationsWithChangeset'](_0x12ce9b,_0x1f8ce8);if(!m[_0x45985e(0x344)](_0x3fec4a))throw _0x3fec4a[_0x45985e(0x496)];const _0x3499d5=(_0x2d5330=(_0x2b3331=_0x3fec4a['m2Prime'][0x0])==null?void 0x0:_0x2b3331[_0x45985e(0x36d)])==null?void 0x0:_0x2d5330[_0x45985e(0x1a7)];if(Array[_0x45985e(0x2a7)](_0x3499d5)&&_0x3499d5['length']){if(_0x3499d5[_0x45985e(0x24b)]===_0x1f8ce8[0x0][_0x45985e(0x36d)][_0x45985e(0x1a7)]['length']&&_0x3499d5['every']((_0x22e5a6,_0x43525a)=>a[_0x45985e(0x2bc)]['equals'](_0x22e5a6[_0x45985e(0x402)],_0x1f8ce8[0x0][_0x45985e(0x36d)][_0x45985e(0x1a7)][_0x43525a][_0x45985e(0x402)])))return;this['_injector']['get'](a[_0x45985e(0x1a2)])[_0x45985e(0x3ba)](J[_0x45985e(0x152)]['id'],{'unitId':_0x27c79f,'subUnitId':_0x39cc85,'selections':_0x3499d5});}}},exports['SheetTransformSelectionsService']=Tn([De(0x0,a['Inject'](a[_0x1c5774(0x2cb)])),De(0x1,m[_0x1c5774(0x212)]),De(0x2,a[_0x1c5774(0x3a9)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0x1c5774(0x3ef));var Fe=(_0x207d89=>(_0x207d89[_0x207d89[_0x1c5774(0x4c1)]=0x0]=_0x1c5774(0x4c1),_0x207d89[_0x207d89[_0x1c5774(0x397)]=0x1]='OTHER_CLIENTS_EDITING',_0x207d89))(Fe||{});const Rn=new Set([J['InsertSheetMutation']['id']]);function Je(_0x5acd5f,_0x499a3d,_0x13c7b9,_0x29eacd,_0x49a4e6){var _0x4fa10d=_0x1c5774,_0x5ac7ff,_0x596fd6,_0x53b477,_0x308cf3;const _0x2dd3d5=[];for(const _0x183435 of _0x5acd5f)if(Rn[_0x4fa10d(0x2df)](_0x183435['id'])){if(_0x2dd3d5['length']>0x0)break;_0x2dd3d5['push'](_0x183435);break;}else _0x2dd3d5[_0x4fa10d(0x2fa)](_0x183435);const _0xc182b4=(_0x596fd6=(_0x5ac7ff=_0x49a4e6[_0x4fa10d(0x1c4)]())==null?void 0x0:_0x5ac7ff[_0x4fa10d(0x49f)])!=null?_0x596fd6:_0x4fa10d(0x329),_0x1bd1b7=(_0x308cf3=(_0x53b477=_0x49a4e6['getCurrentUser']())==null?void 0x0:_0x53b477[_0x4fa10d(0x3f5)])!=null?_0x308cf3:'unknown';return{'changeset':{'unitID':_0x499a3d,'type':m['mapDocumentTypeToUniverType'](_0x13c7b9[_0x4fa10d(0x3be)](_0x499a3d)),'baseRev':_0x29eacd[_0x4fa10d(0x32d)](_0x499a3d),'revision':0x0,'userID':_0xc182b4,'memberID':_0x1bd1b7,'mutations':_0x2dd3d5},'pendingMutations':_0x5acd5f['slice'](_0x2dd3d5[_0x4fa10d(0x24b)])};}function On(_0xd88d52,_0x2e6fc7,_0x1cb08b,_0x326375,_0x4d5226){var _0xdf5a45=_0x1c5774,_0x3c126e,_0x476f4a,_0x2b6c52,_0x2b3764;const _0x3afc24=[_0xd88d52[_0xdf5a45(0x310)]((_0x5e55d5,_0x434e7f)=>{var _0x34d673=_0xdf5a45,_0x212358;const {id:_0x15ffb3}=_0x5e55d5,{id:_0x14a9c4,type:_0x559838}=_0x434e7f,_0x21cda4=(_0x212358=_0x5e55d5[_0x34d673(0x36d)])!=null?_0x212358:{'actions':null},_0x5b2aa6=_0x434e7f[_0x34d673(0x36d)];if(_0x15ffb3&&_0x15ffb3!==_0x14a9c4)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x15ffb3+_0x34d673(0x38d)+_0x14a9c4+'.');return{..._0x5e55d5,'id':_0x14a9c4,'type':_0x559838,'params':{'unitId':_0x5b2aa6['unitId'],'textRanges':_0x5b2aa6[_0x34d673(0x339)],'actions':a['JSONX'][_0x34d673(0x2d5)](_0x21cda4[_0x34d673(0x187)],_0x5b2aa6[_0x34d673(0x187)])}};},{})],_0x37a336=(_0x476f4a=(_0x3c126e=_0x4d5226[_0xdf5a45(0x1c4)]())==null?void 0x0:_0x3c126e[_0xdf5a45(0x49f)])!=null?_0x476f4a:_0xdf5a45(0x329),_0x103885=(_0x2b3764=(_0x2b6c52=_0x4d5226[_0xdf5a45(0x1c4)]())==null?void 0x0:_0x2b6c52[_0xdf5a45(0x3f5)])!=null?_0x2b3764:_0xdf5a45(0x329);return{'changeset':{'unitID':_0x2e6fc7,'type':m[_0xdf5a45(0x2e7)](_0x1cb08b[_0xdf5a45(0x3be)](_0x2e6fc7)),'baseRev':_0x326375[_0xdf5a45(0x32d)](_0x2e6fc7),'revision':0x0,'userID':_0x37a336,'memberID':_0x103885,'mutations':_0x3afc24},'pendingMutations':[]};}function Nt(_0x3e6be8,_0x157a55){var _0x3d9c3d=_0x1c5774;const _0x4cc489=new H[(_0x3d9c3d(0x3ae))](0x1);return setTimeout(()=>_0x4cc489[_0x3d9c3d(0x4cf)](_0x157a55),_0x3e6be8),_0x4cc489[_0x3d9c3d(0x460)]()[_0x3d9c3d(0x35c)](H['take'](0x1));}const yn={'id':J[_0x1c5774(0x333)]['id'],'type':a['CommandType'][_0x1c5774(0x390)],'params':{}};var Nn=Object[_0x1c5774(0x2b1)],Un=Object['getOwnPropertyDescriptor'],le=(_0x49058f,_0x4be17e,_0x516c7c,_0x387863)=>{var _0x201874=_0x1c5774;for(var _0x5e1d1b=_0x387863>0x1?void 0x0:_0x387863?Un(_0x4be17e,_0x516c7c):_0x4be17e,_0x1ebf05=_0x49058f[_0x201874(0x24b)]-0x1,_0xfdb0d3;_0x1ebf05>=0x0;_0x1ebf05--)(_0xfdb0d3=_0x49058f[_0x1ebf05])&&(_0x5e1d1b=(_0x387863?_0xfdb0d3(_0x4be17e,_0x516c7c,_0x5e1d1b):_0xfdb0d3(_0x5e1d1b))||_0x5e1d1b);return _0x387863&&_0x5e1d1b&&Nn(_0x4be17e,_0x516c7c,_0x5e1d1b),_0x5e1d1b;},A=(_0x12d6ad,_0x556fee)=>(_0x812f8e,_0x3127f5)=>_0x556fee(_0x812f8e,_0x3127f5,_0x12d6ad),We=(_0x398586=>(_0x398586[_0x1c5774(0x455)]=_0x1c5774(0x1fb),_0x398586['SYNCED']=_0x1c5774(0x29d),_0x398586[_0x1c5774(0x43e)]=_0x1c5774(0x31a),_0x398586[_0x1c5774(0x227)]=_0x1c5774(0x282),_0x398586['AWAITING_WITH_PENDING']=_0x1c5774(0x44d),_0x398586[_0x1c5774(0x18b)]='fetch_missing',_0x398586[_0x1c5774(0x47c)]='conflict',_0x398586[_0x1c5774(0x28b)]=_0x1c5774(0x1e5),_0x398586))(We||{});const Ut=0xea60;class _e{constructor(_0x1d34fc,_0x28213f,_0xeec16a,_0x99f2eb,_0x323c5f,_0x23211b,_0x1c8451,_0x43be5e,_0x26dff5){var _0x3e292c=_0x1c5774;D(this,'_awaitingChangeset',null),D(this,_0x3e292c(0x219),[]),(this[_0x3e292c(0x382)]=_0x1d34fc,this[_0x3e292c(0x33d)]=_0x28213f,this[_0x3e292c(0x42e)]=_0x323c5f,this[_0x3e292c(0x47a)]=_0x23211b,this[_0x3e292c(0x196)]=_0x1c8451,this[_0x3e292c(0x29e)]=_0x43be5e,this[_0x3e292c(0x266)]=_0x26dff5,this['_awaitingChangeset']=_0xeec16a,this[_0x3e292c(0x219)]=_0x99f2eb);}[_0x1c5774(0x225)](_0x532053){var _0x17489b=_0x1c5774;const _0x22e11f=this[_0x17489b(0x29e)][_0x17489b(0x32d)](this[_0x17489b(0x382)]);return _0x532053[_0x17489b(0x3d8)]>_0x22e11f+0x1?(this['_handler'][_0x17489b(0x37e)]({'from':_0x22e11f,'to':_0x532053[_0x17489b(0x3d8)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x223540){var _0x2d7ac7=_0x1c5774;this[_0x2d7ac7(0x196)][_0x2d7ac7(0x2cc)](this[_0x2d7ac7(0x382)],_0x223540);}[_0x1c5774(0x296)](_0x461a5c){var _0x8865d8=_0x1c5774,_0xd7d294,_0x5328a8;(_0x5328a8=(_0xd7d294=this['_handler'])[_0x8865d8(0x1e9)])==null||_0x5328a8[_0x8865d8(0x412)](_0xd7d294,_0x461a5c);}[_0x1c5774(0x458)](_0x801d0b){var _0x19cce8=_0x1c5774,_0x599153,_0x4382df;return(_0x4382df=(_0x599153=this[_0x19cce8(0x42e)])[_0x19cce8(0x292)])==null?void 0x0:_0x4382df[_0x19cce8(0x412)](_0x599153,_0x801d0b);}[_0x1c5774(0x35b)](_0xaacd04){var _0x30a759=_0x1c5774,_0x70f14f,_0x1cbb0f;return(_0x1cbb0f=(_0x70f14f=this['_handler'])[_0x30a759(0x39c)])==null?void 0x0:_0x1cbb0f[_0x30a759(0x412)](_0x70f14f,_0xaacd04);}['_transformRemoteChangesetByIMECache'](_0x3f2ece){var _0x35823b=_0x1c5774,_0x4f72a9,_0x3aac7b,_0x1b91fe;return(_0x1b91fe=(_0x3aac7b=(_0x4f72a9=this[_0x35823b(0x42e)])[_0x35823b(0x279)])==null?void 0x0:_0x3aac7b['call'](_0x4f72a9,_0x3f2ece))!=null?_0x1b91fe:_0x3f2ece;}['_transformRemoteChangesetByStateCache'](_0x25a68a){var _0x2c3d80=_0x1c5774,_0x5872ea,_0x2b7daf,_0x400777;return(_0x400777=(_0x2b7daf=(_0x5872ea=this[_0x2c3d80(0x42e)])[_0x2c3d80(0x2da)])==null?void 0x0:_0x2b7daf[_0x2c3d80(0x412)](_0x5872ea,_0x25a68a))!=null?_0x400777:_0x25a68a;}[_0x1c5774(0x224)](_0xdb8cf8){var _0x2eb31c=_0x1c5774,_0x338809,_0x5479f5;if(this[_0x2eb31c(0x33d)]===Z[_0x2eb31c(0x466)]){const {unitID:_0x39a2e4,mutations:_0x1c74db,memberID:_0x3ee6b7}=_0xdb8cf8,_0x3599a9=_0x1c74db[0x0][_0x2eb31c(0x36d)][_0x2eb31c(0x339)];Array[_0x2eb31c(0x2a7)](_0x3599a9)&&_0x3599a9['length']>0x0&&((_0x5479f5=(_0x338809=this[_0x2eb31c(0x42e)])[_0x2eb31c(0x2f8)])==null||_0x5479f5['call'](_0x338809,{'unitID':_0x39a2e4,'memberID':_0x3ee6b7,'textRanges':_0x3599a9}));}}[_0x1c5774(0x2e0)](){var _0x1c397f=_0x1c5774,_0x47aefc;(_0x47aefc=this[_0x1c397f(0x266)])==null||_0x47aefc[_0x1c397f(0x4d3)](this[_0x1c397f(0x382)],this[_0x1c397f(0x33d)],this['_awaitingChangeset'],this[_0x1c397f(0x219)]);}['_getCurrentRevision'](){var _0x29d4c5=_0x1c5774;return this[_0x29d4c5(0x29e)]['getCurrentRevOfUnit'](this[_0x29d4c5(0x382)]);}['_incrementRevisionNumber'](){var _0x3e03ef=_0x1c5774;this[_0x3e03ef(0x29e)][_0x3e03ef(0x3e4)](this[_0x3e03ef(0x382)]);}['_executeRemoteChangeset'](_0x19700f){var _0x5a74f9=_0x1c5774,_0x3eb854;let _0x25c6e1=this['_transformRemoteChangesetByIMECache'](_0x19700f);_0x25c6e1=this[_0x5a74f9(0x248)](_0x25c6e1);const _0x290414=a[_0x5a74f9(0x48c)](_0x25c6e1[_0x5a74f9(0x27b)],this[_0x5a74f9(0x47a)],{'fromCollab':!0x0});if(!_0x290414['result'])throw _0x290414[_0x5a74f9(0x496)]instanceof Error?_0x290414[_0x5a74f9(0x496)]:new Error((_0x3eb854=_0x290414[_0x5a74f9(0x496)])!=null?_0x3eb854:_0x5a74f9(0x18c));this[_0x5a74f9(0x458)](_0x25c6e1),this[_0x5a74f9(0x35b)](_0x25c6e1),this[_0x5a74f9(0x222)](_0x19700f),this[_0x5a74f9(0x296)](_0x25c6e1),this[_0x5a74f9(0x224)](_0x25c6e1),this[_0x5a74f9(0x1a3)]();}}exports[_0x1c5774(0x426)]=class extends _e{constructor(_0x24cb64,_0x4be440,_0x207083,_0x4c7b5d,_0x3b5131,_0x135aba,_0x5562d7,_0x2ce790,_0x38b8fe,_0x5d1b8a){var _0x626436=_0x1c5774;super(_0x24cb64,_0x4be440,null,[],_0x207083,_0x5562d7,_0x135aba,_0x4c7b5d,_0x5d1b8a),D(this,_0x626436(0x3d5),_0x626436(0x29d)),(this[_0x626436(0x2b3)]=_0x3b5131,this['_logService']=_0x2ce790,this[_0x626436(0x298)]=_0x38b8fe,this[_0x626436(0x1d8)]=_0x5d1b8a);}[_0x1c5774(0x42a)](_0x10b162){var _0x376423=_0x1c5774;const _0x172d21=this[_0x376423(0x2b3)][_0x376423(0x2fc)](exports[_0x376423(0x4d1)],this['unitID'],this[_0x376423(0x33d)],[_0x10b162],this[_0x376423(0x42e)]);return _0x172d21[_0x376423(0x420)](),_0x172d21['_updateLocalCache'](),_0x172d21;}[_0x1c5774(0x15e)](_0x54597d){var _0x4a80cf=_0x1c5774;if(this[_0x4a80cf(0x225)](_0x54597d))return this[_0x4a80cf(0x2b3)][_0x4a80cf(0x2fc)](exports['FetchingMissState'],this[_0x4a80cf(0x382)],this[_0x4a80cf(0x33d)],null,[],null,[_0x54597d],this[_0x4a80cf(0x42e)]);try{const _0x2dcbff=this[_0x4a80cf(0x298)][_0x4a80cf(0x1e1)](_0x54597d,[yn]);if(m[_0x4a80cf(0x344)](_0x2dcbff)){const {c1Prime:_0x74f2c3}=_0x2dcbff;return this[_0x4a80cf(0x40e)](_0x74f2c3),this;}throw _0x2dcbff['error'];}catch(_0x3eba95){return this['_logService']['error'](_0x3eba95),this['_onConflict'](!0x1);}}[_0x1c5774(0x3ac)](_0x57d369){var _0x2f0527=_0x1c5774;return this['_injector']['createInstance'](exports[_0x2f0527(0x1f2)],this[_0x2f0527(0x382)],this['type'],null,[],this[_0x2f0527(0x42e)],_0x57d369);}['onRemoteAck'](){var _0x50a235=_0x1c5774;throw new Error(_0x50a235(0x403));}[_0x1c5774(0x2f2)](){var _0x3e1a0e=_0x1c5774;throw new Error(_0x3e1a0e(0x2f4));}[_0x1c5774(0x1db)](){return this;}['toggleOffline'](){var _0x2d953e=_0x1c5774;return this[_0x2d953e(0x2b3)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x2d953e(0x33d)],null,[],this[_0x2d953e(0x42e)]);}[_0x1c5774(0x3a0)](){return this;}['resend'](){var _0x377f05=_0x1c5774;throw new Error(_0x377f05(0x3a2));}[_0x1c5774(0x3f3)](){var _0x48470c=_0x1c5774;const _0x25a25e=this[_0x48470c(0x29e)]['getCurrentRevOfUnit'](this[_0x48470c(0x382)]);return this['_handler'][_0x48470c(0x37e)]({'from':_0x25a25e,'to':0x0}),this[_0x48470c(0x2b3)]['createInstance'](exports['FetchingMissState'],this[_0x48470c(0x382)],this[_0x48470c(0x33d)],null,[],null,[],this['_handler']);}},exports[_0x1c5774(0x426)]=le([A(0x3,a[_0x1c5774(0x3b5)](m['RevisionService'])),A(0x4,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),A(0x5,a[_0x1c5774(0x189)]),A(0x6,a[_0x1c5774(0x1a2)]),A(0x7,a[_0x1c5774(0x312)]),A(0x8,m['ITransformService']),A(0x9,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x426)]),exports[_0x1c5774(0x4d1)]=class extends _e{constructor(_0x48499f,_0x11a292,_0x17b1bf,_0x721d17,_0x424e8c,_0x34e926,_0x22989f,_0x174428,_0x1f093,_0x8b9d43,_0x4bb781,_0xf6d0af,_0xabe3a4,_0xe80952){var _0x3f5bbb=_0x1c5774;super(_0x48499f,_0x11a292,null,_0x17b1bf,_0x721d17,_0x1f093,_0xabe3a4,_0x34e926,_0xe80952),D(this,_0x3f5bbb(0x3d5),_0x3f5bbb(0x31a)),D(this,_0x3f5bbb(0x3bc),null),D(this,'_sendingTimer',null),(this[_0x3f5bbb(0x2b3)]=_0x424e8c,this['_memberService']=_0x22989f,this[_0x3f5bbb(0x228)]=_0x174428,this[_0x3f5bbb(0x26c)]=_0x8b9d43,this['_transformService']=_0x4bb781,this[_0x3f5bbb(0x44c)]=_0xf6d0af);}['appendMutation'](_0x57f965){var _0x5ab1a3=_0x1c5774;return this[_0x5ab1a3(0x219)][_0x5ab1a3(0x2fa)](_0x57f965),this[_0x5ab1a3(0x2e0)](),this;}[_0x1c5774(0x15e)](_0x49f0d4){var _0x563e5b=_0x1c5774;if(this[_0x563e5b(0x225)](_0x49f0d4))return this[_0x563e5b(0x16e)](),this[_0x563e5b(0x2b3)][_0x563e5b(0x2fc)](exports['FetchingMissState'],this[_0x563e5b(0x382)],this[_0x563e5b(0x33d)],null,this[_0x563e5b(0x219)],null,[_0x49f0d4],this[_0x563e5b(0x42e)]);try{const _0x82a0b0=this[_0x563e5b(0x298)][_0x563e5b(0x1e1)](_0x49f0d4,this[_0x563e5b(0x219)]);if(m[_0x563e5b(0x344)](_0x82a0b0)){const {c1Prime:_0x2eaf13,m2Prime:_0x5c64cd}=_0x82a0b0;this['_executeRemoteChangeset'](_0x2eaf13);const _0x42f870=this[_0x563e5b(0x2b3)]['createInstance'](exports[_0x563e5b(0x4d1)],this[_0x563e5b(0x382)],this[_0x563e5b(0x33d)],_0x5c64cd,this[_0x563e5b(0x42e)]);this[_0x563e5b(0x16e)]();const _0x18b7b3=new Date()[_0x563e5b(0x41e)](),_0x542b4a=this[_0x563e5b(0x3bc)]?Math[_0x563e5b(0x3f0)](this[_0x563e5b(0x3bc)]-_0x18b7b3,0x0):this['_getSendChangesetTimeout']();return _0x42f870[_0x563e5b(0x420)](_0x542b4a),_0x42f870;}throw _0x82a0b0[_0x563e5b(0x496)];}catch(_0x5ab62a){return this[_0x563e5b(0x228)]['error'](_0x5ab62a),this[_0x563e5b(0x3ac)](!0x1);}}[_0x1c5774(0x38c)](){var _0x5c7057=_0x1c5774;throw new Error(_0x5c7057(0x489));}[_0x1c5774(0x2f2)](){var _0x6d600d=_0x1c5774;throw new Error(_0x6d600d(0x154));}[_0x1c5774(0x1db)](){return this;}['toggleOffline'](){var _0x40e263=_0x1c5774;return this[_0x40e263(0x16e)](),this['_injector']['createInstance'](exports[_0x40e263(0x39b)],this[_0x40e263(0x382)],this[_0x40e263(0x33d)],null,this[_0x40e263(0x219)],this[_0x40e263(0x42e)]);}['toggleOnline'](){return this;}['_schedule'](_0x15520e){var _0x56955=_0x1c5774;const _0x1d9118=_0x15520e!=null?_0x15520e:this[_0x56955(0x2c0)]();this['_scheduleCompleteTimestamp']=new Date()[_0x56955(0x41e)]()+_0x1d9118,this[_0x56955(0x1b5)]=setTimeout(()=>{var _0x2fb66c=_0x56955;this['_clearScheduledTask']();let _0x12ba54=null;switch(this[_0x2fb66c(0x33d)]){case Z['UNIVER_SHEET']:{_0x12ba54=Je(this[_0x2fb66c(0x219)],this['unitID'],this[_0x2fb66c(0x44c)],this[_0x2fb66c(0x29e)],this['_memberService']);break;}case Z[_0x2fb66c(0x466)]:{this['_pendingMutations']['every'](_0x3e0431=>_0x3e0431['id']===dt[_0x2fb66c(0x32f)]['id'])?_0x12ba54=On(this['_pendingMutations'],this['unitID'],this[_0x2fb66c(0x44c)],this['_revisionService'],this[_0x2fb66c(0x481)]):_0x12ba54=Je(this[_0x2fb66c(0x219)],this[_0x2fb66c(0x382)],this[_0x2fb66c(0x44c)],this[_0x2fb66c(0x29e)],this[_0x2fb66c(0x481)]);break;}default:throw new Error(_0x2fb66c(0x4a8)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5cc439,pendingMutations:_0x3cc1cb}=_0x12ba54;this[_0x2fb66c(0x42e)]['onSendChangeset'](_0x5cc439);const _0x55e560=_0x3cc1cb[_0x2fb66c(0x24b)]?this[_0x2fb66c(0x2b3)][_0x2fb66c(0x2fc)](exports[_0x2fb66c(0x297)],this[_0x2fb66c(0x382)],this[_0x2fb66c(0x33d)],_0x5cc439,_0x3cc1cb,this['_handler'],void 0x0):this[_0x2fb66c(0x2b3)][_0x2fb66c(0x2fc)](exports[_0x2fb66c(0x18f)],this['unitID'],this[_0x2fb66c(0x33d)],_0x5cc439,this['_handler']);_0x55e560[_0x2fb66c(0x2e0)](),this[_0x2fb66c(0x42e)][_0x2fb66c(0x287)](this,_0x55e560);},_0x1d9118);}[_0x1c5774(0x2c0)](){var _0x23163f=_0x1c5774,_0xb49188;const _0x2be9fb=this['_configService'][_0x23163f(0x28d)](Y);return(_0xb49188=_0x2be9fb==null?void 0x0:_0x2be9fb[_0x23163f(0x3bd)])!=null?_0xb49188:Bt;}['resend'](){var _0xee36a8=_0x1c5774;throw new Error(_0xee36a8(0x19c));}['_clearScheduledTask'](){var _0x15d043=_0x1c5774;this[_0x15d043(0x1b5)]!=null&&(clearTimeout(this[_0x15d043(0x1b5)]),this[_0x15d043(0x1b5)]=null);}[_0x1c5774(0x3ac)](_0x1a7b68){var _0x343950=_0x1c5774;return this[_0x343950(0x16e)](),this[_0x343950(0x2b3)][_0x343950(0x2fc)](exports[_0x343950(0x1f2)],this[_0x343950(0x382)],this['type'],null,this[_0x343950(0x219)],this[_0x343950(0x42e)],_0x1a7b68);}},exports[_0x1c5774(0x4d1)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x166)])),A(0x6,a[_0x1c5774(0x3b5)](exports[_0x1c5774(0x3f9)])),A(0x7,a['ILogService']),A(0x8,a['ICommandService']),A(0x9,a['IConfigService']),A(0xa,m[_0x1c5774(0x212)]),A(0xb,a[_0x1c5774(0x3a9)]),A(0xc,a[_0x1c5774(0x189)]),A(0xd,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x4d1)]),exports['AwaitingState']=class extends _e{constructor(_0x2f68d3,_0x333bee,_0x129b71,_0x532811,_0x440c84,_0x27d754,_0x2ee324,_0x404fb0,_0x20d8b8,_0x23884e,_0x598a03){var _0x514890=_0x1c5774;super(_0x2f68d3,_0x333bee,_0x129b71,[],_0x532811,_0x2ee324,_0x23884e,_0x27d754,_0x598a03),D(this,_0x514890(0x3d5),_0x514890(0x282)),D(this,_0x514890(0x498),0x0),D(this,_0x514890(0x387)),D(this,'_sender'),(this[_0x514890(0x2b3)]=_0x440c84,this[_0x514890(0x228)]=_0x404fb0,this[_0x514890(0x298)]=_0x20d8b8);}['appendMutation'](_0x3d07a0){var _0x1e75b1=_0x1c5774;this[_0x1e75b1(0x16e)]();const _0x312f4a=this[_0x1e75b1(0x2b3)][_0x1e75b1(0x2fc)](exports[_0x1e75b1(0x297)],this[_0x1e75b1(0x382)],this[_0x1e75b1(0x33d)],this[_0x1e75b1(0x488)],[_0x3d07a0],this[_0x1e75b1(0x42e)],this[_0x1e75b1(0x387)]);return _0x312f4a[_0x1e75b1(0x2e0)](),_0x312f4a;}[_0x1c5774(0x15e)](_0x5d2a50){var _0x29dc3d=_0x1c5774;if(this['_checkMissing'](_0x5d2a50))return this[_0x29dc3d(0x16e)](),this[_0x29dc3d(0x2b3)]['createInstance'](exports[_0x29dc3d(0x4ca)],this['unitID'],this[_0x29dc3d(0x33d)],this['_awaitingChangeset'],[],null,[_0x5d2a50],this[_0x29dc3d(0x42e)]);try{const _0x5c7b0f=this[_0x29dc3d(0x298)][_0x29dc3d(0x442)]([_0x5d2a50],[this[_0x29dc3d(0x488)]],!0x1);if(m[_0x29dc3d(0x1c0)](_0x5c7b0f)){const {c1Prime:_0x2e27f0,c2Prime:_0x32d2bc}=_0x5c7b0f;this[_0x29dc3d(0x40e)](_0x2e27f0[0x0]),_0x32d2bc[0x0]['baseRev']=this[_0x29dc3d(0x2ca)](),this[_0x29dc3d(0x16e)]();const _0x5dc906=this[_0x29dc3d(0x2b3)][_0x29dc3d(0x2fc)](exports['AwaitingState'],this[_0x29dc3d(0x382)],this[_0x29dc3d(0x33d)],_0x32d2bc[0x0],this[_0x29dc3d(0x42e)]);return _0x5dc906[_0x29dc3d(0x2e0)](),_0x5dc906;}return this[_0x29dc3d(0x3ac)](!0x1);}catch(_0x57349f){return this['_logService'][_0x29dc3d(0x496)](_0x57349f),this[_0x29dc3d(0x3ac)](!0x1);}}[_0x1c5774(0x38c)](_0x7fdd47){var _0x2264a0=_0x1c5774;this[_0x2264a0(0x16e)]();const _0x306341=this['_revisionService'][_0x2264a0(0x32d)](this[_0x2264a0(0x382)]);if(_0x7fdd47['revision']<_0x306341-0x1)return this;if(this['_checkMissing'](_0x7fdd47))return this[_0x2264a0(0x2b3)][_0x2264a0(0x2fc)](exports['FetchingMissState'],this[_0x2264a0(0x382)],this['type'],null,[],this[_0x2264a0(0x488)],[],this[_0x2264a0(0x42e)]);this[_0x2264a0(0x1a3)]();const _0x147fc3=this['_injector'][_0x2264a0(0x2fc)](exports[_0x2264a0(0x426)],this[_0x2264a0(0x382)],this[_0x2264a0(0x33d)],this[_0x2264a0(0x42e)]);return _0x147fc3[_0x2264a0(0x2e0)](),_0x147fc3;}[_0x1c5774(0x2f2)](_0x33c547){var _0x4a9a30=_0x1c5774;return this[_0x4a9a30(0x3ac)](!!(_0x33c547!=null&&_0x33c547[_0x4a9a30(0x33f)]));}[_0x1c5774(0x1db)](_0x5299cf){var _0x221da5=_0x1c5774;return this[_0x221da5(0x498)]>Ut?this[_0x221da5(0x37b)]():(this[_0x221da5(0x387)]=Nt(this[_0x221da5(0x498)],{'timeout':this[_0x221da5(0x498)],'reqId':_0x5299cf[_0x221da5(0x1b2)]}),this[_0x221da5(0x18e)]=this[_0x221da5(0x387)]['subscribe'](({reqId:_0x2023d6,timeout:_0x148ff3})=>{this['_resendWithTimeout'](_0x2023d6,_0x148ff3);}),this);}[_0x1c5774(0x37b)](){var _0x129df7=_0x1c5774;return this[_0x129df7(0x16e)](),this[_0x129df7(0x2b3)][_0x129df7(0x2fc)](exports[_0x129df7(0x39b)],this[_0x129df7(0x382)],this[_0x129df7(0x33d)],this[_0x129df7(0x488)],[],this[_0x129df7(0x42e)]);}[_0x1c5774(0x3a0)](){return this;}[_0x1c5774(0x348)](){var _0x8f00dd=_0x1c5774;this[_0x8f00dd(0x42e)][_0x8f00dd(0x179)](this[_0x8f00dd(0x488)]);}[_0x1c5774(0x3ac)](_0x10bfb7){var _0x15e30c=_0x1c5774;return this[_0x15e30c(0x16e)](),this['_injector'][_0x15e30c(0x2fc)](exports[_0x15e30c(0x1f2)],this[_0x15e30c(0x382)],this[_0x15e30c(0x33d)],this[_0x15e30c(0x488)],[],this[_0x15e30c(0x42e)],_0x10bfb7);}[_0x1c5774(0x1f1)](_0x7c626e,_0x3af4e3){var _0x27ce5b=_0x1c5774,_0x142091;_0x7c626e===((_0x142091=this[_0x27ce5b(0x488)])==null?void 0x0:_0x142091[_0x27ce5b(0x1b2)])&&(this[_0x27ce5b(0x348)](),this[_0x27ce5b(0x498)]=_0x3af4e3===0x0?0x3e8:_0x3af4e3*0x2);}['_clearScheduledTask'](){var _0x364823=_0x1c5774,_0x5b6350;(_0x5b6350=this[_0x364823(0x18e)])==null||_0x5b6350['unsubscribe'](),this[_0x364823(0x498)]=0x0;}},exports[_0x1c5774(0x18f)]=le([A(0x4,a[_0x1c5774(0x3b5)](a['Injector'])),A(0x5,a['Inject'](m[_0x1c5774(0x166)])),A(0x6,a['ICommandService']),A(0x7,a['ILogService']),A(0x8,m[_0x1c5774(0x212)]),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x18f)]),exports[_0x1c5774(0x297)]=class extends _e{constructor(_0x122418,_0xb28155,_0x13dfed,_0x4ac5a5,_0x35d404,_0x4c3501,_0x3cf8b8,_0x158aa8,_0x4038af,_0x2060cc,_0x260d4c,_0x297104,_0x221b17){var _0x5eeb97=_0x1c5774;super(_0x122418,_0xb28155,_0x13dfed,_0x4ac5a5,_0x35d404,_0x4038af,_0x297104,_0x158aa8,_0x221b17),D(this,'status',_0x5eeb97(0x44d)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x5eeb97(0x2b3)]=_0x3cf8b8,this[_0x5eeb97(0x228)]=_0x2060cc,this[_0x5eeb97(0x298)]=_0x260d4c,this[_0x5eeb97(0x1d8)]=_0x221b17,_0x4c3501&&(this[_0x5eeb97(0x387)]=_0x4c3501,this[_0x5eeb97(0x18e)]=this['_resendTimer'][_0x5eeb97(0x305)](({reqId:_0xfd812,timeout:_0x26546e})=>{var _0xa4cf40=_0x5eeb97;this[_0xa4cf40(0x1f1)](_0xfd812,_0x26546e);})));}[_0x1c5774(0x42a)](_0x811465){var _0x21842e=_0x1c5774;return this[_0x21842e(0x219)][_0x21842e(0x2fa)](_0x811465),this;}['onRemoteChangeset'](_0x233ec4){var _0x20e3d9=_0x1c5774;if(this[_0x20e3d9(0x225)](_0x233ec4))return this[_0x20e3d9(0x16e)](),this[_0x20e3d9(0x2b3)]['createInstance'](exports[_0x20e3d9(0x4ca)],this[_0x20e3d9(0x382)],this['type'],this[_0x20e3d9(0x488)],this[_0x20e3d9(0x219)],null,[_0x233ec4],this[_0x20e3d9(0x42e)]);try{const _0x1facd0=this['_transformService'][_0x20e3d9(0x442)]([_0x233ec4],[this[_0x20e3d9(0x488)]],!0x1);if(m[_0x20e3d9(0x1c0)](_0x1facd0)){const {c1Prime:_0x1e7658,c2Prime:_0x105617}=_0x1facd0,_0x18cbe8=this['_transformService'][_0x20e3d9(0x1e1)](_0x1e7658[0x0],this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x18cbe8)){const {c1Prime:_0x4c0d74,m2Prime:_0x3833e0}=_0x18cbe8;return this['_executeRemoteChangeset'](_0x4c0d74),_0x105617[0x0][_0x20e3d9(0x256)]=this[_0x20e3d9(0x2ca)](),this[_0x20e3d9(0x16e)](),this[_0x20e3d9(0x2b3)][_0x20e3d9(0x2fc)](exports[_0x20e3d9(0x297)],this['unitID'],this['type'],_0x105617[0x0],_0x3833e0,this[_0x20e3d9(0x42e)],void 0x0);}throw _0x18cbe8['error'];}throw _0x1facd0['error'];}catch(_0x159769){return this['_logService'][_0x20e3d9(0x496)](_0x159769),this[_0x20e3d9(0x3ac)](!0x1);}}['onRemoteAck'](_0x36fa6c){var _0x2c2999=_0x1c5774;if(this[_0x2c2999(0x16e)](),this[_0x2c2999(0x225)](_0x36fa6c))return this[_0x2c2999(0x2b3)][_0x2c2999(0x2fc)](exports[_0x2c2999(0x4ca)],this[_0x2c2999(0x382)],this[_0x2c2999(0x33d)],null,this['_pendingMutations'],this[_0x2c2999(0x488)],[],this[_0x2c2999(0x42e)]);this[_0x2c2999(0x1a3)]();const _0x265bf1=this[_0x2c2999(0x2b3)][_0x2c2999(0x2fc)](exports[_0x2c2999(0x4d1)],this[_0x2c2999(0x382)],this['type'],this[_0x2c2999(0x219)],this[_0x2c2999(0x42e)]);return _0x265bf1['_schedule'](),_0x265bf1['_updateLocalCache'](),_0x265bf1;}[_0x1c5774(0x2f2)](_0x47c97f){var _0x240631=_0x1c5774;return this[_0x240631(0x3ac)](!!(_0x47c97f!=null&&_0x47c97f['isPermissionRej']));}[_0x1c5774(0x1db)](_0x557c05){var _0x722c66=_0x1c5774;return this[_0x722c66(0x498)]>Ut?this[_0x722c66(0x37b)]():(this[_0x722c66(0x387)]=Nt(this[_0x722c66(0x498)],{'timeout':this[_0x722c66(0x498)],'reqId':_0x557c05[_0x722c66(0x1b2)]}),this[_0x722c66(0x18e)]=this[_0x722c66(0x387)][_0x722c66(0x305)](({reqId:_0x2fa7f8,timeout:_0x1a720f})=>{var _0x5b2454=_0x722c66;this[_0x5b2454(0x1f1)](_0x2fa7f8,_0x1a720f);}),this);}[_0x1c5774(0x37b)](){var _0x57d595=_0x1c5774;return this[_0x57d595(0x16e)](),this[_0x57d595(0x2b3)][_0x57d595(0x2fc)](exports[_0x57d595(0x39b)],this[_0x57d595(0x382)],this['type'],this[_0x57d595(0x488)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x1c5774(0x348)](){var _0x3cfef2=_0x1c5774;this[_0x3cfef2(0x42e)]['onSendChangeset'](this[_0x3cfef2(0x488)]);}[_0x1c5774(0x3ac)](_0x4c999a){var _0x916cd=_0x1c5774;return this['_clearScheduledTask'](),this[_0x916cd(0x2b3)][_0x916cd(0x2fc)](exports[_0x916cd(0x1f2)],this['unitID'],this[_0x916cd(0x33d)],null,this['_pendingMutations'],this[_0x916cd(0x42e)],_0x4c999a);}['_resendWithTimeout'](_0x38ae1a,_0x162eee){var _0x2642ca=_0x1c5774,_0x11a7ea;_0x38ae1a===((_0x11a7ea=this[_0x2642ca(0x488)])==null?void 0x0:_0x11a7ea[_0x2642ca(0x1b2)])&&(this[_0x2642ca(0x348)](),this['_resendTimeout']=_0x162eee===0x0?0x3e8:_0x162eee*0x2);}[_0x1c5774(0x16e)](){var _0x5d630b=_0x1c5774,_0x253f9f;(_0x253f9f=this['_sender'])==null||_0x253f9f[_0x5d630b(0x39d)](),this[_0x5d630b(0x498)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x1c5774(0x3b5)](a['Injector'])),A(0x7,a['Inject'](m['RevisionService'])),A(0x8,a[_0x1c5774(0x1a2)]),A(0x9,a[_0x1c5774(0x312)]),A(0xa,m[_0x1c5774(0x212)]),A(0xb,a['IUndoRedoService']),A(0xc,a['Optional'](z))],exports[_0x1c5774(0x297)]),exports['ConflictState']=class extends _e{constructor(_0x37b1e8,_0x34931c,_0x86dca7,_0x384009,_0x128ffc,_0xbf031c=!0x1,_0x28c005,_0x180450,_0x5066fb,_0x152e5b,_0xd35b51,_0x350cfb,_0x57751b){var _0x508757=_0x1c5774;super(_0x37b1e8,_0x34931c,_0x86dca7,_0x384009,_0x128ffc,_0x180450,_0x5066fb,_0x152e5b,_0x57751b),D(this,_0x508757(0x3d5),_0x508757(0x191)),(this[_0x508757(0x36e)]=_0xbf031c,this[_0x508757(0x2bf)]=_0x28c005,this[_0x508757(0x2b5)]=_0xd35b51,this[_0x508757(0x172)]=_0x350cfb,this[_0x508757(0x1d8)]=_0x57751b,this['_showConflictNotification'](),this[_0x508757(0x26a)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1c5774(0x38c)](){return this;}[_0x1c5774(0x2f2)](){return this;}['onRemoteRetry'](){return this;}[_0x1c5774(0x37b)](){return this;}[_0x1c5774(0x3a0)](){return this;}[_0x1c5774(0x348)](){var _0x49c20e=_0x1c5774;throw new Error(_0x49c20e(0x487));}[_0x1c5774(0x26a)](){var _0x26fa4e=_0x1c5774,_0x2c2057;(_0x2c2057=this[_0x26fa4e(0x266)])==null||_0x2c2057[_0x26fa4e(0x4d3)](this['unitID'],this[_0x26fa4e(0x33d)],null,[]);}[_0x1c5774(0x15d)](){var _0x1ad9a6=_0x1c5774;this[_0x1ad9a6(0x36e)]?this['_collaborationUIEventService'][_0x1ad9a6(0x1bd)]({'id':Q[_0x1ad9a6(0x3f7)]}):this[_0x1ad9a6(0x172)][_0x1ad9a6(0x1bd)]({'id':Q[_0x1ad9a6(0x47c)]});}[_0x1c5774(0x16c)](){var _0x14a566=_0x1c5774;this[_0x14a566(0x2bf)][_0x14a566(0x35a)](new J[(_0x14a566(0x352))](this[_0x14a566(0x382)])['id'],!0x1);}},exports[_0x1c5774(0x1f2)]=le([A(0x6,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x355)])),A(0x7,a[_0x1c5774(0x1a2)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x166)])),A(0xa,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2d1)])),A(0xb,a[_0x1c5774(0x3b5)](te)),A(0xc,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x1f2)]),exports['OfflineState']=class extends _e{constructor(_0x237e45,_0x1d85ba,_0x23ca45,_0x20a6b4,_0xcf8dd9,_0x14d0ce,_0x336168,_0x258039,_0x3144e9,_0x8d3eca){super(_0x237e45,_0x1d85ba,_0x23ca45,_0x20a6b4,_0xcf8dd9,_0x258039,_0x3144e9,_0x336168,_0x8d3eca),D(this,'status','offline'),this['_injector']=_0x14d0ce;}[_0x1c5774(0x42a)](_0x23e820){var _0x5d3274=_0x1c5774;return this[_0x5d3274(0x219)]['push'](_0x23e820),this[_0x5d3274(0x2e0)](),this;}[_0x1c5774(0x15e)](_0x3111f1){var _0x5866ed=_0x1c5774;throw new Error(_0x5866ed(0x459));}[_0x1c5774(0x38c)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1c5774(0x3a0)](){var _0x111029=_0x1c5774;const {_injector:_0x558785,_pendingMutations:_0x3e77ba,_awaitingChangeset:_0x56d4d5,unitID:_0x30f739,_handler:_0x51ea06,type:_0x135ba0}=this,_0x1e9bf9=Pt(_0x558785,_0x30f739,_0x135ba0,_0x56d4d5,_0x3e77ba,_0x51ea06);return _0x1e9bf9 instanceof exports[_0x111029(0x4d1)]?_0x1e9bf9[_0x111029(0x420)]():(_0x1e9bf9 instanceof exports[_0x111029(0x297)]||_0x1e9bf9 instanceof exports[_0x111029(0x18f)])&&_0x1e9bf9[_0x111029(0x348)](),_0x1e9bf9;}['resend'](){var _0x1ff5ba=_0x1c5774;throw new Error(_0x1ff5ba(0x30b));}},exports[_0x1c5774(0x39b)]=le([A(0x5,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),A(0x6,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x166)])),A(0x7,a[_0x1c5774(0x1a2)]),A(0x8,a[_0x1c5774(0x189)]),A(0x9,a['Optional'](z))],exports[_0x1c5774(0x39b)]),exports[_0x1c5774(0x4ca)]=class extends _e{constructor(_0x29c475,_0xdd62d3,_0x134d79,_0x1adcbb,_0x183ddb,_0x2807fb,_0x56578d,_0x5f1897,_0x2f378a,_0x3f5b5b,_0x51ada1,_0x1a46b5,_0x116158,_0x33df59){var _0x1a9de8=_0x1c5774;super(_0x29c475,_0xdd62d3,_0x134d79,_0x1adcbb,_0x56578d,_0x51ada1,_0x1a46b5,_0x2f378a,_0x33df59),D(this,_0x1a9de8(0x3d5),_0x1a9de8(0x2c4)),(this[_0x1a9de8(0x3e2)]=_0x183ddb,this[_0x1a9de8(0x198)]=_0x2807fb,this[_0x1a9de8(0x2b3)]=_0x5f1897,this['_logService']=_0x3f5b5b,this[_0x1a9de8(0x298)]=_0x116158,this['localCacheService']=_0x33df59);}['onMissedChangesetFetched'](_0x9475a2){var _0x4d8096=_0x1c5774;try{const _0x117e54=[..._0x9475a2,...this[_0x4d8096(0x198)]],_0x2ef00d=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4d8096(0x394)](_0x32942d=>!!_0x32942d);let _0x4ae9c7,_0x5270ef;if(_0x2ef00d[_0x4d8096(0x24b)]){const _0x57bdac=this['_transformService'][_0x4d8096(0x442)](_0x117e54,_0x2ef00d,!0x1);if(!m['isTransformChangesetsSuccess'](_0x57bdac))throw _0x57bdac[_0x4d8096(0x496)];_0x4ae9c7=_0x57bdac[_0x4d8096(0x1b6)],_0x5270ef=_0x57bdac[_0x4d8096(0x370)];}else _0x4ae9c7=_0x117e54,_0x5270ef=[];let _0x423175=this['_pendingMutations'];_0x4ae9c7[_0x4d8096(0x434)](_0x19fa78=>{var _0x2ebb0e=_0x4d8096;let _0x9ae531;if(_0x423175[_0x2ebb0e(0x24b)]){const _0x58c752=this[_0x2ebb0e(0x298)][_0x2ebb0e(0x1e1)](_0x19fa78,_0x423175);if(!m[_0x2ebb0e(0x344)](_0x58c752))throw _0x58c752[_0x2ebb0e(0x496)];_0x9ae531=_0x58c752[_0x2ebb0e(0x1b6)],_0x423175=_0x58c752[_0x2ebb0e(0x262)];}else _0x9ae531=_0x19fa78;this[_0x2ebb0e(0x40e)](_0x9ae531);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4d8096(0x1a3)](),this['_awaitingChangeset']&&_0x5270ef[_0x4d8096(0x24b)]&&(_0x5270ef[0x0][_0x4d8096(0x256)]=this[_0x4d8096(0x2ca)]());let _0x2b6c77;if(this[_0x4d8096(0x488)]&&_0x423175[_0x4d8096(0x24b)]!==0x0)_0x2b6c77=this[_0x4d8096(0x2b3)][_0x4d8096(0x2fc)](exports['AwaitingWithPendingState'],this[_0x4d8096(0x382)],this[_0x4d8096(0x33d)],_0x5270ef[0x0],_0x423175,this[_0x4d8096(0x42e)],void 0x0);else{if(this[_0x4d8096(0x488)]&&_0x423175[_0x4d8096(0x24b)]===0x0)_0x5270ef[0x0]['baseRev']=this[_0x4d8096(0x2ca)](),_0x2b6c77=this[_0x4d8096(0x2b3)]['createInstance'](exports[_0x4d8096(0x18f)],this[_0x4d8096(0x382)],this['type'],_0x5270ef[0x0],this[_0x4d8096(0x42e)]);else{if(_0x423175[_0x4d8096(0x24b)]!==0x0){const _0x1f3b0d=this[_0x4d8096(0x2b3)][_0x4d8096(0x2fc)](exports[_0x4d8096(0x4d1)],this['unitID'],this['type'],_0x423175,this[_0x4d8096(0x42e)]);_0x1f3b0d[_0x4d8096(0x420)](),_0x2b6c77=_0x1f3b0d;}else _0x2b6c77=this[_0x4d8096(0x2b3)][_0x4d8096(0x2fc)](exports[_0x4d8096(0x426)],this[_0x4d8096(0x382)],this[_0x4d8096(0x33d)],this['_handler']);}}return _0x2b6c77[_0x4d8096(0x2e0)](),_0x2b6c77;}catch(_0x4b8a66){return this[_0x4d8096(0x228)][_0x4d8096(0x496)](_0x4d8096(0x2ad),_0x4d8096(0x1de),_0x4b8a66),this['_injector'][_0x4d8096(0x2fc)](exports['ConflictState'],this[_0x4d8096(0x382)],this[_0x4d8096(0x33d)],this['_awaitingChangeset'],this[_0x4d8096(0x219)],this[_0x4d8096(0x42e)],!0x1);}}['resend'](){var _0x4afcba=_0x1c5774;throw new Error(_0x4afcba(0x2fb));}[_0x1c5774(0x42a)](_0x23aedc){var _0x26da54=_0x1c5774;return this[_0x26da54(0x219)][_0x26da54(0x2fa)](_0x23aedc),this;}[_0x1c5774(0x15e)](_0x57dace){var _0xd47670=_0x1c5774;return this[_0xd47670(0x198)]['push'](_0x57dace),this;}['onRemoteAck'](_0x8b0491){var _0x4c9c4e=_0x1c5774;if(this[_0x4c9c4e(0x488)])return this[_0x4c9c4e(0x3e2)]=this[_0x4c9c4e(0x488)],this[_0x4c9c4e(0x488)]=null,this;throw new Error(_0x4c9c4e(0x294));}[_0x1c5774(0x2f2)](_0x4de946){return this['_onConflict'](!!(_0x4de946!=null&&_0x4de946['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x34a303=_0x1c5774;return this[_0x34a303(0x2b3)][_0x34a303(0x2fc)](exports[_0x34a303(0x39b)],this['unitID'],this[_0x34a303(0x33d)],this[_0x34a303(0x488)],this[_0x34a303(0x219)],this['_handler']);}[_0x1c5774(0x3a0)](){return this;}['_onConflict'](_0x3a4bd8){var _0xaf28dd=_0x1c5774;return this[_0xaf28dd(0x2b3)][_0xaf28dd(0x2fc)](exports['ConflictState'],this[_0xaf28dd(0x382)],this[_0xaf28dd(0x33d)],this[_0xaf28dd(0x488)],this['_pendingMutations'],this[_0xaf28dd(0x42e)],_0x3a4bd8);}},exports[_0x1c5774(0x4ca)]=le([A(0x7,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),A(0x8,a['Inject'](m[_0x1c5774(0x166)])),A(0x9,a[_0x1c5774(0x312)]),A(0xa,a[_0x1c5774(0x1a2)]),A(0xb,a[_0x1c5774(0x189)]),A(0xc,m[_0x1c5774(0x212)]),A(0xd,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x4ca)]);function Pt(_0x425409,_0x35a71f,_0x47f287,_0x4eca87,_0x578a24,_0x925879){var _0x109127=_0x1c5774;return _0x4eca87&&_0x578a24[_0x109127(0x24b)]?_0x425409[_0x109127(0x2fc)](exports['AwaitingWithPendingState'],_0x35a71f,_0x47f287,_0x4eca87,_0x578a24,_0x925879,void 0x0):_0x4eca87?_0x425409['createInstance'](exports[_0x109127(0x18f)],_0x35a71f,_0x47f287,_0x4eca87,_0x925879):_0x578a24['length']?_0x425409[_0x109127(0x2fc)](exports['PendingState'],_0x35a71f,_0x47f287,_0x578a24,_0x925879):_0x425409[_0x109127(0x2fc)](exports[_0x109127(0x426)],_0x35a71f,_0x47f287,_0x925879);}var Pn=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0x57a56e,_0x1842ba,_0x189210,_0x39b37b)=>{var _0x40cbb8=_0x1c5774;for(var _0x570da3=_0x39b37b>0x1?void 0x0:_0x39b37b?Dn(_0x1842ba,_0x189210):_0x1842ba,_0x1571aa=_0x57a56e[_0x40cbb8(0x24b)]-0x1,_0x11d30c;_0x1571aa>=0x0;_0x1571aa--)(_0x11d30c=_0x57a56e[_0x1571aa])&&(_0x570da3=(_0x39b37b?_0x11d30c(_0x1842ba,_0x189210,_0x570da3):_0x11d30c(_0x570da3))||_0x570da3);return _0x39b37b&&_0x570da3&&Pn(_0x1842ba,_0x189210,_0x570da3),_0x570da3;},k=(_0x153bb2,_0x55481f)=>(_0x2e8386,_0x5a82af)=>_0x55481f(_0x2e8386,_0x5a82af,_0x153bb2);exports[_0x1c5774(0x25e)]=class extends a[_0x1c5774(0x429)]{constructor(_0x543437,_0x5718c3,_0x46ac5d,_0x994db8,_0x3b7065,_0x13704d,_0x29a16b,_0x1045d6,_0x15b02b,_0x21e82a,_0x35369e,_0x2ac499,_0x57c444){var _0x4a9566=_0x1c5774;super(),D(this,_0x4a9566(0x461),new H[(_0x4a9566(0x19a))](null)),D(this,_0x4a9566(0x2ee),this[_0x4a9566(0x461)][_0x4a9566(0x460)]()),D(this,_0x4a9566(0x4d8)),D(this,_0x4a9566(0x34d),!0x1),D(this,_0x4a9566(0x4b5),''),D(this,_0x4a9566(0x1c7),0x0),D(this,'status$',this[_0x4a9566(0x2ee)][_0x4a9566(0x35c)](H[_0x4a9566(0x439)](_0x99bad9=>_0x99bad9?_0x99bad9[_0x4a9566(0x3d5)]:We[_0x4a9566(0x28b)]),H[_0x4a9566(0x467)](0x1))),D(this,_0x4a9566(0x186),!0x1),D(this,_0x4a9566(0x40a),[]),(this[_0x4a9566(0x382)]=_0x543437,this[_0x4a9566(0x2e8)]=_0x5718c3,this[_0x4a9566(0x400)]=_0x46ac5d,this[_0x4a9566(0x2b3)]=_0x994db8,this[_0x4a9566(0x1f5)]=_0x3b7065,this[_0x4a9566(0x2b5)]=_0x13704d,this['_revisionService']=_0x29a16b,this[_0x4a9566(0x332)]=_0x1045d6,this['_logService']=_0x15b02b,this[_0x4a9566(0x47a)]=_0x21e82a,this[_0x4a9566(0x2bf)]=_0x35369e,this[_0x4a9566(0x25a)]=_0x2ac499,this[_0x4a9566(0x266)]=_0x57c444);}get['state'](){return this['_state'];}async[_0x1c5774(0x215)](){var _0x12ad32=_0x1c5774;if(this[_0x12ad32(0x271)])throw new Error(_0x12ad32(0x40d));await this[_0x12ad32(0x2e4)]();}[_0x1c5774(0x425)](){var _0xf34f17=_0x1c5774;return this[_0xf34f17(0x34d)]=!0x0,a[_0xf34f17(0x411)](()=>{var _0x26093c=_0xf34f17;this['_collaborationPaused']=!0x1,this[_0x26093c(0x4bc)]();});}[_0x1c5774(0x303)](_0x2a4c54){var _0x5c2e3f=_0x1c5774;this[_0x5c2e3f(0x3ed)](_0x2a4c54);}['_updateState'](_0x122d85){var _0x23b179=_0x1c5774;this[_0x23b179(0x4d8)]=_0x122d85,this[_0x23b179(0x461)][_0x23b179(0x4cf)](_0x122d85);}async[_0x1c5774(0x2e4)](){var _0x351ea7=_0x1c5774,_0xdaa7a3;this[_0x351ea7(0x202)](await this[_0x351ea7(0x41f)]()),this[_0x351ea7(0x25a)]&&((_0xdaa7a3=this[_0x351ea7(0x25a)])==null||_0xdaa7a3['editingUnit'](this[_0x351ea7(0x382)]),this[_0x351ea7(0x26d)](this[_0x351ea7(0x25a)][_0x351ea7(0x173)](this[_0x351ea7(0x382)])['subscribe'](_0x162751=>{var _0x830e00=_0x351ea7;this[_0x830e00(0x228)][_0x830e00(0x463)]('[CollaborationEntity]',_0x830e00(0x246),_0x162751),_0x162751===Fe[_0x830e00(0x397)]?(this[_0x830e00(0x332)]['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x830e00(0x2bf)][_0x830e00(0x35a)](new J['WorkbookEditablePermission'](this[_0x830e00(0x382)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x830e00(0x2bf)][_0x830e00(0x35a)](new J[(_0x830e00(0x352))](this[_0x830e00(0x382)])['id'],!0x0),this[_0x830e00(0x2bf)]['setShowComponents'](!0x0));})));let _0x586d84=!0x1;return this[_0x351ea7(0x26d)](this['session'][_0x351ea7(0x260)]['subscribe'](_0x2da340=>{var _0x39c3f6=_0x351ea7;_0x2da340===se[_0x39c3f6(0x20b)]?this[_0x39c3f6(0x1fa)](_0x586d84):_0x2da340===se[_0x39c3f6(0x28b)]&&(_0x586d84=!0x0,this[_0x39c3f6(0x2ef)]());})),this['disposeWithMe'](this[_0x351ea7(0x2e8)][_0x351ea7(0x250)][_0x351ea7(0x305)](_0x123f21=>{var _0x5cdca3=_0x351ea7;try{switch(_0x123f21[_0x5cdca3(0x3ca)]){case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x4d6)]:{this['_onRemoteChangeset'](m[_0x5cdca3(0x30e)](_0x123f21[_0x5cdca3(0x1a1)]));break;}case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x1d6)]:{this[_0x5cdca3(0x45a)](_0x123f21[_0x5cdca3(0x1a1)]);break;}case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x1ef)]:{this['_onRemoteRejected']();break;}case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x204)]:{this[_0x5cdca3(0x1d1)](_0x123f21[_0x5cdca3(0x1a1)]);break;}case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x181)]:{this['_onFetchMissResult'](_0x123f21[_0x5cdca3(0x1a1)]['changesets'][_0x5cdca3(0x439)](_0x5631a1=>m[_0x5cdca3(0x30e)](_0x5631a1)));break;}case m['CollaborationEvent'][_0x5cdca3(0x2d4)]:{this[_0x5cdca3(0x3ce)]({'isPermissionRej':!0x0});break;}case m[_0x5cdca3(0x3a6)][_0x5cdca3(0x389)]:break;}}catch(_0x21360e){throw console[_0x5cdca3(0x496)](_0x5cdca3(0x1cb),_0x21360e),_0x21360e;}})),this[_0x351ea7(0x4d8)];}[_0x1c5774(0x1a4)](){var _0x184960=_0x1c5774;this[_0x184960(0x186)]=!0x1;}[_0x1c5774(0x3e8)](){var _0x3a1b56=_0x1c5774;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3a1b56(0x186)]=!0x0;}[_0x1c5774(0x3ed)](_0x4e82d8){var _0x586743=_0x1c5774;this[_0x586743(0x3e8)](),this[_0x586743(0x202)](this[_0x586743(0x4d8)]['appendMutation'](_0x4e82d8)),this[_0x586743(0x1a4)]();}[_0x1c5774(0x244)](_0x4fb21b){var _0x37dcd8=_0x1c5774;if(!(_0x4fb21b[_0x37dcd8(0x3d8)]<=this['_revisionService'][_0x37dcd8(0x32d)](this[_0x37dcd8(0x382)]))){if(this[_0x37dcd8(0x34d)]){this[_0x37dcd8(0x40a)][_0x37dcd8(0x2fa)](_0x4fb21b);return;}this[_0x37dcd8(0x3d9)](_0x4fb21b);}}[_0x1c5774(0x4bc)](){var _0x3131ba=_0x1c5774;this['_remoteChangesetQueue'][_0x3131ba(0x434)](_0xc6a35=>this[_0x3131ba(0x3d9)](_0xc6a35)),this[_0x3131ba(0x40a)]=[];}[_0x1c5774(0x3d9)](_0x52170f){var _0x62141=_0x1c5774;const _0x3702ac=this[_0x62141(0x1f5)][_0x62141(0x380)][_0x62141(0x49d)](this[_0x62141(0x1f5)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x52170f[_0x62141(0x27b)],null)||_0x52170f[_0x62141(0x27b)],_0x1b201b={..._0x52170f,'mutations':_0x3702ac};this[_0x62141(0x3e8)](),this[_0x62141(0x202)](this[_0x62141(0x4d8)]['onRemoteChangeset'](_0x1b201b)),this[_0x62141(0x1a4)]();}['_onRemoteACK'](_0x4f6d84){var _0x28c277=_0x1c5774;this['_lockTransition'](),this[_0x28c277(0x202)](this['_state'][_0x28c277(0x38c)](_0x4f6d84)),this['_unlockTransition']();}[_0x1c5774(0x3ce)](_0x22f895){var _0x4e7617=_0x1c5774;this[_0x4e7617(0x3e8)](),this[_0x4e7617(0x202)](this[_0x4e7617(0x4d8)]['onRemoteRej'](_0x22f895)),this[_0x4e7617(0x1a4)]();}['_onRemoteRetry'](_0x4cdfd8){var _0x1df997=_0x1c5774;this['_lockTransition'](),this[_0x1df997(0x202)](this[_0x1df997(0x4d8)][_0x1df997(0x1db)](_0x4cdfd8)),this[_0x1df997(0x1a4)]();}[_0x1c5774(0x3f8)](_0x3272b9){var _0x2c00de=_0x1c5774;if(!(this[_0x2c00de(0x4d8)]instanceof exports[_0x2c00de(0x4ca)]))throw new TypeError(_0x2c00de(0x3c3));const _0x44814a=_0x3272b9[_0x2c00de(0x439)](_0x4d8f6b=>{var _0x2beb63=_0x2c00de;const _0x4a7eb1=this[_0x2beb63(0x1f5)][_0x2beb63(0x380)]['fetchThroughInterceptors'](this[_0x2beb63(0x1f5)][_0x2beb63(0x380)]['getInterceptPoints']()[_0x2beb63(0x384)])(_0x4d8f6b[_0x2beb63(0x27b)],null)||_0x4d8f6b[_0x2beb63(0x27b)];return{..._0x4d8f6b,'mutations':_0x4a7eb1};});this[_0x2c00de(0x3e8)](),this[_0x2c00de(0x202)](this[_0x2c00de(0x4d8)]['onMissedChangesetFetched'](_0x44814a)),this[_0x2c00de(0x1a4)]();}[_0x1c5774(0x2ef)](){var _0x4cc48d=_0x1c5774;this[_0x4cc48d(0x3e8)](),this['_updateState'](this[_0x4cc48d(0x4d8)]['toggleOffline']()),this['_unlockTransition']();}[_0x1c5774(0x1fa)](_0x309e9=!0x1){var _0x14bdb9=_0x1c5774;this['_lockTransition'](),this[_0x14bdb9(0x202)](this[_0x14bdb9(0x4d8)]['toggleOnline']()),this['_unlockTransition']();const _0x104a6b=this[_0x14bdb9(0x4d8)];_0x309e9&&_0x104a6b instanceof exports['SyncedState']&&(this[_0x14bdb9(0x3e8)](),this['_updateState'](_0x104a6b[_0x14bdb9(0x3f3)]()),this[_0x14bdb9(0x1a4)]());}async[_0x1c5774(0x41f)](){return new Promise(_0x4b293b=>{var _0x5d8577=_0x4097;this['session'][_0x5d8577(0x260)][_0x5d8577(0x35c)](H[_0x5d8577(0x2bb)](0x1))[_0x5d8577(0x305)](async _0x3fbdf2=>{var _0x5ed75a=_0x5d8577;_0x4b293b(await this['_createInitialStateImpl'](_0x3fbdf2===se[_0x5ed75a(0x20b)]));});});}[_0x1c5774(0x30f)](){var _0x35d9dd=_0x1c5774;const _0xb78ae=this[_0x35d9dd(0x382)];return{'onStateChange':(_0x599134,_0x362d7b)=>{var _0x38bb10=_0x35d9dd;if(_0x599134!==this[_0x38bb10(0x4d8)])throw new Error(_0x38bb10(0x33b)+_0x599134[_0x38bb10(0x3d5)]+'\x0aAfter:\x20'+_0x362d7b['status']+_0x38bb10(0x32c)+this[_0x38bb10(0x4d8)][_0x38bb10(0x3d5)]);this[_0x38bb10(0x202)](_0x362d7b);},'onSendChangeset':_0x2612e0=>{var _0x44f501=_0x35d9dd;_0x2612e0[_0x44f501(0x28c)]||(_0x2612e0['sid']=this[_0x44f501(0x4b5)],_0x2612e0[_0x44f501(0x1b2)]=++this[_0x44f501(0x1c7)]);const _0x52cc42={'eventID':m['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x2612e0['unitID'],'unitType':this['_type'],'changeset':_0x2612e0,'memberID':this[_0x44f501(0x2e8)][_0x44f501(0x418)]()}};this[_0x44f501(0x2e8)]['send'](_0x52cc42,this[_0x44f501(0x382)]);},'onMissingChangesets':({from:_0x3a5752,to:_0x47a35d})=>{var _0x4c202b=_0x35d9dd;this[_0x4c202b(0x228)][_0x4c202b(0x463)]('[CollaborationEntity]',_0x4c202b(0x1ea)+_0x3a5752+'\x20to\x20'+_0x47a35d);const _0x1400d3={'eventID':m[_0x4c202b(0x3a6)][_0x4c202b(0x3e7)],'data':{'unitID':_0xb78ae,'unitType':this[_0x4c202b(0x400)],'from':_0x3a5752,'to':_0x47a35d}};this['session'][_0x4c202b(0x3d3)](_0x1400d3,this[_0x4c202b(0x382)]);}};}async['_createInitialStateImpl'](_0x15a7ce){var _0x197721=_0x1c5774,_0x23d1c3,_0x3be74c,_0x34d83c;const _0x2c769b=await((_0x23d1c3=this['_localCacheService'])==null?void 0x0:_0x23d1c3[_0x197721(0x2a6)](this[_0x197721(0x382)])),_0x47adb8=(_0x3be74c=_0x2c769b==null?void 0x0:_0x2c769b[_0x197721(0x27b)])!=null?_0x3be74c:[],_0xe5b00f=(_0x34d83c=_0x2c769b==null?void 0x0:_0x2c769b[_0x197721(0x1d2)])!=null?_0x34d83c:null,_0x20a251=!!(_0xe5b00f!=null&&_0xe5b00f[_0x197721(0x28c)])&&!!(_0xe5b00f!=null&&_0xe5b00f[_0x197721(0x1b2)]);this[_0x197721(0x4b5)]=_0x20a251?_0xe5b00f[_0x197721(0x28c)]:gn(),this['_changesetReqId']=_0x20a251?_0xe5b00f[_0x197721(0x1b2)]:0x0;const _0x416bd1=this['unitID'];try{this[_0x197721(0x29a)](_0xe5b00f,_0x47adb8);}catch(_0x568e6f){this[_0x197721(0x228)]['error'](_0x568e6f);}const _0x1379c2=this[_0x197721(0x30f)]();if(_0x15a7ce){const _0x15d8a2=Pt(this[_0x197721(0x2b3)],_0x416bd1,this[_0x197721(0x400)],_0xe5b00f,_0x47adb8,_0x1379c2);return _0x15d8a2 instanceof exports[_0x197721(0x4d1)]?_0x15d8a2[_0x197721(0x420)]():(_0x15d8a2 instanceof exports[_0x197721(0x297)]||_0x15d8a2 instanceof exports[_0x197721(0x18f)])&&_0x15d8a2[_0x197721(0x348)](),_0x15d8a2;}return this[_0x197721(0x2b3)][_0x197721(0x2fc)](exports[_0x197721(0x39b)],_0x416bd1,this[_0x197721(0x400)],_0xe5b00f,_0x47adb8,_0x1379c2);}[_0x1c5774(0x29a)](_0x552284,_0x1ded5d){var _0x3005bd=_0x1c5774,_0x44251d,_0x108213;const _0x1e28d7=this['_compressMutationService'][_0x3005bd(0x380)][_0x3005bd(0x49d)](this['_compressMutationService'][_0x3005bd(0x380)][_0x3005bd(0x22b)]()[_0x3005bd(0x384)]);(_0x44251d=_0x1e28d7((_0x552284==null?void 0x0:_0x552284[_0x3005bd(0x27b)])||[],null))==null||_0x44251d[_0x3005bd(0x434)](_0x1efb43=>this[_0x3005bd(0x47a)][_0x3005bd(0x3ba)](_0x1efb43['id'],_0x1efb43['params'])),(_0x108213=_0x1e28d7(_0x1ded5d||[],null))==null||_0x108213['forEach'](_0x119905=>this[_0x3005bd(0x47a)][_0x3005bd(0x3ba)](_0x119905['id'],_0x119905[_0x3005bd(0x36d)]));}},exports[_0x1c5774(0x25e)]=Ge([k(0x3,a['Inject'](a[_0x1c5774(0x2cb)])),k(0x4,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x1f7)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x1c5774(0x3b5)](m['RevisionService'])),k(0x7,a[_0x1c5774(0x3b5)](te)),k(0x8,a[_0x1c5774(0x312)]),k(0x9,a[_0x1c5774(0x1a2)]),k(0xa,a[_0x1c5774(0x355)]),k(0xb,a[_0x1c5774(0x440)](ve)),k(0xc,a['Optional'](z))],exports[_0x1c5774(0x25e)]),exports[_0x1c5774(0x258)]=class extends exports[_0x1c5774(0x25e)]{constructor(_0x56ec89,_0xad8383,_0x3ece46,_0x147107,_0x5ee4f1,_0x2cd4fc,_0x23b9c4,_0x3a125e,_0x2f047b,_0x4b0066,_0x522131,_0x2f9720,_0x1c9b94){var _0x970c60=_0x1c5774;super(_0x56ec89,_0x3ece46,_0xad8383,_0x147107,_0x5ee4f1,_0x2cd4fc,_0x23b9c4,_0x3a125e,_0x2f047b,_0x4b0066,_0x522131,_0x2f9720,_0x1c9b94),D(this,'_handlerCallback',null),(this[_0x970c60(0x382)]=_0x56ec89,this[_0x970c60(0x33d)]=_0xad8383);}[_0x1c5774(0x1fd)](_0x522550){var _0x329381=_0x1c5774;this[_0x329381(0x160)]=_0x522550;}[_0x1c5774(0x1ff)](){var _0x6b9dfe=_0x1c5774;this[_0x6b9dfe(0x160)]=null,super['dispose']();}[_0x1c5774(0x30f)](){var _0x245557=_0x1c5774;const _0x155865=super[_0x245557(0x30f)]();return _0x155865[_0x245557(0x292)]=_0x113ab3=>{var _0x28c57e,_0x1b3b82;return(_0x1b3b82=(_0x28c57e=this['_handlerCallback'])==null?void 0x0:_0x28c57e['onTransformIME'])==null?void 0x0:_0x1b3b82['call'](_0x28c57e,_0x113ab3);},_0x155865[_0x245557(0x39c)]=_0x2b622b=>{var _0xacd3f2=_0x245557,_0x5a0e5a,_0x36e258;return(_0x36e258=(_0x5a0e5a=this[_0xacd3f2(0x160)])==null?void 0x0:_0x5a0e5a[_0xacd3f2(0x39c)])==null?void 0x0:_0x36e258['call'](_0x5a0e5a,_0x2b622b);},_0x155865[_0x245557(0x1e9)]=_0x3978cd=>{var _0x1157e0=_0x245557,_0x3cf9cf,_0x4cbfb4;return(_0x4cbfb4=(_0x3cf9cf=this['_handlerCallback'])==null?void 0x0:_0x3cf9cf[_0x1157e0(0x1e9)])==null?void 0x0:_0x4cbfb4['call'](_0x3cf9cf,_0x3978cd);},_0x155865[_0x245557(0x2f8)]=_0x415d6a=>{var _0x4fb6d0=_0x245557,_0x47a6df,_0x320b7c;return(_0x320b7c=(_0x47a6df=this[_0x4fb6d0(0x160)])==null?void 0x0:_0x47a6df['onSyncEditingCollabCursor'])==null?void 0x0:_0x320b7c[_0x4fb6d0(0x412)](_0x47a6df,_0x415d6a);},_0x155865[_0x245557(0x279)]=_0x25db65=>{var _0xffd97e=_0x245557,_0x4cec03,_0x2e4c37,_0x425bbf;if(!((_0x4cec03=this[_0xffd97e(0x160)])!=null&&_0x4cec03[_0xffd97e(0x279)]))throw new Error(_0xffd97e(0x26f));return(_0x425bbf=(_0x2e4c37=this['_handlerCallback'])==null?void 0x0:_0x2e4c37[_0xffd97e(0x279)])==null?void 0x0:_0x425bbf[_0xffd97e(0x412)](_0x2e4c37,_0x25db65);},_0x155865[_0x245557(0x2da)]=_0x22ffbd=>{var _0x2d9020=_0x245557,_0x298387,_0x32d467,_0x3176bd;if(!((_0x298387=this[_0x2d9020(0x160)])!=null&&_0x298387[_0x2d9020(0x2da)]))throw new Error(_0x2d9020(0x3e3));return(_0x3176bd=(_0x32d467=this['_handlerCallback'])==null?void 0x0:_0x32d467[_0x2d9020(0x2da)])==null?void 0x0:_0x3176bd[_0x2d9020(0x412)](_0x32d467,_0x22ffbd);},_0x155865;}async[_0x1c5774(0x2e4)](){var _0x2ed711=_0x1c5774;const _0x38068e=await super[_0x2ed711(0x2e4)]();return this['disposeWithMe'](this['_commandService'][_0x2ed711(0x1d4)]((_0x84a865,_0x7fb673)=>{var _0x428477=_0x2ed711;if(_0x84a865[_0x428477(0x33d)]!==a[_0x428477(0x393)][_0x428477(0x390)]||_0x7fb673!=null&&_0x7fb673[_0x428477(0x2c6)]||_0x7fb673!=null&&_0x7fb673['onlyLocal']||_0x84a865['id']===dt[_0x428477(0x32f)]['id'])return;const _0x571f3c=_0x84a865[_0x428477(0x36d)];if((_0x571f3c==null?void 0x0:_0x571f3c[_0x428477(0x3bb)])!==this['unitID'])return;const _0x2f9ec5=_0x84a865,_0x42525f=this[_0x428477(0x1f5)][_0x428477(0x380)][_0x428477(0x49d)](this[_0x428477(0x1f5)][_0x428477(0x380)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x2f9ec5],null)||[_0x2f9ec5];this[_0x428477(0x3ed)](_0x42525f[0x0]);})),_0x38068e;}},exports[_0x1c5774(0x258)]=Ge([k(0x3,a[_0x1c5774(0x3b5)](a['Injector'])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a['Inject'](a[_0x1c5774(0x2d1)])),k(0x6,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x166)])),k(0x7,a[_0x1c5774(0x3b5)](te)),k(0x8,a[_0x1c5774(0x312)]),k(0x9,a[_0x1c5774(0x1a2)]),k(0xa,a[_0x1c5774(0x355)]),k(0xb,a[_0x1c5774(0x440)](ve)),k(0xc,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x258)]),exports[_0x1c5774(0x470)]=class extends exports[_0x1c5774(0x25e)]{constructor(_0x4fe8fd,_0x335431,_0x591b4b,_0x44c9d4,_0xf74ece,_0xc89358,_0x45ac04,_0x54354a,_0x41f270,_0x3fb0b3,_0x21ce79,_0x24fad2,_0x130245,_0x689ab9){var _0x382e62=_0x1c5774;super(_0x4fe8fd,_0x591b4b,_0x335431,_0x44c9d4,_0xf74ece,_0xc89358,_0x45ac04,_0x41f270,_0x3fb0b3,_0x21ce79,_0x24fad2,_0x130245,_0x689ab9),this[_0x382e62(0x382)]=_0x4fe8fd,this['type']=_0x335431,this[_0x382e62(0x25c)]=_0x54354a;}['_createHandler'](){var _0x1e2565=_0x1c5774;const _0x4ad097=super['_createHandler']();return _0x4ad097[_0x1e2565(0x1e9)]=_0x3e6537=>this[_0x1e2565(0x25c)][_0x1e2565(0x3bf)](_0x3e6537),_0x4ad097;}async[_0x1c5774(0x2e4)](){var _0x19ae79=_0x1c5774;const _0x3c86a8=await super[_0x19ae79(0x2e4)]();return this['disposeWithMe'](this[_0x19ae79(0x47a)]['onCommandExecuted']((_0x3907ba,_0x27422f)=>{var _0x415c92=_0x19ae79;if(_0x3907ba[_0x415c92(0x33d)]!==a[_0x415c92(0x393)][_0x415c92(0x390)]||_0x27422f!=null&&_0x27422f[_0x415c92(0x2c6)]||_0x27422f!=null&&_0x27422f[_0x415c92(0x27a)])return;const _0x2c877b=_0x3907ba['params'];if((_0x2c877b==null?void 0x0:_0x2c877b['unitId'])!==this[_0x415c92(0x382)])return;const _0x32a30c=_0x3907ba,_0x534948=this['_compressMutationService']['interceptor'][_0x415c92(0x49d)](this[_0x415c92(0x1f5)][_0x415c92(0x380)][_0x415c92(0x22b)]()[_0x415c92(0x404)])([_0x32a30c],null)||[_0x32a30c];this['_onLocalMutation'](_0x534948[0x0]);})),_0x3c86a8;}},exports[_0x1c5774(0x470)]=Ge([k(0x3,a[_0x1c5774(0x3b5)](a['Injector'])),k(0x4,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x1f7)])),k(0x5,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2d1)])),k(0x6,a[_0x1c5774(0x3b5)](m['RevisionService'])),k(0x7,a[_0x1c5774(0x3b5)](exports[_0x1c5774(0x301)])),k(0x8,a[_0x1c5774(0x3b5)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x1c5774(0x1a2)]),k(0xb,a['IPermissionService']),k(0xc,a['Optional'](ve)),k(0xd,a[_0x1c5774(0x440)](z))],exports[_0x1c5774(0x470)]);var wn=Object['defineProperty'],An=Object[_0x1c5774(0x313)],Ln=(_0x3514ba,_0x2a20ba,_0x2effd4,_0x38a716)=>{var _0x16a27f=_0x1c5774;for(var _0x700372=_0x38a716>0x1?void 0x0:_0x38a716?An(_0x2a20ba,_0x2effd4):_0x2a20ba,_0x1ffef0=_0x3514ba[_0x16a27f(0x24b)]-0x1,_0x3a403c;_0x1ffef0>=0x0;_0x1ffef0--)(_0x3a403c=_0x3514ba[_0x1ffef0])&&(_0x700372=(_0x38a716?_0x3a403c(_0x2a20ba,_0x2effd4,_0x700372):_0x3a403c(_0x700372))||_0x700372);return _0x38a716&&_0x700372&&wn(_0x2a20ba,_0x2effd4,_0x700372),_0x700372;},we=(_0x1e7e77,_0x4d61fb)=>(_0x3dad94,_0x2a9783)=>_0x4d61fb(_0x3dad94,_0x2a9783,_0x1e7e77);exports[_0x1c5774(0x263)]=class extends a[_0x1c5774(0x429)]{constructor(_0xd5b951,_0x5c1b66,_0x48274c){var _0x51bc04=_0x1c5774;super(),D(this,_0x51bc04(0x2b6),new Map()),D(this,_0x51bc04(0x2ae),new H['Subject']()),D(this,_0x51bc04(0x32b),this[_0x51bc04(0x2ae)][_0x51bc04(0x460)]()),(this[_0x51bc04(0x2b3)]=_0xd5b951,this[_0x51bc04(0x4c3)]=_0x5c1b66,this['_univerInstanceService']=_0x48274c,this[_0x51bc04(0x2e4)]());}[_0x1c5774(0x1ff)](){var _0x214a51=_0x1c5774;super[_0x214a51(0x1ff)](),this['_entities'][_0x214a51(0x434)](_0x33fef3=>_0x33fef3[_0x214a51(0x1ff)]()),this[_0x214a51(0x2b6)][_0x214a51(0x4bb)]();}[_0x1c5774(0x476)](_0x44bf55){var _0x1dede0=_0x1c5774,_0x113507;return(_0x113507=this[_0x1dede0(0x2b6)][_0x1dede0(0x36c)](_0x44bf55))!=null?_0x113507:null;}[_0x1c5774(0x249)](_0x327a2c){var _0xeedd66=_0x1c5774;const _0x24dea7=this[_0xeedd66(0x476)](_0x327a2c);return _0x24dea7?H['of'](_0x24dea7):this['_entityInit$'][_0xeedd66(0x35c)](W[_0xeedd66(0x394)](_0x294203=>_0x294203[_0xeedd66(0x382)]===_0x327a2c));}[_0x1c5774(0x254)](_0x5cf6c0){var _0x5ec2b7=_0x1c5774;return H[_0x5ec2b7(0x446)](this[_0x5ec2b7(0x249)](_0x5cf6c0)[_0x5ec2b7(0x35c)](W['map'](()=>{})));}['_init'](){var _0x3660a7=_0x1c5774;this[_0x3660a7(0x44c)][_0x3660a7(0x4a2)](a[_0x3660a7(0x17a)][_0x3660a7(0x2a4)])['pipe'](H[_0x3660a7(0x29c)](this['dispose$']),W['delay'](0x10))[_0x3660a7(0x305)](async _0x5c0a3d=>{var _0x3d305b=_0x3660a7;const _0x12b755=_0x5c0a3d[_0x3d305b(0x4ad)](),_0x122e86=await this['_startCollaboration'](_0x12b755,Z[_0x3d305b(0x2a4)]);this[_0x3d305b(0x2b6)][_0x3d305b(0x325)](_0x12b755,_0x122e86);}),this[_0x3660a7(0x44c)][_0x3660a7(0x4a2)](a[_0x3660a7(0x17a)]['UNIVER_DOC'])[_0x3660a7(0x35c)](H[_0x3660a7(0x29c)](this[_0x3660a7(0x1e0)]),W[_0x3660a7(0x1e7)](0x10))[_0x3660a7(0x35c)](W[_0x3660a7(0x394)](_0x4f9c45=>!_0x4f9c45[_0x3660a7(0x4ad)]()[_0x3660a7(0x309)]('__')))[_0x3660a7(0x305)](async _0x1e6482=>{var _0x339c07=_0x3660a7;const _0x5480ac=_0x1e6482[_0x339c07(0x4ad)](),_0x335441=await this[_0x339c07(0x23b)](_0x5480ac,Z[_0x339c07(0x466)]);this[_0x339c07(0x2b6)][_0x339c07(0x325)](_0x5480ac,_0x335441);}),H['merge'](this[_0x3660a7(0x44c)][_0x3660a7(0x27c)](a[_0x3660a7(0x17a)][_0x3660a7(0x2a4)]),this[_0x3660a7(0x44c)][_0x3660a7(0x27c)](a[_0x3660a7(0x17a)][_0x3660a7(0x466)]))[_0x3660a7(0x35c)](H[_0x3660a7(0x29c)](this[_0x3660a7(0x1e0)]))[_0x3660a7(0x305)](_0x5dae9e=>{var _0x401ca7=_0x3660a7;const _0x4c5dca=_0x5dae9e[_0x401ca7(0x4ad)](),_0x33f954=this[_0x401ca7(0x2b6)]['get'](_0x4c5dca);_0x33f954&&(_0x33f954[_0x401ca7(0x1ff)](),this['_entities'][_0x401ca7(0x36b)](_0x4c5dca));});}async[_0x1c5774(0x23b)](_0x33342f,_0x4b8352){var _0x3d9a3e=_0x1c5774;const _0x1f5105=await this[_0x3d9a3e(0x4c3)]['requireSession'](_0x33342f),_0xda5a88=this[_0x3d9a3e(0x2b3)]['createInstance'](this[_0x3d9a3e(0x2d6)](_0x4b8352),_0x33342f,_0x4b8352,_0x1f5105);return await _0xda5a88['init'](),this[_0x3d9a3e(0x2ae)]['next'](_0xda5a88),_0xda5a88;}[_0x1c5774(0x2d6)](_0x27f118){var _0x1ca387=_0x1c5774;switch(_0x27f118){case Z['UNIVER_DOC']:return exports[_0x1ca387(0x258)];case Z[_0x1ca387(0x2a4)]:return exports[_0x1ca387(0x470)];default:throw new Error(_0x1ca387(0x3f1)+_0x27f118);}}},exports['CollaborationController']=Ln([we(0x0,a['Inject'](a[_0x1c5774(0x2cb)])),we(0x1,a[_0x1c5774(0x3b5)](exports[_0x1c5774(0x2dc)])),we(0x2,a[_0x1c5774(0x3a9)])],exports[_0x1c5774(0x263)]);var Mn=Object['defineProperty'],xn=Object[_0x1c5774(0x313)],jn=(_0x53376f,_0x5768f6,_0x19ba4e,_0x4c2e3c)=>{var _0x3ff23c=_0x1c5774;for(var _0xcb8da6=_0x4c2e3c>0x1?void 0x0:_0x4c2e3c?xn(_0x5768f6,_0x19ba4e):_0x5768f6,_0x3ef681=_0x53376f[_0x3ff23c(0x24b)]-0x1,_0x4a7a31;_0x3ef681>=0x0;_0x3ef681--)(_0x4a7a31=_0x53376f[_0x3ef681])&&(_0xcb8da6=(_0x4c2e3c?_0x4a7a31(_0x5768f6,_0x19ba4e,_0xcb8da6):_0x4a7a31(_0xcb8da6))||_0xcb8da6);return _0x4c2e3c&&_0xcb8da6&&Mn(_0x5768f6,_0x19ba4e,_0xcb8da6),_0xcb8da6;},Xe=(_0x57ee0b,_0x46a232)=>(_0x27f7a1,_0x33bb14)=>_0x46a232(_0x27f7a1,_0x33bb14,_0x57ee0b);const $n='DEFAULT_FILE_NAME',Hn=_0x1c5774(0x4c9);let $e=class extends a[_0x1c5774(0x15f)]{constructor(_0x48f8c8,_0x135120){var _0x3b5a92=_0x1c5774;super(),this[_0x3b5a92(0x44c)]=_0x48f8c8,this[_0x3b5a92(0x26c)]=_0x135120,this[_0x3b5a92(0x2e4)]();}[_0x1c5774(0x2e4)](){var _0x374748=_0x1c5774;this['disposeWithMe'](this[_0x374748(0x44c)]['focused$'][_0x374748(0x305)](()=>{var _0x244adb=_0x374748,_0x30c235;const _0x3ec167=this['_univerInstanceService'][_0x244adb(0x45d)]();let _0x2204d2=(_0x30c235=this[_0x244adb(0x26c)][_0x244adb(0x28d)]($n))!=null?_0x30c235:Hn;_0x3ec167 instanceof a[_0x244adb(0x448)]&&(_0x2204d2=_0x3ec167['name']),document['title']=_0x2204d2;}));}};$e=jn([Xe(0x0,a[_0x1c5774(0x3a9)]),Xe(0x1,a[_0x1c5774(0x304)])],$e);var kn=Object[_0x1c5774(0x2b1)],Bn=Object[_0x1c5774(0x313)],Fn=(_0x2b4b05,_0x33d88c,_0x29ce49,_0x377a5f)=>{for(var _0x12f993=_0x377a5f>0x1?void 0x0:_0x377a5f?Bn(_0x33d88c,_0x29ce49):_0x33d88c,_0x220626=_0x2b4b05['length']-0x1,_0x152100;_0x220626>=0x0;_0x220626--)(_0x152100=_0x2b4b05[_0x220626])&&(_0x12f993=(_0x377a5f?_0x152100(_0x33d88c,_0x29ce49,_0x12f993):_0x152100(_0x12f993))||_0x12f993);return _0x377a5f&&_0x12f993&&kn(_0x33d88c,_0x29ce49,_0x12f993),_0x12f993;},Ae=(_0x2a93f2,_0x2b6f42)=>(_0x138bf7,_0xcf2061)=>_0x2b6f42(_0x138bf7,_0xcf2061,_0x2a93f2);let ye=class{constructor(_0x3ff2dc,_0x545bcf,_0x495626){var _0x942379=_0x1c5774;this[_0x942379(0x26c)]=_0x3ff2dc,this[_0x942379(0x357)]=_0x545bcf,this[_0x942379(0x19e)]=_0x495626,this[_0x942379(0x215)]();}['init'](){var _0x26fd2b=_0x1c5774;this[_0x26fd2b(0x357)][_0x26fd2b(0x405)]({'priority':0x1,'interceptor':(_0x76743f,_0x4204df)=>_0x4204df(_0x76743f)[_0x26fd2b(0x35c)](H['concatMap'](async _0x531a4c=>{var _0x51cf5b=_0x26fd2b;const _0x1bd768=_0x531a4c;if(_0x1bd768[_0x51cf5b(0x3d5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x51cf5b(0x23c)](this[_0x51cf5b(0x19e)]['t'](_0x51cf5b(0x283)))){const _0x5f31e4=window[_0x51cf5b(0x395)](window[_0x51cf5b(0x4a9)][_0x51cf5b(0x21e)]);window[_0x51cf5b(0x4a9)][_0x51cf5b(0x21e)]=this[_0x51cf5b(0x286)]()+'?url='+_0x5f31e4;}}return _0x1bd768;}))});}[_0x1c5774(0x286)](){var _0x22954a=_0x1c5774,_0x2fde92,_0x48d0f7;const _0x20d5f4=this[_0x22954a(0x26c)][_0x22954a(0x28d)](Ct),_0x43b35a=this['_configService'][_0x22954a(0x28d)](Y);return(_0x48d0f7=(_0x2fde92=_0x43b35a==null?void 0x0:_0x43b35a['loginUrlKey'])!=null?_0x2fde92:_0x20d5f4)!=null?_0x48d0f7:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)])),Ae(0x2,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2d1)]))],ye);var Wn=Object[_0x1c5774(0x2b1)],Gn=Object[_0x1c5774(0x313)],Vn=(_0x45b54e,_0x521014,_0xac3a15,_0x1a5782)=>{var _0x11bf18=_0x1c5774;for(var _0x32bfaf=_0x1a5782>0x1?void 0x0:_0x1a5782?Gn(_0x521014,_0xac3a15):_0x521014,_0x158008=_0x45b54e[_0x11bf18(0x24b)]-0x1,_0xed543f;_0x158008>=0x0;_0x158008--)(_0xed543f=_0x45b54e[_0x158008])&&(_0x32bfaf=(_0x1a5782?_0xed543f(_0x521014,_0xac3a15,_0x32bfaf):_0xed543f(_0x32bfaf))||_0x32bfaf);return _0x1a5782&&_0x32bfaf&&Wn(_0x521014,_0xac3a15,_0x32bfaf),_0x32bfaf;},Ze=(_0x321c81,_0x16fcc8)=>(_0x4b9fb7,_0x4ed266)=>_0x16fcc8(_0x4b9fb7,_0x4ed266,_0x321c81);const Ve=_0x1c5774(0x18a),Kn='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x1c5774(0x15f)]{constructor(_0x155630,_0x603607){var _0xd2016b=_0x1c5774;super(),this[_0xd2016b(0x423)]=_0x155630,this['_configService']=_0x603607,this['_initMergeInterceptor']();}[_0x1c5774(0x174)](){var _0x46885a=_0x1c5774;const _0x11ae76=this;this[_0x46885a(0x26d)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x46885a(0x177)]({'isMatch'(_0x56c332){var _0x5992e4=_0x46885a,_0x3b4277;if(_0x56c332[_0x5992e4(0x269)]===_0x5992e4(0x2d9)&&((_0x3b4277=_0x56c332[_0x5992e4(0x231)])!=null&&_0x3b4277[_0x5992e4(0x377)])){const {objectID:_0x4c303f,objectType:_0x35b123}=_0x56c332['requestParams'][_0x5992e4(0x377)]||{};if(!_0x4c303f||_0x35b123===void 0x0)return!0x1;const _0x13f75f=_0x11ae76['_getAPIPrefixPath']()+'/'+_0x35b123+_0x5992e4(0x2b9)+_0x4c303f+'/allowed';if(_0x56c332[_0x5992e4(0x39a)]===_0x13f75f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2ad7ff){var _0x4b50ab=_0x46885a,_0x1f060d;return(_0x1f060d=_0x2ad7ff[_0x4b50ab(0x231)])==null?void 0x0:_0x1f060d[_0x4b50ab(0x377)];},'mergeParamsToRequest'(_0x242fd3,_0x27834a){var _0x55b87b=_0x46885a;const _0x515dbc=_0x11ae76[_0x55b87b(0x31c)]()+_0x55b87b(0x213),_0x40c684=_0x242fd3[_0x55b87b(0x310)]((_0x3cf932,_0x4fdf4f)=>{var _0xe3dbdc=_0x55b87b;const {unitID:_0x38c8e9,objectID:_0x457ca5,objectType:_0x261dd5,actions:_0x1ac636}=_0x4fdf4f;return _0x3cf932[_0x38c8e9]||(_0x3cf932[_0x38c8e9]={}),_0x3cf932[_0x38c8e9][_0x457ca5]||(_0x3cf932[_0x38c8e9][_0x457ca5]={'objectID':_0x457ca5,'objectType':_0x261dd5,'actions':[]}),_0x3cf932[_0x38c8e9][_0x457ca5][_0xe3dbdc(0x187)][_0xe3dbdc(0x2fa)](..._0x1ac636),_0x3cf932;},{}),_0x404e2c=[];for(const _0xe6bb7a in _0x40c684)for(const _0x325b50 in _0x40c684[_0xe6bb7a]){const {actions:_0x5b8676,objectType:_0x5de273}=_0x40c684[_0xe6bb7a][_0x325b50],_0x2a771e=[...new Set(_0x5b8676)];_0x404e2c[_0x55b87b(0x2fa)]({'unitID':_0xe6bb7a,'objectID':_0x325b50,'objectType':_0x5de273,'actions':_0x2a771e});}return new q[(_0x55b87b(0x2c1))]('POST',_0x515dbc,{'headers':_0x27834a[_0x55b87b(0x4a7)],'withCredentials':_0x27834a['withCredentials'],'responseType':_0x27834a[_0x55b87b(0x16b)],'body':{'requests':_0x404e2c}});}},{'distributeResult'(_0x181877,_0x58c4e4){var _0x3baf97=_0x46885a;const {objectActions:_0x2357bf}=_0x181877;return _0x58c4e4[_0x3baf97(0x439)](_0x303e48=>{var _0x371c9c=_0x3baf97;const {unitID:_0x20bd59,objectID:_0xd378f6,actions:_0x579582}=_0x303e48,_0x170c9f=_0x2357bf[_0x371c9c(0x3fd)](_0x1d0201=>_0x1d0201[_0x371c9c(0x382)]===_0x20bd59&&_0x1d0201[_0x371c9c(0x44a)]===_0xd378f6),_0xa9294d=_0x579582[_0x371c9c(0x439)](_0x46f42c=>_0x170c9f==null?void 0x0:_0x170c9f[_0x371c9c(0x187)][_0x371c9c(0x3fd)](_0x1bf7a3=>_0x1bf7a3['action']===_0x46f42c))[_0x371c9c(0x394)](_0x1169aa=>!!_0x1169aa);return{'config':_0x303e48,'result':{'actions':_0xa9294d,'error':_0x181877[_0x371c9c(0x496)]}};});}})}));}['_getAPIPrefixPath'](){var _0x54be66=_0x1c5774,_0x3914de,_0x411439;const _0x5e89f3=this[_0x54be66(0x26c)][_0x54be66(0x28d)](Ve),_0x5ae56c=this[_0x54be66(0x26c)]['getConfig'](Y);return(_0x411439=(_0x3914de=_0x5ae56c==null?void 0x0:_0x5ae56c[_0x54be66(0x302)])!=null?_0x3914de:_0x5e89f3)!=null?_0x411439:Kn;}async[_0x1c5774(0x3ec)](_0x404a09){var _0x5d3961=_0x1c5774;const _0x2f041e=this['_getAPIPrefixPath']()+'/'+_0x404a09[_0x5d3961(0x1d0)]+'/object';return(await this[_0x5d3961(0x423)]['post'](_0x2f041e,{'body':_0x404a09}))[_0x5d3961(0x377)][_0x5d3961(0x44a)]||'';}async[_0x1c5774(0x46e)](_0x88980e){var _0x593914=_0x1c5774;const _0x5918d6=this[_0x593914(0x31c)]()+_0x593914(0x1c6);return(await this[_0x593914(0x423)]['post'](_0x5918d6,{'body':_0x88980e}))['body'][_0x593914(0x422)];}async[_0x1c5774(0x41b)](_0x1cd06e){var _0x79b647=_0x1c5774;const _0x38629d=this['_getAPIPrefixPath']()+'/'+_0x1cd06e[_0x79b647(0x1d0)]+_0x79b647(0x2b9)+_0x1cd06e[_0x79b647(0x44a)];await this[_0x79b647(0x423)]['put'](_0x38629d,{'body':_0x1cd06e});}async[_0x1c5774(0x243)](_0x593c62){var _0x216aa6=_0x1c5774;const _0x313da5=this[_0x216aa6(0x31c)]()+'/'+_0x593c62[_0x216aa6(0x1d0)]+_0x216aa6(0x2b9)+_0x593c62[_0x216aa6(0x44a)]+_0x216aa6(0x1e3);return(await this[_0x216aa6(0x423)]['post'](_0x313da5,{'body':_0x593c62}))[_0x216aa6(0x377)][_0x216aa6(0x187)];}async[_0x1c5774(0x416)](_0x16d835){var _0x176fa8=_0x1c5774;const _0xb928c4=this[_0x176fa8(0x31c)]()+_0x176fa8(0x213);return(await this[_0x176fa8(0x423)][_0x176fa8(0x20f)](_0xb928c4,{'body':{'requests':_0x16d835}}))[_0x176fa8(0x377)][_0x176fa8(0x153)];}async['listRoles'](_0x473697){var _0x5c9c66=_0x1c5774;const _0x9ad4f5=this[_0x5c9c66(0x31c)]()+'/'+_0x473697[_0x5c9c66(0x1d0)]+_0x5c9c66(0x479),_0x198971=await this['_HTTPService'][_0x5c9c66(0x20f)](_0x9ad4f5,{'body':_0x473697});return{'roles':_0x198971[_0x5c9c66(0x377)][_0x5c9c66(0x456)],'actions':_0x198971['body'][_0x5c9c66(0x187)]};}async['deleteCollaborator'](_0x491085){var _0x571957=_0x1c5774;const _0x2b2f57=this[_0x571957(0x31c)]()+_0x571957(0x415);await this[_0x571957(0x423)][_0x571957(0x36b)](_0x2b2f57,{'params':{'collaboratorID':_0x491085[_0x571957(0x1ba)],'objectID':_0x491085[_0x571957(0x44a)],'unitID':_0x491085[_0x571957(0x382)]}});}async[_0x1c5774(0x478)](_0x2d3501){var _0x258297=_0x1c5774;const _0x48202e=this[_0x258297(0x31c)]()+_0x258297(0x415);await this[_0x258297(0x423)][_0x258297(0x347)](_0x48202e,{'body':_0x2d3501});}async[_0x1c5774(0x485)](_0x3e3eb7){var _0x58ab14=_0x1c5774;const _0x93102c=this[_0x58ab14(0x31c)]()+'/collaborator';await this[_0x58ab14(0x423)][_0x58ab14(0x20f)](_0x93102c,{'body':_0x3e3eb7});}async[_0x1c5774(0x2cd)](_0x58423b){var _0x30ed37=_0x1c5774;const _0x25b636=this[_0x30ed37(0x31c)]()+_0x30ed37(0x415);return(await this['_HTTPService']['get'](_0x25b636,{'params':{'objectID':_0x58423b[_0x30ed37(0x44a)],'unitID':_0x58423b[_0x30ed37(0x382)]}}))[_0x30ed37(0x377)][_0x30ed37(0x45c)];}async[_0x1c5774(0x2db)](_0x47d5c9){var _0x291cb4=_0x1c5774;const _0x33b44c=this['_getAPIPrefixPath']()+_0x291cb4(0x415);await this[_0x291cb4(0x423)][_0x291cb4(0x175)](_0x33b44c,{'body':_0x47d5c9});}},exports[_0x1c5774(0x171)]=Vn([Ze(0x0,a['Inject'](q[_0x1c5774(0x45f)])),Ze(0x1,a['Inject'](a[_0x1c5774(0x304)]))],exports[_0x1c5774(0x171)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x49bfbd){var _0x2ab09a=_0x1c5774;return _0x49bfbd&&_0x49bfbd['__esModule']&&Object[_0x2ab09a(0x1be)]['hasOwnProperty'][_0x2ab09a(0x412)](_0x49bfbd,_0x2ab09a(0x315))?_0x49bfbd['default']:_0x49bfbd;}var Se={'exports':{}};function Yn(_0x22838a){var _0xa42203=_0x1c5774;throw new Error(_0xa42203(0x419)+_0x22838a+_0xa42203(0x391));}var pe={'exports':{}},qn=pe[_0x1c5774(0x327)],Qe;function ee(){var _0x2fb400=_0x1c5774;return Qe||(Qe=0x1,function(_0x43c99d,_0x3d3719){(function(_0x1c28db,_0x5a8c79){var _0x48e6b6=_0x4097;_0x43c99d[_0x48e6b6(0x327)]=_0x5a8c79();}(qn,function(){var _0x2e66d7=_0x2e66d7||function(_0x52ea83,_0x386192){var _0x398e62=_0x4097,_0xfa4210;if(typeof window<'u'&&window[_0x398e62(0x2ab)]&&(_0xfa4210=window[_0x398e62(0x2ab)]),typeof self<'u'&&self['crypto']&&(_0xfa4210=self['crypto']),typeof globalThis<'u'&&globalThis[_0x398e62(0x2ab)]&&(_0xfa4210=globalThis[_0x398e62(0x2ab)]),!_0xfa4210&&typeof window<'u'&&window[_0x398e62(0x399)]&&(_0xfa4210=window[_0x398e62(0x399)]),!_0xfa4210&&typeof Le<'u'&&Le['crypto']&&(_0xfa4210=Le[_0x398e62(0x2ab)]),!_0xfa4210&&typeof Yn==_0x398e62(0x2e2))try{_0xfa4210=require(_0x398e62(0x2ab));}catch{}var _0x56c9c6=function(){var _0x28fba5=_0x398e62;if(_0xfa4210){if(typeof _0xfa4210['getRandomValues']==_0x28fba5(0x2e2))try{return _0xfa4210[_0x28fba5(0x24a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xfa4210[_0x28fba5(0x17c)]==_0x28fba5(0x2e2))try{return _0xfa4210['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x270d3f=Object[_0x398e62(0x3ec)]||(function(){function _0x210a3c(){}return function(_0xe11a48){var _0x50fd51=_0x4097,_0x5cdd49;return _0x210a3c[_0x50fd51(0x1be)]=_0xe11a48,_0x5cdd49=new _0x210a3c(),_0x210a3c[_0x50fd51(0x1be)]=null,_0x5cdd49;};}()),_0x2950e6={},_0x12fc50=_0x2950e6[_0x398e62(0x3e9)]={},_0x1060f3=_0x12fc50[_0x398e62(0x454)]=(function(){return{'extend':function(_0x2e126e){var _0x716380=_0x4097,_0x57e07e=_0x270d3f(this);return _0x2e126e&&_0x57e07e['mixIn'](_0x2e126e),(!_0x57e07e[_0x716380(0x22f)](_0x716380(0x215))||this[_0x716380(0x215)]===_0x57e07e['init'])&&(_0x57e07e[_0x716380(0x215)]=function(){var _0x599e2b=_0x716380;_0x57e07e['$super'][_0x599e2b(0x215)][_0x599e2b(0x226)](this,arguments);}),_0x57e07e[_0x716380(0x215)][_0x716380(0x1be)]=_0x57e07e,_0x57e07e[_0x716380(0x2bd)]=this,_0x57e07e;},'create':function(){var _0x3c77d3=_0x4097,_0x2875c3=this[_0x3c77d3(0x3eb)]();return _0x2875c3['init'][_0x3c77d3(0x226)](_0x2875c3,arguments),_0x2875c3;},'init':function(){},'mixIn':function(_0x373216){var _0x1499ec=_0x4097;for(var _0x5a5313 in _0x373216)_0x373216[_0x1499ec(0x22f)](_0x5a5313)&&(this[_0x5a5313]=_0x373216[_0x5a5313]);_0x373216[_0x1499ec(0x22f)](_0x1499ec(0x359))&&(this[_0x1499ec(0x359)]=_0x373216[_0x1499ec(0x359)]);},'clone':function(){var _0x14d9e1=_0x4097;return this[_0x14d9e1(0x215)][_0x14d9e1(0x1be)]['extend'](this);}};}()),_0x43704c=_0x12fc50['WordArray']=_0x1060f3['extend']({'init':function(_0x2f90c0,_0x36b78c){var _0x5368d5=_0x398e62;_0x2f90c0=this[_0x5368d5(0x38e)]=_0x2f90c0||[],_0x36b78c!=_0x386192?this[_0x5368d5(0x49c)]=_0x36b78c:this[_0x5368d5(0x49c)]=_0x2f90c0[_0x5368d5(0x24b)]*0x4;},'toString':function(_0x317fef){var _0x244c22=_0x398e62;return(_0x317fef||_0x354528)[_0x244c22(0x199)](this);},'concat':function(_0x11b8bb){var _0x49b348=_0x398e62,_0x10047e=this[_0x49b348(0x38e)],_0x314d4a=_0x11b8bb[_0x49b348(0x38e)],_0x2bfbfb=this[_0x49b348(0x49c)],_0x1a1e4b=_0x11b8bb[_0x49b348(0x49c)];if(this[_0x49b348(0x334)](),_0x2bfbfb%0x4)for(var _0x21a28e=0x0;_0x21a28e<_0x1a1e4b;_0x21a28e++){var _0x4d87c9=_0x314d4a[_0x21a28e>>>0x2]>>>0x18-_0x21a28e%0x4*0x8&0xff;_0x10047e[_0x2bfbfb+_0x21a28e>>>0x2]|=_0x4d87c9<<0x18-(_0x2bfbfb+_0x21a28e)%0x4*0x8;}else{for(var _0x4b1f84=0x0;_0x4b1f84<_0x1a1e4b;_0x4b1f84+=0x4)_0x10047e[_0x2bfbfb+_0x4b1f84>>>0x2]=_0x314d4a[_0x4b1f84>>>0x2];}return this[_0x49b348(0x49c)]+=_0x1a1e4b,this;},'clamp':function(){var _0x522d7d=_0x398e62,_0x5499eb=this[_0x522d7d(0x38e)],_0x4f2136=this[_0x522d7d(0x49c)];_0x5499eb[_0x4f2136>>>0x2]&=0xffffffff<<0x20-_0x4f2136%0x4*0x8,_0x5499eb[_0x522d7d(0x24b)]=_0x52ea83[_0x522d7d(0x1bb)](_0x4f2136/0x4);},'clone':function(){var _0x24474f=_0x398e62,_0x3d915e=_0x1060f3['clone'][_0x24474f(0x412)](this);return _0x3d915e['words']=this[_0x24474f(0x38e)][_0x24474f(0x491)](0x0),_0x3d915e;},'random':function(_0x18607e){var _0x3143ca=_0x398e62;for(var _0xae850e=[],_0x463ebf=0x0;_0x463ebf<_0x18607e;_0x463ebf+=0x4)_0xae850e[_0x3143ca(0x2fa)](_0x56c9c6());return new _0x43704c['init'](_0xae850e,_0x18607e);}}),_0x37a0da=_0x2950e6['enc']={},_0x354528=_0x37a0da[_0x398e62(0x47b)]={'stringify':function(_0x63d0e1){var _0x44b347=_0x398e62;for(var _0x3be688=_0x63d0e1[_0x44b347(0x38e)],_0x7cbe6f=_0x63d0e1[_0x44b347(0x49c)],_0x43d607=[],_0x3dd65d=0x0;_0x3dd65d<_0x7cbe6f;_0x3dd65d++){var _0x4e7498=_0x3be688[_0x3dd65d>>>0x2]>>>0x18-_0x3dd65d%0x4*0x8&0xff;_0x43d607[_0x44b347(0x2fa)]((_0x4e7498>>>0x4)[_0x44b347(0x359)](0x10)),_0x43d607[_0x44b347(0x2fa)]((_0x4e7498&0xf)[_0x44b347(0x359)](0x10));}return _0x43d607[_0x44b347(0x180)]('');},'parse':function(_0x10101f){var _0x42d50c=_0x398e62;for(var _0x426a6d=_0x10101f[_0x42d50c(0x24b)],_0x2081bf=[],_0x8e7561=0x0;_0x8e7561<_0x426a6d;_0x8e7561+=0x2)_0x2081bf[_0x8e7561>>>0x3]|=parseInt(_0x10101f[_0x42d50c(0x205)](_0x8e7561,0x2),0x10)<<0x18-_0x8e7561%0x8*0x4;return new _0x43704c[(_0x42d50c(0x215))](_0x2081bf,_0x426a6d/0x2);}},_0x41e46f=_0x37a0da['Latin1']={'stringify':function(_0x146cb4){var _0x40db95=_0x398e62;for(var _0x5138bd=_0x146cb4[_0x40db95(0x38e)],_0x451aae=_0x146cb4['sigBytes'],_0x4a7d7f=[],_0x580078=0x0;_0x580078<_0x451aae;_0x580078++){var _0x5dc185=_0x5138bd[_0x580078>>>0x2]>>>0x18-_0x580078%0x4*0x8&0xff;_0x4a7d7f[_0x40db95(0x2fa)](String[_0x40db95(0x27f)](_0x5dc185));}return _0x4a7d7f[_0x40db95(0x180)]('');},'parse':function(_0x5125d5){var _0x2e05b5=_0x398e62;for(var _0x67df9c=_0x5125d5[_0x2e05b5(0x24b)],_0x3c5c2e=[],_0x24ffcb=0x0;_0x24ffcb<_0x67df9c;_0x24ffcb++)_0x3c5c2e[_0x24ffcb>>>0x2]|=(_0x5125d5[_0x2e05b5(0x342)](_0x24ffcb)&0xff)<<0x18-_0x24ffcb%0x4*0x8;return new _0x43704c['init'](_0x3c5c2e,_0x67df9c);}},_0x12911f=_0x37a0da[_0x398e62(0x20e)]={'stringify':function(_0x28ffdd){var _0x2f196c=_0x398e62;try{return decodeURIComponent(escape(_0x41e46f[_0x2f196c(0x199)](_0x28ffdd)));}catch{throw new Error(_0x2f196c(0x4da));}},'parse':function(_0x44462f){var _0x1b8969=_0x398e62;return _0x41e46f[_0x1b8969(0x164)](unescape(encodeURIComponent(_0x44462f)));}},_0x31160d=_0x12fc50[_0x398e62(0x255)]=_0x1060f3['extend']({'reset':function(){var _0x4cda99=_0x398e62;this[_0x4cda99(0x385)]=new _0x43704c[(_0x4cda99(0x215))](),this[_0x4cda99(0x3a1)]=0x0;},'_append':function(_0x2ecee6){var _0x416e98=_0x398e62;typeof _0x2ecee6==_0x416e98(0x321)&&(_0x2ecee6=_0x12911f[_0x416e98(0x164)](_0x2ecee6)),this[_0x416e98(0x385)][_0x416e98(0x33c)](_0x2ecee6),this[_0x416e98(0x3a1)]+=_0x2ecee6[_0x416e98(0x49c)];},'_process':function(_0x3ba777){var _0x231ee0=_0x398e62,_0x221aef,_0x86e561=this['_data'],_0x2f2bdf=_0x86e561[_0x231ee0(0x38e)],_0x594adb=_0x86e561['sigBytes'],_0x5e5385=this[_0x231ee0(0x4c0)],_0x5423dd=_0x5e5385*0x4,_0x1a375f=_0x594adb/_0x5423dd;_0x3ba777?_0x1a375f=_0x52ea83['ceil'](_0x1a375f):_0x1a375f=_0x52ea83[_0x231ee0(0x3f0)]((_0x1a375f|0x0)-this[_0x231ee0(0x277)],0x0);var _0x4abf1c=_0x1a375f*_0x5e5385,_0x43e844=_0x52ea83[_0x231ee0(0x1d5)](_0x4abf1c*0x4,_0x594adb);if(_0x4abf1c){for(var _0x27c3a3=0x0;_0x27c3a3<_0x4abf1c;_0x27c3a3+=_0x5e5385)this[_0x231ee0(0x3dd)](_0x2f2bdf,_0x27c3a3);_0x221aef=_0x2f2bdf['splice'](0x0,_0x4abf1c),_0x86e561[_0x231ee0(0x49c)]-=_0x43e844;}return new _0x43704c[(_0x231ee0(0x215))](_0x221aef,_0x43e844);},'clone':function(){var _0xbeed2b=_0x398e62,_0x26377a=_0x1060f3[_0xbeed2b(0x2cf)][_0xbeed2b(0x412)](this);return _0x26377a[_0xbeed2b(0x385)]=this['_data'][_0xbeed2b(0x2cf)](),_0x26377a;},'_minBufferSize':0x0});_0x12fc50['Hasher']=_0x31160d[_0x398e62(0x3eb)]({'cfg':_0x1060f3[_0x398e62(0x3eb)](),'init':function(_0x193721){var _0xa35f30=_0x398e62;this[_0xa35f30(0x41d)]=this[_0xa35f30(0x41d)][_0xa35f30(0x3eb)](_0x193721),this[_0xa35f30(0x30c)]();},'reset':function(){var _0x2284a6=_0x398e62;_0x31160d[_0x2284a6(0x30c)][_0x2284a6(0x412)](this),this['_doReset']();},'update':function(_0x302496){var _0x193ff1=_0x398e62;return this[_0x193ff1(0x492)](_0x302496),this[_0x193ff1(0x184)](),this;},'finalize':function(_0xc48466){var _0x36c763=_0x398e62;_0xc48466&&this[_0x36c763(0x492)](_0xc48466);var _0x24cd41=this[_0x36c763(0x453)]();return _0x24cd41;},'blockSize':0x10,'_createHelper':function(_0x29f6f6){return function(_0x454a75,_0x2302dc){var _0xd98fd6=_0x4097;return new _0x29f6f6['init'](_0x2302dc)[_0xd98fd6(0x1f4)](_0x454a75);};},'_createHmacHelper':function(_0x1acc9e){return function(_0x490003,_0x413c6f){var _0x1278f4=_0x4097;return new _0x761179[(_0x1278f4(0x15a))][(_0x1278f4(0x215))](_0x1acc9e,_0x413c6f)[_0x1278f4(0x1f4)](_0x490003);};}});var _0x761179=_0x2950e6[_0x398e62(0x34c)]={};return _0x2950e6;}(Math);return _0x2e66d7;}));}(pe)),pe[_0x2fb400(0x327)];}var me={'exports':{}},zn=me[_0x1c5774(0x327)],et;function Dt(){var _0x51ef4d=_0x1c5774;return et||(et=0x1,function(_0x375961,_0x182d5f){(function(_0xda6544,_0x4e4ece){var _0x1374c9=_0x4097;_0x375961[_0x1374c9(0x327)]=_0x4e4ece(ee());}(zn,function(_0x448f91){var _0xf62a53=_0x4097;return(function(){var _0xb12cf5=_0x4097,_0xc8279d=_0x448f91,_0x12afe9=_0xc8279d[_0xb12cf5(0x3e9)],_0x34c1b9=_0x12afe9[_0xb12cf5(0x438)],_0x4d1433=_0xc8279d[_0xb12cf5(0x1d9)];_0x4d1433[_0xb12cf5(0x31d)]={'stringify':function(_0x85c764){var _0x591f8a=_0xb12cf5,_0x80252a=_0x85c764[_0x591f8a(0x38e)],_0x2d21e4=_0x85c764[_0x591f8a(0x49c)],_0x243a87=this[_0x591f8a(0x182)];_0x85c764['clamp']();for(var _0x228abf=[],_0x14882a=0x0;_0x14882a<_0x2d21e4;_0x14882a+=0x3)for(var _0x4c54c8=_0x80252a[_0x14882a>>>0x2]>>>0x18-_0x14882a%0x4*0x8&0xff,_0x45a8a0=_0x80252a[_0x14882a+0x1>>>0x2]>>>0x18-(_0x14882a+0x1)%0x4*0x8&0xff,_0x55a7a9=_0x80252a[_0x14882a+0x2>>>0x2]>>>0x18-(_0x14882a+0x2)%0x4*0x8&0xff,_0x505b28=_0x4c54c8<<0x10|_0x45a8a0<<0x8|_0x55a7a9,_0x16716b=0x0;_0x16716b<0x4&&_0x14882a+_0x16716b*0.75<_0x2d21e4;_0x16716b++)_0x228abf[_0x591f8a(0x2fa)](_0x243a87['charAt'](_0x505b28>>>0x6*(0x3-_0x16716b)&0x3f));var _0x580d3e=_0x243a87['charAt'](0x40);if(_0x580d3e){for(;_0x228abf[_0x591f8a(0x24b)]%0x4;)_0x228abf['push'](_0x580d3e);}return _0x228abf[_0x591f8a(0x180)]('');},'parse':function(_0x408631){var _0x2f69f0=_0xb12cf5,_0x38a2cb=_0x408631[_0x2f69f0(0x24b)],_0x2950a5=this[_0x2f69f0(0x182)],_0x41e495=this['_reverseMap'];if(!_0x41e495){_0x41e495=this['_reverseMap']=[];for(var _0x50df83=0x0;_0x50df83<_0x2950a5[_0x2f69f0(0x24b)];_0x50df83++)_0x41e495[_0x2950a5[_0x2f69f0(0x342)](_0x50df83)]=_0x50df83;}var _0x459bcf=_0x2950a5[_0x2f69f0(0x472)](0x40);if(_0x459bcf){var _0x35b591=_0x408631[_0x2f69f0(0x1dc)](_0x459bcf);_0x35b591!==-0x1&&(_0x38a2cb=_0x35b591);}return _0x3c2b48(_0x408631,_0x38a2cb,_0x41e495);},'_map':_0xb12cf5(0x2f6)};function _0x3c2b48(_0x1767a3,_0x362298,_0xc5a847){var _0x2de7af=_0xb12cf5;for(var _0x546720=[],_0x4b0f74=0x0,_0x141bfa=0x0;_0x141bfa<_0x362298;_0x141bfa++)if(_0x141bfa%0x4){var _0x968153=_0xc5a847[_0x1767a3[_0x2de7af(0x342)](_0x141bfa-0x1)]<<_0x141bfa%0x4*0x2,_0x4c8eaf=_0xc5a847[_0x1767a3[_0x2de7af(0x342)](_0x141bfa)]>>>0x6-_0x141bfa%0x4*0x2,_0x2f92b6=_0x968153|_0x4c8eaf;_0x546720[_0x4b0f74>>>0x2]|=_0x2f92b6<<0x18-_0x4b0f74%0x4*0x8,_0x4b0f74++;}return _0x34c1b9[_0x2de7af(0x3ec)](_0x546720,_0x4b0f74);}}()),_0x448f91[_0xf62a53(0x1d9)]['Base64'];}));}(me)),me[_0x51ef4d(0x327)];}var ge={'exports':{}},Jn=ge[_0x1c5774(0x327)],tt;function Xn(){var _0x3153eb=_0x1c5774;return tt||(tt=0x1,function(_0x1abdc9,_0x3bf256){(function(_0x100818,_0x5cbff6){_0x1abdc9['exports']=_0x5cbff6(ee());}(Jn,function(_0x30a642){return function(_0x1d36c0){var _0x4d8cbf=_0x4097,_0x2988e1=_0x30a642,_0x65b233=_0x2988e1[_0x4d8cbf(0x3e9)],_0xc39761=_0x65b233['WordArray'],_0x33a2e3=_0x65b233[_0x4d8cbf(0x2b8)],_0x1cc143=_0x2988e1[_0x4d8cbf(0x34c)],_0x290836=[];(function(){var _0x51bbf6=_0x4d8cbf;for(var _0x321a7c=0x0;_0x321a7c<0x40;_0x321a7c++)_0x290836[_0x321a7c]=_0x1d36c0[_0x51bbf6(0x364)](_0x1d36c0['sin'](_0x321a7c+0x1))*0x100000000|0x0;}());var _0x1563c8=_0x1cc143[_0x4d8cbf(0x3d4)]=_0x33a2e3[_0x4d8cbf(0x3eb)]({'_doReset':function(){var _0x1afaeb=_0x4d8cbf;this[_0x1afaeb(0x22a)]=new _0xc39761[(_0x1afaeb(0x215))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4edf9c,_0x440d3c){var _0x2fc361=_0x4d8cbf;for(var _0x2f4add=0x0;_0x2f4add<0x10;_0x2f4add++){var _0x11d87f=_0x440d3c+_0x2f4add,_0x41b9c3=_0x4edf9c[_0x11d87f];_0x4edf9c[_0x11d87f]=(_0x41b9c3<<0x8|_0x41b9c3>>>0x18)&0xff00ff|(_0x41b9c3<<0x18|_0x41b9c3>>>0x8)&0xff00ff00;}var _0x31b8e7=this[_0x2fc361(0x22a)][_0x2fc361(0x38e)],_0x5e8653=_0x4edf9c[_0x440d3c+0x0],_0xd84f9a=_0x4edf9c[_0x440d3c+0x1],_0x2a1625=_0x4edf9c[_0x440d3c+0x2],_0x2c4cb4=_0x4edf9c[_0x440d3c+0x3],_0x35a52b=_0x4edf9c[_0x440d3c+0x4],_0x3b39be=_0x4edf9c[_0x440d3c+0x5],_0x4f19bc=_0x4edf9c[_0x440d3c+0x6],_0xae4694=_0x4edf9c[_0x440d3c+0x7],_0x4355be=_0x4edf9c[_0x440d3c+0x8],_0x1b1f3c=_0x4edf9c[_0x440d3c+0x9],_0x1f34f7=_0x4edf9c[_0x440d3c+0xa],_0x3993c0=_0x4edf9c[_0x440d3c+0xb],_0x260870=_0x4edf9c[_0x440d3c+0xc],_0x4e8204=_0x4edf9c[_0x440d3c+0xd],_0x5319bf=_0x4edf9c[_0x440d3c+0xe],_0x35fa35=_0x4edf9c[_0x440d3c+0xf],_0x41a53a=_0x31b8e7[0x0],_0x1f85d6=_0x31b8e7[0x1],_0xe6646f=_0x31b8e7[0x2],_0x5d84cb=_0x31b8e7[0x3];_0x41a53a=_0x59f550(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x5e8653,0x7,_0x290836[0x0]),_0x5d84cb=_0x59f550(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0xd84f9a,0xc,_0x290836[0x1]),_0xe6646f=_0x59f550(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x2a1625,0x11,_0x290836[0x2]),_0x1f85d6=_0x59f550(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x2c4cb4,0x16,_0x290836[0x3]),_0x41a53a=_0x59f550(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x35a52b,0x7,_0x290836[0x4]),_0x5d84cb=_0x59f550(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x3b39be,0xc,_0x290836[0x5]),_0xe6646f=_0x59f550(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x4f19bc,0x11,_0x290836[0x6]),_0x1f85d6=_0x59f550(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0xae4694,0x16,_0x290836[0x7]),_0x41a53a=_0x59f550(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x4355be,0x7,_0x290836[0x8]),_0x5d84cb=_0x59f550(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x1b1f3c,0xc,_0x290836[0x9]),_0xe6646f=_0x59f550(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x1f34f7,0x11,_0x290836[0xa]),_0x1f85d6=_0x59f550(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x3993c0,0x16,_0x290836[0xb]),_0x41a53a=_0x59f550(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x260870,0x7,_0x290836[0xc]),_0x5d84cb=_0x59f550(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x4e8204,0xc,_0x290836[0xd]),_0xe6646f=_0x59f550(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x5319bf,0x11,_0x290836[0xe]),_0x1f85d6=_0x59f550(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x35fa35,0x16,_0x290836[0xf]),_0x41a53a=_0xfeaf47(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0xd84f9a,0x5,_0x290836[0x10]),_0x5d84cb=_0xfeaf47(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x4f19bc,0x9,_0x290836[0x11]),_0xe6646f=_0xfeaf47(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x3993c0,0xe,_0x290836[0x12]),_0x1f85d6=_0xfeaf47(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x5e8653,0x14,_0x290836[0x13]),_0x41a53a=_0xfeaf47(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x3b39be,0x5,_0x290836[0x14]),_0x5d84cb=_0xfeaf47(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x1f34f7,0x9,_0x290836[0x15]),_0xe6646f=_0xfeaf47(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x35fa35,0xe,_0x290836[0x16]),_0x1f85d6=_0xfeaf47(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x35a52b,0x14,_0x290836[0x17]),_0x41a53a=_0xfeaf47(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x1b1f3c,0x5,_0x290836[0x18]),_0x5d84cb=_0xfeaf47(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x5319bf,0x9,_0x290836[0x19]),_0xe6646f=_0xfeaf47(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x2c4cb4,0xe,_0x290836[0x1a]),_0x1f85d6=_0xfeaf47(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x4355be,0x14,_0x290836[0x1b]),_0x41a53a=_0xfeaf47(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x4e8204,0x5,_0x290836[0x1c]),_0x5d84cb=_0xfeaf47(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x2a1625,0x9,_0x290836[0x1d]),_0xe6646f=_0xfeaf47(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0xae4694,0xe,_0x290836[0x1e]),_0x1f85d6=_0xfeaf47(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x260870,0x14,_0x290836[0x1f]),_0x41a53a=_0x10ccc7(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x3b39be,0x4,_0x290836[0x20]),_0x5d84cb=_0x10ccc7(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x4355be,0xb,_0x290836[0x21]),_0xe6646f=_0x10ccc7(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x3993c0,0x10,_0x290836[0x22]),_0x1f85d6=_0x10ccc7(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x5319bf,0x17,_0x290836[0x23]),_0x41a53a=_0x10ccc7(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0xd84f9a,0x4,_0x290836[0x24]),_0x5d84cb=_0x10ccc7(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x35a52b,0xb,_0x290836[0x25]),_0xe6646f=_0x10ccc7(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0xae4694,0x10,_0x290836[0x26]),_0x1f85d6=_0x10ccc7(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f34f7,0x17,_0x290836[0x27]),_0x41a53a=_0x10ccc7(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x4e8204,0x4,_0x290836[0x28]),_0x5d84cb=_0x10ccc7(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x5e8653,0xb,_0x290836[0x29]),_0xe6646f=_0x10ccc7(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x2c4cb4,0x10,_0x290836[0x2a]),_0x1f85d6=_0x10ccc7(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x4f19bc,0x17,_0x290836[0x2b]),_0x41a53a=_0x10ccc7(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x1b1f3c,0x4,_0x290836[0x2c]),_0x5d84cb=_0x10ccc7(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x260870,0xb,_0x290836[0x2d]),_0xe6646f=_0x10ccc7(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x35fa35,0x10,_0x290836[0x2e]),_0x1f85d6=_0x10ccc7(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x2a1625,0x17,_0x290836[0x2f]),_0x41a53a=_0xf603b0(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x5e8653,0x6,_0x290836[0x30]),_0x5d84cb=_0xf603b0(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0xae4694,0xa,_0x290836[0x31]),_0xe6646f=_0xf603b0(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x5319bf,0xf,_0x290836[0x32]),_0x1f85d6=_0xf603b0(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x3b39be,0x15,_0x290836[0x33]),_0x41a53a=_0xf603b0(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x260870,0x6,_0x290836[0x34]),_0x5d84cb=_0xf603b0(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x2c4cb4,0xa,_0x290836[0x35]),_0xe6646f=_0xf603b0(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x1f34f7,0xf,_0x290836[0x36]),_0x1f85d6=_0xf603b0(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0xd84f9a,0x15,_0x290836[0x37]),_0x41a53a=_0xf603b0(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x4355be,0x6,_0x290836[0x38]),_0x5d84cb=_0xf603b0(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x35fa35,0xa,_0x290836[0x39]),_0xe6646f=_0xf603b0(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x4f19bc,0xf,_0x290836[0x3a]),_0x1f85d6=_0xf603b0(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x4e8204,0x15,_0x290836[0x3b]),_0x41a53a=_0xf603b0(_0x41a53a,_0x1f85d6,_0xe6646f,_0x5d84cb,_0x35a52b,0x6,_0x290836[0x3c]),_0x5d84cb=_0xf603b0(_0x5d84cb,_0x41a53a,_0x1f85d6,_0xe6646f,_0x3993c0,0xa,_0x290836[0x3d]),_0xe6646f=_0xf603b0(_0xe6646f,_0x5d84cb,_0x41a53a,_0x1f85d6,_0x2a1625,0xf,_0x290836[0x3e]),_0x1f85d6=_0xf603b0(_0x1f85d6,_0xe6646f,_0x5d84cb,_0x41a53a,_0x1b1f3c,0x15,_0x290836[0x3f]),_0x31b8e7[0x0]=_0x31b8e7[0x0]+_0x41a53a|0x0,_0x31b8e7[0x1]=_0x31b8e7[0x1]+_0x1f85d6|0x0,_0x31b8e7[0x2]=_0x31b8e7[0x2]+_0xe6646f|0x0,_0x31b8e7[0x3]=_0x31b8e7[0x3]+_0x5d84cb|0x0;},'_doFinalize':function(){var _0x8d2685=_0x4d8cbf,_0xee78fa=this['_data'],_0x33dfa8=_0xee78fa[_0x8d2685(0x38e)],_0x5c58e9=this['_nDataBytes']*0x8,_0x490dc9=_0xee78fa['sigBytes']*0x8;_0x33dfa8[_0x490dc9>>>0x5]|=0x80<<0x18-_0x490dc9%0x20;var _0x2ef737=_0x1d36c0[_0x8d2685(0x41c)](_0x5c58e9/0x100000000),_0x277b86=_0x5c58e9;_0x33dfa8[(_0x490dc9+0x40>>>0x9<<0x4)+0xf]=(_0x2ef737<<0x8|_0x2ef737>>>0x18)&0xff00ff|(_0x2ef737<<0x18|_0x2ef737>>>0x8)&0xff00ff00,_0x33dfa8[(_0x490dc9+0x40>>>0x9<<0x4)+0xe]=(_0x277b86<<0x8|_0x277b86>>>0x18)&0xff00ff|(_0x277b86<<0x18|_0x277b86>>>0x8)&0xff00ff00,_0xee78fa[_0x8d2685(0x49c)]=(_0x33dfa8[_0x8d2685(0x24b)]+0x1)*0x4,this[_0x8d2685(0x184)]();for(var _0x501434=this['_hash'],_0xd578ab=_0x501434[_0x8d2685(0x38e)],_0x18f871=0x0;_0x18f871<0x4;_0x18f871++){var _0x1c1656=_0xd578ab[_0x18f871];_0xd578ab[_0x18f871]=(_0x1c1656<<0x8|_0x1c1656>>>0x18)&0xff00ff|(_0x1c1656<<0x18|_0x1c1656>>>0x8)&0xff00ff00;}return _0x501434;},'clone':function(){var _0x4fa798=_0x4d8cbf,_0x4fbc9a=_0x33a2e3[_0x4fa798(0x2cf)][_0x4fa798(0x412)](this);return _0x4fbc9a[_0x4fa798(0x22a)]=this[_0x4fa798(0x22a)][_0x4fa798(0x2cf)](),_0x4fbc9a;}});function _0x59f550(_0x5f4f04,_0x2d47f4,_0x61b2cd,_0x139d10,_0x1a3d25,_0x20e0e6,_0x5946e9){var _0x43a33c=_0x5f4f04+(_0x2d47f4&_0x61b2cd|~_0x2d47f4&_0x139d10)+_0x1a3d25+_0x5946e9;return(_0x43a33c<<_0x20e0e6|_0x43a33c>>>0x20-_0x20e0e6)+_0x2d47f4;}function _0xfeaf47(_0x1dd151,_0x159f0b,_0x5ddbc5,_0xf4194e,_0x10c761,_0xa75650,_0x4915dc){var _0x3cccd3=_0x1dd151+(_0x159f0b&_0xf4194e|_0x5ddbc5&~_0xf4194e)+_0x10c761+_0x4915dc;return(_0x3cccd3<<_0xa75650|_0x3cccd3>>>0x20-_0xa75650)+_0x159f0b;}function _0x10ccc7(_0x6876f1,_0x57b3b1,_0x255504,_0x17f893,_0x2e3d5e,_0x2bae7b,_0x1af671){var _0x554ebd=_0x6876f1+(_0x57b3b1^_0x255504^_0x17f893)+_0x2e3d5e+_0x1af671;return(_0x554ebd<<_0x2bae7b|_0x554ebd>>>0x20-_0x2bae7b)+_0x57b3b1;}function _0xf603b0(_0x5f2ce4,_0x5e0d03,_0x38697f,_0x5d4044,_0xd8eff0,_0x52499c,_0x3d1bb9){var _0x4bbdfc=_0x5f2ce4+(_0x38697f^(_0x5e0d03|~_0x5d4044))+_0xd8eff0+_0x3d1bb9;return(_0x4bbdfc<<_0x52499c|_0x4bbdfc>>>0x20-_0x52499c)+_0x5e0d03;}_0x2988e1[_0x4d8cbf(0x3d4)]=_0x33a2e3[_0x4d8cbf(0x38a)](_0x1563c8),_0x2988e1[_0x4d8cbf(0x4ce)]=_0x33a2e3['_createHmacHelper'](_0x1563c8);}(Math),_0x30a642['MD5'];}));}(ge)),ge[_0x3153eb(0x327)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee['exports'],nt;function Qn(){var _0x16d4a6=_0x1c5774;return nt||(nt=0x1,function(_0x13e1aa,_0x3a74ac){(function(_0x348ef7,_0x2e7975){_0x13e1aa['exports']=_0x2e7975(ee());}(Zn,function(_0x410592){var _0x3ddbb0=_0x4097;return(function(){var _0x3235e7=_0x4097,_0x5b4127=_0x410592,_0x3b006b=_0x5b4127[_0x3235e7(0x3e9)],_0x140973=_0x3b006b[_0x3235e7(0x438)],_0x21b164=_0x3b006b[_0x3235e7(0x2b8)],_0x57614a=_0x5b4127['algo'],_0xfe57e1=[],_0x2e459a=_0x57614a[_0x3235e7(0x4c6)]=_0x21b164[_0x3235e7(0x3eb)]({'_doReset':function(){var _0x3b6490=_0x3235e7;this[_0x3b6490(0x22a)]=new _0x140973[(_0x3b6490(0x215))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf75311,_0x513a90){var _0x4da009=_0x3235e7;for(var _0x6ac55b=this[_0x4da009(0x22a)]['words'],_0x29c84e=_0x6ac55b[0x0],_0x2498b2=_0x6ac55b[0x1],_0x133c85=_0x6ac55b[0x2],_0xd71be5=_0x6ac55b[0x3],_0x5a283a=_0x6ac55b[0x4],_0x3b2006=0x0;_0x3b2006<0x50;_0x3b2006++){if(_0x3b2006<0x10)_0xfe57e1[_0x3b2006]=_0xf75311[_0x513a90+_0x3b2006]|0x0;else{var _0x3f95b9=_0xfe57e1[_0x3b2006-0x3]^_0xfe57e1[_0x3b2006-0x8]^_0xfe57e1[_0x3b2006-0xe]^_0xfe57e1[_0x3b2006-0x10];_0xfe57e1[_0x3b2006]=_0x3f95b9<<0x1|_0x3f95b9>>>0x1f;}var _0x5a9d52=(_0x29c84e<<0x5|_0x29c84e>>>0x1b)+_0x5a283a+_0xfe57e1[_0x3b2006];_0x3b2006<0x14?_0x5a9d52+=(_0x2498b2&_0x133c85|~_0x2498b2&_0xd71be5)+0x5a827999:_0x3b2006<0x28?_0x5a9d52+=(_0x2498b2^_0x133c85^_0xd71be5)+0x6ed9eba1:_0x3b2006<0x3c?_0x5a9d52+=(_0x2498b2&_0x133c85|_0x2498b2&_0xd71be5|_0x133c85&_0xd71be5)-0x70e44324:_0x5a9d52+=(_0x2498b2^_0x133c85^_0xd71be5)-0x359d3e2a,_0x5a283a=_0xd71be5,_0xd71be5=_0x133c85,_0x133c85=_0x2498b2<<0x1e|_0x2498b2>>>0x2,_0x2498b2=_0x29c84e,_0x29c84e=_0x5a9d52;}_0x6ac55b[0x0]=_0x6ac55b[0x0]+_0x29c84e|0x0,_0x6ac55b[0x1]=_0x6ac55b[0x1]+_0x2498b2|0x0,_0x6ac55b[0x2]=_0x6ac55b[0x2]+_0x133c85|0x0,_0x6ac55b[0x3]=_0x6ac55b[0x3]+_0xd71be5|0x0,_0x6ac55b[0x4]=_0x6ac55b[0x4]+_0x5a283a|0x0;},'_doFinalize':function(){var _0x5d3194=_0x3235e7,_0x58c603=this[_0x5d3194(0x385)],_0x4567c1=_0x58c603[_0x5d3194(0x38e)],_0x5c853b=this[_0x5d3194(0x3a1)]*0x8,_0x512266=_0x58c603[_0x5d3194(0x49c)]*0x8;return _0x4567c1[_0x512266>>>0x5]|=0x80<<0x18-_0x512266%0x20,_0x4567c1[(_0x512266+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d3194(0x41c)](_0x5c853b/0x100000000),_0x4567c1[(_0x512266+0x40>>>0x9<<0x4)+0xf]=_0x5c853b,_0x58c603[_0x5d3194(0x49c)]=_0x4567c1[_0x5d3194(0x24b)]*0x4,this['_process'](),this[_0x5d3194(0x22a)];},'clone':function(){var _0x44a4f6=_0x3235e7,_0x2ee6b0=_0x21b164[_0x44a4f6(0x2cf)][_0x44a4f6(0x412)](this);return _0x2ee6b0[_0x44a4f6(0x22a)]=this[_0x44a4f6(0x22a)][_0x44a4f6(0x2cf)](),_0x2ee6b0;}});_0x5b4127[_0x3235e7(0x4c6)]=_0x21b164[_0x3235e7(0x38a)](_0x2e459a),_0x5b4127['HmacSHA1']=_0x21b164[_0x3235e7(0x25d)](_0x2e459a);}()),_0x410592[_0x3ddbb0(0x4c6)];}));}(Ee)),Ee[_0x16d4a6(0x327)];}var Ce={'exports':{}},ei=Ce[_0x1c5774(0x327)],it;function ti(){return it||(it=0x1,function(_0x2e43b2,_0x238916){(function(_0x216515,_0x57dda5){_0x2e43b2['exports']=_0x57dda5(ee());}(ei,function(_0x6fe894){(function(){var _0x3440e7=_0x4097,_0xf799dc=_0x6fe894,_0x40684e=_0xf799dc[_0x3440e7(0x3e9)],_0x52db36=_0x40684e[_0x3440e7(0x454)],_0x2267b0=_0xf799dc['enc'],_0x26ec4e=_0x2267b0['Utf8'],_0x37fbd3=_0xf799dc['algo'];_0x37fbd3[_0x3440e7(0x15a)]=_0x52db36[_0x3440e7(0x3eb)]({'init':function(_0x47cd3b,_0x4dfdb6){var _0x570ba3=_0x3440e7;_0x47cd3b=this[_0x570ba3(0x335)]=new _0x47cd3b[(_0x570ba3(0x215))](),typeof _0x4dfdb6==_0x570ba3(0x321)&&(_0x4dfdb6=_0x26ec4e['parse'](_0x4dfdb6));var _0x7b3d9e=_0x47cd3b['blockSize'],_0x89ef0a=_0x7b3d9e*0x4;_0x4dfdb6['sigBytes']>_0x89ef0a&&(_0x4dfdb6=_0x47cd3b[_0x570ba3(0x1f4)](_0x4dfdb6)),_0x4dfdb6[_0x570ba3(0x334)]();for(var _0x51d5ef=this['_oKey']=_0x4dfdb6[_0x570ba3(0x2cf)](),_0x433848=this['_iKey']=_0x4dfdb6[_0x570ba3(0x2cf)](),_0xee054e=_0x51d5ef[_0x570ba3(0x38e)],_0x582da3=_0x433848['words'],_0x58e2aa=0x0;_0x58e2aa<_0x7b3d9e;_0x58e2aa++)_0xee054e[_0x58e2aa]^=0x5c5c5c5c,_0x582da3[_0x58e2aa]^=0x36363636;_0x51d5ef[_0x570ba3(0x49c)]=_0x433848['sigBytes']=_0x89ef0a,this[_0x570ba3(0x30c)]();},'reset':function(){var _0x324914=_0x3440e7,_0x57b28a=this['_hasher'];_0x57b28a[_0x324914(0x30c)](),_0x57b28a['update'](this[_0x324914(0x367)]);},'update':function(_0x4bae65){return this['_hasher']['update'](_0x4bae65),this;},'finalize':function(_0x4a8e3d){var _0x10df8d=_0x3440e7,_0x2dc6bc=this[_0x10df8d(0x335)],_0x360c5d=_0x2dc6bc[_0x10df8d(0x1f4)](_0x4a8e3d);_0x2dc6bc[_0x10df8d(0x30c)]();var _0x22df5d=_0x2dc6bc['finalize'](this[_0x10df8d(0x2a1)][_0x10df8d(0x2cf)]()[_0x10df8d(0x33c)](_0x360c5d));return _0x22df5d;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x1c5774(0x327)],rt;function wt(){var _0x514bd8=_0x1c5774;return rt||(rt=0x1,function(_0x538869,_0x10e333){(function(_0x73f5c5,_0x1587ad,_0x281403){var _0xf1f81c=_0x4097;_0x538869[_0xf1f81c(0x327)]=_0x1587ad(ee(),Qn(),ti());}(ni,function(_0x2e8a9e){return(function(){var _0x4a1563=_0x4097,_0x171dab=_0x2e8a9e,_0x5bee52=_0x171dab[_0x4a1563(0x3e9)],_0x3e2a08=_0x5bee52[_0x4a1563(0x454)],_0x25f6e3=_0x5bee52[_0x4a1563(0x438)],_0x501edc=_0x171dab[_0x4a1563(0x34c)],_0x8df4e9=_0x501edc[_0x4a1563(0x3d4)],_0x551dec=_0x501edc[_0x4a1563(0x156)]=_0x3e2a08[_0x4a1563(0x3eb)]({'cfg':_0x3e2a08[_0x4a1563(0x3eb)]({'keySize':0x80/0x20,'hasher':_0x8df4e9,'iterations':0x1}),'init':function(_0x2878e1){var _0xb5df2e=_0x4a1563;this[_0xb5df2e(0x41d)]=this[_0xb5df2e(0x41d)][_0xb5df2e(0x3eb)](_0x2878e1);},'compute':function(_0x3493d4,_0x1cd5aa){var _0x1c85e4=_0x4a1563;for(var _0x59d1ee,_0x2db672=this[_0x1c85e4(0x41d)],_0x5f2aa0=_0x2db672[_0x1c85e4(0x28f)][_0x1c85e4(0x3ec)](),_0x2cb5e8=_0x25f6e3['create'](),_0x333fc6=_0x2cb5e8[_0x1c85e4(0x38e)],_0x1ef8f0=_0x2db672[_0x1c85e4(0x21b)],_0x7aef07=_0x2db672[_0x1c85e4(0x162)];_0x333fc6[_0x1c85e4(0x24b)]<_0x1ef8f0;){_0x59d1ee&&_0x5f2aa0[_0x1c85e4(0x41b)](_0x59d1ee),_0x59d1ee=_0x5f2aa0[_0x1c85e4(0x41b)](_0x3493d4)[_0x1c85e4(0x1f4)](_0x1cd5aa),_0x5f2aa0[_0x1c85e4(0x30c)]();for(var _0x40fdac=0x1;_0x40fdac<_0x7aef07;_0x40fdac++)_0x59d1ee=_0x5f2aa0[_0x1c85e4(0x1f4)](_0x59d1ee),_0x5f2aa0[_0x1c85e4(0x30c)]();_0x2cb5e8[_0x1c85e4(0x33c)](_0x59d1ee);}return _0x2cb5e8[_0x1c85e4(0x49c)]=_0x1ef8f0*0x4,_0x2cb5e8;}});_0x171dab['EvpKDF']=function(_0x393a61,_0x21d929,_0x4b63a6){var _0x49c82b=_0x4a1563;return _0x551dec['create'](_0x4b63a6)[_0x49c82b(0x30d)](_0x393a61,_0x21d929);};}()),_0x2e8a9e['EvpKDF'];}));}(Ie)),Ie[_0x514bd8(0x327)];}var Te={'exports':{}},ii=Te[_0x1c5774(0x327)],st;function At(){var _0x1fa3fe=_0x1c5774;return st||(st=0x1,function(_0x4f1600,_0x1255b1){(function(_0x5428f6,_0x5cd468,_0x305652){_0x4f1600['exports']=_0x5cd468(ee(),wt());}(ii,function(_0x412b8a){var _0x28b28f=_0x4097;_0x412b8a[_0x28b28f(0x3e9)][_0x28b28f(0x24c)]||function(_0x45adc1){var _0x29e740=_0x28b28f,_0x55d3ba=_0x412b8a,_0x195d0b=_0x55d3ba[_0x29e740(0x3e9)],_0x572bc6=_0x195d0b[_0x29e740(0x454)],_0x5060b8=_0x195d0b[_0x29e740(0x438)],_0x4d2a55=_0x195d0b[_0x29e740(0x255)],_0x6428bf=_0x55d3ba[_0x29e740(0x1d9)];_0x6428bf[_0x29e740(0x20e)];var _0xfd26eb=_0x6428bf[_0x29e740(0x31d)],_0x134e36=_0x55d3ba[_0x29e740(0x34c)],_0x53ad93=_0x134e36[_0x29e740(0x156)],_0x4e891f=_0x195d0b[_0x29e740(0x24c)]=_0x4d2a55[_0x29e740(0x3eb)]({'cfg':_0x572bc6['extend'](),'createEncryptor':function(_0x4d2de3,_0x32a48b){var _0x36ca02=_0x29e740;return this['create'](this[_0x36ca02(0x1ab)],_0x4d2de3,_0x32a48b);},'createDecryptor':function(_0x23509d,_0x1ae1c7){var _0x589d55=_0x29e740;return this[_0x589d55(0x3ec)](this[_0x589d55(0x37c)],_0x23509d,_0x1ae1c7);},'init':function(_0x566f1b,_0xd1c2cd,_0x2b8eea){var _0x4928f4=_0x29e740;this[_0x4928f4(0x41d)]=this['cfg'][_0x4928f4(0x3eb)](_0x2b8eea),this[_0x4928f4(0x16d)]=_0x566f1b,this[_0x4928f4(0x1c9)]=_0xd1c2cd,this[_0x4928f4(0x30c)]();},'reset':function(){var _0x144adf=_0x29e740;_0x4d2a55[_0x144adf(0x30c)]['call'](this),this[_0x144adf(0x17b)]();},'process':function(_0x514151){var _0x459d2f=_0x29e740;return this['_append'](_0x514151),this[_0x459d2f(0x184)]();},'finalize':function(_0x43313e){var _0x48ee0d=_0x29e740;_0x43313e&&this[_0x48ee0d(0x492)](_0x43313e);var _0x3223d3=this[_0x48ee0d(0x453)]();return _0x3223d3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b634a(_0x4bcd1f){var _0x393a1f=_0x4097;return typeof _0x4bcd1f==_0x393a1f(0x321)?_0x1f8e62:_0x454b83;}return function(_0xd87ddd){return{'encrypt':function(_0x37941e,_0x40e53e,_0x59a83f){var _0xa8beb0=_0x4097;return _0x3b634a(_0x40e53e)[_0xa8beb0(0x218)](_0xd87ddd,_0x37941e,_0x40e53e,_0x59a83f);},'decrypt':function(_0x4708f0,_0x2ffe94,_0x322c05){return _0x3b634a(_0x2ffe94)['decrypt'](_0xd87ddd,_0x4708f0,_0x2ffe94,_0x322c05);}};};}())});_0x195d0b[_0x29e740(0x48e)]=_0x4e891f['extend']({'_doFinalize':function(){var _0x2f8b06=_0x29e740,_0x4d489d=this[_0x2f8b06(0x184)](!0x0);return _0x4d489d;},'blockSize':0x1});var _0xac8689=_0x55d3ba[_0x29e740(0x445)]={},_0xeca62c=_0x195d0b[_0x29e740(0x452)]=_0x572bc6['extend']({'createEncryptor':function(_0x4d5439,_0xc621fd){var _0x2595a6=_0x29e740;return this[_0x2595a6(0x34a)][_0x2595a6(0x3ec)](_0x4d5439,_0xc621fd);},'createDecryptor':function(_0x3eb30e,_0xe7945){var _0xc1de2e=_0x29e740;return this[_0xc1de2e(0x3e0)][_0xc1de2e(0x3ec)](_0x3eb30e,_0xe7945);},'init':function(_0x76fdf3,_0x1b7688){var _0x884549=_0x29e740;this[_0x884549(0x1b1)]=_0x76fdf3,this['_iv']=_0x1b7688;}}),_0x190796=_0xac8689[_0x29e740(0x21c)]=(function(){var _0x3ddbe4=_0x29e740,_0x56d845=_0xeca62c['extend']();_0x56d845['Encryptor']=_0x56d845[_0x3ddbe4(0x3eb)]({'processBlock':function(_0x571cbc,_0x1a69dc){var _0x513e80=_0x3ddbe4,_0x2a993b=this[_0x513e80(0x1b1)],_0x4a9f9f=_0x2a993b[_0x513e80(0x4c0)];_0x17ef9d[_0x513e80(0x412)](this,_0x571cbc,_0x1a69dc,_0x4a9f9f),_0x2a993b['encryptBlock'](_0x571cbc,_0x1a69dc),this[_0x513e80(0x158)]=_0x571cbc['slice'](_0x1a69dc,_0x1a69dc+_0x4a9f9f);}}),_0x56d845[_0x3ddbe4(0x3e0)]=_0x56d845[_0x3ddbe4(0x3eb)]({'processBlock':function(_0x1ae9f7,_0x1b880f){var _0x2fe10b=_0x3ddbe4,_0x4d9e19=this[_0x2fe10b(0x1b1)],_0x5e73bd=_0x4d9e19[_0x2fe10b(0x4c0)],_0x59b5f0=_0x1ae9f7[_0x2fe10b(0x491)](_0x1b880f,_0x1b880f+_0x5e73bd);_0x4d9e19['decryptBlock'](_0x1ae9f7,_0x1b880f),_0x17ef9d[_0x2fe10b(0x412)](this,_0x1ae9f7,_0x1b880f,_0x5e73bd),this[_0x2fe10b(0x158)]=_0x59b5f0;}});function _0x17ef9d(_0x5ca46f,_0x54427c,_0x4476fa){var _0x97527c=_0x3ddbe4,_0x1ab4cd,_0x44d982=this['_iv'];_0x44d982?(_0x1ab4cd=_0x44d982,this[_0x97527c(0x289)]=_0x45adc1):_0x1ab4cd=this['_prevBlock'];for(var _0x2c1474=0x0;_0x2c1474<_0x4476fa;_0x2c1474++)_0x5ca46f[_0x54427c+_0x2c1474]^=_0x1ab4cd[_0x2c1474];}return _0x56d845;}()),_0x363d74=_0x55d3ba['pad']={},_0x568280=_0x363d74[_0x29e740(0x383)]={'pad':function(_0xbde39c,_0x16561a){var _0x389a10=_0x29e740;for(var _0x9c03de=_0x16561a*0x4,_0x1f77be=_0x9c03de-_0xbde39c['sigBytes']%_0x9c03de,_0x1d83b4=_0x1f77be<<0x18|_0x1f77be<<0x10|_0x1f77be<<0x8|_0x1f77be,_0x51b5f2=[],_0x321c8c=0x0;_0x321c8c<_0x1f77be;_0x321c8c+=0x4)_0x51b5f2[_0x389a10(0x2fa)](_0x1d83b4);var _0xd0c6d3=_0x5060b8[_0x389a10(0x3ec)](_0x51b5f2,_0x1f77be);_0xbde39c[_0x389a10(0x33c)](_0xd0c6d3);},'unpad':function(_0xa1a025){var _0x3187f3=_0x29e740,_0x1bc425=_0xa1a025[_0x3187f3(0x38e)][_0xa1a025['sigBytes']-0x1>>>0x2]&0xff;_0xa1a025['sigBytes']-=_0x1bc425;}};_0x195d0b[_0x29e740(0x23a)]=_0x4e891f[_0x29e740(0x3eb)]({'cfg':_0x4e891f[_0x29e740(0x41d)][_0x29e740(0x3eb)]({'mode':_0x190796,'padding':_0x568280}),'reset':function(){var _0x293a2e=_0x29e740,_0xac805;_0x4e891f['reset']['call'](this);var _0x3a8519=this[_0x293a2e(0x41d)],_0x45975b=_0x3a8519['iv'],_0x32184d=_0x3a8519['mode'];this[_0x293a2e(0x16d)]==this[_0x293a2e(0x1ab)]?_0xac805=_0x32184d[_0x293a2e(0x4a4)]:(_0xac805=_0x32184d[_0x293a2e(0x2fe)],this['_minBufferSize']=0x1),this[_0x293a2e(0x3f6)]&&this[_0x293a2e(0x3f6)][_0x293a2e(0x195)]==_0xac805?this[_0x293a2e(0x3f6)][_0x293a2e(0x215)](this,_0x45975b&&_0x45975b[_0x293a2e(0x38e)]):(this[_0x293a2e(0x3f6)]=_0xac805['call'](_0x32184d,this,_0x45975b&&_0x45975b['words']),this[_0x293a2e(0x3f6)][_0x293a2e(0x195)]=_0xac805);},'_doProcessBlock':function(_0x166c05,_0x1cca18){var _0x2467a7=_0x29e740;this[_0x2467a7(0x3f6)][_0x2467a7(0x36a)](_0x166c05,_0x1cca18);},'_doFinalize':function(){var _0x2af48b=_0x29e740,_0x46c09c,_0x29da36=this[_0x2af48b(0x41d)][_0x2af48b(0x421)];return this[_0x2af48b(0x16d)]==this[_0x2af48b(0x1ab)]?(_0x29da36[_0x2af48b(0x201)](this['_data'],this[_0x2af48b(0x4c0)]),_0x46c09c=this[_0x2af48b(0x184)](!0x0)):(_0x46c09c=this[_0x2af48b(0x184)](!0x0),_0x29da36[_0x2af48b(0x3b1)](_0x46c09c)),_0x46c09c;},'blockSize':0x80/0x20});var _0x367bd9=_0x195d0b[_0x29e740(0x3f4)]=_0x572bc6[_0x29e740(0x3eb)]({'init':function(_0x5d98b5){var _0x3c69e2=_0x29e740;this[_0x3c69e2(0x1bc)](_0x5d98b5);},'toString':function(_0x2b2717){var _0x2125ea=_0x29e740;return(_0x2b2717||this[_0x2125ea(0x47d)])[_0x2125ea(0x199)](this);}}),_0x9db9c1=_0x55d3ba[_0x29e740(0x4ac)]={},_0x47c3ef=_0x9db9c1[_0x29e740(0x3a8)]={'stringify':function(_0x45adce){var _0x516151=_0x29e740,_0x576e47,_0x3f4222=_0x45adce[_0x516151(0x437)],_0x314799=_0x45adce[_0x516151(0x4aa)];return _0x314799?_0x576e47=_0x5060b8[_0x516151(0x3ec)]([0x53616c74,0x65645f5f])['concat'](_0x314799)[_0x516151(0x33c)](_0x3f4222):_0x576e47=_0x3f4222,_0x576e47[_0x516151(0x359)](_0xfd26eb);},'parse':function(_0x18869d){var _0x480a85=_0x29e740,_0x53418e,_0x1abd50=_0xfd26eb[_0x480a85(0x164)](_0x18869d),_0x2a7eb9=_0x1abd50['words'];return _0x2a7eb9[0x0]==0x53616c74&&_0x2a7eb9[0x1]==0x65645f5f&&(_0x53418e=_0x5060b8[_0x480a85(0x3ec)](_0x2a7eb9['slice'](0x2,0x4)),_0x2a7eb9[_0x480a85(0x3ea)](0x0,0x4),_0x1abd50[_0x480a85(0x49c)]-=0x10),_0x367bd9[_0x480a85(0x3ec)]({'ciphertext':_0x1abd50,'salt':_0x53418e});}},_0x454b83=_0x195d0b[_0x29e740(0x430)]=_0x572bc6['extend']({'cfg':_0x572bc6['extend']({'format':_0x47c3ef}),'encrypt':function(_0x4c2f39,_0x2e5775,_0x469cd8,_0x2454e3){var _0x2cf71f=_0x29e740;_0x2454e3=this[_0x2cf71f(0x41d)][_0x2cf71f(0x3eb)](_0x2454e3);var _0x4be750=_0x4c2f39['createEncryptor'](_0x469cd8,_0x2454e3),_0x1e8cc1=_0x4be750['finalize'](_0x2e5775),_0x4ff25f=_0x4be750[_0x2cf71f(0x41d)];return _0x367bd9[_0x2cf71f(0x3ec)]({'ciphertext':_0x1e8cc1,'key':_0x469cd8,'iv':_0x4ff25f['iv'],'algorithm':_0x4c2f39,'mode':_0x4ff25f[_0x2cf71f(0x445)],'padding':_0x4ff25f['padding'],'blockSize':_0x4c2f39[_0x2cf71f(0x4c0)],'formatter':_0x2454e3[_0x2cf71f(0x4ac)]});},'decrypt':function(_0x757c14,_0x222b73,_0x141643,_0x1b60bc){var _0x194453=_0x29e740;_0x1b60bc=this[_0x194453(0x41d)][_0x194453(0x3eb)](_0x1b60bc),_0x222b73=this[_0x194453(0x358)](_0x222b73,_0x1b60bc['format']);var _0x63b61c=_0x757c14[_0x194453(0x2fe)](_0x141643,_0x1b60bc)[_0x194453(0x1f4)](_0x222b73[_0x194453(0x437)]);return _0x63b61c;},'_parse':function(_0x48559a,_0x5f4579){var _0x1dfb94=_0x29e740;return typeof _0x48559a==_0x1dfb94(0x321)?_0x5f4579[_0x1dfb94(0x164)](_0x48559a,this):_0x48559a;}}),_0x506115=_0x55d3ba[_0x29e740(0x3c5)]={},_0x9471e7=_0x506115[_0x29e740(0x3a8)]={'execute':function(_0x571aa,_0x23aa5e,_0x533bae,_0x2ee341,_0x1ecc17){var _0x3fb9fb=_0x29e740;if(_0x2ee341||(_0x2ee341=_0x5060b8[_0x3fb9fb(0x3c1)](0x40/0x8)),_0x1ecc17)var _0x5f449b=_0x53ad93['create']({'keySize':_0x23aa5e+_0x533bae,'hasher':_0x1ecc17})[_0x3fb9fb(0x30d)](_0x571aa,_0x2ee341);else var _0x5f449b=_0x53ad93['create']({'keySize':_0x23aa5e+_0x533bae})[_0x3fb9fb(0x30d)](_0x571aa,_0x2ee341);var _0x1ce01c=_0x5060b8[_0x3fb9fb(0x3ec)](_0x5f449b[_0x3fb9fb(0x38e)][_0x3fb9fb(0x491)](_0x23aa5e),_0x533bae*0x4);return _0x5f449b[_0x3fb9fb(0x49c)]=_0x23aa5e*0x4,_0x367bd9[_0x3fb9fb(0x3ec)]({'key':_0x5f449b,'iv':_0x1ce01c,'salt':_0x2ee341});}},_0x1f8e62=_0x195d0b['PasswordBasedCipher']=_0x454b83['extend']({'cfg':_0x454b83['cfg'][_0x29e740(0x3eb)]({'kdf':_0x9471e7}),'encrypt':function(_0x17223f,_0x198f2e,_0x46137a,_0x123d20){var _0x3cdfce=_0x29e740;_0x123d20=this[_0x3cdfce(0x41d)]['extend'](_0x123d20);var _0xb91a44=_0x123d20['kdf']['execute'](_0x46137a,_0x17223f['keySize'],_0x17223f[_0x3cdfce(0x319)],_0x123d20['salt'],_0x123d20['hasher']);_0x123d20['iv']=_0xb91a44['iv'];var _0x4f5c40=_0x454b83[_0x3cdfce(0x218)]['call'](this,_0x17223f,_0x198f2e,_0xb91a44[_0x3cdfce(0x337)],_0x123d20);return _0x4f5c40['mixIn'](_0xb91a44),_0x4f5c40;},'decrypt':function(_0x1a6764,_0x8d016b,_0x45223e,_0x51be1d){var _0x52ff15=_0x29e740;_0x51be1d=this[_0x52ff15(0x41d)][_0x52ff15(0x3eb)](_0x51be1d),_0x8d016b=this[_0x52ff15(0x358)](_0x8d016b,_0x51be1d[_0x52ff15(0x4ac)]);var _0x431b0d=_0x51be1d['kdf']['execute'](_0x45223e,_0x1a6764[_0x52ff15(0x21b)],_0x1a6764[_0x52ff15(0x319)],_0x8d016b[_0x52ff15(0x4aa)],_0x51be1d['hasher']);_0x51be1d['iv']=_0x431b0d['iv'];var _0x3af444=_0x454b83[_0x52ff15(0x19b)][_0x52ff15(0x412)](this,_0x1a6764,_0x8d016b,_0x431b0d['key'],_0x51be1d);return _0x3af444;}});}();}));}(Te)),Te[_0x1fa3fe(0x327)];}var ri=Se[_0x1c5774(0x327)],ot;function si(){var _0x3b4431=_0x1c5774;return ot||(ot=0x1,function(_0xa3b08c,_0x4cc15b){(function(_0x213746,_0x1e5dd2,_0x27b1be){var _0x2cec72=_0x4097;_0xa3b08c[_0x2cec72(0x327)]=_0x1e5dd2(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x487f24){var _0x4da352=_0x4097;return(function(){var _0x410c10=_0x4097,_0x19b37a=_0x487f24,_0x1153e2=_0x19b37a['lib'],_0x1d6222=_0x1153e2[_0x410c10(0x23a)],_0x5b267b=_0x19b37a[_0x410c10(0x34c)],_0x23b54e=[],_0x1b9293=[],_0x26821e=[],_0x43563c=[],_0x546698=[],_0x3872a8=[],_0x3def11=[],_0x32e165=[],_0x42a899=[],_0x44d6b0=[];(function(){for(var _0x2668c5=[],_0x3ba623=0x0;_0x3ba623<0x100;_0x3ba623++)_0x3ba623<0x80?_0x2668c5[_0x3ba623]=_0x3ba623<<0x1:_0x2668c5[_0x3ba623]=_0x3ba623<<0x1^0x11b;for(var _0x1d9fcd=0x0,_0x2ba847=0x0,_0x3ba623=0x0;_0x3ba623<0x100;_0x3ba623++){var _0x3a494e=_0x2ba847^_0x2ba847<<0x1^_0x2ba847<<0x2^_0x2ba847<<0x3^_0x2ba847<<0x4;_0x3a494e=_0x3a494e>>>0x8^_0x3a494e&0xff^0x63,_0x23b54e[_0x1d9fcd]=_0x3a494e,_0x1b9293[_0x3a494e]=_0x1d9fcd;var _0x1c6477=_0x2668c5[_0x1d9fcd],_0x1be946=_0x2668c5[_0x1c6477],_0x574dbb=_0x2668c5[_0x1be946],_0x546b4c=_0x2668c5[_0x3a494e]*0x101^_0x3a494e*0x1010100;_0x26821e[_0x1d9fcd]=_0x546b4c<<0x18|_0x546b4c>>>0x8,_0x43563c[_0x1d9fcd]=_0x546b4c<<0x10|_0x546b4c>>>0x10,_0x546698[_0x1d9fcd]=_0x546b4c<<0x8|_0x546b4c>>>0x18,_0x3872a8[_0x1d9fcd]=_0x546b4c;var _0x546b4c=_0x574dbb*0x1010101^_0x1be946*0x10001^_0x1c6477*0x101^_0x1d9fcd*0x1010100;_0x3def11[_0x3a494e]=_0x546b4c<<0x18|_0x546b4c>>>0x8,_0x32e165[_0x3a494e]=_0x546b4c<<0x10|_0x546b4c>>>0x10,_0x42a899[_0x3a494e]=_0x546b4c<<0x8|_0x546b4c>>>0x18,_0x44d6b0[_0x3a494e]=_0x546b4c,_0x1d9fcd?(_0x1d9fcd=_0x1c6477^_0x2668c5[_0x2668c5[_0x2668c5[_0x574dbb^_0x1c6477]]],_0x2ba847^=_0x2668c5[_0x2668c5[_0x2ba847]]):_0x1d9fcd=_0x2ba847=0x1;}}());var _0xc31de0=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xf32f8=_0x5b267b[_0x410c10(0x4b7)]=_0x1d6222[_0x410c10(0x3eb)]({'_doReset':function(){var _0x588137=_0x410c10,_0x2af3e9;if(!(this[_0x588137(0x26b)]&&this[_0x588137(0x44f)]===this[_0x588137(0x1c9)])){for(var _0x51115a=this[_0x588137(0x44f)]=this[_0x588137(0x1c9)],_0x39d937=_0x51115a['words'],_0x289382=_0x51115a[_0x588137(0x49c)]/0x4,_0x317f8e=this[_0x588137(0x26b)]=_0x289382+0x6,_0x4aec38=(_0x317f8e+0x1)*0x4,_0x2cd2b1=this[_0x588137(0x4b2)]=[],_0x4286db=0x0;_0x4286db<_0x4aec38;_0x4286db++)_0x4286db<_0x289382?_0x2cd2b1[_0x4286db]=_0x39d937[_0x4286db]:(_0x2af3e9=_0x2cd2b1[_0x4286db-0x1],_0x4286db%_0x289382?_0x289382>0x6&&_0x4286db%_0x289382==0x4&&(_0x2af3e9=_0x23b54e[_0x2af3e9>>>0x18]<<0x18|_0x23b54e[_0x2af3e9>>>0x10&0xff]<<0x10|_0x23b54e[_0x2af3e9>>>0x8&0xff]<<0x8|_0x23b54e[_0x2af3e9&0xff]):(_0x2af3e9=_0x2af3e9<<0x8|_0x2af3e9>>>0x18,_0x2af3e9=_0x23b54e[_0x2af3e9>>>0x18]<<0x18|_0x23b54e[_0x2af3e9>>>0x10&0xff]<<0x10|_0x23b54e[_0x2af3e9>>>0x8&0xff]<<0x8|_0x23b54e[_0x2af3e9&0xff],_0x2af3e9^=_0xc31de0[_0x4286db/_0x289382|0x0]<<0x18),_0x2cd2b1[_0x4286db]=_0x2cd2b1[_0x4286db-_0x289382]^_0x2af3e9);for(var _0x558636=this[_0x588137(0x4d0)]=[],_0xef08fa=0x0;_0xef08fa<_0x4aec38;_0xef08fa++){var _0x4286db=_0x4aec38-_0xef08fa;if(_0xef08fa%0x4)var _0x2af3e9=_0x2cd2b1[_0x4286db];else var _0x2af3e9=_0x2cd2b1[_0x4286db-0x4];_0xef08fa<0x4||_0x4286db<=0x4?_0x558636[_0xef08fa]=_0x2af3e9:_0x558636[_0xef08fa]=_0x3def11[_0x23b54e[_0x2af3e9>>>0x18]]^_0x32e165[_0x23b54e[_0x2af3e9>>>0x10&0xff]]^_0x42a899[_0x23b54e[_0x2af3e9>>>0x8&0xff]]^_0x44d6b0[_0x23b54e[_0x2af3e9&0xff]];}}},'encryptBlock':function(_0x5b17e3,_0x57137c){var _0x12634d=_0x410c10;this[_0x12634d(0x24e)](_0x5b17e3,_0x57137c,this[_0x12634d(0x4b2)],_0x26821e,_0x43563c,_0x546698,_0x3872a8,_0x23b54e);},'decryptBlock':function(_0xc1f02a,_0x25a623){var _0x577909=_0x410c10,_0x285d43=_0xc1f02a[_0x25a623+0x1];_0xc1f02a[_0x25a623+0x1]=_0xc1f02a[_0x25a623+0x3],_0xc1f02a[_0x25a623+0x3]=_0x285d43,this[_0x577909(0x24e)](_0xc1f02a,_0x25a623,this[_0x577909(0x4d0)],_0x3def11,_0x32e165,_0x42a899,_0x44d6b0,_0x1b9293);var _0x285d43=_0xc1f02a[_0x25a623+0x1];_0xc1f02a[_0x25a623+0x1]=_0xc1f02a[_0x25a623+0x3],_0xc1f02a[_0x25a623+0x3]=_0x285d43;},'_doCryptBlock':function(_0x451f0a,_0xa57390,_0x266a67,_0x15f53e,_0x22e4d7,_0x5c2f62,_0xbd2e1c,_0x2aa26d){var _0x1c3a52=_0x410c10;for(var _0x25d7e5=this[_0x1c3a52(0x26b)],_0x111e60=_0x451f0a[_0xa57390]^_0x266a67[0x0],_0x2e4384=_0x451f0a[_0xa57390+0x1]^_0x266a67[0x1],_0x58a491=_0x451f0a[_0xa57390+0x2]^_0x266a67[0x2],_0x25a253=_0x451f0a[_0xa57390+0x3]^_0x266a67[0x3],_0x4c6253=0x4,_0x425bdf=0x1;_0x425bdf<_0x25d7e5;_0x425bdf++){var _0x4290c5=_0x15f53e[_0x111e60>>>0x18]^_0x22e4d7[_0x2e4384>>>0x10&0xff]^_0x5c2f62[_0x58a491>>>0x8&0xff]^_0xbd2e1c[_0x25a253&0xff]^_0x266a67[_0x4c6253++],_0x14fb97=_0x15f53e[_0x2e4384>>>0x18]^_0x22e4d7[_0x58a491>>>0x10&0xff]^_0x5c2f62[_0x25a253>>>0x8&0xff]^_0xbd2e1c[_0x111e60&0xff]^_0x266a67[_0x4c6253++],_0x5b0ec2=_0x15f53e[_0x58a491>>>0x18]^_0x22e4d7[_0x25a253>>>0x10&0xff]^_0x5c2f62[_0x111e60>>>0x8&0xff]^_0xbd2e1c[_0x2e4384&0xff]^_0x266a67[_0x4c6253++],_0x11298f=_0x15f53e[_0x25a253>>>0x18]^_0x22e4d7[_0x111e60>>>0x10&0xff]^_0x5c2f62[_0x2e4384>>>0x8&0xff]^_0xbd2e1c[_0x58a491&0xff]^_0x266a67[_0x4c6253++];_0x111e60=_0x4290c5,_0x2e4384=_0x14fb97,_0x58a491=_0x5b0ec2,_0x25a253=_0x11298f;}var _0x4290c5=(_0x2aa26d[_0x111e60>>>0x18]<<0x18|_0x2aa26d[_0x2e4384>>>0x10&0xff]<<0x10|_0x2aa26d[_0x58a491>>>0x8&0xff]<<0x8|_0x2aa26d[_0x25a253&0xff])^_0x266a67[_0x4c6253++],_0x14fb97=(_0x2aa26d[_0x2e4384>>>0x18]<<0x18|_0x2aa26d[_0x58a491>>>0x10&0xff]<<0x10|_0x2aa26d[_0x25a253>>>0x8&0xff]<<0x8|_0x2aa26d[_0x111e60&0xff])^_0x266a67[_0x4c6253++],_0x5b0ec2=(_0x2aa26d[_0x58a491>>>0x18]<<0x18|_0x2aa26d[_0x25a253>>>0x10&0xff]<<0x10|_0x2aa26d[_0x111e60>>>0x8&0xff]<<0x8|_0x2aa26d[_0x2e4384&0xff])^_0x266a67[_0x4c6253++],_0x11298f=(_0x2aa26d[_0x25a253>>>0x18]<<0x18|_0x2aa26d[_0x111e60>>>0x10&0xff]<<0x10|_0x2aa26d[_0x2e4384>>>0x8&0xff]<<0x8|_0x2aa26d[_0x58a491&0xff])^_0x266a67[_0x4c6253++];_0x451f0a[_0xa57390]=_0x4290c5,_0x451f0a[_0xa57390+0x1]=_0x14fb97,_0x451f0a[_0xa57390+0x2]=_0x5b0ec2,_0x451f0a[_0xa57390+0x3]=_0x11298f;},'keySize':0x100/0x20});_0x19b37a[_0x410c10(0x4b7)]=_0x1d6222['_createHelper'](_0xf32f8);}()),_0x487f24[_0x4da352(0x4b7)];}));}(Se)),Se[_0x3b4431(0x327)];}function _0x4097(_0x25f917,_0x38cf39){var _0x4427a8=_0x4427();return _0x4097=function(_0x409701,_0x49b927){_0x409701=_0x409701-0x150;var _0x5661d3=_0x4427a8[_0x409701];return _0x5661d3;},_0x4097(_0x25f917,_0x38cf39);}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x1c5774(0x327)],ct;function li(){var _0x466044=_0x1c5774;return ct||(ct=0x1,function(_0x4e0efc,_0x50757d){(function(_0xcd2123,_0x400160){var _0x17feec=_0x4097;_0x4e0efc[_0x17feec(0x327)]=_0x400160(ee());}(hi,function(_0x44e9f3){var _0x395863=_0x4097;return _0x44e9f3[_0x395863(0x1d9)]['Utf8'];}));}(be)),be[_0x466044(0x327)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x1c5774(0x327)],ht;function vi(){var _0x3b0c83=_0x1c5774;return ht||(ht=0x1,function(_0x30ecec,_0x18acc8){(function(_0x4814a8,_0x5bfb42){var _0x4eda40=_0x4097;_0x30ecec[_0x4eda40(0x327)]=_0x5bfb42(ee());}(di,function(_0x168f10){var _0x2cb899=_0x4097;return(function(){var _0x44d20b=_0x4097;if(typeof ArrayBuffer==_0x44d20b(0x2e2)){var _0x123420=_0x168f10,_0x53c91c=_0x123420[_0x44d20b(0x3e9)],_0x2b924f=_0x53c91c[_0x44d20b(0x438)],_0x185118=_0x2b924f[_0x44d20b(0x215)],_0x151131=_0x2b924f['init']=function(_0x4365f0){var _0x35fee8=_0x44d20b;if(_0x4365f0 instanceof ArrayBuffer&&(_0x4365f0=new Uint8Array(_0x4365f0)),(_0x4365f0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4365f0 instanceof Uint8ClampedArray||_0x4365f0 instanceof Int16Array||_0x4365f0 instanceof Uint16Array||_0x4365f0 instanceof Int32Array||_0x4365f0 instanceof Uint32Array||_0x4365f0 instanceof Float32Array||_0x4365f0 instanceof Float64Array)&&(_0x4365f0=new Uint8Array(_0x4365f0[_0x35fee8(0x33a)],_0x4365f0['byteOffset'],_0x4365f0[_0x35fee8(0x2a8)])),_0x4365f0 instanceof Uint8Array){for(var _0x2cfea9=_0x4365f0[_0x35fee8(0x2a8)],_0x1cf9a0=[],_0x5a6040=0x0;_0x5a6040<_0x2cfea9;_0x5a6040++)_0x1cf9a0[_0x5a6040>>>0x2]|=_0x4365f0[_0x5a6040]<<0x18-_0x5a6040%0x4*0x8;_0x185118[_0x35fee8(0x412)](this,_0x1cf9a0,_0x2cfea9);}else _0x185118[_0x35fee8(0x226)](this,arguments);};_0x151131[_0x44d20b(0x1be)]=_0x2b924f;}}()),_0x168f10['lib'][_0x2cb899(0x438)];}));}(Re)),Re[_0x3b0c83(0x327)];}var fi=vi();const Si=fe(fi);function _0x4427(){var _0x334a7a=['COMPRESS_MUTATION_APPLY','_data','application/json','_resendTimer','_joinRoom','UNISCRIPT_RUN','_createHelper','findIndex','onRemoteAck','\x20-\x20','words','_redoStacks','MUTATION','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ImageSourceType','CommandType','filter','encodeURIComponent','add','OTHER_CLIENTS_EDITING','_retryConnectingTimer','msCrypto','url','OfflineState','onTransformState','unsubscribe','CollaborationSocketService','[DataLoaderService]','toggleOnline','_nDataBytes','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_telemetryService','[UniverCollaborationClientPlugin]','enableOfflineEditing','CollaborationEvent','members','OpenSSL','IUniverInstanceService','ticket','origin','_onConflict','_onUserJoin','ReplaySubject','getDeserializedSheetBlock','SnapshotService','unpad','Quantity','_socket$','_throwTelemetryCollaborationNewChangeset','Inject','collaMsg','GLOBAL_ROOMS_CNT_EXCEEDS','avatar','_getUndoStack','executeCommand','unitId','_scheduleCompleteTimestamp','sendChangesetTimeout','getUnitType','transformSelections','rng','random','@univerjs/sheets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','infoRsp','kdf','image/bmp','[CollaborationSession]','_shouldReportTelemetry','getLocalCacheKey','eventID','uploadFileServerUrl','repeat','_snapshotService','_onRemoteRejected','collaboration-client.config','APPLY_REJECT','FAIL','getImageSourceCache','send','MD5','status','LIVESHARE_REQUEST_HOST','json','revision','_applyRemoteChangeset','waitForRoom$','getActiveSheet','DependentOn','_doProcessBlock','_onMessage','saveSheetBlock','Decryptor','unitInfo$','_acknowledgedAwaitingChangeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','incrementRevOfUnit','HEARTBEAT','UUID','FETCH_MISSING','_lockTransition','lib','splice','extend','create','_onLocalMutation','JOINING','univer-pro.collaboration-client.single-active-unit-service','max','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LIVESHARE_FETCH_OPERATIONS','fetchMiss','CipherParams','memberID','_mode','PERMISSION_DENIED','_onFetchMissResult','MemberService','liveShareNewHost','_commentUpdate$','_undoStacks','find','UNKNOWN_CMD','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_type','setCurrentUser','range','[SyncedState]:\x20received\x20acknowledgement.','COMPRESS_MUTATION_SEND','registerHTTPInterceptor','saveImage','LIVESHARE_OPERATION','disableLocalCache','UnitSnapshot','_remoteChangesetQueue','_onConnectionOpen','symbol','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_executeRemoteChangeset','_members$','/unit/','toDisposable','call','JOIN_ROOM_FULL','_startTelemetryCollaborationNewChangeset','/collaborator','batchAllowed','_waitCount','getMemberID','Could\x20not\x20dynamically\x20require\x20\x22','BASE64','update','floor','cfg','getTime','_createInitialState','_schedule','padding','objects','_HTTPService','_createSocketURL','pauseCollaboration','SyncedState','_config','updateMember','RxDisposable','appendMutation','_fetchMissChangesets','Subject','toStringTag','_handler','unit-cache-','SerializableCipher','SHOULD_CLOSE_CONN','submit\x20changeset\x20error!','_tryReconnect','forEach','@univerjs/drawing','addImageSourceCache','ciphertext','WordArray','map','sheets','UPDATE_CURSOR','entries','isTransformMutationsWithChangesetFailure','PENDING','deepClone','Optional','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','transformChangesets','search','UNIVER_SLIDE','mode','firstValueFrom','38823XIgoaA','Workbook','/rev/','objectID','11070XqERIb','_univerInstanceService','awaiting_with_pending','IDLE','_keyPriorReset','ERROR_IMAGE','UnitStatus','BlockCipherMode','_doFinalize','Base','NOT_COLLAB','roles','encode','_transformIMECache','[OfflineState]:\x20received\x20changeset.','_onRemoteACK','MentionType','collaborators','getFocusedUnit','ICollaborationSocketService','HTTPService','asObservable','_state$','_unitInfo$','debug','_decreaseWaiting','_socket','UNIVER_DOC','shareReplay','[CollaborationUndoRedoService]','/universer-api/stream/file/upload','_retryCount','USERS_LEAVE','replace','telemetry\x20info\x20is\x20not\x20initialized','list','_initDependencies','SheetCollaborationEntity','now','charAt','@univerjs/network','rev','downloadEndpointUrl','getCollabEntity','_removeRoom','updateCollaborator','/role','_commandService','Hex','CONFLICT','formatter','&assign=','newCsEvent','_onJoinRoomEvent','_memberService','LEAVE','generateRandomId','_change$','createCollaborator','{fileID}','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_awaitingChangeset','[PendingState]:\x20received\x20acknowledgement.','/universer-api/user/session-ticket','ILocalCacheService','sequenceExecute','createIdentifier','StreamCipher','copyFileMeta','_instanceService','slice','_append','stopTime','setWaitCount','_stopTelemetryCollaborationNewChangeset','error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_resendTimeout','UPDATE_PERMISSION_OBJ','_initUnitPermissionChange','startTime','sigBytes','fetchThroughInterceptors','INVALID_ARGUMENT','userID','size','reverse','getTypeOfUnitAdded$','_loadSheet','createEncryptor','_candidateSocket','PERSON','headers','[PendingState]:\x20unhandled\x20univer\x20type:\x20','location','salt','CommentService','format','getUnitId','JOIN_ROOM_FAILED','_getRedoStack','_emitMembers','online$','_keySchedule','RETRY_CONNECTING_MAX_COUNT_KEY','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_changesetSessionId','saveSnapshot','AES','/universer-api/oidc/authpage','joinRsp','_transformStack','clear','_exhaustRemoteChangesetQueue','&source=','result','YUUMI_RATE_OVER_LIMIT','blockSize','NO_OTHER_CLIENTS_EDITING','close','_collabSessionService','YUUMI_UNABLE_LOAD_URL','change$','SHA1','SEND_CHANGESET_TIMEOUT','signUrlServerUrl','Univer','FetchingMissState','Undefined','SUBMIT_CHANGESET_TIMEOUT','_clearUndo','HmacMD5','next','_invKeySchedule','PendingState','transformStack\x20failed!','updateOfflineData','_networkConditionService','1185669nVRinq','NEW_CHANGESETS','unitId\x20is\x20not\x20found','_state','_snapshotServerService','Malformed\x20UTF-8\x20data','enableAuthServer','name','readAsDataURL','SetSelectionsOperation','objectActions','[PendingState]:\x20received\x20rejection.','_timeoutTimer','EvpKDF','_sendHeartbeatTimer','_prevBlock','getCurrentSelections','HMAC','catch','811944odpFqd','_showConflictNotification','onRemoteChangeset','Disposable','_handlerCallback','image/png','iterations','LIVESHARE_NEW_HOST','parse','HEARTBEAT_INTERVAL_KEY','RevisionService','/fetchmissing?from=','CHANGESET_REVISION_CONFILICT','session.join-failed','src','responseType','_disableEditing','_xformMode','_clearScheduledTask','ENSURE_SNAPSHOT_EXECUTION','snapshotServerUrl','AuthzIoHttpService','_collaborationUIEventService','getUnitStatus$','_initMergeInterceptor','put','_substituteRedoStack','MergeInterceptorFactory','CollaborationUIEventService','onSendChangeset','UniverInstanceType','_doReset','randomBytes','image/jpeg','removeMember','HEARTBEAT_INTERVAL','join','PSEUDO_FETCH_MISSING_RESULT','_map','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_process','SNAPSHOT_SERVER_URL_KEY','_transitionLocked','actions','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','IUndoRedoService','AUTHZ_URL_KEY','FETCH_MISS','[CollaborationState]:\x20apply\x20error!','status$','_sender','AwaitingState','UnitEmbedded','conflict','_socketReady','LOGIN_URL_KEY','_createSocket','__creator','_undoRedoService','_updateStatus','_queuedRemoteChangesets','stringify','BehaviorSubject','decrypt','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_event$','localeService','getUnit','COMPLETION_FINISHED','data','ICommandService','_incrementRevisionNumber','_unlockTransition','workbook','DEFAULT_COLLAB_WEB_SOCKET_URL','selections','collabWebSocketUrl','262364khlDOV','INGEST','_ENC_XFORM_MODE','_getSessionTicket','getSheetId','ALREADY_EXISTS','NOT_FOUND','SheetsSelectionsService','_cipher','reqId','_replaceFileID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_sendingTimer','c1Prime','_unitID','HttpExport','?size=','collaboratorID','ceil','mixIn','emitEvent','prototype','MSG_FOR_ERROR','isTransformChangesetsSuccess','csAckEvent','_socketMessageSubscription','searchParams','getCurrentUser','file','/-/object/list','_changesetReqId','liveShareOperation','_key','ImageUploadStatusType','Error\x20on\x20receiving\x20event','HttpImport','UNIVER_UNKNOWN','SheetPermissionInitController','enableSingleActiveInstanceLock','objectType','_onRemoteRetry','awaitingChangeset','subject','onCommandExecuted','min','CHANGESET_ACK','saveChangeset','localCacheService','enc','TOO_MANY_REQUESTS','onRemoteRetry','indexOf','85NNWyDQ','failed\x20to\x20apply\x20missed\x20changesets!','SOCKET_FAILED_RETRY','dispose$','transformMutationsWithChangeset','9792uWFHpI','/allowed','_collaborationTimeoutTimer','offline','isInternalEditorID','delay','getLatestCsReqIdBySid','onTransformSelections','fetching\x20missing\x20changesets\x20from\x20','rxjs/operators','getAllMembers','APPLY_DUPLICATED','UniverSheetsPlugin','CHANGESET_REJ','connection\x20error','_resendWithTimeout','ConflictState','UNIVER_COLLABORATION_CLIENT_PLUGIN','finalize','_compressMutationService','OPTIONAL','CompressMutationService','registerDependencies','mergeOverrideWithDependencies','_toggleOnline','not_collab','_clearTimeoutTimer','addHandlerCallback','ITelemetryService','dispose','Module','pad','_updateState','IAuthzIoService','CHANGESET_SHOULD_RETRY','substr','@univerjs/core','LocalUndoRedoService','__Key__','_scheduleCollaborationTimeoutTimer','loadSheet','ONLINE','FileId','JOIN_ROOM_PERMISSION_DENIED','Utf8','post','uniscriptRunEvent','NoPadding','ITransformService','/-/object/-/batch_allowed','CLOSE_ROOM','init','session.room-permission-denied','SOCKET_FAILED','encrypt','_pendingMutations','_onOffline','keySize','CBC','COLLAB_SUBMIT_CHANGESET_URL_KEY','href','HELLO','UNRECOGNIZED','CollaborationImageIoService','_transformUndoredo','merge','_syncEditingCollabCursor','_checkMissing','apply','AWAITING','_logService','UNKNOWN_CODE','_hash','getInterceptPoints','getSheetBlock','_registerDependencies','_commentService','hasOwnProperty','ISnapshotServerService','requestParams','_rescheduleHeartbeat','loadDoc','[CollaborationSessionService]','6790894DIHNDG','[CollaborationSessionService]:\x20socket\x20error','getMember','_status$','_socketService','BlockCipher','_startCollaboration','confirm','rxjs','_getDownloadEndpointURL','updatePermissionObjEvent','randomUUID','MentionIoHttpService','_waitForHeartbeatResponse','allowed','_onRemoteChangeset','JOIN_ROOM_NOT_EXISTS','editing\x20status\x20changed\x20to','session.room-full','_transformRemoteChangesetByStateCache','getCollabEntity$','getRandomValues','length','Cipher','_userManagerService','_doCryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','event$','_listenToNetworkCondition','loadUnit','_members','readyForCollab','BufferedBlockAlgorithm','baseRev','reconnect','DocCollaborationEntity','@univerjs/docs','_singleActiveUnitService','_imageSourceCache','_sheetTransformSelectionsService','_createHmacHelper','CollaborationEntity','/block/','sessionStatus$','CollaborationUIEventId','m2Prime','CollaborationController','_tryEnsureSocket','initWorkbookPermissionChange','_localCacheService','_onConnectionFailed','DataLoaderService','method','_clearLocalCache','_nRounds','_configService','disposeWithMe','message$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Tools','state','onload','APPLY_PERMISSION_DENIED','_submitChangeset','RECV','close$','_minBufferSize','closeSession','onTransformRemoteChangesetByIMECache','onlyLocal','mutations','getTypeOfUnitDisposed$','collaboration-client.local-cache-service','2990vYmDLb','fromCharCode','deserializeToCombResponse','LIVESHARE_TERMINATE','awaiting','auth.needGotoLoginAlert','toLowerCase','UniverCollaborationPlugin','_getLoginPath','onStateChange','_http','_iv','INTERNAL_ERROR','OFFLINE','sid','getConfig','getUnitOnRev','hasher','socket$','getValue','onTransformIME','SEND_CHANGESET_TIMEOUT_KEY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborativeUndoRedoService','_transformSelections','AwaitingWithPendingState','_transformService','USERS_ENTER','_replayCachedMutations','session.room-cnt-exceeds','takeUntil','synced','_revisionService','error$','People','_oKey','_clearRedo','setConfig','UNIVER_SHEET','serializeCombRequest','loadOfflineData','isArray','byteLength','OTHER_CLIENT_EDITING','commentUpdate$','crypto','routeKey','[FetchMissState]','_entityInit$','Plugin','LOCAL_CACHE_INTERVAL','defineProperty','/universer-api/snapshot','_injector','UniverNetworkPlugin','_localeService','_entities','sessionTicket','Hasher','/object/','COLLAB_WEB_SOCKET_URL_KEY','take','Rectangle','$super','members$','_permissionService','_getSendChangesetTimeout','HTTPRequest','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subUnitId','fetch_missing','values','fromCollab','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN','_telemetryInfo','_getCurrentRevision','Injector','transformUndoRedo','listCollaborators','_substituteUndoStack','clone','textEncoder','LocaleService','fetchMissingChangesets','/new_changes','PERMISSION_REJ','compose','_getCtorByUniverType','/resources','createSocket','POST','onTransformRemoteChangesetByStateCache','putCollaborators','CollaborationSessionService','ERROR_EXCEED_SIZE','@univerjs-pro/license','has','_updateLocalCache','HEARTBEAT_TIMEOUT_KEY','function','COMMENT_UPDATE','_init','then','leaveEvent','mapDocumentTypeToUniverType','session','code','permissionRejEvent','_loadDoc','runId','_sessions','state$','_toggleOffline','collabSubmitChangesetUrl','COLLAB_SUBMIT_CHANGESET_URL','onRemoteRej','LOCAL_CACHE_INTERVAL_KEY','[SyncedState]:\x20received\x20rejection.','YUUMI_SUBSCRIPTION_NOT_FOUND','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','csRejEvent','onSyncEditingCollabCursor','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','push','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createInstance','requireSession','createDecryptor','SUCCUSS','from','SheetTransformSelectionsService','authzUrl','onLocalMutation','IConfigService','subscribe','COLLAB_WEB_SOCKET_URL','SnapshotServerOverHTTPService','cmd','startsWith','session.room-not-exists','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','reset','compute','parseProtocolChangeset','_createHandler','reduce','66jPAhzE','ILogService','getOwnPropertyDescriptor','save\x20fail\x20reason\x20is\x20','default','originalMeta','721dgccjt','_roomMembers','ivSize','pending','complete','_getAPIPrefixPath','Base64','_onUserLeave','SessionStatus','LICENSE_MAX_UNITS_EXCEEDED','string','getResourcesRequest','APPLY_REVISION_CONFILICT','@univerjs-pro/collaboration','set','_clearHeartbeatTimer','exports','UNIVER_PROJECT','unknown','APPLY_NON_SEQUENTIAL_REVISION','entityInit$','\x0aCurrent:\x20','getCurrentRevOfUnit','SUBMIT_CHANGESET','RichTextEditingMutation','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_sendHeartbeat','_eventService','EmptyMutation','clamp','_hasher','HEARTBEAT_TIMEOUT','key','IImageIoService','textRanges','buffer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','concat','type','onStarting','isPermissionRej','univer-pro.collaboration-client-socket-service','onCommentUpdate','charCodeAt','INetworkConditionService','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientPlugin','CollaborationSession','patch','resend','_onRecvEvent','Encryptor','UNAUTHENTICATED','algo','_collaborationPaused','reject','getWorkbookSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','commentUpdateEvent','WorkbookEditablePermission','duration','_getAPIPrefix','IPermissionService','PY_RUNTIME_SCRIPT_ERROR','_httpService','_parse','toString','updatePermissionPoint','_transformStateCache','pipe','retryConnectingInterval','collaboration_new_changeset','sessionStatus','UNDEFINED','YUUMI_URL_COL_OUT_OF_RANGE','target','_collaborationSessionService','abs','univer-pro.collaboration-client.network-condition.service','/universer-api/comb','_iKey','LICENSE_DISTRO_REJECTED','UserManagerService','processBlock','delete','get','params','_isPermissionRej','_roomCreated$','c2Prime','bind','getSnapshotAPIPath','/universer-api/snapshot/','shouldCloseConn','LICENSE_EXPORT_SIZE_EXCEEDED','_getSignURL','body','_sessionStatus$','_clearCollaborationTimeoutTimer','_initCloseConn','toggleOffline','_DEC_XFORM_MODE','refreshPermission','onMissingChangesets','ThresholdInterceptorFactory','interceptor','SNAPSHOT_INVALID_SNAPSHOT','unitID','Pkcs7'];_0x4427=function(){return _0x334a7a;};return _0x4427();}var Oe={'exports':{}},pi=Oe[_0x1c5774(0x327)],lt;function mi(){var _0x33cb1b=_0x1c5774;return lt||(lt=0x1,function(_0x4a7ec9,_0x56ba8c){(function(_0x1066de,_0x547a2b,_0x30ae59){_0x4a7ec9['exports']=_0x547a2b(ee(),At());}(pi,function(_0x570b3e){var _0x4fbdad=_0x4097;return _0x570b3e[_0x4fbdad(0x201)][_0x4fbdad(0x211)]={'pad':function(){},'unpad':function(){}},_0x570b3e[_0x4fbdad(0x201)][_0x4fbdad(0x211)];}));}(Oe)),Oe[_0x33cb1b(0x327)];}var gi=mi();const Ii=fe(gi);function Ei(_0x459f20,_0x18efb1){var _0x20b65a=_0x1c5774;const _0x2d2565=_0x18efb1-_0x459f20[_0x20b65a(0x24b)]%_0x18efb1,_0x8c1fa=String[_0x20b65a(0x27f)](_0x2d2565)[_0x20b65a(0x3cc)](_0x2d2565);return _0x459f20+_0x8c1fa;}function Ci(_0x41a815,_0x415ba1){var _0x3992a5=_0x1c5774;const _0x141140=Si[_0x3992a5(0x3c1)](0x10),_0x45779c=Ei(_0x41a815,0x10),_0x4bcacd=ai['encrypt'](ui['parse'](_0x45779c),at[_0x3992a5(0x164)](_0x415ba1),{'iv':_0x141140,'padding':Ii});return _0x141140[_0x3992a5(0x33c)](_0x4bcacd['ciphertext'])['toString'](at);}function Ti(){var _0x23d4b9=_0x1c5774;const _0x53ba3b=$t['getGlobalObject']()[_0x23d4b9(0x208)];if(_0x53ba3b){const _0x1d7d33={'time':Math['floor'](Date[_0x23d4b9(0x471)]()/0x3e8),'domain':location['hostname']};return Ci(JSON[_0x23d4b9(0x199)](_0x1d7d33),_0x53ba3b);}}var bi=Object[_0x1c5774(0x2b1)],Ri=Object[_0x1c5774(0x313)],Oi=(_0x152064,_0x25efb7,_0xa121ed,_0x2cfd82)=>{var _0x37cd20=_0x1c5774;for(var _0x484691=_0x2cfd82>0x1?void 0x0:_0x2cfd82?Ri(_0x25efb7,_0xa121ed):_0x25efb7,_0x1d2f08=_0x152064[_0x37cd20(0x24b)]-0x1,_0x4fdb14;_0x1d2f08>=0x0;_0x1d2f08--)(_0x4fdb14=_0x152064[_0x1d2f08])&&(_0x484691=(_0x2cfd82?_0x4fdb14(_0x25efb7,_0xa121ed,_0x484691):_0x4fdb14(_0x484691))||_0x484691);return _0x2cfd82&&_0x484691&&bi(_0x25efb7,_0xa121ed,_0x484691),_0x484691;},yi=(_0x151892,_0x42e432)=>(_0x3fc1f7,_0x2fec39)=>_0x42e432(_0x3fc1f7,_0x2fec39,_0x151892);let Ne=class{constructor(_0x5288ce){var _0x3d5931=_0x1c5774;this[_0x3d5931(0x357)]=_0x5288ce,this['_initRequestHeader']();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x52c577,_0x5693ec)=>{var _0x3156d2=_0x4097;const _0x23978a=_0x52c577[_0x3156d2(0x4a7)],_0x43e541=Ti();return _0x43e541&&_0x23978a[_0x3156d2(0x325)]('x-univer-host',_0x43e541),_0x5693ec(_0x52c577);}});}};Ne=Oi([yi(0x0,a[_0x1c5774(0x3b5)](q['HTTPService']))],Ne);var Ni=Object[_0x1c5774(0x2b1)],Ui=Object[_0x1c5774(0x313)],Pi=(_0x5c3f4a,_0x1b95a7,_0xa1dd89,_0x39b860)=>{var _0x47bd7a=_0x1c5774;for(var _0x56a32d=_0x39b860>0x1?void 0x0:_0x39b860?Ui(_0x1b95a7,_0xa1dd89):_0x1b95a7,_0x468cae=_0x5c3f4a[_0x47bd7a(0x24b)]-0x1,_0x293b73;_0x468cae>=0x0;_0x468cae--)(_0x293b73=_0x5c3f4a[_0x468cae])&&(_0x56a32d=(_0x39b860?_0x293b73(_0x1b95a7,_0xa1dd89,_0x56a32d):_0x293b73(_0x56a32d))||_0x56a32d);return _0x39b860&&_0x56a32d&&Ni(_0x1b95a7,_0xa1dd89,_0x56a32d),_0x56a32d;},Me=(_0x13c30f,_0x5b45aa)=>(_0xc5038,_0xf0d3b1)=>_0x5b45aa(_0xc5038,_0xf0d3b1,_0x13c30f);exports[_0x1c5774(0x268)]=class extends a[_0x1c5774(0x429)]{constructor(_0xd06c4f,_0x2abc26,_0x25330f){var _0x23fc2b=_0x1c5774;super(),D(this,_0x23fc2b(0x462),new H[(_0x23fc2b(0x19a))](null)),D(this,_0x23fc2b(0x3e1),this[_0x23fc2b(0x462)][_0x23fc2b(0x460)]()),(this[_0x23fc2b(0x228)]=_0xd06c4f,this[_0x23fc2b(0x3cd)]=_0x2abc26,this[_0x23fc2b(0x266)]=_0x25330f);}async[_0x1c5774(0x252)](_0x152e5c,_0x6ad993,_0x43a062){var _0x410c57=_0x1c5774;this['_unitInfo$'][_0x410c57(0x4cf)]({'unitId':_0x152e5c,'type':_0x6ad993,'subUnitId':_0x43a062});let _0x392f2e=null;switch(_0x6ad993){case Z[_0x410c57(0x2a4)]:{_0x392f2e=await this[_0x410c57(0x4a3)](_0x152e5c);break;}case Z[_0x410c57(0x466)]:{_0x392f2e=await this[_0x410c57(0x2eb)](_0x152e5c);break;}default:{this[_0x410c57(0x228)]['error'](_0x410c57(0x39f),_0x410c57(0x2f9));break;}}return _0x392f2e;}async[_0x1c5774(0x4a3)](_0x84a9f5){var _0x3d46c4=_0x1c5774,_0x231349;let _0x3d7221=0x0;const _0x29d687=await((_0x231349=this[_0x3d46c4(0x266)])==null?void 0x0:_0x231349[_0x3d46c4(0x2a6)](_0x84a9f5));return _0x29d687&&(_0x29d687[_0x3d46c4(0x1d2)]||_0x29d687[_0x3d46c4(0x27b)][_0x3d46c4(0x24b)]!==0x0)&&(_0x3d7221=_0x29d687[_0x3d46c4(0x474)]),_0x3d7221===0x0&&this[_0x3d46c4(0x228)]['debug'](_0x3d46c4(0x39f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3d46c4(0x3cd)][_0x3d46c4(0x20a)](_0x84a9f5,_0x3d7221);}async[_0x1c5774(0x2eb)](_0x10aa97){var _0x506da1=_0x1c5774,_0x2d4bee;let _0x54b427=0x0;const _0x4cdba1=await((_0x2d4bee=this[_0x506da1(0x266)])==null?void 0x0:_0x2d4bee[_0x506da1(0x2a6)](_0x10aa97));return _0x4cdba1&&(_0x4cdba1[_0x506da1(0x1d2)]||_0x4cdba1[_0x506da1(0x27b)][_0x506da1(0x24b)]!==0x0)&&(_0x54b427=_0x4cdba1[_0x506da1(0x474)]),_0x54b427===0x0&&this[_0x506da1(0x228)][_0x506da1(0x463)](_0x506da1(0x39f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x506da1(0x3cd)][_0x506da1(0x233)](_0x10aa97,_0x54b427);}},exports[_0x1c5774(0x268)]=Pi([Me(0x0,a[_0x1c5774(0x312)]),Me(0x1,a[_0x1c5774(0x3b5)](m[_0x1c5774(0x3b0)])),Me(0x2,a['Optional'](z))],exports[_0x1c5774(0x268)]);var Di=Object['defineProperty'],wi=Object[_0x1c5774(0x313)],Ai=(_0x2f5934,_0x122602,_0x5ab2ae,_0x2c802a)=>{var _0x2eab34=_0x1c5774;for(var _0x2abd09=_0x2c802a>0x1?void 0x0:_0x2c802a?wi(_0x122602,_0x5ab2ae):_0x122602,_0x303eec=_0x2f5934[_0x2eab34(0x24b)]-0x1,_0x3dfa97;_0x303eec>=0x0;_0x303eec--)(_0x3dfa97=_0x2f5934[_0x303eec])&&(_0x2abd09=(_0x2c802a?_0x3dfa97(_0x122602,_0x5ab2ae,_0x2abd09):_0x3dfa97(_0x2abd09))||_0x2abd09);return _0x2c802a&&_0x2abd09&&Di(_0x122602,_0x5ab2ae,_0x2abd09),_0x2abd09;},xe=(_0x342318,_0x65c9ce)=>(_0x4932ba,_0x20822f)=>_0x65c9ce(_0x4932ba,_0x20822f,_0x342318);const Li=[_0x1c5774(0x161),_0x1c5774(0x17d),'image/jpg','image/gif',_0x1c5774(0x3c6)],Mi=0x5*0x400*0x400,xi=_0x1c5774(0x1b4),ji=_0x1c5774(0x469),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x357690,_0x2d591b,_0x528a61){var _0x1c19d8=_0x1c5774;D(this,_0x1c19d8(0x417),0x0),D(this,_0x1c19d8(0x484),new H[(_0x1c19d8(0x42c))]()),D(this,_0x1c19d8(0x4c5),this[_0x1c19d8(0x484)]),D(this,_0x1c19d8(0x25b),new Map()),(this[_0x1c19d8(0x357)]=_0x357690,this[_0x1c19d8(0x26c)]=_0x2d591b,this[_0x1c19d8(0x44c)]=_0x528a61);}[_0x1c5774(0x494)](_0x3c8dd2){var _0x300580=_0x1c5774;this[_0x300580(0x417)]=_0x3c8dd2,this[_0x300580(0x484)][_0x300580(0x4cf)](_0x3c8dd2);}[_0x1c5774(0x3d2)](_0x4ae2e1,_0x441a7c){var _0x5cee31=_0x1c5774;if(_0x441a7c===X[_0x5cee31(0x392)][_0x5cee31(0x41a)]){const _0x26f39b=new Image();return _0x26f39b[_0x5cee31(0x16a)]=_0x4ae2e1,_0x26f39b;}return this['_imageSourceCache'][_0x5cee31(0x36c)](_0x4ae2e1);}[_0x1c5774(0x436)](_0x5f5b69,_0x3081e1,_0x21c737){var _0xdbd588=_0x1c5774;_0x3081e1===X[_0xdbd588(0x392)]['BASE64']||_0x21c737==null||this[_0xdbd588(0x25b)][_0xdbd588(0x325)](_0x5f5b69,_0x21c737);}async['getImage'](_0x20a5f3){var _0x2138e9=_0x1c5774;try{const _0x41d321=this[_0x2138e9(0x1b3)](this[_0x2138e9(0x376)](),''+_0x20a5f3),_0x2585fd=(await this['_httpService'][_0x2138e9(0x36c)](_0x41d321))['body'];if(_0x2585fd[_0x2138e9(0x496)]&&_0x2585fd[_0x2138e9(0x496)][_0x2138e9(0x2e9)]===Tt['OK']){const _0x30b54d=new URL(_0x2585fd[_0x2138e9(0x39a)],this[_0x2138e9(0x23e)]())[_0x2138e9(0x359)]();return Promise['resolve'](_0x30b54d);}return Promise[_0x2138e9(0x34e)](_0x2585fd[_0x2138e9(0x496)]);}catch(_0x299295){return Promise[_0x2138e9(0x34e)](_0x299295);}}async[_0x1c5774(0x406)](_0x26704c){var _0x407ddd=_0x1c5774;let _0x26fd10='';if(!Li['includes'](_0x26704c['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x407ddd(0x1ca)]['ERROR_IMAGE_TYPE']));if(_0x26704c['size']>Mi)return this[_0x407ddd(0x464)](),Promise[_0x407ddd(0x34e)](new Error(X[_0x407ddd(0x1ca)][_0x407ddd(0x2dd)]));try{const _0xa49997=new FormData();_0xa49997['append'](_0x407ddd(0x1c5),_0x26704c);const _0x264abe=this[_0x407ddd(0x44c)][_0x407ddd(0x45d)](),_0x11dd72=_0x264abe==null?void 0x0:_0x264abe['getUnitId']();if(!_0x11dd72)throw new Error(_0x407ddd(0x4d7));const _0xc10a6e=this['_getUploadFileURL']()+_0x407ddd(0x1b9)+_0x26704c[_0x407ddd(0x4a0)][_0x407ddd(0x359)]()+_0x407ddd(0x4bd)+bt['UnitEmbedded']+_0x407ddd(0x47e)+encodeURIComponent(_0x11dd72),_0x551288=await(await fetch(_0xc10a6e,{'method':'POST','body':_0xa49997}))[_0x407ddd(0x3d7)]();if(typeof _0x551288[_0x407ddd(0x20c)]!=_0x407ddd(0x321))return this[_0x407ddd(0x464)](),Promise['reject'](new Error(X[_0x407ddd(0x1ca)][_0x407ddd(0x450)]));_0x26fd10=_0x551288[_0x407ddd(0x20c)];}catch{return this[_0x407ddd(0x464)](),Promise[_0x407ddd(0x34e)](new Error(X[_0x407ddd(0x1ca)][_0x407ddd(0x450)]));}return new Promise((_0x197723,_0x40c7cc)=>{var _0x5be739=_0x407ddd;const _0x475f80=new FileReader();_0x475f80[_0x5be739(0x151)](_0x26704c),_0x475f80[_0x5be739(0x272)]=_0x27d1c8=>{var _0x5b56e5=_0x5be739,_0x4c8699;const _0x37e745=(_0x4c8699=_0x27d1c8[_0x5b56e5(0x362)])==null?void 0x0:_0x4c8699[_0x5b56e5(0x4be)];if(_0x37e745==null){this[_0x5b56e5(0x464)](),_0x40c7cc(new Error(X['ImageUploadStatusType'][_0x5b56e5(0x450)]));return;}const _0x562ef4=a[_0x5b56e5(0x270)][_0x5b56e5(0x483)](0x6);_0x197723({'imageId':_0x562ef4,'imageSourceType':X[_0x5b56e5(0x392)][_0x5b56e5(0x3e6)],'source':_0x26fd10,'base64Cache':_0x37e745,'status':X['ImageUploadStatusType'][_0x5b56e5(0x2ff)]}),this[_0x5b56e5(0x464)]();};});}['_getUploadFileURL'](){var _0x16e07b=_0x1c5774,_0x4b2ea1,_0x59b121;const _0x3b12ef=this[_0x16e07b(0x26c)][_0x16e07b(0x28d)](xi),_0x210b3a=this[_0x16e07b(0x26c)][_0x16e07b(0x28d)](Y);return(_0x59b121=(_0x4b2ea1=_0x210b3a==null?void 0x0:_0x210b3a[_0x16e07b(0x3cb)])!=null?_0x4b2ea1:_0x3b12ef)!=null?_0x59b121:ji;}[_0x1c5774(0x376)](){var _0x13b40f=_0x1c5774,_0x3834b9,_0x156781;const _0x203034=this[_0x13b40f(0x26c)]['getConfig']($i),_0x37cffe=this[_0x13b40f(0x26c)][_0x13b40f(0x28d)](Y);return(_0x156781=(_0x3834b9=_0x37cffe==null?void 0x0:_0x37cffe[_0x13b40f(0x4c8)])!=null?_0x3834b9:_0x203034)!=null?_0x156781:Hi;}[_0x1c5774(0x23e)](){var _0x35a197=_0x1c5774,_0x2ec54a;const _0x624f9=this[_0x35a197(0x26c)][_0x35a197(0x28d)](Y);return(_0x2ec54a=_0x624f9==null?void 0x0:_0x624f9[_0x35a197(0x475)])!=null?_0x2ec54a:location[_0x35a197(0x3ab)];}[_0x1c5774(0x1b3)](_0x491f8c,_0x1f7c23){var _0xd5e835=_0x1c5774;return _0x491f8c[_0xd5e835(0x46c)](_0xd5e835(0x486),_0x1f7c23);}[_0x1c5774(0x464)](){var _0x3a5f10=_0x1c5774;this[_0x3a5f10(0x417)]-=0x1,this['_change$'][_0x3a5f10(0x4cf)](this[_0x3a5f10(0x417)]);}},exports[_0x1c5774(0x221)]=Ai([xe(0x0,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x1c5774(0x3b5)](a['IUniverInstanceService']))],exports[_0x1c5774(0x221)]);var ki=Object[_0x1c5774(0x2b1)],Bi=Object[_0x1c5774(0x313)],Fi=(_0x306be0,_0x33f053,_0x335ec4,_0x2abe56)=>{for(var _0x138260=_0x2abe56>0x1?void 0x0:_0x2abe56?Bi(_0x33f053,_0x335ec4):_0x33f053,_0x3a8b33=_0x306be0['length']-0x1,_0x362fc2;_0x3a8b33>=0x0;_0x3a8b33--)(_0x362fc2=_0x306be0[_0x3a8b33])&&(_0x138260=(_0x2abe56?_0x362fc2(_0x33f053,_0x335ec4,_0x138260):_0x362fc2(_0x138260))||_0x138260);return _0x2abe56&&_0x138260&&ki(_0x33f053,_0x335ec4,_0x138260),_0x138260;},_t=(_0x49f482,_0x557544)=>(_0x2b2e40,_0x470a5f)=>_0x557544(_0x2b2e40,_0x470a5f,_0x49f482);const Wi='/universer-api/authz';exports[_0x1c5774(0x241)]=class{constructor(_0x10979d,_0x45de6c){var _0x4bd5ea=_0x1c5774;this[_0x4bd5ea(0x26c)]=_0x10979d,this[_0x4bd5ea(0x423)]=_0x45de6c;}[_0x1c5774(0x31c)](){var _0x530e32=_0x1c5774,_0x36b363,_0xc78c19;const _0x27ffb8=this[_0x530e32(0x26c)][_0x530e32(0x28d)](Ve),_0x428a3b=this['_configService'][_0x530e32(0x28d)](Y);return(_0xc78c19=(_0x36b363=_0x428a3b==null?void 0x0:_0x428a3b[_0x530e32(0x302)])!=null?_0x36b363:_0x27ffb8)!=null?_0xc78c19:Wi;}async[_0x1c5774(0x46e)](_0x218910){var _0x1d98d1=_0x1c5774;const _0xde9880=this[_0x1d98d1(0x31c)]()+_0x1d98d1(0x415);return{'list':[{'title':_0x1d98d1(0x2a0),'mentions':(await this['_HTTPService'][_0x1d98d1(0x36c)](_0xde9880,{'params':{'objectID':_0x218910['unitId'],'unitID':_0x218910['unitId']}}))[_0x1d98d1(0x377)][_0x1d98d1(0x45c)]['map'](_0x41a8f3=>({'objectId':_0x41a8f3['id'],'name':_0x41a8f3[_0x1d98d1(0x1d3)][_0x1d98d1(0x150)],'metadata':{'icon':_0x41a8f3[_0x1d98d1(0x1d3)][_0x1d98d1(0x3b8)]},'label':_0x41a8f3['subject']['name'],'objectType':a[_0x1d98d1(0x45b)][_0x1d98d1(0x4a6)]})),'metadata':{},'type':a[_0x1d98d1(0x45b)][_0x1d98d1(0x4a6)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a[_0x1c5774(0x3b5)](a['IConfigService'])),_t(0x1,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)]))],exports[_0x1c5774(0x241)]);var Gi=Object[_0x1c5774(0x2b1)],Vi=Object[_0x1c5774(0x313)],Ki=(_0x56833c,_0x3ac69e,_0x163c8e,_0xa54777)=>{var _0x1a1045=_0x1c5774;for(var _0x2fcf2b=_0xa54777>0x1?void 0x0:_0xa54777?Vi(_0x3ac69e,_0x163c8e):_0x3ac69e,_0x5b2163=_0x56833c[_0x1a1045(0x24b)]-0x1,_0x53505e;_0x5b2163>=0x0;_0x5b2163--)(_0x53505e=_0x56833c[_0x5b2163])&&(_0x2fcf2b=(_0xa54777?_0x53505e(_0x3ac69e,_0x163c8e,_0x2fcf2b):_0x53505e(_0x2fcf2b))||_0x2fcf2b);return _0xa54777&&_0x2fcf2b&&Gi(_0x3ac69e,_0x163c8e,_0x2fcf2b),_0x2fcf2b;},ce=(_0x4af060,_0x353b34)=>(_0x164636,_0x5ef2b7)=>_0x353b34(_0x164636,_0x5ef2b7,_0x4af060);let Ue=class extends a[_0x1c5774(0x429)]{constructor(_0xd061d4,_0x49ded0,_0x5ede1e,_0x1bb387,_0x4edf0a,_0x155058,_0x2a01a8){var _0x53626a=_0x1c5774;super(),this['_injector']=_0xd061d4,this[_0x53626a(0x44c)]=_0x49ded0,this[_0x53626a(0x2bf)]=_0x5ede1e,this[_0x53626a(0x363)]=_0x1bb387,this[_0x53626a(0x172)]=_0x4edf0a,this['_authzIoService']=_0x155058,this[_0x53626a(0x196)]=_0x2a01a8,this[_0x53626a(0x49a)](),this[_0x53626a(0x37a)]();}[_0x1c5774(0x37a)](){var _0x54c796=_0x1c5774;const _0x10dda5=async _0x13bb33=>{var _0x3ec6ef=_0x4097;(await this[_0x3ec6ef(0x363)][_0x3ec6ef(0x2fd)](_0x13bb33))[_0x3ec6ef(0x250)]['pipe'](W[_0x3ec6ef(0x394)](_0x570bf9=>_0x570bf9[_0x3ec6ef(0x3ca)]===m[_0x3ec6ef(0x3a6)][_0x3ec6ef(0x431)]),W[_0x3ec6ef(0x29c)](this['dispose$']))[_0x3ec6ef(0x305)](_0x2436dc=>{var _0x3552fd=_0x3ec6ef;const _0x3e4ba5=_0x2436dc,{reason:_0x16b06b}=_0x3e4ba5[_0x3552fd(0x1a1)];this['_collaborationUIEventService'][_0x3552fd(0x1bd)]({'id':Q[_0x3552fd(0x214)],'data':_0x16b06b}),this[_0x3552fd(0x2bf)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](_0x13bb33)['id'],!0x1),this['_collaborationSessionService'][_0x3552fd(0x278)](_0x13bb33);});};H[_0x54c796(0x223)](this[_0x54c796(0x44c)][_0x54c796(0x4a2)](a['UniverInstanceType'][_0x54c796(0x2a4)]),this[_0x54c796(0x44c)][_0x54c796(0x4a2)](a[_0x54c796(0x17a)][_0x54c796(0x466)]))[_0x54c796(0x35c)](W['map'](_0x41da15=>_0x41da15[_0x54c796(0x4ad)]()),W[_0x54c796(0x394)](_0x976f49=>!a['isInternalEditorID'](_0x976f49)),W[_0x54c796(0x29c)](this[_0x54c796(0x1e0)]))['subscribe'](_0x9b4936=>{_0x10dda5(_0x9b4936);});}['_initUnitPermissionChange'](){var _0x3cdaa9=_0x1c5774;const _0x55beca=async _0x48a33d=>{var _0xc0d952=_0x4097;const _0x43507e=await this['_collaborationSessionService'][_0xc0d952(0x2fd)](_0x48a33d),_0x1a837c=this[_0xc0d952(0x2b3)]['get'](J[_0xc0d952(0x1ce)]);_0x43507e[_0xc0d952(0x250)][_0xc0d952(0x35c)](W['filter'](_0x53aaa5=>_0x53aaa5[_0xc0d952(0x3ca)]===m[_0xc0d952(0x3a6)][_0xc0d952(0x499)]),W['takeUntil'](this[_0xc0d952(0x1e0)]))[_0xc0d952(0x305)](_0x1209cd=>{var _0x28ef54=_0xc0d952;const _0x5f1d0b=_0x1209cd,{objectId:_0x4a3135}=_0x5f1d0b['data'];_0x4a3135===_0x48a33d?_0x1a837c[_0x28ef54(0x265)](_0x48a33d):_0x1a837c[_0x28ef54(0x37d)](_0x48a33d,_0x4a3135);});};H['merge'](this[_0x3cdaa9(0x44c)][_0x3cdaa9(0x4a2)](a[_0x3cdaa9(0x17a)][_0x3cdaa9(0x2a4)]),this[_0x3cdaa9(0x44c)]['getTypeOfUnitAdded$'](a[_0x3cdaa9(0x17a)][_0x3cdaa9(0x466)]))[_0x3cdaa9(0x35c)](W[_0x3cdaa9(0x439)](_0x186863=>_0x186863['getUnitId']()),W[_0x3cdaa9(0x394)](_0x36a522=>!a[_0x3cdaa9(0x1e6)](_0x36a522)),W[_0x3cdaa9(0x29c)](this[_0x3cdaa9(0x1e0)]))[_0x3cdaa9(0x305)](_0x469095=>{_0x55beca(_0x469095);});}};Ue=Ki([ce(0x0,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x1c5774(0x355)]),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a[_0x1c5774(0x3b5)](te)),ce(0x5,a[_0x1c5774(0x203)]),ce(0x6,a['IUndoRedoService'])],Ue);var Yi=Object[_0x1c5774(0x2b1)],qi=Object[_0x1c5774(0x313)],zi=(_0x191b9d,_0x5d3976,_0x38abb9,_0x54e48d)=>{var _0xbca25d=_0x1c5774;for(var _0x51f3f4=_0x54e48d>0x1?void 0x0:_0x54e48d?qi(_0x5d3976,_0x38abb9):_0x5d3976,_0x33034b=_0x191b9d[_0xbca25d(0x24b)]-0x1,_0x34490c;_0x33034b>=0x0;_0x33034b--)(_0x34490c=_0x191b9d[_0x33034b])&&(_0x51f3f4=(_0x54e48d?_0x34490c(_0x5d3976,_0x38abb9,_0x51f3f4):_0x34490c(_0x51f3f4))||_0x51f3f4);return _0x54e48d&&_0x51f3f4&&Yi(_0x5d3976,_0x38abb9,_0x51f3f4),_0x51f3f4;},ut=(_0x1f992a,_0x4e7bd7)=>(_0x18fd0c,_0x283aa1)=>_0x4e7bd7(_0x18fd0c,_0x283aa1,_0x1f992a);exports['SnapshotServerOverHTTPService']=class{constructor(_0x27db9f,_0x41196e){var _0x44ece7=_0x1c5774;this[_0x44ece7(0x26c)]=_0x27db9f,this['_httpService']=_0x41196e;}async[_0x1c5774(0x28e)](_0xcfd491,_0x18c9f3){var _0x4f427f=_0x1c5774,_0xce1345;const {unitID:_0x6d970c,type:_0x5526b7,revision:_0x29900a=0x0}=_0x18c9f3,_0x5f02ca=this[_0x4f427f(0x372)]()+'/'+_0x5526b7+_0x4f427f(0x410)+_0x6d970c+_0x4f427f(0x449)+_0x29900a,_0x2bfa9c=(await this[_0x4f427f(0x357)]['get'](_0x5f02ca))[_0x4f427f(0x377)],_0x14671b=(_0xce1345=_0x2bfa9c['snapshot'])==null?void 0x0:_0xce1345[_0x4f427f(0x1a5)];if(_0x14671b){const _0x2d8b04=_0x14671b==null?void 0x0:_0x14671b[_0x4f427f(0x316)],_0x1a7eaa=m[_0x4f427f(0x2d0)][_0x4f427f(0x457)](m['b64DecodeUnicode'](_0x2d8b04));_0x14671b[_0x4f427f(0x316)]=_0x1a7eaa,Object[_0x4f427f(0x43c)](_0x14671b[_0x4f427f(0x43a)])[_0x4f427f(0x434)](([,_0x2d464d])=>{var _0x35569d=_0x4f427f;const _0x47bcc8=_0x2d464d[_0x35569d(0x316)],_0x409bef=m[_0x35569d(0x2d0)][_0x35569d(0x457)](m['b64DecodeUnicode'](_0x47bcc8));_0x2d464d[_0x35569d(0x316)]=_0x409bef;});}return _0x2bfa9c;}async[_0x1c5774(0x22c)](_0x5edcce,_0x42633c){var _0xfd76f3=_0x1c5774;const {unitID:_0x21e80f,type:_0x15f5b7,blockID:_0x509c37}=_0x42633c,_0x1a4aa6=this[_0xfd76f3(0x354)]()+'/'+_0x15f5b7+_0xfd76f3(0x410)+_0x21e80f+_0xfd76f3(0x25f)+_0x509c37;return(await this[_0xfd76f3(0x357)][_0xfd76f3(0x36c)](_0x1a4aa6))['body'];}async[_0x1c5774(0x3af)](_0x327d1b,_0x44a4a5){var _0x30fd66=_0x1c5774;const {unitID:_0x3b07d2,type:_0x3ac8bc,blockID:_0x4226ab}=_0x44a4a5,_0x10a7ea=this[_0x30fd66(0x354)]()+_0x30fd66(0x25f)+_0x3ac8bc+_0x30fd66(0x410)+_0x3b07d2+_0x30fd66(0x25f)+_0x4226ab;return(await this[_0x30fd66(0x357)][_0x30fd66(0x36c)](_0x10a7ea))['body'];}async[_0x1c5774(0x2d2)](_0x37df55,_0x433cbb){var _0x24eff1=_0x1c5774;const {unitID:_0x5785bb,type:_0x4b415c,from:_0x3338ce,to:_0x1a1da1}=_0x433cbb,_0x2f504b=this[_0x24eff1(0x354)]()+'/'+_0x4b415c+_0x24eff1(0x410)+_0x5785bb+_0x24eff1(0x167)+_0x3338ce+'&to='+_0x1a1da1;return(await this['_httpService'][_0x24eff1(0x36c)](_0x2f504b))[_0x24eff1(0x377)];}[_0x1c5774(0x372)](){var _0x5206e4=_0x1c5774,_0x3de159;return(_0x3de159=this[_0x5206e4(0x26c)][_0x5206e4(0x28d)](ft))!=null?_0x3de159:this[_0x5206e4(0x354)]();}[_0x1c5774(0x354)](){var _0x18a3fe=_0x1c5774,_0x3dfd56,_0x18e410;const _0x43c18e=this['_configService'][_0x18a3fe(0x28d)](vt),_0x4ecbf0=this[_0x18a3fe(0x26c)]['getConfig'](Y);return(_0x18e410=(_0x3dfd56=_0x4ecbf0==null?void 0x0:_0x4ecbf0[_0x18a3fe(0x170)])!=null?_0x3dfd56:_0x43c18e)!=null?_0x18e410:Ht;}async[_0x1c5774(0x322)](_0x2fd731,_0x322597){var _0xa49260=_0x1c5774;const _0x3a0a99=_0xa49260(0x373)+_0x322597[_0xa49260(0x33d)]+_0xa49260(0x410)+_0x322597[_0xa49260(0x382)]+_0xa49260(0x2d7);return(await this[_0xa49260(0x357)][_0xa49260(0x36c)](_0x3a0a99,{'params':{'resourceId':JSON[_0xa49260(0x199)](_0x322597['resourceIDs'])}}))[_0xa49260(0x377)];}[_0x1c5774(0x4b6)](){var _0x3581ed=_0x1c5774;throw new Error(_0x3581ed(0x350));}[_0x1c5774(0x3df)](){var _0x306aa9=_0x1c5774;throw new Error(_0x306aa9(0x350));}[_0x1c5774(0x1d7)](){var _0x3c425c=_0x1c5774;throw new Error(_0x3c425c(0x350));}[_0x1c5774(0x48f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1c5774(0x1e8)](){var _0x2466b2=_0x1c5774;throw new Error(_0x2466b2(0x350));}},exports[_0x1c5774(0x307)]=zi([ut(0x0,a[_0x1c5774(0x304)]),ut(0x1,a[_0x1c5774(0x3b5)](q[_0x1c5774(0x45f)]))],exports[_0x1c5774(0x307)]);var Ji=Object[_0x1c5774(0x2b1)],Xi=Object[_0x1c5774(0x313)],Zi=(_0x48dcca,_0x38139b,_0xa6ef3b,_0x3930f8)=>{for(var _0x5b2256=_0x3930f8>0x1?void 0x0:_0x3930f8?Xi(_0x38139b,_0xa6ef3b):_0x38139b,_0x26d40c=_0x48dcca['length']-0x1,_0x20e7db;_0x26d40c>=0x0;_0x26d40c--)(_0x20e7db=_0x48dcca[_0x26d40c])&&(_0x5b2256=(_0x3930f8?_0x20e7db(_0x38139b,_0xa6ef3b,_0x5b2256):_0x20e7db(_0x5b2256))||_0x5b2256);return _0x3930f8&&_0x5b2256&&Ji(_0x38139b,_0xa6ef3b,_0x5b2256),_0x5b2256;},de=(_0x2c16e3,_0x324a3a)=>(_0x17df63,_0x2055c3)=>_0x324a3a(_0x17df63,_0x2055c3,_0x2c16e3);exports[_0x1c5774(0x295)]=class extends a[_0x1c5774(0x207)]{constructor(_0x29b32e,_0x5ed0e6,_0x141b9b,_0x313ff4,_0x3285c9){var _0x5dff89=_0x1c5774;super(_0x29b32e,_0x5ed0e6,_0x141b9b),this[_0x5dff89(0x298)]=_0x313ff4,this[_0x5dff89(0x228)]=_0x3285c9;}[_0x1c5774(0x2cc)](_0x4e5ff5,_0x1201a3){var _0x11549a=_0x1c5774;const _0x4eeaa3=this[_0x11549a(0x3b9)](_0x4e5ff5);if(_0x4eeaa3)try{const _0x3f7102=this['_transformStack'](_0x4eeaa3,_0x1201a3);this['_substituteUndoStack'](_0x4e5ff5,_0x3f7102);}catch(_0x5d382a){this['_logService'][_0x11549a(0x496)](_0x11549a(0x468),_0x5d382a),this[_0x11549a(0x4cd)](_0x4e5ff5);}const _0x30717a=this[_0x11549a(0x4af)](_0x4e5ff5);if(_0x30717a)try{const _0x53ff25=this[_0x11549a(0x4ba)](_0x30717a,_0x1201a3);this[_0x11549a(0x176)](_0x4e5ff5,_0x53ff25);}catch(_0x23a6f4){this[_0x11549a(0x228)]['error'](_0x23a6f4),this[_0x11549a(0x2a2)](_0x4e5ff5);}}[_0x1c5774(0x4cd)](_0x486403){var _0x3292f7=_0x1c5774;const _0x4f1373=this['_getUndoStack'](_0x486403);_0x4f1373&&(_0x4f1373[_0x3292f7(0x24b)]=0x0,this[_0x3292f7(0x197)]());}[_0x1c5774(0x2a2)](_0x548cbc){var _0x43bb37=_0x1c5774;const _0x260dc7=this['_getRedoStack'](_0x548cbc);_0x260dc7&&(_0x260dc7['length']=0x0,this[_0x43bb37(0x197)]());}[_0x1c5774(0x2ce)](_0x13e8ad,_0x47d5a1){var _0x3848c7=_0x1c5774;this[_0x3848c7(0x3fc)][_0x3848c7(0x325)](_0x13e8ad,_0x47d5a1),this[_0x3848c7(0x197)]();}[_0x1c5774(0x176)](_0x1946a2,_0x5deb1b){var _0x2ffa81=_0x1c5774;this[_0x2ffa81(0x38f)]['set'](_0x1946a2,_0x5deb1b),this[_0x2ffa81(0x197)]();}[_0x1c5774(0x4ba)](_0x48c5d4,_0x3dba20){var _0x2bc0dd=_0x1c5774;const _0x438d0f=[];let _0x52fbe4=_0x3dba20,_0x529406=_0x3dba20;for(let _0x2e20d1=_0x48c5d4[_0x2bc0dd(0x24b)]-0x1;_0x2e20d1>=0x0;_0x2e20d1--){const {unitID:_0x34f9e5,undoMutations:_0x34a7d1,redoMutations:_0x362a6a}=_0x48c5d4[_0x2e20d1],_0x177ffc=this['_transformService'][_0x2bc0dd(0x1e1)](_0x52fbe4,_0x34a7d1),_0x3b4266=this[_0x2bc0dd(0x298)][_0x2bc0dd(0x1e1)](_0x529406,_0x362a6a);if(m['isTransformMutationsWithChangesetFailure'](_0x177ffc)||m[_0x2bc0dd(0x43d)](_0x3b4266)){this['_logService']['error'](_0x2bc0dd(0x468),_0x2bc0dd(0x4d2),_0x177ffc,_0x3b4266);break;}_0x52fbe4=_0x177ffc[_0x2bc0dd(0x1b6)],_0x529406=_0x3b4266[_0x2bc0dd(0x1b6)],_0x438d0f[_0x2bc0dd(0x2fa)]({'unitID':_0x34f9e5,'undoMutations':_0x177ffc[_0x2bc0dd(0x262)],'redoMutations':_0x3b4266['m2Prime']});}return _0x438d0f[_0x2bc0dd(0x4a1)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x1c5774(0x3a9)]),de(0x1,a[_0x1c5774(0x1a2)]),de(0x2,a['IContextService']),de(0x3,m[_0x1c5774(0x212)]),de(0x4,a[_0x1c5774(0x312)])],exports[_0x1c5774(0x295)]);var Lt=Object['defineProperty'],Qi=Object[_0x1c5774(0x313)],er=(_0x286854,_0x5a8a5a,_0x28df5a)=>_0x5a8a5a in _0x286854?Lt(_0x286854,_0x5a8a5a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28df5a}):_0x286854[_0x5a8a5a]=_0x28df5a,tr=(_0x240d17,_0x5e8d70,_0x4ace92,_0x117ebd)=>{var _0x7ac638=_0x1c5774;for(var _0x4371e8=_0x117ebd>0x1?void 0x0:_0x117ebd?Qi(_0x5e8d70,_0x4ace92):_0x5e8d70,_0x418171=_0x240d17[_0x7ac638(0x24b)]-0x1,_0x5cc41b;_0x418171>=0x0;_0x418171--)(_0x5cc41b=_0x240d17[_0x418171])&&(_0x4371e8=(_0x117ebd?_0x5cc41b(_0x5e8d70,_0x4ace92,_0x4371e8):_0x5cc41b(_0x4371e8))||_0x4371e8);return _0x117ebd&&_0x4371e8&&Lt(_0x5e8d70,_0x4ace92,_0x4371e8),_0x4371e8;},je=(_0x18b825,_0x132457)=>(_0x1f0da9,_0x4a628a)=>_0x132457(_0x1f0da9,_0x4a628a,_0x18b825),nr=(_0x1bf3b2,_0x2654a3,_0x15e591)=>er(_0x1bf3b2,_0x2654a3+'',_0x15e591);const ir=_0x1c5774(0x1f3);exports[_0x1c5774(0x345)]=class extends a[_0x1c5774(0x2af)]{constructor(_0x42e6d5=Ke,_0x303e70,_0x3ee1c7,_0x206547){var _0x17dadd=_0x1c5774;super(),this[_0x17dadd(0x427)]=_0x42e6d5,this['_logService']=_0x303e70,this['_injector']=_0x3ee1c7,this['_configService']=_0x206547;const {..._0x500a6e}=a[_0x17dadd(0x223)]({},Ke,this[_0x17dadd(0x427)]);this[_0x17dadd(0x26c)][_0x17dadd(0x2a3)](Y,_0x500a6e);}[_0x1c5774(0x33e)](){var _0x53fcda=_0x1c5774;this[_0x53fcda(0x22d)](),this[_0x53fcda(0x46f)]();}[_0x1c5774(0x22d)](){var _0x2f5a0a=_0x1c5774,_0x497dd8,_0x513c11,_0x4e2aba,_0x39d63d;this[_0x2f5a0a(0x2b3)][_0x2f5a0a(0x2df)](a[_0x2f5a0a(0x189)])&&this[_0x2f5a0a(0x228)][_0x2f5a0a(0x496)](_0x2f5a0a(0x3a4),_0x2f5a0a(0x183));const _0x5a6981=a[_0x2f5a0a(0x1f9)]([[a[_0x2f5a0a(0x189)],{'useClass':exports[_0x2f5a0a(0x295)]}],[exports[_0x2f5a0a(0x2dc)]],[exports[_0x2f5a0a(0x3f9)]],[exports[_0x2f5a0a(0x301)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x513c11=(_0x497dd8=this[_0x2f5a0a(0x427)])==null?void 0x0:_0x497dd8['socketService'])!=null?_0x513c11:exports[_0x2f5a0a(0x39e)]}],[m[_0x2f5a0a(0x230)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x2f5a0a(0x171)]}],[X[_0x2f5a0a(0x338)],{'useClass':exports[_0x2f5a0a(0x221)]}],[a['IMentionIOService'],{'useClass':exports[_0x2f5a0a(0x241)]}],[exports['CollaborationController']],[$e]],(_0x4e2aba=this[_0x2f5a0a(0x427)])==null?void 0x0:_0x4e2aba['override']);if(!((_0x39d63d=this['_config'])!=null&&_0x39d63d[_0x2f5a0a(0x1cf)])){const _0x433fea=_0x5a6981[_0x2f5a0a(0x38b)](([_0x11e225])=>_0x11e225===ve);_0x433fea!==-0x1&&_0x5a6981[_0x2f5a0a(0x3ea)](_0x433fea,0x1);}a[_0x2f5a0a(0x1f8)](this[_0x2f5a0a(0x2b3)],_0x5a6981);}['_initDependencies'](){var _0x5d109c=_0x1c5774,_0x119465,_0x4a1762,_0x1402c8;this[_0x5d109c(0x2b3)][_0x5d109c(0x36c)](q[_0x5d109c(0x45f)])[_0x5d109c(0x405)]({'priority':0x14,'interceptor':q[_0x5d109c(0x37f)]({'maxParallel':0x6})}),(_0x119465=this[_0x5d109c(0x427)])!=null&&_0x119465[_0x5d109c(0x3a5)]||(_0x4a1762=this[_0x5d109c(0x2b3)][_0x5d109c(0x36c)](z,a[_0x5d109c(0x3b2)][_0x5d109c(0x1f6)]))==null||_0x4a1762[_0x5d109c(0x408)](),(_0x1402c8=this[_0x5d109c(0x427)])!=null&&_0x1402c8[_0x5d109c(0x4db)]&&a['touchDependencies'](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x5d109c(0x2b3)],[[Ne],[exports[_0x5d109c(0x263)]],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],'pluginName',ir),exports[_0x1c5774(0x345)]=tr([a[_0x1c5774(0x3dc)](m[_0x1c5774(0x285)],J[_0x1c5774(0x1ee)],q[_0x1c5774(0x2b4)]),je(0x1,a[_0x1c5774(0x312)]),je(0x2,a[_0x1c5774(0x3b5)](a[_0x1c5774(0x2cb)])),je(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x1c5774(0x18a)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x1c5774(0x21d)]=Et,exports[_0x1c5774(0x2ba)]=St,exports['CollaborationStatus']=We,exports[_0x1c5774(0x261)]=Q,exports[_0x1c5774(0x178)]=te,exports[_0x1c5774(0x4ab)]=Be,exports[_0x1c5774(0x1a6)]=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x1c5774(0x165)]=mt,exports[_0x1c5774(0x2e1)]=He,exports[_0x1c5774(0x45e)]=ke,exports[_0x1c5774(0x48b)]=z,exports[_0x1c5774(0x343)]=Rt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x1c5774(0x2f3)]=Kt,exports[_0x1c5774(0x193)]=Ct,exports[_0x1c5774(0x497)]=Jt,exports[_0x1c5774(0x4b3)]=It,exports[_0x1c5774(0x293)]=kt,exports[_0x1c5774(0x185)]=vt,exports['SNAPSHOT_URL_KEY']=ft,exports[_0x1c5774(0x31f)]=se,exports[_0x1c5774(0x451)]=Fe,exports[_0x1c5774(0x280)]=Ot,exports[_0x1c5774(0x3c9)]=In,exports[_0x1c5774(0x2a5)]=yt;
|
1
|
+
'use strict';var _0x5c0715=_0x5fe0;(function(_0x45b732,_0x3324d5){var _0x4d7fbc=_0x5fe0,_0x4685c0=_0x45b732();while(!![]){try{var _0x1aebb2=parseInt(_0x4d7fbc(0x458))/0x1*(parseInt(_0x4d7fbc(0x2a7))/0x2)+parseInt(_0x4d7fbc(0x20b))/0x3*(parseInt(_0x4d7fbc(0x49d))/0x4)+parseInt(_0x4d7fbc(0x2ff))/0x5*(-parseInt(_0x4d7fbc(0x30f))/0x6)+-parseInt(_0x4d7fbc(0x2c4))/0x7+-parseInt(_0x4d7fbc(0x21a))/0x8*(parseInt(_0x4d7fbc(0x22a))/0x9)+-parseInt(_0x4d7fbc(0x3e8))/0xa+parseInt(_0x4d7fbc(0x2fa))/0xb;if(_0x1aebb2===_0x3324d5)break;else _0x4685c0['push'](_0x4685c0['shift']());}catch(_0x28e13d){_0x4685c0['push'](_0x4685c0['shift']());}}}(_0x1ab3,0x30313));var Mt=Object[_0x5c0715(0x2d9)],xt=(_0x5e9436,_0x3deb70,_0x2c4ce4)=>_0x3deb70 in _0x5e9436?Mt(_0x5e9436,_0x3deb70,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4ce4}):_0x5e9436[_0x3deb70]=_0x2c4ce4,D=(_0x3fcfdd,_0x548c29,_0x547bdc)=>xt(_0x3fcfdd,typeof _0x548c29!=_0x5c0715(0x29f)?_0x548c29+'':_0x548c29,_0x547bdc);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5c0715(0x3bf)});const a=require('@univerjs/core'),H=require(_0x5c0715(0x276)),W=require(_0x5c0715(0x1fa)),q=require('@univerjs/network'),m=require('@univerjs-pro/collaboration'),jt=require('@univerjs/telemetry'),dt=require(_0x5c0715(0x46a)),J=require(_0x5c0715(0x1c0)),X=require(_0x5c0715(0x1d0)),$t=require(_0x5c0715(0x22b)),vt=_0x5c0715(0x1d4),Ht='/universer-api/snapshot',ft=_0x5c0715(0x398),kt='SEND_CHANGESET_TIMEOUT',Bt=0x7d0,St=_0x5c0715(0x2e8),pt=_0x5c0715(0x4b6),Ft=_0x5c0715(0x473),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x5c0715(0x483),gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt=_0x5c0715(0x405),Yt=0x3e8,Et='COLLAB_SUBMIT_CHANGESET_URL',qt=_0x5c0715(0x1b8),Ct=_0x5c0715(0x47c),zt=_0x5c0715(0x317),Jt=_0x5c0715(0x2aa),Xt=_0x5c0715(0x477);var Tt=(_0x3b2c4d=>(_0x3b2c4d[_0x3b2c4d['UNDEFINED']=0x0]=_0x5c0715(0x2be),_0x3b2c4d[_0x3b2c4d['OK']=0x1]='OK',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x1bd)]=0x2]=_0x5c0715(0x1bd),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x2de)]=0x3]='PERMISSION_DENIED',_0x3b2c4d[_0x3b2c4d['NOT_FOUND']=0x4]='NOT_FOUND',_0x3b2c4d[_0x3b2c4d['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x491)]=0x6]=_0x5c0715(0x491),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x239)]=0x7]=_0x5c0715(0x239),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x301)]=0x8]=_0x5c0715(0x301),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x4c4)]=0x9]=_0x5c0715(0x4c4),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x3db)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x389)]=0x1771]=_0x5c0715(0x389),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x44a)]=0x1772]=_0x5c0715(0x44a),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x2b9)]=0x1773]=_0x5c0715(0x2b9),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x1bf)]=0x1b59]='APPLY_REJECT',_0x3b2c4d[_0x3b2c4d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5c0715(0x207),_0x3b2c4d[_0x3b2c4d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5c0715(0x3ac),_0x3b2c4d[_0x3b2c4d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5c0715(0x42b),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x4dc)]=0x1b5d]='APPLY_DUPLICATED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x256)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x450)]=0x2329]=_0x5c0715(0x450),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x19e)]=0x232a]=_0x5c0715(0x19e),_0x3b2c4d[_0x3b2c4d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x387)]=0x232c]=_0x5c0715(0x387),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x29e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x343)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x251)]=0x2712]=_0x5c0715(0x251),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x361)]=0x2713]=_0x5c0715(0x361),_0x3b2c4d[_0x3b2c4d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5c0715(0x3a2),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x374)]=0x2af9]=_0x5c0715(0x374),_0x3b2c4d[_0x3b2c4d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b2c4d))(Tt||{}),Z=(_0x482250=>(_0x482250[_0x482250['UNIVER_UNKNOWN']=0x0]=_0x5c0715(0x1a1),_0x482250[_0x482250[_0x5c0715(0x3d8)]=0x1]=_0x5c0715(0x3d8),_0x482250[_0x482250['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x482250[_0x482250['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x482250[_0x482250['UNIVER_PROJECT']=0x4]=_0x5c0715(0x4a4),_0x482250[_0x482250[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x482250))(Z||{}),G=(_0x5ed2db=>(_0x5ed2db[_0x5ed2db[_0x5c0715(0x4b4)]=0x0]=_0x5c0715(0x4b4),_0x5ed2db[_0x5ed2db[_0x5c0715(0x32a)]=0x1]=_0x5c0715(0x32a),_0x5ed2db[_0x5ed2db[_0x5c0715(0x4bd)]=0x2]=_0x5c0715(0x4bd),_0x5ed2db[_0x5ed2db['LEAVE']=0x3]=_0x5c0715(0x360),_0x5ed2db[_0x5ed2db[_0x5c0715(0x1e6)]=0x4]='INGEST',_0x5ed2db[_0x5ed2db['HEARTBEAT']=0x5]=_0x5c0715(0x369),_0x5ed2db[_0x5ed2db[_0x5c0715(0x265)]=0x6]=_0x5c0715(0x265),_0x5ed2db[_0x5ed2db[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x5ed2db))(G||{}),he=(_0x45fef0=>(_0x45fef0[_0x45fef0[_0x5c0715(0x3a1)]=0x0]=_0x5c0715(0x3a1),_0x45fef0[_0x45fef0['OK']=0x1]='OK',_0x45fef0[_0x45fef0[_0x5c0715(0x37a)]=0x2]=_0x5c0715(0x37a),_0x45fef0[_0x45fef0[_0x5c0715(0x46c)]=0x3e9]=_0x5c0715(0x46c),_0x45fef0[_0x45fef0[_0x5c0715(0x307)]=0x3ea]=_0x5c0715(0x307),_0x45fef0[_0x45fef0[_0x5c0715(0x3d4)]=0x3eb]=_0x5c0715(0x3d4),_0x45fef0[_0x45fef0[_0x5c0715(0x33b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x45fef0[_0x45fef0[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x45fef0))(he||{}),bt=(_0x85f7e4=>(_0x85f7e4[_0x85f7e4[_0x5c0715(0x208)]=0x0]=_0x5c0715(0x208),_0x85f7e4[_0x85f7e4[_0x5c0715(0x243)]=0x1]='HttpImport',_0x85f7e4[_0x85f7e4['HttpExport']=0x2]=_0x5c0715(0x37b),_0x85f7e4[_0x85f7e4[_0x5c0715(0x4ea)]=0x3]=_0x5c0715(0x4ea),_0x85f7e4[_0x85f7e4[_0x5c0715(0x2bd)]=0x4]=_0x5c0715(0x2bd),_0x85f7e4[_0x85f7e4[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x85f7e4))(bt||{});const Y=_0x5c0715(0x2c0),Ke={};var Q=(_0x162bd8=>(_0x162bd8[_0x5c0715(0x351)]=_0x5c0715(0x351),_0x162bd8['PERMISSION_DENIED']=_0x5c0715(0x2de),_0x162bd8[_0x5c0715(0x4cc)]='CONFLICT',_0x162bd8[_0x5c0715(0x33c)]=_0x5c0715(0x33c),_0x162bd8[_0x5c0715(0x4b9)]=_0x5c0715(0x4b9),_0x162bd8['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x162bd8[_0x5c0715(0x4f8)]=_0x5c0715(0x4f8),_0x162bd8['SUBMIT_CHANGESET_TIMEOUT']=_0x5c0715(0x456),_0x162bd8))(Q||{});class te{constructor(){var _0x588512=_0x5c0715;D(this,'_event$',new H[(_0x588512(0x2bb))]()),D(this,_0x588512(0x2ac),this[_0x588512(0x3ef)][_0x588512(0x2ae)]());}['emitEvent'](_0x37b66b){var _0x37a2b7=_0x5c0715;this['_event$'][_0x37a2b7(0x195)](_0x37b66b);}}const Rt=a[_0x5c0715(0x47f)]('univer-pro.collaboration-client.network-condition.service');function _0x1ab3(){var _0x8b824=['members','_state','INetworkConditionService','eventID','IDLE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/universer-api/oidc/authpage','charAt','forEach','newCsEvent','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','unit-cache-','AES','LocalUndoRedoService','ISocketService','UniverInstanceType','OpenSSL','/universer-api/authz','_reverseMap','reconnect','_rescheduleHeartbeat','list','get','getInterceptPoints','Decryptor','HELLO','complete','merge','[CollaborationSessionService]','_roomCreated$','OfflineState','StreamCipher','conflict','_authzIoService','createInstance','_updateStatus','append','send','_toggleOnline','getCurrentUser','ICommandService','OTHER_CLIENTS_EDITING','GLOBAL_ROOMS_CNT_EXCEEDS','CLOSE_ROOM','session.room-cnt-exceeds','crypto','change$','file','kdf','apply','YUUMI_UNABLE_LOAD_URL','initWorkbookPermissionChange','/block/','random','DataLoaderService','WordArray','code','max','slice','patch','wsSessionTicketUrl','_loadDoc','duration','MentionType','OTHER_CLIENT_EDITING','resend','_networkConditionService','_startCollaboration','fetch_missing','CollaborationImageIoService','_onCombEvent','workbook','USERS_ENTER','univer-pro.collaboration-client-socket-service','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startTelemetryCollaborationNewChangeset','_clearScheduledTask','Disposable','pauseCollaboration','LEAVE','YUUMI_RATE_OVER_LIMIT','IAuthzIoService','_getRedoStack','_candidateSocket','_telemetryInfo','objects','getUnitId','SHA1','HEARTBEAT','call','online$','_hash','addImageSourceCache','DocCollaborationEntity','_getSessionTicket','MUTATION','transformSelections','_clearLocalCache','loadSheet','PY_RUNTIME_SCRIPT_ERROR','COMPRESS_MUTATION_SEND','format','editing\x20status\x20changed\x20to','pending','socket$','FAIL','HttpExport','sendChangesetTimeout','DEFAULT_COLLAB_WEB_SOCKET_URL','_exhaustRemoteChangesetQueue','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/-/object/list','userID','_initUnitPermissionChange','LIVESHARE_FETCH_OPERATIONS','sessionTicket','_getUndoStack','_changesetReqId','LICENSE_EXPORT_SIZE_EXCEEDED','_substituteUndoStack','SNAPSHOT_INVALID_SNAPSHOT','clone','size','/universer-api/snapshot/','_socketMessageSubscription','UniverCollaborationClientPlugin','processBlock','snapshotServerUrl','msCrypto','CollaborationStatus','DependentOn','_localCacheService','liveShareNewHost','_remoteChangesetQueue','getImageSourceCache','SNAPSHOT_URL_KEY','shouldCloseConn','image/bmp','Malformed\x20UTF-8\x20data','getConfig','_snapshotService','_transformUndoredo','onStarting','repeat','UNKNOWN_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','rev','getOwnPropertyDescriptor','_nDataBytes','CHANGESET_SHOULD_RETRY','toDisposable','putCollaborators','push','byteLength','APPLY_REVISION_CONFILICT','/object/','PendingState','onRemoteChangeset','/universer-api/stream/file/upload','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LocaleService','function','isTransformChangesetsSuccess','collaMsg','sid','_collaborationSessionService','DisposableCollection','unknown','_imageSourceCache','randomBytes','_transformIMECache','unitId','_collaborationTimeoutTimer','Module','onTransformRemoteChangesetByIMECache','blockSize','awaitingChangeset','_isPermissionRej','SessionStatus','_httpService','clamp','IContextService','AWAITING_WITH_PENDING','collaborators','[CollaborationSession]','JSONX','MD5','CollaborationSessionService','_instanceService','Latin1','pipe','LIVESHARE_TERMINATE','_revisionService','socket\x20close','JOIN_ROOM_PERMISSION_DENIED','focused$','getTypeOfUnitDisposed$','HTTPService','UNIVER_DOC','_initRequestHeader','_commentUpdate$','CHANGESET_REVISION_CONFILICT','BlockCipherMode','BehaviorSubject','ISingleActiveUnitService','loginUrlKey','HEARTBEAT_TIMEOUT_KEY','retryConnectingInterval','_initDependencies','touchDependencies','_createHelper','getSnapshotAPIPath','/unit/','transformUndoRedo','2795110ocxRMB','toggleOffline','setShowComponents','extend','ONLINE','_replayCachedMutations','type','_event$','emitEvent','/collaborator','textRanges','_tryEnsureSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_xformMode','updatePermissionPoint','_data','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','values','every','take','toString','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','LIVESHARE_REQUEST_HOST','_removeRoom','src','getFocusedUnit','/universer-api/file/{fileID}/sign-url','getTime','LOCAL_CACHE_INTERVAL','_handler','entityInit$','BufferedBlockAlgorithm','awaiting_with_pending','updateOfflineData','ITelemetryService','onTransformRemoteChangesetByStateCache','IPermissionService','words','roomInfos','set','state','_tryReconnect','ConflictState','InsertSheetMutation','_scheduleCollaborationTimeoutTimer','_socket$','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','localCacheService','_doFinalize','Rectangle','FETCH_MISS','NOT_COLLAB','RETRY_CONNECTING_MAX_COUNT_KEY','confirm','_transformRemoteChangesetByIMECache','SHOULD_CLOSE_CONN','_socket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onRemoteRejected','CommentService','[UniverCollaborationClientPlugin]','NEW_CHANGESETS','[FetchMissState]','onlyLocal','UUID','APPLY_PERMISSION_DENIED','members$','getUnitType','_checkMissing','_updateState','getUnit','RxDisposable','sequenceExecute','Injector','session.room-not-exists','getCollabEntity','_iv','_handlerCallback','addHandlerCallback','_onOffline','_queuedRemoteChangesets','_hasher','localeService','_updateLocalCache','_lockTransition','init','onTransformIME','_createHandler','_syncEditingCollabCursor','target','_configService','_univerInstanceService','_key','ticket','CollaborationSocketService','createDecryptor','SNAPSHOT_HAS_BEEN_REMOVED','_clearHeartbeatTimer','_socketReady','IImageIoService','HmacSHA1','\x0aCurrent:\x20','LICENSE_MAX_UNITS_EXCEEDED','_status$','HMAC','delay','getUnitStatus$','_createHmacHelper','SUBMIT_CHANGESET_TIMEOUT','incrementRevOfUnit','1fshkUD','sigBytes','&assign=','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cmd','shareReplay','objectActions','has','_http','PERMISSION_REJ','b64DecodeUnicode','signUrlServerUrl','takeUntil','AwaitingWithPendingState','c1Prime','getSheetBlock','IConfigService','COMPRESS_MUTATION_APPLY','@univerjs/docs','_state$','JOIN_ROOM_FULL','originalMeta','PERSON','_transformSelections','_telemetryService','actions','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/universer-api/user/session-ticket','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','post','USERS_LEAVE','/universer-api/uniscript','charCodeAt','closeSession','/resources','startTime','LOGIN_URL_KEY','csRejEvent','OFFLINE','createIdentifier','_transformStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','padding','HEARTBEAT_TIMEOUT','serializeCombRequest','session.join-failed','_getAPIPrefixPath','AUTHZ_URL_KEY','getSheetId','_incrementRevisionNumber','_disableEditing','IUniverInstanceService','JOINING','reset','onRemoteAck','application/json','collabWebSocketUrl','ALREADY_EXISTS','reverse','snapshot','allowed','NO_OTHER_CLIENTS_EDITING','IUndoRedoService','UNISCRIPT_RUN','floor','searchParams','onMissingChangesets','Inject','debug','4268MGvfQY','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ILogService','/object','collaboration_new_changeset','_registerDependencies','onRemoteRetry','UNIVER_PROJECT','_getAPIPrefix','_getCtorByUniverType','reduce','_transformService','_append','OPTIONAL','EmptyMutation','_cipher','reject','fetchMiss','add','commentUpdateEvent','leaveEvent','onSyncEditingCollabCursor','_createInitialStateImpl','UNKNOWN_CMD','COLLAB_SUBMIT_CHANGESET_URL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','fetchThroughInterceptors','_getLoginPath','JOIN_ROOM_FAILED','UPDATE_PERMISSION_OBJ','BASE64','FetchingMissState','JOIN','_permissionService','editingUnit','location','_logService','string','error$','COMPLETION_FINISHED','status','_clearUndo','getMember','_memberService','connection\x20error','_transformStateCache','Univer','CONFLICT','map','decrypt','getTypeOfUnitAdded$','UNIVER_SHEET','_commandService','_onConflict','saveChangeset','_onJoinRoomEvent','Optional','_changesetSessionId','mutations','title','exports','encode','_unitID','APPLY_DUPLICATED','unpad','setWaitCount','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','abs','_init','_loadSheet','\x20in\x20_schedule.','UserManagerService','_roomMembers','filter','isPermissionRej','__esModule','resourceIDs','UnitEmbedded','splice','_sessionStatus$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_undoRedoService','Base','encryptBlock','toggleOnline','algo','_showConflictNotification','NoPadding','onTransformState','buffer','finalize','SOCKET_FAILED','[CollaborationUndoRedoService]','SetSelectionsOperation','_fetchMissChangesets','dispose','_throwTelemetryCollaborationNewChangeset','compute','encrypt','fromCharCode','_resendTimer','m2Prime','_ENC_XFORM_MODE','now','fetching\x20missing\x20changesets\x20from\x20','encodeURIComponent','range','_mode','AWAITING','saveSnapshot','&to=','next','onRemoteRej','_prevBlock','objectID','?url=','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[CollaborationEntity]','_onRemoteACK','keySize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_clearRedo','_scheduleCompleteTimestamp','UNIVER_UNKNOWN','_submitChangeset','_shouldReportTelemetry','url','permissionRejEvent','from','salt','BlockCipher','Workbook','compose','transformChangesets','_createInitialState','_onLocalMutation','put','_compressMutationService','MemberService','_collabSessionService','length','IMentionIOService','joinEvent','ImageUploadStatusType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LOCAL_CACHE_INTERVAL_KEY','/universer-api/comb','CompressMutationService','UPDATE_CURSOR','enableOfflineEditing','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INTERNAL_ERROR','uploadFileServerUrl','APPLY_REJECT','@univerjs/sheets','reqId','HEARTBEAT_INTERVAL_KEY','{fileID}','SheetTransformSelectionsService','isArray','_initCloseConn','removeMember','FileId','_sendingTimer','_createSocketURL','subject','_nRounds','dispose$','joinRsp','People','@univerjs/drawing','_timeoutTimer','includes','_transitionLocked','SNAPSHOT_SERVER_URL_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','parseChangesetToProtocol','image/jpg','loadOfflineData','generateRandomId','SUBMIT_CHANGESET','_singleActiveUnitService','unitInfo$','onMissedChangesetFetched','_transformRemoteChangesetByStateCache','getMemberID','onSendChangeset','_doProcessBlock','update','status$','__creator','_onUserLeave','INGEST','?size=','key','session','_parse','hasOwnProperty','listCollaborators','_onRemoteRetry','csAckEvent','/allowed','_awaitingChangeset','SheetPermissionInitController','EvpKDF','ivSize','close','_substituteRedoStack','body','_unlockTransition','/rev/','ceil','rxjs/operators','mixIn','getCurrentRevOfUnit','open$','onTransformSelections','updateCollaborator','saveSheetBlock','_emitMembers','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CommandType','uniscriptRunEvent','WorkbookEditablePermission','_onConnectionFailed','APPLY_NON_SEQUENTIAL_REVISION','Undefined','_replaceFileID','_waitForHeartbeatResponse','1011YyJCyK','x-univer-host','equals','_toggleOffline','infoRsp','CBC','synced','PSEUDO_FETCH_MISSING_RESULT','onStateChange','_invKeySchedule','COMMENT_UPDATE','entries','default','auth.needGotoLoginAlert','_unitInfo$','120zqTvnv','requireSession','Could\x20not\x20dynamically\x20require\x20\x22','join','isTransformMutationsWithChangesetSuccess','RichTextEditingMutation','_sendHeartbeat','toLowerCase','min','_getSendChangesetTimeout','_getCurrentRevision','avatar','_oKey','SheetsSelectionsService','readAsDataURL','AuthzIoHttpService','189666TauWwR','@univerjs-pro/license','_DEC_XFORM_MODE','session.room-permission-denied','FETCH_MISSING','_entityInit$','responseType','createSocket','_members$','_executeRemoteChangeset','_listenToNetworkCondition','Tools','revision','message$','_undoStacks','INVALID_ARGUMENT','transformMutationsWithChangeset','_snapshotServerService','[OfflineState]:\x20received\x20changeset.','Base64','Encryptor','executeCommand','UniverCollaborationPlugin','copyFileMeta','PasswordBasedCipher','HttpImport','hostname','unsubscribe','Utf8','updatePermissionObjEvent','fetchMissingChangesets','state$','_clearCollaborationTimeoutTimer','enableAuthServer','_sheetTransformSelectionsService','parse','sessionStatus','subscribe','waitForRoom$','YUUMI_URL_COL_OUT_OF_RANGE','_schedule','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getResourcesRequest','\x0aAfter:\x20','CONNECTOR_DATA_TOO_LARGE','_stopTelemetryCollaborationNewChangeset','UnitStatus','SerializableCipher','registerHTTPInterceptor','_commentService','hasher','[DataLoaderService]','appendMutation','_sender','_doCryptBlock','_createSocket','Error\x20on\x20receiving\x20event','iterations','_change$','RECV','_iKey','byteOffset','_process','create','stringify','liveShareOperation','name','stopTime','_applyRemoteChangeset','_resendTimeout','refreshPermission','awaiting','runId','ISnapshotServerService','CHANGESET_REJ','save\x20fail\x20reason\x20is\x20','rxjs','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SYNCED','mode','AwaitingState','_getSignURL','getRandomValues','SnapshotService','mapDocumentTypeToUniverType','ImageSourceType','DEFAULT_FILE_NAME','image/jpeg','delete','POST','changesets','CollaborationUIEventId','_pendingMutations','prototype','_clearTimeoutTimer','telemetry\x20info\x20is\x20not\x20initialized','_minBufferSize','textEncoder','_entities','cfg','href','_redoStacks','_retryCount','randomUUID','onCommentUpdate','updateMember','objectType','memberID','bind','authzUrl','formatter','_map','_sessions','collaboratorID','_collaborationPaused','enc','LICENSE_DISTRO_REJECTED','symbol','disableLocalCache','parseProtocolChangeset','createEncryptor','\x20-\x20','HmacMD5','data','baseRev','114438aEFsgi','[CollaborationSessionService]:\x20socket\x20error','concat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_type','event$','_retryConnectingTimer','asObservable','decryptBlock','/-/object/-/batch_allowed','RevisionService','_onRemoteChangeset','getLatestCsReqIdBySid','routeKey','pluginName','_keyPriorReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationController','ENSURE_SNAPSHOT_EXECUTION','_eventService','Subject','MergeInterceptorFactory','UnitSnapshot','UNDEFINED','params','collaboration-client.config','_onMessage','ILocalCacheService','Cipher','1879780iUggGw','getDeserializedSheetBlock','_HTTPService','_onRecvEvent','downloadEndpointUrl','search','c2Prime','CHANGESET_ACK','_sendHeartbeatTimer','CollaborationSession','SnapshotServerOverHTTPService','find','_onConnectionOpen','MentionIoHttpService','[SyncedState]:\x20received\x20acknowledgement.','SyncedState','ciphertext','_userManagerService','_resendWithTimeout','_collaborationUIEventService','[OfflineState]:\x20received\x20acknowledgement.','defineProperty','getUnitOnRev','CollaborationEntity','unitID','CollaborationEvent','PERMISSION_DENIED','_onUserJoin','_acknowledgedAwaitingChangeset','clear','UNRECOGNIZED','onCommandExecuted','Plugin','sin','error','pad','COLLAB_WEB_SOCKET_URL','Pkcs7','interceptor','selections','[PendingState]:\x20received\x20acknowledgement.','CipherParams','SheetCollaborationEntity','CollaborativeUndoRedoService','ReplaySubject','isInternalEditorID','result','_joinRoom','requestParams','findIndex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','disposeWithMe','_onFetchMissResult','_socketService','11179674HVeUZb','/new_changes','headers','execute','ITransformService','10TNwOgf','$super','TOO_MANY_REQUESTS','lib','collaboration-client.local-cache-service','_members','_injector','_decreaseWaiting','JOIN_ROOM_NOT_EXISTS','close$','_waitCount','replace','_config','sessionStatus$','offline','ERROR_IMAGE','1114728AVJKEf','_localeService'];_0x1ab3=function(){return _0x8b824;};return _0x1ab3();}function Ot(_0x1df7b7){var _0x24c74e=_0x5c0715,_0x5ec3b0,_0x13f924,_0x4cafb6,_0x1db353,_0x95e6e3;const _0x42e249=_0x1df7b7[_0x24c74e(0x2a5)],_0x3221fc=JSON[_0x24c74e(0x24d)](_0x42e249);switch(_0x3221fc['cmd']){case G[_0x24c74e(0x369)]:case G[_0x24c74e(0x32a)]:{const _0x57afcf=_0x3221fc[_0x24c74e(0x20f)];return{..._0x3221fc,'data':_0x57afcf,'cmd':_0x3221fc['cmd']};}case G[_0x24c74e(0x4bd)]:{const _0x5e2d3f=_0x3221fc[_0x24c74e(0x1ce)];return{..._0x3221fc,'data':_0x5e2d3f,'cmd':_0x3221fc[_0x24c74e(0x45c)]};}case G[_0x24c74e(0x265)]:{const _0x4d995b=_0x3221fc[_0x24c74e(0x3b5)];switch(_0x4d995b[_0x24c74e(0x314)]){case m[_0x24c74e(0x2dd)][_0x24c74e(0x461)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x5ec3b0=_0x4d995b[_0x24c74e(0x1a5)])==null?void 0x0:_0x5ec3b0['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x2cb)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x13f924=_0x4d995b[_0x24c74e(0x1ee)])==null?void 0x0:_0x13f924['cs']},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)]['NEW_CHANGESETS']:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x4cafb6=_0x4d995b[_0x24c74e(0x31a)])==null?void 0x0:_0x4cafb6['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x274)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x1db353=_0x4d995b[_0x24c74e(0x47d)])==null?void 0x0:_0x1db353['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['CHANGESET_SHOULD_RETRY']:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x95e6e3=_0x4d995b['csShouldRetryEvent'])==null?void 0x0:_0x95e6e3['cs']},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x1ba)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b['updateCursorEvent']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x359)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x1b4)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m['CollaborationEvent'][_0x24c74e(0x476)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x4b1)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['LIVESHARE_NEW_HOST']:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x395)]},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x383)]:case m['CollaborationEvent'][_0x24c74e(0x417)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x26b)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m['CollaborationEvent'][_0x24c74e(0x3d1)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b['liveShareNewHost']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['MSG_FOR_ERROR']:return{..._0x3221fc,'data':_0x4d995b,'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x215)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x4b0)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x4ba)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x247)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x421)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x399)]},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x497)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x204)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};default:return _0x3221fc;}}default:return _0x3221fc;}}function yt(_0x136a6c){var _0x5e2eb1=_0x5c0715;switch(_0x136a6c[_0x5e2eb1(0x45c)]){case G[_0x5e2eb1(0x369)]:case G[_0x5e2eb1(0x32a)]:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c['routeKey']});case G[_0x5e2eb1(0x1e6)]:{let _0x43fe00;switch(_0x136a6c['data']['eventID']){case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x1ba)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x1ba)],'updateCursorEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x476)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x476)],'leaveEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x359)]:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x359)],'joinEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)]['LIVESHARE_NEW_HOST']:{_0x43fe00={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)]['LIVESHARE_OPERATION']:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x417)],'liveShareOperation':_0x136a6c[_0x5e2eb1(0x2a5)]['data']};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x3d1)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x3d1)],'liveShareTerminate':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x3ff)],'liveShareRequestHost':_0x136a6c['data'][_0x5e2eb1(0x2a5)]};break;}case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x383)]};break;}default:_0x43fe00={'eventID':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x314)]};}return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c[_0x5e2eb1(0x2b4)],'collaMsg':_0x43fe00});}case G[_0x5e2eb1(0x4bd)]:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c[_0x5e2eb1(0x2b4)],'joinReq':_0x136a6c[_0x5e2eb1(0x2a5)]});case G['LEAVE']:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c['routeKey'],'leaveReq':_0x136a6c[_0x5e2eb1(0x2a5)]});default:throw new Error(_0x5e2eb1(0x3a3));}}var Zt=Object[_0x5c0715(0x2d9)],Qt=Object['getOwnPropertyDescriptor'],en=(_0x4bcd6,_0x5e1189,_0x5ba20a,_0x50c15d)=>{for(var _0x3410d5=_0x50c15d>0x1?void 0x0:_0x50c15d?Qt(_0x5e1189,_0x5ba20a):_0x5e1189,_0x1b97ea=_0x4bcd6['length']-0x1,_0x1c875b;_0x1b97ea>=0x0;_0x1b97ea--)(_0x1c875b=_0x4bcd6[_0x1b97ea])&&(_0x3410d5=(_0x50c15d?_0x1c875b(_0x5e1189,_0x5ba20a,_0x3410d5):_0x1c875b(_0x3410d5))||_0x3410d5);return _0x50c15d&&_0x3410d5&&Zt(_0x5e1189,_0x5ba20a,_0x3410d5),_0x3410d5;},ue=(_0x2b6f4e,_0x3c7753)=>(_0x118198,_0x57b401)=>_0x3c7753(_0x118198,_0x57b401,_0x2b6f4e);function _0x5fe0(_0x3572c2,_0x410b7b){var _0x1ab3c2=_0x1ab3();return _0x5fe0=function(_0x5fe049,_0x4a335a){_0x5fe049=_0x5fe049-0x185;var _0x1834a8=_0x1ab3c2[_0x5fe049];return _0x1834a8;},_0x5fe0(_0x3572c2,_0x410b7b);}const ke=a[_0x5c0715(0x47f)](_0x5c0715(0x35a));function tn(_0x706ea3,_0x340d70,_0x3ce390){var _0x119dae=_0x5c0715;return _0x706ea3+'/'+_0x340d70+_0x119dae(0x3e6)+_0x3ce390+_0x119dae(0x2fb);}exports[_0x5c0715(0x448)]=class extends a['Disposable']{constructor(_0x1a0f6f,_0x2cfbc3,_0x664c9,_0x1cc9e3,_0x578239){var _0x489865=_0x5c0715;super(),this[_0x489865(0x305)]=_0x1a0f6f,this[_0x489865(0x460)]=_0x2cfbc3,this[_0x489865(0x444)]=_0x664c9,this[_0x489865(0x4c1)]=_0x1cc9e3,this[_0x489865(0x23b)]=_0x578239;}[_0x5c0715(0x231)](_0x517a7c){var _0x544e17=_0x5c0715;const _0x116f4c=this[_0x544e17(0x305)][_0x544e17(0x327)](q[_0x544e17(0x31f)]);if(!_0x116f4c)throw new Error(_0x544e17(0x277));const _0x5b9922=_0x116f4c[_0x544e17(0x231)](_0x517a7c);if(!_0x5b9922)throw new Error(_0x544e17(0x253));const _0xe54cf5=new a[(_0x544e17(0x3b8))](),_0x4603d5=new H['Subject']();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x308)][_0x544e17(0x24f)](_0x4719f7=>_0x4603d5[_0x544e17(0x195)](_0x4719f7))),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x4603d5['complete']()));const _0x2d883c=new H[(_0x544e17(0x2bb))]();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x4c3)]['subscribe'](_0x51b68d=>_0x2d883c[_0x544e17(0x195)](_0x51b68d))),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x2d883c['complete']()));const _0x5b7b0c=new H[(_0x544e17(0x2bb))]();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x237)][_0x544e17(0x24f)](_0x9671a2=>{const _0x544411=Ot(_0x9671a2);_0x5b7b0c['next'](_0x544411);})),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x5b7b0c[_0x544e17(0x32b)]()));let _0x58f1ff;const _0xbd4ff7=()=>{var _0x434be5=_0x544e17;_0x2d883c[_0x434be5(0x195)](new Event(_0x434be5(0x4c9))),_0x4603d5[_0x434be5(0x195)](new CloseEvent('connection\x20error')),_0x58f1ff['close']();};return _0x58f1ff={'memberID':'','close$':_0x4603d5[_0x544e17(0x2ae)](),'error$':_0x2d883c['asObservable'](),'open$':_0x5b9922['open$'],'message$':_0x5b7b0c[_0x544e17(0x2ae)](),'send':_0x4558b3=>{var _0x47ba6f=_0x544e17;if(_0x4558b3[_0x47ba6f(0x45c)]===G[_0x47ba6f(0x1e6)]){if(_0x4558b3['data']['eventID']===m[_0x47ba6f(0x2dd)][_0x47ba6f(0x1da)]){this[_0x47ba6f(0x1a2)](_0x58f1ff,_0x4558b3[_0x47ba6f(0x2a5)])['catch'](_0x107279=>{var _0x193189=_0x47ba6f;this[_0x193189(0x4c1)][_0x193189(0x2e6)](_0x107279),_0xbd4ff7();});return;}if(_0x4558b3[_0x47ba6f(0x2a5)][_0x47ba6f(0x314)]===m['CollaborationEvent'][_0x47ba6f(0x22e)]){const _0x1fe165=_0x4558b3[_0x47ba6f(0x2a5)];this[_0x47ba6f(0x4fb)](_0x1fe165)['then'](_0x210d63=>{var _0x3d85fb=_0x47ba6f;_0x5b7b0c[_0x3d85fb(0x195)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x1fe165[_0x3d85fb(0x2a5)][_0x3d85fb(0x2dc)],'routeType':'','data':{'eventID':m[_0x3d85fb(0x2dd)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x210d63}}});})['catch'](_0x3ceb4e=>{var _0xe6e348=_0x47ba6f;this[_0xe6e348(0x4c1)][_0xe6e348(0x2e6)](_0x3ceb4e),_0xbd4ff7();});return;}}_0x5b9922['send'](yt(_0x4558b3));},'close':()=>{var _0x3ac766=_0x544e17;_0x5b9922[_0x3ac766(0x1f4)](),_0xe54cf5[_0x3ac766(0x185)]();}},_0x58f1ff;}async[_0x5c0715(0x1a2)](_0x2e9a19,_0x417e91){var _0x565de7=_0x5c0715,_0xedf0aa,_0x5a9cba;const {unitType:_0x392d78,unitID:_0x25fe7,changeset:_0x1a697d}=_0x417e91[_0x565de7(0x2a5)],_0x324ac6={'unitID':_0x25fe7,'memberID':_0x2e9a19[_0x565de7(0x295)],'type':_0x392d78,'changeset':m[_0x565de7(0x1d6)](_0x1a697d)},_0x8105f9=this['_configService'][_0x565de7(0x39c)](Et),_0x2c5ce2=this['_configService'][_0x565de7(0x39c)](Y),_0x4faaa2=tn((_0x5a9cba=(_0xedf0aa=_0x2c5ce2==null?void 0x0:_0x2c5ce2['collabSubmitChangesetUrl'])!=null?_0xedf0aa:_0x8105f9)!=null?_0x5a9cba:qt,_0x392d78,_0x25fe7);try{await this[_0x565de7(0x460)][_0x565de7(0x475)](_0x4faaa2,{'body':_0x324ac6});}catch(_0x2b6527){throw this[_0x565de7(0x4c1)][_0x565de7(0x2e6)](_0x565de7(0x3ca),'submit\x20changeset\x20error!'),_0x2b6527;}}async[_0x5c0715(0x4fb)](_0x34ae72){var _0x4522ab=_0x5c0715;const {unitID:_0x81c4ca,from:_0x1d4367,to:_0x3c8449,unitType:_0x94f663}=_0x34ae72[_0x4522ab(0x2a5)];return(await this[_0x4522ab(0x23b)][_0x4522ab(0x248)]({'metadata':void 0x0},{'unitID':_0x81c4ca,'type':_0x94f663,'from':_0x1d4367,'to':_0x3c8449}))[_0x4522ab(0x284)];}},exports[_0x5c0715(0x448)]=en([ue(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),ue(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x5c0715(0x49f)]),ue(0x4,m[_0x5c0715(0x273)])],exports[_0x5c0715(0x448)]);const nn=_0x5c0715(0x4a1);function rn(_0x45f14a){var _0xc2183a=_0x5c0715;return JSON[_0xc2183a(0x26a)](_0x45f14a)[_0xc2183a(0x1b2)];}class Be{constructor(){var _0x362a48=_0x5c0715;D(this,'_commentUpdate$',new H['Subject']()),D(this,_0x362a48(0x3fe),this[_0x362a48(0x3da)][_0x362a48(0x2ae)]());}[_0x5c0715(0x292)](_0x1f04bd){var _0x5736f4=_0x5c0715;this[_0x5736f4(0x3da)]['next'](_0x1f04bd);}}var sn=Object['defineProperty'],on=Object[_0x5c0715(0x3a5)],an=(_0x338498,_0x5e7f7e,_0x2e46d9,_0x1d93b7)=>{for(var _0x506376=_0x1d93b7>0x1?void 0x0:_0x1d93b7?on(_0x5e7f7e,_0x2e46d9):_0x5e7f7e,_0x77b3cf=_0x338498['length']-0x1,_0x2583e9;_0x77b3cf>=0x0;_0x77b3cf--)(_0x2583e9=_0x338498[_0x77b3cf])&&(_0x506376=(_0x1d93b7?_0x2583e9(_0x5e7f7e,_0x2e46d9,_0x506376):_0x2583e9(_0x506376))||_0x506376);return _0x1d93b7&&_0x506376&&sn(_0x5e7f7e,_0x2e46d9,_0x506376),_0x506376;},Ye=(_0x3b60a7,_0x4030c5)=>(_0x306f18,_0x5bbf6d)=>_0x4030c5(_0x306f18,_0x5bbf6d,_0x3b60a7);exports[_0x5c0715(0x1b0)]=class extends a['Disposable']{constructor(_0x2c3d16,_0x2547b7){var _0xd44f7c=_0x5c0715;super(),D(this,_0xd44f7c(0x4e5),new Map()),D(this,'_roomCreated$',new H[(_0xd44f7c(0x2bb))]()),(this['_univerInstanceService']=_0x2c3d16,this[_0xd44f7c(0x2d5)]=_0x2547b7,this[_0xd44f7c(0x2f7)](H[_0xd44f7c(0x32c)](this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)]['UNIVER_SHEET'])[_0xd44f7c(0x3d0)](W[_0xd44f7c(0x4cd)](_0x544003=>_0x544003[_0xd44f7c(0x367)]())),this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)][_0xd44f7c(0x3d8)])['pipe'](W['map'](_0x38abf1=>_0x38abf1[_0xd44f7c(0x367)]())),this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)]['UNIVER_SLIDE'])['pipe'](W[_0xd44f7c(0x4cd)](_0x30bc06=>_0x30bc06[_0xd44f7c(0x367)]())))[_0xd44f7c(0x24f)](_0x383f51=>this['_removeRoom'](_0x383f51))));}[_0x5c0715(0x250)](_0x8c1f61){var _0x1330ac=_0x5c0715;return this[_0x1330ac(0x4e5)]['has'](_0x8c1f61)?H['of'](this[_0x1330ac(0x4e5)][_0x1330ac(0x327)](_0x8c1f61)):this[_0x1330ac(0x32e)][_0x1330ac(0x3d0)](W[_0x1330ac(0x4cd)](_0x230d67=>{var _0x27b7bc=_0x1330ac;if(_0x230d67===_0x8c1f61)return this[_0x27b7bc(0x4e5)][_0x27b7bc(0x327)](_0x230d67);}));}['setCurrentUser'](_0x238ef5){var _0x5d18c9=_0x5c0715;this[_0x5d18c9(0x2d5)]['setCurrentUser'](_0x238ef5);}[_0x5c0715(0x338)](){var _0x63b0e6=_0x5c0715;return this[_0x63b0e6(0x2d5)]['getCurrentUser']();}[_0x5c0715(0x293)](_0x36996c,_0x4396fb){var _0x5985e1=_0x5c0715;let _0x532011=this[_0x5985e1(0x4e5)][_0x5985e1(0x327)](_0x36996c);_0x532011||(_0x532011=new cn(),this[_0x5985e1(0x4e5)]['set'](_0x36996c,_0x532011),this[_0x5985e1(0x32e)][_0x5985e1(0x195)](_0x36996c)),_0x532011[_0x5985e1(0x293)](_0x4396fb);}[_0x5c0715(0x1c7)](_0x3b93de,_0x244d85){var _0x8cab10=_0x5c0715;const _0x5509fe=this['_roomMembers'][_0x8cab10(0x327)](_0x3b93de);_0x5509fe&&_0x5509fe['removeMember'](_0x244d85);}['getRoom'](_0x21515b){var _0x21dbf2=_0x5c0715;return this[_0x21dbf2(0x4e5)][_0x21dbf2(0x327)](_0x21515b);}[_0x5c0715(0x4c7)](_0x32c654,_0x3ace20){var _0x50bfdc=_0x5c0715;const _0x52ba5d=this[_0x50bfdc(0x4e5)]['get'](_0x32c654);if(_0x52ba5d)return _0x52ba5d[_0x50bfdc(0x4c7)](_0x3ace20);}[_0x5c0715(0x400)](_0x10c540){var _0x40a4ec=_0x5c0715;const _0x47f103=this[_0x40a4ec(0x4e5)]['get'](_0x10c540);_0x47f103&&(_0x47f103[_0x40a4ec(0x185)](),this[_0x40a4ec(0x4e5)][_0x40a4ec(0x282)](_0x10c540));}[_0x5c0715(0x185)](){var _0x284687=_0x5c0715;this[_0x284687(0x4e5)][_0x284687(0x319)](_0x111051=>_0x111051[_0x284687(0x185)]()),this[_0x284687(0x4e5)][_0x284687(0x2e1)](),this['_roomCreated$'][_0x284687(0x32b)]();}},exports[_0x5c0715(0x1b0)]=an([Ye(0x0,a[_0x5c0715(0x48b)]),Ye(0x1,a[_0x5c0715(0x49b)](a[_0x5c0715(0x4e4)]))],exports['MemberService']);class cn extends a[_0x5c0715(0x35e)]{constructor(){var _0x5dedc7=_0x5c0715;super(...arguments),D(this,_0x5dedc7(0x304),new Map()),D(this,_0x5dedc7(0x232),new H[(_0x5dedc7(0x3dd))](this['_members'])),D(this,_0x5dedc7(0x42c),this[_0x5dedc7(0x232)][_0x5dedc7(0x2ae)]());}[_0x5c0715(0x185)](){var _0x39a9bb=_0x5c0715;this['_members'][_0x39a9bb(0x2e1)]();}[_0x5c0715(0x293)](_0x1e4556){var _0x47d3c8=_0x5c0715;this['_members'][_0x47d3c8(0x410)](_0x1e4556[_0x47d3c8(0x295)],_0x1e4556),this[_0x47d3c8(0x201)]();}[_0x5c0715(0x1c7)](_0x54af5c){var _0x4035ea=_0x5c0715;this[_0x4035ea(0x304)]['delete'](_0x54af5c);}[_0x5c0715(0x4c7)](_0x7ca225){var _0x4c4335=_0x5c0715;return this[_0x4c4335(0x304)][_0x4c4335(0x327)](_0x7ca225);}['getAllMembers'](){var _0x5d07cc=_0x5c0715;return Array[_0x5d07cc(0x1a6)](this[_0x5d07cc(0x304)][_0x5d07cc(0x3f9)]());}['_emitMembers'](){var _0x56624b=_0x5c0715;this[_0x56624b(0x232)]['next'](this['_members']);}}var hn=Object[_0x5c0715(0x2d9)],ln=Object[_0x5c0715(0x3a5)],_n=(_0x2f5445,_0x12f6e6,_0x2cd7d5,_0x3506a9)=>{var _0x4ab1fe=_0x5c0715;for(var _0x4050f6=_0x3506a9>0x1?void 0x0:_0x3506a9?ln(_0x12f6e6,_0x2cd7d5):_0x12f6e6,_0x24db15=_0x2f5445[_0x4ab1fe(0x1b2)]-0x1,_0x585d95;_0x24db15>=0x0;_0x24db15--)(_0x585d95=_0x2f5445[_0x24db15])&&(_0x4050f6=(_0x3506a9?_0x585d95(_0x12f6e6,_0x2cd7d5,_0x4050f6):_0x585d95(_0x4050f6))||_0x4050f6);return _0x3506a9&&_0x4050f6&&hn(_0x12f6e6,_0x2cd7d5,_0x4050f6),_0x4050f6;},oe=(_0x510338,_0xa3a479)=>(_0x15593b,_0x125b19)=>_0xa3a479(_0x15593b,_0x125b19,_0x510338),se=(_0x572689=>(_0x572689[_0x572689[_0x5c0715(0x315)]=0x0]=_0x5c0715(0x315),_0x572689[_0x572689[_0x5c0715(0x48c)]=0x1]=_0x5c0715(0x48c),_0x572689[_0x572689['OFFLINE']=0x2]=_0x5c0715(0x47e),_0x572689[_0x572689['ONLINE']=0x3]=_0x5c0715(0x3ec),_0x572689))(se||{});const qe={[he[_0x5c0715(0x37a)]]:_0x5c0715(0x485),[he['JOIN_ROOM_FULL']]:'session.room-full',[he[_0x5c0715(0x307)]]:_0x5c0715(0x434),[he['JOIN_ROOM_PERMISSION_DENIED']]:_0x5c0715(0x22d),[he[_0x5c0715(0x33b)]]:_0x5c0715(0x33d)};exports[_0x5c0715(0x2cd)]=class extends a['RxDisposable']{constructor(_0x3d04b6,_0x15e63d,_0x587a6f,_0x16629e,_0x5b7d75,_0x2f9751,_0x51d599,_0xcc1b2f,_0x4e2003){var _0xfd5c6a=_0x5c0715;super(),D(this,_0xfd5c6a(0x4ec),new H[(_0xfd5c6a(0x3dd))](0x0)),D(this,'sessionStatus$',this[_0xfd5c6a(0x4ec)][_0xfd5c6a(0x2ae)]()),D(this,_0xfd5c6a(0x3ef),new H['Subject']()),D(this,'event$',this[_0xfd5c6a(0x3ef)][_0xfd5c6a(0x2ae)]()),D(this,_0xfd5c6a(0x422)),D(this,_0xfd5c6a(0x38d)),D(this,_0xfd5c6a(0x3be)),D(this,_0xfd5c6a(0x1a3),!0x1),D(this,_0xfd5c6a(0x365),null),(this[_0xfd5c6a(0x4db)]=_0x3d04b6,this[_0xfd5c6a(0x4c1)]=_0x587a6f,this[_0xfd5c6a(0x444)]=_0x16629e,this[_0xfd5c6a(0x310)]=_0x5b7d75,this[_0xfd5c6a(0x4c8)]=_0x2f9751,this[_0xfd5c6a(0x25b)]=_0x51d599,this['_collaborationUIEventService']=_0xcc1b2f,this[_0xfd5c6a(0x470)]=_0x4e2003,this[_0xfd5c6a(0x1a3)]=!!this[_0xfd5c6a(0x470)],_0x15e63d['pipe'](H['takeUntil'](this['dispose$']))['subscribe'](_0x48bbc5=>{var _0x52d809=_0xfd5c6a,_0x4e5633;typeof _0x48bbc5>'u'||(this[_0x52d809(0x422)]=_0x48bbc5,_0x48bbc5?(this[_0x52d809(0x2f3)](_0x48bbc5),this[_0x52d809(0x38d)]=_0x48bbc5[_0x52d809(0x237)]['subscribe'](_0x3bdc20=>{var _0x3ea825=_0x52d809;_0x3bdc20[_0x3ea825(0x2b4)]===this[_0x3ea825(0x4db)]&&this[_0x3ea825(0x357)](_0x3bdc20);})):(this[_0x52d809(0x186)](),this['_sessionStatus$']['next'](0x2),(_0x4e5633=this[_0x52d809(0x38d)])==null||_0x4e5633[_0x52d809(0x245)](),this['_socketMessageSubscription']=null));}));}get[_0x5c0715(0x24e)](){var _0xe72c24=_0x5c0715;return this[_0xe72c24(0x4ec)]['getValue']();}[_0x5c0715(0x1df)](){var _0x470266=_0x5c0715,_0x302125,_0x1f02a6;return(_0x1f02a6=(_0x302125=this[_0x470266(0x422)])==null?void 0x0:_0x302125[_0x470266(0x295)])!=null?_0x1f02a6:null;}['dispose'](){var _0x45c6df=_0x5c0715;super[_0x45c6df(0x185)](),this[_0x45c6df(0x1cd)][_0x45c6df(0x195)](),this[_0x45c6df(0x1cd)][_0x45c6df(0x32b)]();}[_0x5c0715(0x1f4)](){var _0x2091b5=_0x5c0715,_0x58f95c,_0x132f2a;this[_0x2091b5(0x186)](),(_0x58f95c=this[_0x2091b5(0x422)])==null||_0x58f95c['send']({'cmd':G[_0x2091b5(0x360)],'data':{'roomID':this[_0x2091b5(0x4db)]}}),(_0x132f2a=this[_0x2091b5(0x422)])==null||_0x132f2a[_0x2091b5(0x1f4)](),this[_0x2091b5(0x3ef)][_0x2091b5(0x32b)](),this['_sessionStatus$'][_0x2091b5(0x32b)](),this[_0x2091b5(0x185)]();}[_0x5c0715(0x357)](_0x525eee){var _0xd97777=_0x5c0715;_0x525eee[_0xd97777(0x45c)]===G[_0xd97777(0x4bd)]?this[_0xd97777(0x4d4)](_0x525eee):_0x525eee[_0xd97777(0x45c)]===G[_0xd97777(0x265)]&&this[_0xd97777(0x2c7)](_0x525eee);}['_joinRoom'](_0x2d355b){var _0xabb083=_0x5c0715;this['_sessionStatus$'][_0xabb083(0x195)](0x1),_0x2d355b[_0xabb083(0x336)]({'cmd':G[_0xabb083(0x4bd)],'routeKey':this[_0xabb083(0x4db)],'routeType':'','data':{'rooms':[{'roomID':this[_0xabb083(0x4db)]}]}});}[_0x5c0715(0x4d4)](_0x2758f0){var _0x35deb6=_0x5c0715,_0x379cf2;if(_0x2758f0[_0x35deb6(0x349)]in qe){this[_0x35deb6(0x2d7)][_0x35deb6(0x3f0)]({'id':Q[_0x35deb6(0x4b9)],'data':qe[_0x2758f0[_0x35deb6(0x349)]]}),this[_0x35deb6(0x4ec)]['next'](0x2);return;}this[_0x35deb6(0x4ec)][_0x35deb6(0x195)](0x3);const _0x571b06=(_0x379cf2=_0x2758f0[_0x35deb6(0x2a5)][_0x35deb6(0x40f)][this[_0x35deb6(0x4db)]])==null?void 0x0:_0x379cf2[_0x35deb6(0x311)];_0x571b06&&_0x571b06[_0x35deb6(0x319)](_0x255871=>this[_0x35deb6(0x4c8)][_0x35deb6(0x293)](this[_0x35deb6(0x4db)],_0x255871));}[_0x5c0715(0x2c7)](_0x2d4817){var _0x1c0d22=_0x5c0715;try{const _0xbbbaee=_0x2d4817['data'];switch(_0xbbbaee[_0x1c0d22(0x314)]){case m[_0x1c0d22(0x2dd)]['USERS_ENTER']:this[_0x1c0d22(0x2df)](_0xbbbaee),this['_event$'][_0x1c0d22(0x195)](_0xbbbaee);break;case m['CollaborationEvent'][_0x1c0d22(0x476)]:this[_0x1c0d22(0x1e5)](_0xbbbaee),this[_0x1c0d22(0x3ef)][_0x1c0d22(0x195)](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)]['CHANGESET_ACK']:case m[_0x1c0d22(0x2dd)][_0x1c0d22(0x3a7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1c0d22(0x24a)](),this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)]['MSG_FOR_ERROR']:this[_0x1c0d22(0x4c1)][_0x1c0d22(0x2e6)](_0x1c0d22(0x275)+JSON['stringify'](_0xbbbaee)),this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)][_0x1c0d22(0x215)]:this[_0x1c0d22(0x25b)][_0x1c0d22(0x292)](_0xbbbaee[_0x1c0d22(0x2a5)]),this['_event$'][_0x1c0d22(0x195)](_0xbbbaee);break;default:this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);}}catch(_0x2ab5ca){this[_0x1c0d22(0x4c1)][_0x1c0d22(0x2e6)](_0x2ab5ca,_0x2d4817);}}[_0x5c0715(0x2df)](_0x53434f){var _0x20b09e=_0x5c0715;this['_memberService'][_0x20b09e(0x293)](this[_0x20b09e(0x4db)],_0x53434f['data']);}[_0x5c0715(0x1e5)](_0x2c29c8){var _0x259a51=_0x5c0715;this[_0x259a51(0x4c8)]['removeMember'](this[_0x259a51(0x4db)],_0x2c29c8['data']['memberID']);}async[_0x5c0715(0x336)](_0x3a2765,_0x2abb64){var _0x15750b=_0x5c0715;if(this[_0x15750b(0x24e)]!==0x3||!this[_0x15750b(0x422)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3a2765['eventID']===m['CollaborationEvent'][_0x15750b(0x1da)]&&(this[_0x15750b(0x415)](),this[_0x15750b(0x35c)](_0x3a2765)),this[_0x15750b(0x422)][_0x15750b(0x336)]({'cmd':G[_0x15750b(0x1e6)],'routeKey':_0x2abb64,'routeType':'','data':_0x3a2765});}catch(_0xf57f5f){this['_logService'][_0x15750b(0x2e6)](_0xf57f5f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x216043=_0x5c0715,_0x562f0c;this[_0x216043(0x3be)]=setTimeout(()=>{var _0x1fd91c=_0x216043;this['_collaborationTimeoutTimer']=null,this[_0x1fd91c(0x2d7)][_0x1fd91c(0x3f0)]({'id':Q[_0x1fd91c(0x456)]});},(_0x562f0c=this[_0x216043(0x444)][_0x216043(0x39c)](He))!=null?_0x562f0c:gt);}[_0x5c0715(0x24a)](){var _0x208077=_0x5c0715;this[_0x208077(0x3be)]&&(clearTimeout(this[_0x208077(0x3be)]),this[_0x208077(0x3be)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4756fc){var _0x3db1db=_0x5c0715;if(!this['_shouldReportTelemetry'])return;const {data:_0x1e17e4}=_0x4756fc,{unitID:_0x3e7df9,changeset:_0x136716}=_0x1e17e4,{mutations:_0x445a54,type:_0x36e438}=_0x136716;this[_0x3db1db(0x365)]={'unitId':_0x3e7df9,'type':_0x36e438,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x445a54)};}[_0x5c0715(0x257)](){var _0x21c6cf=_0x5c0715;if(this[_0x21c6cf(0x1a3)]){if(!this[_0x21c6cf(0x365)]){this[_0x21c6cf(0x4c1)][_0x21c6cf(0x2e6)](_0x21c6cf(0x3ca),_0x21c6cf(0x289));return;}this['_telemetryInfo'][_0x21c6cf(0x26d)]=performance[_0x21c6cf(0x18d)](),this[_0x21c6cf(0x365)][_0x21c6cf(0x34f)]=this[_0x21c6cf(0x365)][_0x21c6cf(0x26d)]-this[_0x21c6cf(0x365)][_0x21c6cf(0x47b)],this[_0x21c6cf(0x470)]['capture'](nn,this['_telemetryInfo']),this[_0x21c6cf(0x365)]=null;}}[_0x5c0715(0x186)](){var _0xb4265b=_0x5c0715;this[_0xb4265b(0x365)]=null;}},exports['CollaborationSession']=_n([oe(0x2,a[_0x5c0715(0x49f)]),oe(0x3,a[_0x5c0715(0x468)]),oe(0x4,a[_0x5c0715(0x49b)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x5c0715(0x1b0)])),oe(0x6,a[_0x5c0715(0x49b)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x5c0715(0x4d5)](jt[_0x5c0715(0x40b)]))],exports[_0x5c0715(0x2cd)]);var un=Object[_0x5c0715(0x2d9)],dn=Object[_0x5c0715(0x3a5)],vn=(_0x515343,_0x8f077c,_0x4bd278,_0x46497a)=>{var _0x218b89=_0x5c0715;for(var _0x10e5cc=_0x46497a>0x1?void 0x0:_0x46497a?dn(_0x8f077c,_0x4bd278):_0x8f077c,_0x3d613a=_0x515343[_0x218b89(0x1b2)]-0x1,_0x888cee;_0x3d613a>=0x0;_0x3d613a--)(_0x888cee=_0x515343[_0x3d613a])&&(_0x10e5cc=(_0x46497a?_0x888cee(_0x8f077c,_0x4bd278,_0x10e5cc):_0x888cee(_0x10e5cc))||_0x10e5cc);return _0x46497a&&_0x10e5cc&&un(_0x8f077c,_0x4bd278,_0x10e5cc),_0x10e5cc;},ae=(_0x19e985,_0x53f703)=>(_0x26a79f,_0x2b3e70)=>_0x53f703(_0x26a79f,_0x2b3e70,_0x19e985);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x3c5735,_0x305b9a,_0x253e42,_0x3323b2,_0x171370,_0x231682,_0x14c96a){var _0x1ff09c=_0x5c0715;super(),D(this,_0x1ff09c(0x416),new H['BehaviorSubject'](void 0x0)),D(this,_0x1ff09c(0x379),this[_0x1ff09c(0x416)][_0x1ff09c(0x2ae)]()),D(this,_0x1ff09c(0x364),null),D(this,_0x1ff09c(0x29a),new Map()),D(this,_0x1ff09c(0x451),new H[(_0x1ff09c(0x3dd))](se[_0x1ff09c(0x315)])),D(this,'status$',this[_0x1ff09c(0x451)][_0x1ff09c(0x2ae)]()),D(this,'_socketReady',!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x1ff09c(0x2cc)),D(this,_0x1ff09c(0x1d1)),(this['_injector']=_0x3c5735,this[_0x1ff09c(0x4c1)]=_0x305b9a,this[_0x1ff09c(0x444)]=_0x253e42,this['_socketService']=_0x3323b2,this['_httpService']=_0x171370,this[_0x1ff09c(0x2d7)]=_0x231682,this[_0x1ff09c(0x353)]=_0x14c96a,this[_0x1ff09c(0x234)]());}get[_0x5c0715(0x422)](){var _0x65eec8=_0x5c0715;return this[_0x65eec8(0x416)]['getValue']();}['_listenToNetworkCondition'](){var _0x283f90=_0x5c0715;this[_0x283f90(0x353)]&&this[_0x283f90(0x2f7)](this[_0x283f90(0x353)][_0x283f90(0x36b)][_0x283f90(0x24f)](_0x3631ba=>{var _0x3232a9=_0x283f90;_0x3631ba&&!this[_0x3232a9(0x422)]&&this[_0x3232a9(0x324)](),_0x3631ba||this[_0x3232a9(0x439)]();}));}['dispose'](){var _0x47312b=_0x5c0715;super[_0x47312b(0x185)](),this[_0x47312b(0x29a)][_0x47312b(0x319)](_0x5a9ec0=>_0x5a9ec0[_0x47312b(0x185)]()),this['_sessions']['clear'](),this[_0x47312b(0x451)][_0x47312b(0x32b)]();}async[_0x5c0715(0x21b)](_0x5ee0b9){var _0x14e128=_0x5c0715;if(this[_0x14e128(0x29a)]['has'](_0x5ee0b9))return this[_0x14e128(0x29a)][_0x14e128(0x327)](_0x5ee0b9);this[_0x14e128(0x3f3)]();const _0x57a040=this[_0x14e128(0x305)]['createInstance'](exports[_0x14e128(0x2cd)],_0x5ee0b9,this[_0x14e128(0x416)]['asObservable']());return this[_0x14e128(0x29a)][_0x14e128(0x410)](_0x5ee0b9,_0x57a040),_0x57a040;}[_0x5c0715(0x479)](_0x40e6b8){var _0x2e626c=_0x5c0715,_0x4a7cc6;const _0x49ddcc=this[_0x2e626c(0x29a)]['get'](_0x40e6b8);_0x49ddcc&&(this['_sessions'][_0x2e626c(0x282)](_0x40e6b8),_0x49ddcc[_0x2e626c(0x1f4)]()),this[_0x2e626c(0x29a)][_0x2e626c(0x38b)]||(_0x4a7cc6=this[_0x2e626c(0x422)])==null||_0x4a7cc6[_0x2e626c(0x1f4)]();}[_0x5c0715(0x324)](){var _0x549ae8=_0x5c0715;this[_0x549ae8(0x290)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x549ae8(0x2ad)]),this[_0x549ae8(0x2ad)]=null),this[_0x549ae8(0x412)]();}async['_getSessionTicket'](){var _0x19e784=_0x5c0715,_0x3cd7fd,_0x46f105,_0x370cd2;const _0x2b6d97=this[_0x19e784(0x444)]['getConfig'](Y),_0x575509=(_0x3cd7fd=_0x2b6d97==null?void 0x0:_0x2b6d97[_0x19e784(0x34d)])!=null?_0x3cd7fd:Ft;return(_0x370cd2=(_0x46f105=(await this[_0x19e784(0x3c5)]['get'](_0x575509,{'headers':{'Content-Type':_0x19e784(0x48f)}}))['body'])==null?void 0x0:_0x46f105[_0x19e784(0x447)])!=null?_0x370cd2:'';}[_0x5c0715(0x1ca)](_0x31c72e){var _0x3773e1=_0x5c0715,_0x4cc32,_0x30c883;const _0x310811=this['_configService'][_0x3773e1(0x39c)](St),_0xc2d11e=this[_0x3773e1(0x444)][_0x3773e1(0x39c)](Y),_0x83593=(_0x30c883=(_0x4cc32=_0xc2d11e==null?void 0x0:_0xc2d11e[_0x3773e1(0x490)])!=null?_0x4cc32:_0x310811)!=null?_0x30c883:pt,_0x3760dc=typeof window>'u'?new URL(_0x83593):new URL(_0x83593,window[_0x3773e1(0x4c0)]['origin']);_0x3760dc[_0x3773e1(0x499)][_0x3773e1(0x410)](_0x3773e1(0x384),_0x31c72e);const _0xe049b8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3773e1(0x2c9)]);return _0xe049b8[_0x3773e1(0x327)](_0x3773e1(0x272))&&_0x3760dc['searchParams']['set']('runId',_0xe049b8[_0x3773e1(0x327)](_0x3773e1(0x272))),_0x3760dc[_0x3773e1(0x3fc)]();}async['_createSocket'](){var _0x292187=_0x5c0715;const _0x1e2c6b=await this[_0x292187(0x36f)](),_0x2b4d76=this[_0x292187(0x1ca)](_0x1e2c6b),_0x3e7868=this[_0x292187(0x2f9)]['createSocket'](_0x2b4d76);return this[_0x292187(0x364)]=_0x3e7868,_0x3e7868;}async[_0x5c0715(0x3f3)](){var _0x1f2bdb=_0x5c0715,_0x26a9f0,_0x439231;try{const _0x54201a=(_0x439231=(_0x26a9f0=this[_0x1f2bdb(0x422)])!=null?_0x26a9f0:this[_0x1f2bdb(0x364)])!=null?_0x439231:await this[_0x1f2bdb(0x261)]();if(_0x54201a){const _0xfbae0c=_0x54201a[_0x1f2bdb(0x336)];_0x54201a[_0x1f2bdb(0x336)]=_0x339e32=>(this[_0x1f2bdb(0x325)](),_0xfbae0c[_0x1f2bdb(0x342)](_0x54201a,[_0x339e32])),_0x54201a[_0x1f2bdb(0x237)][_0x1f2bdb(0x24f)](_0x174142=>this[_0x1f2bdb(0x2c1)](_0x54201a,_0x174142)),_0x54201a[_0x1f2bdb(0x4c3)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](_0x390dc4=>this[_0x1f2bdb(0x4c1)][_0x1f2bdb(0x2e6)](_0x1f2bdb(0x2a8),_0x390dc4)),_0x54201a[_0x1f2bdb(0x1fd)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](()=>{this['_onConnectionOpen'](_0x54201a);}),_0x54201a[_0x1f2bdb(0x308)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](_0x30fbc9=>{var _0x5a9139=_0x1f2bdb;this[_0x5a9139(0x4c1)][_0x5a9139(0x49c)](_0x5a9139(0x32d),_0x5a9139(0x3d3),_0x30fbc9),this[_0x5a9139(0x206)]();});}}catch(_0x423a6c){this[_0x1f2bdb(0x4c1)]['error'](_0x423a6c),this[_0x1f2bdb(0x206)]();}}[_0x5c0715(0x2d0)](_0x26f140){var _0x3381f1=_0x5c0715;this['_logService'][_0x3381f1(0x49c)](_0x3381f1(0x32d),'socket\x20open.'),_0x26f140['send']({'cmd':G['HELLO']}),this[_0x3381f1(0x325)]();}[_0x5c0715(0x439)](){var _0x216c62=_0x5c0715;this[_0x216c62(0x44c)]=!0x1,this[_0x216c62(0x364)]=null,this[_0x216c62(0x451)][_0x216c62(0x195)](se[_0x216c62(0x47e)]),this[_0x216c62(0x416)]['next'](null),this['_clearTimeoutTimer'](),this[_0x216c62(0x44b)]();}[_0x5c0715(0x206)](){var _0x512e1f=_0x5c0715,_0x41af21;this[_0x512e1f(0x439)](),this['_retryCount']<((_0x41af21=this[_0x512e1f(0x444)][_0x512e1f(0x39c)](It))!=null?_0x41af21:Vt)?(this[_0x512e1f(0x2d7)][_0x512e1f(0x3f0)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x512e1f(0x412)]()):this[_0x512e1f(0x2d7)][_0x512e1f(0x3f0)]({'id':Q[_0x512e1f(0x4f8)]});}[_0x5c0715(0x412)](){var _0x23f026=_0x5c0715,_0x158365;const _0x3c2359=this[_0x23f026(0x290)],_0x990594=this[_0x23f026(0x444)]['getConfig'](Y),_0x4f31a5=_0x3c2359===0x0?0x0:((_0x158365=_0x990594==null?void 0x0:_0x990594[_0x23f026(0x3e1)])!=null?_0x158365:Gt)*0x2**_0x3c2359;this[_0x23f026(0x2ad)]=setTimeout(()=>{var _0x49729c=_0x23f026;clearTimeout(this[_0x49729c(0x2ad)]),this[_0x49729c(0x2ad)]=null,this[_0x49729c(0x3f3)]();},_0x4f31a5),this['_retryCount']+=0x1;}[_0x5c0715(0x2c1)](_0xcd50b4,_0x52622a){var _0x6a0566=_0x5c0715;const {cmd:_0x3a74d0}=_0x52622a;_0x3a74d0===G['HELLO']&&!this[_0x6a0566(0x44c)]&&(_0xcd50b4['memberID']=_0x52622a[_0x6a0566(0x2a5)][_0x6a0566(0x295)],this[_0x6a0566(0x416)]['next'](_0xcd50b4),this[_0x6a0566(0x451)][_0x6a0566(0x195)](se[_0x6a0566(0x3ec)]),this['_socketReady']=!0x0,this[_0x6a0566(0x364)]=null),_0x3a74d0===G['HEARTBEAT']&&this[_0x6a0566(0x288)](),this[_0x6a0566(0x325)]();}[_0x5c0715(0x325)](){var _0x3cb875=_0x5c0715,_0x23b82c;this['_clearHeartbeatTimer'](),this[_0x3cb875(0x2cc)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x23b82c=this[_0x3cb875(0x444)]['getConfig'](mt))!=null?_0x23b82c:Wt);}[_0x5c0715(0x220)](){var _0x196f6c=_0x5c0715;this[_0x196f6c(0x422)][_0x196f6c(0x336)]({'cmd':G['HEARTBEAT']}),this[_0x196f6c(0x20a)]();}[_0x5c0715(0x20a)](){var _0x168a5e=_0x5c0715,_0x1b2f7c;this[_0x168a5e(0x1d1)]=setTimeout(()=>this[_0x168a5e(0x206)](),(_0x1b2f7c=this[_0x168a5e(0x444)][_0x168a5e(0x39c)](He))!=null?_0x1b2f7c:gt);}[_0x5c0715(0x44b)](){var _0x15af07=_0x5c0715;this[_0x15af07(0x2cc)]!=null&&(clearTimeout(this[_0x15af07(0x2cc)]),this[_0x15af07(0x2cc)]=null);}[_0x5c0715(0x288)](){var _0x581963=_0x5c0715;this[_0x581963(0x1d1)]!=null&&(clearTimeout(this[_0x581963(0x1d1)]),this[_0x581963(0x1d1)]=null);}},exports['CollaborationSessionService']=vn([ae(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),ae(0x1,a[_0x5c0715(0x49f)]),ae(0x2,a[_0x5c0715(0x468)]),ae(0x3,ke),ae(0x4,a['Inject'](q['HTTPService'])),ae(0x5,a[_0x5c0715(0x49b)](te)),ae(0x6,a[_0x5c0715(0x4d5)](Rt))],exports[_0x5c0715(0x3cd)]);const V=[];for(let r=0x0;r<0x100;++r)V['push']((r+0x100)[_0x5c0715(0x3fc)](0x10)[_0x5c0715(0x34b)](0x1));function fn(_0x269cc4,_0x5149a0=0x0){var _0x241637=_0x5c0715;return(V[_0x269cc4[_0x5149a0+0x0]]+V[_0x269cc4[_0x5149a0+0x1]]+V[_0x269cc4[_0x5149a0+0x2]]+V[_0x269cc4[_0x5149a0+0x3]]+'-'+V[_0x269cc4[_0x5149a0+0x4]]+V[_0x269cc4[_0x5149a0+0x5]]+'-'+V[_0x269cc4[_0x5149a0+0x6]]+V[_0x269cc4[_0x5149a0+0x7]]+'-'+V[_0x269cc4[_0x5149a0+0x8]]+V[_0x269cc4[_0x5149a0+0x9]]+'-'+V[_0x269cc4[_0x5149a0+0xa]]+V[_0x269cc4[_0x5149a0+0xb]]+V[_0x269cc4[_0x5149a0+0xc]]+V[_0x269cc4[_0x5149a0+0xd]]+V[_0x269cc4[_0x5149a0+0xe]]+V[_0x269cc4[_0x5149a0+0xf]])[_0x241637(0x221)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x1a0179=_0x5c0715;if(!Pe){if(typeof crypto>'u'||!crypto[_0x1a0179(0x27c)])throw new Error(_0x1a0179(0x3f8));Pe=crypto[_0x1a0179(0x27c)][_0x1a0179(0x296)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5c0715(0x291)]&&crypto['randomUUID'][_0x5c0715(0x296)](crypto),ze={'randomUUID':mn};function gn(_0x493769,_0x296baf,_0x1375f7){var _0x114061=_0x5c0715,_0x26cfe4,_0x62b36e,_0x2b39ea;if(ze[_0x114061(0x291)]&&!_0x493769)return ze[_0x114061(0x291)]();_0x493769=_0x493769||{};const _0xc05ea9=(_0x2b39ea=(_0x62b36e=_0x493769[_0x114061(0x346)])!=null?_0x62b36e:(_0x26cfe4=_0x493769['rng'])==null?void 0x0:_0x26cfe4[_0x114061(0x36a)](_0x493769))!=null?_0x2b39ea:pn();if(_0xc05ea9[_0x114061(0x1b2)]<0x10)throw new Error(_0x114061(0x31b));return _0xc05ea9[0x6]=_0xc05ea9[0x6]&0xf|0x40,_0xc05ea9[0x8]=_0xc05ea9[0x8]&0x3f|0x80,fn(_0xc05ea9);}const z=a['createIdentifier'](_0x5c0715(0x303));function In(_0x2dfc0a){var _0x1d17ab=_0x5c0715;return _0x1d17ab(0x31c)+_0x2dfc0a;}var En=Object[_0x5c0715(0x2d9)],Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x365314,_0x8de90b,_0x3074c5,_0x484394)=>{var _0x405ce5=_0x5c0715;for(var _0x3b4534=_0x484394>0x1?void 0x0:_0x484394?Cn(_0x8de90b,_0x3074c5):_0x8de90b,_0x304d5b=_0x365314[_0x405ce5(0x1b2)]-0x1,_0x194032;_0x304d5b>=0x0;_0x304d5b--)(_0x194032=_0x365314[_0x304d5b])&&(_0x3b4534=(_0x484394?_0x194032(_0x8de90b,_0x3074c5,_0x3b4534):_0x194032(_0x3b4534))||_0x3b4534);return _0x484394&&_0x3b4534&&En(_0x8de90b,_0x3074c5,_0x3b4534),_0x3b4534;},De=(_0x3cfad0,_0x50f0c8)=>(_0x25b95d,_0x471656)=>_0x50f0c8(_0x25b95d,_0x471656,_0x3cfad0);function bn(_0x5e79eb){var _0x1bcf80=_0x5c0715;const {unitID:_0x2682b1,mutations:_0x2700d2}=_0x5e79eb;return{'unitId':_0x2682b1,'subUnitId':_0x2700d2[0x0][_0x1bcf80(0x2bf)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x23447a,_0x486340,_0x549b85){var _0x5e3db6=_0x5c0715;this[_0x5e3db6(0x305)]=_0x23447a,this['_transformService']=_0x486340,this['_instanceService']=_0x549b85;}[_0x5c0715(0x371)](_0x51a841){var _0x2a5ed4=_0x5c0715,_0x240a63,_0x1f95f3,_0x3eb6fd,_0xe7134c;const _0x554263=this['_injector'][_0x2a5ed4(0x327)](J[_0x2a5ed4(0x227)]),{unitId:_0x57caa9,subUnitId:_0xefbfa4}=bn(_0x51a841),_0x258bd0=_0x554263==null?void 0x0:_0x554263['getWorkbookSelections'](_0x57caa9)['getCurrentSelections'](),_0x3465d3=(_0x1f95f3=(_0x240a63=this[_0x2a5ed4(0x3ce)][_0x2a5ed4(0x430)](_0x57caa9))==null?void 0x0:_0x240a63['getActiveSheet']())==null?void 0x0:_0x1f95f3[_0x2a5ed4(0x488)]();if(_0x258bd0[_0x2a5ed4(0x1b2)]===0x0||!_0x57caa9||!_0xefbfa4)return;const _0x5cbfab=[{'id':J[_0x2a5ed4(0x4fa)]['id'],'params':{'unitId':_0x57caa9,'subUnitId':_0x3465d3,'selections':a[_0x2a5ed4(0x235)]['deepClone'](_0x258bd0)}}],_0x3ea35a=this[_0x2a5ed4(0x4a8)]['transformMutationsWithChangeset'](_0x51a841,_0x5cbfab);if(!m[_0x2a5ed4(0x21e)](_0x3ea35a))throw _0x3ea35a[_0x2a5ed4(0x2e6)];const _0x414e60=(_0xe7134c=(_0x3eb6fd=_0x3ea35a[_0x2a5ed4(0x18b)][0x0])==null?void 0x0:_0x3eb6fd['params'])==null?void 0x0:_0xe7134c['selections'];if(Array[_0x2a5ed4(0x1c5)](_0x414e60)&&_0x414e60[_0x2a5ed4(0x1b2)]){if(_0x414e60['length']===_0x5cbfab[0x0][_0x2a5ed4(0x2bf)][_0x2a5ed4(0x2eb)]['length']&&_0x414e60['every']((_0x5987a6,_0x13076d)=>a[_0x2a5ed4(0x41b)][_0x2a5ed4(0x20d)](_0x5987a6['range'],_0x5cbfab[0x0][_0x2a5ed4(0x2bf)]['selections'][_0x13076d][_0x2a5ed4(0x190)])))return;this[_0x2a5ed4(0x305)][_0x2a5ed4(0x327)](a['ICommandService'])[_0x2a5ed4(0x23f)](J['SetSelectionsOperation']['id'],{'unitId':_0x57caa9,'subUnitId':_0x3465d3,'selections':_0x414e60});}}},exports[_0x5c0715(0x1c4)]=Tn([De(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),De(0x1,m[_0x5c0715(0x2fe)]),De(0x2,a[_0x5c0715(0x48b)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5c0715(0x47f)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x55542f=>(_0x55542f[_0x55542f[_0x5c0715(0x495)]=0x0]=_0x5c0715(0x495),_0x55542f[_0x55542f[_0x5c0715(0x33a)]=0x1]='OTHER_CLIENTS_EDITING',_0x55542f))(Fe||{});const Rn=new Set([J[_0x5c0715(0x414)]['id']]);function Je(_0x4cda6b,_0x313a90,_0xe3e942,_0x2ec5e3,_0x490235){var _0x27a1e6=_0x5c0715,_0x488c82,_0x41c30d,_0x281064,_0x5f5590;const _0x250ddc=[];for(const _0x192f1e of _0x4cda6b)if(Rn[_0x27a1e6(0x45f)](_0x192f1e['id'])){if(_0x250ddc['length']>0x0)break;_0x250ddc[_0x27a1e6(0x3aa)](_0x192f1e);break;}else _0x250ddc[_0x27a1e6(0x3aa)](_0x192f1e);const _0x26427d=(_0x41c30d=(_0x488c82=_0x490235[_0x27a1e6(0x338)]())==null?void 0x0:_0x488c82[_0x27a1e6(0x381)])!=null?_0x41c30d:'unknown',_0x50e311=(_0x5f5590=(_0x281064=_0x490235[_0x27a1e6(0x338)]())==null?void 0x0:_0x281064[_0x27a1e6(0x295)])!=null?_0x5f5590:_0x27a1e6(0x3b9);return{'changeset':{'unitID':_0x313a90,'type':m[_0x27a1e6(0x27e)](_0xe3e942[_0x27a1e6(0x42d)](_0x313a90)),'baseRev':_0x2ec5e3['getCurrentRevOfUnit'](_0x313a90),'revision':0x0,'userID':_0x26427d,'memberID':_0x50e311,'mutations':_0x250ddc},'pendingMutations':_0x4cda6b['slice'](_0x250ddc[_0x27a1e6(0x1b2)])};}function On(_0x568f58,_0xfcec8c,_0x5ac790,_0x2c31ab,_0xb8eff5){var _0x2fe22f=_0x5c0715,_0x1ec3e6,_0x55a9be,_0x5cd42c,_0x7e4c5f;const _0x4ff84f=[_0x568f58[_0x2fe22f(0x4a7)]((_0x1ff1cd,_0x54ff58)=>{var _0x266687=_0x2fe22f,_0x12cefd;const {id:_0x2587da}=_0x1ff1cd,{id:_0x57a5d9,type:_0x3c6a71}=_0x54ff58,_0x2fb6fd=(_0x12cefd=_0x1ff1cd[_0x266687(0x2bf)])!=null?_0x12cefd:{'actions':null},_0x17cf8f=_0x54ff58[_0x266687(0x2bf)];if(_0x2587da&&_0x2587da!==_0x57a5d9)throw new Error(_0x266687(0x1b6)+_0x2587da+_0x266687(0x2a3)+_0x57a5d9+'.');return{..._0x1ff1cd,'id':_0x57a5d9,'type':_0x3c6a71,'params':{'unitId':_0x17cf8f[_0x266687(0x3bd)],'textRanges':_0x17cf8f[_0x266687(0x3f2)],'actions':a[_0x266687(0x3cb)][_0x266687(0x1aa)](_0x2fb6fd[_0x266687(0x471)],_0x17cf8f[_0x266687(0x471)])}};},{})],_0x4202df=(_0x55a9be=(_0x1ec3e6=_0xb8eff5[_0x2fe22f(0x338)]())==null?void 0x0:_0x1ec3e6['userID'])!=null?_0x55a9be:_0x2fe22f(0x3b9),_0x28fd10=(_0x7e4c5f=(_0x5cd42c=_0xb8eff5[_0x2fe22f(0x338)]())==null?void 0x0:_0x5cd42c['memberID'])!=null?_0x7e4c5f:_0x2fe22f(0x3b9);return{'changeset':{'unitID':_0xfcec8c,'type':m[_0x2fe22f(0x27e)](_0x5ac790[_0x2fe22f(0x42d)](_0xfcec8c)),'baseRev':_0x2c31ab[_0x2fe22f(0x1fc)](_0xfcec8c),'revision':0x0,'userID':_0x4202df,'memberID':_0x28fd10,'mutations':_0x4ff84f},'pendingMutations':[]};}function Nt(_0x3b1ac5,_0x336a22){var _0x4fa34f=_0x5c0715;const _0x473d2e=new H[(_0x4fa34f(0x2f0))](0x1);return setTimeout(()=>_0x473d2e['next'](_0x336a22),_0x3b1ac5),_0x473d2e[_0x4fa34f(0x2ae)]()[_0x4fa34f(0x3d0)](H[_0x4fa34f(0x3fb)](0x1));}const yn={'id':J[_0x5c0715(0x4ab)]['id'],'type':a['CommandType'][_0x5c0715(0x370)],'params':{}};var Nn=Object[_0x5c0715(0x2d9)],Un=Object[_0x5c0715(0x3a5)],le=(_0x2ad65d,_0x4ece91,_0x5a576a,_0x3f5a3d)=>{for(var _0x1f93e3=_0x3f5a3d>0x1?void 0x0:_0x3f5a3d?Un(_0x4ece91,_0x5a576a):_0x4ece91,_0x425419=_0x2ad65d['length']-0x1,_0x3ac4bd;_0x425419>=0x0;_0x425419--)(_0x3ac4bd=_0x2ad65d[_0x425419])&&(_0x1f93e3=(_0x3f5a3d?_0x3ac4bd(_0x4ece91,_0x5a576a,_0x1f93e3):_0x3ac4bd(_0x1f93e3))||_0x1f93e3);return _0x3f5a3d&&_0x1f93e3&&Nn(_0x4ece91,_0x5a576a,_0x1f93e3),_0x1f93e3;},A=(_0x4f056d,_0x43798e)=>(_0x11ab91,_0xa93905)=>_0x43798e(_0x11ab91,_0xa93905,_0x4f056d),We=(_0x412355=>(_0x412355[_0x5c0715(0x41d)]='not_collab',_0x412355[_0x5c0715(0x278)]=_0x5c0715(0x211),_0x412355['PENDING']=_0x5c0715(0x378),_0x412355[_0x5c0715(0x192)]=_0x5c0715(0x271),_0x412355[_0x5c0715(0x3c8)]=_0x5c0715(0x409),_0x412355[_0x5c0715(0x41c)]=_0x5c0715(0x355),_0x412355[_0x5c0715(0x4cc)]='conflict',_0x412355[_0x5c0715(0x47e)]=_0x5c0715(0x30d),_0x412355))(We||{});const Ut=0xea60;class _e{constructor(_0x51ab2a,_0x2b638a,_0x3b1276,_0x926d5a,_0x266159,_0xb45e91,_0x40921d,_0x331cdf,_0x1adae3){var _0x27696a=_0x5c0715;D(this,_0x27696a(0x1f0),null),D(this,_0x27696a(0x286),[]),(this['unitID']=_0x51ab2a,this[_0x27696a(0x3ee)]=_0x2b638a,this[_0x27696a(0x406)]=_0x266159,this[_0x27696a(0x4d1)]=_0xb45e91,this[_0x27696a(0x4ee)]=_0x40921d,this[_0x27696a(0x3d2)]=_0x331cdf,this[_0x27696a(0x394)]=_0x1adae3,this[_0x27696a(0x1f0)]=_0x3b1276,this[_0x27696a(0x286)]=_0x926d5a);}[_0x5c0715(0x42e)](_0x248969){var _0x113466=_0x5c0715;const _0x4bb79a=this[_0x113466(0x3d2)][_0x113466(0x1fc)](this[_0x113466(0x2dc)]);return _0x248969[_0x113466(0x236)]>_0x4bb79a+0x1?(this[_0x113466(0x406)][_0x113466(0x49a)]({'from':_0x4bb79a,'to':_0x248969[_0x113466(0x236)]-0x1}),!0x0):!0x1;}[_0x5c0715(0x39e)](_0x4f59e6){var _0x45b175=_0x5c0715;this[_0x45b175(0x4ee)][_0x45b175(0x3e7)](this[_0x45b175(0x2dc)],_0x4f59e6);}[_0x5c0715(0x46f)](_0x1c5ed6){var _0x532a25=_0x5c0715,_0xdcbc17,_0x59780a;(_0x59780a=(_0xdcbc17=this[_0x532a25(0x406)])[_0x532a25(0x1fe)])==null||_0x59780a[_0x532a25(0x36a)](_0xdcbc17,_0x1c5ed6);}[_0x5c0715(0x3bc)](_0xee9281){var _0x30997d=_0x5c0715,_0x2bdc39,_0x1e96f4;return(_0x1e96f4=(_0x2bdc39=this[_0x30997d(0x406)])['onTransformIME'])==null?void 0x0:_0x1e96f4[_0x30997d(0x36a)](_0x2bdc39,_0xee9281);}['_transformStateCache'](_0x4ad587){var _0x2ba21e=_0x5c0715,_0x155744,_0x526dc9;return(_0x526dc9=(_0x155744=this[_0x2ba21e(0x406)])[_0x2ba21e(0x4f5)])==null?void 0x0:_0x526dc9['call'](_0x155744,_0x4ad587);}[_0x5c0715(0x420)](_0x2f489d){var _0x29689a=_0x5c0715,_0xafa110,_0x5aee90,_0x2ee120;return(_0x2ee120=(_0x5aee90=(_0xafa110=this['_handler'])[_0x29689a(0x3c0)])==null?void 0x0:_0x5aee90[_0x29689a(0x36a)](_0xafa110,_0x2f489d))!=null?_0x2ee120:_0x2f489d;}['_transformRemoteChangesetByStateCache'](_0x2750af){var _0x4101db=_0x5c0715,_0xafc152,_0x1b5b6a,_0x5530c0;return(_0x5530c0=(_0x1b5b6a=(_0xafc152=this[_0x4101db(0x406)])[_0x4101db(0x40c)])==null?void 0x0:_0x1b5b6a[_0x4101db(0x36a)](_0xafc152,_0x2750af))!=null?_0x5530c0:_0x2750af;}[_0x5c0715(0x442)](_0xb83c1b){var _0xe7c11b=_0x5c0715,_0x403e3b,_0x21b2a2;if(this[_0xe7c11b(0x3ee)]===Z['UNIVER_DOC']){const {unitID:_0x118789,mutations:_0x477852,memberID:_0x1f1914}=_0xb83c1b,_0x317c5d=_0x477852[0x0][_0xe7c11b(0x2bf)][_0xe7c11b(0x3f2)];Array[_0xe7c11b(0x1c5)](_0x317c5d)&&_0x317c5d[_0xe7c11b(0x1b2)]>0x0&&((_0x21b2a2=(_0x403e3b=this['_handler'])[_0xe7c11b(0x4b2)])==null||_0x21b2a2['call'](_0x403e3b,{'unitID':_0x118789,'memberID':_0x1f1914,'textRanges':_0x317c5d}));}}[_0x5c0715(0x43d)](){var _0x2e2b2e=_0x5c0715,_0x1a0210;(_0x1a0210=this[_0x2e2b2e(0x394)])==null||_0x1a0210[_0x2e2b2e(0x40a)](this[_0x2e2b2e(0x2dc)],this[_0x2e2b2e(0x3ee)],this['_awaitingChangeset'],this[_0x2e2b2e(0x286)]);}['_getCurrentRevision'](){var _0x5aa4ad=_0x5c0715;return this['_revisionService'][_0x5aa4ad(0x1fc)](this['unitID']);}[_0x5c0715(0x489)](){var _0x527ede=_0x5c0715;this['_revisionService'][_0x527ede(0x457)](this[_0x527ede(0x2dc)]);}['_executeRemoteChangeset'](_0x3f0de3){var _0x554fb6=_0x5c0715,_0x314e8c;let _0x255c20=this[_0x554fb6(0x420)](_0x3f0de3);_0x255c20=this[_0x554fb6(0x1de)](_0x255c20);const _0x1e5477=a[_0x554fb6(0x432)](_0x255c20['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1e5477[_0x554fb6(0x2f2)])throw _0x1e5477['error']instanceof Error?_0x1e5477['error']:new Error((_0x314e8c=_0x1e5477['error'])!=null?_0x314e8c:'[CollaborationState]:\x20apply\x20error!');this[_0x554fb6(0x3bc)](_0x255c20),this[_0x554fb6(0x4ca)](_0x255c20),this[_0x554fb6(0x39e)](_0x3f0de3),this['_transformSelections'](_0x255c20),this[_0x554fb6(0x442)](_0x255c20),this[_0x554fb6(0x489)]();}}exports[_0x5c0715(0x2d3)]=class extends _e{constructor(_0x27beb8,_0x49dac6,_0x37bf0,_0x1bbe91,_0x3bff4e,_0x48a86e,_0x21a045,_0x5a48dc,_0x3b09d8,_0x1463f9){var _0x4d6045=_0x5c0715;super(_0x27beb8,_0x49dac6,null,[],_0x37bf0,_0x21a045,_0x48a86e,_0x1bbe91,_0x1463f9),D(this,_0x4d6045(0x4c5),_0x4d6045(0x211)),(this['_injector']=_0x3bff4e,this[_0x4d6045(0x4c1)]=_0x5a48dc,this[_0x4d6045(0x4a8)]=_0x3b09d8,this[_0x4d6045(0x419)]=_0x1463f9);}[_0x5c0715(0x25e)](_0x4f1343){var _0x52b6da=_0x5c0715;const _0x3302bd=this['_injector'][_0x52b6da(0x333)](exports[_0x52b6da(0x3ae)],this[_0x52b6da(0x2dc)],this[_0x52b6da(0x3ee)],[_0x4f1343],this[_0x52b6da(0x406)]);return _0x3302bd[_0x52b6da(0x252)](),_0x3302bd['_updateLocalCache'](),_0x3302bd;}[_0x5c0715(0x3af)](_0x536d24){var _0x453968=_0x5c0715;if(this[_0x453968(0x42e)](_0x536d24))return this[_0x453968(0x305)][_0x453968(0x333)](exports[_0x453968(0x4bc)],this[_0x453968(0x2dc)],this[_0x453968(0x3ee)],null,[],null,[_0x536d24],this[_0x453968(0x406)]);try{const _0x2d09eb=this['_transformService'][_0x453968(0x23a)](_0x536d24,[yn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2d09eb)){const {c1Prime:_0x583714}=_0x2d09eb;return this[_0x453968(0x233)](_0x583714),this;}throw _0x2d09eb['error'];}catch(_0x529b1a){return this['_logService'][_0x453968(0x2e6)](_0x529b1a),this[_0x453968(0x4d2)](!0x1);}}['_onConflict'](_0x564194){var _0x42b4c2=_0x5c0715;return this['_injector'][_0x42b4c2(0x333)](exports[_0x42b4c2(0x413)],this[_0x42b4c2(0x2dc)],this[_0x42b4c2(0x3ee)],null,[],this[_0x42b4c2(0x406)],_0x564194);}[_0x5c0715(0x48e)](){var _0x2ef99e=_0x5c0715;throw new Error(_0x2ef99e(0x2d2));}[_0x5c0715(0x196)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5c0715(0x3e9)](){var _0x5a872c=_0x5c0715;return this['_injector'][_0x5a872c(0x333)](exports['OfflineState'],this[_0x5a872c(0x2dc)],this[_0x5a872c(0x3ee)],null,[],this[_0x5a872c(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x352)](){var _0x75a08b=_0x5c0715;throw new Error(_0x75a08b(0x4df));}[_0x5c0715(0x4ae)](){var _0x22adf6=_0x5c0715;const _0x36532e=this['_revisionService'][_0x22adf6(0x1fc)](this[_0x22adf6(0x2dc)]);return this[_0x22adf6(0x406)]['onMissingChangesets']({'from':_0x36532e,'to':0x0}),this[_0x22adf6(0x305)]['createInstance'](exports[_0x22adf6(0x4bc)],this[_0x22adf6(0x2dc)],this[_0x22adf6(0x3ee)],null,[],null,[],this[_0x22adf6(0x406)]);}},exports[_0x5c0715(0x2d3)]=le([A(0x3,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x5c0715(0x496)]),A(0x6,a[_0x5c0715(0x339)]),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,m[_0x5c0715(0x2fe)]),A(0x9,a['Optional'](z))],exports[_0x5c0715(0x2d3)]),exports[_0x5c0715(0x3ae)]=class extends _e{constructor(_0x9e2fce,_0x3cd7bc,_0x48fbb1,_0x53865d,_0x4577cb,_0x26c702,_0x32143b,_0x235da8,_0x2cc6a5,_0x3aeec5,_0x395995,_0x2f54aa,_0x55d010,_0x5d17fe){var _0x3cc85f=_0x5c0715;super(_0x9e2fce,_0x3cd7bc,null,_0x48fbb1,_0x53865d,_0x2cc6a5,_0x55d010,_0x26c702,_0x5d17fe),D(this,_0x3cc85f(0x4c5),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x3cc85f(0x1c9),null),(this[_0x3cc85f(0x305)]=_0x4577cb,this[_0x3cc85f(0x4c8)]=_0x32143b,this[_0x3cc85f(0x4c1)]=_0x235da8,this[_0x3cc85f(0x444)]=_0x3aeec5,this['_transformService']=_0x395995,this[_0x3cc85f(0x445)]=_0x2f54aa);}[_0x5c0715(0x25e)](_0x5960e1){var _0x15cfc7=_0x5c0715;return this[_0x15cfc7(0x286)]['push'](_0x5960e1),this[_0x15cfc7(0x43d)](),this;}[_0x5c0715(0x3af)](_0x703651){var _0xacc1fd=_0x5c0715;if(this[_0xacc1fd(0x42e)](_0x703651))return this[_0xacc1fd(0x35d)](),this[_0xacc1fd(0x305)]['createInstance'](exports[_0xacc1fd(0x4bc)],this[_0xacc1fd(0x2dc)],this[_0xacc1fd(0x3ee)],null,this[_0xacc1fd(0x286)],null,[_0x703651],this[_0xacc1fd(0x406)]);try{const _0x12cef5=this[_0xacc1fd(0x4a8)][_0xacc1fd(0x23a)](_0x703651,this[_0xacc1fd(0x286)]);if(m[_0xacc1fd(0x21e)](_0x12cef5)){const {c1Prime:_0x1c7a20,m2Prime:_0x3a311f}=_0x12cef5;this[_0xacc1fd(0x233)](_0x1c7a20);const _0x35d458=this[_0xacc1fd(0x305)][_0xacc1fd(0x333)](exports[_0xacc1fd(0x3ae)],this[_0xacc1fd(0x2dc)],this[_0xacc1fd(0x3ee)],_0x3a311f,this[_0xacc1fd(0x406)]);this['_clearScheduledTask']();const _0x2768d8=new Date()[_0xacc1fd(0x404)](),_0x49e6a3=this[_0xacc1fd(0x1a0)]?Math[_0xacc1fd(0x34a)](this[_0xacc1fd(0x1a0)]-_0x2768d8,0x0):this[_0xacc1fd(0x223)]();return _0x35d458['_schedule'](_0x49e6a3),_0x35d458;}throw _0x12cef5[_0xacc1fd(0x2e6)];}catch(_0x20f8d6){return this['_logService']['error'](_0x20f8d6),this[_0xacc1fd(0x4d2)](!0x1);}}['onRemoteAck'](){var _0x64fef2=_0x5c0715;throw new Error(_0x64fef2(0x2ec));}[_0x5c0715(0x196)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x5c0715(0x4a3)](){return this;}['toggleOffline'](){var _0x2ce179=_0x5c0715;return this['_clearScheduledTask'](),this['_injector'][_0x2ce179(0x333)](exports[_0x2ce179(0x32f)],this['unitID'],this[_0x2ce179(0x3ee)],null,this[_0x2ce179(0x286)],this[_0x2ce179(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x252)](_0x3df1e3){var _0x368713=_0x5c0715;const _0x48b4b=_0x3df1e3!=null?_0x3df1e3:this[_0x368713(0x223)]();this[_0x368713(0x1a0)]=new Date()['getTime']()+_0x48b4b,this[_0x368713(0x1c9)]=setTimeout(()=>{var _0x38ee90=_0x368713;this['_clearScheduledTask']();let _0x26b4ca=null;switch(this[_0x38ee90(0x3ee)]){case Z[_0x38ee90(0x4d0)]:{_0x26b4ca=Je(this[_0x38ee90(0x286)],this['unitID'],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this[_0x38ee90(0x4c8)]);break;}case Z[_0x38ee90(0x3d8)]:{this[_0x38ee90(0x286)][_0x38ee90(0x3fa)](_0x40f827=>_0x40f827['id']===dt['RichTextEditingMutation']['id'])?_0x26b4ca=On(this[_0x38ee90(0x286)],this['unitID'],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this[_0x38ee90(0x4c8)]):_0x26b4ca=Je(this['_pendingMutations'],this[_0x38ee90(0x2dc)],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x38ee90(0x4e3));}const {changeset:_0x5669af,pendingMutations:_0x18629d}=_0x26b4ca;this['_handler'][_0x38ee90(0x1e0)](_0x5669af);const _0x27e619=_0x18629d['length']?this['_injector'][_0x38ee90(0x333)](exports[_0x38ee90(0x465)],this[_0x38ee90(0x2dc)],this[_0x38ee90(0x3ee)],_0x5669af,_0x18629d,this[_0x38ee90(0x406)],void 0x0):this[_0x38ee90(0x305)][_0x38ee90(0x333)](exports[_0x38ee90(0x27a)],this[_0x38ee90(0x2dc)],this['type'],_0x5669af,this[_0x38ee90(0x406)]);_0x27e619[_0x38ee90(0x43d)](),this['_handler'][_0x38ee90(0x213)](this,_0x27e619);},_0x48b4b);}[_0x5c0715(0x223)](){var _0x41f6be=_0x5c0715,_0x23aa0d;const _0xb253e0=this[_0x41f6be(0x444)][_0x41f6be(0x39c)](Y);return(_0x23aa0d=_0xb253e0==null?void 0x0:_0xb253e0[_0x41f6be(0x37c)])!=null?_0x23aa0d:Bt;}[_0x5c0715(0x352)](){var _0x4a7333=_0x5c0715;throw new Error(_0x4a7333(0x2f6));}['_clearScheduledTask'](){var _0x5a2f05=_0x5c0715;this[_0x5a2f05(0x1c9)]!=null&&(clearTimeout(this[_0x5a2f05(0x1c9)]),this[_0x5a2f05(0x1c9)]=null);}[_0x5c0715(0x4d2)](_0x39716d){var _0x326761=_0x5c0715;return this[_0x326761(0x35d)](),this[_0x326761(0x305)][_0x326761(0x333)](exports[_0x326761(0x413)],this[_0x326761(0x2dc)],this[_0x326761(0x3ee)],null,this['_pendingMutations'],this[_0x326761(0x406)],_0x39716d);}},exports[_0x5c0715(0x3ae)]=le([A(0x4,a['Inject'](a[_0x5c0715(0x433)])),A(0x5,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x6,a[_0x5c0715(0x49b)](exports['MemberService'])),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,a['ICommandService']),A(0x9,a[_0x5c0715(0x468)]),A(0xa,m[_0x5c0715(0x2fe)]),A(0xb,a[_0x5c0715(0x48b)]),A(0xc,a['IUndoRedoService']),A(0xd,a[_0x5c0715(0x4d5)](z))],exports['PendingState']),exports[_0x5c0715(0x27a)]=class extends _e{constructor(_0x2b2d06,_0x28b11b,_0x596949,_0x1813fb,_0x3ae0a2,_0x509bd7,_0xb27b51,_0x1e2cf8,_0x377f65,_0x432748,_0x33ec4a){var _0x11d0d1=_0x5c0715;super(_0x2b2d06,_0x28b11b,_0x596949,[],_0x1813fb,_0xb27b51,_0x432748,_0x509bd7,_0x33ec4a),D(this,'status',_0x11d0d1(0x271)),D(this,_0x11d0d1(0x26f),0x0),D(this,_0x11d0d1(0x18a)),D(this,_0x11d0d1(0x25f)),(this[_0x11d0d1(0x305)]=_0x3ae0a2,this[_0x11d0d1(0x4c1)]=_0x1e2cf8,this['_transformService']=_0x377f65);}['appendMutation'](_0x33fdf1){var _0x1c71f2=_0x5c0715;this[_0x1c71f2(0x35d)]();const _0x541940=this[_0x1c71f2(0x305)][_0x1c71f2(0x333)](exports[_0x1c71f2(0x465)],this[_0x1c71f2(0x2dc)],this[_0x1c71f2(0x3ee)],this[_0x1c71f2(0x1f0)],[_0x33fdf1],this[_0x1c71f2(0x406)],this[_0x1c71f2(0x18a)]);return _0x541940[_0x1c71f2(0x43d)](),_0x541940;}['onRemoteChangeset'](_0xab52b0){var _0x58bfdb=_0x5c0715;if(this[_0x58bfdb(0x42e)](_0xab52b0))return this['_clearScheduledTask'](),this[_0x58bfdb(0x305)]['createInstance'](exports[_0x58bfdb(0x4bc)],this['unitID'],this[_0x58bfdb(0x3ee)],this[_0x58bfdb(0x1f0)],[],null,[_0xab52b0],this['_handler']);try{const _0x43009c=this[_0x58bfdb(0x4a8)][_0x58bfdb(0x1ab)]([_0xab52b0],[this[_0x58bfdb(0x1f0)]],!0x1);if(m[_0x58bfdb(0x3b4)](_0x43009c)){const {c1Prime:_0x179525,c2Prime:_0x47a415}=_0x43009c;this[_0x58bfdb(0x233)](_0x179525[0x0]),_0x47a415[0x0][_0x58bfdb(0x2a6)]=this[_0x58bfdb(0x224)](),this['_clearScheduledTask']();const _0x2481c2=this['_injector'][_0x58bfdb(0x333)](exports['AwaitingState'],this[_0x58bfdb(0x2dc)],this[_0x58bfdb(0x3ee)],_0x47a415[0x0],this[_0x58bfdb(0x406)]);return _0x2481c2['_updateLocalCache'](),_0x2481c2;}return this[_0x58bfdb(0x4d2)](!0x1);}catch(_0x574b2f){return this[_0x58bfdb(0x4c1)][_0x58bfdb(0x2e6)](_0x574b2f),this['_onConflict'](!0x1);}}[_0x5c0715(0x48e)](_0xe732b6){var _0xa7ca1a=_0x5c0715;this[_0xa7ca1a(0x35d)]();const _0x3ba2d5=this[_0xa7ca1a(0x3d2)][_0xa7ca1a(0x1fc)](this['unitID']);if(_0xe732b6[_0xa7ca1a(0x236)]<_0x3ba2d5-0x1)return this;if(this[_0xa7ca1a(0x42e)](_0xe732b6))return this[_0xa7ca1a(0x305)]['createInstance'](exports[_0xa7ca1a(0x4bc)],this[_0xa7ca1a(0x2dc)],this[_0xa7ca1a(0x3ee)],null,[],this[_0xa7ca1a(0x1f0)],[],this[_0xa7ca1a(0x406)]);this[_0xa7ca1a(0x489)]();const _0x4d40a4=this[_0xa7ca1a(0x305)][_0xa7ca1a(0x333)](exports['SyncedState'],this['unitID'],this[_0xa7ca1a(0x3ee)],this[_0xa7ca1a(0x406)]);return _0x4d40a4['_updateLocalCache'](),_0x4d40a4;}['onRemoteRej'](_0x5d60db){var _0x8fd9c3=_0x5c0715;return this[_0x8fd9c3(0x4d2)](!!(_0x5d60db!=null&&_0x5d60db[_0x8fd9c3(0x4e7)]));}['onRemoteRetry'](_0x3ff108){var _0x2abd20=_0x5c0715;return this[_0x2abd20(0x26f)]>Ut?this[_0x2abd20(0x3e9)]():(this['_resendTimer']=Nt(this[_0x2abd20(0x26f)],{'timeout':this[_0x2abd20(0x26f)],'reqId':_0x3ff108[_0x2abd20(0x1c1)]}),this[_0x2abd20(0x25f)]=this[_0x2abd20(0x18a)][_0x2abd20(0x24f)](({reqId:_0x53ea67,timeout:_0x24ca2a})=>{this['_resendWithTimeout'](_0x53ea67,_0x24ca2a);}),this);}[_0x5c0715(0x3e9)](){var _0x1dd454=_0x5c0715;return this[_0x1dd454(0x35d)](),this[_0x1dd454(0x305)][_0x1dd454(0x333)](exports['OfflineState'],this[_0x1dd454(0x2dc)],this[_0x1dd454(0x3ee)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x34fe5a=_0x5c0715;this[_0x34fe5a(0x406)][_0x34fe5a(0x1e0)](this[_0x34fe5a(0x1f0)]);}[_0x5c0715(0x4d2)](_0x32e986){var _0xc77c24=_0x5c0715;return this[_0xc77c24(0x35d)](),this['_injector'][_0xc77c24(0x333)](exports[_0xc77c24(0x413)],this[_0xc77c24(0x2dc)],this['type'],this[_0xc77c24(0x1f0)],[],this[_0xc77c24(0x406)],_0x32e986);}[_0x5c0715(0x2d6)](_0x233093,_0x568943){var _0x3d5770=_0x5c0715,_0x43a70f;_0x233093===((_0x43a70f=this[_0x3d5770(0x1f0)])==null?void 0x0:_0x43a70f['reqId'])&&(this[_0x3d5770(0x352)](),this['_resendTimeout']=_0x568943===0x0?0x3e8:_0x568943*0x2);}[_0x5c0715(0x35d)](){var _0x2f6f6e=_0x5c0715,_0x322390;(_0x322390=this['_sender'])==null||_0x322390[_0x2f6f6e(0x245)](),this[_0x2f6f6e(0x26f)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),A(0x5,a[_0x5c0715(0x49b)](m['RevisionService'])),A(0x6,a[_0x5c0715(0x339)]),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,m['ITransformService']),A(0x9,a[_0x5c0715(0x496)]),A(0xa,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x27a)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x3468dd,_0x4da7a9,_0x30f209,_0x5b7a04,_0x407e6d,_0x1065e0,_0x4f855c,_0x446467,_0x24d0ee,_0x400ed4,_0x54a17e,_0x3cbf36,_0x57944f){var _0x304b42=_0x5c0715;super(_0x3468dd,_0x4da7a9,_0x30f209,_0x5b7a04,_0x407e6d,_0x24d0ee,_0x3cbf36,_0x446467,_0x57944f),D(this,'status','awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,_0x304b42(0x18a)),D(this,_0x304b42(0x25f)),(this['_injector']=_0x4f855c,this[_0x304b42(0x4c1)]=_0x400ed4,this['_transformService']=_0x54a17e,this[_0x304b42(0x419)]=_0x57944f,_0x1065e0&&(this[_0x304b42(0x18a)]=_0x1065e0,this['_sender']=this[_0x304b42(0x18a)]['subscribe'](({reqId:_0x1f2e71,timeout:_0x2c3275})=>{var _0x25c013=_0x304b42;this[_0x25c013(0x2d6)](_0x1f2e71,_0x2c3275);})));}[_0x5c0715(0x25e)](_0x135d5e){var _0x3f7651=_0x5c0715;return this[_0x3f7651(0x286)][_0x3f7651(0x3aa)](_0x135d5e),this;}['onRemoteChangeset'](_0x24dde1){var _0x2f8373=_0x5c0715;if(this[_0x2f8373(0x42e)](_0x24dde1))return this[_0x2f8373(0x35d)](),this[_0x2f8373(0x305)]['createInstance'](exports['FetchingMissState'],this[_0x2f8373(0x2dc)],this[_0x2f8373(0x3ee)],this[_0x2f8373(0x1f0)],this[_0x2f8373(0x286)],null,[_0x24dde1],this[_0x2f8373(0x406)]);try{const _0x3caacd=this[_0x2f8373(0x4a8)][_0x2f8373(0x1ab)]([_0x24dde1],[this[_0x2f8373(0x1f0)]],!0x1);if(m[_0x2f8373(0x3b4)](_0x3caacd)){const {c1Prime:_0x2f7858,c2Prime:_0x2246fa}=_0x3caacd,_0x105efc=this[_0x2f8373(0x4a8)]['transformMutationsWithChangeset'](_0x2f7858[0x0],this[_0x2f8373(0x286)]);if(m[_0x2f8373(0x21e)](_0x105efc)){const {c1Prime:_0x22a8bd,m2Prime:_0x5052f2}=_0x105efc;return this[_0x2f8373(0x233)](_0x22a8bd),_0x2246fa[0x0][_0x2f8373(0x2a6)]=this[_0x2f8373(0x224)](),this[_0x2f8373(0x35d)](),this[_0x2f8373(0x305)]['createInstance'](exports[_0x2f8373(0x465)],this[_0x2f8373(0x2dc)],this[_0x2f8373(0x3ee)],_0x2246fa[0x0],_0x5052f2,this[_0x2f8373(0x406)],void 0x0);}throw _0x105efc[_0x2f8373(0x2e6)];}throw _0x3caacd[_0x2f8373(0x2e6)];}catch(_0x574c4f){return this['_logService'][_0x2f8373(0x2e6)](_0x574c4f),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x22c3a5){var _0x3c37ab=_0x5c0715;if(this[_0x3c37ab(0x35d)](),this['_checkMissing'](_0x22c3a5))return this[_0x3c37ab(0x305)]['createInstance'](exports[_0x3c37ab(0x4bc)],this['unitID'],this[_0x3c37ab(0x3ee)],null,this[_0x3c37ab(0x286)],this[_0x3c37ab(0x1f0)],[],this['_handler']);this[_0x3c37ab(0x489)]();const _0x101073=this['_injector'][_0x3c37ab(0x333)](exports[_0x3c37ab(0x3ae)],this[_0x3c37ab(0x2dc)],this[_0x3c37ab(0x3ee)],this['_pendingMutations'],this[_0x3c37ab(0x406)]);return _0x101073['_schedule'](),_0x101073['_updateLocalCache'](),_0x101073;}[_0x5c0715(0x196)](_0x45e5e5){var _0x4ca650=_0x5c0715;return this[_0x4ca650(0x4d2)](!!(_0x45e5e5!=null&&_0x45e5e5[_0x4ca650(0x4e7)]));}[_0x5c0715(0x4a3)](_0x4d82a8){var _0x9393cd=_0x5c0715;return this[_0x9393cd(0x26f)]>Ut?this['toggleOffline']():(this[_0x9393cd(0x18a)]=Nt(this[_0x9393cd(0x26f)],{'timeout':this[_0x9393cd(0x26f)],'reqId':_0x4d82a8[_0x9393cd(0x1c1)]}),this[_0x9393cd(0x25f)]=this[_0x9393cd(0x18a)][_0x9393cd(0x24f)](({reqId:_0x29eed3,timeout:_0x3d65f0})=>{this['_resendWithTimeout'](_0x29eed3,_0x3d65f0);}),this);}[_0x5c0715(0x3e9)](){var _0xec4d2e=_0x5c0715;return this[_0xec4d2e(0x35d)](),this[_0xec4d2e(0x305)][_0xec4d2e(0x333)](exports[_0xec4d2e(0x32f)],this['unitID'],this['type'],this[_0xec4d2e(0x1f0)],this[_0xec4d2e(0x286)],this[_0xec4d2e(0x406)]);}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x1c04d6=_0x5c0715;this[_0x1c04d6(0x406)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5c0715(0x4d2)](_0x2b6d1e){var _0x32bb3b=_0x5c0715;return this['_clearScheduledTask'](),this[_0x32bb3b(0x305)]['createInstance'](exports[_0x32bb3b(0x413)],this[_0x32bb3b(0x2dc)],this[_0x32bb3b(0x3ee)],null,this[_0x32bb3b(0x286)],this['_handler'],_0x2b6d1e);}['_resendWithTimeout'](_0x5484b,_0x25b222){var _0x5069ae=_0x5c0715,_0x47c915;_0x5484b===((_0x47c915=this[_0x5069ae(0x1f0)])==null?void 0x0:_0x47c915[_0x5069ae(0x1c1)])&&(this[_0x5069ae(0x352)](),this[_0x5069ae(0x26f)]=_0x25b222===0x0?0x3e8:_0x25b222*0x2);}[_0x5c0715(0x35d)](){var _0x53b31c=_0x5c0715,_0xfa54e6;(_0xfa54e6=this[_0x53b31c(0x25f)])==null||_0xfa54e6[_0x53b31c(0x245)](),this[_0x53b31c(0x26f)]=0x0;}},exports[_0x5c0715(0x465)]=le([A(0x6,a[_0x5c0715(0x49b)](a['Injector'])),A(0x7,a[_0x5c0715(0x49b)](m['RevisionService'])),A(0x8,a[_0x5c0715(0x339)]),A(0x9,a[_0x5c0715(0x49f)]),A(0xa,m[_0x5c0715(0x2fe)]),A(0xb,a[_0x5c0715(0x496)]),A(0xc,a['Optional'](z))],exports[_0x5c0715(0x465)]),exports['ConflictState']=class extends _e{constructor(_0x2d2193,_0x2bbcb1,_0x5a3e94,_0x2da887,_0x10b0cc,_0x149869=!0x1,_0x34102d,_0x496c70,_0x5dc1e2,_0x127781,_0x4ed44b,_0x5a8e0e,_0x337fce){var _0x352445=_0x5c0715;super(_0x2d2193,_0x2bbcb1,_0x5a3e94,_0x2da887,_0x10b0cc,_0x496c70,_0x5dc1e2,_0x127781,_0x337fce),D(this,_0x352445(0x4c5),_0x352445(0x331)),(this['_isPermissionRej']=_0x149869,this['_permissionService']=_0x34102d,this[_0x352445(0x310)]=_0x4ed44b,this[_0x352445(0x2d7)]=_0x5a8e0e,this['localCacheService']=_0x337fce,this['_showConflictNotification'](),this[_0x352445(0x372)](),this[_0x352445(0x48a)]());}[_0x5c0715(0x25e)](){return this;}[_0x5c0715(0x3af)](){return this;}['onRemoteAck'](){return this;}[_0x5c0715(0x196)](){return this;}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){return this;}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x43556d=_0x5c0715;throw new Error(_0x43556d(0x418));}[_0x5c0715(0x372)](){var _0x2335ab=_0x5c0715,_0x3ab14a;(_0x3ab14a=this['_localCacheService'])==null||_0x3ab14a[_0x2335ab(0x40a)](this['unitID'],this[_0x2335ab(0x3ee)],null,[]);}[_0x5c0715(0x4f3)](){var _0x4e6cba=_0x5c0715;this[_0x4e6cba(0x3c3)]?this[_0x4e6cba(0x2d7)][_0x4e6cba(0x3f0)]({'id':Q['PERMISSION_DENIED']}):this[_0x4e6cba(0x2d7)][_0x4e6cba(0x3f0)]({'id':Q[_0x4e6cba(0x4cc)]});}[_0x5c0715(0x48a)](){var _0x480533=_0x5c0715;this[_0x480533(0x4be)][_0x480533(0x3f6)](new J[(_0x480533(0x205))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0x5c0715(0x49b)](a[_0x5c0715(0x40d)])),A(0x7,a['ICommandService']),A(0x8,a[_0x5c0715(0x496)]),A(0x9,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0xa,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),A(0xb,a[_0x5c0715(0x49b)](te)),A(0xc,a[_0x5c0715(0x4d5)](z))],exports['ConflictState']),exports[_0x5c0715(0x32f)]=class extends _e{constructor(_0x514df5,_0x3d7e60,_0x423cb7,_0x546888,_0x46037c,_0x35dc5f,_0x39637b,_0x39296b,_0x5c2435,_0xa6046d){var _0x13dbee=_0x5c0715;super(_0x514df5,_0x3d7e60,_0x423cb7,_0x546888,_0x46037c,_0x39296b,_0x5c2435,_0x39637b,_0xa6046d),D(this,_0x13dbee(0x4c5),'offline'),this[_0x13dbee(0x305)]=_0x35dc5f;}[_0x5c0715(0x25e)](_0x5a8299){var _0x3458a8=_0x5c0715;return this[_0x3458a8(0x286)][_0x3458a8(0x3aa)](_0x5a8299),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x243482){var _0x2fa3a7=_0x5c0715;throw new Error(_0x2fa3a7(0x23c));}[_0x5c0715(0x48e)](){var _0xaed479=_0x5c0715;throw new Error(_0xaed479(0x2d8));}[_0x5c0715(0x196)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){return this;}[_0x5c0715(0x4f1)](){var _0x59ddc8=_0x5c0715;const {_injector:_0x4f63db,_pendingMutations:_0x22c999,_awaitingChangeset:_0x47592a,unitID:_0x23b9c9,_handler:_0x2636d2,type:_0x2805c0}=this,_0x2988fa=Pt(_0x4f63db,_0x23b9c9,_0x2805c0,_0x47592a,_0x22c999,_0x2636d2);return _0x2988fa instanceof exports[_0x59ddc8(0x3ae)]?_0x2988fa['_schedule']():(_0x2988fa instanceof exports[_0x59ddc8(0x465)]||_0x2988fa instanceof exports['AwaitingState'])&&_0x2988fa[_0x59ddc8(0x352)](),_0x2988fa;}[_0x5c0715(0x352)](){var _0x116dbf=_0x5c0715;throw new Error(_0x116dbf(0x3fd));}},exports[_0x5c0715(0x32f)]=le([A(0x5,a['Inject'](a['Injector'])),A(0x6,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x7,a[_0x5c0715(0x339)]),A(0x8,a[_0x5c0715(0x496)]),A(0x9,a[_0x5c0715(0x4d5)](z))],exports['OfflineState']),exports['FetchingMissState']=class extends _e{constructor(_0x569ead,_0x1c3e86,_0x28eb61,_0x479481,_0x38cdca,_0x154e7d,_0x5b0282,_0x26a2a7,_0x4e686f,_0xadeef8,_0x418274,_0x16eb49,_0x13868e,_0x2ee229){var _0x278559=_0x5c0715;super(_0x569ead,_0x1c3e86,_0x28eb61,_0x479481,_0x5b0282,_0x418274,_0x16eb49,_0x4e686f,_0x2ee229),D(this,'status',_0x278559(0x355)),(this[_0x278559(0x2e0)]=_0x38cdca,this[_0x278559(0x43a)]=_0x154e7d,this[_0x278559(0x305)]=_0x26a2a7,this[_0x278559(0x4c1)]=_0xadeef8,this['_transformService']=_0x13868e,this['localCacheService']=_0x2ee229);}[_0x5c0715(0x1dd)](_0x531c49){var _0x40bd16=_0x5c0715;try{const _0x5e8e88=[..._0x531c49,...this[_0x40bd16(0x43a)]],_0x322152=[this[_0x40bd16(0x1f0)]||this['_acknowledgedAwaitingChangeset']][_0x40bd16(0x4e6)](_0x1807b7=>!!_0x1807b7);let _0x5089e8,_0x3c8c76;if(_0x322152[_0x40bd16(0x1b2)]){const _0x5a5766=this[_0x40bd16(0x4a8)][_0x40bd16(0x1ab)](_0x5e8e88,_0x322152,!0x1);if(!m[_0x40bd16(0x3b4)](_0x5a5766))throw _0x5a5766['error'];_0x5089e8=_0x5a5766['c1Prime'],_0x3c8c76=_0x5a5766[_0x40bd16(0x2ca)];}else _0x5089e8=_0x5e8e88,_0x3c8c76=[];let _0x4b40d3=this[_0x40bd16(0x286)];_0x5089e8[_0x40bd16(0x319)](_0x471c2a=>{var _0x8a063c=_0x40bd16;let _0x21741d;if(_0x4b40d3[_0x8a063c(0x1b2)]){const _0x4a3c9a=this[_0x8a063c(0x4a8)]['transformMutationsWithChangeset'](_0x471c2a,_0x4b40d3);if(!m[_0x8a063c(0x21e)](_0x4a3c9a))throw _0x4a3c9a[_0x8a063c(0x2e6)];_0x21741d=_0x4a3c9a[_0x8a063c(0x466)],_0x4b40d3=_0x4a3c9a[_0x8a063c(0x18b)];}else _0x21741d=_0x471c2a;this[_0x8a063c(0x233)](_0x21741d);}),this[_0x40bd16(0x2e0)]&&this[_0x40bd16(0x489)](),this[_0x40bd16(0x1f0)]&&_0x3c8c76['length']&&(_0x3c8c76[0x0][_0x40bd16(0x2a6)]=this['_getCurrentRevision']());let _0xbaaf3c;if(this[_0x40bd16(0x1f0)]&&_0x4b40d3[_0x40bd16(0x1b2)]!==0x0)_0xbaaf3c=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x465)],this[_0x40bd16(0x2dc)],this[_0x40bd16(0x3ee)],_0x3c8c76[0x0],_0x4b40d3,this[_0x40bd16(0x406)],void 0x0);else{if(this[_0x40bd16(0x1f0)]&&_0x4b40d3[_0x40bd16(0x1b2)]===0x0)_0x3c8c76[0x0][_0x40bd16(0x2a6)]=this[_0x40bd16(0x224)](),_0xbaaf3c=this['_injector'][_0x40bd16(0x333)](exports[_0x40bd16(0x27a)],this[_0x40bd16(0x2dc)],this[_0x40bd16(0x3ee)],_0x3c8c76[0x0],this[_0x40bd16(0x406)]);else{if(_0x4b40d3[_0x40bd16(0x1b2)]!==0x0){const _0x427dec=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x3ae)],this[_0x40bd16(0x2dc)],this['type'],_0x4b40d3,this['_handler']);_0x427dec[_0x40bd16(0x252)](),_0xbaaf3c=_0x427dec;}else _0xbaaf3c=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x2d3)],this['unitID'],this[_0x40bd16(0x3ee)],this[_0x40bd16(0x406)]);}}return _0xbaaf3c['_updateLocalCache'](),_0xbaaf3c;}catch(_0x576197){return this[_0x40bd16(0x4c1)][_0x40bd16(0x2e6)](_0x40bd16(0x428),'failed\x20to\x20apply\x20missed\x20changesets!',_0x576197),this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x413)],this[_0x40bd16(0x2dc)],this['type'],this['_awaitingChangeset'],this[_0x40bd16(0x286)],this[_0x40bd16(0x406)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c0715(0x25e)](_0x590406){var _0x5657a5=_0x5c0715;return this[_0x5657a5(0x286)]['push'](_0x590406),this;}[_0x5c0715(0x3af)](_0x48353f){return this['_queuedRemoteChangesets']['push'](_0x48353f),this;}[_0x5c0715(0x48e)](_0x2a29b8){var _0x1a63b8=_0x5c0715;if(this[_0x1a63b8(0x1f0)])return this[_0x1a63b8(0x2e0)]=this[_0x1a63b8(0x1f0)],this['_awaitingChangeset']=null,this;throw new Error(_0x1a63b8(0x316));}[_0x5c0715(0x196)](_0x5aa720){var _0x3483eb=_0x5c0715;return this[_0x3483eb(0x4d2)](!!(_0x5aa720!=null&&_0x5aa720['isPermissionRej']));}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){var _0x5afb26=_0x5c0715;return this['_injector'][_0x5afb26(0x333)](exports[_0x5afb26(0x32f)],this['unitID'],this['type'],this[_0x5afb26(0x1f0)],this[_0x5afb26(0x286)],this[_0x5afb26(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x4d2)](_0x50ab9f){var _0x109d1c=_0x5c0715;return this['_injector'][_0x109d1c(0x333)](exports['ConflictState'],this[_0x109d1c(0x2dc)],this[_0x109d1c(0x3ee)],this[_0x109d1c(0x1f0)],this[_0x109d1c(0x286)],this[_0x109d1c(0x406)],_0x50ab9f);}},exports[_0x5c0715(0x4bc)]=le([A(0x7,a['Inject'](a[_0x5c0715(0x433)])),A(0x8,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x9,a[_0x5c0715(0x49f)]),A(0xa,a['ICommandService']),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x4bc)]);function Pt(_0x67b4ec,_0x32deff,_0x459dc7,_0x206fd2,_0x45f693,_0x56567a){var _0x325c50=_0x5c0715;return _0x206fd2&&_0x45f693[_0x325c50(0x1b2)]?_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x465)],_0x32deff,_0x459dc7,_0x206fd2,_0x45f693,_0x56567a,void 0x0):_0x206fd2?_0x67b4ec['createInstance'](exports['AwaitingState'],_0x32deff,_0x459dc7,_0x206fd2,_0x56567a):_0x45f693[_0x325c50(0x1b2)]?_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x3ae)],_0x32deff,_0x459dc7,_0x45f693,_0x56567a):_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x2d3)],_0x32deff,_0x459dc7,_0x56567a);}var Pn=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xdae540,_0x3fe0b9,_0x1afd8d,_0xc2fb52)=>{var _0x47d4f5=_0x5c0715;for(var _0x488102=_0xc2fb52>0x1?void 0x0:_0xc2fb52?Dn(_0x3fe0b9,_0x1afd8d):_0x3fe0b9,_0x4bb1c4=_0xdae540[_0x47d4f5(0x1b2)]-0x1,_0x101db8;_0x4bb1c4>=0x0;_0x4bb1c4--)(_0x101db8=_0xdae540[_0x4bb1c4])&&(_0x488102=(_0xc2fb52?_0x101db8(_0x3fe0b9,_0x1afd8d,_0x488102):_0x101db8(_0x488102))||_0x488102);return _0xc2fb52&&_0x488102&&Pn(_0x3fe0b9,_0x1afd8d,_0x488102),_0x488102;},k=(_0x41fbff,_0x310239)=>(_0x370ece,_0x4a1f7a)=>_0x310239(_0x370ece,_0x4a1f7a,_0x41fbff);exports[_0x5c0715(0x2db)]=class extends a[_0x5c0715(0x431)]{constructor(_0x4f32c0,_0x3d39aa,_0xad2489,_0x5ac2c3,_0x4f7c08,_0x9d349,_0x5a4578,_0x415761,_0x318590,_0x22daf9,_0x538c7e,_0x265fe1,_0x3353ee){var _0x550485=_0x5c0715;super(),D(this,'_state$',new H['BehaviorSubject'](null)),D(this,'state$',this[_0x550485(0x46b)]['asObservable']()),D(this,_0x550485(0x312)),D(this,_0x550485(0x29c),!0x1),D(this,'_changesetSessionId',''),D(this,_0x550485(0x386),0x0),D(this,_0x550485(0x1e3),this[_0x550485(0x249)][_0x550485(0x3d0)](H['map'](_0x53dec5=>_0x53dec5?_0x53dec5[_0x550485(0x4c5)]:We[_0x550485(0x47e)]),H[_0x550485(0x45d)](0x1))),D(this,_0x550485(0x1d3),!0x1),D(this,_0x550485(0x396),[]),(this['unitID']=_0x4f32c0,this['session']=_0x3d39aa,this['_type']=_0xad2489,this[_0x550485(0x305)]=_0x5ac2c3,this[_0x550485(0x1af)]=_0x4f7c08,this[_0x550485(0x310)]=_0x9d349,this[_0x550485(0x3d2)]=_0x5a4578,this[_0x550485(0x2ba)]=_0x415761,this['_logService']=_0x318590,this['_commandService']=_0x22daf9,this[_0x550485(0x4be)]=_0x538c7e,this[_0x550485(0x1db)]=_0x265fe1,this['_localCacheService']=_0x3353ee);}get[_0x5c0715(0x411)](){return this['_state'];}async[_0x5c0715(0x43f)](){var _0x84d479=_0x5c0715;if(this['state'])throw new Error(_0x84d479(0x481));await this[_0x84d479(0x4e1)]();}[_0x5c0715(0x35f)](){var _0x413bc4=_0x5c0715;return this['_collaborationPaused']=!0x0,a[_0x413bc4(0x3a8)](()=>{var _0x4fb956=_0x413bc4;this[_0x4fb956(0x29c)]=!0x1,this[_0x4fb956(0x37e)]();});}['onLocalMutation'](_0x5e250f){var _0x47a22a=_0x5c0715;this[_0x47a22a(0x1ad)](_0x5e250f);}[_0x5c0715(0x42f)](_0x58ee1a){var _0x481aca=_0x5c0715;this['_state']=_0x58ee1a,this[_0x481aca(0x46b)][_0x481aca(0x195)](_0x58ee1a);}async[_0x5c0715(0x4e1)](){var _0xa4f56a=_0x5c0715,_0x23b3c6;this[_0xa4f56a(0x42f)](await this[_0xa4f56a(0x1ac)]()),this[_0xa4f56a(0x1db)]&&((_0x23b3c6=this[_0xa4f56a(0x1db)])==null||_0x23b3c6[_0xa4f56a(0x4bf)](this[_0xa4f56a(0x2dc)]),this[_0xa4f56a(0x2f7)](this[_0xa4f56a(0x1db)][_0xa4f56a(0x454)](this['unitID'])[_0xa4f56a(0x24f)](_0x5dfe96=>{var _0x225a91=_0xa4f56a;this[_0x225a91(0x4c1)][_0x225a91(0x49c)](_0x225a91(0x19b),_0x225a91(0x377),_0x5dfe96),_0x5dfe96===Fe[_0x225a91(0x33a)]?(this[_0x225a91(0x2ba)][_0x225a91(0x3f0)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x225a91(0x4be)]['updatePermissionPoint'](new J[(_0x225a91(0x205))](this['unitID'])['id'],!0x1),this[_0x225a91(0x4be)][_0x225a91(0x3ea)](!0x1)):(this[_0x225a91(0x4be)][_0x225a91(0x3f6)](new J['WorkbookEditablePermission'](this[_0x225a91(0x2dc)])['id'],!0x0),this[_0x225a91(0x4be)][_0x225a91(0x3ea)](!0x0));})));let _0x32cf44=!0x1;return this[_0xa4f56a(0x2f7)](this['session'][_0xa4f56a(0x30c)][_0xa4f56a(0x24f)](_0x5ca190=>{var _0x418e0d=_0xa4f56a;_0x5ca190===se[_0x418e0d(0x3ec)]?this[_0x418e0d(0x337)](_0x32cf44):_0x5ca190===se[_0x418e0d(0x47e)]&&(_0x32cf44=!0x0,this[_0x418e0d(0x20e)]());})),this['disposeWithMe'](this[_0xa4f56a(0x1e9)][_0xa4f56a(0x2ac)][_0xa4f56a(0x24f)](_0x1b15d4=>{var _0x433d84=_0xa4f56a;try{switch(_0x1b15d4[_0x433d84(0x314)]){case m[_0x433d84(0x2dd)][_0x433d84(0x427)]:{this[_0x433d84(0x2b2)](m[_0x433d84(0x2a1)](_0x1b15d4[_0x433d84(0x2a5)]));break;}case m[_0x433d84(0x2dd)][_0x433d84(0x2cb)]:{this['_onRemoteACK'](_0x1b15d4[_0x433d84(0x2a5)]);break;}case m['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case m[_0x433d84(0x2dd)][_0x433d84(0x3a7)]:{this[_0x433d84(0x1ed)](_0x1b15d4[_0x433d84(0x2a5)]);break;}case m[_0x433d84(0x2dd)][_0x433d84(0x212)]:{this[_0x433d84(0x2f8)](_0x1b15d4[_0x433d84(0x2a5)][_0x433d84(0x284)][_0x433d84(0x4cd)](_0x1d2508=>m[_0x433d84(0x2a1)](_0x1d2508)));break;}case m[_0x433d84(0x2dd)][_0x433d84(0x461)]:{this[_0x433d84(0x424)]({'isPermissionRej':!0x0});break;}case m[_0x433d84(0x2dd)][_0x433d84(0x497)]:break;}}catch(_0x30a78e){throw console[_0x433d84(0x2e6)](_0x433d84(0x262),_0x30a78e),_0x30a78e;}})),this[_0xa4f56a(0x312)];}['_unlockTransition'](){var _0x39e7d6=_0x5c0715;this[_0x39e7d6(0x1d3)]=!0x1;}['_lockTransition'](){var _0x3e446e=_0x5c0715;if(this[_0x3e446e(0x1d3)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3e446e(0x1d3)]=!0x0;}[_0x5c0715(0x1ad)](_0x2cf267){var _0x5317fb=_0x5c0715;this[_0x5317fb(0x43e)](),this[_0x5317fb(0x42f)](this[_0x5317fb(0x312)][_0x5317fb(0x25e)](_0x2cf267)),this[_0x5317fb(0x1f7)]();}[_0x5c0715(0x2b2)](_0x5d8051){var _0x11583f=_0x5c0715;if(!(_0x5d8051[_0x11583f(0x236)]<=this[_0x11583f(0x3d2)][_0x11583f(0x1fc)](this[_0x11583f(0x2dc)]))){if(this[_0x11583f(0x29c)]){this[_0x11583f(0x396)][_0x11583f(0x3aa)](_0x5d8051);return;}this[_0x11583f(0x26e)](_0x5d8051);}}[_0x5c0715(0x37e)](){var _0x25a3cd=_0x5c0715;this['_remoteChangesetQueue'][_0x25a3cd(0x319)](_0x35010c=>this['_applyRemoteChangeset'](_0x35010c)),this[_0x25a3cd(0x396)]=[];}[_0x5c0715(0x26e)](_0x26c67e){var _0x28641b=_0x5c0715;const _0x2b92b3=this[_0x28641b(0x1af)][_0x28641b(0x2ea)][_0x28641b(0x4b7)](this[_0x28641b(0x1af)][_0x28641b(0x2ea)][_0x28641b(0x328)]()[_0x28641b(0x469)])(_0x26c67e[_0x28641b(0x4d7)],null)||_0x26c67e[_0x28641b(0x4d7)],_0x39cf81={..._0x26c67e,'mutations':_0x2b92b3};this['_lockTransition'](),this[_0x28641b(0x42f)](this[_0x28641b(0x312)]['onRemoteChangeset'](_0x39cf81)),this[_0x28641b(0x1f7)]();}[_0x5c0715(0x19c)](_0x49ae02){var _0x563f41=_0x5c0715;this[_0x563f41(0x43e)](),this['_updateState'](this[_0x563f41(0x312)]['onRemoteAck'](_0x49ae02)),this[_0x563f41(0x1f7)]();}[_0x5c0715(0x424)](_0x2fe8bd){var _0x1f3be4=_0x5c0715;this[_0x1f3be4(0x43e)](),this['_updateState'](this['_state'][_0x1f3be4(0x196)](_0x2fe8bd)),this[_0x1f3be4(0x1f7)]();}[_0x5c0715(0x1ed)](_0x75b7b2){var _0x14e98f=_0x5c0715;this['_lockTransition'](),this[_0x14e98f(0x42f)](this[_0x14e98f(0x312)][_0x14e98f(0x4a3)](_0x75b7b2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x435d7b){var _0x40cc07=_0x5c0715;if(!(this[_0x40cc07(0x312)]instanceof exports[_0x40cc07(0x4bc)]))throw new TypeError(_0x40cc07(0x49e));const _0x30d5ba=_0x435d7b['map'](_0x9de357=>{var _0x8753b7=_0x40cc07;const _0x96276e=this[_0x8753b7(0x1af)][_0x8753b7(0x2ea)][_0x8753b7(0x4b7)](this[_0x8753b7(0x1af)][_0x8753b7(0x2ea)][_0x8753b7(0x328)]()['COMPRESS_MUTATION_APPLY'])(_0x9de357['mutations'],null)||_0x9de357[_0x8753b7(0x4d7)];return{..._0x9de357,'mutations':_0x96276e};});this['_lockTransition'](),this[_0x40cc07(0x42f)](this[_0x40cc07(0x312)][_0x40cc07(0x1dd)](_0x30d5ba)),this['_unlockTransition']();}[_0x5c0715(0x20e)](){var _0x592f5c=_0x5c0715;this[_0x592f5c(0x43e)](),this[_0x592f5c(0x42f)](this[_0x592f5c(0x312)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x358bcd=!0x1){var _0x594a3c=_0x5c0715;this['_lockTransition'](),this[_0x594a3c(0x42f)](this[_0x594a3c(0x312)][_0x594a3c(0x4f1)]()),this[_0x594a3c(0x1f7)]();const _0x3a7910=this['_state'];_0x358bcd&&_0x3a7910 instanceof exports[_0x594a3c(0x2d3)]&&(this[_0x594a3c(0x43e)](),this[_0x594a3c(0x42f)](_0x3a7910[_0x594a3c(0x4ae)]()),this[_0x594a3c(0x1f7)]());}async[_0x5c0715(0x1ac)](){return new Promise(_0x4aa8f5=>{var _0x51d946=_0x5fe0;this[_0x51d946(0x1e9)][_0x51d946(0x30c)][_0x51d946(0x3d0)](H[_0x51d946(0x3fb)](0x1))[_0x51d946(0x24f)](async _0x4dd93d=>{var _0x28f06f=_0x51d946;_0x4aa8f5(await this[_0x28f06f(0x4b3)](_0x4dd93d===se[_0x28f06f(0x3ec)]));});});}['_createHandler'](){var _0x581943=_0x5c0715;const _0x105c43=this[_0x581943(0x2dc)];return{'onStateChange':(_0x5694e1,_0x5e4123)=>{var _0x3469b0=_0x581943;if(_0x5694e1!==this['_state'])throw new Error(_0x3469b0(0x35b)+_0x5694e1[_0x3469b0(0x4c5)]+_0x3469b0(0x255)+_0x5e4123['status']+_0x3469b0(0x44f)+this[_0x3469b0(0x312)]['status']);this[_0x3469b0(0x42f)](_0x5e4123);},'onSendChangeset':_0x7a4ad4=>{var _0x3e803b=_0x581943;_0x7a4ad4[_0x3e803b(0x3b6)]||(_0x7a4ad4[_0x3e803b(0x3b6)]=this[_0x3e803b(0x4d6)],_0x7a4ad4[_0x3e803b(0x1c1)]=++this[_0x3e803b(0x386)]);const _0x1e9918={'eventID':m[_0x3e803b(0x2dd)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x7a4ad4[_0x3e803b(0x2dc)],'unitType':this[_0x3e803b(0x2ab)],'changeset':_0x7a4ad4,'memberID':this[_0x3e803b(0x1e9)][_0x3e803b(0x1df)]()}};this[_0x3e803b(0x1e9)][_0x3e803b(0x336)](_0x1e9918,this[_0x3e803b(0x2dc)]);},'onMissingChangesets':({from:_0x12c648,to:_0x149a25})=>{var _0x1a6cbe=_0x581943;this[_0x1a6cbe(0x4c1)]['debug'](_0x1a6cbe(0x19b),_0x1a6cbe(0x18e)+_0x12c648+'\x20to\x20'+_0x149a25);const _0x132c69={'eventID':m['CollaborationEvent'][_0x1a6cbe(0x22e)],'data':{'unitID':_0x105c43,'unitType':this[_0x1a6cbe(0x2ab)],'from':_0x12c648,'to':_0x149a25}};this[_0x1a6cbe(0x1e9)][_0x1a6cbe(0x336)](_0x132c69,this[_0x1a6cbe(0x2dc)]);}};}async[_0x5c0715(0x4b3)](_0x49fd02){var _0x227b29=_0x5c0715,_0x37a94a,_0x14f2ba,_0x347f83;const _0x143b84=await((_0x37a94a=this[_0x227b29(0x394)])==null?void 0x0:_0x37a94a[_0x227b29(0x1d8)](this[_0x227b29(0x2dc)])),_0x529afb=(_0x14f2ba=_0x143b84==null?void 0x0:_0x143b84[_0x227b29(0x4d7)])!=null?_0x14f2ba:[],_0x418c65=(_0x347f83=_0x143b84==null?void 0x0:_0x143b84[_0x227b29(0x3c2)])!=null?_0x347f83:null,_0x5b5679=!!(_0x418c65!=null&&_0x418c65[_0x227b29(0x3b6)])&&!!(_0x418c65!=null&&_0x418c65[_0x227b29(0x1c1)]);this[_0x227b29(0x4d6)]=_0x5b5679?_0x418c65[_0x227b29(0x3b6)]:gn(),this[_0x227b29(0x386)]=_0x5b5679?_0x418c65['reqId']:0x0;const _0x40a3c4=this[_0x227b29(0x2dc)];try{this['_replayCachedMutations'](_0x418c65,_0x529afb);}catch(_0x5a43be){this['_logService']['error'](_0x5a43be);}const _0x19e752=this[_0x227b29(0x441)]();if(_0x49fd02){const _0x9a2c40=Pt(this['_injector'],_0x40a3c4,this['_type'],_0x418c65,_0x529afb,_0x19e752);return _0x9a2c40 instanceof exports[_0x227b29(0x3ae)]?_0x9a2c40[_0x227b29(0x252)]():(_0x9a2c40 instanceof exports[_0x227b29(0x465)]||_0x9a2c40 instanceof exports[_0x227b29(0x27a)])&&_0x9a2c40[_0x227b29(0x352)](),_0x9a2c40;}return this['_injector'][_0x227b29(0x333)](exports[_0x227b29(0x32f)],_0x40a3c4,this['_type'],_0x418c65,_0x529afb,_0x19e752);}[_0x5c0715(0x3ed)](_0x4ab773,_0x272d75){var _0x48e200=_0x5c0715,_0x11e660,_0x30836f;const _0x79f50f=this[_0x48e200(0x1af)][_0x48e200(0x2ea)][_0x48e200(0x4b7)](this[_0x48e200(0x1af)][_0x48e200(0x2ea)][_0x48e200(0x328)]()['COMPRESS_MUTATION_APPLY']);(_0x11e660=_0x79f50f((_0x4ab773==null?void 0x0:_0x4ab773[_0x48e200(0x4d7)])||[],null))==null||_0x11e660[_0x48e200(0x319)](_0x59dbc2=>this[_0x48e200(0x4d1)][_0x48e200(0x23f)](_0x59dbc2['id'],_0x59dbc2['params'])),(_0x30836f=_0x79f50f(_0x272d75||[],null))==null||_0x30836f['forEach'](_0x2c858e=>this[_0x48e200(0x4d1)][_0x48e200(0x23f)](_0x2c858e['id'],_0x2c858e['params']));}},exports['CollaborationEntity']=Ge([k(0x3,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),k(0x4,a[_0x5c0715(0x49b)](m[_0x5c0715(0x1b9)])),k(0x5,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),k(0x6,a['Inject'](m[_0x5c0715(0x2b1)])),k(0x7,a[_0x5c0715(0x49b)](te)),k(0x8,a[_0x5c0715(0x49f)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5c0715(0x40d)]),k(0xb,a[_0x5c0715(0x4d5)](ve)),k(0xc,a['Optional'](z))],exports['CollaborationEntity']),exports[_0x5c0715(0x36e)]=class extends exports[_0x5c0715(0x2db)]{constructor(_0x3f5649,_0xa7a236,_0x111e05,_0x1d09ab,_0x4c92b5,_0x387b78,_0x48f372,_0x34088b,_0x4dc550,_0x4eb982,_0x1d069f,_0x4b27e5,_0x28dddc){var _0x3da6dc=_0x5c0715;super(_0x3f5649,_0x111e05,_0xa7a236,_0x1d09ab,_0x4c92b5,_0x387b78,_0x48f372,_0x34088b,_0x4dc550,_0x4eb982,_0x1d069f,_0x4b27e5,_0x28dddc),D(this,_0x3da6dc(0x437),null),(this[_0x3da6dc(0x2dc)]=_0x3f5649,this[_0x3da6dc(0x3ee)]=_0xa7a236);}[_0x5c0715(0x438)](_0x47d51d){var _0x184f1f=_0x5c0715;this[_0x184f1f(0x437)]=_0x47d51d;}[_0x5c0715(0x185)](){this['_handlerCallback']=null,super['dispose']();}[_0x5c0715(0x441)](){var _0x330c4b=_0x5c0715;const _0xf3ebdb=super[_0x330c4b(0x441)]();return _0xf3ebdb[_0x330c4b(0x440)]=_0x183d4e=>{var _0x44c8dd=_0x330c4b,_0x2108e8,_0x299e81;return(_0x299e81=(_0x2108e8=this[_0x44c8dd(0x437)])==null?void 0x0:_0x2108e8[_0x44c8dd(0x440)])==null?void 0x0:_0x299e81[_0x44c8dd(0x36a)](_0x2108e8,_0x183d4e);},_0xf3ebdb[_0x330c4b(0x4f5)]=_0x2afc92=>{var _0x5ec507=_0x330c4b,_0x162ba7,_0x3a6b57;return(_0x3a6b57=(_0x162ba7=this[_0x5ec507(0x437)])==null?void 0x0:_0x162ba7[_0x5ec507(0x4f5)])==null?void 0x0:_0x3a6b57[_0x5ec507(0x36a)](_0x162ba7,_0x2afc92);},_0xf3ebdb['onTransformSelections']=_0x42bf81=>{var _0x3996df=_0x330c4b,_0x5aa02e,_0x3846ff;return(_0x3846ff=(_0x5aa02e=this[_0x3996df(0x437)])==null?void 0x0:_0x5aa02e[_0x3996df(0x1fe)])==null?void 0x0:_0x3846ff[_0x3996df(0x36a)](_0x5aa02e,_0x42bf81);},_0xf3ebdb['onSyncEditingCollabCursor']=_0x30776f=>{var _0x4c83ad=_0x330c4b,_0x2fe59e,_0xad094f;return(_0xad094f=(_0x2fe59e=this['_handlerCallback'])==null?void 0x0:_0x2fe59e[_0x4c83ad(0x4b2)])==null?void 0x0:_0xad094f[_0x4c83ad(0x36a)](_0x2fe59e,_0x30776f);},_0xf3ebdb[_0x330c4b(0x3c0)]=_0x286c1b=>{var _0x4f8e95=_0x330c4b,_0x21c3a3,_0x347256,_0x51dce8;if(!((_0x21c3a3=this[_0x4f8e95(0x437)])!=null&&_0x21c3a3['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4f8e95(0x3f4));return(_0x51dce8=(_0x347256=this['_handlerCallback'])==null?void 0x0:_0x347256[_0x4f8e95(0x3c0)])==null?void 0x0:_0x51dce8[_0x4f8e95(0x36a)](_0x347256,_0x286c1b);},_0xf3ebdb[_0x330c4b(0x40c)]=_0x22d405=>{var _0x51523e=_0x330c4b,_0x61213c,_0x334e70,_0x27bc7c;if(!((_0x61213c=this['_handlerCallback'])!=null&&_0x61213c[_0x51523e(0x40c)]))throw new Error(_0x51523e(0x4ed));return(_0x27bc7c=(_0x334e70=this['_handlerCallback'])==null?void 0x0:_0x334e70[_0x51523e(0x40c)])==null?void 0x0:_0x27bc7c[_0x51523e(0x36a)](_0x334e70,_0x22d405);},_0xf3ebdb;}async[_0x5c0715(0x4e1)](){var _0x154a0b=_0x5c0715;const _0x2799fe=await super['_init']();return this[_0x154a0b(0x2f7)](this[_0x154a0b(0x4d1)][_0x154a0b(0x2e3)]((_0x4b8cdd,_0x58ce98)=>{var _0xd2aa38=_0x154a0b;if(_0x4b8cdd['type']!==a[_0xd2aa38(0x203)][_0xd2aa38(0x370)]||_0x58ce98!=null&&_0x58ce98['fromCollab']||_0x58ce98!=null&&_0x58ce98['onlyLocal']||_0x4b8cdd['id']===dt[_0xd2aa38(0x21f)]['id'])return;const _0x172683=_0x4b8cdd[_0xd2aa38(0x2bf)];if((_0x172683==null?void 0x0:_0x172683['unitId'])!==this[_0xd2aa38(0x2dc)])return;const _0xe7aad7=_0x4b8cdd,_0x3e77bb=this[_0xd2aa38(0x1af)][_0xd2aa38(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xd2aa38(0x2ea)][_0xd2aa38(0x328)]()['COMPRESS_MUTATION_SEND'])([_0xe7aad7],null)||[_0xe7aad7];this[_0xd2aa38(0x1ad)](_0x3e77bb[0x0]);})),_0x2799fe;}},exports[_0x5c0715(0x36e)]=Ge([k(0x3,a['Inject'](a[_0x5c0715(0x433)])),k(0x4,a['Inject'](m[_0x5c0715(0x1b9)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x5c0715(0x49b)](m['RevisionService'])),k(0x7,a[_0x5c0715(0x49b)](te)),k(0x8,a[_0x5c0715(0x49f)]),k(0x9,a[_0x5c0715(0x339)]),k(0xa,a[_0x5c0715(0x40d)]),k(0xb,a[_0x5c0715(0x4d5)](ve)),k(0xc,a[_0x5c0715(0x4d5)](z))],exports['DocCollaborationEntity']),exports[_0x5c0715(0x2ee)]=class extends exports['CollaborationEntity']{constructor(_0x4609a9,_0x477c2f,_0x41d729,_0x1c3855,_0x54538f,_0x20b367,_0x18b606,_0x59aa5f,_0x443481,_0x499892,_0x5b14c5,_0x1043ac,_0x4ae027,_0x180a85){var _0x399113=_0x5c0715;super(_0x4609a9,_0x41d729,_0x477c2f,_0x1c3855,_0x54538f,_0x20b367,_0x18b606,_0x443481,_0x499892,_0x5b14c5,_0x1043ac,_0x4ae027,_0x180a85),this['unitID']=_0x4609a9,this[_0x399113(0x3ee)]=_0x477c2f,this[_0x399113(0x24c)]=_0x59aa5f;}['_createHandler'](){var _0x1ab901=_0x5c0715;const _0x5a0762=super[_0x1ab901(0x441)]();return _0x5a0762[_0x1ab901(0x1fe)]=_0x21d3ff=>this[_0x1ab901(0x24c)][_0x1ab901(0x371)](_0x21d3ff),_0x5a0762;}async['_init'](){var _0x3c4a3f=_0x5c0715;const _0x3e6c12=await super['_init']();return this[_0x3c4a3f(0x2f7)](this[_0x3c4a3f(0x4d1)]['onCommandExecuted']((_0x1b9003,_0x34e619)=>{var _0x2c2337=_0x3c4a3f;if(_0x1b9003['type']!==a[_0x2c2337(0x203)][_0x2c2337(0x370)]||_0x34e619!=null&&_0x34e619['fromCollab']||_0x34e619!=null&&_0x34e619[_0x2c2337(0x429)])return;const _0x42a947=_0x1b9003[_0x2c2337(0x2bf)];if((_0x42a947==null?void 0x0:_0x42a947[_0x2c2337(0x3bd)])!==this[_0x2c2337(0x2dc)])return;const _0xac6b33=_0x1b9003,_0x3cd4c7=this[_0x2c2337(0x1af)][_0x2c2337(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2c2337(0x2ea)][_0x2c2337(0x328)]()[_0x2c2337(0x375)])([_0xac6b33],null)||[_0xac6b33];this[_0x2c2337(0x1ad)](_0x3cd4c7[0x0]);})),_0x3e6c12;}},exports[_0x5c0715(0x2ee)]=Ge([k(0x3,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),k(0x4,a['Inject'](m[_0x5c0715(0x1b9)])),k(0x5,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),k(0x6,a[_0x5c0715(0x49b)](m['RevisionService'])),k(0x7,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x1c4)])),k(0x8,a[_0x5c0715(0x49b)](te)),k(0x9,a[_0x5c0715(0x49f)]),k(0xa,a[_0x5c0715(0x339)]),k(0xb,a[_0x5c0715(0x40d)]),k(0xc,a[_0x5c0715(0x4d5)](ve)),k(0xd,a[_0x5c0715(0x4d5)](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x5c0715(0x2d9)],An=Object[_0x5c0715(0x3a5)],Ln=(_0x3d8c68,_0x3cfec8,_0x410c3d,_0x32a024)=>{var _0x8264aa=_0x5c0715;for(var _0x52d776=_0x32a024>0x1?void 0x0:_0x32a024?An(_0x3cfec8,_0x410c3d):_0x3cfec8,_0x56ca14=_0x3d8c68[_0x8264aa(0x1b2)]-0x1,_0x398167;_0x56ca14>=0x0;_0x56ca14--)(_0x398167=_0x3d8c68[_0x56ca14])&&(_0x52d776=(_0x32a024?_0x398167(_0x3cfec8,_0x410c3d,_0x52d776):_0x398167(_0x52d776))||_0x52d776);return _0x32a024&&_0x52d776&&wn(_0x3cfec8,_0x410c3d,_0x52d776),_0x52d776;},we=(_0x3e9876,_0x5c8a04)=>(_0x14a272,_0x454e24)=>_0x5c8a04(_0x14a272,_0x454e24,_0x3e9876);exports['CollaborationController']=class extends a[_0x5c0715(0x431)]{constructor(_0x70a95f,_0x11ae22,_0x50a052){var _0x2ffd5c=_0x5c0715;super(),D(this,'_entities',new Map()),D(this,_0x2ffd5c(0x22f),new H['Subject']()),D(this,_0x2ffd5c(0x407),this[_0x2ffd5c(0x22f)][_0x2ffd5c(0x2ae)]()),(this[_0x2ffd5c(0x305)]=_0x70a95f,this[_0x2ffd5c(0x1b1)]=_0x11ae22,this['_univerInstanceService']=_0x50a052,this['_init']());}[_0x5c0715(0x185)](){var _0x2f4211=_0x5c0715;super[_0x2f4211(0x185)](),this['_entities']['forEach'](_0x50e175=>_0x50e175[_0x2f4211(0x185)]()),this[_0x2f4211(0x28c)][_0x2f4211(0x2e1)]();}[_0x5c0715(0x435)](_0x47330e){var _0x1c2b3c=_0x5c0715,_0x3c0538;return(_0x3c0538=this['_entities'][_0x1c2b3c(0x327)](_0x47330e))!=null?_0x3c0538:null;}['getCollabEntity$'](_0x3b5f04){var _0x49076c=_0x5c0715;const _0x137c09=this[_0x49076c(0x435)](_0x3b5f04);return _0x137c09?H['of'](_0x137c09):this[_0x49076c(0x22f)][_0x49076c(0x3d0)](W[_0x49076c(0x4e6)](_0x3c460f=>_0x3c460f['unitID']===_0x3b5f04));}['readyForCollab'](_0x321804){var _0x58bfc4=_0x5c0715;return H['firstValueFrom'](this['getCollabEntity$'](_0x321804)[_0x58bfc4(0x3d0)](W['map'](()=>{})));}[_0x5c0715(0x4e1)](){var _0x1d5e87=_0x5c0715;this[_0x1d5e87(0x445)][_0x1d5e87(0x4cf)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]),W['delay'](0x10))[_0x1d5e87(0x24f)](async _0xaf54f3=>{var _0x28494b=_0x1d5e87;const _0x4a0cc3=_0xaf54f3['getUnitId'](),_0x31dbee=await this[_0x28494b(0x354)](_0x4a0cc3,Z[_0x28494b(0x4d0)]);this[_0x28494b(0x28c)][_0x28494b(0x410)](_0x4a0cc3,_0x31dbee);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1d5e87(0x320)][_0x1d5e87(0x3d8)])['pipe'](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]),W[_0x1d5e87(0x453)](0x10))[_0x1d5e87(0x3d0)](W[_0x1d5e87(0x4e6)](_0x149ee0=>!_0x149ee0[_0x1d5e87(0x367)]()['startsWith']('__')))[_0x1d5e87(0x24f)](async _0xaac219=>{var _0x1f2c17=_0x1d5e87;const _0xe8ce29=_0xaac219[_0x1f2c17(0x367)](),_0x4be85b=await this[_0x1f2c17(0x354)](_0xe8ce29,Z[_0x1f2c17(0x3d8)]);this[_0x1f2c17(0x28c)][_0x1f2c17(0x410)](_0xe8ce29,_0x4be85b);}),H[_0x1d5e87(0x32c)](this[_0x1d5e87(0x445)][_0x1d5e87(0x3d6)](a['UniverInstanceType'][_0x1d5e87(0x4d0)]),this[_0x1d5e87(0x445)][_0x1d5e87(0x3d6)](a[_0x1d5e87(0x320)][_0x1d5e87(0x3d8)]))[_0x1d5e87(0x3d0)](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]))[_0x1d5e87(0x24f)](_0x2c21a7=>{var _0x4acd0d=_0x1d5e87;const _0x100a9e=_0x2c21a7[_0x4acd0d(0x367)](),_0x49343a=this[_0x4acd0d(0x28c)][_0x4acd0d(0x327)](_0x100a9e);_0x49343a&&(_0x49343a[_0x4acd0d(0x185)](),this[_0x4acd0d(0x28c)][_0x4acd0d(0x282)](_0x100a9e));});}async['_startCollaboration'](_0x4bbe07,_0x14de5e){var _0x3ce97a=_0x5c0715;const _0x16aafc=await this[_0x3ce97a(0x1b1)]['requireSession'](_0x4bbe07),_0x3173ae=this[_0x3ce97a(0x305)][_0x3ce97a(0x333)](this['_getCtorByUniverType'](_0x14de5e),_0x4bbe07,_0x14de5e,_0x16aafc);return await _0x3173ae[_0x3ce97a(0x43f)](),this[_0x3ce97a(0x22f)][_0x3ce97a(0x195)](_0x3173ae),_0x3173ae;}[_0x5c0715(0x4a6)](_0x19a78a){var _0x1ccff4=_0x5c0715;switch(_0x19a78a){case Z['UNIVER_DOC']:return exports[_0x1ccff4(0x36e)];case Z[_0x1ccff4(0x4d0)]:return exports[_0x1ccff4(0x2ee)];default:throw new Error(_0x1ccff4(0x472)+_0x19a78a);}}},exports[_0x5c0715(0x2b8)]=Ln([we(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),we(0x1,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x3cd)])),we(0x2,a[_0x5c0715(0x48b)])],exports[_0x5c0715(0x2b8)]);var Mn=Object[_0x5c0715(0x2d9)],xn=Object[_0x5c0715(0x3a5)],jn=(_0x156e07,_0x59abe6,_0x325893,_0x5768c1)=>{for(var _0x387fca=_0x5768c1>0x1?void 0x0:_0x5768c1?xn(_0x59abe6,_0x325893):_0x59abe6,_0x11f3be=_0x156e07['length']-0x1,_0x122532;_0x11f3be>=0x0;_0x11f3be--)(_0x122532=_0x156e07[_0x11f3be])&&(_0x387fca=(_0x5768c1?_0x122532(_0x59abe6,_0x325893,_0x387fca):_0x122532(_0x387fca))||_0x387fca);return _0x5768c1&&_0x387fca&&Mn(_0x59abe6,_0x325893,_0x387fca),_0x387fca;},Xe=(_0x19f4a8,_0x3f5b9c)=>(_0x5bc705,_0x375b38)=>_0x3f5b9c(_0x5bc705,_0x375b38,_0x19f4a8);const $n=_0x5c0715(0x280),Hn=_0x5c0715(0x4cb);let $e=class extends a['Disposable']{constructor(_0x500776,_0x5dc5b3){var _0x22accc=_0x5c0715;super(),this[_0x22accc(0x445)]=_0x500776,this[_0x22accc(0x444)]=_0x5dc5b3,this[_0x22accc(0x4e1)]();}[_0x5c0715(0x4e1)](){var _0x530b43=_0x5c0715;this[_0x530b43(0x2f7)](this[_0x530b43(0x445)][_0x530b43(0x3d5)][_0x530b43(0x24f)](()=>{var _0x95c248=_0x530b43,_0x5c85e8;const _0x1f289f=this[_0x95c248(0x445)][_0x95c248(0x402)]();let _0x435500=(_0x5c85e8=this[_0x95c248(0x444)][_0x95c248(0x39c)]($n))!=null?_0x5c85e8:Hn;_0x1f289f instanceof a[_0x95c248(0x1a9)]&&(_0x435500=_0x1f289f[_0x95c248(0x26c)]),document[_0x95c248(0x4d8)]=_0x435500;}));}};$e=jn([Xe(0x0,a[_0x5c0715(0x48b)]),Xe(0x1,a['IConfigService'])],$e);var kn=Object[_0x5c0715(0x2d9)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x573269,_0x28ffbb,_0x2b9338,_0x438b6e)=>{for(var _0x24ed94=_0x438b6e>0x1?void 0x0:_0x438b6e?Bn(_0x28ffbb,_0x2b9338):_0x28ffbb,_0x260c13=_0x573269['length']-0x1,_0x19c2fb;_0x260c13>=0x0;_0x260c13--)(_0x19c2fb=_0x573269[_0x260c13])&&(_0x24ed94=(_0x438b6e?_0x19c2fb(_0x28ffbb,_0x2b9338,_0x24ed94):_0x19c2fb(_0x24ed94))||_0x24ed94);return _0x438b6e&&_0x24ed94&&kn(_0x28ffbb,_0x2b9338,_0x24ed94),_0x24ed94;},Ae=(_0x33414c,_0xf46dd)=>(_0x57c0fc,_0x514a18)=>_0xf46dd(_0x57c0fc,_0x514a18,_0x33414c);let ye=class{constructor(_0x48726e,_0x507489,_0x348ca9){var _0x3f8e01=_0x5c0715;this[_0x3f8e01(0x444)]=_0x48726e,this['_httpService']=_0x507489,this[_0x3f8e01(0x43c)]=_0x348ca9,this[_0x3f8e01(0x43f)]();}['init'](){var _0x5a83de=_0x5c0715;this[_0x5a83de(0x3c5)][_0x5a83de(0x25a)]({'priority':0x1,'interceptor':(_0x4d8328,_0x7e3503)=>_0x7e3503(_0x4d8328)[_0x5a83de(0x3d0)](H['concatMap'](async _0x83f931=>{var _0xdbcef9=_0x5a83de;const _0x533aa6=_0x83f931;if(_0x533aa6[_0xdbcef9(0x4c5)]===0x191){if(typeof window>'u')throw new Error(_0xdbcef9(0x474));if(window[_0xdbcef9(0x41f)](this[_0xdbcef9(0x43c)]['t'](_0xdbcef9(0x218)))){const _0x47495f=window[_0xdbcef9(0x18f)](window['location'][_0xdbcef9(0x28e)]);window[_0xdbcef9(0x4c0)][_0xdbcef9(0x28e)]=this[_0xdbcef9(0x4b8)]()+_0xdbcef9(0x199)+_0x47495f;}}return _0x533aa6;}))});}[_0x5c0715(0x4b8)](){var _0x1630e1=_0x5c0715,_0x5e282d,_0x352e46;const _0x2eeefd=this[_0x1630e1(0x444)][_0x1630e1(0x39c)](Ct),_0x3ed942=this[_0x1630e1(0x444)]['getConfig'](Y);return(_0x352e46=(_0x5e282d=_0x3ed942==null?void 0x0:_0x3ed942[_0x1630e1(0x3df)])!=null?_0x5e282d:_0x2eeefd)!=null?_0x352e46:zt;}};ye=Fn([Ae(0x0,a[_0x5c0715(0x468)]),Ae(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),Ae(0x2,a['Inject'](a[_0x5c0715(0x3b2)]))],ye);var Wn=Object[_0x5c0715(0x2d9)],Gn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c0183,_0x3c102a,_0x1ec33e,_0x21f5b1)=>{for(var _0x4ef1f7=_0x21f5b1>0x1?void 0x0:_0x21f5b1?Gn(_0x3c102a,_0x1ec33e):_0x3c102a,_0x380ead=_0x3c0183['length']-0x1,_0x583afb;_0x380ead>=0x0;_0x380ead--)(_0x583afb=_0x3c0183[_0x380ead])&&(_0x4ef1f7=(_0x21f5b1?_0x583afb(_0x3c102a,_0x1ec33e,_0x4ef1f7):_0x583afb(_0x4ef1f7))||_0x4ef1f7);return _0x21f5b1&&_0x4ef1f7&&Wn(_0x3c102a,_0x1ec33e,_0x4ef1f7),_0x4ef1f7;},Ze=(_0x450892,_0x56367a)=>(_0x5dbe91,_0x11f217)=>_0x56367a(_0x5dbe91,_0x11f217,_0x450892);const Ve='AUTHZ_URL_KEY',Kn=_0x5c0715(0x322);exports[_0x5c0715(0x229)]=class extends a['Disposable']{constructor(_0x33b783,_0x40cbc4){var _0x1df684=_0x5c0715;super(),this[_0x1df684(0x2c6)]=_0x33b783,this['_configService']=_0x40cbc4,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2036c3=_0x5c0715;const _0x7e588d=this;this[_0x2036c3(0x2f7)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x2036c3(0x2bc)]({'isMatch'(_0x2fbddf){var _0x50281b=_0x2036c3,_0xb0aa84;if(_0x2fbddf['method']===_0x50281b(0x283)&&((_0xb0aa84=_0x2fbddf['requestParams'])!=null&&_0xb0aa84[_0x50281b(0x1f6)])){const {objectID:_0xd9777d,objectType:_0x137ad0}=_0x2fbddf[_0x50281b(0x2f4)][_0x50281b(0x1f6)]||{};if(!_0xd9777d||_0x137ad0===void 0x0)return!0x1;const _0x12cdda=_0x7e588d[_0x50281b(0x486)]()+'/'+_0x137ad0+'/object/'+_0xd9777d+_0x50281b(0x1ef);if(_0x2fbddf['url']===_0x12cdda)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16bfbd){var _0x1a8b17=_0x2036c3,_0x5218f7;return(_0x5218f7=_0x16bfbd[_0x1a8b17(0x2f4)])==null?void 0x0:_0x5218f7[_0x1a8b17(0x1f6)];},'mergeParamsToRequest'(_0x4a40ac,_0x125d33){var _0x26cc5c=_0x2036c3;const _0x38685d=_0x7e588d[_0x26cc5c(0x486)]()+_0x26cc5c(0x2b0),_0x51f017=_0x4a40ac[_0x26cc5c(0x4a7)]((_0x231395,_0x26ac33)=>{const {unitID:_0x5ba9eb,objectID:_0xc3681d,objectType:_0x8495ff,actions:_0xefbf6}=_0x26ac33;return _0x231395[_0x5ba9eb]||(_0x231395[_0x5ba9eb]={}),_0x231395[_0x5ba9eb][_0xc3681d]||(_0x231395[_0x5ba9eb][_0xc3681d]={'objectID':_0xc3681d,'objectType':_0x8495ff,'actions':[]}),_0x231395[_0x5ba9eb][_0xc3681d]['actions']['push'](..._0xefbf6),_0x231395;},{}),_0x58c6d3=[];for(const _0x16dced in _0x51f017)for(const _0x319473 in _0x51f017[_0x16dced]){const {actions:_0x5a0915,objectType:_0x51f87c}=_0x51f017[_0x16dced][_0x319473],_0xc25d83=[...new Set(_0x5a0915)];_0x58c6d3['push']({'unitID':_0x16dced,'objectID':_0x319473,'objectType':_0x51f87c,'actions':_0xc25d83});}return new q['HTTPRequest']('POST',_0x38685d,{'headers':_0x125d33[_0x26cc5c(0x2fc)],'withCredentials':_0x125d33['withCredentials'],'responseType':_0x125d33[_0x26cc5c(0x230)],'body':{'requests':_0x58c6d3}});}},{'distributeResult'(_0x580bc7,_0x3aa2a6){var _0x3f9c4d=_0x2036c3;const {objectActions:_0x4cbf97}=_0x580bc7;return _0x3aa2a6[_0x3f9c4d(0x4cd)](_0x16c9ad=>{var _0x1e78d4=_0x3f9c4d;const {unitID:_0x34d0a3,objectID:_0x5c9697,actions:_0x134280}=_0x16c9ad,_0x361b65=_0x4cbf97[_0x1e78d4(0x2cf)](_0x429acc=>_0x429acc[_0x1e78d4(0x2dc)]===_0x34d0a3&&_0x429acc[_0x1e78d4(0x198)]===_0x5c9697),_0x101752=_0x134280[_0x1e78d4(0x4cd)](_0x1d3d39=>_0x361b65==null?void 0x0:_0x361b65[_0x1e78d4(0x471)][_0x1e78d4(0x2cf)](_0x41d6aa=>_0x41d6aa['action']===_0x1d3d39))[_0x1e78d4(0x4e6)](_0x142ed3=>!!_0x142ed3);return{'config':_0x16c9ad,'result':{'actions':_0x101752,'error':_0x580bc7[_0x1e78d4(0x2e6)]}};});}})}));}[_0x5c0715(0x486)](){var _0x6f278=_0x5c0715,_0x11a587,_0x52dc25;const _0x1b2995=this[_0x6f278(0x444)][_0x6f278(0x39c)](Ve),_0x101500=this[_0x6f278(0x444)][_0x6f278(0x39c)](Y);return(_0x52dc25=(_0x11a587=_0x101500==null?void 0x0:_0x101500[_0x6f278(0x297)])!=null?_0x11a587:_0x1b2995)!=null?_0x52dc25:Kn;}async[_0x5c0715(0x269)](_0x334de2){var _0x3fecb8=_0x5c0715;const _0x1dc0e6=this['_getAPIPrefixPath']()+'/'+_0x334de2['objectType']+_0x3fecb8(0x4a0);return(await this[_0x3fecb8(0x2c6)][_0x3fecb8(0x475)](_0x1dc0e6,{'body':_0x334de2}))[_0x3fecb8(0x1f6)][_0x3fecb8(0x198)]||'';}async[_0x5c0715(0x326)](_0x11f1e2){var _0x11cd44=_0x5c0715;const _0xf77939=this[_0x11cd44(0x486)]()+_0x11cd44(0x380);return(await this[_0x11cd44(0x2c6)]['post'](_0xf77939,{'body':_0x11f1e2}))[_0x11cd44(0x1f6)][_0x11cd44(0x366)];}async[_0x5c0715(0x1e2)](_0x164a27){var _0x6b42f0=_0x5c0715;const _0x4685ff=this[_0x6b42f0(0x486)]()+'/'+_0x164a27[_0x6b42f0(0x294)]+_0x6b42f0(0x3ad)+_0x164a27[_0x6b42f0(0x198)];await this[_0x6b42f0(0x2c6)][_0x6b42f0(0x1ae)](_0x4685ff,{'body':_0x164a27});}async[_0x5c0715(0x494)](_0x4bf14d){var _0x21e4c4=_0x5c0715;const _0x1aa8d5=this['_getAPIPrefixPath']()+'/'+_0x4bf14d['objectType']+_0x21e4c4(0x3ad)+_0x4bf14d['objectID']+'/allowed';return(await this['_HTTPService']['post'](_0x1aa8d5,{'body':_0x4bf14d}))['body'][_0x21e4c4(0x471)];}async['batchAllowed'](_0x4289b5){var _0x16d69d=_0x5c0715;const _0x9ad250=this[_0x16d69d(0x486)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x16d69d(0x475)](_0x9ad250,{'body':{'requests':_0x4289b5}}))[_0x16d69d(0x1f6)][_0x16d69d(0x45e)];}async['listRoles'](_0x18ae69){var _0x581d43=_0x5c0715;const _0x1bfeeb=this['_getAPIPrefixPath']()+'/'+_0x18ae69[_0x581d43(0x294)]+'/role',_0x3ff255=await this[_0x581d43(0x2c6)][_0x581d43(0x475)](_0x1bfeeb,{'body':_0x18ae69});return{'roles':_0x3ff255[_0x581d43(0x1f6)]['roles'],'actions':_0x3ff255[_0x581d43(0x1f6)]['actions']};}async['deleteCollaborator'](_0x416d43){var _0x111c5e=_0x5c0715;const _0x1f4a71=this['_getAPIPrefixPath']()+_0x111c5e(0x3f1);await this[_0x111c5e(0x2c6)][_0x111c5e(0x282)](_0x1f4a71,{'params':{'collaboratorID':_0x416d43[_0x111c5e(0x29b)],'objectID':_0x416d43['objectID'],'unitID':_0x416d43[_0x111c5e(0x2dc)]}});}async[_0x5c0715(0x1ff)](_0x4939a7){var _0x359ca2=_0x5c0715;const _0x167387=this['_getAPIPrefixPath']()+_0x359ca2(0x3f1);await this[_0x359ca2(0x2c6)][_0x359ca2(0x34c)](_0x167387,{'body':_0x4939a7});}async['createCollaborator'](_0x4125bc){var _0x1d6fd3=_0x5c0715;const _0x4c9e99=this[_0x1d6fd3(0x486)]()+'/collaborator';await this[_0x1d6fd3(0x2c6)]['post'](_0x4c9e99,{'body':_0x4125bc});}async[_0x5c0715(0x1ec)](_0xacfa05){var _0x3b307e=_0x5c0715;const _0x2631a9=this[_0x3b307e(0x486)]()+_0x3b307e(0x3f1);return(await this['_HTTPService'][_0x3b307e(0x327)](_0x2631a9,{'params':{'objectID':_0xacfa05[_0x3b307e(0x198)],'unitID':_0xacfa05[_0x3b307e(0x2dc)]}}))[_0x3b307e(0x1f6)][_0x3b307e(0x3c9)];}async[_0x5c0715(0x3a9)](_0x596188){var _0x1a28a0=_0x5c0715;const _0x3b9527=this[_0x1a28a0(0x486)]()+_0x1a28a0(0x3f1);await this[_0x1a28a0(0x2c6)][_0x1a28a0(0x1ae)](_0x3b9527,{'body':_0x596188});}},exports['AuthzIoHttpService']=Vn([Ze(0x0,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),Ze(0x1,a[_0x5c0715(0x49b)](a[_0x5c0715(0x468)]))],exports[_0x5c0715(0x229)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x3a3176){var _0x4df964=_0x5c0715;return _0x3a3176&&_0x3a3176[_0x4df964(0x4e8)]&&Object[_0x4df964(0x287)][_0x4df964(0x1eb)]['call'](_0x3a3176,_0x4df964(0x217))?_0x3a3176[_0x4df964(0x217)]:_0x3a3176;}var Se={'exports':{}};function Yn(_0x124c93){var _0x222928=_0x5c0715;throw new Error(_0x222928(0x21c)+_0x124c93+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},qn=pe['exports'],Qe;function ee(){var _0x3b3764=_0x5c0715;return Qe||(Qe=0x1,function(_0x33c167,_0x42b79b){(function(_0x5793eb,_0x48b7aa){_0x33c167['exports']=_0x48b7aa();}(qn,function(){var _0x5e6acf=_0x5e6acf||function(_0x3f40ab,_0x25eccc){var _0x13707f=_0x5fe0,_0xc4b238;if(typeof window<'u'&&window['crypto']&&(_0xc4b238=window['crypto']),typeof self<'u'&&self[_0x13707f(0x33e)]&&(_0xc4b238=self[_0x13707f(0x33e)]),typeof globalThis<'u'&&globalThis[_0x13707f(0x33e)]&&(_0xc4b238=globalThis[_0x13707f(0x33e)]),!_0xc4b238&&typeof window<'u'&&window[_0x13707f(0x391)]&&(_0xc4b238=window[_0x13707f(0x391)]),!_0xc4b238&&typeof Le<'u'&&Le[_0x13707f(0x33e)]&&(_0xc4b238=Le[_0x13707f(0x33e)]),!_0xc4b238&&typeof Yn=='function')try{_0xc4b238=require('crypto');}catch{}var _0x4e2b5c=function(){var _0x290d9e=_0x13707f;if(_0xc4b238){if(typeof _0xc4b238[_0x290d9e(0x27c)]==_0x290d9e(0x3b3))try{return _0xc4b238[_0x290d9e(0x27c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc4b238[_0x290d9e(0x3bb)]==_0x290d9e(0x3b3))try{return _0xc4b238[_0x290d9e(0x3bb)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x290d9e(0x423));},_0x23d3ae=Object[_0x13707f(0x269)]||(function(){function _0x2060ce(){}return function(_0x4aea04){var _0x3b7a6e=_0x5fe0,_0x42f0ad;return _0x2060ce[_0x3b7a6e(0x287)]=_0x4aea04,_0x42f0ad=new _0x2060ce(),_0x2060ce[_0x3b7a6e(0x287)]=null,_0x42f0ad;};}()),_0x30f63c={},_0x30760b=_0x30f63c[_0x13707f(0x302)]={},_0x426a42=_0x30760b[_0x13707f(0x4ef)]=(function(){return{'extend':function(_0x41df37){var _0x69a930=_0x5fe0,_0x150967=_0x23d3ae(this);return _0x41df37&&_0x150967[_0x69a930(0x1fb)](_0x41df37),(!_0x150967['hasOwnProperty'](_0x69a930(0x43f))||this[_0x69a930(0x43f)]===_0x150967[_0x69a930(0x43f)])&&(_0x150967[_0x69a930(0x43f)]=function(){var _0x3be9ba=_0x69a930;_0x150967[_0x3be9ba(0x300)]['init'][_0x3be9ba(0x342)](this,arguments);}),_0x150967[_0x69a930(0x43f)][_0x69a930(0x287)]=_0x150967,_0x150967['$super']=this,_0x150967;},'create':function(){var _0x3c18eb=_0x5fe0,_0x2e2c88=this[_0x3c18eb(0x3eb)]();return _0x2e2c88['init'][_0x3c18eb(0x342)](_0x2e2c88,arguments),_0x2e2c88;},'init':function(){},'mixIn':function(_0x3ece49){var _0x343ab5=_0x5fe0;for(var _0x6bcb3c in _0x3ece49)_0x3ece49[_0x343ab5(0x1eb)](_0x6bcb3c)&&(this[_0x6bcb3c]=_0x3ece49[_0x6bcb3c]);_0x3ece49[_0x343ab5(0x1eb)](_0x343ab5(0x3fc))&&(this[_0x343ab5(0x3fc)]=_0x3ece49[_0x343ab5(0x3fc)]);},'clone':function(){var _0x3759a7=_0x5fe0;return this[_0x3759a7(0x43f)][_0x3759a7(0x287)]['extend'](this);}};}()),_0x7abdf1=_0x30760b[_0x13707f(0x348)]=_0x426a42[_0x13707f(0x3eb)]({'init':function(_0x37515b,_0x1f2e74){var _0x100e61=_0x13707f;_0x37515b=this[_0x100e61(0x40e)]=_0x37515b||[],_0x1f2e74!=_0x25eccc?this['sigBytes']=_0x1f2e74:this[_0x100e61(0x459)]=_0x37515b[_0x100e61(0x1b2)]*0x4;},'toString':function(_0x29775a){var _0x41c1db=_0x13707f;return(_0x29775a||_0x2fbab2)[_0x41c1db(0x26a)](this);},'concat':function(_0x505115){var _0x3e7ead=_0x13707f,_0x31c29f=this['words'],_0x55d6fa=_0x505115[_0x3e7ead(0x40e)],_0x4474e5=this[_0x3e7ead(0x459)],_0x16029b=_0x505115[_0x3e7ead(0x459)];if(this['clamp'](),_0x4474e5%0x4)for(var _0x94995=0x0;_0x94995<_0x16029b;_0x94995++){var _0xa66500=_0x55d6fa[_0x94995>>>0x2]>>>0x18-_0x94995%0x4*0x8&0xff;_0x31c29f[_0x4474e5+_0x94995>>>0x2]|=_0xa66500<<0x18-(_0x4474e5+_0x94995)%0x4*0x8;}else{for(var _0x3b6d3f=0x0;_0x3b6d3f<_0x16029b;_0x3b6d3f+=0x4)_0x31c29f[_0x4474e5+_0x3b6d3f>>>0x2]=_0x55d6fa[_0x3b6d3f>>>0x2];}return this[_0x3e7ead(0x459)]+=_0x16029b,this;},'clamp':function(){var _0x5ccfc3=_0x13707f,_0x13f170=this['words'],_0x3b705d=this[_0x5ccfc3(0x459)];_0x13f170[_0x3b705d>>>0x2]&=0xffffffff<<0x20-_0x3b705d%0x4*0x8,_0x13f170['length']=_0x3f40ab[_0x5ccfc3(0x1f9)](_0x3b705d/0x4);},'clone':function(){var _0x536b01=_0x13707f,_0x47387d=_0x426a42[_0x536b01(0x38a)]['call'](this);return _0x47387d[_0x536b01(0x40e)]=this[_0x536b01(0x40e)][_0x536b01(0x34b)](0x0),_0x47387d;},'random':function(_0x55e997){var _0x2ba669=_0x13707f;for(var _0x22a815=[],_0x5872f7=0x0;_0x5872f7<_0x55e997;_0x5872f7+=0x4)_0x22a815[_0x2ba669(0x3aa)](_0x4e2b5c());return new _0x7abdf1[(_0x2ba669(0x43f))](_0x22a815,_0x55e997);}}),_0x27b27f=_0x30f63c[_0x13707f(0x29d)]={},_0x2fbab2=_0x27b27f['Hex']={'stringify':function(_0x3ef604){var _0x32ca3b=_0x13707f;for(var _0x332617=_0x3ef604[_0x32ca3b(0x40e)],_0x215ca0=_0x3ef604[_0x32ca3b(0x459)],_0x9ac02e=[],_0x13c5c0=0x0;_0x13c5c0<_0x215ca0;_0x13c5c0++){var _0x236476=_0x332617[_0x13c5c0>>>0x2]>>>0x18-_0x13c5c0%0x4*0x8&0xff;_0x9ac02e[_0x32ca3b(0x3aa)]((_0x236476>>>0x4)['toString'](0x10)),_0x9ac02e['push']((_0x236476&0xf)['toString'](0x10));}return _0x9ac02e[_0x32ca3b(0x21d)]('');},'parse':function(_0x6bb53f){var _0x2409bd=_0x13707f;for(var _0x31b217=_0x6bb53f[_0x2409bd(0x1b2)],_0x554986=[],_0x1f1504=0x0;_0x1f1504<_0x31b217;_0x1f1504+=0x2)_0x554986[_0x1f1504>>>0x3]|=parseInt(_0x6bb53f['substr'](_0x1f1504,0x2),0x10)<<0x18-_0x1f1504%0x8*0x4;return new _0x7abdf1[(_0x2409bd(0x43f))](_0x554986,_0x31b217/0x2);}},_0x3a6297=_0x27b27f[_0x13707f(0x3cf)]={'stringify':function(_0x5a880c){var _0x44f95a=_0x13707f;for(var _0xc1cc1d=_0x5a880c['words'],_0x368276=_0x5a880c[_0x44f95a(0x459)],_0x196e3b=[],_0x2fd4b3=0x0;_0x2fd4b3<_0x368276;_0x2fd4b3++){var _0x412160=_0xc1cc1d[_0x2fd4b3>>>0x2]>>>0x18-_0x2fd4b3%0x4*0x8&0xff;_0x196e3b[_0x44f95a(0x3aa)](String[_0x44f95a(0x189)](_0x412160));}return _0x196e3b[_0x44f95a(0x21d)]('');},'parse':function(_0x39bd76){var _0x1283da=_0x13707f;for(var _0x25a243=_0x39bd76[_0x1283da(0x1b2)],_0x19f696=[],_0x4aa9ae=0x0;_0x4aa9ae<_0x25a243;_0x4aa9ae++)_0x19f696[_0x4aa9ae>>>0x2]|=(_0x39bd76[_0x1283da(0x478)](_0x4aa9ae)&0xff)<<0x18-_0x4aa9ae%0x4*0x8;return new _0x7abdf1['init'](_0x19f696,_0x25a243);}},_0x2d2c42=_0x27b27f[_0x13707f(0x246)]={'stringify':function(_0x55c689){var _0x237f83=_0x13707f;try{return decodeURIComponent(escape(_0x3a6297['stringify'](_0x55c689)));}catch{throw new Error(_0x237f83(0x39b));}},'parse':function(_0x190595){return _0x3a6297['parse'](unescape(encodeURIComponent(_0x190595)));}},_0xef7d9d=_0x30760b[_0x13707f(0x408)]=_0x426a42[_0x13707f(0x3eb)]({'reset':function(){var _0x4be7c8=_0x13707f;this[_0x4be7c8(0x3f7)]=new _0x7abdf1[(_0x4be7c8(0x43f))](),this[_0x4be7c8(0x3a6)]=0x0;},'_append':function(_0x46f779){var _0xc20f15=_0x13707f;typeof _0x46f779==_0xc20f15(0x4c2)&&(_0x46f779=_0x2d2c42[_0xc20f15(0x24d)](_0x46f779)),this['_data']['concat'](_0x46f779),this['_nDataBytes']+=_0x46f779[_0xc20f15(0x459)];},'_process':function(_0x3102d6){var _0x33c439=_0x13707f,_0x47cbfc,_0x4efb27=this['_data'],_0x529cfd=_0x4efb27[_0x33c439(0x40e)],_0x2135d3=_0x4efb27[_0x33c439(0x459)],_0x3ef8c0=this[_0x33c439(0x3c1)],_0x54c184=_0x3ef8c0*0x4,_0x4d6c52=_0x2135d3/_0x54c184;_0x3102d6?_0x4d6c52=_0x3f40ab[_0x33c439(0x1f9)](_0x4d6c52):_0x4d6c52=_0x3f40ab[_0x33c439(0x34a)]((_0x4d6c52|0x0)-this['_minBufferSize'],0x0);var _0x2bd470=_0x4d6c52*_0x3ef8c0,_0x206a1a=_0x3f40ab[_0x33c439(0x222)](_0x2bd470*0x4,_0x2135d3);if(_0x2bd470){for(var _0x5187c9=0x0;_0x5187c9<_0x2bd470;_0x5187c9+=_0x3ef8c0)this[_0x33c439(0x1e1)](_0x529cfd,_0x5187c9);_0x47cbfc=_0x529cfd[_0x33c439(0x4eb)](0x0,_0x2bd470),_0x4efb27['sigBytes']-=_0x206a1a;}return new _0x7abdf1[(_0x33c439(0x43f))](_0x47cbfc,_0x206a1a);},'clone':function(){var _0xaa7304=_0x13707f,_0x29bf94=_0x426a42[_0xaa7304(0x38a)][_0xaa7304(0x36a)](this);return _0x29bf94[_0xaa7304(0x3f7)]=this[_0xaa7304(0x3f7)][_0xaa7304(0x38a)](),_0x29bf94;},'_minBufferSize':0x0});_0x30760b['Hasher']=_0xef7d9d[_0x13707f(0x3eb)]({'cfg':_0x426a42['extend'](),'init':function(_0x4dc9fa){var _0x4440d0=_0x13707f;this[_0x4440d0(0x28d)]=this['cfg'][_0x4440d0(0x3eb)](_0x4dc9fa),this[_0x4440d0(0x48d)]();},'reset':function(){var _0x1cce51=_0x13707f;_0xef7d9d[_0x1cce51(0x48d)][_0x1cce51(0x36a)](this),this['_doReset']();},'update':function(_0x44491a){var _0x3450ac=_0x13707f;return this[_0x3450ac(0x4a9)](_0x44491a),this[_0x3450ac(0x268)](),this;},'finalize':function(_0x1cacb0){var _0x1482f6=_0x13707f;_0x1cacb0&&this[_0x1482f6(0x4a9)](_0x1cacb0);var _0x759147=this[_0x1482f6(0x41a)]();return _0x759147;},'blockSize':0x10,'_createHelper':function(_0xcf526e){return function(_0x1c0d7d,_0x3dde63){return new _0xcf526e['init'](_0x3dde63)['finalize'](_0x1c0d7d);};},'_createHmacHelper':function(_0x362af1){return function(_0x3d9b69,_0x806ec0){var _0x4ca874=_0x5fe0;return new _0x5bfff0[(_0x4ca874(0x452))]['init'](_0x362af1,_0x806ec0)[_0x4ca874(0x4f7)](_0x3d9b69);};}});var _0x5bfff0=_0x30f63c[_0x13707f(0x4f2)]={};return _0x30f63c;}(Math);return _0x5e6acf;}));}(pe)),pe[_0x3b3764(0x4d9)];}var me={'exports':{}},zn=me[_0x5c0715(0x4d9)],et;function Dt(){var _0x5ff9cf=_0x5c0715;return et||(et=0x1,function(_0x149894,_0x4e23e5){(function(_0x1076d7,_0x5019c8){var _0x1d85ed=_0x5fe0;_0x149894[_0x1d85ed(0x4d9)]=_0x5019c8(ee());}(zn,function(_0x2c1286){var _0x56b217=_0x5fe0;return(function(){var _0x96fd2b=_0x5fe0,_0x233bde=_0x2c1286,_0x2ca6de=_0x233bde[_0x96fd2b(0x302)],_0x31e018=_0x2ca6de[_0x96fd2b(0x348)],_0x660770=_0x233bde[_0x96fd2b(0x29d)];_0x660770[_0x96fd2b(0x23d)]={'stringify':function(_0x5a2477){var _0x5da425=_0x96fd2b,_0x230f09=_0x5a2477[_0x5da425(0x40e)],_0x1e518e=_0x5a2477['sigBytes'],_0x532fb6=this[_0x5da425(0x299)];_0x5a2477[_0x5da425(0x3c6)]();for(var _0x74c781=[],_0x15afe7=0x0;_0x15afe7<_0x1e518e;_0x15afe7+=0x3)for(var _0x52c749=_0x230f09[_0x15afe7>>>0x2]>>>0x18-_0x15afe7%0x4*0x8&0xff,_0x540a5b=_0x230f09[_0x15afe7+0x1>>>0x2]>>>0x18-(_0x15afe7+0x1)%0x4*0x8&0xff,_0x3b1bb=_0x230f09[_0x15afe7+0x2>>>0x2]>>>0x18-(_0x15afe7+0x2)%0x4*0x8&0xff,_0x242059=_0x52c749<<0x10|_0x540a5b<<0x8|_0x3b1bb,_0x46665d=0x0;_0x46665d<0x4&&_0x15afe7+_0x46665d*0.75<_0x1e518e;_0x46665d++)_0x74c781['push'](_0x532fb6['charAt'](_0x242059>>>0x6*(0x3-_0x46665d)&0x3f));var _0xa1bf2=_0x532fb6['charAt'](0x40);if(_0xa1bf2){for(;_0x74c781['length']%0x4;)_0x74c781[_0x5da425(0x3aa)](_0xa1bf2);}return _0x74c781['join']('');},'parse':function(_0x25e345){var _0x4c6882=_0x96fd2b,_0x2a8d70=_0x25e345[_0x4c6882(0x1b2)],_0x521a3b=this['_map'],_0x519d2e=this[_0x4c6882(0x323)];if(!_0x519d2e){_0x519d2e=this[_0x4c6882(0x323)]=[];for(var _0x24c096=0x0;_0x24c096<_0x521a3b[_0x4c6882(0x1b2)];_0x24c096++)_0x519d2e[_0x521a3b[_0x4c6882(0x478)](_0x24c096)]=_0x24c096;}var _0x12240d=_0x521a3b[_0x4c6882(0x318)](0x40);if(_0x12240d){var _0x5cbc36=_0x25e345['indexOf'](_0x12240d);_0x5cbc36!==-0x1&&(_0x2a8d70=_0x5cbc36);}return _0x138207(_0x25e345,_0x2a8d70,_0x519d2e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x138207(_0x1ca4d1,_0x33c90a,_0x42c1cf){var _0xc6a2e=_0x96fd2b;for(var _0x295127=[],_0x1cc548=0x0,_0x1ea768=0x0;_0x1ea768<_0x33c90a;_0x1ea768++)if(_0x1ea768%0x4){var _0x22770b=_0x42c1cf[_0x1ca4d1[_0xc6a2e(0x478)](_0x1ea768-0x1)]<<_0x1ea768%0x4*0x2,_0x43d1f5=_0x42c1cf[_0x1ca4d1['charCodeAt'](_0x1ea768)]>>>0x6-_0x1ea768%0x4*0x2,_0x3eb443=_0x22770b|_0x43d1f5;_0x295127[_0x1cc548>>>0x2]|=_0x3eb443<<0x18-_0x1cc548%0x4*0x8,_0x1cc548++;}return _0x31e018[_0xc6a2e(0x269)](_0x295127,_0x1cc548);}}()),_0x2c1286[_0x56b217(0x29d)][_0x56b217(0x23d)];}));}(me)),me[_0x5ff9cf(0x4d9)];}var ge={'exports':{}},Jn=ge[_0x5c0715(0x4d9)],tt;function Xn(){var _0xbc9bd0=_0x5c0715;return tt||(tt=0x1,function(_0x42464a,_0x17985b){(function(_0x21163d,_0x25f32e){var _0x340c60=_0x5fe0;_0x42464a[_0x340c60(0x4d9)]=_0x25f32e(ee());}(Jn,function(_0x50e3a4){var _0x3eae23=_0x5fe0;return function(_0x2f610f){var _0x871b48=_0x5fe0,_0x36e02a=_0x50e3a4,_0x3b6156=_0x36e02a['lib'],_0x13cb89=_0x3b6156[_0x871b48(0x348)],_0x455277=_0x3b6156['Hasher'],_0x57f5a1=_0x36e02a['algo'],_0x90bfc6=[];(function(){var _0x29dc1f=_0x871b48;for(var _0x381393=0x0;_0x381393<0x40;_0x381393++)_0x90bfc6[_0x381393]=_0x2f610f[_0x29dc1f(0x4e0)](_0x2f610f[_0x29dc1f(0x2e5)](_0x381393+0x1))*0x100000000|0x0;}());var _0x5b4238=_0x57f5a1[_0x871b48(0x3cc)]=_0x455277[_0x871b48(0x3eb)]({'_doReset':function(){var _0x3e1d43=_0x871b48;this['_hash']=new _0x13cb89[(_0x3e1d43(0x43f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f49b8,_0x3ae401){var _0x3d0bcd=_0x871b48;for(var _0x1fdcec=0x0;_0x1fdcec<0x10;_0x1fdcec++){var _0x1ec185=_0x3ae401+_0x1fdcec,_0x34c05b=_0x2f49b8[_0x1ec185];_0x2f49b8[_0x1ec185]=(_0x34c05b<<0x8|_0x34c05b>>>0x18)&0xff00ff|(_0x34c05b<<0x18|_0x34c05b>>>0x8)&0xff00ff00;}var _0x25c05c=this[_0x3d0bcd(0x36c)][_0x3d0bcd(0x40e)],_0x3ed1f4=_0x2f49b8[_0x3ae401+0x0],_0x2bc1a7=_0x2f49b8[_0x3ae401+0x1],_0x4606a4=_0x2f49b8[_0x3ae401+0x2],_0x4bf44f=_0x2f49b8[_0x3ae401+0x3],_0x5bb86e=_0x2f49b8[_0x3ae401+0x4],_0x56f0ad=_0x2f49b8[_0x3ae401+0x5],_0x16c57a=_0x2f49b8[_0x3ae401+0x6],_0x126c96=_0x2f49b8[_0x3ae401+0x7],_0x34b22d=_0x2f49b8[_0x3ae401+0x8],_0x4044f0=_0x2f49b8[_0x3ae401+0x9],_0x388d84=_0x2f49b8[_0x3ae401+0xa],_0x14e89a=_0x2f49b8[_0x3ae401+0xb],_0x3013f0=_0x2f49b8[_0x3ae401+0xc],_0x320e2f=_0x2f49b8[_0x3ae401+0xd],_0x59655b=_0x2f49b8[_0x3ae401+0xe],_0x3e7beb=_0x2f49b8[_0x3ae401+0xf],_0x25c9e8=_0x25c05c[0x0],_0x544f88=_0x25c05c[0x1],_0x3b53f6=_0x25c05c[0x2],_0x14c655=_0x25c05c[0x3];_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3ed1f4,0x7,_0x90bfc6[0x0]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x2bc1a7,0xc,_0x90bfc6[0x1]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4606a4,0x11,_0x90bfc6[0x2]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4bf44f,0x16,_0x90bfc6[0x3]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x5bb86e,0x7,_0x90bfc6[0x4]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x56f0ad,0xc,_0x90bfc6[0x5]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x16c57a,0x11,_0x90bfc6[0x6]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x126c96,0x16,_0x90bfc6[0x7]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x34b22d,0x7,_0x90bfc6[0x8]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4044f0,0xc,_0x90bfc6[0x9]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x388d84,0x11,_0x90bfc6[0xa]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x14e89a,0x16,_0x90bfc6[0xb]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3013f0,0x7,_0x90bfc6[0xc]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x320e2f,0xc,_0x90bfc6[0xd]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x59655b,0x11,_0x90bfc6[0xe]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3e7beb,0x16,_0x90bfc6[0xf]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x2bc1a7,0x5,_0x90bfc6[0x10]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x16c57a,0x9,_0x90bfc6[0x11]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x14e89a,0xe,_0x90bfc6[0x12]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3ed1f4,0x14,_0x90bfc6[0x13]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x56f0ad,0x5,_0x90bfc6[0x14]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x388d84,0x9,_0x90bfc6[0x15]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x3e7beb,0xe,_0x90bfc6[0x16]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x5bb86e,0x14,_0x90bfc6[0x17]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x4044f0,0x5,_0x90bfc6[0x18]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x59655b,0x9,_0x90bfc6[0x19]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4bf44f,0xe,_0x90bfc6[0x1a]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x34b22d,0x14,_0x90bfc6[0x1b]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x320e2f,0x5,_0x90bfc6[0x1c]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4606a4,0x9,_0x90bfc6[0x1d]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x126c96,0xe,_0x90bfc6[0x1e]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3013f0,0x14,_0x90bfc6[0x1f]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x56f0ad,0x4,_0x90bfc6[0x20]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x34b22d,0xb,_0x90bfc6[0x21]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x14e89a,0x10,_0x90bfc6[0x22]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x59655b,0x17,_0x90bfc6[0x23]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x2bc1a7,0x4,_0x90bfc6[0x24]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x5bb86e,0xb,_0x90bfc6[0x25]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x126c96,0x10,_0x90bfc6[0x26]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x388d84,0x17,_0x90bfc6[0x27]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x320e2f,0x4,_0x90bfc6[0x28]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3ed1f4,0xb,_0x90bfc6[0x29]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4bf44f,0x10,_0x90bfc6[0x2a]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x16c57a,0x17,_0x90bfc6[0x2b]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x4044f0,0x4,_0x90bfc6[0x2c]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3013f0,0xb,_0x90bfc6[0x2d]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x3e7beb,0x10,_0x90bfc6[0x2e]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4606a4,0x17,_0x90bfc6[0x2f]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3ed1f4,0x6,_0x90bfc6[0x30]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x126c96,0xa,_0x90bfc6[0x31]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x59655b,0xf,_0x90bfc6[0x32]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x56f0ad,0x15,_0x90bfc6[0x33]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3013f0,0x6,_0x90bfc6[0x34]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4bf44f,0xa,_0x90bfc6[0x35]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x388d84,0xf,_0x90bfc6[0x36]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x2bc1a7,0x15,_0x90bfc6[0x37]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x34b22d,0x6,_0x90bfc6[0x38]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3e7beb,0xa,_0x90bfc6[0x39]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x16c57a,0xf,_0x90bfc6[0x3a]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x320e2f,0x15,_0x90bfc6[0x3b]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x5bb86e,0x6,_0x90bfc6[0x3c]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x14e89a,0xa,_0x90bfc6[0x3d]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4606a4,0xf,_0x90bfc6[0x3e]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4044f0,0x15,_0x90bfc6[0x3f]),_0x25c05c[0x0]=_0x25c05c[0x0]+_0x25c9e8|0x0,_0x25c05c[0x1]=_0x25c05c[0x1]+_0x544f88|0x0,_0x25c05c[0x2]=_0x25c05c[0x2]+_0x3b53f6|0x0,_0x25c05c[0x3]=_0x25c05c[0x3]+_0x14c655|0x0;},'_doFinalize':function(){var _0xb0fd30=_0x871b48,_0x357534=this[_0xb0fd30(0x3f7)],_0x5cfbd0=_0x357534['words'],_0x46a55a=this['_nDataBytes']*0x8,_0x5b228f=_0x357534[_0xb0fd30(0x459)]*0x8;_0x5cfbd0[_0x5b228f>>>0x5]|=0x80<<0x18-_0x5b228f%0x20;var _0x4848d0=_0x2f610f[_0xb0fd30(0x498)](_0x46a55a/0x100000000),_0x59762e=_0x46a55a;_0x5cfbd0[(_0x5b228f+0x40>>>0x9<<0x4)+0xf]=(_0x4848d0<<0x8|_0x4848d0>>>0x18)&0xff00ff|(_0x4848d0<<0x18|_0x4848d0>>>0x8)&0xff00ff00,_0x5cfbd0[(_0x5b228f+0x40>>>0x9<<0x4)+0xe]=(_0x59762e<<0x8|_0x59762e>>>0x18)&0xff00ff|(_0x59762e<<0x18|_0x59762e>>>0x8)&0xff00ff00,_0x357534[_0xb0fd30(0x459)]=(_0x5cfbd0[_0xb0fd30(0x1b2)]+0x1)*0x4,this[_0xb0fd30(0x268)]();for(var _0xc145df=this[_0xb0fd30(0x36c)],_0x55daa7=_0xc145df[_0xb0fd30(0x40e)],_0x3984bf=0x0;_0x3984bf<0x4;_0x3984bf++){var _0x5ef401=_0x55daa7[_0x3984bf];_0x55daa7[_0x3984bf]=(_0x5ef401<<0x8|_0x5ef401>>>0x18)&0xff00ff|(_0x5ef401<<0x18|_0x5ef401>>>0x8)&0xff00ff00;}return _0xc145df;},'clone':function(){var _0x13e489=_0x871b48,_0x4a796d=_0x455277[_0x13e489(0x38a)][_0x13e489(0x36a)](this);return _0x4a796d[_0x13e489(0x36c)]=this[_0x13e489(0x36c)][_0x13e489(0x38a)](),_0x4a796d;}});function _0x9e25d6(_0x4302f7,_0x4bcf32,_0x461c00,_0x168829,_0x491b65,_0x2c4795,_0x25e4c1){var _0x3181b0=_0x4302f7+(_0x4bcf32&_0x461c00|~_0x4bcf32&_0x168829)+_0x491b65+_0x25e4c1;return(_0x3181b0<<_0x2c4795|_0x3181b0>>>0x20-_0x2c4795)+_0x4bcf32;}function _0x54191b(_0xc3cf22,_0x192462,_0x8ff0d0,_0x175652,_0x1efc37,_0x4f741a,_0x3c9b12){var _0x4aea3b=_0xc3cf22+(_0x192462&_0x175652|_0x8ff0d0&~_0x175652)+_0x1efc37+_0x3c9b12;return(_0x4aea3b<<_0x4f741a|_0x4aea3b>>>0x20-_0x4f741a)+_0x192462;}function _0x2c7586(_0x39f9e5,_0x281afd,_0x7751c7,_0x51bc01,_0x38cd4d,_0xacb533,_0x4412df){var _0x214965=_0x39f9e5+(_0x281afd^_0x7751c7^_0x51bc01)+_0x38cd4d+_0x4412df;return(_0x214965<<_0xacb533|_0x214965>>>0x20-_0xacb533)+_0x281afd;}function _0x5b5eba(_0x386128,_0x330310,_0x386436,_0x130e8f,_0x446c29,_0x8e1b47,_0x302d62){var _0xda4ef4=_0x386128+(_0x386436^(_0x330310|~_0x130e8f))+_0x446c29+_0x302d62;return(_0xda4ef4<<_0x8e1b47|_0xda4ef4>>>0x20-_0x8e1b47)+_0x330310;}_0x36e02a[_0x871b48(0x3cc)]=_0x455277[_0x871b48(0x3e4)](_0x5b4238),_0x36e02a[_0x871b48(0x2a4)]=_0x455277['_createHmacHelper'](_0x5b4238);}(Math),_0x50e3a4[_0x3eae23(0x3cc)];}));}(ge)),ge[_0xbc9bd0(0x4d9)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5c0715(0x4d9)],nt;function Qn(){var _0x30155b=_0x5c0715;return nt||(nt=0x1,function(_0x3ea7fe,_0x119735){(function(_0xf857e2,_0x5b14e6){var _0x39d70d=_0x5fe0;_0x3ea7fe[_0x39d70d(0x4d9)]=_0x5b14e6(ee());}(Zn,function(_0x15d765){return(function(){var _0x2e4099=_0x5fe0,_0x25a837=_0x15d765,_0x34e699=_0x25a837['lib'],_0x5ecefc=_0x34e699[_0x2e4099(0x348)],_0x4c4169=_0x34e699['Hasher'],_0x3e0e4a=_0x25a837[_0x2e4099(0x4f2)],_0x2b9fb5=[],_0x1d9794=_0x3e0e4a[_0x2e4099(0x368)]=_0x4c4169[_0x2e4099(0x3eb)]({'_doReset':function(){var _0x3a833c=_0x2e4099;this[_0x3a833c(0x36c)]=new _0x5ecefc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b80ef,_0x125c6b){var _0x30c5ec=_0x2e4099;for(var _0x418b05=this[_0x30c5ec(0x36c)]['words'],_0x16e514=_0x418b05[0x0],_0x54ee31=_0x418b05[0x1],_0x215b9a=_0x418b05[0x2],_0x4d0bbc=_0x418b05[0x3],_0x19a137=_0x418b05[0x4],_0x4ba7e1=0x0;_0x4ba7e1<0x50;_0x4ba7e1++){if(_0x4ba7e1<0x10)_0x2b9fb5[_0x4ba7e1]=_0x4b80ef[_0x125c6b+_0x4ba7e1]|0x0;else{var _0x52e4bc=_0x2b9fb5[_0x4ba7e1-0x3]^_0x2b9fb5[_0x4ba7e1-0x8]^_0x2b9fb5[_0x4ba7e1-0xe]^_0x2b9fb5[_0x4ba7e1-0x10];_0x2b9fb5[_0x4ba7e1]=_0x52e4bc<<0x1|_0x52e4bc>>>0x1f;}var _0x445ef3=(_0x16e514<<0x5|_0x16e514>>>0x1b)+_0x19a137+_0x2b9fb5[_0x4ba7e1];_0x4ba7e1<0x14?_0x445ef3+=(_0x54ee31&_0x215b9a|~_0x54ee31&_0x4d0bbc)+0x5a827999:_0x4ba7e1<0x28?_0x445ef3+=(_0x54ee31^_0x215b9a^_0x4d0bbc)+0x6ed9eba1:_0x4ba7e1<0x3c?_0x445ef3+=(_0x54ee31&_0x215b9a|_0x54ee31&_0x4d0bbc|_0x215b9a&_0x4d0bbc)-0x70e44324:_0x445ef3+=(_0x54ee31^_0x215b9a^_0x4d0bbc)-0x359d3e2a,_0x19a137=_0x4d0bbc,_0x4d0bbc=_0x215b9a,_0x215b9a=_0x54ee31<<0x1e|_0x54ee31>>>0x2,_0x54ee31=_0x16e514,_0x16e514=_0x445ef3;}_0x418b05[0x0]=_0x418b05[0x0]+_0x16e514|0x0,_0x418b05[0x1]=_0x418b05[0x1]+_0x54ee31|0x0,_0x418b05[0x2]=_0x418b05[0x2]+_0x215b9a|0x0,_0x418b05[0x3]=_0x418b05[0x3]+_0x4d0bbc|0x0,_0x418b05[0x4]=_0x418b05[0x4]+_0x19a137|0x0;},'_doFinalize':function(){var _0x329a46=_0x2e4099,_0x5242bb=this['_data'],_0x2009b8=_0x5242bb[_0x329a46(0x40e)],_0xa44c8c=this[_0x329a46(0x3a6)]*0x8,_0x181758=_0x5242bb['sigBytes']*0x8;return _0x2009b8[_0x181758>>>0x5]|=0x80<<0x18-_0x181758%0x20,_0x2009b8[(_0x181758+0x40>>>0x9<<0x4)+0xe]=Math[_0x329a46(0x498)](_0xa44c8c/0x100000000),_0x2009b8[(_0x181758+0x40>>>0x9<<0x4)+0xf]=_0xa44c8c,_0x5242bb['sigBytes']=_0x2009b8[_0x329a46(0x1b2)]*0x4,this[_0x329a46(0x268)](),this[_0x329a46(0x36c)];},'clone':function(){var _0xc39b32=_0x2e4099,_0x5ceef7=_0x4c4169[_0xc39b32(0x38a)][_0xc39b32(0x36a)](this);return _0x5ceef7['_hash']=this[_0xc39b32(0x36c)][_0xc39b32(0x38a)](),_0x5ceef7;}});_0x25a837['SHA1']=_0x4c4169[_0x2e4099(0x3e4)](_0x1d9794),_0x25a837[_0x2e4099(0x44e)]=_0x4c4169[_0x2e4099(0x455)](_0x1d9794);}()),_0x15d765['SHA1'];}));}(Ee)),Ee[_0x30155b(0x4d9)];}var Ce={'exports':{}},ei=Ce[_0x5c0715(0x4d9)],it;function ti(){return it||(it=0x1,function(_0x1e8bf4,_0x2e57ff){(function(_0x9ae92a,_0x464b9d){var _0xfc036b=_0x5fe0;_0x1e8bf4[_0xfc036b(0x4d9)]=_0x464b9d(ee());}(ei,function(_0x33019b){(function(){var _0x2ec67a=_0x5fe0,_0x57298a=_0x33019b,_0x51d80a=_0x57298a['lib'],_0x447e4f=_0x51d80a[_0x2ec67a(0x4ef)],_0x56f24d=_0x57298a[_0x2ec67a(0x29d)],_0x42868d=_0x56f24d[_0x2ec67a(0x246)],_0x369f32=_0x57298a['algo'];_0x369f32[_0x2ec67a(0x452)]=_0x447e4f[_0x2ec67a(0x3eb)]({'init':function(_0x352100,_0x371409){var _0x2d3ada=_0x2ec67a;_0x352100=this['_hasher']=new _0x352100[(_0x2d3ada(0x43f))](),typeof _0x371409=='string'&&(_0x371409=_0x42868d[_0x2d3ada(0x24d)](_0x371409));var _0x5504cf=_0x352100[_0x2d3ada(0x3c1)],_0x525f4b=_0x5504cf*0x4;_0x371409['sigBytes']>_0x525f4b&&(_0x371409=_0x352100[_0x2d3ada(0x4f7)](_0x371409)),_0x371409[_0x2d3ada(0x3c6)]();for(var _0x48c2a0=this[_0x2d3ada(0x226)]=_0x371409['clone'](),_0x234339=this[_0x2d3ada(0x266)]=_0x371409[_0x2d3ada(0x38a)](),_0x494f1d=_0x48c2a0[_0x2d3ada(0x40e)],_0x876e31=_0x234339[_0x2d3ada(0x40e)],_0x336afa=0x0;_0x336afa<_0x5504cf;_0x336afa++)_0x494f1d[_0x336afa]^=0x5c5c5c5c,_0x876e31[_0x336afa]^=0x36363636;_0x48c2a0['sigBytes']=_0x234339[_0x2d3ada(0x459)]=_0x525f4b,this['reset']();},'reset':function(){var _0x4b0d53=_0x2ec67a,_0x5915e4=this[_0x4b0d53(0x43b)];_0x5915e4['reset'](),_0x5915e4['update'](this[_0x4b0d53(0x266)]);},'update':function(_0x522d40){var _0x21cb65=_0x2ec67a;return this[_0x21cb65(0x43b)][_0x21cb65(0x1e2)](_0x522d40),this;},'finalize':function(_0x5b1bd1){var _0x9c8e41=_0x2ec67a,_0x153f66=this[_0x9c8e41(0x43b)],_0x1931f1=_0x153f66[_0x9c8e41(0x4f7)](_0x5b1bd1);_0x153f66['reset']();var _0x2989c4=_0x153f66['finalize'](this['_oKey'][_0x9c8e41(0x38a)]()[_0x9c8e41(0x2a9)](_0x1931f1));return _0x2989c4;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x5c0715(0x4d9)],rt;function wt(){return rt||(rt=0x1,function(_0x11e133,_0x384f9b){(function(_0x2e22db,_0x10416b,_0x3e9fe2){_0x11e133['exports']=_0x10416b(ee(),Qn(),ti());}(ni,function(_0x5fcee9){return(function(){var _0x1d6657=_0x5fe0,_0x477274=_0x5fcee9,_0x585efc=_0x477274['lib'],_0x178704=_0x585efc[_0x1d6657(0x4ef)],_0x435e3f=_0x585efc[_0x1d6657(0x348)],_0x14fb84=_0x477274['algo'],_0x218787=_0x14fb84[_0x1d6657(0x3cc)],_0x14e4bc=_0x14fb84[_0x1d6657(0x1f2)]=_0x178704[_0x1d6657(0x3eb)]({'cfg':_0x178704[_0x1d6657(0x3eb)]({'keySize':0x80/0x20,'hasher':_0x218787,'iterations':0x1}),'init':function(_0x518170){var _0x20dd3e=_0x1d6657;this[_0x20dd3e(0x28d)]=this['cfg'][_0x20dd3e(0x3eb)](_0x518170);},'compute':function(_0x2a8226,_0x398dcc){var _0x7b1e1d=_0x1d6657;for(var _0xb3ba91,_0x5236da=this['cfg'],_0x1d5a57=_0x5236da[_0x7b1e1d(0x25c)][_0x7b1e1d(0x269)](),_0x1727f9=_0x435e3f[_0x7b1e1d(0x269)](),_0x29833a=_0x1727f9['words'],_0x4bb983=_0x5236da['keySize'],_0x363438=_0x5236da[_0x7b1e1d(0x263)];_0x29833a[_0x7b1e1d(0x1b2)]<_0x4bb983;){_0xb3ba91&&_0x1d5a57['update'](_0xb3ba91),_0xb3ba91=_0x1d5a57[_0x7b1e1d(0x1e2)](_0x2a8226)[_0x7b1e1d(0x4f7)](_0x398dcc),_0x1d5a57['reset']();for(var _0x39f561=0x1;_0x39f561<_0x363438;_0x39f561++)_0xb3ba91=_0x1d5a57[_0x7b1e1d(0x4f7)](_0xb3ba91),_0x1d5a57[_0x7b1e1d(0x48d)]();_0x1727f9['concat'](_0xb3ba91);}return _0x1727f9[_0x7b1e1d(0x459)]=_0x4bb983*0x4,_0x1727f9;}});_0x477274[_0x1d6657(0x1f2)]=function(_0x238521,_0x13dff2,_0x2e4678){var _0x4062ce=_0x1d6657;return _0x14e4bc[_0x4062ce(0x269)](_0x2e4678)[_0x4062ce(0x187)](_0x238521,_0x13dff2);};}()),_0x5fcee9['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},ii=Te[_0x5c0715(0x4d9)],st;function At(){var _0x13dcff=_0x5c0715;return st||(st=0x1,function(_0x1ee820,_0x5db554){(function(_0x2c2638,_0x44cb82,_0x1c6eb9){var _0x4e5150=_0x5fe0;_0x1ee820[_0x4e5150(0x4d9)]=_0x44cb82(ee(),wt());}(ii,function(_0x1e2580){var _0xe46aa2=_0x5fe0;_0x1e2580[_0xe46aa2(0x302)][_0xe46aa2(0x2c3)]||function(_0x26f005){var _0x33352f=_0xe46aa2,_0x59e775=_0x1e2580,_0x3659af=_0x59e775[_0x33352f(0x302)],_0x452e34=_0x3659af[_0x33352f(0x4ef)],_0x3ca79e=_0x3659af[_0x33352f(0x348)],_0x28c966=_0x3659af[_0x33352f(0x408)],_0x115e6d=_0x59e775[_0x33352f(0x29d)];_0x115e6d[_0x33352f(0x246)];var _0x73d1bc=_0x115e6d[_0x33352f(0x23d)],_0x3f9820=_0x59e775['algo'],_0x45d5cb=_0x3f9820['EvpKDF'],_0x4f5172=_0x3659af[_0x33352f(0x2c3)]=_0x28c966[_0x33352f(0x3eb)]({'cfg':_0x452e34['extend'](),'createEncryptor':function(_0x389ea9,_0x365494){var _0x33c4ed=_0x33352f;return this[_0x33c4ed(0x269)](this[_0x33c4ed(0x18c)],_0x389ea9,_0x365494);},'createDecryptor':function(_0x438b39,_0x5dbfb6){var _0x49f5b9=_0x33352f;return this[_0x49f5b9(0x269)](this[_0x49f5b9(0x22c)],_0x438b39,_0x5dbfb6);},'init':function(_0x2d097d,_0x46b3fd,_0x50fc1e){var _0x52407e=_0x33352f;this[_0x52407e(0x28d)]=this[_0x52407e(0x28d)][_0x52407e(0x3eb)](_0x50fc1e),this['_xformMode']=_0x2d097d,this['_key']=_0x46b3fd,this[_0x52407e(0x48d)]();},'reset':function(){var _0x112596=_0x33352f;_0x28c966[_0x112596(0x48d)][_0x112596(0x36a)](this),this['_doReset']();},'process':function(_0x4fea50){var _0x4a46c7=_0x33352f;return this[_0x4a46c7(0x4a9)](_0x4fea50),this[_0x4a46c7(0x268)]();},'finalize':function(_0x472531){var _0x5a2972=_0x33352f;_0x472531&&this[_0x5a2972(0x4a9)](_0x472531);var _0x54db13=this[_0x5a2972(0x41a)]();return _0x54db13;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f5de2(_0x4c8511){var _0x540669=_0x5fe0;return typeof _0x4c8511==_0x540669(0x4c2)?_0x14da10:_0x552cc7;}return function(_0x4004aa){return{'encrypt':function(_0x57ae34,_0x597cc9,_0x235aeb){var _0xcbac57=_0x5fe0;return _0x1f5de2(_0x597cc9)[_0xcbac57(0x188)](_0x4004aa,_0x57ae34,_0x597cc9,_0x235aeb);},'decrypt':function(_0xe9c2b2,_0x30d907,_0x54c1e6){var _0x21808a=_0x5fe0;return _0x1f5de2(_0x30d907)[_0x21808a(0x4ce)](_0x4004aa,_0xe9c2b2,_0x30d907,_0x54c1e6);}};};}())});_0x3659af[_0x33352f(0x330)]=_0x4f5172[_0x33352f(0x3eb)]({'_doFinalize':function(){var _0x20b3a6=this['_process'](!0x0);return _0x20b3a6;},'blockSize':0x1});var _0x2d772b=_0x59e775[_0x33352f(0x279)]={},_0xe11875=_0x3659af[_0x33352f(0x3dc)]=_0x452e34['extend']({'createEncryptor':function(_0x4bb4ea,_0x4d6c72){var _0x4dc5e6=_0x33352f;return this[_0x4dc5e6(0x23e)][_0x4dc5e6(0x269)](_0x4bb4ea,_0x4d6c72);},'createDecryptor':function(_0x41837e,_0x1165dd){var _0x265070=_0x33352f;return this[_0x265070(0x329)]['create'](_0x41837e,_0x1165dd);},'init':function(_0x1067d3,_0x569419){var _0x610d4b=_0x33352f;this[_0x610d4b(0x4ac)]=_0x1067d3,this[_0x610d4b(0x436)]=_0x569419;}}),_0x4e171a=_0x2d772b[_0x33352f(0x210)]=(function(){var _0x2c5f0f=_0x33352f,_0x403595=_0xe11875[_0x2c5f0f(0x3eb)]();_0x403595[_0x2c5f0f(0x23e)]=_0x403595[_0x2c5f0f(0x3eb)]({'processBlock':function(_0xb54ac0,_0x4c6b91){var _0x1e89ee=_0x2c5f0f,_0x155456=this[_0x1e89ee(0x4ac)],_0x16bf03=_0x155456['blockSize'];_0x4b7d29[_0x1e89ee(0x36a)](this,_0xb54ac0,_0x4c6b91,_0x16bf03),_0x155456[_0x1e89ee(0x4f0)](_0xb54ac0,_0x4c6b91),this[_0x1e89ee(0x197)]=_0xb54ac0[_0x1e89ee(0x34b)](_0x4c6b91,_0x4c6b91+_0x16bf03);}}),_0x403595['Decryptor']=_0x403595[_0x2c5f0f(0x3eb)]({'processBlock':function(_0x304bd4,_0x459967){var _0x299b78=_0x2c5f0f,_0x4fde38=this[_0x299b78(0x4ac)],_0x543b8f=_0x4fde38[_0x299b78(0x3c1)],_0x440156=_0x304bd4[_0x299b78(0x34b)](_0x459967,_0x459967+_0x543b8f);_0x4fde38[_0x299b78(0x2af)](_0x304bd4,_0x459967),_0x4b7d29[_0x299b78(0x36a)](this,_0x304bd4,_0x459967,_0x543b8f),this[_0x299b78(0x197)]=_0x440156;}});function _0x4b7d29(_0x3b4bc1,_0x1a81dc,_0x2be954){var _0x426c5c=_0x2c5f0f,_0x4c9a52,_0x190f99=this[_0x426c5c(0x436)];_0x190f99?(_0x4c9a52=_0x190f99,this[_0x426c5c(0x436)]=_0x26f005):_0x4c9a52=this['_prevBlock'];for(var _0x48b4f3=0x0;_0x48b4f3<_0x2be954;_0x48b4f3++)_0x3b4bc1[_0x1a81dc+_0x48b4f3]^=_0x4c9a52[_0x48b4f3];}return _0x403595;}()),_0x25b6aa=_0x59e775[_0x33352f(0x2e7)]={},_0x116d43=_0x25b6aa[_0x33352f(0x2e9)]={'pad':function(_0x46d9af,_0x5cd7d7){var _0x4c1afa=_0x33352f;for(var _0x2ff52b=_0x5cd7d7*0x4,_0x2b1441=_0x2ff52b-_0x46d9af[_0x4c1afa(0x459)]%_0x2ff52b,_0x2b60de=_0x2b1441<<0x18|_0x2b1441<<0x10|_0x2b1441<<0x8|_0x2b1441,_0x5a8373=[],_0x3a8598=0x0;_0x3a8598<_0x2b1441;_0x3a8598+=0x4)_0x5a8373[_0x4c1afa(0x3aa)](_0x2b60de);var _0x3c5adb=_0x3ca79e[_0x4c1afa(0x269)](_0x5a8373,_0x2b1441);_0x46d9af['concat'](_0x3c5adb);},'unpad':function(_0x568bc0){var _0x233175=_0x33352f,_0x1e01f8=_0x568bc0[_0x233175(0x40e)][_0x568bc0[_0x233175(0x459)]-0x1>>>0x2]&0xff;_0x568bc0[_0x233175(0x459)]-=_0x1e01f8;}};_0x3659af[_0x33352f(0x1a8)]=_0x4f5172[_0x33352f(0x3eb)]({'cfg':_0x4f5172[_0x33352f(0x28d)]['extend']({'mode':_0x4e171a,'padding':_0x116d43}),'reset':function(){var _0x583fc2=_0x33352f,_0x303768;_0x4f5172[_0x583fc2(0x48d)]['call'](this);var _0x3f1294=this[_0x583fc2(0x28d)],_0x5d9c20=_0x3f1294['iv'],_0x21b058=_0x3f1294['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x303768=_0x21b058[_0x583fc2(0x2a2)]:(_0x303768=_0x21b058['createDecryptor'],this[_0x583fc2(0x28a)]=0x1),this[_0x583fc2(0x191)]&&this['_mode']['__creator']==_0x303768?this[_0x583fc2(0x191)]['init'](this,_0x5d9c20&&_0x5d9c20['words']):(this[_0x583fc2(0x191)]=_0x303768[_0x583fc2(0x36a)](_0x21b058,this,_0x5d9c20&&_0x5d9c20['words']),this['_mode'][_0x583fc2(0x1e4)]=_0x303768);},'_doProcessBlock':function(_0x172cae,_0xf8a0b3){var _0x9b4bad=_0x33352f;this[_0x9b4bad(0x191)][_0x9b4bad(0x38f)](_0x172cae,_0xf8a0b3);},'_doFinalize':function(){var _0x55bb7d=_0x33352f,_0x328314,_0x496123=this['cfg'][_0x55bb7d(0x482)];return this[_0x55bb7d(0x3f5)]==this[_0x55bb7d(0x18c)]?(_0x496123['pad'](this['_data'],this['blockSize']),_0x328314=this[_0x55bb7d(0x268)](!0x0)):(_0x328314=this[_0x55bb7d(0x268)](!0x0),_0x496123[_0x55bb7d(0x4dd)](_0x328314)),_0x328314;},'blockSize':0x80/0x20});var _0x11d2ce=_0x3659af[_0x33352f(0x2ed)]=_0x452e34[_0x33352f(0x3eb)]({'init':function(_0x2f8239){var _0x33eedc=_0x33352f;this[_0x33eedc(0x1fb)](_0x2f8239);},'toString':function(_0x2c31f2){var _0x1e642e=_0x33352f;return(_0x2c31f2||this[_0x1e642e(0x298)])[_0x1e642e(0x26a)](this);}}),_0x438a0e=_0x59e775[_0x33352f(0x376)]={},_0x38cb4f=_0x438a0e[_0x33352f(0x321)]={'stringify':function(_0x111d72){var _0x576a34=_0x33352f,_0x2bee15,_0x51c089=_0x111d72[_0x576a34(0x2d4)],_0x2db2a6=_0x111d72['salt'];return _0x2db2a6?_0x2bee15=_0x3ca79e['create']([0x53616c74,0x65645f5f])['concat'](_0x2db2a6)[_0x576a34(0x2a9)](_0x51c089):_0x2bee15=_0x51c089,_0x2bee15[_0x576a34(0x3fc)](_0x73d1bc);},'parse':function(_0x459053){var _0x4e9600=_0x33352f,_0x295c7c,_0x243612=_0x73d1bc[_0x4e9600(0x24d)](_0x459053),_0x21e864=_0x243612[_0x4e9600(0x40e)];return _0x21e864[0x0]==0x53616c74&&_0x21e864[0x1]==0x65645f5f&&(_0x295c7c=_0x3ca79e[_0x4e9600(0x269)](_0x21e864[_0x4e9600(0x34b)](0x2,0x4)),_0x21e864[_0x4e9600(0x4eb)](0x0,0x4),_0x243612[_0x4e9600(0x459)]-=0x10),_0x11d2ce[_0x4e9600(0x269)]({'ciphertext':_0x243612,'salt':_0x295c7c});}},_0x552cc7=_0x3659af[_0x33352f(0x259)]=_0x452e34['extend']({'cfg':_0x452e34[_0x33352f(0x3eb)]({'format':_0x38cb4f}),'encrypt':function(_0x33b5e9,_0x3b98c3,_0x13b887,_0x2b19a3){var _0x2478a8=_0x33352f;_0x2b19a3=this[_0x2478a8(0x28d)][_0x2478a8(0x3eb)](_0x2b19a3);var _0x3ebfec=_0x33b5e9[_0x2478a8(0x2a2)](_0x13b887,_0x2b19a3),_0x4bbb4f=_0x3ebfec[_0x2478a8(0x4f7)](_0x3b98c3),_0x15736d=_0x3ebfec[_0x2478a8(0x28d)];return _0x11d2ce[_0x2478a8(0x269)]({'ciphertext':_0x4bbb4f,'key':_0x13b887,'iv':_0x15736d['iv'],'algorithm':_0x33b5e9,'mode':_0x15736d[_0x2478a8(0x279)],'padding':_0x15736d[_0x2478a8(0x482)],'blockSize':_0x33b5e9[_0x2478a8(0x3c1)],'formatter':_0x2b19a3[_0x2478a8(0x376)]});},'decrypt':function(_0x4308a0,_0x5d87e6,_0x5ae9f1,_0x5028e5){var _0x3d203f=_0x33352f;_0x5028e5=this[_0x3d203f(0x28d)][_0x3d203f(0x3eb)](_0x5028e5),_0x5d87e6=this['_parse'](_0x5d87e6,_0x5028e5[_0x3d203f(0x376)]);var _0x400926=_0x4308a0[_0x3d203f(0x449)](_0x5ae9f1,_0x5028e5)['finalize'](_0x5d87e6[_0x3d203f(0x2d4)]);return _0x400926;},'_parse':function(_0x3df698,_0x5e2ff7){var _0x3a6a3d=_0x33352f;return typeof _0x3df698=='string'?_0x5e2ff7[_0x3a6a3d(0x24d)](_0x3df698,this):_0x3df698;}}),_0x5e5bf3=_0x59e775[_0x33352f(0x341)]={},_0x34e2e8=_0x5e5bf3[_0x33352f(0x321)]={'execute':function(_0x45ea45,_0x31ee18,_0x18cc25,_0x4a3891,_0x2a1749){var _0x5045ce=_0x33352f;if(_0x4a3891||(_0x4a3891=_0x3ca79e[_0x5045ce(0x346)](0x40/0x8)),_0x2a1749)var _0xbb6458=_0x45d5cb['create']({'keySize':_0x31ee18+_0x18cc25,'hasher':_0x2a1749})['compute'](_0x45ea45,_0x4a3891);else var _0xbb6458=_0x45d5cb[_0x5045ce(0x269)]({'keySize':_0x31ee18+_0x18cc25})['compute'](_0x45ea45,_0x4a3891);var _0x577a90=_0x3ca79e[_0x5045ce(0x269)](_0xbb6458['words']['slice'](_0x31ee18),_0x18cc25*0x4);return _0xbb6458[_0x5045ce(0x459)]=_0x31ee18*0x4,_0x11d2ce[_0x5045ce(0x269)]({'key':_0xbb6458,'iv':_0x577a90,'salt':_0x4a3891});}},_0x14da10=_0x3659af[_0x33352f(0x242)]=_0x552cc7[_0x33352f(0x3eb)]({'cfg':_0x552cc7[_0x33352f(0x28d)][_0x33352f(0x3eb)]({'kdf':_0x34e2e8}),'encrypt':function(_0x16f3bc,_0x565872,_0x1b1026,_0x121dc8){var _0x251ee2=_0x33352f;_0x121dc8=this[_0x251ee2(0x28d)][_0x251ee2(0x3eb)](_0x121dc8);var _0x21b237=_0x121dc8[_0x251ee2(0x341)][_0x251ee2(0x2fd)](_0x1b1026,_0x16f3bc[_0x251ee2(0x19d)],_0x16f3bc[_0x251ee2(0x1f3)],_0x121dc8[_0x251ee2(0x1a7)],_0x121dc8[_0x251ee2(0x25c)]);_0x121dc8['iv']=_0x21b237['iv'];var _0x49d214=_0x552cc7[_0x251ee2(0x188)][_0x251ee2(0x36a)](this,_0x16f3bc,_0x565872,_0x21b237['key'],_0x121dc8);return _0x49d214[_0x251ee2(0x1fb)](_0x21b237),_0x49d214;},'decrypt':function(_0x91cff,_0x5e3bf3,_0x35bfad,_0x3559fd){var _0x33c145=_0x33352f;_0x3559fd=this[_0x33c145(0x28d)]['extend'](_0x3559fd),_0x5e3bf3=this[_0x33c145(0x1ea)](_0x5e3bf3,_0x3559fd[_0x33c145(0x376)]);var _0x16bafd=_0x3559fd[_0x33c145(0x341)][_0x33c145(0x2fd)](_0x35bfad,_0x91cff['keySize'],_0x91cff[_0x33c145(0x1f3)],_0x5e3bf3[_0x33c145(0x1a7)],_0x3559fd['hasher']);_0x3559fd['iv']=_0x16bafd['iv'];var _0x54a830=_0x552cc7[_0x33c145(0x4ce)][_0x33c145(0x36a)](this,_0x91cff,_0x5e3bf3,_0x16bafd[_0x33c145(0x1e8)],_0x3559fd);return _0x54a830;}});}();}));}(Te)),Te[_0x13dcff(0x4d9)];}var ri=Se[_0x5c0715(0x4d9)],ot;function si(){var _0x3be79d=_0x5c0715;return ot||(ot=0x1,function(_0x117b57,_0x20d677){(function(_0x2a57f8,_0x184a2a,_0x137ba){_0x117b57['exports']=_0x184a2a(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x2a5e7a){return(function(){var _0x2d9458=_0x5fe0,_0x345db5=_0x2a5e7a,_0x576042=_0x345db5[_0x2d9458(0x302)],_0x49411a=_0x576042['BlockCipher'],_0x5c9660=_0x345db5[_0x2d9458(0x4f2)],_0x370b5d=[],_0x539e98=[],_0x5ae502=[],_0x3b7510=[],_0x40922b=[],_0x43db08=[],_0x27d94e=[],_0x1d7426=[],_0x8b4fc7=[],_0x2fd048=[];(function(){for(var _0x51fe15=[],_0x5324da=0x0;_0x5324da<0x100;_0x5324da++)_0x5324da<0x80?_0x51fe15[_0x5324da]=_0x5324da<<0x1:_0x51fe15[_0x5324da]=_0x5324da<<0x1^0x11b;for(var _0x4bb5ca=0x0,_0x5187db=0x0,_0x5324da=0x0;_0x5324da<0x100;_0x5324da++){var _0x5e8c83=_0x5187db^_0x5187db<<0x1^_0x5187db<<0x2^_0x5187db<<0x3^_0x5187db<<0x4;_0x5e8c83=_0x5e8c83>>>0x8^_0x5e8c83&0xff^0x63,_0x370b5d[_0x4bb5ca]=_0x5e8c83,_0x539e98[_0x5e8c83]=_0x4bb5ca;var _0x27def1=_0x51fe15[_0x4bb5ca],_0x4f2910=_0x51fe15[_0x27def1],_0x4b46d0=_0x51fe15[_0x4f2910],_0x545987=_0x51fe15[_0x5e8c83]*0x101^_0x5e8c83*0x1010100;_0x5ae502[_0x4bb5ca]=_0x545987<<0x18|_0x545987>>>0x8,_0x3b7510[_0x4bb5ca]=_0x545987<<0x10|_0x545987>>>0x10,_0x40922b[_0x4bb5ca]=_0x545987<<0x8|_0x545987>>>0x18,_0x43db08[_0x4bb5ca]=_0x545987;var _0x545987=_0x4b46d0*0x1010101^_0x4f2910*0x10001^_0x27def1*0x101^_0x4bb5ca*0x1010100;_0x27d94e[_0x5e8c83]=_0x545987<<0x18|_0x545987>>>0x8,_0x1d7426[_0x5e8c83]=_0x545987<<0x10|_0x545987>>>0x10,_0x8b4fc7[_0x5e8c83]=_0x545987<<0x8|_0x545987>>>0x18,_0x2fd048[_0x5e8c83]=_0x545987,_0x4bb5ca?(_0x4bb5ca=_0x27def1^_0x51fe15[_0x51fe15[_0x51fe15[_0x4b46d0^_0x27def1]]],_0x5187db^=_0x51fe15[_0x51fe15[_0x5187db]]):_0x4bb5ca=_0x5187db=0x1;}}());var _0x2b0fde=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfd2016=_0x5c9660[_0x2d9458(0x31d)]=_0x49411a['extend']({'_doReset':function(){var _0x2652a8=_0x2d9458,_0x4470d1;if(!(this['_nRounds']&&this[_0x2652a8(0x2b6)]===this[_0x2652a8(0x446)])){for(var _0x3cd18a=this[_0x2652a8(0x2b6)]=this[_0x2652a8(0x446)],_0x1840f5=_0x3cd18a[_0x2652a8(0x40e)],_0x16ad8a=_0x3cd18a[_0x2652a8(0x459)]/0x4,_0xd225d9=this[_0x2652a8(0x1cc)]=_0x16ad8a+0x6,_0x3cc981=(_0xd225d9+0x1)*0x4,_0x4ae47d=this['_keySchedule']=[],_0x2428a6=0x0;_0x2428a6<_0x3cc981;_0x2428a6++)_0x2428a6<_0x16ad8a?_0x4ae47d[_0x2428a6]=_0x1840f5[_0x2428a6]:(_0x4470d1=_0x4ae47d[_0x2428a6-0x1],_0x2428a6%_0x16ad8a?_0x16ad8a>0x6&&_0x2428a6%_0x16ad8a==0x4&&(_0x4470d1=_0x370b5d[_0x4470d1>>>0x18]<<0x18|_0x370b5d[_0x4470d1>>>0x10&0xff]<<0x10|_0x370b5d[_0x4470d1>>>0x8&0xff]<<0x8|_0x370b5d[_0x4470d1&0xff]):(_0x4470d1=_0x4470d1<<0x8|_0x4470d1>>>0x18,_0x4470d1=_0x370b5d[_0x4470d1>>>0x18]<<0x18|_0x370b5d[_0x4470d1>>>0x10&0xff]<<0x10|_0x370b5d[_0x4470d1>>>0x8&0xff]<<0x8|_0x370b5d[_0x4470d1&0xff],_0x4470d1^=_0x2b0fde[_0x2428a6/_0x16ad8a|0x0]<<0x18),_0x4ae47d[_0x2428a6]=_0x4ae47d[_0x2428a6-_0x16ad8a]^_0x4470d1);for(var _0xb28083=this[_0x2652a8(0x214)]=[],_0x595182=0x0;_0x595182<_0x3cc981;_0x595182++){var _0x2428a6=_0x3cc981-_0x595182;if(_0x595182%0x4)var _0x4470d1=_0x4ae47d[_0x2428a6];else var _0x4470d1=_0x4ae47d[_0x2428a6-0x4];_0x595182<0x4||_0x2428a6<=0x4?_0xb28083[_0x595182]=_0x4470d1:_0xb28083[_0x595182]=_0x27d94e[_0x370b5d[_0x4470d1>>>0x18]]^_0x1d7426[_0x370b5d[_0x4470d1>>>0x10&0xff]]^_0x8b4fc7[_0x370b5d[_0x4470d1>>>0x8&0xff]]^_0x2fd048[_0x370b5d[_0x4470d1&0xff]];}}},'encryptBlock':function(_0x2c379c,_0x154744){var _0x3510da=_0x2d9458;this[_0x3510da(0x260)](_0x2c379c,_0x154744,this['_keySchedule'],_0x5ae502,_0x3b7510,_0x40922b,_0x43db08,_0x370b5d);},'decryptBlock':function(_0x527ca4,_0x50f4e2){var _0x56dba4=_0x2d9458,_0x27973f=_0x527ca4[_0x50f4e2+0x1];_0x527ca4[_0x50f4e2+0x1]=_0x527ca4[_0x50f4e2+0x3],_0x527ca4[_0x50f4e2+0x3]=_0x27973f,this[_0x56dba4(0x260)](_0x527ca4,_0x50f4e2,this[_0x56dba4(0x214)],_0x27d94e,_0x1d7426,_0x8b4fc7,_0x2fd048,_0x539e98);var _0x27973f=_0x527ca4[_0x50f4e2+0x1];_0x527ca4[_0x50f4e2+0x1]=_0x527ca4[_0x50f4e2+0x3],_0x527ca4[_0x50f4e2+0x3]=_0x27973f;},'_doCryptBlock':function(_0x5b234a,_0xfa06e3,_0x1d1f38,_0x461d74,_0x10bc43,_0x4a3593,_0x608436,_0x32bf5b){for(var _0x4abb9f=this['_nRounds'],_0x1d9d8=_0x5b234a[_0xfa06e3]^_0x1d1f38[0x0],_0x3d35e6=_0x5b234a[_0xfa06e3+0x1]^_0x1d1f38[0x1],_0xf6b6bf=_0x5b234a[_0xfa06e3+0x2]^_0x1d1f38[0x2],_0x2d1b0e=_0x5b234a[_0xfa06e3+0x3]^_0x1d1f38[0x3],_0x187728=0x4,_0x221319=0x1;_0x221319<_0x4abb9f;_0x221319++){var _0x1c81f4=_0x461d74[_0x1d9d8>>>0x18]^_0x10bc43[_0x3d35e6>>>0x10&0xff]^_0x4a3593[_0xf6b6bf>>>0x8&0xff]^_0x608436[_0x2d1b0e&0xff]^_0x1d1f38[_0x187728++],_0x4b80f7=_0x461d74[_0x3d35e6>>>0x18]^_0x10bc43[_0xf6b6bf>>>0x10&0xff]^_0x4a3593[_0x2d1b0e>>>0x8&0xff]^_0x608436[_0x1d9d8&0xff]^_0x1d1f38[_0x187728++],_0x478a8c=_0x461d74[_0xf6b6bf>>>0x18]^_0x10bc43[_0x2d1b0e>>>0x10&0xff]^_0x4a3593[_0x1d9d8>>>0x8&0xff]^_0x608436[_0x3d35e6&0xff]^_0x1d1f38[_0x187728++],_0x58bb82=_0x461d74[_0x2d1b0e>>>0x18]^_0x10bc43[_0x1d9d8>>>0x10&0xff]^_0x4a3593[_0x3d35e6>>>0x8&0xff]^_0x608436[_0xf6b6bf&0xff]^_0x1d1f38[_0x187728++];_0x1d9d8=_0x1c81f4,_0x3d35e6=_0x4b80f7,_0xf6b6bf=_0x478a8c,_0x2d1b0e=_0x58bb82;}var _0x1c81f4=(_0x32bf5b[_0x1d9d8>>>0x18]<<0x18|_0x32bf5b[_0x3d35e6>>>0x10&0xff]<<0x10|_0x32bf5b[_0xf6b6bf>>>0x8&0xff]<<0x8|_0x32bf5b[_0x2d1b0e&0xff])^_0x1d1f38[_0x187728++],_0x4b80f7=(_0x32bf5b[_0x3d35e6>>>0x18]<<0x18|_0x32bf5b[_0xf6b6bf>>>0x10&0xff]<<0x10|_0x32bf5b[_0x2d1b0e>>>0x8&0xff]<<0x8|_0x32bf5b[_0x1d9d8&0xff])^_0x1d1f38[_0x187728++],_0x478a8c=(_0x32bf5b[_0xf6b6bf>>>0x18]<<0x18|_0x32bf5b[_0x2d1b0e>>>0x10&0xff]<<0x10|_0x32bf5b[_0x1d9d8>>>0x8&0xff]<<0x8|_0x32bf5b[_0x3d35e6&0xff])^_0x1d1f38[_0x187728++],_0x58bb82=(_0x32bf5b[_0x2d1b0e>>>0x18]<<0x18|_0x32bf5b[_0x1d9d8>>>0x10&0xff]<<0x10|_0x32bf5b[_0x3d35e6>>>0x8&0xff]<<0x8|_0x32bf5b[_0xf6b6bf&0xff])^_0x1d1f38[_0x187728++];_0x5b234a[_0xfa06e3]=_0x1c81f4,_0x5b234a[_0xfa06e3+0x1]=_0x4b80f7,_0x5b234a[_0xfa06e3+0x2]=_0x478a8c,_0x5b234a[_0xfa06e3+0x3]=_0x58bb82;},'keySize':0x100/0x20});_0x345db5['AES']=_0x49411a[_0x2d9458(0x3e4)](_0xfd2016);}()),_0x2a5e7a['AES'];}));}(Se)),Se[_0x3be79d(0x4d9)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0xb86272=_0x5c0715;return ct||(ct=0x1,function(_0x3d495e,_0x54e7ad){(function(_0x18d6e4,_0x4ff6e0){var _0x2302b5=_0x5fe0;_0x3d495e[_0x2302b5(0x4d9)]=_0x4ff6e0(ee());}(hi,function(_0x378ea5){var _0xde180b=_0x5fe0;return _0x378ea5[_0xde180b(0x29d)][_0xde180b(0x246)];}));}(be)),be[_0xb86272(0x4d9)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5c0715(0x4d9)],ht;function vi(){var _0x3f6ee3=_0x5c0715;return ht||(ht=0x1,function(_0xaff90c,_0x411be0){(function(_0x1260e6,_0xa62044){_0xaff90c['exports']=_0xa62044(ee());}(di,function(_0x5b7852){var _0xf7e734=_0x5fe0;return(function(){var _0x2ec6f5=_0x5fe0;if(typeof ArrayBuffer==_0x2ec6f5(0x3b3)){var _0x5b0c71=_0x5b7852,_0x3a003c=_0x5b0c71[_0x2ec6f5(0x302)],_0x5f5c76=_0x3a003c[_0x2ec6f5(0x348)],_0x1dc621=_0x5f5c76['init'],_0x295468=_0x5f5c76['init']=function(_0x177d66){var _0x2c76a6=_0x2ec6f5;if(_0x177d66 instanceof ArrayBuffer&&(_0x177d66=new Uint8Array(_0x177d66)),(_0x177d66 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x177d66 instanceof Uint8ClampedArray||_0x177d66 instanceof Int16Array||_0x177d66 instanceof Uint16Array||_0x177d66 instanceof Int32Array||_0x177d66 instanceof Uint32Array||_0x177d66 instanceof Float32Array||_0x177d66 instanceof Float64Array)&&(_0x177d66=new Uint8Array(_0x177d66[_0x2c76a6(0x4f6)],_0x177d66[_0x2c76a6(0x267)],_0x177d66[_0x2c76a6(0x3ab)])),_0x177d66 instanceof Uint8Array){for(var _0x248e4e=_0x177d66[_0x2c76a6(0x3ab)],_0x57dc72=[],_0x301726=0x0;_0x301726<_0x248e4e;_0x301726++)_0x57dc72[_0x301726>>>0x2]|=_0x177d66[_0x301726]<<0x18-_0x301726%0x4*0x8;_0x1dc621['call'](this,_0x57dc72,_0x248e4e);}else _0x1dc621[_0x2c76a6(0x342)](this,arguments);};_0x295468[_0x2ec6f5(0x287)]=_0x5f5c76;}}()),_0x5b7852[_0xf7e734(0x302)][_0xf7e734(0x348)];}));}(Re)),Re[_0x3f6ee3(0x4d9)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5c0715(0x4d9)],lt;function mi(){var _0x3e201f=_0x5c0715;return lt||(lt=0x1,function(_0x2bc0fe,_0x4efd53){(function(_0x1748df,_0x3a38d5,_0x13966e){_0x2bc0fe['exports']=_0x3a38d5(ee(),At());}(pi,function(_0x36c53c){var _0x4e696b=_0x5fe0;return _0x36c53c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x36c53c[_0x4e696b(0x2e7)][_0x4e696b(0x4f4)];}));}(Oe)),Oe[_0x3e201f(0x4d9)];}var gi=mi();const Ii=fe(gi);function Ei(_0x5de5a6,_0x1b616f){var _0x17281c=_0x5c0715;const _0x5f5582=_0x1b616f-_0x5de5a6[_0x17281c(0x1b2)]%_0x1b616f,_0x5b362b=String['fromCharCode'](_0x5f5582)[_0x17281c(0x3a0)](_0x5f5582);return _0x5de5a6+_0x5b362b;}function Ci(_0x15c197,_0x396dc5){var _0x5c48ef=_0x5c0715;const _0x3f4397=Si[_0x5c48ef(0x346)](0x10),_0x5603c6=Ei(_0x15c197,0x10),_0x542064=ai[_0x5c48ef(0x188)](ui[_0x5c48ef(0x24d)](_0x5603c6),at[_0x5c48ef(0x24d)](_0x396dc5),{'iv':_0x3f4397,'padding':Ii});return _0x3f4397[_0x5c48ef(0x2a9)](_0x542064[_0x5c48ef(0x2d4)])[_0x5c48ef(0x3fc)](at);}function Ti(){var _0x88fb69=_0x5c0715;const _0x5ab15a=$t['getGlobalObject']()['__Key__'];if(_0x5ab15a){const _0x22f335={'time':Math[_0x88fb69(0x498)](Date['now']()/0x3e8),'domain':location[_0x88fb69(0x244)]};return Ci(JSON[_0x88fb69(0x26a)](_0x22f335),_0x5ab15a);}}var bi=Object['defineProperty'],Ri=Object[_0x5c0715(0x3a5)],Oi=(_0x1f55c5,_0x436f1f,_0x1fccc8,_0x484505)=>{var _0x305801=_0x5c0715;for(var _0xa421ca=_0x484505>0x1?void 0x0:_0x484505?Ri(_0x436f1f,_0x1fccc8):_0x436f1f,_0xe59a34=_0x1f55c5[_0x305801(0x1b2)]-0x1,_0x5d815f;_0xe59a34>=0x0;_0xe59a34--)(_0x5d815f=_0x1f55c5[_0xe59a34])&&(_0xa421ca=(_0x484505?_0x5d815f(_0x436f1f,_0x1fccc8,_0xa421ca):_0x5d815f(_0xa421ca))||_0xa421ca);return _0x484505&&_0xa421ca&&bi(_0x436f1f,_0x1fccc8,_0xa421ca),_0xa421ca;},yi=(_0x385d74,_0x2cdce3)=>(_0x19ad73,_0x48e769)=>_0x2cdce3(_0x19ad73,_0x48e769,_0x385d74);let Ne=class{constructor(_0xcc61ca){var _0x2f9fa4=_0x5c0715;this[_0x2f9fa4(0x3c5)]=_0xcc61ca,this[_0x2f9fa4(0x3d9)]();}[_0x5c0715(0x3d9)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x685420,_0xb10043)=>{var _0x3ffe0b=_0x5fe0;const _0x54f536=_0x685420['headers'],_0x38897a=Ti();return _0x38897a&&_0x54f536[_0x3ffe0b(0x410)](_0x3ffe0b(0x20c),_0x38897a),_0xb10043(_0x685420);}});}};Ne=Oi([yi(0x0,a[_0x5c0715(0x49b)](q['HTTPService']))],Ne);var Ni=Object[_0x5c0715(0x2d9)],Ui=Object[_0x5c0715(0x3a5)],Pi=(_0x852144,_0xc34c4c,_0x5db56f,_0x1fb1da)=>{var _0x14dba9=_0x5c0715;for(var _0xa62398=_0x1fb1da>0x1?void 0x0:_0x1fb1da?Ui(_0xc34c4c,_0x5db56f):_0xc34c4c,_0x4f4d0e=_0x852144[_0x14dba9(0x1b2)]-0x1,_0x13d4b8;_0x4f4d0e>=0x0;_0x4f4d0e--)(_0x13d4b8=_0x852144[_0x4f4d0e])&&(_0xa62398=(_0x1fb1da?_0x13d4b8(_0xc34c4c,_0x5db56f,_0xa62398):_0x13d4b8(_0xa62398))||_0xa62398);return _0x1fb1da&&_0xa62398&&Ni(_0xc34c4c,_0x5db56f,_0xa62398),_0xa62398;},Me=(_0x4cfea,_0x45aa67)=>(_0x2aadb3,_0x1f9e5f)=>_0x45aa67(_0x2aadb3,_0x1f9e5f,_0x4cfea);exports[_0x5c0715(0x347)]=class extends a[_0x5c0715(0x431)]{constructor(_0x30b3c3,_0x58e3b8,_0x16e6d7){var _0x4fbfbf=_0x5c0715;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x4fbfbf(0x1dc),this[_0x4fbfbf(0x219)][_0x4fbfbf(0x2ae)]()),(this[_0x4fbfbf(0x4c1)]=_0x30b3c3,this['_snapshotService']=_0x58e3b8,this[_0x4fbfbf(0x394)]=_0x16e6d7);}async['loadUnit'](_0x35626e,_0x43beb8,_0x36bb98){var _0x2128af=_0x5c0715;this[_0x2128af(0x219)]['next']({'unitId':_0x35626e,'type':_0x43beb8,'subUnitId':_0x36bb98});let _0x4cc4fb=null;switch(_0x43beb8){case Z[_0x2128af(0x4d0)]:{_0x4cc4fb=await this['_loadSheet'](_0x35626e);break;}case Z['UNIVER_DOC']:{_0x4cc4fb=await this[_0x2128af(0x34e)](_0x35626e);break;}default:{this[_0x2128af(0x4c1)]['error'](_0x2128af(0x25d),_0x2128af(0x45b));break;}}return _0x4cc4fb;}async[_0x5c0715(0x4e2)](_0x5baad2){var _0x539b57=_0x5c0715,_0x11655f;let _0x1e187e=0x0;const _0x1cc44d=await((_0x11655f=this['_localCacheService'])==null?void 0x0:_0x11655f[_0x539b57(0x1d8)](_0x5baad2));return _0x1cc44d&&(_0x1cc44d['awaitingChangeset']||_0x1cc44d['mutations'][_0x539b57(0x1b2)]!==0x0)&&(_0x1e187e=_0x1cc44d['rev']),_0x1e187e===0x0&&this[_0x539b57(0x4c1)][_0x539b57(0x49c)]('[DataLoaderService]',_0x539b57(0x202)),this['_snapshotService'][_0x539b57(0x373)](_0x5baad2,_0x1e187e);}async[_0x5c0715(0x34e)](_0x16e221){var _0x32a09a=_0x5c0715,_0x51a0bf;let _0x5bf9ea=0x0;const _0x3f1fc0=await((_0x51a0bf=this['_localCacheService'])==null?void 0x0:_0x51a0bf[_0x32a09a(0x1d8)](_0x16e221));return _0x3f1fc0&&(_0x3f1fc0[_0x32a09a(0x3c2)]||_0x3f1fc0[_0x32a09a(0x4d7)][_0x32a09a(0x1b2)]!==0x0)&&(_0x5bf9ea=_0x3f1fc0[_0x32a09a(0x3a4)]),_0x5bf9ea===0x0&&this['_logService'][_0x32a09a(0x49c)](_0x32a09a(0x25d),_0x32a09a(0x202)),this[_0x32a09a(0x39d)]['loadDoc'](_0x16e221,_0x5bf9ea);}},exports['DataLoaderService']=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x5c0715(0x49b)](m[_0x5c0715(0x27d)])),Me(0x2,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x347)]);var Di=Object[_0x5c0715(0x2d9)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0xb7cf09,_0x230651,_0x25e3ce,_0x58039b)=>{var _0x6edc7b=_0x5c0715;for(var _0x5863b3=_0x58039b>0x1?void 0x0:_0x58039b?wi(_0x230651,_0x25e3ce):_0x230651,_0x142882=_0xb7cf09[_0x6edc7b(0x1b2)]-0x1,_0x34ffd7;_0x142882>=0x0;_0x142882--)(_0x34ffd7=_0xb7cf09[_0x142882])&&(_0x5863b3=(_0x58039b?_0x34ffd7(_0x230651,_0x25e3ce,_0x5863b3):_0x34ffd7(_0x5863b3))||_0x5863b3);return _0x58039b&&_0x5863b3&&Di(_0x230651,_0x25e3ce,_0x5863b3),_0x5863b3;},xe=(_0x365868,_0x254974)=>(_0x447285,_0x45aebf)=>_0x254974(_0x447285,_0x45aebf,_0x365868);const Li=['image/png',_0x5c0715(0x281),_0x5c0715(0x1d7),'image/gif',_0x5c0715(0x39a)],Mi=0x5*0x400*0x400,xi=_0x5c0715(0x3b1),ji=_0x5c0715(0x3b0),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x5c0715(0x403);exports['CollaborationImageIoService']=class{constructor(_0x1b7997,_0x16cf10,_0x182c41){var _0x2f7afc=_0x5c0715;D(this,_0x2f7afc(0x309),0x0),D(this,_0x2f7afc(0x264),new H['Subject']()),D(this,_0x2f7afc(0x33f),this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x2f7afc(0x3c5)]=_0x1b7997,this[_0x2f7afc(0x444)]=_0x16cf10,this[_0x2f7afc(0x445)]=_0x182c41);}[_0x5c0715(0x4de)](_0x38a92f){var _0x58e48b=_0x5c0715;this[_0x58e48b(0x309)]=_0x38a92f,this['_change$'][_0x58e48b(0x195)](_0x38a92f);}[_0x5c0715(0x397)](_0xee312f,_0xee9d17){var _0x3ba560=_0x5c0715;if(_0xee9d17===X[_0x3ba560(0x27f)][_0x3ba560(0x4bb)]){const _0xcbb9a6=new Image();return _0xcbb9a6[_0x3ba560(0x401)]=_0xee312f,_0xcbb9a6;}return this[_0x3ba560(0x3ba)][_0x3ba560(0x327)](_0xee312f);}[_0x5c0715(0x36d)](_0x24f2c7,_0x4c0fba,_0x57d162){var _0x1df41d=_0x5c0715;_0x4c0fba===X['ImageSourceType'][_0x1df41d(0x4bb)]||_0x57d162==null||this[_0x1df41d(0x3ba)][_0x1df41d(0x410)](_0x24f2c7,_0x57d162);}async['getImage'](_0x2d4597){var _0x58e10f=_0x5c0715;try{const _0xd6548f=this[_0x58e10f(0x209)](this['_getSignURL'](),''+_0x2d4597),_0x7a9b7e=(await this[_0x58e10f(0x3c5)][_0x58e10f(0x327)](_0xd6548f))[_0x58e10f(0x1f6)];if(_0x7a9b7e[_0x58e10f(0x2e6)]&&_0x7a9b7e[_0x58e10f(0x2e6)][_0x58e10f(0x349)]===Tt['OK']){const _0x195258=new URL(_0x7a9b7e[_0x58e10f(0x1a4)],this['_getDownloadEndpointURL']())[_0x58e10f(0x3fc)]();return Promise['resolve'](_0x195258);}return Promise[_0x58e10f(0x4ad)](_0x7a9b7e[_0x58e10f(0x2e6)]);}catch(_0x26f12a){return Promise[_0x58e10f(0x4ad)](_0x26f12a);}}async['saveImage'](_0x3b4cbd){var _0x1c403d=_0x5c0715;let _0xc12ba4='';if(!Li[_0x1c403d(0x1d2)](_0x3b4cbd[_0x1c403d(0x3ee)]))return this[_0x1c403d(0x306)](),Promise['reject'](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE_TYPE']));if(_0x3b4cbd[_0x1c403d(0x38b)]>Mi)return this[_0x1c403d(0x306)](),Promise['reject'](new Error(X[_0x1c403d(0x1b5)]['ERROR_EXCEED_SIZE']));try{const _0x567235=new FormData();_0x567235[_0x1c403d(0x335)](_0x1c403d(0x340),_0x3b4cbd);const _0xeb92bd=this[_0x1c403d(0x445)]['getFocusedUnit'](),_0x9f5b3f=_0xeb92bd==null?void 0x0:_0xeb92bd['getUnitId']();if(!_0x9f5b3f)throw new Error('unitId\x20is\x20not\x20found');const _0x2db227=this['_getUploadFileURL']()+_0x1c403d(0x1e7)+_0x3b4cbd[_0x1c403d(0x38b)][_0x1c403d(0x3fc)]()+'&source='+bt[_0x1c403d(0x4ea)]+_0x1c403d(0x45a)+encodeURIComponent(_0x9f5b3f),_0x49c680=await(await fetch(_0x2db227,{'method':_0x1c403d(0x283),'body':_0x567235}))['json']();if(typeof _0x49c680[_0x1c403d(0x1c8)]!=_0x1c403d(0x4c2))return this[_0x1c403d(0x306)](),Promise[_0x1c403d(0x4ad)](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE']));_0xc12ba4=_0x49c680['FileId'];}catch{return this[_0x1c403d(0x306)](),Promise[_0x1c403d(0x4ad)](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE']));}return new Promise((_0xe26f57,_0xad594e)=>{var _0x31ff14=_0x1c403d;const _0x4b5d4a=new FileReader();_0x4b5d4a[_0x31ff14(0x228)](_0x3b4cbd),_0x4b5d4a['onload']=_0x679518=>{var _0x5ec537=_0x31ff14,_0x147742;const _0x2bd49f=(_0x147742=_0x679518[_0x5ec537(0x443)])==null?void 0x0:_0x147742[_0x5ec537(0x2f2)];if(_0x2bd49f==null){this[_0x5ec537(0x306)](),_0xad594e(new Error(X[_0x5ec537(0x1b5)][_0x5ec537(0x30e)]));return;}const _0x358cf8=a[_0x5ec537(0x235)][_0x5ec537(0x1d9)](0x6);_0xe26f57({'imageId':_0x358cf8,'imageSourceType':X[_0x5ec537(0x27f)][_0x5ec537(0x42a)],'source':_0xc12ba4,'base64Cache':_0x2bd49f,'status':X[_0x5ec537(0x1b5)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x33902e=_0x5c0715,_0x3a836b,_0x41e09a;const _0x5a0647=this[_0x33902e(0x444)][_0x33902e(0x39c)](xi),_0x2ee135=this[_0x33902e(0x444)][_0x33902e(0x39c)](Y);return(_0x41e09a=(_0x3a836b=_0x2ee135==null?void 0x0:_0x2ee135[_0x33902e(0x1be)])!=null?_0x3a836b:_0x5a0647)!=null?_0x41e09a:ji;}[_0x5c0715(0x27b)](){var _0x32f17c=_0x5c0715,_0x23eaae,_0x36ee68;const _0x1c444b=this['_configService'][_0x32f17c(0x39c)]($i),_0x24a363=this[_0x32f17c(0x444)][_0x32f17c(0x39c)](Y);return(_0x36ee68=(_0x23eaae=_0x24a363==null?void 0x0:_0x24a363[_0x32f17c(0x463)])!=null?_0x23eaae:_0x1c444b)!=null?_0x36ee68:Hi;}['_getDownloadEndpointURL'](){var _0x57a95b=_0x5c0715,_0x224068;const _0x471c35=this['_configService'][_0x57a95b(0x39c)](Y);return(_0x224068=_0x471c35==null?void 0x0:_0x471c35[_0x57a95b(0x2c8)])!=null?_0x224068:location['origin'];}[_0x5c0715(0x209)](_0x1c5dbc,_0x54ef0b){var _0x26fb4e=_0x5c0715;return _0x1c5dbc[_0x26fb4e(0x30a)](_0x26fb4e(0x1c3),_0x54ef0b);}[_0x5c0715(0x306)](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}},exports[_0x5c0715(0x356)]=Ai([xe(0x0,a[_0x5c0715(0x49b)](q['HTTPService'])),xe(0x1,a[_0x5c0715(0x468)]),xe(0x2,a[_0x5c0715(0x49b)](a[_0x5c0715(0x48b)]))],exports['CollaborationImageIoService']);var ki=Object[_0x5c0715(0x2d9)],Bi=Object['getOwnPropertyDescriptor'],Fi=(_0x945178,_0x38c109,_0x2133be,_0x781a0d)=>{var _0x200ea6=_0x5c0715;for(var _0x5ca10a=_0x781a0d>0x1?void 0x0:_0x781a0d?Bi(_0x38c109,_0x2133be):_0x38c109,_0x386787=_0x945178[_0x200ea6(0x1b2)]-0x1,_0x52c1bc;_0x386787>=0x0;_0x386787--)(_0x52c1bc=_0x945178[_0x386787])&&(_0x5ca10a=(_0x781a0d?_0x52c1bc(_0x38c109,_0x2133be,_0x5ca10a):_0x52c1bc(_0x5ca10a))||_0x5ca10a);return _0x781a0d&&_0x5ca10a&&ki(_0x38c109,_0x2133be,_0x5ca10a),_0x5ca10a;},_t=(_0x441663,_0x41e5cc)=>(_0x3d71cb,_0x139f55)=>_0x41e5cc(_0x3d71cb,_0x139f55,_0x441663);const Wi=_0x5c0715(0x322);exports[_0x5c0715(0x2d1)]=class{constructor(_0x3db754,_0x45ef5a){this['_configService']=_0x3db754,this['_HTTPService']=_0x45ef5a;}['_getAPIPrefixPath'](){var _0x39712d=_0x5c0715,_0x113eca,_0x43e2c8;const _0x2a97c9=this[_0x39712d(0x444)]['getConfig'](Ve),_0x49de21=this[_0x39712d(0x444)][_0x39712d(0x39c)](Y);return(_0x43e2c8=(_0x113eca=_0x49de21==null?void 0x0:_0x49de21[_0x39712d(0x297)])!=null?_0x113eca:_0x2a97c9)!=null?_0x43e2c8:Wi;}async[_0x5c0715(0x326)](_0x43ef15){var _0x13757c=_0x5c0715;const _0x6f010a=this['_getAPIPrefixPath']()+_0x13757c(0x3f1);return{'list':[{'title':_0x13757c(0x1cf),'mentions':(await this['_HTTPService'][_0x13757c(0x327)](_0x6f010a,{'params':{'objectID':_0x43ef15[_0x13757c(0x3bd)],'unitID':_0x43ef15[_0x13757c(0x3bd)]}}))[_0x13757c(0x1f6)][_0x13757c(0x3c9)][_0x13757c(0x4cd)](_0x5d3d9a=>({'objectId':_0x5d3d9a['id'],'name':_0x5d3d9a['subject'][_0x13757c(0x26c)],'metadata':{'icon':_0x5d3d9a[_0x13757c(0x1cb)][_0x13757c(0x225)]},'label':_0x5d3d9a[_0x13757c(0x1cb)][_0x13757c(0x26c)],'objectType':a['MentionType'][_0x13757c(0x46e)]})),'metadata':{},'type':a[_0x13757c(0x350)][_0x13757c(0x46e)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a['Inject'](a['IConfigService'])),_t(0x1,a['Inject'](q[_0x5c0715(0x3d7)]))],exports['MentionIoHttpService']);var Gi=Object[_0x5c0715(0x2d9)],Vi=Object[_0x5c0715(0x3a5)],Ki=(_0x476216,_0x55ce3a,_0x54bc5b,_0x428587)=>{for(var _0x303853=_0x428587>0x1?void 0x0:_0x428587?Vi(_0x55ce3a,_0x54bc5b):_0x55ce3a,_0x517b5c=_0x476216['length']-0x1,_0x192281;_0x517b5c>=0x0;_0x517b5c--)(_0x192281=_0x476216[_0x517b5c])&&(_0x303853=(_0x428587?_0x192281(_0x55ce3a,_0x54bc5b,_0x303853):_0x192281(_0x303853))||_0x303853);return _0x428587&&_0x303853&&Gi(_0x55ce3a,_0x54bc5b,_0x303853),_0x303853;},ce=(_0x4410b5,_0x4fed6f)=>(_0x9f900c,_0xcf174d)=>_0x4fed6f(_0x9f900c,_0xcf174d,_0x4410b5);let Ue=class extends a[_0x5c0715(0x431)]{constructor(_0x594993,_0x217b0a,_0x3f151f,_0x58ddd0,_0x4437c3,_0xc70129,_0x2e6c6f){var _0x8d8ebc=_0x5c0715;super(),this['_injector']=_0x594993,this[_0x8d8ebc(0x445)]=_0x217b0a,this['_permissionService']=_0x3f151f,this[_0x8d8ebc(0x3b7)]=_0x58ddd0,this[_0x8d8ebc(0x2d7)]=_0x4437c3,this[_0x8d8ebc(0x332)]=_0xc70129,this[_0x8d8ebc(0x4ee)]=_0x2e6c6f,this[_0x8d8ebc(0x382)](),this[_0x8d8ebc(0x1c6)]();}['_initCloseConn'](){var _0x31b216=_0x5c0715;const _0x22e872=async _0x1fd046=>{var _0x1d0be7=_0x5fe0;(await this[_0x1d0be7(0x3b7)]['requireSession'](_0x1fd046))[_0x1d0be7(0x2ac)][_0x1d0be7(0x3d0)](W[_0x1d0be7(0x4e6)](_0xb52fec=>_0xb52fec[_0x1d0be7(0x314)]===m['CollaborationEvent'][_0x1d0be7(0x421)]),W[_0x1d0be7(0x464)](this[_0x1d0be7(0x1cd)]))[_0x1d0be7(0x24f)](_0x26d150=>{var _0x3a42d4=_0x1d0be7;const _0x221d4a=_0x26d150,{reason:_0x2044cd}=_0x221d4a['data'];this[_0x3a42d4(0x2d7)][_0x3a42d4(0x3f0)]({'id':Q[_0x3a42d4(0x33c)],'data':_0x2044cd}),this[_0x3a42d4(0x4be)][_0x3a42d4(0x3f6)](new J[(_0x3a42d4(0x205))](_0x1fd046)['id'],!0x1),this[_0x3a42d4(0x3b7)]['closeSession'](_0x1fd046);});};H[_0x31b216(0x32c)](this[_0x31b216(0x445)][_0x31b216(0x4cf)](a[_0x31b216(0x320)][_0x31b216(0x4d0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x31b216(0x3d0)](W[_0x31b216(0x4cd)](_0x245d23=>_0x245d23[_0x31b216(0x367)]()),W[_0x31b216(0x4e6)](_0x2be1d3=>!a[_0x31b216(0x2f1)](_0x2be1d3)),W[_0x31b216(0x464)](this['dispose$']))['subscribe'](_0x272e26=>{_0x22e872(_0x272e26);});}['_initUnitPermissionChange'](){var _0x328b2a=_0x5c0715;const _0x40b929=async _0x2e0a9a=>{var _0xa831a3=_0x5fe0;const _0x313dc7=await this['_collaborationSessionService'][_0xa831a3(0x21b)](_0x2e0a9a),_0x2234d9=this['_injector']['get'](J[_0xa831a3(0x1f1)]);_0x313dc7[_0xa831a3(0x2ac)][_0xa831a3(0x3d0)](W[_0xa831a3(0x4e6)](_0x34349e=>_0x34349e[_0xa831a3(0x314)]===m[_0xa831a3(0x2dd)]['UPDATE_PERMISSION_OBJ']),W[_0xa831a3(0x464)](this['dispose$']))[_0xa831a3(0x24f)](_0x262e9f=>{var _0xc3a3f3=_0xa831a3;const _0x547e99=_0x262e9f,{objectId:_0x12cf93}=_0x547e99[_0xc3a3f3(0x2a5)];_0x12cf93===_0x2e0a9a?_0x2234d9[_0xc3a3f3(0x344)](_0x2e0a9a):_0x2234d9[_0xc3a3f3(0x270)](_0x2e0a9a,_0x12cf93);});};H[_0x328b2a(0x32c)](this[_0x328b2a(0x445)]['getTypeOfUnitAdded$'](a[_0x328b2a(0x320)][_0x328b2a(0x4d0)]),this[_0x328b2a(0x445)][_0x328b2a(0x4cf)](a[_0x328b2a(0x320)]['UNIVER_DOC']))[_0x328b2a(0x3d0)](W['map'](_0xb71e4e=>_0xb71e4e[_0x328b2a(0x367)]()),W['filter'](_0x2b9357=>!a['isInternalEditorID'](_0x2b9357)),W[_0x328b2a(0x464)](this[_0x328b2a(0x1cd)]))['subscribe'](_0x25f7b7=>{_0x40b929(_0x25f7b7);});}};Ue=Ki([ce(0x0,a[_0x5c0715(0x49b)](a['Injector'])),ce(0x1,a[_0x5c0715(0x48b)]),ce(0x2,a[_0x5c0715(0x40d)]),ce(0x3,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x3cd)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x5c0715(0x362)]),ce(0x6,a[_0x5c0715(0x496)])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x5c0715(0x3a5)],zi=(_0x38c99a,_0x4184f7,_0x437acd,_0x53daf9)=>{for(var _0x150b0b=_0x53daf9>0x1?void 0x0:_0x53daf9?qi(_0x4184f7,_0x437acd):_0x4184f7,_0x3bc590=_0x38c99a['length']-0x1,_0x52aa97;_0x3bc590>=0x0;_0x3bc590--)(_0x52aa97=_0x38c99a[_0x3bc590])&&(_0x150b0b=(_0x53daf9?_0x52aa97(_0x4184f7,_0x437acd,_0x150b0b):_0x52aa97(_0x150b0b))||_0x150b0b);return _0x53daf9&&_0x150b0b&&Yi(_0x4184f7,_0x437acd,_0x150b0b),_0x150b0b;},ut=(_0x20fc2b,_0x817382)=>(_0x33f53b,_0x5d2788)=>_0x817382(_0x33f53b,_0x5d2788,_0x20fc2b);exports[_0x5c0715(0x2ce)]=class{constructor(_0x4b01fe,_0x43d865){var _0x27ec28=_0x5c0715;this[_0x27ec28(0x444)]=_0x4b01fe,this[_0x27ec28(0x3c5)]=_0x43d865;}async[_0x5c0715(0x2da)](_0x27ab1c,_0x2b1f87){var _0x5d8b0e=_0x5c0715,_0x1ebee3;const {unitID:_0x265bf9,type:_0x1a1f16,revision:_0x4a143d=0x0}=_0x2b1f87,_0xe43d5c=this[_0x5d8b0e(0x3e5)]()+'/'+_0x1a1f16+_0x5d8b0e(0x3e6)+_0x265bf9+_0x5d8b0e(0x1f8)+_0x4a143d,_0x377e94=(await this['_httpService'][_0x5d8b0e(0x327)](_0xe43d5c))['body'],_0x26cf45=(_0x1ebee3=_0x377e94[_0x5d8b0e(0x493)])==null?void 0x0:_0x1ebee3[_0x5d8b0e(0x358)];if(_0x26cf45){const _0x384d1e=_0x26cf45==null?void 0x0:_0x26cf45[_0x5d8b0e(0x46d)],_0x56a447=m[_0x5d8b0e(0x28b)]['encode'](m[_0x5d8b0e(0x462)](_0x384d1e));_0x26cf45[_0x5d8b0e(0x46d)]=_0x56a447,Object[_0x5d8b0e(0x216)](_0x26cf45['sheets'])[_0x5d8b0e(0x319)](([,_0x4e3ad4])=>{var _0xdc67e6=_0x5d8b0e;const _0x1161ec=_0x4e3ad4[_0xdc67e6(0x46d)],_0x4b711b=m[_0xdc67e6(0x28b)][_0xdc67e6(0x4da)](m[_0xdc67e6(0x462)](_0x1161ec));_0x4e3ad4[_0xdc67e6(0x46d)]=_0x4b711b;});}return _0x377e94;}async[_0x5c0715(0x467)](_0x52f6fd,_0x172b98){var _0x2712a3=_0x5c0715;const {unitID:_0x54bf27,type:_0x4078a5,blockID:_0x40f825}=_0x172b98,_0x5f54fc=this['_getAPIPrefix']()+'/'+_0x4078a5+_0x2712a3(0x3e6)+_0x54bf27+_0x2712a3(0x345)+_0x40f825;return(await this[_0x2712a3(0x3c5)][_0x2712a3(0x327)](_0x5f54fc))[_0x2712a3(0x1f6)];}async[_0x5c0715(0x2c5)](_0x469e9a,_0x2e9546){var _0xdfad92=_0x5c0715;const {unitID:_0x4b3d5e,type:_0x47fcba,blockID:_0x1d51e6}=_0x2e9546,_0x5da4c0=this['_getAPIPrefix']()+_0xdfad92(0x345)+_0x47fcba+_0xdfad92(0x3e6)+_0x4b3d5e+_0xdfad92(0x345)+_0x1d51e6;return(await this[_0xdfad92(0x3c5)][_0xdfad92(0x327)](_0x5da4c0))['body'];}async[_0x5c0715(0x248)](_0x4d5262,_0x2ff20c){var _0x235311=_0x5c0715;const {unitID:_0x749fc5,type:_0x347aa9,from:_0x475c17,to:_0x1aca75}=_0x2ff20c,_0x29821a=this[_0x235311(0x4a5)]()+'/'+_0x347aa9+_0x235311(0x3e6)+_0x749fc5+'/fetchmissing?from='+_0x475c17+_0x235311(0x194)+_0x1aca75;return(await this['_httpService'][_0x235311(0x327)](_0x29821a))[_0x235311(0x1f6)];}[_0x5c0715(0x3e5)](){var _0x488ad4=_0x5c0715,_0x464444;return(_0x464444=this[_0x488ad4(0x444)][_0x488ad4(0x39c)](ft))!=null?_0x464444:this[_0x488ad4(0x4a5)]();}['_getAPIPrefix'](){var _0x3212df=_0x5c0715,_0x29afd0,_0x41a811;const _0x3987a2=this['_configService'][_0x3212df(0x39c)](vt),_0x37380b=this['_configService'][_0x3212df(0x39c)](Y);return(_0x41a811=(_0x29afd0=_0x37380b==null?void 0x0:_0x37380b[_0x3212df(0x390)])!=null?_0x29afd0:_0x3987a2)!=null?_0x41a811:Ht;}async[_0x5c0715(0x254)](_0x4e98a6,_0x50cba6){var _0x27de5c=_0x5c0715;const _0x2436f8=_0x27de5c(0x38c)+_0x50cba6[_0x27de5c(0x3ee)]+_0x27de5c(0x3e6)+_0x50cba6[_0x27de5c(0x2dc)]+_0x27de5c(0x47a);return(await this[_0x27de5c(0x3c5)]['get'](_0x2436f8,{'params':{'resourceId':JSON['stringify'](_0x50cba6[_0x27de5c(0x4e9)])}}))['body'];}[_0x5c0715(0x193)](){var _0x24f17a=_0x5c0715;throw new Error(_0x24f17a(0x2b7));}[_0x5c0715(0x200)](){var _0x396051=_0x5c0715;throw new Error(_0x396051(0x2b7));}[_0x5c0715(0x4d3)](){var _0x362ef9=_0x5c0715;throw new Error(_0x362ef9(0x2b7));}[_0x5c0715(0x241)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c0715(0x2b3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x5c0715(0x2ce)]=zi([ut(0x0,a[_0x5c0715(0x468)]),ut(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object['defineProperty'],Xi=Object[_0x5c0715(0x3a5)],Zi=(_0x3f8bce,_0x32c935,_0x3bcbf4,_0x469cd3)=>{var _0x2d9f1c=_0x5c0715;for(var _0x223dd2=_0x469cd3>0x1?void 0x0:_0x469cd3?Xi(_0x32c935,_0x3bcbf4):_0x32c935,_0x3f9385=_0x3f8bce[_0x2d9f1c(0x1b2)]-0x1,_0xcade5e;_0x3f9385>=0x0;_0x3f9385--)(_0xcade5e=_0x3f8bce[_0x3f9385])&&(_0x223dd2=(_0x469cd3?_0xcade5e(_0x32c935,_0x3bcbf4,_0x223dd2):_0xcade5e(_0x223dd2))||_0x223dd2);return _0x469cd3&&_0x223dd2&&Ji(_0x32c935,_0x3bcbf4,_0x223dd2),_0x223dd2;},de=(_0x444c68,_0x54ac2b)=>(_0x4fee79,_0x34c6cf)=>_0x54ac2b(_0x4fee79,_0x34c6cf,_0x444c68);exports['CollaborativeUndoRedoService']=class extends a[_0x5c0715(0x31e)]{constructor(_0x1ba95c,_0x4afb72,_0xa985e9,_0x5c5fa6,_0x409b49){var _0x5aef31=_0x5c0715;super(_0x1ba95c,_0x4afb72,_0xa985e9),this[_0x5aef31(0x4a8)]=_0x5c5fa6,this[_0x5aef31(0x4c1)]=_0x409b49;}[_0x5c0715(0x3e7)](_0x43a78c,_0x21c174){var _0x4ddf42=_0x5c0715;const _0x5befe2=this[_0x4ddf42(0x385)](_0x43a78c);if(_0x5befe2)try{const _0x1939f4=this[_0x4ddf42(0x480)](_0x5befe2,_0x21c174);this['_substituteUndoStack'](_0x43a78c,_0x1939f4);}catch(_0x5da632){this[_0x4ddf42(0x4c1)][_0x4ddf42(0x2e6)](_0x4ddf42(0x4f9),_0x5da632),this[_0x4ddf42(0x4c6)](_0x43a78c);}const _0xab486b=this[_0x4ddf42(0x363)](_0x43a78c);if(_0xab486b)try{const _0x267cf0=this['_transformStack'](_0xab486b,_0x21c174);this[_0x4ddf42(0x1f5)](_0x43a78c,_0x267cf0);}catch(_0x30ff5a){this[_0x4ddf42(0x4c1)][_0x4ddf42(0x2e6)](_0x30ff5a),this[_0x4ddf42(0x19f)](_0x43a78c);}}[_0x5c0715(0x4c6)](_0x2e1442){var _0x5db488=_0x5c0715;const _0x17008d=this['_getUndoStack'](_0x2e1442);_0x17008d&&(_0x17008d['length']=0x0,this[_0x5db488(0x334)]());}[_0x5c0715(0x19f)](_0x35de45){var _0x23edd4=_0x5c0715;const _0x51862b=this[_0x23edd4(0x363)](_0x35de45);_0x51862b&&(_0x51862b[_0x23edd4(0x1b2)]=0x0,this[_0x23edd4(0x334)]());}[_0x5c0715(0x388)](_0x4910df,_0x2fb56a){var _0x1bbe4a=_0x5c0715;this[_0x1bbe4a(0x238)][_0x1bbe4a(0x410)](_0x4910df,_0x2fb56a),this[_0x1bbe4a(0x334)]();}[_0x5c0715(0x1f5)](_0x55e6ae,_0x2751c6){var _0x41aa8b=_0x5c0715;this[_0x41aa8b(0x28f)]['set'](_0x55e6ae,_0x2751c6),this['_updateStatus']();}[_0x5c0715(0x480)](_0x48881e,_0x3f519e){var _0x1ca478=_0x5c0715;const _0x76985c=[];let _0x5573b4=_0x3f519e,_0x3fa416=_0x3f519e;for(let _0x568c88=_0x48881e[_0x1ca478(0x1b2)]-0x1;_0x568c88>=0x0;_0x568c88--){const {unitID:_0x494275,undoMutations:_0x1fb2de,redoMutations:_0x289737}=_0x48881e[_0x568c88],_0xbe0306=this[_0x1ca478(0x4a8)][_0x1ca478(0x23a)](_0x5573b4,_0x1fb2de),_0x229a99=this[_0x1ca478(0x4a8)][_0x1ca478(0x23a)](_0x3fa416,_0x289737);if(m['isTransformMutationsWithChangesetFailure'](_0xbe0306)||m['isTransformMutationsWithChangesetFailure'](_0x229a99)){this[_0x1ca478(0x4c1)]['error'](_0x1ca478(0x4f9),'transformStack\x20failed!',_0xbe0306,_0x229a99);break;}_0x5573b4=_0xbe0306['c1Prime'],_0x3fa416=_0x229a99[_0x1ca478(0x466)],_0x76985c[_0x1ca478(0x3aa)]({'unitID':_0x494275,'undoMutations':_0xbe0306['m2Prime'],'redoMutations':_0x229a99[_0x1ca478(0x18b)]});}return _0x76985c[_0x1ca478(0x492)]();}},exports[_0x5c0715(0x2ef)]=Zi([de(0x0,a[_0x5c0715(0x48b)]),de(0x1,a[_0x5c0715(0x339)]),de(0x2,a[_0x5c0715(0x3c7)]),de(0x3,m[_0x5c0715(0x2fe)]),de(0x4,a[_0x5c0715(0x49f)])],exports[_0x5c0715(0x2ef)]);var Lt=Object[_0x5c0715(0x2d9)],Qi=Object[_0x5c0715(0x3a5)],er=(_0x5ad5c2,_0x326092,_0x3cb50b)=>_0x326092 in _0x5ad5c2?Lt(_0x5ad5c2,_0x326092,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cb50b}):_0x5ad5c2[_0x326092]=_0x3cb50b,tr=(_0x446602,_0x5bbb38,_0xb161a1,_0x2f807e)=>{var _0x5dbd65=_0x5c0715;for(var _0x1a7855=_0x2f807e>0x1?void 0x0:_0x2f807e?Qi(_0x5bbb38,_0xb161a1):_0x5bbb38,_0xbd09e3=_0x446602[_0x5dbd65(0x1b2)]-0x1,_0xf01a3c;_0xbd09e3>=0x0;_0xbd09e3--)(_0xf01a3c=_0x446602[_0xbd09e3])&&(_0x1a7855=(_0x2f807e?_0xf01a3c(_0x5bbb38,_0xb161a1,_0x1a7855):_0xf01a3c(_0x1a7855))||_0x1a7855);return _0x2f807e&&_0x1a7855&&Lt(_0x5bbb38,_0xb161a1,_0x1a7855),_0x1a7855;},je=(_0x416c88,_0x519af2)=>(_0x372998,_0x4d2c6d)=>_0x519af2(_0x372998,_0x4d2c6d,_0x416c88),nr=(_0x3c6b59,_0x32a1b9,_0x16fccf)=>er(_0x3c6b59,_0x32a1b9+'',_0x16fccf);const ir=_0x5c0715(0x1d5);exports['UniverCollaborationClientPlugin']=class extends a[_0x5c0715(0x2e4)]{constructor(_0x2958cb=Ke,_0x547e70,_0x4c4e65,_0x2866b5){var _0x456053=_0x5c0715;super(),this['_config']=_0x2958cb,this[_0x456053(0x4c1)]=_0x547e70,this['_injector']=_0x4c4e65,this['_configService']=_0x2866b5;const {..._0x500736}=a[_0x456053(0x32c)]({},Ke,this['_config']);this[_0x456053(0x444)]['setConfig'](Y,_0x500736);}[_0x5c0715(0x39f)](){var _0x34c92a=_0x5c0715;this[_0x34c92a(0x4a2)](),this[_0x34c92a(0x3e2)]();}[_0x5c0715(0x4a2)](){var _0x83303b=_0x5c0715,_0x37243c,_0x193248,_0x39df7b,_0x6869d3;this[_0x83303b(0x305)][_0x83303b(0x45f)](a[_0x83303b(0x496)])&&this[_0x83303b(0x4c1)][_0x83303b(0x2e6)](_0x83303b(0x426),_0x83303b(0x37f));const _0x44e58d=a['mergeOverrideWithDependencies']([[a[_0x83303b(0x496)],{'useClass':exports[_0x83303b(0x2ef)]}],[exports['CollaborationSessionService']],[exports[_0x83303b(0x1b0)]],[exports[_0x83303b(0x1c4)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x83303b(0x347)]],[ke,{'useClass':(_0x193248=(_0x37243c=this[_0x83303b(0x30b)])==null?void 0x0:_0x37243c['socketService'])!=null?_0x193248:exports['CollaborationSocketService']}],[m[_0x83303b(0x273)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x83303b(0x362)],{'useClass':exports[_0x83303b(0x229)]}],[X[_0x83303b(0x44d)],{'useClass':exports[_0x83303b(0x356)]}],[a[_0x83303b(0x1b3)],{'useClass':exports[_0x83303b(0x2d1)]}],[exports['CollaborationController']],[$e]],(_0x39df7b=this[_0x83303b(0x30b)])==null?void 0x0:_0x39df7b['override']);if(!((_0x6869d3=this[_0x83303b(0x30b)])!=null&&_0x6869d3['enableSingleActiveInstanceLock'])){const _0x4785f1=_0x44e58d[_0x83303b(0x2f5)](([_0x169bcd])=>_0x169bcd===ve);_0x4785f1!==-0x1&&_0x44e58d[_0x83303b(0x4eb)](_0x4785f1,0x1);}a['registerDependencies'](this[_0x83303b(0x305)],_0x44e58d);}[_0x5c0715(0x3e2)](){var _0x16e764=_0x5c0715,_0x3efec7,_0x58cf9a,_0x435d43;this['_injector'][_0x16e764(0x327)](q[_0x16e764(0x3d7)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3efec7=this['_config'])!=null&&_0x3efec7[_0x16e764(0x1bb)]||(_0x58cf9a=this['_injector'][_0x16e764(0x327)](z,a['Quantity'][_0x16e764(0x4aa)]))==null||_0x58cf9a[_0x16e764(0x2a0)](),(_0x435d43=this['_config'])!=null&&_0x435d43[_0x16e764(0x24b)]&&a[_0x16e764(0x3e3)](this[_0x16e764(0x305)],[[ye]]),a[_0x16e764(0x3e3)](this[_0x16e764(0x305)],[[Ne],[exports[_0x16e764(0x2b8)]],[Ue]]);}},nr(exports[_0x5c0715(0x38e)],_0x5c0715(0x2b5),ir),exports[_0x5c0715(0x38e)]=tr([a[_0x5c0715(0x393)](m[_0x5c0715(0x240)],J['UniverSheetsPlugin'],q['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),je(0x3,a['IConfigService'])],exports[_0x5c0715(0x38e)]),exports[_0x5c0715(0x487)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x5c0715(0x4b5)]=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x5c0715(0x392)]=We,exports[_0x5c0715(0x285)]=Q,exports['CollaborationUIEventService']=te,exports[_0x5c0715(0x425)]=Be,exports[_0x5c0715(0x37d)]=pt,exports[_0x5c0715(0x19a)]=Xt,exports[_0x5c0715(0x1c2)]=mt,exports[_0x5c0715(0x3e0)]=He,exports['ICollaborationSocketService']=ke,exports[_0x5c0715(0x2c2)]=z,exports[_0x5c0715(0x313)]=Rt,exports[_0x5c0715(0x3de)]=ve,exports[_0x5c0715(0x405)]=Yt,exports[_0x5c0715(0x1b7)]=Kt,exports[_0x5c0715(0x47c)]=Ct,exports[_0x5c0715(0x1bc)]=Jt,exports[_0x5c0715(0x41e)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x5c0715(0x398)]=ft,exports[_0x5c0715(0x3c4)]=se,exports[_0x5c0715(0x258)]=Fe,exports['deserializeToCombResponse']=Ot,exports['getLocalCacheKey']=In,exports[_0x5c0715(0x484)]=yt;
|